base 25 android_webview/browser/aw_browser_context.cc using base::FilePath; base 104 android_webview/browser/aw_browser_context.cc const base::FilePath& partition_path, base 138 android_webview/browser/aw_browser_context.cc base::PrefServiceFactory pref_service_factory; base 140 android_webview/browser/aw_browser_context.cc pref_service_factory.set_read_error_callback(base::Bind(&HandleReadError)); base 146 android_webview/browser/aw_browser_context.cc base::FilePath AwBrowserContext::GetPath() const { base 212 android_webview/browser/aw_browser_context.cc const base::FilePath& partition_path, base 49 android_webview/browser/aw_browser_context.h AwBrowserContext(const base::FilePath path, base 70 android_webview/browser/aw_browser_context.h const base::FilePath& partition_path, base 80 android_webview/browser/aw_browser_context.h virtual base::FilePath GetPath() const OVERRIDE; base 90 android_webview/browser/aw_browser_context.h const base::FilePath& partition_path, bool in_memory) OVERRIDE; base 125 android_webview/browser/aw_browser_context.h base::FilePath context_storage_path_; base 43 android_webview/browser/aw_browser_main_parts.cc main_message_loop_.reset(new base::MessageLoopForUI); base 44 android_webview/browser/aw_browser_main_parts.cc base::MessageLoopForUI::current()->Start(); base 51 android_webview/browser/aw_browser_main_parts.cc base::FilePath pak_path; base 58 android_webview/browser/aw_browser_main_parts.cc base::android::MemoryPressureListenerAndroid::RegisterSystemCallback( base 59 android_webview/browser/aw_browser_main_parts.cc base::android::AttachCurrentThread()); base 12 android_webview/browser/aw_browser_main_parts.h namespace base { base 33 android_webview/browser/aw_browser_main_parts.h scoped_ptr<base::MessageLoop> main_message_loop_; base 58 android_webview/browser/aw_content_browser_client.cc const base::string16& url, base 99 android_webview/browser/aw_content_browser_client.cc const base::string16& url, base 132 android_webview/browser/aw_content_browser_client.cc const base::string16& access_token) OVERRIDE { } base 161 android_webview/browser/aw_content_browser_client.cc base::FilePath user_data_dir; base 162 android_webview/browser/aw_content_browser_client.cc if (!PathService::Get(base::DIR_ANDROID_APP_DATA, &user_data_dir)) { base 225 android_webview/browser/aw_content_browser_client.cc const base::FilePath& partition_path, base 240 android_webview/browser/aw_content_browser_client.cc base::CommandLine* command_line, base 301 android_webview/browser/aw_content_browser_client.cc const base::string16& name, base 302 android_webview/browser/aw_content_browser_client.cc const base::string16& display_name, base 320 android_webview/browser/aw_content_browser_client.cc const base::string16& name, base 341 android_webview/browser/aw_content_browser_client.cc const base::Callback<void(bool)>& callback, base 361 android_webview/browser/aw_content_browser_client.cc const base::Callback<void(net::X509Certificate*)>& callback) { base 465 android_webview/browser/aw_content_browser_client.cc base::FilePath AwContentBrowserClient::GetDefaultDownloadDirectory() { base 471 android_webview/browser/aw_content_browser_client.cc return base::FilePath(); base 52 android_webview/browser/aw_content_browser_client.h const base::FilePath& partition_path, base 58 android_webview/browser/aw_content_browser_client.h virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, base 81 android_webview/browser/aw_content_browser_client.h const base::string16& name, base 82 android_webview/browser/aw_content_browser_client.h const base::string16& display_name, base 92 android_webview/browser/aw_content_browser_client.h const base::string16& name, base 106 android_webview/browser/aw_content_browser_client.h const base::Callback<void(bool)>& callback, base 113 android_webview/browser/aw_content_browser_client.h const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; base 155 android_webview/browser/aw_content_browser_client.h virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; base 22 android_webview/browser/aw_contents_client_bridge_base.cc class UserData : public base::SupportsUserData::Data { base 44 android_webview/browser/aw_contents_client_bridge_base.h const base::Callback<void(bool)>& callback, base 50 android_webview/browser/aw_contents_client_bridge_base.h const base::string16& message_text, base 51 android_webview/browser/aw_contents_client_bridge_base.h const base::string16& default_prompt_text, base 57 android_webview/browser/aw_contents_client_bridge_base.h const base::string16& message_text, base 61 android_webview/browser/aw_contents_client_bridge_base.h virtual bool ShouldOverrideUrlLoading(const base::string16& url) = 0; base 11 android_webview/browser/aw_cookie_access_policy.cc using base::AutoLock; base 17 android_webview/browser/aw_cookie_access_policy.cc base::LazyInstance<AwCookieAccessPolicy>::Leaky g_lazy_instance; base 61 android_webview/browser/aw_cookie_access_policy.h friend struct base::DefaultLazyInstanceTraits<AwCookieAccessPolicy>; base 66 android_webview/browser/aw_cookie_access_policy.h base::Lock lock_; base 22 android_webview/browser/aw_download_manager_delegate.cc callback.Run(base::FilePath() /* Empty file path for cancel */, base 25 android_webview/browser/aw_download_manager_delegate.cc base::FilePath()); base 31 android_webview/browser/aw_download_manager_delegate.cc const base::Closure& complete_callback) { base 24 android_webview/browser/aw_download_manager_delegate.h const base::Closure& complete_callback) OVERRIDE; base 13 android_webview/browser/aw_form_database_service.cc using base::WaitableEvent; base 28 android_webview/browser/aw_form_database_service.cc AwFormDatabaseService::AwFormDatabaseService(const base::FilePath path) { base 42 android_webview/browser/aw_form_database_service.cc base::Bind(&DatabaseErrorCallback)); base 69 android_webview/browser/aw_form_database_service.cc base::Bind(&AwFormDatabaseService::ClearFormDataImpl, base 70 android_webview/browser/aw_form_database_service.cc base::Unretained(this))); base 74 android_webview/browser/aw_form_database_service.cc base::Time begin; base 75 android_webview/browser/aw_form_database_service.cc base::Time end = base::Time::Max(); base 86 android_webview/browser/aw_form_database_service.cc base::Bind(&AwFormDatabaseService::HasFormDataImpl, base 87 android_webview/browser/aw_form_database_service.cc base::Unretained(this), base 14 android_webview/browser/aw_form_database_service.h namespace base { base 26 android_webview/browser/aw_form_database_service.h AwFormDatabaseService(const base::FilePath path); base 50 android_webview/browser/aw_form_database_service.h base::WaitableEvent* completion; base 55 android_webview/browser/aw_form_database_service.h void HasFormDataImpl(base::WaitableEvent* completion, bool* result); base 21 android_webview/browser/aw_form_database_service_unittest.cc using base::android::AttachCurrentThread; base 50 android_webview/browser/aw_form_database_service_unittest.cc base::ScopedTempDir temp_dir_; base 52 android_webview/browser/aw_form_database_service_unittest.cc base::MessageLoop message_loop_; base 66 android_webview/browser/aw_form_database_service_unittest.cc field.name = base::ASCIIToUTF16("foo"); base 67 android_webview/browser/aw_form_database_service_unittest.cc field.value = base::ASCIIToUTF16("bar"); base 22 android_webview/browser/aw_javascript_dialog_manager.cc const base::string16& message_text, base 23 android_webview/browser/aw_javascript_dialog_manager.cc const base::string16& default_prompt_text, base 37 android_webview/browser/aw_javascript_dialog_manager.cc const base::string16& message_text, base 23 android_webview/browser/aw_javascript_dialog_manager.h const base::string16& message_text, base 24 android_webview/browser/aw_javascript_dialog_manager.h const base::string16& default_prompt_text, base 29 android_webview/browser/aw_javascript_dialog_manager.h const base::string16& message_text, base 18 android_webview/browser/aw_login_delegate.cc using namespace base::android; base 29 android_webview/browser/aw_login_delegate.cc class UrlRequestAuthAttemptsData : public base::SupportsUserData::Data { base 58 android_webview/browser/aw_login_delegate.cc base::Bind(&AwLoginDelegate::HandleHttpAuthRequestOnUIThread, base 69 android_webview/browser/aw_login_delegate.cc void AwLoginDelegate::Proceed(const base::string16& user, base 70 android_webview/browser/aw_login_delegate.cc const base::string16& password) { base 73 android_webview/browser/aw_login_delegate.cc base::Bind(&AwLoginDelegate::ProceedOnIOThread, base 80 android_webview/browser/aw_login_delegate.cc base::Bind(&AwLoginDelegate::CancelOnIOThread, this)); base 110 android_webview/browser/aw_login_delegate.cc void AwLoginDelegate::ProceedOnIOThread(const base::string16& user, base 111 android_webview/browser/aw_login_delegate.cc const base::string16& password) { base 130 android_webview/browser/aw_login_delegate.cc base::Bind(&AwLoginDelegate::DeleteAuthHandlerSoon, this)); base 27 android_webview/browser/aw_login_delegate.h virtual void Proceed(const base::string16& user, base 28 android_webview/browser/aw_login_delegate.h const base::string16& password); base 38 android_webview/browser/aw_login_delegate.h void ProceedOnIOThread(const base::string16& user, base 39 android_webview/browser/aw_login_delegate.h const base::string16& password); base 15 android_webview/browser/aw_pref_store.cc const base::Value** value) const { base 20 android_webview/browser/aw_pref_store.cc base::Value** value) { base 40 android_webview/browser/aw_pref_store.cc void AwPrefStore::SetValue(const std::string& key, base::Value* value) { base 46 android_webview/browser/aw_pref_store.cc void AwPrefStore::SetValueSilently(const std::string& key, base::Value* value) { base 26 android_webview/browser/aw_pref_store.h const base::Value** result) const OVERRIDE; base 34 android_webview/browser/aw_pref_store.h base::Value** result) OVERRIDE; base 36 android_webview/browser/aw_pref_store.h virtual void SetValue(const std::string& key, base::Value* value) OVERRIDE; base 38 android_webview/browser/aw_pref_store.h base::Value* value) OVERRIDE; base 14 android_webview/browser/aw_quota_manager_bridge.h public base::RefCountedThreadSafe<AwQuotaManagerBridge> { base 16 android_webview/browser/aw_quota_manager_bridge.h friend class base::RefCountedThreadSafe<AwQuotaManagerBridge>; base 71 android_webview/browser/aw_request_interceptor.cc new base::SupportsUserData::Data()); base 25 android_webview/browser/aw_resource_context.cc base::AutoLock scoped_lock(extra_headers_lock_); base 35 android_webview/browser/aw_resource_context.cc base::AutoLock scoped_lock(extra_headers_lock_); base 37 android_webview/browser/aw_resource_context.h base::Lock extra_headers_lock_; base 22 android_webview/browser/browser_view_renderer.cc using base::android::AttachCurrentThread; base 23 android_webview/browser/browser_view_renderer.cc using base::android::JavaRef; base 24 android_webview/browser/browser_view_renderer.cc using base::android::ScopedJavaLocalRef; base 36 android_webview/browser/browser_view_renderer.cc base::Lock& lock) base 40 android_webview/browser/browser_view_renderer.cc base::AutoLock auto_lock(lock_); base 45 android_webview/browser/browser_view_renderer.cc base::AutoLock auto_lock(lock_); base 52 android_webview/browser/browser_view_renderer.cc base::Lock& lock_; base 63 android_webview/browser/browser_view_renderer.cc const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) base 138 android_webview/browser/browser_view_renderer.cc base::Bind(&BrowserViewRenderer::CompositeSW, base 139 android_webview/browser/browser_view_renderer.cc base::Unretained(this))); base 275 android_webview/browser/browser_view_renderer.cc base::Bind(&BrowserViewRenderer::SetContinuousInvalidate, base 325 android_webview/browser/browser_view_renderer.cc base::AutoLock lock(scroll_offset_dip_lock_); base 340 android_webview/browser/browser_view_renderer.cc base::Bind(&BrowserViewRenderer::DidUpdateContent, base 357 android_webview/browser/browser_view_renderer.cc base::Bind(&BrowserViewRenderer::SetMaxRootLayerScrollOffset, base 376 android_webview/browser/browser_view_renderer.cc base::Bind(&BrowserViewRenderer::SetTotalRootLayerScrollOffset, base 383 android_webview/browser/browser_view_renderer.cc base::AutoLock lock(scroll_offset_dip_lock_); base 417 android_webview/browser/browser_view_renderer.cc base::AutoLock lock(scroll_offset_dip_lock_); base 437 android_webview/browser/browser_view_renderer.cc base::Bind(&BrowserViewRenderer::SetRootLayerPageScaleFactorAndLimits, base 456 android_webview/browser/browser_view_renderer.cc base::Bind(&BrowserViewRenderer::SetRootLayerScrollableSize, base 470 android_webview/browser/browser_view_renderer.cc base::Bind(&BrowserViewRenderer::DidOverscroll, base 515 android_webview/browser/browser_view_renderer.cc fallback_tick_.Reset(base::Bind(&BrowserViewRenderer::FallbackTickFired, base 516 android_webview/browser/browser_view_renderer.cc base::Unretained(this))); base 525 android_webview/browser/browser_view_renderer.cc base::TimeDelta::FromMilliseconds(kFallbackTickTimeoutInMilliseconds)); base 567 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "is_paused: %d ", is_paused_); base 568 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "view_visible: %d ", view_visible_); base 569 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "window_visible: %d ", window_visible_); base 570 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "dip_scale: %f ", dip_scale_); base 571 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "page_scale_factor: %f ", page_scale_factor_); base 572 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, base 575 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "block_invalidates: %d ", block_invalidates_); base 576 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "view width height: [%d %d] ", width_, height_); base 577 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "attached_to_window: %d ", attached_to_window_); base 578 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, base 581 android_webview/browser/browser_view_renderer.cc base::StringAppendF( base 583 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, base 586 android_webview/browser/browser_view_renderer.cc base::StringAppendF( base 588 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "clear_view: %d ", clear_view_); base 590 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, base 596 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, base 600 android_webview/browser/browser_view_renderer.cc base::StringAppendF(&str, "is_layer: %d ", draw_info->is_layer); base 37 android_webview/browser/browser_view_renderer.h typedef base::Callback<bool(SkCanvas*)> RenderMethod; base 61 android_webview/browser/browser_view_renderer.h const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner); base 156 android_webview/browser/browser_view_renderer.h base::WeakPtrFactory<BrowserViewRenderer> weak_factory_on_ui_thread_; base 157 android_webview/browser/browser_view_renderer.h base::WeakPtr<BrowserViewRenderer> ui_thread_weak_ptr_; base 158 android_webview/browser/browser_view_renderer.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 181 android_webview/browser/browser_view_renderer.h base::CancelableClosure fallback_tick_; base 190 android_webview/browser/browser_view_renderer.h base::Lock scroll_offset_dip_lock_; base 38 android_webview/browser/find_helper.cc void FindHelper::FindAllAsync(const base::string16& search_string) { base 88 android_webview/browser/find_helper.cc void FindHelper::StartNewRequest(const base::string16& search_string) { base 35 android_webview/browser/find_helper.h void FindAllAsync(const base::string16& search_string); base 46 android_webview/browser/find_helper.h void StartNewRequest(const base::string16& search_string); base 62 android_webview/browser/find_helper.h base::string16 last_search_string_; base 67 android_webview/browser/find_helper.h base::WeakPtrFactory<FindHelper> weak_factory_; base 12 android_webview/browser/gl_view_renderer_manager.cc using base::AutoLock; base 15 android_webview/browser/gl_view_renderer_manager.cc base::LazyInstance<GLViewRendererManager>::Leaky g_view_renderer_manager = base 30 android_webview/browser/gl_view_renderer_manager.cc return render_thread_.is_equal(base::PlatformThread::CurrentHandle()); base 36 android_webview/browser/gl_view_renderer_manager.cc render_thread_ = base::PlatformThread::CurrentHandle(); base 37 android_webview/browser/gl_view_renderer_manager.cc DCHECK(render_thread_.is_equal(base::PlatformThread::CurrentHandle())); base 45 android_webview/browser/gl_view_renderer_manager.h friend struct base::DefaultLazyInstanceTraits<GLViewRendererManager>; base 52 android_webview/browser/gl_view_renderer_manager.h mutable base::Lock lock_; base 53 android_webview/browser/gl_view_renderer_manager.h base::PlatformThreadHandle render_thread_; base 32 android_webview/browser/hardware_renderer.cc base::LazyInstance<scoped_refptr<internal::DeferredGpuCommandService> > base 221 android_webview/browser/hardware_renderer.cc base::AutoLock lock(tasks_lock_); base 237 android_webview/browser/hardware_renderer.cc void DeferredGpuCommandService::ScheduleTask(const base::Closure& task) { base 239 android_webview/browser/hardware_renderer.cc base::AutoLock lock(tasks_lock_); base 250 android_webview/browser/hardware_renderer.cc const base::Closure& callback) { base 266 android_webview/browser/hardware_renderer.cc base::AutoLock lock(tasks_lock_); base 271 android_webview/browser/hardware_renderer.cc base::Closure task; base 273 android_webview/browser/hardware_renderer.cc base::AutoLock lock(tasks_lock_); base 279 android_webview/browser/hardware_renderer.cc base::AutoLock lock(tasks_lock_); base 286 android_webview/browser/hardware_renderer.cc base::RefCountedThreadSafe<DeferredGpuCommandService>::AddRef(); base 290 android_webview/browser/hardware_renderer.cc base::RefCountedThreadSafe<DeferredGpuCommandService>::Release(); base 72 android_webview/browser/hardware_renderer.h public base::RefCountedThreadSafe<DeferredGpuCommandService> { base 76 android_webview/browser/hardware_renderer.h virtual void ScheduleTask(const base::Closure& task) OVERRIDE; base 77 android_webview/browser/hardware_renderer.h virtual void ScheduleIdleWork(const base::Closure& task) OVERRIDE; base 89 android_webview/browser/hardware_renderer.h friend class base::RefCountedThreadSafe<DeferredGpuCommandService>; base 94 android_webview/browser/hardware_renderer.h base::Lock tasks_lock_; base 95 android_webview/browser/hardware_renderer.h std::queue<base::Closure> tasks_; base 67 android_webview/browser/icon_helper.cc base::Bind( base 68 android_webview/browser/icon_helper.cc &IconHelper::DownloadFaviconCallback, base::Unretained(this))); base 35 android_webview/browser/net/android_stream_reader_url_request_job.cc using base::android::AttachCurrentThread; base 36 android_webview/browser/net/android_stream_reader_url_request_job.cc using base::PostTaskAndReplyWithResult; base 56 android_webview/browser/net/android_stream_reader_url_request_job.cc public base::RefCountedThreadSafe<InputStreamReaderWrapper> { base 104 android_webview/browser/net/android_stream_reader_url_request_job.cc typedef base::Callback< base 110 android_webview/browser/net/android_stream_reader_url_request_job.cc scoped_refptr<base::MessageLoopProxy> job_thread_proxy, base 120 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Bind(callback, base 121 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Passed(delegate.Pass()), base 122 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Passed(input_stream.Pass()))); base 138 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Bind( base 140 android_webview/browser/net/android_stream_reader_url_request_job.cc base::MessageLoop::current()->message_loop_proxy(), base 145 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Passed(&delegate_), base 147 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Bind(&AndroidStreamReaderURLRequestJob::OnInputStreamOpened, base 193 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Bind(&InputStreamReaderWrapper::Seek, base 196 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Bind(&AndroidStreamReaderURLRequestJob::OnReaderSeekCompleted, base 233 android_webview/browser/net/android_stream_reader_url_request_job.cc base::TaskRunner* AndroidStreamReaderURLRequestJob::GetWorkerThreadRunner() { base 234 android_webview/browser/net/android_stream_reader_url_request_job.cc return static_cast<base::TaskRunner*>(BrowserThread::GetBlockingPool()); base 252 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Bind(&InputStreamReaderWrapper::ReadRawData, base 256 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Bind(&AndroidStreamReaderURLRequestJob::OnReaderReadCompleted, base 301 android_webview/browser/net/android_stream_reader_url_request_job.cc status.append(base::IntToString(status_code)); base 314 android_webview/browser/net/android_stream_reader_url_request_job.cc base::Int64ToString(expected_content_size())); base 24 android_webview/browser/net/android_stream_reader_url_request_job.h namespace base { base 95 android_webview/browser/net/android_stream_reader_url_request_job.h virtual base::TaskRunner* GetWorkerThreadRunner(); base 115 android_webview/browser/net/android_stream_reader_url_request_job.h base::WeakPtrFactory<AndroidStreamReaderURLRequestJob> weak_factory_; base 116 android_webview/browser/net/android_stream_reader_url_request_job.h base::ThreadChecker thread_checker_; base 130 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc message_loop_proxy_ = base::MessageLoopProxy::current(); base 140 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc virtual base::TaskRunner* GetWorkerThreadRunner() OVERRIDE { base 145 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 198 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc base::MessageLoopForIO loop_; base 222 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc base::MessageLoop::current()->Run(); base 237 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc base::MessageLoop::current()->Run(); base 271 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc base::MessageLoop::current()->Run(); base 302 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc base::MessageLoop::current()->Run(); base 313 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc base::RunLoop loop; base 317 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc .WillOnce(DoAll(InvokeWithoutArgs(&loop, &base::RunLoop::Quit), base 337 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc base::RunLoop loop; base 344 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc .WillOnce(DoAll(InvokeWithoutArgs(&loop, &base::RunLoop::Quit), base 36 android_webview/browser/net/aw_network_delegate.cc base::android::BuildInfo::GetInstance()->package_name()); base 71 android_webview/browser/net/aw_network_delegate.cc const base::string16& error) { base 97 android_webview/browser/net/aw_network_delegate.cc const base::FilePath& path) const { base 43 android_webview/browser/net/aw_network_delegate.h const base::string16& error) OVERRIDE; base 55 android_webview/browser/net/aw_network_delegate.h const base::FilePath& path) const OVERRIDE; base 64 android_webview/browser/net/aw_url_request_context_getter.cc base::StringToInt(command_line.GetSwitchValueASCII( base 69 android_webview/browser/net/aw_url_request_context_getter.cc base::StringToInt(command_line.GetSwitchValueASCII( base 99 android_webview/browser/net/aw_url_request_context_getter.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN))); base 162 android_webview/browser/net/aw_url_request_context_getter.cc const base::FilePath& partition_path, net::CookieStore* cookie_store) base 225 android_webview/browser/net/aw_url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> base 31 android_webview/browser/net/aw_url_request_context_getter.h AwURLRequestContextGetter(const base::FilePath& partition_path, base 38 android_webview/browser/net/aw_url_request_context_getter.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 55 android_webview/browser/net/aw_url_request_context_getter.h const base::FilePath partition_path_; base 32 android_webview/browser/net_disk_cache_remover.cc (*backend)->DoomAllEntries(base::Bind(&Noop)); base 38 android_webview/browser/net_disk_cache_remover.cc CompletionCallback callback(base::Bind(&CallDoomAllEntries, base 39 android_webview/browser/net_disk_cache_remover.cc base::Owned(backend_ptr))); base 71 android_webview/browser/net_disk_cache_remover.cc base::Bind(&ClearHttpDiskCacheOnIoThread, base 72 android_webview/browser/net_disk_cache_remover.cc base::Unretained(main_context_getter), base 73 android_webview/browser/net_disk_cache_remover.cc base::Unretained(media_context_getter))); base 113 android_webview/browser/renderer_host/aw_render_view_host_ext.cc void AwRenderViewHostExt::RenderProcessGone(base::TerminationStatus status) { base 39 android_webview/browser/renderer_host/aw_render_view_host_ext.h public base::NonThreadSafe { base 49 android_webview/browser/renderer_host/aw_render_view_host_ext.h typedef base::Callback<void(bool)> DocumentHasImagesResult; base 85 android_webview/browser/renderer_host/aw_render_view_host_ext.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 35 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc base::LazyInstance<android_webview::AwResourceDispatcherHostDelegate> base 357 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc base::Bind( base 359 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc base::Unretained( base 370 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc base::Bind( base 372 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc base::Unretained( base 77 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h friend struct base::DefaultLazyInstanceTraits< base 59 android_webview/browser/renderer_host/print_manager.cc base::FileDescriptor* temp_file_fd, base 14 android_webview/browser/renderer_host/print_manager.h namespace base { base 41 android_webview/browser/renderer_host/print_manager.h public base::NonThreadSafe { base 66 android_webview/browser/renderer_host/print_manager.h void OnAllocateTempFileForPrinting(base::FileDescriptor* temp_file_fd, base 17 android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h base::ThreadRestrictions::ScopedAllowWait wait; base 34 android_webview/browser/scoped_app_gl_state_restore.cc base::LazyInstance<AppContextSurface> g_app_context_surface = base 18 android_webview/browser/shared_renderer_state.cc scoped_refptr<base::MessageLoopProxy> ui_loop, base 36 android_webview/browser/shared_renderer_state.cc base::Bind(&SharedRendererState::ClientRequestDrawGLOnUIThread, base 41 android_webview/browser/shared_renderer_state.h SharedRendererState(scoped_refptr<base::MessageLoopProxy> ui_loop, base 58 android_webview/browser/shared_renderer_state.h scoped_refptr<base::MessageLoopProxy> ui_loop_; base 61 android_webview/browser/shared_renderer_state.h base::WeakPtrFactory<SharedRendererState> weak_factory_on_ui_thread_; base 62 android_webview/browser/shared_renderer_state.h base::WeakPtr<SharedRendererState> ui_thread_weak_ptr_; base 46 android_webview/common/aw_content_client.cc base::string16 AwContentClient::GetLocalizedString(int message_id) const { base 52 android_webview/common/aw_content_client.cc base::StringPiece AwContentClient::GetDataResource( base 21 android_webview/common/aw_content_client.h virtual base::string16 GetLocalizedString(int message_id) const OVERRIDE; base 22 android_webview/common/aw_content_client.h virtual base::StringPiece GetDataResource( base 69 android_webview/common/aw_hit_test_data.h base::string16 href; base 70 android_webview/common/aw_hit_test_data.h base::string16 anchor_text; base 58 android_webview/common/print_messages.cc title = base::string16(); base 59 android_webview/common/print_messages.cc url = base::string16(); base 50 android_webview/common/print_messages.h base::string16 title; base 51 android_webview/common/print_messages.h base::string16 url; base 193 android_webview/common/print_messages.h IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle) base 214 android_webview/common/print_messages.h IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle) base 249 android_webview/common/print_messages.h IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle) base 292 android_webview/common/print_messages.h base::DictionaryValue /* settings */) base 310 android_webview/common/print_messages.h base::DictionaryValue /* settings */) base 324 android_webview/common/print_messages.h base::SharedMemoryHandle /* renderer handle */, base 325 android_webview/common/print_messages.h base::SharedMemoryHandle /* browser handle */) base 359 android_webview/common/print_messages.h base::DictionaryValue /* job_settings */, base 375 android_webview/common/print_messages.h base::FileDescriptor /* temp file fd */, base 111 android_webview/common/render_view_messages.h base::string16 /* in - url */, base 5 android_webview/java/generated_src/org/chromium/base/library_loader/NativeLibraries.java package org.chromium.base.library_loader; base 13 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java import org.chromium.base.CalledByNative; base 14 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java import org.chromium.base.JNINamespace; base 9 android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java import org.chromium.base.CalledByNative; base 10 android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java import org.chromium.base.JNINamespace; base 11 android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java import org.chromium.base.PathUtils; base 12 android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java import org.chromium.base.ThreadUtils; base 13 android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java import org.chromium.base.TraceEvent; base 14 android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java import org.chromium.base.library_loader.LibraryLoader; base 15 android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java import org.chromium.base.library_loader.ProcessInitException; base 40 android_webview/java/src/org/chromium/android_webview/AwContents.java import org.chromium.base.CalledByNative; base 41 android_webview/java/src/org/chromium/android_webview/AwContents.java import org.chromium.base.JNINamespace; base 42 android_webview/java/src/org/chromium/android_webview/AwContents.java import org.chromium.base.ThreadUtils; base 54 android_webview/java/src/org/chromium/android_webview/AwContents.java import org.chromium.ui.base.ActivityWindowAndroid; base 55 android_webview/java/src/org/chromium/android_webview/AwContents.java import org.chromium.ui.base.WindowAndroid; base 11 android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java import org.chromium.base.CalledByNative; base 12 android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java import org.chromium.base.JNINamespace; base 7 android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java import org.chromium.base.CalledByNative; base 8 android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java import org.chromium.base.JNINamespace; base 7 android_webview/java/src/org/chromium/android_webview/AwCookieManager.java import org.chromium.base.JNINamespace; base 7 android_webview/java/src/org/chromium/android_webview/AwDevToolsServer.java import org.chromium.base.JNINamespace; base 7 android_webview/java/src/org/chromium/android_webview/AwFormDatabase.java import org.chromium.base.JNINamespace; base 10 android_webview/java/src/org/chromium/android_webview/AwGeolocationPermissions.java import org.chromium.base.ThreadUtils; base 7 android_webview/java/src/org/chromium/android_webview/AwHttpAuthHandler.java import org.chromium.base.CalledByNative; base 8 android_webview/java/src/org/chromium/android_webview/AwHttpAuthHandler.java import org.chromium.base.JNINamespace; base 14 android_webview/java/src/org/chromium/android_webview/AwPdfExporter.java import org.chromium.base.CalledByNative; base 15 android_webview/java/src/org/chromium/android_webview/AwPdfExporter.java import org.chromium.base.JNINamespace; base 11 android_webview/java/src/org/chromium/android_webview/AwPicture.java import org.chromium.base.JNINamespace; base 10 android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java import org.chromium.base.CalledByNative; base 11 android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java import org.chromium.base.JNINamespace; base 12 android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java import org.chromium.base.ThreadUtils; base 10 android_webview/java/src/org/chromium/android_webview/AwResource.java import org.chromium.base.CalledByNative; base 11 android_webview/java/src/org/chromium/android_webview/AwResource.java import org.chromium.base.JNINamespace; base 17 android_webview/java/src/org/chromium/android_webview/AwSettings.java import org.chromium.base.CalledByNative; base 18 android_webview/java/src/org/chromium/android_webview/AwSettings.java import org.chromium.base.JNINamespace; base 19 android_webview/java/src/org/chromium/android_webview/AwSettings.java import org.chromium.base.ThreadUtils; base 9 android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java import org.chromium.base.CalledByNative; base 10 android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java import org.chromium.base.JNINamespace; base 15 android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java import org.chromium.base.ThreadUtils; base 11 android_webview/java/src/org/chromium/android_webview/DefaultVideoPosterRequestHandler.java import org.chromium.base.ThreadUtils; base 14 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java import org.chromium.base.CalledByNative; base 15 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java import org.chromium.base.JNINamespace; base 7 android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java import org.chromium.base.CalledByNative; base 8 android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java import org.chromium.base.JNINamespace; base 10 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java import org.chromium.base.CalledByNative; base 11 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java import org.chromium.base.JNINamespace; base 7 android_webview/java/src/org/chromium/android_webview/JsResultHandler.java import org.chromium.base.ThreadUtils; base 17 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java import org.chromium.base.test.util.Feature; base 16 android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java import org.chromium.base.test.util.Feature; base 10 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 13 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java import org.chromium.base.ThreadUtils; base 14 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java import org.chromium.base.test.util.Feature; base 15 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java import org.chromium.base.test.util.UrlUtils; base 11 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientAutoLoginTest.java import org.chromium.base.test.util.Feature; base 11 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenVideoTest.java import org.chromium.base.test.util.Feature; base 15 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetDefaultVideoPosterTest.java import org.chromium.base.test.util.Feature; base 12 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetVideoLoadingProgressViewTest.java import org.chromium.base.test.util.Feature; base 10 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 14 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java import org.chromium.base.test.util.DisabledTest; base 15 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java import org.chromium.base.test.util.Feature; base 9 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnScaleChangedTest.java import org.chromium.base.test.util.DisabledTest; base 13 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java import org.chromium.base.test.util.Feature; base 14 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java import org.chromium.base.test.util.TestFileUtil; base 13 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldOverrideUrlLoadingTest.java import org.chromium.base.test.util.Feature; base 11 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java import org.chromium.base.test.util.Feature; base 12 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsRenderTest.java import org.chromium.base.ThreadUtils; base 13 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsRenderTest.java import org.chromium.base.test.util.Feature; base 20 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java import org.chromium.base.test.util.Feature; base 13 android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java import org.chromium.base.test.util.Feature; base 12 android_webview/javatests/src/org/chromium/android_webview/test/AwLegacyQuirksTest.java import org.chromium.base.test.util.Feature; base 15 android_webview/javatests/src/org/chromium/android_webview/test/AwQuotaManagerBridgeTest.java import org.chromium.base.test.util.Feature; base 13 android_webview/javatests/src/org/chromium/android_webview/test/AwScrollOffsetManagerTest.java import org.chromium.base.test.util.Feature; base 27 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java import org.chromium.base.test.util.DisabledTest; base 28 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java import org.chromium.base.test.util.Feature; base 29 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java import org.chromium.base.test.util.TestFileUtil; base 30 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java import org.chromium.base.test.util.UrlUtils; base 12 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 20 android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java import org.chromium.base.test.util.InMemorySharedPreferences; base 15 android_webview/javatests/src/org/chromium/android_webview/test/AwZoomTest.java import org.chromium.base.ThreadUtils; base 16 android_webview/javatests/src/org/chromium/android_webview/test/AwZoomTest.java import org.chromium.base.test.util.Feature; base 8 android_webview/javatests/src/org/chromium/android_webview/test/ClearHistoryTest.java import org.chromium.base.test.util.DisabledTest; base 9 android_webview/javatests/src/org/chromium/android_webview/test/ClearHistoryTest.java import org.chromium.base.test.util.UrlUtils; base 12 android_webview/javatests/src/org/chromium/android_webview/test/ClientAddMessageToConsoleTest.java import org.chromium.base.test.util.Feature; base 12 android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageFinishedTest.java import org.chromium.base.test.util.Feature; base 12 android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java import org.chromium.base.test.util.Feature; base 16 android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java import org.chromium.base.test.util.Feature; base 14 android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerStartupTest.java import org.chromium.base.test.util.Feature; base 15 android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerTest.java import org.chromium.base.test.util.Feature; base 15 android_webview/javatests/src/org/chromium/android_webview/test/FullScreenVideoTestAwContentsClient.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 11 android_webview/javatests/src/org/chromium/android_webview/test/GeolocationTest.java import org.chromium.base.test.util.Feature; base 11 android_webview/javatests/src/org/chromium/android_webview/test/GetTitleTest.java import org.chromium.base.test.util.Feature; base 11 android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java import org.chromium.base.test.util.Feature; base 13 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java import org.chromium.base.test.util.DisabledTest; base 14 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java import org.chromium.base.test.util.Feature; base 16 android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java import org.chromium.base.test.util.Feature; base 11 android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java import org.chromium.base.ThreadUtils; base 12 android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java import org.chromium.base.test.util.DisabledTest; base 12 android_webview/javatests/src/org/chromium/android_webview/test/SaveRestoreStateTest.java import org.chromium.base.test.util.Feature; base 10 android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java import org.chromium.base.ThreadUtils; base 10 android_webview/javatests/src/org/chromium/android_webview/test/UserAgentTest.java import org.chromium.base.test.util.Feature; base 18 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java import org.chromium.base.ThreadUtils; base 19 android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java import org.chromium.base.test.util.Feature; base 9 android_webview/javatests/src/org/chromium/android_webview/test/WebViewAsynchronousFindApisTest.java import org.chromium.base.test.util.DisabledTest; base 10 android_webview/javatests/src/org/chromium/android_webview/test/WebViewAsynchronousFindApisTest.java import org.chromium.base.test.util.Feature; base 17 android_webview/javatests/src/org/chromium/android_webview/test/WebViewModalDialogOverrideTest.java import org.chromium.base.test.util.Feature; base 11 android_webview/javatests/src/org/chromium/android_webview/test/util/JSUtils.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 21 android_webview/lib/aw_browser_dependency_factory_impl.cc base::LazyInstance<AwBrowserDependencyFactoryImpl>::Leaky g_lazy_instance; base 36 android_webview/lib/main/aw_main_delegate.cc base::LazyInstance<scoped_ptr<ScopedAllowWaitForLegacyWebViewApi> > base 16 android_webview/lib/main/webview_entry_point.cc static base::android::RegistrationMethod base 28 android_webview/lib/main/webview_entry_point.cc base::android::SetLibraryLoadedHook(&content::LibraryLoaded); base 30 android_webview/lib/main/webview_entry_point.cc base::android::InitVM(vm); base 31 android_webview/lib/main/webview_entry_point.cc JNIEnv* env = base::android::AttachCurrentThread(); base 32 android_webview/lib/main/webview_entry_point.cc if (!base::android::RegisterLibraryLoaderEntryHook(env)) base 8 android_webview/lib/main/webview_tests.cc return base::TestSuite(argc, argv).Run(); base 28 android_webview/native/android_protocol_handler.cc using base::android::AttachCurrentThread; base 29 android_webview/native/android_protocol_handler.cc using base::android::ClearException; base 30 android_webview/native/android_protocol_handler.cc using base::android::ConvertUTF8ToJavaString; base 31 android_webview/native/android_protocol_handler.cc using base::android::ScopedJavaGlobalRef; base 32 android_webview/native/android_protocol_handler.cc using base::android::ScopedJavaLocalRef; base 51 android_webview/native/android_protocol_handler.cc new base::SupportsUserData::Data()); base 121 android_webview/native/android_protocol_handler.cc context.Reset(env, base::android::GetApplicationContext()); base 187 android_webview/native/android_protocol_handler.cc *mime_type = base::android::ConvertJavaStringToUTF8(returned_type); base 32 android_webview/native/android_webview_jni_registrar.cc static base::android::RegistrationMethod kWebViewRegisteredMethods[] = { base 27 android_webview/native/aw_autofill_manager_delegate.cc using base::android::AttachCurrentThread; base 28 android_webview/native/aw_autofill_manager_delegate.cc using base::android::ConvertUTF16ToJavaString; base 29 android_webview/native/aw_autofill_manager_delegate.cc using base::android::ScopedJavaLocalRef; base 86 android_webview/native/aw_autofill_manager_delegate.cc base::i18n::TextDirection text_direction, base 87 android_webview/native/aw_autofill_manager_delegate.cc const std::vector<base::string16>& values, base 88 android_webview/native/aw_autofill_manager_delegate.cc const std::vector<base::string16>& labels, base 89 android_webview/native/aw_autofill_manager_delegate.cc const std::vector<base::string16>& icons, base 91 android_webview/native/aw_autofill_manager_delegate.cc base::WeakPtr<autofill::AutofillPopupDelegate> delegate) { base 111 android_webview/native/aw_autofill_manager_delegate.cc const std::vector<base::string16>& values, base 112 android_webview/native/aw_autofill_manager_delegate.cc const std::vector<base::string16>& labels, base 147 android_webview/native/aw_autofill_manager_delegate.cc const std::vector<base::string16>& values, base 148 android_webview/native/aw_autofill_manager_delegate.cc const std::vector<base::string16>& labels) { base 171 android_webview/native/aw_autofill_manager_delegate.cc const base::string16& autofilled_value, base 172 android_webview/native/aw_autofill_manager_delegate.cc const base::string16& profile_full_name) {} base 191 android_webview/native/aw_autofill_manager_delegate.cc const base::Closure& save_card_callback) { base 198 android_webview/native/aw_autofill_manager_delegate.cc const base::Callback<void(const autofill::FormStructure*)>& callback) { base 68 android_webview/native/aw_autofill_manager_delegate.h const base::Closure& save_card_callback) OVERRIDE; base 72 android_webview/native/aw_autofill_manager_delegate.h const base::Callback<void(const autofill::FormStructure*)>& callback) base 76 android_webview/native/aw_autofill_manager_delegate.h base::i18n::TextDirection text_direction, base 77 android_webview/native/aw_autofill_manager_delegate.h const std::vector<base::string16>& values, base 78 android_webview/native/aw_autofill_manager_delegate.h const std::vector<base::string16>& labels, base 79 android_webview/native/aw_autofill_manager_delegate.h const std::vector<base::string16>& icons, base 81 android_webview/native/aw_autofill_manager_delegate.h base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE; base 83 android_webview/native/aw_autofill_manager_delegate.h const std::vector<base::string16>& values, base 84 android_webview/native/aw_autofill_manager_delegate.h const std::vector<base::string16>& labels) OVERRIDE; base 90 android_webview/native/aw_autofill_manager_delegate.h const base::string16& autofilled_value, base 91 android_webview/native/aw_autofill_manager_delegate.h const base::string16& profile_full_name) OVERRIDE; base 101 android_webview/native/aw_autofill_manager_delegate.h const std::vector<base::string16>& values, base 102 android_webview/native/aw_autofill_manager_delegate.h const std::vector<base::string16>& labels, base 111 android_webview/native/aw_autofill_manager_delegate.h std::vector<base::string16> values_; base 113 android_webview/native/aw_autofill_manager_delegate.h base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; base 70 android_webview/native/aw_contents.cc using base::android::AttachCurrentThread; base 71 android_webview/native/aw_contents.cc using base::android::ConvertJavaStringToUTF16; base 72 android_webview/native/aw_contents.cc using base::android::ConvertJavaStringToUTF8; base 73 android_webview/native/aw_contents.cc using base::android::ConvertUTF16ToJavaString; base 74 android_webview/native/aw_contents.cc using base::android::ConvertUTF8ToJavaString; base 75 android_webview/native/aw_contents.cc using base::android::JavaRef; base 76 android_webview/native/aw_contents.cc using base::android::ScopedJavaGlobalRef; base 77 android_webview/native/aw_contents.cc using base::android::ScopedJavaLocalRef; base 103 android_webview/native/aw_contents.cc class AwContentsUserData : public base::SupportsUserData::Data { base 119 android_webview/native/aw_contents.cc base::subtle::Atomic32 g_instance_count = 0; base 199 android_webview/native/aw_contents.cc base::subtle::NoBarrier_AtomicIncrement(&g_instance_count, 1); base 245 android_webview/native/aw_contents.cc web_contents_->ForEachFrame(base::Bind(&OnIoThreadClientReady)); base 316 android_webview/native/aw_contents.cc base::subtle::NoBarrier_AtomicIncrement(&g_instance_count, -1); base 320 android_webview/native/aw_contents.cc if (base::subtle::NoBarrier_Load(&g_instance_count) == 0) { base 321 android_webview/native/aw_contents.cc base::MemoryPressureListener::NotifyMemoryPressure( base 322 android_webview/native/aw_contents.cc base::MemoryPressureListener::MEMORY_PRESSURE_CRITICAL); base 368 android_webview/native/aw_contents.cc return base::subtle::NoBarrier_Load(&g_instance_count); base 389 android_webview/native/aw_contents.cc base::Bind(&AwContents::DidDrawGL, ui_thread_weak_ptr_, result)); base 411 android_webview/native/aw_contents.cc base::Bind(&DocumentHasImagesCallback, j_message)); base 416 android_webview/native/aw_contents.cc const base::FilePath& path, int64 size) { base 431 android_webview/native/aw_contents.cc base::FilePath target_path(ConvertJavaStringToUTF8(env, jpath)); base 434 android_webview/native/aw_contents.cc base::Bind(&GenerateMHTMLCallback, base::Owned(j_callback), target_path)); base 468 android_webview/native/aw_contents.cc std::vector<base::string16> visited_link_strings; base 469 android_webview/native/aw_contents.cc base::android::AppendJavaStringArrayToStringVector( base 473 android_webview/native/aw_contents.cc std::vector<base::string16>::const_iterator itr; base 511 android_webview/native/aw_contents.cc base::Bind(&ShowGeolocationPromptHelperTask, base 520 android_webview/native/aw_contents.cc base::Callback<void(bool)> callback) { base 538 android_webview/native/aw_contents.cc GURL callback_origin(base::android::ConvertJavaStringToUTF16(env, origin)); base 694 android_webview/native/aw_contents.cc base::android::ScopedJavaLocalRef<jbyteArray> base 712 android_webview/native/aw_contents.cc return base::android::ToJavaByteArray(env, base 799 android_webview/native/aw_contents.cc base::android::ScopedJavaLocalRef<jbyteArray> base 811 android_webview/native/aw_contents.cc return base::android::ToJavaByteArray(env, base 822 android_webview/native/aw_contents.cc base::android::JavaByteArrayToByteVector(env, state, &state_vector); base 865 android_webview/native/aw_contents.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, pending.release()); base 893 android_webview/native/aw_contents.cc base::android::JavaIntArrayToIntVector( base 1057 android_webview/native/aw_contents.cc base::Bind(&AwContents::ForceFakeComposite, ui_thread_weak_ptr_)); base 74 android_webview/native/aw_contents.h bool OnReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler, base 93 android_webview/native/aw_contents.h base::android::ScopedJavaLocalRef<jbyteArray> GetCertificate( base 104 android_webview/native/aw_contents.h base::android::ScopedJavaLocalRef<jbyteArray> GetOpaqueState( base 133 android_webview/native/aw_contents.h void ShowGeolocationPrompt(const GURL& origin, base::Callback<void(bool)>); base 208 android_webview/native/aw_contents.h base::WeakPtrFactory<AwContents> weak_factory_on_ui_thread_; base 209 android_webview/native/aw_contents.h base::WeakPtr<AwContents> ui_thread_weak_ptr_; base 227 android_webview/native/aw_contents.h typedef std::pair<const GURL, base::Callback<void(bool)> > OriginCallback; base 17 android_webview/native/aw_contents_client_bridge.cc using base::android::AttachCurrentThread; base 18 android_webview/native/aw_contents_client_bridge.cc using base::android::ConvertJavaStringToUTF16; base 19 android_webview/native/aw_contents_client_bridge.cc using base::android::ConvertUTF8ToJavaString; base 20 android_webview/native/aw_contents_client_bridge.cc using base::android::ConvertUTF16ToJavaString; base 21 android_webview/native/aw_contents_client_bridge.cc using base::android::JavaRef; base 22 android_webview/native/aw_contents_client_bridge.cc using base::android::ScopedJavaLocalRef; base 49 android_webview/native/aw_contents_client_bridge.cc const base::Callback<void(bool)>& callback, base 61 android_webview/native/aw_contents_client_bridge.cc ScopedJavaLocalRef<jbyteArray> jcert = base::android::ToJavaByteArray( base 94 android_webview/native/aw_contents_client_bridge.cc const base::string16& message_text, base 95 android_webview/native/aw_contents_client_bridge.cc const base::string16& default_prompt_text, base 143 android_webview/native/aw_contents_client_bridge.cc const base::string16& message_text, base 165 android_webview/native/aw_contents_client_bridge.cc const base::string16& url) { base 189 android_webview/native/aw_contents_client_bridge.cc base::string16 prompt_text; base 205 android_webview/native/aw_contents_client_bridge.cc callback->Run(false, base::string16()); base 40 android_webview/native/aw_contents_client_bridge.h const base::Callback<void(bool)>& callback, base 46 android_webview/native/aw_contents_client_bridge.h const base::string16& message_text, base 47 android_webview/native/aw_contents_client_bridge.h const base::string16& default_prompt_text, base 52 android_webview/native/aw_contents_client_bridge.h const base::string16& message_text, base 55 android_webview/native/aw_contents_client_bridge.h virtual bool ShouldOverrideUrlLoading(const base::string16& url) OVERRIDE; base 65 android_webview/native/aw_contents_client_bridge.h typedef const base::Callback<void(bool)> CertErrorCallback; base 29 android_webview/native/aw_contents_io_thread_client_impl.cc using base::android::AttachCurrentThread; base 30 android_webview/native/aw_contents_io_thread_client_impl.cc using base::android::ConvertUTF8ToJavaString; base 31 android_webview/native/aw_contents_io_thread_client_impl.cc using base::android::JavaRef; base 32 android_webview/native/aw_contents_io_thread_client_impl.cc using base::android::ScopedJavaLocalRef; base 33 android_webview/native/aw_contents_io_thread_client_impl.cc using base::LazyInstance; base 70 android_webview/native/aw_contents_io_thread_client_impl.cc base::Lock map_lock_; base 85 android_webview/native/aw_contents_io_thread_client_impl.cc base::AutoLock lock(map_lock_); base 91 android_webview/native/aw_contents_io_thread_client_impl.cc base::AutoLock lock(map_lock_); base 102 android_webview/native/aw_contents_io_thread_client_impl.cc base::AutoLock lock(map_lock_); base 38 android_webview/native/aw_contents_io_thread_client_impl.h const base::android::JavaRef<jobject>& jclient); base 43 android_webview/native/aw_contents_io_thread_client_impl.h const base::android::JavaRef<jobject>& jclient); base 66 android_webview/native/aw_contents_io_thread_client_impl.h base::android::ScopedJavaGlobalRef<jobject> java_object_; base 47 android_webview/native/aw_dev_tools_server.cc virtual base::TimeTicks GetLastActivityTime() const OVERRIDE { base 65 android_webview/native/aw_dev_tools_server.cc base::TimeTicks last_activity_time_; base 73 android_webview/native/aw_dev_tools_server.cc title_ = base::UTF16ToUTF8(web_contents->GetTitle()); base 92 android_webview/native/aw_dev_tools_server.cc virtual base::FilePath GetDebugFrontendDir() OVERRIDE { base 93 android_webview/native/aw_dev_tools_server.cc return base::FilePath(); base 144 android_webview/native/aw_dev_tools_server.cc base::DictionaryValue description; base 156 android_webview/native/aw_dev_tools_server.cc base::JSONWriter::Write(&description, &json); base 178 android_webview/native/aw_dev_tools_server.cc base::StringPrintf(kSocketNameFormat, getpid()), base 180 android_webview/native/aw_dev_tools_server.cc base::Bind(&content::CanUserConnectToDevTools)), base 181 android_webview/native/aw_dev_tools_server.cc base::StringPrintf(kFrontEndURL, content::GetWebKitRevision().c_str()), base 25 android_webview/native/aw_geolocation_permission_context.cc base::Callback<void(bool)> callback) { base 43 android_webview/native/aw_geolocation_permission_context.cc base::Callback<void(bool)> callback) { base 46 android_webview/native/aw_geolocation_permission_context.cc base::Bind( base 86 android_webview/native/aw_geolocation_permission_context.cc base::Bind( base 28 android_webview/native/aw_geolocation_permission_context.h base::Callback<void(bool)> callback) OVERRIDE; base 44 android_webview/native/aw_geolocation_permission_context.h base::Callback<void(bool)> callback); base 16 android_webview/native/aw_http_auth_handler.cc using base::android::ConvertJavaStringToUTF16; base 27 android_webview/native/aw_http_auth_handler.cc JNIEnv* env = base::android::AttachCurrentThread(); base 35 android_webview/native/aw_http_auth_handler.cc Java_AwHttpAuthHandler_handlerDestroyed(base::android::AttachCurrentThread(), base 45 android_webview/native/aw_http_auth_handler.h base::android::ScopedJavaGlobalRef<jobject> http_auth_handler_; base 16 android_webview/native/aw_pdf_exporter.cc using base::android::AttachCurrentThread; base 17 android_webview/native/aw_pdf_exporter.cc using base::android::ScopedJavaGlobalRef; base 47 android_webview/native/aw_picture.cc base::Bind(&RenderPictureToCanvas, base 48 android_webview/native/aw_picture.cc base::Unretained(picture_.get()))); base 22 android_webview/native/aw_quota_manager_bridge_impl.cc using base::android::AttachCurrentThread; base 36 android_webview/native/aw_quota_manager_bridge_impl.cc class GetOriginsTask : public base::RefCountedThreadSafe<GetOriginsTask> { base 87 android_webview/native/aw_quota_manager_bridge_impl.cc base::Bind(&QuotaManager::GetOriginsModifiedSince, base 90 android_webview/native/aw_quota_manager_bridge_impl.cc base::Time() /* Since beginning of time. */, base 91 android_webview/native/aw_quota_manager_bridge_impl.cc base::Bind(&GetOriginsTask::OnOriginsObtained, this))); base 106 android_webview/native/aw_quota_manager_bridge_impl.cc base::Bind(&GetOriginsTask::OnUsageAndQuotaObtained, this, *origin)); base 133 android_webview/native/aw_quota_manager_bridge_impl.cc base::Bind(&GetOriginsTask::DoneOnUIThread, this)); base 145 android_webview/native/aw_quota_manager_bridge_impl.cc void RunOnUIThread(const base::Closure& task) { base 204 android_webview/native/aw_quota_manager_bridge_impl.cc RunOnUIThread(base::Bind(&AwQuotaManagerBridgeImpl::DeleteAllDataOnUiThread, base 219 android_webview/native/aw_quota_manager_bridge_impl.cc base::Time(), base::Time::Max(), base::Bind(&base::DoNothing)); base 224 android_webview/native/aw_quota_manager_bridge_impl.cc base::string16 origin_string( base 225 android_webview/native/aw_quota_manager_bridge_impl.cc base::android::ConvertJavaStringToUTF16(env, origin)); base 226 android_webview/native/aw_quota_manager_bridge_impl.cc RunOnUIThread(base::Bind(&AwQuotaManagerBridgeImpl::DeleteOriginOnUiThread, base 232 android_webview/native/aw_quota_manager_bridge_impl.cc const base::string16& origin) { base 248 android_webview/native/aw_quota_manager_bridge_impl.cc RunOnUIThread(base::Bind(&AwQuotaManagerBridgeImpl::GetOriginsOnUiThread, base 256 android_webview/native/aw_quota_manager_bridge_impl.cc const GetOriginsCallback ui_callback = base::Bind( base 279 android_webview/native/aw_quota_manager_bridge_impl.cc base::android::ToJavaArrayOfStrings(env, origin).obj(), base 280 android_webview/native/aw_quota_manager_bridge_impl.cc base::android::ToJavaLongArray(env, usage).obj(), base 281 android_webview/native/aw_quota_manager_bridge_impl.cc base::android::ToJavaLongArray(env, quota).obj()); base 299 android_webview/native/aw_quota_manager_bridge_impl.cc base::Bind(ui_callback, usage, quota)); base 309 android_webview/native/aw_quota_manager_bridge_impl.cc base::string16 origin_string( base 310 android_webview/native/aw_quota_manager_bridge_impl.cc base::android::ConvertJavaStringToUTF16(env, origin)); base 311 android_webview/native/aw_quota_manager_bridge_impl.cc RunOnUIThread(base::Bind( base 320 android_webview/native/aw_quota_manager_bridge_impl.cc const base::string16& origin, base 324 android_webview/native/aw_quota_manager_bridge_impl.cc const QuotaUsageCallback ui_callback = base::Bind( base 333 android_webview/native/aw_quota_manager_bridge_impl.cc base::Bind(&QuotaManager::GetUsageAndQuota, base 337 android_webview/native/aw_quota_manager_bridge_impl.cc base::Bind(&OnUsageAndQuotaObtained, ui_callback))); base 50 android_webview/native/aw_quota_manager_bridge_impl.h typedef base::Callback< base 54 android_webview/native/aw_quota_manager_bridge_impl.h typedef base::Callback<void(int64 /* usage */, base 66 android_webview/native/aw_quota_manager_bridge_impl.h void DeleteOriginOnUiThread(const base::string16& origin); base 68 android_webview/native/aw_quota_manager_bridge_impl.h void GetUsageAndQuotaForOriginOnUiThread(const base::string16& origin, base 80 android_webview/native/aw_quota_manager_bridge_impl.h base::WeakPtrFactory<AwQuotaManagerBridgeImpl> weak_factory_; base 20 android_webview/native/aw_resource.cc JNIEnv* env = base::android::AttachCurrentThread(); base 23 android_webview/native/aw_resource.cc return base::android::ConvertJavaStringToUTF8(content); base 27 android_webview/native/aw_resource.cc JNIEnv* env = base::android::AttachCurrentThread(); base 30 android_webview/native/aw_resource.cc return base::android::ConvertJavaStringToUTF8(content); base 34 android_webview/native/aw_resource.cc JNIEnv* env = base::android::AttachCurrentThread(); base 37 android_webview/native/aw_resource.cc return base::android::ConvertJavaStringToUTF8(encoding); base 22 android_webview/native/aw_settings.cc using base::android::ConvertJavaStringToUTF16; base 23 android_webview/native/aw_settings.cc using base::android::ConvertUTF8ToJavaString; base 24 android_webview/native/aw_settings.cc using base::android::ScopedJavaLocalRef; base 30 android_webview/native/aw_settings.cc class AwSettingsUserData : public base::SupportsUserData::Data { base 62 android_webview/native/aw_settings.cc JNIEnv* env = base::android::AttachCurrentThread(); base 92 android_webview/native/aw_settings.cc JNIEnv* env = base::android::AttachCurrentThread(); base 117 android_webview/native/aw_settings.cc std::string override = base::android::ConvertJavaStringToUTF8(str); base 188 android_webview/native/aw_settings.cc JNIEnv* env = base::android::AttachCurrentThread(); base 349 android_webview/native/aw_settings.cc return base::android::ConvertUTF8ToJavaString(env, GetUserAgent()).Release(); base 24 android_webview/native/aw_web_contents_delegate.cc using base::android::AttachCurrentThread; base 25 android_webview/native/aw_web_contents_delegate.cc using base::android::ConvertUTF16ToJavaString; base 26 android_webview/native/aw_web_contents_delegate.cc using base::android::ConvertUTF8ToJavaString; base 27 android_webview/native/aw_web_contents_delegate.cc using base::android::ScopedJavaLocalRef; base 40 android_webview/native/aw_web_contents_delegate.cc base::LazyInstance<AwJavaScriptDialogManager>::Leaky base 78 android_webview/native/aw_web_contents_delegate.cc const base::Callback<void(bool)>& callback) { base 154 android_webview/native/aw_web_contents_delegate.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, new_contents); base 167 android_webview/native/aw_web_contents_delegate.cc const base::string16& frame_name, base 202 android_webview/native/aw_web_contents_delegate.cc base::android::AppendJavaStringArrayToStringVector(env, file_paths, base 210 android_webview/native/aw_web_contents_delegate.cc base::FilePath path(url.SchemeIsFile() ? url.path() : file_path_str[i]); base 211 android_webview/native/aw_web_contents_delegate.cc files.push_back(ui::SelectedFileInfo(path, base::FilePath())); base 33 android_webview/native/aw_web_contents_delegate.h const base::Callback<void(bool)>& callback) OVERRIDE; base 46 android_webview/native/aw_web_contents_delegate.h const base::string16& frame_name, base 37 android_webview/native/cookie_manager.cc using base::FilePath; base 38 android_webview/native/cookie_manager.cc using base::android::ConvertJavaStringToUTF8; base 39 android_webview/native/cookie_manager.cc using base::android::ConvertJavaStringToUTF16; base 64 android_webview/native/cookie_manager.cc if (base::PathExists(cookie_store_path)) base 73 android_webview/native/cookie_manager.cc base::android::GetDatabaseDirectory(&old_cookie_store_path); base 76 android_webview/native/cookie_manager.cc if (base::PathExists(old_cookie_store_path) && base 77 android_webview/native/cookie_manager.cc !base::Move(old_cookie_store_path, cookie_store_path)) { base 85 android_webview/native/cookie_manager.cc if (!PathService::Get(base::DIR_ANDROID_APP_DATA, user_data_dir)) { base 110 android_webview/native/cookie_manager.cc friend struct base::DefaultLazyInstanceTraits<CookieManager>; base 115 android_webview/native/cookie_manager.cc typedef base::Callback<void(base::WaitableEvent*)> CookieTask; base 121 android_webview/native/cookie_manager.cc base::WaitableEvent* completion); base 122 android_webview/native/cookie_manager.cc void SetCookieCompleted(base::WaitableEvent* completion, bool success); base 127 android_webview/native/cookie_manager.cc base::WaitableEvent* completion); base 128 android_webview/native/cookie_manager.cc void GetCookieValueCompleted(base::WaitableEvent* completion, base 132 android_webview/native/cookie_manager.cc void RemoveSessionCookieAsyncHelper(base::WaitableEvent* completion); base 133 android_webview/native/cookie_manager.cc void RemoveAllCookieAsyncHelper(base::WaitableEvent* completion); base 134 android_webview/native/cookie_manager.cc void RemoveCookiesCompleted(base::WaitableEvent* completion, int num_deleted); base 136 android_webview/native/cookie_manager.cc void FlushCookieStoreAsyncHelper(base::WaitableEvent* completion); base 139 android_webview/native/cookie_manager.cc base::WaitableEvent* completion); base 140 android_webview/native/cookie_manager.cc void HasCookiesCompleted(base::WaitableEvent* completion, base 146 android_webview/native/cookie_manager.cc const scoped_refptr<base::SequencedTaskRunner>& client_task_runner, base 147 android_webview/native/cookie_manager.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner); base 153 android_webview/native/cookie_manager.cc scoped_refptr<base::MessageLoopProxy> cookie_monster_proxy_; base 154 android_webview/native/cookie_manager.cc base::Lock cookie_monster_lock_; base 158 android_webview/native/cookie_manager.cc scoped_ptr<base::Thread> cookie_monster_client_thread_; base 159 android_webview/native/cookie_manager.cc scoped_ptr<base::Thread> cookie_monster_backend_thread_; base 164 android_webview/native/cookie_manager.cc base::LazyInstance<CookieManager>::Leaky g_lazy_instance; base 179 android_webview/native/cookie_manager.cc const scoped_refptr<base::SequencedTaskRunner>& client_task_runner, base 180 android_webview/native/cookie_manager.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner) { base 186 android_webview/native/cookie_manager.cc base::Bind(ImportLegacyCookieStore, cookie_store_path)); base 210 android_webview/native/cookie_manager.cc new base::Thread("CookieMonsterClient")); base 214 android_webview/native/cookie_manager.cc new base::Thread("CookieMonsterBackend")); base 224 android_webview/native/cookie_manager.cc base::WaitableEvent completion(false, false); base 225 android_webview/native/cookie_manager.cc base::AutoLock lock(cookie_monster_lock_); base 229 android_webview/native/cookie_manager.cc cookie_monster_proxy_->PostTask(FROM_HERE, base::Bind(task, &completion)); base 240 android_webview/native/cookie_manager.cc base::AutoLock lock(cookie_monster_lock_); base 259 android_webview/native/cookie_manager.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner = base 278 android_webview/native/cookie_manager.cc ExecCookieTask(base::Bind(&CookieManager::SetCookieAsyncHelper, base 279 android_webview/native/cookie_manager.cc base::Unretained(this), base 287 android_webview/native/cookie_manager.cc base::WaitableEvent* completion) { base 293 android_webview/native/cookie_manager.cc base::Bind(&CookieManager::SetCookieCompleted, base 294 android_webview/native/cookie_manager.cc base::Unretained(this), base 298 android_webview/native/cookie_manager.cc void CookieManager::SetCookieCompleted(base::WaitableEvent* completion, base 307 android_webview/native/cookie_manager.cc ExecCookieTask(base::Bind(&CookieManager::GetCookieValueAsyncHelper, base 308 android_webview/native/cookie_manager.cc base::Unretained(this), base 318 android_webview/native/cookie_manager.cc base::WaitableEvent* completion) { base 325 android_webview/native/cookie_manager.cc base::Bind(&CookieManager::GetCookieValueCompleted, base 326 android_webview/native/cookie_manager.cc base::Unretained(this), base 331 android_webview/native/cookie_manager.cc void CookieManager::GetCookieValueCompleted(base::WaitableEvent* completion, base 339 android_webview/native/cookie_manager.cc ExecCookieTask(base::Bind(&CookieManager::RemoveSessionCookieAsyncHelper, base 340 android_webview/native/cookie_manager.cc base::Unretained(this))); base 344 android_webview/native/cookie_manager.cc base::WaitableEvent* completion) { base 346 android_webview/native/cookie_manager.cc base::Bind(&CookieManager::RemoveCookiesCompleted, base 347 android_webview/native/cookie_manager.cc base::Unretained(this), base 351 android_webview/native/cookie_manager.cc void CookieManager::RemoveCookiesCompleted(base::WaitableEvent* completion, base 360 android_webview/native/cookie_manager.cc ExecCookieTask(base::Bind(&CookieManager::RemoveAllCookieAsyncHelper, base 361 android_webview/native/cookie_manager.cc base::Unretained(this))); base 365 android_webview/native/cookie_manager.cc base::WaitableEvent* completion) { base 367 android_webview/native/cookie_manager.cc base::Bind(&CookieManager::RemoveCookiesCompleted, base 368 android_webview/native/cookie_manager.cc base::Unretained(this), base 378 android_webview/native/cookie_manager.cc base::WaitableEvent* completion) { base 379 android_webview/native/cookie_manager.cc cookie_monster_->FlushStore(base::Bind(&base::WaitableEvent::Signal, base 380 android_webview/native/cookie_manager.cc base::Unretained(completion))); base 384 android_webview/native/cookie_manager.cc ExecCookieTask(base::Bind(&CookieManager::FlushCookieStoreAsyncHelper, base 385 android_webview/native/cookie_manager.cc base::Unretained(this))); base 390 android_webview/native/cookie_manager.cc ExecCookieTask(base::Bind(&CookieManager::HasCookiesAsyncHelper, base 391 android_webview/native/cookie_manager.cc base::Unretained(this), base 399 android_webview/native/cookie_manager.cc base::WaitableEvent* completion) { base 401 android_webview/native/cookie_manager.cc base::Bind(&CookieManager::HasCookiesCompleted, base 402 android_webview/native/cookie_manager.cc base::Unretained(this), base 407 android_webview/native/cookie_manager.cc void CookieManager::HasCookiesCompleted(base::WaitableEvent* completion, base 415 android_webview/native/cookie_manager.cc base::AutoLock lock(cookie_monster_lock_); base 425 android_webview/native/cookie_manager.cc base::AutoLock lock(cookie_monster_lock_); base 460 android_webview/native/cookie_manager.cc return base::android::ConvertUTF8ToJavaString( base 13 android_webview/native/external_video_surface_container_impl.cc using base::android::AttachCurrentThread; base 22 android_webview/native/external_video_surface_container_impl.h typedef base::Callback<void(int, jobject)> SurfaceCreatedCB; base 23 android_webview/native/external_video_surface_container_impl.h typedef base::Callback<void(int)> SurfaceDestroyedCB; base 45 android_webview/native/external_video_surface_container_impl.h base::android::ScopedJavaGlobalRef<jobject> jobject_; base 17 android_webview/native/input_stream_impl.cc using base::android::AttachCurrentThread; base 18 android_webview/native/input_stream_impl.cc using base::android::ClearException; base 19 android_webview/native/input_stream_impl.cc using base::android::JavaRef; base 80 android_webview/native/input_stream_impl.cc base::android::ScopedJavaLocalRef<jbyteArray> temp( base 28 android_webview/native/input_stream_impl.h InputStreamImpl(const base::android::JavaRef<jobject>& stream); base 43 android_webview/native/input_stream_impl.h base::android::ScopedJavaGlobalRef<jobject> jobject_; base 44 android_webview/native/input_stream_impl.h base::android::ScopedJavaGlobalRef<jbyteArray> buffer_; base 19 android_webview/native/input_stream_unittest.cc using base::android::AttachCurrentThread; base 20 android_webview/native/input_stream_unittest.cc using base::android::ScopedJavaLocalRef; base 14 android_webview/native/intercepted_request_data_impl.cc using base::android::ScopedJavaLocalRef; base 19 android_webview/native/intercepted_request_data_impl.cc const base::android::JavaRef<jobject>& obj) base 21 android_webview/native/intercepted_request_data_impl.h InterceptedRequestDataImpl(const base::android::JavaRef<jobject>& obj); base 29 android_webview/native/intercepted_request_data_impl.h base::android::ScopedJavaGlobalRef<jobject> java_object_; base 15 android_webview/native/java_browser_view_renderer_helper.cc using base::android::JavaRef; base 16 android_webview/native/java_browser_view_renderer_helper.cc using base::android::ScopedJavaLocalRef; base 77 android_webview/native/java_browser_view_renderer_helper.cc JNIEnv* env = base::android::AttachCurrentThread(); base 40 android_webview/native/java_browser_view_renderer_helper.h const base::android::JavaRef<jobject>& jbitmap, base 123 android_webview/native/state_serializer.cc const std::vector<base::FilePath>& file_paths = base 125 android_webview/native/state_serializer.cc for (std::vector<base::FilePath>::const_iterator file = file_paths.begin(); base 229 android_webview/native/state_serializer.cc base::string16 title; base 275 android_webview/native/state_serializer.cc entry->SetTimestamp(base::Time::FromInternalValue(timestamp)); base 49 android_webview/native/state_serializer_unittest.cc const base::string16 title(base::UTF8ToUTF16("title")); base 56 android_webview/native/state_serializer_unittest.cc const base::Time timestamp = base::Time::FromInternalValue(12345); base 49 android_webview/renderer/aw_content_renderer_client.cc base::ASCIIToUTF16(android_webview::kContentScheme)); base 53 android_webview/renderer/aw_content_renderer_client.cc base::ASCIIToUTF16(android_webview::kAndroidWebViewVideoPosterScheme)); base 111 android_webview/renderer/aw_content_renderer_client.cc base::string16 url = request.url().string(); base 163 android_webview/renderer/aw_content_renderer_client.cc base::string16* error_description) { base 166 android_webview/renderer/aw_content_renderer_client.cc std::string err = base::UTF16ToUTF8(error.localizedDescription); base 181 android_webview/renderer/aw_content_renderer_client.cc *error_description = base::ASCIIToUTF16(net::ErrorToString(error.reason)); base 37 android_webview/renderer/aw_content_renderer_client.h base::string16* error_description) OVERRIDE; base 41 android_webview/renderer/aw_render_view_ext.cc const base::string16& url_fragment) { base 45 android_webview/renderer/aw_render_view_ext.cc base::string16 GetHref(const blink::WebElement& element) { base 66 android_webview/renderer/aw_render_view_ext.cc bool RemovePrefixAndAssignIfMatches(const base::StringPiece& prefix, base 69 android_webview/renderer/aw_render_view_ext.cc const base::StringPiece spec(url.possibly_invalid_spec()); base 75 android_webview/renderer/aw_render_view_ext.cc std::string decoded_url = base::UTF16ToUTF8( base 76 android_webview/renderer/aw_render_view_ext.cc base::string16(output.data(), output.length())); base 103 android_webview/renderer/aw_render_view_ext.cc data->href = base::UTF8ToUTF16(data->extra_data_for_type); base 129 android_webview/renderer/aw_render_view_ext.cc data->href = base::UTF8ToUTF16(absolute_link_url.possibly_invalid_spec()); base 202 android_webview/renderer/aw_render_view_ext.cc base::TimeDelta::FromMilliseconds(0), this, base 67 android_webview/renderer/aw_render_view_ext.h base::OneShotTimer<AwRenderViewExt> check_contents_size_timer_; base 77 android_webview/renderer/print_web_view_helper.cc const base::Value& parameters) { base 79 android_webview/renderer/print_web_view_helper.cc base::JSONWriter::Write(¶meters, &json); base 80 android_webview/renderer/print_web_view_helper.cc std::string script = base::StringPrintf(script_format, json.c_str()); base 81 android_webview/renderer/print_web_view_helper.cc frame->executeScript(blink::WebString(base::UTF8ToUTF16(script))); base 321 android_webview/renderer/print_web_view_helper.cc bool FitToPageEnabled(const base::DictionaryValue& job_settings) { base 425 android_webview/renderer/print_web_view_helper.cc const base::DictionaryValue& header_footer_info, base 446 android_webview/renderer/print_web_view_helper.cc base::StringValue html( base 452 android_webview/renderer/print_web_view_helper.cc scoped_ptr<base::DictionaryValue> options(header_footer_info.DeepCopy()); base 458 android_webview/renderer/print_web_view_helper.cc base::StringPrintf("%d/%d", page_number, total_pages)); base 514 android_webview/renderer/print_web_view_helper.cc const base::Closure& on_ready); base 555 android_webview/renderer/print_web_view_helper.cc base::WeakPtrFactory<PrepareFrameAndViewForPrint> weak_ptr_factory_; base 564 android_webview/renderer/print_web_view_helper.cc base::Closure on_ready_; base 639 android_webview/renderer/print_web_view_helper.cc const base::Closure& on_ready) { base 678 android_webview/renderer/print_web_view_helper.cc base::MessageLoop::current()->PostTask( base 680 android_webview/renderer/print_web_view_helper.cc base::Bind(&PrepareFrameAndViewForPrint::CallOnReady, base 833 android_webview/renderer/print_web_view_helper.cc const base::DictionaryValue& job_settings) { base 856 android_webview/renderer/print_web_view_helper.cc base::AutoReset<bool> set_printing_flag(&print_for_preview_, true); base 932 android_webview/renderer/print_web_view_helper.cc const base::DictionaryValue& settings) { base 940 android_webview/renderer/print_web_view_helper.cc const base::DictionaryValue& job_settings) { base 948 android_webview/renderer/print_web_view_helper.cc bool source_is_html, const base::DictionaryValue& job_settings, base 969 android_webview/renderer/print_web_view_helper.cc void PrintWebViewHelper::OnPrintPreview(const base::DictionaryValue& settings) { base 1034 android_webview/renderer/print_web_view_helper.cc base::Bind(&PrintWebViewHelper::OnFramePreparedForPreviewDocument, base 1035 android_webview/renderer/print_web_view_helper.cc base::Unretained(this))); base 1440 android_webview/renderer/print_web_view_helper.cc const base::DictionaryValue& passed_job_settings) { base 1442 android_webview/renderer/print_web_view_helper.cc const base::DictionaryValue* job_settings = &passed_job_settings; base 1443 android_webview/renderer/print_web_view_helper.cc base::DictionaryValue modified_job_settings; base 1526 android_webview/renderer/print_web_view_helper.cc header_footer_info_.reset(new base::DictionaryValue()); base 1528 android_webview/renderer/print_web_view_helper.cc base::Time::Now().ToJsTime()); base 1588 android_webview/renderer/print_web_view_helper.cc base::Bind(&PrintWebViewHelper::OnFramePreparedForPrintPages, base 1589 android_webview/renderer/print_web_view_helper.cc base::Unretained(this))); base 1596 android_webview/renderer/print_web_view_helper.cc base::SharedMemoryHandle* shared_mem_handle) { base 1598 android_webview/renderer/print_web_view_helper.cc scoped_ptr<base::SharedMemory> shared_buf( base 1605 android_webview/renderer/print_web_view_helper.cc shared_buf->GiveToProcess(base::GetCurrentProcessHandle(), base 1628 android_webview/renderer/print_web_view_helper.cc base::TimeDelta diff = base::Time::Now() - last_cancelled_script_print_; base 1659 android_webview/renderer/print_web_view_helper.cc last_cancelled_script_print_ = base::Time::Now(); base 1689 android_webview/renderer/print_web_view_helper.cc base::MessageLoop::current()->PostTask( base 1691 android_webview/renderer/print_web_view_helper.cc base::Bind(&PrintWebViewHelper::ShowScriptedPrintPreview, base 1862 android_webview/renderer/print_web_view_helper.cc document_render_time_ = base::TimeDelta(); base 1863 android_webview/renderer/print_web_view_helper.cc begin_time_ = base::TimeTicks::Now(); base 1869 android_webview/renderer/print_web_view_helper.cc const base::TimeDelta& page_time) { base 1884 android_webview/renderer/print_web_view_helper.cc base::TimeTicks begin_time = base::TimeTicks::Now(); base 1894 android_webview/renderer/print_web_view_helper.cc base::TimeDelta total_time = (base::TimeTicks::Now() - begin_time) + base 29 android_webview/renderer/print_web_view_helper.h namespace base { base 126 android_webview/renderer/print_web_view_helper.h void OnPrintPreview(const base::DictionaryValue& settings); base 127 android_webview/renderer/print_web_view_helper.h void OnPrintForPrintPreview(const base::DictionaryValue& job_settings); base 138 android_webview/renderer/print_web_view_helper.h void UpdateFrameMarginsCssInfo(const base::DictionaryValue& settings); base 141 android_webview/renderer/print_web_view_helper.h bool IsPrintToPdfRequested(const base::DictionaryValue& settings); base 159 android_webview/renderer/print_web_view_helper.h const base::DictionaryValue& job_settings, base 206 android_webview/renderer/print_web_view_helper.h const base::DictionaryValue& passed_job_settings); base 273 android_webview/renderer/print_web_view_helper.h base::SharedMemoryHandle* shared_mem_handle); base 292 android_webview/renderer/print_web_view_helper.h const base::DictionaryValue& header_footer_info, base 343 android_webview/renderer/print_web_view_helper.h base::Time last_cancelled_script_print_; base 356 android_webview/renderer/print_web_view_helper.h scoped_ptr<base::DictionaryValue> header_footer_info_; base 381 android_webview/renderer/print_web_view_helper.h void RenderedPreviewPage(const base::TimeDelta& page_time); base 459 android_webview/renderer/print_web_view_helper.h base::TimeDelta document_render_time_; base 460 android_webview/renderer/print_web_view_helper.h base::TimeTicks begin_time_; base 471 android_webview/renderer/print_web_view_helper.h base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; base 44 android_webview/renderer/print_web_view_helper_linux.cc base::TimeTicks begin_time = base::TimeTicks::Now(); base 50 android_webview/renderer/print_web_view_helper_linux.cc base::TimeTicks::Now() - begin_time); base 106 android_webview/renderer/print_web_view_helper_linux.cc base::FileDescriptor fd; base 125 android_webview/renderer/print_web_view_helper_linux.cc scoped_ptr<base::SharedMemory> shared_mem( base 139 android_webview/renderer/print_web_view_helper_linux.cc shared_mem->GiveToProcess(base::GetCurrentProcessHandle(), base 12 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java import org.chromium.base.BaseSwitches; base 13 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java import org.chromium.base.CommandLine; base 24 android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java import org.chromium.base.ThreadUtils; base 7 android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java import org.chromium.base.CalledByNative; base 53 apps/app_load_service.cc bool AppLoadService::LoadAndLaunch(const base::FilePath& extension_path, base 55 apps/app_load_service.cc const base::FilePath& current_dir) { base 60 apps/app_load_service.cc LoadFromCommandLine(base::FilePath(extension_path), &extension_id)) { base 40 apps/app_load_service.h base::CommandLine command_line; base 41 apps/app_load_service.h base::FilePath current_dir; base 55 apps/app_load_service.h bool LoadAndLaunch(const base::FilePath& extension_path, base 56 apps/app_load_service.h const base::CommandLine& command_line, base 57 apps/app_load_service.h const base::FilePath& current_dir); base 63 apps/app_restore_service_browsertest.cc base::ScopedTempDir temp_directory; base 65 apps/app_restore_service_browsertest.cc base::FilePath temp_file; base 66 apps/app_restore_service_browsertest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(), base 108 apps/app_restore_service_browsertest.cc base::ScopedTempDir temp_directory; base 110 apps/app_restore_service_browsertest.cc base::FilePath temp_file; base 111 apps/app_restore_service_browsertest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(), base 67 apps/app_shim/app_shim_handler_mac.cc base::MessageLoop::current()->PostTask( base 68 apps/app_shim/app_shim_handler_mac.cc FROM_HERE, base::Bind(&TerminateIfNoAppWindows)); base 32 apps/app_shim/app_shim_handler_mac.h virtual base::FilePath GetProfilePath() const = 0; base 66 apps/app_shim/app_shim_handler_mac.h const std::vector<base::FilePath>& files) = 0; base 76 apps/app_shim/app_shim_handler_mac.h const std::vector<base::FilePath>& files) = 0; base 35 apps/app_shim/app_shim_host_mac.cc base::FilePath AppShimHost::GetProfilePath() const { base 66 apps/app_shim/app_shim_host_mac.cc void AppShimHost::OnLaunchApp(const base::FilePath& profile_dir, base 69 apps/app_shim/app_shim_host_mac.cc const std::vector<base::FilePath>& files) { base 87 apps/app_shim/app_shim_host_mac.cc const std::vector<base::FilePath>& files) { base 31 apps/app_shim/app_shim_host_mac.h public base::NonThreadSafe { base 54 apps/app_shim/app_shim_host_mac.h void OnLaunchApp(const base::FilePath& profile_dir, base 57 apps/app_shim/app_shim_host_mac.h const std::vector<base::FilePath>& files); base 61 apps/app_shim/app_shim_host_mac.h const std::vector<base::FilePath>& files); base 73 apps/app_shim/app_shim_host_mac.h virtual base::FilePath GetProfilePath() const OVERRIDE; base 81 apps/app_shim/app_shim_host_mac.h base::FilePath profile_path_; base 65 apps/app_shim/app_shim_host_mac_unittest.cc new AppShimHostMsg_LaunchApp(base::FilePath(kTestProfileDir), base 68 apps/app_shim/app_shim_host_mac_unittest.cc std::vector<base::FilePath>()))); base 87 apps/app_shim/app_shim_host_mac_unittest.cc const std::vector<base::FilePath>& file) OVERRIDE { base 98 apps/app_shim/app_shim_host_mac_unittest.cc const std::vector<base::FilePath>& file) OVERRIDE { base 145 apps/app_shim/app_shim_host_mac_unittest.cc std::vector<base::FilePath>()))); base 13 apps/app_shim/app_shim_host_manager_mac.h namespace base { base 25 apps/app_shim/app_shim_host_manager_mac.h public base::RefCountedThreadSafe< base 40 apps/app_shim/app_shim_host_manager_mac.h friend class base::RefCountedThreadSafe<AppShimHostManager>; base 43 apps/app_shim/app_shim_host_manager_mac.h friend class base::DeleteHelper<AppShimHostManager>; base 59 apps/app_shim/app_shim_host_manager_mac.h base::FilePath directory_in_tmp_; base 40 apps/app_shim/app_shim_messages.h base::FilePath /* profile dir */, base 43 apps/app_shim/app_shim_messages.h std::vector<base::FilePath> /* files */) base 51 apps/app_shim/app_shim_messages.h std::vector<base::FilePath> /* files */) base 38 apps/app_shim/extension_app_shim_handler_mac.cc void ProfileLoadedCallback(base::Callback<void(Profile*)> callback, base 86 apps/app_shim/extension_app_shim_handler_mac.cc const base::Callback<void()>& callback) base 98 apps/app_shim/extension_app_shim_handler_mac.cc base::Callback<gfx::NativeWindow(void)>()); base 115 apps/app_shim/extension_app_shim_handler_mac.cc base::Callback<void()> callback_; base 126 apps/app_shim/extension_app_shim_handler_mac.cc const base::FilePath& path) { base 130 apps/app_shim/extension_app_shim_handler_mac.cc base::FilePath full_path = profile_manager->user_data_dir().Append(path); base 136 apps/app_shim/extension_app_shim_handler_mac.cc const base::FilePath& path) { base 138 apps/app_shim/extension_app_shim_handler_mac.cc base::FilePath full_path = profile_manager->user_data_dir().Append(path); base 146 apps/app_shim/extension_app_shim_handler_mac.cc const base::FilePath& path, base 147 apps/app_shim/extension_app_shim_handler_mac.cc base::Callback<void(Profile*)> callback) { base 149 apps/app_shim/extension_app_shim_handler_mac.cc base::FilePath full_path = profile_manager->user_data_dir().Append(path); base 152 apps/app_shim/extension_app_shim_handler_mac.cc base::Bind(&ProfileLoadedCallback, callback), base 153 apps/app_shim/extension_app_shim_handler_mac.cc base::string16(), base::string16(), std::string()); base 175 apps/app_shim/extension_app_shim_handler_mac.cc const base::Callback<void()>& callback) { base 182 apps/app_shim/extension_app_shim_handler_mac.cc const std::vector<base::FilePath>& files) { base 188 apps/app_shim/extension_app_shim_handler_mac.cc for (std::vector<base::FilePath>::const_iterator it = files.begin(); base 268 apps/app_shim/extension_app_shim_handler_mac.cc std::vector<base::FilePath>()); base 298 apps/app_shim/extension_app_shim_handler_mac.cc const std::vector<base::FilePath>& files) { base 302 apps/app_shim/extension_app_shim_handler_mac.cc const base::FilePath& profile_path = host->GetProfilePath(); base 327 apps/app_shim/extension_app_shim_handler_mac.cc base::Bind(&ExtensionAppShimHandler::OnProfileLoaded, base 337 apps/app_shim/extension_app_shim_handler_mac.cc const std::vector<base::FilePath>& files, base 370 apps/app_shim/extension_app_shim_handler_mac.cc base::Bind(&ExtensionAppShimHandler::OnExtensionEnabled, base 376 apps/app_shim/extension_app_shim_handler_mac.cc const base::FilePath& profile_path, base 378 apps/app_shim/extension_app_shim_handler_mac.cc const std::vector<base::FilePath>& files) { base 413 apps/app_shim/extension_app_shim_handler_mac.cc const std::vector<base::FilePath>& files) { base 510 apps/app_shim/extension_app_shim_handler_mac.cc OnShimFocus(host, APP_SHIM_FOCUS_NORMAL, std::vector<base::FilePath>()); base 22 apps/app_shim/extension_app_shim_handler_mac.h namespace base { base 48 apps/app_shim/extension_app_shim_handler_mac.h virtual bool ProfileExistsForPath(const base::FilePath& path); base 49 apps/app_shim/extension_app_shim_handler_mac.h virtual Profile* ProfileForPath(const base::FilePath& path); base 50 apps/app_shim/extension_app_shim_handler_mac.h virtual void LoadProfileAsync(const base::FilePath& path, base 51 apps/app_shim/extension_app_shim_handler_mac.h base::Callback<void(Profile*)> callback); base 61 apps/app_shim/extension_app_shim_handler_mac.h const base::Callback<void()>& callback); base 64 apps/app_shim/extension_app_shim_handler_mac.h const std::vector<base::FilePath>& files); base 89 apps/app_shim/extension_app_shim_handler_mac.h const std::vector<base::FilePath>& files) OVERRIDE; base 93 apps/app_shim/extension_app_shim_handler_mac.h const std::vector<base::FilePath>& files) OVERRIDE; base 125 apps/app_shim/extension_app_shim_handler_mac.h const std::vector<base::FilePath>& files, base 130 apps/app_shim/extension_app_shim_handler_mac.h void OnExtensionEnabled(const base::FilePath& profile_path, base 132 apps/app_shim/extension_app_shim_handler_mac.h const std::vector<base::FilePath>& files); base 140 apps/app_shim/extension_app_shim_handler_mac.h base::WeakPtrFactory<ExtensionAppShimHandler> weak_factory_; base 32 apps/app_shim/extension_app_shim_handler_mac_unittest.cc MOCK_METHOD1(ProfileExistsForPath, bool(const base::FilePath&)); base 33 apps/app_shim/extension_app_shim_handler_mac_unittest.cc MOCK_METHOD1(ProfileForPath, Profile*(const base::FilePath&)); base 35 apps/app_shim/extension_app_shim_handler_mac_unittest.cc void(const base::FilePath&, base 36 apps/app_shim/extension_app_shim_handler_mac_unittest.cc base::Callback<void(Profile*)>)); base 43 apps/app_shim/extension_app_shim_handler_mac_unittest.cc const base::Callback<void()>&)); base 47 apps/app_shim/extension_app_shim_handler_mac_unittest.cc const std::vector<base::FilePath>&)); base 53 apps/app_shim/extension_app_shim_handler_mac_unittest.cc const base::FilePath& path, base 54 apps/app_shim/extension_app_shim_handler_mac_unittest.cc base::Callback<void(Profile*)> callback) { base 59 apps/app_shim/extension_app_shim_handler_mac_unittest.cc const base::FilePath& path, base 65 apps/app_shim/extension_app_shim_handler_mac_unittest.cc void RunCallback(const base::Callback<void()>& callback) { base 70 apps/app_shim/extension_app_shim_handler_mac_unittest.cc std::map<base::FilePath, base 71 apps/app_shim/extension_app_shim_handler_mac_unittest.cc base::Callback<void(Profile*)> > callbacks_; base 84 apps/app_shim/extension_app_shim_handler_mac_unittest.cc const std::vector<base::FilePath>& files)); base 88 apps/app_shim/extension_app_shim_handler_mac_unittest.cc const std::vector<base::FilePath>& files) { base 109 apps/app_shim/extension_app_shim_handler_mac_unittest.cc FakeHost(const base::FilePath& profile_path, base 125 apps/app_shim/extension_app_shim_handler_mac_unittest.cc virtual base::FilePath GetProfilePath() const OVERRIDE { base 133 apps/app_shim/extension_app_shim_handler_mac_unittest.cc base::FilePath profile_path_; base 152 apps/app_shim/extension_app_shim_handler_mac_unittest.cc base::FilePath extension_path("/fake/path"); base 153 apps/app_shim/extension_app_shim_handler_mac_unittest.cc base::DictionaryValue manifest; base 194 apps/app_shim/extension_app_shim_handler_mac_unittest.cc std::vector<base::FilePath>()); base 200 apps/app_shim/extension_app_shim_handler_mac_unittest.cc std::vector<base::FilePath>()); base 205 apps/app_shim/extension_app_shim_handler_mac_unittest.cc base::FilePath profile_path_a_; base 206 apps/app_shim/extension_app_shim_handler_mac_unittest.cc base::FilePath profile_path_b_; base 257 apps/app_shim/extension_app_shim_handler_mac_unittest.cc std::vector<base::FilePath> some_file(1, base::FilePath("some_file")); base 319 apps/app_shim/extension_app_shim_handler_mac_unittest.cc std::vector<base::FilePath>()); base 325 apps/app_shim/extension_app_shim_handler_mac_unittest.cc std::vector<base::FilePath> some_file(1, base::FilePath("some_file")); base 22 apps/app_shim/test/app_shim_host_manager_test_api_mac.cc const base::FilePath& AppShimHostManagerTestApi::directory_in_tmp() { base 12 apps/app_shim/test/app_shim_host_manager_test_api_mac.h namespace base { base 28 apps/app_shim/test/app_shim_host_manager_test_api_mac.h const base::FilePath& directory_in_tmp(); base 70 apps/app_window.cc base::DictionaryValue* bounds_properties) { base 74 apps/app_window.cc bounds_properties->Set(name, base::Value::CreateNullValue()); base 81 apps/app_window.cc base::DictionaryValue* window_properties) { base 82 apps/app_window.cc scoped_ptr<base::DictionaryValue> bounds_properties( base 83 apps/app_window.cc new base::DictionaryValue()); base 365 apps/app_window.cc base::StringPrintf( base 382 apps/app_window.cc base::StringPrintf( base 518 apps/app_window.cc base::string16 AppWindow::GetTitle() const { base 522 apps/app_window.cc base::string16 title; base 525 apps/app_window.cc title = base::UTF8ToUTF16(extension()->name()); base 529 apps/app_window.cc const base::char16 kBadChars[] = {'\n', 0}; base 530 apps/app_window.cc base::RemoveChars(title, kBadChars, &title); base 550 apps/app_window.cc base::Bind(&AppWindow::DidDownloadFavicon, base 566 apps/app_window.cc base::Bind(&AppWindow::DidDownloadFavicon, base 700 apps/app_window.cc void AppWindow::GetSerializedState(base::DictionaryValue* properties) const { base 25 apps/app_window.h namespace base { base 274 apps/app_window.h base::string16 GetTitle() const; base 350 apps/app_window.h void GetSerializedState(base::DictionaryValue* properties) const; base 510 apps/app_window.h base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; base 79 apps/app_window_contents.cc base::ListValue args; base 80 apps/app_window_contents.cc base::DictionaryValue* dictionary = new base::DictionaryValue(); base 159 apps/app_window_contents.cc base::Bind(&content::ResourceDispatcherHost::BlockRequestsForRoute, base 160 apps/app_window_contents.cc base::Unretained(content::ResourceDispatcherHost::Get()), base 35 apps/app_window_geometry_cache.cc sync_delay_(base::TimeDelta::FromMilliseconds(kSyncTimeoutMilliseconds)) { base 67 apps/app_window_geometry_cache.cc base::Time now = base::Time::Now(); base 114 apps/app_window_geometry_cache.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 119 apps/app_window_geometry_cache.cc base::DictionaryValue* value = new base::DictionaryValue; base 135 apps/app_window_geometry_cache.cc "ts", base::Int64ToString(it->second.last_change.ToInternalValue())); base 222 apps/app_window_geometry_cache.cc sync_delay_ = base::TimeDelta::FromMilliseconds(timeout_ms); base 229 apps/app_window_geometry_cache.cc const base::DictionaryValue* stored_windows = base 234 apps/app_window_geometry_cache.cc for (base::DictionaryValue::Iterator it(*stored_windows); !it.IsAtEnd(); base 242 apps/app_window_geometry_cache.cc const base::DictionaryValue* stored_window; base 269 apps/app_window_geometry_cache.cc if (base::StringToInt64(ts_as_string, &ts)) { base 270 apps/app_window_geometry_cache.cc window_data.last_change = base::Time::FromInternalValue(ts); base 119 apps/app_window_geometry_cache.h base::Time last_change; base 144 apps/app_window_geometry_cache.h base::OneShotTimer<AppWindowGeometryCache> sync_timer_; base 147 apps/app_window_geometry_cache.h base::TimeDelta sync_delay_; base 49 apps/app_window_geometry_cache_unittest.cc base::MessageLoopForUI ui_message_loop_; base 61 apps/app_window_geometry_cache_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 62 apps/app_window_geometry_cache_unittest.cc base::DictionaryValue* value = new base::DictionaryValue; base 224 apps/app_window_geometry_cache_unittest.cc const base::DictionaryValue* dict = base 331 apps/app_window_geometry_cache_unittest.cc std::string window_id = "window_" + base::IntToString(i); base 340 apps/app_window_geometry_cache_unittest.cc std::string window_id = "window_" + base::IntToString(i); base 50 apps/app_window_registry.cc devtools_callback_(base::Bind(&AppWindowRegistry::OnDevToolsStateChanged, base 51 apps/app_window_registry.cc base::Unretained(this))) { base 142 apps/app_window_registry.h base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; base 31 apps/browser/api/app_runtime/app_runtime_api.cc scoped_ptr<base::DictionaryValue> launch_data, base 37 apps/browser/api/app_runtime/app_runtime_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 47 apps/browser/api/app_runtime/app_runtime_api.cc ->SetLastLaunchTime(extension_id, base::Time::Now()); base 55 apps/browser/api/app_runtime/app_runtime_api.cc scoped_ptr<base::DictionaryValue> launch_data(new base::DictionaryValue()); base 62 apps/browser/api/app_runtime/app_runtime_api.cc scoped_ptr<base::ListValue> arguments(new base::ListValue()); base 81 apps/browser/api/app_runtime/app_runtime_api.cc scoped_ptr<base::DictionaryValue> launch_data(new base::DictionaryValue); base 83 apps/browser/api/app_runtime/app_runtime_api.cc scoped_ptr<base::DictionaryValue> launch_item(new base::DictionaryValue); base 88 apps/browser/api/app_runtime/app_runtime_api.cc scoped_ptr<base::ListValue> items(new base::ListValue); base 69 apps/launcher.cc bool MakePathAbsolute(const base::FilePath& current_directory, base 70 apps/launcher.cc base::FilePath* file_path) { base 76 apps/launcher.cc *file_path = base::MakeAbsoluteFilePath(*file_path); base 88 apps/launcher.cc const base::FilePath& current_directory, base 89 apps/launcher.cc base::FilePath* path) { base 93 apps/launcher.cc base::FilePath relative_path(command_line.GetArgs()[0]); base 94 apps/launcher.cc base::FilePath absolute_path(relative_path); base 117 apps/launcher.cc : public base::RefCountedThreadSafe<PlatformAppPathLauncher> { base 121 apps/launcher.cc const base::FilePath& file_path) base 134 apps/launcher.cc std::vector<base::FilePath> paths; base 140 apps/launcher.cc base::Bind(&PlatformAppPathLauncher::OnFileValid, this), base 141 apps/launcher.cc base::Bind(&PlatformAppPathLauncher::OnFileInvalid, this)); base 169 apps/launcher.cc base::Bind(&PlatformAppPathLauncher::GetMimeTypeAndLaunch, this)); base 172 apps/launcher.cc void OnFileInvalid(const base::FilePath& /* error_path */) { base 180 apps/launcher.cc if (!base::PathExists(file_path_) || base 181 apps/launcher.cc base::DirectoryExists(file_path_)) { base 183 apps/launcher.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 192 apps/launcher.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 209 apps/launcher.cc base::Bind(&PlatformAppPathLauncher::OnGotDriveFile, this)); base 213 apps/launcher.cc const base::FilePath& file_path, base 268 apps/launcher.cc queue->AddPendingTask(profile_, extension_->id(), base::Bind( base 305 apps/launcher.cc const base::FilePath file_path_; base 317 apps/launcher.cc const base::FilePath& current_directory) { base 338 apps/launcher.cc base::FilePath path; base 350 apps/launcher.cc const base::FilePath& file_path) { base 363 apps/launcher.cc base::FilePath()); base 369 apps/launcher.cc const base::FilePath& file_path) { base 13 apps/launcher.h namespace base { base 30 apps/launcher.h const base::CommandLine& command_line, base 31 apps/launcher.h const base::FilePath& current_directory); base 37 apps/launcher.h const base::FilePath& file_path); base 50 apps/launcher.h const base::FilePath& file_path); base 45 apps/load_and_launch_browsertest.cc base::FilePath app_path = test_data_dir_ base 53 apps/load_and_launch_browsertest.cc base::ProcessHandle process; base 54 apps/load_and_launch_browsertest.cc base::LaunchProcess(new_cmdline, base::LaunchOptions(), &process); base 55 apps/load_and_launch_browsertest.cc ASSERT_NE(base::kNullProcessHandle, process); base 58 apps/load_and_launch_browsertest.cc ASSERT_TRUE(base::WaitForSingleProcess( base 82 apps/load_and_launch_browsertest.cc base::FilePath app_path = test_data_dir_ base 86 apps/load_and_launch_browsertest.cc base::FilePath test_file_path = test_data_dir_ base 96 apps/load_and_launch_browsertest.cc base::ProcessHandle process; base 97 apps/load_and_launch_browsertest.cc base::LaunchProcess(new_cmdline, base::LaunchOptions(), &process); base 98 apps/load_and_launch_browsertest.cc ASSERT_NE(base::kNullProcessHandle, process); base 101 apps/load_and_launch_browsertest.cc ASSERT_TRUE(base::WaitForSingleProcess( base 131 apps/load_and_launch_browsertest.cc base::FilePath app_path_; base 58 apps/saved_files_service.cc base::DictionaryValue* file_entries = update.Get(); base 63 apps/saved_files_service.cc base::DictionaryValue* file_entry_dict = new base::DictionaryValue(); base 77 apps/saved_files_service.cc base::DictionaryValue* file_entries = update.Get(); base 79 apps/saved_files_service.cc base::DictionaryValue* file_entry_dict = NULL; base 93 apps/saved_files_service.cc base::DictionaryValue* file_entries = update.Get(); base 110 apps/saved_files_service.cc const base::DictionaryValue* file_entries = NULL; base 114 apps/saved_files_service.cc for (base::DictionaryValue::Iterator it(*file_entries); !it.IsAtEnd(); base 116 apps/saved_files_service.cc const base::DictionaryValue* file_entry = NULL; base 119 apps/saved_files_service.cc const base::Value* path_value; base 122 apps/saved_files_service.cc base::FilePath file_path; base 143 apps/saved_files_service.cc const base::FilePath& path, base 157 apps/saved_files_service.cc const base::FilePath& file_path, base 177 apps/saved_files_service.cc base::hash_map<std::string, SavedFileEntry*> registered_file_entries_; base 178 apps/saved_files_service.cc STLValueDeleter<base::hash_map<std::string, SavedFileEntry*> > base 232 apps/saved_files_service.cc const base::FilePath& file_path, base 318 apps/saved_files_service.cc const base::FilePath& file_path, base 328 apps/saved_files_service.cc base::hash_map<std::string, SavedFileEntry*>::iterator it = base 370 apps/saved_files_service.cc base::hash_map<std::string, SavedFileEntry*>::const_iterator it = base 381 apps/saved_files_service.cc for (base::hash_map<std::string, SavedFileEntry*>::const_iterator it = base 39 apps/saved_files_service.h const base::FilePath& path, base 47 apps/saved_files_service.h base::FilePath path; base 72 apps/saved_files_service.h const base::FilePath& file_path, base 33 apps/saved_files_service_unittest.cc return base::IntToString(i) + ":filename.ext"; base 42 apps/saved_files_service_unittest.cc extension_ = env_.MakeExtension(*base::test::ParseJson( base 54 apps/saved_files_service_unittest.cc path_ = base::FilePath(FILE_PATH_LITERAL("filename.ext")); base 88 apps/saved_files_service_unittest.cc base::FilePath path_; base 151 apps/saved_files_service_unittest.cc extension_ = env_.MakeExtension(*base::test::ParseJson( base 26 apps/shell/app/shell_main_delegate.cc base::FilePath log_filename; base 27 apps/shell/app/shell_main_delegate.cc PathService::Get(base::DIR_EXE, &log_filename); base 90 apps/shell/app/shell_main_delegate.cc base::FilePath pak_dir; base 91 apps/shell/app/shell_main_delegate.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 11 apps/shell/browser/shell_app_window_api.cc using base::DictionaryValue; base 31 apps/shell/browser/shell_app_window_api.cc result->Set("viewId", new base::FundamentalValue(view_id)); base 32 apps/shell/browser/shell_app_window_api.cc result->Set("injectTitlebar", new base::FundamentalValue(false)); base 33 apps/shell/browser/shell_app_window_api.cc result->Set("id", new base::StringValue("app_shell")); base 117 apps/shell/browser/shell_browser_main_parts.cc base::FilePath app_dir(command_line->GetSwitchValueNative(kAppSwitch)); base 118 apps/shell/browser/shell_browser_main_parts.cc base::FilePath app_absolute_dir = base::MakeAbsoluteFilePath(app_dir); base 126 apps/shell/browser/shell_browser_main_parts.cc base::RunLoop run_loop; base 148 apps/shell/browser/shell_browser_main_parts.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 149 apps/shell/browser/shell_browser_main_parts.cc base::MessageLoop::QuitClosure()); base 119 apps/shell/browser/shell_content_browser_client.cc base::Bind(&extensions::InfoMap::RegisterExtensionProcess, base 141 apps/shell/browser/shell_content_browser_client.cc base::Bind(&extensions::InfoMap::UnregisterExtensionProcess, base 44 apps/shell/browser/shell_content_browser_client.h virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, base 40 apps/shell/browser/shell_extension_system.cc bool ShellExtensionSystem::LoadAndLaunchApp(const base::FilePath& app_dir) { base 80 apps/shell/browser/shell_extension_system.cc scoped_ptr<base::DictionaryValue> launch_data(new base::DictionaryValue()); base 82 apps/shell/browser/shell_extension_system.cc scoped_ptr<base::ListValue> event_args(new base::ListValue()); base 176 apps/shell/browser/shell_extension_system.cc base::Bind(&InfoMap::AddExtension, info_map(), base 177 apps/shell/browser/shell_extension_system.cc make_scoped_refptr(extension), base::Time::Now(), base 16 apps/shell/browser/shell_extension_system.h namespace base { base 41 apps/shell/browser/shell_extension_system.h bool LoadAndLaunchApp(const base::FilePath& app_dir); base 87 apps/shell/browser/shell_extensions_browser_client.cc base::PrefServiceFactory factory; base 108 apps/shell/browser/shell_extensions_browser_client.cc const base::CommandLine& command_line, base 219 apps/shell/browser/shell_extensions_browser_client.cc if (base::CommandLine::ForCurrentProcess()->HasSwitch(kNewAppWindow)) base 27 apps/shell/browser/shell_extensions_browser_client.h virtual bool AreExtensionsDisabled(const base::CommandLine& command_line, base 35 apps/shell/common/shell_content_client.cc base::string16 ShellContentClient::GetLocalizedString(int message_id) const { base 39 apps/shell/common/shell_content_client.cc base::StringPiece ShellContentClient::GetDataResource( base 46 apps/shell/common/shell_content_client.cc base::RefCountedStaticMemory* ShellContentClient::GetDataResourceBytes( base 22 apps/shell/common/shell_content_client.h virtual base::string16 GetLocalizedString(int message_id) const OVERRIDE; base 23 apps/shell/common/shell_content_client.h virtual base::StringPiece GetDataResource( base 26 apps/shell/common/shell_content_client.h virtual base::RefCountedStaticMemory* GetDataResourceBytes( base 48 apps/shell/common/shell_extensions_client.cc virtual std::vector<base::string16> GetWarningMessages( base 51 apps/shell/common/shell_extensions_client.cc return std::vector<base::string16>(); base 54 apps/shell/common/shell_extensions_client.cc virtual std::vector<base::string16> GetWarningMessagesDetails( base 57 apps/shell/common/shell_extensions_client.cc return std::vector<base::string16>(); base 163 apps/shell/common/shell_extensions_client.cc base::StringPiece ShellExtensionsClient::GetAPISchema( base 41 apps/shell/common/shell_extensions_client.h virtual base::StringPiece GetAPISchema(const std::string& name) const base 35 apps/test/app_shell_test.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 47 apps/test/app_shell_test.cc bool AppShellTest::LoadAndLaunchApp(const base::FilePath& app_dir) { base 12 apps/test/app_shell_test.h namespace base { base 37 apps/test/app_shell_test.h bool LoadAndLaunchApp(const base::FilePath& app_dir); base 13 apps/test/apps_test_launcher_delegate.cc return base::TestSuite(argc, argv).Run(); base 17 apps/test/apps_test_launcher_delegate.cc base::CommandLine* command_line, base 18 apps/test/apps_test_launcher_delegate.cc const base::FilePath& temp_data_dir) { base 16 apps/test/apps_test_launcher_delegate.h base::CommandLine* command_line, base 17 apps/test/apps_test_launcher_delegate.h const base::FilePath& temp_data_dir) OVERRIDE; base 12 apps/test/apps_tests_main.cc int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); base 201 apps/ui/views/native_app_window_views.cc base::string16 NativeAppWindowViews::GetWindowTitle() const { base 99 apps/ui/views/native_app_window_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 40 ash/accelerators/accelerator_commands.cc base::RecordAction(base::UserMetricsAction("Accel_Toggle_Maximized")); base 83 ash/accelerators/accelerator_controller.cc using base::UserMetricsAction; base 96 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Accessible_Focus_Previous")); base 98 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Accessible_Focus_Next")); base 127 ash/accelerators/accelerator_controller.cc base::RecordAction(base::UserMetricsAction("Accel_PrevWindow_Tab")); base 136 ash/accelerators/accelerator_controller.cc base::RecordAction(base::UserMetricsAction("Accel_NextWindow_Tab")); base 144 ash/accelerators/accelerator_controller.cc base::RecordAction(base::UserMetricsAction("Accel_Overview_F5")); base 151 ash/accelerators/accelerator_controller.cc base::RecordAction(base::UserMetricsAction("Accel_Focus_Launcher")); base 157 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Launch_App")); base 163 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Launch_Last_App")); base 208 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_New_Incognito_Window")); base 219 ash/accelerators/accelerator_controller.cc base::RecordAction(base::UserMetricsAction("Accel_NewTab_T")); base 225 ash/accelerators/accelerator_controller.cc base::RecordAction(base::UserMetricsAction("Accel_New_Window")); base 251 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Next_Ime")); base 258 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Open_Feedback_Page")); base 264 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Window_Position_Center")); base 276 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Previous_Ime")); base 283 ash/accelerators/accelerator_controller.cc base::RecordAction(base::UserMetricsAction("Accel_Restore_Tab")); base 293 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Focus_Next_Pane")); base 298 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Focus_Previous_Pane")); base 308 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Rotate_Window")); base 341 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Rotate_Window")); base 357 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Scale_Ui_Reset")); base 370 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Scale_Ui_Up")); base 372 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Scale_Ui_Down")); base 383 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Swap_Primary_Display")); base 390 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Show_Keyboard_Overlay")); base 397 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Show_Message_Center_Bubble")); base 411 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Show_System_Tray_Bubble")); base 422 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Show_Task_Manager")); base 429 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Silence_Spoken_Feedback")); base 441 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Switch_Ime")); base 448 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Take_Partial_Screenshot")); base 459 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Take_Screenshot")); base 480 ash/accelerators/accelerator_controller.cc base::RecordAction(base::UserMetricsAction("Accel_Search_LWin")); base 494 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Fullscreen_F4")); base 516 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Window_Snap_Left")); base 518 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Window_Snap_Right")); base 527 ash/accelerators/accelerator_controller.cc base::RecordAction( base 528 ash/accelerators/accelerator_controller.cc base::UserMetricsAction("Accel_Toggle_Minimized_Minus")); base 534 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Add_Remove_Display")); base 540 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Open_Crosh")); base 547 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Open_File_Manager")); base 554 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_LockScreen_L")); base 570 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Switch_To_Next_User")); base 573 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Switch_To_Previous_User")); base 581 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Toggle_Mirror_Mode")); base 587 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Toggle_Spoken_Feedback")); base 627 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Touch_Hud_Clear")); base 644 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Disable_Caps_Lock")); base 668 ash/accelerators/accelerator_controller.cc base::RecordAction(UserMetricsAction("Accel_Toggle_Caps_Lock")); base 1112 ash/accelerators/accelerator_controller.cc if (!base::SysInfo::IsRunningOnChromeOS()) { base 1116 ash/accelerators/accelerator_controller.cc OnPowerButtonEvent(action == POWER_PRESSED, base::TimeTicks()); base 1127 ash/accelerators/accelerator_controller.cc OnLockButtonEvent(action == LOCK_PRESSED, base::TimeTicks()); base 143 ash/accelerators/accelerator_controller_unittest.cc const base::Callback<void(double)>& callback) OVERRIDE { base 38 ash/accelerators/accelerator_dispatcher.cc bool IsKeyEvent(const base::NativeEvent& native_event) { base 64 ash/accelerators/accelerator_dispatcher.cc base::MessagePumpDispatcher* nested_dispatcher) base 71 ash/accelerators/accelerator_dispatcher.cc uint32_t AcceleratorDispatcher::Dispatch(const base::NativeEvent& event) { base 21 ash/accelerators/accelerator_dispatcher.h class ASH_EXPORT AcceleratorDispatcher : public base::MessagePumpDispatcher { base 23 ash/accelerators/accelerator_dispatcher.h explicit AcceleratorDispatcher(base::MessagePumpDispatcher* dispatcher); base 27 ash/accelerators/accelerator_dispatcher.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 30 ash/accelerators/accelerator_dispatcher.h base::MessagePumpDispatcher* nested_dispatcher_; base 49 ash/accelerators/exit_warning_handler.cc const base::string16& text, base 103 ash/accelerators/exit_warning_handler.cc base::string16 text_; base 104 ash/accelerators/exit_warning_handler.cc base::string16 accessible_name_; base 160 ash/accelerators/exit_warning_handler.cc base::TimeDelta::FromMilliseconds(kTimeOutMilliseconds), base 76 ash/accelerators/exit_warning_handler.h base::OneShotTimer<ExitWarningHandler> timer_; base 42 ash/accelerators/key_hold_detector.cc base::MessageLoopForUI::current()->PostTask( base 44 ash/accelerators/key_hold_detector.cc base::Bind(&DispatchPressedEvent, xkey, base::Passed(&tracker))); base 21 ash/accelerators/nested_dispatcher_controller.cc base::MessagePumpDispatcher* nested_dispatcher) { base 22 ash/accelerators/nested_dispatcher_controller.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 23 ash/accelerators/nested_dispatcher_controller.cc base::MessageLoopForUI::ScopedNestableTaskAllower allow_nested(loop); base 29 ash/accelerators/nested_dispatcher_controller.cc base::RunLoop run_loop(&dispatcher); base 30 ash/accelerators/nested_dispatcher_controller.cc base::AutoReset<base::Closure> reset_closure(&quit_closure_, base 27 ash/accelerators/nested_dispatcher_controller.h base::MessagePumpDispatcher* dispatcher) OVERRIDE; base 31 ash/accelerators/nested_dispatcher_controller.h base::Closure quit_closure_; base 31 ash/accelerators/nested_dispatcher_controller_unittest.cc class MockDispatcher : public base::MessagePumpDispatcher { base 38 ash/accelerators/nested_dispatcher_controller_unittest.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE { base 93 ash/accelerators/nested_dispatcher_controller_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 94 ash/accelerators/nested_dispatcher_controller_unittest.cc base::MessageLoop::current()->QuitClosure()); base 19 ash/accelerometer/accelerometer_controller.cc scoped_refptr<base::TaskRunner> blocking_task_runner) { base 35 ash/accelerometer/accelerometer_controller.cc const gfx::Vector3dF& base, base 38 ash/accelerometer/accelerometer_controller.cc OnAccelerometerUpdated(base, lid)); base 17 ash/accelerometer/accelerometer_controller.h namespace base { base 43 ash/accelerometer/accelerometer_controller.h void Initialize(scoped_refptr<base::TaskRunner> blocking_task_runner); base 53 ash/accelerometer/accelerometer_controller.h virtual void HandleAccelerometerReading(const gfx::Vector3dF& base, base 17 ash/accelerometer/accelerometer_observer.h virtual void OnAccelerometerUpdated(const gfx::Vector3dF& base, base 95 ash/accessibility_delegate.h virtual base::TimeDelta PlayShutdownSound() const = 0; base 70 ash/autoclick/autoclick_controller.cc scoped_ptr<base::Timer> autoclick_timer_; base 117 ash/autoclick/autoclick_controller.cc autoclick_timer_.reset(new base::Timer( base 119 ash/autoclick/autoclick_controller.cc base::TimeDelta::FromMilliseconds(delay_ms_), base 120 ash/autoclick/autoclick_controller.cc base::Bind(&AutoclickControllerImpl::DoAutoclick, base 121 ash/autoclick/autoclick_controller.cc base::Unretained(this)), base 277 ash/autoclick/autoclick_unittest.cc base::TimeDelta::FromMilliseconds(200), base 285 ash/autoclick/autoclick_unittest.cc gfx::Point(100, 100), base::TimeDelta::FromMilliseconds(200), base 113 ash/default_accessibility_delegate.cc base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const { base 114 ash/default_accessibility_delegate.cc return base::TimeDelta(); base 42 ash/default_accessibility_delegate.h virtual base::TimeDelta PlayShutdownSound() const OVERRIDE; base 57 ash/desktop_background/desktop_background_controller.cc : public base::RefCountedThreadSafe< base 62 ash/desktop_background/desktop_background_controller.cc WallpaperLoader(const base::FilePath& file_path, base 95 ash/desktop_background/desktop_background_controller.cc const base::FilePath& file_path() const { return file_path_; } base 118 ash/desktop_background/desktop_background_controller.cc const base::FilePath& path) { base 120 ash/desktop_background/desktop_background_controller.cc if (!base::ReadFileToString(path, &data)) { base 134 ash/desktop_background/desktop_background_controller.cc base::CancellationFlag cancel_flag_; base 142 ash/desktop_background/desktop_background_controller.cc base::FilePath file_path_; base 215 ash/desktop_background/desktop_background_controller.cc base::FilePath file_path; base 242 ash/desktop_background/desktop_background_controller.cc base::WorkerPool::PostTaskAndReply( base 244 ash/desktop_background/desktop_background_controller.cc base::Bind(&WallpaperLoader::LoadOnWorkerPoolThread, base 246 ash/desktop_background/desktop_background_controller.cc base::Bind(&DesktopBackgroundController::OnDefaultWallpaperLoadCompleted, base 269 ash/desktop_background/desktop_background_controller.cc current_default_wallpaper_path_ = base::FilePath(); base 323 ash/desktop_background/desktop_background_controller.cc base::TimeDelta::FromMilliseconds(wallpaper_reload_delay_), base 331 ash/desktop_background/desktop_background_controller.cc const base::FilePath& image_file, base 446 ash/desktop_background/desktop_background_controller.cc current_default_wallpaper_path_ = base::FilePath(); base 26 ash/desktop_background/desktop_background_controller.h namespace base { base 86 ash/desktop_background/desktop_background_controller.h void set_command_line_for_testing(base::CommandLine* command_line) { base 148 ash/desktop_background/desktop_background_controller.h const base::FilePath& image_file, int image_resource_id) const; base 194 ash/desktop_background/desktop_background_controller.h base::CommandLine* command_line_for_testing_; base 211 ash/desktop_background/desktop_background_controller.h base::FilePath current_default_wallpaper_path_; base 219 ash/desktop_background/desktop_background_controller.h base::WeakPtrFactory<DesktopBackgroundController> weak_ptr_factory_; base 221 ash/desktop_background/desktop_background_controller.h base::OneShotTimer<DesktopBackgroundController> timer_; base 68 ash/desktop_background/desktop_background_controller_unittest.cc base::MessageLoop::current()->Run(); base 73 ash/desktop_background/desktop_background_controller_unittest.cc base::MessageLoop::current()->Quit(); base 94 ash/desktop_background/desktop_background_controller_unittest.cc base::TimeTicks step_time = controller.animator()->last_step_time(); base 95 ash/desktop_background/desktop_background_controller_unittest.cc element->Step(step_time + base::TimeDelta::FromMilliseconds(1000)); base 199 ash/desktop_background/desktop_background_controller_unittest.cc bool WriteJPEGFile(const base::FilePath& path, base 218 ash/desktop_background/desktop_background_controller_unittest.cc size_t bytes_written = base::WriteFile( base 234 ash/desktop_background/desktop_background_controller_unittest.cc wallpaper_dir_.reset(new base::ScopedTempDir); base 237 ash/desktop_background/desktop_background_controller_unittest.cc const base::FilePath kLargePath = base 244 ash/desktop_background/desktop_background_controller_unittest.cc const base::FilePath kSmallPath = base 251 ash/desktop_background/desktop_background_controller_unittest.cc const base::FilePath kLargeGuestPath = base 258 ash/desktop_background/desktop_background_controller_unittest.cc const base::FilePath kSmallGuestPath = base 274 ash/desktop_background/desktop_background_controller_unittest.cc scoped_ptr<base::ScopedTempDir> wallpaper_dir_; base 214 ash/desktop_background/desktop_background_view.cc base::TimeDelta::FromMilliseconds(duration_override)); base 118 ash/desktop_background/desktop_background_widget_controller.cc settings.SetTransitionDuration(base::TimeDelta()); base 133 ash/desktop_background/wallpaper_resizer.cc base::Bind(&Resize, *image_.bitmap(), target_size_, base 135 ash/desktop_background/wallpaper_resizer.cc base::Bind(&WallpaperResizer::OnResizeFinished, base 137 ash/desktop_background/wallpaper_resizer.cc base::Owned(resized_bitmap)))) { base 70 ash/desktop_background/wallpaper_resizer.h base::WeakPtrFactory<WallpaperResizer> weak_ptr_factory_; base 88 ash/desktop_background/wallpaper_resizer_unittest.cc base::MessageLoop message_loop_; base 127 ash/display/display_controller.cc base::TimeDelta::FromMicroseconds( base 128 ash/display/display_controller.cc base::Time::kMicrosecondsPerSecond / mode.refresh_rate)); base 204 ash/display/display_controller.cc : throttle_timeout_(base::Time::Now()) { base 210 ash/display/display_controller.cc base::Time::Now() + base::TimeDelta::FromMilliseconds(throttle_ms); base 214 ash/display/display_controller.cc return base::Time::Now() < throttle_timeout_; base 226 ash/display/display_controller.cc if (base::SysInfo::IsRunningOnChromeOS()) base 372 ash/display/display_controller.cc base::Bind(base::IgnoreResult(&DisplayManager::SetMirrorMode), base 373 ash/display/display_controller.cc base::Unretained(display_manager), base 390 ash/display/display_controller.cc animation->StartFadeOutAnimation(base::Bind( base 392 ash/display/display_controller.cc base::Unretained(this))); base 598 ash/display/display_controller.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, controller); base 691 ash/display/display_controller.cc host->window()->SetName(base::StringPrintf("RootWindow-%d", host_count++)); base 706 ash/display/display_controller.cc if (base::SysInfo::IsRunningOnChromeOS() || force_constrain_pointer_to_root) base 29 ash/display/display_controller.h namespace base { base 189 ash/display/display_controller.h base::Time throttle_timeout_; base 1241 ash/display/display_controller_unittest.cc base::TimeDelta::FromMilliseconds(100), base 48 ash/display/display_error_observer_chromeos.cc base::string16(), // message base 50 ash/display/display_error_observer_chromeos.cc base::string16(), // display_source base 59 ash/display/display_error_observer_chromeos.cc base::string16 DisplayErrorObserver:: base 69 ash/display/display_error_observer_chromeos.cc return base::string16(); base 30 ash/display/display_error_observer_chromeos.h base::string16 GetTitleOfDisplayErrorNotificationForTest(); base 34 ash/display/display_error_observer_chromeos_unittest.cc base::string16 GetMessageContents() { base 60 ash/display/display_error_observer_chromeos_unittest.cc base::string16 message = GetMessageContents(); base 64 ash/display/display_error_observer_chromeos_unittest.cc base::string16 message2 = GetMessageContents(); base 66 ash/display/display_info.cc if (base::StringToDouble(parts[1], &scale_in_double)) base 147 ash/display/display_info.cc id, base::StringPrintf("Display-%d", static_cast<int>(id)), has_overscan); base 272 ash/display/display_info.cc return base::StringPrintf( base 295 ash/display/display_info.cc base::StringAppendF(&display_modes_str, base 40 ash/display/display_layout.cc bool GetPositionFromString(const base::StringPiece& position, base 54 ash/display/display_layout.cc bool GetDisplayIdFromString(const base::StringPiece& position, int64* field) { base 55 ash/display/display_layout.cc return base::StringToInt64(position, field); base 113 ash/display/display_layout.cc bool DisplayLayout::ConvertFromValue(const base::Value& value, base 115 ash/display/display_layout.cc base::JSONValueConverter<DisplayLayout> converter; base 121 ash/display/display_layout.cc base::Value* value) { base 122 ash/display/display_layout.cc base::DictionaryValue* dict_value = NULL; base 130 ash/display/display_layout.cc dict_value->SetString(kPrimaryIdKey, base::Int64ToString(layout.primary_id)); base 136 ash/display/display_layout.cc return base::StringPrintf( base 143 ash/display/display_layout.cc base::JSONValueConverter<DisplayLayout>* converter) { base 15 ash/display/display_layout.h namespace base { base 45 ash/display/display_layout.h static bool ConvertFromValue(const base::Value& value, DisplayLayout* layout); base 46 ash/display/display_layout.h static bool ConvertToValue(const DisplayLayout& layout, base::Value* value); base 51 ash/display/display_layout.h base::JSONValueConverter<DisplayLayout>* converter); base 158 ash/display/display_manager.cc change_display_upon_host_resize_ = !base::SysInfo::IsRunningOnChromeOS(); base 197 ash/display/display_manager.cc if (base::SysInfo::IsRunningOnChromeOS()) base 229 ash/display/display_manager.cc base::SplitString(size_str, ',', &parts); base 457 ash/display/display_manager.cc if (base::SysInfo::IsRunningOnChromeOS()) base 517 ash/display/display_manager.cc if (!base::SysInfo::IsRunningOnChromeOS() || base 629 ash/display/display_manager.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 776 ash/display/display_manager.cc base::AutoReset<bool> resetter(&change_display_upon_host_resize_, false); base 808 ash/display/display_manager.cc if (!changed_display_indices.empty() && base::SysInfo::IsRunningOnChromeOS()) base 849 ash/display/display_manager.cc return base::StringPrintf("Display %d", static_cast<int>(id)); base 866 ash/display/display_manager.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 901 ash/display/display_manager.cc base::StringPrintf( base 31 ash/display/display_manager_unittest.cc using base::StringPrintf; base 36 ash/display/display_manager_unittest.cc return "x-" + base::Int64ToString(id); base 43 ash/display/display_pref_util.h const base::StringPiece& value, base 88 ash/display/mirror_window_controller.cc base::StringPrintf("MirrorRootWindow-%d", mirror_host_count++)); base 26 ash/display/mirror_window_controller_unittest.cc DisplayInfo info(id, base::StringPrintf("x-%d", static_cast<int>(id)), false); base 30 ash/display/output_configurator_animation.cc CallbackRunningObserver(base::Closure callback) base 45 ash/display/output_configurator_animation.cc base::MessageLoopForUI::current()->DeleteSoon(FROM_HERE, this); base 47 ash/display/output_configurator_animation.cc base::MessageLoopForUI::current()->PostTask(FROM_HERE, callback_); base 93 ash/display/output_configurator_animation.cc base::Closure callback_; base 108 ash/display/output_configurator_animation.cc base::Closure callback) { base 132 ash/display/output_configurator_animation.cc settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 143 ash/display/output_configurator_animation.cc timer_.reset(new base::OneShotTimer<OutputConfiguratorAnimation>()); base 145 ash/display/output_configurator_animation.cc base::TimeDelta::FromSeconds(kFadingTimeoutDurationInSeconds), base 156 ash/display/output_configurator_animation.cc base::Bind(&OutputConfiguratorAnimation::ClearHidingLayers, base 157 ash/display/output_configurator_animation.cc base::Unretained(this))); base 197 ash/display/output_configurator_animation.cc settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 37 ash/display/output_configurator_animation.h void StartFadeOutAnimation(base::Closure callback); base 57 ash/display/output_configurator_animation.h scoped_ptr<base::OneShotTimer<OutputConfiguratorAnimation> > timer_; base 107 ash/display/resolution_notification_controller.cc const base::Closure& accept_callback); base 124 ash/display/resolution_notification_controller.cc base::Closure accept_callback; base 132 ash/display/resolution_notification_controller.cc base::RepeatingTimer<ResolutionNotificationController> timer; base 142 ash/display/resolution_notification_controller.cc const base::Closure& accept_callback) base 173 ash/display/resolution_notification_controller.cc const base::Closure& accept_callback) { base 207 ash/display/resolution_notification_controller.cc base::string16 timeout_message; base 216 ash/display/resolution_notification_controller.cc base::TimeDelta::FromSeconds(change_info_->timeout_count))); base 223 ash/display/resolution_notification_controller.cc const base::string16 display_name = base::UTF8ToUTF16( base 226 ash/display/resolution_notification_controller.cc const base::string16 message = base 231 ash/display/resolution_notification_controller.cc base::UTF8ToUTF16(change_info_->new_resolution.ToString())) : base 235 ash/display/resolution_notification_controller.cc base::UTF8ToUTF16(change_info_->new_resolution.ToString()), base 236 ash/display/resolution_notification_controller.cc base::UTF8ToUTF16(change_info_->current_resolution.ToString())); base 245 ash/display/resolution_notification_controller.cc base::string16() /* display_source */, base 273 ash/display/resolution_notification_controller.cc base::Closure callback = change_info_->accept_callback; base 312 ash/display/resolution_notification_controller.cc base::TimeDelta::FromSeconds(1), base 46 ash/display/resolution_notification_controller.h const base::Closure& accept_callback); base 23 ash/display/resolution_notification_controller_unittest.cc base::string16 ExpectedNotificationMessage(int64 display_id, base 27 ash/display/resolution_notification_controller_unittest.cc base::UTF8ToUTF16( base 30 ash/display/resolution_notification_controller_unittest.cc base::UTF8ToUTF16(new_resolution.ToString())); base 33 ash/display/resolution_notification_controller_unittest.cc base::string16 ExpectedFallbackNotificationMessage( base 39 ash/display/resolution_notification_controller_unittest.cc base::UTF8ToUTF16( base 42 ash/display/resolution_notification_controller_unittest.cc base::UTF8ToUTF16(specified_resolution.ToString()), base 43 ash/display/resolution_notification_controller_unittest.cc base::UTF8ToUTF16(fallback_resolution.ToString())); base 72 ash/display/resolution_notification_controller_unittest.cc base::Bind(&ResolutionNotificationControllerTest::OnAccepted, base 73 ash/display/resolution_notification_controller_unittest.cc base::Unretained(this))); base 98 ash/display/resolution_notification_controller_unittest.cc static base::string16 GetNotificationMessage() { base 107 ash/display/resolution_notification_controller_unittest.cc return base::string16(); base 294 ash/display/root_window_transformers_unittest.cc base::TimeDelta::FromMilliseconds(100), base 50 ash/display/virtual_keyboard_window_controller.cc base::StringPrintf("VirtualKeyboardRootWindow-%d", base 228 ash/drag_drop/drag_drop_controller.cc base::RunLoop run_loop; base 230 ash/drag_drop/drag_drop_controller.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 231 ash/drag_drop/drag_drop_controller.cc base::MessageLoop::ScopedNestableTaskAllower allow_nested(loop); base 493 ash/drag_drop/drag_drop_controller.cc base::MessageLoopForUI::current()->PostTask( base 495 ash/drag_drop/drag_drop_controller.cc base::Bind(&DragDropController::ForwardPendingLongTap, base 120 ash/drag_drop/drag_drop_controller.h base::Closure quit_closure_; base 131 ash/drag_drop/drag_drop_controller.h base::WeakPtrFactory<DragDropController> weak_factory_; base 80 ash/drag_drop/drag_drop_controller_unittest.cc data->SetString(base::UTF8ToUTF16("I am being dragged")); base 144 ash/drag_drop/drag_drop_controller_unittest.cc Step(start_time() + base::TimeDelta::FromMilliseconds(duration_)); base 209 ash/drag_drop/drag_drop_controller_unittest.cc base::string16 drag_string_; base 364 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 394 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("I am being dragged"), base 410 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 457 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 484 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("I am being dragged"), base 523 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 549 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("I am being dragged"), base 581 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 618 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("I am being dragged"), base 635 ash/drag_drop/drag_drop_controller_unittest.cc scw.WriteText(base::ASCIIToUTF16(clip_str)); base 648 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::ASCIIToUTF16(data_str)); base 674 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 718 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 750 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("I am being dragged"), base 774 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 800 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("I am being dragged"), base 816 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 851 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("I am being dragged"), base 877 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 904 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("I am being dragged"), base 941 ash/drag_drop/drag_drop_controller_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("I am being dragged"), base 1005 ash/drag_drop/drag_drop_controller_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 36 ash/drag_drop/drag_drop_interactive_uitest.cc data->SetString(base::UTF8ToUTF16("test")); base 93 ash/drag_drop/drag_drop_interactive_uitest.cc base::MessageLoop::current()->Quit(); base 99 ash/drag_drop/drag_drop_interactive_uitest.cc base::Bind(&QuitLoop)); base 107 ash/drag_drop/drag_drop_interactive_uitest.cc base::Bind(&DragDropAcrossMultiDisplay_Step4)); base 113 ash/drag_drop/drag_drop_interactive_uitest.cc base::Bind(&DragDropAcrossMultiDisplay_Step3)); base 119 ash/drag_drop/drag_drop_interactive_uitest.cc base::Bind(&DragDropAcrossMultiDisplay_Step2)); base 134 ash/drag_drop/drag_drop_interactive_uitest.cc base::FilePath resources_pack_path; base 135 ash/drag_drop/drag_drop_interactive_uitest.cc PathService::Get(base::DIR_MODULE, &resources_pack_path); base 176 ash/drag_drop/drag_drop_interactive_uitest.cc 10, 10, base::Bind(&DragDropAcrossMultiDisplay_Step1)); base 178 ash/drag_drop/drag_drop_interactive_uitest.cc base::MessageLoop::current()->Run(); base 743 ash/extended_desktop_unittest.cc EXPECT_EQ("a", base::UTF16ToASCII(textfield->text())); base 749 ash/extended_desktop_unittest.cc EXPECT_EQ("ab", base::UTF16ToASCII(textfield->text())); base 756 ash/extended_desktop_unittest.cc EXPECT_EQ("abc", base::UTF16ToASCII(textfield->text())); base 766 ash/extended_desktop_unittest.cc EXPECT_EQ("abcd", base::UTF16ToASCII(textfield->text())); base 772 ash/extended_desktop_unittest.cc EXPECT_EQ("abcde", base::UTF16ToASCII(textfield->text())); base 146 ash/frame/caption_buttons/alternate_frame_size_button.cc base::TimeDelta::FromMilliseconds(set_buttons_to_snap_mode_delay_ms_), base 162 ash/frame/caption_buttons/alternate_frame_size_button.cc if (base::i18n::IsRTL()) { base 97 ash/frame/caption_buttons/alternate_frame_size_button.h base::OneShotTimer<AlternateFrameSizeButton> set_buttons_to_snap_mode_timer_; base 237 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc base::TimeDelta::FromMilliseconds(100), base 246 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc base::TimeDelta::FromMilliseconds(100), base 416 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 423 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc base::i18n::SetICUDefaultLocale(original_locale_); base 109 ash/frame/caption_buttons/bubble_contents_button_row.cc if (base::i18n::IsRTL()) { base 335 ash/frame/caption_buttons/frame_maximize_button.cc base::TimeDelta::FromMilliseconds(kUpdateDelayMS), base 160 ash/frame/caption_buttons/frame_maximize_button.h base::OneShotTimer<FrameMaximizeButton> update_timer_; base 282 ash/frame/caption_buttons/frame_maximize_button_unittest.cc base::TimeDelta::FromMilliseconds(100), base 299 ash/frame/caption_buttons/frame_maximize_button_unittest.cc base::TimeDelta::FromMilliseconds(100), base 315 ash/frame/caption_buttons/frame_maximize_button_unittest.cc base::TimeDelta::FromMilliseconds(100), base 503 ash/frame/caption_buttons/frame_maximize_button_unittest.cc press.time_stamp() + base::TimeDelta::FromMilliseconds(50)); base 727 ash/frame/caption_buttons/frame_maximize_button_unittest.cc base::TimeDelta::FromMilliseconds(0), 1); base 738 ash/frame/caption_buttons/frame_maximize_button_unittest.cc base::TimeDelta::FromMilliseconds(10), 1); base 759 ash/frame/caption_buttons/frame_maximize_button_unittest.cc base::TimeDelta::FromMilliseconds(0), base 761 ash/frame/caption_buttons/frame_maximize_button_unittest.cc base::Bind(&CancelCallbackHandler::CountedCancelCallback, base 762 ash/frame/caption_buttons/frame_maximize_button_unittest.cc base::Unretained(&cancel_handler))); base 24 ash/frame/caption_buttons/maximize_bubble_controller.cc base::OneShotTimer<MaximizeBubbleController>* new_timer = base 25 ash/frame/caption_buttons/maximize_bubble_controller.cc new base::OneShotTimer<MaximizeBubbleController>(); base 29 ash/frame/caption_buttons/maximize_bubble_controller.cc base::TimeDelta::FromMilliseconds( base 17 ash/frame/caption_buttons/maximize_bubble_controller.h namespace base { base 94 ash/frame/caption_buttons/maximize_bubble_controller.h scoped_ptr<base::Timer> timer_; base 20 ash/gpu_support.h typedef base::Callback<void(const std::list<base::ProcessHandle>&)> base 22 ash/host/window_tree_host_factory_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8 && base 177 ash/ime/candidate_view.cc base::string16 label = entry.label; base 179 ash/ime/candidate_view.cc label += base::ASCIIToUTF16("."); base 117 ash/ime/candidate_window_view.cc void SetText(const base::string16& text) { base 228 ash/ime/candidate_window_view.cc void CandidateWindowView::UpdatePreeditText(const base::string16& text) { base 338 ash/ime/candidate_window_view.cc auxiliary_text_->SetText(base::UTF8ToUTF16( base 64 ash/ime/candidate_window_view.h void UpdatePreeditText(const base::string16& text); base 55 ash/ime/candidate_window_view_unittest.cc entry.value = base::UTF8ToUTF16(base::StringPrintf( base 57 ash/ime/candidate_window_view_unittest.cc entry.label = base::UTF8ToUTF16(base::StringPrintf( base 106 ash/ime/candidate_window_view_unittest.cc EXPECT_EQ(shortcut, base::UTF16ToUTF8(row->shortcut_label_->text())); base 107 ash/ime/candidate_window_view_unittest.cc EXPECT_EQ(candidate, base::UTF16ToUTF8(row->candidate_label_->text())); base 108 ash/ime/candidate_window_view_unittest.cc EXPECT_EQ(annotation, base::UTF16ToUTF8(row->annotation_label_->text())); base 191 ash/ime/candidate_window_view_unittest.cc entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); base 192 ash/ime/candidate_window_view_unittest.cc entry.annotation = base::UTF8ToUTF16(kSampleAnnotation[i]); base 193 ash/ime/candidate_window_view_unittest.cc entry.description_title = base::UTF8ToUTF16(kSampleDescriptionTitle[i]); base 194 ash/ime/candidate_window_view_unittest.cc entry.description_body = base::UTF8ToUTF16(kSampleDescriptionBody[i]); base 195 ash/ime/candidate_window_view_unittest.cc entry.label = base::UTF8ToUTF16(kEmptyLabel); base 217 ash/ime/candidate_window_view_unittest.cc entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); base 218 ash/ime/candidate_window_view_unittest.cc entry.annotation = base::UTF8ToUTF16(kSampleAnnotation[i]); base 219 ash/ime/candidate_window_view_unittest.cc entry.description_title = base::UTF8ToUTF16(kSampleDescriptionTitle[i]); base 220 ash/ime/candidate_window_view_unittest.cc entry.description_body = base::UTF8ToUTF16(kSampleDescriptionBody[i]); base 221 ash/ime/candidate_window_view_unittest.cc entry.label = base::UTF8ToUTF16(kEmptyLabel); base 243 ash/ime/candidate_window_view_unittest.cc entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); base 244 ash/ime/candidate_window_view_unittest.cc entry.annotation = base::UTF8ToUTF16(kSampleAnnotation[i]); base 245 ash/ime/candidate_window_view_unittest.cc entry.description_title = base::UTF8ToUTF16(kSampleDescriptionTitle[i]); base 246 ash/ime/candidate_window_view_unittest.cc entry.description_body = base::UTF8ToUTF16(kSampleDescriptionBody[i]); base 247 ash/ime/candidate_window_view_unittest.cc entry.label = base::UTF8ToUTF16(kCustomizedLabel[i]); base 271 ash/ime/candidate_window_view_unittest.cc entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); base 272 ash/ime/candidate_window_view_unittest.cc entry.annotation = base::UTF8ToUTF16(kSampleAnnotation[i]); base 273 ash/ime/candidate_window_view_unittest.cc entry.description_title = base::UTF8ToUTF16(kSampleDescriptionTitle[i]); base 274 ash/ime/candidate_window_view_unittest.cc entry.description_body = base::UTF8ToUTF16(kSampleDescriptionBody[i]); base 275 ash/ime/candidate_window_view_unittest.cc entry.label = base::UTF8ToUTF16(kCustomizedLabel[i]); base 297 ash/ime/candidate_window_view_unittest.cc const base::string16 kSampleCandidate1 = base::UTF8ToUTF16( base 299 ash/ime/candidate_window_view_unittest.cc const base::string16 kSampleCandidate2 = base::UTF8ToUTF16( base 301 ash/ime/candidate_window_view_unittest.cc const base::string16 kSampleCandidate3 = base::UTF8ToUTF16("....."); base 303 ash/ime/candidate_window_view_unittest.cc const base::string16 kSampleShortcut1 = base::UTF8ToUTF16("1"); base 304 ash/ime/candidate_window_view_unittest.cc const base::string16 kSampleShortcut2 = base::UTF8ToUTF16("b"); base 305 ash/ime/candidate_window_view_unittest.cc const base::string16 kSampleShortcut3 = base::UTF8ToUTF16("C"); base 307 ash/ime/candidate_window_view_unittest.cc const base::string16 kSampleAnnotation1 = base::UTF8ToUTF16( base 309 ash/ime/candidate_window_view_unittest.cc const base::string16 kSampleAnnotation2 = base::UTF8ToUTF16( base 311 ash/ime/candidate_window_view_unittest.cc const base::string16 kSampleAnnotation3 = base::UTF8ToUTF16("......"); base 251 ash/ime/infolist_window.cc base::TimeDelta::FromMilliseconds(kInfolistShowDelayMilliSeconds), base 259 ash/ime/infolist_window.cc base::TimeDelta::FromMilliseconds(kInfolistHideDelayMilliSeconds), base 56 ash/ime/infolist_window.h base::OneShotTimer<views::Widget> show_hide_timer_; base 48 ash/ime/mode_indicator_view.cc const base::string16& label) base 66 ash/ime/mode_indicator_view.cc base::TimeDelta::FromMilliseconds(kShowingDuration), base 27 ash/ime/mode_indicator_view.h const base::string16& label); base 47 ash/ime/mode_indicator_view.h base::OneShotTimer<views::Widget> timer_; base 34 ash/keyboard_overlay/keyboard_overlay_delegate.cc public base::SupportsWeakPtr<PaintMessageHandler> { base 43 ash/keyboard_overlay/keyboard_overlay_delegate.cc void DidPaint(const base::ListValue* args); base 53 ash/keyboard_overlay/keyboard_overlay_delegate.cc base::Bind(&PaintMessageHandler::DidPaint, base::Unretained(this))); base 56 ash/keyboard_overlay/keyboard_overlay_delegate.cc void PaintMessageHandler::DidPaint(const base::ListValue* args) { base 65 ash/keyboard_overlay/keyboard_overlay_delegate.cc KeyboardOverlayDelegate::KeyboardOverlayDelegate(const base::string16& title, base 102 ash/keyboard_overlay/keyboard_overlay_delegate.cc base::string16 KeyboardOverlayDelegate::GetDialogTitle() const { base 26 ash/keyboard_overlay/keyboard_overlay_delegate.h KeyboardOverlayDelegate(const base::string16& title, const GURL& url); base 41 ash/keyboard_overlay/keyboard_overlay_delegate.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 54 ash/keyboard_overlay/keyboard_overlay_delegate.h base::string16 title_; base 40 ash/keyboard_overlay/keyboard_overlay_delegate_unittest.cc KeyboardOverlayDelegate delegate(base::ASCIIToUTF16("Title"), base 33 ash/keyboard_uma_event_filter.cc last_keystroke_time_ = base::TimeDelta(); base 42 ash/keyboard_uma_event_filter.cc base::TimeDelta delta = event->time_stamp() - last_keystroke_time_; base 43 ash/keyboard_uma_event_filter.cc if (delta < base::TimeDelta::FromSeconds(kKeystrokeThresholdInSeconds)) base 27 ash/keyboard_uma_event_filter.h base::TimeDelta last_keystroke_time_; base 269 ash/magnifier/magnification_controller.cc base::TimeDelta::FromMilliseconds(animate ? 100 : 0)); base 33 ash/magnifier/magnification_controller_unittest.cc UpdateDisplay(base::StringPrintf("%dx%d", kRootWidth, kRootHeight)); base 22 ash/metrics/user_metrics_recorder.cc base::TimeDelta::FromSeconds(kAshPeriodicMetricsTimeInSeconds), base 34 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 35 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Accel_KeyboardBrightnessDown_F6")); base 38 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 39 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Accel_KeyboardBrightnessUp_F7")); base 42 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 43 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Accel_LockScreen_LockButton")); base 46 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 47 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Accel_LockScreen_PowerButton")); base 50 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 51 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Accel_Maximize_Restore_F4")); base 54 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Accel_PrevWindow_F5")); base 57 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Accel_Exit_First_Q")); base 60 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Accel_Exit_Second_Q")); base 63 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 64 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Accel_ShutDown_PowerButton")); base 67 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("CloseFromContextMenu")); base 70 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("WindowDrag_MaximizeLeft")); base 73 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("WindowDrag_MaximizeRight")); base 76 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Gesture_Overview")); base 79 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Launcher_ClickOnApp")); base 82 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 83 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Launcher_ClickOnApplistButton")); base 86 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Mouse_Down")); base 89 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 90 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Panel_Minimize_Caption_Click")); base 93 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 94 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Panel_Minimize_Caption_Gesture")); base 97 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 98 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Shelf_AlignmentSetBottom")); base 101 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 102 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Shelf_AlignmentSetLeft")); base 105 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 106 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Shelf_AlignmentSetRight")); base 108 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 109 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Audio_CurrentInputDevice")); base 112 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 113 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Audio_CurrentOutputDevice")); base 116 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 117 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Audio_SwitchInputDevice")); base 120 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 121 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Audio_SwitchOutputDevice")); base 124 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 125 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_BrightnessChanged")); base 128 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 129 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Bluetooth_Connect_Known")); base 132 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 133 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Bluetooth_Connect_Unknown")); base 136 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 137 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Bluetooth_Disabled")); base 140 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 141 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Bluetooth_Enabled")); base 144 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 145 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_CapsLock_Detailed")); base 148 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 149 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_CapsLock_DisabledByClick")); base 152 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 153 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_CapsLock_EnabledByClick")); base 156 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 157 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_CapsLock_Popup")); base 160 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 161 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Network_ConnectConfigured")); base 164 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 165 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Network_ConnectUnconfigured")); base 168 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 169 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_VPN_ConnectToNetwork")); base 172 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 173 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Volume_ChangedMenu")); base 176 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 177 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Volume_ChangedPopup")); base 180 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 181 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Accessability_DetailedView")); base 184 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 185 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Audio_Detailed")); base 188 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 189 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Bluetooth_Detailed")); base 192 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 193 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Brightness_Detailed")); base 196 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 197 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Drive_Detailed")); base 200 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 201 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Network_Detailed")); base 204 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 205 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_VPN_Detailed")); base 208 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 209 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_AutoClickDisabled")); base 212 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 213 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_HighContrastDisabled")); base 216 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 217 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_LargeCursorDisabled")); base 220 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 221 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_MagnifierDisabled")); base 224 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 225 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_SpokenFeedbackDisabled")); base 228 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 229 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_VirtualKeyboardDisabled")); base 232 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 233 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Network_WifiDisabled")); base 236 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 237 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Drive_CancelOperation")); base 240 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 241 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Drive_Settings")); base 244 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 245 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_AutoClickEnabled")); base 248 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 249 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_HighContrastEnabled")); base 252 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 253 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_LargeCursorEnabled")); base 256 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 257 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_MagnifierEnabled")); base 260 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 261 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_SpokenFeedbackEnabled")); base 264 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 265 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_VirtualKeyboardEnabled")); base 268 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 269 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Network_WifiEnabled")); base 272 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 273 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_IME_Detailed")); base 276 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 277 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_IME_SwitchMode")); base 280 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 281 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_MenuOpened")); base 284 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 285 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Network_JoinOther")); base 288 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 289 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Network_Settings")); base 292 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 293 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_Network_ConnectionDetails")); base 296 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 297 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_VPN_ConnectionDetails")); base 300 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 301 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_SignOut")); base 304 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 305 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_VPN_JoinOther")); base 308 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 309 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("StatusArea_VPN_Settings")); base 312 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 313 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Caption_ClickTogglesMaximize")); base 316 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 317 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Caption_GestureTogglesMaximize")); base 320 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 321 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction( base 325 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 326 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("Touchpad_Gesture_Overview")); base 329 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Touchscreen_Down")); base 332 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Tray_Help")); base 335 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Tray_LockScreen")); base 338 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("Tray_ShutDown")); base 341 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("AppCloseButton_Clk")); base 344 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("CloseButton_Clk")); base 347 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("MaxButton_Clk_ExitFS")); base 350 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 351 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("MaxButton_Clk_Restore")); base 354 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 355 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("MaxButton_Clk_Maximize")); base 358 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("MinButton_Clk")); base 361 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("MaxButton_Maximize")); base 364 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("MaxButton_MaxLeft")); base 367 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("MaxButton_MaxRight")); base 370 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("MaxButton_Minimize")); base 373 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("MaxButton_Restore")); base 376 ash/metrics/user_metrics_recorder.cc base::RecordAction(base::UserMetricsAction("MaxButton_ShowBubble")); base 379 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 380 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("WindowSelector_Overview")); base 383 ash/metrics/user_metrics_recorder.cc base::RecordAction( base 384 ash/metrics/user_metrics_recorder.cc base::UserMetricsAction("WindowSelector_Selection")); base 131 ash/metrics/user_metrics_recorder.h base::RepeatingTimer<UserMetricsRecorder> timer_; base 45 ash/popup_message.cc MessageBubble(const base::string16& caption, base 46 ash/popup_message.cc const base::string16& message, base 66 ash/popup_message.cc PopupMessage::MessageBubble::MessageBubble(const base::string16& caption, base 67 ash/popup_message.cc const base::string16& message, base 183 ash/popup_message.cc PopupMessage::PopupMessage(const base::string16& caption, base 184 ash/popup_message.cc const base::string16& message, base 50 ash/popup_message.h PopupMessage(const base::string16& caption, base 51 ash/popup_message.h const base::string16& message, base 74 ash/popup_message.h base::string16 caption_; base 75 ash/popup_message.h base::string16 message_; base 419 ash/root_window_controller.cc base::TimeDelta::FromMilliseconds(kBootSplashScreenHideDurationMs)); base 21 ash/rotator/screen_rotation.cc base::TimeDelta GetTransitionDuration(int degrees) { base 23 ash/rotator/screen_rotation.cc return base::TimeDelta::FromMilliseconds(k360DegreeTransitionDurationMs); base 25 ash/rotator/screen_rotation.cc return base::TimeDelta::FromMilliseconds(k180DegreeTransitionDurationMs); base 27 ash/rotator/screen_rotation.cc return base::TimeDelta::FromMilliseconds(0); base 28 ash/rotator/screen_rotation.cc return base::TimeDelta::FromMilliseconds(k90DegreeTransitionDurationMs); base 76 ash/screensaver/screensaver_view.cc base::TerminationStatus status) { base 33 ash/screensaver/screensaver_view.h base::Callback<views::WebView*(content::BrowserContext*)> WebViewFactory; base 56 ash/screensaver/screensaver_view.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 94 ash/session_state_delegate.h virtual const base::string16 GetUserDisplayName( base 72 ash/session_state_delegate_stub.cc const base::string16 SessionStateDelegateStub::GetUserDisplayName( base 74 ash/session_state_delegate_stub.cc return base::UTF8ToUTF16("stub-user"); base 35 ash/session_state_delegate_stub.h virtual const base::string16 GetUserDisplayName( base 66 ash/shelf/app_list_button.cc base::TimeDelta::FromMilliseconds(kAnimationDurationInMs))); base 72 ash/shelf/app_list_button.cc base::TimeDelta::FromMilliseconds(kAnimationDurationInMs))); base 83 ash/shelf/app_list_button.cc base::TimeDelta::FromMilliseconds(kAnimationDurationInMs)); base 31 ash/shelf/app_list_shelf_item_delegate.cc base::string16 AppListShelfItemDelegate::GetTitle() { base 23 ash/shelf/app_list_shelf_item_delegate.h virtual base::string16 GetTitle() OVERRIDE; base 305 ash/shelf/shelf_button.cc base::TimeDelta::FromMilliseconds(kHopUpMS)); base 322 ash/shelf/shelf_button.cc base::TimeDelta::FromMilliseconds(kHopDownMS)); base 57 ash/shelf/shelf_button_host.h virtual base::string16 GetAccessibleName(const views::View* view) = 0; base 39 ash/shelf/shelf_item_delegate.h virtual base::string16 GetTitle() = 0; base 88 ash/shelf/shelf_item_types.h base::string16 title; base 372 ash/shelf/shelf_layout_manager.cc base::TimeDelta::FromMilliseconds(kAutoHideDelayMS), base 696 ash/shelf/shelf_layout_manager.cc base::AutoReset<bool> auto_reset_updating_bounds(&updating_bounds_, true); base 706 ash/shelf/shelf_layout_manager.cc base::TimeDelta::FromMilliseconds(duration)); base 711 ash/shelf/shelf_layout_manager.cc base::TimeDelta::FromMilliseconds(duration)); base 717 ash/shelf/shelf_layout_manager.cc shelf_animation_setter.SetTransitionDuration(base::TimeDelta()); base 718 ash/shelf/shelf_layout_manager.cc status_animation_setter.SetTransitionDuration(base::TimeDelta()); base 827 ash/shelf/shelf_layout_manager.cc gfx::Rect(base::i18n::IsRTL() ? 0 : shelf_width - status_size.width(), base 834 ash/shelf/shelf_layout_manager.cc gfx::Rect(base::i18n::IsRTL() ? 0 : shelf_width - status_size.width(), base 1194 ash/shelf/shelf_layout_manager.cc base::AutoReset<ShelfVisibilityState> state(&state_.visibility_state, base 367 ash/shelf/shelf_layout_manager.h base::OneShotTimer<ShelfLayoutManager> auto_hide_timer_; base 56 ash/shelf/shelf_layout_manager_unittest.cc element->Step(base::TimeTicks::Now() + base::TimeDelta::FromSeconds(1)); base 91 ash/shelf/shelf_layout_manager_unittest.cc base::MessageLoop::current()->Run(); base 120 ash/shelf/shelf_layout_manager_unittest.cc base::MessageLoop::current()->Quit(); base 271 ash/shelf/shelf_layout_manager_unittest.cc tray_view_->AddChildView(new views::Label(base::UTF8ToUTF16("Tray"))); base 278 ash/shelf/shelf_layout_manager_unittest.cc default_view_->AddChildView(new views::Label(base::UTF8ToUTF16("Default"))); base 286 ash/shelf/shelf_layout_manager_unittest.cc new views::Label(base::UTF8ToUTF16("Detailed"))); base 421 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 422 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 423 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 433 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 434 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 435 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 447 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 448 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 449 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 459 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 460 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 461 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 471 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), 5); base 481 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 482 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 483 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 503 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 504 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 505 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 517 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 518 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 519 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 536 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), base 557 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), base 570 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 571 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 572 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 594 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 595 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 596 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 606 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 607 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 608 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 626 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 627 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 628 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 647 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), kNumScrollSteps, base 648 ash/shelf/shelf_layout_manager_unittest.cc base::Bind(&ShelfDragCallback::ProcessScroll, base 649 ash/shelf/shelf_layout_manager_unittest.cc base::Unretained(&handler))); base 1703 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), 5); base 1734 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), 1); base 1744 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), 1); base 1775 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), 1); base 1785 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(500), 100); base 1796 ash/shelf/shelf_layout_manager_unittest.cc base::TimeDelta::FromMilliseconds(10), 1); base 65 ash/shelf/shelf_model_unittest.cc *result += base::StringPrintf(format.c_str(), count); base 55 ash/shelf/shelf_tooltip_manager.cc void SetText(const base::string16& text); base 111 ash/shelf/shelf_tooltip_manager.cc const base::string16& text) { base 163 ash/shelf/shelf_tooltip_manager.cc const base::string16& text) { base 181 ash/shelf/shelf_tooltip_manager.cc const base::string16& text) { base 331 ash/shelf/shelf_tooltip_manager.cc base::MessageLoopForUI::current()->PostTask( base 333 ash/shelf/shelf_tooltip_manager.cc base::Bind(&ShelfTooltipManager::Close, weak_factory_.GetWeakPtr())); base 344 ash/shelf/shelf_tooltip_manager.cc const base::string16& text) { base 368 ash/shelf/shelf_tooltip_manager.cc base::OneShotTimer<ShelfTooltipManager>* new_timer = base 369 ash/shelf/shelf_tooltip_manager.cc new base::OneShotTimer<ShelfTooltipManager>(); base 371 ash/shelf/shelf_tooltip_manager.cc base::TimeDelta::FromMilliseconds(delay_in_ms), base 19 ash/shelf/shelf_tooltip_manager.h namespace base { base 51 ash/shelf/shelf_tooltip_manager.h void ShowDelayed(views::View* anchor, const base::string16& text); base 54 ash/shelf/shelf_tooltip_manager.h void ShowImmediately(views::View* anchor, const base::string16& text); base 100 ash/shelf/shelf_tooltip_manager.h void CreateBubble(views::View* anchor, const base::string16& text); base 106 ash/shelf/shelf_tooltip_manager.h base::string16 text_; base 107 ash/shelf/shelf_tooltip_manager.h scoped_ptr<base::Timer> timer_; base 112 ash/shelf/shelf_tooltip_manager.h base::WeakPtrFactory<ShelfTooltipManager> weak_factory_; base 58 ash/shelf/shelf_tooltip_manager_unittest.cc tooltip_manager_->ShowDelayed(dummy_anchor_.get(), base::string16()); base 63 ash/shelf/shelf_tooltip_manager_unittest.cc tooltip_manager_->ShowImmediately(dummy_anchor_.get(), base::string16()); base 194 ash/shelf/shelf_tooltip_manager_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(), 0, base::TimeDelta()); base 211 ash/shelf/shelf_tooltip_manager_unittest.cc base::TimeDelta::FromMilliseconds(base::Time::Now().ToDoubleT() * 1000), base 396 ash/shelf/shelf_view.cc closing_event_time_(base::TimeDelta()), base 1547 ash/shelf/shelf_view.cc base::AutoReset<bool> cancelling_drag( base 1585 ash/shelf/shelf_view.cc base::AutoReset<bool> cancelling_drag( base 1767 ash/shelf/shelf_view.cc base::string16 ShelfView::GetAccessibleName(const views::View* view) { base 1771 ash/shelf/shelf_view.cc return base::string16(); base 1878 ash/shelf/shelf_view.cc base::AutoReset<ShelfID> reseter( base 1895 ash/shelf/shelf_view.cc closing_event_time_ = base::TimeDelta(); base 2006 ash/shelf/shelf_view.cc if (closing_event_time_ == base::TimeDelta()) base 2009 ash/shelf/shelf_view.cc base::TimeDelta delta = base 2010 ash/shelf/shelf_view.cc base::TimeDelta(event.time_stamp() - closing_event_time_); base 2011 ash/shelf/shelf_view.cc closing_event_time_ = base::TimeDelta(); base 284 ash/shelf/shelf_view.h virtual base::string16 GetAccessibleName(const views::View* view) OVERRIDE; base 397 ash/shelf/shelf_view.h base::TimeDelta closing_event_time_; base 216 ash/shelf/shelf_view_unittest.cc EXPECT_TRUE(base::StringToInt(app_id, &id)); base 223 ash/shelf/shelf_view_unittest.cc app_id_ = base::IntToString(id); base 242 ash/shelf/shelf_view_unittest.cc EXPECT_TRUE(base::StringToInt(app_id, &id)); base 605 ash/shelf/shelf_view_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 611 ash/shelf/shelf_view_unittest.cc base::i18n::SetICUDefaultLocale(original_locale_); base 616 ash/shelf/shelf_view_unittest.cc ASSERT_EQ(is_rtl_, base::i18n::IsRTL()); base 1492 ash/shelf/shelf_view_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1494 ash/shelf/shelf_view_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1496 ash/shelf/shelf_view_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 659 ash/shelf/shelf_widget.cc base::TimeDelta::FromMilliseconds(kTimeToSwitchBackgroundMs)); base 46 ash/shelf/shelf_window_watcher_item_delegate.cc base::string16 ShelfWindowWatcherItemDelegate::GetTitle() { base 29 ash/shelf/shelf_window_watcher_item_delegate.h virtual base::string16 GetTitle() OVERRIDE; base 796 ash/shell.cc if (!display_initialized && base::SysInfo::IsRunningOnChromeOS()) { base 976 ash/shell.cc base::Bind(&SystemTrayDelegate::SignOut, base 977 ash/shell.cc base::Unretained(system_tray_delegate_.get())))); base 1014 ash/shell.cc new base::WeakPtrFactory<DisplayManager>(display_manager_.get())); base 1018 ash/shell.cc base::MessageLoopForUI::current()->PostTask( base 1020 ash/shell.cc base::Bind(&DisplayManager::CreateMirrorWindowIfAny, base 690 ash/shell.h scoped_ptr<base::WeakPtrFactory<DisplayManager> > base 158 ash/shell/app_list.cc const base::string16& query) base 162 ash/shell/app_list.cc base::string16 title = base 163 ash/shell/app_list.cc base::UTF8ToUTF16(WindowTypeShelfItem::GetTitle(type_)); base 171 ash/shell/app_list.cc title = base::i18n::ToLower(title); base 173 ash/shell/app_list.cc while (match_start != base::string16::npos) { base 181 ash/shell/app_list.cc base::string16 details = base 182 ash/shell/app_list.cc base::UTF8ToUTF16(WindowTypeShelfItem::GetDetails(type_)); base 211 ash/shell/app_list.cc std::string id = base::StringPrintf("%d", i); base 219 ash/shell/app_list.cc const base::string16 icon_text = base::ASCIIToUTF16("ash"); base 235 ash/shell/app_list.cc search_box_model->SetHintText(base::ASCIIToUTF16("Type to search...")); base 243 ash/shell/app_list.cc virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE { base 263 ash/shell/app_list.cc const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE { base 264 ash/shell/app_list.cc callback.Run(base::FilePath()); base 281 ash/shell/app_list.cc virtual base::TimeDelta GetAutoLaunchTimeout() OVERRIDE { base 282 ash/shell/app_list.cc return base::TimeDelta(); base 289 ash/shell/app_list.cc base::string16 query; base 290 ash/shell/app_list.cc base::TrimWhitespace(model_->search_box()->text(), base::TRIM_ALL, &query); base 291 ash/shell/app_list.cc query = base::i18n::ToLower(query); base 301 ash/shell/app_list.cc base::string16 title = base 302 ash/shell/app_list.cc base::UTF8ToUTF16(WindowTypeShelfItem::GetTitle(type)); base 303 ash/shell/app_list.cc if (base::i18n::StringSearchIgnoringCaseAndAccents( base 349 ash/shell/app_list.cc const base::FilePath& profile_path) OVERRIDE { base 16 ash/shell/bubble.cc base::string16 label; base 34 ash/shell/bubble.cc base::string16 label_; base 39 ash/shell/bubble.cc config.label = base::ASCIIToUTF16("PointyBubble"); base 169 ash/shell/content_client/shell_browser_main_parts.cc base::MessageLoopForUI::current()->Run(); base 12 ash/shell/content_client/shell_browser_main_parts.h namespace base { base 30 ash/shell/lock_view.cc this, base::ASCIIToUTF16("Unlock"))) { base 46 ash/shell/lock_view.cc base::string16 text = base::ASCIIToUTF16("LOCKED!"); base 68 ash/shell/panel_window.cc base::string16 PanelWindow::GetWindowTitle() const { base 69 ash/shell/panel_window.cc return base::ASCIIToUTF16(name_); base 40 ash/shell/panel_window.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 35 ash/shell/shelf_delegate_impl.cc return base::EmptyString(); base 108 ash/shell/shell_delegate_impl.cc base::MessageLoopForUI::current()->Quit(); base 180 ash/shell/shell_delegate_impl.cc base::string16 ShellDelegateImpl::GetProductName() const { base 181 ash/shell/shell_delegate_impl.cc return base::string16(); base 66 ash/shell/shell_delegate_impl.h virtual base::string16 GetProductName() const OVERRIDE; base 16 ash/shell/shell_main_parts.cc base::i18n::InitializeICU(); base 65 ash/shell/toplevel_window.cc base::string16 ToplevelWindow::GetWindowTitle() const { base 66 ash/shell/toplevel_window.cc return base::ASCIIToUTF16("Examples: Toplevel Window"); base 36 ash/shell/toplevel_window.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 39 ash/shell/widgets.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 56 ash/shell/widgets.cc : button_(new views::LabelButton(NULL, base::ASCIIToUTF16("Button"))), base 58 ash/shell/widgets.cc new views::LabelButton(NULL, base::ASCIIToUTF16("Disabled button"))), base 59 ash/shell/widgets.cc checkbox_(new views::Checkbox(base::ASCIIToUTF16("Checkbox"))), base 61 ash/shell/widgets.cc base::ASCIIToUTF16("Checkbox disabled"))), base 63 ash/shell/widgets.cc base::ASCIIToUTF16("Checkbox checked"))), base 65 ash/shell/widgets.cc base::ASCIIToUTF16("Checkbox checked disabled"))), base 67 ash/shell/widgets.cc base::ASCIIToUTF16("Radio button"), 0)), base 69 ash/shell/widgets.cc base::ASCIIToUTF16("Radio button disabled"), 0)), base 71 ash/shell/widgets.cc base::ASCIIToUTF16("Radio button selected"), 0)), base 73 ash/shell/widgets.cc base::ASCIIToUTF16("Radio button selected disabled"), 1)) { base 124 ash/shell/widgets.cc base::string16 WidgetsWindow::GetWindowTitle() const { base 125 ash/shell/widgets.cc return base::ASCIIToUTF16("Examples: Widgets"); base 59 ash/shell/window_type_launcher.cc base::ASCIIToUTF16("Moar!"))) { base 97 ash/shell/window_type_launcher.cc virtual base::string16 GetWindowTitle() const OVERRIDE { base 98 ash/shell/window_type_launcher.cc return base::ASCIIToUTF16("Modal Window"); base 162 ash/shell/window_type_launcher.cc virtual base::string16 GetWindowTitle() const OVERRIDE { base 163 ash/shell/window_type_launcher.cc return base::ASCIIToUTF16("Non-Modal Transient"); base 205 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Create Window"))), base 207 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Create Panel"))), base 209 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Create Non-Resizable Window"))), base 211 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Create Pointy Bubble"))), base 213 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Lock Screen"))), base 215 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Show Example Widgets"))), base 217 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Open System Modal Window"))), base 219 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Open Window Modal Window"))), base 221 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Open Child Modal Window"))), base 223 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Open Non-Modal Transient Window"))), base 225 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Open Views Examples Window"))), base 227 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Show/Hide a Window"))), base 229 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Show the Screensaver [for 5 seconds]"))), base 231 ash/shell/window_type_launcher.cc this, base::ASCIIToUTF16("Show a web/app notification"))) { base 294 ash/shell/window_type_launcher.cc base::string16 WindowTypeLauncher::GetWindowTitle() const { base 295 ash/shell/window_type_launcher.cc return base::ASCIIToUTF16("Examples: Window Builder"); base 336 ash/shell/window_type_launcher.cc base::Bind(&ash::CloseScreensaver), base 337 ash/shell/window_type_launcher.cc base::TimeDelta::FromSeconds(5)); base 344 ash/shell/window_type_launcher.cc base::ASCIIToUTF16("Test Shell Web Notification"), base 345 ash/shell/window_type_launcher.cc base::ASCIIToUTF16("Notification message body."), base 347 ash/shell/window_type_launcher.cc base::ASCIIToUTF16("www.testshell.org"), base 383 ash/shell/window_type_launcher.cc base::ASCIIToUTF16("New Window"), base 386 ash/shell/window_type_launcher.cc base::ASCIIToUTF16("Toggle FullScreen"), base 46 ash/shell/window_type_launcher.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 34 ash/shell/window_watcher_shelf_item_delegate.cc base::string16 WindowWatcherShelfItemDelegate::GetTitle() { base 26 ash/shell/window_watcher_shelf_item_delegate.h virtual base::string16 GetTitle() OVERRIDE; base 154 ash/shell_delegate.h virtual base::string16 GetProductName() const = 0; base 104 ash/shell_unittest.cc virtual base::string16 GetWindowTitle() const OVERRIDE { base 105 ash/shell_unittest.cc return base::ASCIIToUTF16("Modal Window"); base 369 ash/shell_unittest.cc menu_model->AddItem(0, base::ASCIIToUTF16("Menu item")); base 378 ash/shell_unittest.cc base::MessageLoopForUI::current()->PostTask(FROM_HERE, base 379 ash/shell_unittest.cc base::Bind(&ShellTest::LockScreenAndVerifyMenuClosed, base 380 ash/shell_unittest.cc base::Unretained(this))); base 59 ash/sticky_keys/sticky_keys_overlay.cc const base::string16& text, base 72 ash/sticky_keys/sticky_keys_overlay.cc SetText(base::UTF8ToUTF16(key_name)); base 108 ash/sticky_keys/sticky_keys_overlay.cc const base::string16& text, base 263 ash/sticky_keys/sticky_keys_overlay.cc base::TimeDelta::FromMilliseconds(kSlideAnimationDurationMs)); base 80 ash/system/bluetooth/tray_bluetooth.cc const base::string16 label = base 284 ash/system/bluetooth/tray_bluetooth.cc HoverHighlightView* AddScrollListItem(const base::string16& text, base 324 ash/system/bluetooth/tray_bluetooth.cc base::string16* display_name) { base 338 ash/system/bluetooth/tray_bluetooth.cc base::string16 display_name; base 34 ash/system/brightness_control_delegate.h const base::Callback<void(double)>& callback) = 0; base 21 ash/system/chromeos/audio/audio_detailed_view.cc base::string16 GetAudioDeviceName(const chromeos::AudioDevice& device) { base 33 ash/system/chromeos/audio/audio_detailed_view.cc base::UTF8ToUTF16(device.display_name)); base 37 ash/system/chromeos/audio/audio_detailed_view.cc base::UTF8ToUTF16(device.display_name)); base 41 ash/system/chromeos/audio/audio_detailed_view.cc base::UTF8ToUTF16(device.display_name)); base 43 ash/system/chromeos/audio/audio_detailed_view.cc return base::UTF8ToUTF16(device.display_name); base 70 ash/system/chromeos/audio/audio_detailed_view.cc void AudioDetailedView::AddScrollListInfoItem(const base::string16& text) { base 81 ash/system/chromeos/audio/audio_detailed_view.cc if (base::i18n::IsRTL()) base 98 ash/system/chromeos/audio/audio_detailed_view.cc const base::string16& text, base 34 ash/system/chromeos/audio/audio_detailed_view.h void AddScrollListInfoItem(const base::string16& text); base 36 ash/system/chromeos/audio/audio_detailed_view.h HoverHighlightView* AddScrollListItem(const base::string16& text, base 150 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::Bind(&BluetoothNotificationController::OnGetAdapter, base 221 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16 message = l10n_util::GetStringFUTF16( base 223 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->GetName(), base::UTF8ToUTF16(pincode)); base 230 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16 message = l10n_util::GetStringFUTF16( base 232 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->GetName(), base::UTF8ToUTF16( base 233 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::StringPrintf("%06i", passkey))); base 245 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16 message = l10n_util::GetStringFUTF16( base 247 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->GetName(), base::UTF8ToUTF16( base 248 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::StringPrintf("%06i", passkey))); base 255 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16 message = l10n_util::GetStringFUTF16( base 295 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16() /* title */, base 298 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::UTF8ToUTF16(adapter_->GetName()), base 299 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::UTF8ToUTF16(adapter_->GetAddress())), base 301 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16() /* display source */, base 312 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc const base::string16& message, base 329 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16() /* title */, base 332 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16() /* display source */, base 357 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16() /* title */, base 361 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc base::string16() /* display source */, base 70 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h const base::string16& message, base 86 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h base::WeakPtrFactory<BluetoothNotificationController> weak_ptr_factory_; base 18 ash/system/chromeos/brightness/brightness_controller_chromeos.cc base::RecordAction( base 19 ash/system/chromeos/brightness/brightness_controller_chromeos.cc base::UserMetricsAction("Accel_BrightnessDown_F6")); base 29 ash/system/chromeos/brightness/brightness_controller_chromeos.cc base::RecordAction(base::UserMetricsAction("Accel_BrightnessUp_F7")); base 43 ash/system/chromeos/brightness/brightness_controller_chromeos.cc const base::Callback<void(double)>& callback) { base 30 ash/system/chromeos/brightness/brightness_controller_chromeos.h const base::Callback<void(double)>& callback) OVERRIDE; base 179 ash/system/chromeos/brightness/tray_brightness.cc base::MessageLoopForUI::current()->PostTask( base 181 ash/system/chromeos/brightness/tray_brightness.cc base::Bind(&TrayBrightness::GetInitialBrightness, base 200 ash/system/chromeos/brightness/tray_brightness.cc base::Bind(&TrayBrightness::HandleInitialBrightness, base 53 ash/system/chromeos/brightness/tray_brightness.h base::WeakPtrFactory<TrayBrightness> weak_ptr_factory_; base 29 ash/system/chromeos/enterprise/tray_enterprise.cc base::string16 message = Shell::GetInstance()->system_tray_delegate()-> base 29 ash/system/chromeos/label_tray_view.cc void LabelTrayView::SetMessage(const base::string16& message) { base 44 ash/system/chromeos/label_tray_view.cc const base::string16& message) const { base 22 ash/system/chromeos/label_tray_view.h void SetMessage(const base::string16& message); base 24 ash/system/chromeos/label_tray_view.h views::View* CreateChildView(const base::string16& message) const; base 28 ash/system/chromeos/label_tray_view.h base::string16 message_; base 38 ash/system/chromeos/managed/tray_locally_managed_user.cc base::string16 message = Shell::GetInstance()->system_tray_delegate()-> base 78 ash/system/chromeos/managed/tray_locally_managed_user.cc const base::string16& new_message) { base 83 ash/system/chromeos/managed/tray_locally_managed_user.cc base::string16() /* no title */, base 87 ash/system/chromeos/managed/tray_locally_managed_user.cc base::Closure() /* null callback */)); base 40 ash/system/chromeos/managed/tray_locally_managed_user.h void CreateOrUpdateNotification(const base::string16& new_message); base 141 ash/system/chromeos/network/network_connect.cc scoped_ptr<base::DictionaryValue> error_data) { base 220 ash/system/chromeos/network/network_connect.cc base::Bind(&OnConnectSucceeded, service_path), base 221 ash/system/chromeos/network/network_connect.cc base::Bind(&OnConnectFailed, service_path, parent_window), base 227 ash/system/chromeos/network/network_connect.cc scoped_ptr<base::DictionaryValue> error_data) { base 237 ash/system/chromeos/network/network_connect.cc scoped_ptr<base::DictionaryValue> error_data) { base 253 ash/system/chromeos/network/network_connect.cc void CallCreateConfiguration(base::DictionaryValue* properties, base 265 ash/system/chromeos/network/network_connect.cc base::Bind(&OnConfigureSucceeded, connect_on_configure), base 266 ash/system/chromeos/network/network_connect.cc base::Bind(&OnConfigureFailed)); base 272 ash/system/chromeos/network/network_connect.cc scoped_ptr<base::DictionaryValue> error_data) { base 278 ash/system/chromeos/network/network_connect.cc void SetPropertiesToClear(base::DictionaryValue* properties_to_set, base 281 ash/system/chromeos/network/network_connect.cc for (base::DictionaryValue::Iterator iter(*properties_to_set); base 304 ash/system/chromeos/network/network_connect.cc base::Bind(&CallConnectToNetwork, base 307 ash/system/chromeos/network/network_connect.cc base::Bind(&SetPropertiesFailed, "ClearProperties", service_path)); base 312 ash/system/chromeos/network/network_connect.cc scoped_ptr<base::DictionaryValue> properties_to_set) { base 318 ash/system/chromeos/network/network_connect.cc base::Bind(&ClearPropertiesAndConnect, base 321 ash/system/chromeos/network/network_connect.cc base::Bind(&SetPropertiesFailed, "SetProperties", service_path)); base 358 ash/system/chromeos/network/network_connect.cc base::StringPrintf("technology %s, target state: %s", base 434 ash/system/chromeos/network/network_connect.cc base::Bind(&OnActivateSucceeded, service_path), base 435 ash/system/chromeos/network/network_connect.cc base::Bind(&OnActivateFailed, service_path)); base 453 ash/system/chromeos/network/network_connect.cc base::UTF8ToUTF16(cellular->name())), base 457 ash/system/chromeos/network/network_connect.cc base::Bind(&ash::network_connect::ShowNetworkSettings, base 466 ash/system/chromeos/network/network_connect.cc const base::DictionaryValue& properties, base 470 ash/system/chromeos/network/network_connect.cc scoped_ptr<base::DictionaryValue> properties_to_set(properties.DeepCopy()); base 480 ash/system/chromeos/network/network_connect.cc base::Bind(&ConfigureSetProfileSucceeded, base 481 ash/system/chromeos/network/network_connect.cc service_path, base::Passed(&properties_to_set)), base 482 ash/system/chromeos/network/network_connect.cc base::Bind(&SetPropertiesFailed, base 486 ash/system/chromeos/network/network_connect.cc void CreateConfigurationAndConnect(base::DictionaryValue* properties, base 492 ash/system/chromeos/network/network_connect.cc void CreateConfiguration(base::DictionaryValue* properties, bool shared) { base 497 ash/system/chromeos/network/network_connect.cc base::string16 ErrorString(const std::string& error, base 500 ash/system/chromeos/network/network_connect.cc return base::string16(); base 576 ash/system/chromeos/network/network_connect.cc base::UTF8ToUTF16(error)); base 14 ash/system/chromeos/network/network_connect.h namespace base { base 54 ash/system/chromeos/network/network_connect.h const base::DictionaryValue& properties, base 60 ash/system/chromeos/network/network_connect.h ASH_EXPORT void CreateConfigurationAndConnect(base::DictionaryValue* properties, base 65 ash/system/chromeos/network/network_connect.h ASH_EXPORT void CreateConfiguration(base::DictionaryValue* properties, base 69 ash/system/chromeos/network/network_connect.h ASH_EXPORT base::string16 ErrorString(const std::string& error, base 721 ash/system/chromeos/network/network_icon.cc base::string16 GetLabelForNetwork(const chromeos::NetworkState* network, base 730 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); base 735 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); base 742 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); base 748 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); base 752 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); base 756 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); base 764 ash/system/chromeos/network/network_icon.cc return base::UTF8ToUTF16(network->name()); base 769 ash/system/chromeos/network/network_icon.cc static base::Time s_uninitialized_state_time; base 776 ash/system/chromeos/network/network_icon.cc s_uninitialized_state_time = base::Time::Now(); base 780 ash/system/chromeos/network/network_icon.cc s_uninitialized_state_time = base::Time::Now(); base 787 ash/system/chromeos/network/network_icon.cc base::TimeDelta dtime = base::Time::Now() - s_uninitialized_state_time; base 795 ash/system/chromeos/network/network_icon.cc base::string16* label, base 53 ash/system/chromeos/network/network_icon.h ASH_EXPORT base::string16 GetLabelForNetwork( base 65 ash/system/chromeos/network/network_icon.h base::string16* label, base 61 ash/system/chromeos/network/network_state_list_detailed_view.cc views::Label* CreateInfoBubbleLabel(const base::string16& text) { base 70 ash/system/chromeos/network/network_state_list_detailed_view.cc views::Label* CreateMenuInfoLabel(const base::string16& text) { base 83 ash/system/chromeos/network/network_state_list_detailed_view.cc views::View* CreateInfoBubbleLine(const base::string16& text_label, base 89 ash/system/chromeos/network/network_state_list_detailed_view.cc view->AddChildView(CreateInfoBubbleLabel(base::UTF8ToUTF16(": "))); base 90 ash/system/chromeos/network/network_state_list_detailed_view.cc view->AddChildView(CreateInfoBubbleLabel(base::UTF8ToUTF16(text_string))); base 107 ash/system/chromeos/network/network_state_list_detailed_view.cc base::string16 label; base 545 ash/system/chromeos/network/network_state_list_detailed_view.cc int index, const base::string16& text, views::Label** label) { base 622 ash/system/chromeos/network/network_state_list_detailed_view.cc base::string16 text = rb.GetLocalizedString(status_message_id); base 636 ash/system/chromeos/network/network_state_list_detailed_view.cc base::string16 text = rb.GetLocalizedString(message_id); base 647 ash/system/chromeos/network/network_state_list_detailed_view.cc base::string16 text = base 670 ash/system/chromeos/network/network_state_list_detailed_view.cc base::string16 text; base 835 ash/system/chromeos/network/network_state_list_detailed_view.cc base::MessageLoopForUI::current()->PostDelayedTask( base 837 ash/system/chromeos/network/network_state_list_detailed_view.cc base::Bind(&NetworkStateListDetailedView::CallRequestScan, AsWeakPtr()), base 838 ash/system/chromeos/network/network_state_list_detailed_view.cc base::TimeDelta::FromSeconds(kRequestScanDelaySeconds)); base 43 ash/system/chromeos/network/network_state_list_detailed_view.h public base::SupportsWeakPtr<NetworkStateListDetailedView> { base 94 ash/system/chromeos/network/network_state_list_detailed_view.h int index, const base::string16& text, views::Label** label); base 49 ash/system/chromeos/network/network_state_notifier.cc base::string16 GetConnectErrorString(const std::string& error_name) { base 64 ash/system/chromeos/network/network_state_notifier.cc return base::string16(); base 69 ash/system/chromeos/network/network_state_notifier.cc const base::string16& title, base 70 ash/system/chromeos/network/network_state_notifier.cc const base::string16& message, base 71 ash/system/chromeos/network/network_state_notifier.cc const base::Closure& callback) { base 156 ash/system/chromeos/network/network_state_notifier.cc base::TimeDelta dtime = base::Time::Now() - out_of_credits_notify_time_; base 158 ash/system/chromeos/network/network_state_notifier.cc out_of_credits_notify_time_ = base::Time::Now(); base 159 ash/system/chromeos/network/network_state_notifier.cc base::string16 error_msg = l10n_util::GetStringFUTF16( base 161 ash/system/chromeos/network/network_state_notifier.cc base::UTF8ToUTF16(cellular->name())); base 167 ash/system/chromeos/network/network_state_notifier.cc base::Bind(&network_connect::ShowNetworkSettings, cellular->path())); base 198 ash/system/chromeos/network/network_state_notifier.cc base::UTF8ToUTF16((cellular->name()))), base 201 ash/system/chromeos/network/network_state_notifier.cc base::Bind(&ash::network_connect::ShowNetworkSettings, base 209 ash/system/chromeos/network/network_state_notifier.cc base::DictionaryValue shill_properties; base 216 ash/system/chromeos/network/network_state_notifier.cc base::Bind(&NetworkStateNotifier::ConnectErrorPropertiesSucceeded, base 218 ash/system/chromeos/network/network_state_notifier.cc base::Bind(&NetworkStateNotifier::ConnectErrorPropertiesFailed, base 225 ash/system/chromeos/network/network_state_notifier.cc const base::DictionaryValue& shill_properties) { base 241 ash/system/chromeos/network/network_state_notifier.cc scoped_ptr<base::DictionaryValue> shill_error_data) { base 242 ash/system/chromeos/network/network_state_notifier.cc base::DictionaryValue shill_properties; base 249 ash/system/chromeos/network/network_state_notifier.cc const base::DictionaryValue& shill_properties) { base 250 ash/system/chromeos/network/network_state_notifier.cc base::string16 error = GetConnectErrorString(error_name); base 289 ash/system/chromeos/network/network_state_notifier.cc NET_LOG_ERROR("Notify connect error: " + base::UTF16ToUTF8(error), base 299 ash/system/chromeos/network/network_state_notifier.cc base::string16 error_msg; base 304 ash/system/chromeos/network/network_state_notifier.cc base::UTF8ToUTF16(network_name), base 306 ash/system/chromeos/network/network_state_notifier.cc base::UTF8ToUTF16(network_error_details)); base 312 ash/system/chromeos/network/network_state_notifier.cc base::UTF8ToUTF16(network_name), base 325 ash/system/chromeos/network/network_state_notifier.cc base::Bind(&network_connect::ShowNetworkSettings, service_path)); base 18 ash/system/chromeos/network/network_state_notifier.h namespace base { base 58 ash/system/chromeos/network/network_state_notifier.h const base::DictionaryValue& shill_properties); base 63 ash/system/chromeos/network/network_state_notifier.h scoped_ptr<base::DictionaryValue> shill_error_data); base 67 ash/system/chromeos/network/network_state_notifier.h const base::DictionaryValue& shill_properties); base 78 ash/system/chromeos/network/network_state_notifier.h base::Time out_of_credits_notify_time_; base 80 ash/system/chromeos/network/network_state_notifier.h base::WeakPtrFactory<NetworkStateNotifier> weak_ptr_factory_; base 81 ash/system/chromeos/network/network_state_notifier_unittest.cc base::StringValue(shill::kSecurityWep)); base 84 ash/system/chromeos/network/network_state_notifier_unittest.cc base::FundamentalValue(true)); base 87 ash/system/chromeos/network/network_state_notifier_unittest.cc base::StringValue("failure")); base 72 ash/system/chromeos/network/tray_network.cc base::string16 name; base 87 ash/system/chromeos/network/tray_network.cc base::UTF8ToUTF16(connected_network->name()), true); base 89 ash/system/chromeos/network/tray_network.cc UpdateConnectionStatus(base::string16(), false); base 114 ash/system/chromeos/network/tray_network.cc void UpdateConnectionStatus(const base::string16& network_name, base 116 ash/system/chromeos/network/tray_network.cc base::string16 new_connection_status_string; base 136 ash/system/chromeos/network/tray_network.cc base::string16 connection_status_string_; base 156 ash/system/chromeos/network/tray_network.cc base::string16 label; base 43 ash/system/chromeos/network/tray_sms.cc bool GetMessageFromDictionary(const base::DictionaryValue* message, base 70 ash/system/chromeos/network/tray_sms.cc base::string16 label = l10n_util::GetStringFUTF16( base 71 ash/system/chromeos/network/tray_sms.cc IDS_ASH_STATUS_TRAY_SMS_MESSAGES, base::IntToString16(message_count)); base 98 ash/system/chromeos/network/tray_sms.cc base::UTF8ToUTF16(number)), base 103 ash/system/chromeos/network/tray_sms.cc message_label_ = new views::Label(base::UTF8ToUTF16(message)); base 212 ash/system/chromeos/network/tray_sms.cc const base::ListValue& messages = base 216 ash/system/chromeos/network/tray_sms.cc const base::DictionaryValue* message = NULL; base 342 ash/system/chromeos/network/tray_sms.cc void TraySms::MessageReceived(const base::DictionaryValue& message) { base 367 ash/system/chromeos/network/tray_sms.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 379 ash/system/chromeos/network/tray_sms.cc base::DictionaryValue* message; base 32 ash/system/chromeos/network/tray_sms.h virtual void MessageReceived(const base::DictionaryValue& message) OVERRIDE; base 51 ash/system/chromeos/network/tray_sms.h base::ListValue& messages() { return messages_; } base 57 ash/system/chromeos/network/tray_sms.h base::ListValue messages_; base 55 ash/system/chromeos/network/tray_vpn.cc base::string16 label; base 74 ash/system/chromeos/network/tray_vpn.cc base::string16* label, base 57 ash/system/chromeos/power/power_event_observer.cc void PowerEventObserver::SystemResumed(const base::TimeDelta& sleep_duration) { base 71 ash/system/chromeos/power/power_event_observer.cc base::MessageLoop::current()->PostTask(FROM_HERE, screen_lock_callback_); base 29 ash/system/chromeos/power/power_event_observer.h virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE; base 40 ash/system/chromeos/power/power_event_observer.h base::Closure screen_lock_callback_; base 56 ash/system/chromeos/power/power_event_observer_unittest.cc observer_->SystemResumed(base::TimeDelta()); base 64 ash/system/chromeos/power/power_event_observer_unittest.cc observer_->SystemResumed(base::TimeDelta()); base 46 ash/system/chromeos/power/power_status.cc base::string16 GetBatteryTimeAccessibilityString(int hour, int min) { base 51 ash/system/chromeos/power/power_status.cc base::TimeDelta::FromHours(hour)); base 56 ash/system/chromeos/power/power_status.cc base::TimeDelta::FromMinutes(min)); base 62 ash/system/chromeos/power/power_status.cc base::TimeDelta::FromHours(hour)), base 65 ash/system/chromeos/power/power_status.cc base::TimeDelta::FromMinutes(min))); base 109 ash/system/chromeos/power/power_status.cc bool PowerStatus::ShouldDisplayBatteryTime(const base::TimeDelta& time) { base 110 ash/system/chromeos/power/power_status.cc return time >= base::TimeDelta::FromMinutes(1) && base 115 ash/system/chromeos/power/power_status.cc void PowerStatus::SplitTimeIntoHoursAndMinutes(const base::TimeDelta& time, base 122 ash/system/chromeos/power/power_status.cc (time - base::TimeDelta::FromHours(*hours)).InSecondsF(); base 174 ash/system/chromeos/power/power_status.cc base::TimeDelta PowerStatus::GetBatteryTimeToEmpty() const { base 175 ash/system/chromeos/power/power_status.cc return base::TimeDelta::FromSeconds(proto_.battery_time_to_empty_sec()); base 178 ash/system/chromeos/power/power_status.cc base::TimeDelta PowerStatus::GetBatteryTimeToFull() const { base 179 ash/system/chromeos/power/power_status.cc return base::TimeDelta::FromSeconds(proto_.battery_time_to_full_sec()); base 239 ash/system/chromeos/power/power_status.cc base::string16 PowerStatus::GetAccessibleNameString() const { base 246 ash/system/chromeos/power/power_status.cc base::string16 battery_percentage_accessible = l10n_util::GetStringFUTF16( base 250 ash/system/chromeos/power/power_status.cc base::IntToString16(GetRoundedBatteryPercent())); base 251 ash/system/chromeos/power/power_status.cc base::string16 battery_time_accessible = base::string16(); base 252 ash/system/chromeos/power/power_status.cc const base::TimeDelta time = IsBatteryCharging() ? GetBatteryTimeToFull() : base 265 ash/system/chromeos/power/power_status.cc base::string16 minute = min < 10 ? base 266 ash/system/chromeos/power/power_status.cc base::ASCIIToUTF16("0") + base::IntToString16(min) : base 267 ash/system/chromeos/power/power_status.cc base::IntToString16(min); base 277 ash/system/chromeos/power/power_status.cc battery_percentage_accessible + base::ASCIIToUTF16(". ") + base 61 ash/system/chromeos/power/power_status.h static bool ShouldDisplayBatteryTime(const base::TimeDelta& time); base 67 ash/system/chromeos/power/power_status.h static void SplitTimeIntoHoursAndMinutes(const base::TimeDelta& time, base 112 ash/system/chromeos/power/power_status.h base::TimeDelta GetBatteryTimeToEmpty() const; base 113 ash/system/chromeos/power/power_status.h base::TimeDelta GetBatteryTimeToFull() const; base 132 ash/system/chromeos/power/power_status.h base::string16 GetAccessibleNameString() const; base 59 ash/system/chromeos/power/power_status_unittest.cc base::MessageLoopForUI message_loop_; base 85 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(-1))); base 87 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(0))); base 89 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(59))); base 91 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(60))); base 93 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(600))); base 95 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(3600))); base 97 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds( base 100 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds( base 107 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(0), &hours, &minutes); base 112 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(60), &hours, &minutes); base 117 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(3600), &hours, &minutes); base 122 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(3600 + 60), &hours, &minutes); base 127 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(7 * 3600 + 23 * 60), &hours, &minutes); base 133 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(2 * 3600 + 3 * 60 + 30), &hours, &minutes); base 138 ash/system/chromeos/power/power_status_unittest.cc base::TimeDelta::FromSeconds(2 * 3600 + 3 * 60 + 29), &hours, &minutes); base 107 ash/system/chromeos/power/power_status_view.cc base::string16 battery_percentage; base 108 ash/system/chromeos/power/power_status_view.cc base::string16 battery_time_status; base 116 ash/system/chromeos/power/power_status_view.cc base::IntToString16(status.GetRoundedBatteryPercent())); base 124 ash/system/chromeos/power/power_status_view.cc base::TimeDelta time = status.IsBatteryCharging() ? base 130 ash/system/chromeos/power/power_status_view.cc base::string16 minute = min < 10 ? base 131 ash/system/chromeos/power/power_status_view.cc base::ASCIIToUTF16("0") + base::IntToString16(min) : base 132 ash/system/chromeos/power/power_status_view.cc base::IntToString16(min); base 138 ash/system/chromeos/power/power_status_view.cc base::IntToString16(hour), base 143 ash/system/chromeos/power/power_status_view.cc battery_percentage : battery_percentage + base::ASCIIToUTF16(" - "); base 161 ash/system/chromeos/power/power_status_view.cc base::IntToString16(status.GetRoundedBatteryPercent()))); base 164 ash/system/chromeos/power/power_status_view.cc const base::TimeDelta time = status.IsBatteryCharging() ? base 183 ash/system/chromeos/power/power_status_view.cc base::IntToString16(hour), base 184 ash/system/chromeos/power/power_status_view.cc base::IntToString16(min))); base 189 ash/system/chromeos/power/power_status_view.cc base::TimeDelta::FromMinutes(hour * 60 + min))); base 192 ash/system/chromeos/power/power_status_view.cc time_label_->SetText(base::string16()); base 68 ash/system/chromeos/power/power_status_view_unittest.cc base::string16 RemainingTimeInView() { base 86 ash/system/chromeos/power/power_status_view_unittest.cc base::string16 StatusInView() { base 90 ash/system/chromeos/power/power_status_view_unittest.cc base::string16 RemainingTimeInView() { base 182 ash/system/chromeos/power/power_status_view_unittest.cc base::TimeDelta::FromMinutes(2)), base 194 ash/system/chromeos/power/power_status_view_unittest.cc base::TimeDelta::FromMinutes(2)), base 81 ash/system/chromeos/power/tray_power.cc FROM_HERE, base::TimeDelta::FromSeconds( base 112 ash/system/chromeos/power/tray_power.cc FROM_HERE, base::TimeDelta::FromMinutes( base 121 ash/system/chromeos/power/tray_power.cc base::string16 accessible_name_; base 127 ash/system/chromeos/power/tray_power.cc base::RepeatingTimer<PowerTrayView> spring_charger_accessility_timer_; base 268 ash/system/chromeos/power/tray_power.cc base::string16(), base 54 ash/system/chromeos/power/user_activity_notifier.cc base::TimeTicks now = base::TimeTicks::Now(); base 32 ash/system/chromeos/power/user_activity_notifier.h base::TimeTicks last_notify_time_; base 35 ash/system/chromeos/power/video_activity_notifier.cc base::TimeTicks now = base::TimeTicks::Now(); base 32 ash/system/chromeos/power/video_activity_notifier.h base::TimeTicks last_notify_time_; base 17 ash/system/chromeos/screen_security/screen_capture_observer.h const base::Closure& stop_callback, base 18 ash/system/chromeos/screen_security/screen_capture_observer.h const base::string16& screen_capture_status) = 0; base 62 ash/system/chromeos/screen_security/screen_capture_tray_item.cc base::string16() /* body is blank */, base 64 ash/system/chromeos/screen_security/screen_capture_tray_item.cc base::string16() /* display_source */, base 79 ash/system/chromeos/screen_security/screen_capture_tray_item.cc const base::Closure& stop_callback, base 80 ash/system/chromeos/screen_security/screen_capture_tray_item.cc const base::string16& screen_capture_status) { base 34 ash/system/chromeos/screen_security/screen_capture_tray_item.h const base::Closure& stop_callback, base 35 ash/system/chromeos/screen_security/screen_capture_tray_item.h const base::string16& screen_capture_status) OVERRIDE; base 38 ash/system/chromeos/screen_security/screen_capture_tray_item.h base::string16 screen_capture_status_; base 17 ash/system/chromeos/screen_security/screen_share_observer.h const base::Closure& stop_callback, base 18 ash/system/chromeos/screen_security/screen_share_observer.h const base::string16& helper_name) = 0; base 54 ash/system/chromeos/screen_security/screen_share_tray_item.cc base::string16 help_label_text; base 72 ash/system/chromeos/screen_security/screen_share_tray_item.cc base::string16() /* body is blank */, base 74 ash/system/chromeos/screen_security/screen_share_tray_item.cc base::string16() /* display_source */, base 89 ash/system/chromeos/screen_security/screen_share_tray_item.cc const base::Closure& stop_callback, base 90 ash/system/chromeos/screen_security/screen_share_tray_item.cc const base::string16& helper_name) { base 34 ash/system/chromeos/screen_security/screen_share_tray_item.h const base::Closure& stop_callback, base 35 ash/system/chromeos/screen_security/screen_share_tray_item.h const base::string16& helper_name) OVERRIDE; base 38 ash/system/chromeos/screen_security/screen_share_tray_item.h base::string16 helper_name_; base 43 ash/system/chromeos/screen_security/screen_tray_item.cc const base::string16& label_text, base 44 ash/system/chromeos/screen_security/screen_tray_item.cc const base::string16& stop_button_text) base 143 ash/system/chromeos/screen_security/screen_tray_item.cc stop_callback_(base::Bind(&base::DoNothing)) { base 161 ash/system/chromeos/screen_security/screen_tray_item.cc void ScreenTrayItem::Start(const base::Closure& stop_callback) { base 184 ash/system/chromeos/screen_security/screen_tray_item.cc base::Closure callback = stop_callback_; base 45 ash/system/chromeos/screen_security/screen_tray_item.h const base::string16& label_text, base 46 ash/system/chromeos/screen_security/screen_tray_item.h const base::string16& stop_button_text); base 65 ash/system/chromeos/screen_security/screen_tray_item.h base::string16 label_text_; base 66 ash/system/chromeos/screen_security/screen_tray_item.h base::string16 stop_button_text_; base 116 ash/system/chromeos/screen_security/screen_tray_item.h void Start(const base::Closure& stop_callback); base 137 ash/system/chromeos/screen_security/screen_tray_item.h base::Closure stop_callback_; base 63 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Bind(&ScreenTrayItemTest::StopCallback, base::Unretained(this))); base 133 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc const base::Closure& start_function, base 134 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc const base::Closure& stop_function) { base 149 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Closure start_function = base 150 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Bind(&SystemTrayNotifier::NotifyScreenCaptureStart, base 151 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Unretained(GetSystemTrayNotifier()), base 152 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Bind(&ScreenTrayItemTest::StopCallback, base 153 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Unretained(this)), base 154 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::UTF8ToUTF16(kTestScreenCaptureAppName)); base 156 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Closure stop_function = base 157 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Bind(&SystemTrayNotifier::NotifyScreenCaptureStop, base 158 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Unretained(GetSystemTrayNotifier())); base 164 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Closure start_func = base 165 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Bind(&SystemTrayNotifier::NotifyScreenShareStart, base 166 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Unretained(GetSystemTrayNotifier()), base 167 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Bind(&ScreenTrayItemTest::StopCallback, base 168 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Unretained(this)), base 169 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::UTF8ToUTF16(kTestScreenShareHelperName)); base 171 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Closure stop_func = base 172 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Bind(&SystemTrayNotifier::NotifyScreenShareStop, base 173 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc base::Unretained(GetSystemTrayNotifier())); base 38 ash/system/chromeos/session/last_window_closed_logout_reminder.cc base::TimeTicks::Now() + base 39 ash/system/chromeos/session/last_window_closed_logout_reminder.cc base::TimeDelta::FromSeconds(kLogoutConfirmationDelayInSeconds)); base 25 ash/system/chromeos/session/logout_button_observer.h virtual void OnLogoutDialogDurationChanged(base::TimeDelta duration) = 0; base 68 ash/system/chromeos/session/logout_button_tray.cc : views::LabelButton(listener, base::string16()) { base 116 ash/system/chromeos/session/logout_button_tray.cc base::string16 LogoutButtonTray::GetAccessibleNameForTray() { base 133 ash/system/chromeos/session/logout_button_tray.cc void LogoutButtonTray::OnLogoutDialogDurationChanged(base::TimeDelta duration) { base 140 ash/system/chromeos/session/logout_button_tray.cc if (dialog_duration_ <= base::TimeDelta()) { base 145 ash/system/chromeos/session/logout_button_tray.cc base::TimeTicks::Now() + dialog_duration_); base 152 ash/system/chromeos/session/logout_button_tray.cc const base::string16 title = base 35 ash/system/chromeos/session/logout_button_tray.h virtual base::string16 GetAccessibleNameForTray() OVERRIDE; base 42 ash/system/chromeos/session/logout_button_tray.h virtual void OnLogoutDialogDurationChanged(base::TimeDelta duration) OVERRIDE; base 56 ash/system/chromeos/session/logout_button_tray.h base::TimeDelta dialog_duration_; base 18 ash/system/chromeos/session/logout_confirmation_controller.cc const base::Closure& logout_closure) base 19 ash/system/chromeos/session/logout_confirmation_controller.cc : clock_(new base::DefaultTickClock), base 35 ash/system/chromeos/session/logout_confirmation_controller.cc base::TimeTicks logout_time) { base 58 ash/system/chromeos/session/logout_confirmation_controller.cc scoped_ptr<base::TickClock> clock) { base 68 ash/system/chromeos/session/logout_confirmation_controller.cc logout_time_ = base::TimeTicks(); base 80 ash/system/chromeos/session/logout_confirmation_controller.cc logout_time_ = base::TimeTicks(); base 16 ash/system/chromeos/session/logout_confirmation_controller.h namespace base { base 33 ash/system/chromeos/session/logout_confirmation_controller.h explicit LogoutConfirmationController(const base::Closure& logout_closure); base 36 ash/system/chromeos/session/logout_confirmation_controller.h base::TickClock* clock() const { return clock_.get(); } base 41 ash/system/chromeos/session/logout_confirmation_controller.h void ConfirmLogout(base::TimeTicks logout_time); base 43 ash/system/chromeos/session/logout_confirmation_controller.h void SetClockForTesting(scoped_ptr<base::TickClock> clock); base 57 ash/system/chromeos/session/logout_confirmation_controller.h scoped_ptr<base::TickClock> clock_; base 58 ash/system/chromeos/session/logout_confirmation_controller.h base::Closure logout_closure_; base 60 ash/system/chromeos/session/logout_confirmation_controller.h base::TimeTicks logout_time_; base 62 ash/system/chromeos/session/logout_confirmation_controller.h base::Timer logout_timer_; base 27 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc class MockTimeSingleThreadTaskRunner : public base::SingleThreadTaskRunner { base 34 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const base::Closure& task, base 35 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::TimeDelta delay) OVERRIDE; base 38 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const base::Closure& task, base 39 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::TimeDelta delay) OVERRIDE; base 41 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const base::TimeTicks& GetCurrentTime() const; base 43 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc void FastForwardBy(base::TimeDelta delta); base 51 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const std::pair<base::TimeTicks, base::Closure>& first_task, base 52 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const std::pair<base::TimeTicks, base::Closure>& second_task) const; base 57 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::TimeTicks now_; base 58 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc std::priority_queue<std::pair<base::TimeTicks, base::Closure>, base 59 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc std::vector<std::pair<base::TimeTicks, base::Closure> >, base 67 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc class MockClock : public base::TickClock { base 73 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc virtual base::TimeTicks NowTicks() OVERRIDE; base 91 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const base::Closure& task, base 92 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::TimeDelta delay) { base 99 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const base::Closure& task, base 100 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::TimeDelta delay) { base 105 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const base::TimeTicks& MockTimeSingleThreadTaskRunner::GetCurrentTime() const { base 109 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc void MockTimeSingleThreadTaskRunner::FastForwardBy(base::TimeDelta delta) { base 110 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const base::TimeTicks latest = now_ + delta; base 113 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::Closure task = tasks_.top().second; base 123 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::Closure task = tasks_.top().second; base 130 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const std::pair<base::TimeTicks, base::Closure>& first_task, base 131 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc const std::pair<base::TimeTicks, base::Closure>& second_task) const { base 145 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::TimeTicks MockClock::NowTicks() { base 161 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::ThreadTaskRunnerHandle runner_handle_; base 173 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc controller_(base::Bind(&LogoutConfirmationControllerTest::LogOut, base 174 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc base::Unretained(this))) { base 176 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc scoped_ptr<base::TickClock>(new MockClock(runner_))); base 191 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta()); base 198 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); base 200 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); base 202 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(2)); base 211 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(30)); base 213 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); base 216 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); base 217 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); base 219 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(2)); base 228 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); base 230 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); base 233 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); base 234 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(2)); base 242 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); base 253 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); base 263 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); base 275 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); base 282 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); base 284 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); base 286 ash/system/chromeos/session/logout_confirmation_controller_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(2)); base 33 ash/system/chromeos/session/logout_confirmation_dialog.cc base::TimeTicks logout_time) base 52 ash/system/chromeos/session/logout_confirmation_dialog.cc base::TimeDelta::FromMilliseconds(kCountdownUpdateIntervalMs), base 60 ash/system/chromeos/session/logout_confirmation_dialog.cc void LogoutConfirmationDialog::Update(base::TimeTicks logout_time) { base 76 ash/system/chromeos/session/logout_confirmation_dialog.cc base::string16 LogoutConfirmationDialog::GetWindowTitle() const { base 80 ash/system/chromeos/session/logout_confirmation_dialog.cc base::string16 LogoutConfirmationDialog::GetDialogButtonLabel( base 97 ash/system/chromeos/session/logout_confirmation_dialog.cc const base::TimeDelta time_remaining = base 99 ash/system/chromeos/session/logout_confirmation_dialog.cc if (time_remaining >= base::TimeDelta::FromMilliseconds(kHalfSecondInMs)) { base 28 ash/system/chromeos/session/logout_confirmation_dialog.h base::TimeTicks logout_time); base 31 ash/system/chromeos/session/logout_confirmation_dialog.h void Update(base::TimeTicks logout_time); base 36 ash/system/chromeos/session/logout_confirmation_dialog.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 37 ash/system/chromeos/session/logout_confirmation_dialog.h virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const base 46 ash/system/chromeos/session/logout_confirmation_dialog.h base::TimeTicks logout_time_; base 50 ash/system/chromeos/session/logout_confirmation_dialog.h base::RepeatingTimer<LogoutConfirmationDialog> update_timer_; base 60 ash/system/chromeos/session/tray_session_length_limit.cc base::string16 IntToTwoDigitString(int value) { base 64 ash/system/chromeos/session/tray_session_length_limit.cc return base::ASCIIToUTF16("0") + base::IntToString16(value); base 65 ash/system/chromeos/session/tray_session_length_limit.cc return base::IntToString16(value); base 68 ash/system/chromeos/session/tray_session_length_limit.cc base::string16 FormatRemainingSessionTimeNotification( base 69 ash/system/chromeos/session/tray_session_length_limit.cc const base::TimeDelta& remaining_session_time) { base 82 ash/system/chromeos/session/tray_session_length_limit.cc const base::TimeDelta& remaining_time, base 100 ash/system/chromeos/session/tray_session_length_limit.cc base::string16() /* message */, base 102 ash/system/chromeos/session/tray_session_length_limit.cc base::string16() /* display_source */, base 235 ash/system/chromeos/session/tray_session_length_limit.cc const base::string16 hours_str = IntToTwoDigitString(hours); base 236 ash/system/chromeos/session/tray_session_length_limit.cc const base::string16 minutes_str = IntToTwoDigitString(minutes); base 237 ash/system/chromeos/session/tray_session_length_limit.cc const base::string16 seconds_str = IntToTwoDigitString(seconds); base 330 ash/system/chromeos/session/tray_session_length_limit.cc base::TimeDelta TraySessionLengthLimit::GetRemainingSessionTime() const { base 339 ash/system/chromeos/session/tray_session_length_limit.cc remaining_session_time_ = base::TimeDelta(); base 344 ash/system/chromeos/session/tray_session_length_limit.cc limit_ - (base::TimeTicks::Now() - session_start_time_), base 345 ash/system/chromeos/session/tray_session_length_limit.cc base::TimeDelta()); base 349 ash/system/chromeos/session/tray_session_length_limit.cc timer_.reset(new base::RepeatingTimer<TraySessionLengthLimit>); base 353 ash/system/chromeos/session/tray_session_length_limit.cc base::TimeDelta::FromSeconds(1), base 49 ash/system/chromeos/session/tray_session_length_limit.h base::TimeDelta GetRemainingSessionTime() const; base 63 ash/system/chromeos/session/tray_session_length_limit.h base::TimeTicks session_start_time_; base 64 ash/system/chromeos/session/tray_session_length_limit.h base::TimeDelta limit_; base 65 ash/system/chromeos/session/tray_session_length_limit.h base::TimeDelta remaining_session_time_; base 66 ash/system/chromeos/session/tray_session_length_limit.h scoped_ptr<base::RepeatingTimer<TraySessionLengthLimit> > timer_; base 40 ash/system/chromeos/session/tray_session_length_limit_unittest.cc base::TimeDelta::FromMinutes(mins)); base 124 ash/system/chromeos/session/tray_session_length_limit_unittest.cc base::string16 first_content = notification->title(); base 52 ash/system/chromeos/settings/tray_settings.cc base::string16 text = rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_SETTINGS); base 108 ash/system/chromeos/settings/tray_settings.cc base::string16 accessible_name = label_ ? base 109 ash/system/chromeos/settings/tray_settings.cc label_->text() + base::ASCIIToUTF16(", ") + base 40 ash/system/chromeos/tray_display.cc base::string16 GetDisplayName(int64 display_id) { base 41 ash/system/chromeos/tray_display.cc return base::UTF8ToUTF16( base 45 ash/system/chromeos/tray_display.cc base::string16 GetDisplaySize(int64 display_id) { base 55 ash/system/chromeos/tray_display.cc return base::string16(); base 58 ash/system/chromeos/tray_display.cc return base::UTF8ToUTF16(display->size().ToString()); base 63 ash/system/chromeos/tray_display.cc base::string16 GetDisplayInfoLine(int64 display_id) { base 69 ash/system/chromeos/tray_display.cc base::string16 size_text = GetDisplaySize(display_id); base 70 ash/system/chromeos/tray_display.cc base::string16 display_data; base 87 ash/system/chromeos/tray_display.cc base::string16 GetAllDisplayInfo() { base 89 ash/system/chromeos/tray_display.cc std::vector<base::string16> lines; base 156 ash/system/chromeos/tray_display.cc base::string16 message = GetTrayDisplayMessage(NULL); base 169 ash/system/chromeos/tray_display.cc base::string16* tooltip) const OVERRIDE { base 170 ash/system/chromeos/tray_display.cc base::string16 tray_message = GetTrayDisplayMessage(NULL); base 171 ash/system/chromeos/tray_display.cc base::string16 display_message = GetAllDisplayInfo(); base 175 ash/system/chromeos/tray_display.cc *tooltip = tray_message + base::ASCIIToUTF16("\n") + display_message; base 182 ash/system/chromeos/tray_display.cc static base::string16 GetExternalDisplayName() { base 202 ash/system/chromeos/tray_display.cc base::string16 name = GetDisplayName(external_id); base 222 ash/system/chromeos/tray_display.cc static base::string16 GetTrayDisplayMessage( base 223 ash/system/chromeos/tray_display.cc base::string16* additional_message_out) { base 254 ash/system/chromeos/tray_display.cc return base::string16(); base 310 ash/system/chromeos/tray_display.cc base::string16* message_out, base 311 ash/system/chromeos/tray_display.cc base::string16* additional_message_out) { base 367 ash/system/chromeos/tray_display.cc const base::string16& message, base 368 ash/system/chromeos/tray_display.cc const base::string16& additional_message) { base 384 ash/system/chromeos/tray_display.cc base::string16(), // display_source base 390 ash/system/chromeos/tray_display.cc base::Bind(&OpenSettings)))); base 416 ash/system/chromeos/tray_display.cc base::string16 message; base 417 ash/system/chromeos/tray_display.cc base::string16 additional_message; base 422 ash/system/chromeos/tray_display.cc base::string16 TrayDisplay::GetDefaultViewMessage() const { base 424 ash/system/chromeos/tray_display.cc return base::string16(); base 52 ash/system/chromeos/tray_display.h base::string16* message_out, base 53 ash/system/chromeos/tray_display.h base::string16* additional_message_out); base 56 ash/system/chromeos/tray_display.h void CreateOrUpdateNotification(const base::string16& message, base 57 ash/system/chromeos/tray_display.h const base::string16& additional_message); base 64 ash/system/chromeos/tray_display.h base::string16 GetDefaultViewMessage() const; base 27 ash/system/chromeos/tray_display_unittest.cc base::string16 GetTooltipText(const base::string16& headline, base 28 ash/system/chromeos/tray_display_unittest.cc const base::string16& name1, base 30 ash/system/chromeos/tray_display_unittest.cc const base::string16& name2, base 32 ash/system/chromeos/tray_display_unittest.cc std::vector<base::string16> lines; base 39 ash/system/chromeos/tray_display_unittest.cc name1, base::UTF8ToUTF16(data1))); base 44 ash/system/chromeos/tray_display_unittest.cc name2, base::UTF8ToUTF16(data2))); base 49 ash/system/chromeos/tray_display_unittest.cc base::string16 GetMirroredTooltipText(const base::string16& headline, base 50 ash/system/chromeos/tray_display_unittest.cc const base::string16& name, base 52 ash/system/chromeos/tray_display_unittest.cc return GetTooltipText(headline, name, data, base::string16(), ""); base 55 ash/system/chromeos/tray_display_unittest.cc base::string16 GetFirstDisplayName() { base 57 ash/system/chromeos/tray_display_unittest.cc return base::UTF8ToUTF16(display_manager->GetDisplayNameForId( base 61 ash/system/chromeos/tray_display_unittest.cc base::string16 GetSecondDisplayName() { base 62 ash/system/chromeos/tray_display_unittest.cc return base::UTF8ToUTF16( base 67 ash/system/chromeos/tray_display_unittest.cc base::string16 GetMirroredDisplayName() { base 69 ash/system/chromeos/tray_display_unittest.cc return base::UTF8ToUTF16(display_manager->GetDisplayNameForId( base 86 ash/system/chromeos/tray_display_unittest.cc base::string16 GetTrayDisplayText() const; base 88 ash/system/chromeos/tray_display_unittest.cc base::string16 GetTrayDisplayTooltipText() const; base 89 ash/system/chromeos/tray_display_unittest.cc base::string16 GetDisplayNotificationText() const; base 90 ash/system/chromeos/tray_display_unittest.cc base::string16 GetDisplayNotificationAdditionalText() const; base 129 ash/system/chromeos/tray_display_unittest.cc base::string16 TrayDisplayTest::GetTrayDisplayText() const { base 136 ash/system/chromeos/tray_display_unittest.cc base::string16 expected = tray_display_->GetDefaultViewMessage(); base 141 ash/system/chromeos/tray_display_unittest.cc base::string16 TrayDisplayTest::GetTrayDisplayTooltipText() const { base 143 ash/system/chromeos/tray_display_unittest.cc return base::string16(); base 145 ash/system/chromeos/tray_display_unittest.cc base::string16 tooltip; base 147 ash/system/chromeos/tray_display_unittest.cc return base::string16(); base 151 ash/system/chromeos/tray_display_unittest.cc base::string16 TrayDisplayTest::GetDisplayNotificationText() const { base 153 ash/system/chromeos/tray_display_unittest.cc return notification ? notification->title() : base::string16(); base 156 ash/system/chromeos/tray_display_unittest.cc base::string16 TrayDisplayTest::GetDisplayNotificationAdditionalText() const { base 158 ash/system/chromeos/tray_display_unittest.cc return notification ? notification->message() : base::string16(); base 182 ash/system/chromeos/tray_display_unittest.cc base::string16 expected = l10n_util::GetStringUTF16( base 184 ash/system/chromeos/tray_display_unittest.cc base::string16 first_name = GetFirstDisplayName(); base 214 ash/system/chromeos/tray_display_unittest.cc base::string16 expected = l10n_util::GetStringFUTF16( base 246 ash/system/chromeos/tray_display_unittest.cc base::string16 internal_info = l10n_util::GetStringFUTF16( base 248 ash/system/chromeos/tray_display_unittest.cc GetFirstDisplayName(), base::UTF8ToUTF16("600x600")); base 250 ash/system/chromeos/tray_display_unittest.cc EXPECT_EQ(GetTooltipText(base::string16(), GetFirstDisplayName(), "600x600", base 251 ash/system/chromeos/tray_display_unittest.cc base::string16(), std::string()), base 259 ash/system/chromeos/tray_display_unittest.cc base::string16 expected = l10n_util::GetStringFUTF16( base 290 ash/system/chromeos/tray_display_unittest.cc expected, GetFirstDisplayName(), "600x600", base::string16(), ""), base 310 ash/system/chromeos/tray_display_unittest.cc base::string16 expected = l10n_util::GetStringFUTF16( base 315 ash/system/chromeos/tray_display_unittest.cc base::UTF8ToUTF16(secondary_display.size().ToString()))); base 345 ash/system/chromeos/tray_display_unittest.cc base::string16 overscan = l10n_util::GetStringUTF16( base 347 ash/system/chromeos/tray_display_unittest.cc base::string16 headline = l10n_util::GetStringFUTF16( base 351 ash/system/chromeos/tray_display_unittest.cc GetSecondDisplayName(), base::UTF8ToUTF16("286x286"))); base 354 ash/system/chromeos/tray_display_unittest.cc base::UTF8ToUTF16("286x286"), overscan); base 369 ash/system/chromeos/tray_display_unittest.cc base::UTF8ToUTF16("300x300"), overscan); base 382 ash/system/chromeos/tray_display_unittest.cc base::string16 internal_info = l10n_util::GetStringFUTF16( base 384 ash/system/chromeos/tray_display_unittest.cc GetFirstDisplayName(), base::UTF8ToUTF16("600x600")); base 386 ash/system/chromeos/tray_display_unittest.cc EXPECT_EQ(GetTooltipText(base::string16(), GetFirstDisplayName(), "600x600", base 387 ash/system/chromeos/tray_display_unittest.cc base::string16(), std::string()), base 394 ash/system/chromeos/tray_display_unittest.cc base::string16 expected = l10n_util::GetStringUTF16( base 396 ash/system/chromeos/tray_display_unittest.cc base::string16 first_name = GetFirstDisplayName(); base 449 ash/system/chromeos/tray_display_unittest.cc GetFirstDisplayName(), base::UTF8ToUTF16("600x600")), base 459 ash/system/chromeos/tray_display_unittest.cc GetFirstDisplayName(), base::UTF8ToUTF16("400x400")), base 503 ash/system/chromeos/tray_display_unittest.cc GetFirstDisplayName(), base::UTF8ToUTF16("600x600")), base 87 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc base::string16 VirtualKeyboardTray::GetAccessibleNameForTray() { base 30 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h virtual base::string16 GetAccessibleNameForTray() OVERRIDE; base 45 ash/system/date/date_view.cc base::string16 FormatDate(const base::Time& time) { base 50 ash/system/date/date_view.cc return base::string16(date_string.getBuffer(), base 54 ash/system/date/date_view.cc base::string16 FormatDayOfWeek(const base::Time& time) { base 69 ash/system/date/date_view.cc return base::string16( base 87 ash/system/date/date_view.cc base::Time now = base::Time::Now(); base 94 ash/system/date/date_view.cc SetTimer(base::Time::Now()); base 97 ash/system/date/date_view.cc void BaseDateTimeView::SetTimer(const base::Time& now) { base 101 ash/system/date/date_view.cc base::Time::Exploded exploded; base 116 ash/system/date/date_view.cc FROM_HERE, base::TimeDelta::FromSeconds(seconds_left), base 137 ash/system/date/date_view.cc UpdateTextInternal(base::Time::Now()); base 156 ash/system/date/date_view.cc base::HourClockType DateView::GetHourTypeForTesting() const { base 160 ash/system/date/date_view.cc void DateView::UpdateTextInternal(const base::Time& now) { base 162 ash/system/date/date_view.cc base::TimeFormatFriendlyDate(now) + base 163 ash/system/date/date_view.cc base::ASCIIToUTF16(", ") + base 164 ash/system/date/date_view.cc base::TimeFormatTimeOfDayWithHourClockType( base 165 ash/system/date/date_view.cc now, hour_type_, base::kKeepAmPm)); base 199 ash/system/date/date_view.cc UpdateTextInternal(base::Time::Now()); base 213 ash/system/date/date_view.cc base::HourClockType TimeView::GetHourTypeForTesting() const { base 217 ash/system/date/date_view.cc void TimeView::UpdateTextInternal(const base::Time& now) { base 226 ash/system/date/date_view.cc base::string16 current_time = base::TimeFormatTimeOfDayWithHourClockType( base 227 ash/system/date/date_view.cc now, hour_type_, base::kDropAmPm); base 229 ash/system/date/date_view.cc horizontal_label_->SetTooltipText(base::TimeFormatFriendlyDate(now)); base 232 ash/system/date/date_view.cc size_t colon_pos = current_time.find(base::ASCIIToUTF16(":")); base 233 ash/system/date/date_view.cc base::string16 hour = current_time.substr(0, colon_pos); base 234 ash/system/date/date_view.cc base::string16 minute = current_time.substr(colon_pos + 1); base 238 ash/system/date/date_view.cc hour_type_ == base::k24HourClock && base 239 ash/system/date/date_view.cc !base::i18n::IsRTL()) base 240 ash/system/date/date_view.cc hour = base::ASCIIToUTF16("0") + hour; base 37 ash/system/date/date_view.h void SetTimer(const base::Time& now); base 40 ash/system/date/date_view.h virtual void UpdateTextInternal(const base::Time& now) = 0; base 47 ash/system/date/date_view.h base::OneShotTimer<BaseDateTimeView> timer_; base 66 ash/system/date/date_view.h base::HourClockType GetHourTypeForTesting() const; base 70 ash/system/date/date_view.h virtual void UpdateTextInternal(const base::Time& now) OVERRIDE; base 82 ash/system/date/date_view.h base::HourClockType hour_type_; base 102 ash/system/date/date_view.h base::HourClockType GetHourTypeForTesting() const; base 108 ash/system/date/date_view.h virtual void UpdateTextInternal(const base::Time& now) OVERRIDE; base 127 ash/system/date/date_view.h base::HourClockType hour_type_; base 50 ash/system/drive/tray_drive.cc base::string16 GetTrayLabel(const ash::DriveOperationStatusList& list) { base 52 ash/system/drive/tray_drive.cc base::IntToString16(static_cast<int>(list.size()))); base 83 ash/system/drive/tray_drive.cc base::string16 label = GetTrayLabel(*list); base 145 ash/system/drive/tray_drive.cc const base::FilePath& file_path, base 162 ash/system/drive/tray_drive.cc base::string16 file_label = base 163 ash/system/drive/tray_drive.cc base::UTF8ToUTF16(file_path.BaseName().value()); base 165 ash/system/drive/tray_drive.cc base::string16 file_label = base 166 ash/system/drive/tray_drive.cc base::WideToUTF16(file_path.BaseName().value()); base 301 ash/system/drive/tray_drive.cc std::set<base::FilePath> new_set; base 308 ash/system/drive/tray_drive.cc std::map<base::FilePath, RowView*>::iterator existing_item = base 329 ash/system/drive/tray_drive.cc std::set<base::FilePath> remove_set; base 330 ash/system/drive/tray_drive.cc for (std::map<base::FilePath, RowView*>::iterator update_iter = base 338 ash/system/drive/tray_drive.cc for (std::set<base::FilePath>::iterator removed_iter = remove_set.begin(); base 376 ash/system/drive/tray_drive.cc std::map<base::FilePath, RowView*> update_map_; base 489 ash/system/drive/tray_drive.cc base::TimeDelta::FromMilliseconds(kHideDelayInMs), base 48 ash/system/drive/tray_drive.h base::OneShotTimer<TrayDrive> hide_timer_; base 196 ash/system/ime/tray_ime.cc current.short_name + base::UTF8ToUTF16("*")); base 99 ash/system/locale/locale_notification_controller.cc base::string16 from = l10n_util::GetDisplayNameForLocale( base 101 ash/system/locale/locale_notification_controller.cc base::string16 to = l10n_util::GetDisplayNameForLocale( base 114 ash/system/locale/locale_notification_controller.cc base::string16() /* title */, base 118 ash/system/locale/locale_notification_controller.cc base::string16() /* display_source */, base 80 ash/system/overview/overview_button_tray.cc base::string16 OverviewButtonTray::GetAccessibleNameForTray() { base 42 ash/system/overview/overview_button_tray.h virtual base::string16 GetAccessibleNameForTray() OVERRIDE; base 87 ash/system/overview/overview_button_tray_unittest.cc ui::GestureEvent tap(ui::ET_GESTURE_TAP, 0, 0, 0, base::TimeDelta(), base 61 ash/system/tray/actionable_view.cc void ActionableView::SetAccessibleName(const base::string16& name) { base 29 ash/system/tray/actionable_view.h void SetAccessibleName(const base::string16& name); base 30 ash/system/tray/actionable_view.h const base::string16& accessible_name() const { return accessible_name_; } base 58 ash/system/tray/actionable_view.h base::string16 accessible_name_; base 73 ash/system/tray/default_system_tray_delegate.cc const base::string16 DefaultSystemTrayDelegate::GetEnterpriseMessage() const { base 74 ash/system/tray/default_system_tray_delegate.cc return base::string16(); base 82 ash/system/tray/default_system_tray_delegate.cc const base::string16 base 85 ash/system/tray/default_system_tray_delegate.cc return base::string16(); base 88 ash/system/tray/default_system_tray_delegate.cc const base::string16 DefaultSystemTrayDelegate::GetLocallyManagedUserMessage() base 90 ash/system/tray/default_system_tray_delegate.cc return base::string16(); base 97 ash/system/tray/default_system_tray_delegate.cc base::HourClockType DefaultSystemTrayDelegate::GetHourClockType() const { base 98 ash/system/tray/default_system_tray_delegate.cc return base::k24HourClock; base 274 ash/system/tray/default_system_tray_delegate.cc base::TimeTicks* session_start_time) { base 279 ash/system/tray/default_system_tray_delegate.cc base::TimeDelta* session_length_limit) { base 28 ash/system/tray/default_system_tray_delegate.h virtual const base::string16 GetEnterpriseMessage() const OVERRIDE; base 30 ash/system/tray/default_system_tray_delegate.h virtual const base::string16 GetLocallyManagedUserManagerName() const base 32 ash/system/tray/default_system_tray_delegate.h virtual const base::string16 GetLocallyManagedUserMessage() const OVERRIDE; base 34 ash/system/tray/default_system_tray_delegate.h virtual base::HourClockType GetHourClockType() const OVERRIDE; base 89 ash/system/tray/default_system_tray_delegate.h base::TimeTicks* session_start_time) OVERRIDE; base 91 ash/system/tray/default_system_tray_delegate.h base::TimeDelta* session_length_limit) OVERRIDE; base 47 ash/system/tray/hover_highlight_view.cc const base::string16& text, base 66 ash/system/tray/hover_highlight_view.cc views::Label* HoverHighlightView::AddLabel(const base::string16& text, base 74 ash/system/tray/hover_highlight_view.cc if (base::i18n::IsRTL()) base 93 ash/system/tray/hover_highlight_view.cc views::Label* HoverHighlightView::AddCheckableLabel(const base::string16& text, base 31 ash/system/tray/hover_highlight_view.h const base::string16& text, base 37 ash/system/tray/hover_highlight_view.h views::Label* AddLabel(const base::string16& text, base 43 ash/system/tray/hover_highlight_view.h views::Label* AddCheckableLabel(const base::string16& text, base 615 ash/system/tray/system_tray.cc base::string16 SystemTray::GetAccessibleNameForTray() { base 658 ash/system/tray/system_tray.cc base::string16 SystemTray::GetAccessibleNameForBubble() { base 127 ash/system/tray/system_tray.h virtual base::string16 GetAccessibleNameForTray() OVERRIDE; base 137 ash/system/tray/system_tray.h virtual base::string16 GetAccessibleNameForBubble() OVERRIDE; base 119 ash/system/tray/system_tray_bubble.cc base::MessageLoopForUI::current()->DeleteSoon(FROM_HERE, this); base 157 ash/system/tray/system_tray_bubble.cc base::TimeDelta swipe_duration = base 158 ash/system/tray/system_tray_bubble.cc base::TimeDelta::FromMilliseconds(kSwipeDelayMS); base 196 ash/system/tray/system_tray_bubble.cc base::TimeDelta::FromMilliseconds(150)); base 242 ash/system/tray/system_tray_bubble.cc base::TimeDelta::FromMilliseconds(kSwipeDelayMS)); base 309 ash/system/tray/system_tray_bubble.cc base::TimeDelta::FromSeconds(autoclose_delay_), base 71 ash/system/tray/system_tray_bubble.h base::OneShotTimer<SystemTrayBubble> autoclose_; base 20 ash/system/tray/system_tray_delegate.h namespace base { base 37 ash/system/tray/system_tray_delegate.h base::string16 name; base 38 ash/system/tray/system_tray_delegate.h base::string16 description; base 48 ash/system/tray/system_tray_delegate.h base::string16 display_name; base 77 ash/system/tray/system_tray_delegate.h base::FilePath file_path; base 93 ash/system/tray/system_tray_delegate.h base::string16 name; base 105 ash/system/tray/system_tray_delegate.h base::string16 name; base 106 ash/system/tray/system_tray_delegate.h base::string16 medium_name; base 107 ash/system/tray/system_tray_delegate.h base::string16 short_name; base 138 ash/system/tray/system_tray_delegate.h virtual const base::string16 GetEnterpriseMessage() const = 0; base 145 ash/system/tray/system_tray_delegate.h virtual const base::string16 GetLocallyManagedUserManagerName() const = 0; base 148 ash/system/tray/system_tray_delegate.h virtual const base::string16 GetLocallyManagedUserMessage() const = 0; base 154 ash/system/tray/system_tray_delegate.h virtual base::HourClockType GetHourClockType() const = 0; base 317 ash/system/tray/system_tray_delegate.h virtual bool GetSessionStartTime(base::TimeTicks* session_start_time) = 0; base 320 ash/system/tray/system_tray_delegate.h virtual bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) = 0; base 315 ash/system/tray/system_tray_notifier.cc base::TimeDelta duration) { base 352 ash/system/tray/system_tray_notifier.cc const base::Closure& stop_callback, base 353 ash/system/tray/system_tray_notifier.cc const base::string16& sharing_app_name) { base 364 ash/system/tray/system_tray_notifier.cc const base::Closure& stop_callback, base 365 ash/system/tray/system_tray_notifier.cc const base::string16& helper_name) { base 129 ash/system/tray/system_tray_notifier.h void NotifyLogoutDialogDurationChanged(base::TimeDelta duration); base 135 ash/system/tray/system_tray_notifier.h void NotifyScreenCaptureStart(const base::Closure& stop_callback, base 136 ash/system/tray/system_tray_notifier.h const base::string16& sharing_app_name); base 138 ash/system/tray/system_tray_notifier.h void NotifyScreenShareStart(const base::Closure& stop_callback, base 139 ash/system/tray/system_tray_notifier.h const base::string16& helper_name); base 49 ash/system/tray/system_tray_unittest.cc tray_view_->AddChildView(new views::Label(base::UTF8ToUTF16("Tray"))); base 56 ash/system/tray/system_tray_unittest.cc default_view_->AddChildView(new views::Label(base::UTF8ToUTF16("Default"))); base 64 ash/system/tray/system_tray_unittest.cc new views::Label(base::UTF8ToUTF16("Detailed"))); base 394 ash/system/tray/system_tray_unittest.cc base::RunLoop().RunUntilIdle(); base 410 ash/system/tray/system_tray_unittest.cc base::RunLoop().RunUntilIdle(); base 31 ash/system/tray/throbber_view.cc void SystemTrayThrobber::SetTooltipText(const base::string16& tooltip_text) { base 36 ash/system/tray/throbber_view.cc base::string16* tooltip) const { base 73 ash/system/tray/throbber_view.cc base::string16* tooltip) const { base 91 ash/system/tray/throbber_view.cc void ThrobberView::SetTooltipText(const base::string16& tooltip_text) { base 102 ash/system/tray/throbber_view.cc base::TimeDelta::FromMilliseconds(kThrobberAnimationDurationMs)); base 20 ash/system/tray/throbber_view.h void SetTooltipText(const base::string16& tooltip_text); base 24 ash/system/tray/throbber_view.h const gfx::Point& p, base::string16* tooltip) const OVERRIDE; base 28 ash/system/tray/throbber_view.h base::string16 tooltip_text_; base 41 ash/system/tray/throbber_view.h void SetTooltipText(const base::string16& tooltip_text); base 47 ash/system/tray/throbber_view.h const gfx::Point& p, base::string16* tooltip) const OVERRIDE; base 56 ash/system/tray/throbber_view.h base::string16 tooltip_text_; base 504 ash/system/tray/tray_background_view.cc base::TimeDelta::FromMilliseconds(kAnimationDurationForPopupMS)); base 522 ash/system/tray/tray_background_view.cc bool rtl = base::i18n::IsRTL(); base 577 ash/system/tray/tray_background_view.cc base::i18n::IsRTL() ? kPaddingFromRightEdgeOfScreenBottomAlignment : base 88 ash/system/tray/tray_background_view.h virtual base::string16 GetAccessibleNameForTray() = 0; base 72 ash/system/tray/tray_bar_button_with_title.cc base::string16 text = rb.GetLocalizedString(title_id); base 48 ash/system/tray/tray_item_more.cc void TrayItemMore::SetLabel(const base::string16& label) { base 59 ash/system/tray/tray_item_more.cc void TrayItemMore::SetAccessibleName(const base::string16& name) { base 29 ash/system/tray/tray_item_more.h void SetLabel(const base::string16& label); base 31 ash/system/tray/tray_item_more.h void SetAccessibleName(const base::string16& name); base 53 ash/system/tray/tray_item_more.h base::string16 accessible_name_; base 116 ash/system/tray/tray_notification_view.cc base::TimeDelta::FromSeconds(autoclose_delay_), base 87 ash/system/tray/tray_notification_view.h base::OneShotTimer<TrayNotificationView> autoclose_; base 16 ash/system/tray/tray_popup_label_button.cc const base::string16& text) base 19 ash/system/tray/tray_popup_label_button.h const base::string16& text); base 88 ash/system/tray/tray_popup_label_button_border.cc if (base::i18n::IsRTL()) { base 79 ash/system/tray_accessibility.cc base::string16 label = bundle.GetLocalizedString( base 105 ash/system/tray_accessibility.cc base::string16 text; base 112 ash/system/tray_accessibility.cc text.append(base::ASCIIToUTF16(" ")); base 243 ash/system/tray_accessibility.cc const base::string16& text, base 75 ash/system/tray_accessibility.h HoverHighlightView* AddScrollListItem(const base::string16& text, base 122 ash/system/tray_update.cc base::TimeDelta::FromSeconds(kUpdateNaggingTimeSeconds), base 150 ash/system/tray_update.cc base::OneShotTimer<UpdateNagger> timer_; base 17 ash/system/user/login_status.cc base::string16 GetLocalizedSignOutStringForStatus(LoginStatus status, base 39 ash/system/user/login_status.cc base::string16 message = base 45 ash/system/user/login_status.cc base::string16 newline = multiline ? base::ASCIIToUTF16("\n") base 46 ash/system/user/login_status.cc : base::ASCIIToUTF16(" "); base 47 ash/system/user/login_status.cc ReplaceSubstringsAfterOffset(&message, 0, base::ASCIIToUTF16("\\n"), newline); base 25 ash/system/user/login_status.h base::string16 GetLocalizedSignOutStringForStatus(LoginStatus status, base 90 ash/system/user/tray_user.cc const base::char16 kDisplayNameMark[] = { 0x2060, 0 }; base 198 ash/system/user/tray_user.cc base::string16 text_; base 432 ash/system/user/tray_user.cc const bool rtl = base::i18n::IsRTL(); base 441 ash/system/user/tray_user.cc base::string16 display_name = base 443 ash/system/user/tray_user.cc base::RemoveChars(display_name, kDisplayNameMark, &display_name); base 446 ash/system/user/tray_user.cc base::string16 domain = base::UTF8ToUTF16( base 448 ash/system/user/tray_user.cc base::RemoveChars(domain, kDisplayNameMark, &domain); base 449 ash/system/user/tray_user.cc base::i18n::WrapStringWithLTRFormatting(&domain); base 472 ash/system/user/tray_user.cc std::vector<base::string16> lines; base 479 ash/system/user/tray_user.cc for (std::vector<base::string16>::const_iterator it = lines.begin(); base 515 ash/system/user/tray_user.cc gfx::GetStringWidth(base::ASCIIToUTF16(" "), font_list); base 525 ash/system/user/tray_user.cc if (base::i18n::IsRTL()) { base 555 ash/system/user/tray_user.cc gfx::GetStringWidth(base::ASCIIToUTF16(" "), font_list); base 570 ash/system/user/tray_user.cc std::vector<base::string16> lines; base 787 ash/system/user/tray_user.cc const base::string16 title = user::GetLocalizedSignOutStringForStatus(login, base 862 ash/system/user/tray_user.cc base::string16 user_name_string = base 874 ash/system/user/tray_user.cc base::string16 user_email_string = base 878 ash/system/user/tray_user.cc base::UTF8ToUTF16(delegate->GetUserEmail(multiprofile_index_)); base 268 ash/system/web_notification/web_notification_tray.cc base::FormatNumber(unread_count)); base 469 ash/system/web_notification/web_notification_tray.cc base::string16 WebNotificationTray::GetAccessibleNameForTray() { base 501 ash/system/web_notification/web_notification_tray.cc base::string16 WebNotificationTray::GetAccessibleNameForBubble() { base 557 ash/system/web_notification/web_notification_tray.cc base::TimeDelta expires_in = command_id == kEnableQuietModeDay ? base 558 ash/system/web_notification/web_notification_tray.cc base::TimeDelta::FromDays(1): base 559 ash/system/web_notification/web_notification_tray.cc base::TimeDelta::FromHours(1); base 574 ash/system/web_notification/web_notification_tray.cc base::MessageLoop::current()->PostTask( base 576 ash/system/web_notification/web_notification_tray.cc base::Bind(&WebNotificationTray::UpdateTrayContent, AsWeakPtr())); base 51 ash/system/web_notification/web_notification_tray.h public base::SupportsWeakPtr<WebNotificationTray>, base 80 ash/system/web_notification/web_notification_tray.h virtual base::string16 GetAccessibleNameForTray() OVERRIDE; base 92 ash/system/web_notification/web_notification_tray.h virtual base::string16 GetAccessibleNameForBubble() OVERRIDE; base 80 ash/system/web_notification/web_notification_tray_unittest.cc default_view->AddChildView(new views::Label(base::UTF8ToUTF16("Default"))); base 111 ash/system/web_notification/web_notification_tray_unittest.cc base::ASCIIToUTF16("Test Web Notification"), base 112 ash/system/web_notification/web_notification_tray_unittest.cc base::ASCIIToUTF16("Notification message body."), base 114 ash/system/web_notification/web_notification_tray_unittest.cc base::ASCIIToUTF16("www.test.org"), base 127 ash/system/web_notification/web_notification_tray_unittest.cc base::ASCIIToUTF16("Updated Web Notification"), base 128 ash/system/web_notification/web_notification_tray_unittest.cc base::ASCIIToUTF16("Updated message body."), base 130 ash/system/web_notification/web_notification_tray_unittest.cc base::ASCIIToUTF16("www.test.org"), base 232 ash/system/web_notification/web_notification_tray_unittest.cc std::string id = base::StringPrintf("test_id%d", static_cast<int>(i)); base 252 ash/system/web_notification/web_notification_tray_unittest.cc std::string id = base::StringPrintf("test_id%d", static_cast<int>(i)); base 14 ash/system/win/audio/tray_audio_delegate_win.cc using base::win::ScopedComPtr; base 34 ash/system/win/audio/tray_audio_delegate_win.h base::win::ScopedComPtr<ISimpleAudioVolume> CreateDefaultVolumeControl(); base 107 ash/test/ash_test_base.cc ash_test_helper_.reset(new AshTestHelper(base::MessageLoopForUI::current())); base 149 ash/test/ash_test_base.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 150 ash/test/ash_test_base.cc ipc_thread_.reset(new base::Thread("test_metro_viewer_ipc_thread")); base 151 ash/test/ash_test_base.cc base::Thread::Options options; base 152 ash/test/ash_test_base.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 173 ash/test/ash_test_base.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8 && base 192 ash/test/ash_test_base.cc base::KillAllNamedProcessesWithArgument(win8::test::kDefaultTestExePath, base 213 ash/test/ash_test_base.cc return base::win::GetVersion() < base::win::VERSION_WIN8; base 222 ash/test/ash_test_base.cc return base::win::GetVersion() < base::win::VERSION_WIN8; base 146 ash/test/ash_test_base.h scoped_ptr<base::Thread> ipc_thread_; base 40 ash/test/ash_test_helper.cc AshTestHelper::AshTestHelper(base::MessageLoopForUI* message_loop) base 136 ash/test/ash_test_helper.cc DCHECK(base::MessageLoopForUI::current() == message_loop_); base 138 ash/test/ash_test_helper.cc base::RunLoop run_loop; base 15 ash/test/ash_test_helper.h namespace base { base 37 ash/test/ash_test_helper.h explicit AshTestHelper(base::MessageLoopForUI* message_loop); base 55 ash/test/ash_test_helper.h base::MessageLoopForUI* message_loop() { return message_loop_; } base 65 ash/test/ash_test_helper.h base::MessageLoopForUI* message_loop_; // Not owned. base 38 ash/test/ash_test_helper_unittest.cc base::MessageLoopForUI message_loop_; base 12 ash/test/ash_unittests.cc return base::LaunchUnitTestsSerially( base 15 ash/test/ash_unittests.cc base::Bind(&ash::test::AuraShellTestSuite::Run, base 16 ash/test/ash_unittests.cc base::Unretained(&test_suite))); base 29 ash/test/display_manager_test_api.cc base::SplitString(specs, ',', &parts); base 27 ash/test/shelf_view_test_api.cc base::MessageLoop::current()->Quit(); base 95 ash/test/shelf_view_test_api.cc base::MessageLoop::current()->Run(); base 16 ash/test/test_metro_viewer_process_host.cc base::SingleThreadTaskRunner* ipc_task_runner) base 36 ash/test/test_metro_viewer_process_host.cc void TestMetroViewerProcessHost::OnOpenURL(const base::string16& url) { base 40 ash/test/test_metro_viewer_process_host.cc const base::string16& search_string) { base 18 ash/test/test_metro_viewer_process_host.h TestMetroViewerProcessHost(base::SingleThreadTaskRunner* ipc_task_runner); base 27 ash/test/test_metro_viewer_process_host.h virtual void OnOpenURL(const base::string16& url) OVERRIDE; base 29 ash/test/test_metro_viewer_process_host.h const base::string16& search_string) OVERRIDE; base 132 ash/test/test_session_state_delegate.cc const base::string16 TestSessionStateDelegate::GetUserDisplayName( base 134 ash/test/test_session_state_delegate.cc return base::UTF8ToUTF16("Über tray Über tray Über tray Über tray"); base 38 ash/test/test_session_state_delegate.h virtual const base::string16 GetUserDisplayName( base 90 ash/test/test_shelf_delegate.cc return base::EmptyString(); base 30 ash/test/test_shelf_item_delegate.cc base::string16 TestShelfItemDelegate::GetTitle() { base 31 ash/test/test_shelf_item_delegate.cc return window_ ? window_->title() : base::string16(); base 27 ash/test/test_shelf_item_delegate.h virtual base::string16 GetTitle() OVERRIDE; base 161 ash/test/test_shell_delegate.cc base::string16 TestShellDelegate::GetProductName() const { base 162 ash/test/test_shell_delegate.cc return base::string16(); base 62 ash/test/test_shell_delegate.h virtual base::string16 GetProductName() const OVERRIDE; base 32 ash/test/test_suite.cc base::TestSuite::Initialize(); base 36 ash/test/test_suite.cc base::win::Version version = base::win::GetVersion(); base 39 ash/test/test_suite.cc if (version >= base::win::VERSION_VISTA && base 42 ash/test/test_suite.cc com_initializer_.reset(new base::win::ScopedCOMInitializer()); base 44 ash/test/test_suite.cc if (version >= base::win::VERSION_WIN8) base 62 ash/test/test_suite.cc base::TestSuite::Shutdown(); base 19 ash/test/test_suite.h class AuraShellTestSuite : public base::TestSuite { base 30 ash/test/test_suite.h scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_; base 44 ash/test/test_system_tray_delegate.cc const base::TimeDelta& new_limit) { base 77 ash/test/test_system_tray_delegate.cc base::TimeTicks* session_start_time) { base 81 ash/test/test_system_tray_delegate.cc *session_start_time = base::TimeTicks::Now(); base 86 ash/test/test_system_tray_delegate.cc base::TimeDelta* session_length_limit) { base 93 ash/test/test_system_tray_delegate.cc base::MessageLoop::current()->Quit(); base 97 ash/test/test_system_tray_delegate.cc base::MessageLoop::current()->Quit(); base 39 ash/test/test_system_tray_delegate.h void SetSessionLengthLimitForTest(const base::TimeDelta& new_limit); base 48 ash/test/test_system_tray_delegate.h base::TimeTicks* session_start_time) OVERRIDE; base 50 ash/test/test_system_tray_delegate.h base::TimeDelta* session_length_limit) OVERRIDE; base 57 ash/test/test_system_tray_delegate.h base::TimeDelta session_length_limit_; base 68 ash/test/ui_controls_factory_ash.cc window, key, control, shift, alt, command, base::Closure()); base 78 ash/test/ui_controls_factory_ash.cc const base::Closure& closure) OVERRIDE { base 95 ash/test/ui_controls_factory_ash.cc const base::Closure& closure) OVERRIDE { base 109 ash/test/ui_controls_factory_ash.cc MouseButton type, int state, const base::Closure& closure) OVERRIDE { base 123 ash/test/ui_controls_factory_ash.cc const base::Closure& closure) OVERRIDE { base 96 ash/tooltips/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 105 ash/tooltips/tooltip_controller_unittest.cc view->set_tooltip_text(base::ASCIIToUTF16("Tooltip Text")); base 106 ash/tooltips/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 112 ash/tooltips/tooltip_controller_unittest.cc base::string16 expected_tooltip = base::ASCIIToUTF16("Tooltip Text"); base 141 ash/tooltips/tooltip_controller_unittest.cc view1->set_tooltip_text(base::ASCIIToUTF16("Tooltip Text for view 1")); base 148 ash/tooltips/tooltip_controller_unittest.cc view2->set_tooltip_text(base::ASCIIToUTF16("Tooltip Text for view 2")); base 114 ash/touch/touch_hud_debug.cc scoped_ptr<base::DictionaryValue> GetAsDictionary() const { base 115 ash/touch/touch_hud_debug.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 166 ash/touch/touch_hud_debug.cc scoped_ptr<base::ListValue> GetAsList() const { base 167 ash/touch/touch_hud_debug.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 201 ash/touch/touch_hud_debug.cc scoped_ptr<base::ListValue> GetAsList() const { base 202 ash/touch/touch_hud_debug.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 371 ash/touch/touch_hud_debug.cc scoped_ptr<base::DictionaryValue> TouchHudDebug::GetAllAsDictionary() { base 372 ash/touch/touch_hud_debug.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 379 ash/touch/touch_hud_debug.cc scoped_ptr<base::ListValue> list = hud->GetLogAsList(); base 381 ash/touch/touch_hud_debug.cc value->Set(base::Int64ToString(hud->display_id()), list.release()); base 401 ash/touch/touch_hud_debug.cc scoped_ptr<base::ListValue> TouchHudDebug::GetLogAsList() const { base 409 ash/touch/touch_hud_debug.cc touch_labels_[i]->SetText(base::string16()); base 450 ash/touch/touch_hud_debug.cc std::string string = base::StringPrintf("%2d: %s %s (%.4f)", base 455 ash/touch/touch_hud_debug.cc touch_labels_[index]->SetText(base::UTF8ToUTF16(string)); base 39 ash/touch/touch_hud_debug.h static scoped_ptr<base::DictionaryValue> GetAllAsDictionary(); base 47 ash/touch/touch_hud_debug.h scoped_ptr<base::ListValue> GetLogAsList() const; base 186 ash/touch/touch_observer_hud_unittest.cc DisplayInfo info(id, base::StringPrintf("x-%" PRId64, id), false); base 299 ash/touch/touch_observer_hud_unittest.cc event_time += base::TimeDelta::FromMilliseconds(100); base 303 ash/touch/touch_observer_hud_unittest.cc base::TimeDelta event_time; base 74 ash/touch/touch_uma.cc std::map<int, base::TimeDelta> last_move_time_; base 75 ash/touch/touch_uma.cc std::map<int, base::TimeDelta> last_start_time_; base 86 ash/touch/touch_uma.cc base::TimeDelta last_release_time_; base 91 ash/touch/touch_uma.cc base::TimeDelta last_mt_time_; base 299 ash/touch/touch_uma.cc base::TimeDelta diff = event.time_stamp() - details->last_mt_time_; base 301 ash/touch/touch_uma.cc base::TimeDelta gap = event.time_stamp() - details->last_release_time_; base 320 ash/touch/touch_uma.cc base::TimeDelta duration = event.time_stamp() - base 352 ash/touch/touch_uma.cc base::TimeDelta move_delay = event.time_stamp() - base 384 ash/touch/touch_uma.cc base::TimeDelta difference = event.time_stamp() - last_touch_down_time_; base 385 ash/touch/touch_uma.cc if (difference > base::TimeDelta::FromMilliseconds(250)) { base 77 ash/touch/touch_uma.h base::TimeDelta last_touch_down_time_; base 96 ash/wm/app_list_controller.cc if (base::i18n::IsRTL()) { base 277 ash/wm/app_list_controller.cc base::TimeDelta::FromMilliseconds( base 432 ash/wm/app_list_controller.cc animation.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 40 ash/wm/ash_native_cursor_manager_interactive_uitest.cc base::FilePath resources_pack_path; base 41 ash/wm/ash_native_cursor_manager_interactive_uitest.cc PathService::Get(base::DIR_MODULE, &resources_pack_path); base 64 ash/wm/ash_native_cursor_manager_interactive_uitest.cc XWarpPointer(base::MessagePumpX11::GetDefaultXDisplay(), base 72 ash/wm/ash_native_cursor_manager_interactive_uitest.cc base::RunLoop loop; base 178 ash/wm/ash_native_cursor_manager_unittest.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) base 43 ash/wm/boot_splash_screen_chromeos.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 44 ash/wm/boot_splash_screen_chromeos.cc return base::Closure(); base 67 ash/wm/boot_splash_screen_chromeos.cc void BootSplashScreen::StartHideAnimation(base::TimeDelta duration) { base 36 ash/wm/boot_splash_screen_chromeos.h void StartHideAnimation(base::TimeDelta duration); base 180 ash/wm/dock/docked_window_layout_manager.cc base::TimeDelta::FromMilliseconds(kTimeToSwitchBackgroundMs)); base 420 ash/wm/dock/docked_window_layout_manager.cc last_action_time_(base::Time::Now()), base 738 ash/wm/dock/docked_window_layout_manager.cc base::AutoReset<bool> auto_reset_in_layout(&in_layout_, true); base 840 ash/wm/dock/docked_window_layout_manager.cc window, base::TimeDelta::FromMilliseconds(kFadeDurationMs)); base 909 ash/wm/dock/docked_window_layout_manager.cc base::TimeDelta::FromMilliseconds(kMinimizeDurationMs)); base 957 ash/wm/dock/docked_window_layout_manager.cc base::Time time_now = base::Time::Now(); base 958 ash/wm/dock/docked_window_layout_manager.cc base::TimeDelta time_between_use = time_now - last_action_time_; base 962 ash/wm/dock/docked_window_layout_manager.cc base::TimeDelta::FromHours(10).InSeconds(), base 1027 ash/wm/dock/docked_window_layout_manager.cc base::AutoReset<bool> auto_reset_in_layout(&in_layout_, true); base 1217 ash/wm/dock/docked_window_layout_manager.cc base::TimeDelta::FromMilliseconds(kSlideDurationMs)); base 297 ash/wm/dock/docked_window_layout_manager.h base::Time last_action_time_; base 265 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(base::IntToString( base 281 ash/wm/dock/docked_window_layout_manager_unittest.cc base::IntToString(docked_width(manager) + min_dock_gap()) + base 284 ash/wm/dock/docked_window_layout_manager_unittest.cc base::IntToString( base 316 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(base::IntToString( base 332 ash/wm/dock/docked_window_layout_manager_unittest.cc base::IntToString( base 371 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(base::IntToString( base 388 ash/wm/dock/docked_window_layout_manager_unittest.cc base::IntToString( base 75 ash/wm/dock/docked_window_resizer.cc base::WeakPtr<DockedWindowResizer> resizer(weak_ptr_factory_.GetWeakPtr()); base 94 ash/wm/dock/docked_window_resizer.h base::WeakPtrFactory<DockedWindowResizer> weak_ptr_factory_; base 72 ash/wm/drag_window_resizer.cc base::WeakPtr<DragWindowResizer> resizer(weak_ptr_factory_.GetWeakPtr()); base 61 ash/wm/drag_window_resizer.h base::WeakPtrFactory<DragWindowResizer> weak_ptr_factory_; base 43 ash/wm/drag_window_resizer_unittest.cc UpdateDisplay(base::StringPrintf("800x%d", kRootHeight)); base 217 ash/wm/drag_window_resizer_unittest.cc EXPECT_EQ(base::IntToString(expected_x) + ",10 50x60", base 336 ash/wm/drag_window_resizer_unittest.cc EXPECT_EQ(base::IntToString(expected_x) + ",0 50x60", base 260 ash/wm/gestures/long_press_affordance_handler.cc base::TimeDelta::FromMilliseconds(timer_start_time_ms), base 349 ash/wm/gestures/long_press_affordance_handler.cc base::TimeDelta::FromMilliseconds(kAffordanceDelayBeforeShrinkMs), base 63 ash/wm/gestures/long_press_affordance_handler.h base::OneShotTimer<LongPressAffordanceHandler> timer_; base 45 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), base 50 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), base 55 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), base 60 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), base 72 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), base 76 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), base 89 ash/wm/gestures/overview_gesture_handler_unittest.cc base::TimeDelta timestamp = base::TimeDelta::FromInternalValue( base 90 ash/wm/gestures/overview_gesture_handler_unittest.cc base::TimeTicks::Now().ToInternalValue()); base 93 ash/wm/gestures/overview_gesture_handler_unittest.cc base::TimeDelta step_delay(base::TimeDelta::FromMilliseconds(5)); base 598 ash/wm/immersive_fullscreen_controller.cc base::TimeDelta::FromMilliseconds(kMouseRevealDelayMs), base 599 ash/wm/immersive_fullscreen_controller.cc base::Bind( base 601 ash/wm/immersive_fullscreen_controller.cc base::Unretained(this))); base 261 ash/wm/immersive_fullscreen_controller.h base::OneShotTimer<ImmersiveFullscreenController> top_edge_hover_timer_; base 292 ash/wm/immersive_fullscreen_controller.h base::WeakPtrFactory<ImmersiveFullscreenController> weak_ptr_factory_; base 250 ash/wm/immersive_fullscreen_controller_unittest.cc base::TimeDelta::FromMilliseconds(30), 1); base 10 ash/wm/immersive_revealed_lock.cc const base::WeakPtr<Delegate>& delegate, base 35 ash/wm/immersive_revealed_lock.h ImmersiveRevealedLock(const base::WeakPtr<Delegate>& delegate, base 40 ash/wm/immersive_revealed_lock.h base::WeakPtr<Delegate> delegate_; base 56 ash/wm/lock_state_controller.cc settings.SetTransitionDuration(base::TimeDelta()); base 63 ash/wm/lock_state_controller.cc settings.SetTransitionDuration(base::TimeDelta()); base 78 ash/wm/lock_state_controller.cc explicit AnimationFinishedObserver(base::Closure &callback) base 137 ash/wm/lock_state_controller.cc base::Closure callback_; base 286 ash/wm/lock_state_controller.cc base::Callback<void(void)>& callback) { base 291 ash/wm/lock_state_controller.cc const base::Closure& callback) { base 348 ash/wm/lock_state_controller.cc base::TimeDelta::FromMilliseconds(kLockToShutdownTimeoutMs), base 377 ash/wm/lock_state_controller.cc base::TimeDelta duration = base 378 ash/wm/lock_state_controller.cc base::TimeDelta::FromMilliseconds(kShutdownRequestDelayMs); base 387 ash/wm/lock_state_controller.cc base::TimeDelta sound_duration = delegate->PlayShutdownSound(); base 390 ash/wm/lock_state_controller.cc base::TimeDelta::FromMilliseconds(kMaxShutdownSoundDurationMs)); base 402 ash/wm/lock_state_controller.cc if (!base::SysInfo::IsRunningOnChromeOS()) { base 432 ash/wm/lock_state_controller.cc base::Closure next_animation_starter = base 433 ash/wm/lock_state_controller.cc base::Bind(&LockStateController::PreLockAnimationFinished, base 469 ash/wm/lock_state_controller.cc base::Closure next_animation_starter = base 470 ash/wm/lock_state_controller.cc base::Bind(&LockStateController::PreLockAnimationFinished, base 503 ash/wm/lock_state_controller.cc base::Closure next_animation_starter = base 504 ash/wm/lock_state_controller.cc base::Bind(&LockStateController::LockAnimationCancelled, base 529 ash/wm/lock_state_controller.cc base::Closure next_animation_starter = base 530 ash/wm/lock_state_controller.cc base::Bind(&LockStateController::PostLockAnimationFinished, base 546 ash/wm/lock_state_controller.cc base::Closure& callback) { base 557 ash/wm/lock_state_controller.cc base::Closure next_animation_starter = base 558 ash/wm/lock_state_controller.cc base::Bind(&LockStateController::UnlockAnimationAfterUIDestroyedFinished, base 600 ash/wm/lock_state_controller.cc std::string board = base::SysInfo::GetLsbReleaseBoard(); base 612 ash/wm/lock_state_controller.cc base::TimeDelta::FromMilliseconds(lock_timeout), base 195 ash/wm/lock_state_controller.h void OnLockScreenHide(base::Closure& callback); base 199 ash/wm/lock_state_controller.h void SetLockScreenDisplayedCallback(const base::Closure& callback); base 253 ash/wm/lock_state_controller.h void StartUnlockAnimationBeforeUIDestroyed(base::Closure &callback); base 305 ash/wm/lock_state_controller.h base::OneShotTimer<LockStateController> lock_fail_timer_; base 310 ash/wm/lock_state_controller.h base::OneShotTimer<LockStateController> lock_to_shutdown_timer_; base 314 ash/wm/lock_state_controller.h base::OneShotTimer<LockStateController> pre_shutdown_timer_; base 319 ash/wm/lock_state_controller.h base::OneShotTimer<LockStateController> real_shutdown_timer_; base 321 ash/wm/lock_state_controller.h base::Closure lock_screen_displayed_callback_; base 323 ash/wm/lock_state_controller.h base::WeakPtrFactory<LockStateController> weak_ptr_factory_; base 65 ash/wm/lock_state_controller_unittest.cc settings.SetTransitionDuration(base::TimeDelta()); base 345 ash/wm/lock_state_controller_unittest.cc controller_->OnPowerButtonEvent(true, base::TimeTicks::Now()); base 350 ash/wm/lock_state_controller_unittest.cc controller_->OnPowerButtonEvent(false, base::TimeTicks::Now()); base 355 ash/wm/lock_state_controller_unittest.cc controller_->OnLockButtonEvent(true, base::TimeTicks::Now()); base 359 ash/wm/lock_state_controller_unittest.cc controller_->OnLockButtonEvent(false, base::TimeTicks::Now()); base 369 ash/wm/lock_state_controller_unittest.cc base::Closure closure = base::Bind(&CheckCalledCallback, call_flag); base 49 ash/wm/maximize_mode/maximize_mode_controller.cc float AngleBetweenVectorsInDegrees(const gfx::Vector3dF& base, base 51 ash/wm/maximize_mode/maximize_mode_controller.cc return acos(gfx::DotProduct(base, other) / base 52 ash/wm/maximize_mode/maximize_mode_controller.cc base.Length() / other.Length()) * kRadiansToDegrees; base 57 ash/wm/maximize_mode/maximize_mode_controller.cc float ClockwiseAngleBetweenVectorsInDegrees(const gfx::Vector3dF& base, base 60 ash/wm/maximize_mode/maximize_mode_controller.cc float angle = AngleBetweenVectorsInDegrees(base, other); base 61 ash/wm/maximize_mode/maximize_mode_controller.cc gfx::Vector3dF cross(base); base 82 ash/wm/maximize_mode/maximize_mode_controller.cc const gfx::Vector3dF& base, base 86 ash/wm/maximize_mode/maximize_mode_controller.cc HandleHingeRotation(base, lid); base 90 ash/wm/maximize_mode/maximize_mode_controller.cc void MaximizeModeController::HandleHingeRotation(const gfx::Vector3dF& base, base 99 ash/wm/maximize_mode/maximize_mode_controller.cc float hinge_angle = AngleBetweenVectorsInDegrees(base, hinge_vector); base 106 ash/wm/maximize_mode/maximize_mode_controller.cc float angle = ClockwiseAngleBetweenVectorsInDegrees(base, lid, hinge_vector); base 21 ash/wm/maximize_mode/maximize_mode_controller.h virtual void OnAccelerometerUpdated(const gfx::Vector3dF& base, base 26 ash/wm/maximize_mode/maximize_mode_controller.h void HandleHingeRotation(const gfx::Vector3dF& base, base 48 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc void TriggerAccelerometerUpdate(const gfx::Vector3dF& base, base 50 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc maximize_mode_controller()->OnAccelerometerUpdated(base, lid); base 71 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF base(0.0f, 0.0f, 1.0f); base 74 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(-1.0f, 0.0f, 0.0f)); base 78 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(0.05f, 0.0f, -1.0f)); base 82 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(1.0f, 0.0f, 0.0f)); base 87 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(-0.05f, 0.0f, 1.0f)); base 91 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(-0.05f, 0.0f, -1.0f)); base 95 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(-1.0f, 0.0f, 0.0f)); base 103 ash/wm/maximize_mode/workspace_backdrop_delegate.cc base::AutoReset<bool> lock(&in_restacking_, true); base 134 ash/wm/maximize_mode/workspace_backdrop_delegate.cc settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds(0)); base 32 ash/wm/overview/scoped_transform_overview_window.cc SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 127 ash/wm/overview/window_overview.cc overview_start_time_(base::Time::Now()), base 159 ash/wm/overview/window_overview.cc settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 172 ash/wm/overview/window_overview.cc base::Time::Now() - overview_start_time_); base 213 ash/wm/overview/window_overview.cc base::TimeDelta::FromMilliseconds( base 227 ash/wm/overview/window_overview.cc animation_settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 348 ash/wm/overview/window_overview.cc settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 114 ash/wm/overview/window_overview.h base::Time overview_start_time_; base 284 ash/wm/overview/window_selector.cc cycle_start_time_ = base::Time::Now(); base 306 ash/wm/overview/window_selector.cc base::Time::Now() - cycle_start_time_); base 328 ash/wm/overview/window_selector.cc base::AutoReset<bool> restoring_focus(&ignore_activations_, true); base 466 ash/wm/overview/window_selector.cc base::AutoReset<bool> restoring_focus(&ignore_activations_, true); base 116 ash/wm/overview/window_selector.h base::Time cycle_start_time_; base 78 ash/wm/overview/window_selector_controller.cc last_selection_time_ = base::Time::Now(); base 84 ash/wm/overview/window_selector_controller.cc last_selection_time_ = base::Time::Now(); base 95 ash/wm/overview/window_selector_controller.cc base::Time::Now() - last_selection_time_); base 63 ash/wm/overview/window_selector_controller.h base::Time last_selection_time_; base 23 ash/wm/overview/window_selector_item.cc base::AutoReset<bool> auto_reset_in_bounds_update(&in_bounds_update_, true); base 33 ash/wm/overview/window_selector_item.cc base::AutoReset<bool> auto_reset_in_bounds_update(&in_bounds_update_, true); base 75 ash/wm/overview/window_selector_panels.cc ui::LayerAnimationElement::OPACITY, base::TimeDelta::FromMilliseconds( base 78 ash/wm/overview/window_selector_panels.cc base::TimeDelta::FromMilliseconds( base 1042 ash/wm/overview/window_selector_unittest.cc base::MessageLoopForUI::current()->PostTask(FROM_HERE, base 1043 ash/wm/overview/window_selector_unittest.cc base::Bind(&WindowSelectorTest::ToggleOverview, base 1044 ash/wm/overview/window_selector_unittest.cc base::Unretained(this))); base 1045 ash/wm/overview/window_selector_unittest.cc base::MessageLoopForUI::current()->PostTask(FROM_HERE, base 1046 ash/wm/overview/window_selector_unittest.cc base::Bind(&CancelDrag, drag_drop_controller, &drag_canceled_by_test)); base 1047 ash/wm/overview/window_selector_unittest.cc data.SetString(base::UTF8ToUTF16("I am being dragged")); base 148 ash/wm/overview/window_selector_window.cc base::TimeDelta::FromMilliseconds( base 155 ash/wm/overview/window_selector_window.cc settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 164 ash/wm/overview/window_selector_window.cc settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 348 ash/wm/panels/panel_layout_manager.cc base::AutoReset<bool> auto_reset_in_add_window(&in_add_window_, true); base 549 ash/wm/panels/panel_layout_manager.cc base::TimeDelta::FromMilliseconds(kPanelSlideDurationMilliseconds)); base 578 ash/wm/panels/panel_layout_manager.cc base::AutoReset<bool> auto_reset_in_layout(&in_layout_, true); base 715 ash/wm/panels/panel_layout_manager.cc base::TimeDelta::FromMilliseconds(kPanelSlideDurationMilliseconds)); base 859 ash/wm/panels/panel_layout_manager.cc base::TimeDelta::FromMilliseconds(delay), base 866 ash/wm/panels/panel_layout_manager.cc base::TimeDelta::FromMilliseconds( base 182 ash/wm/panels/panel_layout_manager.h base::WeakPtrFactory<PanelLayoutManager> weak_factory_; base 162 ash/wm/panels/panel_layout_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 282 ash/wm/panels/panel_layout_manager_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 284 ash/wm/panels/panel_layout_manager_unittest.cc ASSERT_EQ(is_rtl_, base::i18n::IsRTL()); base 289 ash/wm/panels/panel_layout_manager_unittest.cc base::i18n::SetICUDefaultLocale(original_locale); base 92 ash/wm/panels/panel_window_resizer.cc base::WeakPtr<PanelWindowResizer> resizer(weak_ptr_factory_.GetWeakPtr()); base 77 ash/wm/panels/panel_window_resizer.h base::WeakPtrFactory<PanelWindowResizer> weak_ptr_factory_; base 201 ash/wm/panels/panel_window_resizer_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 203 ash/wm/panels/panel_window_resizer_unittest.cc ASSERT_EQ(is_rtl_, base::i18n::IsRTL()); base 208 ash/wm/panels/panel_window_resizer_unittest.cc base::i18n::SetICUDefaultLocale(original_locale); base 485 ash/wm/panels/panel_window_resizer_unittest.cc DragAlongShelfReorder(base::i18n::IsRTL() ? 1 : -1, 0); base 46 ash/wm/power_button_controller.cc bool down, const base::TimeTicks& timestamp) { base 95 ash/wm/power_button_controller.cc bool down, const base::TimeTicks& timestamp) { base 54 ash/wm/power_button_controller.h void OnPowerButtonEvent(bool down, const base::TimeTicks& timestamp); base 55 ash/wm/power_button_controller.h void OnLockButtonEvent(bool down, const base::TimeTicks& timestamp); base 33 ash/wm/resize_shadow.cc base::TimeDelta::FromMilliseconds(kShadowAnimationDurationMs)); base 193 ash/wm/resize_shadow_and_cursor_unittest.cc base::TimeDelta::FromMilliseconds(200), base 195 ash/wm/resize_shadow_and_cursor_unittest.cc base::Bind(&ResizeShadowAndCursorTest::ProcessBottomRightResizeGesture, base 196 ash/wm/resize_shadow_and_cursor_unittest.cc base::Unretained(this))); base 55 ash/wm/screen_dimmer.cc base::TimeDelta::FromMilliseconds(kDimmingTransitionMs)); base 55 ash/wm/session_state_animator.cc base::TimeDelta duration, base 72 ash/wm/session_state_animator.cc base::TimeDelta duration, base 89 ash/wm/session_state_animator.cc base::TimeDelta duration, base 108 ash/wm/session_state_animator.cc base::TimeDelta duration, base 124 ash/wm/session_state_animator.cc base::TimeDelta duration, base 154 ash/wm/session_state_animator.cc base::TimeDelta duration, base 175 ash/wm/session_state_animator.cc settings.SetTransitionDuration(base::TimeDelta()); base 186 ash/wm/session_state_animator.cc 0.0, base::TimeDelta())); base 194 ash/wm/session_state_animator.cc base::TimeDelta duration, base 218 ash/wm/session_state_animator.cc 1.0, base::TimeDelta())); base 225 ash/wm/session_state_animator.cc base::TimeDelta duration, base 234 ash/wm/session_state_animator.cc settings.SetTransitionDuration(base::TimeDelta()); base 246 ash/wm/session_state_animator.cc base::TimeDelta duration, base 285 ash/wm/session_state_animator.cc explicit CallbackAnimationObserver(base::Callback<void(void)> &callback) base 310 ash/wm/session_state_animator.cc base::Callback<void(void)> callback_; base 426 ash/wm/session_state_animator.cc base::TimeDelta SessionStateAnimator::GetDuration(AnimationSpeed speed) { base 429 ash/wm/session_state_animator.cc return base::TimeDelta(); base 431 ash/wm/session_state_animator.cc return base::TimeDelta::FromMilliseconds(400); base 433 ash/wm/session_state_animator.cc return base::TimeDelta::FromMilliseconds(150); base 435 ash/wm/session_state_animator.cc return base::TimeDelta::FromMilliseconds(150); base 437 ash/wm/session_state_animator.cc return base::TimeDelta::FromMilliseconds(200); base 439 ash/wm/session_state_animator.cc return base::TimeDelta::FromMilliseconds(350); base 441 ash/wm/session_state_animator.cc return base::TimeDelta::FromMilliseconds(350); base 443 ash/wm/session_state_animator.cc return base::TimeDelta::FromMilliseconds(1000); base 445 ash/wm/session_state_animator.cc return base::TimeDelta::FromMilliseconds(500); base 450 ash/wm/session_state_animator.cc return base::TimeDelta(); base 511 ash/wm/session_state_animator.cc base::Callback<void(void)>& callback) { base 546 ash/wm/session_state_animator.cc base::TimeDelta duration = GetDuration(speed); base 135 ash/wm/session_state_animator.h static base::TimeDelta GetDuration(AnimationSpeed speed); base 153 ash/wm/session_state_animator.h base::Callback<void(void)>& callback); base 75 ash/wm/status_area_layout_manager.cc base::AutoReset<bool> auto_reset_in_layout(&in_layout_, true); base 123 ash/wm/system_gesture_event_filter_unittest.cc base::OneShotTimer<LongPressAffordanceHandler>* base 163 ash/wm/system_gesture_event_filter_unittest.cc base::TimeDelta::FromMilliseconds(base::Time::Now().ToDoubleT() * 1000), base 197 ash/wm/system_gesture_event_filter_unittest.cc base::OneShotTimer<LongPressAffordanceHandler>* timer = base 276 ash/wm/system_modal_container_layout_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 405 ash/wm/toplevel_window_event_handler.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 406 ash/wm/toplevel_window_event_handler.cc base::MessageLoop::ScopedNestableTaskAllower allow_nested(loop); base 407 ash/wm/toplevel_window_event_handler.cc base::RunLoop run_loop; base 114 ash/wm/toplevel_window_event_handler.h base::Closure quit_closure_; base 414 ash/wm/toplevel_window_event_handler_unittest.cc base::TimeDelta::FromMilliseconds(5), base 428 ash/wm/toplevel_window_event_handler_unittest.cc base::TimeDelta::FromMilliseconds(5), base 444 ash/wm/toplevel_window_event_handler_unittest.cc base::TimeDelta::FromMilliseconds(5), base 460 ash/wm/toplevel_window_event_handler_unittest.cc base::TimeDelta::FromMilliseconds(5), base 492 ash/wm/toplevel_window_event_handler_unittest.cc base::TimeDelta::FromMilliseconds(5), base 515 ash/wm/toplevel_window_event_handler_unittest.cc base::TimeDelta::FromMilliseconds(5), base 542 ash/wm/toplevel_window_event_handler_unittest.cc base::TimeDelta::FromMilliseconds(5), base 560 ash/wm/toplevel_window_event_handler_unittest.cc base::TimeDelta::FromMilliseconds(5), base 605 ash/wm/toplevel_window_event_handler_unittest.cc base::TimeDelta::FromMilliseconds(10), base 32 ash/wm/video_detector.cc base::TimeTicks now) { base 52 ash/wm/video_detector.cc base::TimeTicks update_times_[kMinFramesPerSecond]; base 95 ash/wm/video_detector.cc base::TimeTicks now = base 96 ash/wm/video_detector.cc !now_for_test_.is_null() ? now_for_test_ : base::TimeTicks::Now(); base 113 ash/wm/video_detector.cc base::TimeTicks now) { base 63 ash/wm/video_detector.h void set_now_for_test(base::TimeTicks now) { now_for_test_ = now; } base 86 ash/wm/video_detector.h void MaybeNotifyObservers(aura::Window* window, base::TimeTicks now); base 94 ash/wm/video_detector.h base::TimeTicks last_observer_notification_time_; base 98 ash/wm/video_detector.h base::TimeTicks now_for_test_; base 75 ash/wm/video_detector_unittest.cc now_ = base::TimeTicks::Now(); base 86 ash/wm/video_detector_unittest.cc void AdvanceTime(base::TimeDelta delta) { base 95 ash/wm/video_detector_unittest.cc base::TimeTicks now_; base 117 ash/wm/video_detector_unittest.cc AdvanceTime(base::TimeDelta::FromSeconds(2)); base 139 ash/wm/video_detector_unittest.cc AdvanceTime(base::TimeDelta::FromSeconds(2)); base 143 ash/wm/video_detector_unittest.cc AdvanceTime(base::TimeDelta::FromMilliseconds(500)); base 145 ash/wm/video_detector_unittest.cc base::TimeDelta kInterval = base 146 ash/wm/video_detector_unittest.cc base::TimeDelta::FromMilliseconds(1000 / kNumFrames); base 161 ash/wm/video_detector_unittest.cc base::TimeDelta kSlowInterval = base::TimeDelta::FromMilliseconds( base 207 ash/wm/video_detector_unittest.cc AdvanceTime(base::TimeDelta::FromSeconds(2)); base 217 ash/wm/video_detector_unittest.cc AdvanceTime(base::TimeDelta::FromSeconds(2)); base 268 ash/wm/video_detector_unittest.cc AdvanceTime(base::TimeDelta::FromSeconds( base 318 ash/wm/video_detector_unittest.cc AdvanceTime(base::TimeDelta::FromSeconds(2)); base 330 ash/wm/video_detector_unittest.cc AdvanceTime(base::TimeDelta::FromSeconds(2)); base 69 ash/wm/window_animations.cc base::TimeDelta GetCrossFadeDuration(aura::Window* window, base 73 ash/wm/window_animations.cc return base::TimeDelta(); base 80 ash/wm/window_animations.cc return base::TimeDelta::FromMilliseconds(kCrossFadeDurationMS); base 85 ash/wm/window_animations.cc return base::TimeDelta::FromMilliseconds(kCrossFadeDurationMS); base 90 ash/wm/window_animations.cc return base::TimeDelta::FromMilliseconds( base 122 ash/wm/window_animations.cc base::TimeDelta duration = window->layer()->GetAnimator()-> base 154 ash/wm/window_animations.cc base::TimeDelta()))); base 160 ash/wm/window_animations.cc base::TimeDelta duration = base::TimeDelta::FromMilliseconds( base 174 ash/wm/window_animations.cc base::TimeDelta duration = base::TimeDelta::FromMilliseconds( base 200 ash/wm/window_animations.cc base::TimeDelta duration = base 201 ash/wm/window_animations.cc base::TimeDelta::FromMilliseconds(kBrightnessGrayscaleFadeDurationMs); base 290 ash/wm/window_animations.cc base::TimeTicks start_time) OVERRIDE { base 324 ash/wm/window_animations.cc base::TimeDelta CrossFadeAnimation( base 334 ash/wm/window_animations.cc const base::TimeDelta duration = GetCrossFadeDuration(window, base 414 ash/wm/window_animations.cc base::TimeDelta duration) { base 52 ash/wm/window_animations.h ASH_EXPORT base::TimeDelta CrossFadeAnimation( base 65 ash/wm/window_animations.h base::TimeDelta duration); base 47 ash/wm/window_animations_unittest.cc base::TimeDelta duration() { return duration_; } base 63 ash/wm/window_animations_unittest.cc base::TimeDelta duration_; base 95 ash/wm/window_animations_unittest.cc element->Step(base::TimeTicks::Now() + base 96 ash/wm/window_animations_unittest.cc base::TimeDelta::FromSeconds(5)); base 145 ash/wm/window_animations_unittest.cc base::TimeTicks::Now() + base::TimeDelta::FromSeconds(1)); base 147 ash/wm/window_animations_unittest.cc Step(base::TimeTicks::Now() + base::TimeDelta::FromSeconds(1)); base 167 ash/wm/window_animations_unittest.cc base::TimeTicks::Now() + base::TimeDelta::FromSeconds(1)); base 169 ash/wm/window_animations_unittest.cc Step(base::TimeTicks::Now() + base::TimeDelta::FromSeconds(1)); base 187 ash/wm/window_animations_unittest.cc settings1.SetTransitionDuration(base::TimeDelta::FromMilliseconds(1000)); base 191 ash/wm/window_animations_unittest.cc settings2.SetTransitionDuration(base::TimeDelta::FromMilliseconds(50)); base 207 ash/wm/window_animations_unittest.cc settings1.SetTransitionDuration(base::TimeDelta::FromMilliseconds(1000)); base 213 ash/wm/window_animations_unittest.cc settings2.SetTransitionDuration(base::TimeDelta::FromMilliseconds(50)); base 231 ash/wm/window_animations_unittest.cc base::TimeDelta default_duration(observer.duration()); base 239 ash/wm/window_animations_unittest.cc settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds(1000)); base 54 ash/wm/window_manager_unittest.cc base::TimeDelta getTime() { base 124 ash/wm/window_positioner.cc base::TimeDelta::FromMilliseconds(kWindowAutoMoveDurationMS)); base 336 ash/wm/window_state.cc base::AutoReset<bool> resetter(&ignore_property_change_, true); base 373 ash/wm/window_state.cc base::TimeDelta::FromMilliseconds(kBoundsChangeSlideDurationMs)); base 185 ash/wm/workspace/multi_window_resize_controller.cc FROM_HERE, base::TimeDelta::FromMilliseconds(kShowDelayMS), base 366 ash/wm/workspace/multi_window_resize_controller.cc base::TimeDelta::FromMilliseconds(kHideDelayMS), base 407 ash/wm/workspace/multi_window_resize_controller.cc base::TimeDelta::FromMilliseconds(kHideDelayMS)); base 157 ash/wm/workspace/multi_window_resize_controller.h base::OneShotTimer<MultiWindowResizeController> hide_timer_; base 160 ash/wm/workspace/multi_window_resize_controller.h base::OneShotTimer<MultiWindowResizeController> show_timer_; base 78 ash/wm/workspace/phantom_window_controller.cc base::TimeDelta::FromMilliseconds(kAnimationDurationMs)); base 284 ash/wm/workspace/phantom_window_controller.cc base::TimeDelta::FromMilliseconds(kAnimationDurationMs)); base 26 ash/wm/workspace/two_step_edge_cycler.cc time_last_move_(base::TimeTicks::Now()), base 40 ash/wm/workspace/two_step_edge_cycler.cc (base::TimeTicks::Now() - time_last_move_).InMilliseconds() > base 44 ash/wm/workspace/two_step_edge_cycler.cc time_last_move_ = base::TimeTicks::Now(); base 36 ash/wm/workspace/two_step_edge_cycler.h base::TimeTicks time_last_move_; base 145 ash/wm/workspace/workspace_event_handler_unittest.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) base 450 ash/wm/workspace/workspace_event_handler_unittest.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, window.get()); base 808 ash/wm/workspace/workspace_layout_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 392 ash/wm/workspace/workspace_window_resizer.cc base::WeakPtr<WorkspaceWindowResizer> resizer( base 215 ash/wm/workspace/workspace_window_resizer.h base::WeakPtrFactory<WorkspaceWindowResizer> weak_ptr_factory_; base 79 ash/wm/workspace/workspace_window_resizer_unittest.cc UpdateDisplay(base::StringPrintf("800x%d", kRootHeight)); base 137 ash/wm/workspace/workspace_window_resizer_unittest.cc result += base::IntToString((*i)->id()); base 623 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ("250,0 250x" + base::IntToString(bottom), base 806 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ("100," + base::IntToString(expected_y) + " 300x400", base 838 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ("100," + base::IntToString(expected_y) + " 300x20", base 857 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ("100," + base::IntToString(expected_y) + " 300x400", base 913 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(base::IntToString(window_x) + ",100 " + base 914 ash/wm/workspace/workspace_window_resizer_unittest.cc base::IntToString(kMinimumOnScreenArea - window_x) + base 931 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(base::IntToString(right - kMinimumOnScreenArea) + base 933 ash/wm/workspace/workspace_window_resizer_unittest.cc base::IntToString(window_width - pixels_to_right_border + base 951 ash/wm/workspace/workspace_window_resizer_unittest.cc base::IntToString(bottom - kMinimumOnScreenArea) + base 953 ash/wm/workspace/workspace_window_resizer_unittest.cc base::IntToString(height - (delta_to_bottom - base 975 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(base::IntToString(right - kMinimumOnScreenArea) + base 977 ash/wm/workspace/workspace_window_resizer_unittest.cc base::IntToString(window_width) + base 990 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(base::IntToString(window_x + window_width) + base 992 ash/wm/workspace/workspace_window_resizer_unittest.cc base::IntToString(window_width) + base 1754 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1761 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1768 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1788 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1795 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1802 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1822 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1829 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1836 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1856 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1863 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 1870 ash/wm/workspace/workspace_window_resizer_unittest.cc base::TimeDelta::FromMilliseconds(10), base 123 ash/wm/workspace_controller.cc base::TimeDelta::FromMilliseconds(kInitialPauseTimeMS), base 130 ash/wm/workspace_controller.cc base::TimeDelta::FromMilliseconds(kCrossFadeDurationMS)); base 813 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(base::IntToString( base 820 ash/wm/workspace_controller_unittest.cc base::IntToString( base 835 ash/wm/workspace_controller_unittest.cc base::IntToString( base 848 ash/wm/workspace_controller_unittest.cc base::IntToString( base 886 ash/wm/workspace_controller_unittest.cc base::IntToString(desktop_area.width() - window2->bounds().width()) + base 970 ash/wm/workspace_controller_unittest.cc EXPECT_EQ("0," + base::IntToString(user_pos.y()) + base 973 ash/wm/workspace_controller_unittest.cc base::IntToString(desktop_area.width() - window2->bounds().width()) + base 1003 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(base::IntToString( base 1009 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(base::IntToString( base 1033 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(base::IntToString( base 1056 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(base::IntToString( base 1067 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(base::IntToString( base 1089 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(base::IntToString( base 1098 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(base::IntToString( base 1135 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(base::IntToString( base 14 base/allocator/allocator_extension.h namespace base { base 10 base/allocator/allocator_extension_thunks.h namespace base { base 273 base/allocator/allocator_shim.cc base::allocator::thunks::SetGetAllocatorWasteSizeFunction( base 275 base/allocator/allocator_shim.cc base::allocator::thunks::SetGetStatsFunction(get_stats_thunk); base 276 base/allocator/allocator_shim.cc base::allocator::thunks::SetReleaseFreeMemoryFunction( base 10 base/allocator/allocator_shim.h namespace base { base 108 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 1), 1); base 113 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 2), 3); base 118 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 3), 6); base 123 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -3), 3); base 128 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -2), 1); base 133 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), 0); base 138 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), -1); base 143 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -4), -5); base 148 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 5), 0); base 161 base/allocator/allocator_unittest.cc AtomicType prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 1); base 170 base/allocator/allocator_unittest.cc prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 5); base 175 base/allocator/allocator_unittest.cc prev = base::subtle::NoBarrier_CompareAndSwap(&value, k_test_val, 5); base 184 base/allocator/allocator_unittest.cc AtomicType new_value = base::subtle::NoBarrier_AtomicExchange(&value, 1); base 193 base/allocator/allocator_unittest.cc new_value = base::subtle::NoBarrier_AtomicExchange(&value, k_test_val); base 198 base/allocator/allocator_unittest.cc new_value = base::subtle::NoBarrier_AtomicExchange(&value, 5); base 210 base/allocator/allocator_unittest.cc AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); base 214 base/allocator/allocator_unittest.cc base::subtle::NoBarrier_AtomicIncrement(&value, -1); base 227 base/allocator/allocator_unittest.cc base::subtle::NoBarrier_Store(&value, kVal1); base 229 base/allocator/allocator_unittest.cc base::subtle::NoBarrier_Store(&value, kVal2); base 232 base/allocator/allocator_unittest.cc base::subtle::Acquire_Store(&value, kVal1); base 234 base/allocator/allocator_unittest.cc base::subtle::Acquire_Store(&value, kVal2); base 237 base/allocator/allocator_unittest.cc base::subtle::Release_Store(&value, kVal1); base 239 base/allocator/allocator_unittest.cc base::subtle::Release_Store(&value, kVal2); base 253 base/allocator/allocator_unittest.cc EXPECT_EQ(kVal1, base::subtle::NoBarrier_Load(&value)); base 255 base/allocator/allocator_unittest.cc EXPECT_EQ(kVal2, base::subtle::NoBarrier_Load(&value)); base 258 base/allocator/allocator_unittest.cc EXPECT_EQ(kVal1, base::subtle::Acquire_Load(&value)); base 260 base/allocator/allocator_unittest.cc EXPECT_EQ(kVal2, base::subtle::Acquire_Load(&value)); base 263 base/allocator/allocator_unittest.cc EXPECT_EQ(kVal1, base::subtle::Release_Load(&value)); base 265 base/allocator/allocator_unittest.cc EXPECT_EQ(kVal2, base::subtle::Release_Load(&value)); base 12 base/allocator/tcmalloc_unittest.cc using base::allocator::TCMallocDoMallocForTest; base 13 base/allocator/tcmalloc_unittest.cc using base::allocator::TCMallocDoFreeForTest; base 14 base/allocator/tcmalloc_unittest.cc using base::allocator::ExcludeSpaceForMarkForTest; base 17 base/allocator/type_profiler.cc base::type_profiler::InterceptFunction* g_new_intercept = NopIntercept; base 18 base/allocator/type_profiler.cc base::type_profiler::InterceptFunction* g_delete_intercept = NopIntercept; base 13 base/allocator/type_profiler.h namespace base { base 10 base/allocator/type_profiler_control.h namespace base { base 13 base/allocator/type_profiler_tcmalloc.h namespace base { base 15 base/android/application_status_listener.cc base::internal::LeakyLazyInstanceTraits< base 16 base/android/application_status_listener.cc ObserverListThreadSafe<base::android::ApplicationStatusListener> > { base 17 base/android/application_status_listener.cc static ObserverListThreadSafe<base::android::ApplicationStatusListener>* base 19 base/android/application_status_listener.cc ObserverListThreadSafe<base::android::ApplicationStatusListener>* ret = base 20 base/android/application_status_listener.cc base::internal::LeakyLazyInstanceTraits<ObserverListThreadSafe< base 21 base/android/application_status_listener.cc base::android::ApplicationStatusListener> >::New(instance); base 28 base/android/application_status_listener.cc base::LazyInstance<ObserverListThreadSafe< base 29 base/android/application_status_listener.cc base::android::ApplicationStatusListener>, base 44 base/android/application_status_listener.cc base::android::AttachCurrentThread()); base 17 base/android/application_status_listener.h namespace base { base 56 base/android/application_status_listener.h typedef base::Callback<void(ApplicationState)> ApplicationStateChangeCallback; base 21 base/android/application_status_listener_unittest.cc using base::android::ScopedJavaLocalRef; base 54 base/android/application_status_listener_unittest.cc base::Bind(&MultiThreadedTest::RegisterThreadForEvents, base 55 base/android/application_status_listener_unittest.cc base::Unretained(this))); base 75 base/android/application_status_listener_unittest.cc EXPECT_EQ(thread_.message_loop(), base::MessageLoop::current()); base 80 base/android/application_status_listener_unittest.cc listener_.reset(new ApplicationStatusListener(base::Bind( base 81 base/android/application_status_listener_unittest.cc &MultiThreadedTest::StoreStateAndSignal, base::Unretained(this)))); base 93 base/android/application_status_listener_unittest.cc base::WaitableEvent event_; base 94 base/android/application_status_listener_unittest.cc base::Thread thread_; base 95 base/android/application_status_listener_unittest.cc base::MessageLoop main_; base 109 base/android/application_status_listener_unittest.cc base::Bind(&StoreStateTo, base::Unretained(&result))); base 32 base/android/base_jni_registrar.cc base::android::ApplicationStatusListener::RegisterBindings }, base 33 base/android/base_jni_registrar.cc { "BuildInfo", base::android::BuildInfo::RegisterBindings }, base 34 base/android/base_jni_registrar.cc { "CommandLine", base::android::RegisterCommandLine }, base 35 base/android/base_jni_registrar.cc { "ContentUriUtils", base::RegisterContentUriUtils }, base 36 base/android/base_jni_registrar.cc { "CpuFeatures", base::android::RegisterCpuFeatures }, base 38 base/android/base_jni_registrar.cc base::android::RegisterImportantFileWriterAndroid }, base 40 base/android/base_jni_registrar.cc base::android::MemoryPressureListenerAndroid::Register }, base 41 base/android/base_jni_registrar.cc { "JavaHandlerThread", base::android::JavaHandlerThread::RegisterBindings }, base 42 base/android/base_jni_registrar.cc { "PathService", base::android::RegisterPathService }, base 43 base/android/base_jni_registrar.cc { "PathUtils", base::android::RegisterPathUtils }, base 44 base/android/base_jni_registrar.cc { "SystemMessageHandler", base::MessagePumpForUI::RegisterBindings }, base 45 base/android/base_jni_registrar.cc { "SysUtils", base::android::SysUtils::Register }, base 46 base/android/base_jni_registrar.cc { "PowerMonitor", base::RegisterPowerMonitor }, base 47 base/android/base_jni_registrar.cc { "ThreadUtils", base::RegisterThreadUtils }, base 48 base/android/base_jni_registrar.cc { "TraceEvent", base::android::RegisterTraceEvent }, base 12 base/android/base_jni_registrar.h namespace base { base 19 base/android/build_info.cc const char* StrDupJString(const base::android::JavaRef<jstring>& java_string) { base 15 base/android/build_info.h namespace base { base 13 base/android/command_line_android.cc using base::android::ConvertUTF8ToJavaString; base 14 base/android/command_line_android.cc using base::android::ConvertJavaStringToUTF8; base 23 base/android/command_line_android.cc base::android::AppendJavaStringArrayToStringVector(env, array, &vec); base 12 base/android/command_line_android.h namespace base { base 11 base/android/content_uri_utils.cc using base::android::ConvertUTF8ToJavaString; base 20 base/android/content_uri_utils.cc JNIEnv* env = base::android::AttachCurrentThread(); base 24 base/android/content_uri_utils.cc env, base::android::GetApplicationContext(), j_uri.obj()); base 28 base/android/content_uri_utils.cc JNIEnv* env = base::android::AttachCurrentThread(); base 32 base/android/content_uri_utils.cc env, base::android::GetApplicationContext(), j_uri.obj()); base 15 base/android/content_uri_utils.h namespace base { base 10 base/android/cpu_features.h namespace base { base 13 base/android/fifo_utils.h namespace base { base 23 base/android/important_file_writer_android.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 25 base/android/important_file_writer_android.cc base::android::ConvertJavaStringToUTF8(env, file_name, &native_file_name); base 26 base/android/important_file_writer_android.cc base::FilePath path(native_file_name); base 31 base/android/important_file_writer_android.cc bool result = base::ImportantFileWriter::WriteFileAtomically( base 10 base/android/important_file_writer_android.h namespace base { base 5 base/android/java/src/org/chromium/base/AccessedByNative.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/ActivityState.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/ApplicationStatus.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/BaseChromiumApplication.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/BaseSwitches.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/BuildInfo.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/CalledByNative.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/CalledByNativeUnchecked.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/CollectionUtil.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/CommandLine.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/ContentUriUtils.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/CpuFeatures.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/JNINamespace.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/JavaHandlerThread.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/MemoryPressureListener.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/NativeClassQualifiedName.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/ObserverList.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/PathService.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/PathUtils.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/PerfTraceEvent.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/PowerMonitor.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/PowerStatusReceiver.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/SysUtils.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/SystemMessageHandler.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/ThreadUtils.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/TraceEvent.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java package org.chromium.base; base 5 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java package org.chromium.base.library_loader; base 11 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java import org.chromium.base.CommandLine; base 12 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java import org.chromium.base.JNINamespace; base 13 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java import org.chromium.base.SysUtils; base 14 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java import org.chromium.base.TraceEvent; base 6 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java package org.chromium.base.library_loader; base 5 base/android/java/src/org/chromium/base/library_loader/Linker.java package org.chromium.base.library_loader; base 13 base/android/java/src/org/chromium/base/library_loader/Linker.java import org.chromium.base.SysUtils; base 5 base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java package org.chromium.base.library_loader; base 5 base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java package org.chromium.base.library_loader; base 21 base/android/java_handler_thread.cc JNIEnv* env = base::android::AttachCurrentThread(); base 34 base/android/java_handler_thread.cc JNIEnv* env = base::android::AttachCurrentThread(); base 35 base/android/java_handler_thread.cc base::WaitableEvent initialize_event(false, false); base 42 base/android/java_handler_thread.cc base::ThreadRestrictions::ScopedAllowWait wait_allowed; base 52 base/android/java_handler_thread.cc message_loop_.reset(new base::MessageLoop(base::MessageLoop::TYPE_JAVA)); base 54 base/android/java_handler_thread.cc reinterpret_cast<base::WaitableEvent*>(event)->Signal(); base 13 base/android/java_handler_thread.h namespace base { base 30 base/android/java_handler_thread.h base::MessageLoop* message_loop() const { return message_loop_.get(); } base 41 base/android/java_handler_thread.h scoped_ptr<base::MessageLoop> message_loop_; base 5 base/android/javatests/src/org/chromium/base/CommandLineTest.java package org.chromium.base; base 10 base/android/javatests/src/org/chromium/base/CommandLineTest.java import org.chromium.base.test.util.Feature; base 5 base/android/javatests/src/org/chromium/base/LibraryLoaderHelperTest.java package org.chromium.base; base 11 base/android/javatests/src/org/chromium/base/LibraryLoaderHelperTest.java import org.chromium.base.library_loader.LibraryLoaderHelper; base 5 base/android/javatests/src/org/chromium/base/ObserverListTest.java package org.chromium.base; base 10 base/android/javatests/src/org/chromium/base/ObserverListTest.java import org.chromium.base.test.util.Feature; base 15 base/android/jni_android.cc using base::android::GetClass; base 16 base/android/jni_android.cc using base::android::MethodID; base 17 base/android/jni_android.cc using base::android::ScopedJavaLocalRef; base 22 base/android/jni_android.cc base::LazyInstance<base::android::ScopedJavaGlobalRef<jobject> >::Leaky base 128 base/android/jni_android.cc CHECK(base::android::ClearException(env) || id) << base 143 base/android/jni_android.cc base::subtle::AtomicWord* atomic_method_id) { base 146 base/android/jni_android.cc subtle::AtomicWord value = base::subtle::Acquire_Load(atomic_method_id); base 150 base/android/jni_android.cc base::subtle::Release_Store( base 166 base/android/jni_android.cc const char* jni_signature, base::subtle::AtomicWord* atomic_method_id); base 170 base/android/jni_android.cc const char* jni_signature, base::subtle::AtomicWord* atomic_method_id); base 200 base/android/jni_android.cc base::android::BuildInfo::GetInstance()->set_java_exception_info( base 16 base/android/jni_android.h namespace base { base 84 base/android/jni_android.h base::subtle::AtomicWord* atomic_method_id); base 16 base/android/jni_android_unittest.cc base::subtle::AtomicWord g_atomic_id = 0; base 18 base/android/jni_android_unittest.cc jmethodID id = base::android::MethodID::LazyGet< base 19 base/android/jni_android_unittest.cc base::android::MethodID::TYPE_STATIC>( base 37 base/android/jni_android_unittest.cc base::Time start_lazy = base::Time::Now(); base 41 base/android/jni_android_unittest.cc base::Time end_lazy = base::Time::Now(); base 44 base/android/jni_android_unittest.cc base::Time start = base::Time::Now(); base 47 base/android/jni_android_unittest.cc base::Time end = base::Time::Now(); base 53 base/android/jni_android_unittest.cc base::TimeDelta(end_lazy - start_lazy).InMicroseconds(); base 55 base/android/jni_android_unittest.cc base::TimeDelta(end - start).InMicroseconds(); base 16 base/android/jni_array.h namespace base { base 34 base/android/jni_generator/golden_sample_for_tests_jni.h namespace base { base 94 base/android/jni_generator/golden_sample_for_tests_jni.h static base::subtle::AtomicWord g_SampleForTests_javaMethod = 0; base 101 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::LazyGet< base 102 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::TYPE_INSTANCE>( base 120 base/android/jni_generator/golden_sample_for_tests_jni.h static base::subtle::AtomicWord g_SampleForTests_staticJavaMethod = 0; base 126 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::LazyGet< base 127 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::TYPE_STATIC>( base 143 base/android/jni_generator/golden_sample_for_tests_jni.h static base::subtle::AtomicWord g_SampleForTests_packagePrivateJavaMethod = 0; base 150 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::LazyGet< base 151 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::TYPE_INSTANCE>( base 166 base/android/jni_generator/golden_sample_for_tests_jni.h static base::subtle::AtomicWord g_SampleForTests_methodThatThrowsException = 0; base 173 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::LazyGet< base 174 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::TYPE_INSTANCE>( base 188 base/android/jni_generator/golden_sample_for_tests_jni.h static base::subtle::AtomicWord g_InnerStructA_create = 0; base 189 base/android/jni_generator/golden_sample_for_tests_jni.h static base::android::ScopedJavaLocalRef<jobject> base 197 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::LazyGet< base 198 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::TYPE_STATIC>( base 214 base/android/jni_generator/golden_sample_for_tests_jni.h return base::android::ScopedJavaLocalRef<jobject>(env, ret); base 217 base/android/jni_generator/golden_sample_for_tests_jni.h static base::subtle::AtomicWord g_SampleForTests_addStructA = 0; base 224 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::LazyGet< base 225 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::TYPE_INSTANCE>( base 241 base/android/jni_generator/golden_sample_for_tests_jni.h static base::subtle::AtomicWord g_SampleForTests_iterateAndDoSomething = 0; base 248 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::LazyGet< base 249 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::TYPE_INSTANCE>( base 264 base/android/jni_generator/golden_sample_for_tests_jni.h static base::subtle::AtomicWord g_InnerStructB_getKey = 0; base 270 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::LazyGet< base 271 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::TYPE_INSTANCE>( base 287 base/android/jni_generator/golden_sample_for_tests_jni.h static base::subtle::AtomicWord g_InnerStructB_getValue = 0; base 288 base/android/jni_generator/golden_sample_for_tests_jni.h static base::android::ScopedJavaLocalRef<jstring> base 294 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::LazyGet< base 295 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::MethodID::TYPE_INSTANCE>( base 308 base/android/jni_generator/golden_sample_for_tests_jni.h return base::android::ScopedJavaLocalRef<jstring>(env, ret); base 371 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::GetClass(env, kInnerStructAClassPath).obj())); base 373 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::GetClass(env, kSampleForTestsClassPath).obj())); base 375 base/android/jni_generator/golden_sample_for_tests_jni.h base::android::GetClass(env, kInnerStructBClassPath).obj())); base 9 base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java import org.chromium.base.AccessedByNative; base 10 base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java import org.chromium.base.CalledByNative; base 11 base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java import org.chromium.base.CalledByNativeUnchecked; base 12 base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java import org.chromium.base.JNINamespace; base 13 base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java import org.chromium.base.NativeClassQualifiedName; base 33 base/android/jni_generator/jni_generator_helper.h base::android::CheckException(env); base 38 base/android/jni_generator/jni_generator_helper.h using base::android::ScopedJavaLocalRef; base 13 base/android/jni_generator/sample_for_tests.cc using base::android::AttachCurrentThread; base 14 base/android/jni_generator/sample_for_tests.cc using base::android::ScopedJavaLocalRef; base 54 base/android/jni_generator/sample_for_tests.cc base::android::ScopedJavaLocalRef<jstring> CPPClass::ReturnAString( base 56 base/android/jni_generator/sample_for_tests.cc base::android::ScopedJavaLocalRef<jstring> ret = ConvertUTF8ToJavaString( base 94 base/android/jni_generator/sample_for_tests.cc bool foo = base::android::Java_SampleForTests_staticJavaMethod(env); base 99 base/android/jni_generator/sample_for_tests.cc int bar = base::android::Java_SampleForTests_javaMethod( base 105 base/android/jni_generator/sample_for_tests.cc base::android::Java_InnerStructA_create( base 107 base/android/jni_generator/sample_for_tests.cc base::android::ConvertUTF8ToJavaString(env, "test").obj()); base 108 base/android/jni_generator/sample_for_tests.cc base::android::Java_SampleForTests_addStructA( base 111 base/android/jni_generator/sample_for_tests.cc base::android::Java_SampleForTests_iterateAndDoSomething(env, my_java_object); base 12 base/android/jni_generator/sample_for_tests.h namespace base { base 40 base/android/jni_generator/sample_for_tests.h base::android::ScopedJavaLocalRef<jstring> ReturnAString( base 10 base/android/jni_helper.cc using base::android::AttachCurrentThread; base 42 base/android/jni_helper.cc base::android::ScopedJavaLocalRef<jobject> base 47 base/android/jni_helper.cc base::android::ScopedJavaLocalRef<jobject> GetRealObject( base 55 base/android/jni_helper.cc return base::android::ScopedJavaLocalRef<jobject>(env, real); base 26 base/android/jni_helper.h base::android::ScopedJavaLocalRef<jobject> get(JNIEnv* env) const; base 38 base/android/jni_helper.h BASE_EXPORT base::android::ScopedJavaLocalRef<jobject> GetRealObject( base 12 base/android/jni_registrar.h namespace base { base 15 base/android/jni_string.cc const base::StringPiece16& str) { base 17 base/android/jni_string.cc base::android::CheckException(env); base 54 base/android/jni_string.cc const base::StringPiece& str) { base 93 base/android/jni_string.cc const base::StringPiece16& str) { base 15 base/android/jni_string.h namespace base { base 28 base/android/jni_string.h const base::StringPiece& str); base 40 base/android/jni_string.h const base::StringPiece16& str); base 16 base/android/library_loader/library_loader_hooks.cc base::AtExitManager* g_at_exit_manager = NULL; base 54 base/android/library_loader/library_loader_hooks.cc g_at_exit_manager = new base::AtExitManager(); base 12 base/android/library_loader/library_loader_hooks.h namespace base { base 13 base/android/memory_pressure_listener_android.cc base::MemoryPressureListener::NotifyMemoryPressure( base 14 base/android/memory_pressure_listener_android.cc static_cast<base::MemoryPressureListener::MemoryPressureLevel>( base 10 base/android/memory_pressure_listener_android.h namespace base { base 10 base/android/path_service_android.h namespace base { base 12 base/android/path_utils.h namespace base { base 42 base/android/path_utils_unittest.cc EXPECT_TRUE(base::PathExists(path.Append(("libbase_unittests.so"))) || base 43 base/android/path_utils_unittest.cc base::PathExists(path.Append(("libbase_unittests.cr.so")))); base 14 base/android/scoped_java_ref.h namespace base { base 10 base/android/sys_utils.h namespace base { base 10 base/android/thread_utils.h namespace base { base 58 base/android/trace_event_binding.cc return base::debug::TraceLog::GetInstance()->IsEnabled(); base 62 base/android/trace_event_binding.cc base::debug::TraceLog::GetInstance()->StartATrace(); base 66 base/android/trace_event_binding.cc base::debug::TraceLog::GetInstance()->StopATrace(); base 10 base/android/trace_event_binding.h namespace base { base 12 base/async_socket_io_handler.h namespace base { base 48 base/async_socket_io_handler.h : public NON_EXPORTED_BASE(base::NonThreadSafe), base 51 base/async_socket_io_handler.h public NON_EXPORTED_BASE(base::MessageLoopForIO::IOHandler) { base 53 base/async_socket_io_handler.h public NON_EXPORTED_BASE(base::MessageLoopForIO::Watcher) { base 61 base/async_socket_io_handler.h typedef base::Callback<void(int)> ReadCompleteCallback; base 67 base/async_socket_io_handler.h bool Initialize(base::SyncSocket::Handle socket, base 79 base/async_socket_io_handler.h virtual void OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 90 base/async_socket_io_handler.h base::SyncSocket::Handle socket_; base 92 base/async_socket_io_handler.h base::MessageLoopForIO::IOContext* context_; base 95 base/async_socket_io_handler.h base::MessageLoopForIO::FileDescriptorWatcher socket_watcher_; base 14 base/async_socket_io_handler_posix.cc : socket_(base::SyncSocket::kInvalidHandle), base 67 base/async_socket_io_handler_posix.cc bool AsyncSocketIoHandler::Initialize(base::SyncSocket::Handle socket, base 69 base/async_socket_io_handler_posix.cc DCHECK_EQ(socket_, base::SyncSocket::kInvalidHandle); base 91 base/async_socket_io_handler_posix.cc if (!is_watching_ && socket_ != base::SyncSocket::kInvalidHandle) { base 92 base/async_socket_io_handler_posix.cc is_watching_ = base::MessageLoopForIO::current()->WatchFileDescriptor( base 93 base/async_socket_io_handler_posix.cc socket_, true, base::MessageLoopForIO::WATCH_READ, base 21 base/async_socket_io_handler_unittest.cc TestSocketReader(base::CancelableSyncSocket* socket, base 31 base/async_socket_io_handler_unittest.cc base::Bind(&TestSocketReader::OnRead, base 32 base/async_socket_io_handler_unittest.cc base::Unretained(this))); base 53 base/async_socket_io_handler_unittest.cc base::MessageLoop::current()->Quit(); base 59 base/async_socket_io_handler_unittest.cc base::AsyncSocketIoHandler io_handler; base 60 base/async_socket_io_handler_unittest.cc base::CancelableSyncSocket* socket_; // Ownership lies outside the class. base 70 base/async_socket_io_handler_unittest.cc void SendData(base::CancelableSyncSocket* socket, base 81 base/async_socket_io_handler_unittest.cc base::MessageLoopForIO loop; base 83 base/async_socket_io_handler_unittest.cc base::CancelableSyncSocket pair[2]; base 84 base/async_socket_io_handler_unittest.cc ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); base 90 base/async_socket_io_handler_unittest.cc base::MessageLoop::current()->Run(); base 99 base/async_socket_io_handler_unittest.cc base::MessageLoopForIO loop; base 101 base/async_socket_io_handler_unittest.cc base::CancelableSyncSocket pair[2]; base 102 base/async_socket_io_handler_unittest.cc ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); base 107 base/async_socket_io_handler_unittest.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 108 base/async_socket_io_handler_unittest.cc base::MessageLoop::QuitClosure(), base 109 base/async_socket_io_handler_unittest.cc base::TimeDelta::FromMilliseconds(100)); base 110 base/async_socket_io_handler_unittest.cc base::MessageLoop::current()->Run(); base 120 base/async_socket_io_handler_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 126 base/async_socket_io_handler_unittest.cc base::MessageLoopForIO loop; base 128 base/async_socket_io_handler_unittest.cc base::CancelableSyncSocket pair[2]; base 129 base/async_socket_io_handler_unittest.cc ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); base 138 base/async_socket_io_handler_unittest.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 139 base/async_socket_io_handler_unittest.cc base::Bind(&SendData, &pair[1], kAsyncSocketIoTestString, base 141 base/async_socket_io_handler_unittest.cc base::TimeDelta::FromMilliseconds(milliseconds)); base 145 base/async_socket_io_handler_unittest.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 146 base/async_socket_io_handler_unittest.cc base::MessageLoop::QuitClosure(), base 147 base/async_socket_io_handler_unittest.cc base::TimeDelta::FromMilliseconds(100 + milliseconds)); base 149 base/async_socket_io_handler_unittest.cc base::MessageLoop::current()->Run(); base 155 base/async_socket_io_handler_unittest.cc base::MessageLoopForIO loop; base 157 base/async_socket_io_handler_unittest.cc base::CancelableSyncSocket pair[2]; base 158 base/async_socket_io_handler_unittest.cc ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); base 166 base/async_socket_io_handler_unittest.cc base::MessageLoop::current()->Run(); base 10 base/async_socket_io_handler_win.cc : socket_(base::SyncSocket::kInvalidHandle), base 31 base/async_socket_io_handler_win.cc base::MessageLoopForIO::IOContext* context, base 45 base/async_socket_io_handler_win.cc DCHECK_NE(socket_, base::SyncSocket::kInvalidHandle); base 58 base/async_socket_io_handler_win.cc bool AsyncSocketIoHandler::Initialize(base::SyncSocket::Handle socket, base 61 base/async_socket_io_handler_win.cc DCHECK_EQ(socket_, base::SyncSocket::kInvalidHandle); base 68 base/async_socket_io_handler_win.cc base::MessageLoopForIO::current()->RegisterIOHandler(socket, this); base 70 base/async_socket_io_handler_win.cc context_ = new base::MessageLoopForIO::IOContext(); base 47 base/at_exit.cc RegisterTask(base::Bind(func, param)); base 51 base/at_exit.cc void AtExitManager::RegisterTask(base::Closure task) { base 71 base/at_exit.cc base::Closure task = g_top_manager->stack_.top(); base 15 base/at_exit.h namespace base { base 46 base/at_exit.h static void RegisterTask(base::Closure task); base 60 base/at_exit.h base::Lock lock_; base 61 base/at_exit.h std::stack<base::Closure> stack_; base 46 base/at_exit_unittest.cc base::ShadowingAtExitManager exit_manager_; base 51 base/at_exit_unittest.cc base::AtExitManager::RegisterCallback(&IncrementTestCounter1, NULL); base 52 base/at_exit_unittest.cc base::AtExitManager::RegisterCallback(&IncrementTestCounter2, NULL); base 53 base/at_exit_unittest.cc base::AtExitManager::RegisterCallback(&IncrementTestCounter1, NULL); base 57 base/at_exit_unittest.cc base::AtExitManager::ProcessCallbacksNow(); base 64 base/at_exit_unittest.cc base::AtExitManager::RegisterCallback(&IncrementTestCounter1, NULL); base 65 base/at_exit_unittest.cc base::AtExitManager::RegisterCallback(&ExpectCounter1IsZero, NULL); base 66 base/at_exit_unittest.cc base::AtExitManager::RegisterCallback(&IncrementTestCounter2, NULL); base 70 base/at_exit_unittest.cc base::AtExitManager::ProcessCallbacksNow(); base 76 base/at_exit_unittest.cc base::AtExitManager::RegisterCallback(&ExpectParamIsNull, NULL); base 77 base/at_exit_unittest.cc base::AtExitManager::RegisterCallback(&ExpectParamIsCounter, base 79 base/at_exit_unittest.cc base::AtExitManager::ProcessCallbacksNow(); base 84 base/at_exit_unittest.cc base::AtExitManager::RegisterTask(base::Bind(&ExpectParamIsCounter, base 86 base/at_exit_unittest.cc base::AtExitManager::ProcessCallbacksNow(); base 17 base/atomic_ref_count.h namespace base { base 43 base/atomic_ref_count.h base::AtomicRefCountIncN(ptr, 1); base 50 base/atomic_ref_count.h return base::AtomicRefCountDecN(ptr, 1); base 11 base/atomic_sequence_num.h namespace base { base 26 base/atomic_sequence_num.h base::subtle::NoBarrier_AtomicIncrement(&seq_, 1) - 1); base 33 base/atomic_sequence_num.h base::subtle::Release_Store(&seq_, 0); base 36 base/atomic_sequence_num.h base::subtle::Atomic32 seq_; base 44 base/atomicops.h namespace base { base 20 base/atomicops_internals_arm64_gcc.h namespace base { base 16 base/atomicops_internals_arm_gcc.h namespace base { base 23 base/atomicops_internals_atomicword_compat.h namespace base { base 54 base/atomicops_internals_atomicword_compat.h return base::subtle::Acquire_CompareAndSwap( base 61 base/atomicops_internals_atomicword_compat.h return base::subtle::Release_CompareAndSwap( base 71 base/atomicops_internals_atomicword_compat.h return base::subtle::Acquire_Store( base 76 base/atomicops_internals_atomicword_compat.h return base::subtle::Release_Store( base 86 base/atomicops_internals_atomicword_compat.h return base::subtle::Acquire_Load( base 91 base/atomicops_internals_atomicword_compat.h return base::subtle::Release_Load( base 12 base/atomicops_internals_gcc.h namespace base { base 12 base/atomicops_internals_mac.h namespace base { base 12 base/atomicops_internals_mips_gcc.h namespace base { base 30 base/atomicops_internals_tsan.h namespace base { base 27 base/atomicops_internals_x86_gcc.h namespace base { base 23 base/atomicops_internals_x86_msvc.h namespace base { base 35 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 1), 1); base 40 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 2), 3); base 45 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 3), 6); base 50 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -3), 3); base 55 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -2), 1); base 60 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), 0); base 65 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), -1); base 70 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -4), -5); base 75 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 5), 0); base 88 base/atomicops_unittest.cc AtomicType prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 1); base 97 base/atomicops_unittest.cc prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 5); base 102 base/atomicops_unittest.cc prev = base::subtle::NoBarrier_CompareAndSwap(&value, k_test_val, 5); base 111 base/atomicops_unittest.cc AtomicType new_value = base::subtle::NoBarrier_AtomicExchange(&value, 1); base 120 base/atomicops_unittest.cc new_value = base::subtle::NoBarrier_AtomicExchange(&value, k_test_val); base 125 base/atomicops_unittest.cc new_value = base::subtle::NoBarrier_AtomicExchange(&value, 5); base 137 base/atomicops_unittest.cc AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); base 141 base/atomicops_unittest.cc base::subtle::NoBarrier_AtomicIncrement(&value, -1); base 147 base/atomicops_unittest.cc new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); base 151 base/atomicops_unittest.cc base::subtle::NoBarrier_AtomicIncrement(&value, -1); base 172 base/atomicops_unittest.cc base::subtle::NoBarrier_Store(&value, kVal1); base 174 base/atomicops_unittest.cc base::subtle::NoBarrier_Store(&value, kVal2); base 177 base/atomicops_unittest.cc base::subtle::Acquire_Store(&value, kVal1); base 179 base/atomicops_unittest.cc base::subtle::Acquire_Store(&value, kVal2); base 182 base/atomicops_unittest.cc base::subtle::Release_Store(&value, kVal1); base 184 base/atomicops_unittest.cc base::subtle::Release_Store(&value, kVal2); base 198 base/atomicops_unittest.cc EXPECT_EQ(kVal1, base::subtle::NoBarrier_Load(&value)); base 200 base/atomicops_unittest.cc EXPECT_EQ(kVal2, base::subtle::NoBarrier_Load(&value)); base 203 base/atomicops_unittest.cc EXPECT_EQ(kVal1, base::subtle::Acquire_Load(&value)); base 205 base/atomicops_unittest.cc EXPECT_EQ(kVal2, base::subtle::Acquire_Load(&value)); base 208 base/atomicops_unittest.cc EXPECT_EQ(kVal1, base::subtle::Release_Load(&value)); base 210 base/atomicops_unittest.cc EXPECT_EQ(kVal2, base::subtle::Release_Load(&value)); base 214 base/atomicops_unittest.cc TestAtomicIncrement<base::subtle::Atomic32>(); base 215 base/atomicops_unittest.cc TestAtomicIncrement<base::subtle::AtomicWord>(); base 219 base/atomicops_unittest.cc TestCompareAndSwap<base::subtle::Atomic32>(); base 220 base/atomicops_unittest.cc TestCompareAndSwap<base::subtle::AtomicWord>(); base 224 base/atomicops_unittest.cc TestAtomicExchange<base::subtle::Atomic32>(); base 225 base/atomicops_unittest.cc TestAtomicExchange<base::subtle::AtomicWord>(); base 229 base/atomicops_unittest.cc TestAtomicIncrementBounds<base::subtle::Atomic32>(); base 230 base/atomicops_unittest.cc TestAtomicIncrementBounds<base::subtle::AtomicWord>(); base 234 base/atomicops_unittest.cc TestStore<base::subtle::Atomic32>(); base 235 base/atomicops_unittest.cc TestStore<base::subtle::AtomicWord>(); base 239 base/atomicops_unittest.cc TestLoad<base::subtle::Atomic32>(); base 240 base/atomicops_unittest.cc TestLoad<base::subtle::AtomicWord>(); base 19 base/auto_reset.h namespace base { base 15 base/barrier_closure.cc BarrierInfo(int num_callbacks_left, const base::Closure& done_closure); base 19 base/barrier_closure.cc base::AtomicRefCount num_callbacks_left_; base 20 base/barrier_closure.cc base::Closure done_closure_; base 23 base/barrier_closure.cc BarrierInfo::BarrierInfo(int num_callbacks, const base::Closure& done_closure) base 29 base/barrier_closure.cc DCHECK(!base::AtomicRefCountIsZero(&num_callbacks_left_)); base 30 base/barrier_closure.cc if (!base::AtomicRefCountDec(&num_callbacks_left_)) { base 40 base/barrier_closure.cc base::Closure BarrierClosure(int num_callbacks_left, base 41 base/barrier_closure.cc const base::Closure& done_closure) { base 47 base/barrier_closure.cc return base::Bind(&BarrierInfo::Run, base 48 base/barrier_closure.cc base::Owned( base 11 base/barrier_closure.h namespace base { base 25 base/barrier_closure.h BASE_EXPORT base::Closure BarrierClosure(int num_closures, base 26 base/barrier_closure.h const base::Closure& done_closure); base 16 base/barrier_closure_unittest.cc base::Closure doneClosure(base::Bind(&Increment, base::Unretained(&count))); base 18 base/barrier_closure_unittest.cc base::Closure barrierClosure = base::BarrierClosure(0, doneClosure); base 24 base/barrier_closure_unittest.cc base::Closure doneClosure(base::Bind(&Increment, base::Unretained(&count))); base 26 base/barrier_closure_unittest.cc base::Closure barrierClosure = base::BarrierClosure(2, doneClosure); base 13 base/base64.h namespace base { base 29 base/base_paths.cc case base::DIR_HOME: base 25 base/base_paths.h namespace base { base 22 base/base_paths_android.cc case base::FILE_EXE: { base 33 base/base_paths_android.cc case base::FILE_MODULE: base 37 base/base_paths_android.cc case base::DIR_MODULE: base 38 base/base_paths_android.cc return base::android::GetNativeLibraryDirectory(result); base 39 base/base_paths_android.cc case base::DIR_SOURCE_ROOT: base 41 base/base_paths_android.cc return base::android::GetExternalStorageDirectory(result); base 42 base/base_paths_android.cc case base::DIR_USER_DESKTOP: base 46 base/base_paths_android.cc case base::DIR_CACHE: base 47 base/base_paths_android.cc return base::android::GetCacheDirectory(result); base 48 base/base_paths_android.cc case base::DIR_ANDROID_APP_DATA: base 49 base/base_paths_android.cc return base::android::GetDataDirectory(result); base 50 base/base_paths_android.cc case base::DIR_ANDROID_EXTERNAL_STORAGE: base 51 base/base_paths_android.cc return base::android::GetExternalStorageDirectory(result); base 12 base/base_paths_android.h namespace base { base 12 base/base_paths_mac.h namespace base { base 35 base/base_paths_posix.cc case base::FILE_EXE: base 36 base/base_paths_posix.cc case base::FILE_MODULE: { // TODO(evanm): is this correct? base 76 base/base_paths_posix.cc case base::DIR_SOURCE_ROOT: { base 79 base/base_paths_posix.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 83 base/base_paths_posix.cc if (base::PathExists(path)) { base 93 base/base_paths_posix.cc if (PathService::Get(base::DIR_EXE, &path)) { base 102 base/base_paths_posix.cc case base::DIR_USER_DESKTOP: base 103 base/base_paths_posix.cc *result = base::nix::GetXDGUserDirectory("DESKTOP", "Desktop"); base 105 base/base_paths_posix.cc case base::DIR_CACHE: { base 106 base/base_paths_posix.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 107 base/base_paths_posix.cc FilePath cache_dir(base::nix::GetXDGDirectory(env.get(), "XDG_CACHE_HOME", base 12 base/base_paths_posix.h namespace base { base 17 base/base_paths_win.cc using base::FilePath; base 33 base/base_paths_win.cc } else if (!PathService::Get(base::DIR_APP_DATA, result)) { base 64 base/base_paths_win.cc case base::FILE_EXE: base 68 base/base_paths_win.cc case base::FILE_MODULE: { base 76 base/base_paths_win.cc case base::DIR_WINDOWS: base 80 base/base_paths_win.cc case base::DIR_SYSTEM: base 84 base/base_paths_win.cc case base::DIR_PROGRAM_FILESX86: base 85 base/base_paths_win.cc if (base::win::OSInfo::GetInstance()->architecture() != base 86 base/base_paths_win.cc base::win::OSInfo::X86_ARCHITECTURE) { base 94 base/base_paths_win.cc case base::DIR_PROGRAM_FILES: base 100 base/base_paths_win.cc case base::DIR_IE_INTERNET_CACHE: base 106 base/base_paths_win.cc case base::DIR_COMMON_START_MENU: base 112 base/base_paths_win.cc case base::DIR_START_MENU: base 118 base/base_paths_win.cc case base::DIR_APP_DATA: base 124 base/base_paths_win.cc case base::DIR_COMMON_APP_DATA: base 130 base/base_paths_win.cc case base::DIR_LOCAL_APP_DATA_LOW: base 140 base/base_paths_win.cc case base::DIR_LOCAL_APP_DATA: base 146 base/base_paths_win.cc case base::DIR_SOURCE_ROOT: { base 150 base/base_paths_win.cc PathService::Get(base::DIR_EXE, &executableDir); base 154 base/base_paths_win.cc case base::DIR_APP_SHORTCUTS: { base 158 base/base_paths_win.cc base::win::ScopedCoMem<wchar_t> path_buf; base 166 base/base_paths_win.cc case base::DIR_USER_DESKTOP: base 173 base/base_paths_win.cc case base::DIR_COMMON_DESKTOP: base 180 base/base_paths_win.cc case base::DIR_USER_QUICK_LAUNCH: base 184 base/base_paths_win.cc case base::DIR_DEFAULT_USER_QUICK_LAUNCH: base 188 base/base_paths_win.cc case base::DIR_TASKBAR_PINS: base 189 base/base_paths_win.cc if (!PathService::Get(base::DIR_USER_QUICK_LAUNCH, &cur)) base 194 base/base_paths_win.cc case base::DIR_WINDOWS_FONTS: base 12 base/base_paths_win.h namespace base { base 29 base/big_endian.cc bool BigEndianReader::ReadPiece(base::StringPiece* out, size_t len) { base 32 base/big_endian.cc *out = base::StringPiece(ptr_, len); base 12 base/big_endian.h namespace base { base 62 base/big_endian.h bool ReadPiece(base::StringPiece* out, size_t len); base 18 base/big_endian_unittest.cc base::StringPiece piece; base 33 base/big_endian_unittest.cc base::StringPiece expected(reader.ptr(), 2); base 45 base/big_endian_unittest.cc base::StringPiece piece; base 54 base/bind.h namespace base { base 57 base/bind.h base::Callback< base 76 base/bind.h base::Callback< base 122 base/bind.h base::Callback< base 173 base/bind.h base::Callback< base 229 base/bind.h base::Callback< base 291 base/bind.h base::Callback< base 359 base/bind.h base::Callback< base 432 base/bind.h base::Callback< base 151 base/bind_helpers.h namespace base { base 24 base/bind_internal.h namespace base { base 1112 base/bind_internal.h static R Run(BindStateBase* base) { base 1113 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1134 base/bind_internal.h static R Run(BindStateBase* base, base 1136 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1156 base/bind_internal.h static R Run(BindStateBase* base) { base 1157 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1182 base/bind_internal.h static R Run(BindStateBase* base, base 1185 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1208 base/bind_internal.h static R Run(BindStateBase* base, base 1210 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1235 base/bind_internal.h static R Run(BindStateBase* base) { base 1236 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1268 base/bind_internal.h static R Run(BindStateBase* base, base 1272 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1298 base/bind_internal.h static R Run(BindStateBase* base, base 1301 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1329 base/bind_internal.h static R Run(BindStateBase* base, base 1331 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1361 base/bind_internal.h static R Run(BindStateBase* base) { base 1362 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1399 base/bind_internal.h static R Run(BindStateBase* base, base 1404 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1433 base/bind_internal.h static R Run(BindStateBase* base, base 1437 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1468 base/bind_internal.h static R Run(BindStateBase* base, base 1471 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1504 base/bind_internal.h static R Run(BindStateBase* base, base 1506 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1541 base/bind_internal.h static R Run(BindStateBase* base) { base 1542 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1585 base/bind_internal.h static R Run(BindStateBase* base, base 1591 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1622 base/bind_internal.h static R Run(BindStateBase* base, base 1627 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1660 base/bind_internal.h static R Run(BindStateBase* base, base 1664 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1699 base/bind_internal.h static R Run(BindStateBase* base, base 1702 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1739 base/bind_internal.h static R Run(BindStateBase* base, base 1741 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1780 base/bind_internal.h static R Run(BindStateBase* base) { base 1781 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1829 base/bind_internal.h static R Run(BindStateBase* base, base 1836 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1870 base/bind_internal.h static R Run(BindStateBase* base, base 1876 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1912 base/bind_internal.h static R Run(BindStateBase* base, base 1917 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1955 base/bind_internal.h static R Run(BindStateBase* base, base 1959 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 1999 base/bind_internal.h static R Run(BindStateBase* base, base 2002 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2044 base/bind_internal.h static R Run(BindStateBase* base, base 2046 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2090 base/bind_internal.h static R Run(BindStateBase* base) { base 2091 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2145 base/bind_internal.h static R Run(BindStateBase* base, base 2153 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2189 base/bind_internal.h static R Run(BindStateBase* base, base 2196 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2234 base/bind_internal.h static R Run(BindStateBase* base, base 2240 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2280 base/bind_internal.h static R Run(BindStateBase* base, base 2285 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2327 base/bind_internal.h static R Run(BindStateBase* base, base 2331 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2375 base/bind_internal.h static R Run(BindStateBase* base, base 2378 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2424 base/bind_internal.h static R Run(BindStateBase* base, base 2426 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 2474 base/bind_internal.h static R Run(BindStateBase* base) { base 2475 base/bind_internal.h StorageType* storage = static_cast<StorageType*>(base); base 21 base/bind_internal_win.h namespace base { base 304 base/bind_unittest.cc Closure cb = base::Bind(&TakesACallback, base::Bind(&PtrArgSet, &n)); base 677 base/bind_unittest.cc Bind(&FunctionWithScopedRefptrFirstParam, base::ConstRef(refptr), 1); base 698 base/bind_unittest.cc base::Closure own_object_cb = base 820 base/bind_unittest.cc base::Callback<void(int)> null_cb; base 822 base/bind_unittest.cc EXPECT_DEATH(base::Bind(null_cb, 42), ""); base 13 base/bits.h namespace base { base 11 base/build_time.h namespace base { base 29 base/build_time_unittest.cc base::GetBuildTime(); base 350 base/callback.h namespace base { base 8 base/callback_forward.h namespace base { base 21 base/callback_helpers.h namespace base { base 24 base/callback_helpers.h base::Callback<Sig> ResetAndReturn(base::Callback<Sig>* cb) { base 25 base/callback_helpers.h base::Callback<Sig> ret(*cb); base 20 base/callback_helpers_unittest.cc base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); base 28 base/callback_helpers_unittest.cc base::Closure c; base 30 base/callback_helpers_unittest.cc base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); base 43 base/callback_helpers_unittest.cc base::ScopedClosureRunner runner; base 44 base/callback_helpers_unittest.cc runner.Reset(base::Bind(&Increment, &run_count_1)); base 45 base/callback_helpers_unittest.cc runner.Reset(base::Bind(&Increment, &run_count_2)); base 53 base/callback_helpers_unittest.cc base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count_3)); base 20 base/callback_internal.h namespace base { base 76 base/callback_list.h namespace base { base 149 base/callback_unittest.cc class CallbackOwner : public base::RefCounted<CallbackOwner> { base 53 base/cancelable_callback.h namespace base { base 64 base/cancelable_callback.h explicit CancelableCallback(const base::Callback<void(void)>& callback) base 87 base/cancelable_callback.h void Reset(const base::Callback<void(void)>& callback) { base 100 base/cancelable_callback.h const base::Callback<void(void)>& callback() const { base 112 base/cancelable_callback.h forwarder_ = base::Bind(&CancelableCallback<void(void)>::Forward, base 117 base/cancelable_callback.h base::WeakPtrFactory<CancelableCallback<void(void)> > weak_factory_; base 120 base/cancelable_callback.h base::Callback<void(void)> forwarder_; base 123 base/cancelable_callback.h base::Callback<void(void)> callback_; base 134 base/cancelable_callback.h explicit CancelableCallback(const base::Callback<void(A1)>& callback) base 157 base/cancelable_callback.h void Reset(const base::Callback<void(A1)>& callback) { base 170 base/cancelable_callback.h const base::Callback<void(A1)>& callback() const { base 182 base/cancelable_callback.h forwarder_ = base::Bind(&CancelableCallback<void(A1)>::Forward, base 187 base/cancelable_callback.h base::WeakPtrFactory<CancelableCallback<void(A1)> > weak_factory_; base 190 base/cancelable_callback.h base::Callback<void(A1)> forwarder_; base 193 base/cancelable_callback.h base::Callback<void(A1)> callback_; base 204 base/cancelable_callback.h explicit CancelableCallback(const base::Callback<void(A1, A2)>& callback) base 227 base/cancelable_callback.h void Reset(const base::Callback<void(A1, A2)>& callback) { base 240 base/cancelable_callback.h const base::Callback<void(A1, A2)>& callback() const { base 252 base/cancelable_callback.h forwarder_ = base::Bind(&CancelableCallback<void(A1, A2)>::Forward, base 257 base/cancelable_callback.h base::WeakPtrFactory<CancelableCallback<void(A1, A2)> > weak_factory_; base 260 base/cancelable_callback.h base::Callback<void(A1, A2)> forwarder_; base 263 base/cancelable_callback.h base::Callback<void(A1, A2)> callback_; base 33 base/cancelable_callback_unittest.cc base::Bind(&Increment, base::Unretained(&count))); base 35 base/cancelable_callback_unittest.cc base::Closure callback = cancelable.callback(); base 54 base/cancelable_callback_unittest.cc base::Bind(&Increment, base::Unretained(&count))); base 56 base/cancelable_callback_unittest.cc base::Closure callback1 = cancelable.callback(); base 57 base/cancelable_callback_unittest.cc base::Closure callback2 = cancelable.callback(); base 70 base/cancelable_callback_unittest.cc base::Closure callback3 = cancelable.callback(); base 78 base/cancelable_callback_unittest.cc base::Closure callback; base 82 base/cancelable_callback_unittest.cc base::Bind(&Increment, base::Unretained(&count))); base 99 base/cancelable_callback_unittest.cc CancelableClosure cancelable(base::Bind(RefCountedParam, ref_counted)); base 117 base/cancelable_callback_unittest.cc base::Bind(&Increment, base::Unretained(&count))); base 119 base/cancelable_callback_unittest.cc base::Closure callback = cancelable.callback(); base 127 base/cancelable_callback_unittest.cc base::Bind(&IncrementBy, base::Unretained(&count), 3)); base 137 base/cancelable_callback_unittest.cc base::Closure callback2 = cancelable.callback(); base 151 base/cancelable_callback_unittest.cc cancelable.Reset(base::Bind(&Increment, base 152 base/cancelable_callback_unittest.cc base::Unretained(&count))); base 165 base/cancelable_callback_unittest.cc CancelableClosure cancelable(base::Bind(&Increment, base 166 base/cancelable_callback_unittest.cc base::Unretained(&count))); base 26 base/command_line.h namespace base { base 192 base/command_line.h using base::CommandLine; base 14 base/command_line_unittest.cc using base::FilePath; base 202 base/command_line_unittest.cc base::UTF8ToUTF16(kFirstArgName)); base 204 base/command_line_unittest.cc base::UTF8ToUTF16(kSecondArgName)); base 206 base/command_line_unittest.cc base::UTF8ToUTF16(kThirdArgName)); base 208 base/command_line_unittest.cc base::UTF8ToUTF16(kFourthArgName)); base 106 base/containers/hash_tables.h DEFINE_STRING_HASH(base::string16); base 116 base/containers/hash_tables.h namespace base { base 244 base/containers/hash_tables.h return base::HashPair(value.first, value.second); base 251 base/containers/hash_tables.h return base::HashPair(value.first, value.second); base 18 base/containers/hash_tables_unittest.cc base::hash_map<Type, int> map; \ base 80 base/containers/linked_list.h namespace base { base 27 base/containers/mru_cache.h namespace base { base 154 base/containers/mru_cache.h return reverse_iterator(Erase((++pos).base())); base 280 base/containers/mru_cache.h typedef base::hash_map<KeyType, ValueType> Type; base 36 base/containers/mru_cache_unittest.cc typedef base::MRUCache<int, CachedItem> Cache; base 116 base/containers/mru_cache_unittest.cc typedef base::MRUCache<int, CachedItem> Cache; base 151 base/containers/mru_cache_unittest.cc typedef base::MRUCache<int, CachedItem> Cache; base 189 base/containers/mru_cache_unittest.cc typedef base::OwningMRUCache<int, CachedItem*> Cache; base 232 base/containers/mru_cache_unittest.cc typedef base::OwningMRUCache<int, CachedItem*> Cache; base 257 base/containers/mru_cache_unittest.cc typedef base::HashingMRUCache<std::string, CachedItem> Cache; base 17 base/containers/scoped_ptr_hash_map.h namespace base { base 24 base/containers/scoped_ptr_hash_map.h typedef base::hash_map<Key, Value*> Container; base 17 base/containers/small_map.h namespace base { base 161 base/containers/small_map.h struct select_equal_key< base::hash_map<KeyType, ValueType>, false> { base 16 base/containers/stack_container.h namespace base { base 58 base/containers/stack_container.h base::AlignedMemory<sizeof(T[stack_capacity]), ALIGNOF(T)> stack_buffer_; base 200 base/containers/stack_container.h base::string16_char_traits, base 206 base/containers/stack_container.h base::string16_char_traits, base 17 base/containers/stack_container_unittest.cc class Dummy : public base::RefCounted<Dummy> { base 109 base/containers/stack_container_unittest.cc base::AlignedMemory<alignment, alignment> data_; base 12 base/cpu.h namespace base { base 18 base/cpu_unittest.cc base::CPU cpu; base 10 base/critical_closure.h namespace base { base 26 base/critical_closure.h base::Closure MakeCriticalClosure(const base::Closure& closure); base 28 base/critical_closure.h inline base::Closure MakeCriticalClosure(const base::Closure& closure) { base 10 base/debug/alias.h namespace base { base 22 base/debug/crash_logging.cc typedef std::map<base::StringPiece, CrashKey> CrashKeyMap; base 47 base/debug/crash_logging.cc void SetCrashKeyValue(const base::StringPiece& key, base 48 base/debug/crash_logging.cc const base::StringPiece& value) { base 69 base/debug/crash_logging.cc g_clear_key_func_(base::StringPrintf(kChunkFormatString, key.data(), i+1)); base 74 base/debug/crash_logging.cc g_set_key_func_(base::StringPrintf(kChunkFormatString, key.data(), i+1), base 79 base/debug/crash_logging.cc void ClearCrashKey(const base::StringPiece& key) { base 92 base/debug/crash_logging.cc g_clear_key_func_(base::StringPrintf(kChunkFormatString, key.data(), i+1)); base 96 base/debug/crash_logging.cc void SetCrashKeyToStackTrace(const base::StringPiece& key, base 103 base/debug/crash_logging.cc void SetCrashKeyFromAddresses(const base::StringPiece& key, base 114 base/debug/crash_logging.cc std::string s = base::StringPrintf("%p", addresses[i]); base 130 base/debug/crash_logging.cc ScopedCrashKey::ScopedCrashKey(const base::StringPiece& key, base 131 base/debug/crash_logging.cc const base::StringPiece& value) base 164 base/debug/crash_logging.cc const CrashKey* LookupCrashKey(const base::StringPiece& key) { base 181 base/debug/crash_logging.cc const base::StringPiece& value, base 21 base/debug/crash_logging.h namespace base { base 28 base/debug/crash_logging.h BASE_EXPORT void SetCrashKeyValue(const base::StringPiece& key, base 29 base/debug/crash_logging.h const base::StringPiece& value); base 30 base/debug/crash_logging.h BASE_EXPORT void ClearCrashKey(const base::StringPiece& key); base 33 base/debug/crash_logging.h BASE_EXPORT void SetCrashKeyToStackTrace(const base::StringPiece& key, base 39 base/debug/crash_logging.h BASE_EXPORT void SetCrashKeyFromAddresses(const base::StringPiece& key, base 47 base/debug/crash_logging.h ScopedCrashKey(const base::StringPiece& key, const base::StringPiece& value); base 77 base/debug/crash_logging.h BASE_EXPORT const CrashKey* LookupCrashKey(const base::StringPiece& key); base 81 base/debug/crash_logging.h typedef void (*SetCrashKeyValueFuncT)(const base::StringPiece&, base 82 base/debug/crash_logging.h const base::StringPiece&); base 83 base/debug/crash_logging.h typedef void (*ClearCrashKeyValueFuncT)(const base::StringPiece&); base 95 base/debug/crash_logging.h const base::StringPiece& value, base 23 base/debug/crash_logging_unittest.cc base::debug::SetCrashKeyReportingFunctions( base 29 base/debug/crash_logging_unittest.cc base::debug::ResetCrashLoggingForTesting(); base 36 base/debug/crash_logging_unittest.cc static void SetKeyValue(const base::StringPiece& key, base 37 base/debug/crash_logging_unittest.cc const base::StringPiece& value) { base 41 base/debug/crash_logging_unittest.cc static void ClearKeyValue(const base::StringPiece& key) { base 48 base/debug/crash_logging_unittest.cc base::debug::CrashKey keys[] = { { kTestKey, 255 } }; base 49 base/debug/crash_logging_unittest.cc base::debug::InitCrashKeys(keys, arraysize(keys), 255); base 51 base/debug/crash_logging_unittest.cc base::debug::SetCrashKeyValue(kTestKey, "value"); base 54 base/debug/crash_logging_unittest.cc base::debug::ClearCrashKey(kTestKey); base 63 base/debug/crash_logging_unittest.cc base::debug::CrashKey keys[] = { { kTestKey, 15 } }; base 64 base/debug/crash_logging_unittest.cc base::debug::InitCrashKeys(keys, arraysize(keys), 5); base 69 base/debug/crash_logging_unittest.cc base::debug::SetCrashKeyValue(kTestKey, "foo"); base 76 base/debug/crash_logging_unittest.cc base::debug::SetCrashKeyValue(kTestKey, "five four three two"); base 83 base/debug/crash_logging_unittest.cc base::debug::ClearCrashKey(kTestKey); base 91 base/debug/crash_logging_unittest.cc base::debug::SetCrashKeyValue(kTestKey, "five four three two"); base 92 base/debug/crash_logging_unittest.cc base::debug::SetCrashKeyValue(kTestKey, "allays"); base 99 base/debug/crash_logging_unittest.cc base::debug::ClearCrashKey(kTestKey); base 108 base/debug/crash_logging_unittest.cc base::debug::CrashKey keys[] = { { kTestKey, 255 } }; base 109 base/debug/crash_logging_unittest.cc base::debug::InitCrashKeys(keys, arraysize(keys), 255); base 114 base/debug/crash_logging_unittest.cc base::debug::ScopedCrashKey scoped_crash_key(kTestKey, "value"); base 123 base/debug/crash_logging_unittest.cc base::debug::CrashKey keys[] = { base 129 base/debug/crash_logging_unittest.cc size_t num_keys = base::debug::InitCrashKeys(keys, arraysize(keys), 5); base 133 base/debug/crash_logging_unittest.cc EXPECT_TRUE(base::debug::LookupCrashKey("chunked-3")); base 134 base/debug/crash_logging_unittest.cc EXPECT_TRUE(base::debug::LookupCrashKey("single")); base 135 base/debug/crash_logging_unittest.cc EXPECT_TRUE(base::debug::LookupCrashKey("chunked-6")); base 136 base/debug/crash_logging_unittest.cc EXPECT_FALSE(base::debug::LookupCrashKey("chunked-6-4")); base 140 base/debug/crash_logging_unittest.cc using base::debug::ChunkCrashKeyValue; base 143 base/debug/crash_logging_unittest.cc base::debug::CrashKey key = { "chunky", 10 }; base 180 base/debug/crash_logging_unittest.cc base::debug::CrashKey key = { "round", 12 }; base 181 base/debug/crash_logging_unittest.cc EXPECT_EQ(3u, base::debug::InitCrashKeys(&key, 1, 5)); base 62 base/debug/debug_on_start_win.cc base::debug::SpawnDebuggerOnProcess(GetCurrentProcessId()); base 65 base/debug/debug_on_start_win.cc base::debug::WaitForDebugger(60, false); base 68 base/debug/debug_on_start_win.cc base::debug::WaitForDebugger(60, true); base 23 base/debug/debug_on_start_win.h namespace base { base 14 base/debug/debugger.h namespace base { base 242 base/debug/debugger_posix.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 12 base/debug/dump_without_crashing.h namespace base { base 23 base/debug/gdi_debug_util_win.cc base::debug::Alias(&child_count); base 25 base/debug/gdi_debug_util_win.cc base::debug::Alias(&peak_gdi_count); base 27 base/debug/gdi_debug_util_win.cc base::debug::Alias(&sum_gdi_count); base 29 base/debug/gdi_debug_util_win.cc base::debug::Alias(&sum_user_count); base 40 base/debug/gdi_debug_util_win.cc base::win::ScopedHandle process( base 75 base/debug/gdi_debug_util_win.cc base::debug::Alias(&last_error); base 76 base/debug/gdi_debug_util_win.cc base::debug::Alias(&width); base 77 base/debug/gdi_debug_util_win.cc base::debug::Alias(&heigth); base 78 base/debug/gdi_debug_util_win.cc base::debug::Alias(&shared_section); base 87 base/debug/gdi_debug_util_win.cc base::debug::Alias(&get_gui_resources_error); base 91 base/debug/gdi_debug_util_win.cc base::debug::Alias(&num_gdi_handles); base 92 base/debug/gdi_debug_util_win.cc base::debug::Alias(&num_user_handles); base 112 base/debug/gdi_debug_util_win.cc base::debug::Alias(&small_data); base 12 base/debug/gdi_debug_util_win.h namespace base { base 46 base/debug/leak_tracker.h namespace base { base 50 base/debug/proc_maps_linux.cc base::ScopedFD fd(HANDLE_EINTR(open("/proc/self/maps", O_RDONLY))); base 14 base/debug/proc_maps_linux.h namespace base { base 172 base/debug/proc_maps_linux_unittest.cc base::StringPrintf("kTestCases[%zu] = %s", i, kTestCases[i].input)); base 257 base/debug/proc_maps_linux_unittest.cc SCOPED_TRACE(base::StringPrintf("kTestCases[%zu] = %s", i, kTestCases[i])); base 274 base/debug/proc_maps_linux_unittest.cc SCOPED_TRACE(base::StringPrintf("kTestCases[%zu] = %s", i, kTestCases[i])); base 115 base/debug/profiler.cc base::win::PEImage image(this_module); base 144 base/debug/profiler.cc const base::win::PEImage &image, const char* module_name, base 186 base/debug/profiler.cc base::win::PEImage image(this_module); base 17 base/debug/profiler.h namespace base { base 22 base/debug/stack_trace.h namespace base { base 101 base/debug/stack_trace.h int base, base 90 base/debug/stack_trace_android.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 113 base/debug/stack_trace_android.cc *os << base::StringPrintf("#%02zd " FMT_ADDR " ", i, address); base 118 base/debug/stack_trace_android.cc *os << base::StringPrintf("%s+" FMT_ADDR, path, rel_pc); base 96 base/debug/stack_trace_posix.cc scoped_ptr<char, base::FreeDeleter> demangled_symbol( base 743 base/debug/stack_trace_posix.cc count_ = base::saturated_cast<size_t>(backtrace(trace_, arraysize(trace_))); base 762 base/debug/stack_trace_posix.cc char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) { base 768 base/debug/stack_trace_posix.cc if (base < 2 || base > 16) { base 778 base/debug/stack_trace_posix.cc if (i < 0 && base == 10) { base 800 base/debug/stack_trace_posix.cc *ptr++ = "0123456789abcdef"[j % base]; base 801 base/debug/stack_trace_posix.cc j /= base; base 155 base/debug/stack_trace_unittest.cc std::string itoa_r_wrapper(intptr_t i, size_t sz, int base, size_t padding) { base 159 base/debug/stack_trace_unittest.cc char* result = internal::itoa_r(i, buffer, sz, base, padding); base 79 base/debug/stack_trace_win.cc base::AutoLock lock(lock_); base 149 base/debug/stack_trace_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 182 base/debug/stack_trace_win.cc base::Lock lock_; base 731 base/debug/trace_event.h (base::debug::TraceLog::ENABLED_FOR_RECORDING | \ base 732 base/debug/trace_event.h base::debug::TraceLog::ENABLED_FOR_EVENT_CALLBACK)) base 775 base/debug/trace_event.h base::debug::TraceLog::GetCategoryGroupEnabled base 781 base/debug/trace_event.h base::debug::TraceLog::GetInstance()->GetNumTracesRecorded base 795 base/debug/trace_event.h base::debug::TraceLog::GetInstance()->AddTraceEvent base 811 base/debug/trace_event.h base::debug::TraceLog::GetInstance()->AddTraceEventWithThreadIdAndTimestamp base 819 base/debug/trace_event.h base::debug::TraceLog::GetInstance()->UpdateTraceEventDuration base 822 base/debug/trace_event.h #define TRACE_EVENT_API_ATOMIC_WORD base::subtle::AtomicWord base 823 base/debug/trace_event.h #define TRACE_EVENT_API_ATOMIC_LOAD(var) base::subtle::NoBarrier_Load(&(var)) base 825 base/debug/trace_event.h base::subtle::NoBarrier_Store(&(var), (value)) base 892 base/debug/trace_event.h base::debug::TraceEventHandle h = trace_event_internal::AddTraceEvent( \ base 931 base/debug/trace_event.h thread_id, base::TimeTicks::FromInternalValue(timestamp), \ base 1165 base/debug/trace_event.h static inline void SetTraceValue(const base::Time arg, base 1172 base/debug/trace_event.h static inline void SetTraceValue(const base::TimeTicks arg, base 1185 base/debug/trace_event.h static inline base::debug::TraceEventHandle base 1192 base/debug/trace_event.h const base::TimeTicks& timestamp, base 1195 base/debug/trace_event.h const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg1_val) { base 1204 base/debug/trace_event.h static inline base::debug::TraceEventHandle base 1211 base/debug/trace_event.h const base::TimeTicks& timestamp, base 1216 base/debug/trace_event.h const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg2_val) { base 1225 base/debug/trace_event.h scoped_refptr<base::debug::ConvertableToTraceFormat> convertable_values[2]; base 1234 base/debug/trace_event.h static inline base::debug::TraceEventHandle base 1241 base/debug/trace_event.h const base::TimeTicks& timestamp, base 1244 base/debug/trace_event.h const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg1_val, base 1256 base/debug/trace_event.h scoped_refptr<base::debug::ConvertableToTraceFormat> convertable_values[2]; base 1264 base/debug/trace_event.h static inline base::debug::TraceEventHandle base 1271 base/debug/trace_event.h const base::TimeTicks& timestamp, base 1274 base/debug/trace_event.h const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg1_val, base 1276 base/debug/trace_event.h const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg2_val) { base 1281 base/debug/trace_event.h scoped_refptr<base::debug::ConvertableToTraceFormat> convertable_values[2] = base 1289 base/debug/trace_event.h static inline base::debug::TraceEventHandle base 1296 base/debug/trace_event.h const base::TimeTicks& timestamp, base 1303 base/debug/trace_event.h static inline base::debug::TraceEventHandle AddTraceEvent( base 1309 base/debug/trace_event.h int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); base 1310 base/debug/trace_event.h base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); base 1316 base/debug/trace_event.h static inline base::debug::TraceEventHandle base 1323 base/debug/trace_event.h const base::TimeTicks& timestamp, base 1337 base/debug/trace_event.h static inline base::debug::TraceEventHandle AddTraceEvent( base 1345 base/debug/trace_event.h int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); base 1346 base/debug/trace_event.h base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); base 1353 base/debug/trace_event.h static inline base::debug::TraceEventHandle base 1360 base/debug/trace_event.h const base::TimeTicks& timestamp, base 1378 base/debug/trace_event.h static inline base::debug::TraceEventHandle AddTraceEvent( base 1388 base/debug/trace_event.h int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); base 1389 base/debug/trace_event.h base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); base 1410 base/debug/trace_event.h base::debug::TraceEventHandle event_handle) { base 1426 base/debug/trace_event.h base::debug::TraceEventHandle event_handle; base 1441 base/debug/trace_event.h base::debug::TraceEventHandle event_handle_; base 1486 base/debug/trace_event.h namespace base { base 27 base/debug/trace_event_android.cc const base::debug::TraceEvent::TraceValue* arg_values, base 28 base/debug/trace_event_android.cc const scoped_refptr<base::debug::ConvertableToTraceFormat>* base 31 base/debug/trace_event_android.cc std::string out = base::StringPrintf("%c|%d|%s", phase, getpid(), name); base 33 base/debug/trace_event_android.cc base::StringAppendF(&out, "-%" PRIx64, static_cast<uint64>(id)); base 36 base/debug/trace_event_android.cc for (int i = 0; i < base::debug::kTraceMaxNumArgs && arg_names[i]; ++i) { base 45 base/debug/trace_event_android.cc base::debug::TraceEvent::AppendValueAsJSON( base 61 base/debug/trace_event_android.cc void NoOpOutputCallback(base::WaitableEvent* complete_event, base 62 base/debug/trace_event_android.cc const scoped_refptr<base::RefCountedString>&, base 68 base/debug/trace_event_android.cc void EndChromeTracing(base::debug::TraceLog* trace_log, base 69 base/debug/trace_event_android.cc base::WaitableEvent* complete_event) { base 72 base/debug/trace_event_android.cc trace_log->Flush(base::Bind(&NoOpOutputCallback, complete_event)); base 100 base/debug/trace_event_android.cc base::debug::TraceLog::RECORDING_MODE, base 117 base/debug/trace_event_android.cc FROM_HERE, base::Bind(&EndChromeTracing, Unretained(this), base 162 base/debug/trace_event_android.cc std::string out = base::StringPrintf( base 44 base/debug/trace_event_impl.cc Singleton<base::debug::TraceLog, base 45 base/debug/trace_event_impl.cc LeakySingletonTraits<base::debug::TraceLog> >::OnExit(0); base 838 base/debug/trace_event_impl.cc typedef base::Callback<void(TraceBucketData*)> TraceSampleCallback; base 842 base/debug/trace_event_impl.cc TraceBucketData(base::subtle::AtomicWord* bucket, base 957 base/debug/trace_event_impl.cc TraceBucketData::TraceBucketData(base::subtle::AtomicWord* bucket, base 1041 base/debug/trace_event_impl.cc static_cast<int>(base::PlatformThread::CurrentId()), base 1731 base/debug/trace_event_impl.cc int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); base 1732 base/debug/trace_event_impl.cc base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); base 1921 base/debug/trace_event_impl.cc log << base::StringPrintf("%s: \x1b[0;3%dm", base 1936 base/debug/trace_event_impl.cc log << base::StringPrintf(" (%.3f ms)", duration.InMillisecondsF()); base 2038 base/debug/trace_event_impl.cc int current_thread_id = static_cast<int>(base::PlatformThread::CurrentId()); base 2055 base/debug/trace_event_impl.cc for(base::hash_map<int, std::string>::iterator it = process_labels_.begin(); base 2163 base/debug/trace_event_impl.cc base::hash_map<int, std::string>::iterator it = process_labels_.find( base 2402 base/debug/trace_event_impl.cc static_cast<int>(base::PlatformThread::CurrentId()), base 2403 base/debug/trace_event_impl.cc base::TimeTicks::NowFromSystemTraceTime(), base 30 base/debug/trace_event_impl.h base::debug::TraceLog::AddTraceEventEtw( \ base 35 base/debug/trace_event_impl.h base::debug::TraceLog::AddTraceEventEtw( \ base 40 base/debug/trace_event_impl.h base::debug::TraceLog::AddTraceEventEtw( \ base 50 base/debug/trace_event_impl.h struct hash<base::MessageLoop*> { base 51 base/debug/trace_event_impl.h std::size_t operator()(base::MessageLoop* value) const { base 58 base/debug/trace_event_impl.h namespace base { base 146 base/debug/trace_event_impl.h const base::RefCountedString* parameter_copy_storage() const { base 173 base/debug/trace_event_impl.h scoped_refptr<base::RefCountedString> parameter_copy_storage_; base 241 base/debug/trace_event_impl.h typedef base::Callback<void(const std::string&)> OutputCallback; base 495 base/debug/trace_event_impl.h typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&, base 548 base/debug/trace_event_impl.h typedef base::Callback<void()> WatchEventCallback; base 685 base/debug/trace_event_impl.h base::hash_map<int, std::string> process_labels_; base 687 base/debug/trace_event_impl.h base::hash_map<int, int> thread_sort_indices_; base 688 base/debug/trace_event_impl.h base::hash_map<int, std::string> thread_names_; base 691 base/debug/trace_event_impl.h base::hash_map<int, std::stack<TimeTicks> > thread_event_start_times_; base 692 base/debug/trace_event_impl.h base::hash_map<std::string, int> thread_colors_; base 29 base/debug/trace_event_memory.cc class MemoryDumpHolder : public base::debug::ConvertableToTraceFormat { base 65 base/debug/trace_event_memory.cc base::ThreadLocalStorage::StaticSlot tls_trace_memory_stack = TLS_INITIALIZER; base 179 base/debug/trace_event_memory.cc base::Bind(&TraceMemoryController::StartProfiling, base 190 base/debug/trace_event_memory.cc base::Bind(&TraceMemoryController::StopProfiling, base 207 base/debug/trace_event_memory.cc base::Bind(&TraceMemoryController::DumpMemoryProfile, base 431 base/debug/trace_event_memory.cc if (!base::HexStringToUInt64(hex_address, &address)) base 21 base/debug/trace_event_memory.h namespace base { base 162 base/debug/trace_event_memory.h base::debug::ScopedTraceMemory INTERNAL_TRACE_MEMORY_ID(category, name); base 26 base/debug/trace_event_synthetic_delay.cc virtual base::TimeTicks Now() OVERRIDE; base 36 base/debug/trace_event_synthetic_delay.cc base::subtle::Atomic32 delay_count_; base 60 base/debug/trace_event_synthetic_delay.cc base::TimeDelta target_duration) { base 87 base/debug/trace_event_synthetic_delay.cc base::TimeTicks start_time = clock_->Now(); base 96 base/debug/trace_event_synthetic_delay.cc void TraceEventSyntheticDelay::BeginParallel(base::TimeTicks* out_end_time) { base 100 base/debug/trace_event_synthetic_delay.cc *out_end_time = base::TimeTicks(); base 104 base/debug/trace_event_synthetic_delay.cc base::TimeTicks start_time = clock_->Now(); base 117 base/debug/trace_event_synthetic_delay.cc base::TimeTicks end_time; base 128 base/debug/trace_event_synthetic_delay.cc void TraceEventSyntheticDelay::EndParallel(base::TimeTicks end_time) { base 133 base/debug/trace_event_synthetic_delay.cc base::TimeTicks TraceEventSyntheticDelay::CalculateEndTimeLocked( base 134 base/debug/trace_event_synthetic_delay.cc base::TimeTicks start_time) { base 136 base/debug/trace_event_synthetic_delay.cc return base::TimeTicks(); base 138 base/debug/trace_event_synthetic_delay.cc return base::TimeTicks(); base 142 base/debug/trace_event_synthetic_delay.cc void TraceEventSyntheticDelay::ApplyDelay(base::TimeTicks end_time) { base 163 base/debug/trace_event_synthetic_delay.cc int delay_count = base::subtle::Acquire_Load(&delay_count_); base 170 base/debug/trace_event_synthetic_delay.cc delay_count = base::subtle::Acquire_Load(&delay_count_); base 182 base/debug/trace_event_synthetic_delay.cc base::subtle::Release_Store(&delay_count_, delay_count + 1); base 186 base/debug/trace_event_synthetic_delay.cc base::TimeTicks TraceEventSyntheticDelayRegistry::Now() { base 187 base/debug/trace_event_synthetic_delay.cc return base::TimeTicks::HighResNow(); base 192 base/debug/trace_event_synthetic_delay.cc int delay_count = base::subtle::Acquire_Load(&delay_count_); base 194 base/debug/trace_event_synthetic_delay.cc delays_[i].SetTargetDuration(base::TimeDelta()); base 209 base/debug/trace_event_synthetic_delay.cc base::subtle::AtomicWord* impl_ptr) base 218 base/debug/trace_event_synthetic_delay.cc base::debug::TraceEventSyntheticDelay* GetOrCreateDelay( base 220 base/debug/trace_event_synthetic_delay.cc base::subtle::AtomicWord* impl_ptr) { base 221 base/debug/trace_event_synthetic_delay.cc base::debug::TraceEventSyntheticDelay* delay_impl = base 222 base/debug/trace_event_synthetic_delay.cc reinterpret_cast<base::debug::TraceEventSyntheticDelay*>( base 223 base/debug/trace_event_synthetic_delay.cc base::subtle::NoBarrier_Load(impl_ptr)); base 225 base/debug/trace_event_synthetic_delay.cc delay_impl = base::debug::TraceEventSyntheticDelayRegistry::GetInstance() base 227 base/debug/trace_event_synthetic_delay.cc base::subtle::NoBarrier_Store( base 228 base/debug/trace_event_synthetic_delay.cc impl_ptr, reinterpret_cast<base::subtle::AtomicWord>(delay_impl)); base 42 base/debug/trace_event_synthetic_delay.h static base::subtle::AtomicWord INTERNAL_TRACE_EVENT_UID(impl_ptr) = 0; \ base 51 base/debug/trace_event_synthetic_delay.h static base::subtle::AtomicWord impl_ptr = 0; \ base 60 base/debug/trace_event_synthetic_delay.h static base::subtle::AtomicWord impl_ptr = 0; \ base 67 base/debug/trace_event_synthetic_delay.h namespace base { base 75 base/debug/trace_event_synthetic_delay.h virtual base::TimeTicks Now() = 0; base 110 base/debug/trace_event_synthetic_delay.h void BeginParallel(base::TimeTicks* out_end_time); base 114 base/debug/trace_event_synthetic_delay.h void EndParallel(base::TimeTicks end_time); base 123 base/debug/trace_event_synthetic_delay.h base::TimeTicks CalculateEndTimeLocked(base::TimeTicks start_time); base 124 base/debug/trace_event_synthetic_delay.h void ApplyDelay(base::TimeTicks end_time); base 131 base/debug/trace_event_synthetic_delay.h base::TimeTicks end_time_; base 132 base/debug/trace_event_synthetic_delay.h base::TimeDelta target_duration_; base 150 base/debug/trace_event_synthetic_delay.h base::subtle::AtomicWord* impl_ptr); base 154 base/debug/trace_event_synthetic_delay.h base::debug::TraceEventSyntheticDelay* delay_impl_; base 155 base/debug/trace_event_synthetic_delay.h base::TimeTicks end_time_; base 161 base/debug/trace_event_synthetic_delay.h TRACE_EVENT_API_CLASS_EXPORT base::debug::TraceEventSyntheticDelay* base 162 base/debug/trace_event_synthetic_delay.h GetOrCreateDelay(const char* name, base::subtle::AtomicWord* impl_ptr); base 29 base/debug/trace_event_synthetic_delay_unittest.cc virtual base::TimeTicks Now() OVERRIDE { base 30 base/debug/trace_event_synthetic_delay_unittest.cc AdvanceTime(base::TimeDelta::FromMilliseconds(kShortDurationMs / 10)); base 38 base/debug/trace_event_synthetic_delay_unittest.cc base::TimeDelta::FromMilliseconds(kTargetDurationMs)); base 42 base/debug/trace_event_synthetic_delay_unittest.cc void AdvanceTime(base::TimeDelta delta) { now_ += delta; } base 45 base/debug/trace_event_synthetic_delay_unittest.cc base::TimeTicks start = Now(); base 51 base/debug/trace_event_synthetic_delay_unittest.cc base::TimeTicks start = Now(); base 57 base/debug/trace_event_synthetic_delay_unittest.cc base::TimeTicks start = Now(); base 63 base/debug/trace_event_synthetic_delay_unittest.cc base::TimeTicks now_; base 81 base/debug/trace_event_synthetic_delay_unittest.cc base::TimeDelta::FromMilliseconds(kTargetDurationMs)); base 103 base/debug/trace_event_synthetic_delay_unittest.cc AdvanceTime(base::TimeDelta::FromMilliseconds(kTargetDurationMs)); base 138 base/debug/trace_event_synthetic_delay_unittest.cc base::TimeTicks end_times[2]; base 139 base/debug/trace_event_synthetic_delay_unittest.cc base::TimeTicks start_time = Now(); base 25 base/debug/trace_event_system_stats_monitor.cc class SystemStatsHolder : public base::debug::ConvertableToTraceFormat { base 81 base/debug/trace_event_system_stats_monitor.cc base::Bind(&TraceEventSystemStatsMonitor::StartProfiling, base 88 base/debug/trace_event_system_stats_monitor.cc base::Bind(&TraceEventSystemStatsMonitor::StopProfiling, base 100 base/debug/trace_event_system_stats_monitor.cc base::Bind(&TraceEventSystemStatsMonitor:: base 128 base/debug/trace_event_system_stats_monitor.cc base::JSONWriter::Write(system_metrics.ToValue().get(), &tmp); base 16 base/debug/trace_event_system_stats_monitor.h namespace base { base 29 base/debug/trace_event_unittest.cc using base::debug::HighResSleepForTraceTest; base 57 base/debug/trace_event_unittest.cc const scoped_refptr<base::RefCountedString>& events_str, base 84 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 101 base/debug/trace_event_unittest.cc base::Bind(&TraceEventTestFixture::EndTraceAndFlushAsync, base 102 base/debug/trace_event_unittest.cc base::Unretained(this), base 110 base/debug/trace_event_unittest.cc base::Bind(&TraceEventTestFixture::OnTraceDataCollected, base 111 base/debug/trace_event_unittest.cc base::Unretained(static_cast<TraceEventTestFixture*>(this)), base 112 base/debug/trace_event_unittest.cc base::Unretained(flush_complete_event))); base 123 base/debug/trace_event_unittest.cc base::Bind(&TraceEventTestFixture::OnTraceDataCollected, base 124 base/debug/trace_event_unittest.cc base::Unretained(static_cast<TraceEventTestFixture*>(this)), base 125 base/debug/trace_event_unittest.cc base::Unretained(flush_complete_event))); base 151 base/debug/trace_event_unittest.cc base::debug::TraceResultBuffer trace_buffer_; base 152 base/debug/trace_event_unittest.cc base::debug::TraceResultBuffer::SimpleOutput json_output_; base 163 base/debug/trace_event_unittest.cc const scoped_refptr<base::RefCountedString>& events_str, base 172 base/debug/trace_event_unittest.cc root.reset(base::JSONReader::Read(json_output_.json_output, base 850 base/debug/trace_event_unittest.cc void HighResSleepForTraceTest(base::TimeDelta elapsed) { base 851 base/debug/trace_event_unittest.cc base::TimeTicks end_time = base::TimeTicks::HighResNow() + elapsed; base 853 base/debug/trace_event_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(1)); base 854 base/debug/trace_event_unittest.cc } while (base::TimeTicks::HighResNow() < end_time); base 860 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 871 base/debug/trace_event_unittest.cc public base::debug::TraceLog::EnabledStateObserver { base 884 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 896 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 907 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 921 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 924 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 944 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 961 base/debug/trace_event_unittest.cc : public base::debug::TraceLog::EnabledStateObserver { base 981 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 993 base/debug/trace_event_unittest.cc : public base::debug::TraceLog::EnabledStateObserver { base 1014 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1030 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1043 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1100 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1111 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1124 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1154 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1167 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1183 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1208 base/debug/trace_event_unittest.cc base::Bind(&TraceEventTestFixture::OnWatchEventMatched, base 1209 base/debug/trace_event_unittest.cc base::Unretained(this)); base 1336 base/debug/trace_event_unittest.cc base::debug::TraceEventHandle handle1 = base 1341 base/debug/trace_event_unittest.cc base::debug::TraceEventHandle handle2 = base 1364 base/debug/trace_event_unittest.cc base::debug::TraceEventHandle handle1 = base 1371 base/debug/trace_event_unittest.cc base::debug::TraceEventHandle handle2 = base 1399 base/debug/trace_event_unittest.cc FROM_HERE, base::Bind(&TraceWithAllMacroVariants, &task_complete_event)); base 1420 base/debug/trace_event_unittest.cc FROM_HERE, base::Bind(&TraceManyInstantEvents, base 1468 base/debug/trace_event_unittest.cc FROM_HERE, base::Bind(&TraceManyInstantEvents, base 1506 base/debug/trace_event_unittest.cc tmp_int == static_cast<int>(base::GetCurrentProcId())); base 1692 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1699 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1704 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1716 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1722 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1728 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1741 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1746 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1758 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1762 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1776 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1795 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1830 base/debug/trace_event_unittest.cc base::debug::TraceLog::MONITORING_MODE, base 1874 base/debug/trace_event_unittest.cc class MyData : public base::debug::ConvertableToTraceFormat { base 1889 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 1995 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2016 base/debug/trace_event_unittest.cc base::Time()); base 2018 base/debug/trace_event_unittest.cc base::Time::FromInternalValue(1)); base 2020 base/debug/trace_event_unittest.cc base::TimeTicks()); base 2022 base/debug/trace_event_unittest.cc base::TimeTicks::FromInternalValue(1)); base 2258 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2280 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2303 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2322 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2345 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2369 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2388 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2448 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2476 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2725 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2761 base/debug/trace_event_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 2808 base/debug/trace_event_unittest.cc base::TimeTicks start = base::TimeTicks::Now(); base 2812 base/debug/trace_event_unittest.cc base::TimeDelta duration = base::TimeTicks::Now() - start; base 7 base/debug/trace_event_unittest.h namespace base { base 11 base/debug/trace_event_unittest.h void HighResSleepForTraceTest(base::TimeDelta elapsed); base 13 base/debug/trace_event_win.cc using base::win::EtwEventType; base 14 base/debug/trace_event_win.cc using base::win::EtwMofEvent; base 19 base/debug/trace_event_win.h namespace base { base 24 base/debug/trace_event_win.h class BASE_EXPORT TraceEventETWProvider : public base::win::EtwTraceProvider { base 104 base/debug/trace_event_win.h const base::win::EtwEventType kTraceEventTypeBegin = 0x10; base 105 base/debug/trace_event_win.h const base::win::EtwEventType kTraceEventTypeEnd = 0x11; base 106 base/debug/trace_event_win.h const base::win::EtwEventType kTraceEventTypeInstant = 0x12; base 34 base/debug/trace_event_win_unittest.cc using base::win::EtwEventType; base 35 base/debug/trace_event_win_unittest.cc using base::win::EtwTraceConsumerBase; base 36 base/debug/trace_event_win_unittest.cc using base::win::EtwTraceController; base 37 base/debug/trace_event_win_unittest.cc using base::win::EtwTraceProperties; base 96 base/debug/trace_event_win_unittest.cc bool is_xp = win::GetVersion() < base::win::VERSION_VISTA; base 118 base/debug/trace_event_win_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&log_file_)); base 160 base/debug/trace_event_win_unittest.cc base::DeleteFile(log_file_, false); base 20 base/deferred_sequenced_task_runner.h namespace base { base 21 base/deferred_sequenced_task_runner_unittest.cc public base::NonThreadSafe { base 24 base/deferred_sequenced_task_runner_unittest.cc public base::RefCounted<ExecuteTaskOnDestructor> { base 42 base/deferred_sequenced_task_runner_unittest.cc base::AutoLock lock(lock_); base 48 base/deferred_sequenced_task_runner_unittest.cc base::Bind(&DeferredSequencedTaskRunnerTest::ExecuteTask, base 49 base/deferred_sequenced_task_runner_unittest.cc base::Unretained(this), base 64 base/deferred_sequenced_task_runner_unittest.cc new base::DeferredSequencedTaskRunner(loop_.message_loop_proxy())) { base 67 base/deferred_sequenced_task_runner_unittest.cc base::MessageLoop loop_; base 68 base/deferred_sequenced_task_runner_unittest.cc scoped_refptr<base::DeferredSequencedTaskRunner> runner_; base 69 base/deferred_sequenced_task_runner_unittest.cc mutable base::Lock lock_; base 124 base/deferred_sequenced_task_runner_unittest.cc base::Thread thread1("DeferredSequencedTaskRunnerTestThread1"); base 125 base/deferred_sequenced_task_runner_unittest.cc base::Thread thread2("DeferredSequencedTaskRunnerTestThread2"); base 131 base/deferred_sequenced_task_runner_unittest.cc base::Bind(&DeferredSequencedTaskRunnerTest::PostExecuteTask, base 132 base/deferred_sequenced_task_runner_unittest.cc base::Unretained(this), base 136 base/deferred_sequenced_task_runner_unittest.cc base::Bind(&DeferredSequencedTaskRunnerTest::PostExecuteTask, base 137 base/deferred_sequenced_task_runner_unittest.cc base::Unretained(this), base 142 base/deferred_sequenced_task_runner_unittest.cc base::Bind(&DeferredSequencedTaskRunnerTest::StartRunner, base 143 base/deferred_sequenced_task_runner_unittest.cc base::Unretained(this))); base 155 base/deferred_sequenced_task_runner_unittest.cc base::Thread thread("DeferredSequencedTaskRunnerTestThread"); base 158 base/deferred_sequenced_task_runner_unittest.cc new base::DeferredSequencedTaskRunner(thread.message_loop_proxy()); base 167 base/deferred_sequenced_task_runner_unittest.cc base::Bind(&DeferredSequencedTaskRunnerTest::DoNothing, base 168 base/deferred_sequenced_task_runner_unittest.cc base::Unretained(this), base 23 base/environment.cc class EnvironmentImpl : public base::Environment { base 16 base/environment.h namespace base { base 18 base/event_recorder.h namespace base { base 22 base/event_types.h namespace base { base 10 base/file_descriptor_posix.h namespace base { base 39 base/file_util.h namespace base { base 356 base/file_util.h BASE_EXPORT bool VerifyPathControlledByUser(const base::FilePath& base, base 357 base/file_util.h const base::FilePath& path, base 370 base/file_util.h BASE_EXPORT bool VerifyPathControlledByAdmin(const base::FilePath& path); base 375 base/file_util.h BASE_EXPORT int GetMaximumPathComponentLength(const base::FilePath& path); base 427 base/file_util.h namespace base { base 12 base/file_util_android.cc bool GetShmemTempDir(bool executable, base::FilePath* path) { base 13 base/file_util_android.cc return PathService::Get(base::DIR_CACHE, path); base 136 base/file_util_posix.cc return StringPrintf(".%s.XXXXXX", base::mac::BaseBundleID()); base 151 base/file_util_posix.cc *path = directory.Append(base::TempFileName()); base 449 base/file_util_posix.cc return PathService::Get(base::DIR_CACHE, path); base 726 base/file_util_posix.cc bool VerifyPathControlledByUser(const FilePath& base, base 730 base/file_util_posix.cc if (base != path && !base.IsParent(path)) { base 732 base/file_util_posix.cc << base.value() << "\", path = \"" << path.value() << "\""; base 739 base/file_util_posix.cc base.GetComponents(&base_components); base 752 base/file_util_posix.cc FilePath current_path = base; base 1999 base/file_util_unittest.cc EXPECT_TRUE(base::DeleteFile(file_path, false)); base 2133 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2138 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2144 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2149 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2162 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2165 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2177 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2181 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2186 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2204 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2207 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2210 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2215 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2218 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2221 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2226 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2229 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2232 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2247 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2250 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2253 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2257 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2260 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2263 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2270 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2273 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2276 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2290 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2293 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2296 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2300 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2303 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2306 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2319 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2322 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2325 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2340 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2343 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2346 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2353 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2356 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2359 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2366 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2369 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2372 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2379 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2382 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2385 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2392 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2395 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2398 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2405 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2408 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2411 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2419 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2422 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2425 base/file_util_unittest.cc base::VerifyPathControlledByUser( base 2479 base/file_util_unittest.cc base::ScopedFD read_end_closer(fds[0]); base 2481 base/file_util_unittest.cc base::ScopedFD write_end_closer(fds[1]); base 2495 base/file_util_unittest.cc base::ScopedFD fd_closer(fd); base 2502 base/file_util_unittest.cc base::ScopedFD read_end_closer(fds[0]); base 491 base/file_util_win.cc base::win::ScopedHandle file_handle( base 505 base/file_util_win.cc base::win::ScopedHandle file_map_handle( base 576 base/file_util_win.cc base::win::ScopedHandle file(CreateFile(filename.value().c_str(), base 595 base/file_util_win.cc base::win::ScopedHandle file(CreateFile(filename.value().c_str(), base 627 base/file_util_win.cc base::win::ScopedHandle file(CreateFile(filename.value().c_str(), base 21 base/file_version_info.h namespace base { base 43 base/file_version_info.h const base::FilePath& file_path); base 69 base/file_version_info.h virtual base::string16 company_name() = 0; base 70 base/file_version_info.h virtual base::string16 company_short_name() = 0; base 71 base/file_version_info.h virtual base::string16 product_name() = 0; base 72 base/file_version_info.h virtual base::string16 product_short_name() = 0; base 73 base/file_version_info.h virtual base::string16 internal_name() = 0; base 74 base/file_version_info.h virtual base::string16 product_version() = 0; base 75 base/file_version_info.h virtual base::string16 private_build() = 0; base 76 base/file_version_info.h virtual base::string16 special_build() = 0; base 77 base/file_version_info.h virtual base::string16 comments() = 0; base 78 base/file_version_info.h virtual base::string16 original_filename() = 0; base 79 base/file_version_info.h virtual base::string16 file_description() = 0; base 80 base/file_version_info.h virtual base::string16 file_version() = 0; base 81 base/file_version_info.h virtual base::string16 legal_copyright() = 0; base 82 base/file_version_info.h virtual base::string16 legal_trademarks() = 0; base 83 base/file_version_info.h virtual base::string16 last_change() = 0; base 26 base/file_version_info_mac.h virtual base::string16 company_name() OVERRIDE; base 27 base/file_version_info_mac.h virtual base::string16 company_short_name() OVERRIDE; base 28 base/file_version_info_mac.h virtual base::string16 product_name() OVERRIDE; base 29 base/file_version_info_mac.h virtual base::string16 product_short_name() OVERRIDE; base 30 base/file_version_info_mac.h virtual base::string16 internal_name() OVERRIDE; base 31 base/file_version_info_mac.h virtual base::string16 product_version() OVERRIDE; base 32 base/file_version_info_mac.h virtual base::string16 private_build() OVERRIDE; base 33 base/file_version_info_mac.h virtual base::string16 special_build() OVERRIDE; base 34 base/file_version_info_mac.h virtual base::string16 comments() OVERRIDE; base 35 base/file_version_info_mac.h virtual base::string16 original_filename() OVERRIDE; base 36 base/file_version_info_mac.h virtual base::string16 file_description() OVERRIDE; base 37 base/file_version_info_mac.h virtual base::string16 file_version() OVERRIDE; base 38 base/file_version_info_mac.h virtual base::string16 legal_copyright() OVERRIDE; base 39 base/file_version_info_mac.h virtual base::string16 legal_trademarks() OVERRIDE; base 40 base/file_version_info_mac.h virtual base::string16 last_change() OVERRIDE; base 46 base/file_version_info_mac.h base::string16 GetString16Value(CFStringRef name); base 48 base/file_version_info_mac.h base::scoped_nsobject<NSBundle> bundle_; base 15 base/file_version_info_unittest.cc using base::FilePath; base 22 base/file_version_info_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 15 base/file_version_info_win.cc using base::FilePath; base 19 base/file_version_info_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 52 base/file_version_info_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 84 base/file_version_info_win.cc base::string16 FileVersionInfoWin::company_name() { base 88 base/file_version_info_win.cc base::string16 FileVersionInfoWin::company_short_name() { base 92 base/file_version_info_win.cc base::string16 FileVersionInfoWin::internal_name() { base 96 base/file_version_info_win.cc base::string16 FileVersionInfoWin::product_name() { base 100 base/file_version_info_win.cc base::string16 FileVersionInfoWin::product_short_name() { base 104 base/file_version_info_win.cc base::string16 FileVersionInfoWin::comments() { base 108 base/file_version_info_win.cc base::string16 FileVersionInfoWin::legal_copyright() { base 112 base/file_version_info_win.cc base::string16 FileVersionInfoWin::product_version() { base 116 base/file_version_info_win.cc base::string16 FileVersionInfoWin::file_description() { base 120 base/file_version_info_win.cc base::string16 FileVersionInfoWin::legal_trademarks() { base 124 base/file_version_info_win.cc base::string16 FileVersionInfoWin::private_build() { base 128 base/file_version_info_win.cc base::string16 FileVersionInfoWin::file_version() { base 132 base/file_version_info_win.cc base::string16 FileVersionInfoWin::original_filename() { base 136 base/file_version_info_win.cc base::string16 FileVersionInfoWin::special_build() { base 140 base/file_version_info_win.cc base::string16 FileVersionInfoWin::last_change() { base 25 base/file_version_info_win.h virtual base::string16 company_name() OVERRIDE; base 26 base/file_version_info_win.h virtual base::string16 company_short_name() OVERRIDE; base 27 base/file_version_info_win.h virtual base::string16 product_name() OVERRIDE; base 28 base/file_version_info_win.h virtual base::string16 product_short_name() OVERRIDE; base 29 base/file_version_info_win.h virtual base::string16 internal_name() OVERRIDE; base 30 base/file_version_info_win.h virtual base::string16 product_version() OVERRIDE; base 31 base/file_version_info_win.h virtual base::string16 private_build() OVERRIDE; base 32 base/file_version_info_win.h virtual base::string16 special_build() OVERRIDE; base 33 base/file_version_info_win.h virtual base::string16 comments() OVERRIDE; base 34 base/file_version_info_win.h virtual base::string16 original_filename() OVERRIDE; base 35 base/file_version_info_win.h virtual base::string16 file_description() OVERRIDE; base 36 base/file_version_info_win.h virtual base::string16 file_version() OVERRIDE; base 37 base/file_version_info_win.h virtual base::string16 legal_copyright() OVERRIDE; base 38 base/file_version_info_win.h virtual base::string16 legal_trademarks() OVERRIDE; base 39 base/file_version_info_win.h virtual base::string16 last_change() OVERRIDE; base 53 base/file_version_info_win.h scoped_ptr<char, base::FreeDeleter> data_; base 8 base/files/dir_reader_fallback.h namespace base { base 19 base/files/dir_reader_linux.h namespace base { base 26 base/files/dir_reader_posix.h namespace base { base 27 base/files/file.h namespace base { base 147 base/files/file.h base::Time last_modified; base 150 base/files/file.h base::Time last_accessed; base 153 base/files/file.h base::Time creation_time; base 24 base/files/file_enumerator.h namespace base { base 34 base/files/file_enumerator_posix.cc base::Time FileEnumerator::FileInfo::GetLastModifiedTime() const { base 35 base/files/file_enumerator_posix.cc return base::Time::FromTimeT(stat_.st_mtime); base 121 base/files/file_enumerator_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 37 base/files/file_enumerator_win.cc base::Time FileEnumerator::FileInfo::GetLastModifiedTime() const { base 38 base/files/file_enumerator_win.cc return base::Time::FromFileTime(find_data_.ftLastWriteTime); base 87 base/files/file_enumerator_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 103 base/files/file_enumerator_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7) { base 231 base/files/file_path.cc FilePath base; base 235 base/files/file_path.cc base = current.BaseName(); base 236 base/files/file_path.cc if (!AreAllSeparators(base.value())) base 237 base/files/file_path.cc ret_val.push_back(base.value()); base 242 base/files/file_path.cc base = current.BaseName(); base 243 base/files/file_path.cc if (!base.value().empty() && base.value() != kCurrentDirectory) base 368 base/files/file_path.cc FilePath base(BaseName()); base 369 base/files/file_path.cc const StringType::size_type dot = ExtensionSeparatorPosition(base.path_); base 373 base/files/file_path.cc return base.path_.substr(dot, StringType::npos); base 377 base/files/file_path.cc FilePath base(BaseName()); base 378 base/files/file_path.cc const StringType::size_type dot = FinalExtensionSeparatorPosition(base.path_); base 382 base/files/file_path.cc return base.path_.substr(dot, StringType::npos); base 1320 base/files/file_path.cc void PrintTo(const base::FilePath& path, std::ostream* out) { base 128 base/files/file_path.h namespace base { base 271 base/files/file_path.h const base::StringPiece& suffix) const WARN_UNUSED_RESULT; base 304 base/files/file_path.h FilePath AppendASCII(const base::StringPiece& component) base 439 base/files/file_path.h BASE_EXPORT extern void PrintTo(const base::FilePath& path, std::ostream* out); base 459 base/files/file_path.h struct hash<base::FilePath> { base 460 base/files/file_path.h size_t operator()(const base::FilePath& f) const { base 461 base/files/file_path.h return hash<base::FilePath::StringType>()(f.value()); base 467 base/files/file_path.h inline size_t hash_value(const base::FilePath& f) { base 618 base/files/file_path_unittest.cc const FilePath base(FPL("blah")); base 634 base/files/file_path_unittest.cc FilePath result(base); base 639 base/files/file_path_unittest.cc EXPECT_EQ(base.Append(cases[i].expected).value(), result.value()) << base 713 base/files/file_path_unittest.cc FilePath base = jpg.BaseName().RemoveExtension(); base 714 base/files/file_path_unittest.cc EXPECT_EQ(FILE_PATH_LITERAL("foo"), base.value()); base 716 base/files/file_path_unittest.cc FilePath path_no_ext = base_dir.Append(base); base 17 base/files/file_path_watcher.h namespace base { base 33 base/files/file_path_watcher.h typedef base::Callback<void(const FilePath& path, bool error)> Callback; base 36 base/files/file_path_watcher.h class PlatformDelegate : public base::RefCountedThreadSafe<PlatformDelegate> { base 51 base/files/file_path_watcher.h friend class base::RefCountedThreadSafe<PlatformDelegate>; base 61 base/files/file_path_watcher.h scoped_refptr<base::MessageLoopProxy> message_loop() const { base 65 base/files/file_path_watcher.h void set_message_loop(base::MessageLoopProxy* loop) { base 79 base/files/file_path_watcher.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 43 base/files/file_path_watcher_browsertest.cc : public base::RefCountedThreadSafe<NotificationCollector> { base 46 base/files/file_path_watcher_browsertest.cc : loop_(base::MessageLoopProxy::current()) {} base 51 base/files/file_path_watcher_browsertest.cc base::Bind(&NotificationCollector::RecordChange, this, base 52 base/files/file_path_watcher_browsertest.cc base::Unretained(delegate))); base 89 base/files/file_path_watcher_browsertest.cc scoped_refptr<base::MessageLoopProxy> loop_; base 134 base/files/file_path_watcher_browsertest.cc base::WaitableEvent* completion) { base 136 base/files/file_path_watcher_browsertest.cc base::Bind(&TestDelegateBase::OnFileChanged, base 151 base/files/file_path_watcher_browsertest.cc base::Thread::Options options(MessageLoop::TYPE_IO, 0); base 175 base/files/file_path_watcher_browsertest.cc int write_size = ::base::WriteFile(file, content.c_str(), content.length()); base 193 base/files/file_path_watcher_browsertest.cc base::Thread file_thread_; base 204 base/files/file_path_watcher_browsertest.cc base::WaitableEvent completion(false, false); base 208 base/files/file_path_watcher_browsertest.cc base::Bind(SetupWatchCallback, base 250 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::Move(source_file, test_file())); base 263 base/files/file_path_watcher_browsertest.cc base::DeleteFile(test_file(), false); base 341 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(dir)); base 352 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(file, false)); base 364 base/files/file_path_watcher_browsertest.cc std::string dir(base::StringPrintf("d%d", i)); base 378 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(sub_path)); base 399 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(dir)); base 404 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(dir, true)); base 416 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(test_file(), false)); base 434 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(dir)); base 449 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(file1, false)); base 473 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(subdir)); base 479 base/files/file_path_watcher_browsertest.cc base::Move(dir, dest); base 494 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(dir)); base 504 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(subdir)); base 514 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(subdir_child_dir)); base 531 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(subdir_file1, false)); base 535 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(child_dir_file1, false)); base 561 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(source_subdir)); base 571 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::Move(source_dir, dest_dir)); base 623 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(test_link(), false)); base 670 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(test_file(), false)); base 685 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(dir)); base 698 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(file, false)); base 719 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(dir)); base 728 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(file, false)); base 743 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(dir)); base 756 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::DeleteFile(file, false)); base 814 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(test_dir1)); base 815 base/files/file_path_watcher_browsertest.cc ASSERT_TRUE(base::CreateDirectory(test_dir2)); base 143 base/files/file_path_watcher_kqueue.cc scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 243 base/files/file_path_watcher_kqueue.cc path_name = base::StringPrintf( base 453 base/files/file_path_watcher_kqueue.cc io_message_loop_ = base::MessageLoopProxy::current(); base 482 base/files/file_path_watcher_kqueue.cc base::MessageLoopProxy* proxy = io_message_loop_.get(); base 489 base/files/file_path_watcher_kqueue.cc base::Bind(&FilePathWatcherImpl::Cancel, this)); base 449 base/files/file_path_watcher_linux.cc base::IsLink(path)) { base 22 base/files/file_path_watcher_win.cc public base::win::ObjectWatcher::Delegate, base 73 base/files/file_path_watcher_win.cc base::win::ObjectWatcher watcher_; base 36 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 41 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 175 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 275 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 280 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 290 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 310 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 329 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 336 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 345 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 369 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 389 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 408 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 414 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 420 base/files/file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 19 base/files/file_proxy.h namespace base { base 117 base/files/file_proxy_unittest.cc base::WriteFile(test_path(), NULL, 0); base 153 base/files/file_proxy_unittest.cc EXPECT_FALSE(base::Move(test_path(), test_dir_path().AppendASCII("new"))); base 162 base/files/file_proxy_unittest.cc EXPECT_TRUE(base::Move(test_path(), test_dir_path().AppendASCII("new"))); base 191 base/files/file_proxy_unittest.cc EXPECT_TRUE(base::DeleteFile(path_, false)); base 196 base/files/file_proxy_unittest.cc ASSERT_EQ(4, base::WriteFile(test_path(), "test", 4)); base 221 base/files/file_proxy_unittest.cc base::WriteFile(test_path(), expected_data, expected_bytes)); base 258 base/files/file_proxy_unittest.cc EXPECT_EQ(data_bytes, base::ReadFile(test_path(), buffer, data_bytes)); base 292 base/files/file_proxy_unittest.cc ASSERT_EQ(10, base::WriteFile(test_path(), kTestData, 10)); base 309 base/files/file_proxy_unittest.cc EXPECT_EQ(7, base::ReadFile(test_path(), buffer, 7)); base 318 base/files/file_proxy_unittest.cc ASSERT_EQ(10, base::WriteFile(test_path(), kTestData, 10)); base 335 base/files/file_proxy_unittest.cc EXPECT_EQ(53, base::ReadFile(test_path(), buffer, 53)); base 11 base/files/file_unittest.cc using base::File; base 12 base/files/file_unittest.cc using base::FilePath; base 15 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 23 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_FAILED, file.error_details()); base 25 base/files/file_unittest.cc File file2(base::File::FILE_ERROR_TOO_MANY_OPENED); base 27 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, file2.error_details()); base 32 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 34 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file.error_details()); base 39 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); base 42 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); base 47 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 50 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); base 60 base/files/file_unittest.cc file.Initialize(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 63 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); base 72 base/files/file_unittest.cc File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_READ); base 75 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, file.error_details()); base 81 base/files/file_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_READ); base 84 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); base 91 base/files/file_unittest.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ | base 92 base/files/file_unittest.cc base::File::FLAG_DELETE_ON_CLOSE); base 95 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); base 98 base/files/file_unittest.cc EXPECT_FALSE(base::PathExists(file_path)); base 102 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 107 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_ASYNC); base 113 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN_ALWAYS); base 120 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 126 base/files/file_unittest.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ | base 127 base/files/file_unittest.cc base::File::FLAG_SHARE_DELETE); base 130 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); base 134 base/files/file_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_DELETE_ON_CLOSE | base 135 base/files/file_unittest.cc base::File::FLAG_READ); base 138 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, same_file.error_details()); base 143 base/files/file_unittest.cc EXPECT_FALSE(base::PathExists(file_path)); base 147 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 151 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_READ | base 152 base/files/file_unittest.cc base::File::FLAG_WRITE); base 219 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 222 base/files/file_unittest.cc File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_APPEND); base 238 base/files/file_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_READ | base 239 base/files/file_unittest.cc base::File::FLAG_APPEND); base 267 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 271 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_READ | base 272 base/files/file_unittest.cc base::File::FLAG_WRITE); base 319 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 322 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE | base 323 base/files/file_unittest.cc base::File::FLAG_WRITE_ATTRIBUTES); base 327 base/files/file_unittest.cc base::File::Info info; base 332 base/files/file_unittest.cc base::Time now = base::Time::Now() + base::TimeDelta::FromSeconds(2); base 339 base/files/file_unittest.cc base::Time creation_time = info.creation_time; base 351 base/files/file_unittest.cc base::Time new_last_accessed = base 352 base/files/file_unittest.cc info.last_accessed + base::TimeDelta::FromSeconds(234); base 353 base/files/file_unittest.cc base::Time new_last_modified = base 354 base/files/file_unittest.cc info.last_modified + base::TimeDelta::FromMinutes(567); base 382 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 386 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_READ | base 387 base/files/file_unittest.cc base::File::FLAG_WRITE); base 394 base/files/file_unittest.cc EXPECT_EQ(0, file.Seek(base::File::FROM_BEGIN, 0)); base 406 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 410 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_READ | base 411 base/files/file_unittest.cc base::File::FLAG_WRITE); base 430 base/files/file_unittest.cc base::ScopedTempDir temp_dir; base 435 base/files/file_unittest.cc base::File dir( base 445 base/files/file_unittest.cc base::File::Info info; base 41 base/files/file_util_proxy.cc base::Bind(base::IgnoreResult(close_task_), file_handle_)); base 80 base/files/file_util_proxy.cc if (!base::CreateTemporaryFile(&file_path_)) { base 99 base/files/file_util_proxy.cc base::DeleteFile(file_path_, false); base 233 base/files/file_util_proxy.cc if (!base::DeleteFile(file_path, recursive)) { base 234 base/files/file_util_proxy.cc if (!recursive && !base::IsDirectoryEmpty(file_path)) { base 251 base/files/file_util_proxy.cc base::Bind(&CreateOrOpenAdapter, file_path, file_flags), base 252 base/files/file_util_proxy.cc base::Bind(&CloseAdapter), base 272 base/files/file_util_proxy.cc base::PlatformFile file_handle, base 276 base/files/file_util_proxy.cc base::Bind(&CloseAdapter), base 312 base/files/file_util_proxy.cc return base::PostTaskAndReplyWithResult( base 360 base/files/file_util_proxy.cc return base::PostTaskAndReplyWithResult( base 375 base/files/file_util_proxy.cc return base::PostTaskAndReplyWithResult( base 388 base/files/file_util_proxy.cc return base::PostTaskAndReplyWithResult( base 400 base/files/file_util_proxy.cc return base::PostTaskAndReplyWithResult( base 427 base/files/file_util_proxy.cc return base::PostTaskAndReplyWithResult( base 19 base/files/file_util_proxy.h namespace base { base 171 base/files/file_util_proxy_unittest.cc EXPECT_FALSE(base::Move(test_path(), base 183 base/files/file_util_proxy_unittest.cc EXPECT_TRUE(base::Move(test_path(), test_dir_path().AppendASCII("new"))); base 221 base/files/file_util_proxy_unittest.cc EXPECT_TRUE(base::DeleteFile(path_, false)); base 249 base/files/file_util_proxy_unittest.cc ASSERT_TRUE(base::CreateDirectory(test_path())); base 322 base/files/file_util_proxy_unittest.cc EXPECT_EQ(data_bytes, base::ReadFile(test_path(), buffer, data_bytes)); base 375 base/files/file_util_proxy_unittest.cc EXPECT_EQ(7, base::ReadFile(test_path(), buffer, 7)); base 402 base/files/file_util_proxy_unittest.cc EXPECT_EQ(53, base::ReadFile(test_path(), buffer, 53)); base 17 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 113 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 119 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 133 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 156 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 180 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 199 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 217 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 227 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 255 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 261 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 271 base/files/file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 285 base/files/file_win.cc info->last_modified = base::Time::FromFileTime(file_info.ftLastWriteTime); base 286 base/files/file_win.cc info->last_accessed = base::Time::FromFileTime(file_info.ftLastAccessTime); base 287 base/files/file_win.cc info->creation_time = base::Time::FromFileTime(file_info.ftCreationTime); base 291 base/files/file_win.cc File::Error base::File::Lock() { base 62 base/files/important_file_writer.cc if (!base::CreateTemporaryFileInDir(path.DirName(), &tmp_file_path)) { base 83 base/files/important_file_writer.cc base::DeleteFile(tmp_file_path, false); base 87 base/files/important_file_writer.cc if (!base::ReplaceFile(tmp_file_path, path, NULL)) { base 89 base/files/important_file_writer.cc base::DeleteFile(tmp_file_path, false); base 97 base/files/important_file_writer.cc const FilePath& path, base::SequencedTaskRunner* task_runner) base 18 base/files/important_file_writer.h namespace base { base 65 base/files/important_file_writer.h base::SequencedTaskRunner* task_runner); base 105 base/files/important_file_writer.h const scoped_refptr<base::SequencedTaskRunner> task_runner_; base 17 base/files/memory_mapped_file.h namespace base { base 16 base/files/scoped_file.h namespace base { base 11 base/files/scoped_platform_file_closer.h namespace base { base 26 base/files/scoped_temp_dir.cc if (!base::CreateNewTempDirectory(FILE_PATH_LITERAL("scoped_dir"), &path_)) base 37 base/files/scoped_temp_dir.cc if (!base::CreateDirectory(base_path)) base 41 base/files/scoped_temp_dir.cc if (!base::CreateTemporaryDirInDir(base_path, base 53 base/files/scoped_temp_dir.cc if (!DirectoryExists(path) && !base::CreateDirectory(path)) base 64 base/files/scoped_temp_dir.cc bool ret = base::DeleteFile(path_, true); base 21 base/files/scoped_temp_dir.h namespace base { base 16 base/files/scoped_temp_dir_unittest.cc base::CreateNewTempDirectory(FILE_PATH_LITERAL("scoped_temp_dir"), base 58 base/files/scoped_temp_dir_unittest.cc EXPECT_TRUE(base::GetTempDir(&tmp_dir)); base 67 base/files/scoped_temp_dir_unittest.cc ASSERT_TRUE(base::CreateNewTempDirectory(FILE_PATH_LITERAL("base_dir"), base 80 base/files/scoped_temp_dir_unittest.cc base::DeleteFile(base_path, true); base 101 base/files/scoped_temp_dir_unittest.cc base::File file(dir.path().Append(FILE_PATH_LITERAL("temp")), base 102 base/files/scoped_temp_dir_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); base 104 base/files/scoped_temp_dir_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); base 14 base/float_util.h namespace base { base 14 base/guid.h namespace base { base 13 base/guid_posix.cc uint64 sixteen_bytes[2] = { base::RandUint64(), base::RandUint64() }; base 14 base/guid_unittest.cc std::string clientid = base::RandomDataToGUIDString(bytes); base 20 base/guid_unittest.cc std::string clientid = base::RandomDataToGUIDString(bytes); base 28 base/guid_unittest.cc std::string guid = base::GenerateGUID(); base 29 base/guid_unittest.cc EXPECT_TRUE(base::IsValidGUID(guid)); base 36 base/guid_unittest.cc std::string guid1 = base::GenerateGUID(); base 37 base/guid_unittest.cc std::string guid2 = base::GenerateGUID(); base 15 base/hash.h namespace base { base 13 base/i18n/bidi_line_iterator.h namespace base { base 55 base/i18n/break_iterator.h namespace base { base 94 base/i18n/break_iterator_unittest.cc UTF8ToUTF16(base::StringPrintf("%s a", very_wide_char))); base 199 base/i18n/break_iterator_unittest.cc UTF8ToUTF16(base::StringPrintf("%s a", very_wide_char))); base 297 base/i18n/break_iterator_unittest.cc UTF8ToUTF16(base::StringPrintf("%s\na", very_wide_char))); base 271 base/i18n/build_utf8_validator_tables.cc set_as_string += base::StringPrintf("[\\x%02x-\\x%02x]", base 323 base/i18n/build_utf8_validator_tables.cc base::checked_cast<uint8>(states->size() - 1); base 436 base/i18n/build_utf8_validator_tables.cc base::FilePath filename = base 441 base/i18n/build_utf8_validator_tables.cc output = base::OpenFile(filename, "wb"); base 460 base/i18n/build_utf8_validator_tables.cc if (!base::CloseFile(output)) base 12 base/i18n/case_conversion.h namespace base { base 18 base/i18n/case_conversion_unittest.cc string16 result = base::i18n::ToLower(mixed); base 21 base/i18n/case_conversion_unittest.cc result = base::i18n::ToUpper(mixed); base 27 base/i18n/char_iterator.h namespace base { base 22 base/i18n/file_util_icu.cc using base::string16; base 93 base/i18n/file_util_icu.cc void ReplaceIllegalCharactersInPath(base::FilePath::StringType* file_name, base 100 base/i18n/file_util_icu.cc base::TrimWhitespace(*file_name, base::TRIM_ALL, file_name); base 136 base/i18n/file_util_icu.cc bool LocaleAwareCompareFilenames(const base::FilePath& a, base 137 base/i18n/file_util_icu.cc const base::FilePath& b) { base 147 base/i18n/file_util_icu.cc return base::i18n::CompareString16WithCollator(collator.get(), base 148 base/i18n/file_util_icu.cc base::WideToUTF16(a.value()), base::WideToUTF16(b.value())) == UCOL_LESS; base 153 base/i18n/file_util_icu.cc return base::i18n::CompareString16WithCollator( base 155 base/i18n/file_util_icu.cc base::WideToUTF16(base::SysNativeMBToWide(a.value().c_str())), base 156 base/i18n/file_util_icu.cc base::WideToUTF16(base::SysNativeMBToWide(b.value().c_str())) base 163 base/i18n/file_util_icu.cc void NormalizeFileNameEncoding(base::FilePath* file_name) { base 166 base/i18n/file_util_icu.cc if (base::ConvertToUtf8AndNormalize(file_name->BaseName().value(), base 167 base/i18n/file_util_icu.cc base::kCodepageUTF8, base 169 base/i18n/file_util_icu.cc *file_name = file_name->DirName().Append(base::FilePath(normalized_str)); base 18 base/i18n/file_util_icu.h BASE_I18N_EXPORT bool IsFilenameLegal(const base::string16& file_name); base 28 base/i18n/file_util_icu.h base::FilePath::StringType* file_name, base 34 base/i18n/file_util_icu.h BASE_I18N_EXPORT bool LocaleAwareCompareFilenames(const base::FilePath& a, base 35 base/i18n/file_util_icu.h const base::FilePath& b); base 39 base/i18n/file_util_icu.h BASE_I18N_EXPORT void NormalizeFileNameEncoding(base::FilePath* file_name); base 76 base/i18n/file_util_icu_unittest.cc std::string bad_name(base::WideToUTF8(kIllegalCharacterCases[i].bad_name)); base 78 base/i18n/file_util_icu_unittest.cc EXPECT_EQ(base::WideToUTF8(kIllegalCharacterCases[i].good_name), bad_name); base 99 base/i18n/file_util_icu_unittest.cc base::FilePath path(kNormalizeFileNameEncodingTestCases[i].original_path); base 102 base/i18n/file_util_icu_unittest.cc base::FilePath(kNormalizeFileNameEncodingTestCases[i].normalized_path), base 10 base/i18n/i18n_constants.h namespace base { base 13 base/i18n/icu_encoding_detection.h namespace base { base 14 base/i18n/icu_string_conversions.h namespace base { base 77 base/i18n/icu_string_conversions_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %ls", base 252 base/i18n/icu_string_conversions_unittest.cc SCOPED_TRACE(base::StringPrintf( base 319 base/i18n/icu_string_conversions_unittest.cc SCOPED_TRACE(base::StringPrintf( base 373 base/i18n/icu_string_conversions_unittest.cc SCOPED_TRACE(base::StringPrintf( base 67 base/i18n/icu_util.cc PathService::Get(base::DIR_MODULE, &data_path); base 97 base/i18n/icu_util.cc CR_DEFINE_STATIC_LOCAL(base::MemoryMappedFile, mapped_file, ()); base 103 base/i18n/icu_util.cc bool path_ok = PathService::Get(base::DIR_MODULE, &data_path); base 105 base/i18n/icu_util.cc bool path_ok = PathService::Get(base::DIR_ANDROID_APP_DATA, &data_path); base 110 base/i18n/icu_util.cc bool path_ok = PathService::Get(base::DIR_EXE, &data_path); base 117 base/i18n/icu_util.cc base::mac::PathForFrameworkBundleResource(CFSTR(ICU_UTIL_DATA_FILE_NAME)); base 10 base/i18n/icu_util.h namespace base { base 12 base/i18n/number_formatting.h namespace base { base 50 base/i18n/rtl.cc base::i18n::TextDirection GetCharacterDirection(UChar32 character) { base 58 base/i18n/rtl.cc return base::i18n::RIGHT_TO_LEFT; base 62 base/i18n/rtl.cc return base::i18n::LEFT_TO_RIGHT; base 64 base/i18n/rtl.cc return base::i18n::UNKNOWN_DIRECTION; base 368 base/i18n/rtl.cc std::wstring wide_path = base::SysNativeMBToWide(path.value()); base 15 base/i18n/rtl.h namespace base { base 291 base/i18n/rtl_unittest.cc path = FilePath(base::SysWideToNativeMB(cases[i])); base 19 base/i18n/streaming_utf8_validator.h namespace base { base 89 base/i18n/streaming_utf8_validator_perftest.cc base::PerfTimeLogger timer(description.c_str()); base 148 base/i18n/streaming_utf8_validator_perftest.cc base::Callback<std::string(size_t length)> construct_test_string, base 170 base/i18n/streaming_utf8_validator_perftest.cc base::Bind(ConstructRepeatedTestString, kOneByteSeqRangeStart), base 177 base/i18n/streaming_utf8_validator_perftest.cc base::Bind(ConstructRangedTestString, base 186 base/i18n/streaming_utf8_validator_perftest.cc base::Bind(ConstructRepeatedTestString, kTwoByteSeqRangeStart), base 193 base/i18n/streaming_utf8_validator_perftest.cc base::Bind(ConstructRangedTestString, base 203 base/i18n/streaming_utf8_validator_perftest.cc base::Bind(ConstructRepeatedTestString, kThreeByteSeqRangeStart), base 210 base/i18n/streaming_utf8_validator_perftest.cc base::Bind(ConstructRangedTestString, base 219 base/i18n/streaming_utf8_validator_perftest.cc base::Bind(ConstructRepeatedTestString, kFourByteSeqRangeStart), base 226 base/i18n/streaming_utf8_validator_perftest.cc base::Bind(ConstructRangedTestString, base 66 base/i18n/streaming_utf8_validator_unittest.cc if (!base::IsValidCodepoint(code_point)) base 82 base/i18n/streaming_utf8_validator_unittest.cc << base::StringPrintf("\\x%02X\\x%02X\\x%02X\\x%02X", base 98 base/i18n/streaming_utf8_validator_unittest.cc base::AutoLock al(lock_); base 108 base/i18n/streaming_utf8_validator_unittest.cc base::Lock lock_; base 109 base/i18n/streaming_utf8_validator_unittest.cc base::ConditionVariable all_done_; base 115 base/i18n/streaming_utf8_validator_unittest.cc scoped_refptr<base::SequencedWorkerPool> pool = base 116 base/i18n/streaming_utf8_validator_unittest.cc new base::SequencedWorkerPool(32, "TestEverything"); base 117 base/i18n/streaming_utf8_validator_unittest.cc base::AutoLock al(lock_); base 122 base/i18n/streaming_utf8_validator_unittest.cc base::Bind(&StreamingUtf8ValidatorThoroughTest::TestRange, base 123 base/i18n/streaming_utf8_validator_unittest.cc base::Unretained(this), base 199 base/i18n/streaming_utf8_validator_unittest.cc base::StringPiece operator*() const { base 200 base/i18n/streaming_utf8_validator_unittest.cc return base::StringPiece(valid[index_], prefix_length_); base 240 base/i18n/streaming_utf8_validator_unittest.cc base::StringPiece sequence = *it; base 254 base/i18n/streaming_utf8_validator_unittest.cc base::StringPiece sequence = *it; base 256 base/i18n/streaming_utf8_validator_unittest.cc for (base::StringPiece::const_iterator cit = sequence.begin(); base 280 base/i18n/streaming_utf8_validator_unittest.cc base::StringPiece c1 = *it1; base 282 base/i18n/streaming_utf8_validator_unittest.cc base::StringPiece c2 = *it2; base 16 base/i18n/string_compare.h namespace base { base 13 base/i18n/string_search.h namespace base { base 14 base/i18n/time_formatting.h namespace base { base 12 base/i18n/timezone.h namespace base { base 10 base/i18n/utf8_validator_tables.h namespace base { base 34 base/id_map.h class IDMap : public base::NonThreadSafe { base 37 base/id_map.h typedef base::hash_map<KeyType, T*> HashTable; base 19 base/ini_parser.cc base::StringTokenizer tokenizer(content, "\r\n"); base 14 base/ini_parser.h namespace base { base 11 base/ios/ios_util.h namespace base { base 11 base/ios/scoped_critical_action.h namespace base { base 37 base/ios/scoped_critical_action.h class Core : public base::RefCountedThreadSafe<Core> { base 45 base/ios/scoped_critical_action.h friend base::RefCountedThreadSafe<Core>; base 11 base/json/json_file_value_serializer.cc using base::FilePath; base 18 base/json/json_file_value_serializer.cc bool JSONFileValueSerializer::Serialize(const base::Value& root) { base 23 base/json/json_file_value_serializer.cc const base::Value& root) { base 27 base/json/json_file_value_serializer.cc bool JSONFileValueSerializer::SerializeInternal(const base::Value& root, base 39 base/json/json_file_value_serializer.cc if (base::WriteFile(json_file_path_, json_string.data(), data_size) != base 48 base/json/json_file_value_serializer.cc if (!base::ReadFileToString(json_file_path_, json_string)) { base 57 base/json/json_file_value_serializer.cc if (!base::PathExists(json_file_path_)) base 83 base/json/json_file_value_serializer.cc base::Value* JSONFileValueSerializer::Deserialize(int* error_code, base 15 base/json/json_file_value_serializer.h class BASE_EXPORT JSONFileValueSerializer : public base::ValueSerializer { base 21 base/json/json_file_value_serializer.h explicit JSONFileValueSerializer(const base::FilePath& json_file_path) base 35 base/json/json_file_value_serializer.h virtual bool Serialize(const base::Value& root) OVERRIDE; base 39 base/json/json_file_value_serializer.h bool SerializeAndOmitBinaryValues(const base::Value& root); base 48 base/json/json_file_value_serializer.h virtual base::Value* Deserialize(int* error_code, base 75 base/json/json_file_value_serializer.h bool SerializeInternal(const base::Value& root, bool omit_binary_values); base 77 base/json/json_file_value_serializer.h base::FilePath json_file_path_; base 33 base/json/json_parser.cc class DictionaryHiddenRootValue : public base::DictionaryValue { base 45 base/json/json_parser.cc scoped_ptr<base::DictionaryValue> copy(DeepCopy()); base 83 base/json/json_parser.cc class ListHiddenRootValue : public base::ListValue { base 95 base/json/json_parser.cc scoped_ptr<base::ListValue> copy(DeepCopy()); base 132 base/json/json_parser.cc class JSONStringValue : public base::Value { base 134 base/json/json_parser.cc explicit JSONStringValue(const base::StringPiece& piece) base 159 base/json/json_parser.cc base::StringPiece string_piece_; base 874 base/json/json_parser.cc if (base::StringToDouble(num_string.as_string(), &num_double) && base 20 base/json/json_parser.h namespace base { base 37 base/json/json_parser.h namespace base { base 67 base/json/json_parser_unittest.cc base::ListValue* list; base 81 base/json/json_parser_unittest.cc base::DictionaryValue* dict; base 38 base/json/json_reader.h namespace base { base 46 base/json/json_reader.h namespace base { base 545 base/json/json_reader_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_TEST_DATA, &path)); base 547 base/json/json_reader_unittest.cc ASSERT_TRUE(base::PathExists(path)); base 11 base/json/json_string_value_serializer.cc using base::Value; base 31 base/json/json_string_value_serializer.cc options |= base::JSONWriter::OPTIONS_OMIT_BINARY_VALUES; base 33 base/json/json_string_value_serializer.cc options |= base::JSONWriter::OPTIONS_PRETTY_PRINT; base 35 base/json/json_string_value_serializer.cc return base::JSONWriter::WriteWithOptions(&root, options, json_string_); base 43 base/json/json_string_value_serializer.cc return base::JSONReader::ReadAndReturnError(*json_string_, base 44 base/json/json_string_value_serializer.cc allow_trailing_comma_ ? base::JSON_ALLOW_TRAILING_COMMAS : base 45 base/json/json_string_value_serializer.cc base::JSON_PARSE_RFC, base 15 base/json/json_string_value_serializer.h class BASE_EXPORT JSONStringValueSerializer : public base::ValueSerializer { base 41 base/json/json_string_value_serializer.h virtual bool Serialize(const base::Value& root) OVERRIDE; base 45 base/json/json_string_value_serializer.h bool SerializeAndOmitBinaryValues(const base::Value& root); base 54 base/json/json_string_value_serializer.h virtual base::Value* Deserialize(int* error_code, base 65 base/json/json_string_value_serializer.h bool SerializeInternal(const base::Value& root, bool omit_binary_values); base 86 base/json/json_value_converter.h namespace base { base 98 base/json/json_value_converter.h virtual bool ConvertField(const base::Value& value, StructType* obj) base 111 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, FieldType* field) const = 0; base 126 base/json/json_value_converter.h const base::Value& value, StructType* dst) const OVERRIDE { base 144 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, int* field) const OVERRIDE { base 158 base/json/json_value_converter.h const base::Value& value, std::string* field) const OVERRIDE { base 172 base/json/json_value_converter.h const base::Value& value, string16* field) const OVERRIDE { base 185 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, double* field) const OVERRIDE { base 198 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, bool* field) const OVERRIDE { base 209 base/json/json_value_converter.h typedef bool(*ConvertFunc)(const base::Value* value, FieldType* field); base 214 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, base 233 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, base 252 base/json/json_value_converter.h const base::Value& value, NestedType* field) const OVERRIDE { base 267 base/json/json_value_converter.h const base::Value& value, ScopedVector<Element>* field) const OVERRIDE { base 268 base/json/json_value_converter.h const base::ListValue* list = NULL; base 276 base/json/json_value_converter.h const base::Value* element = NULL; base 302 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, base 304 base/json/json_value_converter.h const base::ListValue* list = NULL; base 310 base/json/json_value_converter.h const base::Value* element = NULL; base 334 base/json/json_value_converter.h typedef bool(*ConvertFunc)(const base::Value* value, NestedType* field); base 339 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, base 341 base/json/json_value_converter.h const base::ListValue* list = NULL; base 347 base/json/json_value_converter.h const base::Value* element = NULL; base 431 base/json/json_value_converter.h bool (*convert_func)(const base::Value*, FieldType*)) { base 481 base/json/json_value_converter.h bool (*convert_func)(const base::Value*, NestedType*)) { base 500 base/json/json_value_converter.h bool Convert(const base::Value& value, StructType* output) const { base 508 base/json/json_value_converter.h const base::Value* field = NULL; base 45 base/json/json_value_converter_unittest.cc static bool HasFieldPresent(const base::Value* value, bool* result) { base 50 base/json/json_value_converter_unittest.cc static bool GetValueString(const base::Value* value, std::string* result) { base 51 base/json/json_value_converter_unittest.cc const base::DictionaryValue* dict = NULL; base 62 base/json/json_value_converter_unittest.cc base::JSONValueConverter<SimpleMessage>* converter) { base 88 base/json/json_value_converter_unittest.cc base::JSONValueConverter<NestedMessage>* converter) { base 109 base/json/json_value_converter_unittest.cc scoped_ptr<Value> value(base::JSONReader::Read(normal_data)); base 111 base/json/json_value_converter_unittest.cc base::JSONValueConverter<SimpleMessage> converter; base 151 base/json/json_value_converter_unittest.cc scoped_ptr<Value> value(base::JSONReader::Read(normal_data)); base 153 base/json/json_value_converter_unittest.cc base::JSONValueConverter<NestedMessage> converter; base 193 base/json/json_value_converter_unittest.cc scoped_ptr<Value> value(base::JSONReader::Read(normal_data)); base 195 base/json/json_value_converter_unittest.cc base::JSONValueConverter<SimpleMessage> converter; base 209 base/json/json_value_converter_unittest.cc scoped_ptr<Value> value(base::JSONReader::Read(normal_data)); base 211 base/json/json_value_converter_unittest.cc base::JSONValueConverter<SimpleMessage> converter; base 232 base/json/json_value_converter_unittest.cc scoped_ptr<Value> value(base::JSONReader::Read(normal_data)); base 234 base/json/json_value_converter_unittest.cc base::JSONValueConverter<SimpleMessage> converter; base 249 base/json/json_value_converter_unittest.cc scoped_ptr<Value> value(base::JSONReader::Read(normal_data)); base 251 base/json/json_value_converter_unittest.cc base::JSONValueConverter<SimpleMessage> converter; base 379 base/json/json_value_serializer_unittest.cc base::ScopedTempDir temp_dir_; base 383 base/json/json_value_serializer_unittest.cc base::FilePath original_file_path; base 417 base/json/json_value_serializer_unittest.cc const base::FilePath written_file_path = base 427 base/json/json_value_serializer_unittest.cc EXPECT_TRUE(base::DeleteFile(written_file_path, false)); base 431 base/json/json_value_serializer_unittest.cc base::FilePath original_file_path; base 444 base/json/json_value_serializer_unittest.cc base::FilePath written_file_path = temp_dir_.path().Append( base 454 base/json/json_value_serializer_unittest.cc EXPECT_TRUE(base::DeleteFile(written_file_path, false)); base 458 base/json/json_value_serializer_unittest.cc base::FilePath source_file_path; base 13 base/json/json_writer.h namespace base { base 91 base/json/string_escape.cc base::StringAppendF(dest, kU16EscapeFormat, code_point); base 143 base/json/string_escape.cc base::StringAppendF(&dest, kU16EscapeFormat, c); base 15 base/json/string_escape.h namespace base { base 55 base/lazy_instance.h namespace base { base 196 base/lazy_instance.h base::AlignedMemory<sizeof(Type), ALIGNOF(Type)> private_buf_; base 14 base/lazy_instance_unittest.cc base::StaticAtomicSequenceNumber constructed_seq_; base 15 base/lazy_instance_unittest.cc base::StaticAtomicSequenceNumber destructed_seq_; base 31 base/lazy_instance_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); base 44 base/lazy_instance_unittest.cc class SlowDelegate : public base::DelegateSimpleThread::Delegate { base 46 base/lazy_instance_unittest.cc explicit SlowDelegate(base::LazyInstance<SlowConstructor>* lazy) base 55 base/lazy_instance_unittest.cc base::LazyInstance<SlowConstructor>* lazy_; base 60 base/lazy_instance_unittest.cc static base::LazyInstance<ConstructAndDestructLogger> lazy_logger = base 65 base/lazy_instance_unittest.cc base::ShadowingAtExitManager shadow; base 82 base/lazy_instance_unittest.cc static base::LazyInstance<SlowConstructor> lazy_slow = base 87 base/lazy_instance_unittest.cc base::ShadowingAtExitManager shadow; base 92 base/lazy_instance_unittest.cc base::DelegateSimpleThreadPool pool("lazy_instance_cons", 5); base 126 base/lazy_instance_unittest.cc base::ShadowingAtExitManager shadow; base 127 base/lazy_instance_unittest.cc static base::LazyInstance<DeleteLogger> test = LAZY_INSTANCE_INITIALIZER; base 136 base/lazy_instance_unittest.cc base::ShadowingAtExitManager shadow; base 137 base/lazy_instance_unittest.cc static base::LazyInstance<DeleteLogger>::Leaky base 151 base/lazy_instance_unittest.cc base::AlignedMemory<alignment, alignment> data_; base 160 base/lazy_instance_unittest.cc using base::LazyInstance; base 53 base/linux_util.cc base::AutoLock scoped_lock(lock_); base 63 base/linux_util.cc base::AutoLock scoped_lock(lock_); base 69 base/linux_util.cc base::Lock lock_; base 161 base/linux_util.cc base::GetAppOutput(CommandLine(argv), &output); base 179 base/linux_util.cc base::TrimWhitespaceASCII(distro, base::TRIM_ALL, &trimmed_distro); base 180 base/linux_util.cc base::strlcpy(g_linux_distro, trimmed_distro.c_str(), kDistroSize); base 15 base/linux_util.h namespace base { base 39 base/location.cc base::IntToString(line_number_); base 44 base/location.cc base::StringAppendF(output, "%s[%d] ", base 219 base/logging.cc base::debug::BreakDebugger(); base 227 base/logging.cc log_lock = new base::internal::LockImpl(); base 266 base/logging.cc static base::internal::LockImpl* log_lock; base 283 base/logging.cc base::internal::LockImpl* LoggingLock::log_lock = NULL; base 419 base/logging.cc vlog_info->GetVlogLevel(base::StringPiece(file, N - 1)) : base 492 base/logging.cc std::wstring cmdline = base::UTF8ToWide(str); base 561 base/logging.cc base::debug::StackTrace trace; base 643 base/logging.cc base::debug::Alias(str_stack); base 658 base/logging.cc base::debug::BreakDebugger(); base 672 base/logging.cc base::StringPiece filename(file); base 674 base/logging.cc if (last_slash_pos != base::StringPiece::npos) base 683 base/logging.cc stream_ << base::PlatformThread::CurrentId() << ':'; base 790 base/logging.cc base::debug::Alias(&last_error); base 839 base/logging.cc base::debug::BreakDebugger(); base 856 base/logging.cc return out << base::WideToUTF8(std::wstring(wstr)); base 480 base/logging.h !(condition) ? ::base::debug::BreakDebugger() : EAT_STREAM_PARAMETERS base 11 base/logging_win.cc using base::win::EtwEventLevel; base 12 base/logging_win.cc using base::win::EtwMofEvent; base 52 base/logging_win.h class BASE_EXPORT LogEventProvider : public base::win::EtwTraceProvider { base 33 base/mac/authorization_util.h namespace base { base 25 base/mac/bind_objc_block.h namespace base { base 31 base/mac/bind_objc_block.h R RunBlock(base::mac::ScopedBlock<R(^)()> block) { base 37 base/mac/bind_objc_block.h R RunBlock(base::mac::ScopedBlock<R(^)(A1)> block, A1 a) { base 43 base/mac/bind_objc_block.h R RunBlock(base::mac::ScopedBlock<R(^)(A1, A2)> block, A1 a, A2 b) { base 52 base/mac/bind_objc_block.h base::Callback<R(void)> BindBlock(R(^block)()) { base 53 base/mac/bind_objc_block.h return base::Bind(&base::internal::RunBlock<R>, base 54 base/mac/bind_objc_block.h base::mac::ScopedBlock<R(^)()>(Block_copy(block))); base 59 base/mac/bind_objc_block.h base::Callback<R(A1)> BindBlock(R(^block)(A1)) { base 60 base/mac/bind_objc_block.h return base::Bind(&base::internal::RunBlock<R, A1>, base 61 base/mac/bind_objc_block.h base::mac::ScopedBlock<R(^)(A1)>(Block_copy(block))); base 66 base/mac/bind_objc_block.h base::Callback<R(A1, A2)> BindBlock(R(^block)(A1, A2)) { base 67 base/mac/bind_objc_block.h return base::Bind(&base::internal::RunBlock<R, A1, A2>, base 68 base/mac/bind_objc_block.h base::mac::ScopedBlock<R(^)(A1, A2)>(Block_copy(block))); base 18 base/mac/bundle_locations.h namespace base { base 57 base/mac/foundation_util.h namespace base { base 193 base/mac/foundation_util.h namespace base { \ base 204 base/mac/foundation_util.h namespace base { \ base 242 base/mac/foundation_util.h namespace base { base 15 base/mac/launch_services_util.cc bool OpenApplicationWithPath(const base::FilePath& bundle_path, base 20 base/mac/launch_services_util.cc if (!base::mac::FSRefFromPath(bundle_path.value(), &app_fsref)) { base 27 base/mac/launch_services_util.cc base::ScopedCFTypeRef<CFMutableArrayRef> launch_args( base 37 base/mac/launch_services_util.cc base::ScopedCFTypeRef<CFStringRef> arg_cf(base::SysUTF8ToCFStringRef(arg)); base 16 base/mac/launch_services_util.h namespace base { base 15 base/mac/launchd.h namespace base { base 22 base/mac/libdispatch_task_runner.cc base::TimeDelta delay) { base 35 base/mac/libdispatch_task_runner.cc delay.InMicroseconds() * base::Time::kNanosecondsPerMicrosecond; base 52 base/mac/libdispatch_task_runner.cc base::TimeDelta delay) { base 13 base/mac/libdispatch_task_runner.h namespace base { base 35 base/mac/libdispatch_task_runner.h class BASE_EXPORT LibDispatchTaskRunner : public base::SingleThreadTaskRunner { base 43 base/mac/libdispatch_task_runner.h base::TimeDelta delay) OVERRIDE; base 50 base/mac/libdispatch_task_runner.h base::TimeDelta delay) OVERRIDE; base 75 base/mac/libdispatch_task_runner.h base::WaitableEvent queue_finalized_; base 16 base/mac/libdispatch_task_runner_unittest.cc task_runner_ = new base::mac::LibDispatchTaskRunner( base 25 base/mac/libdispatch_task_runner_unittest.cc base::MessageLoop::QuitWhenIdleClosure()); base 55 base/mac/libdispatch_task_runner_unittest.cc base::MessageLoop message_loop_; base 58 base/mac/libdispatch_task_runner_unittest.cc scoped_refptr<base::mac::LibDispatchTaskRunner> task_runner_; base 86 base/mac/libdispatch_task_runner_unittest.cc base::Closure BoundRecordTaskOrder(LibDispatchTaskRunnerTest* test, base 88 base/mac/libdispatch_task_runner_unittest.cc return base::Bind(&RecordTaskOrder, base::Unretained(test), name); base 102 base/mac/libdispatch_task_runner_unittest.cc task_runner_->PostTask(FROM_HERE, base::BindBlock(^{ base 118 base/mac/libdispatch_task_runner_unittest.cc task_runner_->PostTask(FROM_HERE, base::BindBlock(^{ base 120 base/mac/libdispatch_task_runner_unittest.cc base::StringPrintf("MessageLoop = %p", base::MessageLoop::current())); base 156 base/mac/libdispatch_task_runner_unittest.cc task_runner_->PostTask(FROM_HERE, base::BindBlock(^{ base 158 base/mac/libdispatch_task_runner_unittest.cc task_runner_->PostNonNestableTask(FROM_HERE, base::BindBlock(^{ base 161 base/mac/libdispatch_task_runner_unittest.cc base::MessageLoop::QuitWhenIdleClosure()); base 177 base/mac/libdispatch_task_runner_unittest.cc base::TimeTicks post_time; base 178 base/mac/libdispatch_task_runner_unittest.cc __block base::TimeTicks run_time; base 179 base/mac/libdispatch_task_runner_unittest.cc const base::TimeDelta delta = base::TimeDelta::FromMilliseconds(50); base 182 base/mac/libdispatch_task_runner_unittest.cc post_time = base::TimeTicks::Now(); base 183 base/mac/libdispatch_task_runner_unittest.cc task_runner_->PostDelayedTask(FROM_HERE, base::BindBlock(^{ base 185 base/mac/libdispatch_task_runner_unittest.cc run_time = base::TimeTicks::Now(); base 187 base/mac/libdispatch_task_runner_unittest.cc base::MessageLoop::QuitWhenIdleClosure()); base 212 base/mac/libdispatch_task_runner_unittest.cc EXPECT_FALSE(task_runner_->PostTask(FROM_HERE, base::BindBlock(^{ base 24 base/mac/mac_util.h namespace base { base 12 base/mac/objc_property_releaser.h namespace base { base 10 base/mac/os_crash_dumps.h namespace base { base 12 base/mac/scoped_aedesc.h namespace base { base 16 base/mac/scoped_authorizationref.h namespace base { base 14 base/mac/scoped_block.h namespace base { base 25 base/mac/scoped_block.h base::scoped_policy::OwnershipPolicy policy = base::scoped_policy::ASSUME) base 27 base/mac/scoped_block.h if (block_ && policy == base::scoped_policy::RETAIN) base 43 base/mac/scoped_block.h reset(that.get(), base::scoped_policy::RETAIN); base 48 base/mac/scoped_block.h base::scoped_policy::OwnershipPolicy policy = base 49 base/mac/scoped_block.h base::scoped_policy::ASSUME) { base 50 base/mac/scoped_block.h if (block && policy == base::scoped_policy::RETAIN) base 13 base/mac/scoped_cffiledescriptorref.h namespace base { base 12 base/mac/scoped_cftyperef.h namespace base { base 49 base/mac/scoped_cftyperef.h base::scoped_policy::OwnershipPolicy policy = base::scoped_policy::ASSUME) base 13 base/mac/scoped_ioobject.h namespace base { base 13 base/mac/scoped_ioplugininterface.h namespace base { base 15 base/mac/scoped_launch_data.h namespace base { base 13 base/mac/scoped_mach_port.h namespace base { base 17 base/mac/scoped_nsautorelease_pool.h namespace base { base 13 base/mac/scoped_nsexception_enabler.h namespace base { base 12 base/mac/scoped_nsobject.h namespace base { base 28 base/mac/scoped_sending_event.h namespace base { base 13 base/mac/scoped_typeref.h namespace base { base 55 base/mac/scoped_typeref.h base::scoped_policy::OwnershipPolicy policy = base::scoped_policy::ASSUME) base 57 base/mac/scoped_typeref.h if (object_ && policy == base::scoped_policy::RETAIN) base 73 base/mac/scoped_typeref.h reset(that.get(), base::scoped_policy::RETAIN); base 86 base/mac/scoped_typeref.h base::scoped_policy::OwnershipPolicy policy = base 87 base/mac/scoped_typeref.h base::scoped_policy::ASSUME) { base 88 base/mac/scoped_typeref.h if (object && policy == base::scoped_policy::RETAIN) base 302 base/macros.h namespace base { base 11 base/md5.h namespace base { base 47 base/memory/aligned_memory.h namespace base { base 14 base/memory/aligned_memory_unittest.cc using base::AlignedMemory; base 72 base/memory/aligned_memory_unittest.cc void* p = base::AlignedAlloc(8, 8); base 75 base/memory/aligned_memory_unittest.cc base::AlignedFree(p); base 77 base/memory/aligned_memory_unittest.cc p = base::AlignedAlloc(8, 16); base 80 base/memory/aligned_memory_unittest.cc base::AlignedFree(p); base 82 base/memory/aligned_memory_unittest.cc p = base::AlignedAlloc(8, 256); base 85 base/memory/aligned_memory_unittest.cc base::AlignedFree(p); base 87 base/memory/aligned_memory_unittest.cc p = base::AlignedAlloc(8, 4096); base 90 base/memory/aligned_memory_unittest.cc base::AlignedFree(p); base 94 base/memory/aligned_memory_unittest.cc scoped_ptr<float, base::AlignedFreeDeleter> p( base 95 base/memory/aligned_memory_unittest.cc static_cast<float*>(base::AlignedAlloc(8, 8))); base 16 base/memory/discardable_memory.h namespace base { base 69 base/memory/discardable_memory_allocator_android.cc base::ScopedFD fd(ashmem_create_region(name, size)); base 180 base/memory/discardable_memory_allocator_android.cc void* base; base 181 base/memory/discardable_memory_allocator_android.cc if (!CreateAshmemRegion(name.c_str(), size, &fd, &base)) base 183 base/memory/discardable_memory_allocator_android.cc return make_scoped_ptr(new AshmemRegion(fd, size, base, allocator)); base 275 base/memory/discardable_memory_allocator_android.cc void* base, base 279 base/memory/discardable_memory_allocator_android.cc base_(base), base 285 base/memory/discardable_memory_allocator_android.cc DCHECK(base); base 17 base/memory/discardable_memory_allocator_android.h namespace base { base 34 base/memory/discardable_memory_android.cc return base::android::SysUtils::AmountOfPhysicalMemoryKB() * 1024 / 8; base 14 base/memory/discardable_memory_emulated.cc base::LazyInstance<internal::DiscardableMemoryManager>::Leaky g_manager = base 10 base/memory/discardable_memory_emulated.h namespace base { base 10 base/memory/discardable_memory_malloc.h namespace base { base 42 base/memory/discardable_memory_manager.cc DCHECK(base::MessageLoop::current()); base 46 base/memory/discardable_memory_manager.cc base::Bind(&DiscardableMemoryManager::OnMemoryPressure, base 14 base/memory/discardable_memory_manager.h namespace base { base 21 base/memory/discardable_memory_manager.h struct hash<const base::DiscardableMemory*> { base 22 base/memory/discardable_memory_manager.h size_t operator()(const base::DiscardableMemory* ptr) const { base 29 base/memory/discardable_memory_manager.h namespace base { base 19 base/memory/linked_ptr_unittest.cc A(): mynum(num++) { history += base::StringPrintf("A%d ctor\n", mynum); } base 20 base/memory/linked_ptr_unittest.cc virtual ~A() { history += base::StringPrintf("A%d dtor\n", mynum); } base 21 base/memory/linked_ptr_unittest.cc virtual void Use() { history += base::StringPrintf("A%d use\n", mynum); } base 27 base/memory/linked_ptr_unittest.cc B() { history += base::StringPrintf("B%d ctor\n", mynum); } base 28 base/memory/linked_ptr_unittest.cc virtual ~B() { history += base::StringPrintf("B%d dtor\n", mynum); } base 30 base/memory/linked_ptr_unittest.cc history += base::StringPrintf("B%d use\n", mynum); base 23 base/memory/manual_constructor.h namespace base { base 15 base/memory/memory_pressure_listener.cc base::internal::LeakyLazyInstanceTraits< base 16 base/memory/memory_pressure_listener.cc ObserverListThreadSafe<base::MemoryPressureListener> > { base 17 base/memory/memory_pressure_listener.cc static ObserverListThreadSafe<base::MemoryPressureListener>* base 19 base/memory/memory_pressure_listener.cc ObserverListThreadSafe<base::MemoryPressureListener>* ret = base 20 base/memory/memory_pressure_listener.cc base::internal::LeakyLazyInstanceTraits< base 21 base/memory/memory_pressure_listener.cc ObserverListThreadSafe<base::MemoryPressureListener> >::New( base 29 base/memory/memory_pressure_listener.cc base::LazyInstance< base 30 base/memory/memory_pressure_listener.cc ObserverListThreadSafe<base::MemoryPressureListener>, base 20 base/memory/memory_pressure_listener.h namespace base { base 58 base/memory/memory_pressure_listener.h typedef base::Callback<void(MemoryPressureLevel)> MemoryPressureCallback; base 20 base/memory/raw_scoped_refptr_mismatch_checker.h namespace base { base 30 base/memory/raw_scoped_refptr_mismatch_checker.h value = base::false_type::value base 18 base/memory/ref_counted.h namespace base { base 201 base/memory/ref_counted.h : public base::RefCountedThreadSafe< base::RefCountedData<T> > { base 209 base/memory/ref_counted.h friend class base::RefCountedThreadSafe<base::RefCountedData<T> >; base 13 base/memory/ref_counted_delete_on_message_loop.h namespace base { base 15 base/memory/ref_counted_memory.h namespace base { base 21 base/memory/ref_counted_memory.h : public base::RefCountedThreadSafe<RefCountedMemory> { base 39 base/memory/ref_counted_memory.h friend class base::RefCountedThreadSafe<RefCountedMemory>; base 125 base/memory/ref_counted_memory.h class BASE_EXPORT RefCountedMallocedMemory : public base::RefCountedMemory { base 10 base/memory/ref_counted_unittest.cc class SelfAssign : public base::RefCounted<SelfAssign> { base 25 base/memory/ref_counted_unittest.cc class ScopedRefPtrToSelf : public base::RefCounted<ScopedRefPtrToSelf> { base 10 base/memory/scoped_open_process.h namespace base { base 8 base/memory/scoped_policy.h namespace base { base 104 base/memory/scoped_ptr.h namespace base { base 132 base/memory/scoped_ptr.h COMPILE_ASSERT((base::is_convertible<U*, T*>::value), base 181 base/memory/scoped_ptr.h value = !base::is_convertible<T*, base::subtle::RefCountedBase*>::value && base 309 base/memory/scoped_ptr.h template <class T, class D = base::DefaultDeleter<T> > base 313 base/memory/scoped_ptr.h COMPILE_ASSERT(base::internal::IsNotRefCounted<T>::value, base 342 base/memory/scoped_ptr.h COMPILE_ASSERT(!base::is_array<U>::value, U_cannot_be_an_array); base 360 base/memory/scoped_ptr.h COMPILE_ASSERT(!base::is_array<U>::value, U_cannot_be_an_array); base 393 base/memory/scoped_ptr.h typedef base::internal::scoped_ptr_impl<element_type, deleter_type> base 433 base/memory/scoped_ptr.h base::internal::scoped_ptr_impl<element_type, deleter_type> impl_; base 503 base/memory/scoped_ptr.h typedef base::internal::scoped_ptr_impl<element_type, deleter_type> base 534 base/memory/scoped_ptr.h base::internal::scoped_ptr_impl<element_type, deleter_type> impl_; base 275 base/memory/scoped_vector_unittest.cc base::Callback<ScopedVector<DeleteCounter>(void)> callback = base 276 base/memory/scoped_vector_unittest.cc base::Bind(&PassThru<DeleteCounter>, base::Passed(&deleter_vector)); base 28 base/memory/shared_memory.h namespace base { base 105 base/memory/shared_memory_posix.cc return base::GetMaxFds(); base 129 base/memory/shared_memory_posix.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 252 base/memory/shared_memory_posix.cc return base::DeleteFile(path, false); base 266 base/memory/shared_memory_posix.cc ScopedFILE fp(base::OpenFile(path, mode)); base 360 base/memory/shared_memory_posix.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 409 base/memory/shared_memory_posix.cc std::string name_base = std::string(base::mac::BaseBundleID()); base 423 base/memory/shared_memory_posix.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(500)); base 73 base/memory/shared_memory_unittest.cc PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(1)); base 221 base/memory/shared_memory_unittest.cc kDataSize + base::SysInfo::VMAllocationGranularity()); base 246 base/memory/shared_memory_unittest.cc kDataSize2 + base::SysInfo::VMAllocationGranularity()); base 441 base/memory/shared_memory_unittest.cc base::win::ScopedHandle writable_handle(temp_handle); base 29 base/memory/singleton.h namespace base { base 114 base/memory/singleton.h if (base::subtle::NoBarrier_AtomicExchange(&dead_, 1)) base 130 base/memory/singleton.h base::subtle::NoBarrier_Store(&dead_, 0); base 134 base/memory/singleton.h static base::AlignedMemory<sizeof(Type), ALIGNOF(Type)> buffer_; base 136 base/memory/singleton.h static base::subtle::Atomic32 dead_; base 139 base/memory/singleton.h template <typename Type> base::AlignedMemory<sizeof(Type), ALIGNOF(Type)> base 141 base/memory/singleton.h template <typename Type> base::subtle::Atomic32 base 233 base/memory/singleton.h base::ThreadRestrictions::AssertSingletonAllowed(); base 238 base/memory/singleton.h base::subtle::AtomicWord value = base::subtle::Acquire_Load(&instance_); base 239 base/memory/singleton.h if (value != 0 && value != base::internal::kBeingCreatedMarker) { base 246 base/memory/singleton.h if (base::subtle::Acquire_CompareAndSwap( base 247 base/memory/singleton.h &instance_, 0, base::internal::kBeingCreatedMarker) == 0) { base 258 base/memory/singleton.h base::subtle::Release_Store( base 259 base/memory/singleton.h &instance_, reinterpret_cast<base::subtle::AtomicWord>(newval)); base 262 base/memory/singleton.h base::AtExitManager::RegisterCallback(OnExit, NULL); base 268 base/memory/singleton.h value = base::internal::WaitForInstance(&instance_); base 282 base/memory/singleton.h reinterpret_cast<Type*>(base::subtle::NoBarrier_Load(&instance_))); base 285 base/memory/singleton.h static base::subtle::AtomicWord instance_; base 289 base/memory/singleton.h base::subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>:: base 211 base/memory/singleton_unittest.cc base::ShadowingAtExitManager sem; base 245 base/memory/singleton_unittest.cc base::ShadowingAtExitManager sem; base 270 base/memory/singleton_unittest.cc using base::AlignedMemory; base 73 base/memory/weak_ptr.h namespace base { base 94 base/memory/weak_ptr.h friend class base::RefCountedThreadSafe<Flag>; base 30 base/memory/weak_ptr_unittest.cc base::Bind(OffThreadObjectCreator::CreateObject, &result)); base 73 base/memory/weak_ptr_unittest.cc base::Bind(&BackgroundThread::DoCreateArrowFromTarget, base 82 base/memory/weak_ptr_unittest.cc base::Bind(&BackgroundThread::DoCreateArrowFromArrow, base 91 base/memory/weak_ptr_unittest.cc base::Bind(&BackgroundThread::DoDeleteTarget, object, &completion)); base 99 base/memory/weak_ptr_unittest.cc base::Bind(&BackgroundThread::DoCopyAndAssignArrow, base 108 base/memory/weak_ptr_unittest.cc base::Bind(&BackgroundThread::DoCopyAndAssignArrowBase, base 117 base/memory/weak_ptr_unittest.cc base::Bind(&BackgroundThread::DoDeleteArrow, object, &completion)); base 126 base/memory/weak_ptr_unittest.cc base::Bind(&BackgroundThread::DoDeRef, arrow, &result, &completion)); base 14 base/message_loop/incoming_task_queue.h namespace base { base 74 base/message_loop/incoming_task_queue.h base::Lock incoming_queue_lock_; base 47 base/message_loop/message_loop.cc LazyInstance<base::ThreadLocalPointer<MessageLoop> >::Leaky lazy_tls_ptr = base 52 base/message_loop/message_loop.h namespace base { base 151 base/message_loop/message_loop.h explicit MessageLoop(scoped_ptr<base::MessagePump> pump); base 236 base/message_loop/message_loop.h base::subtle::DeleteHelperInternal<T, void>::DeleteViaSequencedTaskRunner( base 253 base/message_loop/message_loop.h base::subtle::ReleaseHelperInternal<T, void>::ReleaseViaSequencedTaskRunner( base 530 base/message_loop/message_loop.h template <class T, class R> friend class base::subtle::DeleteHelperInternal; base 531 base/message_loop/message_loop.h template <class T, class R> friend class base::subtle::ReleaseHelperInternal; base 13 base/message_loop/message_loop_proxy.h namespace base { base 23 base/message_loop/message_loop_proxy_impl.cc const base::Closure& task, base 24 base/message_loop/message_loop_proxy_impl.cc base::TimeDelta delay) { base 31 base/message_loop/message_loop_proxy_impl.cc const base::Closure& task, base 32 base/message_loop/message_loop_proxy_impl.cc base::TimeDelta delay) { base 14 base/message_loop/message_loop_proxy_impl.h namespace base { base 29 base/message_loop/message_loop_proxy_impl.h const base::Closure& task, base 30 base/message_loop/message_loop_proxy_impl.h base::TimeDelta delay) OVERRIDE; base 33 base/message_loop/message_loop_proxy_impl.h const base::Closure& task, base 34 base/message_loop/message_loop_proxy_impl.h base::TimeDelta delay) OVERRIDE; base 104 base/message_loop/message_loop_proxy_unittest.cc base::WaitableEvent thread_sync_; base 16 base/message_loop/message_loop_test.h namespace base { base 52 base/message_loop/message_loop_test.h base::test::RunTest_PostTask(factory); \ base 55 base/message_loop/message_loop_test.h base::test::RunTest_PostDelayedTask_Basic(factory); \ base 58 base/message_loop/message_loop_test.h base::test::RunTest_PostDelayedTask_InDelayOrder(factory); \ base 61 base/message_loop/message_loop_test.h base::test::RunTest_PostDelayedTask_InPostOrder(factory); \ base 64 base/message_loop/message_loop_test.h base::test::RunTest_PostDelayedTask_InPostOrder_2(factory); \ base 67 base/message_loop/message_loop_test.h base::test::RunTest_PostDelayedTask_InPostOrder_3(factory); \ base 70 base/message_loop/message_loop_test.h base::test::RunTest_PostDelayedTask_SharedTimer(factory); \ base 76 base/message_loop/message_loop_test.h base::test::RunTest_EnsureDeletion(factory); \ base 82 base/message_loop/message_loop_test.h base::test::RunTest_EnsureDeletion_Chain(factory); \ base 85 base/message_loop/message_loop_test.h base::test::RunTest_Nesting(factory); \ base 88 base/message_loop/message_loop_test.h base::test::RunTest_RecursiveDenial1(factory); \ base 91 base/message_loop/message_loop_test.h base::test::RunTest_RecursiveDenial3(factory); \ base 94 base/message_loop/message_loop_test.h base::test::RunTest_RecursiveSupport1(factory); \ base 97 base/message_loop/message_loop_test.h base::test::RunTest_NonNestableWithNoNesting(factory); \ base 100 base/message_loop/message_loop_test.h base::test::RunTest_NonNestableInNestedLoop(factory, false); \ base 103 base/message_loop/message_loop_test.h base::test::RunTest_NonNestableInNestedLoop(factory, true); \ base 106 base/message_loop/message_loop_test.h base::test::RunTest_QuitNow(factory); \ base 109 base/message_loop/message_loop_test.h base::test::RunTest_RunLoopQuitTop(factory); \ base 112 base/message_loop/message_loop_test.h base::test::RunTest_RunLoopQuitNested(factory); \ base 115 base/message_loop/message_loop_test.h base::test::RunTest_RunLoopQuitBogus(factory); \ base 118 base/message_loop/message_loop_test.h base::test::RunTest_RunLoopQuitDeep(factory); \ base 121 base/message_loop/message_loop_test.h base::test::RunTest_RunLoopQuitOrderBefore(factory); \ base 124 base/message_loop/message_loop_test.h base::test::RunTest_RunLoopQuitOrderDuring(factory); \ base 127 base/message_loop/message_loop_test.h base::test::RunTest_RunLoopQuitOrderAfter(factory); \ base 130 base/message_loop/message_loop_test.h base::test::RunTest_RecursivePosts(factory); \ base 940 base/message_loop/message_loop_unittest.cc MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&EmptyFunction)); base 941 base/message_loop/message_loop_unittest.cc MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&EmptyFunction)); base 969 base/message_loop/message_loop_unittest.cc MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&PostMultipleTasks)); base 973 base/message_loop/message_loop_unittest.cc base::Bind(&PostWindowsMessage, hwnd)); base 981 base/message_loop/message_loop_unittest.cc base::Bind(&EndTest, &did_run, hwnd)); base 12 base/message_loop/message_pump.h namespace base { base 17 base/message_loop/message_pump_android.cc using base::android::ScopedJavaLocalRef; base 26 base/message_loop/message_pump_android.cc base::MessagePump::Delegate* delegate = base 27 base/message_loop/message_pump_android.cc reinterpret_cast<base::MessagePump::Delegate*>(native_delegate); base 59 base/message_loop/message_pump_android.cc base::TimeTicks next_delayed_work_time; base 66 base/message_loop/message_pump_android.cc next_delayed_work_time < base::TimeTicks::FromInternalValue( base 71 base/message_loop/message_pump_android.cc base::TimeTicks::Now()).InMillisecondsRoundedUp()); base 107 base/message_loop/message_pump_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 117 base/message_loop/message_pump_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 135 base/message_loop/message_pump_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 145 base/message_loop/message_pump_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 15 base/message_loop/message_pump_android.h namespace base { base 38 base/message_loop/message_pump_android.h base::android::ScopedJavaGlobalRef<jobject> system_message_handler_obj_; base 12 base/message_loop/message_pump_default.h namespace base { base 13 base/message_loop/message_pump_dispatcher.h namespace base { base 18 base/message_loop/message_pump_glib.h namespace base { base 13 base/message_loop/message_pump_gtk.h namespace base { base 102 base/message_loop/message_pump_io_ios.cc base::ScopedCFTypeRef<CFFileDescriptorRef> scoped_fdref( base 113 base/message_loop/message_pump_io_ios.cc base::ScopedCFTypeRef<CFRunLoopSourceRef> scoped_fd_source( base 183 base/message_loop/message_pump_io_ios.cc fdref, base::scoped_policy::RETAIN); base 17 base/message_loop/message_pump_io_ios.h namespace base { base 75 base/message_loop/message_pump_io_ios.h void set_pump(base::WeakPtr<MessagePumpIOSForIO> pump) { pump_ = pump; } base 76 base/message_loop/message_pump_io_ios.h const base::WeakPtr<MessagePumpIOSForIO>& pump() const { return pump_; } base 84 base/message_loop/message_pump_io_ios.h base::mac::ScopedCFFileDescriptorRef fdref_; base 86 base/message_loop/message_pump_io_ios.h base::ScopedCFTypeRef<CFRunLoopSourceRef> fd_source_; base 87 base/message_loop/message_pump_io_ios.h base::WeakPtr<MessagePumpIOSForIO> pump_; base 137 base/message_loop/message_pump_io_ios.h base::WeakPtrFactory<MessagePumpIOSForIO> weak_factory_; base 20 base/message_loop/message_pump_libevent.h namespace base { base 60 base/message_loop/message_pump_mac.h namespace base { base 11 base/message_loop/message_pump_observer.h namespace base { base 15 base/message_loop/message_pump_ozone.h namespace base { base 254 base/message_loop/message_pump_win.cc wc.lpfnWndProc = base::win::WrappedWindowProc<WndProcThunk>; base 21 base/message_loop/message_pump_win.h namespace base { base 27 base/message_loop/message_pump_x11.h namespace base { base 27 base/metrics/bucket_ranges.h namespace base { base 69 base/metrics/field_trial.h namespace base { base 193 base/metrics/field_trial.h friend class base::FieldTrialList; base 472 base/metrics/field_trial.h base::Lock lock_; base 22 base/metrics/field_trial_unittest.cc scoped_refptr<base::FieldTrial> CreateFieldTrial( base 29 base/metrics/field_trial_unittest.cc base::FieldTrialList::kNoExpirationYear, 1, 1, base 30 base/metrics/field_trial_unittest.cc base::FieldTrial::SESSION_RANDOMIZED, default_group_number); base 166 base/metrics/field_trial_unittest.cc std::string name = base::StringPrintf("FiftyFifty%d", ++counter); base 167 base/metrics/field_trial_unittest.cc std::string default_group_name = base::StringPrintf("Default FiftyFifty%d", base 911 base/metrics/field_trial_unittest.cc scoped_refptr<base::FieldTrial> trial( base 912 base/metrics/field_trial_unittest.cc new base::FieldTrial("test", kBucketCount, "default", entropy)); base 914 base/metrics/field_trial_unittest.cc trial->AppendGroup(base::StringPrintf("%d", j), 1); base 916 base/metrics/field_trial_unittest.cc EXPECT_EQ(base::StringPrintf("%d", i), trial->group_name()); base 924 base/metrics/field_trial_unittest.cc scoped_refptr<base::FieldTrial> trial( base 925 base/metrics/field_trial_unittest.cc new base::FieldTrial("test", 2, "default", kEntropyValue)); base 85 base/metrics/histogram.h namespace base { base 149 base/metrics/histogram.h static base::subtle::AtomicWord atomic_histogram_pointer = 0; \ base 150 base/metrics/histogram.h base::HistogramBase* histogram_pointer( \ base 151 base/metrics/histogram.h reinterpret_cast<base::HistogramBase*>( \ base 152 base/metrics/histogram.h base::subtle::Acquire_Load(&atomic_histogram_pointer))); \ base 155 base/metrics/histogram.h base::subtle::Release_Store(&atomic_histogram_pointer, \ base 156 base/metrics/histogram.h reinterpret_cast<base::subtle::AtomicWord>(histogram_pointer)); \ base 169 base/metrics/histogram.h name, sample, base::TimeDelta::FromMilliseconds(1), \ base 170 base/metrics/histogram.h base::TimeDelta::FromSeconds(10), 50) base 176 base/metrics/histogram.h base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \ base 177 base/metrics/histogram.h base::HistogramBase::kNoFlags)) base 190 base/metrics/histogram.h base::Histogram::FactoryGet(name, min, max, bucket_count, \ base 191 base/metrics/histogram.h base::HistogramBase::kNoFlags)) base 196 base/metrics/histogram.h base::LinearHistogram::FactoryGet(name, 1, boundary, boundary + 1, \ base 204 base/metrics/histogram.h base::BooleanHistogram::FactoryGet(name, base::Histogram::kNoFlags)) base 214 base/metrics/histogram.h base::LinearHistogram::FactoryGet(name, 1, boundary_value, \ base 215 base/metrics/histogram.h boundary_value + 1, base::HistogramBase::kNoFlags)) base 224 base/metrics/histogram.h base::CustomHistogram::FactoryGet(name, custom_ranges, \ base 225 base/metrics/histogram.h base::HistogramBase::kNoFlags)) base 304 base/metrics/histogram.h name, sample, base::TimeDelta::FromMilliseconds(1), \ base 305 base/metrics/histogram.h base::TimeDelta::FromSeconds(10), 50) base 308 base/metrics/histogram.h name, sample, base::TimeDelta::FromMilliseconds(10), \ base 309 base/metrics/histogram.h base::TimeDelta::FromMinutes(3), 50) base 313 base/metrics/histogram.h name, sample, base::TimeDelta::FromMilliseconds(1), \ base 314 base/metrics/histogram.h base::TimeDelta::FromHours(1), 50) base 319 base/metrics/histogram.h name, sample, base::TimeDelta::FromMilliseconds(1), \ base 320 base/metrics/histogram.h base::TimeDelta::FromHours(1), 100) base 324 base/metrics/histogram.h base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \ base 325 base/metrics/histogram.h base::HistogramBase::kUmaTargetedHistogramFlag)) base 338 base/metrics/histogram.h base::Histogram::FactoryGet(name, min, max, bucket_count, \ base 339 base/metrics/histogram.h base::HistogramBase::kUmaTargetedHistogramFlag)) base 352 base/metrics/histogram.h base::BooleanHistogram::FactoryGet(name, \ base 353 base/metrics/histogram.h base::HistogramBase::kUmaTargetedHistogramFlag)) base 359 base/metrics/histogram.h base::HistogramBase::kUmaTargetedHistogramFlag) base 366 base/metrics/histogram.h base::HistogramBase::kUmaStabilityHistogramFlag) base 370 base/metrics/histogram.h base::CustomHistogram::FactoryGet(name, custom_ranges, \ base 371 base/metrics/histogram.h base::HistogramBase::kUmaTargetedHistogramFlag)) base 406 base/metrics/histogram.h base::TimeDelta minimum, base 407 base/metrics/histogram.h base::TimeDelta maximum, base 21 base/metrics/histogram_base.h namespace base { base 17 base/metrics/histogram_delta_serialization.h namespace base { base 14 base/metrics/histogram_flattener.h namespace base { base 15 base/metrics/histogram_samples.h namespace base { base 14 base/metrics/histogram_snapshot_manager.h namespace base { base 18 base/metrics/sample_map.h namespace base { base 19 base/metrics/sample_vector.h namespace base { base 51 base/metrics/sparse_histogram.cc base::AutoLock auto_lock(lock_); base 58 base/metrics/sparse_histogram.cc base::AutoLock auto_lock(lock_); base 64 base/metrics/sparse_histogram.cc base::AutoLock auto_lock(lock_); base 69 base/metrics/sparse_histogram.cc base::AutoLock auto_lock(lock_); base 20 base/metrics/sparse_histogram.h namespace base { base 25 base/metrics/sparse_histogram.h base::HistogramBase* histogram( \ base 26 base/metrics/sparse_histogram.h base::SparseHistogram::FactoryGet(name, flag)); \ base 32 base/metrics/sparse_histogram.h HISTOGRAM_SPARSE_COMMON(name, sample, base::HistogramBase::kNoFlags) base 36 base/metrics/sparse_histogram.h base::HistogramBase::kUmaTargetedHistogramFlag) base 108 base/metrics/sparse_histogram.h mutable base::Lock lock_; base 22 base/metrics/statistics_recorder.cc base::LazyInstance<base::StatisticsRecorder>::Leaky g_statistics_recorder_ = base 39 base/metrics/statistics_recorder.cc base::AutoLock auto_lock(*lock_); base 59 base/metrics/statistics_recorder.cc base::AutoLock auto_lock(*lock_); base 94 base/metrics/statistics_recorder.cc base::AutoLock auto_lock(*lock_); base 201 base/metrics/statistics_recorder.cc base::AutoLock auto_lock(*lock_); base 218 base/metrics/statistics_recorder.cc base::AutoLock auto_lock(*lock_); base 239 base/metrics/statistics_recorder.cc base::AutoLock auto_lock(*lock_); base 254 base/metrics/statistics_recorder.cc base::AutoLock auto_lock(*lock_); base 278 base/metrics/statistics_recorder.cc lock_ = new base::Lock; base 280 base/metrics/statistics_recorder.cc base::AutoLock auto_lock(*lock_); base 307 base/metrics/statistics_recorder.cc base::AutoLock auto_lock(*lock_); base 322 base/metrics/statistics_recorder.cc base::Lock* StatisticsRecorder::lock_ = NULL; base 23 base/metrics/statistics_recorder.h namespace base { base 108 base/metrics/statistics_recorder.h static base::Lock* lock_; base 15 base/metrics/stats_counters.h namespace base { base 50 base/metrics/stats_counters.h base::StatsCounter counter(name); \ base 57 base/metrics/stats_counters.h base::StatsRate hit_count(name); \ base 32 base/metrics/stats_table.h namespace base { base 122 base/metrics/stats_table.h base::SharedMemoryHandle GetSharedMemoryHandle() const; base 184 base/metrics/stats_table.h base::Lock counters_lock_; base 46 base/metrics/stats_table_unittest.cc base::StringAppendF(&counter_name, "counter.ctr%d", index); base 221 base/metrics/stats_table_unittest.cc procs[index], base::TimeDelta::FromMinutes(1))); base 14 base/metrics/user_metrics.cc base::LazyInstance<std::vector<ActionCallback> > g_action_callbacks = base 14 base/metrics/user_metrics.h namespace base { base 50 base/metrics/user_metrics.h typedef base::Callback<void(const std::string&)> ActionCallback; base 8 base/metrics/user_metrics_action.h namespace base { base 24 base/native_library.h namespace base { base 24 base/native_library_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 258 base/nix/mime_util_xdg.cc FILE* fp = base::OpenFile(file, "r"); base 270 base/nix/mime_util_xdg.cc base::TrimWhitespaceASCII(buf, base::TRIM_ALL, &entry); base 287 base/nix/mime_util_xdg.cc base::TrimWhitespaceASCII(r[0], base::TRIM_ALL, &key); base 290 base/nix/mime_util_xdg.cc base::TrimWhitespaceASCII(value, base::TRIM_ALL, &value); base 319 base/nix/mime_util_xdg.cc base::CloseFile(fp); base 369 base/nix/mime_util_xdg.cc base::TrimWhitespaceASCII(dirs.substr(pos, epos - pos), base::TRIM_ALL, base 378 base/nix/mime_util_xdg.cc base::TrimWhitespaceASCII(dirs.substr(pos), base::TRIM_ALL, &dir); base 505 base/nix/mime_util_xdg.cc base::nix::DesktopEnvironment desktop_env = base 506 base/nix/mime_util_xdg.cc base::nix::GetDesktopEnvironment(env.get()); base 507 base/nix/mime_util_xdg.cc if (desktop_env == base::nix::DESKTOP_ENVIRONMENT_KDE3 || base 508 base/nix/mime_util_xdg.cc desktop_env == base::nix::DESKTOP_ENVIRONMENT_KDE4) { base 518 base/nix/mime_util_xdg.cc if (desktop_env == base::nix::DESKTOP_ENVIRONMENT_KDE3) { base 13 base/nix/mime_util_xdg.h namespace base { base 21 base/nix/xdg_util.h namespace base { base 13 base/numerics/safe_conversions.h namespace base { base 13 base/numerics/safe_conversions_impl.h namespace base { base 10 base/numerics/safe_math.h namespace base { base 19 base/numerics/safe_math_impl.h namespace base { base 19 base/numerics/safe_numerics_unittest.cc using base::CheckedNumeric; base 20 base/numerics/safe_numerics_unittest.cc using base::checked_cast; base 21 base/numerics/safe_numerics_unittest.cc using base::saturated_cast; base 22 base/numerics/safe_numerics_unittest.cc using base::internal::MaxExponent; base 23 base/numerics/safe_numerics_unittest.cc using base::internal::RANGE_VALID; base 24 base/numerics/safe_numerics_unittest.cc using base::internal::RANGE_INVALID; base 25 base/numerics/safe_numerics_unittest.cc using base::internal::RANGE_OVERFLOW; base 26 base/numerics/safe_numerics_unittest.cc using base::internal::RANGE_UNDERFLOW; base 27 base/numerics/safe_numerics_unittest.cc using base::enable_if; base 294 base/numerics/safe_numerics_unittest.cc EXPECT_EQ(expected, base::internal::DstRangeRelationToSrcRange<Dst>(actual)) \ base 65 base/observer_list.h : public base::SupportsWeakPtr<ObserverListBase<ObserverType> > { base 108 base/observer_list.h base::WeakPtr<ObserverListBase<ObserverType> > list_; base 66 base/observer_list_threadsafe.h (base::internal::ParamsUseScopedRefptrCorrectly<Params>::value), base 95 base/observer_list_threadsafe.h : public base::RefCountedThreadSafe< base 111 base/observer_list_threadsafe.h if (!base::MessageLoop::current()) base 115 base/observer_list_threadsafe.h base::PlatformThreadId thread_id = base::PlatformThread::CurrentId(); base 117 base/observer_list_threadsafe.h base::AutoLock lock(list_lock_); base 133 base/observer_list_threadsafe.h base::PlatformThreadId thread_id = base::PlatformThread::CurrentId(); base 135 base/observer_list_threadsafe.h base::AutoLock lock(list_lock_); base 161 base/observer_list_threadsafe.h base::AutoLock lock(list_lock_); base 211 base/observer_list_threadsafe.h : loop(base::MessageLoopProxy::current()), base 215 base/observer_list_threadsafe.h scoped_refptr<base::MessageLoopProxy> loop; base 227 base/observer_list_threadsafe.h base::AutoLock lock(list_lock_); base 233 base/observer_list_threadsafe.h base::Bind(&ObserverListThreadSafe<ObserverType>:: base 247 base/observer_list_threadsafe.h base::AutoLock lock(list_lock_); base 249 base/observer_list_threadsafe.h observer_lists_.find(base::PlatformThread::CurrentId()); base 269 base/observer_list_threadsafe.h base::AutoLock lock(list_lock_); base 274 base/observer_list_threadsafe.h observer_lists_.find(base::PlatformThread::CurrentId()); base 285 base/observer_list_threadsafe.h typedef std::map<base::PlatformThreadId, ObserverListContext*> base 288 base/observer_list_threadsafe.h mutable base::Lock list_lock_; // Protects the observer_lists_. base 119 base/observer_list_unittest.cc base::Bind(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr())); base 149 base/observer_list_unittest.cc base::Bind(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr())); base 181 base/observer_list_unittest.cc base::WeakPtrFactory<AddRemoveThread> weak_factory_; base 387 base/observer_list_unittest.cc base::PlatformThreadHandle threads[kMaxThreads]; base 118 base/os_compat_android.cc const base::StringPiece kSuffix("XXXXXX"); base 120 base/os_compat_android.cc if (!base::StringPiece(path, path_len).ends_with(kSuffix)) { base 154 base/os_compat_android.cc char rand_char = static_cast<char>(base::RandInt('a', 'z')); base 20 base/os_compat_android_unittest.cc EXPECT_TRUE(base::GetTempDir(&tmp_dir)); base 20 base/path_service.cc using base::FilePath; base 21 base/path_service.cc using base::MakeAbsoluteFilePath; base 40 base/path_service.cc typedef base::hash_map<int, FilePath> PathMap; base 55 base/path_service.cc base::PathProvider, base 58 base/path_service.cc base::PATH_START, base 59 base/path_service.cc base::PATH_END, base 66 base/path_service.cc base::PathProviderWin, base 69 base/path_service.cc base::PATH_WIN_START, base 70 base/path_service.cc base::PATH_WIN_END, base 78 base/path_service.cc base::PathProviderMac, base 81 base/path_service.cc base::PATH_MAC_START, base 82 base/path_service.cc base::PATH_MAC_END, base 90 base/path_service.cc base::PathProviderAndroid, base 93 base/path_service.cc base::PATH_ANDROID_START, base 94 base/path_service.cc base::PATH_ANDROID_END, base 102 base/path_service.cc base::PathProviderPosix, base 105 base/path_service.cc base::PATH_POSIX_START, base 106 base/path_service.cc base::PATH_POSIX_END, base 114 base/path_service.cc base::Lock lock; base 143 base/path_service.cc static base::LazyInstance<PathData> g_path_data = LAZY_INSTANCE_INITIALIZER; base 186 base/path_service.cc DCHECK_GE(key, base::DIR_CURRENT); base 189 base/path_service.cc if (key == base::DIR_CURRENT) base 190 base/path_service.cc return base::GetCurrentDirectory(result); base 194 base/path_service.cc base::AutoLock scoped_lock(path_data->lock); base 227 base/path_service.cc base::AutoLock scoped_lock(path_data->lock); base 246 base/path_service.cc DCHECK_GT(key, base::DIR_CURRENT) << "invalid path key"; base 256 base/path_service.cc if (!base::PathExists(file_path) && base 257 base/path_service.cc !base::CreateDirectory(file_path)) base 266 base/path_service.cc base::AutoLock scoped_lock(path_data->lock); base 282 base/path_service.cc base::AutoLock scoped_lock(path_data->lock); base 313 base/path_service.cc base::AutoLock scoped_lock(path_data->lock); base 333 base/path_service.cc base::AutoLock scoped_lock(path_data->lock); base 15 base/path_service.h namespace base { base 32 base/path_service.h static bool Get(int key, base::FilePath* path); base 47 base/path_service.h static bool Override(int key, const base::FilePath& path); base 53 base/path_service.h const base::FilePath& path, base 64 base/path_service.h typedef bool (*ProviderFunc)(int, base::FilePath*); base 76 base/path_service.h friend class base::ScopedPathOverride; base 29 base/path_service_unittest.cc base::FilePath path; base 38 base/path_service_unittest.cc if (dir_type == base::DIR_CACHE) base 44 base/path_service_unittest.cc if (dir_type == base::DIR_USER_DESKTOP) base 48 base/path_service_unittest.cc if (dir_type == base::DIR_DEFAULT_USER_QUICK_LAUNCH) { base 52 base/path_service_unittest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 59 base/path_service_unittest.cc } else if (dir_type == base::DIR_TASKBAR_PINS) { base 61 base/path_service_unittest.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 66 base/path_service_unittest.cc if (dir_type != base::DIR_EXE && dir_type != base::DIR_MODULE && base 67 base/path_service_unittest.cc dir_type != base::FILE_EXE && dir_type != base::FILE_MODULE) { base 76 base/path_service_unittest.cc base::PathExists(path)); base 84 base/path_service_unittest.cc base::FilePath path; base 101 base/path_service_unittest.cc for (int key = base::PATH_START + 1; key < base::PATH_END; ++key) { base 103 base/path_service_unittest.cc if (key == base::FILE_MODULE || key == base::DIR_USER_DESKTOP || base 104 base/path_service_unittest.cc key == base::DIR_HOME) base 107 base/path_service_unittest.cc if (key == base::DIR_USER_DESKTOP) base 113 base/path_service_unittest.cc for (int key = base::PATH_WIN_START + 1; key < base::PATH_WIN_END; ++key) { base 116 base/path_service_unittest.cc case base::DIR_LOCAL_APP_DATA_LOW: base 119 base/path_service_unittest.cc valid = base::win::GetVersion() >= base::win::VERSION_VISTA; base 121 base/path_service_unittest.cc case base::DIR_APP_SHORTCUTS: base 124 base/path_service_unittest.cc valid = base::win::GetVersion() >= base::win::VERSION_WIN8; base 134 base/path_service_unittest.cc for (int key = base::PATH_MAC_START + 1; key < base::PATH_MAC_END; ++key) { base 138 base/path_service_unittest.cc for (int key = base::PATH_ANDROID_START + 1; key < base::PATH_ANDROID_END; base 143 base/path_service_unittest.cc for (int key = base::PATH_POSIX_START + 1; key < base::PATH_POSIX_END; base 154 base/path_service_unittest.cc base::ScopedTempDir temp_dir; base 156 base/path_service_unittest.cc base::FilePath fake_cache_dir(temp_dir.path().AppendASCII("cache")); base 160 base/path_service_unittest.cc EXPECT_TRUE(base::PathExists(fake_cache_dir)); base 162 base/path_service_unittest.cc base::FilePath fake_cache_dir2(temp_dir.path().AppendASCII("cache2")); base 167 base/path_service_unittest.cc EXPECT_FALSE(base::PathExists(fake_cache_dir2)); base 171 base/path_service_unittest.cc EXPECT_TRUE(base::PathExists(fake_cache_dir2)); base 177 base/path_service_unittest.cc base::ScopedTempDir temp_dir; base 179 base/path_service_unittest.cc base::FilePath fake_cache_dir1(temp_dir.path().AppendASCII("1")); base 181 base/path_service_unittest.cc EXPECT_TRUE(base::PathExists(fake_cache_dir1)); base 182 base/path_service_unittest.cc ASSERT_EQ(1, base::WriteFile(fake_cache_dir1.AppendASCII("t1"), ".", 1)); base 184 base/path_service_unittest.cc base::FilePath fake_cache_dir2(temp_dir.path().AppendASCII("2")); base 186 base/path_service_unittest.cc EXPECT_TRUE(base::PathExists(fake_cache_dir2)); base 187 base/path_service_unittest.cc ASSERT_EQ(1, base::WriteFile(fake_cache_dir2.AppendASCII("t2"), ".", 1)); base 189 base/path_service_unittest.cc base::FilePath result; base 193 base/path_service_unittest.cc EXPECT_TRUE(base::PathExists(result.AppendASCII("t1"))); base 195 base/path_service_unittest.cc EXPECT_TRUE(base::PathExists(result.AppendASCII("t2"))); base 201 base/path_service_unittest.cc PathService::RemoveOverride(base::DIR_TEMP); base 203 base/path_service_unittest.cc base::FilePath original_user_data_dir; base 204 base/path_service_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_TEMP, &original_user_data_dir)); base 205 base/path_service_unittest.cc EXPECT_FALSE(PathService::RemoveOverride(base::DIR_TEMP)); base 207 base/path_service_unittest.cc base::ScopedTempDir temp_dir; base 209 base/path_service_unittest.cc EXPECT_TRUE(PathService::Override(base::DIR_TEMP, temp_dir.path())); base 210 base/path_service_unittest.cc base::FilePath new_user_data_dir; base 211 base/path_service_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_TEMP, &new_user_data_dir)); base 214 base/path_service_unittest.cc EXPECT_TRUE(PathService::RemoveOverride(base::DIR_TEMP)); base 215 base/path_service_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_TEMP, &new_user_data_dir)); base 18 base/pending_task.cc const base::Closure& task) base 19 base/pending_task.cc : base::TrackingInfo(posted_from, TimeTicks()), base 27 base/pending_task.cc const base::Closure& task, base 30 base/pending_task.cc : base::TrackingInfo(posted_from, delayed_run_time), base 16 base/pending_task.h namespace base { base 56 base/pending_task.h typedef std::priority_queue<base::PendingTask> DelayedTaskQueue; base 13 base/pickle.cc using base::char16; base 14 base/pickle.cc using base::string16; base 40 base/pickle.h bool ReadString16(base::string16* result) WARN_UNUSED_RESULT; base 182 base/pickle.h base::string16* result) const WARN_UNUSED_RESULT { base 246 base/pickle.h bool WriteString16(const base::string16& value); base 14 base/pickle_unittest.cc using base::string16; base 20 base/platform_file.h namespace base { base 118 base/platform_file.h base::Time last_modified; base 121 base/platform_file.h base::Time last_accessed; base 124 base/platform_file.h base::Time creation_time; base 35 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 41 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 127 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 223 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 230 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 238 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 257 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 276 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 285 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 294 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 318 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 337 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 345 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 350 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 354 base/platform_file_posix.cc bool TouchPlatformFile(PlatformFile file, const base::Time& last_access_time, base 355 base/platform_file_posix.cc const base::Time& last_modified_time) { base 356 base/platform_file_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 411 base/platform_file_posix.cc base::Time::FromTimeT(last_modified_sec) + base 412 base/platform_file_posix.cc base::TimeDelta::FromMicroseconds(last_modified_nsec / base 413 base/platform_file_posix.cc base::Time::kNanosecondsPerMicrosecond); base 415 base/platform_file_posix.cc base::Time::FromTimeT(last_accessed_sec) + base 416 base/platform_file_posix.cc base::TimeDelta::FromMicroseconds(last_accessed_nsec / base 417 base/platform_file_posix.cc base::Time::kNanosecondsPerMicrosecond); base 419 base/platform_file_posix.cc base::Time::FromTimeT(creation_time_sec) + base 420 base/platform_file_posix.cc base::TimeDelta::FromMicroseconds(creation_time_nsec / base 421 base/platform_file_posix.cc base::Time::kNanosecondsPerMicrosecond); base 19 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 130 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 137 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 150 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 171 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 196 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 225 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 251 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 255 base/platform_file_win.cc bool TouchPlatformFile(PlatformFile file, const base::Time& last_access_time, base 256 base/platform_file_win.cc const base::Time& last_modified_time) { base 257 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 268 base/platform_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 283 base/platform_file_win.cc info->last_modified = base::Time::FromFileTime(file_info.ftLastWriteTime); base 284 base/platform_file_win.cc info->last_accessed = base::Time::FromFileTime(file_info.ftLastAccessTime); base 285 base/platform_file_win.cc info->creation_time = base::Time::FromFileTime(file_info.ftCreationTime); base 29 base/posix/file_descriptor_shuffle.h namespace base { base 16 base/posix/global_descriptors.cc typedef Singleton<base::GlobalDescriptors, base 17 base/posix/global_descriptors.cc LeakySingletonTraits<base::GlobalDescriptors> > base 17 base/posix/global_descriptors.h namespace base { base 14 base/power_monitor/power_monitor.h namespace base { base 21 base/power_monitor/power_monitor_device_source.cc base::TimeDelta::FromMilliseconds(kDelayedBatteryCheckMs), this, base 33 base/power_monitor/power_monitor_device_source.h namespace base { base 95 base/power_monitor/power_monitor_device_source.h base::OneShotTimer<PowerMonitorDeviceSource> delayed_battery_check_; base 37 base/power_monitor/power_monitor_device_source_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 38 base/power_monitor/power_monitor_device_source_android.cc return base::android::Java_PowerMonitor_isBatteryPower(env); base 42 base/power_monitor/power_monitor_device_source_android.cc return base::android::RegisterNativesImpl(env); base 10 base/power_monitor/power_monitor_device_source_android.h namespace base { base 74 base/power_monitor/power_monitor_device_source_win.cc base::win::InitializeWindowClass( base 76 base/power_monitor/power_monitor_device_source_win.cc &base::win::WrappedWindowProc< base 14 base/power_monitor/power_monitor_source.h namespace base { base 11 base/power_monitor/power_observer.h namespace base { base 8 base/prefs/default_pref_store.cc using base::Value; base 25 base/prefs/default_pref_store.h const base::Value** result) const OVERRIDE; base 32 base/prefs/default_pref_store.h void SetDefaultValue(const std::string& key, scoped_ptr<base::Value> value); base 37 base/prefs/default_pref_store.h scoped_ptr<base::Value> value); base 8 base/prefs/default_pref_store_unittest.cc using base::StringValue; base 9 base/prefs/default_pref_store_unittest.cc using base::Value; base 24 base/prefs/json_pref_store.cc const base::FilePath::CharType* kBadExtension = FILE_PATH_LITERAL("bad"); base 29 base/prefs/json_pref_store.cc : public base::RefCountedThreadSafe<FileThreadDeserializer> { base 32 base/prefs/json_pref_store.cc base::SequencedTaskRunner* sequenced_task_runner) base 37 base/prefs/json_pref_store.cc origin_loop_proxy_(base::MessageLoopProxy::current()) { base 40 base/prefs/json_pref_store.cc void Start(const base::FilePath& path) { base 44 base/prefs/json_pref_store.cc base::Bind(&FileThreadDeserializer::ReadFileAndReport, base 49 base/prefs/json_pref_store.cc void ReadFileAndReport(const base::FilePath& path) { base 56 base/prefs/json_pref_store.cc base::Bind(&FileThreadDeserializer::ReportOnOriginThread, this)); base 65 base/prefs/json_pref_store.cc static base::Value* DoReading(const base::FilePath& path, base 71 base/prefs/json_pref_store.cc base::Value* value = serializer.Deserialize(&error_code, &error_msg); base 73 base/prefs/json_pref_store.cc *no_dir = !base::PathExists(path.DirName()); base 77 base/prefs/json_pref_store.cc static void HandleErrors(const base::Value* value, base 78 base/prefs/json_pref_store.cc const base::FilePath& path, base 89 base/prefs/json_pref_store.cc scoped_ptr<base::Value> value_; base 91 base/prefs/json_pref_store.cc const scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner_; base 92 base/prefs/json_pref_store.cc const scoped_refptr<base::MessageLoopProxy> origin_loop_proxy_; base 97 base/prefs/json_pref_store.cc const base::Value* value, base 98 base/prefs/json_pref_store.cc const base::FilePath& path, base 127 base/prefs/json_pref_store.cc base::FilePath bad = path.ReplaceExtension(kBadExtension); base 132 base/prefs/json_pref_store.cc if (base::PathExists(bad)) base 134 base/prefs/json_pref_store.cc base::Move(path, bad); base 137 base/prefs/json_pref_store.cc } else if (!value->IsType(base::Value::TYPE_DICTIONARY)) { base 144 base/prefs/json_pref_store.cc scoped_refptr<base::SequencedTaskRunner> JsonPrefStore::GetTaskRunnerForFile( base 145 base/prefs/json_pref_store.cc const base::FilePath& filename, base 146 base/prefs/json_pref_store.cc base::SequencedWorkerPool* worker_pool) { base 151 base/prefs/json_pref_store.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 154 base/prefs/json_pref_store.cc JsonPrefStore::JsonPrefStore(const base::FilePath& filename, base 155 base/prefs/json_pref_store.cc base::SequencedTaskRunner* sequenced_task_runner, base 159 base/prefs/json_pref_store.cc prefs_(new base::DictionaryValue()), base 167 base/prefs/json_pref_store.cc const base::Value** result) const { base 168 base/prefs/json_pref_store.cc base::Value* tmp = NULL; base 194 base/prefs/json_pref_store.cc base::Value** result) { base 198 base/prefs/json_pref_store.cc void JsonPrefStore::SetValue(const std::string& key, base::Value* value) { base 200 base/prefs/json_pref_store.cc scoped_ptr<base::Value> new_value(value); base 201 base/prefs/json_pref_store.cc base::Value* old_value = NULL; base 210 base/prefs/json_pref_store.cc base::Value* value) { base 212 base/prefs/json_pref_store.cc scoped_ptr<base::Value> new_value(value); base 213 base/prefs/json_pref_store.cc base::Value* old_value = NULL; base 243 base/prefs/json_pref_store.cc base::Value* value = base 279 base/prefs/json_pref_store.cc void JsonPrefStore::OnFileRead(base::Value* value_owned, base 282 base/prefs/json_pref_store.cc scoped_ptr<base::Value> value(value_owned); base 304 base/prefs/json_pref_store.cc prefs_.reset(static_cast<base::DictionaryValue*>(value.release())); base 23 base/prefs/json_pref_store.h namespace base { base 35 base/prefs/json_pref_store.h public base::ImportantFileWriter::DataSerializer { base 39 base/prefs/json_pref_store.h static scoped_refptr<base::SequencedTaskRunner> GetTaskRunnerForFile( base 40 base/prefs/json_pref_store.h const base::FilePath& pref_filename, base 41 base/prefs/json_pref_store.h base::SequencedWorkerPool* worker_pool); base 45 base/prefs/json_pref_store.h JsonPrefStore(const base::FilePath& pref_filename, base 46 base/prefs/json_pref_store.h base::SequencedTaskRunner* sequenced_task_runner, base 51 base/prefs/json_pref_store.h const base::Value** result) const OVERRIDE; base 59 base/prefs/json_pref_store.h base::Value** result) OVERRIDE; base 60 base/prefs/json_pref_store.h virtual void SetValue(const std::string& key, base::Value* value) OVERRIDE; base 62 base/prefs/json_pref_store.h base::Value* value) OVERRIDE; base 75 base/prefs/json_pref_store.h void OnFileRead(base::Value* value_owned, PrefReadError error, bool no_dir); base 83 base/prefs/json_pref_store.h base::FilePath path_; base 84 base/prefs/json_pref_store.h const scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner_; base 86 base/prefs/json_pref_store.h scoped_ptr<base::DictionaryValue> prefs_; base 91 base/prefs/json_pref_store.h base::ImportantFileWriter writer_; base 46 base/prefs/json_pref_store_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_TEST_DATA, &data_dir_)); base 52 base/prefs/json_pref_store_unittest.cc base::ScopedTempDir temp_dir_; base 54 base/prefs/json_pref_store_unittest.cc base::FilePath data_dir_; base 61 base/prefs/json_pref_store_unittest.cc base::FilePath bogus_input_file = data_dir_.AppendASCII("read.txt"); base 74 base/prefs/json_pref_store_unittest.cc base::FilePath invalid_file_original = data_dir_.AppendASCII("invalid.json"); base 75 base/prefs/json_pref_store_unittest.cc base::FilePath invalid_file = temp_dir_.path().AppendASCII("invalid.json"); base 76 base/prefs/json_pref_store_unittest.cc ASSERT_TRUE(base::CopyFile(invalid_file_original, invalid_file)); base 87 base/prefs/json_pref_store_unittest.cc base::FilePath moved_aside = temp_dir_.path().AppendASCII("invalid.bad"); base 95 base/prefs/json_pref_store_unittest.cc const base::FilePath& output_file, base 96 base/prefs/json_pref_store_unittest.cc const base::FilePath& golden_output_file) { base 112 base/prefs/json_pref_store_unittest.cc base::FilePath::StringType path; base 114 base/prefs/json_pref_store_unittest.cc EXPECT_EQ(base::FilePath::StringType(FILE_PATH_LITERAL("/usr/local/")), path); base 115 base/prefs/json_pref_store_unittest.cc base::FilePath some_path(FILE_PATH_LITERAL("/usr/sbin/")); base 143 base/prefs/json_pref_store_unittest.cc new StringValue(base::Int64ToString(214748364842LL))); base 147 base/prefs/json_pref_store_unittest.cc base::StringToInt64(string_value, &value); base 155 base/prefs/json_pref_store_unittest.cc ASSERT_TRUE(base::DeleteFile(output_file, false)); base 159 base/prefs/json_pref_store_unittest.cc ASSERT_TRUE(base::CopyFile(data_dir_.AppendASCII("read.json"), base 163 base/prefs/json_pref_store_unittest.cc base::FilePath input_file = temp_dir_.path().AppendASCII("write.json"); base 187 base/prefs/json_pref_store_unittest.cc ASSERT_TRUE(base::CopyFile(data_dir_.AppendASCII("read.json"), base 191 base/prefs/json_pref_store_unittest.cc base::FilePath input_file = temp_dir_.path().AppendASCII("write.json"); base 237 base/prefs/json_pref_store_unittest.cc pref_store->SetValue("list", new base::ListValue); base 238 base/prefs/json_pref_store_unittest.cc pref_store->SetValue("dict", new base::DictionaryValue); base 270 base/prefs/json_pref_store_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue; base 276 base/prefs/json_pref_store_unittest.cc const base::Value* retrieved_dict = NULL; base 283 base/prefs/json_pref_store_unittest.cc base::FilePath bogus_input_file = data_dir_.AppendASCII("read.txt"); base 16 base/prefs/mock_pref_change_callback.cc return base::Bind(&MockPrefChangeCallback::OnPreferenceChanged, base 17 base/prefs/mock_pref_change_callback.cc base::Unretained(this)); base 21 base/prefs/mock_pref_change_callback.cc const base::Value* value) { base 27 base/prefs/mock_pref_change_callback.h const base::Value* actual_value = pref->GetValue(); base 46 base/prefs/mock_pref_change_callback.h const base::Value* value); base 37 base/prefs/overlay_user_pref_store.cc const base::Value** result) const { base 48 base/prefs/overlay_user_pref_store.cc base::Value** result) { base 56 base/prefs/overlay_user_pref_store.cc base::Value* underlay_value = NULL; base 66 base/prefs/overlay_user_pref_store.cc base::Value* value) { base 77 base/prefs/overlay_user_pref_store.cc base::Value* value) { base 38 base/prefs/overlay_user_pref_store.h const base::Value** result) const OVERRIDE; base 42 base/prefs/overlay_user_pref_store.h base::Value** result) OVERRIDE; base 43 base/prefs/overlay_user_pref_store.h virtual void SetValue(const std::string& key, base::Value* value) OVERRIDE; base 45 base/prefs/overlay_user_pref_store.h base::Value* value) OVERRIDE; base 95 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(42).Equals(value)); base 98 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(42).Equals(value)); base 103 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(43).Equals(value)); base 106 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(42).Equals(value)); base 112 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(42).Equals(value)); base 115 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(42).Equals(value)); base 158 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(43).Equals(value)); base 166 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(44).Equals(value)); base 168 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(44).Equals(value)); base 208 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(43).Equals(value)); base 211 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(43).Equals(value)); base 220 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(44).Equals(value)); base 222 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(43).Equals(value)); base 224 base/prefs/overlay_user_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(43).Equals(value)); base 45 base/prefs/persistent_pref_store.h base::Value** result) = 0; base 57 base/prefs/persistent_pref_store.h virtual void SetValueSilently(const std::string& key, base::Value* value) = 0; base 27 base/prefs/pref_change_registrar.cc const base::Closure& obs) { base 28 base/prefs/pref_change_registrar.cc Add(path, base::Bind(&PrefChangeRegistrar::InvokeUnnamedCallback, obs)); base 84 base/prefs/pref_change_registrar.cc void PrefChangeRegistrar::InvokeUnnamedCallback(const base::Closure& callback, base 26 base/prefs/pref_change_registrar.h typedef base::Callback<void(const std::string&)> NamedChangeCallback; base 43 base/prefs/pref_change_registrar.h void Add(const char* path, const base::Closure& obs); base 70 base/prefs/pref_change_registrar.h static void InvokeUnnamedCallback(const base::Closure& callback, base 46 base/prefs/pref_change_registrar_unittest.cc base::Closure observer() const { base 47 base/prefs/pref_change_registrar_unittest.cc return base::Bind(&base::DoNothing); base 140 base/prefs/pref_change_registrar_unittest.cc base::Closure callback = base::Bind(&base::DoNothing); base 179 base/prefs/pref_change_registrar_unittest.cc PrefChangeRegistrar::NamedChangeCallback callback = base::Bind( base 181 base/prefs/pref_change_registrar_unittest.cc base::Unretained(this)); base 12 base/prefs/pref_filter.h namespace base { base 27 base/prefs/pref_filter.h virtual void FilterOnLoad(base::DictionaryValue* pref_store_contents) = 0; base 36 base/prefs/pref_filter.h const base::DictionaryValue* pref_store_contents) = 0; base 13 base/prefs/pref_member.cc using base::MessageLoopProxy; base 60 base/prefs/pref_member.cc UpdateValueFromPref(base::Closure()); base 68 base/prefs/pref_member.cc base::Bind(observer_, pref_name) : base::Closure()); base 71 base/prefs/pref_member.cc void PrefMemberBase::UpdateValueFromPref(const base::Closure& callback) const { base 87 base/prefs/pref_member.cc UpdateValueFromPref(base::Closure()); base 90 base/prefs/pref_member.cc void PrefMemberBase::InvokeUnnamedCallback(const base::Closure& callback, base 108 base/prefs/pref_member.cc base::Value* v, base 111 base/prefs/pref_member.cc const base::Closure& callback) const { base 112 base/prefs/pref_member.cc scoped_ptr<base::Value> value(v); base 113 base/prefs/pref_member.cc base::ScopedClosureRunner closure_runner(callback); base 122 base/prefs/pref_member.cc base::Bind(&PrefMemberBase::Internal::UpdateValue, this, base 135 base/prefs/pref_member.cc bool PrefMemberVectorStringUpdate(const base::Value& value, base 137 base/prefs/pref_member.cc if (!value.IsType(base::Value::TYPE_LIST)) base 139 base/prefs/pref_member.cc const base::ListValue* list = static_cast<const base::ListValue*>(&value); base 142 base/prefs/pref_member.cc for (base::ListValue::const_iterator it = list->begin(); base 164 base/prefs/pref_member.cc const base::Value& value) const { base 175 base/prefs/pref_member.cc const base::Value& value) const { base 185 base/prefs/pref_member.cc bool PrefMember<double>::Internal::UpdateValueInternal(const base::Value& value) base 197 base/prefs/pref_member.cc const base::Value& value) base 203 base/prefs/pref_member.cc void PrefMember<base::FilePath>::UpdatePref(const base::FilePath& value) { base 208 base/prefs/pref_member.cc bool PrefMember<base::FilePath>::Internal::UpdateValueInternal( base 209 base/prefs/pref_member.cc const base::Value& value) base 211 base/prefs/pref_member.cc return base::GetValueAsFilePath(value, &value_); base 217 base/prefs/pref_member.cc base::ListValue list_value; base 224 base/prefs/pref_member.cc const base::Value& value) const { base 49 base/prefs/pref_member.h typedef base::Callback<void(const std::string&)> NamedChangeCallback; base 56 base/prefs/pref_member.h : public base::RefCountedThreadSafe<Internal> { base 63 base/prefs/pref_member.h void UpdateValue(base::Value* value, base 66 base/prefs/pref_member.h const base::Closure& callback) const; base 69 base/prefs/pref_member.h const scoped_refptr<base::MessageLoopProxy>& message_loop); base 81 base/prefs/pref_member.h friend class base::RefCountedThreadSafe<Internal>; base 91 base/prefs/pref_member.h virtual bool UpdateValueInternal(const base::Value& value) const = 0; base 95 base/prefs/pref_member.h scoped_refptr<base::MessageLoopProxy> thread_loop_; base 115 base/prefs/pref_member.h void MoveToThread(const scoped_refptr<base::MessageLoopProxy>& message_loop); base 128 base/prefs/pref_member.h void UpdateValueFromPref(const base::Closure& callback) const; base 139 base/prefs/pref_member.h static void InvokeUnnamedCallback(const base::Closure& callback, base 155 base/prefs/pref_member.h const base::Value& value, base 176 base/prefs/pref_member.h const base::Closure& observer) { base 179 base/prefs/pref_member.h base::Bind(&PrefMemberBase::InvokeUnnamedCallback, observer)); base 200 base/prefs/pref_member.h void MoveToThread(const scoped_refptr<base::MessageLoopProxy>& message_loop) { base 265 base/prefs/pref_member.h const base::Value& value) const OVERRIDE; base 302 base/prefs/pref_member.h const base::Value& value) const; base 309 base/prefs/pref_member.h const base::Value& value) const; base 316 base/prefs/pref_member.h const base::Value& value) const; base 324 base/prefs/pref_member.h const base::Value& value) const; base 327 base/prefs/pref_member.h BASE_PREFS_EXPORT void PrefMember<base::FilePath>::UpdatePref( base 328 base/prefs/pref_member.h const base::FilePath& value); base 332 base/prefs/pref_member.h PrefMember<base::FilePath>::Internal::UpdateValueInternal( base 333 base/prefs/pref_member.h const base::Value& value) const; base 342 base/prefs/pref_member.h const base::Value& value) const; base 348 base/prefs/pref_member.h typedef PrefMember<base::FilePath> FilePathPrefMember; base 28 base/prefs/pref_member_unittest.cc registry->RegisterListPref(kStringListPref, new base::ListValue()); base 32 base/prefs/pref_member_unittest.cc : public base::RefCountedThreadSafe<GetPrefValueHelper> { base 48 base/prefs/pref_member_unittest.cc base::WaitableEvent event(true, false); base 52 base/prefs/pref_member_unittest.cc base::Bind(&GetPrefValueHelper::GetPrefValue, this, &event))); base 68 base/prefs/pref_member_unittest.cc void GetPrefValue(base::WaitableEvent* event) { base 76 base/prefs/pref_member_unittest.cc base::Thread pref_thread_; // The thread |pref_| runs on. base 84 base/prefs/pref_member_unittest.cc base::Bind(&PrefMemberTestClass::OnPreferenceChanged, base 85 base/prefs/pref_member_unittest.cc base::Unretained(this))); base 192 base/prefs/pref_member_unittest.cc base::ListValue expected_list; base 236 base/prefs/pref_member_unittest.cc base::ListValue list; base 73 base/prefs/pref_notifier_impl.cc void PrefNotifierImpl::AddInitObserver(base::Callback<void(bool)> obs) { base 38 base/prefs/pref_notifier_impl.h void AddInitObserver(base::Callback<void(bool)> observer); base 51 base/prefs/pref_notifier_impl.h typedef base::hash_map<std::string, PrefObserverList*> PrefObserverMap; base 53 base/prefs/pref_notifier_impl.h typedef std::list<base::Callback<void(bool)> > PrefInitObserverList; base 68 base/prefs/pref_notifier_impl.h base::ThreadChecker thread_checker_; base 109 base/prefs/pref_notifier_impl_unittest.cc base::Bind(&MockPrefInitObserver::OnInitializationCompleted, base 110 base/prefs/pref_notifier_impl_unittest.cc base::Unretained(&observer))); base 32 base/prefs/pref_registry.cc base::Value* value) { base 34 base/prefs/pref_registry.cc const base::Value* current_value = NULL; base 44 base/prefs/pref_registry.cc base::Value* default_value) { base 45 base/prefs/pref_registry.cc base::Value::Type orig_type = default_value->GetType(); base 46 base/prefs/pref_registry.cc DCHECK(orig_type != base::Value::TYPE_NULL && base 47 base/prefs/pref_registry.cc orig_type != base::Value::TYPE_BINARY) << base 12 base/prefs/pref_registry.h namespace base { base 28 base/prefs/pref_registry.h class BASE_PREFS_EXPORT PrefRegistry : public base::RefCounted<PrefRegistry> { base 44 base/prefs/pref_registry.h void SetDefaultPrefValue(const char* pref_name, base::Value* value); base 47 base/prefs/pref_registry.h friend class base::RefCounted<PrefRegistry>; base 51 base/prefs/pref_registry.h void RegisterPreference(const char* path, base::Value* default_value); base 19 base/prefs/pref_registry_simple.cc RegisterPreference(path, new base::FundamentalValue(default_value)); base 24 base/prefs/pref_registry_simple.cc RegisterPreference(path, new base::FundamentalValue(default_value)); base 29 base/prefs/pref_registry_simple.cc RegisterPreference(path, new base::FundamentalValue(default_value)); base 34 base/prefs/pref_registry_simple.cc RegisterPreference(path, new base::StringValue(default_value)); base 39 base/prefs/pref_registry_simple.cc const base::FilePath& default_value) { base 40 base/prefs/pref_registry_simple.cc RegisterPreference(path, new base::StringValue(default_value.value())); base 44 base/prefs/pref_registry_simple.cc RegisterPreference(path, new base::ListValue()); base 48 base/prefs/pref_registry_simple.cc base::ListValue* default_value) { base 53 base/prefs/pref_registry_simple.cc RegisterPreference(path, new base::DictionaryValue()); base 58 base/prefs/pref_registry_simple.cc base::DictionaryValue* default_value) { base 65 base/prefs/pref_registry_simple.cc path, new base::StringValue(base::Int64ToString(default_value))); base 13 base/prefs/pref_registry_simple.h namespace base { base 29 base/prefs/pref_registry_simple.h const base::FilePath& default_value); base 32 base/prefs/pref_registry_simple.h void RegisterListPref(const char* path, base::ListValue* default_value); base 34 base/prefs/pref_registry_simple.h base::DictionaryValue* default_value); base 28 base/prefs/pref_service.cc ReadErrorHandler(base::Callback<void(PersistentPrefStore::PrefReadError)> cb) base 36 base/prefs/pref_service.cc base::Callback<void(PersistentPrefStore::PrefReadError)> callback_; base 46 base/prefs/pref_service.cc base::Callback<void(PersistentPrefStore::PrefReadError)> base 76 base/prefs/pref_service.cc base::MessageLoop::current()->PostTask( base 78 base/prefs/pref_service.cc base::Bind(&PersistentPrefStore::ReadPrefsAsync, base 94 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(path); base 109 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(path); base 124 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(path); base 139 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(path); base 149 base/prefs/pref_service.cc base::FilePath PrefService::GetFilePath(const char* path) const { base 152 base/prefs/pref_service.cc base::FilePath result; base 154 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(path); base 157 base/prefs/pref_service.cc return base::FilePath(result); base 159 base/prefs/pref_service.cc bool rv = base::GetValueAsFilePath(*value, &result); base 169 base/prefs/pref_service.cc scoped_ptr<base::DictionaryValue> PrefService::GetPreferenceValues() const { base 171 base/prefs/pref_service.cc scoped_ptr<base::DictionaryValue> out(new base::DictionaryValue); base 174 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(i->first); base 181 base/prefs/pref_service.cc scoped_ptr<base::DictionaryValue> base 184 base/prefs/pref_service.cc scoped_ptr<base::DictionaryValue> out(new base::DictionaryValue); base 187 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(i->first); base 200 base/prefs/pref_service.cc const base::Value* default_value = NULL; base 238 base/prefs/pref_service.cc const base::DictionaryValue* PrefService::GetDictionary( base 242 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(path); base 247 base/prefs/pref_service.cc if (value->GetType() != base::Value::TYPE_DICTIONARY) { base 251 base/prefs/pref_service.cc return static_cast<const base::DictionaryValue*>(value); base 254 base/prefs/pref_service.cc const base::Value* PrefService::GetUserPrefValue(const char* path) const { base 265 base/prefs/pref_service.cc base::Value* value = NULL; base 278 base/prefs/pref_service.cc base::Value* value) { base 283 base/prefs/pref_service.cc const base::Value* PrefService::GetDefaultPrefValue(const char* path) const { base 286 base/prefs/pref_service.cc const base::Value* value = NULL; base 294 base/prefs/pref_service.cc const base::ListValue* PrefService::GetList(const char* path) const { base 297 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(path); base 302 base/prefs/pref_service.cc if (value->GetType() != base::Value::TYPE_LIST) { base 306 base/prefs/pref_service.cc return static_cast<const base::ListValue*>(value); base 317 base/prefs/pref_service.cc void PrefService::AddPrefInitObserver(base::Callback<void(bool)> obs) { base 336 base/prefs/pref_service.cc void PrefService::Set(const char* path, const base::Value& value) { base 341 base/prefs/pref_service.cc SetUserPrefValue(path, new base::FundamentalValue(value)); base 345 base/prefs/pref_service.cc SetUserPrefValue(path, new base::FundamentalValue(value)); base 349 base/prefs/pref_service.cc SetUserPrefValue(path, new base::FundamentalValue(value)); base 353 base/prefs/pref_service.cc SetUserPrefValue(path, new base::StringValue(value)); base 356 base/prefs/pref_service.cc void PrefService::SetFilePath(const char* path, const base::FilePath& value) { base 357 base/prefs/pref_service.cc SetUserPrefValue(path, base::CreateFilePathValue(value)); base 361 base/prefs/pref_service.cc SetUserPrefValue(path, new base::StringValue(base::Int64ToString(value))); base 367 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(path); base 377 base/prefs/pref_service.cc base::StringToInt64(result, &val); base 382 base/prefs/pref_service.cc SetUserPrefValue(path, new base::StringValue(base::Uint64ToString(value))); base 388 base/prefs/pref_service.cc const base::Value* value = GetPreferenceValue(path); base 398 base/prefs/pref_service.cc base::StringToUint64(result, &val); base 402 base/prefs/pref_service.cc base::Value* PrefService::GetMutableUserPref(const char* path, base 403 base/prefs/pref_service.cc base::Value::Type type) { base 404 base/prefs/pref_service.cc CHECK(type == base::Value::TYPE_DICTIONARY || type == base::Value::TYPE_LIST); base 419 base/prefs/pref_service.cc base::Value* value = NULL; base 422 base/prefs/pref_service.cc if (type == base::Value::TYPE_DICTIONARY) { base 423 base/prefs/pref_service.cc value = new base::DictionaryValue; base 424 base/prefs/pref_service.cc } else if (type == base::Value::TYPE_LIST) { base 425 base/prefs/pref_service.cc value = new base::ListValue; base 438 base/prefs/pref_service.cc void PrefService::SetUserPrefValue(const char* path, base::Value* new_value) { base 439 base/prefs/pref_service.cc scoped_ptr<base::Value> owned_value(new_value); base 466 base/prefs/pref_service.cc base::Value::Type type) base 478 base/prefs/pref_service.cc base::Value::Type PrefService::Preference::GetType() const { base 482 base/prefs/pref_service.cc const base::Value* PrefService::Preference::GetValue() const { base 483 base/prefs/pref_service.cc const base::Value* result= pref_service_->GetPreferenceValue(name_); base 488 base/prefs/pref_service.cc const base::Value* PrefService::Preference::GetRecommendedValue() const { base 492 base/prefs/pref_service.cc const base::Value* found_value = NULL; base 538 base/prefs/pref_service.cc const base::Value* PrefService::GetPreferenceValue( base 541 base/prefs/pref_service.cc const base::Value* default_value = NULL; base 543 base/prefs/pref_service.cc const base::Value* found_value = NULL; base 544 base/prefs/pref_service.cc base::Value::Type default_type = default_value->GetType(); base 35 base/prefs/pref_service.h namespace base { base 51 base/prefs/pref_service.h class BASE_PREFS_EXPORT PrefService : public base::NonThreadSafe { base 69 base/prefs/pref_service.h base::Value::Type type); base 77 base/prefs/pref_service.h base::Value::Type GetType() const; base 81 base/prefs/pref_service.h const base::Value* GetValue() const; base 84 base/prefs/pref_service.h const base::Value* GetRecommendedValue() const; base 135 base/prefs/pref_service.h const base::Value::Type type_; base 148 base/prefs/pref_service.h base::Callback<void(PersistentPrefStore::PrefReadError)> base 176 base/prefs/pref_service.h base::FilePath GetFilePath(const char* path) const; base 181 base/prefs/pref_service.h const base::DictionaryValue* GetDictionary( base 183 base/prefs/pref_service.h const base::ListValue* GetList(const char* path) const; base 193 base/prefs/pref_service.h void Set(const char* path, const base::Value& value); base 198 base/prefs/pref_service.h void SetFilePath(const char* path, const base::FilePath& value); base 212 base/prefs/pref_service.h const base::Value* GetUserPrefValue(const char* path) const; base 218 base/prefs/pref_service.h void SetDefaultPrefValue(const char* path, base::Value* value); base 222 base/prefs/pref_service.h const base::Value* GetDefaultPrefValue(const char* path) const; base 232 base/prefs/pref_service.h scoped_ptr<base::DictionaryValue> GetPreferenceValues() const; base 242 base/prefs/pref_service.h scoped_ptr<base::DictionaryValue> GetPreferenceValuesWithoutPathExpansion() base 256 base/prefs/pref_service.h void AddPrefInitObserver(base::Callback<void(bool)> callback); base 289 base/prefs/pref_service.h base::Callback<void(PersistentPrefStore::PrefReadError)> read_error_callback_; base 296 base/prefs/pref_service.h typedef base::hash_map<std::string, Preference> PreferenceMap; base 328 base/prefs/pref_service.h void SetUserPrefValue(const char* path, base::Value* new_value); base 341 base/prefs/pref_service.h base::Value* GetMutableUserPref(const char* path, base 342 base/prefs/pref_service.h base::Value::Type type); base 349 base/prefs/pref_service.h const base::Value* GetPreferenceValue(const std::string& path) const; base 33 base/prefs/pref_service_factory.cc read_error_callback_(base::Bind(&DoNothingHandleReadError)), base 39 base/prefs/pref_service_factory.cc const base::FilePath& prefs_file, base 40 base/prefs/pref_service_factory.cc base::SequencedTaskRunner* task_runner) { base 18 base/prefs/pref_service_factory.h namespace base { base 55 base/prefs/pref_service_factory.h const base::Callback<void(PersistentPrefStore::PrefReadError)>& base 61 base/prefs/pref_service_factory.h void SetUserPrefsFile(const base::FilePath& prefs_file, base 62 base/prefs/pref_service_factory.h base::SequencedTaskRunner* task_runner); base 80 base/prefs/pref_service_factory.h base::Callback<void(PersistentPrefStore::PrefReadError)> read_error_callback_; base 36 base/prefs/pref_service_unittest.cc const base::StringValue expected_value(new_pref_value); base 48 base/prefs/pref_service_unittest.cc const base::StringValue expected_default_value((std::string())); base 82 base/prefs/pref_service_unittest.cc new base::StringValue("http://www.cnn.com")); base 86 base/prefs/pref_service_unittest.cc const base::StringValue expected_new_pref_value(new_pref_value); base 102 base/prefs/pref_service_unittest.cc const base::StringValue expected_new_pref_value2(new_pref_value2); base 113 base/prefs/pref_service_unittest.cc const base::StringValue recommended_pref_value("http://www.gmail.com/"); base 141 base/prefs/pref_service_unittest.cc new base::StringValue("not an integer")); base 144 base/prefs/pref_service_unittest.cc const base::Value* value = pref->GetValue(); base 146 base/prefs/pref_service_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, value->GetType()); base 164 base/prefs/pref_service_unittest.cc const base::Value* value = pref->GetValue(); base 166 base/prefs/pref_service_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, value->GetType()); base 176 base/prefs/pref_service_unittest.cc prefs.SetUserPref(kPrefName, new base::FundamentalValue(kUserValue)); base 181 base/prefs/pref_service_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, value->GetType()); base 192 base/prefs/pref_service_unittest.cc new base::FundamentalValue(kRecommendedValue)); base 197 base/prefs/pref_service_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, value->GetType()); base 205 base/prefs/pref_service_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, value->GetType()); base 216 base/prefs/pref_service_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, value->GetType()); base 224 base/prefs/pref_service_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, value->GetType()); base 246 base/prefs/pref_service_unittest.cc const base::StringValue default_value(default_string); base 262 base/prefs/pref_service_unittest.cc base::StringValue new_value(kValue); base 278 base/prefs/pref_service_unittest.cc base::DictionaryValue new_value; base 288 base/prefs/pref_service_unittest.cc base::DictionaryValue empty; base 304 base/prefs/pref_service_unittest.cc base::ListValue new_value; base 305 base/prefs/pref_service_unittest.cc new_value.Append(new base::StringValue(kValue)); base 314 base/prefs/pref_service_unittest.cc base::ListValue empty; base 14 base/prefs/pref_store.h namespace base { base 25 base/prefs/pref_store.h class BASE_PREFS_EXPORT PrefStore : public base::RefCounted<PrefStore> { base 53 base/prefs/pref_store.h const base::Value** result) const = 0; base 56 base/prefs/pref_store.h friend class base::RefCounted<PrefStore>; base 19 base/prefs/pref_value_map.cc const base::Value** value) const { base 30 base/prefs/pref_value_map.cc bool PrefValueMap::GetValue(const std::string& key, base::Value** value) { base 41 base/prefs/pref_value_map.cc bool PrefValueMap::SetValue(const std::string& key, base::Value* value) { base 43 base/prefs/pref_value_map.cc scoped_ptr<base::Value> value_ptr(value); base 46 base/prefs/pref_value_map.cc if (base::Value::Equals(entry->second, value)) base 95 base/prefs/pref_value_map.cc const base::Value* stored_value = NULL; base 100 base/prefs/pref_value_map.cc SetValue(key, new base::FundamentalValue(value)); base 105 base/prefs/pref_value_map.cc const base::Value* stored_value = NULL; base 111 base/prefs/pref_value_map.cc SetValue(key, new base::StringValue(value)); base 115 base/prefs/pref_value_map.cc const base::Value* stored_value = NULL; base 120 base/prefs/pref_value_map.cc SetValue(key, new base::FundamentalValue(value)); base 15 base/prefs/pref_value_map.h namespace base { base 22 base/prefs/pref_value_map.h typedef std::map<std::string, base::Value*>::iterator iterator; base 23 base/prefs/pref_value_map.h typedef std::map<std::string, base::Value*>::const_iterator const_iterator; base 31 base/prefs/pref_value_map.h bool GetValue(const std::string& key, const base::Value** value) const; base 32 base/prefs/pref_value_map.h bool GetValue(const std::string& key, base::Value** value); base 36 base/prefs/pref_value_map.h bool SetValue(const std::string& key, base::Value* value); base 81 base/prefs/pref_value_map.h typedef std::map<std::string, base::Value*> Map; base 107 base/prefs/pref_value_store.cc base::Value::Type type, base 108 base/prefs/pref_value_store.cc const base::Value** out_value) const { base 120 base/prefs/pref_value_store.cc base::Value::Type type, base 121 base/prefs/pref_value_store.cc const base::Value** out_value) const { base 187 base/prefs/pref_value_store.cc const base::Value* tmp_value = NULL; base 219 base/prefs/pref_value_store.cc const base::Value** out_value) const { base 234 base/prefs/pref_value_store.cc base::Value::Type type, base 236 base/prefs/pref_value_store.cc const base::Value** out_value) const { base 32 base/prefs/pref_value_store.h typedef base::Callback<void(const std::string&)> PrefChangedCallback; base 82 base/prefs/pref_value_store.h base::Value::Type type, base 83 base/prefs/pref_value_store.h const base::Value** out_value) const; base 91 base/prefs/pref_value_store.h base::Value::Type type, base 92 base/prefs/pref_value_store.h const base::Value** out_value) const; base 179 base/prefs/pref_value_store.h typedef std::map<std::string, base::Value::Type> PrefTypeMap; base 211 base/prefs/pref_value_store.h const base::Value** out_value) const; base 215 base/prefs/pref_value_store.h base::Value::Type type, base 217 base/prefs/pref_value_store.h const base::Value** out_value) const; base 124 base/prefs/pref_value_store_unittest.cc base::Bind(&MockPrefModelAssociator::ProcessPrefChange, base 125 base/prefs/pref_value_store_unittest.cc base::Unretained(sync_associator_.get()))); base 264 base/prefs/pref_value_store_unittest.cc const base::Value* value; base 273 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 281 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 288 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 295 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 302 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 309 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 317 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 323 base/prefs/pref_value_store_unittest.cc base::FundamentalValue tmp_dummy_value(true); base 326 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 331 base/prefs/pref_value_store_unittest.cc const base::Value* value; base 341 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 350 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 358 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 366 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 374 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 382 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 388 base/prefs/pref_value_store_unittest.cc base::FundamentalValue tmp_dummy_value(true); base 392 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 400 base/prefs/pref_value_store_unittest.cc base::Value::TYPE_STRING, &value)); base 23 base/prefs/scoped_user_pref_update.cc base::Value* ScopedUserPrefUpdateBase::GetValueOfType(base::Value::Type type) { base 21 base/prefs/scoped_user_pref_update.h namespace base { base 34 base/prefs/scoped_user_pref_update.h class BASE_PREFS_EXPORT ScopedUserPrefUpdateBase : public base::NonThreadSafe { base 42 base/prefs/scoped_user_pref_update.h base::Value* GetValueOfType(base::Value::Type type); base 54 base/prefs/scoped_user_pref_update.h base::Value* value_; base 66 base/prefs/scoped_user_pref_update.h template <typename T, base::Value::Type type_enum_value> base 102 base/prefs/scoped_user_pref_update.h typedef ScopedUserPrefUpdate<base::DictionaryValue, base 103 base/prefs/scoped_user_pref_update.h base::Value::TYPE_DICTIONARY> base 105 base/prefs/scoped_user_pref_update.h typedef ScopedUserPrefUpdate<base::ListValue, base::Value::TYPE_LIST> base 43 base/prefs/scoped_user_pref_update_unittest.cc base::DictionaryValue expected_dictionary; base 49 base/prefs/scoped_user_pref_update_unittest.cc base::DictionaryValue* value = update.Get(); base 58 base/prefs/scoped_user_pref_update_unittest.cc const base::DictionaryValue* current_value = prefs_.GetDictionary(kPref); base 67 base/prefs/scoped_user_pref_update_unittest.cc const base::DictionaryValue* current_value = prefs_.GetDictionary(kPref); base 73 base/prefs/scoped_user_pref_update_unittest.cc const base::DictionaryValue* old_value = prefs_.GetDictionary(kPref); base 78 base/prefs/scoped_user_pref_update_unittest.cc const base::DictionaryValue* new_value = prefs_.GetDictionary(kPref); base 34 base/prefs/testing_pref_service.cc base::Bind(&TestingPrefServiceBase<PrefService, base 30 base/prefs/testing_pref_service.h const base::Value* GetManagedPref(const char* path) const; base 34 base/prefs/testing_pref_service.h void SetManagedPref(const char* path, base::Value* value); base 41 base/prefs/testing_pref_service.h const base::Value* GetUserPref(const char* path) const; base 42 base/prefs/testing_pref_service.h void SetUserPref(const char* path, base::Value* value); base 46 base/prefs/testing_pref_service.h const base::Value* GetRecommendedPref(const char* path) const; base 47 base/prefs/testing_pref_service.h void SetRecommendedPref(const char* path, base::Value* value); base 64 base/prefs/testing_pref_service.h const base::Value* GetPref(TestingPrefStore* pref_store, base 69 base/prefs/testing_pref_service.h base::Value* value); base 114 base/prefs/testing_pref_service.h const base::Value* TestingPrefServiceBase< base 123 base/prefs/testing_pref_service.h const char* path, base::Value* value) { base 135 base/prefs/testing_pref_service.h const base::Value* TestingPrefServiceBase< base 144 base/prefs/testing_pref_service.h const char* path, base::Value* value) { base 156 base/prefs/testing_pref_service.h const base::Value* TestingPrefServiceBase< base 165 base/prefs/testing_pref_service.h const char* path, base::Value* value) { base 177 base/prefs/testing_pref_service.h const base::Value* TestingPrefServiceBase< base 180 base/prefs/testing_pref_service.h const base::Value* res; base 187 base/prefs/testing_pref_service.h TestingPrefStore* pref_store, const char* path, base::Value* value) { base 20 base/prefs/testing_pref_store.cc const base::Value** value) const { base 25 base/prefs/testing_pref_store.cc base::Value** value) { base 45 base/prefs/testing_pref_store.cc void TestingPrefStore::SetValue(const std::string& key, base::Value* value) { base 53 base/prefs/testing_pref_store.cc base::Value* value) { base 112 base/prefs/testing_pref_store.cc SetValue(key, new base::StringValue(value)); base 116 base/prefs/testing_pref_store.cc SetValue(key, new base::FundamentalValue(value)); base 120 base/prefs/testing_pref_store.cc SetValue(key, new base::FundamentalValue(value)); base 125 base/prefs/testing_pref_store.cc const base::Value* stored_value; base 133 base/prefs/testing_pref_store.cc const base::Value* stored_value; base 141 base/prefs/testing_pref_store.cc const base::Value* stored_value; base 25 base/prefs/testing_pref_store.h const base::Value** result) const OVERRIDE; base 33 base/prefs/testing_pref_store.h base::Value** result) OVERRIDE; base 35 base/prefs/testing_pref_store.h virtual void SetValue(const std::string& key, base::Value* value) OVERRIDE; base 37 base/prefs/testing_pref_store.h base::Value* value) OVERRIDE; base 15 base/prefs/value_map_pref_store.cc const base::Value** value) const { base 31 base/prefs/value_map_pref_store.cc void ValueMapPrefStore::SetValue(const std::string& key, base::Value* value) { base 25 base/prefs/value_map_pref_store.h const base::Value** value) const OVERRIDE; base 31 base/prefs/value_map_pref_store.h virtual void SetValue(const std::string& key, base::Value* value) OVERRIDE; base 13 base/prefs/writeable_pref_store.h namespace base { base 24 base/prefs/writeable_pref_store.h virtual void SetValue(const std::string& key, base::Value* value) = 0; base 28 base/process/internal_linux.cc base::FilePath GetProcPidDir(pid_t pid) { base 29 base/process/internal_linux.cc return base::FilePath(kProcDir).Append(IntToString(pid)); base 15 base/process/internal_linux.h namespace base { base 29 base/process/internal_linux.h base::FilePath GetProcPidDir(pid_t pid); base 15 base/process/kill.h namespace base { base 110 base/process/kill.h base::TimeDelta timeout); base 118 base/process/kill.h base::TimeDelta wait, base 125 base/process/kill.h base::TimeDelta wait); base 134 base/process/kill.h base::TimeDelta wait, base 228 base/process/kill_posix.cc base::TimeDelta timeout) { base 248 base/process/kill_posix.cc base::TimeDelta wait, base 255 base/process/kill_posix.cc base::TimeTicks end_time = base::TimeTicks::Now() + wait; base 262 base/process/kill_posix.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 263 base/process/kill_posix.cc } while ((end_time - base::TimeTicks::Now()) > base::TimeDelta()); base 273 base/process/kill_posix.cc base::TimeDelta wait) { base 275 base/process/kill_posix.cc DCHECK(wait.InMilliseconds() == base::kNoTimeout || wait > base::TimeDelta()); base 298 base/process/kill_posix.cc bool wait_forever = wait.InMilliseconds() == base::kNoTimeout; base 299 base/process/kill_posix.cc base::TimeDelta remaining_delta; base 300 base/process/kill_posix.cc base::TimeTicks deadline; base 303 base/process/kill_posix.cc deadline = base::TimeTicks::Now() + remaining_delta; base 309 base/process/kill_posix.cc while (wait_forever || remaining_delta > base::TimeDelta()) { base 323 base/process/kill_posix.cc remaining_delta = deadline - base::TimeTicks::Now(); base 359 base/process/kill_posix.cc bool WaitForSingleProcess(ProcessHandle handle, base::TimeDelta wait) { base 374 base/process/kill_posix.cc if (wait.InMilliseconds() == base::kNoTimeout) { base 390 base/process/kill_posix.cc base::TimeDelta wait, base 86 base/process/kill_win.cc base::KillProcess(process_, kProcessKilledExitCode, false); base 182 base/process/kill_win.cc handle, exit_code, base::TimeDelta::FromMilliseconds(INFINITE)); base 189 base/process/kill_win.cc base::TimeDelta timeout) { base 201 base/process/kill_win.cc base::TimeDelta wait, base 222 base/process/kill_win.cc bool WaitForSingleProcess(ProcessHandle handle, base::TimeDelta wait) { base 230 base/process/kill_win.cc base::TimeDelta wait, base 250 base/process/kill_win.cc base::Bind(&TimerExpiredTask::TimedOut, base 251 base/process/kill_win.cc base::Owned(new TimerExpiredTask(process))), base 252 base/process/kill_win.cc base::TimeDelta::FromMilliseconds(kWaitInterval)); base 27 base/process/launch.h namespace base { base 210 base/process/launch_posix.cc void CloseSuperfluousFds(const base::InjectiveMultimap& saved_mapping) { base 336 base/process/launch_posix.cc base::ScopedFD null_fd(HANDLE_EINTR(open("/dev/null", O_RDONLY))); base 360 base/process/launch_posix.cc base::type_profiler::Controller::Stop(); base 440 base/process/launch_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 495 base/process/launch_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 541 base/process/launch_posix.cc base::type_profiler::Controller::Stop(); base 119 base/process/launch_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 208 base/process/launch_win.cc base::win::ScopedProcessInformation process_info(temp_process_info); base 340 base/process/launch_win.cc base::win::ScopedProcessInformation proc_info(temp_process_info); base 25 base/process/memory.h namespace base { base 44 base/process/memory_unittest.cc base::GetModuleFromAddress( base 52 base/process/memory_unittest.cc base::GetModuleFromAddress(reinterpret_cast<DWORD*>(kernel32) + 1); base 57 base/process/memory_unittest.cc ASSERT_TRUE(base::EnableLowFragmentationHeap()); base 119 base/process/memory_unittest.cc base::EnableTerminationOnOutOfMemory(); base 126 base/process/memory_unittest.cc base::debug::Alias(buf); base 199 base/process/memory_unittest.cc base::EnableTerminationOnOutOfMemory(); base 266 base/process/memory_unittest.cc std::string format = base::StringPrintf("%%%zud", test_size_); base 343 base/process/memory_unittest.cc base::AllocateViaCFAllocatorSystemDefault(signed_test_size_))) {} base 351 base/process/memory_unittest.cc base::AllocateViaCFAllocatorMalloc(signed_test_size_))) {} base 359 base/process/memory_unittest.cc base::AllocateViaCFAllocatorMallocZone(signed_test_size_))) {} base 371 base/process/memory_unittest.cc while ((value_ = base::AllocatePsychoticallyBigObjCObject())) {} base 390 base/process/memory_unittest.cc base::EnableTerminationOnOutOfMemory(); base 400 base/process/memory_unittest.cc EXPECT_TRUE(base::UncheckedMalloc(kSafeMallocSize, &value_)); base 404 base/process/memory_unittest.cc EXPECT_FALSE(base::UncheckedMalloc(test_size_, &value_)); base 409 base/process/memory_unittest.cc EXPECT_TRUE(base::UncheckedCalloc(1, kSafeMallocSize, &value_)); base 417 base/process/memory_unittest.cc base::UncheckedCalloc(kSafeCallocItems, kSafeCallocSize, &value_)); base 424 base/process/memory_unittest.cc EXPECT_FALSE(base::UncheckedCalloc(1, test_size_, &value_)); base 13 base/process/memory_unittest_mac.h namespace base { base 13 base/process/process.h namespace base { base 18 base/process/process_handle.h namespace base { base 79 base/process/process_handle_win.cc if (win::GetVersion() < base::win::VERSION_VISTA) base 11 base/process/process_info.h namespace base { base 24 base/process/process_info_mac.cc scoped_ptr<struct kinfo_proc, base::FreeDeleter> base 31 base/process/process_iterator.h namespace base { base 43 base/process/process_linux.cc base::FilePath foreground_file; base 44 base/process/process_linux.cc base::FilePath background_file; base 48 base/process/process_linux.cc base::FilePath(base::StringPrintf(kControlPath, kForeground)); base 50 base/process/process_linux.cc base::FilePath(base::StringPrintf(kControlPath, kBackground)); base 51 base/process/process_linux.cc base::FileSystemType foreground_type; base 52 base/process/process_linux.cc base::FileSystemType background_type; base 54 base/process/process_linux.cc base::GetFileSystemType(foreground_file, &foreground_type) && base 55 base/process/process_linux.cc base::GetFileSystemType(background_file, &background_type) && base 61 base/process/process_linux.cc base::LazyInstance<CGroups> cgroups = LAZY_INSTANCE_INITIALIZER; base 73 base/process/process_linux.cc if (base::ReadFileToString( base 74 base/process/process_linux.cc base::FilePath(StringPrintf(kProcPath, process_)), base 77 base/process/process_linux.cc base::SplitString(proc, ':', &proc_parts); base 95 base/process/process_linux.cc const base::FilePath file = base 98 base/process/process_linux.cc return base::WriteFile(file, pid.c_str(), pid.size()) > 0; base 24 base/process/process_metrics.h namespace base { base 20 base/process/process_metrics_freebsd.cc processor_count_ = base::SysInfo::NumberOfProcessors(); base 35 base/process/process_metrics_linux.cc static uint64 ReadFileToUint64(const base::FilePath file) { base 39 base/process/process_metrics_linux.cc base::TrimWhitespaceASCII(file_as_string, base::TRIM_ALL, &file_as_string); base 41 base/process/process_metrics_linux.cc if (!base::StringToUint64(file_as_string, &file_as_uint64)) base 74 base/process/process_metrics_linux.cc base::TrimWhitespaceASCII(value_str, base::TRIM_ALL, base 269 base/process/process_metrics_linux.cc processor_count_ = base::SysInfo::NumberOfProcessors(); base 488 base/process/process_metrics_linux.cc scoped_ptr<DictionaryValue> res(new base::DictionaryValue()); base 715 base/process/process_metrics_linux.cc scoped_ptr<DictionaryValue> res(new base::DictionaryValue()); base 862 base/process/process_metrics_linux.cc base::FilePath zram_path("/sys/block/zram0"); base 138 base/process/process_metrics_mac.cc base::hash_set<int> seen_objects; base 371 base/process/process_metrics_mac.cc base::mac::ScopedMachPort host(mach_host_self()); base 146 base/process/process_metrics_openbsd.cc processor_count_ = base::SysInfo::NumberOfProcessors(); base 275 base/process/process_metrics_unittest.cc base::SystemMemoryInfoKB info; base 276 base/process/process_metrics_unittest.cc EXPECT_TRUE(base::GetSystemMemoryInfo(&info)); base 310 base/process/process_metrics_unittest.cc scoped_ptr<base::ProcessMetrics> metrics( base 311 base/process/process_metrics_unittest.cc base::ProcessMetrics::CreateProcessMetrics(::GetCurrentProcess())); base 325 base/process/process_metrics_unittest.cc base::FreeMBytes free_mem1 = {0}; base 340 base/process/process_metrics_unittest.cc base::FreeMBytes free_mem2 = {0}; base 362 base/process/process_metrics_unittest.cc EXPECT_EQ(12 + 16, base::ParseProcStatCPU(kTopStat)); base 371 base/process/process_metrics_unittest.cc EXPECT_EQ(0, base::ParseProcStatCPU(kSelfStat)); base 379 base/process/process_metrics_unittest.cc const base::ProcessHandle current = base::GetCurrentProcessHandle(); base 380 base/process/process_metrics_unittest.cc const int initial_threads = base::GetNumberOfThreads(current); base 384 base/process/process_metrics_unittest.cc scoped_ptr<base::Thread> my_threads[kNumAdditionalThreads]; base 386 base/process/process_metrics_unittest.cc my_threads[i].reset(new base::Thread("GetNumberOfThreadsTest")); base 388 base/process/process_metrics_unittest.cc ASSERT_EQ(base::GetNumberOfThreads(current), initial_threads + 1 + i); base 392 base/process/process_metrics_unittest.cc ASSERT_EQ(initial_threads, base::GetNumberOfThreads(current)); base 11 base/process/process_metrics_unittest_ios.cc scoped_ptr<base::ProcessMetrics> process_metrics( base 12 base/process/process_metrics_unittest_ios.cc base::ProcessMetrics::CreateProcessMetrics( base 13 base/process/process_metrics_unittest_ios.cc base::GetCurrentProcessHandle())); base 271 base/process/process_metrics_win.cc processor_count_(base::SysInfo::NumberOfProcessors()), base 55 base/process/process_util_unittest.cc using base::FilePath; base 81 base/process/process_util_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 98 base/process/process_util_unittest.cc base::TerminationStatus WaitForChildTermination(base::ProcessHandle handle, base 101 base/process/process_util_unittest.cc base::TerminationStatus status = base::TERMINATION_STATUS_STILL_RUNNING; base 102 base/process/process_util_unittest.cc const base::TimeDelta kInterval = base::TimeDelta::FromMilliseconds(20); base 103 base/process/process_util_unittest.cc base::TimeDelta waited; base 105 base/process/process_util_unittest.cc status = base::GetTerminationStatus(handle, exit_code); base 106 base/process/process_util_unittest.cc base::PlatformThread::Sleep(kInterval); base 108 base/process/process_util_unittest.cc } while (status == base::TERMINATION_STATUS_STILL_RUNNING && base 121 base/process/process_util_unittest.cc class ProcessUtilTest : public base::MultiProcessTest { base 137 base/process/process_util_unittest.cc PathService::Get(base::DIR_CACHE, &tmp_dir); base 149 base/process/process_util_unittest.cc base::ProcessHandle handle = SpawnChild("SimpleChildProcess"); base 150 base/process/process_util_unittest.cc ASSERT_NE(base::kNullProcessHandle, handle); base 151 base/process/process_util_unittest.cc EXPECT_TRUE(base::WaitForSingleProcess( base 153 base/process/process_util_unittest.cc base::CloseProcessHandle(handle); base 165 base/process/process_util_unittest.cc base::ProcessHandle handle = SpawnChild("SlowChildProcess"); base 166 base/process/process_util_unittest.cc ASSERT_NE(base::kNullProcessHandle, handle); base 168 base/process/process_util_unittest.cc EXPECT_TRUE(base::WaitForSingleProcess( base 170 base/process/process_util_unittest.cc base::CloseProcessHandle(handle); base 179 base/process/process_util_unittest.cc base::ProcessHandle handle = SpawnChild("SlowChildProcess"); base 180 base/process/process_util_unittest.cc ASSERT_NE(base::kNullProcessHandle, handle); base 183 base/process/process_util_unittest.cc EXPECT_EQ(base::TERMINATION_STATUS_STILL_RUNNING, base 184 base/process/process_util_unittest.cc base::GetTerminationStatus(handle, &exit_code)); base 189 base/process/process_util_unittest.cc base::TerminationStatus status = base 191 base/process/process_util_unittest.cc EXPECT_EQ(base::TERMINATION_STATUS_NORMAL_TERMINATION, status); base 193 base/process/process_util_unittest.cc base::CloseProcessHandle(handle); base 200 base/process/process_util_unittest.cc base::ProcessId id1 = base::GetProcId(GetCurrentProcess()); base 202 base/process/process_util_unittest.cc base::ProcessHandle handle = SpawnChild("SimpleChildProcess"); base 203 base/process/process_util_unittest.cc ASSERT_NE(base::kNullProcessHandle, handle); base 204 base/process/process_util_unittest.cc base::ProcessId id2 = base::GetProcId(handle); base 207 base/process/process_util_unittest.cc base::CloseProcessHandle(handle); base 248 base/process/process_util_unittest.cc base::ProcessHandle handle = SpawnChild("CrashingChildProcess"); base 249 base/process/process_util_unittest.cc ASSERT_NE(base::kNullProcessHandle, handle); base 252 base/process/process_util_unittest.cc EXPECT_EQ(base::TERMINATION_STATUS_STILL_RUNNING, base 253 base/process/process_util_unittest.cc base::GetTerminationStatus(handle, &exit_code)); base 258 base/process/process_util_unittest.cc base::TerminationStatus status = base 260 base/process/process_util_unittest.cc EXPECT_EQ(base::TERMINATION_STATUS_PROCESS_CRASHED, status); base 270 base/process/process_util_unittest.cc base::CloseProcessHandle(handle); base 273 base/process/process_util_unittest.cc base::debug::EnableInProcessStackDumping(); base 295 base/process/process_util_unittest.cc base::ProcessHandle handle = SpawnChild("KilledChildProcess"); base 296 base/process/process_util_unittest.cc ASSERT_NE(base::kNullProcessHandle, handle); base 299 base/process/process_util_unittest.cc EXPECT_EQ(base::TERMINATION_STATUS_STILL_RUNNING, base 300 base/process/process_util_unittest.cc base::GetTerminationStatus(handle, &exit_code)); base 305 base/process/process_util_unittest.cc base::TerminationStatus status = base 307 base/process/process_util_unittest.cc EXPECT_EQ(base::TERMINATION_STATUS_PROCESS_WAS_KILLED, status); base 316 base/process/process_util_unittest.cc base::CloseProcessHandle(handle); base 325 base/process/process_util_unittest.cc base::ProcessHandle handle = SpawnChild("SimpleChildProcess"); base 326 base/process/process_util_unittest.cc base::Process process(handle); base 344 base/process/process_util_unittest.cc base::Process process(base::Process::Current().handle()); base 377 base/process/process_util_unittest.cc ASSERT_TRUE(base::GetAppOutput(cmd_line, &output)); base 386 base/process/process_util_unittest.cc ASSERT_TRUE(base::GetAppOutput(other_cmd_line, &output)); base 392 base/process/process_util_unittest.cc base::UserTokenHandle token; base 394 base/process/process_util_unittest.cc base::LaunchOptions options; base 396 base/process/process_util_unittest.cc EXPECT_TRUE(base::LaunchProcess(MakeCmdLine("SimpleChildProcess"), options, base 409 base/process/process_util_unittest.cc CHECK(base::StringToUint64(handle_value_string, &handle_value_uint64)); base 411 base/process/process_util_unittest.cc base::WaitableEvent event(reinterpret_cast<HANDLE>(handle_value_uint64)); base 426 base/process/process_util_unittest.cc base::WaitableEvent event( base 428 base/process/process_util_unittest.cc base::HandlesToInheritVector handles_to_inherit; base 430 base/process/process_util_unittest.cc base::LaunchOptions options; base 435 base/process/process_util_unittest.cc base::Uint64ToString(reinterpret_cast<uint64>(event.handle()))); base 439 base/process/process_util_unittest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 440 base/process/process_util_unittest.cc EXPECT_FALSE(base::LaunchProcess(cmd_line, options, NULL)); base 445 base/process/process_util_unittest.cc ASSERT_TRUE(base::LaunchProcess(cmd_line, options, NULL)); base 506 base/process/process_util_unittest.cc base::FileHandleMappingVector fd_mapping_vec; base 508 base/process/process_util_unittest.cc base::LaunchOptions options; base 510 base/process/process_util_unittest.cc base::ProcessHandle handle = base 524 base/process/process_util_unittest.cc CHECK(base::WaitForSingleProcess(handle, base::TimeDelta::FromSeconds(3))); base 526 base/process/process_util_unittest.cc CHECK(base::WaitForSingleProcess(handle, base::TimeDelta::FromSeconds(1))); base 528 base/process/process_util_unittest.cc base::CloseProcessHandle(handle); base 567 base/process/process_util_unittest.cc std::string TestLaunchProcess(const base::EnvironmentMap& env_changes, base 570 base/process/process_util_unittest.cc base::FileHandleMappingVector fds_to_remap; base 580 base/process/process_util_unittest.cc base::LaunchOptions options; base 589 base/process/process_util_unittest.cc EXPECT_TRUE(base::LaunchProcess(args, options, NULL)); base 613 base/process/process_util_unittest.cc base::EnvironmentMap env_changes; base 657 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutput(CommandLine(argv), &output)); base 661 base/process/process_util_unittest.cc EXPECT_FALSE(base::GetAppOutput(CommandLine(argv), &output)); base 665 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutput(CommandLine(argv), &output)); base 668 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutput(CommandLine(FilePath("true")), &output)); base 671 base/process/process_util_unittest.cc EXPECT_FALSE(base::GetAppOutput(CommandLine(FilePath("false")), &output)); base 677 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutput(CommandLine(argv), &output)); base 695 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputRestricted(CommandLine(argv), &output, 100)); base 700 base/process/process_util_unittest.cc EXPECT_FALSE(base::GetAppOutputRestricted(CommandLine(argv), base 707 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputRestricted(CommandLine(argv), &output, 10)); base 712 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputRestricted(CommandLine(argv), &output, 5)); base 717 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputRestricted(CommandLine(argv), &output, 15)); base 722 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputRestricted(CommandLine(argv), &output, 0)); base 737 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputRestricted(CommandLine(argv), &output, 10)); base 741 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputRestricted(CommandLine(argv), &output, 10)); base 767 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputRestricted(CommandLine(argv), &output, 100)); base 774 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputRestricted(CommandLine(argv), &output, 10)); base 787 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputWithExitCode(CommandLine(argv), &output, base 796 base/process/process_util_unittest.cc EXPECT_TRUE(base::GetAppOutputWithExitCode(CommandLine(argv), &output, base 803 base/process/process_util_unittest.cc base::ProcessId ppid = base::GetParentProcessId(base::GetCurrentProcId()); base 808 base/process/process_util_unittest.cc bool IsProcessDead(base::ProcessHandle child) { base 817 base/process/process_util_unittest.cc base::ProcessHandle child_process = SpawnChild("process_util_test_never_die"); base 819 base/process/process_util_unittest.cc base::EnsureProcessTerminated(child_process); base 820 base/process/process_util_unittest.cc base::WaitForSingleProcess(child_process, base::TimeDelta::FromSeconds(5)); base 824 base/process/process_util_unittest.cc base::CloseProcessHandle(child_process); base 835 base/process/process_util_unittest.cc base::ProcessHandle child_process = base 840 base/process/process_util_unittest.cc base::EnsureProcessTerminated(child_process); base 844 base/process/process_util_unittest.cc base::CloseProcessHandle(child_process); base 55 base/process/process_win.cc if ((base::win::GetVersion() >= base::win::VERSION_VISTA) && base 48 base/profiler/tracked_time.cc TrackedTime::TrackedTime(const base::TimeTicks& time) base 49 base/profiler/tracked_time.cc : ms_((time - base::TimeTicks()).InMilliseconds()) { base 58 base/profiler/tracked_time.cc return TrackedTime(base::TimeTicks::UnprotectedNow()); base 61 base/profiler/tracked_time.cc return TrackedTime(base::TimeTicks::Now()); base 52 base/profiler/tracked_time.h explicit TrackedTime(const base::TimeTicks& time); base 26 base/profiler/tracked_time_unittest.cc base::TimeTicks big = base::TimeTicks() + base 27 base/profiler/tracked_time_unittest.cc base::TimeDelta::FromMilliseconds(kReallyBigMilliseconds); base 28 base/profiler/tracked_time_unittest.cc EXPECT_EQ(kReallyBigMilliseconds, (big - base::TimeTicks()).InMilliseconds()); base 53 base/profiler/tracked_time_unittest.cc base::TimeTicks ticks_before = base::TimeTicks::Now(); base 60 base/profiler/tracked_time_unittest.cc base::TimeTicks ticks_after = base::TimeTicks::Now(); base 91 base/profiler/tracked_time_unittest.cc base::TimeTicks ticks_before = base::TimeTicks::Now(); base 100 base/profiler/tracked_time_unittest.cc base::TimeTicks ticks_after = base::TimeTicks::Now(); base 22 base/rand_util.cc int result = min + static_cast<int>(base::RandGenerator(range)); base 29 base/rand_util.cc return BitsToOpenEndedUnitInterval(base::RandUint64()); base 58 base/rand_util.cc value = base::RandUint64(); base 13 base/rand_util.h namespace base { base 40 base/rand_util_nacl.cc base::LazyInstance<NaclRandom>::Leaky g_nacl_random = LAZY_INSTANCE_INITIALIZER; base 35 base/rand_util_posix.cc base::LazyInstance<URandomFd>::Leaky g_urandom_fd = LAZY_INSTANCE_INITIALIZER; base 23 base/rand_util_unittest.cc EXPECT_EQ(base::RandInt(0, 0), 0); base 24 base/rand_util_unittest.cc EXPECT_EQ(base::RandInt(kIntMin, kIntMin), kIntMin); base 25 base/rand_util_unittest.cc EXPECT_EQ(base::RandInt(kIntMax, kIntMax), kIntMax); base 30 base/rand_util_unittest.cc volatile double number = base::RandDouble(); base 39 base/rand_util_unittest.cc base::RandBytes(buffer, buffer_size); base 47 base/rand_util_unittest.cc std::string random_string = base::RandBytesAsString(1); base 49 base/rand_util_unittest.cc random_string = base::RandBytesAsString(145); base 62 base/rand_util_unittest.cc EXPECT_EQ(base::RandGenerator(1), 0U); base 89 base/rand_util_unittest.cc uint64 value = base::RandGenerator(kTopOfRange); base 116 base/rand_util_unittest.cc uint64 value = base::RandUint64(); base 137 base/rand_util_unittest.cc const base::TimeTicks now = base::TimeTicks::HighResNow(); base 139 base/rand_util_unittest.cc base::RandBytes(buffer.get(), kTestBufferSize); base 140 base/rand_util_unittest.cc const base::TimeTicks end = base::TimeTicks::HighResNow(); base 66 base/run_loop.cc base::Closure RunLoop::QuitClosure() { base 67 base/run_loop.cc return base::Bind(&RunLoop::Quit, weak_factory_.GetWeakPtr()); base 13 base/run_loop.h namespace base { base 71 base/run_loop.h base::Closure QuitClosure(); base 78 base/run_loop.h friend class base::MessagePumpForUI; base 84 base/run_loop.h friend class base::MessagePumpUIApplication; base 112 base/run_loop.h base::WeakPtrFactory<RunLoop> weak_factory_; base 12 base/scoped_clear_errno.h namespace base { base 13 base/scoped_generic.h namespace base { base 17 base/scoped_native_library.cc library_ = base::LoadNativeLibrary(library_path, NULL); base 22 base/scoped_native_library.cc base::UnloadNativeLibrary(library_); base 29 base/scoped_native_library.cc return base::GetFunctionPointerFromNativeLibrary(library_, function_name); base 34 base/scoped_native_library.cc base::UnloadNativeLibrary(library_); base 11 base/scoped_native_library.h namespace base { base 103 base/security_unittest.cc scoped_ptr<char, base::FreeDeleter> ptr(static_cast<char*>( base 111 base/security_unittest.cc scoped_ptr<char, base::FreeDeleter> ptr(static_cast<char*>( base 121 base/security_unittest.cc scoped_ptr<char, base::FreeDeleter> ptr(static_cast<char*>( base 208 base/security_unittest.cc scoped_ptr<char, base::FreeDeleter> array_pointer( base 263 base/security_unittest.cc scoped_ptr<char, base::FreeDeleter> ptr( base 17 base/sequence_checker.h namespace base { base 14 base/sequence_checker_impl.h namespace base { base 72 base/sequence_checker_unittest.cc base::Thread* other_thread() { return &other_thread_; } base 83 base/sequence_checker_unittest.cc base::Bind(&SequenceCheckedObject::DoStuff, base 84 base/sequence_checker_unittest.cc base::Unretained(sequence_checked_object))); base 91 base/sequence_checker_unittest.cc base::Bind(&SequenceCheckedObject::DoStuff, base 92 base/sequence_checker_unittest.cc base::Unretained(sequence_checked_object))); base 116 base/sequence_checker_unittest.cc base::Thread other_thread_; base 311 base/sequence_checker_unittest.cc base::Bind(&SequenceCheckedObject::DoStuff, base 312 base/sequence_checker_unittest.cc base::Unretained(sequence_checked_object.get()))); base 14 base/sequenced_task_runner.cc return PostNonNestableDelayedTask(from_here, task, base::TimeDelta()); base 12 base/sequenced_task_runner.h namespace base { base 117 base/sequenced_task_runner.h base::TimeDelta delay) = 0; base 18 base/sequenced_task_runner_helpers.h namespace base { base 12 base/sha1.h namespace base { base 22 base/sha1_unittest.cc std::string output = base::SHA1HashString(input); base 23 base/sha1_unittest.cc for (size_t i = 0; i < base::kSHA1Length; i++) base 38 base/sha1_unittest.cc std::string output = base::SHA1HashString(input); base 39 base/sha1_unittest.cc for (size_t i = 0; i < base::kSHA1Length; i++) base 53 base/sha1_unittest.cc std::string output = base::SHA1HashString(input); base 54 base/sha1_unittest.cc for (size_t i = 0; i < base::kSHA1Length; i++) base 61 base/sha1_unittest.cc unsigned char output[base::kSHA1Length]; base 69 base/sha1_unittest.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(input.c_str()), base 71 base/sha1_unittest.cc for (size_t i = 0; i < base::kSHA1Length; i++) base 79 base/sha1_unittest.cc unsigned char output[base::kSHA1Length]; base 87 base/sha1_unittest.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(input.c_str()), base 89 base/sha1_unittest.cc for (size_t i = 0; i < base::kSHA1Length; i++) base 96 base/sha1_unittest.cc unsigned char output[base::kSHA1Length]; base 104 base/sha1_unittest.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(input.c_str()), base 106 base/sha1_unittest.cc for (size_t i = 0; i < base::kSHA1Length; i++) base 11 base/single_thread_task_runner.h namespace base { base 199 base/stl_util.h namespace base { base 13 base/strings/latin1_string_conversions.h namespace base { base 13 base/strings/nullable_string16.h namespace base { base 218 base/strings/safe_sprintf.cc bool IToASCII(bool sign, bool upcase, int64_t i, int base, base 274 base/strings/safe_sprintf.cc bool Buffer::IToASCII(bool sign, bool upcase, int64_t i, int base, base 278 base/strings/safe_sprintf.cc DEBUG_CHECK(base >= 2); base 279 base/strings/safe_sprintf.cc DEBUG_CHECK(base <= 16); base 280 base/strings/safe_sprintf.cc DEBUG_CHECK(!sign || base == 10); base 383 base/strings/safe_sprintf.cc Out((upcase ? kUpCaseHexDigits : kDownCaseHexDigits)[num%base + minint]); base 387 base/strings/safe_sprintf.cc num /= base; base 22 base/strings/safe_sprintf.h namespace base { base 80 base/strings/string16.cc template class std::basic_string<base::char16, base::string16_char_traits>; base 37 base/strings/string16.h namespace base { base 47 base/strings/string16.h namespace base { base 130 base/strings/string16.h typedef std::basic_string<char16, base::string16_char_traits> string16; base 180 base/strings/string16.h class BASE_EXPORT std::basic_string<base::char16, base::string16_char_traits>; base 28 base/strings/string_number_conversions.h namespace base { base 36 base/strings/string_piece.h namespace base { base 440 base/strings/string_piece.h struct hash<base::StringPiece> { base 441 base/strings/string_piece.h std::size_t operator()(const base::StringPiece& sp) const { base 442 base/strings/string_piece.h HASH_STRING_PIECE(base::StringPiece, sp); base 446 base/strings/string_piece.h struct hash<base::StringPiece16> { base 447 base/strings/string_piece.h std::size_t operator()(const base::StringPiece16& sp16) const { base 448 base/strings/string_piece.h HASH_STRING_PIECE(base::StringPiece16, sp16); base 454 base/strings/string_piece.h inline size_t hash_value(const base::StringPiece& sp) { base 455 base/strings/string_piece.h HASH_STRING_PIECE(base::StringPiece, sp); base 457 base/strings/string_piece.h inline size_t hash_value(const base::StringPiece16& sp16) { base 458 base/strings/string_piece.h HASH_STRING_PIECE(base::StringPiece16, sp16); base 15 base/strings/string_split.h namespace base { base 13 base/strings/string_tokenizer.h namespace base { base 150 base/strings/string_tokenizer.h base::StringPiece token_piece() const { base 151 base/strings/string_tokenizer.h return base::StringPiece(&*token_begin_, base 30 base/strings/string_util.cc using base::char16; base 31 base/strings/string_util.cc using base::string16; base 339 base/strings/string_util.cc bool IsStringASCII(const base::StringPiece& str) { base 343 base/strings/string_util.cc bool IsStringASCII(const base::string16& str) { base 355 base/strings/string_util.cc if (!base::IsValidCharacter(code_point)) base 366 base/strings/string_util.cc if (!*b || base::ToLowerASCII(*it) != *b) base 409 base/strings/string_util.cc bool EqualsASCII(const string16& a, const base::StringPiece& b) { base 421 base/strings/string_util.cc return base::strncasecmp(str.c_str(), search.c_str(), search.length()) == 0; base 432 base/strings/string_util.cc base::CaseInsensitiveCompare<typename STR::value_type>()); base 452 base/strings/string_util.cc base::CaseInsensitiveCompare<typename STR::value_type>()); base 487 base/strings/string_util.cc base::snprintf(buf, arraysize(buf), "%.1lf%s", unit_amount, base 490 base/strings/string_util.cc base::snprintf(buf, arraysize(buf), "%.0lf%s", unit_amount, base 494 base/strings/string_util.cc return base::ASCIIToUTF16(buf); base 583 base/strings/string_util.cc size_t Tokenize(const base::StringPiece& str, base 584 base/strings/string_util.cc const base::StringPiece& delimiters, base 585 base/strings/string_util.cc std::vector<base::StringPiece>* tokens) { base 692 base/strings/string_util.cc std::string ReplaceStringPlaceholders(const base::StringPiece& format_string, base 854 base/strings/string_util.cc bool MatchPattern(const base::StringPiece& eval, base 855 base/strings/string_util.cc const base::StringPiece& pattern) { base 891 base/strings/string_util.cc size_t base::strlcpy(char* dst, const char* src, size_t dst_size) { base 894 base/strings/string_util.cc size_t base::wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size) { base 22 base/strings/string_util.h namespace base { base 204 base/strings/string_util.h base::string16* output); base 259 base/strings/string_util.h BASE_EXPORT bool IsStringASCII(const base::StringPiece& str); base 260 base/strings/string_util.h BASE_EXPORT bool IsStringASCII(const base::string16& str); base 266 base/strings/string_util.h *i = base::ToLowerASCII(*i); base 280 base/strings/string_util.h *i = base::ToUpperASCII(*i); base 295 base/strings/string_util.h BASE_EXPORT bool LowerCaseEqualsASCII(const base::string16& a, const char* b); base 301 base/strings/string_util.h BASE_EXPORT bool LowerCaseEqualsASCII(base::string16::const_iterator a_begin, base 302 base/strings/string_util.h base::string16::const_iterator a_end, base 307 base/strings/string_util.h BASE_EXPORT bool LowerCaseEqualsASCII(const base::char16* a_begin, base 308 base/strings/string_util.h const base::char16* a_end, base 313 base/strings/string_util.h BASE_EXPORT bool EqualsASCII(const base::string16& a, const base::StringPiece& b); base 319 base/strings/string_util.h BASE_EXPORT bool StartsWith(const base::string16& str, base 320 base/strings/string_util.h const base::string16& search, base 327 base/strings/string_util.h BASE_EXPORT bool EndsWith(const base::string16& str, base 328 base/strings/string_util.h const base::string16& search, base 368 base/strings/string_util.h return wcschr(base::kWhitespaceWide, c) != NULL; base 375 base/strings/string_util.h BASE_EXPORT base::string16 FormatBytesUnlocalized(int64 bytes); base 380 base/strings/string_util.h base::string16* str, base 381 base/strings/string_util.h base::string16::size_type start_offset, base 382 base/strings/string_util.h const base::string16& find_this, base 383 base/strings/string_util.h const base::string16& replace_with); base 397 base/strings/string_util.h base::string16* str, base 398 base/strings/string_util.h base::string16::size_type start_offset, base 399 base/strings/string_util.h const base::string16& find_this, base 400 base/strings/string_util.h const base::string16& replace_with); base 441 base/strings/string_util.h BASE_EXPORT size_t Tokenize(const base::string16& str, base 442 base/strings/string_util.h const base::string16& delimiters, base 443 base/strings/string_util.h std::vector<base::string16>* tokens); base 447 base/strings/string_util.h BASE_EXPORT size_t Tokenize(const base::StringPiece& str, base 448 base/strings/string_util.h const base::StringPiece& delimiters, base 449 base/strings/string_util.h std::vector<base::StringPiece>* tokens); base 452 base/strings/string_util.h BASE_EXPORT base::string16 JoinString(const std::vector<base::string16>& parts, base 453 base/strings/string_util.h base::char16 s); base 461 base/strings/string_util.h BASE_EXPORT base::string16 JoinString( base 462 base/strings/string_util.h const std::vector<base::string16>& parts, base 463 base/strings/string_util.h const base::string16& separator); base 469 base/strings/string_util.h BASE_EXPORT base::string16 ReplaceStringPlaceholders( base 470 base/strings/string_util.h const base::string16& format_string, base 471 base/strings/string_util.h const std::vector<base::string16>& subst, base 475 base/strings/string_util.h const base::StringPiece& format_string, base 480 base/strings/string_util.h BASE_EXPORT base::string16 ReplaceStringPlaceholders( base 481 base/strings/string_util.h const base::string16& format_string, base 482 base/strings/string_util.h const base::string16& a, base 490 base/strings/string_util.h BASE_EXPORT bool MatchPattern(const base::StringPiece& string, base 491 base/strings/string_util.h const base::StringPiece& pattern); base 492 base/strings/string_util.h BASE_EXPORT bool MatchPattern(const base::string16& string, base 493 base/strings/string_util.h const base::string16& pattern); base 15 base/strings/string_util_posix.h namespace base { base 729 base/strings/string_util_unittest.cc TokenizeTest<base::StringPiece>(); base 999 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::strlcpy(dst, "abcdefg", arraysize(dst))); base 1001 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", arraysize(wdst))); base 1010 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::strlcpy(dst, "abcdefg", 0)); base 1013 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", 0)); base 1027 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::strlcpy(dst, "abcdefg", arraysize(dst))); base 1029 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", arraysize(wdst))); base 1037 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::strlcpy(dst, "abcdefg", arraysize(dst))); base 1039 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", arraysize(wdst))); base 1047 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::strlcpy(dst, "abcdefg", arraysize(dst))); base 1049 base/strings/string_util_unittest.cc EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", arraysize(wdst))); base 1082 base/strings/string_util_unittest.cc EXPECT_EQ(cases[i].portable, base::IsWprintfFormatPortable(cases[i].input)); base 15 base/strings/string_util_win.h namespace base { base 27 base/strings/stringprintf.cc return base::vsnprintf(buffer, buf_size, format, argptr); base 35 base/strings/stringprintf.cc return base::vswprintf(buffer, buf_size, format, argptr); base 15 base/strings/stringprintf.h namespace base { base 28 base/strings/sys_string_conversions.h namespace base { base 78 base/strings/utf_offset_string_conversions.cc string16 UTF8ToUTF16AndAdjustOffset(const base::StringPiece& utf8, base 92 base/strings/utf_offset_string_conversions.cc const base::StringPiece& utf8, base 101 base/strings/utf_offset_string_conversions.cc const base::StringPiece16& utf16, base 113 base/strings/utf_offset_string_conversions.cc const base::StringPiece16& utf16, base 15 base/strings/utf_offset_string_conversions.h namespace base { base 37 base/strings/utf_offset_string_conversions.h BASE_EXPORT string16 UTF8ToUTF16AndAdjustOffset(const base::StringPiece& utf8, base 40 base/strings/utf_offset_string_conversions.h const base::StringPiece& utf8, base 44 base/strings/utf_offset_string_conversions.h const base::StringPiece16& utf16, base 47 base/strings/utf_offset_string_conversions.h const base::StringPiece16& utf16, base 13 base/strings/utf_string_conversion_utils.h namespace base { base 14 base/strings/utf_string_conversions.h namespace base { base 15 base/supports_user_data.h namespace base { base 62 base/supports_user_data.h class UserDataAdapter : public base::SupportsUserData::Data { base 23 base/sync_socket.h namespace base { base 139 base/sync_socket_posix.cc base::TimeDelta::FromSeconds(1).InMicroseconds()); base 149 base/sync_socket_posix.cc timeout = finish_time - base::TimeTicks::Now()) { base 15 base/sync_socket_unittest.cc class HangingReceiveThread : public base::DelegateSimpleThread::Delegate { base 17 base/sync_socket_unittest.cc explicit HangingReceiveThread(base::SyncSocket* socket) base 31 base/sync_socket_unittest.cc &data, sizeof(data), base::TimeDelta::FromMilliseconds( base 40 base/sync_socket_unittest.cc base::SyncSocket* socket_; base 41 base/sync_socket_unittest.cc base::DelegateSimpleThread thread_; base 49 base/sync_socket_unittest.cc void SendReceivePeek(base::SyncSocket* socket_a, base::SyncSocket* socket_b) { base 101 base/sync_socket_unittest.cc NormalSendReceivePeek<base::SyncSocket>(); base 105 base/sync_socket_unittest.cc ClonedSendReceivePeek<base::SyncSocket>(); base 109 base/sync_socket_unittest.cc NormalSendReceivePeek<base::CancelableSyncSocket>(); base 113 base/sync_socket_unittest.cc ClonedSendReceivePeek<base::CancelableSyncSocket>(); base 117 base/sync_socket_unittest.cc base::CancelableSyncSocket socket_a, socket_b; base 118 base/sync_socket_unittest.cc ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&socket_a, &socket_b)); base 120 base/sync_socket_unittest.cc base::TimeTicks start = base::TimeTicks::Now(); base 126 base/sync_socket_unittest.cc ASSERT_LT((base::TimeTicks::Now() - start).InMilliseconds(), base 134 base/sync_socket_win.cc current_time + base::TimeDelta::FromMilliseconds(timeout_in_ms); base 186 base/sync_socket_win.cc current_time = base::TimeTicks::Now(); base 15 base/synchronization/cancellation_flag.cc base::subtle::Release_Store(&flag_, 1); base 19 base/synchronization/cancellation_flag.cc return base::subtle::Acquire_Load(&flag_) != 0; base 12 base/synchronization/cancellation_flag.h namespace base { base 33 base/synchronization/cancellation_flag.h base::subtle::Atomic32 flag_; base 59 base/synchronization/cancellation_flag_unittest.cc t.message_loop()->PostTask(FROM_HERE, base::Bind(&CancelHelper, &flag)); base 78 base/synchronization/condition_variable.h namespace base { base 108 base/synchronization/condition_variable.h base::Lock* user_lock_; // Needed to adjust shadow lock state on wait. base 50 base/synchronization/condition_variable_posix.cc base::ThreadRestrictions::AssertWaitAllowed(); base 62 base/synchronization/condition_variable_posix.cc base::ThreadRestrictions::AssertWaitAllowed(); base 223 base/synchronization/condition_variable_unittest.cc thread.message_loop()->PostTask(FROM_HERE, base::Bind(&BackInTime, &lock)); base 261 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 272 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 298 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 321 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 342 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 363 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 382 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 401 base/synchronization/condition_variable_unittest.cc base::AutoLock private_held_lock(private_lock); base 405 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 415 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 432 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 443 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 460 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 471 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(*queue.lock()); base 520 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(lock_); base 578 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(lock_); base 673 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(lock_); base 684 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(lock_); base 714 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(lock_); base 725 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(lock_); base 748 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(private_lock); base 754 base/synchronization/condition_variable_unittest.cc base::AutoLock auto_lock(lock_); base 83 base/synchronization/condition_variable_win.cc base::Lock& user_lock_; base 98 base/synchronization/condition_variable_win.cc base::ThreadRestrictions::AssertWaitAllowed(); base 191 base/synchronization/condition_variable_win.cc base::Lock internal_lock_; base 194 base/synchronization/condition_variable_win.cc base::Lock& user_lock_; base 245 base/synchronization/condition_variable_win.cc base::ThreadRestrictions::AssertWaitAllowed(); base 12 base/synchronization/lock.h namespace base { base 87 base/synchronization/lock.h base::PlatformThreadId owning_thread_id_; base 19 base/synchronization/lock_impl.h namespace base { base 34 base/synchronization/spin_wait.h SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(base::TimeDelta::FromSeconds(1), \ base 38 base/synchronization/spin_wait.h base::TimeTicks start = base::TimeTicks::Now(); \ base 39 base/synchronization/spin_wait.h const base::TimeDelta kTimeout = delta; \ base 41 base/synchronization/spin_wait.h if (kTimeout < base::TimeTicks::Now() - start) { \ base 42 base/synchronization/spin_wait.h EXPECT_LE((base::TimeTicks::Now() - start).InMilliseconds(), \ base 46 base/synchronization/spin_wait.h base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50)); \ base 22 base/synchronization/waitable_event.h namespace base { base 150 base/synchronization/waitable_event.h base::Lock lock_; base 48 base/synchronization/waitable_event_posix.cc base::AutoLock locked(kernel_->lock_); base 53 base/synchronization/waitable_event_posix.cc base::AutoLock locked(kernel_->lock_); base 70 base/synchronization/waitable_event_posix.cc base::AutoLock locked(kernel_->lock_); base 95 base/synchronization/waitable_event_posix.cc base::AutoLock locked(lock_); base 140 base/synchronization/waitable_event_posix.cc base::Lock* lock() { base 144 base/synchronization/waitable_event_posix.cc base::ConditionVariable* cv() { base 151 base/synchronization/waitable_event_posix.cc base::Lock lock_; base 152 base/synchronization/waitable_event_posix.cc base::ConditionVariable cv_; base 161 base/synchronization/waitable_event_posix.cc base::ThreadRestrictions::AssertWaitAllowed(); base 228 base/synchronization/waitable_event_posix.cc base::ThreadRestrictions::AssertWaitAllowed(); base 19 base/synchronization/waitable_event_watcher.h namespace base { base 104 base/synchronization/waitable_event_watcher.h base::Closure internal_callback_; base 62 base/synchronization/waitable_event_watcher_posix.cc const base::Closure& callback, base 90 base/synchronization/waitable_event_watcher_posix.cc base::Closure callback_; base 150 base/synchronization/waitable_event_watcher_posix.cc base::Bind(&AsyncCallbackHelper, cancel_flag_, callback_, event); base 95 base/synchronization/waitable_event_watcher_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(30)); base 51 base/synchronization/waitable_event_win.cc base::ThreadRestrictions::AssertWaitAllowed(); base 59 base/synchronization/waitable_event_win.cc base::ThreadRestrictions::AssertWaitAllowed(); base 80 base/synchronization/waitable_event_win.cc base::ThreadRestrictions::AssertWaitAllowed(); base 23 base/sys_byteorder.h namespace base { base 17 base/sys_info.h namespace base { base 51 base/sys_info_android.cc int64 ParseSystemPropertyBytes(const base::StringPiece& str) { base 70 base/sys_info_android.cc bool parsed = base::StringToInt64(str.substr(0, length), &result); base 89 base/sys_info_android.cc result = base::SysInfo::AmountOfPhysicalMemoryMB() / 3; base 106 base/sys_info_android.cc result = base::SysInfo::AmountOfPhysicalMemoryMB() / 6; base 10 base/sys_info_internal.h namespace base { base 33 base/sys_info_linux.cc base::ReadFileToString(base::FilePath("/proc/sys/kernel/shmmax"), &contents); base 40 base/sys_info_linux.cc if (!base::StringToInt64(contents, &limit)) { base 51 base/sys_info_linux.cc base::LazyInstance< base 52 base/sys_info_linux.cc base::internal::LazySysInfoValue<int64, AmountOfPhysicalMemory> >::Leaky base 54 base/sys_info_linux.cc base::LazyInstance< base 55 base/sys_info_linux.cc base::internal::LazySysInfoValue<size_t, MaxSharedMemorySize> >::Leaky base 29 base/sys_info_mac.cc return base::StringPrintf("%d.%d.%d", major, minor, bugfix); base 48 base/sys_info_mac.cc base::mac::ScopedMachPort host(mach_host_self()); base 63 base/sys_info_mac.cc base::mac::ScopedMachPort host(mach_host_self()); base 43 base/sys_info_posix.cc base::LazyInstance< base 44 base/sys_info_posix.cc base::internal::LazySysInfoValue<int, NumberOfProcessors> >::Leaky base 60 base/sys_info_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 14 base/sys_info_unittest.cc using base::FilePath; base 19 base/sys_info_unittest.cc EXPECT_GT(base::SysInfo::MaxSharedMemorySize(), 0u); base 25 base/sys_info_unittest.cc EXPECT_GE(base::SysInfo::NumberOfProcessors(), 1); base 30 base/sys_info_unittest.cc EXPECT_GT(base::SysInfo::AmountOfPhysicalMemory(), 0); base 31 base/sys_info_unittest.cc EXPECT_GT(base::SysInfo::AmountOfPhysicalMemoryMB(), 0); base 37 base/sys_info_unittest.cc ASSERT_TRUE(base::GetTempDir(&tmp_path)); base 38 base/sys_info_unittest.cc EXPECT_GT(base::SysInfo::AmountOfFreeDiskSpace(tmp_path), 0) base 47 base/sys_info_unittest.cc base::SysInfo::OperatingSystemVersionNumbers(&os_major_version, base 57 base/sys_info_unittest.cc int64 up_time_1 = base::SysInfo::Uptime(); base 60 base/sys_info_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(20)); base 61 base/sys_info_unittest.cc int64 up_time_2 = base::SysInfo::Uptime(); base 75 base/sys_info_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); base 76 base/sys_info_unittest.cc base::SysInfo::OperatingSystemVersionNumbers(&os_major_version, base 91 base/sys_info_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); base 92 base/sys_info_unittest.cc base::SysInfo::OperatingSystemVersionNumbers(&os_major_version, base 105 base/sys_info_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); base 106 base/sys_info_unittest.cc base::SysInfo::OperatingSystemVersionNumbers(&os_major_version, base 117 base/sys_info_unittest.cc const base::Time lsb_release_time(base::Time::FromDoubleT(12345.6)); base 118 base/sys_info_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, lsb_release_time); base 119 base/sys_info_unittest.cc base::Time parsed_lsb_release_time = base::SysInfo::GetLsbReleaseTime(); base 125 base/sys_info_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest("", base::Time()); base 126 base/sys_info_unittest.cc EXPECT_FALSE(base::SysInfo::IsRunningOnChromeOS()); base 131 base/sys_info_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease1, base::Time()); base 132 base/sys_info_unittest.cc EXPECT_FALSE(base::SysInfo::IsRunningOnChromeOS()); base 137 base/sys_info_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease2, base::Time()); base 138 base/sys_info_unittest.cc EXPECT_TRUE(base::SysInfo::IsRunningOnChromeOS()); base 142 base/sys_info_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease3, base::Time()); base 143 base/sys_info_unittest.cc EXPECT_TRUE(base::SysInfo::IsRunningOnChromeOS()); base 53 base/sys_info_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 14 base/system_monitor/system_monitor.h namespace base { base 18 base/task/cancelable_task_tracker.cc using base::Bind; base 19 base/task/cancelable_task_tracker.cc using base::CancellationFlag; base 20 base/task/cancelable_task_tracker.cc using base::Closure; base 21 base/task/cancelable_task_tracker.cc using base::hash_map; base 22 base/task/cancelable_task_tracker.cc using base::TaskRunner; base 39 base/task/cancelable_task_tracker.cc base::ScopedClosureRunner* cleanup_runner) { base 77 base/task/cancelable_task_tracker.cc return PostTaskAndReply(task_runner, from_here, task, Bind(&base::DoNothing)); base 88 base/task/cancelable_task_tracker.cc DCHECK(base::MessageLoopProxy::current().get()); base 102 base/task/cancelable_task_tracker.cc base::Owned(flag), base 116 base/task/cancelable_task_tracker.cc DCHECK(base::MessageLoopProxy::current().get()); base 130 base/task/cancelable_task_tracker.cc base::ScopedClosureRunner* untrack_and_delete_flag_runner = base 131 base/task/cancelable_task_tracker.cc new base::ScopedClosureRunner(Bind(&RunOrPostToTaskRunner, base 132 base/task/cancelable_task_tracker.cc base::MessageLoopProxy::current(), base 136 base/task/cancelable_task_tracker.cc Bind(&IsCanceled, flag, base::Owned(untrack_and_delete_flag_runner)); base 50 base/task/cancelable_task_tracker.h namespace base { base 61 base/task/cancelable_task_tracker.h typedef base::Callback<bool()> IsCanceledCallback; base 68 base/task/cancelable_task_tracker.h TaskId PostTask(base::TaskRunner* task_runner, base 70 base/task/cancelable_task_tracker.h const base::Closure& task); base 72 base/task/cancelable_task_tracker.h TaskId PostTaskAndReply(base::TaskRunner* task_runner, base 74 base/task/cancelable_task_tracker.h const base::Closure& task, base 75 base/task/cancelable_task_tracker.h const base::Closure& reply); base 106 base/task/cancelable_task_tracker.h void Track(TaskId id, base::CancellationFlag* flag); base 109 base/task/cancelable_task_tracker.h base::hash_map<TaskId, base::CancellationFlag*> task_flags_; base 110 base/task/cancelable_task_tracker.h base::WeakPtrFactory<CancelableTaskTracker> weak_factory_; base 113 base/task/cancelable_task_tracker.h base::ThreadChecker thread_checker_; base 45 base/task_runner.cc return PostDelayedTask(from_here, task, base::TimeDelta()); base 18 base/task_runner.h namespace base { base 76 base/task_runner.h base::TimeDelta delay) = 0; base 14 base/task_runner_util.h namespace base { base 63 base/task_runner_util.h base::Bind(&internal::ReturnAsParamAdapter<TaskReturnType>, task, base 65 base/task_runner_util.h base::Bind(&internal::ReplyAdapter<TaskReturnType, ReplyArgType>, reply, base 66 base/task_runner_util.h base::Owned(result))); base 12 base/template_util.h namespace base { base 5 base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java package org.chromium.base; base 14 base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java import org.chromium.base.CalledByNative; base 5 base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java package org.chromium.base.test.util; base 29 base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java public AdvancedMockContext(Context base) { base 30 base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java super(base); base 5 base/test/android/javatests/src/org/chromium/base/test/util/DisabledTest.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/EnormousTest.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/Feature.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/HostDrivenTest.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/InMemorySharedPreferences.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/InstrumentationUtils.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/Restriction.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/TestThread.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/TimeoutScale.java package org.chromium.base.test.util; base 5 base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java package org.chromium.base.test.util; base 9 base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java import org.chromium.base.PathUtils; base 19 base/test/expectations/expectation.cc bool ResultFromString(const base::StringPiece& result, Result* out_result) { base 75 base/test/expectations/expectation.cc bool PlatformFromString(const base::StringPiece& modifier, base 93 base/test/expectations/expectation.cc base::win::Version version = base::win::GetVersion(); base 94 base/test/expectations/expectation.cc if (version == base::win::VERSION_XP) base 96 base/test/expectations/expectation.cc else if (version == base::win::VERSION_VISTA) base 98 base/test/expectations/expectation.cc else if (version == base::win::VERSION_WIN7) base 100 base/test/expectations/expectation.cc else if (version == base::win::VERSION_WIN8) base 106 base/test/expectations/expectation.cc if (base::mac::IsOSSnowLeopard()) base 108 base/test/expectations/expectation.cc else if (base::mac::IsOSLion()) base 110 base/test/expectations/expectation.cc else if (base::mac::IsOSMountainLion()) base 112 base/test/expectations/expectation.cc else if (base::mac::IsOSMavericks()) base 120 base/test/expectations/expectation.cc std::string arch = base::SysInfo::OperatingSystemArchitecture(); base 131 base/test/expectations/expectation.cc bool ConfigurationFromString(const base::StringPiece& modifier, base 37 base/test/expectations/expectation.h bool ResultFromString(const base::StringPiece& result, base 52 base/test/expectations/expectation.h bool PlatformFromString(const base::StringPiece& modifier, base 67 base/test/expectations/expectation.h bool ConfigurationFromString(const base::StringPiece& modifier, base 170 base/test/expectations/parser.cc extracted_string_ = base::StringPiece(start, pos_ - start); base 130 base/test/expectations/parser.h base::StringPiece extracted_string_; base 23 base/test/gtest_xml_util.cc base::StringAppendV(error, message, args); base 36 base/test/gtest_xml_util.cc base::CloseFile(output_file_); base 90 base/test/gtest_xml_util.cc bool ProcessGTestOutput(const base::FilePath& output_file, base 14 base/test/gtest_xml_util.h namespace base { base 45 base/test/gtest_xml_util.h bool ProcessGTestOutput(const base::FilePath& output_file, base 210 base/test/launcher/test_launcher.cc base::TimeDelta timeout, base 217 base/test/launcher/test_launcher.cc base::FilePath output_file; base 218 base/test/launcher/test_launcher.cc CHECK(base::CreateTemporaryFile(&output_file)); base 247 base/test/launcher/test_launcher.cc base::FileHandleMappingVector fds_mapping; base 248 base/test/launcher/test_launcher.cc base::ScopedFD output_file_fd; base 274 base/test/launcher/test_launcher.cc CHECK(base::ReadFileToString(output_file, &output_file_contents)); base 276 base/test/launcher/test_launcher.cc if (!base::DeleteFile(output_file, false)) { base 395 base/test/launcher/test_launcher.cc base::TimeDelta timeout, base 948 base/test/launcher/test_launcher.cc base::TimeDelta timeout, base 998 base/test/launcher/test_launcher.cc base::TimeDelta timeout, base 1029 base/test/launcher/test_launcher.cc base::ProcessHandle process_handle; base 1037 base/test/launcher/test_launcher.cc if (!base::LaunchProcess(command_line, new_options, &process_handle)) base 1044 base/test/launcher/test_launcher.cc if (!base::WaitForExitCodeWithTimeout(process_handle, base 1051 base/test/launcher/test_launcher.cc base::KillProcess(process_handle, -1, true); base 1066 base/test/launcher/test_launcher.cc base::KillProcessGroup(process_handle); base 1073 base/test/launcher/test_launcher.cc base::CloseProcessHandle(process_handle); base 24 base/test/launcher/test_launcher.h namespace base { base 94 base/test/launcher/test_launcher.h base::TimeDelta timeout, base 193 base/test/launcher/test_launcher.h base::TimeDelta timeout, base 206 base/test/launcher/test_launcher.h base::TimeDelta timeout, base 12 base/test/launcher/test_result.h namespace base { base 53 base/test/launcher/test_result.h base::TimeDelta elapsed_time; base 142 base/test/launcher/test_results_tracker.cc if (!base::CreateDirectory(dir_name)) { base 17 base/test/launcher/test_results_tracker.h namespace base { base 93 base/test/launcher/unit_test_launcher.cc const base::FilePath& output_file) { base 171 base/test/launcher/unit_test_launcher.cc base::FilePath output_file; base 205 base/test/launcher/unit_test_launcher.cc base::FilePath output_file; base 218 base/test/launcher/unit_test_launcher.cc base::TimeDelta timeout = base 301 base/test/launcher/unit_test_launcher.cc const base::FilePath& output_file, base 471 base/test/launcher/unit_test_launcher.cc if (base::debug::BeingDebugged()) { base 503 base/test/launcher/unit_test_launcher.cc base::TimeTicks start_time(base::TimeTicks::Now()); base 522 base/test/launcher/unit_test_launcher.cc base::TestLauncher launcher(&delegate, default_jobs); base 527 base/test/launcher/unit_test_launcher.cc (base::TimeTicks::Now() - start_time).InSeconds()); base 10 base/test/launcher/unit_test_launcher.h namespace base { base 13 base/test/launcher/unit_test_launcher.h typedef base::Callback<int(void)> RunTestSuiteCallback; base 13 base/test/mock_devices_changed_observer.h namespace base { base 16 base/test/mock_devices_changed_observer.h : public base::SystemMonitor::DevicesChangedObserver { base 22 base/test/mock_devices_changed_observer.h void(base::SystemMonitor::DeviceType device_type)); base 51 base/test/mock_time_provider.h namespace base { base 16 base/test/multiprocess_test.h namespace base { base 48 base/test/multiprocess_test_android.cc int base = GlobalDescriptors::kBaseDescriptor; base 49 base/test/multiprocess_test_android.cc for (int fd = base; fd < getdtablesize(); ++fd) { base 15 base/test/null_task_runner.cc const base::Closure& task, base 16 base/test/null_task_runner.cc base::TimeDelta delay) { base 22 base/test/null_task_runner.cc const base::Closure& task, base 23 base/test/null_task_runner.cc base::TimeDelta delay) { base 9 base/test/null_task_runner.h namespace base { base 14 base/test/null_task_runner.h class NullTaskRunner : public base::SingleThreadTaskRunner { base 19 base/test/null_task_runner.h const base::Closure& task, base 20 base/test/null_task_runner.h base::TimeDelta delay) OVERRIDE; base 23 base/test/null_task_runner.h const base::Closure& task, base 24 base/test/null_task_runner.h base::TimeDelta delay) OVERRIDE; base 31 base/test/perf_log.cc base::CloseFile(perf_log_file); base 8 base/test/perf_log.h namespace base { base 29 base/test/perf_test_suite.cc base::FilePath tmp_dir; base 30 base/test/perf_test_suite.cc PathService::Get(base::DIR_CACHE, &tmp_dir); base 10 base/test/perf_test_suite.h namespace base { base 13 base/test/perf_time_logger.h namespace base { base 12 base/test/power_monitor_test_base.h namespace base { base 8 base/test/run_all_perftests.cc return base::PerfTestSuite(argc, argv).Run(); base 17 base/test/run_all_unittests.cc class NoAtExitBaseTestSuite : public base::TestSuite { base 20 base/test/run_all_unittests.cc : base::TestSuite(argc, argv, false) { base 32 base/test/run_all_unittests.cc JNIEnv* env = base::android::AttachCurrentThread(); base 35 base/test/run_all_unittests.cc base::AtExitManager at_exit; base 37 base/test/run_all_unittests.cc return base::LaunchUnitTests(argc, base 39 base/test/run_all_unittests.cc base::Bind(&RunTestSuite, argc, argv)); base 12 base/test/scoped_locale.h namespace base { base 19 base/test/scoped_path_override.cc ScopedPathOverride::ScopedPathOverride(int key, const base::FilePath& dir) base 11 base/test/scoped_path_override.h namespace base { base 26 base/test/sequenced_task_runner_test_template.h namespace base { base 288 base/test/sequenced_task_runner_test_template.h task_runner, base::Bind(&PlatformThread::Sleep, base 310 base/test/sequenced_task_runner_test_template.h task_runner, base::Bind(&PlatformThread::Sleep, base 18 base/test/sequenced_worker_pool_owner.h namespace base { base 13 base/test/simple_test_clock.h namespace base { base 13 base/test/simple_test_tick_clock.h namespace base { base 14 base/test/statistics_delta_reader.h namespace base { base 64 base/test/task_runner_test_template.h namespace base { base 149 base/test/task_runner_test_template.h FROM_HERE, ith_task, base::TimeDelta::FromMilliseconds(j)); base 20 base/test/test_file_util.h namespace base { base 58 base/test/test_file_util.h std::wstring FilePathAsWString(const base::FilePath& path); base 59 base/test/test_file_util.h base::FilePath WStringAsFilePath(const std::wstring& path); base 63 base/test/test_file_util.h bool MakeFileUnreadable(const base::FilePath& path) WARN_UNUSED_RESULT; base 64 base/test/test_file_util.h bool MakeFileUnwritable(const base::FilePath& path) WARN_UNUSED_RESULT; base 72 base/test/test_file_util.h base::FilePath InsertImageIntoMediaStore(const base::FilePath& path); base 78 base/test/test_file_util.h explicit PermissionRestorer(const base::FilePath& path); base 82 base/test/test_file_util.h const base::FilePath path_; base 18 base/test/test_file_util_android.cc base::FilePath InsertImageIntoMediaStore(const base::FilePath& path) { base 19 base/test/test_file_util_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 21 base/test/test_file_util_android.cc base::android::ConvertUTF8ToJavaString(env, path.value()); base 24 base/test/test_file_util_android.cc env, base::android::GetApplicationContext(), j_path.obj()); base 25 base/test/test_file_util_android.cc std::string uri = base::android::ConvertJavaStringToUTF8(j_uri); base 26 base/test/test_file_util_android.cc return base::FilePath(uri); base 20 base/test/test_file_util_posix.cc using base::MakeAbsoluteFilePath; base 94 base/test/test_file_util_posix.cc using base::DenyFilePermission; base 95 base/test/test_file_util_posix.cc using base::GetPermissionInfo; base 96 base/test/test_file_util_posix.cc using base::RestorePermissionInfo; base 98 base/test/test_file_util_posix.cc std::wstring FilePathAsWString(const base::FilePath& path) { base 99 base/test/test_file_util_posix.cc return base::UTF8ToWide(path.value()); base 101 base/test/test_file_util_posix.cc base::FilePath WStringAsFilePath(const std::wstring& path) { base 102 base/test/test_file_util_posix.cc return base::FilePath(base::WideToUTF8(path)); base 105 base/test/test_file_util_posix.cc bool MakeFileUnreadable(const base::FilePath& path) { base 109 base/test/test_file_util_posix.cc bool MakeFileUnwritable(const base::FilePath& path) { base 113 base/test/test_file_util_posix.cc PermissionRestorer::PermissionRestorer(const base::FilePath& path) base 136 base/test/test_file_util_win.cc base::win::ScopedHandle file_handle( base 266 base/test/test_file_util_win.cc using base::DenyFilePermission; base 267 base/test/test_file_util_win.cc using base::GetPermissionInfo; base 268 base/test/test_file_util_win.cc using base::RestorePermissionInfo; base 270 base/test/test_file_util_win.cc std::wstring FilePathAsWString(const base::FilePath& path) { base 273 base/test/test_file_util_win.cc base::FilePath WStringAsFilePath(const std::wstring& path) { base 274 base/test/test_file_util_win.cc return base::FilePath(path); base 277 base/test/test_file_util_win.cc bool MakeFileUnreadable(const base::FilePath& path) { base 281 base/test/test_file_util_win.cc bool MakeFileUnwritable(const base::FilePath& path) { base 285 base/test/test_file_util_win.cc PermissionRestorer::PermissionRestorer(const base::FilePath& path) base 8 base/test/test_listener_ios.h namespace base { base 12 base/test/test_pending_task.h namespace base { base 41 base/test/test_process_killer_win.cc bool GetCommandLineForProcess(uint32 process_id, base::string16* cmd_line) { base 46 base/test/test_process_killer_win.cc base::win::ScopedHandle process_handle(::OpenProcess( base 96 base/test/test_process_killer_win.cc base::string16 buffer; base 131 base/test/test_process_killer_win.cc class ArgumentFilter : public base::ProcessFilter { base 133 base/test/test_process_killer_win.cc explicit ArgumentFilter(const base::string16& argument) base 138 base/test/test_process_killer_win.cc virtual bool Includes(const base::ProcessEntry& entry) const { base 140 base/test/test_process_killer_win.cc base::string16 command_line; base 142 base/test/test_process_killer_win.cc base::string16::const_iterator it = base 147 base/test/test_process_killer_win.cc base::CaseInsensitiveCompareASCII<wchar_t>()); base 154 base/test/test_process_killer_win.cc base::string16 argument_to_find_; base 164 base/test/test_process_killer_win.cc return base::KillProcesses(process_name, 0, &argument_filter); base 10 base/test/test_process_killer_win.h namespace base { base 21 base/test/test_reg_util_win.cc void DeleteStaleTestKeys(const base::Time& now, base 22 base/test/test_reg_util_win.cc const base::string16& test_key_root) { base 23 base/test/test_reg_util_win.cc base::win::RegKey test_root_key; base 31 base/test/test_reg_util_win.cc base::win::RegistryKeyIterator iterator_test_root_key(HKEY_CURRENT_USER, base 34 base/test/test_reg_util_win.cc base::string16 key_name = iterator_test_root_key.Name(); base 35 base/test/test_reg_util_win.cc std::vector<base::string16> tokens; base 36 base/test/test_reg_util_win.cc Tokenize(key_name, base::string16(kTimestampDelimiter), &tokens); base 39 base/test/test_reg_util_win.cc if (!base::StringToInt64(tokens[0], &key_name_as_number)) { base 44 base/test/test_reg_util_win.cc base::Time key_time = base::Time::FromInternalValue(key_name_as_number); base 45 base/test/test_reg_util_win.cc base::TimeDelta age = now - key_time; base 47 base/test/test_reg_util_win.cc if (age > base::TimeDelta::FromHours(24)) base 52 base/test/test_reg_util_win.cc base::string16 GenerateTempKeyPath(const base::string16& test_key_root, base 53 base/test/test_reg_util_win.cc const base::Time& timestamp) { base 54 base/test/test_reg_util_win.cc base::string16 key_path = test_key_root; base 55 base/test/test_reg_util_win.cc key_path += L"\\" + base::Int64ToString16(timestamp.ToInternalValue()); base 56 base/test/test_reg_util_win.cc key_path += kTimestampDelimiter + base::ASCIIToWide(base::GenerateGUID()); base 65 base/test/test_reg_util_win.cc const base::string16& key_path) base 81 base/test/test_reg_util_win.cc : timestamp_(base::Time::Now()), test_key_root_(kTempTestKeyPath) { base 86 base/test/test_reg_util_win.cc const base::Time& timestamp, base 87 base/test/test_reg_util_win.cc const base::string16& test_key_root) base 96 base/test/test_reg_util_win.cc const base::string16& /*override_name*/) { base 97 base/test/test_reg_util_win.cc base::string16 key_path = GenerateTempKeyPath(test_key_root_, timestamp_); base 101 base/test/test_reg_util_win.cc base::string16 GenerateTempKeyPath() { base 102 base/test/test_reg_util_win.cc return GenerateTempKeyPath(base::string16(kTempTestKeyPath), base 103 base/test/test_reg_util_win.cc base::Time::Now()); base 41 base/test/test_reg_util_win.h void OverrideRegistry(HKEY override, const base::string16& override_name); base 49 base/test/test_reg_util_win.h ScopedRegistryKeyOverride(HKEY override, const base::string16& key_path); base 54 base/test/test_reg_util_win.h base::win::RegKey temp_key_; base 60 base/test/test_reg_util_win.h RegistryOverrideManager(const base::Time& timestamp, base 61 base/test/test_reg_util_win.h const base::string16& test_key_root); base 63 base/test/test_reg_util_win.h base::Time timestamp_; base 64 base/test/test_reg_util_win.h base::string16 guid_; base 66 base/test/test_reg_util_win.h base::string16 test_key_root_; base 74 base/test/test_reg_util_win.h base::string16 GenerateTempKeyPath(); base 30 base/test/test_reg_util_win_unittest.cc base::win::RegKey key(HKEY_CURRENT_USER); base 36 base/test/test_reg_util_win_unittest.cc base::win::RegKey key(HKEY_CURRENT_USER); base 40 base/test/test_reg_util_win_unittest.cc void AssertKeyExists(const base::string16& key_path) { base 41 base/test/test_reg_util_win_unittest.cc base::win::RegKey key; base 47 base/test/test_reg_util_win_unittest.cc void AssertKeyAbsent(const base::string16& key_path) { base 48 base/test/test_reg_util_win_unittest.cc base::win::RegKey key; base 54 base/test/test_reg_util_win_unittest.cc void CreateKey(const base::string16& key_path) { base 55 base/test/test_reg_util_win_unittest.cc base::win::RegKey key; base 60 base/test/test_reg_util_win_unittest.cc base::string16 FakeOverrideManagerPath(const base::Time& time) { base 62 base/test/test_reg_util_win_unittest.cc base::Int64ToString16(time.ToInternalValue()); base 65 base/test/test_reg_util_win_unittest.cc void CreateManager(const base::Time& timestamp) { base 70 base/test/test_reg_util_win_unittest.cc base::string16 fake_test_key_root_; base 75 base/test/test_reg_util_win_unittest.cc CreateManager(base::Time::Now()); base 77 base/test/test_reg_util_win_unittest.cc base::win::RegKey create_key; base 87 base/test/test_reg_util_win_unittest.cc base::win::RegKey read_key; base 101 base/test/test_reg_util_win_unittest.cc base::Time::Exploded kTestTimeExploded = {2013, 11, 1, 4, 0, 0, 0, 0}; base 102 base/test/test_reg_util_win_unittest.cc base::Time kTestTime = base::Time::FromUTCExploded(kTestTimeExploded); base 104 base/test/test_reg_util_win_unittest.cc base::string16 path_garbage = fake_test_key_root_ + L"\\Blah"; base 105 base/test/test_reg_util_win_unittest.cc base::string16 path_very_stale = base 106 base/test/test_reg_util_win_unittest.cc FakeOverrideManagerPath(kTestTime - base::TimeDelta::FromDays(100)); base 107 base/test/test_reg_util_win_unittest.cc base::string16 path_stale = base 108 base/test/test_reg_util_win_unittest.cc FakeOverrideManagerPath(kTestTime - base::TimeDelta::FromDays(5)); base 109 base/test/test_reg_util_win_unittest.cc base::string16 path_current = base 110 base/test/test_reg_util_win_unittest.cc FakeOverrideManagerPath(kTestTime - base::TimeDelta::FromMinutes(1)); base 111 base/test/test_reg_util_win_unittest.cc base::string16 path_future = base 112 base/test/test_reg_util_win_unittest.cc FakeOverrideManagerPath(kTestTime + base::TimeDelta::FromMinutes(1)); base 22 base/test/test_shortcut_win.cc void ValidatePathsAreEqual(const base::FilePath& expected_path, base 23 base/test/test_shortcut_win.cc const base::FilePath& actual_path) { base 42 base/test/test_shortcut_win.cc base::FilePath long_expected_path(long_expected_path_chars); base 43 base/test/test_shortcut_win.cc base::FilePath long_actual_path(long_actual_path_chars); base 50 base/test/test_shortcut_win.cc void ValidateShortcut(const base::FilePath& shortcut_path, base 84 base/test/test_shortcut_win.cc ValidatePathsAreEqual(properties.target, base::FilePath(read_target)); base 91 base/test/test_shortcut_win.cc base::FilePath(read_working_dir)); base 109 base/test/test_shortcut_win.cc ValidatePathsAreEqual(properties.icon, base::FilePath(read_icon)); base 13 base/test/test_shortcut_win.h namespace base { base 18 base/test/test_shortcut_win.h void ValidatePathsAreEqual(const base::FilePath& expected_path, base 19 base/test/test_shortcut_win.h const base::FilePath& actual_path); base 55 base/test/test_simple_task_runner.cc base::TimeDelta TestSimpleTaskRunner::NextPendingTaskDelay() const { base 57 base/test/test_simple_task_runner.cc return pending_tasks_.front().GetTimeToRun() - base::TimeTicks(); base 16 base/test/test_simple_task_runner.h namespace base { base 62 base/test/test_simple_task_runner.h base::TimeDelta NextPendingTaskDelay() const; base 91 base/test/test_suite.cc return base::LaunchUnitTests( base 115 base/test/test_suite.cc base::TimeTicks::SetNowIsHighResNowIfSupported(); base 117 base/test/test_suite.cc base::EnableTerminationOnHeapCorruption(); base 134 base/test/test_suite.cc at_exit_manager_.reset(new base::AtExitManager); base 199 base/test/test_suite.cc base::mac::ScopedNSAutoreleasePool scoped_pool; base 211 base/test/test_suite.cc base::test_listener_ios::RegisterTestEndListener(); base 283 base/test/test_suite.cc base::FilePath exe; base 284 base/test/test_suite.cc PathService::Get(base::FILE_EXE, &exe); base 285 base/test/test_suite.cc base::FilePath log_filename = exe.ReplaceExtension(FILE_PATH_LITERAL("log")); base 296 base/test/test_suite.cc CHECK(base::debug::EnableInProcessStackDumping()); base 300 base/test/test_suite.cc base::Time::EnableHighResolutionTimer(true); base 304 base/test/test_suite.cc if (!base::debug::BeingDebugged() && base 307 base/test/test_suite.cc base::debug::SetSuppressDebugUI(true); base 311 base/test/test_suite.cc base::i18n::InitializeICU(); base 21 base/test/test_suite.h namespace base { base 69 base/test/test_suite.h scoped_ptr<base::AtExitManager> at_exit_manager_; base 84 base/test/test_suite.h using base::TestSuite; base 20 base/test/test_support_android.cc RunState(base::MessagePump::Delegate* delegate, int run_depth) base 26 base/test/test_support_android.cc base::MessagePump::Delegate* delegate; base 68 base/test/test_support_android.cc base::WaitableEvent waitable_event_; base 74 base/test/test_support_android.cc class MessagePumpForUIStub : public base::MessagePumpForUI { base 77 base/test/test_support_android.cc virtual void Start(base::MessagePump::Delegate* delegate) OVERRIDE { base 82 base/test/test_support_android.cc virtual void Run(base::MessagePump::Delegate* delegate) OVERRIDE { base 103 base/test/test_support_android.cc base::TimeTicks delayed_work_time; base 131 base/test/test_support_android.cc const base::TimeTicks& delayed_work_time) OVERRIDE { base 136 base/test/test_support_android.cc scoped_ptr<base::MessagePump> CreateMessagePumpForUIStub() { base 137 base/test/test_support_android.cc return scoped_ptr<base::MessagePump>(new MessagePumpForUIStub()); base 141 base/test/test_support_android.cc bool GetTestProviderPath(int key, base::FilePath* result) { base 143 base/test/test_support_android.cc case base::DIR_MODULE: { base 144 base/test/test_support_android.cc return base::android::GetExternalStorageDirectory(result); base 146 base/test/test_support_android.cc case base::DIR_ANDROID_APP_DATA: { base 148 base/test/test_support_android.cc return base::android::GetExternalStorageDirectory(result); base 156 base/test/test_support_android.cc base::FilePath path; base 10 base/test/test_support_android.h namespace base { base 10 base/test/test_support_ios.h namespace base { base 39 base/test/test_timeouts.cc base::StringToInt(string_value, &timeout); base 81 base/test/test_timeouts.cc if (base::debug::BeingDebugged()) { base 90 base/test/test_timeouts.cc base::debug::BeingDebugged() ? kAlmostInfiniteTimeoutMs base 21 base/test/test_timeouts.h static base::TimeDelta tiny_timeout() { base 23 base/test/test_timeouts.h return base::TimeDelta::FromMilliseconds(tiny_timeout_ms_); base 28 base/test/test_timeouts.h static base::TimeDelta action_timeout() { base 30 base/test/test_timeouts.h return base::TimeDelta::FromMilliseconds(action_timeout_ms_); base 36 base/test/test_timeouts.h static base::TimeDelta action_max_timeout() { base 38 base/test/test_timeouts.h return base::TimeDelta::FromMilliseconds(action_max_timeout_ms_); base 42 base/test/test_timeouts.h static base::TimeDelta large_test_timeout() { base 44 base/test/test_timeouts.h return base::TimeDelta::FromMilliseconds(large_test_timeout_ms_); base 49 base/test/test_timeouts.h static base::TimeDelta test_launcher_timeout() { base 51 base/test/test_timeouts.h return base::TimeDelta::FromMilliseconds(test_launcher_timeout_ms_); base 21 base/test/thread_test_helper.cc FROM_HERE, base::Bind(&ThreadTestHelper::RunInThread, this))) { base 24 base/test/thread_test_helper.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 13 base/test/thread_test_helper.h namespace base { base 30 base/test/trace_event_analyzer.cc bool TraceEvent::SetFromJSON(const base::Value* event_value) { base 31 base/test/trace_event_analyzer.cc if (event_value->GetType() != base::Value::TYPE_DICTIONARY) { base 35 base/test/trace_event_analyzer.cc const base::DictionaryValue* dictionary = base 36 base/test/trace_event_analyzer.cc static_cast<const base::DictionaryValue*>(event_value); base 39 base/test/trace_event_analyzer.cc const base::DictionaryValue* args = NULL; base 88 base/test/trace_event_analyzer.cc for (base::DictionaryValue::Iterator it(*args); !it.IsAtEnd(); base 647 base/test/trace_event_analyzer.cc scoped_ptr<base::Value> root; base 648 base/test/trace_event_analyzer.cc root.reset(base::JSONReader::Read(json)); base 650 base/test/trace_event_analyzer.cc base::ListValue* root_list = NULL; base 655 base/test/trace_event_analyzer.cc base::Value* item = NULL; base 84 base/test/trace_event_analyzer.h namespace base { base 111 base/test/trace_event_analyzer.h bool SetFromJSON(const base::Value* event_value) WARN_UNUSED_RESULT; base 544 base/test/trace_event_analyzer.h class QueryNode : public base::RefCounted<QueryNode> { base 550 base/test/trace_event_analyzer.h friend class base::RefCounted<QueryNode>; base 20 base/test/trace_event_analyzer_unittest.cc base::WaitableEvent* flush_complete_event, base 21 base/test/trace_event_analyzer_unittest.cc const scoped_refptr<base::RefCountedString>& json_events_str, base 26 base/test/trace_event_analyzer_unittest.cc base::debug::TraceResultBuffer::SimpleOutput output_; base 27 base/test/trace_event_analyzer_unittest.cc base::debug::TraceResultBuffer buffer_; base 31 base/test/trace_event_analyzer_unittest.cc ASSERT_TRUE(base::debug::TraceLog::GetInstance()); base 37 base/test/trace_event_analyzer_unittest.cc base::WaitableEvent* flush_complete_event, base 38 base/test/trace_event_analyzer_unittest.cc const scoped_refptr<base::RefCountedString>& json_events_str, base 48 base/test/trace_event_analyzer_unittest.cc base::debug::TraceLog::GetInstance()->SetEnabled( base 49 base/test/trace_event_analyzer_unittest.cc base::debug::CategoryFilter("*"), base 50 base/test/trace_event_analyzer_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 51 base/test/trace_event_analyzer_unittest.cc base::debug::TraceLog::RECORD_UNTIL_FULL); base 55 base/test/trace_event_analyzer_unittest.cc base::debug::TraceLog::GetInstance()->SetDisabled(); base 56 base/test/trace_event_analyzer_unittest.cc base::WaitableEvent flush_complete_event(false, false); base 57 base/test/trace_event_analyzer_unittest.cc base::debug::TraceLog::GetInstance()->Flush( base 58 base/test/trace_event_analyzer_unittest.cc base::Bind(&TraceEventAnalyzerTest::OnTraceDataCollected, base 59 base/test/trace_event_analyzer_unittest.cc base::Unretained(this), base 60 base/test/trace_event_analyzer_unittest.cc base::Unretained(&flush_complete_event))); base 397 base/test/trace_event_analyzer_unittest.cc const base::TimeDelta kSleepTime = base::TimeDelta::FromMilliseconds(200); base 410 base/test/trace_event_analyzer_unittest.cc base::debug::HighResSleepForTraceTest(kSleepTime); base 442 base/test/trace_event_analyzer_unittest.cc const base::TimeDelta kSleepTime = base::TimeDelta::FromMilliseconds(200); base 455 base/test/trace_event_analyzer_unittest.cc base::debug::HighResSleepForTraceTest(kSleepTime); base 65 base/test/values_test_util.cc scoped_ptr<Value> ParseJson(base::StringPiece json) { base 67 base/test/values_test_util.cc scoped_ptr<Value> result(base::JSONReader::ReadAndReturnError( base 68 base/test/values_test_util.cc json, base::JSON_ALLOW_TRAILING_COMMAS, base 13 base/test/values_test_util.h namespace base { base 51 base/test/values_test_util.h scoped_ptr<Value> ParseJson(base::StringPiece json); base 13 base/third_party/dmg_fp/dtoa_wrapper.cc static base::LazyInstance<base::Lock>::Leaky base 15 base/third_party/dmg_fp/dtoa_wrapper.cc static base::LazyInstance<base::Lock>::Leaky base 36 base/third_party/dmg_fp/dtoa_wrapper.cc base::Lock* lock = n == 0 ? dtoa_lock_0.Pointer() : dtoa_lock_1.Pointer(); base 42 base/third_party/dmg_fp/dtoa_wrapper.cc base::Lock* lock = n == 0 ? dtoa_lock_0.Pointer() : dtoa_lock_1.Pointer(); base 637 base/third_party/symbolize/symbolize.cc char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) { base 643 base/third_party/symbolize/symbolize.cc if (base < 2 || base > 16) { base 653 base/third_party/symbolize/symbolize.cc if (i < 0 && base == 10) { base 675 base/third_party/symbolize/symbolize.cc *ptr++ = "0123456789abcdef"[j % base]; base 676 base/third_party/symbolize/symbolize.cc j /= base; base 761 base/third_party/xdg_mime/xdgmime.c const char *base) base 767 base/third_party/xdg_mime/xdgmime.c return _xdg_mime_cache_mime_type_subclass (mime, base); base 770 base/third_party/xdg_mime/xdgmime.c ubase = _xdg_mime_unalias_mime_type (base); base 802 base/third_party/xdg_mime/xdgmime.c const char *base) base 806 base/third_party/xdg_mime/xdgmime.c return _xdg_mime_mime_type_subclass (mime, base); base 126 base/third_party/xdg_mime/xdgmime.h const char *base); base 836 base/third_party/xdg_mime/xdgmimecache.c const char *base) base 843 base/third_party/xdg_mime/xdgmimecache.c ubase = _xdg_mime_cache_unalias_mime_type (base); base 15 base/thread_task_runner_handle.cc base::LazyInstance<base::ThreadLocalPointer<ThreadTaskRunnerHandle> > base 11 base/thread_task_runner_handle.h namespace base { base 23 base/threading/non_thread_safe.h namespace base { base 11 base/threading/non_thread_safe_impl.h namespace base { base 24 base/threading/platform_thread.h namespace base { base 111 base/threading/platform_thread.h static void Sleep(base::TimeDelta duration); base 63 base/threading/platform_thread_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 107 base/threading/platform_thread_android.cc base::android::DetachFromVM(); base 58 base/threading/platform_thread_posix.cc base::InitOnThread(); base 63 base/threading/platform_thread_posix.cc base::ThreadRestrictions::SetSingletonAllowed(false); base 86 base/threading/platform_thread_posix.cc base::TerminateOnThread(); base 94 base/threading/platform_thread_posix.cc base::InitThreading(); base 108 base/threading/platform_thread_posix.cc stack_size = base::GetDefaultThreadStackSize(attributes); base 198 base/threading/platform_thread_posix.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 207 base/threading/platform_thread_posix.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 216 base/threading/platform_thread_posix.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 227 base/threading/platform_thread_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 55 base/threading/platform_thread_win.cc base::ThreadRestrictions::SetSingletonAllowed(false); base 96 base/threading/platform_thread_win.cc if (stack_size > 0 && base::win::GetVersion() >= base::win::VERSION_XP) { base 170 base/threading/platform_thread_win.cc if (!::IsDebuggerPresent() && !base::debug::IsBinaryInstrumented()) base 212 base/threading/platform_thread_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 46 base/threading/post_task_and_reply_impl.cc base::Unretained(this))); base 14 base/threading/post_task_and_reply_impl.h namespace base { base 53 base/threading/sequenced_worker_pool.cc : base::TrackingInfo(from_here, TimeTicks()), base 221 base/threading/sequenced_worker_pool.cc base::LazyInstance<base::ThreadLocalPointer< base 398 base/threading/sequenced_worker_pool.cc static base::StaticAtomicSequenceNumber g_last_sequence_number_; base 575 base/threading/sequenced_worker_pool.cc base::MakeCriticalClosure(task) : task; base 640 base/threading/sequenced_worker_pool.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 690 base/threading/sequenced_worker_pool.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 718 base/threading/sequenced_worker_pool.cc base::mac::ScopedNSAutoreleasePool autorelease_pool; base 1121 base/threading/sequenced_worker_pool.cc base::StaticAtomicSequenceNumber base 22 base/threading/sequenced_worker_pool.h namespace base { base 46 base/threading/sequenced_worker_pool_unittest.cc base::AutoLock lock(lock_); base 56 base/threading/sequenced_worker_pool_unittest.cc base::AutoLock lock(lock_); base 64 base/threading/sequenced_worker_pool_unittest.cc base::Lock lock_; base 65 base/threading/sequenced_worker_pool_unittest.cc base::ConditionVariable cond_var_; base 70 base/threading/sequenced_worker_pool_unittest.cc class TestTracker : public base::RefCountedThreadSafe<TestTracker> { base 85 base/threading/sequenced_worker_pool_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); base 93 base/threading/sequenced_worker_pool_unittest.cc base::AutoLock lock(lock_); base 105 base/threading/sequenced_worker_pool_unittest.cc Closure fast_task = base::Bind(&TestTracker::FastTask, this, 100); base 123 base/threading/sequenced_worker_pool_unittest.cc base::AutoLock lock(lock_); base 135 base/threading/sequenced_worker_pool_unittest.cc base::AutoLock lock(lock_); base 145 base/threading/sequenced_worker_pool_unittest.cc base::AutoLock lock(lock_); base 150 base/threading/sequenced_worker_pool_unittest.cc base::AutoLock lock(lock_); base 161 base/threading/sequenced_worker_pool_unittest.cc base::AutoLock lock(lock_); base 168 base/threading/sequenced_worker_pool_unittest.cc base::Lock lock_; base 170 base/threading/sequenced_worker_pool_unittest.cc base::ConditionVariable cond_var_; base 229 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, base 267 base/threading/sequenced_worker_pool_unittest.cc class DeletionHelper : public base::RefCountedThreadSafe<DeletionHelper> { base 270 base/threading/sequenced_worker_pool_unittest.cc const scoped_refptr<base::RefCountedData<bool> >& deleted_flag) base 278 base/threading/sequenced_worker_pool_unittest.cc const scoped_refptr<base::RefCountedData<bool> > deleted_flag_; base 282 base/threading/sequenced_worker_pool_unittest.cc void HoldPoolReference(const scoped_refptr<base::SequencedWorkerPool>& pool, base 291 base/threading/sequenced_worker_pool_unittest.cc FROM_HERE, base::Bind(&TestTracker::FastTask, tracker(), 1))); base 293 base/threading/sequenced_worker_pool_unittest.cc scoped_refptr<base::RefCountedData<bool> > deleted_flag( base 294 base/threading/sequenced_worker_pool_unittest.cc new base::RefCountedData<bool>(false)); base 296 base/threading/sequenced_worker_pool_unittest.cc base::Time posted_at(base::Time::Now()); base 300 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&HoldPoolReference, base 315 base/threading/sequenced_worker_pool_unittest.cc ASSERT_LT(base::Time::Now() - posted_at, TestTimeouts::action_timeout()); base 353 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::SlowTask, tracker(), 0)); base 358 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), i)); base 373 base/threading/sequenced_worker_pool_unittest.cc base::Closure slow_task = base::Bind(&TestTracker::SlowTask, tracker(), 0); base 379 base/threading/sequenced_worker_pool_unittest.cc base::Closure fast_task = base 380 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), i); base 401 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, base 414 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, tracker(), 100, &blocker)); base 417 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 101)); base 425 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 200)); base 428 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 201)); base 462 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, base 468 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&EnsureTasksToCompleteCountAndUnblock, base 491 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 100), base 495 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 101), base 499 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 102), base 516 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, tracker(), i, &blocker))); base 527 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::PostAdditionalTasks, tracker(), i, pool(), base 534 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&EnsureTasksToCompleteCountAndUnblock, base 558 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, base 566 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 100), base 570 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 101), base 574 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 102), base 579 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&EnsureTasksToCompleteCountAndUnblock, base 609 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, base 614 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, base 618 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, base 631 base/threading/sequenced_worker_pool_unittest.cc FROM_HERE, base::Bind(&TestTracker::FastTask, tracker(), 0), base 634 base/threading/sequenced_worker_pool_unittest.cc FROM_HERE, base::Bind(&TestTracker::FastTask, tracker(), 0))); base 636 base/threading/sequenced_worker_pool_unittest.cc FROM_HERE, base::Bind(&TestTracker::FastTask, tracker(), 0))); base 656 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, tracker(), i, &blocker), base 665 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::BlockTask, base 672 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&EnsureTasksToCompleteCountAndUnblock, base 704 base/threading/sequenced_worker_pool_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 744 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&IsRunningOnCurrentThreadTask, base 748 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&IsRunningOnCurrentThreadTask, base 752 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&IsRunningOnCurrentThreadTask, base 767 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 0), base 770 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::SlowTask, tracker(), 0)); base 774 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::FastTask, tracker(), 0)); base 778 base/threading/sequenced_worker_pool_unittest.cc base::Bind(&TestTracker::PostAdditionalTasks, tracker(), 0, pool(), base 805 base/threading/sequenced_worker_pool_unittest.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 34 base/threading/simple_thread.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 46 base/threading/simple_thread.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 54 base/threading/simple_thread.h namespace base { base 184 base/threading/simple_thread.h base::Lock lock_; // Locks delegates_ base 27 base/threading/thread.cc base::LazyInstance<base::ThreadLocalBoolean> lazy_tls_bool = base 113 base/threading/thread.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 157 base/threading/thread.cc message_loop_->PostTask(FROM_HERE, base::Bind(&ThreadQuitHelper)); base 17 base/threading/thread.h namespace base { base 25 base/threading/thread_checker.h namespace base { base 12 base/threading/thread_checker_impl.h namespace base { base 35 base/threading/thread_checker_impl.h mutable base::Lock lock_; base 48 base/threading/thread_checker_unittest.cc class CallDoStuffOnThread : public base::SimpleThread { base 66 base/threading/thread_checker_unittest.cc class DeleteThreadCheckerClassOnThread : public base::SimpleThread { base 107 base/threading/thread_collision_warner.h mutable base::ThreadCollisionWarner obj base 111 base/threading/thread_collision_warner.h base::ThreadCollisionWarner::ScopedCheck s_check_##obj(&obj) base 115 base/threading/thread_collision_warner.h base::ThreadCollisionWarner::ScopedRecursiveCheck sr_check_##obj(&obj) base 118 base/threading/thread_collision_warner.h base::ThreadCollisionWarner::Check check_##obj(&obj) base 129 base/threading/thread_collision_warner.h namespace base { base 21 base/threading/thread_collision_warner_unittest.cc #define DFAKE_MUTEX(obj) scoped_ptr<base::AsserterBase> obj base 39 base/threading/thread_collision_warner_unittest.cc class AssertReporter : public base::AsserterBase { base 62 base/threading/thread_collision_warner_unittest.cc base::ThreadCollisionWarner warner(local_reporter); base 78 base/threading/thread_collision_warner_unittest.cc base::ThreadCollisionWarner warner(local_reporter); base 100 base/threading/thread_collision_warner_unittest.cc base::ThreadCollisionWarner warner(local_reporter); base 130 base/threading/thread_collision_warner_unittest.cc explicit NonThreadSafeQueue(base::AsserterBase* asserter) base 149 base/threading/thread_collision_warner_unittest.cc class QueueUser : public base::DelegateSimpleThread::Delegate { base 170 base/threading/thread_collision_warner_unittest.cc base::DelegateSimpleThread thread_a(&queue_user_a, "queue_user_thread_a"); base 171 base/threading/thread_collision_warner_unittest.cc base::DelegateSimpleThread thread_b(&queue_user_b, "queue_user_thread_b"); base 187 base/threading/thread_collision_warner_unittest.cc explicit NonThreadSafeQueue(base::AsserterBase* asserter) base 193 base/threading/thread_collision_warner_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(5)); base 207 base/threading/thread_collision_warner_unittest.cc class QueueUser : public base::DelegateSimpleThread::Delegate { base 228 base/threading/thread_collision_warner_unittest.cc base::DelegateSimpleThread thread_a(&queue_user_a, "queue_user_thread_a"); base 229 base/threading/thread_collision_warner_unittest.cc base::DelegateSimpleThread thread_b(&queue_user_b, "queue_user_thread_b"); base 245 base/threading/thread_collision_warner_unittest.cc explicit NonThreadSafeQueue(base::AsserterBase* asserter) base 251 base/threading/thread_collision_warner_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(2)); base 267 base/threading/thread_collision_warner_unittest.cc class QueueUser : public base::DelegateSimpleThread::Delegate { base 269 base/threading/thread_collision_warner_unittest.cc QueueUser(NonThreadSafeQueue& queue, base::Lock& lock) base 275 base/threading/thread_collision_warner_unittest.cc base::AutoLock auto_lock(lock_); base 279 base/threading/thread_collision_warner_unittest.cc base::AutoLock auto_lock(lock_); base 285 base/threading/thread_collision_warner_unittest.cc base::Lock& lock_; base 292 base/threading/thread_collision_warner_unittest.cc base::Lock lock; base 297 base/threading/thread_collision_warner_unittest.cc base::DelegateSimpleThread thread_a(&queue_user_a, "queue_user_thread_a"); base 298 base/threading/thread_collision_warner_unittest.cc base::DelegateSimpleThread thread_b(&queue_user_b, "queue_user_thread_b"); base 314 base/threading/thread_collision_warner_unittest.cc explicit NonThreadSafeQueue(base::AsserterBase* asserter) base 321 base/threading/thread_collision_warner_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(2)); base 341 base/threading/thread_collision_warner_unittest.cc class QueueUser : public base::DelegateSimpleThread::Delegate { base 343 base/threading/thread_collision_warner_unittest.cc QueueUser(NonThreadSafeQueue& queue, base::Lock& lock) base 349 base/threading/thread_collision_warner_unittest.cc base::AutoLock auto_lock(lock_); base 353 base/threading/thread_collision_warner_unittest.cc base::AutoLock auto_lock(lock_); base 357 base/threading/thread_collision_warner_unittest.cc base::AutoLock auto_lock(lock_); base 363 base/threading/thread_collision_warner_unittest.cc base::Lock& lock_; base 370 base/threading/thread_collision_warner_unittest.cc base::Lock lock; base 375 base/threading/thread_collision_warner_unittest.cc base::DelegateSimpleThread thread_a(&queue_user_a, "queue_user_thread_a"); base 376 base/threading/thread_collision_warner_unittest.cc base::DelegateSimpleThread thread_b(&queue_user_b, "queue_user_thread_b"); base 18 base/threading/thread_id_name_manager.h namespace base { base 20 base/threading/thread_id_name_manager_unittest.cc base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); base 21 base/threading/thread_id_name_manager_unittest.cc base::Thread thread_a(kAThread); base 22 base/threading/thread_id_name_manager_unittest.cc base::Thread thread_b(kBThread); base 35 base/threading/thread_id_name_manager_unittest.cc base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); base 36 base/threading/thread_id_name_manager_unittest.cc base::Thread thread_a(kAThread); base 40 base/threading/thread_id_name_manager_unittest.cc base::Thread thread_b(kBThread); base 51 base/threading/thread_id_name_manager_unittest.cc base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); base 52 base/threading/thread_id_name_manager_unittest.cc base::Thread thread_a(kAThread); base 55 base/threading/thread_id_name_manager_unittest.cc base::PlatformThreadId a_id = thread_a.thread_id(); base 66 base/threading/thread_id_name_manager_unittest.cc base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); base 68 base/threading/thread_id_name_manager_unittest.cc base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); base 69 base/threading/thread_id_name_manager_unittest.cc base::PlatformThread::SetName("First Name"); base 72 base/threading/thread_id_name_manager_unittest.cc base::PlatformThread::SetName("New name"); base 74 base/threading/thread_id_name_manager_unittest.cc base::PlatformThread::SetName(""); base 78 base/threading/thread_id_name_manager_unittest.cc base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); base 80 base/threading/thread_id_name_manager_unittest.cc base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); base 81 base/threading/thread_id_name_manager_unittest.cc base::PlatformThread::SetName("Test Name"); base 84 base/threading/thread_id_name_manager_unittest.cc base::PlatformThread::SetName("New name"); base 87 base/threading/thread_id_name_manager_unittest.cc base::PlatformThread::SetName("Test Name"); base 90 base/threading/thread_id_name_manager_unittest.cc base::PlatformThread::SetName(""); base 58 base/threading/thread_local.h namespace base { base 10 base/threading/thread_local_storage.cc using base::internal::PlatformThreadLocalStorage; base 21 base/threading/thread_local_storage.cc base::subtle::AtomicWord g_native_tls_key = base 31 base/threading/thread_local_storage.cc base::subtle::Atomic32 g_last_used_tls_key = 0; base 49 base/threading/thread_local_storage.cc volatile base::ThreadLocalStorage::TLSDestructorFunc base 60 base/threading/thread_local_storage.cc base::subtle::NoBarrier_Load(&g_native_tls_key); base 79 base/threading/thread_local_storage.cc base::subtle::NoBarrier_CompareAndSwap(&g_native_tls_key, base 85 base/threading/thread_local_storage.cc key = base::subtle::NoBarrier_Load(&g_native_tls_key); base 126 base/threading/thread_local_storage.cc base::subtle::NoBarrier_Load(&g_native_tls_key); base 140 base/threading/thread_local_storage.cc base::subtle::Atomic32 last_used_tls_key = base 141 base/threading/thread_local_storage.cc base::subtle::NoBarrier_Load(&g_last_used_tls_key); base 147 base/threading/thread_local_storage.cc base::ThreadLocalStorage::TLSDestructorFunc destructor = base 177 base/threading/thread_local_storage.cc base::subtle::NoBarrier_Load(&g_native_tls_key); base 202 base/threading/thread_local_storage.cc base::subtle::NoBarrier_Load(&g_native_tls_key); base 208 base/threading/thread_local_storage.cc slot_ = base::subtle::NoBarrier_AtomicIncrement(&g_last_used_tls_key, 1); base 231 base/threading/thread_local_storage.cc base::subtle::NoBarrier_Load(&g_native_tls_key))); base 242 base/threading/thread_local_storage.cc base::subtle::NoBarrier_Load(&g_native_tls_key))); base 17 base/threading/thread_local_storage.h namespace base { base 15 base/threading/thread_local_storage_posix.cc base::internal::PlatformThreadLocalStorage::OnThreadExit); base 70 base/threading/thread_local_storage_win.cc base::internal::PlatformThreadLocalStorage::OnThreadExit(); base 15 base/threading/thread_local_unittest.cc class ThreadLocalTesterBase : public base::DelegateSimpleThreadPool::Delegate { base 17 base/threading/thread_local_unittest.cc typedef base::ThreadLocalPointer<ThreadLocalTesterBase> TLPType; base 19 base/threading/thread_local_unittest.cc ThreadLocalTesterBase(TLPType* tlp, base::WaitableEvent* done) base 27 base/threading/thread_local_unittest.cc base::WaitableEvent* done_; base 32 base/threading/thread_local_unittest.cc SetThreadLocal(TLPType* tlp, base::WaitableEvent* done) base 52 base/threading/thread_local_unittest.cc GetThreadLocal(TLPType* tlp, base::WaitableEvent* done) base 75 base/threading/thread_local_unittest.cc base::DelegateSimpleThreadPool tp1("ThreadLocalTest tp1", 1); base 76 base/threading/thread_local_unittest.cc base::DelegateSimpleThreadPool tp2("ThreadLocalTest tp1", 1); base 80 base/threading/thread_local_unittest.cc base::ThreadLocalPointer<ThreadLocalTesterBase> tlp; base 86 base/threading/thread_local_unittest.cc base::WaitableEvent done(true, false); base 152 base/threading/thread_local_unittest.cc base::ThreadLocalBoolean tlb; base 164 base/threading/thread_local_unittest.cc base::ThreadLocalBoolean tlb; base 48 base/threading/thread_perftest.cc void TimeOnThread(base::TimeTicks* ticks, base::WaitableEvent* done) { base 49 base/threading/thread_perftest.cc *ticks = base::TimeTicks::ThreadNow(); base 53 base/threading/thread_perftest.cc base::TimeTicks ThreadNow(base::Thread* thread) { base 54 base/threading/thread_perftest.cc base::WaitableEvent done(false, false); base 55 base/threading/thread_perftest.cc base::TimeTicks ticks; base 58 base/threading/thread_perftest.cc base::Bind(&ThreadPerfTest::TimeOnThread, base 59 base/threading/thread_perftest.cc base::Unretained(this), base 68 base/threading/thread_perftest.cc std::vector<base::TimeTicks> thread_starts; base 70 base/threading/thread_perftest.cc threads_.push_back(new base::Thread("PingPonger")); base 72 base/threading/thread_perftest.cc if (base::TimeTicks::IsThreadNowSupported()) base 78 base/threading/thread_perftest.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 81 base/threading/thread_perftest.cc base::TimeTicks end = base::TimeTicks::HighResNow(); base 85 base/threading/thread_perftest.cc base::TimeDelta thread_time; base 87 base/threading/thread_perftest.cc if (base::TimeTicks::IsThreadNowSupported()) { base 105 base/threading/thread_perftest.cc if (base::TimeTicks::IsThreadNowSupported()) { base 113 base/threading/thread_perftest.cc ScopedVector<base::Thread> threads_; base 116 base/threading/thread_perftest.cc base::WaitableEvent done_; base 121 base/threading/thread_perftest.cc base::Thread* NextThread(int count) { base 132 base/threading/thread_perftest.cc base::Bind( base 133 base/threading/thread_perftest.cc &ThreadPerfTest::PingPong, base::Unretained(this), hops - 1)); base 178 base/threading/thread_perftest.cc base::Bind(&EventPerfTest::WaitAndSignalOnThread, base 179 base/threading/thread_perftest.cc base::Unretained(this), base 195 base/threading/thread_perftest.cc typedef EventPerfTest<base::WaitableEvent> WaitableEventPerfTest; base 211 base/threading/thread_perftest.cc base::AutoLock scoped_lock(lock_); base 218 base/threading/thread_perftest.cc base::AutoLock scoped_lock(lock_); base 225 base/threading/thread_perftest.cc base::Lock lock_; base 226 base/threading/thread_perftest.cc base::ConditionVariable cond_; base 76 base/threading/thread_restrictions.h namespace base { base 15 base/threading/thread_unittest.cc using base::Thread; base 39 base/threading/thread_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(500)); base 92 base/threading/thread_unittest.cc : public base::MessageLoop::DestructionObserver { base 111 base/threading/thread_unittest.cc base::MessageLoop::DestructionObserver* observer) { base 112 base/threading/thread_unittest.cc base::MessageLoop::current()->AddDestructionObserver(observer); base 150 base/threading/thread_unittest.cc a.message_loop()->PostTask(FROM_HERE, base::Bind(&ToggleValue, &was_invoked)); base 156 base/threading/thread_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 173 base/threading/thread_unittest.cc base::Bind( base 174 base/threading/thread_unittest.cc static_cast<void (*)(base::TimeDelta)>( base 175 base/threading/thread_unittest.cc &base::PlatformThread::Sleep), base 176 base/threading/thread_unittest.cc base::TimeDelta::FromMilliseconds(20))); base 177 base/threading/thread_unittest.cc a.message_loop()->PostTask(FROM_HERE, base::Bind(&ToggleValue, base 228 base/threading/thread_unittest.cc FROM_HERE, base::Bind(&RegisterDestructionObserver, base 229 base/threading/thread_unittest.cc base::Unretained(&loop_destruction_observer))); base 30 base/threading/watchdog.h namespace base { base 57 base/threading/worker_pool.cc base::TimeDelta delay); base 85 base/threading/worker_pool.cc base::TimeDelta delay) { base 99 base/threading/worker_pool.cc base::LazyInstance<TaskRunnerHolder>::Leaky base 18 base/threading/worker_pool.h namespace base { base 37 base/threading/worker_pool.h const base::Closure& task, bool task_is_slow); base 25 base/threading/worker_pool_posix.cc base::LazyInstance<ThreadLocalBoolean>::Leaky base 44 base/threading/worker_pool_posix.cc const base::Closure& task, bool task_is_slow); base 47 base/threading/worker_pool_posix.cc scoped_refptr<base::PosixDynamicThreadPool> pool_; base 51 base/threading/worker_pool_posix.cc : pool_(new base::PosixDynamicThreadPool("WorkerPool", base 60 base/threading/worker_pool_posix.cc const base::Closure& task, bool task_is_slow) { base 64 base/threading/worker_pool_posix.cc base::LazyInstance<WorkerPoolImpl> g_lazy_worker_pool = base 70 base/threading/worker_pool_posix.cc base::PosixDynamicThreadPool* pool) base 78 base/threading/worker_pool_posix.cc scoped_refptr<base::PosixDynamicThreadPool> pool_; base 85 base/threading/worker_pool_posix.cc const std::string name = base::StringPrintf( base 116 base/threading/worker_pool_posix.cc const base::Closure& task, bool task_is_slow) { base 150 base/threading/worker_pool_posix.cc const base::Closure& task) { base 179 base/threading/worker_pool_posix.cc return PendingTask(FROM_HERE, base::Closure()); base 193 base/threading/worker_pool_posix.cc return PendingTask(FROM_HERE, base::Closure()); base 43 base/threading/worker_pool_posix.h namespace base { base 59 base/threading/worker_pool_posix_unittest.cc base::AutoLock locked(*unique_threads_lock); base 62 base/threading/worker_pool_posix_unittest.cc base::AutoLock locked(*counter_lock); base 76 base/threading/worker_pool_posix_unittest.cc base::WaitableEvent* start; base 81 base/threading/worker_pool_posix_unittest.cc base::AutoLock num_waiting_to_start_locked(*args.num_waiting_to_start_lock); base 93 base/threading/worker_pool_posix_unittest.cc : pool_(new base::PosixDynamicThreadPool("dynamic_pool", 60*60)), base 110 base/threading/worker_pool_posix_unittest.cc base::AutoLock num_waiting_to_start_locked(num_waiting_to_start_lock_); base 117 base/threading/worker_pool_posix_unittest.cc base::AutoLock pool_locked(*peer_.lock()); base 123 base/threading/worker_pool_posix_unittest.cc base::Closure CreateNewIncrementingTaskCallback() { base 124 base/threading/worker_pool_posix_unittest.cc return base::Bind(&IncrementingTask, &counter_lock_, &counter_, base 128 base/threading/worker_pool_posix_unittest.cc base::Closure CreateNewBlockingIncrementingTaskCallback() { base 134 base/threading/worker_pool_posix_unittest.cc return base::Bind(&BlockingIncrementingTask, args); base 137 base/threading/worker_pool_posix_unittest.cc scoped_refptr<base::PosixDynamicThreadPool> pool_; base 138 base/threading/worker_pool_posix_unittest.cc base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer peer_; base 146 base/threading/worker_pool_posix_unittest.cc base::WaitableEvent start_; base 222 base/threading/worker_pool_posix_unittest.cc base::AutoLock locked(*peer_.lock()); base 26 base/threading/worker_pool_unittest.cc : public base::RefCountedThreadSafe<PostTaskAndReplyTester> { base 34 base/threading/worker_pool_unittest.cc base::Bind(&PostTaskAndReplyTester::OnWorkerThread, this), base 35 base/threading/worker_pool_unittest.cc base::Bind(&PostTaskAndReplyTester::OnOriginalThread, this), base 75 base/threading/worker_pool_unittest.cc base::Bind(&WaitableEvent::Signal, base 76 base/threading/worker_pool_unittest.cc base::Unretained(&test_event)), base 79 base/threading/worker_pool_unittest.cc base::Bind(&WaitableEvent::Signal, base 80 base/threading/worker_pool_unittest.cc base::Unretained(&long_test_event)), base 19 base/threading/worker_pool_win.cc base::LazyInstance<ThreadLocalBoolean>::Leaky base 63 base/threading/worker_pool_win.cc const base::Closure& task, bool task_is_slow) { base 11 base/time/clock.h namespace base { base 12 base/time/default_clock.h namespace base { base 12 base/time/default_tick_clock.h namespace base { base 12 base/time/pr_time_unittest.cc using base::Time; base 11 base/time/tick_clock.h namespace base { base 155 base/time/time.cc base::Time::kNanosecondsPerSecond); base 51 base/time/time.h namespace base { base 34 base/time/time_mac.cc base::TimeDelta time_difference = base::Time::Now() - base 35 base/time/time_mac.cc (base::Time::FromTimeT(boottime.tv_sec) + base 36 base/time/time_mac.cc base::TimeDelta::FromMicroseconds(boottime.tv_usec)); base 59 base/time/time_mac.cc mach_absolute_time() / base::Time::kNanosecondsPerMicrosecond * base 74 base/time/time_mac.cc base::mac::ScopedMachPort thread(mach_thread_self()); base 91 base/time/time_mac.cc base::Time::kMicrosecondsPerSecond) + base 173 base/time/time_mac.cc base::ScopedCFTypeRef<CFTimeZoneRef> time_zone( base 191 base/time/time_mac.cc base::ScopedCFTypeRef<CFTimeZoneRef> time_zone( base 76 base/time/time_posix.cc base::TimeTicks ClockNow(clockid_t clk_id) { base 82 base/time/time_posix.cc return base::TimeTicks(); base 86 base/time/time_posix.cc (static_cast<int64>(ts.tv_sec) * base::Time::kMicrosecondsPerSecond) + base 87 base/time/time_posix.cc (static_cast<int64>(ts.tv_nsec) / base::Time::kNanosecondsPerMicrosecond); base 89 base/time/time_posix.cc return base::TimeTicks::FromInternalValue(absolute_micro); base 16 base/time/time_unittest.cc using base::Time; base 17 base/time/time_unittest.cc using base::TimeDelta; base 18 base/time/time_unittest.cc using base::TimeTicks; base 612 base/time/time_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 693 base/time/time_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 49 base/time/time_win.cc using base::Time; base 50 base/time/time_win.cc using base::TimeDelta; base 51 base/time/time_win.cc using base::TimeTicks; base 307 base/time/time_win.cc base::Lock rollover_lock; base 315 base/time/time_win.cc base::AutoLock locked(rollover_lock); base 325 base/time/time_win.cc bool IsBuggyAthlon(const base::CPU& cpu) { base 407 base/time/time_win.cc base::CPU cpu; base 448 base/time/time_win.cc base::CPU cpu; base 463 base/time/time_win.cc base::AutoLock locked(rollover_lock); base 13 base/time/time_win_unittest.cc using base::Time; base 14 base/time/time_win_unittest.cc using base::TimeDelta; base 15 base/time/time_win_unittest.cc using base::TimeTicks; base 230 base/time/time_win_unittest.cc base::PlatformThread::Sleep( base 231 base/time/time_win_unittest.cc base::TimeDelta::FromMilliseconds((i % 2 == 0) ? 1 : 2)); base 12 base/timer/elapsed_timer.h namespace base { base 12 base/timer/hi_res_timer_manager.h namespace base { base 16 base/timer/hi_res_timer_manager.h class BASE_EXPORT HighResolutionTimerManager : public base::PowerObserver { base 19 base/timer/hi_res_timer_manager_unittest.cc base::MessageLoop loop; base 20 base/timer/hi_res_timer_manager_unittest.cc scoped_ptr<base::PowerMonitorSource> power_monitor_source( base 21 base/timer/hi_res_timer_manager_unittest.cc new base::PowerMonitorDeviceSource()); base 22 base/timer/hi_res_timer_manager_unittest.cc scoped_ptr<base::PowerMonitor> power_monitor( base 23 base/timer/hi_res_timer_manager_unittest.cc new base::PowerMonitor(power_monitor_source.Pass())); base 39 base/timer/hi_res_timer_manager_unittest.cc EXPECT_FALSE(base::Time::IsHighResolutionTimerInUse()); base 42 base/timer/hi_res_timer_manager_unittest.cc base::Time::ActivateHighResolutionTimer(true); base 43 base/timer/hi_res_timer_manager_unittest.cc EXPECT_TRUE(base::Time::IsHighResolutionTimerInUse()); base 48 base/timer/hi_res_timer_manager_unittest.cc EXPECT_FALSE(base::Time::IsHighResolutionTimerInUse()); base 53 base/timer/hi_res_timer_manager_unittest.cc EXPECT_TRUE(base::Time::IsHighResolutionTimerInUse()); base 56 base/timer/hi_res_timer_manager_unittest.cc base::Time::ActivateHighResolutionTimer(false); base 14 base/timer/hi_res_timer_manager_win.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 21 base/timer/hi_res_timer_manager_win.cc base::PowerMonitor::Get()->RemoveObserver(this); base 33 base/timer/hi_res_timer_manager_win.cc base::Time::EnableHighResolutionTimer(use); base 16 base/timer/mock_timer.cc const base::Closure& user_task, base 30 base/timer/mock_timer.cc base::TimeDelta MockTimer::GetCurrentDelay() const { base 36 base/timer/mock_timer.cc const base::Closure& user_task) { base 55 base/timer/mock_timer.cc base::Closure old_task = user_task_; base 10 base/timer/mock_timer.h namespace base { base 17 base/timer/mock_timer.h const base::Closure& user_task, base 23 base/timer/mock_timer.h virtual base::TimeDelta GetCurrentDelay() const OVERRIDE; base 25 base/timer/mock_timer.h base::TimeDelta delay, base 26 base/timer/mock_timer.h const base::Closure& user_task) OVERRIDE; base 34 base/timer/mock_timer.h base::Closure user_task_; base 17 base/timer/mock_timer_unittest.cc base::MockTimer timer(false, false); base 18 base/timer/mock_timer_unittest.cc base::TimeDelta delay = base::TimeDelta::FromSeconds(2); base 20 base/timer/mock_timer_unittest.cc base::Bind(&CallMeMaybe, base 21 base/timer/mock_timer_unittest.cc base::Unretained(&calls))); base 31 base/timer/mock_timer_unittest.cc base::MockTimer timer(true, true); base 32 base/timer/mock_timer_unittest.cc base::TimeDelta delay = base::TimeDelta::FromSeconds(2); base 34 base/timer/mock_timer_unittest.cc base::Bind(&CallMeMaybe, base 35 base/timer/mock_timer_unittest.cc base::Unretained(&calls))); base 46 base/timer/mock_timer_unittest.cc base::MockTimer timer(true, true); base 47 base/timer/mock_timer_unittest.cc base::TimeDelta delay = base::TimeDelta::FromSeconds(2); base 49 base/timer/mock_timer_unittest.cc base::Bind(&CallMeMaybe, base 50 base/timer/mock_timer_unittest.cc base::Unretained(&calls))); base 56 base/timer/mock_timer_unittest.cc class HasWeakPtr : public base::SupportsWeakPtr<HasWeakPtr> { base 70 base/timer/mock_timer_unittest.cc base::WeakPtr<HasWeakPtr> weak_ptr(has_weak_ptr->AsWeakPtr()); base 71 base/timer/mock_timer_unittest.cc base::MockTimer timer(false, false); base 72 base/timer/mock_timer_unittest.cc base::TimeDelta delay = base::TimeDelta::FromSeconds(2); base 75 base/timer/mock_timer_unittest.cc base::Bind(&DoNothingWithWeakPtr, base 76 base/timer/mock_timer_unittest.cc base::Owned(has_weak_ptr))); base 72 base/timer/timer.cc const base::Closure& user_task, base 98 base/timer/timer.cc const base::Closure& user_task) { base 138 base/timer/timer.cc const base::Closure& user_task) { base 150 base/timer/timer.cc base::Bind(&BaseTimerTaskInternal::Run, base::Owned(scheduled_task_)), base 155 base/timer/timer.cc base::Bind(&BaseTimerTaskInternal::Run, base::Owned(scheduled_task_))); base 194 base/timer/timer.cc base::Closure task = user_task_; base 60 base/timer/timer.h namespace base { base 79 base/timer/timer.h const base::Closure& user_task, base 94 base/timer/timer.h const base::Closure& user_task); base 104 base/timer/timer.h const base::Closure& user_task() const { return user_task_; } base 112 base/timer/timer.h const base::Closure& user_task); base 147 base/timer/timer.h base::Closure user_task_; base 204 base/timer/timer.h base::Bind(method, base::Unretained(receiver))); base 239 base/timer/timer.h base::Bind(method, base::Unretained(receiver)), base 10 base/timer/timer_unittest.cc using base::TimeDelta; base 15 base/timer/timer_unittest.cc const base::MessageLoop::Type testing_message_loops[] = { base 16 base/timer/timer_unittest.cc base::MessageLoop::TYPE_DEFAULT, base 17 base/timer/timer_unittest.cc base::MessageLoop::TYPE_IO, base 19 base/timer/timer_unittest.cc base::MessageLoop::TYPE_UI, base 38 base/timer/timer_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 41 base/timer/timer_unittest.cc base::OneShotTimer<OneShotTimerTester> timer_; base 49 base/timer/timer_unittest.cc timer_(new base::OneShotTimer<OneShotSelfDeletingTimerTester>()) { base 59 base/timer/timer_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 62 base/timer/timer_unittest.cc scoped_ptr<base::OneShotTimer<OneShotSelfDeletingTimerTester> > timer_; base 79 base/timer/timer_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 85 base/timer/timer_unittest.cc base::RepeatingTimer<RepeatingTimerTester> timer_; base 88 base/timer/timer_unittest.cc void RunTest_OneShotTimer(base::MessageLoop::Type message_loop_type) { base 89 base/timer/timer_unittest.cc base::MessageLoop loop(message_loop_type); base 95 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 100 base/timer/timer_unittest.cc void RunTest_OneShotTimer_Cancel(base::MessageLoop::Type message_loop_type) { base 101 base/timer/timer_unittest.cc base::MessageLoop loop(message_loop_type); base 107 base/timer/timer_unittest.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, a); base 116 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 123 base/timer/timer_unittest.cc base::MessageLoop::Type message_loop_type) { base 124 base/timer/timer_unittest.cc base::MessageLoop loop(message_loop_type); base 130 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 135 base/timer/timer_unittest.cc void RunTest_RepeatingTimer(base::MessageLoop::Type message_loop_type, base 137 base/timer/timer_unittest.cc base::MessageLoop loop(message_loop_type); base 143 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 148 base/timer/timer_unittest.cc void RunTest_RepeatingTimer_Cancel(base::MessageLoop::Type message_loop_type, base 150 base/timer/timer_unittest.cc base::MessageLoop loop(message_loop_type); base 156 base/timer/timer_unittest.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, a); base 165 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 188 base/timer/timer_unittest.cc void RunTest_DelayTimer_NoCall(base::MessageLoop::Type message_loop_type) { base 189 base/timer/timer_unittest.cc base::MessageLoop loop(message_loop_type); base 193 base/timer/timer_unittest.cc base::DelayTimer<DelayTimerTarget> timer(FROM_HERE, base 199 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 204 base/timer/timer_unittest.cc void RunTest_DelayTimer_OneCall(base::MessageLoop::Type message_loop_type) { base 205 base/timer/timer_unittest.cc base::MessageLoop loop(message_loop_type); base 208 base/timer/timer_unittest.cc base::DelayTimer<DelayTimerTarget> timer(FROM_HERE, base 215 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 221 base/timer/timer_unittest.cc ResetHelper(base::DelayTimer<DelayTimerTarget>* timer, base 233 base/timer/timer_unittest.cc base::DelayTimer<DelayTimerTarget> *const timer_; base 237 base/timer/timer_unittest.cc void RunTest_DelayTimer_Reset(base::MessageLoop::Type message_loop_type) { base 238 base/timer/timer_unittest.cc base::MessageLoop loop(message_loop_type); base 242 base/timer/timer_unittest.cc base::DelayTimer<DelayTimerTarget> timer(FROM_HERE, base 248 base/timer/timer_unittest.cc base::OneShotTimer<ResetHelper> timers[20]; base 257 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 270 base/timer/timer_unittest.cc void RunTest_DelayTimer_Deleted(base::MessageLoop::Type message_loop_type) { base 271 base/timer/timer_unittest.cc base::MessageLoop loop(message_loop_type); base 276 base/timer/timer_unittest.cc base::DelayTimer<DelayTimerFatalTarget> timer( base 284 base/timer/timer_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 378 base/timer/timer_unittest.cc base::MessageLoop loop; base 392 base/timer/timer_unittest.cc base::MessageLoop loop; base 393 base/timer/timer_unittest.cc base::Timer timer(false, false); base 396 base/timer/timer_unittest.cc base::Bind(&TimerTestCallback)); base 404 base/timer/timer_unittest.cc base::Timer timer(true, false); base 405 base/timer/timer_unittest.cc base::MessageLoop loop; base 408 base/timer/timer_unittest.cc base::Bind(&TimerTestCallback)); base 419 base/timer/timer_unittest.cc base::Timer timer(false, false); base 421 base/timer/timer_unittest.cc base::MessageLoop loop; base 424 base/timer/timer_unittest.cc base::Bind(&TimerTestCallback)); base 432 base/timer/timer_unittest.cc base::MessageLoop loop; base 433 base/timer/timer_unittest.cc base::Timer timer(FROM_HERE, TimeDelta::FromDays(1), base 434 base/timer/timer_unittest.cc base::Bind(&TimerTestCallback), true); base 445 base/timer/timer_unittest.cc base::MessageLoop loop; base 446 base/timer/timer_unittest.cc base::Timer timer(FROM_HERE, TimeDelta::FromDays(1), base 447 base/timer/timer_unittest.cc base::Bind(&TimerTestCallback), false); base 469 base/timer/timer_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 474 base/timer/timer_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 480 base/timer/timer_unittest.cc base::MessageLoop loop; base 481 base/timer/timer_unittest.cc base::Timer timer(false, false); base 483 base/timer/timer_unittest.cc base::Bind(&SetCallbackHappened1)); base 486 base/timer/timer_unittest.cc base::Bind(&SetCallbackHappened2)); base 487 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 496 base/timer/timer_unittest.cc base::MessageLoop loop; base 497 base/timer/timer_unittest.cc base::Timer timer(false, false); base 499 base/timer/timer_unittest.cc base::Bind(&SetCallbackHappened1)); base 503 base/timer/timer_unittest.cc base::MessageLoop::current()->Run(); base 19 base/tools_sanity_unittest.cc const base::subtle::Atomic32 kMagicValue = 42; base 220 base/tools_sanity_unittest.cc explicit ReleaseStoreThread(base::subtle::Atomic32 *value) : value_(value) {} base 223 base/tools_sanity_unittest.cc base::subtle::Release_Store(value_, kMagicValue); base 231 base/tools_sanity_unittest.cc base::subtle::Atomic32 *value_; base 236 base/tools_sanity_unittest.cc explicit AcquireLoadThread(base::subtle::Atomic32 *value) : value_(value) {} base 241 base/tools_sanity_unittest.cc base::subtle::Acquire_Load(value_); base 244 base/tools_sanity_unittest.cc base::subtle::Atomic32 *value_; base 276 base/tools_sanity_unittest.cc base::subtle::Atomic32 shared = 0; base 22 base/tracked_objects.cc using base::TimeDelta; base 63 base/tracked_objects.cc static base::subtle::Atomic32 timing_enabled = UNDEFINED_TIMING; base 67 base/tracked_objects.cc base::subtle::Atomic32 current_timing_enabled = base 68 base/tracked_objects.cc base::subtle::NoBarrier_Load(&timing_enabled); base 78 base/tracked_objects.cc base::subtle::NoBarrier_Store(&timing_enabled, current_timing_enabled); base 244 base/tracked_objects.cc base::ThreadLocalStorage::StaticSlot ThreadData::tls_index_ = TLS_INITIALIZER; base 262 base/tracked_objects.cc base::LazyInstance<base::Lock>::Leaky base 284 base/tracked_objects.cc base::StringAppendF(&thread_name_, "WorkerThread-%d", thread_number); base 299 base/tracked_objects.cc base::AutoLock lock(*list_lock_.Pointer()); base 307 base/tracked_objects.cc base::AutoLock lock(*list_lock_.Pointer()); base 337 base/tracked_objects.cc base::AutoLock lock(*list_lock_.Pointer()); base 371 base/tracked_objects.cc base::AutoLock lock(*list_lock_.Pointer()); base 416 base/tracked_objects.cc base::AutoLock lock(map_lock_); base 427 base/tracked_objects.cc base::AutoLock lock(map_lock_); base 455 base/tracked_objects.cc base::AutoLock lock(map_lock_); // Lock as the map may get relocated now. base 483 base/tracked_objects.cc const base::TrackingInfo& completed_task, base 637 base/tracked_objects.cc base::AutoLock lock(map_lock_); base 667 base/tracked_objects.cc base::AutoLock lock(map_lock_); base 693 base/tracked_objects.cc base::AutoLock lock(*list_lock_.Pointer()); base 793 base/tracked_objects.cc base::AutoLock lock(*list_lock_.Pointer()); base 815 base/tracked_objects.cc base::AutoLock lock(*list_lock_.Pointer()); base 895 base/tracked_objects.cc : process_id(base::GetCurrentProcId()) { base 25 base/tracked_objects.h namespace base { base 405 base/tracked_objects.h const base::TrackingInfo& completed_task, base 586 base/tracked_objects.h static base::ThreadLocalStorage::StaticSlot tls_index_; base 617 base/tracked_objects.h static base::LazyInstance<base::Lock>::Leaky list_lock_; base 665 base/tracked_objects.h mutable base::Lock map_lock_; base 92 base/tracked_objects_unittest.cc EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); base 166 base/tracked_objects_unittest.cc base::TimeTicks kBogusBirthTime; base 167 base/tracked_objects_unittest.cc base::TrackingInfo pending_task(location, kBogusBirthTime); base 285 base/tracked_objects_unittest.cc EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); base 301 base/tracked_objects_unittest.cc EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); base 343 base/tracked_objects_unittest.cc const base::TimeTicks kTimePosted = base::TimeTicks() + base 344 base/tracked_objects_unittest.cc base::TimeDelta::FromMilliseconds(1); base 345 base/tracked_objects_unittest.cc const base::TimeTicks kDelayedStartTime = base::TimeTicks(); base 347 base/tracked_objects_unittest.cc base::TrackingInfo pending_task(location, kDelayedStartTime); base 375 base/tracked_objects_unittest.cc const base::TimeTicks kTimePosted = base::TimeTicks() + base 376 base/tracked_objects_unittest.cc base::TimeDelta::FromMilliseconds(1); base 377 base/tracked_objects_unittest.cc const base::TimeTicks kDelayedStartTime = base::TimeTicks(); base 379 base/tracked_objects_unittest.cc base::TrackingInfo pending_task(location, kDelayedStartTime); base 409 base/tracked_objects_unittest.cc const base::TimeTicks kTimePosted = base::TimeTicks() + base 410 base/tracked_objects_unittest.cc base::TimeDelta::FromMilliseconds(1); base 411 base/tracked_objects_unittest.cc const base::TimeTicks kDelayedStartTime = base::TimeTicks(); base 413 base/tracked_objects_unittest.cc base::TrackingInfo pending_task(location, kDelayedStartTime); base 426 base/tracked_objects_unittest.cc EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); base 484 base/tracked_objects_unittest.cc EXPECT_EQ(base::GetCurrentProcId(), process_data_post_reset.process_id); base 496 base/tracked_objects_unittest.cc const base::TimeTicks kTimePosted = base::TimeTicks() + base 497 base/tracked_objects_unittest.cc base::TimeDelta::FromMilliseconds(1); base 498 base/tracked_objects_unittest.cc const base::TimeTicks kDelayedStartTime = base::TimeTicks(); base 500 base/tracked_objects_unittest.cc base::TrackingInfo pending_task(location, kDelayedStartTime); base 510 base/tracked_objects_unittest.cc base::TrackingInfo pending_task2(location, kDelayedStartTime); base 532 base/tracked_objects_unittest.cc const base::TimeTicks kTimePosted = base::TimeTicks() + base 533 base/tracked_objects_unittest.cc base::TimeDelta::FromMilliseconds(1); base 534 base/tracked_objects_unittest.cc const base::TimeTicks kDelayedStartTime = base::TimeTicks(); base 536 base/tracked_objects_unittest.cc base::TrackingInfo pending_task(location, kDelayedStartTime); base 549 base/tracked_objects_unittest.cc base::TrackingInfo pending_task2(second_location, kDelayedStartTime); base 581 base/tracked_objects_unittest.cc EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); base 18 base/tracking_info.cc base::TimeTicks delayed_run_time) base 23 base/tracking_info.h namespace base { base 29 base/tracking_info.h base::TimeTicks delayed_run_time); base 47 base/tracking_info.h base::TimeTicks time_posted; base 50 base/tracking_info.h base::TimeTicks delayed_run_time; base 543 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg)); base 548 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a)); base 555 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 556 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b)); base 562 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 563 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 564 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c)); base 570 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 571 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 572 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 573 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d)); base 579 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 580 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 581 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 582 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 583 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e)); base 590 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 591 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 592 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 593 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 594 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e), base 595 base/tuple.h base::internal::UnwrapTraits<F>::Unwrap(arg.f)); base 602 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 603 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 604 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 605 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 606 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e), base 607 base/tuple.h base::internal::UnwrapTraits<F>::Unwrap(arg.f), base 608 base/tuple.h base::internal::UnwrapTraits<G>::Unwrap(arg.g)); base 615 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 616 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 617 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 618 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 619 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e), base 620 base/tuple.h base::internal::UnwrapTraits<F>::Unwrap(arg.f), base 621 base/tuple.h base::internal::UnwrapTraits<G>::Unwrap(arg.g), base 622 base/tuple.h base::internal::UnwrapTraits<H>::Unwrap(arg.h)); base 639 base/tuple.h (*function)(base::internal::UnwrapTraits<A>::Unwrap(arg.a)); base 644 base/tuple.h (*function)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 645 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b)); base 650 base/tuple.h (*function)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 651 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 652 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c)); base 658 base/tuple.h (*function)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 659 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 660 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 661 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d)); base 667 base/tuple.h (*function)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 668 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 669 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 670 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 671 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e)); base 677 base/tuple.h (*function)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 678 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 679 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 680 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 681 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e), base 682 base/tuple.h base::internal::UnwrapTraits<F>::Unwrap(arg.f)); base 689 base/tuple.h (*function)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 690 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 691 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 692 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 693 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e), base 694 base/tuple.h base::internal::UnwrapTraits<F>::Unwrap(arg.f), base 695 base/tuple.h base::internal::UnwrapTraits<G>::Unwrap(arg.g)); base 702 base/tuple.h (*function)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 703 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 704 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 705 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 706 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e), base 707 base/tuple.h base::internal::UnwrapTraits<F>::Unwrap(arg.f), base 708 base/tuple.h base::internal::UnwrapTraits<G>::Unwrap(arg.g), base 709 base/tuple.h base::internal::UnwrapTraits<H>::Unwrap(arg.h)); base 723 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg)); base 730 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a)); base 737 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 738 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b)); base 744 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 745 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 746 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c)); base 752 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 753 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 754 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 755 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d)); base 761 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 762 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 763 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 764 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 765 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e)); base 772 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg.a), base 773 base/tuple.h base::internal::UnwrapTraits<B>::Unwrap(arg.b), base 774 base/tuple.h base::internal::UnwrapTraits<C>::Unwrap(arg.c), base 775 base/tuple.h base::internal::UnwrapTraits<D>::Unwrap(arg.d), base 776 base/tuple.h base::internal::UnwrapTraits<E>::Unwrap(arg.e), base 777 base/tuple.h base::internal::UnwrapTraits<F>::Unwrap(arg.f)); base 803 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), &out->a); base 811 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 812 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 821 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 822 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 823 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 832 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 833 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 834 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 835 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 844 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 845 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 846 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 847 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 848 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 858 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 859 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 860 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 861 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 862 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 863 base/tuple.h base::internal::UnwrapTraits<InF>::Unwrap(in.f), base 891 base/tuple.h base::internal::UnwrapTraits<InA>::Unwrap(in.a), &out->a, &out->b); base 899 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 900 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 910 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 911 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 912 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 922 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 923 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 924 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 925 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 936 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 937 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 938 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 939 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 940 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 951 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 952 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 953 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 954 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 955 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 956 base/tuple.h base::internal::UnwrapTraits<InF>::Unwrap(in.f), base 984 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 995 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 996 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1007 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1008 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1009 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1020 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1021 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1022 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1023 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 1035 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1036 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1037 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1038 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 1039 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 1051 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1052 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1053 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1054 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 1055 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 1056 base/tuple.h base::internal::UnwrapTraits<InF>::Unwrap(in.f), base 1077 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in), base 1089 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1101 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1102 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1114 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1115 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1116 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1128 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1129 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1130 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1131 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 1144 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1145 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1146 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1147 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 1148 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 1161 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1162 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1163 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1164 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 1165 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 1166 base/tuple.h base::internal::UnwrapTraits<InF>::Unwrap(in.f), base 1188 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in), base 1201 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1214 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1215 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1228 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1229 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1230 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1243 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1244 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1245 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1246 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 1260 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1261 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1262 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1263 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 1264 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 1278 base/tuple.h (obj->*method)(base::internal::UnwrapTraits<InA>::Unwrap(in.a), base 1279 base/tuple.h base::internal::UnwrapTraits<InB>::Unwrap(in.b), base 1280 base/tuple.h base::internal::UnwrapTraits<InC>::Unwrap(in.c), base 1281 base/tuple.h base::internal::UnwrapTraits<InD>::Unwrap(in.d), base 1282 base/tuple.h base::internal::UnwrapTraits<InE>::Unwrap(in.e), base 1283 base/tuple.h base::internal::UnwrapTraits<InF>::Unwrap(in.f), base 35 base/value_conversions.cc std::string string_value = base::Int64ToString(time.ToInternalValue()); base 42 base/value_conversions.cc if (!value.GetAsString(&str) || !base::StringToInt64(str, &int_value)) base 13 base/value_conversions.h namespace base { base 34 base/values.h namespace base { base 98 base/values_unittest.cc base::FundamentalValue sought_value(42); base 99 base/values_unittest.cc base::FundamentalValue not_found_value(false); base 345 base/values_unittest.cc EXPECT_TRUE(removed_item->IsType(base::Value::TYPE_INTEGER)); base 358 base/values_unittest.cc EXPECT_TRUE(removed_item->IsType(base::Value::TYPE_BOOLEAN)); base 700 base/values_unittest.cc scoped_ptr<DictionaryValue> base(new DictionaryValue); base 701 base/values_unittest.cc base->SetString("base_key", "base_key_value_base"); base 702 base/values_unittest.cc base->SetString("collide_key", "collide_key_value_base"); base 706 base/values_unittest.cc base->Set("sub_dict_key", base_sub_dict); base 716 base/values_unittest.cc base->MergeDictionary(merge.get()); base 718 base/values_unittest.cc EXPECT_EQ(4U, base->size()); base 720 base/values_unittest.cc EXPECT_TRUE(base->GetString("base_key", &base_key_value)); base 723 base/values_unittest.cc EXPECT_TRUE(base->GetString("collide_key", &collide_key_value)); base 726 base/values_unittest.cc EXPECT_TRUE(base->GetString("merge_key", &merge_key_value)); base 730 base/values_unittest.cc EXPECT_TRUE(base->GetDictionary("sub_dict_key", &res_sub_dict)); base 753 base/values_unittest.cc scoped_ptr<DictionaryValue> base(new DictionaryValue); base 754 base/values_unittest.cc base->Set("dict", child); base 755 base/values_unittest.cc EXPECT_EQ(1U, base->size()); base 758 base/values_unittest.cc EXPECT_TRUE(base->GetDictionary("dict", &ptr)); base 762 base/values_unittest.cc merged->MergeDictionary(base.get()); base 770 base/values_unittest.cc base.reset(); base 14 base/version.h namespace base { base 70 base/version.h using base::Version; base 56 base/vlog.cc if (base::StringToInt(v_switch, &vlog_level)) { base 64 base/vlog.cc if (!base::SplitStringIntoKeyValuePairs( base 72 base/vlog.cc if (!base::StringToInt(it->second, &pattern.vlog_level)) { base 88 base/vlog.cc base::StringPiece GetModule(const base::StringPiece& file) { base 89 base/vlog.cc base::StringPiece module(file); base 90 base/vlog.cc base::StringPiece::size_type last_slash_pos = base 92 base/vlog.cc if (last_slash_pos != base::StringPiece::npos) base 94 base/vlog.cc base::StringPiece::size_type extension_start = module.rfind('.'); base 105 base/vlog.cc int VlogInfo::GetVlogLevel(const base::StringPiece& file) const { base 107 base/vlog.cc base::StringPiece module(GetModule(file)); base 110 base/vlog.cc base::StringPiece target( base 128 base/vlog.cc bool MatchVlogPattern(const base::StringPiece& string, base 129 base/vlog.cc const base::StringPiece& vlog_pattern) { base 130 base/vlog.cc base::StringPiece p(vlog_pattern); base 131 base/vlog.cc base::StringPiece s(string); base 47 base/vlog.h int GetVlogLevel(const base::StringPiece& file) const; base 72 base/vlog.h BASE_EXPORT bool MatchVlogPattern(const base::StringPiece& string, base 73 base/vlog.h const base::StringPiece& vlog_pattern); base 95 base/win/dllmain.cc if (DLL_PROCESS_DETACH == reason && base::win::ShouldCrashOnProcessDetach()) base 13 base/win/enum_variant.h namespace base { base 15 base/win/event_trace_consumer.h namespace base { base 276 base/win/event_trace_consumer_unittest.cc EXPECT_TRUE(base::DeleteFile(temp_file_, false)); base 320 base/win/event_trace_consumer_unittest.cc base::DeleteFile(temp_file_, false); base 31 base/win/event_trace_controller.h namespace base { base 167 base/win/event_trace_controller_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp)); base 174 base/win/event_trace_controller_unittest.cc base::DeleteFile(temp, false); base 184 base/win/event_trace_controller_unittest.cc base::DeleteFile(temp, false); base 17 base/win/event_trace_provider.h namespace base { base 13 base/win/event_trace_provider_unittest.cc using base::win::EtwTraceProvider; base 14 base/win/event_trace_provider_unittest.cc using base::win::EtwMofEvent; base 14 base/win/i18n.h namespace base { base 94 base/win/iat_patch_function.cc bool InterceptEnumCallback(const base::win::PEImage& image, const char* module, base 162 base/win/iat_patch_function.cc base::win::PEImage target_image(module_handle); base 13 base/win/iat_patch_function.h namespace base { base 18 base/win/iunknown_impl.cc base::AtomicRefCountInc(&ref_count_); base 23 base/win/iunknown_impl.cc if (!base::AtomicRefCountDec(&ref_count_)) { base 14 base/win/iunknown_impl.h namespace base { base 39 base/win/message_window.cc instance_(base::GetModuleFromAddress(&MessageWindow::WindowProc)) { base 43 base/win/message_window.cc window_class.lpfnWndProc = &base::win::WrappedWindowProc<WindowProc>; base 17 base/win/message_window.h namespace base { base 21 base/win/message_window.h class BASE_EXPORT MessageWindow : public base::NonThreadSafe { base 29 base/win/message_window.h typedef base::Callback<bool(UINT message, base 32 base/win/message_window_unittest.cc EXPECT_TRUE(window.Create(base::Bind(&HandleMessage))); base 38 base/win/message_window_unittest.cc EXPECT_TRUE(window.CreateNamed(base::Bind(&HandleMessage), base 45 base/win/message_window_unittest.cc EXPECT_TRUE(window.Create(base::Bind(&HandleMessage))); base 52 base/win/message_window_unittest.cc string16 name = UTF8ToUTF16(base::GenerateGUID()); base 54 base/win/message_window_unittest.cc EXPECT_TRUE(window.CreateNamed(base::Bind(&HandleMessage), name)); base 72 base/win/metro.cc base::wcslcpy(dest, src.c_str(), dest_size); base 78 base/win/metro.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 113 base/win/metro.cc typedef base::win::MetroLaunchType (*GetLaunchType)( base 114 base/win/metro.cc base::win::MetroPreviousExecutionState* previous_state); base 118 base/win/metro.cc HMODULE metro = base::win::GetMetroModule(); base 120 base/win/metro.cc return base::win::METRO_LAUNCH_ERROR; base 126 base/win/metro.cc base::win::MetroLaunchType launch_type = get_launch_type(NULL); base 128 base/win/metro.cc if ((launch_type == base::win::METRO_PROTOCOL) || base 129 base/win/metro.cc (launch_type == base::win::METRO_LAUNCH)) { base 134 base/win/metro.cc } else if (launch_type == base::win::METRO_SEARCH) { base 16 base/win/metro.h namespace base { base 112 base/win/metro.h typedef base::Callback<void(MetroSecondaryTilePinUmaResult)> base 39 base/win/object_watcher.cc callback_ = base::Bind(&ObjectWatcher::Signal, weak_factory_.GetWeakPtr(), base 15 base/win/object_watcher.h namespace base { base 313 base/win/pe_image.cc PIMAGE_BASE_RELOCATION base = reinterpret_cast<PIMAGE_BASE_RELOCATION>( base 319 base/win/pe_image.cc while (base->SizeOfBlock) { base 320 base/win/pe_image.cc PWORD reloc = reinterpret_cast<PWORD>(base + 1); base 321 base/win/pe_image.cc UINT num_relocs = (base->SizeOfBlock - sizeof(IMAGE_BASE_RELOCATION)) / base 326 base/win/pe_image.cc PVOID address = RVAToAddr(base->VirtualAddress + (*reloc & 0x0FFF)); base 332 base/win/pe_image.cc base = reinterpret_cast<PIMAGE_BASE_RELOCATION>( base 333 base/win/pe_image.cc reinterpret_cast<char*>(base) + base->SizeOfBlock); base 22 base/win/pe_image.h namespace base { base 152 base/win/pe_image_unittest.cc base::win::OSInfo* os_info = base::win::OSInfo::GetInstance(); base 154 base/win/pe_image_unittest.cc if (os_info->architecture() == base::win::OSInfo::X86_ARCHITECTURE) { base 159 base/win/pe_image_unittest.cc } else if (os_info->wow64_status() == base::win::OSInfo::WOW64_DISABLED) { base 16 base/win/registry.h namespace base { base 16 base/win/resource_util.h namespace base { base 15 base/win/scoped_bstr.h namespace base { base 13 base/win/scoped_co_mem.h namespace base { base 14 base/win/scoped_com_initializer.h namespace base { base 13 base/win/scoped_comptr.h namespace base { base 37 base/win/scoped_comptr_unittest.cc base::win::ScopedCOMInitializer com_initializer; base 13 base/win/scoped_gdi_object.h namespace base { base 24 base/win/scoped_handle.cc base::LazyInstance<HandleMap>::Leaky g_handle_map = LAZY_INSTANCE_INITIALIZER; base 25 base/win/scoped_handle.cc base::LazyInstance<base::Lock>::Leaky g_lock = LAZY_INSTANCE_INITIALIZER; base 25 base/win/scoped_handle.h namespace base { base 14 base/win/scoped_hdc.h namespace base { base 12 base/win/scoped_hglobal.h namespace base { base 14 base/win/scoped_process_information.h namespace base { base 22 base/win/scoped_process_information_unittest.cc void MockCreateProcess(base::win::ScopedProcessInformation* process_info) { base 33 base/win/scoped_process_information_unittest.cc class ScopedProcessInformationTest : public base::MultiProcessTest { base 60 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation process_info; base 65 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation process_info; base 77 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation process_info; base 89 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation process_info; base 101 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation process_info; base 111 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation process_info; base 125 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation process_info; base 128 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation duplicate; base 139 base/win/scoped_process_information_unittest.cc ASSERT_TRUE(base::WaitForExitCode(process_info.TakeProcessHandle(), base 144 base/win/scoped_process_information_unittest.cc ASSERT_TRUE(base::WaitForExitCode(duplicate.TakeProcessHandle(), base 153 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation base_process_info; base 158 base/win/scoped_process_information_unittest.cc base::win::ScopedProcessInformation process_info; base 13 base/win/scoped_propvariant.h namespace base { base 13 base/win/scoped_select_object.h namespace base { base 14 base/win/scoped_variant.h namespace base { base 48 base/win/shortcut.cc base::ThreadRestrictions::AssertIOAllowed(); base 180 base/win/shortcut.cc base::ThreadRestrictions::AssertIOAllowed(); base 312 base/win/shortcut.cc base::ThreadRestrictions::AssertIOAllowed(); base 324 base/win/shortcut.cc base::ThreadRestrictions::AssertIOAllowed(); base 14 base/win/shortcut.h namespace base { base 143 base/win/shortcut_unittest.cc base::ReadFile(resolved_name, read_contents, arraysize(read_contents)); base 156 base/win/shortcut_unittest.cc base::ReadFile(resolved_name, read_contents, arraysize(read_contents)); base 209 base/win/shortcut_unittest.cc base::ReadFile(resolved_name, read_contents, arraysize(read_contents)); base 43 base/win/startup_information.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 13 base/win/startup_information.h namespace base { base 34 base/win/startup_information_unittest.cc class StartupInformationTest : public base::MultiProcessTest {}; base 38 base/win/startup_information_unittest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 41 base/win/startup_information_unittest.cc base::win::StartupInformation startup_info; base 72 base/win/startup_information_unittest.cc base::win::ScopedProcessInformation process_info(temp_process_info); base 38 base/win/win_util.cc const base::win::ScopedPropVariant& property_value) { base 69 base/win/win_util.cc (base::win::GetVersion() >= base::win::VERSION_VISTA) ? base 83 base/win/win_util.cc base::win::ScopedHandle token_scoped(token); base 128 base/win/win_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 130 base/win/win_util.cc base::win::RegKey key(HKEY_LOCAL_MACHINE, base 186 base/win/win_util.cc base::win::RegKey autorun_key(root_key, kAutoRunKeyPath, KEY_SET_VALUE); base 192 base/win/win_util.cc base::win::RegKey autorun_key(root_key, kAutoRunKeyPath, KEY_SET_VALUE); base 199 base/win/win_util.cc base::win::RegKey autorun_key(root_key, kAutoRunKeyPath, KEY_QUERY_VALUE); base 225 base/win/win_util.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 236 base/win/win_util.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) base 239 base/win/win_util.cc static base::LazyInstance<string16>::Leaky osk_path = base 251 base/win/win_util.cc base::win::RegKey key(HKEY_LOCAL_MACHINE, base 294 base/win/win_util.cc base::win::ScopedCoMem<wchar_t> common_program_files; base 316 base/win/win_util.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) base 36 base/win/win_util.h namespace base { base 36 base/win/win_util_unittest.cc if (GetVersion() >= base::win::VERSION_VISTA) { base 150 base/win/windows_version.cc base::win::RegKey key(HKEY_LOCAL_MACHINE, kProcessorNameString, KEY_READ); base 15 base/win/windows_version.h namespace base { base 13 base/win/wrapped_window_proc.cc base::win::WinProcExceptionFilter s_exception_filter = NULL; base 50 base/win/wrapped_window_proc.cc class_out->hInstance = base::GetModuleFromAddress(window_proc); base 18 base/win/wrapped_window_proc.h namespace base { base 61 base/win/wrapped_window_proc_unittest.cc wc.lpfnWndProc = base::win::WrappedWindowProc<TestWindowProc>; base 72 base/win/wrapped_window_proc_unittest.cc base::win::WinProcExceptionFilter old_filter = base 73 base/win/wrapped_window_proc_unittest.cc base::win::SetWinProcExceptionFilter(TestWrappedExceptionFiter::Filter); base 78 base/win/wrapped_window_proc_unittest.cc base::win::SetWinProcExceptionFilter(old_filter); base 5 build/android/tests/multiple_proguards/src/dummy/NativeLibraries.java package org.chromium.base.library_loader; base 88 cc/animation/animation.cc base::snprintf(name_buffer, base 119 cc/animation/animation.cc base::snprintf(state_buffer, base 16 cc/animation/animation_delegate.h base::TimeTicks monotonic_time, base 19 cc/animation/animation_delegate.h base::TimeTicks monotonic_time, base 19 cc/animation/animation_registrar.h typedef base::hash_map<int, LayerAnimationController*> AnimationControllerMap; base 284 cc/animation/layer_animation_controller.cc base::TimeTicks monotonic_time = base::TimeTicks::FromInternalValue( base 285 cc/animation/layer_animation_controller.cc event.monotonic_time * base::Time::kMicrosecondsPerSecond); base 316 cc/animation/layer_animation_controller.cc base::TimeTicks monotonic_time = base::TimeTicks::FromInternalValue( base 317 cc/animation/layer_animation_controller.cc event.monotonic_time * base::Time::kMicrosecondsPerSecond); base 36 cc/animation/layer_animation_controller.h : public base::RefCounted<LayerAnimationController> { base 131 cc/animation/layer_animation_controller.h friend class base::RefCounted<LayerAnimationController>; base 137 cc/animation/layer_animation_controller.h typedef base::hash_set<int> TargetProperties; base 770 cc/animation/layer_animation_controller_unittest.cc base::TimeTicks monotonic_time, base 776 cc/animation/layer_animation_controller_unittest.cc base::TimeTicks monotonic_time, base 22 cc/animation/scrollbar_animation_controller.h virtual base::TimeDelta DelayBeforeStart(base::TimeTicks now) const = 0; base 24 cc/animation/scrollbar_animation_controller.h virtual bool Animate(base::TimeTicks now) = 0; base 26 cc/animation/scrollbar_animation_controller.h virtual void DidScrollGestureEnd(base::TimeTicks now) = 0; base 27 cc/animation/scrollbar_animation_controller.h virtual void DidMouseMoveOffScrollbar(base::TimeTicks now) = 0; base 30 cc/animation/scrollbar_animation_controller.h virtual bool DidScrollUpdate(base::TimeTicks now) = 0; base 31 cc/animation/scrollbar_animation_controller.h virtual bool DidMouseMoveNear(base::TimeTicks now, float distance) = 0; base 15 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeDelta fadeout_delay, base 16 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeDelta fadeout_length) { base 23 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeDelta fadeout_delay, base 24 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeDelta fadeout_length) base 39 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeDelta ScrollbarAnimationControllerLinearFade::DelayBeforeStart( base 40 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeTicks now) const { base 42 cc/animation/scrollbar_animation_controller_linear_fade.cc return base::TimeDelta(); base 46 cc/animation/scrollbar_animation_controller_linear_fade.cc bool ScrollbarAnimationControllerLinearFade::Animate(base::TimeTicks now) { base 50 cc/animation/scrollbar_animation_controller_linear_fade.cc last_awaken_time_ = base::TimeTicks(); base 51 cc/animation/scrollbar_animation_controller_linear_fade.cc return IsAnimating() && DelayBeforeStart(now) == base::TimeDelta(); base 60 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeTicks now) { base 69 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeTicks now) { base 74 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeTicks now) { base 79 cc/animation/scrollbar_animation_controller_linear_fade.cc last_awaken_time_ = base::TimeTicks(); base 89 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeTicks now, float distance) { base 95 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeTicks now) { base 102 cc/animation/scrollbar_animation_controller_linear_fade.cc base::TimeDelta delta = now - last_awaken_time_; base 20 cc/animation/scrollbar_animation_controller_linear_fade.h base::TimeDelta fadeout_delay, base 21 cc/animation/scrollbar_animation_controller_linear_fade.h base::TimeDelta fadeout_length); base 27 cc/animation/scrollbar_animation_controller_linear_fade.h virtual base::TimeDelta DelayBeforeStart(base::TimeTicks now) const OVERRIDE; base 29 cc/animation/scrollbar_animation_controller_linear_fade.h virtual bool Animate(base::TimeTicks now) OVERRIDE; base 31 cc/animation/scrollbar_animation_controller_linear_fade.h virtual void DidScrollGestureEnd(base::TimeTicks now) OVERRIDE; base 32 cc/animation/scrollbar_animation_controller_linear_fade.h virtual void DidMouseMoveOffScrollbar(base::TimeTicks now) OVERRIDE; base 33 cc/animation/scrollbar_animation_controller_linear_fade.h virtual bool DidScrollUpdate(base::TimeTicks now) OVERRIDE; base 34 cc/animation/scrollbar_animation_controller_linear_fade.h virtual bool DidMouseMoveNear(base::TimeTicks now, float distance) OVERRIDE; base 38 cc/animation/scrollbar_animation_controller_linear_fade.h base::TimeDelta fadeout_delay, base 39 cc/animation/scrollbar_animation_controller_linear_fade.h base::TimeDelta fadeout_length); base 42 cc/animation/scrollbar_animation_controller_linear_fade.h float OpacityAtTime(base::TimeTicks now); base 47 cc/animation/scrollbar_animation_controller_linear_fade.h base::TimeTicks last_awaken_time_; base 51 cc/animation/scrollbar_animation_controller_linear_fade.h base::TimeDelta fadeout_delay_; base 52 cc/animation/scrollbar_animation_controller_linear_fade.h base::TimeDelta fadeout_length_; base 48 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc base::TimeDelta::FromSeconds(2), base 49 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc base::TimeDelta::FromSeconds(3)); base 61 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc scrollbar_controller_->Animate(base::TimeTicks()); base 69 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc EXPECT_FALSE(scrollbar_controller_->Animate(base::TimeTicks())); base 72 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc base::TimeTicks time; base 73 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(100); base 78 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(100); base 85 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc base::TimeTicks time; base 86 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 96 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(100); base 105 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 109 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 113 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 117 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 121 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 127 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 131 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 135 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 139 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 143 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 149 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc base::TimeTicks time; base 150 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 157 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 162 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 166 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 170 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 174 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 178 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 180 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 184 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 188 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 192 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 196 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 203 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc base::TimeTicks time; base 204 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 210 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(3); base 218 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 226 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 233 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc base::TimeTicks time; base 234 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 240 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(3); base 248 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 252 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 257 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc time += base::TimeDelta::FromSeconds(1); base 27 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeDelta::FromMilliseconds(kDefaultAnimationDelay), base 28 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeDelta::FromMilliseconds(kDefaultAnimationDuration))); base 33 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeDelta animation_delay, base::TimeDelta animation_duration) { base 40 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeDelta animation_delay, base 41 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeDelta animation_duration) base 63 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeDelta ScrollbarAnimationControllerThinning::DelayBeforeStart( base 64 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeTicks now) const { base 66 cc/animation/scrollbar_animation_controller_thinning.cc return base::TimeDelta(); base 68 cc/animation/scrollbar_animation_controller_thinning.cc return base::TimeDelta(); base 72 cc/animation/scrollbar_animation_controller_thinning.cc bool ScrollbarAnimationControllerThinning::Animate(base::TimeTicks now) { base 81 cc/animation/scrollbar_animation_controller_thinning.cc last_awaken_time_ = base::TimeTicks(); base 83 cc/animation/scrollbar_animation_controller_thinning.cc return IsAnimating() && DelayBeforeStart(now) == base::TimeDelta(); base 90 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeTicks now) { base 94 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeTicks now) { base 104 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeTicks now) { base 116 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeTicks now, float distance) { base 141 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeTicks now) { base 145 cc/animation/scrollbar_animation_controller_thinning.cc base::TimeDelta delta = now - last_awaken_time_; base 24 cc/animation/scrollbar_animation_controller_thinning.h base::TimeDelta animation_delay, base 25 cc/animation/scrollbar_animation_controller_thinning.h base::TimeDelta animation_duration); base 37 cc/animation/scrollbar_animation_controller_thinning.h virtual base::TimeDelta DelayBeforeStart(base::TimeTicks now) const OVERRIDE; base 39 cc/animation/scrollbar_animation_controller_thinning.h virtual bool Animate(base::TimeTicks now) OVERRIDE; base 41 cc/animation/scrollbar_animation_controller_thinning.h virtual void DidScrollGestureEnd(base::TimeTicks now) OVERRIDE; base 42 cc/animation/scrollbar_animation_controller_thinning.h virtual void DidMouseMoveOffScrollbar(base::TimeTicks now) OVERRIDE; base 43 cc/animation/scrollbar_animation_controller_thinning.h virtual bool DidScrollUpdate(base::TimeTicks now) OVERRIDE; base 44 cc/animation/scrollbar_animation_controller_thinning.h virtual bool DidMouseMoveNear(base::TimeTicks now, float distance) OVERRIDE; base 48 cc/animation/scrollbar_animation_controller_thinning.h base::TimeDelta animation_delay, base 49 cc/animation/scrollbar_animation_controller_thinning.h base::TimeDelta animation_duration); base 61 cc/animation/scrollbar_animation_controller_thinning.h float AnimationProgressAtTime(base::TimeTicks now); base 72 cc/animation/scrollbar_animation_controller_thinning.h base::TimeTicks last_awaken_time_; base 82 cc/animation/scrollbar_animation_controller_thinning.h base::TimeDelta animation_delay_; base 84 cc/animation/scrollbar_animation_controller_thinning.h base::TimeDelta animation_duration_; base 49 cc/animation/scrollbar_animation_controller_thinning_unittest.cc base::TimeDelta::FromSeconds(2), base 50 cc/animation/scrollbar_animation_controller_thinning_unittest.cc base::TimeDelta::FromSeconds(3)); base 63 cc/animation/scrollbar_animation_controller_thinning_unittest.cc scrollbar_controller_->Animate(base::TimeTicks()); base 71 cc/animation/scrollbar_animation_controller_thinning_unittest.cc base::TimeTicks time; base 72 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 80 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 90 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 96 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 102 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 107 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 112 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 123 cc/animation/scrollbar_animation_controller_thinning_unittest.cc base::TimeTicks time; base 124 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 127 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(3); base 139 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(5); base 149 cc/animation/scrollbar_animation_controller_thinning_unittest.cc base::TimeTicks time; base 150 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 158 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 163 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 168 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 181 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 189 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 194 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 199 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 209 cc/animation/scrollbar_animation_controller_thinning_unittest.cc base::TimeTicks time; base 210 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 218 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 223 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 228 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 241 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 249 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 254 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 259 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 270 cc/animation/scrollbar_animation_controller_thinning_unittest.cc base::TimeTicks time; base 271 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 279 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(3); base 291 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 296 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 301 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 311 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 315 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 324 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 333 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 339 cc/animation/scrollbar_animation_controller_thinning_unittest.cc time += base::TimeDelta::FromSeconds(1); base 40 cc/base/completion_event.h base::ThreadRestrictions::ScopedAllowWait allow_wait; base 53 cc/base/completion_event.h base::WaitableEvent event_; base 531 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Size& s) { base 532 cc/base/math_util.cc scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); base 535 cc/base/math_util.cc return res.PassAs<base::Value>(); base 538 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::SizeF& s) { base 539 cc/base/math_util.cc scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); base 542 cc/base/math_util.cc return res.PassAs<base::Value>(); base 545 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Rect& r) { base 546 cc/base/math_util.cc scoped_ptr<base::ListValue> res(new base::ListValue()); base 551 cc/base/math_util.cc return res.PassAs<base::Value>(); base 554 cc/base/math_util.cc bool MathUtil::FromValue(const base::Value* raw_value, gfx::Rect* out_rect) { base 555 cc/base/math_util.cc const base::ListValue* value = NULL; base 575 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::PointF& pt) { base 576 cc/base/math_util.cc scoped_ptr<base::ListValue> res(new base::ListValue()); base 579 cc/base/math_util.cc return res.PassAs<base::Value>(); base 582 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Vector2d& v) { base 583 cc/base/math_util.cc scoped_ptr<base::ListValue> res(new base::ListValue()); base 586 cc/base/math_util.cc return res.PassAs<base::Value>(); base 589 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::QuadF& q) { base 590 cc/base/math_util.cc scoped_ptr<base::ListValue> res(new base::ListValue()); base 599 cc/base/math_util.cc return res.PassAs<base::Value>(); base 602 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::RectF& rect) { base 603 cc/base/math_util.cc scoped_ptr<base::ListValue> res(new base::ListValue()); base 608 cc/base/math_util.cc return res.PassAs<base::Value>(); base 611 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Transform& transform) { base 612 cc/base/math_util.cc scoped_ptr<base::ListValue> res(new base::ListValue()); base 618 cc/base/math_util.cc return res.PassAs<base::Value>(); base 621 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::BoxF& box) { base 622 cc/base/math_util.cc scoped_ptr<base::ListValue> res(new base::ListValue()); base 629 cc/base/math_util.cc return res.PassAs<base::Value>(); base 632 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValueSafely(double value) { base 633 cc/base/math_util.cc return scoped_ptr<base::Value>(base::Value::CreateDoubleValue( base 637 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValueSafely(float value) { base 638 cc/base/math_util.cc return scoped_ptr<base::Value>(base::Value::CreateDoubleValue( base 20 cc/base/math_util.h namespace base { class Value; } base 171 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::Size& s); base 172 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::SizeF& s); base 173 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::Rect& r); base 174 cc/base/math_util.h static bool FromValue(const base::Value*, gfx::Rect* out_rect); base 175 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::PointF& q); base 176 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::Vector2d& v); base 177 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::QuadF& q); base 178 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::RectF& rect); base 179 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::Transform& transform); base 180 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::BoxF& box); base 184 cc/base/math_util.h static scoped_ptr<base::Value> AsValueSafely(double value); base 185 cc/base/math_util.h static scoped_ptr<base::Value> AsValueSafely(float value); base 32 cc/base/ref_counted_managed.h class CC_EXPORT RefCountedManaged : public base::subtle::RefCountedBase { base 40 cc/base/ref_counted_managed.h base::subtle::RefCountedBase::AddRef(); base 44 cc/base/ref_counted_managed.h if (base::subtle::RefCountedBase::Release()) { base 111 cc/base/region.cc scoped_ptr<base::Value> Region::AsValue() const { base 112 cc/base/region.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 120 cc/base/region.cc return result.PassAs<base::Value>(); base 17 cc/base/region.h namespace base { base 61 cc/base/region.h scoped_ptr<base::Value> AsValue() const; base 16 cc/base/rolling_time_delta_history.cc void RollingTimeDeltaHistory::InsertSample(base::TimeDelta time) { base 34 cc/base/rolling_time_delta_history.cc base::TimeDelta RollingTimeDeltaHistory::Percentile(double percent) const { base 36 cc/base/rolling_time_delta_history.cc return base::TimeDelta(); base 24 cc/base/rolling_time_delta_history.h void InsertSample(base::TimeDelta time); base 30 cc/base/rolling_time_delta_history.h base::TimeDelta Percentile(double percent) const; base 33 cc/base/rolling_time_delta_history.h typedef std::multiset<base::TimeDelta> TimeDeltaMultiset; base 14 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), empty_history.Percentile(0.0)); base 15 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), empty_history.Percentile(50.0)); base 16 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), empty_history.Percentile(100.0)); base 18 cc/base/rolling_time_delta_history_unittest.cc empty_history.InsertSample(base::TimeDelta::FromMilliseconds(10)); base 19 cc/base/rolling_time_delta_history_unittest.cc empty_history.InsertSample(base::TimeDelta::FromMilliseconds(15)); base 20 cc/base/rolling_time_delta_history_unittest.cc empty_history.InsertSample(base::TimeDelta::FromMilliseconds(20)); base 22 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), empty_history.Percentile(0.0)); base 23 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), empty_history.Percentile(50.0)); base 24 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), empty_history.Percentile(100.0)); base 27 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), empty_history.Percentile(0.0)); base 28 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), empty_history.Percentile(50.0)); base 29 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), empty_history.Percentile(100.0)); base 34 cc/base/rolling_time_delta_history_unittest.cc base::TimeDelta sample1 = base::TimeDelta::FromMilliseconds(10); base 35 cc/base/rolling_time_delta_history_unittest.cc base::TimeDelta sample2 = base::TimeDelta::FromMilliseconds(20); base 37 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), size_one_history.Percentile(0.0)); base 38 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), size_one_history.Percentile(50.0)); base 39 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), size_one_history.Percentile(100.0)); base 52 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), size_one_history.Percentile(0.0)); base 53 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), size_one_history.Percentile(50.0)); base 54 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), size_one_history.Percentile(100.0)); base 59 cc/base/rolling_time_delta_history_unittest.cc base::TimeDelta sample1 = base::TimeDelta::FromMilliseconds(150); base 60 cc/base/rolling_time_delta_history_unittest.cc base::TimeDelta sample2 = base::TimeDelta::FromMilliseconds(250); base 61 cc/base/rolling_time_delta_history_unittest.cc base::TimeDelta sample3 = base::TimeDelta::FromMilliseconds(200); base 79 cc/base/rolling_time_delta_history_unittest.cc large_history.InsertSample(base::TimeDelta::FromMilliseconds(i)); base 81 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta::FromMilliseconds(1), base 84 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta::FromMilliseconds(i), base 92 cc/base/rolling_time_delta_history_unittest.cc base::TimeDelta sample4 = base::TimeDelta::FromMilliseconds(100); base 93 cc/base/rolling_time_delta_history_unittest.cc base::TimeDelta sample5 = base::TimeDelta::FromMilliseconds(102); base 94 cc/base/rolling_time_delta_history_unittest.cc base::TimeDelta sample6 = base::TimeDelta::FromMilliseconds(104); base 103 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), large_history.Percentile(0.0)); base 104 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), large_history.Percentile(50.0)); base 105 cc/base/rolling_time_delta_history_unittest.cc EXPECT_EQ(base::TimeDelta(), large_history.Percentile(100.0)); base 187 cc/debug/debug_rect_history.cc base::Bind(&DebugRectHistory::SaveTouchEventHandlerRectsCallback, base 188 cc/debug/debug_rect_history.cc base::Unretained(this))); base 208 cc/debug/debug_rect_history.cc base::Bind(&DebugRectHistory::SaveWheelEventHandlerRectsCallback, base 209 cc/debug/debug_rect_history.cc base::Unretained(this))); base 227 cc/debug/debug_rect_history.cc base::Bind(&DebugRectHistory::SaveScrollEventHandlerRectsCallback, base 228 cc/debug/debug_rect_history.cc base::Unretained(this))); base 245 cc/debug/debug_rect_history.cc base::Bind(&DebugRectHistory::SaveNonFastScrollableRectsCallback, base 246 cc/debug/debug_rect_history.cc base::Unretained(this))); base 79 cc/debug/devtools_instrumentation.h : public base::debug::TraceScopedTrackableObject<int> { base 81 cc/debug/devtools_instrumentation.h : base::debug::TraceScopedTrackableObject<int>( base 38 cc/debug/frame_rate_counter.cc base::TimeDelta FrameRateCounter::RecentFrameInterval(size_t n) const { base 47 cc/debug/frame_rate_counter.cc void FrameRateCounter::SaveTimeStamp(base::TimeTicks timestamp, bool software) { base 54 cc/debug/frame_rate_counter.cc base::TimeDelta frame_interval_seconds = base 81 cc/debug/frame_rate_counter.cc base::TimeDelta interval_between_consecutive_frames) const { base 95 cc/debug/frame_rate_counter.cc base::TimeDelta delta = RecentFrameInterval(it.index() + 1); base 130 cc/debug/frame_rate_counter.cc base::TimeDelta delta = RecentFrameInterval(it.index() + 1); base 25 cc/debug/frame_rate_counter.h void SaveTimeStamp(base::TimeTicks timestamp, bool software); base 29 cc/debug/frame_rate_counter.h base::TimeDelta RecentFrameInterval(size_t n) const; base 35 cc/debug/frame_rate_counter.h base::TimeDelta interval_between_consecutive_frames) const; base 40 cc/debug/frame_rate_counter.h typedef RingBuffer<base::TimeTicks, 136> RingBufferType; base 29 cc/debug/micro_benchmark.cc void MicroBenchmark::NotifyDone(scoped_ptr<base::Value> result) { base 43 cc/debug/micro_benchmark.cc scoped_refptr<base::MessageLoopProxy> origin_loop) { base 50 cc/debug/micro_benchmark.cc scoped_refptr<base::MessageLoopProxy> origin_loop) { base 12 cc/debug/micro_benchmark.h namespace base { base 25 cc/debug/micro_benchmark.h typedef base::Callback<void(scoped_ptr<base::Value>)> DoneCallback; base 38 cc/debug/micro_benchmark.h scoped_refptr<base::MessageLoopProxy> origin_loop); base 41 cc/debug/micro_benchmark.h void NotifyDone(scoped_ptr<base::Value> result); base 44 cc/debug/micro_benchmark.h scoped_refptr<base::MessageLoopProxy> origin_loop); base 24 cc/debug/micro_benchmark_controller.cc scoped_ptr<base::Value> value, base 53 cc/debug/micro_benchmark_controller.cc main_controller_message_loop_(base::MessageLoopProxy::current().get()) { base 61 cc/debug/micro_benchmark_controller.cc scoped_ptr<base::Value> value, base 15 cc/debug/micro_benchmark_controller.h namespace base { base 32 cc/debug/micro_benchmark_controller.h scoped_ptr<base::Value> value, base 42 cc/debug/micro_benchmark_controller.h scoped_refptr<base::MessageLoopProxy> main_controller_message_loop_; base 44 cc/debug/micro_benchmark_controller_unittest.cc void Noop(scoped_ptr<base::Value> value) { base 47 cc/debug/micro_benchmark_controller_unittest.cc void IncrementCallCount(int* count, scoped_ptr<base::Value> value) { base 53 cc/debug/micro_benchmark_controller_unittest.cc "non_existant_benchmark", scoped_ptr<base::Value>(), base::Bind(&Noop)); base 60 cc/debug/micro_benchmark_controller_unittest.cc "unittest_only_benchmark", scoped_ptr<base::Value>(), base::Bind(&Noop)); base 69 cc/debug/micro_benchmark_controller_unittest.cc scoped_ptr<base::Value>(), base 70 cc/debug/micro_benchmark_controller_unittest.cc base::Bind(&IncrementCallCount, base::Unretained(&run_count))); base 84 cc/debug/micro_benchmark_controller_unittest.cc scoped_ptr<base::Value>(), base 85 cc/debug/micro_benchmark_controller_unittest.cc base::Bind(&IncrementCallCount, base::Unretained(&run_count))); base 89 cc/debug/micro_benchmark_controller_unittest.cc scoped_ptr<base::Value>(), base 90 cc/debug/micro_benchmark_controller_unittest.cc base::Bind(&IncrementCallCount, base::Unretained(&run_count))); base 101 cc/debug/micro_benchmark_controller_unittest.cc scoped_ptr<base::Value>(), base 102 cc/debug/micro_benchmark_controller_unittest.cc base::Bind(&IncrementCallCount, base::Unretained(&run_count))); base 106 cc/debug/micro_benchmark_controller_unittest.cc scoped_ptr<base::Value>(), base 107 cc/debug/micro_benchmark_controller_unittest.cc base::Bind(&IncrementCallCount, base::Unretained(&run_count))); base 119 cc/debug/micro_benchmark_controller_unittest.cc scoped_ptr<base::DictionaryValue> settings(new base::DictionaryValue); base 125 cc/debug/micro_benchmark_controller_unittest.cc settings.PassAs<base::Value>(), base 126 cc/debug/micro_benchmark_controller_unittest.cc base::Bind(&IncrementCallCount, base::Unretained(&run_count))); base 137 cc/debug/micro_benchmark_controller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 18 cc/debug/micro_benchmark_impl.cc scoped_ptr<base::Value> result) { base 26 cc/debug/micro_benchmark_impl.cc scoped_refptr<base::MessageLoopProxy> origin_loop) base 37 cc/debug/micro_benchmark_impl.cc void MicroBenchmarkImpl::NotifyDone(scoped_ptr<base::Value> result) { base 40 cc/debug/micro_benchmark_impl.cc base::Bind(RunCallback, callback_, base::Passed(&result))); base 12 cc/debug/micro_benchmark_impl.h namespace base { base 24 cc/debug/micro_benchmark_impl.h typedef base::Callback<void(scoped_ptr<base::Value>)> DoneCallback; base 28 cc/debug/micro_benchmark_impl.h scoped_refptr<base::MessageLoopProxy> origin_loop); base 38 cc/debug/micro_benchmark_impl.h void NotifyDone(scoped_ptr<base::Value> result); base 43 cc/debug/micro_benchmark_impl.h scoped_refptr<base::MessageLoopProxy> origin_loop_; base 18 cc/debug/paint_time_counter.cc void PaintTimeCounter::SavePaintTime(const base::TimeDelta& total_paint_time) { base 20 cc/debug/paint_time_counter.cc base::TimeDelta paint_time = total_paint_time - last_total_paint_time_; base 28 cc/debug/paint_time_counter.cc void PaintTimeCounter::GetMinAndMaxPaintTime(base::TimeDelta* min, base 29 cc/debug/paint_time_counter.cc base::TimeDelta* max) const { base 30 cc/debug/paint_time_counter.cc *min = base::TimeDelta::FromDays(1); base 31 cc/debug/paint_time_counter.cc *max = base::TimeDelta(); base 34 cc/debug/paint_time_counter.cc const base::TimeDelta paint_time = **it; base 24 cc/debug/paint_time_counter.h base::TimeDelta GetPaintTimeOfRecentFrame(const size_t& n) const; base 26 cc/debug/paint_time_counter.h void SavePaintTime(const base::TimeDelta& total_paint_time); base 27 cc/debug/paint_time_counter.h void GetMinAndMaxPaintTime(base::TimeDelta* min, base::TimeDelta* max) const; base 31 cc/debug/paint_time_counter.h typedef RingBuffer<base::TimeDelta, 200> RingBufferType; base 39 cc/debug/paint_time_counter.h base::TimeDelta last_total_paint_time_; base 28 cc/debug/picture_record_benchmark.cc scoped_ptr<base::Value> value, base 34 cc/debug/picture_record_benchmark.cc base::ListValue* list = NULL; base 39 cc/debug/picture_record_benchmark.cc for (base::ListValue::iterator it = list->begin(); it != list->end(); ++it) { base 40 cc/debug/picture_record_benchmark.cc base::DictionaryValue* dictionary = NULL; base 60 cc/debug/picture_record_benchmark.cc base::Bind(&PictureRecordBenchmark::Run, base::Unretained(this))); base 62 cc/debug/picture_record_benchmark.cc scoped_ptr<base::ListValue> results(new base::ListValue()); base 67 cc/debug/picture_record_benchmark.cc base::TimeDelta total_time = it->second.first; base 74 cc/debug/picture_record_benchmark.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 83 cc/debug/picture_record_benchmark.cc NotifyDone(results.PassAs<base::Value>()); base 111 cc/debug/picture_record_benchmark.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 116 cc/debug/picture_record_benchmark.cc base::TimeTicks end = base::TimeTicks::HighResNow(); base 117 cc/debug/picture_record_benchmark.cc base::TimeDelta duration = end - start; base 21 cc/debug/picture_record_benchmark.h explicit PictureRecordBenchmark(scoped_ptr<base::Value> value, base 32 cc/debug/picture_record_benchmark.h typedef std::pair<base::TimeDelta, unsigned> TotalTime; base 30 cc/debug/rasterize_and_record_benchmark.cc base::TimeTicks Now() { base 31 cc/debug/rasterize_and_record_benchmark.cc return base::TimeTicks::IsThreadNowSupported() base 32 cc/debug/rasterize_and_record_benchmark.cc ? base::TimeTicks::ThreadNow() base 33 cc/debug/rasterize_and_record_benchmark.cc : base::TimeTicks::HighResNow(); base 39 cc/debug/rasterize_and_record_benchmark.cc scoped_ptr<base::Value> value, base 47 cc/debug/rasterize_and_record_benchmark.cc base::DictionaryValue* settings = NULL; base 64 cc/debug/rasterize_and_record_benchmark.cc base::Bind(&RasterizeAndRecordBenchmark::Run, base::Unretained(this))); base 67 cc/debug/rasterize_and_record_benchmark.cc results_ = make_scoped_ptr(new base::DictionaryValue); base 71 cc/debug/rasterize_and_record_benchmark.cc std::string name = base::StringPrintf("record_time%s_ms", kModeSuffixes[i]); base 79 cc/debug/rasterize_and_record_benchmark.cc scoped_ptr<base::Value> results_value) { base 82 cc/debug/rasterize_and_record_benchmark.cc base::DictionaryValue* results = NULL; base 88 cc/debug/rasterize_and_record_benchmark.cc NotifyDone(results_.PassAs<base::Value>()); base 92 cc/debug/rasterize_and_record_benchmark.cc scoped_refptr<base::MessageLoopProxy> origin_loop) { base 96 cc/debug/rasterize_and_record_benchmark.cc base::Bind(&RasterizeAndRecordBenchmark::RecordRasterResults, base 123 cc/debug/rasterize_and_record_benchmark.cc base::TimeDelta min_time = base::TimeDelta::Max(); base 125 cc/debug/rasterize_and_record_benchmark.cc base::TimeTicks start = Now(); base 128 cc/debug/rasterize_and_record_benchmark.cc base::TimeTicks end = Now(); base 129 cc/debug/rasterize_and_record_benchmark.cc base::TimeDelta duration = end - start; base 17 cc/debug/rasterize_and_record_benchmark.h namespace base { base 28 cc/debug/rasterize_and_record_benchmark.h scoped_ptr<base::Value> value, base 37 cc/debug/rasterize_and_record_benchmark.h scoped_refptr<base::MessageLoopProxy> origin_loop) OVERRIDE; base 42 cc/debug/rasterize_and_record_benchmark.h void RecordRasterResults(scoped_ptr<base::Value> results); base 49 cc/debug/rasterize_and_record_benchmark.h base::TimeDelta total_best_time[Picture::RECORDING_MODE_COUNT]; base 54 cc/debug/rasterize_and_record_benchmark.h scoped_ptr<base::Value> settings_; base 55 cc/debug/rasterize_and_record_benchmark.h scoped_ptr<base::DictionaryValue> results_; base 62 cc/debug/rasterize_and_record_benchmark.h base::WeakPtrFactory<RasterizeAndRecordBenchmark> weak_ptr_factory_; base 25 cc/debug/rasterize_and_record_benchmark_impl.cc base::TimeTicks Now() { base 26 cc/debug/rasterize_and_record_benchmark_impl.cc return base::TimeTicks::IsThreadNowSupported() base 27 cc/debug/rasterize_and_record_benchmark_impl.cc ? base::TimeTicks::ThreadNow() base 28 cc/debug/rasterize_and_record_benchmark_impl.cc : base::TimeTicks::HighResNow(); base 42 cc/debug/rasterize_and_record_benchmark_impl.cc best_time_(base::TimeDelta::Max()) {} base 56 cc/debug/rasterize_and_record_benchmark_impl.cc base::TimeTicks start = Now(); base 61 cc/debug/rasterize_and_record_benchmark_impl.cc base::TimeTicks end = Now(); base 62 cc/debug/rasterize_and_record_benchmark_impl.cc base::TimeDelta duration = end - start; base 71 cc/debug/rasterize_and_record_benchmark_impl.cc base::TimeDelta GetBestTime() const { return best_time_; } base 81 cc/debug/rasterize_and_record_benchmark_impl.cc base::TimeDelta best_time_; base 87 cc/debug/rasterize_and_record_benchmark_impl.cc scoped_refptr<base::MessageLoopProxy> origin_loop, base 88 cc/debug/rasterize_and_record_benchmark_impl.cc base::Value* value, base 92 cc/debug/rasterize_and_record_benchmark_impl.cc base::DictionaryValue* settings = NULL; base 107 cc/debug/rasterize_and_record_benchmark_impl.cc base::Bind(&RasterizeAndRecordBenchmarkImpl::Run, base 108 cc/debug/rasterize_and_record_benchmark_impl.cc base::Unretained(this))); base 110 cc/debug/rasterize_and_record_benchmark_impl.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 126 cc/debug/rasterize_and_record_benchmark_impl.cc NotifyDone(result.PassAs<base::Value>()); base 188 cc/debug/rasterize_and_record_benchmark_impl.cc base::TimeDelta min_time = benchmark_raster_task->GetBestTime(); base 24 cc/debug/rasterize_and_record_benchmark_impl.h scoped_refptr<base::MessageLoopProxy> origin_loop, base 25 cc/debug/rasterize_and_record_benchmark_impl.h base::Value* value, base 43 cc/debug/rasterize_and_record_benchmark_impl.h base::TimeDelta total_best_time; base 15 cc/debug/rendering_stats.cc scoped_refptr<base::debug::ConvertableToTraceFormat> base 17 cc/debug/rendering_stats.cc scoped_ptr<base::DictionaryValue> record_data(new base::DictionaryValue()); base 38 cc/debug/rendering_stats.cc scoped_refptr<base::debug::ConvertableToTraceFormat> base 40 cc/debug/rendering_stats.cc scoped_ptr<base::DictionaryValue> record_data(new base::DictionaryValue()); base 20 cc/debug/rendering_stats.h base::TimeDelta paint_time; base 22 cc/debug/rendering_stats.h base::TimeDelta record_time; base 26 cc/debug/rendering_stats.h scoped_refptr<base::debug::ConvertableToTraceFormat> AsTraceableData() const; base 35 cc/debug/rendering_stats.h base::TimeDelta rasterize_time; base 36 cc/debug/rendering_stats.h base::TimeDelta analysis_time; base 40 cc/debug/rendering_stats.h scoped_refptr<base::debug::ConvertableToTraceFormat> AsTraceableData() const; base 22 cc/debug/rendering_stats_instrumentation.cc base::AutoLock scoped_lock(lock_); base 41 cc/debug/rendering_stats_instrumentation.cc base::TimeTicks RenderingStatsInstrumentation::StartRecording() const { base 43 cc/debug/rendering_stats_instrumentation.cc if (base::TimeTicks::IsThreadNowSupported()) base 44 cc/debug/rendering_stats_instrumentation.cc return base::TimeTicks::ThreadNow(); base 45 cc/debug/rendering_stats_instrumentation.cc return base::TimeTicks::HighResNow(); base 47 cc/debug/rendering_stats_instrumentation.cc return base::TimeTicks(); base 50 cc/debug/rendering_stats_instrumentation.cc base::TimeDelta RenderingStatsInstrumentation::EndRecording( base 51 cc/debug/rendering_stats_instrumentation.cc base::TimeTicks start_time) const { base 53 cc/debug/rendering_stats_instrumentation.cc if (base::TimeTicks::IsThreadNowSupported()) base 54 cc/debug/rendering_stats_instrumentation.cc return base::TimeTicks::ThreadNow() - start_time; base 55 cc/debug/rendering_stats_instrumentation.cc return base::TimeTicks::HighResNow() - start_time; base 57 cc/debug/rendering_stats_instrumentation.cc return base::TimeDelta(); base 65 cc/debug/rendering_stats_instrumentation.cc base::AutoLock scoped_lock(lock_); base 72 cc/debug/rendering_stats_instrumentation.cc void RenderingStatsInstrumentation::AddPaint(base::TimeDelta duration, base 77 cc/debug/rendering_stats_instrumentation.cc base::AutoLock scoped_lock(lock_); base 82 cc/debug/rendering_stats_instrumentation.cc void RenderingStatsInstrumentation::AddRecord(base::TimeDelta duration, base 87 cc/debug/rendering_stats_instrumentation.cc base::AutoLock scoped_lock(lock_); base 92 cc/debug/rendering_stats_instrumentation.cc void RenderingStatsInstrumentation::AddRaster(base::TimeDelta duration, base 97 cc/debug/rendering_stats_instrumentation.cc base::AutoLock scoped_lock(lock_); base 102 cc/debug/rendering_stats_instrumentation.cc void RenderingStatsInstrumentation::AddAnalysis(base::TimeDelta duration, base 107 cc/debug/rendering_stats_instrumentation.cc base::AutoLock scoped_lock(lock_); base 48 cc/debug/rendering_stats_instrumentation.h base::TimeTicks StartRecording() const; base 49 cc/debug/rendering_stats_instrumentation.h base::TimeDelta EndRecording(base::TimeTicks start_time) const; base 52 cc/debug/rendering_stats_instrumentation.h void AddPaint(base::TimeDelta duration, int64 pixels); base 53 cc/debug/rendering_stats_instrumentation.h void AddRecord(base::TimeDelta duration, int64 pixels); base 54 cc/debug/rendering_stats_instrumentation.h void AddRaster(base::TimeDelta duration, int64 pixels); base 55 cc/debug/rendering_stats_instrumentation.h void AddAnalysis(base::TimeDelta duration, int64 pixels); base 69 cc/debug/rendering_stats_instrumentation.h base::Lock lock_; base 20 cc/debug/traced_picture.cc scoped_refptr<base::debug::ConvertableToTraceFormat> base 22 cc/debug/traced_picture.cc return scoped_refptr<base::debug::ConvertableToTraceFormat>( base 26 cc/debug/traced_picture.cc scoped_refptr<base::debug::ConvertableToTraceFormat> base 30 cc/debug/traced_picture.cc return scoped_refptr<base::debug::ConvertableToTraceFormat>(ptr); base 41 cc/debug/traced_picture.cc scoped_ptr<base::DictionaryValue> alias(new base::DictionaryValue()); base 42 cc/debug/traced_picture.cc alias->SetString("id_ref", base::StringPrintf("%p", picture_.get())); base 44 cc/debug/traced_picture.cc scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); base 48 cc/debug/traced_picture.cc base::JSONWriter::Write(res.get(), &tmp); base 53 cc/debug/traced_picture.cc scoped_ptr<base::Value> value = picture_->AsValue(); base 55 cc/debug/traced_picture.cc base::JSONWriter::Write(value.get(), &tmp); base 16 cc/debug/traced_picture.h class TracedPicture : public base::debug::ConvertableToTraceFormat { base 20 cc/debug/traced_picture.h static scoped_refptr<base::debug::ConvertableToTraceFormat> base 23 cc/debug/traced_picture.h static scoped_refptr<base::debug::ConvertableToTraceFormat> base 13 cc/debug/traced_value.cc scoped_ptr<base::Value> TracedValue::CreateIDRef(const void* id) { base 14 cc/debug/traced_value.cc scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); base 15 cc/debug/traced_value.cc res->SetString("id_ref", base::StringPrintf("%p", id)); base 16 cc/debug/traced_value.cc return res.PassAs<base::Value>(); base 20 cc/debug/traced_value.cc base::DictionaryValue* dict, const char* object_name, const void* id) { base 21 cc/debug/traced_value.cc dict->SetString("id", base::StringPrintf("%s/%p", object_name, id)); base 26 cc/debug/traced_value.cc base::DictionaryValue* dict, base 35 cc/debug/traced_value.cc base::DictionaryValue* dict, base 44 cc/debug/traced_value.cc scoped_refptr<base::debug::ConvertableToTraceFormat> TracedValue::FromValue( base 45 cc/debug/traced_value.cc base::Value* value) { base 46 cc/debug/traced_value.cc return scoped_refptr<base::debug::ConvertableToTraceFormat>( base 50 cc/debug/traced_value.cc TracedValue::TracedValue(base::Value* value) base 59 cc/debug/traced_value.cc base::JSONWriter::Write(value_.get(), &tmp); base 13 cc/debug/traced_value.h namespace base { base 19 cc/debug/traced_value.h class TracedValue : public base::debug::ConvertableToTraceFormat { base 21 cc/debug/traced_value.h static scoped_ptr<base::Value> CreateIDRef(const void* id); base 23 cc/debug/traced_value.h base::DictionaryValue* dict, const char* object_name, const void* id); base 26 cc/debug/traced_value.h base::DictionaryValue* dict, base 31 cc/debug/traced_value.h base::DictionaryValue* dict, base 35 cc/debug/traced_value.h static scoped_refptr<base::debug::ConvertableToTraceFormat> FromValue( base 36 cc/debug/traced_value.h base::Value* value); base 41 cc/debug/traced_value.h explicit TracedValue(base::Value* value); base 44 cc/debug/traced_value.h scoped_ptr<base::Value> value_; base 14 cc/debug/unittest_only_benchmark.cc UnittestOnlyBenchmark::UnittestOnlyBenchmark(scoped_ptr<base::Value> value, base 22 cc/debug/unittest_only_benchmark.cc base::DictionaryValue* settings = NULL; base 36 cc/debug/unittest_only_benchmark.cc NotifyDone(scoped_ptr<base::Value>()); base 39 cc/debug/unittest_only_benchmark.cc void UnittestOnlyBenchmark::RecordImplResults(scoped_ptr<base::Value> results) { base 44 cc/debug/unittest_only_benchmark.cc scoped_refptr<base::MessageLoopProxy> origin_loop) { base 51 cc/debug/unittest_only_benchmark.cc base::Bind(&UnittestOnlyBenchmark::RecordImplResults, base 15 cc/debug/unittest_only_benchmark.h UnittestOnlyBenchmark(scoped_ptr<base::Value> value, base 23 cc/debug/unittest_only_benchmark.h scoped_refptr<base::MessageLoopProxy> origin_loop) OVERRIDE; base 26 cc/debug/unittest_only_benchmark.h void RecordImplResults(scoped_ptr<base::Value> results); base 29 cc/debug/unittest_only_benchmark.h base::WeakPtrFactory<UnittestOnlyBenchmark> weak_ptr_factory_; base 13 cc/debug/unittest_only_benchmark_impl.cc scoped_refptr<base::MessageLoopProxy> origin_loop, base 14 cc/debug/unittest_only_benchmark_impl.cc base::Value* settings, base 21 cc/debug/unittest_only_benchmark_impl.cc NotifyDone(scoped_ptr<base::Value>()); base 11 cc/debug/unittest_only_benchmark_impl.h namespace base { base 21 cc/debug/unittest_only_benchmark_impl.h UnittestOnlyBenchmarkImpl(scoped_refptr<base::MessageLoopProxy> origin_loop, base 22 cc/debug/unittest_only_benchmark_impl.h base::Value* settings, base 32 cc/input/input_handler.h virtual void Animate(base::TimeTicks time) = 0; base 116 cc/input/input_handler.h base::TimeDelta duration) = 0; base 159 cc/input/top_controls_manager.cc gfx::Vector2dF TopControlsManager::Animate(base::TimeTicks monotonic_time) { base 163 cc/input/top_controls_manager.cc double time = (monotonic_time - base::TimeTicks()).InMillisecondsF(); base 198 cc/input/top_controls_manager.cc (gfx::FrameTime::Now() - base::TimeTicks()).InMillisecondsF(); base 236 cc/input/top_controls_manager.cc bool TopControlsManager::IsAnimationCompleteAtTime(base::TimeTicks time) { base 240 cc/input/top_controls_manager.cc double time_ms = (time - base::TimeTicks()).InMillisecondsF(); base 15 cc/input/top_controls_manager.h namespace base { base 27 cc/input/top_controls_manager.h : public base::SupportsWeakPtr<TopControlsManager> { base 64 cc/input/top_controls_manager.h gfx::Vector2dF Animate(base::TimeTicks monotonic_time); base 77 cc/input/top_controls_manager.h bool IsAnimationCompleteAtTime(base::TimeTicks time); base 137 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); base 140 cc/input/top_controls_manager_unittest.cc time = base::TimeDelta::FromMicroseconds(100) + time; base 167 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); base 170 cc/input/top_controls_manager_unittest.cc time = base::TimeDelta::FromMicroseconds(100) + time; base 193 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); base 196 cc/input/top_controls_manager_unittest.cc time = base::TimeDelta::FromMicroseconds(100) + time; base 219 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); base 222 cc/input/top_controls_manager_unittest.cc time = base::TimeDelta::FromMicroseconds(100) + time; base 249 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); base 252 cc/input/top_controls_manager_unittest.cc time = base::TimeDelta::FromMicroseconds(100) + time; base 279 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); base 282 cc/input/top_controls_manager_unittest.cc time = base::TimeDelta::FromMicroseconds(100) + time; base 342 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = base::TimeTicks::Now(); base 345 cc/input/top_controls_manager_unittest.cc time = base::TimeDelta::FromMicroseconds(100) + time; base 363 cc/input/top_controls_manager_unittest.cc time = base::TimeTicks::Now(); base 366 cc/input/top_controls_manager_unittest.cc time = base::TimeDelta::FromMicroseconds(100) + time; base 29 cc/layers/content_layer.cc base::TimeTicks paint_start = base::TimeTicks::HighResNow(); base 31 cc/layers/content_layer.cc base::TimeTicks paint_end = base::TimeTicks::HighResNow(); base 36 cc/layers/content_layer.cc paint_end += base::TimeDelta::FromMicroseconds(1); base 93 cc/layers/content_layer.cc base::AutoReset<bool> ignore_set_needs_commit(&ignore_set_needs_commit_, base 28 cc/layers/delegated_frame_provider.h : public base::RefCounted<DelegatedFrameProvider> { base 52 cc/layers/delegated_frame_provider.h friend class base::RefCounted<DelegatedFrameProvider>; base 117 cc/layers/delegated_frame_resource_collection.cc base::WeakPtr<DelegatedFrameResourceCollection> self, base 122 cc/layers/delegated_frame_resource_collection.cc base::Bind( base 128 cc/layers/delegated_frame_resource_collection.cc return base::Bind(&UnrefResourcesOnImplThread, base 28 cc/layers/delegated_frame_resource_collection.h : public base::RefCounted<DelegatedFrameResourceCollection> { base 47 cc/layers/delegated_frame_resource_collection.h friend class base::RefCounted<DelegatedFrameResourceCollection>; base 60 cc/layers/delegated_frame_resource_collection.h typedef base::hash_map<unsigned, RefCount> ResourceIdRefCountMap; base 63 cc/layers/delegated_frame_resource_collection.h base::ThreadChecker main_thread_checker_; base 64 cc/layers/delegated_frame_resource_collection.h base::WeakPtrFactory<DelegatedFrameResourceCollection> weak_ptr_factory_; base 65 cc/layers/delegated_frame_resource_collection_unittest.cc base::Closure resources_available_closure_; base 83 cc/layers/delegated_frame_resource_collection_unittest.cc base::WaitableEvent* event) { base 93 cc/layers/delegated_frame_resource_collection_unittest.cc base::Thread thread("test thread"); base 103 cc/layers/delegated_frame_resource_collection_unittest.cc base::WaitableEvent event(false, false); base 106 cc/layers/delegated_frame_resource_collection_unittest.cc base::RunLoop run_loop; base 111 cc/layers/delegated_frame_resource_collection_unittest.cc base::Bind( base 149 cc/layers/delegated_frame_resource_collection_unittest.cc base::WaitableEvent* null_event = NULL; base 151 cc/layers/delegated_frame_resource_collection_unittest.cc base::Bind(&ReturnResourcesOnThread, base 58 cc/layers/delegated_renderer_layer.h base::WeakPtrFactory<DelegatedRendererLayer> weak_ptrs_; base 122 cc/layers/delegated_renderer_layer_impl.cc base::Bind(&ResourceRemapHelper, base 226 cc/layers/delegated_renderer_layer_impl.cc base::hash_map<RenderPass::Id, int>::const_iterator found = base 94 cc/layers/delegated_renderer_layer_impl.h base::hash_map<RenderPass::Id, int> render_passes_index_by_id_; base 308 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, base::TimeTicks::Now()); base 192 cc/layers/heads_up_display_layer_impl.cc base::TimeTicks now = layer_tree_impl()->CurrentFrameTimeTicks(); base 193 cc/layers/heads_up_display_layer_impl.cc if (base::TimeDelta(now - time_of_last_graph_update_).InSecondsF() > 0.25f) { base 205 cc/layers/heads_up_display_layer_impl.cc base::TimeDelta latest, min, max; base 355 cc/layers/heads_up_display_layer_impl.cc base::StringPrintf("FPS:%5.1f", fps_graph_.value); base 357 cc/layers/heads_up_display_layer_impl.cc base::StringPrintf("%.0f-%.0f", fps_graph_.min, fps_graph_.max); base 386 cc/layers/heads_up_display_layer_impl.cc base::TimeDelta delta = fps_counter->RecentFrameInterval(it.index() + 1); base 489 cc/layers/heads_up_display_layer_impl.cc base::StringPrintf("%6.1f MB used", base 496 cc/layers/heads_up_display_layer_impl.cc text = base::StringPrintf("%6.1f MB over", base 499 cc/layers/heads_up_display_layer_impl.cc text = base::StringPrintf("%6.1f MB max ", base 540 cc/layers/heads_up_display_layer_impl.cc base::StringPrintf("%.1f", paint_time_graph_.value); base 541 cc/layers/heads_up_display_layer_impl.cc const std::string min_max_text = base::StringPrintf( base 756 cc/layers/heads_up_display_layer_impl.cc void HeadsUpDisplayLayerImpl::AsValueInto(base::DictionaryValue* dict) const { base 74 cc/layers/heads_up_display_layer_impl.h virtual void AsValueInto(base::DictionaryValue* dict) const OVERRIDE; base 132 cc/layers/heads_up_display_layer_impl.h base::TimeTicks time_of_last_graph_update_; base 862 cc/layers/layer.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner, base 866 cc/layers/layer.cc base::Bind(&RunCopyCallbackOnMainThread, base 867 cc/layers/layer.cc base::Passed(&request), base 868 cc/layers/layer.cc base::Passed(&result))); base 991 cc/layers/layer.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner = base 998 cc/layers/layer.cc base::Bind(&PostCopyCallbackToMainThread, base 1000 cc/layers/layer.cc base::Passed(&original_request))); base 1057 cc/layers/layer.cc scoped_refptr<base::debug::ConvertableToTraceFormat> Layer::TakeDebugInfo() { base 40 cc/layers/layer.h namespace base { base 68 cc/layers/layer.h class CC_EXPORT Layer : public base::RefCounted<Layer>, base 300 cc/layers/layer.h void set_did_scroll_callback(const base::Closure& callback) { base 366 cc/layers/layer.h virtual scoped_refptr<base::debug::ConvertableToTraceFormat> TakeDebugInfo(); base 535 cc/layers/layer.h friend class base::RefCounted<Layer>; base 623 cc/layers/layer.h base::Closure did_scroll_callback_; base 13 cc/layers/layer_client.h namespace base { base 26 cc/layers/layer_client.h virtual scoped_refptr<base::debug::ConvertableToTraceFormat> base 167 cc/layers/layer_impl.cc scoped_refptr<base::debug::ConvertableToTraceFormat> other) { base 616 cc/layers/layer_impl.cc base::DictionaryValue* LayerImpl::LayerTreeAsJson() const { base 617 cc/layers/layer_impl.cc base::DictionaryValue* result = new base::DictionaryValue; base 620 cc/layers/layer_impl.cc base::ListValue* list = new base::ListValue; base 625 cc/layers/layer_impl.cc list = new base::ListValue; base 633 cc/layers/layer_impl.cc list = new base::ListValue; base 650 cc/layers/layer_impl.cc scoped_ptr<base::Value> region = touch_event_handler_region_.AsValue(); base 654 cc/layers/layer_impl.cc list = new base::ListValue; base 1315 cc/layers/layer_impl.cc base::TimeDelta fadeout_delay = base::TimeDelta::FromMilliseconds( base 1317 cc/layers/layer_impl.cc base::TimeDelta fadeout_length = base::TimeDelta::FromMilliseconds( base 1412 cc/layers/layer_impl.cc void LayerImpl::AsValueInto(base::DictionaryValue* state) const { base 1454 cc/layers/layer_impl.cc scoped_ptr<base::ListValue> children_list(new base::ListValue()); base 1483 cc/layers/layer_impl.cc base::JSONReader json_reader; base 1484 cc/layers/layer_impl.cc scoped_ptr<base::Value> debug_info_value(json_reader.ReadToValue(str)); base 1486 cc/layers/layer_impl.cc if (debug_info_value->IsType(base::Value::TYPE_DICTIONARY)) { base 1487 cc/layers/layer_impl.cc base::DictionaryValue* dictionary_value = NULL; base 1500 cc/layers/layer_impl.cc scoped_ptr<base::Value> LayerImpl::AsValue() const { base 1501 cc/layers/layer_impl.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 1503 cc/layers/layer_impl.cc return state.PassAs<base::Value>(); base 37 cc/layers/layer_impl.h namespace base { base 456 cc/layers/layer_impl.h virtual base::DictionaryValue* LayerTreeAsJson() const; base 506 cc/layers/layer_impl.h scoped_ptr<base::Value> AsValue() const; base 524 cc/layers/layer_impl.h scoped_refptr<base::debug::ConvertableToTraceFormat> other); base 541 cc/layers/layer_impl.h virtual void AsValueInto(base::DictionaryValue* dict) const; base 668 cc/layers/layer_impl.h scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; base 38 cc/layers/layer_perftest.cc base::TimeDelta::FromMilliseconds(kTimeLimitMillis), base 356 cc/layers/nine_patch_layer_impl.cc base::DictionaryValue* NinePatchLayerImpl::LayerTreeAsJson() const { base 357 cc/layers/nine_patch_layer_impl.cc base::DictionaryValue* result = LayerImpl::LayerTreeAsJson(); base 359 cc/layers/nine_patch_layer_impl.cc base::ListValue* list = new base::ListValue; base 366 cc/layers/nine_patch_layer_impl.cc list = new base::ListValue; base 373 cc/layers/nine_patch_layer_impl.cc base::FundamentalValue* fill_center = base 374 cc/layers/nine_patch_layer_impl.cc base::Value::CreateBooleanValue(fill_center_); base 18 cc/layers/nine_patch_layer_impl.h namespace base { base 67 cc/layers/nine_patch_layer_impl.h virtual base::DictionaryValue* LayerTreeAsJson() const OVERRIDE; base 216 cc/layers/painted_scrollbar_layer.cc base::AutoReset<bool> ignore_set_needs_commit(&ignore_set_needs_commit_, base 36 cc/layers/picture_image_layer_impl_unittest.cc : proxy_(base::MessageLoopProxy::current()), base 351 cc/layers/picture_layer_impl.cc base::TimeTicks()).InSecondsF(); base 1232 cc/layers/picture_layer_impl.cc void PictureLayerImpl::AsValueInto(base::DictionaryValue* state) const { base 1241 cc/layers/picture_layer_impl.cc scoped_ptr<base::ListValue> coverage_tiles(new base::ListValue); base 1248 cc/layers/picture_layer_impl.cc scoped_ptr<base::DictionaryValue> tile_data(new base::DictionaryValue); base 159 cc/layers/picture_layer_impl.h virtual void AsValueInto(base::DictionaryValue* dict) const OVERRIDE; base 29 cc/layers/picture_layer_impl_perftest.cc proxy_(base::MessageLoopProxy::current()), base 57 cc/layers/picture_layer_impl_perftest.cc void EndTest() { elapsed_ = base::TimeTicks::HighResNow() - start_time_; } base 62 cc/layers/picture_layer_impl_perftest.cc start_time_ = base::TimeTicks::HighResNow(); base 65 cc/layers/picture_layer_impl_perftest.cc base::TimeDelta elapsed = base::TimeTicks::HighResNow() - start_time_; base 66 cc/layers/picture_layer_impl_perftest.cc if (elapsed >= base::TimeDelta::FromMilliseconds(kTimeLimitMillis)) { base 77 cc/layers/picture_layer_impl_perftest.cc start_time_ = base::TimeTicks(); base 101 cc/layers/picture_layer_impl_perftest.cc base::TimeTicks start_time_; base 102 cc/layers/picture_layer_impl_perftest.cc base::TimeDelta elapsed_; base 47 cc/layers/picture_layer_impl_unittest.cc : proxy_(base::MessageLoopProxy::current()), base 54 cc/layers/picture_layer_impl_unittest.cc : proxy_(base::MessageLoopProxy::current()), base 369 cc/layers/picture_layer_impl_unittest.cc base::TimeTicks time_ticks; base 400 cc/layers/picture_layer_impl_unittest.cc time_ticks += base::TimeDelta::FromMilliseconds(200); base 412 cc/layers/picture_layer_impl_unittest.cc time_ticks += base::TimeDelta::FromMilliseconds(200); base 598 cc/layers/scrollbar_layer_unittest.cc typedef base::hash_map<UIResourceId, UIResourceBitmap> base 63 cc/layers/surface_layer_impl.cc void SurfaceLayerImpl::AsValueInto(base::DictionaryValue* dict) const { base 36 cc/layers/surface_layer_impl.h virtual void AsValueInto(base::DictionaryValue* dict) const OVERRIDE; base 189 cc/layers/texture_layer.cc release = SingleReleaseCallback::Create(base::Bind(&IgnoreReleaseCallback)); base 341 cc/layers/texture_layer.cc base::AutoLock lock(arguments_lock_); base 353 cc/layers/texture_layer.cc base::Bind(&TextureMailboxHolder::ReturnAndReleaseOnImplThread, this)); base 374 cc/layers/texture_layer.cc FROM_HERE, base::Bind(&TextureMailboxHolder::InternalRelease, this)); base 25 cc/layers/texture_layer.h : public base::RefCountedThreadSafe<TextureMailboxHolder> { base 55 cc/layers/texture_layer.h friend class base::RefCountedThreadSafe<TextureMailboxHolder>; base 78 cc/layers/texture_layer.h base::Lock arguments_lock_; base 37 cc/layers/texture_layer_impl_unittest.cc SingleReleaseCallback::Create(base::Bind(&IgnoreCallback))); base 108 cc/layers/texture_layer_unittest.cc void(base::SharedMemory* shared_memory, base 119 cc/layers/texture_layer_unittest.cc shared_memory_(new base::SharedMemory) { base 120 cc/layers/texture_layer_unittest.cc release_mailbox1_ = base::Bind(&MockMailboxCallback::Release, base 121 cc/layers/texture_layer_unittest.cc base::Unretained(&mock_callback_), base 123 cc/layers/texture_layer_unittest.cc release_mailbox2_ = base::Bind(&MockMailboxCallback::Release, base 124 cc/layers/texture_layer_unittest.cc base::Unretained(&mock_callback_), base 132 cc/layers/texture_layer_unittest.cc release_mailbox3_ = base::Bind(&MockMailboxCallback::Release2, base 133 cc/layers/texture_layer_unittest.cc base::Unretained(&mock_callback_), base 149 cc/layers/texture_layer_unittest.cc scoped_ptr<base::SharedMemory> shared_memory_; base 211 cc/layers/texture_layer_unittest.cc layer_tree_host_->Composite(base::TimeTicks()); base 229 cc/layers/texture_layer_unittest.cc layer_tree_host_->Composite(base::TimeTicks()); base 235 cc/layers/texture_layer_unittest.cc layer_tree_host_->Composite(base::TimeTicks()); base 273 cc/layers/texture_layer_unittest.cc layer_tree_host_->Composite(base::TimeTicks()); base 284 cc/layers/texture_layer_unittest.cc layer_tree_host_->Composite(base::TimeTicks()); base 295 cc/layers/texture_layer_unittest.cc layer_tree_host_->Composite(base::TimeTicks()); base 300 cc/layers/texture_layer_unittest.cc layer_tree_host_->Composite(base::TimeTicks()); base 312 cc/layers/texture_layer_unittest.cc layer_tree_host_->Composite(base::TimeTicks()); base 353 cc/layers/texture_layer_unittest.cc layer_tree_host_->Composite(base::TimeTicks()); base 576 cc/layers/texture_layer_unittest.cc void Wait(const base::Thread& thread) { base 579 cc/layers/texture_layer_unittest.cc base::WaitableEvent event(manual_reset, initially_signaled); base 582 cc/layers/texture_layer_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&event))); base 600 cc/layers/texture_layer_unittest.cc void CapturePostTasksAndWait(base::WaitableEvent* begin_capture, base 601 cc/layers/texture_layer_unittest.cc base::WaitableEvent* wait_for_capture, base 602 cc/layers/texture_layer_unittest.cc base::WaitableEvent* stop_capture) { base 612 cc/layers/texture_layer_unittest.cc base::Thread main_thread_; base 622 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateMainRef, base 623 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 632 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateImplRef, base 633 cc/layers/texture_layer_unittest.cc base::Unretained(this), base 641 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateImplRef, base 642 cc/layers/texture_layer_unittest.cc base::Unretained(this), base 665 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::ReleaseMainRef, base 666 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 677 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateMainRef, base 678 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 687 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateImplRef, base 688 cc/layers/texture_layer_unittest.cc base::Unretained(this), base 696 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateImplRef, base 697 cc/layers/texture_layer_unittest.cc base::Unretained(this), base 709 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::ReleaseMainRef, base 710 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 733 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateMainRef, base 734 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 743 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateImplRef, base 744 cc/layers/texture_layer_unittest.cc base::Unretained(this), base 752 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateImplRef, base 753 cc/layers/texture_layer_unittest.cc base::Unretained(this), base 762 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::ReleaseMainRef, base 763 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 789 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateMainRef, base 790 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 799 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateImplRef, base 800 cc/layers/texture_layer_unittest.cc base::Unretained(this), base 808 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CreateImplRef, base 809 cc/layers/texture_layer_unittest.cc base::Unretained(this), base 818 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::ReleaseMainRef, base 819 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 826 cc/layers/texture_layer_unittest.cc base::WaitableEvent begin_capture(manual_reset, initially_signaled); base 827 cc/layers/texture_layer_unittest.cc base::WaitableEvent wait_for_capture(manual_reset, initially_signaled); base 828 cc/layers/texture_layer_unittest.cc base::WaitableEvent stop_capture(manual_reset, initially_signaled); base 834 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerMailboxHolderTest::CapturePostTasksAndWait, base 835 cc/layers/texture_layer_unittest.cc base::Unretained(this), base 878 cc/layers/texture_layer_unittest.cc base::Bind( base 880 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 987 cc/layers/texture_layer_unittest.cc base::ThreadChecker main_thread_; base 1097 cc/layers/texture_layer_unittest.cc base::Bind( base 1486 cc/layers/texture_layer_unittest.cc base::AutoLock lock(lock_); base 1502 cc/layers/texture_layer_unittest.cc base::AutoLock lock(lock_); base 1516 cc/layers/texture_layer_unittest.cc base::AutoLock lock(lock_); base 1551 cc/layers/texture_layer_unittest.cc base::Lock lock_; base 1748 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerNoExtraCommitForMailboxTest::MailboxReleased, base 1749 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 1851 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerChangeInvisibleMailboxTest::MailboxReleased, base 1852 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 1992 cc/layers/texture_layer_unittest.cc base::Bind(&TextureLayerReleaseResourcesBase::MailboxReleased, base 1993 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 2142 cc/layers/texture_layer_unittest.cc base::Bind( base 2144 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 2194 cc/layers/texture_layer_unittest.cc base::ThreadChecker main_thread_; base 2215 cc/layers/texture_layer_unittest.cc base::Bind( base 2217 cc/layers/texture_layer_unittest.cc base::Unretained(this))); base 2270 cc/layers/texture_layer_unittest.cc base::ThreadChecker main_thread_; base 726 cc/layers/tiled_layer.cc base::AutoReset<bool> ignore_set_needs_commit(&ignore_set_needs_commit_, base 102 cc/layers/tiled_layer_impl.cc void TiledLayerImpl::AsValueInto(base::DictionaryValue* state) const { base 60 cc/layers/tiled_layer_impl.h virtual void AsValueInto(base::DictionaryValue* state) const OVERRIDE; base 55 cc/layers/tiled_layer_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) { base 63 cc/layers/tiled_layer_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 66 cc/layers/tiled_layer_unittest.cc base::TimeDelta::FromSeconds(5)); base 85 cc/layers/tiled_layer_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) base 92 cc/layers/tiled_layer_unittest.cc base::RunLoop run_loop_; base 251 cc/layers/tiled_layer_unittest.cc base::Thread impl_thread_; base 143 cc/layers/ui_resource_layer_impl.cc base::DictionaryValue* UIResourceLayerImpl::LayerTreeAsJson() const { base 144 cc/layers/ui_resource_layer_impl.cc base::DictionaryValue* result = LayerImpl::LayerTreeAsJson(); base 148 cc/layers/ui_resource_layer_impl.cc base::ListValue* list = new base::ListValue; base 17 cc/layers/ui_resource_layer_impl.h namespace base { base 51 cc/layers/ui_resource_layer_impl.h virtual base::DictionaryValue* LayerTreeAsJson() const OVERRIDE; base 71 cc/layers/video_frame_provider_client_impl.cc base::AutoLock locker(provider_lock_); base 20 cc/layers/video_frame_provider_client_impl.h public base::RefCounted<VideoFrameProviderClientImpl> { base 48 cc/layers/video_frame_provider_client_impl.h friend class base::RefCounted<VideoFrameProviderClientImpl>; base 54 cc/layers/video_frame_provider_client_impl.h base::Lock provider_lock_; base 31 cc/layers/video_layer_impl_unittest.cc base::TimeDelta()); base 11 cc/output/begin_frame_args.cc : frame_time(base::TimeTicks()), base 12 cc/output/begin_frame_args.cc deadline(base::TimeTicks()), base 13 cc/output/begin_frame_args.cc interval(base::TimeDelta::FromMicroseconds(-1)) { base 16 cc/output/begin_frame_args.cc BeginFrameArgs::BeginFrameArgs(base::TimeTicks frame_time, base 17 cc/output/begin_frame_args.cc base::TimeTicks deadline, base 18 cc/output/begin_frame_args.cc base::TimeDelta interval) base 24 cc/output/begin_frame_args.cc BeginFrameArgs BeginFrameArgs::Create(base::TimeTicks frame_time, base 25 cc/output/begin_frame_args.cc base::TimeTicks deadline, base 26 cc/output/begin_frame_args.cc base::TimeDelta interval) { base 34 cc/output/begin_frame_args.cc base::TimeTicks(), base 39 cc/output/begin_frame_args.cc base::TimeTicks now = gfx::FrameTime::Now(); base 46 cc/output/begin_frame_args.cc base::TimeTicks now = gfx::FrameTime::Now(); base 58 cc/output/begin_frame_args.cc base::TimeDelta BeginFrameArgs::DefaultDeadlineAdjustment() { base 59 cc/output/begin_frame_args.cc return base::TimeDelta::FromMicroseconds(-16666 / 3); base 62 cc/output/begin_frame_args.cc base::TimeDelta BeginFrameArgs::DefaultInterval() { base 63 cc/output/begin_frame_args.cc return base::TimeDelta::FromMicroseconds(16666); base 66 cc/output/begin_frame_args.cc base::TimeDelta BeginFrameArgs::DefaultRetroactiveBeginFramePeriod() { base 67 cc/output/begin_frame_args.cc return base::TimeDelta::FromMicroseconds(4444); base 19 cc/output/begin_frame_args.h static BeginFrameArgs Create(base::TimeTicks frame_time, base 20 cc/output/begin_frame_args.h base::TimeTicks deadline, base 21 cc/output/begin_frame_args.h base::TimeDelta interval); base 28 cc/output/begin_frame_args.h static base::TimeDelta DefaultDeadlineAdjustment(); base 32 cc/output/begin_frame_args.h static base::TimeDelta DefaultInterval(); base 38 cc/output/begin_frame_args.h static base::TimeDelta DefaultRetroactiveBeginFramePeriod(); base 40 cc/output/begin_frame_args.h bool IsValid() const { return interval >= base::TimeDelta(); } base 42 cc/output/begin_frame_args.h base::TimeTicks frame_time; base 43 cc/output/begin_frame_args.h base::TimeTicks deadline; base 44 cc/output/begin_frame_args.h base::TimeDelta interval; base 47 cc/output/begin_frame_args.h BeginFrameArgs(base::TimeTicks frame_time, base 48 cc/output/begin_frame_args.h base::TimeTicks deadline, base 49 cc/output/begin_frame_args.h base::TimeDelta interval); base 23 cc/output/context_provider.h class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> { base 61 cc/output/context_provider.h typedef base::Closure LostContextCallback; base 67 cc/output/context_provider.h typedef base::Callback<void(const ManagedMemoryPolicy& policy)> base 73 cc/output/context_provider.h friend class base::RefCountedThreadSafe<ContextProvider>; base 46 cc/output/copy_output_request.cc base::ResetAndReturn(&result_callback_).Run(result.Pass()); base 22 cc/output/copy_output_request.h typedef base::Callback<void(scoped_ptr<CopyOutputResult> result)> base 116 cc/output/delegating_renderer.cc base::Bind(&AppendToArray, &resources); base 156 cc/output/direct_renderer.cc base::hash_map<RenderPass::Id, gfx::Size> render_passes_in_frame; base 163 cc/output/direct_renderer.cc base::ScopedPtrHashMap<RenderPass::Id, ScopedResource>::const_iterator base 168 cc/output/direct_renderer.cc base::hash_map<RenderPass::Id, gfx::Size>::const_iterator it = base 126 cc/output/direct_renderer.h base::ScopedPtrHashMap<RenderPass::Id, ScopedResource> render_pass_textures_; base 221 cc/output/filter_operation.cc scoped_ptr<base::Value> FilterOperation::AsValue() const { base 222 cc/output/filter_operation.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue); base 243 cc/output/filter_operation.cc scoped_ptr<base::ListValue> matrix(new base::ListValue); base 266 cc/output/filter_operation.cc return value.PassAs<base::Value>(); base 17 cc/output/filter_operation.h namespace base { base 194 cc/output/filter_operation.h scoped_ptr<base::Value> AsValue() const; base 197 cc/output/filter_operations.cc scoped_ptr<base::Value> FilterOperations::AsValue() const { base 198 cc/output/filter_operations.cc scoped_ptr<base::ListValue> value(new base::ListValue); base 201 cc/output/filter_operations.cc return value.PassAs<base::Value>(); base 14 cc/output/filter_operations.h namespace base { base 71 cc/output/filter_operations.h scoped_ptr<base::Value> AsValue() const; base 175 cc/output/gl_renderer.cc base::CancelableClosure finished_read_pixels_callback; base 2323 cc/output/gl_renderer.cc base::Bind(&GLRenderer::PassOnSkBitmap, base 2324 cc/output/gl_renderer.cc base::Unretained(this), base 2325 cc/output/gl_renderer.cc base::Passed(&bitmap), base 2326 cc/output/gl_renderer.cc base::Passed(&lock)); base 2422 cc/output/gl_renderer.cc base::Closure finished_callback = base::Bind(&GLRenderer::FinishedReadback, base 2423 cc/output/gl_renderer.cc base::Unretained(this), base 2432 cc/output/gl_renderer.cc base::Closure cancelable_callback = base 199 cc/output/gl_renderer.h typedef base::Callback<void(scoped_ptr<CopyOutputRequest> copy_request, base 753 cc/output/gl_renderer_unittest.cc provider->support()->SetSurfaceVisibleCallback(base::Bind( base 755 cc/output/gl_renderer_unittest.cc base::Unretained(context))); base 1764 cc/output/gl_renderer_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 1769 cc/output/gl_renderer_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 1788 cc/output/gl_renderer_unittest.cc sync_point, base::Bind(&SyncPointCallback, &sync_point_callback_count)); base 1795 cc/output/gl_renderer_unittest.cc base::MessageLoop::current()->PostTask( base 1796 cc/output/gl_renderer_unittest.cc FROM_HERE, base::Bind(&OtherCallback, &other_callback_count)); base 1798 cc/output/gl_renderer_unittest.cc base::MessageLoop::current()->Run(); base 1817 cc/output/gl_renderer_unittest.cc sync_point, base::Bind(&SyncPointCallback, &sync_point_callback_count)); base 1824 cc/output/gl_renderer_unittest.cc base::MessageLoop::current()->PostTask( base 1825 cc/output/gl_renderer_unittest.cc FROM_HERE, base::Bind(&OtherCallback, &other_callback_count)); base 1827 cc/output/gl_renderer_unittest.cc base::MessageLoop::current()->Run(); base 88 cc/output/output_surface.cc base::SingleThreadTaskRunner* task_runner, base 90 cc/output/output_surface.cc base::TimeDelta interval) { base 106 cc/output/output_surface.cc BeginFrameArgs::DefaultDeadlineAdjustment() : base::TimeDelta()); base 120 cc/output/output_surface.cc void OutputSurface::CommitVSyncParameters(base::TimeTicks timebase, base 121 cc/output/output_surface.cc base::TimeDelta interval) { base 125 cc/output/output_surface.cc (timebase - base::TimeTicks()).InSecondsF(), base 178 cc/output/output_surface.cc base::TimeTicks OutputSurface::RetroactiveBeginImplFrameDeadline() { base 181 cc/output/output_surface.cc base::TimeTicks alternative_deadline = base 193 cc/output/output_surface.cc base::MessageLoop::current()->PostTask( base 195 cc/output/output_surface.cc base::Bind(&OutputSurface::CheckForRetroactiveBeginImplFrame, base 317 cc/output/output_surface.cc base::Bind(&OutputSurface::DidLoseOutputSurface, base 318 cc/output/output_surface.cc base::Unretained(this))); base 320 cc/output/output_surface.cc base::Bind(&OutputSurface::OnSwapBuffersComplete, base 321 cc/output/output_surface.cc base::Unretained(this))); base 323 cc/output/output_surface.cc base::Bind(&OutputSurface::SetMemoryPolicy, base 324 cc/output/output_surface.cc base::Unretained(this))); base 344 cc/output/output_surface.cc support->SetSwapBuffersCompleteCallback(base::Closure()); base 406 cc/output/output_surface.cc base::TimeDelta OutputSurface::GpuLatencyEstimate() { base 410 cc/output/output_surface.cc return base::TimeDelta(); base 437 cc/output/output_surface.cc base::TimeDelta latency = base::TimeDelta::FromMicroseconds(value); base 438 cc/output/output_surface.cc base::TimeDelta latency_estimate = GpuLatencyEstimate(); base 441 cc/output/output_surface.cc base::TimeDelta latency_overestimate; base 442 cc/output/output_surface.cc base::TimeDelta latency_underestimate; base 449 cc/output/output_surface.cc base::TimeDelta::FromMilliseconds(1), base 450 cc/output/output_surface.cc base::TimeDelta::FromMilliseconds(100), base 454 cc/output/output_surface.cc base::TimeDelta::FromMilliseconds(1), base 455 cc/output/output_surface.cc base::TimeDelta::FromMilliseconds(100), base 459 cc/output/output_surface.cc base::TimeDelta::FromMilliseconds(1), base 460 cc/output/output_surface.cc base::TimeDelta::FromMilliseconds(100), base 480 cc/output/output_surface.cc base::MessageLoop::current()->PostTask( base 482 cc/output/output_surface.cc base::Bind(&OutputSurface::OnSwapBuffersComplete, base 21 cc/output/output_surface.h namespace base { class SingleThreadTaskRunner; } base 109 cc/output/output_surface.h base::SingleThreadTaskRunner* task_runner, base 111 cc/output/output_surface.h base::TimeDelta interval); base 141 cc/output/output_surface.h base::TimeDelta GpuLatencyEstimate(); base 169 cc/output/output_surface.h void CommitVSyncParameters(base::TimeTicks timebase, base 170 cc/output/output_surface.h base::TimeDelta interval); base 198 cc/output/output_surface.h virtual base::TimeTicks RetroactiveBeginImplFrameDeadline(); base 216 cc/output/output_surface.h base::WeakPtrFactory<OutputSurface> weak_ptr_factory_; base 48 cc/output/output_surface_client.h virtual void SetTreeActivationCallback(const base::Closure& callback) = 0; base 49 cc/output/output_surface_unittest.cc void CommitVSyncParametersForTesting(base::TimeTicks timebase, base 50 cc/output/output_surface_unittest.cc base::TimeDelta interval) { base 73 cc/output/output_surface_unittest.cc base::TimeDelta period_override) { base 85 cc/output/output_surface_unittest.cc virtual base::TimeTicks RetroactiveBeginImplFrameDeadline() OVERRIDE { base 94 cc/output/output_surface_unittest.cc return base::TimeTicks(); base 99 cc/output/output_surface_unittest.cc base::TimeDelta retroactive_period_override_; base 234 cc/output/output_surface_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 235 cc/output/output_surface_unittest.cc new base::TestSimpleTaskRunner; base 237 cc/output/output_surface_unittest.cc const base::TimeDelta display_refresh_interval = base 247 cc/output/output_surface_unittest.cc false, false, base::TimeDelta()); base 323 cc/output/output_surface_unittest.cc true, false, base::TimeDelta()); base 375 cc/output/output_surface_unittest.cc base::TimeDelta big_interval = base::TimeDelta::FromSeconds(10); base 378 cc/output/output_surface_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 379 cc/output/output_surface_unittest.cc new base::TestSimpleTaskRunner; base 381 cc/output/output_surface_unittest.cc const base::TimeDelta display_refresh_interval = big_interval; base 391 cc/output/output_surface_unittest.cc gfx::FrameTime::Now() - base::TimeDelta::FromSeconds(1), big_interval); base 127 cc/output/overlay_unittest.cc SingleReleaseCallback::Create(base::Bind(&MailboxReleased)); base 515 cc/output/overlay_unittest.cc provider_->support()->SetScheduleOverlayPlaneCallback(base::Bind( base 516 cc/output/overlay_unittest.cc &MockOverlayScheduler::Schedule, base::Unretained(&scheduler_))); base 222 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green.png")), base 265 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green_small.png")), base 297 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green_alpha.png")), base 332 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green_alpha.png")), base 365 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green_alpha.png")), base 401 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green_alpha.png")), base 418 cc/output/renderer_pixeltest.cc format, rect.size(), rect, rect.size(), base::TimeDelta()); base 528 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("yuv_stripes.png")), base 556 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("yuv_stripes_offset.png")), base 588 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("yuv_stripes_alpha.png")), base 620 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("black.png")), base 717 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("blue_yellow_alpha.png")), base 792 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("blue_yellow_alpha.png")), base 868 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("blue_yellow_filter_chain.png")), base 968 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("blue_yellow_alpha_translate.png")), base 1022 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("blue_yellow.png")), base 1089 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("blue_yellow_anti_aliasing.png")), base 1196 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("image_mask_of_layer.png")), base 1341 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("background_filter.png")), base 1399 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("four_blue_green_checkers.png")), base 1422 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green.png")), base 1470 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("four_blue_green_checkers.png")), base 1495 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green_with_blue_corner.png")), base 1541 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("anti_aliasing.png")), base 1594 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("axis_aligned.png")), base 1636 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("force_anti_aliasing_off.png")), base 1678 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("anti_aliasing_perspective.png")), base 1762 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green_with_blue_corner.png")), base 1834 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green_alpha.png")), base 1912 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("four_blue_green_checkers.png")), base 2069 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("four_blue_green_checkers.png")), base 2132 cc/output/renderer_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("wrap_mode_repeat.png")), base 11 cc/output/software_frame_data.cc handle(base::SharedMemory::NULLHandle()) {} base 22 cc/output/software_frame_data.cc base::CheckedNumeric<size_t> SoftwareFrameData::CheckedSizeInBytes() const { base 23 cc/output/software_frame_data.cc return base::CheckedNumeric<size_t>(4) * base 24 cc/output/software_frame_data.cc base::CheckedNumeric<size_t>(size.width()) * base 25 cc/output/software_frame_data.cc base::CheckedNumeric<size_t>(size.height()); base 23 cc/output/software_frame_data.h base::SharedMemoryHandle handle; base 26 cc/output/software_frame_data.h base::CheckedNumeric<size_t> CheckedSizeInBytes() const; base 40 cc/output/software_output_device.cc frame_data->handle = base::SharedMemory::NULLHandle(); base 49 cc/quads/checkerboard_draw_quad.cc void CheckerboardDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 39 cc/quads/checkerboard_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 52 cc/quads/content_draw_quad_base.cc void ContentDrawQuadBase::ExtendValue(base::DictionaryValue* value) const { base 45 cc/quads/content_draw_quad_base.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 56 cc/quads/debug_border_draw_quad.cc void DebugBorderDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 43 cc/quads/debug_border_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 108 cc/quads/draw_quad.cc scoped_ptr<base::Value> DrawQuad::AsValue() const { base 109 cc/quads/draw_quad.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 149 cc/quads/draw_quad.cc return value.PassAs<base::Value>(); base 13 cc/quads/draw_quad.h namespace base { base 100 cc/quads/draw_quad.h typedef base::Callback<ResourceId(ResourceId)> ResourceIteratorCallback; base 129 cc/quads/draw_quad.h scoped_ptr<base::Value> AsValue() const; base 140 cc/quads/draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const = 0; base 686 cc/quads/draw_quad_unittest.cc quad->IterateResources(base::Bind( base 687 cc/quads/draw_quad_unittest.cc &DrawQuadIteratorTest::IncrementResourceId, base::Unretained(this))); base 63 cc/quads/io_surface_draw_quad.cc void IOSurfaceDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 53 cc/quads/io_surface_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 86 cc/quads/picture_draw_quad.cc void PictureDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 60 cc/quads/picture_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 25 cc/quads/render_pass.cc return reinterpret_cast<void*>(base::HashPair(layer_id, index)); base 145 cc/quads/render_pass.cc scoped_ptr<base::Value> RenderPass::AsValue() const { base 146 cc/quads/render_pass.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 151 cc/quads/render_pass.cc scoped_ptr<base::ListValue> shared_states_value(new base::ListValue()); base 156 cc/quads/render_pass.cc scoped_ptr<base::ListValue> quad_list_value(new base::ListValue()); base 165 cc/quads/render_pass.cc return value.PassAs<base::Value>(); base 20 cc/quads/render_pass.h namespace base { base 89 cc/quads/render_pass.h scoped_ptr<base::Value> AsValue() const; base 127 cc/quads/render_pass.h return base::HashPair(key.layer_id, key.index); base 133 cc/quads/render_pass.h return base::HashPair(key.layer_id, key.index); base 143 cc/quads/render_pass.h typedef base::hash_map<RenderPass::Id, RenderPass*> RenderPassIdHashMap; base 98 cc/quads/render_pass_draw_quad.cc void RenderPassDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 71 cc/quads/render_pass_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 46 cc/quads/shared_quad_state.cc scoped_ptr<base::Value> SharedQuadState::AsValue() const { base 47 cc/quads/shared_quad_state.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 61 cc/quads/shared_quad_state.cc return value.PassAs<base::Value>(); base 14 cc/quads/shared_quad_state.h namespace base { base 39 cc/quads/shared_quad_state.h scoped_ptr<base::Value> AsValue() const; base 54 cc/quads/solid_color_draw_quad.cc void SolidColorDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 43 cc/quads/solid_color_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 56 cc/quads/stream_video_draw_quad.cc void StreamVideoDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 44 cc/quads/stream_video_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 48 cc/quads/surface_draw_quad.cc void SurfaceDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 39 cc/quads/surface_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 90 cc/quads/texture_draw_quad.cc void TextureDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 96 cc/quads/texture_draw_quad.cc scoped_ptr<base::ListValue> vertex_opacity_value(new base::ListValue); base 59 cc/quads/texture_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 68 cc/quads/tile_draw_quad.cc void TileDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 45 cc/quads/tile_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 77 cc/quads/yuv_video_draw_quad.cc void YUVVideoDrawQuad::ExtendValue(base::DictionaryValue* value) const { base 56 cc/quads/yuv_video_draw_quad.h virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; base 75 cc/resources/bitmap_content_layer_updater.cc base::TimeTicks start_time = base 82 cc/resources/bitmap_content_layer_updater.cc base::TimeDelta duration = base 77 cc/resources/bitmap_skpicture_content_layer_updater.cc base::TimeTicks start_time = base 80 cc/resources/bitmap_skpicture_content_layer_updater.cc base::TimeDelta duration = base 18 cc/resources/direct_raster_worker_pool.cc base::SequencedTaskRunner* task_runner, base 26 cc/resources/direct_raster_worker_pool.cc base::SequencedTaskRunner* task_runner, base 139 cc/resources/direct_raster_worker_pool.cc base::Bind(&DirectRasterWorkerPool::RunTasksOnOriginThread, base 19 cc/resources/direct_raster_worker_pool.h base::SequencedTaskRunner* task_runner, base 36 cc/resources/direct_raster_worker_pool.h DirectRasterWorkerPool(base::SequencedTaskRunner* task_runner, base 59 cc/resources/direct_raster_worker_pool.h base::WeakPtrFactory<DirectRasterWorkerPool> weak_factory_; base 15 cc/resources/image_raster_worker_pool.cc base::SequencedTaskRunner* task_runner, base 23 cc/resources/image_raster_worker_pool.cc base::SequencedTaskRunner* task_runner, base 161 cc/resources/image_raster_worker_pool.cc scoped_ptr<base::Value> ImageRasterWorkerPool::StateAsValue() const { base 162 cc/resources/image_raster_worker_pool.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue); base 166 cc/resources/image_raster_worker_pool.cc return state.PassAs<base::Value>(); base 19 cc/resources/image_raster_worker_pool.h base::SequencedTaskRunner* task_runner, base 36 cc/resources/image_raster_worker_pool.h ImageRasterWorkerPool(base::SequencedTaskRunner* task_runner, base 46 cc/resources/image_raster_worker_pool.h scoped_ptr<base::Value> StateAsValue() const; base 77 cc/resources/layer_tiling_data.h typedef base::ScopedPtrHashMap<TileMapKey, Tile> TileMap; base 21 cc/resources/layer_updater.h class CC_EXPORT LayerUpdater : public base::RefCounted<LayerUpdater> { base 70 cc/resources/layer_updater.h friend class base::RefCounted<LayerUpdater>; base 13 cc/resources/managed_tile_state.cc scoped_ptr<base::Value> ManagedTileBinAsValue(ManagedTileBin bin) { base 16 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>( base 17 cc/resources/managed_tile_state.cc new base::StringValue("NOW_AND_READY_TO_DRAW_BIN")); base 19 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>(new base::StringValue("NOW_BIN")); base 21 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>( base 22 cc/resources/managed_tile_state.cc new base::StringValue("SOON_BIN")); base 24 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>( base 25 cc/resources/managed_tile_state.cc new base::StringValue("EVENTUALLY_AND_ACTIVE_BIN")); base 27 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>( base 28 cc/resources/managed_tile_state.cc new base::StringValue("EVENTUALLY_BIN")); base 30 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>( base 31 cc/resources/managed_tile_state.cc new base::StringValue("AT_LAST_AND_ACTIVE_BIN")); base 33 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>( base 34 cc/resources/managed_tile_state.cc new base::StringValue("AT_LAST_BIN")); base 36 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>( base 37 cc/resources/managed_tile_state.cc new base::StringValue("NEVER_BIN")); base 40 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>( base 41 cc/resources/managed_tile_state.cc new base::StringValue("Invalid Bin (NUM_BINS)")); base 43 cc/resources/managed_tile_state.cc return scoped_ptr<base::Value>( base 44 cc/resources/managed_tile_state.cc new base::StringValue("Invalid Bin (UNKNOWN)")); base 82 cc/resources/managed_tile_state.cc scoped_ptr<base::Value> ManagedTileState::AsValue() const { base 92 cc/resources/managed_tile_state.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 109 cc/resources/managed_tile_state.cc return state.PassAs<base::Value>(); base 35 cc/resources/managed_tile_state.h scoped_ptr<base::Value> ManagedTileBinAsValue(ManagedTileBin bin); base 111 cc/resources/managed_tile_state.h scoped_ptr<base::Value> AsValue() const; base 109 cc/resources/picture.cc scoped_refptr<Picture> Picture::CreateFromSkpValue(const base::Value* value) { base 116 cc/resources/picture.cc base::Base64Decode(encoded, &decoded); base 130 cc/resources/picture.cc scoped_refptr<Picture> Picture::CreateFromValue(const base::Value* raw_value) { base 131 cc/resources/picture.cc const base::DictionaryValue* value = NULL; base 141 cc/resources/picture.cc base::Base64Decode(encoded, &decoded); base 144 cc/resources/picture.cc const base::Value* layer_rect_value = NULL; base 152 cc/resources/picture.cc const base::Value* opaque_rect_value = NULL; base 386 cc/resources/picture.cc scoped_ptr<base::Value> Picture::AsValue() const { base 393 cc/resources/picture.cc scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); base 401 cc/resources/picture.cc base::Base64Encode(std::string(serialized_picture.get(), serialized_size), base 404 cc/resources/picture.cc return res.PassAs<base::Value>(); base 420 cc/resources/picture.cc base::LazyInstance<Picture::PixelRefs> base 520 cc/resources/picture.cc scoped_refptr<base::debug::ConvertableToTraceFormat> base 522 cc/resources/picture.cc scoped_ptr<base::DictionaryValue> raster_data(new base::DictionaryValue()); base 528 cc/resources/picture.cc scoped_refptr<base::debug::ConvertableToTraceFormat> base 530 cc/resources/picture.cc scoped_ptr<base::DictionaryValue> record_data(new base::DictionaryValue()); base 28 cc/resources/picture.h namespace base { base 41 cc/resources/picture.h : public base::RefCountedThreadSafe<Picture> { base 45 cc/resources/picture.h typedef base::hash_map<PixelRefMapKey, PixelRefs> PixelRefMap; base 61 cc/resources/picture.h static scoped_refptr<Picture> CreateFromValue(const base::Value* value); base 62 cc/resources/picture.h static scoped_refptr<Picture> CreateFromSkpValue(const base::Value* value); base 84 cc/resources/picture.h scoped_ptr<base::Value> AsValue() const; base 111 cc/resources/picture.h static base::LazyInstance<PixelRefs> empty_pixel_refs_; base 165 cc/resources/picture.h scoped_refptr<base::debug::ConvertableToTraceFormat> base 167 cc/resources/picture.h scoped_refptr<base::debug::ConvertableToTraceFormat> base 170 cc/resources/picture.h base::ThreadChecker raster_thread_checker_; base 172 cc/resources/picture.h friend class base::RefCountedThreadSafe<Picture>; base 588 cc/resources/picture_layer_tiling.cc scoped_ptr<base::Value> PictureLayerTiling::AsValue() const { base 589 cc/resources/picture_layer_tiling.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 594 cc/resources/picture_layer_tiling.cc return state.PassAs<base::Value>(); base 233 cc/resources/picture_layer_tiling.h scoped_ptr<base::Value> AsValue() const; base 262 cc/resources/picture_layer_tiling.h typedef base::hash_map<TileMapKey, scoped_refptr<Tile> > TileMap; base 36 cc/resources/picture_layer_tiling_perftest.cc elapsed_ = base::TimeTicks::HighResNow() - start_time_; base 42 cc/resources/picture_layer_tiling_perftest.cc start_time_ = base::TimeTicks::HighResNow(); base 45 cc/resources/picture_layer_tiling_perftest.cc base::TimeDelta elapsed = base::TimeTicks::HighResNow() - start_time_; base 46 cc/resources/picture_layer_tiling_perftest.cc if (elapsed >= base::TimeDelta::FromMilliseconds(kTimeLimitMillis)) { base 55 cc/resources/picture_layer_tiling_perftest.cc start_time_ = base::TimeTicks(); base 67 cc/resources/picture_layer_tiling_perftest.cc start_time_ = base::TimeTicks(); base 86 cc/resources/picture_layer_tiling_perftest.cc start_time_ = base::TimeTicks(); base 122 cc/resources/picture_layer_tiling_perftest.cc start_time_ = base::TimeTicks(); base 152 cc/resources/picture_layer_tiling_perftest.cc base::TimeTicks start_time_; base 153 cc/resources/picture_layer_tiling_perftest.cc base::TimeDelta elapsed_; base 330 cc/resources/picture_layer_tiling_set.cc scoped_ptr<base::Value> PictureLayerTilingSet::AsValue() const { base 331 cc/resources/picture_layer_tiling_set.cc scoped_ptr<base::ListValue> state(new base::ListValue()); base 334 cc/resources/picture_layer_tiling_set.cc return state.PassAs<base::Value>(); base 109 cc/resources/picture_layer_tiling_set.h scoped_ptr<base::Value> AsValue() const; base 131 cc/resources/picture_layer_tiling_unittest.cc base::Callback<void(Tile* tile, base 143 cc/resources/picture_layer_tiling_unittest.cc base::Callback<void(Tile* tile, base 992 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); base 999 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, true)); base 1006 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); base 1013 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); base 1022 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, true)); base 1029 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, true)); base 1036 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); base 1047 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, true)); base 1066 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); base 1077 cc/resources/picture_layer_tiling_unittest.cc base::Bind(&TilesIntersectingRectExist, visible_rect, true)); base 1092 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); base 1104 cc/resources/picture_layer_tiling_unittest.cc base::Bind(&CountExistingTiles, &num_tiles)); base 1108 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(), base::Bind(&TileExists, false)); base 1124 cc/resources/picture_layer_tiling_unittest.cc base::Bind(&TileExists, false)); base 1136 cc/resources/picture_layer_tiling_unittest.cc base::Bind(&TileExists, true)); base 1147 cc/resources/picture_layer_tiling_unittest.cc base::Bind(&TileExists, false)); base 1160 cc/resources/picture_layer_tiling_unittest.cc base::Bind(&TileExists, true)); base 239 cc/resources/picture_pile.cc base::TimeDelta best_duration = base::TimeDelta::Max(); base 241 cc/resources/picture_pile.cc base::TimeTicks start_time = stats_instrumentation->StartRecording(); base 248 cc/resources/picture_pile.cc base::TimeDelta duration = base 234 cc/resources/picture_pile_base.cc scoped_ptr<base::Value> PicturePileBase::AsValue() const { base 235 cc/resources/picture_pile_base.cc scoped_ptr<base::ListValue> pictures(new base::ListValue()); base 252 cc/resources/picture_pile_base.cc return pictures.PassAs<base::Value>(); base 20 cc/resources/picture_pile_base.h namespace base { base 26 cc/resources/picture_pile_base.h class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> { base 51 cc/resources/picture_pile_base.h scoped_ptr<base::Value> AsValue() const; base 83 cc/resources/picture_pile_base.h typedef base::hash_map<PictureMapKey, PictureInfo> PictureMap; base 118 cc/resources/picture_pile_base.h friend class base::RefCounted<PicturePileBase>; base 289 cc/resources/picture_pile_impl.cc base::TimeDelta best_duration = base::TimeDelta::Max(); base 294 cc/resources/picture_pile_impl.cc base::TimeTicks start_time; base 302 cc/resources/picture_pile_impl.cc base::TimeDelta duration = base 27 cc/resources/picture_pile_impl_perftest.cc base::TimeDelta::FromMilliseconds(kTimeLimitMillis), base 35 cc/resources/picture_unittest.cc scoped_ptr<base::Value> tmp; base 43 cc/resources/picture_unittest.cc tmp.reset(new base::StringValue("abc!@#$%")); base 57 cc/resources/picture_unittest.cc scoped_ptr<base::Value> serialized_one_rect( base 88 cc/resources/picture_unittest.cc scoped_ptr<base::Value> serialized_two_rect( base 403 cc/resources/picture_unittest.cc scoped_ptr<base::Value> tmp; base 411 cc/resources/picture_unittest.cc tmp.reset(new base::StringValue("abc!@#$%")); base 425 cc/resources/picture_unittest.cc scoped_ptr<base::Value> serialized_one_rect( base 428 cc/resources/picture_unittest.cc const base::DictionaryValue* value = NULL; base 432 cc/resources/picture_unittest.cc const base::Value* skp_value; base 21 cc/resources/pixel_buffer_raster_worker_pool.cc typedef base::StackVector<internal::WorkerPoolTask*, kMaxScheduledRasterTasks> base 28 cc/resources/pixel_buffer_raster_worker_pool.cc base::SequencedTaskRunner* task_runner, base 39 cc/resources/pixel_buffer_raster_worker_pool.cc base::SequencedTaskRunner* task_runner, base 199 cc/resources/pixel_buffer_raster_worker_pool.cc check_for_completed_raster_tasks_time_ = base::TimeTicks(); base 414 cc/resources/pixel_buffer_raster_worker_pool.cc base::TimeDelta delay = base 415 cc/resources/pixel_buffer_raster_worker_pool.cc base::TimeDelta::FromMilliseconds(kCheckForCompletedRasterTasksDelayMs); base 417 cc/resources/pixel_buffer_raster_worker_pool.cc check_for_completed_raster_tasks_time_ = base::TimeTicks::Now() + delay; base 424 cc/resources/pixel_buffer_raster_worker_pool.cc base::Bind(&PixelBufferRasterWorkerPool::OnCheckForCompletedRasterTasks, base 436 cc/resources/pixel_buffer_raster_worker_pool.cc base::TimeDelta delay = base 437 cc/resources/pixel_buffer_raster_worker_pool.cc check_for_completed_raster_tasks_time_ - base::TimeTicks::Now(); base 441 cc/resources/pixel_buffer_raster_worker_pool.cc if (delay > base::TimeDelta()) { base 444 cc/resources/pixel_buffer_raster_worker_pool.cc base::Bind(&PixelBufferRasterWorkerPool::OnCheckForCompletedRasterTasks, base 459 cc/resources/pixel_buffer_raster_worker_pool.cc check_for_completed_raster_tasks_time_ = base::TimeTicks(); base 753 cc/resources/pixel_buffer_raster_worker_pool.cc scoped_ptr<base::Value> PixelBufferRasterWorkerPool::StateAsValue() const { base 754 cc/resources/pixel_buffer_raster_worker_pool.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue); base 763 cc/resources/pixel_buffer_raster_worker_pool.cc return state.PassAs<base::Value>(); base 766 cc/resources/pixel_buffer_raster_worker_pool.cc scoped_ptr<base::Value> PixelBufferRasterWorkerPool::ThrottleStateAsValue() base 768 cc/resources/pixel_buffer_raster_worker_pool.cc scoped_ptr<base::DictionaryValue> throttle_state(new base::DictionaryValue); base 775 cc/resources/pixel_buffer_raster_worker_pool.cc return throttle_state.PassAs<base::Value>(); base 20 cc/resources/pixel_buffer_raster_worker_pool.h base::SequencedTaskRunner* task_runner, base 38 cc/resources/pixel_buffer_raster_worker_pool.h PixelBufferRasterWorkerPool(base::SequencedTaskRunner* task_runner, base 89 cc/resources/pixel_buffer_raster_worker_pool.h scoped_ptr<base::Value> StateAsValue() const; base 90 cc/resources/pixel_buffer_raster_worker_pool.h scoped_ptr<base::Value> ThrottleStateAsValue() const; base 105 cc/resources/pixel_buffer_raster_worker_pool.h base::TimeTicks check_for_completed_raster_tasks_time_; base 118 cc/resources/pixel_buffer_raster_worker_pool.h base::WeakPtrFactory<PixelBufferRasterWorkerPool> weak_factory_; base 391 cc/resources/prioritized_resource_manager.cc base::AutoLock scoped_lock(evicted_backings_lock_); base 405 cc/resources/prioritized_resource_manager.cc base::AutoLock scoped_lock(evicted_backings_lock_); base 480 cc/resources/prioritized_resource_manager.cc base::AutoLock scoped_lock(evicted_backings_lock_); base 505 cc/resources/prioritized_resource_manager.cc base::AutoLock scoped_lock(evicted_backings_lock_); base 213 cc/resources/prioritized_resource_manager.h typedef base::hash_set<PrioritizedResource*> TextureSet; base 228 cc/resources/prioritized_resource_manager.h mutable base::Lock evicted_backings_lock_; base 13 cc/resources/raster_mode.cc scoped_ptr<base::Value> RasterModeAsValue(RasterMode raster_mode) { base 16 cc/resources/raster_mode.cc return scoped_ptr<base::Value>( base 17 cc/resources/raster_mode.cc new base::StringValue("HIGH_QUALITY_NO_LCD_RASTER_MODE")); base 19 cc/resources/raster_mode.cc return scoped_ptr<base::Value>( base 20 cc/resources/raster_mode.cc new base::StringValue("HIGH_QUALITY_RASTER_MODE")); base 22 cc/resources/raster_mode.cc return scoped_ptr<base::Value>( base 23 cc/resources/raster_mode.cc new base::StringValue("LOW_QUALITY_RASTER_MODE")); base 26 cc/resources/raster_mode.cc return scoped_ptr<base::Value>( base 27 cc/resources/raster_mode.cc new base::StringValue("<unknown RasterMode value>")); base 10 cc/resources/raster_mode.h namespace base { base 27 cc/resources/raster_mode.h scoped_ptr<base::Value> RasterModeAsValue(RasterMode mode); base 24 cc/resources/raster_worker_pool.cc : delay(base::debug::TraceEventSyntheticDelay::Lookup( base 26 cc/resources/raster_worker_pool.cc base::debug::TraceEventSyntheticDelay* delay; base 28 cc/resources/raster_worker_pool.cc static base::LazyInstance<RasterRequiredForActivationSyntheticDelayInitializer> base 32 cc/resources/raster_worker_pool.cc public base::DelegateSimpleThread::Delegate { base 37 cc/resources/raster_worker_pool.cc scoped_ptr<base::DelegateSimpleThread> worker = base 38 cc/resources/raster_worker_pool.cc make_scoped_ptr(new base::DelegateSimpleThread( base 40 cc/resources/raster_worker_pool.cc base::StringPrintf("CompositorRasterWorker%u", base 45 cc/resources/raster_worker_pool.cc worker->SetThreadPriority(base::kThreadPriority_Background); base 76 cc/resources/raster_worker_pool.cc ScopedPtrDeque<base::DelegateSimpleThread> workers_; base 77 cc/resources/raster_worker_pool.cc base::AtomicSequenceNumber picture_clone_index_sequence_; base 78 cc/resources/raster_worker_pool.cc base::ThreadLocalPointer<ThreadLocalState> current_tls_; base 81 cc/resources/raster_worker_pool.cc base::LazyInstance<RasterTaskGraphRunner>::Leaky g_task_graph_runner = base 90 cc/resources/raster_worker_pool.cc typedef base::Callback<void(const internal::WorkerPoolTask* source)> Callback; base 93 cc/resources/raster_worker_pool.cc base::SequencedTaskRunner* task_runner, base 121 cc/resources/raster_worker_pool.cc base::Bind( base 131 cc/resources/raster_worker_pool.cc scoped_refptr<base::SequencedTaskRunner> task_runner_; base 141 cc/resources/raster_worker_pool.cc base::SequencedTaskRunner* task_runner, base 181 cc/resources/raster_worker_pool.cc base::TimeTicks activation_delay_end_time_; base 264 cc/resources/raster_worker_pool.cc RasterWorkerPool::RasterWorkerPool(base::SequencedTaskRunner* task_runner, base 351 cc/resources/raster_worker_pool.cc base::Bind(&RasterWorkerPool::OnRasterFinished, base 361 cc/resources/raster_worker_pool.cc base::Bind(&RasterWorkerPool::OnRasterRequiredForActivationFinished, base 17 cc/resources/raster_worker_pool.h namespace base { base 175 cc/resources/raster_worker_pool.h RasterWorkerPool(base::SequencedTaskRunner* task_runner, base 185 cc/resources/raster_worker_pool.h base::SequencedTaskRunner* task_runner() const { return task_runner_; } base 229 cc/resources/raster_worker_pool.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 238 cc/resources/raster_worker_pool.h base::WeakPtrFactory<RasterWorkerPool> weak_ptr_factory_; base 151 cc/resources/raster_worker_pool_perftest.cc : PixelBufferRasterWorkerPool(base::MessageLoopProxy::current().get(), base 161 cc/resources/raster_worker_pool_perftest.cc : ImageRasterWorkerPool(base::MessageLoopProxy::current().get(), base 171 cc/resources/raster_worker_pool_perftest.cc : DirectRasterWorkerPool(base::MessageLoopProxy::current().get(), base 184 cc/resources/raster_worker_pool_perftest.cc base::TimeDelta::FromMilliseconds(kTimeLimitMillis), base 279 cc/resources/raster_worker_pool_perftest.cc base::MessageLoop::current()->Quit(); base 285 cc/resources/raster_worker_pool_perftest.cc base::MessageLoop::current()->Run(); base 41 cc/resources/raster_worker_pool_unittest.cc typedef base::Callback<void(const PicturePileImpl::Analysis& analysis, base 90 cc/resources/raster_worker_pool_unittest.cc base::Lock* lock, base 97 cc/resources/raster_worker_pool_unittest.cc base::AutoLock lock(*lock_); base 108 cc/resources/raster_worker_pool_unittest.cc base::Lock* lock_; base 142 cc/resources/raster_worker_pool_unittest.cc base::MessageLoopProxy::current().get(), base 148 cc/resources/raster_worker_pool_unittest.cc base::MessageLoopProxy::current().get(), base 154 cc/resources/raster_worker_pool_unittest.cc base::MessageLoopProxy::current().get(), base 178 cc/resources/raster_worker_pool_unittest.cc base::MessageLoop::current()->Quit(); base 185 cc/resources/raster_worker_pool_unittest.cc base::Bind(&RasterWorkerPoolTest::OnTimeout, base::Unretained(this))); base 186 cc/resources/raster_worker_pool_unittest.cc base::MessageLoopProxy::current()->PostDelayedTask( base 189 cc/resources/raster_worker_pool_unittest.cc base::TimeDelta::FromSeconds(timeout_seconds_)); base 192 cc/resources/raster_worker_pool_unittest.cc base::MessageLoop::current()->Run(); base 221 cc/resources/raster_worker_pool_unittest.cc base::Bind(&RasterWorkerPoolTest::OnTaskCompleted, base 222 cc/resources/raster_worker_pool_unittest.cc base::Unretained(this), base 223 cc/resources/raster_worker_pool_unittest.cc base::Passed(&resource), base 228 cc/resources/raster_worker_pool_unittest.cc void AppendBlockingTask(unsigned id, base::Lock* lock) { base 239 cc/resources/raster_worker_pool_unittest.cc base::Bind(&RasterWorkerPoolTest::OnTaskCompleted, base 240 cc/resources/raster_worker_pool_unittest.cc base::Unretained(this), base 241 cc/resources/raster_worker_pool_unittest.cc base::Passed(&resource), base 266 cc/resources/raster_worker_pool_unittest.cc base::MessageLoop::current()->Quit(); base 276 cc/resources/raster_worker_pool_unittest.cc base::CancelableClosure timeout_; base 314 cc/resources/raster_worker_pool_unittest.cc base::Lock lock; base 12 cc/resources/release_callback.h typedef base::Callback<void(uint32 sync_point, bool is_lost)> ReleaseCallback; base 772 cc/resources/resource_provider.cc base::SharedMemory* shared_memory = mailbox.shared_memory(); base 791 cc/resources/resource_provider.cc base::Bind(&SingleReleaseCallback::Run, base 792 cc/resources/resource_provider.cc base::Owned(release_callback.release())); base 862 cc/resources/resource_provider.cc base::SharedMemory* shared_memory = resource->mailbox.shared_memory(); base 990 cc/resources/resource_provider.cc base::TimeTicks ResourceProvider::EstimatedUploadCompletionTime( base 993 cc/resources/resource_provider.cc return base::TimeTicks(); base 998 cc/resources/resource_provider.cc return gfx::FrameTime::Now() + base::TimeDelta::FromMicroseconds( base 999 cc/resources/resource_provider.cc base::Time::kMicrosecondsPerSecond * kSoftwareUploadTickRate); base 1002 cc/resources/resource_provider.cc base::TimeDelta upload_one_texture_time = base 1003 cc/resources/resource_provider.cc base::TimeDelta::FromMicroseconds( base 1004 cc/resources/resource_provider.cc base::Time::kMicrosecondsPerSecond * kTextureUploadTickRate) / base 62 cc/resources/resource_provider.h typedef base::hash_map<ResourceId, ResourceId> ResourceIdMap; base 153 cc/resources/resource_provider.h base::TimeTicks EstimatedUploadCompletionTime(size_t uploads_per_tick); base 308 cc/resources/resource_provider.h class Fence : public base::RefCounted<Fence> { base 314 cc/resources/resource_provider.h friend class base::RefCounted<Fence>; base 449 cc/resources/resource_provider.h typedef base::hash_map<ResourceId, Resource> ResourceMap; base 555 cc/resources/resource_provider.h typedef base::hash_map<int, Child> ChildMap; base 641 cc/resources/resource_provider.h base::ThreadChecker thread_checker_; base 44 cc/resources/resource_provider_unittest.cc static void SharedMemoryReleaseCallback(scoped_ptr<base::SharedMemory> memory, base 57 cc/resources/resource_provider_unittest.cc scoped_ptr<base::SharedMemory> shared_memory, base 68 cc/resources/resource_provider_unittest.cc static scoped_ptr<base::SharedMemory> CreateAndFillSharedMemory( base 71 cc/resources/resource_provider_unittest.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory); base 93 cc/resources/resource_provider_unittest.cc base::AutoLock lock(namespace_->lock); base 147 cc/resources/resource_provider_unittest.cc typedef base::hash_map<unsigned, scoped_refptr<TestTexture> > TextureMap; base 149 cc/resources/resource_provider_unittest.cc base::hash_map<unsigned, uint32> sync_point_for_mailbox_; base 235 cc/resources/resource_provider_unittest.cc base::AutoLock lock_for_texture_access(namespace_->lock); base 255 cc/resources/resource_provider_unittest.cc base::AutoLock lock_for_texture_access(namespace_->lock); base 263 cc/resources/resource_provider_unittest.cc base::AutoLock lock_for_texture_access(namespace_->lock); base 273 cc/resources/resource_provider_unittest.cc base::AutoLock lock_for_texture_access(namespace_->lock); base 297 cc/resources/resource_provider_unittest.cc base::AutoLock lock_for_texture_access(namespace_->lock); base 307 cc/resources/resource_provider_unittest.cc base::AutoLock lock_for_texture_access(namespace_->lock); base 421 cc/resources/resource_provider_unittest.cc return base::Bind(&ResourceProviderTest::CollectResources, array); base 446 cc/resources/resource_provider_unittest.cc scoped_ptr<base::SharedMemory> shared_memory; base 448 cc/resources/resource_provider_unittest.cc SingleReleaseCallback::Create(base::Bind(ReleaseSharedMemoryCallback, base 449 cc/resources/resource_provider_unittest.cc base::Passed(&shared_memory), base 458 cc/resources/resource_provider_unittest.cc scoped_ptr<base::SharedMemory> shared_memory( base 461 cc/resources/resource_provider_unittest.cc base::SharedMemory* shared_memory_ptr = shared_memory.get(); base 463 cc/resources/resource_provider_unittest.cc SingleReleaseCallback::Create(base::Bind(ReleaseSharedMemoryCallback, base 464 cc/resources/resource_provider_unittest.cc base::Passed(&shared_memory), base 625 cc/resources/resource_provider_unittest.cc SingleReleaseCallback::Create(base::Bind(&EmptyReleaseCallback))); base 906 cc/resources/resource_provider_unittest.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory()); base 908 cc/resources/resource_provider_unittest.cc base::SharedMemory* shared_memory_ptr = shared_memory.get(); base 912 cc/resources/resource_provider_unittest.cc SingleReleaseCallback::Create(base::Bind( base 913 cc/resources/resource_provider_unittest.cc &SharedMemoryReleaseCallback, base::Passed(&shared_memory)))); base 1778 cc/resources/resource_provider_unittest.cc base::Bind(ReleaseTextureMailbox, &release_sync_point, &lost_resource); base 2190 cc/resources/resource_provider_unittest.cc base::Bind(ReleaseTextureMailbox, &release_sync_point, &lost_resource)); base 2393 cc/resources/resource_provider_unittest.cc scoped_ptr<base::SharedMemory> shared_memory( base 2406 cc/resources/resource_provider_unittest.cc base::Bind(&EmptyReleaseCallback)); base 2453 cc/resources/resource_provider_unittest.cc base::Bind(&EmptyReleaseCallback)); base 2517 cc/resources/resource_provider_unittest.cc base::Bind(&EmptyReleaseCallback)); base 3198 cc/resources/resource_provider_unittest.cc base::AutoLock lock(namespace_->lock); base 3203 cc/resources/resource_provider_unittest.cc base::AutoLock lock(namespace_->lock); base 40 cc/resources/resource_update_controller.cc base::SingleThreadTaskRunner* task_runner, base 56 cc/resources/resource_update_controller.cc base::TimeTicks time_limit) { base 75 cc/resources/resource_update_controller.cc base::Bind(&ResourceUpdateController::OnTimerFired, base 115 cc/resources/resource_update_controller.cc base::TimeTicks ResourceUpdateController::UpdateMoreTexturesCompletionTime() { base 134 cc/resources/resource_update_controller.cc base::TimeTicks completion_time = UpdateMoreTexturesCompletionTime(); base 145 cc/resources/resource_update_controller.cc base::Bind(&ResourceUpdateController::OnTimerFired, base 147 cc/resources/resource_update_controller.cc base::TimeDelta::FromMilliseconds(kUploaderBusyTickRate * 1000)); base 15 cc/resources/resource_update_controller.h namespace base { class SingleThreadTaskRunner; } base 33 cc/resources/resource_update_controller.h base::SingleThreadTaskRunner* task_runner, base 46 cc/resources/resource_update_controller.h void PerformMoreUpdates(base::TimeTicks time_limit); base 52 cc/resources/resource_update_controller.h virtual base::TimeTicks UpdateMoreTexturesCompletionTime(); base 56 cc/resources/resource_update_controller.h base::SingleThreadTaskRunner* task_runner, base 76 cc/resources/resource_update_controller.h base::TimeTicks time_limit_; base 79 cc/resources/resource_update_controller.h base::SingleThreadTaskRunner* task_runner_; base 82 cc/resources/resource_update_controller.h base::WeakPtrFactory<ResourceUpdateController> weak_factory_; base 338 cc/resources/resource_update_controller_unittest.cc base::TestSimpleTaskRunner* task_runner, base 345 cc/resources/resource_update_controller_unittest.cc void SetNow(base::TimeTicks time) { now_ = time; } base 346 cc/resources/resource_update_controller_unittest.cc base::TimeTicks Now() const { return now_; } base 347 cc/resources/resource_update_controller_unittest.cc void SetUpdateTextureTime(base::TimeDelta time) { base 350 cc/resources/resource_update_controller_unittest.cc virtual base::TimeTicks UpdateMoreTexturesCompletionTime() OVERRIDE { base 364 cc/resources/resource_update_controller_unittest.cc base::TestSimpleTaskRunner* task_runner, base 373 cc/resources/resource_update_controller_unittest.cc base::TimeTicks now_; base 374 cc/resources/resource_update_controller_unittest.cc base::TimeDelta update_textures_time_; base 378 cc/resources/resource_update_controller_unittest.cc static void RunPendingTask(base::TestSimpleTaskRunner* task_runner, base 387 cc/resources/resource_update_controller_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 388 cc/resources/resource_update_controller_unittest.cc new base::TestSimpleTaskRunner; base 402 cc/resources/resource_update_controller_unittest.cc controller->SetNow(controller->Now() + base::TimeDelta::FromMilliseconds(1)); base 403 cc/resources/resource_update_controller_unittest.cc controller->SetUpdateTextureTime(base::TimeDelta::FromMilliseconds(100)); base 407 cc/resources/resource_update_controller_unittest.cc base::TimeDelta::FromMilliseconds(90)); base 410 cc/resources/resource_update_controller_unittest.cc controller->SetUpdateTextureTime(base::TimeDelta::FromMilliseconds(100)); base 414 cc/resources/resource_update_controller_unittest.cc base::TimeDelta::FromMilliseconds(120)); base 421 cc/resources/resource_update_controller_unittest.cc controller->SetUpdateTextureTime(base::TimeDelta::FromMilliseconds(100)); base 425 cc/resources/resource_update_controller_unittest.cc base::TimeDelta::FromMilliseconds(220)); base 434 cc/resources/resource_update_controller_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 435 cc/resources/resource_update_controller_unittest.cc new base::TestSimpleTaskRunner; base 449 cc/resources/resource_update_controller_unittest.cc controller->SetNow(controller->Now() + base::TimeDelta::FromMilliseconds(1)); base 450 cc/resources/resource_update_controller_unittest.cc controller->SetUpdateTextureTime(base::TimeDelta::FromMilliseconds(100)); base 454 cc/resources/resource_update_controller_unittest.cc base::TimeDelta::FromMilliseconds(310)); base 461 cc/resources/resource_update_controller_unittest.cc controller->SetUpdateTextureTime(base::TimeDelta::FromMilliseconds(100)); base 465 cc/resources/resource_update_controller_unittest.cc base::TimeDelta::FromMilliseconds(310)); base 475 cc/resources/resource_update_controller_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 476 cc/resources/resource_update_controller_unittest.cc new base::TestSimpleTaskRunner; base 490 cc/resources/resource_update_controller_unittest.cc controller->SetNow(controller->Now() + base::TimeDelta::FromMilliseconds(1)); base 491 cc/resources/resource_update_controller_unittest.cc controller->SetUpdateTextureTime(base::TimeDelta::FromMilliseconds(500)); base 500 cc/resources/resource_update_controller_unittest.cc base::TimeDelta::FromMilliseconds(400)); base 13 cc/resources/return_callback.h typedef base::Callback<void(const ReturnedResourceArray&)> ReturnCallback; base 29 cc/resources/scoped_resource.cc allocate_thread_id_ = base::PlatformThread::CurrentId(); base 48 cc/resources/scoped_resource.cc allocate_thread_id_ = base::PlatformThread::CurrentId(); base 55 cc/resources/scoped_resource.cc DCHECK(allocate_thread_id_ == base::PlatformThread::CurrentId()); base 44 cc/resources/scoped_resource.h base::PlatformThreadId allocate_thread_id_; base 13 cc/resources/shared_bitmap.cc base::SharedMemory* memory, base 15 cc/resources/shared_bitmap.cc const base::Callback<void(SharedBitmap*)>& free_callback) base 25 cc/resources/shared_bitmap.cc base::CheckedNumeric<int> s = size.width(); base 38 cc/resources/shared_bitmap.cc base::RandBytes(id.name, sizeof(id.name)); base 15 cc/resources/shared_bitmap.h namespace base { class SharedMemory; } base 22 cc/resources/shared_bitmap.h SharedBitmap(base::SharedMemory* memory, base 24 cc/resources/shared_bitmap.h const base::Callback<void(SharedBitmap*)>& free_callback); base 38 cc/resources/shared_bitmap.h base::SharedMemory* memory() { return memory_; } base 48 cc/resources/shared_bitmap.h base::SharedMemory* memory_; base 50 cc/resources/shared_bitmap.h base::Callback<void(SharedBitmap*)> free_callback_; base 25 cc/resources/shared_bitmap_manager.h base::SharedMemory*) = 0; base 35 cc/resources/skpicture_content_layer_updater.cc base::TimeTicks start_time = base 42 cc/resources/skpicture_content_layer_updater.cc base::TimeDelta duration = base 139 cc/resources/task_graph_runner.cc base::AutoLock lock(lock_); base 147 cc/resources/task_graph_runner.cc base::AutoLock lock(lock_); base 169 cc/resources/task_graph_runner.cc base::AutoLock lock(lock_); base 281 cc/resources/task_graph_runner.cc base::AutoLock lock(lock_); base 305 cc/resources/task_graph_runner.cc base::AutoLock lock(lock_); base 327 cc/resources/task_graph_runner.cc base::AutoLock lock(lock_); base 341 cc/resources/task_graph_runner.cc base::AutoLock lock(lock_); base 363 cc/resources/task_graph_runner.cc base::AutoLock lock(lock_); base 409 cc/resources/task_graph_runner.cc base::AutoUnlock unlock(lock_); base 19 cc/resources/task_graph_runner.h class CC_EXPORT Task : public base::RefCountedThreadSafe<Task> { base 30 cc/resources/task_graph_runner.h friend class base::RefCountedThreadSafe<Task>; base 203 cc/resources/task_graph_runner.h mutable base::Lock lock_; base 207 cc/resources/task_graph_runner.h base::ConditionVariable has_ready_to_run_tasks_cv_; base 211 cc/resources/task_graph_runner.h base::ConditionVariable has_namespaces_with_finished_running_tasks_cv_; base 44 cc/resources/task_graph_runner_perftest.cc base::TimeDelta::FromMilliseconds(kTimeLimitMillis), base 65 cc/resources/task_graph_runner_unittest.cc base::AutoLock lock(run_task_ids_lock_); base 162 cc/resources/task_graph_runner_unittest.cc base::Lock run_task_ids_lock_; base 168 cc/resources/task_graph_runner_unittest.cc public base::DelegateSimpleThread::Delegate { base 174 cc/resources/task_graph_runner_unittest.cc scoped_ptr<base::DelegateSimpleThread> worker = base 175 cc/resources/task_graph_runner_unittest.cc make_scoped_ptr(new base::DelegateSimpleThread(this, "TestWorker")); base 186 cc/resources/task_graph_runner_unittest.cc scoped_ptr<base::DelegateSimpleThread> worker = workers_.take_front(); base 195 cc/resources/task_graph_runner_unittest.cc ScopedPtrDeque<base::DelegateSimpleThread> workers_; base 286 cc/resources/task_graph_runner_unittest.cc public base::DelegateSimpleThread::Delegate { base 290 cc/resources/task_graph_runner_unittest.cc worker_.reset(new base::DelegateSimpleThread(this, "TestWorker")); base 305 cc/resources/task_graph_runner_unittest.cc scoped_ptr<base::DelegateSimpleThread> worker_; base 26 cc/resources/texture_mailbox.cc TextureMailbox::TextureMailbox(base::SharedMemory* shared_memory, base 59 cc/resources/texture_mailbox.cc base::CheckedNumeric<size_t> TextureMailbox::CheckedSharedMemorySizeInBytes() base 61 cc/resources/texture_mailbox.cc return base::CheckedNumeric<size_t>(4) * base 62 cc/resources/texture_mailbox.cc base::CheckedNumeric<size_t>(shared_memory_size_.width()) * base 63 cc/resources/texture_mailbox.cc base::CheckedNumeric<size_t>(shared_memory_size_.height()); base 26 cc/resources/texture_mailbox.h TextureMailbox(base::SharedMemory* shared_memory, const gfx::Size& size); base 47 cc/resources/texture_mailbox.h base::SharedMemory* shared_memory() const { return shared_memory_; } base 51 cc/resources/texture_mailbox.h base::CheckedNumeric<size_t> CheckedSharedMemorySizeInBytes() const; base 55 cc/resources/texture_mailbox.h base::SharedMemory* shared_memory_; base 28 cc/resources/texture_mailbox_deleter.cc scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner, base 34 cc/resources/texture_mailbox_deleter.cc FROM_HERE, base::Bind(run_impl_callback, sync_point, is_lost)); base 38 cc/resources/texture_mailbox_deleter.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) base 53 cc/resources/texture_mailbox_deleter.cc SingleReleaseCallback::Create(base::Bind(&DeleteTextureOnImplThread, base 62 cc/resources/texture_mailbox_deleter.cc base::Bind(&TextureMailboxDeleter::RunDeleteTextureOnImplThread, base 69 cc/resources/texture_mailbox_deleter.cc SingleReleaseCallback::Create(base::Bind( base 12 cc/resources/texture_mailbox_deleter.h namespace base { base 23 cc/resources/texture_mailbox_deleter.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); base 44 cc/resources/texture_mailbox_deleter.h scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner_; base 46 cc/resources/texture_mailbox_deleter.h base::WeakPtrFactory<TextureMailboxDeleter> weak_ptr_factory_; base 18 cc/resources/texture_mailbox_deleter_unittest.cc new TextureMailboxDeleter(base::MessageLoopProxy::current())); base 62 cc/resources/tile.cc scoped_ptr<base::Value> Tile::AsValue() const { base 63 cc/resources/tile.cc scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); base 76 cc/resources/tile.cc return res.PassAs<base::Value>(); base 93 cc/resources/tile.h scoped_ptr<base::Value> AsValue() const; base 64 cc/resources/tile_manager.cc const base::Callback<void(const PicturePileImpl::Analysis&, bool)>& reply, base 116 cc/resources/tile_manager.cc scoped_ptr<base::Value> DataAsValue() const { base 117 cc/resources/tile_manager.cc scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); base 122 cc/resources/tile_manager.cc return res.PassAs<base::Value>(); base 185 cc/resources/tile_manager.cc base::TimeDelta prev_rasterize_time = base 199 cc/resources/tile_manager.cc base::TimeDelta current_rasterize_time = base 221 cc/resources/tile_manager.cc const base::Callback<void(const PicturePileImpl::Analysis&, bool)> reply_; base 233 cc/resources/tile_manager.cc const base::Callback<void(bool was_canceled)>& reply) base 273 cc/resources/tile_manager.cc const base::Callback<void(bool was_canceled)> reply_; base 392 cc/resources/tile_manager.cc scoped_ptr<base::Value> RasterTaskCompletionStatsAsValue( base 394 cc/resources/tile_manager.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 397 cc/resources/tile_manager.cc return state.PassAs<base::Value>(); base 403 cc/resources/tile_manager.cc base::SequencedTaskRunner* task_runner, base 433 cc/resources/tile_manager.cc base::SequencedTaskRunner* task_runner, base 814 cc/resources/tile_manager.cc scoped_ptr<base::Value> TileManager::BasicStateAsValue() const { base 815 cc/resources/tile_manager.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 819 cc/resources/tile_manager.cc return state.PassAs<base::Value>(); base 822 cc/resources/tile_manager.cc scoped_ptr<base::Value> TileManager::AllTilesAsValue() const { base 823 cc/resources/tile_manager.cc scoped_ptr<base::ListValue> state(new base::ListValue()); base 827 cc/resources/tile_manager.cc return state.PassAs<base::Value>(); base 830 cc/resources/tile_manager.cc scoped_ptr<base::Value> TileManager::GetMemoryRequirementsAsValue() const { base 831 cc/resources/tile_manager.cc scoped_ptr<base::DictionaryValue> requirements(new base::DictionaryValue()); base 846 cc/resources/tile_manager.cc return requirements.PassAs<base::Value>(); base 1126 cc/resources/tile_manager.cc base::Bind(&TileManager::OnImageDecodeTaskCompleted, base 1127 cc/resources/tile_manager.cc base::Unretained(this), base 1129 cc/resources/tile_manager.cc base::Unretained(pixel_ref)))); base 1194 cc/resources/tile_manager.cc base::Bind(&TileManager::OnRasterTaskCompleted, base 1195 cc/resources/tile_manager.cc base::Unretained(this), base 1197 cc/resources/tile_manager.cc base::Passed(&resource), base 45 cc/resources/tile_manager.h scoped_ptr<base::Value> RasterTaskCompletionStatsAsValue( base 111 cc/resources/tile_manager.h base::SequencedTaskRunner* task_runner, base 139 cc/resources/tile_manager.h scoped_ptr<base::Value> BasicStateAsValue() const; base 140 cc/resources/tile_manager.h scoped_ptr<base::Value> AllTilesAsValue() const; base 183 cc/resources/tile_manager.h base::SequencedTaskRunner* task_runner, base 245 cc/resources/tile_manager.h scoped_ptr<base::Value> GetMemoryRequirementsAsValue() const; base 256 cc/resources/tile_manager.h typedef base::hash_map<Tile::Id, Tile*> TileMap; base 280 cc/resources/tile_manager.h typedef base::hash_map<uint32_t, scoped_refptr<internal::WorkerPoolTask> > base 282 cc/resources/tile_manager.h typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; base 285 cc/resources/tile_manager.h typedef base::hash_map<int, int> LayerCountMap; base 40 cc/resources/tile_manager_perftest.cc base::TimeDelta::FromMilliseconds(kTimeLimitMillis), base 205 cc/resources/tile_manager_perftest.cc proxy_(base::MessageLoopProxy::current()), base 210 cc/resources/tile_manager_perftest.cc base::TimeDelta::FromMilliseconds(kTimeLimitMillis), base 645 cc/resources/tile_manager_unittest.cc proxy_(base::MessageLoopProxy::current()), base 12 cc/resources/tile_priority.cc scoped_ptr<base::Value> WhichTreeAsValue(WhichTree tree) { base 15 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue("ACTIVE_TREE")); base 17 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue("PENDING_TREE")); base 20 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 25 cc/resources/tile_priority.cc scoped_ptr<base::Value> TileResolutionAsValue( base 29 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue("LOW_RESOLUTION")); base 31 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue("HIGH_RESOLUTION")); base 33 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 37 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 41 cc/resources/tile_priority.cc scoped_ptr<base::Value> TilePriorityBinAsValue(TilePriority::PriorityBin bin) { base 44 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(base::Value::CreateStringValue("NOW")); base 46 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(base::Value::CreateStringValue("SOON")); base 48 cc/resources/tile_priority.cc return scoped_ptr<base::Value>( base 49 cc/resources/tile_priority.cc base::Value::CreateStringValue("EVENTUALLY")); base 52 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(base::Value::CreateStringValue( base 56 cc/resources/tile_priority.cc scoped_ptr<base::Value> TilePriority::AsValue() const { base 57 cc/resources/tile_priority.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 62 cc/resources/tile_priority.cc return state.PassAs<base::Value>(); base 65 cc/resources/tile_priority.cc scoped_ptr<base::Value> TileMemoryLimitPolicyAsValue( base 69 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue("ALLOW_NOTHING")); base 71 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 74 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 77 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 81 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 86 cc/resources/tile_priority.cc scoped_ptr<base::Value> TreePriorityAsValue(TreePriority prio) { base 89 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 92 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 95 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 99 cc/resources/tile_priority.cc return scoped_ptr<base::Value>(new base::StringValue( base 103 cc/resources/tile_priority.cc scoped_ptr<base::Value> GlobalStateThatImpactsTilePriority::AsValue() const { base 104 cc/resources/tile_priority.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 113 cc/resources/tile_priority.cc return state.PassAs<base::Value>(); base 18 cc/resources/tile_priority.h namespace base { base 32 cc/resources/tile_priority.h scoped_ptr<base::Value> WhichTreeAsValue( base 40 cc/resources/tile_priority.h scoped_ptr<base::Value> TileResolutionAsValue( base 86 cc/resources/tile_priority.h scoped_ptr<base::Value> AsValue() const; base 111 cc/resources/tile_priority.h scoped_ptr<base::Value> TilePriorityBinAsValue(TilePriority::PriorityBin bin); base 131 cc/resources/tile_priority.h scoped_ptr<base::Value> TileMemoryLimitPolicyAsValue( base 141 cc/resources/tile_priority.h scoped_ptr<base::Value> TreePriorityAsValue(TreePriority prio); base 174 cc/resources/tile_priority.h scoped_ptr<base::Value> AsValue() const; base 242 cc/resources/video_resource_updater.cc base::Bind(&RecycleResource, AsWeakPtr(), recycle_data); base 275 cc/resources/video_resource_updater.cc base::Bind(&RecycleResource, AsWeakPtr(), recycle_data)); base 322 cc/resources/video_resource_updater.cc base::Bind(&ReturnTexture, video_frame)); base 328 cc/resources/video_resource_updater.cc base::WeakPtr<VideoResourceUpdater> updater, base 66 cc/resources/video_resource_updater.h : public base::SupportsWeakPtr<VideoResourceUpdater> { base 105 cc/resources/video_resource_updater.h static void RecycleResource(base::WeakPtr<VideoResourceUpdater> updater, base 52 cc/resources/video_resource_updater_unittest.cc base::TimeDelta(), // timestamp, base 53 cc/resources/video_resource_updater_unittest.cc base::Closure()); // no_longer_needed_cb base 39 cc/scheduler/delay_based_time_source.cc base::TimeDelta interval, base 40 cc/scheduler/delay_based_time_source.cc base::SingleThreadTaskRunner* task_runner) { base 46 cc/scheduler/delay_based_time_source.cc base::TimeDelta interval, base::SingleThreadTaskRunner* task_runner) base 51 cc/scheduler/delay_based_time_source.cc base::TimeTicks DelayBasedTimeSourceHighRes::Now() const { base 52 cc/scheduler/delay_based_time_source.cc return base::TimeTicks::HighResNow(); base 58 cc/scheduler/delay_based_time_source.cc base::TimeDelta interval, base 59 cc/scheduler/delay_based_time_source.cc base::SingleThreadTaskRunner* task_runner) { base 64 cc/scheduler/delay_based_time_source.cc base::TimeDelta interval, base::SingleThreadTaskRunner* task_runner) base 66 cc/scheduler/delay_based_time_source.cc last_tick_time_(base::TimeTicks() - interval), base 67 cc/scheduler/delay_based_time_source.cc current_parameters_(interval, base::TimeTicks()), base 68 cc/scheduler/delay_based_time_source.cc next_parameters_(interval, base::TimeTicks()), base 75 cc/scheduler/delay_based_time_source.cc base::TimeTicks DelayBasedTimeSource::SetActive(bool active) { base 78 cc/scheduler/delay_based_time_source.cc return base::TimeTicks(); base 83 cc/scheduler/delay_based_time_source.cc return base::TimeTicks(); base 89 cc/scheduler/delay_based_time_source.cc base::TimeTicks last_tick_time_if_always_active = base 91 cc/scheduler/delay_based_time_source.cc base::TimeTicks new_tick_time_threshold = base 98 cc/scheduler/delay_based_time_source.cc return base::TimeTicks(); base 103 cc/scheduler/delay_based_time_source.cc base::TimeTicks DelayBasedTimeSource::LastTickTime() { return last_tick_time_; } base 105 cc/scheduler/delay_based_time_source.cc base::TimeTicks DelayBasedTimeSource::NextTickTime() { base 106 cc/scheduler/delay_based_time_source.cc return Active() ? current_parameters_.tick_target : base::TimeTicks(); base 125 cc/scheduler/delay_based_time_source.cc void DelayBasedTimeSource::SetTimebaseAndInterval(base::TimeTicks timebase, base 126 cc/scheduler/delay_based_time_source.cc base::TimeDelta interval) { base 168 cc/scheduler/delay_based_time_source.cc base::TimeTicks DelayBasedTimeSource::Now() const { base 169 cc/scheduler/delay_based_time_source.cc return base::TimeTicks::Now(); base 226 cc/scheduler/delay_based_time_source.cc base::TimeTicks DelayBasedTimeSource::NextTickTarget(base::TimeTicks now) { base 227 cc/scheduler/delay_based_time_source.cc base::TimeDelta new_interval = next_parameters_.interval; base 231 cc/scheduler/delay_based_time_source.cc base::TimeDelta interval_offset = base::TimeDelta::FromInternalValue( base 242 cc/scheduler/delay_based_time_source.cc base::TimeTicks new_tick_target = now + interval_offset; base 259 cc/scheduler/delay_based_time_source.cc void DelayBasedTimeSource::PostNextTickTask(base::TimeTicks now) { base 260 cc/scheduler/delay_based_time_source.cc base::TimeTicks new_tick_target = NextTickTarget(now); base 263 cc/scheduler/delay_based_time_source.cc base::TimeDelta delay; base 267 cc/scheduler/delay_based_time_source.cc base::Bind(&DelayBasedTimeSource::OnTimerFired, base 12 cc/scheduler/delay_based_time_source.h namespace base { class SingleThreadTaskRunner; } base 22 cc/scheduler/delay_based_time_source.h base::TimeDelta interval, base::SingleThreadTaskRunner* task_runner); base 27 cc/scheduler/delay_based_time_source.h virtual void SetTimebaseAndInterval(base::TimeTicks timebase, base 28 cc/scheduler/delay_based_time_source.h base::TimeDelta interval) OVERRIDE; base 30 cc/scheduler/delay_based_time_source.h virtual base::TimeTicks SetActive(bool active) OVERRIDE; base 35 cc/scheduler/delay_based_time_source.h virtual base::TimeTicks LastTickTime() OVERRIDE; base 36 cc/scheduler/delay_based_time_source.h virtual base::TimeTicks NextTickTime() OVERRIDE; base 39 cc/scheduler/delay_based_time_source.h virtual base::TimeTicks Now() const; base 42 cc/scheduler/delay_based_time_source.h DelayBasedTimeSource(base::TimeDelta interval, base 43 cc/scheduler/delay_based_time_source.h base::SingleThreadTaskRunner* task_runner); base 46 cc/scheduler/delay_based_time_source.h base::TimeTicks NextTickTarget(base::TimeTicks now); base 47 cc/scheduler/delay_based_time_source.h void PostNextTickTask(base::TimeTicks now); base 51 cc/scheduler/delay_based_time_source.h Parameters(base::TimeDelta interval, base::TimeTicks tick_target) base 53 cc/scheduler/delay_based_time_source.h base::TimeDelta interval; base 54 cc/scheduler/delay_based_time_source.h base::TimeTicks tick_target; base 58 cc/scheduler/delay_based_time_source.h base::TimeTicks last_tick_time_; base 69 cc/scheduler/delay_based_time_source.h base::SingleThreadTaskRunner* task_runner_; base 70 cc/scheduler/delay_based_time_source.h base::WeakPtrFactory<DelayBasedTimeSource> weak_factory_; base 80 cc/scheduler/delay_based_time_source.h base::TimeDelta interval, base::SingleThreadTaskRunner* task_runner); base 82 cc/scheduler/delay_based_time_source.h virtual base::TimeTicks Now() const OVERRIDE; base 85 cc/scheduler/delay_based_time_source.h DelayBasedTimeSourceHighRes(base::TimeDelta interval, base 86 cc/scheduler/delay_based_time_source.h base::SingleThreadTaskRunner* task_runner); base 15 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta Interval() { base 16 cc/scheduler/delay_based_time_source_unittest.cc return base::TimeDelta::FromMicroseconds(base::Time::kMicrosecondsPerSecond / base 21 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 22 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 32 cc/scheduler/delay_based_time_source_unittest.cc timer->SetNow(timer->Now() + base::TimeDelta::FromMilliseconds(16)); base 39 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 40 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 53 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 54 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 67 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 68 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 84 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 85 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 105 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 106 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 118 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta::FromMicroseconds(1)); base 127 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 128 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 148 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 149 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 161 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta::FromMicroseconds(1)); base 170 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 171 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 183 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta::FromMilliseconds(8)); base 192 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 193 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 207 cc/scheduler/delay_based_time_source_unittest.cc timer->Now() + base::TimeDelta::FromMilliseconds(1), Interval()); base 216 cc/scheduler/delay_based_time_source_unittest.cc timer->Now() - base::TimeDelta::FromMilliseconds(1), Interval()); base 223 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 224 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 244 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta jitter = base::TimeDelta::FromMilliseconds(7) + base 245 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta::FromMicroseconds(1); base 260 cc/scheduler/delay_based_time_source_unittest.cc timer->SetTimebaseAndInterval(base::TimeTicks() + Interval(), Interval()); base 267 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 268 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 288 cc/scheduler/delay_based_time_source_unittest.cc timer->SetTimebaseAndInterval(base::TimeTicks() + Interval(), Interval() * 2); base 302 cc/scheduler/delay_based_time_source_unittest.cc timer->SetTimebaseAndInterval(base::TimeTicks() + Interval() * 3, Interval()); base 309 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 310 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 321 cc/scheduler/delay_based_time_source_unittest.cc base::TimeTicks future_timebase = timer->Now() + Interval() * 10; base 324 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta jitter1 = base::TimeDelta::FromMilliseconds(1); base 355 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta jitter8 = base::TimeDelta::FromMilliseconds(8); base 386 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta jitter15 = base::TimeDelta::FromMilliseconds(15); base 420 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 421 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 436 cc/scheduler/delay_based_time_source_unittest.cc timer->SetNow(timer->Now() + base::TimeDelta::FromMilliseconds(delay_ms)); base 445 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 446 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 460 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 461 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 479 cc/scheduler/delay_based_time_source_unittest.cc timer->SetNow(timer->Now() + base::TimeDelta::FromMilliseconds(4)); base 485 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 486 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 504 cc/scheduler/delay_based_time_source_unittest.cc timer->SetNow(timer->Now() + base::TimeDelta::FromMilliseconds(20)); base 512 cc/scheduler/delay_based_time_source_unittest.cc base::TimeDelta interval = base::TimeDelta::FromInternalValue(4000); base 513 cc/scheduler/delay_based_time_source_unittest.cc base::TimeTicks big_now = base::TimeTicks::FromInternalValue(8635916564000); base 515 cc/scheduler/delay_based_time_source_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 516 cc/scheduler/delay_based_time_source_unittest.cc new base::TestSimpleTaskRunner; base 56 cc/scheduler/frame_rate_controller.cc base::SingleThreadTaskRunner* task_runner) base 79 cc/scheduler/frame_rate_controller.cc base::TimeTicks missed_tick_time = time_source_->SetActive(active); base 81 cc/scheduler/frame_rate_controller.cc base::TimeTicks deadline = NextTickTime(); base 102 cc/scheduler/frame_rate_controller.cc void FrameRateController::SetTimebaseAndInterval(base::TimeTicks timebase, base 103 cc/scheduler/frame_rate_controller.cc base::TimeDelta interval) { base 109 cc/scheduler/frame_rate_controller.cc void FrameRateController::SetDeadlineAdjustment(base::TimeDelta delta) { base 124 cc/scheduler/frame_rate_controller.cc base::TimeTicks frame_time = LastTickTime(); base 125 cc/scheduler/frame_rate_controller.cc base::TimeTicks deadline = NextTickTime(); base 139 cc/scheduler/frame_rate_controller.cc base::Bind(&FrameRateController::ManualTick, base 164 cc/scheduler/frame_rate_controller.cc base::TimeTicks FrameRateController::NextTickTime() { base 168 cc/scheduler/frame_rate_controller.cc return base::TimeTicks(); base 171 cc/scheduler/frame_rate_controller.cc base::TimeTicks FrameRateController::LastTickTime() { base 15 cc/scheduler/frame_rate_controller.h namespace base { class SingleThreadTaskRunner; } base 40 cc/scheduler/frame_rate_controller.h explicit FrameRateController(base::SingleThreadTaskRunner* task_runner); base 64 cc/scheduler/frame_rate_controller.h void SetTimebaseAndInterval(base::TimeTicks timebase, base 65 cc/scheduler/frame_rate_controller.h base::TimeDelta interval); base 66 cc/scheduler/frame_rate_controller.h void SetDeadlineAdjustment(base::TimeDelta delta); base 76 cc/scheduler/frame_rate_controller.h base::TimeTicks NextTickTime(); base 78 cc/scheduler/frame_rate_controller.h base::TimeTicks LastTickTime(); base 83 cc/scheduler/frame_rate_controller.h base::TimeDelta interval_; base 84 cc/scheduler/frame_rate_controller.h base::TimeDelta deadline_adjustment_; base 92 cc/scheduler/frame_rate_controller.h base::SingleThreadTaskRunner* task_runner_; base 93 cc/scheduler/frame_rate_controller.h base::WeakPtrFactory<FrameRateController> weak_factory_; base 32 cc/scheduler/frame_rate_controller_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 33 cc/scheduler/frame_rate_controller_unittest.cc new base::TestSimpleTaskRunner; base 35 cc/scheduler/frame_rate_controller_unittest.cc base::TimeDelta interval = base::TimeDelta::FromMicroseconds( base 36 cc/scheduler/frame_rate_controller_unittest.cc base::Time::kMicrosecondsPerSecond / 60); base 44 cc/scheduler/frame_rate_controller_unittest.cc base::TimeTicks elapsed; // Muck around with time a bit base 58 cc/scheduler/frame_rate_controller_unittest.cc base::TimeDelta::FromMilliseconds(5)); base 71 cc/scheduler/frame_rate_controller_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 72 cc/scheduler/frame_rate_controller_unittest.cc new base::TestSimpleTaskRunner; base 74 cc/scheduler/frame_rate_controller_unittest.cc base::TimeDelta interval = base::TimeDelta::FromMicroseconds( base 75 cc/scheduler/frame_rate_controller_unittest.cc base::Time::kMicrosecondsPerSecond / 60); base 84 cc/scheduler/frame_rate_controller_unittest.cc base::TimeTicks elapsed; // Muck around with time a bit base 118 cc/scheduler/frame_rate_controller_unittest.cc base::TimeDelta::FromMilliseconds(5)); base 135 cc/scheduler/frame_rate_controller_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 136 cc/scheduler/frame_rate_controller_unittest.cc new base::TestSimpleTaskRunner; base 187 cc/scheduler/frame_rate_controller_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner = base 188 cc/scheduler/frame_rate_controller_unittest.cc new base::TestSimpleTaskRunner; base 21 cc/scheduler/scheduler.cc const scoped_refptr<base::SequencedTaskRunner>& impl_task_runner) base 37 cc/scheduler/scheduler.cc begin_impl_frame_deadline_closure_ = base::Bind( base 39 cc/scheduler/scheduler.cc poll_for_draw_triggers_closure_ = base::Bind( base 41 cc/scheduler/scheduler.cc advance_commit_state_closure_ = base::Bind( base 143 cc/scheduler/scheduler.cc base::TimeTicks Scheduler::AnticipatedDrawTime() const { base 145 cc/scheduler/scheduler.cc last_begin_impl_frame_args_.interval <= base::TimeDelta()) base 146 cc/scheduler/scheduler.cc return base::TimeTicks(); base 148 cc/scheduler/scheduler.cc base::TimeTicks now = gfx::FrameTime::Now(); base 149 cc/scheduler/scheduler.cc base::TimeTicks timebase = std::max(last_begin_impl_frame_args_.frame_time, base 156 cc/scheduler/scheduler.cc base::TimeTicks Scheduler::LastBeginImplFrameTime() { base 189 cc/scheduler/scheduler.cc base::TimeDelta delay = last_begin_impl_frame_args_.IsValid() base 253 cc/scheduler/scheduler.cc base::TimeTicks adjusted_deadline = AdjustedBeginImplFrameDeadline(); base 257 cc/scheduler/scheduler.cc base::TimeTicks Scheduler::AdjustedBeginImplFrameDeadline() const { base 260 cc/scheduler/scheduler.cc return base::TimeTicks(); base 263 cc/scheduler/scheduler.cc return base::TimeTicks(); base 281 cc/scheduler/scheduler.cc void Scheduler::ScheduleBeginImplFrameDeadline(base::TimeTicks deadline) { base 294 cc/scheduler/scheduler.cc base::TimeDelta delta = deadline - gfx::FrameTime::Now(); base 295 cc/scheduler/scheduler.cc if (delta <= base::TimeDelta()) base 296 cc/scheduler/scheduler.cc delta = base::TimeDelta(); base 360 cc/scheduler/scheduler.cc base::AutoReset<bool> mark_inside(&inside_process_scheduled_actions_, true); base 371 cc/scheduler/scheduler.cc base::AutoReset<SchedulerStateMachine::Action> base 418 cc/scheduler/scheduler.cc ScheduleBeginImplFrameDeadline(base::TimeTicks()); base 426 cc/scheduler/scheduler.cc scoped_ptr<base::Value> Scheduler::StateAsValue() const { base 427 cc/scheduler/scheduler.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue); base 430 cc/scheduler/scheduler.cc scoped_ptr<base::DictionaryValue> scheduler_state(new base::DictionaryValue); base 433 cc/scheduler/scheduler.cc (AnticipatedDrawTime() - base::TimeTicks::Now()).InMillisecondsF()); base 444 cc/scheduler/scheduler.cc scoped_ptr<base::DictionaryValue> client_state(new base::DictionaryValue); base 454 cc/scheduler/scheduler.cc return state.PassAs<base::Value>(); base 460 cc/scheduler/scheduler.cc base::TimeTicks estimated_draw_time = base 38 cc/scheduler/scheduler.h virtual void DidAnticipatedDrawTimeChange(base::TimeTicks time) = 0; base 39 cc/scheduler/scheduler.h virtual base::TimeDelta DrawDurationEstimate() = 0; base 40 cc/scheduler/scheduler.h virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() = 0; base 41 cc/scheduler/scheduler.h virtual base::TimeDelta CommitToActivateDurationEstimate() = 0; base 54 cc/scheduler/scheduler.h const scoped_refptr<base::SequencedTaskRunner>& impl_task_runner) { base 107 cc/scheduler/scheduler.h base::TimeTicks AnticipatedDrawTime() const; base 111 cc/scheduler/scheduler.h base::TimeTicks LastBeginImplFrameTime(); base 118 cc/scheduler/scheduler.h scoped_ptr<base::Value> StateAsValue() const; base 133 cc/scheduler/scheduler.h const scoped_refptr<base::SequencedTaskRunner>& impl_task_runner); base 135 cc/scheduler/scheduler.h base::TimeTicks AdjustedBeginImplFrameDeadline() const; base 136 cc/scheduler/scheduler.h void ScheduleBeginImplFrameDeadline(base::TimeTicks deadline); base 152 cc/scheduler/scheduler.h scoped_refptr<base::SequencedTaskRunner> impl_task_runner_; base 157 cc/scheduler/scheduler.h base::Closure begin_impl_frame_deadline_closure_; base 158 cc/scheduler/scheduler.h base::Closure poll_for_draw_triggers_closure_; base 159 cc/scheduler/scheduler.h base::Closure advance_commit_state_closure_; base 160 cc/scheduler/scheduler.h base::CancelableClosure begin_impl_frame_deadline_task_; base 161 cc/scheduler/scheduler.h base::CancelableClosure poll_for_draw_triggers_task_; base 162 cc/scheduler/scheduler.h base::CancelableClosure advance_commit_state_task_; base 168 cc/scheduler/scheduler.h base::WeakPtrFactory<Scheduler> weak_factory_; base 186 cc/scheduler/scheduler_state_machine.cc scoped_ptr<base::Value> SchedulerStateMachine::AsValue() const { base 187 cc/scheduler/scheduler_state_machine.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue); base 189 cc/scheduler/scheduler_state_machine.cc scoped_ptr<base::DictionaryValue> major_state(new base::DictionaryValue); base 205 cc/scheduler/scheduler_state_machine.cc scoped_ptr<base::DictionaryValue> timestamps_state(new base::DictionaryValue); base 206 cc/scheduler/scheduler_state_machine.cc base::TimeTicks now = gfx::FrameTime::Now(); base 223 cc/scheduler/scheduler_state_machine.cc "4_now", (now - base::TimeTicks()).InMicroseconds() / 1000.0L); base 226 cc/scheduler/scheduler_state_machine.cc (last_begin_impl_frame_args_.frame_time - base::TimeTicks()) base 231 cc/scheduler/scheduler_state_machine.cc (last_begin_impl_frame_args_.deadline - base::TimeTicks()) base 236 cc/scheduler/scheduler_state_machine.cc scoped_ptr<base::DictionaryValue> minor_state(new base::DictionaryValue); base 281 cc/scheduler/scheduler_state_machine.cc return state.PassAs<base::Value>(); base 18 cc/scheduler/scheduler_state_machine.h namespace base { base 125 cc/scheduler/scheduler_state_machine.h scoped_ptr<base::Value> AsValue() const; base 57 cc/scheduler/scheduler_unittest.cc task_runner_ = new base::TestSimpleTaskRunner; base 71 cc/scheduler/scheduler_unittest.cc base::Value& StateForAction(int i) const { return *states_[i]; } base 72 cc/scheduler/scheduler_unittest.cc base::TimeTicks posted_begin_impl_frame_deadline() const { base 76 cc/scheduler/scheduler_unittest.cc base::TestSimpleTaskRunner& task_runner() { return *task_runner_; } base 161 cc/scheduler/scheduler_unittest.cc virtual void DidAnticipatedDrawTimeChange(base::TimeTicks) OVERRIDE { base 165 cc/scheduler/scheduler_unittest.cc virtual base::TimeDelta DrawDurationEstimate() OVERRIDE { base 166 cc/scheduler/scheduler_unittest.cc return base::TimeDelta(); base 168 cc/scheduler/scheduler_unittest.cc virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() OVERRIDE { base 169 cc/scheduler/scheduler_unittest.cc return base::TimeDelta(); base 171 cc/scheduler/scheduler_unittest.cc virtual base::TimeDelta CommitToActivateDurationEstimate() OVERRIDE { base 172 cc/scheduler/scheduler_unittest.cc return base::TimeDelta(); base 183 cc/scheduler/scheduler_unittest.cc base::TimeTicks posted_begin_impl_frame_deadline_; base 185 cc/scheduler/scheduler_unittest.cc ScopedVector<base::Value> states_; base 187 cc/scheduler/scheduler_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 632 cc/scheduler/scheduler_unittest.cc virtual void DidAnticipatedDrawTimeChange(base::TimeTicks) OVERRIDE {} base 748 cc/scheduler/scheduler_unittest.cc virtual void DidAnticipatedDrawTimeChange(base::TimeTicks) OVERRIDE {} base 1172 cc/scheduler/scheduler_unittest.cc EXPECT_EQ(base::TimeTicks(), client.posted_begin_impl_frame_deadline()); base 1178 cc/scheduler/scheduler_unittest.cc base::TimeDelta draw_duration, base 1179 cc/scheduler/scheduler_unittest.cc base::TimeDelta begin_main_frame_to_commit_duration, base 1180 cc/scheduler/scheduler_unittest.cc base::TimeDelta commit_to_activate_duration) base 1186 cc/scheduler/scheduler_unittest.cc virtual base::TimeDelta DrawDurationEstimate() OVERRIDE { base 1189 cc/scheduler/scheduler_unittest.cc virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() OVERRIDE { base 1192 cc/scheduler/scheduler_unittest.cc virtual base::TimeDelta CommitToActivateDurationEstimate() OVERRIDE { base 1197 cc/scheduler/scheduler_unittest.cc base::TimeDelta draw_duration_; base 1198 cc/scheduler/scheduler_unittest.cc base::TimeDelta begin_main_frame_to_commit_duration_; base 1199 cc/scheduler/scheduler_unittest.cc base::TimeDelta commit_to_activate_duration_; base 1208 cc/scheduler/scheduler_unittest.cc base::TimeDelta::FromMilliseconds(1), base 1209 cc/scheduler/scheduler_unittest.cc base::TimeDelta::FromMilliseconds( base 1211 cc/scheduler/scheduler_unittest.cc base::TimeDelta::FromMilliseconds(commit_to_activate_estimate_in_ms)); base 1275 cc/scheduler/scheduler_unittest.cc base::TimeDelta::FromMilliseconds(1), base 1276 cc/scheduler/scheduler_unittest.cc base::TimeDelta::FromMilliseconds(32), base 1277 cc/scheduler/scheduler_unittest.cc base::TimeDelta::FromMilliseconds(32)); base 1294 cc/scheduler/scheduler_unittest.cc impl_frame_args.interval = base::TimeDelta::FromMilliseconds(1000); base 27 cc/scheduler/time_source.h class CC_EXPORT TimeSource : public base::RefCounted<TimeSource> { base 34 cc/scheduler/time_source.h virtual base::TimeTicks SetActive(bool active) = 0; base 37 cc/scheduler/time_source.h virtual void SetTimebaseAndInterval(base::TimeTicks timebase, base 38 cc/scheduler/time_source.h base::TimeDelta interval) = 0; base 39 cc/scheduler/time_source.h virtual base::TimeTicks LastTickTime() = 0; base 40 cc/scheduler/time_source.h virtual base::TimeTicks NextTickTime() = 0; base 46 cc/scheduler/time_source.h friend class base::RefCounted<TimeSource>; base 56 cc/surfaces/surface_aggregator.cc base::hash_map<RenderPass::Id, int> id_to_index_map_; base 49 cc/surfaces/surface_aggregator.h typedef base::ScopedPtrHashMap<int, RenderPassIdAllocator> base 133 cc/surfaces/surface_aggregator_test_helpers.cc SCOPED_TRACE(base::StringPrintf("Quad number %" PRIuS, i)); base 144 cc/surfaces/surface_aggregator_test_helpers.cc SCOPED_TRACE(base::StringPrintf("Pass number %" PRIuS, i)); base 29 cc/surfaces/surface_manager.h typedef base::hash_map<int, Surface*> SurfaceMap; base 84 cc/surfaces/surfaces_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("green.png")), base 165 cc/surfaces/surfaces_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("blue_yellow.png")), base 306 cc/surfaces/surfaces_pixeltest.cc base::FilePath(FILE_PATH_LITERAL("four_blue_green_checkers.png")), base 15 cc/test/cc_test_suite.cc : base::TestSuite(argc, argv) {} base 20 cc/test/cc_test_suite.cc base::TestSuite::Initialize(); base 24 cc/test/cc_test_suite.cc message_loop_.reset(new base::MessageLoop); base 26 cc/test/cc_test_suite.cc base::ThreadIdNameManager::GetInstance()->SetName( base 27 cc/test/cc_test_suite.cc base::PlatformThread::CurrentId(), base 34 cc/test/cc_test_suite.cc base::TestSuite::Shutdown(); base 12 cc/test/cc_test_suite.h namespace base { base 18 cc/test/cc_test_suite.h class CCTestSuite : public base::TestSuite { base 29 cc/test/cc_test_suite.h scoped_ptr<base::MessageLoop> message_loop_; base 59 cc/test/fake_delegated_renderer_layer_impl.cc base::Bind(&AddResourceToFrame, resource_provider, delegated_frame.get()); base 66 cc/test/fake_delegated_renderer_layer_impl.cc CreateChildIdIfNeeded(base::Bind(&NoopReturnCallback)); base 18 cc/test/fake_impl_proxy.h scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) base 32 cc/test/fake_layer_tree_host_client.h virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE {} base 46 cc/test/fake_layer_tree_host_impl.cc base::TimeTicks FakeLayerTreeHostImpl::CurrentFrameTimeTicks() { base 53 cc/test/fake_layer_tree_host_impl.cc base::TimeTicks current_frame_time_ticks) { base 31 cc/test/fake_layer_tree_host_impl.h virtual base::TimeTicks CurrentFrameTimeTicks() OVERRIDE; base 32 cc/test/fake_layer_tree_host_impl.h void SetCurrentFrameTimeTicks(base::TimeTicks current_frame_time_ticks); base 38 cc/test/fake_layer_tree_host_impl.h base::TimeTicks current_frame_time_ticks_; base 38 cc/test/fake_layer_tree_host_impl_client.h virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta) base 94 cc/test/fake_output_surface.cc base::MessageLoop::current()->PostDelayedTask( base 95 cc/test/fake_output_surface.cc FROM_HERE, base::Bind(&FakeOutputSurface::OnBeginImplFrame, base 97 cc/test/fake_output_surface.cc base::TimeDelta::FromMilliseconds(16)); base 124 cc/test/fake_output_surface.cc const base::Closure& callback) { base 112 cc/test/fake_output_surface.h void SetTreeActivationCallback(const base::Closure& callback); base 152 cc/test/fake_output_surface.h base::WeakPtrFactory<FakeOutputSurface> fake_weak_ptr_factory_; base 37 cc/test/fake_output_surface_client.h virtual void SetTreeActivationCallback(const base::Closure&) OVERRIDE {} base 51 cc/test/fake_painted_scrollbar_layer.cc scoped_ptr<base::AutoReset<bool> > base 54 cc/test/fake_painted_scrollbar_layer.cc new base::AutoReset<bool>(&ignore_set_needs_commit_, true)); base 12 cc/test/fake_painted_scrollbar_layer.h namespace base { template<typename T> class AutoReset; } base 28 cc/test/fake_painted_scrollbar_layer.h scoped_ptr<base::AutoReset<bool> > IgnoreSetNeedsCommit(); base 46 cc/test/fake_proxy.cc scoped_ptr<base::Value> FakeProxy::AsValue() const { base 47 cc/test/fake_proxy.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 48 cc/test/fake_proxy.cc return state.PassAs<base::Value>(); base 18 cc/test/fake_proxy.h scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) base 49 cc/test/fake_proxy.h virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; base 75 cc/test/fake_tile_manager.cc base::MessageLoopProxy::current().get(), base 87 cc/test/fake_tile_manager.cc base::MessageLoopProxy::current().get(), base 100 cc/test/fake_tile_manager.cc base::MessageLoopProxy::current().get(), base 113 cc/test/fake_tile_manager.cc base::MessageLoopProxy::current().get(), base 31 cc/test/fake_ui_resource_layer_tree_host_impl.h typedef base::hash_map<UIResourceId, LayerTreeHostImpl::UIResourceData> base 12 cc/test/lap_timer.cc base::TimeDelta time_limit, base 24 cc/test/lap_timer.cc accumulator_ = base::TimeDelta(); base 31 cc/test/lap_timer.cc void LapTimer::Start() { start_time_ = base::TimeTicks::HighResNow(); } base 46 cc/test/lap_timer.cc base::TimeTicks now = base::TimeTicks::HighResNow(); base 24 cc/test/lap_timer.h LapTimer(int warmup_laps, base::TimeDelta time_limit, int check_interval); base 49 cc/test/lap_timer.h base::TimeTicks start_time_; base 50 cc/test/lap_timer.h base::TimeDelta accumulator_; base 55 cc/test/lap_timer.h base::TimeDelta time_limit_; base 20 cc/test/layer_tree_json_parser.cc scoped_refptr<Layer> ParseTreeFromValue(base::Value* val, base 22 cc/test/layer_tree_json_parser.cc base::DictionaryValue* dict; base 27 cc/test/layer_tree_json_parser.cc base::ListValue* list; base 53 cc/test/layer_tree_json_parser.cc base::ListValue* bounds; base 157 cc/test/layer_tree_json_parser.cc for (base::ListValue::const_iterator it = list->begin(); base 172 cc/test/layer_tree_json_parser.cc scoped_ptr<base::Value> val = base::test::ParseJson(json); base 88 cc/test/layer_tree_pixel_test.cc base::Bind(&LayerTreePixelTest::ReadbackResult, base::Unretained(this))); base 105 cc/test/layer_tree_pixel_test.cc base::FilePath test_data_dir; base 107 cc/test/layer_tree_pixel_test.cc base::FilePath ref_file_path = test_data_dir.Append(ref_file_); base 199 cc/test/layer_tree_pixel_test.cc base::FilePath file_name) { base 211 cc/test/layer_tree_pixel_test.cc base::FilePath file_name) { base 365 cc/test/layer_tree_pixel_test.cc base::Bind(&LayerTreePixelTest::ReleaseTextureMailbox, base 366 cc/test/layer_tree_pixel_test.cc base::Unretained(this), base 367 cc/test/layer_tree_pixel_test.cc base::Passed(&context), base 71 cc/test/layer_tree_pixel_test.h base::FilePath file_name); base 76 cc/test/layer_tree_pixel_test.h base::FilePath file_name); base 104 cc/test/layer_tree_pixel_test.h base::FilePath ref_file_; base 45 cc/test/layer_tree_test.cc base::TimeDelta TestHooks::LowFrequencyAnimationInterval() const { base 46 cc/test/layer_tree_test.cc return base::TimeDelta::FromMilliseconds(16); base 121 cc/test/layer_tree_test.cc base::TimeTicks frame_begin_time) OVERRIDE { base 180 cc/test/layer_tree_test.cc virtual void AnimateLayers(base::TimeTicks monotonic_time) OVERRIDE { base 200 cc/test/layer_tree_test.cc virtual base::TimeDelta LowFrequencyAnimationInterval() const OVERRIDE { base 228 cc/test/layer_tree_test.cc virtual void Animate(base::TimeTicks monotonic_time) OVERRIDE { base 293 cc/test/layer_tree_test.cc scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) { base 372 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::RealEndTest, main_thread_weak_ptr_)); base 379 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::EndTest, main_thread_weak_ptr_), base 380 cc/test/layer_tree_test.cc base::TimeDelta::FromMilliseconds(delay_milliseconds)); base 387 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchAddAnimation, base 389 cc/test/layer_tree_test.cc base::Unretained(layer_to_receive_animation), base 397 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchAddAnimation, base 399 cc/test/layer_tree_test.cc base::Unretained(layer_to_receive_animation), base 407 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchAddAnimation, base 409 cc/test/layer_tree_test.cc base::Unretained(layer_to_receive_animation), base 415 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchSetNeedsCommit, base 422 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchSetNeedsUpdateLayers, base 429 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchReadback, main_thread_weak_ptr_)); base 435 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchAcquireLayerTextures, base 441 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchSetNeedsRedraw, base 449 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchSetNeedsRedrawRect, base 457 cc/test/layer_tree_test.cc base::Bind( base 464 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchSetNextCommitForcesRedraw, base 526 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DispatchComposite, main_thread_weak_ptr_)); base 533 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::RealEndTest, main_thread_weak_ptr_)); base 537 cc/test/layer_tree_test.cc base::MessageLoop::current()->Quit(); base 629 cc/test/layer_tree_test.cc base::TimeTicks now = gfx::FrameTime::Now(); base 637 cc/test/layer_tree_test.cc impl_thread_.reset(new base::Thread("Compositor")); base 641 cc/test/layer_tree_test.cc main_task_runner_ = base::MessageLoopProxy::current(); base 657 cc/test/layer_tree_test.cc base::Bind(&LayerTreeTest::DoBeginTest, base::Unretained(this))); base 660 cc/test/layer_tree_test.cc timeout_.Reset(base::Bind(&LayerTreeTest::Timeout, base::Unretained(this))); base 664 cc/test/layer_tree_test.cc base::TimeDelta::FromSeconds(timeout_seconds_)); base 667 cc/test/layer_tree_test.cc base::MessageLoop::current()->Run(); base 58 cc/test/layer_tree_test.h base::TimeTicks monotonic_time) {} base 62 cc/test/layer_tree_test.h base::TimeTicks monotonic_time) {} base 65 cc/test/layer_tree_test.h virtual void Animate(base::TimeTicks monotonic_time) {} base 81 cc/test/layer_tree_test.h virtual base::TimeDelta LowFrequencyAnimationInterval() const; base 84 cc/test/layer_tree_test.h virtual void NotifyAnimationStarted(base::TimeTicks monotonic_time, base 88 cc/test/layer_tree_test.h base::TimeTicks monotonic_time, base 167 cc/test/layer_tree_test.h base::SingleThreadTaskRunner* ImplThreadTaskRunner() { base 172 cc/test/layer_tree_test.h base::SingleThreadTaskRunner* MainThreadTaskRunner() { base 215 cc/test/layer_tree_test.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 216 cc/test/layer_tree_test.h scoped_ptr<base::Thread> impl_thread_; base 217 cc/test/layer_tree_test.h base::CancelableClosure timeout_; base 219 cc/test/layer_tree_test.h base::WeakPtr<LayerTreeTest> main_thread_weak_ptr_; base 220 cc/test/layer_tree_test.h base::WeakPtrFactory<LayerTreeTest> weak_factory_; base 35 cc/test/ordered_texture_map.h typedef base::hash_map<GLuint, scoped_refptr<TestTexture> > base 13 cc/test/paths.cc bool PathProvider(int key, base::FilePath* result) { base 14 cc/test/paths.cc base::FilePath cur; base 20 cc/test/paths.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur)) base 25 cc/test/paths.cc if (!base::PathExists(cur)) // we don't want to create this base 40 cc/test/pixel_test.cc const base::FilePath& ref_file, base 53 cc/test/pixel_test.cc const base::FilePath& ref_file, base 55 cc/test/pixel_test.cc base::RunLoop run_loop; base 58 cc/test/pixel_test.cc base::Bind(&PixelTest::ReadbackResult, base 59 cc/test/pixel_test.cc base::Unretained(this), base 93 cc/test/pixel_test.cc void PixelTest::ReadbackResult(base::Closure quit_run_loop, base 100 cc/test/pixel_test.cc bool PixelTest::PixelsMatchReference(const base::FilePath& ref_file, base 102 cc/test/pixel_test.cc base::FilePath test_data_dir; base 130 cc/test/pixel_test.cc new TextureMailboxDeleter(base::MessageLoopProxy::current())); base 38 cc/test/pixel_test.h const base::FilePath& ref_file, base 45 cc/test/pixel_test.h const base::FilePath& ref_file, base 74 cc/test/pixel_test.h void ReadbackResult(base::Closure quit_run_loop, base 77 cc/test/pixel_test.h bool PixelsMatchReference(const base::FilePath& ref_file, base 17 cc/test/pixel_test_utils.cc bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path, base 23 cc/test/pixel_test_utils.cc base::CreateDirectory(file_path.DirName())) { base 26 cc/test/pixel_test_utils.cc return base::WriteFile(file_path, data, size) == size; base 31 cc/test/pixel_test_utils.cc bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap) { base 34 cc/test/pixel_test_utils.cc return base::ReadFileToString(file_path, &png_data) && base 40 cc/test/pixel_test_utils.cc bool MatchesPNGFile(const SkBitmap& gen_bmp, base::FilePath ref_img_path, base 17 cc/test/pixel_test_utils.h bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path, base 22 cc/test/pixel_test_utils.h bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap); base 27 cc/test/pixel_test_utils.h base::FilePath ref_img_path, base 17 cc/test/run_all_perftests.cc return base::LaunchUnitTestsSerially( base 18 cc/test/run_all_perftests.cc argc, argv, base::Bind(&cc::CCTestSuite::Run, base 19 cc/test/run_all_perftests.cc base::Unretained(&test_suite))); base 12 cc/test/run_all_unittests.cc return base::LaunchUnitTests( base 15 cc/test/run_all_unittests.cc base::Bind(&cc::CCTestSuite::Run, base::Unretained(&test_suite))); base 15 cc/test/scheduler_test_common.cc base::TimeTicks FakeDelayBasedTimeSource::Now() const { return now_; } base 33 cc/test/scheduler_test_common.h base::TimeDelta interval, base::SingleThreadTaskRunner* task_runner) { base 38 cc/test/scheduler_test_common.h void SetNow(base::TimeTicks time) { now_ = time; } base 39 cc/test/scheduler_test_common.h virtual base::TimeTicks Now() const OVERRIDE; base 42 cc/test/scheduler_test_common.h FakeDelayBasedTimeSource(base::TimeDelta interval, base 43 cc/test/scheduler_test_common.h base::SingleThreadTaskRunner* task_runner) base 47 cc/test/scheduler_test_common.h base::TimeTicks now_; base 57 cc/test/test_context_provider.cc base::AutoLock lock(destroyed_lock_); base 64 cc/test/test_context_provider.cc base::Bind(&TestContextProvider::OnLostContext, base 65 cc/test/test_context_provider.cc base::Unretained(this))); base 109 cc/test/test_context_provider.cc base::AutoLock lock(destroyed_lock_); base 117 cc/test/test_context_provider.cc base::AutoLock lock(destroyed_lock_); base 124 cc/test/test_context_provider.cc base::AutoLock lock(destroyed_lock_); base 130 cc/test/test_context_provider.cc base::ResetAndReturn(&lost_context_callback_).Run(); base 23 cc/test/test_context_provider.h typedef base::Callback<scoped_ptr<TestWebGraphicsContext3D>(void)> base 69 cc/test/test_context_provider.h base::ThreadChecker main_thread_checker_; base 70 cc/test/test_context_provider.h base::ThreadChecker context_thread_checker_; base 72 cc/test/test_context_provider.h base::Lock destroyed_lock_; base 78 cc/test/test_context_provider.h base::WeakPtrFactory<TestContextProvider> weak_ptr_factory_; base 20 cc/test/test_context_support.cc const base::Closure& callback) { base 22 cc/test/test_context_support.cc base::MessageLoop::current()->PostTask( base 24 cc/test/test_context_support.cc base::Bind(&TestContextSupport::CallAllSyncPointCallbacks, base 29 cc/test/test_context_support.cc const base::Closure& callback) { base 31 cc/test/test_context_support.cc base::MessageLoop::current()->PostTask( base 33 cc/test/test_context_support.cc base::Bind(&TestContextSupport::CallAllSyncPointCallbacks, base 48 cc/test/test_context_support.cc base::MessageLoop::current()->PostTask( base 66 cc/test/test_context_support.cc base::MessageLoop::current()->PostTask( base 67 cc/test/test_context_support.cc FROM_HERE, base::Bind(&TestContextSupport::OnSwapBuffersComplete, base 74 cc/test/test_context_support.cc base::MessageLoop::current()->PostTask( base 75 cc/test/test_context_support.cc FROM_HERE, base::Bind(&TestContextSupport::OnSwapBuffersComplete, base 95 cc/test/test_context_support.cc const base::Closure& callback) { base 22 cc/test/test_context_support.h const base::Closure& callback) OVERRIDE; base 24 cc/test/test_context_support.h const base::Closure& callback) OVERRIDE; base 31 cc/test/test_context_support.h const base::Closure& callback) OVERRIDE; base 40 cc/test/test_context_support.h typedef base::Callback<void(bool visible)> SurfaceVisibleCallback; base 44 cc/test/test_context_support.h typedef base::Callback<void(int plane_z_order, base 67 cc/test/test_context_support.h std::vector<base::Closure> sync_point_callbacks_; base 71 cc/test/test_context_support.h base::Closure swap_buffers_complete_callback_; base 76 cc/test/test_context_support.h base::WeakPtrFactory<TestContextSupport> weak_ptr_factory_; base 79 cc/test/test_in_process_context_provider.cc static base::LazyInstance<GLES2Initializer> g_gles2_initializer = base 40 cc/test/test_in_process_context_provider.h friend class base::RefCountedThreadSafe<TestInProcessContextProvider>; base 23 cc/test/test_shared_bitmap_manager.cc base::AutoLock lock(lock_); base 24 cc/test/test_shared_bitmap_manager.cc scoped_ptr<base::SharedMemory> memory(new base::SharedMemory); base 29 cc/test/test_shared_bitmap_manager.cc new SharedBitmap(memory.release(), id, base::Bind(&FreeSharedBitmap))); base 35 cc/test/test_shared_bitmap_manager.cc base::AutoLock lock(lock_); base 39 cc/test/test_shared_bitmap_manager.cc new SharedBitmap(bitmap_map_[id], id, base::Bind(&IgnoreSharedBitmap))); base 43 cc/test/test_shared_bitmap_manager.cc base::SharedMemory* memory) { base 44 cc/test/test_shared_bitmap_manager.cc base::AutoLock lock(lock_); base 48 cc/test/test_shared_bitmap_manager.cc new SharedBitmap(memory, id, base::Bind(&IgnoreSharedBitmap))); base 28 cc/test/test_shared_bitmap_manager.h base::SharedMemory* memory) OVERRIDE; base 31 cc/test/test_shared_bitmap_manager.h base::Lock lock_; base 32 cc/test/test_shared_bitmap_manager.h std::map<SharedBitmapId, base::SharedMemory*> bitmap_map_; base 19 cc/test/test_texture.h struct TestTexture : public base::RefCounted<TestTexture> { base 29 cc/test/test_texture.h typedef base::hash_map<GLenum, GLint> base 34 cc/test/test_texture.h friend class base::RefCounted<TestTexture>; base 28 cc/test/test_web_graphics_context_3d.cc static base::LazyInstance<base::Lock>::Leaky base 76 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(g_shared_namespace_lock.Get()); base 81 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(g_shared_namespace_lock.Get()); base 178 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 203 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 263 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 320 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 476 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 481 cc/test/test_web_graphics_context_3d.cc base::ScopedPtrHashMap<unsigned, Buffer>& buffers = namespace_->buffers; base 492 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 493 cc/test/test_web_graphics_context_3d.cc base::ScopedPtrHashMap<unsigned, Buffer>& buffers = namespace_->buffers; base 514 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 515 cc/test/test_web_graphics_context_3d.cc base::ScopedPtrHashMap<unsigned, Buffer>& buffers = namespace_->buffers; base 534 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 535 cc/test/test_web_graphics_context_3d.cc base::ScopedPtrHashMap<unsigned, Buffer>& buffers = namespace_->buffers; base 547 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 548 cc/test/test_web_graphics_context_3d.cc base::ScopedPtrHashMap<unsigned, Image>& images = namespace_->images; base 563 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 571 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 572 cc/test/test_web_graphics_context_3d.cc base::ScopedPtrHashMap<unsigned, Image>& images = namespace_->images; base 585 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 599 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 604 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 609 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 617 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 626 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 634 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 643 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 651 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock(namespace_->lock); base 661 cc/test/test_web_graphics_context_3d.cc base::ScopedPtrHashMap<unsigned, Buffer>& buffers = namespace_->buffers; base 662 cc/test/test_web_graphics_context_3d.cc base::ScopedPtrHashMap<unsigned, Buffer>::iterator it = buffers.begin(); base 698 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock_for_texture_access(namespace_->lock); base 708 cc/test/test_web_graphics_context_3d.cc base::AutoLock lock_for_texture_access(namespace_->lock); base 34 cc/test/test_web_graphics_context_3d.h void set_context_lost_callback(const base::Closure& callback) { base 359 cc/test/test_web_graphics_context_3d.h typedef base::hash_map<GLenum, GLuint> TargetTextureMap; base 385 cc/test/test_web_graphics_context_3d.h struct Namespace : public base::RefCountedThreadSafe<Namespace> { base 389 cc/test/test_web_graphics_context_3d.h base::Lock lock; base 393 cc/test/test_web_graphics_context_3d.h base::ScopedPtrHashMap<unsigned, Buffer> buffers; base 394 cc/test/test_web_graphics_context_3d.h base::ScopedPtrHashMap<unsigned, Image> images; base 398 cc/test/test_web_graphics_context_3d.h friend class base::RefCountedThreadSafe<Namespace>; base 417 cc/test/test_web_graphics_context_3d.h base::Closure context_lost_callback_; base 418 cc/test/test_web_graphics_context_3d.h base::hash_set<unsigned> used_textures_; base 420 cc/test/test_web_graphics_context_3d.h base::hash_set<unsigned> program_set_; base 422 cc/test/test_web_graphics_context_3d.h base::hash_set<unsigned> shader_set_; base 443 cc/test/test_web_graphics_context_3d.h base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; base 15 cc/trees/blocking_task_runner.cc typedef std::pair<base::SingleThreadTaskRunner*, base 23 cc/trees/blocking_task_runner.cc base::Lock lock; base 34 cc/trees/blocking_task_runner.cc base::AutoLock lock(task_runners->lock); base 49 cc/trees/blocking_task_runner.cc scoped_refptr<base::SingleThreadTaskRunner> current = base 50 cc/trees/blocking_task_runner.cc base::MessageLoopProxy::current(); base 62 cc/trees/blocking_task_runner.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) base 68 cc/trees/blocking_task_runner.cc const base::Closure& task) { base 69 cc/trees/blocking_task_runner.cc base::AutoLock lock(lock_); base 79 cc/trees/blocking_task_runner.cc std::vector<base::Closure> tasks; base 82 cc/trees/blocking_task_runner.cc base::AutoLock lock(lock_); base 43 cc/trees/blocking_task_runner.h : public base::RefCountedThreadSafe<BlockingTaskRunner> { base 74 cc/trees/blocking_task_runner.h const base::Closure& task); base 77 cc/trees/blocking_task_runner.h friend class base::RefCountedThreadSafe<BlockingTaskRunner>; base 80 cc/trees/blocking_task_runner.h scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 85 cc/trees/blocking_task_runner.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 87 cc/trees/blocking_task_runner.h base::Lock lock_; base 89 cc/trees/blocking_task_runner.h std::vector<base::Closure> captured_tasks_; base 102 cc/trees/layer_sorter.h typedef base::hash_map<GraphEdge*, GraphEdge*> EdgeMap; base 44 cc/trees/layer_tree_host.cc static base::StaticAtomicSequenceNumber s_layer_tree_host_sequence_number; base 73 cc/trees/layer_tree_host.cc scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) { base 132 cc/trees/layer_tree_host.cc scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) { base 205 cc/trees/layer_tree_host.cc base::Bind(&LayerTreeHostOnOutputSurfaceCreatedCallback)); base 246 cc/trees/layer_tree_host.cc void LayerTreeHost::UpdateClientAnimations(base::TimeTicks frame_begin_time) { base 697 cc/trees/layer_tree_host.cc base::TimeDelta duration) { base 711 cc/trees/layer_tree_host.cc void LayerTreeHost::Composite(base::TimeTicks frame_begin_time) { base 814 cc/trees/layer_tree_host.cc base::Bind(&LayerTreeHost::CalculateLCDTextMetricsCallback, base 815 cc/trees/layer_tree_host.cc base::Unretained(this))); base 843 cc/trees/layer_tree_host.cc prepaint_callback_.Reset(base::Bind(&LayerTreeHost::TriggerPrepaint, base 844 cc/trees/layer_tree_host.cc base::Unretained(this))); base 845 cc/trees/layer_tree_host.cc static base::TimeDelta prepaint_delay = base 846 cc/trees/layer_tree_host.cc base::TimeDelta::FromMilliseconds(100); base 847 cc/trees/layer_tree_host.cc base::MessageLoop::current()->PostDelayedTask( base 870 cc/trees/layer_tree_host.cc base::Bind(&LayerTreeHostReduceMemoryCallback)); base 1069 cc/trees/layer_tree_host.cc base::TimeDelta(), base 1129 cc/trees/layer_tree_host.cc base::Bind(&TopControlsManager::UpdateTopControlsState, base 1136 cc/trees/layer_tree_host.cc scoped_ptr<base::Value> LayerTreeHost::AsValue() const { base 1137 cc/trees/layer_tree_host.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 1139 cc/trees/layer_tree_host.cc return state.PassAs<base::Value>(); base 1142 cc/trees/layer_tree_host.cc void LayerTreeHost::AnimateLayers(base::TimeTicks time) { base 1149 cc/trees/layer_tree_host.cc double monotonic_time = (time - base::TimeTicks()).InSecondsF(); base 1229 cc/trees/layer_tree_host.cc scoped_ptr<base::Value> value, base 90 cc/trees/layer_tree_host.h scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); base 111 cc/trees/layer_tree_host.h void UpdateClientAnimations(base::TimeTicks monotonic_frame_begin_time); base 112 cc/trees/layer_tree_host.h void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); base 140 cc/trees/layer_tree_host.h const base::WeakPtr<InputHandler>& GetInputHandler() { base 146 cc/trees/layer_tree_host.h void Composite(base::TimeTicks frame_begin_time); base 239 cc/trees/layer_tree_host.h base::TimeDelta duration); base 270 cc/trees/layer_tree_host.h scoped_ptr<base::Value> AsValue() const; base 293 cc/trees/layer_tree_host.h scoped_ptr<base::Value> value, base 314 cc/trees/layer_tree_host.h scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); base 349 cc/trees/layer_tree_host.h bool AnimateLayersRecursive(Layer* current, base::TimeTicks time); base 356 cc/trees/layer_tree_host.h typedef base::hash_map<UIResourceId, UIResourceClientData> base 372 cc/trees/layer_tree_host.h base::CancelableClosure prepaint_callback_; base 390 cc/trees/layer_tree_host.h base::WeakPtr<InputHandler> input_handler_weak_ptr_; base 391 cc/trees/layer_tree_host.h base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_; base 402 cc/trees/layer_tree_host.h base::OneShotTimer<LayerTreeHost> rate_limit_timer_; base 426 cc/trees/layer_tree_host.h base::TimeDelta duration; base 27 cc/trees/layer_tree_host_client.h virtual void Animate(base::TimeTicks frame_begin_time) = 0; base 118 cc/trees/layer_tree_host_common.h const base::Callback<void(LayerType* layer)>& function); base 193 cc/trees/layer_tree_host_common.h const base::Callback<void(LayerType* layer)>& function) { base 36 cc/trees/layer_tree_host_common_perftest.cc base::TimeDelta::FromMilliseconds(kTimeLimitMillis), base 40 cc/trees/layer_tree_host_common_perftest.cc base::FilePath test_data_dir; base 42 cc/trees/layer_tree_host_common_perftest.cc base::FilePath json_file = test_data_dir.AppendASCII(name + ".json"); base 43 cc/trees/layer_tree_host_common_perftest.cc ASSERT_TRUE(base::ReadFileToString(json_file, &json_)); base 8133 cc/trees/layer_tree_host_common_unittest.cc base::Bind(&EmptyCopyOutputCallback))); base 8242 cc/trees/layer_tree_host_common_unittest.cc base::Bind(&EmptyCopyOutputCallback))); base 397 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::Animate(base::TimeTicks monotonic_time) { base 434 cc/trees/layer_tree_host_impl.cc base::TimeDelta duration) { base 522 cc/trees/layer_tree_host_impl.cc scoped_ptr<base::Value> LayerTreeHostImpl::FrameData::AsValue() const { base 523 cc/trees/layer_tree_host_impl.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 533 cc/trees/layer_tree_host_impl.cc scoped_ptr<base::ListValue> render_pass_list(new base::ListValue()); base 538 cc/trees/layer_tree_host_impl.cc return value.PassAs<base::Value>(); base 1213 cc/trees/layer_tree_host_impl.cc const base::Closure& callback) { base 1340 cc/trees/layer_tree_host_impl.cc base::TimeTicks frame_begin_time) { base 1386 cc/trees/layer_tree_host_impl.cc base::Bind(&LayerTreeHostImplDidBeginTracingCallback)); base 1390 cc/trees/layer_tree_host_impl.cc base::Bind(&LayerTreeHostImplDidBeginTracingCallback)); base 1855 cc/trees/layer_tree_host_impl.cc const base::TimeDelta display_refresh_interval = base 1856 cc/trees/layer_tree_host_impl.cc base::TimeDelta::FromMicroseconds( base 1857 cc/trees/layer_tree_host_impl.cc base::Time::kMicrosecondsPerSecond / base 2658 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::AnimatePageScale(base::TimeTicks monotonic_time) { base 2665 cc/trees/layer_tree_host_impl.cc (monotonic_time - base::TimeTicks()).InSecondsF(); base 2688 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::AnimateTopControls(base::TimeTicks time) { base 2704 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::AnimateLayers(base::TimeTicks monotonic_time) { base 2715 cc/trees/layer_tree_host_impl.cc (monotonic_time - base::TimeTicks()).InSecondsF(); base 2747 cc/trees/layer_tree_host_impl.cc base::TimeDelta LayerTreeHostImpl::LowFrequencyAnimationInterval() const { base 2748 cc/trees/layer_tree_host_impl.cc return base::TimeDelta::FromSeconds(1); base 2780 cc/trees/layer_tree_host_impl.cc scoped_ptr<base::Value> json(active_tree_->root_layer()->LayerTreeAsJson()); base 2781 cc/trees/layer_tree_host_impl.cc base::JSONWriter::WriteWithOptions( base 2782 cc/trees/layer_tree_host_impl.cc json.get(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &str); base 2820 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::AnimateScrollbars(base::TimeTicks time) { base 2825 cc/trees/layer_tree_host_impl.cc base::TimeTicks time) { base 2848 cc/trees/layer_tree_host_impl.cc base::TimeTicks time) { base 2855 cc/trees/layer_tree_host_impl.cc base::TimeDelta delay = scrollbar_controller->DelayBeforeStart(time); base 2856 cc/trees/layer_tree_host_impl.cc if (delay > base::TimeDelta()) base 2882 cc/trees/layer_tree_host_impl.cc current_frame_timeticks_ = base::TimeTicks(); base 2885 cc/trees/layer_tree_host_impl.cc base::TimeTicks LayerTreeHostImpl::CurrentFrameTimeTicks() { base 2894 cc/trees/layer_tree_host_impl.cc scoped_ptr<base::Value> LayerTreeHostImpl::AsValueWithFrame( base 2896 cc/trees/layer_tree_host_impl.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 2908 cc/trees/layer_tree_host_impl.cc return state.PassAs<base::Value>(); base 2911 cc/trees/layer_tree_host_impl.cc scoped_ptr<base::Value> LayerTreeHostImpl::ActivationStateAsValue() const { base 2912 cc/trees/layer_tree_host_impl.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 2916 cc/trees/layer_tree_host_impl.cc return state.PassAs<base::Value>(); base 85 cc/trees/layer_tree_host_impl.h virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) = 0; base 101 cc/trees/layer_tree_host_impl.h public base::SupportsWeakPtr<LayerTreeHostImpl> { base 134 cc/trees/layer_tree_host_impl.h base::TimeDelta duration) OVERRIDE; base 150 cc/trees/layer_tree_host_impl.h scoped_ptr<base::Value> AsValue() const; base 168 cc/trees/layer_tree_host_impl.h virtual void Animate(base::TimeTicks monotonic_time); base 184 cc/trees/layer_tree_host_impl.h virtual void DrawLayers(FrameData* frame, base::TimeTicks frame_begin_time); base 237 cc/trees/layer_tree_host_impl.h virtual void SetTreeActivationCallback(const base::Closure& callback) base 391 cc/trees/layer_tree_host_impl.h virtual base::TimeTicks CurrentFrameTimeTicks(); base 393 cc/trees/layer_tree_host_impl.h scoped_ptr<base::Value> AsValue() const { return AsValueWithFrame(NULL); } base 394 cc/trees/layer_tree_host_impl.h scoped_ptr<base::Value> AsValueWithFrame(FrameData* frame) const; base 395 cc/trees/layer_tree_host_impl.h scoped_ptr<base::Value> ActivationStateAsValue() const; base 446 cc/trees/layer_tree_host_impl.h virtual void AnimateLayers(base::TimeTicks monotonic_time); base 449 cc/trees/layer_tree_host_impl.h virtual base::TimeDelta LowFrequencyAnimationInterval() const; base 474 cc/trees/layer_tree_host_impl.h void AnimatePageScale(base::TimeTicks monotonic_time); base 475 cc/trees/layer_tree_host_impl.h void AnimateScrollbars(base::TimeTicks monotonic_time); base 476 cc/trees/layer_tree_host_impl.h void AnimateTopControls(base::TimeTicks monotonic_time); base 503 cc/trees/layer_tree_host_impl.h base::TimeTicks time); base 513 cc/trees/layer_tree_host_impl.h void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time); base 524 cc/trees/layer_tree_host_impl.h typedef base::hash_map<UIResourceId, UIResourceData> base 636 cc/trees/layer_tree_host_impl.h base::TimeTicks current_frame_timeticks_; base 649 cc/trees/layer_tree_host_impl.h base::Closure tree_activation_callback_; base 79 cc/trees/layer_tree_host_impl_unittest.cc : proxy_(base::MessageLoopProxy::current()), base 148 cc/trees/layer_tree_host_impl_unittest.cc virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) base 396 cc/trees/layer_tree_host_impl_unittest.cc base::TimeDelta requested_scrollbar_animation_delay_; base 1095 cc/trees/layer_tree_host_impl_unittest.cc base::TimeTicks start_time = base::TimeTicks() + base 1096 cc/trees/layer_tree_host_impl_unittest.cc base::TimeDelta::FromSeconds(1); base 1097 cc/trees/layer_tree_host_impl_unittest.cc base::TimeDelta duration = base::TimeDelta::FromMilliseconds(100); base 1098 cc/trees/layer_tree_host_impl_unittest.cc base::TimeTicks halfway_through_animation = start_time + duration / 2; base 1099 cc/trees/layer_tree_host_impl_unittest.cc base::TimeTicks end_time = start_time + duration; base 1165 cc/trees/layer_tree_host_impl_unittest.cc base::TimeTicks start_time = base::TimeTicks() + base 1166 cc/trees/layer_tree_host_impl_unittest.cc base::TimeDelta::FromSeconds(1); base 1167 cc/trees/layer_tree_host_impl_unittest.cc base::TimeDelta duration = base::TimeDelta::FromMilliseconds(100); base 1168 cc/trees/layer_tree_host_impl_unittest.cc base::TimeTicks halfway_through_animation = start_time + duration / 2; base 1169 cc/trees/layer_tree_host_impl_unittest.cc base::TimeTicks end_time = start_time + duration; base 1207 cc/trees/layer_tree_host_impl_unittest.cc virtual base::TimeTicks CurrentFrameTimeTicks() OVERRIDE { base 1211 cc/trees/layer_tree_host_impl_unittest.cc void SetCurrentPhysicalTimeTicksForTest(base::TimeTicks fake_now) { base 1216 cc/trees/layer_tree_host_impl_unittest.cc base::TimeTicks fake_current_physical_time_; base 1271 cc/trees/layer_tree_host_impl_unittest.cc base::TimeTicks fake_now = gfx::FrameTime::Now(); base 1277 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(base::TimeDelta(), requested_scrollbar_animation_delay_); base 1285 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(base::TimeDelta(), requested_scrollbar_animation_delay_); base 1294 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_LT(base::TimeDelta::FromMilliseconds(19), base 1297 cc/trees/layer_tree_host_impl_unittest.cc requested_scrollbar_animation_delay_ = base::TimeDelta(); base 1301 cc/trees/layer_tree_host_impl_unittest.cc fake_now += base::TimeDelta::FromMilliseconds(25); base 1304 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(base::TimeDelta(), requested_scrollbar_animation_delay_); base 1310 cc/trees/layer_tree_host_impl_unittest.cc fake_now += base::TimeDelta::FromMilliseconds(25); base 1313 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(base::TimeDelta(), requested_scrollbar_animation_delay_); base 1320 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_LT(base::TimeDelta::FromMilliseconds(19), base 1323 cc/trees/layer_tree_host_impl_unittest.cc requested_scrollbar_animation_delay_ = base::TimeDelta(); base 1327 cc/trees/layer_tree_host_impl_unittest.cc fake_now += base::TimeDelta::FromMilliseconds(10); base 4371 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(4, 4), 0x80, 0x80, 0x80, base::TimeDelta()); base 5370 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, base::TimeTicks()); base 5776 cc/trees/layer_tree_host_impl_unittest.cc base::Bind(&ShutdownReleasesContext_Callback))); base 6085 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->Animate(base::TimeTicks()); base 38 cc/trees/layer_tree_host_perftest.cc base::TimeDelta::FromMilliseconds(kTimeLimitMillis), base 40 cc/trees/layer_tree_host_perftest.cc commit_timer_(0, base::TimeDelta(), 1), base 56 cc/trees/layer_tree_host_perftest.cc virtual void Animate(base::TimeTicks monotonic_time) OVERRIDE { base 128 cc/trees/layer_tree_host_perftest.cc base::FilePath test_data_dir; base 130 cc/trees/layer_tree_host_perftest.cc base::FilePath json_file = test_data_dir.AppendASCII(name + ".json"); base 131 cc/trees/layer_tree_host_perftest.cc ASSERT_TRUE(base::ReadFileToString(json_file, &json_)); base 282 cc/trees/layer_tree_host_perftest.cc base::Bind(&EmptyReleaseCallback)); base 299 cc/trees/layer_tree_host_perftest.cc base::Bind(&BrowserCompositorInvalidateLayerTreePerfTest:: base 301 cc/trees/layer_tree_host_perftest.cc base::Unretained(this))); base 48 cc/trees/layer_tree_host_pixeltest_blending.cc base::FilePath(FILE_PATH_LITERAL("blending_with_root.png"))); base 77 cc/trees/layer_tree_host_pixeltest_blending.cc base::FilePath(FILE_PATH_LITERAL("blending_transparent.png"))); base 110 cc/trees/layer_tree_host_pixeltest_blending.cc base::FilePath(FILE_PATH_LITERAL("blending_and_filter.png"))); base 54 cc/trees/layer_tree_host_pixeltest_filters.cc base::FilePath(FILE_PATH_LITERAL("background_filter_blur.png"))); base 95 cc/trees/layer_tree_host_pixeltest_filters.cc base::FilePath(FILE_PATH_LITERAL( base 156 cc/trees/layer_tree_host_pixeltest_filters.cc base::FilePath(FILE_PATH_LITERAL( base 202 cc/trees/layer_tree_host_pixeltest_filters.cc base::FilePath(FILE_PATH_LITERAL("blue_yellow.png"))); base 68 cc/trees/layer_tree_host_pixeltest_masks.cc base::FilePath(FILE_PATH_LITERAL("mask_of_layer.png"))); base 98 cc/trees/layer_tree_host_pixeltest_masks.cc base::FilePath(FILE_PATH_LITERAL("image_mask_of_layer.png"))); base 127 cc/trees/layer_tree_host_pixeltest_masks.cc base::FilePath(FILE_PATH_LITERAL("mask_of_clipped_layer.png"))); base 157 cc/trees/layer_tree_host_pixeltest_masks.cc base::FilePath(FILE_PATH_LITERAL("mask_with_replica.png"))); base 196 cc/trees/layer_tree_host_pixeltest_masks.cc base::FilePath(FILE_PATH_LITERAL( base 232 cc/trees/layer_tree_host_pixeltest_masks.cc base::FilePath(FILE_PATH_LITERAL("mask_of_replica.png"))); base 275 cc/trees/layer_tree_host_pixeltest_masks.cc base::FilePath(FILE_PATH_LITERAL( base 106 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc base::FilePath(FILE_PATH_LITERAL("blue_yellow.png"))); base 33 cc/trees/layer_tree_host_pixeltest_readback.cc base::Bind(&LayerTreeHostReadbackPixelTest::ReadbackResultAsBitmap, base 34 cc/trees/layer_tree_host_pixeltest_readback.cc base::Unretained(this))); base 38 cc/trees/layer_tree_host_pixeltest_readback.cc base::Bind(&LayerTreeHostReadbackPixelTest::ReadbackResultAsBitmap, base 39 cc/trees/layer_tree_host_pixeltest_readback.cc base::Unretained(this))); base 43 cc/trees/layer_tree_host_pixeltest_readback.cc base::Bind(&LayerTreeHostReadbackPixelTest::ReadbackResultAsTexture, base 44 cc/trees/layer_tree_host_pixeltest_readback.cc base::Unretained(this))); base 111 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 125 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 139 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 153 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 172 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 190 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 208 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 223 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 238 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 253 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 269 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 284 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 299 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 319 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 339 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 358 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 383 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 408 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 433 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 458 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 483 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 508 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 529 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("green_with_blue_corner.png"))); base 549 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("green_with_blue_corner.png"))); base 569 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("green_with_blue_corner.png"))); base 587 cc/trees/layer_tree_host_pixeltest_readback.cc base::Bind(&IgnoreReadbackResult))); base 590 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("black.png"))); base 608 cc/trees/layer_tree_host_pixeltest_readback.cc base::Bind(&IgnoreReadbackResult))); base 611 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("black.png"))); base 629 cc/trees/layer_tree_host_pixeltest_readback.cc base::Bind(&IgnoreReadbackResult))); base 632 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("black.png"))); base 652 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 673 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 694 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 716 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 738 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 760 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 785 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("green_small_with_blue_corner.png"))); base 809 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("green_small_with_blue_corner.png"))); base 833 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("green_small_with_blue_corner.png"))); base 859 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("green_small_with_blue_corner.png"))); base 885 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("green_small_with_blue_corner.png"))); base 910 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL("green_small_with_blue_corner.png"))); base 981 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 1012 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 1045 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 1078 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 1172 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 1204 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 1236 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 1268 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 1290 cc/trees/layer_tree_host_pixeltest_readback.cc base::FilePath(FILE_PATH_LITERAL( base 1143 cc/trees/layer_tree_host_unittest.cc base::TimeTicks first_frame_time_; base 1193 cc/trees/layer_tree_host_unittest.cc base::TimeTicks first_frame_time_; base 1263 cc/trees/layer_tree_host_unittest.cc gfx::Vector2d(), false, 1.25f, base::TimeDelta()); base 1882 cc/trees/layer_tree_host_unittest.cc base::AutoLock lock(lock_); base 1887 cc/trees/layer_tree_host_unittest.cc base::AutoLock lock(lock_); base 1894 cc/trees/layer_tree_host_unittest.cc base::AutoLock lock(lock_); base 1902 cc/trees/layer_tree_host_unittest.cc base::Lock lock_; base 2136 cc/trees/layer_tree_host_unittest.cc base::Bind(&LayerTreeHostTestEvictTextures::EvictTexturesOnImplThread, base 2137 cc/trees/layer_tree_host_unittest.cc base::Unretained(this))); base 2691 cc/trees/layer_tree_host_unittest.cc base::TimeTicks frame_time_; base 2711 cc/trees/layer_tree_host_unittest.cc base::Bind(&LayerTreeHostTestBeginImplFrameNotification::EndTest, base 2712 cc/trees/layer_tree_host_unittest.cc base::Unretained(this))); base 3127 cc/trees/layer_tree_host_unittest.cc base::Bind( base 3129 cc/trees/layer_tree_host_unittest.cc base::Unretained(this), base 3130 cc/trees/layer_tree_host_unittest.cc base::Unretained(host_impl))); base 3135 cc/trees/layer_tree_host_unittest.cc base::Bind(&LayerTreeHostTestDeferredInitialize::ReleaseGLAndRedraw, base 3136 cc/trees/layer_tree_host_unittest.cc base::Unretained(this), base 3137 cc/trees/layer_tree_host_unittest.cc base::Unretained(host_impl))); base 3778 cc/trees/layer_tree_host_unittest.cc scoped_ptr<base::AutoReset<bool> > ignore = base 4264 cc/trees/layer_tree_host_unittest.cc ? base::Bind( base 4266 cc/trees/layer_tree_host_unittest.cc base::Unretained(this)) base 4267 cc/trees/layer_tree_host_unittest.cc : base::Closure()); base 4871 cc/trees/layer_tree_host_unittest.cc base::Lock lock; base 4879 cc/trees/layer_tree_host_unittest.cc base::AutoLock lock(result_->lock); base 4884 cc/trees/layer_tree_host_unittest.cc base::AutoLock lock(result_->lock); base 4891 cc/trees/layer_tree_host_unittest.cc base::AutoLock lock(result_->lock); base 4943 cc/trees/layer_tree_host_unittest.cc base::AutoLock lock(swap_promise_result_[0].lock); base 4951 cc/trees/layer_tree_host_unittest.cc base::AutoLock lock(swap_promise_result_[1].lock); base 4961 cc/trees/layer_tree_host_unittest.cc base::AutoLock lock(swap_promise_result_[2].lock); base 5247 cc/trees/layer_tree_host_unittest.cc base::Bind( base 5249 cc/trees/layer_tree_host_unittest.cc base::Unretained(this))); base 5252 cc/trees/layer_tree_host_unittest.cc virtual void Animate(base::TimeTicks monotonic_time) OVERRIDE { base 42 cc/trees/layer_tree_host_unittest_animation.cc virtual void Animate(base::TimeTicks monotonic_time) OVERRIDE { base 93 cc/trees/layer_tree_host_unittest_animation.cc virtual void Animate(base::TimeTicks) OVERRIDE { base 138 cc/trees/layer_tree_host_unittest_animation.cc EXPECT_LT(base::TimeTicks(), start_time_); base 152 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 157 cc/trees/layer_tree_host_unittest_animation.cc EXPECT_LT(base::TimeTicks(), start_time_); base 175 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks start_time_; base 194 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time) OVERRIDE { base 232 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time) OVERRIDE { base 245 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 276 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time) OVERRIDE { base 320 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time) OVERRIDE { base 349 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks last_tick_time_; base 363 cc/trees/layer_tree_host_unittest_animation.cc virtual base::TimeDelta LowFrequencyAnimationInterval() const OVERRIDE { base 364 cc/trees/layer_tree_host_unittest_animation.cc return base::TimeDelta::FromMilliseconds(4); base 372 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 419 cc/trees/layer_tree_host_unittest_animation.cc base::MessageLoopProxy::current()->PostDelayedTask( base 421 cc/trees/layer_tree_host_unittest_animation.cc base::Bind( base 424 cc/trees/layer_tree_host_unittest_animation.cc base::Unretained(this), base 456 cc/trees/layer_tree_host_unittest_animation.cc base::MessageLoopProxy::current()->PostDelayedTask( base 458 cc/trees/layer_tree_host_unittest_animation.cc base::Bind( base 461 cc/trees/layer_tree_host_unittest_animation.cc base::Unretained(this), base 468 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time) OVERRIDE { base 509 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time) OVERRIDE { base 564 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 621 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 713 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time) OVERRIDE { base 730 cc/trees/layer_tree_host_unittest_animation.cc virtual void Animate(base::TimeTicks) OVERRIDE { base 794 cc/trees/layer_tree_host_unittest_animation.cc virtual void Animate(base::TimeTicks) OVERRIDE { base 837 cc/trees/layer_tree_host_unittest_animation.cc virtual void Animate(base::TimeTicks) OVERRIDE { base 883 cc/trees/layer_tree_host_unittest_animation.cc virtual void Animate(base::TimeTicks) OVERRIDE { base 919 cc/trees/layer_tree_host_unittest_animation.cc virtual void Animate(base::TimeTicks) OVERRIDE { base 966 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 972 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 1016 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 1023 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 1099 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time, base 1194 cc/trees/layer_tree_host_unittest_animation.cc virtual void Animate(base::TimeTicks monotonic_time) OVERRIDE { base 1199 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks monotonic_time) OVERRIDE { base 1240 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks last_main_thread_tick_time_; base 1241 cc/trees/layer_tree_host_unittest_animation.cc base::TimeTicks expected_impl_tick_time_; base 694 cc/trees/layer_tree_host_unittest_context.cc base::Bind(&LayerTreeHostContextTestLostContextAndEvictTextures:: base 696 cc/trees/layer_tree_host_unittest_context.cc base::Unretained(this))); base 1011 cc/trees/layer_tree_host_unittest_context.cc base::Bind(&LayerTreeHostContextTestDontUseLostResources:: base 1049 cc/trees/layer_tree_host_unittest_context.cc gfx::Size(4, 4), 0x80, 0x80, 0x80, base::TimeDelta()); base 1057 cc/trees/layer_tree_host_unittest_context.cc base::TimeDelta(), base 1066 cc/trees/layer_tree_host_unittest_context.cc base::TimeDelta(), base 1527 cc/trees/layer_tree_host_unittest_context.cc base::Bind(&UIResourceLostTest::StepCompleteOnMainThreadInternal, base 1528 cc/trees/layer_tree_host_unittest_context.cc base::Unretained(this), base 1534 cc/trees/layer_tree_host_unittest_context.cc base::SingleThreadTaskRunner* task_runner = base 1536 cc/trees/layer_tree_host_unittest_context.cc : base::MessageLoopProxy::current(); base 1538 cc/trees/layer_tree_host_unittest_context.cc base::Bind(&LayerTreeHostContextTest::LoseContext, base 1539 cc/trees/layer_tree_host_unittest_context.cc base::Unretained(this))); base 41 cc/trees/layer_tree_host_unittest_copyrequest.cc base::MessageLoop::current()->PostTask( base 43 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestMultipleRequests::NextStep, base 44 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this))); base 52 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestMultipleRequests:: base 54 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 66 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestMultipleRequests:: base 68 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 70 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestMultipleRequests:: base 72 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 74 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestMultipleRequests:: base 76 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 175 cc/trees/layer_tree_host_unittest_copyrequest.cc CopyOutputRequest::CreateBitmapRequest(base::Bind( base 177 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 179 cc/trees/layer_tree_host_unittest_copyrequest.cc CopyOutputRequest::CreateBitmapRequest(base::Bind( base 181 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 265 cc/trees/layer_tree_host_unittest_copyrequest.cc CopyOutputRequest::CreateBitmapRequest(base::Bind( base 267 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 368 cc/trees/layer_tree_host_unittest_copyrequest.cc CopyOutputRequest::CreateBitmapRequest(base::Bind( base 371 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 440 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestClippedOut::CopyOutputCallback, base 441 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 480 cc/trees/layer_tree_host_unittest_copyrequest.cc CopyOutputRequest::CreateBitmapRequest(base::Bind( base 482 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 584 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestLostOutputSurface:: base 586 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 600 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestLostOutputSurface:: base 602 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this), base 721 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestCountTextures::DoEndTest, base 722 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this))); base 744 cc/trees/layer_tree_host_unittest_copyrequest.cc CopyOutputRequest::CreateRequest(base::Bind( base 746 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this)))); base 795 cc/trees/layer_tree_host_unittest_copyrequest.cc CopyOutputRequest::CreateRequest(base::Bind( base 797 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this))); base 853 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestDestroyBeforeCopy::DidActivate, base 854 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this))); base 865 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestDestroyBeforeCopy:: base 867 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this))); base 930 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestShutdownBeforeCopy::DidActivate, base 931 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this))); base 942 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestShutdownBeforeCopy:: base 944 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this))); base 956 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Bind(&LayerTreeHostCopyRequestTestShutdownBeforeCopy::EndTest, base 957 cc/trees/layer_tree_host_unittest_copyrequest.cc base::Unretained(this))); base 1723 cc/trees/layer_tree_host_unittest_delegated.cc base::Bind(&LayerTreeHostDelegatedTestResourceSentToParent:: base 1725 cc/trees/layer_tree_host_unittest_delegated.cc base::Unretained(this), base 1740 cc/trees/layer_tree_host_unittest_delegated.cc base::Closure receive_resource_on_thread_; base 526 cc/trees/layer_tree_host_unittest_occlusion.cc base::Bind(&CopyOutputCallback))); base 458 cc/trees/layer_tree_host_unittest_scroll.cc base::Bind(&LayerTreeHostScrollTestCaseWithChild::DidScroll, base 459 cc/trees/layer_tree_host_unittest_scroll.cc base::Unretained(this))); base 1071 cc/trees/layer_tree_host_unittest_scroll.cc ThreadCheckingInputHandlerClient(base::SingleThreadTaskRunner* runner, base 1080 cc/trees/layer_tree_host_unittest_scroll.cc virtual void Animate(base::TimeTicks time) OVERRIDE { base 1099 cc/trees/layer_tree_host_unittest_scroll.cc base::SingleThreadTaskRunner* task_runner_; base 1104 cc/trees/layer_tree_host_unittest_scroll.cc const base::WeakPtr<InputHandler>& input_handler, base 1110 cc/trees/layer_tree_host_unittest_scroll.cc base::Thread impl_thread("cc"); base 1131 cc/trees/layer_tree_host_unittest_scroll.cc base::Bind(&BindInputHandlerOnCompositorThread, base 1133 cc/trees/layer_tree_host_unittest_scroll.cc base::Unretained(&input_handler_client))); base 1210 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->set_did_scroll_callback(base::Bind( base 1211 cc/trees/layer_tree_host_unittest_scroll.cc &FakeLayerScrollClient::DidScroll, base::Unretained(client))); base 383 cc/trees/layer_tree_impl.cc root_layer(), base::Bind(&ApplySentScrollDeltasFromAbortedCommitTo)); base 396 cc/trees/layer_tree_impl.cc root_layer(), base::Bind(&ApplyScrollDeltasSinceBeginMainFrameTo)); base 681 cc/trees/layer_tree_impl.cc base::TimeTicks LayerTreeImpl::CurrentFrameTimeTicks() const { base 721 cc/trees/layer_tree_impl.cc scoped_ptr<base::Value> LayerTreeImpl::AsValue() const { base 722 cc/trees/layer_tree_impl.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 728 cc/trees/layer_tree_impl.cc scoped_ptr<base::ListValue> render_surface_layer_list(new base::ListValue()); base 740 cc/trees/layer_tree_impl.cc return state.PassAs<base::Value>(); base 82 cc/trees/layer_tree_impl.h base::TimeTicks CurrentFrameTimeTicks() const; base 97 cc/trees/layer_tree_impl.h scoped_ptr<base::Value> AsValue() const; base 270 cc/trees/layer_tree_impl.h typedef base::hash_map<int, LayerImpl*> LayerIdMap; base 33 cc/trees/occlusion_tracker_perftest.cc base::TimeDelta::FromMilliseconds(kTimeLimitMillis), base 290 cc/trees/occlusion_tracker_unittest.cc CopyOutputRequest::CreateBitmapRequest(base::Bind( base 292 cc/trees/occlusion_tracker_unittest.cc base::Unretained(this)))); base 298 cc/trees/occlusion_tracker_unittest.cc CopyOutputRequest::CreateBitmapRequest(base::Bind( base 300 cc/trees/occlusion_tracker_unittest.cc base::Unretained(this)))); base 12 cc/trees/proxy.cc base::SingleThreadTaskRunner* Proxy::MainThreadTaskRunner() const { base 18 cc/trees/proxy.cc base::SingleThreadTaskRunner* Proxy::ImplThreadTaskRunner() const { base 65 cc/trees/proxy.cc Proxy::Proxy(scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) base 66 cc/trees/proxy.cc : main_task_runner_(base::MessageLoopProxy::current()), base 80 cc/trees/proxy.cc scoped_ptr<base::Value> Proxy::SchedulerStateAsValueForTesting() { base 81 cc/trees/proxy.cc return make_scoped_ptr(base::Value::CreateNullValue()); base 18 cc/trees/proxy.h namespace base { class SingleThreadTaskRunner; } base 35 cc/trees/proxy.h base::SingleThreadTaskRunner* MainThreadTaskRunner() const; base 37 cc/trees/proxy.h base::SingleThreadTaskRunner* ImplThreadTaskRunner() const; base 100 cc/trees/proxy.h virtual scoped_ptr<base::Value> AsValue() const = 0; base 106 cc/trees/proxy.h virtual scoped_ptr<base::Value> SchedulerStateAsValueForTesting(); base 110 cc/trees/proxy.h scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); base 116 cc/trees/proxy.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 117 cc/trees/proxy.h scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner_; base 21 cc/trees/proxy_timing_history.cc base::TimeDelta ProxyTimingHistory::DrawDurationEstimate() const { base 22 cc/trees/proxy_timing_history.cc base::TimeDelta historical_estimate = base 24 cc/trees/proxy_timing_history.cc base::TimeDelta padding = base::TimeDelta::FromMicroseconds( base 29 cc/trees/proxy_timing_history.cc base::TimeDelta ProxyTimingHistory::BeginMainFrameToCommitDurationEstimate() base 35 cc/trees/proxy_timing_history.cc base::TimeDelta ProxyTimingHistory::CommitToActivateDurationEstimate() const { base 41 cc/trees/proxy_timing_history.cc begin_main_frame_sent_time_ = base::TimeTicks::HighResNow(); base 45 cc/trees/proxy_timing_history.cc commit_complete_time_ = base::TimeTicks::HighResNow(); base 52 cc/trees/proxy_timing_history.cc base::TimeTicks::HighResNow() - commit_complete_time_); base 56 cc/trees/proxy_timing_history.cc start_draw_time_ = base::TimeTicks::HighResNow(); base 59 cc/trees/proxy_timing_history.cc base::TimeDelta ProxyTimingHistory::DidFinishDrawing() { base 60 cc/trees/proxy_timing_history.cc base::TimeDelta draw_duration = base 61 cc/trees/proxy_timing_history.cc base::TimeTicks::HighResNow() - start_draw_time_; base 17 cc/trees/proxy_timing_history.h base::TimeDelta DrawDurationEstimate() const; base 18 cc/trees/proxy_timing_history.h base::TimeDelta BeginMainFrameToCommitDurationEstimate() const; base 19 cc/trees/proxy_timing_history.h base::TimeDelta CommitToActivateDurationEstimate() const; base 26 cc/trees/proxy_timing_history.h base::TimeDelta DidFinishDrawing(); base 33 cc/trees/proxy_timing_history.h base::TimeTicks begin_main_frame_sent_time_; base 34 cc/trees/proxy_timing_history.h base::TimeTicks commit_complete_time_; base 35 cc/trees/proxy_timing_history.h base::TimeTicks start_draw_time_; base 392 cc/trees/single_thread_proxy.cc void SingleThreadProxy::CompositeImmediately(base::TimeTicks frame_begin_time) { base 420 cc/trees/single_thread_proxy.cc scoped_ptr<base::Value> SingleThreadProxy::AsValue() const { base 421 cc/trees/single_thread_proxy.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 431 cc/trees/single_thread_proxy.cc return state.PassAs<base::Value>(); base 445 cc/trees/single_thread_proxy.cc base::TimeTicks frame_begin_time, base 509 cc/trees/single_thread_proxy.cc base::TimeTicks frame_begin_time, base 519 cc/trees/single_thread_proxy.cc base::AutoReset<bool> mark_inside(&inside_draw_, true); base 53 cc/trees/single_thread_proxy.h virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; base 79 cc/trees/single_thread_proxy.h virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) base 86 cc/trees/single_thread_proxy.h void CompositeImmediately(base::TimeTicks frame_begin_time); base 93 cc/trees/single_thread_proxy.h bool CommitAndComposite(base::TimeTicks frame_begin_time, base 99 cc/trees/single_thread_proxy.h base::TimeTicks frame_begin_time, base 67 cc/trees/thread_proxy.cc scoped_ptr<base::Value> state; base 72 cc/trees/thread_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) { base 79 cc/trees/thread_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) base 169 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::ForceCommitForReadbackOnImplThread, base 228 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::FinishAllRenderingOnImplThread, base 243 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::SetLayerTreeHostClientReadyOnImplThread, base 259 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::SetVisibleOnImplThread, base 320 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::InitializeOutputSurfaceOnImplThread, base 323 cc/trees/thread_proxy.cc base::Passed(&output_surface), base 367 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::SetNeedsCommitOnImplThread, base 414 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::SetRendererCapabilitiesMainThreadCopy, base 443 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::DidCompleteSwapBuffers, main_thread_weak_ptr_)); base 490 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::SetAnimationEvents, base 492 cc/trees/thread_proxy.cc base::Passed(&events))); base 547 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::SetNeedsRedrawRectOnImplThread, base 571 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::BeginMainFrame, base 573 cc/trees/thread_proxy.cc base::Passed(&main().pending_deferred_commit))); base 624 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::MainThreadHasStoppedFlingingOnImplThread, base 637 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::SetInputThrottledUntilCommitOnImplThread, base 697 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::InitializeImplOnImplThread, base 698 cc/trees/thread_proxy.cc base::Unretained(this), base 722 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::FinishGLOnImplThread, base 733 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::LayerTreeHostClosedOnImplThread, base 749 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::ForceSerializeOnSwapBuffersOnImplThread, base 765 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::SetDebugStateOnImplThread, base 803 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::BeginMainFrame, base 805 cc/trees/thread_proxy.cc base::Passed(&begin_main_frame_state))); base 858 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::BeginMainFrameAbortedOnImplThread, base 941 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::BeginMainFrameAbortedOnImplThread, base 979 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::StartCommitOnImplThread, base 1144 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::CreateAndInitializeOutputSurface, base 1159 cc/trees/thread_proxy.cc base::TimeDelta draw_duration_estimate = DrawDurationEstimate(); base 1160 cc/trees/thread_proxy.cc base::AutoReset<bool> mark_inside(&impl().inside_draw, true); base 1163 cc/trees/thread_proxy.cc base::TimeTicks monotonic_time; base 1267 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::DidCommitAndDrawFrame, main_thread_weak_ptr_)); base 1274 cc/trees/thread_proxy.cc base::TimeDelta draw_duration = impl().timing_history.DidFinishDrawing(); base 1276 cc/trees/thread_proxy.cc base::TimeDelta draw_duration_overestimate; base 1277 cc/trees/thread_proxy.cc base::TimeDelta draw_duration_underestimate; base 1284 cc/trees/thread_proxy.cc base::TimeDelta::FromMilliseconds(1), base 1285 cc/trees/thread_proxy.cc base::TimeDelta::FromMilliseconds(100), base 1289 cc/trees/thread_proxy.cc base::TimeDelta::FromMilliseconds(1), base 1290 cc/trees/thread_proxy.cc base::TimeDelta::FromMilliseconds(100), base 1294 cc/trees/thread_proxy.cc base::TimeDelta::FromMilliseconds(1), base 1295 cc/trees/thread_proxy.cc base::TimeDelta::FromMilliseconds(100), base 1319 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::AcquireLayerTexturesForMainThreadOnImplThread, base 1383 cc/trees/thread_proxy.cc void ThreadProxy::DidAnticipatedDrawTimeChange(base::TimeTicks time) { base 1388 cc/trees/thread_proxy.cc base::TimeDelta ThreadProxy::DrawDurationEstimate() { base 1392 cc/trees/thread_proxy.cc base::TimeDelta ThreadProxy::BeginMainFrameToCommitDurationEstimate() { base 1396 cc/trees/thread_proxy.cc base::TimeDelta ThreadProxy::CommitToActivateDurationEstimate() { base 1442 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::HasInitializedOutputSurfaceOnImplThread, base 1453 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::DoCreateAndInitializeOutputSurface, base 1454 cc/trees/thread_proxy.cc base::Unretained(this))); base 1565 cc/trees/thread_proxy.cc scoped_ptr<base::Value> ThreadProxy::AsValue() const { base 1566 cc/trees/thread_proxy.cc scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); base 1574 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::AsValueOnImplThread, base 1580 cc/trees/thread_proxy.cc return state.PassAs<base::Value>(); base 1584 cc/trees/thread_proxy.cc base::DictionaryValue* state) const { base 1597 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::CommitPendingOnImplThreadForTesting, base 1615 cc/trees/thread_proxy.cc scoped_ptr<base::Value> ThreadProxy::SchedulerStateAsValueForTesting() { base 1624 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::SchedulerStateAsValueOnImplThreadForTesting, base 1647 cc/trees/thread_proxy.cc base::TimeTicks now = impl().layer_tree_host_impl->CurrentFrameTimeTicks(); base 1652 cc/trees/thread_proxy.cc now + base::TimeDelta::FromMilliseconds( base 1689 cc/trees/thread_proxy.cc base::TimeDelta delay = base 1694 cc/trees/thread_proxy.cc if (delay <= base::TimeDelta()) base 1701 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::RenewTreePriorityOnImplThread, base 1715 cc/trees/thread_proxy.cc void ThreadProxy::RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) { base 1718 cc/trees/thread_proxy.cc base::Bind(&ThreadProxy::StartScrollbarAnimationOnImplThread, base 21 cc/trees/thread_proxy.h namespace base { base 41 cc/trees/thread_proxy.h scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); base 70 cc/trees/thread_proxy.h virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; base 72 cc/trees/thread_proxy.h virtual scoped_ptr<base::Value> SchedulerStateAsValueForTesting() OVERRIDE; base 98 cc/trees/thread_proxy.h virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) base 116 cc/trees/thread_proxy.h virtual void DidAnticipatedDrawTimeChange(base::TimeTicks time) OVERRIDE; base 117 cc/trees/thread_proxy.h virtual base::TimeDelta DrawDurationEstimate() OVERRIDE; base 118 cc/trees/thread_proxy.h virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() OVERRIDE; base 119 cc/trees/thread_proxy.h virtual base::TimeDelta CommitToActivateDurationEstimate() OVERRIDE; base 127 cc/trees/thread_proxy.h scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); base 133 cc/trees/thread_proxy.h base::TimeTicks monotonic_frame_begin_time; base 196 cc/trees/thread_proxy.h base::DictionaryValue* state) const; base 229 cc/trees/thread_proxy.h base::CancelableClosure output_surface_creation_callback; base 233 cc/trees/thread_proxy.h base::WeakPtrFactory<ThreadProxy> weak_factory; base 251 cc/trees/thread_proxy.h base::TimeTicks last_monotonic_frame_begin_time; base 298 cc/trees/thread_proxy.h base::TimeTicks animation_freeze_time; base 300 cc/trees/thread_proxy.h base::TimeTicks smoothness_takes_priority_expiration_time; base 306 cc/trees/thread_proxy.h base::WeakPtrFactory<ThreadProxy> weak_factory; base 313 cc/trees/thread_proxy.h base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; base 314 cc/trees/thread_proxy.h base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; base 22 cc/trees/tree_synchronizer.cc typedef base::ScopedPtrHashMap<int, LayerImpl> ScopedPtrLayerImplMap; base 23 cc/trees/tree_synchronizer.cc typedef base::hash_map<int, LayerImpl*> RawPtrLayerImplMap; base 184 cc/trees/tree_synchronizer_unittest.cc SCOPED_TRACE(base::StringPrintf("child layer %" PRIuS, i).c_str()); base 10 chrome/android/java/src/org/chromium/chrome/browser/AccessibilityUtil.java import org.chromium.base.CalledByNative; base 7 chrome/android/java/src/org/chromium/chrome/browser/ApplicationLifetime.java import org.chromium.base.CalledByNative; base 8 chrome/android/java/src/org/chromium/chrome/browser/ApplicationLifetime.java import org.chromium.base.ObserverList; base 10 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java import org.chromium.base.CalledByNative; base 11 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java import org.chromium.base.ObserverList; base 36 chrome/android/java/src/org/chromium/chrome/browser/ChromeBrowserProvider.java import org.chromium.base.CalledByNative; base 37 chrome/android/java/src/org/chromium/chrome/browser/ChromeBrowserProvider.java import org.chromium.base.CalledByNativeUnchecked; base 38 chrome/android/java/src/org/chromium/chrome/browser/ChromeBrowserProvider.java import org.chromium.base.ThreadUtils; base 7 chrome/android/java/src/org/chromium/chrome/browser/ChromeHttpAuthHandler.java import org.chromium.base.CalledByNative; base 10 chrome/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java import org.chromium.base.CalledByNative; base 7 chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java import org.chromium.base.CalledByNative; base 7 chrome/android/java/src/org/chromium/chrome/browser/ForeignSessionHelper.java import org.chromium.base.CalledByNative; base 16 chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java import org.chromium.base.CalledByNative; base 21 chrome/android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java import org.chromium.base.CalledByNative; base 23 chrome/android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java import org.chromium.ui.base.WindowAndroid; base 24 chrome/android/java/src/org/chromium/chrome/browser/NavigationPopup.java import org.chromium.base.CalledByNative; base 25 chrome/android/java/src/org/chromium/chrome/browser/NavigationPopup.java import org.chromium.base.ThreadUtils; base 29 chrome/android/java/src/org/chromium/chrome/browser/NavigationPopup.java import org.chromium.ui.base.LocalizationUtils; base 7 chrome/android/java/src/org/chromium/chrome/browser/PasswordUIView.java import org.chromium.base.CalledByNative; base 8 chrome/android/java/src/org/chromium/chrome/browser/PasswordUIView.java import org.chromium.base.ObserverList; base 7 chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.java import org.chromium.base.CalledByNative; base 15 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java import org.chromium.base.CalledByNative; base 16 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java import org.chromium.base.JNINamespace; base 17 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java import org.chromium.base.ThreadUtils; base 20 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java import org.chromium.ui.base.WindowAndroid; base 15 chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java import org.chromium.base.CalledByNative; base 14 chrome/android/java/src/org/chromium/chrome/browser/Tab.java import org.chromium.base.CalledByNative; base 15 chrome/android/java/src/org/chromium/chrome/browser/Tab.java import org.chromium.base.ObserverList; base 16 chrome/android/java/src/org/chromium/chrome/browser/Tab.java import org.chromium.base.TraceEvent; base 38 chrome/android/java/src/org/chromium/chrome/browser/Tab.java import org.chromium.ui.base.Clipboard; base 39 chrome/android/java/src/org/chromium/chrome/browser/Tab.java import org.chromium.ui.base.WindowAndroid; base 11 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java import org.chromium.base.CalledByNative; base 12 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java import org.chromium.base.ThreadUtils; base 7 chrome/android/java/src/org/chromium/chrome/browser/UmaUtils.java import org.chromium.base.CalledByNative; base 9 chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java import org.chromium.base.CollectionUtil; base 25 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java import org.chromium.base.CalledByNative; base 9 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerAndroid.java import org.chromium.base.CalledByNative; base 10 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerAndroid.java import org.chromium.base.JNINamespace; base 11 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerAndroid.java import org.chromium.ui.base.WindowAndroid; base 7 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogResult.java import org.chromium.base.CalledByNative; base 8 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogResult.java import org.chromium.base.JNINamespace; base 7 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillLogger.java import org.chromium.base.CalledByNative; base 8 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillLogger.java import org.chromium.base.JNINamespace; base 10 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java import org.chromium.base.CalledByNative; base 11 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java import org.chromium.base.JNINamespace; base 15 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java import org.chromium.ui.base.ViewAndroid; base 16 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java import org.chromium.ui.base.ViewAndroidDelegate; base 17 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java import org.chromium.ui.base.WindowAndroid; base 7 chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java import org.chromium.base.CalledByNative; base 8 chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java import org.chromium.base.JNINamespace; base 9 chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java import org.chromium.base.ThreadUtils; base 12 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java import org.chromium.base.CalledByNative; base 13 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java import org.chromium.base.JNINamespace; base 32 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java import org.chromium.base.ApiCompatibilityUtils; base 35 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java import org.chromium.ui.base.LocalizationUtils; base 36 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java import org.chromium.ui.base.WindowAndroid; base 37 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java import org.chromium.ui.base.WindowAndroid.IntentCallback; base 18 chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java import org.chromium.ui.base.LocalizationUtils; base 18 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java import org.chromium.base.CalledByNative; base 9 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuParams.java import org.chromium.base.CalledByNative; base 10 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuParams.java import org.chromium.base.JNINamespace; base 12 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java import org.chromium.base.CalledByNative; base 9 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReporter.java import org.chromium.base.CalledByNative; base 10 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReporter.java import org.chromium.base.JNINamespace; base 10 chrome/android/java/src/org/chromium/chrome/browser/favicon/FaviconHelper.java import org.chromium.base.CalledByNative; base 17 chrome/android/java/src/org/chromium/chrome/browser/infobar/AnimationHelper.java import org.chromium.base.ApiCompatibilityUtils; base 10 chrome/android/java/src/org/chromium/chrome/browser/infobar/AutoLoginDelegate.java import org.chromium.base.CalledByNative; base 7 chrome/android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBarDelegate.java import org.chromium.base.CalledByNative; base 19 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java import org.chromium.base.ApiCompatibilityUtils; base 12 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java import org.chromium.base.CalledByNative; base 19 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java import org.chromium.base.ApiCompatibilityUtils; base 20 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java import org.chromium.base.CalledByNative; base 19 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java import org.chromium.ui.base.LocalizationUtils; base 7 chrome/android/java/src/org/chromium/chrome/browser/infobar/SavePasswordInfoBarDelegate.java import org.chromium.base.CalledByNative; base 7 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBarDelegate.java import org.chromium.base.CalledByNative; base 12 chrome/android/java/src/org/chromium/chrome/browser/invalidation/InvalidationController.java import com.google.common.base.Preconditions; base 14 chrome/android/java/src/org/chromium/chrome/browser/invalidation/InvalidationController.java import org.chromium.base.ApplicationState; base 15 chrome/android/java/src/org/chromium/chrome/browser/invalidation/InvalidationController.java import org.chromium.base.ApplicationStatus; base 16 chrome/android/java/src/org/chromium/chrome/browser/invalidation/InvalidationController.java import org.chromium.base.CalledByNative; base 17 chrome/android/java/src/org/chromium/chrome/browser/invalidation/InvalidationController.java import org.chromium.sync.internal_api.pub.base.ModelType; base 7 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java import org.chromium.base.CalledByNative; base 8 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java import org.chromium.base.ThreadUtils; base 7 chrome/android/java/src/org/chromium/chrome/browser/password_manager/PasswordAuthenticationManager.java import org.chromium.base.CalledByNative; base 7 chrome/android/java/src/org/chromium/chrome/browser/prerender/ExternalPrerenderHandler.java import org.chromium.base.JNINamespace; base 9 chrome/android/java/src/org/chromium/chrome/browser/printing/PrintingControllerFactory.java import org.chromium.base.ApiCompatibilityUtils; base 9 chrome/android/java/src/org/chromium/chrome/browser/profiles/MostVisitedSites.java import org.chromium.base.CalledByNative; base 7 chrome/android/java/src/org/chromium/chrome/browser/profiles/Profile.java import org.chromium.base.CalledByNative; base 9 chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java import org.chromium.base.CalledByNative; base 10 chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java import org.chromium.base.ObserverList; base 11 chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java import org.chromium.base.ThreadUtils; base 7 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java import org.chromium.base.CalledByNative; base 8 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java import org.chromium.base.ObserverList; base 9 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java import org.chromium.base.ThreadUtils; base 9 chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementScreenHelper.java import org.chromium.base.CalledByNative; base 10 chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementScreenHelper.java import org.chromium.base.ThreadUtils; base 12 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java import org.chromium.base.CalledByNative; base 13 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java import org.chromium.base.ObserverList; base 14 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java import org.chromium.base.ThreadUtils; base 16 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java import org.chromium.base.CalledByNative; base 17 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java import org.chromium.base.ObserverList; base 18 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java import org.chromium.base.ThreadUtils; base 22 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java import org.chromium.sync.internal_api.pub.base.ModelType; base 20 chrome/android/java/src/org/chromium/chrome/browser/sync/ChromiumSyncAdapter.java import org.chromium.base.ThreadUtils; base 21 chrome/android/java/src/org/chromium/chrome/browser/sync/ChromiumSyncAdapter.java import org.chromium.base.library_loader.ProcessInitException; base 18 chrome/android/java/src/org/chromium/chrome/browser/sync/DelayedSyncController.java import org.chromium.base.ApplicationStatus; base 12 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java import org.chromium.base.CalledByNative; base 13 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java import org.chromium.base.ThreadUtils; base 16 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java import org.chromium.sync.internal_api.pub.base.ModelType; base 7 chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java import org.chromium.base.CalledByNative; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java import org.chromium.base.ThreadUtils; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java import org.chromium.base.test.util.Feature; base 13 chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java import org.chromium.base.test.util.UrlUtils; base 10 chrome/android/javatests/src/org/chromium/chrome/browser/RepostFormWarningTest.java import org.chromium.base.test.util.EnormousTest; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/RepostFormWarningTest.java import org.chromium.base.test.util.Feature; base 10 chrome/android/javatests/src/org/chromium/chrome/browser/ShortcutHelperTest.java import org.chromium.base.test.util.UrlUtils; base 10 chrome/android/javatests/src/org/chromium/chrome/browser/UrlUtilitiesTest.java import org.chromium.base.test.util.Feature; base 16 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java import org.chromium.base.ThreadUtils; base 17 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java import org.chromium.base.test.util.Feature; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerTest.java import org.chromium.base.CommandLine; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerTest.java import org.chromium.base.test.util.Feature; base 13 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerTest.java import org.chromium.base.test.util.UrlUtils; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java import org.chromium.base.ThreadUtils; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java import org.chromium.base.test.util.Feature; base 13 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java import org.chromium.base.test.util.UrlUtils; base 9 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java import org.chromium.base.test.util.Feature; base 21 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java import org.chromium.ui.base.ActivityWindowAndroid; base 22 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java import org.chromium.ui.base.ViewAndroidDelegate; base 23 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java import org.chromium.ui.base.WindowAndroid; base 7 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTestHelper.java import org.chromium.base.ThreadUtils; base 9 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/MockAutofillDialogController.java import org.chromium.base.ThreadUtils; base 13 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/MockAutofillDialogController.java import org.chromium.ui.base.WindowAndroid; base 9 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/PersonalDataManagerTest.java import org.chromium.base.test.util.Feature; base 16 chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java import org.chromium.base.test.util.Feature; base 10 chrome/android/javatests/src/org/chromium/chrome/browser/identity/SettingsSecureBasedIdentificationGeneratorTest.java import org.chromium.base.test.util.AdvancedMockContext; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/identity/SettingsSecureBasedIdentificationGeneratorTest.java import org.chromium.base.test.util.Feature; base 10 chrome/android/javatests/src/org/chromium/chrome/browser/identity/UniqueIdentificationGeneratorFactoryTest.java import org.chromium.base.test.util.Feature; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/identity/UuidBasedUniqueIdentificationGeneratorTest.java import org.chromium.base.test.util.AdvancedMockContext; base 13 chrome/android/javatests/src/org/chromium/chrome/browser/identity/UuidBasedUniqueIdentificationGeneratorTest.java import org.chromium.base.test.util.Feature; base 7 chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java import org.chromium.base.test.util.Feature; base 13 chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java import org.chromium.base.test.util.UrlUtils; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectFileDialogTest.java import org.chromium.base.test.util.Feature; base 13 chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectFileDialogTest.java import org.chromium.base.test.util.UrlUtils; base 23 chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectFileDialogTest.java import org.chromium.ui.base.ActivityWindowAndroid; base 7 chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java import org.chromium.base.test.util.DisabledTest; base 8 chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java import org.chromium.base.test.util.UrlUtils; base 17 chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java import org.chromium.ui.base.ActivityWindowAndroid; base 18 chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java import org.chromium.ui.base.WindowAndroid; base 18 chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/InvalidationControllerTest.java import org.chromium.base.ActivityState; base 19 chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/InvalidationControllerTest.java import org.chromium.base.ApplicationState; base 20 chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/InvalidationControllerTest.java import org.chromium.base.ApplicationStatus; base 21 chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/InvalidationControllerTest.java import org.chromium.base.CollectionUtil; base 22 chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/InvalidationControllerTest.java import org.chromium.base.test.util.AdvancedMockContext; base 23 chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/InvalidationControllerTest.java import org.chromium.base.test.util.Feature; base 24 chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/InvalidationControllerTest.java import org.chromium.sync.internal_api.pub.base.ModelType; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java import org.chromium.base.test.util.Feature; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/prerender/ExternalPrerenderRequestTest.java import org.chromium.base.ThreadUtils; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/prerender/ExternalPrerenderRequestTest.java import org.chromium.base.test.util.Feature; base 15 chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java import org.chromium.base.ApiCompatibilityUtils; base 16 chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java import org.chromium.base.test.util.Feature; base 17 chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java import org.chromium.base.test.util.TestFileUtil; base 18 chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java import org.chromium.base.test.util.UrlUtils; base 9 chrome/android/javatests/src/org/chromium/chrome/browser/search_engines/TemplateUrlServiceTest.java import org.chromium.base.ThreadUtils; base 10 chrome/android/javatests/src/org/chromium/chrome/browser/search_engines/TemplateUrlServiceTest.java import org.chromium.base.test.util.Feature; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceIntegrationTest.java import org.chromium.base.ThreadUtils; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceIntegrationTest.java import org.chromium.base.test.util.AdvancedMockContext; base 13 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceIntegrationTest.java import org.chromium.base.test.util.Feature; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceTest.java import org.chromium.base.test.util.AdvancedMockContext; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceTest.java import org.chromium.base.test.util.Feature; base 16 chrome/android/javatests/src/org/chromium/chrome/browser/sync/ChromiumSyncAdapterTest.java import org.chromium.base.test.util.Feature; base 17 chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 19 chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java import org.chromium.base.ApplicationStatus; base 20 chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java import org.chromium.base.test.util.Feature; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/sync/SyncTest.java import org.chromium.base.ThreadUtils; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/sync/SyncTest.java import org.chromium.base.test.util.HostDrivenTest; base 7 chrome/android/javatests/src/org/chromium/chrome/browser/test/DummyTest.java import org.chromium.base.test.util.HostDrivenTest; base 16 chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java import org.chromium.base.ThreadUtils; base 17 chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java import org.chromium.base.test.util.DisabledTest; base 18 chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java import org.chromium.base.test.util.Feature; base 19 chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java import org.chromium.base.test.util.UrlUtils; base 10 chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarkNodeTest.java import org.chromium.base.test.util.DisabledTest; base 11 chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarkNodeTest.java import org.chromium.base.test.util.Feature; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarksUriTest.java import org.chromium.base.test.util.DisabledTest; base 13 chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderSearchesUriTest.java import org.chromium.base.test.util.DisabledTest; base 12 chrome/android/javatests/src/org/chromium/chrome/browser/test/util/BookmarkUtils.java import org.chromium.base.test.util.UrlUtils; base 10 chrome/android/javatests/src/org/chromium/chrome/browser/translate/TranslateOptionsTest.java import org.chromium.base.test.util.Feature; base 10 chrome/android/javatests/src/org/chromium/chrome/browser/util/HashUtilTest.java import org.chromium.base.test.util.Feature; base 20 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java import org.chromium.base.ApiCompatibilityUtils; base 21 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java import org.chromium.base.BaseSwitches; base 22 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java import org.chromium.base.CommandLine; base 23 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java import org.chromium.base.MemoryPressureListener; base 24 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java import org.chromium.base.library_loader.ProcessInitException; base 42 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java import org.chromium.ui.base.ActivityWindowAndroid; base 43 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java import org.chromium.ui.base.WindowAndroid; base 9 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java import org.chromium.base.CommandLine; base 10 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java import org.chromium.base.PathUtils; base 19 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java import org.chromium.ui.base.WindowAndroid; base 17 chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java import org.chromium.ui.base.WindowAndroid; base 14 chrome/android/shell/java/src/org/chromium/chrome/shell/signin/AccountsChangedReceiver.java import org.chromium.base.ThreadUtils; base 15 chrome/android/shell/java/src/org/chromium/chrome/shell/signin/AccountsChangedReceiver.java import org.chromium.base.library_loader.ProcessInitException; base 13 chrome/android/shell/java/src/org/chromium/chrome/shell/sync/SyncController.java import org.chromium.base.ThreadUtils; base 15 chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 17 chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java import org.chromium.base.CommandLine; base 18 chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java import org.chromium.base.ThreadUtils; base 19 chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java import org.chromium.base.library_loader.ProcessInitException; base 9 chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.java import org.chromium.base.ThreadUtils; base 10 chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.java import org.chromium.base.test.util.Feature; base 9 chrome/android/uiautomator_tests/src/org/chromium/chrome/testshell/uiautomator/DummyTest.java import org.chromium.base.test.util.DisabledTest; base 17 chrome/app/android/chrome_android_initializer.cc base::android::InitVM(vm); base 18 chrome/app/android/chrome_android_initializer.cc JNIEnv* env = base::android::AttachCurrentThread(); base 19 chrome/app/android/chrome_android_initializer.cc if (!base::android::RegisterLibraryLoaderEntryHook(env)) base 25 chrome/app/android/chrome_android_initializer.cc base::android::SetLibraryLoadedHook(&content::LibraryLoaded); base 26 chrome/app/android/chrome_android_initializer.cc base::android::SetVersionNumber(vi.Version().c_str()); base 34 chrome/app/android/chrome_main_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 44 chrome/app/android/chrome_main_delegate_android.cc base::Time startTime = chrome::android::GetMainEntryPointTime(); base 73 chrome/app/chrome_breakpad_client.cc base::subtle::Atomic32 g_browser_crash_dump_count = 0; base 88 chrome/app/chrome_breakpad_client.cc base::FilePath* crash_dir) { base 91 chrome/app/chrome_breakpad_client.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 94 chrome/app/chrome_breakpad_client.cc *crash_dir = base::FilePath::FromUTF8Unsafe(alternate_crash_dump_location); base 102 chrome/app/chrome_breakpad_client.cc const base::FilePath& exe_path, base 103 chrome/app/chrome_breakpad_client.cc base::string16* product_name, base 104 chrome/app/chrome_breakpad_client.cc base::string16* version, base 105 chrome/app/chrome_breakpad_client.cc base::string16* special_build, base 106 chrome/app/chrome_breakpad_client.cc base::string16* channel_name) { base 119 chrome/app/chrome_breakpad_client.cc version->append(base::ASCIIToUTF16("-devel")); base 125 chrome/app/chrome_breakpad_client.cc *product_name = base::ASCIIToUTF16("Chrome"); base 126 chrome/app/chrome_breakpad_client.cc *version = base::ASCIIToUTF16("0.0.0.0-devel"); base 132 chrome/app/chrome_breakpad_client.cc *channel_name = base::WideToUTF16(channel_string); base 135 chrome/app/chrome_breakpad_client.cc bool ChromeBreakpadClient::ShouldShowRestartDialog(base::string16* title, base 136 chrome/app/chrome_breakpad_client.cc base::string16* message, base 138 chrome/app/chrome_breakpad_client.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 152 chrome/app/chrome_breakpad_client.cc base::SplitString(restart_info, '|', &dlg_strings); base 157 chrome/app/chrome_breakpad_client.cc *title = base::UTF8ToUTF16(dlg_strings[0]); base 158 chrome/app/chrome_breakpad_client.cc *message = base::UTF8ToUTF16(dlg_strings[1]); base 164 chrome/app/chrome_breakpad_client.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 183 chrome/app/chrome_breakpad_client.cc bool ChromeBreakpadClient::GetIsPerUserInstall(const base::FilePath& exe_path) { base 188 chrome/app/chrome_breakpad_client.cc base::string16 channel_name(base::WideToUTF16( base 192 chrome/app/chrome_breakpad_client.cc if (channel_name == base::ASCIIToUTF16("dev") || base 193 chrome/app/chrome_breakpad_client.cc channel_name == base::ASCIIToUTF16("beta") || base 206 chrome/app/chrome_breakpad_client.cc base::win::RegKey regkey; base 219 chrome/app/chrome_breakpad_client.cc int length = base::strings::SafeSPrintf(g_browser_crash_dump_prefix, base 244 chrome/app/chrome_breakpad_client.cc int length = base::strings::SafeSPrintf( base 248 chrome/app/chrome_breakpad_client.cc base::subtle::NoBarrier_AtomicIncrement(&g_browser_crash_dump_count, 1)); base 264 chrome/app/chrome_breakpad_client.cc base::string16 key_name = base 265 chrome/app/chrome_breakpad_client.cc base::UTF8ToUTF16(policy::key::kMetricsReportingEnabled); base 267 chrome/app/chrome_breakpad_client.cc base::win::RegKey hklm_policy_key(HKEY_LOCAL_MACHINE, base 274 chrome/app/chrome_breakpad_client.cc base::win::RegKey hkcu_policy_key(HKEY_CURRENT_USER, base 305 chrome/app/chrome_breakpad_client.cc base::FilePath ChromeBreakpadClient::GetReporterLogFilename() { base 306 chrome/app/chrome_breakpad_client.cc return base::FilePath(CrashUploadList::kReporterLogFilename); base 310 chrome/app/chrome_breakpad_client.cc bool ChromeBreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) { base 313 chrome/app/chrome_breakpad_client.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 316 chrome/app/chrome_breakpad_client.cc base::FilePath crash_dumps_dir_path = base 317 chrome/app/chrome_breakpad_client.cc base::FilePath::FromUTF8Unsafe(alternate_crash_dump_location); base 332 chrome/app/chrome_breakpad_client.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 22 chrome/app/chrome_breakpad_client.h virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir) base 24 chrome/app/chrome_breakpad_client.h virtual void GetProductNameAndVersion(const base::FilePath& exe_path, base 25 chrome/app/chrome_breakpad_client.h base::string16* product_name, base 26 chrome/app/chrome_breakpad_client.h base::string16* version, base 27 chrome/app/chrome_breakpad_client.h base::string16* special_build, base 28 chrome/app/chrome_breakpad_client.h base::string16* channel_name) OVERRIDE; base 29 chrome/app/chrome_breakpad_client.h virtual bool ShouldShowRestartDialog(base::string16* title, base 30 chrome/app/chrome_breakpad_client.h base::string16* message, base 34 chrome/app/chrome_breakpad_client.h virtual bool GetIsPerUserInstall(const base::FilePath& exe_path) OVERRIDE; base 44 chrome/app/chrome_breakpad_client.h virtual base::FilePath GetReporterLogFilename() OVERRIDE; base 47 chrome/app/chrome_breakpad_client.h virtual bool GetCrashDumpLocation(base::FilePath* crash_dir) OVERRIDE; base 68 chrome/app/chrome_exe_main_win.cc base::FilePath user_data_dir; base 91 chrome/app/chrome_exe_main_win.cc base::AtExitManager exit_manager; base 37 chrome/app/chrome_main.cc base::win::SetShouldCrashOnProcessDetach(true); base 38 chrome/app/chrome_main.cc base::win::SetAbortBehaviorForCrashReporting(); base 49 chrome/app/chrome_main.cc base::win::SetShouldCrashOnProcessDetach(false); base 111 chrome/app/chrome_main_delegate.cc base::LazyInstance<chrome::ChromeContentBrowserClient> base 116 chrome/app/chrome_main_delegate.cc base::LazyInstance<ChromeContentRendererClient> base 118 chrome/app/chrome_main_delegate.cc base::LazyInstance<chrome::ChromeContentUtilityClient> base 120 chrome/app/chrome_main_delegate.cc base::LazyInstance<chrome::ChromeContentPluginClient> base 125 chrome/app/chrome_main_delegate.cc base::LazyInstance<chrome::ChromeBreakpadClient>::Leaky base 222 chrome/app/chrome_main_delegate.cc base::AdjustOOMScore(base::GetCurrentProcId(), score); base 292 chrome/app/chrome_main_delegate.cc base::FilePath binary(command_line.argv()[0]); base 328 chrome/app/chrome_main_delegate.cc base::FilePath user_data_dir = base 339 chrome/app/chrome_main_delegate.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 342 chrome/app/chrome_main_delegate.cc user_data_dir = base::FilePath::FromUTF8Unsafe(user_data_dir_string); base 487 chrome/app/chrome_main_delegate.cc base::StatisticsRecorder::Initialize(); base 542 chrome/app/chrome_main_delegate.cc const base::CommandLine& command_line, base 572 chrome/app/chrome_main_delegate.cc base::mac::IsBackgroundOnlyProcess(); base 574 chrome/app/chrome_main_delegate.cc base::mac::DisableOSCrashDumps(); base 588 chrome/app/chrome_main_delegate.cc if (base::mac::IsBackgroundOnlyProcess()) { base 594 chrome/app/chrome_main_delegate.cc base::FilePath executable; base 595 chrome/app/chrome_main_delegate.cc if (PathService::Get(base::FILE_EXE, &executable) && base 656 chrome/app/chrome_main_delegate.cc stats_counter_timer_.reset(new base::StatsCounterTimer("Chrome.Init")); base 657 chrome/app/chrome_main_delegate.cc startup_timer_.reset(new base::StatsScope<base::StatsCounterTimer> base 665 chrome/app/chrome_main_delegate.cc base::MessageLoop::EnableHistogrammer(true); base 712 chrome/app/chrome_main_delegate.cc int locale_pak_fd = base::GlobalDescriptors::GetInstance()->MaybeGet( base 715 chrome/app/chrome_main_delegate.cc ResourceBundle::InitSharedInstanceWithPakFile(base::File(locale_pak_fd), base 724 chrome/app/chrome_main_delegate.cc base::GlobalDescriptors::GetInstance()->MaybeGet(extra_pak_keys[i]); base 727 chrome/app/chrome_main_delegate.cc base::File(pak_fd), ui::SCALE_FACTOR_100P); base 730 chrome/app/chrome_main_delegate.cc base::i18n::SetICUDefaultLocale(locale); base 736 chrome/app/chrome_main_delegate.cc base::FilePath resources_pack_path; base 861 chrome/app/chrome_main_delegate.cc base::debug::RestartProfilingAfterFork(); base 13 chrome/app/chrome_main_delegate.h namespace base { base 49 chrome/app/chrome_main_delegate.h void InitMacCrashReporter(const base::CommandLine& command_line, base 59 chrome/app/chrome_main_delegate.h scoped_ptr<base::StatsCounterTimer> stats_counter_timer_; base 60 chrome/app/chrome_main_delegate.h scoped_ptr<base::StatsScope<base::StatsCounterTimer> > startup_timer_; base 8 chrome/app/chrome_main_mac.h namespace base { base 14 chrome/app/chrome_main_mac.h void CheckUserDataDirPolicy(base::FilePath* user_data_dir); base 46 chrome/app/client_util.cc base::LazyInstance<chrome::ChromeBreakpadClient>::Leaky base 58 chrome/app/client_util.cc base::Time build_time; base 59 chrome/app/client_util.cc bool result = base::Time::FromString(kBuildTimeStr, &build_time); base 63 chrome/app/client_util.cc base::Time::Exploded exploded = {0}; base 67 chrome/app/client_util.cc base::Time expiration_time = base::Time::FromLocalExploded(exploded); base 84 chrome/app/client_util.cc std::string random_value(metrics_id.empty() ? base::RandBytesAsString(kLength) base 91 chrome/app/client_util.cc unsigned char sha1_hash[base::kSHA1Length]; base 92 chrome/app/client_util.cc base::SHA1HashBytes( base 100 chrome/app/client_util.cc *population = base::BitsToOpenEndedUnitInterval(random_bits[0]); base 101 chrome/app/client_util.cc *group = base::BitsToOpenEndedUnitInterval(random_bits[1]); base 124 chrome/app/client_util.cc const base::string16 channel(GoogleUpdateSettings::GetChromeChannel( base 144 chrome/app/client_util.cc base::SStringPrintf(&group_name, format_str, value); base 148 chrome/app/client_util.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 158 chrome/app/client_util.cc HMODULE LoadModuleWithDirectory(base::string16* dir, base 178 chrome/app/client_util.cc void RecordDidRun(const base::string16& dll_path) { base 183 chrome/app/client_util.cc void ClearDidRun(const base::string16& dll_path) { base 197 chrome/app/client_util.cc base::string16 GetExecutablePath() { base 201 chrome/app/client_util.cc return base::string16(); base 202 chrome/app/client_util.cc base::string16 exe_path(path); base 206 chrome/app/client_util.cc base::string16 GetCurrentModuleVersion() { base 210 chrome/app/client_util.cc base::string16 version_string(file_version_info->file_version()); base 211 chrome/app/client_util.cc if (Version(base::UTF16ToASCII(version_string)).IsValid()) base 214 chrome/app/client_util.cc return base::string16(); base 232 chrome/app/client_util.cc HMODULE MainDllLoader::Load(base::string16* version, base 233 chrome/app/client_util.cc base::string16* out_file) { base 234 chrome/app/client_util.cc const base::string16 executable_dir(GetExecutablePath()); base 249 chrome/app/client_util.cc base::string16 version_string(GetCurrentModuleVersion()); base 275 chrome/app/client_util.cc base::string16 version; base 276 chrome/app/client_util.cc base::string16 file; base 308 chrome/app/client_util.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 309 chrome/app/client_util.cc env->SetVar(chrome::kChromeVersionEnvVar, base::WideToUTF8(version)); base 338 chrome/app/client_util.cc virtual void OnBeforeLaunch(const base::string16& dll_path) { base 342 chrome/app/client_util.cc virtual int OnBeforeExit(int return_code, const base::string16& dll_path) { base 357 chrome/app/client_util.cc virtual void OnBeforeLaunch(const base::string16& dll_path) OVERRIDE { base 360 chrome/app/client_util.cc const base::string16& dll_path) OVERRIDE { base 21 chrome/app/client_util.h base::string16 GetExecutablePath(); base 25 chrome/app/client_util.h base::string16 GetCurrentModuleVersion(); base 49 chrome/app/client_util.h virtual void OnBeforeLaunch(const base::string16& dll_path) = 0; base 54 chrome/app/client_util.h virtual int OnBeforeExit(int return_code, const base::string16& dll_path) = 0; base 57 chrome/app/client_util.h HMODULE Load(base::string16* version, base::string16* out_file); base 63 chrome/app/delay_load_hook_unittest_win.cc base::ScopedNativeLibrary lib_holder(none); base 76 chrome/app/delay_load_hook_unittest_win.cc base::ScopedNativeLibrary lib_holder(kernel32); base 211 chrome/app/image_pre_reader_win.cc base::win::ScopedHandle file( base 251 chrome/app/image_pre_reader_win.cc base::win::PEImage pe_image(reinterpret_cast<HMODULE>(&headers[0])); base 297 chrome/app/image_pre_reader_win.cc base::win::PEImage pe_image(dll_module); base 330 chrome/app/image_pre_reader_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 331 chrome/app/image_pre_reader_win.cc if (base::win::GetVersion() > base::win::VERSION_XP) { base 335 chrome/app/image_pre_reader_win.cc base::win::ScopedHandle file( base 380 chrome/app/image_pre_reader_win.cc base::win::PEImage pe_image(dll_module); base 401 chrome/app/image_pre_reader_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 410 chrome/app/image_pre_reader_win.cc if (base::win::GetVersion() > base::win::VERSION_XP) { base 38 chrome/app/signature_validator_win.cc base::StringPiece key_bytes(reinterpret_cast<char*>( base 42 chrome/app/signature_validator_win.cc *public_key_hash = StringToLowerASCII(base::HexEncode(hash, arraysize(hash))); base 71 chrome/app/signature_validator_win.cc typedef base::win::GenericScopedHandle<CertStoreHandleTraits, base 72 chrome/app/signature_validator_win.cc base::win::DummyVerifierTraits> ScopedCertStoreHandle; base 106 chrome/app/signature_validator_win.cc base::Time now = base::Time::NowFromSystemTime(); base 134 chrome/app/signature_validator_win.cc bool VerifyAuthenticodeSignature(const base::FilePath& signed_file) { base 165 chrome/app/signature_validator_win.cc bool VerifySignerIsGoogle(const base::FilePath& signed_file, base 199 chrome/app/signature_validator_win.cc base::UTF8ToWide(subject_name).c_str(), base 11 chrome/app/signature_validator_win.h namespace base { base 18 chrome/app/signature_validator_win.h bool VerifyAuthenticodeSignature(const base::FilePath& signed_file); base 24 chrome/app/signature_validator_win.h bool VerifySignerIsGoogle(const base::FilePath& signed_file, base 30 chrome/app/signature_validator_win_unittest.cc const base::FilePath::CharType kCertificateRelativePath[] = base 32 chrome/app/signature_validator_win_unittest.cc const base::FilePath::CharType kDLLRelativePath[] = base 41 chrome/app/signature_validator_win_unittest.cc base::FilePath cert_path = base 43 chrome/app/signature_validator_win_unittest.cc base::FilePath other_cert_path = base 57 chrome/app/signature_validator_win_unittest.cc base::FilePath GetTestCertsDirectory() { base 58 chrome/app/signature_validator_win_unittest.cc base::FilePath src_root; base 59 chrome/app/signature_validator_win_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &src_root); base 63 chrome/app/signature_validator_win_unittest.cc base::FilePath GetTestDLLsDirectory() { base 64 chrome/app/signature_validator_win_unittest.cc base::FilePath src_root; base 65 chrome/app/signature_validator_win_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &src_root); base 69 chrome/app/signature_validator_win_unittest.cc void SetExpectedHash(const base::FilePath& cert_path) { base 71 chrome/app/signature_validator_win_unittest.cc base::ReadFile(cert_path, cert_buffer, CERT_BUFFER_SIZE); base 83 chrome/app/signature_validator_win_unittest.cc base::StringPiece key_bytes(reinterpret_cast<char*>(public_key), base 88 chrome/app/signature_validator_win_unittest.cc StringToLowerASCII(base::HexEncode(hash, arraysize(hash))); base 93 chrome/app/signature_validator_win_unittest.cc base::FilePath full_dll_path = GetTestDLLsDirectory().Append(dll_filename); base 56 chrome/browser/about_flags.cc using base::UserMetricsAction; base 82 chrome/browser/about_flags.cc void AddOsStrings(unsigned bitmask, base::ListValue* list) { base 96 chrome/browser/about_flags.cc list->Append(new base::StringValue(kBitsToOs[i].name)); base 1997 chrome/browser/about_flags.cc base::Value* CreateChoiceData( base 2002 chrome/browser/about_flags.cc base::ListValue* result = new base::ListValue; base 2004 chrome/browser/about_flags.cc base::DictionaryValue* value = new base::DictionaryValue; base 2021 chrome/browser/about_flags.cc base::IntToString(index); base 2024 chrome/browser/about_flags.cc base::string16 Experiment::DescriptionForChoice(int index) const { base 2066 chrome/browser/about_flags.cc base::ListValue* supported_experiments, base 2067 chrome/browser/about_flags.cc base::ListValue* unsupported_experiments) { base 2078 chrome/browser/about_flags.cc base::DictionaryValue* data = new base::DictionaryValue(); base 2086 chrome/browser/about_flags.cc base::ListValue* supported_platforms = new base::ListValue(); base 16 chrome/browser/about_flags.h namespace base { base 105 chrome/browser/about_flags.h base::string16 DescriptionForChoice(int index) const; base 115 chrome/browser/about_flags.h base::CommandLine* command_line, base 121 chrome/browser/about_flags.h const base::CommandLine& new_cmdline, base 122 chrome/browser/about_flags.h const base::CommandLine& active_cmdline); base 135 chrome/browser/about_flags.h base::ListValue* supported_experiments, base 136 chrome/browser/about_flags.h base::ListValue* unsupported_experiments); base 149 chrome/browser/about_flags.h std::map<std::string, base::CommandLine::StringType>* switch_list); base 172 chrome/browser/about_flags_unittest.cc const base::ListValue* experiments_list = prefs_.GetList( base 200 chrome/browser/about_flags_unittest.cc const base::ListValue* experiments_list = prefs_.GetList( base 310 chrome/browser/about_flags_unittest.cc const base::ListValue* experiments_list = base 347 chrome/browser/about_flags_unittest.cc base::ASCIIToWide(switch1_with_equals))); base 360 chrome/browser/about_flags_unittest.cc base::ASCIIToWide(switch2_with_equals))); base 367 chrome/browser/about_flags_unittest.cc const base::ListValue* experiments_list = base 62 chrome/browser/accessibility/accessibility_events.cc base::DictionaryValue *dict) const { base 119 chrome/browser/accessibility/accessibility_events.cc base::DictionaryValue *dict) const { base 140 chrome/browser/accessibility/accessibility_events.cc base::DictionaryValue *dict) const { base 160 chrome/browser/accessibility/accessibility_events.cc void AccessibilityTabInfo::SerializeToDict(base::DictionaryValue *dict) const { base 184 chrome/browser/accessibility/accessibility_events.cc base::DictionaryValue *dict) const { base 207 chrome/browser/accessibility/accessibility_events.cc base::DictionaryValue *dict) const { base 233 chrome/browser/accessibility/accessibility_events.cc base::DictionaryValue *dict) const { base 267 chrome/browser/accessibility/accessibility_events.cc base::DictionaryValue *dict) const { base 305 chrome/browser/accessibility/accessibility_events.cc base::DictionaryValue *dict) const { base 328 chrome/browser/accessibility/accessibility_events.cc base::DictionaryValue *dict) const { base 17 chrome/browser/accessibility/accessibility_events.h namespace base { base 44 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const = 0; base 63 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 131 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 157 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 179 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 208 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 240 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 274 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 316 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 353 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 386 chrome/browser/accessibility/accessibility_events.h virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE; base 35 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> ControlInfoToEventArguments( base 37 chrome/browser/accessibility/accessibility_extension_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 40 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 131 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> args(ControlInfoToEventArguments(info)); base 141 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> args(ControlInfoToEventArguments(info)); base 149 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> args(ControlInfoToEventArguments(info)); base 157 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> args(ControlInfoToEventArguments(info)); base 165 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> args(ControlInfoToEventArguments(info)); base 173 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> args(ControlInfoToEventArguments(info)); base 183 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> event_args(new base::ListValue()); base 184 chrome/browser/accessibility/accessibility_extension_api.cc event_args->Append(base::Value::CreateBooleanValue(loading)); base 185 chrome/browser/accessibility/accessibility_extension_api.cc event_args->Append(base::Value::CreateBooleanValue(make_announcements)); base 195 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> event_args) { base 209 chrome/browser/accessibility/accessibility_extension_api.cc scoped_ptr<base::ListValue> event_args) { base 246 chrome/browser/accessibility/accessibility_extension_api.cc base::DictionaryValue *last_focused_control_dict = base 251 chrome/browser/accessibility/accessibility_extension_api.cc SetResult(base::Value::CreateNullValue()); base 272 chrome/browser/accessibility/accessibility_extension_api.cc base::IntToString(tab_id)); base 276 chrome/browser/accessibility/accessibility_extension_api.cc base::ListValue* alerts_value = new base::ListValue; base 285 chrome/browser/accessibility/accessibility_extension_api.cc base::DictionaryValue* alert_value = new base::DictionaryValue; base 286 chrome/browser/accessibility/accessibility_extension_api.cc const base::string16 message_text = base 25 chrome/browser/accessibility/accessibility_extension_api.h typedef base::Callback<void(ui::AXEvent, base 33 chrome/browser/accessibility/accessibility_extension_api.h base::DictionaryValue* last_focused_control_dict() { base 69 chrome/browser/accessibility/accessibility_extension_api.h scoped_ptr<base::ListValue> event_args); base 86 chrome/browser/accessibility/accessibility_extension_api.h scoped_ptr<base::ListValue> event_args); base 88 chrome/browser/accessibility/accessibility_extension_api.h base::DictionaryValue last_focused_control_dict_; base 38 chrome/browser/accessibility/accessibility_extension_apitest.cc base::ASCIIToUTF16(kAlertMessage), false); base 18 chrome/browser/android/accessibility_util.cc base::android::AttachCurrentThread(), base 19 chrome/browser/android/accessibility_util.cc base::android::GetApplicationContext()); base 24 chrome/browser/android/banners/app_banner_manager.cc using base::android::ConvertJavaStringToUTF8; base 25 chrome/browser/android/banners/app_banner_manager.cc using base::android::ConvertUTF8ToJavaString; base 68 chrome/browser/android/banners/app_banner_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 77 chrome/browser/android/banners/app_banner_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 111 chrome/browser/android/banners/app_banner_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 43 chrome/browser/android/banners/app_banner_settings_helper.cc scoped_ptr<base::Value> value( base 52 chrome/browser/android/banners/app_banner_settings_helper.cc } else if (value->IsType(base::Value::TYPE_DICTIONARY)) { base 54 chrome/browser/android/banners/app_banner_settings_helper.cc base::DictionaryValue* banner_dict = base 55 chrome/browser/android/banners/app_banner_settings_helper.cc static_cast<base::DictionaryValue*>(value.get()); base 92 chrome/browser/android/banners/app_banner_settings_helper.cc scoped_ptr<base::Value> value( base 98 chrome/browser/android/banners/app_banner_settings_helper.cc base::DictionaryValue* banner_dict = NULL; base 99 chrome/browser/android/banners/app_banner_settings_helper.cc if (value.get() && value->IsType(base::Value::TYPE_DICTIONARY)) { base 100 chrome/browser/android/banners/app_banner_settings_helper.cc banner_dict = static_cast<base::DictionaryValue*>(value.release()); base 102 chrome/browser/android/banners/app_banner_settings_helper.cc banner_dict = new base::DictionaryValue(); base 21 chrome/browser/android/bookmarks/bookmarks_bridge.cc using base::android::AttachCurrentThread; base 22 chrome/browser/android/bookmarks/bookmarks_bridge.cc using base::android::ConvertUTF8ToJavaString; base 23 chrome/browser/android/bookmarks/bookmarks_bridge.cc using base::android::ConvertUTF16ToJavaString; base 24 chrome/browser/android/bookmarks/bookmarks_bridge.cc using base::android::ScopedJavaLocalRef; base 25 chrome/browser/android/bookmarks/bookmarks_bridge.cc using base::android::ScopedJavaGlobalRef; base 304 chrome/browser/android/bookmarks/bookmarks_bridge.cc base::string16 BookmarksBridge::GetTitle(const BookmarkNode* node) const { base 57 chrome/browser/android/bookmarks/bookmarks_bridge.h base::android::ScopedJavaLocalRef<jobject> CreateJavaBookmark( base 68 chrome/browser/android/bookmarks/bookmarks_bridge.h base::string16 GetTitle(const BookmarkNode* node) const; base 25 chrome/browser/android/bookmarks/managed_bookmarks_shim.cc base::Bind(&ManagedBookmarksShim::Reload, base::Unretained(this))); base 72 chrome/browser/android/bookmarks/managed_bookmarks_shim.cc base::string16 root_node_name; base 78 chrome/browser/android/bookmarks/managed_bookmarks_shim.cc base::UTF8ToUTF16(domain)); base 84 chrome/browser/android/bookmarks/managed_bookmarks_shim.cc const base::ListValue* list = prefs_->GetList(prefs::kManagedBookmarks); base 87 chrome/browser/android/bookmarks/managed_bookmarks_shim.cc for (base::ListValue::const_iterator it = list->begin(); base 89 chrome/browser/android/bookmarks/managed_bookmarks_shim.cc const base::DictionaryValue* dict = NULL; base 95 chrome/browser/android/bookmarks/managed_bookmarks_shim.cc base::string16 name; base 34 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc base::LazyInstance<PartnerModelKeeper> g_partner_model_keeper = base 115 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc RenameBookmark(node, base::string16()); base 119 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc const base::string16& title) { base 145 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc base::string16 PartnerBookmarksShim::GetTitle(const BookmarkNode* node) const { base 185 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc const GURL& url, const base::string16& provider_title) base 244 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc const base::ListValue* list = base 249 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc for (base::ListValue::const_iterator it = list->begin(); base 251 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc const base::DictionaryValue* dict = NULL; base 258 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc base::string16 provider_title; base 259 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc base::string16 mapped_title; base 277 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc base::ListValue list; base 281 chrome/browser/android/bookmarks/partner_bookmarks_shim.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 30 chrome/browser/android/bookmarks/partner_bookmarks_shim.h class PartnerBookmarksShim : public base::SupportsUserData::Data { base 65 chrome/browser/android/bookmarks/partner_bookmarks_shim.h void RenameBookmark(const BookmarkNode* node, const base::string16& title); base 85 chrome/browser/android/bookmarks/partner_bookmarks_shim.h base::string16 GetTitle(const BookmarkNode* node) const; base 99 chrome/browser/android/bookmarks/partner_bookmarks_shim.h NodeRenamingMapKey(const GURL& url, const base::string16& provider_title); base 102 chrome/browser/android/bookmarks/partner_bookmarks_shim.h const base::string16& provider_title() const { return provider_title_; } base 107 chrome/browser/android/bookmarks/partner_bookmarks_shim.h base::string16 provider_title_; base 109 chrome/browser/android/bookmarks/partner_bookmarks_shim.h typedef std::map<NodeRenamingMapKey, base::string16> NodeRenamingMap; base 47 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc const base::string16& title) { base 54 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc const base::string16& title) { base 79 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc base::MessageLoopForUI message_loop_; base 153 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc root_partner_node->SetTitle(base::ASCIIToUTF16("Partner bookmarks")); base 242 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc root_partner_node->SetTitle(base::ASCIIToUTF16("Partner bookmarks")); base 246 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc partner_folder1->SetTitle(base::ASCIIToUTF16("a.net")); base 251 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc partner_folder2->SetTitle(base::ASCIIToUTF16("b.net")); base 257 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc partner_bookmark1->SetTitle(base::ASCIIToUTF16("a.com")); base 263 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc partner_bookmark2->SetTitle(base::ASCIIToUTF16("b.com")); base 284 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("b.com"), shim->GetTitle(partner_bookmark2)); base 285 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc shim->RenameBookmark(partner_bookmark2, base::ASCIIToUTF16("b2.com")); base 286 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("b2.com"), shim->GetTitle(partner_bookmark2)); base 295 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("a.net"), shim->GetTitle(partner_folder1)); base 296 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc shim->RenameBookmark(partner_folder1, base::ASCIIToUTF16("a2.net")); base 297 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("a2.net"), shim->GetTitle(partner_folder1)); base 306 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Partner bookmarks"), base 308 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc shim->RenameBookmark(root_partner_node, base::ASCIIToUTF16("Partner")); base 309 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Partner"), shim->GetTitle(root_partner_node)); base 327 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc root_partner_node->SetTitle(base::ASCIIToUTF16("Partner bookmarks")); base 331 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc partner_folder1->SetTitle(base::ASCIIToUTF16("a.net")); base 337 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc partner_bookmark1->SetTitle(base::ASCIIToUTF16("a.com")); base 343 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc partner_bookmark2->SetTitle(base::ASCIIToUTF16("b.com")); base 352 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc shim->RenameBookmark(partner_bookmark1, base::ASCIIToUTF16("a2.com")); base 354 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("a2.com"), shim->GetTitle(partner_bookmark1)); base 371 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("a2.com"), shim->GetTitle(partner_bookmark1)); base 384 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc root_partner_node->SetTitle(base::ASCIIToUTF16("Partner bookmarks")); base 388 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc partner_bookmark1->SetTitle(base::ASCIIToUTF16("a")); base 393 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc partner_bookmark2->SetTitle(base::ASCIIToUTF16("b")); base 403 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc shim->RenameBookmark(partner_bookmark1, base::ASCIIToUTF16("a2.com")); base 405 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("a2.com"), shim->GetTitle(partner_bookmark1)); base 410 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("a"), shim->GetTitle(partner_bookmark1)); base 80 chrome/browser/android/chrome_jni_registrar.cc static base::android::RegistrationMethod kChromeRegisteredMethods[] = { base 48 chrome/browser/android/chrome_startup_flags.cc if (base::android::SysUtils::IsLowEndDevice()) base 41 chrome/browser/android/chrome_web_contents_delegate_android.cc using base::android::AttachCurrentThread; base 42 chrome/browser/android/chrome_web_contents_delegate_android.cc using base::android::ScopedJavaLocalRef; base 160 chrome/browser/android/chrome_web_contents_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 188 chrome/browser/android/chrome_web_contents_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 232 chrome/browser/android/chrome_web_contents_delegate_android.cc const base::FilePath& plugin_path, base 233 chrome/browser/android/chrome_web_contents_delegate_android.cc const base::Callback<void(bool)>& callback) { base 332 chrome/browser/android/chrome_web_contents_delegate_android.cc const base::string16& frame_name, const GURL& target_url, base 340 chrome/browser/android/chrome_web_contents_delegate_android.cc base::android::ConvertUTF16ToJavaString(env, frame_name).Release(), base 341 chrome/browser/android/chrome_web_contents_delegate_android.cc base::android::ConvertUTF8ToJavaString(env, target_url.spec()).Release(), base 65 chrome/browser/android/chrome_web_contents_delegate_android.h const base::FilePath& plugin_path, base 66 chrome/browser/android/chrome_web_contents_delegate_android.h const base::Callback<void(bool)>& callback) OVERRIDE; base 78 chrome/browser/android/chrome_web_contents_delegate_android.h const base::string16& frame_name, base 20 chrome/browser/android/chromium_application.cc base::android::AttachCurrentThread(), base 21 chrome/browser/android/chromium_application.cc base::android::GetApplicationContext()); base 26 chrome/browser/android/chromium_application.cc base::android::AttachCurrentThread(), base 27 chrome/browser/android/chromium_application.cc base::android::GetApplicationContext()); base 32 chrome/browser/android/chromium_application.cc base::android::AttachCurrentThread(), base 33 chrome/browser/android/chromium_application.cc base::android::GetApplicationContext()); base 38 chrome/browser/android/chromium_application.cc base::android::AttachCurrentThread(), base 39 chrome/browser/android/chromium_application.cc base::android::GetApplicationContext()); base 80 chrome/browser/android/dev_tools_server.cc virtual base::TimeTicks GetLastActivityTime() const OVERRIDE { base 86 chrome/browser/android/dev_tools_server.cc : title_(base::UTF16ToUTF8(web_contents->GetTitle())), base 92 chrome/browser/android/dev_tools_server.cc TargetBase(const base::string16& title, const GURL& url) base 93 chrome/browser/android/dev_tools_server.cc : title_(base::UTF16ToUTF8(title)), base 101 chrome/browser/android/dev_tools_server.cc const base::TimeTicks last_activity_time_; base 112 chrome/browser/android/dev_tools_server.cc const base::string16& title, base 119 chrome/browser/android/dev_tools_server.cc return base::IntToString(tab_id_); base 177 chrome/browser/android/dev_tools_server.cc TabTarget(int tab_id, const base::string16& title, const GURL& url) base 268 chrome/browser/android/dev_tools_server.cc base::Bind(&DevToolsServerDelegate::PopulatePageThumbnails)); base 277 chrome/browser/android/dev_tools_server.cc virtual base::FilePath GetDebugFrontendDir() OVERRIDE { base 278 chrome/browser/android/dev_tools_server.cc return base::FilePath(); base 286 chrome/browser/android/dev_tools_server.cc scoped_refptr<base::RefCountedMemory> data; base 354 chrome/browser/android/dev_tools_server.cc *name = base::StringPrintf( base 360 chrome/browser/android/dev_tools_server.cc base::Bind(&content::CanUserConnectToDevTools)) base 381 chrome/browser/android/dev_tools_server.cc : socket_name_(base::StringPrintf(kDevToolsChannelNameFormat, base 393 chrome/browser/android/dev_tools_server.cc : socket_name_(base::StringPrintf(kDevToolsChannelNameFormat, base 415 chrome/browser/android/dev_tools_server.cc base::StringPrintf("%s_%d", socket_name_.c_str(), getpid()), base 416 chrome/browser/android/dev_tools_server.cc base::Bind(&content::CanUserConnectToDevTools)), base 417 chrome/browser/android/dev_tools_server.cc base::StringPrintf(kFrontEndURL, content::GetWebKitRevision().c_str()), base 442 chrome/browser/android/dev_tools_server.cc base::android::ConvertJavaStringToUTF8(env, socket_name_prefix)); base 53 chrome/browser/android/dom_distiller/feedback_reporter_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 29 chrome/browser/android/favicon_helper.cc using base::android::ScopedJavaGlobalRef; base 30 chrome/browser/android/favicon_helper.cc using base::android::ScopedJavaLocalRef; base 31 chrome/browser/android/favicon_helper.cc using base::android::AttachCurrentThread; base 32 chrome/browser/android/favicon_helper.cc using base::android::ConvertJavaStringToUTF16; base 33 chrome/browser/android/favicon_helper.cc using base::android::ConvertJavaStringToUTF8; base 34 chrome/browser/android/favicon_helper.cc using base::android::ConvertUTF8ToJavaString; base 65 chrome/browser/android/favicon_helper.cc cancelable_task_tracker_.reset(new base::CancelableTaskTracker()); base 100 chrome/browser/android/favicon_helper.cc FaviconService::FaviconImageCallback callback_runner = base::Bind( base 101 chrome/browser/android/favicon_helper.cc &OnLocalFaviconAvailable, base::Owned(j_scoped_favicon_callback)); base 124 chrome/browser/android/favicon_helper.cc scoped_refptr<base::RefCountedMemory> favicon_png; base 25 chrome/browser/android/favicon_helper.h base::android::ScopedJavaLocalRef<jobject> GetSyncedFaviconImageForURL( base 33 chrome/browser/android/favicon_helper.h scoped_ptr<base::CancelableTaskTracker> cancelable_task_tracker_; base 13 chrome/browser/android/field_trial_helper.cc using base::android::ConvertJavaStringToUTF8; base 14 chrome/browser/android/field_trial_helper.cc using base::android::ConvertUTF8ToJavaString; base 22 chrome/browser/android/field_trial_helper.cc base::FieldTrialList::FindFullName(trial_name)).Release(); base 27 chrome/browser/android/foreign_session_helper.cc using base::android::ScopedJavaGlobalRef; base 28 chrome/browser/android/foreign_session_helper.cc using base::android::ScopedJavaLocalRef; base 29 chrome/browser/android/foreign_session_helper.cc using base::android::AttachCurrentThread; base 30 chrome/browser/android/foreign_session_helper.cc using base::android::ConvertUTF16ToJavaString; base 31 chrome/browser/android/foreign_session_helper.cc using base::android::ConvertUTF8ToJavaString; base 32 chrome/browser/android/foreign_session_helper.cc using base::android::ConvertJavaStringToUTF8; base 216 chrome/browser/android/foreign_session_helper.cc base::DictionaryValue* pref_collapsed_sessions = pref_update.Get(); base 217 chrome/browser/android/foreign_session_helper.cc scoped_ptr<base::DictionaryValue> collapsed_sessions( base 15 chrome/browser/android/foreign_session_helper.h using base::android::ScopedJavaLocalRef; base 49 chrome/browser/android/foreign_session_helper.h base::android::ScopedJavaGlobalRef<jobject> callback_; base 14 chrome/browser/android/intent_helper.cc using base::android::AttachCurrentThread; base 15 chrome/browser/android/intent_helper.cc using base::android::ConvertUTF16ToJavaString; base 20 chrome/browser/android/intent_helper.cc void SendEmail(const base::string16& d_email, base 21 chrome/browser/android/intent_helper.cc const base::string16& d_subject, base 22 chrome/browser/android/intent_helper.cc const base::string16& d_body, base 23 chrome/browser/android/intent_helper.cc const base::string16& d_chooser_title, base 24 chrome/browser/android/intent_helper.cc const base::string16& d_file_to_attach) { base 35 chrome/browser/android/intent_helper.cc base::android::GetApplicationContext(), base 16 chrome/browser/android/intent_helper.h void SendEmail(const base::string16& data_email, base 17 chrome/browser/android/intent_helper.h const base::string16& data_subject, base 18 chrome/browser/android/intent_helper.h const base::string16& data_body, base 19 chrome/browser/android/intent_helper.h const base::string16& data_chooser_title, base 20 chrome/browser/android/intent_helper.h const base::string16& data_file_to_attach); base 27 chrome/browser/android/most_visited_sites.cc using base::android::AttachCurrentThread; base 28 chrome/browser/android/most_visited_sites.cc using base::android::ConvertUTF8ToJavaString; base 29 chrome/browser/android/most_visited_sites.cc using base::android::ConvertJavaStringToUTF8; base 30 chrome/browser/android/most_visited_sites.cc using base::android::ScopedJavaGlobalRef; base 31 chrome/browser/android/most_visited_sites.cc using base::android::ToJavaArrayOfStrings; base 32 chrome/browser/android/most_visited_sites.cc using base::android::CheckException; base 44 chrome/browser/android/most_visited_sites.cc std::vector<base::string16>* titles, base 63 chrome/browser/android/most_visited_sites.cc std::vector<base::string16> titles; base 75 chrome/browser/android/most_visited_sites.cc SkBitmap ExtractThumbnail(const base::RefCountedMemory& image_data) { base 102 chrome/browser/android/most_visited_sites.cc scoped_refptr<base::RefCountedMemory> data; base 118 chrome/browser/android/most_visited_sites.cc base::Bind( base 120 chrome/browser/android/most_visited_sites.cc base::Owned(j_bitmap_ref), base::Owned(j_callback_pass))); base 170 chrome/browser/android/most_visited_sites.cc BrowserThread::DB, FROM_HERE, base::Bind( base 173 chrome/browser/android/most_visited_sites.cc top_sites, base::Owned(j_callback))); base 209 chrome/browser/android/most_visited_sites.cc base::Bind( base 212 chrome/browser/android/most_visited_sites.cc base::Owned(new ScopedJavaGlobalRef<jobject>(observer_)))); base 224 chrome/browser/android/most_visited_sites.cc base::Bind( base 226 chrome/browser/android/most_visited_sites.cc base::Owned(new ScopedJavaGlobalRef<jobject>(observer_)), base 241 chrome/browser/android/most_visited_sites.cc std::vector<base::string16> titles; base 245 chrome/browser/android/most_visited_sites.cc titles.push_back(base::UTF8ToUTF16(suggestion.title())); base 54 chrome/browser/android/most_visited_sites.h base::android::ScopedJavaGlobalRef<jobject>* j_observer, base 61 chrome/browser/android/most_visited_sites.h base::android::ScopedJavaGlobalRef<jobject> observer_; base 67 chrome/browser/android/most_visited_sites.h base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; base 17 chrome/browser/android/new_tab_page_prefs.cc using base::android::ConvertJavaStringToUTF8; base 76 chrome/browser/android/new_tab_page_prefs.cc const base::DictionaryValue* dict = profile_->GetPrefs()->GetDictionary( base 72 chrome/browser/android/omnibox/omnibox_prerender.cc base::string16 url_string = base 73 chrome/browser/android/omnibox/omnibox_prerender.cc base::android::ConvertJavaStringToUTF16(env, j_url); base 74 chrome/browser/android/omnibox/omnibox_prerender.cc base::string16 current_url_string = base 75 chrome/browser/android/omnibox/omnibox_prerender.cc base::android::ConvertJavaStringToUTF16(env, j_current_url); base 15 chrome/browser/android/password_authentication_manager.cc const base::Closure& success_callback) { base 28 chrome/browser/android/password_authentication_manager.cc base::Closure success_callback_; base 46 chrome/browser/android/password_authentication_manager.cc const base::Closure& success_callback) { base 51 chrome/browser/android/password_authentication_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 27 chrome/browser/android/password_authentication_manager.h const base::Closure& success_callback); base 13 chrome/browser/android/password_ui_view_android.cc using base::android::ConvertUTF16ToJavaString; base 14 chrome/browser/android/password_ui_view_android.cc using base::android::ConvertUTF8ToJavaString; base 15 chrome/browser/android/password_ui_view_android.cc using base::android::ScopedJavaLocalRef; base 29 chrome/browser/android/password_ui_view_android.cc size_t index, const base::string16& password_value) { base 37 chrome/browser/android/password_ui_view_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 47 chrome/browser/android/password_ui_view_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 28 chrome/browser/android/password_ui_view_android.h virtual void ShowPassword(size_t index, const base::string16& password_value) base 38 chrome/browser/android/password_ui_view_android.h base::android::ScopedJavaLocalRef<jobject> GetSavedPasswordEntry( base 40 chrome/browser/android/password_ui_view_android.h base::android::ScopedJavaLocalRef<jstring> base 17 chrome/browser/android/prerender_condition_platform.cc class BooleanWrapper : public base::SupportsUserData::Data { base 37 chrome/browser/android/prerender_condition_platform.cc base::SupportsUserData::Data* data = context_->GetUserData(kAllowPrerender); base 95 chrome/browser/android/profiles/profile_downloader_android.cc const base::string16& full_name, base 97 chrome/browser/android/profiles/profile_downloader_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 103 chrome/browser/android/profiles/profile_downloader_android.cc base::android::ConvertUTF8ToJavaString(env, account_id).obj(), base 104 chrome/browser/android/profiles/profile_downloader_android.cc base::android::ConvertUTF16ToJavaString(env, full_name).obj(), base 117 chrome/browser/android/profiles/profile_downloader_android.cc base::string16 name; base 124 chrome/browser/android/profiles/profile_downloader_android.cc return base::android::ConvertUTF16ToJavaString(env, name).Release(); base 155 chrome/browser/android/profiles/profile_downloader_android.cc base::android::ConvertJavaStringToUTF8(env, jaccount_id); base 25 chrome/browser/android/profiles/profile_downloader_android.h const base::string16& full_name, base 27 chrome/browser/android/provider/blocking_ui_thread_async_request.h void RunAsyncRequestOnUIThreadBlocking(base::Callback<Signature> request) { base 33 chrome/browser/android/provider/blocking_ui_thread_async_request.h base::Bind( base 46 chrome/browser/android/provider/blocking_ui_thread_async_request.h static void RunRequestOnUIThread(base::Callback<Signature> request) { base 50 chrome/browser/android/provider/blocking_ui_thread_async_request.h base::WaitableEvent request_completed_; base 45 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::AttachCurrentThread; base 46 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::CheckException; base 47 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::ClearException; base 48 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::ConvertJavaStringToUTF16; base 49 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::ConvertJavaStringToUTF8; base 50 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::ConvertUTF8ToJavaString; base 51 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::ConvertUTF16ToJavaString; base 52 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::GetClass; base 53 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::MethodID; base 54 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::JavaRef; base 55 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::ScopedJavaGlobalRef; base 56 chrome/browser/android/provider/chrome_browser_provider.cc using base::android::ScopedJavaLocalRef; base 137 chrome/browser/android/provider/chrome_browser_provider.cc base::Time ConvertJlongToTime(jlong value) { base 138 chrome/browser/android/provider/chrome_browser_provider.cc return base::Time::UnixEpoch() + base 139 chrome/browser/android/provider/chrome_browser_provider.cc base::TimeDelta::FromMilliseconds((int64)value); base 150 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<base::string16> ConvertJStringArrayToString16Array( base 153 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<base::string16> results; base 168 chrome/browser/android/provider/chrome_browser_provider.cc GURL ParseAndMaybeAppendScheme(const base::string16& url, base 172 chrome/browser/android/provider/chrome_browser_provider.cc base::string16 refined_url(base::ASCIIToUTF16(default_scheme)); base 180 chrome/browser/android/provider/chrome_browser_provider.cc const base::string16& title) { base 197 chrome/browser/android/provider/chrome_browser_provider.cc int64 Run(const base::string16& title, base 198 chrome/browser/android/provider/chrome_browser_provider.cc const base::string16& url, base 203 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AddBookmarkTask::RunOnUIThread, base 209 chrome/browser/android/provider/chrome_browser_provider.cc const base::string16& title, base 210 chrome/browser/android/provider/chrome_browser_provider.cc const base::string16& url, base 252 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&RemoveBookmarkTask::RunOnUIThread, model(), id)); base 291 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&RemoveAllBookmarksTask::RunOnUIThread, model())); base 313 chrome/browser/android/provider/chrome_browser_provider.cc const base::string16& title, base 314 chrome/browser/android/provider/chrome_browser_provider.cc const base::string16& url, base 318 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&UpdateBookmarkTask::RunOnUIThread, base 325 chrome/browser/android/provider/chrome_browser_provider.cc const base::string16& title, base 326 chrome/browser/android/provider/chrome_browser_provider.cc const base::string16& url, base 374 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&BookmarkNodeExistsTask::RunOnUIThread, base 400 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&IsInMobileBookmarksBranchTask::RunOnUIThread, base 430 chrome/browser/android/provider/chrome_browser_provider.cc int64 Run(const base::string16& title, const int64 parent_id) { base 433 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&CreateBookmarksFolderOnceTask::RunOnUIThread, base 439 chrome/browser/android/provider/chrome_browser_provider.cc const base::string16& title, base 465 chrome/browser/android/provider/chrome_browser_provider.cc AddBookmarkTask::RunOnUIThread(model, title, base::string16(), true, base 482 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&GetAllBookmarkFoldersTask::RunOnUIThread, model(), jroot)); base 541 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&GetBookmarkNodeTask::RunOnUIThread, base 599 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&GetMobileBookmarksNodeTask::RunOnUIThread, base 644 chrome/browser/android/provider/chrome_browser_provider.cc base::CancelableTaskTracker* cancelable_tracker) base 650 chrome/browser/android/provider/chrome_browser_provider.cc base::CancelableTaskTracker* cancelable_tracker() const { base 656 chrome/browser/android/provider/chrome_browser_provider.cc base::CancelableTaskTracker* cancelable_tracker_; base 667 chrome/browser/android/provider/chrome_browser_provider.cc base::CancelableTaskTracker* cancelable_tracker) base 675 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&FaviconService::GetRawFaviconForURL, base 676 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(service()), base 682 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind( base 684 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this)), base 723 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AndroidHistoryProviderService::InsertHistoryAndBookmark, base 724 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(service()), row, cancelable_consumer(), base 725 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AddBookmarkFromAPITask::OnBookmarkInserted, base 726 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this)))); base 756 chrome/browser/android/provider/chrome_browser_provider.cc const std::vector<base::string16>& selection_args, base 759 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AndroidHistoryProviderService::QueryHistoryAndBookmarks, base 760 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(service()), projections, selection, base 762 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&QueryBookmarksFromAPITask::OnBookmarksQueried, base 763 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this)))); base 790 chrome/browser/android/provider/chrome_browser_provider.cc const std::vector<base::string16>& selection_args) { base 792 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AndroidHistoryProviderService::UpdateHistoryAndBookmarks, base 793 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(service()), row, selection, base 795 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&UpdateBookmarksFromAPITask::OnBookmarksUpdated, base 796 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this)))); base 822 chrome/browser/android/provider/chrome_browser_provider.cc const std::vector<base::string16>& selection_args) { base 824 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AndroidHistoryProviderService::DeleteHistoryAndBookmarks, base 825 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(service()), selection, selection_args, base 827 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&RemoveBookmarksFromAPITask::OnBookmarksRemoved, base 828 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this)))); base 854 chrome/browser/android/provider/chrome_browser_provider.cc const std::vector<base::string16>& selection_args) { base 856 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AndroidHistoryProviderService::DeleteHistory, base 857 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(service()), selection, base 859 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&RemoveHistoryFromAPITask::OnHistoryRemoved, base 860 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this)))); base 925 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AddSearchTermFromAPITask::MakeRequestOnUIThread, base 926 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this), row)); base 936 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AddSearchTermFromAPITask::OnSearchTermInserted, base 937 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this))); base 966 chrome/browser/android/provider/chrome_browser_provider.cc const std::vector<base::string16>& selection_args, base 969 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AndroidHistoryProviderService::QuerySearchTerms, base 970 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(service()), projections, selection, base 972 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind( base 974 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this)))); base 1003 chrome/browser/android/provider/chrome_browser_provider.cc const std::vector<base::string16>& selection_args) { base 1005 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&UpdateSearchTermsFromAPITask::MakeRequestOnUIThread, base 1006 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this), row, selection, selection_args)); base 1014 chrome/browser/android/provider/chrome_browser_provider.cc const std::vector<base::string16>& selection_args) { base 1023 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&UpdateSearchTermsFromAPITask::OnSearchTermsUpdated, base 1024 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this))); base 1049 chrome/browser/android/provider/chrome_browser_provider.cc const std::vector<base::string16>& selection_args) { base 1051 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&AndroidHistoryProviderService::DeleteSearchTerms, base 1052 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(service()), selection, selection_args, base 1054 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind( base 1056 chrome/browser/android/provider/chrome_browser_provider.cc base::Unretained(this)))); base 1092 chrome/browser/android/provider/chrome_browser_provider.cc base::string16 raw_url = ConvertJavaStringToUTF16(env, url); base 1099 chrome/browser/android/provider/chrome_browser_provider.cc row->set_raw_url(base::UTF16ToUTF8(raw_url)); base 1115 chrome/browser/android/provider/chrome_browser_provider.cc base::android::JavaByteArrayToByteVector(env, favicon, &bytes); base 1116 chrome/browser/android/provider/chrome_browser_provider.cc row->set_favicon(base::RefCountedBytes::TakeVector(&bytes)); base 1200 chrome/browser/android/provider/chrome_browser_provider.cc base::string16 url; base 1203 chrome/browser/android/provider/chrome_browser_provider.cc base::string16 title = ConvertJavaStringToUTF16(env, jtitle); base 1220 chrome/browser/android/provider/chrome_browser_provider.cc base::string16 url; base 1223 chrome/browser/android/provider/chrome_browser_provider.cc base::string16 title = ConvertJavaStringToUTF16(env, jtitle); base 1285 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<base::string16> where_args = base 1328 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<base::string16> where_args = base 1343 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<base::string16> where_args = base 1358 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<base::string16> where_args = base 1419 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<base::string16> where_args = base 1452 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<base::string16> where_args = ConvertJStringArrayToString16Array( base 1466 chrome/browser/android/provider/chrome_browser_provider.cc std::vector<base::string16> where_args = base 1493 chrome/browser/android/provider/chrome_browser_provider.cc base::string16 title = ConvertJavaStringToUTF16(env, jtitle); base 1556 chrome/browser/android/provider/chrome_browser_provider.cc return base::android::ToJavaByteArray(env, bitmap_result.bitmap_data->front(), base 1567 chrome/browser/android/provider/chrome_browser_provider.cc scoped_refptr<base::RefCountedMemory> thumbnail; base 1575 chrome/browser/android/provider/chrome_browser_provider.cc return base::android::ToJavaByteArray(env, thumbnail->front(), base 79 chrome/browser/android/provider/chrome_browser_provider.h base::android::ScopedJavaLocalRef<jobject> QueryBookmarkFromAPI( base 115 chrome/browser/android/provider/chrome_browser_provider.h base::android::ScopedJavaLocalRef<jobject> QuerySearchTermFromAPI( base 143 chrome/browser/android/provider/chrome_browser_provider.h base::android::ScopedJavaLocalRef<jobject> GetAllBookmarkFolders(JNIEnv* env, base 146 chrome/browser/android/provider/chrome_browser_provider.h base::android::ScopedJavaLocalRef<jobject> GetBookmarkNode( base 153 chrome/browser/android/provider/chrome_browser_provider.h base::android::ScopedJavaLocalRef<jobject> GetMobileBookmarksFolder( base 165 chrome/browser/android/provider/chrome_browser_provider.h base::android::ScopedJavaLocalRef<jbyteArray> GetFaviconOrTouchIcon( base 170 chrome/browser/android/provider/chrome_browser_provider.h base::android::ScopedJavaLocalRef<jbyteArray> GetThumbnail(JNIEnv* env, base 204 chrome/browser/android/provider/chrome_browser_provider.h base::CancelableTaskTracker cancelable_task_tracker_; base 20 chrome/browser/android/provider/run_on_ui_thread_blocking.h static void Run(base::Callback<Signature> runnable) { base 22 chrome/browser/android/provider/run_on_ui_thread_blocking.h base::WaitableEvent finished(false, false); base 24 chrome/browser/android/provider/run_on_ui_thread_blocking.h base::Bind(&RunOnUIThreadBlocking::RunOnUIThread<Signature>, base 31 chrome/browser/android/provider/run_on_ui_thread_blocking.h static void RunOnUIThread(base::Callback<Signature> runnable, base 32 chrome/browser/android/provider/run_on_ui_thread_blocking.h base::WaitableEvent* finished) { base 17 chrome/browser/android/recently_closed_tabs_bridge.cc using base::android::AttachCurrentThread; base 18 chrome/browser/android/recently_closed_tabs_bridge.cc using base::android::ConvertUTF16ToJavaString; base 19 chrome/browser/android/recently_closed_tabs_bridge.cc using base::android::ConvertUTF8ToJavaString; base 20 chrome/browser/android/recently_closed_tabs_bridge.cc using base::android::ScopedJavaLocalRef; base 53 chrome/browser/android/recently_closed_tabs_bridge.h base::android::ScopedJavaGlobalRef<jobject> callback_; base 16 chrome/browser/android/resource_mapper.cc base::LazyInstance<ResourceMap>::Leaky g_id_map = LAZY_INSTANCE_INITIALIZER; base 32 chrome/browser/android/shortcut_helper.cc const base::string16& title, base 88 chrome/browser/android/shortcut_helper.cc base::Bind(&ShortcutBuilder::FinishAddingShortcut, base 89 chrome/browser/android/shortcut_helper.cc base::Unretained(this)), base 95 chrome/browser/android/shortcut_helper.cc base::WorkerPool::PostTask( base 97 chrome/browser/android/shortcut_helper.cc base::Bind(&ShortcutHelper::AddShortcutInBackground, base 128 chrome/browser/android/shortcut_helper.cc const base::string16& title, base 140 chrome/browser/android/shortcut_helper.cc const base::string16& title, base 143 chrome/browser/android/shortcut_helper.cc DCHECK(base::WorkerPool::RunsTasksOnCurrentThread()); base 160 chrome/browser/android/shortcut_helper.cc JNIEnv* env = base::android::AttachCurrentThread(); base 162 chrome/browser/android/shortcut_helper.cc base::android::ConvertUTF8ToJavaString(env, url.spec()); base 164 chrome/browser/android/shortcut_helper.cc base::android::ConvertUTF16ToJavaString(env, title); base 170 chrome/browser/android/shortcut_helper.cc base::android::GetApplicationContext(), base 183 chrome/browser/android/shortcut_helper.cc base::UserMetricsAction("webapps.AddShortcut.AppShortcut")); base 187 chrome/browser/android/shortcut_helper.cc base::UserMetricsAction("webapps.AddShortcut.AppShortcutApple")); base 191 chrome/browser/android/shortcut_helper.cc base::UserMetricsAction("webapps.AddShortcut.Bookmark")); base 210 chrome/browser/android/shortcut_helper.cc base::android::ConvertJavaStringToUTF16(env, title), base 46 chrome/browser/android/shortcut_helper.h const base::string16& title, base 66 chrome/browser/android/shortcut_helper.h base::string16 title_; base 69 chrome/browser/android/shortcut_helper.h base::CancelableTaskTracker cancelable_task_tracker_; base 79 chrome/browser/android/shortcut_helper.h const base::string16& title, base 85 chrome/browser/android/shortcut_helper.h const base::string16& title, base 20 chrome/browser/android/signin/account_management_screen_helper.cc base::android::AttachCurrentThread(), base 21 chrome/browser/android/signin/account_management_screen_helper.cc base::android::GetApplicationContext(), base 47 chrome/browser/android/signin/signin_manager_android.cc ProfileDataRemover(Profile* profile, const base::Closure& callback) base 49 chrome/browser/android/signin/signin_manager_android.cc origin_loop_(base::MessageLoopProxy::current()), base 64 chrome/browser/android/signin/signin_manager_android.cc base::Closure callback_; base 65 chrome/browser/android/signin/signin_manager_android.cc scoped_refptr<base::MessageLoopProxy> origin_loop_; base 87 chrome/browser/android/signin/signin_manager_android.cc username_ = base::android::ConvertJavaStringToUTF8(env, username); base 91 chrome/browser/android/signin/signin_manager_android.cc base::android::ConvertJavaStringToUTF8(env, username), base 92 chrome/browser/android/signin/signin_manager_android.cc base::Bind(&SigninManagerAndroid::OnPolicyRegisterDone, base 97 chrome/browser/android/signin/signin_manager_android.cc base::android::ScopedJavaLocalRef<jstring> domain; base 114 chrome/browser/android/signin/signin_manager_android.cc base::Bind(&SigninManagerAndroid::OnPolicyFetchDone, base 132 chrome/browser/android/signin/signin_manager_android.cc base::android::ConvertJavaStringToUTF8(env, username)); base 139 chrome/browser/android/signin/signin_manager_android.cc base::android::ScopedJavaLocalRef<jstring> base 141 chrome/browser/android/signin/signin_manager_android.cc base::android::ScopedJavaLocalRef<jstring> domain; base 150 chrome/browser/android/signin/signin_manager_android.cc base::android::ConvertUTF8ToJavaString( base 162 chrome/browser/android/signin/signin_manager_android.cc base::Bind(&SigninManagerAndroid::OnBrowsingDataRemoverDone, base 174 chrome/browser/android/signin/signin_manager_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 175 chrome/browser/android/signin/signin_manager_android.cc base::android::ScopedJavaLocalRef<jstring> domain; base 179 chrome/browser/android/signin/signin_manager_android.cc base::android::ConvertUTF8ToJavaString( base 192 chrome/browser/android/signin/signin_manager_android.cc base::android::AttachCurrentThread(), base 206 chrome/browser/android/signin/signin_manager_android.cc Java_SigninManager_onProfileDataWiped(base::android::AttachCurrentThread(), base 256 chrome/browser/android/signin/signin_manager_android.cc base::android::ConvertJavaStringToUTF8(env, j_username); base 48 chrome/browser/android/signin/signin_manager_android.h base::android::ScopedJavaLocalRef<jstring> GetManagementDomain(JNIEnv* env, base 74 chrome/browser/android/signin/signin_manager_android.h base::android::ScopedJavaGlobalRef<jobject> java_signin_manager_; base 90 chrome/browser/android/signin/signin_manager_android.h base::WeakPtrFactory<SigninManagerAndroid> weak_factory_; base 76 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 84 chrome/browser/android/tab_android.cc base::android::ScopedJavaLocalRef<jobject> TabAndroid::GetJavaObject() { base 85 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 90 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 98 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 105 chrome/browser/android/tab_android.cc base::string16 TabAndroid::GetTitle() const { base 106 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 109 chrome/browser/android/tab_android.cc return base::string16(); base 110 chrome/browser/android/tab_android.cc return base::android::ConvertJavaStringToUTF16( base 115 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 119 chrome/browser/android/tab_android.cc return GURL(base::android::ConvertJavaStringToUTF8( base 124 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 161 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 173 chrome/browser/android/tab_android.cc const base::string16& host, base 174 chrome/browser/android/tab_android.cc const base::string16& realm) { base 179 chrome/browser/android/tab_android.cc const base::string16& title, base 188 chrome/browser/android/tab_android.cc const base::string16& node_title, base 226 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 249 chrome/browser/android/tab_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 368 chrome/browser/android/tab_android.cc base::android::ScopedJavaLocalRef<jobject> TabAndroid::GetWebContents( base 372 chrome/browser/android/tab_android.cc return base::android::ScopedJavaLocalRef<jobject>(); base 376 chrome/browser/android/tab_android.cc base::android::ScopedJavaLocalRef<jobject> TabAndroid::GetProfileAndroid( base 381 chrome/browser/android/tab_android.cc return base::android::ScopedJavaLocalRef<jobject>(); base 384 chrome/browser/android/tab_android.cc return base::android::ScopedJavaLocalRef<jobject>(); base 401 chrome/browser/android/tab_android.cc GURL gurl(base::android::ConvertJavaStringToUTF8(env, url)); base 440 chrome/browser/android/tab_android.cc content::RecordAction(base::UserMetricsAction("ShowHistory")); base 445 chrome/browser/android/tab_android.cc load_params.extra_headers = base::android::ConvertJavaStringToUTF8( base 453 chrome/browser/android/tab_android.cc base::android::JavaByteArrayToByteVector(env, j_post_data, &post_data); base 455 chrome/browser/android/tab_android.cc base::RefCountedBytes::TakeVector(&post_data); base 461 chrome/browser/android/tab_android.cc GURL(base::android::ConvertJavaStringToUTF8(env, j_referrer_url)), base 480 chrome/browser/android/tab_android.cc base::string16 title; base 482 chrome/browser/android/tab_android.cc title = base::android::ConvertJavaStringToUTF16(env, jtitle); base 486 chrome/browser/android/tab_android.cc url = base::android::ConvertJavaStringToUTF8(env, jurl); base 67 chrome/browser/android/tab_android.h base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); base 78 chrome/browser/android/tab_android.h base::string16 GetTitle() const; base 98 chrome/browser/android/tab_android.h const base::string16& host, base 99 chrome/browser/android/tab_android.h const base::string16& realm); base 104 chrome/browser/android/tab_android.h const base::string16& title, base 112 chrome/browser/android/tab_android.h const base::string16& node_title, base 149 chrome/browser/android/tab_android.h base::android::ScopedJavaLocalRef<jobject> GetWebContents(JNIEnv* env, base 151 chrome/browser/android/tab_android.h base::android::ScopedJavaLocalRef<jobject> GetProfileAndroid(JNIEnv* env, base 12 chrome/browser/android/uma_bridge.cc using base::UserMetricsAction; base 12 chrome/browser/android/uma_utils.cc base::Time GetMainEntryPointTime() { base 13 chrome/browser/android/uma_utils.cc JNIEnv* env = base::android::AttachCurrentThread(); base 15 chrome/browser/android/uma_utils.cc return base::Time::UnixEpoch() + base 16 chrome/browser/android/uma_utils.cc base::TimeDelta::FromMilliseconds(startTimeUnixMs); base 15 chrome/browser/android/uma_utils.h base::Time GetMainEntryPointTime(); base 13 chrome/browser/android/url_utilities.cc using base::android::ConvertJavaStringToUTF8; base 54 chrome/browser/android/url_utilities.cc return base::android::ConvertUTF8ToJavaString( base 78 chrome/browser/android/url_utilities.cc base::android::ConvertJavaStringToUTF8(env, url), base 79 chrome/browser/android/url_utilities.cc base::android::ConvertJavaStringToUTF8(env, desired_tld)); base 83 chrome/browser/android/url_utilities.cc base::android::ConvertUTF8ToJavaString(env, fixed_url.spec()).Release() : base 20 chrome/browser/android/webapps/single_tab_mode_tab_helper.cc base::LazyInstance<SingleTabIDSet> g_blocked_ids = LAZY_INSTANCE_INITIALIZER; base 44 chrome/browser/android/webapps/single_tab_mode_tab_helper.cc base::Bind(&AddPairOnIOThread, process_id, routing_id)); base 55 chrome/browser/android/webapps/single_tab_mode_tab_helper.cc base::Bind(&RemovePairOnIOThread, process_id, routing_id)); base 55 chrome/browser/app_controller_mac.h base::scoped_nsobject<AppShimMenuController> appShimMenuController_; base 59 chrome/browser/app_controller_mac.h base::scoped_nsobject<ProfileMenuController> profileMenuController_; base 83 chrome/browser/app_controller_mac.h base::TimeTicks reopenTime_; base 178 chrome/browser/apps/app_browsertest.cc const base::FilePath& test_data_file, base 179 chrome/browser/apps/app_browsertest.cc const base::FilePath& temp_dir, base 181 chrome/browser/apps/app_browsertest.cc base::FilePath path = temp_dir.AppendASCII( base 183 chrome/browser/apps/app_browsertest.cc if (!(base::CopyFile(test_data_file, path))) base 336 chrome/browser/apps/app_browsertest.cc params.selection_text = base::ASCIIToUTF16("Hello World"); base 519 chrome/browser/apps/app_browsertest.cc base::FilePath relative_test_doc = base 520 chrome/browser/apps/app_browsertest.cc base::FilePath::FromUTF8Unsafe(kTestFilePath); base 578 chrome/browser/apps/app_browsertest.cc base::ScopedTempDir temp_dir; base 593 chrome/browser/apps/app_browsertest.cc base::ScopedTempDir temp_dir; base 696 chrome/browser/apps/app_browsertest.cc base::ScopedTempDir temp_dir; base 1025 chrome/browser/apps/app_browsertest.cc base::DictionaryValue* dict = update.Get(); base 140 chrome/browser/apps/app_browsertest_util.cc scoped_ptr<base::ListValue> result(utils::ToList( base 154 chrome/browser/apps/app_browsertest_util.cc base::StringPrintf("[%u]", window_id), base 183 chrome/browser/apps/app_browsertest_util.cc base::FilePath test_doc(test_data_dir_.AppendASCII(test_file)); base 12 chrome/browser/apps/app_browsertest_util.h namespace base { base 29 chrome/browser/apps/app_browsertest_util.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 113 chrome/browser/apps/app_browsertest_util.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 57 chrome/browser/apps/app_launch_for_metro_restart_win.cc base::FilePath profile_dir = base::FilePath::FromUTF8Unsafe( base 81 chrome/browser/apps/app_launch_for_metro_restart_win.cc base::MessageLoop::current()->PostDelayedTask( base 83 chrome/browser/apps/app_launch_for_metro_restart_win.cc base::Bind(&LaunchAppWithId, profile, extension_id), base 84 chrome/browser/apps/app_launch_for_metro_restart_win.cc base::TimeDelta::FromMilliseconds(kRestartAppLaunchDelayMs)); base 113 chrome/browser/apps/app_url_redirector.cc base::Bind(&LaunchAppWithUrl, base 140 chrome/browser/apps/app_url_redirector_browsertest.cc embedded_test_server()->GetURL(base::StringPrintf( base 158 chrome/browser/apps/app_url_redirector_browsertest.cc const base::string16 success_title = base::ASCIIToUTF16(success_tab_title); base 165 chrome/browser/apps/app_url_redirector_browsertest.cc embedded_test_server()->GetURL(base::StringPrintf( base 184 chrome/browser/apps/app_url_redirector_browsertest.cc const base::string16 success_title = base::ASCIIToUTF16(success_tab_title); base 185 chrome/browser/apps/app_url_redirector_browsertest.cc const base::string16 failure_title = base::ASCIIToUTF16(failure_tab_title); base 193 chrome/browser/apps/app_url_redirector_browsertest.cc embedded_test_server()->GetURL(base::StringPrintf( base 281 chrome/browser/apps/app_url_redirector_browsertest.cc embedded_test_server()->GetURL(base::StringPrintf( base 300 chrome/browser/apps/app_url_redirector_browsertest.cc const base::string16 success_title = base::ASCIIToUTF16(success_tab_title); base 307 chrome/browser/apps/app_url_redirector_browsertest.cc embedded_test_server()->GetURL(base::StringPrintf( base 330 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 343 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 356 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 369 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 382 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 396 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 410 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 423 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 442 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 460 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 474 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 488 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 501 chrome/browser/apps/app_url_redirector_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 base 62 chrome/browser/apps/app_window_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 81 chrome/browser/apps/app_window_interactive_uitest.cc if (base::mac::IsOSSnowLeopard()) base 125 chrome/browser/apps/app_window_interactive_uitest.cc if (base::mac::IsOSSnowLeopard()) base 177 chrome/browser/apps/app_window_interactive_uitest.cc if (base::mac::IsOSSnowLeopard()) base 226 chrome/browser/apps/app_window_interactive_uitest.cc if (base::mac::IsOSSnowLeopard()) base 285 chrome/browser/apps/app_window_interactive_uitest.cc if (base::mac::IsOSSnowLeopard()) base 88 chrome/browser/apps/ephemeral_app_browsertest.cc base::FilePath GetTestPath(const char* test_path) { base 181 chrome/browser/apps/ephemeral_app_browsertest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 253 chrome/browser/apps/ephemeral_app_browsertest.cc base::Version app_original_version = *app_v1->version(); base 257 chrome/browser/apps/ephemeral_app_browsertest.cc base::ScopedTempDir temp_dir; base 260 chrome/browser/apps/ephemeral_app_browsertest.cc base::FilePath crx_path = temp_dir.path().AppendASCII("temp.crx"); base 261 chrome/browser/apps/ephemeral_app_browsertest.cc if (!base::DeleteFile(crx_path, false)) { base 266 chrome/browser/apps/ephemeral_app_browsertest.cc base::FilePath app_v2_path = PackExtensionWithOptions( base 271 chrome/browser/apps/ephemeral_app_browsertest.cc base::FilePath()); base 360 chrome/browser/apps/ephemeral_app_browsertest.cc base::ScopedTempDir temp_dir; base 362 chrome/browser/apps/ephemeral_app_browsertest.cc base::FilePath temp_file; base 363 chrome/browser/apps/ephemeral_app_browsertest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file)); base 495 chrome/browser/apps/ephemeral_app_browsertest.cc base::Time launch_time = base 496 chrome/browser/apps/ephemeral_app_browsertest.cc base::Time::Now() - base::TimeDelta::FromDays( base 499 chrome/browser/apps/ephemeral_app_browsertest.cc prefs->SetLastLaunchTime(retain_app_id, base::Time::Now()); base 194 chrome/browser/apps/ephemeral_app_launcher.cc const base::DictionaryValue& webstore_data, base 201 chrome/browser/apps/ephemeral_app_launcher.cc const base::DictionaryValue& webstore_data, base 208 chrome/browser/apps/ephemeral_app_launcher.cc const base::DictionaryValue& manifest, base 211 chrome/browser/apps/ephemeral_app_launcher.cc base::FilePath(), base 54 chrome/browser/apps/ephemeral_app_launcher.h friend class base::RefCountedThreadSafe<EphemeralAppLauncher>; base 78 chrome/browser/apps/ephemeral_app_launcher.h const base::DictionaryValue& webstore_data, base 81 chrome/browser/apps/ephemeral_app_launcher.h const base::DictionaryValue& webstore_data, base 84 chrome/browser/apps/ephemeral_app_launcher.h const base::DictionaryValue& manifest, base 99 chrome/browser/apps/ephemeral_app_service.cc base::TimeDelta::FromSeconds(kGarbageCollectAppsInstallDelay)); base 124 chrome/browser/apps/ephemeral_app_service.cc base::TimeDelta::FromSeconds(kGarbageCollectAppsStartupDelay)); base 128 chrome/browser/apps/ephemeral_app_service.cc base::TimeDelta::FromSeconds(kGarbageCollectDataStartupDelay), base 147 chrome/browser/apps/ephemeral_app_service.cc void EphemeralAppService::TriggerGarbageCollect(const base::TimeDelta& delay) { base 180 chrome/browser/apps/ephemeral_app_service.cc base::Time last_launch_time = prefs->GetLastLaunchTime(extension->id()); base 212 chrome/browser/apps/ephemeral_app_service.cc base::Time time_now = base::Time::Now(); base 213 chrome/browser/apps/ephemeral_app_service.cc const base::Time inactive_threshold = base 214 chrome/browser/apps/ephemeral_app_service.cc time_now - base::TimeDelta::FromDays(kAppInactiveThreshold); base 215 chrome/browser/apps/ephemeral_app_service.cc const base::Time keep_threshold = base 216 chrome/browser/apps/ephemeral_app_service.cc time_now - base::TimeDelta::FromDays(kAppKeepThreshold); base 246 chrome/browser/apps/ephemeral_app_service.cc base::Time time_now = base::Time::Now(); base 247 chrome/browser/apps/ephemeral_app_service.cc const base::Time inactive_threshold = base 248 chrome/browser/apps/ephemeral_app_service.cc time_now - base::TimeDelta::FromDays(kDataInactiveThreshold); base 252 chrome/browser/apps/ephemeral_app_service.cc base::Time last_launch_time = prefs->GetLastLaunchTime(info->extension_id); base 48 chrome/browser/apps/ephemeral_app_service.h typedef std::multimap<base::Time, std::string> LaunchTimeAppMap; base 59 chrome/browser/apps/ephemeral_app_service.h void TriggerGarbageCollect(const base::TimeDelta& delay); base 73 chrome/browser/apps/ephemeral_app_service.h base::OneShotTimer<EphemeralAppService> garbage_collect_apps_timer_; base 74 chrome/browser/apps/ephemeral_app_service.h base::OneShotTimer<EphemeralAppService> garbage_collect_data_timer_; base 35 chrome/browser/apps/ephemeral_app_service_browsertest.cc base::FilePath path = test_data_dir_.AppendASCII(kTestApps[i]); base 66 chrome/browser/apps/ephemeral_app_service_browsertest.cc const base::Time time_now = base::Time::Now(); base 72 chrome/browser/apps/ephemeral_app_service_browsertest.cc base::Time inactive_launch = time_now - base 73 chrome/browser/apps/ephemeral_app_service_browsertest.cc base::TimeDelta::FromDays(EphemeralAppService::kAppInactiveThreshold + 1); base 78 chrome/browser/apps/ephemeral_app_service_browsertest.cc base::Time active_launch = time_now - base 79 chrome/browser/apps/ephemeral_app_service_browsertest.cc base::TimeDelta::FromDays(EphemeralAppService::kAppKeepThreshold); base 17 chrome/browser/apps/ephemeral_app_service_unittest.cc base::Time GetPastTime(const base::Time& reference_time, base 20 chrome/browser/apps/ephemeral_app_service_unittest.cc base::Time generated_time = base 21 chrome/browser/apps/ephemeral_app_service_unittest.cc reference_time - base::TimeDelta::FromDays(days_before); base 24 chrome/browser/apps/ephemeral_app_service_unittest.cc generated_time += base::TimeDelta::FromHours(1); base 28 chrome/browser/apps/ephemeral_app_service_unittest.cc generated_time += base::TimeDelta::FromSeconds(base::RandInt(0, 36000)); base 91 chrome/browser/apps/ephemeral_app_service_unittest.cc void GenerateLaunchTimes(const base::Time& reference_time, base 97 chrome/browser/apps/ephemeral_app_service_unittest.cc std::string app_id = base::IntToString(launch_times->size()); base 108 chrome/browser/apps/ephemeral_app_service_unittest.cc void AddInactiveApps(const base::Time& reference_time, base 121 chrome/browser/apps/ephemeral_app_service_unittest.cc void AddRecentlyLaunchedApps(const base::Time& reference_time, base 135 chrome/browser/apps/ephemeral_app_service_unittest.cc void AddIntermediateApps(const base::Time& reference_time, base 139 chrome/browser/apps/ephemeral_app_service_unittest.cc int days_before = base::RandInt(EphemeralAppService::kAppKeepThreshold + 1, base 154 chrome/browser/apps/ephemeral_app_service_unittest.cc base::Time time_now = base::Time::Now(); base 171 chrome/browser/apps/ephemeral_app_service_unittest.cc base::Time time_now = base::Time::Now(); base 196 chrome/browser/apps/ephemeral_app_service_unittest.cc base::Time time_now = base::Time::Now(); base 218 chrome/browser/apps/ephemeral_app_service_unittest.cc base::Time time_now = base::Time::Now(); base 238 chrome/browser/apps/ephemeral_app_service_unittest.cc base::Time time_now = base::Time::Now(); base 254 chrome/browser/apps/ephemeral_app_service_unittest.cc base::Time time_now = base::Time::Now(); base 98 chrome/browser/apps/ephemeral_app_throttle.cc base::Bind(&LaunchEphemeralApp, app_id)); base 123 chrome/browser/apps/shortcut_manager.cc base::Callback<void(const ShellIntegration::ShortcutInfo&)> base 126 chrome/browser/apps/shortcut_manager.cc base::string16 old_title = base 127 chrome/browser/apps/shortcut_manager.cc base::UTF8ToUTF16(installed_info->old_name); base 128 chrome/browser/apps/shortcut_manager.cc create_or_update = base::Bind(&web_app::UpdateAllShortcuts, base 131 chrome/browser/apps/shortcut_manager.cc create_or_update = base::Bind(&CreateShortcutsInApplicationsMenu); base 151 chrome/browser/apps/shortcut_manager.cc const base::FilePath& profile_path) { base 156 chrome/browser/apps/shortcut_manager.cc base::Bind(&web_app::internals::DeleteAllShortcutsForProfile, base 191 chrome/browser/apps/shortcut_manager.cc it->get(), profile_, base::Bind(&CreateShortcutsInApplicationsMenu)); base 43 chrome/browser/apps/shortcut_manager.h const base::FilePath& profile_path) OVERRIDE; base 112 chrome/browser/apps/web_view_browsertest.cc const base::DictionaryValue& extra_params) OVERRIDE { base 128 chrome/browser/apps/web_view_browsertest.cc const base::Closure& attach_callback, base 129 chrome/browser/apps/web_view_browsertest.cc const base::Closure& detach_callback) base 144 chrome/browser/apps/web_view_browsertest.cc base::Closure attach_callback_; base 145 chrome/browser/apps/web_view_browsertest.cc base::Closure detach_callback_; base 202 chrome/browser/apps/web_view_browsertest.cc const base::Callback<void(bool)>& callback) OVERRIDE { base 205 chrome/browser/apps/web_view_browsertest.cc base::Bind(&MockDownloadWebContentsDelegate::DownloadDecided, base 206 chrome/browser/apps/web_view_browsertest.cc base::Unretained(this))); base 470 chrome/browser/apps/web_view_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16(title)); base 471 chrome/browser/apps/web_view_browsertest.cc base::string16 error_title(base::ASCIIToUTF16("error")); base 540 chrome/browser/apps/web_view_browsertest.cc base::Bind(&WebViewTest::RedirectResponseHandler, base 545 chrome/browser/apps/web_view_browsertest.cc base::Bind(&WebViewTest::EmptyResponseHandler, kEmptyResponsePath)); base 569 chrome/browser/apps/web_view_browsertest.cc base::StringPrintf("runTest('%s')", test_name.c_str()))) { base 624 chrome/browser/apps/web_view_browsertest.cc base::StringPrintf("startDenyTest('%s')", test_name.c_str()))); base 633 chrome/browser/apps/web_view_browsertest.cc base::Closure()); base 665 chrome/browser/apps/web_view_browsertest.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 795 chrome/browser/apps/web_view_browsertest.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 836 chrome/browser/apps/web_view_browsertest.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 1018 chrome/browser/apps/web_view_browsertest.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 1028 chrome/browser/apps/web_view_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 1047 chrome/browser/apps/web_view_browsertest.cc base::StringPrintf("loadGuest(%d);\n", host_and_port.port()))); base 1589 chrome/browser/apps/web_view_browsertest.cc base::StringPrintf("startAllowTest('%s')", base 1694 chrome/browser/apps/web_view_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("PASSED")); base 1695 chrome/browser/apps/web_view_browsertest.cc base::string16 error_title(base::ASCIIToUTF16("FAILED")); base 1811 chrome/browser/apps/web_view_browsertest.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 1983 chrome/browser/apps/web_view_browsertest.cc base::FilePath plugin_dir; base 1984 chrome/browser/apps/web_view_browsertest.cc EXPECT_TRUE(PathService::Get(base::DIR_MODULE, &plugin_dir)); base 1986 chrome/browser/apps/web_view_browsertest.cc base::FilePath plugin_lib = plugin_dir.Append(library_name); base 1987 chrome/browser/apps/web_view_browsertest.cc EXPECT_TRUE(base::PathExists(plugin_lib)); base 1988 chrome/browser/apps/web_view_browsertest.cc base::FilePath::StringType pepper_plugin = plugin_lib.value(); base 178 chrome/browser/apps/web_view_interactive_browsertest.cc base::StringPrintf("runTest('%s')", test_name.c_str()))) { base 298 chrome/browser/apps/web_view_interactive_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16(title)); base 299 chrome/browser/apps/web_view_interactive_browsertest.cc base::string16 error_title(base::ASCIIToUTF16("FAILED")); base 325 chrome/browser/apps/web_view_interactive_browsertest.cc base::string16 expected_title = base::ASCIIToUTF16("PASSED2"); base 326 chrome/browser/apps/web_view_interactive_browsertest.cc base::string16 error_title = base::ASCIIToUTF16("FAILED"); base 367 chrome/browser/apps/web_view_interactive_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 369 chrome/browser/apps/web_view_interactive_browsertest.cc base::Bind(&WebViewInteractiveTest::DragTestStep2, base 370 chrome/browser/apps/web_view_interactive_browsertest.cc base::Unretained(this)), base 371 chrome/browser/apps/web_view_interactive_browsertest.cc base::TimeDelta::FromMilliseconds(200)); base 416 chrome/browser/apps/web_view_interactive_browsertest.cc base::Closure quit_closure_; base 705 chrome/browser/apps/web_view_interactive_browsertest.cc base::RunLoop run_loop; base 707 chrome/browser/apps/web_view_interactive_browsertest.cc base::MessageLoop::current()->PostTask( base 709 chrome/browser/apps/web_view_interactive_browsertest.cc base::Bind(&WebViewInteractiveTest::DragTestStep1, base 710 chrome/browser/apps/web_view_interactive_browsertest.cc base::Unretained(this))); base 792 chrome/browser/apps/web_view_interactive_browsertest.cc std::string selected_text = base::UTF16ToUTF8(guest_rwhv->GetSelectedText()); base 21 chrome/browser/auto_launch_trial.cc return base::FieldTrialList::TrialExists(kAutoLaunchTrialName) && base 22 chrome/browser/auto_launch_trial.cc base::FieldTrialList::Find(kAutoLaunchTrialName)->group_name() base 39 chrome/browser/autocomplete/autocomplete_browsertest.cc base::string16 AutocompleteResultAsString(const AutocompleteResult& result) { base 40 chrome/browser/autocomplete/autocomplete_browsertest.cc std::string output(base::StringPrintf("{%" PRIuS "} ", result.size())); base 43 chrome/browser/autocomplete/autocomplete_browsertest.cc output.append(base::StringPrintf("[\"%s\" by \"%s\"] ", base 44 chrome/browser/autocomplete/autocomplete_browsertest.cc base::UTF16ToUTF8(match.contents).c_str(), base 47 chrome/browser/autocomplete/autocomplete_browsertest.cc return base::UTF8ToUTF16(output); base 81 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), base 89 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), base 93 chrome/browser/autocomplete/autocomplete_browsertest.cc omnibox_view->SetUserText(base::ASCIIToUTF16("chrome")); base 96 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("chrome"), omnibox_view->GetText()); base 102 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), base 106 chrome/browser/autocomplete/autocomplete_browsertest.cc omnibox_view->SetUserText(base::ASCIIToUTF16("chrome")); base 110 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), base 144 chrome/browser/autocomplete/autocomplete_browsertest.cc base::ASCIIToUTF16("chrome"), base::string16::npos, base::string16(), base 165 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), base 186 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), base 188 chrome/browser/autocomplete/autocomplete_browsertest.cc omnibox_view->SetUserText(base::string16()); base 195 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), base 198 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), base 217 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), base 222 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("?"), omnibox_view->GetText()); base 232 chrome/browser/autocomplete/autocomplete_browsertest.cc omnibox_view->SetUserText(base::ASCIIToUTF16("foo")); base 234 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("foo"), omnibox_view->GetText()); base 238 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("?"), omnibox_view->GetText()); base 249 chrome/browser/autocomplete/autocomplete_browsertest.cc omnibox_view->SetUserText(base::ASCIIToUTF16("?")); base 251 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("?"), omnibox_view->GetText()); base 255 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("?"), omnibox_view->GetText()); base 266 chrome/browser/autocomplete/autocomplete_browsertest.cc omnibox_view->SetUserText(base::ASCIIToUTF16("?foo")); base 268 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("?foo"), omnibox_view->GetText()); base 272 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("?foo"), omnibox_view->GetText()); base 282 chrome/browser/autocomplete/autocomplete_browsertest.cc omnibox_view->SetUserText(base::ASCIIToUTF16(" ?foo")); base 284 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16(" ?foo"), omnibox_view->GetText()); base 288 chrome/browser/autocomplete/autocomplete_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16(" ?foo"), omnibox_view->GetText()); base 37 chrome/browser/autocomplete/autocomplete_classifier.cc const base::string16& text, base 44 chrome/browser/autocomplete/autocomplete_classifier.cc base::AutoReset<bool> reset(&inside_classify_, true); base 46 chrome/browser/autocomplete/autocomplete_classifier.cc text, base::string16::npos, base::string16(), GURL(), base 46 chrome/browser/autocomplete/autocomplete_classifier.h void Classify(const base::string16& text, base 46 chrome/browser/autocomplete/autocomplete_controller.cc *subtype = base::string16::npos; base 122 chrome/browser/autocomplete/autocomplete_controller.cc base::StringAppendF(autocompletions, "%" PRIuS, type); base 124 chrome/browser/autocomplete/autocomplete_controller.cc if (subtype != base::string16::npos) base 125 chrome/browser/autocomplete/autocomplete_controller.cc base::StringAppendF(autocompletions, "i%" PRIuS, subtype); base 127 chrome/browser/autocomplete/autocomplete_controller.cc base::StringAppendF(autocompletions, "l%d", count); base 213 chrome/browser/autocomplete/autocomplete_controller.cc const base::string16 old_input_text(input_.text()); base 235 chrome/browser/autocomplete/autocomplete_controller.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 240 chrome/browser/autocomplete/autocomplete_controller.cc base::TimeTicks provider_start_time = base::TimeTicks::Now(); base 251 chrome/browser/autocomplete/autocomplete_controller.cc base::TimeTicks provider_end_time = base::TimeTicks::Now(); base 253 chrome/browser/autocomplete/autocomplete_controller.cc base::HistogramBase* counter = base::Histogram::FactoryGet( base 254 chrome/browser/autocomplete/autocomplete_controller.cc name, 1, 5000, 20, base::Histogram::kUmaTargetedHistogramFlag); base 260 chrome/browser/autocomplete/autocomplete_controller.cc base::TimeTicks end_time = base::TimeTicks::Now(); base 261 chrome/browser/autocomplete/autocomplete_controller.cc std::string name = "Omnibox.QueryTime." + base::IntToString( base 263 chrome/browser/autocomplete/autocomplete_controller.cc base::HistogramBase* counter = base::Histogram::FactoryGet( base 264 chrome/browser/autocomplete/autocomplete_controller.cc name, 1, 1000, 50, base::Histogram::kUmaTargetedHistogramFlag); base 379 chrome/browser/autocomplete/autocomplete_controller.cc base::TimeDelta query_formulation_time, base 390 chrome/browser/autocomplete/autocomplete_controller.cc search_terms_args.assisted_query_stats += base::StringPrintf( base 408 chrome/browser/autocomplete/autocomplete_controller.cc base::string16 last_default_fill_into_edit, last_default_keyword, base 448 chrome/browser/autocomplete/autocomplete_controller.cc base::string16 default_associated_keyword; base 471 chrome/browser/autocomplete/autocomplete_controller.cc last_time_default_match_changed_ = base::TimeTicks::Now(); base 481 chrome/browser/autocomplete/autocomplete_controller.cc std::set<base::string16> keywords; base 484 chrome/browser/autocomplete/autocomplete_controller.cc base::string16 keyword( base 511 chrome/browser/autocomplete/autocomplete_controller.cc base::string16 last_keyword; base 550 chrome/browser/autocomplete/autocomplete_controller.cc size_t last_type = base::string16::npos; base 551 chrome/browser/autocomplete/autocomplete_controller.cc size_t last_subtype = base::string16::npos; base 554 chrome/browser/autocomplete/autocomplete_controller.cc size_t type = base::string16::npos; base 555 chrome/browser/autocomplete/autocomplete_controller.cc size_t subtype = base::string16::npos; base 557 chrome/browser/autocomplete/autocomplete_controller.cc if (last_type != base::string16::npos && base 579 chrome/browser/autocomplete/autocomplete_controller.cc selected_index = base::StringPrintf("%" PRIuS, index); base 581 chrome/browser/autocomplete/autocomplete_controller.cc base::StringPrintf("chrome.%s.%s", base 620 chrome/browser/autocomplete/autocomplete_controller.cc base::TimeDelta::FromMilliseconds(kExpireTimeMS), base 627 chrome/browser/autocomplete/autocomplete_controller.cc base::Bind(&AutocompleteController::Stop, base 628 chrome/browser/autocomplete/autocomplete_controller.cc base::Unretained(this), base 111 chrome/browser/autocomplete/autocomplete_controller.h void UpdateMatchDestinationURL(base::TimeDelta query_formulation_time, base 125 chrome/browser/autocomplete/autocomplete_controller.h const base::TimeTicks& last_time_default_match_changed() const { base 209 chrome/browser/autocomplete/autocomplete_controller.h base::TimeTicks last_time_default_match_changed_; base 213 chrome/browser/autocomplete/autocomplete_controller.h base::OneShotTimer<AutocompleteController> expire_timer_; base 216 chrome/browser/autocomplete/autocomplete_controller.h base::OneShotTimer<AutocompleteController> stop_timer_; base 223 chrome/browser/autocomplete/autocomplete_controller.h const base::TimeDelta stop_timer_duration_; base 22 chrome/browser/autocomplete/autocomplete_input.cc if (*cursor_position == base::string16::npos) base 33 chrome/browser/autocomplete/autocomplete_input.cc : cursor_position_(base::string16::npos), base 43 chrome/browser/autocomplete/autocomplete_input.cc const base::string16& text, base 45 chrome/browser/autocomplete/autocomplete_input.cc const base::string16& desired_tld, base 60 chrome/browser/autocomplete/autocomplete_input.cc cursor_position == base::string16::npos) base 64 chrome/browser/autocomplete/autocomplete_input.cc if ((base::TrimWhitespace(text, base::TRIM_LEADING, &text_) & base 65 chrome/browser/autocomplete/autocomplete_input.cc base::TRIM_LEADING) != 0) base 86 chrome/browser/autocomplete/autocomplete_input.cc base::string16 trimmed_text; base 87 chrome/browser/autocomplete/autocomplete_input.cc if ((base::TrimWhitespace(text_, base::TRIM_LEADING, &trimmed_text) & base 88 chrome/browser/autocomplete/autocomplete_input.cc base::TRIM_LEADING) != 0) { base 102 chrome/browser/autocomplete/autocomplete_input.cc base::string16* text) { base 127 chrome/browser/autocomplete/autocomplete_input.cc const base::string16& text, base 128 chrome/browser/autocomplete/autocomplete_input.cc const base::string16& desired_tld, base 130 chrome/browser/autocomplete/autocomplete_input.cc base::string16* scheme, base 132 chrome/browser/autocomplete/autocomplete_input.cc size_t first_non_white = text.find_first_not_of(base::kWhitespaceUTF16, 0); base 133 chrome/browser/autocomplete/autocomplete_input.cc if (first_non_white == base::string16::npos) base 149 chrome/browser/autocomplete/autocomplete_input.cc const base::string16 parsed_scheme(URLFixerUpper::SegmentURL(text, parts)); base 163 chrome/browser/autocomplete/autocomplete_input.cc *canonicalized_url = URLFixerUpper::FixupURL(base::UTF16ToUTF8(text), base 164 chrome/browser/autocomplete/autocomplete_input.cc base::UTF16ToUTF8(desired_tld)); base 189 chrome/browser/autocomplete/autocomplete_input.cc if (ProfileIOData::IsHandledProtocol(base::UTF16ToASCII(parsed_scheme)) || base 206 chrome/browser/autocomplete/autocomplete_input.cc base::UTF16ToUTF8(parsed_scheme), true); base 219 chrome/browser/autocomplete/autocomplete_input.cc const base::string16 http_scheme_prefix = base 220 chrome/browser/autocomplete/autocomplete_input.cc base::ASCIIToUTF16(std::string(content::kHttpScheme) + base 223 chrome/browser/autocomplete/autocomplete_input.cc base::string16 http_scheme; base 229 chrome/browser/autocomplete/autocomplete_input.cc base::UTF16ToUTF8(http_scheme)); base 279 chrome/browser/autocomplete/autocomplete_input.cc const base::string16 host(text.substr(parts->host.begin, parts->host.len)); base 282 chrome/browser/autocomplete/autocomplete_input.cc base::UTF16ToUTF8(host), base 288 chrome/browser/autocomplete/autocomplete_input.cc base::string16 host_with_tld(host); base 294 chrome/browser/autocomplete/autocomplete_input.cc base::UTF16ToUTF8(host_with_tld), base 311 chrome/browser/autocomplete/autocomplete_input.cc base::UTF16ToUTF8(host), &host_info)); base 314 chrome/browser/autocomplete/autocomplete_input.cc base::UTF16ToUTF8(desired_tld))) { base 335 chrome/browser/autocomplete/autocomplete_input.cc (host.find(' ') == base::string16::npos))) ? UNKNOWN : QUERY; base 401 chrome/browser/autocomplete/autocomplete_input.cc ((registry_length != 0) || (host == base::ASCIIToUTF16("localhost") || base 433 chrome/browser/autocomplete/autocomplete_input.cc const base::string16& text, base 437 chrome/browser/autocomplete/autocomplete_input.cc base::string16 scheme_str; base 438 chrome/browser/autocomplete/autocomplete_input.cc Parse(text, base::string16(), &parts, &scheme_str, NULL); base 449 chrome/browser/autocomplete/autocomplete_input.cc base::string16 real_url(text.substr(after_scheme_and_colon)); base 451 chrome/browser/autocomplete/autocomplete_input.cc AutocompleteInput::Parse(real_url, base::string16(), &real_parts, NULL, NULL); base 475 chrome/browser/autocomplete/autocomplete_input.cc base::string16 AutocompleteInput::FormattedStringWithEquivalentMeaning( base 477 chrome/browser/autocomplete/autocomplete_input.cc const base::string16& formatted_url) { base 480 chrome/browser/autocomplete/autocomplete_input.cc const base::string16 url_with_path(formatted_url + base::char16('/')); base 481 chrome/browser/autocomplete/autocomplete_input.cc return (AutocompleteInput::Parse(formatted_url, base::string16(), NULL, NULL, base 483 chrome/browser/autocomplete/autocomplete_input.cc AutocompleteInput::Parse(url_with_path, base::string16(), NULL, NULL, base 509 chrome/browser/autocomplete/autocomplete_input.cc bool AutocompleteInput::HasHTTPScheme(const base::string16& input) { base 510 chrome/browser/autocomplete/autocomplete_input.cc std::string utf8_input(base::UTF16ToUTF8(input)); base 518 chrome/browser/autocomplete/autocomplete_input.cc void AutocompleteInput::UpdateText(const base::string16& text, base 522 chrome/browser/autocomplete/autocomplete_input.cc cursor_position == base::string16::npos) base 531 chrome/browser/autocomplete/autocomplete_input.cc cursor_position_ = base::string16::npos; base 136 chrome/browser/autocomplete/autocomplete_input.h AutocompleteInput(const base::string16& text, base 138 chrome/browser/autocomplete/autocomplete_input.h const base::string16& desired_tld, base 150 chrome/browser/autocomplete/autocomplete_input.h base::string16* text); base 160 chrome/browser/autocomplete/autocomplete_input.h static Type Parse(const base::string16& text, base 161 chrome/browser/autocomplete/autocomplete_input.h const base::string16& desired_tld, base 163 chrome/browser/autocomplete/autocomplete_input.h base::string16* scheme, base 170 chrome/browser/autocomplete/autocomplete_input.h static void ParseForEmphasizeComponents(const base::string16& text, base 180 chrome/browser/autocomplete/autocomplete_input.h static base::string16 FormattedStringWithEquivalentMeaning( base 182 chrome/browser/autocomplete/autocomplete_input.h const base::string16& formatted_url); base 188 chrome/browser/autocomplete/autocomplete_input.h static bool HasHTTPScheme(const base::string16& text); base 191 chrome/browser/autocomplete/autocomplete_input.h const base::string16& text() const { return text_; } base 200 chrome/browser/autocomplete/autocomplete_input.h void UpdateText(const base::string16& text, base 221 chrome/browser/autocomplete/autocomplete_input.h const base::string16& scheme() const { return scheme_; } base 251 chrome/browser/autocomplete/autocomplete_input.h base::string16 text_; base 257 chrome/browser/autocomplete/autocomplete_input.h base::string16 scheme_; base 14 chrome/browser/autocomplete/autocomplete_input_unittest.cc using base::ASCIIToUTF16; base 18 chrome/browser/autocomplete/autocomplete_input_unittest.cc const base::string16 input; base 21 chrome/browser/autocomplete/autocomplete_input_unittest.cc { base::string16(), AutocompleteInput::INVALID }, base 111 chrome/browser/autocomplete/autocomplete_input_unittest.cc { base::WideToUTF16(L"\u6d4b\u8bd5"), AutocompleteInput::UNKNOWN }, base 128 chrome/browser/autocomplete/autocomplete_input_unittest.cc AutocompleteInput input(input_cases[i].input, base::string16::npos, base 129 chrome/browser/autocomplete/autocomplete_input_unittest.cc base::string16(), GURL(), base 138 chrome/browser/autocomplete/autocomplete_input_unittest.cc const base::string16 input; base 157 chrome/browser/autocomplete/autocomplete_input_unittest.cc AutocompleteInput input(input_cases[i].input, base::string16::npos, base 170 chrome/browser/autocomplete/autocomplete_input_unittest.cc AutocompleteInput input(base::WideToUTF16(L"\uff65@s"), base::string16::npos, base 171 chrome/browser/autocomplete/autocomplete_input_unittest.cc base::string16(), GURL(), base 180 chrome/browser/autocomplete/autocomplete_input_unittest.cc const base::string16 input; base 184 chrome/browser/autocomplete/autocomplete_input_unittest.cc { base::string16(), kInvalidComponent, kInvalidComponent }, base 192 chrome/browser/autocomplete/autocomplete_input_unittest.cc { base::WideToUTF16(L"\u6d4b\u8bd5"), kInvalidComponent, Component(0, 2) }, base 214 chrome/browser/autocomplete/autocomplete_input_unittest.cc AutocompleteInput input(input_cases[i].input, base::string16::npos, base 215 chrome/browser/autocomplete/autocomplete_input_unittest.cc base::string16(), GURL(), base 227 chrome/browser/autocomplete/autocomplete_input_unittest.cc const base::string16 input; base 229 chrome/browser/autocomplete/autocomplete_input_unittest.cc const base::string16 normalized_input; base 232 chrome/browser/autocomplete/autocomplete_input_unittest.cc { ASCIIToUTF16("foo bar"), base::string16::npos, base 233 chrome/browser/autocomplete/autocomplete_input_unittest.cc ASCIIToUTF16("foo bar"), base::string16::npos }, base 254 chrome/browser/autocomplete/autocomplete_input_unittest.cc base::string16(), GURL(), base 34 chrome/browser/autocomplete/autocomplete_match.cc const base::char16 AutocompleteMatch::kInvalidChars[] = { base 203 chrome/browser/autocomplete/autocomplete_match.cc const base::string16& find_text, base 204 chrome/browser/autocomplete/autocomplete_match.cc const base::string16& text, base 231 chrome/browser/autocomplete/autocomplete_match.cc if (match_location == base::string16::npos) { base 286 chrome/browser/autocomplete/autocomplete_match.cc serialized_classifications += base::IntToString(classifications[i].offset) + base 287 chrome/browser/autocomplete/autocomplete_match.cc ',' + base::IntToString(classifications[i].style); base 302 chrome/browser/autocomplete/autocomplete_match.cc if (!base::StringToInt(tokens[i], &classification_offset) || base 303 chrome/browser/autocomplete/autocomplete_match.cc !base::StringToInt(tokens[i + 1], &classification_style)) { base 327 chrome/browser/autocomplete/autocomplete_match.cc base::string16 AutocompleteMatch::SanitizeString(const base::string16& text) { base 330 chrome/browser/autocomplete/autocomplete_match.cc base::string16 result; base 331 chrome/browser/autocomplete/autocomplete_match.cc base::TrimWhitespace(text, base::TRIM_LEADING, &result); base 332 chrome/browser/autocomplete/autocomplete_match.cc base::RemoveChars(result, kInvalidChars, &result); base 365 chrome/browser/autocomplete/autocomplete_match.cc base::string16 search_terms; base 405 chrome/browser/autocomplete/autocomplete_match.cc base::string16* keyword, base 412 chrome/browser/autocomplete/autocomplete_match.cc base::string16 AutocompleteMatch::GetSubstitutingExplicitlyInvokedKeyword( base 415 chrome/browser/autocomplete/autocomplete_match.cc return base::string16(); base 417 chrome/browser/autocomplete/autocomplete_match.cc return (t_url && t_url->SupportsReplacement()) ? keyword : base::string16(); base 445 chrome/browser/autocomplete/autocomplete_match.cc RecordAdditionalInfo(property, base::IntToString(value)); base 449 chrome/browser/autocomplete/autocomplete_match.cc const base::Time& value) { base 451 chrome/browser/autocomplete/autocomplete_match.cc base::UTF16ToUTF8( base 452 chrome/browser/autocomplete/autocomplete_match.cc base::TimeFormatShortDateAndTime(value))); base 490 chrome/browser/autocomplete/autocomplete_match.cc const base::string16& text, base 22 chrome/browser/autocomplete/autocomplete_match.h namespace base { base 86 chrome/browser/autocomplete/autocomplete_match.h static const base::char16 kInvalidChars[]; base 124 chrome/browser/autocomplete/autocomplete_match.h static void ClassifyMatchInString(const base::string16& find_text, base 125 chrome/browser/autocomplete/autocomplete_match.h const base::string16& text, base 163 chrome/browser/autocomplete/autocomplete_match.h static base::string16 SanitizeString(const base::string16& text); base 198 chrome/browser/autocomplete/autocomplete_match.h base::string16* keyword, base 207 chrome/browser/autocomplete/autocomplete_match.h base::string16 GetSubstitutingExplicitlyInvokedKeyword( base 224 chrome/browser/autocomplete/autocomplete_match.h const base::Time& value); base 270 chrome/browser/autocomplete/autocomplete_match.h base::string16 fill_into_edit; base 274 chrome/browser/autocomplete/autocomplete_match.h base::string16 inline_autocompletion; base 296 chrome/browser/autocomplete/autocomplete_match.h base::string16 contents; base 300 chrome/browser/autocomplete/autocomplete_match.h base::string16 description; base 331 chrome/browser/autocomplete/autocomplete_match.h base::string16 keyword; base 362 chrome/browser/autocomplete/autocomplete_match.h const base::string16& text, base 107 chrome/browser/autocomplete/autocomplete_provider.cc base::string16 AutocompleteProvider::StringForURLDisplay(const GURL& url, base 138 chrome/browser/autocomplete/autocomplete_provider.cc const base::string16& input_text = input->text(); base 141 chrome/browser/autocomplete/autocomplete_provider.cc base::UTF16ToUTF8(input_text), std::string())); base 157 chrome/browser/autocomplete/autocomplete_provider.cc base::UTF16ToUTF8(input_text.substr(input->parts().host.begin, base 166 chrome/browser/autocomplete/autocomplete_provider.cc base::string16 output = base::UTF8ToUTF16(canonical_gurl_str); base 187 chrome/browser/autocomplete/autocomplete_provider.cc input_text.find_last_not_of(base::ASCIIToUTF16("/\\")); base 189 chrome/browser/autocomplete/autocomplete_provider.cc (last_input_nonslash == base::string16::npos) ? base 192 chrome/browser/autocomplete/autocomplete_provider.cc output.find_last_not_of(base::ASCIIToUTF16("/\\")); base 194 chrome/browser/autocomplete/autocomplete_provider.cc (last_output_nonslash == base::string16::npos) ? base 203 chrome/browser/autocomplete/autocomplete_provider.cc input->UpdateText(output, base::string16::npos, parts); base 208 chrome/browser/autocomplete/autocomplete_provider.cc size_t AutocompleteProvider::TrimHttpPrefix(base::string16* url) { base 213 chrome/browser/autocomplete/autocomplete_provider.cc url->find(base::ASCIIToUTF16(content::kHttpScheme) + base::char16(':')); base 214 chrome/browser/autocomplete/autocomplete_provider.cc DCHECK_NE(base::string16::npos, scheme_pos); base 140 chrome/browser/autocomplete/autocomplete_provider.h : public base::RefCountedThreadSafe<AutocompleteProvider> { base 213 chrome/browser/autocomplete/autocomplete_provider.h base::string16 StringForURLDisplay(const GURL& url, base 241 chrome/browser/autocomplete/autocomplete_provider.h friend class base::RefCountedThreadSafe<AutocompleteProvider>; base 267 chrome/browser/autocomplete/autocomplete_provider.h static size_t TrimHttpPrefix(base::string16* url); base 47 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TestProvider(int relevance, const base::string16& prefix, base 49 chrome/browser/autocomplete/autocomplete_provider_unittest.cc const base::string16 match_keyword) base 76 chrome/browser/autocomplete/autocomplete_provider_unittest.cc const base::string16 prefix_; base 77 chrome/browser/autocomplete/autocomplete_provider_unittest.cc const base::string16 match_keyword_; base 91 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURLRef::SearchTermsArgs(base::ASCIIToUTF16("echo"))); base 94 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURLRef::SearchTermsArgs(base::ASCIIToUTF16("nav"))); base 97 chrome/browser/autocomplete/autocomplete_provider_unittest.cc TemplateURLRef::SearchTermsArgs(base::ASCIIToUTF16("query"))); base 101 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::MessageLoop::current()->PostTask( base 102 chrome/browser/autocomplete/autocomplete_provider_unittest.cc FROM_HERE, base::Bind(&TestProvider::Run, this)); base 119 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::string16())); base 130 chrome/browser/autocomplete/autocomplete_provider_unittest.cc match.fill_into_edit = prefix_ + base::UTF8ToUTF16(base::IntToString(i)); base 131 chrome/browser/autocomplete/autocomplete_provider_unittest.cc match.destination_url = GURL(base::UTF16ToUTF8(match.fill_into_edit)); base 155 chrome/browser/autocomplete/autocomplete_provider_unittest.cc const base::string16 fill_into_edit; base 156 chrome/browser/autocomplete/autocomplete_provider_unittest.cc const base::string16 keyword; base 167 chrome/browser/autocomplete/autocomplete_provider_unittest.cc void RegisterTemplateURL(const base::string16 keyword, base 186 chrome/browser/autocomplete/autocomplete_provider_unittest.cc void RunQuery(const base::string16 query); base 197 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::TimeDelta query_formulation_time) const; base 208 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::MessageLoopForUI message_loop_; base 214 chrome/browser/autocomplete/autocomplete_provider_unittest.cc const base::string16 keyword, base 245 chrome/browser/autocomplete/autocomplete_provider_unittest.cc RegisterTemplateURL(base::ASCIIToUTF16(kTestTemplateURLKeyword), base 253 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::ASCIIToUTF16("http://a"), base 255 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::ASCIIToUTF16(kTestTemplateURLKeyword)); base 261 chrome/browser/autocomplete/autocomplete_provider_unittest.cc same_destinations ? base::ASCIIToUTF16("http://a") base 262 chrome/browser/autocomplete/autocomplete_provider_unittest.cc : base::ASCIIToUTF16("http://b"), base 264 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::string16()); base 306 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.short_name = base::ASCIIToUTF16("k"); base 307 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetKeyword(base::ASCIIToUTF16("k")); base 327 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.short_name = base::ASCIIToUTF16("foo.com"); base 328 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetKeyword(base::ASCIIToUTF16("foo.com")); base 335 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.short_name = base::ASCIIToUTF16("bar.com"); base 336 chrome/browser/autocomplete/autocomplete_provider_unittest.cc data.SetKeyword(base::ASCIIToUTF16("bar.com")); base 347 chrome/browser/autocomplete/autocomplete_provider_unittest.cc RunQuery(base::ASCIIToUTF16("a")); base 384 chrome/browser/autocomplete/autocomplete_provider_unittest.cc match.keyword = base::ASCIIToUTF16(kTestTemplateURLKeyword); base 386 chrome/browser/autocomplete/autocomplete_provider_unittest.cc new TemplateURLRef::SearchTermsArgs(base::string16())); base 402 chrome/browser/autocomplete/autocomplete_provider_unittest.cc void AutocompleteProviderTest::RunQuery(const base::string16 query) { base 405 chrome/browser/autocomplete/autocomplete_provider_unittest.cc query, base::string16::npos, base::string16(), GURL(), base 412 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::MessageLoop::current()->Run(); base 424 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::ASCIIToUTF16("k test"), base::string16::npos, base::string16(), base 442 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::TimeDelta query_formulation_time) const { base 453 chrome/browser/autocomplete/autocomplete_provider_unittest.cc base::MessageLoop::current()->Quit(); base 532 chrome/browser/autocomplete/autocomplete_provider_unittest.cc { base::ASCIIToUTF16("fo"), base::string16(), false }, base 533 chrome/browser/autocomplete/autocomplete_provider_unittest.cc { base::ASCIIToUTF16("foo.com"), base::string16(), true }, base 534 chrome/browser/autocomplete/autocomplete_provider_unittest.cc { base::ASCIIToUTF16("foo.com"), base::string16(), false } base 543 chrome/browser/autocomplete/autocomplete_provider_unittest.cc { base::ASCIIToUTF16("foo.com"), base::ASCIIToUTF16("foo.com"), false }, base 544 chrome/browser/autocomplete/autocomplete_provider_unittest.cc { base::ASCIIToUTF16("foo.com"), base::string16(), false } base 553 chrome/browser/autocomplete/autocomplete_provider_unittest.cc { base::ASCIIToUTF16("fo"), base::string16(), false }, base 554 chrome/browser/autocomplete/autocomplete_provider_unittest.cc { base::ASCIIToUTF16("foo.com"), base::string16(), true }, base 555 chrome/browser/autocomplete/autocomplete_provider_unittest.cc { base::ASCIIToUTF16("foo.com"), base::string16(), false }, base 556 chrome/browser/autocomplete/autocomplete_provider_unittest.cc { base::ASCIIToUTF16("bar.com"), base::string16(), true }, base 617 chrome/browser/autocomplete/autocomplete_provider_unittest.cc GURL url(GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456))); base 621 chrome/browser/autocomplete/autocomplete_provider_unittest.cc RegisterTemplateURL(base::ASCIIToUTF16(kTestTemplateURLKeyword), base 623 chrome/browser/autocomplete/autocomplete_provider_unittest.cc url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456)); base 627 chrome/browser/autocomplete/autocomplete_provider_unittest.cc match.keyword = base::ASCIIToUTF16(kTestTemplateURLKeyword); base 628 chrome/browser/autocomplete/autocomplete_provider_unittest.cc url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456)); base 633 chrome/browser/autocomplete/autocomplete_provider_unittest.cc new TemplateURLRef::SearchTermsArgs(base::string16())); base 634 chrome/browser/autocomplete/autocomplete_provider_unittest.cc url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456)); base 640 chrome/browser/autocomplete/autocomplete_provider_unittest.cc url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456)); base 647 chrome/browser/autocomplete/autocomplete_provider_unittest.cc url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456)); base 655 chrome/browser/autocomplete/autocomplete_provider_unittest.cc url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456)); base 662 chrome/browser/autocomplete/autocomplete_provider_unittest.cc url = GetDestinationURL(match, base::TimeDelta::FromMilliseconds(2456)); base 212 chrome/browser/autocomplete/autocomplete_result.cc const base::string16 debug_info = base 213 chrome/browser/autocomplete/autocomplete_result.cc base::ASCIIToUTF16("fill_into_edit=") + base 215 chrome/browser/autocomplete/autocomplete_result.cc base::ASCIIToUTF16(", provider=") + base 217 chrome/browser/autocomplete/autocomplete_result.cc ? base::ASCIIToUTF16(default_match_->provider->GetName()) base 218 chrome/browser/autocomplete/autocomplete_result.cc : base::string16()) + base 219 chrome/browser/autocomplete/autocomplete_result.cc base::ASCIIToUTF16(", input=") + base 85 chrome/browser/autocomplete/autocomplete_result_unittest.cc field_trial_list_.reset(new base::FieldTrialList( base 127 chrome/browser/autocomplete/autocomplete_result_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 137 chrome/browser/autocomplete/autocomplete_result_unittest.cc match->fill_into_edit = base::IntToString16(data.url_id); base 177 chrome/browser/autocomplete/autocomplete_result_unittest.cc AutocompleteInput input(base::ASCIIToUTF16("a"), base::string16::npos, base 178 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::string16(), GURL(), base 213 chrome/browser/autocomplete/autocomplete_result_unittest.cc AutocompleteInput input(base::ASCIIToUTF16("a"), base::string16::npos, base 214 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::string16(), GURL(), base 296 chrome/browser/autocomplete/autocomplete_result_unittest.cc AutocompleteInput input(base::string16(), base::string16::npos, base 297 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::string16(), GURL(), base 319 chrome/browser/autocomplete/autocomplete_result_unittest.cc url_data.short_name = base::ASCIIToUTF16("unittest"); base 320 chrome/browser/autocomplete/autocomplete_result_unittest.cc url_data.SetKeyword(base::ASCIIToUTF16("foo")); base 342 chrome/browser/autocomplete/autocomplete_result_unittest.cc AutocompleteInput input(base::string16(), base::string16::npos, base 343 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::string16(), GURL(), base 364 chrome/browser/autocomplete/autocomplete_result_unittest.cc url_data.short_name = base::ASCIIToUTF16("unittest"); base 365 chrome/browser/autocomplete/autocomplete_result_unittest.cc url_data.SetKeyword(base::ASCIIToUTF16("foo")); base 394 chrome/browser/autocomplete/autocomplete_result_unittest.cc AutocompleteInput input(base::string16(), base::string16::npos, base 395 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::string16(), GURL(), base 443 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::FieldTrialList::CreateFieldTrial( base 448 chrome/browser/autocomplete/autocomplete_result_unittest.cc AutocompleteInput input(base::string16(), base::string16::npos, base 449 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::string16(), GURL(), base 493 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::FieldTrialList::CreateFieldTrial( base 498 chrome/browser/autocomplete/autocomplete_result_unittest.cc AutocompleteInput input(base::string16(), base::string16::npos, base 499 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::string16(), GURL(), base 533 chrome/browser/autocomplete/autocomplete_result_unittest.cc AutocompleteInput input(base::string16(), base::string16::npos, base 534 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::string16(), GURL(), base 549 chrome/browser/autocomplete/autocomplete_result_unittest.cc AutocompleteInput input(base::string16(), base::string16::npos, base 550 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::string16(), GURL(), base 563 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::FieldTrialList::CreateFieldTrial("InstantExtended", base 595 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::FieldTrialList::CreateFieldTrial("InstantExtended", base 626 chrome/browser/autocomplete/autocomplete_result_unittest.cc base::FieldTrialList::CreateFieldTrial("InstantExtended", base 59 chrome/browser/autocomplete/base_search_provider.cc typedef base::Callback<void(bool, SuggestionDeletionHandler*)> base 129 chrome/browser/autocomplete/base_search_provider.cc const base::string16& suggestion, base 135 chrome/browser/autocomplete/base_search_provider.cc suggestion, type, suggestion, base::string16(), base::string16(), base 137 chrome/browser/autocomplete/base_search_provider.cc base::string16()), base 156 chrome/browser/autocomplete/base_search_provider.cc base::Bind(&BaseSearchProvider::OnDeletionComplete, base 157 chrome/browser/autocomplete/base_search_provider.cc base::Unretained(this)))); base 217 chrome/browser/autocomplete/base_search_provider.cc const base::string16& suggestion, base 219 chrome/browser/autocomplete/base_search_provider.cc const base::string16& match_contents, base 220 chrome/browser/autocomplete/base_search_provider.cc const base::string16& match_contents_prefix, base 221 chrome/browser/autocomplete/base_search_provider.cc const base::string16& annotation, base 228 chrome/browser/autocomplete/base_search_provider.cc const base::string16& input_text) base 246 chrome/browser/autocomplete/base_search_provider.cc const base::string16& input_text) { base 254 chrome/browser/autocomplete/base_search_provider.cc base::string16 lookup_text = input_text; base 267 chrome/browser/autocomplete/base_search_provider.cc if (!allow_bolding_all && (lookup_position == base::string16::npos)) { base 278 chrome/browser/autocomplete/base_search_provider.cc if (lookup_position == base::string16::npos) { base 311 chrome/browser/autocomplete/base_search_provider.cc const base::string16& input) const { base 328 chrome/browser/autocomplete/base_search_provider.cc const base::string16& description, base 332 chrome/browser/autocomplete/base_search_provider.cc const base::string16& input_text, base 348 chrome/browser/autocomplete/base_search_provider.cc const base::string16& input_text, base 369 chrome/browser/autocomplete/base_search_provider.cc base::string16 match_contents = net::FormatUrl(url_, languages, format_types, base 373 chrome/browser/autocomplete/base_search_provider.cc if (match_start == base::string16::npos) base 376 chrome/browser/autocomplete/base_search_provider.cc if (allow_bolding_nothing || (match_start != base::string16::npos)) { base 387 chrome/browser/autocomplete/base_search_provider.cc const base::string16& input) const { base 389 chrome/browser/autocomplete/base_search_provider.cc URLPrefix::BestURLPrefix(base::UTF8ToUTF16(url_.spec()), input) != NULL; base 453 chrome/browser/autocomplete/base_search_provider.cc kACMatchPropertyInputText, base::UTF16ToUTF8(input.text())); base 456 chrome/browser/autocomplete/base_search_provider.cc base::UTF16ToUTF8(suggestion.match_contents_prefix())); base 468 chrome/browser/autocomplete/base_search_provider.cc (base::CollapseWhitespace(input.text(), false) == base 475 chrome/browser/autocomplete/base_search_provider.cc match.fill_into_edit.assign(base::ASCIIToUTF16("?")); base 477 chrome/browser/autocomplete/base_search_provider.cc match.fill_into_edit.append(match.keyword + base::char16(' ')); base 511 chrome/browser/autocomplete/base_search_provider.cc scoped_ptr<base::Value> BaseSearchProvider::DeserializeJsonData( base 524 chrome/browser/autocomplete/base_search_provider.cc scoped_ptr<base::Value> data(deserializer.Deserialize(&error_code, NULL)); base 528 chrome/browser/autocomplete/base_search_provider.cc return scoped_ptr<base::Value>(); base 638 chrome/browser/autocomplete/base_search_provider.cc base::string16 data_16; base 640 chrome/browser/autocomplete/base_search_provider.cc if (base::CodepageToUTF16(json_data, charset.c_str(), base 641 chrome/browser/autocomplete/base_search_provider.cc base::OnStringConversionError::FAIL, base 643 chrome/browser/autocomplete/base_search_provider.cc json_data = base::UTF16ToUTF8(data_16); base 647 chrome/browser/autocomplete/base_search_provider.cc scoped_ptr<base::Value> data(DeserializeJsonData(json_data)); base 699 chrome/browser/autocomplete/base_search_provider.cc std::make_pair(base::i18n::ToLower(result.suggestion()), base 746 chrome/browser/autocomplete/base_search_provider.cc bool BaseSearchProvider::ParseSuggestResults(const base::Value& root_val, base 749 chrome/browser/autocomplete/base_search_provider.cc base::string16 query; base 750 chrome/browser/autocomplete/base_search_provider.cc const base::ListValue* root_list = NULL; base 751 chrome/browser/autocomplete/base_search_provider.cc const base::ListValue* results_list = NULL; base 759 chrome/browser/autocomplete/base_search_provider.cc const base::ListValue* descriptions = NULL; base 768 chrome/browser/autocomplete/base_search_provider.cc const base::ListValue* types = NULL; base 769 chrome/browser/autocomplete/base_search_provider.cc const base::ListValue* relevances = NULL; base 770 chrome/browser/autocomplete/base_search_provider.cc const base::ListValue* suggestion_details = NULL; base 771 chrome/browser/autocomplete/base_search_provider.cc const base::DictionaryValue* extras = NULL; base 790 chrome/browser/autocomplete/base_search_provider.cc const base::DictionaryValue* client_data = NULL; base 808 chrome/browser/autocomplete/base_search_provider.cc base::string16 suggestion; base 815 chrome/browser/autocomplete/base_search_provider.cc const base::string16& trimmed_input = base 816 chrome/browser/autocomplete/base_search_provider.cc base::CollapseWhitespace(input.text(), false); base 830 chrome/browser/autocomplete/base_search_provider.cc base::UTF16ToUTF8(suggestion), std::string())); base 832 chrome/browser/autocomplete/base_search_provider.cc base::string16 title; base 842 chrome/browser/autocomplete/base_search_provider.cc const base::DictionaryValue* suggestion_detail = NULL; base 843 chrome/browser/autocomplete/base_search_provider.cc base::string16 match_contents = suggestion; base 844 chrome/browser/autocomplete/base_search_provider.cc base::string16 match_contents_prefix; base 845 chrome/browser/autocomplete/base_search_provider.cc base::string16 annotation; base 865 chrome/browser/autocomplete/base_search_provider.cc base::CollapseWhitespace(suggestion, false), match_type, base 866 chrome/browser/autocomplete/base_search_provider.cc base::CollapseWhitespace(match_contents, false), base 877 chrome/browser/autocomplete/base_search_provider.cc const base::ListValue* relevances, base 30 chrome/browser/autocomplete/base_search_provider.h namespace base { base 62 chrome/browser/autocomplete/base_search_provider.h const base::string16& suggestion, base 115 chrome/browser/autocomplete/base_search_provider.h const base::string16& match_contents() const { return match_contents_; } base 130 chrome/browser/autocomplete/base_search_provider.h virtual bool IsInlineable(const base::string16& input) const = 0; base 141 chrome/browser/autocomplete/base_search_provider.h base::string16 match_contents_; base 161 chrome/browser/autocomplete/base_search_provider.h SuggestResult(const base::string16& suggestion, base 163 chrome/browser/autocomplete/base_search_provider.h const base::string16& match_contents, base 164 chrome/browser/autocomplete/base_search_provider.h const base::string16& match_contents_prefix, base 165 chrome/browser/autocomplete/base_search_provider.h const base::string16& annotation, base 172 chrome/browser/autocomplete/base_search_provider.h const base::string16& input_text); base 175 chrome/browser/autocomplete/base_search_provider.h const base::string16& suggestion() const { return suggestion_; } base 177 chrome/browser/autocomplete/base_search_provider.h const base::string16& match_contents_prefix() const { base 180 chrome/browser/autocomplete/base_search_provider.h const base::string16& annotation() const { return annotation_; } base 192 chrome/browser/autocomplete/base_search_provider.h const base::string16& input_text); base 195 chrome/browser/autocomplete/base_search_provider.h virtual bool IsInlineable(const base::string16& input) const OVERRIDE; base 202 chrome/browser/autocomplete/base_search_provider.h base::string16 suggestion_; base 210 chrome/browser/autocomplete/base_search_provider.h base::string16 match_contents_prefix_; base 215 chrome/browser/autocomplete/base_search_provider.h base::string16 annotation_; base 235 chrome/browser/autocomplete/base_search_provider.h const base::string16& description, base 239 chrome/browser/autocomplete/base_search_provider.h const base::string16& input_text, base 244 chrome/browser/autocomplete/base_search_provider.h const base::string16& description() const { return description_; } base 245 chrome/browser/autocomplete/base_search_provider.h const base::string16& formatted_url() const { return formatted_url_; } base 253 chrome/browser/autocomplete/base_search_provider.h const base::string16& input_text, base 257 chrome/browser/autocomplete/base_search_provider.h virtual bool IsInlineable(const base::string16& input) const OVERRIDE; base 268 chrome/browser/autocomplete/base_search_provider.h base::string16 formatted_url_; base 271 chrome/browser/autocomplete/base_search_provider.h base::string16 description_; base 276 chrome/browser/autocomplete/base_search_provider.h typedef std::pair<base::string16, std::string> MatchKey; base 342 chrome/browser/autocomplete/base_search_provider.h static scoped_ptr<base::Value> DeserializeJsonData(std::string json_data); base 404 chrome/browser/autocomplete/base_search_provider.h bool ParseSuggestResults(const base::Value& root_val, base 410 chrome/browser/autocomplete/base_search_provider.h const base::ListValue* relevances, base 162 chrome/browser/autocomplete/bookmark_provider.cc const base::string16& title(title_match.node->GetTitle()); base 85 chrome/browser/autocomplete/bookmark_provider_unittest.cc base::ASCIIToUTF16(cur.title), url); base 109 chrome/browser/autocomplete/bookmark_provider_unittest.cc position_string += "{" + base::IntToString(i->begin) + ", " + base 110 chrome/browser/autocomplete/bookmark_provider_unittest.cc base::IntToString(i->end) + "}"; base 118 chrome/browser/autocomplete/bookmark_provider_unittest.cc base::string16 MatchesAsString16(const ACMatches& matches) { base 119 chrome/browser/autocomplete/bookmark_provider_unittest.cc base::string16 matches_string; base 121 chrome/browser/autocomplete/bookmark_provider_unittest.cc matches_string.append(base::ASCIIToUTF16(" '")); base 123 chrome/browser/autocomplete/bookmark_provider_unittest.cc matches_string.append(base::ASCIIToUTF16("'\n")); base 245 chrome/browser/autocomplete/bookmark_provider_unittest.cc AutocompleteInput input(base::ASCIIToUTF16(query_data[i].query), base 246 chrome/browser/autocomplete/bookmark_provider_unittest.cc base::string16::npos, base::string16(), GURL(), base 319 chrome/browser/autocomplete/bookmark_provider_unittest.cc AutocompleteInput input(base::ASCIIToUTF16(query_data[i].query), base 320 chrome/browser/autocomplete/bookmark_provider_unittest.cc base::string16::npos, base::string16(), GURL(), base 329 chrome/browser/autocomplete/bookmark_provider_unittest.cc << base::UTF16ToUTF8(matches[j].description) << "' for query: '" base 339 chrome/browser/autocomplete/bookmark_provider_unittest.cc base::UTF16ToUTF8(matches[j].description)) base 340 chrome/browser/autocomplete/bookmark_provider_unittest.cc << " Mismatch at [" << base::IntToString(j) << "] for query '" base 49 chrome/browser/autocomplete/builtin_provider.cc builtins_.push_back(base::ASCIIToUTF16(*i)); base 50 chrome/browser/autocomplete/builtin_provider.cc base::string16 settings(base::ASCIIToUTF16(chrome::kChromeUISettingsHost) + base 51 chrome/browser/autocomplete/builtin_provider.cc base::ASCIIToUTF16("/")); base 54 chrome/browser/autocomplete/builtin_provider.cc settings + base::ASCIIToUTF16(kChromeSettingsSubPages[i])); base 66 chrome/browser/autocomplete/builtin_provider.cc const base::string16 kAbout = base::ASCIIToUTF16(content::kAboutScheme) + base 67 chrome/browser/autocomplete/builtin_provider.cc base::ASCIIToUTF16(content::kStandardSchemeSeparator); base 68 chrome/browser/autocomplete/builtin_provider.cc const base::string16 kChrome = base::ASCIIToUTF16(content::kChromeUIScheme) + base 69 chrome/browser/autocomplete/builtin_provider.cc base::ASCIIToUTF16(content::kStandardSchemeSeparator); base 74 chrome/browser/autocomplete/builtin_provider.cc base::string16 text = input.text(); base 87 chrome/browser/autocomplete/builtin_provider.cc AddMatch(base::ASCIIToUTF16(chrome::kChromeUIChromeURLsURL), base 88 chrome/browser/autocomplete/builtin_provider.cc base::string16(), styles); base 89 chrome/browser/autocomplete/builtin_provider.cc AddMatch(base::ASCIIToUTF16(chrome::kChromeUISettingsURL), base 90 chrome/browser/autocomplete/builtin_provider.cc base::string16(), styles); base 91 chrome/browser/autocomplete/builtin_provider.cc AddMatch(base::ASCIIToUTF16(chrome::kChromeUIVersionURL), base 92 chrome/browser/autocomplete/builtin_provider.cc base::string16(), styles); base 95 chrome/browser/autocomplete/builtin_provider.cc GURL url = URLFixerUpper::FixupURL(base::UTF16ToUTF8(text), std::string()); base 101 chrome/browser/autocomplete/builtin_provider.cc base::string16 host_and_path = base::UTF8ToUTF16(url.host() + url.path()); base 102 chrome/browser/autocomplete/builtin_provider.cc base::TrimString(host_and_path, base::ASCIIToUTF16("/").c_str(), base 111 chrome/browser/autocomplete/builtin_provider.cc base::string16 match_string = kChrome + *i; base 133 chrome/browser/autocomplete/builtin_provider.cc void BuiltinProvider::AddMatch(const base::string16& match_string, base 134 chrome/browser/autocomplete/builtin_provider.cc const base::string16& inline_completion, base 29 chrome/browser/autocomplete/builtin_provider.h typedef std::vector<base::string16> Builtins; base 33 chrome/browser/autocomplete/builtin_provider.h void AddMatch(const base::string16& match_string, base 34 chrome/browser/autocomplete/builtin_provider.h const base::string16& inline_completion, base 17 chrome/browser/autocomplete/builtin_provider_unittest.cc using base::ASCIIToUTF16; base 23 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 input; base 57 chrome/browser/autocomplete/builtin_provider_unittest.cc AutocompleteInput input(builtin_cases[i].input, base::string16::npos, base 58 chrome/browser/autocomplete/builtin_provider_unittest.cc base::string16(), GURL(), base 77 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kAbout = ASCIIToUTF16(content::kAboutScheme); base 78 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kChrome = ASCIIToUTF16(content::kChromeUIScheme); base 79 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kSeparator1 = ASCIIToUTF16(":"); base 80 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kSeparator2 = ASCIIToUTF16(":/"); base 81 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kSeparator3 = base 144 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kAbout = ASCIIToUTF16(content::kAboutScheme); base 145 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kChrome = ASCIIToUTF16(content::kChromeUIScheme); base 146 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kSeparator1 = ASCIIToUTF16(":"); base 147 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kSeparator2 = ASCIIToUTF16(":/"); base 148 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kSeparator3 = base 153 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kHostM1 = base 155 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kHostM2 = base 157 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kHostM3 = base 202 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kSettings = ASCIIToUTF16(chrome::kChromeUISettingsURL); base 203 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kDefaultPage1 = ASCIIToUTF16(chrome::kAutofillSubPage); base 204 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kDefaultPage2 = base 208 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kPage1 = ASCIIToUTF16(chrome::kSearchEnginesSubPage); base 209 chrome/browser/autocomplete/builtin_provider_unittest.cc const base::string16 kPage2 = ASCIIToUTF16(chrome::kSyncSetupSubPage); base 96 chrome/browser/autocomplete/extension_app_provider.cc name_match_index != base::string16::npos ? base 116 chrome/browser/autocomplete/extension_app_provider.cc const base::string16& name = app->name; base 117 chrome/browser/autocomplete/extension_app_provider.cc base::string16::const_iterator name_iter = base 120 chrome/browser/autocomplete/extension_app_provider.cc base::CaseInsensitiveCompare<base::char16>()); base 123 chrome/browser/autocomplete/extension_app_provider.cc static_cast<size_t>(name_iter - name.begin()) : base::string16::npos; base 126 chrome/browser/autocomplete/extension_app_provider.cc size_t url_match_index = base::string16::npos; base 128 chrome/browser/autocomplete/extension_app_provider.cc const base::string16& url = app->launch_url; base 129 chrome/browser/autocomplete/extension_app_provider.cc base::string16::const_iterator url_iter = base 132 chrome/browser/autocomplete/extension_app_provider.cc base::CaseInsensitiveCompare<base::char16>()); base 136 chrome/browser/autocomplete/extension_app_provider.cc static_cast<size_t>(url_iter - url.begin()) : base::string16::npos; base 174 chrome/browser/autocomplete/extension_app_provider.cc base::UTF8ToUTF16(app->name()), base 175 chrome/browser/autocomplete/extension_app_provider.cc base::UTF8ToUTF16(launch_url.spec()), base 49 chrome/browser/autocomplete/extension_app_provider.h base::string16 name; base 52 chrome/browser/autocomplete/extension_app_provider.h base::string16 launch_url; base 17 chrome/browser/autocomplete/extension_app_provider_unittest.cc using base::ASCIIToUTF16; base 22 chrome/browser/autocomplete/extension_app_provider_unittest.cc const base::string16 input; base 38 chrome/browser/autocomplete/extension_app_provider_unittest.cc base::MessageLoopForUI message_loop_; base 80 chrome/browser/autocomplete/extension_app_provider_unittest.cc info.set_title(base::UTF8ToUTF16(kExtensionApps[i].title)); base 91 chrome/browser/autocomplete/extension_app_provider_unittest.cc AutocompleteInput input(keyword_cases[i].input, base::string16::npos, base 92 chrome/browser/autocomplete/extension_app_provider_unittest.cc base::string16(), GURL(), base 142 chrome/browser/autocomplete/extension_app_provider_unittest.cc AutocompleteInput input(ASCIIToUTF16("Test"), base::string16::npos, base 143 chrome/browser/autocomplete/extension_app_provider_unittest.cc base::string16(), GURL(), base 146 chrome/browser/autocomplete/extension_app_provider_unittest.cc base::string16 url(ASCIIToUTF16("http://example.com")); base 154 chrome/browser/autocomplete/extension_app_provider_unittest.cc base::string16::npos); base 13 chrome/browser/autocomplete/history_provider_util.cc input_location(base::string16::npos), base 82 chrome/browser/autocomplete/history_quick_provider.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 85 chrome/browser/autocomplete/history_quick_provider.cc base::TimeTicks end_time = base::TimeTicks::Now(); base 87 chrome/browser/autocomplete/history_quick_provider.cc base::IntToString(input.text().length()); base 88 chrome/browser/autocomplete/history_quick_provider.cc base::HistogramBase* counter = base::Histogram::FactoryGet( base 89 chrome/browser/autocomplete/history_quick_provider.cc name, 1, 1000, 50, base::Histogram::kUmaTargetedHistogramFlag); base 149 chrome/browser/autocomplete/history_quick_provider.cc const std::string host(base::UTF16ToUTF8( base 40 chrome/browser/autocomplete/history_quick_provider_unittest.cc using base::ASCIIToUTF16; base 41 chrome/browser/autocomplete/history_quick_provider_unittest.cc using base::Time; base 42 chrome/browser/autocomplete/history_quick_provider_unittest.cc using base::TimeDelta; base 136 chrome/browser/autocomplete/history_quick_provider_unittest.cc void RunTest(const base::string16 text, base 140 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::string16 expected_fill_into_edit, base 141 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::string16 autocompletion); base 143 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::MessageLoopForUI message_loop_; base 200 chrome/browser/autocomplete/history_quick_provider_unittest.cc std::string sql_cmd_line = base::StringPrintf( base 215 chrome/browser/autocomplete/history_quick_provider_unittest.cc std::string sql_cmd_line = base::StringPrintf( base 243 chrome/browser/autocomplete/history_quick_provider_unittest.cc void HistoryQuickProviderTest::RunTest(const base::string16 text, base 247 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::string16 expected_fill_into_edit, base 248 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::string16 expected_autocompletion) { base 250 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 251 chrome/browser/autocomplete/history_quick_provider_unittest.cc AutocompleteInput input(text, base::string16::npos, base::string16(), base 313 chrome/browser/autocomplete/history_quick_provider_unittest.cc ASCIIToUTF16("popularsitewithpathonly.com/moo"), base::string16()); base 322 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::string16()); base 359 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::string16()); base 399 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::string16()); base 405 chrome/browser/autocomplete/history_quick_provider_unittest.cc base::string16()); base 483 chrome/browser/autocomplete/history_quick_provider_unittest.cc ASCIIToUTF16("NONE EXPECTED"), base::string16()); base 496 chrome/browser/autocomplete/history_quick_provider_unittest.cc ASCIIToUTF16("popularsitewithroot.com"), base::string16()); base 553 chrome/browser/autocomplete/history_quick_provider_unittest.cc ASCIIToUTF16("popularsitewithpathonly.com/moo"), base::string16()); base 578 chrome/browser/autocomplete/history_quick_provider_unittest.cc ASCIIToUTF16("popularsitewithroot.com"), base::string16()); base 582 chrome/browser/autocomplete/history_quick_provider_unittest.cc ASCIIToUTF16("popularsitewithroot.com"), base::string16()); base 601 chrome/browser/autocomplete/history_quick_provider_unittest.cc ASCIIToUTF16("anotherengine.com/?q=thequery"), base::string16()); base 91 chrome/browser/autocomplete/history_url_provider.cc const base::string16& input) { base 106 chrome/browser/autocomplete/history_url_provider.cc const base::string16 spec = base::UTF8ToUTF16(host.spec()); base 198 chrome/browser/autocomplete/history_url_provider.cc const base::TimeDelta& time_since_last_visit, base 240 chrome/browser/autocomplete/history_url_provider.cc virtual base::string16 GetRlzParameterValue() const OVERRIDE; base 247 chrome/browser/autocomplete/history_url_provider.cc base::string16 rlz_parameter_value_; base 273 chrome/browser/autocomplete/history_url_provider.cc base::string16 SearchTermsDataSnapshot::GetRlzParameterValue() const { base 361 chrome/browser/autocomplete/history_url_provider.cc : message_loop(base::MessageLoop::current()), base 419 chrome/browser/autocomplete/history_url_provider.cc const base::string16& text, base 435 chrome/browser/autocomplete/history_url_provider.cc base::string16 display_string( base 451 chrome/browser/autocomplete/history_url_provider.cc base::UTF8ToUTF16(destination_url.spec()), text); base 482 chrome/browser/autocomplete/history_url_provider.cc base::TimeTicks beginning_time = base::TimeTicks::Now(); base 487 chrome/browser/autocomplete/history_url_provider.cc base::TimeTicks::Now() - beginning_time); base 491 chrome/browser/autocomplete/history_url_provider.cc params->message_loop->PostTask(FROM_HERE, base::Bind( base 541 chrome/browser/autocomplete/history_url_provider.cc base::UTF16ToUTF8(i->prefix + params->input.text()), base 548 chrome/browser/autocomplete/history_url_provider.cc URLPrefix::BestURLPrefix(base::UTF8ToUTF16(j->url().spec()), base 549 chrome/browser/autocomplete/history_url_provider.cc base::string16()); base 852 chrome/browser/autocomplete/history_url_provider.cc CreateOrPromoteMatch(classifier.url_row(), base::string16::npos, false, base 868 chrome/browser/autocomplete/history_url_provider.cc const std::string host(base::UTF16ToUTF8( base 991 chrome/browser/autocomplete/history_url_provider.cc const base::Time& threshold(history::AutocompleteAgeThreshold()); base 1089 chrome/browser/autocomplete/history_url_provider.cc (inline_autocomplete_offset != base::string16::npos)) { base 1097 chrome/browser/autocomplete/history_url_provider.cc ((inline_autocomplete_offset != base::string16::npos) && base 1103 chrome/browser/autocomplete/history_url_provider.cc if ((match_start != base::string16::npos) && base 1104 chrome/browser/autocomplete/history_url_provider.cc (inline_autocomplete_offset != base::string16::npos) && base 1111 chrome/browser/autocomplete/history_url_provider.cc AutocompleteMatch::ClassifyLocationInString(base::string16::npos, 0, base 1128 chrome/browser/autocomplete/history_url_provider.cc const base::TimeDelta time_since_last_visit = base 1129 chrome/browser/autocomplete/history_url_provider.cc base::Time::Now() - match.url_info.last_visit(); base 1149 chrome/browser/autocomplete/history_url_provider.cc const base::string16& input_text, base 1150 chrome/browser/autocomplete/history_url_provider.cc const base::string16& description) { base 1151 chrome/browser/autocomplete/history_url_provider.cc base::string16 clean_description = history::CleanUpTitleForMatching( base 23 chrome/browser/autocomplete/history_url_provider.h namespace base { base 100 chrome/browser/autocomplete/history_url_provider.h base::MessageLoop* message_loop; base 118 chrome/browser/autocomplete/history_url_provider.h base::CancellationFlag cancel_flag; base 177 chrome/browser/autocomplete/history_url_provider.h AutocompleteMatch SuggestExactInput(const base::string16& text, base 302 chrome/browser/autocomplete/history_url_provider.h const base::string16& input_text, base 303 chrome/browser/autocomplete/history_url_provider.h const base::string16& description); base 31 chrome/browser/autocomplete/history_url_provider_unittest.cc using base::ASCIIToUTF16; base 32 chrome/browser/autocomplete/history_url_provider_unittest.cc using base::Time; base 33 chrome/browser/autocomplete/history_url_provider_unittest.cc using base::TimeDelta; base 186 chrome/browser/autocomplete/history_url_provider_unittest.cc void RunTest(const base::string16 text, base 187 chrome/browser/autocomplete/history_url_provider_unittest.cc const base::string16& desired_tld, base 194 chrome/browser/autocomplete/history_url_provider_unittest.cc void RunTest(const base::string16 text, base 195 chrome/browser/autocomplete/history_url_provider_unittest.cc const base::string16& desired_tld, base 222 chrome/browser/autocomplete/history_url_provider_unittest.cc base::MessageLoop::current()->Quit(); base 262 chrome/browser/autocomplete/history_url_provider_unittest.cc current_url, base::UTF8ToUTF16(cur.title), cur.visit_count, base 268 chrome/browser/autocomplete/history_url_provider_unittest.cc GURL("http://p/"), base::UTF8ToUTF16("p"), 0, 0, base 275 chrome/browser/autocomplete/history_url_provider_unittest.cc const base::string16 text, base 276 chrome/browser/autocomplete/history_url_provider_unittest.cc const base::string16& desired_tld, base 281 chrome/browser/autocomplete/history_url_provider_unittest.cc AutocompleteInput input(text, base::string16::npos, desired_tld, GURL(), base 288 chrome/browser/autocomplete/history_url_provider_unittest.cc base::MessageLoop::current()->Run(); base 317 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("slash"), base::string16(), true, expected_nonsynth, base 325 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("kernel"), base::string16(), true, expected_synth, base 329 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("fresh"), base::string16(), true, NULL, 0); base 339 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("synthesisa"), base::string16(), false, base 346 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("synthesisb"), base::string16(), false, base 356 chrome/browser/autocomplete/history_url_provider_unittest.cc ASSERT_NO_FATAL_FAILURE(RunTest(ASCIIToUTF16("news"), base::string16(), true, base 370 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("foo"), base::string16(), true, base 381 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("foo.com"), base::string16(), true, short_2, base 383 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("foo.com/"), base::string16(), true, short_2, base 395 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("foo.com/d"), base::string16(), true, short_3, base 405 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("foo.com/dir/another/a"), base::string16(), true, base 420 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("g"), base::string16(), false, base 422 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("go"), base::string16(), false, base 453 chrome/browser/autocomplete/history_url_provider_unittest.cc history_service_->AddPage(GURL(test_cases[0].url), base::Time::Now(), base 460 chrome/browser/autocomplete/history_url_provider_unittest.cc const base::string16 typing(ASCIIToUTF16("http://redirects/")); base 462 chrome/browser/autocomplete/history_url_provider_unittest.cc { base::UTF16ToUTF8(typing), true }, base 465 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(typing, base::string16(), true, expected_results, base 471 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("wytmatch"), base::string16(), false, NULL, 0); base 472 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("wytmatch foo bar"), base::string16(), false, NULL, 0); base 473 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("wytmatch+foo+bar"), base::string16(), false, NULL, 0); base 474 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("wytmatch+foo+bar.com"), base::string16(), false, base 486 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("http://wytmatch foo bar"), base::string16(), false, base 492 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("https://wytmatch foo bar"), base::string16(), false, base 498 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("\\"), base::string16(), false, NULL, 0); base 499 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("#"), base::string16(), false, NULL, 0); base 500 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("%20"), base::string16(), false, NULL, 0); base 504 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(base::WideToUTF16(L"\uff65@s"), base::string16(), false, fixup_crash, base 506 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(base::WideToUTF16(L"\u2015\u2015@ \uff7c"), base::string16(), false, base 511 chrome/browser/autocomplete/history_url_provider_unittest.cc const base::string16 input_1(ASCIIToUTF16("file:")); base 515 chrome/browser/autocomplete/history_url_provider_unittest.cc ASSERT_NO_FATAL_FAILURE(RunTest(input_1, base::string16(), false, fixup_1, base 522 chrome/browser/autocomplete/history_url_provider_unittest.cc const base::string16 input_2(ASCIIToUTF16("http:/")); base 528 chrome/browser/autocomplete/history_url_provider_unittest.cc ASSERT_NO_FATAL_FAILURE(RunTest(input_2, base::string16(), false, fixup_2, base 546 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("127.0.0.1"), base::string16(), false, fixup_4, base 553 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("17173"), base::string16(), false, fixup_5, base 563 chrome/browser/autocomplete/history_url_provider_unittest.cc AutocompleteInput input(ASCIIToUTF16("p"), base::string16::npos, base 564 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16(), GURL(), base 578 chrome/browser/autocomplete/history_url_provider_unittest.cc base::MessageLoop::current()->Run(); base 592 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("test.com"), base::string16(), false, navigation_1, base 598 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("slash"), base::string16(), false, navigation_2, base 601 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("this is a query"), base::string16(), false, NULL, 0); base 605 chrome/browser/autocomplete/history_url_provider_unittest.cc AutocompleteInput input(ASCIIToUTF16("slash "), base::string16::npos, base 606 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16(), GURL(), base 611 chrome/browser/autocomplete/history_url_provider_unittest.cc base::MessageLoop::current()->Run(); base 629 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16(), false, expected, base 652 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16(test_cases[i].input), base::string16(), false, base 660 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16(), false, base 694 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16(), false, output, arraysize(output), &type)); base 718 chrome/browser/autocomplete/history_url_provider_unittest.cc ASSERT_NO_FATAL_FAILURE(RunTest(ASCIIToUTF16("intra/t"), base::string16(), base 728 chrome/browser/autocomplete/history_url_provider_unittest.cc ASSERT_NO_FATAL_FAILURE(RunTest(ASCIIToUTF16("moo/b"), base::string16(), base 740 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("intra"), base::string16(), false, expected3, base 748 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("intra/"), base::string16(), false, expected4, base 754 chrome/browser/autocomplete/history_url_provider_unittest.cc ASSERT_NO_FATAL_FAILURE(RunTest(ASCIIToUTF16("intra/o"), base::string16(), base 762 chrome/browser/autocomplete/history_url_provider_unittest.cc ASSERT_NO_FATAL_FAILURE(RunTest(ASCIIToUTF16("intra/x"), base::string16(), base 771 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16(), false, expected7, arraysize(expected7))); base 784 chrome/browser/autocomplete/history_url_provider_unittest.cc AutocompleteInput input(ASCIIToUTF16(test_cases[i]), base::string16::npos, base 785 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16(), GURL(), base 790 chrome/browser/autocomplete/history_url_provider_unittest.cc base::MessageLoop::current()->Run(); base 820 chrome/browser/autocomplete/history_url_provider_unittest.cc base::UTF8ToUTF16("Title"), test_cases[i].count, test_cases[i].count, base 828 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("foobar"), base::string16(), true, base 835 chrome/browser/autocomplete/history_url_provider_unittest.cc RunTest(ASCIIToUTF16("testsearch"), base::string16(), true, base 902 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16::npos, base::string16(), base 1009 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16(), false, output, max_matches)); base 1019 chrome/browser/autocomplete/history_url_provider_unittest.cc base::string16(), false, output, max_matches)); base 102 chrome/browser/autocomplete/keyword_provider.cc base::string16 KeywordProvider::SplitKeywordFromInput( base 103 chrome/browser/autocomplete/keyword_provider.cc const base::string16& input, base 105 chrome/browser/autocomplete/keyword_provider.cc base::string16* remaining_input) { base 108 chrome/browser/autocomplete/keyword_provider.cc const size_t first_white(input.find_first_of(base::kWhitespaceUTF16)); base 110 chrome/browser/autocomplete/keyword_provider.cc if (first_white == base::string16::npos) base 116 chrome/browser/autocomplete/keyword_provider.cc input.find_first_not_of(base::kWhitespaceUTF16, first_white) : base 127 chrome/browser/autocomplete/keyword_provider.cc base::string16 KeywordProvider::SplitReplacementStringFromInput( base 128 chrome/browser/autocomplete/keyword_provider.cc const base::string16& input, base 131 chrome/browser/autocomplete/keyword_provider.cc base::string16 trimmed_input; base 132 chrome/browser/autocomplete/keyword_provider.cc base::TrimWhitespace(input, base::TRIM_LEADING, &trimmed_input); base 135 chrome/browser/autocomplete/keyword_provider.cc base::string16 remaining_input; base 148 chrome/browser/autocomplete/keyword_provider.cc base::string16 keyword, remaining_input; base 156 chrome/browser/autocomplete/keyword_provider.cc size_t cursor_position = base::string16::npos; base 159 chrome/browser/autocomplete/keyword_provider.cc if (input->cursor_position() != base::string16::npos && base 184 chrome/browser/autocomplete/keyword_provider.cc base::string16 KeywordProvider::GetKeywordForText( base 185 chrome/browser/autocomplete/keyword_provider.cc const base::string16& text) const { base 186 chrome/browser/autocomplete/keyword_provider.cc const base::string16 keyword(TemplateURLService::CleanUserInputKeyword(text)); base 193 chrome/browser/autocomplete/keyword_provider.cc return base::string16(); base 199 chrome/browser/autocomplete/keyword_provider.cc return base::string16(); base 210 chrome/browser/autocomplete/keyword_provider.cc return base::string16(); base 217 chrome/browser/autocomplete/keyword_provider.cc const base::string16& text, base 218 chrome/browser/autocomplete/keyword_provider.cc const base::string16& keyword, base 255 chrome/browser/autocomplete/keyword_provider.cc base::string16 keyword, remaining_input; base 360 chrome/browser/autocomplete/keyword_provider.cc base::UTF16ToUTF8(remaining_input), current_input_id_); base 388 chrome/browser/autocomplete/keyword_provider.cc base::string16* keyword, base 389 chrome/browser/autocomplete/keyword_provider.cc base::string16* remaining_input) { base 426 chrome/browser/autocomplete/keyword_provider.cc const base::string16& remaining_input, base 436 chrome/browser/autocomplete/keyword_provider.cc const base::string16& keyword = template_url->keyword(); base 472 chrome/browser/autocomplete/keyword_provider.cc const base::string16& remaining_input, base 542 chrome/browser/autocomplete/keyword_provider.cc base::string16 keyword, remaining_input; base 564 chrome/browser/autocomplete/keyword_provider.cc base::string16 keyword, remaining_input; base 588 chrome/browser/autocomplete/keyword_provider.cc base::UTF8ToUTF16(suggestion.content), false, base 592 chrome/browser/autocomplete/keyword_provider.cc match->contents.assign(base::UTF8ToUTF16(suggestion.description)); base 62 chrome/browser/autocomplete/keyword_provider.h static base::string16 SplitKeywordFromInput(const base::string16& input, base 64 chrome/browser/autocomplete/keyword_provider.h base::string16* remaining_input); base 71 chrome/browser/autocomplete/keyword_provider.h static base::string16 SplitReplacementStringFromInput( base 72 chrome/browser/autocomplete/keyword_provider.h const base::string16& input, base 85 chrome/browser/autocomplete/keyword_provider.h base::string16 GetKeywordForText(const base::string16& text) const; base 88 chrome/browser/autocomplete/keyword_provider.h AutocompleteMatch CreateVerbatimMatch(const base::string16& text, base 89 chrome/browser/autocomplete/keyword_provider.h const base::string16& keyword, base 111 chrome/browser/autocomplete/keyword_provider.h base::string16* keyword, base 112 chrome/browser/autocomplete/keyword_provider.h base::string16* remaining_input); base 131 chrome/browser/autocomplete/keyword_provider.h const base::string16& remaining_input, base 137 chrome/browser/autocomplete/keyword_provider.h void FillInURLAndContents(const base::string16& remaining_input, base 17 chrome/browser/autocomplete/keyword_provider_unittest.cc using base::ASCIIToUTF16; base 29 chrome/browser/autocomplete/keyword_provider_unittest.cc const base::string16 input; base 82 chrome/browser/autocomplete/keyword_provider_unittest.cc AutocompleteInput input(keyword_cases[i].input, base::string16::npos, base 83 chrome/browser/autocomplete/keyword_provider_unittest.cc base::string16(), GURL(), base 99 chrome/browser/autocomplete/keyword_provider_unittest.cc const MatchType<base::string16> kEmptyMatch = { base::string16(), false }; base 100 chrome/browser/autocomplete/keyword_provider_unittest.cc TestData<base::string16> edit_cases[] = { base 174 chrome/browser/autocomplete/keyword_provider_unittest.cc RunTest<base::string16>(edit_cases, arraysize(edit_cases), base 214 chrome/browser/autocomplete/keyword_provider_unittest.cc const MatchType<base::string16> kEmptyMatch = { base::string16(), false }; base 215 chrome/browser/autocomplete/keyword_provider_unittest.cc TestData<base::string16> contents_cases[] = { base 252 chrome/browser/autocomplete/keyword_provider_unittest.cc RunTest<base::string16>(contents_cases, arraysize(contents_cases), base 259 chrome/browser/autocomplete/keyword_provider_unittest.cc base::string16 keyword(ASCIIToUTF16("foo")); base 268 chrome/browser/autocomplete/keyword_provider_unittest.cc base::string16 url(ASCIIToUTF16("http://aaaa/?aaaa=1&b={searchTerms}&c")); base 276 chrome/browser/autocomplete/keyword_provider_unittest.cc EXPECT_EQ(base::string16(), base 278 chrome/browser/autocomplete/keyword_provider_unittest.cc EXPECT_EQ(base::string16(), base 291 chrome/browser/autocomplete/keyword_provider_unittest.cc { "foo", base::string16::npos, true, "", "foo", base::string16::npos }, base 292 chrome/browser/autocomplete/keyword_provider_unittest.cc { "aa foo", base::string16::npos, true, "aa.com?foo={searchTerms}", "foo", base 293 chrome/browser/autocomplete/keyword_provider_unittest.cc base::string16::npos }, base 296 chrome/browser/autocomplete/keyword_provider_unittest.cc { "aa foo", base::string16::npos, true, "aa.com?foo={searchTerms}", "foo", base 297 chrome/browser/autocomplete/keyword_provider_unittest.cc base::string16::npos }, base 307 chrome/browser/autocomplete/keyword_provider_unittest.cc { "aa ", 3u, true, "aa.com?foo={searchTerms}", "", base::string16::npos }, base 309 chrome/browser/autocomplete/keyword_provider_unittest.cc { "aa ", 4u, true, "aa.com?foo={searchTerms}", "", base::string16::npos }, base 320 chrome/browser/autocomplete/keyword_provider_unittest.cc { "aa foo", base::string16::npos, false, "", "aa foo", base 321 chrome/browser/autocomplete/keyword_provider_unittest.cc base::string16::npos }, base 325 chrome/browser/autocomplete/keyword_provider_unittest.cc cases[i].cursor_position, base::string16(), GURL(), base 79 chrome/browser/autocomplete/search_provider.cc bool HasMultipleWords(const base::string16& text) { base 80 chrome/browser/autocomplete/search_provider.cc base::i18n::BreakIterator i(text, base::i18n::BreakIterator::BREAK_WORD); base 147 chrome/browser/autocomplete/search_provider.cc void SearchProvider::RemoveStaleResults(const base::string16& input, base 199 chrome/browser/autocomplete/search_provider.cc void SearchProvider::UpdateMatchContentsClass(const base::string16& input_text, base 273 chrome/browser/autocomplete/search_provider.cc base::string16 default_provider_keyword(default_provider ? base 274 chrome/browser/autocomplete/search_provider.cc default_provider->keyword() : base::string16()); base 275 chrome/browser/autocomplete/search_provider.cc base::string16 keyword_provider_keyword(keyword_provider ? base 276 chrome/browser/autocomplete/search_provider.cc keyword_provider->keyword() : base::string16()); base 311 chrome/browser/autocomplete/search_provider.cc const base::ListValue* relevances, base 381 chrome/browser/autocomplete/search_provider.cc base::UserMetricsAction("Omnibox.ServerSuggestDelete.Success")); base 384 chrome/browser/autocomplete/search_provider.cc base::UserMetricsAction("Omnibox.ServerSuggestDelete.Failure")); base 397 chrome/browser/autocomplete/search_provider.cc const base::TimeDelta elapsed_time = base 398 chrome/browser/autocomplete/search_provider.cc base::TimeTicks::Now() - time_suggest_request_sent_; base 414 chrome/browser/autocomplete/search_provider.cc base::TimeTicks update_matches_start_time(base::TimeTicks::Now()); base 510 chrome/browser/autocomplete/search_provider.cc base::TimeTicks update_starred_start_time(base::TimeTicks::Now()); base 513 chrome/browser/autocomplete/search_provider.cc base::TimeTicks::Now() - update_starred_start_time); base 516 chrome/browser/autocomplete/search_provider.cc base::TimeTicks::Now() - update_matches_start_time); base 522 chrome/browser/autocomplete/search_provider.cc time_suggest_request_sent_ = base::TimeTicks::Now(); base 545 chrome/browser/autocomplete/search_provider.cc base::TimeTicks do_history_query_start_time(base::TimeTicks::Now()); base 554 chrome/browser/autocomplete/search_provider.cc base::TimeTicks start_time(base::TimeTicks::Now()); base 557 chrome/browser/autocomplete/search_provider.cc base::TimeTicks now(base::TimeTicks::Now()); base 564 chrome/browser/autocomplete/search_provider.cc base::TimeTicks::Now() - start_time); base 580 chrome/browser/autocomplete/search_provider.cc start_time = base::TimeTicks::Now(); base 585 chrome/browser/autocomplete/search_provider.cc base::TimeTicks::Now() - start_time); base 593 chrome/browser/autocomplete/search_provider.cc base::TimeTicks::Now() - do_history_query_start_time); base 633 chrome/browser/autocomplete/search_provider.cc base::TimeTicks next_suggest_time(time_suggest_request_sent_ + base 634 chrome/browser/autocomplete/search_provider.cc base::TimeDelta::FromMilliseconds(kMinimumTimeBetweenSuggestQueriesMs)); base 635 chrome/browser/autocomplete/search_provider.cc base::TimeTicks now(base::TimeTicks::Now()); base 810 chrome/browser/autocomplete/search_provider.cc base::TimeTicks start_time(base::TimeTicks::Now()); base 812 chrome/browser/autocomplete/search_provider.cc const base::Time no_time; base 825 chrome/browser/autocomplete/search_provider.cc const base::string16& trimmed_verbatim = base 826 chrome/browser/autocomplete/search_provider.cc base::CollapseWhitespace(input_.text(), false); base 829 chrome/browser/autocomplete/search_provider.cc trimmed_verbatim, base::string16(), base::string16(), std::string(), base 849 chrome/browser/autocomplete/search_provider.cc const base::string16& trimmed_verbatim = base 850 chrome/browser/autocomplete/search_provider.cc base::CollapseWhitespace(keyword_input_.text(), false); base 853 chrome/browser/autocomplete/search_provider.cc trimmed_verbatim, base::string16(), base::string16(), base 917 chrome/browser/autocomplete/search_provider.cc base::TimeTicks::Now() - start_time); base 1021 chrome/browser/autocomplete/search_provider.cc base::TimeTicks start_time(base::TimeTicks::Now()); base 1024 chrome/browser/autocomplete/search_provider.cc const base::string16& input_text = base 1053 chrome/browser/autocomplete/search_provider.cc base::TimeTicks::Now() - start_time); base 1060 chrome/browser/autocomplete/search_provider.cc const base::string16& input_text, base 1068 chrome/browser/autocomplete/search_provider.cc const base::string16& trimmed_input = base 1069 chrome/browser/autocomplete/search_provider.cc base::CollapseWhitespace(input_text, false); base 1072 chrome/browser/autocomplete/search_provider.cc const base::string16& trimmed_suggestion = base 1073 chrome/browser/autocomplete/search_provider.cc base::CollapseWhitespace(i->term, false); base 1108 chrome/browser/autocomplete/search_provider.cc trimmed_suggestion, base::string16(), base::string16(), std::string(), base 1206 chrome/browser/autocomplete/search_provider.cc const base::Time& time, base 1217 chrome/browser/autocomplete/search_provider.cc double elapsed_time = std::max((base::Time::Now() - time).InSecondsF(), 0.0); base 1247 chrome/browser/autocomplete/search_provider.cc base::string16 input; base 1248 chrome/browser/autocomplete/search_provider.cc const bool trimmed_whitespace = base::TrimWhitespace( base 1251 chrome/browser/autocomplete/search_provider.cc base::TRIM_TRAILING, &input) != base::TRIM_NONE; base 1271 chrome/browser/autocomplete/search_provider.cc base::string16::npos : (match_start + input.length()); base 1280 chrome/browser/autocomplete/search_provider.cc match.fill_into_edit.insert(0, base::ASCIIToUTF16("?")); base 1281 chrome/browser/autocomplete/search_provider.cc if (inline_autocomplete_offset != base::string16::npos) base 1284 chrome/browser/autocomplete/search_provider.cc if (inline_autocomplete_offset != base::string16::npos) { base 85 chrome/browser/autocomplete/search_provider.h bool equal(const base::string16& default_provider, base 86 chrome/browser/autocomplete/search_provider.h const base::string16& keyword_provider) const { base 92 chrome/browser/autocomplete/search_provider.h void set(const base::string16& default_provider, base 93 chrome/browser/autocomplete/search_provider.h const base::string16& keyword_provider) { base 99 chrome/browser/autocomplete/search_provider.h const base::string16& default_provider() const { return default_provider_; } base 100 chrome/browser/autocomplete/search_provider.h const base::string16& keyword_provider() const { return keyword_provider_; } base 114 chrome/browser/autocomplete/search_provider.h base::string16 default_provider_; base 115 chrome/browser/autocomplete/search_provider.h base::string16 keyword_provider_; base 126 chrome/browser/autocomplete/search_provider.h static void RemoveStaleResults(const base::string16& input, base 133 chrome/browser/autocomplete/search_provider.h void UpdateMatchContentsClass(const base::string16& input_text, base 147 chrome/browser/autocomplete/search_provider.h const base::ListValue* relevances, base 234 chrome/browser/autocomplete/search_provider.h const base::string16& input_text, base 273 chrome/browser/autocomplete/search_provider.h int CalculateRelevanceForHistory(const base::Time& time, base 313 chrome/browser/autocomplete/search_provider.h base::OneShotTimer<SearchProvider> timer_; base 316 chrome/browser/autocomplete/search_provider.h base::TimeTicks time_suggest_request_sent_; base 49 chrome/browser/autocomplete/search_provider_unittest.cc using base::ASCIIToUTF16; base 115 chrome/browser/autocomplete/search_provider_unittest.cc base::string16 fill_into_edit) base 125 chrome/browser/autocomplete/search_provider_unittest.cc const base::string16 fill_into_edit; base 129 chrome/browser/autocomplete/search_provider_unittest.cc const base::string16 input; base 151 chrome/browser/autocomplete/search_provider_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 158 chrome/browser/autocomplete/search_provider_unittest.cc GURL AddSearchToHistory(TemplateURL* t_url, base::string16 term, int visit_count); base 162 chrome/browser/autocomplete/search_provider_unittest.cc bool FindMatchWithContents(const base::string16& contents, base 178 chrome/browser/autocomplete/search_provider_unittest.cc void QueryForInput(const base::string16& text, base 184 chrome/browser/autocomplete/search_provider_unittest.cc void QueryForInputAndSetWYTMatch(const base::string16& text, base 208 chrome/browser/autocomplete/search_provider_unittest.cc const base::string16 term1_; base 211 chrome/browser/autocomplete/search_provider_unittest.cc const base::string16 keyword_term_; base 226 chrome/browser/autocomplete/search_provider_unittest.cc base::RunLoop* run_loop_; base 286 chrome/browser/autocomplete/search_provider_unittest.cc base::RunLoop().RunUntilIdle(); base 297 chrome/browser/autocomplete/search_provider_unittest.cc AutocompleteInput input(cases[i].input, base::string16::npos, base 298 chrome/browser/autocomplete/search_provider_unittest.cc base::string16(), GURL(), base 304 chrome/browser/autocomplete/search_provider_unittest.cc base::string16 diagnostic_details = base 336 chrome/browser/autocomplete/search_provider_unittest.cc base::RunLoop run_loop; base 341 chrome/browser/autocomplete/search_provider_unittest.cc void SearchProviderTest::QueryForInput(const base::string16& text, base 345 chrome/browser/autocomplete/search_provider_unittest.cc AutocompleteInput input(text, base::string16::npos, base::string16(), GURL(), base 353 chrome/browser/autocomplete/search_provider_unittest.cc base::RunLoop().RunUntilIdle(); base 357 chrome/browser/autocomplete/search_provider_unittest.cc const base::string16& text, base 367 chrome/browser/autocomplete/search_provider_unittest.cc TemplateURLRef::SearchTermsArgs(base::CollapseWhitespace( base 373 chrome/browser/autocomplete/search_provider_unittest.cc base::string16 term, base 380 chrome/browser/autocomplete/search_provider_unittest.cc static base::Time last_added_time; base 381 chrome/browser/autocomplete/search_provider_unittest.cc last_added_time = std::max(base::Time::Now(), base 382 chrome/browser/autocomplete/search_provider_unittest.cc last_added_time + base::TimeDelta::FromMicroseconds(1)); base 383 chrome/browser/autocomplete/search_provider_unittest.cc history->AddPageWithDetails(search, base::string16(), visit_count, visit_count, base 389 chrome/browser/autocomplete/search_provider_unittest.cc bool SearchProviderTest::FindMatchWithContents(const base::string16& contents, base 457 chrome/browser/autocomplete/search_provider_unittest.cc field_trial_list_.reset(new base::FieldTrialList( base 460 chrome/browser/autocomplete/search_provider_unittest.cc base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( base 474 chrome/browser/autocomplete/search_provider_unittest.cc base::string16 term = term1_.substr(0, term1_.length() - 1); base 517 chrome/browser/autocomplete/search_provider_unittest.cc base::string16 term = term1_.substr(0, term1_.length() - 1); base 529 chrome/browser/autocomplete/search_provider_unittest.cc base::string16 term = keyword_term_.substr(0, keyword_term_.length() - 1); base 571 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(keyword_t_url_->keyword() + base::char16(' ') + keyword_term_, base 635 chrome/browser/autocomplete/search_provider_unittest.cc AddPageWithDetails(GURL("http://docs.google.com"), base::string16(), 1, 1, base 636 chrome/browser/autocomplete/search_provider_unittest.cc base::Time::Now(), false, history::SOURCE_BROWSED); base 871 chrome/browser/autocomplete/search_provider_unittest.cc ASCIIToUTF16("k t"), base::string16::npos, base::string16(), GURL(), base 1410 chrome/browser/autocomplete/search_provider_unittest.cc base::FieldTrialList::CreateFieldTrial( base 2141 chrome/browser/autocomplete/search_provider_unittest.cc base::FieldTrialList::CreateFieldTrial( base 2665 chrome/browser/autocomplete/search_provider_unittest.cc base::string16 term = term1_.substr(0, term1_.length() - 1); base 2671 chrome/browser/autocomplete/search_provider_unittest.cc const base::string16 input; base 2831 chrome/browser/autocomplete/search_provider_unittest.cc base::FieldTrialList::CreateFieldTrial( base 3207 chrome/browser/autocomplete/search_provider_unittest.cc *provider_.get(), GURL(cases[i].url), base::string16(), false, 0, base 3219 chrome/browser/autocomplete/search_provider_unittest.cc *provider_.get(), GURL(cases[i].url), base::string16(), false, 0, base 3232 chrome/browser/autocomplete/search_provider_unittest.cc const base::string16 input(ASCIIToUTF16("ht")); base 3233 chrome/browser/autocomplete/search_provider_unittest.cc const base::string16 url(ASCIIToUTF16("http://a.com")); base 3235 chrome/browser/autocomplete/search_provider_unittest.cc *provider_.get(), GURL(url), base::string16(), false, 0, false, base 3259 chrome/browser/autocomplete/search_provider_unittest.cc *provider_.get(), GURL("http://www.wow.com"), base::string16(), false, base 3414 chrome/browser/autocomplete/search_provider_unittest.cc base::FieldTrialList::CreateFieldTrial( base 3430 chrome/browser/autocomplete/search_provider_unittest.cc *provider_.get(), GURL(suggestion), base::string16(), false, base 3437 chrome/browser/autocomplete/search_provider_unittest.cc ASCIIToUTF16(suggestion), base::string16(), base::string16(), base 3445 chrome/browser/autocomplete/search_provider_unittest.cc ASCIIToUTF16(cases[i].omnibox_input), base::string16::npos, base 3446 chrome/browser/autocomplete/search_provider_unittest.cc base::string16(), GURL(), AutocompleteInput::INVALID_SPEC, false, false, base 3552 chrome/browser/autocomplete/search_provider_unittest.cc SCOPED_TRACE(" and match index: " + base::IntToString(j)); base 3554 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].contents)); base 3556 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].description)); base 3560 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].fill_into_edit)); base 3565 chrome/browser/autocomplete/search_provider_unittest.cc SCOPED_TRACE(" and match index: " + base::IntToString(j)); base 3703 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].contents)); base 3734 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(input_str, base::UTF16ToUTF8(matches[0].contents)); base 3810 chrome/browser/autocomplete/search_provider_unittest.cc SCOPED_TRACE("for case: " + base::IntToString(i)); base 3815 chrome/browser/autocomplete/search_provider_unittest.cc SCOPED_TRACE("and match: " + base::IntToString(j)); base 3817 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].contents)); base 3821 chrome/browser/autocomplete/search_provider_unittest.cc SCOPED_TRACE("and match: " + base::IntToString(j)); base 3897 chrome/browser/autocomplete/search_provider_unittest.cc SCOPED_TRACE(" and match index: " + base::IntToString(j)); base 3898 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(match.contents, base::UTF16ToUTF8(matches[j].contents)); base 3907 chrome/browser/autocomplete/search_provider_unittest.cc base::string16 term = term1_.substr(0, term1_.length() - 1); base 3936 chrome/browser/autocomplete/search_provider_unittest.cc base::FieldTrial* field_trial = base::FieldTrialList::CreateFieldTrial( base 3960 chrome/browser/autocomplete/search_provider_unittest.cc field_trial = base::FieldTrialList::CreateFieldTrial( base 102 chrome/browser/autocomplete/shortcuts_backend.cc base::Bind(&ShortcutsBackend::InitInternal, this)); base 117 chrome/browser/autocomplete/shortcuts_backend.cc void ShortcutsBackend::AddOrUpdateShortcut(const base::string16& text, base 119 chrome/browser/autocomplete/shortcuts_backend.cc const base::string16 text_lowercase(base::i18n::ToLower(text)); base 120 chrome/browser/autocomplete/shortcuts_backend.cc const base::Time now(base::Time::Now()); base 133 chrome/browser/autocomplete/shortcuts_backend.cc base::GenerateGUID(), text, MatchToMatchCore(match, profile_), now, 1)); base 208 chrome/browser/autocomplete/shortcuts_backend.cc std::make_pair(base::i18n::ToLower(it->second.text), it->second)); base 211 chrome/browser/autocomplete/shortcuts_backend.cc base::Bind(&ShortcutsBackend::InitCompleted, this)); base 230 chrome/browser/autocomplete/shortcuts_backend.cc std::make_pair(base::i18n::ToLower(shortcut.text), shortcut)); base 236 chrome/browser/autocomplete/shortcuts_backend.cc base::Bind(base::IgnoreResult( base 249 chrome/browser/autocomplete/shortcuts_backend.cc std::make_pair(base::i18n::ToLower(shortcut.text), shortcut)); base 255 chrome/browser/autocomplete/shortcuts_backend.cc base::Bind(base::IgnoreResult( base 276 chrome/browser/autocomplete/shortcuts_backend.cc base::Bind(base::IgnoreResult( base 302 chrome/browser/autocomplete/shortcuts_backend.cc base::Bind(base::IgnoreResult( base 317 chrome/browser/autocomplete/shortcuts_backend.cc base::Bind(base::IgnoreResult( base 38 chrome/browser/autocomplete/shortcuts_backend.h typedef std::multimap<base::string16, base 76 chrome/browser/autocomplete/shortcuts_backend.h void AddOrUpdateShortcut(const base::string16& text, base 80 chrome/browser/autocomplete/shortcuts_backend.h friend class base::RefCountedThreadSafe<ShortcutsBackend>; base 64 chrome/browser/autocomplete/shortcuts_backend_unittest.cc base::MessageLoopForUI ui_message_loop_; base 89 chrome/browser/autocomplete/shortcuts_backend_unittest.cc match.contents = base::ASCIIToUTF16("test"); base 104 chrome/browser/autocomplete/shortcuts_backend_unittest.cc data.SetKeyword(base::UTF8ToUTF16("foo")); base 134 chrome/browser/autocomplete/shortcuts_backend_unittest.cc base::MessageLoop::current()->Quit(); base 147 chrome/browser/autocomplete/shortcuts_backend_unittest.cc base::MessageLoop::current()->Run(); base 221 chrome/browser/autocomplete/shortcuts_backend_unittest.cc match.fill_into_edit = base::UTF8ToUTF16("franklin d roosevelt"); base 223 chrome/browser/autocomplete/shortcuts_backend_unittest.cc match.contents = base::UTF8ToUTF16("roosevelt"); base 226 chrome/browser/autocomplete/shortcuts_backend_unittest.cc match.description = base::UTF8ToUTF16("Franklin D. Roosevelt"); base 230 chrome/browser/autocomplete/shortcuts_backend_unittest.cc match.keyword = base::UTF8ToUTF16("foo"); base 241 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(base::string16(), match_core.description); base 250 chrome/browser/autocomplete/shortcuts_backend_unittest.cc "BD85DBA2-8C29-49F9-84AE-48E1E90880DF", base::ASCIIToUTF16("goog"), base 251 chrome/browser/autocomplete/shortcuts_backend_unittest.cc MatchCoreForTesting("http://www.google.com"), base::Time::Now(), 100); base 262 chrome/browser/autocomplete/shortcuts_backend_unittest.cc shortcut.match_core.contents = base::ASCIIToUTF16("Google Web Search"); base 275 chrome/browser/autocomplete/shortcuts_backend_unittest.cc "BD85DBA2-8C29-49F9-84AE-48E1E90880DF", base::ASCIIToUTF16("goog"), base 276 chrome/browser/autocomplete/shortcuts_backend_unittest.cc MatchCoreForTesting("http://www.google.com"), base::Time::Now(), 100); base 280 chrome/browser/autocomplete/shortcuts_backend_unittest.cc "BD85DBA2-8C29-49F9-84AE-48E1E90880E0", base::ASCIIToUTF16("gle"), base 281 chrome/browser/autocomplete/shortcuts_backend_unittest.cc MatchCoreForTesting("http://www.google.com"), base::Time::Now(), 100); base 285 chrome/browser/autocomplete/shortcuts_backend_unittest.cc "BD85DBA2-8C29-49F9-84AE-48E1E90880E1", base::ASCIIToUTF16("sp"), base 286 chrome/browser/autocomplete/shortcuts_backend_unittest.cc MatchCoreForTesting("http://www.sport.com"), base::Time::Now(), 10); base 290 chrome/browser/autocomplete/shortcuts_backend_unittest.cc "BD85DBA2-8C29-49F9-84AE-48E1E90880E2", base::ASCIIToUTF16("mov"), base 291 chrome/browser/autocomplete/shortcuts_backend_unittest.cc MatchCoreForTesting("http://www.film.com"), base::Time::Now(), 10); base 58 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& text, base 59 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& prefix_suffix) { base 61 chrome/browser/autocomplete/shortcuts_provider.cc (base::ASCIIToUTF16("www."), 1)); base 102 chrome/browser/autocomplete/shortcuts_provider.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 105 chrome/browser/autocomplete/shortcuts_provider.cc base::TimeTicks end_time = base::TimeTicks::Now(); base 107 chrome/browser/autocomplete/shortcuts_provider.cc base::IntToString(input.text().size()); base 108 chrome/browser/autocomplete/shortcuts_provider.cc base::HistogramBase* counter = base::Histogram::FactoryGet( base 109 chrome/browser/autocomplete/shortcuts_provider.cc name, 1, 1000, 50, base::Histogram::kUmaTargetedHistogramFlag); base 158 chrome/browser/autocomplete/shortcuts_provider.cc base::string16 term_string(base::i18n::ToLower(input.text())); base 161 chrome/browser/autocomplete/shortcuts_provider.cc base::string16 fixed_up_term_string(term_string); base 166 chrome/browser/autocomplete/shortcuts_provider.cc base::UTF16ToUTF8(term_string), std::string()); base 224 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& term_string, base 225 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& fixed_up_term_string, base 249 chrome/browser/autocomplete/shortcuts_provider.cc base::UTF16ToUTF8(shortcut.text)); base 269 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16* matching_string = &term_string; base 290 chrome/browser/autocomplete/shortcuts_provider.cc URLFixerUpper::FixupURL(base::UTF16ToUTF8(match.fill_into_edit), base 309 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& text) { base 312 chrome/browser/autocomplete/shortcuts_provider.cc base::i18n::BreakIterator word_iter(text, base 313 chrome/browser/autocomplete/shortcuts_provider.cc base::i18n::BreakIterator::BREAK_WORD); base 316 chrome/browser/autocomplete/shortcuts_provider.cc std::vector<base::string16> words; base 332 chrome/browser/autocomplete/shortcuts_provider.cc for (std::vector<base::string16>::const_iterator i(words.begin()); base 340 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& find_text, base 342 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& text, base 356 chrome/browser/autocomplete/shortcuts_provider.cc base::string16 text_lowercase(base::i18n::ToLower(text)); base 390 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& word = i->second; base 415 chrome/browser/autocomplete/shortcuts_provider.cc ShortcutsProvider::FindFirstMatch(const base::string16& keyword, base 428 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& terms, base 445 chrome/browser/autocomplete/shortcuts_provider.cc base::TimeDelta time_passed = base::Time::Now() - shortcut.last_access_time; base 448 chrome/browser/autocomplete/shortcuts_provider.cc time_passed.InMicroseconds()) / base::Time::kMicrosecondsPerWeek); base 41 chrome/browser/autocomplete/shortcuts_provider.h typedef std::multimap<base::char16, base::string16> WordMap; base 61 chrome/browser/autocomplete/shortcuts_provider.h const base::string16& term_string, base 62 chrome/browser/autocomplete/shortcuts_provider.h const base::string16& fixed_up_term_string, base 70 chrome/browser/autocomplete/shortcuts_provider.h static WordMap CreateWordMapForString(const base::string16& text); base 93 chrome/browser/autocomplete/shortcuts_provider.h const base::string16& find_text, base 95 chrome/browser/autocomplete/shortcuts_provider.h const base::string16& text, base 101 chrome/browser/autocomplete/shortcuts_provider.h const base::string16& keyword, base 104 chrome/browser/autocomplete/shortcuts_provider.h int CalculateScore(const base::string16& terms, base 40 chrome/browser/autocomplete/shortcuts_provider_unittest.cc using base::ASCIIToUTF16; base 200 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ClassifyTest(const base::string16& text, ACMatchClassifications matches); base 203 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ACMatchClassifications RunTest(const base::string16& find_text); base 206 chrome/browser/autocomplete/shortcuts_provider_unittest.cc const base::string16 text_; base 210 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ClassifyTest::ClassifyTest(const base::string16& text, base 219 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ACMatchClassifications ClassifyTest::RunTest(const base::string16& find_text) { base 266 chrome/browser/autocomplete/shortcuts_provider_unittest.cc void RunTest(const base::string16 text, base 270 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 top_result_inline_autocompletion); base 277 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::MessageLoopForUI message_loop_; base 325 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(cur.days_from_now), base 346 chrome/browser/autocomplete/shortcuts_provider_unittest.cc const base::string16 text, base 350 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 top_result_inline_autocompletion) { base 351 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 352 chrome/browser/autocomplete/shortcuts_provider_unittest.cc AutocompleteInput input(text, base::string16::npos, base::string16(), GURL(), base 397 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("go")); base 418 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, base::string16()); base 421 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, base::string16()); base 445 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, base::string16()); base 448 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, base::string16()); base 458 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, base::string16()); base 465 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("about:o")); base 504 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, base::string16()); base 513 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, base::string16()); base 517 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("NEWS")); base 529 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, "http://slashdot.org/", base::string16()); base 533 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("dupl")); base 543 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("just")); base 552 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16()); base 556 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("just a")); base 565 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16()); base 569 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("ago")); base 578 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16()); base 645 chrome/browser/autocomplete/shortcuts_provider_unittest.cc class ClassifyTest classify_test5((base::string16()), base 683 chrome/browser/autocomplete/shortcuts_provider_unittest.cc AutocompleteMatchType::HISTORY_URL, base::string16()), base 684 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::Time::Now(), 1); base 699 chrome/browser/autocomplete/shortcuts_provider_unittest.cc shortcut.last_access_time = base::Time::Now() - base::TimeDelta::FromDays(7); base 704 chrome/browser/autocomplete/shortcuts_provider_unittest.cc shortcut.last_access_time = base::Time::Now() - base::TimeDelta::FromDays(14); base 710 chrome/browser/autocomplete/shortcuts_provider_unittest.cc shortcut.last_access_time = base::Time::Now() - base::TimeDelta::FromDays(14); base 719 chrome/browser/autocomplete/shortcuts_provider_unittest.cc shortcut.last_access_time = base::Time::Now() - base::TimeDelta::FromDays(14); base 788 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("echo")); base 812 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, ExpectedURLs(), std::string(), base::string16()); base 11 chrome/browser/autocomplete/url_prefix.cc URLPrefix::URLPrefix(const base::string16& prefix, size_t num_components) base 20 chrome/browser/autocomplete/url_prefix.cc prefixes.push_back(URLPrefix(base::ASCIIToUTF16("https://www."), 2)); base 21 chrome/browser/autocomplete/url_prefix.cc prefixes.push_back(URLPrefix(base::ASCIIToUTF16("http://www."), 2)); base 22 chrome/browser/autocomplete/url_prefix.cc prefixes.push_back(URLPrefix(base::ASCIIToUTF16("ftp://ftp."), 2)); base 23 chrome/browser/autocomplete/url_prefix.cc prefixes.push_back(URLPrefix(base::ASCIIToUTF16("ftp://www."), 2)); base 24 chrome/browser/autocomplete/url_prefix.cc prefixes.push_back(URLPrefix(base::ASCIIToUTF16("https://"), 1)); base 25 chrome/browser/autocomplete/url_prefix.cc prefixes.push_back(URLPrefix(base::ASCIIToUTF16("http://"), 1)); base 26 chrome/browser/autocomplete/url_prefix.cc prefixes.push_back(URLPrefix(base::ASCIIToUTF16("ftp://"), 1)); base 27 chrome/browser/autocomplete/url_prefix.cc prefixes.push_back(URLPrefix(base::string16(), 0)); base 33 chrome/browser/autocomplete/url_prefix.cc bool URLPrefix::IsURLPrefix(const base::string16& prefix) { base 42 chrome/browser/autocomplete/url_prefix.cc const URLPrefix* URLPrefix::BestURLPrefix(const base::string16& text, base 43 chrome/browser/autocomplete/url_prefix.cc const base::string16& prefix_suffix) { base 53 chrome/browser/autocomplete/url_prefix.cc const base::string16& text, base 54 chrome/browser/autocomplete/url_prefix.cc const base::string16& prefix_suffix) { base 18 chrome/browser/autocomplete/url_prefix.h URLPrefix(const base::string16& prefix, size_t num_components); base 24 chrome/browser/autocomplete/url_prefix.h static bool IsURLPrefix(const base::string16& prefix); base 30 chrome/browser/autocomplete/url_prefix.h static const URLPrefix* BestURLPrefix(const base::string16& text, base 31 chrome/browser/autocomplete/url_prefix.h const base::string16& prefix_suffix); base 37 chrome/browser/autocomplete/url_prefix.h const base::string16& text, base 38 chrome/browser/autocomplete/url_prefix.h const base::string16& prefix_suffix); base 40 chrome/browser/autocomplete/url_prefix.h base::string16 prefix; base 102 chrome/browser/autocomplete/zero_suggest_provider.cc base::string16 prefix; base 156 chrome/browser/autocomplete/zero_suggest_provider.cc base::string16(), base::string16::npos, base::string16(), base 197 chrome/browser/autocomplete/zero_suggest_provider.cc base::UserMetricsAction("Omnibox.ZeroSuggestDelete.Success")); base 200 chrome/browser/autocomplete/zero_suggest_provider.cc base::UserMetricsAction("Omnibox.ZeroSuggestDelete.Failure")); base 242 chrome/browser/autocomplete/zero_suggest_provider.cc AutocompleteMatch::ClassifyLocationInString(base::string16::npos, 0, base 248 chrome/browser/autocomplete/zero_suggest_provider.cc AutocompleteMatch::ClassifyLocationInString(base::string16::npos, 0, base 276 chrome/browser/autocomplete/zero_suggest_provider.cc base::Bind(&ZeroSuggestProvider::OnMostVisitedUrlsAvailable, base 319 chrome/browser/autocomplete/zero_suggest_provider.cc const base::string16 current_query_string16( base 320 chrome/browser/autocomplete/zero_suggest_provider.cc base::ASCIIToUTF16(current_query_)); base 25 chrome/browser/autocomplete/zero_suggest_provider.h namespace base { base 123 chrome/browser/autocomplete/zero_suggest_provider.h base::string16 permanent_text_; base 138 chrome/browser/autocomplete/zero_suggest_provider.h base::WeakPtrFactory<ZeroSuggestProvider> weak_ptr_factory_; base 22 chrome/browser/autofill/android/personal_data_manager_android.cc using base::android::ConvertJavaStringToUTF8; base 23 chrome/browser/autofill/android/personal_data_manager_android.cc using base::android::ConvertUTF16ToJavaString; base 24 chrome/browser/autofill/android/personal_data_manager_android.cc using base::android::ConvertUTF8ToJavaString; base 25 chrome/browser/autofill/android/personal_data_manager_android.cc using base::android::ScopedJavaLocalRef; base 275 chrome/browser/autofill/android/personal_data_manager_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 309 chrome/browser/autofill/android/personal_data_manager_android.cc base::android::ConvertJavaStringToUTF16(env, jcountry_name), base 30 chrome/browser/autofill/android/personal_data_manager_android.h base::android::ScopedJavaLocalRef<jobject> GetProfileByIndex( base 38 chrome/browser/autofill/android/personal_data_manager_android.h base::android::ScopedJavaLocalRef<jobject> GetProfileByGUID( base 46 chrome/browser/autofill/android/personal_data_manager_android.h base::android::ScopedJavaLocalRef<jstring> SetProfile(JNIEnv* env, base 58 chrome/browser/autofill/android/personal_data_manager_android.h base::android::ScopedJavaLocalRef<jobject> GetCreditCardByIndex( base 65 chrome/browser/autofill/android/personal_data_manager_android.h base::android::ScopedJavaLocalRef<jobject> GetCreditCardByGUID( base 73 chrome/browser/autofill/android/personal_data_manager_android.h base::android::ScopedJavaLocalRef<jstring> SetCreditCard( base 53 chrome/browser/autofill/autofill_browsertest.cc using base::ASCIIToUTF16; base 54 chrome/browser/autofill/autofill_browsertest.cc using base::WideToUTF16; base 93 chrome/browser/autofill/autofill_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 215 chrome/browser/autofill/autofill_browsertest.cc base::FilePath data_file = base 216 chrome/browser/autofill/autofill_browsertest.cc ui_test_utils::GetTestFilePath(base::FilePath().AppendASCII("autofill"), base 217 chrome/browser/autofill/autofill_browsertest.cc base::FilePath().AppendASCII(filename)); base 218 chrome/browser/autofill/autofill_browsertest.cc CHECK(base::ReadFileToString(data_file, &data)); base 220 chrome/browser/autofill/autofill_browsertest.cc base::SplitString(data, '\n', &lines); base 227 chrome/browser/autofill/autofill_browsertest.cc base::SplitString(lines[i], '|', &fields); base 517 chrome/browser/autofill/autofill_browsertest.cc base::string16 cc1 = personal_data_manager()->GetCreditCards()[0]->GetRawInfo( base 520 chrome/browser/autofill/autofill_browsertest.cc base::string16 cc2 = personal_data_manager()->GetCreditCards()[1]->GetRawInfo( base 658 chrome/browser/autofill/autofill_browsertest.cc base::string16 phone = personal_data_manager()->GetProfiles()[0]->GetRawInfo( base 27 chrome/browser/autofill/autofill_cc_infobar_delegate.cc const base::Closure& save_card_callback) { base 35 chrome/browser/autofill/autofill_cc_infobar_delegate.cc const base::Closure& save_card_callback) base 76 chrome/browser/autofill/autofill_cc_infobar_delegate.cc base::string16 AutofillCCInfoBarDelegate::GetMessageText() const { base 80 chrome/browser/autofill/autofill_cc_infobar_delegate.cc base::string16 AutofillCCInfoBarDelegate::GetButtonLabel( base 98 chrome/browser/autofill/autofill_cc_infobar_delegate.cc base::string16 AutofillCCInfoBarDelegate::GetLinkText() const { base 30 chrome/browser/autofill/autofill_cc_infobar_delegate.h const base::Closure& save_card_callback); base 35 chrome/browser/autofill/autofill_cc_infobar_delegate.h const base::Closure& save_card_callback) { base 43 chrome/browser/autofill/autofill_cc_infobar_delegate.h const base::Closure& save_card_callback); base 54 chrome/browser/autofill/autofill_cc_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 55 chrome/browser/autofill/autofill_cc_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 58 chrome/browser/autofill/autofill_cc_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 66 chrome/browser/autofill/autofill_cc_infobar_delegate.h base::Closure save_card_callback_; base 100 chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc base::Bind( base 101 chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc base::IgnoreResult(&TestPersonalDataManager::SaveImportedCreditCard), base 102 chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc base::Unretained(personal_data_.get()), base 58 chrome/browser/autofill/autofill_interactive_uitest.cc using base::ASCIIToUTF16; base 160 chrome/browser/autofill/autofill_interactive_uitest.cc base::MessageLoopForUI::current()->Quit(); base 205 chrome/browser/autofill/autofill_interactive_uitest.cc base::Bind(&AutofillInteractiveTest::HandleKeyPressEvent, base 206 chrome/browser/autofill/autofill_interactive_uitest.cc base::Unretained(this))) {} base 1172 chrome/browser/autofill/autofill_interactive_uitest.cc base::Time start_time = base::Time::Now(); base 1176 chrome/browser/autofill/autofill_interactive_uitest.cc base::string16 name(base::IntToString16(i)); base 1177 chrome/browser/autofill/autofill_interactive_uitest.cc base::string16 email(name + ASCIIToUTF16("@example.com")); base 1178 chrome/browser/autofill/autofill_interactive_uitest.cc base::string16 street = ASCIIToUTF16( base 1179 chrome/browser/autofill/autofill_interactive_uitest.cc base::IntToString(base::RandInt(0, 10000)) + " " + base 1180 chrome/browser/autofill/autofill_interactive_uitest.cc streets[base::RandInt(0, streets.size() - 1)]); base 1181 chrome/browser/autofill/autofill_interactive_uitest.cc base::string16 city = base 1182 chrome/browser/autofill/autofill_interactive_uitest.cc ASCIIToUTF16(cities[base::RandInt(0, cities.size() - 1)]); base 1183 chrome/browser/autofill/autofill_interactive_uitest.cc base::string16 zip(base::IntToString16(base::RandInt(0, 10000))); base 1197 chrome/browser/autofill/autofill_interactive_uitest.cc (base::Time::Now() - start_time).InSeconds() << " seconds."; base 43 chrome/browser/autofill/content_autofill_driver_browsertest.cc base::i18n::TextDirection text_direction, base 44 chrome/browser/autofill/content_autofill_driver_browsertest.cc const std::vector<base::string16>& values, base 45 chrome/browser/autofill/content_autofill_driver_browsertest.cc const std::vector<base::string16>& labels, base 46 chrome/browser/autofill/content_autofill_driver_browsertest.cc const std::vector<base::string16>& icons, base 48 chrome/browser/autofill/content_autofill_driver_browsertest.cc base::WeakPtr<AutofillPopupDelegate> delegate)); base 115 chrome/browser/autofill/content_autofill_driver_browsertest.cc base::Closure web_contents_hidden_callback_; base 116 chrome/browser/autofill/content_autofill_driver_browsertest.cc base::Closure nav_entry_committed_callback_; base 25 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kTestName[] = FILE_PATH_LITERAL("heuristics"); base 32 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath& GetTestDataDir() { base 33 chrome/browser/autofill/form_structure_browsertest.cc CR_DEFINE_STATIC_LOCAL(base::FilePath, dir, ()); base 95 chrome/browser/autofill/form_structure_browsertest.cc forms_string += " | " + base::UTF16ToUTF8((*field_iter)->name); base 96 chrome/browser/autofill/form_structure_browsertest.cc forms_string += " | " + base::UTF16ToUTF8((*field_iter)->label); base 97 chrome/browser/autofill/form_structure_browsertest.cc forms_string += " | " + base::UTF16ToUTF8((*field_iter)->value); base 113 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 121 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 130 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 139 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 148 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 157 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 166 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 175 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 184 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 193 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 202 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 211 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 220 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 229 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 238 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 247 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 256 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 265 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 274 chrome/browser/autofill/form_structure_browsertest.cc const base::FilePath::CharType kFileNamePattern[] = base 22 chrome/browser/autofill/validation_rules_storage_factory.cc static base::LazyInstance<ValidationRulesStorageFactory> instance = base 29 chrome/browser/autofill/validation_rules_storage_factory.cc base::FilePath user_data_dir; base 33 chrome/browser/autofill/validation_rules_storage_factory.cc base::FilePath cache = base 36 chrome/browser/autofill/validation_rules_storage_factory.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 30 chrome/browser/autofill/validation_rules_storage_factory.h friend struct base::DefaultLazyInstanceTraits<ValidationRulesStorageFactory>; base 66 chrome/browser/background/background_application_list_model.cc return l10n_util::StringComparator<base::string16>(collator_)( base 67 chrome/browser/background/background_application_list_model.cc base::UTF8ToUTF16(x->name()), base::UTF8ToUTF16(y->name())); base 73 chrome/browser/background/background_application_list_model.cc : public base::SupportsWeakPtr<Application> { base 167 chrome/browser/background/background_application_list_model.cc base::Bind(&Application::OnImageLoaded, AsWeakPtr())); base 287 chrome/browser/background/background_application_list_model.cc std::string id_hash = base::SHA1HashString(extension.id()); base 288 chrome/browser/background/background_application_list_model.cc std::string hexencoded_id_hash = base::HexEncode(id_hash.c_str(), base 324 chrome/browser/background/background_application_list_model.cc base::string16 app_id = base::ASCIIToUTF16(extension.id()); base 38 chrome/browser/background/background_application_list_model_unittest.cc base::FilePath bogus_file_pathname(const std::string& name) { base 39 chrome/browser/background/background_application_list_model_unittest.cc return base::FilePath(FILE_PATH_LITERAL("//foobar_nonexistent")) base 76 chrome/browser/background/background_application_list_model_unittest.cc base::DictionaryValue manifest; base 79 chrome/browser/background/background_application_list_model_unittest.cc base::ListValue* permissions = new base::ListValue(); base 82 chrome/browser/background/background_application_list_model_unittest.cc permissions->Append(base::Value::CreateStringValue("background")); base 86 chrome/browser/background/background_application_list_model_unittest.cc permissions->Append(base::Value::CreateStringValue("pushMessaging")); base 86 chrome/browser/background/background_contents_service.cc if (!base::MessageLoop::current()) // For unit_tests base 88 chrome/browser/background/background_contents_service.cc base::MessageLoop::current()->PostTask( base 89 chrome/browser/background/background_contents_service.cc FROM_HERE, base::Bind(&CloseBalloon, kNotificationPrefix + extension_id)); base 124 chrome/browser/background/background_contents_service.cc base::ASCIIToUTF16(copied_extension_id))) { base 165 chrome/browser/background/background_contents_service.cc const base::string16 message, base 182 chrome/browser/background/background_contents_service.cc base::string16(), base 185 chrome/browser/background/background_contents_service.cc base::string16(), base 195 chrome/browser/background/background_contents_service.cc const base::string16 message = l10n_util::GetStringFUTF16( base 198 chrome/browser/background/background_contents_service.cc base::UTF8ToUTF16(extension->name())); base 211 chrome/browser/background/background_contents_service.cc base::Bind( base 392 chrome/browser/background/background_contents_service.cc const base::string16& appid = GetParentApplicationId(bgcontents); base 398 chrome/browser/background/background_contents_service.cc base::UTF16ToUTF8(appid), false); base 414 chrome/browser/background/background_contents_service.cc base::ASCIIToUTF16(extension->id())); base 424 chrome/browser/background/background_contents_service.cc base::ASCIIToUTF16("background"), base 425 chrome/browser/background/background_contents_service.cc base::UTF8ToUTF16(extension->id())); base 441 chrome/browser/background/background_contents_service.cc std::string extension_id = base::UTF16ToASCII( base 472 chrome/browser/background/background_contents_service.cc ShutdownAssociatedBackgroundContents(base::ASCIIToUTF16( base 488 chrome/browser/background/background_contents_service.cc base::ASCIIToUTF16(extension->id())); base 494 chrome/browser/background/background_contents_service.cc ShutdownAssociatedBackgroundContents(base::ASCIIToUTF16( base 517 chrome/browser/background/background_contents_service.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 518 chrome/browser/background/background_contents_service.cc base::Bind(&ReloadExtension, extension->id(), profile), base 519 chrome/browser/background/background_contents_service.cc base::TimeDelta::FromMilliseconds(restart_delay_in_ms_)); base 527 chrome/browser/background/background_contents_service.cc const base::DictionaryValue* contents = base 534 chrome/browser/background/background_contents_service.cc for (base::DictionaryValue::Iterator it(*contents); base 573 chrome/browser/background/background_contents_service.cc base::ASCIIToUTF16("background"), base 574 chrome/browser/background/background_contents_service.cc base::UTF8ToUTF16(extension->id())); base 581 chrome/browser/background/background_contents_service.cc const base::DictionaryValue* contents = base 591 chrome/browser/background/background_contents_service.cc const base::DictionaryValue* contents) { base 596 chrome/browser/background/background_contents_service.cc const base::DictionaryValue* dict; base 601 chrome/browser/background/background_contents_service.cc base::string16 frame_name; base 608 chrome/browser/background/background_contents_service.cc base::UTF8ToUTF16(extension_id)); base 623 chrome/browser/background/background_contents_service.cc base::ASCIIToUTF16("background"), base 624 chrome/browser/background/background_contents_service.cc base::UTF8ToUTF16(extension->id())); base 632 chrome/browser/background/background_contents_service.cc const base::string16& frame_name, base 633 chrome/browser/background/background_contents_service.cc const base::string16& application_id) { base 661 chrome/browser/background/background_contents_service.cc const base::string16& frame_name, base 662 chrome/browser/background/background_contents_service.cc const base::string16& application_id, base 695 chrome/browser/background/background_contents_service.cc base::DictionaryValue* pref = update.Get(); base 696 chrome/browser/background/background_contents_service.cc const base::string16& appid = GetParentApplicationId(background_contents); base 697 chrome/browser/background/background_contents_service.cc base::DictionaryValue* current; base 698 chrome/browser/background/background_contents_service.cc if (pref->GetDictionaryWithoutPathExpansion(base::UTF16ToUTF8(appid), base 704 chrome/browser/background/background_contents_service.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 707 chrome/browser/background/background_contents_service.cc pref->SetWithoutPathExpansion(base::UTF16ToUTF8(appid), dict); base 711 chrome/browser/background/background_contents_service.cc const base::string16& app_id) { base 714 chrome/browser/background/background_contents_service.cc std::string app = base::UTF16ToUTF8(app_id); base 715 chrome/browser/background/background_contents_service.cc const base::DictionaryValue* contents = base 725 chrome/browser/background/background_contents_service.cc const base::string16 appid = GetParentApplicationId(background_contents); base 727 chrome/browser/background/background_contents_service.cc update.Get()->RemoveWithoutPathExpansion(base::UTF16ToUTF8(appid), NULL); base 731 chrome/browser/background/background_contents_service.cc const base::string16& appid) { base 748 chrome/browser/background/background_contents_service.cc ScheduleCloseBalloon(base::UTF16ToASCII(details->application_id)); base 762 chrome/browser/background/background_contents_service.cc base::string16 appid = GetParentApplicationId(background_contents); base 767 chrome/browser/background/background_contents_service.cc const base::string16& application_id) { base 772 chrome/browser/background/background_contents_service.cc const base::string16& BackgroundContentsService::GetParentApplicationId( base 779 chrome/browser/background/background_contents_service.cc return base::EmptyString16(); base 25 chrome/browser/background/background_contents_service.h namespace base { base 57 chrome/browser/background/background_contents_service.h const base::CommandLine* command_line); base 76 chrome/browser/background/background_contents_service.h BackgroundContents* GetAppBackgroundContents(const base::string16& appid); base 82 chrome/browser/background/background_contents_service.h bool HasRegisteredBackgroundContents(const base::string16& appid); base 97 chrome/browser/background/background_contents_service.h const base::string16& GetParentApplicationId(BackgroundContents* contents) const; base 109 chrome/browser/background/background_contents_service.h const base::string16& frame_name, base 110 chrome/browser/background/background_contents_service.h const base::string16& application_id, base 156 chrome/browser/background/background_contents_service.h const base::DictionaryValue* contents); base 167 chrome/browser/background/background_contents_service.h const base::string16& frame_name, base 168 chrome/browser/background/background_contents_service.h const base::string16& appid); base 187 chrome/browser/background/background_contents_service.h void ShutdownAssociatedBackgroundContents(const base::string16& appid); base 210 chrome/browser/background/background_contents_service.h base::string16 frame_name; base 217 chrome/browser/background/background_contents_service.h typedef std::map<base::string16, BackgroundContentsInfo> base 49 chrome/browser/background/background_contents_service_unittest.cc const base::DictionaryValue* GetPrefs(Profile* profile) { base 55 chrome/browser/background/background_contents_service_unittest.cc std::string GetPrefURLForApp(Profile* profile, const base::string16& appid) { base 56 chrome/browser/background/background_contents_service_unittest.cc const base::DictionaryValue* pref = GetPrefs(profile); base 57 chrome/browser/background/background_contents_service_unittest.cc EXPECT_TRUE(pref->HasKey(base::UTF16ToUTF8(appid))); base 58 chrome/browser/background/background_contents_service_unittest.cc const base::DictionaryValue* value; base 59 chrome/browser/background/background_contents_service_unittest.cc pref->GetDictionaryWithoutPathExpansion(base::UTF16ToUTF8(appid), &value); base 71 chrome/browser/background/background_contents_service_unittest.cc : appid_(base::ASCIIToUTF16("app_id")), base 75 chrome/browser/background/background_contents_service_unittest.cc : appid_(base::ASCIIToUTF16(id)), base 80 chrome/browser/background/background_contents_service_unittest.cc base::string16 frame_name = base::ASCIIToUTF16("background"); base 110 chrome/browser/background/background_contents_service_unittest.cc const base::string16& appid() { return appid_; } base 116 chrome/browser/background/background_contents_service_unittest.cc base::string16 appid_; base 151 chrome/browser/background/background_contents_service_unittest.cc base::RunLoop run_loop_; base 181 chrome/browser/background/background_contents_service_unittest.cc message_center::MessageCenter::Get(), base::Closure())); base 321 chrome/browser/background/background_contents_service_unittest.cc service.GetAppBackgroundContents(base::ASCIIToUTF16("appid"))); base 341 chrome/browser/background/background_contents_service_unittest.cc service.ShutdownAssociatedBackgroundContents(base::ASCIIToUTF16("appid")); base 344 chrome/browser/background/background_contents_service_unittest.cc service.GetAppBackgroundContents(base::ASCIIToUTF16("appid"))); base 52 chrome/browser/background/background_mode_manager.cc using base::UserMetricsAction; base 126 chrome/browser/background/background_mode_manager.cc menu->AddItem(command_id, base::UTF8ToUTF16(name)); base 156 chrome/browser/background/background_mode_manager.cc const base::string16& new_profile_name) { base 160 chrome/browser/background/background_mode_manager.cc base::string16 BackgroundModeManager::BackgroundModeData::name() { base 200 chrome/browser/background/background_mode_manager.cc base::Bind(&BackgroundModeManager::OnBackgroundModeEnabledPrefChanged, base 201 chrome/browser/background/background_mode_manager.cc base::Unretained(this))); base 271 chrome/browser/background/background_mode_manager.cc base::string16 name = l10n_util::GetStringUTF16(IDS_PROFILES_DEFAULT_NAME); base 431 chrome/browser/background/background_mode_manager.cc void BackgroundModeManager::OnProfileAdded(const base::FilePath& profile_path) { base 434 chrome/browser/background/background_mode_manager.cc base::string16 profile_name = cache.GetNameOfProfileAtIndex( base 452 chrome/browser/background/background_mode_manager.cc const base::FilePath& profile_path) { base 455 chrome/browser/background/background_mode_manager.cc base::string16 profile_name = cache.GetNameOfProfileAtIndex( base 475 chrome/browser/background/background_mode_manager.cc const base::FilePath& profile_path, base 476 chrome/browser/background/background_mode_manager.cc const base::string16& old_profile_name) { base 479 chrome/browser/background/background_mode_manager.cc base::string16 new_profile_name = cache.GetNameOfProfileAtIndex( base 538 chrome/browser/background/background_mode_manager.cc base::MessageLoop::current()->PostTask( base 539 chrome/browser/background/background_mode_manager.cc FROM_HERE, base::Bind(&chrome::DecrementKeepAliveCount)); base 813 chrome/browser/background/background_mode_manager.cc const base::string16& profile_name) { base 29 chrome/browser/background/background_mode_manager.h namespace base { base 60 chrome/browser/background/background_mode_manager.h BackgroundModeManager(base::CommandLine* command_line, base 147 chrome/browser/background/background_mode_manager.h void SetName(const base::string16& new_profile_name); base 151 chrome/browser/background/background_mode_manager.h base::string16 name(); base 159 chrome/browser/background/background_mode_manager.h base::string16 name_; base 196 chrome/browser/background/background_mode_manager.h virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; base 198 chrome/browser/background/background_mode_manager.h const base::FilePath& profile_path) OVERRIDE; base 200 chrome/browser/background/background_mode_manager.h const base::FilePath& profile_path, base 201 chrome/browser/background/background_mode_manager.h const base::string16& old_profile_name) OVERRIDE; base 251 chrome/browser/background/background_mode_manager.h base::string16 GetPreferencesMenuLabel(); base 276 chrome/browser/background/background_mode_manager.h const base::string16& profile_name); base 22 chrome/browser/background/background_mode_manager_aura.cc base::string16 BackgroundModeManager::GetPreferencesMenuLabel() { base 21 chrome/browser/background/background_mode_manager_chromeos.cc base::string16 BackgroundModeManager::GetPreferencesMenuLabel() { base 31 chrome/browser/background/background_mode_manager_gtk.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 52 chrome/browser/background/background_mode_manager_gtk.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 67 chrome/browser/background/background_mode_manager_gtk.cc base::Bind(EnableLaunchOnStartupCallback)); base 70 chrome/browser/background/background_mode_manager_gtk.cc base::Bind(DisableLaunchOnStartupCallback)); base 80 chrome/browser/background/background_mode_manager_gtk.cc base::string16 BackgroundModeManager::GetPreferencesMenuLabel() { base 81 chrome/browser/background/background_mode_manager_gtk.cc base::string16 result = gtk_util::GetStockPreferencesMenuLabel(); base 47 chrome/browser/background/background_mode_manager_unittest.cc scoped_ptr<base::DictionaryValue> parsed_manifest( base 123 chrome/browser/background/background_mode_manager_unittest.cc virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE {} base 125 chrome/browser/background/background_mode_manager_unittest.cc const base::string16& title, base 126 chrome/browser/background/background_mode_manager_unittest.cc const base::string16& contents) OVERRIDE {} base 365 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("p1"), base 374 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("p2"), base 383 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("p1"), base 510 chrome/browser/background/background_mode_manager_unittest.cc base::FilePath(), base 531 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Component Extension")); base 535 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Component Extension with Options")); base 539 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Regular Extension")); base 543 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Regular Extension with Options")); base 552 chrome/browser/background/background_mode_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 647 chrome/browser/background/background_mode_manager_unittest.cc base::FilePath(), base 660 chrome/browser/background/background_mode_manager_unittest.cc base::FilePath(), base 680 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_TRUE(context_menu->GetLabelAt(3) == base::UTF8ToUTF16("p1")); base 685 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_TRUE(context_menu->GetLabelAt(4) == base::UTF8ToUTF16("p2")); base 695 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Component Extension")); base 702 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Component Extension with Options")); base 709 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Regular Extension")); base 716 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Regular Extension with Options")); base 727 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Component Extension")); base 734 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Regular Extension")); base 741 chrome/browser/background/background_mode_manager_unittest.cc base::UTF8ToUTF16("Regular Extension with Options")); base 777 chrome/browser/background/background_mode_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 31 chrome/browser/background/background_mode_manager_win.cc base::Bind(auto_launch_util::EnableBackgroundStartAtLogin) : base 32 chrome/browser/background/background_mode_manager_win.cc base::Bind(auto_launch_util::DisableBackgroundStartAtLogin)); base 45 chrome/browser/background/background_mode_manager_win.cc base::UTF8ToUTF16(extension->name()), base 49 chrome/browser/background/background_mode_manager_win.cc base::string16 BackgroundModeManager::GetPreferencesMenuLabel() { base 48 chrome/browser/bitmap_fetcher.cc scoped_refptr<base::MessageLoopProxy> task_runner = base 48 chrome/browser/bitmap_fetcher_browsertest.cc base::MessageLoop::current()->Quit(); base 18 chrome/browser/bookmarks/bookmark_codec.cc using base::Time; base 52 chrome/browser/bookmarks/bookmark_codec.cc base::Value* BookmarkCodec::Encode(BookmarkModel* model) { base 60 chrome/browser/bookmarks/bookmark_codec.cc base::Value* BookmarkCodec::Encode( base 68 chrome/browser/bookmarks/bookmark_codec.cc base::DictionaryValue* roots = new base::DictionaryValue(); base 77 chrome/browser/bookmarks/bookmark_codec.cc base::Int64ToString(sync_transaction_version)); base 79 chrome/browser/bookmarks/bookmark_codec.cc base::DictionaryValue* main = new base::DictionaryValue(); base 85 chrome/browser/bookmarks/bookmark_codec.cc main->Set(kChecksumKey, new base::StringValue(computed_checksum_)); base 94 chrome/browser/bookmarks/bookmark_codec.cc const base::Value& value) { base 112 chrome/browser/bookmarks/bookmark_codec.cc base::Value* BookmarkCodec::EncodeNode(const BookmarkNode* node) { base 113 chrome/browser/bookmarks/bookmark_codec.cc base::DictionaryValue* value = new base::DictionaryValue(); base 114 chrome/browser/bookmarks/bookmark_codec.cc std::string id = base::Int64ToString(node->id()); base 116 chrome/browser/bookmarks/bookmark_codec.cc const base::string16& title = node->GetTitle(); base 119 chrome/browser/bookmarks/bookmark_codec.cc base::Int64ToString(node->date_added().ToInternalValue())); base 128 chrome/browser/bookmarks/bookmark_codec.cc base::Int64ToString(node->date_folder_modified(). base 132 chrome/browser/bookmarks/bookmark_codec.cc base::ListValue* child_values = new base::ListValue(); base 143 chrome/browser/bookmarks/bookmark_codec.cc base::Int64ToString(node->sync_transaction_version())); base 148 chrome/browser/bookmarks/bookmark_codec.cc base::Value* BookmarkCodec::EncodeMetaInfo( base 150 chrome/browser/bookmarks/bookmark_codec.cc base::DictionaryValue* meta_info = new base::DictionaryValue; base 161 chrome/browser/bookmarks/bookmark_codec.cc const base::Value& value) { base 162 chrome/browser/bookmarks/bookmark_codec.cc if (value.GetType() != base::Value::TYPE_DICTIONARY) base 165 chrome/browser/bookmarks/bookmark_codec.cc const base::DictionaryValue& d_value = base 166 chrome/browser/bookmarks/bookmark_codec.cc static_cast<const base::DictionaryValue&>(value); base 172 chrome/browser/bookmarks/bookmark_codec.cc const base::Value* checksum_value; base 174 chrome/browser/bookmarks/bookmark_codec.cc if (checksum_value->GetType() != base::Value::TYPE_STRING) base 180 chrome/browser/bookmarks/bookmark_codec.cc const base::Value* roots; base 184 chrome/browser/bookmarks/bookmark_codec.cc if (roots->GetType() != base::Value::TYPE_DICTIONARY) base 187 chrome/browser/bookmarks/bookmark_codec.cc const base::DictionaryValue* roots_d_value = base 188 chrome/browser/bookmarks/bookmark_codec.cc static_cast<const base::DictionaryValue*>(roots); base 189 chrome/browser/bookmarks/bookmark_codec.cc const base::Value* root_folder_value; base 190 chrome/browser/bookmarks/bookmark_codec.cc const base::Value* other_folder_value = NULL; base 192 chrome/browser/bookmarks/bookmark_codec.cc root_folder_value->GetType() != base::Value::TYPE_DICTIONARY || base 194 chrome/browser/bookmarks/bookmark_codec.cc other_folder_value->GetType() != base::Value::TYPE_DICTIONARY) { base 198 chrome/browser/bookmarks/bookmark_codec.cc DecodeNode(*static_cast<const base::DictionaryValue*>(root_folder_value), base 200 chrome/browser/bookmarks/bookmark_codec.cc DecodeNode(*static_cast<const base::DictionaryValue*>(other_folder_value), base 206 chrome/browser/bookmarks/bookmark_codec.cc const base::Value* mobile_folder_value; base 208 chrome/browser/bookmarks/bookmark_codec.cc mobile_folder_value->GetType() == base::Value::TYPE_DICTIONARY) { base 209 chrome/browser/bookmarks/bookmark_codec.cc DecodeNode(*static_cast<const base::DictionaryValue*>(mobile_folder_value), base 228 chrome/browser/bookmarks/bookmark_codec.cc !base::StringToInt64(sync_transaction_version_str, base 247 chrome/browser/bookmarks/bookmark_codec.cc bool BookmarkCodec::DecodeChildren(const base::ListValue& child_value_list, base 250 chrome/browser/bookmarks/bookmark_codec.cc const base::Value* child_value; base 254 chrome/browser/bookmarks/bookmark_codec.cc if (child_value->GetType() != base::Value::TYPE_DICTIONARY) base 257 chrome/browser/bookmarks/bookmark_codec.cc DecodeNode(*static_cast<const base::DictionaryValue*>(child_value), base 263 chrome/browser/bookmarks/bookmark_codec.cc bool BookmarkCodec::DecodeNode(const base::DictionaryValue& value, base 277 chrome/browser/bookmarks/bookmark_codec.cc !base::StringToInt64(id_string, &id) || base 287 chrome/browser/bookmarks/bookmark_codec.cc base::string16 title; base 292 chrome/browser/bookmarks/bookmark_codec.cc date_added_string = base::Int64ToString(Time::Now().ToInternalValue()); base 294 chrome/browser/bookmarks/bookmark_codec.cc base::StringToInt64(date_added_string, &internal_time); base 321 chrome/browser/bookmarks/bookmark_codec.cc last_modified_date = base::Int64ToString(Time::Now().ToInternalValue()); base 323 chrome/browser/bookmarks/bookmark_codec.cc const base::Value* child_values; base 327 chrome/browser/bookmarks/bookmark_codec.cc if (child_values->GetType() != base::Value::TYPE_LIST) base 339 chrome/browser/bookmarks/bookmark_codec.cc base::StringToInt64(last_modified_date, &internal_time); base 347 chrome/browser/bookmarks/bookmark_codec.cc if (!DecodeChildren(*static_cast<const base::ListValue*>(child_values), base 354 chrome/browser/bookmarks/bookmark_codec.cc node->set_date_added(base::Time::FromInternalValue(internal_time)); base 364 chrome/browser/bookmarks/bookmark_codec.cc !base::StringToInt64(sync_transaction_version_str, base 373 chrome/browser/bookmarks/bookmark_codec.cc bool BookmarkCodec::DecodeMetaInfo(const base::DictionaryValue& value, base 380 chrome/browser/bookmarks/bookmark_codec.cc const base::Value* meta_info; base 384 chrome/browser/bookmarks/bookmark_codec.cc scoped_ptr<base::Value> deserialized_holder; base 388 chrome/browser/bookmarks/bookmark_codec.cc if (meta_info->IsType(base::Value::TYPE_STRING)) { base 400 chrome/browser/bookmarks/bookmark_codec.cc const base::DictionaryValue* meta_info_dict; base 413 chrome/browser/bookmarks/bookmark_codec.cc base::StringToInt64(it->second, sync_transaction_version); base 422 chrome/browser/bookmarks/bookmark_codec.cc const base::DictionaryValue& dict, base 425 chrome/browser/bookmarks/bookmark_codec.cc for (base::DictionaryValue::Iterator it(dict); !it.IsAtEnd(); it.Advance()) { base 426 chrome/browser/bookmarks/bookmark_codec.cc if (it.value().IsType(base::Value::TYPE_DICTIONARY)) { base 427 chrome/browser/bookmarks/bookmark_codec.cc const base::DictionaryValue* subdict; base 430 chrome/browser/bookmarks/bookmark_codec.cc } else if (it.value().IsType(base::Value::TYPE_STRING)) { base 454 chrome/browser/bookmarks/bookmark_codec.cc base::MD5Update(&md5_context_, str); base 457 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::UpdateChecksum(const base::string16& str) { base 458 chrome/browser/bookmarks/bookmark_codec.cc base::MD5Update(&md5_context_, base 459 chrome/browser/bookmarks/bookmark_codec.cc base::StringPiece( base 465 chrome/browser/bookmarks/bookmark_codec.cc const base::string16& title, base 475 chrome/browser/bookmarks/bookmark_codec.cc const base::string16& title) { base 482 chrome/browser/bookmarks/bookmark_codec.cc base::MD5Init(&md5_context_); base 486 chrome/browser/bookmarks/bookmark_codec.cc base::MD5Digest digest; base 487 chrome/browser/bookmarks/bookmark_codec.cc base::MD5Final(&digest, &md5_context_); base 488 chrome/browser/bookmarks/bookmark_codec.cc computed_checksum_ = base::MD5DigestToBase16(digest); base 19 chrome/browser/bookmarks/bookmark_codec.h namespace base { base 41 chrome/browser/bookmarks/bookmark_codec.h base::Value* Encode(BookmarkModel* model); base 45 chrome/browser/bookmarks/bookmark_codec.h base::Value* Encode(const BookmarkNode* bookmark_bar_node, base 60 chrome/browser/bookmarks/bookmark_codec.h const base::Value& value); base 110 chrome/browser/bookmarks/bookmark_codec.h base::Value* EncodeNode(const BookmarkNode* node); base 114 chrome/browser/bookmarks/bookmark_codec.h base::Value* EncodeMetaInfo(const BookmarkNode::MetaInfoMap& meta_info_map); base 120 chrome/browser/bookmarks/bookmark_codec.h const base::Value& value); base 123 chrome/browser/bookmarks/bookmark_codec.h bool DecodeChildren(const base::ListValue& child_value_list, base 138 chrome/browser/bookmarks/bookmark_codec.h bool DecodeNode(const base::DictionaryValue& value, base 147 chrome/browser/bookmarks/bookmark_codec.h bool DecodeMetaInfo(const base::DictionaryValue& value, base 154 chrome/browser/bookmarks/bookmark_codec.h void DecodeMetaInfoHelper(const base::DictionaryValue& dict, base 160 chrome/browser/bookmarks/bookmark_codec.h void UpdateChecksum(const base::string16& str); base 169 chrome/browser/bookmarks/bookmark_codec.h const base::string16& title, base 172 chrome/browser/bookmarks/bookmark_codec.h const base::string16& title); base 190 chrome/browser/bookmarks/bookmark_codec.h base::MD5Context md5_context_; base 20 chrome/browser/bookmarks/bookmark_codec_unittest.cc using base::ASCIIToUTF16; base 98 chrome/browser/bookmarks/bookmark_codec_unittest.cc void GetBookmarksBarChildValue(base::Value* value, base 100 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::DictionaryValue** result_value) { base 101 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, value->GetType()); base 103 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::DictionaryValue* d_value = static_cast<base::DictionaryValue*>(value); base 104 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::Value* roots; base 106 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, roots->GetType()); base 108 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::DictionaryValue* roots_d_value = base 109 chrome/browser/bookmarks/bookmark_codec_unittest.cc static_cast<base::DictionaryValue*>(roots); base 110 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::Value* bb_value; base 113 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, bb_value->GetType()); base 115 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::DictionaryValue* bb_d_value = base 116 chrome/browser/bookmarks/bookmark_codec_unittest.cc static_cast<base::DictionaryValue*>(bb_value); base 117 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::Value* bb_children_value; base 120 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, bb_children_value->GetType()); base 122 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::ListValue* bb_children_l_value = base 123 chrome/browser/bookmarks/bookmark_codec_unittest.cc static_cast<base::ListValue*>(bb_children_value); base 124 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::Value* child_value; base 126 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, child_value->GetType()); base 128 chrome/browser/bookmarks/bookmark_codec_unittest.cc *result_value = static_cast<base::DictionaryValue*>(child_value); base 131 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::Value* EncodeHelper(BookmarkModel* model, std::string* checksum) { base 137 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value(encoder.Encode(model)); base 152 chrome/browser/bookmarks/bookmark_codec_unittest.cc const base::Value& value) { base 167 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkModel* DecodeHelper(const base::Value& value, base 219 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value( base 234 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value1(EncodeHelper(model1.get(), &enc_checksum1)); base 239 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value2(EncodeHelper(model2.get(), &enc_checksum2)); base 248 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value( base 254 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::DictionaryValue* child1_value; base 279 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value( base 285 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::DictionaryValue* child_value; base 312 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> model_value(encoder.Encode(model_to_encode.get())); base 332 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> model_value2(encoder2.Encode(&decoded_model)); base 341 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::FilePath test_data_directory; base 343 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::FilePath test_file = test_data_directory.AppendASCII( base 345 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_TRUE(base::PathExists(test_file)); base 348 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> root(serializer.Deserialize(NULL, NULL)); base 389 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value(EncodeHelper(model.get(), &checksum)); base 414 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value(EncodeHelper(model.get(), &checksum)); base 429 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::FilePath test_data_directory; base 431 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::FilePath test_file = test_data_directory.AppendASCII( base 433 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_TRUE(base::PathExists(test_file)); base 436 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> root(serializer.Deserialize(NULL, NULL)); base 38 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc const base::ListValue* value = base 44 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc for (base::ListValue::const_iterator i = value->begin(); base 49 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc if ((*i)->GetAsString(&value) && base::StringToInt64(value, &node_id) && base 101 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc base::ListValue values; base 104 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc new base::StringValue(base::Int64ToString((*i)->id()))); base 63 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc base::ASCIIToUTF16("x")); base 81 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc model->AddFolder(model->bookmark_bar_node(), 0, base::ASCIIToUTF16("x")); base 87 chrome/browser/bookmarks/bookmark_html_writer.cc class Writer : public base::RefCountedThreadSafe<Writer> { base 89 chrome/browser/bookmarks/bookmark_html_writer.cc Writer(base::Value* bookmarks, base 90 chrome/browser/bookmarks/bookmark_html_writer.cc const base::FilePath& path, base 104 chrome/browser/bookmarks/bookmark_html_writer.cc base::Value* roots = NULL; base 106 chrome/browser/bookmarks/bookmark_html_writer.cc bookmarks_->GetType() != base::Value::TYPE_DICTIONARY || base 107 chrome/browser/bookmarks/bookmark_html_writer.cc !static_cast<base::DictionaryValue*>(bookmarks_.get())->Get( base 109 chrome/browser/bookmarks/bookmark_html_writer.cc roots->GetType() != base::Value::TYPE_DICTIONARY) { base 114 chrome/browser/bookmarks/bookmark_html_writer.cc base::DictionaryValue* roots_d_value = base 115 chrome/browser/bookmarks/bookmark_html_writer.cc static_cast<base::DictionaryValue*>(roots); base 116 chrome/browser/bookmarks/bookmark_html_writer.cc base::Value* root_folder_value; base 117 chrome/browser/bookmarks/bookmark_html_writer.cc base::Value* other_folder_value = NULL; base 118 chrome/browser/bookmarks/bookmark_html_writer.cc base::Value* mobile_folder_value = NULL; base 121 chrome/browser/bookmarks/bookmark_html_writer.cc root_folder_value->GetType() != base::Value::TYPE_DICTIONARY || base 124 chrome/browser/bookmarks/bookmark_html_writer.cc other_folder_value->GetType() != base::Value::TYPE_DICTIONARY || base 127 chrome/browser/bookmarks/bookmark_html_writer.cc mobile_folder_value->GetType() != base::Value::TYPE_DICTIONARY) { base 134 chrome/browser/bookmarks/bookmark_html_writer.cc if (!WriteNode(*static_cast<base::DictionaryValue*>(root_folder_value), base 136 chrome/browser/bookmarks/bookmark_html_writer.cc !WriteNode(*static_cast<base::DictionaryValue*>(other_folder_value), base 138 chrome/browser/bookmarks/bookmark_html_writer.cc !WriteNode(*static_cast<base::DictionaryValue*>(mobile_folder_value), base 171 chrome/browser/bookmarks/bookmark_html_writer.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; base 172 chrome/browser/bookmarks/bookmark_html_writer.cc file_.reset(new base::File(path_, flags)); base 238 chrome/browser/bookmarks/bookmark_html_writer.cc base::StringToInt64(time_string, &internal_value); base 239 chrome/browser/bookmarks/bookmark_html_writer.cc return Write(base::Int64ToString( base 240 chrome/browser/bookmarks/bookmark_html_writer.cc base::Time::FromInternalValue(internal_value).ToTimeT())); base 244 chrome/browser/bookmarks/bookmark_html_writer.cc bool WriteNode(const base::DictionaryValue& value, base 267 chrome/browser/bookmarks/bookmark_html_writer.cc scoped_refptr<base::RefCountedMemory> data(itr->second.get()); base 269 chrome/browser/bookmarks/bookmark_html_writer.cc base::Base64Encode(std::string(data->front_as<char>(), data->size()), base 294 chrome/browser/bookmarks/bookmark_html_writer.cc const base::Value* child_values = NULL; base 298 chrome/browser/bookmarks/bookmark_html_writer.cc child_values->GetType() != base::Value::TYPE_LIST) { base 333 chrome/browser/bookmarks/bookmark_html_writer.cc const base::ListValue* children = base 334 chrome/browser/bookmarks/bookmark_html_writer.cc static_cast<const base::ListValue*>(child_values); base 336 chrome/browser/bookmarks/bookmark_html_writer.cc const base::Value* child_value; base 338 chrome/browser/bookmarks/bookmark_html_writer.cc child_value->GetType() != base::Value::TYPE_DICTIONARY) { base 342 chrome/browser/bookmarks/bookmark_html_writer.cc if (!WriteNode(*static_cast<const base::DictionaryValue*>(child_value), base 362 chrome/browser/bookmarks/bookmark_html_writer.cc scoped_ptr<base::Value> bookmarks_; base 365 chrome/browser/bookmarks/bookmark_html_writer.cc base::FilePath path_; base 374 chrome/browser/bookmarks/bookmark_html_writer.cc scoped_ptr<base::File> file_; base 387 chrome/browser/bookmarks/bookmark_html_writer.cc const base::FilePath& path, base 417 chrome/browser/bookmarks/bookmark_html_writer.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, fetcher); base 440 chrome/browser/bookmarks/bookmark_html_writer.cc base::Bind(&Writer::DoWrite, base 445 chrome/browser/bookmarks/bookmark_html_writer.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, fetcher); base 465 chrome/browser/bookmarks/bookmark_html_writer.cc base::Bind(&BookmarkFaviconFetcher::OnFaviconDataAvailable, base 466 chrome/browser/bookmarks/bookmark_html_writer.cc base::Unretained(this)), base 497 chrome/browser/bookmarks/bookmark_html_writer.cc const base::FilePath& path, base 42 chrome/browser/bookmarks/bookmark_html_writer.h typedef std::map<std::string, scoped_refptr<base::RefCountedMemory> > base 46 chrome/browser/bookmarks/bookmark_html_writer.h const base::FilePath& path, base 82 chrome/browser/bookmarks/bookmark_html_writer.h base::CancelableTaskTracker cancelable_task_tracker_; base 88 chrome/browser/bookmarks/bookmark_html_writer.h base::FilePath path_; base 105 chrome/browser/bookmarks/bookmark_html_writer.h const base::FilePath& path, base 60 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 BookmarkEntryToString(const ImportedBookmarkEntry& entry) { base 61 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 result; base 62 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc result.append(base::ASCIIToUTF16("on_toolbar=")); base 64 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc result.append(base::ASCIIToUTF16("true")); base 66 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc result.append(base::ASCIIToUTF16("false")); base 68 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc result.append(base::ASCIIToUTF16(" url=") + base 69 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::UTF8ToUTF16(entry.url.spec())); base 71 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc result.append(base::ASCIIToUTF16(" path=")); base 74 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc result.append(base::ASCIIToUTF16("/")); base 78 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc result.append(base::ASCIIToUTF16(" title=")); base 81 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc result.append(base::ASCIIToUTF16(" time=")); base 82 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc result.append(base::TimeFormatFriendlyDateAndTime(entry.creation_time)); base 87 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 BookmarkValuesToString(bool on_toolbar, base 89 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const base::string16& title, base 90 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::Time creation_time, base 91 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const base::string16& f1, base 92 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const base::string16& f2, base 93 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const base::string16& f3) { base 113 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const base::string16& title, base 114 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::Time creation_time, base 115 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const base::string16& f1, base 116 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const base::string16& f2, base 117 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const base::string16& f3) { base 123 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::ScopedTempDir temp_dir_; base 124 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::FilePath path_; base 130 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc explicit BookmarksObserver(base::RunLoop* loop) : loop_(loop) { base 139 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::RunLoop* loop_; base 181 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 f1_title = base::ASCIIToUTF16("F\"&;<1\""); base 182 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 f2_title = base::ASCIIToUTF16("F2"); base 183 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 f3_title = base::ASCIIToUTF16("F 3"); base 184 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 f4_title = base::ASCIIToUTF16("F4"); base 185 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 url1_title = base::ASCIIToUTF16("url 1"); base 186 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 url2_title = base::ASCIIToUTF16("url&2"); base 187 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 url3_title = base::ASCIIToUTF16("url\"3"); base 188 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 url4_title = base::ASCIIToUTF16("url\"&;"); base 189 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 unnamed_bookmark_title = base::ASCIIToUTF16(""); base 196 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::Time t1(base::Time::Now()); base 197 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::Time t2(t1 + base::TimeDelta::FromHours(1)); base 198 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::Time t3(t1 + base::TimeDelta::FromHours(1)); base 199 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::Time t4(t1 + base::TimeDelta::FromHours(1)); base 204 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc AddPage(url1, base::Time::Now(), history::SOURCE_BROWSED); base 225 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::RunLoop run_loop; base 240 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc bookmark_html_reader::ImportBookmarksFile(base::Callback<bool(void)>(), base 241 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::Callback<bool(const GURL&)>(), base 261 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16 bookmark_folder_name = base 264 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc bookmark_folder_name, f1_title, base::string16()); base 268 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc bookmark_folder_name, base::string16(), base 269 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16()); base 271 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc bookmark_folder_name, base::string16(), base 272 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16()); base 274 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16(), base::string16(), base 275 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16()); base 277 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16(), base::string16(), base 278 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16()); base 280 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc f3_title, f4_title, base::string16()); base 282 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16(), base::string16(), base 283 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16()); base 286 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16(), base::string16(), base 287 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc base::string16()); base 25 chrome/browser/bookmarks/bookmark_index.cc base::string16 Normalize(const base::string16& text) { base 34 chrome/browser/bookmarks/bookmark_index.cc return base::string16(unicode_normalized_text.getBuffer(), base 84 chrome/browser/bookmarks/bookmark_index.cc std::vector<base::string16> terms = base 94 chrome/browser/bookmarks/bookmark_index.cc std::vector<base::string16> terms = base 101 chrome/browser/bookmarks/bookmark_index.cc const base::string16& input_query, base 104 chrome/browser/bookmarks/bookmark_index.cc const base::string16 query = Normalize(input_query); base 105 chrome/browser/bookmarks/bookmark_index.cc std::vector<base::string16> terms = ExtractQueryWords(query); base 195 chrome/browser/bookmarks/bookmark_index.cc bool BookmarkIndex::GetBookmarksWithTitleMatchingTerm(const base::string16& term, base 277 chrome/browser/bookmarks/bookmark_index.cc std::vector<base::string16> BookmarkIndex::ExtractQueryWords( base 278 chrome/browser/bookmarks/bookmark_index.cc const base::string16& query) { base 279 chrome/browser/bookmarks/bookmark_index.cc std::vector<base::string16> terms; base 281 chrome/browser/bookmarks/bookmark_index.cc return std::vector<base::string16>(); base 283 chrome/browser/bookmarks/bookmark_index.cc parser.ParseQueryWords(base::i18n::ToLower(query), &terms); base 287 chrome/browser/bookmarks/bookmark_index.cc void BookmarkIndex::RegisterNode(const base::string16& term, base 292 chrome/browser/bookmarks/bookmark_index.cc void BookmarkIndex::UnregisterNode(const base::string16& term, base 48 chrome/browser/bookmarks/bookmark_index.h const base::string16& query, base 54 chrome/browser/bookmarks/bookmark_index.h typedef std::map<base::string16, NodeSet> Index; base 93 chrome/browser/bookmarks/bookmark_index.h bool GetBookmarksWithTitleMatchingTerm(const base::string16& term, base 119 chrome/browser/bookmarks/bookmark_index.h std::vector<base::string16> ExtractQueryWords(const base::string16& query); base 122 chrome/browser/bookmarks/bookmark_index.h void RegisterNode(const base::string16& term, const BookmarkNode* node); base 125 chrome/browser/bookmarks/bookmark_index.h void UnregisterNode(const base::string16& term, const BookmarkNode* node); base 26 chrome/browser/bookmarks/bookmark_index_unittest.cc using base::ASCIIToUTF16; base 76 chrome/browser/bookmarks/bookmark_index_unittest.cc base::SplitString(string, ':', &match_strings); base 79 chrome/browser/bookmarks/bookmark_index_unittest.cc base::SplitString(match_strings[i], ',', &chunks); base 83 chrome/browser/bookmarks/bookmark_index_unittest.cc base::StringToInt(chunks[0], &chunks0); base 84 chrome/browser/bookmarks/bookmark_index_unittest.cc base::StringToInt(chunks[1], &chunks1); base 147 chrome/browser/bookmarks/bookmark_index_unittest.cc base::SplitString(data[i].input, ';', &titles); base 152 chrome/browser/bookmarks/bookmark_index_unittest.cc base::SplitString(data[i].expected, ';', &expected); base 180 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->AddURL(model_->other_node(), 0, base::UTF8ToUTF16(data[i].title), base 184 chrome/browser/bookmarks/bookmark_index_unittest.cc base::UTF8ToUTF16(data[i].query), 10, &matches); base 255 chrome/browser/bookmarks/bookmark_index_unittest.cc base::WideToUTF16(L"\u0130 i"), base 296 chrome/browser/bookmarks/bookmark_index_unittest.cc info.set_title(base::UTF8ToUTF16(data[i].title)); base 301 chrome/browser/bookmarks/bookmark_index_unittest.cc model->AddURL(model->other_node(), i, base::UTF8ToUTF16(data[i].title), base 308 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[0].title, base::UTF16ToUTF8(result1.title())); base 312 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[1].title, base::UTF16ToUTF8(result2.title())); base 316 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[2].title, base::UTF16ToUTF8(result3.title())); base 320 chrome/browser/bookmarks/bookmark_index_unittest.cc EXPECT_EQ(data[3].title, base::UTF16ToUTF8(result4.title())); base 37 chrome/browser/bookmarks/bookmark_model.cc using base::Time; base 47 chrome/browser/bookmarks/bookmark_model.cc const base::char16 kInvalidChars[] = { base 73 chrome/browser/bookmarks/bookmark_model.cc void BookmarkNode::SetTitle(const base::string16& title) { base 76 chrome/browser/bookmarks/bookmark_model.cc base::string16 trimmed_title; base 77 chrome/browser/bookmarks/bookmark_model.cc base::ReplaceChars(title, kInvalidChars, base::ASCIIToUTF16(" "), base 141 chrome/browser/bookmarks/bookmark_model.cc favicon_load_task_id_ = base::CancelableTaskTracker::kBadTaskId; base 168 chrome/browser/bookmarks/bookmark_model.cc return base::i18n::CompareString16WithCollator( base 235 chrome/browser/bookmarks/bookmark_model.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner) { base 317 chrome/browser/bookmarks/bookmark_model.cc base::AutoLock url_lock(url_lock_); base 412 chrome/browser/bookmarks/bookmark_model.cc void BookmarkModel::SetTitle(const BookmarkNode* node, const base::string16& title) { base 464 chrome/browser/bookmarks/bookmark_model.cc base::AutoLock url_lock(url_lock_); base 541 chrome/browser/bookmarks/bookmark_model.cc base::Time date_added) { base 568 chrome/browser/bookmarks/bookmark_model.cc base::AutoLock url_lock(url_lock_); base 589 chrome/browser/bookmarks/bookmark_model.cc base::AutoLock url_lock(url_lock_); base 594 chrome/browser/bookmarks/bookmark_model.cc base::AutoLock url_lock(url_lock_); base 600 chrome/browser/bookmarks/bookmark_model.cc base::AutoLock url_lock(url_lock_); base 627 chrome/browser/bookmarks/bookmark_model.cc const base::string16& title) { base 645 chrome/browser/bookmarks/bookmark_model.cc const base::string16& title, base 648 chrome/browser/bookmarks/bookmark_model.cc base::CollapseWhitespace(title, false), base 655 chrome/browser/bookmarks/bookmark_model.cc const base::string16& title, base 675 chrome/browser/bookmarks/bookmark_model.cc base::AutoLock url_lock(url_lock_); base 742 chrome/browser/bookmarks/bookmark_model.cc const base::string16& text, base 835 chrome/browser/bookmarks/bookmark_model.cc base::AutoLock url_lock(url_lock_); base 861 chrome/browser/bookmarks/bookmark_model.cc base::AutoLock url_lock(url_lock_); base 1000 chrome/browser/bookmarks/bookmark_model.cc node->set_favicon_load_task_id(base::CancelableTaskTracker::kBadTaskId); base 1022 chrome/browser/bookmarks/bookmark_model.cc base::Bind(&BookmarkModel::OnFaviconDataAvailable, base 1023 chrome/browser/bookmarks/bookmark_model.cc base::Unretained(this), node), base 1034 chrome/browser/bookmarks/bookmark_model.cc if (node->favicon_load_task_id() != base::CancelableTaskTracker::kBadTaskId) { base 1036 chrome/browser/bookmarks/bookmark_model.cc node->set_favicon_load_task_id(base::CancelableTaskTracker::kBadTaskId); base 39 chrome/browser/bookmarks/bookmark_model.h namespace base { base 81 chrome/browser/bookmarks/bookmark_model.h virtual void SetTitle(const base::string16& title) OVERRIDE; base 100 chrome/browser/bookmarks/bookmark_model.h const base::Time& date_added() const { return date_added_; } base 101 chrome/browser/bookmarks/bookmark_model.h void set_date_added(const base::Time& date) { date_added_ = date; } base 105 chrome/browser/bookmarks/bookmark_model.h const base::Time& date_folder_modified() const { base 108 chrome/browser/bookmarks/bookmark_model.h void set_date_folder_modified(const base::Time& date) { base 166 chrome/browser/bookmarks/bookmark_model.h base::CancelableTaskTracker::TaskId favicon_load_task_id() const { base 169 chrome/browser/bookmarks/bookmark_model.h void set_favicon_load_task_id(base::CancelableTaskTracker::TaskId id) { base 184 chrome/browser/bookmarks/bookmark_model.h base::Time date_added_; base 187 chrome/browser/bookmarks/bookmark_model.h base::Time date_folder_modified_; base 201 chrome/browser/bookmarks/bookmark_model.h base::CancelableTaskTracker::TaskId favicon_load_task_id_; base 255 chrome/browser/bookmarks/bookmark_model.h void Load(const scoped_refptr<base::SequencedTaskRunner>& task_runner); base 327 chrome/browser/bookmarks/bookmark_model.h void SetTitle(const BookmarkNode* node, const base::string16& title); base 333 chrome/browser/bookmarks/bookmark_model.h void SetDateAdded(const BookmarkNode* node, base::Time date_added); base 367 chrome/browser/bookmarks/bookmark_model.h const base::string16& title); base 372 chrome/browser/bookmarks/bookmark_model.h const base::string16& title, base 378 chrome/browser/bookmarks/bookmark_model.h const base::string16& title, base 380 chrome/browser/bookmarks/bookmark_model.h const base::Time& creation_time); base 394 chrome/browser/bookmarks/bookmark_model.h void SetDateFolderModified(const BookmarkNode* node, const base::Time time); base 402 chrome/browser/bookmarks/bookmark_model.h const base::string16& text, base 568 chrome/browser/bookmarks/bookmark_model.h base::Lock url_lock_; base 571 chrome/browser/bookmarks/bookmark_model.h base::CancelableTaskTracker cancelable_task_tracker_; base 578 chrome/browser/bookmarks/bookmark_model.h base::WaitableEvent loaded_signal_; base 70 chrome/browser/bookmarks/bookmark_model_factory.cc new base::ListValue, base 33 chrome/browser/bookmarks/bookmark_model_unittest.cc using base::ASCIIToUTF16; base 34 chrome/browser/bookmarks/bookmark_model_unittest.cc using base::Time; base 35 chrome/browser/bookmarks/bookmark_model_unittest.cc using base::TimeDelta; base 313 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 333 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(base::WideToUTF16( base 355 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title( base 371 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 391 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 415 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title( base 430 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 451 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 473 chrome/browser/bookmarks/bookmark_model_unittest.cc base::string16 title(ASCIIToUTF16("foo")); base 496 chrome/browser/bookmarks/bookmark_model_unittest.cc base::string16 title(ASCIIToUTF16("foo")); base 512 chrome/browser/bookmarks/bookmark_model_unittest.cc base::string16 title(ASCIIToUTF16("dummy")); base 525 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 540 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 546 chrome/browser/bookmarks/bookmark_model_unittest.cc base::Time new_time = base::Time::Now() + base::TimeDelta::FromMinutes(20); base 555 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 582 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 584 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::Time old_date(base::Time::Now() - base::TimeDelta::FromDays(1)); base 655 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 666 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 764 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("blah")); base 806 chrome/browser/bookmarks/bookmark_model_unittest.cc new TestNode(base::IntToString16(next_folder_id++), base 820 chrome/browser/bookmarks/bookmark_model_unittest.cc parent->Add(new TestNode(base::UTF8ToUTF16(element), BookmarkNode::URL), base 845 chrome/browser/bookmarks/bookmark_model_unittest.cc base::SplitStringAlongWhitespace(description, &elements); base 862 chrome/browser/bookmarks/bookmark_model_unittest.cc GURL("http://" + base::UTF16ToASCII(child->GetTitle()))); base 902 chrome/browser/bookmarks/bookmark_model_unittest.cc base::hash_set<int64> ids; base 1025 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_EQ("D", base::UTF16ToASCII(parent->GetChild(0)->GetTitle())); base 1026 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_EQ("C", base::UTF16ToASCII(parent->GetChild(1)->GetTitle())); base 1027 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_EQ("B", base::UTF16ToASCII(parent->GetChild(2)->GetTitle())); base 1028 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_EQ("A", base::UTF16ToASCII(parent->GetChild(3)->GetTitle())); base 1058 chrome/browser/bookmarks/bookmark_model_unittest.cc const base::string16 title(ASCIIToUTF16("foo")); base 70 chrome/browser/bookmarks/bookmark_node_data.cc date_added = base::Time(); base 71 chrome/browser/bookmarks/bookmark_node_data.cc date_folder_modified = base::Time(); base 139 chrome/browser/bookmarks/bookmark_node_data.cc bool BookmarkNodeData::ReadFromTuple(const GURL& url, const base::string16& title) { base 164 chrome/browser/bookmarks/bookmark_node_data.cc const base::string16& title = elements[0].title; base 178 chrome/browser/bookmarks/bookmark_node_data.cc scw.WriteText(base::UTF8ToUTF16(url)); base 200 chrome/browser/bookmarks/bookmark_node_data.cc base::string16 title; base 219 chrome/browser/bookmarks/bookmark_node_data.cc base::FilePath path = profile ? profile->GetPath() : base::FilePath(); base 57 chrome/browser/bookmarks/bookmark_node_data.h base::string16 title; base 60 chrome/browser/bookmarks/bookmark_node_data.h base::Time date_added; base 63 chrome/browser/bookmarks/bookmark_node_data.h base::Time date_folder_modified; base 105 chrome/browser/bookmarks/bookmark_node_data.h bool ReadFromTuple(const GURL& url, const base::string16& title); base 167 chrome/browser/bookmarks/bookmark_node_data.h base::FilePath profile_path_; base 19 chrome/browser/bookmarks/bookmark_node_data_mac.cc base::FilePath file_path; base 20 chrome/browser/bookmarks/bookmark_node_data_unittest.cc using base::ASCIIToUTF16; base 76 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const base::string16 title(ASCIIToUTF16("google.com")); base 97 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const base::string16 title(ASCIIToUTF16("foo.com")); base 130 chrome/browser/bookmarks/bookmark_node_data_unittest.cc base::string16 read_title; base 182 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const base::string16 title(ASCIIToUTF16("blah2")); base 218 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const base::string16 title(ASCIIToUTF16("blah2")); base 31 chrome/browser/bookmarks/bookmark_node_data_views.cc data->SetString(base::UTF8ToUTF16(elements[0].url.spec())); base 58 chrome/browser/bookmarks/bookmark_node_data_views.cc base::string16 title; base 14 chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h namespace base { base 25 chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h const base::FilePath& profile_path); base 31 chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h base::FilePath* profile_path); base 26 chrome/browser/bookmarks/bookmark_service.h base::string16 title; base 16 chrome/browser/bookmarks/bookmark_stats.cc base::UserMetricsAction("ClickedBookmarkBarURLButton")); base 39 chrome/browser/bookmarks/bookmark_stats.cc base::UserMetricsAction("ClickedBookmarkBarFolder")); base 47 chrome/browser/bookmarks/bookmark_stats.cc base::UserMetricsAction("ClickedBookmarkBarAppsShortcutButton")); base 23 chrome/browser/bookmarks/bookmark_storage.cc using base::TimeTicks; base 29 chrome/browser/bookmarks/bookmark_storage.cc const base::FilePath::CharType kBackupExtension[] = FILE_PATH_LITERAL("bak"); base 34 chrome/browser/bookmarks/bookmark_storage.cc void BackupCallback(const base::FilePath& path) { base 35 chrome/browser/bookmarks/bookmark_storage.cc base::FilePath backup_path = path.ReplaceExtension(kBackupExtension); base 36 chrome/browser/bookmarks/bookmark_storage.cc base::CopyFile(path, backup_path); base 51 chrome/browser/bookmarks/bookmark_storage.cc void LoadCallback(const base::FilePath& path, base 56 chrome/browser/bookmarks/bookmark_storage.cc bool bookmark_file_exists = base::PathExists(path); base 59 chrome/browser/bookmarks/bookmark_storage.cc scoped_ptr<base::Value> root(serializer.Deserialize(NULL, NULL)); base 90 chrome/browser/bookmarks/bookmark_storage.cc base::Bind(&BookmarkStorage::OnLoadFinished, storage)); base 121 chrome/browser/bookmarks/bookmark_storage.cc base::SequencedTaskRunner* sequenced_task_runner) base 126 chrome/browser/bookmarks/bookmark_storage.cc writer_.set_commit_interval(base::TimeDelta::FromMilliseconds(kSaveDelayMS)); base 128 chrome/browser/bookmarks/bookmark_storage.cc base::Bind(&BackupCallback, writer_.path())); base 142 chrome/browser/bookmarks/bookmark_storage.cc base::Bind(&LoadCallback, writer_.path(), make_scoped_refptr(this), base 160 chrome/browser/bookmarks/bookmark_storage.cc scoped_ptr<base::Value> value(codec.Encode(model_)); base 17 chrome/browser/bookmarks/bookmark_storage.h namespace base { base 116 chrome/browser/bookmarks/bookmark_storage.h class BookmarkStorage : public base::ImportantFileWriter::DataSerializer, base 117 chrome/browser/bookmarks/bookmark_storage.h public base::RefCountedThreadSafe<BookmarkStorage> { base 122 chrome/browser/bookmarks/bookmark_storage.h base::SequencedTaskRunner* sequenced_task_runner); base 142 chrome/browser/bookmarks/bookmark_storage.h friend class base::RefCountedThreadSafe<BookmarkStorage>; base 154 chrome/browser/bookmarks/bookmark_storage.h base::ImportantFileWriter writer_; base 160 chrome/browser/bookmarks/bookmark_storage.h scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner_; base 26 chrome/browser/bookmarks/bookmark_test_helpers.cc explicit BookmarkLoadObserver(const base::Closure& quit_task); base 35 chrome/browser/bookmarks/bookmark_test_helpers.cc base::Closure quit_task_; base 40 chrome/browser/bookmarks/bookmark_test_helpers.cc BookmarkLoadObserver::BookmarkLoadObserver(const base::Closure& quit_task) base 74 chrome/browser/bookmarks/bookmark_test_helpers.cc model->AddFolder(node, index, base::UTF8ToUTF16(node_name)); base 82 chrome/browser/bookmarks/bookmark_test_helpers.cc node, index, base::UTF8ToUTF16(node_name), GURL(url_string)); base 103 chrome/browser/bookmarks/bookmark_test_helpers.cc base::RunLoop run_loop; base 123 chrome/browser/bookmarks/bookmark_test_helpers.cc child_string += base::UTF16ToUTF8(child->GetTitle()) + ":[ " + base 126 chrome/browser/bookmarks/bookmark_test_helpers.cc child_string += base::UTF16ToUTF8(child->GetTitle()) + " "; base 32 chrome/browser/bookmarks/bookmark_utils.cc using base::Time; base 72 chrome/browser/bookmarks/bookmark_utils.cc bool DoesBookmarkTextContainWords(const base::string16& text, base 73 chrome/browser/bookmarks/bookmark_utils.cc const std::vector<base::string16>& words) { base 75 chrome/browser/bookmarks/bookmark_utils.cc if (!base::i18n::StringSearchIgnoringCaseAndAccents( base 86 chrome/browser/bookmarks/bookmark_utils.cc const std::vector<base::string16>& words, base 91 chrome/browser/bookmarks/bookmark_utils.cc base::UTF8ToUTF16(node->url().spec()), words) || base 199 chrome/browser/bookmarks/bookmark_utils.cc if (parent->is_folder() && parent->date_folder_modified() > base::Time()) { base 263 chrome/browser/bookmarks/bookmark_utils.cc std::vector<base::string16> query_words; base 266 chrome/browser/bookmarks/bookmark_utils.cc parser.ParseQueryWords(base::i18n::ToLower(*query.word_phrase_query), base 283 chrome/browser/bookmarks/bookmark_utils.cc !(base::UTF8ToUTF16(node->url().spec()) == *query.url || base 356 chrome/browser/bookmarks/bookmark_utils.cc const base::string16& title) { base 362 chrome/browser/bookmarks/bookmark_utils.cc content::RecordAction(base::UserMetricsAction("BookmarkAdded")); base 31 chrome/browser/bookmarks/bookmark_utils.h scoped_ptr<base::string16> word_phrase_query; base 32 chrome/browser/bookmarks/bookmark_utils.h scoped_ptr<base::string16> url; base 33 chrome/browser/bookmarks/bookmark_utils.h scoped_ptr<base::string16> title; base 105 chrome/browser/bookmarks/bookmark_utils.h const base::string16& title); base 18 chrome/browser/bookmarks/bookmark_utils_unittest.cc using base::ASCIIToUTF16; base 67 chrome/browser/bookmarks/bookmark_utils_unittest.cc base::MessageLoopForUI loop_; base 87 chrome/browser/bookmarks/bookmark_utils_unittest.cc query.word_phrase_query.reset(new base::string16); base 145 chrome/browser/bookmarks/bookmark_utils_unittest.cc query.url.reset(new base::string16); base 181 chrome/browser/bookmarks/bookmark_utils_unittest.cc query.title.reset(new base::string16); base 219 chrome/browser/bookmarks/bookmark_utils_unittest.cc query.word_phrase_query.reset(new base::string16(ASCIIToUTF16("www"))); base 220 chrome/browser/bookmarks/bookmark_utils_unittest.cc query.url.reset(new base::string16(ASCIIToUTF16("https://www.google.com/"))); base 221 chrome/browser/bookmarks/bookmark_utils_unittest.cc query.title.reset(new base::string16(ASCIIToUTF16("Google"))); base 227 chrome/browser/bookmarks/bookmark_utils_unittest.cc scoped_ptr<base::string16>* fields[] = { base 232 chrome/browser/bookmarks/bookmark_utils_unittest.cc scoped_ptr<base::string16> original_value(fields[i]->release()); base 242 chrome/browser/bookmarks/bookmark_utils_unittest.cc scoped_ptr<base::string16> original_value(fields[i]->release()); base 243 chrome/browser/bookmarks/bookmark_utils_unittest.cc fields[i]->reset(new base::string16(ASCIIToUTF16("fjdkslafjkldsa"))); base 282 chrome/browser/bookmarks/bookmark_utils_unittest.cc base::string16 title(ASCIIToUTF16("foo")); base 34 chrome/browser/bookmarks/enhanced_bookmarks_features.cc const std::string id_hash = base::SHA1HashString(*iter); base 35 chrome/browser/bookmarks/enhanced_bookmarks_features.cc DCHECK_EQ(id_hash.length(), base::kSHA1Length); base 36 chrome/browser/bookmarks/enhanced_bookmarks_features.cc std::string hash = base::HexEncode(id_hash.c_str(), id_hash.length()); base 48 chrome/browser/bookmarks/enhanced_bookmarks_features.cc base::ListValue* experiments_list = update.Get(); base 52 chrome/browser/bookmarks/enhanced_bookmarks_features.cc base::StringValue(switches::kManualEnhancedBookmarks), &index); base 54 chrome/browser/bookmarks/enhanced_bookmarks_features.cc base::StringValue(switches::kManualEnhancedBookmarksOptout), &index); base 57 chrome/browser/bookmarks/enhanced_bookmarks_features.cc base::StringValue(switches::kManualEnhancedBookmarksOptout), &index); base 59 chrome/browser/bookmarks/enhanced_bookmarks_features.cc new base::StringValue(switches::kManualEnhancedBookmarks)); base 63 chrome/browser/bookmarks/enhanced_bookmarks_features.cc base::StringValue(switches::kManualEnhancedBookmarks), &index); base 65 chrome/browser/bookmarks/enhanced_bookmarks_features.cc new base::StringValue(switches::kManualEnhancedBookmarksOptout)); base 86 chrome/browser/browser_about_handler.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 87 chrome/browser/browser_about_handler.cc base::Bind(&chrome::AttemptRestart)); base 90 chrome/browser/browser_about_handler.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 91 chrome/browser/browser_about_handler.cc base::Bind(&chrome::AttemptExit)); base 67 chrome/browser/browser_about_handler_unittest.cc base::MessageLoopForUI message_loop; base 71 chrome/browser/browser_encoding_browsertest.cc const base::Closure& callback) base 94 chrome/browser/browser_encoding_browsertest.cc base::Closure callback_; base 103 chrome/browser/browser_encoding_browsertest.cc static const base::FilePath::CharType* kTestDir = base 115 chrome/browser/browser_encoding_browsertest.cc const base::FilePath& expected) { base 118 chrome/browser/browser_encoding_browsertest.cc base::FilePath full_file_name = save_dir_.AppendASCII(filename_to_write); base 132 chrome/browser/browser_encoding_browsertest.cc base::FilePath expected_file_name = ui_test_utils::GetTestFilePath( base 133 chrome/browser/browser_encoding_browsertest.cc base::FilePath(kTestDir), expected); base 135 chrome/browser/browser_encoding_browsertest.cc EXPECT_TRUE(base::ContentsEqual(full_file_name, expected_file_name)); base 145 chrome/browser/browser_encoding_browsertest.cc base::Bind(&chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 148 chrome/browser/browser_encoding_browsertest.cc base::ScopedTempDir temp_dir_; base 149 chrome/browser/browser_encoding_browsertest.cc base::FilePath save_dir_; base 150 chrome/browser/browser_encoding_browsertest.cc base::FilePath temp_sub_resource_dir_; base 161 chrome/browser/browser_encoding_browsertest.cc base::FilePath test_dir_path = base::FilePath(kTestDir).AppendASCII( base 163 chrome/browser/browser_encoding_browsertest.cc base::FilePath test_file_path(test_dir_path); base 185 chrome/browser/browser_encoding_browsertest.cc base::FilePath test_dir_path = base 186 chrome/browser/browser_encoding_browsertest.cc base::FilePath(kTestDir).AppendASCII(kOverrideTestDir); base 202 chrome/browser/browser_encoding_browsertest.cc base::FilePath expected_filename = base 203 chrome/browser/browser_encoding_browsertest.cc base::FilePath().AppendASCII(kOverrideTestDir).AppendASCII( base 288 chrome/browser/browser_encoding_browsertest.cc base::FilePath test_dir_path = base 289 chrome/browser/browser_encoding_browsertest.cc base::FilePath(kTestDir).AppendASCII(kAutoDetectDir); base 304 chrome/browser/browser_encoding_browsertest.cc base::FilePath test_file_path(test_dir_path); base 326 chrome/browser/browser_encoding_browsertest.cc base::FilePath expected_result_file_name = base 327 chrome/browser/browser_encoding_browsertest.cc base::FilePath().AppendASCII(kAutoDetectDir). base 123 chrome/browser/browser_keyevents_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 155 chrome/browser/browser_keyevents_browsertest.cc base::StringPrintf(kSuppressEventJS, type, GetBoolString(!suppress)), base 193 chrome/browser/browser_keyevents_browsertest.cc base::StringPrintf(kGetResultJS, i), base 212 chrome/browser/browser_keyevents_browsertest.cc ASSERT_EQ(base::WideToUTF8(focused), actual); base 220 chrome/browser/browser_keyevents_browsertest.cc base::StringPrintf(kSetFocusedElementJS, focused), base 231 chrome/browser/browser_keyevents_browsertest.cc base::StringPrintf(kGetTextBoxValueJS, id), base 233 chrome/browser/browser_keyevents_browsertest.cc ASSERT_EQ(base::WideToUTF8(value), actual); base 242 chrome/browser/browser_keyevents_browsertest.cc base::StringPrintf(kSetTextBoxValueJS, id, value), base 244 chrome/browser/browser_keyevents_browsertest.cc ASSERT_EQ(base::WideToUTF8(value), actual); base 252 chrome/browser/browser_keyevents_browsertest.cc base::StringPrintf(kStartTestJS, result_length), base 282 chrome/browser/browser_keyevents_browsertest.cc std::string desc = base::StringPrintf( base 743 chrome/browser/browser_keyevents_browsertest.cc if (base::mac::IsOSMountainLionOrLater()) base 145 chrome/browser/browser_process_impl.cc base::SequencedTaskRunner* local_state_task_runner, base 207 chrome/browser/browser_process_impl.cc base::Bind(&SdchDictionaryFetcher::Shutdown)); base 306 chrome/browser/browser_process_impl.cc static void Signal(base::WaitableEvent* event) { base 318 chrome/browser/browser_process_impl.cc base::debug::StackTrace callstack = release_last_reference_callstack_; base 319 chrome/browser/browser_process_impl.cc base::debug::Alias(&callstack); base 333 chrome/browser/browser_process_impl.cc release_last_reference_callstack_ = base::debug::StackTrace(); base 350 chrome/browser/browser_process_impl.cc CHECK(base::MessageLoop::current()->is_running()); base 353 chrome/browser/browser_process_impl.cc base::MessageLoop::current()->PostTask( base 355 chrome/browser/browser_process_impl.cc base::Bind(ChromeBrowserMainPartsMac::DidEndMainMessageLoop)); base 357 chrome/browser/browser_process_impl.cc base::MessageLoop::current()->Quit(); base 382 chrome/browser/browser_process_impl.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 399 chrome/browser/browser_process_impl.cc scoped_ptr<base::WaitableEvent> done_writing( base 400 chrome/browser/browser_process_impl.cc new base::WaitableEvent(false, false)); base 402 chrome/browser/browser_process_impl.cc base::Bind(Signal, done_writing.get())); base 406 chrome/browser/browser_process_impl.cc base::TimeDelta::FromSeconds(kEndSessionTimeoutSeconds))) { base 655 chrome/browser/browser_process_impl.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 735 chrome/browser/browser_process_impl.cc base::TimeDelta::FromHours(kUpdateCheckIntervalHours), base 791 chrome/browser/browser_process_impl.cc base::Bind(&BrowserProcessImpl::ApplyAllowCrossOriginAuthPromptPolicy, base 792 chrome/browser/browser_process_impl.cc base::Unretained(this))); base 817 chrome/browser/browser_process_impl.cc base::FilePath user_data_dir; base 826 chrome/browser/browser_process_impl.cc base::FilePath local_state_path; base 845 chrome/browser/browser_process_impl.cc base::Bind(&BrowserProcessImpl::ApplyDefaultBrowserPolicy, base 846 chrome/browser/browser_process_impl.cc base::Unretained(this))); base 853 chrome/browser/browser_process_impl.cc base::Bind(&BrowserProcessImpl::ApplyMetricsReportingPolicy, base 854 chrome/browser/browser_process_impl.cc base::Unretained(this))); base 898 chrome/browser/browser_process_impl.cc base::FilePath user_data_dir; base 1015 chrome/browser/browser_process_impl.cc base::Bind( base 1016 chrome/browser/browser_process_impl.cc base::IgnoreResult(&GoogleUpdateSettings::SetCollectStatsConsent), base 34 chrome/browser/browser_process_impl.h namespace base { base 50 chrome/browser/browser_process_impl.h public base::NonThreadSafe { base 53 chrome/browser/browser_process_impl.h BrowserProcessImpl(base::SequencedTaskRunner* local_state_task_runner, base 54 chrome/browser/browser_process_impl.h const base::CommandLine& command_line); base 244 chrome/browser/browser_process_impl.h const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_; base 263 chrome/browser/browser_process_impl.h base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; base 288 chrome/browser/browser_process_impl.h base::debug::StackTrace release_last_reference_callstack_; base 11 chrome/browser/browser_process_platform_part_android.cc base::android::MemoryPressureListenerAndroid::RegisterSystemCallback( base 12 chrome/browser/browser_process_platform_part_android.cc base::android::AttachCurrentThread()); base 25 chrome/browser/browser_process_platform_part_aurawin.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 44 chrome/browser/browser_process_platform_part_aurawin.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 27 chrome/browser/browser_process_platform_part_aurawin.h const base::CommandLine& command_line) OVERRIDE; base 23 chrome/browser/browser_process_platform_part_base.cc const base::CommandLine& /* command_line */) { base 11 chrome/browser/browser_process_platform_part_base.h namespace base { base 29 chrome/browser/browser_process_platform_part_base.h const base::CommandLine& command_line); base 27 chrome/browser/browser_process_platform_part_chromeos.cc scoped_ptr<base::TickClock>(new base::DefaultTickClock))); base 30 chrome/browser/browser_process_platform_part_chromeos.h public base::NonThreadSafe { base 51 chrome/browser/browser_shutdown.cc using base::Time; base 52 chrome/browser/browser_shutdown.cc using base::TimeDelta; base 103 chrome/browser/browser_shutdown.cc base::debug::SetCrashKeyValue(crash_keys::kShutdownType, base 133 chrome/browser/browser_shutdown.cc base::FilePath GetShutdownMsPath() { base 134 chrome/browser/browser_shutdown.cc base::FilePath shutdown_ms_file; base 262 chrome/browser/browser_shutdown.cc base::Int64ToString(shutdown_delta.InMilliseconds()); base 264 chrome/browser/browser_shutdown.cc base::FilePath shutdown_ms_file = GetShutdownMsPath(); base 265 chrome/browser/browser_shutdown.cc base::WriteFile(shutdown_ms_file, shutdown_ms.c_str(), len); base 278 chrome/browser/browser_shutdown.cc base::FilePath shutdown_ms_file = GetShutdownMsPath(); base 281 chrome/browser/browser_shutdown.cc if (base::ReadFileToString(shutdown_ms_file, &shutdown_ms_str)) base 282 chrome/browser/browser_shutdown.cc base::StringToInt64(shutdown_ms_str, &shutdown_ms); base 283 chrome/browser/browser_shutdown.cc base::DeleteFile(shutdown_ms_file, false); base 293 chrome/browser/browser_shutdown.cc time = base::StringPrintf(time_fmt, "window_close"); base 294 chrome/browser/browser_shutdown.cc time_per = base::StringPrintf(time_per_fmt, "window_close"); base 296 chrome/browser/browser_shutdown.cc time = base::StringPrintf(time_fmt, "browser_exit"); base 297 chrome/browser/browser_shutdown.cc time_per = base::StringPrintf(time_per_fmt, "browser_exit"); base 299 chrome/browser/browser_shutdown.cc time = base::StringPrintf(time_fmt, "end_session"); base 300 chrome/browser/browser_shutdown.cc time_per = base::StringPrintf(time_per_fmt, "end_session"); base 331 chrome/browser/browser_shutdown.cc base::Bind(&ReadLastShutdownFile, type, num_procs, num_procs_slow)); base 20 chrome/browser/browser_util_win.cc base::FilePath exe_path; base 21 chrome/browser/browser_util_win.cc PathService::Get(base::FILE_EXE, &exe_path); base 27 chrome/browser/browsing_data/browsing_data_appcache_helper.cc void BrowsingDataAppCacheHelper::StartFetching(const base::Closure& callback) { base 36 chrome/browser/browsing_data/browsing_data_appcache_helper.cc base::Bind(&BrowsingDataAppCacheHelper::StartFetching, this, callback)); base 42 chrome/browser/browsing_data/browsing_data_appcache_helper.cc base::Bind(&BrowsingDataAppCacheHelper::OnFetchComplete, base 43 chrome/browser/browsing_data/browsing_data_appcache_helper.cc base::Unretained(this))); base 53 chrome/browser/browsing_data/browsing_data_appcache_helper.cc base::Bind(&BrowsingDataAppCacheHelper::DeleteAppCacheGroup, this, base 80 chrome/browser/browsing_data/browsing_data_appcache_helper.cc base::Bind(&BrowsingDataAppCacheHelper::OnFetchComplete, this, rv)); base 152 chrome/browser/browsing_data/browsing_data_appcache_helper.cc const base::Closure& completion_callback) { base 23 chrome/browser/browsing_data/browsing_data_appcache_helper.h : public base::RefCountedThreadSafe<BrowsingDataAppCacheHelper> { base 29 chrome/browser/browsing_data/browsing_data_appcache_helper.h virtual void StartFetching(const base::Closure& completion_callback); base 38 chrome/browser/browsing_data/browsing_data_appcache_helper.h friend class base::RefCountedThreadSafe<BrowsingDataAppCacheHelper>; base 41 chrome/browser/browsing_data/browsing_data_appcache_helper.h base::Closure completion_callback_; base 83 chrome/browser/browsing_data/browsing_data_appcache_helper.h virtual void StartFetching(const base::Closure& completion_callback) OVERRIDE; base 55 chrome/browser/browsing_data/browsing_data_appcache_helper_unittest.cc helper->StartFetching(base::Bind(&TestCompletionCallback::callback, base 56 chrome/browser/browsing_data/browsing_data_appcache_helper_unittest.cc base::Unretained(&callback))); base 87 chrome/browser/browsing_data/browsing_data_appcache_helper_unittest.cc helper->StartFetching(base::Bind(&TestCompletionCallback::callback, base 88 chrome/browser/browsing_data/browsing_data_appcache_helper_unittest.cc base::Unretained(&callback))); base 40 chrome/browser/browsing_data/browsing_data_cookie_helper.cc const base::Callback<void(const net::CookieList& cookies)>& callback) { base 49 chrome/browser/browsing_data/browsing_data_cookie_helper.cc base::Bind(&BrowsingDataCookieHelper::FetchCookiesOnIOThread, this)); base 57 chrome/browser/browsing_data/browsing_data_cookie_helper.cc base::Bind(&BrowsingDataCookieHelper::DeleteCookieOnIOThread, base 68 chrome/browser/browsing_data/browsing_data_cookie_helper.cc base::Bind(&BrowsingDataCookieHelper::OnFetchComplete, this)); base 78 chrome/browser/browsing_data/browsing_data_cookie_helper.cc base::Bind(&BrowsingDataCookieHelper::NotifyInUIThread, this, cookies)); base 142 chrome/browser/browsing_data/browsing_data_cookie_helper.cc url, cookie_line, base::Time::Now(), options)); base 29 chrome/browser/browsing_data/browsing_data_cookie_helper.h : public base::RefCountedThreadSafe<BrowsingDataCookieHelper> { base 38 chrome/browser/browsing_data/browsing_data_cookie_helper.h const base::Callback<void(const net::CookieList& cookies)>& callback); base 45 chrome/browser/browsing_data/browsing_data_cookie_helper.h friend class base::RefCountedThreadSafe<BrowsingDataCookieHelper>; base 74 chrome/browser/browsing_data/browsing_data_cookie_helper.h base::Callback<void(const net::CookieList& cookies)> completion_callback_; base 185 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::FetchCallback, base 186 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 187 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 196 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::DomainCookieCallback, base 197 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 198 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 207 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::FetchCallback, base 208 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 209 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 215 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::DeleteCallback, base 216 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 217 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 234 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::FetchCallback, base 235 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 236 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 244 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::DeleteCallback, base 245 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 246 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 269 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::CannedDomainCookieCallback, base 270 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 278 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::CannedDomainCookieCallback, base 279 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 294 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::CannedUniqueCallback, base 295 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 304 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::CannedUniqueCallback, base 305 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 342 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::CannedReplaceCookieCallback, base 343 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 352 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::CannedReplaceCookieCallback, base 353 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 400 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Bind(&BrowsingDataCookieHelperTest::CannedDifferentFramesCallback, base 401 chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc base::Unretained(this))); base 28 chrome/browser/browsing_data/browsing_data_database_helper.cc base::Time last_modified) base 48 chrome/browser/browsing_data/browsing_data_database_helper.cc const base::Callback<void(const std::list<DatabaseInfo>&)>& callback) { base 58 chrome/browser/browsing_data/browsing_data_database_helper.cc base::Bind(&BrowsingDataDatabaseHelper::FetchDatabaseInfoOnFileThread, base 67 chrome/browser/browsing_data/browsing_data_database_helper.cc base::Bind(&BrowsingDataDatabaseHelper::DeleteDatabaseOnFileThread, this, base 83 chrome/browser/browsing_data/browsing_data_database_helper.cc std::vector<base::string16> databases; base 85 chrome/browser/browsing_data/browsing_data_database_helper.cc for (std::vector<base::string16>::const_iterator db = databases.begin(); base 87 chrome/browser/browsing_data/browsing_data_database_helper.cc base::FilePath file_path = base 89 chrome/browser/browsing_data/browsing_data_database_helper.cc base::File::Info file_info; base 90 chrome/browser/browsing_data/browsing_data_database_helper.cc if (base::GetFileInfo(file_path, &file_info)) { base 93 chrome/browser/browsing_data/browsing_data_database_helper.cc base::UTF16ToUTF8(*db), base 94 chrome/browser/browsing_data/browsing_data_database_helper.cc base::UTF16ToUTF8(ori->GetDatabaseDescription(*db)), base 104 chrome/browser/browsing_data/browsing_data_database_helper.cc base::Bind(&BrowsingDataDatabaseHelper::NotifyInUIThread, this)); base 122 chrome/browser/browsing_data/browsing_data_database_helper.cc tracker_->DeleteDatabase(origin, base::UTF8ToUTF16(name), base 191 chrome/browser/browsing_data/browsing_data_database_helper.cc const base::Callback<void(const std::list<DatabaseInfo>&)>& callback) { base 207 chrome/browser/browsing_data/browsing_data_database_helper.cc base::Time())); base 211 chrome/browser/browsing_data/browsing_data_database_helper.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, result)); base 29 chrome/browser/browsing_data/browsing_data_database_helper.h : public base::RefCountedThreadSafe<BrowsingDataDatabaseHelper> { base 37 chrome/browser/browsing_data/browsing_data_database_helper.h base::Time last_modified); base 44 chrome/browser/browsing_data/browsing_data_database_helper.h base::Time last_modified; base 53 chrome/browser/browsing_data/browsing_data_database_helper.h const base::Callback<void(const std::list<DatabaseInfo>&)>& callback); base 61 chrome/browser/browsing_data/browsing_data_database_helper.h friend class base::RefCountedThreadSafe<BrowsingDataDatabaseHelper>; base 76 chrome/browser/browsing_data/browsing_data_database_helper.h base::Callback<void(const std::list<DatabaseInfo>&)> completion_callback_; base 143 chrome/browser/browsing_data/browsing_data_database_helper.h const base::Callback<void(const std::list<DatabaseInfo>&)>& callback) base 36 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::string16 db_name = base::ASCIIToUTF16("db"); base 37 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::string16 description = base::ASCIIToUTF16("db_description"); base 42 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::FilePath db_path1 = base 44 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::CreateDirectory(db_path1.DirName()); base 45 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc ASSERT_EQ(0, base::WriteFile(db_path1, NULL, 0)); base 49 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::FilePath db_path2 = base 51 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::CreateDirectory(db_path2.DirName()); base 52 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc ASSERT_EQ(0, base::WriteFile(db_path2, NULL, 0)); base 75 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::MessageLoop::current()->Quit(); base 88 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc database_helper->StartFetching(base::Bind( base 89 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc &StopTestOnCallback::Callback, base::Unretained(&stop_test_on_callback))); base 111 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::Bind(&TestCompletionCallback::callback, base 112 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::Unretained(&callback))); base 142 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::Bind(&TestCompletionCallback::callback, base 143 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc base::Unretained(&callback))); base 35 chrome/browser/browsing_data/browsing_data_file_system_helper.cc virtual void StartFetching(const base::Callback< base 56 chrome/browser/browsing_data/browsing_data_file_system_helper.cc base::SequencedTaskRunner* file_task_runner() { base 75 chrome/browser/browsing_data/browsing_data_file_system_helper.cc base::Callback<void(const std::list<FileSystemInfo>&)> completion_callback_; base 97 chrome/browser/browsing_data/browsing_data_file_system_helper.cc const base::Callback<void(const std::list<FileSystemInfo>&)>& callback) { base 105 chrome/browser/browsing_data/browsing_data_file_system_helper.cc base::Bind( base 115 chrome/browser/browsing_data/browsing_data_file_system_helper.cc base::Bind( base 160 chrome/browser/browsing_data/browsing_data_file_system_helper.cc base::Bind(&BrowsingDataFileSystemHelperImpl::NotifyOnUIThread, this)); base 253 chrome/browser/browsing_data/browsing_data_file_system_helper.cc const base::Callback<void(const std::list<FileSystemInfo>&)>& callback) { base 258 chrome/browser/browsing_data/browsing_data_file_system_helper.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, file_system_info_)); base 44 chrome/browser/browsing_data/browsing_data_file_system_helper.h : public base::RefCountedThreadSafe<BrowsingDataFileSystemHelper> { base 75 chrome/browser/browsing_data/browsing_data_file_system_helper.h virtual void StartFetching(const base::Callback< base 84 chrome/browser/browsing_data/browsing_data_file_system_helper.h friend class base::RefCountedThreadSafe<BrowsingDataFileSystemHelper>; base 133 chrome/browser/browsing_data/browsing_data_file_system_helper.h virtual void StartFetching(const base::Callback< base 152 chrome/browser/browsing_data/browsing_data_file_system_helper.h base::Callback<void(const std::list<FileSystemInfo>&)> completion_callback_; base 71 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 77 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 86 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::MessageLoop::current()->Run(); base 92 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::MessageLoop::current()->Quit(); base 99 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::File::Error error) { base 110 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::Bind( base 112 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::Unretained(this))); base 114 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc return open_file_system_result_ == base::File::FILE_OK; base 143 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::Bind(&BrowsingDataFileSystemHelperTest::CallbackStartFetching, base 144 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::Unretained(this))); base 152 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::Bind(&BrowsingDataFileSystemHelperTest::CallbackStartFetching, base 153 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::Unretained(this))); base 179 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc EXPECT_EQ(base::File::FILE_OK, open_file_system_result_); base 193 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::File::Error open_file_system_result_; base 21 chrome/browser/browsing_data/browsing_data_flash_lso_helper.h : public base::RefCounted<BrowsingDataFlashLSOHelper> { base 23 chrome/browser/browsing_data/browsing_data_flash_lso_helper.h typedef base::Callback<void(const std::vector<std::string>&)> base 33 chrome/browser/browsing_data/browsing_data_flash_lso_helper.h friend class base::RefCounted<BrowsingDataFlashLSOHelper>; base 27 chrome/browser/browsing_data/browsing_data_helper_browsertest.h base::MessageLoop::current()->Run(); base 35 chrome/browser/browsing_data/browsing_data_helper_browsertest.h base::MessageLoop::current()->Quit(); base 34 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc const base::Callback<void(const std::list<IndexedDBInfo>&)>& callback) { base 43 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc base::Bind( base 53 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc base::Bind( base 73 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc base::Bind(&BrowsingDataIndexedDBHelper::NotifyInUIThread, this)); base 92 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc const base::string16& name) base 126 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc const GURL& origin, const base::string16& name) { base 152 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc const base::Callback<void(const std::list<IndexedDBInfo>&)>& callback) { base 161 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc pending_info->origin, 0, base::Time(), base::FilePath(), 0); base 166 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, result)); base 29 chrome/browser/browsing_data/browsing_data_indexed_db_helper.h : public base::RefCountedThreadSafe<BrowsingDataIndexedDBHelper> { base 39 chrome/browser/browsing_data/browsing_data_indexed_db_helper.h const base::Callback<void(const std::list<content::IndexedDBInfo>&)>& base 58 chrome/browser/browsing_data/browsing_data_indexed_db_helper.h base::Callback<void(const std::list<content::IndexedDBInfo>&)> base 68 chrome/browser/browsing_data/browsing_data_indexed_db_helper.h friend class base::RefCountedThreadSafe<BrowsingDataIndexedDBHelper>; base 88 chrome/browser/browsing_data/browsing_data_indexed_db_helper.h PendingIndexedDBInfo(const GURL& origin, const base::string16& name); base 94 chrome/browser/browsing_data/browsing_data_indexed_db_helper.h base::string16 name; base 108 chrome/browser/browsing_data/browsing_data_indexed_db_helper.h const base::string16& name); base 125 chrome/browser/browsing_data/browsing_data_indexed_db_helper.h const base::Callback<void(const std::list<content::IndexedDBInfo>&)>& base 37 chrome/browser/browsing_data/browsing_data_indexed_db_helper_browsertest.cc const base::string16 description(base::ASCIIToUTF16("description")); base 46 chrome/browser/browsing_data/browsing_data_indexed_db_helper_browsertest.cc base::Bind(&TestCompletionCallback::callback, base 47 chrome/browser/browsing_data/browsing_data_indexed_db_helper_browsertest.cc base::Unretained(&callback))); base 62 chrome/browser/browsing_data/browsing_data_indexed_db_helper_browsertest.cc const base::string16 description(base::ASCIIToUTF16("description")); base 71 chrome/browser/browsing_data/browsing_data_indexed_db_helper_browsertest.cc base::Bind(&TestCompletionCallback::callback, base 72 chrome/browser/browsing_data/browsing_data_indexed_db_helper_browsertest.cc base::Unretained(&callback))); base 21 chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc base::MessageLoopProxy::current().get()); base 36 chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc const base::string16 description(base::ASCIIToUTF16("description")); base 50 chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc const base::string16 db1(base::ASCIIToUTF16("db1")); base 53 chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc const base::string16 db2(base::ASCIIToUTF16("db2")); base 54 chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc const base::string16 db3(base::ASCIIToUTF16("db3")); base 71 chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc const base::string16 description(base::ASCIIToUTF16("description")); base 19 chrome/browser/browsing_data/browsing_data_local_storage_helper.cc const GURL& origin_url, int64 size, base::Time last_modified) base 37 chrome/browser/browsing_data/browsing_data_local_storage_helper.cc const base::Callback<void(const std::list<LocalStorageInfo>&)>& callback) { base 45 chrome/browser/browsing_data/browsing_data_local_storage_helper.cc base::Bind( base 69 chrome/browser/browsing_data/browsing_data_local_storage_helper.cc base::Bind(&BrowsingDataLocalStorageHelper::CallCompletionCallback, base 122 chrome/browser/browsing_data/browsing_data_local_storage_helper.cc const base::Callback<void(const std::list<LocalStorageInfo>&)>& callback) { base 130 chrome/browser/browsing_data/browsing_data_local_storage_helper.cc LocalStorageInfo(*iter, 0, base::Time())); base 134 chrome/browser/browsing_data/browsing_data_local_storage_helper.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, result)); base 27 chrome/browser/browsing_data/browsing_data_local_storage_helper.h : public base::RefCounted<BrowsingDataLocalStorageHelper> { base 34 chrome/browser/browsing_data/browsing_data_local_storage_helper.h base::Time last_modified); base 39 chrome/browser/browsing_data/browsing_data_local_storage_helper.h base::Time last_modified; base 47 chrome/browser/browsing_data/browsing_data_local_storage_helper.h const base::Callback<void(const std::list<LocalStorageInfo>&)>& callback); base 53 chrome/browser/browsing_data/browsing_data_local_storage_helper.h friend class base::RefCounted<BrowsingDataLocalStorageHelper>; base 59 chrome/browser/browsing_data/browsing_data_local_storage_helper.h base::Callback<void(const std::list<LocalStorageInfo>&)> completion_callback_; base 101 chrome/browser/browsing_data/browsing_data_local_storage_helper.h const base::Callback<void(const std::list<LocalStorageInfo>&)>& callback) base 36 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc const base::FilePath::CharType kTestFile0[] = base 41 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc const base::FilePath::CharType kTestFile1[] = base 44 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc const base::FilePath::CharType kTestFileInvalid[] = base 48 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc const base::FilePath::CharType kTestFileExtension[] = FILE_PATH_LITERAL( base 56 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::FilePath storage_path = GetLocalStoragePathForTestingProfile(); base 57 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::CreateDirectory(storage_path); base 58 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc const base::FilePath::CharType* kFilesToCreate[] = { base 62 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::FilePath file_path = storage_path.Append(kFilesToCreate[i]); base 63 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::WriteFile(file_path, NULL, 0); base 67 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::FilePath GetLocalStoragePathForTestingProfile() { base 106 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::MessageLoop::current()->Quit(); base 118 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc local_storage_helper->StartFetching(base::Bind( base 119 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc &StopTestOnCallback::Callback, base::Unretained(&stop_test_on_callback))); base 132 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::FileEnumerator file_enumerator( base 135 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::FileEnumerator::FILES); base 137 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc for (base::FilePath file_path = file_enumerator.Next(); base 140 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc ASSERT_FALSE(base::FilePath(kTestFile0) == file_path.BaseName()); base 158 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::Bind(&TestCompletionCallback::callback, base 159 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::Unretained(&callback))); base 182 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::Bind(&TestCompletionCallback::callback, base 183 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc base::Unretained(&callback))); base 38 chrome/browser/browsing_data/browsing_data_quota_helper.cc base::MessageLoopProxy* io_thread) base 34 chrome/browser/browsing_data/browsing_data_quota_helper.h : public base::RefCountedThreadSafe<BrowsingDataQuotaHelper, base 61 chrome/browser/browsing_data/browsing_data_quota_helper.h typedef base::Callback<void(const QuotaInfoArray&)> FetchResultCallback; base 70 chrome/browser/browsing_data/browsing_data_quota_helper.h explicit BrowsingDataQuotaHelper(base::MessageLoopProxy* io_thread_); base 74 chrome/browser/browsing_data/browsing_data_quota_helper.h friend class base::DeleteHelper<BrowsingDataQuotaHelper>; base 76 chrome/browser/browsing_data/browsing_data_quota_helper.h scoped_refptr<base::MessageLoopProxy> io_thread_; base 47 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Bind(&BrowsingDataQuotaHelperImpl::RevokeHostQuota, this, host)); base 53 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Bind(&BrowsingDataQuotaHelperImpl::DidRevokeHostQuota, base 58 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::MessageLoopProxy* ui_thread, base 59 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::MessageLoopProxy* io_thread, base 76 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Bind(&BrowsingDataQuotaHelperImpl::FetchQuotaInfo, this)); base 82 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Time(), base 83 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Bind(&BrowsingDataQuotaHelperImpl::GotOrigins, base 103 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Time(), base 104 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Bind(&BrowsingDataQuotaHelperImpl::GotOrigins, base 109 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Time(), base 110 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Bind(&BrowsingDataQuotaHelperImpl::GotOrigins, base 136 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Bind(&BrowsingDataQuotaHelperImpl::GotHostUsage, base 163 chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc base::Bind(&BrowsingDataQuotaHelperImpl::OnComplete, this)); base 34 chrome/browser/browsing_data/browsing_data_quota_helper_impl.h BrowsingDataQuotaHelperImpl(base::MessageLoopProxy* ui_thread, base 35 chrome/browser/browsing_data/browsing_data_quota_helper_impl.h base::MessageLoopProxy* io_thread, base 64 chrome/browser/browsing_data/browsing_data_quota_helper_impl.h scoped_refptr<base::MessageLoopProxy> ui_thread_; base 65 chrome/browser/browsing_data/browsing_data_quota_helper_impl.h scoped_refptr<base::MessageLoopProxy> io_thread_; base 66 chrome/browser/browsing_data/browsing_data_quota_helper_impl.h base::WeakPtrFactory<BrowsingDataQuotaHelperImpl> weak_factory_; base 51 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 66 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::Bind(&BrowsingDataQuotaHelperTest::FetchCompleted, base 83 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::Bind(&BrowsingDataQuotaHelperTest::GotPersistentHostQuota, base 91 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::Bind(&BrowsingDataQuotaHelperTest::GotPersistentHostQuota, base 118 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::ScopedTempDir dir_; base 124 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::WeakPtrFactory<BrowsingDataQuotaHelperTest> weak_factory_; base 131 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 147 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 176 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 192 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 195 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 198 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 202 chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 90 chrome/browser/browsing_data/browsing_data_remover.cc using base::UserMetricsAction; base 108 chrome/browser/browsing_data/browsing_data_remover.cc : removal_begin(base::Time()), base 121 chrome/browser/browsing_data/browsing_data_remover.cc base::Time removal_begin, base 134 chrome/browser/browsing_data/browsing_data_remover.cc return new BrowsingDataRemover(profile, base::Time(), base::Time::Max()); base 139 chrome/browser/browsing_data/browsing_data_remover.cc base::Time start, base::Time end) { base 170 chrome/browser/browsing_data/browsing_data_remover.cc base::Time::Max()); base 174 chrome/browser/browsing_data/browsing_data_remover.cc base::Time delete_begin, base 175 chrome/browser/browsing_data/browsing_data_remover.cc base::Time delete_end) base 213 chrome/browser/browsing_data/browsing_data_remover.cc DCHECK(delete_end_ != base::Time()); base 214 chrome/browser/browsing_data/browsing_data_remover.cc if (delete_end_ == base::Time()) base 215 chrome/browser/browsing_data/browsing_data_remover.cc delete_end_ = base::Time::Max(); base 282 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnHistoryDeletionDone, base 283 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this)), base 301 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind( base 303 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this), base 310 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearNetworkPredictorOnIOThread, base 311 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 319 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnKeywordsLoaded, base 320 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 375 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&base::DoNothing), base 376 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedAutofillOriginURLs, base 377 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 390 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind( base 394 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedWebRtcLogs, base 395 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 432 chrome/browser/browsing_data/browsing_data_remover.cc if (delete_begin_ == base::Time()) { base 441 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearCookiesOnIOThread, base 442 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this), base::Unretained(sb_context))); base 461 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearServerBoundCertsOnIOThread, base 462 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this), base::Unretained(rq_context))); base 498 chrome/browser/browsing_data/browsing_data_remover.cc base::WaitableEvent* event = base 501 chrome/browser/browsing_data/browsing_data_remover.cc base::WaitableEventWatcher::EventCallback watcher_callback = base 502 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnWaitableEventSignaled, base 503 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this)); base 540 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&base::DoNothing), base 541 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedFormData, base 542 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 561 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearCacheOnIOThread, base 562 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 569 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearNaClCacheOnIOThread, base 570 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 575 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearPnaclCacheOnIOThread, base 576 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this), delete_begin_, delete_end_)); base 609 chrome/browser/browsing_data/browsing_data_remover.cc if (delete_begin_ == base::Time() || base 622 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&DoesOriginMatchMask, origin_set_mask_), base 625 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedStoragePartitionData, base 626 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 653 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearPlatformKeys, base 654 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 666 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedNetworkingHistory, base 667 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 688 chrome/browser/browsing_data/browsing_data_remover.cc base::Time BrowsingDataRemover::CalculateBeginDeleteTime( base 690 chrome/browser/browsing_data/browsing_data_remover.cc base::TimeDelta diff; base 691 chrome/browser/browsing_data/browsing_data_remover.cc base::Time delete_begin_time = base::Time::Now(); base 694 chrome/browser/browsing_data/browsing_data_remover.cc diff = base::TimeDelta::FromHours(1); base 697 chrome/browser/browsing_data/browsing_data_remover.cc diff = base::TimeDelta::FromHours(24); base 700 chrome/browser/browsing_data/browsing_data_remover.cc diff = base::TimeDelta::FromHours(7*24); base 703 chrome/browser/browsing_data/browsing_data_remover.cc diff = base::TimeDelta::FromHours(4*7*24); base 706 chrome/browser/browsing_data/browsing_data_remover.cc delete_begin_time = base::Time(); base 769 chrome/browser/browsing_data/browsing_data_remover.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 788 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedHostnameResolutionCache, base 789 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 818 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&predictors::LoggedInPredictorTable::DeleteAllCreatedBetween, base 822 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedLoggedInPredictor, base 823 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 845 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedNetworkPredictor, base 846 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 893 chrome/browser/browsing_data/browsing_data_remover.cc &cache_, base::Bind(&BrowsingDataRemover::DoClearCache, base 894 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 906 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::DoClearCache, base 907 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 911 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::DoClearCache, base 912 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 925 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearedCache, base 926 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 955 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearedNaClCache, base 956 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 963 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearedNaClCacheOnIOThread, base 964 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 983 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearedPnaclCache, base 984 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 987 chrome/browser/browsing_data/browsing_data_remover.cc void BrowsingDataRemover::ClearPnaclCacheOnIOThread(base::Time begin, base 988 chrome/browser/browsing_data/browsing_data_remover.cc base::Time end) { base 993 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::ClearedPnaclCacheOnIOThread, base 994 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 999 chrome/browser/browsing_data/browsing_data_remover.cc base::WaitableEvent* waitable_event) { base 1033 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedCookies, base 1034 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this), num_deleted)); base 1050 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedCookies, base 1051 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 1061 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedServerBoundCertsOnIOThread, base 1062 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this), base::Unretained(rq_context))); base 1075 chrome/browser/browsing_data/browsing_data_remover.cc base::Bind(&BrowsingDataRemover::OnClearedServerBoundCerts, base 1076 chrome/browser/browsing_data/browsing_data_remover.cc base::Unretained(this))); base 128 chrome/browser/browsing_data/browsing_data_remover.h NotificationDetails(base::Time removal_begin, base 134 chrome/browser/browsing_data/browsing_data_remover.h base::Time removal_begin; base 162 chrome/browser/browsing_data/browsing_data_remover.h base::Time delete_begin, base 163 chrome/browser/browsing_data/browsing_data_remover.h base::Time delete_end); base 172 chrome/browser/browsing_data/browsing_data_remover.h static base::Time CalculateBeginDeleteTime(TimePeriod time_period); base 220 chrome/browser/browsing_data/browsing_data_remover.h base::Time delete_begin, base 221 chrome/browser/browsing_data/browsing_data_remover.h base::Time delete_end); base 226 chrome/browser/browsing_data/browsing_data_remover.h friend class base::DeleteHelper<BrowsingDataRemover>; base 234 chrome/browser/browsing_data/browsing_data_remover.h void OnWaitableEventSignaled(base::WaitableEvent* waitable_event); base 315 chrome/browser/browsing_data/browsing_data_remover.h void ClearPnaclCacheOnIOThread(base::Time begin, base::Time end); base 362 chrome/browser/browsing_data/browsing_data_remover.h const base::Time delete_begin_; base 365 chrome/browser/browsing_data/browsing_data_remover.h base::Time delete_end_; base 380 chrome/browser/browsing_data/browsing_data_remover.h base::WaitableEventWatcher watcher_; base 423 chrome/browser/browsing_data/browsing_data_remover.h base::CancelableTaskTracker history_task_tracker_; base 30 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc void SetUrlRequestMock(const base::FilePath& path) { base 40 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc base::FilePath path; base 43 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc BrowserThread::IO, FROM_HERE, base::Bind(&SetUrlRequestMock, path)); base 63 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc base::ScopedTempDir downloads_directory; base 77 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc base::FilePath().AppendASCII("downloads"), base 78 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc base::FilePath().AppendASCII("a_zip_file.zip")); base 121 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc base::FilePath().AppendASCII("simple_database.html"))); base 85 chrome/browser/browsing_data/browsing_data_remover_unittest.cc const base::FilePath::CharType kDomStorageOrigin1[] = base 88 chrome/browser/browsing_data/browsing_data_remover_unittest.cc const base::FilePath::CharType kDomStorageOrigin2[] = base 91 chrome/browser/browsing_data/browsing_data_remover_unittest.cc const base::FilePath::CharType kDomStorageOrigin3[] = base 94 chrome/browser/browsing_data/browsing_data_remover_unittest.cc const base::FilePath::CharType kDomStorageExt[] = FILE_PATH_LITERAL( base 106 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::MessageLoop::current()->Run(); base 116 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::MessageLoop::current()->Quit(); base 141 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::MessageLoop::current()->PostTask( base 143 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Bind(callback, chromeos::DBUS_METHOD_CALL_SUCCESS, true)); base 151 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time remove_begin; base 152 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time remove_end; base 165 chrome/browser/browsing_data/browsing_data_remover_unittest.cc virtual base::FilePath GetPath() OVERRIDE { return base::FilePath(); } base 204 chrome/browser/browsing_data/browsing_data_remover_unittest.cc const base::Time begin, base 205 chrome/browser/browsing_data/browsing_data_remover_unittest.cc const base::Time end, base 206 chrome/browser/browsing_data/browsing_data_remover_unittest.cc const base::Closure& callback) OVERRIDE { base 219 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Bind(&TestStoragePartition::AsyncRunCallback, base 220 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Unretained(this), callback)); base 227 chrome/browser/browsing_data/browsing_data_remover_unittest.cc void AsyncRunCallback(const base::Closure& callback) { base 250 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Bind(&RemoveCookieTester::GetCookieCallback, base 251 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Unretained(this))); base 259 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Bind(&RemoveCookieTester::SetCookieCallback, base 260 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Unretained(this))); base 301 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 314 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 346 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time creation_time, base 347 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time expiration_time) { base 358 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time now = base::Time::Now(); base 361 chrome/browser/browsing_data/browsing_data_remover_unittest.cc now + base::TimeDelta::FromDays(1)); base 366 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Bind(&RemoveServerBoundCertTester::GetAllCertsCallback, certs)); base 414 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Bind(&RemoveHistoryTester::SaveResultAndQuit, base 415 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Unretained(this))); base 420 chrome/browser/browsing_data/browsing_data_remover_unittest.cc void AddHistory(const GURL& url, base::Time time) { base 494 chrome/browser/browsing_data/browsing_data_remover_unittest.cc profile.set_guid(base::GenerateGUID()); base 496 chrome/browser/browsing_data/browsing_data_remover_unittest.cc profile.SetRawInfo(autofill::NAME_FIRST, base::ASCIIToUTF16("Bob")); base 497 chrome/browser/browsing_data/browsing_data_remover_unittest.cc profile.SetRawInfo(autofill::NAME_LAST, base::ASCIIToUTF16("Smith")); base 498 chrome/browser/browsing_data/browsing_data_remover_unittest.cc profile.SetRawInfo(autofill::ADDRESS_HOME_ZIP, base::ASCIIToUTF16("94043")); base 500 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::ASCIIToUTF16("sue@example.com")); base 501 chrome/browser/browsing_data/browsing_data_remover_unittest.cc profile.SetRawInfo(autofill::COMPANY_NAME, base::ASCIIToUTF16("Company X")); base 504 chrome/browser/browsing_data/browsing_data_remover_unittest.cc profile.set_guid(base::GenerateGUID()); base 509 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::MessageLoop::current()->Run(); base 513 chrome/browser/browsing_data/browsing_data_remover_unittest.cc card.set_guid(base::GenerateGUID()); base 516 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::ASCIIToUTF16("1234-5678-9012-3456")); base 519 chrome/browser/browsing_data/browsing_data_remover_unittest.cc card.set_guid(base::GenerateGUID()); base 524 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::MessageLoop::current()->Run(); base 529 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::MessageLoop::current()->Quit(); base 559 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::FilePath storage_path = base 561 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::CreateDirectory(storage_path); base 564 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::WriteFile(storage_path.Append(kDomStorageOrigin1), NULL, 0); base 565 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::WriteFile(storage_path.Append(kDomStorageOrigin2), NULL, 0); base 566 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::WriteFile(storage_path.Append(kDomStorageOrigin3), NULL, 0); base 567 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::WriteFile(storage_path.Append(kDomStorageExt), NULL, 0); base 570 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time now = base::Time::Now(); base 571 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::TouchFile(storage_path.Append(kDomStorageOrigin1), now, now); base 573 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time one_day_ago = now - base::TimeDelta::FromDays(1); base 574 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::TouchFile(storage_path.Append(kDomStorageOrigin2), base 577 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time sixty_days_ago = now - base::TimeDelta::FromDays(60); base 578 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::TouchFile(storage_path.Append(kDomStorageOrigin3), base 581 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::TouchFile(storage_path.Append(kDomStorageExt), now, now); base 587 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Bind(&RemoveLocalStorageTester::OnGotLocalStorageUsage, base 588 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Unretained(this))); base 628 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 684 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time GetBeginTime() { base 823 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time now = base::Time::Now(); base 826 chrome/browser/browsing_data/browsing_data_remover_unittest.cc now - base::TimeDelta::FromHours(2), base 946 chrome/browser/browsing_data/browsing_data_remover_unittest.cc tester.AddHistory(kOrigin1, base::Time::Now()); base 961 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time two_hours_ago = base::Time::Now() - base::TimeDelta::FromHours(2); base 963 chrome/browser/browsing_data/browsing_data_remover_unittest.cc tester.AddHistory(kOrigin1, base::Time::Now()); base 986 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time two_hours_ago = base::Time::Now() - base::TimeDelta::FromHours(2); base 988 chrome/browser/browsing_data/browsing_data_remover_unittest.cc tester.AddHistory(kOrigin1, base::Time::Now()); base 1008 chrome/browser/browsing_data/browsing_data_remover_unittest.cc history_tester.AddHistory(kOrigin1, base::Time::Now()); base 1042 chrome/browser/browsing_data/browsing_data_remover_unittest.cc history_tester.AddHistory(kOrigin1, base::Time::Now()); base 1482 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time two_hours_ago = base::Time::Now() - base::TimeDelta::FromHours(2); base 1484 chrome/browser/browsing_data/browsing_data_remover_unittest.cc tester.AddHistory(kOrigin1, base::Time::Now()); base 1504 chrome/browser/browsing_data/browsing_data_remover_unittest.cc base::Time two_hours_ago = base::Time::Now() - base::TimeDelta::FromHours(2); base 1506 chrome/browser/browsing_data/browsing_data_remover_unittest.cc tester.AddHistory(kOrigin1, base::Time::Now()); base 82 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc base::Bind(&BrowsingDataServerBoundCertHelperImpl::FetchOnIOThread, base 91 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc base::Bind(&BrowsingDataServerBoundCertHelperImpl::DeleteOnIOThread, base 101 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc cert_store->GetAllServerBoundCerts(base::Bind( base 113 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc base::Bind(&BrowsingDataServerBoundCertHelperImpl::NotifyInUIThread, base 135 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc base::Bind(&BrowsingDataServerBoundCertHelperImpl::DeleteCallback, base 201 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc base::MessageLoop::current()->PostTask( base 203 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc base::Bind(&CannedBrowsingDataServerBoundCertHelper::FinishFetching, base 22 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h : public base::RefCountedThreadSafe<BrowsingDataServerBoundCertHelper> { base 29 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h typedef base::Callback< base 42 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h friend class base::RefCountedThreadSafe<BrowsingDataServerBoundCertHelper>; base 42 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::Time(), base::Time(), base 45 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::Time(), base::Time(), base 75 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::Bind(&BrowsingDataServerBoundCertHelperTest::FetchCallback, base 76 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::Unretained(this))); base 80 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 107 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::Bind(&BrowsingDataServerBoundCertHelperTest::FetchCallback, base 108 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::Unretained(this))); base 109 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 124 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::Bind(&BrowsingDataServerBoundCertHelperTest::FetchCallback, base 125 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::Unretained(this))); base 126 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 140 chrome/browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc origin, base::Time(), base::Time(), "key", "cert")); base 282 chrome/browser/browsing_data/cookies_tree_model.cc : CookieTreeNode(base::UTF8ToUTF16(cookie->Name())), base 305 chrome/browser/browsing_data/cookies_tree_model.cc : CookieTreeNode(base::UTF8ToUTF16(appcache_info->manifest_url.spec())), base 335 chrome/browser/browsing_data/cookies_tree_model.cc base::UTF8ToUTF16(database_info->database_name)), base 361 chrome/browser/browsing_data/cookies_tree_model.cc : CookieTreeNode(base::UTF8ToUTF16(local_storage_info->origin_url.spec())), base 390 chrome/browser/browsing_data/cookies_tree_model.cc base::UTF8ToUTF16(session_storage_info->origin_url.spec())), base 419 chrome/browser/browsing_data/cookies_tree_model.cc : CookieTreeNode(base::UTF8ToUTF16( base 446 chrome/browser/browsing_data/cookies_tree_model.cc : CookieTreeNode(base::UTF8ToUTF16( base 472 chrome/browser/browsing_data/cookies_tree_model.cc : CookieTreeNode(base::UTF8ToUTF16(quota_info->host)), base 498 chrome/browser/browsing_data/cookies_tree_model.cc : CookieTreeNode(base::ASCIIToUTF16(cert->server_identifier())), base 560 chrome/browser/browsing_data/cookies_tree_model.cc base::string16 CookieTreeHostNode::TitleForUrl(const GURL& url) { base 563 chrome/browser/browsing_data/cookies_tree_model.cc return base::UTF8ToUTF16(url.SchemeIsFile() ? file_origin_node_name base 947 chrome/browser/browsing_data/cookies_tree_model.cc void CookiesTreeModel::UpdateSearchResults(const base::string16& filter) { base 994 chrome/browser/browsing_data/cookies_tree_model.cc PopulateAppCacheInfoWithFilter(container, ¬ifier, base::string16()); base 999 chrome/browser/browsing_data/cookies_tree_model.cc PopulateCookieInfoWithFilter(container, ¬ifier, base::string16()); base 1004 chrome/browser/browsing_data/cookies_tree_model.cc PopulateDatabaseInfoWithFilter(container, ¬ifier, base::string16()); base 1009 chrome/browser/browsing_data/cookies_tree_model.cc PopulateLocalStorageInfoWithFilter(container, ¬ifier, base::string16()); base 1015 chrome/browser/browsing_data/cookies_tree_model.cc PopulateSessionStorageInfoWithFilter(container, ¬ifier, base::string16()); base 1020 chrome/browser/browsing_data/cookies_tree_model.cc PopulateIndexedDBInfoWithFilter(container, ¬ifier, base::string16()); base 1025 chrome/browser/browsing_data/cookies_tree_model.cc PopulateFileSystemInfoWithFilter(container, ¬ifier, base::string16()); base 1030 chrome/browser/browsing_data/cookies_tree_model.cc PopulateQuotaInfoWithFilter(container, ¬ifier, base::string16()); base 1036 chrome/browser/browsing_data/cookies_tree_model.cc PopulateServerBoundCertInfoWithFilter(container, ¬ifier, base::string16()); base 1042 chrome/browser/browsing_data/cookies_tree_model.cc PopulateFlashLSOInfoWithFilter(container, ¬ifier, base::string16()); base 1048 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1059 chrome/browser/browsing_data/cookies_tree_model.cc base::string16 host_node_name = base::UTF8ToUTF16(origin->first.host()); base 1061 chrome/browser/browsing_data/cookies_tree_model.cc (host_node_name.find(filter) != base::string16::npos)) { base 1078 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1098 chrome/browser/browsing_data/cookies_tree_model.cc base::string16::npos)) { base 1111 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1126 chrome/browser/browsing_data/cookies_tree_model.cc base::string16::npos)) { base 1139 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1167 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1182 chrome/browser/browsing_data/cookies_tree_model.cc base::string16::npos)) { base 1195 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1210 chrome/browser/browsing_data/cookies_tree_model.cc base::string16::npos)) { base 1223 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1242 chrome/browser/browsing_data/cookies_tree_model.cc base::string16 title = CookieTreeHostNode::TitleForUrl(origin); base 1243 chrome/browser/browsing_data/cookies_tree_model.cc if (!filter.size() || title.find(filter) != base::string16::npos) { base 1256 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1271 chrome/browser/browsing_data/cookies_tree_model.cc base::string16::npos)) { base 1284 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1295 chrome/browser/browsing_data/cookies_tree_model.cc (base::UTF8ToUTF16(quota_info->host).find(filter) != base 1296 chrome/browser/browsing_data/cookies_tree_model.cc base::string16::npos)) { base 1307 chrome/browser/browsing_data/cookies_tree_model.cc const base::string16& filter) { base 1313 chrome/browser/browsing_data/cookies_tree_model.cc std::string filter_utf8 = base::UTF16ToUTF8(filter); base 141 chrome/browser/browsing_data/cookies_tree_model.h explicit CookieTreeNode(const base::string16& title) base 186 chrome/browser/browsing_data/cookies_tree_model.h static base::string16 TitleForUrl(const GURL& url); base 641 chrome/browser/browsing_data/cookies_tree_model.h void UpdateSearchResults(const base::string16& filter); base 687 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 690 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 693 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 696 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 699 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 702 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 705 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 708 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 712 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 715 chrome/browser/browsing_data/cookies_tree_model.h const base::string16& filter); base 45 chrome/browser/browsing_data/cookies_tree_model_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 88 chrome/browser/browsing_data/cookies_tree_model_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 399 chrome/browser/browsing_data/cookies_tree_model_unittest.cc cookies_model->UpdateSearchResults(base::string16()); base 1138 chrome/browser/browsing_data/cookies_tree_model_unittest.cc cookies_model->UpdateSearchResults(base::ASCIIToUTF16("fshost1")); base 1142 chrome/browser/browsing_data/cookies_tree_model_unittest.cc cookies_model->UpdateSearchResults(base::ASCIIToUTF16("fshost2")); base 1146 chrome/browser/browsing_data/cookies_tree_model_unittest.cc cookies_model->UpdateSearchResults(base::ASCIIToUTF16("fshost3")); base 1150 chrome/browser/browsing_data/cookies_tree_model_unittest.cc cookies_model->UpdateSearchResults(base::string16()); base 1181 chrome/browser/browsing_data/cookies_tree_model_unittest.cc cookies_model.UpdateSearchResults(base::string16(base::ASCIIToUTF16("foo"))); base 1184 chrome/browser/browsing_data/cookies_tree_model_unittest.cc cookies_model.UpdateSearchResults(base::string16(base::ASCIIToUTF16("2"))); base 1187 chrome/browser/browsing_data/cookies_tree_model_unittest.cc cookies_model.UpdateSearchResults(base::string16(base::ASCIIToUTF16("foo3"))); base 1190 chrome/browser/browsing_data/cookies_tree_model_unittest.cc cookies_model.UpdateSearchResults(base::string16()); base 50 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnCookiesModelInfoLoaded, base 55 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnDatabaseModelInfoLoaded, base 61 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnLocalStorageModelInfoLoaded, base 67 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnSessionStorageModelInfoLoaded, base 75 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnAppCacheModelInfoLoaded, base 81 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnIndexedDBModelInfoLoaded, base 87 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnFileSystemModelInfoLoaded, base 93 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnQuotaModelInfoLoaded, base 99 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnServerBoundCertModelInfoLoaded, base 105 chrome/browser/browsing_data/local_data_container.cc base::Bind(&LocalDataContainer::OnFlashLSOInfoLoaded, base 138 chrome/browser/browsing_data/local_data_container.h base::WeakPtrFactory<LocalDataContainer> weak_ptr_factory_; base 18 chrome/browser/browsing_data/mock_browsing_data_appcache_helper.cc const base::Closure& completion_callback) { base 16 chrome/browser/browsing_data/mock_browsing_data_appcache_helper.h virtual void StartFetching(const base::Closure& completion_callback) OVERRIDE; base 18 chrome/browser/browsing_data/mock_browsing_data_database_helper.cc const base::Callback<void(const std::list<DatabaseInfo>&)>& callback) { base 36 chrome/browser/browsing_data/mock_browsing_data_database_helper.cc id1, "db1", "description 1", 1, base::Time())); base 41 chrome/browser/browsing_data/mock_browsing_data_database_helper.cc id2, "db2", "description 2", 2, base::Time())); base 22 chrome/browser/browsing_data/mock_browsing_data_database_helper.h const base::Callback<void(const std::list<DatabaseInfo>&)>& callback) base 48 chrome/browser/browsing_data/mock_browsing_data_database_helper.h base::Callback<void(const std::list<DatabaseInfo>&)> callback_; base 17 chrome/browser/browsing_data/mock_browsing_data_file_system_helper.cc const base::Callback<void(const std::list<FileSystemInfo>&)>& callback) { base 23 chrome/browser/browsing_data/mock_browsing_data_file_system_helper.h virtual void StartFetching(const base::Callback< base 51 chrome/browser/browsing_data/mock_browsing_data_file_system_helper.h base::Callback<void(const std::list<FileSystemInfo>&)> callback_; base 24 chrome/browser/browsing_data/mock_browsing_data_indexed_db_helper.cc const base::Callback<void(const std::list<content::IndexedDBInfo>&)>& base 38 chrome/browser/browsing_data/mock_browsing_data_indexed_db_helper.cc content::IndexedDBInfo info1(kOrigin1, 1, base::Time(), base::FilePath(), 0); base 41 chrome/browser/browsing_data/mock_browsing_data_indexed_db_helper.cc content::IndexedDBInfo info2(kOrigin2, 2, base::Time(), base::FilePath(), 0); base 40 chrome/browser/browsing_data/mock_browsing_data_indexed_db_helper.h const base::Callback<void(const std::list<content::IndexedDBInfo>&)>& base 47 chrome/browser/browsing_data/mock_browsing_data_indexed_db_helper.h base::Callback<void(const std::list<content::IndexedDBInfo>&)> callback_; base 19 chrome/browser/browsing_data/mock_browsing_data_local_storage_helper.cc const base::Callback<void(const std::list<LocalStorageInfo>&)>& callback) { base 35 chrome/browser/browsing_data/mock_browsing_data_local_storage_helper.cc kOrigin1, 1, base::Time())); base 39 chrome/browser/browsing_data/mock_browsing_data_local_storage_helper.cc kOrigin2, 2, base::Time())); base 25 chrome/browser/browsing_data/mock_browsing_data_local_storage_helper.h const base::Callback<void(const std::list<LocalStorageInfo>&)>& callback) base 47 chrome/browser/browsing_data/mock_browsing_data_local_storage_helper.h base::Callback<void(const std::list<LocalStorageInfo>&)> callback_; base 31 chrome/browser/browsing_data/mock_browsing_data_server_bound_cert_helper.cc server_id, base::Time(), base::Time(), "key", "cert")); base 117 chrome/browser/captive_portal/captive_portal_browsertest.cc public base::NonThreadSafe { base 215 chrome/browser/captive_portal/captive_portal_browsertest.cc base::Bind(&URLRequestTimeoutOnDemandJob::WaitForJobsOnIOThread, base 224 chrome/browser/captive_portal/captive_portal_browsertest.cc base::Bind(&URLRequestTimeoutOnDemandJob::FailOrAbandonJobsOnIOThread, base 233 chrome/browser/captive_portal/captive_portal_browsertest.cc base::Bind(&URLRequestTimeoutOnDemandJob::FailOrAbandonJobsOnIOThread, base 293 chrome/browser/captive_portal/captive_portal_browsertest.cc base::MessageLoop::QuitClosure()); base 370 chrome/browser/captive_portal/captive_portal_browsertest.cc base::Bind( base 379 chrome/browser/captive_portal/captive_portal_browsertest.cc base::Bind( base 419 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath root_http; base 582 chrome/browser/captive_portal/captive_portal_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 663 chrome/browser/captive_portal/captive_portal_browsertest.cc if (contents->GetTitle() != base::ASCIIToUTF16(kInternetConnectedTitle)) base 671 chrome/browser/captive_portal/captive_portal_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 765 chrome/browser/captive_portal/captive_portal_browsertest.cc base::MessageLoop::current()->Quit(); base 781 chrome/browser/captive_portal/captive_portal_browsertest.cc base::Time expiry = base::Time::Now() + base::TimeDelta::FromDays(1000); base 937 chrome/browser/captive_portal/captive_portal_browsertest.cc base::TimeDelta slow_ssl_load_time); base 952 chrome/browser/captive_portal/captive_portal_browsertest.cc base::Bind(&chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 1058 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta()); base 1089 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta::FromDays(1)); base 1101 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta::FromHours(1)); base 1167 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta()); base 1224 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta::FromHours(1)); base 1249 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta::FromHours(1)); base 1322 chrome/browser/captive_portal/captive_portal_browsertest.cc render_frame_host->ExecuteJavaScript(base::ASCIIToUTF16("submitForm()")); base 1369 chrome/browser/captive_portal/captive_portal_browsertest.cc render_frame_host->ExecuteJavaScript(base::ASCIIToUTF16("submitForm()")); base 1490 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta::FromSeconds(2)); base 1521 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta::FromDays(1)); base 1530 chrome/browser/captive_portal/captive_portal_browsertest.cc base::TimeDelta slow_ssl_load_time) { base 1560 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 1615 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 1703 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 1722 chrome/browser/captive_portal/captive_portal_browsertest.cc render_frame_host->ExecuteJavaScript(base::ASCIIToUTF16("submitForm()")); base 1799 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html"))), base 1865 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html")))); base 1912 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title.html"))), base 1923 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html")))); base 1956 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html")))); base 1966 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta()); base 1997 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta::FromDays(1)); base 2021 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta()); base 2050 chrome/browser/captive_portal/captive_portal_browsertest.cc SetSlowSSLLoadTime(tab_reloader, base::TimeDelta::FromDays(1)); base 2159 chrome/browser/captive_portal/captive_portal_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 2193 chrome/browser/captive_portal/captive_portal_browsertest.cc base::Bind(&AddHstsHost, base 105 chrome/browser/captive_portal/captive_portal_detector.cc results->retry_after_delta = base::TimeDelta(); base 126 chrome/browser/captive_portal/captive_portal_detector.cc base::Time full_date; base 127 chrome/browser/captive_portal/captive_portal_detector.cc if (base::StringToInt(retry_after_string, &seconds)) { base 128 chrome/browser/captive_portal/captive_portal_detector.cc results->retry_after_delta = base::TimeDelta::FromSeconds(seconds); base 130 chrome/browser/captive_portal/captive_portal_detector.cc base::Time now = GetCurrentTime(); base 159 chrome/browser/captive_portal/captive_portal_detector.cc base::Time CaptivePortalDetector::GetCurrentTime() const { base 161 chrome/browser/captive_portal/captive_portal_detector.cc return base::Time::Now(); base 36 chrome/browser/captive_portal/captive_portal_detector.h public base::NonThreadSafe { base 46 chrome/browser/captive_portal/captive_portal_detector.h base::TimeDelta retry_after_delta; base 50 chrome/browser/captive_portal/captive_portal_detector.h typedef base::Callback<void(const Results& results)> DetectionCallback; base 88 chrome/browser/captive_portal/captive_portal_detector.h base::Time GetCurrentTime() const; base 94 chrome/browser/captive_portal/captive_portal_detector.h void set_time_for_testing(const base::Time& time) { base 99 chrome/browser/captive_portal/captive_portal_detector.h void advance_time_for_testing(const base::TimeDelta& delta) { base 111 chrome/browser/captive_portal/captive_portal_detector.h base::Time time_for_testing_; base 69 chrome/browser/captive_portal/captive_portal_detector_unittest.cc base::Bind(&CaptivePortalClient::OnPortalDetectionCompleted, base 70 chrome/browser/captive_portal/captive_portal_detector_unittest.cc base::Unretained(&client))); base 73 chrome/browser/captive_portal/captive_portal_detector_unittest.cc base::RunLoop().RunUntilIdle(); base 93 chrome/browser/captive_portal/captive_portal_detector_unittest.cc base::Bind(&CaptivePortalClient::OnPortalDetectionCompleted, base 94 chrome/browser/captive_portal/captive_portal_detector_unittest.cc base::Unretained(&client))); base 97 chrome/browser/captive_portal/captive_portal_detector_unittest.cc base::RunLoop().RunUntilIdle(); base 155 chrome/browser/captive_portal/captive_portal_detector_unittest.cc results.retry_after_delta = base::TimeDelta::FromSeconds(101); base 160 chrome/browser/captive_portal/captive_portal_detector_unittest.cc results.retry_after_delta = base::TimeDelta(); base 172 chrome/browser/captive_portal/captive_portal_detector_unittest.cc base::Time start_time; base 173 chrome/browser/captive_portal/captive_portal_detector_unittest.cc ASSERT_TRUE(base::Time::FromString("Tue, 17 Apr 2012 18:02:00 GMT", base 175 chrome/browser/captive_portal/captive_portal_detector_unittest.cc base::Time retry_after_time; base 176 chrome/browser/captive_portal/captive_portal_detector_unittest.cc ASSERT_TRUE(base::Time::FromString("Tue, 17 Apr 2012 18:02:51 GMT", base 58 chrome/browser/captive_portal/captive_portal_service.cc base::TimeDelta result_duration) { base 63 chrome/browser/captive_portal/captive_portal_service.cc base::HistogramBase* result_repeated_histogram = base 64 chrome/browser/captive_portal/captive_portal_service.cc base::Histogram::FactoryGet( base 70 chrome/browser/captive_portal/captive_portal_service.cc base::Histogram::kUmaTargetedHistogramFlag); base 77 chrome/browser/captive_portal/captive_portal_service.cc base::HistogramBase* result_duration_histogram = base 78 chrome/browser/captive_portal/captive_portal_service.cc base::Histogram::FactoryTimeGet( base 81 chrome/browser/captive_portal/captive_portal_service.cc base::TimeDelta::FromSeconds(1), // min base 82 chrome/browser/captive_portal/captive_portal_service.cc base::TimeDelta::FromHours(1), // max base 84 chrome/browser/captive_portal/captive_portal_service.cc base::Histogram::kUmaTargetedHistogramFlag); base 116 chrome/browser/captive_portal/captive_portal_service.cc return base::win::GetVersion() >= base::win::VERSION_WIN8; base 136 chrome/browser/captive_portal/captive_portal_service.cc virtual base::TimeTicks ImplGetTimeNow() const OVERRIDE { base 186 chrome/browser/captive_portal/captive_portal_service.cc base::Bind(&CaptivePortalService::UpdateEnabledState, base 187 chrome/browser/captive_portal/captive_portal_service.cc base::Unretained(this))); base 203 chrome/browser/captive_portal/captive_portal_service.cc base::TimeDelta time_until_next_check = backoff_entry_->GetTimeUntilRelease(); base 231 chrome/browser/captive_portal/captive_portal_service.cc test_url_, base::Bind( base 233 chrome/browser/captive_portal/captive_portal_service.cc base::Unretained(this))); base 244 chrome/browser/captive_portal/captive_portal_service.cc const base::TimeDelta& retry_after_delta = results.retry_after_delta; base 245 chrome/browser/captive_portal/captive_portal_service.cc base::TimeTicks now = GetCurrentTimeTicks(); base 350 chrome/browser/captive_portal/captive_portal_service.cc first_check_time_with_same_result_ = base::TimeTicks(); base 351 chrome/browser/captive_portal/captive_portal_service.cc last_check_time_ = base::TimeTicks(); base 368 chrome/browser/captive_portal/captive_portal_service.cc base::TimeTicks CaptivePortalService::GetCurrentTimeTicks() const { base 370 chrome/browser/captive_portal/captive_portal_service.cc return base::TimeTicks::Now(); base 30 chrome/browser/captive_portal/captive_portal_service.h class CaptivePortalService : public KeyedService, public base::NonThreadSafe { base 136 chrome/browser/captive_portal/captive_portal_service.h base::TimeTicks GetCurrentTimeTicks() const; base 150 chrome/browser/captive_portal/captive_portal_service.h void set_time_ticks_for_testing(const base::TimeTicks& time_ticks) { base 155 chrome/browser/captive_portal/captive_portal_service.h void advance_time_ticks_for_testing(const base::TimeDelta& delta) { base 178 chrome/browser/captive_portal/captive_portal_service.h base::TimeTicks first_check_time_with_same_result_; base 181 chrome/browser/captive_portal/captive_portal_service.h base::TimeTicks last_check_time_; base 200 chrome/browser/captive_portal/captive_portal_service.h base::OneShotTimer<CaptivePortalService> check_captive_portal_timer_; base 205 chrome/browser/captive_portal/captive_portal_service.h base::TimeTicks time_ticks_for_testing_; base 103 chrome/browser/captive_portal/captive_portal_service_unittest.cc service_->set_time_ticks_for_testing(base::TimeTicks::Now()); base 106 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta()); base 107 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_portal(base::TimeDelta()); base 110 chrome/browser/captive_portal/captive_portal_service_unittest.cc SetTime(base::Time::Now()); base 117 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_maximum_backoff(base::TimeDelta::FromSeconds(1600)); base 152 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::TimeDelta expected_delay = base 153 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::TimeDelta::FromSeconds(expected_delay_secs); base 159 chrome/browser/captive_portal/captive_portal_service_unittest.cc ASSERT_EQ(base::TimeDelta(), GetTimeUntilNextRequest()); base 168 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::RunLoop().RunUntilIdle(); base 184 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::TimeDelta expected_delay = base 185 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::TimeDelta::FromSeconds(expected_delay_secs); base 191 chrome/browser/captive_portal/captive_portal_service_unittest.cc ASSERT_EQ(base::TimeDelta(), GetTimeUntilNextRequest()); base 200 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::RunLoop().RunUntilIdle(); base 223 chrome/browser/captive_portal/captive_portal_service_unittest.cc void AdvanceTime(const base::TimeDelta& delta) { base 232 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::TimeDelta GetTimeUntilNextRequest() { base 237 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::TimeDelta initial_backoff_no_portal) { base 242 chrome/browser/captive_portal/captive_portal_service_unittest.cc void set_initial_backoff_portal(base::TimeDelta initial_backoff_portal) { base 247 chrome/browser/captive_portal/captive_portal_service_unittest.cc void set_maximum_backoff(base::TimeDelta maximum_backoff) { base 299 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_portal(base::TimeDelta::FromSeconds(1)); base 301 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(100)); base 316 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_portal(base::TimeDelta::FromDays(1)); base 318 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(100)); base 332 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(250)); base 334 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_portal(base::TimeDelta::FromSeconds(100)); base 349 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta::FromDays(1)); base 351 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_portal(base::TimeDelta::FromSeconds(100)); base 373 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::RunLoop().RunUntilIdle(); base 382 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::RunLoop().RunUntilIdle(); base 395 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta::FromDays(1)); base 407 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::RunLoop().RunUntilIdle(); base 433 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::RunLoop().RunUntilIdle(); base 455 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(100)); base 470 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(100)); base 481 chrome/browser/captive_portal/captive_portal_service_unittest.cc EXPECT_EQ(base::TimeDelta::FromSeconds(0), GetTimeUntilNextRequest()); base 488 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(100)); base 494 chrome/browser/captive_portal/captive_portal_service_unittest.cc EXPECT_EQ(base::TimeDelta::FromSeconds(100), GetTimeUntilNextRequest()); base 500 chrome/browser/captive_portal/captive_portal_service_unittest.cc set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(50)); base 504 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::Time start_time; base 506 chrome/browser/captive_portal/captive_portal_service_unittest.cc base::Time::FromString("Tue, 17 Apr 2012 18:02:00 GMT", &start_time)); base 514 chrome/browser/captive_portal/captive_portal_service_unittest.cc EXPECT_EQ(base::TimeDelta::FromSeconds(51), GetTimeUntilNextRequest()); base 43 chrome/browser/captive_portal/captive_portal_tab_helper.cc base::Bind(&CaptivePortalTabHelper::OpenLoginTab, base 44 chrome/browser/captive_portal/captive_portal_tab_helper.cc base::Unretained(this)))), base 101 chrome/browser/captive_portal/captive_portal_tab_helper.cc const base::string16& frame_unique_name, base 131 chrome/browser/captive_portal/captive_portal_tab_helper.cc const base::string16& frame_unique_name, base 135 chrome/browser/captive_portal/captive_portal_tab_helper.cc const base::string16& error_description, base 62 chrome/browser/captive_portal/captive_portal_tab_helper.h public base::NonThreadSafe, base 82 chrome/browser/captive_portal/captive_portal_tab_helper.h const base::string16& frame_unique_name, base 90 chrome/browser/captive_portal/captive_portal_tab_helper.h const base::string16& frame_unique_name, base 94 chrome/browser/captive_portal/captive_portal_tab_helper.h const base::string16& error_description, base 50 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc : CaptivePortalTabReloader(NULL, NULL, base::Callback<void()>()) { base 94 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, url, content::PAGE_TRANSITION_LINK, base 106 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, url, net::ERR_TIMED_OUT, base::string16(), base 115 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, GURL(kErrorPageUrl), base 130 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, url, net::ERR_ABORTED, base::string16(), base 153 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, url, net::ERR_TIMED_OUT, base::string16(), base 163 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, url, net::ERR_ABORTED, base::string16(), base 252 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, GURL(kErrorPageUrl), base 335 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, cross_process_url, net::ERR_FAILED, base 336 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc base::string16(), render_view_host2()); base 340 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, same_site_url, net::ERR_ABORTED, base 341 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc base::string16(), render_view_host1()); base 350 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, GURL(kErrorPageUrl), base 377 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, cross_process_url, net::ERR_FAILED, base 378 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc base::string16(), base 387 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, same_site_url, content::PAGE_TRANSITION_LINK, base 399 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), false, url, content::PAGE_TRANSITION_LINK, base 406 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 2, base::string16(), false, url, net::ERR_TIMED_OUT, base::string16(), base 411 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 2, base::string16(), false, url, net::ERR_ABORTED, base::string16(), base 418 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 3, base::string16(), false, url, net::ERR_ABORTED, base::string16(), base 441 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc frame_id, base::string16(), true, url, net::ERR_UNEXPECTED, base 442 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc base::string16(), render_view_host1()); base 444 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc subframe_id, base::string16(), false, url, net::ERR_TIMED_OUT, base 445 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc base::string16(), render_view_host1()); base 455 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc subframe_id, base::string16(), false, url, base 459 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc frame_id, base::string16(), true, url, content::PAGE_TRANSITION_LINK, base 476 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, https_url, net::ERR_TIMED_OUT, base 477 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc base::string16(), render_view_host1()); base 485 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, GURL(kErrorPageUrl), base 504 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, http_url, content::PAGE_TRANSITION_LINK, base 522 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, http_url, content::PAGE_TRANSITION_LINK, base 539 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, GURL(kErrorPageUrl), base 557 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, https_url, net::ERR_TIMED_OUT, base 558 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc base::string16(), render_view_host1()); base 566 chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc 1, base::string16(), true, GURL(kErrorPageUrl), base 54 chrome/browser/captive_portal/captive_portal_tab_reloader.cc base::TimeDelta::FromSeconds(kDefaultSlowSSLTimeSeconds)), base 103 chrome/browser/captive_portal/captive_portal_tab_reloader.cc base::MessageLoop::current()->PostTask( base 105 chrome/browser/captive_portal/captive_portal_tab_reloader.cc base::Bind(&CaptivePortalTabReloader::ReloadTabIfNeeded, base 72 chrome/browser/captive_portal/captive_portal_tab_reloader.h typedef base::Callback<void()> OpenLoginTabCallback; base 121 chrome/browser/captive_portal/captive_portal_tab_reloader.h void set_slow_ssl_load_time(base::TimeDelta slow_ssl_load_time) { base 129 chrome/browser/captive_portal/captive_portal_tab_reloader.h base::OneShotTimer<CaptivePortalTabReloader> slow_ssl_load_timer_; base 177 chrome/browser/captive_portal/captive_portal_tab_reloader.h base::TimeDelta slow_ssl_load_time_; base 181 chrome/browser/captive_portal/captive_portal_tab_reloader.h base::WeakPtrFactory<CaptivePortalTabReloader> weak_factory_; base 30 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::Callback<void(void)>()) { base 47 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc void set_slow_ssl_load_time(base::TimeDelta slow_ssl_load_time) { base 97 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc tab_reloader_->set_slow_ssl_load_time(base::TimeDelta()); base 122 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 170 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 211 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 237 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 247 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 363 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 374 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 392 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 416 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 440 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 462 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 487 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 546 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 555 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 575 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 583 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 609 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 625 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 644 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 662 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 675 chrome/browser/captive_portal/captive_portal_tab_reloader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 34 chrome/browser/captive_portal/testing_utils.cc void CaptivePortalDetectorTestBase::SetTime(const base::Time& time) { base 38 chrome/browser/captive_portal/testing_utils.cc void CaptivePortalDetectorTestBase::AdvanceTime(const base::TimeDelta& delta) { base 14 chrome/browser/captive_portal/testing_utils.h namespace base { base 30 chrome/browser/captive_portal/testing_utils.h void SetTime(const base::Time& time); base 33 chrome/browser/captive_portal/testing_utils.h void AdvanceTime(const base::TimeDelta& time_delta); base 59 chrome/browser/certificate_manager_model.cc base::Bind(&CertificateManagerModel::GetCertDBOnIOThread, base 90 chrome/browser/certificate_manager_model.cc base::Bind(&CertificateManagerModel::RefreshSlotsUnlocked, base 91 chrome/browser/certificate_manager_model.cc base::Unretained(this))); base 123 chrome/browser/certificate_manager_model.cc base::string16 CertificateManagerModel::GetColumnText( base 126 chrome/browser/certificate_manager_model.cc base::string16 rv; base 129 chrome/browser/certificate_manager_model.cc rv = base::UTF8ToUTF16( base 141 chrome/browser/certificate_manager_model.cc rv = base::UTF8ToUTF16( base 145 chrome/browser/certificate_manager_model.cc rv = base::ASCIIToUTF16(x509_certificate_model::GetSerialNumberHexified( base 150 chrome/browser/certificate_manager_model.cc rv = base::TimeFormatShortDateNumeric(cert.valid_expiry()); base 160 chrome/browser/certificate_manager_model.cc const base::string16& password, base 238 chrome/browser/certificate_manager_model.cc base::Bind(&CertificateManagerModel::DidGetCertDBOnUIThread, base 254 chrome/browser/certificate_manager_model.cc base::Bind(&CertificateManagerModel::DidGetCertDBOnIOThread, base 31 chrome/browser/certificate_manager_model.h typedef base::Callback<void(scoped_ptr<CertificateManagerModel>)> base 76 chrome/browser/certificate_manager_model.h base::string16 GetColumnText(const net::X509Certificate& cert, Column column) const; base 83 chrome/browser/certificate_manager_model.h const base::string16& password, bool is_extractable); base 240 chrome/browser/character_encoding.cc base::StringTokenizer tokenizer(encoding_list, ","); base 253 chrome/browser/character_encoding.cc base::string16 GetEncodingDisplayName(const std::string& encoding_name, base 255 chrome/browser/character_encoding.cc base::string16 category_name = l10n_util::GetStringUTF16(category_string_id); base 268 chrome/browser/character_encoding.cc base::ASCIIToUTF16(found_name->second)); base 296 chrome/browser/character_encoding.cc base::UTF8ToUTF16(GetEncodingCategoryStringByCommandId(id)); base 327 chrome/browser/character_encoding.cc base::string16 CharacterEncoding::GetCanonicalEncodingDisplayNameByCommandId( base 337 chrome/browser/character_encoding.cc return base::string16(); base 354 chrome/browser/character_encoding.cc base::string16 CharacterEncoding::GetCanonicalEncodingDisplayNameByIndex( base 359 chrome/browser/character_encoding.cc return base::string16(); base 27 chrome/browser/character_encoding.h const base::string16& GetStringKey() const { return encoding_category_name; } base 32 chrome/browser/character_encoding.h base::string16 encoding_display_name; base 34 chrome/browser/character_encoding.h base::string16 encoding_category_name; base 45 chrome/browser/character_encoding.h static base::string16 GetCanonicalEncodingDisplayNameByCommandId(int id); base 59 chrome/browser/character_encoding.h static base::string16 GetCanonicalEncodingDisplayNameByIndex(int index); base 30 chrome/browser/chrome_browser_application_mac.h base::Lock previousKeyWindowsLock_; base 35 chrome/browser/chrome_browser_field_trials.cc const base::Time install_time = base::Time::FromTimeT( base 55 chrome/browser/chrome_browser_field_trials.cc base::FieldTrialList::FindValue("UMA-Dynamic-Binary-Uniformity-Trial"); base 56 chrome/browser/chrome_browser_field_trials.cc base::FieldTrialList::FindValue("UMA-Dynamic-Uniformity-Trial"); base 57 chrome/browser/chrome_browser_field_trials.cc base::FieldTrialList::FindValue("InstantDummy"); base 58 chrome/browser/chrome_browser_field_trials.cc base::FieldTrialList::FindValue("InstantChannel"); base 59 chrome/browser/chrome_browser_field_trials.cc base::FieldTrialList::FindValue("Test0PercentDefault"); base 62 chrome/browser/chrome_browser_field_trials.cc base::FieldTrialList::FindValue("CLD1VsCLD2"); base 63 chrome/browser/chrome_browser_field_trials.cc base::FieldTrialList::FindValue("MouseEventPreconnect"); base 15 chrome/browser/chrome_browser_field_trials.h explicit ChromeBrowserFieldTrials(const base::CommandLine& command_line); base 27 chrome/browser/chrome_browser_field_trials.h const base::CommandLine& parsed_command_line_; base 45 chrome/browser/chrome_browser_field_trials_desktop.cc base::FieldTrialList::CreateFieldTrial(kAutoLaunchTrialName, base 48 chrome/browser/chrome_browser_field_trials_desktop.cc base::FieldTrialList::CreateFieldTrial(kAutoLaunchTrialName, base 54 chrome/browser/chrome_browser_field_trials_desktop.cc const base::FieldTrial::Probability kDivisor = 100; base 56 chrome/browser/chrome_browser_field_trials_desktop.cc base::FieldTrial::Probability infinite_cache_probability = 0; base 58 chrome/browser/chrome_browser_field_trials_desktop.cc scoped_refptr<base::FieldTrial> trial( base 59 chrome/browser/chrome_browser_field_trials_desktop.cc base::FieldTrialList::FactoryGetFieldTrial( base 61 chrome/browser/chrome_browser_field_trials_desktop.cc base::FieldTrial::ONE_TIME_RANDOMIZED, NULL)); base 69 chrome/browser/chrome_browser_field_trials_desktop.cc base::FieldTrial* trial = base::FieldTrialList::Find("ShowProfileSwitcher"); base 78 chrome/browser/chrome_browser_field_trials_desktop.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 88 chrome/browser/chrome_browser_field_trials_desktop.cc scoped_refptr<base::FieldTrial> trial( base 89 chrome/browser/chrome_browser_field_trials_desktop.cc base::FieldTrialList::FactoryGetFieldTrial( base 91 chrome/browser/chrome_browser_field_trials_desktop.cc 2014, 7, 1, base::FieldTrial::SESSION_RANDOMIZED, NULL)); base 122 chrome/browser/chrome_browser_field_trials_desktop.cc base::FieldTrialList::CreateFieldTrial(kTrialName, "allowed")->group(); base 124 chrome/browser/chrome_browser_field_trials_desktop.cc base::FieldTrialList::CreateFieldTrial(kTrialName, "not_allowed")->group(); base 131 chrome/browser/chrome_browser_field_trials_desktop.cc const base::Time& install_time, base 13 chrome/browser/chrome_browser_field_trials_desktop.h namespace base { base 24 chrome/browser/chrome_browser_field_trials_desktop.h void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line, base 25 chrome/browser/chrome_browser_field_trials_desktop.h const base::Time& install_time, base 30 chrome/browser/chrome_browser_field_trials_mobile.cc const base::FieldTrial::Probability enabled_group_probability, base 31 chrome/browser/chrome_browser_field_trials_mobile.cc const base::FieldTrial::Probability total_probability) { base 40 chrome/browser/chrome_browser_field_trials_mobile.cc scoped_refptr<base::FieldTrial> trial( base 41 chrome/browser/chrome_browser_field_trials_mobile.cc base::FieldTrialList::FactoryGetFieldTrial( base 44 chrome/browser/chrome_browser_field_trials_mobile.cc kDisabled, 2015, 1, 1, base::FieldTrial::ONE_TIME_RANDOMIZED, NULL)); base 76 chrome/browser/chrome_browser_field_trials_mobile.cc const base::Time& install_time, base 13 chrome/browser/chrome_browser_field_trials_mobile.h namespace base { base 23 chrome/browser/chrome_browser_field_trials_mobile.h void SetupMobileFieldTrials(const base::CommandLine& parsed_command_line, base 24 chrome/browser/chrome_browser_field_trials_mobile.h const base::Time& install_time, base 236 chrome/browser/chrome_browser_main.cc base::SequencedTaskRunner* local_state_task_runner, base 239 chrome/browser/chrome_browser_main.cc base::FilePath local_state_path; base 241 chrome/browser/chrome_browser_main.cc bool local_state_file_exists = base::PathExists(local_state_path); base 254 chrome/browser/chrome_browser_main.cc base::string16 install_lang; base 257 chrome/browser/chrome_browser_main.cc base::UTF16ToASCII(install_lang)); base 277 chrome/browser/chrome_browser_main.cc base::FilePath parent_profile = base 313 chrome/browser/chrome_browser_main.cc const base::FilePath& user_data_dir, base 316 chrome/browser/chrome_browser_main.cc base::Time start = base::Time::Now(); base 325 chrome/browser/chrome_browser_main.cc base::ListValue* profile_list = update.Get(); base 338 chrome/browser/chrome_browser_main.cc base::FilePath profile_path = base 359 chrome/browser/chrome_browser_main.cc "Startup.CreateFirstProfile", base::Time::Now() - start); base 415 chrome/browser/chrome_browser_main.cc const base::FilePath& current_directory) { base 424 chrome/browser/chrome_browser_main.cc if (base::StringToInt64(start_time_string, &remote_start_time)) { base 425 chrome/browser/chrome_browser_main.cc base::TimeDelta elapsed = base 426 chrome/browser/chrome_browser_main.cc base::Time::Now() - base::Time::FromInternalValue(remote_start_time); base 461 chrome/browser/chrome_browser_main.cc base::FilePath user_data_dir = base 463 chrome/browser/chrome_browser_main.cc base::FilePath startup_profile_dir = base 477 chrome/browser/chrome_browser_main.cc if (base::StringToInt(port_str, &port) && port > 0 && port < 65535) { base 587 chrome/browser/chrome_browser_main.cc new base::FieldTrialList( base 592 chrome/browser/chrome_browser_main.cc base::FieldTrial::EnableBenchmarking(); base 604 chrome/browser/chrome_browser_main.cc bool result = base::FieldTrialList::CreateTrialsFromString( base 606 chrome/browser/chrome_browser_main.cc base::FieldTrialList::DONT_ACTIVATE_TRIALS, base 704 chrome/browser/chrome_browser_main.cc const base::Time process_creation_time = base 705 chrome/browser/chrome_browser_main.cc base::CurrentProcessInfo::CreationTime(); base 708 chrome/browser/chrome_browser_main.cc base::TimeDelta delay = base::Time::Now() - process_creation_time; base 735 chrome/browser/chrome_browser_main.cc base::AtExitManager exit_manager; base 804 chrome/browser/chrome_browser_main.cc user_data_dir_, base::Bind(&ProcessSingletonNotificationCallback))); base 810 chrome/browser/chrome_browser_main.cc scoped_refptr<base::SequencedTaskRunner> local_state_task_runner = base 812 chrome/browser/chrome_browser_main.cc base::FilePath(chrome::kLocalStorePoolName), base 909 chrome/browser/chrome_browser_main.cc base::FilePath resources_pack_path; base 962 chrome/browser/chrome_browser_main.cc base::Time::Now().ToInternalValue()); base 977 chrome/browser/chrome_browser_main.cc base::debug::SetCrashKeyValue(crash_keys::kChannel, base 989 chrome/browser/chrome_browser_main.cc local_state_->SetInt64(prefs::kInstallDate, base::Time::Now().ToTimeT()); base 1055 chrome/browser/chrome_browser_main.cc std::vector<base::FilePath> profiles_to_delete; base 1069 chrome/browser/chrome_browser_main.cc base::Bind(&ProfileManager::CleanUpStaleProfiles, profiles_to_delete)); base 1103 chrome/browser/chrome_browser_main.cc base::Bind(&WebRtcLogUtil::DeleteOldWebRtcLogFilesForAllProfiles), base 1104 chrome/browser/chrome_browser_main.cc base::TimeDelta::FromMinutes(1)); base 1194 chrome/browser/chrome_browser_main.cc printf("%s\n", base::SysWideToNativeMB(base::UTF16ToWide( base 1234 chrome/browser/chrome_browser_main.cc base::StringToInt(try_chrome, &try_chrome_int); base 1237 chrome/browser/chrome_browser_main.cc base::Bind(&ChromeProcessSingleton::SetActiveModalDialog, base 1238 chrome/browser/chrome_browser_main.cc base::Unretained(process_singleton_.get()))); base 1366 chrome/browser/chrome_browser_main.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 1375 chrome/browser/chrome_browser_main.cc base::Bind(&NetworkProfileBubble::CheckNetworkProfile, base 1391 chrome/browser/chrome_browser_main.cc base::TimeDelta::FromMilliseconds(abs(ping_delay))); base 1420 chrome/browser/chrome_browser_main.cc base::StringPiece sdch_trial_group = base 1421 chrome/browser/chrome_browser_main.cc base::FieldTrialList::FindFullName(kSdchFieldTrialName); base 1437 chrome/browser/chrome_browser_main.cc base::FilePath path = base 1445 chrome/browser/chrome_browser_main.cc base::debug::BeingDebugged()); base 1467 chrome/browser/chrome_browser_main.cc startup_watcher_->Arm(base::TimeDelta::FromSeconds(300)); base 1495 chrome/browser/chrome_browser_main.cc base::Bind(nacl::NaClProcessHost::EarlyStartup)); base 1524 chrome/browser/chrome_browser_main.cc base::TimeTicks browser_open_start = base::TimeTicks::Now(); base 1539 chrome/browser/chrome_browser_main.cc if (browser_creator_->Start(parsed_command_line(), base::FilePath(), base 1567 chrome/browser/chrome_browser_main.cc base::TimeDelta delay = base::TimeTicks::Now() - browser_open_start; base 1641 chrome/browser/chrome_browser_main.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 1642 chrome/browser/chrome_browser_main.cc base::RunLoop run_loop; base 1664 chrome/browser/chrome_browser_main.cc shutdown_watcher_->Arm(base::TimeDelta::FromSeconds(300)); base 90 chrome/browser/chrome_browser_main.h const base::CommandLine& parsed_command_line() const { base 119 chrome/browser/chrome_browser_main.h void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); base 129 chrome/browser/chrome_browser_main.h const base::CommandLine& parsed_command_line_; base 152 chrome/browser/chrome_browser_main.h scoped_ptr<base::FieldTrialList> field_trial_list_; base 187 chrome/browser/chrome_browser_main.h base::FilePath user_data_dir_; base 46 chrome/browser/chrome_browser_main_android.cc base::FilePath crash_dump_dir; base 71 chrome/browser/chrome_browser_main_android.cc main_message_loop_.reset(new base::MessageLoopForUI); base 77 chrome/browser/chrome_browser_main_android.cc base::MessageLoopForUI::current()->Start(); base 28 chrome/browser/chrome_browser_main_android.h scoped_ptr<base::MessageLoop> main_message_loop_; base 29 chrome/browser/chrome_browser_main_extra_parts_x11.cc base::MessageLoop::current()->PostTask( base 31 chrome/browser/chrome_browser_main_extra_parts_x11.cc base::Bind(&ui::LogErrorEventDescription, d, *error)); base 28 chrome/browser/chrome_browser_main_linux.cc base::GetLinuxDistro(); // Initialize base::linux_distro if needed. base 48 chrome/browser/chrome_browser_main_linux.cc base::Bind(&GetLinuxDistroCallback)); base 53 chrome/browser/chrome_browser_main_linux.cc base::Bind(&sxs_linux::AddChannelMarkToUserDataDir)); base 142 chrome/browser/chrome_browser_main_posix.cc base::Bind(&ExitHandler::Exit)); base 166 chrome/browser/chrome_browser_main_posix.cc class ShutdownDetector : public base::PlatformThread::Delegate { base 204 chrome/browser/chrome_browser_main_posix.cc base::PlatformThread::SetName("CrShutdownDetector"); base 226 chrome/browser/chrome_browser_main_posix.cc base::Closure task = base::Bind(&ExitHandler::ExitWhenPossibleOnUIThread); base 293 chrome/browser/chrome_browser_main_posix.cc base::StringToInt(fd_limit_string, &fd_limit); base 327 chrome/browser/chrome_browser_main_posix.cc if (!base::PlatformThread::CreateNonJoinable( base 66 chrome/browser/chrome_browser_main_win.cc base::win::WinProcExceptionFilter exception_filter = base 67 chrome/browser/chrome_browser_main_win.cc reinterpret_cast<base::win::WinProcExceptionFilter>( base 71 chrome/browser/chrome_browser_main_win.cc exception_filter = base::win::SetWinProcExceptionFilter(exception_filter); base 82 chrome/browser/chrome_browser_main_win.cc base::StringToInt(l10n_util::GetStringUTF16(IDS_MINIMUM_UI_FONT_SIZE), base 89 chrome/browser/chrome_browser_main_win.cc virtual base::string16 GetLocalizedString(int installer_string_id) OVERRIDE; base 100 chrome/browser/chrome_browser_main_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8 && base 132 chrome/browser/chrome_browser_main_win.cc base::FilePath chrome_exe; base 133 chrome/browser/chrome_browser_main_win.cc if (PathService::Get(base::FILE_EXE, &chrome_exe)) { base 160 chrome/browser/chrome_browser_main_win.cc bool is_enabled = base::TimeTicks::SetNowIsHighResNowIfSupported(); base 175 chrome/browser/chrome_browser_main_win.cc if (base::win::IsMetroProcess()) { base 178 chrome/browser/chrome_browser_main_win.cc GetProcAddress(base::win::GetMetroModule(), base 181 chrome/browser/chrome_browser_main_win.cc base::string16 metro_switches = (*metro_switches_proc)(); base 228 chrome/browser/chrome_browser_main_win.cc base::win::GetVersion() < base::win::VERSION_XP) { base 240 chrome/browser/chrome_browser_main_win.cc base::ASCIIToUTF16(chrome_browser::kMissingLocaleDataMessage), base 241 chrome/browser/chrome_browser_main_win.cc base::ASCIIToUTF16(chrome_browser::kMissingLocaleDataTitle), base 253 chrome/browser/chrome_browser_main_win.cc base::Bind(&VerifyInstallation), base 254 chrome/browser/chrome_browser_main_win.cc base::TimeDelta::FromSeconds(45)); base 263 chrome/browser/chrome_browser_main_win.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 280 chrome/browser/chrome_browser_main_win.cc base::string16 dlg_strings(l10n_util::GetStringUTF16(IDS_CRASH_RECOVERY_TITLE)); base 282 chrome/browser/chrome_browser_main_win.cc base::string16 adjusted_string( base 284 chrome/browser/chrome_browser_main_win.cc base::i18n::AdjustStringForLocaleDirection(&adjusted_string); base 287 chrome/browser/chrome_browser_main_win.cc dlg_strings.append(base::ASCIIToUTF16( base 288 chrome/browser/chrome_browser_main_win.cc base::i18n::IsRTL() ? env_vars::kRtlLocale : env_vars::kLtrLocale)); base 290 chrome/browser/chrome_browser_main_win.cc env->SetVar(env_vars::kRestartInfo, base::UTF16ToUTF8(dlg_strings)); base 296 chrome/browser/chrome_browser_main_win.cc DCHECK(base::win::GetVersion() >= base::win::VERSION_VISTA); base 297 chrome/browser/chrome_browser_main_win.cc base::ScopedNativeLibrary library(base::FilePath(L"kernel32.dll")); base 332 chrome/browser/chrome_browser_main_win.cc base::string16 cp_applet; base 333 chrome/browser/chrome_browser_main_win.cc base::win::Version version = base::win::GetVersion(); base 334 chrome/browser/chrome_browser_main_win.cc if (version >= base::win::VERSION_VISTA) { base 336 chrome/browser/chrome_browser_main_win.cc } else if (version >= base::win::VERSION_XP) { base 342 chrome/browser/chrome_browser_main_win.cc const base::string16 msg = base 344 chrome/browser/chrome_browser_main_win.cc const base::string16 caption = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME); base 364 chrome/browser/chrome_browser_main_win.cc base::FilePath exe_path; base 365 chrome/browser/chrome_browser_main_win.cc PathService::Get(base::DIR_EXE, &exe_path); base 367 chrome/browser/chrome_browser_main_win.cc base::FilePath user_exe_path(installer::GetChromeInstallPath(false, dist)); base 368 chrome/browser/chrome_browser_main_win.cc if (base::FilePath::CompareEqualIgnoreCase(exe, user_exe_path.value())) { base 369 chrome/browser/chrome_browser_main_win.cc bool is_metro = base::win::IsMetroProcess(); base 375 chrome/browser/chrome_browser_main_win.cc const base::string16 text = base 377 chrome/browser/chrome_browser_main_win.cc const base::string16 caption = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME); base 399 chrome/browser/chrome_browser_main_win.cc const base::FilePath setup_exe(uninstall_cmd.GetProgram()); base 400 chrome/browser/chrome_browser_main_win.cc const base::string16 params(uninstall_cmd.GetArgumentsString()); base 421 chrome/browser/chrome_browser_main_win.cc base::string16 TranslationDelegate::GetLocalizedString( base 438 chrome/browser/chrome_browser_main_win.cc return base::string16(); base 12 chrome/browser/chrome_browser_main_win.h namespace base { base 42 chrome/browser/chrome_browser_main_win.h const base::CommandLine& parsed_command_line); base 47 chrome/browser/chrome_browser_main_win.h const base::CommandLine& parsed_command_line); base 53 chrome/browser/chrome_browser_main_win.h static int HandleIconsCommands(const base::CommandLine& parsed_command_line); base 254 chrome/browser/chrome_content_browser_client.cc using base::FileDescriptor; base 278 chrome/browser/chrome_content_browser_client.cc base::LazyInstance<std::string> g_io_thread_application_locale; base 471 chrome/browser/chrome_content_browser_client.cc const base::DictionaryValue& filter) { base 497 chrome/browser/chrome_content_browser_client.cc std::string pref_name = base::StringPrintf("%s.%s", map_name, script); base 500 chrome/browser/chrome_content_browser_client.cc (*map)[script] = base::UTF8ToUTF16(font_family); base 507 chrome/browser/chrome_content_browser_client.cc base::FilePath dumps_path; base 683 chrome/browser/chrome_content_browser_client.cc base::Bind(&SetApplicationLocaleOnIOThread, locale))) { base 829 chrome/browser/chrome_content_browser_client.cc scoped_ptr<base::DictionaryValue> extra_params) { base 890 chrome/browser/chrome_content_browser_client.cc const base::DictionaryValue& extra_params) { base 932 chrome/browser/chrome_content_browser_client.cc host->SetWebRtcLogMessageCallback(base::Bind( base 935 chrome/browser/chrome_content_browser_client.cc host->SetUserData(host, new base::UserDataAdapter<WebRtcLoggingHandlerHost>( base 1088 chrome/browser/chrome_content_browser_client.cc const base::FilePath& partition_path, base 1300 chrome/browser/chrome_content_browser_client.cc base::Bind(&InfoMap::SetSigninProcess, base 1324 chrome/browser/chrome_content_browser_client.cc base::Bind(&InfoMap::RegisterExtensionProcess, base 1356 chrome/browser/chrome_content_browser_client.cc base::Bind(&InfoMap::UnregisterExtensionProcess, base 1468 chrome/browser/chrome_content_browser_client.cc enable_crash_reporter += "," + base::GetLinuxDistro(); base 1559 chrome/browser/chrome_content_browser_client.cc base::FieldTrialList::FindFullName("AutoReloadExperiment"); base 1703 chrome/browser/chrome_content_browser_client.cc base::Bind(&TabSpecificContentSettings::CookiesRead, render_process_id, base 1723 chrome/browser/chrome_content_browser_client.cc base::Bind(&TabSpecificContentSettings::CookieChanged, render_process_id, base 1743 chrome/browser/chrome_content_browser_client.cc const base::string16& name, base 1744 chrome/browser/chrome_content_browser_client.cc const base::string16& display_name, base 1758 chrome/browser/chrome_content_browser_client.cc base::Bind(&TabSpecificContentSettings::WebDatabaseAccessed, base 1779 chrome/browser/chrome_content_browser_client.cc base::Bind(&TabSpecificContentSettings::FileSystemAccessed, base 1788 chrome/browser/chrome_content_browser_client.cc const base::string16& name, base 1801 chrome/browser/chrome_content_browser_client.cc base::Bind(&TabSpecificContentSettings::IndexedDBAccessed, base 1834 chrome/browser/chrome_content_browser_client.cc const base::Callback<void(bool)>& callback, base 1879 chrome/browser/chrome_content_browser_client.cc const base::Callback<void(net::X509Certificate*)>& callback) { base 1902 chrome/browser/chrome_content_browser_client.cc scoped_ptr<base::Value> filter( base 1911 chrome/browser/chrome_content_browser_client.cc if (filter->IsType(base::Value::TYPE_DICTIONARY)) { base 1912 chrome/browser/chrome_content_browser_client.cc base::DictionaryValue* filter_dict = base 1913 chrome/browser/chrome_content_browser_client.cc static_cast<base::DictionaryValue*>(filter.get()); base 2178 chrome/browser/chrome_content_browser_client.cc base::Bind(&HandleBlockedPopupOnUIThread, base 2188 chrome/browser/chrome_content_browser_client.cc base::Bind(&HandleSingleTabModeBlockOnUIThread, base 2278 chrome/browser/chrome_content_browser_client.cc const base::DictionaryValue* inspector_settings = base 2281 chrome/browser/chrome_content_browser_client.cc for (base::DictionaryValue::Iterator iter(*inspector_settings); base 2392 chrome/browser/chrome_content_browser_client.cc base::DictionaryValue* inspector_settings = update.Get(); base 2394 chrome/browser/chrome_content_browser_client.cc key, base::Value::CreateStringValue(value)); base 2445 chrome/browser/chrome_content_browser_client.cc base::FilePath ChromeContentBrowserClient::GetDefaultDownloadDirectory() { base 2572 chrome/browser/chrome_content_browser_client.cc base::Bind(MediaFileSystemBackend::AttemptAutoMountForURLRequest)); base 2578 chrome/browser/chrome_content_browser_client.cc const base::FilePath& storage_partition_path, base 2581 chrome/browser/chrome_content_browser_client.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 2623 chrome/browser/chrome_content_browser_client.cc base::FilePath data_path; base 2627 chrome/browser/chrome_content_browser_client.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ; base 2628 chrome/browser/chrome_content_browser_client.cc base::FilePath chrome_resources_pak = base 2630 chrome/browser/chrome_content_browser_client.cc base::File file(chrome_resources_pak, flags); base 2636 chrome/browser/chrome_content_browser_client.cc base::FilePath locale_pak = ResourceBundle::GetSharedInstance(). base 2643 chrome/browser/chrome_content_browser_client.cc base::FilePath resources_pack_path; base 22 chrome/browser/chrome_content_browser_client.h namespace base { base 73 chrome/browser/chrome_content_browser_client.h scoped_ptr<base::DictionaryValue> extra_params) OVERRIDE; base 77 chrome/browser/chrome_content_browser_client.h const base::DictionaryValue& extra_params) OVERRIDE; base 94 chrome/browser/chrome_content_browser_client.h const base::FilePath& partition_path, base 126 chrome/browser/chrome_content_browser_client.h virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, base 151 chrome/browser/chrome_content_browser_client.h const base::string16& name, base 152 chrome/browser/chrome_content_browser_client.h const base::string16& display_name, base 162 chrome/browser/chrome_content_browser_client.h const base::string16& name, base 178 chrome/browser/chrome_content_browser_client.h const base::Callback<void(bool)>& callback, base 185 chrome/browser/chrome_content_browser_client.h const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; base 246 chrome/browser/chrome_content_browser_client.h virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; base 267 chrome/browser/chrome_content_browser_client.h const base::FilePath& storage_partition_path, base 272 chrome/browser/chrome_content_browser_client.h const base::CommandLine& command_line, base 292 chrome/browser/chrome_content_browser_client.h base::CommandLine* to_command_line, base 293 chrome/browser/chrome_content_browser_client.h const base::CommandLine& from_command_line, base 98 chrome/browser/chrome_content_browser_client_unittest.cc field_trial_list_.reset(new base::FieldTrialList( base 118 chrome/browser/chrome_content_browser_client_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 125 chrome/browser/chrome_content_browser_client_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("InstantExtended", base 29 chrome/browser/chrome_elf_init_unittest_win.cc new base::win::RegKey(HKEY_CURRENT_USER, base 42 chrome/browser/chrome_elf_init_unittest_win.cc base::string16 GetBlacklistVersion() { base 43 chrome/browser/chrome_elf_init_unittest_win.cc base::string16 blacklist_version; base 50 chrome/browser/chrome_elf_init_unittest_win.cc scoped_ptr<base::win::RegKey> blacklist_registry_key_; base 72 chrome/browser/chrome_elf_init_unittest_win.cc ASSERT_EQ(base::string16(), GetBlacklistVersion()); base 82 chrome/browser/chrome_elf_init_unittest_win.cc base::string16 version(base::UTF8ToUTF16(version_info.Version())); base 142 chrome/browser/chrome_elf_init_unittest_win.cc base::string16 expected_version(base::UTF8ToUTF16(version_info.Version())); base 74 chrome/browser/chrome_elf_init_win.cc base::WideToUTF8(blocked_dlls[i], wcslen(blocked_dlls[i]), &dll_name_utf8); base 84 chrome/browser/chrome_elf_init_win.cc if (base::FieldTrialList::FindFullName(kBrowserBlacklistTrialName) == base 89 chrome/browser/chrome_elf_init_win.cc base::win::RegKey blacklist_registry_key(HKEY_CURRENT_USER); base 102 chrome/browser/chrome_elf_init_win.cc base::Bind(&ReportSuccessfulBlocks), base 103 chrome/browser/chrome_elf_init_win.cc base::TimeDelta::FromSeconds(kBlacklistReportingDelaySec)); base 107 chrome/browser/chrome_elf_init_win.cc base::win::RegKey blacklist_registry_key(HKEY_CURRENT_USER, base 143 chrome/browser/chrome_elf_init_win.cc base::string16 blacklist_version; base 33 chrome/browser/chrome_main_browsertest.cc base::LaunchProcess(new_command_line, base::LaunchOptions(), NULL); base 59 chrome/browser/chrome_main_browsertest.cc base::FilePath test_file_path = ui_test_utils::GetTestFilePath( base 60 chrome/browser/chrome_main_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("empty.html")); base 89 chrome/browser/chrome_main_browsertest.cc base::FilePath test_file_path = ui_test_utils::GetTestFilePath( base 90 chrome/browser/chrome_main_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("empty.html")); base 139 chrome/browser/chrome_main_browsertest.cc base::FilePath test_file_path = ui_test_utils::GetTestFilePath( base 140 chrome/browser/chrome_main_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("empty.html")); base 78 chrome/browser/chrome_net_benchmarking_message_filter.cc base::Bind(&ClearCacheCallback, make_scoped_refptr(this), reply_msg); base 20 chrome/browser/chrome_page_zoom.cc using base::UserMetricsAction; base 46 chrome/browser/chrome_plugin_browsertest.cc class CallbackBarrier : public base::RefCountedThreadSafe<CallbackBarrier> { base 48 chrome/browser/chrome_plugin_browsertest.cc explicit CallbackBarrier(const base::Closure& target_callback) base 54 chrome/browser/chrome_plugin_browsertest.cc base::Callback<void(bool)> CreateCallback() { base 56 chrome/browser/chrome_plugin_browsertest.cc return base::Bind(&CallbackBarrier::MayRunTargetCallback, this); base 76 chrome/browser/chrome_plugin_browsertest.cc base::Closure target_callback_; base 88 chrome/browser/chrome_plugin_browsertest.cc base::FilePath path; base 91 chrome/browser/chrome_plugin_browsertest.cc CHECK(base::PathExists(path)); base 98 chrome/browser/chrome_plugin_browsertest.cc base::string16 expected_title( base 99 chrome/browser/chrome_plugin_browsertest.cc base::ASCIIToUTF16(pass ? "OK" : "plugin_not_found")); base 101 chrome/browser/chrome_plugin_browsertest.cc title_watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 102 chrome/browser/chrome_plugin_browsertest.cc title_watcher.AlsoWaitForTitle(base::ASCIIToUTF16( base 114 chrome/browser/chrome_plugin_browsertest.cc base::Bind(&CrashFlashInternal, runner->QuitClosure())); base 118 chrome/browser/chrome_plugin_browsertest.cc static void GetFlashPath(std::vector<base::FilePath>* paths) { base 123 chrome/browser/chrome_plugin_browsertest.cc if (it->name == base::ASCIIToUTF16(content::kFlashPluginName)) base 133 chrome/browser/chrome_plugin_browsertest.cc base::Bind(&GetPluginsInfoCallback, &plugins, runner->QuitClosure())); base 139 chrome/browser/chrome_plugin_browsertest.cc std::vector<base::FilePath> paths; base 148 chrome/browser/chrome_plugin_browsertest.cc for (std::vector<base::FilePath>::iterator iter = paths.begin(); base 163 chrome/browser/chrome_plugin_browsertest.cc base::Bind(&CountPluginProcesses, &actual, runner->QuitClosure())); base 169 chrome/browser/chrome_plugin_browsertest.cc static void CrashFlashInternal(const base::Closure& quit_task) { base 176 chrome/browser/chrome_plugin_browsertest.cc base::KillProcess(iter.GetData().handle, 0, true); base 185 chrome/browser/chrome_plugin_browsertest.cc const base::Closure& quit_task, base 191 chrome/browser/chrome_plugin_browsertest.cc static void CountPluginProcesses(int* count, const base::Closure& quit_task) { base 208 chrome/browser/chrome_plugin_browsertest.cc std::vector<base::FilePath> flash_paths; base 268 chrome/browser/chrome_plugin_browsertest.cc if (plugins[j].name == base::ASCIIToUTF16(expected[i])) base 299 chrome/browser/chrome_plugin_browsertest.cc base::FilePath(), base 300 chrome/browser/chrome_plugin_browsertest.cc base::FilePath().AppendASCII("windowed_npapi_plugin.html")); base 313 chrome/browser/chrome_plugin_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("created")); base 324 chrome/browser/chrome_plugin_browsertest.cc base::string16 expected_title2(base::ASCIIToUTF16("shown")); base 101 chrome/browser/chrome_process_finder_win.cc HWND FindRunningChromeWindow(const base::FilePath& user_data_dir) { base 102 chrome/browser/chrome_process_finder_win.cc return base::win::MessageWindow::FindWindow(user_data_dir.value()); base 116 chrome/browser/chrome_process_finder_win.cc if (base::win::IsMetroProcess()) { base 122 chrome/browser/chrome_process_finder_win.cc base::string16 terms; base 123 chrome/browser/chrome_process_finder_win.cc base::win::MetroLaunchType launch = base::win::GetMetroLaunchParams(&terms); base 124 chrome/browser/chrome_process_finder_win.cc if (launch != base::win::METRO_SEARCH) { base 127 chrome/browser/chrome_process_finder_win.cc std::string query = EscapeQueryParamValue(base::UTF16ToUTF8(terms), true); base 128 chrome/browser/chrome_process_finder_win.cc std::string url = base::StringPrintf(kSearchUrl, query.c_str()); base 140 chrome/browser/chrome_process_finder_win.cc base::win::ScopedHandle process_handle; base 141 chrome/browser/chrome_process_finder_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8 && base 142 chrome/browser/chrome_process_finder_win.cc base::OpenProcessHandleWithAccess( base 149 chrome/browser/chrome_process_finder_win.cc if (base::win::IsProcessImmersive(process_handle.Get())) base 157 chrome/browser/chrome_process_finder_win.cc base::Int64ToString( base 158 chrome/browser/chrome_process_finder_win.cc base::CurrentProcessInfo::CreationTime().ToInternalValue())); base 166 chrome/browser/chrome_process_finder_win.cc base::FilePath cur_dir; base 167 chrome/browser/chrome_process_finder_win.cc if (!base::GetCurrentDirectory(&cur_dir)) base 10 chrome/browser/chrome_process_finder_win.h namespace base { base 23 chrome/browser/chrome_process_finder_win.h HWND FindRunningChromeWindow(const base::FilePath& user_data_dir); base 8 chrome/browser/chrome_process_singleton.cc const base::FilePath& user_data_dir, base 18 chrome/browser/chrome_process_singleton.cc const base::FilePath& user_data_dir, base 32 chrome/browser/chrome_process_singleton.h const base::FilePath& user_data_dir, base 36 chrome/browser/chrome_process_singleton.h const base::FilePath& user_data_dir, base 18 chrome/browser/chrome_process_singleton_win_unittest.cc const base::FilePath& current_directory) { base 24 chrome/browser/chrome_process_singleton_win_unittest.cc const base::FilePath& current_directory) { base 32 chrome/browser/chrome_process_singleton_win_unittest.cc base::ScopedTempDir profile_dir; base 39 chrome/browser/chrome_process_singleton_win_unittest.cc base::Bind(&ServerCallback, base::Unretained(&callback_count))); base 42 chrome/browser/chrome_process_singleton_win_unittest.cc ChromeProcessSingleton ps2(profile_dir.path(), base::Bind(&ClientCallback)); base 57 chrome/browser/chrome_process_singleton_win_unittest.cc base::ScopedTempDir profile_dir; base 64 chrome/browser/chrome_process_singleton_win_unittest.cc base::Bind(&ServerCallback, base::Unretained(&callback_count))); base 66 chrome/browser/chrome_process_singleton_win_unittest.cc ChromeProcessSingleton ps2(profile_dir.path(), base::Bind(&ClientCallback)); base 93 chrome/browser/chrome_process_singleton_win_unittest.cc base::ScopedTempDir profile_dir; base 101 chrome/browser/chrome_process_singleton_win_unittest.cc base::Bind(&ServerCallback, base::Unretained(&callback_count)), base 102 chrome/browser/chrome_process_singleton_win_unittest.cc base::Bind(&SetForegroundWindowHandler, base 103 chrome/browser/chrome_process_singleton_win_unittest.cc base::Unretained(&called_set_foreground_window))); base 106 chrome/browser/chrome_process_singleton_win_unittest.cc ChromeProcessSingleton ps2(profile_dir.path(), base::Bind(&ClientCallback)); base 53 chrome/browser/chrome_quota_permission_context.cc virtual base::string16 GetMessageText() const OVERRIDE; base 54 chrome/browser/chrome_quota_permission_context.cc virtual base::string16 GetMessageTextFragment() const OVERRIDE; base 94 chrome/browser/chrome_quota_permission_context.cc base::string16 QuotaPermissionRequest::GetMessageText() const { base 102 chrome/browser/chrome_quota_permission_context.cc base::string16 QuotaPermissionRequest::GetMessageTextFragment() const { base 168 chrome/browser/chrome_quota_permission_context.cc virtual base::string16 GetMessageText() const OVERRIDE; base 221 chrome/browser/chrome_quota_permission_context.cc base::string16 RequestQuotaInfoBarDelegate::GetMessageText() const { base 267 chrome/browser/chrome_quota_permission_context.cc base::Bind(&ChromeQuotaPermissionContext::RequestQuotaPermission, this, base 318 chrome/browser/chrome_quota_permission_context.cc base::Bind(&ChromeQuotaPermissionContext::DispatchCallbackOnIOThread, base 38 chrome/browser/chrome_security_exploit_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 84 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::FilePath GetChromeVoxPath() { base 85 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::FilePath path; base 121 chrome/browser/chromeos/accessibility/accessibility_manager.cc scoped_refptr<FileReader> reader(new FileReader(resource, base::Bind( base 122 chrome/browser/chromeos/accessibility/accessibility_manager.cc &ContentScriptLoader::OnFileLoaded, base::Unretained(this)))); base 200 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::FilePath path = GetChromeVoxPath(); base 263 chrome/browser/chromeos/accessibility/accessibility_manager.cc const base::Value* value_on_login = pref->GetValue(); base 756 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&BrailleController::GetDisplayState, base 757 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(braille_controller)), base 758 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&AccessibilityManager::ReceiveBrailleDisplayState, base 789 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&AccessibilityManager::UpdateLargeCursorFromPref, base 790 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(this))); base 793 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&AccessibilityManager::UpdateStickyKeysFromPref, base 794 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(this))); base 797 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&AccessibilityManager::UpdateSpokenFeedbackFromPref, base 798 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(this))); base 801 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&AccessibilityManager::UpdateHighContrastFromPref, base 802 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(this))); base 805 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&AccessibilityManager::UpdateAutoclickFromPref, base 806 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(this))); base 809 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&AccessibilityManager::UpdateAutoclickDelayFromPref, base 810 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(this))); base 813 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&AccessibilityManager::UpdateVirtualKeyboardFromPref, base 814 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(this))); base 820 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind(&AccessibilityManager::OnLocaleChanged, base 821 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(this))); base 824 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Bind( base 826 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::Unretained(this))); base 868 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::TimeDelta AccessibilityManager::PlayShutdownSound() { base 870 chrome/browser/chromeos/accessibility/accessibility_manager.cc return base::TimeDelta(); base 873 chrome/browser/chromeos/accessibility/accessibility_manager.cc return base::TimeDelta(); base 923 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::TimeDelta::FromMilliseconds( base 925 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::TimeDelta::FromMilliseconds(1), base 926 chrome/browser/chromeos/accessibility/accessibility_manager.cc base::TimeDelta::FromMilliseconds(3000), base 60 chrome/browser/chromeos/accessibility/accessibility_manager.h typedef base::Callback<void(const AccessibilityStatusEventDetails&)> base 63 chrome/browser/chromeos/accessibility/accessibility_manager.h typedef base::CallbackList<void(const AccessibilityStatusEventDetails&)> base 175 chrome/browser/chromeos/accessibility/accessibility_manager.h base::TimeDelta PlayShutdownSound(); base 267 chrome/browser/chromeos/accessibility/accessibility_manager.h base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; base 54 chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc base::Bind(&MockAccessibilityObserver::OnAccessibilityStatusChanged, base 55 chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc base::Unretained(this))); base 125 chrome/browser/chromeos/accessibility/magnification_manager.cc base::Bind(&MagnificationManagerImpl::UpdateMagnifierFromPrefs, base 126 chrome/browser/chromeos/accessibility/magnification_manager.cc base::Unretained(this))); base 129 chrome/browser/chromeos/accessibility/magnification_manager.cc base::Bind(&MagnificationManagerImpl::UpdateMagnifierFromPrefs, base 130 chrome/browser/chromeos/accessibility/magnification_manager.cc base::Unretained(this))); base 119 chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc base::Bind(&MockMagnificationObserver::OnAccessibilityStatusChanged, base 120 chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc base::Unretained(this))); base 66 chrome/browser/chromeos/app_mode/app_session_lifetime.cc base::LazyInstance<AppWindowHandler> app_window_handler base 95 chrome/browser/chromeos/app_mode/app_session_lifetime.cc base::MessageLoop::current()->PostTask( base 97 chrome/browser/chromeos/app_mode/app_session_lifetime.cc base::Bind(&BrowserWindowHandler::HandleBrowser, base 98 chrome/browser/chromeos/app_mode/app_session_lifetime.cc base::Unretained(this), // LazyInstance, always valid base 105 chrome/browser/chromeos/app_mode/app_session_lifetime.cc base::LazyInstance<BrowserWindowHandler> browser_window_handler base 44 chrome/browser/chromeos/app_mode/certificate_manager_dialog.cc base::string16(), base 52 chrome/browser/chromeos/app_mode/kiosk_app_data.cc const base::FilePath& icon_path, base 53 chrome/browser/chromeos/app_mode/kiosk_app_data.cc scoped_refptr<base::RefCountedString> raw_icon) { base 56 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::FilePath dir = icon_path.DirName(); base 57 chrome/browser/chromeos/app_mode/kiosk_app_data.cc if (!base::PathExists(dir)) base 58 chrome/browser/chromeos/app_mode/kiosk_app_data.cc CHECK(base::CreateDirectory(dir)); base 61 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::WriteFile(icon_path, base 76 chrome/browser/chromeos/app_mode/kiosk_app_data.cc std::string ValueToString(const base::Value* value) { base 78 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::JSONWriter::Write(value, &json); base 96 chrome/browser/chromeos/app_mode/kiosk_app_data.cc IconLoader(const base::WeakPtr<KioskAppData>& client, base 97 chrome/browser/chromeos/app_mode/kiosk_app_data.cc const base::FilePath& icon_path) base 103 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); base 104 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::SequencedWorkerPool::SequenceToken token = pool->GetSequenceToken(); base 107 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 109 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::Bind(&IconLoader::LoadOnBlockingPool, base 110 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::Unretained(this))); base 123 chrome/browser/chromeos/app_mode/kiosk_app_data.cc if (!base::ReadFileToString(base::FilePath(icon_path_), &data)) { base 127 chrome/browser/chromeos/app_mode/kiosk_app_data.cc raw_icon_ = base::RefCountedString::TakeString(&data); base 141 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::Bind(&IconLoader::ReportResultOnUIThread, base 142 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::Unretained(this))); base 174 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::WeakPtr<KioskAppData> client_; base 175 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::FilePath icon_path_; base 178 chrome/browser/chromeos/app_mode/kiosk_app_data.cc scoped_refptr<base::SequencedTaskRunner> task_runner_; base 181 chrome/browser/chromeos/app_mode/kiosk_app_data.cc scoped_refptr<base::RefCountedString> raw_icon_; base 193 chrome/browser/chromeos/app_mode/kiosk_app_data.cc explicit WebstoreDataParser(const base::WeakPtr<KioskAppData>& client) base 226 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::DictionaryValue* parsed_manifest) OVERRIDE { base 230 chrome/browser/chromeos/app_mode/kiosk_app_data.cc scoped_ptr<base::DictionaryValue>(parsed_manifest)); base 248 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::WeakPtr<KioskAppData> client_; base 288 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::Bind(base::IgnoreResult(&base::DeleteFile), icon_path_, false)); base 311 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::Bind(&KioskAppData::OnExtensionIconLoaded, AsWeakPtr())); base 350 chrome/browser/chromeos/app_mode/kiosk_app_data.cc const base::DictionaryValue* dict = base 359 chrome/browser/chromeos/app_mode/kiosk_app_data.cc icon_path_ = base::FilePath(icon_path_string); base 367 chrome/browser/chromeos/app_mode/kiosk_app_data.cc const base::FilePath& icon_path) { base 386 chrome/browser/chromeos/app_mode/kiosk_app_data.cc raw_icon_ = new base::RefCountedString; base 389 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::FilePath cache_dir; base 393 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::FilePath icon_path = base 397 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::Bind(&SaveIconToLocalOnBlockingPool, icon_path, raw_icon_)); base 415 chrome/browser/chromeos/app_mode/kiosk_app_data.cc const scoped_refptr<base::RefCountedString>& raw_icon, base 451 chrome/browser/chromeos/app_mode/kiosk_app_data.cc scoped_ptr<base::DictionaryValue> webstore_data) { base 490 chrome/browser/chromeos/app_mode/kiosk_app_data.cc bool KioskAppData::CheckResponseKeyValue(const base::DictionaryValue* response, base 19 chrome/browser/chromeos/app_mode/kiosk_app_data.h namespace base { base 42 chrome/browser/chromeos/app_mode/kiosk_app_data.h class KioskAppData : public base::SupportsWeakPtr<KioskAppData>, base 74 chrome/browser/chromeos/app_mode/kiosk_app_data.h const base::RefCountedString* raw_icon() const { base 92 chrome/browser/chromeos/app_mode/kiosk_app_data.h void SetCache(const std::string& name, const base::FilePath& icon_path); base 101 chrome/browser/chromeos/app_mode/kiosk_app_data.h void OnIconLoadSuccess(const scoped_refptr<base::RefCountedString>& raw_icon, base 115 chrome/browser/chromeos/app_mode/kiosk_app_data.h scoped_ptr<base::DictionaryValue> webstore_data) OVERRIDE; base 122 chrome/browser/chromeos/app_mode/kiosk_app_data.h bool CheckResponseKeyValue(const base::DictionaryValue* response, base 133 chrome/browser/chromeos/app_mode/kiosk_app_data.h scoped_refptr<base::RefCountedString> raw_icon_; base 136 chrome/browser/chromeos/app_mode/kiosk_app_data.h base::FilePath icon_path_; base 10 chrome/browser/chromeos/app_mode/kiosk_app_data_delegate.h namespace base { base 19 chrome/browser/chromeos/app_mode/kiosk_app_data_delegate.h virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) = 0; base 62 chrome/browser/chromeos/app_mode/kiosk_app_launch_error.cc const base::DictionaryValue* dict = base 66 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc static base::LazyInstance<KioskAppManager> instance = LAZY_INSTANCE_INITIALIZER; base 123 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Bind( base 124 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc &KioskAppManager::OnLockDevice, base::Unretained(this), callback)); base 132 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Bind(&KioskAppManager::OnReadImmutableAttributes, base 133 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Unretained(this), base 184 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc if (!base::SysInfo::IsRunningOnChromeOS()) { base 190 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Bind(&CheckOwnerFilePresence, base 192 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Bind(&KioskAppManager::OnOwnerFileChecked, base 193 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Unretained(this), base 195 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Owned(owner_present))); base 308 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc const base::RefCountedString* KioskAppManager::GetAppRawIcon( base 359 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Bind(&KioskAppManager::UpdateAppData, base::Unretained(this))); base 363 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Bind(&KioskAppManager::UpdateAppData, base::Unretained(this))); base 434 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::Bind(&OnRemoveAppCryptohomeComplete, it->first)); base 442 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc void KioskAppManager::GetKioskAppIconCacheDir(base::FilePath* cache_dir) { base 443 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc base::FilePath user_data_dir; base 462 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc const base::DictionaryValue* dict = base 25 chrome/browser/chromeos/app_mode/kiosk_app_manager.h namespace base { base 51 chrome/browser/chromeos/app_mode/kiosk_app_manager.h typedef base::Callback<void(bool success)> EnableKioskAutoLaunchCallback; base 52 chrome/browser/chromeos/app_mode/kiosk_app_manager.h typedef base::Callback<void(ConsumerKioskAutoLaunchStatus status)> base 131 chrome/browser/chromeos/app_mode/kiosk_app_manager.h const base::RefCountedString* GetAppRawIcon(const std::string& app_id) const; base 152 chrome/browser/chromeos/app_mode/kiosk_app_manager.h friend struct base::DefaultLazyInstanceTraits<KioskAppManager>; base 153 chrome/browser/chromeos/app_mode/kiosk_app_manager.h friend struct base::DefaultDeleter<KioskAppManager>; base 178 chrome/browser/chromeos/app_mode/kiosk_app_manager.h virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) OVERRIDE; base 41 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc const base::Closure& runner_quit_task, base 51 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc const base::Closure& runner_quit_task, base 61 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc const base::Closure& runner_quit_task, base 73 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::DictionaryValue value; base 79 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::FilePath(), base 172 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::FilePath test_data_dir; base 174 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::FilePath webstore_dir = base 242 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::Bind( base 251 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::FilePath test_dir; base 253 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::FilePath data_dir = test_dir.AppendASCII("chromeos/app_mode/"); base 257 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::FilePath icon_path = temp_dir_.path().AppendASCII(icon_file_name); base 258 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::CopyFile(data_dir.AppendASCII(icon_file_name), icon_path); base 260 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc scoped_ptr<base::DictionaryValue> apps_dict(new base::DictionaryValue); base 270 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::ListValue device_local_accounts; base 271 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue); base 289 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::ScopedTempDir temp_dir_; base 361 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc const base::DictionaryValue* dict = base 363 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc const base::DictionaryValue* apps_dict; base 431 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc const base::DictionaryValue* dict = base 441 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::FilePath expected_icon_path; base 458 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::Bind(&ConsumerKioskAutoLaunchStatusCheck, base 468 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::Bind(&ConsumerKioskModeLockCheck, base 477 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::Bind(&ConsumerKioskAutoLaunchStatusCheck, base 499 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::Bind(&ConsumerKioskAutoLaunchStatusCheck, base 509 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::Bind(&ConsumerKioskModeLockCheck, base 518 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc base::Bind(&ConsumerKioskAutoLaunchStatusCheck, base 55 chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc FROM_HERE, base::TimeDelta::FromMilliseconds(kForceRestartWaitTimeMs), base 66 chrome/browser/chromeos/app_mode/kiosk_app_update_service.h base::OneShotTimer<KioskAppUpdateService> restart_timer_; base 48 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc const base::FilePath& temp_dir = temp_dir_.path(); base 50 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc const base::TimeDelta uptime = base::TimeDelta::FromHours(1); base 52 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc base::DoubleToString(uptime.InSecondsF()); base 53 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc const base::FilePath uptime_file = temp_dir.Append("uptime"); base 55 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc base::WriteFile( base 58 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc new base::ScopedPathOverride(chromeos::FILE_UPTIME, uptime_file)); base 87 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc base::ScopedTempDir temp_dir_; base 88 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc scoped_ptr<base::ScopedPathOverride> uptime_file_override_; base 112 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc prefs::kUptimeLimit, base::TimeDelta::FromMinutes(30).InSeconds()); base 77 chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.cc base::Bind(&KioskDiagnosisRunner::StartSystemLogCollection, base 79 chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.cc base::TimeDelta::FromMinutes(1)); base 90 chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.cc base::Bind(&KioskDiagnosisRunner::SendSysLogFeedback, base 99 chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.cc feedback_data->set_description(base::StringPrintf( base 102 chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.cc base::Int64ToString(base::Time::Now().ToInternalValue()).c_str())); base 119 chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.cc base::Bind(&KioskDiagnosisRunner::OnFeedbackSent, base 41 chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.h base::WeakPtrFactory<KioskDiagnosisRunner> weak_factory_; base 93 chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc const base::TimeDelta& sleep_duration) { base 117 chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc base::TimeDelta::FromMilliseconds(kIdleAppNameNotificationTimeoutMs), base 118 chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc base::Bind(&KioskModeIdleAppNameNotification::OnTimeout, base 119 chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc base::Unretained(this))); base 36 chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.h virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE; base 47 chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.h base::OneShotTimer<KioskModeIdleAppNameNotification> timer_; base 58 chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc : public base::SupportsWeakPtr<CryptohomedChecker> { base 68 chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc base::Bind(&CryptohomedChecker::OnCryptohomeIsMounted, base 85 chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc base::MessageLoop::current()->PostDelayedTask( base 87 chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc base::Bind(&CryptohomedChecker::StartCheck, AsWeakPtr()), base 88 chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc base::TimeDelta::FromMilliseconds(retry_delay_in_milliseconds)); base 96 chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc if (!is_mounted || !base::SysInfo::IsRunningOnChromeOS()) base 58 chrome/browser/chromeos/app_mode/startup_app_launcher.cc const base::FilePath::CharType kOAuthFileName[] = base 105 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::Bind(&StartupAppLauncher::LoadOAuthFileOnBlockingPool, base 107 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::Bind(&StartupAppLauncher::OnOAuthFileLoaded, base 109 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::Owned(auth_params))); base 117 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::FilePath user_data_dir; base 119 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::FilePath auth_file = user_data_dir.Append(kOAuthFileName); base 122 chrome/browser/chromeos/app_mode/startup_app_launcher.cc scoped_ptr<base::Value> value( base 124 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::DictionaryValue* dict = NULL; base 289 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::Bind(&StartupAppLauncher::OnUpdateCheckFinished, AsWeakPtr()); base 303 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::Bind(&StartupAppLauncher::InstallCallback, AsWeakPtr())); base 321 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::Bind(&StartupAppLauncher::OnReadyToLaunch, base 334 chrome/browser/chromeos/app_mode/startup_app_launcher.cc base::Bind(&StartupAppLauncher::MaybeInitializeNetwork, base 35 chrome/browser/chromeos/app_mode/startup_app_launcher.h : public base::SupportsWeakPtr<StartupAppLauncher>, base 52 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::MessageLoop message_loop_; base 66 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Bind(&AttestationCAClientTest::DataCallback, base 67 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Unretained(this))); base 79 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Bind(&AttestationCAClientTest::DataCallback, base 80 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Unretained(this))); base 92 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Bind(&AttestationCAClientTest::DataCallback, base 93 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Unretained(this))); base 105 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Bind(&AttestationCAClientTest::DataCallback, base 106 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Unretained(this))); base 118 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Bind(&AttestationCAClientTest::DeleteClientDataCallback, base 119 chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc base::Unretained(this), base 28 chrome/browser/chromeos/attestation/attestation_policy_browsertest.cc base::MessageLoop::current()->PostTask( base 30 chrome/browser/chromeos/attestation/attestation_policy_browsertest.cc base::Bind(callback, chromeos::DBUS_METHOD_CALL_FAILURE, false)); base 84 chrome/browser/chromeos/attestation/attestation_policy_browsertest.cc base::Bind(&AttestationDevicePolicyTest::Callback, this)); base 96 chrome/browser/chromeos/attestation/attestation_policy_browsertest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 97 chrome/browser/chromeos/attestation/attestation_policy_browsertest.cc base::RunLoop pump; base 46 chrome/browser/chromeos/attestation/attestation_policy_observer.cc void DBusBoolRedirectCallback(const base::Closure& on_true, base 47 chrome/browser/chromeos/attestation/attestation_policy_observer.cc const base::Closure& on_false, base 48 chrome/browser/chromeos/attestation/attestation_policy_observer.cc const base::Closure& on_failure, base 59 chrome/browser/chromeos/attestation/attestation_policy_observer.cc const base::Closure& task = value ? on_true : on_false; base 72 chrome/browser/chromeos/attestation/attestation_policy_observer.cc const base::Callback<void(const std::string&)> on_success, base 73 chrome/browser/chromeos/attestation/attestation_policy_observer.cc const base::Closure& on_failure, base 105 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::AttestationSettingChanged, base 106 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Unretained(this))); base 124 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::AttestationSettingChanged, base 125 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Unretained(this))); base 165 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Closure on_does_exist = base 166 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::GetExistingCertificate, base 168 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Closure on_does_not_exist = base 169 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::GetNewCertificate, base 175 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(DBusBoolRedirectCallback, base 178 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::Reschedule, base 190 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(DBusStringCallback, base 191 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::UploadCertificate, base 193 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::Reschedule, base 204 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(DBusStringCallback, base 205 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::CheckCertificateExpiry, base 207 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::Reschedule, base 220 chrome/browser/chromeos/attestation/attestation_policy_observer.cc const base::TimeDelta threshold = base 221 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::TimeDelta::FromDays(kExpiryThresholdInDays); base 222 chrome/browser/chromeos/attestation/attestation_policy_observer.cc if ((base::Time::Now() + threshold) > x509->valid_expiry()) { base 230 chrome/browser/chromeos/attestation/attestation_policy_observer.cc GetKeyPayload(base::Bind(&AttestationPolicyObserver::CheckIfUploaded, base 239 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::OnUploadComplete, base 257 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Callback<void(const std::string&)> callback) { base 262 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(DBusStringCallback, base 264 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::Reschedule, base 273 chrome/browser/chromeos/attestation/attestation_policy_observer.cc GetKeyPayload(base::Bind(&AttestationPolicyObserver::MarkAsUploaded, base 292 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(DBusBoolRedirectCallback, base 293 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Closure(), base 294 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Closure(), base 295 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Closure(), base 303 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::Bind(&AttestationPolicyObserver::Start, base 305 chrome/browser/chromeos/attestation/attestation_policy_observer.cc base::TimeDelta::FromSeconds(retry_delay_)); base 77 chrome/browser/chromeos/attestation/attestation_policy_observer.h void GetKeyPayload(base::Callback<void(const std::string&)> callback); base 103 chrome/browser/chromeos/attestation/attestation_policy_observer.h base::WeakPtrFactory<AttestationPolicyObserver> weak_factory_; base 38 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc base::MessageLoop::current()->PostTask( base 39 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false)); base 43 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc base::MessageLoop::current()->PostTask( base 44 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 48 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc base::MessageLoop::current()->PostTask( base 49 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_FAILURE, false)); base 53 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc base::MessageLoop::current()->PostTask( base 54 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc FROM_HERE, base::Bind(callback, true, "fake_cert")); base 59 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc base::MessageLoop::current()->PostTask( base 60 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc FROM_HERE, base::Bind(callback, true)); base 68 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc base::MessageLoop::current()->PostTask( base 70 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true, data_)); base 158 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 169 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc base::MessageLoopForUI message_loop_; base 198 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(kCertValid), base 206 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(kCertValid), base 214 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(kCertExpiringSoon), base 222 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(kCertExpired), base 52 chrome/browser/chromeos/attestation/fake_certificate.cc bool GetFakeCertificate(const base::TimeDelta& expiry, base 54 chrome/browser/chromeos/attestation/fake_certificate.cc base::Time valid_start = base::Time::Now() - base::TimeDelta::FromDays(1); base 55 chrome/browser/chromeos/attestation/fake_certificate.cc base::Time valid_expiry = base::Time::Now() + expiry; base 57 chrome/browser/chromeos/attestation/fake_certificate.cc valid_start = valid_expiry - base::TimeDelta::FromDays(1); base 20 chrome/browser/chromeos/attestation/fake_certificate.h bool GetFakeCertificate(const base::TimeDelta& expiry, base 50 chrome/browser/chromeos/attestation/platform_verification_dialog.cc base::UTF8ToUTF16(origin), base 69 chrome/browser/chromeos/attestation/platform_verification_dialog.cc const base::string16& domain, base 77 chrome/browser/chromeos/attestation/platform_verification_dialog.cc const base::string16 learn_more = l10n_util::GetStringUTF16(IDS_LEARN_MORE); base 79 chrome/browser/chromeos/attestation/platform_verification_dialog.cc base::string16 headline = l10n_util::GetStringFUTF16( base 105 chrome/browser/chromeos/attestation/platform_verification_dialog.cc base::string16 PlatformVerificationDialog::GetDialogButtonLabel( base 116 chrome/browser/chromeos/attestation/platform_verification_dialog.cc return base::string16(); base 39 chrome/browser/chromeos/attestation/platform_verification_dialog.h const base::string16& domain, base 46 chrome/browser/chromeos/attestation/platform_verification_dialog.h virtual base::string16 GetDialogButtonLabel( base 60 chrome/browser/chromeos/attestation/platform_verification_dialog.h base::string16 domain_; base 42 chrome/browser/chromeos/attestation/platform_verification_flow.cc void DBusCallback(const base::Callback<void(bool)>& on_success, base 43 chrome/browser/chromeos/attestation/platform_verification_flow.cc const base::Closure& on_failure, base 128 chrome/browser/chromeos/attestation/platform_verification_flow.cc timeout_delay_(base::TimeDelta::FromSeconds(kTimeoutInSeconds)) { base 149 chrome/browser/chromeos/attestation/platform_verification_flow.cc timeout_delay_(base::TimeDelta::FromSeconds(kTimeoutInSeconds)) { base 184 chrome/browser/chromeos/attestation/platform_verification_flow.cc BoolDBusMethodCallback dbus_callback = base::Bind( base 186 chrome/browser/chromeos/attestation/platform_verification_flow.cc base::Bind(&PlatformVerificationFlow::CheckConsent, this, context), base 187 chrome/browser/chromeos/attestation/platform_verification_flow.cc base::Bind(&ReportError, callback, INTERNAL_ERROR)); base 209 chrome/browser/chromeos/attestation/platform_verification_flow.cc Delegate::ConsentCallback consent_callback = base::Bind( base 244 chrome/browser/chromeos/attestation/platform_verification_flow.cc base::UserMetricsAction("PlatformVerificationRejected")); base 250 chrome/browser/chromeos/attestation/platform_verification_flow.cc base::UserMetricsAction("PlatformVerificationAccepted")); base 270 chrome/browser/chromeos/attestation/platform_verification_flow.cc scoped_ptr<base::Timer> timer(new base::Timer(false, // Don't retain. base 272 chrome/browser/chromeos/attestation/platform_verification_flow.cc base::Closure timeout_callback = base::Bind( base 278 chrome/browser/chromeos/attestation/platform_verification_flow.cc AttestationFlow::CertificateCallback certificate_callback = base::Bind( base 283 chrome/browser/chromeos/attestation/platform_verification_flow.cc base::Passed(&timer)); base 295 chrome/browser/chromeos/attestation/platform_verification_flow.cc scoped_ptr<base::Timer> timer, base 317 chrome/browser/chromeos/attestation/platform_verification_flow.cc cryptohome::AsyncMethodCaller::DataCallback cryptohome_callback = base::Bind( base 475 chrome/browser/chromeos/attestation/platform_verification_flow.cc return (base::Time::Now() > x509->valid_expiry()); base 62 chrome/browser/chromeos/attestation/platform_verification_flow.h : public base::RefCountedThreadSafe<PlatformVerificationFlow> { base 89 chrome/browser/chromeos/attestation/platform_verification_flow.h typedef base::Callback<void(ConsentResponse response)> ConsentCallback; base 125 chrome/browser/chromeos/attestation/platform_verification_flow.h typedef base::Callback<void(Result result, base 159 chrome/browser/chromeos/attestation/platform_verification_flow.h void set_timeout_delay(const base::TimeDelta& timeout_delay) { base 164 chrome/browser/chromeos/attestation/platform_verification_flow.h friend class base::RefCountedThreadSafe<PlatformVerificationFlow>; base 220 chrome/browser/chromeos/attestation/platform_verification_flow.h scoped_ptr<base::Timer> timer, base 271 chrome/browser/chromeos/attestation/platform_verification_flow.h base::TimeDelta timeout_delay_; base 144 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 145 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::Bind(callback, base 152 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 153 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::Bind(callback, base 197 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc callback_ = base::Bind(&PlatformVerificationFlowTest::FakeChallengeCallback, base 198 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::Unretained(this)); base 210 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc new base::FundamentalValue(true)); base 256 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 257 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::Bind(callback, base 265 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::MessageLoop::current()->PostTask( base 267 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::Bind(callback, base 292 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::MessageLoopForUI message_loop_; base 326 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 339 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 350 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc new base::FundamentalValue(false)); base 353 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 364 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 373 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 380 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc new base::FundamentalValue(false)); base 382 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 390 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 399 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 407 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 414 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 421 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 428 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 432 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 437 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 446 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 452 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc verifier_->set_timeout_delay(base::TimeDelta::FromSeconds(0)); base 455 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 462 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(-1), base 464 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc ASSERT_TRUE(GetFakeCertificate(base::TimeDelta::FromDays(1), base 467 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 475 chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc base::RunLoop().RunUntilIdle(); base 38 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc base::Uint64ToString(device.id & static_cast<uint64>(0xffffffff)) + base 133 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc : device_mute_settings_(new base::DictionaryValue()), base 134 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc device_volume_settings_(new base::DictionaryValue()), base 147 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc base::Closure callback = base 148 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc base::Bind(&AudioDevicesPrefHandlerImpl::NotifyAudioPolicyChange, base 149 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc base::Unretained(this)); base 155 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc const base::DictionaryValue* mute_prefs = base 163 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc base::DictionaryValue::Iterator it(*device_mute_settings_); base 173 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc const base::DictionaryValue* volume_prefs = base 182 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc base::DictionaryValue::Iterator it(*device_volume_settings_); base 70 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h scoped_ptr<base::DictionaryValue> device_mute_settings_; base 71 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h scoped_ptr<base::DictionaryValue> device_volume_settings_; base 102 chrome/browser/chromeos/base/locale_util.cc base::Closure reloader( base 103 chrome/browser/chromeos/base/locale_util.cc base::Bind(&SwitchLanguageDoReloadLocale, base::Unretained(data.get()))); base 107 chrome/browser/chromeos/base/locale_util.cc base::Bind(&FinishSwitchLanguage, base::Passed(data.Pass()))); base 14 chrome/browser/chromeos/base/locale_util.h namespace base { base 31 chrome/browser/chromeos/base/locale_util.h typedef base::Callback<void(const std::string&, const std::string&, bool)> base 60 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc base::string16 BluetoothPairingDialog::GetDialogTitle() const { base 79 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc base::JSONWriter::Write(&device_data_, &data); base 33 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 49 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h base::DictionaryValue device_data_; base 79 chrome/browser/chromeos/boot_times_loader.cc static const base::FilePath::CharType kLogPath[] = FPL("/tmp"); base 81 chrome/browser/chromeos/boot_times_loader.cc static const base::FilePath::CharType kLoginLogPath[] = base 84 chrome/browser/chromeos/boot_times_loader.cc static const base::FilePath::CharType kUptimePrefix[] = FPL("uptime-"); base 86 chrome/browser/chromeos/boot_times_loader.cc static const base::FilePath::CharType kDiskPrefix[] = FPL("disk-"); base 88 chrome/browser/chromeos/boot_times_loader.cc static const base::FilePath::CharType kChromeMain[] = FPL("chrome-main"); base 93 chrome/browser/chromeos/boot_times_loader.cc static const base::FilePath::CharType kLoginSuccess[] = FPL("login-success"); base 94 chrome/browser/chromeos/boot_times_loader.cc static const base::FilePath::CharType kChromeFirstRender[] = base 104 chrome/browser/chromeos/boot_times_loader.cc static const base::FilePath::CharType kLoginTimes[] = FPL("login-times"); base 109 chrome/browser/chromeos/boot_times_loader.cc static base::LazyInstance<BootTimesLoader> g_boot_times_loader = base 129 chrome/browser/chromeos/boot_times_loader.cc static int AppendFile(const base::FilePath& file_path, base 132 chrome/browser/chromeos/boot_times_loader.cc FILE* file = base::OpenFile(file_path, "a"); base 137 chrome/browser/chromeos/boot_times_loader.cc base::CloseFile(file); base 141 chrome/browser/chromeos/boot_times_loader.cc static void RecordStatsDelayed(const base::FilePath::StringType& name, base 144 chrome/browser/chromeos/boot_times_loader.cc const base::FilePath log_path(kLogPath); base 145 chrome/browser/chromeos/boot_times_loader.cc const base::FilePath uptime_output = base 146 chrome/browser/chromeos/boot_times_loader.cc log_path.Append(base::FilePath(kUptimePrefix + name)); base 147 chrome/browser/chromeos/boot_times_loader.cc const base::FilePath disk_output = base 148 chrome/browser/chromeos/boot_times_loader.cc log_path.Append(base::FilePath(kDiskPrefix + name)); base 164 chrome/browser/chromeos/boot_times_loader.cc const base::FilePath log_path(kLoginLogPath); base 171 chrome/browser/chromeos/boot_times_loader.cc base::Time first = login_times.front().time(); base 172 chrome/browser/chromeos/boot_times_loader.cc base::Time last = login_times.back().time(); base 173 chrome/browser/chromeos/boot_times_loader.cc base::TimeDelta total = last - first; base 174 chrome/browser/chromeos/boot_times_loader.cc base::HistogramBase* total_hist = base::Histogram::FactoryTimeGet( base 176 chrome/browser/chromeos/boot_times_loader.cc base::TimeDelta::FromMilliseconds(kMinTimeMillis), base 177 chrome/browser/chromeos/boot_times_loader.cc base::TimeDelta::FromMilliseconds(kMaxTimeMillis), base 179 chrome/browser/chromeos/boot_times_loader.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 182 chrome/browser/chromeos/boot_times_loader.cc base::StringPrintf("%s: %.2f", uma_name.c_str(), total.InSecondsF()); base 183 chrome/browser/chromeos/boot_times_loader.cc base::Time prev = first; base 186 chrome/browser/chromeos/boot_times_loader.cc base::TimeDelta since_first = tm.time() - first; base 187 chrome/browser/chromeos/boot_times_loader.cc base::TimeDelta since_prev = tm.time() - prev; base 192 chrome/browser/chromeos/boot_times_loader.cc base::HistogramBase* prev_hist = base::Histogram::FactoryTimeGet( base 194 chrome/browser/chromeos/boot_times_loader.cc base::TimeDelta::FromMilliseconds(kMinTimeMillis), base 195 chrome/browser/chromeos/boot_times_loader.cc base::TimeDelta::FromMilliseconds(kMaxTimeMillis), base 197 chrome/browser/chromeos/boot_times_loader.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 203 chrome/browser/chromeos/boot_times_loader.cc base::StringPrintf( base 212 chrome/browser/chromeos/boot_times_loader.cc base::WriteFile(log_path.Append(base_name), output.data(), output.size()); base 232 chrome/browser/chromeos/boot_times_loader.cc base::Bind(&WriteTimes, kLoginTimes, kUmaLogin, kUmaLoginPrefix, base 234 chrome/browser/chromeos/boot_times_loader.cc base::TimeDelta::FromMilliseconds(kLoginTimeWriteDelayMs)); base 253 chrome/browser/chromeos/boot_times_loader.cc base::Bind(&RecordStatsDelayed, name, stats.uptime, stats.disk)); base 257 chrome/browser/chromeos/boot_times_loader.cc const base::FilePath kProcUptime(FPL("/proc/uptime")); base 258 chrome/browser/chromeos/boot_times_loader.cc const base::FilePath kDiskStat(FPL("/sys/block/sda/stat")); base 260 chrome/browser/chromeos/boot_times_loader.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 261 chrome/browser/chromeos/boot_times_loader.cc base::ReadFileToString(kProcUptime, &stats.uptime); base 262 chrome/browser/chromeos/boot_times_loader.cc base::ReadFileToString(kDiskStat, &stats.disk); base 325 chrome/browser/chromeos/boot_times_loader.cc base::Bind(&BootTimesLoader::AddMarker, base 326 chrome/browser/chromeos/boot_times_loader.cc base::Unretained(vector), base 82 chrome/browser/chromeos/boot_times_loader.h class Backend : public base::RefCountedThreadSafe<Backend> { base 87 chrome/browser/chromeos/boot_times_loader.h friend class base::RefCountedThreadSafe<Backend>; base 98 chrome/browser/chromeos/boot_times_loader.h time_(base::Time::NowFromSystemTime()), base 101 chrome/browser/chromeos/boot_times_loader.h base::Time time() const { return time_; } base 112 chrome/browser/chromeos/boot_times_loader.h base::Time time_; base 139 chrome/browser/chromeos/boot_times_loader.h base::AtomicSequenceNumber num_tabs_; base 43 chrome/browser/chromeos/camera_detector.cc void CameraDetector::StartPresenceCheck(const base::Closure& callback) { base 49 chrome/browser/chromeos/camera_detector.cc base::PostTaskAndReplyWithResult( base 51 chrome/browser/chromeos/camera_detector.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN).get(), base 53 chrome/browser/chromeos/camera_detector.cc base::Bind(&CameraDetector::CheckPresence), base 54 chrome/browser/chromeos/camera_detector.cc base::Bind(&CameraDetector::OnPresenceCheckDone, callback)); base 58 chrome/browser/chromeos/camera_detector.cc void CameraDetector::OnPresenceCheckDone(const base::Closure& callback, base 70 chrome/browser/chromeos/camera_detector.cc base::FileEnumerator file_enum( base 71 chrome/browser/chromeos/camera_detector.cc base::FilePath(kV4LSubsystemDir), false /* not recursive */, base 72 chrome/browser/chromeos/camera_detector.cc base::FileEnumerator::FILES | base::FileEnumerator::SHOW_SYM_LINKS); base 73 chrome/browser/chromeos/camera_detector.cc for (base::FilePath path = file_enum.Next(); !path.empty(); base 79 chrome/browser/chromeos/camera_detector.cc base::SplitString(v4l_capabilities, kV4LCapabilitiesDelim, &caps); base 30 chrome/browser/chromeos/camera_detector.h static void StartPresenceCheck(const base::Closure& check_done); base 34 chrome/browser/chromeos/camera_detector.h static void OnPresenceCheckDone(const base::Closure& callback, bool present); base 41 chrome/browser/chromeos/camera_presence_notifier.cc base::TimeDelta::FromSeconds(kCameraCheckIntervalSeconds), base 58 chrome/browser/chromeos/camera_presence_notifier.cc base::Bind(&CameraPresenceNotifier::OnCameraPresenceCheckDone, base 40 chrome/browser/chromeos/camera_presence_notifier.h base::WeakPtrFactory<CameraPresenceNotifier> weak_factory_; base 45 chrome/browser/chromeos/camera_presence_notifier.h base::RepeatingTimer<CameraPresenceNotifier> camera_check_timer_; base 53 chrome/browser/chromeos/charger_replace/charger_link_dialog.cc base::string16 ChargerLinkDialog::GetDialogTitle() const { base 25 chrome/browser/chromeos/charger_replace/charger_link_dialog.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 79 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.cc base::UserMetricsAction("ShowChargerReplacementDialog")); base 96 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.cc base::string16 ChargerReplacementDialog::GetDialogTitle() const { base 35 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 40 chrome/browser/chromeos/choose_mobile_network_dialog.cc base::string16 ChooseMobileNetworkDialog::GetDialogTitle() const { base 41 chrome/browser/chromeos/choose_mobile_network_dialog.cc return base::string16(); base 26 chrome/browser/chromeos/choose_mobile_network_dialog.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 124 chrome/browser/chromeos/chrome_browser_main_chromeos.cc base::SetLinuxDistro(std::string("CrOS ") + version); base 245 chrome/browser/chromeos/chrome_browser_main_chromeos.cc if (!base::SysInfo::IsRunningOnChromeOS()) { base 248 chrome/browser/chromeos/chrome_browser_main_chromeos.cc base::FilePath user_data_dir; base 290 chrome/browser/chromeos/chrome_browser_main_chromeos.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 365 chrome/browser/chromeos/chrome_browser_main_chromeos.cc if (!base::SysInfo::IsRunningOnChromeOS() && base 383 chrome/browser/chromeos/chrome_browser_main_chromeos.cc if (base::SysInfo::GetLsbReleaseValue(kChromeOSReleaseTrack, &channel)) base 424 chrome/browser/chromeos/chrome_browser_main_chromeos.cc base::FilePath downloads_directory; base 433 chrome/browser/chromeos/chrome_browser_main_chromeos.cc if (base::SysInfo::IsRunningOnChromeOS() && base 511 chrome/browser/chromeos/chrome_browser_main_chromeos.cc base::Bind(&ChromeOSVersionCallback), base 592 chrome/browser/chromeos/chrome_browser_main_chromeos.cc new locale_util::SwitchLanguageCallback(base::Bind( base 593 chrome/browser/chromeos/chrome_browser_main_chromeos.cc &GuestLanguageSetCallbackData::Callback, base::Passed(data.Pass())))); base 611 chrome/browser/chromeos/chrome_browser_main_chromeos.cc if (!base::SysInfo::IsRunningOnChromeOS() && base 73 chrome/browser/chromeos/chrome_browser_main_chromeos.h base::CancelableTaskTracker tracker_; base 17 chrome/browser/chromeos/chromeos_utils.cc base::string16 GetChromeDeviceType() { base 18 chrome/browser/chromeos/chromeos_utils.cc std::string board = base::SysInfo::GetLsbReleaseBoard(); base 13 chrome/browser/chromeos/chromeos_utils.h base::string16 GetChromeDeviceType(); base 104 chrome/browser/chromeos/customization_document.cc const base::DictionaryValue* root, base 108 chrome/browser/chromeos/customization_document.cc const base::DictionaryValue* dictionary_content = NULL; base 112 chrome/browser/chromeos/customization_document.cc const base::DictionaryValue* locale_dictionary = NULL; base 119 chrome/browser/chromeos/customization_document.cc const base::DictionaryValue* default_dictionary = NULL; base 139 chrome/browser/chromeos/customization_document.cc public base::SupportsWeakPtr<ServicesCustomizationExternalLoader> { base 147 chrome/browser/chromeos/customization_document.cc void SetCurrentApps(scoped_ptr<base::DictionaryValue> prefs) { base 174 chrome/browser/chromeos/customization_document.cc base::DictionaryValue apps_; base 189 chrome/browser/chromeos/customization_document.cc const base::FilePath& manifest_path) { base 191 chrome/browser/chromeos/customization_document.cc if (!base::ReadFileToString(manifest_path, &manifest)) base 200 chrome/browser/chromeos/customization_document.cc scoped_ptr<base::Value> root(base::JSONReader::ReadAndReturnError(manifest, base 201 chrome/browser/chromeos/customization_document.cc base::JSON_ALLOW_TRAILING_COMMAS, &error_code, &error)); base 202 chrome/browser/chromeos/customization_document.cc if (error_code != base::JSONReader::JSON_NO_ERROR) base 207 chrome/browser/chromeos/customization_document.cc DCHECK(root->GetType() == base::Value::TYPE_DICTIONARY); base 208 chrome/browser/chromeos/customization_document.cc if (root->GetType() == base::Value::TYPE_DICTIONARY) { base 209 chrome/browser/chromeos/customization_document.cc root_.reset(static_cast<base::DictionaryValue*>(root.release())); base 236 chrome/browser/chromeos/customization_document.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 237 chrome/browser/chromeos/customization_document.cc LoadManifestFromFile(base::FilePath(kStartupCustomizationManifestPath)); base 267 chrome/browser/chromeos/customization_document.cc base::ListValue* hwid_list = NULL; base 270 chrome/browser/chromeos/customization_document.cc base::DictionaryValue* hwid_dictionary = NULL; base 306 chrome/browser/chromeos/customization_document.cc base::SplitString(initial_locale_, ',', &configured_locales_); base 334 chrome/browser/chromeos/customization_document.cc network_delay_(base::TimeDelta::FromMilliseconds( base 342 chrome/browser/chromeos/customization_document.cc network_delay_(base::TimeDelta::FromMilliseconds( base 396 chrome/browser/chromeos/customization_document.cc url_ = GURL(base::StringPrintf( base 405 chrome/browser/chromeos/customization_document.cc base::Bind(&ServicesCustomizationDocument::ReadFileInBackground, base 407 chrome/browser/chromeos/customization_document.cc base::FilePath(url_.path()))); base 416 chrome/browser/chromeos/customization_document.cc base::WeakPtr<ServicesCustomizationDocument> self, base 417 chrome/browser/chromeos/customization_document.cc const base::FilePath& file) { base 421 chrome/browser/chromeos/customization_document.cc if (!base::ReadFileToString(file, &manifest)) { base 428 chrome/browser/chromeos/customization_document.cc base::Bind(&ServicesCustomizationDocument::OnManifesteRead, base 442 chrome/browser/chromeos/customization_document.cc DelayNetworkCall(base::Bind(&ServicesCustomizationDocument::DoStartFileFetch, base 475 chrome/browser/chromeos/customization_document.cc scoped_ptr<base::DictionaryValue> prefs = base 482 chrome/browser/chromeos/customization_document.cc scoped_ptr<base::DictionaryValue>(prefs->DeepCopy())); base 508 chrome/browser/chromeos/customization_document.cc base::Bind(&ServicesCustomizationDocument::StartFileFetch, base 510 chrome/browser/chromeos/customization_document.cc base::TimeDelta::FromSeconds(kRetriesDelayInSec)); base 544 chrome/browser/chromeos/customization_document.cc base::ListValue* apps_list = NULL; base 569 chrome/browser/chromeos/customization_document.cc scoped_ptr<base::DictionaryValue> base 571 chrome/browser/chromeos/customization_document.cc const base::DictionaryValue& root) { base 572 chrome/browser/chromeos/customization_document.cc scoped_ptr<base::DictionaryValue> prefs(new base::DictionaryValue); base 573 chrome/browser/chromeos/customization_document.cc const base::ListValue* apps_list = NULL; base 578 chrome/browser/chromeos/customization_document.cc base::DictionaryValue* entry = new base::DictionaryValue; base 608 chrome/browser/chromeos/customization_document.cc const base::DictionaryValue* root = base 632 chrome/browser/chromeos/customization_document.cc const base::DictionaryValue& root) { base 649 chrome/browser/chromeos/customization_document.cc const base::DictionaryValue& root) const { base 657 chrome/browser/chromeos/customization_document.cc g_test_services_customization_document->network_delay_ = base::TimeDelta(); base 23 chrome/browser/chromeos/customization_document.h namespace base { base 62 chrome/browser/chromeos/customization_document.h virtual bool LoadManifestFromFile(const base::FilePath& manifest_path); base 69 chrome/browser/chromeos/customization_document.h scoped_ptr<base::DictionaryValue> root_; base 185 chrome/browser/chromeos/customization_document.h typedef std::vector<base::WeakPtr<ServicesCustomizationExternalLoader> > base 213 chrome/browser/chromeos/customization_document.h base::WeakPtr<ServicesCustomizationDocument> self, base 214 chrome/browser/chromeos/customization_document.h const base::FilePath& file); base 223 chrome/browser/chromeos/customization_document.h static scoped_ptr<base::DictionaryValue> GetDefaultAppsInProviderFormat( base 224 chrome/browser/chromeos/customization_document.h const base::DictionaryValue& root); base 233 chrome/browser/chromeos/customization_document.h void SetOemFolderName(Profile* profile, const base::DictionaryValue& root); base 238 chrome/browser/chromeos/customization_document.h const base::DictionaryValue& root) const; base 253 chrome/browser/chromeos/customization_document.h base::TimeDelta network_delay_; base 259 chrome/browser/chromeos/customization_document.h base::WeakPtrFactory<ServicesCustomizationDocument> weak_ptr_factory_; base 198 chrome/browser/chromeos/customization_document_unittest.cc const base::Version*, base 199 chrome/browser/chromeos/customization_document_unittest.cc const base::FilePath&, base 218 chrome/browser/chromeos/customization_document_unittest.cc base::Bind(&TestURLFetcherCallback::CreateURLFetcher, base 219 chrome/browser/chromeos/customization_document_unittest.cc base::Unretained(&url_callback_))) { base 258 chrome/browser/chromeos/customization_document_unittest.cc base::RunLoop().RunUntilIdle(); base 270 chrome/browser/chromeos/customization_document_unittest.cc GURL url(base::StringPrintf(ServicesCustomizationDocument::kManifestUrl, base 282 chrome/browser/chromeos/customization_document_unittest.cc GURL url(base::StringPrintf(ServicesCustomizationDocument::kManifestUrl, base 35 chrome/browser/chromeos/dbus/cros_dbus_service.cc origin_thread_id_(base::PlatformThread::CurrentId()), base 63 chrome/browser/chromeos/dbus/cros_dbus_service.cc base::Bind(&CrosDBusServiceImpl::OnOwnership, base 64 chrome/browser/chromeos/dbus/cros_dbus_service.cc base::Unretained(this))); base 86 chrome/browser/chromeos/dbus/cros_dbus_service.cc return base::PlatformThread::CurrentId() == origin_thread_id_; base 96 chrome/browser/chromeos/dbus/cros_dbus_service.cc base::PlatformThreadId origin_thread_id_; base 122 chrome/browser/chromeos/dbus/cros_dbus_service.cc if (base::SysInfo::IsRunningOnChromeOS() && bus) { base 28 chrome/browser/chromeos/dbus/display_power_service_provider.cc base::Bind(&DisplayPowerServiceProvider::SetDisplayPower, base 30 chrome/browser/chromeos/dbus/display_power_service_provider.cc base::Bind(&DisplayPowerServiceProvider::OnExported, base 35 chrome/browser/chromeos/dbus/display_power_service_provider.cc base::Bind(&DisplayPowerServiceProvider::SetDisplaySoftwareDimming, base 37 chrome/browser/chromeos/dbus/display_power_service_provider.cc base::Bind(&DisplayPowerServiceProvider::OnExported, base 53 chrome/browser/chromeos/dbus/display_power_service_provider.h base::WeakPtrFactory<DisplayPowerServiceProvider> weak_ptr_factory_; base 23 chrome/browser/chromeos/dbus/liveness_service_provider.cc base::Bind(&LivenessServiceProvider::CheckLiveness, base 25 chrome/browser/chromeos/dbus/liveness_service_provider.cc base::Bind(&LivenessServiceProvider::OnExported, base 59 chrome/browser/chromeos/dbus/liveness_service_provider.h base::WeakPtrFactory<LivenessServiceProvider> weak_ptr_factory_; base 104 chrome/browser/chromeos/dbus/printer_service_provider.cc base::Bind(&PrinterServiceProvider::PrinterAdded, base 106 chrome/browser/chromeos/dbus/printer_service_provider.cc base::Bind(&PrinterServiceProvider::OnExported, base 124 chrome/browser/chromeos/dbus/printer_service_provider.cc base::Bind(&FindOrOpenCloudPrintPage, vendor, base 73 chrome/browser/chromeos/dbus/printer_service_provider.h base::WeakPtrFactory<PrinterServiceProvider> weak_ptr_factory_; base 32 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc : callback_(base::Bind(&Request::OnCompletion, base::Unretained(this))), base 54 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc base::Closure notify_task_; // Task to notify of resolution result. base 61 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc : origin_thread_id_(base::PlatformThread::CurrentId()), base 86 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc request->notify_task_ = base::Bind( base 103 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc base::Bind(&ProxyResolverImpl::ResolveProxyInternal, base 175 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc return base::PlatformThread::CurrentId() == origin_thread_id_; base 178 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc base::PlatformThreadId origin_thread_id_; base 180 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc base::WeakPtrFactory<ProxyResolverImpl> weak_ptr_factory_; base 188 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc origin_thread_id_(base::PlatformThread::CurrentId()), base 206 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc base::Bind(&ProxyResolutionServiceProvider::CallResolveProxyHandler, base 208 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc base::Bind(&ProxyResolutionServiceProvider::OnExported, base 224 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc return base::PlatformThread::CurrentId() == origin_thread_id_; base 257 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc base::WeakPtr<ProxyResolutionServiceProvider> provider_weak_ptr, base 112 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h base::WeakPtr<ProxyResolutionServiceProvider> weak_ptr, base 121 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h base::PlatformThreadId origin_thread_id_; base 122 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h base::WeakPtrFactory<ProxyResolutionServiceProvider> weak_ptr_factory_; base 83 chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc base::Bind(&ProxyResolutionServiceProviderTest::OnSignalReceived, base 84 chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc base::Unretained(this)), base 85 chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc base::Bind(&ProxyResolutionServiceProviderTest::OnConnectedToSignal, base 86 chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc base::Unretained(this))); base 28 chrome/browser/chromeos/dbus/screen_lock_service_provider.cc base::Bind(&ScreenLockServiceProvider::LockScreen, base 30 chrome/browser/chromeos/dbus/screen_lock_service_provider.cc base::Bind(&ScreenLockServiceProvider::OnExported, base 48 chrome/browser/chromeos/dbus/screen_lock_service_provider.h base::WeakPtrFactory<ScreenLockServiceProvider> weak_ptr_factory_; base 130 chrome/browser/chromeos/dbus/service_provider_test_helper.cc base::Bind(&ServiceProviderTestHelper::OnResponse, base 131 chrome/browser/chromeos/dbus/service_provider_test_helper.cc base::Unretained(this))); base 91 chrome/browser/chromeos/dbus/service_provider_test_helper.h base::MessageLoop message_loop_; base 49 chrome/browser/chromeos/device_uma.cc base::MessageLoopForUI::current()->AddObserver(this); base 56 chrome/browser/chromeos/device_uma.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 61 chrome/browser/chromeos/device_uma.cc base::EventStatus DeviceUMA::WillProcessEvent( base 62 chrome/browser/chromeos/device_uma.cc const base::NativeEvent& event) { base 64 chrome/browser/chromeos/device_uma.cc return base::EVENT_CONTINUE; base 68 chrome/browser/chromeos/device_uma.cc const base::NativeEvent& event) { base 71 chrome/browser/chromeos/device_uma.cc void DeviceUMA::CheckTouchpadEvent(const base::NativeEvent& native_event) { base 98 chrome/browser/chromeos/device_uma.cc void DeviceUMA::CheckIncomingEvent(const base::NativeEvent& event) { base 17 chrome/browser/chromeos/device_uma.h class DeviceUMA : public base::MessageLoopForUI::Observer { base 36 chrome/browser/chromeos/device_uma.h virtual base::EventStatus WillProcessEvent( base 37 chrome/browser/chromeos/device_uma.h const base::NativeEvent& event) OVERRIDE; base 38 chrome/browser/chromeos/device_uma.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; base 41 chrome/browser/chromeos/device_uma.h void CheckTouchpadEvent(const base::NativeEvent& event); base 44 chrome/browser/chromeos/device_uma.h void CheckIncomingEvent(const base::NativeEvent& event); base 41 chrome/browser/chromeos/display/display_preferences.cc bool ValueToInsets(const base::DictionaryValue& value, gfx::Insets* insets) { base 57 chrome/browser/chromeos/display/display_preferences.cc void InsetsToValue(const gfx::Insets& insets, base::DictionaryValue* value) { base 113 chrome/browser/chromeos/display/display_preferences.cc const base::DictionaryValue* layouts = local_state->GetDictionary( base 115 chrome/browser/chromeos/display/display_preferences.cc for (base::DictionaryValue::Iterator it(*layouts); base 125 chrome/browser/chromeos/display/display_preferences.cc base::SplitString(it.key(), ',', &ids); base 128 chrome/browser/chromeos/display/display_preferences.cc if (!base::StringToInt64(ids[0], &id1) || base 129 chrome/browser/chromeos/display/display_preferences.cc !base::StringToInt64(ids[1], &id2) || base 141 chrome/browser/chromeos/display/display_preferences.cc const base::DictionaryValue* properties = local_state->GetDictionary( base 143 chrome/browser/chromeos/display/display_preferences.cc for (base::DictionaryValue::Iterator it(*properties); base 145 chrome/browser/chromeos/display/display_preferences.cc const base::DictionaryValue* dict_value = NULL; base 149 chrome/browser/chromeos/display/display_preferences.cc if (!base::StringToInt64(it.key(), &id) || base 190 chrome/browser/chromeos/display/display_preferences.cc base::Int64ToString(pair.first) + "," + base::Int64ToString(pair.second); base 194 chrome/browser/chromeos/display/display_preferences.cc base::DictionaryValue* pref_data = update.Get(); base 195 chrome/browser/chromeos/display/display_preferences.cc scoped_ptr<base::Value> layout_value(new base::DictionaryValue()); base 197 chrome/browser/chromeos/display/display_preferences.cc base::Value* value = NULL; base 222 chrome/browser/chromeos/display/display_preferences.cc base::DictionaryValue* pref_data = update.Get(); base 230 chrome/browser/chromeos/display/display_preferences.cc scoped_ptr<base::DictionaryValue> property_value( base 231 chrome/browser/chromeos/display/display_preferences.cc new base::DictionaryValue()); base 249 chrome/browser/chromeos/display/display_preferences.cc pref_data->Set(base::Int64ToString(id), property_value.release()); base 267 chrome/browser/chromeos/display/display_preferences.cc bool GetDisplayPowerStateFromString(const base::StringPiece& state, base 89 chrome/browser/chromeos/display/display_preferences_unittest.cc base::DictionaryValue* pref_data = update.Get(); base 90 chrome/browser/chromeos/display/display_preferences_unittest.cc scoped_ptr<base::Value>layout_value(new base::DictionaryValue()); base 92 chrome/browser/chromeos/display/display_preferences_unittest.cc base::Value* value = NULL; base 105 chrome/browser/chromeos/display/display_preferences_unittest.cc base::Int64ToString(id1) + "," + base::Int64ToString(id2), base 114 chrome/browser/chromeos/display/display_preferences_unittest.cc base::Int64ToString(id), layout, offset, primary_id); base 119 chrome/browser/chromeos/display/display_preferences_unittest.cc const std::string name = base::Int64ToString(id); base 121 chrome/browser/chromeos/display/display_preferences_unittest.cc base::DictionaryValue* pref_data = update.Get(); base 122 chrome/browser/chromeos/display/display_preferences_unittest.cc base::DictionaryValue* insets_value = new base::DictionaryValue(); base 132 chrome/browser/chromeos/display/display_preferences_unittest.cc const std::string name = base::Int64ToString(id); base 134 chrome/browser/chromeos/display/display_preferences_unittest.cc base::DictionaryValue* pref_data = update.Get(); base 135 chrome/browser/chromeos/display/display_preferences_unittest.cc base::DictionaryValue* property = new base::DictionaryValue(); base 228 chrome/browser/chromeos/display/display_preferences_unittest.cc const base::DictionaryValue* displays = base 230 chrome/browser/chromeos/display/display_preferences_unittest.cc const base::DictionaryValue* layout_value = NULL; base 231 chrome/browser/chromeos/display/display_preferences_unittest.cc std::string key = base::Int64ToString(id1) + "," + base::Int64ToString(id2); base 244 chrome/browser/chromeos/display/display_preferences_unittest.cc const base::DictionaryValue* properties = base 246 chrome/browser/chromeos/display/display_preferences_unittest.cc const base::DictionaryValue* property = NULL; base 247 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id1), &property)); base 274 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id2), &property)); base 300 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id1), &property)); base 309 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id2), &property)); base 328 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(base::Int64ToString(id2), primary_id_str); base 346 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(base::Int64ToString(id2), primary_id_str); base 348 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id1), &property)); base 354 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id2), &property)); base 369 chrome/browser/chromeos/display/display_preferences_unittest.cc key = base::Int64ToString(id1) + "," + base::Int64ToString(id2); base 379 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(base::Int64ToString(id1), primary_id_str); base 382 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id2), &property)); base 395 chrome/browser/chromeos/display/display_preferences_unittest.cc key = base::Int64ToString(id1) + "," + base::Int64ToString(id2); base 405 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(base::Int64ToString(id1), primary_id_str); base 408 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id2), &property)); base 424 chrome/browser/chromeos/display/display_preferences_unittest.cc id, gfx::Size(400, 300), gfx::Size(500, 400), base::Closure()); base 427 chrome/browser/chromeos/display/display_preferences_unittest.cc const base::DictionaryValue* properties = base 429 chrome/browser/chromeos/display/display_preferences_unittest.cc const base::DictionaryValue* property = NULL; base 430 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id), &property)); base 449 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id), &property)); base 471 chrome/browser/chromeos/display/display_preferences_unittest.cc const base::DictionaryValue* displays = base 473 chrome/browser/chromeos/display/display_preferences_unittest.cc const base::DictionaryValue* new_value = NULL; base 474 chrome/browser/chromeos/display/display_preferences_unittest.cc std::string key = base::Int64ToString(id1) + "," + base::Int64ToString(id2); base 142 chrome/browser/chromeos/display/overscan_calibrator.cc base::Closure OverscanCalibrator::PrepareForLayerBoundsChange() { base 143 chrome/browser/chromeos/display/overscan_calibrator.cc return base::Closure(); base 46 chrome/browser/chromeos/display/overscan_calibrator.h virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE; base 29 chrome/browser/chromeos/drive/change_list_loader.cc typedef base::Callback<void(FileError, ScopedVector<ChangeList>)> base 56 chrome/browser/chromeos/drive/change_list_loader.cc start_time_ = base::TimeTicks::Now(); base 60 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&FullFeedFetcher::OnFileListFetched, base 86 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&FullFeedFetcher::OnFileListFetched, base 92 chrome/browser/chromeos/drive/change_list_loader.cc base::TimeTicks::Now() - start_time_); base 102 chrome/browser/chromeos/drive/change_list_loader.cc base::TimeTicks start_time_; base 103 chrome/browser/chromeos/drive/change_list_loader.cc base::WeakPtrFactory<FullFeedFetcher> weak_ptr_factory_; base 125 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&DeltaFeedFetcher::OnChangeListFetched, base 151 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&DeltaFeedFetcher::OnChangeListFetched, base 165 chrome/browser/chromeos/drive/change_list_loader.cc base::WeakPtrFactory<DeltaFeedFetcher> weak_ptr_factory_; base 181 chrome/browser/chromeos/drive/change_list_loader.cc scoped_ptr<base::ScopedClosureRunner> LoaderController::GetLock() { base 185 chrome/browser/chromeos/drive/change_list_loader.cc return make_scoped_ptr(new base::ScopedClosureRunner( base 186 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&LoaderController::Unlock, base 190 chrome/browser/chromeos/drive/change_list_loader.cc void LoaderController::ScheduleRun(const base::Closure& task) { base 208 chrome/browser/chromeos/drive/change_list_loader.cc std::vector<base::Closure> tasks; base 227 chrome/browser/chromeos/drive/change_list_loader.cc base::MessageLoopProxy::current()->PostTask( base 229 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind( base 232 chrome/browser/chromeos/drive/change_list_loader.cc base::Passed(scoped_ptr<google_apis::AboutResource>( base 245 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&AboutResourceLoader::UpdateAboutResourceAfterGetAbout, base 276 chrome/browser/chromeos/drive/change_list_loader.cc base::SequencedTaskRunner* blocking_task_runner, base 355 chrome/browser/chromeos/drive/change_list_loader.cc base::PostTaskAndReplyWithResult( base 358 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&ResourceMetadata::GetLargestChangestamp, base 359 chrome/browser/chromeos/drive/change_list_loader.cc base::Unretained(resource_metadata_)), base 360 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&ChangeListLoader::LoadAfterGetLargestChangestamp, base 376 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&util::EmptyFileOperationCallback)); base 380 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&ChangeListLoader::LoadAfterGetAboutResource, base 427 chrome/browser/chromeos/drive/change_list_loader.cc base::MessageLoopProxy::current()->PostTask( base 429 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(pending_load_callback_[i], error)); base 436 chrome/browser/chromeos/drive/change_list_loader.cc Load(base::ResetAndReturn(&pending_update_check_callback_)); base 458 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&ChangeListLoader::LoadChangeListFromServerAfterLoadChangeList, base 460 chrome/browser/chromeos/drive/change_list_loader.cc base::Passed(make_scoped_ptr(new google_apis::AboutResource( base 490 chrome/browser/chromeos/drive/change_list_loader.cc loader_controller_->ScheduleRun(base::Bind( base 491 chrome/browser/chromeos/drive/change_list_loader.cc base::IgnoreResult( base 492 chrome/browser/chromeos/drive/change_list_loader.cc &base::PostTaskAndReplyWithResult<FileError, FileError>), base 495 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&ChangeListProcessor::Apply, base 496 chrome/browser/chromeos/drive/change_list_loader.cc base::Unretained(change_list_processor), base 497 chrome/browser/chromeos/drive/change_list_loader.cc base::Passed(&about_resource), base 498 chrome/browser/chromeos/drive/change_list_loader.cc base::Passed(&change_lists), base 500 chrome/browser/chromeos/drive/change_list_loader.cc base::Bind(&ChangeListLoader::LoadChangeListFromServerAfterUpdate, base 502 chrome/browser/chromeos/drive/change_list_loader.cc base::Owned(change_list_processor), base 504 chrome/browser/chromeos/drive/change_list_loader.cc base::Time::Now()))); base 510 chrome/browser/chromeos/drive/change_list_loader.cc const base::Time& start_time, base 514 chrome/browser/chromeos/drive/change_list_loader.cc const base::TimeDelta elapsed = base::Time::Now() - start_time; base 517 chrome/browser/chromeos/drive/change_list_loader.cc base::Int64ToString(elapsed.InMilliseconds()).c_str()); base 520 chrome/browser/chromeos/drive/change_list_loader.cc for (std::set<base::FilePath>::iterator dir_iter = base 22 chrome/browser/chromeos/drive/change_list_loader.h namespace base { base 60 chrome/browser/chromeos/drive/change_list_loader.h scoped_ptr<base::ScopedClosureRunner> GetLock(); base 63 chrome/browser/chromeos/drive/change_list_loader.h void ScheduleRun(const base::Closure& task); base 70 chrome/browser/chromeos/drive/change_list_loader.h std::vector<base::Closure> pending_tasks_; base 72 chrome/browser/chromeos/drive/change_list_loader.h base::WeakPtrFactory<LoaderController> weak_ptr_factory_; base 111 chrome/browser/chromeos/drive/change_list_loader.h base::WeakPtrFactory<AboutResourceLoader> weak_ptr_factory_; base 131 chrome/browser/chromeos/drive/change_list_loader.h base::SequencedTaskRunner* blocking_task_runner, base 197 chrome/browser/chromeos/drive/change_list_loader.h const base::Time& start_time, base 201 chrome/browser/chromeos/drive/change_list_loader.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 219 chrome/browser/chromeos/drive/change_list_loader.h base::WeakPtrFactory<ChangeListLoader> weak_ptr_factory_; base 8 chrome/browser/chromeos/drive/change_list_loader_observer.h namespace base { base 22 chrome/browser/chromeos/drive/change_list_loader_observer.h virtual void OnDirectoryChanged(const base::FilePath& directory_path) {} base 41 chrome/browser/chromeos/drive/change_list_loader_unittest.cc const std::set<base::FilePath>& changed_directories() const { base 55 chrome/browser/chromeos/drive/change_list_loader_unittest.cc const base::FilePath& directory_path) OVERRIDE { base 67 chrome/browser/chromeos/drive/change_list_loader_unittest.cc std::set<base::FilePath> changed_directories_; base 90 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::MessageLoopProxy::current().get())); base 92 chrome/browser/chromeos/drive/change_list_loader_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 96 chrome/browser/chromeos/drive/change_list_loader_unittest.cc metadata_storage_.get(), base::MessageLoopProxy::current().get())); base 101 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::MessageLoopProxy::current().get(), base 109 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::MessageLoopProxy::current().get(), base 127 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 133 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::ScopedTempDir temp_dir_; base 159 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 170 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::FilePath file_path = base 182 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 188 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::MessageLoopProxy::current().get(), base 207 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 221 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::FilePath file_path = base 235 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 253 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 266 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 280 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 288 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::FilePath new_file_path = base 299 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 307 chrome/browser/chromeos/drive/change_list_loader_unittest.cc scoped_ptr<base::ScopedClosureRunner> lock = loader_controller_->GetLock(); base 315 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 322 chrome/browser/chromeos/drive/change_list_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 61 chrome/browser/chromeos/drive/change_list_processor.cc const base::Time& modification_date) { base 66 chrome/browser/chromeos/drive/change_list_processor.cc base::Time creation_time = base 67 chrome/browser/chromeos/drive/change_list_processor.cc base::Time::FromInternalValue(remote_entry.file_info().creation_time()); base 77 chrome/browser/chromeos/drive/change_list_processor.cc ", changestamp: " + base::Int64ToString(changestamp_)); base 332 chrome/browser/chromeos/drive/change_list_processor.cc const base::Time& modification_date = base 464 chrome/browser/chromeos/drive/change_list_processor.cc base::FilePath file_path; base 479 chrome/browser/chromeos/drive/change_list_processor.cc std::set<base::FilePath> sub_directories; base 81 chrome/browser/chromeos/drive/change_list_processor.h const std::vector<base::Time>& modification_dates() const { base 84 chrome/browser/chromeos/drive/change_list_processor.h std::vector<base::Time>* mutable_modification_dates() { base 97 chrome/browser/chromeos/drive/change_list_processor.h std::vector<base::Time> modification_dates_; base 123 chrome/browser/chromeos/drive/change_list_processor.h const std::set<base::FilePath>& changed_dirs() const { return changed_dirs_; } base 144 chrome/browser/chromeos/drive/change_list_processor.h base::Time /* modification_date */> ModificationDateMap; base 163 chrome/browser/chromeos/drive/change_list_processor.h std::set<base::FilePath> changed_dirs_; base 66 chrome/browser/chromeos/drive/change_list_processor_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 70 chrome/browser/chromeos/drive/change_list_processor_unittest.cc metadata_storage_.get(), base::MessageLoopProxy::current())); base 102 chrome/browser/chromeos/drive/change_list_processor_unittest.cc std::set<base::FilePath>* changed_dirs) { base 121 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe(path), entry.get()); base 128 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::ScopedTempDir temp_dir_; base 217 chrome/browser/chromeos/drive/change_list_processor_unittest.cc std::set<base::FilePath> changed_dirs; base 229 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"))); base 231 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/New Directory"))); base 254 chrome/browser/chromeos/drive/change_list_processor_unittest.cc std::set<base::FilePath> changed_dirs; base 266 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"))); base 268 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/Directory 1"))); base 270 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe( base 273 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe( base 297 chrome/browser/chromeos/drive/change_list_processor_unittest.cc std::set<base::FilePath> changed_dirs; base 309 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"))); base 311 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/Directory 1"))); base 335 chrome/browser/chromeos/drive/change_list_processor_unittest.cc std::set<base::FilePath> changed_dirs; base 348 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"))); base 350 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/Directory 1"))); base 377 chrome/browser/chromeos/drive/change_list_processor_unittest.cc std::set<base::FilePath> changed_dirs; base 384 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"))); base 404 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"))); base 433 chrome/browser/chromeos/drive/change_list_processor_unittest.cc std::set<base::FilePath> changed_dirs; base 441 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"))); base 443 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/Directory 1"))); base 464 chrome/browser/chromeos/drive/change_list_processor_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/Directory 1"))); base 492 chrome/browser/chromeos/drive/change_list_processor_unittest.cc std::set<base::FilePath> changed_dirs; base 597 chrome/browser/chromeos/drive/change_list_processor_unittest.cc change_lists[0]->mutable_modification_dates()->push_back(base::Time()); base 600 chrome/browser/chromeos/drive/change_list_processor_unittest.cc std::set<base::FilePath> changed_dirs; base 54 chrome/browser/chromeos/drive/debug_info_collector.cc base::SequencedTaskRunner* blocking_task_runner) base 68 chrome/browser/chromeos/drive/debug_info_collector.cc const base::FilePath& file_path, base 75 chrome/browser/chromeos/drive/debug_info_collector.cc base::PostTaskAndReplyWithResult( base 78 chrome/browser/chromeos/drive/debug_info_collector.cc base::Bind(&internal::ResourceMetadata::GetResourceEntryByPath, base 79 chrome/browser/chromeos/drive/debug_info_collector.cc base::Unretained(metadata_), base 82 chrome/browser/chromeos/drive/debug_info_collector.cc base::Bind(&RunGetResourceEntryCallback, callback, base::Passed(&entry))); base 86 chrome/browser/chromeos/drive/debug_info_collector.cc const base::FilePath& file_path, base 93 chrome/browser/chromeos/drive/debug_info_collector.cc base::PostTaskAndReplyWithResult( base 96 chrome/browser/chromeos/drive/debug_info_collector.cc base::Bind(&internal::ResourceMetadata::ReadDirectoryByPath, base 97 chrome/browser/chromeos/drive/debug_info_collector.cc base::Unretained(metadata_), base 100 chrome/browser/chromeos/drive/debug_info_collector.cc base::Bind(&RunReadDirectoryCallback, callback, base::Passed(&entries))); base 105 chrome/browser/chromeos/drive/debug_info_collector.cc const base::Closure& completion_callback) { base 112 chrome/browser/chromeos/drive/debug_info_collector.cc base::Bind(&IterateFileCacheInternal, base 21 chrome/browser/chromeos/drive/debug_info_collector.h typedef base::Callback<void(FileError error, base 26 chrome/browser/chromeos/drive/debug_info_collector.h typedef base::Callback<void(const std::string& id, base 33 chrome/browser/chromeos/drive/debug_info_collector.h base::SequencedTaskRunner* blocking_task_runner); base 38 chrome/browser/chromeos/drive/debug_info_collector.h void GetResourceEntry(const base::FilePath& file_path, base 43 chrome/browser/chromeos/drive/debug_info_collector.h void ReadDirectory(const base::FilePath& file_path, base 51 chrome/browser/chromeos/drive/debug_info_collector.h const base::Closure& completion_callback); base 61 chrome/browser/chromeos/drive/debug_info_collector.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 70 chrome/browser/chromeos/drive/directory_loader.cc base::FilePath* directory_path) { base 121 chrome/browser/chromeos/drive/directory_loader.cc start_time_ = base::TimeTicks::Now(); base 125 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&FeedFetcher::OnResourceListFetched, base 150 chrome/browser/chromeos/drive/directory_loader.cc loader_->loader_controller_->ScheduleRun(base::Bind( base 151 chrome/browser/chromeos/drive/directory_loader.cc base::IgnoreResult( base 152 chrome/browser/chromeos/drive/directory_loader.cc &base::PostTaskAndReplyWithResult<FileError, FileError>), base 155 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&ChangeListProcessor::RefreshDirectory, base 158 chrome/browser/chromeos/drive/directory_loader.cc base::Passed(&change_list), base 160 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&FeedFetcher::OnDirectoryRefreshed, base 164 chrome/browser/chromeos/drive/directory_loader.cc base::Owned(entries)))); base 187 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&FeedFetcher::OnResourceListFetched, base 193 chrome/browser/chromeos/drive/directory_loader.cc base::TimeTicks::Now() - start_time_); base 204 chrome/browser/chromeos/drive/directory_loader.cc base::TimeTicks start_time_; base 205 chrome/browser/chromeos/drive/directory_loader.cc base::WeakPtrFactory<FeedFetcher> weak_ptr_factory_; base 211 chrome/browser/chromeos/drive/directory_loader.cc base::SequencedTaskRunner* blocking_task_runner, base 239 chrome/browser/chromeos/drive/directory_loader.cc void DirectoryLoader::ReadDirectory(const base::FilePath& directory_path, base 245 chrome/browser/chromeos/drive/directory_loader.cc base::PostTaskAndReplyWithResult( base 248 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&ResourceMetadata::GetResourceEntryByPath, base 249 chrome/browser/chromeos/drive/directory_loader.cc base::Unretained(resource_metadata_), base 252 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&DirectoryLoader::ReadDirectoryAfterGetEntry, base 257 chrome/browser/chromeos/drive/directory_loader.cc base::Owned(entry))); base 261 chrome/browser/chromeos/drive/directory_loader.cc const base::FilePath& directory_path, base 274 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&DirectoryLoader::ReadDirectoryAfterLoadParent, base 314 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&DirectoryLoader::ReadDirectoryAfterGetAboutResource, base 319 chrome/browser/chromeos/drive/directory_loader.cc const base::FilePath& directory_path, base 336 chrome/browser/chromeos/drive/directory_loader.cc base::PostTaskAndReplyWithResult( base 339 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&ResourceMetadata::GetResourceEntryByPath, base 340 chrome/browser/chromeos/drive/directory_loader.cc base::Unretained(resource_metadata_), base 343 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&DirectoryLoader::ReadDirectoryAfterGetEntry, base 348 chrome/browser/chromeos/drive/directory_loader.cc base::Owned(entry))); base 370 chrome/browser/chromeos/drive/directory_loader.cc base::PostTaskAndReplyWithResult( base 373 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&CheckLocalState, base 380 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&DirectoryLoader::ReadDirectoryAfterCheckLocalState, base 382 chrome/browser/chromeos/drive/directory_loader.cc base::Passed(&about_resource), base 384 chrome/browser/chromeos/drive/directory_loader.cc base::Owned(entry), base 385 chrome/browser/chromeos/drive/directory_loader.cc base::Owned(child_entries), base 386 chrome/browser/chromeos/drive/directory_loader.cc base::Owned(local_changestamp))); base 425 chrome/browser/chromeos/drive/directory_loader.cc base::Int64ToString(remote_changestamp).c_str()); base 450 chrome/browser/chromeos/drive/directory_loader.cc base::PostTaskAndReplyWithResult( base 453 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&ResourceMetadata::ReadDirectoryById, base 454 chrome/browser/chromeos/drive/directory_loader.cc base::Unretained(resource_metadata_), local_id, entries), base 455 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&DirectoryLoader::OnDirectoryLoadCompleteAfterRead, base 458 chrome/browser/chromeos/drive/directory_loader.cc base::Owned(entries))); base 519 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&DirectoryLoader::LoadDirectoryFromServerAfterLoad, base 545 chrome/browser/chromeos/drive/directory_loader.cc base::FilePath* directory_path = new base::FilePath; base 546 chrome/browser/chromeos/drive/directory_loader.cc base::PostTaskAndReplyWithResult( base 549 chrome/browser/chromeos/drive/directory_loader.cc base::Bind(&UpdateChangestamp, base 553 chrome/browser/chromeos/drive/directory_loader.cc base::Bind( base 557 chrome/browser/chromeos/drive/directory_loader.cc base::Owned(directory_path))); base 562 chrome/browser/chromeos/drive/directory_loader.cc const base::FilePath* directory_path, base 23 chrome/browser/chromeos/drive/directory_loader.h namespace base { base 50 chrome/browser/chromeos/drive/directory_loader.h base::SequencedTaskRunner* blocking_task_runner, base 63 chrome/browser/chromeos/drive/directory_loader.h void ReadDirectory(const base::FilePath& directory_path, base 71 chrome/browser/chromeos/drive/directory_loader.h void ReadDirectoryAfterGetEntry(const base::FilePath& directory_path, base 76 chrome/browser/chromeos/drive/directory_loader.h void ReadDirectoryAfterLoadParent(const base::FilePath& directory_path, base 120 chrome/browser/chromeos/drive/directory_loader.h const base::FilePath* directory_path, base 124 chrome/browser/chromeos/drive/directory_loader.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 139 chrome/browser/chromeos/drive/directory_loader.h base::WeakPtrFactory<DirectoryLoader> weak_ptr_factory_; base 42 chrome/browser/chromeos/drive/directory_loader_unittest.cc const std::set<base::FilePath>& changed_directories() const { base 49 chrome/browser/chromeos/drive/directory_loader_unittest.cc const base::FilePath& directory_path) OVERRIDE { base 55 chrome/browser/chromeos/drive/directory_loader_unittest.cc std::set<base::FilePath> changed_directories_; base 95 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::MessageLoopProxy::current().get())); base 97 chrome/browser/chromeos/drive/directory_loader_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 101 chrome/browser/chromeos/drive/directory_loader_unittest.cc metadata_storage_.get(), base::MessageLoopProxy::current().get())); base 106 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::MessageLoopProxy::current().get(), base 114 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::MessageLoopProxy::current().get(), base 132 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 138 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::ScopedTempDir temp_dir_; base 161 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::Bind(&AccumulateReadDirectoryResult, base 163 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 193 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::Bind(&AccumulateReadDirectoryResult, base 195 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 210 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::FilePath file_path = base 225 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::Bind(&AccumulateReadDirectoryResult, base 234 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::Bind(&AccumulateReadDirectoryResult, base 236 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 247 chrome/browser/chromeos/drive/directory_loader_unittest.cc scoped_ptr<base::ScopedClosureRunner> lock = loader_controller_->GetLock(); base 256 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::Bind(&AccumulateReadDirectoryResult, base 258 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 265 chrome/browser/chromeos/drive/directory_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 29 chrome/browser/chromeos/drive/download_handler.cc class DriveUserData : public base::SupportsUserData::Data { base 31 chrome/browser/chromeos/drive/download_handler.cc explicit DriveUserData(const base::FilePath& path) : file_path_(path), base 35 chrome/browser/chromeos/drive/download_handler.cc const base::FilePath& file_path() const { return file_path_; } base 36 chrome/browser/chromeos/drive/download_handler.cc const base::FilePath& cache_file_path() const { return cache_file_path_; } base 37 chrome/browser/chromeos/drive/download_handler.cc void set_cache_file_path(const base::FilePath& path) { base 44 chrome/browser/chromeos/drive/download_handler.cc const base::FilePath file_path_; base 45 chrome/browser/chromeos/drive/download_handler.cc base::FilePath cache_file_path_; base 62 chrome/browser/chromeos/drive/download_handler.cc base::FilePath GetDriveTempDownloadPath( base 63 chrome/browser/chromeos/drive/download_handler.cc const base::FilePath& drive_tmp_download_dir) { base 64 chrome/browser/chromeos/drive/download_handler.cc bool created = base::CreateDirectory(drive_tmp_download_dir); base 67 chrome/browser/chromeos/drive/download_handler.cc base::FilePath drive_tmp_download_path; base 68 chrome/browser/chromeos/drive/download_handler.cc created = base::CreateTemporaryFileInDir(drive_tmp_download_dir, base 75 chrome/browser/chromeos/drive/download_handler.cc void MoveDownloadedFile(const base::FilePath& downloaded_file, base 76 chrome/browser/chromeos/drive/download_handler.cc base::FilePath* cache_file_path, base 78 chrome/browser/chromeos/drive/download_handler.cc const base::FilePath& dest_path) { base 80 chrome/browser/chromeos/drive/download_handler.cc !base::Move(downloaded_file, dest_path)) base 95 chrome/browser/chromeos/drive/download_handler.cc bool IsPersistedDriveDownload(const base::FilePath& drive_tmp_download_path, base 124 chrome/browser/chromeos/drive/download_handler.cc const base::FilePath& drive_tmp_download_path) { base 142 chrome/browser/chromeos/drive/download_handler.cc const base::FilePath& drive_path, base 155 chrome/browser/chromeos/drive/download_handler.cc base::Bind(&DownloadHandler::OnCreateDirectory, base 163 chrome/browser/chromeos/drive/download_handler.cc void DownloadHandler::SetDownloadParams(const base::FilePath& drive_path, base 176 chrome/browser/chromeos/drive/download_handler.cc download->SetDisplayName(base::FilePath()); base 180 chrome/browser/chromeos/drive/download_handler.cc base::FilePath DownloadHandler::GetTargetPath( base 186 chrome/browser/chromeos/drive/download_handler.cc return data ? data->file_path() : base::FilePath(); base 189 chrome/browser/chromeos/drive/download_handler.cc base::FilePath DownloadHandler::GetCacheFilePath(const DownloadItem* download) { base 191 chrome/browser/chromeos/drive/download_handler.cc return data ? data->cache_file_path() : base::FilePath(); base 205 chrome/browser/chromeos/drive/download_handler.cc base::Bind(&ContinueCheckingForFileExistence, base 216 chrome/browser/chromeos/drive/download_handler.cc base::Bind(&DownloadHandler::RemoveDownload, base 272 chrome/browser/chromeos/drive/download_handler.cc base::PostTaskAndReplyWithResult( base 275 chrome/browser/chromeos/drive/download_handler.cc base::Bind(&GetDriveTempDownloadPath, drive_tmp_download_path_), base 280 chrome/browser/chromeos/drive/download_handler.cc callback.Run(base::FilePath()); base 286 chrome/browser/chromeos/drive/download_handler.cc base::FilePath* cache_file_path = new base::FilePath; base 291 chrome/browser/chromeos/drive/download_handler.cc base::Bind(&MoveDownloadedFile, download->GetTargetFilePath(), base 293 chrome/browser/chromeos/drive/download_handler.cc base::Bind(&DownloadHandler::SetCacheFilePath, base 296 chrome/browser/chromeos/drive/download_handler.cc base::Owned(cache_file_path))); base 300 chrome/browser/chromeos/drive/download_handler.cc const base::FilePath* cache_file_path, base 38 chrome/browser/chromeos/drive/download_handler.h const base::FilePath& drive_tmp_download_path); base 42 chrome/browser/chromeos/drive/download_handler.h typedef base::Callback<void(const base::FilePath&)> base 46 chrome/browser/chromeos/drive/download_handler.h const base::FilePath& drive_path, base 53 chrome/browser/chromeos/drive/download_handler.h void SetDownloadParams(const base::FilePath& drive_path, base 57 chrome/browser/chromeos/drive/download_handler.h base::FilePath GetTargetPath(const content::DownloadItem* download); base 60 chrome/browser/chromeos/drive/download_handler.h base::FilePath GetCacheFilePath(const content::DownloadItem* download); base 90 chrome/browser/chromeos/drive/download_handler.h const base::FilePath* cache_file_path, base 98 chrome/browser/chromeos/drive/download_handler.h base::FilePath drive_tmp_download_path_; base 102 chrome/browser/chromeos/drive/download_handler.h base::WeakPtrFactory<DownloadHandler> weak_ptr_factory_; base 31 chrome/browser/chromeos/drive/download_handler_unittest.cc const base::FilePath& file_path, base 38 chrome/browser/chromeos/drive/download_handler_unittest.cc const base::FilePath& directory_path, base 68 chrome/browser/chromeos/drive/download_handler_unittest.cc base::ScopedTempDir temp_dir_; base 78 chrome/browser/chromeos/drive/download_handler_unittest.cc const base::FilePath non_drive_path(FILE_PATH_LITERAL("/foo/bar")); base 82 chrome/browser/chromeos/drive/download_handler_unittest.cc base::FilePath substituted_path; base 95 chrome/browser/chromeos/drive/download_handler_unittest.cc const base::FilePath drive_path = base 102 chrome/browser/chromeos/drive/download_handler_unittest.cc base::FilePath substituted_path; base 116 chrome/browser/chromeos/drive/download_handler_unittest.cc const base::FilePath drive_path = base 124 chrome/browser/chromeos/drive/download_handler_unittest.cc base::FilePath substituted_path; base 138 chrome/browser/chromeos/drive/download_handler_unittest.cc const base::FilePath drive_path = base 143 chrome/browser/chromeos/drive/download_handler_unittest.cc base::FilePath substituted_path; base 165 chrome/browser/chromeos/drive/download_handler_unittest.cc const base::FilePath drive_path = base 120 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Bind(&LocalReaderProxy::OnReadCompleted, base 155 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const base::Closure& job_canceller) base 240 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::ResetAndReturn(&callback_).Run(result); base 263 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::ResetAndReturn(&callback_).Run(error_code_); base 273 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Closure GetFileContentOnUIThread( base 275 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const base::FilePath& drive_file_path, base 284 chrome/browser/chromeos/drive/drive_file_stream_reader.cc return base::Closure(); base 297 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const base::FilePath& drive_file_path, base 301 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const base::Callback<void(const base::Closure&)>& reply_callback) { base 307 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Bind(&GetFileContentOnUIThread, base 320 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::SequencedTaskRunner* file_task_runner) base 336 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const base::FilePath& drive_file_path, base 345 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Bind(&DriveFileStreamReader base 350 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Bind(&DriveFileStreamReader::OnGetContent, base 352 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Bind(&DriveFileStreamReader::OnGetFileContentCompletion, base 355 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Bind(&DriveFileStreamReader::StoreCancelDownloadClosure, base 369 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const base::Closure& cancel_download_closure) { base 378 chrome/browser/chromeos/drive/drive_file_stream_reader.cc const base::FilePath& local_cache_file_path, base 420 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Bind( base 425 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Passed(&entry), base 426 chrome/browser/chromeos/drive/drive_file_stream_reader.cc base::Passed(&file_reader))); base 19 chrome/browser/chromeos/drive/drive_file_stream_reader.h namespace base { base 82 chrome/browser/chromeos/drive/drive_file_stream_reader.h base::WeakPtrFactory<LocalReaderProxy> weak_ptr_factory_; base 93 chrome/browser/chromeos/drive/drive_file_stream_reader.h int64 offset, int64 content_length, const base::Closure& job_canceller); base 123 chrome/browser/chromeos/drive/drive_file_stream_reader.h base::Closure job_canceller_; base 143 chrome/browser/chromeos/drive/drive_file_stream_reader.h typedef base::Callback<FileSystemInterface*()> FileSystemGetter; base 147 chrome/browser/chromeos/drive/drive_file_stream_reader.h typedef base::Callback<void(int error, scoped_ptr<ResourceEntry> entry)> base 151 chrome/browser/chromeos/drive/drive_file_stream_reader.h base::SequencedTaskRunner* file_task_runner); base 159 chrome/browser/chromeos/drive/drive_file_stream_reader.h void Initialize(const base::FilePath& drive_file_path, base 176 chrome/browser/chromeos/drive/drive_file_stream_reader.h void StoreCancelDownloadClosure(const base::Closure& cancel_download_closure); base 184 chrome/browser/chromeos/drive/drive_file_stream_reader.h const base::FilePath& local_cache_file_path, base 205 chrome/browser/chromeos/drive/drive_file_stream_reader.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 206 chrome/browser/chromeos/drive/drive_file_stream_reader.h base::Closure cancel_download_closure_; base 211 chrome/browser/chromeos/drive/drive_file_stream_reader.h base::WeakPtrFactory<DriveFileStreamReader> weak_ptr_factory_; base 51 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc worker_thread_.reset(new base::Thread("ReaderProxyTest")); base 57 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::ScopedTempDir temp_dir_; base 58 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::FilePath file_path_; base 61 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_ptr<base::Thread> worker_thread_; base 112 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc NetworkReaderProxy proxy(0, 0, base::Bind(&base::DoNothing)); base 124 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc NetworkReaderProxy proxy(0, 10, base::Bind(&base::DoNothing)); base 169 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc NetworkReaderProxy proxy(10, 10, base::Bind(&base::DoNothing)); base 218 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc NetworkReaderProxy proxy(0, 10, base::Bind(&base::DoNothing)); base 239 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc NetworkReaderProxy proxy(0, 10, base::Bind(&base::DoNothing)); base 262 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc 0, 0, base::Bind(&IncrementCallback, &num_called)); base 272 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc 0, 0, base::Bind(&IncrementCallback, &num_called)); base 288 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc worker_thread_.reset(new base::Thread("DriveFileStreamReaderTest")); base 306 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc return base::Bind(&DriveFileStreamReaderTest::GetFileSystem, base 307 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::Unretained(this)); base 312 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc scoped_ptr<base::Thread> worker_thread_; base 319 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc const base::FilePath kDriveFile = base 330 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::RunLoop run_loop; base 358 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::RunLoop run_loop; base 387 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc const base::FilePath kDriveFile = base 402 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::RunLoop run_loop; base 431 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::RunLoop run_loop; base 456 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc const base::FilePath kDriveFile = base 471 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::RunLoop run_loop; base 502 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc const base::FilePath kDriveFile = base 513 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::RunLoop run_loop; base 541 chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc base::RunLoop run_loop; base 57 chrome/browser/chromeos/drive/drive_integration_service.cc const base::FilePath::CharType kMetadataDirectory[] = FILE_PATH_LITERAL("meta"); base 60 chrome/browser/chromeos/drive/drive_integration_service.cc const base::FilePath::CharType kCacheFileDirectory[] = base 64 chrome/browser/chromeos/drive/drive_integration_service.cc const base::FilePath::CharType kTemporaryFileDirectory[] = base 89 chrome/browser/chromeos/drive/drive_integration_service.cc return base::StringPrintf("%s-%s %s (%s) (gzip)", base 99 chrome/browser/chromeos/drive/drive_integration_service.cc const base::FilePath& cache_root_directory, base 104 chrome/browser/chromeos/drive/drive_integration_service.cc const base::FilePath& downloads_directory) { base 107 chrome/browser/chromeos/drive/drive_integration_service.cc base::DeleteFile(cache_root_directory.Append(kTemporaryFileDirectory), base 109 chrome/browser/chromeos/drive/drive_integration_service.cc if (!base::CreateDirectory(cache_root_directory.Append( base 111 chrome/browser/chromeos/drive/drive_integration_service.cc !base::CreateDirectory(cache_root_directory.Append( base 113 chrome/browser/chromeos/drive/drive_integration_service.cc !base::CreateDirectory(cache_root_directory.Append( base 121 chrome/browser/chromeos/drive/drive_integration_service.cc base::SetPosixFilePermissions( base 123 chrome/browser/chromeos/drive/drive_integration_service.cc base::FILE_PERMISSION_USER_MASK | base 124 chrome/browser/chromeos/drive/drive_integration_service.cc base::FILE_PERMISSION_EXECUTE_BY_GROUP | base 125 chrome/browser/chromeos/drive/drive_integration_service.cc base::FILE_PERMISSION_EXECUTE_BY_OTHERS); base 144 chrome/browser/chromeos/drive/drive_integration_service.cc base::FilePath dest_directory = downloads_directory.Append( base 145 chrome/browser/chromeos/drive/drive_integration_service.cc base::FilePath::FromUTF8Unsafe(dest_directory_name)); base 146 chrome/browser/chromeos/drive/drive_integration_service.cc for (int uniquifier = 1; base::PathExists(dest_directory); ++uniquifier) { base 148 chrome/browser/chromeos/drive/drive_integration_service.cc base::FilePath::FromUTF8Unsafe(dest_directory_name)) base 149 chrome/browser/chromeos/drive/drive_integration_service.cc .InsertBeforeExtensionASCII(base::StringPrintf(" (%d)", uniquifier)); base 186 chrome/browser/chromeos/drive/drive_integration_service.cc base::Bind(&PreferenceWatcher::OnPreferenceChanged, base 205 chrome/browser/chromeos/drive/drive_integration_service.cc base::WeakPtrFactory<PreferenceWatcher> weak_ptr_factory_; base 214 chrome/browser/chromeos/drive/drive_integration_service.cc const base::FilePath& test_cache_root, base 226 chrome/browser/chromeos/drive/drive_integration_service.cc base::SequencedWorkerPool* blocking_pool = BrowserThread::GetBlockingPool(); base 354 chrome/browser/chromeos/drive/drive_integration_service.cc base::FilePath unused; base 387 chrome/browser/chromeos/drive/drive_integration_service.cc const base::Callback<void(bool)>& callback) { base 402 chrome/browser/chromeos/drive/drive_integration_service.cc file_system_->Reset(base::Bind( base 409 chrome/browser/chromeos/drive/drive_integration_service.cc const base::Callback<void(bool)>& callback, base 431 chrome/browser/chromeos/drive/drive_integration_service.cc const base::FilePath& drive_mount_point = base 477 chrome/browser/chromeos/drive/drive_integration_service.cc base::PostTaskAndReplyWithResult( base 480 chrome/browser/chromeos/drive/drive_integration_service.cc base::Bind(&InitializeMetadata, base 487 chrome/browser/chromeos/drive/drive_integration_service.cc base::Bind(&DriveIntegrationService::InitializeAfterMetadataInitialized, base 626 chrome/browser/chromeos/drive/drive_integration_service.cc NULL, std::string(), base::FilePath(), NULL); base 20 chrome/browser/chromeos/drive/drive_integration_service.h namespace base { base 81 chrome/browser/chromeos/drive/drive_integration_service.h const base::FilePath& test_cache_root, base 116 chrome/browser/chromeos/drive/drive_integration_service.h const base::Callback<void(bool)>& callback); base 137 chrome/browser/chromeos/drive/drive_integration_service.h void AddBackDriveMountPoint(const base::Callback<void(bool)>& callback, base 160 chrome/browser/chromeos/drive/drive_integration_service.h base::FilePath cache_root_directory_; base 162 chrome/browser/chromeos/drive/drive_integration_service.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 180 chrome/browser/chromeos/drive/drive_integration_service.h base::WeakPtrFactory<DriveIntegrationService> weak_ptr_factory_; base 190 chrome/browser/chromeos/drive/drive_integration_service.h typedef base::Callback<DriveIntegrationService*(Profile* profile)> base 34 chrome/browser/chromeos/drive/drive_integration_service_unittest.cc base::FilePath(), base 21 chrome/browser/chromeos/drive/drive_protocol_handler.cc scoped_refptr<base::SequencedWorkerPool> blocking_pool = base 34 chrome/browser/chromeos/drive/drive_protocol_handler.cc base::Bind(&util::GetFileSystemByProfileId, profile_id_), base 12 chrome/browser/chromeos/drive/drive_protocol_handler.h namespace base { base 33 chrome/browser/chromeos/drive/drive_protocol_handler.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 51 chrome/browser/chromeos/drive/drive_url_request_job.cc base::SequencedTaskRunner* file_task_runner, base 92 chrome/browser/chromeos/drive/drive_url_request_job.cc base::FilePath drive_file_path(util::DriveURLToFilePath(request_->url())); base 106 chrome/browser/chromeos/drive/drive_url_request_job.cc base::Bind(&DriveURLRequestJob::OnDriveFileStreamReaderInitialized, base 152 chrome/browser/chromeos/drive/drive_url_request_job.cc base::Bind(&DriveURLRequestJob::OnReadCompleted, base 19 chrome/browser/chromeos/drive/drive_url_request_job.h namespace base { base 47 chrome/browser/chromeos/drive/drive_url_request_job.h typedef base::Callback<FileSystemInterface*()> FileSystemGetter; base 50 chrome/browser/chromeos/drive/drive_url_request_job.h base::SequencedTaskRunner* file_task_runner, base 77 chrome/browser/chromeos/drive/drive_url_request_job.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 87 chrome/browser/chromeos/drive/drive_url_request_job.h base::WeakPtrFactory<DriveURLRequestJob> weak_ptr_factory_; base 38 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::SequencedTaskRunner* sequenced_task_runner) base 70 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner_; base 116 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc scoped_refptr<base::SequencedWorkerPool> blocking_pool = base 120 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::Bind(&DriveURLRequestJobTest::GetFileSystem, base 121 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::Unretained(this)), base 135 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc const base::FilePath& file_path, std::string* out_content) { base 136 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc scoped_ptr<base::Thread> worker_thread( base 137 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc new base::Thread("ReadDriveFileSync")); base 142 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::Bind(&DriveURLRequestJobTest::GetFileSystem, base 143 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::Unretained(this)), base 148 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop run_loop; base 192 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 200 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc const base::FilePath kTestFilePath("drive/root/File 1.txt"); base 210 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 236 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 259 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 275 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 288 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 301 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 314 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 330 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 337 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc const base::FilePath kTestFilePath("drive/root/File 1.txt"); base 349 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 373 chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc base::RunLoop().Run(); base 9 chrome/browser/chromeos/drive/dummy_file_system.cc base::Closure DummyFileSystem::GetFileContent( base 10 chrome/browser/chromeos/drive/dummy_file_system.cc const base::FilePath& file_path, base 14 chrome/browser/chromeos/drive/dummy_file_system.cc return base::Bind(&base::DoNothing); base 20 chrome/browser/chromeos/drive/dummy_file_system.h const base::FilePath& local_src_file_path, base 21 chrome/browser/chromeos/drive/dummy_file_system.h const base::FilePath& remote_dest_file_path, base 23 chrome/browser/chromeos/drive/dummy_file_system.h virtual void OpenFile(const base::FilePath& file_path, base 27 chrome/browser/chromeos/drive/dummy_file_system.h virtual void Copy(const base::FilePath& src_file_path, base 28 chrome/browser/chromeos/drive/dummy_file_system.h const base::FilePath& dest_file_path, base 31 chrome/browser/chromeos/drive/dummy_file_system.h virtual void Move(const base::FilePath& src_file_path, base 32 chrome/browser/chromeos/drive/dummy_file_system.h const base::FilePath& dest_file_path, base 34 chrome/browser/chromeos/drive/dummy_file_system.h virtual void Remove(const base::FilePath& file_path, base 38 chrome/browser/chromeos/drive/dummy_file_system.h const base::FilePath& directory_path, base 42 chrome/browser/chromeos/drive/dummy_file_system.h virtual void CreateFile(const base::FilePath& file_path, base 46 chrome/browser/chromeos/drive/dummy_file_system.h virtual void TouchFile(const base::FilePath& file_path, base 47 chrome/browser/chromeos/drive/dummy_file_system.h const base::Time& last_access_time, base 48 chrome/browser/chromeos/drive/dummy_file_system.h const base::Time& last_modified_time, base 50 chrome/browser/chromeos/drive/dummy_file_system.h virtual void TruncateFile(const base::FilePath& file_path, base 53 chrome/browser/chromeos/drive/dummy_file_system.h virtual void Pin(const base::FilePath& file_path, base 55 chrome/browser/chromeos/drive/dummy_file_system.h virtual void Unpin(const base::FilePath& file_path, base 57 chrome/browser/chromeos/drive/dummy_file_system.h virtual void GetFile(const base::FilePath& file_path, base 59 chrome/browser/chromeos/drive/dummy_file_system.h virtual void GetFileForSaving(const base::FilePath& file_path, base 61 chrome/browser/chromeos/drive/dummy_file_system.h virtual base::Closure GetFileContent( base 62 chrome/browser/chromeos/drive/dummy_file_system.h const base::FilePath& file_path, base 67 chrome/browser/chromeos/drive/dummy_file_system.h const base::FilePath& file_path, base 69 chrome/browser/chromeos/drive/dummy_file_system.h virtual void ReadDirectory(const base::FilePath& file_path, base 81 chrome/browser/chromeos/drive/dummy_file_system.h virtual void GetShareUrl(const base::FilePath& file_path, base 87 chrome/browser/chromeos/drive/dummy_file_system.h const base::FilePath& drive_file_path, base 90 chrome/browser/chromeos/drive/dummy_file_system.h const base::FilePath& cache_file_path, base 92 chrome/browser/chromeos/drive/dummy_file_system.h virtual void GetCacheEntry(const base::FilePath& drive_file_path, base 94 chrome/browser/chromeos/drive/dummy_file_system.h virtual void AddPermission(const base::FilePath& drive_file_path, base 50 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& local_src_file_path, base 51 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& remote_dest_file_path, base 56 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::OpenFile(const base::FilePath& file_path, base 63 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::Copy(const base::FilePath& src_file_path, base 64 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& dest_file_path, base 70 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::Move(const base::FilePath& src_file_path, base 71 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& dest_file_path, base 76 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::Remove(const base::FilePath& file_path, base 83 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& directory_path, base 90 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::CreateFile(const base::FilePath& file_path, base 97 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::TouchFile(const base::FilePath& file_path, base 98 chrome/browser/chromeos/drive/fake_file_system.cc const base::Time& last_access_time, base 99 chrome/browser/chromeos/drive/fake_file_system.cc const base::Time& last_modified_time, base 104 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::TruncateFile(const base::FilePath& file_path, base 110 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::Pin(const base::FilePath& file_path, base 115 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::Unpin(const base::FilePath& file_path, base 120 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::GetFile(const base::FilePath& file_path, base 125 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::GetFileForSaving(const base::FilePath& file_path, base 130 chrome/browser/chromeos/drive/fake_file_system.cc base::Closure FakeFileSystem::GetFileContent( base 131 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& file_path, base 139 chrome/browser/chromeos/drive/fake_file_system.cc base::Bind(&FakeFileSystem::GetFileContentAfterGetResourceEntry, base 143 chrome/browser/chromeos/drive/fake_file_system.cc return base::Bind(&base::DoNothing); base 147 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& file_path, base 157 chrome/browser/chromeos/drive/fake_file_system.cc base::Bind( base 165 chrome/browser/chromeos/drive/fake_file_system.cc base::Bind( base 171 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& file_path, base 196 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& file_path, base 208 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& drive_file_path, base 214 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& cache_file_path, base 220 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& drive_file_path, base 225 chrome/browser/chromeos/drive/fake_file_system.cc void FakeFileSystem::AddPermission(const base::FilePath& drive_file_path, base 265 chrome/browser/chromeos/drive/fake_file_system.cc base::Bind( base 295 chrome/browser/chromeos/drive/fake_file_system.cc base::FilePath cache_path = base 297 chrome/browser/chromeos/drive/fake_file_system.cc if (base::PathExists(cache_path)) { base 304 chrome/browser/chromeos/drive/fake_file_system.cc initialized_callback.Run(FILE_ERROR_OK, base::FilePath(), entry.Pass()); base 308 chrome/browser/chromeos/drive/fake_file_system.cc base::Bind(&FakeFileSystem::GetFileContentAfterDownloadFile, base 318 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& temp_file) { base 345 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& base_name, base 359 chrome/browser/chromeos/drive/fake_file_system.cc base::Bind( base 365 chrome/browser/chromeos/drive/fake_file_system.cc const base::FilePath& base_name, base 50 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& local_src_file_path, base 51 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& remote_dest_file_path, base 53 chrome/browser/chromeos/drive/fake_file_system.h virtual void OpenFile(const base::FilePath& file_path, base 57 chrome/browser/chromeos/drive/fake_file_system.h virtual void Copy(const base::FilePath& src_file_path, base 58 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& dest_file_path, base 61 chrome/browser/chromeos/drive/fake_file_system.h virtual void Move(const base::FilePath& src_file_path, base 62 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& dest_file_path, base 64 chrome/browser/chromeos/drive/fake_file_system.h virtual void Remove(const base::FilePath& file_path, base 67 chrome/browser/chromeos/drive/fake_file_system.h virtual void CreateDirectory(const base::FilePath& directory_path, base 71 chrome/browser/chromeos/drive/fake_file_system.h virtual void CreateFile(const base::FilePath& file_path, base 75 chrome/browser/chromeos/drive/fake_file_system.h virtual void TouchFile(const base::FilePath& file_path, base 76 chrome/browser/chromeos/drive/fake_file_system.h const base::Time& last_access_time, base 77 chrome/browser/chromeos/drive/fake_file_system.h const base::Time& last_modified_time, base 79 chrome/browser/chromeos/drive/fake_file_system.h virtual void TruncateFile(const base::FilePath& file_path, base 82 chrome/browser/chromeos/drive/fake_file_system.h virtual void Pin(const base::FilePath& file_path, base 84 chrome/browser/chromeos/drive/fake_file_system.h virtual void Unpin(const base::FilePath& file_path, base 86 chrome/browser/chromeos/drive/fake_file_system.h virtual void GetFile(const base::FilePath& file_path, base 88 chrome/browser/chromeos/drive/fake_file_system.h virtual void GetFileForSaving(const base::FilePath& file_path, base 90 chrome/browser/chromeos/drive/fake_file_system.h virtual base::Closure GetFileContent( base 91 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& file_path, base 96 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& file_path, base 99 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& file_path, base 111 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& file_path, base 117 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& drive_file_path, base 120 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& cache_file_path, base 123 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& drive_file_path, base 125 chrome/browser/chromeos/drive/fake_file_system.h virtual void AddPermission(const base::FilePath& drive_file_path, base 156 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& temp_file); base 174 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& base_name, base 179 chrome/browser/chromeos/drive/fake_file_system.h const base::FilePath& base_name, base 185 chrome/browser/chromeos/drive/fake_file_system.h base::ScopedTempDir cache_dir_; base 189 chrome/browser/chromeos/drive/fake_file_system.h base::WeakPtrFactory<FakeFileSystem> weak_ptr_factory_; base 38 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::FilePath cache_file_path; base 42 chrome/browser/chromeos/drive/fake_file_system_unittest.cc const base::FilePath kDriveFile = base 46 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::Closure cancel_download = fake_file_system_->GetFileContent( base 52 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::RunLoop().RunUntilIdle(); base 78 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::RunLoop().RunUntilIdle(); base 93 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::ReadFileToString(cache_file_path, &cache_file_content)); base 100 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::FilePath cache_file_path; base 103 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::Closure cancel_download = fake_file_system_->GetFileContent( base 109 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::RunLoop().RunUntilIdle(); base 121 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::RunLoop().RunUntilIdle(); base 134 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::RunLoop().RunUntilIdle(); base 149 chrome/browser/chromeos/drive/fake_file_system_unittest.cc base::RunLoop().RunUntilIdle(); base 36 chrome/browser/chromeos/drive/file_cache.cc std::string GetIdFromPath(const base::FilePath& path) { base 43 chrome/browser/chromeos/drive/file_cache.cc const base::FilePath& cache_file_directory, base 44 chrome/browser/chromeos/drive/file_cache.cc base::SequencedTaskRunner* blocking_task_runner, base 61 chrome/browser/chromeos/drive/file_cache.cc base::FilePath FileCache::GetCacheFilePath(const std::string& id) const { base 63 chrome/browser/chromeos/drive/file_cache.cc base::FilePath::FromUTF8Unsafe(util::EscapeCacheFileName(id))); base 70 chrome/browser/chromeos/drive/file_cache.cc bool FileCache::IsUnderFileCacheDirectory(const base::FilePath& path) const { base 108 chrome/browser/chromeos/drive/file_cache.cc base::FileEnumerator enumerator(cache_file_directory_, base 110 chrome/browser/chromeos/drive/file_cache.cc base::FileEnumerator::FILES); base 112 chrome/browser/chromeos/drive/file_cache.cc for (base::FilePath current = enumerator.Next(); !current.empty(); base 116 chrome/browser/chromeos/drive/file_cache.cc base::DeleteFile(current, false /* recursive */); base 124 chrome/browser/chromeos/drive/file_cache.cc base::FilePath* cache_file_path) { base 139 chrome/browser/chromeos/drive/file_cache.cc const base::FilePath& source_path, base 145 chrome/browser/chromeos/drive/file_cache.cc if (!base::GetFileSize(source_path, &file_size)) { base 157 chrome/browser/chromeos/drive/file_cache.cc base::FilePath dest_path = GetCacheFilePath(id); base 161 chrome/browser/chromeos/drive/file_cache.cc success = base::Move(source_path, dest_path); base 164 chrome/browser/chromeos/drive/file_cache.cc success = base::CopyFile(source_path, dest_path); base 225 chrome/browser/chromeos/drive/file_cache.cc base::FilePath* cache_file_path) { base 238 chrome/browser/chromeos/drive/file_cache.cc base::FilePath path = GetCacheFilePath(id); base 239 chrome/browser/chromeos/drive/file_cache.cc if (!base::SetPosixFilePermissions( base 241 chrome/browser/chromeos/drive/file_cache.cc base::FILE_PERMISSION_READ_BY_USER | base 242 chrome/browser/chromeos/drive/file_cache.cc base::FILE_PERMISSION_WRITE_BY_USER | base 243 chrome/browser/chromeos/drive/file_cache.cc base::FILE_PERMISSION_READ_BY_GROUP | base 244 chrome/browser/chromeos/drive/file_cache.cc base::FILE_PERMISSION_READ_BY_OTHERS)) base 255 chrome/browser/chromeos/drive/file_cache.cc scoped_ptr<base::ScopedClosureRunner>* file_closer) { base 273 chrome/browser/chromeos/drive/file_cache.cc file_closer->reset(new base::ScopedClosureRunner( base 274 chrome/browser/chromeos/drive/file_cache.cc base::Bind(&google_apis::RunTaskOnThread, base 276 chrome/browser/chromeos/drive/file_cache.cc base::Bind(&FileCache::CloseForWrite, base 349 chrome/browser/chromeos/drive/file_cache.cc base::FilePath path = GetCacheFilePath(id); base 350 chrome/browser/chromeos/drive/file_cache.cc if (!base::DeleteFile(path, false /* recursive */)) base 372 chrome/browser/chromeos/drive/file_cache.cc base::FileEnumerator enumerator(cache_file_directory_, base 374 chrome/browser/chromeos/drive/file_cache.cc base::FileEnumerator::FILES); base 375 chrome/browser/chromeos/drive/file_cache.cc for (base::FilePath file = enumerator.Next(); !file.empty(); base 377 chrome/browser/chromeos/drive/file_cache.cc base::DeleteFile(file, false /* recursive */); base 411 chrome/browser/chromeos/drive/file_cache.cc base::Bind(&FileCache::DestroyOnBlockingPool, base::Unretained(this))); base 420 chrome/browser/chromeos/drive/file_cache.cc const base::FilePath& dest_directory, base 425 chrome/browser/chromeos/drive/file_cache.cc base::FileEnumerator enumerator(cache_file_directory_, base 427 chrome/browser/chromeos/drive/file_cache.cc base::FileEnumerator::FILES); base 428 chrome/browser/chromeos/drive/file_cache.cc for (base::FilePath current = enumerator.Next(); !current.empty(); base 447 chrome/browser/chromeos/drive/file_cache.cc base::DeleteFile(current, false /* recursive */); base 455 chrome/browser/chromeos/drive/file_cache.cc base::ReadFile(current, &content[0], content.size()); base 465 chrome/browser/chromeos/drive/file_cache.cc base::FilePath dest_base_name(FILE_PATH_LITERAL("file")); base 469 chrome/browser/chromeos/drive/file_cache.cc dest_base_name = base::FilePath::FromUTF8Unsafe(it->second.title); base 477 chrome/browser/chromeos/drive/file_cache.cc dest_base_name = base::FilePath(FILE_PATH_LITERAL("image")); base 479 chrome/browser/chromeos/drive/file_cache.cc dest_base_name = base::FilePath(FILE_PATH_LITERAL("video")); base 481 chrome/browser/chromeos/drive/file_cache.cc dest_base_name = base::FilePath(FILE_PATH_LITERAL("audio")); base 485 chrome/browser/chromeos/drive/file_cache.cc std::vector<base::FilePath::StringType> extensions; base 486 chrome/browser/chromeos/drive/file_cache.cc base::FilePath::StringType extension; base 498 chrome/browser/chromeos/drive/file_cache.cc const base::FilePath& dest_path = dest_directory.Append(dest_base_name) base 499 chrome/browser/chromeos/drive/file_cache.cc .InsertBeforeExtensionASCII(base::StringPrintf("%08d", file_number++)); base 500 chrome/browser/chromeos/drive/file_cache.cc if (!base::CreateDirectory(dest_directory) || base 501 chrome/browser/chromeos/drive/file_cache.cc !base::Move(current, dest_path)) { base 512 chrome/browser/chromeos/drive/file_cache.cc FileError FileCache::MarkAsUnmounted(const base::FilePath& file_path) { base 532 chrome/browser/chromeos/drive/file_cache.cc const base::FilePath& path) { base 537 chrome/browser/chromeos/drive/file_cache.cc free_space = base::SysInfo::AmountOfFreeDiskSpace(path); base 545 chrome/browser/chromeos/drive/file_cache.cc base::FileEnumerator enumerator(cache_file_directory_, base 547 chrome/browser/chromeos/drive/file_cache.cc base::FileEnumerator::FILES); base 548 chrome/browser/chromeos/drive/file_cache.cc for (base::FilePath current = enumerator.Next(); !current.empty(); base 550 chrome/browser/chromeos/drive/file_cache.cc base::FilePath new_path = current.RemoveExtension(); base 553 chrome/browser/chromeos/drive/file_cache.cc if (!base::DeleteFile(current, false /* recursive */)) base 559 chrome/browser/chromeos/drive/file_cache.cc if (new_path != current && !base::Move(current, new_path)) base 17 chrome/browser/chromeos/drive/file_cache.h namespace base { base 61 chrome/browser/chromeos/drive/file_cache.h const base::FilePath& cache_file_directory, base 62 chrome/browser/chromeos/drive/file_cache.h base::SequencedTaskRunner* blocking_task_runner, base 69 chrome/browser/chromeos/drive/file_cache.h bool IsUnderFileCacheDirectory(const base::FilePath& path) const; base 87 chrome/browser/chromeos/drive/file_cache.h FileError GetFile(const std::string& id, base::FilePath* cache_file_path); base 94 chrome/browser/chromeos/drive/file_cache.h const base::FilePath& source_path, base 105 chrome/browser/chromeos/drive/file_cache.h base::FilePath* cache_file_path); base 108 chrome/browser/chromeos/drive/file_cache.h FileError MarkAsUnmounted(const base::FilePath& file_path); base 114 chrome/browser/chromeos/drive/file_cache.h scoped_ptr<base::ScopedClosureRunner>* file_closer); base 144 chrome/browser/chromeos/drive/file_cache.h const base::FilePath& dest_directory, base 156 chrome/browser/chromeos/drive/file_cache.h base::FilePath GetCacheFilePath(const std::string& id) const; base 167 chrome/browser/chromeos/drive/file_cache.h bool HasEnoughSpaceFor(int64 num_bytes, const base::FilePath& path); base 177 chrome/browser/chromeos/drive/file_cache.h const base::FilePath cache_file_directory_; base 179 chrome/browser/chromeos/drive/file_cache.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 194 chrome/browser/chromeos/drive/file_cache.h base::WeakPtrFactory<FileCache> weak_ptr_factory_; base 38 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath metadata_dir = temp_dir_.path().AppendASCII("meta"); base 41 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CreateDirectory(metadata_dir)); base 42 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_files_dir_)); base 48 chrome/browser/chromeos/drive/file_cache_unittest.cc base::MessageLoopProxy::current().get())); base 54 chrome/browser/chromeos/drive/file_cache_unittest.cc base::MessageLoopProxy::current().get(), base 64 chrome/browser/chromeos/drive/file_cache_unittest.cc base::ScopedTempDir temp_dir_; base 65 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath cache_files_dir_; base 74 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath dir_source_root; base 75 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &dir_source_root)); base 76 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath src_path = base 84 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath file_directory = base 86 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CopyFile(src_path, file_directory.AppendASCII("id_bar"))); base 87 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CopyFile(src_path, file_directory.AppendASCII("id_baz"))); base 96 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath dest_directory = temp_dir_.path().AppendASCII("dest"); base 101 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::PathExists(dest_directory)); base 103 chrome/browser/chromeos/drive/file_cache_unittest.cc if (base::PathExists(dest_directory.AppendASCII("baz00000001.png"))) { base 104 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ContentsEqual( base 107 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ContentsEqual( base 111 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ContentsEqual( base 114 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ContentsEqual( base 118 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_FALSE(base::PathExists( base 123 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath src_file; base 124 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &src_file)); base 148 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath src_file; base 149 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &src_file)); base 156 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath tmp_path; base 165 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath pinned_path; base 177 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_FALSE(base::PathExists(tmp_path)); base 180 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::PathExists(pinned_path)); base 188 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath src_file_path = temp_dir_.path().Append("test.dat"); base 193 chrome/browser/chromeos/drive/file_cache_unittest.cc std::string md5(base::MD5String(src_contents)); base 195 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath cache_file_directory = base 201 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath cache_file_path; base 208 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ReadFileToString(cache_file_path, &contents)); base 231 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ReadFileToString(cache_file_path, &contents)); base 236 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath src_file_path = temp_dir_.path().Append("test.dat"); base 241 chrome/browser/chromeos/drive/file_cache_unittest.cc std::string md5(base::MD5String(src_contents)); base 252 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath cache_file_path; base 254 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ContentsEqual(src_file_path, cache_file_path)); base 258 chrome/browser/chromeos/drive/file_cache_unittest.cc id, md5, base::FilePath::FromUTF8Unsafe("non_existent_file"), base 278 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath src_file_path = temp_dir_.path().Append("test.dat"); base 283 chrome/browser/chromeos/drive/file_cache_unittest.cc std::string md5(base::MD5String(src_contents)); base 322 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath src_file_path = temp_dir_.path().Append("test.dat"); base 327 chrome/browser/chromeos/drive/file_cache_unittest.cc std::string md5(base::MD5String(src_contents)); base 334 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath cache_file_path; base 349 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath src_file; base 350 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &src_file)); base 363 chrome/browser/chromeos/drive/file_cache_unittest.cc scoped_ptr<base::ScopedClosureRunner> file_closer1; base 372 chrome/browser/chromeos/drive/file_cache_unittest.cc scoped_ptr<base::ScopedClosureRunner> file_closer2; base 391 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath src_file_path = temp_dir_.path().Append("test.dat"); base 396 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Store(id, base::MD5String(contents_before), base 401 chrome/browser/chromeos/drive/file_cache_unittest.cc scoped_ptr<base::ScopedClosureRunner> file_closer; base 403 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath cache_file_path; base 423 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(base::MD5String(contents_after), entry.md5()); base 428 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath src_file; base 429 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &src_file)); base 436 chrome/browser/chromeos/drive/file_cache_unittest.cc scoped_ptr<base::ScopedClosureRunner> file_closer; base 457 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath src_file_path = temp_dir_.path().Append("test.dat"); base 462 chrome/browser/chromeos/drive/file_cache_unittest.cc std::string md5(base::MD5String(src_contents)); base 465 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath src_file; base 466 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &src_file)); base 470 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath cache_file_path; base 475 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_FALSE(base::PathExists(cache_file_path)); base 479 chrome/browser/chromeos/drive/file_cache_unittest.cc const base::FilePath file_directory = base 495 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ReadFileToString(file_directory.AppendASCII("id_koo"), base 499 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ReadFileToString(file_directory.AppendASCII("id_kyu"), base 508 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ReadFileToString(file_directory.AppendASCII("id_koo"), base 512 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ReadFileToString(file_directory.AppendASCII("id_kyu"), base 522 chrome/browser/chromeos/drive/file_cache_unittest.cc base::FilePath src_file; base 523 chrome/browser/chromeos/drive/file_cache_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &src_file)); base 536 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::IsDirectoryEmpty(cache_files_dir_)); base 9 chrome/browser/chromeos/drive/file_change.cc FileChange::FileChange(const base::FilePath& path, Type type) base 16 chrome/browser/chromeos/drive/file_change.cc FileChangeSet FileChange::CreateSingleSet(const base::FilePath& path, base 32 chrome/browser/chromeos/drive/file_change.h FileChange(const base::FilePath& path, Type type); base 36 chrome/browser/chromeos/drive/file_change.h static FileChangeSet CreateSingleSet(const base::FilePath& path, Type type); base 47 chrome/browser/chromeos/drive/file_change.h const base::FilePath& path() const { return path_; } base 52 chrome/browser/chromeos/drive/file_change.h const base::FilePath path_; base 12 chrome/browser/chromeos/drive/file_change_unittest.cc base::FilePath change_path(FILE_PATH_LITERAL("test")); base 22 chrome/browser/chromeos/drive/file_change_unittest.cc base::FilePath change_path(FILE_PATH_LITERAL("a/b/c/d")); base 38 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change1(base::FilePath(FILE_PATH_LITERAL("a")), base 40 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change2(base::FilePath(FILE_PATH_LITERAL("b")), base 46 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change3(base::FilePath(FILE_PATH_LITERAL("a")), base 48 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change4(base::FilePath(FILE_PATH_LITERAL("a")), base 53 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change5(base::FilePath(FILE_PATH_LITERAL("c")), base 55 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change6(base::FilePath(FILE_PATH_LITERAL("c")), base 61 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change1(base::FilePath(FILE_PATH_LITERAL("a")), base 63 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change2(base::FilePath(FILE_PATH_LITERAL("a")), base 65 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change3(base::FilePath(FILE_PATH_LITERAL("a")), base 67 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change4(base::FilePath(FILE_PATH_LITERAL("b")), base 69 chrome/browser/chromeos/drive/file_change_unittest.cc FileChange file_change5(base::FilePath(FILE_PATH_LITERAL("c")), base 75 chrome/browser/chromeos/drive/file_errors.cc base::File::Error FileErrorToBaseFileError(FileError error) { base 78 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_OK; base 81 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; base 84 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_IN_USE; base 87 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_EXISTS; base 90 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NOT_FOUND; base 93 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_ACCESS_DENIED; base 96 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_TOO_MANY_OPENED; base 99 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NO_MEMORY; base 102 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NO_SPACE; base 105 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 108 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 111 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_SECURITY; base 114 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_ABORT; base 117 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NOT_A_FILE; base 120 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NOT_EMPTY; base 123 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_INVALID_URL; base 126 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; base 129 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; base 132 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; base 136 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; base 37 chrome/browser/chromeos/drive/file_errors.h typedef base::Callback<void(FileError error)> FileOperationCallback; base 43 chrome/browser/chromeos/drive/file_errors.h base::File::Error FileErrorToBaseFileError(FileError error); base 48 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& file_path, base 76 chrome/browser/chromeos/drive/file_system.cc base::FilePath local_cache_path; base 81 chrome/browser/chromeos/drive/file_system.cc base::File::Info file_info; base 82 chrome/browser/chromeos/drive/file_system.cc if (!base::GetFileInfo(local_cache_path, &file_info)) base 105 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& file_path, base 126 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& file_path, base 139 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& drive_file_path, base 140 chrome/browser/chromeos/drive/file_system.cc base::FilePath* cache_file_path) { base 151 chrome/browser/chromeos/drive/file_system.cc base::FilePath* cache_file_path, base 160 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& drive_file_path, base 194 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& unused_file_path, base 214 chrome/browser/chromeos/drive/file_system.cc base::FilePath* file_path) { base 219 chrome/browser/chromeos/drive/file_system.cc resource_metadata->GetFilePath(local_id) : base::FilePath(); base 225 chrome/browser/chromeos/drive/file_system.cc void GetPathFromResourceIdAfterGetPath(base::FilePath* file_path, base 265 chrome/browser/chromeos/drive/file_system.cc base::FilePath directory_path; base 278 chrome/browser/chromeos/drive/file_system.cc base::SequencedTaskRunner* blocking_task_runner, base 279 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& temporary_file_directory) base 310 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 313 chrome/browser/chromeos/drive/file_system.cc base::Bind(&ResetOnBlockingPool, resource_metadata_, cache_), base 411 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::OnUpdateChecked, weak_ptr_factory_.GetWeakPtr())); base 417 chrome/browser/chromeos/drive/file_system.cc last_update_check_time_ = base::Time::Now(); base 432 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& local_src_file_path, base 433 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& remote_dest_file_path, base 442 chrome/browser/chromeos/drive/file_system.cc void FileSystem::Copy(const base::FilePath& src_file_path, base 443 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& dest_file_path, base 452 chrome/browser/chromeos/drive/file_system.cc void FileSystem::Move(const base::FilePath& src_file_path, base 453 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& dest_file_path, base 460 chrome/browser/chromeos/drive/file_system.cc void FileSystem::Remove(const base::FilePath& file_path, base 469 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& directory_path, base 484 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::CreateDirectoryAfterRead, base 507 chrome/browser/chromeos/drive/file_system.cc void FileSystem::CreateFile(const base::FilePath& file_path, base 517 chrome/browser/chromeos/drive/file_system.cc void FileSystem::TouchFile(const base::FilePath& file_path, base 518 chrome/browser/chromeos/drive/file_system.cc const base::Time& last_access_time, base 519 chrome/browser/chromeos/drive/file_system.cc const base::Time& last_modified_time, base 527 chrome/browser/chromeos/drive/file_system.cc void FileSystem::TruncateFile(const base::FilePath& file_path, base 535 chrome/browser/chromeos/drive/file_system.cc void FileSystem::Pin(const base::FilePath& file_path, base 541 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 544 chrome/browser/chromeos/drive/file_system.cc base::Bind(&PinInternal, resource_metadata_, cache_, file_path, local_id), base 545 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::FinishPin, base 548 chrome/browser/chromeos/drive/file_system.cc base::Owned(local_id))); base 562 chrome/browser/chromeos/drive/file_system.cc void FileSystem::Unpin(const base::FilePath& file_path, base 568 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 571 chrome/browser/chromeos/drive/file_system.cc base::Bind(&UnpinInternal, base 576 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::FinishUnpin, base 579 chrome/browser/chromeos/drive/file_system.cc base::Owned(local_id))); base 593 chrome/browser/chromeos/drive/file_system.cc void FileSystem::GetFile(const base::FilePath& file_path, base 606 chrome/browser/chromeos/drive/file_system.cc void FileSystem::GetFileForSaving(const base::FilePath& file_path, base 614 chrome/browser/chromeos/drive/file_system.cc base::Closure FileSystem::GetFileContent( base 615 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& file_path, base 629 chrome/browser/chromeos/drive/file_system.cc base::Bind(&GetFileCallbackToFileOperationCallbackAdapter, base 634 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& file_path, base 640 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::GetResourceEntryAfterRead, base 647 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& file_path, base 663 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 666 chrome/browser/chromeos/drive/file_system.cc base::Bind(&GetLocallyStoredResourceEntry, base 671 chrome/browser/chromeos/drive/file_system.cc base::Bind(&RunGetResourceEntryCallback, callback, base::Passed(&entry))); base 675 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& directory_path, base 686 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FilterHostedDocuments, callback) : callback); base 690 chrome/browser/chromeos/drive/file_system.cc base::Bind(&util::EmptyFileOperationCallback)); base 699 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::OnGetAboutResource, base 723 chrome/browser/chromeos/drive/file_system.cc void FileSystem::GetShareUrl(const base::FilePath& file_path, base 731 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 734 chrome/browser/chromeos/drive/file_system.cc base::Bind(&internal::ResourceMetadata::GetResourceEntryByPath, base 735 chrome/browser/chromeos/drive/file_system.cc base::Unretained(resource_metadata_), base 738 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::GetShareUrlAfterGetResourceEntry, base 743 chrome/browser/chromeos/drive/file_system.cc base::Owned(entry))); base 747 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& file_path, base 769 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::OnGetResourceEntryForGetShareUrl, base 822 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& directory_path) { base 832 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 835 chrome/browser/chromeos/drive/file_system.cc base::Bind(&internal::ResourceMetadata::GetFilePath, base 836 chrome/browser/chromeos/drive/file_system.cc base::Unretained(resource_metadata_), base 838 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::OnDriveSyncErrorAfterGetFilePath, base 845 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& path) { base 853 chrome/browser/chromeos/drive/file_system.cc void FileSystem::OnDirectoryChanged(const base::FilePath& directory_path) { base 870 chrome/browser/chromeos/drive/file_system.cc base::Bind(&internal::RemoveStaleCacheFiles, base 888 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 891 chrome/browser/chromeos/drive/file_system.cc base::Bind(&internal::ResourceMetadata::GetLargestChangestamp, base 892 chrome/browser/chromeos/drive/file_system.cc base::Unretained(resource_metadata_)), base 893 chrome/browser/chromeos/drive/file_system.cc base::Bind(&OnGetLargestChangestamp, metadata, callback)); base 897 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& drive_file_path, base 902 chrome/browser/chromeos/drive/file_system.cc base::FilePath* cache_file_path = new base::FilePath; base 903 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 906 chrome/browser/chromeos/drive/file_system.cc base::Bind(&MarkCacheFileAsMountedInternal, base 911 chrome/browser/chromeos/drive/file_system.cc base::Bind(&RunMarkMountedCallback, base 913 chrome/browser/chromeos/drive/file_system.cc base::Owned(cache_file_path))); base 917 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& cache_file_path, base 927 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 930 chrome/browser/chromeos/drive/file_system.cc base::Bind(&internal::FileCache::MarkAsUnmounted, base 931 chrome/browser/chromeos/drive/file_system.cc base::Unretained(cache_), base 937 chrome/browser/chromeos/drive/file_system.cc const base::FilePath& drive_file_path, base 943 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 946 chrome/browser/chromeos/drive/file_system.cc base::Bind(&GetCacheEntryInternal, base 951 chrome/browser/chromeos/drive/file_system.cc base::Bind(&RunGetCacheEntryCallback, base 953 chrome/browser/chromeos/drive/file_system.cc base::Owned(cache_entry))); base 956 chrome/browser/chromeos/drive/file_system.cc void FileSystem::AddPermission(const base::FilePath& drive_file_path, base 965 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 968 chrome/browser/chromeos/drive/file_system.cc base::Bind(&internal::ResourceMetadata::GetResourceEntryByPath, base 969 chrome/browser/chromeos/drive/file_system.cc base::Unretained(resource_metadata_), base 972 chrome/browser/chromeos/drive/file_system.cc base::Bind(&FileSystem::AddPermissionAfterGetResourceEntry, base 977 chrome/browser/chromeos/drive/file_system.cc base::Owned(entry))); base 997 chrome/browser/chromeos/drive/file_system.cc base::Bind(&RunFileOperationCallbackAsEntryActionCallback, callback)); base 1000 chrome/browser/chromeos/drive/file_system.cc void FileSystem::OpenFile(const base::FilePath& file_path, base 1015 chrome/browser/chromeos/drive/file_system.cc base::FilePath* const file_path = new base::FilePath(); base 1016 chrome/browser/chromeos/drive/file_system.cc base::PostTaskAndReplyWithResult( base 1019 chrome/browser/chromeos/drive/file_system.cc base::Bind(&GetPathFromResourceIdOnBlockingPool, base 1023 chrome/browser/chromeos/drive/file_system.cc base::Bind(&GetPathFromResourceIdAfterGetPath, base 1024 chrome/browser/chromeos/drive/file_system.cc base::Owned(file_path), base 21 chrome/browser/chromeos/drive/file_system.h namespace base { base 74 chrome/browser/chromeos/drive/file_system.h base::SequencedTaskRunner* blocking_task_runner, base 75 chrome/browser/chromeos/drive/file_system.h const base::FilePath& temporary_file_directory); base 90 chrome/browser/chromeos/drive/file_system.h const base::FilePath& local_src_file_path, base 91 chrome/browser/chromeos/drive/file_system.h const base::FilePath& remote_dest_file_path, base 93 chrome/browser/chromeos/drive/file_system.h virtual void OpenFile(const base::FilePath& file_path, base 97 chrome/browser/chromeos/drive/file_system.h virtual void Copy(const base::FilePath& src_file_path, base 98 chrome/browser/chromeos/drive/file_system.h const base::FilePath& dest_file_path, base 101 chrome/browser/chromeos/drive/file_system.h virtual void Move(const base::FilePath& src_file_path, base 102 chrome/browser/chromeos/drive/file_system.h const base::FilePath& dest_file_path, base 104 chrome/browser/chromeos/drive/file_system.h virtual void Remove(const base::FilePath& file_path, base 107 chrome/browser/chromeos/drive/file_system.h virtual void CreateDirectory(const base::FilePath& directory_path, base 111 chrome/browser/chromeos/drive/file_system.h virtual void CreateFile(const base::FilePath& file_path, base 115 chrome/browser/chromeos/drive/file_system.h virtual void TouchFile(const base::FilePath& file_path, base 116 chrome/browser/chromeos/drive/file_system.h const base::Time& last_access_time, base 117 chrome/browser/chromeos/drive/file_system.h const base::Time& last_modified_time, base 119 chrome/browser/chromeos/drive/file_system.h virtual void TruncateFile(const base::FilePath& file_path, base 122 chrome/browser/chromeos/drive/file_system.h virtual void Pin(const base::FilePath& file_path, base 124 chrome/browser/chromeos/drive/file_system.h virtual void Unpin(const base::FilePath& file_path, base 126 chrome/browser/chromeos/drive/file_system.h virtual void GetFile(const base::FilePath& file_path, base 128 chrome/browser/chromeos/drive/file_system.h virtual void GetFileForSaving(const base::FilePath& file_path, base 130 chrome/browser/chromeos/drive/file_system.h virtual base::Closure GetFileContent( base 131 chrome/browser/chromeos/drive/file_system.h const base::FilePath& file_path, base 136 chrome/browser/chromeos/drive/file_system.h const base::FilePath& file_path, base 139 chrome/browser/chromeos/drive/file_system.h const base::FilePath& directory_path, base 144 chrome/browser/chromeos/drive/file_system.h const base::FilePath& file_path, base 150 chrome/browser/chromeos/drive/file_system.h const base::FilePath& drive_file_path, base 153 chrome/browser/chromeos/drive/file_system.h const base::FilePath& cache_file_path, base 156 chrome/browser/chromeos/drive/file_system.h const base::FilePath& drive_file_path, base 158 chrome/browser/chromeos/drive/file_system.h virtual void AddPermission(const base::FilePath& drive_file_path, base 169 chrome/browser/chromeos/drive/file_system.h const base::FilePath& directory_path) OVERRIDE; base 177 chrome/browser/chromeos/drive/file_system.h const base::FilePath& directory_path) OVERRIDE; base 221 chrome/browser/chromeos/drive/file_system.h void GetResourceEntryAfterRead(const base::FilePath& file_path, base 229 chrome/browser/chromeos/drive/file_system.h void GetShareUrlAfterGetResourceEntry(const base::FilePath& file_path, base 248 chrome/browser/chromeos/drive/file_system.h const base::FilePath& fiepath); base 261 chrome/browser/chromeos/drive/file_system.h base::Time last_update_check_time_; base 281 chrome/browser/chromeos/drive/file_system.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 283 chrome/browser/chromeos/drive/file_system.h base::FilePath temporary_file_directory_; base 301 chrome/browser/chromeos/drive/file_system.h base::WeakPtrFactory<FileSystem> weak_ptr_factory_; base 29 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::FilePath src_file_path; base 30 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::FilePath dest_file_path; base 66 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::FilePath changed_path; base 129 chrome/browser/chromeos/drive/file_system/copy_operation.cc const int64 now = base::Time::Now().ToInternalValue(); base 153 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::FilePath cache_file_path; base 166 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::FilePath* file_path) { base 200 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& local_src_path, base 201 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& remote_dest_path, base 220 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& local_src_path, base 221 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& remote_dest_path, base 275 chrome/browser/chromeos/drive/file_system/copy_operation.cc CopyOperation::CopyOperation(base::SequencedTaskRunner* blocking_task_runner, base 298 chrome/browser/chromeos/drive/file_system/copy_operation.cc void CopyOperation::Copy(const base::FilePath& src_file_path, base 299 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& dest_file_path, base 314 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::PostTaskAndReplyWithResult( base 317 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&TryToCopyLocally, metadata_, cache_, params, base 319 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&CopyOperation::CopyAfterTryToCopyLocally, base 320 chrome/browser/chromeos/drive/file_system/copy_operation.cc weak_ptr_factory_.GetWeakPtr(), base::Owned(params), base 321 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Owned(updated_local_ids), base::Owned(directory_changed), base 322 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Owned(should_copy_on_server))); base 345 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::FilePath new_title = params->dest_file_path.BaseName(); base 352 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Time last_modified = base 354 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Time::FromInternalValue( base 355 chrome/browser/chromeos/drive/file_system/copy_operation.cc params->src_entry.file_info().last_modified()) : base::Time(); base 363 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& local_src_path, base 364 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& remote_dest_path, base 371 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::PostTaskAndReplyWithResult( base 374 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind( base 378 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind( base 382 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Owned(gdoc_resource_id), base::Owned(parent_entry))); base 386 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& local_src_path, base 387 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& remote_dest_path, base 418 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::PostTaskAndReplyWithResult( base 421 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&LocalWorkForTransferJsonGdocFile, metadata_, params), base 422 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&CopyOperation::TransferJsonGdocFileAfterLocalWork, base 423 chrome/browser/chromeos/drive/file_system/copy_operation.cc weak_ptr_factory_.GetWeakPtr(), base::Owned(params))); base 444 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Time(), base 465 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Time(), base 466 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Time(), base 468 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&CopyOperation::UpdateAfterServerSideOperation, base 479 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::Time& last_modified, base 486 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&CopyOperation::UpdateAfterServerSideOperation, base 506 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::FilePath* file_path = new base::FilePath; base 507 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::PostTaskAndReplyWithResult( base 510 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&UpdateLocalStateForServerSideOperation, base 511 chrome/browser/chromeos/drive/file_system/copy_operation.cc metadata_, base::Passed(&resource_entry), file_path), base 512 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&CopyOperation::UpdateAfterLocalStateUpdate, base 514 chrome/browser/chromeos/drive/file_system/copy_operation.cc callback, base::Owned(file_path))); base 519 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::FilePath* file_path, base 530 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& local_src_path, base 531 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& remote_dest_path, base 540 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind(&CopyOperation::ScheduleTransferRegularFileAfterCreate, base 546 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& local_src_path, base 547 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& remote_dest_path, base 559 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::PostTaskAndReplyWithResult( base 562 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind( base 565 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Bind( base 568 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Owned(local_id))); base 573 chrome/browser/chromeos/drive/file_system/copy_operation.cc const base::FilePath& remote_dest_path, base 16 chrome/browser/chromeos/drive/file_system/copy_operation.h namespace base { base 47 chrome/browser/chromeos/drive/file_system/copy_operation.h CopyOperation(base::SequencedTaskRunner* blocking_task_runner, base 61 chrome/browser/chromeos/drive/file_system/copy_operation.h void Copy(const base::FilePath& src_file_path, base 62 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::FilePath& dest_file_path, base 73 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::FilePath& local_src_file_path, base 74 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::FilePath& remote_dest_file_path, base 96 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::FilePath& local_src_path, base 97 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::FilePath& remote_dest_path, base 112 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::Time& last_modified, base 126 chrome/browser/chromeos/drive/file_system/copy_operation.h base::FilePath* file_path, base 132 chrome/browser/chromeos/drive/file_system/copy_operation.h void ScheduleTransferRegularFile(const base::FilePath& local_src_path, base 133 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::FilePath& remote_dest_path, base 138 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::FilePath& local_src_path, base 139 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::FilePath& remote_dest_path, base 147 chrome/browser/chromeos/drive/file_system/copy_operation.h const base::FilePath& remote_dest_path, base 151 chrome/browser/chromeos/drive/file_system/copy_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 163 chrome/browser/chromeos/drive/file_system/copy_operation.h base::WeakPtrFactory<CopyOperation> weak_ptr_factory_; base 38 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath local_src_path = temp_dir().AppendASCII("local.txt"); base 39 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath remote_dest_path( base 66 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::PostTaskAndReplyWithResult( base 69 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Bind(&internal::FileCache::GetCacheEntry, base 70 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Unretained(cache()), base 85 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath local_src_path = temp_dir().AppendASCII("local.txt"); base 86 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath remote_dest_path( base 111 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::PostTaskAndReplyWithResult( base 114 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Bind(&internal::FileCache::GetCacheEntry, base 115 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Unretained(cache()), entry.local_id(), &cache_entry), base 129 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath local_src_path = temp_dir().AppendASCII("local.gdoc"); base 130 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath remote_dest_path(FILE_PATH_LITERAL( base 163 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath local_src_path = temp_dir().AppendASCII("local.gdoc"); base 164 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath remote_dest_path(FILE_PATH_LITERAL( base 199 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath local_src_path = temp_dir().AppendASCII("local.gdoc"); base 200 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc const base::FilePath remote_dest_path(FILE_PATH_LITERAL( base 242 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/Dummy file.txt")); base 243 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Test.log")); base 262 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 263 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Dummy/Test.log")); base 286 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL( base 288 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL( base 310 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 311 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL( base 318 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath temp_file; base 319 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file)); base 323 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::PostTaskAndReplyWithResult( base 326 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Bind(&internal::FileCache::Store, base 327 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Unretained(cache()), base 356 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::PostTaskAndReplyWithResult( base 359 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Bind(&internal::FileCache::GetCacheEntry, base 360 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Unretained(cache()), base 369 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath cache_file_path; base 370 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::PostTaskAndReplyWithResult( base 373 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Bind(&internal::FileCache::GetFile, base 374 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Unretained(cache()), base 382 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc EXPECT_TRUE(base::ReadFileToString(cache_file_path, &copied_contents)); base 387 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 388 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL( base 412 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 413 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Directory 1")); base 425 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/Directory 1")); base 426 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/New Directory")); base 444 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 445 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/File 2.txt")); base 23 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc const base::FilePath& relative_file_path, base 25 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc std::set<base::FilePath>* changed_directories) { base 27 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc std::vector<base::FilePath::StringType> components; base 30 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::FilePath title(components[0]); base 31 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::FilePath remaining_path; base 35 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc const base::Time now = base::Time::Now(); base 60 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc const base::FilePath& directory_path, base 64 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc std::set<base::FilePath>* changed_directories) { base 66 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc std::vector<base::FilePath::StringType> components; base 72 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::FilePath existing_deepest_path(components[0]); base 99 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::FilePath remaining_path; base 108 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::SequencedTaskRunner* blocking_task_runner, base 123 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc const base::FilePath& directory_path, base 131 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc std::set<base::FilePath>* changed_directories = new std::set<base::FilePath>; base 132 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::PostTaskAndReplyWithResult( base 135 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::Bind(&UpdateLocalState, base 138 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::Bind(&CreateDirectoryOperation:: base 142 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::Owned(updated_local_ids), base 143 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc base::Owned(changed_directories))); base 149 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc const std::set<base::FilePath>* changed_directories, base 158 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc for (std::set<base::FilePath>::const_iterator it = base 15 chrome/browser/chromeos/drive/file_system/create_directory_operation.h namespace base { base 37 chrome/browser/chromeos/drive/file_system/create_directory_operation.h CreateDirectoryOperation(base::SequencedTaskRunner* blocking_task_runner, base 49 chrome/browser/chromeos/drive/file_system/create_directory_operation.h void CreateDirectory(const base::FilePath& directory_path, base 59 chrome/browser/chromeos/drive/file_system/create_directory_operation.h const std::set<base::FilePath>* changed_directories, base 62 chrome/browser/chromeos/drive/file_system/create_directory_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 68 chrome/browser/chromeos/drive/file_system/create_directory_operation.h base::WeakPtrFactory<CreateDirectoryOperation> weak_ptr_factory_; base 17 chrome/browser/chromeos/drive/file_system/create_directory_operation_unittest.cc FileError FindDirectory(const base::FilePath& path) { base 31 chrome/browser/chromeos/drive/file_system/create_directory_operation_unittest.cc const base::FilePath kExistingFile( base 33 chrome/browser/chromeos/drive/file_system/create_directory_operation_unittest.cc const base::FilePath kExistingDirectory( base 35 chrome/browser/chromeos/drive/file_system/create_directory_operation_unittest.cc const base::FilePath kNewDirectory1( base 37 chrome/browser/chromeos/drive/file_system/create_directory_operation_unittest.cc const base::FilePath kNewDirectory2 = base 60 chrome/browser/chromeos/drive/file_system/create_directory_operation_unittest.cc EXPECT_FALSE(base::Time::FromInternalValue( base 62 chrome/browser/chromeos/drive/file_system/create_directory_operation_unittest.cc EXPECT_FALSE(base::Time::FromInternalValue( base 27 chrome/browser/chromeos/drive/file_system/create_file_operation.cc const base::FilePath& file_path, base 54 chrome/browser/chromeos/drive/file_system/create_file_operation.cc const base::Time now = base::Time::Now(); base 71 chrome/browser/chromeos/drive/file_system/create_file_operation.cc base::SequencedTaskRunner* blocking_task_runner, base 85 chrome/browser/chromeos/drive/file_system/create_file_operation.cc void CreateFileOperation::CreateFile(const base::FilePath& file_path, base 93 chrome/browser/chromeos/drive/file_system/create_file_operation.cc base::PostTaskAndReplyWithResult( base 96 chrome/browser/chromeos/drive/file_system/create_file_operation.cc base::Bind(&UpdateLocalState, base 101 chrome/browser/chromeos/drive/file_system/create_file_operation.cc base::Bind(&CreateFileOperation::CreateFileAfterUpdateLocalState, base 106 chrome/browser/chromeos/drive/file_system/create_file_operation.cc base::Owned(entry))); base 111 chrome/browser/chromeos/drive/file_system/create_file_operation.cc const base::FilePath& file_path, base 13 chrome/browser/chromeos/drive/file_system/create_file_operation.h namespace base { base 35 chrome/browser/chromeos/drive/file_system/create_file_operation.h CreateFileOperation(base::SequencedTaskRunner* blocking_task_runner, base 47 chrome/browser/chromeos/drive/file_system/create_file_operation.h void CreateFile(const base::FilePath& file_path, base 55 chrome/browser/chromeos/drive/file_system/create_file_operation.h const base::FilePath& file_path, base 60 chrome/browser/chromeos/drive/file_system/create_file_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 66 chrome/browser/chromeos/drive/file_system/create_file_operation.h base::WeakPtrFactory<CreateFileOperation> weak_ptr_factory_; base 21 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc const base::FilePath kFilePath(FILE_PATH_LITERAL("drive/root/New File.txt")); base 34 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc EXPECT_FALSE(base::Time::FromInternalValue( base 36 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc EXPECT_FALSE(base::Time::FromInternalValue( base 50 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc const base::FilePath kExistingFile( base 52 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc const base::FilePath kExistingDirectory( base 54 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc const base::FilePath kNonExistingFile( base 56 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc const base::FilePath kFileInNonExistingDirectory( base 111 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc const base::FilePath kPng1(FILE_PATH_LITERAL("drive/root/1.png")); base 112 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc const base::FilePath kPng2(FILE_PATH_LITERAL("drive/root/2.png")); base 113 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc const base::FilePath kUnknown(FILE_PATH_LITERAL("drive/root/3.unknown")); base 33 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& dir, base 34 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath::StringType& extension, base 35 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* out_path) { base 36 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath subdir; base 37 chrome/browser/chromeos/drive/file_system/download_operation.cc if (!base::CreateTemporaryDirInDir(dir, base::FilePath::StringType(), base 51 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& temporary_file_directory, base 52 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* temp_download_file) { base 60 chrome/browser/chromeos/drive/file_system/download_operation.cc return base::CreateTemporaryFileInDir( base 77 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& temporary_file_directory, base 80 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* cache_file_path, base 81 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* temp_download_file_path) { base 98 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath::StringType extension = base::FilePath::FromUTF8Unsafe( base 100 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath gdoc_file_path; base 102 chrome/browser/chromeos/drive/file_system/download_operation.cc base::File::Info file_info; base 112 chrome/browser/chromeos/drive/file_system/download_operation.cc !base::GetFileInfo(gdoc_file_path, base 113 chrome/browser/chromeos/drive/file_system/download_operation.cc reinterpret_cast<base::File::Info*>(&file_info))) base 134 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath empty_file; base 135 chrome/browser/chromeos/drive/file_system/download_operation.cc if (!base::CreateTemporaryFileInDir(temporary_file_directory, &empty_file)) base 164 chrome/browser/chromeos/drive/file_system/download_operation.cc base::File::Info file_info; base 165 chrome/browser/chromeos/drive/file_system/download_operation.cc if (base::GetFileInfo(*cache_file_path, &file_info)) base 174 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath temporary_file_directory; base 182 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* drive_file_path, base 183 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* cache_file_path, base 184 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* temp_download_file_path, base 196 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& file_path, base 197 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* cache_file_path, base 198 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* temp_download_file_path, base 218 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& downloaded_file_path, base 219 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* cache_file_path) { base 223 chrome/browser/chromeos/drive/file_system/download_operation.cc base::ScopedClosureRunner file_deleter(base::Bind( base 224 chrome/browser/chromeos/drive/file_system/download_operation.cc base::IgnoreResult(&base::DeleteFile), base 241 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Closure unused_file_deleter_closure = file_deleter.Release(); base 265 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Closure GetCancelClosure() { base 266 chrome/browser/chromeos/drive/file_system/download_operation.cc return base::Bind(&DownloadParams::Cancel, weak_ptr_factory_.GetWeakPtr()); base 269 chrome/browser/chromeos/drive/file_system/download_operation.cc void OnCacheFileFound(const base::FilePath& cache_file_path) const { base 278 chrome/browser/chromeos/drive/file_system/download_operation.cc void OnStartDownloading(const base::Closure& cancel_download_closure) { base 285 chrome/browser/chromeos/drive/file_system/download_operation.cc initialized_callback_.Run(FILE_ERROR_OK, base::FilePath(), base 291 chrome/browser/chromeos/drive/file_system/download_operation.cc error, base::FilePath(), scoped_ptr<ResourceEntry>()); base 294 chrome/browser/chromeos/drive/file_system/download_operation.cc void OnComplete(const base::FilePath& cache_file_path) { base 318 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Closure cancel_download_closure_; base 321 chrome/browser/chromeos/drive/file_system/download_operation.cc base::WeakPtrFactory<DownloadParams> weak_ptr_factory_; base 326 chrome/browser/chromeos/drive/file_system/download_operation.cc base::SequencedTaskRunner* blocking_task_runner, base 331 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& temporary_file_directory) base 344 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Closure DownloadOperation::EnsureFileDownloadedByLocalId( base 357 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* drive_file_path = new base::FilePath; base 358 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* cache_file_path = new base::FilePath; base 359 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* temp_download_file_path = new base::FilePath; base 364 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Closure cancel_closure = download_params->GetCancelClosure(); base 365 chrome/browser/chromeos/drive/file_system/download_operation.cc base::PostTaskAndReplyWithResult( base 368 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Bind(&CheckPreConditionForEnsureFileDownloadedByLocalId, base 375 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Bind(&DownloadOperation::EnsureFileDownloadedAfterCheckPreCondition, base 377 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Passed(&download_params), base 379 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Owned(drive_file_path), base 380 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Owned(cache_file_path), base 381 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Owned(temp_download_file_path))); base 385 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Closure DownloadOperation::EnsureFileDownloadedByPath( base 386 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& file_path, base 398 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* drive_file_path = new base::FilePath(file_path); base 399 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* cache_file_path = new base::FilePath; base 400 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* temp_download_file_path = new base::FilePath; base 405 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Closure cancel_closure = download_params->GetCancelClosure(); base 406 chrome/browser/chromeos/drive/file_system/download_operation.cc base::PostTaskAndReplyWithResult( base 409 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Bind(&CheckPreConditionForEnsureFileDownloadedByPath, base 415 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Bind(&DownloadOperation::EnsureFileDownloadedAfterCheckPreCondition, base 417 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Passed(&download_params), base 419 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Owned(drive_file_path), base 420 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Owned(cache_file_path), base 421 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Owned(temp_download_file_path))); base 428 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* drive_file_path, base 429 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* cache_file_path, base 430 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* temp_download_file_path, base 463 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Bind(&DownloadOperation::EnsureFileDownloadedAfterDownloadFile, base 466 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Passed(¶ms)), base 471 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Bind(&DownloadOperation::CancelJob, base 476 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& drive_file_path, base 479 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& downloaded_file_path) { base 484 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* cache_file_path = new base::FilePath; base 485 chrome/browser/chromeos/drive/file_system/download_operation.cc base::PostTaskAndReplyWithResult( base 488 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Bind(&UpdateLocalStateForDownloadFile, base 489 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Unretained(cache_), base 495 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Bind(&DownloadOperation::EnsureFileDownloadedAfterUpdateLocalState, base 498 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Passed(¶ms), base 499 chrome/browser/chromeos/drive/file_system/download_operation.cc base::Owned(cache_file_path))); base 503 chrome/browser/chromeos/drive/file_system/download_operation.cc const base::FilePath& file_path, base 505 chrome/browser/chromeos/drive/file_system/download_operation.cc base::FilePath* cache_file_path, base 15 chrome/browser/chromeos/drive/file_system/download_operation.h namespace base { base 41 chrome/browser/chromeos/drive/file_system/download_operation.h DownloadOperation(base::SequencedTaskRunner* blocking_task_runner, base 46 chrome/browser/chromeos/drive/file_system/download_operation.h const base::FilePath& temporary_file_directory); base 65 chrome/browser/chromeos/drive/file_system/download_operation.h base::Closure EnsureFileDownloadedByLocalId( base 74 chrome/browser/chromeos/drive/file_system/download_operation.h base::Closure EnsureFileDownloadedByPath( base 75 chrome/browser/chromeos/drive/file_system/download_operation.h const base::FilePath& file_path, base 90 chrome/browser/chromeos/drive/file_system/download_operation.h base::FilePath* drive_file_path, base 91 chrome/browser/chromeos/drive/file_system/download_operation.h base::FilePath* cache_file_path, base 92 chrome/browser/chromeos/drive/file_system/download_operation.h base::FilePath* temp_download_file_path, base 97 chrome/browser/chromeos/drive/file_system/download_operation.h const base::FilePath& drive_file_path, base 100 chrome/browser/chromeos/drive/file_system/download_operation.h const base::FilePath& downloaded_file_path); base 105 chrome/browser/chromeos/drive/file_system/download_operation.h const base::FilePath& file_path, base 107 chrome/browser/chromeos/drive/file_system/download_operation.h base::FilePath* cache_file_path, base 113 chrome/browser/chromeos/drive/file_system/download_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 118 chrome/browser/chromeos/drive/file_system/download_operation.h const base::FilePath temporary_file_directory_; base 122 chrome/browser/chromeos/drive/file_system/download_operation.h base::WeakPtrFactory<DownloadOperation> weak_ptr_factory_; base 37 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 47 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 70 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 76 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 92 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 108 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::ScopedTempDir temp_dir; base 110 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc const base::FilePath tmp_file = base 115 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::PostTaskAndReplyWithResult( base 118 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Bind(&internal::FileCache::Store, base 119 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Unretained(cache()), base 126 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 149 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::PostTaskAndReplyWithResult( base 152 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Bind(&internal::FileCache::GetCacheEntry, base 153 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Unretained(cache()), base 163 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 178 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 193 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath temp_file; base 194 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file)); base 196 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 202 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::PostTaskAndReplyWithResult( base 205 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Bind(&internal::FileCache::Store, base 206 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Unretained(cache()), base 215 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 232 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL( base 236 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 259 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 264 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 287 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 292 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath local_path, local_path_dontcare; base 295 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Closure cancel_download = operation_->EnsureFileDownloadedByPath( base 326 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath local_path, local_path_dontcare; base 329 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Closure cancel_download = operation_->EnsureFileDownloadedByPath( base 348 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::GetFileSize(local_path, &local_file_size); base 355 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath temp_file; base 356 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file)); base 358 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 364 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::PostTaskAndReplyWithResult( base 367 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Bind(&internal::FileCache::Store, base 368 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Unretained(cache()), base 381 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 398 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 404 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath dirty_file = temp_dir().AppendASCII("dirty.txt"); base 411 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::PostTaskAndReplyWithResult( base 414 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Bind(&internal::FileCache::Store, base 415 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Unretained(cache()), base 426 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath init_path; base 428 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 430 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Closure cancel_callback = operation_->EnsureFileDownloadedByPath( base 448 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path(FILE_PATH_LITERAL("drive/root/New File.txt")); base 458 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::PostTaskAndReplyWithResult( base 461 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Bind(&internal::ResourceMetadata::AddEntry, base 462 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Unretained(metadata()), base 470 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath cache_file_path; base 483 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc EXPECT_TRUE(base::GetFileSize(cache_file_path, &cache_file_size)); base 490 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 496 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::FilePath file_path; base 498 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc base::Closure cancel_closure = operation_->EnsureFileDownloadedByLocalId( base 26 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::SequencedTaskRunner* blocking_task_runner, base 31 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc const base::FilePath& temporary_file_directory) base 54 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc const base::FilePath& file_path, base 63 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Bind(&GetFileForSavingOperation::GetFileForSavingAfterCreate, base 70 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc const base::FilePath& file_path, base 77 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc callback.Run(error, base::FilePath(), scoped_ptr<ResourceEntry>()); base 86 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Bind(&GetFileForSavingOperation::GetFileForSavingAfterDownload, base 94 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc const base::FilePath& cache_path, base 100 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc callback.Run(error, base::FilePath(), scoped_ptr<ResourceEntry>()); base 105 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc scoped_ptr<base::ScopedClosureRunner>* file_closer = base 106 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc new scoped_ptr<base::ScopedClosureRunner>; base 107 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::PostTaskAndReplyWithResult( base 110 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Bind(&internal::FileCache::OpenForWrite, base 111 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Unretained(cache_), base 114 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Bind(&GetFileForSavingOperation::GetFileForSavingAfterOpenForWrite, base 118 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Passed(&entry), base 119 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Owned(file_closer))); base 124 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc const base::FilePath& cache_path, base 126 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc scoped_ptr<base::ScopedClosureRunner>* file_closer, base 132 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc callback.Run(error, base::FilePath(), scoped_ptr<ResourceEntry>()); base 139 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Bind(&GetFileForSavingOperation::GetFileForSavingAfterWatch, base 143 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Passed(&entry)), base 144 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Bind(&GetFileForSavingOperation::OnWriteEvent, base 147 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Passed(file_closer))); base 152 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc const base::FilePath& cache_path, base 164 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::FilePath(), scoped_ptr<ResourceEntry>()); base 173 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc scoped_ptr<base::ScopedClosureRunner> file_closer) { base 183 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Bind(base::IgnoreResult( base 184 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Bind(&internal::FileCache::FreeDiskSpaceIfNeededFor, base 185 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc base::Unretained(cache_), base 15 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h namespace base { base 46 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h base::SequencedTaskRunner* blocking_task_runner, base 51 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h const base::FilePath& temporary_file_directory); base 58 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h void GetFileForSaving(const base::FilePath& file_path, base 66 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h void GetFileForSavingAfterCreate(const base::FilePath& file_path, base 71 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h const base::FilePath& cache_path, base 75 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h const base::FilePath& cache_path, base 77 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h scoped_ptr<base::ScopedClosureRunner>* file_closer, base 80 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h const base::FilePath& cache_path, base 85 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h scoped_ptr<base::ScopedClosureRunner> file_closer); base 91 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 98 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h base::WeakPtrFactory<GetFileForSavingOperation> weak_ptr_factory_; base 29 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc void set_quit_closure(const base::Closure& quit_closure) { base 39 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc const base::FilePath& path) OVERRIDE {} base 49 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::Closure quit_closure_; base 75 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::FilePath drive_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 82 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::FilePath local_path; base 97 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::PostTaskAndReplyWithResult( base 100 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::Bind(&internal::FileCache::GetCacheEntry, base 101 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::Unretained(cache()), base 112 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::RunLoop run_loop; base 121 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::FilePath drive_path(FILE_PATH_LITERAL("drive/root/NotExist.txt")); base 129 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::FilePath local_path; base 140 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc EXPECT_TRUE(base::GetFileSize(local_path, &size)); base 145 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::FilePath drive_path(FILE_PATH_LITERAL("drive/root/Directory 1")); base 153 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc base::FilePath local_path; base 21 chrome/browser/chromeos/drive/file_system/move_operation.cc const base::FilePath& src_path, base 22 chrome/browser/chromeos/drive/file_system/move_operation.cc const base::FilePath& dest_path, base 23 chrome/browser/chromeos/drive/file_system/move_operation.cc std::set<base::FilePath>* changed_directories, base 42 chrome/browser/chromeos/drive/file_system/move_operation.cc base::FilePath(dest_path.Extension()).AsUTF8Unsafe(); base 66 chrome/browser/chromeos/drive/file_system/move_operation.cc MoveOperation::MoveOperation(base::SequencedTaskRunner* blocking_task_runner, base 80 chrome/browser/chromeos/drive/file_system/move_operation.cc void MoveOperation::Move(const base::FilePath& src_file_path, base 81 chrome/browser/chromeos/drive/file_system/move_operation.cc const base::FilePath& dest_file_path, base 86 chrome/browser/chromeos/drive/file_system/move_operation.cc std::set<base::FilePath>* changed_directories = new std::set<base::FilePath>; base 88 chrome/browser/chromeos/drive/file_system/move_operation.cc base::PostTaskAndReplyWithResult( base 91 chrome/browser/chromeos/drive/file_system/move_operation.cc base::Bind(&UpdateLocalState, base 97 chrome/browser/chromeos/drive/file_system/move_operation.cc base::Bind(&MoveOperation::MoveAfterUpdateLocalState, base 100 chrome/browser/chromeos/drive/file_system/move_operation.cc base::Owned(changed_directories), base 101 chrome/browser/chromeos/drive/file_system/move_operation.cc base::Owned(local_id))); base 106 chrome/browser/chromeos/drive/file_system/move_operation.cc const std::set<base::FilePath>* changed_directories, base 112 chrome/browser/chromeos/drive/file_system/move_operation.cc for (std::set<base::FilePath>::const_iterator it = base 17 chrome/browser/chromeos/drive/file_system/move_operation.h namespace base { base 42 chrome/browser/chromeos/drive/file_system/move_operation.h MoveOperation(base::SequencedTaskRunner* blocking_task_runner, base 51 chrome/browser/chromeos/drive/file_system/move_operation.h void Move(const base::FilePath& src_file_path, base 52 chrome/browser/chromeos/drive/file_system/move_operation.h const base::FilePath& dest_file_path, base 59 chrome/browser/chromeos/drive/file_system/move_operation.h const std::set<base::FilePath>* changed_directories, base 63 chrome/browser/chromeos/drive/file_system/move_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 69 chrome/browser/chromeos/drive/file_system/move_operation.h base::WeakPtrFactory<MoveOperation> weak_ptr_factory_; base 27 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc const base::FilePath src_path( base 29 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc const base::FilePath dest_path( base 57 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 58 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc base::FilePath dest_path( base 87 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/Dummy file.txt")); base 88 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Test.log")); base 103 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 104 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Dummy/Test.log")); base 121 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 122 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc base::FilePath dest_path( base 29 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::SequencedTaskRunner* blocking_task_runner, base 34 chrome/browser/chromeos/drive/file_system/open_file_operation.cc const base::FilePath& temporary_file_directory) base 49 chrome/browser/chromeos/drive/file_system/open_file_operation.cc void OpenFileOperation::OpenFile(const base::FilePath& file_path, base 68 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Bind(&OpenFileOperation::OpenFileAfterCreateFile, base 76 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Bind(&OpenFileOperation::OpenFileAfterCreateFile, base 83 chrome/browser/chromeos/drive/file_system/open_file_operation.cc const base::FilePath& file_path, base 90 chrome/browser/chromeos/drive/file_system/open_file_operation.cc callback.Run(error, base::FilePath(), base::Closure()); base 99 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Bind( base 107 chrome/browser/chromeos/drive/file_system/open_file_operation.cc const base::FilePath& local_file_path, base 121 chrome/browser/chromeos/drive/file_system/open_file_operation.cc callback.Run(error, base::FilePath(), base::Closure()); base 125 chrome/browser/chromeos/drive/file_system/open_file_operation.cc scoped_ptr<base::ScopedClosureRunner>* file_closer = base 126 chrome/browser/chromeos/drive/file_system/open_file_operation.cc new scoped_ptr<base::ScopedClosureRunner>; base 127 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::PostTaskAndReplyWithResult( base 130 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Bind(&internal::FileCache::OpenForWrite, base 131 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Unretained(cache_), base 134 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Bind(&OpenFileOperation::OpenFileAfterOpenForWrite, base 139 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Owned(file_closer))); base 143 chrome/browser/chromeos/drive/file_system/open_file_operation.cc const base::FilePath& local_file_path, base 146 chrome/browser/chromeos/drive/file_system/open_file_operation.cc scoped_ptr<base::ScopedClosureRunner>* file_closer, base 152 chrome/browser/chromeos/drive/file_system/open_file_operation.cc callback.Run(error, base::FilePath(), base::Closure()); base 158 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Bind(&OpenFileOperation::CloseFile, base 161 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Passed(file_closer))); base 166 chrome/browser/chromeos/drive/file_system/open_file_operation.cc scoped_ptr<base::ScopedClosureRunner> file_closer) { base 179 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Bind(base::IgnoreResult( base 180 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Bind(&internal::FileCache::FreeDiskSpaceIfNeededFor, base 181 chrome/browser/chromeos/drive/file_system/open_file_operation.cc base::Unretained(cache_), base 17 chrome/browser/chromeos/drive/file_system/open_file_operation.h namespace base { base 41 chrome/browser/chromeos/drive/file_system/open_file_operation.h OpenFileOperation(base::SequencedTaskRunner* blocking_task_runner, base 46 chrome/browser/chromeos/drive/file_system/open_file_operation.h const base::FilePath& temporary_file_directory); base 57 chrome/browser/chromeos/drive/file_system/open_file_operation.h void OpenFile(const base::FilePath& file_path, base 64 chrome/browser/chromeos/drive/file_system/open_file_operation.h void OpenFileAfterCreateFile(const base::FilePath& file_path, base 71 chrome/browser/chromeos/drive/file_system/open_file_operation.h const base::FilePath& local_file_path, base 76 chrome/browser/chromeos/drive/file_system/open_file_operation.h const base::FilePath& local_file_path, base 79 chrome/browser/chromeos/drive/file_system/open_file_operation.h scoped_ptr<base::ScopedClosureRunner>* file_closer, base 84 chrome/browser/chromeos/drive/file_system/open_file_operation.h scoped_ptr<base::ScopedClosureRunner> file_closer); base 86 chrome/browser/chromeos/drive/file_system/open_file_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 99 chrome/browser/chromeos/drive/file_system/open_file_operation.h base::WeakPtrFactory<OpenFileOperation> weak_ptr_factory_; base 37 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc const base::FilePath file_in_root( base 44 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::FilePath file_path; base 45 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Closure close_callback; base 55 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::PathExists(file_path)); base 57 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::GetFileSize(file_path, &local_file_size)); base 66 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc const base::FilePath file_in_root( base 70 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::FilePath file_path; base 71 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Closure close_callback; base 84 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc const base::FilePath file_in_root( base 90 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::FilePath file_path; base 91 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Closure close_callback; base 105 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc const base::FilePath file_in_root( base 109 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::FilePath file_path; base 110 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Closure close_callback; base 123 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::PathExists(file_path)); base 125 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::GetFileSize(file_path, &local_file_size)); base 135 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc const base::FilePath file_in_root( base 142 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::FilePath file_path; base 143 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Closure close_callback; base 157 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::PathExists(file_path)); base 159 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::GetFileSize(file_path, &local_file_size)); base 168 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::PostTaskAndReplyWithResult( base 171 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Bind(&internal::FileCache::GetCacheEntry, base 172 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Unretained(cache()), base 183 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc const base::FilePath file_in_root( base 187 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::FilePath file_path; base 188 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Closure close_callback; base 198 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::PathExists(file_path)); base 200 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::GetFileSize(file_path, &local_file_size)); base 210 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc const base::FilePath file_in_root( base 217 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::FilePath file_path; base 218 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Closure close_callback; base 228 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::PathExists(file_path)); base 230 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::GetFileSize(file_path, &local_file_size)); base 235 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc base::Closure close_callback2; base 245 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::PathExists(file_path)); base 246 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc ASSERT_TRUE(base::GetFileSize(file_path, &local_file_size)); base 8 chrome/browser/chromeos/drive/file_system/operation_observer.h namespace base { base 33 chrome/browser/chromeos/drive/file_system/operation_observer.h const base::FilePath& directory_path) = 0; base 31 chrome/browser/chromeos/drive/file_system/operation_test_base.cc const base::FilePath& path) { base 56 chrome/browser/chromeos/drive/file_system/operation_test_base.cc scoped_refptr<base::SequencedWorkerPool> pool = base 81 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::PostTaskAndReplyWithResult( base 84 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Bind(&internal::ResourceMetadataStorage::Initialize, base 85 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Unretained(metadata_storage_.get())), base 94 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::PostTaskAndReplyWithResult( base 97 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Bind(&internal::ResourceMetadata::Initialize, base 98 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Unretained(metadata_.get())), base 109 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::PostTaskAndReplyWithResult( base 112 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Bind(&internal::FileCache::Initialize, base 113 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Unretained(cache_.get())), base 135 chrome/browser/chromeos/drive/file_system/operation_test_base.cc FileError OperationTestBase::GetLocalResourceEntry(const base::FilePath& path, base 138 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::PostTaskAndReplyWithResult( base 141 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Bind(&internal::ResourceMetadata::GetResourceEntryByPath, base 142 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Unretained(metadata()), path, entry), base 143 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Bind(google_apis::test_util::CreateCopyResultCallback(&error))); base 152 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::PostTaskAndReplyWithResult( base 155 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Bind(&internal::ResourceMetadata::GetResourceEntryById, base 156 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Unretained(metadata()), local_id, entry), base 157 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Bind(google_apis::test_util::CreateCopyResultCallback(&error))); base 162 chrome/browser/chromeos/drive/file_system/operation_test_base.cc std::string OperationTestBase::GetLocalId(const base::FilePath& path) { base 165 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::PostTaskAndReplyWithResult( base 168 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Bind(&internal::ResourceMetadata::GetIdByPath, base 169 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Unretained(metadata()), path, &local_id), base 170 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Bind(google_apis::test_util::CreateCopyResultCallback(&error))); base 20 chrome/browser/chromeos/drive/file_system/operation_test_base.h namespace base { base 55 chrome/browser/chromeos/drive/file_system/operation_test_base.h const base::FilePath& path) OVERRIDE; base 62 chrome/browser/chromeos/drive/file_system/operation_test_base.h const std::set<base::FilePath>& get_changed_paths() { base 77 chrome/browser/chromeos/drive/file_system/operation_test_base.h std::set<base::FilePath> changed_paths_; base 90 chrome/browser/chromeos/drive/file_system/operation_test_base.h base::FilePath temp_dir() const { return temp_dir_.path(); } base 94 chrome/browser/chromeos/drive/file_system/operation_test_base.h FileError GetLocalResourceEntry(const base::FilePath& path, base 103 chrome/browser/chromeos/drive/file_system/operation_test_base.h std::string GetLocalId(const base::FilePath& path); base 116 chrome/browser/chromeos/drive/file_system/operation_test_base.h base::SequencedTaskRunner* blocking_task_runner() { base 133 chrome/browser/chromeos/drive/file_system/operation_test_base.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 135 chrome/browser/chromeos/drive/file_system/operation_test_base.h base::ScopedTempDir temp_dir_; base 25 chrome/browser/chromeos/drive/file_system/remove_operation.cc const base::FilePath& path, base 28 chrome/browser/chromeos/drive/file_system/remove_operation.cc base::FilePath* changed_directory_path) { base 62 chrome/browser/chromeos/drive/file_system/remove_operation.cc base::SequencedTaskRunner* blocking_task_runner, base 78 chrome/browser/chromeos/drive/file_system/remove_operation.cc void RemoveOperation::Remove(const base::FilePath& path, base 85 chrome/browser/chromeos/drive/file_system/remove_operation.cc base::FilePath* changed_directory_path = new base::FilePath; base 86 chrome/browser/chromeos/drive/file_system/remove_operation.cc base::PostTaskAndReplyWithResult( base 89 chrome/browser/chromeos/drive/file_system/remove_operation.cc base::Bind(&UpdateLocalState, base 96 chrome/browser/chromeos/drive/file_system/remove_operation.cc base::Bind(&RemoveOperation::RemoveAfterUpdateLocalState, base 99 chrome/browser/chromeos/drive/file_system/remove_operation.cc base::Owned(local_id), base 100 chrome/browser/chromeos/drive/file_system/remove_operation.cc base::Owned(changed_directory_path))); base 106 chrome/browser/chromeos/drive/file_system/remove_operation.cc const base::FilePath* changed_directory_path, base 15 chrome/browser/chromeos/drive/file_system/remove_operation.h namespace base { base 37 chrome/browser/chromeos/drive/file_system/remove_operation.h RemoveOperation(base::SequencedTaskRunner* blocking_task_runner, base 48 chrome/browser/chromeos/drive/file_system/remove_operation.h void Remove(const base::FilePath& path, base 56 chrome/browser/chromeos/drive/file_system/remove_operation.h const base::FilePath* changed_directory_path, base 59 chrome/browser/chromeos/drive/file_system/remove_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 66 chrome/browser/chromeos/drive/file_system/remove_operation.h base::WeakPtrFactory<RemoveOperation> weak_ptr_factory_; base 21 chrome/browser/chromeos/drive/file_system/remove_operation_unittest.cc base::FilePath nonexisting_file( base 23 chrome/browser/chromeos/drive/file_system/remove_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 24 chrome/browser/chromeos/drive/file_system/remove_operation_unittest.cc base::FilePath file_in_subdir( base 84 chrome/browser/chromeos/drive/file_system/remove_operation_unittest.cc base::FilePath empty_dir(FILE_PATH_LITERAL( base 86 chrome/browser/chromeos/drive/file_system/remove_operation_unittest.cc base::FilePath non_empty_dir(FILE_PATH_LITERAL( base 88 chrome/browser/chromeos/drive/file_system/remove_operation_unittest.cc base::FilePath file_in_non_empty_dir(FILE_PATH_LITERAL( base 81 chrome/browser/chromeos/drive/file_system/search_operation.cc base::SequencedTaskRunner* blocking_task_runner, base 105 chrome/browser/chromeos/drive/file_system/search_operation.cc base::Bind(&SearchOperation::SearchAfterGetResourceList, base 111 chrome/browser/chromeos/drive/file_system/search_operation.cc base::Bind(&SearchOperation::SearchAfterGetResourceList, base 147 chrome/browser/chromeos/drive/file_system/search_operation.cc loader_controller_->ScheduleRun(base::Bind( base 148 chrome/browser/chromeos/drive/file_system/search_operation.cc base::IgnoreResult( base 149 chrome/browser/chromeos/drive/file_system/search_operation.cc &base::PostTaskAndReplyWithResult<FileError, FileError>), base 152 chrome/browser/chromeos/drive/file_system/search_operation.cc base::Bind(&ResolveSearchResultOnBlockingPool, base 154 chrome/browser/chromeos/drive/file_system/search_operation.cc base::Passed(&resource_list), base 156 chrome/browser/chromeos/drive/file_system/search_operation.cc base::Bind(&SearchOperation::SearchAfterResolveSearchResult, base 160 chrome/browser/chromeos/drive/file_system/search_operation.cc base::Passed(&result)))); base 16 chrome/browser/chromeos/drive/file_system/search_operation.h namespace base { base 40 chrome/browser/chromeos/drive/file_system/search_operation.h SearchOperation(base::SequencedTaskRunner* blocking_task_runner, base 70 chrome/browser/chromeos/drive/file_system/search_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 77 chrome/browser/chromeos/drive/file_system/search_operation.h base::WeakPtrFactory<SearchOperation> weak_ptr_factory_; base 135 chrome/browser/chromeos/drive/file_system/search_operation_unittest.cc scoped_ptr<base::ScopedClosureRunner> lock = loader_controller()->GetLock(); base 25 chrome/browser/chromeos/drive/file_system/touch_operation.cc const base::FilePath& file_path, base 26 chrome/browser/chromeos/drive/file_system/touch_operation.cc const base::Time& last_access_time, base 27 chrome/browser/chromeos/drive/file_system/touch_operation.cc const base::Time& last_modified_time, base 46 chrome/browser/chromeos/drive/file_system/touch_operation.cc TouchOperation::TouchOperation(base::SequencedTaskRunner* blocking_task_runner, base 58 chrome/browser/chromeos/drive/file_system/touch_operation.cc void TouchOperation::TouchFile(const base::FilePath& file_path, base 59 chrome/browser/chromeos/drive/file_system/touch_operation.cc const base::Time& last_access_time, base 60 chrome/browser/chromeos/drive/file_system/touch_operation.cc const base::Time& last_modified_time, base 66 chrome/browser/chromeos/drive/file_system/touch_operation.cc base::PostTaskAndReplyWithResult( base 69 chrome/browser/chromeos/drive/file_system/touch_operation.cc base::Bind(&UpdateLocalState, base 75 chrome/browser/chromeos/drive/file_system/touch_operation.cc base::Bind(&TouchOperation::TouchFileAfterUpdateLocalState, base 79 chrome/browser/chromeos/drive/file_system/touch_operation.cc base::Owned(local_id))); base 83 chrome/browser/chromeos/drive/file_system/touch_operation.cc const base::FilePath& file_path, base 15 chrome/browser/chromeos/drive/file_system/touch_operation.h namespace base { base 38 chrome/browser/chromeos/drive/file_system/touch_operation.h TouchOperation(base::SequencedTaskRunner* blocking_task_runner, base 46 chrome/browser/chromeos/drive/file_system/touch_operation.h void TouchFile(const base::FilePath& file_path, base 47 chrome/browser/chromeos/drive/file_system/touch_operation.h const base::Time& last_access_time, base 48 chrome/browser/chromeos/drive/file_system/touch_operation.h const base::Time& last_modified_time, base 53 chrome/browser/chromeos/drive/file_system/touch_operation.h void TouchFileAfterUpdateLocalState(const base::FilePath& file_path, base 58 chrome/browser/chromeos/drive/file_system/touch_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 64 chrome/browser/chromeos/drive/file_system/touch_operation.h base::WeakPtrFactory<TouchOperation> weak_ptr_factory_; base 26 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc const base::FilePath kTestPath(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 27 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc const base::Time::Exploded kLastAccessTime = { base 30 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc const base::Time::Exploded kLastModifiedTime = { base 37 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc base::Time::FromUTCExploded(kLastAccessTime), base 38 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc base::Time::FromUTCExploded(kLastModifiedTime), base 45 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc EXPECT_EQ(base::Time::FromUTCExploded(kLastAccessTime), base 46 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc base::Time::FromInternalValue(entry.file_info().last_accessed())); base 47 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc EXPECT_EQ(base::Time::FromUTCExploded(kLastModifiedTime), base 48 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc base::Time::FromInternalValue(entry.file_info().last_modified())); base 34 chrome/browser/chromeos/drive/file_system/truncate_operation.cc const base::FilePath& local_cache_path, base 39 chrome/browser/chromeos/drive/file_system/truncate_operation.cc scoped_ptr<base::ScopedClosureRunner> file_closer; base 44 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::File file(local_cache_path, base 45 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::File::FLAG_OPEN | base::File::FLAG_WRITE); base 58 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::SequencedTaskRunner* blocking_task_runner, base 63 chrome/browser/chromeos/drive/file_system/truncate_operation.cc const base::FilePath& temporary_file_directory) base 80 chrome/browser/chromeos/drive/file_system/truncate_operation.cc void TruncateOperation::Truncate(const base::FilePath& file_path, base 87 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::MessageLoopProxy::current()->PostTask( base 89 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::Bind(callback, FILE_ERROR_INVALID_OPERATION)); base 100 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::Bind(&TruncateOperation::TruncateAfterEnsureFileDownloadedByPath, base 108 chrome/browser/chromeos/drive/file_system/truncate_operation.cc const base::FilePath& local_file_path, base 125 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::PostTaskAndReplyWithResult( base 128 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::Bind(&TruncateOnBlockingPool, base 130 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::Bind( base 14 chrome/browser/chromeos/drive/file_system/truncate_operation.h namespace base { base 40 chrome/browser/chromeos/drive/file_system/truncate_operation.h TruncateOperation(base::SequencedTaskRunner* blocking_task_runner, base 45 chrome/browser/chromeos/drive/file_system/truncate_operation.h const base::FilePath& temporary_file_directory); base 51 chrome/browser/chromeos/drive/file_system/truncate_operation.h void Truncate(const base::FilePath& file_path, base 60 chrome/browser/chromeos/drive/file_system/truncate_operation.h const base::FilePath& local_file_path, base 69 chrome/browser/chromeos/drive/file_system/truncate_operation.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 78 chrome/browser/chromeos/drive/file_system/truncate_operation.h base::WeakPtrFactory<TruncateOperation> weak_ptr_factory_; base 33 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 49 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::FilePath local_path; base 51 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::PostTaskAndReplyWithResult( base 54 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::Bind(&internal::FileCache::GetFile, base 55 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::Unretained(cache()), base 63 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::GetFileSize(local_path, &local_file_size); base 68 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 86 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL( base 99 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 112 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::FilePath local_path; base 114 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::PostTaskAndReplyWithResult( base 117 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::Bind(&internal::FileCache::GetFile, base 118 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc base::Unretained(cache()), base 126 chrome/browser/chromeos/drive/file_system/truncate_operation_unittest.cc ASSERT_TRUE(base::ReadFileToString(local_path, &content)); base 25 chrome/browser/chromeos/drive/file_system_interface.h SearchResultInfo(const base::FilePath& path, bool is_directory) base 30 chrome/browser/chromeos/drive/file_system_interface.h base::FilePath path; base 36 chrome/browser/chromeos/drive/file_system_interface.h MetadataSearchResult(const base::FilePath& in_path, base 44 chrome/browser/chromeos/drive/file_system_interface.h base::FilePath path; base 63 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(FileError error, base 68 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(FileError error, base 69 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& file_path, base 76 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(FileError error, base 77 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& local_file, base 83 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(FileError error, base 90 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void( base 97 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void( base 107 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(FileError error, base 108 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& file_path, base 109 chrome/browser/chromeos/drive/file_system_interface.h const base::Closure& close_callback)> base 113 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(FileError error, base 118 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(FileError error, base 122 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(const FileSystemMetadata&)> base 126 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(FileError error, base 127 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& file_path)> base 133 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(bool success, const FileCacheEntry& cache_entry)> base 137 chrome/browser/chromeos/drive/file_system_interface.h typedef base::Callback<void(FileError error, const base::FilePath& file_path)> base 187 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& local_src_file_path, base 188 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& remote_dest_file_path, base 200 chrome/browser/chromeos/drive/file_system_interface.h virtual void OpenFile(const base::FilePath& file_path, base 226 chrome/browser/chromeos/drive/file_system_interface.h virtual void Copy(const base::FilePath& src_file_path, base 227 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& dest_file_path, base 247 chrome/browser/chromeos/drive/file_system_interface.h virtual void Move(const base::FilePath& src_file_path, base 248 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& dest_file_path, base 258 chrome/browser/chromeos/drive/file_system_interface.h virtual void Remove(const base::FilePath& file_path, base 268 chrome/browser/chromeos/drive/file_system_interface.h virtual void CreateDirectory(const base::FilePath& directory_path, base 282 chrome/browser/chromeos/drive/file_system_interface.h virtual void CreateFile(const base::FilePath& file_path, base 294 chrome/browser/chromeos/drive/file_system_interface.h virtual void TouchFile(const base::FilePath& file_path, base 295 chrome/browser/chromeos/drive/file_system_interface.h const base::Time& last_access_time, base 296 chrome/browser/chromeos/drive/file_system_interface.h const base::Time& last_modified_time, base 302 chrome/browser/chromeos/drive/file_system_interface.h virtual void TruncateFile(const base::FilePath& file_path, base 309 chrome/browser/chromeos/drive/file_system_interface.h virtual void Pin(const base::FilePath& file_path, base 315 chrome/browser/chromeos/drive/file_system_interface.h virtual void Unpin(const base::FilePath& file_path, base 323 chrome/browser/chromeos/drive/file_system_interface.h virtual void GetFile(const base::FilePath& file_path, base 332 chrome/browser/chromeos/drive/file_system_interface.h virtual void GetFileForSaving(const base::FilePath& file_path, base 347 chrome/browser/chromeos/drive/file_system_interface.h virtual base::Closure GetFileContent( base 348 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& file_path, base 357 chrome/browser/chromeos/drive/file_system_interface.h virtual void GetResourceEntry(const base::FilePath& file_path, base 364 chrome/browser/chromeos/drive/file_system_interface.h virtual void ReadDirectory(const base::FilePath& file_path, base 397 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& file_path, base 409 chrome/browser/chromeos/drive/file_system_interface.h virtual void MarkCacheFileAsMounted(const base::FilePath& drive_file_path, base 417 chrome/browser/chromeos/drive/file_system_interface.h const base::FilePath& cache_file_path, base 424 chrome/browser/chromeos/drive/file_system_interface.h virtual void GetCacheEntry(const base::FilePath& drive_file_path, base 429 chrome/browser/chromeos/drive/file_system_interface.h virtual void AddPermission(const base::FilePath& drive_file_path, base 27 chrome/browser/chromeos/drive/file_system_metadata.h base::Time last_update_check_time; base 11 chrome/browser/chromeos/drive/file_system_observer.h namespace base { base 25 chrome/browser/chromeos/drive/file_system_observer.h virtual void OnDirectoryChanged(const base::FilePath& directory_path) {} base 30 chrome/browser/chromeos/drive/file_system_observer.h const base::FilePath& file_path) {} base 40 chrome/browser/chromeos/drive/file_system_unittest.cc int* counter, int expected_counter, const base::Closure& quit, base 63 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath& directory_path) OVERRIDE { base 67 chrome/browser/chromeos/drive/file_system_unittest.cc const std::vector<base::FilePath>& changed_directories() const { base 72 chrome/browser/chromeos/drive/file_system_unittest.cc std::vector<base::FilePath> changed_directories_; base 95 chrome/browser/chromeos/drive/file_system_unittest.cc base::MessageLoopProxy::current().get())); base 103 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath metadata_dir = temp_dir_.path().AppendASCII("meta"); base 104 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_TRUE(base::CreateDirectory(metadata_dir)); base 106 chrome/browser/chromeos/drive/file_system_unittest.cc metadata_dir, base::MessageLoopProxy::current().get())); base 109 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath cache_dir = temp_dir_.path().AppendASCII("files"); base 110 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_dir)); base 114 chrome/browser/chromeos/drive/file_system_unittest.cc base::MessageLoopProxy::current().get(), base 119 chrome/browser/chromeos/drive/file_system_unittest.cc metadata_storage_.get(), base::MessageLoopProxy::current())); base 122 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath temp_file_dir = temp_dir_.path().AppendASCII("tmp"); base 123 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_TRUE(base::CreateDirectory(temp_file_dir)); base 131 chrome/browser/chromeos/drive/file_system_unittest.cc base::MessageLoopProxy::current().get(), base 137 chrome/browser/chromeos/drive/file_system_unittest.cc base::TimeDelta::FromSeconds(0)); base 151 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath& file_path) { base 164 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath& file_path) { base 170 chrome/browser/chromeos/drive/file_system_unittest.cc base::Bind(&AccumulateReadDirectoryResult, base 198 chrome/browser/chromeos/drive/file_system_unittest.cc bool EntryExists(const base::FilePath& file_path) { base 217 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath metadata_dir = temp_dir_.path().AppendASCII("meta"); base 218 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_TRUE(base::CreateDirectory(metadata_dir)); base 222 chrome/browser/chromeos/drive/file_system_unittest.cc metadata_dir, base::MessageLoopProxy::current().get())); base 226 chrome/browser/chromeos/drive/file_system_unittest.cc metadata_storage_.get(), base::MessageLoopProxy::current())); base 297 chrome/browser/chromeos/drive/file_system_unittest.cc base::ScopedTempDir temp_dir_; base 317 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath src_file_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 318 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath dest_file_path(FILE_PATH_LITERAL("drive/root/Copied.txt")); base 348 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath src_file_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 349 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath dest_file_path( base 387 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath file_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 413 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath directory_path(FILE_PATH_LITERAL("drive/root/New Directory")); base 443 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath file_path(FILE_PATH_LITERAL("drive/root/New File.txt")); base 473 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath file_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 477 chrome/browser/chromeos/drive/file_system_unittest.cc base::Time last_accessed = base 478 chrome/browser/chromeos/drive/file_system_unittest.cc base::Time::FromInternalValue(entry->file_info().last_accessed()) + base 479 chrome/browser/chromeos/drive/file_system_unittest.cc base::TimeDelta::FromSeconds(1); base 480 chrome/browser/chromeos/drive/file_system_unittest.cc base::Time last_modified = base 481 chrome/browser/chromeos/drive/file_system_unittest.cc base::Time::FromInternalValue(entry->file_info().last_modified()) + base 482 chrome/browser/chromeos/drive/file_system_unittest.cc base::TimeDelta::FromSeconds(1); base 508 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath file_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 536 chrome/browser/chromeos/drive/file_system_unittest.cc base::RunLoop loop; base 539 chrome/browser/chromeos/drive/file_system_unittest.cc const GetResourceEntryCallback& callback = base::Bind( base 543 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath(FILE_PATH_LITERAL("drive/root")), callback); base 545 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath(FILE_PATH_LITERAL("drive/root")), callback); base 553 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFilePath(FILE_PATH_LITERAL("drive")); base 560 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFilePath(FILE_PATH_LITERAL("drive/other")); base 567 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFilePath(FILE_PATH_LITERAL("drive/root")); base 581 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFilePath( base 593 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFilePath( base 601 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFilePath( base 608 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFilePath( base 620 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFilePath( base 630 chrome/browser/chromeos/drive/file_system_unittest.cc ReadDirectorySync(base::FilePath::FromUTF8Unsafe("drive"))); base 637 chrome/browser/chromeos/drive/file_system_unittest.cc std::set<base::FilePath> found; base 639 chrome/browser/chromeos/drive/file_system_unittest.cc found.insert(base::FilePath::FromUTF8Unsafe((*entries)[i].title())); base 641 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(1U, found.count(base::FilePath(util::kDriveMyDriveRootDirName))); base 642 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(1U, found.count(base::FilePath(util::kDriveOtherDirName))); base 643 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(1U, found.count(base::FilePath(util::kDriveTrashDirName))); base 650 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/Directory 1"))); base 698 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(EntryExists(base::FilePath( base 700 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(EntryExists(base::FilePath( base 702 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(EntryExists(base::FilePath( base 704 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(EntryExists(base::FilePath( base 706 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(EntryExists(base::FilePath( base 729 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(ReadDirectorySync(base::FilePath( base 741 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_FALSE(GetResourceEntrySync(base::FilePath( base 752 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath existing_directory( base 770 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath new_directory( base 790 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath file_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 820 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(base::FilePath(FILE_PATH_LITERAL("drive/root")), base 827 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath file_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 868 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 881 chrome/browser/chromeos/drive/file_system_unittest.cc base::FilePath file_path; base 906 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFileInRoot(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 926 chrome/browser/chromeos/drive/file_system_unittest.cc const base::FilePath kFileInRoot( base 51 chrome/browser/chromeos/drive/file_system_util.cc const base::FilePath::CharType kSpecialMountPointRoot[] = base 56 chrome/browser/chromeos/drive/file_system_util.cc const base::FilePath::CharType kDriveMyDriveRootPath[] = base 59 chrome/browser/chromeos/drive/file_system_util.cc const base::FilePath::CharType kFileCacheVersionDir[] = base 66 chrome/browser/chromeos/drive/file_system_util.cc std::string ReadStringFromGDocFile(const base::FilePath& file_path, base 70 chrome/browser/chromeos/drive/file_system_util.cc if (!base::GetFileSize(file_path, &file_size) || base 78 chrome/browser/chromeos/drive/file_system_util.cc scoped_ptr<base::Value> root_value(reader.Deserialize(NULL, &error_message)); base 85 chrome/browser/chromeos/drive/file_system_util.cc base::DictionaryValue* dictionary_value = NULL; base 118 chrome/browser/chromeos/drive/file_system_util.cc const base::FilePath& GetDriveGrandRootPath() { base 119 chrome/browser/chromeos/drive/file_system_util.cc CR_DEFINE_STATIC_LOCAL(base::FilePath, grand_root_path, base 124 chrome/browser/chromeos/drive/file_system_util.cc const base::FilePath& GetDriveMyDriveRootPath() { base 125 chrome/browser/chromeos/drive/file_system_util.cc CR_DEFINE_STATIC_LOCAL(base::FilePath, drive_root_path, base 130 chrome/browser/chromeos/drive/file_system_util.cc base::FilePath GetDriveMountPointPathForUserIdHash( base 132 chrome/browser/chromeos/drive/file_system_util.cc return base::FilePath(kSpecialMountPointRoot).AppendASCII( base 137 chrome/browser/chromeos/drive/file_system_util.cc base::FilePath GetDriveMountPointPath(Profile* profile) { base 191 chrome/browser/chromeos/drive/file_system_util.cc GURL FilePathToDriveURL(const base::FilePath& path) { base 192 chrome/browser/chromeos/drive/file_system_util.cc std::string url(base::StringPrintf("%s:%s", base 198 chrome/browser/chromeos/drive/file_system_util.cc base::FilePath DriveURLToFilePath(const GURL& url) { base 200 chrome/browser/chromeos/drive/file_system_util.cc return base::FilePath(); base 203 chrome/browser/chromeos/drive/file_system_util.cc return base::FilePath::FromUTF8Unsafe(path_string); base 206 chrome/browser/chromeos/drive/file_system_util.cc void MaybeSetDriveURL(Profile* profile, const base::FilePath& path, GURL* url) { base 219 chrome/browser/chromeos/drive/file_system_util.cc bool IsUnderDriveMountPoint(const base::FilePath& path) { base 223 chrome/browser/chromeos/drive/file_system_util.cc base::FilePath ExtractDrivePath(const base::FilePath& path) { base 224 chrome/browser/chromeos/drive/file_system_util.cc std::vector<base::FilePath::StringType> components; base 227 chrome/browser/chromeos/drive/file_system_util.cc return base::FilePath(); base 229 chrome/browser/chromeos/drive/file_system_util.cc return base::FilePath(); base 231 chrome/browser/chromeos/drive/file_system_util.cc return base::FilePath(); base 233 chrome/browser/chromeos/drive/file_system_util.cc return base::FilePath(); base 235 chrome/browser/chromeos/drive/file_system_util.cc base::FilePath drive_path = GetDriveGrandRootPath(); base 241 chrome/browser/chromeos/drive/file_system_util.cc Profile* ExtractProfileFromPath(const base::FilePath& path) { base 250 chrome/browser/chromeos/drive/file_system_util.cc const base::FilePath base = GetDriveMountPointPath(original_profile); base 251 chrome/browser/chromeos/drive/file_system_util.cc if (base == path || base.IsParent(path)) base 258 chrome/browser/chromeos/drive/file_system_util.cc base::FilePath ExtractDrivePathFromFileSystemUrl( base 261 chrome/browser/chromeos/drive/file_system_util.cc return base::FilePath(); base 265 chrome/browser/chromeos/drive/file_system_util.cc base::FilePath GetCacheRootPath(Profile* profile) { base 266 chrome/browser/chromeos/drive/file_system_util.cc base::FilePath cache_base_path; base 268 chrome/browser/chromeos/drive/file_system_util.cc base::FilePath cache_root_path = base 279 chrome/browser/chromeos/drive/file_system_util.cc base::StringAppendF(&escaped, "%%%02X", c); base 305 chrome/browser/chromeos/drive/file_system_util.cc if (!base::ConvertToUtf8AndNormalize(input, base::kCodepageUTF8, &output)) base 307 chrome/browser/chromeos/drive/file_system_util.cc base::ReplaceChars(output, kSlash, std::string(kEscapedChars), &output); base 314 chrome/browser/chromeos/drive/file_system_util.cc const base::FilePath& path, base 322 chrome/browser/chromeos/drive/file_system_util.cc FROM_HERE, base::Bind(callback, FILE_ERROR_FAILED, base::FilePath())); base 333 chrome/browser/chromeos/drive/file_system_util.cc const base::FilePath& directory, base 346 chrome/browser/chromeos/drive/file_system_util.cc base::MessageLoopProxy::current()->PostTask( base 347 chrome/browser/chromeos/drive/file_system_util.cc FROM_HERE, base::Bind(callback, FILE_ERROR_OK)); base 352 chrome/browser/chromeos/drive/file_system_util.cc const base::FilePath& directory, base 362 chrome/browser/chromeos/drive/file_system_util.cc base::Bind(&CheckDirectoryExistsAfterGetResourceEntry, callback)); base 368 chrome/browser/chromeos/drive/file_system_util.cc bool CreateGDocFile(const base::FilePath& file_path, base 371 chrome/browser/chromeos/drive/file_system_util.cc std::string content = base::StringPrintf( base 374 chrome/browser/chromeos/drive/file_system_util.cc return base::WriteFile(file_path, content.data(), content.size()) == base 378 chrome/browser/chromeos/drive/file_system_util.cc bool HasGDocFileExtension(const base::FilePath& file_path) { base 384 chrome/browser/chromeos/drive/file_system_util.cc GURL ReadUrlFromGDocFile(const base::FilePath& file_path) { base 388 chrome/browser/chromeos/drive/file_system_util.cc std::string ReadResourceIdFromGDocFile(const base::FilePath& file_path) { base 41 chrome/browser/chromeos/drive/file_system_util.h const base::FilePath::CharType kDriveGrandRootDirName[] = base 44 chrome/browser/chromeos/drive/file_system_util.h const base::FilePath::CharType kDriveMyDriveRootDirName[] = base 47 chrome/browser/chromeos/drive/file_system_util.h const base::FilePath::CharType kDriveOtherDirName[] = base 50 chrome/browser/chromeos/drive/file_system_util.h const base::FilePath::CharType kDriveTrashDirName[] = base 54 chrome/browser/chromeos/drive/file_system_util.h const base::FilePath& GetDriveGrandRootPath(); base 57 chrome/browser/chromeos/drive/file_system_util.h const base::FilePath& GetDriveMyDriveRootPath(); base 60 chrome/browser/chromeos/drive/file_system_util.h base::FilePath GetDriveMountPointPath(Profile* profile); base 64 chrome/browser/chromeos/drive/file_system_util.h base::FilePath GetDriveMountPointPathForUserIdHash(std::string user_id_hash); base 89 chrome/browser/chromeos/drive/file_system_util.h GURL FilePathToDriveURL(const base::FilePath& path); base 92 chrome/browser/chromeos/drive/file_system_util.h base::FilePath DriveURLToFilePath(const GURL& url); base 95 chrome/browser/chromeos/drive/file_system_util.h void MaybeSetDriveURL(Profile* profile, const base::FilePath& path, GURL* url); base 98 chrome/browser/chromeos/drive/file_system_util.h bool IsUnderDriveMountPoint(const base::FilePath& path); base 103 chrome/browser/chromeos/drive/file_system_util.h base::FilePath ExtractDrivePath(const base::FilePath& path); base 108 chrome/browser/chromeos/drive/file_system_util.h Profile* ExtractProfileFromPath(const base::FilePath& path); base 112 chrome/browser/chromeos/drive/file_system_util.h base::FilePath ExtractDrivePathFromFileSystemUrl( base 132 chrome/browser/chromeos/drive/file_system_util.h base::FilePath GetCacheRootPath(Profile* profile); base 135 chrome/browser/chromeos/drive/file_system_util.h typedef base::Callback<void (FileError, const base::FilePath& path)> base 144 chrome/browser/chromeos/drive/file_system_util.h const base::FilePath& path, base 150 chrome/browser/chromeos/drive/file_system_util.h const base::FilePath& directory, base 164 chrome/browser/chromeos/drive/file_system_util.h const base::FilePath& directory, base 184 chrome/browser/chromeos/drive/file_system_util.h bool CreateGDocFile(const base::FilePath& file_path, base 189 chrome/browser/chromeos/drive/file_system_util.h bool HasGDocFileExtension(const base::FilePath& file_path); base 192 chrome/browser/chromeos/drive/file_system_util.h GURL ReadUrlFromGDocFile(const base::FilePath& file_path); base 195 chrome/browser/chromeos/drive/file_system_util.h std::string ReadResourceIdFromGDocFile(const base::FilePath& file_path); base 57 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath path; base 73 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::string16 utf16_string; base 77 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe(base::UTF16ToUTF8(utf16_string) + ".txt")); base 83 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe("/special/drive-hash1"), base 91 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive-hash1"))); base 93 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive-hash2/root/xxx"))); base 95 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/non-drive-path"))); base 100 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/wherever/foo.txt"))); base 102 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/foo.txt"))); base 104 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("special/drive/foo.txt"))); base 107 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive"))); base 109 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive/foo.txt"))); base 111 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive/subdir/foo.txt"))); base 113 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive-xxx/foo.txt"))); base 117 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(base::FilePath(), base 119 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/wherever/foo.txt"))); base 120 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(base::FilePath(), base 122 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/foo.txt"))); base 124 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe("drive"), base 126 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive"))); base 127 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe("drive/foo.txt"), base 129 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive/foo.txt"))); base 130 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe("drive/subdir/foo.txt"), base 131 chrome/browser/chromeos/drive/file_system_util_unittest.cc ExtractDrivePath(base::FilePath::FromUTF8Unsafe( base 133 chrome/browser/chromeos/drive/file_system_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe("drive/foo.txt"), base 135 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive-xxx/foo.txt"))); base 142 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::ScopedTempDir temp_dir_; base 145 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::MessageLoop message_loop; base 150 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::MessageLoopProxy::current().get(), base 151 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::MessageLoopProxy::current().get(), base 169 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("drive/foo/bar"), base 182 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("drive/foo/bar"), base 193 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath(), base 205 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath::FromUTF8Unsafe("drive/bar/buz"), base 238 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath profile_path = profile.GetPath(); base 244 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::ScopedTempDir temp_dir; base 252 chrome/browser/chromeos/drive/file_system_util_unittest.cc base::FilePath file = temp_dir.path().AppendASCII("test.gdoc"); base 44 chrome/browser/chromeos/drive/file_task_executor.cc std::vector<base::FilePath> paths; base 46 chrome/browser/chromeos/drive/file_task_executor.cc base::FilePath path = util::ExtractDrivePathFromFileSystemUrl(file_urls[i]); base 67 chrome/browser/chromeos/drive/file_task_executor.cc base::Bind(&FileTaskExecutor::OnFileEntryFetched, base 91 chrome/browser/chromeos/drive/file_task_executor.cc base::Bind(&FileTaskExecutor::OnAppAuthorized, base 51 chrome/browser/chromeos/drive/file_task_executor.h base::WeakPtrFactory<FileTaskExecutor> weak_ptr_factory_; base 41 chrome/browser/chromeos/drive/file_write_watcher.cc void StartWatch(const base::FilePath& path, base 43 chrome/browser/chromeos/drive/file_write_watcher.cc const base::Closure& on_write_callback); base 45 chrome/browser/chromeos/drive/file_write_watcher.cc void set_delay(base::TimeDelta delay) { delay_ = delay; } base 52 chrome/browser/chromeos/drive/file_write_watcher.cc void StartWatchOnFileThread(const base::FilePath& path, base 54 chrome/browser/chromeos/drive/file_write_watcher.cc const base::Closure& on_write_callback); base 56 chrome/browser/chromeos/drive/file_write_watcher.cc void OnWriteEvent(const base::FilePath& path, bool error); base 58 chrome/browser/chromeos/drive/file_write_watcher.cc void InvokeCallback(const base::FilePath& path); base 61 chrome/browser/chromeos/drive/file_write_watcher.cc std::vector<base::Closure> on_write_callbacks; base 62 chrome/browser/chromeos/drive/file_write_watcher.cc base::FilePathWatcher watcher; base 63 chrome/browser/chromeos/drive/file_write_watcher.cc base::Timer timer; base 65 chrome/browser/chromeos/drive/file_write_watcher.cc explicit PathWatchInfo(const base::Closure& on_write_callback) base 71 chrome/browser/chromeos/drive/file_write_watcher.cc base::TimeDelta delay_; base 72 chrome/browser/chromeos/drive/file_write_watcher.cc std::map<base::FilePath, PathWatchInfo*> watchers_; base 76 chrome/browser/chromeos/drive/file_write_watcher.cc base::WeakPtrFactory<FileWriteWatcherImpl> weak_ptr_factory_; base 81 chrome/browser/chromeos/drive/file_write_watcher.cc : delay_(base::TimeDelta::FromSeconds(kWriteEventDelayInSeconds)), base 92 chrome/browser/chromeos/drive/file_write_watcher.cc base::Bind(&FileWriteWatcherImpl::DestroyOnFileThread, base 93 chrome/browser/chromeos/drive/file_write_watcher.cc base::Unretained(this))); base 97 chrome/browser/chromeos/drive/file_write_watcher.cc const base::FilePath& path, base 99 chrome/browser/chromeos/drive/file_write_watcher.cc const base::Closure& on_write_callback) { base 105 chrome/browser/chromeos/drive/file_write_watcher.cc base::Bind(&FileWriteWatcherImpl::StartWatchOnFileThread, base 106 chrome/browser/chromeos/drive/file_write_watcher.cc base::Unretained(this), base 125 chrome/browser/chromeos/drive/file_write_watcher.cc const base::FilePath& path, base 127 chrome/browser/chromeos/drive/file_write_watcher.cc const base::Closure& on_write_callback) { base 130 chrome/browser/chromeos/drive/file_write_watcher.cc std::map<base::FilePath, PathWatchInfo*>::iterator it = watchers_.find(path); base 143 chrome/browser/chromeos/drive/file_write_watcher.cc base::Bind(&FileWriteWatcherImpl::OnWriteEvent, base 150 chrome/browser/chromeos/drive/file_write_watcher.cc const base::FilePath& path, base 157 chrome/browser/chromeos/drive/file_write_watcher.cc std::map<base::FilePath, PathWatchInfo*>::iterator it = watchers_.find(path); base 166 chrome/browser/chromeos/drive/file_write_watcher.cc base::Bind(&FileWriteWatcherImpl::InvokeCallback, base 172 chrome/browser/chromeos/drive/file_write_watcher.cc const base::FilePath& path) { base 175 chrome/browser/chromeos/drive/file_write_watcher.cc std::map<base::FilePath, PathWatchInfo*>::iterator it = watchers_.find(path); base 178 chrome/browser/chromeos/drive/file_write_watcher.cc std::vector<base::Closure> callbacks; base 196 chrome/browser/chromeos/drive/file_write_watcher.cc void FileWriteWatcher::StartWatch(const base::FilePath& file_path, base 198 chrome/browser/chromeos/drive/file_write_watcher.cc const base::Closure& on_write_callback) { base 204 chrome/browser/chromeos/drive/file_write_watcher.cc watcher_impl_->set_delay(base::TimeDelta()); base 12 chrome/browser/chromeos/drive/file_write_watcher.h namespace base { base 20 chrome/browser/chromeos/drive/file_write_watcher.h typedef base::Callback<void(bool)> StartWatchCallback; base 44 chrome/browser/chromeos/drive/file_write_watcher.h void StartWatch(const base::FilePath& path, base 46 chrome/browser/chromeos/drive/file_write_watcher.h const base::Closure& on_write_callback); base 27 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc const base::Closure& quit_closure) base 41 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::Closure quit_closure_; base 45 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc void WriteSomethingAfterStartWatch(const base::FilePath& path, base 50 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc ASSERT_TRUE(base::WriteFile(path, kDummy, arraysize(kDummy))); base 70 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::FilePath GetTempPath(const std::string& name) { base 76 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::ScopedTempDir temp_dir_; base 87 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::RunLoop loop; base 95 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::FilePath path1 = GetTempPath("foo.txt"); base 96 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::FilePath path2 = GetTempPath("bar.png"); base 97 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::FilePath path3 = GetTempPath("buz.doc"); base 98 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::FilePath path4 = GetTempPath("mya.mp3"); base 101 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::Bind(&WriteSomethingAfterStartWatch, path1), base 102 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::Bind(&TestObserver::OnWrite, base::Unretained(&observer), "1")); base 105 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::Bind(&WriteSomethingAfterStartWatch, path2), base 106 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::Bind(&TestObserver::OnWrite, base::Unretained(&observer), "2")); base 109 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::Bind(&WriteSomethingAfterStartWatch, path3), base 110 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc base::Bind(&TestObserver::OnWrite, base::Unretained(&observer), "3")); base 32 chrome/browser/chromeos/drive/fileapi/async_file_util.cc const base::Callback<void(FileSystemInterface*)>& function, base 33 chrome/browser/chromeos/drive/fileapi/async_file_util.cc const base::Closure& on_error_callback) { base 39 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::RunFileSystemCallback, base 42 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Closure() : base 43 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&google_apis::RunTaskOnThread, base 44 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::MessageLoopProxy::current(), base 51 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Error error, base 52 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::PlatformFile file, base 53 chrome/browser/chromeos/drive/fileapi/async_file_util.cc const base::Closure& close_callback_on_ui_thread) { base 60 chrome/browser/chromeos/drive/fileapi/async_file_util.cc error, base::PassPlatformFile(&file), base 61 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&google_apis::RunTaskOnThread, base 69 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Error error) { base 74 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::PlatformFile file = base::kInvalidPlatformFileValue; base 75 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(error, base::PassPlatformFile(&file), base::Closure()); base 81 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Error error) { base 85 chrome/browser/chromeos/drive/fileapi/async_file_util.cc bool created = (error == base::File::FILE_OK); base 88 chrome/browser/chromeos/drive/fileapi/async_file_util.cc if (error == base::File::FILE_ERROR_EXISTS) base 89 chrome/browser/chromeos/drive/fileapi/async_file_util.cc error = base::File::FILE_OK; base 97 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Error error, base 98 chrome/browser/chromeos/drive/fileapi/async_file_util.cc const base::File::Info& file_info, base 99 chrome/browser/chromeos/drive/fileapi/async_file_util.cc const base::FilePath& local_path, base 129 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 131 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::PlatformFile platform_file = base::kInvalidPlatformFileValue; base 132 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, base 133 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::PassPlatformFile(&platform_file), base 134 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Closure()); base 139 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url); base 142 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::OpenFile, base 145 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&RunCreateOrOpenFileCallback, callback))), base 146 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&RunCreateOrOpenFileCallbackOnError, base 147 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback, base::File::FILE_ERROR_FAILED)); base 156 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 158 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, false); base 163 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 164 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::CreateFile, base 167 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&RunEnsureFileExistsCallback, callback))), base 168 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED, false)); base 179 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 181 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 186 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 187 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::CreateDirectory, base 190 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 199 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 201 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, base::File::Info()); base 206 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 207 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileInfo, base 209 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED, base 210 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Info())); base 219 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 221 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, EntryList(), false); base 226 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 227 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::ReadDirectory, base 229 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED, base 236 chrome/browser/chromeos/drive/fileapi/async_file_util.cc const base::Time& last_access_time, base 237 chrome/browser/chromeos/drive/fileapi/async_file_util.cc const base::Time& last_modified_time, base 241 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 243 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 248 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 249 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::TouchFile, base 252 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 262 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 264 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 269 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 270 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::Truncate, base 272 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 284 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); base 285 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath dest_path = util::ExtractDrivePathFromFileSystemUrl(dest_url); base 287 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 298 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, dest_url), base 299 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind( base 304 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 315 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); base 316 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath dest_path = util::ExtractDrivePathFromFileSystemUrl(dest_url); base 318 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 326 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, dest_url), base 327 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::Move, base 330 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 335 chrome/browser/chromeos/drive/fileapi/async_file_util.cc const base::FilePath& src_file_path, base 340 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath dest_path = util::ExtractDrivePathFromFileSystemUrl(dest_url); base 342 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 347 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, dest_url), base 348 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::CopyInForeignFile, base 351 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 360 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 362 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 367 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 368 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::Remove, base 371 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 380 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 382 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 387 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 388 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::Remove, base 391 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 400 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 402 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 407 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 408 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::Remove, base 411 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 420 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 422 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, base 423 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Info(), base 424 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath(), base 430 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 431 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&fileapi_internal::CreateSnapshotFile, base 434 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(&RunCreateSnapshotFileCallback, callback))), base 435 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base 436 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::FILE_ERROR_FAILED, base 437 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Info(), base 438 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::FilePath(), base 51 chrome/browser/chromeos/drive/fileapi/async_file_util.h const base::Time& last_access_time, base 52 chrome/browser/chromeos/drive/fileapi/async_file_util.h const base::Time& last_modified_time, base 74 chrome/browser/chromeos/drive/fileapi/async_file_util.h const base::FilePath& src_file_path, base 43 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc const base::Time& expected_modification_time, base 48 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 54 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 67 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); base 74 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc base::Bind(&fileapi_internal::GetFileSystemFromUrl, url), base 31 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.h const base::Time& expected_modification_time, base 36 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc if (file_flag & (base::PLATFORM_FILE_OPEN | base 37 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_OPEN_TRUNCATED)) base 40 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc if (file_flag & base::PLATFORM_FILE_CREATE) base 43 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc DCHECK(file_flag & (base::PLATFORM_FILE_OPEN_ALWAYS | base 44 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_CREATE_ALWAYS)); base 59 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc callback.Run(FileErrorToBaseFileError(error), base::File::Info()); base 64 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Info file_info; base 66 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc callback.Run(base::File::FILE_OK, file_info); base 96 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Time::FromInternalValue(file_info.last_modified()); base 100 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc callback.Run(base::File::FILE_OK, entries, has_more); base 106 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::FilePath& local_path, base 111 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Info(), base::FilePath(), base 124 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Info file_info; base 126 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc file_info.last_modified = base::Time(); base 136 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc callback.Run(base::File::FILE_OK, file_info, local_path, scope_out_policy); base 143 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::FilePath& local_path, base 144 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::Closure& close_callback) { base 151 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::Closure& close_callback, base 152 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Error* error, base 153 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PlatformFile platform_file) { base 161 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::FilePath& local_path, base 162 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::Closure& close_callback) { base 167 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::kInvalidPlatformFileValue, base 168 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Closure()); base 177 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc if (file_flags & (base::PLATFORM_FILE_CREATE | base 178 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_OPEN_ALWAYS)) { base 179 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc file_flags &= ~(base::PLATFORM_FILE_CREATE | base 180 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_OPEN_ALWAYS); base 181 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc file_flags |= base::PLATFORM_FILE_OPEN; base 182 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc } else if (file_flags & base::PLATFORM_FILE_CREATE_ALWAYS) { base 183 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc file_flags &= ~base::PLATFORM_FILE_CREATE_ALWAYS; base 184 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc file_flags |= base::PLATFORM_FILE_OPEN_TRUNCATED; base 189 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Error* result = base 190 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc new base::File::Error(base::File::FILE_ERROR_FAILED); base 191 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc bool posted = base::PostTaskAndReplyWithResult( base 193 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&base::CreatePlatformFile, base 195 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc reinterpret_cast<base::PlatformFileError*>(result)), base 196 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunOpenFileCallback, base 197 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc callback, close_callback, base::Owned(result))); base 212 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::Callback<void(FileSystemInterface*)>& callback, base 213 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::Closure& on_error_callback) { base 226 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void GetFileInfo(const base::FilePath& file_path, base 232 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunGetFileInfoCallback, callback)); base 235 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void Copy(const base::FilePath& src_file_path, base 236 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::FilePath& dest_file_path, base 242 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunStatusCallbackByFileError, callback)); base 245 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void Move(const base::FilePath& src_file_path, base 246 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::FilePath& dest_file_path, base 251 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunStatusCallbackByFileError, callback)); base 254 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void CopyInForeignFile(const base::FilePath& src_foreign_file_path, base 255 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::FilePath& dest_file_path, base 261 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunStatusCallbackByFileError, callback)); base 264 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void ReadDirectory(const base::FilePath& file_path, base 269 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunReadDirectoryCallback, callback)); base 272 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void Remove(const base::FilePath& file_path, base 278 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunStatusCallbackByFileError, callback)); base 281 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void CreateDirectory(const base::FilePath& file_path, base 289 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunStatusCallbackByFileError, callback)); base 292 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void CreateFile(const base::FilePath& file_path, base 299 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunStatusCallbackByFileError, callback)); base 302 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void Truncate(const base::FilePath& file_path, base 309 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunStatusCallbackByFileError, callback)); base 312 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void CreateSnapshotFile(const base::FilePath& file_path, base 317 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunCreateSnapshotFileCallback, callback)); base 321 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::FilePath& file_path, base 329 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunCreateWritableSnapshotFileCallback, callback)); base 332 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void OpenFile(const base::FilePath& file_path, base 339 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc if (file_flags & ~(base::PLATFORM_FILE_OPEN | base 340 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_CREATE | base 341 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_OPEN_ALWAYS | base 342 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_CREATE_ALWAYS | base 343 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_OPEN_TRUNCATED | base 344 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_READ | base 345 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_WRITE | base 346 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_WRITE_ATTRIBUTES | base 347 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::PLATFORM_FILE_APPEND)) { base 348 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::MessageLoopProxy::current()->PostTask( base 350 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(callback, base 351 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::FILE_ERROR_FAILED, base 352 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::kInvalidPlatformFileValue, base 353 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Closure())); base 360 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&OpenFileAfterFileSystemOpenFile, file_flags, callback)); base 363 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc void TouchFile(const base::FilePath& file_path, base 364 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::Time& last_access_time, base 365 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc const base::Time& last_modified_time, base 370 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::Bind(&RunStatusCallbackByFileError, callback)); base 31 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h namespace base { base 46 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h typedef base::Callback<FileSystemInterface*()> FileSystemGetter; base 48 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h typedef base::Callback< base 49 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result)> StatusCallback; base 50 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h typedef base::Callback< base 51 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, base 52 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::File::Info& file_info)> GetFileInfoCallback; base 53 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h typedef base::Callback< base 54 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, base 57 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h typedef base::Callback< base 58 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, base 59 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::File::Info& file_info, base 60 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::FilePath& snapshot_file_path, base 63 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h typedef base::Callback< base 64 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, base 65 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::FilePath& snapshot_file_path, base 66 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::Closure& close_callback)> base 68 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h typedef base::Callback< base 69 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, base 70 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h base::PlatformFile platform_file, base 71 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::Closure& close_callback)> OpenFileCallback; base 87 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::Callback<void(FileSystemInterface*)>& callback, base 88 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::Closure& error_callback); base 92 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void GetFileInfo(const base::FilePath& file_path, base 98 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void Copy(const base::FilePath& src_file_path, base 99 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::FilePath& dest_file_path, base 106 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void Move(const base::FilePath& src_file_path, base 107 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::FilePath& dest_file_path, base 114 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void CopyInForeignFile(const base::FilePath& src_foreign_file_path, base 115 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::FilePath& dest_file_path, base 121 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void ReadDirectory(const base::FilePath& file_path, base 126 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void Remove(const base::FilePath& file_path, base 133 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void CreateDirectory(const base::FilePath& file_path, base 141 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void CreateFile(const base::FilePath& file_path, base 148 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void Truncate(const base::FilePath& file_path, base 155 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void CreateSnapshotFile(const base::FilePath& file_path, base 162 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::FilePath& file_path, base 168 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void OpenFile(const base::FilePath& file_path, base 175 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void TouchFile(const base::FilePath& file_path, base 176 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::Time& last_access_time, base 177 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::Time& last_modified_time, base 36 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc TestFileSystemForOpenFile(const base::FilePath& local_file_path, base 43 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc virtual void OpenFile(const base::FilePath& file_path, base 52 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&TestFileSystemForOpenFile::Close, base::Unretained(this))); base 62 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc const base::FilePath local_file_path_; base 71 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc const base::FilePath& expected_written_path, base 73 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::File::Error result, base 74 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::PlatformFile platform_file, base 75 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc const base::Closure& close_callback) { base 77 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_EQ(base::File::FILE_OK, result); base 78 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_NE(base::kInvalidPlatformFileValue, platform_file); base 82 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::PlatformFileInfo info; base 83 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_TRUE(base::GetPlatformFileInfo(platform_file, &info)); base 89 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::WritePlatformFile(platform_file, 0, write_data.c_str(), base 91 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_TRUE(base::TruncatePlatformFile(platform_file, data_size)); base 94 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::ClosePlatformFile(platform_file); base 100 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_TRUE(base::ReadFileToString(expected_written_path, &written)); base 107 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::File::Error result, base 108 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::PlatformFile platform_file, base 109 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc const base::Closure& close_callback) { base 111 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_EQ(base::File::FILE_OK, result); base 112 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_NE(base::kInvalidPlatformFileValue, platform_file); base 117 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::PlatformFileInfo info; base 118 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_TRUE(base::GetPlatformFileInfo(platform_file, &info)); base 123 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::ReadPlatformFile(platform_file, 0, buffer.data(), data_size)); base 127 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::ClosePlatformFile(platform_file); base 143 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&GetFileSystem, &dummy_file_system), base 145 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Closure()); base 156 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&GetFileSystem, static_cast<FileSystemInterface*>(NULL)), base 158 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&Increment, &num_called)); base 163 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&GetFileSystem, static_cast<FileSystemInterface*>(NULL)), base 165 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Closure()); base 169 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc const base::FilePath kDummyPath = base::FilePath::FromUTF8Unsafe("whatever"); base 172 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::FilePath temp_path; base 173 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::CreateTemporaryFile(&temp_path); base 180 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_WRITE, base 181 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData), base 188 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc const base::FilePath kDummyPath = base::FilePath::FromUTF8Unsafe("whatever"); base 192 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::FilePath temp_path; base 193 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::CreateTemporaryFile(&temp_path); base 202 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::PLATFORM_FILE_OPEN_ALWAYS | base::PLATFORM_FILE_WRITE, base 203 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData), base 210 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc const base::FilePath kDummyPath = base::FilePath::FromUTF8Unsafe("whatever"); base 214 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::FilePath temp_path; base 215 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::CreateTemporaryFile(&temp_path); base 224 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::PLATFORM_FILE_OPEN_TRUNCATED | base::PLATFORM_FILE_WRITE, base 225 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData), base 232 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc const base::FilePath kDummyPath = base::FilePath::FromUTF8Unsafe("whatever"); base 236 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::FilePath temp_path; base 237 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::CreateTemporaryFile(&temp_path); base 246 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_WRITE, base 247 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData), base 254 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc const base::FilePath kDummyPath = base::FilePath::FromUTF8Unsafe("whatever"); base 257 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::FilePath temp_path; base 258 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::CreateTemporaryFile(&temp_path); base 265 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ, base 266 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::Bind(&VerifyRead, kInitialData), base 25 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc base::SequencedTaskRunner* file_task_runner, base 26 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc const base::FilePath& drive_file_path, base 28 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc const base::Time& expected_modification_time) base 58 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc base::Bind(&WebkitFileStreamReaderImpl::OnStreamReaderInitialized, base 60 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc base::Bind(&WebkitFileStreamReaderImpl base 84 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc base::Bind(&WebkitFileStreamReaderImpl::OnStreamReaderInitialized, base 86 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc base::Bind(&WebkitFileStreamReaderImpl base 18 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h namespace base { base 37 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h base::SequencedTaskRunner* file_task_runner, base 38 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h const base::FilePath& drive_file_path, base 40 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h const base::Time& expected_modification_time); base 73 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h const base::FilePath drive_file_path_; base 75 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h const base::Time expected_modification_time_; base 82 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h base::WeakPtrFactory<WebkitFileStreamReaderImpl> weak_ptr_factory_; base 38 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc worker_thread_.reset(new base::Thread("WebkitFileStreamReaderImplTest")); base 56 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc return base::Bind(&WebkitFileStreamReaderImplTest::GetFileSystem, base 57 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc base::Unretained(this)); base 62 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc scoped_ptr<base::Thread> worker_thread_; base 69 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc const base::FilePath kDriveFile = base 77 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc base::Time())); // expected modification time base 89 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc const base::FilePath kDriveFile = base 97 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc base::Time())); // expected modification time base 109 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc const base::FilePath kDriveFile = base 118 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc base::Time())); // expected modification time base 130 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc const base::FilePath kDriveFile = base 138 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc base::Time())); // expected modification time base 149 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc const base::FilePath kDriveFile = base 157 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc base::Time())); // expected modification time base 166 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc const base::FilePath kDriveFile = base 169 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc base::Time expected_modification_time; base 189 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc const base::FilePath kDriveFile = base 197 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc base::Time::FromInternalValue(1))); base 26 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc const base::FilePath& drive_path, base 33 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::Bind( base 36 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::Bind(&fileapi_internal::CreateWritableSnapshotFile, base 38 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc google_apis::CreateRelayCallback(base::Bind( base 39 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc callback, base::File::FILE_ERROR_FAILED, base::FilePath(), base 40 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::Closure())))); base 47 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::TaskRunner* file_task_runner, base 48 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc const base::FilePath& file_path, base 87 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::Bind( base 135 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::File::Error open_result, base 136 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc const base::FilePath& local_path, base 137 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc const base::Closure& close_callback_on_ui_thread) { base 144 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc if (open_result == base::File::FILE_OK) { base 153 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::ResetAndReturn(&pending_cancel_callback_).Run(net::OK); base 160 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::ResetAndReturn(&pending_write_callback_); base 161 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc if (open_result != base::File::FILE_OK) { base 16 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h namespace base { base 37 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h typedef base::Callback<FileSystemInterface*()> FileSystemGetter; base 44 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h base::TaskRunner* file_task_runner, base 45 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h const base::FilePath& file_path, base 60 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h base::File::Error open_result, base 61 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h const base::FilePath& local_path, base 62 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h const base::Closure& close_callback_on_ui_thread); base 65 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h scoped_refptr<base::TaskRunner> file_task_runner_; base 66 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h const base::FilePath file_path_; base 70 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h base::Closure close_callback_on_ui_thread_; base 76 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h base::WeakPtrFactory<WebkitFileStreamWriterImpl> weak_ptr_factory_; base 86 chrome/browser/chromeos/drive/job_list.cc std::string output = base::StringPrintf( base 94 chrome/browser/chromeos/drive/job_list.cc base::StringAppendF(&output, base 96 chrome/browser/chromeos/drive/job_list.cc base::Int64ToString(num_completed_bytes).c_str(), base 97 chrome/browser/chromeos/drive/job_list.cc base::Int64ToString(num_total_bytes).c_str()); base 86 chrome/browser/chromeos/drive/job_list.h base::FilePath file_path; base 89 chrome/browser/chromeos/drive/job_list.h base::Time start_time; base 63 chrome/browser/chromeos/drive/job_queue.cc return base::StringPrintf("pending: %d, running: %d", base 56 chrome/browser/chromeos/drive/job_scheduler.cc const base::Callback<void(google_apis::GDataErrorCode, P1)>& callback, base 65 chrome/browser/chromeos/drive/job_scheduler.cc base::Callback<void(google_apis::GDataErrorCode)> base 66 chrome/browser/chromeos/drive/job_scheduler.cc CreateErrorRunCallback(const base::Callback<CallbackType>& callback) { base 67 chrome/browser/chromeos/drive/job_scheduler.cc return base::Bind(&CreateErrorRunCallbackHelper<CallbackType>::Run, callback); base 73 chrome/browser/chromeos/drive/job_scheduler.cc base::FilePath local_file_path; base 97 chrome/browser/chromeos/drive/job_scheduler.cc base::FilePath local_file_path; base 120 chrome/browser/chromeos/drive/job_scheduler.cc base::FilePath local_file_path; base 157 chrome/browser/chromeos/drive/job_scheduler.cc base::FilePath drive_file_path; base 158 chrome/browser/chromeos/drive/job_scheduler.cc base::FilePath local_file_path; base 166 chrome/browser/chromeos/drive/job_scheduler.cc base::SequencedTaskRunner* blocking_task_runner) base 168 chrome/browser/chromeos/drive/job_scheduler.cc wait_until_(base::Time::Now()), base 243 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 245 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 246 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetAboutResourceJobDone, base 259 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 261 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 262 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetAppListJobDone, base 276 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 278 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 279 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceListJobDone, base 295 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 297 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 299 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceListJobDone, base 314 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 316 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 318 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceListJobDone, base 333 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 335 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 337 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceListJobDone, base 352 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 354 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 356 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceListJobDone, base 371 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 373 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 375 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceListJobDone, base 392 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 394 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 396 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceEntryJobDone, base 414 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 416 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 419 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetShareUrlJobDone, base 436 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 438 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 440 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnEntryActionJobDone, base 452 chrome/browser/chromeos/drive/job_scheduler.cc const base::Time& last_modified, base 458 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 460 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 465 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceEntryJobDone, base 477 chrome/browser/chromeos/drive/job_scheduler.cc const base::Time& last_modified, base 478 chrome/browser/chromeos/drive/job_scheduler.cc const base::Time& last_viewed_by_me, base 486 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 488 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 494 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceEntryJobDone, base 510 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 512 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 515 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnEntryActionJobDone, base 531 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 533 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 536 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnEntryActionJobDone, base 553 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 555 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 558 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnEntryActionJobDone, base 576 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 578 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 582 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnGetResourceEntryJobDone, base 591 chrome/browser/chromeos/drive/job_scheduler.cc const base::FilePath& virtual_path, base 593 chrome/browser/chromeos/drive/job_scheduler.cc const base::FilePath& local_cache_path, base 604 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind( base 606 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 609 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnDownloadActionJobDone, base 614 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::UpdateProgress, base 624 chrome/browser/chromeos/drive/job_scheduler.cc const base::FilePath& drive_file_path, base 625 chrome/browser/chromeos/drive/job_scheduler.cc const base::FilePath& local_file_path, base 648 chrome/browser/chromeos/drive/job_scheduler.cc params.callback = base::Bind(&JobScheduler::OnUploadCompletionJobDone, base 653 chrome/browser/chromeos/drive/job_scheduler.cc params.progress_callback = base::Bind(&JobScheduler::UpdateProgress, base 656 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind(&RunUploadNewFile, uploader_.get(), params); base 663 chrome/browser/chromeos/drive/job_scheduler.cc const base::FilePath& drive_file_path, base 664 chrome/browser/chromeos/drive/job_scheduler.cc const base::FilePath& local_file_path, base 685 chrome/browser/chromeos/drive/job_scheduler.cc params.callback = base::Bind(&JobScheduler::OnUploadCompletionJobDone, base 690 chrome/browser/chromeos/drive/job_scheduler.cc params.progress_callback = base::Bind(&JobScheduler::UpdateProgress, base 693 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind(&RunUploadExistingFile, uploader_.get(), params); base 707 chrome/browser/chromeos/drive/job_scheduler.cc new_job->task = base::Bind(&DriveServiceInterface::AddPermission, base 708 chrome/browser/chromeos/drive/job_scheduler.cc base::Unretained(drive_service_), base 712 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::OnEntryActionJobDone, base 745 chrome/browser/chromeos/drive/job_scheduler.cc base::StringPrintf(" (retry %d)", job_entry->retry_count) : ""; base 770 chrome/browser/chromeos/drive/job_scheduler.cc const base::Time now = base::Time::Now(); base 772 chrome/browser/chromeos/drive/job_scheduler.cc base::MessageLoopProxy::current()->PostDelayedTask( base 774 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::DoJobLoop, base 836 chrome/browser/chromeos/drive/job_scheduler.cc base::TimeDelta delay = base 837 chrome/browser/chromeos/drive/job_scheduler.cc base::TimeDelta::FromSeconds(1 << (throttle_count_ - 1)) + base 838 chrome/browser/chromeos/drive/job_scheduler.cc base::TimeDelta::FromMilliseconds(base::RandInt(0, 1000)); base 841 chrome/browser/chromeos/drive/job_scheduler.cc wait_until_ = std::max(wait_until_, base::Time::Now() + delay); base 853 chrome/browser/chromeos/drive/job_scheduler.cc const base::TimeDelta elapsed = base::Time::Now() - job_info->start_time; base 859 chrome/browser/chromeos/drive/job_scheduler.cc base::Int64ToString(elapsed.InMilliseconds()).c_str(), base 894 chrome/browser/chromeos/drive/job_scheduler.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 895 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(&JobScheduler::DoJobLoop, base 976 chrome/browser/chromeos/drive/job_scheduler.cc const base::FilePath& temp_file) { base 1006 chrome/browser/chromeos/drive/job_scheduler.cc params.callback = base::Bind(&JobScheduler::OnResumeUploadFileDone, base 1011 chrome/browser/chromeos/drive/job_scheduler.cc params.progress_callback = base::Bind(&JobScheduler::UpdateProgress, base 1014 chrome/browser/chromeos/drive/job_scheduler.cc job_entry->task = base::Bind(&RunResumeUploadFile, uploader_.get(), params); base 1023 chrome/browser/chromeos/drive/job_scheduler.cc const base::Callback<google_apis::CancelCallback()>& original_task, base 1101 chrome/browser/chromeos/drive/job_scheduler.cc const base::TimeDelta elapsed = base::Time::Now() - job->job_info.start_time; base 1107 chrome/browser/chromeos/drive/job_scheduler.cc base::Int64ToString(elapsed.InMilliseconds()).c_str(), base 1110 chrome/browser/chromeos/drive/job_scheduler.cc base::Callback<void(google_apis::GDataErrorCode)> callback = base 1115 chrome/browser/chromeos/drive/job_scheduler.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 1116 chrome/browser/chromeos/drive/job_scheduler.cc base::Bind(callback, error)); base 21 chrome/browser/chromeos/drive/job_scheduler.h namespace base { base 68 chrome/browser/chromeos/drive/job_scheduler.h base::SequencedTaskRunner* blocking_task_runner); base 139 chrome/browser/chromeos/drive/job_scheduler.h const base::Time& last_modified, base 147 chrome/browser/chromeos/drive/job_scheduler.h const base::Time& last_modified, base 148 chrome/browser/chromeos/drive/job_scheduler.h const base::Time& last_viewed_by_me, base 182 chrome/browser/chromeos/drive/job_scheduler.h const base::FilePath& virtual_path, base 184 chrome/browser/chromeos/drive/job_scheduler.h const base::FilePath& local_cache_path, base 192 chrome/browser/chromeos/drive/job_scheduler.h const base::FilePath& drive_file_path, base 193 chrome/browser/chromeos/drive/job_scheduler.h const base::FilePath& local_file_path, base 203 chrome/browser/chromeos/drive/job_scheduler.h const base::FilePath& drive_file_path, base 204 chrome/browser/chromeos/drive/job_scheduler.h const base::FilePath& local_file_path, base 242 chrome/browser/chromeos/drive/job_scheduler.h base::Callback<google_apis::CancelCallback()> task; base 249 chrome/browser/chromeos/drive/job_scheduler.h base::Callback<void(google_apis::GDataErrorCode)> abort_callback; base 323 chrome/browser/chromeos/drive/job_scheduler.h const base::FilePath& temp_file); base 337 chrome/browser/chromeos/drive/job_scheduler.h const base::Callback<google_apis::CancelCallback()>& original_task, base 377 chrome/browser/chromeos/drive/job_scheduler.h base::Time wait_until_; base 400 chrome/browser/chromeos/drive/job_scheduler.h base::WeakPtrFactory<JobScheduler> weak_ptr_factory_; base 112 chrome/browser/chromeos/drive/job_scheduler_unittest.cc return base::Bind(callback, google_apis::GDATA_CANCELLED, GURL()); base 148 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::MessageLoopProxy::current().get())); base 200 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 213 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 228 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 244 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 260 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 283 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 293 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 309 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 327 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 344 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 362 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 378 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 395 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 410 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 425 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::Time(), base 427 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 443 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::Time(), base 444 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::Time(), base 447 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 462 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 476 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 491 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 508 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 540 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::Bind(&CopyTitleFromGetResourceEntryCallback, &titles)); base 546 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::Bind(&CopyTitleFromGetResourceEntryCallback, &titles)); base 552 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::Bind(&CopyTitleFromGetResourceEntryCallback, &titles)); base 558 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::Bind(&CopyTitleFromGetResourceEntryCallback, &titles)); base 560 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 580 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 596 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 603 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 616 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::ScopedTempDir temp_dir; base 619 chrome/browser/chromeos/drive/job_scheduler_unittest.cc const base::FilePath kOutputFilePath = base 622 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath output_file_path; base 624 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path base 640 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 652 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 658 chrome/browser/chromeos/drive/job_scheduler_unittest.cc ASSERT_TRUE(base::ReadFileToString(output_file_path, &content)); base 669 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::ScopedTempDir temp_dir; base 672 chrome/browser/chromeos/drive/job_scheduler_unittest.cc const base::FilePath kOutputFilePath = base 675 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath output_file_path; base 677 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path base 693 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 705 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 711 chrome/browser/chromeos/drive/job_scheduler_unittest.cc ASSERT_TRUE(base::ReadFileToString(output_file_path, &content)); base 722 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::ScopedTempDir temp_dir; base 725 chrome/browser/chromeos/drive/job_scheduler_unittest.cc const base::FilePath kOutputFilePath = base 728 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath output_file_path; base 730 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path base 746 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 756 chrome/browser/chromeos/drive/job_scheduler_unittest.cc ASSERT_TRUE(base::ReadFileToString(output_file_path, &content)); base 767 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::ScopedTempDir temp_dir; base 770 chrome/browser/chromeos/drive/job_scheduler_unittest.cc const base::FilePath kOutputFilePath = base 773 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath output_file_path; base 775 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path base 791 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 801 chrome/browser/chromeos/drive/job_scheduler_unittest.cc ASSERT_TRUE(base::ReadFileToString(output_file_path, &content)); base 813 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::ScopedTempDir temp_dir; base 819 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath path; base 842 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path base 872 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::Time(), // last_modified base 892 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 917 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 931 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::ScopedTempDir temp_dir; base 935 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath path; base 939 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path base 946 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 951 chrome/browser/chromeos/drive/job_scheduler_unittest.cc EXPECT_TRUE(base::STLIsSorted(download_progress)); base 964 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("drive/new_file.txt"), base 971 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 976 chrome/browser/chromeos/drive/job_scheduler_unittest.cc EXPECT_TRUE(base::STLIsSorted(upload_progress)); base 982 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::ScopedTempDir temp_dir; base 984 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath upload_path = temp_dir.path().AppendASCII("new_file.txt"); base 997 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("dummy/path"), base 1014 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("dummy/path"), base 1027 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 1036 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::ScopedTempDir temp_dir; base 1038 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath upload_path = temp_dir.path().AppendASCII("new_file.txt"); base 1047 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("dummy/path"), base 1065 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::FilePath::FromUTF8Unsafe("dummy/path"), base 1077 chrome/browser/chromeos/drive/job_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 18 chrome/browser/chromeos/drive/local_file_reader.cc base::SequencedTaskRunner* sequenced_task_runner) base 26 chrome/browser/chromeos/drive/local_file_reader.cc void LocalFileReader::Open(const base::FilePath& file_path, base 30 chrome/browser/chromeos/drive/local_file_reader.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 31 chrome/browser/chromeos/drive/local_file_reader.cc base::PLATFORM_FILE_ASYNC; base 14 chrome/browser/chromeos/drive/local_file_reader.h namespace base { base 32 chrome/browser/chromeos/drive/local_file_reader.h explicit LocalFileReader(base::SequencedTaskRunner* sequenced_task_runner); base 39 chrome/browser/chromeos/drive/local_file_reader.h void Open(const base::FilePath& file_path, base 63 chrome/browser/chromeos/drive/local_file_reader.h base::WeakPtrFactory<LocalFileReader> weak_ptr_factory_; base 49 chrome/browser/chromeos/drive/local_file_reader_unittest.cc worker_thread_.reset(new base::Thread("LocalFileReaderTest")); base 55 chrome/browser/chromeos/drive/local_file_reader_unittest.cc base::MessageLoop message_loop_; base 56 chrome/browser/chromeos/drive/local_file_reader_unittest.cc base::ScopedTempDir temp_dir_; base 57 chrome/browser/chromeos/drive/local_file_reader_unittest.cc scoped_ptr<base::Thread> worker_thread_; base 62 chrome/browser/chromeos/drive/local_file_reader_unittest.cc const base::FilePath kTestFile = base 71 chrome/browser/chromeos/drive/local_file_reader_unittest.cc base::FilePath test_file; base 87 chrome/browser/chromeos/drive/local_file_reader_unittest.cc base::FilePath test_file; base 33 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 37 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc base::MessageLoopProxy::current().get(), base 41 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc metadata_storage_.get(), base::MessageLoopProxy::current())); base 49 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc base::ScopedTempDir temp_dir_; base 60 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc base::FilePath dummy_file; base 61 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &dummy_file)); base 86 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc base::FilePath dummy_file; base 87 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &dummy_file)); base 137 chrome/browser/chromeos/drive/resource_entry_conversion.cc base::File::Info* file_info) { base 141 chrome/browser/chromeos/drive/resource_entry_conversion.cc file_info->last_modified = base::Time::FromInternalValue( base 143 chrome/browser/chromeos/drive/resource_entry_conversion.cc file_info->last_accessed = base::Time::FromInternalValue( base 145 chrome/browser/chromeos/drive/resource_entry_conversion.cc file_info->creation_time = base::Time::FromInternalValue( base 149 chrome/browser/chromeos/drive/resource_entry_conversion.cc void SetPlatformFileInfoToResourceEntry(const base::File::Info& file_info, base 40 chrome/browser/chromeos/drive/resource_entry_conversion.h base::File::Info* file_info); base 44 chrome/browser/chromeos/drive/resource_entry_conversion.h void SetPlatformFileInfoToResourceEntry(const base::File::Info& file_info, base 18 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc scoped_ptr<base::Value> value = base 40 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time expected_creation_time; base 41 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time expected_modified_time; base 45 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::Exploded exploded; base 54 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc expected_creation_time = base::Time::FromUTCExploded(exploded); base 59 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::Exploded exploded; base 68 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc expected_modified_time = base::Time::FromUTCExploded(exploded); base 93 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc scoped_ptr<base::Value> value = base 118 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::Exploded exploded; base 127 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc const base::Time expected_last_modified_time = base 128 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromUTCExploded(exploded); base 139 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc const base::Time expected_creation_time = base 140 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromUTCExploded(exploded); base 151 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc const base::Time expected_last_accessed_time = base 152 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromUTCExploded(exploded); base 174 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc scoped_ptr<base::Value> value = base 200 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::Exploded exploded; base 209 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc const base::Time expected_last_modified_time = base 210 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromUTCExploded(exploded); base 221 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc const base::Time expected_creation_time = base 222 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromUTCExploded(exploded); base 233 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc const base::Time expected_last_accessed_time = base 234 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromUTCExploded(exploded); base 248 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc scoped_ptr<base::Value> value = base 272 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::Exploded exploded; base 281 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc const base::Time expected_last_modified_time = base 282 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromUTCExploded(exploded); base 293 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc const base::Time expected_creation_time = base 294 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromUTCExploded(exploded); base 305 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc const base::Time expected_last_accessed_time = base 306 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromUTCExploded(exploded); base 327 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc scoped_ptr<base::Value> value = google_apis::test_util::LoadJSONFile( base 352 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::File::Info file_info; base 357 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(entry.file_info().creation_time()), base 359 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(entry.file_info().last_modified()), base 361 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(entry.file_info().last_accessed()), base 366 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::File::Info file_info; base 371 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::UnixEpoch() + base::TimeDelta::FromDays(999); base 373 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::UnixEpoch() + base::TimeDelta::FromDays(12345); base 375 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::UnixEpoch() + base::TimeDelta::FromDays(54321); base 384 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromInternalValue(entry.file_info().creation_time())); base 386 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromInternalValue(entry.file_info().last_modified())); base 388 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::Time::FromInternalValue(entry.file_info().last_accessed())); base 33 chrome/browser/chromeos/drive/resource_metadata.cc bool EnoughDiskSpaceIsAvailableForDBOperation(const base::FilePath& path) { base 35 chrome/browser/chromeos/drive/resource_metadata.cc return base::SysInfo::AmountOfFreeDiskSpace(path) >= base 45 chrome/browser/chromeos/drive/resource_metadata.cc scoped_refptr<base::SequencedTaskRunner> blocking_task_runner) base 68 chrome/browser/chromeos/drive/resource_metadata.cc base::Bind(&ResourceMetadata::DestroyOnBlockingPool, base 69 chrome/browser/chromeos/drive/resource_metadata.cc base::Unretained(this))); base 189 chrome/browser/chromeos/drive/resource_metadata.cc local_id = base::GenerateGUID(); base 232 chrome/browser/chromeos/drive/resource_metadata.cc FileError ResourceMetadata::GetResourceEntryByPath(const base::FilePath& path, base 246 chrome/browser/chromeos/drive/resource_metadata.cc const base::FilePath& path, base 333 chrome/browser/chromeos/drive/resource_metadata.cc std::set<base::FilePath>* sub_directories) { base 360 chrome/browser/chromeos/drive/resource_metadata.cc base::FilePath ResourceMetadata::GetFilePath(const std::string& id) { base 363 chrome/browser/chromeos/drive/resource_metadata.cc base::FilePath path; base 368 chrome/browser/chromeos/drive/resource_metadata.cc path = path.Append(base::FilePath::FromUTF8Unsafe(entry.base_name())); base 373 chrome/browser/chromeos/drive/resource_metadata.cc FileError ResourceMetadata::GetIdByPath(const base::FilePath& file_path, base 378 chrome/browser/chromeos/drive/resource_metadata.cc std::vector<base::FilePath::StringType> components; base 386 chrome/browser/chromeos/drive/resource_metadata.cc const std::string component = base::FilePath(components[i]).AsUTF8Unsafe(); base 425 chrome/browser/chromeos/drive/resource_metadata.cc base::FilePath new_path = base 426 chrome/browser/chromeos/drive/resource_metadata.cc base::FilePath::FromUTF8Unsafe(updated_entry.base_name()); base 428 chrome/browser/chromeos/drive/resource_metadata.cc new_path.InsertBeforeExtension(base::StringPrintf(" (%d)", ++modifier)); base 17 chrome/browser/chromeos/drive/resource_metadata.h namespace base { base 36 chrome/browser/chromeos/drive/resource_metadata.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner); base 67 chrome/browser/chromeos/drive/resource_metadata.h FileError GetResourceEntryByPath(const base::FilePath& file_path, base 71 chrome/browser/chromeos/drive/resource_metadata.h FileError ReadDirectoryByPath(const base::FilePath& file_path, base 83 chrome/browser/chromeos/drive/resource_metadata.h std::set<base::FilePath>* sub_directories); base 95 chrome/browser/chromeos/drive/resource_metadata.h base::FilePath GetFilePath(const std::string& id); base 98 chrome/browser/chromeos/drive/resource_metadata.h FileError GetIdByPath(const base::FilePath& file_path, std::string* out_id); base 123 chrome/browser/chromeos/drive/resource_metadata.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 40 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath::CharType kResourceMapDBName[] = base 44 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath::CharType kPreservedResourceMapDBName[] = base 48 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath::CharType kTrashedResourceMapDBName[] = base 147 chrome/browser/chromeos/drive/resource_metadata_storage.cc bool MoveIfPossible(const base::FilePath& from, const base::FilePath& to) { base 148 chrome/browser/chromeos/drive/resource_metadata_storage.cc return !base::PathExists(from) || base::Move(from, to); base 155 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 167 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 171 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 180 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 187 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 208 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 221 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 227 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 235 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 239 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 244 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 251 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 257 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 265 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 283 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath& directory_path, base 285 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 290 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath resource_map_path = base 292 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath preserved_resource_map_path = base 295 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (base::PathExists(preserved_resource_map_path)) { base 298 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (!base::DeleteFile(resource_map_path, false /* recursive */) || base 299 chrome/browser/chromeos/drive/resource_metadata_storage.cc !base::Move(preserved_resource_map_path, resource_map_path)) base 303 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (!base::PathExists(resource_map_path)) base 390 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath& directory_path, base 391 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::SequencedTaskRunner* blocking_task_runner) base 400 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::Bind(&ResourceMetadataStorage::DestroyOnBlockingPool, base 401 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::Unretained(this))); base 405 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 409 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath resource_map_path = base 411 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath preserved_resource_map_path = base 413 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath trashed_resource_map_path = base 417 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (!base::DeleteFile(preserved_resource_map_path, true /* recursive */) || base 418 chrome/browser/chromeos/drive/resource_metadata_storage.cc !base::DeleteFile(trashed_resource_map_path, true /* recursive */)) { base 431 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (base::PathExists(resource_map_path)) { base 507 chrome/browser/chromeos/drive/resource_metadata_storage.cc const base::FilePath trashed_resource_map_path = base 510 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (!base::PathExists(trashed_resource_map_path)) base 574 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 586 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 596 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 649 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 660 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 687 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 696 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 709 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 726 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 744 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 756 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 767 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 782 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 793 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 816 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 832 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 843 chrome/browser/chromeos/drive/resource_metadata_storage.cc base::ThreadRestrictions::AssertIOAllowed(); base 18 chrome/browser/chromeos/drive/resource_metadata_storage.h namespace base { base 120 chrome/browser/chromeos/drive/resource_metadata_storage.h static bool UpgradeOldDB(const base::FilePath& directory_path, base 123 chrome/browser/chromeos/drive/resource_metadata_storage.h ResourceMetadataStorage(const base::FilePath& directory_path, base 124 chrome/browser/chromeos/drive/resource_metadata_storage.h base::SequencedTaskRunner* blocking_task_runner); base 126 chrome/browser/chromeos/drive/resource_metadata_storage.h const base::FilePath& directory_path() const { return directory_path_; } base 205 chrome/browser/chromeos/drive/resource_metadata_storage.h base::FilePath directory_path_; base 212 chrome/browser/chromeos/drive/resource_metadata_storage.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 28 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 65 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc base::ScopedTempDir temp_dir_; base 351 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 390 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc temp_dir_.path(), base::Bind(&util::CanonicalizeResourceId))); base 392 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 434 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc temp_dir_.path(), base::Bind(&util::CanonicalizeResourceId))); base 436 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 464 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc temp_dir_.path(), base::Bind(&util::CanonicalizeResourceId))); base 466 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 477 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc base::FilePath path; base 478 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &path)); base 481 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc path, base::MessageLoopProxy::current().get())); base 515 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 138 chrome/browser/chromeos/drive/resource_metadata_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 142 chrome/browser/chromeos/drive/resource_metadata_unittest.cc metadata_storage_.get(), base::MessageLoopProxy::current())); base 149 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::ScopedTempDir temp_dir_; base 168 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/file4"), &entry)); base 173 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/non_existing"), &entry)); base 177 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive"), &entry)); base 181 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("non_existing"), &entry)); base 185 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("non_existing/root"), &entry)); base 192 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1"), &entries)); base 202 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/non_existing"), &entries)); base 206 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/file4"), &entries)); base 210 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath drive_file_path; base 216 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3/file9"), &file_id)); base 257 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3/file100"), &entry)); base 266 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir2"), &dir_id)); base 275 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3"), &dir3_id)); base 295 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3/dir100/file6"), base 301 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir2"), &entry)); base 321 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1"), &entry)); base 339 chrome/browser/chromeos/drive/resource_metadata_unittest.cc std::set<base::FilePath> sub_directories; base 344 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3/file9"), &local_id)); base 350 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir2"), &local_id)); base 357 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1"), &local_id)); base 361 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3"))); base 393 chrome/browser/chromeos/drive/resource_metadata_unittest.cc EXPECT_EQ(1u, sub_directories.count(base::FilePath::FromUTF8Unsafe( base 395 chrome/browser/chromeos/drive/resource_metadata_unittest.cc EXPECT_EQ(1u, sub_directories.count(base::FilePath::FromUTF8Unsafe( base 397 chrome/browser/chromeos/drive/resource_metadata_unittest.cc EXPECT_EQ(1u, sub_directories.count(base::FilePath::FromUTF8Unsafe( base 402 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath drive_file_path; base 407 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3"), &local_id)); base 415 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1"), &local_id)); base 435 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3/file9"), base 452 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3"), &dir3_local_id)); base 484 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/file4"), &local_id)); base 516 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"), &root_local_id)); base 579 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/foo/bar (2).txt"), &entry)); base 582 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/foo (1)/bar.txt"), &entry)); base 589 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"), &root_local_id)); base 609 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe( base 620 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root"), &entries)); base 633 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive"), &entry)); base 641 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive"), &entries)); base 647 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/other"), &entries)); base 653 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/trash"), &entries)); base 201 chrome/browser/chromeos/drive/search_metadata.cc base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents* query, base 249 chrome/browser/chromeos/drive/search_metadata.cc base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents query( base 250 chrome/browser/chromeos/drive/search_metadata.cc base::UTF8ToUTF16(query_text)); base 272 chrome/browser/chromeos/drive/search_metadata.cc base::FilePath path = resource_metadata->GetFilePath(candidate.local_id); base 289 chrome/browser/chromeos/drive/search_metadata.cc const base::TimeTicks& start_time, base 297 chrome/browser/chromeos/drive/search_metadata.cc base::TimeTicks::Now() - start_time); base 303 chrome/browser/chromeos/drive/search_metadata.cc scoped_refptr<base::SequencedTaskRunner> blocking_task_runner, base 313 chrome/browser/chromeos/drive/search_metadata.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 318 chrome/browser/chromeos/drive/search_metadata.cc base::PostTaskAndReplyWithResult(blocking_task_runner.get(), base 320 chrome/browser/chromeos/drive/search_metadata.cc base::Bind(&SearchMetadataOnBlockingPool, base 326 chrome/browser/chromeos/drive/search_metadata.cc base::Bind(&RunSearchMetadataCallback, base 329 chrome/browser/chromeos/drive/search_metadata.cc base::Passed(&results))); base 334 chrome/browser/chromeos/drive/search_metadata.cc base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents* query, base 340 chrome/browser/chromeos/drive/search_metadata.cc base::string16 text16 = base::UTF8ToUTF16(text); base 346 chrome/browser/chromeos/drive/search_metadata.cc base::string16 pre = text16.substr(0, match_start); base 347 chrome/browser/chromeos/drive/search_metadata.cc base::string16 match = text16.substr(match_start, match_length); base 348 chrome/browser/chromeos/drive/search_metadata.cc base::string16 post = text16.substr(match_start + match_length); base 349 chrome/browser/chromeos/drive/search_metadata.cc highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(pre))); base 351 chrome/browser/chromeos/drive/search_metadata.cc highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(match))); base 353 chrome/browser/chromeos/drive/search_metadata.cc highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(post))); base 12 chrome/browser/chromeos/drive/search_metadata.h namespace base { base 31 chrome/browser/chromeos/drive/search_metadata.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner, base 47 chrome/browser/chromeos/drive/search_metadata.h base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents* query, base 33 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents query( base 34 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::UTF8ToUTF16(query_text)); base 47 chrome/browser/chromeos/drive/search_metadata_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 52 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::MessageLoopProxy::current().get(), base 58 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::MessageLoopProxy::current())); base 65 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::FilePath temp_file; base 66 chrome/browser/chromeos/drive/search_metadata_unittest.cc EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file)); base 149 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::ScopedTempDir temp_dir_; base 162 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 169 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 179 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 186 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 201 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 208 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 220 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 227 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 246 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 253 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 265 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 272 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 283 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 290 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 303 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 310 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 320 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 327 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 339 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 347 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 362 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 370 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 387 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 395 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 406 chrome/browser/chromeos/drive/search_metadata_unittest.cc SearchMetadata(base::MessageLoopProxy::current(), base 413 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::RunLoop().RunUntilIdle(); base 500 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents query( base 501 chrome/browser/chromeos/drive/search_metadata_unittest.cc base::UTF8ToUTF16("hello")); base 25 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc std::set<base::FilePath>* changed_directories) { base 43 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc const base::FilePath original_path = metadata->GetFilePath(local_id); base 71 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::SequencedTaskRunner* blocking_task_runner, base 95 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::PostTaskAndReplyWithResult( base 98 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Bind(&ResourceMetadata::GetResourceEntryById, base 99 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Unretained(metadata_), local_id, entry_ptr), base 100 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Bind(&EntryRevertPerformer::RevertEntryAfterPrepare, base 102 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Passed(&entry))); base 124 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Bind(&EntryRevertPerformer::RevertEntryAfterGetResourceEntry, base 136 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc std::set<base::FilePath>* changed_directories = new std::set<base::FilePath>; base 137 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::PostTaskAndReplyWithResult( base 140 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Bind(&FinishRevert, metadata_, local_id, status, base 141 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Passed(&resource_entry), changed_directories), base 142 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Bind(&EntryRevertPerformer::RevertEntryAfterFinishRevert, base 144 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Owned(changed_directories))); base 149 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc const std::set<base::FilePath>* changed_directories, base 154 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc for (std::set<base::FilePath>::const_iterator it = base 17 chrome/browser/chromeos/drive/sync/entry_revert_performer.h namespace base { base 42 chrome/browser/chromeos/drive/sync/entry_revert_performer.h EntryRevertPerformer(base::SequencedTaskRunner* blocking_task_runner, base 73 chrome/browser/chromeos/drive/sync/entry_revert_performer.h const std::set<base::FilePath>* changed_directories, base 76 chrome/browser/chromeos/drive/sync/entry_revert_performer.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 83 chrome/browser/chromeos/drive/sync/entry_revert_performer.h base::WeakPtrFactory<EntryRevertPerformer> weak_ptr_factory_; base 33 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc base::FilePath path( base 45 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc base::PostTaskAndReplyWithResult( base 48 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc base::Bind(&ResourceMetadata::RefreshEntry, base 49 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc base::Unretained(metadata()), updated_entry), base 87 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc base::PostTaskAndReplyWithResult( base 90 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc base::Bind(&ResourceMetadata::AddEntry, base 91 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc base::Unretained(metadata()), entry, &local_id), base 114 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc base::FilePath path( base 31 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::FilePath drive_file_path; base 32 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::FilePath cache_file_path; base 62 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::FilePath empty_file; base 63 chrome/browser/chromeos/drive/sync/entry_update_performer.cc if (!base::CreateTemporaryFile(&empty_file)) base 117 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::FilePath* changed_directory) { base 126 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::FilePath existing_entry_path = base 176 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::SequencedTaskRunner* blocking_task_runner, base 212 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::PostTaskAndReplyWithResult( base 215 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&PrepareUpdate, metadata_, cache_, local_id, local_state_ptr), base 216 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&EntryUpdatePerformer::UpdateEntryAfterPrepare, base 218 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Passed(&local_state))); base 248 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Time last_modified = base::Time::FromInternalValue( base 250 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Time last_accessed = base::Time::FromInternalValue( base 259 chrome/browser/chromeos/drive/sync/entry_update_performer.cc scoped_ptr<base::ScopedClosureRunner> null_loader_lock; base 272 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&EntryUpdatePerformer::UpdateEntryAfterUpdateResource, base 277 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Passed(&null_loader_lock))); base 291 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&EntryUpdatePerformer::UpdateEntryAfterUpdateResource, base 296 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Passed(scoped_ptr<base::ScopedClosureRunner>()))); base 305 chrome/browser/chromeos/drive/sync/entry_update_performer.cc scoped_ptr<base::ScopedClosureRunner> loader_lock = base 316 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&EntryUpdatePerformer::UpdateEntryAfterUpdateResource, base 321 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Passed(&loader_lock))); base 337 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&EntryUpdatePerformer::UpdateEntryAfterUpdateResource, base 340 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Passed(scoped_ptr<base::ScopedClosureRunner>()))); base 347 chrome/browser/chromeos/drive/sync/entry_update_performer.cc scoped_ptr<base::ScopedClosureRunner> loader_lock, base 365 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::FilePath* changed_directory = new base::FilePath; base 366 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::PostTaskAndReplyWithResult( base 369 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&FinishUpdate, base 370 chrome/browser/chromeos/drive/sync/entry_update_performer.cc metadata_, cache_, local_id, base::Passed(&resource_entry), base 372 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&EntryUpdatePerformer::UpdateEntryAfterFinish, base 374 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Owned(changed_directory))); base 379 chrome/browser/chromeos/drive/sync/entry_update_performer.cc const base::FilePath* changed_directory, base 15 chrome/browser/chromeos/drive/sync/entry_update_performer.h namespace base { base 45 chrome/browser/chromeos/drive/sync/entry_update_performer.h EntryUpdatePerformer(base::SequencedTaskRunner* blocking_task_runner, base 75 chrome/browser/chromeos/drive/sync/entry_update_performer.h scoped_ptr<base::ScopedClosureRunner> loader_lock, base 81 chrome/browser/chromeos/drive/sync/entry_update_performer.h const base::FilePath* changed_directory, base 84 chrome/browser/chromeos/drive/sync/entry_update_performer.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 95 chrome/browser/chromeos/drive/sync/entry_update_performer.h base::WeakPtrFactory<EntryUpdatePerformer> weak_ptr_factory_; base 40 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::FilePath path; base 41 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc if (!base::CreateTemporaryFileInDir(temp_dir(), &path) || base 47 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 50 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::Store, base 51 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 63 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::FilePath src_path( base 65 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::FilePath dest_path( base 73 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Time new_last_modified = base::Time::FromInternalValue( base 74 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc src_entry.file_info().last_modified()) + base::TimeDelta::FromSeconds(1); base 75 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Time new_last_accessed = base::Time::FromInternalValue( base 76 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc src_entry.file_info().last_accessed()) + base::TimeDelta::FromSeconds(2); base 87 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 90 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&ResourceMetadata::RefreshEntry, base 91 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(metadata()), base 139 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc const base::FilePath kFilePath(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 179 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 182 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::GetCacheEntry, base 183 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 193 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc const base::FilePath kFilePath(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 233 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 236 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::GetCacheEntry, base 237 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 246 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc scoped_ptr<base::ScopedClosureRunner> file_closer; base 248 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 251 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::OpenForWrite, base 252 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 277 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 280 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::GetCacheEntry, base 281 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 291 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc const base::FilePath kFilePath(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 301 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc scoped_ptr<base::ScopedClosureRunner> file_closer; base 303 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 306 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::OpenForWrite, base 307 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 326 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 329 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::GetCacheEntry, base 330 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 351 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 354 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::GetCacheEntry, base 355 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 366 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc const base::FilePath kFilePath(FILE_PATH_LITERAL("drive/root/New File.txt")); base 379 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 382 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&internal::ResourceMetadata::AddEntry, base 383 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(metadata()), base 407 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 410 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::GetCacheEntry, base 411 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 434 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc const base::FilePath kFilePath(FILE_PATH_LITERAL("drive/root/New File.txt")); base 447 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 450 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&internal::ResourceMetadata::AddEntry, base 451 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(metadata()), base 462 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc scoped_ptr<base::ScopedClosureRunner> file_closer; base 464 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 467 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&FileCache::OpenForWrite, base 468 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(cache()), base 508 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc const base::FilePath kPath(FILE_PATH_LITERAL("drive/root/New Directory")); base 521 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::PostTaskAndReplyWithResult( base 524 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Bind(&internal::ResourceMetadata::AddEntry, base 525 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc base::Unretained(metadata()), base 36 chrome/browser/chromeos/drive/sync/remove_performer.cc void RemoveEntryOnUIThread(base::SequencedTaskRunner* blocking_task_runner, base 40 chrome/browser/chromeos/drive/sync/remove_performer.cc base::PostTaskAndReplyWithResult( base 43 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Bind(&ResourceMetadata::RemoveEntry, base 44 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Unretained(metadata), local_id), base 51 chrome/browser/chromeos/drive/sync/remove_performer.cc base::SequencedTaskRunner* blocking_task_runner, base 89 chrome/browser/chromeos/drive/sync/remove_performer.cc base::PostTaskAndReplyWithResult( base 92 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Bind(&TryToRemoveLocally, metadata_, local_id, entry), base 93 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Bind(&RemovePerformer::RemoveAfterGetResourceEntry, base 97 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Owned(entry))); base 139 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Bind(&RemovePerformer::TrashResourceAfterUpdateRemoteState, base 181 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Bind(&RemovePerformer::UnparentResourceAfterGetResourceEntry, base 231 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Bind(&RemovePerformer::UnparentResourceAfterUpdateRemoteState, base 248 chrome/browser/chromeos/drive/sync/remove_performer.cc base::PostTaskAndReplyWithResult( base 251 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Bind(&UpdateLocalStateAfterUnparent, metadata_, local_id), base 15 chrome/browser/chromeos/drive/sync/remove_performer.h namespace base { base 43 chrome/browser/chromeos/drive/sync/remove_performer.h RemovePerformer(base::SequencedTaskRunner* blocking_task_runner, base 96 chrome/browser/chromeos/drive/sync/remove_performer.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 104 chrome/browser/chromeos/drive/sync/remove_performer.h base::WeakPtrFactory<RemovePerformer> weak_ptr_factory_; base 25 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); base 26 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc base::FilePath file_in_subdir( base 74 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc const base::FilePath kPathInMyDrive(FILE_PATH_LITERAL( base 76 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc const base::FilePath kPathInOther(FILE_PATH_LITERAL( base 131 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc base::PostTaskAndReplyWithResult( base 134 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc base::Bind(&ResourceMetadata::AddEntry, base 135 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc base::Unretained(metadata()), base 131 chrome/browser/chromeos/drive/sync_client.cc base::Closure RunTaskAndReturnDummyCancelClosure(const base::Closure& task) { base 133 chrome/browser/chromeos/drive/sync_client.cc return base::Closure(); base 141 chrome/browser/chromeos/drive/sync_client.cc SyncClient::SyncClient(base::SequencedTaskRunner* blocking_task_runner, base 147 chrome/browser/chromeos/drive/sync_client.cc const base::FilePath& temporary_file_directory) base 165 chrome/browser/chromeos/drive/sync_client.cc delay_(base::TimeDelta::FromSeconds(kDelaySeconds)), base 166 chrome/browser/chromeos/drive/sync_client.cc long_delay_(base::TimeDelta::FromSeconds(kLongDelaySeconds)), base 182 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&CollectBacklog, metadata_, to_fetch, to_update), base 183 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&SyncClient::OnGetLocalIdsOfBacklog, base 185 chrome/browser/chromeos/drive/sync_client.cc base::Owned(to_fetch), base 186 chrome/browser/chromeos/drive/sync_client.cc base::Owned(to_update))); base 195 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&CheckExistingPinnedFiles, base 199 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&SyncClient::AddFetchTasks, base 201 chrome/browser/chromeos/drive/sync_client.cc base::Owned(local_ids))); base 235 chrome/browser/chromeos/drive/sync_client.cc const base::TimeDelta& delay) { base 239 chrome/browser/chromeos/drive/sync_client.cc task.task = base::Bind( base 241 chrome/browser/chromeos/drive/sync_client.cc base::Unretained(download_operation_.get()), base 246 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&SyncClient::OnFetchFileComplete, base 254 chrome/browser/chromeos/drive/sync_client.cc const base::TimeDelta& delay) { base 256 chrome/browser/chromeos/drive/sync_client.cc task.task = base::Bind( base 258 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&EntryUpdatePerformer::UpdateEntry, base 259 chrome/browser/chromeos/drive/sync_client.cc base::Unretained(entry_update_performer_.get()), base 262 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&SyncClient::OnUpdateComplete, base 270 chrome/browser/chromeos/drive/sync_client.cc const base::TimeDelta& delay) { base 290 chrome/browser/chromeos/drive/sync_client.cc base::MessageLoopProxy::current()->PostDelayedTask( base 292 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&SyncClient::StartTask, weak_ptr_factory_.GetWeakPtr(), key), base 359 chrome/browser/chromeos/drive/sync_client.cc const base::FilePath& local_path, base 373 chrome/browser/chromeos/drive/sync_client.cc base::PostTaskAndReplyWithResult( base 376 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&FileCache::Unpin, base::Unretained(cache_), local_id), base 377 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&util::EmptyFileOperationCallback)); base 413 chrome/browser/chromeos/drive/sync_client.cc base::PostTaskAndReplyWithResult( base 416 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&ResourceMetadata::ReadDirectoryById, base 417 chrome/browser/chromeos/drive/sync_client.cc base::Unretained(metadata_), local_id, entries), base 418 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&SyncClient::AddChildUpdateTasks, base 419 chrome/browser/chromeos/drive/sync_client.cc weak_ptr_factory_.GetWeakPtr(), base::Owned(entries))); base 428 chrome/browser/chromeos/drive/sync_client.cc base::TimeDelta::FromSeconds(0)); base 456 chrome/browser/chromeos/drive/sync_client.cc base::TimeDelta::FromSeconds(0)); base 19 chrome/browser/chromeos/drive/sync_client.h namespace base { base 51 chrome/browser/chromeos/drive/sync_client.h SyncClient(base::SequencedTaskRunner* blocking_task_runner, base 57 chrome/browser/chromeos/drive/sync_client.h const base::FilePath& temporary_file_directory); base 80 chrome/browser/chromeos/drive/sync_client.h void set_delay_for_testing(const base::TimeDelta& delay) { base 104 chrome/browser/chromeos/drive/sync_client.h base::Callback<base::Closure()> task; base 106 chrome/browser/chromeos/drive/sync_client.h base::Closure cancel_closure; base 113 chrome/browser/chromeos/drive/sync_client.h const base::TimeDelta& delay); base 118 chrome/browser/chromeos/drive/sync_client.h const base::TimeDelta& delay); base 123 chrome/browser/chromeos/drive/sync_client.h const base::TimeDelta& delay); base 141 chrome/browser/chromeos/drive/sync_client.h const base::FilePath& local_path, base 151 chrome/browser/chromeos/drive/sync_client.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 166 chrome/browser/chromeos/drive/sync_client.h base::TimeDelta delay_; base 169 chrome/browser/chromeos/drive/sync_client.h base::TimeDelta long_delay_; base 173 chrome/browser/chromeos/drive/sync_client.h base::WeakPtrFactory<SyncClient> weak_ptr_factory_; base 51 chrome/browser/chromeos/drive/sync_client_unittest.cc const base::FilePath& local_cache_path, base 58 chrome/browser/chromeos/drive/sync_client_unittest.cc base::MessageLoopProxy::current()->PostTask( base 60 chrome/browser/chromeos/drive/sync_client_unittest.cc base::Bind(download_action_callback, base 62 chrome/browser/chromeos/drive/sync_client_unittest.cc base::FilePath())); base 66 chrome/browser/chromeos/drive/sync_client_unittest.cc paused_action_ = base::Bind(download_action_callback, base 68 chrome/browser/chromeos/drive/sync_client_unittest.cc base::FilePath()); base 88 chrome/browser/chromeos/drive/sync_client_unittest.cc const base::Closure& paused_action() const { return paused_action_; } base 94 chrome/browser/chromeos/drive/sync_client_unittest.cc base::Closure paused_action_; base 100 chrome/browser/chromeos/drive/sync_client_unittest.cc const base::FilePath& path) OVERRIDE {} base 123 chrome/browser/chromeos/drive/sync_client_unittest.cc base::MessageLoopProxy::current().get())); base 126 chrome/browser/chromeos/drive/sync_client_unittest.cc temp_dir_.path(), base::MessageLoopProxy::current().get())); base 130 chrome/browser/chromeos/drive/sync_client_unittest.cc metadata_storage_.get(), base::MessageLoopProxy::current())); base 135 chrome/browser/chromeos/drive/sync_client_unittest.cc base::MessageLoopProxy::current().get(), base 143 chrome/browser/chromeos/drive/sync_client_unittest.cc base::MessageLoopProxy::current().get(), base 150 chrome/browser/chromeos/drive/sync_client_unittest.cc sync_client_.reset(new SyncClient(base::MessageLoopProxy::current().get(), base 159 chrome/browser/chromeos/drive/sync_client_unittest.cc sync_client_->set_delay_for_testing(base::TimeDelta::FromSeconds(0)); base 173 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 182 chrome/browser/chromeos/drive/sync_client_unittest.cc base::FilePath temp_file; base 183 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file)); base 200 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 223 chrome/browser/chromeos/drive/sync_client_unittest.cc base::MessageLoopProxy::current().get(), &observer_, metadata_.get(), base 229 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 234 chrome/browser/chromeos/drive/sync_client_unittest.cc base::MessageLoopProxy::current().get(), &observer_, metadata_.get()); base 239 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 253 chrome/browser/chromeos/drive/sync_client_unittest.cc base::ScopedTempDir temp_dir_; base 275 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 299 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 310 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 318 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 329 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 343 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 362 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 366 chrome/browser/chromeos/drive/sync_client_unittest.cc base::FilePath cache_file; base 369 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(base::ReadFileToString(cache_file, &content)); base 374 chrome/browser/chromeos/drive/sync_client_unittest.cc EXPECT_TRUE(base::ReadFileToString(cache_file, &content)); base 385 chrome/browser/chromeos/drive/sync_client_unittest.cc base::MessageLoopProxy::current()->PostDelayedTask( base 387 chrome/browser/chromeos/drive/sync_client_unittest.cc base::Bind(&test_util::FakeNetworkChangeNotifier::SetConnectionType, base 388 chrome/browser/chromeos/drive/sync_client_unittest.cc base::Unretained(fake_network_change_notifier_.get()), base 396 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 409 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 422 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 427 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 433 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 441 chrome/browser/chromeos/drive/sync_client_unittest.cc const base::FilePath kPath1(FILE_PATH_LITERAL("drive/root/dir1")); base 442 chrome/browser/chromeos/drive/sync_client_unittest.cc const base::FilePath kPath2 = kPath1.AppendASCII("dir2"); base 466 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 469 chrome/browser/chromeos/drive/sync_client_unittest.cc base::RunLoop().RunUntilIdle(); base 25 chrome/browser/chromeos/drive/test_util.cc class TaskObserver : public base::MessageLoop::TaskObserver { base 31 chrome/browser/chromeos/drive/test_util.cc virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 33 chrome/browser/chromeos/drive/test_util.cc virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 52 chrome/browser/chromeos/drive/test_util.cc base::MessageLoop::current()->AddTaskObserver(&task_observer); base 53 chrome/browser/chromeos/drive/test_util.cc base::RunLoop().RunUntilIdle(); base 54 chrome/browser/chromeos/drive/test_util.cc base::MessageLoop::current()->RemoveTaskObserver(&task_observer); base 21 chrome/browser/chromeos/drive/write_on_cache_file.cc void RunCloseCallbackAndReplyTask(const base::Closure& close_callback, base 33 chrome/browser/chromeos/drive/write_on_cache_file.cc const base::FilePath& drive_path, base 37 chrome/browser/chromeos/drive/write_on_cache_file.cc const base::FilePath& local_cache_path, base 38 chrome/browser/chromeos/drive/write_on_cache_file.cc const base::Closure& close_callback) { base 43 chrome/browser/chromeos/drive/write_on_cache_file.cc base::Bind(file_io_task_callback, error, local_cache_path), base 44 chrome/browser/chromeos/drive/write_on_cache_file.cc base::Bind(&RunCloseCallbackAndReplyTask, close_callback, reply, error)); base 50 chrome/browser/chromeos/drive/write_on_cache_file.cc const base::FilePath& path, base 54 chrome/browser/chromeos/drive/write_on_cache_file.cc base::Bind(&util::EmptyFileOperationCallback)); base 58 chrome/browser/chromeos/drive/write_on_cache_file.cc const base::FilePath& path, base 71 chrome/browser/chromeos/drive/write_on_cache_file.cc base::Bind(&WriteOnCacheFileAfterOpenFile, path, callback, reply)); base 11 chrome/browser/chromeos/drive/write_on_cache_file.h namespace base { base 20 chrome/browser/chromeos/drive/write_on_cache_file.h typedef base::Callback<void (FileError, const base::FilePath& path)> base 34 chrome/browser/chromeos/drive/write_on_cache_file.h const base::FilePath& path, base 41 chrome/browser/chromeos/drive/write_on_cache_file.h const base::FilePath& path, base 17 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc const base::FilePath::CharType kDrivePath[] = base 19 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc const base::FilePath::CharType kInvalidPath[] = base 21 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc const base::FilePath::CharType kLocalPath[] = base 32 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc virtual void OpenFile(const base::FilePath& file_path, base 39 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc if (file_path == base::FilePath(kInvalidPath)) { base 40 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc callback.Run(FILE_ERROR_INVALID_OPERATION, base::FilePath(), base 41 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc base::Closure()); base 45 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc callback.Run(FILE_ERROR_OK, base::FilePath(kLocalPath), base 46 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc base::Bind(&TestFileSystem::CloseFile, base 47 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc base::Unretained(this))); base 66 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc base::FilePath path; base 70 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc base::FilePath(kDrivePath), base 87 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc base::FilePath path; base 92 chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc base::FilePath(kInvalidPath), base 46 chrome/browser/chromeos/enrollment_dialog_view.cc const base::Closure& connect); base 52 chrome/browser/chromeos/enrollment_dialog_view.cc virtual base::string16 GetDialogButtonLabel( base 57 chrome/browser/chromeos/enrollment_dialog_view.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 66 chrome/browser/chromeos/enrollment_dialog_view.cc const base::Closure& connect); base 73 chrome/browser/chromeos/enrollment_dialog_view.cc base::Closure connect_; base 83 chrome/browser/chromeos/enrollment_dialog_view.cc const base::Closure& connect) base 100 chrome/browser/chromeos/enrollment_dialog_view.cc const base::Closure& connect) { base 130 chrome/browser/chromeos/enrollment_dialog_view.cc base::string16 EnrollmentDialogView::GetDialogButtonLabel( base 141 chrome/browser/chromeos/enrollment_dialog_view.cc base::string16 EnrollmentDialogView::GetWindowTitle() const { base 154 chrome/browser/chromeos/enrollment_dialog_view.cc base::UTF8ToUTF16(network_name_))); base 198 chrome/browser/chromeos/enrollment_dialog_view.cc const base::Closure& connect); base 218 chrome/browser/chromeos/enrollment_dialog_view.cc const base::Closure& post_action) { base 291 chrome/browser/chromeos/enrollment_dialog_view.cc base::Bind(&EnrollmentComplete, service_path)); base 138 chrome/browser/chromeos/events/event_rewriter.cc base::MessageLoopForUI::current()->AddObserver(this); base 139 chrome/browser/chromeos/events/event_rewriter.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 146 chrome/browser/chromeos/events/event_rewriter.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 147 chrome/browser/chromeos/events/event_rewriter.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 196 chrome/browser/chromeos/events/event_rewriter.cc base::EventStatus EventRewriter::WillProcessEvent( base 197 chrome/browser/chromeos/events/event_rewriter.cc const base::NativeEvent& event) { base 215 chrome/browser/chromeos/events/event_rewriter.cc return base::EVENT_CONTINUE; base 218 chrome/browser/chromeos/events/event_rewriter.cc void EventRewriter::DidProcessEvent(const base::NativeEvent& event) { base 30 chrome/browser/chromeos/events/event_rewriter.h public base::MessagePumpObserver { base 69 chrome/browser/chromeos/events/event_rewriter.h virtual base::EventStatus WillProcessEvent( base 70 chrome/browser/chromeos/events/event_rewriter.h const base::NativeEvent& event) OVERRIDE; base 71 chrome/browser/chromeos/events/event_rewriter.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; base 189 chrome/browser/chromeos/events/event_rewriter.h base::hash_map<unsigned long, unsigned long> keysym_to_keycode_map_; base 51 chrome/browser/chromeos/events/event_rewriter_unittest.cc return base::StringPrintf( base 63 chrome/browser/chromeos/events/event_rewriter_unittest.cc return base::StringPrintf( base 2313 chrome/browser/chromeos/events/event_rewriter_unittest.cc rewritten_event = base::StringPrintf( base 47 chrome/browser/chromeos/events/keyboard_driven_event_rewriter_unittest.cc return base::StringPrintf("ui_flags=%d x_state=%u changed=%d", base 56 chrome/browser/chromeos/events/keyboard_driven_event_rewriter_unittest.cc return base::StringPrintf( base 65 chrome/browser/chromeos/events/system_key_event_listener.cc base::MessageLoopForUI::current()->AddObserver(this); base 75 chrome/browser/chromeos/events/system_key_event_listener.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 79 chrome/browser/chromeos/events/system_key_event_listener.cc base::EventStatus SystemKeyEventListener::WillProcessEvent( base 80 chrome/browser/chromeos/events/system_key_event_listener.cc const base::NativeEvent& event) { base 81 chrome/browser/chromeos/events/system_key_event_listener.cc return ProcessedXEvent(event) ? base::EVENT_HANDLED : base::EVENT_CONTINUE; base 84 chrome/browser/chromeos/events/system_key_event_listener.cc void SystemKeyEventListener::DidProcessEvent(const base::NativeEvent& event) { base 15 chrome/browser/chromeos/events/system_key_event_listener.h class SystemKeyEventListener : public base::MessageLoopForUI::Observer { base 34 chrome/browser/chromeos/events/system_key_event_listener.h virtual base::EventStatus WillProcessEvent( base 35 chrome/browser/chromeos/events/system_key_event_listener.h const base::NativeEvent& event) OVERRIDE; base 36 chrome/browser/chromeos/events/system_key_event_listener.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; base 60 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc base::MessageLoopForUI::current()->AddObserver(this); base 71 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 85 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc base::EventStatus XInputHierarchyChangedEventListener::WillProcessEvent( base 86 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc const base::NativeEvent& event) { base 91 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc return base::EVENT_CONTINUE; base 95 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.cc const base::NativeEvent& event) { base 22 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.h : public base::MessageLoopForUI::Observer { base 40 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.h virtual base::EventStatus WillProcessEvent( base 41 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.h const base::NativeEvent& event) OVERRIDE; base 42 chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; base 147 chrome/browser/chromeos/extensions/accessibility_features_apitest.cc base::DictionaryValue test_arg; base 150 chrome/browser/chromeos/extensions/accessibility_features_apitest.cc scoped_ptr<base::ListValue> enabled_list(new base::ListValue); base 155 chrome/browser/chromeos/extensions/accessibility_features_apitest.cc scoped_ptr<base::ListValue> disabled_list(new base::ListValue); base 160 chrome/browser/chromeos/extensions/accessibility_features_apitest.cc return base::JSONWriter::Write(&test_arg, result); base 29 chrome/browser/chromeos/extensions/default_app_order.cc base::ListValue* ReadExternalOrdinalFile(const base::FilePath& path) { base 30 chrome/browser/chromeos/extensions/default_app_order.cc if (!base::PathExists(path)) base 35 chrome/browser/chromeos/extensions/default_app_order.cc base::Value* value = serializer.Deserialize(NULL, &error_msg); base 42 chrome/browser/chromeos/extensions/default_app_order.cc base::ListValue* ordinal_list_value = NULL; base 92 chrome/browser/chromeos/extensions/default_app_order.cc base::Bind(&ExternalLoader::Load, base::Unretained(this))); base 111 chrome/browser/chromeos/extensions/default_app_order.cc base::FilePath ordinals_file; base 114 chrome/browser/chromeos/extensions/default_app_order.cc scoped_ptr<base::ListValue> ordinals_value( base 37 chrome/browser/chromeos/extensions/default_app_order.h base::WaitableEvent loaded_; base 23 chrome/browser/chromeos/extensions/default_app_order_unittest.cc const base::FilePath::CharType kTestFile[] = base 51 chrome/browser/chromeos/extensions/default_app_order_unittest.cc void SetExternalFile(const base::FilePath& path) { base 52 chrome/browser/chromeos/extensions/default_app_order_unittest.cc path_override_.reset(new base::ScopedPathOverride( base 58 chrome/browser/chromeos/extensions/default_app_order_unittest.cc base::FilePath external_file = temp_dir_.path().Append(kTestFile); base 59 chrome/browser/chromeos/extensions/default_app_order_unittest.cc base::WriteFile(external_file, content.c_str(), content.size()); base 66 chrome/browser/chromeos/extensions/default_app_order_unittest.cc base::ScopedTempDir temp_dir_; base 67 chrome/browser/chromeos/extensions/default_app_order_unittest.cc scoped_ptr<base::ScopedPathOverride> path_override_; base 98 chrome/browser/chromeos/extensions/default_app_order_unittest.cc base::ScopedTempDir scoped_tmp_dir; base 101 chrome/browser/chromeos/extensions/default_app_order_unittest.cc base::FilePath none_existent_file = base 103 chrome/browser/chromeos/extensions/default_app_order_unittest.cc ASSERT_FALSE(base::PathExists(none_existent_file)); base 22 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc const base::FilePath& cache_dir) base 32 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner) { base 48 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc const base::Closure& callback) { base 55 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc base::DictionaryValue empty_prefs; base 78 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc const base::DictionaryValue* prefs) { base 90 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc scoped_ptr<base::DictionaryValue> prefs(new base::DictionaryValue); base 96 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc const base::Value* value = NULL; base 97 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc const base::DictionaryValue* dict = NULL; base 34 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h const base::FilePath& cache_dir); base 44 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner); base 48 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h void StopCache(const base::Closure& callback); base 59 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h const base::DictionaryValue* prefs) OVERRIDE; base 70 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h const base::FilePath cache_dir_; base 68 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc const base::Version*, base 69 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc const base::FilePath&, base 107 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc base::ScopedTempDir temp_dir_; base 108 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc base::FilePath cache_dir_; base 111 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc base::FilePath test_dir_; base 132 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc ASSERT_TRUE(base::CreateDirectoryAndGetError(cache_dir_, NULL)); base 134 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc new net::TestURLRequestContextGetter(base::MessageLoopProxy::current()); base 167 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc scoped_ptr<base::ListValue> forcelist(new base::ListValue); base 169 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc forcelist->AppendString(base::StringPrintf( base 192 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 203 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc loader_->StartCache(base::MessageLoopProxy::current()); base 204 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 210 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc base::RunLoop run_loop; base 217 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 229 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc loader_->StartCache(base::MessageLoopProxy::current()); base 236 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 247 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc EXPECT_TRUE(base::ReadFileToString(test_dir_.Append(kExtensionUpdateManifest), base 265 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc EXPECT_TRUE(base::CopyFile( base 274 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc const base::FilePath cached_crx_path = cache_dir_.Append(base::StringPrintf( base 276 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc base::RunLoop cache_run_loop; base 286 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc .WillOnce(InvokeWithoutArgs(&cache_run_loop, &base::RunLoop::Quit)); base 292 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc EXPECT_TRUE(base::ContentsEqual( base 299 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc base::RunLoop shutdown_run_loop; base 306 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 94 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc base::string16* error) const { base 122 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc base::UTF8ToUTF16(extension->name()), base 123 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc base::UTF8ToUTF16(extension->id())); base 28 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.h base::string16* error) const OVERRIDE; base 26 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc base::DictionaryValue* values) { base 30 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc return extensions::Extension::Create(base::FilePath(), base 40 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc base::DictionaryValue values; base 45 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc base::DictionaryValue values; base 52 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc base::DictionaryValue values; base 53 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc values.Set(extensions::manifest_keys::kApp, new base::DictionaryValue); base 54 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc values.Set(extensions::manifest_keys::kWebURLs, new base::ListValue); base 61 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc base::DictionaryValue values; base 62 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc values.Set(extensions::manifest_keys::kApp, new base::DictionaryValue); base 64 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc new base::DictionaryValue); base 66 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc new base::StringValue("background.html")); base 83 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc base::string16 error; base 85 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc EXPECT_EQ(base::string16(), error); base 93 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc EXPECT_EQ(base::string16(), error); base 101 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc EXPECT_EQ(base::string16(), error); base 110 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc EXPECT_NE(base::string16(), error); base 121 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc base::string16 error; base 123 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc EXPECT_EQ(base::string16(), error); base 132 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc EXPECT_NE(base::string16(), error); base 141 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc EXPECT_NE(base::string16(), error); base 150 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc EXPECT_NE(base::string16(), error); base 65 chrome/browser/chromeos/extensions/echo_private_api.cc chromeos::KioskModeSettings::Get()->Initialize(base::Bind( base 111 chrome/browser/chromeos/extensions/echo_private_api.cc base::DictionaryValue* dict = params->offer_info. base 131 chrome/browser/chromeos/extensions/echo_private_api.cc const base::DictionaryValue* offer_infos = local_state-> base 134 chrome/browser/chromeos/extensions/echo_private_api.cc const base::DictionaryValue* offer_info = NULL; base 156 chrome/browser/chromeos/extensions/echo_private_api.cc base::Bind( base 159 chrome/browser/chromeos/extensions/echo_private_api.cc base::Bind( base 173 chrome/browser/chromeos/extensions/echo_private_api.cc base::File::Info fileInfo; base 174 chrome/browser/chromeos/extensions/echo_private_api.cc if (base::GetFileInfo(base::FilePath(kOobeTimestampFile), &fileInfo)) { base 175 chrome/browser/chromeos/extensions/echo_private_api.cc base::Time::Exploded ctime; base 177 chrome/browser/chromeos/extensions/echo_private_api.cc timestamp += base::StringPrintf("%u-%u-%u", base 226 chrome/browser/chromeos/extensions/echo_private_api.cc chromeos::CrosSettings::Get()->PrepareTrustedValues(base::Bind( base 262 chrome/browser/chromeos/extensions/echo_private_api.cc base::UTF8ToUTF16(params->consent_requester.service_name), base 263 chrome/browser/chromeos/extensions/echo_private_api.cc base::UTF8ToUTF16(params->consent_requester.origin)); base 92 chrome/browser/chromeos/extensions/echo_private_api.h typedef base::Callback<void(chromeos::EchoDialogView* dialog)> base 47 chrome/browser/chromeos/extensions/echo_private_apitest.cc EchoPrivateGetUserConsentFunction::CreateForTest(base::Bind( base 51 chrome/browser/chromeos/extensions/echo_private_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 57 chrome/browser/chromeos/extensions/echo_private_apitest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, result->GetType()); base 84 chrome/browser/chromeos/extensions/echo_private_apitest.cc base::MessageLoopProxy::current()->PostTask( base 86 chrome/browser/chromeos/extensions/echo_private_apitest.cc base::Bind(base::IgnoreResult(&chromeos::EchoDialogView::Accept), base 87 chrome/browser/chromeos/extensions/echo_private_apitest.cc base::Unretained(dialog))); base 89 chrome/browser/chromeos/extensions/echo_private_apitest.cc base::MessageLoopProxy::current()->PostTask( base 91 chrome/browser/chromeos/extensions/echo_private_apitest.cc base::Bind(base::IgnoreResult(&chromeos::EchoDialogView::Cancel), base 92 chrome/browser/chromeos/extensions/echo_private_apitest.cc base::Unretained(dialog))); base 119 chrome/browser/chromeos/extensions/echo_private_apitest.cc EchoPrivateGetUserConsentFunction::CreateForTest(base::Bind( base 121 chrome/browser/chromeos/extensions/echo_private_apitest.cc base::Unretained(this)))); base 28 chrome/browser/chromeos/extensions/extension_system_event_observer.cc const base::TimeDelta& sleep_duration) { base 25 chrome/browser/chromeos/extensions/extension_system_event_observer.h virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE; base 30 chrome/browser/chromeos/extensions/external_cache.cc ExternalCache::ExternalCache(const base::FilePath& cache_dir, base 32 chrome/browser/chromeos/extensions/external_cache.cc const scoped_refptr<base::SequencedTaskRunner>& base 37 chrome/browser/chromeos/extensions/external_cache.cc : local_cache_(cache_dir, 0, base::TimeDelta(), backend_task_runner), base 43 chrome/browser/chromeos/extensions/external_cache.cc cached_extensions_(new base::DictionaryValue()), base 54 chrome/browser/chromeos/extensions/external_cache.cc void ExternalCache::Shutdown(const base::Closure& callback) { base 59 chrome/browser/chromeos/extensions/external_cache.cc scoped_ptr<base::DictionaryValue> prefs) { base 73 chrome/browser/chromeos/extensions/external_cache.cc base::Bind(&ExternalCache::CheckCache, base 80 chrome/browser/chromeos/extensions/external_cache.cc void ExternalCache::OnDamagedFileDetected(const base::FilePath& path) { base 81 chrome/browser/chromeos/extensions/external_cache.cc for (base::DictionaryValue::Iterator it(*cached_extensions_.get()); base 83 chrome/browser/chromeos/extensions/external_cache.cc const base::DictionaryValue* entry = NULL; base 145 chrome/browser/chromeos/extensions/external_cache.cc const base::FilePath& path, base 153 chrome/browser/chromeos/extensions/external_cache.cc base::Bind(&ExternalCache::OnPutExtension, base 165 chrome/browser/chromeos/extensions/external_cache.cc base::DictionaryValue* extension_dictionary = NULL; base 194 chrome/browser/chromeos/extensions/external_cache.cc for (base::DictionaryValue::Iterator it(*extensions_.get()); base 196 chrome/browser/chromeos/extensions/external_cache.cc const base::DictionaryValue* entry = NULL; base 219 chrome/browser/chromeos/extensions/external_cache.cc base::FilePath file_path; base 223 chrome/browser/chromeos/extensions/external_cache.cc base::DictionaryValue* entry_copy = entry->DeepCopy(); base 258 chrome/browser/chromeos/extensions/external_cache.cc const base::FilePath& file_path, base 262 chrome/browser/chromeos/extensions/external_cache.cc base::Bind(base::IgnoreResult(&base::DeleteFile), file_path, true)); base 268 chrome/browser/chromeos/extensions/external_cache.cc base::DictionaryValue* entry = NULL; base 23 chrome/browser/chromeos/extensions/external_cache.h namespace base { base 46 chrome/browser/chromeos/extensions/external_cache.h const base::DictionaryValue* prefs) = 0; base 60 chrome/browser/chromeos/extensions/external_cache.h ExternalCache(const base::FilePath& cache_dir, base 62 chrome/browser/chromeos/extensions/external_cache.h const scoped_refptr<base::SequencedTaskRunner>& base 70 chrome/browser/chromeos/extensions/external_cache.h const base::DictionaryValue* cached_extensions() { base 88 chrome/browser/chromeos/extensions/external_cache.h const base::FilePath& path, base 102 chrome/browser/chromeos/extensions/external_cache.h void Shutdown(const base::Closure& callback); base 106 chrome/browser/chromeos/extensions/external_cache.h void UpdateExtensionsList(scoped_ptr<base::DictionaryValue> prefs); base 111 chrome/browser/chromeos/extensions/external_cache.h void OnDamagedFileDetected(const base::FilePath& path); base 123 chrome/browser/chromeos/extensions/external_cache.h const base::FilePath& file_path, base 132 chrome/browser/chromeos/extensions/external_cache.h const scoped_refptr<base::SequencedTaskRunner> backend_task_runner_; base 144 chrome/browser/chromeos/extensions/external_cache.h scoped_ptr<base::DictionaryValue> extensions_; base 148 chrome/browser/chromeos/extensions/external_cache.h scoped_ptr<base::DictionaryValue> cached_extensions_; base 157 chrome/browser/chromeos/extensions/external_cache.h base::WeakPtrFactory<ExternalCache> weak_ptr_factory_; base 46 chrome/browser/chromeos/extensions/external_cache_unittest.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner() { base 54 chrome/browser/chromeos/extensions/external_cache_unittest.cc const base::DictionaryValue* provided_prefs() { base 66 chrome/browser/chromeos/extensions/external_cache_unittest.cc new base::SequencedWorkerPoolOwner(3, "Background Pool")); base 73 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 78 chrome/browser/chromeos/extensions/external_cache_unittest.cc const base::DictionaryValue* prefs) OVERRIDE { base 89 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::FilePath CreateCacheDir(bool initialized) { base 96 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::FilePath CreateTempDir() { base 101 chrome/browser/chromeos/extensions/external_cache_unittest.cc void CreateFlagFile(const base::FilePath& dir) { base 106 chrome/browser/chromeos/extensions/external_cache_unittest.cc void CreateExtensionFile(const base::FilePath& dir, base 112 chrome/browser/chromeos/extensions/external_cache_unittest.cc void CreateFile(const base::FilePath& file) { base 113 chrome/browser/chromeos/extensions/external_cache_unittest.cc EXPECT_EQ(base::WriteFile(file, NULL, 0), 0); base 116 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::FilePath GetExtensionFile(const base::FilePath& dir, base 122 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::DictionaryValue* CreateEntryWithUpdateUrl(bool from_webstore) { base 123 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::DictionaryValue* entry = new base::DictionaryValue; base 134 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 148 chrome/browser/chromeos/extensions/external_cache_unittest.cc scoped_ptr<base::SequencedWorkerPoolOwner> pool_owner_; base 149 chrome/browser/chromeos/extensions/external_cache_unittest.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 151 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::ScopedTempDir cache_dir_; base 152 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::ScopedTempDir temp_dir_; base 153 chrome/browser/chromeos/extensions/external_cache_unittest.cc scoped_ptr<base::DictionaryValue> prefs_; base 160 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::FilePath cache_dir(CreateCacheDir(false)); base 164 chrome/browser/chromeos/extensions/external_cache_unittest.cc scoped_ptr<base::DictionaryValue> prefs(new base::DictionaryValue); base 165 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::DictionaryValue* dict = CreateEntryWithUpdateUrl(true); base 181 chrome/browser/chromeos/extensions/external_cache_unittest.cc const base::DictionaryValue* entry1 = NULL; base 195 chrome/browser/chromeos/extensions/external_cache_unittest.cc const base::DictionaryValue* entry3 = NULL; base 207 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::FilePath temp_dir(CreateTempDir()); base 208 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::FilePath temp_file2 = temp_dir.Append("b.crx"); base 221 chrome/browser/chromeos/extensions/external_cache_unittest.cc const base::DictionaryValue* entry2 = NULL; base 233 chrome/browser/chromeos/extensions/external_cache_unittest.cc EXPECT_TRUE(base::PathExists( base 237 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::FilePath temp_file4 = temp_dir.Append("d.crx"); base 250 chrome/browser/chromeos/extensions/external_cache_unittest.cc const base::DictionaryValue* entry4 = NULL; base 260 chrome/browser/chromeos/extensions/external_cache_unittest.cc EXPECT_TRUE(base::PathExists( base 268 chrome/browser/chromeos/extensions/external_cache_unittest.cc EXPECT_FALSE(base::PathExists( base 272 chrome/browser/chromeos/extensions/external_cache_unittest.cc scoped_ptr<base::DictionaryValue> empty(new base::DictionaryValue); base 274 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::Bind(&ExternalCacheTest::OnExtensionListsUpdated, base 275 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::Unretained(this), base 276 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::Unretained(empty.get()))); base 284 chrome/browser/chromeos/extensions/external_cache_unittest.cc EXPECT_TRUE(base::PathExists( base 289 chrome/browser/chromeos/extensions/external_cache_unittest.cc base::FilePath cache_dir(CreateCacheDir(false)); base 293 chrome/browser/chromeos/extensions/external_cache_unittest.cc scoped_ptr<base::DictionaryValue> prefs(new base::DictionaryValue); base 306 chrome/browser/chromeos/extensions/external_cache_unittest.cc const base::DictionaryValue* entry1 = NULL; base 58 chrome/browser/chromeos/extensions/file_manager/event_router.cc void DirectoryExistsOnBlockingPool(const base::FilePath& directory_path, base 59 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::Closure& success_callback, base 60 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::Closure& failure_callback) { base 63 chrome/browser/chromeos/extensions/file_manager/event_router.cc if (base::DirectoryExists(directory_path)) base 69 chrome/browser/chromeos/extensions/file_manager/event_router.cc void DirectoryExistsOnUIThread(const base::FilePath& directory_path, base 70 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::Closure& success_callback, base 71 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::Closure& failure_callback) { base 76 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::Bind(&DirectoryExistsOnBlockingPool, base 106 chrome/browser/chromeos/extensions/file_manager/event_router.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 174 chrome/browser/chromeos/extensions/file_manager/event_router.cc scoped_ptr<base::ListValue> event_args) { base 272 chrome/browser/chromeos/extensions/file_manager/event_router.cc std::string FileErrorToErrorName(base::File::Error error_code) { base 275 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NOT_FOUND: base 277 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_INVALID_OPERATION: base 278 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_EXISTS: base 279 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NOT_EMPTY: base 281 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NOT_A_DIRECTORY: base 282 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NOT_A_FILE: base 284 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_ACCESS_DENIED: base 286 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_FAILED: base 288 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_ABORT: base 290 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_SECURITY: base 292 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NO_SPACE: base 294 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_INVALID_URL: base 415 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::Closure callback = base 416 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::Bind(&EventRouter::OnFileManagerPrefsChanged, base 429 chrome/browser/chromeos/extensions/file_manager/event_router.cc void EventRouter::AddFileWatch(const base::FilePath& local_path, base 430 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::FilePath& virtual_path, base 436 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::FilePath watch_path = local_path; base 451 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 452 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::Bind(callback, true)); base 457 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::Bind(&EventRouter::HandleFileWatchNotification, base 465 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 466 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::Bind(callback, true)); base 470 chrome/browser/chromeos/extensions/file_manager/event_router.cc void EventRouter::RemoveFileWatch(const base::FilePath& local_path, base 474 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::FilePath watch_path = local_path; base 495 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::File::Error error) { base 499 chrome/browser/chromeos/extensions/file_manager/event_router.cc if (error == base::File::FILE_OK) { base 609 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::Time now = base::Time::Now(); base 643 chrome/browser/chromeos/extensions/file_manager/event_router.cc void EventRouter::OnDirectoryChanged(const base::FilePath& drive_path) { base 648 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::FilePath& drive_path) { base 682 chrome/browser/chromeos/extensions/file_manager/event_router.cc void EventRouter::HandleFileWatchNotification(const base::FilePath& local_path, base 695 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::FilePath& virtual_path, base 714 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::Bind( base 724 chrome/browser/chromeos/extensions/file_manager/event_router.cc if (entry_definition.error != base::File::FILE_OK) { base 750 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::FilePath& mount_path) { base 766 chrome/browser/chromeos/extensions/file_manager/event_router.cc const base::FilePath dcim_path = mount_path.Append( base 774 chrome/browser/chromeos/extensions/file_manager/event_router.cc ? base::Bind(&base::DoNothing) base 775 chrome/browser/chromeos/extensions/file_manager/event_router.cc : base::Bind(&util::OpenRemovableDrive, profile_, mount_path), base 776 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::Bind(&util::OpenRemovableDrive, profile_, mount_path)); base 36 chrome/browser/chromeos/extensions/file_manager/event_router.h namespace base { base 65 chrome/browser/chromeos/extensions/file_manager/event_router.h typedef base::Callback<void(bool success)> BoolCallback; base 72 chrome/browser/chromeos/extensions/file_manager/event_router.h void AddFileWatch(const base::FilePath& local_path, base 73 chrome/browser/chromeos/extensions/file_manager/event_router.h const base::FilePath& virtual_path, base 78 chrome/browser/chromeos/extensions/file_manager/event_router.h void RemoveFileWatch(const base::FilePath& local_path, base 84 chrome/browser/chromeos/extensions/file_manager/event_router.h base::File::Error error); base 110 chrome/browser/chromeos/extensions/file_manager/event_router.h virtual void OnDirectoryChanged(const base::FilePath& drive_path) OVERRIDE; base 112 chrome/browser/chromeos/extensions/file_manager/event_router.h const base::FilePath& drive_path) OVERRIDE; base 141 chrome/browser/chromeos/extensions/file_manager/event_router.h typedef std::map<base::FilePath, FileWatcher*> WatcherMap; base 147 chrome/browser/chromeos/extensions/file_manager/event_router.h void HandleFileWatchNotification(const base::FilePath& path, base 152 chrome/browser/chromeos/extensions/file_manager/event_router.h const base::FilePath& path, base 165 chrome/browser/chromeos/extensions/file_manager/event_router.h void ShowRemovableDeviceInFileManager(const base::FilePath& mount_path); base 187 chrome/browser/chromeos/extensions/file_manager/event_router.h base::Time last_file_transfer_event_; base 198 chrome/browser/chromeos/extensions/file_manager/event_router.h base::WeakPtrFactory<EventRouter> weak_factory_; base 75 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc base::FilePath::StringType allowed_extension = base 76 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc base::FilePath::FromUTF8Unsafe(extensions[i]).value(); base 80 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc std::vector<base::FilePath::StringType> inner_vector; base 115 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc const base::FilePath& suggested_name, base 121 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc virtual void FileSelected(const base::FilePath& path, base 124 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc virtual void MultiFilesSelected(const std::vector<base::FilePath>& files, base 138 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc bool StartSelectFile(const base::FilePath& suggested_name, base 148 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc void SendResponse(bool success, const base::FilePath& selected_path); base 166 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc SendResponse(false, base::FilePath()); base 170 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc const base::FilePath& suggested_name, base 181 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 182 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc base::Bind(&FileSelectorImpl::FileSelectionCanceled, base 183 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc base::Unretained(this), static_cast<void*>(NULL))); base 188 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc const base::FilePath& suggested_name, base 212 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc base::string16() /* dialog title*/, base 223 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc const base::FilePath& path, int index, void* params) { base 229 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc const std::vector<base::FilePath>& files, base 237 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc SendResponse(false, base::FilePath()); base 242 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc const base::FilePath& selected_path) { base 290 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc base::FilePath suggested_name(params->selection_params.suggested_name); base 310 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc const base::FilePath& full_path) { base 333 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc base::Bind( base 341 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc const base::FilePath& full_path, base 371 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc if (success && entry_definition.error == base::File::FILE_OK) { base 57 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.h const base::FilePath& suggested_name, base 105 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.h void OnFilePathSelected(bool success, const base::FilePath& full_path); base 119 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.h const base::FilePath& full_path, base 143 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.h std::vector<std::pair<base::FilePath, int> > permissions_to_grant_; base 34 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc TestCase(const base::FilePath& suggested_name, base 37 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc const base::FilePath& selected_path) base 46 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath suggested_name; base 54 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath selected_path; base 59 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc void ExpectFileContentEquals(const base::FilePath& selected_path, base 62 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc ASSERT_TRUE(base::ReadFileToString(selected_path, &test_file_contents)); base 72 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc MockFileSelector(const base::FilePath& suggested_name, base 75 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc const base::FilePath& selected_path) base 86 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc const base::FilePath& suggested_name, base 102 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 103 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::Bind(&FileBrowserHandlerInternalSelectFileFunction:: base 111 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath suggested_name_; base 119 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath selected_path_; base 147 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath suggested_name_; base 153 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath selected_path_; base 167 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::CreateDirectory(tmp_mount_point_); base 181 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath GetFullPathOnTmpMountPoint( base 182 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc const base::FilePath& relative_path) { base 222 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::ScopedTempDir scoped_tmp_dir_; base 224 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath tmp_mount_point_; base 241 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc const base::FilePath selected_path = base 242 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc GetFullPathOnTmpMountPoint(base::FilePath("test_file.txt")); base 250 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc TestCase(base::FilePath("some_file_name.txt"), base 255 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc TestCase(base::FilePath("fail"), base 258 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath())); base 268 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc ASSERT_FALSE(base::PathExists(selected_path)); base 285 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc ASSERT_TRUE(base::PathExists(selected_path)); base 290 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::Bind(&ExpectFileContentEquals, selected_path, expected_contents)); base 322 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc TestCase test_case(base::FilePath("some_file_name.txt"), base 325 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath()); base 336 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc scoped_ptr<base::DictionaryValue> result(utils::ToDictionary( base 343 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::DictionaryValue* entry_info; base 351 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc TestCase test_case(base::FilePath("some_file_name.txt"), base 354 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::FilePath()); base 365 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc scoped_ptr<base::DictionaryValue> result(utils::ToDictionary( base 372 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc base::DictionaryValue* entry_info; base 20 chrome/browser/chromeos/extensions/file_manager/private_api_base.cc start_time_ = base::Time::Now(); base 29 chrome/browser/chromeos/extensions/file_manager/private_api_base.cc int64 elapsed = (base::Time::Now() - start_time_).InMilliseconds(); base 36 chrome/browser/chromeos/extensions/file_manager/private_api_base.cc base::Int64ToString(elapsed).c_str()); base 43 chrome/browser/chromeos/extensions/file_manager/private_api_base.cc base::Int64ToString(elapsed).c_str()); base 39 chrome/browser/chromeos/extensions/file_manager/private_api_base.h base::Time start_time_; base 56 chrome/browser/chromeos/extensions/file_manager/private_api_dialog.cc base::Bind( base 92 chrome/browser/chromeos/extensions/file_manager/private_api_dialog.cc base::Bind( base 128 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc const base::FilePath local_path = file_manager::util::GetLocalPathFromURL( base 150 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind( base 181 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind( base 188 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc const base::FilePath& file_path) { base 204 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind( base 280 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivateGetDriveEntryPropertiesFunction:: base 314 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc const base::FilePath drive_path = base 319 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivatePinDriveFileFunction:: base 323 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivatePinDriveFileFunction:: base 356 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc const base::FilePath path = file_manager::util::GetLocalPathFromURL( base 359 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::FilePath drive_path = drive::util::ExtractDrivePath(path); base 377 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::FilePath drive_path = remaining_drive_paths_.front(); base 390 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivateGetDriveFilesFunction::OnFileReady, this)); base 396 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc const base::FilePath& local_path, base 398 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::FilePath drive_path = remaining_drive_paths_.front(); base 430 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc typedef std::map<base::FilePath, std::vector<drive::JobID> > PathToIdMap; base 441 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::FilePath file_path = file_manager::util::GetLocalPathFromURL( base 483 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivateSearchDriveFunction::OnSearch, this)); base 505 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivateSearchDriveFunction::OnEntryDefinitionList, base 508 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Passed(&results))); base 516 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::ListValue* entries = new base::ListValue(); base 522 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 530 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::DictionaryValue* result = new base::DictionaryValue(); base 585 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivateSearchDriveMetadataFunction:: base 607 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind( base 610 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Passed(&results))); base 617 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::ListValue* results_list = new base::ListValue(); base 624 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::DictionaryValue* result_dict = new base::DictionaryValue(); base 627 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 692 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc SetResult(new base::StringValue("")); base 704 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivateRequestAccessTokenFunction:: base 712 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc SetResult(new base::StringValue(access_token)); base 721 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc const base::FilePath path = file_manager::util::GetLocalPathFromURL( base 725 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc const base::FilePath drive_path = drive::util::ExtractDrivePath(path); base 737 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivateGetShareUrlFunction::OnGetShareUrl, this)); base 750 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc SetResult(new base::StringValue(share_url.spec())); base 759 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc const base::FilePath path = file_manager::util::GetLocalPathFromURL( base 761 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc const base::FilePath drive_path = drive::util::ExtractDrivePath(path); base 799 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc base::Bind(&FileBrowserPrivateRequestDriveShareFunction::OnAddPermission, base 51 chrome/browser/chromeos/extensions/file_manager/private_api_drive.h const base::FilePath& file_path); base 63 chrome/browser/chromeos/extensions/file_manager/private_api_drive.h base::FilePath file_path_; base 118 chrome/browser/chromeos/extensions/file_manager/private_api_drive.h const base::FilePath& local_path, base 121 chrome/browser/chromeos/extensions/file_manager/private_api_drive.h std::queue<base::FilePath> remaining_drive_paths_; base 118 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&NotifyCopyProgress, base 129 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::File::Error error) { base 147 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::File::Error error) { base 152 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&NotifyCopyCompletion, base 173 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&OnCopyProgress, base 174 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc profile_id, base::Unretained(operation_id)), base 175 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&OnCopyCompleted, base 176 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc profile_id, base::Owned(operation_id), base 181 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc void OnCopyCancelled(base::File::Error error) { base 186 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc DLOG_IF(WARNING, error != base::File::FILE_OK) base 197 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc operation_id, base::Bind(&OnCopyCancelled)); base 203 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::File::Error error_code) { base 206 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc SetError(base::StringPrintf("File error %d", static_cast<int>(error_code))); base 239 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc std::vector<base::FilePath> root_dirs = backend->GetRootDirectories(); base 280 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc DidFail(base::File::FILE_ERROR_NOT_FOUND); base 294 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc DidFail(base::File::FILE_ERROR_SECURITY); base 304 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc DidFail(base::File::FILE_ERROR_INVALID_OPERATION); base 313 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind( base 323 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc if (entry_definition.error != base::File::FILE_OK) { base 328 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 339 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc SetResult(base::Value::CreateBooleanValue(success)); base 359 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::FilePath local_path = file_watch_url.path(); base 360 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::FilePath virtual_path = file_watch_url.virtual_path(); base 371 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc const base::FilePath& local_path, base 372 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc const base::FilePath& virtual_path, base 382 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&FileBrowserPrivateAddFileWatchFunction::Respond, this)); base 386 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc const base::FilePath& local_path, base 387 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc const base::FilePath& unused, base 424 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&FileBrowserPrivateGetSizeStatsFunction:: base 432 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&GetSizeStatsOnBlockingPool, base 436 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&FileBrowserPrivateGetSizeStatsFunction:: base 439 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Owned(total_size), base 440 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Owned(remaining_size))); base 463 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::DictionaryValue* sizes = new base::DictionaryValue(); base 488 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc SetResult(new base::FundamentalValue(true)); base 493 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::PostTaskAndReplyWithResult( base 496 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&GetFileNameMaxLengthOnBlockingPool, base 498 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&FileBrowserPrivateValidatePathNameLengthFunction:: base 507 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc SetResult(new base::FundamentalValue(current_length <= max_length)); base 564 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&StartCopyOnIOThread, base 569 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&FileBrowserPrivateStartCopyFunction::RunAfterStartCopy, base 577 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc SetResult(base::Value::CreateIntegerValue(operation_id)); base 596 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::Bind(&CancelCopyOnIOThread, file_system_context, params->copy_id)); base 18 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h namespace base { base 50 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h void RespondFailedOnUIThread(base::File::Error error_code); base 54 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h void DidFail(base::File::Error error_code); base 79 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h const base::FilePath& local_path, base 80 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h const base::FilePath& virtual_path, base 102 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h const base::FilePath& local_path, base 103 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h const base::FilePath& virtual_path, base 120 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h const base::FilePath& local_path, base 121 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h const base::FilePath& virtual_path, base 177 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc base::FilePath src_dir = file_manager::util::GetLocalPathFromURL( base 186 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc std::vector<base::FilePath> files; base 188 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc base::FilePath path = file_manager::util::GetLocalPathFromURL( base 204 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc base::FilePath dest_file = src_dir.Append(params->dest_name); base 205 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc std::vector<base::FilePath> src_relative_paths; base 207 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc const base::FilePath& file_path = files[i]; base 210 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc base::FilePath relative_path; base 229 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc SetResult(new base::FundamentalValue(success)); base 267 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc base::Bind( base 329 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc SetResult(base::Value::CreateNullValue()); base 340 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc auth_service_->StartAuthentication(base::Bind( base 358 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc SetResult(new base::StringValue(access_token)); base 366 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc SetResult(base::Value::CreateNullValue()); base 41 chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc const base::FilePath path = file_manager::util::GetLocalPathFromURL( base 56 chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc base::Bind( base 67 chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc const base::FilePath& display_name, base 69 chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc const base::FilePath& file_path) { base 78 chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc SetResult(new base::StringValue(file_path.AsUTF8Unsafe())); base 85 chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc base::FilePath(display_name.Extension()).AsUTF8Unsafe(), base 38 chrome/browser/chromeos/extensions/file_manager/private_api_mount.h void RunAfterMarkCacheFileAsMounted(const base::FilePath& display_name, base 40 chrome/browser/chromeos/extensions/file_manager/private_api_mount.h const base::FilePath& file_path); base 66 chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 509 chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc base::SysInfo::GetLsbReleaseBoard()); base 520 chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc base::StringPrintf(kHelpURLFormat, kDownloadsLowSpaceWarningHelpNumber)); base 523 chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc base::StringPrintf(kHelpURLFormat, kFilesAppHelpNumber)); base 526 chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc base::StringPrintf(kHelpURLFormat, kGoogleDriveErrorHelpNumber)); base 529 chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc base::StringPrintf(kHelpURLFormat, kNoActionForFileHelpNumber)); base 101 chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc base::Bind(&FileBrowserPrivateExecuteTaskFunction::OnTaskExecuted, this)); base 149 chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc const base::FilePath file_path = file_system_url.path(); base 215 chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc SetResult(new base::FundamentalValue(true)); base 38 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc std::vector<base::FilePath> file_paths; base 46 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc const base::FilePath& local_file_path, base 58 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc const base::FilePath& file_path = params->file_paths[i]; base 62 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc ui::SelectedFileInfo(file_path, base::FilePath())); base 69 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::FilePath(), base 78 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc ui::SelectedFileInfo(file_path, base::FilePath())); base 83 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::Bind(&ContinueGetSelectedFileInfo, base 85 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::Passed(¶ms))); base 90 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::Bind(&ContinueGetSelectedFileInfo, base 92 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::Passed(¶ms))); base 104 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc const base::FilePath& local_file_path, base 109 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc const base::FilePath& file_path = params->file_paths[index]; base 110 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::FilePath local_path; base 225 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::FilePath GetLocalPathFromURL(content::RenderViewHost* render_view_host, base 236 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::FilePath path; base 238 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc return base::FilePath(); base 256 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc const base::FilePath path = GetLocalPathFromURL( base 264 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::MessageLoop::current()->PostTask( base 266 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc base::Bind(&GetSelectedFileInfoInternal, profile, base::Passed(¶ms))); base 271 chrome/browser/chromeos/extensions/file_manager/private_api_util.cc const base::FilePath paths[] = { base 17 chrome/browser/chromeos/extensions/file_manager/private_api_util.h namespace base { base 61 chrome/browser/chromeos/extensions/file_manager/private_api_util.h base::FilePath GetLocalPathFromURL(content::RenderViewHost* render_view_host, base 66 chrome/browser/chromeos/extensions/file_manager/private_api_util.h typedef base::Callback<void(const std::vector<ui::SelectedFileInfo>&)> base 25 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc base::DictionaryValue* CreateError(const std::string& name, base 27 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc base::DictionaryValue* error = new base::DictionaryValue(); base 42 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc base::ListValue* result = new base::ListValue(); base 43 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc result->Append(new base::StringValue("")); base 61 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc base::ListValue* result = new base::ListValue(); base 62 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc result->Append(new base::FundamentalValue(0)); base 69 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc base::ListValue* result = new base::ListValue(); base 70 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc result->Append(new base::FundamentalValue(file_system_id)); base 19 chrome/browser/chromeos/extensions/first_run_private_api.cc base::DictionaryValue* localized_strings = new base::DictionaryValue(); base 32 chrome/browser/chromeos/extensions/first_run_private_api.cc base::string16 product_name = base 116 chrome/browser/chromeos/extensions/info_private_api.cc base::ListValue* list = NULL; base 118 chrome/browser/chromeos/extensions/info_private_api.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 122 chrome/browser/chromeos/extensions/info_private_api.cc base::Value* value = GetValue(property_name); base 131 chrome/browser/chromeos/extensions/info_private_api.cc base::Value* ChromeosInfoPrivateGetFunction::GetValue( base 138 chrome/browser/chromeos/extensions/info_private_api.cc return new base::StringValue(hwid); base 145 chrome/browser/chromeos/extensions/info_private_api.cc return new base::StringValue(customization_id); base 153 chrome/browser/chromeos/extensions/info_private_api.cc return new base::StringValue(home_provider_id); base 155 chrome/browser/chromeos/extensions/info_private_api.cc return new base::StringValue( base 158 chrome/browser/chromeos/extensions/info_private_api.cc return new base::StringValue(base::SysInfo::GetLsbReleaseBoard()); base 160 chrome/browser/chromeos/extensions/info_private_api.cc return base::Value::CreateBooleanValue( base 166 chrome/browser/chromeos/extensions/info_private_api.cc scoped_ptr<base::ListValue> values = chromeos::system::GetTimezoneList(); base 172 chrome/browser/chromeos/extensions/info_private_api.cc return base::Value::CreateBooleanValue( base 195 chrome/browser/chromeos/extensions/info_private_api.cc base::StringValue(param_value)); base 13 chrome/browser/chromeos/extensions/info_private_api.h namespace base { base 30 chrome/browser/chromeos/extensions/info_private_api.h base::Value* GetValue(const std::string& property_name); base 14 chrome/browser/chromeos/extensions/info_private_apitest.cc base::StringValue initial_timezone("America/Los_Angeles"); base 40 chrome/browser/chromeos/extensions/input_method_api.cc SetResult(base::Value::CreateStringValue(input_method)); base 105 chrome/browser/chromeos/extensions/input_method_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<InputMethodAPI> > base 68 chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc base::StringPrintf("%s:%s", kSetInputMethodMessage, kNewInputMethod); base 72 chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc base::StringPrintf("xkb:%s", kNewInputMethod))); base 39 chrome/browser/chromeos/extensions/input_method_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 40 chrome/browser/chromeos/extensions/input_method_event_router.cc base::StringValue *input_method_name = new base::StringValue( base 22 chrome/browser/chromeos/extensions/install_limiter.cc int64 GetFileSizeOnBlockingPool(const base::FilePath& file) { base 28 chrome/browser/chromeos/extensions/install_limiter.cc return base::GetFileSize(file, &size) ? size : 0; base 40 chrome/browser/chromeos/extensions/install_limiter.cc const base::FilePath& path) base 66 chrome/browser/chromeos/extensions/install_limiter.cc const base::FilePath& path) { base 73 chrome/browser/chromeos/extensions/install_limiter.cc base::PostTaskAndReplyWithResult( base 76 chrome/browser/chromeos/extensions/install_limiter.cc base::Bind(&GetFileSizeOnBlockingPool, path), base 77 chrome/browser/chromeos/extensions/install_limiter.cc base::Bind(&InstallLimiter::AddWithSize, AsWeakPtr(), installer, path)); base 82 chrome/browser/chromeos/extensions/install_limiter.cc const base::FilePath& path, base 103 chrome/browser/chromeos/extensions/install_limiter.cc base::TimeDelta::FromMilliseconds(kMaxWaitTimeInMs), base 118 chrome/browser/chromeos/extensions/install_limiter.cc const base::FilePath& path) { base 29 chrome/browser/chromeos/extensions/install_limiter.h public base::SupportsWeakPtr<InstallLimiter> { base 39 chrome/browser/chromeos/extensions/install_limiter.h const base::FilePath& path); base 45 chrome/browser/chromeos/extensions/install_limiter.h const base::FilePath& path); base 49 chrome/browser/chromeos/extensions/install_limiter.h const base::FilePath path; base 59 chrome/browser/chromeos/extensions/install_limiter.h const base::FilePath& path, base 68 chrome/browser/chromeos/extensions/install_limiter.h const base::FilePath& path); base 81 chrome/browser/chromeos/extensions/install_limiter.h base::OneShotTimer<InstallLimiter> wait_timer_; base 31 chrome/browser/chromeos/extensions/media_player_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<MediaPlayerAPI> > base 17 chrome/browser/chromeos/extensions/media_player_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 70 chrome/browser/chromeos/extensions/screenlock_private_api.cc SetResult(new base::FundamentalValue(locked)); base 136 chrome/browser/chromeos/extensions/screenlock_private_api.cc base::Bind(&ScreenlockPrivateShowButtonFunction::OnImageLoaded, this)); base 151 chrome/browser/chromeos/extensions/screenlock_private_api.cc base::Bind(&ScreenlockPrivateEventRouter::OnButtonClicked, base 152 chrome/browser/chromeos/extensions/screenlock_private_api.cc base::Unretained(router))); base 214 chrome/browser/chromeos/extensions/screenlock_private_api.cc SetResult(new base::StringValue(auth_type_name)); base 260 chrome/browser/chromeos/extensions/screenlock_private_api.cc new base::FundamentalValue(true)); base 265 chrome/browser/chromeos/extensions/screenlock_private_api.cc new base::FundamentalValue(false)); base 270 chrome/browser/chromeos/extensions/screenlock_private_api.cc base::Value* arg) { base 271 chrome/browser/chromeos/extensions/screenlock_private_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 281 chrome/browser/chromeos/extensions/screenlock_private_api.cc static base::LazyInstance<extensions::BrowserContextKeyedAPIFactory< base 304 chrome/browser/chromeos/extensions/screenlock_private_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 152 chrome/browser/chromeos/extensions/screenlock_private_api.h void DispatchEvent(const std::string& event_name, base::Value* arg); base 27 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc const base::FilePath kWebuiTestDir = base 28 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath(FILE_PATH_LITERAL("webui")); base 30 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc const base::FilePath kVirtualKeyboardTestDir = base 31 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chromeos/virtual_keyboard")); base 33 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc const base::FilePath kMockController = base 34 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath(FILE_PATH_LITERAL("mock_controller.js")); base 36 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc const base::FilePath kMockTimer = base 37 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath(FILE_PATH_LITERAL("mock_timer.js")); base 39 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc const base::FilePath kBaseKeyboardTestFramework = base 40 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath(FILE_PATH_LITERAL("virtual_keyboard_test_base.js")); base 54 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc void RunTest(const base::FilePath& file) { base 108 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc void InjectJavascript(const base::FilePath& dir, base 109 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc const base::FilePath& file) { base 110 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath path = ui_test_utils::GetTestFilePath(dir, file); base 112 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc ASSERT_TRUE(base::ReadFileToString(path, &library_content)) base 122 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("attributes_test.js"))); base 126 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("typing_test.js"))); base 130 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("control_keys_test.js"))); base 134 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("hide_keyboard_key_test.js"))); base 138 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("keyset_transition_test.js"))); base 166 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath(), base 167 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath(FILE_PATH_LITERAL( base 172 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath path = ui_test_utils::GetTestFilePath( base 174 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc base::FilePath(FILE_PATH_LITERAL("end_to_end_test.js"))); base 176 chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc ASSERT_TRUE(base::ReadFileToString(path, &script)); base 24 chrome/browser/chromeos/extensions/wallpaper_api.cc using base::BinaryValue; base 27 chrome/browser/chromeos/extensions/wallpaper_api.cc typedef base::Callback<void(bool success, const std::string&)> FetchCallback; base 62 chrome/browser/chromeos/extensions/wallpaper_api.cc response = base::StringPrintf( base 73 chrome/browser/chromeos/extensions/wallpaper_api.cc std::string error = base::StringPrintf( base 85 chrome/browser/chromeos/extensions/wallpaper_api.cc base::LazyInstance<WallpaperFetcher> g_wallpaper_fetcher = base 112 chrome/browser/chromeos/extensions/wallpaper_api.cc base::Bind(&WallpaperSetWallpaperFunction::OnWallpaperFetched, this)); base 129 chrome/browser/chromeos/extensions/wallpaper_api.cc base::FilePath thumbnail_path = wallpaper_manager->GetCustomWallpaperPath( base 136 chrome/browser/chromeos/extensions/wallpaper_api.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 139 chrome/browser/chromeos/extensions/wallpaper_api.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 159 chrome/browser/chromeos/extensions/wallpaper_api.cc base::Bind( base 161 chrome/browser/chromeos/extensions/wallpaper_api.cc this, thumbnail_path, base::Passed(&deep_copy))); base 168 chrome/browser/chromeos/extensions/wallpaper_api.cc const base::FilePath& thumbnail_path, scoped_ptr<gfx::ImageSkia> image) { base 172 chrome/browser/chromeos/extensions/wallpaper_api.cc if (!base::PathExists(thumbnail_path.DirName())) base 173 chrome/browser/chromeos/extensions/wallpaper_api.cc base::CreateDirectory(thumbnail_path.DirName()); base 175 chrome/browser/chromeos/extensions/wallpaper_api.cc scoped_refptr<base::RefCountedBytes> data; base 184 chrome/browser/chromeos/extensions/wallpaper_api.cc base::Bind( base 190 chrome/browser/chromeos/extensions/wallpaper_api.cc base::RefCountedBytes* data) { base 39 chrome/browser/chromeos/extensions/wallpaper_api.h void GenerateThumbnail(const base::FilePath& thumbnail_path, base 43 chrome/browser/chromeos/extensions/wallpaper_api.h void ThumbnailGenerated(base::RefCountedBytes* data); base 61 chrome/browser/chromeos/extensions/wallpaper_api.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 57 chrome/browser/chromeos/extensions/wallpaper_function_base.cc scoped_refptr<base::MessageLoopProxy> task_runner = base 92 chrome/browser/chromeos/extensions/wallpaper_function_base.cc base::CancellationFlag cancel_flag_; base 38 chrome/browser/chromeos/extensions/wallpaper_private_api.cc using base::BinaryValue; base 66 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath data_dir; base 68 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (!base::DirectoryExists(data_dir) && base 69 chrome/browser/chromeos/extensions/wallpaper_private_api.cc !base::CreateDirectory(data_dir)) { base 72 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath file_path = data_dir.Append(file_name); base 74 chrome/browser/chromeos/extensions/wallpaper_private_api.cc return base::PathExists(file_path) || base 75 chrome/browser/chromeos/extensions/wallpaper_private_api.cc (base::WriteFile(file_path, data.c_str(), data.size()) != -1); base 82 chrome/browser/chromeos/extensions/wallpaper_private_api.cc bool GetData(const base::FilePath& path, std::string* data) { base 83 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath data_dir = path.DirName(); base 84 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (!base::DirectoryExists(data_dir) && base 85 chrome/browser/chromeos/extensions/wallpaper_private_api.cc !base::CreateDirectory(data_dir)) base 88 chrome/browser/chromeos/extensions/wallpaper_private_api.cc return !base::PathExists(path) || base 89 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::ReadFileToString(path, data); base 235 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 294 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath wallpaper_path; base 295 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath fallback_path; base 305 chrome/browser/chromeos/extensions/wallpaper_private_api.cc file_name = base::FilePath(file_name).InsertBeforeExtension( base 312 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 315 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 318 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind( base 326 chrome/browser/chromeos/extensions/wallpaper_private_api.cc ReadFileAndInitiateStartDecode(const base::FilePath& file_path, base 327 chrome/browser/chromeos/extensions/wallpaper_private_api.cc const base::FilePath& fallback_path) { base 331 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath path = file_path; base 333 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (!base::PathExists(file_path)) base 336 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (base::PathExists(path) && base 337 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::ReadFileToString(path, &data)) { base 339 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateSetWallpaperIfExistsFunction::StartDecode, base 343 chrome/browser/chromeos/extensions/wallpaper_private_api.cc std::string error = base::StringPrintf( base 348 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateSetWallpaperIfExistsFunction::OnFileNotExists, base 372 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Time::Now().LocalMidnight() base 375 chrome/browser/chromeos/extensions/wallpaper_private_api.cc SetResult(base::Value::CreateBooleanValue(true)); base 381 chrome/browser/chromeos/extensions/wallpaper_private_api.cc SetResult(base::Value::CreateBooleanValue(false)); base 411 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 414 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 417 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateSetWallpaperFunction::SaveToFile, this)); base 431 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateSetWallpaperFunction::SetDecodedWallpaper, base 432 chrome/browser/chromeos/extensions/wallpaper_private_api.cc this, base::Passed(&deep_copy))); base 435 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath wallpaper_dir; base 437 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath file_path = wallpaper_dir.Append( base 439 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (base::PathExists(file_path)) base 450 chrome/browser/chromeos/extensions/wallpaper_private_api.cc std::string error = base::StringPrintf( base 454 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateSetWallpaperFunction::OnFailure, base 478 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Time::Now().LocalMidnight() base 502 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Time::Now().LocalMidnight() base 539 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath thumbnail_path = wallpaper_manager->GetCustomWallpaperPath( base 544 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 547 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 569 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind( base 571 chrome/browser/chromeos/extensions/wallpaper_private_api.cc this, thumbnail_path, base::Passed(&deep_copy))); base 578 chrome/browser/chromeos/extensions/wallpaper_private_api.cc const base::FilePath& thumbnail_path, scoped_ptr<gfx::ImageSkia> image) { base 582 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (!base::PathExists(thumbnail_path.DirName())) base 583 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::CreateDirectory(thumbnail_path.DirName()); base 585 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_refptr<base::RefCountedBytes> data; base 594 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind( base 600 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::RefCountedBytes* data) { base 680 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath thumbnail_path; base 703 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 706 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 709 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateGetThumbnailFunction::Get, this, base 716 chrome/browser/chromeos/extensions/wallpaper_private_api.cc SetError(base::StringPrintf("Failed to access wallpaper thumbnails for %s.", base 733 chrome/browser/chromeos/extensions/wallpaper_private_api.cc void WallpaperPrivateGetThumbnailFunction::Get(const base::FilePath& path) { base 741 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateGetThumbnailFunction::FileNotLoaded, this)); base 745 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateGetThumbnailFunction::FileLoaded, this, base 751 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateGetThumbnailFunction::Failure, this, base 769 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 772 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 775 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateSaveThumbnailFunction::Save, base 782 chrome/browser/chromeos/extensions/wallpaper_private_api.cc SetError(base::StringPrintf("Failed to create/write thumbnail of %s.", base 798 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateSaveThumbnailFunction::Success, this)); base 802 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateSaveThumbnailFunction::Failure, base 818 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 821 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 824 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateGetOfflineWallpaperListFunction::GetList, base 833 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FilePath wallpaper_dir; base 835 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (base::DirectoryExists(wallpaper_dir)) { base 836 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FileEnumerator files(wallpaper_dir, false, base 837 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::FileEnumerator::FILES); base 838 chrome/browser/chromeos/extensions/wallpaper_private_api.cc for (base::FilePath current = files.Next(); !current.empty(); base 848 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::Bind(&WallpaperPrivateGetOfflineWallpaperListFunction::OnComplete, base 854 chrome/browser/chromeos/extensions/wallpaper_private_api.cc base::ListValue* results = new base::ListValue(); base 52 chrome/browser/chromeos/extensions/wallpaper_private_api.h void ReadFileAndInitiateStartDecode(const base::FilePath& file_path, base 53 chrome/browser/chromeos/extensions/wallpaper_private_api.h const base::FilePath& fallback_path); base 63 chrome/browser/chromeos/extensions/wallpaper_private_api.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 99 chrome/browser/chromeos/extensions/wallpaper_private_api.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 136 chrome/browser/chromeos/extensions/wallpaper_private_api.h void GenerateThumbnail(const base::FilePath& thumbnail_path, base 140 chrome/browser/chromeos/extensions/wallpaper_private_api.h void ThumbnailGenerated(base::RefCountedBytes* data); base 153 chrome/browser/chromeos/extensions/wallpaper_private_api.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 227 chrome/browser/chromeos/extensions/wallpaper_private_api.h void Get(const base::FilePath& path); base 231 chrome/browser/chromeos/extensions/wallpaper_private_api.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 259 chrome/browser/chromeos/extensions/wallpaper_private_api.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 285 chrome/browser/chromeos/extensions/wallpaper_private_api.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 35 chrome/browser/chromeos/external_metrics.cc using base::UserMetricsAction; base 46 chrome/browser/chromeos/external_metrics.cc if (!base::Histogram::InspectConstructionArguments( base 49 chrome/browser/chromeos/external_metrics.cc base::HistogramBase* histogram = base 50 chrome/browser/chromeos/external_metrics.cc base::StatisticsRecorder::FindHistogram(name); base 64 chrome/browser/chromeos/external_metrics.cc const base::FilePath group_file_path( base 66 chrome/browser/chromeos/external_metrics.cc const base::FieldTrial::Probability kDivisor = 1000; base 67 chrome/browser/chromeos/external_metrics.cc scoped_refptr<base::FieldTrial> trial = base 68 chrome/browser/chromeos/external_metrics.cc base::FieldTrialList::FactoryGetFieldTrial( base 70 chrome/browser/chromeos/external_metrics.cc base::FieldTrial::SESSION_RANDOMIZED, NULL); base 93 chrome/browser/chromeos/external_metrics.cc if (base::WriteFile(group_file_path, group_char.c_str(), size) == size) { base 131 chrome/browser/chromeos/external_metrics.cc base::Bind(&chromeos::ExternalMetrics::SetupFieldTrialsOnFileThread, base 148 chrome/browser/chromeos/external_metrics.cc base::Bind(&ExternalMetrics::RecordActionUI, this, action_string)); base 160 chrome/browser/chromeos/external_metrics.cc base::Bind(&ExternalMetrics::RecordCrashUI, this, crash_kind)); base 182 chrome/browser/chromeos/external_metrics.cc base::HistogramBase* counter = base::Histogram::FactoryGet( base 183 chrome/browser/chromeos/external_metrics.cc name, min, max, nbuckets, base::Histogram::kUmaTargetedHistogramFlag); base 203 chrome/browser/chromeos/external_metrics.cc base::HistogramBase* counter = base::LinearHistogram::FactoryGet( base 204 chrome/browser/chromeos/external_metrics.cc name, 1, max, max + 1, base::Histogram::kUmaTargetedHistogramFlag); base 219 chrome/browser/chromeos/external_metrics.cc base::HistogramBase* counter = base::SparseHistogram::FactoryGet( base 220 chrome/browser/chromeos/external_metrics.cc name, base::HistogramBase::kUmaTargetedHistogramFlag); base 337 chrome/browser/chromeos/external_metrics.cc base::ElapsedTimer timer; base 347 chrome/browser/chromeos/external_metrics.cc base::Bind(&chromeos::ExternalMetrics::CollectEventsAndReschedule, this), base 348 chrome/browser/chromeos/external_metrics.cc base::TimeDelta::FromSeconds(kExternalMetricsCollectionIntervalSeconds)); base 25 chrome/browser/chromeos/external_metrics.h class ExternalMetrics : public base::RefCountedThreadSafe<ExternalMetrics> { base 35 chrome/browser/chromeos/external_metrics.h friend class base::RefCountedThreadSafe<ExternalMetrics>; base 90 chrome/browser/chromeos/external_metrics.h base::hash_map<std::string, RecordFunctionType> action_recorders_; base 93 chrome/browser/chromeos/external_metrics.h base::hash_set<std::string> valid_user_actions_; base 97 chrome/browser/chromeos/external_metrics.h base::FilePath test_path_; base 76 chrome/browser/chromeos/external_metrics_unittest.cc external_metrics->test_path_ = base::FilePath(path); base 54 chrome/browser/chromeos/external_protocol_dialog.cc base::string16 ExternalProtocolDialog::GetDialogButtonLabel( base 59 chrome/browser/chromeos/external_protocol_dialog.cc base::string16 ExternalProtocolDialog::GetWindowTitle() const { base 93 chrome/browser/chromeos/external_protocol_dialog.cc : creation_time_(base::TimeTicks::Now()), base 96 chrome/browser/chromeos/external_protocol_dialog.cc base::string16 elided_url_without_scheme; base 97 chrome/browser/chromeos/external_protocol_dialog.cc gfx::ElideString(base::ASCIIToUTF16(url.possibly_invalid_spec()), base 102 chrome/browser/chromeos/external_protocol_dialog.cc base::ASCIIToUTF16(url.scheme() + ":"), base 103 chrome/browser/chromeos/external_protocol_dialog.cc elided_url_without_scheme) + base::ASCIIToUTF16("\n\n")); base 36 chrome/browser/chromeos/external_protocol_dialog.h virtual base::string16 GetDialogButtonLabel( base 38 chrome/browser/chromeos/external_protocol_dialog.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 52 chrome/browser/chromeos/external_protocol_dialog.h base::TimeTicks creation_time_; base 92 chrome/browser/chromeos/file_manager/app_installer.cc const base::DictionaryValue& webstore_data, base 100 chrome/browser/chromeos/file_manager/app_installer.cc const base::DictionaryValue& webstore_data, base 33 chrome/browser/chromeos/file_manager/app_installer.h friend class base::RefCountedThreadSafe<AppInstaller>; base 48 chrome/browser/chromeos/file_manager/app_installer.h const base::DictionaryValue& webstore_data, base 51 chrome/browser/chromeos/file_manager/app_installer.h const base::DictionaryValue& webstore_data, base 47 chrome/browser/chromeos/file_manager/drive_test_util.cc base::RunLoop run_loop_; base 92 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::ScopedTempDir* tmp_dir, base 93 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::FilePath* mount_point_dir) { base 99 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc if (!base::CreateDirectory(*mount_point_dir)) base 102 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::FilePath test_dir = mount_point_dir->AppendASCII("test_dir"); base 103 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc if (!base::CreateDirectory(test_dir)) base 106 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::FilePath test_subdir = test_dir.AppendASCII("empty_test_dir"); base 107 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc if (!base::CreateDirectory(test_subdir)) base 111 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc if (!base::CreateDirectory(test_subdir)) base 114 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::FilePath test_file = test_dir.AppendASCII("test_file.xul"); base 197 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc const base::FilePath::CharType* filebrowser_manifest, base 268 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::ScopedTempDir tmp_dir_; base 269 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::FilePath mount_point_dir_; base 298 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::ScopedTempDir tmp_dir_; base 299 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::FilePath mount_point_dir_; base 316 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc create_drive_integration_service_ = base::Bind( base 318 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::Unretained(this)); base 342 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::ScopedTempDir test_cache_root_; base 358 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::FilePath profile_dir; base 359 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::CreateNewTempDirectory(base::FilePath::StringType(), &profile_dir); base 370 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc create_drive_integration_service_ = base::Bind( base 373 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::Unretained(this)); base 388 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::FilePath cache_dir; base 389 chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc base::CreateNewTempDirectory(base::FilePath::StringType(), &cache_dir); base 88 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::string16 utf16 = base::UTF8ToUTF16( base 91 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::UTF16ToUTF8(base::i18n::ToLower(utf16)), base 191 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::WeakPtrFactory<FileBrowserHandlerExecutor> weak_ptr_factory_; base 213 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::File::Info file_info; base 215 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::FilePath local_path = url.path(); base 216 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::FilePath virtual_path = url.virtual_path(); base 224 chrome/browser/chromeos/file_manager/file_browser_handlers.cc if (!base::PathExists(local_path) || base 225 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::IsLink(local_path) || base 226 chrome/browser/chromeos/file_manager/file_browser_handlers.cc !base::GetFileInfo(local_path, &file_info)) { base 274 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::Bind(&SetupFileAccessPermissions, base 278 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::Bind(&FileBrowserHandlerExecutor::ExecuteAfterSetupFileAccess, base 291 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::Bind(&FileBrowserHandlerExecutor::ExecuteFileActionsOnUIThread, base 293 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::Passed(&file_definition_list))); base 340 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::Bind( base 343 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::Passed(file_definition_list.Pass()), base 344 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::Passed(entry_definition_list.Pass()), base 372 chrome/browser/chromeos/file_manager/file_browser_handlers.cc scoped_ptr<base::ListValue> event_args(new base::ListValue()); base 373 chrome/browser/chromeos/file_manager/file_browser_handlers.cc event_args->Append(new base::StringValue(action_id_)); base 374 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::DictionaryValue* details = new base::DictionaryValue(); base 378 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::ListValue* file_entries = new base::ListValue(); base 385 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::DictionaryValue* file_def = new base::DictionaryValue(); base 448 chrome/browser/chromeos/file_manager/file_browser_handlers.cc const base::FilePath& file_path = file_url.path(); base 22 chrome/browser/chromeos/file_manager/file_browser_handlers.h namespace base { base 91 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc bool MapStringToEntryType(const base::StringPiece& value, EntryType* output) { base 102 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc bool MapStringToSharedOption(const base::StringPiece& value, base 114 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc bool MapStringToTargetVolume(const base::StringPiece& value, base 128 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc bool MapStringToTime(const base::StringPiece& value, base::Time* time) { base 129 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc return base::Time::FromString(value.as_string().c_str(), time); base 141 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::Time& last_modified_time) : base 155 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::Time last_modified_time; base 159 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::JSONValueConverter<TestEntryInfo>* converter); base 164 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::JSONValueConverter<TestEntryInfo>* converter) { base 190 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::JSONValueConverter<AddEntriesMessage>* converter); base 196 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::JSONValueConverter<AddEntriesMessage>* converter) { base 216 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::FilePath root_path() { return root_.path(); } base 220 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::ScopedTempDir root_; base 236 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::FilePath target_path = base 242 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::FilePath source_path = base 245 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc ASSERT_TRUE(base::CopyFile(source_path, target_path)) base 251 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc ASSERT_TRUE(base::CreateDirectory(target_path)) << base 262 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::FilePath path = root_path().AppendASCII(entry.target_path); base 263 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc if (!base::TouchFile(path, entry.last_modified_time, base 270 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const std::map<base::FilePath, const TestEntryInfo>::iterator it = base 279 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc std::map<base::FilePath, const TestEntryInfo> entries_; base 332 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::FilePath path = base 333 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::FilePath::FromUTF8Unsafe(entry.target_path); base 366 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::Time& modification_time) { base 375 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 384 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 397 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::Time& modification_time) { base 402 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::FilePath source_file_path = base 405 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc ASSERT_TRUE(base::ReadFileToString(source_file_path, &content_data)); base 417 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 426 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 507 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 533 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::Value* value); base 556 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::Bind(&FileManagerBrowserTestBase::CreateDriveIntegrationService, base 557 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::Unretained(this)); base 590 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::FilePath path = test_data_dir_.AppendASCII("file_manager_browsertest"); base 609 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const scoped_ptr<const base::Value> value( base 610 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::JSONReader::Read(entry.message)); base 613 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::DictionaryValue* message_dictionary = NULL; base 624 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::Value* value) { base 630 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); base 637 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::JSONWriter::Write(res.get(), &jsonString); base 652 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); base 656 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::JSONWriter::Write(res.get(), &jsonString); base 660 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::JSONValueConverter<AddEntriesMessage> add_entries_message_converter; base 935 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const std::string email = base::StringPrintf("user%d@invalid.domain", i); base 936 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const std::string hash = base::StringPrintf("hashuser%d", i); base 937 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const std::string name = base::StringPrintf("Additional User %d", i); base 959 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc base::UTF8ToUTF16(info.display_name)); base 974 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc const base::Value* value) OVERRIDE { base 17 chrome/browser/chromeos/file_manager/file_manager_jstest.cc void RunTest(const base::FilePath& file) { base 19 chrome/browser/chromeos/file_manager/file_manager_jstest.cc base::FilePath(FILE_PATH_LITERAL("file_manager/unit_tests")), file); base 33 chrome/browser/chromeos/file_manager/file_manager_jstest.cc RunTest(base::FilePath( base 39 chrome/browser/chromeos/file_manager/file_manager_jstest.cc RunTest(base::FilePath( base 45 chrome/browser/chromeos/file_manager/file_manager_jstest.cc RunTest(base::FilePath( base 51 chrome/browser/chromeos/file_manager/file_manager_jstest.cc RunTest(base::FilePath( base 177 chrome/browser/chromeos/file_manager/file_tasks.cc base::StringValue* value = new base::StringValue(task_id); base 187 chrome/browser/chromeos/file_manager/file_tasks.cc base::StringValue* value = new base::StringValue(task_id); base 202 chrome/browser/chromeos/file_manager/file_tasks.cc const base::DictionaryValue* mime_task_prefs = base 213 chrome/browser/chromeos/file_manager/file_tasks.cc const base::DictionaryValue* suffix_task_prefs = base 227 chrome/browser/chromeos/file_manager/file_tasks.cc return base::StringPrintf("%s|%s|%s", base 337 chrome/browser/chromeos/file_manager/file_tasks.cc const base::FilePath& file_path = it->first; base 524 chrome/browser/chromeos/file_manager/file_tasks.cc const base::FilePath& file_path = it->first; base 230 chrome/browser/chromeos/file_manager/file_tasks.h typedef base::Callback<void(extensions::api::file_browser_private::TaskResult base 49 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc const base::DictionaryValue& mime_types, base 50 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc const base::DictionaryValue& suffixes) { base 245 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc std::make_pair(base::FilePath::FromUTF8Unsafe("not_on_drive.txt"), base 281 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc base::FilePath::FromUTF8Unsafe("foo.txt"), base 291 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc base::DictionaryValue empty; base 292 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc base::DictionaryValue mime_types; base 313 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc base::DictionaryValue suffixes; base 343 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc base::FilePath::FromUTF8Unsafe("foo.txt"), base 363 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc base::FilePath() /* install_directory */, base 473 chrome/browser/chromeos/file_manager/file_tasks_unittest.cc std::make_pair(base::FilePath::FromUTF8Unsafe("foo.png"), base 19 chrome/browser/chromeos/file_manager/file_watcher.cc base::FilePathWatcher* CreateAndStartFilePathWatcher( base 20 chrome/browser/chromeos/file_manager/file_watcher.cc const base::FilePath& watch_path, base 21 chrome/browser/chromeos/file_manager/file_watcher.cc const base::FilePathWatcher::Callback& callback) { base 25 chrome/browser/chromeos/file_manager/file_watcher.cc scoped_ptr<base::FilePathWatcher> watcher(new base::FilePathWatcher); base 34 chrome/browser/chromeos/file_manager/file_watcher.cc FileWatcher::FileWatcher(const base::FilePath& virtual_path) base 83 chrome/browser/chromeos/file_manager/file_watcher.cc const base::FilePath& local_path, base 84 chrome/browser/chromeos/file_manager/file_watcher.cc const base::FilePathWatcher::Callback& file_watcher_callback, base 93 chrome/browser/chromeos/file_manager/file_watcher.cc base::Bind(&CreateAndStartFilePathWatcher, base 96 chrome/browser/chromeos/file_manager/file_watcher.cc base::Bind(&FileWatcher::OnWatcherStarted, base 103 chrome/browser/chromeos/file_manager/file_watcher.cc base::FilePathWatcher* file_watcher) { base 29 chrome/browser/chromeos/file_manager/file_watcher.h typedef base::Callback<void(bool success)> BoolCallback; base 32 chrome/browser/chromeos/file_manager/file_watcher.h explicit FileWatcher(const base::FilePath& virtual_path); base 55 chrome/browser/chromeos/file_manager/file_watcher.h const base::FilePath& virtual_path() const { return virtual_path_; } base 63 chrome/browser/chromeos/file_manager/file_watcher.h const base::FilePath& local_path, base 64 chrome/browser/chromeos/file_manager/file_watcher.h const base::FilePathWatcher::Callback& file_watcher_callback, base 71 chrome/browser/chromeos/file_manager/file_watcher.h base::FilePathWatcher* file_path_watcher); base 73 chrome/browser/chromeos/file_manager/file_watcher.h base::FilePathWatcher* local_file_watcher_; base 74 chrome/browser/chromeos/file_manager/file_watcher.h base::FilePath virtual_path_; base 82 chrome/browser/chromeos/file_manager/file_watcher.h base::WeakPtrFactory<FileWatcher> weak_ptr_factory_; base 34 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc const base::FilePath kVirtualPath = base 35 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::FilePath::FromUTF8Unsafe("foo/bar.txt"); base 51 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc const base::FilePath kVirtualPath = base 52 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::FilePath::FromUTF8Unsafe("foo/bar.txt"); base 79 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc const base::FilePath kVirtualPath = base 80 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::FilePath::FromUTF8Unsafe("foo/bar.txt"); base 110 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc const base::FilePath kVirtualPath = base 111 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::FilePath::FromUTF8Unsafe("foo/bar.txt"); base 115 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::ScopedTempDir temp_dir; base 124 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::FilePath changed_path; base 127 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::RunLoop run_loop; base 135 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::RunLoop().RunUntilIdle(); base 140 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::FilePath temp_file_path; base 141 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file_path)); base 152 chrome/browser/chromeos/file_manager/file_watcher_unittest.cc base::RunLoop().RunUntilIdle(); base 30 chrome/browser/chromeos/file_manager/fileapi_util.cc GURL ConvertRelativeFilePathToFileSystemUrl(const base::FilePath& relative_path, base 41 chrome/browser/chromeos/file_manager/fileapi_util.cc EntryDefinition CreateEntryDefinitionWithError(base::File::Error error) { base 76 chrome/browser/chromeos/file_manager/fileapi_util.cc base::File::Error error); base 131 chrome/browser/chromeos/file_manager/fileapi_util.cc base::File::FILE_ERROR_INVALID_OPERATION)); base 141 chrome/browser/chromeos/file_manager/fileapi_util.cc base::File::FILE_ERROR_INVALID_OPERATION)); base 160 chrome/browser/chromeos/file_manager/fileapi_util.cc base::Bind(&FileDefinitionListConverter::OnResolvedURL, base 161 chrome/browser/chromeos/file_manager/fileapi_util.cc base::Unretained(this), base 162 chrome/browser/chromeos/file_manager/fileapi_util.cc base::Passed(&self_deleter), base 171 chrome/browser/chromeos/file_manager/fileapi_util.cc base::File::Error error) { base 182 chrome/browser/chromeos/file_manager/fileapi_util.cc const base::FilePath root_virtual_path = base 186 chrome/browser/chromeos/file_manager/fileapi_util.cc base::FilePath full_path; base 234 chrome/browser/chromeos/file_manager/fileapi_util.cc base::FilePath ConvertDrivePathToRelativeFileSystemPath( base 237 chrome/browser/chromeos/file_manager/fileapi_util.cc const base::FilePath& drive_path) { base 239 chrome/browser/chromeos/file_manager/fileapi_util.cc base::FilePath path = drive::util::GetDriveMountPointPath(profile); base 243 chrome/browser/chromeos/file_manager/fileapi_util.cc base::FilePath relative_path; base 252 chrome/browser/chromeos/file_manager/fileapi_util.cc const base::FilePath& drive_path, base 254 chrome/browser/chromeos/file_manager/fileapi_util.cc const base::FilePath relative_path = base 263 chrome/browser/chromeos/file_manager/fileapi_util.cc const base::FilePath& absolute_path, base 266 chrome/browser/chromeos/file_manager/fileapi_util.cc base::FilePath relative_path; base 280 chrome/browser/chromeos/file_manager/fileapi_util.cc const base::FilePath& absolute_path, base 281 chrome/browser/chromeos/file_manager/fileapi_util.cc base::FilePath* virtual_path) { base 324 chrome/browser/chromeos/file_manager/fileapi_util.cc base::Bind(&OnConvertFileDefinitionDone, callback)); base 33 chrome/browser/chromeos/file_manager/fileapi_util.h base::FilePath virtual_path; base 34 chrome/browser/chromeos/file_manager/fileapi_util.h base::FilePath absolute_path; base 45 chrome/browser/chromeos/file_manager/fileapi_util.h base::FilePath full_path; // Value of Entry.fullPath. base 47 chrome/browser/chromeos/file_manager/fileapi_util.h base::File::Error error; base 55 chrome/browser/chromeos/file_manager/fileapi_util.h typedef base::Callback<void(const EntryDefinition& entry_definition)> base 60 chrome/browser/chromeos/file_manager/fileapi_util.h typedef base::Callback<void(scoped_ptr< base 79 chrome/browser/chromeos/file_manager/fileapi_util.h base::FilePath ConvertDrivePathToRelativeFileSystemPath( base 82 chrome/browser/chromeos/file_manager/fileapi_util.h const base::FilePath& drive_path); base 87 chrome/browser/chromeos/file_manager/fileapi_util.h const base::FilePath& drive_path, base 94 chrome/browser/chromeos/file_manager/fileapi_util.h const base::FilePath& absolute_path, base 104 chrome/browser/chromeos/file_manager/fileapi_util.h const base::FilePath& absolute_path, base 105 chrome/browser/chromeos/file_manager/fileapi_util.h base::FilePath* relative_path); base 13 chrome/browser/chromeos/file_manager/mime_util.cc std::string GetMimeTypeForPath(const base::FilePath& file_path) { base 14 chrome/browser/chromeos/file_manager/mime_util.cc const base::FilePath::StringType file_extension = file_path.Extension(); base 12 chrome/browser/chromeos/file_manager/mime_util.h namespace base { base 21 chrome/browser/chromeos/file_manager/mime_util.h std::string GetMimeTypeForPath(const base::FilePath& file_path); base 15 chrome/browser/chromeos/file_manager/mime_util_unittest.cc GetMimeTypeForPath(base::FilePath::FromUTF8Unsafe("foo.jpg"))); base 17 chrome/browser/chromeos/file_manager/mime_util_unittest.cc GetMimeTypeForPath(base::FilePath::FromUTF8Unsafe("FOO.JPG"))); base 19 chrome/browser/chromeos/file_manager/mime_util_unittest.cc GetMimeTypeForPath(base::FilePath::FromUTF8Unsafe("foo.zzz"))); base 20 chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc const base::TimeDelta kResumingTimeSpan = base::TimeDelta::FromSeconds(5); base 53 chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc const base::TimeDelta& sleep_duration) { base 56 chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc base::MessageLoopProxy::current()->PostDelayedTask( base 58 chrome/browser/chromeos/file_manager/mounted_disk_monitor.cc base::Bind(&MountedDiskMonitor::Reset, base 35 chrome/browser/chromeos/file_manager/mounted_disk_monitor.h virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE; base 62 chrome/browser/chromeos/file_manager/mounted_disk_monitor.h const base::TimeDelta& resuming_time_span) { base 81 chrome/browser/chromeos/file_manager/mounted_disk_monitor.h base::TimeDelta resuming_time_span_; base 82 chrome/browser/chromeos/file_manager/mounted_disk_monitor.h base::WeakPtrFactory<MountedDiskMonitor> weak_factory_; base 45 chrome/browser/chromeos/file_manager/mounted_disk_monitor_unittest.cc base::TimeDelta::FromSeconds(0)); base 48 chrome/browser/chromeos/file_manager/mounted_disk_monitor_unittest.cc base::MessageLoop message_loop_; base 122 chrome/browser/chromeos/file_manager/mounted_disk_monitor_unittest.cc mounted_disk_monitor_->SystemResumed(base::TimeDelta::FromSeconds(0)); base 147 chrome/browser/chromeos/file_manager/mounted_disk_monitor_unittest.cc base::RunLoop().RunUntilIdle(); // Emulate time passage. base 41 chrome/browser/chromeos/file_manager/open_util.cc const base::FilePath& file_path, base 49 chrome/browser/chromeos/file_manager/open_util.cc base::UTF8ToUTF16(file_path.BaseName().AsUTF8Unsafe())), base 83 chrome/browser/chromeos/file_manager/open_util.cc content::RecordAction(base::UserMetricsAction("ShowFileBrowserFullTab")); base 96 chrome/browser/chromeos/file_manager/open_util.cc bool OpenFile(Profile* profile, const base::FilePath& path, const GURL& url) { base 130 chrome/browser/chromeos/file_manager/open_util.cc const base::FilePath& file_path, base 132 chrome/browser/chromeos/file_manager/open_util.cc base::File::Error error) { base 135 chrome/browser/chromeos/file_manager/open_util.cc if (error == base::File::FILE_OK) { base 175 chrome/browser/chromeos/file_manager/open_util.cc base::Bind(&CheckIfDirectoryExistsOnIOThread, base 187 chrome/browser/chromeos/file_manager/open_util.cc const base::FilePath& given_path, base 188 chrome/browser/chromeos/file_manager/open_util.cc base::FilePath* path, base 207 chrome/browser/chromeos/file_manager/open_util.cc void OpenRemovableDrive(Profile* profile, const base::FilePath& file_path) { base 210 chrome/browser/chromeos/file_manager/open_util.cc base::FilePath converted_path; base 218 chrome/browser/chromeos/file_manager/open_util.cc void OpenItem(Profile* profile, const base::FilePath& file_path) { base 221 chrome/browser/chromeos/file_manager/open_util.cc base::FilePath converted_path; base 229 chrome/browser/chromeos/file_manager/open_util.cc base::Bind(&ContinueOpenItem, profile, converted_path, url)); base 232 chrome/browser/chromeos/file_manager/open_util.cc void ShowItemInFolder(Profile* profile, const base::FilePath& file_path) { base 235 chrome/browser/chromeos/file_manager/open_util.cc base::FilePath converted_path; base 13 chrome/browser/chromeos/file_manager/open_util.h namespace base { base 23 chrome/browser/chromeos/file_manager/open_util.h void OpenRemovableDrive(Profile* profile, const base::FilePath& file_path); base 30 chrome/browser/chromeos/file_manager/open_util.h void OpenItem(Profile* profile, const base::FilePath& file_path); base 34 chrome/browser/chromeos/file_manager/open_util.h void ShowItemInFolder(Profile* profile, const base::FilePath& file_path); base 35 chrome/browser/chromeos/file_manager/open_with_browser.cc const base::FilePath::CharType kPdfExtension[] = FILE_PATH_LITERAL(".pdf"); base 36 chrome/browser/chromeos/file_manager/open_with_browser.cc const base::FilePath::CharType kSwfExtension[] = FILE_PATH_LITERAL(".swf"); base 39 chrome/browser/chromeos/file_manager/open_with_browser.cc const base::FilePath::CharType* kFileExtensionsViewableInBrowser[] = { base 56 chrome/browser/chromeos/file_manager/open_with_browser.cc bool IsViewableInBrowser(const base::FilePath& file_path) { base 65 chrome/browser/chromeos/file_manager/open_with_browser.cc const base::FilePath& plugin_path) { base 83 chrome/browser/chromeos/file_manager/open_with_browser.cc base::FilePath plugin_path; base 91 chrome/browser/chromeos/file_manager/open_with_browser.cc base::FilePath plugin_path( base 121 chrome/browser/chromeos/file_manager/open_with_browser.cc GURL ReadUrlFromGDocOnBlockingPool(const base::FilePath& file_path) { base 130 chrome/browser/chromeos/file_manager/open_with_browser.cc bool OpenFileWithBrowser(Profile* profile, const base::FilePath& file_path) { base 157 chrome/browser/chromeos/file_manager/open_with_browser.cc base::PostTaskAndReplyWithResult( base 160 chrome/browser/chromeos/file_manager/open_with_browser.cc base::Bind(&ReadUrlFromGDocOnBlockingPool, file_path), base 161 chrome/browser/chromeos/file_manager/open_with_browser.cc base::Bind(&OpenNewTab, profile)); base 174 chrome/browser/chromeos/file_manager/open_with_browser.cc const base::FilePath::StringType& file_extension) { base 177 chrome/browser/chromeos/file_manager/open_with_browser.cc const base::FilePath file_path = base 178 chrome/browser/chromeos/file_manager/open_with_browser.cc base::FilePath::FromUTF8Unsafe("dummy").AddExtension(file_extension); base 27 chrome/browser/chromeos/file_manager/open_with_browser.h bool OpenFileWithBrowser(Profile* profile, const base::FilePath& file_path); base 32 chrome/browser/chromeos/file_manager/open_with_browser.h const base::FilePath::StringType& file_extension); base 25 chrome/browser/chromeos/file_manager/path_util.cc const base::FilePath::CharType kOldDownloadsFolderPath[] = base 27 chrome/browser/chromeos/file_manager/path_util.cc const base::FilePath::CharType kOldDriveFolderPath[] = base 32 chrome/browser/chromeos/file_manager/path_util.cc base::FilePath GetDownloadsFolderForProfile(Profile* profile) { base 33 chrome/browser/chromeos/file_manager/path_util.cc if (!base::SysInfo::IsRunningOnChromeOS() && base 38 chrome/browser/chromeos/file_manager/path_util.cc base::FilePath path; base 39 chrome/browser/chromeos/file_manager/path_util.cc CHECK(PathService::Get(base::DIR_HOME, &path)); base 47 chrome/browser/chromeos/file_manager/path_util.cc const base::FilePath& old_path, base 48 chrome/browser/chromeos/file_manager/path_util.cc base::FilePath* new_path) { base 60 chrome/browser/chromeos/file_manager/path_util.cc const base::FilePath downloads = GetDownloadsFolderForProfile(profile); base 61 chrome/browser/chromeos/file_manager/path_util.cc const base::FilePath drive = drive::util::GetDriveMountPointPath(profile); base 63 chrome/browser/chromeos/file_manager/path_util.cc std::vector<std::pair<base::FilePath, base::FilePath> > bases; base 64 chrome/browser/chromeos/file_manager/path_util.cc bases.push_back(std::make_pair(base::FilePath(kOldDownloadsFolderPath), base 68 chrome/browser/chromeos/file_manager/path_util.cc bases.push_back(std::make_pair(base::FilePath(kOldDriveFolderPath), drive)); base 78 chrome/browser/chromeos/file_manager/path_util.cc const base::FilePath hashed_downloads = base 86 chrome/browser/chromeos/file_manager/path_util.cc const base::FilePath& old_base = bases[i].first; base 87 chrome/browser/chromeos/file_manager/path_util.cc const base::FilePath& new_base = bases[i].second; base 88 chrome/browser/chromeos/file_manager/path_util.cc base::FilePath relative; base 12 chrome/browser/chromeos/file_manager/path_util.h namespace base { base 20 chrome/browser/chromeos/file_manager/path_util.h base::FilePath GetDownloadsFolderForProfile(Profile* profile); base 51 chrome/browser/chromeos/file_manager/path_util.h const base::FilePath& old_path, base 52 chrome/browser/chromeos/file_manager/path_util.h base::FilePath* new_path); base 43 chrome/browser/chromeos/file_manager/path_util_unittest.cc const base::FilePath kDownloads = GetDownloadsFolderForProfile(&profile); base 45 chrome/browser/chromeos/file_manager/path_util_unittest.cc base::FilePath path; base 49 chrome/browser/chromeos/file_manager/path_util_unittest.cc base::FilePath::FromUTF8Unsafe("/home/chronos/user/Downloads"), base 55 chrome/browser/chromeos/file_manager/path_util_unittest.cc base::FilePath::FromUTF8Unsafe("/home/chronos/user/Downloads/a/b"), base 68 chrome/browser/chromeos/file_manager/path_util_unittest.cc base::FilePath::FromUTF8Unsafe("/home/chronos/user/dl"), base 75 chrome/browser/chromeos/file_manager/path_util_unittest.cc const base::FilePath kDrive = drive::util::GetDriveMountPointPath(profile); base 76 chrome/browser/chromeos/file_manager/path_util_unittest.cc ASSERT_EQ(base::FilePath::FromUTF8Unsafe("/special/drive-hash"), kDrive); base 78 chrome/browser/chromeos/file_manager/path_util_unittest.cc base::FilePath path; base 82 chrome/browser/chromeos/file_manager/path_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive"), base 88 chrome/browser/chromeos/file_manager/path_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/drive/a/b"), base 101 chrome/browser/chromeos/file_manager/path_util_unittest.cc base::FilePath::FromUTF8Unsafe("/special/notdrive"), base 13 chrome/browser/chromeos/file_manager/select_file_dialog_util.cc base::string16 GetSelectFileDialogTitle( base 15 chrome/browser/chromeos/file_manager/select_file_dialog_util.cc base::string16 title; base 16 chrome/browser/chromeos/file_manager/select_file_dialog_util.h base::string16 GetSelectFileDialogTitle(ui::SelectFileDialog::Type type); base 69 chrome/browser/chromeos/file_manager/url_util.cc const base::string16& title, base 75 chrome/browser/chromeos/file_manager/url_util.cc const base::FilePath::StringType& default_extension) { base 76 chrome/browser/chromeos/file_manager/url_util.cc base::DictionaryValue arg_value; base 85 chrome/browser/chromeos/file_manager/url_util.cc base::ListValue* types_list = new base::ListValue(); base 87 chrome/browser/chromeos/file_manager/url_util.cc base::ListValue* extensions_list = new base::ListValue(); base 90 chrome/browser/chromeos/file_manager/url_util.cc new base::StringValue(file_types->extensions[i][j])); base 93 chrome/browser/chromeos/file_manager/url_util.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 97 chrome/browser/chromeos/file_manager/url_util.cc base::string16 desc = file_types->extension_description_overrides[i]; base 118 chrome/browser/chromeos/file_manager/url_util.cc base::JSONWriter::Write(&arg_value, &json_args); base 30 chrome/browser/chromeos/file_manager/url_util.h const base::string16& title, base 36 chrome/browser/chromeos/file_manager/url_util.h const base::FilePath::StringType& default_extension); base 24 chrome/browser/chromeos/file_manager/url_util_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 26 chrome/browser/chromeos/file_manager/url_util_unittest.cc base::JSONWriter::WriteWithOptions(value.get(), base 27 chrome/browser/chromeos/file_manager/url_util_unittest.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 45 chrome/browser/chromeos/file_manager/url_util_unittest.cc base::UTF8ToUTF16("some title"), base 79 chrome/browser/chromeos/file_manager/url_util_unittest.cc file_types.extensions.push_back(std::vector<base::FilePath::StringType>()); base 82 chrome/browser/chromeos/file_manager/url_util_unittest.cc file_types.extensions.push_back(std::vector<base::FilePath::StringType>()); base 85 chrome/browser/chromeos/file_manager/url_util_unittest.cc base::UTF8ToUTF16("HTML")); base 87 chrome/browser/chromeos/file_manager/url_util_unittest.cc base::UTF8ToUTF16("TEXT")); base 93 chrome/browser/chromeos/file_manager/url_util_unittest.cc base::UTF8ToUTF16("some title"), base 40 chrome/browser/chromeos/file_manager/volume_manager.cc bool RegisterDownloadsMountPoint(Profile* profile, const base::FilePath& path) { base 60 chrome/browser/chromeos/file_manager/volume_manager.cc bool FindDownloadsMountPointPath(Profile* profile, base::FilePath* path) { base 120 chrome/browser/chromeos/file_manager/volume_manager.cc const base::FilePath& drive_path = base 135 chrome/browser/chromeos/file_manager/volume_manager.cc VolumeInfo CreateDownloadsVolumeInfo(const base::FilePath& downloads_path) { base 148 chrome/browser/chromeos/file_manager/volume_manager.cc VolumeInfo CreateTestingVolumeInfo(const base::FilePath& path, base 168 chrome/browser/chromeos/file_manager/volume_manager.cc volume_info.source_path = base::FilePath(mount_point.source_path); base 169 chrome/browser/chromeos/file_manager/volume_manager.cc volume_info.mount_path = base::FilePath(mount_point.mount_path); base 174 chrome/browser/chromeos/file_manager/volume_manager.cc base::FilePath(disk->system_path_prefix()); base 251 chrome/browser/chromeos/file_manager/volume_manager.cc const base::FilePath old_path = base 253 chrome/browser/chromeos/file_manager/volume_manager.cc base::FilePath new_path; base 266 chrome/browser/chromeos/file_manager/volume_manager.cc const base::FilePath downloads = base 355 chrome/browser/chromeos/file_manager/volume_manager.cc base::Bind(&VolumeManager::OnExternalStorageDisabledChanged, base 356 chrome/browser/chromeos/file_manager/volume_manager.cc base::Unretained(this))); base 361 chrome/browser/chromeos/file_manager/volume_manager.cc base::Bind(&VolumeManager::OnPrivetVolumesAvailable, base 362 chrome/browser/chromeos/file_manager/volume_manager.cc base::Unretained(this)))); base 417 chrome/browser/chromeos/file_manager/volume_manager.cc const base::FilePath& path) { base 420 chrome/browser/chromeos/file_manager/volume_manager.cc base::FilePath old_path; base 434 chrome/browser/chromeos/file_manager/volume_manager.cc void VolumeManager::AddVolumeInfoForTesting(const base::FilePath& path, base 557 chrome/browser/chromeos/file_manager/volume_manager.cc base::FilePath(mount_info.source_path), base 558 chrome/browser/chromeos/file_manager/volume_manager.cc base::Bind(&drive::util::EmptyFileOperationCallback)); base 72 chrome/browser/chromeos/file_manager/volume_manager.h base::FilePath source_path; base 79 chrome/browser/chromeos/file_manager/volume_manager.h base::FilePath mount_path; base 86 chrome/browser/chromeos/file_manager/volume_manager.h base::FilePath system_path_prefix; base 143 chrome/browser/chromeos/file_manager/volume_manager.h bool RegisterDownloadsDirectoryForTesting(const base::FilePath& path); base 147 chrome/browser/chromeos/file_manager/volume_manager.h void AddVolumeInfoForTesting(const base::FilePath& path, base 29 chrome/browser/chromeos/file_manager/zip_file_creator.cc const base::FilePath& src_dir, base 30 chrome/browser/chromeos/file_manager/zip_file_creator.cc const std::vector<base::FilePath>& src_relative_paths, base 31 chrome/browser/chromeos/file_manager/zip_file_creator.cc const base::FilePath& dest_file) base 44 chrome/browser/chromeos/file_manager/zip_file_creator.cc base::Bind(&ZipFileCreator::OpenFileHandleOnBlockingThreadPool, this)); base 73 chrome/browser/chromeos/file_manager/zip_file_creator.cc int flags = base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_WRITE; base 74 chrome/browser/chromeos/file_manager/zip_file_creator.cc base::PlatformFileError error_code = base::PLATFORM_FILE_OK; base 75 chrome/browser/chromeos/file_manager/zip_file_creator.cc base::PlatformFile dest_file = base 76 chrome/browser/chromeos/file_manager/zip_file_creator.cc base::CreatePlatformFile(dest_file_, flags, NULL, &error_code); base 78 chrome/browser/chromeos/file_manager/zip_file_creator.cc if (error_code != base::PLATFORM_FILE_OK) { base 83 chrome/browser/chromeos/file_manager/zip_file_creator.cc base::Bind(&ZipFileCreator::ReportDone, this, false)); base 89 chrome/browser/chromeos/file_manager/zip_file_creator.cc base::Bind(&ZipFileCreator::StartProcessOnIOThread, this, dest_file)); base 92 chrome/browser/chromeos/file_manager/zip_file_creator.cc void ZipFileCreator::StartProcessOnIOThread(base::PlatformFile dest_file) { base 93 chrome/browser/chromeos/file_manager/zip_file_creator.cc base::FileDescriptor dest_fd; base 42 chrome/browser/chromeos/file_manager/zip_file_creator.h const base::FilePath& src_dir, base 43 chrome/browser/chromeos/file_manager/zip_file_creator.h const std::vector<base::FilePath>& src_relative_paths, base 44 chrome/browser/chromeos/file_manager/zip_file_creator.h const base::FilePath& dest_file); base 58 chrome/browser/chromeos/file_manager/zip_file_creator.h void StartProcessOnIOThread(base::PlatformFile dest_file); base 77 chrome/browser/chromeos/file_manager/zip_file_creator.h base::FilePath src_dir_; base 81 chrome/browser/chromeos/file_manager/zip_file_creator.h std::vector<base::FilePath> src_relative_paths_; base 84 chrome/browser/chromeos/file_manager/zip_file_creator.h base::FilePath dest_file_; base 26 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc explicit TestObserver(const base::Closure& quit) base 38 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc const base::Closure quit_; base 45 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc ASSERT_TRUE(base::CreateDirectory(zip_base_dir())); base 48 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc base::FilePath zip_archive_path() const { base 52 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc base::FilePath zip_base_dir() const { base 57 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc base::ScopedTempDir dir_; base 63 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc base::RunLoop run_loop; base 66 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc std::vector<base::FilePath> paths; base 67 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc paths.push_back(base::FilePath(FILE_PATH_LITERAL("not.exist"))); base 78 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc const base::FilePath kDir1(FILE_PATH_LITERAL("foo")); base 79 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc const base::FilePath kFile1(kDir1.AppendASCII("bar")); base 80 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc const base::FilePath kFile2(FILE_PATH_LITERAL("random")); base 82 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc const std::string kRandomData = base::RandBytesAsString(kRandomDataSize); base 83 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc base::CreateDirectory(zip_base_dir().Append(kDir1)); base 84 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc base::WriteFile(zip_base_dir().Append(kFile1), "123", 3); base 85 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc base::WriteFile(zip_base_dir().Append(kFile2), base 88 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc base::RunLoop run_loop; base 91 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc std::vector<base::FilePath> paths; base 119 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc const base::FilePath out = dir_.path().AppendASCII("archived_content"); base 121 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc EXPECT_TRUE(base::ContentsEqual(zip_base_dir().Append(kFile2), out)); base 15 chrome/browser/chromeos/file_system_provider/provided_file_system.cc const base::FilePath& mount_path) base 22 chrome/browser/chromeos/file_system_provider/provided_file_system.h const base::FilePath& mount_path); base 29 chrome/browser/chromeos/file_system_provider/provided_file_system.h const base::FilePath& mount_path() const { return mount_path_; } base 42 chrome/browser/chromeos/file_system_provider/provided_file_system.h base::FilePath mount_path_; base 22 chrome/browser/chromeos/file_system_provider/service.cc const base::FilePath::CharType kProvidedMountPointRoot[] = base 30 chrome/browser/chromeos/file_system_provider/service.cc base::FilePath GetMountPointPath(Profile* profile, base 39 chrome/browser/chromeos/file_system_provider/service.cc return base::FilePath(kProvidedMountPointRoot).AppendASCII( base 40 chrome/browser/chromeos/file_system_provider/service.cc extension_id + "-" + base::IntToString(file_system_id) + user_suffix); base 83 chrome/browser/chromeos/file_system_provider/service.cc const base::FilePath& mount_point_path = base 14 chrome/browser/chromeos/fileapi/file_access_permissions.cc base::FilePath FullPermission() { return base::FilePath(); } base 24 chrome/browser/chromeos/fileapi/file_access_permissions.cc base::AutoLock locker(lock_); base 29 chrome/browser/chromeos/fileapi/file_access_permissions.cc const std::string& extension_id, const base::FilePath& path) { base 31 chrome/browser/chromeos/fileapi/file_access_permissions.cc base::AutoLock locker(lock_); base 36 chrome/browser/chromeos/fileapi/file_access_permissions.cc const std::string& extension_id, const base::FilePath& path) const { base 37 chrome/browser/chromeos/fileapi/file_access_permissions.cc base::AutoLock locker(lock_); base 48 chrome/browser/chromeos/fileapi/file_access_permissions.cc base::FilePath current_path = path.StripTrailingSeparators(); base 49 chrome/browser/chromeos/fileapi/file_access_permissions.cc base::FilePath last_path; base 61 chrome/browser/chromeos/fileapi/file_access_permissions.cc base::AutoLock locker(lock_); base 29 chrome/browser/chromeos/fileapi/file_access_permissions.h const base::FilePath& path); base 32 chrome/browser/chromeos/fileapi/file_access_permissions.h const base::FilePath& path) const; base 37 chrome/browser/chromeos/fileapi/file_access_permissions.h typedef std::set<base::FilePath> PathSet; base 40 chrome/browser/chromeos/fileapi/file_access_permissions.h mutable base::Lock lock_; // Synchronize all access to path_map_. base 12 chrome/browser/chromeos/fileapi/file_access_permissions_unittest.cc base::FilePath good_dir(FILE_PATH_LITERAL("/root/dir")); base 13 chrome/browser/chromeos/fileapi/file_access_permissions_unittest.cc base::FilePath bad_dir(FILE_PATH_LITERAL("/root")); base 14 chrome/browser/chromeos/fileapi/file_access_permissions_unittest.cc base::FilePath good_file(FILE_PATH_LITERAL("/root/dir/good_file.txt")); base 15 chrome/browser/chromeos/fileapi/file_access_permissions_unittest.cc base::FilePath bad_file(FILE_PATH_LITERAL("/root/dir/bad_file.txt")); base 77 chrome/browser/chromeos/fileapi/file_system_backend.cc base::FilePath(FILE_PATH_LITERAL("/usr/share/oem"))); base 101 chrome/browser/chromeos/fileapi/file_system_backend.cc base::FilePath path; base 111 chrome/browser/chromeos/fileapi/file_system_backend.cc callback.Run(root_url, std::string(), base::File::FILE_ERROR_SECURITY); base 130 chrome/browser/chromeos/fileapi/file_system_backend.cc GURL(root_url), std::string(), base::File::FILE_ERROR_SECURITY); base 140 chrome/browser/chromeos/fileapi/file_system_backend.cc callback.Run(GURL(root_url), name, base::File::FILE_OK); base 190 chrome/browser/chromeos/fileapi/file_system_backend.cc const std::string& extension_id, const base::FilePath& virtual_path) { base 198 chrome/browser/chromeos/fileapi/file_system_backend.cc base::FilePath path; base 220 chrome/browser/chromeos/fileapi/file_system_backend.cc std::vector<base::FilePath> FileSystemBackend::GetRootDirectories() const { base 225 chrome/browser/chromeos/fileapi/file_system_backend.cc std::vector<base::FilePath> root_dirs; base 243 chrome/browser/chromeos/fileapi/file_system_backend.cc fileapi::FileSystemType type, base::File::Error* error_code) { base 245 chrome/browser/chromeos/fileapi/file_system_backend.cc *error_code = base::File::FILE_OK; base 252 chrome/browser/chromeos/fileapi/file_system_backend.cc base::File::Error* error_code) const { base 256 chrome/browser/chromeos/fileapi/file_system_backend.cc *error_code = base::File::FILE_ERROR_SECURITY; base 277 chrome/browser/chromeos/fileapi/file_system_backend.cc const base::Time& expected_modification_time, base 318 chrome/browser/chromeos/fileapi/file_system_backend.cc const base::FilePath& filesystem_path, base 319 chrome/browser/chromeos/fileapi/file_system_backend.cc base::FilePath* virtual_path) { base 101 chrome/browser/chromeos/fileapi/file_system_backend.h base::File::Error* error_code) OVERRIDE; base 105 chrome/browser/chromeos/fileapi/file_system_backend.h base::File::Error* error_code) const OVERRIDE; base 111 chrome/browser/chromeos/fileapi/file_system_backend.h const base::Time& expected_modification_time, base 122 chrome/browser/chromeos/fileapi/file_system_backend.h virtual std::vector<base::FilePath> GetRootDirectories() const OVERRIDE; base 127 chrome/browser/chromeos/fileapi/file_system_backend.h const base::FilePath& virtual_path) OVERRIDE; base 130 chrome/browser/chromeos/fileapi/file_system_backend.h virtual bool GetVirtualPath(const base::FilePath& filesystem_path, base 131 chrome/browser/chromeos/fileapi/file_system_backend.h base::FilePath* virtual_path) OVERRIDE; base 13 chrome/browser/chromeos/fileapi/file_system_backend_delegate.h namespace base { base 45 chrome/browser/chromeos/fileapi/file_system_backend_delegate.h const base::Time& expected_modification_time, base 31 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath::FromUTF8Unsafe(path)); base 49 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc std::vector<base::FilePath> root_dirs = backend.GetRootDirectories(); base 50 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc std::set<base::FilePath> root_dirs_set(root_dirs.begin(), root_dirs.end()); base 59 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/usr/share/oem")))); base 83 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("/a/b/c"))); base 87 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("/b/c/d"))); base 93 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("/g/c/d"))); base 97 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("/g/d/e"))); base 99 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc std::vector<base::FilePath> root_dirs = backend.GetRootDirectories(); base 100 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc std::set<base::FilePath> root_dirs_set(root_dirs.begin(), root_dirs.end()); base 102 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/a/b/c")))); base 103 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/b/c/d")))); base 104 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/g/c/d")))); base 105 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/g/d/e")))); base 132 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("/g/system")))); base 137 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("/media/removable")))); base 142 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("/usr/share/oem")))); base 149 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("removable/foo"))); base 160 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("system/foo"))); base 169 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc extension, base::FilePath(FPL("oem/foo"))); base 194 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("/foo/test")))); base 205 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath(FPL("removable/"))); base 229 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc "b", type, option, base::FilePath(FPL("/a/b")))); base 231 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc "y", type, option, base::FilePath(FPL("/z/y")))); base 233 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc "n", type, option, base::FilePath(FPL("/m/n")))); base 237 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc "gb", type, option, base::FilePath(FPL("/a/b")))); base 240 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc "gz", type, option, base::FilePath(FPL("/z")))); base 242 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc "gp", type, option, base::FilePath(FPL("/m/n/o/p")))); base 245 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc const base::FilePath::CharType* const local_path; base 247 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc const base::FilePath::CharType* const virtual_path; base 265 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath virtual_path(FPL("/mount")); base 266 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath local_path(kTestCases[i].local_path); base 276 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc base::FilePath expected_virtual_path(kTestCases[i].virtual_path); base 82 chrome/browser/chromeos/first_run/drive_first_run_browsertest.cc base::FilePath test_data_dir_; base 118 chrome/browser/chromeos/first_run/drive_first_run_browsertest.cc std::string port(base::IntToString(embedded_test_server()->port())); base 125 chrome/browser/chromeos/first_run/drive_first_run_controller.cc typedef base::Callback< base 154 chrome/browser/chromeos/first_run/drive_first_run_controller.cc const base::string16& frame_unique_name, base 158 chrome/browser/chromeos/first_run/drive_first_run_controller.cc const base::string16& error_description, base 165 chrome/browser/chromeos/first_run/drive_first_run_controller.cc const base::string16& error_description, base 173 chrome/browser/chromeos/first_run/drive_first_run_controller.cc const base::string16& frame_name, base 190 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::WeakPtrFactory<DriveWebContentsManager> weak_ptr_factory_; base 242 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::MessageLoop::current()->PostTask( base 244 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::Bind(&DriveWebContentsManager::RunCompletionCallback, base 260 chrome/browser/chromeos/first_run/drive_first_run_controller.cc const base::string16& frame_unique_name, base 264 chrome/browser/chromeos/first_run/drive_first_run_controller.cc const base::string16& error_description, base 278 chrome/browser/chromeos/first_run/drive_first_run_controller.cc const base::string16& error_description, base 291 chrome/browser/chromeos/first_run/drive_first_run_controller.cc const base::string16& frame_name, base 314 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::UTF8ToUTF16(app_id_))) { base 322 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::ASCIIToUTF16(app_id_), base 341 chrome/browser/chromeos/first_run/drive_first_run_controller.cc const std::string app_id = base::UTF16ToUTF8( base 369 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::TimeDelta::FromSeconds(initial_delay_secs_), base 393 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::UTF8ToUTF16(drive_hosted_app_id_))) { base 403 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::Bind(&DriveFirstRunController::OnOfflineInit, base 404 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::Unretained(this)))); base 408 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::TimeDelta::FromSeconds(web_contents_timeout_secs_), base 446 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 475 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::string16(), // title base 478 chrome/browser/chromeos/first_run/drive_first_run_controller.cc base::UTF8ToUTF16(extension->name()), base 81 chrome/browser/chromeos/first_run/drive_first_run_controller.h base::OneShotTimer<DriveFirstRunController> web_contents_timer_; base 82 chrome/browser/chromeos/first_run/drive_first_run_controller.h base::OneShotTimer<DriveFirstRunController> initial_delay_timer_; base 98 chrome/browser/chromeos/first_run/first_run_browsertest.cc void WaitUntilCalled(base::Closure* callback) { base 120 chrome/browser/chromeos/first_run/first_run_browsertest.cc base::Closure on_initialized_callback_; base 121 chrome/browser/chromeos/first_run/first_run_browsertest.cc base::Closure on_step_shown_callback_; base 122 chrome/browser/chromeos/first_run/first_run_browsertest.cc base::Closure on_finalized_callback_; base 57 chrome/browser/chromeos/first_run/first_run_controller.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, g_instance); base 72 chrome/browser/chromeos/first_run/first_run_controller.cc start_time_ = base::Time::Now(); base 100 chrome/browser/chromeos/first_run/first_run_controller.cc base::Time::Now() - start_time_); base 124 chrome/browser/chromeos/first_run/first_run_controller.cc on_actor_finalized_ = base::Bind(chrome::ShowHelpForProfile, base 93 chrome/browser/chromeos/first_run/first_run_controller.h base::Closure on_actor_finalized_; base 99 chrome/browser/chromeos/first_run/first_run_controller.h base::Time start_time_; base 51 chrome/browser/chromeos/first_run/step.cc show_time_ = base::Time::Now(); base 77 chrome/browser/chromeos/first_run/step.cc base::HistogramBase* histogram = base::Histogram::FactoryTimeGet( base 79 chrome/browser/chromeos/first_run/step.cc base::TimeDelta::FromMilliseconds(100), base 80 chrome/browser/chromeos/first_run/step.cc base::TimeDelta::FromMinutes(3), base 82 chrome/browser/chromeos/first_run/step.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 83 chrome/browser/chromeos/first_run/step.cc histogram->AddTime(base::Time::Now() - show_time_); base 84 chrome/browser/chromeos/first_run/step.cc show_time_ = base::Time(); base 68 chrome/browser/chromeos/first_run/step.h base::Time show_time_; base 33 chrome/browser/chromeos/first_run/steps/tray_step.cc if ((!base::i18n::IsRTL() && alignment != ash::SHELF_ALIGNMENT_LEFT) || base 14 chrome/browser/chromeos/idle_detector.cc IdleDetector::IdleDetector(const base::Closure& on_active_callback, base 15 chrome/browser/chromeos/idle_detector.cc const base::Closure& on_idle_callback) base 30 chrome/browser/chromeos/idle_detector.cc void IdleDetector::Start(const base::TimeDelta& timeout) { base 19 chrome/browser/chromeos/idle_detector.h IdleDetector(const base::Closure& on_active_callback, base 20 chrome/browser/chromeos/idle_detector.h const base::Closure& on_idle_callback); base 23 chrome/browser/chromeos/idle_detector.h void Start(const base::TimeDelta& timeout); base 32 chrome/browser/chromeos/idle_detector.h base::OneShotTimer<IdleDetector> timer_; base 34 chrome/browser/chromeos/idle_detector.h base::Closure active_callback_; base 35 chrome/browser/chromeos/idle_detector.h base::Closure idle_callback_; base 37 chrome/browser/chromeos/idle_detector.h base::TimeDelta timeout_; base 73 chrome/browser/chromeos/imageburner/burn_controller.cc const base::TimeDelta& estimated_remaining_time) OVERRIDE { base 89 chrome/browser/chromeos/imageburner/burn_controller.cc StartBurnImage(base::FilePath(), base::FilePath()); base 105 chrome/browser/chromeos/imageburner/burn_controller.cc StartBurnImage(base::FilePath(), base::FilePath()); base 125 chrome/browser/chromeos/imageburner/burn_controller.cc virtual void StartBurnImage(const base::FilePath& target_device_path, base 126 chrome/browser/chromeos/imageburner/burn_controller.cc const base::FilePath& target_file_path) OVERRIDE { base 14 chrome/browser/chromeos/imageburner/burn_controller.h namespace base { base 51 chrome/browser/chromeos/imageburner/burn_controller.h const base::TimeDelta& time_remaining) = 0; base 65 chrome/browser/chromeos/imageburner/burn_controller.h virtual void StartBurnImage(const base::FilePath& target_device_path, base 66 chrome/browser/chromeos/imageburner/burn_controller.h const base::FilePath& target_file_path) = 0; base 26 chrome/browser/chromeos/imageburner/burn_device_handler.h typedef base::Callback<void(const disks::DiskMountManager::Disk& disk)> base 236 chrome/browser/chromeos/imageburner/burn_device_handler_unittest.cc base::Bind(CopyDevicePathCallback, &added_device), base 237 chrome/browser/chromeos/imageburner/burn_device_handler_unittest.cc base::Bind(CopyDevicePathCallback, &removed_device)); base 41 chrome/browser/chromeos/imageburner/burn_manager.cc void CreateDirectory(const base::FilePath& path, base 42 chrome/browser/chromeos/imageburner/burn_manager.cc base::Callback<void(bool success)> callback) { base 43 chrome/browser/chromeos/imageburner/burn_manager.cc const bool success = base::CreateDirectory(path); base 45 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(callback, success)); base 50 chrome/browser/chromeos/imageburner/burn_manager.cc void UnzipImage(const base::FilePath& source_zip_file, base 52 chrome/browser/chromeos/imageburner/burn_manager.cc scoped_refptr<base::RefCountedString> source_image_file) { base 123 chrome/browser/chromeos/imageburner/burn_manager.cc return base::EmptyString(); base 128 chrome/browser/chromeos/imageburner/burn_manager.cc return base::EmptyString(); base 211 chrome/browser/chromeos/imageburner/burn_manager.cc const base::FilePath& downloads_directory, base 228 chrome/browser/chromeos/imageburner/burn_manager.cc base::WeakPtr<BurnManager> weak_ptr(weak_ptr_factory_.GetWeakPtr()); base 230 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(&BurnManager::NotifyDeviceAdded, weak_ptr), base 231 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(&BurnManager::NotifyDeviceRemoved, weak_ptr)); base 233 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(&BurnManager::OnBurnFinished, base 235 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(&BurnManager::OnBurnProgressUpdate, base 241 chrome/browser/chromeos/imageburner/burn_manager.cc base::DeleteFile(image_dir_, true); base 252 chrome/browser/chromeos/imageburner/burn_manager.cc const base::FilePath& downloads_directory, base 327 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(CreateDirectory, base 329 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(&BurnManager::OnImageDirCreated, base 350 chrome/browser/chromeos/imageburner/burn_manager.cc base::FilePath BurnManager::GetImageDir() { base 352 chrome/browser/chromeos/imageburner/burn_manager.cc return base::FilePath(); base 383 chrome/browser/chromeos/imageburner/burn_manager.cc tick_image_download_start_ = base::TimeTicks::Now(); base 420 chrome/browser/chromeos/imageburner/burn_manager.cc scoped_refptr<base::RefCountedString> result(new base::RefCountedString); base 421 chrome/browser/chromeos/imageburner/burn_manager.cc base::WorkerPool::PostTaskAndReply( base 423 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(UnzipImage, zip_image_file_path_, image_file_name_, result), base 424 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(&BurnManager::OnImageUnzipped, base 476 chrome/browser/chromeos/imageburner/burn_manager.cc base::TimeDelta estimated_remaining_time; base 479 chrome/browser/chromeos/imageburner/burn_manager.cc const base::TimeDelta elapsed_time = base 480 chrome/browser/chromeos/imageburner/burn_manager.cc base::TimeTicks::Now() - tick_image_download_start_; base 583 chrome/browser/chromeos/imageburner/burn_manager.cc scoped_refptr<base::RefCountedString> source_image_file) { base 584 chrome/browser/chromeos/imageburner/burn_manager.cc source_image_path_ = base::FilePath(source_image_file->data()); base 602 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(&BurnManager::OnDevicesUnmounted, base 615 chrome/browser/chromeos/imageburner/burn_manager.cc base::Bind(&BurnManager::OnBurnImageFail, base 239 chrome/browser/chromeos/imageburner/burn_manager.h const base::TimeDelta& estimated_remaining_time) = 0; base 251 chrome/browser/chromeos/imageburner/burn_manager.h const base::FilePath& downloads_directory, base 329 chrome/browser/chromeos/imageburner/burn_manager.h base::FilePath GetImageDir(); base 331 chrome/browser/chromeos/imageburner/burn_manager.h const base::FilePath& target_device_path() { return target_device_path_; } base 332 chrome/browser/chromeos/imageburner/burn_manager.h void set_target_device_path(const base::FilePath& path) { base 336 chrome/browser/chromeos/imageburner/burn_manager.h const base::FilePath& target_file_path() { return target_file_path_; } base 337 chrome/browser/chromeos/imageburner/burn_manager.h void set_target_file_path(const base::FilePath& path) { base 349 chrome/browser/chromeos/imageburner/burn_manager.h BurnManager(const base::FilePath& downloads_directory, base 358 chrome/browser/chromeos/imageburner/burn_manager.h void OnImageUnzipped(scoped_refptr<base::RefCountedString> source_image_file); base 379 chrome/browser/chromeos/imageburner/burn_manager.h base::FilePath image_dir_; base 380 chrome/browser/chromeos/imageburner/burn_manager.h base::FilePath zip_image_file_path_; base 381 chrome/browser/chromeos/imageburner/burn_manager.h base::FilePath source_image_path_; base 382 chrome/browser/chromeos/imageburner/burn_manager.h base::FilePath target_device_path_; base 383 chrome/browser/chromeos/imageburner/burn_manager.h base::FilePath target_file_path_; base 397 chrome/browser/chromeos/imageburner/burn_manager.h base::TimeTicks tick_image_download_start_; base 404 chrome/browser/chromeos/imageburner/burn_manager.h base::WeakPtrFactory<BurnManager> weak_ptr_factory_; base 35 chrome/browser/chromeos/input_method/accessibility.cc const std::string medium_name = base::UTF16ToUTF8( base 17 chrome/browser/chromeos/input_method/browser_state_monitor.cc const base::Callback<void(InputMethodManager::State)>& observer) base 28 chrome/browser/chromeos/input_method/browser_state_monitor.h const base::Callback<void(InputMethodManager::State)>& observer); base 39 chrome/browser/chromeos/input_method/browser_state_monitor.h base::Callback<void(InputMethodManager::State)> observer_; base 31 chrome/browser/chromeos/input_method/browser_state_monitor_unittest.cc base::Callback<void(InputMethodManager::State new_state)> AsCallback() { base 32 chrome/browser/chromeos/input_method/browser_state_monitor_unittest.cc return base::Bind(&MockObserver::SetState, base::Unretained(this)); base 155 chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc const base::string16& text, unsigned int cursor, bool visible) { base 74 chrome/browser/chromeos/input_method/candidate_window_controller_impl.h virtual void UpdatePreeditText(const base::string16& text, base 117 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::FilePath& file_path) { base 132 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::FilePath& file_path) { base 139 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc scoped_ptr<base::DictionaryValue> ComponentExtensionIMEManagerImpl::GetManifest( base 140 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::FilePath& file_path) { base 143 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc scoped_ptr<base::DictionaryValue> manifest( base 156 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::Closure& callback) { base 165 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc base::Bind(&ComponentExtensionIMEManagerImpl::ReadComponentExtensionsInfo, base 166 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc base::Unretained(component_extension_ime_list)), base 167 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc base::Bind( base 170 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc base::Owned(component_extension_ime_list), base 181 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::DictionaryValue& dict, base 196 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::Value* language_value = NULL; base 198 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc if (language_value->GetType() == base::Value::TYPE_STRING) { base 202 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc } else if (language_value->GetType() == base::Value::TYPE_LIST) { base 203 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::ListValue* language_list = NULL; base 215 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::ListValue* layouts = NULL; base 256 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::DictionaryValue& manifest, base 284 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc component_ime.path = base::FilePath( base 287 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::FilePath manifest_path = base 290 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc if (!base::PathExists(component_ime.path) || base 291 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc !base::PathExists(manifest_path)) base 294 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc if (!base::ReadFileToString(manifest_path, &component_ime.manifest)) base 297 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc scoped_ptr<base::DictionaryValue> manifest = base 308 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::ListValue* component_list; base 314 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::DictionaryValue* dictionary; base 328 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc const base::Closure& callback) { base 31 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h const base::FilePath& file_path) OVERRIDE; base 33 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h const base::FilePath& file_path) OVERRIDE; base 37 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h void InitializeAsync(const base::Closure& callback); base 53 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h const base::Closure& callback); base 57 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h static scoped_ptr<base::DictionaryValue> GetManifest( base 58 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h const base::FilePath& file_path); base 63 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h static bool ReadExtensionInfo(const base::DictionaryValue& manifest, base 72 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h const base::DictionaryValue& dict, base 82 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h base::ThreadChecker thread_checker_; base 83 chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h base::WeakPtrFactory<ComponentExtensionIMEManagerImpl> weak_ptr_factory_; base 34 chrome/browser/chromeos/input_method/input_method_configuration.cc const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner) { base 47 chrome/browser/chromeos/input_method/input_method_configuration.cc base::Bind(&OnSessionStateChange, base 82 chrome/browser/chromeos/input_method/input_method_configuration.cc const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner, base 83 chrome/browser/chromeos/input_method/input_method_configuration.cc const scoped_refptr<base::SequencedTaskRunner>& file_task_runner) { base 19 chrome/browser/chromeos/input_method/input_method_configuration.h const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner, base 20 chrome/browser/chromeos/input_method/input_method_configuration.h const scoped_refptr<base::SequencedTaskRunner>& file_task_runner); base 34 chrome/browser/chromeos/input_method/input_method_delegate_impl.cc base::string16 InputMethodDelegateImpl::GetLocalizedString( base 39 chrome/browser/chromeos/input_method/input_method_delegate_impl.cc base::string16 InputMethodDelegateImpl::GetDisplayLanguageName( base 26 chrome/browser/chromeos/input_method/input_method_delegate_impl.h virtual base::string16 GetLocalizedString(int resource_id) const OVERRIDE; base 27 chrome/browser/chromeos/input_method/input_method_delegate_impl.h virtual base::string16 GetDisplayLanguageName( base 151 chrome/browser/chromeos/input_method/input_method_engine.cc composition_text_->set_text(base::UTF8ToUTF16(text)); base 253 chrome/browser/chromeos/input_method/input_method_engine.cc base::AutoReset<const ui::KeyEvent*> reset_sent_key(&sent_key_event_, base 328 chrome/browser/chromeos/input_method/input_method_engine.cc entry.value = base::UTF8ToUTF16(ix->value); base 329 chrome/browser/chromeos/input_method/input_method_engine.cc entry.label = base::UTF8ToUTF16(ix->label); base 330 chrome/browser/chromeos/input_method/input_method_engine.cc entry.annotation = base::UTF8ToUTF16(ix->annotation); base 331 chrome/browser/chromeos/input_method/input_method_engine.cc entry.description_title = base::UTF8ToUTF16(ix->usage.title); base 332 chrome/browser/chromeos/input_method/input_method_engine.cc entry.description_body = base::UTF8ToUTF16(ix->usage.body); base 539 chrome/browser/chromeos/input_method/input_method_engine.cc const base::NativeEvent& native_event = event.native_event(); base 127 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::MessageLoop::current()->Quit(); base 191 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Bind(&KeyEventDoneCallback::Run, base 192 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Unretained(&callback))); base 272 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Bind(&KeyEventDoneCallback::Run, base 273 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Unretained(&callback))); base 291 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Bind(&KeyEventDoneCallback::Run, base 292 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Unretained(&callback))); base 310 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Bind(&KeyEventDoneCallback::Run, base 311 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Unretained(&callback))); base 329 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Bind(&KeyEventDoneCallback::Run, base 330 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Unretained(&callback))); base 348 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Bind(&KeyEventDoneCallback::Run, base 349 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Unretained(&callback))); base 367 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Bind(&KeyEventDoneCallback::Run, base 368 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Unretained(&callback))); base 386 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Bind(&KeyEventDoneCallback::Run, base 387 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc base::Unretained(&callback))); base 478 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("COMPOSITION_TEXT"), composition_text.text()); base 713 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("CANDIDATE_1"), base 716 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("CANDIDATE_2"), base 718 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("LABEL_2"), table.candidates().at(1).label); base 720 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("CANDIDATE_3"), base 722 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("LABEL_3"), table.candidates().at(2).label); base 723 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("ANNOTACTION_3"), base 726 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("CANDIDATE_4"), base 728 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("LABEL_4"), table.candidates().at(3).label); base 729 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("ANNOTACTION_4"), base 731 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("TITLE_4"), base 733 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("BODY_4"), base 744 chrome/browser/chromeos/input_method/input_method_manager_impl.cc impl->InitializeAsync(base::Bind( base 747 chrome/browser/chromeos/input_method/input_method_manager_impl.cc base::Passed(&delegate))); base 750 chrome/browser/chromeos/input_method/input_method_manager_impl.cc void InputMethodManagerImpl::Init(base::SequencedTaskRunner* ui_task_runner) { base 753 chrome/browser/chromeos/input_method/input_method_manager_impl.cc if (base::SysInfo::IsRunningOnChromeOS()) base 762 chrome/browser/chromeos/input_method/input_method_manager_impl.cc base::Bind(&InputMethodManagerImpl::InitializeComponentExtension, base 41 chrome/browser/chromeos/input_method/input_method_manager_impl.h void Init(base::SequencedTaskRunner* ui_task_runner); base 211 chrome/browser/chromeos/input_method/input_method_manager_impl.h base::ThreadChecker thread_checker_; base 213 chrome/browser/chromeos/input_method/input_method_manager_impl.h base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; base 96 chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc ext_xkb.path = base::FilePath("ext_xkb_file_path"); base 173 chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc ext1.path = base::FilePath("ext1_file_path"); base 194 chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc ext2.path = base::FilePath("ext2_file_path"); base 248 chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc base::MessageLoop message_loop_; base 47 chrome/browser/chromeos/input_method/input_method_persistence.cc if (base::SysInfo::IsRunningOnChromeOS() && !username.empty() && base 54 chrome/browser/chromeos/input_method/input_method_persistence.cc base::DictionaryValue* const users_lru_input_methods = updater.Get(); base 64 chrome/browser/chromeos/input_method/input_method_persistence.cc local_state->Set(prefs::kUsersLRUInputMethod, base::DictionaryValue()); base 67 chrome/browser/chromeos/input_method/input_method_persistence.cc base::DictionaryValue* const users_lru_input_methods = updater.Get(); base 396 chrome/browser/chromeos/input_method/input_method_util.cc const std::string& english_string, base::string16 *out_string) const { base 411 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 InputMethodUtil::TranslateString( base 413 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 localized_string; base 417 chrome/browser/chromeos/input_method/input_method_util.cc return base::UTF8ToUTF16(english_string); base 457 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 display_name; base 460 chrome/browser/chromeos/input_method/input_method_util.cc return base::UTF16ToUTF8(display_name); base 466 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 InputMethodUtil::GetInputMethodShortName( base 473 chrome/browser/chromeos/input_method/input_method_util.cc return base::UTF8ToUTF16(input_method.indicator()); base 476 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 text; base 481 chrome/browser/chromeos/input_method/input_method_util.cc text = base::UTF8ToUTF16(kMappingFromIdToIndicatorText[i].indicator_text); base 491 chrome/browser/chromeos/input_method/input_method_util.cc text = base::UTF8ToUTF16(it->second); base 504 chrome/browser/chromeos/input_method/input_method_util.cc text = StringToUpperASCII(base::UTF8ToUTF16(language_code)).substr( base 511 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 InputMethodUtil::GetInputMethodMediumName( base 526 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 InputMethodUtil::GetInputMethodLongName( base 530 chrome/browser/chromeos/input_method/input_method_util.cc return base::UTF8ToUTF16(input_method.name()); base 540 chrome/browser/chromeos/input_method/input_method_util.cc const base::string16 standard_input_method_text = base 550 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 text = TranslateString( base 556 chrome/browser/chromeos/input_method/input_method_util.cc const base::string16 language_name = delegate_->GetDisplayLanguageName( base 559 chrome/browser/chromeos/input_method/input_method_util.cc text = language_name + base::UTF8ToUTF16(" - ") + text; base 46 chrome/browser/chromeos/input_method/input_method_util.h base::string16 TranslateString(const std::string& english_string) const; base 60 chrome/browser/chromeos/input_method/input_method_util.h base::string16 GetInputMethodShortName( base 62 chrome/browser/chromeos/input_method/input_method_util.h base::string16 GetInputMethodMediumName( base 64 chrome/browser/chromeos/input_method/input_method_util.h base::string16 GetInputMethodLongName( base 180 chrome/browser/chromeos/input_method/input_method_util.h base::string16 *out_string) const; base 198 chrome/browser/chromeos/input_method/input_method_util.h typedef base::hash_map<std::string, int> HashType; base 203 chrome/browser/chromeos/input_method/input_method_util.h base::ThreadChecker thread_checker_; base 19 chrome/browser/chromeos/input_method/input_method_util_unittest.cc using base::ASCIIToUTF16; base 60 chrome/browser/chromeos/input_method/input_method_util_unittest.cc base::Bind(&l10n_util::GetStringUTF16)); base 62 chrome/browser/chromeos/input_method/input_method_util_unittest.cc base::Bind(&InputMethodUtilTest::GetDisplayLanguageName)); base 116 chrome/browser/chromeos/input_method/input_method_util_unittest.cc static base::string16 GetDisplayLanguageName(const std::string& language_code) { base 136 chrome/browser/chromeos/input_method/input_method_util_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("\xed\x95\x9c"), base 179 chrome/browser/chromeos/input_method/input_method_util_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("\xe6\x8b\xbc"), base 185 chrome/browser/chromeos/input_method/input_method_util_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("\xE6\xB3\xA8"), base 205 chrome/browser/chromeos/input_method/input_method_util_unittest.cc base::string16 medium_name = util_.GetInputMethodMediumName(desc); base 206 chrome/browser/chromeos/input_method/input_method_util_unittest.cc base::string16 short_name = util_.GetInputMethodShortName(desc); base 224 chrome/browser/chromeos/input_method/input_method_util_unittest.cc base::string16 medium_name = util_.GetInputMethodMediumName(desc); base 225 chrome/browser/chromeos/input_method/input_method_util_unittest.cc base::string16 short_name = util_.GetInputMethodShortName(desc); base 488 chrome/browser/chromeos/input_method/input_method_util_unittest.cc const base::string16 display_name = base 500 chrome/browser/chromeos/input_method/input_method_util_unittest.cc EXPECT_NE(language_code, base::UTF16ToUTF8(display_name)) base 104 chrome/browser/chromeos/input_method/mode_indicator_controller.cc const base::string16 short_name = base 31 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 32 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("ime_enable_disable_test.html"))); base 63 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 64 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("focus_input_on_load.html"))); base 77 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 78 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("focus_input_on_content_js.html"))); base 91 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 92 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("focus_input_with_mouse_click.html"))); base 116 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 117 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("focus_input_on_anothor_focus.html"))); base 148 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 149 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("simple_textinput.html"))); base 177 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 178 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("simple_textinput.html"))); base 206 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 207 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("content_editable.html"))); base 238 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 239 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("all_input_node.html"))); base 277 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 278 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("all_input_node.html"))); base 290 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 291 chrome/browser/chromeos/input_method/textinput_browsertest.cc base::FilePath(FILE_PATH_LITERAL("focus_input_on_load.html"))); base 23 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 24 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc base::FilePath(FILE_PATH_LITERAL("simple_textarea.html"))); base 37 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc const base::string16 sample_text1 = base::UTF8ToUTF16("abcde"); base 38 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc const base::string16 sample_text2 = base::UTF8ToUTF16("fghij"); base 39 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc const base::string16 surrounding_text2 = sample_text1 + sample_text2; base 60 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 61 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc base::FilePath(FILE_PATH_LITERAL("simple_textarea.html"))); base 74 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc const base::string16 sample_text = base::UTF8ToUTF16("abcde"); base 99 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textinput")), base 100 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc base::FilePath(FILE_PATH_LITERAL("textarea_with_preset_text.html"))); base 112 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc helper.WaitForSurroundingTextChanged(base::string16(), zero_range); base 118 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc const base::string16 expected_text = base::UTF8ToUTF16("abcde"); base 128 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc helper.WaitForSurroundingTextChanged(base::string16(), zero_range); base 46 chrome/browser/chromeos/input_method/textinput_test_helper.cc base::string16 TextInputTestHelper::GetSurroundingText() const { base 78 chrome/browser/chromeos/input_method/textinput_test_helper.cc base::MessageLoop::current()->Quit(); base 91 chrome/browser/chromeos/input_method/textinput_test_helper.cc base::MessageLoop::current()->Quit(); base 97 chrome/browser/chromeos/input_method/textinput_test_helper.cc base::MessageLoop::current()->Quit(); base 108 chrome/browser/chromeos/input_method/textinput_test_helper.cc base::MessageLoop::current()->Quit(); base 151 chrome/browser/chromeos/input_method/textinput_test_helper.cc const base::string16& expected_text, base 168 chrome/browser/chromeos/input_method/textinput_test_helper.cc if (!base::StringToInt(rect_piece[0], &x)) base 170 chrome/browser/chromeos/input_method/textinput_test_helper.cc if (!base::StringToInt(rect_piece[1], &y)) base 172 chrome/browser/chromeos/input_method/textinput_test_helper.cc if (!base::StringToInt(rect_piece[2], &width)) base 174 chrome/browser/chromeos/input_method/textinput_test_helper.cc if (!base::StringToInt(rect_piece[3], &height)) base 38 chrome/browser/chromeos/input_method/textinput_test_helper.h base::string16 GetSurroundingText() const; base 54 chrome/browser/chromeos/input_method/textinput_test_helper.h void WaitForSurroundingTextChanged(const base::string16& expected_text, base 88 chrome/browser/chromeos/input_method/textinput_test_helper.h base::string16 surrounding_text_; base 25 chrome/browser/chromeos/kiosk_mode/kiosk_mode_idle_logout.cc static base::LazyInstance<KioskModeIdleLogout> base 39 chrome/browser/chromeos/kiosk_mode/kiosk_mode_idle_logout.cc KioskModeSettings::Get()->Initialize(base::Bind(&KioskModeIdleLogout::Setup, base 40 chrome/browser/chromeos/kiosk_mode/kiosk_mode_idle_logout.cc base::Unretained(this))); base 89 chrome/browser/chromeos/kiosk_mode/kiosk_mode_idle_logout.cc base::Bind(&KioskModeIdleLogout::OnTimeout, base 90 chrome/browser/chromeos/kiosk_mode/kiosk_mode_idle_logout.cc base::Unretained(this))); base 50 chrome/browser/chromeos/kiosk_mode/kiosk_mode_idle_logout.h base::OneShotTimer<KioskModeIdleLogout> timer_; base 49 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc typedef base::Callback<void( base 51 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath&)> UnpackCallback; base 56 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc ScreensaverUnpackerClient(const base::FilePath& crx_path, base 61 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc virtual void OnUnpackSuccess(const base::FilePath& temp_dir, base 62 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath& extension_root, base 63 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::DictionaryValue* original_manifest, base 66 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc virtual void OnUnpackFailure(const base::string16& error) OVERRIDE; base 73 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath& extension_base_path, base 74 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath& screensaver_extension_path); base 78 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc base::FilePath crx_path_; base 85 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath& temp_dir, base 86 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath& extension_root, base 87 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::DictionaryValue* original_manifest, base 93 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc base::Bind(&ScreensaverUnpackerClient::LoadScreensaverExtension, base 99 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc void ScreensaverUnpackerClient::OnUnpackFailure(const base::string16& error) { base 105 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath& extension_base_path, base 106 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath& screensaver_extension_path) { base 131 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc base::Bind( base 141 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc base::Bind(&ScreensaverUnpackerClient::NotifyAppPackOfDamagedFile, base 163 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc kiosk_mode_settings->Initialize(base::Bind( base 187 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc base::Bind( base 201 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc base::Bind(&KioskModeScreensaver::ScreensaverPathCallback, base 206 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath& screensaver_crx) { base 213 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc base::FilePath extensions_dir = extension_service->install_directory(); base 224 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc base::Bind( base 232 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc base::Bind( base 238 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc const base::FilePath& extension_base_path) { base 36 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h void ScreensaverPathCallback(const base::FilePath& screensaver_crx); base 41 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h const base::FilePath& extension_base_path); base 43 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h base::WeakPtrFactory<KioskModeScreensaver> weak_ptr_factory_; base 45 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h base::FilePath extension_base_path_; base 35 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc static base::LazyInstance<KioskModeSettings> g_kiosk_mode_settings = base 47 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc void KioskModeSettings::Initialize(const base::Closure& notify_initialized) { base 56 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::Bind(&KioskModeSettings::Initialize, base 57 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::Unretained(this), base 88 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc screensaver_timeout_ = base::TimeDelta::FromMilliseconds( base 91 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::TimeDelta::FromMilliseconds(idle_logout_timeout); base 93 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::TimeDelta::FromMilliseconds(idle_logout_warning_duration); base 106 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc callback.Run(base::FilePath()); base 114 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc callback.Run(base::FilePath( base 130 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::TimeDelta KioskModeSettings::GetScreensaverTimeout() const { base 132 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc return base::TimeDelta::FromSeconds(-1); base 137 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::TimeDelta KioskModeSettings::GetIdleLogoutTimeout() const { base 139 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc return base::TimeDelta::FromSeconds(-1); base 144 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::TimeDelta KioskModeSettings::GetIdleLogoutWarningDuration() const { base 146 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc return base::TimeDelta::FromSeconds(-1); base 169 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::Bind(&KioskModeSettings::VerifyModeIsKnown, base 170 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::Unretained(this))); base 193 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::Bind(&KioskModeSettings::VerifyModeIsKnown, base 194 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::Unretained(this), status), base 195 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc base::TimeDelta::FromMilliseconds(kDeviceModeFetchRetryDelayMs)); base 16 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h namespace base { base 39 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h virtual void Initialize(const base::Closure& notify_initialized); base 48 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h virtual base::TimeDelta GetScreensaverTimeout() const; base 55 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h virtual base::TimeDelta GetIdleLogoutTimeout() const; base 58 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h virtual base::TimeDelta GetIdleLogoutWarningDuration() const; base 72 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h friend struct base::DefaultLazyInstanceTraits<KioskModeSettings>; base 87 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h base::TimeDelta screensaver_timeout_; base 88 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h base::TimeDelta idle_logout_timeout_; base 89 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h base::TimeDelta idle_logout_warning_duration_; base 53 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::Bind(&KioskModeSettingsTest::SetUp, base 54 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::Unretained(this))); base 65 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc KioskModeSettings::Get()->Initialize(base::Bind(&base::DoNothing)); base 72 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::MessageLoopForUI message_loop_; base 101 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::TimeDelta::FromMilliseconds( base 110 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::TimeDelta::FromMilliseconds( base 119 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::TimeDelta::FromMilliseconds( base 132 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::TimeDelta::FromMilliseconds( base 141 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::TimeDelta::FromMilliseconds( base 150 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::TimeDelta::FromMilliseconds( base 159 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::TimeDelta()); base 161 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::TimeDelta()); base 163 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc base::TimeDelta()); base 14 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.cc const base::Closure& notify_initialized) { base 23 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.cc base::TimeDelta MockKioskModeSettings::GetIdleLogoutTimeout() const { base 25 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.cc return base::TimeDelta::FromSeconds(-1); base 27 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.cc return base::TimeDelta::FromMilliseconds(kMockIdleLogoutTimeoutMs); base 30 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.cc base::TimeDelta MockKioskModeSettings::GetIdleLogoutWarningDuration() const { base 32 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.cc return base::TimeDelta::FromSeconds(-1); base 34 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.cc return base::TimeDelta::FromMilliseconds(kMockIdleLogoutWarningDurationMs); base 17 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h namespace base { base 40 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h virtual void Initialize(const base::Closure& notify_initialized) OVERRIDE; base 44 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h virtual base::TimeDelta GetIdleLogoutTimeout() const OVERRIDE; base 47 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h virtual base::TimeDelta GetIdleLogoutWarningDuration() const OVERRIDE; base 50 chrome/browser/chromeos/kiosk_mode/mock_kiosk_mode_settings.h friend struct base::DefaultLazyInstanceTraits<MockKioskModeSettings>; base 31 chrome/browser/chromeos/locale_change_guard.cc using base::UserMetricsAction; base 72 chrome/browser/chromeos/locale_change_guard.cc const base::ListValue* list) { base 201 chrome/browser/chromeos/locale_change_guard.cc base::string16 from = l10n_util::GetDisplayNameForLocale( base 203 chrome/browser/chromeos/locale_change_guard.cc base::string16 to = l10n_util::GetDisplayNameForLocale( base 22 chrome/browser/chromeos/locale_change_guard.h namespace base { base 33 chrome/browser/chromeos/locale_change_guard.h public base::SupportsWeakPtr<LocaleChangeGuard> { base 50 chrome/browser/chromeos/locale_change_guard.h void RevertLocaleChangeCallback(const base::ListValue* list); base 69 chrome/browser/chromeos/locale_change_guard.h base::string16 title_text_; base 70 chrome/browser/chromeos/locale_change_guard.h base::string16 message_text_; base 71 chrome/browser/chromeos/locale_change_guard.h base::string16 revert_link_text_; base 49 chrome/browser/chromeos/login/app_launch_controller.cc base::Closure* AppLaunchController::network_timeout_callback_ = NULL; base 68 chrome/browser/chromeos/login/app_launch_controller.cc base::MessageLoop::current()->PostTask( base 70 chrome/browser/chromeos/login/app_launch_controller.cc base::Bind(&AppWindowWatcher::NotifyAppWindowCreated, base 99 chrome/browser/chromeos/login/app_launch_controller.cc base::WeakPtrFactory<AppWindowWatcher> weak_factory_; base 139 chrome/browser/chromeos/login/app_launch_controller.cc launch_splash_start_time_ = base::TimeTicks::Now().ToInternalValue(); base 165 chrome/browser/chromeos/login/app_launch_controller.cc base::Closure* callback) { base 209 chrome/browser/chromeos/login/app_launch_controller.cc launch_splash_start_time_ = base::TimeTicks::Now().ToInternalValue(); base 333 chrome/browser/chromeos/login/app_launch_controller.cc base::TimeDelta::FromSeconds(network_wait_time_), base 367 chrome/browser/chromeos/login/app_launch_controller.cc launch_splash_start_time_ = base::TimeTicks::Now().ToInternalValue(); base 383 chrome/browser/chromeos/login/app_launch_controller.cc const int64 time_taken_ms = (base::TimeTicks::Now() - base 384 chrome/browser/chromeos/login/app_launch_controller.cc base::TimeTicks::FromInternalValue(launch_splash_start_time_)). base 392 chrome/browser/chromeos/login/app_launch_controller.cc base::TimeDelta::FromMilliseconds( base 39 chrome/browser/chromeos/login/app_launch_controller.h typedef base::Callback<bool()> ReturnBoolCallback; base 56 chrome/browser/chromeos/login/app_launch_controller.h static void SetNetworkTimeoutCallbackForTesting(base::Closure* callback); base 128 chrome/browser/chromeos/login/app_launch_controller.h base::OneShotTimer<AppLaunchController> splash_wait_timer_; base 130 chrome/browser/chromeos/login/app_launch_controller.h base::OneShotTimer<AppLaunchController> network_wait_timer_; base 139 chrome/browser/chromeos/login/app_launch_controller.h static base::Closure* network_timeout_callback_; base 36 chrome/browser/chromeos/login/app_launch_signin_screen.cc base::FundamentalValue(false)); base 89 chrome/browser/chromeos/login/app_launch_signin_screen.cc base::Bind(&Authenticator::AuthenticateToUnlock, base 40 chrome/browser/chromeos/login/auth_prewarmer.cc const base::Closure& completion_callback) { base 29 chrome/browser/chromeos/login/auth_prewarmer.h void PrewarmAuthentication(const base::Closure& completion_callback); base 45 chrome/browser/chromeos/login/auth_prewarmer.h base::Closure completion_callback_; base 72 chrome/browser/chromeos/login/auth_sync_observer.cc base::Bind(&AuthSyncObserver::OnSupervisedTokenLoaded, base 73 chrome/browser/chromeos/login/auth_sync_observer.cc base::Unretained(this))); base 75 chrome/browser/chromeos/login/auth_sync_observer.cc base::UserMetricsAction("ManagedUsers_Chromeos_Sync_Invalidated")); base 86 chrome/browser/chromeos/login/auth_sync_observer.cc base::UserMetricsAction("ManagedUsers_Chromeos_Sync_Recovered")); base 26 chrome/browser/chromeos/login/authenticator.h class Authenticator : public base::RefCountedThreadSafe<Authenticator> { base 103 chrome/browser/chromeos/login/authenticator.h friend class base::RefCountedThreadSafe<Authenticator>; base 51 chrome/browser/chromeos/login/captive_portal_view.cc base::string16 CaptivePortalView::GetWindowTitle() const { base 52 chrome/browser/chromeos/login/captive_portal_view.cc base::string16 network_name; base 58 chrome/browser/chromeos/login/captive_portal_view.cc network_name = base::ASCIIToUTF16(default_network_name); base 26 chrome/browser/chromeos/login/captive_portal_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 95 chrome/browser/chromeos/login/captive_portal_window_browsertest.cc base::MessageLoopForUI::current()->DeleteSoon(FROM_HERE, host_); base 96 chrome/browser/chromeos/login/captive_portal_window_browsertest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 66 chrome/browser/chromeos/login/chrome_restart_request.cc const base::DictionaryValue& new_switches, base 220 chrome/browser/chromeos/login/chrome_restart_request.cc for (base::DictionaryValue::Iterator it(new_switches); base 233 chrome/browser/chromeos/login/chrome_restart_request.cc cmd_line_str += base::StringPrintf( base 249 chrome/browser/chromeos/login/chrome_restart_request.cc base::SplitString(command_line, ' ', &argv); base 251 chrome/browser/chromeos/login/chrome_restart_request.cc base::LaunchProcess(argv, base::LaunchOptions(), NULL); base 263 chrome/browser/chromeos/login/chrome_restart_request.cc : public base::SupportsWeakPtr<ChromeRestartRequest> { base 277 chrome/browser/chromeos/login/chrome_restart_request.cc base::OneShotTimer<ChromeRestartRequest> timer_; base 306 chrome/browser/chromeos/login/chrome_restart_request.cc FROM_HERE, base::TimeDelta::FromSeconds(3), this, base 312 chrome/browser/chromeos/login/chrome_restart_request.cc scoped_refptr<base::SequencedTaskRunner> local_state_task_runner = base 314 chrome/browser/chromeos/login/chrome_restart_request.cc base::FilePath(chrome::kLocalStorePoolName), base 318 chrome/browser/chromeos/login/chrome_restart_request.cc base::Bind(&EnsureLocalStateIsWritten), base 319 chrome/browser/chromeos/login/chrome_restart_request.cc base::Bind(&ChromeRestartRequest::RestartJob, AsWeakPtr())); base 338 chrome/browser/chromeos/login/chrome_restart_request.cc base::DictionaryValue otr_switches; base 369 chrome/browser/chromeos/login/chrome_restart_request.cc if (!base::SysInfo::IsRunningOnChromeOS()) { base 12 chrome/browser/chromeos/login/chrome_restart_request.h namespace base { base 23 chrome/browser/chromeos/login/chrome_restart_request.h const base::CommandLine& base_command_line, base 24 chrome/browser/chromeos/login/chrome_restart_request.h base::CommandLine* command_line); base 10 chrome/browser/chromeos/login/default_pinned_apps_field_trial.h namespace base { base 77 chrome/browser/chromeos/login/default_user_images.cc DCHECK(!base::SysInfo::IsRunningOnChromeOS()); base 80 chrome/browser/chromeos/login/default_user_images.cc return base::StringPrintf("%s%d", prefix.c_str(), index); base 94 chrome/browser/chromeos/login/default_user_images.cc if (base::StringToInt(base::StringPiece(s.begin() + prefix.length(), base 145 chrome/browser/chromeos/login/default_user_images.cc base::string16 GetDefaultImageDescription(int index) { base 151 chrome/browser/chromeos/login/default_user_images.cc return base::string16(); base 40 chrome/browser/chromeos/login/default_user_images.h base::string16 GetDefaultImageDescription(int index); base 28 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc const base::FilePath::CharType kDefaultDemoAppPath[] = base 32 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc base::FilePath* DemoAppLauncher::demo_app_path_ = NULL; base 36 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc demo_app_path_ = new base::FilePath(kDefaultDemoAppPath); base 57 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc void DemoAppLauncher::SetDemoAppPathForTesting(const base::FilePath& path) { base 59 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc demo_app_path_ = new base::FilePath(path); base 15 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h namespace base { base 30 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h static void SetDemoAppPathForTesting(const base::FilePath& path); base 43 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h static base::FilePath* demo_app_path_; base 31 chrome/browser/chromeos/login/demo_mode/demo_app_launcher_browsertest.cc base::FilePath GetTestDemoAppPath() { base 32 chrome/browser/chromeos/login/demo_mode/demo_app_launcher_browsertest.cc base::FilePath test_data_dir; base 43 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc base::Bind(&AutoEnrollmentCheckStep::OnAutoEnrollmentCheckProgressed, base 44 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc base::Unretained(this))); base 31 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc if (!base::StringToInt(value, &int_value)) { base 118 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc base::Bind(&AutoEnrollmentController::OnOwnershipStatusCheckDone, base 182 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc base::Bind(&AutoEnrollmentController::UpdateState, base 183 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc base::Unretained(this)), base 21 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h typedef base::CallbackList<void(policy::AutoEnrollmentState)> base 76 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h base::WeakPtrFactory<AutoEnrollmentController> weak_factory_; base 77 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc actor_->ResetAuth(base::Bind(&EnrollmentScreen::ShowSigninScreen, base 143 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc actor_->ResetAuth(base::Bind(&EnrollmentScreen::ShowSigninScreen, base 150 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc base::Bind(&ScreenObserver::OnExit, base 151 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc base::Unretained(get_screen_observer()), base 161 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc base::Bind(&ScreenObserver::OnExit, base 162 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc base::Unretained(get_screen_observer()), base 185 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc base::Bind(&ScreenObserver::OnExit, base 186 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc base::Unretained(get_screen_observer()), base 212 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc base::Bind(&EnrollmentScreen::ReportEnrollmentStatus, base 83 chrome/browser/chromeos/login/enrollment/enrollment_screen.h base::WeakPtrFactory<EnrollmentScreen> weak_ptr_factory_; base 74 chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h virtual void ResetAuth(const base::Closure& callback) = 0; base 42 chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc base::RunLoop run_loop; base 52 chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 68 chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc base::FilePath test_data_dir; base 86 chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc base::RunLoop run_loop; base 96 chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 36 chrome/browser/chromeos/login/enrollment/mock_enrollment_screen.h MOCK_METHOD1(ResetAuth, void(const base::Closure&)); base 63 chrome/browser/chromeos/login/eula_browsertest.cc base::Bind(&TestURLFetcherCallback::CreateURLFetcher, base 64 chrome/browser/chromeos/login/eula_browsertest.cc base::Unretained(&url_callback))); base 75 chrome/browser/chromeos/login/eula_browsertest.cc base::ASCIIToUTF16(kFakeOnlineEULA), base 96 chrome/browser/chromeos/login/eula_browsertest.cc base::ASCIIToUTF16(kOfflineEULAWarning), base 92 chrome/browser/chromeos/login/existing_user_controller.cc g_browser_process->policy_service()->RefreshPolicies(base::Closure()); base 112 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&RefreshPoliciesOnUIThread)); base 153 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::DeviceSettingsChanged, base 154 chrome/browser/chromeos/login/existing_user_controller.cc base::Unretained(this))); base 157 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::DeviceSettingsChanged, base 158 chrome/browser/chromeos/login/existing_user_controller.cc base::Unretained(this))); base 161 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::DeviceSettingsChanged, base 162 chrome/browser/chromeos/login/existing_user_controller.cc base::Unretained(this))); base 165 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::DeviceSettingsChanged, base 166 chrome/browser/chromeos/login/existing_user_controller.cc base::Unretained(this))); base 170 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::ConfigurePublicSessionAutoLogin, base 171 chrome/browser/chromeos/login/existing_user_controller.cc base::Unretained(this))); base 175 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::ConfigurePublicSessionAutoLogin, base 176 chrome/browser/chromeos/login/existing_user_controller.cc base::Unretained(this))); base 180 chrome/browser/chromeos/login/existing_user_controller.cc time_init_ = base::Time::Now(); base 270 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&TransferContextAuthenticationsOnIOThread, base 273 chrome/browser/chromeos/login/existing_user_controller.cc base::TimeDelta::FromMilliseconds(kAuthCacheTransferDelayMs)); base 305 chrome/browser/chromeos/login/existing_user_controller.cc content::RecordAction(base::UserMetricsAction("Login.CreateAccount")); base 325 chrome/browser/chromeos/login/existing_user_controller.cc base::TimeDelta delta = base::Time::Now() - time_init_; base 327 chrome/browser/chromeos/login/existing_user_controller.cc time_init_ = base::Time(); // Reset to null. base 335 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::CompleteLoginInternal, base 353 chrome/browser/chromeos/login/existing_user_controller.cc resume_login_callback_ = base::Bind( base 367 chrome/browser/chromeos/login/existing_user_controller.cc base::string16 ExistingUserController::GetConnectedNetworkName() { base 463 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::LoginAsGuest, base 523 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::LoginAsPublicAccount, base 583 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::OnEnrollmentOwnershipCheckCompleted, base 589 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind( base 613 chrome/browser/chromeos/login/existing_user_controller.cc scoped_ptr<base::DictionaryValue> params; base 637 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind( base 652 chrome/browser/chromeos/login/existing_user_controller.cc scoped_ptr<base::DictionaryValue> params; base 654 chrome/browser/chromeos/login/existing_user_controller.cc params.reset(new base::DictionaryValue()); base 664 chrome/browser/chromeos/login/existing_user_controller.cc scoped_ptr<base::DictionaryValue> params; base 670 chrome/browser/chromeos/login/existing_user_controller.cc scoped_ptr<base::DictionaryValue> params; base 676 chrome/browser/chromeos/login/existing_user_controller.cc scoped_ptr<base::DictionaryValue> params; base 708 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&SessionManagerClient::StopSession, base 709 chrome/browser/chromeos/login/existing_user_controller.cc base::Unretained(DBusThreadManager::Get()-> base 711 chrome/browser/chromeos/login/existing_user_controller.cc base::TimeDelta::FromMilliseconds(kSafeModeRestartUiDelayMs)); base 856 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind(&ExistingUserController::OnPasswordChangeDetected, base 942 chrome/browser/chromeos/login/existing_user_controller.cc scoped_ptr<base::DictionaryValue> params; base 1009 chrome/browser/chromeos/login/existing_user_controller.cc auto_login_timer_.reset(new base::OneShotTimer<ExistingUserController>); base 1013 chrome/browser/chromeos/login/existing_user_controller.cc base::TimeDelta::FromMilliseconds( base 1015 chrome/browser/chromeos/login/existing_user_controller.cc base::Bind( base 1027 chrome/browser/chromeos/login/existing_user_controller.cc const base::ListValue *urls; base 1036 chrome/browser/chromeos/login/existing_user_controller.cc for (base::ListValue::const_iterator it = urls->begin(); base 1051 chrome/browser/chromeos/login/existing_user_controller.cc std::string vox_url = base::StringPrintf(url, current_locale.c_str()); base 81 chrome/browser/chromeos/login/existing_user_controller.h virtual base::string16 GetConnectedNetworkName() OVERRIDE; base 220 chrome/browser/chromeos/login/existing_user_controller.h scoped_ptr<base::OneShotTimer<ExistingUserController> > auto_login_timer_; base 266 chrome/browser/chromeos/login/existing_user_controller.h base::WeakPtrFactory<ExistingUserController> weak_factory_; base 295 chrome/browser/chromeos/login/existing_user_controller.h base::Closure resume_login_callback_; base 299 chrome/browser/chromeos/login/existing_user_controller.h base::Time time_init_; base 302 chrome/browser/chromeos/login/existing_user_controller.h base::OneShotTimer<ExistingUserController> reboot_timer_; base 76 chrome/browser/chromeos/login/existing_user_controller_auto_login_unittest.cc scoped_ptr<base::DictionaryValue> account(new base::DictionaryValue); base 83 chrome/browser/chromeos/login/existing_user_controller_auto_login_unittest.cc base::ListValue accounts; base 112 chrome/browser/chromeos/login/existing_user_controller_auto_login_unittest.cc base::OneShotTimer<ExistingUserController>* auto_login_timer() { base 152 chrome/browser/chromeos/login/existing_user_controller_auto_login_unittest.cc base::MessageLoopForUI message_loop_; base 178 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::Bind(&ExistingUserController::OnProfilePrepared, base 179 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::Unretained(existing_user_controller()), base 196 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::OneShotTimer<ExistingUserController>* auto_login_timer() { base 230 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::Callback<void(void)> profile_prepared_cb_; base 249 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc &base::Callback<void(void)>::Run)); base 310 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::Callback<void(void)> add_user_cb = base 311 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::Bind(&MockUserManager::AddUser, base 312 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::Unretained(mock_user_manager_), base 323 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc &base::Callback<void(void)>::Run), base 325 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc &base::Callback<void(void)>::Run))); base 373 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::Bind(&chromeos::UserManager::IsKnownUser, base 374 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::Unretained(chromeos::UserManager::Get()), base 390 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::RunLoop loop; base 394 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc .WillOnce(InvokeWithoutArgs(&loop, &base::RunLoop::Quit)); base 454 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc &base::Callback<void(void)>::Run)); base 572 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::RunLoop runner; base 573 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::OneShotTimer<base::RunLoop> timer; base 575 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc base::TimeDelta::FromMilliseconds(kAutoLoginShortDelay + 1), base 49 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::OnSaltObtained, this)); base 55 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::OnSaltObtained, this)); base 80 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::DoAuthenticateToMount, base 87 chrome/browser/chromeos/login/extended_authenticator.cc const base::Closure& success_callback) { base 91 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::DoAuthenticateToCheck, base 118 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::OnMountComplete, base 128 chrome/browser/chromeos/login/extended_authenticator.cc const base::Closure& success_callback) { base 131 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::DoAddKey, base 142 chrome/browser/chromeos/login/extended_authenticator.cc const base::Closure& success_callback) { base 145 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::DoUpdateKeyAuthorized, base 154 chrome/browser/chromeos/login/extended_authenticator.cc const base::Closure& success_callback) { base 157 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::DoRemoveKey, base 179 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::OnMountComplete, base 187 chrome/browser/chromeos/login/extended_authenticator.cc const base::Closure& success_callback, base 200 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::OnOperationComplete, base 209 chrome/browser/chromeos/login/extended_authenticator.cc const base::Closure& success_callback, base 224 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::OnOperationComplete, base 234 chrome/browser/chromeos/login/extended_authenticator.cc const base::Closure& success_callback, base 248 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::OnOperationComplete, base 256 chrome/browser/chromeos/login/extended_authenticator.cc const base::Closure& success_callback, base 270 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::OnOperationComplete, base 317 chrome/browser/chromeos/login/extended_authenticator.cc const base::Closure& success_callback, base 365 chrome/browser/chromeos/login/extended_authenticator.cc base::Bind(&ExtendedAuthenticator::DidTransformContext, base 396 chrome/browser/chromeos/login/extended_authenticator.cc hashing_queue_.push_back(base::Bind( base 30 chrome/browser/chromeos/login/extended_authenticator.h : public base::RefCountedThreadSafe<ExtendedAuthenticator> { base 39 chrome/browser/chromeos/login/extended_authenticator.h typedef base::Callback<void(const std::string& hash)> HashSuccessCallback; base 40 chrome/browser/chromeos/login/extended_authenticator.h typedef base::Callback<void(const UserContext& context)> ContextCallback; base 67 chrome/browser/chromeos/login/extended_authenticator.h const base::Closure& success_callback); base 91 chrome/browser/chromeos/login/extended_authenticator.h const base::Closure& success_callback); base 100 chrome/browser/chromeos/login/extended_authenticator.h const base::Closure& success_callback); base 107 chrome/browser/chromeos/login/extended_authenticator.h const base::Closure& success_callback); base 115 chrome/browser/chromeos/login/extended_authenticator.h friend class base::RefCountedThreadSafe<ExtendedAuthenticator>; base 119 chrome/browser/chromeos/login/extended_authenticator.h typedef base::Callback<void(const std::string& system_salt)> base 134 chrome/browser/chromeos/login/extended_authenticator.h void DoAuthenticateToCheck(const base::Closure& success_callback, base 138 chrome/browser/chromeos/login/extended_authenticator.h const base::Closure& success_callback, base 142 chrome/browser/chromeos/login/extended_authenticator.h const base::Closure& success_callback, base 145 chrome/browser/chromeos/login/extended_authenticator.h const base::Closure& success_callback, base 157 chrome/browser/chromeos/login/extended_authenticator.h const base::Closure& success_callback, base 47 chrome/browser/chromeos/login/fake_login_utils.cc base::FilePath(), base 113 chrome/browser/chromeos/login/fake_login_utils.cc base::FilePath path; base 25 chrome/browser/chromeos/login/fake_supervised_user_manager.cc const base::string16& display_name) { base 34 chrome/browser/chromeos/login/fake_supervised_user_manager.cc const base::string16& display_name) const { base 48 chrome/browser/chromeos/login/fake_supervised_user_manager.cc base::string16 FakeSupervisedUserManager::GetManagerDisplayName( base 50 chrome/browser/chromeos/login/fake_supervised_user_manager.cc return base::string16(); base 25 chrome/browser/chromeos/login/fake_supervised_user_manager.h const base::string16& display_name) OVERRIDE; base 27 chrome/browser/chromeos/login/fake_supervised_user_manager.h virtual const User* FindByDisplayName(const base::string16& display_name) const base 31 chrome/browser/chromeos/login/fake_supervised_user_manager.h virtual base::string16 GetManagerDisplayName(const std::string& user_id) const base 37 chrome/browser/chromeos/login/fake_supervised_user_manager.h virtual void StartCreationTransaction(const base::string16& display_name) base 45 chrome/browser/chromeos/login/fake_supervised_user_manager.h base::DictionaryValue* result) OVERRIDE {} base 48 chrome/browser/chromeos/login/fake_supervised_user_manager.h const base::DictionaryValue* password_info) OVERRIDE {} base 116 chrome/browser/chromeos/login/fake_user_manager.cc const base::string16& display_name) { base 191 chrome/browser/chromeos/login/fake_user_manager.cc base::string16 FakeUserManager::GetUserDisplayName( base 193 chrome/browser/chromeos/login/fake_user_manager.cc return base::string16(); base 287 chrome/browser/chromeos/login/fake_user_manager.cc base::FilePath FakeUserManager::GetUserProfileDir( base 289 chrome/browser/chromeos/login/fake_user_manager.cc return base::FilePath(); base 54 chrome/browser/chromeos/login/fake_user_manager.h const base::string16& display_name) OVERRIDE; base 86 chrome/browser/chromeos/login/fake_user_manager.h virtual base::string16 GetUserDisplayName( base 127 chrome/browser/chromeos/login/fake_user_manager.h virtual base::FilePath GetUserProfileDir(const std::string& email) const base 49 chrome/browser/chromeos/login/help_app_launcher.cc GURL url(base::StringPrintf(kHelpAppFormat, base 21 chrome/browser/chromeos/login/help_app_launcher.h class HelpAppLauncher : public base::RefCountedThreadSafe<HelpAppLauncher> { base 53 chrome/browser/chromeos/login/help_app_launcher.h friend class base::RefCountedThreadSafe<HelpAppLauncher>; base 48 chrome/browser/chromeos/login/helper.cc base::string16 NetworkStateHelper::GetCurrentNetworkName() const { base 55 chrome/browser/chromeos/login/helper.cc return base::UTF8ToUTF16(network->name()); base 62 chrome/browser/chromeos/login/helper.cc return base::UTF8ToUTF16(network->name()); base 64 chrome/browser/chromeos/login/helper.cc return base::string16(); base 51 chrome/browser/chromeos/login/helper.h virtual base::string16 GetCurrentNetworkName() const; base 70 chrome/browser/chromeos/login/hwid_checker.cc base::RemoveChars(hwid, "-", &hwid_without_dashes); base 98 chrome/browser/chromeos/login/hwid_checker.cc base::RemoveChars(not_checksum, "-", ¬_checksum); base 119 chrome/browser/chromeos/login/hwid_checker.cc if (!base::SysInfo::IsRunningOnChromeOS()) base 121 chrome/browser/chromeos/login/kiosk_browsertest.cc const base::Closure& runner_quit_task, base 131 chrome/browser/chromeos/login/kiosk_browsertest.cc const base::Closure& runner_quit_task, base 139 chrome/browser/chromeos/login/kiosk_browsertest.cc void OnNetworkWaitTimedOut(const base::Closure& runner_quit_task) { base 150 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Bind(&ScopedCanConfigureNetwork::CanConfigureNetwork, base 151 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Unretained(this))), base 152 chrome/browser/chromeos/login/kiosk_browsertest.cc needs_owner_auth_callback_(base::Bind( base 154 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Unretained(this))) { base 195 chrome/browser/chromeos/login/kiosk_browsertest.cc base::RepeatingTimer<JsConditionWaiter> check_timer; base 198 chrome/browser/chromeos/login/kiosk_browsertest.cc base::TimeDelta::FromMilliseconds(10), base 289 chrome/browser/chromeos/login/kiosk_browsertest.cc base::StringValue(app_id), base 290 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FundamentalValue(diagnostic_mode)); base 331 chrome/browser/chromeos/login/kiosk_browsertest.cc void StartAppLaunchFromLoginScreen(const base::Closure& network_setup_cb) { base 404 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Closure callback = base::Bind( base 419 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Bind(&ConsumerKioskModeAutoStartLockCheck, base 433 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Bind(&ConsumerKioskAutoLaunchStatusCheck, base 447 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FilePath app_profile_dir; base 461 chrome/browser/chromeos/login/kiosk_browsertest.cc ASSERT_TRUE(base::CreateDirectory(app_profile_dir)); base 463 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FilePath test_data_dir; base 467 chrome/browser/chromeos/login/kiosk_browsertest.cc base::CopyFile(test_data_dir.Append(chrome::kPreferencesFilename), base 470 chrome/browser/chromeos/login/kiosk_browsertest.cc base::CopyDirectory(test_data_dir.AppendASCII("Extensions"), base 565 chrome/browser/chromeos/login/kiosk_browsertest.cc base::StringValue("app_launch_network_config")); base 631 chrome/browser/chromeos/login/kiosk_browsertest.cc base::StringValue("app_launch_bailout")); base 682 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FundamentalValue(false)); base 711 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FundamentalValue(true)); base 740 chrome/browser/chromeos/login/kiosk_browsertest.cc base::StringValue("kiosk_enable")); base 748 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FundamentalValue(false)); base 778 chrome/browser/chromeos/login/kiosk_browsertest.cc base::StringValue("kiosk_enable")); base 786 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FundamentalValue(true)); base 823 chrome/browser/chromeos/login/kiosk_browsertest.cc base::StringValue("kiosk_enable")); base 858 chrome/browser/chromeos/login/kiosk_browsertest.cc base::StringValue("kiosk_enable")); base 866 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FundamentalValue(false)); base 880 chrome/browser/chromeos/login/kiosk_browsertest.cc base::StringValue("kiosk_enable")); base 913 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Bind(&KioskUpdateTest::HandleRequest, base 914 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Unretained(this))); base 930 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FilePath test_data_dir; base 932 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FilePath crx_file_path = base 937 chrome/browser/chromeos/login/kiosk_browsertest.cc ASSERT_TRUE(base::ReadFileToString(crx_file_path, &crx_content)); base 941 chrome/browser/chromeos/login/kiosk_browsertest.cc base::HexEncode(sha256.c_str(), sha256.size()); base 947 chrome/browser/chromeos/login/kiosk_browsertest.cc base::UintToString(crx_content.size()), base 957 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FilePath test_data_dir; base 959 chrome/browser/chromeos/login/kiosk_browsertest.cc base::FilePath update_file = base 961 chrome/browser/chromeos/login/kiosk_browsertest.cc ASSERT_TRUE(base::ReadFileToString(update_file, &update_check_content_)); base 1110 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Bind(&KioskEnterpriseTest::StorePolicyCallback)); base 1146 chrome/browser/chromeos/login/kiosk_browsertest.cc base::RunLoop().RunUntilIdle(); base 1169 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Bind(&KioskAppManager::GetApp, base 1170 chrome/browser/chromeos/login/kiosk_browsertest.cc base::Unretained(KioskAppManager::Get()), base 25 chrome/browser/chromeos/login/language_list.cc base::string16 LanguageList::GetLanguageNameAt(int index) const { base 39 chrome/browser/chromeos/login/language_list.cc base::string16 locale_name = locale_names_[index]; base 40 chrome/browser/chromeos/login/language_list.cc base::i18n::AdjustStringForLocaleDirection(&locale_name); base 42 chrome/browser/chromeos/login/language_list.cc base::string16 native_name = locale_data->second.native_name; base 43 chrome/browser/chromeos/login/language_list.cc base::i18n::AdjustStringForLocaleDirection(&native_name); base 49 chrome/browser/chromeos/login/language_list.cc base::SStringPrintf(&formatted_item, "%s - %s", base 50 chrome/browser/chromeos/login/language_list.cc base::UTF16ToUTF8(locale_name).c_str(), base 51 chrome/browser/chromeos/login/language_list.cc base::UTF16ToUTF8(native_name).c_str()); base 52 chrome/browser/chromeos/login/language_list.cc if (base::i18n::IsRTL()) base 57 chrome/browser/chromeos/login/language_list.cc return base::UTF8ToUTF16(formatted_item); base 82 chrome/browser/chromeos/login/language_list.cc base::SplitString(locale_codes, ',', &locale_codes_vector); base 99 chrome/browser/chromeos/login/language_list.cc base::string16 name_in_current_ui = base 101 chrome/browser/chromeos/login/language_list.cc base::string16 name_native = base 28 chrome/browser/chromeos/login/language_list.h base::string16 GetLanguageNameAt(int index) const; base 43 chrome/browser/chromeos/login/language_list.h LocaleData(const base::string16& name, const std::string& code) base 46 chrome/browser/chromeos/login/language_list.h base::string16 native_name; base 50 chrome/browser/chromeos/login/language_list.h typedef std::map<base::string16, LocaleData> LocaleDataMap; base 55 chrome/browser/chromeos/login/language_list.h std::vector<base::string16> locale_names_; base 110 chrome/browser/chromeos/login/login_browsertest.cc base::MessageLoop::current()->DeleteSoon( base 116 chrome/browser/chromeos/login/login_browsertest.cc base::TimeDelta no_timeout; base 62 chrome/browser/chromeos/login/login_display.h virtual base::string16 GetConnectedNetworkName() = 0; base 170 chrome/browser/chromeos/login/login_display.h const base::Closure& click_callback) = 0; base 73 chrome/browser/chromeos/login/login_display_host.h scoped_ptr<base::DictionaryValue> screen_parameters) = 0; base 86 chrome/browser/chromeos/login/login_display_host.h virtual void StartUserAdding(const base::Closure& completion_callback) = 0; base 155 chrome/browser/chromeos/login/login_display_host_impl.cc base::SplitString(layout, ',', &layouts); base 176 chrome/browser/chromeos/login/login_display_host_impl.cc explicit AnimationObserver(const base::Closure& callback) base 187 chrome/browser/chromeos/login/login_display_host_impl.cc base::Closure callback_; base 201 chrome/browser/chromeos/login/login_display_host_impl.cc scoped_ptr<base::DictionaryValue> params; base 211 chrome/browser/chromeos/login/login_display_host_impl.cc base::UTF8ToUTF16(timezone_name)); base 300 chrome/browser/chromeos/login/login_display_host_impl.cc base::Bind(&AddToSetIfIsGaiaAuthIframe, &frame_set)); base 525 chrome/browser/chromeos/login/login_display_host_impl.cc base::Bind(&LoginDisplayHostImpl::OnAutoEnrollmentProgress, base 526 chrome/browser/chromeos/login/login_display_host_impl.cc base::Unretained(this))); base 533 chrome/browser/chromeos/login/login_display_host_impl.cc scoped_ptr<base::DictionaryValue> screen_parameters) { base 577 chrome/browser/chromeos/login/login_display_host_impl.cc const base::Closure& completion_callback) { base 703 chrome/browser/chromeos/login/login_display_host_impl.cc base::Bind(&LoginDisplayHostImpl::OnAuthPrewarmDone, base 820 chrome/browser/chromeos/login/login_display_host_impl.cc void LoginDisplayHostImpl::RenderProcessGone(base::TerminationStatus status) { base 829 chrome/browser/chromeos/login/login_display_host_impl.cc if (status != base::TERMINATION_STATUS_NORMAL_TERMINATION) { base 900 chrome/browser/chromeos/login/login_display_host_impl.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 902 chrome/browser/chromeos/login/login_display_host_impl.cc base::MessageLoop::current()->Quit(); base 927 chrome/browser/chromeos/login/login_display_host_impl.cc base::Bind(&LoginDisplayHostImpl::ShutdownDisplayHost, base 1042 chrome/browser/chromeos/login/login_display_host_impl.cc base::TimeDelta::FromMilliseconds(kLoginFadeoutTransitionDurationMs)); base 1089 chrome/browser/chromeos/login/login_display_host_impl.cc if (base::TimeTicks::Now() - login_prompt_visible_time_ > base 1090 chrome/browser/chromeos/login/login_display_host_impl.cc base::TimeDelta::FromMilliseconds(kStartupSoundMaxDelayMs)) { base 1107 chrome/browser/chromeos/login/login_display_host_impl.cc base::MessageLoop::current()->PostDelayedTask( base 1109 chrome/browser/chromeos/login/login_display_host_impl.cc base::Bind(&EnableSystemSoundsForAccessibility), base 1116 chrome/browser/chromeos/login/login_display_host_impl.cc login_prompt_visible_time_ = base::TimeTicks::Now(); base 1186 chrome/browser/chromeos/login/login_display_host_impl.cc scoped_ptr<base::DictionaryValue>()); base 1206 chrome/browser/chromeos/login/login_display_host_impl.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 1254 chrome/browser/chromeos/login/login_display_host_impl.cc base::Bind(&OnLanguageSwitchedCallback, base::Passed(data.Pass())))); base 81 chrome/browser/chromeos/login/login_display_host_impl.h scoped_ptr<base::DictionaryValue> screen_parameters) OVERRIDE; base 85 chrome/browser/chromeos/login/login_display_host_impl.h const base::Closure& completion_callback) OVERRIDE; base 118 chrome/browser/chromeos/login/login_display_host_impl.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 197 chrome/browser/chromeos/login/login_display_host_impl.h base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; base 274 chrome/browser/chromeos/login/login_display_host_impl.h scoped_ptr<base::DictionaryValue> wizard_screen_parameters_; base 277 chrome/browser/chromeos/login/login_display_host_impl.h base::Closure completion_callback_; base 291 chrome/browser/chromeos/login/login_display_host_impl.h base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; base 295 chrome/browser/chromeos/login/login_display_host_impl.h base::TimeTicks login_prompt_visible_time_; base 19 chrome/browser/chromeos/login/login_location_monitor.cc return base::StringPrintf( base 44 chrome/browser/chromeos/login/login_location_monitor.cc const base::TimeDelta timeout) { base 49 chrome/browser/chromeos/login/login_location_monitor.cc self->started_ = base::Time::Now(); base 53 chrome/browser/chromeos/login/login_location_monitor.cc base::Bind(&LoginLocationMonitor::DoRemoveLocationCallback, base 59 chrome/browser/chromeos/login/login_location_monitor.cc base::Bind(&DoInstallLocationCallback, self->on_location_update_)); base 71 chrome/browser/chromeos/login/login_location_monitor.cc base::Bind(&DoRemoveLocationCallback, self->on_location_update_)); base 77 chrome/browser/chromeos/login/login_location_monitor.cc base::Bind(&LoginLocationMonitor::OnLocationUpdatedIO)) { base 116 chrome/browser/chromeos/login/login_location_monitor.cc base::Bind(&LoginLocationMonitor::OnLocationUpdatedUI, position)); base 138 chrome/browser/chromeos/login/login_location_monitor.cc const base::TimeDelta elapsed = base::Time::Now() - self->started_; base 25 chrome/browser/chromeos/login/login_location_monitor.h static void InstallLocationCallback(const base::TimeDelta timeout); base 47 chrome/browser/chromeos/login/login_location_monitor.h base::WeakPtrFactory<LoginLocationMonitor> weak_factory_; base 49 chrome/browser/chromeos/login/login_location_monitor.h base::OneShotTimer<LoginLocationMonitor> request_timeout_; base 51 chrome/browser/chromeos/login/login_location_monitor.h base::Time started_; base 33 chrome/browser/chromeos/login/login_manager_test.cc base::MessageLoop::current()->RunUntilIdle(); base 59 chrome/browser/chromeos/login/login_manager_test.cc users_pref->AppendIfNotPresent(new base::StringValue(username)); base 30 chrome/browser/chromeos/login/login_manager_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 46 chrome/browser/chromeos/login/login_performer.cc using base::UserMetricsAction; base 104 chrome/browser/chromeos/login/login_performer.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 152 chrome/browser/chromeos/login/login_performer.cc base::Bind(&LoginPerformer::PerformLogin, base 183 chrome/browser/chromeos/login/login_performer.cc base::Bind(&LoginPerformer::OnlineWildcardLoginCheckCompleted, base 210 chrome/browser/chromeos/login/login_performer.cc base::Bind(&LoginPerformer::LoginAsLocallyManagedUser, base 255 chrome/browser/chromeos/login/login_performer.cc base::Bind(&ExtendedAuthenticator::AuthenticateToMount, base 265 chrome/browser/chromeos/login/login_performer.cc base::Bind(&Authenticator::LoginAsLocallyManagedUser, base 275 chrome/browser/chromeos/login/login_performer.cc base::Bind(&Authenticator::LoginRetailMode, authenticator_.get())); base 282 chrome/browser/chromeos/login/login_performer.cc base::Bind(&Authenticator::LoginOffTheRecord, authenticator_.get())); base 301 chrome/browser/chromeos/login/login_performer.cc base::Bind(&Authenticator::LoginAsPublicAccount, authenticator_.get(), base 310 chrome/browser/chromeos/login/login_performer.cc base::Bind(&Authenticator::LoginAsKioskAccount, authenticator_.get(), base 317 chrome/browser/chromeos/login/login_performer.cc base::Bind(&Authenticator::RecoverEncryptedData, authenticator_.get(), base 324 chrome/browser/chromeos/login/login_performer.cc base::Bind(&Authenticator::ResyncEncryptedData, authenticator_.get())); base 338 chrome/browser/chromeos/login/login_performer.cc base::Bind(&Authenticator::CompleteLogin, authenticator_.get(), base 354 chrome/browser/chromeos/login/login_performer.cc base::Bind(&Authenticator::AuthenticateToLogin, authenticator_.get(), base 162 chrome/browser/chromeos/login/login_performer.h base::WeakPtrFactory<LoginPerformer> weak_factory_; base 97 chrome/browser/chromeos/login/login_utils.cc const base::FilePath::CharType kRLZDisabledFlagName[] = base 100 chrome/browser/chromeos/login/login_utils.cc base::FilePath GetRlzDisabledFlagPath() { base 101 chrome/browser/chromeos/login/login_utils.cc return base::GetHomeDir().Append(kRLZDisabledFlagName); base 113 chrome/browser/chromeos/login/login_utils.cc public base::SupportsWeakPtr<LoginUtilsImpl> { base 253 chrome/browser/chromeos/login/login_utils.cc base::AutoLock create(create_lock_); base 268 chrome/browser/chromeos/login/login_utils.cc base::Lock create_lock_; base 346 chrome/browser/chromeos/login/login_utils.cc base::FilePath(), base 373 chrome/browser/chromeos/login/login_utils.cc base::Bind(&LoginUtilsImpl::DoBrowserLaunchOnLocaleLoaded, base 374 chrome/browser/chromeos/login/login_utils.cc base::Passed(data.Pass())))); base 406 chrome/browser/chromeos/login/login_utils.cc if (base::SysInfo::IsRunningOnChromeOS()) base 422 chrome/browser/chromeos/login/login_utils.cc base::Bind(&LoginUtilsImpl::OnOTRProfileCreated, AsWeakPtr(), base 424 chrome/browser/chromeos/login/login_utils.cc base::string16(), base::string16(), std::string()); base 430 chrome/browser/chromeos/login/login_utils.cc base::Bind(&LoginUtilsImpl::OnProfileCreated, AsWeakPtr(), base 432 chrome/browser/chromeos/login/login_utils.cc base::string16(), base::string16(), std::string()); base 566 chrome/browser/chromeos/login/login_utils.cc base::Bind( base 672 chrome/browser/chromeos/login/login_utils.cc base::Bind(&LoginUtilsImpl::InitRlzDelayed, AsWeakPtr(), user_profile)); base 675 chrome/browser/chromeos/login/login_utils.cc base::PostTaskAndReplyWithResult( base 676 chrome/browser/chromeos/login/login_utils.cc base::WorkerPool::GetTaskRunner(false), base 678 chrome/browser/chromeos/login/login_utils.cc base::Bind(&base::PathExists, GetRlzDisabledFlagPath()), base 679 chrome/browser/chromeos/login/login_utils.cc base::Bind(&LoginUtilsImpl::InitRlz, AsWeakPtr(), user_profile)); base 702 chrome/browser/chromeos/login/login_utils.cc ping_delay < 0, base::TimeDelta::FromMilliseconds(abs(ping_delay))); base 17 chrome/browser/chromeos/login/login_utils.h namespace base { base 127 chrome/browser/chromeos/login/login_utils_browsertest.cc void BlockLoop(base::WaitableEvent* completion, base::Callback<bool()> work) { base 131 chrome/browser/chromeos/login/login_utils_browsertest.cc base::MessageLoop::current()->QuitNow(); base 134 chrome/browser/chromeos/login/login_utils_browsertest.cc void CopyLockResult(base::RunLoop* loop, base 188 chrome/browser/chromeos/login/login_utils_browsertest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 189 chrome/browser/chromeos/login/login_utils_browsertest.cc base::MessageLoop* fake_io_loop = fake_io_thread_.message_loop(); base 195 chrome/browser/chromeos/login/login_utils_browsertest.cc base::Bind( base 198 chrome/browser/chromeos/login/login_utils_browsertest.cc base::Bind(&LoginUtilsTest::DoIOWork, base::Unretained(this)))); base 249 chrome/browser/chromeos/login/login_utils_browsertest.cc base::MessageLoopProxy::current())); base 261 chrome/browser/chromeos/login/login_utils_browsertest.cc rlz_initialized_cb_ = base::Bind(&base::DoNothing); base 281 chrome/browser/chromeos/login/login_utils_browsertest.cc base::Bind(&LoginUtilsTest::TearDownOnIO, base::Unretained(this))); base 330 chrome/browser/chromeos/login/login_utils_browsertest.cc void InvokeOnIO(const base::Closure& task) { base 350 chrome/browser/chromeos/login/login_utils_browsertest.cc base::MessageLoop::QuitWhenIdleClosure()); base 376 chrome/browser/chromeos/login/login_utils_browsertest.cc base::RunLoop loop; base 380 chrome/browser/chromeos/login/login_utils_browsertest.cc base::Bind(&CopyLockResult, &loop, &result)); base 488 chrome/browser/chromeos/login/login_utils_browsertest.cc base::Closure fake_io_thread_work_; base 489 chrome/browser/chromeos/login/login_utils_browsertest.cc base::WaitableEvent fake_io_thread_completion_; base 490 chrome/browser/chromeos/login/login_utils_browsertest.cc base::Thread fake_io_thread_; base 492 chrome/browser/chromeos/login/login_utils_browsertest.cc base::MessageLoopForIO loop_; base 518 chrome/browser/chromeos/login/login_utils_browsertest.cc base::Closure rlz_initialized_cb_; base 521 chrome/browser/chromeos/login/login_utils_browsertest.cc base::ScopedTempDir scoped_temp_dir_; base 595 chrome/browser/chromeos/login/login_utils_browsertest.cc base::RunLoop wait_for_rlz_init; base 609 chrome/browser/chromeos/login/login_utils_browsertest.cc base::string16 rlz_string; base 612 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_EQ(base::string16(), rlz_string); base 38 chrome/browser/chromeos/login/login_web_dialog.cc static base::LazyInstance<std::deque<content::WebContents*> > base 52 chrome/browser/chromeos/login/login_web_dialog.cc const base::string16& title, base 84 chrome/browser/chromeos/login/login_web_dialog.cc void LoginWebDialog::SetDialogTitle(const base::string16& title) { base 95 chrome/browser/chromeos/login/login_web_dialog.cc base::string16 LoginWebDialog::GetDialogTitle() const { base 46 chrome/browser/chromeos/login/login_web_dialog.h const base::string16& title, base 57 chrome/browser/chromeos/login/login_web_dialog.h void SetDialogTitle(const base::string16& title); base 68 chrome/browser/chromeos/login/login_web_dialog.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 97 chrome/browser/chromeos/login/login_web_dialog.h base::string16 title_; base 35 chrome/browser/chromeos/login/managed/locally_managed_user_creation_flow.h base::string16 name_; base 209 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc const base::string16& display_name, base 226 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::DictionaryValue* user_info; base 231 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::string16 display_name; base 261 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc const base::DictionaryValue* password_data = NULL; base 265 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc const base::Value* value = shared_settings_service->GetValue( base 292 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::DictionaryValue* user_info; base 297 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::string16 display_name; base 348 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc GetManagedUsersAsync(base::Bind( base 368 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::string16 title; base 369 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::string16 message; base 370 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::string16 button; base 415 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc const base::string16& display_name, base 419 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc for (base::DictionaryValue::Iterator it(*existing_users_.get()); base 421 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc const base::DictionaryValue* user_info = base 422 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc static_cast<const base::DictionaryValue*>(&it.value()); base 423 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::string16 user_display_name; base 475 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc const base::DictionaryValue* users) { base 477 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc scoped_ptr<base::ListValue> ui_users(new base::ListValue()); base 482 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc existing_users_.reset(new base::DictionaryValue()); base 483 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc for (base::DictionaryValue::Iterator it(*users); !it.IsAtEnd(); base 486 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::DictionaryValue* local_copy = base 487 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc static_cast<base::DictionaryValue*>(it.value().DeepCopy()); base 490 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::DictionaryValue* ui_copy = base 491 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc static_cast<base::DictionaryValue*>(new base::DictionaryValue()); base 502 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc int i = base::RandInt(kFirstDefaultImageIndex, kDefaultImagesCount - 1); base 513 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc base::string16 display_name; base 552 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc scoped_refptr<base::MessageLoopProxy> task_runner = base 76 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.h const base::string16& display_name, base 87 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.h virtual bool FindUserByDisplayName(const base::string16& display_name, base 118 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.h void OnGetManagedUsers(const base::DictionaryValue* users); base 120 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.h base::WeakPtrFactory<LocallyManagedUserCreationScreen> weak_factory_; base 124 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.h scoped_ptr<base::DictionaryValue> existing_users_; base 71 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind(&TriggerResolveWithLoginTimeMarker, base 78 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind(&TriggerResolveResult, attempt, resolver)); base 93 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind(&TriggerResolveWithLoginTimeMarker, base 113 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind(&Mount, base 128 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind(&Mount, base 144 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind(&AddKey, base 187 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind( base 197 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind( base 207 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind( base 215 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc base::Bind(&ManagedUserAuthenticator::OnAuthenticationSuccess, base 24 chrome/browser/chromeos/login/managed/managed_user_authenticator.h : public base::RefCountedThreadSafe<ManagedUserAuthenticator> { base 97 chrome/browser/chromeos/login/managed/managed_user_authenticator.h friend class base::RefCountedThreadSafe<ManagedUserAuthenticator>; base 65 chrome/browser/chromeos/login/managed/managed_user_creation_controller.h virtual void StartCreation(const base::string16& display_name, base 72 chrome/browser/chromeos/login/managed/managed_user_creation_controller.h virtual void StartImport(const base::string16& display_name, base 83 chrome/browser/chromeos/login/managed/managed_user_creation_controller.h virtual void StartImport(const base::string16& display_name, base 87 chrome/browser/chromeos/login/managed/managed_user_creation_controller.h const base::DictionaryValue* password_data, base 41 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc const base::FilePath& base_path) { base 42 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc if (!base::SysInfo::IsRunningOnChromeOS()) { base 44 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::CreateDirectory(base_path); base 46 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::FilePath token_file = base_path.Append(kManagedUserTokenFilename); base 47 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc int bytes = base::WriteFile(token_file, token.c_str(), token.length()); base 80 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc const base::string16& display_name, base 92 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc const base::string16& display_name, base 111 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc const base::string16& display_name, base 115 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc const base::DictionaryValue* password_data, base 177 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::DictionaryValue extra; base 198 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::TimeDelta::FromSeconds(kUserCreationTimeoutSeconds), base 204 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::Bind(&ManagedUserCreationControllerNew::OnPasswordHashingSuccess, base 226 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::Bind(&ManagedUserCreationControllerNew::OnMountSuccess, base 265 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::Base64Decode(creation_context_->encryption_key, base 267 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::Base64Decode(creation_context_->signature_key, base 281 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::Bind(&ManagedUserCreationControllerNew::OnAddKeySuccess, base 317 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::Bind(&ManagedUserCreationControllerNew::RegistrationCallback, base 335 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::Bind(&StoreManagedUserFiles, base 338 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::Bind(&ManagedUserCreationControllerNew::OnManagedUserFilesStored, base 368 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc base::UserMetricsAction("ManagedMode_LocallyManagedUserCreated")); base 53 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h virtual void StartCreation(const base::string16& display_name, base 62 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h virtual void StartImport(const base::string16& display_name, base 73 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h virtual void StartImport(const base::string16& display_name, base 77 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h const base::DictionaryValue* password_data, base 117 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h base::string16 display_name; base 140 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h base::DictionaryValue password_data; base 181 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h base::OneShotTimer<ManagedUserCreationControllerNew> timeout_timer_; base 184 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h base::WeakPtrFactory<ManagedUserCreationControllerNew> weak_factory_; base 39 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc const base::FilePath& base_path) { base 40 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc if (!base::SysInfo::IsRunningOnChromeOS()) { base 42 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc base::CreateDirectory(base_path); base 44 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc base::FilePath token_file = base_path.Append(kManagedUserTokenFilename); base 45 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc int bytes = base::WriteFile(token_file, token.c_str(), token.length()); base 72 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc const base::string16& display_name, base 83 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc const base::string16& display_name, base 99 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc const base::string16& display_name, base 103 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc const base::DictionaryValue* password_data, base 133 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc base::TimeDelta::FromSeconds(kUserCreationTimeoutSeconds), base 154 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc base::DictionaryValue extra; base 227 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc base::Bind(&ManagedUserCreationControllerOld::RegistrationCallback, base 237 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc base::TimeDelta::FromSeconds(kUserCreationTimeoutSeconds), base 275 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc base::Bind(&StoreManagedUserFiles, base 278 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc base::Bind(&ManagedUserCreationControllerOld::OnManagedUserFilesStored, base 286 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc base::UserMetricsAction("ManagedMode_LocallyManagedUserCreated")); base 48 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h virtual void StartCreation(const base::string16& display_name, base 55 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h virtual void StartImport(const base::string16& display_name, base 62 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h virtual void StartImport(const base::string16& display_name, base 66 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h const base::DictionaryValue* password_data, base 86 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h base::string16 display_name; base 98 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h base::DictionaryValue password_data; base 127 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h base::OneShotTimer<ManagedUserCreationControllerOld> timeout_timer_; base 130 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h base::WeakPtrFactory<ManagedUserCreationControllerOld> weak_factory_; base 46 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc return StringToLowerASCII(base::HexEncode( base 61 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::Base64Encode(raw_result, &result); base 70 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::Base64Encode(raw_result, &result); base 84 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::Base64Decode(base64_signature_key, &signature_key); base 97 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::Base64Encode(raw_result, &result); base 101 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue* LoadPasswordData(base::FilePath profile_dir) { base 105 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc scoped_ptr<base::Value> value( base 112 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue* result; base 123 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc const base::Closure& failure_callback, base 124 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue* value) { base 156 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue holder; base 176 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue holder; base 195 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue* password_data, base 196 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue* extra_data) { base 231 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::HexEncode(reinterpret_cast<const void*>(master_key_bytes), base 237 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc const base::DictionaryValue& password_data) { base 238 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue holder; base 240 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc const base::Value* value; base 253 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue holder; base 268 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc const base::DictionaryValue* password_data) { base 269 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue local; base 289 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc const base::DictionaryValue* password_data) { base 291 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::FilePath profile_path = ProfileHelper::GetProfilePathByUserIdHash( base 303 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue holder; base 311 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue holder; base 320 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue holder; base 328 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue holder; base 337 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::DictionaryValue holder; base 346 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc const base::Closure& failure_callback) { base 348 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::FilePath profile_path = base 353 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::Bind(&LoadPasswordData, profile_path), base 354 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc base::Bind(&OnPasswordDataLoaded, success_callback, failure_callback)); base 49 chrome/browser/chromeos/login/managed/supervised_user_authentication.h typedef base::Callback<void(const base::DictionaryValue* password_data)> base 70 chrome/browser/chromeos/login/managed/supervised_user_authentication.h base::DictionaryValue* password_data, base 71 chrome/browser/chromeos/login/managed/supervised_user_authentication.h base::DictionaryValue* extra_data); base 76 chrome/browser/chromeos/login/managed/supervised_user_authentication.h const base::DictionaryValue& password_data); base 79 chrome/browser/chromeos/login/managed/supervised_user_authentication.h const base::DictionaryValue* password_data); base 94 chrome/browser/chromeos/login/managed/supervised_user_authentication.h const base::Closure& failure_callback); base 103 chrome/browser/chromeos/login/managed/supervised_user_authentication.h const base::DictionaryValue* password_data); base 195 chrome/browser/chromeos/login/managed/supervised_user_creation_browsertest.cc base::RunLoop().RunUntilIdle(); base 205 chrome/browser/chromeos/login/managed/supervised_user_creation_browsertest.cc base::RunLoop().RunUntilIdle(); base 230 chrome/browser/chromeos/login/managed/supervised_user_creation_browsertest.cc base::UTF8ToUTF16(kSupervisedUserDisplayName)); base 235 chrome/browser/chromeos/login/managed/supervised_user_creation_browsertest.cc base::RunLoop().RunUntilIdle(); base 237 chrome/browser/chromeos/login/managed/supervised_user_creation_browsertest.cc base::RunLoop().RunUntilIdle(); base 249 chrome/browser/chromeos/login/managed/supervised_user_creation_browsertest.cc ASSERT_EQ(base::UTF8ToUTF16(kSupervisedUserDisplayName), base 261 chrome/browser/chromeos/login/managed/supervised_user_creation_browsertest.cc ASSERT_EQ(base::UTF8ToUTF16(kSupervisedUserDisplayName), base 308 chrome/browser/chromeos/login/managed/supervised_user_creation_browsertest.cc cros_settings_provider_->Set(kDeviceOwner, base::StringValue(kTestManager)); base 374 chrome/browser/chromeos/login/managed/supervised_user_creation_browsertest.cc base::UTF8ToUTF16(kSupervisedUserDisplayName)); base 80 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc base::Bind(&SupervisedUserLoginFlow::OnPasswordChangeDataLoaded, base 82 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc base::Bind(&SupervisedUserLoginFlow::OnPasswordChangeDataLoadFailed, base 95 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc const base::DictionaryValue* password_data) { base 131 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc base::Base64Decode(base64_signature, &signature); base 132 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc scoped_ptr<base::DictionaryValue> data_copy(password_data->DeepCopy()); base 153 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc base::Bind(&SupervisedUserLoginFlow::OnNewKeyAdded, base 170 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc base::Bind(&SupervisedUserLoginFlow::OnPasswordUpdated, base 179 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc scoped_ptr<base::DictionaryValue> password_data) { base 188 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc base::Bind(&SupervisedUserLoginFlow::OnOldKeyRemoved, base 223 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc scoped_ptr<base::DictionaryValue> password_data) { base 253 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc base::Bind( base 46 chrome/browser/chromeos/login/managed/supervised_user_login_flow.h void OnPasswordChangeDataLoaded(const base::DictionaryValue* password_data); base 48 chrome/browser/chromeos/login/managed/supervised_user_login_flow.h void OnNewKeyAdded(scoped_ptr<base::DictionaryValue> password_data); base 50 chrome/browser/chromeos/login/managed/supervised_user_login_flow.h void OnPasswordUpdated(scoped_ptr<base::DictionaryValue> password_data); base 57 chrome/browser/chromeos/login/managed/supervised_user_login_flow.h base::WeakPtrFactory<SupervisedUserLoginFlow> weak_factory_; base 80 chrome/browser/chromeos/login/merge_session_load_page.cc base::DictionaryValue strings; base 90 chrome/browser/chromeos/login/merge_session_load_page.cc bool rtl = base::i18n::IsRTL(); base 93 chrome/browser/chromeos/login/merge_session_load_page.cc base::StringPiece html( base 17 chrome/browser/chromeos/login/merge_session_load_page.h namespace base { base 67 chrome/browser/chromeos/login/merge_session_load_page_unittest.cc base::RunLoop().RunUntilIdle(); base 111 chrome/browser/chromeos/login/merge_session_load_page_unittest.cc void SetSessionRestoreStart(const base::Time& time) { base 140 chrome/browser/chromeos/login/merge_session_load_page_unittest.cc base::Time::Now() + base 141 chrome/browser/chromeos/login/merge_session_load_page_unittest.cc base::TimeDelta::FromSeconds(kSessionMergeTimeout + 1)); base 169 chrome/browser/chromeos/login/merge_session_load_page_unittest.cc base::RunLoop().RunUntilIdle(); base 173 chrome/browser/chromeos/login/merge_session_load_page_unittest.cc base::RunLoop().RunUntilIdle(); base 44 chrome/browser/chromeos/login/merge_session_throttle.cc class ProfileSet : public base::NonThreadSafe, base 56 chrome/browser/chromeos/login/merge_session_throttle.cc friend struct ::base::DefaultLazyInstanceTraits<ProfileSet>; base 63 chrome/browser/chromeos/login/merge_session_throttle.cc static base::LazyInstance<ProfileSet> g_blocked_profiles = base 72 chrome/browser/chromeos/login/merge_session_throttle.cc base::AtomicRefCount MergeSessionThrottle::all_profiles_restored_(0); base 94 chrome/browser/chromeos/login/merge_session_throttle.cc base::Bind( base 100 chrome/browser/chromeos/login/merge_session_throttle.cc base::Bind( base 112 chrome/browser/chromeos/login/merge_session_throttle.cc return !base::AtomicRefCountIsZero(&all_profiles_restored_); base 140 chrome/browser/chromeos/login/merge_session_throttle.cc base::AtomicRefCountDec(&all_profiles_restored_); base 155 chrome/browser/chromeos/login/merge_session_throttle.cc base::AtomicRefCountInc(&all_profiles_restored_); base 172 chrome/browser/chromeos/login/merge_session_throttle.cc base::AtomicRefCountInc(&all_profiles_restored_); base 219 chrome/browser/chromeos/login/merge_session_throttle.cc if ((base::Time::Now() - base 32 chrome/browser/chromeos/login/merge_session_throttle.h public base::SupportsWeakPtr<MergeSessionThrottle> { base 36 chrome/browser/chromeos/login/merge_session_throttle.h typedef base::Closure CompletionCallback; base 91 chrome/browser/chromeos/login/merge_session_throttle.h static base::AtomicRefCount all_profiles_restored_; base 51 chrome/browser/chromeos/login/merge_session_xhr_request_waiter.cc base::Bind(&MergeSessionXHRRequestWaiter::OnTimeout, base 53 chrome/browser/chromeos/login/merge_session_xhr_request_waiter.cc base::TimeDelta::FromMilliseconds(kMaxRequestWaitTimeMS)); base 90 chrome/browser/chromeos/login/merge_session_xhr_request_waiter.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 46 chrome/browser/chromeos/login/merge_session_xhr_request_waiter.h base::WeakPtrFactory<MergeSessionXHRRequestWaiter> weak_ptr_factory_; base 20 chrome/browser/chromeos/login/mock_authenticator.cc base::Bind(&MockAuthenticator::OnLoginSuccess, this)); base 26 chrome/browser/chromeos/login/mock_authenticator.cc base::Bind(&MockAuthenticator::OnLoginFailure, this, base 30 chrome/browser/chromeos/login/mock_login_display.h const base::Closure&)); base 19 chrome/browser/chromeos/login/mock_login_display_host.cc scoped_ptr<base::DictionaryValue> value) { base 34 chrome/browser/chromeos/login/mock_login_display_host.h base::DictionaryValue*)); base 36 chrome/browser/chromeos/login/mock_login_display_host.h scoped_ptr<base::DictionaryValue> value) OVERRIDE; base 39 chrome/browser/chromeos/login/mock_login_display_host.h MOCK_METHOD1(StartUserAdding, void(const base::Closure&)); base 20 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 27 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 32 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 38 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 43 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 49 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 54 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 60 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 65 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 71 chrome/browser/chromeos/login/mock_login_status_consumer.cc base::MessageLoop::current()->Quit(); base 35 chrome/browser/chromeos/login/mock_url_fetchers.cc base::MessageLoop::current()->PostDelayedTask( base 37 chrome/browser/chromeos/login/mock_url_fetchers.cc base::Bind(&ExpectCanceledFetcher::CompleteFetch, base 39 chrome/browser/chromeos/login/mock_url_fetchers.cc base::TimeDelta::FromMilliseconds(100)); base 44 chrome/browser/chromeos/login/mock_url_fetchers.cc base::MessageLoop::current()->Quit(); // Allow exiting even if we mess up. base 118 chrome/browser/chromeos/login/mock_url_fetchers.cc SetResponseString(base::StringPrintf("Error=%s\n" base 39 chrome/browser/chromeos/login/mock_url_fetchers.h base::WeakPtrFactory<ExpectCanceledFetcher> weak_factory_; base 24 chrome/browser/chromeos/login/mock_user_image_manager.h MOCK_METHOD1(SaveUserImageFromFile, void(const base::FilePath&)); base 47 chrome/browser/chromeos/login/mock_user_manager.h const base::string16&)); base 50 chrome/browser/chromeos/login/mock_user_manager.h MOCK_CONST_METHOD1(GetUserDisplayName, base::string16(const std::string&)); base 87 chrome/browser/chromeos/login/mock_user_manager.h base::FilePath(const std::string& email)); base 21 chrome/browser/chromeos/login/mount_manager.cc base::FilePath MountManager::GetHomeDir(std::string& user_hash) { base 34 chrome/browser/chromeos/login/mount_manager.cc base::FilePath MountManager::GetPath(const std::string& user_id) { base 37 chrome/browser/chromeos/login/mount_manager.cc return (i == additional_mounts_.end()) ? base::FilePath() : i->second; base 41 chrome/browser/chromeos/login/mount_manager.cc const base::FilePath& path) { base 25 chrome/browser/chromeos/login/mount_manager.h static base::FilePath GetHomeDir(std::string& user_hash); base 30 chrome/browser/chromeos/login/mount_manager.h virtual base::FilePath GetPath(const std::string& user_id); base 33 chrome/browser/chromeos/login/mount_manager.h const base::FilePath& path); base 39 chrome/browser/chromeos/login/mount_manager.h typedef std::map<std::string, base::FilePath> UserToPathMap; base 34 chrome/browser/chromeos/login/multi_profile_first_run_notification.cc const base::Closure& user_close_callback) base 50 chrome/browser/chromeos/login/multi_profile_first_run_notification.cc base::Closure user_close_callback_; base 88 chrome/browser/chromeos/login/multi_profile_first_run_notification.cc const base::string16 title; base 89 chrome/browser/chromeos/login/multi_profile_first_run_notification.cc const base::string16 display_source; base 103 chrome/browser/chromeos/login/multi_profile_first_run_notification.cc base::Bind(&MultiProfileFirstRunNotification::OnDismissed, base 35 chrome/browser/chromeos/login/multi_profile_first_run_notification.h base::WeakPtrFactory<MultiProfileFirstRunNotification> weak_ptr_factory_; base 136 chrome/browser/chromeos/login/multi_profile_user_controller.cc base::Bind(&MultiProfileUserController::OnUserPrefChanged, base 137 chrome/browser/chromeos/login/multi_profile_user_controller.cc base::Unretained(this), base 154 chrome/browser/chromeos/login/multi_profile_user_controller.cc const base::DictionaryValue* dict = base 142 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 347 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc cert_verifier_.reset(new policy::PolicyCertVerifier(base::Closure())); base 360 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 373 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc cert_verifier_.reset(new policy::PolicyCertVerifier(base::Closure())); base 388 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc "subject", "issuer", base::Time(), base::Time())); base 395 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 197 chrome/browser/chromeos/login/oauth2_browsertest.cc const base::DictionaryValue* prefs_oauth_status = base 333 chrome/browser/chromeos/login/oauth2_browsertest.cc class CookieReader : public base::RefCountedThreadSafe<CookieReader> { base 342 chrome/browser/chromeos/login/oauth2_browsertest.cc base::Bind(&CookieReader::ReadCookiesOnIOThread, base 368 chrome/browser/chromeos/login/oauth2_browsertest.cc GetAllCookiesAsync(base::Bind( base 377 chrome/browser/chromeos/login/oauth2_browsertest.cc base::Bind(&CookieReader::OnCookiesReadyOnUIThread, base 496 chrome/browser/chromeos/login/oauth2_browsertest.cc base::Bind(&FakeGoogle::QuitRunnerOnUIThread, base 497 chrome/browser/chromeos/login/oauth2_browsertest.cc base::Unretained(this))); base 536 chrome/browser/chromeos/login/oauth2_browsertest.cc base::WaitableEvent start_event_; base 571 chrome/browser/chromeos/login/oauth2_browsertest.cc base::Bind(&DelayedFakeGaia::QuitRunnerOnUIThread, base 572 chrome/browser/chromeos/login/oauth2_browsertest.cc base::Unretained(this))); base 582 chrome/browser/chromeos/login/oauth2_browsertest.cc base::WaitableEvent blocking_event_; base 583 chrome/browser/chromeos/login/oauth2_browsertest.cc base::WaitableEvent start_event_; base 615 chrome/browser/chromeos/login/oauth2_browsertest.cc base::Bind(&FakeGoogle::HandleRequest, base 616 chrome/browser/chromeos/login/oauth2_browsertest.cc base::Unretained(&fake_google_))); base 698 chrome/browser/chromeos/login/oauth2_browsertest.cc base::string16 title; base 749 chrome/browser/chromeos/login/oauth2_browsertest.cc base::StringPrintf("startThrottledTests('%s', '%s')", base 74 chrome/browser/chromeos/login/oauth2_login_manager.cc session_restore_start_ = base::Time::Now(); base 388 chrome/browser/chromeos/login/oauth2_login_manager.cc base::Time::Now() - session_restore_start_); base 391 chrome/browser/chromeos/login/oauth2_login_manager.cc base::Time::Now() - session_restore_start_); base 399 chrome/browser/chromeos/login/oauth2_login_manager.cc const base::Time& time) { base 110 chrome/browser/chromeos/login/oauth2_login_manager.h const base::Time& session_restore_start() { return session_restore_start_; } base 212 chrome/browser/chromeos/login/oauth2_login_manager.h void SetSessionRestoreStartForTesting(const base::Time& time); base 245 chrome/browser/chromeos/login/oauth2_login_manager.h base::Time session_restore_start_; base 72 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Bind(&OAuth2LoginVerifier::StartAuthCookiesVerification, base 74 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); base 83 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Bind( base 85 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); base 140 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Bind(&OAuth2LoginVerifier::StartOAuthLoginForUberToken, base 142 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Bind(&Delegate::OnSessionMergeFailure, base 143 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Unretained(delegate_))); base 168 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Bind( base 170 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::TimeDelta::FromMilliseconds(kPostResoreVerificationDelay)); base 189 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Bind(&OAuth2LoginVerifier::StartMergeSession, base 191 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Bind(&Delegate::OnSessionMergeFailure, base 192 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Unretained(delegate_))); base 198 chrome/browser/chromeos/login/oauth2_login_verifier.cc const base::Time& expiration_time) { base 218 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::StringPrintf("OAuth2Login.%sFailure", "GetOAuth2AccessToken"), base 239 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Bind(&OAuth2LoginVerifier::StartAuthCookiesVerification, base 241 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Bind(&Delegate::OnListAccountsFailure, base 242 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::Unretained(delegate_))); base 247 chrome/browser/chromeos/login/oauth2_login_verifier.cc const base::Closure& task_to_retry, base 253 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::StringPrintf("OAuth2Login.%sRetry", operation_id), base 258 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); base 265 chrome/browser/chromeos/login/oauth2_login_verifier.cc base::StringPrintf("OAuth2Login.%sFailure", operation_id), base 26 chrome/browser/chromeos/login/oauth2_login_verifier.h class OAuth2LoginVerifier : public base::SupportsWeakPtr<OAuth2LoginVerifier>, base 30 chrome/browser/chromeos/login/oauth2_login_verifier.h typedef base::Callback<void(bool connection_error)> ErrorHandler; base 82 chrome/browser/chromeos/login/oauth2_login_verifier.h const base::Time& expiration_time) OVERRIDE; base 106 chrome/browser/chromeos/login/oauth2_login_verifier.h const base::Closure& task_to_retry, base 55 chrome/browser/chromeos/login/oauth2_token_fetcher.cc base::Bind(&OAuth2TokenFetcher::StartExchangeFromCookies, base 57 chrome/browser/chromeos/login/oauth2_token_fetcher.cc base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); base 77 chrome/browser/chromeos/login/oauth2_token_fetcher.cc base::Bind(&OAuth2TokenFetcher::StartExchangeFromAuthCode, base 80 chrome/browser/chromeos/login/oauth2_token_fetcher.cc base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); base 101 chrome/browser/chromeos/login/oauth2_token_fetcher.cc base::Bind(&OAuth2TokenFetcher::StartExchangeFromCookies, base 103 chrome/browser/chromeos/login/oauth2_token_fetcher.cc base::Bind(&OAuth2TokenFetcher::StartExchangeFromAuthCode, base 105 chrome/browser/chromeos/login/oauth2_token_fetcher.cc base::Bind(&Delegate::OnOAuth2TokensFetchFailed, base 106 chrome/browser/chromeos/login/oauth2_token_fetcher.cc base::Unretained(delegate_))); base 110 chrome/browser/chromeos/login/oauth2_token_fetcher.cc const base::Closure& task, base 111 chrome/browser/chromeos/login/oauth2_token_fetcher.cc const base::Closure& error_handler) { base 120 chrome/browser/chromeos/login/oauth2_token_fetcher.cc base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); base 26 chrome/browser/chromeos/login/oauth2_token_fetcher.h class OAuth2TokenFetcher : public base::SupportsWeakPtr<OAuth2TokenFetcher>, base 50 chrome/browser/chromeos/login/oauth2_token_fetcher.h const base::Closure& task, base 51 chrome/browser/chromeos/login/oauth2_token_fetcher.h const base::Closure& error_handler); base 55 chrome/browser/chromeos/login/online_attempt.cc base::Bind(&OnlineAttempt::TryClientLogin, weak_factory_.GetWeakPtr())); base 126 chrome/browser/chromeos/login/online_attempt.cc base::Bind(&OnlineAttempt::CancelClientLogin, weak_factory_.GetWeakPtr()), base 127 chrome/browser/chromeos/login/online_attempt.cc base::TimeDelta::FromMilliseconds(kClientLoginTimeoutMs)); base 67 chrome/browser/chromeos/login/online_attempt.h base::WeakPtrFactory<OnlineAttempt> weak_factory_; base 28 chrome/browser/chromeos/login/online_attempt_host.cc std::string attempt_hash = base::SHA1HashString( base 64 chrome/browser/chromeos/login/online_attempt_host.cc base::Bind(&OnlineAttemptHost::ResolveOnUIThread, base 58 chrome/browser/chromeos/login/online_attempt_host.h base::WeakPtrFactory<OnlineAttemptHost> weak_ptr_factory_; base 47 chrome/browser/chromeos/login/online_attempt_unittest.cc base::Bind(&OnlineAttempt::OnClientLoginFailure, base 51 chrome/browser/chromeos/login/online_attempt_unittest.cc base::RunLoop().RunUntilIdle(); base 58 chrome/browser/chromeos/login/online_attempt_unittest.cc base::Bind(&OnlineAttempt::CancelClientLogin, base 75 chrome/browser/chromeos/login/online_attempt_unittest.cc base::Bind(&OnlineAttempt::OnClientLoginSuccess, base 79 chrome/browser/chromeos/login/online_attempt_unittest.cc base::RunLoop().RunUntilIdle(); base 86 chrome/browser/chromeos/login/online_attempt_unittest.cc base::RunLoop run_loop; base 88 chrome/browser/chromeos/login/online_attempt_unittest.cc .WillOnce(Invoke(&run_loop, &base::RunLoop::Quit)) base 109 chrome/browser/chromeos/login/online_attempt_unittest.cc base::RunLoop run_loop; base 111 chrome/browser/chromeos/login/online_attempt_unittest.cc .WillOnce(Invoke(&run_loop, &base::RunLoop::Quit)) base 136 chrome/browser/chromeos/login/online_attempt_unittest.cc base::RunLoop run_loop; base 138 chrome/browser/chromeos/login/online_attempt_unittest.cc .WillOnce(Invoke(&run_loop, &base::RunLoop::Quit)) base 159 chrome/browser/chromeos/login/online_attempt_unittest.cc base::RunLoop run_loop; base 161 chrome/browser/chromeos/login/online_attempt_unittest.cc .WillOnce(Invoke(&run_loop, &base::RunLoop::Quit)) base 218 chrome/browser/chromeos/login/online_attempt_unittest.cc base::Bind(&OnlineAttempt::OnClientLoginFailure, base 223 chrome/browser/chromeos/login/online_attempt_unittest.cc base::RunLoop().RunUntilIdle(); base 49 chrome/browser/chromeos/login/oobe_base_test.cc base::FilePath test_data_dir; base 53 chrome/browser/chromeos/login/oobe_base_test.cc base::Bind(&FakeGaia::HandleRequest, base::Unretained(fake_gaia_.get()))); base 82 chrome/browser/chromeos/login/oobe_base_test.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 83 chrome/browser/chromeos/login/oobe_base_test.cc base::Bind(&chrome::AttemptExit)); base 114 chrome/browser/chromeos/login/oobe_base_test.cc base::FilePath test_data_dir; base 131 chrome/browser/chromeos/login/oobe_base_test.cc base::Closure OobeBaseTest::SimulateNetworkOfflineClosure() { base 132 chrome/browser/chromeos/login/oobe_base_test.cc return base::Bind(&OobeBaseTest::SimulateNetworkOffline, base 133 chrome/browser/chromeos/login/oobe_base_test.cc base::Unretained(this)); base 145 chrome/browser/chromeos/login/oobe_base_test.cc base::Closure OobeBaseTest::SimulateNetworkOnlineClosure() { base 146 chrome/browser/chromeos/login/oobe_base_test.cc return base::Bind(&OobeBaseTest::SimulateNetworkOnline, base 147 chrome/browser/chromeos/login/oobe_base_test.cc base::Unretained(this)); base 158 chrome/browser/chromeos/login/oobe_base_test.cc base::Closure OobeBaseTest::SimulateNetworkPortalClosure() { base 159 chrome/browser/chromeos/login/oobe_base_test.cc return base::Bind(&OobeBaseTest::SimulateNetworkPortal, base 160 chrome/browser/chromeos/login/oobe_base_test.cc base::Unretained(this)); base 42 chrome/browser/chromeos/login/oobe_base_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 49 chrome/browser/chromeos/login/oobe_base_test.h base::Closure SimulateNetworkOfflineClosure(); base 50 chrome/browser/chromeos/login/oobe_base_test.h base::Closure SimulateNetworkOnlineClosure(); base 51 chrome/browser/chromeos/login/oobe_base_test.h base::Closure SimulateNetworkPortalClosure(); base 47 chrome/browser/chromeos/login/oobe_browsertest.cc base::Bind(&FakeGaia::HandleRequest, base::Unretained(&fake_gaia_))); base 57 chrome/browser/chromeos/login/oobe_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 58 chrome/browser/chromeos/login/oobe_browsertest.cc base::Bind(&chrome::AttemptExit)); base 88 chrome/browser/chromeos/login/oobe_display.h virtual bool IsJSReady(const base::Closure& display_is_ready_callback) = 0; base 61 chrome/browser/chromeos/login/oobe_localization_browsertest.cc const scoped_refptr<base::TaskRunner>& file_task_runner, base 138 chrome/browser/chromeos/login/oobe_localization_browsertest.cc const std::string expression = base::StringPrintf( base 158 chrome/browser/chromeos/login/oobe_localization_browsertest.cc const std::string expression = base::StringPrintf( base 173 chrome/browser/chromeos/login/oobe_localization_browsertest.cc const std::string expression = base::StringPrintf( base 277 chrome/browser/chromeos/login/oobe_localization_browsertest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 91 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveWithLoginTimeMarker, base 97 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveHash, base 107 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveWithLoginTimeMarker, base 120 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveWithLoginTimeMarker, base 126 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveHash, base 139 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveWithLoginTimeMarker, base 145 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveHash, base 167 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveWithLoginTimeMarker, base 177 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveWithLoginTimeMarker, base 192 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolveWithLoginTimeMarker, base 207 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&TriggerResolve, attempt, resolver)); base 244 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&Mount, base 268 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&Mount, base 278 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::ResolveLoginCompletionStatus, this)); base 290 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&CheckKey, base 307 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&Mount, base 360 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&Mount, base 417 chrome/browser/chromeos/login/parallel_authenticator.cc base::AutoLock for_this_block(success_lock_); base 469 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&Migrate, base 481 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&Remove, base 491 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&Remove, base 518 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnOwnershipChecked, this)); base 547 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnLoginFailure, this, base 556 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnLoginFailure, this, base 563 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnLoginFailure, this, base 572 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnLoginFailure, this, base 580 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnLoginFailure, this, base 587 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnLoginFailure, this, base 595 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&Mount, base 603 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnPasswordChangeDetected, this)); base 620 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnLoginSuccess, this)); base 627 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnRetailModeLoginSuccess, this)); base 632 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnOffTheRecordLoginSuccess, this)); base 639 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnLoginSuccess, this)); base 645 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind(&ParallelAuthenticator::OnLoginSuccess, this)); base 651 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind( base 666 chrome/browser/chromeos/login/parallel_authenticator.cc base::Bind( base 695 chrome/browser/chromeos/login/parallel_authenticator.cc return StringToLowerASCII(base::HexEncode( base 236 chrome/browser/chromeos/login/parallel_authenticator.h base::Lock success_lock_; // A lock around |already_reported_success_|. base 96 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::FilePath PopulateTempFile(const char* data, int data_len) { base 97 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::FilePath out; base 98 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc FILE* tmp_file = base::CreateAndOpenTemporaryFile(&out); base 100 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc EXPECT_EQ(base::WriteFile(out, data, data_len), data_len); base 101 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc EXPECT_TRUE(base::CloseFile(tmp_file)); base 174 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 373 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->Run(); base 388 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->Run(); base 403 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->Run(); base 418 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->Run(); base 447 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->Run(); base 463 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->Run(); base 501 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->Run(); base 518 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->Run(); base 613 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc base::MessageLoop::current()->Run(); base 31 chrome/browser/chromeos/login/profile_auth_data.cc const base::Closure& completion_callback); base 51 chrome/browser/chromeos/login/profile_auth_data.cc base::Closure completion_callback_; base 64 chrome/browser/chromeos/login/profile_auth_data.cc const base::Closure& completion_callback) base 86 chrome/browser/chromeos/login/profile_auth_data.cc base::Bind(&ProfileAuthDataTransferer::BeginTransferOnIOThread, base 87 chrome/browser/chromeos/login/profile_auth_data.cc base::Unretained(this))); base 120 chrome/browser/chromeos/login/profile_auth_data.cc base::Bind(&ProfileAuthDataTransferer::OnTransferCookiesIfEmptyJar, base 121 chrome/browser/chromeos/login/profile_auth_data.cc base::Unretained(this))); base 174 chrome/browser/chromeos/login/profile_auth_data.cc base::Bind(&ProfileAuthDataTransferer::OnGetCookiesToTransfer, base 175 chrome/browser/chromeos/login/profile_auth_data.cc base::Unretained(this))); base 195 chrome/browser/chromeos/login/profile_auth_data.cc base::Bind(&ProfileAuthDataTransferer::OnGetServerBoundCertsToTransfer, base 196 chrome/browser/chromeos/login/profile_auth_data.cc base::Unretained(this))); base 217 chrome/browser/chromeos/login/profile_auth_data.cc const base::Closure& completion_callback) { base 26 chrome/browser/chromeos/login/profile_auth_data.h const base::Closure& completion_callback); base 41 chrome/browser/chromeos/login/proxy_settings_dialog.cc url += base::StringPrintf( base 61 chrome/browser/chromeos/login/proxy_settings_dialog.cc base::string16(), base 82 chrome/browser/chromeos/login/proxy_settings_dialog.cc base::ASCIIToUTF16(network_name))); base 91 chrome/browser/chromeos/login/reset_browsertest.cc virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE { base 24 chrome/browser/chromeos/login/resource_loader_browsertest.cc base::FilePath path; base 25 chrome/browser/chromeos/login/resource_loader_browsertest.cc EXPECT_TRUE(base::CreateTemporaryFile(&path)); base 26 chrome/browser/chromeos/login/resource_loader_browsertest.cc EXPECT_TRUE(base::WriteFile(path, content.c_str(), content.size())); base 94 chrome/browser/chromeos/login/saml/saml_browsertest.cc base::FilePath html_template_dir_; base 113 chrome/browser/chromeos/login/saml/saml_browsertest.cc base::FilePath test_data_dir; base 123 chrome/browser/chromeos/login/saml/saml_browsertest.cc EXPECT_TRUE(base::ReadFileToString( base 129 chrome/browser/chromeos/login/saml/saml_browsertest.cc EXPECT_TRUE(base::ReadFileToString( base 251 chrome/browser/chromeos/login/saml/saml_browsertest.cc base::Bind(&FakeGaia::HandleRequest, base::Unretained(&fake_gaia_))); base 252 chrome/browser/chromeos/login/saml/saml_browsertest.cc embedded_test_server()->RegisterRequestHandler(base::Bind( base 253 chrome/browser/chromeos/login/saml/saml_browsertest.cc &FakeSamlIdp::HandleRequest, base::Unretained(&fake_saml_idp_))); base 266 chrome/browser/chromeos/login/saml/saml_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 267 chrome/browser/chromeos/login/saml/saml_browsertest.cc base::Bind(&chrome::AttemptExit)); base 610 chrome/browser/chromeos/login/saml/saml_browsertest.cc new base::FundamentalValue(limit), base 613 chrome/browser/chromeos/login/saml/saml_browsertest.cc base::RunLoop().RunUntilIdle(); base 74 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc base::Bind(&SAMLOfflineSigninLimiter::UpdateLimit, base 75 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc base::Unretained(this))); base 87 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc base::Clock* clock) base 100 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc const base::TimeDelta offline_signin_time_limit = base 101 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc base::TimeDelta::FromSeconds( base 103 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc base::Time last_gaia_signin_time = base::Time::FromInternalValue( base 105 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc if (offline_signin_time_limit < base::TimeDelta() || base 111 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc const base::Time now = clock_->Now(); base 120 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc const base::TimeDelta time_since_last_gaia_signin = base 132 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc new base::OneShotTimer<SAMLOfflineSigninLimiter>); base 19 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h namespace base { base 50 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h SAMLOfflineSigninLimiter(Profile* profile, base::Clock* clock); base 62 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h base::DefaultClock default_clock_; base 65 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h base::Clock* clock_; base 69 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h scoped_ptr<base::OneShotTimer<SAMLOfflineSigninLimiter> > base 16 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.cc base::Clock* SAMLOfflineSigninLimiterFactory::clock_for_testing_ = NULL; base 32 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.cc void SAMLOfflineSigninLimiterFactory::SetClockForTesting(base::Clock* clock) { base 15 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.h namespace base { base 34 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.h static void SetClockForTesting(base::Clock* clock); base 46 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.h static base::Clock* clock_for_testing_; base 45 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner_; base 46 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc base::ThreadTaskRunnerHandle runner_handle_; base 52 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc base::SimpleTestClock clock_; base 60 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc : runner_(new base::TestSimpleTaskRunner), base 92 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); base 297 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromDays(28)); // 4 weeks. base 325 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc base::Time last_gaia_signin_time = base::Time::FromInternalValue( base 336 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); base 346 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc last_gaia_signin_time = base::Time::FromInternalValue( base 357 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time gaia_signin_time = clock_.Now(); base 358 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); base 368 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc last_gaia_signin_time = base::Time::FromInternalValue( base 376 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromDays(28)); // 4 weeks. base 399 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc base::Time last_gaia_signin_time = base::Time::FromInternalValue( base 410 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); base 420 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc last_gaia_signin_time = base::Time::FromInternalValue( base 431 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time gaia_signin_time = clock_.Now(); base 432 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); base 442 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc last_gaia_signin_time = base::Time::FromInternalValue( base 469 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time last_gaia_signin_time = base::Time::FromInternalValue( base 487 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time last_gaia_signin_time = base::Time::FromInternalValue( base 511 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time last_gaia_signin_time = base::Time::FromInternalValue( base 537 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromDays(28)); // 4 weeks. base 546 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time last_gaia_signin_time = base::Time::FromInternalValue( base 562 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time gaia_signin_time = clock_.Now(); base 563 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromDays(28)); // 4 weeks. base 572 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time last_gaia_signin_time = base::Time::FromInternalValue( base 63 chrome/browser/chromeos/login/screen_locker.cc using base::UserMetricsAction; base 137 chrome/browser/chromeos/login/screen_locker.cc start_time_(base::Time::Now()), base 153 chrome/browser/chromeos/login/screen_locker.cc base::Bind(base::IgnoreResult(&ash::PlaySystemSoundIfSpokenFeedback), base 178 chrome/browser/chromeos/login/screen_locker.cc base::TimeDelta delta = base::Time::Now() - authentication_start_time_; base 202 chrome/browser/chromeos/login/screen_locker.cc base::TimeDelta delta = base::Time::Now() - authentication_start_time_; base 219 chrome/browser/chromeos/login/screen_locker.cc base::MessageLoop::current()->PostDelayedTask( base 221 chrome/browser/chromeos/login/screen_locker.cc base::Bind(&ScreenLocker::UnlockOnLoginSuccess, base 223 chrome/browser/chromeos/login/screen_locker.cc base::TimeDelta::FromMilliseconds(kUnlockGuardTimeoutMs)); base 228 chrome/browser/chromeos/login/screen_locker.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 255 chrome/browser/chromeos/login/screen_locker.cc authentication_start_time_ = base::Time::Now(); base 287 chrome/browser/chromeos/login/screen_locker.cc base::Bind(&ExtendedAuthenticator::AuthenticateToCheck, base 290 chrome/browser/chromeos/login/screen_locker.cc base::Closure())); base 298 chrome/browser/chromeos/login/screen_locker.cc base::Bind(&Authenticator::AuthenticateToUnlock, base 339 chrome/browser/chromeos/login/screen_locker.cc const base::Closure& click_callback) { base 349 chrome/browser/chromeos/login/screen_locker.cc base::Int64ToString(base::Time::Now().ToInternalValue()); base 430 chrome/browser/chromeos/login/screen_locker.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 468 chrome/browser/chromeos/login/screen_locker.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 477 chrome/browser/chromeos/login/screen_locker.cc base::Callback<void(void)> callback = base 478 chrome/browser/chromeos/login/screen_locker.cc base::Bind(&ScreenLocker::ScheduleDeletion); base 500 chrome/browser/chromeos/login/screen_locker.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 529 chrome/browser/chromeos/login/screen_locker.cc base::TimeDelta delta = base::Time::Now() - start_time_; base 87 chrome/browser/chromeos/login/screen_locker.h const base::Closure& click_callback); base 140 chrome/browser/chromeos/login/screen_locker.h friend class base::DeleteHelper<ScreenLocker>; base 189 chrome/browser/chromeos/login/screen_locker.h base::Time start_time_; base 191 chrome/browser/chromeos/login/screen_locker.h base::Time authentication_start_time_; base 207 chrome/browser/chromeos/login/screen_locker.h base::WeakPtrFactory<ScreenLocker> weak_factory_; base 63 chrome/browser/chromeos/login/screen_locker_browsertest.cc base::MessageLoop::current()->Quit(); base 54 chrome/browser/chromeos/login/screen_locker_delegate.h const base::Closure& click_callback) = 0; base 87 chrome/browser/chromeos/login/screen_locker_tester.cc base::MessageLoopForUI::current()->Quit(); base 124 chrome/browser/chromeos/login/screen_locker_tester.cc base::ASCIIToUTF16(base::StringPrintf( base 131 chrome/browser/chromeos/login/screen_locker_tester.cc scoped_ptr<base::Value> v = content::ExecuteScriptAndGetValue( base 146 chrome/browser/chromeos/login/screen_locker_tester.cc scoped_ptr<base::Value> v = content::ExecuteScriptAndGetValue( base 53 chrome/browser/chromeos/login/screens/base_screen.cc void BaseScreen::OnContextChanged(const base::DictionaryValue* diff) { base 13 chrome/browser/chromeos/login/screens/base_screen.h namespace base { base 86 chrome/browser/chromeos/login/screens/base_screen.h virtual void OnContextChanged(const base::DictionaryValue* diff); base 12 chrome/browser/chromeos/login/screens/core_oobe_actor.h namespace base { base 37 chrome/browser/chromeos/login/screens/core_oobe_actor.h virtual void ReloadContent(const base::DictionaryValue& dictionary) = 0; base 70 chrome/browser/chromeos/login/screens/error_screen.cc base::Bind(&ErrorScreen::StartGuestSessionAfterOwnershipCheck, base 162 chrome/browser/chromeos/login/screens/error_screen.cc base::Bind(&ErrorScreen::StartGuestSessionAfterOwnershipCheck, base 120 chrome/browser/chromeos/login/screens/error_screen.h base::WeakPtrFactory<ErrorScreen> weak_factory_; base 15 chrome/browser/chromeos/login/screens/error_screen_actor.h namespace base { base 54 chrome/browser/chromeos/login/screens/error_screen_actor.h base::DictionaryValue* params) = 0; base 27 chrome/browser/chromeos/login/screens/mock_error_screen.h base::DictionaryValue* params)); base 32 chrome/browser/chromeos/login/screens/mock_network_screen.h MOCK_METHOD1(ShowError, void(const base::string16& message)); base 35 chrome/browser/chromeos/login/screens/mock_network_screen.h void(bool connecting, const base::string16& network_id)); base 37 chrome/browser/chromeos/login/screens/mock_update_screen.h MOCK_METHOD1(SetEstimatedTimeLeft, void(const base::TimeDelta& time)); base 165 chrome/browser/chromeos/login/screens/network_screen.cc base::string16 network_name = network_state_helper_->GetCurrentNetworkName(); base 175 chrome/browser/chromeos/login/screens/network_screen.cc void NetworkScreen::StopWaitingForConnection(const base::string16& network_id) { base 192 chrome/browser/chromeos/login/screens/network_screen.cc void NetworkScreen::WaitForConnection(const base::string16& network_id) { base 196 chrome/browser/chromeos/login/screens/network_screen.cc base::TimeDelta::FromSeconds(kConnectionTimeoutSec), base 76 chrome/browser/chromeos/login/screens/network_screen.h void StopWaitingForConnection(const base::string16& network_id); base 79 chrome/browser/chromeos/login/screens/network_screen.h void WaitForConnection(const base::string16& network_id); base 85 chrome/browser/chromeos/login/screens/network_screen.h base::string16 network_id_; base 92 chrome/browser/chromeos/login/screens/network_screen.h base::OneShotTimer<NetworkScreen> connection_timer_; base 38 chrome/browser/chromeos/login/screens/network_screen_actor.h virtual void ShowError(const base::string16& message) = 0; base 46 chrome/browser/chromeos/login/screens/network_screen_actor.h const base::string16& network_id) = 0; base 39 chrome/browser/chromeos/login/screens/network_screen_browsertest.cc MOCK_CONST_METHOD0(GetCurrentNetworkName, base::string16(void)); base 98 chrome/browser/chromeos/login/screens/network_screen_browsertest.cc .WillRepeatedly((Return(base::string16()))); base 19 chrome/browser/chromeos/login/screens/screen_context.cc return Set(key, new base::FundamentalValue(value)); base 23 chrome/browser/chromeos/login/screens/screen_context.cc return Set(key, new base::FundamentalValue(value)); base 27 chrome/browser/chromeos/login/screens/screen_context.cc return Set(key, new base::FundamentalValue(value)); base 31 chrome/browser/chromeos/login/screens/screen_context.cc return Set(key, new base::StringValue(value)); base 34 chrome/browser/chromeos/login/screens/screen_context.cc bool ScreenContext::SetString(const KeyType& key, const base::string16& value) { base 35 chrome/browser/chromeos/login/screens/screen_context.cc return Set(key, new base::StringValue(value)); base 71 chrome/browser/chromeos/login/screens/screen_context.cc base::string16 ScreenContext::GetString16(const KeyType& key) { base 72 chrome/browser/chromeos/login/screens/screen_context.cc return Get<base::string16>(key); base 75 chrome/browser/chromeos/login/screens/screen_context.cc base::string16 ScreenContext::GetString16(const KeyType& key, base 76 chrome/browser/chromeos/login/screens/screen_context.cc const base::string16& default_value) { base 90 chrome/browser/chromeos/login/screens/screen_context.cc void ScreenContext::GetChangesAndReset(base::DictionaryValue* diff) { base 97 chrome/browser/chromeos/login/screens/screen_context.cc void ScreenContext::ApplyChanges(const base::DictionaryValue& diff, base 104 chrome/browser/chromeos/login/screens/screen_context.cc base::DictionaryValue::Iterator it(diff); base 113 chrome/browser/chromeos/login/screens/screen_context.cc bool ScreenContext::Set(const KeyType& key, base::Value* value) { base 116 chrome/browser/chromeos/login/screens/screen_context.cc scoped_ptr<base::Value> new_value(value); base 118 chrome/browser/chromeos/login/screens/screen_context.cc base::Value* current_value; base 35 chrome/browser/chromeos/login/screens/screen_context.h class ScreenContext : public base::NonThreadSafe { base 38 chrome/browser/chromeos/login/screens/screen_context.h typedef base::Value ValueType; base 47 chrome/browser/chromeos/login/screens/screen_context.h bool SetString(const KeyType& key, const base::string16& value); base 57 chrome/browser/chromeos/login/screens/screen_context.h base::string16 GetString16(const KeyType& key); base 58 chrome/browser/chromeos/login/screens/screen_context.h base::string16 GetString16(const KeyType& key, base 59 chrome/browser/chromeos/login/screens/screen_context.h const base::string16& default_value); base 71 chrome/browser/chromeos/login/screens/screen_context.h void GetChangesAndReset(base::DictionaryValue* diff); base 75 chrome/browser/chromeos/login/screens/screen_context.h void ApplyChanges(const base::DictionaryValue& diff, base 79 chrome/browser/chromeos/login/screens/screen_context.h bool Set(const KeyType& key, base::Value* value); base 84 chrome/browser/chromeos/login/screens/screen_context.h const base::Value* value; base 104 chrome/browser/chromeos/login/screens/screen_context.h base::DictionaryValue storage_; base 107 chrome/browser/chromeos/login/screens/screen_context.h base::DictionaryValue changes_; base 73 chrome/browser/chromeos/login/screens/screen_context_unittest.cc base::DictionaryValue changes; base 102 chrome/browser/chromeos/login/screens/screen_context_unittest.cc base::DictionaryValue changes; base 137 chrome/browser/chromeos/login/screens/screen_context_unittest.cc base::DictionaryValue changes; base 24 chrome/browser/chromeos/login/screens/screen_manager.cc base::Bind(&ScreenManager::OnDisplayIsReady, weak_factory_.GetWeakPtr())); base 166 chrome/browser/chromeos/login/screens/screen_manager.cc const base::DictionaryValue* diff) { base 167 chrome/browser/chromeos/login/screens/screen_manager.cc CallOnScreen<const base::DictionaryValue*>(screen_name, base 98 chrome/browser/chromeos/login/screens/screen_manager.h const base::DictionaryValue* diff) OVERRIDE; base 111 chrome/browser/chromeos/login/screens/screen_manager.h base::WeakPtrFactory<ScreenManager> weak_factory_; base 109 chrome/browser/chromeos/login/screens/terms_of_service_screen.cc download_timer_.Start(FROM_HERE, base::TimeDelta::FromMinutes(1), base 63 chrome/browser/chromeos/login/screens/terms_of_service_screen.h base::OneShotTimer<TermsOfServiceScreen> download_timer_; base 48 chrome/browser/chromeos/login/screens/update_screen.cc const base::TimeDelta kMinTimeStep = base::TimeDelta::FromSeconds(1); base 159 chrome/browser/chromeos/login/screens/update_screen.cc download_start_time_ = download_last_time_ = base::Time::Now(); base 202 chrome/browser/chromeos/login/screens/update_screen.cc base::TimeDelta::FromSeconds(reboot_check_delay_), base 245 chrome/browser/chromeos/login/screens/update_screen.cc base::MessageLoop::current()->PostTask( base 247 chrome/browser/chromeos/login/screens/update_screen.cc base::Bind( base 248 chrome/browser/chromeos/login/screens/update_screen.cc base::IgnoreResult(&NetworkPortalDetector::StartDetectionIfIdle), base 249 chrome/browser/chromeos/login/screens/update_screen.cc base::Unretained(NetworkPortalDetector::Get()))); base 388 chrome/browser/chromeos/login/screens/update_screen.cc base::Time download_current_time = base::Time::Now(); base 425 chrome/browser/chromeos/login/screens/update_screen.cc base::TimeDelta::FromSeconds(static_cast<int64>(time_left))); base 440 chrome/browser/chromeos/login/screens/update_screen.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 441 chrome/browser/chromeos/login/screens/update_screen.cc base::FilePath update_deadline_file_path(kUpdateDeadlineFile); base 442 chrome/browser/chromeos/login/screens/update_screen.cc if (!base::ReadFileToString(update_deadline_file_path, &deadline) || base 477 chrome/browser/chromeos/login/screens/update_screen.cc base::Bind(StartUpdateCallback, this)); base 117 chrome/browser/chromeos/login/screens/update_screen.h base::OneShotTimer<UpdateScreen> reboot_timer_; base 147 chrome/browser/chromeos/login/screens/update_screen.h base::Time download_start_time_; base 151 chrome/browser/chromeos/login/screens/update_screen.h base::Time download_last_time_; base 165 chrome/browser/chromeos/login/screens/update_screen.h base::WeakPtrFactory<UpdateScreen> weak_factory_; base 55 chrome/browser/chromeos/login/screens/update_screen_actor.h virtual void SetEstimatedTimeLeft(const base::TimeDelta& time) = 0; base 352 chrome/browser/chromeos/login/screens/update_screen_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 395 chrome/browser/chromeos/login/screens/update_screen_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 100 chrome/browser/chromeos/login/screens/user_image_screen.cc scoped_refptr<base::MessageLoopProxy> task_runner = base 150 chrome/browser/chromeos/login/screens/user_image_screen.cc void UserImageScreen::OnUserImagePolicyChanged(const base::Value* previous, base 151 chrome/browser/chromeos/login/screens/user_image_screen.cc const base::Value* current) { base 153 chrome/browser/chromeos/login/screens/user_image_screen.cc base::MessageLoopProxy::current()->DeleteSoon(FROM_HERE, base 288 chrome/browser/chromeos/login/screens/user_image_screen.cc base::Bind(&UserImageScreen::OnUserImagePolicyChanged, base 289 chrome/browser/chromeos/login/screens/user_image_screen.cc base::Unretained(this))); base 302 chrome/browser/chromeos/login/screens/user_image_screen.cc sync_timer_.reset(new base::Timer( base 304 chrome/browser/chromeos/login/screens/user_image_screen.cc base::TimeDelta::FromSeconds(kSyncTimeoutSeconds), base 305 chrome/browser/chromeos/login/screens/user_image_screen.cc base::Bind(&UserImageScreen::OnSyncTimeout, base::Unretained(this)), base 19 chrome/browser/chromeos/login/screens/user_image_screen.h namespace base { base 92 chrome/browser/chromeos/login/screens/user_image_screen.h void OnUserImagePolicyChanged(const base::Value* previous, base 93 chrome/browser/chromeos/login/screens/user_image_screen.h const base::Value* current); base 142 chrome/browser/chromeos/login/screens/user_image_screen.h scoped_ptr<base::Timer> sync_timer_; base 81 chrome/browser/chromeos/login/startup_utils.cc static base::FilePath GetOobeCompleteFlagPath() { base 85 chrome/browser/chromeos/login/startup_utils.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 86 chrome/browser/chromeos/login/startup_utils.cc return base::FilePath(kOobeCompleteFlagFilePath); base 88 chrome/browser/chromeos/login/startup_utils.cc base::FilePath user_data_dir; base 96 chrome/browser/chromeos/login/startup_utils.cc base::FilePath oobe_complete_path = GetOobeCompleteFlagPath(); base 97 chrome/browser/chromeos/login/startup_utils.cc if (!base::PathExists(oobe_complete_path)) { base 98 chrome/browser/chromeos/login/startup_utils.cc FILE* oobe_flag_file = base::OpenFile(oobe_complete_path, "w+b"); base 102 chrome/browser/chromeos/login/startup_utils.cc base::CloseFile(oobe_flag_file); base 115 chrome/browser/chromeos/login/startup_utils.cc base::Bind(&CreateOobeCompleteFlagFile)); base 122 chrome/browser/chromeos/login/startup_utils.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 123 chrome/browser/chromeos/login/startup_utils.cc base::FilePath oobe_complete_flag_file_path = GetOobeCompleteFlagPath(); base 124 chrome/browser/chromeos/login/startup_utils.cc bool file_exists = base::PathExists(oobe_complete_flag_file_path); base 136 chrome/browser/chromeos/login/startup_utils.cc base::Bind(&CreateOobeCompleteFlagFile)); base 44 chrome/browser/chromeos/login/supervised_user_manager.h typedef base::Callback<void(const std::string& /* token */)> base 67 chrome/browser/chromeos/login/supervised_user_manager.h const base::string16& display_name) = 0; base 75 chrome/browser/chromeos/login/supervised_user_manager.h const base::string16& display_name) const = 0; base 88 chrome/browser/chromeos/login/supervised_user_manager.h virtual base::string16 GetManagerDisplayName( base 103 chrome/browser/chromeos/login/supervised_user_manager.h virtual void StartCreationTransaction(const base::string16& display_name) = 0; base 117 chrome/browser/chromeos/login/supervised_user_manager.h base::DictionaryValue* result) = 0; base 123 chrome/browser/chromeos/login/supervised_user_manager.h const base::DictionaryValue* password_info) = 0; base 86 chrome/browser/chromeos/login/supervised_user_manager_impl.cc std::string LoadSyncToken(base::FilePath profile_dir) { base 88 chrome/browser/chromeos/login/supervised_user_manager_impl.cc base::FilePath token_file = base 91 chrome/browser/chromeos/login/supervised_user_manager_impl.cc if (!base::ReadFileToString(token_file, &token)) base 151 chrome/browser/chromeos/login/supervised_user_manager_impl.cc id = base::StringPrintf("%d@%s", counter, base 184 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::string16& display_name) { base 207 chrome/browser/chromeos/login/supervised_user_manager_impl.cc prefs_new_users_update->Insert(0, new base::StringValue(local_user_id)); base 210 chrome/browser/chromeos/login/supervised_user_manager_impl.cc new base::StringValue(sync_user_id)); base 212 chrome/browser/chromeos/login/supervised_user_manager_impl.cc new base::StringValue(manager->email())); base 214 chrome/browser/chromeos/login/supervised_user_manager_impl.cc new base::StringValue(manager->GetDisplayName())); base 216 chrome/browser/chromeos/login/supervised_user_manager_impl.cc new base::StringValue(manager->display_email())); base 231 chrome/browser/chromeos/login/supervised_user_manager_impl.cc base::string16 SupervisedUserManagerImpl::GetManagerDisplayName( base 234 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::DictionaryValue* manager_names = base 236 chrome/browser/chromeos/login/supervised_user_manager_impl.cc base::string16 result; base 240 chrome/browser/chromeos/login/supervised_user_manager_impl.cc return base::UTF8ToUTF16(GetManagerDisplayEmail(user_id)); base 261 chrome/browser/chromeos/login/supervised_user_manager_impl.cc base::DictionaryValue* result) { base 281 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::DictionaryValue* password_info) { base 307 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::DictionaryValue* dictionary = local_state->GetDictionary(key); base 316 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::DictionaryValue* dictionary = local_state->GetDictionary(key); base 324 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::DictionaryValue* dictionary = local_state->GetDictionary(key); base 355 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::string16& display_name) const { base 381 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::string16& display_name) { base 384 chrome/browser/chromeos/login/supervised_user_manager_impl.cc base::UTF16ToASCII(display_name)); base 448 chrome/browser/chromeos/login/supervised_user_manager_impl.cc prefs_new_users_update->Remove(base::StringValue(user_id), NULL); base 471 chrome/browser/chromeos/login/supervised_user_manager_impl.cc return prefs_new_users_update->Remove(base::StringValue(user_id), NULL); base 475 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::string16& new_display_name) { base 478 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const base::DictionaryValue* manager_ids = base 483 chrome/browser/chromeos/login/supervised_user_manager_impl.cc for (base::DictionaryValue::Iterator it(*manager_ids); !it.IsAtEnd(); base 491 chrome/browser/chromeos/login/supervised_user_manager_impl.cc new base::StringValue(new_display_name)); base 504 chrome/browser/chromeos/login/supervised_user_manager_impl.cc base::FilePath profile_dir = ProfileHelper::GetProfilePathByUserIdHash( base 509 chrome/browser/chromeos/login/supervised_user_manager_impl.cc base::Bind(&LoadSyncToken, profile_dir), base 31 chrome/browser/chromeos/login/supervised_user_manager_impl.h const base::string16& display_name) OVERRIDE; base 33 chrome/browser/chromeos/login/supervised_user_manager_impl.h virtual const User* FindByDisplayName(const base::string16& display_name) const base 37 chrome/browser/chromeos/login/supervised_user_manager_impl.h virtual base::string16 GetManagerDisplayName(const std::string& user_id) const base 43 chrome/browser/chromeos/login/supervised_user_manager_impl.h virtual void StartCreationTransaction(const base::string16& display_name) OVERRIDE; base 49 chrome/browser/chromeos/login/supervised_user_manager_impl.h base::DictionaryValue* result) OVERRIDE; base 52 chrome/browser/chromeos/login/supervised_user_manager_impl.h const base::DictionaryValue* password_info) OVERRIDE; base 78 chrome/browser/chromeos/login/supervised_user_manager_impl.h const base::string16& new_display_name); base 39 chrome/browser/chromeos/login/test/app_window_waiter.h base::RunLoop run_loop_; base 18 chrome/browser/chromeos/login/test/https_forwarder.cc base::FilePath()), base 29 chrome/browser/chromeos/login/test/https_forwarder.cc base::FilePath net_testserver_path; base 37 chrome/browser/chromeos/login/test/https_forwarder.cc bool HTTPSForwarder::GetTestServerPath(base::FilePath* testserver_path) const { base 38 chrome/browser/chromeos/login/test/https_forwarder.cc base::FilePath source_root_dir; base 39 chrome/browser/chromeos/login/test/https_forwarder.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &source_root_dir)) base 52 chrome/browser/chromeos/login/test/https_forwarder.cc base::DictionaryValue* arguments) const { base 53 chrome/browser/chromeos/login/test/https_forwarder.cc base::FilePath source_root_dir; base 55 chrome/browser/chromeos/login/test/https_forwarder.cc !PathService::Get(base::DIR_SOURCE_ROOT, &source_root_dir)) base 25 chrome/browser/chromeos/login/test/https_forwarder.h base::FilePath* testserver_path) const OVERRIDE; base 27 chrome/browser/chromeos/login/test/https_forwarder.h base::DictionaryValue* arguments) const OVERRIDE; base 36 chrome/browser/chromeos/login/tpm_password_fetcher.cc base::Bind(&TpmPasswordFetcher::OnTpmIsReady, base 44 chrome/browser/chromeos/login/tpm_password_fetcher.cc base::Bind(&TpmPasswordFetcher::OnTpmGetPassword, base 69 chrome/browser/chromeos/login/tpm_password_fetcher.cc base::MessageLoop::current()->PostDelayedTask( base 71 chrome/browser/chromeos/login/tpm_password_fetcher.cc base::Bind(&TpmPasswordFetcher::Fetch, weak_factory_.GetWeakPtr()), base 72 chrome/browser/chromeos/login/tpm_password_fetcher.cc base::TimeDelta::FromMilliseconds(kTpmCheckIntervalMs)); base 47 chrome/browser/chromeos/login/tpm_password_fetcher.h base::WeakPtrFactory<TpmPasswordFetcher> weak_factory_; base 171 chrome/browser/chromeos/login/user.cc base::string16 User::GetDisplayName() const { base 174 chrome/browser/chromeos/login/user.cc base::UTF8ToUTF16(GetAccountName(true)) : base 325 chrome/browser/chromeos/login/user.cc return base::UTF16ToUTF8(display_name()); base 127 chrome/browser/chromeos/login/user.h base::string16 GetDisplayName() const; base 130 chrome/browser/chromeos/login/user.h const base::string16& given_name() const { return given_name_; } base 172 chrome/browser/chromeos/login/user.h base::string16 display_name() const { return display_name_; } base 237 chrome/browser/chromeos/login/user.h void set_display_name(const base::string16& display_name) { base 241 chrome/browser/chromeos/login/user.h void set_given_name(const base::string16& given_name) { given_name_ = given_name; } base 282 chrome/browser/chromeos/login/user.h base::string16 display_name_; base 283 chrome/browser/chromeos/login/user.h base::string16 given_name_; base 48 chrome/browser/chromeos/login/user_adding_screen.cc base::Bind(&UserAddingScreenImpl::OnDisplayHostCompletion, base 49 chrome/browser/chromeos/login/user_adding_screen.cc base::Unretained(this))); base 73 chrome/browser/chromeos/login/user_flow.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 74 chrome/browser/chromeos/login/user_flow.cc base::Bind(&UnregisterFlow, base 34 chrome/browser/chromeos/login/user_image_loader.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 35 chrome/browser/chromeos/login/user_image_loader.cc : foreground_task_runner_(base::MessageLoopProxy::current()), base 48 chrome/browser/chromeos/login/user_image_loader.cc base::Bind(&UserImageLoader::ReadAndDecodeImage, base 58 chrome/browser/chromeos/login/user_image_loader.cc base::Bind(&UserImageLoader::DecodeImage, base 60 chrome/browser/chromeos/login/user_image_loader.cc base::Passed(&data), base 70 chrome/browser/chromeos/login/user_image_loader.cc base::ReadFileToString(base::FilePath(filepath), data.get()); base 129 chrome/browser/chromeos/login/user_image_loader.cc base::Bind(loaded_cb, user_image)); base 144 chrome/browser/chromeos/login/user_image_loader.cc base::Bind(loaded_cb, UserImage())); base 18 chrome/browser/chromeos/login/user_image_loader.h namespace base { base 28 chrome/browser/chromeos/login/user_image_loader.h class UserImageLoader : public base::RefCountedThreadSafe<UserImageLoader>, base 32 chrome/browser/chromeos/login/user_image_loader.h typedef base::Callback<void(const UserImage& user_image)> LoadedCallback; base 37 chrome/browser/chromeos/login/user_image_loader.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 52 chrome/browser/chromeos/login/user_image_loader.h friend class base::RefCountedThreadSafe<UserImageLoader>; base 85 chrome/browser/chromeos/login/user_image_loader.h scoped_refptr<base::SequencedTaskRunner> foreground_task_runner_; base 89 chrome/browser/chromeos/login/user_image_loader.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 14 chrome/browser/chromeos/login/user_image_manager.h namespace base { base 53 chrome/browser/chromeos/login/user_image_manager.h virtual void SaveUserImageFromFile(const base::FilePath& path) = 0; base 135 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const base::FilePath& image_path) { base 138 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::DictionaryValue* image_properties = new base::DictionaryValue(); base 140 chrome/browser/chromeos/login/user_image_manager_browsertest.cc "index", base::Value::CreateIntegerValue(image_index)); base 142 chrome/browser/chromeos/login/user_image_manager_browsertest.cc "path" , new base::StringValue(image_path.value())); base 147 chrome/browser/chromeos/login/user_image_manager_browsertest.cc void ExpectUserImageInfo(const base::DictionaryValue* images_pref, base 150 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const base::FilePath& image_path) { base 152 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const base::DictionaryValue* image_properties = NULL; base 165 chrome/browser/chromeos/login/user_image_manager_browsertest.cc void ExpectNoUserImageInfo(const base::DictionaryValue* images_pref, base 168 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const base::DictionaryValue* image_properties = NULL; base 177 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const base::FilePath& image_path) { base 188 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const base::FilePath& image_path) { base 198 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::FilePath image_path = GetUserImagePath(username, "png"); base 199 chrome/browser/chromeos/login/user_image_manager_browsertest.cc scoped_refptr<base::RefCountedStaticMemory> image_data( base 202 chrome/browser/chromeos/login/user_image_manager_browsertest.cc int written = base::WriteFile( base 211 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::FilePath GetUserImagePath(const std::string& username, base 233 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::Time::Now() + base::TimeDelta::FromDays(1)); base 243 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::RunLoop().RunUntilIdle(); base 255 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::FilePath test_data_dir; base 261 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::RunLoop run_loop; base 279 chrome/browser/chromeos/login/user_image_manager_browsertest.cc run_loop_.reset(new base::RunLoop); base 284 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::FilePath test_data_dir_; base 285 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::FilePath user_data_dir_; base 291 chrome/browser/chromeos/login/user_image_manager_browsertest.cc scoped_ptr<base::RunLoop> run_loop_; base 300 chrome/browser/chromeos/login/user_image_manager_browsertest.cc SetOldUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 306 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ExpectOldUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 309 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ExpectNewUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 315 chrome/browser/chromeos/login/user_image_manager_browsertest.cc SetOldUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 317 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::FilePath()); base 323 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ExpectOldUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 325 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::FilePath()); base 328 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ExpectNewUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 330 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::FilePath()); base 348 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::RunLoop run_loop; base 407 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ExpectNewUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 427 chrome/browser/chromeos/login/user_image_manager_browsertest.cc run_loop_.reset(new base::RunLoop); base 459 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const base::FilePath custom_image_path = base 465 chrome/browser/chromeos/login/user_image_manager_browsertest.cc run_loop_.reset(new base::RunLoop); base 502 chrome/browser/chromeos/login/user_image_manager_browsertest.cc run_loop_.reset(new base::RunLoop); base 552 chrome/browser/chromeos/login/user_image_manager_browsertest.cc run_loop_.reset(new base::RunLoop); base 568 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ExpectNewUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 591 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::FilePath user_keys_dir; base 596 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const base::FilePath user_key_file = base 601 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ASSERT_TRUE(base::CreateDirectory(user_key_file.DirName())); base 602 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ASSERT_EQ(base::WriteFile( base 629 chrome/browser/chromeos/login/user_image_manager_browsertest.cc if (!base::ReadFileToString(test_data_dir_.Append(relative_path), base 634 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::JSONWriter::Write(policy::test::ConstructExternalDataReference( base 664 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::RunLoop().RunUntilIdle(); base 676 chrome/browser/chromeos/login/user_image_manager_browsertest.cc run_loop_.reset(new base::RunLoop); base 701 chrome/browser/chromeos/login/user_image_manager_browsertest.cc run_loop_.reset(new base::RunLoop); base 706 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::RunLoop().RunUntilIdle(); base 734 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ExpectNewUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 750 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::RunLoop().RunUntilIdle(); base 767 chrome/browser/chromeos/login/user_image_manager_browsertest.cc ExpectNewUserImageInfo(kTestUser1, kFirstDefaultImageIndex, base::FilePath()); base 776 chrome/browser/chromeos/login/user_image_manager_browsertest.cc run_loop_.reset(new base::RunLoop); base 810 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::RunLoop().RunUntilIdle(); base 822 chrome/browser/chromeos/login/user_image_manager_browsertest.cc run_loop_.reset(new base::RunLoop); base 111 chrome/browser/chromeos/login/user_image_manager_impl.cc const base::TimeDelta& time_delta) { base 134 chrome/browser/chromeos/login/user_image_manager_impl.cc static const base::TimeDelta min_time = base::TimeDelta::FromMilliseconds(1); base 135 chrome/browser/chromeos/login/user_image_manager_impl.cc static const base::TimeDelta max_time = base::TimeDelta::FromSeconds(50); base 138 chrome/browser/chromeos/login/user_image_manager_impl.cc base::HistogramBase* counter = base::Histogram::FactoryTimeGet( base 140 chrome/browser/chromeos/login/user_image_manager_impl.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 159 chrome/browser/chromeos/login/user_image_manager_impl.cc bool SaveImage(const UserImage& user_image, const base::FilePath& image_path) { base 174 chrome/browser/chromeos/login/user_image_manager_impl.cc base::WriteFile(image_path, base 209 chrome/browser/chromeos/login/user_image_manager_impl.cc void LoadImage(base::FilePath image_path, base 232 chrome/browser/chromeos/login/user_image_manager_impl.cc void SetToPath(const base::FilePath& path, base 274 chrome/browser/chromeos/login/user_image_manager_impl.cc base::FilePath image_path_; base 278 chrome/browser/chromeos/login/user_image_manager_impl.cc base::WeakPtrFactory<Job> weak_factory_; base 292 chrome/browser/chromeos/login/user_image_manager_impl.cc void UserImageManagerImpl::Job::LoadImage(base::FilePath image_path, base 316 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(&Job::OnLoadImageDone, base 373 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(&Job::OnLoadImageDone, base 378 chrome/browser/chromeos/login/user_image_manager_impl.cc void UserImageManagerImpl::Job::SetToPath(const base::FilePath& path, base 391 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(&Job::OnLoadImageDone, base 421 chrome/browser/chromeos/login/user_image_manager_impl.cc base::FilePath user_data_dir; base 425 chrome/browser/chromeos/login/user_image_manager_impl.cc base::PostTaskAndReplyWithResult( base 428 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(&SaveImage, user_image_, image_path_), base 429 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(&Job::OnSaveImageDone, weak_factory_.GetWeakPtr())); base 444 chrome/browser/chromeos/login/user_image_manager_impl.cc scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue); base 445 chrome/browser/chromeos/login/user_image_manager_impl.cc entry->Set(kImagePathNodeName, new base::StringValue(image_path_.value())); base 446 chrome/browser/chromeos/login/user_image_manager_impl.cc entry->Set(kImageIndexNodeName, new base::FundamentalValue(image_index_)); base 448 chrome/browser/chromeos/login/user_image_manager_impl.cc entry->Set(kImageURLNodeName, new base::StringValue(image_url_.spec())); base 469 chrome/browser/chromeos/login/user_image_manager_impl.cc base::SequencedWorkerPool* blocking_pool = base 474 chrome/browser/chromeos/login/user_image_manager_impl.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 485 chrome/browser/chromeos/login/user_image_manager_impl.cc const base::DictionaryValue* prefs_images_unsafe = base 487 chrome/browser/chromeos/login/user_image_manager_impl.cc const base::DictionaryValue* prefs_images = base 497 chrome/browser/chromeos/login/user_image_manager_impl.cc const base::DictionaryValue* image_properties = NULL; base 552 chrome/browser/chromeos/login/user_image_manager_impl.cc job_->LoadImage(base::FilePath(image_path), image_index, image_url); base 567 chrome/browser/chromeos/login/user_image_manager_impl.cc const base::DictionaryValue* prefs_images_unsafe = base 569 chrome/browser/chromeos/login/user_image_manager_impl.cc const base::DictionaryValue* image_properties = NULL; base 577 chrome/browser/chromeos/login/user_image_manager_impl.cc job_->SetToPath(base::FilePath(image_path), base 601 chrome/browser/chromeos/login/user_image_manager_impl.cc base::TimeDelta() : base 602 chrome/browser/chromeos/login/user_image_manager_impl.cc base::TimeDelta::FromSeconds(kProfileDataDownloadDelaySec), base 603 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(&UserImageManagerImpl::DownloadProfileData, base 604 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Unretained(this), base 609 chrome/browser/chromeos/login/user_image_manager_impl.cc base::TimeDelta::FromSeconds(kProfileRefreshIntervalSec), base 610 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(&UserImageManagerImpl::DownloadProfileData, base 611 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Unretained(this), base 636 chrome/browser/chromeos/login/user_image_manager_impl.cc void UserImageManagerImpl::SaveUserImageFromFile(const base::FilePath& path) { base 772 chrome/browser/chromeos/login/user_image_manager_impl.cc base::TimeTicks::Now() - profile_image_load_start_time_); base 825 chrome/browser/chromeos/login/user_image_manager_impl.cc base::TimeTicks::Now() - profile_image_load_start_time_); base 832 chrome/browser/chromeos/login/user_image_manager_impl.cc base::TimeDelta::FromSeconds(kProfileDataDownloadRetryIntervalSec), base 833 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(&UserImageManagerImpl::DownloadProfileData, base 834 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Unretained(this), base 850 chrome/browser/chromeos/login/user_image_manager_impl.cc SaveUserDefaultImageIndex(base::RandInt(kFirstDefaultImageIndex, base 891 chrome/browser/chromeos/login/user_image_manager_impl.cc profile_image_load_start_time_ = base::TimeTicks::Now(); base 900 chrome/browser/chromeos/login/user_image_manager_impl.cc const base::DictionaryValue* image_properties; base 909 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(base::IgnoreResult(&base::DeleteFile), base 910 chrome/browser/chromeos/login/user_image_manager_impl.cc base::FilePath(image_path), base 928 chrome/browser/chromeos/login/user_image_manager_impl.cc base::MessageLoopProxy::current()->DeleteSoon(FROM_HERE, job_.release()); base 937 chrome/browser/chromeos/login/user_image_manager_impl.cc const base::DictionaryValue* prefs_images_unsafe = base 939 chrome/browser/chromeos/login/user_image_manager_impl.cc const base::DictionaryValue* image_properties = NULL; base 962 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(base::IgnoreResult(&base::DeleteFile), base 963 chrome/browser/chromeos/login/user_image_manager_impl.cc base::FilePath(image_path), base 965 chrome/browser/chromeos/login/user_image_manager_impl.cc base::Bind(&UserImageManagerImpl::UpdateLocalStateAfterMigration, base 29 chrome/browser/chromeos/login/user_image_manager_impl.h namespace base { base 52 chrome/browser/chromeos/login/user_image_manager_impl.h virtual void SaveUserImageFromFile(const base::FilePath& path) OVERRIDE; base 172 chrome/browser/chromeos/login/user_image_manager_impl.h base::TimeTicks profile_image_load_start_time_; base 197 chrome/browser/chromeos/login/user_image_manager_impl.h base::OneShotTimer<UserImageManagerImpl> profile_download_one_shot_timer_; base 201 chrome/browser/chromeos/login/user_image_manager_impl.h base::RepeatingTimer<UserImageManagerImpl> profile_download_periodic_timer_; base 208 chrome/browser/chromeos/login/user_image_manager_impl.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 216 chrome/browser/chromeos/login/user_image_manager_impl.h base::WeakPtrFactory<UserImageManagerImpl> weak_factory_; base 47 chrome/browser/chromeos/login/user_image_manager_test_util.cc ImageLoader::ImageLoader(const base::FilePath& path) : path_(path) { base 60 chrome/browser/chromeos/login/user_image_manager_test_util.cc image_decoder->Start(base::MessageLoopProxy::current()); base 17 chrome/browser/chromeos/login/user_image_manager_test_util.h namespace base { base 36 chrome/browser/chromeos/login/user_image_manager_test_util.h explicit ImageLoader(const base::FilePath& path); base 47 chrome/browser/chromeos/login/user_image_manager_test_util.h base::FilePath path_; base 48 chrome/browser/chromeos/login/user_image_manager_test_util.h base::RunLoop run_loop_; base 42 chrome/browser/chromeos/login/user_image_sync_observer.cc base::FilePath profile_path = profile_manager->user_data_dir().Append( base 98 chrome/browser/chromeos/login/user_image_sync_observer.cc base::Bind(&UserImageSyncObserver::OnPreferenceChanged, base 99 chrome/browser/chromeos/login/user_image_sync_observer.cc base::Unretained(this))); base 172 chrome/browser/chromeos/login/user_image_sync_observer.cc base::DictionaryValue* dict = update.Get(); base 195 chrome/browser/chromeos/login/user_image_sync_observer.cc const base::DictionaryValue* dict = prefs_->GetDictionary(kUserImageInfo); base 61 chrome/browser/chromeos/login/user_manager.cc UserManager::UserAccountData::UserAccountData(const base::string16& display_name, base 62 chrome/browser/chromeos/login/user_manager.cc const base::string16& given_name, base 63 chrome/browser/chromeos/login/user_manager.h UserAccountData(const base::string16& display_name, base 64 chrome/browser/chromeos/login/user_manager.h const base::string16& given_name, base 67 chrome/browser/chromeos/login/user_manager.h const base::string16& display_name() const { return display_name_; } base 68 chrome/browser/chromeos/login/user_manager.h const base::string16& given_name() const { return given_name_; } base 72 chrome/browser/chromeos/login/user_manager.h const base::string16 display_name_; base 73 chrome/browser/chromeos/login/user_manager.h const base::string16 given_name_; base 247 chrome/browser/chromeos/login/user_manager.h const base::string16& display_name) = 0; base 256 chrome/browser/chromeos/login/user_manager.h virtual base::string16 GetUserDisplayName( base 368 chrome/browser/chromeos/login/user_manager.h virtual base::FilePath GetUserProfileDir(const std::string& user_id) base 131 chrome/browser/chromeos/login/user_manager_impl.cc void ParseUserList(const base::ListValue& users_list, base 167 chrome/browser/chromeos/login/user_manager_impl.cc base::Callback<void(const std::string&)> on_resolve_callback) { base 173 chrome/browser/chromeos/login/user_manager_impl.cc base::Bind(on_resolve_callback, resolved_locale)); base 215 chrome/browser/chromeos/login/user_manager_impl.cc manager_creation_time_(base::TimeTicks::Now()), base 231 chrome/browser/chromeos/login/user_manager_impl.cc base::Bind(&UserManagerImpl::RetrieveTrustedDevicePolicies, base 232 chrome/browser/chromeos/login/user_manager_impl.cc base::Unretained(this))); base 235 chrome/browser/chromeos/login/user_manager_impl.cc base::Bind(&UserManagerImpl::RetrieveTrustedDevicePolicies, base 236 chrome/browser/chromeos/login/user_manager_impl.cc base::Unretained(this))); base 536 chrome/browser/chromeos/login/user_manager_impl.cc base::Bind(&UserManagerImpl::OnRestoreActiveSessions, base 537 chrome/browser/chromeos/login/user_manager_impl.cc base::Unretained(this))); base 591 chrome/browser/chromeos/login/user_manager_impl.cc base::Bind(&UserManagerImpl::RemoveUserInternal, base 592 chrome/browser/chromeos/login/user_manager_impl.cc base::Unretained(this), base 613 chrome/browser/chromeos/login/user_manager_impl.cc user_email, base::Bind(&OnRemoveUserComplete, user_email)); base 631 chrome/browser/chromeos/login/user_manager_impl.cc users_update->Remove(base::StringValue(user_id), NULL); base 743 chrome/browser/chromeos/login/user_manager_impl.cc new base::FundamentalValue(static_cast<int>(oauth_token_status))); base 762 chrome/browser/chromeos/login/user_manager_impl.cc const base::string16& display_name) { base 776 chrome/browser/chromeos/login/user_manager_impl.cc new base::StringValue(display_name)); base 783 chrome/browser/chromeos/login/user_manager_impl.cc base::string16 UserManagerImpl::GetUserDisplayName( base 786 chrome/browser/chromeos/login/user_manager_impl.cc return user ? user->display_name() : base::string16(); base 809 chrome/browser/chromeos/login/user_manager_impl.cc new base::StringValue(display_email)); base 826 chrome/browser/chromeos/login/user_manager_impl.cc base::string16 given_name = account_data.given_name(); base 834 chrome/browser/chromeos/login/user_manager_impl.cc new base::StringValue(given_name)); base 961 chrome/browser/chromeos/login/user_manager_impl.cc base::SysInfo::IsRunningOnChromeOS()) { base 963 chrome/browser/chromeos/login/user_manager_impl.cc base::Bind(&OnGetNSSCertDatabaseForUser)); base 1023 chrome/browser/chromeos/login/user_manager_impl.cc base::AutoLock lk(is_current_user_owner_lock_); base 1030 chrome/browser/chromeos/login/user_manager_impl.cc base::AutoLock lk(is_current_user_owner_lock_); base 1111 chrome/browser/chromeos/login/user_manager_impl.cc return base::SysInfo::IsRunningOnChromeOS() && base 1212 chrome/browser/chromeos/login/user_manager_impl.cc const base::ListValue* prefs_regular_users = base 1214 chrome/browser/chromeos/login/user_manager_impl.cc const base::ListValue* prefs_public_sessions = base 1216 chrome/browser/chromeos/login/user_manager_impl.cc const base::DictionaryValue* prefs_display_names = base 1218 chrome/browser/chromeos/login/user_manager_impl.cc const base::DictionaryValue* prefs_given_names = base 1220 chrome/browser/chromeos/login/user_manager_impl.cc const base::DictionaryValue* prefs_display_emails = base 1251 chrome/browser/chromeos/login/user_manager_impl.cc base::string16 display_name; base 1257 chrome/browser/chromeos/login/user_manager_impl.cc base::string16 given_name; base 1283 chrome/browser/chromeos/login/user_manager_impl.cc base::Bind(&UserManagerImpl::RetrieveTrustedDevicePolicies, base 1284 chrome/browser/chromeos/login/user_manager_impl.cc base::Unretained(this)))) { base 1313 chrome/browser/chromeos/login/user_manager_impl.cc prefs_users_update->Append(new base::StringValue(user_email)); base 1346 chrome/browser/chromeos/login/user_manager_impl.cc const base::ListValue* user_list = local_state->GetList(kRegularUsers); base 1379 chrome/browser/chromeos/login/user_manager_impl.cc prefs_users_update->Insert(0, new base::StringValue(user->email())); base 1393 chrome/browser/chromeos/login/user_manager_impl.cc base::UTF8ToUTF16(active_user_->GetAccountName(true))); base 1441 chrome/browser/chromeos/login/user_manager_impl.cc prefs_users_update->Insert(0, new base::StringValue(user_id)); base 1563 chrome/browser/chromeos/login/user_manager_impl.cc const base::DictionaryValue* prefs_oauth_status = base 1582 chrome/browser/chromeos/login/user_manager_impl.cc const base::DictionaryValue* prefs_force_online = base 1638 chrome/browser/chromeos/login/user_manager_impl.cc prefs_users_update->Append(new base::StringValue(user_email)); base 1780 chrome/browser/chromeos/login/user_manager_impl.cc SaveUserDisplayName(user_id, base::UTF8ToUTF16(display_name)); base 1845 chrome/browser/chromeos/login/user_manager_impl.cc base::FilePath UserManagerImpl::GetUserProfileDir( base 1850 chrome/browser/chromeos/login/user_manager_impl.cc base::FilePath profile_dir; base 1862 chrome/browser/chromeos/login/user_manager_impl.cc profile_dir = base::FilePath(); base 2030 chrome/browser/chromeos/login/user_manager_impl.cc const base::TimeDelta time_to_login = base 2031 chrome/browser/chromeos/login/user_manager_impl.cc base::TimeTicks::Now() - manager_creation_time_; base 2052 chrome/browser/chromeos/login/user_manager_impl.cc base::Bind(ResolveLocale, locale, base 2053 chrome/browser/chromeos/login/user_manager_impl.cc base::Bind(&UserManagerImpl::DoUpdateAccountLocale, base 2054 chrome/browser/chromeos/login/user_manager_impl.cc base::Unretained(this), base 2076 chrome/browser/chromeos/login/user_manager_impl.cc base::debug::SetCrashKeyValue(crash_keys::kNumberOfUsers, base 2077 chrome/browser/chromeos/login/user_manager_impl.cc base::StringPrintf("%" PRIuS, GetLoggedInUsers().size())); base 96 chrome/browser/chromeos/login/user_manager_impl.h const base::string16& display_name) OVERRIDE; base 97 chrome/browser/chromeos/login/user_manager_impl.h virtual base::string16 GetUserDisplayName( base 142 chrome/browser/chromeos/login/user_manager_impl.h virtual base::FilePath GetUserProfileDir( base 177 chrome/browser/chromeos/login/user_manager_impl.h typedef base::hash_map<std::string, base 414 chrome/browser/chromeos/login/user_manager_impl.h mutable base::Lock is_current_user_owner_lock_; base 471 chrome/browser/chromeos/login/user_manager_impl.h base::TimeTicks manager_creation_time_; base 63 chrome/browser/chromeos/login/user_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 97 chrome/browser/chromeos/login/user_manager_unittest.cc base::FundamentalValue base 101 chrome/browser/chromeos/login/user_manager_unittest.cc base::StringValue owner_value(owner); base 104 chrome/browser/chromeos/login/user_manager_unittest.cc base::FundamentalValue(locally_managed_users_enabled)); base 59 chrome/browser/chromeos/login/version_info_updater.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 63 chrome/browser/chromeos/login/version_info_updater.cc base::Bind(&VersionInfoUpdater::OnVersion, base 83 chrome/browser/chromeos/login/version_info_updater.cc base::Closure callback = base 84 chrome/browser/chromeos/login/version_info_updater.cc base::Bind(&VersionInfoUpdater::UpdateEnterpriseInfo, base 85 chrome/browser/chromeos/login/version_info_updater.cc base::Unretained(this)); base 101 chrome/browser/chromeos/login/version_info_updater.cc base::UTF8ToUTF16(version_info.Version()), base 102 chrome/browser/chromeos/login/version_info_updater.cc base::UTF8ToUTF16(version_text_)); base 124 chrome/browser/chromeos/login/version_info_updater.cc base::UTF8ToUTF16(domain_name)); base 70 chrome/browser/chromeos/login/version_info_updater.h base::CancelableTaskTracker tracker_; base 87 chrome/browser/chromeos/login/version_info_updater.h base::WeakPtrFactory<VersionInfoUpdater> weak_pointer_factory_; base 97 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath GetCustomWallpaperDir(const char* sub_dir) { base 98 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath custom_wallpaper_dir; base 107 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath base_path = GetCustomWallpaperDir(sub_dir); base 108 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath to_path = base_path.Append(user_id_hash); base 109 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath from_path = base_path.Append(user_id); base 110 chrome/browser/chromeos/login/wallpaper_manager.cc if (base::PathExists(from_path)) base 111 chrome/browser/chromeos/login/wallpaper_manager.cc return base::Move(from_path, to_path); base 136 chrome/browser/chromeos/login/wallpaper_manager.cc explicit MovableOnDestroyCallback(const base::Closure& callback) base 146 chrome/browser/chromeos/login/wallpaper_manager.cc base::Closure callback_; base 150 chrome/browser/chromeos/login/wallpaper_manager.cc const base::TimeDelta delay, base 155 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::PendingWallpaper::OnWallpaperSet, base 160 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::PendingWallpaper::ProcessRequest, this)); base 168 chrome/browser/chromeos/login/wallpaper_manager.cc SetMode(user_wallpaper, info, base::FilePath(), false); base 173 chrome/browser/chromeos/login/wallpaper_manager.cc SetMode(gfx::ImageSkia(), info, base::FilePath(), false); base 178 chrome/browser/chromeos/login/wallpaper_manager.cc const base::FilePath& wallpaper_path) { base 183 chrome/browser/chromeos/login/wallpaper_manager.cc SetMode(gfx::ImageSkia(), WallpaperInfo(), base::FilePath(), true); base 189 chrome/browser/chromeos/login/wallpaper_manager.cc const base::FilePath& wallpaper_path, base 206 chrome/browser/chromeos/login/wallpaper_manager.cc started_load_at_ = base::Time::Now(); base 217 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::GetCustomWallpaperInternal, base 218 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(manager), base 223 chrome/browser/chromeos/login/wallpaper_manager.cc base::Passed(on_finish_.Pass()))); base 230 chrome/browser/chromeos/login/wallpaper_manager.cc started_load_at_ = base::Time(); base 247 chrome/browser/chromeos/login/wallpaper_manager.cc const base::TimeDelta elapsed = base::Time::Now() - started_load_at_; base 277 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath WallpaperManager::TestApi::current_wallpaper_path() { base 323 chrome/browser/chromeos/login/wallpaper_manager.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 352 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::InitializeRegisteredDeviceWallpaper, base 353 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(this))); base 400 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath WallpaperManager::GetCustomWallpaperPath( base 404 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath custom_wallpaper_path = GetCustomWallpaperDir(sub_dir); base 408 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath WallpaperManager::GetOriginalWallpaperPathForUser( base 411 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath user_data_dir; base 474 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::MoveLoggedInUserCustomWallpaper, base 476 chrome/browser/chromeos/login/wallpaper_manager.cc base::TimeDelta::FromSeconds(kMoveCustomWallpaperDelaySeconds)); base 483 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::CacheUsersWallpapers, base 485 chrome/browser/chromeos/login/wallpaper_manager.cc base::TimeDelta::FromMilliseconds(kCacheWallpaperDelayMs)); base 496 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::CacheUsersWallpapers, base 498 chrome/browser/chromeos/login/wallpaper_manager.cc base::TimeDelta::FromMilliseconds(kCacheWallpaperDelayMs)); base 523 chrome/browser/chromeos/login/wallpaper_manager.cc scoped_refptr<base::RefCountedBytes>* output) const { base 530 chrome/browser/chromeos/login/wallpaper_manager.cc *output = new base::RefCountedBytes(); base 574 chrome/browser/chromeos/login/wallpaper_manager.cc const base::FilePath& path, base 580 chrome/browser/chromeos/login/wallpaper_manager.cc if (base::PathExists(path)) base 581 chrome/browser/chromeos/login/wallpaper_manager.cc base::DeleteFile(path, false); base 584 chrome/browser/chromeos/login/wallpaper_manager.cc scoped_refptr<base::RefCountedBytes> data; base 626 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::SetPolicyControlledWallpaper, base 666 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath wallpaper_path = base 687 chrome/browser/chromeos/login/wallpaper_manager.cc base::Time::Now().LocalMidnight() base 691 chrome/browser/chromeos/login/wallpaper_manager.cc scoped_refptr<base::SequencedTaskRunner> blocking_task_runner = base 694 chrome/browser/chromeos/login/wallpaper_manager.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 697 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::ProcessCustomWallpaper, base 698 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(this), base 702 chrome/browser/chromeos/login/wallpaper_manager.cc base::Passed(&deep_copy), base 705 chrome/browser/chromeos/login/wallpaper_manager.cc std::string relative_path = base::FilePath(user_id_hash).Append(file).value(); base 712 chrome/browser/chromeos/login/wallpaper_manager.cc base::Time::Now().LocalMidnight() base 755 chrome/browser/chromeos/login/wallpaper_manager.cc current_user_wallpaper_info_.date = base::Time::Now().LocalMidnight(); base 773 chrome/browser/chromeos/login/wallpaper_manager.cc base::DictionaryValue* wallpaper_info_dict = new base::DictionaryValue(); base 775 chrome/browser/chromeos/login/wallpaper_manager.cc base::Int64ToString(info.date.ToInternalValue())); base 845 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath wallpaper_path = GetCustomWallpaperDir(sub_dir); base 953 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath wallpaper_dir; base 954 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath wallpaper_path; base 960 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath wallpaper_path = GetCustomWallpaperDir(sub_dir); base 964 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::GetCustomWallpaperInternal, base 965 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(this), base 970 chrome/browser/chromeos/login/wallpaper_manager.cc base::Passed(MovableOnDestroyCallbackHolder()))); base 989 chrome/browser/chromeos/login/wallpaper_manager.cc void WallpaperManager::DeleteAllExcept(const base::FilePath& path) { base 990 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath dir = path.DirName(); base 991 chrome/browser/chromeos/login/wallpaper_manager.cc if (base::DirectoryExists(dir)) { base 992 chrome/browser/chromeos/login/wallpaper_manager.cc base::FileEnumerator files(dir, false, base::FileEnumerator::FILES); base 993 chrome/browser/chromeos/login/wallpaper_manager.cc for (base::FilePath current = files.Next(); !current.empty(); base 996 chrome/browser/chromeos/login/wallpaper_manager.cc base::DeleteFile(current, false); base 1002 chrome/browser/chromeos/login/wallpaper_manager.cc const std::vector<base::FilePath>& file_list) { base 1003 chrome/browser/chromeos/login/wallpaper_manager.cc for (std::vector<base::FilePath>::const_iterator it = file_list.begin(); base 1005 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath path = *it; base 1008 chrome/browser/chromeos/login/wallpaper_manager.cc if (!base::DeleteFile(path, true) && base 1009 chrome/browser/chromeos/login/wallpaper_manager.cc !base::DeleteFile(path.AddExtension(".png"), false)) { base 1017 chrome/browser/chromeos/login/wallpaper_manager.cc std::vector<base::FilePath> file_to_remove; base 1019 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath wallpaper_path = base 1044 chrome/browser/chromeos/login/wallpaper_manager.cc base::WorkerPool::PostTask( base 1046 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::DeleteWallpaperInList, base 1047 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(this), base 1054 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath dir; base 1057 chrome/browser/chromeos/login/wallpaper_manager.cc if (!base::PathExists(dir)) base 1058 chrome/browser/chromeos/login/wallpaper_manager.cc base::CreateDirectory(dir); base 1061 chrome/browser/chromeos/login/wallpaper_manager.cc if (!base::PathExists(dir)) base 1062 chrome/browser/chromeos/login/wallpaper_manager.cc base::CreateDirectory(dir); base 1065 chrome/browser/chromeos/login/wallpaper_manager.cc if (!base::PathExists(dir)) base 1066 chrome/browser/chromeos/login/wallpaper_manager.cc base::CreateDirectory(dir); base 1069 chrome/browser/chromeos/login/wallpaper_manager.cc if (!base::PathExists(dir)) base 1070 chrome/browser/chromeos/login/wallpaper_manager.cc base::CreateDirectory(dir); base 1109 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath wallpaper_dir; base 1110 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath wallpaper_path; base 1119 chrome/browser/chromeos/login/wallpaper_manager.cc file_name = base::FilePath(file_name).InsertBeforeExtension( base 1138 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath user_data_dir; base 1164 chrome/browser/chromeos/login/wallpaper_manager.cc const base::DictionaryValue* user_wallpapers = base 1167 chrome/browser/chromeos/login/wallpaper_manager.cc const base::DictionaryValue* wallpaper_info_dict; base 1173 chrome/browser/chromeos/login/wallpaper_manager.cc info->date = base::Time::Now().LocalMidnight(); base 1184 chrome/browser/chromeos/login/wallpaper_manager.cc base::StringToInt64(date_string, &val))) base 1186 chrome/browser/chromeos/login/wallpaper_manager.cc info->date = base::Time::FromInternalValue(val); base 1206 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::MoveCustomWallpapersSuccess, base 1207 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(this), base 1226 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath(user_id_hash).Append(info.file).value(); base 1238 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::MoveCustomWallpapersOnWorker, base 1239 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(this), base 1247 chrome/browser/chromeos/login/wallpaper_manager.cc const base::FilePath& wallpaper_path, base 1253 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath valid_path = wallpaper_path; base 1254 chrome/browser/chromeos/login/wallpaper_manager.cc if (!base::PathExists(wallpaper_path)) { base 1262 chrome/browser/chromeos/login/wallpaper_manager.cc if (!base::PathExists(valid_path)) { base 1269 chrome/browser/chromeos/login/wallpaper_manager.cc if (!base::PathExists(valid_path)) { base 1274 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::DoSetDefaultWallpaper, base 1275 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(this), base 1277 chrome/browser/chromeos/login/wallpaper_manager.cc base::Passed(on_finish.Pass()))); base 1281 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::StartLoad, base 1282 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(this), base 1287 chrome/browser/chromeos/login/wallpaper_manager.cc base::Passed(on_finish.Pass()))); base 1308 chrome/browser/chromeos/login/wallpaper_manager.cc base::Time::Now().LocalMidnight() base 1339 chrome/browser/chromeos/login/wallpaper_manager.cc SaveCustomWallpaper(user_id_hash, base::FilePath(info.file), info.layout, base 1345 chrome/browser/chromeos/login/wallpaper_manager.cc const base::FilePath& original_path, base 1352 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath small_wallpaper_path = base 1354 chrome/browser/chromeos/login/wallpaper_manager.cc base::FilePath large_wallpaper_path = base 1381 chrome/browser/chromeos/login/wallpaper_manager.cc void WallpaperManager::SaveWallpaperInternal(const base::FilePath& path, base 1384 chrome/browser/chromeos/login/wallpaper_manager.cc int written_bytes = base::WriteFile(path, data, size); base 1391 chrome/browser/chromeos/login/wallpaper_manager.cc const base::FilePath& wallpaper_path, base 1398 chrome/browser/chromeos/login/wallpaper_manager.cc base::Bind(&WallpaperManager::OnWallpaperDecoded, base 1399 chrome/browser/chromeos/login/wallpaper_manager.cc base::Unretained(this), base 1403 chrome/browser/chromeos/login/wallpaper_manager.cc base::Passed(on_finish.Pass()))); base 1406 chrome/browser/chromeos/login/wallpaper_manager.cc void WallpaperManager::SaveLastLoadTime(const base::TimeDelta elapsed) { base 1410 chrome/browser/chromeos/login/wallpaper_manager.cc if (elapsed > base::TimeDelta::FromMicroseconds(0)) { base 1412 chrome/browser/chromeos/login/wallpaper_manager.cc last_load_finished_at_ = base::Time::Now(); base 1416 chrome/browser/chromeos/login/wallpaper_manager.cc base::TimeDelta WallpaperManager::GetWallpaperLoadDelay() const { base 1417 chrome/browser/chromeos/login/wallpaper_manager.cc base::TimeDelta delay; base 1420 chrome/browser/chromeos/login/wallpaper_manager.cc delay = base::TimeDelta::FromMilliseconds(kLoadDefaultDelayMs); base 1424 chrome/browser/chromeos/login/wallpaper_manager.cc base::TimeDelta(), base 1425 chrome/browser/chromeos/login/wallpaper_manager.cc std::plus<base::TimeDelta>()) / base 1429 chrome/browser/chromeos/login/wallpaper_manager.cc if (delay < base::TimeDelta::FromMilliseconds(kLoadMinDelayMs)) base 1430 chrome/browser/chromeos/login/wallpaper_manager.cc delay = base::TimeDelta::FromMilliseconds(kLoadMinDelayMs); base 1431 chrome/browser/chromeos/login/wallpaper_manager.cc else if (delay > base::TimeDelta::FromMilliseconds(kLoadMaxDelayMs)) base 1432 chrome/browser/chromeos/login/wallpaper_manager.cc delay = base::TimeDelta::FromMilliseconds(kLoadMaxDelayMs); base 1436 chrome/browser/chromeos/login/wallpaper_manager.cc const base::TimeDelta interval = base::Time::Now() - last_load_finished_at_; base 1438 chrome/browser/chromeos/login/wallpaper_manager.cc delay = base::TimeDelta::FromMilliseconds(0); base 1439 chrome/browser/chromeos/login/wallpaper_manager.cc else if (interval > base::TimeDelta::FromMilliseconds(0)) base 1451 chrome/browser/chromeos/login/wallpaper_manager.cc : base::TimeDelta::FromMilliseconds(0)), base 31 chrome/browser/chromeos/login/wallpaper_manager.h namespace base { base 43 chrome/browser/chromeos/login/wallpaper_manager.h base::Time date; base 81 chrome/browser/chromeos/login/wallpaper_manager.h base::FilePath current_wallpaper_path(); base 112 chrome/browser/chromeos/login/wallpaper_manager.h class PendingWallpaper : public base::RefCountedThreadSafe<PendingWallpaper> { base 115 chrome/browser/chromeos/login/wallpaper_manager.h PendingWallpaper(const base::TimeDelta delay, const std::string& user_id); base 130 chrome/browser/chromeos/login/wallpaper_manager.h const base::FilePath& wallpaper_path); base 134 chrome/browser/chromeos/login/wallpaper_manager.h friend class base::RefCountedThreadSafe<PendingWallpaper>; base 141 chrome/browser/chromeos/login/wallpaper_manager.h const base::FilePath& wallpaper_path, base 153 chrome/browser/chromeos/login/wallpaper_manager.h base::FilePath wallpaper_path_; base 161 chrome/browser/chromeos/login/wallpaper_manager.h base::OneShotTimer<WallpaperManager::PendingWallpaper> timer; base 164 chrome/browser/chromeos/login/wallpaper_manager.h base::Time started_load_at_; base 174 chrome/browser/chromeos/login/wallpaper_manager.h void set_command_line_for_testing(base::CommandLine* command_line) { base 198 chrome/browser/chromeos/login/wallpaper_manager.h base::FilePath GetCustomWallpaperPath(const char* sub_dir, base 203 chrome/browser/chromeos/login/wallpaper_manager.h base::FilePath GetOriginalWallpaperPathForUser(const std::string& user_id); base 227 chrome/browser/chromeos/login/wallpaper_manager.h scoped_refptr<base::RefCountedBytes>* output) const; base 233 chrome/browser/chromeos/login/wallpaper_manager.h const base::FilePath& path, base 345 chrome/browser/chromeos/login/wallpaper_manager.h void DeleteAllExcept(const base::FilePath& path); base 348 chrome/browser/chromeos/login/wallpaper_manager.h void DeleteWallpaperInList(const std::vector<base::FilePath>& file_list); base 359 chrome/browser/chromeos/login/wallpaper_manager.h base::CommandLine* GetComandLine(); base 393 chrome/browser/chromeos/login/wallpaper_manager.h const base::FilePath& wallpaper_path, base 425 chrome/browser/chromeos/login/wallpaper_manager.h const base::FilePath& path, base 430 chrome/browser/chromeos/login/wallpaper_manager.h void SaveWallpaperInternal(const base::FilePath& path, const char* data, base 446 chrome/browser/chromeos/login/wallpaper_manager.h const base::FilePath& wallpaper_path, base 450 chrome/browser/chromeos/login/wallpaper_manager.h void SaveLastLoadTime(const base::TimeDelta elapsed); base 465 chrome/browser/chromeos/login/wallpaper_manager.h base::TimeDelta GetWallpaperLoadDelay() const; base 471 chrome/browser/chromeos/login/wallpaper_manager.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 474 chrome/browser/chromeos/login/wallpaper_manager.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 477 chrome/browser/chromeos/login/wallpaper_manager.h base::FilePath current_wallpaper_path_; base 486 chrome/browser/chromeos/login/wallpaper_manager.h base::CommandLine* command_line_for_testing_; base 499 chrome/browser/chromeos/login/wallpaper_manager.h base::WeakPtrFactory<WallpaperManager> weak_factory_; base 508 chrome/browser/chromeos/login/wallpaper_manager.h base::Time last_load_finished_at_; base 511 chrome/browser/chromeos/login/wallpaper_manager.h std::deque<base::TimeDelta> last_load_times_; base 93 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 97 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 99 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 100 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 105 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::MessageLoop::current()->Quit(); base 110 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::FilePath GetCustomWallpaperPath(const char* sub_dir, base 113 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::FilePath wallpaper_path = base 117 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc if (!base::DirectoryExists(wallpaper_path.DirName())) base 118 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::CreateDirectory(wallpaper_path.DirName()); base 130 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc void SaveUserWallpaperData(const base::FilePath& wallpaper_path, base 132 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc scoped_refptr<base::RefCountedStaticMemory> image_data( base 135 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc int written = base::WriteFile( base 159 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc std::string id = base::Int64ToString(base::Time::Now().ToInternalValue()); base 160 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::FilePath small_wallpaper_path = GetCustomWallpaperPath( base 164 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::FilePath large_wallpaper_path = GetCustomWallpaperPath( base 176 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc std::string relative_path = base::FilePath(kTestUser1Hash).Append(id).value(); base 182 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::Time::Now().LocalMidnight() base 250 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc std::string id = base::Int64ToString(base::Time::Now().ToInternalValue()); base 251 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::FilePath small_wallpaper_path = GetCustomWallpaperPath( base 258 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc std::string relative_path = base::FilePath(kTestUser1Hash).Append(id).value(); base 264 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::Time::Now().LocalMidnight() base 296 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::Time::Now().LocalMidnight() base 298 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::FilePath user_data_dir; base 373 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::Time::Now().LocalMidnight() base 375 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::FilePath user_data_dir; base 464 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc std::string id = base::Int64ToString(base::Time::Now().ToInternalValue()); base 466 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::FilePath small_wallpaper_path = GetCustomWallpaperPath( base 470 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::FilePath large_wallpaper_path = GetCustomWallpaperPath( base 482 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc std::string relative_path = base::FilePath(kTestUser1Hash).Append(id).value(); base 488 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc base::Time::Now().LocalMidnight() base 149 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc base::FilePath user_keys_dir; base 153 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc const base::FilePath user_key_file = base 159 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc EXPECT_TRUE(base::CreateDirectory(user_key_file.DirName())); base 160 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc EXPECT_EQ(base::WriteFile( base 217 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc run_loop_.reset(new base::RunLoop); base 224 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc if (!base::ReadFileToString(test_data_dir_.Append(relative_path), base 229 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc base::JSONWriter::Write(policy::test::ConstructExternalDataReference( base 267 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc base::FilePath test_data_dir_; base 268 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc scoped_ptr<base::RunLoop> run_loop_; base 291 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 86 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 109 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc base::FilePath(kTestUser1Hash).Append(FILE_PATH_LITERAL("DUMMY")).value(); base 115 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc base::Time::Now().LocalMidnight() base 138 chrome/browser/chromeos/login/webui_login_display.cc const base::Closure& click_callback) { base 425 chrome/browser/chromeos/login/webui_login_display.cc base::TimeDelta::FromSeconds(kPasswordClearTimeoutSec), this, base 47 chrome/browser/chromeos/login/webui_login_display.h const base::Closure& click_callback) OVERRIDE; base 120 chrome/browser/chromeos/login/webui_login_display.h base::OneShotTimer<WebUILoginDisplay> password_clear_timer_; base 237 chrome/browser/chromeos/login/webui_login_view.cc base::StringValue accel_name(entry->second); base 421 chrome/browser/chromeos/login/webui_login_view.cc const base::string16& frame_unique_name, base 425 chrome/browser/chromeos/login/webui_login_view.cc const base::string16& error_description, base 427 chrome/browser/chromeos/login/webui_login_view.cc if (frame_unique_name != base::UTF8ToUTF16("gaia-frame")) base 431 chrome/browser/chromeos/login/webui_login_view.cc base::FundamentalValue(-error_code), base 432 chrome/browser/chromeos/login/webui_login_view.cc base::StringValue(validated_url.spec())); base 146 chrome/browser/chromeos/login/webui_login_view.h const base::string16& frame_unique_name, base 150 chrome/browser/chromeos/login/webui_login_view.h const base::string16& error_description, base 63 chrome/browser/chromeos/login/webui_screen_locker.cc lock_time_ = base::TimeTicks::Now(); base 89 chrome/browser/chromeos/login/webui_screen_locker.cc base::TimeTicks::Now() - lock_time_); base 110 chrome/browser/chromeos/login/webui_screen_locker.cc const base::Closure& click_callback) { base 196 chrome/browser/chromeos/login/webui_screen_locker.cc base::TimeTicks::Now() - lock_time_); base 232 chrome/browser/chromeos/login/webui_screen_locker.cc base::string16 WebUIScreenLocker::GetConnectedNetworkName() { base 343 chrome/browser/chromeos/login/webui_screen_locker.cc const base::TimeTicks& time) { base 347 chrome/browser/chromeos/login/webui_screen_locker.cc base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr())); base 350 chrome/browser/chromeos/login/webui_screen_locker.cc void WebUIScreenLocker::SystemResumed(const base::TimeDelta& sleep_duration) { base 354 chrome/browser/chromeos/login/webui_screen_locker.cc base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr())); base 357 chrome/browser/chromeos/login/webui_screen_locker.cc void WebUIScreenLocker::RenderProcessGone(base::TerminationStatus status) { base 359 chrome/browser/chromeos/login/webui_screen_locker.cc status != base::TERMINATION_STATUS_NORMAL_TERMINATION) { base 63 chrome/browser/chromeos/login/webui_screen_locker.h const base::Closure& click_callback) OVERRIDE; base 84 chrome/browser/chromeos/login/webui_screen_locker.h virtual base::string16 GetConnectedNetworkName() OVERRIDE; base 121 chrome/browser/chromeos/login/webui_screen_locker.h virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE; base 123 chrome/browser/chromeos/login/webui_screen_locker.h const base::TimeTicks& time) OVERRIDE; base 126 chrome/browser/chromeos/login/webui_screen_locker.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 152 chrome/browser/chromeos/login/webui_screen_locker.h base::TimeTicks lock_time_; base 156 chrome/browser/chromeos/login/webui_screen_locker.h base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; base 154 chrome/browser/chromeos/login/wizard_controller.cc base::Bind(&WizardController::OnAccessibilityStatusChanged, base 155 chrome/browser/chromeos/login/wizard_controller.cc base::Unretained(this))); base 169 chrome/browser/chromeos/login/wizard_controller.cc scoped_ptr<base::DictionaryValue> screen_parameters) { base 199 chrome/browser/chromeos/login/wizard_controller.cc base::Bind(&WizardController::OnLocalStateInitialized, base 314 chrome/browser/chromeos/login/wizard_controller.cc base::TimeDelta delta = base::Time::Now() - time_eula_accepted_; base 504 chrome/browser/chromeos/login/wizard_controller.cc time_eula_accepted_ = base::Time::Now(); base 513 chrome/browser/chromeos/login/wizard_controller.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 562 chrome/browser/chromeos/login/wizard_controller.cc base::Bind(&chromeos::LoginUtils::DoBrowserLaunch, base 563 chrome/browser/chromeos/login/wizard_controller.cc base::Unretained(chromeos::LoginUtils::Get()), base 647 chrome/browser/chromeos/login/wizard_controller.cc base::TimeDelta::FromSeconds(kResolveTimeZoneTimeoutSeconds)); base 652 chrome/browser/chromeos/login/wizard_controller.cc base::Bind(&WizardController::StartTimezoneResolve, base 654 chrome/browser/chromeos/login/wizard_controller.cc base::TimeDelta::FromMilliseconds(kDefaultNetworkRetryDelayMS)); base 705 chrome/browser/chromeos/login/wizard_controller.cc base::TimeDelta::FromMilliseconds(kShowDelayMs), base 942 chrome/browser/chromeos/login/wizard_controller.cc const base::TimeDelta elapsed) { base 945 chrome/browser/chromeos/login/wizard_controller.cc const base::TimeDelta timeout = base 946 chrome/browser/chromeos/login/wizard_controller.cc base::TimeDelta::FromSeconds(kResolveTimeZoneTimeoutSeconds); base 968 chrome/browser/chromeos/login/wizard_controller.cc base::Bind(&WizardController::OnTimezoneResolved, base 969 chrome/browser/chromeos/login/wizard_controller.cc base::Unretained(self))); base 1007 chrome/browser/chromeos/login/wizard_controller.cc base::UTF8ToUTF16(timezone->timeZoneId)); base 28 chrome/browser/chromeos/login/wizard_controller.h namespace base { base 102 chrome/browser/chromeos/login/wizard_controller.h scoped_ptr<base::DictionaryValue> screen_parameters); base 166 chrome/browser/chromeos/login/wizard_controller.h base::TimeDelta elapsed); base 335 chrome/browser/chromeos/login/wizard_controller.h scoped_ptr<base::DictionaryValue> screen_parameters_; base 337 chrome/browser/chromeos/login/wizard_controller.h base::OneShotTimer<WizardController> smooth_show_timer_; base 351 chrome/browser/chromeos/login/wizard_controller.h base::Time time_eula_accepted_; base 372 chrome/browser/chromeos/login/wizard_controller.h base::WeakPtrFactory<WizardController> weak_factory_; base 116 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::Bind(&OnLocaleSwitched, base::Unretained(&data)))); base 120 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::RunLoop().RunUntilIdle(); base 122 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::RunLoop().RunUntilIdle(); base 142 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::RunLoop().RunUntilIdle(); base 147 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::RunLoop* loop, base 154 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::RunLoop loop; base 160 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::Bind(&QuitLoopOnAutoEnrollmentProgress, state, &loop))); base 220 chrome/browser/chromeos/login/wizard_controller_browsertest.cc EXPECT_FALSE(base::i18n::IsRTL()); base 222 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::UTF16ToWide(l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_TITLE)); base 227 chrome/browser/chromeos/login/wizard_controller_browsertest.cc EXPECT_FALSE(base::i18n::IsRTL()); base 229 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::UTF16ToWide(l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_TITLE)); base 236 chrome/browser/chromeos/login/wizard_controller_browsertest.cc EXPECT_TRUE(base::i18n::IsRTL()); base 238 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::UTF16ToWide(l10n_util::GetStringUTF16(IDS_NETWORK_SELECTION_TITLE)); base 469 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 480 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 599 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::DictionaryValue device_state; base 640 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::PrefServiceFactory factory; base 674 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::RunLoop run_loop; base 731 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::FilePath()) { base 779 chrome/browser/chromeos/login/wizard_controller_browsertest.cc base::FilePath test_data_dir; base 46 chrome/browser/chromeos/login/wizard_in_process_browser_test.cc base::MessageLoopForUI::current()->DeleteSoon(FROM_HERE, host_); base 48 chrome/browser/chromeos/login/wizard_in_process_browser_test.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 39 chrome/browser/chromeos/login/wizard_in_process_browser_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 48 chrome/browser/chromeos/memory/low_memory_observer.cc : public base::RefCountedThreadSafe<LowMemoryObserverImpl> { base 76 chrome/browser/chromeos/memory/low_memory_observer.cc class FileWatcherDelegate : public base::MessageLoopForIO::Watcher { base 87 chrome/browser/chromeos/memory/low_memory_observer.cc base::Callback<void(void)> callback = base::Bind(&DiscardTab); base 108 chrome/browser/chromeos/memory/low_memory_observer.cc scoped_ptr<base::MessageLoopForIO::FileDescriptorWatcher> watcher_; base 111 chrome/browser/chromeos/memory/low_memory_observer.cc base::OneShotTimer<LowMemoryObserverImpl> timer_; base 121 chrome/browser/chromeos/memory/low_memory_observer.cc DCHECK(base::MessageLoopForIO::current()); base 126 chrome/browser/chromeos/memory/low_memory_observer.cc if (file_descriptor_ < 0 && base::SysInfo::IsRunningOnChromeOS()) { base 130 chrome/browser/chromeos/memory/low_memory_observer.cc watcher_.reset(new base::MessageLoopForIO::FileDescriptorWatcher); base 147 chrome/browser/chromeos/memory/low_memory_observer.cc base::TimeDelta::FromMilliseconds(kLowMemoryCheckTimeoutMs), base 155 chrome/browser/chromeos/memory/low_memory_observer.cc DCHECK(base::MessageLoopForIO::current()); base 158 chrome/browser/chromeos/memory/low_memory_observer.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 161 chrome/browser/chromeos/memory/low_memory_observer.cc base::MessageLoopForIO::WATCH_READ, base 179 chrome/browser/chromeos/memory/low_memory_observer.cc base::Bind(&LowMemoryObserverImpl::StartObservingOnFileThread, base 187 chrome/browser/chromeos/memory/low_memory_observer.cc base::Bind(&LowMemoryObserverImpl::StopObservingOnFileThread, base 51 chrome/browser/chromeos/memory/oom_priority_manager.cc using base::TimeDelta; base 52 chrome/browser/chromeos/memory/oom_priority_manager.cc using base::TimeTicks; base 97 chrome/browser/chromeos/memory/oom_priority_manager.cc base::HistogramBase* counter = base::LinearHistogram::FactoryGet( base 102 chrome/browser/chromeos/memory/oom_priority_manager.cc base::Histogram::kUmaTargetedHistogramFlag); base 137 chrome/browser/chromeos/memory/oom_priority_manager.cc base::SystemMemoryInfoKB memory; base 138 chrome/browser/chromeos/memory/oom_priority_manager.cc if (base::GetSystemMemoryInfo(&memory) && memory.gem_size != -1) { base 140 chrome/browser/chromeos/memory/oom_priority_manager.cc log_string += base::UTF16ToASCII(ui::FormatBytes(memory.gem_size)); base 219 chrome/browser/chromeos/memory/oom_priority_manager.cc std::vector<base::string16> OomPriorityManager::GetTabTitles() { base 221 chrome/browser/chromeos/memory/oom_priority_manager.cc base::AutoLock pid_to_oom_score_autolock(pid_to_oom_score_lock_); base 222 chrome/browser/chromeos/memory/oom_priority_manager.cc std::vector<base::string16> titles; base 226 chrome/browser/chromeos/memory/oom_priority_manager.cc base::string16 str; base 229 chrome/browser/chromeos/memory/oom_priority_manager.cc str += base::IntToString16(score); base 230 chrome/browser/chromeos/memory/oom_priority_manager.cc str += base::ASCIIToUTF16(" - "); base 232 chrome/browser/chromeos/memory/oom_priority_manager.cc str += base::ASCIIToUTF16(it->is_app ? " app" : ""); base 233 chrome/browser/chromeos/memory/oom_priority_manager.cc str += base::ASCIIToUTF16(it->is_reloadable_ui ? " reloadable_ui" : ""); base 234 chrome/browser/chromeos/memory/oom_priority_manager.cc str += base::ASCIIToUTF16(it->is_playing_audio ? " playing_audio" : ""); base 235 chrome/browser/chromeos/memory/oom_priority_manager.cc str += base::ASCIIToUTF16(it->is_pinned ? " pinned" : ""); base 236 chrome/browser/chromeos/memory/oom_priority_manager.cc str += base::ASCIIToUTF16(it->is_discarded ? " discarded" : ""); base 353 chrome/browser/chromeos/memory/oom_priority_manager.cc base::SystemMemoryInfoKB memory; base 354 chrome/browser/chromeos/memory/oom_priority_manager.cc if (base::GetSystemMemoryInfo(&memory)) { base 458 chrome/browser/chromeos/memory/oom_priority_manager.cc base::AutoLock pid_to_oom_score_autolock(pid_to_oom_score_lock_); base 467 chrome/browser/chromeos/memory/oom_priority_manager.cc base::Bind(&OomPriorityManager::AdjustFocusedTabScoreOnFileThread, base 468 chrome/browser/chromeos/memory/oom_priority_manager.cc base::Unretained(this))); base 474 chrome/browser/chromeos/memory/oom_priority_manager.cc base::ProcessHandle handle = 0; base 475 chrome/browser/chromeos/memory/oom_priority_manager.cc base::AutoLock pid_to_oom_score_autolock(pid_to_oom_score_lock_); base 552 chrome/browser/chromeos/memory/oom_priority_manager.cc base::Bind(&OomPriorityManager::AdjustOomPrioritiesOnFileThread, base 553 chrome/browser/chromeos/memory/oom_priority_manager.cc base::Unretained(this), stats_list)); base 598 chrome/browser/chromeos/memory/oom_priority_manager.cc std::vector<base::ProcessHandle> OomPriorityManager::GetProcessHandles( base 600 chrome/browser/chromeos/memory/oom_priority_manager.cc std::vector<base::ProcessHandle> process_handles; base 601 chrome/browser/chromeos/memory/oom_priority_manager.cc std::set<base::ProcessHandle> already_seen; base 623 chrome/browser/chromeos/memory/oom_priority_manager.cc base::AutoLock pid_to_oom_score_autolock(pid_to_oom_score_lock_); base 628 chrome/browser/chromeos/memory/oom_priority_manager.cc std::vector<base::ProcessHandle> process_handles = base 646 chrome/browser/chromeos/memory/oom_priority_manager.cc for (std::vector<base::ProcessHandle>::iterator iterator = base 53 chrome/browser/chromeos/memory/oom_priority_manager.h std::vector<base::string16> GetTabTitles(); base 80 chrome/browser/chromeos/memory/oom_priority_manager.h base::TimeTicks last_active; base 81 chrome/browser/chromeos/memory/oom_priority_manager.h base::ProcessHandle renderer_handle; base 82 chrome/browser/chromeos/memory/oom_priority_manager.h base::string16 title; base 117 chrome/browser/chromeos/memory/oom_priority_manager.h static std::vector<base::ProcessHandle> GetProcessHandles( base 135 chrome/browser/chromeos/memory/oom_priority_manager.h base::RepeatingTimer<OomPriorityManager> timer_; base 136 chrome/browser/chromeos/memory/oom_priority_manager.h base::OneShotTimer<OomPriorityManager> focus_tab_score_adjust_timer_; base 137 chrome/browser/chromeos/memory/oom_priority_manager.h base::RepeatingTimer<OomPriorityManager> recent_tab_discard_timer_; base 141 chrome/browser/chromeos/memory/oom_priority_manager.h base::Lock pid_to_oom_score_lock_; base 143 chrome/browser/chromeos/memory/oom_priority_manager.h typedef base::hash_map<base::ProcessHandle, int> ProcessScoreMap; base 145 chrome/browser/chromeos/memory/oom_priority_manager.h base::ProcessHandle focused_tab_pid_; base 152 chrome/browser/chromeos/memory/oom_priority_manager.h base::TimeTicks start_time_; base 156 chrome/browser/chromeos/memory/oom_priority_manager.h base::TimeTicks last_discard_time_; base 160 chrome/browser/chromeos/memory/oom_priority_manager.h base::TimeTicks last_adjust_time_; base 38 chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc const base::TimeTicks now = base::TimeTicks::Now(); base 65 chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc stats.last_active = now - base::TimeDelta::FromSeconds(10); base 72 chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc stats.last_active = now - base::TimeDelta::FromMinutes(15); base 79 chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc stats.last_active = now - base::TimeDelta::FromDays(365); base 87 chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc stats.last_active = now - base::TimeDelta::FromDays(365); base 147 chrome/browser/chromeos/memory/oom_priority_manager_unittest.cc std::vector<base::ProcessHandle> handles; base 91 chrome/browser/chromeos/mobile/mobile_activator.cc base::AutoLock create(config_lock_); base 101 chrome/browser/chromeos/mobile/mobile_activator.cc base::FilePath config_path(kCellularConfigPath); base 102 chrome/browser/chromeos/mobile/mobile_activator.cc if (!base::PathExists(config_path)) base 115 chrome/browser/chromeos/mobile/mobile_activator.cc base::AutoLock create(config_lock_); base 120 chrome/browser/chromeos/mobile/mobile_activator.cc bool CellularConfigDocument::LoadFromFile(const base::FilePath& config_path) { base 122 chrome/browser/chromeos/mobile/mobile_activator.cc if (!base::ReadFileToString(config_path, &config)) base 125 chrome/browser/chromeos/mobile/mobile_activator.cc scoped_ptr<base::Value> root( base 126 chrome/browser/chromeos/mobile/mobile_activator.cc base::JSONReader::Read(config, base::JSON_ALLOW_TRAILING_COMMAS)); base 128 chrome/browser/chromeos/mobile/mobile_activator.cc if (!root.get() || root->GetType() != base::Value::TYPE_DICTIONARY) { base 133 chrome/browser/chromeos/mobile/mobile_activator.cc base::DictionaryValue* root_dict = base 134 chrome/browser/chromeos/mobile/mobile_activator.cc static_cast<base::DictionaryValue*>(root.get()); base 140 chrome/browser/chromeos/mobile/mobile_activator.cc base::DictionaryValue* errors = NULL; base 143 chrome/browser/chromeos/mobile/mobile_activator.cc for (base::DictionaryValue::Iterator it(*errors); base 269 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&CellularConfigDocument::LoadCellularConfigFile, base 271 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&MobileActivator::ContinueActivation, AsWeakPtr())); base 277 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&MobileActivator::GetPropertiesAndContinueActivation, base 279 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&MobileActivator::GetPropertiesFailure, base 285 chrome/browser/chromeos/mobile/mobile_activator.cc const base::DictionaryValue& properties) { base 291 chrome/browser/chromeos/mobile/mobile_activator.cc const base::DictionaryValue* payment_dict; base 309 chrome/browser/chromeos/mobile/mobile_activator.cc base::DictionaryValue auto_connect_property; base 314 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&base::DoNothing), base 321 chrome/browser/chromeos/mobile/mobile_activator.cc scoped_ptr<base::DictionaryValue> error_data) { base 328 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&MobileActivator::HandleSetTransactionStatus, base 343 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&base::DoNothing), base 355 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&MobileActivator::HandlePortalLoaded, base 399 chrome/browser/chromeos/mobile/mobile_activator.cc base::TimeDelta::FromMilliseconds(kOTASPRetryDelay), base 515 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&base::DoNothing), base 521 chrome/browser/chromeos/mobile/mobile_activator.cc base::TimeDelta::FromMilliseconds(kReconnectDelayMS), base 527 chrome/browser/chromeos/mobile/mobile_activator.cc base::TimeDelta::FromMilliseconds(kMaxReconnectTime), base 549 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&base::DoNothing), base 848 chrome/browser/chromeos/mobile/mobile_activator.cc scoped_ptr<base::DictionaryValue> error_data) { base 868 chrome/browser/chromeos/mobile/mobile_activator.cc const base::Closure& success_callback, base 928 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&MobileActivator::RetryOTASP, AsWeakPtr()), base 929 chrome/browser/chromeos/mobile/mobile_activator.cc base::TimeDelta::FromMilliseconds(kOTASPRetryDelay)); base 939 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&MobileActivator::HandleActivationFailure, AsWeakPtr(), base 944 chrome/browser/chromeos/mobile/mobile_activator.cc base::Bind(&MobileActivator::StartOTASPTimer, AsWeakPtr()), base 1081 chrome/browser/chromeos/mobile/mobile_activator.cc cellular_plan_payment_time_ = base::Time::Now(); base 1086 chrome/browser/chromeos/mobile/mobile_activator.cc return (base::Time::Now() - base 21 chrome/browser/chromeos/mobile/mobile_activator.h namespace base { base 32 chrome/browser/chromeos/mobile/mobile_activator.h : public base::RefCountedThreadSafe<CellularConfigDocument> { base 42 chrome/browser/chromeos/mobile/mobile_activator.h friend class base::RefCountedThreadSafe<CellularConfigDocument>; base 48 chrome/browser/chromeos/mobile/mobile_activator.h bool LoadFromFile(const base::FilePath& config_path); base 52 chrome/browser/chromeos/mobile/mobile_activator.h base::Lock config_lock_; base 59 chrome/browser/chromeos/mobile/mobile_activator.h : public base::SupportsWeakPtr<MobileActivator>, base 152 chrome/browser/chromeos/mobile/mobile_activator.h const base::DictionaryValue& properties); base 154 chrome/browser/chromeos/mobile/mobile_activator.h scoped_ptr<base::DictionaryValue> error_data); base 210 chrome/browser/chromeos/mobile/mobile_activator.h scoped_ptr<base::DictionaryValue> error_data); base 217 chrome/browser/chromeos/mobile/mobile_activator.h const base::Closure& success_callback, base 284 chrome/browser/chromeos/mobile/mobile_activator.h base::RepeatingTimer<MobileActivator> state_duration_timer_; base 289 chrome/browser/chromeos/mobile/mobile_activator.h base::RepeatingTimer<MobileActivator> continue_reconnect_timer_; base 291 chrome/browser/chromeos/mobile/mobile_activator.h base::OneShotTimer<MobileActivator> reconnect_timeout_timer_; base 293 chrome/browser/chromeos/mobile/mobile_activator.h base::Time cellular_plan_payment_time_; base 296 chrome/browser/chromeos/mobile/mobile_activator.h base::WeakPtrFactory<MobileActivator> weak_ptr_factory_; base 54 chrome/browser/chromeos/mobile/mobile_activator_unittest.cc const base::Closure&, base 107 chrome/browser/chromeos/mobile/mobile_activator_unittest.cc base::MessageLoop message_loop_; base 193 chrome/browser/chromeos/mobile/mobile_activator_unittest.cc const base::Closure& success_callback, base 201 chrome/browser/chromeos/mobile/mobile_activator_unittest.cc const base::Closure& success_callback, base 203 chrome/browser/chromeos/mobile/mobile_activator_unittest.cc scoped_ptr<base::DictionaryValue> value; base 66 chrome/browser/chromeos/mobile_config.cc MobileConfig::CarrierDeal::CarrierDeal(const base::DictionaryValue* deal_dict) base 72 chrome/browser/chromeos/mobile_config.cc const base::ListValue* locale_list = NULL; base 85 chrome/browser/chromeos/mobile_config.cc if (!base::Time::FromString(date_string.c_str(), &expire_date_)) base 98 chrome/browser/chromeos/mobile_config.cc const base::DictionaryValue* locale_dict = NULL; base 112 chrome/browser/chromeos/mobile_config.cc MobileConfig::Carrier::Carrier(const base::DictionaryValue* carrier_dict, base 139 chrome/browser/chromeos/mobile_config.cc deal->expire_date() <= base::Time::Now()) { base 149 chrome/browser/chromeos/mobile_config.cc const base::DictionaryValue* carrier_dict, base 161 chrome/browser/chromeos/mobile_config.cc const base::ListValue* id_list = NULL; base 164 chrome/browser/chromeos/mobile_config.cc const base::DictionaryValue* id_dict = NULL; base 174 chrome/browser/chromeos/mobile_config.cc const base::ListValue* deals_list = NULL; base 177 chrome/browser/chromeos/mobile_config.cc const base::DictionaryValue* deal_dict = NULL; base 200 chrome/browser/chromeos/mobile_config.cc MobileConfig::LocaleConfig::LocaleConfig(base::DictionaryValue* locale_dict) { base 208 chrome/browser/chromeos/mobile_config.cc base::DictionaryValue* locale_dict) { base 257 chrome/browser/chromeos/mobile_config.cc base::DictionaryValue* carriers = NULL; base 259 chrome/browser/chromeos/mobile_config.cc for (base::DictionaryValue::Iterator iter(*carriers); !iter.IsAtEnd(); base 261 chrome/browser/chromeos/mobile_config.cc const base::DictionaryValue* carrier_dict = NULL; base 288 chrome/browser/chromeos/mobile_config.cc base::DictionaryValue* initial_locales = NULL; base 291 chrome/browser/chromeos/mobile_config.cc base::DictionaryValue* locale_config_dict = NULL; base 323 chrome/browser/chromeos/mobile_config.cc base::Bind(&MobileConfig::ReadConfigInBackground, base 324 chrome/browser/chromeos/mobile_config.cc base::Unretained(this), // this class is a singleton. base 325 chrome/browser/chromeos/mobile_config.cc base::FilePath(kGlobalCarrierConfigPath), base 326 chrome/browser/chromeos/mobile_config.cc base::FilePath(kLocalCarrierConfigPath))); base 334 chrome/browser/chromeos/mobile_config.cc scoped_ptr<base::DictionaryValue> global_config_root; base 356 chrome/browser/chromeos/mobile_config.cc const base::FilePath& global_config_file, base 357 chrome/browser/chromeos/mobile_config.cc const base::FilePath& local_config_file) { base 361 chrome/browser/chromeos/mobile_config.cc if (!base::ReadFileToString(global_config_file, &global_config)) { base 365 chrome/browser/chromeos/mobile_config.cc if (!base::ReadFileToString(local_config_file, &local_config)) { base 370 chrome/browser/chromeos/mobile_config.cc base::Bind(&MobileConfig::ProcessConfig, base 371 chrome/browser/chromeos/mobile_config.cc base::Unretained(this), // singleton. base 18 chrome/browser/chromeos/mobile_config.h namespace base { base 42 chrome/browser/chromeos/mobile_config.h explicit CarrierDeal(const base::DictionaryValue* deal_dict); base 55 chrome/browser/chromeos/mobile_config.h base::Time expire_date() const { return expire_date_; } base 62 chrome/browser/chromeos/mobile_config.h base::Time expire_date_; base 63 chrome/browser/chromeos/mobile_config.h const base::DictionaryValue* localized_strings_; base 71 chrome/browser/chromeos/mobile_config.h Carrier(const base::DictionaryValue* carrier_dict, base 88 chrome/browser/chromeos/mobile_config.h void InitFromDictionary(const base::DictionaryValue* carrier_dict, base 120 chrome/browser/chromeos/mobile_config.h explicit LocaleConfig(base::DictionaryValue* locale_dict); base 127 chrome/browser/chromeos/mobile_config.h void InitFromDictionary(base::DictionaryValue* locale_dict); base 182 chrome/browser/chromeos/mobile_config.h void ReadConfigInBackground(const base::FilePath& global_config_file, base 183 chrome/browser/chromeos/mobile_config.h const base::FilePath& local_config_file); base 199 chrome/browser/chromeos/mobile_config.h scoped_ptr<base::DictionaryValue> local_config_root_; base 149 chrome/browser/chromeos/mobile_config_unittest.cc base::Time reference_time; base 150 chrome/browser/chromeos/mobile_config_unittest.cc base::Time::FromString("31/12/2099 0:00", &reference_time); base 234 chrome/browser/chromeos/mobile_config_unittest.cc base::Time reference_time; base 235 chrome/browser/chromeos/mobile_config_unittest.cc base::Time::FromString("31/12/2099 0:00", &reference_time); base 35 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); base 40 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); base 18 chrome/browser/chromeos/net/delay_network_call.cc void chromeos::DelayNetworkCall(const base::Closure& callback, base 19 chrome/browser/chromeos/net/delay_network_call.cc base::TimeDelta retry) { base 34 chrome/browser/chromeos/net/delay_network_call.cc base::Bind(&chromeos::DelayNetworkCall, callback, retry), base 10 chrome/browser/chromeos/net/delay_network_call.h namespace base { base 27 chrome/browser/chromeos/net/delay_network_call.h void DelayNetworkCall(const base::Closure& callback, base::TimeDelta retry); base 42 chrome/browser/chromeos/net/network_portal_detector.h base::TimeTicks time; base 57 chrome/browser/chromeos/net/network_portal_detector_impl.cc void RecordDetectionDuration(const base::TimeDelta& duration) { base 108 chrome/browser/chromeos/net/network_portal_detector_impl.cc void RecordPortalToOnlineTransition(const base::TimeDelta& duration) { base 293 chrome/browser/chromeos/net/network_portal_detector_impl.cc ScheduleAttempt(base::TimeDelta()); base 300 chrome/browser/chromeos/net/network_portal_detector_impl.cc base::TimeTicks NetworkPortalDetectorImpl::AttemptStartTime() { base 304 chrome/browser/chromeos/net/network_portal_detector_impl.cc base::TimeTicks NetworkPortalDetectorImpl::GetCurrentTimeTicks() { base 306 chrome/browser/chromeos/net/network_portal_detector_impl.cc return base::TimeTicks::Now(); base 327 chrome/browser/chromeos/net/network_portal_detector_impl.cc ScheduleAttempt(base::TimeDelta()); base 342 chrome/browser/chromeos/net/network_portal_detector_impl.cc void NetworkPortalDetectorImpl::ScheduleAttempt(const base::TimeDelta& delay) { base 353 chrome/browser/chromeos/net/network_portal_detector_impl.cc attempt_task_.Reset(base::Bind(&NetworkPortalDetectorImpl::StartAttempt, base 355 chrome/browser/chromeos/net/network_portal_detector_impl.cc base::MessageLoop::current()->PostDelayedTask( base 367 chrome/browser/chromeos/net/network_portal_detector_impl.cc base::Bind(&NetworkPortalDetectorImpl::OnAttemptCompleted, base 370 chrome/browser/chromeos/net/network_portal_detector_impl.cc base::Bind(&NetworkPortalDetectorImpl::OnAttemptTimeout, base 373 chrome/browser/chromeos/net/network_portal_detector_impl.cc base::MessageLoop::current()->PostDelayedTask( base 459 chrome/browser/chromeos/net/network_portal_detector_impl.cc ScheduleAttempt(base::TimeDelta()); base 474 chrome/browser/chromeos/net/network_portal_detector_impl.cc ScheduleAttempt(base::TimeDelta::FromSeconds(kProxyChangeDelaySec)); base 43 chrome/browser/chromeos/net/network_portal_detector_impl.h public base::NonThreadSafe, base 81 chrome/browser/chromeos/net/network_portal_detector_impl.h virtual base::TimeTicks AttemptStartTime() OVERRIDE; base 82 chrome/browser/chromeos/net/network_portal_detector_impl.h virtual base::TimeTicks GetCurrentTimeTicks() OVERRIDE; base 93 chrome/browser/chromeos/net/network_portal_detector_impl.h typedef base::hash_map<NetworkId, CaptivePortalState> CaptivePortalStateMap; base 116 chrome/browser/chromeos/net/network_portal_detector_impl.h void ScheduleAttempt(const base::TimeDelta& delay); base 171 chrome/browser/chromeos/net/network_portal_detector_impl.h const base::TimeDelta& next_attempt_delay_for_testing() const { base 185 chrome/browser/chromeos/net/network_portal_detector_impl.h void set_time_ticks_for_testing(const base::TimeTicks& time_ticks) { base 190 chrome/browser/chromeos/net/network_portal_detector_impl.h void advance_time_ticks_for_testing(const base::TimeDelta& delta) { base 210 chrome/browser/chromeos/net/network_portal_detector_impl.h base::CancelableClosure attempt_task_; base 211 chrome/browser/chromeos/net/network_portal_detector_impl.h base::CancelableClosure attempt_timeout_; base 222 chrome/browser/chromeos/net/network_portal_detector_impl.h base::WeakPtrFactory<NetworkPortalDetectorImpl> weak_factory_; base 225 chrome/browser/chromeos/net/network_portal_detector_impl.h base::TimeTicks detection_start_time_; base 228 chrome/browser/chromeos/net/network_portal_detector_impl.h base::TimeTicks attempt_start_time_; base 234 chrome/browser/chromeos/net/network_portal_detector_impl.h base::TimeDelta next_attempt_delay_; base 248 chrome/browser/chromeos/net/network_portal_detector_impl.h base::TimeTicks time_ticks_for_testing_; base 26 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc using base::MessageLoop; base 52 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc base::Bind(&base::DoNothing), base 53 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc base::Bind(&ErrorCallbackFunction)); base 54 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc base::RunLoop().RunUntilIdle(); base 59 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc TestObserver() : run_loop_(new base::RunLoop()) { base 69 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc run_loop_.reset(new base::RunLoop()); base 85 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc scoped_ptr<base::RunLoop> run_loop_; base 115 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc base::StringValue(shill::kStatePortal), base 116 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc base::Bind(&base::DoNothing), base 117 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc base::Bind(&ErrorCallbackFunction)); base 125 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc base::TimeDelta()); base 126 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc base::RunLoop().RunUntilIdle(); base 132 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc base::RunLoop().RunUntilIdle(); base 74 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::StatisticsRecorder::Initialize(); base 85 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_time_ticks(base::TimeTicks::Now()); base 87 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc if (base::HistogramBase* histogram = base 88 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::StatisticsRecorder::FindHistogram( base 117 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc ASSERT_EQ(base::TimeDelta::FromSeconds(expected_request_timeout_sec), base 150 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::TimeDelta get_next_attempt_timeout() { base 154 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc void set_next_attempt_timeout(const base::TimeDelta& timeout) { base 170 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc const base::TimeDelta& next_attempt_delay() { base 182 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc void set_delay_till_next_attempt(const base::TimeDelta& delta) { base 186 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc void set_time_ticks(const base::TimeTicks& time_ticks) { base 194 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::StringValue(shill::kStatePortal), base 195 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::Bind(&base::DoNothing), base 196 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::Bind(&ErrorCallbackFunction)); base 197 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 205 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 211 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::Bind(&base::DoNothing), base 212 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::Bind(&ErrorCallbackFunction)); base 213 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 219 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::Bind(&*base::DoNothing), base 220 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::Bind(&ErrorCallbackFunction)); base 221 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 234 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 274 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc scoped_ptr<base::HistogramSamples> original_samples_; base 513 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_next_attempt_timeout(base::TimeDelta::FromSeconds(0)); base 519 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 525 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc ASSERT_EQ(base::TimeDelta::FromSeconds(3), next_attempt_delay()); base 546 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc ASSERT_EQ(base::TimeDelta::FromSeconds(101), next_attempt_delay()); base 567 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc ASSERT_EQ(base::TimeDelta::FromSeconds(3), next_attempt_delay()); base 575 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 586 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc ASSERT_EQ(base::TimeDelta::FromSeconds(0), next_attempt_delay()); base 589 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 606 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 617 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc ASSERT_EQ(base::TimeDelta::FromSeconds(0), next_attempt_delay()); base 620 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 625 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc ASSERT_EQ(base::TimeDelta::FromSeconds(0), next_attempt_delay()); base 628 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 645 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 665 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 676 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 684 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 710 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 717 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 722 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 730 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 739 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 745 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 760 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 773 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 783 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 792 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 808 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 827 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 845 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 862 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 873 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 881 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 892 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 909 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 917 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 931 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc set_delay_till_next_attempt(base::TimeDelta()); base 938 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 946 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 959 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 37 chrome/browser/chromeos/net/network_portal_detector_strategy.cc virtual base::TimeDelta GetDelayTillNextAttemptImpl() OVERRIDE { base 38 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return AdjustDelay(base::TimeDelta::FromSeconds(kDelayBetweenAttemptsSec)); base 40 chrome/browser/chromeos/net/network_portal_detector_strategy.cc virtual base::TimeDelta GetNextAttemptTimeoutImpl() OVERRIDE { base 44 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return base::TimeDelta::FromSeconds(timeout); base 64 chrome/browser/chromeos/net/network_portal_detector_strategy.cc virtual base::TimeDelta GetDelayTillNextAttemptImpl() OVERRIDE { base 65 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return AdjustDelay(base::TimeDelta::FromSeconds(kDelayBetweenAttemptsSec)); base 67 chrome/browser/chromeos/net/network_portal_detector_strategy.cc virtual base::TimeDelta GetNextAttemptTimeoutImpl() OVERRIDE { base 68 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return base::TimeDelta::FromSeconds(kAttemptTimeoutSec); base 91 chrome/browser/chromeos/net/network_portal_detector_strategy.cc virtual base::TimeDelta GetDelayTillNextAttemptImpl() OVERRIDE { base 97 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return AdjustDelay(base::TimeDelta::FromSeconds(delay)); base 99 chrome/browser/chromeos/net/network_portal_detector_strategy.cc virtual base::TimeDelta GetNextAttemptTimeoutImpl() OVERRIDE { base 105 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return base::TimeDelta::FromSeconds(timeout); base 117 chrome/browser/chromeos/net/network_portal_detector_strategy.cc base::TimeDelta PortalDetectorStrategy::delay_till_next_attempt_for_testing_; base 124 chrome/browser/chromeos/net/network_portal_detector_strategy.cc base::TimeDelta PortalDetectorStrategy::next_attempt_timeout_for_testing_; base 159 chrome/browser/chromeos/net/network_portal_detector_strategy.cc base::TimeDelta PortalDetectorStrategy::GetDelayTillNextAttempt() { base 165 chrome/browser/chromeos/net/network_portal_detector_strategy.cc base::TimeDelta PortalDetectorStrategy::GetNextAttemptTimeout() { base 177 chrome/browser/chromeos/net/network_portal_detector_strategy.cc base::TimeDelta PortalDetectorStrategy::GetDelayTillNextAttemptImpl() { base 178 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return base::TimeDelta(); base 181 chrome/browser/chromeos/net/network_portal_detector_strategy.cc base::TimeDelta PortalDetectorStrategy::GetNextAttemptTimeoutImpl() { base 182 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return base::TimeDelta(); base 185 chrome/browser/chromeos/net/network_portal_detector_strategy.cc base::TimeDelta PortalDetectorStrategy::AdjustDelay( base 186 chrome/browser/chromeos/net/network_portal_detector_strategy.cc const base::TimeDelta& delay) { base 188 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return base::TimeDelta(); base 190 chrome/browser/chromeos/net/network_portal_detector_strategy.cc base::TimeTicks now = delegate_->GetCurrentTimeTicks(); base 191 chrome/browser/chromeos/net/network_portal_detector_strategy.cc base::TimeDelta elapsed; base 196 chrome/browser/chromeos/net/network_portal_detector_strategy.cc return base::TimeDelta(); base 31 chrome/browser/chromeos/net/network_portal_detector_strategy.h virtual base::TimeTicks AttemptStartTime() = 0; base 34 chrome/browser/chromeos/net/network_portal_detector_strategy.h virtual base::TimeTicks GetCurrentTimeTicks() = 0; base 53 chrome/browser/chromeos/net/network_portal_detector_strategy.h base::TimeDelta GetDelayTillNextAttempt(); base 56 chrome/browser/chromeos/net/network_portal_detector_strategy.h base::TimeDelta GetNextAttemptTimeout(); base 66 chrome/browser/chromeos/net/network_portal_detector_strategy.h virtual base::TimeDelta GetDelayTillNextAttemptImpl(); base 67 chrome/browser/chromeos/net/network_portal_detector_strategy.h virtual base::TimeDelta GetNextAttemptTimeoutImpl(); base 71 chrome/browser/chromeos/net/network_portal_detector_strategy.h base::TimeDelta AdjustDelay(const base::TimeDelta& delay); base 80 chrome/browser/chromeos/net/network_portal_detector_strategy.h const base::TimeDelta& timeout) { base 86 chrome/browser/chromeos/net/network_portal_detector_strategy.h const base::TimeDelta& timeout) { base 97 chrome/browser/chromeos/net/network_portal_detector_strategy.h static base::TimeDelta delay_till_next_attempt_for_testing_; base 103 chrome/browser/chromeos/net/network_portal_detector_strategy.h static base::TimeDelta next_attempt_timeout_for_testing_; base 41 chrome/browser/chromeos/net/network_portal_detector_test_impl.h typedef base::hash_map<NetworkId, CaptivePortalState> CaptivePortalStateMap; base 19 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc base::HistogramSamples* base) base 20 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc : histogram_(histogram), expect_(count), base_(base) {} base 35 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc base::HistogramBase* histogram = base 36 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc base::StatisticsRecorder::FindHistogram(histogram_); base 45 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc scoped_ptr<base::HistogramSamples> samples = histogram->SnapshotSamples(); base 57 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc const int base = base_ ? base_->GetCount(i) : 0; base 58 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc const int actual = samples->GetCount(i) - base; base 13 chrome/browser/chromeos/net/network_portal_detector_test_utils.h namespace base { base 23 chrome/browser/chromeos/net/network_portal_detector_test_utils.h base::HistogramSamples* base); base 42 chrome/browser/chromeos/net/network_portal_detector_test_utils.h base::HistogramSamples* base_; base 162 chrome/browser/chromeos/net/network_portal_notification_controller.cc base::UTF8ToUTF16(network->name())), base 164 chrome/browser/chromeos/net/network_portal_notification_controller.cc base::string16() /* display_source */, base 44 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue& onc_proxy_location) { base 61 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue& onc_manual, base 64 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* onc_proxy_location = NULL; base 92 chrome/browser/chromeos/net/onc_utils.cc const base::ListValue& onc_exclude_domains) { base 94 chrome/browser/chromeos/net/onc_utils.cc for (base::ListValue::const_iterator it = onc_exclude_domains.begin(); base 105 chrome/browser/chromeos/net/onc_utils.cc scoped_ptr<base::DictionaryValue> ConvertOncProxySettingsToProxyConfig( base 106 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue& onc_proxy_settings) { base 109 chrome/browser/chromeos/net/onc_utils.cc scoped_ptr<base::DictionaryValue> proxy_dict; base 125 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* manual_dict = NULL; base 136 chrome/browser/chromeos/net/onc_utils.cc const base::ListValue* exclude_domains = NULL; base 181 chrome/browser/chromeos/net/onc_utils.cc base::ListValue* network_configs) { base 192 chrome/browser/chromeos/net/onc_utils.cc const base::ListValue& network_configs, base 196 chrome/browser/chromeos/net/onc_utils.cc scoped_ptr<base::ListValue> expanded_networks(network_configs.DeepCopy()); base 208 chrome/browser/chromeos/net/onc_utils.cc for (base::ListValue::const_iterator it = expanded_networks->begin(); base 211 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* network = NULL; base 217 chrome/browser/chromeos/net/onc_utils.cc scoped_ptr<base::DictionaryValue> normalized_network = base 221 chrome/browser/chromeos/net/onc_utils.cc scoped_ptr<base::DictionaryValue> shill_dict = base 227 chrome/browser/chromeos/net/onc_utils.cc base::DictionaryValue ui_data_dict; base 230 chrome/browser/chromeos/net/onc_utils.cc base::JSONWriter::Write(&ui_data_dict, &ui_data_json); base 249 chrome/browser/chromeos/net/onc_utils.cc base::Closure(), base 267 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* FindPolicyForActiveUser( base 276 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* GetGlobalConfigFromPolicy(bool for_active_user) { base 291 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* global_config = base 305 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* GetNetworkConfigByGUID( base 306 chrome/browser/chromeos/net/onc_utils.cc const base::ListValue& network_configs, base 308 chrome/browser/chromeos/net/onc_utils.cc for (base::ListValue::const_iterator it = network_configs.begin(); base 310 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* network = NULL; base 323 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* GetNetworkConfigForEthernetWithoutEAP( base 324 chrome/browser/chromeos/net/onc_utils.cc const base::ListValue& network_configs) { base 326 chrome/browser/chromeos/net/onc_utils.cc for (base::ListValue::const_iterator it = network_configs.begin(); base 328 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* network = NULL; base 337 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* ethernet = NULL; base 350 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* GetNetworkConfigForNetworkFromOnc( base 351 chrome/browser/chromeos/net/onc_utils.cc const base::ListValue& network_configs, base 380 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* GetPolicyForNetworkFromPref( base 410 chrome/browser/chromeos/net/onc_utils.cc const base::Value* onc_policy_value = preference->GetValue(); base 413 chrome/browser/chromeos/net/onc_utils.cc const base::ListValue* onc_policy = NULL; base 422 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* GetPolicyForFavoriteNetwork( base 430 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* network_policy = GetPolicyForNetworkFromPref( base 452 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* policy = onc::GetPolicyForFavoriteNetwork( base 15 chrome/browser/chromeos/net/onc_utils.h namespace base { base 34 chrome/browser/chromeos/net/onc_utils.h scoped_ptr<base::DictionaryValue> ConvertOncProxySettingsToProxyConfig( base 35 chrome/browser/chromeos/net/onc_utils.h const base::DictionaryValue& onc_proxy_settings); base 43 chrome/browser/chromeos/net/onc_utils.h base::ListValue* network_configs); base 46 chrome/browser/chromeos/net/onc_utils.h const base::ListValue& network_configs, base 53 chrome/browser/chromeos/net/onc_utils.h const base::DictionaryValue* FindPolicyForActiveUser( base 59 chrome/browser/chromeos/net/onc_utils.h const base::DictionaryValue* GetGlobalConfigFromPolicy(bool for_active_user); base 69 chrome/browser/chromeos/net/onc_utils.h const base::DictionaryValue* GetPolicyForFavoriteNetwork( base 20 chrome/browser/chromeos/net/onc_utils_unittest.cc scoped_ptr<base::Value> test_data = base 23 chrome/browser/chromeos/net/onc_utils_unittest.cc base::ListValue* list_of_tests; base 27 chrome/browser/chromeos/net/onc_utils_unittest.cc for (base::ListValue::iterator it = list_of_tests->begin(); base 29 chrome/browser/chromeos/net/onc_utils_unittest.cc SCOPED_TRACE("Test case #" + base::IntToString(index)); base 31 chrome/browser/chromeos/net/onc_utils_unittest.cc base::DictionaryValue* test_case; base 34 chrome/browser/chromeos/net/onc_utils_unittest.cc base::DictionaryValue* onc_proxy_settings; base 37 chrome/browser/chromeos/net/onc_utils_unittest.cc base::DictionaryValue* expected_proxy_config; base 40 chrome/browser/chromeos/net/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> actual_proxy_config = base 46 chrome/browser/chromeos/net/proxy_config_handler.cc const base::DictionaryValue* network_policy = base 51 chrome/browser/chromeos/net/proxy_config_handler.cc const base::DictionaryValue* proxy_policy = NULL; base 60 chrome/browser/chromeos/net/proxy_config_handler.cc scoped_ptr<base::DictionaryValue> proxy_dict = base 88 chrome/browser/chromeos/net/proxy_config_handler.cc const base::DictionaryValue& value = network.proxy_config(); base 108 chrome/browser/chromeos/net/proxy_config_handler.cc base::Bind(&NotifyNetworkStateHandler, network.path()), base 109 chrome/browser/chromeos/net/proxy_config_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 115 chrome/browser/chromeos/net/proxy_config_handler.cc base::JSONWriter::Write(&proxy_config.GetDictionary(), &proxy_config_str); base 119 chrome/browser/chromeos/net/proxy_config_handler.cc base::StringValue(proxy_config_str), base 120 chrome/browser/chromeos/net/proxy_config_handler.cc base::Bind(&NotifyNetworkStateHandler, network.path()), base 121 chrome/browser/chromeos/net/proxy_config_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 77 chrome/browser/chromeos/offline/offline_load_page.cc base::DictionaryValue error_strings; base 106 chrome/browser/chromeos/offline/offline_load_page.cc const base::StringPiece template_html( base 158 chrome/browser/chromeos/offline/offline_load_page.cc BrowserThread::IO, FROM_HERE, base::Bind(callback_, proceed)); base 16 chrome/browser/chromeos/offline/offline_load_page.h namespace base { base 41 chrome/browser/chromeos/offline/offline_load_page.h typedef base::Callback<void(bool /*proceed*/)> CompletionCallback; base 104 chrome/browser/chromeos/offline/offline_load_page_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 108 chrome/browser/chromeos/offline/offline_load_page_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 131 chrome/browser/chromeos/offline/offline_load_page_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 39 chrome/browser/chromeos/options/cert_library.cc base::string16 GetDisplayString(net::X509Certificate* cert, base 46 chrome/browser/chromeos/options/cert_library.cc base::string16 issued_by = base::UTF8ToUTF16( base 49 chrome/browser/chromeos/options/cert_library.cc base::string16 issued_to = base::UTF8ToUTF16( base 86 chrome/browser/chromeos/options/cert_library.cc base::string16 lhs_name = GetDisplayString(lhs.get(), false); base 87 chrome/browser/chromeos/options/cert_library.cc base::string16 rhs_name = GetDisplayString(rhs.get(), false); base 90 chrome/browser/chromeos/options/cert_library.cc return base::i18n::CompareString16WithCollator( base 157 chrome/browser/chromeos/options/cert_library.cc base::string16 CertLibrary::GetCertDisplayStringAt(CertType type, base 70 chrome/browser/chromeos/options/cert_library.h base::string16 GetCertDisplayStringAt(CertType type, int index) const; base 161 chrome/browser/chromeos/options/network_config_view.cc base::string16 NetworkConfigView::GetDialogButtonLabel( base 203 chrome/browser/chromeos/options/network_config_view.cc base::string16 NetworkConfigView::GetWindowTitle() const { base 57 chrome/browser/chromeos/options/network_config_view.h virtual base::string16 GetDialogButtonLabel( base 66 chrome/browser/chromeos/options/network_config_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 125 chrome/browser/chromeos/options/network_config_view.h virtual base::string16 GetTitle() const = 0; base 23 chrome/browser/chromeos/options/network_property_ui_data.cc const base::DictionaryValue* onc, base 40 chrome/browser/chromeos/options/network_property_ui_data.cc const base::ListValue* recommended_keys = NULL; base 42 chrome/browser/chromeos/options/network_property_ui_data.cc base::StringValue basename_value(property_basename); base 45 chrome/browser/chromeos/options/network_property_ui_data.cc const base::Value* default_value = NULL; base 14 chrome/browser/chromeos/options/network_property_ui_data.h namespace base { base 37 chrome/browser/chromeos/options/network_property_ui_data.h const base::DictionaryValue* onc, base 40 chrome/browser/chromeos/options/network_property_ui_data.h const base::Value* default_value() const { return default_value_.get(); } base 49 chrome/browser/chromeos/options/network_property_ui_data.h scoped_ptr<base::Value> default_value_; base 19 chrome/browser/chromeos/options/network_property_ui_data_unittest.cc const base::Value* expected_default_value, base 23 chrome/browser/chromeos/options/network_property_ui_data_unittest.cc EXPECT_TRUE(base::Value::Equals(expected_default_value, base 42 chrome/browser/chromeos/options/network_property_ui_data_unittest.cc base::DictionaryValue onc; base 44 chrome/browser/chromeos/options/network_property_ui_data_unittest.cc base::StringValue val_a("a"); base 45 chrome/browser/chromeos/options/network_property_ui_data_unittest.cc base::StringValue val_b("b"); base 46 chrome/browser/chromeos/options/network_property_ui_data_unittest.cc base::StringValue val_a_a("a_a"); base 47 chrome/browser/chromeos/options/network_property_ui_data_unittest.cc base::StringValue val_a_b("a_b"); base 53 chrome/browser/chromeos/options/network_property_ui_data_unittest.cc base::ListValue recommended; base 41 chrome/browser/chromeos/options/passphrase_textfield.cc return changed_ ? base::UTF16ToUTF8(text()) : std::string(); base 45 chrome/browser/chromeos/options/passphrase_textfield.cc CR_DEFINE_STATIC_LOCAL(base::string16, fake_passphrase, base 46 chrome/browser/chromeos/options/passphrase_textfield.cc (base::ASCIIToUTF16("********"))); base 52 chrome/browser/chromeos/options/passphrase_textfield.cc SetText(base::string16()); base 50 chrome/browser/chromeos/options/vpn_config_view.cc base::string16 ProviderTypeIndexToString(int index) { base 63 chrome/browser/chromeos/options/vpn_config_view.cc return base::string16(); base 94 chrome/browser/chromeos/options/vpn_config_view.cc const base::DictionaryValue* provider_properties, base 96 chrome/browser/chromeos/options/vpn_config_view.cc const base::ListValue* pems = NULL; base 117 chrome/browser/chromeos/options/vpn_config_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 130 chrome/browser/chromeos/options/vpn_config_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 143 chrome/browser/chromeos/options/vpn_config_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 161 chrome/browser/chromeos/options/vpn_config_view.cc base::string16 ProviderTypeComboboxModel::GetItemAt(int index) { base 181 chrome/browser/chromeos/options/vpn_config_view.cc base::string16 VpnServerCACertComboboxModel::GetItemAt(int index) { base 211 chrome/browser/chromeos/options/vpn_config_view.cc base::string16 VpnUserCertComboboxModel::GetItemAt(int index) { base 266 chrome/browser/chromeos/options/vpn_config_view.cc base::string16 VPNConfigView::GetTitle() const { base 314 chrome/browser/chromeos/options/vpn_config_view.cc const base::string16& new_contents) { base 318 chrome/browser/chromeos/options/vpn_config_view.cc base::string16 server = server_textfield_->text(); base 319 chrome/browser/chromeos/options/vpn_config_view.cc base::string16::size_type n = server.find_first_of(L'.'); base 358 chrome/browser/chromeos/options/vpn_config_view.cc base::DictionaryValue properties; base 389 chrome/browser/chromeos/options/vpn_config_view.cc base::DictionaryValue properties; base 693 chrome/browser/chromeos/options/vpn_config_view.cc base::Bind(&VPNConfigView::InitFromProperties, base 695 chrome/browser/chromeos/options/vpn_config_view.cc base::Bind(&VPNConfigView::GetPropertiesError, base 702 chrome/browser/chromeos/options/vpn_config_view.cc const base::DictionaryValue& service_properties) { base 712 chrome/browser/chromeos/options/vpn_config_view.cc const base::DictionaryValue* provider_properties; base 746 chrome/browser/chromeos/options/vpn_config_view.cc service_text_->SetText(base::ASCIIToUTF16(vpn->name())); base 752 chrome/browser/chromeos/options/vpn_config_view.cc server_textfield_->SetText(base::UTF8ToUTF16(server_hostname)); base 754 chrome/browser/chromeos/options/vpn_config_view.cc username_textfield_->SetText(base::UTF8ToUTF16(username)); base 756 chrome/browser/chromeos/options/vpn_config_view.cc group_name_textfield_->SetText(base::UTF8ToUTF16(group_name)); base 795 chrome/browser/chromeos/options/vpn_config_view.cc scoped_ptr<base::DictionaryValue> error_data) { base 800 chrome/browser/chromeos/options/vpn_config_view.cc base::DictionaryValue* properties) { base 829 chrome/browser/chromeos/options/vpn_config_view.cc base::ListValue* pem_list = new base::ListValue; base 853 chrome/browser/chromeos/options/vpn_config_view.cc base::ListValue* pem_list = new base::ListValue; base 975 chrome/browser/chromeos/options/vpn_config_view.cc base::string16 error_msg; base 1029 chrome/browser/chromeos/options/vpn_config_view.cc std::string untrimmed = base::UTF16ToUTF8(textfield->text()); base 1033 chrome/browser/chromeos/options/vpn_config_view.cc base::TrimWhitespaceASCII(untrimmed, base::TRIM_ALL, &result); base 1050 chrome/browser/chromeos/options/vpn_config_view.cc const base::DictionaryValue* onc = base 1057 chrome/browser/chromeos/options/vpn_config_view.cc base::StringPrintf("%s.%s.%s", base 21 chrome/browser/chromeos/options/vpn_config_view.h namespace base { base 53 chrome/browser/chromeos/options/vpn_config_view.h const base::string16& new_contents) OVERRIDE; base 68 chrome/browser/chromeos/options/vpn_config_view.h virtual base::string16 GetTitle() const OVERRIDE; base 81 chrome/browser/chromeos/options/vpn_config_view.h const base::DictionaryValue& dictionary); base 84 chrome/browser/chromeos/options/vpn_config_view.h scoped_ptr<base::DictionaryValue> error_data); base 87 chrome/browser/chromeos/options/vpn_config_view.h void SetConfigProperties(base::DictionaryValue* properties); base 135 chrome/browser/chromeos/options/vpn_config_view.h base::string16 service_name_from_server_; base 186 chrome/browser/chromeos/options/vpn_config_view.h base::WeakPtrFactory<VPNConfigView> weak_ptr_factory_; base 97 chrome/browser/chromeos/options/wifi_config_view.cc scoped_ptr<base::DictionaryValue> error_data) { base 112 chrome/browser/chromeos/options/wifi_config_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 125 chrome/browser/chromeos/options/wifi_config_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 138 chrome/browser/chromeos/options/wifi_config_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 153 chrome/browser/chromeos/options/wifi_config_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 166 chrome/browser/chromeos/options/wifi_config_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 185 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 SecurityComboboxModel::GetItemAt(int index) { base 196 chrome/browser/chromeos/options/wifi_config_view.cc return base::string16(); base 210 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 EAPMethodComboboxModel::GetItemAt(int index) { base 227 chrome/browser/chromeos/options/wifi_config_view.cc return base::string16(); base 255 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 Phase2AuthComboboxModel::GetItemAt(int index) { base 275 chrome/browser/chromeos/options/wifi_config_view.cc return base::string16(); base 294 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 ServerCACertComboboxModel::GetItemAt(int index) { base 330 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 UserCertComboboxModel::GetItemAt(int index) { base 386 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 WifiConfigView::GetTitle() const { base 507 chrome/browser/chromeos/options/wifi_config_view.cc passphrase_textfield_->SetText(base::string16()); base 536 chrome/browser/chromeos/options/wifi_config_view.cc subject_match_textfield_->SetText(base::string16()); base 544 chrome/browser/chromeos/options/wifi_config_view.cc identity_anonymous_textfield_->SetText(base::string16()); base 575 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 error_msg; base 606 chrome/browser/chromeos/options/wifi_config_view.cc const base::string16& new_contents) { base 641 chrome/browser/chromeos/options/wifi_config_view.cc passphrase_textfield_->SetText(base::string16()); base 662 chrome/browser/chromeos/options/wifi_config_view.cc base::DictionaryValue properties; base 752 chrome/browser/chromeos/options/wifi_config_view.cc std::string untrimmed = base::UTF16ToUTF8(ssid_textfield_->text()); base 753 chrome/browser/chromeos/options/wifi_config_view.cc base::TrimWhitespaceASCII(untrimmed, base::TRIM_ALL, &result); base 761 chrome/browser/chromeos/options/wifi_config_view.cc result = base::UTF16ToUTF8(passphrase_textfield_->text()); base 840 chrome/browser/chromeos/options/wifi_config_view.cc return base::UTF16ToUTF8(subject_match_textfield_->text()); base 857 chrome/browser/chromeos/options/wifi_config_view.cc return base::UTF16ToUTF8(identity_textfield_->text()); base 862 chrome/browser/chromeos/options/wifi_config_view.cc return base::UTF16ToUTF8(identity_anonymous_textfield_->text()); base 865 chrome/browser/chromeos/options/wifi_config_view.cc void WifiConfigView::SetEapProperties(base::DictionaryValue* properties) { base 889 chrome/browser/chromeos/options/wifi_config_view.cc base::ListValue* pem_list = new base::ListValue; base 963 chrome/browser/chromeos/options/wifi_config_view.cc new views::Label(base::UTF8ToUTF16(network->name())); base 973 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 label_text = l10n_util::GetStringUTF16( base 991 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 eap_label_text = l10n_util::GetStringUTF16( base 1006 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 phase_2_label_text = l10n_util::GetStringUTF16( base 1024 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 server_ca_cert_label_text = l10n_util::GetStringUTF16( base 1044 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 subject_match_label_text = l10n_util::GetStringUTF16( base 1056 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 user_cert_label_text = l10n_util::GetStringUTF16( base 1072 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 identity_label_text = l10n_util::GetStringUTF16( base 1088 chrome/browser/chromeos/options/wifi_config_view.cc base::string16 passphrase_label_text = base 1199 chrome/browser/chromeos/options/wifi_config_view.cc base::Bind(&WifiConfigView::InitFromProperties, base 1202 chrome/browser/chromeos/options/wifi_config_view.cc base::Bind(&ShillError, "GetProperties")); base 1209 chrome/browser/chromeos/options/wifi_config_view.cc const base::DictionaryValue& properties) { base 1214 chrome/browser/chromeos/options/wifi_config_view.cc passphrase_textfield_->SetText(base::UTF8ToUTF16(passphrase)); base 1252 chrome/browser/chromeos/options/wifi_config_view.cc base::UTF8ToUTF16(eap_anonymous_identity)); base 1259 chrome/browser/chromeos/options/wifi_config_view.cc subject_match_textfield_->SetText(base::UTF8ToUTF16(subject_match)); base 1264 chrome/browser/chromeos/options/wifi_config_view.cc const base::ListValue* pems = NULL; base 1311 chrome/browser/chromeos/options/wifi_config_view.cc identity_textfield_->SetText(base::UTF8ToUTF16(eap_identity)); base 1318 chrome/browser/chromeos/options/wifi_config_view.cc passphrase_textfield_->SetText(base::UTF8ToUTF16(eap_password)); base 1367 chrome/browser/chromeos/options/wifi_config_view.cc const base::DictionaryValue* onc = base 64 chrome/browser/chromeos/options/wifi_config_view.h const base::string16& new_contents) OVERRIDE; base 79 chrome/browser/chromeos/options/wifi_config_view.h virtual base::string16 GetTitle() const OVERRIDE; base 113 chrome/browser/chromeos/options/wifi_config_view.h const base::DictionaryValue& dictionary); base 132 chrome/browser/chromeos/options/wifi_config_view.h void SetEapProperties(base::DictionaryValue* properties); base 209 chrome/browser/chromeos/options/wifi_config_view.h base::WeakPtrFactory<WifiConfigView> weak_ptr_factory_; base 47 chrome/browser/chromeos/options/wimax_config_view.cc scoped_ptr<base::DictionaryValue> error_data) { base 73 chrome/browser/chromeos/options/wimax_config_view.cc base::string16 WimaxConfigView::GetTitle() const { base 101 chrome/browser/chromeos/options/wimax_config_view.cc base::string16 error_msg; base 118 chrome/browser/chromeos/options/wimax_config_view.cc const base::string16& new_contents) { base 155 chrome/browser/chromeos/options/wimax_config_view.cc base::DictionaryValue properties; base 180 chrome/browser/chromeos/options/wimax_config_view.cc return base::UTF16ToUTF8(identity_textfield_->text()); base 184 chrome/browser/chromeos/options/wimax_config_view.cc return passphrase_textfield_ ? base::UTF16ToUTF8( base 237 chrome/browser/chromeos/options/wimax_config_view.cc views::Label* label = new views::Label(base::UTF8ToUTF16(wimax->name())); base 244 chrome/browser/chromeos/options/wimax_config_view.cc base::string16 identity_label_text = l10n_util::GetStringUTF16( base 258 chrome/browser/chromeos/options/wimax_config_view.cc base::string16 passphrase_label_text = l10n_util::GetStringUTF16( base 353 chrome/browser/chromeos/options/wimax_config_view.cc base::Bind(&WimaxConfigView::InitFromProperties, base 355 chrome/browser/chromeos/options/wimax_config_view.cc base::Bind(&ShillError, "GetProperties")); base 361 chrome/browser/chromeos/options/wimax_config_view.cc const base::DictionaryValue& properties) { base 366 chrome/browser/chromeos/options/wimax_config_view.cc identity_textfield_->SetText(base::UTF8ToUTF16(eap_identity)); base 40 chrome/browser/chromeos/options/wimax_config_view.h const base::string16& new_contents) OVERRIDE; base 49 chrome/browser/chromeos/options/wimax_config_view.h virtual base::string16 GetTitle() const OVERRIDE; base 62 chrome/browser/chromeos/options/wimax_config_view.h const base::DictionaryValue& dictionary); base 90 chrome/browser/chromeos/options/wimax_config_view.h base::WeakPtrFactory<WimaxConfigView> weak_ptr_factory_; base 34 chrome/browser/chromeos/policy/app_pack_updater.cc public base::SupportsWeakPtr<AppPackExternalLoader> { base 41 chrome/browser/chromeos/policy/app_pack_updater.cc void SetCurrentAppPackExtensions(scoped_ptr<base::DictionaryValue> prefs) { base 58 chrome/browser/chromeos/policy/app_pack_updater.cc base::DictionaryValue app_pack_prefs_; base 68 chrome/browser/chromeos/policy/app_pack_updater.cc external_cache_(base::FilePath(kAppPackCacheDir), base 74 chrome/browser/chromeos/policy/app_pack_updater.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN), base 80 chrome/browser/chromeos/policy/app_pack_updater.cc base::Bind(&AppPackUpdater::AppPackChanged, base::Unretained(this))); base 85 chrome/browser/chromeos/policy/app_pack_updater.cc base::Bind(&AppPackUpdater::LoadPolicy, base 118 chrome/browser/chromeos/policy/app_pack_updater.cc base::Bind(screen_saver_update_callback_, screen_saver_path_)); base 130 chrome/browser/chromeos/policy/app_pack_updater.cc base::Bind(&AppPackUpdater::LoadPolicy, base 135 chrome/browser/chromeos/policy/app_pack_updater.cc scoped_ptr<base::DictionaryValue> prefs(new base::DictionaryValue()); base 136 chrome/browser/chromeos/policy/app_pack_updater.cc const base::Value* value = settings->GetPref(chromeos::kAppPack); base 137 chrome/browser/chromeos/policy/app_pack_updater.cc const base::ListValue* list = NULL; base 139 chrome/browser/chromeos/policy/app_pack_updater.cc for (base::ListValue::const_iterator it = list->begin(); base 141 chrome/browser/chromeos/policy/app_pack_updater.cc base::DictionaryValue* dict = NULL; base 150 chrome/browser/chromeos/policy/app_pack_updater.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 167 chrome/browser/chromeos/policy/app_pack_updater.cc SetScreenSaverPath(base::FilePath()); base 174 chrome/browser/chromeos/policy/app_pack_updater.cc const base::DictionaryValue* prefs) { base 176 chrome/browser/chromeos/policy/app_pack_updater.cc const base::DictionaryValue* screen_saver = NULL; base 182 chrome/browser/chromeos/policy/app_pack_updater.cc SetScreenSaverPath(base::FilePath(crx_path)); base 184 chrome/browser/chromeos/policy/app_pack_updater.cc SetScreenSaverPath(base::FilePath()); base 196 chrome/browser/chromeos/policy/app_pack_updater.cc scoped_ptr<base::DictionaryValue> prefs( base 205 chrome/browser/chromeos/policy/app_pack_updater.cc void AppPackUpdater::OnDamagedFileDetected(const base::FilePath& path) { base 209 chrome/browser/chromeos/policy/app_pack_updater.cc void AppPackUpdater::SetScreenSaverPath(const base::FilePath& path) { base 38 chrome/browser/chromeos/policy/app_pack_updater.h typedef base::Callback<void(const base::FilePath&)> ScreenSaverUpdateCallback; base 63 chrome/browser/chromeos/policy/app_pack_updater.h void OnDamagedFileDetected(const base::FilePath& path); base 68 chrome/browser/chromeos/policy/app_pack_updater.h const base::DictionaryValue* prefs) OVERRIDE; base 82 chrome/browser/chromeos/policy/app_pack_updater.h void SetScreenSaverPath(const base::FilePath& path); base 84 chrome/browser/chromeos/policy/app_pack_updater.h base::WeakPtrFactory<AppPackUpdater> weak_ptr_factory_; base 89 chrome/browser/chromeos/policy/app_pack_updater.h base::FilePath screen_saver_path_; base 98 chrome/browser/chromeos/policy/app_pack_updater.h base::WeakPtr<AppPackExternalLoader> extension_loader_; base 55 chrome/browser/chromeos/policy/auto_enrollment_client.cc void UpdateDict(base::DictionaryValue* dict, base 58 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::Value* value) { base 59 chrome/browser/chromeos/policy/auto_enrollment_client.cc scoped_ptr<base::Value> scoped_value(value); base 98 chrome/browser/chromeos/policy/auto_enrollment_client.cc device_id_(base::GenerateGUID()), base 143 chrome/browser/chromeos/policy/auto_enrollment_client.cc time_start_ = base::Time::Now(); base 163 chrome/browser/chromeos/policy/auto_enrollment_client.cc time_extra_start_ = base::Time::Now(); base 224 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::MessageLoopProxy::current()->DeleteSoon(FROM_HERE, this); base 235 chrome/browser/chromeos/policy/auto_enrollment_client.cc const base::DictionaryValue* device_state_dict = base 276 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::Bind(&AutoEnrollmentClient::HandleRequestCompletion, base 277 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::Unretained(this), base 294 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::Bind(&AutoEnrollmentClient::HandleRequestCompletion, base 295 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::Unretained(this), base 314 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::MessageLoopProxy::current()->DeleteSoon(FROM_HERE, this); base 404 chrome/browser/chromeos/policy/auto_enrollment_client.cc new base::StringValue(state_response.management_domain())); base 411 chrome/browser/chromeos/policy/auto_enrollment_client.cc new base::StringValue(restore_mode)); base 432 chrome/browser/chromeos/policy/auto_enrollment_client.cc static const base::TimeDelta kMin = base::TimeDelta::FromMilliseconds(1); base 433 chrome/browser/chromeos/policy/auto_enrollment_client.cc static const base::TimeDelta kMax = base::TimeDelta::FromMinutes(5); base 435 chrome/browser/chromeos/policy/auto_enrollment_client.cc static const base::TimeDelta kZero = base::TimeDelta::FromMilliseconds(0); base 438 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::Time now = base::Time::Now(); base 440 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::TimeDelta delta = now - time_start_; base 443 chrome/browser/chromeos/policy/auto_enrollment_client.cc base::TimeDelta delta = kZero; base 63 chrome/browser/chromeos/policy/auto_enrollment_client.h typedef base::Callback<void(AutoEnrollmentState)> ProgressCallback; base 219 chrome/browser/chromeos/policy/auto_enrollment_client.h base::Time time_start_; base 220 chrome/browser/chromeos/policy/auto_enrollment_client.h base::Time time_extra_start_; base 59 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc base::RunLoop().RunUntilIdle(); base 71 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc base::Bind(&AutoEnrollmentClientTest::ProgressCallback, base 72 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc base::Unretained(this)), base 76 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc base::MessageLoop::current()->message_loop_proxy()), base 102 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc std::string state_key = base::StringPrintf("state_key %d", i); base 141 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc base::FundamentalValue value_should_enroll(should_enroll); base 142 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc base::FundamentalValue value_power_limit(power_limit); base 143 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::Value::Equals( base 146 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::Value::Equals( base 342 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc new base::FundamentalValue(true)); base 344 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc new base::FundamentalValue(8)); base 357 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc new base::FundamentalValue(false)); base 359 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc new base::FundamentalValue(8)); base 406 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 408 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 414 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_FALSE(base::MessageLoop::current()->IsIdleForTesting()); base 427 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 430 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 440 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_FALSE(base::MessageLoop::current()->IsIdleForTesting()); base 458 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 460 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 470 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 472 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 54 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc scoped_refptr<base::SequencedTaskRunner> GetBackgroundTaskRunner() { base 55 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); base 58 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc pool->GetSequenceToken(), base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 82 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc base::FilePath install_attrs_file; base 94 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc base::MessageLoopProxy::current(), base 229 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc chromeos::CrosSettings::Get()->PrepareTrustedValues(base::Bind( base 241 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc base::UTF8ToUTF16(timezone)); base 117 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_; base 50 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 51 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_refptr<base::SequencedTaskRunner> callback_task_runner); base 120 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_refptr<base::SequencedTaskRunner> task_runner_; base 121 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_refptr<base::SequencedTaskRunner> callback_task_runner_; base 150 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 151 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_refptr<base::SequencedTaskRunner> callback_task_runner) base 317 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Bind(callback, base::Passed(&data))); base 332 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Bind(&CloudExternalDataManagerBase::Backend::OnDownloadSuccess, base 333 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Unretained(this), base 340 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 341 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner) base 346 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::MessageLoopProxy::current())) { base 359 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc backend_task_runner_->PostTask(FROM_HERE, base::Bind( base 361 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Unretained(backend_.get()), base 362 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Passed(&external_data_store))); base 385 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const base::DictionaryValue* dict = NULL; base 393 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::HexStringToBytes(hex_hash, &hash)) { base 401 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc backend_task_runner_->PostTask(FROM_HERE, base::Bind( base 403 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Unretained(backend_.get()), base 404 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Passed(&metadata))); base 414 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc backend_task_runner_->PostTask(FROM_HERE, base::Bind( base 416 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Unretained(backend_.get()), base 417 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc base::Passed(external_policy_data_fetcher_backend_->CreateFrontend( base 425 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc backend_task_runner_->PostTask(FROM_HERE, base::Bind( base 426 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc &Backend::Disconnect, base::Unretained(backend_.get()))); base 433 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc backend_task_runner_->PostTask(FROM_HERE, base::Bind( base 434 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc &Backend::Fetch, base::Unretained(backend_.get()), policy, callback)); base 445 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc backend_task_runner_->PostTask(FROM_HERE, base::Bind( base 446 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc &Backend::FetchAll, base::Unretained(backend_.get()))); base 16 chrome/browser/chromeos/policy/cloud_external_data_manager_base.h namespace base { base 30 chrome/browser/chromeos/policy/cloud_external_data_manager_base.h public base::NonThreadSafe { base 38 chrome/browser/chromeos/policy/cloud_external_data_manager_base.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 39 chrome/browser/chromeos/policy/cloud_external_data_manager_base.h scoped_refptr<base::SequencedTaskRunner> io_task_runner); base 73 chrome/browser/chromeos/policy/cloud_external_data_manager_base.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner_; base 74 chrome/browser/chromeos/policy/cloud_external_data_manager_base.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 24 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc const base::Closure& done_callback, base 30 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc scoped_ptr<base::DictionaryValue> ConstructExternalDataReference( base 34 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc scoped_ptr<base::DictionaryValue> metadata(new base::DictionaryValue); base 36 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc metadata->SetStringWithoutPathExpansion("hash", base::HexEncode(hash.c_str(), base 43 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc scoped_ptr<base::DictionaryValue> metadata) { base 13 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h namespace base { base 26 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h const base::Closure& done_callback, base 31 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h scoped_ptr<base::DictionaryValue> ConstructExternalDataReference( base 42 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h scoped_ptr<base::DictionaryValue> metadata); base 112 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc scoped_ptr<base::DictionaryValue> ConstructMetadata(const std::string& url, base 115 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc scoped_ptr<base::DictionaryValue> metadata); base 129 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::MessageLoop message_loop_; base 130 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::ScopedTempDir temp_dir_; base 157 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc new base::StringValue(std::string()), base 172 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::MessageLoopProxy::current()); base 181 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 197 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc scoped_ptr<base::DictionaryValue> base 201 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc scoped_ptr<base::DictionaryValue> metadata(new base::DictionaryValue); base 203 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc metadata->SetStringWithoutPathExpansion("hash", base::HexEncode(hash.c_str(), base 210 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc scoped_ptr<base::DictionaryValue> metadata) { base 222 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc return base::Bind(&CloudExternalDataManagerBaseTest::OnFetchDone, base 223 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::Unretained(this), base 259 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 268 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 282 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 301 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 314 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 328 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 336 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 358 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 368 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 385 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 395 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 419 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 431 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 453 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 469 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 490 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 507 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 526 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 540 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 551 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 575 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 605 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 629 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 643 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 679 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 690 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 697 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 743 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 752 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 771 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc base::RunLoop().RunUntilIdle(); base 144 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc base::Bind(&CloudExternalDataPolicyObserver::RetrieveDeviceLocalAccounts, base 145 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc base::Unretained(this))); base 248 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc cros_settings_->PrepareTrustedValues(base::Bind( base 299 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc entry->external_data_fetcher->Fetch(base::Bind( base 126 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h typedef base::WeakPtrFactory<CloudExternalDataPolicyObserver> base 131 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h base::WeakPtrFactory<CloudExternalDataPolicyObserver> weak_factory_; base 77 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::FilePath test_data_dir; base 79 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 82 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::JSONWriter::Write( base 348 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc new base::StringValue(value), base 384 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 403 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 426 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 444 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 465 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 499 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 537 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 564 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 589 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 621 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 646 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 675 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 697 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 731 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc base::RunLoop().RunUntilIdle(); base 23 chrome/browser/chromeos/policy/cloud_external_data_store.cc return base::IntToString(policy.size()) + ":" + base 24 chrome/browser/chromeos/policy/cloud_external_data_store.cc base::IntToString(hash.size()) + ":" + base 32 chrome/browser/chromeos/policy/cloud_external_data_store.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 14 chrome/browser/chromeos/policy/cloud_external_data_store.h namespace base { base 35 chrome/browser/chromeos/policy/cloud_external_data_store.h scoped_refptr<base::SequencedTaskRunner> task_runner, base 61 chrome/browser/chromeos/policy/cloud_external_data_store.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 40 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 41 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc base::ScopedTempDir temp_dir_; base 50 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc task_runner_(new base::TestSimpleTaskRunner) { base 43 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc bool GetSubkeyString(const base::DictionaryValue& dict, base 48 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* raw_value = NULL; base 86 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::Value> GetValue(const base::DictionaryValue* dict, base 88 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* value = NULL; base 90 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc return scoped_ptr<base::Value>(); base 91 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc return scoped_ptr<base::Value>(value->DeepCopy()); base 94 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::Value> GetAction(const base::DictionaryValue* dict, base 96 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::Value> value = GetValue(dict, key); base 99 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc return scoped_ptr<base::Value>(); base 101 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc return scoped_ptr<base::Value>(new base::FundamentalValue( base 105 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc return scoped_ptr<base::Value>(new base::FundamentalValue( base 109 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc return scoped_ptr<base::Value>(new base::FundamentalValue( base 113 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc return scoped_ptr<base::Value>(new base::FundamentalValue( base 116 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc return scoped_ptr<base::Value>(); base 122 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc : TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_DICTIONARY) { base 134 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* value = policies.GetValue(policy); base 138 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::DictionaryValue* dict = NULL; base 158 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc if (!base::HexStringToBytes(hash_string, &hash) || base 194 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* value; base 201 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::DictionaryValue> root_dict = base 237 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* value = policies.GetValue(policy_name()); base 244 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::ListValue> network_configs(new base::ListValue); base 245 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc base::ListValue certificates; base 246 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc base::DictionaryValue global_network_config; base 264 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc base::Value* sanitized_config = SanitizeNetworkConfig(entry->value); base 266 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc sanitized_config = base::Value::CreateNullValue(); base 276 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc : TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_STRING), base 282 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc base::Value* NetworkConfigurationPolicyHandler::SanitizeNetworkConfig( base 283 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* config) { base 288 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::DictionaryValue> toplevel_dict = base 301 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc base::JSONWriter::WriteWithOptions(toplevel_dict.get(), base 302 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 304 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc return new base::StringValue(json_string); base 318 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* policy_value = policies.GetValue(policy_name()); base 319 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::ListValue* policy_list = NULL; base 321 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc base::ListValue* pinned_apps_list = new base::ListValue(); base 322 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc for (base::ListValue::const_iterator entry(policy_list->begin()); base 326 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc base::DictionaryValue* app_dict = new base::DictionaryValue(); base 346 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* value = policies.GetValue(policy_name()); base 350 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc new base::FundamentalValue(value_in_range != 0)); base 352 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc new base::FundamentalValue(value_in_range)); base 384 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* value = policies.GetValue(policy_name()); base 408 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::Value> policy_value; base 411 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::DictionaryValue* dict = NULL; base 416 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::Value> value; base 465 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::Value> policy_value; base 468 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::DictionaryValue* dict = NULL; base 473 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc scoped_ptr<base::Value> value; base 15 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h namespace base { base 68 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h static base::Value* SanitizeNetworkConfig(const base::Value* config); base 63 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc new base::FundamentalValue(0), base 67 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc const base::Value* enabled = NULL; base 70 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc EXPECT_TRUE(base::FundamentalValue(false).Equals(enabled)); base 72 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc const base::Value* type = NULL; base 75 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc EXPECT_TRUE(base::FundamentalValue(0).Equals(type)); base 82 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc new base::FundamentalValue(1), base 86 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc const base::Value* enabled = NULL; base 89 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc EXPECT_TRUE(base::FundamentalValue(true).Equals(enabled)); base 91 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc const base::Value* type = NULL; base 94 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc EXPECT_TRUE(base::FundamentalValue(1).Equals(type)); base 109 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc new base::FundamentalValue(false), base 118 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 133 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 149 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 164 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 180 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 249 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc new base::StringValue(kTestONC), base 263 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc new base::FundamentalValue(false), base 278 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc new base::StringValue(kTestONC), base 306 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc new base::StringValue(kTestONC), base 312 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc const base::Value* sanitized = base 322 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc base::ListValue list; base 325 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc base::ListValue expected_pinned_apps; base 326 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc base::Value* value = NULL; base 333 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected_pinned_apps, value)); base 335 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc base::StringValue entry1("abcdefghijklmnopabcdefghijklmnop"); base 336 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc base::DictionaryValue* entry1_dict = new base::DictionaryValue(); base 345 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected_pinned_apps, value)); base 361 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc base::JSONReader::Read(kLoginScreenPowerManagementPolicy), base 374 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc new base::FundamentalValue(false), base 108 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 109 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 157 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc base::Bind(&DeviceCloudPolicyManagerChromeOS::EnrollmentCompleted, base 158 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc base::Unretained(this), callback))); base 228 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc const base::DictionaryValue* device_state_dict = base 285 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc if (GetDeviceStateKeys(base::Time::Now(), &state_keys) && base 312 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc if (GetDeviceStateKeys(base::Time::Now(), &state_keys)) base 384 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc const base::DictionaryValue* device_state_dict = base 393 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc const base::Time& timestamp, base 415 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc (timestamp - base::Time::UnixEpoch()).InSeconds() & ~(quantum_size - 1); base 421 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc crypto::SHA256HashString(base::Int64ToString(quantized_time)))); base 22 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h namespace base { base 47 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h typedef base::Callback<void(EnrollmentStatus)> EnrollmentCallback; base 70 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 71 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 124 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h static bool GetDeviceStateKeys(const base::Time& timestamp, base 159 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 59 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc void CopyLockResult(base::RunLoop* loop, base 130 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc base::RunLoop loop; base 136 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc base::Bind(&CopyLockResult, &loop, &result)); base 147 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc new base::FundamentalValue(false), base 295 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc base::Time current = base::Time::UnixEpoch() + base::TimeDelta::FromDays(100); base 311 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc current += base::TimeDelta::FromDays(1); base 320 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc current += 2 * base::TimeDelta::FromSeconds(step); base 354 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc (base::Time::NowFromSystemTime() - base 355 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc base::Time::UnixEpoch()).InMilliseconds()); base 412 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc base::Bind(&DeviceCloudPolicyManagerChromeOSEnrollmentTest::Done, base 413 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc base::Unretained(this))); base 451 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 481 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 21 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 58 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc base::Bind(&DeviceCloudPolicyStoreChromeOS::OnPolicyToStoreValidated, base 83 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc base::Bind(&DeviceCloudPolicyStoreChromeOS::OnPolicyToStoreValidated, base 121 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc base::Bind(&DeviceCloudPolicyStoreChromeOS::OnPolicyStored, base 17 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h namespace base { base 38 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 77 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 79 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h base::WeakPtrFactory<DeviceCloudPolicyStoreChromeOS> weak_factory_; base 25 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc void CopyLockResult(base::RunLoop* loop, base 50 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc base::RunLoop loop; base 56 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc base::Bind(&CopyLockResult, &loop, &result)); base 74 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc base::FundamentalValue expected(false); base 76 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc base::Value::Equals(&expected, base 57 chrome/browser/chromeos/policy/device_local_account.cc base::HexEncode(account_id.c_str(), account_id.size()) + "@" + base 95 chrome/browser/chromeos/policy/device_local_account.cc base::ListValue list; base 98 chrome/browser/chromeos/policy/device_local_account.cc scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue); base 120 chrome/browser/chromeos/policy/device_local_account.cc const base::ListValue* list = NULL; base 127 chrome/browser/chromeos/policy/device_local_account.cc const base::DictionaryValue* entry = NULL; base 243 chrome/browser/chromeos/policy/device_local_account_browsertest.cc content += base::StringPrintf(kUpdateManifestTemplate, base 268 chrome/browser/chromeos/policy/device_local_account_browsertest.cc return content::Details<const base::string16>(details)-> base 269 chrome/browser/chromeos/policy/device_local_account_browsertest.cc find(base::UTF8ToUTF16(id)) != base::string16::npos; base 273 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 274 chrome/browser/chromeos/policy/device_local_account_browsertest.cc const base::Closure& callback, base 314 chrome/browser/chromeos/policy/device_local_account_browsertest.cc extension_cache_root_dir_override_.reset(new base::ScopedPathOverride( base 318 chrome/browser/chromeos/policy/device_local_account_browsertest.cc external_data_cache_dir_override_.reset(new base::ScopedPathOverride( base 357 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 358 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&chrome::AttemptExit)); base 359 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop().RunUntilIdle(); base 436 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::FilePath GetCacheDirectoryForAccountID(const std::string& account_id) { base 438 chrome/browser/chromeos/policy/device_local_account_browsertest.cc .Append(base::HexEncode(account_id.c_str(), account_id.size())); base 441 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::FilePath GetCacheCRXFile(const std::string& account_id, base 445 chrome/browser/chromeos/policy/device_local_account_browsertest.cc .Append(base::StringPrintf("%s-%s.crx", id.c_str(), version.c_str())); base 457 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<base::RunLoop> run_loop_; base 463 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::ScopedTempDir extension_cache_root_dir_; base 464 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::ScopedTempDir external_data_cache_dir_; base 465 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<base::ScopedPathOverride> extension_cache_root_dir_override_; base 466 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<base::ScopedPathOverride> external_data_cache_dir_override_; base 480 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&IsKnownUser, user_id_1_)) base 483 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&IsKnownUser, user_id_2_)) base 496 chrome/browser/chromeos/policy/device_local_account_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(display_name), user->display_name()); base 506 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 518 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 535 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&IsKnownUser, user_id_1_)) base 538 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&IsKnownUser, user_id_2_)) base 556 chrome/browser/chromeos/policy/device_local_account_browsertest.cc g_browser_process->policy_service()->RefreshPolicies(base::Closure()); base 561 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&IsNotKnownUser, user_id_2_)).Wait(); base 584 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 593 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop run_loop; base 607 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(IsSessionStarted)).Wait(); base 635 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 644 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop run_loop; base 658 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(IsSessionStarted)).Wait(); base 688 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&TestingUpdateManifestProvider::HandleRequest, base 689 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Unretained(&testing_update_manifest_provider))); base 694 chrome/browser/chromeos/policy/device_local_account_browsertest.cc forcelist->add_entries(base::StringPrintf( base 698 chrome/browser/chromeos/policy/device_local_account_browsertest.cc forcelist->add_entries(base::StringPrintf( base 711 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 720 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop run_loop; base 728 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(DoesInstallSuccessReferToId, kHostedAppID)); base 731 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(DoesInstallFailureReferToId, kGoodExtensionID)); base 757 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::FilePath test_dir; base 773 chrome/browser/chromeos/policy/device_local_account_browsertest.cc EXPECT_TRUE(base::CreateDirectory( base 775 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::FilePath test_dir; base 777 chrome/browser/chromeos/policy/device_local_account_browsertest.cc const base::FilePath cached_hosted_app = base 781 chrome/browser/chromeos/policy/device_local_account_browsertest.cc const base::FilePath cached_extension = base 789 chrome/browser/chromeos/policy/device_local_account_browsertest.cc forcelist->add_entries(base::StringPrintf( base 793 chrome/browser/chromeos/policy/device_local_account_browsertest.cc forcelist->add_entries(base::StringPrintf( base 806 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 815 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop run_loop; base 823 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(DoesInstallSuccessReferToId, kHostedAppID)); base 826 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(DoesInstallFailureReferToId, kGoodExtensionID)); base 873 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 876 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<base::RunLoop> run_loop(new base::RunLoop); base 880 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&RunCallbackAndReturnFakeURLFetcher, base 881 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::MessageLoopProxy::current(), base 889 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<base::DictionaryValue> metadata = base 892 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::JSONWriter::Write(metadata.get(), &policy); base 919 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop.reset(new base::RunLoop); base 921 chrome/browser/chromeos/policy/device_local_account_browsertest.cc policy_entry->external_data_fetcher->Fetch(base::Bind( base 937 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop.reset(new base::RunLoop); base 951 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(IsSessionStarted)).Wait(); base 962 chrome/browser/chromeos/policy/device_local_account_browsertest.cc EXPECT_TRUE(base::Value::Equals(metadata.get(), policy_entry->value)); base 967 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop.reset(new base::RunLoop); base 969 chrome/browser/chromeos/policy/device_local_account_browsertest.cc policy_entry->external_data_fetcher->Fetch(base::Bind( base 989 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 991 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::FilePath test_dir; base 994 chrome/browser/chromeos/policy/device_local_account_browsertest.cc ASSERT_TRUE(base::ReadFileToString( base 999 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::JSONWriter::Write(test::ConstructExternalDataReference( base 1014 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop_.reset(new base::RunLoop); base 1028 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::FilePath user_data_dir; base 1030 chrome/browser/chromeos/policy/device_local_account_browsertest.cc const base::FilePath saved_image_path = base 1036 chrome/browser/chromeos/policy/device_local_account_browsertest.cc const base::DictionaryValue* images_pref = base 1039 chrome/browser/chromeos/policy/device_local_account_browsertest.cc const base::DictionaryValue* image_properties; base 1067 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 1076 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop run_loop; base 1090 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(IsSessionStarted)).Wait(); base 1121 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::FilePath test_dir; base 1130 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop_.reset(new base::RunLoop); base 1144 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop_.reset(new base::RunLoop); base 1160 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop_.reset(new base::RunLoop); base 1177 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop_.reset(new base::RunLoop); base 1191 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop_.reset(new base::RunLoop); base 1206 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop().RunUntilIdle(); base 1218 chrome/browser/chromeos/policy/device_local_account_browsertest.cc run_loop_.reset(new base::RunLoop); base 1232 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop().RunUntilIdle(); base 1255 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(&DisplayNameMatches, user_id_1_, kDisplayName)).Wait(); base 1264 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop oobe_ui_wait_run_loop; base 1279 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::RunLoop login_wait_run_loop; base 1283 chrome/browser/chromeos/policy/device_local_account_browsertest.cc .WillOnce(InvokeWithoutArgs(&login_wait_run_loop, &base::RunLoop::Quit)); base 1333 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<base::Value> value_ptr(base::JSONReader::Read(json)); base 1334 chrome/browser/chromeos/policy/device_local_account_browsertest.cc const base::DictionaryValue* status = NULL; base 1353 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::UTF8ToUTF16(kDomain)), base 1357 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::UTF8ToUTF16(kDomain)), base 1361 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::UTF8ToUTF16(kDomain)), base 1374 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::FilePath test_dir; base 1377 chrome/browser/chromeos/policy/device_local_account_browsertest.cc ASSERT_TRUE(base::ReadFileToString( base 1390 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::Bind(IsSessionStarted)).Wait(); base 19 chrome/browser/chromeos/policy/device_local_account_external_data_manager.cc scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 20 chrome/browser/chromeos/policy/device_local_account_external_data_manager.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 16 chrome/browser/chromeos/policy/device_local_account_external_data_manager.h namespace base { base 37 chrome/browser/chromeos/policy/device_local_account_external_data_manager.h public base::RefCounted<DeviceLocalAccountExternalDataManager> { base 40 chrome/browser/chromeos/policy/device_local_account_external_data_manager.h friend class base::RefCounted<DeviceLocalAccountExternalDataManager>; base 54 chrome/browser/chromeos/policy/device_local_account_external_data_manager.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 55 chrome/browser/chromeos/policy/device_local_account_external_data_manager.h scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 24 chrome/browser/chromeos/policy/device_local_account_external_data_service.cc scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 25 chrome/browser/chromeos/policy/device_local_account_external_data_service.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner) base 29 chrome/browser/chromeos/policy/device_local_account_external_data_service.cc base::FilePath cache_dir; base 64 chrome/browser/chromeos/policy/device_local_account_external_data_service.cc backend_task_runner_->PostTask(FROM_HERE, base::Bind( base 66 chrome/browser/chromeos/policy/device_local_account_external_data_service.cc base::Unretained(resource_cache_.get()), base 79 chrome/browser/chromeos/policy/device_local_account_external_data_service.cc base::Bind(&GetChromePolicyDetails), base 19 chrome/browser/chromeos/policy/device_local_account_external_data_service.h namespace base { base 34 chrome/browser/chromeos/policy/device_local_account_external_data_service.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 35 chrome/browser/chromeos/policy/device_local_account_external_data_service.h scoped_refptr<base::SequencedTaskRunner> io_task_runner); base 52 chrome/browser/chromeos/policy/device_local_account_external_data_service.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner_; base 53 chrome/browser/chromeos/policy/device_local_account_external_data_service.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 61 chrome/browser/chromeos/policy/device_local_account_policy_provider.cc new base::FundamentalValue( base 70 chrome/browser/chromeos/policy/device_local_account_policy_provider.cc new base::StringValue("Never"), base 78 chrome/browser/chromeos/policy/device_local_account_policy_provider.cc new base::FundamentalValue(true), base 86 chrome/browser/chromeos/policy/device_local_account_policy_provider.cc new base::FundamentalValue(false), base 109 chrome/browser/chromeos/policy/device_local_account_policy_provider.cc base::Bind(&DeviceLocalAccountPolicyProvider::ReportPolicyRefresh, base 78 chrome/browser/chromeos/policy/device_local_account_policy_provider.h base::WeakPtrFactory<DeviceLocalAccountPolicyProvider> weak_factory_; base 77 chrome/browser/chromeos/policy/device_local_account_policy_service.cc return base::HexEncode(account_id.c_str(), account_id.size()); base 85 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::FilePath cache_root_dir; base 88 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::FileEnumerator enumerator(cache_root_dir, base 90 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::FileEnumerator::DIRECTORIES); base 91 chrome/browser/chromeos/policy/device_local_account_policy_service.cc for (base::FilePath path = enumerator.Next(); !path.empty(); base 96 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::DeleteFile(path, true); base 105 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::FilePath cache_root_dir; base 108 chrome/browser/chromeos/policy/device_local_account_policy_service.cc const base::FilePath path = cache_root_dir base 110 chrome/browser/chromeos/policy/device_local_account_policy_service.cc if (base::DirectoryExists(path)) base 111 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::DeleteFile(path, true); base 120 chrome/browser/chromeos/policy/device_local_account_policy_service.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner) base 129 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::FilePath cache_root_dir; base 168 chrome/browser/chromeos/policy/device_local_account_policy_service.cc const base::Value* policy_value = base 178 chrome/browser/chromeos/policy/device_local_account_policy_service.cc const base::Value* display_name_value = base 189 chrome/browser/chromeos/policy/device_local_account_policy_service.cc scoped_refptr<base::SequencedTaskRunner> store_background_task_runner, base 190 chrome/browser/chromeos/policy/device_local_account_policy_service.cc scoped_refptr<base::SequencedTaskRunner> extension_cache_task_runner, base 191 chrome/browser/chromeos/policy/device_local_account_policy_service.cc scoped_refptr<base::SequencedTaskRunner> base 193 chrome/browser/chromeos/policy/device_local_account_policy_service.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 206 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::Bind(&DeviceLocalAccountPolicyService:: base 208 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::Unretained(this)))), base 340 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::Bind(&DeleteObsoleteExtensionCache, account_id), base 341 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::Bind(&DeviceLocalAccountPolicyService:: base 372 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::Bind(&DeviceLocalAccountPolicyService::UpdateAccountList, base 419 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::MessageLoopProxy::current())); base 458 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::Bind(&DeleteOrphanedExtensionCaches, subdirectories_to_keep), base 459 chrome/browser/chromeos/policy/device_local_account_policy_service.cc base::Bind(&DeviceLocalAccountPolicyService:: base 490 chrome/browser/chromeos/policy/device_local_account_policy_service.cc extension_loader->StopCache(base::Bind( base 24 chrome/browser/chromeos/policy/device_local_account_policy_service.h namespace base { base 54 chrome/browser/chromeos/policy/device_local_account_policy_service.h const scoped_refptr<base::SequencedTaskRunner>& task_runner); base 123 chrome/browser/chromeos/policy/device_local_account_policy_service.h scoped_refptr<base::SequencedTaskRunner> store_background_task_runner, base 124 chrome/browser/chromeos/policy/device_local_account_policy_service.h scoped_refptr<base::SequencedTaskRunner> extension_cache_task_runner, base 125 chrome/browser/chromeos/policy/device_local_account_policy_service.h scoped_refptr<base::SequencedTaskRunner> base 127 chrome/browser/chromeos/policy/device_local_account_policy_service.h scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 222 chrome/browser/chromeos/policy/device_local_account_policy_service.h const scoped_refptr<base::SequencedTaskRunner> store_background_task_runner_; base 223 chrome/browser/chromeos/policy/device_local_account_policy_service.h const scoped_refptr<base::SequencedTaskRunner> extension_cache_task_runner_; base 232 chrome/browser/chromeos/policy/device_local_account_policy_service.h base::WeakPtrFactory<DeviceLocalAccountPolicyService> weak_factory_; base 96 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> extension_cache_task_runner_; base 132 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc extension_cache_task_runner_(new base::TestSimpleTaskRunner) { base 141 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc new base::FundamentalValue(true), base 167 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::MessageLoop::current()->message_loop_proxy()))); base 455 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::Bind(&DeviceLocalAccountPolicyServiceTest::OnRefreshDone, base 456 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::Unretained(this))); base 477 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::FilePath GetCacheDirectoryForAccountID(const std::string& account_id); base 479 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::ScopedTempDir cache_root_dir_; base 480 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc scoped_ptr<base::ScopedPathOverride> cache_root_dir_override_; base 482 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::FilePath cache_dir_1_; base 483 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::FilePath cache_dir_2_; base 484 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::FilePath cache_dir_3_; base 497 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc cache_root_dir_override_.reset(new base::ScopedPathOverride( base 507 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc forcelist->add_entries(base::StringPrintf("%s;%s", kExtensionID, kUpdateURL)); base 510 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::FilePath DeviceLocalAccountPolicyExtensionCacheTest:: base 512 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc return cache_root_dir_.path().Append(base::HexEncode(account_id.c_str(), base 521 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::FilePath test_data_dir; base 523 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc const base::FilePath source_crx_file = base 526 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::StringPrintf("%s-%s.crx", kExtensionID, kExtensionVersion); base 529 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc EXPECT_TRUE(base::CreateDirectory(cache_dir_1_)); base 534 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc EXPECT_TRUE(base::CreateDirectory(cache_dir_3_)); base 552 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc EXPECT_TRUE(base::DirectoryExists(cache_dir_1_)); base 557 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc EXPECT_TRUE(base::DirectoryExists(cache_dir_2_)); base 560 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc EXPECT_FALSE(base::DirectoryExists(cache_dir_3_)); base 608 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::RunLoop().RunUntilIdle(); base 645 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::RunLoop().RunUntilIdle(); base 648 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc EXPECT_TRUE(base::DirectoryExists(cache_dir_1_)); base 675 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::RunLoop().RunUntilIdle(); base 690 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::RunLoop().RunUntilIdle(); base 693 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc EXPECT_FALSE(base::DirectoryExists(cache_dir_1_)); base 735 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc EXPECT_TRUE(base::DirectoryExists(cache_dir_1_)); base 742 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc base::RunLoop().RunUntilIdle(); base 746 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc EXPECT_FALSE(base::DirectoryExists(cache_dir_1_)); base 782 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc new base::FundamentalValue( base 789 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc new base::StringValue("Never"), base 794 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc new base::FundamentalValue(true), base 799 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc new base::FundamentalValue(false), base 865 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc new base::FundamentalValue(false), base 27 chrome/browser/chromeos/policy/device_local_account_policy_store.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 40 chrome/browser/chromeos/policy/device_local_account_policy_store.cc base::Bind(&DeviceLocalAccountPolicyStore::ValidateLoadedPolicyBlob, base 50 chrome/browser/chromeos/policy/device_local_account_policy_store.cc base::Bind(&DeviceLocalAccountPolicyStore::StoreValidatedPolicy, base 65 chrome/browser/chromeos/policy/device_local_account_policy_store.cc base::Bind(&DeviceLocalAccountPolicyStore::UpdatePolicy, base 107 chrome/browser/chromeos/policy/device_local_account_policy_store.cc base::Bind(&DeviceLocalAccountPolicyStore::HandleStoreResult, base 125 chrome/browser/chromeos/policy/device_local_account_policy_store.cc base::Bind(&DeviceLocalAccountPolicyStore::Validate, base 128 chrome/browser/chromeos/policy/device_local_account_policy_store.cc base::Passed(&policy), base 19 chrome/browser/chromeos/policy/device_local_account_policy_store.h namespace base { base 45 chrome/browser/chromeos/policy/device_local_account_policy_store.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 87 chrome/browser/chromeos/policy/device_local_account_policy_store.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 89 chrome/browser/chromeos/policy/device_local_account_policy_store.h base::WeakPtrFactory<DeviceLocalAccountPolicyStore> weak_factory_; base 51 chrome/browser/chromeos/policy/device_network_configuration_updater.cc base::Bind( base 53 chrome/browser/chromeos/policy/device_network_configuration_updater.cc base::Unretained(this))); base 64 chrome/browser/chromeos/policy/device_network_configuration_updater.cc const base::ListValue& certificates_onc) { base 71 chrome/browser/chromeos/policy/device_network_configuration_updater.cc base::ListValue* network_configs_onc, base 72 chrome/browser/chromeos/policy/device_network_configuration_updater.cc base::DictionaryValue* global_network_config) { base 81 chrome/browser/chromeos/policy/device_network_configuration_updater.cc cros_settings_->PrepareTrustedValues(base::Bind( base 18 chrome/browser/chromeos/policy/device_network_configuration_updater.h namespace base { base 61 chrome/browser/chromeos/policy/device_network_configuration_updater.h virtual void ImportCertificates(const base::ListValue& certificates_onc) base 63 chrome/browser/chromeos/policy/device_network_configuration_updater.h virtual void ApplyNetworkPolicy(base::ListValue* network_configs_onc, base 64 chrome/browser/chromeos/policy/device_network_configuration_updater.h base::DictionaryValue* global_network_config) base 70 chrome/browser/chromeos/policy/device_network_configuration_updater.h scoped_ptr<base::CallbackList<void(void)>::Subscription> base 73 chrome/browser/chromeos/policy/device_network_configuration_updater.h base::WeakPtrFactory<DeviceNetworkConfigurationUpdater> weak_factory_; base 48 chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc base::FilePath install_attrs_file = base 53 chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc base::WriteFile(install_attrs_file, base 61 chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc base::FilePath owner_key_file = temp_dir_.path().AppendASCII("owner.key"); base 65 chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc ASSERT_EQ(base::WriteFile( base 38 chrome/browser/chromeos/policy/device_policy_cros_browser_test.h base::ScopedTempDir temp_dir_; base 39 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc scoped_ptr<base::Value> DecodeIntegerValue(google::protobuf::int64 value) { base 44 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc return scoped_ptr<base::Value>(); base 47 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc return scoped_ptr<base::Value>( base 48 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue(static_cast<int>(value))); base 55 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc scoped_ptr<base::Value> DecodeJsonStringAndDropUnknownBySchema( base 59 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::Value* root(base::JSONReader::ReadAndReturnError( base 60 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc json_string, base::JSON_ALLOW_TRAILING_COMMAS, NULL, &error)); base 64 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc return scoped_ptr<base::Value>(); base 80 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc return scoped_ptr<base::Value>(); base 90 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc return scoped_ptr<base::Value>(); base 93 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc return scoped_ptr<base::Value>(root); base 96 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::Value* DecodeConnectionType(int value) { base 108 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc return new base::StringValue(kConnectionTypes[value]); base 119 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 131 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 143 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 151 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::ListValue* whitelist = new base::ListValue(); base 156 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc whitelist->Append(new base::StringValue(*entry)); base 172 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 183 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc scoped_ptr<base::ListValue> account_list(new base::ListValue()); base 186 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc scoped_ptr<base::DictionaryValue> entry_dict( base 187 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::DictionaryValue()); base 221 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::StringValue(container.auto_login_id()), base 235 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 243 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 253 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::Value* value = new base::FundamentalValue( base 299 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::StringValue( base 315 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::ListValue* app_pack_list = new base::ListValue(); base 319 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 334 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::ListValue* pinned_apps_list = new base::ListValue(); base 337 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::StringValue(container.app_id(i))); base 354 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc scoped_ptr<base::DictionaryValue> proxy_settings(new base::DictionaryValue); base 386 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 399 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::StringValue(config), base 412 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 420 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 428 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 436 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 444 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 452 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue(container.report_users()), base 467 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::StringValue(channel), base 479 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 491 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 500 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::StringValue( base 512 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue(static_cast<int>( base 518 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::ListValue* allowed_connection_types = new base::ListValue(); base 523 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::Value* value = DecodeConnectionType(*entry); base 539 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue(container.http_downloads_enabled()), base 547 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 556 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue(container.p2p_enabled()), base 573 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 583 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 593 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 612 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 640 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 648 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::ListValue* urls = new base::ListValue(); base 653 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc urls->Append(new base::StringValue(*entry)); base 667 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::StringValue( base 678 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 691 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 710 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc base::ListValue* flags = new base::ListValue(); base 715 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc flags->Append(new base::StringValue(*entry)); base 729 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::StringValue( base 740 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 749 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::FundamentalValue( base 759 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc scoped_ptr<base::Value> decoded_json; base 779 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc new base::StringValue( base 38 chrome/browser/chromeos/policy/device_status_collector.cc using base::Time; base 39 chrome/browser/chromeos/policy/device_status_collector.cc using base::TimeDelta; base 96 chrome/browser/chromeos/policy/device_status_collector.cc base::Bind(&DeviceStatusCollector::Context::GetLocationUpdateInternal, base 101 chrome/browser/chromeos/policy/device_status_collector.cc our_callback_ = base::Bind( base 115 chrome/browser/chromeos/policy/device_status_collector.cc base::Bind(&DeviceStatusCollector::Context::CallCollector, base 149 chrome/browser/chromeos/policy/device_status_collector.cc base::Bind(&Context::GetLocationUpdate, context_.get()); base 159 chrome/browser/chromeos/policy/device_status_collector.cc base::Closure callback = base 160 chrome/browser/chromeos/policy/device_status_collector.cc base::Bind(&DeviceStatusCollector::UpdateReportingSettings, base 161 chrome/browser/chromeos/policy/device_status_collector.cc base::Unretained(this)); base 181 chrome/browser/chromeos/policy/device_status_collector.cc const base::DictionaryValue* location = base 191 chrome/browser/chromeos/policy/device_status_collector.cc base::StringToInt64(timestamp_str, ×tamp)) { base 202 chrome/browser/chromeos/policy/device_status_collector.cc base::Bind(&DeviceStatusCollector::OnOSVersion, base::Unretained(this)), base 205 chrome/browser/chromeos/policy/device_status_collector.cc base::Bind(&DeviceStatusCollector::OnOSFirmware, base::Unretained(this)), base 215 chrome/browser/chromeos/policy/device_status_collector.cc new base::DictionaryValue); base 217 chrome/browser/chromeos/policy/device_status_collector.cc new base::DictionaryValue); base 222 chrome/browser/chromeos/policy/device_status_collector.cc base::Bind(&DeviceStatusCollector::IdleStateCallback, base 223 chrome/browser/chromeos/policy/device_status_collector.cc base::Unretained(this))); base 232 chrome/browser/chromeos/policy/device_status_collector.cc base::Bind(&DeviceStatusCollector::UpdateReportingSettings, base 275 chrome/browser/chromeos/policy/device_status_collector.cc const base::DictionaryValue* activity_times = base 278 chrome/browser/chromeos/policy/device_status_collector.cc scoped_ptr<base::DictionaryValue> copy(activity_times->DeepCopy()); base 279 chrome/browser/chromeos/policy/device_status_collector.cc for (base::DictionaryValue::Iterator it(*activity_times); !it.IsAtEnd(); base 282 chrome/browser/chromeos/policy/device_status_collector.cc if (base::StringToInt64(it.key(), ×tamp)) { base 307 chrome/browser/chromeos/policy/device_status_collector.cc base::DictionaryValue* activity_times = update.Get(); base 314 chrome/browser/chromeos/policy/device_status_collector.cc std::string day_key = base::Int64ToString(TimestampToDayKey(start)); base 350 chrome/browser/chromeos/policy/device_status_collector.cc base::DictionaryValue* activity_times = update.Get(); base 352 chrome/browser/chromeos/policy/device_status_collector.cc for (base::DictionaryValue::Iterator it(*activity_times); !it.IsAtEnd(); base 356 chrome/browser/chromeos/policy/device_status_collector.cc if (base::StringToInt64(it.key(), &start_timestamp) && base 557 chrome/browser/chromeos/policy/device_status_collector.cc location_update_requester_.Run(base::Bind( base 569 chrome/browser/chromeos/policy/device_status_collector.cc location_update_requester_.Run(base::Bind( base 585 chrome/browser/chromeos/policy/device_status_collector.cc base::DictionaryValue location; base 594 chrome/browser/chromeos/policy/device_status_collector.cc base::Int64ToString(position.timestamp.ToInternalValue())); base 52 chrome/browser/chromeos/policy/device_status_collector.h typedef base::Callback<void( base 81 chrome/browser/chromeos/policy/device_status_collector.h virtual base::Time GetCurrentTime(); base 98 chrome/browser/chromeos/policy/device_status_collector.h class Context : public base::RefCountedThreadSafe<Context> { base 106 chrome/browser/chromeos/policy/device_status_collector.h friend class base::RefCountedThreadSafe<Context>; base 124 chrome/browser/chromeos/policy/device_status_collector.h void PruneStoredActivityPeriods(base::Time base_time); base 133 chrome/browser/chromeos/policy/device_status_collector.h void AddActivePeriod(base::Time start, base::Time end); base 167 chrome/browser/chromeos/policy/device_status_collector.h base::Time last_idle_check_; base 179 chrome/browser/chromeos/policy/device_status_collector.h base::RepeatingTimer<DeviceStatusCollector> idle_poll_timer_; base 180 chrome/browser/chromeos/policy/device_status_collector.h base::OneShotTimer<DeviceStatusCollector> geolocation_update_timer_; base 183 chrome/browser/chromeos/policy/device_status_collector.h base::CancelableTaskTracker tracker_; base 194 chrome/browser/chromeos/policy/device_status_collector.h base::WeakPtrFactory<DeviceStatusCollector> weak_factory_; base 44 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc using base::Time; base 45 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc using base::TimeDelta; base 159 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 199 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc base::Bind(&MockPositionUpdateRequester); base 259 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc base::MessageLoopForUI message_loop_; base 710 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc base::StringValue(dev.mac_address)); base 715 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc base::StringValue(dev.meid)); base 720 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc base::StringValue(dev.imei)); base 725 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc base::RunLoop().RunUntilIdle(); base 44 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc base::MessageLoop::current()->QuitWhenIdleClosure()); base 47 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc base::MessageLoop::current()->Run(); base 57 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc static base::HourClockType TestGetPrimarySystemTrayTimeHourType() { base 82 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc static base::HourClockType TestGetPrimarySystemTrayDateHourType() { base 102 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayTimeHourType()); base 106 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayDateHourType()); base 116 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayTimeHourType()); base 118 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayDateHourType()); base 129 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k24HourClock, TestGetPrimarySystemTrayTimeHourType()); base 132 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k24HourClock, TestGetPrimarySystemTrayDateHourType()); base 142 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayTimeHourType()); base 144 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayDateHourType()); base 155 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayTimeHourType()); base 157 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc EXPECT_EQ(base::k12HourClock, TestGetPrimarySystemTrayDateHourType()); base 44 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner, base 112 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc validator->ValidateTimestamp(base::Time(), base::Time::NowFromSystemTime(), base 133 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc base::Bind(&EnrollmentHandlerChromeOS::PolicyValidated, base 299 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc base::Bind(&EnrollmentHandlerChromeOS::HandleLockDeviceResult, base 318 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc base::Bind(&EnrollmentHandlerChromeOS::HandleRobotAuthTokenStored, base 328 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc base::MessageLoop::current()->PostDelayedTask( base 330 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc base::Bind(&EnrollmentHandlerChromeOS::StartLockDevice, base 333 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc base::TimeDelta::FromMilliseconds(kLockRetryIntervalMs)); base 22 chrome/browser/chromeos/policy/enrollment_handler_chromeos.h namespace base { base 61 chrome/browser/chromeos/policy/enrollment_handler_chromeos.h scoped_refptr<base::SequencedTaskRunner> background_task_runner, base 148 chrome/browser/chromeos/policy/enrollment_handler_chromeos.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 176 chrome/browser/chromeos/policy/enrollment_handler_chromeos.h base::WeakPtrFactory<EnrollmentHandlerChromeOS> weak_ptr_factory_; base 103 chrome/browser/chromeos/policy/enterprise_install_attributes.cc const base::FilePath& cache_file) { base 104 chrome/browser/chromeos/policy/enterprise_install_attributes.cc if (device_locked_ || !base::PathExists(cache_file)) base 110 chrome/browser/chromeos/policy/enterprise_install_attributes.cc int len = base::ReadFile(cache_file, buf, sizeof(buf)); base 138 chrome/browser/chromeos/policy/enterprise_install_attributes.cc const base::Closure& callback) { base 145 chrome/browser/chromeos/policy/enterprise_install_attributes.cc base::Bind(&EnterpriseInstallAttributes::ReadAttributesIfReady, base 151 chrome/browser/chromeos/policy/enterprise_install_attributes.cc const base::Closure& callback, base 206 chrome/browser/chromeos/policy/enterprise_install_attributes.cc base::Bind(&EnterpriseInstallAttributes::LockDeviceIfAttributesIsReady, base 283 chrome/browser/chromeos/policy/enterprise_install_attributes.cc base::Bind(&EnterpriseInstallAttributes::OnReadImmutableAttributes, base 36 chrome/browser/chromeos/policy/enterprise_install_attributes.h typedef base::Callback<void(LockResult lock_result)> LockResultCallback; base 60 chrome/browser/chromeos/policy/enterprise_install_attributes.h void ReadCacheFile(const base::FilePath& cache_file); base 66 chrome/browser/chromeos/policy/enterprise_install_attributes.h void ReadImmutableAttributes(const base::Closure& callback); base 114 chrome/browser/chromeos/policy/enterprise_install_attributes.h const base::Closure& callback, base 134 chrome/browser/chromeos/policy/enterprise_install_attributes.h base::WeakPtrFactory<EnterpriseInstallAttributes> weak_ptr_factory_; base 25 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc void CopyLockResult(base::RunLoop* loop, base 56 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc base::FilePath GetTempPath() const { base 70 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc base::MessageLoopForUI message_loop_; base 71 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc base::ScopedTempDir temp_dir_; base 79 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc base::RunLoop loop; base 82 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc base::Bind(&CopyLockResult, &loop, &result)); base 185 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc base::RunLoop loop; base 186 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc install_attributes_.ReadImmutableAttributes(base::Bind(loop.QuitClosure())); base 218 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc base::RunLoop loop; base 219 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc install_attributes_.ReadImmutableAttributes(base::Bind(loop.QuitClosure())); base 237 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc base::WriteFile(GetTempPath(), blob.c_str(), blob.size())); base 251 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc base::WriteFile(GetTempPath(), blob.c_str(), blob.size())); base 34 chrome/browser/chromeos/policy/login_profile_policy_provider.cc scoped_ptr<base::Value> GetAction(const std::string &action) { base 36 chrome/browser/chromeos/policy/login_profile_policy_provider.cc return scoped_ptr<base::Value>(new base::FundamentalValue( base 40 chrome/browser/chromeos/policy/login_profile_policy_provider.cc return scoped_ptr<base::Value>(new base::FundamentalValue( base 44 chrome/browser/chromeos/policy/login_profile_policy_provider.cc return scoped_ptr<base::Value>(new base::FundamentalValue( base 48 chrome/browser/chromeos/policy/login_profile_policy_provider.cc return scoped_ptr<base::Value>(new base::FundamentalValue( base 51 chrome/browser/chromeos/policy/login_profile_policy_provider.cc return scoped_ptr<base::Value>(); base 62 chrome/browser/chromeos/policy/login_profile_policy_provider.cc const base::Value* value = device_policy_map.GetValue(device_policy); base 74 chrome/browser/chromeos/policy/login_profile_policy_provider.cc void ApplyValueAsMandatoryPolicy(const base::Value* value, base 114 chrome/browser/chromeos/policy/login_profile_policy_provider.cc device_policy_service_->RefreshPolicies(base::Bind( base 169 chrome/browser/chromeos/policy/login_profile_policy_provider.cc const base::Value* value = base 171 chrome/browser/chromeos/policy/login_profile_policy_provider.cc const base::DictionaryValue* dict = NULL; base 173 chrome/browser/chromeos/policy/login_profile_policy_provider.cc scoped_ptr<base::DictionaryValue> policy_value(dict->DeepCopy()); base 175 chrome/browser/chromeos/policy/login_profile_policy_provider.cc base::Value* screen_dim_delay_scale = NULL; base 178 chrome/browser/chromeos/policy/login_profile_policy_provider.cc scoped_ptr<base::Value> action = GetAction(lid_close_action); base 46 chrome/browser/chromeos/policy/login_profile_policy_provider.h base::WeakPtrFactory<LoginProfilePolicyProvider> weak_factory_; base 56 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::RunLoop run_loop_; base 66 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc registrar_.Add(pref_name, base::Bind(&PrefChangeWatcher::OnPrefChange, base 67 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::Unretained(this))); base 112 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc const base::Value& recommended_value); base 194 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 195 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::Bind(&chrome::AttemptExit)); base 196 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 202 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc const base::Value& recommended_value) { base 208 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc EXPECT_TRUE(base::Value::Equals(&recommended_value, pref->GetValue())); base 209 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc EXPECT_TRUE(base::Value::Equals(&recommended_value, base 255 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::FundamentalValue(true)); base 279 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::FundamentalValue(true)); base 303 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::FundamentalValue(true)); base 327 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::FundamentalValue(true)); base 329 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::FundamentalValue(ash::MAGNIFIER_FULL)); base 452 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc base::FundamentalValue(true)); base 56 chrome/browser/chromeos/policy/network_configuration_updater.cc base::Bind(&NetworkConfigurationUpdater::OnPolicyChanged, base 57 chrome/browser/chromeos/policy/network_configuration_updater.cc base::Unretained(this))); base 68 chrome/browser/chromeos/policy/network_configuration_updater.cc const base::Value* previous, base 69 chrome/browser/chromeos/policy/network_configuration_updater.cc const base::Value* current) { base 77 chrome/browser/chromeos/policy/network_configuration_updater.cc const base::Value* policy_value = policies.GetValue(policy_key_); base 85 chrome/browser/chromeos/policy/network_configuration_updater.cc base::ListValue network_configs; base 86 chrome/browser/chromeos/policy/network_configuration_updater.cc base::DictionaryValue global_network_config; base 87 chrome/browser/chromeos/policy/network_configuration_updater.cc base::ListValue certificates; base 16 chrome/browser/chromeos/policy/network_configuration_updater.h namespace base { base 56 chrome/browser/chromeos/policy/network_configuration_updater.h virtual void ImportCertificates(const base::ListValue& certificates_onc) = 0; base 62 chrome/browser/chromeos/policy/network_configuration_updater.h base::ListValue* network_configs_onc, base 63 chrome/browser/chromeos/policy/network_configuration_updater.h base::DictionaryValue* global_network_config) = 0; base 72 chrome/browser/chromeos/policy/network_configuration_updater.h void OnPolicyChanged(const base::Value* previous, const base::Value* current); base 112 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc std::string ValueToString(const base::Value& value) { base 118 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc void AppendAll(const base::ListValue& from, base::ListValue* to) { base 119 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc for (base::ListValue::const_iterator it = from.begin(); it != from.end(); base 158 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc scoped_ptr<base::DictionaryValue> fake_toplevel_onc = base 161 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::ListValue* network_configs = NULL; base 166 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::DictionaryValue* global_config = NULL; base 171 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::ListValue* certs = NULL; base 184 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::RunLoop().RunUntilIdle(); base 193 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::RunLoop().RunUntilIdle(); base 198 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::RunLoop().RunUntilIdle(); base 230 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::ListValue fake_network_configs_; base 231 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::DictionaryValue fake_global_network_config_; base 232 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::ListValue fake_certificates_; base 273 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::FundamentalValue(false)); base 279 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::FundamentalValue(true)); base 283 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::FundamentalValue(false)); base 288 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc scoped_ptr<base::DictionaryValue> onc_repaired = base 292 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::ListValue* network_configs_repaired = NULL; base 297 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::DictionaryValue* global_config_repaired = NULL; base 309 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc new base::StringValue(onc_policy), base 352 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::RunLoop().RunUntilIdle(); base 385 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::RunLoop().RunUntilIdle(); base 413 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::RunLoop().RunUntilIdle(); base 442 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc new base::StringValue(kFakeONC), base 445 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc base::RunLoop().RunUntilIdle(); base 463 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc POLICY_SCOPE_USER, new base::StringValue(kFakeONC), NULL); base 537 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc new base::StringValue(kFakeONC), NULL); base 559 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc new base::StringValue(kFakeONC), NULL); base 599 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc new base::StringValue(kFakeONC), NULL); base 642 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc new base::StringValue(kFakeONC), NULL); base 48 chrome/browser/chromeos/policy/policy_cert_service.cc base::Closure callback = base::Bind( base 51 chrome/browser/chromeos/policy/policy_cert_service.cc base::Bind(base::IgnoreResult(&content::BrowserThread::PostTask), base 91 chrome/browser/chromeos/policy/policy_cert_service.cc base::Bind(&PolicyCertVerifier::SetTrustAnchors, base 92 chrome/browser/chromeos/policy/policy_cert_service.cc base::Unretained(cert_verifier_), base 82 chrome/browser/chromeos/policy/policy_cert_service.h base::WeakPtrFactory<PolicyCertService> weak_ptr_factory_; base 62 chrome/browser/chromeos/policy/policy_cert_service_factory.cc update->Remove(base::StringValue(user_id), NULL); base 68 chrome/browser/chromeos/policy/policy_cert_service_factory.cc base::StringValue value(user_id); base 69 chrome/browser/chromeos/policy/policy_cert_service_factory.cc const base::ListValue* list = base 19 chrome/browser/chromeos/policy/policy_cert_verifier.cc const base::Closure& anchor_used_callback, base 30 chrome/browser/chromeos/policy/policy_cert_verifier.cc const base::Closure& anchor_used_callback, base 43 chrome/browser/chromeos/policy/policy_cert_verifier.cc const base::Closure& anchor_used_callback) base 83 chrome/browser/chromeos/policy/policy_cert_verifier.cc base::Bind(&CompleteAndSignalAnchorUse, base 39 chrome/browser/chromeos/policy/policy_cert_verifier.h explicit PolicyCertVerifier(const base::Closure& anchor_used_callback); base 66 chrome/browser/chromeos/policy/policy_cert_verifier.h base::Closure anchor_used_callback_; base 46 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc cert_verifier_.reset(new PolicyCertVerifier(base::Bind( base 47 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc &PolicyCertVerifierTest::OnTrustAnchorUsed, base::Unretained(this)))); base 88 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc base::RunLoop().RunUntilIdle(); base 84 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc base::Bind(&PolicyOAuth2TokenFetcher::StartFetchingRefreshToken, base 90 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc const base::Time& expiration_time) { base 101 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc base::Bind(&PolicyOAuth2TokenFetcher::StartFetchingAccessToken, base 106 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc const base::Closure& task) { base 115 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); base 34 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h : public base::SupportsWeakPtr<PolicyOAuth2TokenFetcher>, base 38 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h typedef base::Callback<void(const std::string&, base 85 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h const base::Time& expiration_time) OVERRIDE; base 99 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h const base::Closure& task); base 146 chrome/browser/chromeos/policy/power_policy_browsertest.cc void RunClosureAndWaitForUserPolicyUpdate(const base::Closure& closure, base 202 chrome/browser/chromeos/policy/power_policy_browsertest.cc base::FilePath user_keys_dir; base 207 chrome/browser/chromeos/policy/power_policy_browsertest.cc base::FilePath user_key_file = base 212 chrome/browser/chromeos/policy/power_policy_browsertest.cc ASSERT_TRUE(base::CreateDirectory(user_key_file.DirName())); base 213 chrome/browser/chromeos/policy/power_policy_browsertest.cc ASSERT_EQ(base::WriteFile( base 234 chrome/browser/chromeos/policy/power_policy_browsertest.cc base::Bind(&PowerPolicyBrowserTestBase::ReloadUserPolicy, this, profile), base 247 chrome/browser/chromeos/policy/power_policy_browsertest.cc base::Bind(&PowerPolicyBrowserTestBase::RefreshDevicePolicy, this), base 257 chrome/browser/chromeos/policy/power_policy_browsertest.cc const base::Closure& closure, base 259 chrome/browser/chromeos/policy/power_policy_browsertest.cc base::RunLoop run_loop; base 262 chrome/browser/chromeos/policy/power_policy_browsertest.cc .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 300 chrome/browser/chromeos/policy/power_policy_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 301 chrome/browser/chromeos/policy/power_policy_browsertest.cc base::Bind(&chrome::AttemptExit)); base 302 chrome/browser/chromeos/policy/power_policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 493 chrome/browser/chromeos/policy/power_policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 38 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Bind(&RecommendationRestorer::Restore, base 39 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Unretained(this), true)); base 41 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Bind(&RecommendationRestorer::Restore, base 42 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Unretained(this), true)); base 44 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Bind(&RecommendationRestorer::Restore, base 45 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Unretained(this), true)); base 47 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Bind(&RecommendationRestorer::Restore, base 48 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Unretained(this), true)); base 50 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Bind(&RecommendationRestorer::Restore, base 51 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Unretained(this), true)); base 53 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Bind(&RecommendationRestorer::Restore, base 54 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Unretained(this), true)); base 146 chrome/browser/chromeos/policy/recommendation_restorer.cc base::TimeDelta::FromMilliseconds(kRestoreDelayInMs), base 147 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Bind(&RecommendationRestorer::RestoreAll, base 148 chrome/browser/chromeos/policy/recommendation_restorer.cc base::Unretained(this))); base 67 chrome/browser/chromeos/policy/recommendation_restorer.h base::OneShotTimer<RecommendationRestorer> restore_timer_; base 59 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const base::Value& expected_value) const; base 62 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const base::Value& expected_value) const; base 73 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner_; base 74 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::ThreadTaskRunnerHandle runner_handler_; base 93 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc runner_(new base::TestSimpleTaskRunner), base 134 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::UTF8ToUTF16(chrome::kInitialProfile), 0, std::string(), base 143 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc "user", prefs_owner_.Pass(), base::UTF8ToUTF16("user"), 0, std::string(), base 163 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const base::Value& expected_value) const { base 168 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const base::Value* value = pref->GetValue(); base 175 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 177 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 179 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 181 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 183 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(ash::MAGNIFIER_FULL)); base 185 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 190 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const base::Value& expected_value) const { base 196 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const base::Value* value = pref->GetValue(); base 203 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 205 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 207 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 209 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 211 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(0)); base 213 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 230 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc EXPECT_EQ(base::TimeDelta::FromMilliseconds(kRestoreDelayInMs), base 286 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 290 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 295 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 299 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 304 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 308 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 314 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 316 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(ash::MAGNIFIER_FULL)); base 320 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 322 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(0)); base 326 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 330 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 344 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 348 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 351 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 355 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 358 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 362 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 365 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 367 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(ash::MAGNIFIER_FULL)); base 372 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 374 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(0)); base 377 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 381 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 393 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 398 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 403 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 408 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 414 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 416 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(ash::MAGNIFIER_FULL)); base 421 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 437 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 441 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 446 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 450 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 455 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 459 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 465 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 467 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(ash::MAGNIFIER_FULL)); base 471 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 473 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(0)); base 478 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 482 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 532 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(true)); base 538 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc base::FundamentalValue(false)); base 24 chrome/browser/chromeos/policy/user_cloud_external_data_manager.cc scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 25 chrome/browser/chromeos/policy/user_cloud_external_data_manager.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 26 chrome/browser/chromeos/policy/user_cloud_external_data_manager.cc const base::FilePath& cache_path, base 14 chrome/browser/chromeos/policy/user_cloud_external_data_manager.h namespace base { base 38 chrome/browser/chromeos/policy/user_cloud_external_data_manager.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 39 chrome/browser/chromeos/policy/user_cloud_external_data_manager.h scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 40 chrome/browser/chromeos/policy/user_cloud_external_data_manager.h const base::FilePath& cache_path, base 52 chrome/browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc base::FilePath test_dir; base 55 chrome/browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc ASSERT_TRUE(base::ReadFileToString(test_dir.AppendASCII(kExternalDataPath), base 59 chrome/browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc scoped_ptr<base::DictionaryValue> metadata = base 86 chrome/browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc EXPECT_TRUE(base::Value::Equals(metadata.get(), policy_entry->value)); base 89 chrome/browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc base::RunLoop run_loop; base 91 chrome/browser/chromeos/policy/user_cloud_external_data_manager_browsertest.cc policy_entry->external_data_fetcher->Fetch(base::Bind( base 72 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc const base::FilePath& component_policy_cache_path, base 74 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc base::TimeDelta initial_policy_fetch_timeout, base 75 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 76 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 77 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) base 89 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc time_init_started_ = base::Time::Now(); base 94 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc base::Bind(&UserCloudPolicyManagerChromeOS::OnBlockingFetchTimeout, base 95 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc base::Unretained(this))); base 149 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc base::Bind(&OnWildcardCheckCompleted, wildcard_username_)); base 193 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc time_init_completed_ = base::Time::Now(); base 239 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc time_client_registered_ = base::Time::Now(); base 249 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc base::Bind( base 251 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc base::Unretained(this))); base 290 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc base::Bind(&UserCloudPolicyManagerChromeOS::OnOAuth2PolicyTokenFetched, base 291 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc base::Unretained(this)))); base 299 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc time_token_available_ = base::Time::Now(); base 328 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc const base::Time now = base::Time::Now(); base 26 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h namespace base { base 58 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h const base::FilePath& component_policy_cache_path, base 60 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h base::TimeDelta initial_policy_fetch_timeout, base 61 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 62 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 63 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h const scoped_refptr<base::SequencedTaskRunner>& io_task_runner); base 143 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h base::FilePath component_policy_cache_path_; base 151 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h base::Timer policy_fetch_timeout_; base 168 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h base::Time time_init_started_; base 169 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h base::Time time_init_completed_; base 170 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h base::Time time_token_available_; base 171 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h base::Time time_client_registered_; base 85 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc task_runner_(new base::TestSimpleTaskRunner()), base 101 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::UTF8ToUTF16("testing_profile"), 0, std::string(), factories); base 116 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc new base::StringValue("http://chromium.org"), base 163 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::FilePath(), base 165 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::TimeDelta::FromSeconds(fetch_timeout), base 262 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::Time::Now() + base::TimeDelta::FromSeconds(3600)); base 278 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc void FetchPolicy(const base::Closure& trigger_fetch) { base 325 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 362 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc FetchPolicy(base::Bind(&MockDeviceManagementJob::SendResponse, base 363 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::Unretained(register_request), base 375 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc FetchPolicy(base::Bind(&MockCloudPolicyStore::NotifyStoreLoaded, base 376 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::Unretained(store_))); base 397 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc FetchPolicy(base::Bind(&MockDeviceManagementJob::SendResponse, base 398 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::Unretained(register_request), base 511 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 560 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::Bind(&base::TestSimpleTaskRunner::RunUntilIdle, task_runner_)); base 583 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc base::Bind(&base::TestSimpleTaskRunner::RunUntilIdle, task_runner_)); base 44 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath::CharType kDeviceManagementDir[] = base 48 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath::CharType kToken[] = FILE_PATH_LITERAL("Token"); base 53 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath::CharType kPolicy[] = FILE_PATH_LITERAL("Policy"); base 57 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath::CharType kComponentsDir[] = base 62 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath::CharType kPolicyExternalDataDir[] = base 89 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) { base 117 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) { base 156 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc base::FilePath profile_dir = profile->GetPath(); base 157 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath legacy_dir = profile_dir.Append(kDeviceManagementDir); base 158 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath policy_cache_file = legacy_dir.Append(kPolicy); base 159 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath token_cache_file = legacy_dir.Append(kToken); base 160 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath component_policy_cache_dir = base 162 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc const base::FilePath external_data_dir = base 164 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc base::FilePath policy_key_dir; base 174 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc scoped_refptr<base::SequencedTaskRunner> backend_task_runner = base 177 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner = base 181 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc new UserCloudExternalDataManager(base::Bind(&GetChromePolicyDetails), base 189 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner = base 199 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc base::TimeDelta::FromSeconds(kInitialPolicyFetchTimeoutSeconds), base 200 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc base::MessageLoopProxy::current(), base 17 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.h namespace base { base 62 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 75 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 34 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::FilePath::CharType kPolicyKeyFile[] = base 63 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc typedef base::Callback<void(const std::string&, base 69 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::FilePath& token_cache_file, base 70 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::FilePath& policy_cache_file, base 71 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 95 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::WeakPtrFactory<LegacyPolicyCacheLoader> weak_factory_; base 112 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::FilePath& token_cache_file, base 113 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::FilePath& policy_cache_file, base 114 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 179 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner, base 181 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::FilePath& user_policy_key_dir, base 182 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::FilePath& legacy_token_cache_file, base 183 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::FilePath& legacy_policy_cache_file) base 206 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::ValidatePolicyForStore, base 208 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Passed(&response))); base 216 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::OnPolicyRetrieved, base 255 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::StringPrintf(kPolicyKeyFile, sanitized_username.c_str())); base 293 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::OnPolicyToStoreValidated, base 323 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::OnPolicyStored, base 335 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc ReloadPolicyKey(base::Bind(&UserCloudPolicyStoreChromeOS::Load, base 347 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::OnLegacyLoadFinished, base 370 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::ValidateRetrievedPolicy, base 372 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Passed(&policy))); base 389 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::OnRetrievedPolicyValidated, base 416 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::RemoveLegacyCacheDir, base 437 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::OnLegacyPolicyValidated, base 486 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::FilePath& dir) { base 487 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc if (base::PathExists(dir) && !base::DeleteFile(dir, true)) base 492 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::Closure& callback) { base 496 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::LoadPolicyKey, base 499 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::OnPolicyKeyReloaded, base 501 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Owned(key), base 506 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc void UserCloudPolicyStoreChromeOS::LoadPolicyKey(const base::FilePath& path, base 508 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc if (!base::PathExists(path)) { base 516 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const bool read_success = base::ReadFileToString(path, key, kKeySizeLimit); base 534 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::Closure& callback) { base 541 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::Closure& callback) { base 548 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Bind(&UserCloudPolicyStoreChromeOS::OnGetSanitizedUsername, base 555 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const base::Closure& callback, base 562 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::StringPrintf(kPolicyKeyFile, sanitized_username.c_str())); base 21 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h namespace base { base 46 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h scoped_refptr<base::SequencedTaskRunner> background_task_runner, base 48 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h const base::FilePath& user_policy_key_dir, base 49 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h const base::FilePath& legacy_token_cache_file, base 50 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h const base::FilePath& legacy_policy_cache_file); base 101 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h static void RemoveLegacyCacheDir(const base::FilePath& dir); base 104 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h void ReloadPolicyKey(const base::Closure& callback); base 107 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h static void LoadPolicyKey(const base::FilePath& path, base 112 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h const base::Closure& callback); base 116 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h void EnsurePolicyKeyLoaded(const base::Closure& callback); base 119 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h void OnGetSanitizedUsername(const base::Closure& callback, base 126 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h base::FilePath user_policy_key_dir_; base 128 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h base::WeakPtrFactory<UserCloudPolicyStoreChromeOS> weak_factory_; base 132 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h base::FilePath legacy_cache_dir_; base 137 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h base::FilePath policy_key_path_; base 49 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc base::MessageLoop::current()->PostTask( base 50 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc FROM_HERE, base::Bind(arg1, call_status, sanitized_username)); base 124 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(base::StringValue(expected_value).Equals(entry->value)); base 128 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(base::CreateDirectory(user_policy_key_file().DirName())); base 130 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc base::WriteFile(user_policy_key_file(), base 162 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc new base::StringValue(previous_value), NULL); base 206 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc base::FilePath user_policy_dir() { base 210 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc base::FilePath user_policy_key_file() { base 215 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc base::FilePath token_file() { base 219 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc base::FilePath policy_file() { base 223 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc base::MessageLoopForUI loop_; base 231 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc base::ScopedTempDir tmp_dir_; base 238 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(base::DeleteFile(user_policy_key_file(), false)); base 382 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(base::DeleteFile(user_policy_key_file(), false)); base 403 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(token_file(), data.c_str(), data.size())); base 408 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(policy_file(), data.c_str(), data.size())); base 435 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(policy_file(), data.c_str(), data.size())); base 460 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(token_file(), data.c_str(), data.size())); base 479 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(base::DeleteFile(user_policy_key_file(), false)); base 485 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NE(-1, base::WriteFile(policy_file(), data.c_str(), data.size())); base 501 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(base::PathExists(policy_file())); base 515 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(base::PathExists(policy_file())); base 50 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.cc const base::Time& expiration_time) { base 47 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.h const base::Time& expiration_time) OVERRIDE; base 102 chrome/browser/chromeos/policy/user_network_configuration_updater.cc const base::ListValue& certificates_onc) { base 120 chrome/browser/chromeos/policy/user_network_configuration_updater.cc base::ListValue* network_configs_onc, base 121 chrome/browser/chromeos/policy/user_network_configuration_updater.cc base::DictionaryValue* global_network_config) { base 143 chrome/browser/chromeos/policy/user_network_configuration_updater.cc base::Bind( base 23 chrome/browser/chromeos/policy/user_network_configuration_updater.h namespace base { base 103 chrome/browser/chromeos/policy/user_network_configuration_updater.h const base::ListValue& certificates_onc) OVERRIDE; base 105 chrome/browser/chromeos/policy/user_network_configuration_updater.h base::ListValue* network_configs_onc, base 106 chrome/browser/chromeos/policy/user_network_configuration_updater.h base::DictionaryValue* global_network_config) OVERRIDE; base 140 chrome/browser/chromeos/policy/user_network_configuration_updater.h scoped_ptr<base::ListValue> pending_certificates_onc_; base 148 chrome/browser/chromeos/policy/user_network_configuration_updater.h base::WeakPtrFactory<UserNetworkConfigurationUpdater> weak_factory_; base 24 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const base::WeakPtr<Delegate>& delegate, base 25 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const base::FilePath& backing_file_path, base 26 chrome/browser/chromeos/policy/user_policy_disk_cache.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 29 chrome/browser/chromeos/policy/user_policy_disk_cache.cc origin_task_runner_(base::MessageLoopProxy::current()), base 35 chrome/browser/chromeos/policy/user_policy_disk_cache.cc FROM_HERE, base::Bind(&UserPolicyDiskCache::LoadOnFileThread, this)); base 44 chrome/browser/chromeos/policy/user_policy_disk_cache.cc base::Bind(&UserPolicyDiskCache::StoreOnFileThread, this, policy)); base 53 chrome/browser/chromeos/policy/user_policy_disk_cache.cc if (!base::PathExists(backing_file_path_)) { base 60 chrome/browser/chromeos/policy/user_policy_disk_cache.cc if (!base::ReadFileToString(backing_file_path_, &data)) { base 83 chrome/browser/chromeos/policy/user_policy_disk_cache.cc base::Bind( base 124 chrome/browser/chromeos/policy/user_policy_disk_cache.cc if (!base::CreateDirectory(backing_file_path_.DirName())) { base 134 chrome/browser/chromeos/policy/user_policy_disk_cache.cc if (base::WriteFile(backing_file_path_, data.c_str(), size) != size) { base 13 chrome/browser/chromeos/policy/user_policy_disk_cache.h namespace base { base 27 chrome/browser/chromeos/policy/user_policy_disk_cache.h : public base::RefCountedThreadSafe<UserPolicyDiskCache> { base 51 chrome/browser/chromeos/policy/user_policy_disk_cache.h const base::WeakPtr<Delegate>& delegate, base 52 chrome/browser/chromeos/policy/user_policy_disk_cache.h const base::FilePath& backing_file_path, base 53 chrome/browser/chromeos/policy/user_policy_disk_cache.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 64 chrome/browser/chromeos/policy/user_policy_disk_cache.h friend class base::RefCountedThreadSafe<UserPolicyDiskCache>; base 83 chrome/browser/chromeos/policy/user_policy_disk_cache.h base::WeakPtr<Delegate> delegate_; base 84 chrome/browser/chromeos/policy/user_policy_disk_cache.h const base::FilePath backing_file_path_; base 85 chrome/browser/chromeos/policy/user_policy_disk_cache.h scoped_refptr<base::SequencedTaskRunner> origin_task_runner_; base 86 chrome/browser/chromeos/policy/user_policy_disk_cache.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 23 chrome/browser/chromeos/policy/user_policy_token_loader.cc const base::WeakPtr<Delegate>& delegate, base 24 chrome/browser/chromeos/policy/user_policy_token_loader.cc const base::FilePath& cache_file, base 25 chrome/browser/chromeos/policy/user_policy_token_loader.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 28 chrome/browser/chromeos/policy/user_policy_token_loader.cc origin_task_runner_(base::MessageLoopProxy::current()), base 35 chrome/browser/chromeos/policy/user_policy_token_loader.cc base::Bind(&UserPolicyTokenLoader::LoadOnBackgroundThread, this)); base 46 chrome/browser/chromeos/policy/user_policy_token_loader.cc if (base::PathExists(cache_file_)) { base 49 chrome/browser/chromeos/policy/user_policy_token_loader.cc if (base::ReadFileToString(cache_file_, &data) && base 65 chrome/browser/chromeos/policy/user_policy_token_loader.cc base::Bind(&UserPolicyTokenLoader::NotifyOnOriginThread, base 15 chrome/browser/chromeos/policy/user_policy_token_loader.h namespace base { base 26 chrome/browser/chromeos/policy/user_policy_token_loader.h : public base::RefCountedThreadSafe<UserPolicyTokenLoader> { base 37 chrome/browser/chromeos/policy/user_policy_token_loader.h const base::WeakPtr<Delegate>& delegate, base 38 chrome/browser/chromeos/policy/user_policy_token_loader.h const base::FilePath& cache_file, base 39 chrome/browser/chromeos/policy/user_policy_token_loader.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 46 chrome/browser/chromeos/policy/user_policy_token_loader.h friend class base::RefCountedThreadSafe<UserPolicyTokenLoader>; base 53 chrome/browser/chromeos/policy/user_policy_token_loader.h const base::WeakPtr<Delegate> delegate_; base 54 chrome/browser/chromeos/policy/user_policy_token_loader.h const base::FilePath cache_file_; base 55 chrome/browser/chromeos/policy/user_policy_token_loader.h scoped_refptr<base::SequencedTaskRunner> origin_task_runner_; base 56 chrome/browser/chromeos/policy/user_policy_token_loader.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 43 chrome/browser/chromeos/policy/wildcard_login_checker.cc start_timestamp_ = base::Time::Now(); base 49 chrome/browser/chromeos/policy/wildcard_login_checker.cc base::Bind(&WildcardLoginChecker::OnPolicyTokenFetched, base 50 chrome/browser/chromeos/policy/wildcard_login_checker.cc base::Unretained(this)))); base 65 chrome/browser/chromeos/policy/wildcard_login_checker.cc const base::DictionaryValue* response) { base 67 chrome/browser/chromeos/policy/wildcard_login_checker.cc base::Time now = base::Time::Now(); base 94 chrome/browser/chromeos/policy/wildcard_login_checker.cc token_available_timestamp_ = base::Time::Now(); base 35 chrome/browser/chromeos/policy/wildcard_login_checker.h typedef base::Callback<void(Result)> StatusCallback; base 49 chrome/browser/chromeos/policy/wildcard_login_checker.h virtual void OnGetUserInfoSuccess(const base::DictionaryValue* response) base 70 chrome/browser/chromeos/policy/wildcard_login_checker.h base::Time start_timestamp_; base 71 chrome/browser/chromeos/policy/wildcard_login_checker.h base::Time token_available_timestamp_; base 77 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string online_file_format = base::StringPrintf( base 79 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string cpu_online_file = base::StringPrintf( base 81 chrome/browser/chromeos/power/cpu_data_collector.cc if (!base::PathExists(base::FilePath(cpu_online_file))) { base 89 chrome/browser/chromeos/power/cpu_data_collector.cc if (base::ReadFileToString(base::FilePath(cpu_online_file), base 91 chrome/browser/chromeos/power/cpu_data_collector.cc base::TrimWhitespace(cpu_online_string, base::TRIM_ALL, &cpu_online_string); base 92 chrome/browser/chromeos/power/cpu_data_collector.cc if (base::StringToInt(cpu_online_string, &online)) base 108 chrome/browser/chromeos/power/cpu_data_collector.cc base::Time start_time = base::Time::Now(); base 111 chrome/browser/chromeos/power/cpu_data_collector.cc idle_sample.time = base::Time::Now(); base 119 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string idle_state_dir_format = base::StringPrintf( base 122 chrome/browser/chromeos/power/cpu_data_collector.cc std::string idle_state_dir = base::StringPrintf( base 126 chrome/browser/chromeos/power/cpu_data_collector.cc if (!base::DirectoryExists(base::FilePath(idle_state_dir))) base 129 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string name_file_format = base::StringPrintf( base 131 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string name_file_path = base::StringPrintf( base 133 chrome/browser/chromeos/power/cpu_data_collector.cc DCHECK(base::PathExists(base::FilePath(name_file_path))); base 135 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string time_file_format = base::StringPrintf( base 137 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string time_file_path = base::StringPrintf( base 139 chrome/browser/chromeos/power/cpu_data_collector.cc DCHECK(base::PathExists(base::FilePath(time_file_path))); base 143 chrome/browser/chromeos/power/cpu_data_collector.cc if (!base::ReadFileToString(base::FilePath(name_file_path), base 145 chrome/browser/chromeos/power/cpu_data_collector.cc !base::ReadFileToString(base::FilePath(time_file_path), base 156 chrome/browser/chromeos/power/cpu_data_collector.cc base::TrimWhitespace(state_name, base::TRIM_ALL, &state_name); base 157 chrome/browser/chromeos/power/cpu_data_collector.cc base::TrimWhitespace( base 158 chrome/browser/chromeos/power/cpu_data_collector.cc occupancy_time_string, base::TRIM_ALL, &occupancy_time_string); base 159 chrome/browser/chromeos/power/cpu_data_collector.cc if (base::StringToInt64(occupancy_time_string, &occupancy_time_usec)) { base 181 chrome/browser/chromeos/power/cpu_data_collector.cc base::TimeDelta(base::Time::Now() - start_time).InMilliseconds(); base 196 chrome/browser/chromeos/power/cpu_data_collector.cc base::Time start_time = base::Time::Now(); base 202 chrome/browser/chromeos/power/cpu_data_collector.cc freq_sample.time = base::Time::Now(); base 207 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string time_in_state_path_format = base::StringPrintf( base 209 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string time_in_state_path = base::StringPrintf( base 211 chrome/browser/chromeos/power/cpu_data_collector.cc if (!base::PathExists(base::FilePath(time_in_state_path))) { base 224 chrome/browser/chromeos/power/cpu_data_collector.cc base::Time now = base::Time::Now(); base 225 chrome/browser/chromeos/power/cpu_data_collector.cc if (!base::ReadFileToString(base::FilePath(time_in_state_path), base 236 chrome/browser/chromeos/power/cpu_data_collector.cc base::SplitString(time_in_state_string, '\n', &lines); base 248 chrome/browser/chromeos/power/cpu_data_collector.cc base::SplitString(lines[state], ' ', &pair); base 250 chrome/browser/chromeos/power/cpu_data_collector.cc base::TrimWhitespace(pair[s], base::TRIM_ALL, &pair[s]); base 252 chrome/browser/chromeos/power/cpu_data_collector.cc base::StringToInt(pair[0], &freq_in_khz) && base 253 chrome/browser/chromeos/power/cpu_data_collector.cc base::StringToInt64(pair[1], &occupancy_time_centisecond)) { base 254 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string state_name = base::IntToString(freq_in_khz / 1000); base 275 chrome/browser/chromeos/power/cpu_data_collector.cc base::TimeDelta(base::Time::Now() - start_time).InMilliseconds(); base 301 chrome/browser/chromeos/power/cpu_data_collector.cc const std::string possible_cpu_path = base::StringPrintf( base 303 chrome/browser/chromeos/power/cpu_data_collector.cc if (!base::PathExists(base::FilePath(possible_cpu_path))) { base 308 chrome/browser/chromeos/power/cpu_data_collector.cc if (base::ReadFileToString(base::FilePath(possible_cpu_path), base 313 chrome/browser/chromeos/power/cpu_data_collector.cc base::TrimWhitespace(possible_string, base::TRIM_ALL, &possible_string); base 316 chrome/browser/chromeos/power/cpu_data_collector.cc base::StringToInt(possible_string.substr(2), &max_cpu)) { base 346 chrome/browser/chromeos/power/cpu_data_collector.cc base::TimeDelta::FromSeconds(kCpuDataSamplePeriodSec), base 364 chrome/browser/chromeos/power/cpu_data_collector.cc base::Bind(&SampleCpuStateOnBlockingPool, base 365 chrome/browser/chromeos/power/cpu_data_collector.cc base::Unretained(cpu_count), base 366 chrome/browser/chromeos/power/cpu_data_collector.cc base::Unretained(cpu_idle_state_names), base 367 chrome/browser/chromeos/power/cpu_data_collector.cc base::Unretained(idle_samples), base 368 chrome/browser/chromeos/power/cpu_data_collector.cc base::Unretained(cpu_freq_state_names), base 369 chrome/browser/chromeos/power/cpu_data_collector.cc base::Unretained(freq_samples)), base 370 chrome/browser/chromeos/power/cpu_data_collector.cc base::Bind(&CpuDataCollector::SaveCpuStateSamplesOnUIThread, base 372 chrome/browser/chromeos/power/cpu_data_collector.cc base::Owned(cpu_count), base 373 chrome/browser/chromeos/power/cpu_data_collector.cc base::Owned(cpu_idle_state_names), base 374 chrome/browser/chromeos/power/cpu_data_collector.cc base::Owned(idle_samples), base 375 chrome/browser/chromeos/power/cpu_data_collector.cc base::Owned(cpu_freq_state_names), base 376 chrome/browser/chromeos/power/cpu_data_collector.cc base::Owned(freq_samples))); base 33 chrome/browser/chromeos/power/cpu_data_collector.h base::Time time; base 87 chrome/browser/chromeos/power/cpu_data_collector.h base::RepeatingTimer<CpuDataCollector> timer_; base 107 chrome/browser/chromeos/power/cpu_data_collector.h base::WeakPtrFactory<CpuDataCollector> weak_ptr_factory_; base 29 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc FixedWidthLabel(const base::string16& text, int width); base 40 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc FixedWidthLabel::FixedWidthLabel(const base::string16& text, int width) base 81 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc base::string16 IdleActionWarningDialogView::GetWindowTitle() const { base 24 chrome/browser/chromeos/power/idle_action_warning_dialog_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 64 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::SplitString(reverse_address, ':', &result); base 100 chrome/browser/chromeos/power/peripheral_battery_observer.cc new base::WeakPtrFactory<PeripheralBatteryObserver>(this)) { base 103 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::Bind(&PeripheralBatteryObserver::InitializeOnBluetoothReady, base 149 chrome/browser/chromeos/power/peripheral_battery_observer.cc BatteryInfo battery(name, level, base::TimeTicks()); base 153 chrome/browser/chromeos/power/peripheral_battery_observer.cc testing_clock_->NowTicks() : base::TimeTicks::Now(); base 164 chrome/browser/chromeos/power/peripheral_battery_observer.cc testing_clock_->NowTicks() : base::TimeTicks::Now(); base 204 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::TimeTicks now = testing_clock_ ? testing_clock_->NowTicks() : base 205 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::TimeTicks::Now(); base 207 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::TimeDelta::FromSeconds(kNotificationIntervalSec)) base 213 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::string16 string_text = l10n_util::GetStringFUTF16Int( base 222 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::UTF8ToUTF16(battery.name), base 225 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::string16(), base 226 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::UTF8ToUTF16(address), base 32 chrome/browser/chromeos/power/peripheral_battery_observer.h void set_testing_clock(base::SimpleTestTickClock* clock) { base 57 chrome/browser/chromeos/power/peripheral_battery_observer.h base::TimeTicks notification_timestamp) base 67 chrome/browser/chromeos/power/peripheral_battery_observer.h base::TimeTicks last_notification_timestamp; base 90 chrome/browser/chromeos/power/peripheral_battery_observer.h base::SimpleTestTickClock* testing_clock_; base 92 chrome/browser/chromeos/power/peripheral_battery_observer.h scoped_ptr<base::WeakPtrFactory<PeripheralBatteryObserver> > weakptr_factory_; base 65 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc base::SimpleTestTickClock clock; base 72 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc clock.Advance(base::TimeDelta::FromSeconds(100)); base 82 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc EXPECT_EQ(info.last_notification_timestamp, base::TimeTicks()); base 86 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc clock.Advance(base::TimeDelta::FromSeconds(10)); base 94 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc clock.Advance(base::TimeDelta::FromSeconds(5)); base 99 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc clock.NowTicks() - base::TimeDelta::FromSeconds(5)); base 103 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc clock.Advance(base::TimeDelta::FromSeconds(5)); base 108 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc clock.NowTicks() - base::TimeDelta::FromSeconds(10)); base 112 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc clock.Advance(base::TimeDelta::FromSeconds(10)); base 117 chrome/browser/chromeos/power/peripheral_battery_observer_browsertest.cc clock.NowTicks() - base::TimeDelta::FromSeconds(20)); base 86 chrome/browser/chromeos/power/power_button_observer.cc bool down, const base::TimeTicks& timestamp) { base 35 chrome/browser/chromeos/power/power_button_observer.h bool down, const base::TimeTicks& timestamp) OVERRIDE; base 54 chrome/browser/chromeos/power/power_data_collector.cc sample.time = base::Time::Now(); base 62 chrome/browser/chromeos/power/power_data_collector.cc void PowerDataCollector::SystemResumed(const base::TimeDelta& sleep_duration) { base 64 chrome/browser/chromeos/power/power_data_collector.cc sample.time = base::Time::Now(); base 36 chrome/browser/chromeos/power/power_data_collector.h base::Time time; base 53 chrome/browser/chromeos/power/power_data_collector.h base::Time time; base 56 chrome/browser/chromeos/power/power_data_collector.h base::TimeDelta sleep_duration; base 87 chrome/browser/chromeos/power/power_data_collector.h virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE; base 113 chrome/browser/chromeos/power/power_data_collector.h base::TimeDelta::FromSeconds(PowerDataCollector::kSampleTimeLimitSec)) { base 59 chrome/browser/chromeos/power/power_data_collector_unittest.cc power_data_collector_->SystemResumed(base::TimeDelta::FromSeconds(10)); base 65 chrome/browser/chromeos/power/power_data_collector_unittest.cc power_data_collector_->SystemResumed(base::TimeDelta::FromSeconds(20)); base 75 chrome/browser/chromeos/power/power_data_collector_unittest.cc sample1.time = base::Time::FromInternalValue(1000); base 77 chrome/browser/chromeos/power/power_data_collector_unittest.cc base::TimeDelta::FromSeconds(PowerDataCollector::kSampleTimeLimitSec + 1); base 243 chrome/browser/chromeos/power/power_prefs.cc base::Closure update_callback(base::Bind( base 245 chrome/browser/chromeos/power/power_prefs.cc base::Unretained(this))); base 93 chrome/browser/chromeos/preferences.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 191 chrome/browser/chromeos/preferences.cc base::GetHourClockType() == base::k24HourClock, base 314 chrome/browser/chromeos/preferences.cc base::Bind(&Preferences::OnPreferenceChanged, base::Unretained(this)); base 547 chrome/browser/chromeos/preferences.cc base::SplitString(value, ',', &split_values); base 584 chrome/browser/chromeos/preferences.cc base::SplitString(value, ',', &split_values); base 163 chrome/browser/chromeos/preferences_browsertest.cc scoped_ptr<base::DictionaryValue> prefs_backup = base 34 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc explicit MultiprofilesIntroView(const base::Callback<void(bool)> on_accept); base 37 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc static void ShowDialog(const base::Callback<void(bool)> on_accept); base 52 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc const base::Callback<void(bool)> on_accept_; base 61 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc const base::Callback<void(bool)> on_accept) base 70 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc const base::Callback<void(bool)> on_accept) { base 158 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc void ShowMultiprofilesIntroDialog(const base::Callback<void(bool)> on_accept) { base 13 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.h void ShowMultiprofilesIntroDialog(const base::Callback<void(bool)> on_accept); base 43 chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc virtual base::string16 GetDialogButtonLabel( base 98 chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc base::string16 MultiprofilesSessionAbortedView::GetDialogButtonLabel( base 136 chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc base::ASCIIToUTF16(user_email))); base 59 chrome/browser/chromeos/profiles/profile_helper.cc base::FilePath ProfileHelper::GetProfilePathByUserIdHash( base 62 chrome/browser/chromeos/profiles/profile_helper.cc base::FilePath profile_path = profile_manager->user_data_dir(); base 68 chrome/browser/chromeos/profiles/profile_helper.cc base::FilePath ProfileHelper::GetProfileDirByLegacyLoginProfileSwitch() { base 76 chrome/browser/chromeos/profiles/profile_helper.cc base::FilePath ProfileHelper::GetSigninProfileDir() { base 78 chrome/browser/chromeos/profiles/profile_helper.cc base::FilePath user_data_dir = profile_manager->user_data_dir(); base 112 chrome/browser/chromeos/profiles/profile_helper.cc base::FilePath ProfileHelper::GetUserProfileDir( base 116 chrome/browser/chromeos/profiles/profile_helper.cc ? base::FilePath(chrome::kProfileDirPrefix + user_id_hash) base 117 chrome/browser/chromeos/profiles/profile_helper.cc : base::FilePath(user_id_hash); base 157 chrome/browser/chromeos/profiles/profile_helper.cc base::FilePath ProfileHelper::GetActiveUserProfileDir() { base 165 chrome/browser/chromeos/profiles/profile_helper.cc void ProfileHelper::ClearSigninProfile(const base::Closure& on_clear_callback) { base 208 chrome/browser/chromeos/profiles/profile_helper.cc ClearSigninProfile(base::Closure()); base 217 chrome/browser/chromeos/profiles/profile_helper.cc base::FilePath profile_path = GetProfilePathByUserIdHash(hash); base 20 chrome/browser/chromeos/profiles/profile_helper.h namespace base { base 48 chrome/browser/chromeos/profiles/profile_helper.h static base::FilePath GetProfileDirByLegacyLoginProfileSwitch(); base 51 chrome/browser/chromeos/profiles/profile_helper.h static base::FilePath GetProfilePathByUserIdHash( base 55 chrome/browser/chromeos/profiles/profile_helper.h static base::FilePath GetSigninProfileDir(); base 65 chrome/browser/chromeos/profiles/profile_helper.h static base::FilePath GetUserProfileDir(const std::string& user_id_hash); base 80 chrome/browser/chromeos/profiles/profile_helper.h base::FilePath GetActiveUserProfileDir(); base 91 chrome/browser/chromeos/profiles/profile_helper.h void ClearSigninProfile(const base::Closure& on_clear_callback); base 115 chrome/browser/chromeos/profiles/profile_helper.h std::vector<base::Closure> on_clear_callbacks_; base 47 chrome/browser/chromeos/profiles/profile_helper_browsertest.cc base::FilePath profile_dir = profile_helper.GetActiveUserProfileDir(); base 75 chrome/browser/chromeos/profiles/profile_helper_browsertest.cc base::FilePath profile_path = base 77 chrome/browser/chromeos/profiles/profile_helper_browsertest.cc base::FilePath expected_path = g_browser_process->profile_manager()-> base 94 chrome/browser/chromeos/profiles/profile_list_chromeos.cc void ProfileListChromeOS::ActiveProfilePathChanged(base::FilePath& path) { base 27 chrome/browser/chromeos/profiles/profile_list_chromeos.h virtual void ActiveProfilePathChanged(base::FilePath& path) OVERRIDE; base 37 chrome/browser/chromeos/profiles/profile_list_chromeos.h base::FilePath active_profile_path_; base 26 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc using base::ASCIIToUTF16; base 80 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc void AddProfile(base::string16 name, bool log_in) { base 81 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc std::string email_string = base::UTF16ToASCII(name) + "@example.com"; base 135 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name1(ASCIIToUTF16("p1")); base 149 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name1(ASCIIToUTF16("p1")); base 150 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name2(ASCIIToUTF16("p2")); base 151 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name3(ASCIIToUTF16("p3")); base 152 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name4(ASCIIToUTF16("p4")); base 173 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name1(ASCIIToUTF16("p1")); base 174 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 managed_name(ASCIIToUTF16("p2@example.com")); base 182 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16(), 0, "TEST_ID"); base 184 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc GetFakeUserManager()->AddUser(base::UTF16ToASCII(managed_name)); base 195 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name1(ASCIIToUTF16("p1.com")); base 196 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name2(ASCIIToUTF16("p2.com")); base 208 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name1(ASCIIToUTF16("p1.com")); base 209 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name2(ASCIIToUTF16("p2.com")); base 221 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name1(ASCIIToUTF16("p1.com")); base 222 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name2(ASCIIToUTF16("p2.com")); base 228 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc std::string email_string = base::UTF16ToASCII(name1) + "@example.com"; base 242 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name1(ASCIIToUTF16("Alpha")); base 243 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name2(ASCIIToUTF16("Beta")); base 244 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 newname1(ASCIIToUTF16("Gamma")); base 264 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::UTF16ToASCII(name1) + "@example.com", newname1); base 278 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name1(ASCIIToUTF16("p1.com")); base 279 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name2(ASCIIToUTF16("p2.com")); base 287 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name3(ASCIIToUTF16("p3.com")); base 312 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name1(ASCIIToUTF16("p1")); base 313 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc base::string16 name2(ASCIIToUTF16("p2")); base 60 chrome/browser/chromeos/proxy_config_service_impl.cc const base::Closure proxy_change_callback = base::Bind( base 61 chrome/browser/chromeos/proxy_config_service_impl.cc &ProxyConfigServiceImpl::OnProxyPrefChanged, base::Unretained(this)); base 226 chrome/browser/chromeos/proxy_config_service_impl.cc scoped_ptr<base::DictionaryValue> config_dict(effective_config.ToValue()); base 97 chrome/browser/chromeos/proxy_config_service_impl.h base::WeakPtrFactory<ProxyConfigServiceImpl> pointer_factory_; base 44 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc #define TEST_DESC(desc) base::StringPrintf("at line %d <%s>", __LINE__, desc) base 257 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::StringValue("stub_wifi2")); base 273 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::DictionaryValue* result) { base 274 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::DictionaryValue* new_config = NULL; base 297 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc void SetConfig(base::DictionaryValue* pref_proxy_config_dict) { base 300 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::JSONWriter::Write(pref_proxy_config_dict, &proxy_config); base 309 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::StringValue(proxy_config)); base 325 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::MessageLoop loop_; base 339 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "] %s", i, base 342 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::DictionaryValue test_config; base 385 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc SCOPED_TRACE(base::StringPrintf( base 391 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::DictionaryValue managed_config; base 393 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::DictionaryValue recommended_config; base 395 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc base::DictionaryValue network_config; base 58 chrome/browser/chromeos/proxy_cros_settings_parser.cc base::Value* CreateServerHostValue(const UIProxyConfig::ManualProxy& proxy) { base 60 chrome/browser/chromeos/proxy_cros_settings_parser.cc new base::StringValue(proxy.server.host_port_pair().host()) : base 64 chrome/browser/chromeos/proxy_cros_settings_parser.cc base::Value* CreateServerPortValue(const UIProxyConfig::ManualProxy& proxy) { base 66 chrome/browser/chromeos/proxy_cros_settings_parser.cc base::Value::CreateIntegerValue(proxy.server.host_port_pair().port()) : base 119 chrome/browser/chromeos/proxy_cros_settings_parser.cc const base::Value* in_value, base 270 chrome/browser/chromeos/proxy_cros_settings_parser.cc if (in_value->GetType() == base::Value::TYPE_LIST) { base 271 chrome/browser/chromeos/proxy_cros_settings_parser.cc const base::ListValue* list_value = base 272 chrome/browser/chromeos/proxy_cros_settings_parser.cc static_cast<const base::ListValue*>(in_value); base 290 chrome/browser/chromeos/proxy_cros_settings_parser.cc base::Value** out_value) { base 292 chrome/browser/chromeos/proxy_cros_settings_parser.cc base::Value* data = NULL; base 300 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = new base::StringValue(config.automatic_proxy.pac_url.spec()); base 313 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateIntegerValue(3); base 316 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateIntegerValue(2); base 318 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateIntegerValue(1); base 336 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateBooleanValue( base 339 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = base::Value::CreateBooleanValue( base 354 chrome/browser/chromeos/proxy_cros_settings_parser.cc base::ListValue* list = new base::ListValue(); base 357 chrome/browser/chromeos/proxy_cros_settings_parser.cc list->Append(new base::StringValue(bypass_rules[x]->ToString())); base 365 chrome/browser/chromeos/proxy_cros_settings_parser.cc base::DictionaryValue* dict = new base::DictionaryValue; base 367 chrome/browser/chromeos/proxy_cros_settings_parser.cc data = new base::StringValue(""); base 10 chrome/browser/chromeos/proxy_cros_settings_parser.h namespace base { base 45 chrome/browser/chromeos/proxy_cros_settings_parser.h const base::Value* in_value, base 51 chrome/browser/chromeos/proxy_cros_settings_parser.h base::Value** out_value); base 40 chrome/browser/chromeos/session_length_limiter.cc virtual const base::TimeTicks GetCurrentTime() const OVERRIDE; base 53 chrome/browser/chromeos/session_length_limiter.cc const base::TimeTicks SessionLengthLimiterDelegateImpl::GetCurrentTime() const { base 54 chrome/browser/chromeos/session_length_limiter.cc return base::TimeTicks::Now(); base 84 chrome/browser/chromeos/session_length_limiter.cc base::Bind(&SessionLengthLimiter::UpdateLimit, base 85 chrome/browser/chromeos/session_length_limiter.cc base::Unretained(this))); base 88 chrome/browser/chromeos/session_length_limiter.cc base::Bind(&SessionLengthLimiter::UpdateSessionStartTime, base 89 chrome/browser/chromeos/session_length_limiter.cc base::Unretained(this))); base 134 chrome/browser/chromeos/session_length_limiter.cc const base::TimeTicks session_start_time = base 135 chrome/browser/chromeos/session_length_limiter.cc base::TimeTicks::FromInternalValue( base 158 chrome/browser/chromeos/session_length_limiter.cc session_start_time_ = base::TimeTicks(); base 192 chrome/browser/chromeos/session_length_limiter.cc const base::TimeDelta session_length_limit = base 193 chrome/browser/chromeos/session_length_limiter.cc base::TimeDelta::FromMilliseconds(std::min(std::max( base 197 chrome/browser/chromeos/session_length_limiter.cc const base::TimeDelta remaining = session_length_limit - base 202 chrome/browser/chromeos/session_length_limiter.cc if (remaining <= base::TimeDelta()) { base 208 chrome/browser/chromeos/session_length_limiter.cc timer_.reset(new base::OneShotTimer<SessionLengthLimiter::Delegate>); base 30 chrome/browser/chromeos/session_length_limiter.h virtual const base::TimeTicks GetCurrentTime() const = 0; base 61 chrome/browser/chromeos/session_length_limiter.h base::ThreadChecker thread_checker_; base 66 chrome/browser/chromeos/session_length_limiter.h scoped_ptr<base::OneShotTimer<SessionLengthLimiter::Delegate> > timer_; base 67 chrome/browser/chromeos/session_length_limiter.h base::TimeTicks session_start_time_; base 37 chrome/browser/chromeos/session_length_limiter_unittest.cc MOCK_CONST_METHOD0(GetCurrentTime, const base::TimeTicks(void)); base 43 chrome/browser/chromeos/session_length_limiter_unittest.cc class MockTimeSingleThreadTaskRunner : public base::SingleThreadTaskRunner { base 50 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::Closure& task, base 51 chrome/browser/chromeos/session_length_limiter_unittest.cc base::TimeDelta delay) OVERRIDE; base 54 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::Closure& task, base 55 chrome/browser/chromeos/session_length_limiter_unittest.cc base::TimeDelta delay) OVERRIDE; base 57 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::TimeTicks& GetCurrentTime() const; base 59 chrome/browser/chromeos/session_length_limiter_unittest.cc void FastForwardBy(const base::TimeDelta& time_delta); base 67 chrome/browser/chromeos/session_length_limiter_unittest.cc const std::pair<base::TimeTicks, base::Closure>& first_task, base 68 chrome/browser/chromeos/session_length_limiter_unittest.cc const std::pair<base::TimeTicks, base::Closure>& second_task) const; base 73 chrome/browser/chromeos/session_length_limiter_unittest.cc base::TimeTicks now_; base 74 chrome/browser/chromeos/session_length_limiter_unittest.cc std::priority_queue<std::pair<base::TimeTicks, base::Closure>, base 75 chrome/browser/chromeos/session_length_limiter_unittest.cc std::vector<std::pair<base::TimeTicks, base::Closure> >, base 94 chrome/browser/chromeos/session_length_limiter_unittest.cc void SetSessionStartTimePref(const base::TimeTicks& session_start_time); base 97 chrome/browser/chromeos/session_length_limiter_unittest.cc base::TimeTicks GetSessionStartTimePref(); base 99 chrome/browser/chromeos/session_length_limiter_unittest.cc void SetSessionLengthLimitPref(const base::TimeDelta& session_length_limit); base 118 chrome/browser/chromeos/session_length_limiter_unittest.cc base::TimeTicks session_start_time_; base 119 chrome/browser/chromeos/session_length_limiter_unittest.cc base::TimeTicks session_stop_time_; base 131 chrome/browser/chromeos/session_length_limiter_unittest.cc : now_(base::TimeTicks::FromInternalValue(1000)) { base 140 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::Closure& task, base 141 chrome/browser/chromeos/session_length_limiter_unittest.cc base::TimeDelta delay) { base 142 chrome/browser/chromeos/session_length_limiter_unittest.cc tasks_.push(std::pair<base::TimeTicks, base::Closure>(now_ + delay, task)); base 148 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::Closure& task, base 149 chrome/browser/chromeos/session_length_limiter_unittest.cc base::TimeDelta delay) { base 154 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::TimeTicks& MockTimeSingleThreadTaskRunner::GetCurrentTime() const { base 159 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::TimeDelta& time_delta) { base 160 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::TimeTicks latest = now_ + time_delta; base 163 chrome/browser/chromeos/session_length_limiter_unittest.cc base::Closure task = tasks_.top().second; base 173 chrome/browser/chromeos/session_length_limiter_unittest.cc base::Closure task = tasks_.top().second; base 180 chrome/browser/chromeos/session_length_limiter_unittest.cc const std::pair<base::TimeTicks, base::Closure>& first_task, base 181 chrome/browser/chromeos/session_length_limiter_unittest.cc const std::pair<base::TimeTicks, base::Closure>& second_task) const { base 207 chrome/browser/chromeos/session_length_limiter_unittest.cc new base::FundamentalValue(user_activity_seen)); base 224 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::TimeTicks& session_start_time) { base 227 chrome/browser/chromeos/session_length_limiter_unittest.cc new base::StringValue( base 228 chrome/browser/chromeos/session_length_limiter_unittest.cc base::Int64ToString(session_start_time.ToInternalValue()))); base 239 chrome/browser/chromeos/session_length_limiter_unittest.cc base::TimeTicks SessionLengthLimiterTest::GetSessionStartTimePref() { base 241 chrome/browser/chromeos/session_length_limiter_unittest.cc return base::TimeTicks::FromInternalValue( base 246 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::TimeDelta& session_length_limit) { base 248 chrome/browser/chromeos/session_length_limiter_unittest.cc new base::FundamentalValue( base 263 chrome/browser/chromeos/session_length_limiter_unittest.cc new base::FundamentalValue(wait_for_initial_user_activity)); base 334 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionStartTimePref(session_start_time_ + base::TimeDelta::FromHours(2)); base 342 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionStartTimePref(session_start_time_ + base::TimeDelta::FromHours(2)); base 350 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionStartTimePref(session_start_time_ - base::TimeDelta::FromHours(2)); base 358 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionStartTimePref(session_start_time_ - base::TimeDelta::FromHours(2)); base 390 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); base 399 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); base 408 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() - base::TimeDelta::FromHours(2)); base 417 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() - base::TimeDelta::FromHours(2)); base 450 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); base 459 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); base 465 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::TimeTicks stored_session_start_time = base 466 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() - base::TimeDelta::FromHours(2); base 514 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); base 523 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); base 529 chrome/browser/chromeos/session_length_limiter_unittest.cc const base::TimeTicks stored_session_start_time = base 530 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->GetCurrentTime() - base::TimeDelta::FromHours(2); base 561 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); base 570 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); base 592 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); base 602 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); base 612 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); base 637 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); base 647 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); base 657 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); base 670 chrome/browser/chromeos/session_length_limiter_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner_); base 683 chrome/browser/chromeos/session_length_limiter_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner_); base 686 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(60)); base 695 chrome/browser/chromeos/session_length_limiter_unittest.cc EXPECT_EQ(session_start_time_ + base::TimeDelta::FromSeconds(60), base 703 chrome/browser/chromeos/session_length_limiter_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner_); base 707 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(60)); base 721 chrome/browser/chromeos/session_length_limiter_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner_); base 724 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(60)); base 730 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(20)); base 738 chrome/browser/chromeos/session_length_limiter_unittest.cc EXPECT_EQ(session_start_time_ + base::TimeDelta::FromSeconds(60), base 748 chrome/browser/chromeos/session_length_limiter_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner_); base 752 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(60)); base 758 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(20)); base 763 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(20)); base 771 chrome/browser/chromeos/session_length_limiter_unittest.cc EXPECT_EQ(session_start_time_ + base::TimeDelta::FromSeconds(60), base 780 chrome/browser/chromeos/session_length_limiter_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner_); base 783 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(60)); base 789 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(50)); base 792 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(90)); base 798 chrome/browser/chromeos/session_length_limiter_unittest.cc EXPECT_EQ(session_start_time_ + base::TimeDelta::FromSeconds(90), base 808 chrome/browser/chromeos/session_length_limiter_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner_); base 811 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(60)); base 817 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(50)); base 822 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(40)); base 823 chrome/browser/chromeos/session_length_limiter_unittest.cc EXPECT_EQ(session_start_time_ + base::TimeDelta::FromSeconds(50), base 832 chrome/browser/chromeos/session_length_limiter_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner_); base 835 chrome/browser/chromeos/session_length_limiter_unittest.cc SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(60)); base 841 chrome/browser/chromeos/session_length_limiter_unittest.cc runner_->FastForwardBy(base::TimeDelta::FromSeconds(50)); base 50 chrome/browser/chromeos/settings/cros_settings.cc base::Bind(&CrosSettings::FireObservers, base 52 chrome/browser/chromeos/settings/cros_settings.cc base::Unretained(this))); base 73 chrome/browser/chromeos/settings/cros_settings.cc void CrosSettings::Set(const std::string& path, const base::Value& in_value) { base 81 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* CrosSettings::GetPref(const std::string& path) const { base 91 chrome/browser/chromeos/settings/cros_settings.cc const base::Closure& callback) const { base 104 chrome/browser/chromeos/settings/cros_settings.cc base::FundamentalValue value(in_value); base 110 chrome/browser/chromeos/settings/cros_settings.cc base::FundamentalValue value(in_value); base 116 chrome/browser/chromeos/settings/cros_settings.cc base::FundamentalValue value(in_value); base 123 chrome/browser/chromeos/settings/cros_settings.cc base::StringValue value(in_value); base 128 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* value) { base 130 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* old_value = GetPref(path); base 131 chrome/browser/chromeos/settings/cros_settings.cc scoped_ptr<base::Value> new_value( base 132 chrome/browser/chromeos/settings/cros_settings.cc old_value ? old_value->DeepCopy() : new base::ListValue()); base 133 chrome/browser/chromeos/settings/cros_settings.cc static_cast<base::ListValue*>(new_value.get())->Append(value->DeepCopy()); base 138 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* value) { base 140 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* old_value = GetPref(path); base 141 chrome/browser/chromeos/settings/cros_settings.cc scoped_ptr<base::Value> new_value( base 142 chrome/browser/chromeos/settings/cros_settings.cc old_value ? old_value->DeepCopy() : new base::ListValue()); base 143 chrome/browser/chromeos/settings/cros_settings.cc static_cast<base::ListValue*>(new_value.get())->Remove(*value, NULL); base 150 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* value = GetPref(path); base 159 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* value = GetPref(path); base 168 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* value = GetPref(path); base 177 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* value = GetPref(path); base 184 chrome/browser/chromeos/settings/cros_settings.cc const base::ListValue** out_value) const { base 186 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* value = GetPref(path); base 194 chrome/browser/chromeos/settings/cros_settings.cc const base::DictionaryValue** out_value) const { base 196 chrome/browser/chromeos/settings/cros_settings.cc const base::Value* value = GetPref(path); base 218 chrome/browser/chromeos/settings/cros_settings.cc const base::ListValue* list; base 223 chrome/browser/chromeos/settings/cros_settings.cc for (base::ListValue::const_iterator entry(list->begin()); base 260 chrome/browser/chromeos/settings/cros_settings.cc base::Bind(&CrosSettings::FireObservers, base::Unretained(this))); base 278 chrome/browser/chromeos/settings/cros_settings.cc const base::Closure& callback) { base 290 chrome/browser/chromeos/settings/cros_settings.cc base::CallbackList<void(void)>* registry = NULL; base 294 chrome/browser/chromeos/settings/cros_settings.cc registry = new base::CallbackList<void(void)>; base 19 chrome/browser/chromeos/settings/cros_settings.h namespace base { base 30 chrome/browser/chromeos/settings/cros_settings.h class CrosSettings : public base::NonThreadSafe { base 47 chrome/browser/chromeos/settings/cros_settings.h void Set(const std::string& path, const base::Value& in_value); base 50 chrome/browser/chromeos/settings/cros_settings.h const base::Value* GetPref(const std::string& path) const; base 58 chrome/browser/chromeos/settings/cros_settings.h const base::Closure& callback) const; base 72 chrome/browser/chromeos/settings/cros_settings.h void AppendToList(const std::string& path, const base::Value* value); base 73 chrome/browser/chromeos/settings/cros_settings.h void RemoveFromList(const std::string& path, const base::Value* value); base 83 chrome/browser/chromeos/settings/cros_settings.h const base::ListValue** out_value) const; base 85 chrome/browser/chromeos/settings/cros_settings.h const base::DictionaryValue** out_value) const; base 100 chrome/browser/chromeos/settings/cros_settings.h typedef base::CallbackList<void(void)>::Subscription ObserverSubscription; base 103 chrome/browser/chromeos/settings/cros_settings.h const base::Closure& callback); base 119 chrome/browser/chromeos/settings/cros_settings.h typedef base::hash_map<std::string, base::CallbackList<void(void)>*> base 53 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Bind(&CrosSettingsTest::FetchPref, base 55 chrome/browser/chromeos/settings/cros_settings_unittest.cc scoped_ptr<base::Value> expected_value( base 57 chrome/browser/chromeos/settings/cros_settings_unittest.cc const base::Value* pref_value = settings_.GetPref(pref); base 68 chrome/browser/chromeos/settings/cros_settings_unittest.cc void SetPref(const std::string& pref_name, const base::Value* value) { base 73 chrome/browser/chromeos/settings/cros_settings_unittest.cc void AddExpectation(const std::string& pref_name, base::Value* value) { base 74 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value*& entry = expected_props_[pref_name]; base 95 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::MessageLoopForUI message_loop_; base 102 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::WeakPtrFactory<CrosSettingsTest> weak_factory_; base 104 chrome/browser/chromeos/settings/cros_settings_unittest.cc std::map<std::string, base::Value*> expected_props_; base 110 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(false)); base 119 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(true)); base 126 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::ListValue whitelist; base 127 chrome/browser/chromeos/settings/cros_settings_unittest.cc whitelist.Append(new base::StringValue("me@owner")); base 129 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(false)); base 137 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::ListValue* whitelist = new base::ListValue(); base 138 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::StringValue hacky_user("h@xxor"); base 141 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(false)); base 150 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::ListValue whitelist; base 151 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::StringValue hacky_user("h@xxor"); base 152 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::StringValue lamy_user("l@mer"); base 154 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::ListValue* expected_list = whitelist.DeepCopy(); base 157 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(false)); base 173 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::ListValue whitelist; base 175 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(true)); base 184 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::ListValue whitelist; base 185 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::FundamentalValue disallow_new(false); base 188 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(false)); base 198 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::ListValue whitelist; base 199 chrome/browser/chromeos/settings/cros_settings_unittest.cc whitelist.Append(new base::StringValue("me@owner")); base 202 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(false)); base 213 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(true)); base 220 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::FundamentalValue ephemeral_users_enabled(true); base 222 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::Value::CreateBooleanValue(true)); base 228 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::ListValue list; base 229 chrome/browser/chromeos/settings/cros_settings_unittest.cc list.Append(new base::StringValue("user@example.com")); base 230 chrome/browser/chromeos/settings/cros_settings_unittest.cc list.Append(new base::StringValue("nodomain")); base 231 chrome/browser/chromeos/settings/cros_settings_unittest.cc list.Append(new base::StringValue("with.dots@gmail.com")); base 232 chrome/browser/chromeos/settings/cros_settings_unittest.cc list.Append(new base::StringValue("Upper@example.com")); base 259 chrome/browser/chromeos/settings/cros_settings_unittest.cc base::ListValue list; base 260 chrome/browser/chromeos/settings/cros_settings_unittest.cc list.Append(new base::StringValue("user@example.com")); base 261 chrome/browser/chromeos/settings/cros_settings_unittest.cc list.Append(new base::StringValue("*@example.com")); base 30 chrome/browser/chromeos/settings/device_oauth2_token_service.cc PendingRequest(const base::WeakPtr<RequestImpl>& request, base 39 chrome/browser/chromeos/settings/device_oauth2_token_service.cc const base::WeakPtr<RequestImpl> request; base 55 chrome/browser/chromeos/settings/device_oauth2_token_service.cc base::Bind(&DeviceOAuth2TokenService::DidGetSystemSalt, base 122 chrome/browser/chromeos/settings/device_oauth2_token_service.cc scoped_ptr<base::DictionaryValue> token_info) { base 263 chrome/browser/chromeos/settings/device_oauth2_token_service.cc base::Bind(&DeviceOAuth2TokenService::CheckRobotAccountId, base 379 chrome/browser/chromeos/settings/device_oauth2_token_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 384 chrome/browser/chromeos/settings/device_oauth2_token_service.cc base::Time())); base 48 chrome/browser/chromeos/settings/device_oauth2_token_service.h typedef base::Callback<void(bool)> StatusCallback; base 69 chrome/browser/chromeos/settings/device_oauth2_token_service.h scoped_ptr<base::DictionaryValue> token_info) OVERRIDE; base 165 chrome/browser/chromeos/settings/device_oauth2_token_service.h base::WeakPtrFactory<DeviceOAuth2TokenService> weak_ptr_factory_; base 52 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 105 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 120 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc base::Value::CreateStringValue(refresh_token)); base 179 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc base::MessageLoop message_loop_; base 200 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 261 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 268 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 292 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 318 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 31 chrome/browser/chromeos/settings/device_settings_cache.cc base::Base64Encode(policy_string, &encoded); base 43 chrome/browser/chromeos/settings/device_settings_cache.cc if (!base::Base64Decode(encoded, &policy_string)) { base 84 chrome/browser/chromeos/settings/device_settings_provider.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 116 chrome/browser/chromeos/settings/device_settings_provider.cc const base::Value& in_value) { base 198 chrome/browser/chromeos/settings/device_settings_provider.cc scoped_ptr<base::Value> value(pending_changes_.front().second); base 230 chrome/browser/chromeos/settings/device_settings_provider.cc const base::ListValue* accounts_list = NULL; base 232 chrome/browser/chromeos/settings/device_settings_provider.cc for (base::ListValue::const_iterator entry(accounts_list->begin()); base 234 chrome/browser/chromeos/settings/device_settings_provider.cc const base::DictionaryValue* entry_dict = NULL; base 325 chrome/browser/chromeos/settings/device_settings_provider.cc const base::ListValue* users; base 327 chrome/browser/chromeos/settings/device_settings_provider.cc for (base::ListValue::const_iterator i = users->begin(); base 358 chrome/browser/chromeos/settings/device_settings_provider.cc const base::ListValue* flags; base 360 chrome/browser/chromeos/settings/device_settings_provider.cc for (base::ListValue::const_iterator i = flags->begin(); base 479 chrome/browser/chromeos/settings/device_settings_provider.cc base::ListValue* list = new base::ListValue(); base 485 chrome/browser/chromeos/settings/device_settings_provider.cc list->Append(new base::StringValue(*it)); base 489 chrome/browser/chromeos/settings/device_settings_provider.cc scoped_ptr<base::ListValue> account_list(new base::ListValue()); base 496 chrome/browser/chromeos/settings/device_settings_provider.cc scoped_ptr<base::DictionaryValue> entry_dict(new base::DictionaryValue()); base 544 chrome/browser/chromeos/settings/device_settings_provider.cc base::ListValue* list = new base::ListValue(); base 549 chrome/browser/chromeos/settings/device_settings_provider.cc list->Append(new base::StringValue(*it)); base 588 chrome/browser/chromeos/settings/device_settings_provider.cc base::ListValue* list = new base::ListValue; base 592 chrome/browser/chromeos/settings/device_settings_provider.cc base::DictionaryValue* entry = new base::DictionaryValue; base 607 chrome/browser/chromeos/settings/device_settings_provider.cc base::ListValue* list = new base::ListValue(); base 612 chrome/browser/chromeos/settings/device_settings_provider.cc list->Append(new base::StringValue(*it)); base 641 chrome/browser/chromeos/settings/device_settings_provider.cc base::ListValue* list = new base::ListValue(); base 644 chrome/browser/chromeos/settings/device_settings_provider.cc list->Append(new base::FundamentalValue(*i)); base 781 chrome/browser/chromeos/settings/device_settings_provider.cc const base::Value* old_value; base 789 chrome/browser/chromeos/settings/device_settings_provider.cc const base::Value* value; base 808 chrome/browser/chromeos/settings/device_settings_provider.cc base::Value::CreateBooleanValue(new_value)); base 859 chrome/browser/chromeos/settings/device_settings_provider.cc const base::Value* DeviceSettingsProvider::Get(const std::string& path) const { base 861 chrome/browser/chromeos/settings/device_settings_provider.cc const base::Value* value; base 872 chrome/browser/chromeos/settings/device_settings_provider.cc DeviceSettingsProvider::PrepareTrustedValues(const base::Closure& cb) { base 952 chrome/browser/chromeos/settings/device_settings_provider.cc std::vector<base::Closure> callbacks; base 968 chrome/browser/chromeos/settings/device_settings_provider.cc base::Bind(&DeviceSettingsProvider::UpdateAndProceedStoring, base 22 chrome/browser/chromeos/settings/device_settings_provider.h namespace base { base 44 chrome/browser/chromeos/settings/device_settings_provider.h virtual const base::Value* Get(const std::string& path) const OVERRIDE; base 46 chrome/browser/chromeos/settings/device_settings_provider.h const base::Closure& callback) OVERRIDE; base 52 chrome/browser/chromeos/settings/device_settings_provider.h const base::Value& value) OVERRIDE; base 136 chrome/browser/chromeos/settings/device_settings_provider.h std::vector<base::Closure> callbacks_; base 157 chrome/browser/chromeos/settings/device_settings_provider.h typedef std::pair<std::string, base::Value*> PendingQueueElement; base 161 chrome/browser/chromeos/settings/device_settings_provider.h base::WeakPtrFactory<DeviceSettingsProvider> store_callback_factory_; base 50 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::Bind(&DeviceSettingsProviderTest::SettingChanged, base 51 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::Unretained(this)), base 64 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::ScopedPathOverride user_data_dir_override_; base 79 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc provider_->PrepareTrustedValues(base::Closure())); base 80 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc const base::Value* value = provider_->Get(kStatsReportingPref); base 94 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc provider_->PrepareTrustedValues(base::Closure())); base 95 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc const base::Value* value = provider_->Get(kReleaseChannel); base 104 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::StringValue new_value("stable-channel"); base 114 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc const base::Value* saved_value = provider_->Get(kReleaseChannel); base 122 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::FundamentalValue value(true); base 133 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc const base::Value* saved_value = provider_->Get(kStatsReportingPref); base 145 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::FundamentalValue value(true); base 161 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc const base::Value* saved_value = provider_->Get(kStatsReportingPref); base 175 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::StringValue value1("beta"); base 177 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::StringValue value2("dev"); base 185 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc const base::Value* saved_value = provider_->Get(kReleaseChannel); base 201 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc provider_->PrepareTrustedValues(base::Closure())); base 213 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc provider_->PrepareTrustedValues(base::Closure())); base 222 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::Bind(&DeviceSettingsProviderTest::GetTrustedCallback, base 223 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::Unretained(this)))); base 229 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc provider_->PrepareTrustedValues(base::Closure())); base 237 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::Bind(&DeviceSettingsProviderTest::GetTrustedCallback, base 238 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::Unretained(this)))); base 246 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::FilePath consent_file; base 249 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc ASSERT_EQ(1, base::WriteFile(consent_file, "0", 1)); base 257 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc const base::Value* saved_value = provider_->Get(kStatsReportingPref); base 276 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc base::ListValue expected_accounts; base 277 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc scoped_ptr<base::DictionaryValue> entry_dict(new base::DictionaryValue()); base 283 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc const base::Value* actual_accounts = base 285 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected_accounts, actual_accounts)); base 129 chrome/browser/chromeos/settings/device_settings_service.cc const base::Closure& callback) { base 132 chrome/browser/chromeos/settings/device_settings_service.cc base::Bind(&DeviceSettingsService::HandleCompletedOperation, base 140 chrome/browser/chromeos/settings/device_settings_service.cc const base::Closure& callback) { base 143 chrome/browser/chromeos/settings/device_settings_service.cc base::Bind(&DeviceSettingsService::HandleCompletedOperation, base 161 chrome/browser/chromeos/settings/device_settings_service.cc base::MessageLoop::current()->PostTask( base 163 chrome/browser/chromeos/settings/device_settings_service.cc base::Bind( base 186 chrome/browser/chromeos/settings/device_settings_service.cc base::MessageLoop::current()->PostTask( base 188 chrome/browser/chromeos/settings/device_settings_service.cc base::Bind(callback, HasPrivateOwnerKey())); base 255 chrome/browser/chromeos/settings/device_settings_service.cc base::Bind(&DeviceSettingsService::HandleCompletedOperation, base 257 chrome/browser/chromeos/settings/device_settings_service.cc base::Closure())); base 279 chrome/browser/chromeos/settings/device_settings_service.cc const base::Closure& callback, base 317 chrome/browser/chromeos/settings/device_settings_service.cc base::Bind(&DeviceSettingsService::Load, base::Unretained(this)), base 318 chrome/browser/chromeos/settings/device_settings_service.cc base::TimeDelta::FromMilliseconds(kLoadRetryDelayMs)); base 42 chrome/browser/chromeos/settings/device_settings_service.h class OwnerKey : public base::RefCountedThreadSafe<OwnerKey> { base 61 chrome/browser/chromeos/settings/device_settings_service.h friend class base::RefCountedThreadSafe<OwnerKey>; base 93 chrome/browser/chromeos/settings/device_settings_service.h typedef base::Callback<void(OwnershipStatus)> OwnershipStatusCallback; base 94 chrome/browser/chromeos/settings/device_settings_service.h typedef base::Callback<void(bool)> IsCurrentUserOwnerCallback; base 168 chrome/browser/chromeos/settings/device_settings_service.h const base::Closure& callback); base 174 chrome/browser/chromeos/settings/device_settings_service.h const base::Closure& callback); base 226 chrome/browser/chromeos/settings/device_settings_service.h void HandleCompletedOperation(const base::Closure& callback, base 259 chrome/browser/chromeos/settings/device_settings_service.h base::WeakPtrFactory<DeviceSettingsService> weak_factory_; base 115 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Time timestamp(base::Time::NowFromSystemTime() + base 116 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::TimeDelta::FromDays(5000)); base 118 chrome/browser/chromeos/settings/device_settings_service_unittest.cc (timestamp - base::Time::UnixEpoch()).InMilliseconds()); base 150 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::SetOperationCompleted, base 151 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 175 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::SetOperationCompleted, base 176 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 199 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::SetOperationCompleted, base 200 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 220 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::SetOperationCompleted, base 221 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 238 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::SetOperationCompleted, base 239 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 256 chrome/browser/chromeos/settings/device_settings_service_unittest.cc device_settings_service_.Store(device_policy_.GetCopy(), base::Closure()); base 281 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::SetOwnershipStatus, base 282 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 295 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::SetOwnershipStatus, base 296 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 312 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::SetOwnershipStatus, base 313 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 335 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::OnIsOwner, base 336 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 376 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::OnIsOwner, base 377 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 438 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Bind(&DeviceSettingsServiceTest::OnIsOwner, base 439 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::Unretained(this))); base 441 chrome/browser/chromeos/settings/device_settings_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 473 chrome/browser/chromeos/settings/device_settings_service_unittest.cc device_settings_service_.Store(device_policy_.GetCopy(), base::Closure()); base 29 chrome/browser/chromeos/settings/device_settings_test_helper.cc base::MessageLoop::current()->RunUntilIdle(); base 32 chrome/browser/chromeos/settings/device_settings_test_helper.cc base::MessageLoop::current()->RunUntilIdle(); base 209 chrome/browser/chromeos/settings/device_settings_test_helper.cc base::RunLoop().RunUntilIdle(); base 74 chrome/browser/chromeos/settings/device_settings_test_helper.h base::EmptyString() : entry->second.policy_blob_; base 174 chrome/browser/chromeos/settings/device_settings_test_helper.h base::MessageLoopForUI loop_; base 25 chrome/browser/chromeos/settings/owner_flags_storage.cc const base::ListValue* legacy_experiments = base 32 chrome/browser/chromeos/settings/owner_flags_storage.cc for (base::ListValue::const_iterator it = legacy_experiments->begin(); base 53 chrome/browser/chromeos/settings/owner_flags_storage.cc base::ListValue experiments_list; base 61 chrome/browser/chromeos/settings/owner_flags_storage.cc experiments_list.Append(new base::StringValue(*it)); base 22 chrome/browser/chromeos/settings/owner_key_util.cc base::FilePath owner_key_path; base 34 chrome/browser/chromeos/settings/owner_key_util.cc OwnerKeyUtilImpl::OwnerKeyUtilImpl(const base::FilePath& key_file) base 42 chrome/browser/chromeos/settings/owner_key_util.cc if (!base::GetFileSize(key_file_, &file_size)) { base 61 chrome/browser/chromeos/settings/owner_key_util.cc int data_read = base::ReadFile( base 74 chrome/browser/chromeos/settings/owner_key_util.cc return base::PathExists(key_file_); base 17 chrome/browser/chromeos/settings/owner_key_util.h namespace base { base 29 chrome/browser/chromeos/settings/owner_key_util.h class OwnerKeyUtil : public base::RefCountedThreadSafe<OwnerKeyUtil> { base 52 chrome/browser/chromeos/settings/owner_key_util.h friend class base::RefCountedThreadSafe<OwnerKeyUtil>; base 60 chrome/browser/chromeos/settings/owner_key_util.h explicit OwnerKeyUtilImpl(const base::FilePath& public_key_file); base 73 chrome/browser/chromeos/settings/owner_key_util.h base::FilePath key_file_; base 61 chrome/browser/chromeos/settings/owner_key_util_unittest.cc base::ScopedTempDir tmpdir_; base 62 chrome/browser/chromeos/settings/owner_key_util_unittest.cc base::FilePath key_file_; base 74 chrome/browser/chromeos/settings/owner_key_util_unittest.cc base::WriteFile( base 94 chrome/browser/chromeos/settings/owner_key_util_unittest.cc ASSERT_EQ(0, base::WriteFile(key_file_, "", 0)); base 64 chrome/browser/chromeos/settings/session_manager_operation.cc EnsureOwnerKey(base::Bind(&SessionManagerOperation::RetrieveDeviceSettings, base 73 chrome/browser/chromeos/settings/session_manager_operation.cc void SessionManagerOperation::EnsureOwnerKey(const base::Closure& callback) { base 75 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_refptr<base::TaskRunner> task_runner = base 78 chrome/browser/chromeos/settings/session_manager_operation.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 79 chrome/browser/chromeos/settings/session_manager_operation.cc base::PostTaskAndReplyWithResult( base 82 chrome/browser/chromeos/settings/session_manager_operation.cc base::Bind(&SessionManagerOperation::LoadOwnerKey, base 84 chrome/browser/chromeos/settings/session_manager_operation.cc base::Bind(&SessionManagerOperation::StoreOwnerKey, base 121 chrome/browser/chromeos/settings/session_manager_operation.cc void SessionManagerOperation::StoreOwnerKey(const base::Closure& callback, base 136 chrome/browser/chromeos/settings/session_manager_operation.cc base::Bind(&SessionManagerOperation::ValidateDeviceSettings, base 154 chrome/browser/chromeos/settings/session_manager_operation.cc base::SequencedWorkerPool* pool = base 156 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner = base 159 chrome/browser/chromeos/settings/session_manager_operation.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 192 chrome/browser/chromeos/settings/session_manager_operation.cc base::Bind(&SessionManagerOperation::ReportValidatorStatus, base 238 chrome/browser/chromeos/settings/session_manager_operation.cc base::Bind(&StoreSettingsOperation::HandleStoreResult, base 263 chrome/browser/chromeos/settings/session_manager_operation.cc EnsureOwnerKey(base::Bind(&SignAndStoreSettingsOperation::StartSigning, base 273 chrome/browser/chromeos/settings/session_manager_operation.cc base::PostTaskAndReplyWithResult( base 276 chrome/browser/chromeos/settings/session_manager_operation.cc base::Bind(&SignAndStoreSettingsOperation::AssembleAndSignPolicy, base 277 chrome/browser/chromeos/settings/session_manager_operation.cc base::Passed(&new_settings_), username_, owner_key()), base 278 chrome/browser/chromeos/settings/session_manager_operation.cc base::Bind(&SignAndStoreSettingsOperation::StoreDeviceSettingsBlob, base 291 chrome/browser/chromeos/settings/session_manager_operation.cc policy.set_timestamp((base::Time::NowFromSystemTime() - base 292 chrome/browser/chromeos/settings/session_manager_operation.cc base::Time::UnixEpoch()).InMilliseconds()); base 328 chrome/browser/chromeos/settings/session_manager_operation.cc base::Bind(&SignAndStoreSettingsOperation::HandleStoreResult, base 31 chrome/browser/chromeos/settings/session_manager_operation.h typedef base::Callback<void(SessionManagerOperation*, base 74 chrome/browser/chromeos/settings/session_manager_operation.h void EnsureOwnerKey(const base::Closure& callback); base 94 chrome/browser/chromeos/settings/session_manager_operation.h void StoreOwnerKey(const base::Closure& callback, base 109 chrome/browser/chromeos/settings/session_manager_operation.h base::WeakPtrFactory<SessionManagerOperation> weak_factory_; base 159 chrome/browser/chromeos/settings/session_manager_operation.h base::WeakPtrFactory<StoreSettingsOperation> weak_factory_; base 196 chrome/browser/chromeos/settings/session_manager_operation.h base::WeakPtrFactory<SignAndStoreSettingsOperation> weak_factory_; base 76 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::MessageLoop message_loop_; base 92 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Bind(&SessionManagerOperationTest::OnOperationCompleted, base 93 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Unretained(this))); base 112 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Bind(&SessionManagerOperationTest::OnOperationCompleted, base 113 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Unretained(this))); base 129 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Bind(&SessionManagerOperationTest::OnOperationCompleted, base 130 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Unretained(this))); base 150 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Bind(&SessionManagerOperationTest::OnOperationCompleted, base 151 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Unretained(this))); base 168 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Bind(&SessionManagerOperationTest::OnOperationCompleted, base 169 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Unretained(this))); base 209 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Bind(&SessionManagerOperationTest::OnOperationCompleted, base 210 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Unretained(this)), base 231 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Time before(base::Time::NowFromSystemTime()); base 234 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Bind(&SessionManagerOperationTest::OnOperationCompleted, base 235 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Unretained(this)), base 246 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Time after(base::Time::NowFromSystemTime()); base 277 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Bind(&SessionManagerOperationTest::CheckSuccessfulValidation, base 278 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc base::Unretained(this))); base 286 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_LE((before - base::Time::UnixEpoch()).InMilliseconds(), base 288 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_GE((after - base::Time::UnixEpoch()).InMilliseconds(), base 30 chrome/browser/chromeos/settings/stub_cros_settings_provider.cc const base::Value* StubCrosSettingsProvider::Get( base 33 chrome/browser/chromeos/settings/stub_cros_settings_provider.cc const base::Value* value; base 40 chrome/browser/chromeos/settings/stub_cros_settings_provider.cc StubCrosSettingsProvider::PrepareTrustedValues(const base::Closure& cb) { base 50 chrome/browser/chromeos/settings/stub_cros_settings_provider.cc const base::Value& value) { base 59 chrome/browser/chromeos/settings/stub_cros_settings_provider.cc values_.SetValue(kAccountsPrefDeviceLocalAccounts, new base::ListValue); base 25 chrome/browser/chromeos/settings/stub_cros_settings_provider.h virtual const base::Value* Get(const std::string& path) const OVERRIDE; base 27 chrome/browser/chromeos/settings/stub_cros_settings_provider.h const base::Closure& callback) OVERRIDE; base 33 chrome/browser/chromeos/settings/stub_cros_settings_provider.h const base::Value& value) OVERRIDE; base 30 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc base::Bind(&StubCrosSettingsProviderTest::FireObservers, base 31 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc base::Unretained(this)))) { base 42 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc void AssertPref(const std::string& prefName, const base::Value* value) { base 43 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc const base::Value* pref = provider_->Get(prefName); base 68 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc const base::FundamentalValue kTrueValue(true); base 76 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc base::StringValue owner_value("me@owner"); base 84 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc base::StringValue pref_value("testing"); base 94 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc provider_->PrepareTrustedValues(base::Bind(&Fail)); base 22 chrome/browser/chromeos/settings/system_settings_provider.cc timezone_value_.reset(new base::StringValue( base 31 chrome/browser/chromeos/settings/system_settings_provider.cc const base::Value& in_value) { base 37 chrome/browser/chromeos/settings/system_settings_provider.cc base::string16 timezone_id; base 45 chrome/browser/chromeos/settings/system_settings_provider.cc const base::Value* SystemSettingsProvider::Get(const std::string& path) const { base 53 chrome/browser/chromeos/settings/system_settings_provider.cc SystemSettingsProvider::PrepareTrustedValues(const base::Closure& cb) { base 63 chrome/browser/chromeos/settings/system_settings_provider.cc timezone_value_.reset(new base::StringValue( base 16 chrome/browser/chromeos/settings/system_settings_provider.h namespace base { base 29 chrome/browser/chromeos/settings/system_settings_provider.h virtual const base::Value* Get(const std::string& path) const OVERRIDE; base 31 chrome/browser/chromeos/settings/system_settings_provider.h const base::Closure& callback) OVERRIDE; base 40 chrome/browser/chromeos/settings/system_settings_provider.h const base::Value& in_value) OVERRIDE; base 42 chrome/browser/chromeos/settings/system_settings_provider.h scoped_ptr<base::StringValue> timezone_value_; base 40 chrome/browser/chromeos/settings/token_encryptor.cc if (!base::SysInfo::IsRunningOnChromeOS()) base 55 chrome/browser/chromeos/settings/token_encryptor.cc if (!base::SysInfo::IsRunningOnChromeOS()) base 91 chrome/browser/chromeos/settings/token_encryptor.cc return StringToLowerASCII(base::HexEncode( base 101 chrome/browser/chromeos/settings/token_encryptor.cc if (!base::HexStringToBytes(encrypted_token_hex, &encrypted_token_bytes)) { base 63 chrome/browser/chromeos/sim_dialog_delegate.cc base::string16 SimDialogDelegate::GetDialogTitle() const { base 64 chrome/browser/chromeos/sim_dialog_delegate.cc return base::string16(); base 80 chrome/browser/chromeos/sim_dialog_delegate.cc base::StringPrintf(kSimDialogSpecialModeURL, mode_value.c_str())); base 36 chrome/browser/chromeos/sim_dialog_delegate.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 190 chrome/browser/chromeos/status/data_promo_notification.cc base::string16 message = l10n_util::GetStringUTF16(IDS_3G_NOTIFICATION_MESSAGE); base 197 chrome/browser/chromeos/status/data_promo_notification.cc message = base::UTF8ToUTF16(deal_text + "\n\n") + message; base 217 chrome/browser/chromeos/status/data_promo_notification.cc base::string16() /* title */, base 221 chrome/browser/chromeos/status/data_promo_notification.cc base::Bind(&NotificationClicked, base 45 chrome/browser/chromeos/status/data_promo_notification.h base::WeakPtrFactory<DataPromoNotification> weak_ptr_factory_; base 79 chrome/browser/chromeos/status/network_menu.cc MenuItem(ui::MenuModel::ItemType type, base::string16 label, gfx::ImageSkia icon, base 88 chrome/browser/chromeos/status/network_menu.cc MenuItem(ui::MenuModel::ItemType type, base::string16 label, gfx::ImageSkia icon, base 98 chrome/browser/chromeos/status/network_menu.cc base::string16 label; base 106 chrome/browser/chromeos/status/network_menu.cc explicit NetworkMenuModel(const base::WeakPtr<NetworkMenu>& owner) base 125 chrome/browser/chromeos/status/network_menu.cc virtual base::string16 GetLabelAt(int index) const OVERRIDE; base 163 chrome/browser/chromeos/status/network_menu.cc base::WeakPtr<NetworkMenu> owner_; base 174 chrome/browser/chromeos/status/network_menu.cc explicit MoreMenuModel(const base::WeakPtr<NetworkMenu> owner) base 190 chrome/browser/chromeos/status/network_menu.cc explicit MainMenuModel(const base::WeakPtr<NetworkMenu>& owner) base 204 chrome/browser/chromeos/status/network_menu.cc void AddMessageItem(const base::string16& msg); base 239 chrome/browser/chromeos/status/network_menu.cc base::string16 NetworkMenuModel::GetLabelAt(int index) const { base 348 chrome/browser/chromeos/status/network_menu.cc base::string16 label; base 355 chrome/browser/chromeos/status/network_menu.cc base::UTF8ToUTF16(wifi_name), base 358 chrome/browser/chromeos/status/network_menu.cc label = base::UTF8ToUTF16(wifi_name); base 374 chrome/browser/chromeos/status/network_menu.cc void MainMenuModel::AddMessageItem(const base::string16& msg) { base 386 chrome/browser/chromeos/status/network_menu.cc base::string16 label; base 438 chrome/browser/chromeos/status/network_menu.cc base::UTF8ToUTF16(network_name), base 441 chrome/browser/chromeos/status/network_menu.cc label = base::UTF8ToUTF16(network_name); base 620 chrome/browser/chromeos/status/network_menu.cc ui::MenuModel::TYPE_COMMAND, base::ASCIIToUTF16(ip_address), base 631 chrome/browser/chromeos/status/network_menu.cc ui::MenuModel::TYPE_COMMAND, base::UTF8ToUTF16(label), base 641 chrome/browser/chromeos/status/network_menu.cc ui::MenuModel::TYPE_COMMAND, base::UTF8ToUTF16(label), base 101 chrome/browser/chromeos/status/network_menu.h base::WeakPtrFactory<NetworkMenu> weak_pointer_factory_; base 58 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::TimeDelta ReadTimeDeltaFromFile(const base::FilePath& path) { base 59 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::ThreadRestrictions::AssertIOAllowed(); base 60 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::ScopedFD fd( base 63 chrome/browser/chromeos/system/automatic_reboot_manager.cc return base::TimeDelta(); base 72 chrome/browser/chromeos/system/automatic_reboot_manager.cc if (!base::StringToDouble(contents.substr(0, contents.find(' ')), &seconds) || base 74 chrome/browser/chromeos/system/automatic_reboot_manager.cc return base::TimeDelta(); base 76 chrome/browser/chromeos/system/automatic_reboot_manager.cc return base::TimeDelta::FromMilliseconds(seconds * 1000.0); base 80 chrome/browser/chromeos/system/automatic_reboot_manager.cc scoped_refptr<base::SingleThreadTaskRunner> reply_task_runner, base 81 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Callback<void( base 83 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::FilePath uptime_file; base 85 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::FilePath update_reboot_needed_uptime_file; base 88 chrome/browser/chromeos/system/automatic_reboot_manager.cc reply_task_runner->PostTask(FROM_HERE, base::Bind(reply, base 95 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::ThreadRestrictions::AssertIOAllowed(); base 96 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta kZeroTimeDelta; base 98 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::FilePath update_reboot_needed_uptime_file; base 101 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta last_update_reboot_needed_uptime = base 106 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::FilePath uptime_file; base 108 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta uptime = ReadTimeDeltaFromFile(uptime_file); base 112 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::ScopedFD fd(HANDLE_EINTR( base 120 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::DoubleToString(uptime.InSecondsF()); base 121 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::WriteFileDescriptor(fd.get(), update_reboot_needed_uptime.c_str(), base 133 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta& uptime, base 134 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta& update_reboot_needed_uptime) base 137 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta kZeroTimeDelta; base 140 chrome/browser/chromeos/system/automatic_reboot_manager.cc boot_time = base::TimeTicks::Now() - uptime; base 151 chrome/browser/chromeos/system/automatic_reboot_manager.cc scoped_ptr<base::TickClock> clock) base 159 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Bind(&AutomaticRebootManager::Reschedule, base 160 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Unretained(this))); base 162 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Bind(&AutomaticRebootManager::Reschedule, base 163 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Unretained(this))); base 180 chrome/browser/chromeos/system/automatic_reboot_manager.cc new base::OneShotTimer<AutomaticRebootManager>); base 190 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Bind(&GetSystemEventTimes, base 191 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::ThreadTaskRunnerHandle::Get(), base 192 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Bind(&AutomaticRebootManager::Init, base 194 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 220 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta& sleep_duration) { base 235 chrome/browser/chromeos/system/automatic_reboot_manager.cc FROM_HERE, base::Bind(&SaveUpdateRebootNeededUptime)); base 251 chrome/browser/chromeos/system/automatic_reboot_manager.cc new base::OneShotTimer<AutomaticRebootManager>); base 254 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::TimeDelta::FromMilliseconds(kLoginManagerIdleTimeoutMs), base 255 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Bind(&AutomaticRebootManager::MaybeReboot, base 256 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Unretained(this), base 291 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta offset = clock_->NowTicks() - base::TimeTicks::Now(); base 299 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeTicks update_reboot_needed_time = base 320 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta kZeroTimeDelta; base 326 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta uptime_limit = base::TimeDelta::FromSeconds( base 328 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::TimeTicks reboot_request_time = boot_time_ + uptime_limit; base 356 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeTicks now = clock_->NowTicks(); base 357 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeTicks grace_start_time = std::max(reboot_request_time, base 358 chrome/browser/chromeos/system/automatic_reboot_manager.cc boot_time_ + base::TimeDelta::FromMilliseconds(kMinRebootUptimeMs)); base 362 chrome/browser/chromeos/system/automatic_reboot_manager.cc grace_start_timer_.reset(new base::OneShotTimer<AutomaticRebootManager>); base 365 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Bind(&AutomaticRebootManager::RequestReboot, base 366 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Unretained(this))); base 368 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeTicks grace_end_time = grace_start_time + base 369 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::TimeDelta::FromMilliseconds(kGracePeriodMs); base 373 chrome/browser/chromeos/system/automatic_reboot_manager.cc grace_end_timer_.reset(new base::OneShotTimer<AutomaticRebootManager>); base 376 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Bind(&AutomaticRebootManager::Reboot, base 377 chrome/browser/chromeos/system/automatic_reboot_manager.cc base::Unretained(this))); base 24 chrome/browser/chromeos/system/automatic_reboot_manager.h namespace base { base 83 chrome/browser/chromeos/system/automatic_reboot_manager.h SystemEventTimes(const base::TimeDelta& uptime, base 84 chrome/browser/chromeos/system/automatic_reboot_manager.h const base::TimeDelta& update_reboot_needed_uptime); base 87 chrome/browser/chromeos/system/automatic_reboot_manager.h base::TimeTicks boot_time; base 90 chrome/browser/chromeos/system/automatic_reboot_manager.h base::TimeTicks update_reboot_needed_time; base 93 chrome/browser/chromeos/system/automatic_reboot_manager.h explicit AutomaticRebootManager(scoped_ptr<base::TickClock> clock); base 100 chrome/browser/chromeos/system/automatic_reboot_manager.h virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE; base 140 chrome/browser/chromeos/system/automatic_reboot_manager.h scoped_ptr<base::TickClock> clock_; base 148 chrome/browser/chromeos/system/automatic_reboot_manager.h scoped_ptr<base::OneShotTimer<AutomaticRebootManager> > base 153 chrome/browser/chromeos/system/automatic_reboot_manager.h base::TimeTicks boot_time_; base 158 chrome/browser/chromeos/system/automatic_reboot_manager.h base::TimeTicks update_reboot_needed_time_; base 164 chrome/browser/chromeos/system/automatic_reboot_manager.h scoped_ptr<base::OneShotTimer<AutomaticRebootManager> > grace_start_timer_; base 165 chrome/browser/chromeos/system/automatic_reboot_manager.h scoped_ptr<base::OneShotTimer<AutomaticRebootManager> > grace_end_timer_; base 167 chrome/browser/chromeos/system/automatic_reboot_manager.h base::WeakPtrFactory<AutomaticRebootManager> weak_ptr_factory_; base 59 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc class MockTimeSingleThreadTaskRunner : public base::SingleThreadTaskRunner { base 66 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::Closure& task, base 67 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta delay) OVERRIDE; base 70 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::Closure& task, base 71 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta delay) OVERRIDE; base 73 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc void SetUptimeFile(const base::FilePath& uptime_file); base 74 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc void SetUptime(const base::TimeDelta& uptime); base 76 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& Uptime() const; base 77 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeTicks& Now() const; base 79 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc void FastForwardBy(const base::TimeDelta& delta); base 88 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const std::pair<base::TimeTicks, base::Closure>& first_task, base 89 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const std::pair<base::TimeTicks, base::Closure>& second_task) const; base 94 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::FilePath uptime_file_; base 95 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta uptime_; base 96 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeTicks now_; base 97 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc std::priority_queue<std::pair<base::TimeTicks, base::Closure>, base 98 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc std::vector<std::pair<base::TimeTicks, base::Closure> >, base 104 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc class MockTimeTickClock : public base::TickClock { base 111 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc virtual base::TimeTicks NowTicks() OVERRIDE; base 123 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc typedef base::OneShotTimer<AutomaticRebootManager> Timer; base 132 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc void SetUpdateRebootNeededUptime(const base::TimeDelta& uptime); base 134 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc void SetUptimeLimit(const base::TimeDelta& limit, bool expect_reboot); base 139 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc void FastForwardBy(const base::TimeDelta& delta, bool expect_reboot); base 144 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc bool ReadUpdateRebootNeededUptimeFromFile(base::TimeDelta* uptime); base 147 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc void VerifyGracePeriod(const base::TimeDelta& start_uptime) const; base 157 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta uptime_processing_delay_; base 158 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta update_reboot_needed_uptime_; base 159 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta uptime_limit_; base 175 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& delay) const; base 178 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::ScopedTempDir temp_dir_; base 179 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::FilePath update_reboot_needed_uptime_file_; base 183 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::ThreadTaskRunnerHandle ui_thread_task_runner_handle_; base 208 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc void SaveUptimeToFile(const base::FilePath& path, base 209 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& uptime) { base 210 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc if (path.empty() || uptime == base::TimeDelta()) base 213 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const std::string uptime_seconds = base::DoubleToString(uptime.InSecondsF()); base 215 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::WriteFile(path, uptime_seconds.c_str(), base 228 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::Closure& task, base 229 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta delay) { base 230 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc tasks_.push(std::pair<base::TimeTicks, base::Closure>(now_ + delay, task)); base 236 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::Closure& task, base 237 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta delay) { base 243 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::FilePath& uptime_file) { base 248 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc void MockTimeSingleThreadTaskRunner::SetUptime(const base::TimeDelta& uptime) { base 253 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& MockTimeSingleThreadTaskRunner::Uptime() const { base 257 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeTicks& MockTimeSingleThreadTaskRunner::Now() const { base 262 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& delta) { base 263 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeTicks latest = now_ + delta; base 264 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::SequencedWorkerPool* blocking_pool = base 271 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::Closure task = tasks_.top().second; base 282 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::SequencedWorkerPool* blocking_pool = base 289 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::Closure task = tasks_.top().second; base 297 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::SequencedWorkerPool* blocking_pool = base 301 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::Closure task = tasks_.top().second; base 309 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const std::pair<base::TimeTicks, base::Closure>& first_task, base 310 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const std::pair<base::TimeTicks, base::Closure>& second_task) const { base 325 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeTicks MockTimeTickClock::NowTicks() { base 346 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::FilePath& temp_dir = temp_dir_.path(); base 347 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::FilePath uptime_file = temp_dir.Append("uptime"); base 349 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc ASSERT_FALSE(base::WriteFile(uptime_file, NULL, 0)); base 352 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc ASSERT_FALSE(base::WriteFile(update_reboot_needed_uptime_file_, NULL, 0)); base 386 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& uptime) { base 398 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::Value::CreateBooleanValue(reboot_after_update)); base 405 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& limit, base 408 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc if (limit == base::TimeDelta()) { base 413 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::Value::CreateIntegerValue(limit.InSeconds())); base 429 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc automatic_reboot_manager_->SystemResumed(base::TimeDelta::FromHours(1)); base 446 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& delta, base 463 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc scoped_ptr<base::TickClock>(new MockTimeTickClock(task_runner_)))); base 469 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeTicks() - automatic_reboot_manager_->boot_time_ - base 471 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc EXPECT_GE(uptime_processing_delay_, base::TimeDelta()); base 472 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc EXPECT_LE(uptime_processing_delay_, base::TimeDelta::FromSeconds(1)); base 481 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta* uptime) { base 483 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc if (!base::ReadFileToString(update_reboot_needed_uptime_file_, &contents)) { base 487 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc if (!base::StringToDouble(contents.substr(0, contents.find(' ')), &seconds) || base 491 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc *uptime = base::TimeDelta::FromMilliseconds(seconds * 1000.0); base 508 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& start_uptime) const { base 509 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta start = base 511 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta end = start + base::TimeDelta::FromHours(24); base 512 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc if (start <= base::TimeDelta()) { base 534 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc const base::TimeDelta& delay) const { base 545 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta::FromSeconds(60)); base 578 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 603 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 628 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 635 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 645 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(50), false); base 653 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(60), true); base 662 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 683 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 706 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 712 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 731 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 737 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 757 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 763 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 779 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 785 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 805 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(29) + base 806 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta::FromMinutes(30)); base 812 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 828 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(29) + base 829 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta::FromMinutes(30)); base 835 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 852 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 872 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 878 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 898 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 904 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 923 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 932 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 947 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 956 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 972 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 982 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), !is_user_logged_in_ || base 995 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(6)); base 1001 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(12), false); base 1008 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromHours(1), false); base 1012 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta(), false); base 1025 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(24)); base 1031 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(12), false); base 1038 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1042 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta(), false); base 1056 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(6)); base 1062 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(12), false); base 1069 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1073 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 1090 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(18)); base 1096 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(12), false); base 1103 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1107 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 1123 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1129 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(18), false); base 1136 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1140 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 1156 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(36)); base 1162 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 1169 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1173 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(18), false); base 1190 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(36)); base 1196 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 1203 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1207 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), !is_user_logged_in_ || base 1222 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1253 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1286 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1310 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1318 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta new_update_reboot_needed_uptime; base 1336 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromMinutes(10)); base 1356 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc VerifyGracePeriod(base::TimeDelta::FromHours(1)); base 1371 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(6)); base 1382 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromHours(6), false); base 1392 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc VerifyGracePeriod(base::TimeDelta::FromHours(6) + uptime_processing_delay_); base 1407 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(6)); base 1418 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromDays(10) - base::TimeDelta::FromHours(6), base 1442 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(6)); base 1457 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1480 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 1515 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1522 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 1529 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1557 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1564 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 1571 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1601 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1608 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 1628 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1640 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta(), false); base 1658 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1678 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 1686 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(20), false); base 1690 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta(), false); base 1712 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(29) + base 1713 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta::FromMinutes(59) + base 1714 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc base::TimeDelta::FromSeconds(59)); base 1720 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 1727 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc FastForwardBy(base::TimeDelta::FromSeconds(1), !is_user_logged_in_ || base 1740 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 1757 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(24), false); base 1758 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1777 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 1778 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 1796 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 1797 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1819 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUpdateRebootNeededUptime(base::TimeDelta::FromHours(6)); base 1820 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 1842 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUpdateRebootNeededUptime(base::TimeDelta::FromHours(6)); base 1843 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1866 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUpdateRebootNeededUptime(base::TimeDelta::FromMinutes(10)); base 1867 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromMinutes(20)); base 1874 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc VerifyGracePeriod(base::TimeDelta::FromHours(1)); base 1889 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUpdateRebootNeededUptime(base::TimeDelta::FromHours(6)); base 1890 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 1911 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 1941 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromDays(10)); base 1965 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 1990 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 1992 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUpdateRebootNeededUptime(base::TimeDelta::FromHours(8)); base 1993 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 2015 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(8), false); base 2017 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUpdateRebootNeededUptime(base::TimeDelta::FromHours(6)); base 2018 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc task_runner_->SetUptime(base::TimeDelta::FromHours(12)); base 2039 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUptimeLimit(base::TimeDelta::FromHours(6), false); base 2041 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc SetUpdateRebootNeededUptime(base::TimeDelta::FromHours(6)); base 42 chrome/browser/chromeos/system/input_device_settings.cc typedef base::RefCountedData<bool> RefCountedBool; base 46 chrome/browser/chromeos/system/input_device_settings.cc return base::PathExists(base::FilePath(script)); base 56 chrome/browser/chromeos/system/input_device_settings.cc DCHECK(!base::SysInfo::IsRunningOnChromeOS() || ScriptExists(script)); base 61 chrome/browser/chromeos/system/input_device_settings.cc base::ProcessHandle handle; base 62 chrome/browser/chromeos/system/input_device_settings.cc base::LaunchProcess(CommandLine(argv), base::LaunchOptions(), &handle); base 63 chrome/browser/chromeos/system/input_device_settings.cc base::EnsureProcessGetsReaped(handle); base 78 chrome/browser/chromeos/system/input_device_settings.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 79 chrome/browser/chromeos/system/input_device_settings.cc scoped_refptr<base::TaskRunner> runner = base 81 chrome/browser/chromeos/system/input_device_settings.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 82 chrome/browser/chromeos/system/input_device_settings.cc runner->PostTask(FROM_HERE, base::Bind(&ExecuteScriptOnFileThread, argv)); base 88 chrome/browser/chromeos/system/input_device_settings.cc argv->push_back(base::StringPrintf("--%s_sensitivity=%d", base 95 chrome/browser/chromeos/system/input_device_settings.cc argv->push_back(base::StringPrintf("--%s=%d", control, enabled ? 1 : 0)); base 107 chrome/browser/chromeos/system/input_device_settings.cc argv.push_back(base::StringPrintf("--type=%s", device_type)); base 111 chrome/browser/chromeos/system/input_device_settings.cc exists->data = base::GetAppOutput(CommandLine(argv), &output) && base 132 chrome/browser/chromeos/system/input_device_settings.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 133 chrome/browser/chromeos/system/input_device_settings.cc scoped_refptr<base::TaskRunner> runner = base 135 chrome/browser/chromeos/system/input_device_settings.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 137 chrome/browser/chromeos/system/input_device_settings.cc base::Bind(&DeviceExistsBlockingPool, script, exists), base 138 chrome/browser/chromeos/system/input_device_settings.cc base::Bind(&RunCallbackUIThread, exists, callback)); base 250 chrome/browser/chromeos/system/input_device_settings.cc if (base::strcasecmp(policy_manager->GetDeviceRequisition().c_str(), base 146 chrome/browser/chromeos/system/input_device_settings.h typedef base::Callback<void(bool)> DeviceExistsCallback; base 52 chrome/browser/chromeos/system/pointer_device_observer.cc base::Bind(&PointerDeviceObserver::OnTouchpadExists, base 58 chrome/browser/chromeos/system/pointer_device_observer.cc base::Bind(&PointerDeviceObserver::OnMouseExists, base 54 chrome/browser/chromeos/system/pointer_device_observer.h base::WeakPtrFactory<PointerDeviceObserver> weak_factory_; base 82 chrome/browser/chromeos/system/syslogs_provider.cc base::TrimString(*data, " \t", data); base 121 chrome/browser/chromeos/system/syslogs_provider.cc LogDictionaryType* GetSystemLogs(base::FilePath* zip_file_name, base 124 chrome/browser/chromeos/system/syslogs_provider.cc base::FilePath temp_filename; base 126 chrome/browser/chromeos/system/syslogs_provider.cc if (!base::CreateTemporaryFile(&temp_filename)) base 146 chrome/browser/chromeos/system/syslogs_provider.cc bool read_success = base::ReadFileToString(temp_filename, &data); base 149 chrome/browser/chromeos/system/syslogs_provider.cc base::DeleteFile(temp_filename, false); base 158 chrome/browser/chromeos/system/syslogs_provider.cc base::TrimWhitespaceASCII(key, base::TRIM_ALL, &key); base 162 chrome/browser/chromeos/system/syslogs_provider.cc base::TrimWhitespaceASCII(value, base::TRIM_ALL, &value); base 185 chrome/browser/chromeos/system/syslogs_provider.cc virtual base::CancelableTaskTracker::TaskId RequestSyslogs( base 189 chrome/browser/chromeos/system/syslogs_provider.cc base::CancelableTaskTracker* tracker) OVERRIDE; base 199 chrome/browser/chromeos/system/syslogs_provider.cc const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, base 205 chrome/browser/chromeos/system/syslogs_provider.cc void LoadCompressedLogs(const base::FilePath& zip_file, base 216 chrome/browser/chromeos/system/syslogs_provider.cc const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, base 217 chrome/browser/chromeos/system/syslogs_provider.cc base::TaskRunner* origin_runner, base 228 chrome/browser/chromeos/system/syslogs_provider.cc base::CancelableTaskTracker::TaskId SyslogsProviderImpl::RequestSyslogs( base 232 chrome/browser/chromeos/system/syslogs_provider.cc base::CancelableTaskTracker* tracker) { base 233 chrome/browser/chromeos/system/syslogs_provider.cc base::CancelableTaskTracker::IsCanceledCallback is_canceled; base 234 chrome/browser/chromeos/system/syslogs_provider.cc base::CancelableTaskTracker::TaskId id = base 238 chrome/browser/chromeos/system/syslogs_provider.cc base::Bind(&SyslogsProviderImpl::RunCallbackIfNotCanceled, base 239 chrome/browser/chromeos/system/syslogs_provider.cc is_canceled, base::MessageLoopProxy::current(), callback); base 244 chrome/browser/chromeos/system/syslogs_provider.cc base::Bind(&SyslogsProviderImpl::ReadSyslogs, base::Unretained(this), base 299 chrome/browser/chromeos/system/syslogs_provider.cc const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, base 309 chrome/browser/chromeos/system/syslogs_provider.cc base::FilePath zip_file; base 310 chrome/browser/chromeos/system/syslogs_provider.cc if (compress_logs && !base::CreateTemporaryFile(&zip_file)) { base 325 chrome/browser/chromeos/system/syslogs_provider.cc base::DeleteFile(zip_file, false); base 349 chrome/browser/chromeos/system/syslogs_provider.cc void SyslogsProviderImpl::LoadCompressedLogs(const base::FilePath& zip_file, base 352 chrome/browser/chromeos/system/syslogs_provider.cc if (!base::ReadFileToString(zip_file, zip_content)) { base 377 chrome/browser/chromeos/system/syslogs_provider.cc const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, base 378 chrome/browser/chromeos/system/syslogs_provider.cc base::TaskRunner* origin_runner, base 394 chrome/browser/chromeos/system/syslogs_provider.cc origin_runner->PostTask(FROM_HERE, base::Bind(callback, logs, zip_content)); base 33 chrome/browser/chromeos/system/syslogs_provider.h typedef base::Callback<void(LogDictionaryType*, base 50 chrome/browser/chromeos/system/syslogs_provider.h virtual base::CancelableTaskTracker::TaskId RequestSyslogs( base 54 chrome/browser/chromeos/system/syslogs_provider.h base::CancelableTaskTracker* tracker) = 0; base 32 chrome/browser/chromeos/system/timezone_util.cc static base::LazyInstance<base::Lock>::Leaky base 36 chrome/browser/chromeos/system/timezone_util.cc base::string16 GetExemplarCity(const icu::TimeZone& zone) { base 46 chrome/browser/chromeos/system/timezone_util.cc base::AutoLock lock(g_timezone_bundle_lock.Get()); base 67 chrome/browser/chromeos/system/timezone_util.cc return base::string16(city.getBuffer(), city.length()); base 81 chrome/browser/chromeos/system/timezone_util.cc return base::ASCIIToUTF16(zone_id_str); base 85 chrome/browser/chromeos/system/timezone_util.cc base::string16 GetTimezoneName(const icu::TimeZone& timezone) { base 101 chrome/browser/chromeos/system/timezone_util.cc std::string offset_str = base::StringPrintf(offset >= 0 ? base 115 chrome/browser/chromeos/system/timezone_util.cc base::string16 result(l10n_util::GetStringFUTF16( base 117 chrome/browser/chromeos/system/timezone_util.cc base::ASCIIToUTF16(offset_str), base 118 chrome/browser/chromeos/system/timezone_util.cc base::string16(name.getBuffer(), name.length()), base 120 chrome/browser/chromeos/system/timezone_util.cc base::i18n::AdjustStringForLocaleDirection(&result); base 130 chrome/browser/chromeos/system/timezone_util.cc scoped_ptr<base::ListValue> GetTimezoneList() { base 133 chrome/browser/chromeos/system/timezone_util.cc scoped_ptr<base::ListValue> timezoneList(new base::ListValue()); base 137 chrome/browser/chromeos/system/timezone_util.cc base::ListValue* option = new base::ListValue(); base 138 chrome/browser/chromeos/system/timezone_util.cc option->Append(new base::StringValue( base 140 chrome/browser/chromeos/system/timezone_util.cc option->Append(new base::StringValue(GetTimezoneName(*timezone))); base 10 chrome/browser/chromeos/system/timezone_util.h namespace base { base 18 chrome/browser/chromeos/system/timezone_util.h scoped_ptr<base::ListValue> GetTimezoneList(); base 107 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc base::Value::CreateBooleanValue(value), base 110 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc base::RunLoop().RunUntilIdle(); base 245 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc base::string16 GetNotificationText() const { base 249 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc return base::string16(); base 546 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc const base::string16 BRAILLE_CONNECTED = base 547 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc base::ASCIIToUTF16("Braille display connected."); base 548 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc const base::string16 CHROMEVOX_ENABLED = base::ASCIIToUTF16( base 550 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc const base::string16 BRAILLE_CONNECTED_AND_CHROMEVOX_ENABLED( base 551 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc BRAILLE_CONNECTED + base::ASCIIToUTF16(" ") + CHROMEVOX_ENABLED); base 27 chrome/browser/chromeos/system_logs/command_line_log_source.cc CommandLine command(base::FilePath("/usr/bin/amixer")); base 32 chrome/browser/chromeos/system_logs/command_line_log_source.cc command = CommandLine((base::FilePath("/usr/bin/cras_test_client"))); base 37 chrome/browser/chromeos/system_logs/command_line_log_source.cc command = CommandLine((base::FilePath("/usr/bin/audio_diagnostics"))); base 40 chrome/browser/chromeos/system_logs/command_line_log_source.cc command = CommandLine((base::FilePath("/usr/bin/cras_test_client"))); base 50 chrome/browser/chromeos/system_logs/command_line_log_source.cc command = CommandLine((base::FilePath("/usr/bin/printenv"))); base 53 chrome/browser/chromeos/system_logs/command_line_log_source.cc command = CommandLine(base::FilePath("/usr/bin/setxkbmap")); base 58 chrome/browser/chromeos/system_logs/command_line_log_source.cc command = CommandLine(base::FilePath("/usr/bin/xinput")); base 63 chrome/browser/chromeos/system_logs/command_line_log_source.cc command = CommandLine(base::FilePath("/usr/bin/xrandr")); base 69 chrome/browser/chromeos/system_logs/command_line_log_source.cc command = CommandLine(base::FilePath("/bin/sh")); base 77 chrome/browser/chromeos/system_logs/command_line_log_source.cc base::GetAppOutput(commands[i].second, &output); base 93 chrome/browser/chromeos/system_logs/command_line_log_source.cc base::Bind(&ExecuteCommandLines, response), base 94 chrome/browser/chromeos/system_logs/command_line_log_source.cc base::Bind(callback, base::Owned(response))); base 50 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc base::Bind(&DebugDaemonLogSource::OnGetRoutes, base 53 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc client->GetNetworkStatus(base::Bind(&DebugDaemonLogSource::OnGetNetworkStatus, base 56 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc client->GetModemStatus(base::Bind(&DebugDaemonLogSource::OnGetModemStatus, base 59 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc client->GetWiMaxStatus(base::Bind(&DebugDaemonLogSource::OnGetWiMaxStatus, base 62 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc client->GetUserLogFiles(base::Bind(&DebugDaemonLogSource::OnGetUserLogFiles, base 67 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc client->GetScrubbedLogs(base::Bind(&DebugDaemonLogSource::OnGetLogs, base 70 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc client->GetAllLogs(base::Bind(&DebugDaemonLogSource::OnGetLogs, base 150 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc base::Bind(&DebugDaemonLogSource::ReadUserLogFiles, base 152 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc base::Bind(&DebugDaemonLogSource::MergeResponse, base 154 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc base::Owned(response))); base 167 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc std::string profile_prefix = "Profile[" + base::UintToString(i) + "] "; base 174 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc base::FilePath profile_dir = last_used_profiles[i]->GetPath(); base 175 chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc bool read_success = base::ReadFileToString( base 62 chrome/browser/chromeos/system_logs/debug_daemon_log_source.h base::WeakPtrFactory<DebugDaemonLogSource> weak_ptr_factory_; base 15 chrome/browser/chromeos/system_logs/lsb_release_log_source.cc const base::SysInfo::LsbReleaseMap& lsb_map = base 16 chrome/browser/chromeos/system_logs/lsb_release_log_source.cc base::SysInfo::GetLsbReleaseMap(); base 17 chrome/browser/chromeos/system_logs/lsb_release_log_source.cc for (base::SysInfo::LsbReleaseMap::const_iterator iter = lsb_map.begin(); base 22 chrome/browser/chromeos/system_logs/touch_log_source.cc scoped_ptr<base::DictionaryValue> dictionary = base 34 chrome/browser/chromeos/system_logs/touch_log_source.cc CommandLine(base::FilePath("/opt/google/touchpad/tpcontrol")); base 39 chrome/browser/chromeos/system_logs/touch_log_source.cc CommandLine(base::FilePath("/opt/google/touchpad/generate_userfeedback")); base 43 chrome/browser/chromeos/system_logs/touch_log_source.cc base::FilePath("/opt/google/touchscreen/touchscreen_feedback")); base 49 chrome/browser/chromeos/system_logs/touch_log_source.cc base::GetAppOutput(commands[i].second, &output); base 71 chrome/browser/chromeos/system_logs/touch_log_source.cc base::Bind(&GetTouchLogs, response), base 72 chrome/browser/chromeos/system_logs/touch_log_source.cc base::Bind(callback, base::Owned(response))); base 32 chrome/browser/chromeos/timezone/timezone_provider.cc base::TimeDelta timeout, base 41 chrome/browser/chromeos/timezone/timezone_provider.cc base::Bind(&TimeZoneProvider::OnTimezoneResponse, base 42 chrome/browser/chromeos/timezone/timezone_provider.cc base::Unretained(this), base 41 chrome/browser/chromeos/timezone/timezone_provider.h base::TimeDelta timeout, base 59 chrome/browser/chromeos/timezone/timezone_provider.h base::ThreadChecker thread_checker_; base 103 chrome/browser/chromeos/timezone/timezone_request.cc void RecordUmaResponseTime(base::TimeDelta elapsed, bool success) { base 124 chrome/browser/chromeos/timezone/timezone_request.cc query += base::StringPrintf( base 136 chrome/browser/chromeos/timezone/timezone_request.cc query += base::StringPrintf( base 154 chrome/browser/chromeos/timezone/timezone_request.cc base::StringPrintf("TimeZone provider at '%s' : %s.", base 179 chrome/browser/chromeos/timezone/timezone_request.cc scoped_ptr<base::Value> response_value(base::JSONReader::ReadAndReturnError( base 180 chrome/browser/chromeos/timezone/timezone_request.cc response_body, base::JSON_PARSE_RFC, NULL, &error_msg)); base 187 chrome/browser/chromeos/timezone/timezone_request.cc const base::DictionaryValue* response_object = NULL; base 191 chrome/browser/chromeos/timezone/timezone_request.cc base::StringPrintf("%u", response_value->GetType()), base 281 chrome/browser/chromeos/timezone/timezone_request.cc message += base::IntToString(status_code); base 309 chrome/browser/chromeos/timezone/timezone_request.cc base::TimeDelta retry_timeout) base 314 chrome/browser/chromeos/timezone/timezone_request.cc retry_timeout_abs_(base::Time::Now() + retry_timeout), base 323 chrome/browser/chromeos/timezone/timezone_request.cc RecordUmaResponseTime(base::Time::Now() - request_started_at_, false); base 331 chrome/browser/chromeos/timezone/timezone_request.cc request_started_at_ = base::Time::Now(); base 353 chrome/browser/chromeos/timezone/timezone_request.cc const base::TimeDelta delay = base::TimeDelta::FromSeconds( base 378 chrome/browser/chromeos/timezone/timezone_request.cc const base::Time now = base::Time::Now(); base 386 chrome/browser/chromeos/timezone/timezone_request.cc RecordUmaResponseTime(base::Time::Now() - request_started_at_, success); base 416 chrome/browser/chromeos/timezone/timezone_request.cc return base::StringPrintf( base 65 chrome/browser/chromeos/timezone/timezone_request.h typedef base::Callback<void(scoped_ptr<TimeZoneResponseData> /* timezone */, base 77 chrome/browser/chromeos/timezone/timezone_request.h base::TimeDelta retry_timeout); base 107 chrome/browser/chromeos/timezone/timezone_request.h base::Time request_started_at_; base 110 chrome/browser/chromeos/timezone/timezone_request.h base::Time retry_timeout_abs_; base 113 chrome/browser/chromeos/timezone/timezone_request.h base::OneShotTimer<TimeZoneRequest> timezone_request_scheduled_; base 119 chrome/browser/chromeos/timezone/timezone_request.h base::ThreadChecker thread_checker_; base 39 chrome/browser/chromeos/ui/echo_dialog_view.cc void EchoDialogView::InitForEnabledEcho(const base::string16& service_name, base 40 chrome/browser/chromeos/ui/echo_dialog_view.cc const base::string16& origin) { base 44 chrome/browser/chromeos/ui/echo_dialog_view.cc base::string16 link = base 48 chrome/browser/chromeos/ui/echo_dialog_view.cc base::string16 text = l10n_util::GetStringFUTF16(IDS_ECHO_CONSENT_DIALOG_TEXT, base 77 chrome/browser/chromeos/ui/echo_dialog_view.cc base::string16 link = base 81 chrome/browser/chromeos/ui/echo_dialog_view.cc base::string16 text = l10n_util::GetStringFUTF16( base 133 chrome/browser/chromeos/ui/echo_dialog_view.cc base::string16 EchoDialogView::GetDialogButtonLabel( base 139 chrome/browser/chromeos/ui/echo_dialog_view.cc return base::string16(); base 38 chrome/browser/chromeos/ui/echo_dialog_view.h void InitForEnabledEcho(const base::string16& service_name, const base::string16& origin); base 55 chrome/browser/chromeos/ui/echo_dialog_view.h virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; base 131 chrome/browser/chromeos/ui/focus_ring_layer.cc base::Closure FocusRingLayer::PrepareForLayerBoundsChange() { base 132 chrome/browser/chromeos/ui/focus_ring_layer.cc return base::Bind(&base::DoNothing); base 43 chrome/browser/chromeos/ui/focus_ring_layer.h virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE; base 86 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc base::TimeDelta::FromMilliseconds(animation_time_ms)); base 114 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc const base::string16& app_name, base 131 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc base::TimeDelta::FromMilliseconds(message_visibility_time_in_ms), base 192 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc void AddLabel(const base::string16& text, base 206 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc base::OneShotTimer<IdleAppNameNotificationDelegateView> hide_timer_; base 213 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc base::string16 spoken_text_; base 245 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc base::string16 IdleAppNameNotificationView::GetShownTextForTest() { base 258 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc base::string16 app_name; base 261 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc !base::ContainsOnlyChars(extension->name(), base::kWhitespaceASCII)) { base 262 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc app_name = base::UTF8ToUTF16(extension->name()); base 42 chrome/browser/chromeos/ui/idle_app_name_notification_view.h base::string16 GetShownTextForTest(); base 40 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::DictionaryValue manifest; base 48 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc extensions::Extension::Create(base::FilePath(), base 54 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::DictionaryValue manifest2; base 60 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc extensions::Extension::Create(base::FilePath(), base 70 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 103 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 113 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::string16 text = message->GetShownTextForTest(); base 115 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::string16 name = base::ASCIIToUTF16("Test"); base 124 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::string16 text = message->GetShownTextForTest(); base 125 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::string16 error = l10n_util::GetStringUTF16( base 47 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc base::TimeDelta IdleLogoutSettingsProvider::GetCountdownUpdateInterval() { base 48 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc return base::TimeDelta::FromMilliseconds(kCountdownUpdateIntervalMs); base 90 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc base::string16 IdleLogoutDialogView::GetWindowTitle() const { base 123 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc settings->Initialize(base::Bind(&IdleLogoutDialogView::InitAndShow, base 153 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc countdown_end_time_ = base::Time::Now() + base 171 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc base::TimeDelta logout_warning_time = countdown_end_time_ - base 172 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc base::Time::Now(); base 174 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc base::Time::kMillisecondsPerSecond) + 0.5; base 179 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc base::Int64ToString16(seconds_left))); base 13 chrome/browser/chromeos/ui/idle_logout_dialog_view.h namespace base { base 32 chrome/browser/chromeos/ui/idle_logout_dialog_view.h virtual base::TimeDelta GetCountdownUpdateInterval(); base 49 chrome/browser/chromeos/ui/idle_logout_dialog_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 76 chrome/browser/chromeos/ui/idle_logout_dialog_view.h base::Time countdown_end_time_; base 78 chrome/browser/chromeos/ui/idle_logout_dialog_view.h base::RepeatingTimer<IdleLogoutDialogView> timer_; base 80 chrome/browser/chromeos/ui/idle_logout_dialog_view.h base::WeakPtrFactory<IdleLogoutDialogView> weak_ptr_factory_; base 21 chrome/browser/chromeos/ui/idle_logout_dialog_view_browsertest.cc virtual base::TimeDelta GetCountdownUpdateInterval() OVERRIDE { base 22 chrome/browser/chromeos/ui/idle_logout_dialog_view_browsertest.cc return base::TimeDelta::FromMilliseconds(0); base 15 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc const base::string16& text) base 26 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc const base::Closure& stop_callback) { base 36 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc const base::string16& text) { base 17 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h explicit ScreenCaptureNotificationUIChromeOS(const base::string16& text); base 21 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) base 25 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h const base::string16 text_; base 103 chrome/browser/chromeos/ui_proxy_config.cc base::DictionaryValue* UIProxyConfig::ToPrefProxyConfig() const { base 15 chrome/browser/chromeos/ui_proxy_config.h namespace base { base 76 chrome/browser/chromeos/ui_proxy_config.h base::DictionaryValue* ToPrefProxyConfig() const; base 121 chrome/browser/chromeos/ui_proxy_config_service.cc scoped_ptr<base::DictionaryValue> proxy_config_value( base 51 chrome/browser/chromeos/upgrade_detector_chromeos.cc FROM_HERE, base::TimeDelta::FromMilliseconds(kNotifyCycleTimeMs), base 56 chrome/browser/chromeos/upgrade_detector_chromeos.cc base::TimeDelta delta = base::Time::Now() - upgrade_detected_time(); base 46 chrome/browser/chromeos/upgrade_detector_chromeos.h base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_; base 43 chrome/browser/chromeos/version_loader.cc base::Callback<void(const std::string&)> callback, base 56 chrome/browser/chromeos/version_loader.cc base::CancelableTaskTracker::TaskId VersionLoader::GetVersion( base 59 chrome/browser/chromeos/version_loader.cc base::CancelableTaskTracker* tracker) { base 64 chrome/browser/chromeos/version_loader.cc base::Bind(&Backend::GetVersion, backend_.get(), format, version), base 65 chrome/browser/chromeos/version_loader.cc base::Bind(&VersionLoaderCallbackHelper, callback, base::Owned(version))); base 68 chrome/browser/chromeos/version_loader.cc base::CancelableTaskTracker::TaskId VersionLoader::GetFirmware( base 70 chrome/browser/chromeos/version_loader.cc base::CancelableTaskTracker* tracker) { base 75 chrome/browser/chromeos/version_loader.cc base::Bind(&Backend::GetFirmware, backend_.get(), firmware), base 76 chrome/browser/chromeos/version_loader.cc base::Bind(&VersionLoaderCallbackHelper, base 77 chrome/browser/chromeos/version_loader.cc callback, base::Owned(firmware))); base 91 chrome/browser/chromeos/version_loader.cc base::SplitString(contents, '\n', &lines); base 108 chrome/browser/chromeos/version_loader.cc if (!base::SysInfo::GetLsbReleaseValue(key, version)) { base 109 chrome/browser/chromeos/version_loader.cc LOG_IF(ERROR, base::SysInfo::IsRunningOnChromeOS()) base 114 chrome/browser/chromeos/version_loader.cc base::Time::Exploded ctime; base 115 chrome/browser/chromeos/version_loader.cc base::SysInfo::GetLsbReleaseTime().UTCExplode(&ctime); base 116 chrome/browser/chromeos/version_loader.cc *version += base::StringPrintf("-%02u.%02u.%02u", base 127 chrome/browser/chromeos/version_loader.cc const base::FilePath file_path(kPathFirmware); base 128 chrome/browser/chromeos/version_loader.cc if (base::ReadFileToString(file_path, &contents)) { base 43 chrome/browser/chromeos/version_loader.h typedef base::Callback<void(const std::string&)> GetVersionCallback; base 44 chrome/browser/chromeos/version_loader.h typedef base::Callback<void(const std::string&)> GetFirmwareCallback; base 49 chrome/browser/chromeos/version_loader.h base::CancelableTaskTracker::TaskId GetVersion( base 52 chrome/browser/chromeos/version_loader.h base::CancelableTaskTracker* tracker); base 54 chrome/browser/chromeos/version_loader.h base::CancelableTaskTracker::TaskId GetFirmware( base 56 chrome/browser/chromeos/version_loader.h base::CancelableTaskTracker* tracker); base 63 chrome/browser/chromeos/version_loader.h class Backend : public base::RefCountedThreadSafe<Backend> { base 76 chrome/browser/chromeos/version_loader.h friend class base::RefCountedThreadSafe<Backend>; base 78 chrome/browser/command_updater.h typedef base::hash_map<int, Command*> CommandMap; base 16 chrome/browser/common/cancelable_request.cc base::AutoLock lock(pending_request_lock_); base 32 chrome/browser/common/cancelable_request.cc base::AutoLock lock(pending_request_lock_); base 42 chrome/browser/common/cancelable_request.cc base::AutoLock lock(pending_request_lock_); base 63 chrome/browser/common/cancelable_request.cc base::AutoLock lock(pending_request_lock_); base 96 chrome/browser/common/cancelable_request.cc callback_thread_ = base::MessageLoop::current(); base 111 chrome/browser/common/cancelable_request.cc void CancelableRequestBase::DoForward(const base::Closure& forwarded_call, base 113 chrome/browser/common/cancelable_request.cc if (force_async || callback_thread_ != base::MessageLoop::current()) { base 116 chrome/browser/common/cancelable_request.cc base::Bind(&CancelableRequestBase::ExecuteCallback, this, base 125 chrome/browser/common/cancelable_request.cc const base::Closure& forwarded_call) { base 126 chrome/browser/common/cancelable_request.cc DCHECK_EQ(callback_thread_, base::MessageLoop::current()); base 154 chrome/browser/common/cancelable_request.h base::Lock pending_request_lock_; base 523 chrome/browser/common/cancelable_request.h : public base::RefCountedThreadSafe<CancelableRequestBase> { base 563 chrome/browser/common/cancelable_request.h friend class base::RefCountedThreadSafe<CancelableRequestBase>; base 574 chrome/browser/common/cancelable_request.h void DoForward(const base::Closure& forwarded_call, bool force_async); base 590 chrome/browser/common/cancelable_request.h base::MessageLoop* callback_thread_; base 607 chrome/browser/common/cancelable_request.h base::CancellationFlag canceled_; base 613 chrome/browser/common/cancelable_request.h void ExecuteCallback(const base::Closure& forwarded_call); base 673 chrome/browser/common/cancelable_request.h if (callback_thread_ == base::MessageLoop::current()) { base 679 chrome/browser/common/cancelable_request.h base::Bind(&CancelableRequest<CB>::ExecuteCallback, this, param)); base 690 chrome/browser/common/cancelable_request.h base::Bind(&CancelableRequest<CB>::ExecuteCallback, this, param)); base 742 chrome/browser/common/cancelable_request.h class CancelableRequest<base::Closure> : public CancelableRequestBase { base 744 chrome/browser/common/cancelable_request.h typedef base::Closure CallbackType; base 770 chrome/browser/common/cancelable_request.h class CancelableRequest<base::Callback<void(A1)> > base 773 chrome/browser/common/cancelable_request.h typedef base::Callback<void(A1)> CallbackType; base 782 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1) { base 784 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1), false); base 788 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1) { base 790 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1), true); base 801 chrome/browser/common/cancelable_request.h class CancelableRequest<base::Callback<void(A1,A2)> > base 804 chrome/browser/common/cancelable_request.h typedef base::Callback<void(A1,A2)> CallbackType; base 813 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 814 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2) { base 816 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2), false); base 820 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 821 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2) { base 823 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2), true); base 834 chrome/browser/common/cancelable_request.h class CancelableRequest<base::Callback<void(A1,A2,A3)> > base 837 chrome/browser/common/cancelable_request.h typedef base::Callback<void(A1,A2,A3)> CallbackType; base 846 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 847 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2, base 848 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A3>::ForwardType a3) { base 850 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2, a3), false); base 854 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 855 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2, base 856 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A3>::ForwardType a3) { base 858 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2, a3), true); base 869 chrome/browser/common/cancelable_request.h class CancelableRequest<base::Callback<void(A1, A2, A3, A4)> > base 872 chrome/browser/common/cancelable_request.h typedef base::Callback<void(A1, A2, A3, A4)> CallbackType; base 881 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 882 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2, base 883 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A3>::ForwardType a3, base 884 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A4>::ForwardType a4) { base 886 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2, a3, a4), false); base 890 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 891 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2, base 892 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A3>::ForwardType a3, base 893 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A4>::ForwardType a4) { base 895 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2, a3, a4), true); base 906 chrome/browser/common/cancelable_request.h class CancelableRequest<base::Callback<void(A1, A2, A3, A4, A5)> > base 909 chrome/browser/common/cancelable_request.h typedef base::Callback<void(A1, A2, A3, A4, A5)> CallbackType; base 918 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 919 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2, base 920 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A3>::ForwardType a3, base 921 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A4>::ForwardType a4, base 922 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A5>::ForwardType a5) { base 924 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2, a3, a4, a5), false); base 928 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 929 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2, base 930 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A3>::ForwardType a3, base 931 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A4>::ForwardType a4, base 932 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A5>::ForwardType a5) { base 934 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2, a3, a4, a5), true); base 946 chrome/browser/common/cancelable_request.h class CancelableRequest<base::Callback<void(A1, A2, A3, A4, A5, A6)> > base 949 chrome/browser/common/cancelable_request.h typedef base::Callback<void(A1, A2, A3, A4, A5, A6)> CallbackType; base 958 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 959 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2, base 960 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A3>::ForwardType a3, base 961 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A4>::ForwardType a4, base 962 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A5>::ForwardType a5, base 963 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A6>::ForwardType a6) { base 965 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2, a3, a4, a5, a6), false); base 969 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A1>::ForwardType a1, base 970 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A2>::ForwardType a2, base 971 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A3>::ForwardType a3, base 972 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A4>::ForwardType a4, base 973 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A5>::ForwardType a5, base 974 chrome/browser/common/cancelable_request.h typename base::internal::CallbackParamTraits<A6>::ForwardType a6) { base 976 chrome/browser/common/cancelable_request.h DoForward(base::Bind(callback_, a1, a2, a3, a4, a5, a6), true); base 22 chrome/browser/component_updater/background_downloader_win.cc using base::win::ScopedCoMem; base 23 chrome/browser/component_updater/background_downloader_win.cc using base::win::ScopedComPtr; base 99 chrome/browser/component_updater/background_downloader_win.cc const base::char16 kJobDescription[] = L"Chrome Component Updater"; base 164 chrome/browser/component_updater/background_downloader_win.cc base::string16* local_name, base 165 chrome/browser/component_updater/background_downloader_win.cc base::string16* remote_name, base 170 chrome/browser/component_updater/background_downloader_win.cc ScopedCoMem<base::char16> name; base 178 chrome/browser/component_updater/background_downloader_win.cc ScopedCoMem<base::char16> name; base 223 chrome/browser/component_updater/background_downloader_win.cc HRESULT GetJobDescription(IBackgroundCopyJob* job, const base::string16* name) { base 224 chrome/browser/component_updater/background_downloader_win.cc ScopedCoMem<base::char16> description; base 271 chrome/browser/component_updater/background_downloader_win.cc base::string16 job_description; base 295 chrome/browser/component_updater/background_downloader_win.cc const base::TimeDelta time_delta(base::TimeDelta::FromDays(num_days)); base 296 chrome/browser/component_updater/background_downloader_win.cc const base::Time creation_time(base::Time::FromFileTime(times.CreationTime)); base 298 chrome/browser/component_updater/background_downloader_win.cc return creation_time + time_delta < base::Time::Now(); base 304 chrome/browser/component_updater/background_downloader_win.cc : public std::binary_function<IBackgroundCopyJob*, const base::string16&, base 307 chrome/browser/component_updater/background_downloader_win.cc const base::string16& remote_name) const; base 311 chrome/browser/component_updater/background_downloader_win.cc const base::string16& remote_name) const { base 318 chrome/browser/component_updater/background_downloader_win.cc ScopedCoMem<base::char16> name; base 345 chrome/browser/component_updater/background_downloader_win.cc base::string16 local_name; base 348 chrome/browser/component_updater/background_downloader_win.cc DeleteFileAndEmptyParentDirectory(base::FilePath(local_name)); base 354 chrome/browser/component_updater/background_downloader_win.cc base::win::ScopedComPtr<IBackgroundCopyManager> bits_manager) { base 358 chrome/browser/component_updater/background_downloader_win.cc static base::Time last_sweep; base 360 chrome/browser/component_updater/background_downloader_win.cc const base::TimeDelta time_delta(base::TimeDelta::FromDays( base 362 chrome/browser/component_updater/background_downloader_win.cc const base::Time current_time(base::Time::Now()); base 389 chrome/browser/component_updater/background_downloader_win.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 420 chrome/browser/component_updater/background_downloader_win.cc base::Bind(&BackgroundDownloader::BeginDownload, base 421 chrome/browser/component_updater/background_downloader_win.cc base::Unretained(this), base 433 chrome/browser/component_updater/background_downloader_win.cc download_start_time_ = base::Time::Now(); base 444 chrome/browser/component_updater/background_downloader_win.cc timer_.reset(new base::RepeatingTimer<BackgroundDownloader>); base 446 chrome/browser/component_updater/background_downloader_win.cc base::TimeDelta::FromSeconds(kJobPollingIntervalSec), base 516 chrome/browser/component_updater/background_downloader_win.cc const base::Time download_end_time(base::Time::Now()); base 517 chrome/browser/component_updater/background_downloader_win.cc const base::TimeDelta download_time = base 519 chrome/browser/component_updater/background_downloader_win.cc download_end_time - download_start_time_ : base::TimeDelta(); base 525 chrome/browser/component_updater/background_downloader_win.cc base::FilePath response; base 531 chrome/browser/component_updater/background_downloader_win.cc base::string16 local_name; base 541 chrome/browser/component_updater/background_downloader_win.cc response = base::FilePath(local_name); base 580 chrome/browser/component_updater/background_downloader_win.cc base::Bind(&BackgroundDownloader::OnDownloadComplete, base 581 chrome/browser/component_updater/background_downloader_win.cc base::Unretained(this), base 642 chrome/browser/component_updater/background_downloader_win.cc job_stuck_begin_time_ = base::Time::Now(); base 684 chrome/browser/component_updater/background_downloader_win.cc std::bind2nd(JobFileUrlEqual(), base::SysUTF8ToWide(url.spec())), base 708 chrome/browser/component_updater/background_downloader_win.cc const base::string16 filename(base::SysUTF8ToWide(url.ExtractFileName())); base 710 chrome/browser/component_updater/background_downloader_win.cc base::FilePath tempdir; base 711 chrome/browser/component_updater/background_downloader_win.cc if (!base::CreateNewTempDirectory( base 717 chrome/browser/component_updater/background_downloader_win.cc base::SysUTF8ToWide(url.spec()).c_str(), base 747 chrome/browser/component_updater/background_downloader_win.cc const base::TimeDelta job_stuck_timeout( base 748 chrome/browser/component_updater/background_downloader_win.cc base::TimeDelta::FromMinutes(kJobStuckTimeoutMin)); base 749 chrome/browser/component_updater/background_downloader_win.cc return job_stuck_begin_time_ + job_stuck_timeout < base::Time::Now(); base 31 chrome/browser/component_updater/background_downloader_win.h scoped_refptr<base::SequencedTaskRunner> task_runner, base 73 chrome/browser/component_updater/background_downloader_win.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 78 chrome/browser/component_updater/background_downloader_win.h scoped_ptr<base::RepeatingTimer<BackgroundDownloader> > timer_; base 80 chrome/browser/component_updater/background_downloader_win.h base::win::ScopedComPtr<IBackgroundCopyManager> bits_manager_; base 81 chrome/browser/component_updater/background_downloader_win.h base::win::ScopedComPtr<IBackgroundCopyJob> job_; base 84 chrome/browser/component_updater/background_downloader_win.h base::Time download_start_time_; base 87 chrome/browser/component_updater/background_downloader_win.h base::Time job_stuck_begin_time_; base 26 chrome/browser/component_updater/component_patcher.cc base::ListValue* ReadCommands(const base::FilePath& unpack_path) { base 27 chrome/browser/component_updater/component_patcher.cc const base::FilePath commands = base 29 chrome/browser/component_updater/component_patcher.cc if (!base::PathExists(commands)) base 33 chrome/browser/component_updater/component_patcher.cc scoped_ptr<base::Value> root(serializer.Deserialize(NULL, NULL)); base 35 chrome/browser/component_updater/component_patcher.cc return (root.get() && root->IsType(base::Value::TYPE_LIST)) ? base 36 chrome/browser/component_updater/component_patcher.cc static_cast<base::ListValue*>(root.release()) : NULL; base 42 chrome/browser/component_updater/component_patcher.cc const base::FilePath& input_dir, base 43 chrome/browser/component_updater/component_patcher.cc const base::FilePath& unpack_dir, base 46 chrome/browser/component_updater/component_patcher.cc scoped_refptr<base::SequencedTaskRunner> task_runner) base 60 chrome/browser/component_updater/component_patcher.cc base::Bind(&ComponentPatcher::StartPatching, base 79 chrome/browser/component_updater/component_patcher.cc if (!(*next_command_)->IsType(base::Value::TYPE_DICTIONARY)) { base 83 chrome/browser/component_updater/component_patcher.cc const base::DictionaryValue* command_args = base 84 chrome/browser/component_updater/component_patcher.cc static_cast<base::DictionaryValue*>(*next_command_); base 96 chrome/browser/component_updater/component_patcher.cc base::Bind(&ComponentPatcher::DonePatchingFile, base 114 chrome/browser/component_updater/component_patcher.cc task_runner_->PostTask(FROM_HERE, base::Bind(callback_, base 36 chrome/browser/component_updater/component_patcher.h namespace base { base 53 chrome/browser/component_updater/component_patcher.h class ComponentPatcher : public base::RefCountedThreadSafe<ComponentPatcher> { base 60 chrome/browser/component_updater/component_patcher.h ComponentPatcher(const base::FilePath& input_dir, base 61 chrome/browser/component_updater/component_patcher.h const base::FilePath& unpack_dir, base 64 chrome/browser/component_updater/component_patcher.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 73 chrome/browser/component_updater/component_patcher.h friend class base::RefCountedThreadSafe<ComponentPatcher>; base 85 chrome/browser/component_updater/component_patcher.h const base::FilePath input_dir_; base 86 chrome/browser/component_updater/component_patcher.h const base::FilePath unpack_dir_; base 90 chrome/browser/component_updater/component_patcher.h scoped_ptr<base::ListValue> commands_; base 91 chrome/browser/component_updater/component_patcher.h base::ValueVector::const_iterator next_command_; base 93 chrome/browser/component_updater/component_patcher.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 52 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath input_abs_path, base 53 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath patch_abs_path, base 54 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath output_abs_path) OVERRIDE; base 55 chrome/browser/component_updater/component_patcher_operation.cc virtual int Patch(base::FilePath input_abs_path, base 56 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath patch_abs_path, base 57 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath output_abs_path) OVERRIDE; base 69 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath input_abs_path, base 70 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath patch_abs_path, base 71 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath output_abs_path) { base 78 chrome/browser/component_updater/component_patcher_operation.cc int CourgetteTraits::Patch(base::FilePath input_abs_path, base 79 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath patch_abs_path, base 80 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath output_abs_path) { base 91 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath input_abs_path, base 92 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath patch_abs_path, base 93 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath output_abs_path) OVERRIDE; base 94 chrome/browser/component_updater/component_patcher_operation.cc virtual int Patch(base::FilePath input_abs_path, base 95 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath patch_abs_path, base 96 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath output_abs_path) OVERRIDE; base 108 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath input_abs_path, base 109 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath patch_abs_path, base 110 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath output_abs_path) { base 117 chrome/browser/component_updater/component_patcher_operation.cc int BsdiffTraits::Patch(base::FilePath input_abs_path, base 118 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath patch_abs_path, base 119 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath output_abs_path) { base 145 chrome/browser/component_updater/component_patcher_operation.cc DeltaUpdateOp* CreateDeltaUpdateOp(const base::DictionaryValue& command) { base 157 chrome/browser/component_updater/component_patcher_operation.cc const base::DictionaryValue* command_args, base 158 chrome/browser/component_updater/component_patcher_operation.cc const base::FilePath& input_dir, base 159 chrome/browser/component_updater/component_patcher_operation.cc const base::FilePath& unpack_dir, base 163 chrome/browser/component_updater/component_patcher_operation.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 175 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath::FromUTF8Unsafe(output_rel_path)); base 183 chrome/browser/component_updater/component_patcher_operation.cc const base::FilePath parent = output_abs_path_.DirName(); base 184 chrome/browser/component_updater/component_patcher_operation.cc if (!base::DirectoryExists(parent)) { base 185 chrome/browser/component_updater/component_patcher_operation.cc if (!base::CreateDirectory(parent)) { base 191 chrome/browser/component_updater/component_patcher_operation.cc DoRun(base::Bind(&DeltaUpdateOp::DoneRunning, base 200 chrome/browser/component_updater/component_patcher_operation.cc base::Bind(callback_, error, extended_error)); base 208 chrome/browser/component_updater/component_patcher_operation.cc if (!base::HexStringToBytes(output_sha256_, &expected_hash) || base 212 chrome/browser/component_updater/component_patcher_operation.cc base::MemoryMappedFile output_file_mmapped; base 230 chrome/browser/component_updater/component_patcher_operation.cc scoped_refptr<base::SequencedTaskRunner> DeltaUpdateOp::GetTaskRunner() { base 239 chrome/browser/component_updater/component_patcher_operation.cc const base::DictionaryValue* command_args, base 240 chrome/browser/component_updater/component_patcher_operation.cc const base::FilePath& input_dir, base 253 chrome/browser/component_updater/component_patcher_operation.cc if (!base::CopyFile(input_abs_path_, output_abs_path_)) base 264 chrome/browser/component_updater/component_patcher_operation.cc const base::DictionaryValue* command_args, base 265 chrome/browser/component_updater/component_patcher_operation.cc const base::FilePath& input_dir, base 272 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath::FromUTF8Unsafe(patch_rel_path)); base 278 chrome/browser/component_updater/component_patcher_operation.cc if (!base::Move(patch_abs_path_, output_abs_path_)) base 286 chrome/browser/component_updater/component_patcher_operation.cc scoped_refptr<base::SequencedTaskRunner> task_runner) base 297 chrome/browser/component_updater/component_patcher_operation.cc this, base::MessageLoopProxy::current().get()); base 316 chrome/browser/component_updater/component_patcher_operation.cc base::Bind(&DeltaUpdateOpPatch::DonePatching, base 326 chrome/browser/component_updater/component_patcher_operation.cc base::Bind(&DeltaUpdateOpPatch::DonePatching, base 337 chrome/browser/component_updater/component_patcher_operation.cc base::Bind(&DeltaUpdateOpPatch::DonePatching, base 354 chrome/browser/component_updater/component_patcher_operation.cc const base::DictionaryValue* command_args, base 355 chrome/browser/component_updater/component_patcher_operation.cc const base::FilePath& input_dir, base 367 chrome/browser/component_updater/component_patcher_operation.cc base::FilePath::FromUTF8Unsafe(patch_rel_path)); base 380 chrome/browser/component_updater/component_patcher_operation.cc base::Bind(&DeltaUpdateOpPatchHost::StartProcess, base 382 chrome/browser/component_updater/component_patcher_operation.cc base::Passed(strategy_->GetPatchMessage(input_abs_path_, base 19 chrome/browser/component_updater/component_patcher_operation.h namespace base { base 27 chrome/browser/component_updater/component_patcher_operation.h class DeltaUpdateOp : public base::RefCountedThreadSafe<DeltaUpdateOp> { base 33 chrome/browser/component_updater/component_patcher_operation.h void Run(const base::DictionaryValue* command_args, base 34 chrome/browser/component_updater/component_patcher_operation.h const base::FilePath& input_dir, base 35 chrome/browser/component_updater/component_patcher_operation.h const base::FilePath& unpack_dir, base 39 chrome/browser/component_updater/component_patcher_operation.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 46 chrome/browser/component_updater/component_patcher_operation.h scoped_refptr<base::SequencedTaskRunner> GetTaskRunner(); base 49 chrome/browser/component_updater/component_patcher_operation.h base::FilePath output_abs_path_; base 52 chrome/browser/component_updater/component_patcher_operation.h friend class base::RefCountedThreadSafe<DeltaUpdateOp>; base 61 chrome/browser/component_updater/component_patcher_operation.h const base::DictionaryValue* command_args, base 62 chrome/browser/component_updater/component_patcher_operation.h const base::FilePath& input_dir, base 77 chrome/browser/component_updater/component_patcher_operation.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 94 chrome/browser/component_updater/component_patcher_operation.h const base::DictionaryValue* command_args, base 95 chrome/browser/component_updater/component_patcher_operation.h const base::FilePath& input_dir, base 100 chrome/browser/component_updater/component_patcher_operation.h base::FilePath input_abs_path_; base 118 chrome/browser/component_updater/component_patcher_operation.h const base::DictionaryValue* command_args, base 119 chrome/browser/component_updater/component_patcher_operation.h const base::FilePath& input_dir, base 124 chrome/browser/component_updater/component_patcher_operation.h base::FilePath patch_abs_path_; base 142 chrome/browser/component_updater/component_patcher_operation.h base::FilePath input_abs_path, base 143 chrome/browser/component_updater/component_patcher_operation.h base::FilePath patch_abs_path, base 144 chrome/browser/component_updater/component_patcher_operation.h base::FilePath output_abs_path) = 0; base 147 chrome/browser/component_updater/component_patcher_operation.h virtual int Patch(base::FilePath input_abs_path, base 148 chrome/browser/component_updater/component_patcher_operation.h base::FilePath patch_abs_path, base 149 chrome/browser/component_updater/component_patcher_operation.h base::FilePath output_abs_path) = 0; base 157 chrome/browser/component_updater/component_patcher_operation.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 174 chrome/browser/component_updater/component_patcher_operation.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 192 chrome/browser/component_updater/component_patcher_operation.h const base::DictionaryValue* command_args, base 193 chrome/browser/component_updater/component_patcher_operation.h const base::FilePath& input_dir, base 199 chrome/browser/component_updater/component_patcher_operation.h base::FilePath patch_abs_path_; base 200 chrome/browser/component_updater/component_patcher_operation.h base::FilePath input_abs_path_; base 208 chrome/browser/component_updater/component_patcher_operation.h DeltaUpdateOp* CreateDeltaUpdateOp(const base::DictionaryValue& command); base 99 chrome/browser/component_updater/component_unpacker.cc const base::FilePath& path, base 103 chrome/browser/component_updater/component_unpacker.cc scoped_refptr<base::SequencedTaskRunner> task_runner) base 118 chrome/browser/component_updater/component_unpacker.cc scoped_ptr<base::DictionaryValue> ReadManifest( base 119 chrome/browser/component_updater/component_unpacker.cc const base::FilePath& unpack_path) { base 120 chrome/browser/component_updater/component_unpacker.cc base::FilePath manifest = base 122 chrome/browser/component_updater/component_unpacker.cc if (!base::PathExists(manifest)) base 123 chrome/browser/component_updater/component_unpacker.cc return scoped_ptr<base::DictionaryValue>(); base 126 chrome/browser/component_updater/component_unpacker.cc scoped_ptr<base::Value> root(serializer.Deserialize(NULL, &error)); base 128 chrome/browser/component_updater/component_unpacker.cc return scoped_ptr<base::DictionaryValue>(); base 129 chrome/browser/component_updater/component_unpacker.cc if (!root->IsType(base::Value::TYPE_DICTIONARY)) base 130 chrome/browser/component_updater/component_unpacker.cc return scoped_ptr<base::DictionaryValue>(); base 131 chrome/browser/component_updater/component_unpacker.cc return scoped_ptr<base::DictionaryValue>( base 132 chrome/browser/component_updater/component_unpacker.cc static_cast<base::DictionaryValue*>(root.release())).Pass(); base 152 chrome/browser/component_updater/component_unpacker.cc ScopedStdioHandle file(base::OpenFile(path_, "rb")); base 181 chrome/browser/component_updater/component_unpacker.cc base::FilePath& destination = is_delta_ ? unpack_diff_path_ : unpack_path_; base 182 chrome/browser/component_updater/component_unpacker.cc if (!base::CreateNewTempDirectory(base::FilePath::StringType(), base 198 chrome/browser/component_updater/component_unpacker.cc if (!base::CreateNewTempDirectory(base::FilePath::StringType(), base 210 chrome/browser/component_updater/component_unpacker.cc base::Bind(&ComponentPatcher::Start, base 212 chrome/browser/component_updater/component_unpacker.cc base::Bind(&ComponentUnpacker::EndPatching, base 216 chrome/browser/component_updater/component_unpacker.cc base::Bind(&ComponentUnpacker::EndPatching, base 235 chrome/browser/component_updater/component_unpacker.cc base::DeleteFile(unpack_diff_path_, true); base 245 chrome/browser/component_updater/component_unpacker.cc base::WriteFile( base 252 chrome/browser/component_updater/component_unpacker.cc scoped_ptr<base::DictionaryValue> manifest(ReadManifest(unpack_path_)); base 266 chrome/browser/component_updater/component_unpacker.cc base::DeleteFile(unpack_diff_path_, true); base 268 chrome/browser/component_updater/component_unpacker.cc base::DeleteFile(unpack_path_, true); base 25 chrome/browser/component_updater/component_unpacker.h scoped_ptr<base::DictionaryValue> ReadManifest( base 26 chrome/browser/component_updater/component_unpacker.h const base::FilePath& unpack_path); base 66 chrome/browser/component_updater/component_unpacker.h class ComponentUnpacker : public base::RefCountedThreadSafe<ComponentUnpacker> { base 91 chrome/browser/component_updater/component_unpacker.h typedef base::Callback<void(Error, int)> Callback; base 97 chrome/browser/component_updater/component_unpacker.h const base::FilePath& path, base 101 chrome/browser/component_updater/component_unpacker.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 108 chrome/browser/component_updater/component_unpacker.h friend class base::RefCountedThreadSafe<ComponentUnpacker>; base 142 chrome/browser/component_updater/component_unpacker.h base::FilePath path_; base 143 chrome/browser/component_updater/component_unpacker.h base::FilePath unpack_path_; base 144 chrome/browser/component_updater/component_unpacker.h base::FilePath unpack_diff_path_; base 153 chrome/browser/component_updater/component_unpacker.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 10 chrome/browser/component_updater/component_updater_configurator.h namespace base { base 21 chrome/browser/component_updater/component_updater_configurator.h const base::CommandLine* cmdline, base 88 chrome/browser/component_updater/component_updater_ping_manager.cc const std::string app_element(base::StringPrintf( base 103 chrome/browser/component_updater/component_updater_ping_manager.cc using base::StringAppendF; base 118 chrome/browser/component_updater/component_updater_ping_manager.cc base::Int64ToString(metrics.bytes_downloaded).c_str()); base 122 chrome/browser/component_updater/component_updater_ping_manager.cc base::Int64ToString(metrics.bytes_total).c_str()); base 127 chrome/browser/component_updater/component_updater_ping_manager.cc base::Uint64ToString(metrics.download_time_ms).c_str()); base 142 chrome/browser/component_updater/component_updater_ping_manager.cc using base::StringAppendF; base 108 chrome/browser/component_updater/component_updater_service.cc public base::SupportsWeakPtr<CUResourceThrottle> { base 121 chrome/browser/component_updater/component_updater_service.cc typedef std::vector<base::WeakPtr<CUResourceThrottle> > WeakPtrVector; base 133 chrome/browser/component_updater/component_updater_service.cc void UnblockResourceThrottle(base::WeakPtr<CUResourceThrottle> rt) { base 137 chrome/browser/component_updater/component_updater_service.cc base::Bind(&CUResourceThrottle::Unblock, rt)); base 226 chrome/browser/component_updater/component_updater_service.cc void Install(scoped_ptr<CRXContext> context, const base::FilePath& crx_path); base 229 chrome/browser/component_updater/component_updater_service.cc const base::FilePath& crx_path, base 249 chrome/browser/component_updater/component_updater_service.cc void OnNewResourceThrottle(base::WeakPtr<CUResourceThrottle> rt, base 266 chrome/browser/component_updater/component_updater_service.cc base::OneShotTimer<CrxUpdateService> timer_; base 268 chrome/browser/component_updater/component_updater_service.cc scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 286 chrome/browser/component_updater/component_updater_service.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)), base 309 chrome/browser/component_updater/component_updater_service.cc timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(config_->InitialDelay()), base 379 chrome/browser/component_updater/component_updater_service.cc timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(delay_seconds), base 504 chrome/browser/component_updater/component_updater_service.cc base::TimeDelta delta = base::Time::Now() - uit->last_check; base 505 chrome/browser/component_updater/component_updater_service.cc if (delta < base::TimeDelta::FromSeconds(config_->OnDemandDelay())) base 535 chrome/browser/component_updater/component_updater_service.cc timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(config_->StepDelay()), base 597 chrome/browser/component_updater/component_updater_service.cc const base::TimeDelta minimum_recheck_wait_time = base 598 chrome/browser/component_updater/component_updater_service.cc base::TimeDelta::FromSeconds(config_->MinimumReCheckWait()); base 599 chrome/browser/component_updater/component_updater_service.cc const base::Time now(base::Time::Now()); base 609 chrome/browser/component_updater/component_updater_service.cc const base::TimeDelta time_since_last_checked(now - item->last_check); base 643 chrome/browser/component_updater/component_updater_service.cc base::Bind(&CrxUpdateService::UpdateCheckComplete, base 644 chrome/browser/component_updater/component_updater_service.cc base::Unretained(this))).Pass(); base 677 chrome/browser/component_updater/component_updater_service.cc base::Bind(&CrxUpdateService::DownloadComplete, base 678 chrome/browser/component_updater/component_updater_service.cc base::Unretained(this), base 679 chrome/browser/component_updater/component_updater_service.cc base::Passed(&crx_context)))); base 840 chrome/browser/component_updater/component_updater_service.cc base::Bind(&CrxUpdateService::Install, base 841 chrome/browser/component_updater/component_updater_service.cc base::Unretained(this), base 842 chrome/browser/component_updater/component_updater_service.cc base::Passed(&crx_context), base 844 chrome/browser/component_updater/component_updater_service.cc base::TimeDelta::FromMilliseconds(config_->StepDelay())); base 853 chrome/browser/component_updater/component_updater_service.cc const base::FilePath& crx_path) { base 861 chrome/browser/component_updater/component_updater_service.cc unpacker_->Unpack(base::Bind(&CrxUpdateService::EndUnpacking, base 862 chrome/browser/component_updater/component_updater_service.cc base::Unretained(this), base 868 chrome/browser/component_updater/component_updater_service.cc const base::FilePath& crx_path, base 876 chrome/browser/component_updater/component_updater_service.cc base::Bind(&CrxUpdateService::DoneInstalling, base::Unretained(this), base 878 chrome/browser/component_updater/component_updater_service.cc base::TimeDelta::FromMilliseconds(config_->StepDelay())); base 954 chrome/browser/component_updater/component_updater_service.cc base::Bind(&CrxUpdateService::OnNewResourceThrottle, base 955 chrome/browser/component_updater/component_updater_service.cc base::Unretained(this), base 962 chrome/browser/component_updater/component_updater_service.cc base::WeakPtr<CUResourceThrottle> rt, const std::string& crx_id) { base 16 chrome/browser/component_updater/component_updater_service.h namespace base { base 48 chrome/browser/component_updater/component_updater_service.h virtual bool Install(const base::DictionaryValue& manifest, base 49 chrome/browser/component_updater/component_updater_service.h const base::FilePath& unpack_path) = 0; base 56 chrome/browser/component_updater/component_updater_service.h base::FilePath* installed_file) = 0; base 40 chrome/browser/component_updater/component_updater_utils.cc base::StringAppendF(&request, "%s ", additional_attributes.c_str()); base 43 chrome/browser/component_updater/component_updater_utils.cc base::StringAppendF( base 51 chrome/browser/component_updater/component_updater_utils.cc base::GenerateGUID().c_str(), // "requestid" base 60 chrome/browser/component_updater/component_updater_utils.cc base::win::OSInfo::GetInstance()->wow64_status() == base 61 chrome/browser/component_updater/component_updater_utils.cc base::win::OSInfo::WOW64_ENABLED); base 63 chrome/browser/component_updater/component_updater_utils.cc base::StringAppendF(&request, " wow64=\"1\""); base 65 chrome/browser/component_updater/component_updater_utils.cc base::StringAppendF(&request, ">"); base 68 chrome/browser/component_updater/component_updater_utils.cc base::StringAppendF( base 72 chrome/browser/component_updater/component_updater_utils.cc base::SysInfo().OperatingSystemVersion().c_str(), // "version" base 73 chrome/browser/component_updater/component_updater_utils.cc base::SysInfo().OperatingSystemArchitecture().c_str()); // "arch" base 76 chrome/browser/component_updater/component_updater_utils.cc base::StringAppendF(&request, "%s</request>", request_body.c_str()); base 143 chrome/browser/component_updater/component_updater_utils.cc bool DeleteFileAndEmptyParentDirectory(const base::FilePath& filepath) { base 144 chrome/browser/component_updater/component_updater_utils.cc if (!base::DeleteFile(filepath, false)) base 147 chrome/browser/component_updater/component_updater_utils.cc const base::FilePath dirname(filepath.DirName()); base 148 chrome/browser/component_updater/component_updater_utils.cc if (!base::IsDirectoryEmpty(dirname)) base 151 chrome/browser/component_updater/component_updater_utils.cc return base::DeleteFile(dirname, false); base 159 chrome/browser/component_updater/component_updater_utils.cc if (base::HexStringToInt(base::StringPiece(hexstr.begin() + i, base 172 chrome/browser/component_updater/component_updater_utils.cc return HexStringToID(StringToLowerASCII(base::HexEncode(&component.pk_hash[0], base 13 chrome/browser/component_updater/component_updater_utils.h namespace base { base 76 chrome/browser/component_updater/component_updater_utils.h bool DeleteFileAndEmptyParentDirectory(const base::FilePath& filepath); base 31 chrome/browser/component_updater/crx_downloader.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 65 chrome/browser/component_updater/crx_downloader.h base::FilePath response; base 73 chrome/browser/component_updater/crx_downloader.h typedef base::Callback<void (const Result& result)> DownloadCallback; base 81 chrome/browser/component_updater/crx_downloader.h scoped_refptr<base::SequencedTaskRunner> task_runner, base 80 chrome/browser/component_updater/crx_update_item.h base::Time last_check; base 113 chrome/browser/component_updater/crx_update_item.h std::vector<base::WeakPtr<CUResourceThrottle> > throttles; base 44 chrome/browser/component_updater/default_component_installer.cc base::Bind(&DefaultComponentInstaller::StartRegistration, base 45 chrome/browser/component_updater/default_component_installer.cc base::Unretained(this), base 54 chrome/browser/component_updater/default_component_installer.cc const base::DictionaryValue& manifest, base 55 chrome/browser/component_updater/default_component_installer.cc const base::FilePath& unpack_path, base 56 chrome/browser/component_updater/default_component_installer.cc const base::FilePath& install_path) { base 57 chrome/browser/component_updater/default_component_installer.cc if (!base::Move(unpack_path, install_path)) base 66 chrome/browser/component_updater/default_component_installer.cc bool DefaultComponentInstaller::Install(const base::DictionaryValue& manifest, base 67 chrome/browser/component_updater/default_component_installer.cc const base::FilePath& unpack_path) { base 70 chrome/browser/component_updater/default_component_installer.cc base::Version version(manifest_version.c_str()); base 75 chrome/browser/component_updater/default_component_installer.cc base::FilePath install_path = base 77 chrome/browser/component_updater/default_component_installer.cc if (base::PathExists(install_path)) { base 78 chrome/browser/component_updater/default_component_installer.cc if (!base::DeleteFile(install_path, true)) base 82 chrome/browser/component_updater/default_component_installer.cc base::DeleteFile(install_path, true); base 89 chrome/browser/component_updater/default_component_installer.cc scoped_ptr<base::DictionaryValue> manifest_copy( base 93 chrome/browser/component_updater/default_component_installer.cc base::Bind(&ComponentInstallerTraits::ComponentReady, base 94 chrome/browser/component_updater/default_component_installer.cc base::Unretained(installer_traits_.get()), base 97 chrome/browser/component_updater/default_component_installer.cc base::Passed(&manifest_copy))); base 103 chrome/browser/component_updater/default_component_installer.cc base::FilePath* installed_file) { base 104 chrome/browser/component_updater/default_component_installer.cc if (current_version_.Equals(base::Version(kNullVersion))) base 115 chrome/browser/component_updater/default_component_installer.cc base::FilePath base_dir = installer_traits_->GetBaseDirectory(); base 116 chrome/browser/component_updater/default_component_installer.cc if (!base::PathExists(base_dir) && base 117 chrome/browser/component_updater/default_component_installer.cc !base::CreateDirectory(base_dir)) { base 124 chrome/browser/component_updater/default_component_installer.cc base::FilePath latest_dir; base 125 chrome/browser/component_updater/default_component_installer.cc base::Version latest_version(kNullVersion); base 126 chrome/browser/component_updater/default_component_installer.cc std::vector<base::FilePath> older_dirs; base 128 chrome/browser/component_updater/default_component_installer.cc base::FileEnumerator file_enumerator( base 129 chrome/browser/component_updater/default_component_installer.cc base_dir, false, base::FileEnumerator::DIRECTORIES); base 130 chrome/browser/component_updater/default_component_installer.cc for (base::FilePath path = file_enumerator.Next(); base 133 chrome/browser/component_updater/default_component_installer.cc base::Version version(path.BaseName().MaybeAsASCII()); base 161 chrome/browser/component_updater/default_component_installer.cc base::ReadFileToString(latest_dir.AppendASCII("manifest.fingerprint"), base 174 chrome/browser/component_updater/default_component_installer.cc for (std::vector<base::FilePath>::iterator iter = older_dirs.begin(); base 176 chrome/browser/component_updater/default_component_installer.cc base::DeleteFile(*iter, true); base 181 chrome/browser/component_updater/default_component_installer.cc base::Bind(&DefaultComponentInstaller::FinishRegistration, base 182 chrome/browser/component_updater/default_component_installer.cc base::Unretained(this), base 186 chrome/browser/component_updater/default_component_installer.cc base::FilePath DefaultComponentInstaller::GetInstallDirectory() { base 210 chrome/browser/component_updater/default_component_installer.cc if (current_version_.CompareTo(base::Version(kNullVersion)) > 0) { base 211 chrome/browser/component_updater/default_component_installer.cc scoped_ptr<base::DictionaryValue> manifest_copy( base 16 chrome/browser/component_updater/default_component_installer.h namespace base { base 36 chrome/browser/component_updater/default_component_installer.h virtual bool VerifyInstallation(const base::FilePath& dir) const = 0; base 46 chrome/browser/component_updater/default_component_installer.h virtual bool OnCustomInstall(const base::DictionaryValue& manifest, base 47 chrome/browser/component_updater/default_component_installer.h const base::FilePath& install_dir) = 0; base 60 chrome/browser/component_updater/default_component_installer.h const base::Version& version, base 61 chrome/browser/component_updater/default_component_installer.h const base::FilePath& install_dir, base 62 chrome/browser/component_updater/default_component_installer.h scoped_ptr<base::DictionaryValue> manifest) = 0; base 66 chrome/browser/component_updater/default_component_installer.h virtual base::FilePath GetBaseDirectory() const = 0; base 88 chrome/browser/component_updater/default_component_installer.h virtual bool Install(const base::DictionaryValue& manifest, base 89 chrome/browser/component_updater/default_component_installer.h const base::FilePath& unpack_path) OVERRIDE; base 91 chrome/browser/component_updater/default_component_installer.h base::FilePath* installed_file) OVERRIDE; base 96 chrome/browser/component_updater/default_component_installer.h base::FilePath GetInstallDirectory(); base 97 chrome/browser/component_updater/default_component_installer.h bool InstallHelper(const base::DictionaryValue& manifest, base 98 chrome/browser/component_updater/default_component_installer.h const base::FilePath& unpack_path, base 99 chrome/browser/component_updater/default_component_installer.h const base::FilePath& install_path); base 103 chrome/browser/component_updater/default_component_installer.h base::Version current_version_; base 105 chrome/browser/component_updater/default_component_installer.h scoped_ptr<base::DictionaryValue> current_manifest_; base 8 chrome/browser/component_updater/flash_component_installer.h namespace base { base 24 chrome/browser/component_updater/flash_component_installer.h bool CheckPepperFlashManifest(const base::DictionaryValue& manifest, base 25 chrome/browser/component_updater/flash_component_installer.h base::Version* version_out); base 87 chrome/browser/component_updater/pepper_flash_component_installer.cc base::FilePath GetPepperFlashBaseDirectory() { base 88 chrome/browser/component_updater/pepper_flash_component_installer.cc base::FilePath result; base 100 chrome/browser/component_updater/pepper_flash_component_installer.cc bool GetPepperFlashDirectory(base::FilePath* latest_dir, base 102 chrome/browser/component_updater/pepper_flash_component_installer.cc std::vector<base::FilePath>* older_dirs) { base 103 chrome/browser/component_updater/pepper_flash_component_installer.cc base::FilePath base_dir = GetPepperFlashBaseDirectory(); base 105 chrome/browser/component_updater/pepper_flash_component_installer.cc base::FileEnumerator base 106 chrome/browser/component_updater/pepper_flash_component_installer.cc file_enumerator(base_dir, false, base::FileEnumerator::DIRECTORIES); base 107 chrome/browser/component_updater/pepper_flash_component_installer.cc for (base::FilePath path = file_enumerator.Next(); !path.value().empty(); base 142 chrome/browser/component_updater/pepper_flash_component_installer.cc bool MakePepperFlashPluginInfo(const base::FilePath& flash_path, base 159 chrome/browser/component_updater/pepper_flash_component_installer.cc plugin_info->description = base::StringPrintf("%s %d.%d r%d", base 183 chrome/browser/component_updater/pepper_flash_component_installer.cc void RegisterPepperFlashWithChrome(const base::FilePath& path, base 198 chrome/browser/component_updater/pepper_flash_component_installer.cc Version registered_version(base::UTF16ToUTF8(it->version)); base 218 chrome/browser/component_updater/pepper_flash_component_installer.cc base::SplitString(interface_string, '|', &interface_names); base 228 chrome/browser/component_updater/pepper_flash_component_installer.cc bool CheckPepperFlashInterfaces(const base::DictionaryValue& manifest) { base 229 chrome/browser/component_updater/pepper_flash_component_installer.cc const base::ListValue* interface_list = NULL; base 256 chrome/browser/component_updater/pepper_flash_component_installer.cc virtual bool Install(const base::DictionaryValue& manifest, base 257 chrome/browser/component_updater/pepper_flash_component_installer.cc const base::FilePath& unpack_path) OVERRIDE; base 260 chrome/browser/component_updater/pepper_flash_component_installer.cc base::FilePath* installed_file) OVERRIDE; base 276 chrome/browser/component_updater/pepper_flash_component_installer.cc const base::DictionaryValue& manifest, base 277 chrome/browser/component_updater/pepper_flash_component_installer.cc const base::FilePath& unpack_path) { base 283 chrome/browser/component_updater/pepper_flash_component_installer.cc if (!base::PathExists(unpack_path.Append( base 287 chrome/browser/component_updater/pepper_flash_component_installer.cc base::FilePath path = base 289 chrome/browser/component_updater/pepper_flash_component_installer.cc if (base::PathExists(path)) base 291 chrome/browser/component_updater/pepper_flash_component_installer.cc if (!base::Move(unpack_path, path)) base 300 chrome/browser/component_updater/pepper_flash_component_installer.cc base::Bind(&RegisterPepperFlashWithChrome, path, version)); base 305 chrome/browser/component_updater/pepper_flash_component_installer.cc const std::string& file, base::FilePath* installed_file) { base 309 chrome/browser/component_updater/pepper_flash_component_installer.cc bool CheckPepperFlashManifest(const base::DictionaryValue& manifest, base 366 chrome/browser/component_updater/pepper_flash_component_installer.cc base::FilePath path = GetPepperFlashBaseDirectory(); base 367 chrome/browser/component_updater/pepper_flash_component_installer.cc if (!base::PathExists(path)) { base 368 chrome/browser/component_updater/pepper_flash_component_installer.cc if (!base::CreateDirectory(path)) { base 375 chrome/browser/component_updater/pepper_flash_component_installer.cc std::vector<base::FilePath> older_dirs; base 378 chrome/browser/component_updater/pepper_flash_component_installer.cc if (base::PathExists(path)) { base 381 chrome/browser/component_updater/pepper_flash_component_installer.cc base::Bind(&RegisterPepperFlashWithChrome, path, version)); base 389 chrome/browser/component_updater/pepper_flash_component_installer.cc base::Bind(&FinishPepperFlashUpdateRegistration, cus, version)); base 392 chrome/browser/component_updater/pepper_flash_component_installer.cc for (std::vector<base::FilePath>::iterator iter = older_dirs.begin(); base 394 chrome/browser/component_updater/pepper_flash_component_installer.cc base::DeleteFile(*iter, true); base 409 chrome/browser/component_updater/pepper_flash_component_installer.cc base::Bind(&StartPepperFlashUpdateRegistration, cus)); base 48 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::ReplaceChars(input, "-", "_", &result); base 71 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc volatile base::subtle::Atomic32 needs_on_demand_update = 0; base 73 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc void CheckVersionCompatiblity(const base::Version& current_version) { base 76 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::subtle::NoBarrier_Store(&needs_on_demand_update, base 82 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath GetPlatformDir(const base::FilePath& base_path) { base 88 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc void OverrideDirPnaclComponent(const base::FilePath& base_path) { base 94 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath* latest_dir, base 96 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc std::vector<base::FilePath>* older_dirs) { base 98 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath base_dir = pci->GetPnaclBaseDirectory(); base 100 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FileEnumerator base 101 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc file_enumerator(base_dir, false, base::FileEnumerator::DIRECTORIES); base 102 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc for (base::FilePath path = file_enumerator.Next(); !path.value().empty(); base 125 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::DictionaryValue* ReadJSONManifest( base 126 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc const base::FilePath& manifest_path) { base 129 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc scoped_ptr<base::Value> root(serializer.Deserialize(NULL, &error)); base 132 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc if (!root->IsType(base::Value::TYPE_DICTIONARY)) base 134 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc return static_cast<base::DictionaryValue*>(root.release()); base 138 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::DictionaryValue* ReadPnaclManifest(const base::FilePath& unpack_path) { base 139 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath manifest_path = GetPlatformDir(unpack_path).AppendASCII( base 141 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc if (!base::PathExists(manifest_path)) base 147 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::DictionaryValue* ReadComponentManifest( base 148 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc const base::FilePath& unpack_path) { base 149 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath manifest_path = unpack_path.Append( base 151 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc if (!base::PathExists(manifest_path)) base 158 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc bool CheckPnaclComponentManifest(const base::DictionaryValue& manifest, base 159 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc const base::DictionaryValue& pnacl_manifest, base 227 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath PnaclComponentInstaller::GetPnaclBaseDirectory() { base 236 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath path = current_profile_path_.Append( base 240 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath result; base 255 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc bool PnaclComponentInstaller::Install(const base::DictionaryValue& manifest, base 256 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc const base::FilePath& unpack_path) { base 257 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc scoped_ptr<base::DictionaryValue> pnacl_manifest( base 276 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath path = GetPnaclBaseDirectory().AppendASCII( base 278 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc if (base::PathExists(path)) { base 279 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc if (!base::DeleteFile(path, true)) base 282 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc if (!base::Move(unpack_path, path)) { base 301 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc const std::string& file, base::FilePath* installed_file) { base 344 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath path = pci->GetPnaclBaseDirectory(); base 345 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc if (!base::PathExists(path)) { base 346 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc if (!base::CreateDirectory(path)) { base 354 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc std::vector<base::FilePath> older_dirs; base 356 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc scoped_ptr<base::DictionaryValue> manifest( base 358 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc scoped_ptr<base::DictionaryValue> pnacl_manifest( base 372 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::ReadFileToString(path.AppendASCII("manifest.fingerprint"), base 386 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::Bind(&FinishPnaclUpdateRegistration, base 392 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc for (std::vector<base::FilePath>::iterator iter = older_dirs.begin(); base 394 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::DeleteFile(*iter, true); base 403 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::FilePath path = pci->GetPnaclBaseDirectory(); base 404 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc if (!base::PathExists(path)) base 410 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::DeleteFile(path, true); base 426 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::Bind(&ReapOldChromeOSPnaclFiles, pci)); base 445 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::Bind(&GetProfileInformation, this)); base 448 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::Bind(&StartPnaclUpdateRegistration, this)); base 457 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc base::Bind(&GetProfileInformation, this)); base 465 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc return base::subtle::NoBarrier_Load( base 18 chrome/browser/component_updater/pnacl/pnacl_component_installer.h namespace base { base 46 chrome/browser/component_updater/pnacl/pnacl_component_installer.h virtual bool Install(const base::DictionaryValue& manifest, base 47 chrome/browser/component_updater/pnacl/pnacl_component_installer.h const base::FilePath& unpack_path) OVERRIDE; base 50 chrome/browser/component_updater/pnacl/pnacl_component_installer.h base::FilePath* installed_file) OVERRIDE; base 54 chrome/browser/component_updater/pnacl/pnacl_component_installer.h const base::CommandLine& command_line); base 72 chrome/browser/component_updater/pnacl/pnacl_component_installer.h base::FilePath GetPnaclBaseDirectory(); base 74 chrome/browser/component_updater/pnacl/pnacl_component_installer.h base::Version current_version() const { return current_version_; } base 76 chrome/browser/component_updater/pnacl/pnacl_component_installer.h void set_current_version(const base::Version& current_version) { base 92 chrome/browser/component_updater/pnacl/pnacl_component_installer.h base::FilePath current_profile_path_; base 93 chrome/browser/component_updater/pnacl/pnacl_component_installer.h base::Version current_version_; base 38 chrome/browser/component_updater/recovery_component_installer.cc const base::FilePath::CharType kRecoveryFileName[] = base 58 chrome/browser/component_updater/recovery_component_installer.cc virtual bool Install(const base::DictionaryValue& manifest, base 59 chrome/browser/component_updater/recovery_component_installer.cc const base::FilePath& unpack_path) OVERRIDE; base 62 chrome/browser/component_updater/recovery_component_installer.cc base::FilePath* installed_file) OVERRIDE; base 103 chrome/browser/component_updater/recovery_component_installer.cc bool RecoveryComponentInstaller::Install(const base::DictionaryValue& manifest, base 104 chrome/browser/component_updater/recovery_component_installer.cc const base::FilePath& unpack_path) { base 116 chrome/browser/component_updater/recovery_component_installer.cc base::FilePath main_file = unpack_path.Append(kRecoveryFileName); base 117 chrome/browser/component_updater/recovery_component_installer.cc if (!base::PathExists(main_file)) base 133 chrome/browser/component_updater/recovery_component_installer.cc base::Bind(&RecoveryUpdateVersionHelper, version, prefs_)); base 135 chrome/browser/component_updater/recovery_component_installer.cc return base::LaunchProcess(cmdline, base::LaunchOptions(), NULL); base 139 chrome/browser/component_updater/recovery_component_installer.cc const std::string& file, base::FilePath* installed_file) { base 151 chrome/browser/component_updater/recovery_component_installer.cc base::Bind(&RecoveryRegisterHelper, cus, prefs), base 152 chrome/browser/component_updater/recovery_component_installer.cc base::TimeDelta::FromSeconds(6)); base 39 chrome/browser/component_updater/swiftshader_component_installer.cc const base::FilePath::CharType kSwiftShaderEglName[] = base 41 chrome/browser/component_updater/swiftshader_component_installer.cc const base::FilePath::CharType kSwiftShaderGlesName[] = base 46 chrome/browser/component_updater/swiftshader_component_installer.cc const base::FilePath::CharType kSwiftShaderBaseDirectory[] = base 54 chrome/browser/component_updater/swiftshader_component_installer.cc base::FilePath GetSwiftShaderBaseDirectory() { base 55 chrome/browser/component_updater/swiftshader_component_installer.cc base::FilePath result; base 64 chrome/browser/component_updater/swiftshader_component_installer.cc bool GetLatestSwiftShaderDirectory(base::FilePath* result, base 66 chrome/browser/component_updater/swiftshader_component_installer.cc std::vector<base::FilePath>* older_dirs) { base 67 chrome/browser/component_updater/swiftshader_component_installer.cc base::FilePath base_dir = GetSwiftShaderBaseDirectory(); base 69 chrome/browser/component_updater/swiftshader_component_installer.cc base::FileEnumerator base 70 chrome/browser/component_updater/swiftshader_component_installer.cc file_enumerator(base_dir, false, base::FileEnumerator::DIRECTORIES); base 71 chrome/browser/component_updater/swiftshader_component_installer.cc for (base::FilePath path = file_enumerator.Next(); !path.value().empty(); base 77 chrome/browser/component_updater/swiftshader_component_installer.cc base::PathExists(path.Append(kSwiftShaderEglName)) && base 78 chrome/browser/component_updater/swiftshader_component_installer.cc base::PathExists(path.Append(kSwiftShaderGlesName))) { base 92 chrome/browser/component_updater/swiftshader_component_installer.cc void RegisterSwiftShaderWithChrome(const base::FilePath& path) { base 105 chrome/browser/component_updater/swiftshader_component_installer.cc virtual bool Install(const base::DictionaryValue& manifest, base 106 chrome/browser/component_updater/swiftshader_component_installer.cc const base::FilePath& unpack_path) OVERRIDE; base 109 chrome/browser/component_updater/swiftshader_component_installer.cc base::FilePath* installed_file) OVERRIDE; base 125 chrome/browser/component_updater/swiftshader_component_installer.cc const base::DictionaryValue& manifest, base 126 chrome/browser/component_updater/swiftshader_component_installer.cc const base::FilePath& unpack_path) { base 138 chrome/browser/component_updater/swiftshader_component_installer.cc if (!base::PathExists(unpack_path.Append(kSwiftShaderEglName)) || base 139 chrome/browser/component_updater/swiftshader_component_installer.cc !base::PathExists(unpack_path.Append(kSwiftShaderGlesName))) base 142 chrome/browser/component_updater/swiftshader_component_installer.cc base::FilePath path = base 144 chrome/browser/component_updater/swiftshader_component_installer.cc if (base::PathExists(path)) base 146 chrome/browser/component_updater/swiftshader_component_installer.cc if (!base::Move(unpack_path, path)) base 151 chrome/browser/component_updater/swiftshader_component_installer.cc base::Bind(&RegisterSwiftShaderWithChrome, path)); base 156 chrome/browser/component_updater/swiftshader_component_installer.cc const std::string& file, base::FilePath* installed_file) { base 196 chrome/browser/component_updater/swiftshader_component_installer.cc base::FilePath path = GetSwiftShaderBaseDirectory(); base 202 chrome/browser/component_updater/swiftshader_component_installer.cc base::Bind(&FinishSwiftShaderUpdateRegistration, cus_, version)); base 212 chrome/browser/component_updater/swiftshader_component_installer.cc base::FilePath path = GetSwiftShaderBaseDirectory(); base 213 chrome/browser/component_updater/swiftshader_component_installer.cc if (!base::PathExists(path)) { base 214 chrome/browser/component_updater/swiftshader_component_installer.cc if (!base::CreateDirectory(path)) { base 221 chrome/browser/component_updater/swiftshader_component_installer.cc std::vector<base::FilePath> older_dirs; base 224 chrome/browser/component_updater/swiftshader_component_installer.cc base::Bind(&RegisterSwiftShaderWithChrome, path)); base 233 chrome/browser/component_updater/swiftshader_component_installer.cc for (std::vector<base::FilePath>::iterator iter = older_dirs.begin(); base 235 chrome/browser/component_updater/swiftshader_component_installer.cc base::DeleteFile(*iter, true); base 245 chrome/browser/component_updater/swiftshader_component_installer.cc base::CPU cpu; base 250 chrome/browser/component_updater/swiftshader_component_installer.cc base::Bind(&RegisterSwiftShaderPath, cus)); base 27 chrome/browser/component_updater/test/component_installers_unittest.cc const base::FilePath::CharType kDataPath[] = base 57 chrome/browser/component_updater/test/component_installers_unittest.cc base::MessageLoop message_loop; base 65 chrome/browser/component_updater/test/component_installers_unittest.cc base::FilePath manifest; base 70 chrome/browser/component_updater/test/component_installers_unittest.cc if (!base::PathExists(manifest)) { base 77 chrome/browser/component_updater/test/component_installers_unittest.cc scoped_ptr<base::DictionaryValue> root(static_cast<base::DictionaryValue*>( base 80 chrome/browser/component_updater/test/component_installers_unittest.cc ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); base 58 chrome/browser/component_updater/test/component_patcher_unittest.cc base::FilePath test_file(const char* file) { base 59 chrome/browser/component_updater/test/component_patcher_unittest.cc base::FilePath path; base 80 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::CopyFile( base 84 chrome/browser/component_updater/test/component_patcher_unittest.cc scoped_ptr<base::DictionaryValue> command_args(new base::DictionaryValue()); base 97 chrome/browser/component_updater/test/component_patcher_unittest.cc base::Bind(&TestCallback::Set, base::Unretained(&callback)), base 99 chrome/browser/component_updater/test/component_patcher_unittest.cc base::RunLoop().RunUntilIdle(); base 104 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::ContentsEqual( base 111 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::CopyFile( base 115 chrome/browser/component_updater/test/component_patcher_unittest.cc scoped_ptr<base::DictionaryValue> command_args(new base::DictionaryValue()); base 128 chrome/browser/component_updater/test/component_patcher_unittest.cc base::Bind(&TestCallback::Set, base::Unretained(&callback)), base 130 chrome/browser/component_updater/test/component_patcher_unittest.cc base::RunLoop().RunUntilIdle(); base 135 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::ContentsEqual( base 142 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::CopyFile( base 145 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::CopyFile( base 150 chrome/browser/component_updater/test/component_patcher_unittest.cc scoped_ptr<base::DictionaryValue> command_args(new base::DictionaryValue()); base 164 chrome/browser/component_updater/test/component_patcher_unittest.cc base::Bind(&TestCallback::Set, base::Unretained(&callback)), base 166 chrome/browser/component_updater/test/component_patcher_unittest.cc base::RunLoop().RunUntilIdle(); base 171 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::ContentsEqual( base 178 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::CopyFile( base 181 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::CopyFile( base 185 chrome/browser/component_updater/test/component_patcher_unittest.cc scoped_ptr<base::DictionaryValue> command_args(new base::DictionaryValue()); base 199 chrome/browser/component_updater/test/component_patcher_unittest.cc base::Bind(&TestCallback::Set, base::Unretained(&callback)), base 201 chrome/browser/component_updater/test/component_patcher_unittest.cc base::RunLoop().RunUntilIdle(); base 206 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_TRUE(base::ContentsEqual( base 36 chrome/browser/component_updater/test/component_patcher_unittest.h base::ScopedTempDir input_dir_; base 37 chrome/browser/component_updater/test/component_patcher_unittest.h base::ScopedTempDir installed_dir_; base 38 chrome/browser/component_updater/test/component_patcher_unittest.h base::ScopedTempDir unpack_dir_; base 40 chrome/browser/component_updater/test/component_patcher_unittest.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 61 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 75 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.previous_version = base::Version("1.0"); base 76 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.next_version = base::Version("2.0"); base 79 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 92 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.previous_version = base::Version("1.0"); base 93 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.next_version = base::Version("2.0"); base 96 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 109 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.previous_version = base::Version("1.0"); base 110 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.next_version = base::Version("2.0"); base 123 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 139 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.previous_version = base::Version("1.0"); base 140 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.next_version = base::Version("2.0"); base 161 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 134 chrome/browser/component_updater/test/component_updater_service_unittest.cc void TestConfigurator::SetQuitClosure(const base::Closure& quit_closure) { base 150 chrome/browser/component_updater/test/component_updater_service_unittest.cc base::FilePath::FromUTF8Unsafe(POST_INTERCEPT_PATH)); base 190 chrome/browser/component_updater/test/component_updater_service_unittest.cc const base::FilePath ComponentUpdaterTest::test_file(const char* file) { base 219 chrome/browser/component_updater/test/component_updater_service_unittest.cc base::RunLoop runloop; base 231 chrome/browser/component_updater/test/component_updater_service_unittest.cc base::RunLoop().RunUntilIdle(); base 482 chrome/browser/component_updater/test/component_updater_service_unittest.cc std::vector<base::StringPiece> elements; base 1074 chrome/browser/component_updater/test/component_updater_service_unittest.cc virtual bool Install(const base::DictionaryValue& manifest, base 1075 chrome/browser/component_updater/test/component_updater_service_unittest.cc const base::FilePath& unpack_path) OVERRIDE { base 1077 chrome/browser/component_updater/test/component_updater_service_unittest.cc base::DeleteFile(unpack_path, true); base 1305 chrome/browser/component_updater/test/component_updater_service_unittest.cc base::Bind(&RequestAndDeleteResourceThrottle, base 1334 chrome/browser/component_updater/test/component_updater_service_unittest.cc base::Bind(&CancelResourceController::ResumeCalled, base 1335 chrome/browser/component_updater/test/component_updater_service_unittest.cc base::Unretained(this))); base 1392 chrome/browser/component_updater/test/component_updater_service_unittest.cc base::Bind(base::IgnoreResult(&RequestTestResourceThrottle), base 101 chrome/browser/component_updater/test/component_updater_service_unittest.h void SetQuitClosure(const base::Closure& quit_closure); base 112 chrome/browser/component_updater/test/component_updater_service_unittest.h base::Closure quit_closure_; base 134 chrome/browser/component_updater/test/component_updater_service_unittest.h const base::FilePath test_file(const char* file); base 153 chrome/browser/component_updater/test/component_updater_service_unittest.h base::FilePath test_data_dir_; base 31 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::FilePath test_file(const char* file) { base 32 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::FilePath path; base 59 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::FilePath response_; base 67 chrome/browser/component_updater/test/crx_downloader_unittest.cc scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 70 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::Closure quit_closure_; base 82 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)), base 98 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::Bind(&CrxDownloaderTest::DownloadComplete, base 99 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::Unretained(this), base 122 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::RunLoop runloop; base 134 chrome/browser/component_updater/test/crx_downloader_unittest.cc base::RunLoop().RunUntilIdle(); base 21 chrome/browser/component_updater/test/test_installer.cc bool TestInstaller::Install(const base::DictionaryValue& manifest, base 22 chrome/browser/component_updater/test/test_installer.cc const base::FilePath& unpack_path) { base 24 chrome/browser/component_updater/test/test_installer.cc return base::DeleteFile(unpack_path, true); base 28 chrome/browser/component_updater/test/test_installer.cc base::FilePath* installed_file) { base 37 chrome/browser/component_updater/test/test_installer.cc ReadOnlyTestInstaller::ReadOnlyTestInstaller(const base::FilePath& install_dir) base 45 chrome/browser/component_updater/test/test_installer.cc base::FilePath* installed_file) { base 52 chrome/browser/component_updater/test/test_installer.cc base::CreateNewTempDirectory(FILE_PATH_LITERAL("TEST_"), &install_directory_); base 56 chrome/browser/component_updater/test/test_installer.cc base::DeleteFile(install_directory_, true); base 60 chrome/browser/component_updater/test/test_installer.cc bool VersionedTestInstaller::Install(const base::DictionaryValue& manifest, base 61 chrome/browser/component_updater/test/test_installer.cc const base::FilePath& unpack_path) { base 66 chrome/browser/component_updater/test/test_installer.cc base::FilePath path; base 68 chrome/browser/component_updater/test/test_installer.cc base::CreateDirectory(path.DirName()); base 69 chrome/browser/component_updater/test/test_installer.cc if (!base::Move(unpack_path, path)) base 77 chrome/browser/component_updater/test/test_installer.cc base::FilePath* installed_file) { base 78 chrome/browser/component_updater/test/test_installer.cc base::FilePath path; base 80 chrome/browser/component_updater/test/test_installer.cc *installed_file = path.Append(base::FilePath::FromUTF8Unsafe(file)); base 12 chrome/browser/component_updater/test/test_installer.h namespace base { base 26 chrome/browser/component_updater/test/test_installer.h virtual bool Install(const base::DictionaryValue& manifest, base 27 chrome/browser/component_updater/test/test_installer.h const base::FilePath& unpack_path) OVERRIDE; base 30 chrome/browser/component_updater/test/test_installer.h base::FilePath* installed_file) OVERRIDE; base 45 chrome/browser/component_updater/test/test_installer.h explicit ReadOnlyTestInstaller(const base::FilePath& installed_path); base 50 chrome/browser/component_updater/test/test_installer.h base::FilePath* installed_file) OVERRIDE; base 53 chrome/browser/component_updater/test/test_installer.h base::FilePath install_directory_; base 64 chrome/browser/component_updater/test/test_installer.h virtual bool Install(const base::DictionaryValue& manifest, base 65 chrome/browser/component_updater/test/test_installer.h const base::FilePath& unpack_path) OVERRIDE; base 68 chrome/browser/component_updater/test/test_installer.h base::FilePath* installed_file) OVERRIDE; base 71 chrome/browser/component_updater/test/test_installer.h base::FilePath install_directory_; base 30 chrome/browser/component_updater/test/update_checker_unittest.cc base::FilePath test_file(const char* file) { base 31 chrome/browser/component_updater/test/update_checker_unittest.cc base::FilePath path; base 74 chrome/browser/component_updater/test/update_checker_unittest.cc base::FilePath test_data_dir_; base 75 chrome/browser/component_updater/test/update_checker_unittest.cc base::Closure quit_closure_; base 117 chrome/browser/component_updater/test/update_checker_unittest.cc base::RunLoop runloop; base 129 chrome/browser/component_updater/test/update_checker_unittest.cc base::RunLoop().RunUntilIdle(); base 153 chrome/browser/component_updater/test/update_checker_unittest.cc crx_component.version = base::Version("0.9"); base 171 chrome/browser/component_updater/test/update_checker_unittest.cc base::Bind(&UpdateCheckerTest::UpdateCheckComplete, base 172 chrome/browser/component_updater/test/update_checker_unittest.cc base::Unretained(this))).Pass(); base 214 chrome/browser/component_updater/test/update_checker_unittest.cc base::Bind(&UpdateCheckerTest::UpdateCheckComplete, base 215 chrome/browser/component_updater/test/update_checker_unittest.cc base::Unretained(this))).Pass(); base 80 chrome/browser/component_updater/test/url_request_post_interceptor.cc const base::FilePath& filepath) { base 82 chrome/browser/component_updater/test/url_request_post_interceptor.cc if (filepath.empty() || !base::ReadFileToString(filepath, &response)) base 89 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::AutoLock auto_lock(interceptor_lock_); base 94 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::AutoLock auto_lock(interceptor_lock_); base 100 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::AutoLock auto_lock(interceptor_lock_); base 112 chrome/browser/component_updater/test/url_request_post_interceptor.cc s.append(base::StringPrintf("\n (%d): %s", ++i, it->c_str())); base 119 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::AutoLock auto_lock(interceptor_lock_); base 192 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::AutoLock auto_lock(interceptor->interceptor_lock_); base 228 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::Bind(&URLRequestPostInterceptor::Delegate::Register, base 229 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::Unretained(delegate_))); base 235 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::Bind(&URLRequestPostInterceptor::Delegate::Unregister, base 236 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::Unretained(delegate_))); base 240 chrome/browser/component_updater/test/url_request_post_interceptor.cc const base::FilePath& filepath) { base 241 chrome/browser/component_updater/test/url_request_post_interceptor.cc const GURL base_url(base::StringPrintf("%s://%s", base 249 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::Bind(&URLRequestPostInterceptor::Delegate::OnCreateInterceptor, base 250 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::Unretained(delegate_), base 251 chrome/browser/component_updater/test/url_request_post_interceptor.cc base::Unretained(interceptor))); base 17 chrome/browser/component_updater/test/url_request_post_interceptor.h namespace base { base 51 chrome/browser/component_updater/test/url_request_post_interceptor.h const base::FilePath& filepath); base 81 chrome/browser/component_updater/test/url_request_post_interceptor.h mutable base::Lock interceptor_lock_; base 98 chrome/browser/component_updater/test/url_request_post_interceptor.h URLRequestPostInterceptor* CreateInterceptor(const base::FilePath& filepath); base 40 chrome/browser/component_updater/update_checker.cc base::StringAppendF(&app, base 45 chrome/browser/component_updater/update_checker.cc base::StringAppendF(&app, " installsource=\"ondemand\""); base 46 chrome/browser/component_updater/update_checker.cc base::StringAppendF(&app, ">"); base 47 chrome/browser/component_updater/update_checker.cc base::StringAppendF(&app, "<updatecheck />"); base 49 chrome/browser/component_updater/update_checker.cc base::StringAppendF(&app, base 55 chrome/browser/component_updater/update_checker.cc base::StringAppendF(&app, "</app>"); base 28 chrome/browser/component_updater/update_checker.h typedef base::Callback<void (int error, const std::string& error_message, base 44 chrome/browser/component_updater/update_response.cc base::StringAppendV(&errors_, details, args); base 84 chrome/browser/component_updater/update_response.cc base::StringAppendV(error, message, args); base 124 chrome/browser/component_updater/update_response.cc if (base::StringToInt(GetAttribute(package, "size"), &size)) { base 130 chrome/browser/component_updater/update_response.cc if (base::StringToInt(GetAttribute(package, "sizediff"), &sizediff)) { base 317 chrome/browser/component_updater/update_response.cc if (base::StringToInt(elapsed_seconds, &parsed_elapsed)) { base 20 chrome/browser/component_updater/url_fetcher_downloader.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 48 chrome/browser/component_updater/url_fetcher_downloader.cc download_start_time_ = base::Time::Now(); base 57 chrome/browser/component_updater/url_fetcher_downloader.cc const base::Time download_end_time(base::Time::Now()); base 58 chrome/browser/component_updater/url_fetcher_downloader.cc const base::TimeDelta download_time = base 60 chrome/browser/component_updater/url_fetcher_downloader.cc download_end_time - download_start_time_ : base::TimeDelta(); base 29 chrome/browser/component_updater/url_fetcher_downloader.h scoped_refptr<base::SequencedTaskRunner> task_runner, base 44 chrome/browser/component_updater/url_fetcher_downloader.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 46 chrome/browser/component_updater/url_fetcher_downloader.h base::Time download_start_time_; base 106 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::FilePath GetPlatformDirectory(const base::FilePath& base_path) { base 114 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::Version& version, base 115 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& path, base 116 chrome/browser/component_updater/widevine_cdm_component_installer.cc const std::vector<base::string16>& additional_param_names, base 117 chrome/browser/component_updater/widevine_cdm_component_installer.cc const std::vector<base::string16>& additional_param_values, base 146 chrome/browser/component_updater/widevine_cdm_component_installer.cc bool CheckForCompatibleVersion(const base::DictionaryValue& manifest, base 158 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::SplitString(versions_string, base 164 chrome/browser/component_updater/widevine_cdm_component_installer.cc if (base::StringToInt(versions[i], &version)) base 179 chrome/browser/component_updater/widevine_cdm_component_installer.cc bool IsCompatibleWithChrome(const base::DictionaryValue& manifest) { base 192 chrome/browser/component_updater/widevine_cdm_component_installer.cc void GetAdditionalParams(const base::DictionaryValue& manifest, base 193 chrome/browser/component_updater/widevine_cdm_component_installer.cc std::vector<base::string16>* additional_param_names, base 194 chrome/browser/component_updater/widevine_cdm_component_installer.cc std::vector<base::string16>* additional_param_values) { base 195 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::string16 codecs; base 200 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::ASCIIToUTF16(kCdmSupportedCodecsParamName)); base 207 chrome/browser/component_updater/widevine_cdm_component_installer.cc void RegisterWidevineCdmWithChrome(const base::Version& cdm_version, base 208 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& adapter_install_path, base 209 chrome/browser/component_updater/widevine_cdm_component_installer.cc scoped_ptr<base::DictionaryValue> manifest) { base 211 chrome/browser/component_updater/widevine_cdm_component_installer.cc std::vector<base::string16> additional_param_names; base 212 chrome/browser/component_updater/widevine_cdm_component_installer.cc std::vector<base::string16> additional_param_values; base 240 chrome/browser/component_updater/widevine_cdm_component_installer.cc virtual bool OnCustomInstall(const base::DictionaryValue& manifest, base 241 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& install_dir) OVERRIDE; base 243 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& install_dir) const OVERRIDE; base 245 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::Version& version, base 246 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& path, base 247 chrome/browser/component_updater/widevine_cdm_component_installer.cc scoped_ptr<base::DictionaryValue> manifest) OVERRIDE; base 248 chrome/browser/component_updater/widevine_cdm_component_installer.cc virtual base::FilePath GetBaseDirectory() const OVERRIDE; base 257 chrome/browser/component_updater/widevine_cdm_component_installer.cc void UpdateCdmAdapter(const base::Version& cdm_version, base 258 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& cdm_install_dir, base 259 chrome/browser/component_updater/widevine_cdm_component_installer.cc scoped_ptr<base::DictionaryValue> manifest); base 272 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::DictionaryValue& manifest, base 273 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& install_dir) { base 279 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::Version& version, base 280 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& path, base 281 chrome/browser/component_updater/widevine_cdm_component_installer.cc scoped_ptr<base::DictionaryValue> manifest) { base 289 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::Bind(&WidevineCdmComponentInstallerTraits::UpdateCdmAdapter, base 290 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::Unretained(this), base 291 chrome/browser/component_updater/widevine_cdm_component_installer.cc version, path, base::Passed(&manifest))); base 295 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& install_dir) const { base 296 chrome/browser/component_updater/widevine_cdm_component_installer.cc return base::PathExists( base 302 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::FilePath WidevineCdmComponentInstallerTraits::GetBaseDirectory() const { base 303 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::FilePath result; base 318 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::Version& cdm_version, base 319 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath& cdm_install_dir, base 320 chrome/browser/component_updater/widevine_cdm_component_installer.cc scoped_ptr<base::DictionaryValue> manifest) { base 321 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath adapter_version_path = base 323 chrome/browser/component_updater/widevine_cdm_component_installer.cc const base::FilePath adapter_install_path = base 330 chrome/browser/component_updater/widevine_cdm_component_installer.cc if (!base::ReadFileToString(adapter_version_path, &adapter_version) || base 332 chrome/browser/component_updater/widevine_cdm_component_installer.cc !base::PathExists(adapter_install_path)) { base 333 chrome/browser/component_updater/widevine_cdm_component_installer.cc int bytes_written = base::WriteFile( base 341 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::FilePath adapter_source_path; base 343 chrome/browser/component_updater/widevine_cdm_component_installer.cc if (!base::CopyFile(adapter_source_path, adapter_install_path)) { base 351 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::Bind(&RegisterWidevineCdmWithChrome, base 354 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::Passed(&manifest))); base 361 chrome/browser/component_updater/widevine_cdm_component_installer.cc base::FilePath adapter_source_path; base 363 chrome/browser/component_updater/widevine_cdm_component_installer.cc if (!base::PathExists(adapter_source_path)) base 53 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))) { base 59 chrome/browser/content_settings/content_settings_browsertest.cc base::Bind(&chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 209 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(FILE_PATH_LITERAL("setcookie.html"))); base 227 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(FILE_PATH_LITERAL("setcookie.html"))); base 246 chrome/browser/content_settings/content_settings_browsertest.cc ASSERT_EQ(base::UTF8ToUTF16(test_url.spec() + " failed to load"), base 263 chrome/browser/content_settings/content_settings_browsertest.cc ASSERT_EQ(base::UTF8ToUTF16("Data URL"), web_contents->GetTitle()); base 277 chrome/browser/content_settings/content_settings_browsertest.cc std::string redirect(base::StringPrintf( base 303 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath plugin_dir; base 304 chrome/browser/content_settings/content_settings_browsertest.cc PathService::Get(base::DIR_MODULE, &plugin_dir); base 318 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("clicktoplay.html")); base 321 chrome/browser/content_settings/content_settings_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("OK")); base 329 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath path(FILE_PATH_LITERAL("blah")); base 340 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("clicktoplay.html")); base 351 chrome/browser/content_settings/content_settings_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("OK")); base 361 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("clicktoplay.html")); base 370 chrome/browser/content_settings/content_settings_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("Click To Play")); base 391 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(), base 392 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath().AppendASCII("load_all_blocked_plugins.html")); base 395 chrome/browser/content_settings/content_settings_browsertest.cc base::string16 expected_title1(base::ASCIIToUTF16("1")); base 404 chrome/browser/content_settings/content_settings_browsertest.cc base::string16 expected_title2(base::ASCIIToUTF16("2")); base 429 chrome/browser/content_settings/content_settings_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("OK")); base 446 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(), base 447 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath().AppendASCII("plugin_delete_self_at_load.html")); base 450 chrome/browser/content_settings/content_settings_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("OK")); base 483 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath::StringType pepper_plugins = BuildPepperPluginRegistration( base 508 chrome/browser/content_settings/content_settings_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16(expected_result)); base 513 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(), base 514 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath().AppendASCII("load_pepper_plugin.html")); base 516 chrome/browser/content_settings/content_settings_browsertest.cc base::StringPrintf("?mimetype=%s", mime_type)); base 535 chrome/browser/content_settings/content_settings_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16(kExpectedTitle)); base 551 chrome/browser/content_settings/content_settings_browsertest.cc base::Bind(&TabSpecificContentSettings::IsContentBlocked, base 552 chrome/browser/content_settings/content_settings_browsertest.cc base::Unretained(tab_settings), base 556 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath(), base::FilePath().AppendASCII(html_file)); base 582 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath::StringType BuildPepperPluginRegistration( base 586 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath plugin_dir; base 587 chrome/browser/content_settings/content_settings_browsertest.cc EXPECT_TRUE(PathService::Get(base::DIR_MODULE, &plugin_dir)); base 589 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath plugin_lib = plugin_dir.AppendASCII(library_name); base 590 chrome/browser/content_settings/content_settings_browsertest.cc EXPECT_TRUE(base::PathExists(plugin_lib)); base 592 chrome/browser/content_settings/content_settings_browsertest.cc base::FilePath::StringType pepper_plugin = plugin_lib.value(); base 595 chrome/browser/content_settings/content_settings_browsertest.cc pepper_plugin.append(base::ASCIIToWide(display_name)); base 601 chrome/browser/content_settings/content_settings_browsertest.cc pepper_plugin.append(base::ASCIIToWide(mime_type)); base 39 chrome/browser/content_settings/content_settings_custom_extension_provider.cc base::Value* value) { base 37 chrome/browser/content_settings/content_settings_custom_extension_provider.h base::Value* value) OVERRIDE; base 29 chrome/browser/content_settings/content_settings_default_provider.cc using base::UserMetricsAction; base 74 chrome/browser/content_settings/content_settings_default_provider.cc explicit DefaultRuleIterator(const base::Value* value) { base 91 chrome/browser/content_settings/content_settings_default_provider.cc scoped_ptr<base::Value> value_; base 105 chrome/browser/content_settings/content_settings_default_provider.cc base::DictionaryValue* default_content_settings = new base::DictionaryValue(); base 173 chrome/browser/content_settings/content_settings_default_provider.cc PrefChangeRegistrar::NamedChangeCallback callback = base::Bind( base 174 chrome/browser/content_settings/content_settings_default_provider.cc &DefaultProvider::OnPreferenceChanged, base::Unretained(this)); base 186 chrome/browser/content_settings/content_settings_default_provider.cc base::Value* in_value) { base 203 chrome/browser/content_settings/content_settings_default_provider.cc scoped_ptr<base::Value> value(in_value); base 205 chrome/browser/content_settings/content_settings_default_provider.cc base::AutoReset<bool> auto_reset(&updating_preferences_, true); base 213 chrome/browser/content_settings/content_settings_default_provider.cc base::DictionaryValue* default_settings_dictionary = update.Get(); base 214 chrome/browser/content_settings/content_settings_default_provider.cc base::AutoLock lock(lock_); base 220 chrome/browser/content_settings/content_settings_default_provider.cc base::Value::CreateIntegerValue(kDefaultSettings[content_type])); base 246 chrome/browser/content_settings/content_settings_default_provider.cc base::AutoLock lock(lock_); base 292 chrome/browser/content_settings/content_settings_default_provider.cc base::AutoLock lock(lock_); base 293 chrome/browser/content_settings/content_settings_default_provider.cc const base::DictionaryValue* default_settings_dictionary = base 312 chrome/browser/content_settings/content_settings_default_provider.cc base::Value::CreateIntegerValue(kDefaultSettings[i])); base 318 chrome/browser/content_settings/content_settings_default_provider.cc const base::DictionaryValue* dictionary) { base 319 chrome/browser/content_settings/content_settings_default_provider.cc for (base::DictionaryValue::Iterator i(*dictionary); base 328 chrome/browser/content_settings/content_settings_default_provider.cc base::Value::CreateIntegerValue(int_value)); base 338 chrome/browser/content_settings/content_settings_default_provider.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 48 chrome/browser/content_settings/content_settings_default_provider.h base::Value* value) OVERRIDE; base 57 chrome/browser/content_settings/content_settings_default_provider.h void GetSettingsFromDictionary(const base::DictionaryValue* dictionary); base 70 chrome/browser/content_settings/content_settings_default_provider.h typedef linked_ptr<base::Value> ValuePtr; base 82 chrome/browser/content_settings/content_settings_default_provider.h mutable base::Lock lock_; base 32 chrome/browser/content_settings/content_settings_default_provider_unittest.cc base::MessageLoop message_loop_; base 52 chrome/browser/content_settings/content_settings_default_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 73 chrome/browser/content_settings/content_settings_default_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 82 chrome/browser/content_settings/content_settings_default_provider_unittest.cc scoped_ptr<base::Value> value( base 103 chrome/browser/content_settings/content_settings_default_provider_unittest.cc scoped_ptr<base::Value> value( base 104 chrome/browser/content_settings/content_settings_default_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 132 chrome/browser/content_settings/content_settings_default_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 142 chrome/browser/content_settings/content_settings_default_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 150 chrome/browser/content_settings/content_settings_default_provider_unittest.cc scoped_ptr<base::Value> default_value(prefs->FindPreference( base 158 chrome/browser/content_settings/content_settings_default_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 168 chrome/browser/content_settings/content_settings_default_provider_unittest.cc scoped_ptr<base::Value> new_value(prefs->FindPreference( base 216 chrome/browser/content_settings/content_settings_default_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 234 chrome/browser/content_settings/content_settings_default_provider_unittest.cc scoped_ptr<base::Value> value( base 235 chrome/browser/content_settings/content_settings_default_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 62 chrome/browser/content_settings/content_settings_internal_extension_provider.cc base::Value* value) { base 168 chrome/browser/content_settings/content_settings_internal_extension_provider.cc base::AutoLock lock(lock_); base 179 chrome/browser/content_settings/content_settings_internal_extension_provider.cc base::Value::CreateIntegerValue(setting)); base 43 chrome/browser/content_settings/content_settings_internal_extension_provider.h base::Value* value) OVERRIDE; base 65 chrome/browser/content_settings/content_settings_internal_extension_provider.h mutable base::Lock lock_; base 30 chrome/browser/content_settings/content_settings_mock_provider.cc base::Value* value) { base 37 chrome/browser/content_settings/content_settings_mock_provider.h base::Value* value) OVERRIDE; base 29 chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc base::AutoLock* auto_lock) base 53 chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc scoped_ptr<base::AutoLock> auto_lock_; base 94 chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc base::Lock* lock) const { base 100 chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc scoped_ptr<base::AutoLock> auto_lock; base 102 chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc auto_lock.reset(new base::AutoLock(*lock)); base 123 chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc base::Value* OriginIdentifierValueMap::GetValue( base 151 chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc base::Value* value) { base 17 chrome/browser/content_settings/content_settings_origin_identifier_value_map.h namespace base { base 45 chrome/browser/content_settings/content_settings_origin_identifier_value_map.h typedef std::map<PatternPair, linked_ptr<base::Value> > Rules; base 78 chrome/browser/content_settings/content_settings_origin_identifier_value_map.h base::Lock* lock) const; base 86 chrome/browser/content_settings/content_settings_origin_identifier_value_map.h base::Value* GetValue( base 100 chrome/browser/content_settings/content_settings_origin_identifier_value_map.h base::Value* value); base 26 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc base::Value::CreateIntegerValue(1)); base 28 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc scoped_ptr<base::Value> expected_value(base::Value::CreateIntegerValue(1)); base 72 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc base::Value::CreateIntegerValue(1)); base 123 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc base::Value::CreateIntegerValue(1)); base 128 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc base::Value::CreateIntegerValue(1)); base 153 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc base::Value::CreateIntegerValue(1)); base 159 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc base::Value::CreateIntegerValue(2)); base 193 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc base::Value::CreateIntegerValue(1)); base 198 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc base::Value::CreateIntegerValue(2)); base 199 chrome/browser/content_settings/content_settings_policy_provider.cc base::Bind(&PolicyProvider::OnPreferenceChanged, base::Unretained(this)); base 263 chrome/browser/content_settings/content_settings_policy_provider.cc const base::ListValue* pattern_str_list = NULL; base 296 chrome/browser/content_settings/content_settings_policy_provider.cc base::Value::CreateIntegerValue( base 315 chrome/browser/content_settings/content_settings_policy_provider.cc const base::ListValue* pattern_filter_str_list = NULL; base 345 chrome/browser/content_settings/content_settings_policy_provider.cc scoped_ptr<base::Value> value(base::JSONReader::Read(pattern_filter_json, base 346 chrome/browser/content_settings/content_settings_policy_provider.cc base::JSON_ALLOW_TRAILING_COMMAS)); base 347 chrome/browser/content_settings/content_settings_policy_provider.cc if (!value || !value->IsType(base::Value::TYPE_DICTIONARY)) { base 353 chrome/browser/content_settings/content_settings_policy_provider.cc scoped_ptr<base::DictionaryValue> pattern_filter_pair( base 354 chrome/browser/content_settings/content_settings_policy_provider.cc static_cast<base::DictionaryValue*>(value.release())); base 357 chrome/browser/content_settings/content_settings_policy_provider.cc scoped_ptr<base::Value> cert_filter; base 360 chrome/browser/content_settings/content_settings_policy_provider.cc !cert_filter->IsType(base::Value::TYPE_DICTIONARY)) { base 402 chrome/browser/content_settings/content_settings_policy_provider.cc base::AutoLock auto_lock(lock_); base 417 chrome/browser/content_settings/content_settings_policy_provider.cc base::Value::CreateIntegerValue(setting)); base 423 chrome/browser/content_settings/content_settings_policy_provider.cc base::AutoLock auto_lock(lock_); base 437 chrome/browser/content_settings/content_settings_policy_provider.cc base::Value* value) { base 44 chrome/browser/content_settings/content_settings_policy_provider.h base::Value* value) OVERRIDE; base 78 chrome/browser/content_settings/content_settings_policy_provider.h mutable base::Lock lock_; base 44 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc base::MessageLoop message_loop_; base 64 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 88 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 124 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 140 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc base::ListValue* value = new base::ListValue(); base 141 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc value->Append(base::Value::CreateStringValue("[*.]google.com")); base 174 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc scoped_ptr<base::Value> value_ptr( base 189 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc scoped_ptr<base::Value> value_block( base 190 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 212 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc base::ListValue* value = new base::ListValue(); base 213 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc value->Append(base::Value::CreateStringValue("[*.]google.com")); base 265 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc base::ListValue* value = new base::ListValue(); base 266 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc value->Append(base::Value::CreateStringValue( base 279 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc scoped_ptr<base::Value> cert_filter( base 287 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, cert_filter->GetType()); base 288 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc base::DictionaryValue* dict_value = base 289 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc static_cast<base::DictionaryValue*>(cert_filter.get()); base 32 chrome/browser/content_settings/content_settings_pref_provider.cc using base::UserMetricsAction; base 118 chrome/browser/content_settings/content_settings_pref_provider.cc base::Bind(&PrefProvider::OnContentSettingsPatternPairsChanged, base 119 chrome/browser/content_settings/content_settings_pref_provider.cc base::Unretained(this))); base 127 chrome/browser/content_settings/content_settings_pref_provider.cc base::Value* in_value) { base 142 chrome/browser/content_settings/content_settings_pref_provider.cc scoped_ptr<base::Value> value(in_value); base 149 chrome/browser/content_settings/content_settings_pref_provider.cc base::AutoLock auto_lock(lock_); base 191 chrome/browser/content_settings/content_settings_pref_provider.cc base::AutoLock auto_lock(lock_); base 238 chrome/browser/content_settings/content_settings_pref_provider.cc const base::Value* value) { base 243 chrome/browser/content_settings/content_settings_pref_provider.cc base::AutoReset<bool> auto_reset(&updating_preferences_, true); base 247 chrome/browser/content_settings/content_settings_pref_provider.cc base::DictionaryValue* pattern_pairs_settings = update.Get(); base 252 chrome/browser/content_settings/content_settings_pref_provider.cc base::DictionaryValue* settings_dictionary = NULL; base 257 chrome/browser/content_settings/content_settings_pref_provider.cc settings_dictionary = new base::DictionaryValue; base 266 chrome/browser/content_settings/content_settings_pref_provider.cc base::DictionaryValue* resource_dictionary = NULL; base 272 chrome/browser/content_settings/content_settings_pref_provider.cc resource_dictionary = new base::DictionaryValue; base 325 chrome/browser/content_settings/content_settings_pref_provider.cc const base::DictionaryValue* value_dict = NULL; base 338 chrome/browser/content_settings/content_settings_pref_provider.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 346 chrome/browser/content_settings/content_settings_pref_provider.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 364 chrome/browser/content_settings/content_settings_pref_provider.cc base::AutoReset<bool> auto_reset(&updating_preferences_, true); base 366 chrome/browser/content_settings/content_settings_pref_provider.cc base::AutoLock auto_lock(lock_); base 368 chrome/browser/content_settings/content_settings_pref_provider.cc const base::DictionaryValue* all_settings_dictionary = base 378 chrome/browser/content_settings/content_settings_pref_provider.cc base::DictionaryValue* mutable_settings; base 379 chrome/browser/content_settings/content_settings_pref_provider.cc scoped_ptr<base::DictionaryValue> mutable_settings_scope; base 394 chrome/browser/content_settings/content_settings_pref_provider.cc for (base::DictionaryValue::Iterator i(*mutable_settings); !i.IsAtEnd(); base 408 chrome/browser/content_settings/content_settings_pref_provider.cc const base::DictionaryValue* settings_dictionary = NULL; base 417 chrome/browser/content_settings/content_settings_pref_provider.cc const base::DictionaryValue* resource_dictionary = NULL; base 420 chrome/browser/content_settings/content_settings_pref_provider.cc for (base::DictionaryValue::Iterator j(*resource_dictionary); base 432 chrome/browser/content_settings/content_settings_pref_provider.cc base::Value::CreateIntegerValue(setting)); base 436 chrome/browser/content_settings/content_settings_pref_provider.cc base::Value* value = NULL; base 438 chrome/browser/content_settings/content_settings_pref_provider.cc const base::DictionaryValue* setting = NULL; base 452 chrome/browser/content_settings/content_settings_pref_provider.cc value = base::Value::CreateIntegerValue(setting); base 507 chrome/browser/content_settings/content_settings_pref_provider.cc base::DictionaryValue* all_settings_dictionary) { base 512 chrome/browser/content_settings/content_settings_pref_provider.cc for (base::DictionaryValue::Iterator i(*all_settings_dictionary); base 533 chrome/browser/content_settings/content_settings_pref_provider.cc const base::DictionaryValue* new_pattern_settings_dictionary = NULL; base 541 chrome/browser/content_settings/content_settings_pref_provider.cc const base::DictionaryValue* old_pattern_settings_dictionary = NULL; base 553 chrome/browser/content_settings/content_settings_pref_provider.cc scoped_ptr<base::Value> pattern_settings_dictionary; base 21 chrome/browser/content_settings/content_settings_pref_provider.h namespace base { base 51 chrome/browser/content_settings/content_settings_pref_provider.h base::Value* value) OVERRIDE; base 77 chrome/browser/content_settings/content_settings_pref_provider.h const base::Value* value); base 83 chrome/browser/content_settings/content_settings_pref_provider.h base::DictionaryValue* all_settings_dictionary); base 106 chrome/browser/content_settings/content_settings_pref_provider.h mutable base::Lock lock_; base 39 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc class DeadlockCheckerThread : public base::PlatformThread::Delegate { base 67 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Bind( base 69 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Unretained(this))); base 82 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::PlatformThreadHandle handle; base 83 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc ASSERT_TRUE(base::PlatformThread::Create(0, &thread, &handle)); base 84 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::PlatformThread::Join(handle); base 101 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::MessageLoop message_loop_; base 125 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 174 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 229 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Value::CreateIntegerValue( base 238 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc scoped_ptr<base::Value> value_ptr( base 292 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 320 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 341 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 374 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 411 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 438 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc base::DictionaryValue* mutable_settings = update.Get(); base 440 chrome/browser/content_settings/content_settings_pref_provider_unittest.cc new base::DictionaryValue()); base 57 chrome/browser/content_settings/content_settings_provider.h base::Value* value) = 0; base 25 chrome/browser/content_settings/content_settings_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 32 chrome/browser/content_settings/content_settings_provider_unittest.cc scoped_ptr<base::Value> value_ptr( base 68 chrome/browser/content_settings/content_settings_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 76 chrome/browser/content_settings/content_settings_provider_unittest.cc scoped_ptr<base::Value> value( base 77 chrome/browser/content_settings/content_settings_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 98 chrome/browser/content_settings/content_settings_provider_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 15 chrome/browser/content_settings/content_settings_rule.cc base::Value* value) base 39 chrome/browser/content_settings/content_settings_rule.cc base::AutoLock* auto_lock) base 25 chrome/browser/content_settings/content_settings_rule.h base::Value* value); base 30 chrome/browser/content_settings/content_settings_rule.h linked_ptr<base::Value> value; base 52 chrome/browser/content_settings/content_settings_rule.h base::AutoLock* auto_lock); base 58 chrome/browser/content_settings/content_settings_rule.h scoped_ptr<base::AutoLock> auto_lock_; base 45 chrome/browser/content_settings/content_settings_rule_unittest.cc base::Value::CreateIntegerValue(0))); base 48 chrome/browser/content_settings/content_settings_rule_unittest.cc base::Value::CreateIntegerValue(0))); base 52 chrome/browser/content_settings/content_settings_rule_unittest.cc base::Value::CreateIntegerValue(0))); base 55 chrome/browser/content_settings/content_settings_rule_unittest.cc base::Value::CreateIntegerValue(0))); base 104 chrome/browser/content_settings/content_settings_usages_state.cc base::string16 display_host; base 107 chrome/browser/content_settings/content_settings_usages_state.cc return base::UTF16ToUTF8(display_host); base 209 chrome/browser/content_settings/content_settings_usages_state_unittest.cc base::MessageLoop message_loop_; base 76 chrome/browser/content_settings/content_settings_utils.cc base::SplitString(pattern_str, kPatternSeparator[0], &pattern_str_list); base 105 chrome/browser/content_settings/content_settings_utils.cc ContentSetting ValueToContentSetting(const base::Value* value) { base 112 chrome/browser/content_settings/content_settings_utils.cc bool ParseContentSettingValue(const base::Value* value, base 125 chrome/browser/content_settings/content_settings_utils.cc base::Value* GetContentSettingValueAndPatterns( base 140 chrome/browser/content_settings/content_settings_utils.cc base::Value* value = GetContentSettingValueAndPatterns( base 154 chrome/browser/content_settings/content_settings_utils.cc base::Value* GetContentSettingValueAndPatterns( base 174 chrome/browser/content_settings/content_settings_utils.cc base::Value* GetContentSettingValue(const ProviderInterface* provider, base 191 chrome/browser/content_settings/content_settings_utils.cc scoped_ptr<base::Value> value( base 15 chrome/browser/content_settings/content_settings_utils.h namespace base { base 32 chrome/browser/content_settings/content_settings_utils.h ContentSetting ValueToContentSetting(const base::Value* value); base 37 chrome/browser/content_settings/content_settings_utils.h bool ParseContentSettingValue(const base::Value* value, base 47 chrome/browser/content_settings/content_settings_utils.h base::Value* GetContentSettingValueAndPatterns( base 54 chrome/browser/content_settings/content_settings_utils.h base::Value* GetContentSettingValueAndPatterns( base 64 chrome/browser/content_settings/content_settings_utils.h base::Value* GetContentSettingValue( base 29 chrome/browser/content_settings/cookie_settings.cc using base::UserMetricsAction; base 107 chrome/browser/content_settings/cookie_settings.cc base::Bind(&CookieSettings::OnBlockThirdPartyCookiesChanged, base 108 chrome/browser/content_settings/cookie_settings.cc base::Unretained(this))); base 188 chrome/browser/content_settings/cookie_settings.cc scoped_ptr<base::Value> value(host_content_settings_map_->GetWebsiteSetting( base 225 chrome/browser/content_settings/cookie_settings.cc base::AutoLock auto_lock(lock_); base 231 chrome/browser/content_settings/cookie_settings.cc base::AutoLock auto_lock(lock_); base 144 chrome/browser/content_settings/cookie_settings.h mutable base::Lock lock_; base 39 chrome/browser/content_settings/cookie_settings_unittest.cc base::MessageLoop message_loop_; base 44 chrome/browser/content_settings/host_content_settings_map.cc using base::UserMetricsAction; base 84 chrome/browser/content_settings/host_content_settings_map.cc used_from_thread_id_(base::PlatformThread::CurrentId()), base 132 chrome/browser/content_settings/host_content_settings_map.cc DCHECK(used_from_thread_id_ != base::kInvalidThreadId) base 216 chrome/browser/content_settings/host_content_settings_map.cc scoped_ptr<base::Value> value(GetWebsiteSetting( base 258 chrome/browser/content_settings/host_content_settings_map.cc base::Value* value = NULL; base 260 chrome/browser/content_settings/host_content_settings_map.cc value = base::Value::CreateIntegerValue(setting); base 274 chrome/browser/content_settings/host_content_settings_map.cc base::Value* value) { base 301 chrome/browser/content_settings/host_content_settings_map.cc base::Value* value = NULL; base 303 chrome/browser/content_settings/host_content_settings_map.cc value = base::Value::CreateIntegerValue(setting); base 347 chrome/browser/content_settings/host_content_settings_map.cc PrefService* prefs, const base::Value* value, ContentSettingsType type) { base 493 chrome/browser/content_settings/host_content_settings_map.cc base::Value::CreateIntegerValue( base 535 chrome/browser/content_settings/host_content_settings_map.cc if (used_from_thread_id_ == base::kInvalidThreadId) base 538 chrome/browser/content_settings/host_content_settings_map.cc if (base::PlatformThread::CurrentId() != used_from_thread_id_) base 539 chrome/browser/content_settings/host_content_settings_map.cc used_from_thread_id_ = base::kInvalidThreadId; base 579 chrome/browser/content_settings/host_content_settings_map.cc base::Value* HostContentSettingsMap::GetWebsiteSetting( base 595 chrome/browser/content_settings/host_content_settings_map.cc return base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW); base 610 chrome/browser/content_settings/host_content_settings_map.cc base::Value* value = content_settings::GetContentSettingValueAndPatterns( base 29 chrome/browser/content_settings/host_content_settings_map.h namespace base { base 43 chrome/browser/content_settings/host_content_settings_map.h public base::RefCountedThreadSafe<HostContentSettingsMap> { base 99 chrome/browser/content_settings/host_content_settings_map.h base::Value* GetWebsiteSetting( base 146 chrome/browser/content_settings/host_content_settings_map.h base::Value* value); base 163 chrome/browser/content_settings/host_content_settings_map.h const base::Value* value, base 203 chrome/browser/content_settings/host_content_settings_map.h friend class base::RefCountedThreadSafe<HostContentSettingsMap>; base 246 chrome/browser/content_settings/host_content_settings_map.h mutable base::PlatformThreadId used_from_thread_id_; base 36 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::MessageLoop message_loop_; base 319 chrome/browser/content_settings/host_content_settings_map_unittest.cc scoped_ptr<base::Value> default_value(prefs->FindPreference( base 331 chrome/browser/content_settings/host_content_settings_map_unittest.cc scoped_ptr<base::Value> new_value(prefs->FindPreference( base 355 chrome/browser/content_settings/host_content_settings_map_unittest.cc scoped_ptr<base::Value> default_value(prefs->FindPreference( base 377 chrome/browser/content_settings/host_content_settings_map_unittest.cc scoped_ptr<base::Value> new_value(prefs->FindPreference( base 674 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::DictionaryValue* all_settings_dictionary = update.Get(); base 677 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::DictionaryValue* dummy_payload = new base::DictionaryValue; base 684 chrome/browser/content_settings/host_content_settings_map_unittest.cc const base::DictionaryValue* all_settings_dictionary = base 686 chrome/browser/content_settings/host_content_settings_map_unittest.cc const base::DictionaryValue* result = NULL; base 698 chrome/browser/content_settings/host_content_settings_map_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read( base 703 chrome/browser/content_settings/host_content_settings_map_unittest.cc scoped_ptr<base::Value> puny_value(base::JSONReader::Read( base 710 chrome/browser/content_settings/host_content_settings_map_unittest.cc const base::DictionaryValue* content_setting_prefs = base 713 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::JSONWriter::Write(content_setting_prefs, &prefs_as_json); base 732 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 745 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 785 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 825 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); base 854 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 876 chrome/browser/content_settings/host_content_settings_map_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); base 951 chrome/browser/content_settings/host_content_settings_map_unittest.cc scoped_ptr<base::Value> patterns(base::JSONReader::Read( base 957 chrome/browser/content_settings/host_content_settings_map_unittest.cc scoped_ptr<base::Value> defaults(base::JSONReader::Read("{\"cookies\": 1}")); base 28 chrome/browser/content_settings/permission_queue_controller.h typedef base::Callback<void(bool /* allowed */)> PermissionDecidedCallback; base 98 chrome/browser/content_settings/permission_queue_controller_unittest.cc base::Callback<void(bool)> callback; base 34 chrome/browser/content_settings/permission_request_id.cc return base::StringPrintf("%d,%d,%d,%d", base 170 chrome/browser/content_settings/tab_specific_content_settings.cc const base::string16& name, base 171 chrome/browser/content_settings/tab_specific_content_settings.cc const base::string16& display_name, base 198 chrome/browser/content_settings/tab_specific_content_settings.cc const base::string16& description, base 390 chrome/browser/content_settings/tab_specific_content_settings.cc const base::string16& description, base 425 chrome/browser/content_settings/tab_specific_content_settings.cc const base::string16& name, base 426 chrome/browser/content_settings/tab_specific_content_settings.cc const base::string16& display_name, base 430 chrome/browser/content_settings/tab_specific_content_settings.cc url, base::UTF16ToUTF8(name), base::UTF16ToUTF8(display_name)); base 434 chrome/browser/content_settings/tab_specific_content_settings.cc url, base::UTF16ToUTF8(name), base::UTF16ToUTF8(display_name)); base 129 chrome/browser/content_settings/tab_specific_content_settings.h const base::string16& name, base 130 chrome/browser/content_settings/tab_specific_content_settings.h const base::string16& display_name, base 150 chrome/browser/content_settings/tab_specific_content_settings.h const base::string16& description, base 319 chrome/browser/content_settings/tab_specific_content_settings.h const base::string16& description, base 325 chrome/browser/content_settings/tab_specific_content_settings.h const base::string16& name, base 326 chrome/browser/content_settings/tab_specific_content_settings.h const base::string16& display_name, base 363 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc base::Time::Now(), net::CookieOptions())); base 373 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc base::UTF8ToUTF16("text"), base 379 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc base::UTF8ToUTF16("name"), base 380 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc base::UTF8ToUTF16("display_name"), base 58 chrome/browser/crash_recovery_browsertest.cc response->set_content(base::StringPrintf("<title>%d</title>", base 86 chrome/browser/crash_recovery_browsertest.cc base::string16 title_before_crash; base 87 chrome/browser/crash_recovery_browsertest.cc base::string16 title_after_crash; base 107 chrome/browser/crash_recovery_browsertest.cc base::Bind(&CacheMaxAgeHandler::HandleRequest, base 108 chrome/browser/crash_recovery_browsertest.cc base::Owned(new CacheMaxAgeHandler(kTestPath)))); base 112 chrome/browser/crash_recovery_browsertest.cc base::string16 title_before_crash; base 113 chrome/browser/crash_recovery_browsertest.cc base::string16 title_after_crash; base 130 chrome/browser/crash_recovery_browsertest.cc const base::FilePath::CharType* kTitle2File = base 135 chrome/browser/crash_recovery_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 136 chrome/browser/crash_recovery_browsertest.cc base::FilePath(kTitle2File))); base 138 chrome/browser/crash_recovery_browsertest.cc base::string16 title_before_crash; base 139 chrome/browser/crash_recovery_browsertest.cc base::string16 title_after_crash; base 19 chrome/browser/crash_upload_list.cc base::FilePath crash_dir_path; base 21 chrome/browser/crash_upload_list.cc base::FilePath upload_log_path = base 31 chrome/browser/crash_upload_list.cc const base::FilePath& upload_log_path) base 22 chrome/browser/crash_upload_list.h CrashUploadList(Delegate* delegate, const base::FilePath& upload_log_path); base 12 chrome/browser/crash_upload_list_win.cc const base::FilePath& upload_log_path) base 78 chrome/browser/crash_upload_list_win.cc UploadInfo(base::SysWideToUTF8(crash_id), base 79 chrome/browser/crash_upload_list_win.cc base::Time::FromDoubleT(record->TimeGenerated))); base 15 chrome/browser/crash_upload_list_win.h CrashUploadListWin(Delegate* delegate, const base::FilePath& upload_log_path); base 67 chrome/browser/custom_handlers/protocol_handler_registry.cc : public base::RefCountedThreadSafe< base 404 chrome/browser/custom_handlers/protocol_handler_registry.cc base::Bind(&IOThreadDelegate::ClearDefault, io_thread_delegate_, scheme)); base 448 chrome/browser/custom_handlers/protocol_handler_registry.cc std::vector<const base::DictionaryValue*> registered_handlers = base 450 chrome/browser/custom_handlers/protocol_handler_registry.cc for (std::vector<const base::DictionaryValue*>::const_iterator p = base 460 chrome/browser/custom_handlers/protocol_handler_registry.cc std::vector<const base::DictionaryValue*> ignored_handlers = base 462 chrome/browser/custom_handlers/protocol_handler_registry.cc for (std::vector<const base::DictionaryValue*>::const_iterator p = base 632 chrome/browser/custom_handlers/protocol_handler_registry.cc base::Bind(&IOThreadDelegate::ClearDefault, io_thread_delegate_, base 668 chrome/browser/custom_handlers/protocol_handler_registry.cc base::Bind(&IOThreadDelegate::Enable, io_thread_delegate_)); base 687 chrome/browser/custom_handlers/protocol_handler_registry.cc base::Bind(&IOThreadDelegate::Disable, io_thread_delegate_)); base 743 chrome/browser/custom_handlers/protocol_handler_registry.cc scoped_ptr<base::Value> registered_protocol_handlers( base 745 chrome/browser/custom_handlers/protocol_handler_registry.cc scoped_ptr<base::Value> ignored_protocol_handlers(EncodeIgnoredHandlers()); base 746 chrome/browser/custom_handlers/protocol_handler_registry.cc scoped_ptr<base::Value> enabled(base::Value::CreateBooleanValue(enabled_)); base 779 chrome/browser/custom_handlers/protocol_handler_registry.cc base::Bind(&IOThreadDelegate::SetDefault, io_thread_delegate_, handler)); base 797 chrome/browser/custom_handlers/protocol_handler_registry.cc base::Value* ProtocolHandlerRegistry::EncodeRegisteredHandlers() { base 799 chrome/browser/custom_handlers/protocol_handler_registry.cc base::ListValue* protocol_handlers = new base::ListValue(); base 804 chrome/browser/custom_handlers/protocol_handler_registry.cc base::DictionaryValue* encoded = j->Encode(); base 806 chrome/browser/custom_handlers/protocol_handler_registry.cc encoded->Set("default", base::Value::CreateBooleanValue(true)); base 814 chrome/browser/custom_handlers/protocol_handler_registry.cc base::Value* ProtocolHandlerRegistry::EncodeIgnoredHandlers() { base 816 chrome/browser/custom_handlers/protocol_handler_registry.cc base::ListValue* handlers = new base::ListValue(); base 845 chrome/browser/custom_handlers/protocol_handler_registry.cc std::vector<const base::DictionaryValue*> base 848 chrome/browser/custom_handlers/protocol_handler_registry.cc std::vector<const base::DictionaryValue*> result; base 854 chrome/browser/custom_handlers/protocol_handler_registry.cc const base::ListValue* handlers = prefs->GetList(pref_name); base 857 chrome/browser/custom_handlers/protocol_handler_registry.cc const base::DictionaryValue* dict; base 247 chrome/browser/custom_handlers/protocol_handler_registry.h friend class base::DeleteHelper<ProtocolHandlerRegistry>; base 280 chrome/browser/custom_handlers/protocol_handler_registry.h base::Value* EncodeRegisteredHandlers(); base 284 chrome/browser/custom_handlers/protocol_handler_registry.h base::Value* EncodeIgnoredHandlers(); base 294 chrome/browser/custom_handlers/protocol_handler_registry.h std::vector<const base::DictionaryValue*> GetHandlersFromPref( base 50 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc const base::string16& title) { base 73 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc base::UTF8ToUTF16(std::string("Test handler"))); base 86 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc base::UTF8ToUTF16(std::string("Test foo Handler"))); base 51 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::Bind(AssertInterceptedIO, base 53 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::Unretained(interceptor))); base 54 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 99 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::Bind(AssertWillHandleIO, base 102 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::Unretained(interceptor))); base 103 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 181 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::MessageLoop::current()->Quit(); base 283 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc class TestMessageLoop : public base::MessageLoop { base 287 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc virtual bool IsType(base::MessageLoop::Type type) const OVERRIDE { base 290 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc case base::MessageLoop::TYPE_GPU: base 292 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc case base::MessageLoop::TYPE_UI: base 294 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc case base::MessageLoop::TYPE_IO: base 297 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc case base::MessageLoop::TYPE_JAVA: // fall-through base 299 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc case base::MessageLoop::TYPE_CUSTOM: base 300 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc case base::MessageLoop::TYPE_DEFAULT: base 329 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::UTF8ToUTF16(title)); base 744 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::MessageLoop::current()->Run(); // FILE thread needs to run. base 774 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::MessageLoop::current()->Run(); // FILE thread needs to run. base 777 chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc base::MessageLoop::current()->Run(); // FILE thread needs to run. base 24 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc base::UserMetricsAction("RegisterProtocolHandler.InfoBar_Shown")); base 74 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc base::string16 RegisterProtocolHandlerInfoBarDelegate::GetMessageText() const { base 78 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc handler_.title(), base::UTF8ToUTF16(handler_.url().host()), base 81 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc handler_.title(), base::UTF8ToUTF16(handler_.url().host()), base 85 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc base::string16 RegisterProtocolHandlerInfoBarDelegate::GetButtonLabel( base 100 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc base::UserMetricsAction("RegisterProtocolHandler.Infobar_Accept")); base 107 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc base::UserMetricsAction("RegisterProtocolHandler.InfoBar_Deny")); base 112 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc base::string16 RegisterProtocolHandlerInfoBarDelegate::GetLinkText() const { base 119 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc base::UserMetricsAction("RegisterProtocolHandler.InfoBar_LearnMore")); base 127 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc base::string16 RegisterProtocolHandlerInfoBarDelegate::GetProtocolName( base 133 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc return base::UTF8ToUTF16(handler.protocol()); base 37 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 38 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 42 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 46 chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h base::string16 GetProtocolName(const ProtocolHandler& handler) const; base 16 chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc base::string16 GetProtocolName( base 22 chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc return base::UTF8ToUTF16(handler.protocol()); base 45 chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc base::string16 base 50 chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc handler_.title(), base::UTF8ToUTF16(handler_.url().host()), base 53 chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc handler_.title(), base::UTF8ToUTF16(handler_.url().host()), base 57 chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc base::string16 base 78 chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc base::UserMetricsAction("RegisterProtocolHandler.Infobar_Accept")); base 84 chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc base::UserMetricsAction("RegisterProtocolHandler.InfoBar_Deny")); base 90 chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc base::UserMetricsAction("RegisterProtocolHandler.InfoBar_Deny")); base 28 chrome/browser/custom_handlers/register_protocol_handler_permission_request.h virtual base::string16 GetMessageText() const OVERRIDE; base 29 chrome/browser/custom_handlers/register_protocol_handler_permission_request.h virtual base::string16 GetMessageTextFragment() const OVERRIDE; base 64 chrome/browser/custom_home_pages_table_model.cc base::string16 title; base 207 chrome/browser/custom_home_pages_table_model.cc base::string16 CustomHomePagesTableModel::GetText(int row, int column_id) { base 213 chrome/browser/custom_home_pages_table_model.cc base::string16 CustomHomePagesTableModel::GetTooltip(int row) { base 214 chrome/browser/custom_home_pages_table_model.cc return entries_[row].title.empty() ? base::string16() : base 229 chrome/browser/custom_home_pages_table_model.cc base::Bind(&CustomHomePagesTableModel::OnGotTitle, base 230 chrome/browser/custom_home_pages_table_model.cc base::Unretained(this))); base 267 chrome/browser/custom_home_pages_table_model.cc base::string16 CustomHomePagesTableModel::FormattedURL(int row) const { base 270 chrome/browser/custom_home_pages_table_model.cc base::string16 url = net::FormatUrl(entries_[row].url, languages); base 271 chrome/browser/custom_home_pages_table_model.cc url = base::i18n::GetDisplayStringInLTRDirectionality(url); base 53 chrome/browser/custom_home_pages_table_model.h virtual base::string16 GetText(int row, int column_id) OVERRIDE; base 54 chrome/browser/custom_home_pages_table_model.h virtual base::string16 GetTooltip(int row) OVERRIDE; base 79 chrome/browser/custom_home_pages_table_model.h base::string16 FormattedURL(int row) const; base 188 chrome/browser/devtools/adb/android_rsa.cc if (!encoded_key.empty() && base::Base64Decode(encoded_key, &decoded_key)) { base 199 chrome/browser/devtools/adb/android_rsa.cc base::Base64Encode(key_string, &encoded_key); base 214 chrome/browser/devtools/adb/android_rsa.cc base::StringPiece pk; base 257 chrome/browser/devtools/adb/android_rsa.cc base::Base64Encode(input, &output); base 48 chrome/browser/devtools/adb/android_usb_device.cc base::LazyInstance<AndroidUsbDevices>::Leaky g_devices = base 98 chrome/browser/devtools/adb/android_usb_device.cc base::string16 serial; base 102 chrome/browser/devtools/adb/android_usb_device.cc return new AndroidUsbDevice(rsa_key, usb_handle, base::UTF16ToASCII(serial), base 120 chrome/browser/devtools/adb/android_usb_device.cc result += base::StringPrintf("%02x", base 132 chrome/browser/devtools/adb/android_usb_device.cc result = base::StringPrintf("%d: ", (int)length); base 164 chrome/browser/devtools/adb/android_usb_device.cc static void RespondWithCountOnUIThread(base::Callback<void(int)> callback, base 181 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&RespondOnUIThread, callback, g_devices.Get())); base 186 chrome/browser/devtools/adb/android_usb_device.cc const base::Closure& barrier, base 208 chrome/browser/devtools/adb/android_usb_device.cc const base::Callback<void(int)>& callback) { base 226 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&RespondWithCountOnUIThread, callback, base 263 chrome/browser/devtools/adb/android_usb_device.cc base::Closure barrier = base::BarrierClosure( base 264 chrome/browser/devtools/adb/android_usb_device.cc usb_devices.size(), base::Bind(&RespondOnFileThread, callback)); base 286 chrome/browser/devtools/adb/android_usb_device.cc (*it)->RequestUsbAcess(j, base::Bind(&OpenAndroidDevicesOnFileThread, base 302 chrome/browser/devtools/adb/android_usb_device.cc const base::Callback<void(int)>& callback) { base 305 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&CountOnFileThread, callback)); base 313 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&EnumerateOnFileThread, rsa_key, base 339 chrome/browser/devtools/adb/android_usb_device.cc message_loop_ = base::MessageLoop::current(); base 348 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::SocketDeleted, this)); base 419 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::OutgoingMessageSent, this)); base 428 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::ProcessOutgoing, base 440 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::ParseHeader, this)); base 448 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::ReadHeader, this, base 473 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::HandleIncoming, this, base 479 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::ReadBody, this, base 489 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::ParseBody, this, message, data_length, base 501 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::ReadBody, this, base 520 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::HandleIncoming, this, base 576 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&AndroidUsbDevice::Terminate, base 595 chrome/browser/devtools/adb/android_usb_device.cc base::Bind(&ReleaseInterface, usb_device_)); base 14 chrome/browser/devtools/adb/android_usb_device.h namespace base { base 28 chrome/browser/devtools/adb/android_usb_device.h class AdbMessage : public base::RefCounted<AdbMessage> { base 56 chrome/browser/devtools/adb/android_usb_device.h friend class base::RefCounted<AdbMessage>; base 64 chrome/browser/devtools/adb/android_usb_device.h typedef base::Callback<void(const AndroidUsbDevices&)> base 67 chrome/browser/devtools/adb/android_usb_device.h class AndroidUsbDevice : public base::RefCountedThreadSafe<AndroidUsbDevice> { base 72 chrome/browser/devtools/adb/android_usb_device.h static void CountDevices(const base::Callback<void(int)>& callback); base 99 chrome/browser/devtools/adb/android_usb_device.h friend class base::RefCountedThreadSafe<AndroidUsbDevice>; base 131 chrome/browser/devtools/adb/android_usb_device.h base::MessageLoop* message_loop_; base 30 chrome/browser/devtools/adb/android_usb_socket.cc base::Callback<void(uint32)> delete_callback) base 17 chrome/browser/devtools/adb/android_usb_socket.h namespace base { base 24 chrome/browser/devtools/adb/android_usb_socket.h public base::NonThreadSafe { base 29 chrome/browser/devtools/adb/android_usb_socket.h base::Callback<void(uint32)> delete_callback); base 76 chrome/browser/devtools/adb/android_usb_socket.h base::Callback<void(uint32)> delete_callback_; base 25 chrome/browser/devtools/adb_client_socket.cc typedef base::Callback<void(int, const std::string&)> CommandCallback; base 26 chrome/browser/devtools/adb_client_socket.cc typedef base::Callback<void(int, net::StreamSocket*)> SocketCallback; base 52 chrome/browser/devtools/adb_client_socket.cc Connect(base::Bind(&AdbTransportSocket::OnConnected, base 53 chrome/browser/devtools/adb_client_socket.cc base::Unretained(this))); base 62 chrome/browser/devtools/adb_client_socket.cc SendCommand(base::StringPrintf(kHostTransportCommand, serial_.c_str()), base 63 chrome/browser/devtools/adb_client_socket.cc true, base::Bind(&AdbTransportSocket::SendLocalAbstract, base 64 chrome/browser/devtools/adb_client_socket.cc base::Unretained(this))); base 71 chrome/browser/devtools/adb_client_socket.cc base::Bind(&AdbTransportSocket::OnSocketAvailable, base 72 chrome/browser/devtools/adb_client_socket.cc base::Unretained(this))); base 126 chrome/browser/devtools/adb_client_socket.cc base::Bind(&HttpOverAdbSocket::ReadResponse, base::Unretained(this))); base 139 chrome/browser/devtools/adb_client_socket.cc base::Bind(&HttpOverAdbSocket::OnResponseData, base 140 chrome/browser/devtools/adb_client_socket.cc base::Unretained(this), base 167 chrome/browser/devtools/adb_client_socket.cc base::TrimWhitespace(len, base::TRIM_ALL, &len); base 168 chrome/browser/devtools/adb_client_socket.cc if (!base::StringToInt(len, &expected_length)) { base 193 chrome/browser/devtools/adb_client_socket.cc base::Bind(&HttpOverAdbSocket::OnResponseData, base 194 chrome/browser/devtools/adb_client_socket.cc base::Unretained(this), base 231 chrome/browser/devtools/adb_client_socket.cc Connect(base::Bind(&AdbQuerySocket::SendNextQuery, base 232 chrome/browser/devtools/adb_client_socket.cc base::Unretained(this))); base 249 chrome/browser/devtools/adb_client_socket.cc base::Bind(&AdbQuerySocket::OnResponse, base::Unretained(this))); base 335 chrome/browser/devtools/adb_client_socket.cc base::Bind(&AdbClientSocket::ReadResponse, base 336 chrome/browser/devtools/adb_client_socket.cc base::Unretained(this), base 354 chrome/browser/devtools/adb_client_socket.cc base::Bind(&AdbClientSocket::OnResponseHeader, base 355 chrome/browser/devtools/adb_client_socket.cc base::Unretained(this), base 392 chrome/browser/devtools/adb_client_socket.cc base::HexStringToInt(data.substr(0, 4), &payload_length)) { base 426 chrome/browser/devtools/adb_client_socket.cc base::Bind(&AdbClientSocket::OnResponseData, base 427 chrome/browser/devtools/adb_client_socket.cc base::Unretained(this), base 14 chrome/browser/devtools/adb_client_socket.h typedef base::Callback<void(int, const std::string&)> CommandCallback; base 15 chrome/browser/devtools/adb_client_socket.h typedef base::Callback<void(int result, base 148 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&SingleConnectionServer::OnAccepted, base::Unretained(this))); base 154 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&SingleConnectionServer::OnAccepted, base 155 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Unretained(this), base 173 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&SingleConnectionServer::OnDataRead, base::Unretained(this))); base 203 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&SingleConnectionServer::ReadData, base::Unretained(this))); base 214 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&SingleConnectionServer::OnDataWritten, base 215 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Unretained(this))); base 237 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&SingleConnectionServer::WriteData, base::Unretained(this))); base 257 chrome/browser/devtools/adb_client_socket_browsertest.cc EXPECT_TRUE(base::HexStringToInt(message_header, &message_size)); base 322 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&AdbClientSocketTest::StartMockAdbServer, base 323 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Unretained(this)), base 324 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&AdbClientSocketTest::AddListener, base 325 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Unretained(this))); base 372 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&AdbClientSocketTest::StopMockAdbServer, base 373 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Unretained(this)), base 374 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Bind(&AdbClientSocketTest::StopMessageLoop, base 375 chrome/browser/devtools/adb_client_socket_browsertest.cc base::Unretained(this))); base 30 chrome/browser/devtools/adb_web_socket.cc base::MessageLoop* adb_message_loop, base 38 chrome/browser/devtools/adb_web_socket.cc FROM_HERE, base::Bind(&AdbWebSocket::ConnectOnHandlerThread, this)); base 44 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::DisconnectOnHandlerThread, this, false)); base 52 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::SendFrameOnHandlerThread, this, message)); base 56 chrome/browser/devtools/adb_web_socket.cc int mask = base::RandInt(0, 0x7FFFFFFF); base 68 chrome/browser/devtools/adb_web_socket.cc base::StringPrintf(kWebSocketUpgradeRequest, url_.c_str()), base 69 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::ConnectedOnHandlerThread, this)); base 76 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::OnSocketClosed, this, true)); base 81 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::OnSocketOpened, this)); base 91 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::OnBytesRead, this, response_buffer)); base 117 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::OnFrameRead, this, output)); base 131 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::OnBytesRead, this, response_buffer)); base 150 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::SendPendingRequests, base 163 chrome/browser/devtools/adb_web_socket.cc base::Bind(&AdbWebSocket::OnSocketClosed, this, closed_by_device)); base 10 chrome/browser/devtools/adb_web_socket.h class AdbWebSocket : public base::RefCountedThreadSafe<AdbWebSocket> { base 25 chrome/browser/devtools/adb_web_socket.h base::MessageLoop* adb_message_loop, base 33 chrome/browser/devtools/adb_web_socket.h friend class base::RefCountedThreadSafe<AdbWebSocket>; base 52 chrome/browser/devtools/adb_web_socket.h base::MessageLoop* adb_message_loop_; base 61 chrome/browser/devtools/android_device.cc std::string query = base::StringPrintf(kHostTransportCommand, base 69 chrome/browser/devtools/android_device.cc base::StringPrintf(kLocalAbstractCommand, name.c_str()); base 109 chrome/browser/devtools/android_device.cc int result = socket->Connect(base::Bind(&UsbDeviceImpl::OpenedForCommand, base 118 chrome/browser/devtools/android_device.cc base::StringPrintf(kLocalAbstractCommand, name.c_str()); base 120 chrome/browser/devtools/android_device.cc int result = socket->Connect(base::Bind(&UsbDeviceImpl::OnOpenSocket, this, base 141 chrome/browser/devtools/android_device.cc base::Bind(&UsbDeviceImpl::OnRead, this, base 160 chrome/browser/devtools/android_device.cc base::Bind(&UsbDeviceImpl::OnRead, this, base 186 chrome/browser/devtools/android_device.cc FROM_HERE, base::Bind(&AdbDeviceProvider::QueryDevicesOnAdbThread, base 192 chrome/browser/devtools/android_device.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 196 chrome/browser/devtools/android_device.cc base::Bind(&AdbDeviceProvider::ReceivedAdbDevices, this, callback)); base 202 chrome/browser/devtools/android_device.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 216 chrome/browser/devtools/android_device.cc base::Bind(&AdbDeviceProvider::RunCallbackOnUIThread, base 247 chrome/browser/devtools/android_device.cc base::Bind(&UsbDeviceProvider::EnumeratedDevices, base 255 chrome/browser/devtools/android_device.cc base::Bind(&UsbDeviceProvider::WrapDevicesOnAdbThread, base 261 chrome/browser/devtools/android_device.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 268 chrome/browser/devtools/android_device.cc base::Bind(&UsbDeviceProvider::RunCallbackOnUIThread, base 285 chrome/browser/devtools/android_device.cc OpenSocket(la_name, base::Bind(&AndroidDevice::OnHttpSocketOpened, this, base 293 chrome/browser/devtools/android_device.cc OpenSocket(la_name, base::Bind(&AndroidDevice::OnHttpSocketOpened2, this, base 325 chrome/browser/devtools/android_device.cc class AdbCountDevicesCommand : public base::RefCountedThreadSafe< base 328 chrome/browser/devtools/android_device.cc typedef base::Callback<void(int)> Callback; base 354 chrome/browser/devtools/android_device.cc FROM_HERE, base::Bind(&AdbCountDevicesCommand::RequestAdbDeviceCount, base 363 chrome/browser/devtools/android_device.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 366 chrome/browser/devtools/android_device.cc base::Bind(&AdbCountDevicesCommand::ReceivedAdbDeviceCount, this)); base 372 chrome/browser/devtools/android_device.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 377 chrome/browser/devtools/android_device.cc base::Bind(&AdbCountDevicesCommand::Respond, this, serials.size())); base 403 chrome/browser/devtools/android_device.cc const base::Callback<void(int)>& callback) { base 466 chrome/browser/devtools/android_device.cc response = base::StringPrintf(kOpenedUnixSocketsResponse, base 470 chrome/browser/devtools/android_device.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 471 chrome/browser/devtools/android_device.cc base::Bind(&SelfAsDevice::RunCommandCallback, this, callback, base 486 chrome/browser/devtools/android_device.cc base::StringToInt(socket_name, &port); base 492 chrome/browser/devtools/android_device.cc socket->Connect(base::Bind(&SelfAsDevice::RunSocketCallback, this, callback, base 509 chrome/browser/devtools/android_device.cc base::Bind(&SelfAsDeviceProvider::RunCallbackOnUIThread, base 18 chrome/browser/devtools/android_device.h class AndroidDevice : public base::RefCountedThreadSafe<AndroidDevice> { base 20 chrome/browser/devtools/android_device.h typedef base::Callback<void(int, const std::string&)> CommandCallback; base 21 chrome/browser/devtools/android_device.h typedef base::Callback<void(int result, net::StreamSocket*)> SocketCallback; base 43 chrome/browser/devtools/android_device.h friend class base::RefCountedThreadSafe<AndroidDevice>; base 65 chrome/browser/devtools/android_device.h : public base::RefCountedThreadSafe< base 70 chrome/browser/devtools/android_device.h typedef base::Callback<void(const AndroidDevices&)> QueryDevicesCallback; base 75 chrome/browser/devtools/android_device.h const base::Callback<void(int)>& callback); base 89 chrome/browser/devtools/android_device.h friend class base::DeleteHelper<AndroidDeviceProvider>; base 61 chrome/browser/devtools/browser_list_tabcontents_provider.cc base::FilePath BrowserListTabContentsProvider::GetDebugFrontendDir() { base 63 chrome/browser/devtools/browser_list_tabcontents_provider.cc base::FilePath inspector_dir; base 67 chrome/browser/devtools/browser_list_tabcontents_provider.cc return base::FilePath(); base 78 chrome/browser/devtools/browser_list_tabcontents_provider.cc scoped_refptr<base::RefCountedMemory> data; base 128 chrome/browser/devtools/browser_list_tabcontents_provider.cc *name = base::IntToString(port); base 26 chrome/browser/devtools/browser_list_tabcontents_provider.h virtual base::FilePath GetDebugFrontendDir() OVERRIDE; base 82 chrome/browser/devtools/devtools_adb_bridge.cc typedef base::Callback<void(const AndroidDevices&)> AndroidDevicesCallback; base 237 chrome/browser/devtools/devtools_adb_bridge.cc class AdbPagesCommand : public base::RefCountedThreadSafe< base 241 chrome/browser/devtools/devtools_adb_bridge.cc typedef base::Callback<void(DevToolsAdbBridge::RemoteDevices*)> Callback; base 322 chrome/browser/devtools/devtools_adb_bridge.cc FROM_HERE, base::Bind(&AdbPagesCommand::ProcessSerials, this)); base 330 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AdbPagesCommand::ReceivedDevices, this)); base 344 chrome/browser/devtools/devtools_adb_bridge.cc FROM_HERE, base::Bind(&AdbPagesCommand::ProcessSerials, this)); base 349 chrome/browser/devtools/devtools_adb_bridge.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 353 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AdbPagesCommand::Respond, this)); base 361 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AdbPagesCommand::ReceivedModel, this)); base 370 chrome/browser/devtools/devtools_adb_bridge.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 379 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AdbPagesCommand::ReceivedDumpsys, this)); base 384 chrome/browser/devtools/devtools_adb_bridge.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 390 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AdbPagesCommand::ReceivedPackages, this)); base 395 chrome/browser/devtools/devtools_adb_bridge.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 402 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AdbPagesCommand::ReceivedProcesses, this, packages_response)); base 409 chrome/browser/devtools/devtools_adb_bridge.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 416 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AdbPagesCommand::ReceivedSockets, base 427 chrome/browser/devtools/devtools_adb_bridge.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 434 chrome/browser/devtools/devtools_adb_bridge.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 443 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AdbPagesCommand::ReceivedVersion, this)); base 448 chrome/browser/devtools/devtools_adb_bridge.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 455 chrome/browser/devtools/devtools_adb_bridge.cc scoped_ptr<base::Value> value(base::JSONReader::Read(response)); base 456 chrome/browser/devtools/devtools_adb_bridge.cc base::DictionaryValue* dict; base 478 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AdbPagesCommand::ReceivedPages, this)); base 483 chrome/browser/devtools/devtools_adb_bridge.cc DCHECK_EQ(adb_thread_->message_loop(), base::MessageLoop::current()); base 485 chrome/browser/devtools/devtools_adb_bridge.cc scoped_ptr<base::Value> value(base::JSONReader::Read(response)); base 486 chrome/browser/devtools/devtools_adb_bridge.cc base::ListValue* list_value; base 519 chrome/browser/devtools/devtools_adb_bridge.cc base::StringPrintf(kDevToolsChannelNameFormat, ""); base 548 chrome/browser/devtools/devtools_adb_bridge.cc base::StringPrintf(kWebViewNameTemplate, package.c_str())); base 555 chrome/browser/devtools/devtools_adb_bridge.cc name[0] = base::ToUpperASCII(name[0]); base 626 chrome/browser/devtools/devtools_adb_bridge.cc !base::StringToInt(numbers[0], &width) || base 627 chrome/browser/devtools/devtools_adb_bridge.cc !base::StringToInt(numbers[1], &height)) base 688 chrome/browser/devtools/devtools_adb_bridge.cc base::LazyInstance<AgentHostDelegates>::Leaky g_host_delegates = base 758 chrome/browser/devtools/devtools_adb_bridge.cc base::MessageLoop* adb_message_loop, base 769 chrome/browser/devtools/devtools_adb_bridge.cc base::UserMetricsAction("DevTools_InspectAndroidWebView")); base 772 chrome/browser/devtools/devtools_adb_bridge.cc base::UserMetricsAction("DevTools_InspectAndroidPage")); base 826 chrome/browser/devtools/devtools_adb_bridge.cc const base::DictionaryValue& value); base 850 chrome/browser/devtools/devtools_adb_bridge.cc const base::DictionaryValue& value) base 858 chrome/browser/devtools/devtools_adb_bridge.cc title_ = base::UTF16ToUTF8(net::UnescapeForHTML(base::UTF8ToUTF16(title_))); base 885 chrome/browser/devtools/devtools_adb_bridge.cc id_ = base::StringPrintf("%s:%s:%s", base 899 chrome/browser/devtools/devtools_adb_bridge.cc std::string request = base::StringPrintf(kActivatePageRequest, base 901 chrome/browser/devtools/devtools_adb_bridge.cc base::Closure inspect_callback = base::Bind(&AgentHostDelegate::Create, base 907 chrome/browser/devtools/devtools_adb_bridge.cc std::string request = base::StringPrintf(kActivatePageRequest, base 909 chrome/browser/devtools/devtools_adb_bridge.cc browser_->SendJsonRequest(request, base::Closure()); base 916 chrome/browser/devtools/devtools_adb_bridge.cc std::string request = base::StringPrintf(kClosePageRequest, base 918 chrome/browser/devtools/devtools_adb_bridge.cc browser_->SendJsonRequest(request, base::Closure()); base 927 chrome/browser/devtools/devtools_adb_bridge.cc base::DictionaryValue params; base 941 chrome/browser/devtools/devtools_adb_bridge.cc page_descriptors_(new base::ListValue()) { base 955 chrome/browser/devtools/devtools_adb_bridge.cc base::StringToInt(parts[i], &value); base 965 chrome/browser/devtools/devtools_adb_bridge.cc base::Value* item; base 969 chrome/browser/devtools/devtools_adb_bridge.cc base::DictionaryValue* dict; base 978 chrome/browser/devtools/devtools_adb_bridge.cc const base::ListValue& list) { base 982 chrome/browser/devtools/devtools_adb_bridge.cc static void RespondOnUIThread(base::Closure callback, int, const std::string&) { base 988 chrome/browser/devtools/devtools_adb_bridge.cc const std::string& request, base::Closure callback) { base 991 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AndroidDevice::HttpQuery, device_, socket_, request, base 992 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&RespondOnUIThread, callback))); base 998 chrome/browser/devtools/devtools_adb_bridge.cc base::DictionaryValue* params) { base 1024 chrome/browser/devtools/devtools_adb_bridge.cc base::StringPrintf(kNewPageRequestWithURL, query.c_str()); base 1026 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AndroidDevice::HttpQuery, base 1027 chrome/browser/devtools/devtools_adb_bridge.cc device_, socket_, request, base::Bind(&NoOp))); base 1030 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&AndroidDevice::HttpQuery, base 1032 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&RemoteBrowser::PageCreatedOnHandlerThread, this, url))); base 1044 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&RemoteBrowser::PageCreatedOnUIThread, this, response, url), base 1045 chrome/browser/devtools/devtools_adb_bridge.cc base::TimeDelta::FromMilliseconds(kNewPageNavigateDelayMs)); base 1050 chrome/browser/devtools/devtools_adb_bridge.cc scoped_ptr<base::Value> value(base::JSONReader::Read(response)); base 1051 chrome/browser/devtools/devtools_adb_bridge.cc base::DictionaryValue* dict; base 1099 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&DevToolsAdbBridge::CreateDeviceProviders, base 1100 chrome/browser/devtools/devtools_adb_bridge.cc base::Unretained(this))); base 1138 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&DevToolsAdbBridge::ReceivedRemoteDevices, this)); base 1156 chrome/browser/devtools/devtools_adb_bridge.cc base::Bind(&DevToolsAdbBridge::RequestRemoteDevices, this), base 1157 chrome/browser/devtools/devtools_adb_bridge.cc base::TimeDelta::FromMilliseconds(kAdbPollingIntervalMs)); base 1170 chrome/browser/devtools/devtools_adb_bridge.cc const base::Value* pref_value = pref->GetValue(); base 25 chrome/browser/devtools/devtools_adb_bridge.h namespace base { base 47 chrome/browser/devtools/devtools_adb_bridge.h : public base::RefCountedThreadSafe< base 51 chrome/browser/devtools/devtools_adb_bridge.h typedef base::Callback<void(int result, base 85 chrome/browser/devtools/devtools_adb_bridge.h class RemoteBrowser : public base::RefCounted<RemoteBrowser> { base 109 chrome/browser/devtools/devtools_adb_bridge.h void SetPageDescriptors(const base::ListValue&); base 111 chrome/browser/devtools/devtools_adb_bridge.h void SendJsonRequest(const std::string& request, base::Closure callback); base 114 chrome/browser/devtools/devtools_adb_bridge.h base::DictionaryValue* params); base 119 chrome/browser/devtools/devtools_adb_bridge.h friend class base::RefCounted<RemoteBrowser>; base 133 chrome/browser/devtools/devtools_adb_bridge.h scoped_ptr<base::ListValue> page_descriptors_; base 140 chrome/browser/devtools/devtools_adb_bridge.h class RemoteDevice : public base::RefCounted<RemoteDevice> { base 155 chrome/browser/devtools/devtools_adb_bridge.h friend class base::RefCounted<RemoteDevice>; base 168 chrome/browser/devtools/devtools_adb_bridge.h typedef base::Callback<void(const AndroidDevices&)> AndroidDevicesCallback; base 190 chrome/browser/devtools/devtools_adb_bridge.h friend class base::DeleteHelper<DevToolsAdbBridge>; base 154 chrome/browser/devtools/devtools_adb_bridge_browsertest.cc base::MessageLoop::current()->PostTask( FROM_HERE, base 155 chrome/browser/devtools/devtools_adb_bridge_browsertest.cc base::Bind(&MockDeviceImpl::RunCommandCallback, base 215 chrome/browser/devtools/devtools_adb_bridge_browsertest.cc base::MessageLoop::current()->PostTask( FROM_HERE, base 216 chrome/browser/devtools/devtools_adb_bridge_browsertest.cc base::Bind(&MockDeviceImpl::RunCommandCallback, base 12 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool GetValue(const base::ListValue& list, int pos, std::string& value) { base 16 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool GetValue(const base::ListValue& list, int pos, int& value) { base 20 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool GetValue(const base::ListValue& list, int pos, bool& value) { base 24 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool GetValue(const base::ListValue& list, int pos, gfx::Insets& insets) { base 25 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc const base::DictionaryValue* dict; base 41 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool GetValue(const base::ListValue& list, int pos, gfx::Size& size) { base 42 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc const base::DictionaryValue* dict; base 69 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc Argument(const base::ListValue& list, int pos) { base 81 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool ParseAndHandle0(const base::Callback<void(void)>& handler, base 82 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc const base::ListValue& list) { base 90 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool ParseAndHandle1(const base::Callback<void(A1)>& handler, base 91 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc const base::ListValue& list) { base 102 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool ParseAndHandle2(const base::Callback<void(A1, A2)>& handler, base 103 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc const base::ListValue& list) { base 117 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool ParseAndHandle3(const base::Callback<void(A1, A2, A3)>& handler, base 118 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc const base::ListValue& list) { base 135 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool ParseAndHandle4(const base::Callback<void(A1, A2, A3, A4)>& handler, base 136 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc const base::ListValue& list) { base 170 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc const base::ListValue* params, base 184 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc typedef base::Callback<bool(const base::ListValue&)> Handler; base 192 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc handlers_[method] = base::Bind(&ParseAndHandle0, base 193 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Bind(handler, base 194 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Unretained(delegate))); base 200 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc handlers_[method] = base::Bind(ParseAndHandle1<A1>, base 201 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Bind(handler, base 202 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Unretained(delegate))); base 208 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc handlers_[method] = base::Bind(ParseAndHandle2<A1, A2>, base 209 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Bind(handler, base 210 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Unretained(delegate))); base 216 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc handlers_[method] = base::Bind(ParseAndHandle3<A1, A2, A3>, base 217 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Bind(handler, base 218 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Unretained(delegate))); base 224 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc handlers_[method] = base::Bind(ParseAndHandle4<A1, A2, A3, A4>, base 225 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Bind(handler, base 226 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc base::Unretained(delegate))); base 15 chrome/browser/devtools/devtools_embedder_message_dispatcher.h namespace base { base 64 chrome/browser/devtools/devtools_embedder_message_dispatcher.h const base::ListValue* params, base 42 chrome/browser/devtools/devtools_file_helper.cc using base::Bind; base 43 chrome/browser/devtools/devtools_file_helper.cc using base::Callback; base 53 chrome/browser/devtools/devtools_file_helper.cc base::LazyInstance<base::FilePath>::Leaky base 60 chrome/browser/devtools/devtools_file_helper.cc typedef Callback<void(const base::FilePath&)> SelectedCallback; base 64 chrome/browser/devtools/devtools_file_helper.cc public base::RefCounted<SelectFileDialog> { base 77 chrome/browser/devtools/devtools_file_helper.cc const base::FilePath& default_path) { base 81 chrome/browser/devtools/devtools_file_helper.cc base::string16(), base 85 chrome/browser/devtools/devtools_file_helper.cc base::FilePath::StringType(), base 91 chrome/browser/devtools/devtools_file_helper.cc virtual void FileSelected(const base::FilePath& path, base 98 chrome/browser/devtools/devtools_file_helper.cc virtual void MultiFilesSelected(const std::vector<base::FilePath>& files, base 121 chrome/browser/devtools/devtools_file_helper.cc void WriteToFile(const base::FilePath& path, const std::string& content) { base 125 chrome/browser/devtools/devtools_file_helper.cc base::WriteFile(path, content.c_str(), content.length()); base 128 chrome/browser/devtools/devtools_file_helper.cc void AppendToFile(const base::FilePath& path, const std::string& content) { base 132 chrome/browser/devtools/devtools_file_helper.cc base::AppendToFile(path, content.c_str(), content.length()); base 144 chrome/browser/devtools/devtools_file_helper.cc const base::FilePath& path, base 188 chrome/browser/devtools/devtools_file_helper.cc const base::DictionaryValue* file_systems_paths_value = base 191 chrome/browser/devtools/devtools_file_helper.cc for (base::DictionaryValue::Iterator it(*file_systems_paths_value); base 232 chrome/browser/devtools/devtools_file_helper.cc const base::DictionaryValue* file_map = base 234 chrome/browser/devtools/devtools_file_helper.cc base::FilePath initial_path; base 236 chrome/browser/devtools/devtools_file_helper.cc const base::Value* path_value; base 237 chrome/browser/devtools/devtools_file_helper.cc if (file_map->Get(base::MD5String(url), &path_value)) base 238 chrome/browser/devtools/devtools_file_helper.cc base::GetValueAsFilePath(*path_value, &initial_path); base 252 chrome/browser/devtools/devtools_file_helper.cc base::FilePath download_path = DownloadPrefs::FromDownloadManager( base 286 chrome/browser/devtools/devtools_file_helper.cc const base::FilePath& path) { base 292 chrome/browser/devtools/devtools_file_helper.cc base::DictionaryValue* files_map = update.Get(); base 293 chrome/browser/devtools/devtools_file_helper.cc files_map->SetWithoutPathExpansion(base::MD5String(url), base 294 chrome/browser/devtools/devtools_file_helper.cc base::CreateFilePathValue(path)); base 316 chrome/browser/devtools/devtools_file_helper.cc base::FilePath()); base 343 chrome/browser/devtools/devtools_file_helper.cc const base::FilePath& path) { base 346 chrome/browser/devtools/devtools_file_helper.cc const base::DictionaryValue* file_systems_paths_value = base 354 chrome/browser/devtools/devtools_file_helper.cc base::string16 message = l10n_util::GetStringFUTF16( base 356 chrome/browser/devtools/devtools_file_helper.cc base::UTF8ToUTF16(path_display_name)); base 366 chrome/browser/devtools/devtools_file_helper.cc const base::FilePath& path, base 380 chrome/browser/devtools/devtools_file_helper.cc base::DictionaryValue* file_systems_paths_value = update.Get(); base 382 chrome/browser/devtools/devtools_file_helper.cc file_system_path, base::Value::CreateNullValue()); base 398 chrome/browser/devtools/devtools_file_helper.cc base::FilePath path = base::FilePath::FromUTF8Unsafe(file_system_path); base 415 chrome/browser/devtools/devtools_file_helper.cc base::FilePath path = base::FilePath::FromUTF8Unsafe(file_system_path); base 420 chrome/browser/devtools/devtools_file_helper.cc base::DictionaryValue* file_systems_paths_value = update.Get(); base 20 chrome/browser/devtools/devtools_file_helper.h namespace base { base 44 chrome/browser/devtools/devtools_file_helper.h typedef base::Callback<void(void)> SaveCallback; base 45 chrome/browser/devtools/devtools_file_helper.h typedef base::Callback<void(void)> AppendCallback; base 46 chrome/browser/devtools/devtools_file_helper.h typedef base::Callback< base 49 chrome/browser/devtools/devtools_file_helper.h typedef base::Callback<void(const DevToolsFileHelper::FileSystem&)> base 51 chrome/browser/devtools/devtools_file_helper.h typedef base::Callback<void(const base::string16&, base 52 chrome/browser/devtools/devtools_file_helper.h const base::Callback<void(bool)>&)> base 114 chrome/browser/devtools/devtools_file_helper.h const base::FilePath& path); base 119 chrome/browser/devtools/devtools_file_helper.h const base::FilePath& path); base 122 chrome/browser/devtools/devtools_file_helper.h const base::FilePath& path, base 126 chrome/browser/devtools/devtools_file_helper.h const std::vector<base::FilePath>& file_paths); base 130 chrome/browser/devtools/devtools_file_helper.h typedef std::map<std::string, base::FilePath> PathsMap; base 132 chrome/browser/devtools/devtools_file_helper.h base::WeakPtrFactory<DevToolsFileHelper> weak_factory_; base 20 chrome/browser/devtools/devtools_file_system_indexer.cc using base::Bind; base 21 chrome/browser/devtools/devtools_file_system_indexer.cc using base::Callback; base 22 chrome/browser/devtools/devtools_file_system_indexer.cc using base::FileEnumerator; base 23 chrome/browser/devtools/devtools_file_system_indexer.cc using base::FilePath; base 24 chrome/browser/devtools/devtools_file_system_indexer.cc using base::FileUtilProxy; base 25 chrome/browser/devtools/devtools_file_system_indexer.cc using base::Time; base 26 chrome/browser/devtools/devtools_file_system_indexer.cc using base::TimeDelta; base 27 chrome/browser/devtools/devtools_file_system_indexer.cc using base::TimeTicks; base 28 chrome/browser/devtools/devtools_file_system_indexer.cc using base::PassPlatformFile; base 29 chrome/browser/devtools/devtools_file_system_indexer.cc using base::PlatformFile; base 52 chrome/browser/devtools/devtools_file_system_indexer.cc base::LazyInstance<vector<bool> >::Leaky g_is_binary_char = base 55 chrome/browser/devtools/devtools_file_system_indexer.cc base::LazyInstance<vector<TrigramChar> >::Leaky g_trigram_chars = base 86 chrome/browser/devtools/devtools_file_system_indexer.cc base::LazyInstance<Index>::Leaky g_trigram_index = LAZY_INSTANCE_INITIALIZER; base 343 chrome/browser/devtools/devtools_file_system_indexer.cc base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ, base 348 chrome/browser/devtools/devtools_file_system_indexer.cc base::File::Error error, base 351 chrome/browser/devtools/devtools_file_system_indexer.cc if (error != base::File::FILE_OK) { base 352 chrome/browser/devtools/devtools_file_system_indexer.cc current_file_ = base::kInvalidPlatformFileValue; base 377 chrome/browser/devtools/devtools_file_system_indexer.cc base::File::Error error, base 380 chrome/browser/devtools/devtools_file_system_indexer.cc if (error != base::File::FILE_OK) { base 428 chrome/browser/devtools/devtools_file_system_indexer.cc if (current_file_ != base::kInvalidPlatformFileValue) { base 437 chrome/browser/devtools/devtools_file_system_indexer.cc base::File::Error error) {} base 19 chrome/browser/devtools/devtools_file_system_indexer.h namespace base { base 30 chrome/browser/devtools/devtools_file_system_indexer.h : public base::RefCountedThreadSafe<DevToolsFileSystemIndexer> { base 33 chrome/browser/devtools/devtools_file_system_indexer.h typedef base::Callback<void(int)> TotalWorkCallback; base 34 chrome/browser/devtools/devtools_file_system_indexer.h typedef base::Callback<void(int)> WorkedCallback; base 35 chrome/browser/devtools/devtools_file_system_indexer.h typedef base::Callback<void()> DoneCallback; base 36 chrome/browser/devtools/devtools_file_system_indexer.h typedef base::Callback<void(const std::vector<std::string>&)> SearchCallback; base 38 chrome/browser/devtools/devtools_file_system_indexer.h class FileSystemIndexingJob : public base::RefCounted<FileSystemIndexingJob> { base 43 chrome/browser/devtools/devtools_file_system_indexer.h friend class base::RefCounted<FileSystemIndexingJob>; base 45 chrome/browser/devtools/devtools_file_system_indexer.h FileSystemIndexingJob(const base::FilePath& file_system_path, base 55 chrome/browser/devtools/devtools_file_system_indexer.h void StartFileIndexing(base::File::Error error, base 56 chrome/browser/devtools/devtools_file_system_indexer.h base::PassPlatformFile pass_file, base 59 chrome/browser/devtools/devtools_file_system_indexer.h void OnRead(base::File::Error error, base 64 chrome/browser/devtools/devtools_file_system_indexer.h void CloseCallback(base::File::Error error); base 67 chrome/browser/devtools/devtools_file_system_indexer.h base::FilePath file_system_path_; base 71 chrome/browser/devtools/devtools_file_system_indexer.h scoped_ptr<base::FileEnumerator> file_enumerator_; base 72 chrome/browser/devtools/devtools_file_system_indexer.h typedef std::map<base::FilePath, base::Time> FilePathTimesMap; base 75 chrome/browser/devtools/devtools_file_system_indexer.h base::PlatformFile current_file_; base 81 chrome/browser/devtools/devtools_file_system_indexer.h base::TimeTicks last_worked_notification_time_; base 102 chrome/browser/devtools/devtools_file_system_indexer.h friend class base::RefCountedThreadSafe<DevToolsFileSystemIndexer>; base 22 chrome/browser/devtools/devtools_protocol.cc base::DictionaryValue* params) base 29 chrome/browser/devtools/devtools_protocol.cc base::DictionaryValue* params) base 38 chrome/browser/devtools/devtools_protocol.cc base::DictionaryValue command; base 45 chrome/browser/devtools/devtools_protocol.cc base::JSONWriter::Write(&command, &json_command); base 53 chrome/browser/devtools/devtools_protocol.cc base::DictionaryValue* params) base 68 chrome/browser/devtools/devtools_protocol.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 69 chrome/browser/devtools/devtools_protocol.cc if (!value || !value->IsType(base::Value::TYPE_DICTIONARY)) base 72 chrome/browser/devtools/devtools_protocol.cc scoped_ptr<base::DictionaryValue> dict( base 73 chrome/browser/devtools/devtools_protocol.cc static_cast<base::DictionaryValue*>(value.release())); base 79 chrome/browser/devtools/devtools_protocol.cc base::DictionaryValue* params = NULL; base 86 chrome/browser/devtools/devtools_protocol.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 87 chrome/browser/devtools/devtools_protocol.cc if (!value || !value->IsType(base::Value::TYPE_DICTIONARY)) base 90 chrome/browser/devtools/devtools_protocol.cc scoped_ptr<base::DictionaryValue> dict( base 91 chrome/browser/devtools/devtools_protocol.cc static_cast<base::DictionaryValue*>(value.release())); base 98 chrome/browser/devtools/devtools_protocol.cc base::DictionaryValue* error_dict = NULL; base 24 chrome/browser/devtools/devtools_protocol.h base::DictionaryValue* params() { return params_.get(); } base 28 chrome/browser/devtools/devtools_protocol.h Message(const std::string& method, base::DictionaryValue* params); base 31 chrome/browser/devtools/devtools_protocol.h scoped_ptr<base::DictionaryValue> params_; base 40 chrome/browser/devtools/devtools_protocol.h Command(int id, const std::string& method, base::DictionaryValue* params); base 78 chrome/browser/devtools/devtools_protocol.h base::DictionaryValue* params); base 100 chrome/browser/devtools/devtools_sanity_browsertest.cc base::StringPrintf("uiTests.runTest('%s')", test_name), base 174 chrome/browser/devtools/devtools_sanity_browsertest.cc virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) OVERRIDE; base 195 chrome/browser/devtools/devtools_sanity_browsertest.cc const base::TimeTicks& proceed_time) { base 232 chrome/browser/devtools/devtools_sanity_browsertest.cc base::Callback<void(void)> close_method, base 323 chrome/browser/devtools/devtools_sanity_browsertest.cc base::MessageLoop::current()->Quit(); base 340 chrome/browser/devtools/devtools_sanity_browsertest.cc base::FilePath path = test_extensions_dir_.AppendASCII(extension_name); base 345 chrome/browser/devtools/devtools_sanity_browsertest.cc bool LoadExtensionFromPath(const base::FilePath& path) { base 353 chrome/browser/devtools/devtools_sanity_browsertest.cc base::CancelableClosure timeout( base 354 chrome/browser/devtools/devtools_sanity_browsertest.cc base::Bind(&TimeoutCallback, "Extension load timed out.")); base 355 chrome/browser/devtools/devtools_sanity_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 376 chrome/browser/devtools/devtools_sanity_browsertest.cc base::CancelableClosure timeout( base 377 chrome/browser/devtools/devtools_sanity_browsertest.cc base::Bind(&TimeoutCallback, "Extension host load timed out.")); base 378 chrome/browser/devtools/devtools_sanity_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 404 chrome/browser/devtools/devtools_sanity_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 412 chrome/browser/devtools/devtools_sanity_browsertest.cc base::FilePath test_extensions_dir_; base 428 chrome/browser/devtools/devtools_sanity_browsertest.cc class WorkerData : public base::RefCountedThreadSafe<WorkerData> { base 450 chrome/browser/devtools/devtools_sanity_browsertest.cc const base::string16& name, base 457 chrome/browser/devtools/devtools_sanity_browsertest.cc base::MessageLoop::QuitClosure()); base 477 chrome/browser/devtools/devtools_sanity_browsertest.cc base::MessageLoop::QuitClosure()); base 505 chrome/browser/devtools/devtools_sanity_browsertest.cc base::Bind(&TerminateWorkerOnIOThread, worker_data)); base 517 chrome/browser/devtools/devtools_sanity_browsertest.cc base::MessageLoop::QuitClosure()); base 529 chrome/browser/devtools/devtools_sanity_browsertest.cc base::Bind(&WaitForFirstSharedWorkerOnIOThread, worker_data)); base 561 chrome/browser/devtools/devtools_sanity_browsertest.cc RunBeforeUnloadSanityTest(true, base::Bind( base 569 chrome/browser/devtools/devtools_sanity_browsertest.cc RunBeforeUnloadSanityTest(true, base::Bind( base 577 chrome/browser/devtools/devtools_sanity_browsertest.cc RunBeforeUnloadSanityTest(true, base::Bind( base 584 chrome/browser/devtools/devtools_sanity_browsertest.cc RunBeforeUnloadSanityTest(false, base::Bind( base 592 chrome/browser/devtools/devtools_sanity_browsertest.cc RunBeforeUnloadSanityTest(false, base::Bind( base 600 chrome/browser/devtools/devtools_sanity_browsertest.cc RunBeforeUnloadSanityTest(false, base::Bind( base 608 chrome/browser/devtools/devtools_sanity_browsertest.cc RunBeforeUnloadSanityTest(false, base::Bind( base 77 chrome/browser/devtools/devtools_target_impl.cc title_ = base::UTF16ToUTF8(web_contents->GetTitle()); base 177 chrome/browser/devtools/devtools_target_impl.cc title_ = base::UTF16ToUTF8(worker.name); base 179 chrome/browser/devtools/devtools_target_impl.cc base::StringPrintf("Worker pid:%d", base::GetProcId(worker.handle)); base 192 chrome/browser/devtools/devtools_target_impl.cc base::Bind(&TerminateWorker, process_id_, route_id_)); base 232 chrome/browser/devtools/devtools_target_impl.cc base::TimeTicks DevToolsTargetImpl::GetLastActivityTime() const { base 312 chrome/browser/devtools/devtools_target_impl.cc base::Bind(&CreateWorkerTargets, base 333 chrome/browser/devtools/devtools_target_impl.cc base::Bind(&DevToolsTargetImpl::EnumerateWorkerTargets, base 334 chrome/browser/devtools/devtools_target_impl.cc base::Bind(&CollectAllTargets, callback))); base 34 chrome/browser/devtools/devtools_target_impl.h virtual base::TimeTicks GetLastActivityTime() const OVERRIDE; base 63 chrome/browser/devtools/devtools_target_impl.h typedef base::Callback<void(const List&)> Callback; base 77 chrome/browser/devtools/devtools_target_impl.h base::TimeTicks last_activity_time_; base 74 chrome/browser/devtools/devtools_targets_ui.cc CancelableTimer(base::Closure callback, base::TimeDelta delay) base 77 chrome/browser/devtools/devtools_targets_ui.cc base::MessageLoop::current()->PostDelayedTask( base 79 chrome/browser/devtools/devtools_targets_ui.cc base::Bind(&CancelableTimer::Fire, weak_factory_.GetWeakPtr()), base 86 chrome/browser/devtools/devtools_targets_ui.cc base::Closure callback_; base 87 chrome/browser/devtools/devtools_targets_ui.cc base::WeakPtrFactory<CancelableTimer> weak_factory_; base 136 chrome/browser/devtools/devtools_targets_ui.cc base::Bind(&RenderViewHostTargetsUIHandler::UpdateTargets, base 137 chrome/browser/devtools/devtools_targets_ui.cc base::Unretained(this)), base 138 chrome/browser/devtools/devtools_targets_ui.cc base::TimeDelta::FromMilliseconds(kUpdateDelay))); base 142 chrome/browser/devtools/devtools_targets_ui.cc scoped_ptr<base::ListValue> list_value(new base::ListValue()); base 144 chrome/browser/devtools/devtools_targets_ui.cc std::map<RenderFrameHost*, base::DictionaryValue*> rfh_to_descriptor; base 160 chrome/browser/devtools/devtools_targets_ui.cc base::DictionaryValue* descriptor = Serialize(*target_ptr); base 188 chrome/browser/devtools/devtools_targets_ui.cc base::DictionaryValue* parent = rfh_to_descriptor[parent_rfh]; base 189 chrome/browser/devtools/devtools_targets_ui.cc base::ListValue* guests = NULL; base 191 chrome/browser/devtools/devtools_targets_ui.cc guests = new base::ListValue(); base 205 chrome/browser/devtools/devtools_targets_ui.cc public base::RefCountedThreadSafe<WorkerObserver> { base 215 chrome/browser/devtools/devtools_targets_ui.cc base::Bind(&WorkerObserver::StartOnIOThread, this)); base 223 chrome/browser/devtools/devtools_targets_ui.cc base::Bind(&WorkerObserver::StopOnIOThread, this)); base 229 chrome/browser/devtools/devtools_targets_ui.cc base::Bind(&WorkerObserver::EnumerateOnIOThread, base 240 chrome/browser/devtools/devtools_targets_ui.cc const base::string16& name, base 262 chrome/browser/devtools/devtools_targets_ui.cc base::Bind(&WorkerObserver::RespondOnUIThread, this)); base 299 chrome/browser/devtools/devtools_targets_ui.cc observer_->Start(base::Bind(&WorkerTargetsUIHandler::UpdateTargets, base 300 chrome/browser/devtools/devtools_targets_ui.cc base::Unretained(this))); base 324 chrome/browser/devtools/devtools_targets_ui.cc scoped_ptr<base::ListValue> list_value(new base::ListValue()); base 394 chrome/browser/devtools/devtools_targets_ui.cc scoped_ptr<base::ListValue> device_list(new base::ListValue()); base 398 chrome/browser/devtools/devtools_targets_ui.cc base::DictionaryValue* device_data = new base::DictionaryValue(); base 402 chrome/browser/devtools/devtools_targets_ui.cc std::string device_id = base::StringPrintf( base 406 chrome/browser/devtools/devtools_targets_ui.cc base::ListValue* browser_list = new base::ListValue(); base 413 chrome/browser/devtools/devtools_targets_ui.cc base::DictionaryValue* browser_data = new base::DictionaryValue(); base 421 chrome/browser/devtools/devtools_targets_ui.cc std::string browser_id = base::StringPrintf( base 430 chrome/browser/devtools/devtools_targets_ui.cc base::Version remote_version; base 432 chrome/browser/devtools/devtools_targets_ui.cc remote_version = base::Version(browser->version()); base 438 chrome/browser/devtools/devtools_targets_ui.cc remote_version = base::Version(browser->version().substr(pos + 7)); base 442 chrome/browser/devtools/devtools_targets_ui.cc base::Version local_version(version_info.Version()); base 448 chrome/browser/devtools/devtools_targets_ui.cc base::ListValue* page_list = new base::ListValue(); base 455 chrome/browser/devtools/devtools_targets_ui.cc base::DictionaryValue* target_data = Serialize(*target); base 476 chrome/browser/devtools/devtools_targets_ui.cc base::DictionaryValue* port_status_dict = new base::DictionaryValue(); base 482 chrome/browser/devtools/devtools_targets_ui.cc base::StringPrintf("%d", it->first), it->second); base 549 chrome/browser/devtools/devtools_targets_ui.cc base::DictionaryValue* base 552 chrome/browser/devtools/devtools_targets_ui.cc base::DictionaryValue* target_data = new base::DictionaryValue(); base 565 chrome/browser/devtools/devtools_targets_ui.cc scoped_ptr<base::ListValue> list) { base 14 chrome/browser/devtools/devtools_targets_ui.h namespace base { base 24 chrome/browser/devtools/devtools_targets_ui.h typedef base::Callback<void(const std::string&, base 25 chrome/browser/devtools/devtools_targets_ui.h scoped_ptr<base::ListValue>)> Callback; base 44 chrome/browser/devtools/devtools_targets_ui.h base::DictionaryValue* Serialize(const DevToolsTargetImpl& target); base 45 chrome/browser/devtools/devtools_targets_ui.h void SendSerializedTargets(scoped_ptr<base::ListValue> list); base 7 chrome/browser/devtools/devtools_toggle_action.cc DevToolsToggleAction::RevealParams::RevealParams(const base::string16& url, base 59 chrome/browser/devtools/devtools_toggle_action.cc const base::string16& url, base 24 chrome/browser/devtools/devtools_toggle_action.h RevealParams(const base::string16& url, base 29 chrome/browser/devtools/devtools_toggle_action.h base::string16 url; base 42 chrome/browser/devtools/devtools_toggle_action.h static DevToolsToggleAction Reveal(const base::string16& url, base 80 chrome/browser/devtools/devtools_window.cc using base::DictionaryValue; base 94 chrome/browser/devtools/devtools_window.cc const base::string16& message); base 99 chrome/browser/devtools/devtools_window.cc const base::string16& message); base 102 chrome/browser/devtools/devtools_window.cc virtual base::string16 GetMessageText() const OVERRIDE; base 103 chrome/browser/devtools/devtools_window.cc virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 108 chrome/browser/devtools/devtools_window.cc const base::string16 message_; base 116 chrome/browser/devtools/devtools_window.cc const base::string16& message) { base 129 chrome/browser/devtools/devtools_window.cc const base::string16& message) base 140 chrome/browser/devtools/devtools_window.cc base::string16 DevToolsConfirmInfoBarDelegate::GetMessageText() const { base 144 chrome/browser/devtools/devtools_window.cc base::string16 DevToolsConfirmInfoBarDelegate::GetButtonLabel( base 236 chrome/browser/devtools/devtools_window.cc base::LazyInstance<DevToolsWindows>::Leaky g_instances = base 246 chrome/browser/devtools/devtools_window.cc return "rgba(" + base::IntToString(SkColorGetR(color)) + "," + base 247 chrome/browser/devtools/devtools_window.cc base::IntToString(SkColorGetG(color)) + "," + base 248 chrome/browser/devtools/devtools_window.cc base::IntToString(SkColorGetB(color)) + "," + base 249 chrome/browser/devtools/devtools_window.cc base::DoubleToString(SkColorGetA(color) / 255.0) + ")"; base 252 chrome/browser/devtools/devtools_window.cc base::DictionaryValue* CreateFileSystemValue( base 254 chrome/browser/devtools/devtools_window.cc base::DictionaryValue* file_system_value = new base::DictionaryValue(); base 371 chrome/browser/devtools/devtools_window.cc content::RecordAction(base::UserMetricsAction("DevTools_InspectWorker")); base 452 chrome/browser/devtools/devtools_window.cc base::UserMetricsAction("DevTools_InspectRenderer")); base 480 chrome/browser/devtools/devtools_window.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 959 chrome/browser/devtools/devtools_window.cc base::ListValue empty_params; base 960 chrome/browser/devtools/devtools_window.cc base::ListValue* params = &empty_params; base 962 chrome/browser/devtools/devtools_window.cc base::DictionaryValue* dict = NULL; base 963 chrome/browser/devtools/devtools_window.cc scoped_ptr<base::Value> parsed_message(base::JSONReader::Read(message)); base 979 chrome/browser/devtools/devtools_window.cc scoped_ptr<base::Value> id_value(base::Value::CreateIntegerValue(id)); base 980 chrome/browser/devtools/devtools_window.cc scoped_ptr<base::Value> error_value(base::Value::CreateStringValue(error)); base 1034 chrome/browser/devtools/devtools_window.cc base::TimeTicks::Now() - inspect_element_start_time_); base 1035 chrome/browser/devtools/devtools_window.cc inspect_element_start_time_ = base::TimeTicks(); base 1138 chrome/browser/devtools/devtools_window.cc base::Bind(&DevToolsWindow::FileSavedAs, base 1140 chrome/browser/devtools/devtools_window.cc base::Bind(&DevToolsWindow::CanceledFileSaveAs, base 1147 chrome/browser/devtools/devtools_window.cc base::Bind(&DevToolsWindow::AppendedTo, base 1153 chrome/browser/devtools/devtools_window.cc file_helper_->RequestFileSystems(base::Bind( base 1160 chrome/browser/devtools/devtools_window.cc base::Bind(&DevToolsWindow::FileSystemAdded, weak_factory_.GetWeakPtr()), base 1161 chrome/browser/devtools/devtools_window.cc base::Bind(&DevToolsWindow::ShowDevToolsConfirmInfoBar, base 1168 chrome/browser/devtools/devtools_window.cc base::StringValue file_system_path_value(file_system_path); base 1178 chrome/browser/devtools/devtools_window.cc base::Bind(&DevToolsWindow::FileSystemAdded, weak_factory_.GetWeakPtr()), base 1179 chrome/browser/devtools/devtools_window.cc base::Bind(&DevToolsWindow::ShowDevToolsConfirmInfoBar, base 1248 chrome/browser/devtools/devtools_window.cc base::StringValue url_value(url); base 1253 chrome/browser/devtools/devtools_window.cc base::StringValue url_value(url); base 1259 chrome/browser/devtools/devtools_window.cc base::StringValue url_value(url); base 1266 chrome/browser/devtools/devtools_window.cc base::ListValue file_systems_value; base 1275 chrome/browser/devtools/devtools_window.cc scoped_ptr<base::StringValue> error_string_value( base 1276 chrome/browser/devtools/devtools_window.cc new base::StringValue(std::string())); base 1277 chrome/browser/devtools/devtools_window.cc scoped_ptr<base::DictionaryValue> file_system_value; base 1289 chrome/browser/devtools/devtools_window.cc base::FundamentalValue request_id_value(request_id); base 1290 chrome/browser/devtools/devtools_window.cc base::StringValue file_system_path_value(file_system_path); base 1291 chrome/browser/devtools/devtools_window.cc base::FundamentalValue total_work_value(total_work); base 1301 chrome/browser/devtools/devtools_window.cc base::FundamentalValue request_id_value(request_id); base 1302 chrome/browser/devtools/devtools_window.cc base::StringValue file_system_path_value(file_system_path); base 1303 chrome/browser/devtools/devtools_window.cc base::FundamentalValue worked_value(worked); base 1312 chrome/browser/devtools/devtools_window.cc base::FundamentalValue request_id_value(request_id); base 1313 chrome/browser/devtools/devtools_window.cc base::StringValue file_system_path_value(file_system_path); base 1323 chrome/browser/devtools/devtools_window.cc base::ListValue file_paths_value; base 1328 chrome/browser/devtools/devtools_window.cc base::FundamentalValue request_id_value(request_id); base 1329 chrome/browser/devtools/devtools_window.cc base::StringValue file_system_path_value(file_system_path); base 1335 chrome/browser/devtools/devtools_window.cc const base::string16& message, base 1347 chrome/browser/devtools/devtools_window.cc const base::DictionaryValue* wp_pref = prefs->GetDictionary(wp_key.c_str()); base 1350 chrome/browser/devtools/devtools_window.cc base::DictionaryValue* defaults = update.Get(); base 1415 chrome/browser/devtools/devtools_window.cc base::StringValue url_value(params->url); base 1416 chrome/browser/devtools/devtools_window.cc base::FundamentalValue line_value(static_cast<int>(params->line_number)); base 1417 chrome/browser/devtools/devtools_window.cc base::FundamentalValue column_value( base 1440 chrome/browser/devtools/devtools_window.cc web_contents_->GetMainFrame()->ExecuteJavaScript(base::ASCIIToUTF16(command)); base 1449 chrome/browser/devtools/devtools_window.cc base::FundamentalValue tabId(session_tab_helper->session_id().id()); base 1462 chrome/browser/devtools/devtools_window.cc base::ListValue results; base 1467 chrome/browser/devtools/devtools_window.cc base::DictionaryValue* extension_info = new base::DictionaryValue(); base 1470 chrome/browser/devtools/devtools_window.cc new base::StringValue( base 1472 chrome/browser/devtools/devtools_window.cc extension_info->Set("name", new base::StringValue((*extension)->name())); base 1475 chrome/browser/devtools/devtools_window.cc new base::FundamentalValue((*extension)->HasAPIPermission( base 1483 chrome/browser/devtools/devtools_window.cc const base::Value* arg1, base 1484 chrome/browser/devtools/devtools_window.cc const base::Value* arg2, base 1485 chrome/browser/devtools/devtools_window.cc const base::Value* arg3) { base 1489 chrome/browser/devtools/devtools_window.cc base::JSONWriter::Write(arg1, &json); base 1492 chrome/browser/devtools/devtools_window.cc base::JSONWriter::Write(arg2, &json); base 1495 chrome/browser/devtools/devtools_window.cc base::JSONWriter::Write(arg3, &json); base 1500 chrome/browser/devtools/devtools_window.cc base::string16 javascript = base 1501 chrome/browser/devtools/devtools_window.cc base::ASCIIToUTF16(function_name + "(" + params + ");"); base 1534 chrome/browser/devtools/devtools_window.cc load_completed_callback_ = base::Closure(); base 1538 chrome/browser/devtools/devtools_window.cc void DevToolsWindow::SetLoadCompletedCallback(const base::Closure& closure) { base 32 chrome/browser/devtools/devtools_window.h namespace base { base 57 chrome/browser/devtools/devtools_window.h typedef base::Callback<void(bool)> InfoBarCallback; base 134 chrome/browser/devtools/devtools_window.h void SetLoadCompletedCallback(const base::Closure& closure); base 350 chrome/browser/devtools/devtools_window.h void ShowDevToolsConfirmInfoBar(const base::string16& message, base 363 chrome/browser/devtools/devtools_window.h const base::Value* arg1, base 364 chrome/browser/devtools/devtools_window.h const base::Value* arg2, base 365 chrome/browser/devtools/devtools_window.h const base::Value* arg3); base 397 chrome/browser/devtools/devtools_window.h base::Closure load_completed_callback_; base 400 chrome/browser/devtools/devtools_window.h base::WeakPtrFactory<DevToolsWindow> weak_factory_; base 401 chrome/browser/devtools/devtools_window.h base::TimeTicks inspect_element_start_time_; base 55 chrome/browser/devtools/port_forwarding_controller.cc class SocketTunnel : public base::NonThreadSafe { base 57 chrome/browser/devtools/port_forwarding_controller.cc typedef base::Callback<void(int)> CounterCallback; base 88 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&SocketTunnel::OnResolved, base::Unretained(this)), base 103 chrome/browser/devtools/port_forwarding_controller.cc result = host_socket_->Connect(base::Bind(&SocketTunnel::OnConnected, base 104 chrome/browser/devtools/port_forwarding_controller.cc base::Unretained(this))); base 133 chrome/browser/devtools/port_forwarding_controller.cc base::Bind( base 134 chrome/browser/devtools/port_forwarding_controller.cc &SocketTunnel::OnRead, base::Unretained(this), from, to, buffer)); base 155 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&SocketTunnel::OnWritten, base 156 chrome/browser/devtools/port_forwarding_controller.cc base::Unretained(this), base 179 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&SocketTunnel::OnWritten, base 180 chrome/browser/devtools/port_forwarding_controller.cc base::Unretained(this), base 253 chrome/browser/devtools/port_forwarding_controller.cc public base::RefCountedThreadSafe< base 276 chrome/browser/devtools/port_forwarding_controller.cc typedef base::Callback<void(PortStatus)> CommandCallback; base 352 chrome/browser/devtools/port_forwarding_controller.cc const base::DictionaryValue* dict = base 354 chrome/browser/devtools/port_forwarding_controller.cc for (base::DictionaryValue::Iterator it(*dict); base 358 chrome/browser/devtools/port_forwarding_controller.cc if (base::StringToInt(it.key(), &port_num) && base 388 chrome/browser/devtools/port_forwarding_controller.cc base::DictionaryValue params; base 394 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&Connection::ProcessBindResponse, base 395 chrome/browser/devtools/port_forwarding_controller.cc base::Unretained(this), port); base 410 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&Connection::ProcessUnbindResponse, base 411 chrome/browser/devtools/port_forwarding_controller.cc base::Unretained(this), port); base 454 chrome/browser/devtools/port_forwarding_controller.cc DCHECK_EQ(base::MessageLoop::current(), adb_thread_->message_loop()); base 456 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&Connection::UpdateSocketCount, this, port, increment)); base 488 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&Connection::OnPrefsChange, base::Unretained(this))); base 511 chrome/browser/devtools/port_forwarding_controller.cc base::DictionaryValue* params = notification->params(); base 529 chrome/browser/devtools/port_forwarding_controller.cc if (tokens.size() != 2 || !base::StringToInt(tokens[1], &destination_port)) base 534 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&Connection::UpdateSocketCountOnHandlerThread, this, port); base 537 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&AndroidDevice::OpenSocket, base 540 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&SocketTunnel::StartTunnel, base 550 chrome/browser/devtools/port_forwarding_controller.cc base::Closure callback = base::Bind( base 551 chrome/browser/devtools/port_forwarding_controller.cc &PortForwardingController::OnPrefsChange, base::Unretained(this)); base 595 chrome/browser/devtools/port_forwarding_controller.cc const base::DictionaryValue* dict = base 597 chrome/browser/devtools/port_forwarding_controller.cc return !base::DictionaryValue::Iterator(*dict).IsAtEnd(); base 25 chrome/browser/devtools/refcounted_adb_thread.cc thread_ = new base::Thread(kDevToolsAdbBridgeThreadName); base 26 chrome/browser/devtools/refcounted_adb_thread.cc base::Thread::Options options; base 27 chrome/browser/devtools/refcounted_adb_thread.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 34 chrome/browser/devtools/refcounted_adb_thread.cc base::MessageLoop* RefCountedAdbThread::message_loop() { base 39 chrome/browser/devtools/refcounted_adb_thread.cc void RefCountedAdbThread::StopThread(base::Thread* thread) { base 51 chrome/browser/devtools/refcounted_adb_thread.cc base::Bind(&RefCountedAdbThread::StopThread, thread_)); base 13 chrome/browser/devtools/refcounted_adb_thread.h : public base::RefCountedThreadSafe<RefCountedAdbThread> { base 16 chrome/browser/devtools/refcounted_adb_thread.h base::MessageLoop* message_loop(); base 19 chrome/browser/devtools/refcounted_adb_thread.h friend class base::RefCountedThreadSafe<RefCountedAdbThread>; base 21 chrome/browser/devtools/refcounted_adb_thread.h static void StopThread(base::Thread* thread); base 25 chrome/browser/devtools/refcounted_adb_thread.h base::Thread* thread_; base 11 chrome/browser/diagnostics/diagnostics_controller.h namespace base { base 26 chrome/browser/diagnostics/diagnostics_controller.h int Run(const base::CommandLine& command_line, DiagnosticsWriter* writer); base 30 chrome/browser/diagnostics/diagnostics_controller.h int RunRecovery(const base::CommandLine& command_line, base 32 chrome/browser/diagnostics/diagnostics_controller_unittest.cc base::FilePath test_data; base 36 chrome/browser/diagnostics/diagnostics_controller_unittest.cc base::CopyDirectory(test_data, temp_dir_.path(), true); base 74 chrome/browser/diagnostics/diagnostics_controller_unittest.cc void CorruptDataFile(const base::FilePath& path) { base 78 chrome/browser/diagnostics/diagnostics_controller_unittest.cc base::WriteFile(path, bogus_data, arraysize(bogus_data)); base 83 chrome/browser/diagnostics/diagnostics_controller_unittest.cc base::ScopedTempDir temp_dir_; base 85 chrome/browser/diagnostics/diagnostics_controller_unittest.cc base::FilePath profile_dir_; base 125 chrome/browser/diagnostics/diagnostics_controller_unittest.cc base::FilePath db_path = profile_dir_.Append(chromeos::kNssCertDbPath); base 126 chrome/browser/diagnostics/diagnostics_controller_unittest.cc EXPECT_TRUE(base::PathExists(db_path)); base 143 chrome/browser/diagnostics/diagnostics_controller_unittest.cc EXPECT_FALSE(base::PathExists(db_path)); base 147 chrome/browser/diagnostics/diagnostics_controller_unittest.cc base::FilePath db_path = profile_dir_.Append(chromeos::kNssKeyDbPath); base 148 chrome/browser/diagnostics/diagnostics_controller_unittest.cc EXPECT_TRUE(base::PathExists(db_path)); base 165 chrome/browser/diagnostics/diagnostics_controller_unittest.cc EXPECT_FALSE(base::PathExists(db_path)); base 238 chrome/browser/diagnostics/diagnostics_model.cc base::FilePath user_data_dir = base 11 chrome/browser/diagnostics/diagnostics_model.h namespace base { base 78 chrome/browser/diagnostics/diagnostics_model.h virtual base::Time GetStartTime() const = 0; base 80 chrome/browser/diagnostics/diagnostics_model.h virtual base::Time GetEndTime() const = 0; base 105 chrome/browser/diagnostics/diagnostics_model.h DiagnosticsModel* MakeDiagnosticsModel(const base::CommandLine& cmdline); base 24 chrome/browser/diagnostics/diagnostics_test.cc start_time_ = base::Time::Now(); base 56 chrome/browser/diagnostics/diagnostics_test.cc end_time_ = base::Time::Now(); base 78 chrome/browser/diagnostics/diagnostics_test.cc base::FilePath DiagnosticsTest::GetUserDefaultProfileDir() { base 79 chrome/browser/diagnostics/diagnostics_test.cc base::FilePath path; base 81 chrome/browser/diagnostics/diagnostics_test.cc return base::FilePath(); base 103 chrome/browser/diagnostics/diagnostics_test.cc base::Time DiagnosticsTest::GetStartTime() const { return start_time_; } base 105 chrome/browser/diagnostics/diagnostics_test.cc base::Time DiagnosticsTest::GetEndTime() const { return end_time_; } base 12 chrome/browser/diagnostics/diagnostics_test.h namespace base { base 62 chrome/browser/diagnostics/diagnostics_test.h static base::FilePath GetUserDefaultProfileDir(); base 71 chrome/browser/diagnostics/diagnostics_test.h virtual base::Time GetStartTime() const OVERRIDE; base 72 chrome/browser/diagnostics/diagnostics_test.h virtual base::Time GetEndTime() const OVERRIDE; base 85 chrome/browser/diagnostics/diagnostics_test.h base::Time start_time_; base 86 chrome/browser/diagnostics/diagnostics_test.h base::Time end_time_; base 45 chrome/browser/diagnostics/diagnostics_writer.cc virtual bool Write(const base::string16& text) = 0; base 80 chrome/browser/diagnostics/diagnostics_writer.cc virtual bool Write(const base::string16& txt) { base 149 chrome/browser/diagnostics/diagnostics_writer.cc virtual bool Write(const base::string16& text) OVERRIDE { base 151 chrome/browser/diagnostics/diagnostics_writer.cc printf("%s", base::UTF16ToUTF8(text).c_str()); base 219 chrome/browser/diagnostics/diagnostics_writer.cc console_->Write(base::UTF8ToUTF16(info_text + "\n")); base 237 chrome/browser/diagnostics/diagnostics_writer.cc base::StringPrintf("Finished %d tests.", model->GetTestRunCount())); base 269 chrome/browser/diagnostics/diagnostics_writer.cc console_->Write(base::ASCIIToUTF16(result)); base 272 chrome/browser/diagnostics/diagnostics_writer.cc return WriteInfoLine(base::StringPrintf( base 280 chrome/browser/diagnostics/diagnostics_writer.cc return WriteInfoLine(base::StringPrintf("%s%03d %s (%s)", base 58 chrome/browser/diagnostics/recon_diagnostics.cc scoped_ptr<base::ListValue> list(model->GetModuleList()); base 66 chrome/browser/diagnostics/recon_diagnostics.cc base::DictionaryValue* dictionary; base 110 chrome/browser/diagnostics/recon_diagnostics.cc base::FilePath data_dir; base 113 chrome/browser/diagnostics/recon_diagnostics.cc int64 disk_space = base::SysInfo::AmountOfFreeDiskSpace(data_dir); base 118 chrome/browser/diagnostics/recon_diagnostics.cc std::string printable_size = base::Int64ToString(disk_space); base 140 chrome/browser/diagnostics/recon_diagnostics.cc base::FilePath chrome_exe; base 141 chrome/browser/diagnostics/recon_diagnostics.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 171 chrome/browser/diagnostics/recon_diagnostics.cc JSONTest(const base::FilePath& path, base 181 chrome/browser/diagnostics/recon_diagnostics.cc if (!base::PathExists(path_)) { base 194 chrome/browser/diagnostics/recon_diagnostics.cc if (!base::GetFileSize(path_, &file_size)) { base 206 chrome/browser/diagnostics/recon_diagnostics.cc if (!base::ReadFileToString(path_, &json_data)) { base 213 chrome/browser/diagnostics/recon_diagnostics.cc int error_code = base::JSONReader::JSON_NO_ERROR; base 215 chrome/browser/diagnostics/recon_diagnostics.cc scoped_ptr<base::Value> json_root( base 217 chrome/browser/diagnostics/recon_diagnostics.cc if (base::JSONReader::JSON_NO_ERROR != error_code) { base 219 chrome/browser/diagnostics/recon_diagnostics.cc error_message = "Parse error " + base::IntToString(error_code); base 230 chrome/browser/diagnostics/recon_diagnostics.cc base::FilePath path_; base 244 chrome/browser/diagnostics/recon_diagnostics.cc base::win::Version version = base::win::GetVersion(); base 245 chrome/browser/diagnostics/recon_diagnostics.cc if ((version < base::win::VERSION_XP) || base 246 chrome/browser/diagnostics/recon_diagnostics.cc ((version == base::win::VERSION_XP) && base 247 chrome/browser/diagnostics/recon_diagnostics.cc (base::win::OSInfo::GetInstance()->service_pack().major < 2))) { base 256 chrome/browser/diagnostics/recon_diagnostics.cc base::StringPrintf("%s %s", base 257 chrome/browser/diagnostics/recon_diagnostics.cc base::SysInfo::OperatingSystemName().c_str(), base 258 chrome/browser/diagnostics/recon_diagnostics.cc base::SysInfo::OperatingSystemVersion().c_str())); base 300 chrome/browser/diagnostics/recon_diagnostics.cc base::FilePath dir_or_file; base 305 chrome/browser/diagnostics/recon_diagnostics.cc if (!base::PathExists(dir_or_file)) { base 309 chrome/browser/diagnostics/recon_diagnostics.cc base::UTF16ToUTF8(dir_or_file.LossyDisplayName())); base 315 chrome/browser/diagnostics/recon_diagnostics.cc dir_or_file_size = base::ComputeDirectorySize(dir_or_file); base 317 chrome/browser/diagnostics/recon_diagnostics.cc base::GetFileSize(dir_or_file, &dir_or_file_size); base 322 chrome/browser/diagnostics/recon_diagnostics.cc base::UTF16ToUTF8(dir_or_file.LossyDisplayName())); base 325 chrome/browser/diagnostics/recon_diagnostics.cc std::string printable_size = base::Int64ToString(dir_or_file_size); base 331 chrome/browser/diagnostics/recon_diagnostics.cc base::UTF16ToUTF8(dir_or_file.LossyDisplayName())); base 339 chrome/browser/diagnostics/recon_diagnostics.cc if (!base::PathIsWritable(dir_or_file)) { base 342 chrome/browser/diagnostics/recon_diagnostics.cc base::UTF16ToUTF8(dir_or_file.LossyDisplayName())); base 394 chrome/browser/diagnostics/recon_diagnostics.cc base::FilePath path = DiagnosticsTest::GetUserDefaultProfileDir(); base 403 chrome/browser/diagnostics/recon_diagnostics.cc base::FilePath path; base 413 chrome/browser/diagnostics/recon_diagnostics.cc base::FilePath path = DiagnosticsTest::GetUserDefaultProfileDir(); base 44 chrome/browser/diagnostics/sqlite_diagnostics.cc const base::FilePath& db_path) base 58 chrome/browser/diagnostics/sqlite_diagnostics.cc base::DeleteFile(db_path_, false); base 75 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath path; base 81 chrome/browser/diagnostics/sqlite_diagnostics.cc if (!base::PathExists(path)) { base 104 chrome/browser/diagnostics/sqlite_diagnostics.cc base::Bind(&SqliteIntegrityTest::ErrorRecorder::RecordSqliteError, base 131 chrome/browser/diagnostics/sqlite_diagnostics.cc str += base::IntToString(error); base 152 chrome/browser/diagnostics/sqlite_diagnostics.cc str += base::IntToString(errors) + " errors"; base 161 chrome/browser/diagnostics/sqlite_diagnostics.cc class ErrorRecorder : public base::RefCounted<ErrorRecorder>, base 162 chrome/browser/diagnostics/sqlite_diagnostics.cc public base::SupportsWeakPtr<ErrorRecorder> { base 178 chrome/browser/diagnostics/sqlite_diagnostics.cc return base::StringPrintf("SQLite error: %d, Last Errno: %d: %s", base 197 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath db_path_; base 204 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath appcache_dir(content::kAppCacheDirname); base 205 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath appcache_db = base 216 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath(chrome::kArchivedHistoryFilename)); base 222 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath(chrome::kCookieFilename)); base 226 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath databases_dir(webkit_database::kDatabaseDirectoryName); base 227 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath tracker_db = base 238 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath(chrome::kHistoryFilename)); base 243 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath home_dir = base::GetHomeDir(); base 250 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath home_dir = base::GetHomeDir(); base 260 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath(chrome::kThumbnailsFilename)); base 266 chrome/browser/diagnostics/sqlite_diagnostics.cc base::FilePath(kWebDataFilename)); base 31 chrome/browser/do_not_track_browsertest.cc base::ASCIIToUTF16("1"), base 52 chrome/browser/do_not_track_browsertest.cc base::ASCIIToUTF16("1"), base 44 chrome/browser/dom_distiller/dom_distiller_service_factory.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner = base 51 chrome/browser/dom_distiller/dom_distiller_service_factory.cc base::FilePath database_dir( base 79 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc const base::string16& frame_unique_name, base 83 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc const base::string16& error_description, base 174 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc base::GenerateGUID() + "/"); base 124 chrome/browser/download/chrome_download_manager_delegate.cc base::FilePath GetPlatformDownloadPath(Profile* profile, base 177 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath& path, base 178 chrome/browser/download/chrome_download_manager_delegate.cc const base::Callback<void(const std::string&)>& callback) { base 182 chrome/browser/download/chrome_download_manager_delegate.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, mime_type)); base 185 chrome/browser/download/chrome_download_manager_delegate.cc bool IsOpenInBrowserPreferreredForFile(const base::FilePath& path) { base 235 chrome/browser/download/chrome_download_manager_delegate.cc return base::Bind(&ChromeDownloadManagerDelegate::SetNextId, base 280 chrome/browser/download/chrome_download_manager_delegate.cc base::Bind(&ChromeDownloadManagerDelegate::OnDownloadTargetDetermined, base 294 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath& path) { base 322 chrome/browser/download/chrome_download_manager_delegate.cc const base::Closure& internal_complete_callback) { base 338 chrome/browser/download/chrome_download_manager_delegate.cc base::Bind( base 355 chrome/browser/download/chrome_download_manager_delegate.cc const base::Closure& user_complete_callback) { base 365 chrome/browser/download/chrome_download_manager_delegate.cc const base::Closure& user_complete_callback) { base 366 chrome/browser/download/chrome_download_manager_delegate.cc return IsDownloadReadyForCompletion(item, base::Bind( base 406 chrome/browser/download/chrome_download_manager_delegate.cc base::FilePath* website_save_dir, base 407 chrome/browser/download/chrome_download_manager_delegate.cc base::FilePath* download_save_dir, base 420 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath& suggested_path, base 421 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath::StringType& default_extension, base 436 chrome/browser/download/chrome_download_manager_delegate.cc base::FilePath platform_path( base 483 chrome/browser/download/chrome_download_manager_delegate.cc base::FilePath platform_path( base 502 chrome/browser/download/chrome_download_manager_delegate.cc base::SequencedWorkerPool* worker_pool = BrowserThread::GetBlockingPool(); base 503 chrome/browser/download/chrome_download_manager_delegate.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 506 chrome/browser/download/chrome_download_manager_delegate.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 507 chrome/browser/download/chrome_download_manager_delegate.cc base::PostTaskAndReplyWithResult( base 510 chrome/browser/download/chrome_download_manager_delegate.cc base::Bind(&base::PathExists, download->GetTargetFilePath()), base 534 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath& virtual_path, base 542 chrome/browser/download/chrome_download_manager_delegate.cc base::Closure original_path_callback = base 543 chrome/browser/download/chrome_download_manager_delegate.cc base::Bind(callback, base::FilePath(), base 551 chrome/browser/download/chrome_download_manager_delegate.cc callback.Run(base::FilePath(), DownloadPathReservationTracker::UNIQUIFY); base 556 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath& virtual_path, base 581 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath& suggested_path, base 589 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath& virtual_path, base 606 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath& suggested_path, base 619 chrome/browser/download/chrome_download_manager_delegate.cc base::Bind(&CheckDownloadUrlDone, base 629 chrome/browser/download/chrome_download_manager_delegate.cc const base::FilePath& path, base 633 chrome/browser/download/chrome_download_manager_delegate.cc base::Bind(&GetMimeTypeAndReplyOnUIThread, path, callback)); base 74 chrome/browser/download/chrome_download_manager_delegate.h const base::FilePath& path) OVERRIDE; base 77 chrome/browser/download/chrome_download_manager_delegate.h const base::Closure& complete_callback) OVERRIDE; base 83 chrome/browser/download/chrome_download_manager_delegate.h base::FilePath* website_save_dir, base 84 chrome/browser/download/chrome_download_manager_delegate.h base::FilePath* download_save_dir, base 88 chrome/browser/download/chrome_download_manager_delegate.h const base::FilePath& suggested_path, base 89 chrome/browser/download/chrome_download_manager_delegate.h const base::FilePath::StringType& default_extension, base 117 chrome/browser/download/chrome_download_manager_delegate.h const base::FilePath& suggested_virtual_path, base 121 chrome/browser/download/chrome_download_manager_delegate.h const base::FilePath& virtual_path, base 127 chrome/browser/download/chrome_download_manager_delegate.h const base::FilePath& suggested_virtual_path, base 131 chrome/browser/download/chrome_download_manager_delegate.h const base::FilePath& virtual_path, base 135 chrome/browser/download/chrome_download_manager_delegate.h const base::FilePath& suggested_virtual_path, base 138 chrome/browser/download/chrome_download_manager_delegate.h const base::FilePath& path, base 142 chrome/browser/download/chrome_download_manager_delegate.h friend class base::RefCountedThreadSafe<ChromeDownloadManagerDelegate>; base 159 chrome/browser/download/chrome_download_manager_delegate.h const base::Closure& internal_complete_callback); base 162 chrome/browser/download/chrome_download_manager_delegate.h const base::Closure& user_complete_callback); base 179 chrome/browser/download/chrome_download_manager_delegate.h typedef base::hash_map<extensions::CrxInstaller*, base 185 chrome/browser/download/chrome_download_manager_delegate.h base::WeakPtrFactory<ChromeDownloadManagerDelegate> weak_ptr_factory_; base 60 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(arg0, result)); base 65 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::MessageLoop::current()->PostTask( base 66 chrome/browser/download/chrome_download_manager_delegate_unittest.cc FROM_HERE, base::Bind(arg0, result0, result1)); base 86 chrome/browser/download/chrome_download_manager_delegate_unittest.cc const base::FilePath& suggested_virtual_path, base 88 chrome/browser/download/chrome_download_manager_delegate_unittest.cc callback.Run(base::FilePath(), base 94 chrome/browser/download/chrome_download_manager_delegate_unittest.cc const base::FilePath& virtual_path, base 101 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::MessageLoop::current()->PostTask( base 102 chrome/browser/download/chrome_download_manager_delegate_unittest.cc FROM_HERE, base::Bind(callback, virtual_path, true)); base 107 chrome/browser/download/chrome_download_manager_delegate_unittest.cc const base::FilePath& suggested_path, base 110 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath return_path = MockPromptUserForDownloadPath(download, base 118 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath( base 120 chrome/browser/download/chrome_download_manager_delegate_unittest.cc const base::FilePath&, base 142 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath GetPathInDownloadDir(const char* path); base 145 chrome/browser/download/chrome_download_manager_delegate_unittest.cc void SetDefaultDownloadPath(const base::FilePath& path); base 156 chrome/browser/download/chrome_download_manager_delegate_unittest.cc const base::FilePath& default_download_path() const; base 163 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::ScopedTempDir test_download_dir_; base 187 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 205 chrome/browser/download/chrome_download_manager_delegate_unittest.cc .WillByDefault(ReturnRefOfCopy(base::FilePath())); base 207 chrome/browser/download/chrome_download_manager_delegate_unittest.cc .WillByDefault(ReturnRefOfCopy(base::FilePath())); base 219 chrome/browser/download/chrome_download_manager_delegate_unittest.cc .WillByDefault(ReturnRefOfCopy(base::FilePath())); base 235 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath ChromeDownloadManagerDelegateTest::GetPathInDownloadDir( base 237 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath full_path = base 243 chrome/browser/download/chrome_download_manager_delegate_unittest.cc const base::FilePath& path) { base 248 chrome/browser/download/chrome_download_manager_delegate_unittest.cc void StoreDownloadTargetInfo(const base::Closure& closure, base 250 chrome/browser/download/chrome_download_manager_delegate_unittest.cc const base::FilePath& target_path, base 253 chrome/browser/download/chrome_download_manager_delegate_unittest.cc const base::FilePath& intermediate_path) { base 264 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::RunLoop loop_runner; base 267 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::Bind(&StoreDownloadTargetInfo, loop_runner.QuitClosure(), result)); base 271 chrome/browser/download/chrome_download_manager_delegate_unittest.cc void StoreBoolAndRunClosure(const base::Closure& closure, base 280 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::RunLoop loop_runner; base 284 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::Bind(&StoreBoolAndRunClosure, loop_runner.QuitClosure(), &result)); base 289 chrome/browser/download/chrome_download_manager_delegate_unittest.cc const base::FilePath& ChromeDownloadManagerDelegateTest::default_download_path() base 335 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath expected_prompt_path(GetPathInDownloadDir("foo.txt")); base 336 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath user_selected_path(GetPathInDownloadDir("bar/baz.txt")); base 350 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath expected_prompt_path(GetPathInDownloadDir("bar/foo.txt")); base 354 chrome/browser/download/chrome_download_manager_delegate_unittest.cc .WillOnce(Return(base::FilePath())); base 363 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath expected_path(GetPathInDownloadDir("foo.txt")); base 373 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath expected_prompt_path(GetPathInDownloadDir("foo.txt")); base 377 chrome/browser/download/chrome_download_manager_delegate_unittest.cc .WillOnce(Return(base::FilePath())); base 386 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath existing_path = default_download_path().AppendASCII("foo"); base 387 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath non_existent_path = base 389 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::WriteFile(existing_path, kData, kDataLength); base 134 chrome/browser/download/download_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 176 chrome/browser/download/download_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 179 chrome/browser/download/download_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 230 chrome/browser/download/download_browsertest.cc const base::FilePath kGoodCrxPath(FILE_PATH_LITERAL("extensions/good.crx")); base 233 chrome/browser/download/download_browsertest.cc const base::FilePath kLargeThemePath( base 248 chrome/browser/download/download_browsertest.cc base::Bind(&DownloadsHistoryDataCollector::OnQueryDownloadsComplete, base 249 chrome/browser/download/download_browsertest.cc base::Unretained(this))); base 263 chrome/browser/download/download_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 289 chrome/browser/download/download_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 367 chrome/browser/download/download_browsertest.cc typedef base::Callback<bool(const history::DownloadRow&)> FilterCallback; base 396 chrome/browser/download/download_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 449 chrome/browser/download/download_browsertest.cc base::Bind(&chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 502 chrome/browser/download/download_browsertest.cc base::FilePath GetDownloadsDirectory() { base 507 chrome/browser/download/download_browsertest.cc base::FilePath OriginFile(base::FilePath file) { base 512 chrome/browser/download/download_browsertest.cc base::FilePath DestinationFile(Browser* browser, base::FilePath file) { base 542 chrome/browser/download/download_browsertest.cc base::FilePath GetDownloadDirectory(Browser* browser) { base 636 chrome/browser/download/download_browsertest.cc const base::FilePath& downloaded_filename, base 637 chrome/browser/download/download_browsertest.cc const base::FilePath& origin_filename) { base 639 chrome/browser/download/download_browsertest.cc base::FilePath downloaded_file( base 643 chrome/browser/download/download_browsertest.cc base::FilePath origin_file(OriginFile(origin_filename)); base 649 chrome/browser/download/download_browsertest.cc const base::FilePath& downloaded_file, base 650 chrome/browser/download/download_browsertest.cc const base::FilePath& origin_file) { base 651 chrome/browser/download/download_browsertest.cc bool origin_file_exists = base::PathExists(origin_file); base 657 chrome/browser/download/download_browsertest.cc bool downloaded_file_exists = base::PathExists(downloaded_file); base 663 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(base::GetFileSize(origin_file, &origin_file_size)); base 665 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(base::ReadFileToString(origin_file, &original_file_contents)); base 670 chrome/browser/download/download_browsertest.cc bool downloaded_file_deleted = base::DieFileDie(downloaded_file, false); base 728 chrome/browser/download/download_browsertest.cc base::FilePath filename; base 730 chrome/browser/download/download_browsertest.cc base::string16 expected_title_in_progress( base 731 chrome/browser/download/download_browsertest.cc base::ASCIIToUTF16(partial_indication) + filename.LossyDisplayName()); base 732 chrome/browser/download/download_browsertest.cc base::string16 expected_title_finished( base 733 chrome/browser/download/download_browsertest.cc base::ASCIIToUTF16(total_indication) + filename.LossyDisplayName()); base 767 chrome/browser/download/download_browsertest.cc base::FilePath basefilename(filename.BaseName()); base 769 chrome/browser/download/download_browsertest.cc base::FilePath download_path = base 773 chrome/browser/download/download_browsertest.cc bool downloaded_path_exists = base::PathExists(download_path); base 785 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(base::DieFileDie(download_path, true)); base 786 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(base::PathExists(download_path)); base 811 chrome/browser/download/download_browsertest.cc bool VerifyFile(const base::FilePath& path, base 816 chrome/browser/download/download_browsertest.cc bool read = base::ReadFileToString(path, &file_contents); base 948 chrome/browser/download/download_browsertest.cc base::FilePath destination_folder = GetDownloadDirectory(browser()); base 949 chrome/browser/download/download_browsertest.cc base::FilePath my_downloaded_file = item->GetTargetFilePath(); base 950 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(base::PathExists(my_downloaded_file)); base 951 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(base::DeleteFile(my_downloaded_file, false)); base 960 chrome/browser/download/download_browsertest.cc base::FilePath my_docs_folder; base 1038 chrome/browser/download/download_browsertest.cc base::FilePath destination_folder = GetDownloadDirectory(browser()); base 1067 chrome/browser/download/download_browsertest.cc base::FilePath file_path(FILE_PATH_LITERAL("download-test1.lib")); base 1105 chrome/browser/download/download_browsertest.cc BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure()); base 1109 chrome/browser/download/download_browsertest.cc base::FilePath test_dir_; base 1112 chrome/browser/download/download_browsertest.cc base::ScopedTempDir downloads_directory_; base 1125 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1141 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1150 chrome/browser/download/download_browsertest.cc base::FilePath downloaded_file(DestinationFile(browser(), file)); base 1151 chrome/browser/download/download_browsertest.cc if (base::VolumeSupportsADS(downloaded_file)) base 1152 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(base::HasInternetZoneIdentifier(downloaded_file)); base 1164 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1193 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test2.html")); base 1195 chrome/browser/download/download_browsertest.cc base::FilePath file_path(DestinationFile(browser(), file)); base 1201 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(base::PathExists(file_path)); base 1251 chrome/browser/download/download_browsertest.cc base::FilePath same_site_path(FILE_PATH_LITERAL("download_script.html")); base 1282 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1283 chrome/browser/download/download_browsertest.cc base::FilePath file_path(DestinationFile(browser(), file)); base 1284 chrome/browser/download/download_browsertest.cc EXPECT_FALSE(base::PathExists(file_path)); base 1302 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test3.gif")); base 1304 chrome/browser/download/download_browsertest.cc base::FilePath download_file( base 1321 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test3.gif")); base 1323 chrome/browser/download/download_browsertest.cc base::FilePath download_file( base 1357 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1403 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1451 chrome/browser/download/download_browsertest.cc base::FilePath origin(OriginFile(base::FilePath(FILE_PATH_LITERAL( base 1453 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::PathExists(origin)); base 1455 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(base::GetFileSize(origin, &origin_file_size)); base 1457 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(base::ReadFileToString(origin, &original_contents)); base 1472 chrome/browser/download/download_browsertest.cc ASSERT_EQ(base::FilePath(FILE_PATH_LITERAL("a_zip_file.zip")), base 1474 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::PathExists(download_items[0]->GetTargetFilePath())); base 1504 chrome/browser/download/download_browsertest.cc ASSERT_EQ(base::FilePath(FILE_PATH_LITERAL("a_zip_file (1).zip")), base 1506 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::PathExists(download_items[0]->GetTargetFilePath())); base 1516 chrome/browser/download/download_browsertest.cc base::FilePath file1(FILE_PATH_LITERAL("download-test2.html")); base 1536 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1561 chrome/browser/download/download_browsertest.cc base::FilePath file1(FILE_PATH_LITERAL("download_page1.html")); base 1568 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1591 chrome/browser/download/download_browsertest.cc base::FilePath file1(FILE_PATH_LITERAL("download_page2.html")); base 1607 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1631 chrome/browser/download/download_browsertest.cc base::FilePath file1(FILE_PATH_LITERAL("download_page3.html")); base 1639 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1662 chrome/browser/download/download_browsertest.cc base::FilePath file1(FILE_PATH_LITERAL("download_page4.html")); base 1671 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1693 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1750 chrome/browser/download/download_browsertest.cc base::FilePath file(net::GenerateFileName(download_url, base 1764 chrome/browser/download/download_browsertest.cc base::Time start(base::Time::Now()); base 1766 chrome/browser/download/download_browsertest.cc observer.SetFilterCallback(base::Bind(&HasDataAndName)); base 1804 chrome/browser/download/download_browsertest.cc base::Time end(base::Time::Now()); base 1841 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("downloads/dangerous/dangerous.swf")); base 1849 chrome/browser/download/download_browsertest.cc base::Time start(base::Time::Now()); base 1851 chrome/browser/download/download_browsertest.cc observer.SetFilterCallback(base::Bind(&HasDataAndName)); base 1900 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1907 chrome/browser/download/download_browsertest.cc base::Bind(&base::MessageLoop::Quit, base 1908 chrome/browser/download/download_browsertest.cc base::Unretained(base::MessageLoop::current()->current()))); base 1920 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1937 chrome/browser/download/download_browsertest.cc base::TrimWhitespaceASCII(etag, base::TRIM_ALL, &etag); base 1941 chrome/browser/download/download_browsertest.cc base::TrimWhitespaceASCII(last_modified, base::TRIM_ALL, &last_modified); base 1948 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1972 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1997 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-anchor-attrib.html")); base 2010 chrome/browser/download/download_browsertest.cc base::FilePath downloaded_file = GetDownloadDirectory(browser()); base 2012 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(base::PathExists(downloaded_file)); base 2017 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-autoopen.txt")); base 2034 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); base 2101 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); base 2138 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); base 2149 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("extensions/bad_signature.crx")); base 2200 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); base 2211 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 2241 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 2248 chrome/browser/download/download_browsertest.cc base::ScopedTempDir other_directory; base 2250 chrome/browser/download/download_browsertest.cc base::FilePath target_file_full_path base 2272 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); base 2366 chrome/browser/download/download_browsertest.cc render_frame_host->ExecuteJavaScript(base::ASCIIToUTF16("SubmitForm()")); base 2742 chrome/browser/download/download_browsertest.cc base::FilePath file(download_items[0]->GetTargetFilePath()); base 2748 chrome/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 2763 chrome/browser/download/download_browsertest.cc params->set_callback(base::Bind(&SetHiddenDownloadCallback)); base 2826 chrome/browser/download/download_browsertest.cc base::FilePath origin_file(OriginFile(base::FilePath(FILE_PATH_LITERAL( base 2828 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::PathExists(origin_file)); base 2830 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::ReadFileToString(origin_file, &origin_contents)); base 2841 chrome/browser/download/download_browsertest.cc base::FilePath target_path(item->GetTargetFilePath()); base 2844 chrome/browser/download/download_browsertest.cc base::StringPrintf(" (%d).zip", index)), base 2846 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::PathExists(target_path)); base 2878 chrome/browser/download/download_browsertest.cc base::FilePath origin(FILE_PATH_LITERAL("origin")); base 2879 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::CreateDirectory(DestinationFile(browser(), origin))); base 2882 chrome/browser/download/download_browsertest.cc base::string16 crazy16; base 2885 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::WideToUTF8(crazy_w, wcslen(crazy_w), &crazy8)); base 2886 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::WideToUTF16(crazy_w, wcslen(crazy_w), &crazy16)); base 2887 chrome/browser/download/download_browsertest.cc base::FilePath file_path(DestinationFile(browser(), origin.Append( base 2897 chrome/browser/download/download_browsertest.cc base::WriteFile(file_path, crazy8.c_str(), crazy8.size())); base 2905 chrome/browser/download/download_browsertest.cc base::FilePath downloaded(download_items[0]->GetTargetFilePath()); base 2930 chrome/browser/download/download_browsertest.cc base::FilePath downloaded(download_items[0]->GetTargetFilePath()); base 2939 chrome/browser/download/download_browsertest.cc browser(), downloaded, OriginFile(base::FilePath( base 2975 chrome/browser/download/download_browsertest.cc base::FilePath file_path(DestinationFile( base 2976 chrome/browser/download/download_browsertest.cc browser(), base::FilePath(FILE_PATH_LITERAL("DownloadTest_BigZip.zip")))); base 2977 chrome/browser/download/download_browsertest.cc base::File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 2985 chrome/browser/download/download_browsertest.cc base::SetPosixFilePermissions(file_path, 0755); base 2989 chrome/browser/download/download_browsertest.cc int64 free_space = base::SysInfo::AmountOfFreeDiskSpace( base 3016 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::PathExists(download_items[0]->GetTargetFilePath())); base 3018 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::GetFileSize( base 3021 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::DieFileDie(file_path, false)); base 3022 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::DieFileDie(download_items[0]->GetTargetFilePath(), false)); base 3045 chrome/browser/download/download_browsertest.cc base::FilePath dir(on_prefs->SaveFilePath()); base 16 chrome/browser/download/download_completion_blocker.h class DownloadCompletionBlocker : public base::SupportsUserData::Data { base 23 chrome/browser/download/download_completion_blocker.h void set_callback(const base::Closure& callback) { base 36 chrome/browser/download/download_completion_blocker.h base::Closure callback_; base 45 chrome/browser/download/download_danger_prompt.cc virtual base::string16 GetTitle() OVERRIDE; base 46 chrome/browser/download/download_danger_prompt.cc virtual base::string16 GetDialogMessage() OVERRIDE; base 47 chrome/browser/download/download_danger_prompt.cc virtual base::string16 GetAcceptButtonTitle() OVERRIDE; base 48 chrome/browser/download/download_danger_prompt.cc virtual base::string16 GetCancelButtonTitle() OVERRIDE; base 104 chrome/browser/download/download_danger_prompt.cc base::string16 DownloadDangerPromptImpl::GetTitle() { base 122 chrome/browser/download/download_danger_prompt.cc base::string16 DownloadDangerPromptImpl::GetDialogMessage() { base 161 chrome/browser/download/download_danger_prompt.cc base::ASCIIToUTF16("\n\n") + base 172 chrome/browser/download/download_danger_prompt.cc return base::string16(); base 175 chrome/browser/download/download_danger_prompt.cc base::string16 DownloadDangerPromptImpl::GetAcceptButtonTitle() { base 190 chrome/browser/download/download_danger_prompt.cc base::string16 DownloadDangerPromptImpl::GetCancelButtonTitle() { base 30 chrome/browser/download/download_danger_prompt.h typedef base::Callback<void(Action)> OnDone; base 78 chrome/browser/download/download_danger_prompt_browsertest.cc base::FilePath(FILE_PATH_LITERAL("evil.exe")))); base 91 chrome/browser/download/download_danger_prompt_browsertest.cc base::Bind(&DownloadDangerPromptTest::PromptCallback, this)); base 30 chrome/browser/download/download_dir_policy_handler.cc const base::FilePath::CharType* kRootRelativeToDriveMount = base 37 chrome/browser/download/download_dir_policy_handler.cc base::Value::TYPE_STRING) {} base 44 chrome/browser/download/download_dir_policy_handler.cc const base::Value* value = NULL; base 65 chrome/browser/download/download_dir_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 66 chrome/browser/download/download_dir_policy_handler.cc base::FilePath::StringType string_value; base 70 chrome/browser/download/download_dir_policy_handler.cc base::FilePath::StringType expanded_value; base 75 chrome/browser/download/download_dir_policy_handler.cc if (position != base::FilePath::StringType::npos) { base 76 chrome/browser/download/download_dir_policy_handler.cc base::FilePath::StringType google_drive_root; base 85 chrome/browser/download/download_dir_policy_handler.cc base::FilePath::StringType(kDriveNamePolicyVariableName).length(), base 100 chrome/browser/download/download_dir_policy_handler.cc base::Value::CreateStringValue(expanded_value)); base 106 chrome/browser/download/download_dir_policy_handler.cc base::Value::CreateBooleanValue(false)); base 31 chrome/browser/download/download_dir_policy_handler_unittest.cc const base::FilePath::CharType* kRootRelativeToDriveMount = base 74 chrome/browser/download/download_dir_policy_handler_unittest.cc base::Value::CreateStringValue(std::string()), base 79 chrome/browser/download/download_dir_policy_handler_unittest.cc const base::Value* value = NULL; base 97 chrome/browser/download/download_dir_policy_handler_unittest.cc new base::StringValue(kDriveNamePolicyVariableName), base 101 chrome/browser/download/download_dir_policy_handler_unittest.cc const base::Value* value = NULL; base 117 chrome/browser/download/download_dir_policy_handler_unittest.cc new base::StringValue(std::string(kDriveNamePolicyVariableName) + base 134 chrome/browser/download/download_dir_policy_handler_unittest.cc new base::StringValue(kUserIDHash), base 208 chrome/browser/download/download_extensions.cc DownloadDangerLevel GetFileDangerLevel(const base::FilePath& path) { base 209 chrome/browser/download/download_extensions.cc base::FilePath::StringType extension(path.FinalExtension()); base 215 chrome/browser/download/download_extensions.cc std::string ascii_extension = base::UTF16ToASCII(extension); base 221 chrome/browser/download/download_extensions.cc if (ascii_extension[0] == base::FilePath::kExtensionSeparator) base 21 chrome/browser/download/download_extensions.h DownloadDangerLevel GetFileDangerLevel(const base::FilePath& path); base 21 chrome/browser/download/download_file_icon_extractor.h typedef base::Callback<void(const std::string&)> IconURLCallback; base 27 chrome/browser/download/download_file_icon_extractor.h virtual bool ExtractIconURLForPath(const base::FilePath& path, base 36 chrome/browser/download/download_file_picker.cc void RecordFilePickerResult(const base::FilePath& suggested_path, base 37 chrome/browser/download/download_file_picker.cc const base::FilePath& actual_path) { base 57 chrome/browser/download/download_file_picker.cc const base::FilePath& suggested_path, base 74 chrome/browser/download/download_file_picker.cc base::FilePath::StringType extension = suggested_path_.FinalExtension(); base 87 chrome/browser/download/download_file_picker.cc base::string16(), base 91 chrome/browser/download/download_file_picker.cc base::FilePath::StringType(), base 99 chrome/browser/download/download_file_picker.cc void DownloadFilePicker::OnFileSelected(const base::FilePath& path) { base 106 chrome/browser/download/download_file_picker.cc void DownloadFilePicker::FileSelected(const base::FilePath& path, base 114 chrome/browser/download/download_file_picker.cc OnFileSelected(base::FilePath()); base 120 chrome/browser/download/download_file_picker.cc const base::FilePath& suggested_path, base 11 chrome/browser/download/download_file_picker.h namespace base { base 30 chrome/browser/download/download_file_picker.h typedef base::Callback<void(const base::FilePath& virtual_path)> base 37 chrome/browser/download/download_file_picker.h const base::FilePath& suggested_path, base 42 chrome/browser/download/download_file_picker.h const base::FilePath& suggested_path, base 48 chrome/browser/download/download_file_picker.h void OnFileSelected(const base::FilePath& virtual_path); base 51 chrome/browser/download/download_file_picker.h virtual void FileSelected(const base::FilePath& path, base 57 chrome/browser/download/download_file_picker.h base::FilePath suggested_path_; base 52 chrome/browser/download/download_history.cc class DownloadHistoryData : public base::SupportsUserData::Data { base 61 chrome/browser/download/download_history.cc base::SupportsUserData::Data* data = item->GetUserData(kKey); base 204 chrome/browser/download/download_history.cc history_->QueryDownloads(base::Bind( base 283 chrome/browser/download/download_history.cc history_->CreateDownload(*data->info(), base::Bind( base 419 chrome/browser/download/download_history.cc base::Bind(&DownloadHistory::RemoveDownloadsBatch, base 142 chrome/browser/download/download_history.h base::WeakPtrFactory<DownloadHistory> weak_ptr_factory_; base 77 chrome/browser/download/download_history_unittest.cc base::Bind(&FakeHistoryAdapter::QueryDownloadsDone, base 78 chrome/browser/download/download_history_unittest.cc base::Unretained(this), callback)); base 97 chrome/browser/download/download_history_unittest.cc create_download_callback_ = base::Bind(callback, !fail_create_download_); base 174 chrome/browser/download/download_history_unittest.cc IdSet differences = base::STLSetDifference<IdSet>(ids, remove_downloads_); base 185 chrome/browser/download/download_history_unittest.cc base::Closure create_download_callback_; base 330 chrome/browser/download/download_history_unittest.cc void InitBasicItem(const base::FilePath::CharType* path, base 339 chrome/browser/download/download_history_unittest.cc base::FilePath(path), base 340 chrome/browser/download/download_history_unittest.cc base::FilePath(path), base 343 chrome/browser/download/download_history_unittest.cc (base::Time::Now() - base::TimeDelta::FromMinutes(10)), base 344 chrome/browser/download/download_history_unittest.cc (base::Time::Now() - base::TimeDelta::FromMinutes(1)), base 360 chrome/browser/download/download_history_unittest.cc const base::FilePath& current_path, base 361 chrome/browser/download/download_history_unittest.cc const base::FilePath& target_path, base 364 chrome/browser/download/download_history_unittest.cc const base::Time& start_time, base 365 chrome/browser/download/download_history_unittest.cc const base::Time& end_time, base 453 chrome/browser/download/download_history_unittest.cc base::MessageLoopForUI loop_; base 544 chrome/browser/download/download_history_unittest.cc base::FilePath new_path(FILE_PATH_LITERAL("/foo/baz.txt")); base 545 chrome/browser/download/download_history_unittest.cc base::Time new_time(base::Time::Now()); base 31 chrome/browser/download/download_item_model.cc using base::TimeDelta; base 39 chrome/browser/download/download_item_model.cc class DownloadItemModelData : public base::SupportsUserData::Data { base 112 chrome/browser/download/download_item_model.cc base::string16 InterruptReasonStatusMessage(int reason) { base 183 chrome/browser/download/download_item_model.cc base::string16 InterruptReasonMessage(int reason) { base 185 chrome/browser/download/download_item_model.cc base::string16 status_text; base 267 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetInterruptReasonText() const { base 271 chrome/browser/download/download_item_model.cc return base::string16(); base 276 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetStatusText() const { base 277 chrome/browser/download/download_item_model.cc base::string16 status_text; base 295 chrome/browser/download/download_item_model.cc base::string16 interrupt_reason = InterruptReasonStatusMessage(reason); base 311 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetTabProgressStatusText() const { base 314 chrome/browser/download/download_item_model.cc base::string16 received_size = ui::FormatBytes(size); base 315 chrome/browser/download/download_item_model.cc base::string16 amount = received_size; base 319 chrome/browser/download/download_item_model.cc base::i18n::AdjustStringForLocaleDirection(&amount); base 322 chrome/browser/download/download_item_model.cc base::string16 total_text = ui::FormatBytes(total); base 323 chrome/browser/download/download_item_model.cc base::i18n::AdjustStringForLocaleDirection(&total_text); base 325 chrome/browser/download/download_item_model.cc base::i18n::AdjustStringForLocaleDirection(&received_size); base 332 chrome/browser/download/download_item_model.cc base::string16 speed_text = ui::FormatSpeed(current_speed); base 333 chrome/browser/download/download_item_model.cc base::i18n::AdjustStringForLocaleDirection(&speed_text); base 335 chrome/browser/download/download_item_model.cc base::TimeDelta remaining; base 336 chrome/browser/download/download_item_model.cc base::string16 time_remaining; base 346 chrome/browser/download/download_item_model.cc base::i18n::AdjustStringForLocaleDirection(&amount); base 354 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetTooltipText(const gfx::FontList& font_list, base 356 chrome/browser/download/download_item_model.cc base::string16 tooltip = gfx::ElideFilename( base 361 chrome/browser/download/download_item_model.cc tooltip += base::ASCIIToUTF16("\n"); base 368 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetWarningText(const gfx::FontList& font_list, base 372 chrome/browser/download/download_item_model.cc base::string16 elided_filename = base 409 chrome/browser/download/download_item_model.cc return base::string16(); base 412 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetWarningConfirmButtonText() const { base 578 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetProgressSizesString() const { base 579 chrome/browser/download/download_item_model.cc base::string16 size_ratio; base 584 chrome/browser/download/download_item_model.cc base::string16 simple_size = ui::FormatBytesWithUnits(size, amount_units, false); base 591 chrome/browser/download/download_item_model.cc base::string16 simple_total = base::i18n::GetDisplayStringInLTRDirectionality( base 601 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetInProgressStatusString() const { base 610 chrome/browser/download/download_item_model.cc base::string16 size_ratio = GetProgressSizesString(); base 40 chrome/browser/download/download_item_model.h base::string16 GetInterruptReasonText() const; base 43 chrome/browser/download/download_item_model.h base::string16 GetStatusText() const; base 47 chrome/browser/download/download_item_model.h base::string16 GetTabProgressStatusText() const; base 58 chrome/browser/download/download_item_model.h base::string16 GetTooltipText(const gfx::FontList& font_list, int max_width) const; base 64 chrome/browser/download/download_item_model.h base::string16 GetWarningText(const gfx::FontList& font_list, int base_width) const; base 68 chrome/browser/download/download_item_model.h base::string16 GetWarningConfirmButtonText() const; base 149 chrome/browser/download/download_item_model.h base::string16 GetProgressSizesString() const; base 152 chrome/browser/download/download_item_model.h base::string16 GetInProgressStatusString() const; base 49 chrome/browser/download/download_item_model_unittest.cc const base::FilePath::CharType kDefaultTargetFilePath[] = base 52 chrome/browser/download/download_item_model_unittest.cc const base::FilePath::CharType kDefaultDisplayFileName[] = base 82 chrome/browser/download/download_item_model_unittest.cc .WillByDefault(Return(base::FilePath(kDefaultDisplayFileName))); base 84 chrome/browser/download/download_item_model_unittest.cc .WillByDefault(ReturnRefOfCopy(base::FilePath(kDefaultTargetFilePath))); base 180 chrome/browser/download/download_item_model_unittest.cc base::UTF16ToUTF8(model().GetStatusText()).c_str()); base 268 chrome/browser/download/download_item_model_unittest.cc base::UTF16ToUTF8(model().GetTooltipText(font_list, base 273 chrome/browser/download/download_item_model_unittest.cc std::vector<base::string16> lines; base 274 chrome/browser/download/download_item_model_unittest.cc base::string16 truncated_tooltip = base 276 chrome/browser/download/download_item_model_unittest.cc Tokenize(truncated_tooltip, base::ASCIIToUTF16("\n"), &lines); base 342 chrome/browser/download/download_item_model_unittest.cc testing::SetArgPointee<0>(base::TimeDelta::FromSeconds(10)), base 350 chrome/browser/download/download_item_model_unittest.cc base::UTF16ToUTF8(model().GetStatusText()).c_str()); base 28 chrome/browser/download/download_path_reservation_tracker.cc typedef std::map<ReservationKey, base::FilePath> ReservationMap; base 66 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath last_target_path_; base 72 chrome/browser/download/download_path_reservation_tracker.cc bool IsPathReserved(const base::FilePath& path) { base 91 chrome/browser/download/download_path_reservation_tracker.cc bool IsPathInUse(const base::FilePath& path) { base 98 chrome/browser/download/download_path_reservation_tracker.cc if (base::PathExists(path)) base 109 chrome/browser/download/download_path_reservation_tracker.cc bool TruncateFileName(base::FilePath* path, size_t limit) { base 110 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath basename(path->BaseName()); base 115 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath dir(path->DirName()); base 116 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath::StringType ext(basename.Extension()); base 117 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath::StringType name(basename.RemoveExtension().value()); base 125 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath::StringType truncated; base 128 chrome/browser/download/download_path_reservation_tracker.cc base::TruncateUTF8ToByteSize(name, limit, &truncated); base 154 chrome/browser/download/download_path_reservation_tracker.cc const base::FilePath& suggested_path, base 155 chrome/browser/download/download_path_reservation_tracker.cc const base::FilePath& default_download_path, base 170 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath target_path(suggested_path.NormalizePathSeparators()); base 171 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath target_dir = target_path.DirName(); base 172 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath filename = target_path.BaseName(); base 182 chrome/browser/download/download_path_reservation_tracker.cc if (!base::DirectoryExists(target_dir) && base 186 chrome/browser/download/download_path_reservation_tracker.cc base::CreateDirectory(target_dir); base 191 chrome/browser/download/download_path_reservation_tracker.cc if (!base::PathIsWritable(target_dir)) { base 201 chrome/browser/download/download_path_reservation_tracker.cc int max_length = base::GetMaximumPathComponentLength(target_dir); base 221 chrome/browser/download/download_path_reservation_tracker.cc std::string suffix(base::StringPrintf(" (%d)", uniquifier)); base 222 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath path_to_check(target_path); base 247 chrome/browser/download/download_path_reservation_tracker.cc base::Bind(callback, target_path, verified)); base 252 chrome/browser/download/download_path_reservation_tracker.cc void UpdateReservation(ReservationKey key, const base::FilePath& new_path) { base 295 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath new_target_path = download->GetTargetFilePath(); base 297 chrome/browser/download/download_path_reservation_tracker.cc BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind( base 317 chrome/browser/download/download_path_reservation_tracker.cc BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind( base 331 chrome/browser/download/download_path_reservation_tracker.cc BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind( base 341 chrome/browser/download/download_path_reservation_tracker.cc const base::FilePath& target_path, base 342 chrome/browser/download/download_path_reservation_tracker.cc const base::FilePath& default_path, base 352 chrome/browser/download/download_path_reservation_tracker.cc BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind( base 364 chrome/browser/download/download_path_reservation_tracker.cc const base::FilePath& path) { base 10 chrome/browser/download/download_path_reservation_tracker.h namespace base { base 35 chrome/browser/download/download_path_reservation_tracker.h typedef base::Callback<void(const base::FilePath& target_path, base 89 chrome/browser/download/download_path_reservation_tracker.h const base::FilePath& requested_target_path, base 90 chrome/browser/download/download_path_reservation_tracker.h const base::FilePath& default_download_path, base 97 chrome/browser/download/download_path_reservation_tracker.h static bool IsPathInUseForTesting(const base::FilePath& path); base 73 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath GetPathInDownloadsDirectory( base 74 chrome/browser/download/download_path_reservation_tracker_unittest.cc const base::FilePath::CharType* suffix); base 75 chrome/browser/download/download_path_reservation_tracker_unittest.cc bool IsPathInUse(const base::FilePath& path); base 78 chrome/browser/download/download_path_reservation_tracker_unittest.cc const base::FilePath& target_path, base 81 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath* return_path, base 84 chrome/browser/download/download_path_reservation_tracker_unittest.cc const base::FilePath& default_download_path() const { base 87 chrome/browser/download/download_path_reservation_tracker_unittest.cc void set_default_download_path(const base::FilePath& path) { base 91 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath GetLongNamePathInDownloadsDirectory( base 92 chrome/browser/download/download_path_reservation_tracker_unittest.cc size_t repeat, const base::FilePath::CharType* suffix); base 95 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::ScopedTempDir test_download_dir_; base 96 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath default_download_path_; base 97 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::MessageLoopForUI message_loop_; base 102 chrome/browser/download/download_path_reservation_tracker_unittest.cc void TestReservedPathCallback(base::FilePath* return_path, base 104 chrome/browser/download/download_path_reservation_tracker_unittest.cc const base::FilePath& path, bool verified); base 127 chrome/browser/download/download_path_reservation_tracker_unittest.cc .WillRepeatedly(ReturnRefOfCopy(base::FilePath())); base 131 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath DownloadPathReservationTrackerTest::GetPathInDownloadsDirectory( base 132 chrome/browser/download/download_path_reservation_tracker_unittest.cc const base::FilePath::CharType* suffix) { base 137 chrome/browser/download/download_path_reservation_tracker_unittest.cc const base::FilePath& path) { base 143 chrome/browser/download/download_path_reservation_tracker_unittest.cc const base::FilePath& target_path, base 146 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath* return_path, base 150 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::WeakPtrFactory<DownloadPathReservationTrackerTest> weak_ptr_factory( base 159 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::Bind(&DownloadPathReservationTrackerTest::TestReservedPathCallback, base 167 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath* return_path, bool* return_verified, bool* did_run_callback, base 168 chrome/browser/download/download_path_reservation_tracker_unittest.cc const base::FilePath& path, bool verified) { base 174 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath base 176 chrome/browser/download/download_path_reservation_tracker_unittest.cc size_t repeat, const base::FilePath::CharType* suffix) { base 178 chrome/browser/download/download_path_reservation_tracker_unittest.cc (base::FilePath::StringType(repeat, FILE_PATH_LITERAL('a')) base 187 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path( base 191 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 217 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path( base 221 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 246 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path( base 250 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 279 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path( base 281 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path1( base 284 chrome/browser/download/download_path_reservation_tracker_unittest.cc ASSERT_EQ(0, base::WriteFile(path, "", 0)); base 286 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::WriteFile( base 290 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 321 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path( base 323 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath uniquified_path( base 328 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path1; base 349 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path2; base 370 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path2; base 388 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path3; base 411 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path( base 422 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 423 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath expected_path; base 427 chrome/browser/download/download_path_reservation_tracker_unittest.cc path.InsertBeforeExtensionASCII(base::StringPrintf(" (%d)", i)); base 447 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 469 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path( base 471 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath dir(path.DirName()); base 478 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 500 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path( base 502 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath dir(path.DirName()); base 503 chrome/browser/download/download_path_reservation_tracker_unittest.cc ASSERT_FALSE(base::DirectoryExists(dir)); base 510 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 526 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 538 chrome/browser/download/download_path_reservation_tracker_unittest.cc EXPECT_TRUE(base::DirectoryExists(dir)); base 547 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path( base 551 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 569 chrome/browser/download/download_path_reservation_tracker_unittest.cc ASSERT_EQ(base::FilePath::StringType(), item->GetTargetFilePath().value()); base 575 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath new_target_path( base 598 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::GetMaximumPathComponentLength(default_download_path()); base 606 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path(GetLongNamePathInDownloadsDirectory( base 610 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 633 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::GetMaximumPathComponentLength(default_download_path()); base 638 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path(GetLongNamePathInDownloadsDirectory( base 640 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path0(GetLongNamePathInDownloadsDirectory( base 642 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path1(GetLongNamePathInDownloadsDirectory( base 644 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path2(GetLongNamePathInDownloadsDirectory( base 650 chrome/browser/download/download_path_reservation_tracker_unittest.cc ASSERT_EQ(0, base::WriteFile(path0, "", 0)); base 651 chrome/browser/download/download_path_reservation_tracker_unittest.cc ASSERT_EQ(0, base::WriteFile(path1, "", 0)); base 653 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 673 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::GetMaximumPathComponentLength(default_download_path()); base 678 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath path(GetPathInDownloadsDirectory( base 680 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath::StringType(max_length, 'b')).c_str())); base 683 chrome/browser/download/download_path_reservation_tracker_unittest.cc base::FilePath reserved_path; base 13 chrome/browser/download/download_permission_request.cc base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) base 22 chrome/browser/download/download_permission_request.cc base::string16 DownloadPermissionRequest::GetMessageText() const { base 26 chrome/browser/download/download_permission_request.cc base::string16 DownloadPermissionRequest::GetMessageTextFragment() const { base 20 chrome/browser/download/download_permission_request.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host); base 25 chrome/browser/download/download_permission_request.h virtual base::string16 GetMessageText() const OVERRIDE; base 26 chrome/browser/download/download_permission_request.h virtual base::string16 GetMessageTextFragment() const OVERRIDE; base 35 chrome/browser/download/download_permission_request.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host_; base 48 chrome/browser/download/download_prefs.cc bool DownloadPathIsDangerous(const base::FilePath& download_path) { base 50 chrome/browser/download/download_prefs.cc base::FilePath home_dir = base::GetHomeDir(); base 60 chrome/browser/download/download_prefs.cc base::FilePath desktop_dir; base 61 chrome/browser/download/download_prefs.cc if (!PathService::Get(base::DIR_USER_DESKTOP, &desktop_dir)) { base 71 chrome/browser/download/download_prefs.cc const base::FilePath& path() const { return path_; } base 74 chrome/browser/download/download_prefs.cc friend struct base::DefaultLazyInstanceTraits<DefaultDownloadDirectory>; base 89 chrome/browser/download/download_prefs.cc base::FilePath path_; base 94 chrome/browser/download/download_prefs.cc static base::LazyInstance<DefaultDownloadDirectory> base 113 chrome/browser/download/download_prefs.cc const base::FilePath current = prefs->GetFilePath(path_pref[i]); base 114 chrome/browser/download/download_prefs.cc base::FilePath migrated; base 125 chrome/browser/download/download_prefs.cc base::Bind(base::IgnoreResult(&base::CreateDirectory), base 133 chrome/browser/download/download_prefs.cc base::FilePath current_download_dir = prefs->GetFilePath( base 152 chrome/browser/download/download_prefs.cc base::SplitString(extensions_to_open, ':', &extensions); base 156 chrome/browser/download/download_prefs.cc base::FilePath path(extensions[i]); base 158 chrome/browser/download/download_prefs.cc base::FilePath path(base::UTF8ToWide(extensions[i])); base 188 chrome/browser/download/download_prefs.cc const base::FilePath& default_download_path = GetDefaultDownloadDirectory(); base 199 chrome/browser/download/download_prefs.cc base::FilePath DownloadPrefs::GetDefaultDownloadDirectoryForProfile() const { base 208 chrome/browser/download/download_prefs.cc const base::FilePath& DownloadPrefs::GetDefaultDownloadDirectory() { base 227 chrome/browser/download/download_prefs.cc base::FilePath DownloadPrefs::DownloadPath() const { base 242 chrome/browser/download/download_prefs.cc void DownloadPrefs::SetDownloadPath(const base::FilePath& path) { base 247 chrome/browser/download/download_prefs.cc base::FilePath DownloadPrefs::SaveFilePath() const { base 251 chrome/browser/download/download_prefs.cc void DownloadPrefs::SetSaveFilePath(const base::FilePath& path) { base 275 chrome/browser/download/download_prefs.cc const base::FilePath& path) const { base 276 chrome/browser/download/download_prefs.cc base::FilePath::StringType extension = path.Extension(); base 279 chrome/browser/download/download_prefs.cc DCHECK(extension[0] == base::FilePath::kExtensionSeparator); base 285 chrome/browser/download/download_prefs.cc const base::FilePath& file_name) { base 286 chrome/browser/download/download_prefs.cc base::FilePath::StringType extension = file_name.Extension(); base 289 chrome/browser/download/download_prefs.cc DCHECK(extension[0] == base::FilePath::kExtensionSeparator); base 298 chrome/browser/download/download_prefs.cc const base::FilePath& file_name) { base 299 chrome/browser/download/download_prefs.cc base::FilePath::StringType extension = file_name.Extension(); base 302 chrome/browser/download/download_prefs.cc DCHECK(extension[0] == base::FilePath::kExtensionSeparator); base 321 chrome/browser/download/download_prefs.cc std::string this_extension = base::SysWideToUTF8(*it); base 332 chrome/browser/download/download_prefs.cc const base::FilePath::StringType& a, base 333 chrome/browser/download/download_prefs.cc const base::FilePath::StringType& b) const { base 334 chrome/browser/download/download_prefs.cc return base::FilePath::CompareLessIgnoreCase(a, b); base 34 chrome/browser/download/download_prefs.h static const base::FilePath& GetDefaultDownloadDirectory(); base 37 chrome/browser/download/download_prefs.h base::FilePath GetDefaultDownloadDirectoryForProfile() const; base 46 chrome/browser/download/download_prefs.h base::FilePath DownloadPath() const; base 47 chrome/browser/download/download_prefs.h void SetDownloadPath(const base::FilePath& path); base 48 chrome/browser/download/download_prefs.h base::FilePath SaveFilePath() const; base 49 chrome/browser/download/download_prefs.h void SetSaveFilePath(const base::FilePath& path); base 67 chrome/browser/download/download_prefs.h bool IsAutoOpenEnabledBasedOnExtension(const base::FilePath& path) const; base 71 chrome/browser/download/download_prefs.h bool EnableAutoOpenBasedOnExtension(const base::FilePath& file_name); base 74 chrome/browser/download/download_prefs.h void DisableAutoOpenBasedOnExtension(const base::FilePath& file_name); base 90 chrome/browser/download/download_prefs.h bool operator()(const base::FilePath::StringType& a, base 91 chrome/browser/download/download_prefs.h const base::FilePath::StringType& b) const; base 93 chrome/browser/download/download_prefs.h typedef std::set<base::FilePath::StringType, base 40 chrome/browser/download/download_query.cc template <typename T> bool GetAs(const base::Value& in, T* out); base 41 chrome/browser/download/download_query.cc template<> bool GetAs(const base::Value& in, bool* out) { base 44 chrome/browser/download/download_query.cc template<> bool GetAs(const base::Value& in, int* out) { base 47 chrome/browser/download/download_query.cc template<> bool GetAs(const base::Value& in, std::string* out) { base 50 chrome/browser/download/download_query.cc template<> bool GetAs(const base::Value& in, base::string16* out) { base 53 chrome/browser/download/download_query.cc template<> bool GetAs(const base::Value& in, std::vector<base::string16>* out) { base 55 chrome/browser/download/download_query.cc const base::ListValue* list = NULL; base 59 chrome/browser/download/download_query.cc base::string16 element; base 73 chrome/browser/download/download_query.cc const std::vector<base::string16>& query_terms, base 76 chrome/browser/download/download_query.cc base::string16 url_raw(base::UTF8ToUTF16(item.GetOriginalUrl().spec())); base 77 chrome/browser/download/download_query.cc base::string16 url_formatted = url_raw; base 84 chrome/browser/download/download_query.cc base::string16 path(item.GetTargetFilePath().LossyDisplayName()); base 86 chrome/browser/download/download_query.cc for (std::vector<base::string16>::const_iterator it = query_terms.begin(); base 88 chrome/browser/download/download_query.cc base::string16 term = base::i18n::ToLower(*it); base 89 chrome/browser/download/download_query.cc if (!base::i18n::StringSearchIgnoringCaseAndAccents( base 91 chrome/browser/download/download_query.cc !base::i18n::StringSearchIgnoringCaseAndAccents( base 93 chrome/browser/download/download_query.cc !base::i18n::StringSearchIgnoringCaseAndAccents( base 102 chrome/browser/download/download_query.cc return (item.GetStartTime() - base::Time::UnixEpoch()).InMilliseconds(); base 106 chrome/browser/download/download_query.cc return (item.GetEndTime() - base::Time::UnixEpoch()).InMilliseconds(); base 109 chrome/browser/download/download_query.cc std::string TimeToISO8601(const base::Time& t) { base 110 chrome/browser/download/download_query.cc base::Time::Exploded exploded; base 112 chrome/browser/download/download_query.cc return base::StringPrintf( base 135 chrome/browser/download/download_query.cc static base::string16 GetFilename(const DownloadItem& item) { base 142 chrome/browser/download/download_query.cc return base::UTF16ToUTF8(GetFilename(item)); base 183 chrome/browser/download/download_query.cc const base::Callback<ValueType(const DownloadItem&)>& accessor, base 196 chrome/browser/download/download_query.cc const base::Value& value, ComparisonType cmptype, base 200 chrome/browser/download/download_query.cc return base::Bind(&FieldMatches<ValueType>, cpp_value, cmptype, base 201 chrome/browser/download/download_query.cc base::Bind(accessor)); base 207 chrome/browser/download/download_query.cc const base::Callback<std::string(const DownloadItem&)>& accessor, base 214 chrome/browser/download/download_query.cc const base::Value& regex_value, base 220 chrome/browser/download/download_query.cc return base::Bind(&FindRegex, base::Owned(pattern.release()), base 221 chrome/browser/download/download_query.cc base::Bind(accessor)); base 228 chrome/browser/download/download_query.cc const base::Callback<ValueType(const DownloadItem&)>& accessor, base 259 chrome/browser/download/download_query.cc AddFilter(base::Bind(&FieldMatches<DownloadItem::DownloadState>, state, EQ, base 260 chrome/browser/download/download_query.cc base::Bind(&GetState))); base 264 chrome/browser/download/download_query.cc AddFilter(base::Bind(&FieldMatches<DownloadDangerType>, danger, EQ, base 265 chrome/browser/download/download_query.cc base::Bind(&GetDangerType))); base 269 chrome/browser/download/download_query.cc const base::Value& value) { base 278 chrome/browser/download/download_query.cc return AddFilter(BuildFilter<base::string16>(value, EQ, &GetFilename)); base 286 chrome/browser/download/download_query.cc std::vector<base::string16> query_terms; base 289 chrome/browser/download/download_query.cc AddFilter(base::Bind(&MatchesQuery, query_terms))); base 339 chrome/browser/download/download_query.cc typedef base::Callback<ComparisonType( base 345 chrome/browser/download/download_query.cc return Sorter(adirection, base::Bind(&Compare<ValueType>, base 346 chrome/browser/download/download_query.cc base::Bind(accessor))); base 403 chrome/browser/download/download_query.cc Sorter::Build<base::string16>(direction, &GetFilename)); base 15 chrome/browser/download/download_query.h namespace base { base 47 chrome/browser/download/download_query.h typedef base::Callback<bool(const content::DownloadItem&)> FilterCallback; base 105 chrome/browser/download/download_query.h bool AddFilter(FilterType type, const base::Value& value); base 142 chrome/browser/download/download_query.h const base::Callback<std::string( base 23 chrome/browser/download/download_query_unittest.cc using base::Time; base 24 chrome/browser/download/download_query_unittest.cc using base::Value; base 103 chrome/browser/download/download_query_unittest.cc scoped_ptr<base::Value> value(base::Value::CreateBooleanValue(cpp_value)); base 109 chrome/browser/download/download_query_unittest.cc scoped_ptr<base::Value> value(base::Value::CreateIntegerValue(cpp_value)); base 115 chrome/browser/download/download_query_unittest.cc CHECK(query_.AddFilter(name, base::StringValue(cpp_value))); base 120 chrome/browser/download/download_query_unittest.cc CHECK(query_.AddFilter(name, base::StringValue(cpp_value))); base 124 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, const base::char16* cpp_value) { base 125 chrome/browser/download/download_query_unittest.cc CHECK(query_.AddFilter(name, base::StringValue(cpp_value))); base 129 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, std::vector<base::string16> cpp_value) { base 130 chrome/browser/download/download_query_unittest.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 131 chrome/browser/download/download_query_unittest.cc for (std::vector<base::string16>::const_iterator it = cpp_value.begin(); base 133 chrome/browser/download/download_query_unittest.cc list->Append(new base::StringValue(*it)); base 140 chrome/browser/download/download_query_unittest.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 143 chrome/browser/download/download_query_unittest.cc list->Append(new base::StringValue(*it)); base 151 chrome/browser/download/download_query_unittest.cc CHECK(query_.AddFilter(name, base::StringValue(cpp_value))); base 161 chrome/browser/download/download_query_unittest.cc scoped_ptr<base::Value> value(base::Value::CreateIntegerValue(0)); base 187 chrome/browser/download/download_query_unittest.cc base::FilePath match_filename(FILE_PATH_LITERAL("query")); base 190 chrome/browser/download/download_query_unittest.cc base::FilePath fail_filename(FILE_PATH_LITERAL("fail")); base 208 chrome/browser/download/download_query_unittest.cc base::FilePath fail_filename(FILE_PATH_LITERAL("fail")); base 229 chrome/browser/download/download_query_unittest.cc const base::FilePath::StringType kTestString( base 236 chrome/browser/download/download_query_unittest.cc base::FilePath match_filename(kTestString); base 239 chrome/browser/download/download_query_unittest.cc base::FilePath fail_filename(FILE_PATH_LITERAL("fail")); base 245 chrome/browser/download/download_query_unittest.cc std::vector<base::FilePath::StringType> query_terms; base 253 chrome/browser/download/download_query_unittest.cc base::FilePath match_filename(FILE_PATH_LITERAL("query")); base 256 chrome/browser/download/download_query_unittest.cc base::FilePath fail_filename(FILE_PATH_LITERAL("fail")); base 265 chrome/browser/download/download_query_unittest.cc base::FilePath b_filename(FILE_PATH_LITERAL("b")); base 268 chrome/browser/download/download_query_unittest.cc base::FilePath a_filename(FILE_PATH_LITERAL("a")); base 277 chrome/browser/download/download_query_unittest.cc base::FilePath match_filename(FILE_PATH_LITERAL("query")); base 280 chrome/browser/download/download_query_unittest.cc base::FilePath fail_filename(FILE_PATH_LITERAL("fail")); base 319 chrome/browser/download/download_query_unittest.cc CHECK(query()->AddFilter(base::Bind(&IdNotEqual, 1))); base 417 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 2))); base 419 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 1))); base 428 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 2))); base 430 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 4))); base 439 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 2))); base 441 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 4))); base 450 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 2))); base 452 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 4))); base 460 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 2))); base 462 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 1))); base 471 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 2))); base 473 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 4))); base 482 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 2))); base 484 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 4))); base 493 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 2))); base 495 chrome/browser/download/download_query_unittest.cc base::Time::FromTimeT(kSomeKnownTime + 4))); base 602 chrome/browser/download/download_query_unittest.cc query()->AddFilter(base::Bind(&AlwaysReturn, true)); base 604 chrome/browser/download/download_query_unittest.cc query()->AddFilter(base::Bind(&AlwaysReturn, false)); base 605 chrome/browser/download/download_query_unittest.cc base::Time start = base::Time::Now(); base 607 chrome/browser/download/download_query_unittest.cc base::Time end = base::Time::Now(); base 24 chrome/browser/download/download_request_infobar_delegate.cc base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) { base 52 chrome/browser/download/download_request_infobar_delegate.cc base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) base 62 chrome/browser/download/download_request_infobar_delegate.cc base::string16 DownloadRequestInfoBarDelegate::GetMessageText() const { base 66 chrome/browser/download/download_request_infobar_delegate.cc base::string16 DownloadRequestInfoBarDelegate::GetButtonLabel( base 21 chrome/browser/download/download_request_infobar_delegate.h typedef base::Callback<void( base 23 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host)> base 31 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host); base 35 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) { base 47 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host); base 51 chrome/browser/download/download_request_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 52 chrome/browser/download/download_request_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 57 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host_; base 40 chrome/browser/download/download_request_infobar_delegate_unittest.cc base::WeakPtrFactory<MockTabDownloadState> weak_ptr_factory_; base 294 chrome/browser/download/download_request_limiter.cc base::Bind(&DownloadRequestLimiter::CanDownload, this, base 341 chrome/browser/download/download_request_limiter.cc base::Callback<void(bool)> can_download_callback = base::Bind( base 463 chrome/browser/download/download_request_limiter.cc BrowserThread::IO, FROM_HERE, base::Bind(callback, allow)); base 52 chrome/browser/download/download_request_limiter.h : public base::RefCountedThreadSafe<DownloadRequestLimiter> { base 67 chrome/browser/download/download_request_limiter.h typedef base::Callback<void(bool /*allow*/)> Callback; base 176 chrome/browser/download/download_request_limiter.h base::WeakPtrFactory<DownloadRequestLimiter::TabDownloadState> factory_; base 199 chrome/browser/download/download_request_limiter.h friend class base::RefCountedThreadSafe<DownloadRequestLimiter>; base 262 chrome/browser/download/download_request_limiter.h base::WeakPtrFactory<DownloadRequestLimiter> factory_; base 79 chrome/browser/download/download_request_limiter_unittest.cc fake_create_callback_ = base::Bind( base 80 chrome/browser/download/download_request_limiter_unittest.cc &DownloadRequestLimiterTest::FakeCreate, base::Unretained(this)); base 98 chrome/browser/download/download_request_limiter_unittest.cc base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) { base 132 chrome/browser/download/download_request_limiter_unittest.cc base::Bind(&DownloadRequestLimiterTest::ContinueDownload, base 133 chrome/browser/download/download_request_limiter_unittest.cc base::Unretained(this))); base 134 chrome/browser/download/download_request_limiter_unittest.cc base::RunLoop().RunUntilIdle(); base 373 chrome/browser/download/download_request_limiter_unittest.cc base::RunLoop().RunUntilIdle(); base 390 chrome/browser/download/download_request_limiter_unittest.cc base::RunLoop().RunUntilIdle(); base 25 chrome/browser/download/download_resource_throttle.cc base::Bind(&DownloadResourceThrottle::ContinueDownload, base 23 chrome/browser/download/download_resource_throttle.h public base::SupportsWeakPtr<DownloadResourceThrottle> { base 74 chrome/browser/download/download_shelf.cc base::string16 locale_size_str = base 76 chrome/browser/download/download_shelf.cc bool rc = base::StringToInt(locale_size_str, &big_progress_icon_size); base 281 chrome/browser/download/download_shelf.cc base::MessageLoop::current()->PostDelayedTask( base 283 chrome/browser/download/download_shelf.cc base::Bind(&DownloadShelf::ShowDownloadById, base 328 chrome/browser/download/download_shelf.cc base::TimeDelta DownloadShelf::GetTransientDownloadShowDelay() { base 329 chrome/browser/download/download_shelf.cc return base::TimeDelta::FromSeconds(kDownloadShowDelayInSeconds); base 181 chrome/browser/download/download_shelf.h virtual base::TimeDelta GetTransientDownloadShowDelay(); base 200 chrome/browser/download/download_shelf.h base::WeakPtrFactory<DownloadShelf> weak_ptr_factory_; base 133 chrome/browser/download/download_shelf_context_menu.cc base::FilePath path = download_item_->GetTargetFilePath(); base 196 chrome/browser/download/download_shelf_context_menu.cc base::string16 DownloadShelfContextMenu::GetLabelForCommandId( base 228 chrome/browser/download/download_shelf_context_menu.cc return base::string16(); base 60 chrome/browser/download/download_shelf_context_menu.h virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; base 64 chrome/browser/download/download_shelf_unittest.cc base::MessageLoopForUI message_loop_; base 160 chrome/browser/download/download_shelf_unittest.cc base::RunLoop run_loop; base 184 chrome/browser/download/download_shelf_unittest.cc base::RunLoop run_loop; base 210 chrome/browser/download/download_shelf_unittest.cc base::RunLoop run_loop; base 27 chrome/browser/download/download_status_updater.cc class WasInProgressData : public base::SupportsUserData::Data { base 191 chrome/browser/download/download_status_updater_unittest.cc base::MessageLoop loop_; base 38 chrome/browser/download/download_status_updater_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 41 chrome/browser/download/download_status_updater_win.cc base::win::ScopedComPtr<ITaskbarList3> taskbar; base 78 chrome/browser/download/download_status_updater_win.cc base::Bind(platform_util::ShowItemInFolder, base 80 chrome/browser/download/download_status_updater_win.cc base::FilePath(download_path))); base 124 chrome/browser/download/download_status_updater_win.cc HMODULE metro = base::win::GetMetroModule(); base 125 chrome/browser/download/download_status_updater_win.cc base::win::MetroNotification display_notification = base 126 chrome/browser/download/download_status_updater_win.cc reinterpret_cast<base::win::MetroNotification>( base 130 chrome/browser/download/download_status_updater_win.cc base::string16 title = l10n_util::GetStringUTF16( base 132 chrome/browser/download/download_status_updater_win.cc base::string16 body = l10n_util::GetStringUTF16( base 138 chrome/browser/download/download_status_updater_win.cc notification_id += base::IntToString(g_next_notification_id++); base 41 chrome/browser/download/download_target_determiner.cc const base::FilePath::CharType kCrdownloadSuffix[] = base 49 chrome/browser/download/download_target_determiner.cc const base::Callback<void(bool)>& callback, base 53 chrome/browser/download/download_target_determiner.cc base::Time first_visit) { base 56 chrome/browser/download/download_target_determiner.cc (first_visit.LocalMidnight() < base::Time::Now().LocalMidnight())); base 71 chrome/browser/download/download_target_determiner.cc const base::FilePath& initial_virtual_path, base 180 chrome/browser/download/download_target_determiner.cc base::FilePath generated_filename = net::GenerateFileName( base 188 chrome/browser/download/download_target_determiner.cc base::FilePath target_directory; base 233 chrome/browser/download/download_target_determiner.cc base::Bind(&DownloadTargetDeterminer::NotifyExtensionsDone, base 239 chrome/browser/download/download_target_determiner.cc const base::FilePath& suggested_path, base 252 chrome/browser/download/download_target_determiner.cc base::FilePath new_path(download_prefs_->DownloadPath().Append( base 275 chrome/browser/download/download_target_determiner.cc base::Bind(&DownloadTargetDeterminer::ReserveVirtualPathDone, base 281 chrome/browser/download/download_target_determiner.cc const base::FilePath& path, bool verified) { base 301 chrome/browser/download/download_target_determiner.cc base::Bind(&DownloadTargetDeterminer::PromptUserForDownloadPathDone, base 309 chrome/browser/download/download_target_determiner.cc const base::FilePath& virtual_path) { base 332 chrome/browser/download/download_target_determiner.cc base::Bind(&DownloadTargetDeterminer::DetermineLocalPathDone, base 338 chrome/browser/download/download_target_determiner.cc const base::FilePath& local_path) { base 362 chrome/browser/download/download_target_determiner.cc base::Bind(&DownloadTargetDeterminer::DetermineMimeTypeDone, base 383 chrome/browser/download/download_target_determiner.cc const base::Closure& closure, base 397 chrome/browser/download/download_target_determiner.cc const base::Callback<void(bool)>& callback) { base 418 chrome/browser/download/download_target_determiner.cc base::Bind(&InvokeClosureAfterGetPluginCallback, base 419 chrome/browser/download/download_target_determiner.cc base::Bind(&IsHandledBySafePlugin, base 434 chrome/browser/download/download_target_determiner.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, is_handled_safely)); base 461 chrome/browser/download/download_target_determiner.cc base::Bind( base 467 chrome/browser/download/download_target_determiner.cc base::Bind(&DownloadTargetDeterminer::DetermineIfHandledSafelyDone, base 491 chrome/browser/download/download_target_determiner.cc base::Bind(&DownloadTargetDeterminer::CheckDownloadUrlDone, base 532 chrome/browser/download/download_target_determiner.cc base::Bind(&VisitCountsToVisitedBefore, base::Bind( base 612 chrome/browser/download/download_target_determiner.cc const base::FilePath::CharType kUnconfirmedFormatSuffix[] = base 617 chrome/browser/download/download_target_determiner.cc base::string16 unconfirmed_format = base 625 chrome/browser/download/download_target_determiner.cc base::FilePath::StringType file_name = base::StringPrintf( base 627 chrome/browser/download/download_target_determiner.cc base::RandInt(0, kUnconfirmedUniquifierRange)); base 651 chrome/browser/download/download_target_determiner.cc base::MessageLoop::current()->PostTask( base 652 chrome/browser/download/download_target_determiner.cc FROM_HERE, base::Bind(completion_callback_, base::Passed(&target_info))); base 671 chrome/browser/download/download_target_determiner.cc const base::FilePath& filename) const { base 792 chrome/browser/download/download_target_determiner.cc const base::FilePath& initial_virtual_path, base 804 chrome/browser/download/download_target_determiner.cc base::FilePath DownloadTargetDeterminer::GetCrDownloadPath( base 805 chrome/browser/download/download_target_determiner.cc const base::FilePath& suggested_path) { base 806 chrome/browser/download/download_target_determiner.cc return base::FilePath(suggested_path.value() + kCrdownloadSuffix); base 54 chrome/browser/download/download_target_determiner.h typedef base::Callback<void(scoped_ptr<DownloadTargetInfo>)> base 74 chrome/browser/download/download_target_determiner.h const base::FilePath& initial_virtual_path, base 80 chrome/browser/download/download_target_determiner.h static base::FilePath GetCrDownloadPath(const base::FilePath& suggested_path); base 129 chrome/browser/download/download_target_determiner.h const base::FilePath& initial_virtual_path, base 160 chrome/browser/download/download_target_determiner.h const base::FilePath& new_path, base 170 chrome/browser/download/download_target_determiner.h void ReserveVirtualPathDone(const base::FilePath& path, bool verified); base 179 chrome/browser/download/download_target_determiner.h void PromptUserForDownloadPathDone(const base::FilePath& virtual_path); base 190 chrome/browser/download/download_target_determiner.h void DetermineLocalPathDone(const base::FilePath& local_path); base 259 chrome/browser/download/download_target_determiner.h bool ShouldPromptForDownload(const base::FilePath& filename) const; base 285 chrome/browser/download/download_target_determiner.h base::FilePath virtual_path_; base 286 chrome/browser/download/download_target_determiner.h base::FilePath local_path_; base 287 chrome/browser/download/download_target_determiner.h base::FilePath intermediate_path_; base 298 chrome/browser/download/download_target_determiner.h base::WeakPtrFactory<DownloadTargetDeterminer> weak_ptr_factory_; base 15 chrome/browser/download/download_target_determiner_delegate.h namespace base { base 33 chrome/browser/download/download_target_determiner_delegate.h typedef base::Callback<void( base 34 chrome/browser/download/download_target_determiner_delegate.h const base::FilePath& new_virtual_path, base 42 chrome/browser/download/download_target_determiner_delegate.h typedef base::Callback<void(const base::FilePath& reserved_path, base 50 chrome/browser/download/download_target_determiner_delegate.h typedef base::Callback<void(const base::FilePath& virtual_path)> base 57 chrome/browser/download/download_target_determiner_delegate.h typedef base::Callback<void(const base::FilePath&)> LocalPathCallback; base 62 chrome/browser/download/download_target_determiner_delegate.h typedef base::Callback<void(content::DownloadDangerType danger_type)> base 68 chrome/browser/download/download_target_determiner_delegate.h typedef base::Callback<void(const std::string&)> GetFileMimeTypeCallback; base 74 chrome/browser/download/download_target_determiner_delegate.h const base::FilePath& virtual_path, base 92 chrome/browser/download/download_target_determiner_delegate.h const base::FilePath& virtual_path, base 101 chrome/browser/download/download_target_determiner_delegate.h const base::FilePath& virtual_path, base 109 chrome/browser/download/download_target_determiner_delegate.h const base::FilePath& virtual_path, base 115 chrome/browser/download/download_target_determiner_delegate.h const base::FilePath& virtual_path, base 119 chrome/browser/download/download_target_determiner_delegate.h virtual void GetFileMimeType(const base::FilePath& path, base 78 chrome/browser/download/download_target_determiner_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(arg0, result0)); base 83 chrome/browser/download/download_target_determiner_unittest.cc base::MessageLoop::current()->PostTask( base 84 chrome/browser/download/download_target_determiner_unittest.cc FROM_HERE, base::Bind(arg0, result0, result1)); base 118 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType* forced_file_path; base 121 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType* expected_local_path; base 136 chrome/browser/download/download_target_determiner_unittest.cc void(content::DownloadItem*, const base::FilePath&, base 139 chrome/browser/download/download_target_determiner_unittest.cc void(content::DownloadItem*, const base::FilePath&, base 142 chrome/browser/download/download_target_determiner_unittest.cc void(content::DownloadItem*, const base::FilePath&, base 145 chrome/browser/download/download_target_determiner_unittest.cc void(DownloadItem*, const base::FilePath&, base 148 chrome/browser/download/download_target_determiner_unittest.cc void(DownloadItem*, const base::FilePath&, bool, base 152 chrome/browser/download/download_target_determiner_unittest.cc void(const base::FilePath&, base 161 chrome/browser/download/download_target_determiner_unittest.cc ScheduleCallback2(base::FilePath(), base 179 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& virtual_path, base 184 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, const base::FilePath& suggested_path, base 187 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, const base::FilePath& virtual_path, base 203 chrome/browser/download/download_target_determiner_unittest.cc void EnableAutoOpenBasedOnExtension(const base::FilePath& path); base 206 chrome/browser/download/download_target_determiner_unittest.cc void SetManagedDownloadPath(const base::FilePath& path); base 213 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath GetPathInDownloadDir(const base::FilePath::StringType& path); base 217 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& initial_virtual_path, base 223 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& initial_virtual_path, base 238 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& test_download_dir() const { base 242 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& test_virtual_dir() const { base 258 chrome/browser/download/download_target_determiner_unittest.cc base::ScopedTempDir test_download_dir_; base 259 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath test_virtual_dir_; base 287 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath forced_file_path = base 303 chrome/browser/download/download_target_determiner_unittest.cc .WillByDefault(ReturnRefOfCopy(base::FilePath())); base 319 chrome/browser/download/download_target_determiner_unittest.cc .WillByDefault(ReturnRefOfCopy(base::FilePath())); base 338 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& path) { base 343 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& path) { base 346 chrome/browser/download/download_target_determiner_unittest.cc base::CreateFilePathValue(path)); base 354 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath DownloadTargetDeterminerTest::GetPathInDownloadDir( base 355 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::StringType& relative_path) { base 357 chrome/browser/download/download_target_determiner_unittest.cc return base::FilePath(); base 358 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath full_path(test_download_dir().Append(relative_path)); base 364 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& initial_virtual_path, base 372 chrome/browser/download/download_target_determiner_unittest.cc const base::Closure& closure, base 376 chrome/browser/download/download_target_determiner_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, closure); base 381 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& initial_virtual_path, base 384 chrome/browser/download/download_target_determiner_unittest.cc base::RunLoop run_loop; base 387 chrome/browser/download/download_target_determiner_unittest.cc base::Bind(&CompletionCallbackWrapper, base 402 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_cases[i], base::FilePath(), item.get()); base 409 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath expected_local_path( base 451 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& virtual_path, base 460 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, const base::FilePath& suggested_path, base 467 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, const base::FilePath& virtual_path, base 477 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& path, base 480 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath new_path = base 481 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath() base 491 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& path, base 559 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo.crx")))); base 579 chrome/browser/download/download_target_determiner_unittest.cc .WillByDefault(WithArg<2>(ScheduleCallback(base::FilePath()))); base 795 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath prompt_path = base 807 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath prompt_path = base 818 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath last_selected_dir = test_virtual_dir().AppendASCII("foo"); base 819 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath virtual_path = last_selected_dir.AppendASCII("foo.txt"); base 956 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, base::FilePath(), item.get()); base 1009 chrome/browser/download/download_target_determiner_unittest.cc .WillOnce(WithArg<2>(ScheduleCallback(base::FilePath()))); base 1078 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo.crx")))); base 1086 chrome/browser/download/download_target_determiner_unittest.cc base::Time time_of_visit( base 1087 chrome/browser/download/download_target_determiner_unittest.cc base::Time::Now().LocalMidnight() - base::TimeDelta::FromSeconds(10)); base 1145 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath(FILE_PATH_LITERAL("dummy.dummy"))); base 1368 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath overridden_path(FILE_PATH_LITERAL("overridden/foo.txt")); base 1369 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath full_overridden_path = base 1382 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, base::FilePath(), item.get()); base 1393 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, base::FilePath(), item.get()); base 1415 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath overridden_path(FILE_PATH_LITERAL("overridden/foo.txt")); base 1416 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath full_overridden_path = base 1430 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, base::FilePath(), item.get()); base 1435 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType* kInitialPath = base 1472 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType* kInitialPath = base 1535 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo.crx")))); base 1541 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath expected_path = base 1563 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType* kInitialPath = base 1579 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath expected_path = base 1603 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType* kInitialPath = base 1651 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo.crx")))); base 1656 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath expected_path = base 1678 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType kInitialPath[] = base 1687 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType* initial_intermediate_path; base 1691 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType* expected_intermediate_path; base 1787 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo.crx")))); base 1808 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath expected_intermediate_path = base 1820 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType kInitialPath[] = base 1927 chrome/browser/download/download_target_determiner_unittest.cc const base::Closure& closure, base 1938 chrome/browser/download/download_target_determiner_unittest.cc base::RunLoop run_loop; base 1940 chrome/browser/download/download_target_determiner_unittest.cc base::Bind(&DummyGetPluginsCallback, run_loop.QuitClosure())); base 1949 chrome/browser/download/download_target_determiner_unittest.cc MOCK_METHOD1(MockPluginAvailable, bool(const base::FilePath&)); base 1961 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& path) OVERRIDE { base 1970 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& path, base 1978 chrome/browser/download/download_target_determiner_unittest.cc content::WebPluginInfo plugin_info(base::string16(), base 1980 chrome/browser/download/download_target_determiner_unittest.cc base::string16(), base 1981 chrome/browser/download/download_target_determiner_unittest.cc base::string16()); base 1996 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath& path() { return plugin_path_; } base 2000 chrome/browser/download/download_target_determiner_unittest.cc base::FilePath plugin_path_; base 2033 chrome/browser/download/download_target_determiner_unittest.cc base::ShadowingAtExitManager at_exit_manager_; base 2042 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType kInitialPath[] = base 2127 chrome/browser/download/download_target_determiner_unittest.cc const base::FilePath::CharType kInitialPath[] = base 19 chrome/browser/download/download_target_info.h base::FilePath target_path; base 33 chrome/browser/download/download_target_info.h base::FilePath intermediate_path; base 46 chrome/browser/download/download_test_file_activity_observer.cc base::WeakPtr<MockDownloadManagerDelegate> GetWeakPtr() { base 53 chrome/browser/download/download_test_file_activity_observer.cc const base::FilePath& suggested_path, base 57 chrome/browser/download/download_test_file_activity_observer.cc base::MessageLoop::current()->PostTask( base 58 chrome/browser/download/download_test_file_activity_observer.cc FROM_HERE, base::Bind(callback, (file_chooser_enabled_ ? suggested_path base 59 chrome/browser/download/download_test_file_activity_observer.cc : base::FilePath()))); base 67 chrome/browser/download/download_test_file_activity_observer.cc base::WeakPtrFactory<MockDownloadManagerDelegate> weak_ptr_factory_; base 37 chrome/browser/download/download_test_file_activity_observer.h base::WeakPtr<MockDownloadManagerDelegate> test_delegate_; base 30 chrome/browser/download/download_ui_controller_unittest.cc explicit TestDelegate(base::WeakPtr<content::DownloadItem*> receiver); base 36 chrome/browser/download/download_ui_controller_unittest.cc base::WeakPtr<content::DownloadItem*> receiver_; base 39 chrome/browser/download/download_ui_controller_unittest.cc TestDelegate::TestDelegate(base::WeakPtr<content::DownloadItem*> receiver) base 77 chrome/browser/download/download_ui_controller_unittest.cc base::WeakPtrFactory<content::DownloadItem*> receiver_factory_; base 122 chrome/browser/download/download_ui_controller_unittest.cc .WillOnce(ReturnRefOfCopy(base::FilePath())); base 136 chrome/browser/download/download_ui_controller_unittest.cc .WillOnce(ReturnRefOfCopy(base::FilePath(FILE_PATH_LITERAL("foo")))); base 149 chrome/browser/download/download_ui_controller_unittest.cc .WillOnce(ReturnRefOfCopy(base::FilePath(FILE_PATH_LITERAL("foo")))); base 48 chrome/browser/download/drag_download_item_views.cc base::FilePath full_path = download->GetTargetFilePath(); base 79 chrome/browser/download/save_package_file_picker.cc const base::FilePath& drive_path, base 91 chrome/browser/download/save_package_file_picker.cc const base::FilePath& drive_path, base 92 chrome/browser/download/save_package_file_picker.cc const base::FilePath& drive_tmp_download_path) { base 95 chrome/browser/download/save_package_file_picker.cc callback.Run(drive_tmp_download_path, save_type, base::Bind( base 113 chrome/browser/download/save_package_file_picker.cc const base::FilePath& suggested_path, base 114 chrome/browser/download/save_package_file_picker.cc const base::FilePath::StringType& default_extension, base 122 chrome/browser/download/save_package_file_picker.cc base::FilePath suggested_path_copy = suggested_path; base 123 chrome/browser/download/save_package_file_picker.cc base::FilePath::StringType default_extension_copy = default_extension; base 146 chrome/browser/download/save_package_file_picker.cc base::FilePath::StringType extra_extension; base 209 chrome/browser/download/save_package_file_picker.cc base::string16(), base 231 chrome/browser/download/save_package_file_picker.cc const base::FilePath& path, int index, void* unused_params) { base 258 chrome/browser/download/save_package_file_picker.cc base::FilePath path_copy(path); base 275 chrome/browser/download/save_package_file_picker.cc path_copy, NULL, base::Bind(&ContinueSettingUpDriveDownload, base 285 chrome/browser/download/save_package_file_picker.cc base::Bind(&OnSavePackageDownloadCreated)); base 19 chrome/browser/download/save_package_file_picker.h const base::FilePath& suggested_path, base 20 chrome/browser/download/save_package_file_picker.h const base::FilePath::StringType& default_extension, base 32 chrome/browser/download/save_package_file_picker.h virtual void FileSelected(const base::FilePath& path, base 57 chrome/browser/download/save_page_browsertest.cc typedef base::Callback<bool( base 90 chrome/browser/download/save_page_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 129 chrome/browser/download/save_page_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 142 chrome/browser/download/save_page_browsertest.cc const base::FilePath& expected_path, base 178 chrome/browser/download/save_page_browsertest.cc const base::FilePath::CharType kTestDir[] = FILE_PATH_LITERAL("save_page"); base 230 chrome/browser/download/save_page_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 237 chrome/browser/download/save_page_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 250 chrome/browser/download/save_page_browsertest.cc const base::Closure& callback) base 273 chrome/browser/download/save_page_browsertest.cc base::Closure callback_; base 297 chrome/browser/download/save_page_browsertest.cc base::Bind(&chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 302 chrome/browser/download/save_page_browsertest.cc base::FilePath(kTestDir).AppendASCII(prefix + ".htm")); base 309 chrome/browser/download/save_page_browsertest.cc base::FilePath* full_file_name, base 310 chrome/browser/download/save_page_browsertest.cc base::FilePath* dir) { base 366 chrome/browser/download/save_page_browsertest.cc base::FilePath test_dir_; base 369 chrome/browser/download/save_page_browsertest.cc base::ScopedTempDir save_dir_; base 387 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name, dir; base 389 chrome/browser/download/save_page_browsertest.cc DownloadPersistedObserver persisted(browser()->profile(), base::Bind( base 403 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::PathExists(full_file_name)); base 404 chrome/browser/download/save_page_browsertest.cc EXPECT_FALSE(base::PathExists(dir)); base 405 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::ContentsEqual(test_dir_.Append(base::FilePath( base 417 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name, dir; base 420 chrome/browser/download/save_page_browsertest.cc DownloadPersistedObserver persisted(browser()->profile(), base::Bind( base 454 chrome/browser/download/save_page_browsertest.cc const base::Closure& user_complete_callback) OVERRIDE { base 476 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name, dir; base 489 chrome/browser/download/save_page_browsertest.cc EXPECT_FALSE(base::PathExists(full_file_name)); base 490 chrome/browser/download/save_page_browsertest.cc EXPECT_FALSE(base::PathExists(dir)); base 500 chrome/browser/download/save_page_browsertest.cc base::FilePath file_name(FILE_PATH_LITERAL("a.htm")); base 502 chrome/browser/download/save_page_browsertest.cc base::FilePath(kTestDir).Append(file_name)); base 504 chrome/browser/download/save_page_browsertest.cc base::FilePath(kTestDir).Append(file_name)); base 507 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name, dir; base 509 chrome/browser/download/save_page_browsertest.cc DownloadPersistedObserver persisted(browser()->profile(), base::Bind( base 525 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::PathExists(full_file_name)); base 526 chrome/browser/download/save_page_browsertest.cc EXPECT_FALSE(base::PathExists(dir)); base 527 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::ContentsEqual( base 528 chrome/browser/download/save_page_browsertest.cc test_dir_.Append(base::FilePath(kTestDir)).Append(file_name), base 541 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name, dir; base 543 chrome/browser/download/save_page_browsertest.cc DownloadPersistedObserver persisted(browser()->profile(), base::Bind( base 559 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::PathExists(full_file_name)); base 560 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::PathExists(dir)); base 561 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::TextContentsEqual( base 562 chrome/browser/download/save_page_browsertest.cc test_dir_.Append(base::FilePath(kTestDir)).AppendASCII("b.saved1.htm"), base 564 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::ContentsEqual( base 565 chrome/browser/download/save_page_browsertest.cc test_dir_.Append(base::FilePath(kTestDir)).AppendASCII("1.png"), base 567 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::ContentsEqual( base 568 chrome/browser/download/save_page_browsertest.cc test_dir_.Append(base::FilePath(kTestDir)).AppendASCII("1.css"), base 592 chrome/browser/download/save_page_browsertest.cc base::FilePath(kTestDir).AppendASCII("b.htm")); base 597 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name, dir; base 634 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name = save_dir_.path().AppendASCII( base 636 chrome/browser/download/save_page_browsertest.cc base::FilePath dir = save_dir_.path().AppendASCII( base 638 chrome/browser/download/save_page_browsertest.cc DownloadPersistedObserver persisted(browser()->profile(), base::Bind( base 655 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::PathExists(full_file_name)); base 656 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::PathExists(dir)); base 657 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::TextContentsEqual( base 658 chrome/browser/download/save_page_browsertest.cc test_dir_.Append(base::FilePath(kTestDir)).AppendASCII("b.saved2.htm"), base 660 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::ContentsEqual( base 661 chrome/browser/download/save_page_browsertest.cc test_dir_.Append(base::FilePath(kTestDir)).AppendASCII("1.png"), base 663 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::ContentsEqual( base 664 chrome/browser/download/save_page_browsertest.cc test_dir_.Append(base::FilePath(kTestDir)).AppendASCII("1.css"), base 677 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name, dir; base 679 chrome/browser/download/save_page_browsertest.cc DownloadPersistedObserver persisted(browser()->profile(), base::Bind( base 706 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::PathExists(full_file_name)); base 707 chrome/browser/download/save_page_browsertest.cc EXPECT_FALSE(base::PathExists(dir)); base 708 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::ContentsEqual(test_dir_.Append(base::FilePath( base 717 chrome/browser/download/save_page_browsertest.cc const base::FilePath file_name(FILE_PATH_LITERAL("c.htm")); base 718 chrome/browser/download/save_page_browsertest.cc base::FilePath download_dir = base 721 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name = base 723 chrome/browser/download/save_page_browsertest.cc base::FilePath dir = download_dir.AppendASCII("test.exe_files"); base 725 chrome/browser/download/save_page_browsertest.cc EXPECT_FALSE(base::PathExists(full_file_name)); base 727 chrome/browser/download/save_page_browsertest.cc base::FilePath(kTestDir).Append(file_name)); base 739 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::PathExists(full_file_name)); base 741 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::DieFileDie(full_file_name, false)); base 742 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::DieFileDie(dir, true)); base 764 chrome/browser/download/save_page_browsertest.cc base::FilePath download_dir = DownloadPrefs::FromDownloadManager( base 766 chrome/browser/download/save_page_browsertest.cc base::FilePath full_file_name = download_dir.AppendASCII(std::string( base 769 chrome/browser/download/save_page_browsertest.cc DownloadPersistedObserver persisted(browser()->profile(), base::Bind( base 782 chrome/browser/download/save_page_browsertest.cc ASSERT_TRUE(base::PathExists(full_file_name)); base 784 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::GetFileSize(full_file_name, &actual_file_size)); base 799 chrome/browser/download/save_page_browsertest.cc base::FilePath download_dir = DownloadPrefs::FromDownloadManager( base 801 chrome/browser/download/save_page_browsertest.cc base::FilePath filename = download_dir.AppendASCII("dataurl.txt"); base 802 chrome/browser/download/save_page_browsertest.cc ASSERT_TRUE(base::PathExists(filename)); base 804 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::ReadFileToString(filename, &contents)); base 58 chrome/browser/download/test_download_shelf.cc base::TimeDelta TestDownloadShelf::GetTransientDownloadShowDelay() { base 59 chrome/browser/download/test_download_shelf.cc return base::TimeDelta(); base 39 chrome/browser/download/test_download_shelf.h virtual base::TimeDelta GetTransientDownloadShowDelay() OVERRIDE; base 168 chrome/browser/drive/drive_api_service.cc scoped_refptr<base::TaskRunner> blocking_task_runner, base 181 chrome/browser/drive/drive_api_service.cc base::PostTaskAndReplyWithResult( base 184 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileListToResourceList, base::Passed(&value)), base 185 chrome/browser/drive/drive_api_service.cc base::Bind(&DidConvertToResourceListOnBlockingPool, callback)); base 197 chrome/browser/drive/drive_api_service.cc scoped_refptr<base::TaskRunner> blocking_task_runner, base 210 chrome/browser/drive/drive_api_service.cc base::PostTaskAndReplyWithResult( base 213 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertChangeListToResourceList, base::Passed(&value)), base 214 chrome/browser/drive/drive_api_service.cc base::Bind(&DidConvertToResourceListOnBlockingPool, callback)); base 286 chrome/browser/drive/drive_api_service.cc base::SequencedTaskRunner* blocking_task_runner, base 343 chrome/browser/drive/drive_api_service.cc return base::Bind(&drive::util::CanonicalizeResourceId); base 357 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileListToResourceListOnBlockingPoolAndRun, base 381 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileListToResourceListOnBlockingPoolAndRun, base 384 chrome/browser/drive/drive_api_service.cc request->set_q(base::StringPrintf( base 400 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileListToResourceListOnBlockingPoolAndRun, base 417 chrome/browser/drive/drive_api_service.cc base::StringAppendF(&query, "title = '%s'", base 420 chrome/browser/drive/drive_api_service.cc base::StringAppendF( base 428 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileListToResourceListOnBlockingPoolAndRun, base 444 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertChangeListToResourceListOnBlockingPoolAndRun, base 461 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertChangeListToResourceListOnBlockingPoolAndRun, base 477 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileListToResourceListOnBlockingPoolAndRun, base 492 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileEntryToResourceEntryAndRun, callback)); base 514 chrome/browser/drive/drive_api_service.cc base::Bind(&util::ParseShareUrlAndRun, base 540 chrome/browser/drive/drive_api_service.cc const base::FilePath& local_cache_path, base 581 chrome/browser/drive/drive_api_service.cc base::Bind(&EntryActionCallbackAdapter, callback)); base 597 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileEntryToResourceEntryAndRun, callback)); base 611 chrome/browser/drive/drive_api_service.cc const base::Time& last_modified, base 618 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileEntryToResourceEntryAndRun, callback)); base 631 chrome/browser/drive/drive_api_service.cc const base::Time& last_modified, base 632 chrome/browser/drive/drive_api_service.cc const base::Time& last_viewed_by_me, base 639 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileEntryToResourceEntryAndRun, callback)); base 668 chrome/browser/drive/drive_api_service.cc base::Bind(&EntryActionCallbackAdapter, callback)); base 756 chrome/browser/drive/drive_api_service.cc const base::FilePath& local_file_path, base 771 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileResourceToResourceEntryForUploadRangeAndRun, base 787 chrome/browser/drive/drive_api_service.cc base::Bind(&ConvertFileResourceToResourceEntryForUploadRangeAndRun, base 807 chrome/browser/drive/drive_api_service.cc base::Bind(&ExtractOpenUrlAndRun, app_id, callback)); base 815 chrome/browser/drive/drive_api_service.cc base::Bind(&ExtractOpenUrlAndRun, app_id, callback)); base 22 chrome/browser/drive/drive_api_service.h namespace base { base 57 chrome/browser/drive/drive_api_service.h base::SequencedTaskRunner* blocking_task_runner, base 117 chrome/browser/drive/drive_api_service.h const base::FilePath& local_cache_path, base 126 chrome/browser/drive/drive_api_service.h const base::Time& last_modified, base 132 chrome/browser/drive/drive_api_service.h const base::Time& last_modified, base 133 chrome/browser/drive/drive_api_service.h const base::Time& last_viewed_by_me, base 171 chrome/browser/drive/drive_api_service.h const base::FilePath& local_file_path, base 197 chrome/browser/drive/drive_api_service.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 163 chrome/browser/drive/drive_api_util.cc base::string16 query = base::UTF8ToUTF16(original_query); base 164 chrome/browser/drive/drive_api_util.cc const base::string16 kDelimiter( base 165 chrome/browser/drive/drive_api_util.cc base::kWhitespaceUTF16 + base 166 chrome/browser/drive/drive_api_util.cc base::string16(1, static_cast<base::char16>('"'))); base 169 chrome/browser/drive/drive_api_util.cc for (size_t index = query.find_first_not_of(base::kWhitespaceUTF16); base 170 chrome/browser/drive/drive_api_util.cc index != base::string16::npos; base 171 chrome/browser/drive/drive_api_util.cc index = query.find_first_not_of(base::kWhitespaceUTF16, index)) { base 181 chrome/browser/drive/drive_api_util.cc base::string16 token; base 186 chrome/browser/drive/drive_api_util.cc if (end_token == base::string16::npos) { base 199 chrome/browser/drive/drive_api_util.cc if (end_token == base::string16::npos) { base 218 chrome/browser/drive/drive_api_util.cc base::StringAppendF( base 222 chrome/browser/drive/drive_api_util.cc EscapeQueryStringValue(base::UTF16ToUTF8(token)).c_str()); base 244 chrome/browser/drive/drive_api_util.cc return base::Bind(&Identity); base 252 chrome/browser/drive/drive_api_util.cc scoped_ptr<base::Value> value) { base 319 chrome/browser/drive/drive_api_util.cc file->set_shared_with_me_date(base::Time::Now()); base 535 chrome/browser/drive/drive_api_util.cc std::string GetMd5Digest(const base::FilePath& file_path) { base 538 chrome/browser/drive/drive_api_util.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 542 chrome/browser/drive/drive_api_util.cc base::MD5Context context; base 543 chrome/browser/drive/drive_api_util.cc base::MD5Init(&context); base 560 chrome/browser/drive/drive_api_util.cc base::MD5Update(&context, base::StringPiece(buffer.get(), result)); base 563 chrome/browser/drive/drive_api_util.cc base::MD5Digest digest; base 564 chrome/browser/drive/drive_api_util.cc base::MD5Final(&digest, &context); base 18 chrome/browser/drive/drive_api_util.h namespace base { base 81 chrome/browser/drive/drive_api_util.h scoped_ptr<base::Value> value); base 124 chrome/browser/drive/drive_api_util.h std::string GetMd5Digest(const base::FilePath& file_path); base 317 chrome/browser/drive/drive_api_util_unittest.cc base::ScopedTempDir temp_dir; base 320 chrome/browser/drive/drive_api_util_unittest.cc base::FilePath path = temp_dir.path().AppendASCII("test.txt"); base 324 chrome/browser/drive/drive_api_util_unittest.cc EXPECT_EQ(base::MD5String(kTestData), GetMd5Digest(path)); base 87 chrome/browser/drive/drive_app_registry.cc const base::FilePath::StringType& file_extension, base 95 chrome/browser/drive/drive_app_registry.cc base::FilePath(file_extension.substr(1)).AsUTF8Unsafe(); base 132 chrome/browser/drive/drive_app_registry.cc base::Bind(&DriveAppRegistry::UpdateAfterGetAppList, base 196 chrome/browser/drive/drive_app_registry.cc base::Bind(&DriveAppRegistry::OnAppUninstalled, base 66 chrome/browser/drive/drive_app_registry.h typedef base::Callback<void(google_apis::GDataErrorCode)> UninstallCallback; base 76 chrome/browser/drive/drive_app_registry.h void GetAppsForFile(const base::FilePath::StringType& file_extension, base 126 chrome/browser/drive/drive_app_registry.h base::WeakPtrFactory<DriveAppRegistry> weak_ptr_factory_; base 50 chrome/browser/drive/drive_app_registry_unittest.cc base::RunLoop().RunUntilIdle(); base 66 chrome/browser/drive/drive_app_registry_unittest.cc base::RunLoop().RunUntilIdle(); base 70 chrome/browser/drive/drive_app_registry_unittest.cc base::FilePath ext_file(FILE_PATH_LITERAL("drive/file.exe")); base 77 chrome/browser/drive/drive_app_registry_unittest.cc apps_registry_->GetAppsForFile(base::FilePath::StringType(), base 85 chrome/browser/drive/drive_app_registry_unittest.cc base::FilePath::StringType(), "text/html", &secondary_app); base 91 chrome/browser/drive/drive_app_registry_unittest.cc scoped_ptr<base::Value> app_info_value = base 100 chrome/browser/drive/drive_app_registry_unittest.cc base::FilePath ext_file(FILE_PATH_LITERAL("drive/file.exe")); base 114 chrome/browser/drive/drive_app_registry_unittest.cc base::RunLoop().RunUntilIdle(); base 158 chrome/browser/drive/drive_app_registry_unittest.cc base::RunLoop().RunUntilIdle(); base 169 chrome/browser/drive/drive_app_registry_unittest.cc base::RunLoop().RunUntilIdle(); base 181 chrome/browser/drive/drive_app_registry_unittest.cc base::RunLoop().RunUntilIdle(); base 105 chrome/browser/drive/drive_notification_manager.cc base::TimeDelta::FromSeconds(interval_secs), base 106 chrome/browser/drive/drive_notification_manager.cc base::Bind(&DriveNotificationManager::NotifyObserversToUpdate, base 88 chrome/browser/drive/drive_notification_manager.h base::Timer polling_timer_; base 92 chrome/browser/drive/drive_notification_manager.h base::WeakPtrFactory<DriveNotificationManager> weak_ptr_factory_; base 16 chrome/browser/drive/drive_service_interface.h namespace base { base 23 chrome/browser/drive/drive_service_interface.h typedef base::Callback<std::string( base 53 chrome/browser/drive/drive_service_interface.h base::Time modified_date; base 57 chrome/browser/drive/drive_service_interface.h base::Time last_viewed_by_me_date; base 67 chrome/browser/drive/drive_service_interface.h base::Time modified_date; base 71 chrome/browser/drive/drive_service_interface.h base::Time last_viewed_by_me_date; base 94 chrome/browser/drive/drive_service_interface.h base::Time modified_date; base 98 chrome/browser/drive/drive_service_interface.h base::Time last_viewed_by_me_date; base 282 chrome/browser/drive/drive_service_interface.h const base::Time& last_modified, base 297 chrome/browser/drive/drive_service_interface.h const base::Time& last_modified, base 298 chrome/browser/drive/drive_service_interface.h const base::Time& last_viewed_by_me, base 354 chrome/browser/drive/drive_service_interface.h const base::FilePath& local_cache_path, base 391 chrome/browser/drive/drive_service_interface.h const base::FilePath& local_file_path, base 49 chrome/browser/drive/drive_uploader.cc UploadFileInfo(const base::FilePath& local_path, base 73 chrome/browser/drive/drive_uploader.cc "], content_length=[" + base::UintToString(content_length) + base 79 chrome/browser/drive/drive_uploader.cc return base::Bind(&UploadFileInfo::Cancel, weak_ptr_factory_.GetWeakPtr()); base 83 chrome/browser/drive/drive_uploader.cc const base::FilePath file_path; base 123 chrome/browser/drive/drive_uploader.cc base::WeakPtrFactory<UploadFileInfo> weak_ptr_factory_; base 128 chrome/browser/drive/drive_uploader.cc base::TaskRunner* blocking_task_runner) base 138 chrome/browser/drive/drive_uploader.cc const base::FilePath& local_file_path, base 156 chrome/browser/drive/drive_uploader.cc base::Bind(&DriveUploader::StartInitiateUploadNewFile, base 165 chrome/browser/drive/drive_uploader.cc const base::FilePath& local_file_path, base 181 chrome/browser/drive/drive_uploader.cc base::Bind(&DriveUploader::StartInitiateUploadExistingFile, base 189 chrome/browser/drive/drive_uploader.cc const base::FilePath& local_file_path, base 205 chrome/browser/drive/drive_uploader.cc base::Bind(&DriveUploader::StartGetUploadStatus, base 216 chrome/browser/drive/drive_uploader.cc base::PostTaskAndReplyWithResult( base 219 chrome/browser/drive/drive_uploader.cc base::Bind(&base::GetFileSize, base 222 chrome/browser/drive/drive_uploader.cc base::Bind(&DriveUploader::StartUploadFileAfterGetFileSize, base 224 chrome/browser/drive/drive_uploader.cc base::Passed(&upload_file_info), base 262 chrome/browser/drive/drive_uploader.cc base::Bind(&DriveUploader::OnUploadLocationReceived, base 264 chrome/browser/drive/drive_uploader.cc base::Passed(&upload_file_info))); base 279 chrome/browser/drive/drive_uploader.cc base::Bind(&DriveUploader::OnUploadLocationReceived, base 281 chrome/browser/drive/drive_uploader.cc base::Passed(&upload_file_info))); base 314 chrome/browser/drive/drive_uploader.cc base::Bind(&DriveUploader::OnUploadRangeResponseReceived, base 316 chrome/browser/drive/drive_uploader.cc base::Passed(&upload_file_info))); base 345 chrome/browser/drive/drive_uploader.cc base::Bind(&DriveUploader::OnUploadRangeResponseReceived, base 347 chrome/browser/drive/drive_uploader.cc base::Passed(&upload_file_info)), base 348 chrome/browser/drive/drive_uploader.cc base::Bind(&DriveUploader::OnUploadProgress, base 20 chrome/browser/drive/drive_uploader.h namespace base { base 36 chrome/browser/drive/drive_uploader.h typedef base::Callback<void( base 75 chrome/browser/drive/drive_uploader.h const base::FilePath& local_file_path, base 95 chrome/browser/drive/drive_uploader.h const base::FilePath& local_file_path, base 109 chrome/browser/drive/drive_uploader.h const base::FilePath& local_file_path, base 118 chrome/browser/drive/drive_uploader.h base::TaskRunner* blocking_task_runner); base 124 chrome/browser/drive/drive_uploader.h const base::FilePath& local_file_path, base 132 chrome/browser/drive/drive_uploader.h const base::FilePath& local_file_path, base 139 chrome/browser/drive/drive_uploader.h const base::FilePath& local_file_path, base 146 chrome/browser/drive/drive_uploader.h typedef base::Callback<void(scoped_ptr<UploadFileInfo> upload_file_info)> base 204 chrome/browser/drive/drive_uploader.h scoped_refptr<base::TaskRunner> blocking_task_runner_; base 208 chrome/browser/drive/drive_uploader.h base::WeakPtrFactory<DriveUploader> weak_ptr_factory_; base 60 chrome/browser/drive/drive_uploader_unittest.cc const base::FilePath& expected_upload_file, base 91 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 92 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, HTTP_SUCCESS, GURL(kTestUploadNewFileURL))); base 107 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 108 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, HTTP_PRECONDITION, GURL())); base 114 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 115 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, HTTP_SUCCESS, GURL(kTestUploadExistingFileURL))); base 126 chrome/browser/drive/drive_uploader_unittest.cc const base::FilePath& local_file_path, base 155 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 156 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(progress_callback, chunk_size, chunk_size)); base 189 chrome/browser/drive/drive_uploader_unittest.cc base::DictionaryValue dict; base 190 chrome/browser/drive/drive_uploader_unittest.cc dict.Set("id.$t", new base::StringValue(kTestDummyId)); base 197 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 198 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, response, base::Passed(&entry))); base 201 chrome/browser/drive/drive_uploader_unittest.cc const base::FilePath expected_upload_file_; base 217 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 218 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, GDATA_NO_CONNECTION, GURL())); base 228 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 229 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, GDATA_NO_CONNECTION, GURL())); base 240 chrome/browser/drive/drive_uploader_unittest.cc const base::FilePath& local_file_path, base 258 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 259 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, HTTP_SUCCESS, GURL(kTestUploadNewFileURL))); base 269 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 270 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, HTTP_SUCCESS, GURL(kTestUploadExistingFileURL))); base 281 chrome/browser/drive/drive_uploader_unittest.cc const base::FilePath& local_file_path, base 284 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 285 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, base 287 chrome/browser/drive/drive_uploader_unittest.cc base::Passed(scoped_ptr<ResourceEntry>()))); base 299 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 300 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(callback, base 302 chrome/browser/drive/drive_uploader_unittest.cc base::Passed(scoped_ptr<ResourceEntry>()))); base 315 chrome/browser/drive/drive_uploader_unittest.cc base::ScopedTempDir temp_dir_; base 321 chrome/browser/drive/drive_uploader_unittest.cc base::FilePath local_path; base 332 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoopProxy::current().get()); base 341 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(&test_util::AppendProgressCallbackResult, base 343 chrome/browser/drive/drive_uploader_unittest.cc base::RunLoop().RunUntilIdle(); base 356 chrome/browser/drive/drive_uploader_unittest.cc base::FilePath local_path; base 367 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoopProxy::current().get()); base 376 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(&test_util::AppendProgressCallbackResult, base 378 chrome/browser/drive/drive_uploader_unittest.cc base::RunLoop().RunUntilIdle(); base 393 chrome/browser/drive/drive_uploader_unittest.cc base::FilePath local_path; base 404 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoopProxy::current().get()); base 412 chrome/browser/drive/drive_uploader_unittest.cc base::RunLoop().RunUntilIdle(); base 420 chrome/browser/drive/drive_uploader_unittest.cc base::FilePath local_path; base 431 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoopProxy::current().get()); base 441 chrome/browser/drive/drive_uploader_unittest.cc base::RunLoop().RunUntilIdle(); base 448 chrome/browser/drive/drive_uploader_unittest.cc base::FilePath local_path; base 460 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoopProxy::current().get()); base 470 chrome/browser/drive/drive_uploader_unittest.cc base::RunLoop().RunUntilIdle(); base 477 chrome/browser/drive/drive_uploader_unittest.cc base::FilePath local_path; base 488 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoopProxy::current().get()); base 496 chrome/browser/drive/drive_uploader_unittest.cc base::RunLoop().RunUntilIdle(); base 503 chrome/browser/drive/drive_uploader_unittest.cc base::FilePath local_path; base 514 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoopProxy::current().get()); base 521 chrome/browser/drive/drive_uploader_unittest.cc base::RunLoop().RunUntilIdle(); base 533 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoopProxy::current().get()); base 542 chrome/browser/drive/drive_uploader_unittest.cc base::RunLoop().RunUntilIdle(); base 550 chrome/browser/drive/drive_uploader_unittest.cc base::FilePath local_path; base 561 chrome/browser/drive/drive_uploader_unittest.cc base::MessageLoopProxy::current().get()); base 573 chrome/browser/drive/drive_uploader_unittest.cc base::Bind(&test_util::AppendProgressCallbackResult, base 575 chrome/browser/drive/drive_uploader_unittest.cc base::RunLoop().RunUntilIdle(); base 112 chrome/browser/drive/dummy_drive_service.cc const base::FilePath& local_cache_path, base 122 chrome/browser/drive/dummy_drive_service.cc const base::Time& last_modified, base 129 chrome/browser/drive/dummy_drive_service.cc const base::Time& last_modified, base 130 chrome/browser/drive/dummy_drive_service.cc const base::Time& last_viewed_by_me, base 177 chrome/browser/drive/dummy_drive_service.cc const base::FilePath& local_file_path, base 73 chrome/browser/drive/dummy_drive_service.h const base::FilePath& local_cache_path, base 82 chrome/browser/drive/dummy_drive_service.h const base::Time& last_modified, base 88 chrome/browser/drive/dummy_drive_service.h const base::Time& last_modified, base 89 chrome/browser/drive/dummy_drive_service.h const base::Time& last_viewed_by_me, base 127 chrome/browser/drive/dummy_drive_service.h const base::FilePath& local_file_path, base 16 chrome/browser/drive/event_logger.cc when(base::Time::Now()), base 30 chrome/browser/drive/event_logger.cc base::AutoLock auto_lock(lock_); base 42 chrome/browser/drive/event_logger.cc base::StringAppendV(&what, format, args); base 50 chrome/browser/drive/event_logger.cc base::AutoLock auto_lock(lock_); base 56 chrome/browser/drive/event_logger.cc base::AutoLock auto_lock(lock_); base 33 chrome/browser/drive/event_logger.h base::Time when; // When the event occurred. base 62 chrome/browser/drive/event_logger.h base::Lock lock_; base 79 chrome/browser/drive/fake_drive_service.cc base::StringTokenizer tokenizer(query, " "); base 85 chrome/browser/drive/fake_drive_service.cc base::TrimString(token, "\"'", &value); base 87 chrome/browser/drive/fake_drive_service.cc base::StringTokenizer key_value(token, ":"); base 94 chrome/browser/drive/fake_drive_service.cc base::TrimString(key_value.token(), "\"'", &value); base 112 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 114 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 118 chrome/browser/drive/fake_drive_service.cc base::Passed(&entry))); base 196 chrome/browser/drive/fake_drive_service.cc scoped_ptr<base::Value> raw_value = test_util::LoadJSONFile(relative_path); base 197 chrome/browser/drive/fake_drive_service.cc base::DictionaryValue* as_dict = NULL; base 198 chrome/browser/drive/fake_drive_service.cc scoped_ptr<base::Value> feed; base 199 chrome/browser/drive/fake_drive_service.cc base::DictionaryValue* feed_as_dict = NULL; base 206 chrome/browser/drive/fake_drive_service.cc base::ListValue* entries = NULL; base 209 chrome/browser/drive/fake_drive_service.cc base::DictionaryValue* entry = NULL; base 247 chrome/browser/drive/fake_drive_service.cc scoped_ptr<base::Value> value = test_util::LoadJSONFile(relative_path); base 248 chrome/browser/drive/fake_drive_service.cc CHECK_EQ(base::Value::TYPE_DICTIONARY, value->GetType()); base 250 chrome/browser/drive/fake_drive_service.cc static_cast<base::DictionaryValue*>(value.release())); base 379 chrome/browser/drive/fake_drive_service.cc base::StringPrintf("title:'%s'", title.c_str()), base 425 chrome/browser/drive/fake_drive_service.cc if (base::SplitStringIntoKeyValuePairs( base 429 chrome/browser/drive/fake_drive_service.cc base::StringToInt64(parameters[i].second, &start_changestamp); base 439 chrome/browser/drive/fake_drive_service.cc base::StringToInt(parameters[i].second, &start_offset); base 441 chrome/browser/drive/fake_drive_service.cc base::StringToInt(parameters[i].second, &max_results); base 470 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 472 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 474 chrome/browser/drive/fake_drive_service.cc base::Passed(&null))); base 482 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 484 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_SUCCESS, base::Passed(&resource_entry))); base 489 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 491 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_NOT_FOUND, base::Passed(&null))); base 504 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 506 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 514 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 516 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_SUCCESS, entry->share_url)); base 520 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 522 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_NOT_FOUND, GURL())); base 533 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 535 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 536 chrome/browser/drive/fake_drive_service.cc GDATA_NO_CONNECTION, base::Passed(&null))); base 542 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 544 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 545 chrome/browser/drive/fake_drive_service.cc HTTP_SUCCESS, base::Passed(&about_resource))); base 556 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 558 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 560 chrome/browser/drive/fake_drive_service.cc base::Passed(&null))); base 566 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 568 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_SUCCESS, base::Passed(&app_list))); base 580 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 581 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, GDATA_NO_CONNECTION)); base 590 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 591 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, HTTP_NOT_FOUND)); base 596 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 597 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, HTTP_PRECONDITION)); base 604 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 605 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, HTTP_NO_CONTENT)); base 609 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 610 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, HTTP_NOT_FOUND)); base 621 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 622 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, GDATA_NO_CONNECTION)); base 638 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 639 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, error)); base 643 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 644 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, HTTP_NOT_FOUND)); base 649 chrome/browser/drive/fake_drive_service.cc const base::FilePath& local_cache_path, base 658 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 660 chrome/browser/drive/fake_drive_service.cc base::Bind(download_action_callback, base 662 chrome/browser/drive/fake_drive_service.cc base::FilePath())); base 668 chrome/browser/drive/fake_drive_service.cc base::MessageLoopProxy::current()->PostTask( base 670 chrome/browser/drive/fake_drive_service.cc base::Bind(download_action_callback, HTTP_NOT_FOUND, base::FilePath())); base 685 chrome/browser/drive/fake_drive_service.cc base::MessageLoopProxy::current()->PostTask( base 687 chrome/browser/drive/fake_drive_service.cc base::Bind(get_content_callback, HTTP_SUCCESS, base 688 chrome/browser/drive/fake_drive_service.cc base::Passed(&content_for_callback))); base 697 chrome/browser/drive/fake_drive_service.cc base::MessageLoopProxy::current()->PostTask( base 699 chrome/browser/drive/fake_drive_service.cc base::Bind(progress_callback, file_size / 2, file_size)); base 700 chrome/browser/drive/fake_drive_service.cc base::MessageLoopProxy::current()->PostTask( base 702 chrome/browser/drive/fake_drive_service.cc base::Bind(progress_callback, file_size, file_size)); base 704 chrome/browser/drive/fake_drive_service.cc base::MessageLoopProxy::current()->PostTask( base 706 chrome/browser/drive/fake_drive_service.cc base::Bind(download_action_callback, base 713 chrome/browser/drive/fake_drive_service.cc base::MessageLoopProxy::current()->PostTask( base 715 chrome/browser/drive/fake_drive_service.cc base::Bind(download_action_callback, GDATA_FILE_ERROR, base::FilePath())); base 723 chrome/browser/drive/fake_drive_service.cc const base::Time& last_modified, base 730 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 732 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 734 chrome/browser/drive/fake_drive_service.cc base::Passed(&null))); base 776 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 778 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 780 chrome/browser/drive/fake_drive_service.cc base::Passed(&resource_entry))); base 785 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 787 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_NOT_FOUND, base::Passed(&null))); base 795 chrome/browser/drive/fake_drive_service.cc const base::Time& last_modified, base 796 chrome/browser/drive/fake_drive_service.cc const base::Time& last_viewed_by_me, base 802 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 803 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, GDATA_NO_CONNECTION, base 804 chrome/browser/drive/fake_drive_service.cc base::Passed(scoped_ptr<ResourceEntry>()))); base 837 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 839 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_SUCCESS, base::Passed(&resource_entry))); base 843 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 845 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_NOT_FOUND, base 846 chrome/browser/drive/fake_drive_service.cc base::Passed(scoped_ptr<ResourceEntry>()))); base 858 chrome/browser/drive/fake_drive_service.cc resource_id, std::string(), new_title, base::Time(), base::Time(), base 859 chrome/browser/drive/fake_drive_service.cc base::Bind(&EntryActionCallbackAdapter, callback)); base 870 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 871 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, GDATA_NO_CONNECTION)); base 889 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 890 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, HTTP_SUCCESS)); base 894 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 895 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, HTTP_NOT_FOUND)); base 907 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 908 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, GDATA_NO_CONNECTION)); base 921 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 922 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, HTTP_NO_CONTENT)); base 928 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 929 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(callback, HTTP_NOT_FOUND)); base 943 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 945 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 947 chrome/browser/drive/fake_drive_service.cc base::Passed(&null))); base 959 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 961 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_NOT_FOUND, base::Passed(&null))); base 967 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 969 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_CREATED, base::Passed(&parsed_entry))); base 984 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 986 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, GDATA_NO_CONNECTION, GURL())); base 992 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 994 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_NOT_FOUND, GURL())); base 1006 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1008 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_SUCCESS, session_url)); base 1022 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1024 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, GDATA_NO_CONNECTION, GURL())); base 1030 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1032 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_NOT_FOUND, GURL())); base 1038 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1040 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_PRECONDITION, GURL())); base 1053 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1055 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_SUCCESS, session_url)); base 1074 chrome/browser/drive/fake_drive_service.cc const base::FilePath& local_file_path, base 1081 chrome/browser/drive/fake_drive_service.cc = base::Bind(&ScheduleUploadRangeCallback, base 1111 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1112 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(progress_callback, chunk_size / 2, chunk_size)); base 1113 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1114 chrome/browser/drive/fake_drive_service.cc FROM_HERE, base::Bind(progress_callback, chunk_size, chunk_size)); base 1125 chrome/browser/drive/fake_drive_service.cc if (!base::ReadFileToString(local_file_path, &content_data)) { base 1167 chrome/browser/drive/fake_drive_service.cc file->set_md5_checksum(base::MD5String(content_data)); base 1198 chrome/browser/drive/fake_drive_service.cc base::ListValue* items = NULL; base 1201 chrome/browser/drive/fake_drive_service.cc base::DictionaryValue* item = NULL; base 1213 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 1214 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, error)); base 1241 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1243 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 1245 chrome/browser/drive/fake_drive_service.cc base::Passed(&null))); base 1257 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1259 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_NOT_FOUND, base::Passed(&null))); base 1265 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1267 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_CREATED, base::Passed(&parsed_entry))); base 1272 chrome/browser/drive/fake_drive_service.cc const base::Time& last_modified_time, base 1279 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1281 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 1283 chrome/browser/drive/fake_drive_service.cc base::Passed(&null))); base 1290 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1292 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_NOT_FOUND, base::Passed(&null))); base 1302 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1304 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_SUCCESS, base::Passed(&parsed_entry))); base 1321 chrome/browser/drive/fake_drive_service.cc return base::StringPrintf("resource_id_%d", resource_id_count_); base 1326 chrome/browser/drive/fake_drive_service.cc "etag_" + base::Int64ToString(about_resource_->largest_change_id())); base 1369 chrome/browser/drive/fake_drive_service.cc new_file->set_md5_checksum(base::MD5String(content_data)); base 1374 chrome/browser/drive/fake_drive_service.cc new_file->set_shared_with_me_date(base::Time::Now()); base 1400 chrome/browser/drive/fake_drive_service.cc base::Time published_date = base 1401 chrome/browser/drive/fake_drive_service.cc base::Time() + base::TimeDelta::FromMilliseconds(++published_date_seq_); base 1418 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1420 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, base 1422 chrome/browser/drive/fake_drive_service.cc base::Passed(scoped_ptr<ResourceList>()))); base 1499 chrome/browser/drive/fake_drive_service.cc GURL next_url(base::StringPrintf( base 1506 chrome/browser/drive/fake_drive_service.cc base::Int64ToString(start_changestamp).c_str()); base 1526 chrome/browser/drive/fake_drive_service.cc base::MessageLoop::current()->PostTask( base 1528 chrome/browser/drive/fake_drive_service.cc base::Bind(callback, HTTP_SUCCESS, base::Passed(&resource_list))); base 1533 chrome/browser/drive/fake_drive_service.cc base::Int64ToString(next_upload_sequence_number_++)); base 98 chrome/browser/drive/fake_drive_service.h const base::FilePath& last_cancelled_file() const { base 160 chrome/browser/drive/fake_drive_service.h const base::FilePath& local_cache_path, base 169 chrome/browser/drive/fake_drive_service.h const base::Time& last_modified, base 175 chrome/browser/drive/fake_drive_service.h const base::Time& last_modified, base 176 chrome/browser/drive/fake_drive_service.h const base::Time& last_viewed_by_me, base 214 chrome/browser/drive/fake_drive_service.h const base::FilePath& local_file_path, base 262 chrome/browser/drive/fake_drive_service.h const base::Time& last_modified_time, base 314 chrome/browser/drive/fake_drive_service.h scoped_ptr<base::DictionaryValue> app_info_value_; base 328 chrome/browser/drive/fake_drive_service.h base::FilePath last_cancelled_file_; base 56 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 77 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 101 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 117 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 135 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 150 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 168 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 188 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 203 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 221 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 239 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 249 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 267 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 281 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 289 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 305 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 313 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 332 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 351 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 371 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 386 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 415 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 437 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 454 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 464 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 489 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 499 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 522 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 544 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 562 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 582 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 604 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 622 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 641 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 662 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 681 chrome/browser/drive/fake_drive_service_unittest.cc base::StringPrintf("new directory %d", i))); base 689 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 711 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 729 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 743 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 761 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 775 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 792 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 808 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 826 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 843 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 860 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 877 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 887 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 900 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 919 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 929 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 944 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 959 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 968 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 980 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 993 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1002 chrome/browser/drive/fake_drive_service_unittest.cc base::ScopedTempDir temp_dir; base 1007 chrome/browser/drive/fake_drive_service_unittest.cc const base::FilePath kOutputFilePath = base 1010 chrome/browser/drive/fake_drive_service_unittest.cc base::FilePath output_file_path; base 1017 chrome/browser/drive/fake_drive_service_unittest.cc base::Bind(&test_util::AppendProgressCallbackResult, base 1019 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1024 chrome/browser/drive/fake_drive_service_unittest.cc ASSERT_TRUE(base::ReadFileToString(output_file_path, &content)); base 1028 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_TRUE(base::STLIsSorted(download_progress_values)); base 1038 chrome/browser/drive/fake_drive_service_unittest.cc base::ScopedTempDir temp_dir; base 1041 chrome/browser/drive/fake_drive_service_unittest.cc const base::FilePath kOutputFilePath = base 1044 chrome/browser/drive/fake_drive_service_unittest.cc base::FilePath output_file_path; base 1051 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1061 chrome/browser/drive/fake_drive_service_unittest.cc base::ScopedTempDir temp_dir; base 1064 chrome/browser/drive/fake_drive_service_unittest.cc const base::FilePath kOutputFilePath = base 1067 chrome/browser/drive/fake_drive_service_unittest.cc base::FilePath output_file_path; base 1074 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1080 chrome/browser/drive/fake_drive_service_unittest.cc const base::Time::Exploded kModifiedDate = {2012, 7, 0, 19, 15, 59, 13, 123}; base 1095 chrome/browser/drive/fake_drive_service_unittest.cc base::Time::FromUTCExploded(kModifiedDate), base 1097 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1104 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::Time::FromUTCExploded(kModifiedDate), base 1124 chrome/browser/drive/fake_drive_service_unittest.cc base::Time(), base 1126 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1144 chrome/browser/drive/fake_drive_service_unittest.cc base::Time(), base 1146 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1172 chrome/browser/drive/fake_drive_service_unittest.cc base::Time(), base 1174 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1181 chrome/browser/drive/fake_drive_service_unittest.cc const base::Time::Exploded kModifiedDate = {2012, 7, 0, 19, 15, 59, 13, 123}; base 1182 chrome/browser/drive/fake_drive_service_unittest.cc const base::Time::Exploded kViewedDate = {2013, 8, 1, 20, 16, 00, 14, 234}; base 1197 chrome/browser/drive/fake_drive_service_unittest.cc base::Time::FromUTCExploded(kModifiedDate), base 1198 chrome/browser/drive/fake_drive_service_unittest.cc base::Time::FromUTCExploded(kViewedDate), base 1200 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1207 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::Time::FromUTCExploded(kModifiedDate), base 1209 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::Time::FromUTCExploded(kViewedDate), base 1229 chrome/browser/drive/fake_drive_service_unittest.cc base::Time(), base 1230 chrome/browser/drive/fake_drive_service_unittest.cc base::Time(), base 1232 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1254 chrome/browser/drive/fake_drive_service_unittest.cc base::Time(), base 1255 chrome/browser/drive/fake_drive_service_unittest.cc base::Time(), base 1257 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1283 chrome/browser/drive/fake_drive_service_unittest.cc base::Time(), base 1284 chrome/browser/drive/fake_drive_service_unittest.cc base::Time(), base 1286 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1304 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1327 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1343 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1367 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1399 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1424 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1447 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1473 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1499 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1526 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1543 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1561 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1579 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1607 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1632 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1662 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1689 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1707 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1727 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1746 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1765 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1786 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1804 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1825 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1846 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1865 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1879 chrome/browser/drive/fake_drive_service_unittest.cc base::FilePath(), base 1882 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1901 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1910 chrome/browser/drive/fake_drive_service_unittest.cc base::FilePath(), base 1913 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1920 chrome/browser/drive/fake_drive_service_unittest.cc base::ScopedTempDir temp_dir; base 1922 chrome/browser/drive/fake_drive_service_unittest.cc base::FilePath local_file_path = base 1941 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1953 chrome/browser/drive/fake_drive_service_unittest.cc base::Bind(&test_util::AppendProgressCallbackResult, base 1955 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1960 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_TRUE(base::STLIsSorted(upload_progress_values)); base 1971 chrome/browser/drive/fake_drive_service_unittest.cc base::Bind(&test_util::AppendProgressCallbackResult, base 1973 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1981 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_TRUE(base::STLIsSorted(upload_progress_values)); base 1985 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::MD5String(contents), entry->file_md5()); base 1989 chrome/browser/drive/fake_drive_service_unittest.cc base::ScopedTempDir temp_dir; base 1991 chrome/browser/drive/fake_drive_service_unittest.cc base::FilePath local_file_path = base 2008 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2023 chrome/browser/drive/fake_drive_service_unittest.cc base::Bind(&test_util::AppendProgressCallbackResult, base 2025 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2030 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_TRUE(base::STLIsSorted(upload_progress_values)); base 2041 chrome/browser/drive/fake_drive_service_unittest.cc base::Bind(&test_util::AppendProgressCallbackResult, base 2043 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2050 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_TRUE(base::STLIsSorted(upload_progress_values)); base 2054 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::MD5String(contents), entry->file_md5()); base 2076 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2092 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::MD5String(kContentData), resource_entry->file_md5()); base 2111 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2127 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::MD5String(kContentData), resource_entry->file_md5()); base 2150 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2165 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::MD5String(kContentData), resource_entry->file_md5()); base 2186 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2210 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2235 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2253 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::MD5String(kContentData), resource_entry->file_md5()); base 2261 chrome/browser/drive/fake_drive_service_unittest.cc base::Time time; base 2262 chrome/browser/drive/fake_drive_service_unittest.cc ASSERT_TRUE(base::Time::FromString("1 April 2013 12:34:56", &time)); base 2270 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2282 chrome/browser/drive/fake_drive_service_unittest.cc base::Time time; base 2283 chrome/browser/drive/fake_drive_service_unittest.cc ASSERT_TRUE(base::Time::FromString("1 April 2013 12:34:56", &time)); base 2291 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2303 chrome/browser/drive/fake_drive_service_unittest.cc base::Time time; base 2304 chrome/browser/drive/fake_drive_service_unittest.cc ASSERT_TRUE(base::Time::FromString("1 April 2013 12:34:56", &time)); base 2312 chrome/browser/drive/fake_drive_service_unittest.cc base::RunLoop().RunUntilIdle(); base 67 chrome/browser/enumerate_modules_model_unittest_win.cc SCOPED_TRACE("Test case no: " + base::IntToString(i)); base 206 chrome/browser/enumerate_modules_model_unittest_win.cc SCOPED_TRACE("Test case no " + base::IntToString(i) + base 207 chrome/browser/enumerate_modules_model_unittest_win.cc ": '" + base::UTF16ToASCII(test.name) + "'"); base 214 chrome/browser/enumerate_modules_model_unittest_win.cc base::string16 expected_result; base 215 chrome/browser/enumerate_modules_model_unittest_win.cc base::string16 test_case; base 218 chrome/browser/enumerate_modules_model_unittest_win.cc { base::ASCIIToUTF16("c:\\a\\a.dll"), base::ASCIIToUTF16("c:\\a\\a.dll") }, base 220 chrome/browser/enumerate_modules_model_unittest_win.cc { base::ASCIIToUTF16("%foo%\\a.dll"), base::ASCIIToUTF16("c:\\foo\\a.dll") }, base 221 chrome/browser/enumerate_modules_model_unittest_win.cc { base::ASCIIToUTF16("%x%\\a.dll"), base 222 chrome/browser/enumerate_modules_model_unittest_win.cc base::ASCIIToUTF16("c:\\foo\\bar\\a.dll") }, base 238 chrome/browser/enumerate_modules_model_unittest_win.cc SCOPED_TRACE("Test case no " + base::IntToString(i) + ": '" + base 239 chrome/browser/enumerate_modules_model_unittest_win.cc base::UTF16ToASCII(kCollapsePathList[i].expected_result) + base 74 chrome/browser/enumerate_modules_model_win.cc base::Lock* lock = NULL; base 93 chrome/browser/enumerate_modules_model_win.cc bool ConvertToLongPath(const base::string16& short_path, base 94 chrome/browser/enumerate_modules_model_win.cc base::string16* long_path) { base 324 chrome/browser/enumerate_modules_model_win.cc *output = StringToLowerASCII(base::HexEncode(hash, sizeof(hash))); base 331 chrome/browser/enumerate_modules_model_win.cc base::string16 path = module->location; base 335 chrome/browser/enumerate_modules_model_win.cc module->location = base::i18n::ToLower(module->location); base 340 chrome/browser/enumerate_modules_model_win.cc if (last_slash != base::string16::npos) { base 351 chrome/browser/enumerate_modules_model_win.cc if (first_space != base::string16::npos) base 368 chrome/browser/enumerate_modules_model_win.cc base::win::Version version = base::win::GetVersion(); base 370 chrome/browser/enumerate_modules_model_win.cc case base::win::VERSION_XP: base 378 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.name), &filename_hash); base 379 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.location), &location_hash); base 387 chrome/browser/enumerate_modules_model_win.cc Version module_version(base::UTF16ToASCII(module.version)); base 407 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.digital_signer), &signer_hash); base 408 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.description), &description_hash); base 446 chrome/browser/enumerate_modules_model_win.cc base::Bind(&ModuleEnumerator::ScanImpl, this)); base 454 chrome/browser/enumerate_modules_model_win.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 463 chrome/browser/enumerate_modules_model_win.cc base::TimeTicks checkpoint = base::TimeTicks::Now(); base 465 chrome/browser/enumerate_modules_model_win.cc base::TimeTicks checkpoint2 = base::TimeTicks::Now(); base 471 chrome/browser/enumerate_modules_model_win.cc checkpoint2 = base::TimeTicks::Now(); base 477 chrome/browser/enumerate_modules_model_win.cc checkpoint2 = base::TimeTicks::Now(); base 489 chrome/browser/enumerate_modules_model_win.cc base::Bind(&ModuleEnumerator::ReportBack, this)); base 496 chrome/browser/enumerate_modules_model_win.cc base::TimeTicks::Now() - start_time); base 501 chrome/browser/enumerate_modules_model_win.cc base::win::ScopedHandle snap(::CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, base 533 chrome/browser/enumerate_modules_model_win.cc base::win::RegistryValueIterator registration(parent, kRegPath); base 537 chrome/browser/enumerate_modules_model_win.cc base::win::RegKey clsid; base 542 chrome/browser/enumerate_modules_model_win.cc base::string16 dll; base 581 chrome/browser/enumerate_modules_model_win.cc GetSubjectNameFromDigitalSignature(base::FilePath(expanded)); base 583 chrome/browser/enumerate_modules_model_win.cc entry.version = base::IntToString16(layered_providers[i].version); base 596 chrome/browser/enumerate_modules_model_win.cc GetSubjectNameFromDigitalSignature(base::FilePath(module->location)); base 599 chrome/browser/enumerate_modules_model_win.cc FileVersionInfo::CreateFileVersionInfo(base::FilePath(module->location))); base 634 chrome/browser/enumerate_modules_model_win.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 635 chrome/browser/enumerate_modules_model_win.cc std::vector<base::string16> env_vars; base 644 chrome/browser/enumerate_modules_model_win.cc for (std::vector<base::string16>::const_iterator variable = env_vars.begin(); base 647 chrome/browser/enumerate_modules_model_win.cc if (environment->GetVar(base::UTF16ToASCII(*variable).c_str(), &path)) { base 649 chrome/browser/enumerate_modules_model_win.cc std::make_pair(base::i18n::ToLower(base::UTF8ToUTF16(path)) + L"\\", base 650 chrome/browser/enumerate_modules_model_win.cc L"%" + base::i18n::ToLower(*variable) + L"%")); base 661 chrome/browser/enumerate_modules_model_win.cc base::string16 location = entry->location; base 664 chrome/browser/enumerate_modules_model_win.cc base::string16 prefix = mapping->first; base 666 chrome/browser/enumerate_modules_model_win.cc base::string16 new_location = mapping->second + base 723 chrome/browser/enumerate_modules_model_win.cc base::string16 ModuleEnumerator::GetSubjectNameFromDigitalSignature( base 724 chrome/browser/enumerate_modules_model_win.cc const base::FilePath& filename) { base 741 chrome/browser/enumerate_modules_model_win.cc return base::string16(); base 751 chrome/browser/enumerate_modules_model_win.cc return base::string16(); base 765 chrome/browser/enumerate_modules_model_win.cc return base::string16(); base 781 chrome/browser/enumerate_modules_model_win.cc return base::string16(); base 791 chrome/browser/enumerate_modules_model_win.cc return base::string16(); base 794 chrome/browser/enumerate_modules_model_win.cc base::string16 subject_name; base 804 chrome/browser/enumerate_modules_model_win.cc return base::string16(); base 860 chrome/browser/enumerate_modules_model_win.cc base::ListValue* EnumerateModulesModel::GetModuleList() const { base 871 chrome/browser/enumerate_modules_model_win.cc base::ListValue* list = new base::ListValue(); base 876 chrome/browser/enumerate_modules_model_win.cc base::DictionaryValue* data = new base::DictionaryValue(); base 878 chrome/browser/enumerate_modules_model_win.cc base::string16 type_string; base 882 chrome/browser/enumerate_modules_model_win.cc type_string = base::ASCIIToWide("Shell Extension"); base 885 chrome/browser/enumerate_modules_model_win.cc type_string += base::ASCIIToWide(", "); base 886 chrome/browser/enumerate_modules_model_win.cc type_string += base::ASCIIToWide("Winsock"); base 891 chrome/browser/enumerate_modules_model_win.cc type_string += base::ASCIIToWide(" -- "); base 906 chrome/browser/enumerate_modules_model_win.cc base::string16 actions; base 907 chrome/browser/enumerate_modules_model_win.cc base::string16 separator = base::ASCIIToWide(" ") + base 910 chrome/browser/enumerate_modules_model_win.cc base::ASCIIToWide(" "); base 934 chrome/browser/enumerate_modules_model_win.cc base::string16 possible_resolution = base 935 chrome/browser/enumerate_modules_model_win.cc actions.empty() ? base::ASCIIToWide("") base 938 chrome/browser/enumerate_modules_model_win.cc base::ASCIIToWide(" ") + base 984 chrome/browser/enumerate_modules_model_win.cc lock = new base::Lock(); base 998 chrome/browser/enumerate_modules_model_win.cc base::win::GetVersion() == base::win::VERSION_XP) { base 1000 chrome/browser/enumerate_modules_model_win.cc base::TimeDelta::FromMilliseconds(kModuleCheckDelayMs), base 1062 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.name), &filename); base 1063 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.location), &location); base 1064 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.description), &description); base 1065 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.digital_signer), &signer); base 1067 chrome/browser/enumerate_modules_model_win.cc base::string16 url = base 1069 chrome/browser/enumerate_modules_model_win.cc base::ASCIIToUTF16(filename), base::ASCIIToUTF16(location), base 1070 chrome/browser/enumerate_modules_model_win.cc base::ASCIIToUTF16(description), base::ASCIIToUTF16(signer)); base 1071 chrome/browser/enumerate_modules_model_win.cc return GURL(base::UTF16ToUTF8(url)); base 21 chrome/browser/enumerate_modules_model_win.h namespace base { base 28 chrome/browser/enumerate_modules_model_win.h class ModuleEnumerator : public base::RefCountedThreadSafe<ModuleEnumerator> { base 81 chrome/browser/enumerate_modules_model_win.h base::string16 location; base 83 chrome/browser/enumerate_modules_model_win.h base::string16 name; base 85 chrome/browser/enumerate_modules_model_win.h base::string16 product_name; base 87 chrome/browser/enumerate_modules_model_win.h base::string16 description; base 89 chrome/browser/enumerate_modules_model_win.h base::string16 version; base 91 chrome/browser/enumerate_modules_model_win.h base::string16 digital_signer; base 202 chrome/browser/enumerate_modules_model_win.h base::string16 GetSubjectNameFromDigitalSignature( base 203 chrome/browser/enumerate_modules_model_win.h const base::FilePath& filename); base 206 chrome/browser/enumerate_modules_model_win.h typedef std::vector< std::pair<base::string16, base::string16> > PathMapping; base 294 chrome/browser/enumerate_modules_model_win.h base::ListValue* GetModuleList() const; base 324 chrome/browser/enumerate_modules_model_win.h base::OneShotTimer<EnumerateModulesModel> check_modules_timer_; base 63 chrome/browser/errorpage_browsertest.cc std::string command = base::StringPrintf( base 88 chrome/browser/errorpage_browsertest.cc base::RemoveChars(error_string, "net:", &error_string); base 203 chrome/browser/errorpage_browsertest.cc void NavigateToFileURL(const base::FilePath::StringType& file_path) { base 206 chrome/browser/errorpage_browsertest.cc content::URLRequestMockHTTPJob::GetMockUrl(base::FilePath(file_path))); base 216 chrome/browser/errorpage_browsertest.cc base::ASCIIToUTF16(expected_title)); base 221 chrome/browser/errorpage_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16(expected_title), base 301 chrome/browser/errorpage_browsertest.cc base::FilePath root_http; base 310 chrome/browser/errorpage_browsertest.cc base::Bind(&ErrorPageTest::EnableMocks, base 327 chrome/browser/errorpage_browsertest.cc base::ASCIIToUTF16(expected_title)); base 332 chrome/browser/errorpage_browsertest.cc base::ASCIIToUTF16(expected_title)); base 360 chrome/browser/errorpage_browsertest.cc const base::string16& frame_unique_name, base 364 chrome/browser/errorpage_browsertest.cc const base::string16& error_description, base 519 chrome/browser/errorpage_browsertest.cc base::ASCIIToUTF16("Title Of More Awesomeness")); base 524 chrome/browser/errorpage_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Title Of More Awesomeness"), base 546 chrome/browser/errorpage_browsertest.cc base::FilePath(FILE_PATH_LITERAL("iframe_dns_error.html"))), base 612 chrome/browser/errorpage_browsertest.cc wc->GetMainFrame()->ExecuteJavaScript(base::ASCIIToUTF16(script)); base 632 chrome/browser/errorpage_browsertest.cc wc->GetMainFrame()->ExecuteJavaScript(base::ASCIIToUTF16(script)); base 643 chrome/browser/errorpage_browsertest.cc wc->GetMainFrame()->ExecuteJavaScript(base::ASCIIToUTF16(script)); base 656 chrome/browser/errorpage_browsertest.cc base::FilePath(FILE_PATH_LITERAL("page404.html"))), base 677 chrome/browser/errorpage_browsertest.cc base::Bind(&InterceptNetworkTransactions, url_request_context_getter, base 684 chrome/browser/errorpage_browsertest.cc EXPECT_NE(base::ASCIIToUTF16("Nocache Test Page"), base 692 chrome/browser/errorpage_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Nocache Test Page"), base 721 chrome/browser/errorpage_browsertest.cc base::Bind(&ErrorPageAutoReloadTest::AddFilters, base 722 chrome/browser/errorpage_browsertest.cc base::Unretained(this))); base 730 chrome/browser/errorpage_browsertest.cc base::ASCIIToUTF16(expected_title)); base 735 chrome/browser/errorpage_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16(expected_title), base 799 chrome/browser/errorpage_browsertest.cc base::Bind(&ErrorPageNavigationCorrectionsFailTest::AddFilters)); base 805 chrome/browser/errorpage_browsertest.cc base::Bind(&ErrorPageNavigationCorrectionsFailTest::RemoveFilters)); base 860 chrome/browser/errorpage_browsertest.cc base::Bind(&InterceptNetworkTransactions, url_request_context_getter, base 872 chrome/browser/errorpage_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Nocache Test Page"), base 900 chrome/browser/errorpage_browsertest.cc base::Bind(&ErrorPageForIDNTest::AddFilters)); base 906 chrome/browser/errorpage_browsertest.cc base::Bind(&ErrorPageForIDNTest::RemoveFilters)); base 33 chrome/browser/extensions/active_tab_unittest.cc using base::DictionaryValue; base 34 chrome/browser/extensions/active_tab_unittest.cc using base::ListValue; base 29 chrome/browser/extensions/activity_log/activity_actions.cc std::string Serialize(const base::Value* value) { base 47 chrome/browser/extensions/activity_log/activity_actions.cc const base::Time& time, base 81 chrome/browser/extensions/activity_log/activity_actions.cc void Action::set_args(scoped_ptr<base::ListValue> args) { base 85 chrome/browser/extensions/activity_log/activity_actions.cc base::ListValue* Action::mutable_args() { base 87 chrome/browser/extensions/activity_log/activity_actions.cc args_.reset(new base::ListValue()); base 100 chrome/browser/extensions/activity_log/activity_actions.cc void Action::set_other(scoped_ptr<base::DictionaryValue> other) { base 104 chrome/browser/extensions/activity_log/activity_actions.cc base::DictionaryValue* Action::mutable_other() { base 106 chrome/browser/extensions/activity_log/activity_actions.cc other_.reset(new base::DictionaryValue()); base 176 chrome/browser/extensions/activity_log/activity_actions.cc new std::string(base::StringPrintf("%" PRId64, action_id()))); base 193 chrome/browser/extensions/activity_log/activity_actions.cc const base::DictionaryValue* web_request; base 240 chrome/browser/extensions/activity_log/activity_actions.cc std::string result = base::StringPrintf("ACTION ID=%" PRId64, action_id()); base 266 chrome/browser/extensions/activity_log/activity_actions.cc result += base::StringPrintf("type%d", static_cast<int>(action_type_)); base 280 chrome/browser/extensions/activity_log/activity_actions.cc base::StringValue title(page_title_); base 293 chrome/browser/extensions/activity_log/activity_actions.cc result += base::StringPrintf(" COUNT=%d", count_); base 25 chrome/browser/extensions/activity_log/activity_actions.h class Action : public base::RefCountedThreadSafe<Action> { base 48 chrome/browser/extensions/activity_log/activity_actions.h const base::Time& time, base 60 chrome/browser/extensions/activity_log/activity_actions.h const base::Time& time() const { return time_; } base 61 chrome/browser/extensions/activity_log/activity_actions.h void set_time(const base::Time& time) { time_ = time; } base 76 chrome/browser/extensions/activity_log/activity_actions.h const base::ListValue* args() const { return args_.get(); } base 77 chrome/browser/extensions/activity_log/activity_actions.h void set_args(scoped_ptr<base::ListValue> args); base 78 chrome/browser/extensions/activity_log/activity_actions.h base::ListValue* mutable_args(); base 100 chrome/browser/extensions/activity_log/activity_actions.h const base::DictionaryValue* other() const { return other_.get(); } base 101 chrome/browser/extensions/activity_log/activity_actions.h void set_other(scoped_ptr<base::DictionaryValue> other); base 102 chrome/browser/extensions/activity_log/activity_actions.h base::DictionaryValue* mutable_other(); base 132 chrome/browser/extensions/activity_log/activity_actions.h friend class base::RefCountedThreadSafe<Action>; base 135 chrome/browser/extensions/activity_log/activity_actions.h base::Time time_; base 138 chrome/browser/extensions/activity_log/activity_actions.h scoped_ptr<base::ListValue> args_; base 144 chrome/browser/extensions/activity_log/activity_actions.h scoped_ptr<base::DictionaryValue> other_; base 48 chrome/browser/extensions/activity_log/activity_database.cc batching_period_ = base::TimeDelta::FromSeconds(10); base 50 chrome/browser/extensions/activity_log/activity_database.cc batching_period_ = base::TimeDelta::FromMinutes(2); base 56 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::Init(const base::FilePath& db_name) { base 63 chrome/browser/extensions/activity_log/activity_database.cc base::Bind(&ActivityDatabase::DatabaseErrorCallback, base 64 chrome/browser/extensions/activity_log/activity_database.cc base::Unretained(this))); base 81 chrome/browser/extensions/activity_log/activity_database.cc base::mac::SetFileBackupExclusion(db_name); base 197 chrome/browser/extensions/activity_log/activity_database.cc base::TimeDelta::FromMilliseconds(ms), base 210 chrome/browser/extensions/activity_log/activity_database.cc base::StringPrintf("CREATE TABLE %s (", table_name); base 212 chrome/browser/extensions/activity_log/activity_database.cc table_creator += base::StringPrintf("%s%s %s", base 225 chrome/browser/extensions/activity_log/activity_database.cc std::string table_updater = base::StringPrintf( base 22 chrome/browser/extensions/activity_log/activity_database.h namespace base { base 108 chrome/browser/extensions/activity_log/activity_database.h void Init(const base::FilePath& db_name); base 143 chrome/browser/extensions/activity_log/activity_database.h void RunOnDatabase(const base::Callback<void(sql::Connection*)>& callback); base 191 chrome/browser/extensions/activity_log/activity_database.h base::TimeDelta batching_period_; base 192 chrome/browser/extensions/activity_log/activity_database.h base::RepeatingTimer<ActivityDatabase> timer_; base 128 chrome/browser/extensions/activity_log/activity_database_unittest.cc ActivityDatabase* OpenDatabase(const base::FilePath& db_file) { base 136 chrome/browser/extensions/activity_log/activity_database_unittest.cc scoped_refptr<Action> CreateAction(const base::Time& time, base 173 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::ScopedTempDir temp_dir; base 174 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::FilePath db_file; base 177 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::DeleteFile(db_file, false); base 190 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::ScopedTempDir temp_dir; base 191 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::FilePath db_file; base 194 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::DeleteFile(db_file, false); base 198 chrome/browser/extensions/activity_log/activity_database_unittest.cc scoped_refptr<Action> action = CreateAction(base::Time::Now(), "brewster"); base 209 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::ScopedTempDir temp_dir; base 210 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::FilePath db_file; base 213 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::DeleteFile(db_file, false); base 219 chrome/browser/extensions/activity_log/activity_database_unittest.cc scoped_refptr<Action> action = CreateAction(base::Time::Now(), "brewster"); base 227 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::ScopedTempDir temp_dir; base 228 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::FilePath db_file; base 231 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::DeleteFile(db_file, false); base 236 chrome/browser/extensions/activity_log/activity_database_unittest.cc scoped_refptr<Action> action = CreateAction(base::Time::Now(), "brewster"); base 242 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 249 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::ScopedTempDir temp_dir; base 250 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::FilePath db_file; base 253 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::DeleteFile(db_file, false); base 258 chrome/browser/extensions/activity_log/activity_database_unittest.cc scoped_refptr<Action> action = CreateAction(base::Time::Now(), "brewster"); base 271 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::ScopedTempDir temp_dir; base 272 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::FilePath db_file; base 275 chrome/browser/extensions/activity_log/activity_database_unittest.cc base::DeleteFile(db_file, false); base 280 chrome/browser/extensions/activity_log/activity_database_unittest.cc "punky", base::Time::Now(), Action::ACTION_API_CALL, "brewster"); base 222 chrome/browser/extensions/activity_log/activity_log.cc bool ResolveUrl(const GURL& base, const std::string& arg, GURL* arg_out) { base 223 chrome/browser/extensions/activity_log/activity_log.cc if (base.is_valid()) base 224 chrome/browser/extensions/activity_log/activity_log.cc *arg_out = base.Resolve(arg); base 271 chrome/browser/extensions/activity_log/activity_log.cc new base::StringValue(kArgUrlPlaceholder)); base 282 chrome/browser/extensions/activity_log/activity_log.cc base::DictionaryValue* dict = NULL; base 297 chrome/browser/extensions/activity_log/activity_log.cc base::ListValue* tab_list = NULL; base 303 chrome/browser/extensions/activity_log/activity_log.cc url_index, new base::StringValue(kArgUrlPlaceholder)); base 313 chrome/browser/extensions/activity_log/activity_log.cc tab_list->Set(i, new base::StringValue(arg_url.spec())); base 319 chrome/browser/extensions/activity_log/activity_log.cc extracted_index, new base::StringValue(kArgUrlPlaceholder)); base 341 chrome/browser/extensions/activity_log/activity_log.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<ActivityLog> > base 395 chrome/browser/extensions/activity_log/activity_log.cc base::Bind(&ActivityLog::InitInstallTracker, base::Unretained(this))); base 553 chrome/browser/extensions/activity_log/activity_log.cc base::DictionaryValue* other = action->mutable_other(); base 597 chrome/browser/extensions/activity_log/activity_log.cc base::Time::Now(), base 601 chrome/browser/extensions/activity_log/activity_log.cc action->set_page_title(base::UTF16ToUTF8(web_contents->GetTitle())); base 619 chrome/browser/extensions/activity_log/activity_log.cc scoped_ptr<base::ListValue> event_args) { base 622 chrome/browser/extensions/activity_log/activity_log.cc base::Time::Now(), base 631 chrome/browser/extensions/activity_log/activity_log.cc scoped_ptr<base::ListValue> args) { base 634 chrome/browser/extensions/activity_log/activity_log.cc base::Time::Now(), base 650 chrome/browser/extensions/activity_log/activity_log.cc const base::Callback base 81 chrome/browser/extensions/activity_log/activity_log.h const base::Callback base 95 chrome/browser/extensions/activity_log/activity_log.h scoped_ptr<base::ListValue> event_args) OVERRIDE; base 99 chrome/browser/extensions/activity_log/activity_log.h scoped_ptr<base::ListValue> event_args) OVERRIDE; base 41 chrome/browser/extensions/activity_log/activity_log_browsertest.cc base::MessageLoop::current()->PostTask( base 42 chrome/browser/extensions/activity_log/activity_log_browsertest.cc FROM_HERE, base::MessageLoop::QuitClosure()); base 52 chrome/browser/extensions/activity_log/activity_log_browsertest.cc base::StringPrintf("http://www.google.com.bo:%d/test.html", port), base 55 chrome/browser/extensions/activity_log/activity_log_browsertest.cc base::StringPrintf("www.google.com.bo:%d/test.html", port), base 86 chrome/browser/extensions/activity_log/activity_log_browsertest.cc base::TimeDelta::FromMinutes(10); base 88 chrome/browser/extensions/activity_log/activity_log_browsertest.cc base::TimeDelta::FromMinutes(10); base 98 chrome/browser/extensions/activity_log/activity_log_browsertest.cc GURL url(base::StringPrintf( base 118 chrome/browser/extensions/activity_log/activity_log_browsertest.cc base::Bind( base 122 chrome/browser/extensions/activity_log/activity_log_browsertest.cc base::MessageLoop::current()->Run(); base 133 chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc &command_line, base::FilePath(), false); base 141 chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc base::RunLoop().RunUntilIdle(); base 236 chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc &command_line, base::FilePath(), false); base 242 chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc base::RunLoop().RunUntilIdle(); base 38 chrome/browser/extensions/activity_log/activity_log_policy.cc void ActivityLogPolicy::SetClockForTesting(scoped_ptr<base::Clock> clock) { base 42 chrome/browser/extensions/activity_log/activity_log_policy.cc base::Time ActivityLogPolicy::Now() const { base 46 chrome/browser/extensions/activity_log/activity_log_policy.cc return base::Time::Now(); base 51 chrome/browser/extensions/activity_log/activity_log_policy.cc const base::FilePath& database_name) base 54 chrome/browser/extensions/activity_log/activity_log_policy.cc base::FilePath profile_base_path = profile->GetPath(); base 74 chrome/browser/extensions/activity_log/activity_log_policy.cc std::string ActivityLogPolicy::Util::Serialize(const base::Value* value) { base 116 chrome/browser/extensions/activity_log/activity_log_policy.cc base::DictionaryValue* details = NULL; base 119 chrome/browser/extensions/activity_log/activity_log_policy.cc base::DictionaryValue::Iterator details_iterator(*details); base 134 chrome/browser/extensions/activity_log/activity_log_policy.cc action->set_args(scoped_ptr<base::ListValue>()); base 139 chrome/browser/extensions/activity_log/activity_log_policy.cc base::Time ActivityLogPolicy::Util::AddDays(const base::Time& base_date, base 143 chrome/browser/extensions/activity_log/activity_log_policy.cc return (base_date + base::TimeDelta::FromDays(days) + base 144 chrome/browser/extensions/activity_log/activity_log_policy.cc base::TimeDelta::FromHours(4)).LocalMidnight(); base 148 chrome/browser/extensions/activity_log/activity_log_policy.cc void ActivityLogPolicy::Util::ComputeDatabaseTimeBounds(const base::Time& now, base 152 chrome/browser/extensions/activity_log/activity_log_policy.cc base::Time morning_midnight = now.LocalMidnight(); base 155 chrome/browser/extensions/activity_log/activity_log_policy.cc *late_bound = base::Time::Max().ToInternalValue(); base 157 chrome/browser/extensions/activity_log/activity_log_policy.cc base::Time early_time = Util::AddDays(morning_midnight, -days_ago); base 158 chrome/browser/extensions/activity_log/activity_log_policy.cc base::Time late_time = Util::AddDays(early_time, 1); base 170 chrome/browser/extensions/activity_log/activity_log_policy.cc base::StringPrintf("DROP TABLE %s", table_name); base 27 chrome/browser/extensions/activity_log/activity_log_policy.h namespace base { base 80 chrome/browser/extensions/activity_log/activity_log_policy.h void SetClockForTesting(scoped_ptr<base::Clock> clock); base 94 chrome/browser/extensions/activity_log/activity_log_policy.h static std::string Serialize(const base::Value* value); base 110 chrome/browser/extensions/activity_log/activity_log_policy.h static base::Time AddDays(const base::Time& base_date, int days); base 115 chrome/browser/extensions/activity_log/activity_log_policy.h static void ComputeDatabaseTimeBounds(const base::Time& now, base 138 chrome/browser/extensions/activity_log/activity_log_policy.h base::Time Now() const; base 144 chrome/browser/extensions/activity_log/activity_log_policy.h scoped_ptr<base::Clock> testing_clock_; base 155 chrome/browser/extensions/activity_log/activity_log_policy.h const base::FilePath& database_name); base 177 chrome/browser/extensions/activity_log/activity_log_policy.h const base::Callback base 201 chrome/browser/extensions/activity_log/activity_log_policy.h base::Bind(func, base::Unretained(db))); base 209 chrome/browser/extensions/activity_log/activity_log_policy.h base::Bind(func, base::Unretained(db), a)); base 218 chrome/browser/extensions/activity_log/activity_log_policy.h base::Bind(func, base::Unretained(db), a, b)); base 233 chrome/browser/extensions/activity_log/activity_log_policy.h base::FilePath database_path_; base 21 chrome/browser/extensions/activity_log/activity_log_policy_unittest.cc base::Time::Now(), base 43 chrome/browser/extensions/activity_log/activity_log_policy_unittest.cc "punky", base::Time::Now(), Action::ACTION_WEB_REQUEST, "webRequest"); base 69 chrome/browser/extensions/activity_log/activity_log_policy_unittest.cc base::Time::Now(), base 78 chrome/browser/extensions/activity_log/activity_log_policy_unittest.cc "punky", base::Time::Now(), Action::ACTION_API_CALL, "tabs.create"); base 88 chrome/browser/extensions/activity_log/activity_log_policy_unittest.cc base::Time::Now(), base 68 chrome/browser/extensions/activity_log/activity_log_unittest.cc (&command_line, base::FilePath(), false); base 69 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::RunLoop().RunUntilIdle(); base 76 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::RunLoop().RunUntilIdle(); base 127 chrome/browser/extensions/activity_log/activity_log_unittest.cc const base::DictionaryValue* other = NULL; base 167 chrome/browser/extensions/activity_log/activity_log_unittest.cc const base::DictionaryValue* other = NULL; base 204 chrome/browser/extensions/activity_log/activity_log_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 209 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Time::Now(), base 214 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Time::Now(), base 227 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Bind(ActivityLogTest::RetrieveActions_LogAndFetchActions2)); base 273 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Bind(ActivityLogTest::Arguments_Prerender)); base 280 chrome/browser/extensions/activity_log/activity_log_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 282 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Time now = base::Time::Now(); base 300 chrome/browser/extensions/activity_log/activity_log_unittest.cc now - base::TimeDelta::FromSeconds(1), base 313 chrome/browser/extensions/activity_log/activity_log_unittest.cc now - base::TimeDelta::FromSeconds(2), base 324 chrome/browser/extensions/activity_log/activity_log_unittest.cc now - base::TimeDelta::FromSeconds(3), base 340 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Bind(ActivityLogTest::RetrieveActions_ArgUrlExtraction)); base 353 chrome/browser/extensions/activity_log/activity_log_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 358 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Time::Now(), base 363 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Time::Now(), base 377 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Bind(ActivityLogTest::RetrieveActions_LogAndFetchActions0)); base 382 chrome/browser/extensions/activity_log/activity_log_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 383 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Time now = base::Time::Now(); base 389 chrome/browser/extensions/activity_log/activity_log_unittest.cc now - base::TimeDelta::FromSeconds(i), base 405 chrome/browser/extensions/activity_log/activity_log_unittest.cc base::Bind(ActivityLogTest::RetrieveActions_ArgUrlApiCalls)); base 163 chrome/browser/extensions/activity_log/counting_policy.cc base::FilePath(chrome::kExtensionActivityLogFilename)), base 166 chrome/browser/extensions/activity_log/counting_policy.cc retention_time_(base::TimeDelta::FromHours(60)) { base 210 chrome/browser/extensions/activity_log/counting_policy.cc base::Time new_date = action->time().LocalMidnight(); base 245 chrome/browser/extensions/activity_log/counting_policy.cc base::TimeDelta::FromHours(kCleaningDelayInHours)); base 273 chrome/browser/extensions/activity_log/counting_policy.cc locate_str = base::StringPrintf( base 276 chrome/browser/extensions/activity_log/counting_policy.cc base::StringPrintf("%s, %s", insert_str.c_str(), matched_columns[i]); base 289 chrome/browser/extensions/activity_log/counting_policy.cc base::Time day_start = action.time().LocalMidnight(); base 290 chrome/browser/extensions/activity_log/counting_policy.cc base::Time next_day = Util::AddDays(day_start, 1); base 407 chrome/browser/extensions/activity_log/counting_policy.cc base::Time cutoff = (Now() - retention_time()).LocalMidnight(); base 461 chrome/browser/extensions/activity_log/counting_policy.cc std::string query_str = base::StringPrintf( base 492 chrome/browser/extensions/activity_log/counting_policy.cc base::Time::FromInternalValue(query.ColumnInt64(1)), base 497 chrome/browser/extensions/activity_log/counting_policy.cc scoped_ptr<base::Value> parsed_value( base 498 chrome/browser/extensions/activity_log/counting_policy.cc base::JSONReader::Read(query.ColumnString(4))); base 499 chrome/browser/extensions/activity_log/counting_policy.cc if (parsed_value && parsed_value->IsType(base::Value::TYPE_LIST)) { base 501 chrome/browser/extensions/activity_log/counting_policy.cc static_cast<base::ListValue*>(parsed_value.release()))); base 510 chrome/browser/extensions/activity_log/counting_policy.cc scoped_ptr<base::Value> parsed_value( base 511 chrome/browser/extensions/activity_log/counting_policy.cc base::JSONReader::Read(query.ColumnString(8))); base 512 chrome/browser/extensions/activity_log/counting_policy.cc if (parsed_value && parsed_value->IsType(base::Value::TYPE_DICTIONARY)) { base 514 chrome/browser/extensions/activity_log/counting_policy.cc static_cast<base::DictionaryValue*>(parsed_value.release()))); base 542 chrome/browser/extensions/activity_log/counting_policy.cc base::StringPrintf("DELETE FROM %s WHERE rowid = ?", kTableName); base 574 chrome/browser/extensions/activity_log/counting_policy.cc std::string sql_str = base::StringPrintf( base 598 chrome/browser/extensions/activity_log/counting_policy.cc std::string sql_str = base::StringPrintf( base 614 chrome/browser/extensions/activity_log/counting_policy.cc sql_str = base::StringPrintf( base 647 chrome/browser/extensions/activity_log/counting_policy.cc std::string sql_str = base::StringPrintf( base 679 chrome/browser/extensions/activity_log/counting_policy.cc std::string sql_str = base::StringPrintf("DELETE FROM %s", kTableName); base 722 chrome/browser/extensions/activity_log/counting_policy.cc const base::Callback base 727 chrome/browser/extensions/activity_log/counting_policy.cc base::Bind(&CountingPolicy::DoReadFilteredData, base 728 chrome/browser/extensions/activity_log/counting_policy.cc base::Unretained(this), base 764 chrome/browser/extensions/activity_log/counting_policy.cc const base::Time& cutoff) { base 37 chrome/browser/extensions/activity_log/counting_policy.h const base::Callback base 43 chrome/browser/extensions/activity_log/counting_policy.h const base::TimeDelta& retention_time() const { return retention_time_; } base 44 chrome/browser/extensions/activity_log/counting_policy.h void set_retention_time(const base::TimeDelta& delta) { base 113 chrome/browser/extensions/activity_log/counting_policy.h bool CleanOlderThan(sql::Connection* db, const base::Time& cutoff); base 136 chrome/browser/extensions/activity_log/counting_policy.h base::Time queued_actions_date_; base 142 chrome/browser/extensions/activity_log/counting_policy.h base::TimeDelta retention_time_; base 147 chrome/browser/extensions/activity_log/counting_policy.h base::Time last_database_cleaning_time_; base 52 chrome/browser/extensions/activity_log/counting_policy_unittest.cc (&command_line, base::FilePath(), false); base 59 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::RunLoop().RunUntilIdle(); base 61 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::RunLoop().RunUntilIdle(); base 71 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&base::DoNothing), base 72 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::MessageLoop::current()->QuitClosure()); base 73 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::MessageLoop::current()->Run(); base 82 chrome/browser/extensions/activity_log/counting_policy_unittest.cc const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { base 97 chrome/browser/extensions/activity_log/counting_policy_unittest.cc const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { base 108 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::CheckWrapper, base 110 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::MessageLoop::current()->QuitClosure())); base 114 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::CancelableClosure timeout( base 115 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::TimeoutCallback)); base 116 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 121 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::MessageLoop::current()->Run(); base 152 chrome/browser/extensions/activity_log/counting_policy_unittest.cc const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker, base 153 chrome/browser/extensions/activity_log/counting_policy_unittest.cc const base::Closure& done, base 160 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 233 chrome/browser/extensions/activity_log/counting_policy_unittest.cc const base::Time& time, base 305 chrome/browser/extensions/activity_log/counting_policy_unittest.cc const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { base 309 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 310 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 311 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 312 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 317 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(40), base 330 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(30), base 440 chrome/browser/extensions/activity_log/counting_policy_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 442 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time::Now(), base 462 chrome/browser/extensions/activity_log/counting_policy_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 463 chrome/browser/extensions/activity_log/counting_policy_unittest.cc args->Set(0, new base::StringValue("hello")); base 464 chrome/browser/extensions/activity_log/counting_policy_unittest.cc args->Set(1, new base::StringValue("world")); base 466 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time::Now(), base 475 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::Arguments_Stripped)); base 484 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); base 491 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 492 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 493 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 494 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 499 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(40), base 506 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(30), base 513 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(20), base 536 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::Arguments_GetTodaysActions)); base 544 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); base 548 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 549 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 550 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 551 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 556 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(3) - base 557 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromMinutes(40), base 564 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(3), base 580 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(7), base 591 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::Arguments_GetOlderActions)); base 611 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time::Now(), base 614 chrome/browser/extensions/activity_log/counting_policy_unittest.cc action_api->set_args(make_scoped_ptr(new base::ListValue())); base 618 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time::Now(), base 621 chrome/browser/extensions/activity_log/counting_policy_unittest.cc action_dom->set_args(make_scoped_ptr(new base::ListValue())); base 633 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 644 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 655 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 666 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 677 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 688 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 701 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); base 705 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 706 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 707 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 708 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 714 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(3) - base 715 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromMinutes(40), base 721 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(3) - base 722 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromMinutes(20), base 728 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(2) - base 729 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromMinutes(20), base 737 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::Arguments_CheckMergeCount, 2)); base 741 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::Arguments_CheckMergeCount, 1)); base 745 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(2)); base 746 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->last_database_cleaning_time_ = base::Time(); base 756 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::Arguments_CheckMergeCount, 0)); base 760 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::Arguments_CheckMergeCount, 1)); base 771 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); base 773 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 774 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now()); base 775 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 781 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(7), base 805 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(2)); base 806 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->last_database_cleaning_time_ = base::Time(); base 824 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); base 828 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 829 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 830 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 831 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 837 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time time1 = base 838 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(2) - base 839 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromMinutes(40); base 840 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time time2 = base 841 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(1) - base 842 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromMinutes(40); base 843 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time time3 = base 844 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(2) - base 845 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromMinutes(20); base 861 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 867 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 873 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time time4 = mock_clock->Now() - base::TimeDelta::FromMinutes(60); base 874 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time time5 = mock_clock->Now() - base::TimeDelta::FromMinutes(20); base 875 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time time6 = mock_clock->Now() - base::TimeDelta::FromMinutes(40); base 890 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 904 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time::Now(), base 906 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::StringPrintf("apicall_%d", i)); base 923 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Time::Now(), base 925 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::StringPrintf("apicall_%d", i)); base 940 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 951 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 952 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 953 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 954 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 966 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 984 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::AllURLsRemoved)); base 994 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 995 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 996 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 997 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 1010 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 1021 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 1030 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 1040 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 1061 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::SomeURLsRemoved)); base 1071 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 1072 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 1073 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 1074 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 1108 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 1119 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 1129 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); base 1136 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 1137 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 1138 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 1139 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 1144 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(40), base 1151 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(30), base 1158 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(20), base 1181 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::Arguments_GetTodaysActions)); base 1193 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 1209 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::Arguments_GetSinglesAction)); base 1221 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind( base 1232 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 1233 chrome/browser/extensions/activity_log/counting_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 1234 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::TimeDelta::FromHours(12)); base 1235 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 1264 chrome/browser/extensions/activity_log/counting_policy_unittest.cc base::Bind(&CountingPolicyTest::CheckDuplicates)); base 1275 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::NoActionsDeleted)); base 1283 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::NoActionsDeleted)); base 1290 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::NoActionsDeleted)); base 1298 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::AllActionsDeleted)); base 1303 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::Action1Deleted)); base 1308 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::Action2Deleted)); base 11 chrome/browser/extensions/activity_log/database_string_table.cc using base::StringPrintf; base 19 chrome/browser/extensions/activity_log/database_string_table_unittest.cc base::FilePath db_file = temp_dir_.path().AppendASCII("StringTable.db"); base 28 chrome/browser/extensions/activity_log/database_string_table_unittest.cc base::ScopedTempDir temp_dir_; base 147 chrome/browser/extensions/activity_log/database_string_table_unittest.cc ASSERT_TRUE(table.StringToInt(&db_, base::StringPrintf("value-%d", i), base 26 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc using base::Callback; base 27 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc using base::FilePath; base 28 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc using base::Time; base 29 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc using base::Unretained; base 162 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc std::string query_str = base::StringPrintf( base 192 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc base::Time::FromInternalValue(query.ColumnInt64(1)), base 197 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc scoped_ptr<base::Value> parsed_value( base 198 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc base::JSONReader::Read(query.ColumnString(4))); base 199 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (parsed_value && parsed_value->IsType(base::Value::TYPE_LIST)) { base 201 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc static_cast<base::ListValue*>(parsed_value.release()))); base 210 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc scoped_ptr<base::Value> parsed_value( base 211 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc base::JSONReader::Read(query.ColumnString(8))); base 212 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc if (parsed_value && parsed_value->IsType(base::Value::TYPE_DICTIONARY)) { base 214 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc static_cast<base::DictionaryValue*>(parsed_value.release()))); base 241 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc base::StringPrintf("DELETE FROM %s WHERE rowid = ?", kTableName); base 272 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc std::string sql_str = base::StringPrintf( base 293 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc std::string sql_str = base::StringPrintf( base 307 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc sql_str = base::StringPrintf("UPDATE %s SET arg_url=NULL WHERE arg_url=?", base 335 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc std::string sql_str = base::StringPrintf( base 359 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc std::string sql_str = base::StringPrintf("DELETE FROM %s;", kTableName); base 397 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc const base::Callback base 402 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc base::Bind(&FullStreamUIPolicy::DoReadFilteredData, base 403 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc base::Unretained(this), base 38 chrome/browser/extensions/activity_log/fullstream_ui_policy.h const base::Callback base 53 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc (&command_line, base::FilePath(), false); base 60 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::RunLoop().RunUntilIdle(); base 62 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::RunLoop().RunUntilIdle(); base 73 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { base 88 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { base 99 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::CheckWrapper, base 101 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::MessageLoop::current()->QuitClosure())); base 105 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::CancelableClosure timeout( base 106 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::TimeoutCallback)); base 107 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 112 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::MessageLoop::current()->Run(); base 118 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker, base 119 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc const base::Closure& done, base 126 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 230 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { base 234 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 235 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 236 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::TimeDelta::FromHours(12)); base 237 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 242 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(40), base 255 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(30), base 397 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 399 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Time::Now(), base 422 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Time::Now(), base 425 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc action_api->set_args(make_scoped_ptr(new base::ListValue())); base 429 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Time::Now(), base 432 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc action_dom->set_args(make_scoped_ptr(new base::ListValue())); base 440 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::RetrieveActions_LogAndFetchActions)); base 460 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Time::Now(), base 463 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc action_api->set_args(make_scoped_ptr(new base::ListValue())); base 467 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Time::Now(), base 470 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc action_dom->set_args(make_scoped_ptr(new base::ListValue())); base 482 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 493 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 504 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 515 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 526 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 537 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 555 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 556 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc args->Set(0, new base::StringValue("hello")); base 557 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc args->Set(1, new base::StringValue("world")); base 559 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Time::Now(), base 568 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::Arguments_Present)); base 581 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 582 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 583 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::TimeDelta::FromHours(12)); base 584 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 589 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromMinutes(40), base 616 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::Arguments_GetTodaysActions)); base 627 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 628 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 629 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::TimeDelta::FromHours(12)); base 630 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 635 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(3) - base 636 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::TimeDelta::FromMinutes(40), base 643 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(3), base 659 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Now() - base::TimeDelta::FromDays(7), base 670 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::Arguments_GetOlderActions)); base 680 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 681 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 682 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::TimeDelta::FromHours(12)); base 683 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 695 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 713 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::AllURLsRemoved)); base 723 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 724 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 725 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::TimeDelta::FromHours(12)); base 726 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 739 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 750 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 759 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 769 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->Advance(base::TimeDelta::FromSeconds(1)); base 789 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::SomeURLsRemoved)); base 799 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::SimpleTestClock* mock_clock = new base::SimpleTestClock(); base 800 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc mock_clock->SetNow(base::Time::Now().LocalMidnight() + base 801 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::TimeDelta::FromHours(12)); base 802 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); base 836 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 847 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 859 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Time::Now(), base 861 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::StringPrintf("apicall_%d", i)); base 869 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&base::DoNothing), base 870 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::MessageLoop::current()->QuitClosure()); base 871 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::MessageLoop::current()->Run(); base 881 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 901 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Time::Now(), base 904 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc action_api->set_args(make_scoped_ptr(new base::ListValue())); base 908 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Time::Now(), base 911 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc action_dom->set_args(make_scoped_ptr(new base::ListValue())); base 919 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::RetrieveActions_LogAndFetchActions)); base 932 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind( base 946 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::NoActionsDeleted)); base 955 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::NoActionsDeleted)); base 963 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::NoActionsDeleted)); base 974 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc base::Bind(&FullStreamUIPolicyTest::AllActionsDeleted)); base 980 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, action_ids, base::Bind(&FullStreamUIPolicyTest::Action1Deleted)); base 986 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, action_ids, base::Bind(&FullStreamUIPolicyTest::Action2Deleted)); base 319 chrome/browser/extensions/activity_log/uma_policy.cc return base::StringPrintf("%s://%s%s%s%s", base 37 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc return base::StringPrintf( base 84 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc base::HistogramBase* google_histogram = base::Histogram::FactoryGet( base 86 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc 1, 100, 50, base::HistogramBase::kNoFlags); base 87 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = base 92 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc base::HistogramBase* cnn_histogram = base::Histogram::FactoryGet( base 94 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc 1, 100, 50, base::HistogramBase::kNoFlags); base 95 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> cnn_samples = base 129 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc base::HistogramBase* google_histogram = base::Histogram::FactoryGet( base 131 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc 1, 100, 50, base::HistogramBase::kNoFlags); base 132 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = base 158 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc base::HistogramBase* google_histogram = base::Histogram::FactoryGet( base 160 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc 1, 100, 50, base::HistogramBase::kNoFlags); base 161 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = base 188 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc base::HistogramBase* cnn_histogram = base::Histogram::FactoryGet( base 190 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc 1, 100, 50, base::HistogramBase::kNoFlags); base 191 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> cnn_samples = base 237 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc dir2.WriteManifest(base::StringPrintf(manifest, "2")); base 270 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc base::HistogramBase* google_histogram = base::Histogram::FactoryGet( base 272 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc 1, 100, 50, base::HistogramBase::kNoFlags); base 273 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = base 277 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc base::HistogramBase* cnn_histogram = base::Histogram::FactoryGet( base 279 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc 1, 100, 50, base::HistogramBase::kNoFlags); base 280 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> cnn_samples = base 287 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc base::HistogramBase* google_histogram = base::Histogram::FactoryGet( base 289 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc 1, 100, 50, base::HistogramBase::kNoFlags); base 290 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> google_samples = base 294 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc base::HistogramBase* cnn_histogram = base::Histogram::FactoryGet( base 296 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc 1, 100, 50, base::HistogramBase::kNoFlags); base 297 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc scoped_ptr<base::HistogramSamples> cnn_samples = base 33 chrome/browser/extensions/activity_log/uma_policy_unittest.cc "id", base::Time::Now(), Action::ACTION_API_CALL, "extension.connect"); base 37 chrome/browser/extensions/activity_log/uma_policy_unittest.cc "id", base::Time::Now(), Action::ACTION_API_CALL, "tabs.executeScript"); base 42 chrome/browser/extensions/activity_log/uma_policy_unittest.cc "id", base::Time::Now(), Action::ACTION_CONTENT_SCRIPT, ""); base 49 chrome/browser/extensions/activity_log/uma_policy_unittest.cc "id", base::Time::Now(), Action::ACTION_DOM_ACCESS, "Document.location"); base 63 chrome/browser/extensions/activity_log/uma_policy_unittest.cc "id", base::Time::Now(), Action::ACTION_DOM_ACCESS, "HTMLDocument.write"); base 72 chrome/browser/extensions/activity_log/uma_policy_unittest.cc base::Time::Now(), base 75 chrome/browser/extensions/activity_log/uma_policy_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 76 chrome/browser/extensions/activity_log/uma_policy_unittest.cc args->Set(0, new base::StringValue("script")); base 138 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ext_a, base::Time::Now(), Action::ACTION_CONTENT_SCRIPT, ""); base 143 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ext_a, base::Time::Now(), Action::ACTION_CONTENT_SCRIPT, ""); base 148 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ext_b, base::Time::Now(), Action::ACTION_DOM_ACCESS, "Document.location"); base 156 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ext_a, base::Time::Now(), Action::ACTION_DOM_ACCESS, "Document.location"); base 163 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ext_b, base::Time::Now(), Action::ACTION_DOM_ACCESS, "Document.location"); base 170 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ext_b, base::Time::Now(), Action::ACTION_API_CALL, "tabs.executeScript"); base 26 chrome/browser/extensions/alert_apitest.cc base::ASCIIToUTF16("alert('This should not crash.');")); base 37 chrome/browser/extensions/all_urls_apitest.cc base::FilePath extension_dir1 = test_data_dir_.AppendASCII("all_urls") base 39 chrome/browser/extensions/all_urls_apitest.cc base::FilePath extension_dir2 = test_data_dir_.AppendASCII("all_urls") base 105 chrome/browser/extensions/all_urls_apitest.cc base::FilePath extension_dir1 = test_data_dir_.AppendASCII("all_urls") base 107 chrome/browser/extensions/all_urls_apitest.cc base::FilePath extension_dir2 = test_data_dir_.AppendASCII("all_urls") base 31 chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<ActivityLogAPI> > base 90 chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 156 chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc base::Bind( base 192 chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc if (base::StringToInt64(params->activity_ids[i], &value)) base 28 chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 29 chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc args->Set(0, new base::StringValue("hello")); base 30 chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc args->Set(1, new base::StringValue("world")); base 32 chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc base::Time::Now(), base 45 chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 46 chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc args->Set(0, new base::StringValue("hello")); base 47 chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc args->Set(1, new base::StringValue("world")); base 49 chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc base::Time::Now(), base 64 chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc base::Bind(&ActivityLogApiTest::HandleRequest, base::Unretained(this))); base 36 chrome/browser/extensions/api/alarms/alarm_manager.cc const base::TimeDelta kDefaultMinPollPeriod() { base 37 chrome/browser/extensions/api/alarms/alarm_manager.cc return base::TimeDelta::FromDays(1); base 48 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 62 chrome/browser/extensions/api/alarms/alarm_manager.cc base::TimeDelta TimeDeltaFromDelay(double delay_in_minutes) { base 63 chrome/browser/extensions/api/alarms/alarm_manager.cc return base::TimeDelta::FromMicroseconds( base 64 chrome/browser/extensions/api/alarms/alarm_manager.cc delay_in_minutes * base::Time::kMicrosecondsPerMinute); base 67 chrome/browser/extensions/api/alarms/alarm_manager.cc std::vector<Alarm> AlarmsFromValue(const base::ListValue* list) { base 70 chrome/browser/extensions/api/alarms/alarm_manager.cc const base::DictionaryValue* alarm_dict = NULL; base 74 chrome/browser/extensions/api/alarms/alarm_manager.cc const base::Value* time_value = NULL; base 76 chrome/browser/extensions/api/alarms/alarm_manager.cc base::GetValueAsTimeDelta(*time_value, &alarm.granularity); base 83 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<base::ListValue> AlarmsToValue(const std::vector<Alarm>& alarms) { base 84 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 86 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<base::DictionaryValue> alarm = base 89 chrome/browser/extensions/api/alarms/alarm_manager.cc base::CreateTimeDeltaValue(alarms[i].granularity)); base 102 chrome/browser/extensions/api/alarms/alarm_manager.cc clock_(new base::DefaultClock()), base 120 chrome/browser/extensions/api/alarms/alarm_manager.cc RunWhenReady(extension_id, base::Bind( base 127 chrome/browser/extensions/api/alarms/alarm_manager.cc RunWhenReady(extension_id, base::Bind( base 133 chrome/browser/extensions/api/alarms/alarm_manager.cc RunWhenReady(extension_id, base::Bind( base 140 chrome/browser/extensions/api/alarms/alarm_manager.cc RunWhenReady(extension_id, base::Bind( base 146 chrome/browser/extensions/api/alarms/alarm_manager.cc RunWhenReady(extension_id, base::Bind( base 215 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::SetClockForTesting(base::Clock* clock) { base 219 chrome/browser/extensions/api/alarms/alarm_manager.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<AlarmManager> > base 244 chrome/browser/extensions/api/alarms/alarm_manager.cc next_poll_time_ = base::Time(); base 260 chrome/browser/extensions/api/alarms/alarm_manager.cc *period_in_minutes * base::Time::kMicrosecondsPerMinute / base 261 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Time::kMicrosecondsPerMillisecond; base 286 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Time alarm_time = base 287 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Time::FromJsTime(alarm.js_alarm->scheduled_time); base 297 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<base::Value> alarms; base 307 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<base::Value> value) { base 308 chrome/browser/extensions/api/alarms/alarm_manager.cc base::ListValue* list = NULL; base 323 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::SetNextPollTime(const base::Time& time) { base 326 chrome/browser/extensions/api/alarms/alarm_manager.cc std::max(base::TimeDelta::FromSeconds(0), time - clock_->Now()), base 335 chrome/browser/extensions/api/alarms/alarm_manager.cc next_poll_time_ = base::Time(); base 342 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Time soonest_alarm_time = base::Time::FromJsTime( base 344 chrome/browser/extensions/api/alarms/alarm_manager.cc base::TimeDelta min_granularity = kDefaultMinPollPeriod(); base 349 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Time cur_alarm_time = base 350 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Time::FromJsTime(l_it->js_alarm->scheduled_time); base 355 chrome/browser/extensions/api/alarms/alarm_manager.cc base::TimeDelta cur_alarm_delta = cur_alarm_time - last_poll_time_; base 363 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Time next_poll(last_poll_time_ + min_granularity); base 391 chrome/browser/extensions/api/alarms/alarm_manager.cc if (base::Time::FromJsTime(cur_alarm->js_alarm->scheduled_time) <= base 426 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Bind(&AlarmManager::ReadFromStorage, base 435 chrome/browser/extensions/api/alarms/alarm_manager.cc extension->id(), base::Bind(RemoveAllOnUninstallCallback)); base 452 chrome/browser/extensions/api/alarms/alarm_manager.cc base::TimeDelta min_granularity, base 453 chrome/browser/extensions/api/alarms/alarm_manager.cc base::Time now) base 461 chrome/browser/extensions/api/alarms/alarm_manager.cc granularity = base::Time::FromJsTime(js_alarm->scheduled_time) - now; base 470 chrome/browser/extensions/api/alarms/alarm_manager.cc base::TimeDelta delay = TimeDeltaFromDelay(*delay_in_minutes); base 24 chrome/browser/extensions/api/alarms/alarm_manager.h namespace base { base 40 chrome/browser/extensions/api/alarms/alarm_manager.h base::TimeDelta min_granularity, base 41 chrome/browser/extensions/api/alarms/alarm_manager.h base::Time now); base 50 chrome/browser/extensions/api/alarms/alarm_manager.h base::TimeDelta granularity; base 53 chrome/browser/extensions/api/alarms/alarm_manager.h base::TimeDelta minimum_granularity; base 60 chrome/browser/extensions/api/alarms/alarm_manager.h public base::SupportsWeakPtr<AlarmManager> { base 78 chrome/browser/extensions/api/alarms/alarm_manager.h typedef base::Callback<void()> AddAlarmCallback; base 85 chrome/browser/extensions/api/alarms/alarm_manager.h typedef base::Callback<void(Alarm*)> GetAlarmCallback; base 92 chrome/browser/extensions/api/alarms/alarm_manager.h typedef base::Callback<void(const AlarmList*)> GetAllAlarmsCallback; base 98 chrome/browser/extensions/api/alarms/alarm_manager.h typedef base::Callback<void(bool)> RemoveAlarmCallback; base 105 chrome/browser/extensions/api/alarms/alarm_manager.h typedef base::Callback<void()> RemoveAllAlarmsCallback; base 112 chrome/browser/extensions/api/alarms/alarm_manager.h void SetClockForTesting(base::Clock* clock); base 137 chrome/browser/extensions/api/alarms/alarm_manager.h typedef base::Callback<void(const std::string&)> ReadyAction; base 188 chrome/browser/extensions/api/alarms/alarm_manager.h scoped_ptr<base::Value> value); base 192 chrome/browser/extensions/api/alarms/alarm_manager.h void SetNextPollTime(const base::Time& time); base 218 chrome/browser/extensions/api/alarms/alarm_manager.h scoped_ptr<base::Clock> clock_; base 223 chrome/browser/extensions/api/alarms/alarm_manager.h base::OneShotTimer<AlarmManager> timer_; base 234 chrome/browser/extensions/api/alarms/alarm_manager.h base::Time last_poll_time_; base 237 chrome/browser/extensions/api/alarms/alarm_manager.h base::Time next_poll_time_; base 92 chrome/browser/extensions/api/alarms/alarms_api.cc : clock_(new base::DefaultClock()), owns_clock_(true) {} base 94 chrome/browser/extensions/api/alarms/alarms_api.cc AlarmsCreateFunction::AlarmsCreateFunction(base::Clock* clock) base 119 chrome/browser/extensions/api/alarms/alarms_api.cc base::TimeDelta::FromMinutes( base 124 chrome/browser/extensions/api/alarms/alarms_api.cc extension_id(), alarm, base::Bind(&AlarmsCreateFunction::Callback, this)); base 141 chrome/browser/extensions/api/alarms/alarms_api.cc base::Bind(&AlarmsGetFunction::Callback, this, name)); base 159 chrome/browser/extensions/api/alarms/alarms_api.cc extension_id(), base::Bind(&AlarmsGetAllFunction::Callback, this)); base 172 chrome/browser/extensions/api/alarms/alarms_api.cc SetResult(new base::ListValue()); base 186 chrome/browser/extensions/api/alarms/alarms_api.cc base::Bind(&AlarmsClearFunction::Callback, this, name)); base 192 chrome/browser/extensions/api/alarms/alarms_api.cc SetResult(new base::FundamentalValue(success)); base 198 chrome/browser/extensions/api/alarms/alarms_api.cc extension_id(), base::Bind(&AlarmsClearAllFunction::Callback, this)); base 203 chrome/browser/extensions/api/alarms/alarms_api.cc SetResult(new base::FundamentalValue(true)); base 12 chrome/browser/extensions/api/alarms/alarms_api.h namespace base { base 25 chrome/browser/extensions/api/alarms/alarms_api.h explicit AlarmsCreateFunction(base::Clock* clock); base 35 chrome/browser/extensions/api/alarms/alarms_api.h base::Clock* const clock_; base 37 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc if (base::MessageLoop::current()->is_running()) base 38 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Quit(); base 57 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_ = new base::SimpleTestClock(); base 67 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(10)); base 76 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc std::vector<linked_ptr<JsAlarm> > ToAlarmList(base::ListValue* value) { base 80 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::DictionaryValue* alarm_value; base 101 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc scoped_ptr<base::DictionaryValue> result(RunFunctionAndReturnDictionary( base 107 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::SimpleTestClock* test_clock_; base 127 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 133 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->alarm_manager_->GetAllAlarms(test->extension()->id(), base::Bind( base 138 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(10)); base 142 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->GetAlarm(extension()->id(), std::string(), base::Bind( base 154 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->test_clock_->Advance(base::TimeDelta::FromSeconds(1)); base 157 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 159 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->test_clock_->Advance(base::TimeDelta::FromSeconds(1)); base 162 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 169 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(10)); base 174 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->GetAlarm(extension()->id(), std::string(), base::Bind( base 194 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->test_clock_->SetNow(base::Time::FromDoubleT(10.1)); base 197 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 200 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->extension()->id(), std::string(), base::Bind( base 205 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(9.99)); base 208 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->GetAlarm(extension()->id(), std::string(), base::Bind( base 223 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->test_clock_->SetNow(base::Time::FromDoubleT(10.7)); base 224 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 227 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->extension()->id(), std::string(), base::Bind( base 240 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->test_clock_->SetNow(base::Time::FromDoubleT(10.1)); base 243 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 246 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->extension()->id(), std::string(), base::Bind( base 252 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(9.99)); base 255 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->GetAlarm(extension()->id(), std::string(), base::Bind( base 268 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(10)); base 274 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->GetAllAlarms(extension()->id(), base::Bind( base 294 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(4)); base 302 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc scoped_ptr<base::DictionaryValue> result(RunFunctionAndReturnDictionary( base 315 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc scoped_ptr<base::DictionaryValue> result(RunFunctionAndReturnDictionary( base 335 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc scoped_ptr<base::ListValue> result(RunFunctionAndReturnList( base 345 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc scoped_ptr<base::ListValue> result(RunFunctionAndReturnList( base 377 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->test_clock_->Advance(base::TimeDelta::FromMilliseconds(60)); base 379 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 385 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->alarm_manager_->GetAllAlarms(test->extension()->id(), base::Bind( base 392 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc scoped_ptr<base::Value> result( base 404 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc scoped_ptr<base::Value> result( base 411 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc scoped_ptr<base::Value> result( base 418 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->GetAllAlarms(extension()->id(), base::Bind( base 435 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test->extension()->id(), base::Bind( base 442 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnValue( base 451 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->GetAllAlarms(extension()->id(), base::Bind( base 458 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc const base::Time scheduled_time = base 459 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::Time::FromJsTime(alarm->js_alarm->scheduled_time); base 468 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->GetAlarm(extension()->id(), alarm_name, base::Bind( base 470 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::Unretained(this))); base 477 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::Bind(&ExtensionAlarmsSchedulingTest::RemoveAlarmCallback)); base 481 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->RemoveAllAlarms(extension()->id(), base::Bind( base 500 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(10)); base 511 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(3 * 60 + 1)); base 517 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 518 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_EQ(base::Time::FromJsTime(3 * 60000) + base 519 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::TimeDelta::FromMinutes(3), base 524 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromDoubleT(4 * 60 + 1)); base 537 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 538 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_EQ(base::Time::FromJsTime(4 * 60000) + base 539 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::TimeDelta::FromMinutes(4), base 548 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromJsTime(300000)); base 556 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->last_poll_time_ = base::Time::FromJsTime(290000); base 562 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::TimeDelta::FromMinutes(1)).ToJsTime(), base 570 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->Advance(base::TimeDelta::FromMilliseconds(60)); base 571 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::MessageLoop::current()->Run(); base 582 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromJsTime(0)); base 584 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->Advance(base::TimeDelta::FromSeconds(1)); base 586 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->Advance(base::TimeDelta::FromMinutes(2)); base 588 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->last_poll_time_ = base::Time::FromJsTime(2 * 60000); base 594 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::TimeDelta::FromMinutes(1)).ToJsTime(), base 599 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromJsTime(0)); base 613 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->last_poll_time_ = base::Time::FromJsTime(0); base 619 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::TimeDelta::FromSeconds(12)).ToJsTime(), base 626 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->SetNow(base::Time::FromJsTime(0)); base 629 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm_manager_->last_poll_time_ = base::Time::FromJsTime(0); base 634 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::TimeDelta::FromSeconds(120)).ToJsTime(), base 638 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->Advance(base::TimeDelta::FromSeconds(125)); base 648 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::TimeDelta::FromSeconds(115)).ToJsTime(), base 652 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc test_clock_->Advance(base::TimeDelta::FromSeconds(255)); // Total Time: 380s base 662 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc base::TimeDelta::FromSeconds(100)).ToJsTime(), base 64 chrome/browser/extensions/api/app_window/app_window_api.cc class DevToolsRestorer : public base::RefCounted<DevToolsRestorer> { base 75 chrome/browser/extensions/api/app_window/app_window_api.cc base::Bind(&DevToolsRestorer::LoadCompleted, this)); base 200 chrome/browser/extensions/api/app_window/app_window_api.cc base::DictionaryValue* result = new base::DictionaryValue; base 201 chrome/browser/extensions/api/app_window/app_window_api.cc result->Set("viewId", new base::FundamentalValue(view_id)); base 283 chrome/browser/extensions/api/app_window/app_window_api.cc base::DictionaryValue* result = new base::DictionaryValue; base 284 chrome/browser/extensions/api/app_window/app_window_api.cc result->Set("viewId", new base::FundamentalValue(view_id)); base 286 chrome/browser/extensions/api/app_window/app_window_api.cc new base::FundamentalValue(inject_html_titlebar_)); base 287 chrome/browser/extensions/api/app_window/app_window_api.cc result->Set("id", new base::StringValue(app_window->window_key())); base 80 chrome/browser/extensions/api/app_window/app_window_apitest.cc ready_listener.Reply(base::IntToString(slop)); base 114 chrome/browser/extensions/api/app_window/app_window_apitest.cc base::RunLoop run_loop; base 18 chrome/browser/extensions/api/audio/audio_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<AudioAPI> > g_factory = base 46 chrome/browser/extensions/api/audio/audio_api.cc scoped_ptr<base::ListValue>(new base::ListValue()))); base 56 chrome/browser/extensions/api/audio/audio_api.cc service->StartGetInfo(base::Bind(&AudioGetInfoFunction::OnGetInfoCompleted, base 30 chrome/browser/extensions/api/audio/audio_service.h typedef base::Callback<void(const OutputInfo&, const InputInfo&, bool)> base 75 chrome/browser/extensions/api/audio/audio_service_chromeos.cc base::WeakPtrFactory<AudioServiceImpl> weak_ptr_factory_; base 115 chrome/browser/extensions/api/audio/audio_service_chromeos.cc cras_audio_client_->GetNodes(base::Bind(&AudioServiceImpl::OnGetNodes, base 118 chrome/browser/extensions/api/audio/audio_service_chromeos.cc base::Bind(&AudioServiceImpl::OnGetNodesError, base 181 chrome/browser/extensions/api/audio/audio_service_chromeos.cc info->id = base::Uint64ToString(iter->id); base 190 chrome/browser/extensions/api/audio/audio_service_chromeos.cc info->id = base::Uint64ToString(iter->id); base 225 chrome/browser/extensions/api/audio/audio_service_chromeos.cc if (!base::StringToUint64(id_str, &device_id)) base 47 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc scoped_ptr<base::ListValue> args) { base 76 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 81 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::DictionaryValue* axTreeUpdate = new base::DictionaryValue(); base 85 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::Value::CreateIntegerValue(process_id)); base 87 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::Value::CreateIntegerValue(routing_id)); base 89 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::ListValue* nodes = new base::ListValue(); base 112 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::ListValue* nodes) { base 113 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::DictionaryValue* axNodeData = new base::DictionaryValue(); base 117 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::DictionaryValue* state_dict = new base::DictionaryValue(); base 129 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::DictionaryValue* bool_attributes = new base::DictionaryValue(); base 138 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::DictionaryValue* float_attributes = new base::DictionaryValue(); base 147 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::DictionaryValue* html_attributes = new base::DictionaryValue(); base 156 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::DictionaryValue* int_attributes = new base::DictionaryValue(); base 165 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::DictionaryValue* intlist_attributes = new base::DictionaryValue(); base 169 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::ListValue* intlist = new base::ListValue(); base 178 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::DictionaryValue* string_attributes = new base::DictionaryValue(); base 187 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc base::ListValue* child_ids = new base::ListValue(); base 34 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc base::ListValue* GetHostPermissions(const Extension* ext, bool effective_perm) { base 43 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc base::ListValue* permissions = new base::ListValue; base 46 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc permissions->Append(new base::StringValue(perm->GetAsString())); base 52 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc base::ListValue* GetAPIPermissions(const Extension* ext) { base 53 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc base::ListValue* permissions = new base::ListValue; base 58 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc permissions->Append(new base::StringValue(perm->c_str())); base 98 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc base::DictionaryValue* result(new base::DictionaryValue); base 129 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc user_image = base::IntToString(user->image_index()); base 162 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc base::ListValue* extensions_values = new base::ListValue; base 170 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc base::DictionaryValue* extension_value = new base::DictionaryValue; base 205 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc base::DictionaryValue* return_value(new base::DictionaryValue); base 228 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<AutotestPrivateAPI> > base 76 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<BluetoothAPI> > base 180 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothAddProfileFunction::OnProfileRegistered, this)); base 207 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothEventRouter::DispatchConnectionEvent, base 208 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Unretained(GetEventRouter(browser_context())), base 249 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::ListValue* device_list = new base::ListValue; base 331 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothConnectFunction::OnSuccessCallback, this), base 332 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothConnectFunction::OnErrorCallback, this)); base 371 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer->StartOfBuffer(), base 391 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::DictionaryValue* options; base 394 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::DictionaryValue* socket; base 406 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::BinaryValue* tmp_data; base 428 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc SetResult(new base::FundamentalValue( base 454 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::DictionaryValue* options; base 467 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::DictionaryValue* data_in; base 472 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::BinaryValue* tmp_data; base 489 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothSetOutOfBandPairingDataFunction::OnSuccessCallback, base 491 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothSetOutOfBandPairingDataFunction::OnErrorCallback, base 495 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothSetOutOfBandPairingDataFunction::OnSuccessCallback, base 497 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothSetOutOfBandPairingDataFunction::OnErrorCallback, base 506 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::BinaryValue* hash = base::BinaryValue::CreateWithCopiedBuffer( base 509 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::BinaryValue* randomizer = base::BinaryValue::CreateWithCopiedBuffer( base 515 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 532 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothGetLocalOutOfBandPairingDataFunction::ReadCallback, base 534 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothGetLocalOutOfBandPairingDataFunction::ErrorCallback, base 554 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothStartDiscoveryFunction::OnSuccessCallback, this), base 555 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothStartDiscoveryFunction::OnErrorCallback, this)); base 574 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothStopDiscoveryFunction::OnSuccessCallback, this), base 575 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::Bind(&BluetoothStopDiscoveryFunction::OnErrorCallback, this)); base 198 chrome/browser/extensions/api/bluetooth/bluetooth_api.h const base::BinaryValue* data_to_write_; // memory is owned by args_ base 103 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc scoped_ptr<base::ListValue> args = base 97 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc out->name.reset(new std::string(base::UTF16ToUTF8(device.GetName()))); base 152 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc static bool CallClosure(const base::Closure& callback) { base 157 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc static void StopDiscoverySessionCallback(const base::Closure& callback, base 158 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc const base::Closure& error_callback) { base 248 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 270 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 273 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc base::DictionaryValue* dict; base 276 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc base::BinaryValue* binary_value; base 306 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc std::string params = base::StringPrintf( base 350 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc .WillRepeatedly(testing::Return(base::UTF8ToUTF16("the real d2"))); base 632 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc .WillRepeatedly(testing::Return(base::UTF8ToUTF16("Chromebook Pixel"))); base 137 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const base::Closure& callback, base 138 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const base::Closure& error_callback) { base 151 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc base::Bind(&BluetoothEventRouter::OnStartDiscoverySession, base 161 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const base::Closure& callback, base 162 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const base::Closure& error_callback) { base 208 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_ptr<base::ListValue> args = base 225 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const base::Closure& callback, base 245 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc base::Closure self_callback = base 246 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc base::Bind(&BluetoothEventRouter::AddPairingDelegate, base 249 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc GetAdapter(base::Bind(&BluetoothEventRouter::OnAdapterInitialized, base 362 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc GetAdapter(base::Bind(&BluetoothEventRouter::OnAdapterInitialized, base 364 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc base::Bind(&base::DoNothing))); base 378 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_ptr<base::ListValue> args = base 393 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_ptr<base::ListValue> args = base 462 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const base::Closure& callback, base 85 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h const base::Closure& callback, base 86 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h const base::Closure& error_callback); base 95 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h const base::Closure& callback, base 96 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h const base::Closure& error_callback); base 163 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h void OnAdapterInitialized(const base::Closure& callback, base 173 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h const base::Closure& callback, base 207 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h base::WeakPtrFactory<BluetoothEventRouter> weak_ptr_factory_; base 103 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc base::RunLoop run_loop; base 113 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc base::MessageLoopForUI message_loop_; base 214 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc base::ListValue* event_args = fake_event_router->event()->event_args.get(); base 215 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc base::DictionaryValue* socket_value = NULL; base 221 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc base::DictionaryValue* profile_value = NULL; base 49 chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.cc GetAdapter(base::Bind(&BluetoothExtensionFunction::RunOnAdapterReady, this), base 21 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<BluetoothPrivateAPI> > base 151 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc base::Closure base 154 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc return base::Bind( base 160 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc base::Closure base 163 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc return base::Bind( base 61 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h base::Closure CreatePropertySetCallback(const std::string& property_name); base 62 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h base::Closure CreatePropertyErrorCallback(const std::string& property_name); base 74 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc if (!base::StringToInt64(id_string, &id)) base 108 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc element->id.reset(new std::string(base::Int64ToString(node.id()))); base 110 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc new std::string(base::Int64ToString(node.parent()->id()))); base 115 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc element->title = base::UTF16ToUTF8(node.GetTitle()); base 135 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc node_element->title = base::UTF16ToUTF8(element.title); base 182 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc scoped_ptr<base::ListValue> event_args) { base 201 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc base::Int64ToString(node->id()))); base 220 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc static base::LazyInstance< base 259 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc scoped_ptr<base::ListValue> args) { base 386 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc SetResult(new base::FundamentalValue(can_paste)); base 408 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc base::DictionaryValue* localized_strings = new base::DictionaryValue(); base 595 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc SetResult(new base::FundamentalValue( base 640 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc SetResult(new base::FundamentalValue(can_open_new_windows)); base 688 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc result.label = base::UTF16ToUTF8(undo_manager->GetUndoLabel()); base 703 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc result.label = base::UTF16ToUTF8(undo_manager->GetRedoLabel()); base 45 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h scoped_ptr<base::ListValue> event_args); base 105 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h scoped_ptr<base::ListValue> args); base 39 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc model->AddFolder(bar, 0, base::ASCIIToUTF16("Folder")); base 40 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc model->AddURL(bar, 1, base::ASCIIToUTF16("AAA"), base 42 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc model->AddURL(folder, 0, base::ASCIIToUTF16("BBB"), base 44 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc bookmark_tree_node->id = base::Int64ToString(node->id()); base 49 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc base::Int64ToString(parent->id()))); base 57 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc base::Time t = node->date_folder_modified(); base 64 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc bookmark_tree_node->title = base::UTF16ToUTF8(node->GetTitle()); base 26 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("Digg"), base 28 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("News"), base 31 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->other_node(), 0, base::ASCIIToUTF16("outer folder")); base 32 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddFolder(folder_, 0, base::ASCIIToUTF16("inner folder 1")); base 33 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddFolder(folder_, 0, base::ASCIIToUTF16("inner folder 2")); base 35 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc folder_, 0, base::ASCIIToUTF16("Digg"), GURL("http://reddit.com")); base 37 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc folder_, 0, base::ASCIIToUTF16("CNet"), GURL("http://cnet.com")); base 61 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc using base::TimeDelta; base 78 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::FilePath GetDefaultFilepathForBookmarkExport() { base 79 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::Time time = base::Time::Now(); base 83 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::FilePath::StringType filename = base 85 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::TimeFormatShortDateNumeric(time)); base 87 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::FilePath::StringType filename = base 89 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::TimeFormatShortDateNumeric(time)); base 94 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::FilePath default_path; base 122 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc if (base::StringToInt64(id_string, id)) base 175 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc scoped_ptr<base::ListValue> event_args) { base 201 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc move_info.parent_id = base::Int64ToString(new_parent->id()); base 203 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc move_info.old_parent_id = base::Int64ToString(old_parent->id()); base 208 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc bookmarks::OnMoved::Create(base::Int64ToString(node->id()), move_info)); base 218 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc bookmarks::OnCreated::Create(base::Int64ToString(node->id()), base 227 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc remove_info.parent_id = base::Int64ToString(parent->id()); base 231 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc bookmarks::OnRemoved::Create(base::Int64ToString(node->id()), base 250 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc change_info.title = base::UTF16ToUTF8(node->GetTitle()); base 255 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc bookmarks::OnChanged::Create(base::Int64ToString(node->id()), base 271 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc reorder_info.child_ids.push_back(base::Int64ToString(child->id())); base 276 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::Int64ToString(node->id()), reorder_info)); base 312 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<BookmarksAPI> > base 437 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc new base::string16(base::UTF8ToUTF16(*params->query.as_string))); base 451 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc new base::string16(base::UTF8ToUTF16(*object.query))); base 454 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc query.url.reset(new base::string16(base::UTF8ToUTF16(*object.url))); base 456 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc query.title.reset(new base::string16(base::UTF8ToUTF16(*object.title))); base 476 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc bool BookmarksRemoveFunction::ExtractIds(const base::ListValue* args, base 483 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc if (base::StringToInt64(id_string, &id)) base 552 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::string16 title; // Optional. base 554 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc title = base::UTF8ToUTF16(*params->bookmark.title.get()); base 585 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc bool BookmarksMoveFunction::ExtractIds(const base::ListValue* args, base 652 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc bool BookmarksUpdateFunction::ExtractIds(const base::ListValue* args, base 668 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::string16 title; base 671 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc title = base::UTF8ToUTF16(*params->changes.title); base 731 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc virtual void GetBucketsForArgs(const base::ListValue* args, base 733 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc const base::DictionaryValue* json; base 746 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::StringToInt64(parent_id, &parent_id_int64); base 751 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc std::string bucket_id = base::UTF16ToUTF8(parent->GetTitle()); base 761 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc buckets->push_back(GetBucket(base::SHA1HashString(bucket_id))); base 772 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc virtual void GetBucketsForArgs(const base::ListValue* args, base 790 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc bucket_id += base::UTF16ToUTF8(node->parent()->GetTitle()); base 791 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc bucket_id += base::UTF16ToUTF8(node->GetTitle()); base 793 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc buckets->push_back(GetBucket(base::SHA1HashString(bucket_id))); base 808 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc virtual void GetBucketsForArgs(const base::ListValue* args, base 908 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::Bind(&BookmarksIOFunction::SelectFile, this, type)); base 914 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::FilePath default_path; base 922 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::Bind(&BookmarksIOFunction::ShowSelectFileDialog, this, base 928 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc const base::FilePath& default_path) { base 956 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::string16(), base 960 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc base::FilePath::StringType(), base 970 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc const std::vector<base::FilePath>& files, void* params) { base 982 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarksImportFunction::FileSelected(const base::FilePath& path, base 1010 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarksExportFunction::FileSelected(const base::FilePath& path, base 20 chrome/browser/extensions/api/bookmarks/bookmarks_api.h namespace base { base 67 chrome/browser/extensions/api/bookmarks/bookmarks_api.h scoped_ptr<base::ListValue> event_args); base 208 chrome/browser/extensions/api/bookmarks/bookmarks_api.h static bool ExtractIds(const base::ListValue* args, base 249 chrome/browser/extensions/api/bookmarks/bookmarks_api.h static bool ExtractIds(const base::ListValue* args, base 268 chrome/browser/extensions/api/bookmarks/bookmarks_api.h static bool ExtractIds(const base::ListValue* args, base 288 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void FileSelected(const base::FilePath& path, int index, void* params) = 0; base 291 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void MultiFilesSelected(const std::vector<base::FilePath>& files, base 303 chrome/browser/extensions/api/bookmarks/bookmarks_api.h const base::FilePath& default_path); base 314 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void FileSelected(const base::FilePath& path, base 330 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void FileSelected(const base::FilePath& path, base 20 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc using base::Time; base 21 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc using base::TimeDelta; base 59 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc create_brlapi_connection_function_ = base::Bind( base 61 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this)); base 119 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Bind( base 121 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this)))) { base 135 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc create_brlapi_connection_function_ = base::Bind( base 137 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this)); base 163 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Bind( base 165 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this)), base 166 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Bind( base 168 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this))); base 174 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::FilePath brlapi_dir(BRLAPI_SOCKETPATH); base 176 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc brlapi_dir, false, base::Bind( base 178 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this)))) { base 184 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc const base::FilePath& path, bool error) { base 191 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc BrowserThread::IO, FROM_HERE, base::Bind( base 193 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this))); base 214 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc BrlapiConnection::ConnectResult result = connection_->Connect(base::Bind( base 216 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this))); base 252 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Bind( base 254 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this)), base 343 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Bind( base 345 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this), base 346 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Passed(&event))); base 358 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Bind(&BrailleControllerImpl::DispatchOnDisplayStateChanged, base 359 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Unretained(this), base 360 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc base::Passed(&new_state)))) { base 40 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.h typedef base::Callback<scoped_ptr<BrlapiConnection>()> base 56 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.h void OnSocketDirChangedOnFileThread(const base::FilePath& path, bool error); base 75 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.h base::Time retry_connect_horizon_; base 81 chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.h base::FilePathWatcher file_path_watcher_; base 54 chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc static base::LazyInstance< base 74 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc base::Bind(&MockBrlapiConnection::NotifyDataReady, base 75 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc base::Unretained(this))); base 86 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc base::Bind(&BrailleControllerImpl::PokeSocketDirForTesting, base 87 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc base::Unretained(BrailleControllerImpl::GetInstance()))); base 136 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc base::Bind(&MockBrlapiConnection::NotifyDataReady, base 137 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc base::Unretained(this))); base 154 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc base::Bind( base 156 chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc base::Unretained(this))); base 13 chrome/browser/extensions/api/braille_display_private/brlapi_connection.cc using base::MessageLoopForIO; base 62 chrome/browser/extensions/api/braille_display_private/brlapi_connection.cc scoped_ptr<brlapi_handle_t, base::FreeDeleter> handle_; base 95 chrome/browser/extensions/api/braille_display_private/brlapi_connection.cc if (base::SysInfo::IsRunningOnChromeOS()) base 21 chrome/browser/extensions/api/braille_display_private/brlapi_connection.h typedef base::Closure OnDataReadyCallback; base 124 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc scoped_ptr<base::DictionaryValue> origin_types(new base::DictionaryValue); base 140 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc base::Time time = BrowsingDataRemover::CalculateBeginDeleteTime(period); base 144 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc scoped_ptr<base::DictionaryValue> options(new base::DictionaryValue); base 150 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc scoped_ptr<base::DictionaryValue> selected(new base::DictionaryValue); base 151 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc scoped_ptr<base::DictionaryValue> permitted(new base::DictionaryValue); base 198 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 210 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc base::DictionaryValue* selected_dict, base 211 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc base::DictionaryValue* permitted_dict, base 232 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc base::DictionaryValue* options; base 249 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc base::Time::UnixEpoch() : base 250 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc base::Time::FromDoubleT(ms_since_epoch / 1000.0); base 268 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc base::Bind( base 287 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc base::Bind(&BrowsingDataRemoverFunction::StartRemoving, this)); base 305 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc GetProfile(), remove_since_, base::Time::Max()); base 311 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc const base::DictionaryValue& options) { base 316 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc const base::DictionaryValue* d = NULL; base 355 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc base::DictionaryValue* data_to_remove; base 363 chrome/browser/extensions/api/browsing_data/browsing_data_api.cc for (base::DictionaryValue::Iterator i(*data_to_remove); base 69 chrome/browser/extensions/api/browsing_data/browsing_data_api.h void SetDetails(base::DictionaryValue* selected_dict, base 70 chrome/browser/extensions/api/browsing_data/browsing_data_api.h base::DictionaryValue* permitted_dict, base 106 chrome/browser/extensions/api/browsing_data/browsing_data_api.h int ParseOriginSetMask(const base::DictionaryValue& options); base 111 chrome/browser/extensions/api/browsing_data/browsing_data_api.h base::Time remove_since_; base 48 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::Time GetBeginTime() { base 80 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc int GetAsMask(const base::DictionaryValue* dict, std::string path, base 141 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc scoped_ptr<base::Value> result_value(RunFunctionAndReturnSingleResult( base 144 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::DictionaryValue* result; base 146 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::DictionaryValue* options; base 153 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::Time time = base 190 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc scoped_ptr<base::Value> result_value(RunFunctionAndReturnSingleResult( base 193 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::DictionaryValue* result; base 196 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::DictionaryValue* options; base 198 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::DictionaryValue* origin_types; base 207 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::DictionaryValue* data_to_remove; base 273 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc EXPECT_EQ(base::Time(), GetBeginTime()); base 314 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc EXPECT_EQ(base::Time::FromDoubleT(1.0), GetBeginTime()); base 412 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc scoped_ptr<base::Value> result_value(RunFunctionAndReturnSingleResult( base 415 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::DictionaryValue* result; base 417 chrome/browser/extensions/api/browsing_data/browsing_data_test.cc base::DictionaryValue* data_to_remove; base 43 chrome/browser/extensions/api/capture_web_contents_function.cc base::Value* spec = NULL; base 78 chrome/browser/extensions/api/capture_web_contents_function.cc base::Bind(&CaptureWebContentsFunction::CopyFromBackingStoreComplete, base 102 chrome/browser/extensions/api/capture_web_contents_function.cc base::Bind(&CaptureWebContentsFunction::GetSnapshotFromRendererComplete, base 149 chrome/browser/extensions/api/capture_web_contents_function.cc base::StringPiece stream_as_string( base 152 chrome/browser/extensions/api/capture_web_contents_function.cc base::Base64Encode(stream_as_string, &base64_result); base 153 chrome/browser/extensions/api/capture_web_contents_function.cc base64_result.insert(0, base::StringPrintf("data:%s;base64,", base 155 chrome/browser/extensions/api/capture_web_contents_function.cc SetResult(new base::StringValue(base64_result)); base 38 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc scoped_ptr<base::DictionaryValue> dict = info.ToValue(); base 40 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc base::JSONWriter::Write(dict.get(), &out); base 56 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<CastChannelAPI> > base 86 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc scoped_ptr<base::ListValue> results = OnError::Create(channel_info); base 98 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc scoped_ptr<base::ListValue> results = base 202 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc base::Bind(&CastChannelOpenFunction::OnOpen, this)); base 226 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc base::Bind(&CastChannelSendFunction::OnSend, this)); base 253 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc socket->Close(base::Bind(&CastChannelCloseFunction::OnClose, this)); base 40 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc message_info->data.reset(new base::StringValue(message)); base 112 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc base::Bind(&CastChannelAPITest::DoCallOnMessage, this, base 39 chrome/browser/extensions/api/cast_channel/cast_message_util.cc base::BinaryValue* real_value; base 42 chrome/browser/extensions/api/cast_channel/cast_message_util.cc case base::Value::TYPE_STRING: base 49 chrome/browser/extensions/api/cast_channel/cast_message_util.cc case base::Value::TYPE_BINARY: base 50 chrome/browser/extensions/api/cast_channel/cast_message_util.cc real_value = static_cast<base::BinaryValue*>(message.data.get()); base 72 chrome/browser/extensions/api/cast_channel/cast_message_util.cc scoped_ptr<base::Value> value; base 76 chrome/browser/extensions/api/cast_channel/cast_message_util.cc value.reset(new base::StringValue(message_proto.payload_utf8())); base 80 chrome/browser/extensions/api/cast_channel/cast_message_util.cc value.reset(base::BinaryValue::CreateWithCopiedBuffer( base 102 chrome/browser/extensions/api/cast_channel/cast_message_util.cc out += ", type = " + base::IntToString(message_proto.payload_type()); base 121 chrome/browser/extensions/api/cast_channel/cast_message_util.cc out += base::IntToString(message.error().error_type()); base 51 chrome/browser/extensions/api/cast_channel/cast_socket.cc static base::LazyInstance<BrowserContextKeyedAPIFactory< base 181 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::MessageLoop::current()->PostTask( base 183 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::Bind(&CastSocket::DoConnectLoop, AsWeakPtr(), result)); base 243 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::Bind(&CastSocket::DoConnectLoop, AsWeakPtr())); base 262 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::Bind(&CastSocket::DoConnectLoop, AsWeakPtr())); base 287 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::MessageLoop::current()->PostTask( base 289 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::Bind(&CastSocket::SendCastMessageInternal, AsWeakPtr(), base 291 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::Bind(&CastSocket::DoConnectLoop, AsWeakPtr()))); base 325 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::ResetAndReturn(&connect_callback_).Run(result); base 432 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::Bind(&CastSocket::DoWriteLoop, AsWeakPtr())); base 500 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::MessageLoop::current()->PostTask( base 502 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::Bind(&CastSocket::StartReadLoop, AsWeakPtr())); base 568 chrome/browser/extensions/api/cast_channel/cast_socket.cc base::Bind(&CastSocket::DoReadLoop, AsWeakPtr())); base 725 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (!base::StringToInt(port_str, &port)) base 755 chrome/browser/extensions/api/cast_channel/cast_socket.cc output.message_size = base::HostToNet32(message_size); base 765 chrome/browser/extensions/api/cast_channel/cast_socket.cc header->message_size = base::NetToHost32(message_size); base 769 chrome/browser/extensions/api/cast_channel/cast_socket.cc return "{message_size: " + base::UintToString(message_size) + "}"; base 55 chrome/browser/extensions/api/cast_channel/cast_socket.h public base::SupportsWeakPtr<CastSocket> { base 256 chrome/browser/extensions/api/cast_channel/cast_socket.h base::ThreadChecker thread_checker_; base 53 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc message->data.reset(new base::StringValue(data)); base 65 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc message->data.reset(base::BinaryValue::CreateWithCopiedBuffer( base 91 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::MessageLoop::current()->PostTask( base 93 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(callback, connect_data_.result)); base 319 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Close(base::Bind(&CompleteHandler::OnCloseComplete, base 320 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 340 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 341 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 348 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::RunLoop run_loop; base 352 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::MessageLoop message_loop_; base 397 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Close(base::Bind(&CompleteHandler::OnCloseComplete, base 398 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 413 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 414 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 436 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 437 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 459 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 460 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 488 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 489 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 509 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 510 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 524 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 525 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 539 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 540 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 555 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 556 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 571 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 572 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 588 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 589 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 605 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 606 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 622 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 623 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 640 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 641 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 660 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc socket_->Connect(base::Bind(&CompleteHandler::OnConnectComplete, base 661 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 676 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 677 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 692 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 693 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 708 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 709 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 724 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 725 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 744 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 745 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 765 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 766 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 780 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 781 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 795 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc new base::StringValue(std::string(size, 'a'))); base 797 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 798 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 815 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 816 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 833 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 834 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 851 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 852 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 873 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Bind(&CompleteHandler::OnWriteComplete, base 874 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc base::Unretained(&handler_))); base 989 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc uint32 body_size = base::HostToNet32(kMaxMessageSize + 1); base 1008 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc uint32 body_size = base::HostToNet32(arraysize(body)); base 90 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc base::TimeDelta duration) { base 97 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc base::RunLoop run_loop; base 101 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc base::Bind(&TestPatternReceiver::NotifyOnceMatched, base 102 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc base::Unretained(this), base 114 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc base::TimeDelta match_duration, base 115 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const base::Closure& matched_callback) { base 124 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc first_time_near_target_color_ = base::TimeTicks(); base 125 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc first_time_near_target_tone_ = base::TimeTicks(); base 138 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const base::TimeTicks now = cast_env()->Clock()->NowTicks(); base 147 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const base::TimeTicks& playout_time) OVERRIDE { base 177 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc first_time_near_target_tone_ = base::TimeTicks(); base 182 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const base::TimeTicks& render_time) OVERRIDE { base 217 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc first_time_near_target_color_ = base::TimeTicks(); base 225 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc CHECK(base::IsFinite(*average)); base 249 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc base::TimeDelta match_duration_; base 250 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc base::Closure matched_callback_; base 256 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc base::TimeTicks first_time_near_target_color_; base 258 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc base::TimeTicks first_time_near_target_tone_; base 318 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const std::string page_url = base::StringPrintf( base 327 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const base::TimeDelta kOneHalfSecond = base::TimeDelta::FromMilliseconds(500); base 78 chrome/browser/extensions/api/cast_streaming/performance_test.cc TimeData(uint16 frame_no_, base::TimeTicks render_time_) : base 86 chrome/browser/extensions/api/cast_streaming/performance_test.cc base::TimeTicks render_time; base 108 chrome/browser/extensions/api/cast_streaming/performance_test.cc return base::StringPrintf("%f,%f", mean, std_dev); base 170 chrome/browser/extensions/api/cast_streaming/performance_test.cc typedef std::map<uint16, base::TimeTicks> TimeMap; base 179 chrome/browser/extensions/api/cast_streaming/performance_test.cc base::TimeTicks& frame_tick = (*map)[events[i].frame_no]; base 217 chrome/browser/extensions/api/cast_streaming/performance_test.cc const base::TimeTicks& playout_time) OVERRIDE { base 241 chrome/browser/extensions/api/cast_streaming/performance_test.cc const base::TimeTicks& render_time) OVERRIDE { base 587 chrome/browser/extensions/api/cast_streaming/performance_test.cc const std::string page_url = base::StringPrintf( base 56 chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc scoped_ptr<base::DictionaryValue> user_setings( base 77 chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc SetResult(new base::StringValue( base 108 chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc base::Bind(&CloudPrintPrivateGetPrintersFunction::SendResults, this)); base 124 chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc SetResult(new base::StringValue( base 15 chrome/browser/extensions/api/command_line_private/command_line_private_apitest.cc virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE { base 74 chrome/browser/extensions/api/commands/command_service.cc new base::FundamentalValue(true)); base 161 chrome/browser/extensions/api/commands/command_service.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<CommandService> > base 282 chrome/browser/extensions/api/commands/command_service.cc base::DictionaryValue* bindings = updater.Get(); base 294 chrome/browser/extensions/api/commands/command_service.cc const base::DictionaryValue* item = NULL; base 303 chrome/browser/extensions/api/commands/command_service.cc base::DictionaryValue* keybinding = new base::DictionaryValue(); base 373 chrome/browser/extensions/api/commands/command_service.cc const base::DictionaryValue* bindings = base 375 chrome/browser/extensions/api/commands/command_service.cc for (base::DictionaryValue::Iterator it(*bindings); !it.IsAtEnd(); base 377 chrome/browser/extensions/api/commands/command_service.cc const base::DictionaryValue* item = NULL; base 397 chrome/browser/extensions/api/commands/command_service.cc base::SplitString(shortcut, ':', &tokens); base 401 chrome/browser/extensions/api/commands/command_service.cc return Command(command_name, base::string16(), shortcut, global); base 530 chrome/browser/extensions/api/commands/command_service.cc base::DictionaryValue* bindings = updater.Get(); base 534 chrome/browser/extensions/api/commands/command_service.cc for (base::DictionaryValue::Iterator it(*bindings); !it.IsAtEnd(); base 540 chrome/browser/extensions/api/commands/command_service.cc const base::DictionaryValue* item = NULL; base 21 chrome/browser/extensions/api/commands/command_service.h namespace base { base 38 chrome/browser/extensions/api/commands/command_service_browsertest.cc base::ScopedTempDir scoped_temp_dir; base 40 chrome/browser/extensions/api/commands/command_service_browsertest.cc base::FilePath pem_path = test_data_dir_. base 42 chrome/browser/extensions/api/commands/command_service_browsertest.cc base::FilePath path_v1 = PackExtensionWithOptions( base 47 chrome/browser/extensions/api/commands/command_service_browsertest.cc base::FilePath()); base 48 chrome/browser/extensions/api/commands/command_service_browsertest.cc base::FilePath path_v2 = PackExtensionWithOptions( base 53 chrome/browser/extensions/api/commands/command_service_browsertest.cc base::FilePath()); base 94 chrome/browser/extensions/api/commands/command_service_browsertest.cc base::FilePath extension_dir = base 101 chrome/browser/extensions/api/commands/command_service_browsertest.cc base::DictionaryValue* bindings = updater.Get(); base 107 chrome/browser/extensions/api/commands/command_service_browsertest.cc base::DictionaryValue* keybinding = new base::DictionaryValue(); base 12 chrome/browser/extensions/api/commands/commands.cc base::DictionaryValue* CreateCommandValue( base 14 chrome/browser/extensions/api/commands/commands.cc base::DictionaryValue* result = new base::DictionaryValue(); base 19 chrome/browser/extensions/api/commands/commands.cc base::string16()); base 26 chrome/browser/extensions/api/commands/commands.cc base::ListValue* command_list = new base::ListValue(); base 42 chrome/browser/extensions/api/content_settings/content_settings_api.cc bool RemoveContentType(base::ListValue* args, base 162 chrome/browser/extensions/api/content_settings/content_settings_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 259 chrome/browser/extensions/api/content_settings/content_settings_api.cc base::Bind(&ContentSettingsContentSettingGetResourceIdentifiersFunction:: base 269 chrome/browser/extensions/api/content_settings/content_settings_api.cc base::ListValue* list = new base::ListValue(); base 278 chrome/browser/extensions/api/content_settings/content_settings_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 285 chrome/browser/extensions/api/content_settings/content_settings_api.cc BrowserThread::UI, FROM_HERE, base::Bind( base 57 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc base::MessageLoop::current()->PostTask( base 58 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc FROM_HERE, base::Bind(&ReleaseBrowserProcessModule)); base 213 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc base::FilePath::CharType kFooPath[] = base 215 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc base::FilePath::CharType kBarPath[] = base 221 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc content::WebPluginInfo(base::ASCIIToUTF16(kFooName), base 222 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc base::FilePath(kFooPath), base 223 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc base::ASCIIToUTF16("1.2.3"), base 224 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc base::ASCIIToUTF16("foo")), base 227 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc content::WebPluginInfo(base::ASCIIToUTF16(kBarName), base 228 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc base::FilePath(kBarPath), base 229 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc base::ASCIIToUTF16("2.3.4"), base 230 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc base::ASCIIToUTF16("bar")), base 29 chrome/browser/extensions/api/content_settings/content_settings_service.cc static base::LazyInstance< base 37 chrome/browser/extensions/api/content_settings/content_settings_service.cc const base::Time& install_time, base 46 chrome/browser/extensions/api/content_settings/content_settings_service.cc const base::ListValue* content_settings = NULL; base 38 chrome/browser/extensions/api/content_settings/content_settings_service.h const base::Time& install_time, base 68 chrome/browser/extensions/api/content_settings/content_settings_store.cc scoped_ptr<base::AutoLock> auto_lock(new base::AutoLock(lock_)); base 102 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::AutoLock lock(lock_); base 108 chrome/browser/extensions/api/content_settings/content_settings_store.cc new base::FundamentalValue(setting)); base 122 chrome/browser/extensions/api/content_settings/content_settings_store.cc const base::Time& install_time, base 124 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::AutoLock lock(lock_); base 143 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::AutoLock lock(lock_); base 165 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::AutoLock lock(lock_); base 231 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::AutoLock lock(lock_); base 246 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::ListValue* ContentSettingsStore::GetSettingsForExtension( base 249 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::AutoLock lock(lock_); base 253 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::ListValue* settings = new base::ListValue(); base 262 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::DictionaryValue* setting_dict = new base::DictionaryValue(); base 285 chrome/browser/extensions/api/content_settings/content_settings_store.cc const base::ListValue* list, base 287 chrome/browser/extensions/api/content_settings/content_settings_store.cc for (base::ListValue::const_iterator it = list->begin(); base 289 chrome/browser/extensions/api/content_settings/content_settings_store.cc if ((*it)->GetType() != base::Value::TYPE_DICTIONARY) { base 293 chrome/browser/extensions/api/content_settings/content_settings_store.cc base::DictionaryValue* dict = static_cast<base::DictionaryValue*>(*it); base 22 chrome/browser/extensions/api/content_settings/content_settings_store.h namespace base { base 38 chrome/browser/extensions/api/content_settings/content_settings_store.h : public base::RefCountedThreadSafe<ContentSettingsStore> { base 81 chrome/browser/extensions/api/content_settings/content_settings_store.h base::ListValue* GetSettingsForExtension(const std::string& extension_id, base 87 chrome/browser/extensions/api/content_settings/content_settings_store.h const base::ListValue* list, base 94 chrome/browser/extensions/api/content_settings/content_settings_store.h const base::Time& install_time, base 111 chrome/browser/extensions/api/content_settings/content_settings_store.h friend class base::RefCountedThreadSafe<ContentSettingsStore>; base 115 chrome/browser/extensions/api/content_settings/content_settings_store.h typedef std::multimap<base::Time, ExtensionEntry*> ExtensionEntryMap; base 139 chrome/browser/extensions/api/content_settings/content_settings_store.h mutable base::Lock lock_; base 34 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc base::Time GetNext() { base 35 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc return base::Time::FromInternalValue(++internal_); base 57 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc scoped_ptr<base::Value> setting( base 50 chrome/browser/extensions/api/context_menus/context_menus_api.cc base::DictionaryValue* properties = NULL; base 33 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc return base::IntToString(id.uid); base 86 chrome/browser/extensions/api/cookies/cookies_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 87 chrome/browser/extensions/api/cookies/cookies_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 135 chrome/browser/extensions/api/cookies/cookies_api.cc scoped_ptr<base::ListValue> event_args, base 227 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesGetFunction::GetCookieOnIOThread, this)); base 240 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesGetFunction::GetCookieCallback, this)); base 259 chrome/browser/extensions/api/cookies/cookies_api.cc SetResult(base::Value::CreateNullValue()); base 263 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesGetFunction::RespondOnUIThread, this)); base 299 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesGetAllFunction::GetAllCookiesOnIOThread, this)); base 312 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesGetAllFunction::GetAllCookiesCallback, this)); base 328 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesGetAllFunction::RespondOnUIThread, this)); base 363 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesSetFunction::SetCookieOnIOThread, this)); base 377 chrome/browser/extensions/api/cookies/cookies_api.cc base::Time expiration_time; base 382 chrome/browser/extensions/api/cookies/cookies_api.cc base::Time::UnixEpoch() : base 383 chrome/browser/extensions/api/cookies/cookies_api.cc base::Time::FromDoubleT(*parsed_args_->details.expiration_date); base 402 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesSetFunction::PullCookie, this)); base 414 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesSetFunction::PullCookieCallback, this)); base 437 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesSetFunction::RespondOnUIThread, this)); base 479 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesRemoveFunction::RemoveCookieOnIOThread, this)); base 494 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesRemoveFunction::RemoveCookieCallback, this)); base 508 chrome/browser/extensions/api/cookies/cookies_api.cc base::Bind(&CookiesRemoveFunction::RespondOnUIThread, this)); base 520 chrome/browser/extensions/api/cookies/cookies_api.cc scoped_ptr<base::ListValue> original_tab_ids(new base::ListValue()); base 522 chrome/browser/extensions/api/cookies/cookies_api.cc scoped_ptr<base::ListValue> incognito_tab_ids; base 526 chrome/browser/extensions/api/cookies/cookies_api.cc incognito_tab_ids.reset(new base::ListValue()); base 577 chrome/browser/extensions/api/cookies/cookies_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<CookiesAPI> > base 52 chrome/browser/extensions/api/cookies/cookies_api.h scoped_ptr<base::ListValue> event_args, base 72 chrome/browser/extensions/api/cookies/cookies_helpers.cc cookie->name = base::UTF16ToUTF8(base::UTF8ToUTF16(canonical_cookie.Name())); base 74 chrome/browser/extensions/api/cookies/cookies_helpers.cc base::UTF16ToUTF8(base::UTF8ToUTF16(canonical_cookie.Value())); base 94 chrome/browser/extensions/api/cookies/cookies_helpers.cc base::ListValue* tab_ids) { base 97 chrome/browser/extensions/api/cookies/cookies_helpers.cc base::DictionaryValue dict; base 150 chrome/browser/extensions/api/cookies/cookies_helpers.cc void AppendToTabIdList(Browser* browser, base::ListValue* tab_ids) { base 155 chrome/browser/extensions/api/cookies/cookies_helpers.cc tab_ids->Append(new base::FundamentalValue( base 25 chrome/browser/extensions/api/cookies/cookies_helpers.h namespace base { base 63 chrome/browser/extensions/api/cookies/cookies_helpers.h base::ListValue* tab_ids); base 89 chrome/browser/extensions/api/cookies/cookies_helpers.h void AppendToTabIdList(Browser* browser, base::ListValue* tab_ids); base 82 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), base::Time(), base::Time(), base 100 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), base::Time::FromDoubleT(10000), base::Time(), base 111 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::ListValue* tab_ids_list = new base::ListValue(); base 121 chrome/browser/extensions/api/cookies/cookies_unittest.cc GURL(), "ABC", "DEF", "www.foobar.com", "/", base::Time(), base::Time(), base 122 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), false, false, net::COOKIE_PRIORITY_DEFAULT); base 128 chrome/browser/extensions/api/cookies/cookies_unittest.cc GURL(), "ABC", "DEF", ".helloworld.com", "/", base::Time(), base::Time(), base 129 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), true, false, net::COOKIE_PRIORITY_DEFAULT); base 136 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::DictionaryValue dict; base 158 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::ListValue args; base 159 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 170 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), base 171 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), base 172 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), base 186 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), base 187 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), base 188 chrome/browser/extensions/api/cookies/cookies_unittest.cc base::Time(), base 163 chrome/browser/extensions/api/debugger/debugger_api.cc virtual base::string16 GetMessageText() const OVERRIDE; base 218 chrome/browser/extensions/api/debugger/debugger_api.cc base::string16 ExtensionDevToolsInfoBarDelegate::GetMessageText() const { base 220 chrome/browser/extensions/api/debugger/debugger_api.cc base::UTF8ToUTF16(client_name_)); base 369 chrome/browser/extensions/api/debugger/debugger_api.cc base::DictionaryValue protocol_request; base 380 chrome/browser/extensions/api/debugger/debugger_api.cc base::JSONWriter::Write(&protocol_request, &json_args); base 392 chrome/browser/extensions/api/debugger/debugger_api.cc scoped_ptr<base::ListValue> args(OnDetach::Create(debuggee_, base 426 chrome/browser/extensions/api/debugger/debugger_api.cc scoped_ptr<base::Value> result(base::JSONReader::Read(message)); base 427 chrome/browser/extensions/api/debugger/debugger_api.cc if (!result->IsType(base::Value::TYPE_DICTIONARY)) base 429 chrome/browser/extensions/api/debugger/debugger_api.cc base::DictionaryValue* dictionary = base 430 chrome/browser/extensions/api/debugger/debugger_api.cc static_cast<base::DictionaryValue*>(result.get()); base 439 chrome/browser/extensions/api/debugger/debugger_api.cc base::DictionaryValue* params_value; base 443 chrome/browser/extensions/api/debugger/debugger_api.cc scoped_ptr<base::ListValue> args( base 473 chrome/browser/extensions/api/debugger/debugger_api.cc format, keys::kTabTargetType, base::IntToString(*debuggee_.tab_id)); base 638 chrome/browser/extensions/api/debugger/debugger_api.cc base::DictionaryValue* response) { base 639 chrome/browser/extensions/api/debugger/debugger_api.cc base::Value* error_body; base 641 chrome/browser/extensions/api/debugger/debugger_api.cc base::JSONWriter::Write(error_body, &error_); base 646 chrome/browser/extensions/api/debugger/debugger_api.cc base::DictionaryValue* result_body; base 673 chrome/browser/extensions/api/debugger/debugger_api.cc base::Value* SerializeTarget(const DevToolsTargetImpl& target) { base 674 chrome/browser/extensions/api/debugger/debugger_api.cc base::DictionaryValue* dictionary = new base::DictionaryValue(); base 709 chrome/browser/extensions/api/debugger/debugger_api.cc base::Bind(&DebuggerGetTargetsFunction::SendTargetList, this)); base 715 chrome/browser/extensions/api/debugger/debugger_api.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 24 chrome/browser/extensions/api/debugger/debugger_api.h namespace base { base 82 chrome/browser/extensions/api/debugger/debugger_api.h void SendResponseBody(base::DictionaryValue* result); base 99 chrome/browser/extensions/api/declarative/declarative_api.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy = base 102 chrome/browser/extensions/api/declarative/declarative_api.cc base::PostTaskAndReplyWithResult( base 105 chrome/browser/extensions/api/declarative/declarative_api.cc base::Bind(&RulesFunction::RunImplOnCorrectThread, this), base 106 chrome/browser/extensions/api/declarative/declarative_api.cc base::Bind(&RulesFunction::SendResponse, this)); base 46 chrome/browser/extensions/api/declarative/declarative_apitest.cc return base::StringPrintf( base 106 chrome/browser/extensions/api/declarative/declarative_apitest.cc base::string16 title( base 108 chrome/browser/extensions/api/declarative/declarative_apitest.cc return base::UTF16ToUTF8(title); base 124 chrome/browser/extensions/api/declarative/declarative_apitest.cc base::Bind( base 126 chrome/browser/extensions/api/declarative/declarative_apitest.cc scoped_refptr<base::ThreadTestHelper> io_helper(new base::ThreadTestHelper( base 168 chrome/browser/extensions/api/declarative/declarative_apitest.cc base::StringPrintf("%s%s%s", base 201 chrome/browser/extensions/api/declarative/declarative_apitest.cc base::StringPrintf( base 235 chrome/browser/extensions/api/declarative/declarative_apitest.cc base::StringPrintf("%s%s%s", base 27 chrome/browser/extensions/api/declarative/declarative_rule.h namespace base { base 58 chrome/browser/extensions/api/declarative/declarative_rule.h typedef std::vector<linked_ptr<base::Value> > AnyVector; base 141 chrome/browser/extensions/api/declarative/declarative_rule.h typedef std::vector<linked_ptr<base::Value> > AnyVector; base 156 chrome/browser/extensions/api/declarative/declarative_rule.h const base::Time& extension_install_time, base 163 chrome/browser/extensions/api/declarative/declarative_rule.h const base::Time& extension_install_time, base 199 chrome/browser/extensions/api/declarative/declarative_rule.h typedef base::Callback<bool(const ConditionSet* conditions, base 205 chrome/browser/extensions/api/declarative/declarative_rule.h base::Time extension_installation_time, base 221 chrome/browser/extensions/api/declarative/declarative_rule.h base::Time extension_installation_time, base 247 chrome/browser/extensions/api/declarative/declarative_rule.h base::Time extension_installation_time_; // For precedences of rules. base 379 chrome/browser/extensions/api/declarative/declarative_rule.h const base::Time& extension_install_time, base 389 chrome/browser/extensions/api/declarative/declarative_rule.h const base::Time& extension_install_time, base 414 chrome/browser/extensions/api/declarative/declarative_rule.h base::Time extension_installation_time, base 434 chrome/browser/extensions/api/declarative/declarative_rule.h base::Time extension_installation_time, base 16 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc using base::test::ParseJson; base 30 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc scoped_ptr<base::DictionaryValue> SimpleManifest() { base 44 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc scoped_ptr<base::Value> value; base 54 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc const base::Value& condition, base 56 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc const base::DictionaryValue* dict = NULL; base 136 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc const base::Value& condition, base 139 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc const base::DictionaryValue* dict; base 213 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc class SummingAction : public base::RefCounted<SummingAction> { base 221 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc const base::Value& action, base 226 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc const base::DictionaryValue* dict = NULL; base 244 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc const base::Time& install_time, base 303 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc result->Apply("ext_id", base::Time(), &sum); base 333 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc base::Time install_time = base::Time::Now(); base 407 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc base::Time(), base 409 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc base::Bind(AtLeastOneCondition), base 429 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc base::Time(), base 431 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc base::Bind(AtLeastOneCondition), base 17 chrome/browser/extensions/api/declarative/deduping_factory.h namespace base { base 46 chrome/browser/extensions/api/declarative/deduping_factory.h const base::Value* /* value */ , base 71 chrome/browser/extensions/api/declarative/deduping_factory.h const base::Value* value, base 82 chrome/browser/extensions/api/declarative/deduping_factory.h typedef base::hash_map<InstanceType, PrototypeList> ExistingPrototypes; base 83 chrome/browser/extensions/api/declarative/deduping_factory.h typedef base::hash_map<InstanceType, FactoryMethod> FactoryMethods; base 84 chrome/browser/extensions/api/declarative/deduping_factory.h typedef base::hash_set<InstanceType> ParameterizedTypes; base 115 chrome/browser/extensions/api/declarative/deduping_factory.h const base::Value* value, base 16 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc class BaseClass : public base::RefCounted<BaseClass> { base 59 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc const base::Value* value, base 62 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc const base::DictionaryValue* dict = NULL; base 73 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> CreateDictWithParameter(int parameter) { base 74 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 88 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> d1(CreateDictWithParameter(1)); base 89 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> d2(CreateDictWithParameter(2)); base 90 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> d3(CreateDictWithParameter(3)); base 91 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> d4(CreateDictWithParameter(4)); base 135 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> d1(CreateDictWithParameter(1)); base 136 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> d2(CreateDictWithParameter(2)); base 161 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> d1(CreateDictWithParameter(1)); base 181 chrome/browser/extensions/api/declarative/deduping_factory_unittest.cc scoped_ptr<base::DictionaryValue> d1(CreateDictWithParameter(1)); base 87 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc base::Bind(&RulesCacheDelegate::ReadRulesForInstalledExtensions, base 90 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc base::Bind(&RulesCacheDelegate::CheckIfReady, base 95 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc scoped_ptr<base::Value> value) { base 100 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc const base::ListValue* rules = NULL; base 121 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc base::Bind( base 156 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc storage_init_time_ = base::Time::Now(); base 160 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc FROM_HERE, base::Bind(&RulesCacheDelegate::CheckIfReady, base 172 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc base::Bind(&RulesCacheDelegate::ReadFromStorageCallback, base 179 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc scoped_ptr<base::Value> value) { base 184 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc base::Bind(&RulesRegistry::DeserializeAndAddRules, base 187 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc base::Passed(&value))); base 193 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc FROM_HERE, base::Bind(&RulesCacheDelegate::CheckIfReady, base 224 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc new base::FundamentalValue(rules_stored)); base 42 chrome/browser/extensions/api/declarative/rules_cache_delegate.h scoped_ptr<base::Value> value); base 44 chrome/browser/extensions/api/declarative/rules_cache_delegate.h base::WeakPtr<RulesCacheDelegate> GetWeakPtr() { base 69 chrome/browser/extensions/api/declarative/rules_cache_delegate.h scoped_ptr<base::Value> value); base 92 chrome/browser/extensions/api/declarative/rules_cache_delegate.h base::Time storage_init_time_; base 96 chrome/browser/extensions/api/declarative/rules_cache_delegate.h base::WeakPtr<RulesRegistry> registry_; base 105 chrome/browser/extensions/api/declarative/rules_cache_delegate.h base::WeakPtrFactory<RulesCacheDelegate> weak_ptr_factory_; base 35 chrome/browser/extensions/api/declarative/rules_registry.cc scoped_ptr<base::Value> RulesToValue( base 37 chrome/browser/extensions/api/declarative/rules_registry.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 40 chrome/browser/extensions/api/declarative/rules_registry.cc return list.PassAs<base::Value>(); base 44 chrome/browser/extensions/api/declarative/rules_registry.cc const base::Value* value) { base 47 chrome/browser/extensions/api/declarative/rules_registry.cc const base::ListValue* list = NULL; base 53 chrome/browser/extensions/api/declarative/rules_registry.cc const base::DictionaryValue* dict = NULL; base 66 chrome/browser/extensions/api/declarative/rules_registry.cc return base::StringPrintf("_%d_", identifier); base 108 chrome/browser/extensions/api/declarative/rules_registry.cc return base::StringPrintf(kDuplicateRuleId, rule_id.c_str()); base 254 chrome/browser/extensions/api/declarative/rules_registry.cc scoped_ptr<base::Value> rules) { base 263 chrome/browser/extensions/api/declarative/rules_registry.cc void RulesRegistry::MarkReady(base::Time storage_init_time) { base 268 chrome/browser/extensions/api/declarative/rules_registry.cc base::Time::Now() - storage_init_time); base 285 chrome/browser/extensions/api/declarative/rules_registry.cc base::Bind(&RulesCacheDelegate::WriteToStorage, base 288 chrome/browser/extensions/api/declarative/rules_registry.cc base::Passed(RulesToValue(new_rules)))); base 304 chrome/browser/extensions/api/declarative/rules_registry.cc base::Bind(&RulesRegistry::ProcessChangedRules, base 26 chrome/browser/extensions/api/declarative/rules_registry.h namespace base { base 38 chrome/browser/extensions/api/declarative/rules_registry.h class RulesRegistry : public base::RefCountedThreadSafe<RulesRegistry> { base 179 chrome/browser/extensions/api/declarative/rules_registry.h friend class base::RefCountedThreadSafe<RulesRegistry>; base 198 chrome/browser/extensions/api/declarative/rules_registry.h base::WeakPtr<RulesRegistry> GetWeakPtr() { base 217 chrome/browser/extensions/api/declarative/rules_registry.h void MarkReady(base::Time storage_init_time); base 222 chrome/browser/extensions/api/declarative/rules_registry.h scoped_ptr<base::Value> rules); base 244 chrome/browser/extensions/api/declarative/rules_registry.h base::WeakPtrFactory<RulesRegistry> weak_ptr_factory_; base 253 chrome/browser/extensions/api/declarative/rules_registry.h base::WeakPtr<RulesCacheDelegate> cache_delegate_; base 93 chrome/browser/extensions/api/declarative/rules_registry_service.cc base::Bind(&RegisterToExtensionWebRequestEventRouterOnIO, base 120 chrome/browser/extensions/api/declarative/rules_registry_service.cc base::Bind(&RegisterToExtensionWebRequestEventRouterOnIO, base 125 chrome/browser/extensions/api/declarative/rules_registry_service.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<RulesRegistryService> > base 204 chrome/browser/extensions/api/declarative/rules_registry_service.cc base::Bind(notification_callback, registry, extension_id)); base 52 chrome/browser/extensions/api/declarative/rules_registry_service_unittest.cc base::MessageLoop message_loop_; base 77 chrome/browser/extensions/api/declarative/rules_registry_service_unittest.cc base::Bind(&InsertRule, registry_service.GetRulesRegistry(key, "ui"), base 82 chrome/browser/extensions/api/declarative/rules_registry_service_unittest.cc base::Bind(&InsertRule, registry_service.GetRulesRegistry(key, "io"), base 87 chrome/browser/extensions/api/declarative/rules_registry_service_unittest.cc base::Bind(&VerifyNumberOfRules, base 92 chrome/browser/extensions/api/declarative/rules_registry_service_unittest.cc base::Bind(&VerifyNumberOfRules, base 103 chrome/browser/extensions/api/declarative/rules_registry_service_unittest.cc base::Bind(&VerifyNumberOfRules, base 108 chrome/browser/extensions/api/declarative/rules_registry_service_unittest.cc base::Bind(&VerifyNumberOfRules, base 137 chrome/browser/extensions/api/declarative/rules_registry_service_unittest.cc base::Bind(&InsertRule, registry_service.GetRulesRegistry(key1, "ui"), base 141 chrome/browser/extensions/api/declarative/rules_registry_service_unittest.cc base::Bind(&InsertRule, registry_service.GetRulesRegistry(key2, "ui"), base 22 chrome/browser/extensions/api/declarative/rules_registry_unittest.cc base::MessageLoopForUI message_loop; base 132 chrome/browser/extensions/api/declarative/rules_registry_unittest.cc base::MessageLoopForUI message_loop; base 52 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc base::DictionaryValue manifest_extra; base 244 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc extension1_->id(), rules_stored_key, new base::FundamentalValue(false)); base 248 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc extension1_->id(), rules_stored_key, new base::FundamentalValue(true)); base 254 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue); base 257 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc value.PassAs<base::Value>()); base 259 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 263 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc value.reset(new base::ListValue); base 265 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc value.PassAs<base::Value>()); base 267 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 272 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc value.reset(new base::ListValue); base 274 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc value.PassAs<base::Value>()); base 276 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 284 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 290 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 324 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc extension1_->id(), rules_stored_key1, new base::FundamentalValue(false)); base 365 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc base::RunLoop().RunUntilIdle(); // Posted tasks store the added rule. base 377 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc base::RunLoop().RunUntilIdle(); // Posted tasks retrieve the stored rule. base 394 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 51 chrome/browser/extensions/api/declarative_content/content_action.cc const base::DictionaryValue* dict, base 65 chrome/browser/extensions/api/declarative_content/content_action.cc const base::Time& extension_install_time, base 73 chrome/browser/extensions/api/declarative_content/content_action.cc const base::Time& extension_install_time, base 107 chrome/browser/extensions/api/declarative_content/content_action.cc const base::DictionaryValue* /* dict */, base 120 chrome/browser/extensions/api/declarative_content/content_action.cc base::LazyInstance<ContentActionFactory>::Leaky base 136 chrome/browser/extensions/api/declarative_content/content_action.cc const base::Value& json_action, base 142 chrome/browser/extensions/api/declarative_content/content_action.cc const base::DictionaryValue* action_dict = NULL; base 156 chrome/browser/extensions/api/declarative_content/content_action.cc *error = base::StringPrintf(kInvalidInstanceTypeError, instance_type.c_str()); base 16 chrome/browser/extensions/api/declarative_content/content_action.h namespace base { base 29 chrome/browser/extensions/api/declarative_content/content_action.h class ContentAction : public base::RefCounted<ContentAction> { base 49 chrome/browser/extensions/api/declarative_content/content_action.h const base::Time& extension_install_time, base 52 chrome/browser/extensions/api/declarative_content/content_action.h const base::Time& extension_install_time, base 62 chrome/browser/extensions/api/declarative_content/content_action.h const base::Value& json_action, base 67 chrome/browser/extensions/api/declarative_content/content_action.h friend class base::RefCounted<ContentAction>; base 21 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc using base::test::ParseJson; base 58 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc const Extension* extension = env.MakeExtension(base::DictionaryValue()); base 102 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc result->Apply(extension->id(), base::Time(), &apply_info); base 104 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc result->Apply(extension->id(), base::Time(), &apply_info); base 106 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc result->Revert(extension->id(), base::Time(), &apply_info); base 108 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc result->Revert(extension->id(), base::Time(), &apply_info); base 72 chrome/browser/extensions/api/declarative_content/content_condition.cc const base::Value& condition, base 74 chrome/browser/extensions/api/declarative_content/content_condition.cc const base::DictionaryValue* condition_dict = NULL; base 94 chrome/browser/extensions/api/declarative_content/content_condition.cc for (base::DictionaryValue::Iterator iter(*condition_dict); base 97 chrome/browser/extensions/api/declarative_content/content_condition.cc const base::Value& condition_attribute_value = iter.value(); base 101 chrome/browser/extensions/api/declarative_content/content_condition.cc const base::DictionaryValue* dict = NULL; base 103 chrome/browser/extensions/api/declarative_content/content_condition.cc *error = base::StringPrintf(kInvalidTypeOfParamter, base 111 chrome/browser/extensions/api/declarative_content/content_condition.cc const base::ListValue* css_rules_value = NULL; base 116 chrome/browser/extensions/api/declarative_content/content_condition.cc *error = base::StringPrintf(kInvalidTypeOfParamter, base 123 chrome/browser/extensions/api/declarative_content/content_condition.cc *error = base::StringPrintf(kInvalidTypeOfParamter, base 127 chrome/browser/extensions/api/declarative_content/content_condition.cc *error = base::StringPrintf(kUnknownConditionAttribute, base 30 chrome/browser/extensions/api/declarative_content/content_condition.h base::hash_set<std::string> css_selectors; base 66 chrome/browser/extensions/api/declarative_content/content_condition.h const base::Value& condition, base 32 chrome/browser/extensions/api/declarative_content/content_condition_unittest.cc *base::test::ParseJson( base 50 chrome/browser/extensions/api/declarative_content/content_condition_unittest.cc *base::test::ParseJson( base 68 chrome/browser/extensions/api/declarative_content/content_condition_unittest.cc *base::test::ParseJson( base 87 chrome/browser/extensions/api/declarative_content/content_condition_unittest.cc *base::test::ParseJson( base 84 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc (*it)->actions().Apply((*it)->extension_id(), base::Time(), &apply_info); base 89 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc (*it)->actions().Revert((*it)->extension_id(), base::Time(), &apply_info); base 146 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc base::Time extension_installation_time = base 240 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc rule->actions().Revert(rule->extension_id(), base::Time(), &apply_info); base 313 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc base::Time ContentRulesRegistry::GetExtensionInstallationTime( base 316 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc return base::Time(); base 101 chrome/browser/extensions/api/declarative_content/content_rules_registry.h virtual base::Time GetExtensionInstallationTime( base 21 chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc using base::test::ParseJson; base 51 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict) { base 61 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc void ParseResponseCookieImpl(const base::DictionaryValue* dict, base 85 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict) { base 92 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict) { base 113 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* value, base 121 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* value, base 124 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 136 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* value, base 139 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 162 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* json_value, base 165 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 186 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* value, base 189 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 203 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* json_value, base 206 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 227 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* json_value, base 230 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 251 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* value, base 254 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 278 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* value, base 283 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 302 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* filter = NULL; base 309 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* value = NULL; base 313 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* value = NULL; base 324 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* value, base 329 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 348 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* filter = NULL; base 355 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* value = NULL; base 359 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* value = NULL; base 370 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value* value, base 373 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* dict = NULL; base 457 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc base::LazyInstance<WebRequestActionFactory>::Leaky base 504 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Value& json_action, base 510 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::DictionaryValue* action_dict = NULL; base 523 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc base::Time extension_install_time, base 572 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 606 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 638 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 668 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 762 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 814 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 853 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 894 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 947 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 963 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc base::CaseInsensitiveCompare<char>()))) { base 1003 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 1051 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 1104 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 1146 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc const base::Time& extension_install_time) const { base 23 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h namespace base { base 53 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h class WebRequestAction : public base::RefCounted<WebRequestAction> { base 138 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Value& json_action, base 147 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const = 0; base 152 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h base::Time extension_install_time, base 156 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h friend class base::RefCounted<WebRequestAction>; base 194 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 212 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 232 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 250 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 275 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 298 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 319 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 340 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 363 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 386 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 413 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 437 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 458 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h const base::Time& extension_install_time) const OVERRIDE; base 32 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc using base::DictionaryValue; base 33 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc using base::ListValue; base 44 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc scoped_ptr<base::Value> parsed_value(base::test::ParseJson(json)); base 45 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc const base::ListValue* parsed_list; base 49 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc for (base::ListValue::const_iterator it = parsed_list->begin(); base 52 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc const base::DictionaryValue* dict; base 54 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc actions.push_back(linked_ptr<base::Value>(dict->DeepCopy())); base 129 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc base::Time::Now(), base 133 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc base::Time::Now(), base 154 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc action_set->Apply(extension_id, base::Time(), &apply_info); base 188 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc base::ListValue empty_list; base 194 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc base::DictionaryValue input; base 233 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc base::DictionaryValue correct_action; base 236 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc base::DictionaryValue incorrect_action; base 240 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc input.push_back(linked_ptr<base::Value>(correct_action.DeepCopy())); base 252 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc input.push_back(linked_ptr<base::Value>(incorrect_action.DeepCopy())); base 131 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc const base::Value& condition, base 133 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc const base::DictionaryValue* condition_dict = NULL; base 154 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc for (base::DictionaryValue::Iterator iter(*condition_dict); base 157 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc const base::Value& condition_attribute_value = iter.value(); base 163 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc const base::DictionaryValue* dict = NULL; base 165 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc *error = base::StringPrintf(kInvalidTypeOfParamter, base 84 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h const base::Value& condition, base 28 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc using base::CaseInsensitiveCompareASCII; base 29 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc using base::DictionaryValue; base 30 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc using base::ListValue; base 31 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc using base::StringValue; base 32 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc using base::Value; base 91 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc base::LazyInstance<WebRequestConditionAttributeFactory>::Leaky base 113 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::Value* value, base 137 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::Value* value, base 141 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::ListValue* value_as_list = NULL; base 222 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::Value* value, base 227 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::ListValue* value_as_list = NULL; base 233 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc for (base::ListValue::const_iterator it = value_as_list->begin(); base 304 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc static scoped_ptr<const HeaderMatcher> Create(const base::ListValue* tests); base 317 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc static scoped_ptr<StringMatchTest> Create(const base::Value* data, base 345 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::DictionaryValue* tests); base 375 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::ListValue* tests) { base 377 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc for (base::ListValue::const_iterator it = tests->begin(); base 379 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::DictionaryValue* tests = NULL; base 409 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc HeaderMatcher::StringMatchTest::Create(const base::Value* data, base 462 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc HeaderMatcher::HeaderMatchTest::Create(const base::DictionaryValue* tests) { base 466 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc for (base::DictionaryValue::Iterator it(*tests); base 494 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::Value* content = &it.value(); base 499 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc case base::Value::TYPE_LIST: { base 500 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::ListValue* list = NULL; base 502 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc for (base::ListValue::const_iterator it = list->begin(); base 509 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc case base::Value::TYPE_STRING: { base 558 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::Value* value, base 560 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::ListValue* value_as_list = NULL; base 579 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::Value* value, base 653 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::Value* value, base 727 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::Value* value, base 799 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc bool ParseListOfStages(const base::Value& value, int* out_stages) { base 800 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::ListValue* list = NULL; base 806 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc for (base::ListValue::const_iterator it = list->begin(); base 833 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc const base::Value* value, base 18 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h namespace base { base 34 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h : public base::RefCounted<WebRequestConditionAttribute> { base 53 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h const base::Value* value, base 73 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h friend class base::RefCounted<WebRequestConditionAttribute>; base 94 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h const base::Value* value, base 124 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h const base::Value* value, base 159 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h const base::Value* value, base 193 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h const base::Value* value, base 223 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h const base::Value* value, base 252 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h const base::Value* value, base 19 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc using base::DictionaryValue; base 20 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc using base::FundamentalValue; base 21 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc using base::ListValue; base 22 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc using base::StringValue; base 23 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc using base::Value; base 32 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::FilePath TestDataPath(base::StringPiece relative_to_src) { base 33 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::FilePath src_dir; base 34 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &src_dir)); base 40 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoopForIO message_loop; base 44 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::StringValue string_value("main_frame"); base 45 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::ListValue resource_types; base 46 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc resource_types.Append(new base::StringValue("main_frame")); base 81 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoopForIO message_loop; base 84 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::ListValue resource_types; base 87 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc resource_types.Append(new base::StringValue("sub_frame")); base 114 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoopForIO message_loop; base 131 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoop::current()->Run(); base 133 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::ListValue content_types; base 134 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc content_types.Append(new base::StringValue("text/plain")); base 158 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc content_types.Append(new base::StringValue("something/invalid")); base 183 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoopForIO message_loop; base 245 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoopForIO message_loop; base 264 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::ListValue empty_list; base 274 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::ListValue all_stages; base 290 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::ListValue single_stage_list; base 348 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc scoped_ptr<base::DictionaryValue> GetDictionaryFromArray( base 353 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc scoped_ptr<base::DictionaryValue> dictionary(new base::DictionaryValue); base 358 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::Value* entry = NULL; base 359 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc scoped_ptr<base::Value> entry_owned; base 360 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::ListValue* list = NULL; base 362 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 364 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc case base::Value::TYPE_STRING: base 366 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc list = new base::ListValue; base 370 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc list->Append(new base::StringValue(*value)); base 373 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc case base::Value::TYPE_LIST: // Just append to the list. base 375 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc list->Append(new base::StringValue(*value)); base 379 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 398 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::ListValue contains_headers; base 400 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc scoped_ptr<base::DictionaryValue> temp(GetDictionaryFromArray(tests[i])); base 424 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoopForIO message_loop; base 435 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoop::current()->Run(); base 504 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoopForIO message_loop; base 518 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc base::MessageLoop::current()->Run(); base 26 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc base::MessageLoopForIO message_loop; base 37 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc *base::test::ParseJson( base 50 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc *base::test::ParseJson( base 64 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc *base::test::ParseJson( base 104 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc base::MessageLoopForIO message_loop; base 113 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc *base::test::ParseJson( base 150 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc base::MessageLoopForIO message_loop; base 159 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc *base::test::ParseJson( base 173 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc *base::test::ParseJson( base 191 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc *base::test::ParseJson( base 223 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc base::MessageLoopForIO message_loop; base 227 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc conditions.push_back(linked_ptr<base::Value>(base::test::ParseJson( base 235 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc conditions.push_back(linked_ptr<base::Value>(base::test::ParseJson( base 292 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc base::MessageLoopForIO message_loop; base 296 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc conditions.push_back(linked_ptr<base::Value>(base::test::ParseJson( base 352 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc base::MessageLoopForIO message_loop; base 363 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc *base::test::ParseJson( base 168 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc base::Time extension_installation_time = base 186 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc base::Bind(&Checker, base::Unretained(extension)), base 236 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc base::Bind(&extension_web_request_api_helpers::NotifyWebRequestAPIUsed, base 324 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc base::Time WebRequestRulesRegistry::GetExtensionInstallationTime( base 111 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h virtual base::Time GetExtensionInstallationTime( base 28 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc using base::Value; base 99 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::ListValue* scheme_http = new base::ListValue(); base 100 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc scheme_http->Append(new base::StringValue("http")); base 101 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue* http_condition_dict = new base::DictionaryValue(); base 104 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue http_condition_url_filter; base 109 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::ListValue* scheme_https = new base::ListValue(); base 110 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc scheme_http->Append(new base::StringValue("https")); base 111 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue* https_condition_dict = new base::DictionaryValue(); base 115 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue https_condition_url_filter; base 120 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue action_dict; base 126 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); base 128 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<base::Value>(http_condition_url_filter.DeepCopy())); base 130 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<base::Value>(https_condition_url_filter.DeepCopy())); base 136 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue condition_dict; base 139 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue action_dict; base 145 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); base 147 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<base::Value>(condition_dict.DeepCopy())); base 153 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue condition_dict; base 156 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue action_dict; base 163 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); base 165 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<base::Value>(condition_dict.DeepCopy())); base 172 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue condition_dict; base 173 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue* http_condition_dict = new base::DictionaryValue(); base 178 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue action_dict; base 185 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); base 187 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<base::Value>(condition_dict.DeepCopy())); base 193 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<base::Value> CreateCondition(const std::string& attributes) { base 200 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc return linked_ptr<base::Value>( base 201 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::test::ParseJson(json_description).release()); base 210 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::DictionaryValue action_dict; base 216 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); base 225 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::MessageLoopForIO message_loop_; base 257 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::Time() + base::TimeDelta::FromDays(1), base 261 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc base::Time() + base::TimeDelta::FromDays(2), base 440 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(base::Time() + base::TimeDelta::FromDays(2), base 445 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(base::Time() + base::TimeDelta::FromDays(1), base 483 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc EXPECT_EQ(base::Time() + base::TimeDelta::FromDays(2), base 527 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc scoped_ptr<base::Value> value1(base::JSONReader::Read(kRule1)); base 529 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc scoped_ptr<base::Value> value2(base::JSONReader::Read(kRule2)); base 693 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(kRule)); base 726 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc scoped_ptr<base::Value> action_value(base::JSONReader::Read(kAction)); base 730 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc actions.push_back(linked_ptr<base::Value>(action_value.release())); base 782 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(kRule)); base 74 chrome/browser/extensions/api/desktop_capture/desktop_capture_api.cc SetResult(new base::StringValue(std::string())); base 94 chrome/browser/extensions/api/desktop_capture/desktop_capture_api.cc base::string16 target_name; base 108 chrome/browser/extensions/api/desktop_capture/desktop_capture_api.cc target_name = base::UTF8ToUTF16(origin_.SchemeIsSecure() ? base 137 chrome/browser/extensions/api/desktop_capture/desktop_capture_api.cc target_name = base::UTF8ToUTF16(GetExtension()->name()); base 209 chrome/browser/extensions/api/desktop_capture/desktop_capture_api.cc DesktopMediaPicker::DoneCallback callback = base::Bind( base 213 chrome/browser/extensions/api/desktop_capture/desktop_capture_api.cc base::UTF8ToUTF16(GetExtension()->name()), base 239 chrome/browser/extensions/api/desktop_capture/desktop_capture_api.cc SetResult(new base::StringValue(result)); base 52 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc const base::string16& app_name, base 53 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc const base::string16& target_name, base 58 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 60 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc base::Bind(&FakeDesktopMediaPicker::CallCallback, base 77 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc base::WeakPtrFactory<FakeDesktopMediaPicker> weak_factory_; base 136 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc std::string port = base::IntToString(embedded_test_server()->port()); base 189 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc base::FilePath test_data; base 197 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc base::FilePath extension_path = base 90 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath::CharType kUnpackedAppsFolder[] base 99 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Base64Encode(contents, &contents_base64); base 127 chrome/browser/extensions/api/developer_private/developer_private_api.cc GURL ToDataURL(const base::FilePath& path, developer_private::ItemType type) { base 129 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (path.empty() || !base::ReadFileToString(path, &contents)) base 153 chrome/browser/extensions/api/developer_private/developer_private_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<DeveloperPrivateAPI> > base 256 chrome/browser/extensions/api/developer_private/developer_private_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 275 chrome/browser/extensions/api/developer_private/developer_private_api.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 283 chrome/browser/extensions/api/developer_private/developer_private_api.cc void DeveloperPrivateAPI::SetLastUnpackedDirectory(const base::FilePath& path) { base 322 chrome/browser/extensions/api/developer_private/developer_private_api.cc SetResult(new base::FundamentalValue(true)); base 363 chrome/browser/extensions/api/developer_private/developer_private_api.cc new std::string(base::UTF16ToUTF8(item.path().LossyDisplayName()))); base 382 chrome/browser/extensions/api/developer_private/developer_private_api.cc scoped_ptr<base::DictionaryValue> value = error->ToValue(); base 455 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateGetItemsInfoFunction::SendResponse, base 644 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateGetItemsInfoFunction::GetIconsOnFileThread, base 732 chrome/browser/extensions/api/developer_private/developer_private_api.cc std::vector<base::FilePath> retained_file_paths; base 822 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateEnableFunction::OnRequirementsChecked, base 845 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::UTF8ToUTF16(JoinString(requirements_errors, ' ')), base 861 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::StringToInt(options.render_process_id, &render_process_id); base 879 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::StringToInt(options.render_view_id, &render_view_id); base 895 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::string16 select_title = base 910 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& path) { base 925 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& last_directory, base 926 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::string16& select_title, base 956 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& crx_file, base 957 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& pem_file) { base 959 chrome/browser/extensions/api/developer_private/developer_private_api.cc response.message = base::UTF16ToUTF8( base 994 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::FilePath root_directory = base 995 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::FilePath::FromUTF8Unsafe(item_path_str_); base 997 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::FilePath key_file = base::FilePath::FromUTF8Unsafe(key_path_str_); base 1077 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::FilePath project_path(GetProfile()->GetPath()); base 1080 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::FilePath::FromUTF8Unsafe(project_name)); base 1085 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateLoadDirectoryFunction:: base 1112 chrome/browser/extensions/api/developer_private/developer_private_api.cc SetResult(new base::StringValue("-1")); base 1117 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& project_path) { base 1120 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::DeleteFile(project_path, true/*recursive*/); base 1125 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateLoadDirectoryFunction:: base 1131 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& project_path, base 1132 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& destination_path) { base 1141 chrome/browser/extensions/api/developer_private/developer_private_api.cc url, base::Bind(&DeveloperPrivateLoadDirectoryFunction:: base 1147 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& project_path, base 1148 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& destination_path, base 1149 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::File::Error status, base 1153 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (status != base::File::FILE_OK) { base 1179 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::FilePath target_path = project_path; base 1184 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateLoadDirectoryFunction::SnapshotFileCallback, base 1197 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateLoadDirectoryFunction::SendResponse, base 1205 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& target_path, base 1206 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::File::Error result, base 1207 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::File::Info& file_info, base 1208 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& src_path, base 1210 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (result != base::File::FILE_OK) { base 1217 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateLoadDirectoryFunction::CopyFile, base 1224 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& src_path, base 1225 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& target_path) { base 1226 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (!base::CreateDirectory(target_path.DirName())) { base 1232 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::CopyFile(src_path, target_path); base 1239 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateLoadDirectoryFunction::Load, base 1261 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::string16 select_title; base 1269 chrome/browser/extensions/api/developer_private/developer_private_api.cc info.extensions.push_back(std::vector<base::FilePath::StringType>()); base 1292 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::FilePath& path) { base 1293 chrome/browser/extensions/api/developer_private/developer_private_api.cc SetResult(new base::StringValue(base::UTF16ToUTF8(path.LossyDisplayName()))); base 1306 chrome/browser/extensions/api/developer_private/developer_private_api.cc SetResult(new base::FundamentalValue(GetProfile()->IsManaged())); base 1325 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::DictionaryValue* dict = NULL; base 1335 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Bind(&DeveloperPrivateRequestFileSourceFunction::LaunchCallback, base 1336 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Unretained(this))); base 1341 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::DictionaryValue& results) { base 1355 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::DictionaryValue* dict = NULL; base 106 chrome/browser/extensions/api/developer_private/developer_private_api.h void SetLastUnpackedDirectory(const base::FilePath& path); base 108 chrome/browser/extensions/api/developer_private/developer_private_api.h base::FilePath& GetLastUnpackedDirectory() { base 133 chrome/browser/extensions/api/developer_private/developer_private_api.h base::FilePath last_unpacked_directory_; base 272 chrome/browser/extensions/api/developer_private/developer_private_api.h public base::SupportsWeakPtr<DeveloperPrivateEnableFunction> { base 298 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::FilePath& last_directory, base 299 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::string16& select_title, base 304 chrome/browser/extensions/api/developer_private/developer_private_api.h virtual void FileSelected(const base::FilePath& path) = 0; base 320 chrome/browser/extensions/api/developer_private/developer_private_api.h virtual void FileSelected(const base::FilePath& path) OVERRIDE; base 335 chrome/browser/extensions/api/developer_private/developer_private_api.h virtual void FileSelected(const base::FilePath& path) OVERRIDE; base 350 chrome/browser/extensions/api/developer_private/developer_private_api.h virtual void OnPackSuccess(const base::FilePath& crx_file, base 351 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::FilePath& key_file) OVERRIDE; base 392 chrome/browser/extensions/api/developer_private/developer_private_api.h void ClearExistingDirectoryContent(const base::FilePath& project_path); base 394 chrome/browser/extensions/api/developer_private/developer_private_api.h void ReadSyncFileSystemDirectory(const base::FilePath& project_path, base 395 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::FilePath& destination_path); base 398 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::FilePath& project_path, base 399 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::FilePath& destination_path, base 400 chrome/browser/extensions/api/developer_private/developer_private_api.h base::File::Error result, base 405 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::FilePath& target_path, base 406 chrome/browser/extensions/api/developer_private/developer_private_api.h base::File::Error result, base 407 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::File::Info& file_info, base 408 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::FilePath& platform_path, base 411 chrome/browser/extensions/api/developer_private/developer_private_api.h void CopyFile(const base::FilePath& src_path, base 412 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::FilePath& dest_path); base 422 chrome/browser/extensions/api/developer_private/developer_private_api.h base::FilePath project_base_path_; base 425 chrome/browser/extensions/api/developer_private/developer_private_api.h base::FilePath current_path_; base 450 chrome/browser/extensions/api/developer_private/developer_private_api.h void LaunchCallback(const base::DictionaryValue& results); base 16 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc base::FilePath base_dir = test_data_dir_.AppendASCII("developer"); base 21 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc void LoadNamedExtension(const base::FilePath& path, base 28 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc void InstallNamedExtension(const base::FilePath& path, base 43 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc base::FilePath basedir = test_data_dir_.AppendASCII("developer"); base 20 chrome/browser/extensions/api/developer_private/entry_picker.cc base::FilePath* g_path_to_be_picked_for_test = NULL; base 31 chrome/browser/extensions/api/developer_private/entry_picker.cc const base::FilePath& last_directory, base 32 chrome/browser/extensions/api/developer_private/entry_picker.cc const base::string16& select_title, base 46 chrome/browser/extensions/api/developer_private/entry_picker.cc base::Bind( base 48 chrome/browser/extensions/api/developer_private/entry_picker.cc base::Unretained(this), *g_path_to_be_picked_for_test, 1, base 52 chrome/browser/extensions/api/developer_private/entry_picker.cc base::Bind( base 54 chrome/browser/extensions/api/developer_private/entry_picker.cc base::Unretained(this), static_cast<void*>(NULL))); base 64 chrome/browser/extensions/api/developer_private/entry_picker.cc base::FilePath::StringType(), base 71 chrome/browser/extensions/api/developer_private/entry_picker.cc void EntryPicker::FileSelected(const base::FilePath& path, base 85 chrome/browser/extensions/api/developer_private/entry_picker.cc base::FilePath* path) { base 21 chrome/browser/extensions/api/developer_private/entry_picker.h virtual void FileSelected(const base::FilePath& path) = 0; base 31 chrome/browser/extensions/api/developer_private/entry_picker.h const base::FilePath& last_directory, base 32 chrome/browser/extensions/api/developer_private/entry_picker.h const base::string16& select_title, base 37 chrome/browser/extensions/api/developer_private/entry_picker.h static void SkipPickerAndAlwaysSelectPathForTest(base::FilePath* path); base 47 chrome/browser/extensions/api/developer_private/entry_picker.h virtual void FileSelected(const base::FilePath& path, base 25 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc typedef base::Callback<void( base 35 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc scoped_ptr<base::Value> parsed_value(base::JSONReader::Read(status)); base 39 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc base::DictionaryValue* result = NULL; base 44 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc base::DictionaryValue::Iterator iterator(*result); base 46 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc const base::DictionaryValue* info; base 78 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc config[kTTL] = base::IntToString(*parameters_->options.ttl); base 80 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc config[kTimeout] = base::IntToString(*parameters_->options.timeout); base 82 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc config[kSize] = base::IntToString(*parameters_->options.size); base 87 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc base::Bind( base 89 chrome/browser/extensions/api/diagnostics/diagnostics_api_chromeos.cc base::Bind(&DiagnosticsSendPacketFunction::OnCompleted, this))); base 17 chrome/browser/extensions/api/dial/dial_api.cc using base::TimeDelta; base 63 chrome/browser/extensions/api/dial/dial_api.cc base::Bind(&DialAPI::NotifyListenerAddedOnIOThread, this)); base 70 chrome/browser/extensions/api/dial/dial_api.cc base::Bind(&DialAPI::NotifyListenerRemovedOnIOThread, this)); base 88 chrome/browser/extensions/api/dial/dial_api.cc base::Bind(&DialAPI::SendEventOnUIThread, this, devices)); base 94 chrome/browser/extensions/api/dial/dial_api.cc base::Bind(&DialAPI::SendErrorOnUIThread, this, code)); base 108 chrome/browser/extensions/api/dial/dial_api.cc scoped_ptr<base::ListValue> results = api::dial::OnDeviceList::Create(args); base 140 chrome/browser/extensions/api/dial/dial_api.cc scoped_ptr<base::ListValue> results = api::dial::OnError::Create(dial_error); base 171 chrome/browser/extensions/api/dial/dial_api.cc SetResult(new base::FundamentalValue(result_)); base 15 chrome/browser/extensions/api/dial/dial_device_data.cc const base::Time& response_time) base 31 chrome/browser/extensions/api/dial/dial_device_data.h const base::Time& response_time); base 51 chrome/browser/extensions/api/dial/dial_device_data.h const base::Time& response_time() const { return response_time_; } base 52 chrome/browser/extensions/api/dial/dial_device_data.h void set_response_time(const base::Time& response_time) { base 87 chrome/browser/extensions/api/dial/dial_device_data.h base::Time response_time_; base 46 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc original.set_response_time(base::Time::FromInternalValue(1000)); base 53 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc new_data.set_response_time(base::Time::FromInternalValue(1000)); base 63 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc new_data.set_response_time(base::Time::FromInternalValue(2000)); base 71 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(2000), original_2.response_time()); base 84 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(2000), original_3.response_time()); base 19 chrome/browser/extensions/api/dial/dial_registry.cc using base::Time; base 20 chrome/browser/extensions/api/dial/dial_registry.cc using base::TimeDelta; base 26 chrome/browser/extensions/api/dial/dial_registry.cc const base::TimeDelta& refresh_interval, base 27 chrome/browser/extensions/api/dial/dial_registry.cc const base::TimeDelta& expiration, base 58 chrome/browser/extensions/api/dial/dial_registry.cc base::Time DialRegistry::Now() const { base 220 chrome/browser/extensions/api/dial/dial_registry.cc return base::IntToString(++label_count_); base 57 chrome/browser/extensions/api/dial/dial_registry.h const base::TimeDelta& refresh_interval, base 58 chrome/browser/extensions/api/dial/dial_registry.h const base::TimeDelta& expiration, base 79 chrome/browser/extensions/api/dial/dial_registry.h virtual base::Time Now() const; base 86 chrome/browser/extensions/api/dial/dial_registry.h typedef base::hash_map<std::string, linked_ptr<DialDeviceData> > base 157 chrome/browser/extensions/api/dial/dial_registry.h base::TimeDelta refresh_interval_delta_; base 158 chrome/browser/extensions/api/dial/dial_registry.h base::TimeDelta expiration_delta_; base 169 chrome/browser/extensions/api/dial/dial_registry.h base::RepeatingTimer<DialRegistry> repeating_timer_; base 176 chrome/browser/extensions/api/dial/dial_registry.h base::ThreadChecker thread_checker_; base 15 chrome/browser/extensions/api/dial/dial_registry_unittest.cc using base::Time; base 16 chrome/browser/extensions/api/dial/dial_registry_unittest.cc using base::TimeDelta; base 44 chrome/browser/extensions/api/dial/dial_registry_unittest.cc const base::TimeDelta& refresh_interval, base 45 chrome/browser/extensions/api/dial/dial_registry_unittest.cc const base::TimeDelta& expiration, base 67 chrome/browser/extensions/api/dial/dial_registry_unittest.cc virtual base::Time Now() const OVERRIDE { base 111 chrome/browser/extensions/api/dial/dial_registry_unittest.cc base::MessageLoop message_loop_; base 36 chrome/browser/extensions/api/dial/dial_service.cc using base::Time; base 37 chrome/browser/extensions/api/dial/dial_service.cc using base::TimeDelta; base 93 chrome/browser/extensions/api/dial/dial_service.cc std::string request(base::StringPrintf( base 115 chrome/browser/extensions/api/dial/dial_service.cc const scoped_refptr<base::MessageLoopProxy>& loop, base 116 chrome/browser/extensions/api/dial/dial_service.cc const base::Callback<void(const NetworkInterfaceList& networks)>& cb) { base 123 chrome/browser/extensions/api/dial/dial_service.cc loop->PostTask(FROM_HERE, base::Bind(cb, list)); base 150 chrome/browser/extensions/api/dial/dial_service.cc const base::Closure& discovery_request_cb, base 151 chrome/browser/extensions/api/dial/dial_service.cc const base::Callback<void(const DialDeviceData&)>& device_discovered_cb, base 152 chrome/browser/extensions/api/dial/dial_service.cc const base::Closure& on_error_cb) base 172 chrome/browser/extensions/api/dial/dial_service.cc net::RandIntCallback rand_cb = base::Bind(&base::RandInt); base 207 chrome/browser/extensions/api/dial/dial_service.cc base::Bind(&DialServiceImpl::DialSocket::OnSocketWrite, base 208 chrome/browser/extensions/api/dial/dial_service.cc base::Unretained(this), base 275 chrome/browser/extensions/api/dial/dial_service.cc base::Bind(&DialServiceImpl::DialSocket::OnSocketRead, base 276 chrome/browser/extensions/api/dial/dial_service.cc base::Unretained(this))); base 322 chrome/browser/extensions/api/dial/dial_service.cc const base::Time& response_time, base 368 chrome/browser/extensions/api/dial/dial_service.cc base::StringToInt(config_id, &config_id_int)) { base 450 chrome/browser/extensions/api/dial/dial_service.cc BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind( base 452 chrome/browser/extensions/api/dial/dial_service.cc base::MessageLoopProxy::current(), base::Bind( base 534 chrome/browser/extensions/api/dial/dial_service.cc base::Bind(&DialServiceImpl::NotifyOnDiscoveryRequest, AsWeakPtr()), base 535 chrome/browser/extensions/api/dial/dial_service.cc base::Bind(&DialServiceImpl::NotifyOnDeviceDiscovered, AsWeakPtr()), base 536 chrome/browser/extensions/api/dial/dial_service.cc base::Bind(&DialServiceImpl::NotifyOnError, AsWeakPtr()))); base 102 chrome/browser/extensions/api/dial/dial_service.h public base::SupportsWeakPtr<DialServiceImpl> { base 121 chrome/browser/extensions/api/dial/dial_service.h const base::Closure& discovery_request_cb, base 122 chrome/browser/extensions/api/dial/dial_service.h const base::Callback<void(const DialDeviceData&)>& device_discovered_cb, base 123 chrome/browser/extensions/api/dial/dial_service.h const base::Closure& on_error_cb); base 168 chrome/browser/extensions/api/dial/dial_service.h const base::Time& response_time, base 181 chrome/browser/extensions/api/dial/dial_service.h base::ThreadChecker thread_checker_; base 184 chrome/browser/extensions/api/dial/dial_service.h base::Closure discovery_request_cb_; base 187 chrome/browser/extensions/api/dial/dial_service.h base::Callback<void(const DialDeviceData&)> device_discovered_cb_; base 190 chrome/browser/extensions/api/dial/dial_service.h base::Closure on_error_cb_; base 271 chrome/browser/extensions/api/dial/dial_service.h base::OneShotTimer<DialServiceImpl> finish_timer_; base 275 chrome/browser/extensions/api/dial/dial_service.h base::TimeDelta finish_delay_; base 278 chrome/browser/extensions/api/dial/dial_service.h base::RepeatingTimer<DialServiceImpl> request_timer_; base 282 chrome/browser/extensions/api/dial/dial_service.h base::TimeDelta request_interval_; base 288 chrome/browser/extensions/api/dial/dial_service.h base::ThreadChecker thread_checker_; base 15 chrome/browser/extensions/api/dial/dial_service_unittest.cc using base::Time; base 16 chrome/browser/extensions/api/dial/dial_service_unittest.cc using base::TimeDelta; base 60 chrome/browser/extensions/api/dial/dial_service_unittest.cc base::MessageLoopForIO loop; base 77 chrome/browser/extensions/api/dial/dial_service_unittest.cc base::MessageLoopForIO loop; base 46 chrome/browser/extensions/api/dns/dns_apitest.cc base::WaitableEvent resolver_event_; base 64 chrome/browser/extensions/api/dns/dns_apitest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnSingleResult( base 66 chrome/browser/extensions/api/dns/dns_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 67 chrome/browser/extensions/api/dns/dns_apitest.cc base::DictionaryValue *value = base 68 chrome/browser/extensions/api/dns/dns_apitest.cc static_cast<base::DictionaryValue*>(result.get()); base 90 chrome/browser/extensions/api/dns/dns_apitest.cc scoped_ptr<base::Value> result( base 93 chrome/browser/extensions/api/dns/dns_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 94 chrome/browser/extensions/api/dns/dns_apitest.cc base::DictionaryValue *value = base 95 chrome/browser/extensions/api/dns/dns_apitest.cc static_cast<base::DictionaryValue*>(result.get()); base 32 chrome/browser/extensions/api/dns/mock_host_resolver_creator.cc base::Bind(&MockHostResolverCreator::CreateMockHostResolverOnIOThread, base 36 chrome/browser/extensions/api/dns/mock_host_resolver_creator.cc base::TimeDelta max_time = base::TimeDelta::FromSeconds(5); base 56 chrome/browser/extensions/api/dns/mock_host_resolver_creator.cc base::Bind(&MockHostResolverCreator::DeleteMockHostResolverOnIOThread, base 60 chrome/browser/extensions/api/dns/mock_host_resolver_creator.cc base::TimeDelta max_time = base::TimeDelta::FromSeconds(5); base 22 chrome/browser/extensions/api/dns/mock_host_resolver_creator.h : public base::RefCountedThreadSafe<MockHostResolverCreator> { base 33 chrome/browser/extensions/api/dns/mock_host_resolver_creator.h friend class base::RefCountedThreadSafe<MockHostResolverCreator>; base 39 chrome/browser/extensions/api/dns/mock_host_resolver_creator.h base::WaitableEvent resolver_event_; base 235 chrome/browser/extensions/api/downloads/downloads_api.cc std::string TimeToISO8601(const base::Time& t) { base 236 chrome/browser/extensions/api/downloads/downloads_api.cc base::Time::Exploded exploded; base 238 chrome/browser/extensions/api/downloads/downloads_api.cc return base::StringPrintf( base 244 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue> DownloadItemToJSON( base 247 chrome/browser/extensions/api/downloads/downloads_api.cc base::DictionaryValue* json = new base::DictionaryValue(); base 277 chrome/browser/extensions/api/downloads/downloads_api.cc base::TimeDelta time_remaining; base 279 chrome/browser/extensions/api/downloads/downloads_api.cc base::Time now = base::Time::Now(); base 298 chrome/browser/extensions/api/downloads/downloads_api.cc return scoped_ptr<base::DictionaryValue>(json); base 307 chrome/browser/extensions/api/downloads/downloads_api.cc virtual bool ExtractIconURLForPath(const base::FilePath& path, base 315 chrome/browser/extensions/api/downloads/downloads_api.cc base::CancelableTaskTracker cancelable_task_tracker_; base 319 chrome/browser/extensions/api/downloads/downloads_api.cc const base::FilePath& path, base 329 chrome/browser/extensions/api/downloads/downloads_api.cc base::Bind(&DownloadFileIconExtractorImpl::OnIconLoadComplete, base 330 chrome/browser/extensions/api/downloads/downloads_api.cc base::Unretained(this), scale, callback), base 352 chrome/browser/extensions/api/downloads/downloads_api.cc typedef base::hash_map<std::string, DownloadQuery::FilterType> FilterTypeMap; base 376 chrome/browser/extensions/api/downloads/downloads_api.cc typedef base::hash_map<std::string, DownloadQuery::SortType> SortTypeMap; base 458 chrome/browser/extensions/api/downloads/downloads_api.cc static base::LazyInstance<SortTypeMap> sorter_types = base 491 chrome/browser/extensions/api/downloads/downloads_api.cc static base::LazyInstance<FilterTypeMap> filter_types = base 537 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue> query_in_value(query_in.ToValue().Pass()); base 538 chrome/browser/extensions/api/downloads/downloads_api.cc for (base::DictionaryValue::Iterator query_json_field(*query_in_value.get()); base 562 chrome/browser/extensions/api/downloads/downloads_api.cc query_out.AddFilter(base::Bind(&IsNotTemporaryDownloadFilter)); base 581 chrome/browser/extensions/api/downloads/downloads_api.cc class ExtensionDownloadsEventRouterData : public base::SupportsUserData::Data { base 584 chrome/browser/extensions/api/downloads/downloads_api.cc base::SupportsUserData::Data* data = download_item->GetUserData(kKey); base 595 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue> json_item) base 614 chrome/browser/extensions/api/downloads/downloads_api.cc const base::DictionaryValue& json() const { return *json_.get(); } base 615 chrome/browser/extensions/api/downloads/downloads_api.cc void set_json(scoped_ptr<base::DictionaryValue> json_item) { base 623 chrome/browser/extensions/api/downloads/downloads_api.cc const base::Closure& no_change, base 640 chrome/browser/extensions/api/downloads/downloads_api.cc filename_no_change_ = base::Closure(); base 662 chrome/browser/extensions/api/downloads/downloads_api.cc const base::Time& installed) { base 684 chrome/browser/extensions/api/downloads/downloads_api.cc const base::FilePath& filename, base 691 chrome/browser/extensions/api/downloads/downloads_api.cc base::FilePath creator_suggested_filename() const { base 713 chrome/browser/extensions/api/downloads/downloads_api.cc const base::FilePath& filename, base 759 chrome/browser/extensions/api/downloads/downloads_api.cc const base::Time& installed); base 763 chrome/browser/extensions/api/downloads/downloads_api.cc base::Time install_time; base 793 chrome/browser/extensions/api/downloads/downloads_api.cc new base::WeakPtrFactory<ExtensionDownloadsEventRouterData>(this)); base 794 chrome/browser/extensions/api/downloads/downloads_api.cc base::MessageLoopForUI::current()->PostDelayedTask( base 796 chrome/browser/extensions/api/downloads/downloads_api.cc base::Bind(&ExtensionDownloadsEventRouterData::ClearPendingDeterminers, base 798 chrome/browser/extensions/api/downloads/downloads_api.cc base::TimeDelta::FromSeconds(30)); base 803 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue> json_; base 805 chrome/browser/extensions/api/downloads/downloads_api.cc base::Closure filename_no_change_; base 810 chrome/browser/extensions/api/downloads/downloads_api.cc base::FilePath creator_suggested_filename_; base 813 chrome/browser/extensions/api/downloads/downloads_api.cc base::FilePath determined_filename_; base 818 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::WeakPtrFactory<ExtensionDownloadsEventRouterData> > base 826 chrome/browser/extensions/api/downloads/downloads_api.cc const base::Time& installed) base 877 chrome/browser/extensions/api/downloads/downloads_api.cc base::Time now(base::Time::Now()); base 889 chrome/browser/extensions/api/downloads/downloads_api.cc base::Time last_checked_; base 902 chrome/browser/extensions/api/downloads/downloads_api.cc base::ListValue* event_args) { base 904 chrome/browser/extensions/api/downloads/downloads_api.cc base::Time installed = base 945 chrome/browser/extensions/api/downloads/downloads_api.cc base::SupportsUserData::Data* data = item->GetUserData(kKey); base 983 chrome/browser/extensions/api/downloads/downloads_api.cc base::FilePath creator_suggested_filename; base 988 chrome/browser/extensions/api/downloads/downloads_api.cc base::DictionaryValue* options_value = NULL; base 990 chrome/browser/extensions/api/downloads/downloads_api.cc base::string16 filename16; base 993 chrome/browser/extensions/api/downloads/downloads_api.cc creator_suggested_filename = base::FilePath(filename16); base 995 chrome/browser/extensions/api/downloads/downloads_api.cc creator_suggested_filename = base::FilePath(*options.filename.get()); base 1027 chrome/browser/extensions/api/downloads/downloads_api.cc download_params->set_callback(base::Bind( base 1042 chrome/browser/extensions/api/downloads/downloads_api.cc const base::FilePath& creator_suggested_filename, base 1050 chrome/browser/extensions/api/downloads/downloads_api.cc SetResult(new base::FundamentalValue(static_cast<int>(item->GetId()))); base 1057 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue>(new base::DictionaryValue())); base 1094 chrome/browser/extensions/api/downloads/downloads_api.cc base::ListValue* json_results = new base::ListValue(); base 1101 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue> json_item( base 1192 chrome/browser/extensions/api/downloads/downloads_api.cc base::ListValue* json_results = new base::ListValue(); base 1196 chrome/browser/extensions/api/downloads/downloads_api.cc new base::FundamentalValue(static_cast<int>((*it)->GetId()))); base 1224 chrome/browser/extensions/api/downloads/downloads_api.cc base::Bind(&DownloadsRemoveFileFunction::Done, this)); base 1268 chrome/browser/extensions/api/downloads/downloads_api.cc base::MessageLoopForUI::current()->PostDelayedTask( base 1270 chrome/browser/extensions/api/downloads/downloads_api.cc base::Bind(&DownloadsAcceptDangerFunction::PromptOrWait, base 1272 chrome/browser/extensions/api/downloads/downloads_api.cc base::TimeDelta::FromMilliseconds(100)); base 1286 chrome/browser/extensions/api/downloads/downloads_api.cc base::Bind(&DownloadsAcceptDangerFunction::DangerPromptCallback, base 1392 chrome/browser/extensions/api/downloads/downloads_api.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 1393 chrome/browser/extensions/api/downloads/downloads_api.cc base::MessageLoop::current()); base 1500 chrome/browser/extensions/api/downloads/downloads_api.cc base::Bind(&DownloadsGetFileIconFunction::OnIconURLExtracted, this))); base 1511 chrome/browser/extensions/api/downloads/downloads_api.cc SetResult(new base::StringValue(url)); base 1582 chrome/browser/extensions/api/downloads/downloads_api.cc const base::FilePath& suggested_path, base 1583 chrome/browser/extensions/api/downloads/downloads_api.cc const base::Closure& no_change, base 1595 chrome/browser/extensions/api/downloads/downloads_api.cc base::DictionaryValue* json = DownloadItemToJSON( base 1600 chrome/browser/extensions/api/downloads/downloads_api.cc base::Bind(&OnDeterminingFilenameWillDispatchCallback, base 1618 chrome/browser/extensions/api/downloads/downloads_api.cc const base::FilePath& filename, base 1621 chrome/browser/extensions/api/downloads/downloads_api.cc const base::Time& suggesting_install_time, base 1623 chrome/browser/extensions/api/downloads/downloads_api.cc const base::Time& incumbent_install_time, base 1625 chrome/browser/extensions/api/downloads/downloads_api.cc base::FilePath* determined_filename, base 1666 chrome/browser/extensions/api/downloads/downloads_api.cc const base::FilePath& const_filename, base 1684 chrome/browser/extensions/api/downloads/downloads_api.cc base::FilePath::StringType filename_str(const_filename.value()); base 1688 chrome/browser/extensions/api/downloads/downloads_api.cc base::FilePath filename(filename_str); base 1691 chrome/browser/extensions/api/downloads/downloads_api.cc base::FilePath()); base 1762 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue> json_item( base 1792 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue>(new base::DictionaryValue())); base 1794 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue> new_json(DownloadItemToJSON( base 1796 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::DictionaryValue> delta(new base::DictionaryValue()); base 1805 chrome/browser/extensions/api/downloads/downloads_api.cc for (base::DictionaryValue::Iterator iter(*new_json.get()); base 1809 chrome/browser/extensions/api/downloads/downloads_api.cc const base::Value* old_value = NULL; base 1823 chrome/browser/extensions/api/downloads/downloads_api.cc for (base::DictionaryValue::Iterator iter(data->json()); base 1854 chrome/browser/extensions/api/downloads/downloads_api.cc new base::FundamentalValue( base 1862 chrome/browser/extensions/api/downloads/downloads_api.cc base::Value* arg) { base 1866 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 1869 chrome/browser/extensions/api/downloads/downloads_api.cc base::JSONWriter::Write(args.get(), &json_args); base 70 chrome/browser/extensions/api/downloads/downloads_api.h class DownloadedByExtension : public base::SupportsUserData::Data { base 100 chrome/browser/extensions/api/downloads/downloads_api.h void OnStarted(const base::FilePath& creator_suggested_filename, base 191 chrome/browser/extensions/api/downloads/downloads_api.h typedef base::Callback<void(DownloadDangerPrompt*)> OnPromptCreatedCallback; base 292 chrome/browser/extensions/api/downloads/downloads_api.h base::FilePath path_; base 303 chrome/browser/extensions/api/downloads/downloads_api.h typedef base::Callback<void( base 304 chrome/browser/extensions/api/downloads/downloads_api.h const base::FilePath& changed_filename, base 311 chrome/browser/extensions/api/downloads/downloads_api.h const base::FilePath& filename, base 314 chrome/browser/extensions/api/downloads/downloads_api.h const base::Time& suggesting_install_time, base 316 chrome/browser/extensions/api/downloads/downloads_api.h const base::Time& incumbent_install_time, base 318 chrome/browser/extensions/api/downloads/downloads_api.h base::FilePath* determined_filename, base 334 chrome/browser/extensions/api/downloads/downloads_api.h const base::FilePath& filename, base 354 chrome/browser/extensions/api/downloads/downloads_api.h const base::FilePath& suggested_path, base 355 chrome/browser/extensions/api/downloads/downloads_api.h const base::Closure& no_change, base 384 chrome/browser/extensions/api/downloads/downloads_api.h base::Value* json_arg); base 102 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time caught) base 106 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc args_(base::JSONReader::Read(json_args)), base 110 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc const base::Time& caught() { return caught_; } base 125 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* left_list = NULL; base 126 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* left_dict = NULL; base 127 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* right_list = NULL; base 128 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* right_dict = NULL; base 134 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc for (base::DictionaryValue::Iterator iter(*left_dict); base 136 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Value* right_value = NULL; base 156 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc return base::StringPrintf("Event(%p, %s, %s, %f)", base 167 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> args_; base 168 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time caught_; base 187 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc *content::Details<std::string>(details).ptr(), base::Time::Now()); base 193 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 205 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc waiting_for_.reset(new Event(profile, event_name, json_args, base::Time())); base 231 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc last_wait_ = base::Time::Now(); base 237 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time last_wait_; base 258 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc const base::FilePath::CharType* filename; base 324 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Bind(&chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 363 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 418 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time current = base::Time::Now(); base 549 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Value* RunFunctionAndReturnResult( base 570 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult(function, args)); base 576 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc return base::StringPrintf("[%d]", download_item->GetId()); base 579 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc const base::FilePath& downloads_directory() { base 605 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ScopedTempDir downloads_directory_; base 616 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc MockIconExtractorImpl(const base::FilePath& path, base 625 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc virtual bool ExtractIconURLForPath(const base::FilePath& path, base 636 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Bind(&MockIconExtractorImpl::RunCallback, base 637 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Unretained(this))); base 651 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath expected_path_; base 669 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item_, base::Bind(&ItemNotInProgress)); base 692 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc (*item), base::Bind(&ItemNotInProgress)); base 710 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath temp_file; base 711 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc if (!base::CreateTemporaryFile(&temp_file) || base 712 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::WriteFile(temp_file, data, length) != length) { base 717 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::WaitableEvent done_event(true, false); base 720 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Bind(&CreateFileForTestingOnIOThread, base 721 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Unretained(context), base 723 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Unretained(&result), base 724 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Unretained(&done_event))); base 727 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DeleteFile(temp_file, false); base 733 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::WaitableEvent* done_event, base 734 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::File::Error error) { base 736 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc *result = error == base::File::FILE_OK; base 743 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc const base::FilePath& temp_file, base 745 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::WaitableEvent* done_event) { base 749 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Bind(&CopyInCompletion, base 750 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Unretained(result), base 751 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Unretained(done_event))); base 825 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 929 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 931 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d}]", id))); base 937 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 946 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc const base::FilePath& expected_path, base 963 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc std::string args32(base::StringPrintf("[%d, {\"size\": 32}]", base 972 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[%d, {}]", download_item->GetId()), &result_string)); base 977 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[%d, {\"size\": 16}]", download_item->GetId()), base 1001 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc args32 = base::StringPrintf("[%d, {\"size\": 32}]", download_item->GetId()); base 1053 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath real_path = all_downloads[0]->GetTargetFilePath(); base 1054 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath fake_path = all_downloads[1]->GetTargetFilePath(); base 1056 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc EXPECT_EQ(0, base::WriteFile(real_path, "", 0)); base 1057 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(base::PathExists(real_path)); base 1058 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_FALSE(base::PathExists(fake_path)); base 1068 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[%d, {\"size\": 32}]", (*iter)->GetId()), base 1080 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1083 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1103 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1106 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1109 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* item_value = NULL; base 1122 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1123 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsSearchFunction(), base::StringPrintf( base 1126 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1129 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* item_value = NULL; base 1143 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1147 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1167 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1170 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1173 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* item0_value = NULL; base 1174 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* item1_value = NULL; base 1200 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1203 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1206 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* item0_value = NULL; base 1207 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* item1_value = NULL; base 1233 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1236 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1250 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1253 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1265 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1268 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1308 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1315 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1318 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* item_value = NULL; base 1320 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath::StringType item_name; base 1331 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result_value; base 1332 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::ListValue* result_list = NULL; base 1333 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::DictionaryValue* result_dict = NULL; base 1334 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath::StringType filename; base 1367 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc EXPECT_TRUE(on_item->GetTargetFilePath() == base::FilePath(filename)); base 1372 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc EXPECT_TRUE(off_item->GetTargetFilePath() == base::FilePath(filename)); base 1385 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc EXPECT_TRUE(on_item->GetTargetFilePath() == base::FilePath(filename)); base 1400 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[%d, {}]", off_item->GetId())); base 1411 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[%d, {}]", on_item->GetId()), &result_string)); base 1414 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[%d, {}]", off_item->GetId()), &result_string)); base 1468 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1469 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1480 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 1487 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1494 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1512 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1513 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1524 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 1531 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\":%d," base 1538 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\":%d," base 1594 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf( base 1621 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1622 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1635 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 1642 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1649 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1667 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf( base 1692 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf( base 1720 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1721 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1732 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 1739 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1746 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1760 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1761 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1773 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 1780 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1787 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1812 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1813 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1825 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 1832 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1839 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1858 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1859 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1874 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 1892 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1893 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1909 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 1916 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1923 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 1943 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1944 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1959 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 1981 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 1982 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 1998 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2006 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2023 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2024 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2039 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2045 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2052 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2073 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2074 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2090 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2114 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2115 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2131 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2154 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2155 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2166 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2176 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2203 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2204 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2216 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2223 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2230 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2236 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc EXPECT_TRUE(base::ReadFileToString(item->GetTargetFilePath(), &disk_data)); base 2251 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2252 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2264 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2274 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2287 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(), base 2294 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2301 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2319 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2320 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2331 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2341 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2354 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("overridden.swf")), base 2360 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2368 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2374 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2394 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2395 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2406 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2416 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2429 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("sneaky/../../sneaky.txt")), base 2434 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2441 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2459 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2460 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2471 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2481 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2494 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("<")), base 2498 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(WaitFor(api::OnChanged::kEventName, base::StringPrintf( base 2505 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(WaitFor(api::OnChanged::kEventName, base::StringPrintf( base 2524 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2525 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2536 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2546 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2559 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL( base 2564 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(WaitFor(api::OnChanged::kEventName, base::StringPrintf( base 2571 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(WaitFor(api::OnChanged::kEventName, base::StringPrintf( base 2596 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2597 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2608 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2618 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2631 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("con.foo")), base 2635 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(WaitFor(api::OnChanged::kEventName, base::StringPrintf( base 2642 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(WaitFor(api::OnChanged::kEventName, base::StringPrintf( base 2661 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2662 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2673 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2683 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2696 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL(".")), base 2701 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2708 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2726 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2727 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2738 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2748 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2761 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("..")), base 2766 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2773 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2791 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2792 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2803 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2813 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2832 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2839 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2857 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2858 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2869 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2879 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2892 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("foo/")), base 2898 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2905 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2923 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 2924 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2934 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2944 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2957 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(), base 2963 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2970 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 2978 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 2989 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 2999 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3015 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("foo")), base 3021 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3028 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3048 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 3049 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 3060 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 3070 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3080 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3103 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 3104 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 3116 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 3126 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3140 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("42.txt")), base 3147 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3154 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3163 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 3174 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 3185 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3199 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("5.txt")), base 3206 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3213 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3237 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 3238 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 3250 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 3260 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3274 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("42.txt")), base 3281 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3288 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3297 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc new DownloadsDownloadFunction(), base::StringPrintf( base 3308 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 3318 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3332 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("42.txt")), base 3339 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3346 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3409 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"danger\": \"safe\"," base 3417 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3439 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("42.txt")), base 3444 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3451 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc content::DownloadUpdatedObserver interrupted(item, base::Bind( base 3455 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3474 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3486 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::StringPrintf("[{\"id\": %d," base 3534 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnResult( base 3542 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(WaitFor(api::OnChanged::kEventName, base::StringPrintf( base 3555 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Bind(&OnDangerPromptCreated); base 3592 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath filename; base 3600 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("a")), base 3603 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time::Now(), base 3605 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time(), base 3618 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("b")), base 3621 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time::Now() - base::TimeDelta::FromDays(1), base 3623 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time::Now(), base 3639 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::FilePath(FILE_PATH_LITERAL("b")), base 3642 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time::Now(), base 3644 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::Time::Now() - base::TimeDelta::FromDays(1), base 26 chrome/browser/extensions/api/downloads_internal/downloads_internal_api.cc base::FilePath::StringType filename; base 33 chrome/browser/extensions/api/downloads_internal/downloads_internal_api.cc base::FilePath(filename), base 61 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc const base::Callback<void(PrepareKeyResult)>& callback) base 103 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc const base::Callback<void(bool)>& callback) const { base 107 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeKeyBase::GetDeviceAttestationEnabled, this, base 134 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc const base::ListValue* list = base 136 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::StringValue value(extension_->id()); base 172 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc const base::Callback<void(PrepareKeyResult)>& callback) { base 179 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc cryptohome_client_->TpmAttestationIsPrepared(base::Bind( base 197 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc context.key_type, context.user_id, context.key_name, base::Bind( base 219 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeKeyBase::AskForUserConsentCallback, this, base 229 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc const base::Callback<void(bool)>& callback) const { base 250 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeKeyBase::GetCertificateCallback, this, base 255 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc const base::Callback<void(PrepareKeyResult)>& callback, base 298 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc if (!base::Base64Decode(params->challenge, &challenge)) { base 323 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeMachineKey::GetDeviceAttestationEnabledCallback, base 342 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeMachineKey::PrepareKeyCallback, this, base 349 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc SetError(base::StringPrintf(kGetCertificateFailedError, result)); base 363 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeMachineKey::SignChallengeCallback, this)); base 375 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Base64Encode(response, &encoded_response); base 425 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc if (!base::Base64Decode(params->challenge, &challenge)) { base 451 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeUserKey::GetDeviceAttestationEnabledCallback, base 485 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeUserKey::PrepareKeyCallback, this, base 493 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc SetError(base::StringPrintf(kGetCertificateFailedError, result)); base 509 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeUserKey::SignChallengeCallback, this, base 527 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Bind(&EPKPChallengeUserKey::RegisterKeyCallback, this, response)); base 544 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::Base64Encode(response, &encoded_response); base 70 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h const base::Callback<void(bool)>& callback) const; base 100 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h const base::Callback<void(PrepareKeyResult)>& callback); base 117 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h const base::Callback<void(PrepareKeyResult)>& callback); base 125 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h const base::Callback<void(PrepareKeyResult)> callback; base 136 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h void AskForUserConsent(const base::Callback<void(bool)>& callback) const; base 141 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h const base::Callback<void(PrepareKeyResult)>& callback, base 57 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::MessageLoopProxy::current()->PostTask( base 59 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::Bind(callback, status_, value_)); base 72 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::MessageLoopProxy::current()->PostTask( base 74 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::Bind(callback, true, cryptohome::MOUNT_ERROR_NONE)); base 82 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::MessageLoopProxy::current()->PostTask( base 84 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::Bind(callback, false, cryptohome::MOUNT_ERROR_NONE)); base 96 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::MessageLoopProxy::current()->PostTask( base 98 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::Bind(callback, true, "response")); base 110 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::MessageLoopProxy::current()->PostTask( base 112 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::Bind(callback, false, "")); base 122 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::MessageLoopProxy::current()->PostTask( base 124 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::Bind(callback, true, "certificate")); base 134 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::MessageLoopProxy::current()->PostTask( base 136 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::Bind(callback, false, "")); base 175 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::FundamentalValue(true)); base 191 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::ListValue whitelist; base 220 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc return base::StringPrintf( base 245 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::ListValue empty_whitelist; base 261 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::FundamentalValue(false)); base 318 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 365 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc return base::StringPrintf(EPKPChallengeUserKey::kGetCertificateFailedError, base 389 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::ListValue empty_whitelist; base 405 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc base::FundamentalValue(false)); base 493 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 42 chrome/browser/extensions/api/execute_code_function.cc base::FilePath extension_path; base 53 chrome/browser/extensions/api/execute_code_function.cc base::Bind(&ExecuteCodeFunction::GetFileURLAndLocalizeCSS, this, base 65 chrome/browser/extensions/api/execute_code_function.cc const base::FilePath& extension_path, base 91 chrome/browser/extensions/api/execute_code_function.cc base::Bind(&ExecuteCodeFunction::DidLoadAndLocalizeFile, this, base 156 chrome/browser/extensions/api/execute_code_function.cc base::Bind(&ExecuteCodeFunction::OnExecuteCodeFinished, this)); base 199 chrome/browser/extensions/api/execute_code_function.cc resource_, base::Bind(&ExecuteCodeFunction::DidLoadFile, this))); base 210 chrome/browser/extensions/api/execute_code_function.cc const base::ListValue& result) { base 38 chrome/browser/extensions/api/execute_code_function.h const base::ListValue& result); base 54 chrome/browser/extensions/api/execute_code_function.h const base::FilePath& extension_path, base 513 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc base::FilePath test_dir = test_data_dir_.AppendASCII("browser_action"); base 29 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc scoped_ptr<base::Value> value) { base 42 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc base::Bind(&QuitMessageLoop, runner)); base 98 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::StringToUint64(str, &value); base 106 chrome/browser/extensions/api/extension_action/extension_action_api.cc return base::Uint64ToString(color); base 114 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (!base::Base64Decode(str, &raw_str)) base 132 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::StringPiece raw_str( base 135 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::Base64Encode(raw_str, &base64_str); base 140 chrome/browser/extensions/api/extension_action/extension_action_api.cc void SetDefaultsFromValue(const base::DictionaryValue* dict, base 181 chrome/browser/extensions/api/extension_action/extension_action_api.cc const base::DictionaryValue* icon_value = NULL; base 198 chrome/browser/extensions/api/extension_action/extension_action_api.cc scoped_ptr<base::DictionaryValue> DefaultsToValue(ExtensionAction* action) { base 200 chrome/browser/extensions/api/extension_action/extension_action_api.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 216 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::DictionaryValue* icon_value = new base::DictionaryValue(); base 236 chrome/browser/extensions/api/extension_action/extension_action_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<ExtensionActionAPI> > base 306 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(visible)); base 352 chrome/browser/extensions/api/extension_action/extension_action_api.cc scoped_ptr<base::ListValue> event_args) { base 371 chrome/browser/extensions/api/extension_action/extension_action_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 372 chrome/browser/extensions/api/extension_action/extension_action_api.cc args->Append(new base::StringValue(page_action_id)); base 374 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::DictionaryValue* data = new base::DictionaryValue(); base 375 chrome/browser/extensions/api/extension_action/extension_action_api.cc data->Set(page_actions_keys::kTabIdKey, new base::FundamentalValue(tab_id)); base 376 chrome/browser/extensions/api/extension_action/extension_action_api.cc data->Set(page_actions_keys::kTabUrlKey, new base::StringValue(url)); base 378 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(button)); base 403 chrome/browser/extensions/api/extension_action/extension_action_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 404 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::DictionaryValue* tab_value = base 448 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::Bind(&ExtensionActionStorageManager::ReadFromStorage, base 475 chrome/browser/extensions/api/extension_action/extension_action_api.cc scoped_ptr<base::DictionaryValue> defaults = base 479 chrome/browser/extensions/api/extension_action/extension_action_api.cc defaults.PassAs<base::Value>()); base 483 chrome/browser/extensions/api/extension_action/extension_action_api.cc const std::string& extension_id, scoped_ptr<base::Value> value) { base 499 chrome/browser/extensions/api/extension_action/extension_action_api.cc const base::DictionaryValue* dict = NULL; base 553 chrome/browser/extensions/api/extension_action/extension_action_api.cc kNoTabError, base::IntToString(tab_id_)); base 571 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::Value* first_arg = NULL; base 576 chrome/browser/extensions/api/extension_action/extension_action_api.cc case base::Value::TYPE_INTEGER: base 580 chrome/browser/extensions/api/extension_action/extension_action_api.cc case base::Value::TYPE_DICTIONARY: { base 582 chrome/browser/extensions/api/extension_action/extension_action_api.cc details_ = static_cast<base::DictionaryValue*>(first_arg); base 584 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::Value* tab_id_value = NULL; base 587 chrome/browser/extensions/api/extension_action/extension_action_api.cc case base::Value::TYPE_NULL: base 590 chrome/browser/extensions/api/extension_action/extension_action_api.cc case base::Value::TYPE_INTEGER: base 602 chrome/browser/extensions/api/extension_action/extension_action_api.cc case base::Value::TYPE_NULL: base 677 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::DictionaryValue* canvas_set = NULL; base 683 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::BinaryValue* binary; base 740 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::Value* color_value = NULL; base 743 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (color_value->IsType(base::Value::TYPE_LIST)) { base 744 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::ListValue* list = NULL; base 755 chrome/browser/extensions/api/extension_action/extension_action_api.cc } else if (color_value->IsType(base::Value::TYPE_STRING)) { base 768 chrome/browser/extensions/api/extension_action/extension_action_api.cc SetResult(new base::StringValue(extension_action_->GetTitle(tab_id_))); base 774 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::StringValue(extension_action_->GetPopupUrl(tab_id_).spec())); base 779 chrome/browser/extensions/api/extension_action/extension_action_api.cc SetResult(new base::StringValue(extension_action_->GetBadgeText(tab_id_))); base 784 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::ListValue* list = new base::ListValue(); base 787 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(static_cast<int>(SkColorGetR(color)))); base 789 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(static_cast<int>(SkColorGetG(color)))); base 791 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(static_cast<int>(SkColorGetB(color)))); base 793 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(static_cast<int>(SkColorGetA(color)))); base 822 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::MessageLoopForUI::current()->PostDelayedTask( base 824 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::Bind(&BrowserActionOpenPopupFunction::OpenPopupTimedOut, this), base 825 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::TimeDelta::FromSeconds(10)); base 872 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::DictionaryValue* action = NULL; base 902 chrome/browser/extensions/api/extension_action/extension_action_api.cc extensions::kNoTabError, base::IntToString(tab_id)); base 17 chrome/browser/extensions/api/extension_action/extension_action_api.h namespace base { base 67 chrome/browser/extensions/api/extension_action/extension_action_api.h scoped_ptr<base::ListValue> event_args); base 94 chrome/browser/extensions/api/extension_action/extension_action_api.h public base::SupportsWeakPtr<ExtensionActionStorageManager> { base 108 chrome/browser/extensions/api/extension_action/extension_action_api.h const std::string& extension_id, scoped_ptr<base::Value> value); base 144 chrome/browser/extensions/api/extension_action/extension_action_api.h base::DictionaryValue* details_; base 22 chrome/browser/extensions/api/extension_action/extension_action_prefs_unittest.cc std::string name = "test" + base::IntToString(i); base 46 chrome/browser/extensions/api/extension_action/extension_action_prefs_unittest.cc SCOPED_TRACE(base::StringPrintf("Loop %d ", base 29 chrome/browser/extensions/api/feedback_private/feedback_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 57 chrome/browser/extensions/api/feedback_private/feedback_browsertest.cc base::Closure callback = base::Bind(&StopMessageLoopCallback); base 45 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<FeedbackPrivateAPI> > base 84 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 100 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc base::Closure* FeedbackPrivateGetStringsFunction::test_callback_ = NULL; base 103 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 144 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc SetResult(new base::StringValue(service->GetUserEmail())); base 155 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc base::Bind( base 233 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc base::Bind(&FeedbackPrivateSendFeedbackFunction::OnCompleted, this)); base 56 chrome/browser/extensions/api/feedback_private/feedback_private_api.h static void set_test_callback(base::Closure* const callback) { base 67 chrome/browser/extensions/api/feedback_private/feedback_private_api.h static base::Closure* test_callback_; base 21 chrome/browser/extensions/api/feedback_private/feedback_service.cc base::DictionaryValue sys_info_value; base 22 chrome/browser/extensions/api/feedback_private/feedback_service.cc sys_info_value.Set("key", new base::StringValue(key)); base 23 chrome/browser/extensions/api/feedback_private/feedback_service.cc sys_info_value.Set("value", new base::StringValue(value)); base 52 chrome/browser/extensions/api/feedback_private/feedback_service.cc base::Bind(&FeedbackService::AttachedFileCallback, base 61 chrome/browser/extensions/api/feedback_private/feedback_service.cc base::Bind(&FeedbackService::ScreenshotCallback, base 95 chrome/browser/extensions/api/feedback_private/feedback_service.cc fetcher->Fetch(base::Bind(&FeedbackService::OnSystemLogsFetchComplete, base 28 chrome/browser/extensions/api/feedback_private/feedback_service.h typedef base::Callback<void(bool)> SendFeedbackCallback; base 29 chrome/browser/extensions/api/feedback_private/feedback_service.h typedef base::Callback<void(const SystemInformationList& sys_info)> base 57 chrome/browser/extensions/api/feedback_private/feedback_service.h virtual base::WeakPtr<FeedbackService> GetWeakPtr() = 0; base 17 chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc public base::SupportsWeakPtr<FeedbackServiceImpl> { base 27 chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc virtual base::WeakPtr<FeedbackService> GetWeakPtr() OVERRIDE; base 51 chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc *histograms = base::StatisticsRecorder::ToJSON(std::string()); base 54 chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc base::WeakPtr<FeedbackService> FeedbackServiceImpl::GetWeakPtr() { base 18 chrome/browser/extensions/api/feedback_private/feedback_service_nonchromeos.cc public base::SupportsWeakPtr<FeedbackServiceImpl> { base 28 chrome/browser/extensions/api/feedback_private/feedback_service_nonchromeos.cc virtual base::WeakPtr<FeedbackService> GetWeakPtr() OVERRIDE; base 58 chrome/browser/extensions/api/feedback_private/feedback_service_nonchromeos.cc base::WeakPtr<FeedbackService> FeedbackServiceImpl::GetWeakPtr() { base 37 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::FilePath& path) { base 45 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::FilePath::kExtensionSeparator + base 46 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::FilePath::FromUTF8Unsafe(*extension).value())) { base 53 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc path.MatchesExtension(base::FilePath::StringType())) { base 71 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc bool DoCheckWritableFile(const base::FilePath& path, bool is_directory) { base 73 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc if (base::PathExists(path) && base::IsLink(path)) base 77 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc return base::DirectoryExists(path); base 80 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc int creation_flags = base::File::FLAG_CREATE | base::File::FLAG_READ | base 81 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::File::FLAG_WRITE; base 82 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::File file(path, creation_flags); base 85 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc return file.error_details() == base::File::FILE_ERROR_EXISTS; base 93 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc : public base::RefCountedThreadSafe<WritableFileChecker> { base 96 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const std::vector<base::FilePath>& paths, base 99 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::Closure& on_success, base 100 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::Callback<void(const base::FilePath&)>& on_failure); base 114 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc void Error(const base::FilePath& error_path); base 119 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc void CheckRemoteWritableFile(const base::FilePath& remote_path, base 121 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::FilePath& local_path); base 122 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc void RemoteCheckDone(const base::FilePath& remote_path, base 126 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const std::vector<base::FilePath> paths_; base 130 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::FilePath error_path_; base 131 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::Closure on_success_; base 132 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::Callback<void(const base::FilePath&)> on_failure_; base 136 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const std::vector<base::FilePath>& paths, base 139 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::Closure& on_success, base 140 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::Callback<void(const base::FilePath&)>& on_failure) base 152 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc for (std::vector<base::FilePath>::const_iterator it = paths_.begin(); base 160 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::Bind(&WritableFileChecker::RemoteCheckDone, this, *it)); base 165 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::Bind(&WritableFileChecker::CheckRemoteWritableFile, this, base 175 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::Bind(&WritableFileChecker::CheckLocalWritableFiles, this)); base 192 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc void WritableFileChecker::Error(const base::FilePath& error_path) { base 201 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc for (std::vector<base::FilePath>::const_iterator it = paths_.begin(); base 208 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::Bind(&WritableFileChecker::Error, this, *it)); base 215 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::Bind(&WritableFileChecker::TaskDone, this)); base 220 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::FilePath& remote_path, base 222 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::FilePath& /* local_path */) { base 227 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::FilePath& remote_path, base 233 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::Bind(&WritableFileChecker::TaskDone, this)); base 238 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::Bind(&WritableFileChecker::Error, this, remote_path)); base 264 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::FilePath& path) { base 307 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::FilePath& path) { base 316 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::FilePath& path, base 344 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const std::vector<base::FilePath>& paths, base 347 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::Closure& on_success, base 348 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc const base::Callback<void(const base::FilePath&)>& on_failure) { base 362 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::FilePath* file_path, base 386 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::FilePath relative_path = base 387 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::FilePath::FromUTF8Unsafe(filesystem_path); base 388 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::FilePath virtual_path = context->CreateVirtualRootPath(filesystem_id) base 35 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h typedef std::set<std::pair<base::FilePath, std::string> > PathAndMimeTypeSet; base 47 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h const base::FilePath& path); base 58 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h const base::FilePath& path); base 66 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h const base::FilePath& path, base 70 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h const std::vector<base::FilePath>& paths, base 73 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h const base::Closure& on_success, base 74 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h const base::Callback<void(const base::FilePath&)>& on_failure); base 85 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h base::FilePath* file_path, base 82 chrome/browser/extensions/api/file_system/file_system_api.cc std::string GetDisplayBaseName(const base::FilePath& path) { base 83 chrome/browser/extensions/api/file_system/file_system_api.cc base::ScopedCFTypeRef<CFURLRef> url(CFURLCreateFromFileSystemRepresentation( base 92 chrome/browser/extensions/api/file_system/file_system_api.cc std::string result(base::SysCFStringRefToUTF8(str)); base 100 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath PrettifyPath(const base::FilePath& source_path) { base 101 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath home_path; base 102 chrome/browser/extensions/api/file_system/file_system_api.cc PathService::Get(base::DIR_HOME, &home_path); base 110 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath::StringType> components; base 112 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath display_path = base::FilePath(components[0]); base 113 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath actual_path = display_path; base 114 chrome/browser/extensions/api/file_system/file_system_api.cc for (std::vector<base::FilePath::StringType>::iterator i = base 118 chrome/browser/extensions/api/file_system/file_system_api.cc display_path = base::FilePath("~"); base 119 chrome/browser/extensions/api/file_system/file_system_api.cc home_path = base::FilePath(); base 131 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath PrettifyPath(const base::FilePath& source_path) { base 132 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath home_path; base 133 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath display_path = base::FilePath::FromUTF8Unsafe("~"); base 134 chrome/browser/extensions/api/file_system/file_system_api.cc if (PathService::Get(base::DIR_HOME, &home_path) base 143 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath* g_path_to_be_picked_for_test; base 144 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath>* g_paths_to_be_picked_for_test; base 153 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath::StringType>* extensions, base 154 chrome/browser/extensions/api/file_system/file_system_api.cc base::string16* description) { base 155 chrome/browser/extensions/api/file_system/file_system_api.cc std::set<base::FilePath::StringType> extension_set; base 163 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath::StringType> inner; base 192 chrome/browser/extensions/api/file_system/file_system_api.cc extension_set.insert(base::UTF8ToWide(*iter)); base 204 chrome/browser/extensions/api/file_system/file_system_api.cc *description = base::UTF8ToUTF16(*accept_option.description.get()); base 216 chrome/browser/extensions/api/file_system/file_system_api.cc base::DIR_HOME, base 218 chrome/browser/extensions/api/file_system/file_system_api.cc base::DIR_PROGRAM_FILES, base 219 chrome/browser/extensions/api/file_system/file_system_api.cc base::DIR_PROGRAM_FILESX86, base 220 chrome/browser/extensions/api/file_system/file_system_api.cc base::DIR_WINDOWS, base 230 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath GetLastChooseEntryDirectory(const ExtensionPrefs* prefs, base 232 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath path; base 237 chrome/browser/extensions/api/file_system/file_system_api.cc path = base::FilePath::FromUTF8Unsafe(string_path); base 244 chrome/browser/extensions/api/file_system/file_system_api.cc const base::FilePath& path) { base 247 chrome/browser/extensions/api/file_system/file_system_api.cc base::CreateFilePathValue(path)); base 250 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath> GetGrayListedDirectories() { base 251 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath> graylisted_directories; base 253 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath graylisted_path; base 268 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath file_path; base 277 chrome/browser/extensions/api/file_system/file_system_api.cc SetResult(new base::StringValue(file_path.value())); base 287 chrome/browser/extensions/api/file_system/file_system_api.cc const std::vector<base::FilePath>& paths) { base 293 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemEntryFunction::RegisterFileSystemsAndSendResponse, base 296 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemEntryFunction::HandleWritableFileError, this)); base 300 chrome/browser/extensions/api/file_system/file_system_api.cc const std::vector<base::FilePath>& paths) { base 306 chrome/browser/extensions/api/file_system/file_system_api.cc for (std::vector<base::FilePath>::const_iterator it = paths.begin(); base 315 chrome/browser/extensions/api/file_system/file_system_api.cc response_ = new base::DictionaryValue(); base 316 chrome/browser/extensions/api/file_system/file_system_api.cc base::ListValue* list = new base::ListValue(); base 323 chrome/browser/extensions/api/file_system/file_system_api.cc const base::FilePath& path, base 333 chrome/browser/extensions/api/file_system/file_system_api.cc base::ListValue* entries; base 337 chrome/browser/extensions/api/file_system/file_system_api.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 349 chrome/browser/extensions/api/file_system/file_system_api.cc const base::FilePath& error_path) { base 351 chrome/browser/extensions/api/file_system/file_system_api.cc error_ = base::StringPrintf(kWritableFileErrorFormat, base 377 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind( base 380 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind( base 393 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath> paths; base 400 chrome/browser/extensions/api/file_system/file_system_api.cc if (base::DirectoryExists(path_)) { base 423 chrome/browser/extensions/api/file_system/file_system_api.cc SetResult(new base::FundamentalValue(is_writable)); base 434 chrome/browser/extensions/api/file_system/file_system_api.cc const base::FilePath& suggested_name, base 447 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind( base 449 chrome/browser/extensions/api/file_system/file_system_api.cc base::Unretained(this), suggested_name, 1, base 454 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind( base 456 chrome/browser/extensions/api/file_system/file_system_api.cc base::Unretained(this), *g_path_to_be_picked_for_test, 1, base 462 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind( base 464 chrome/browser/extensions/api/file_system/file_system_api.cc base::Unretained(this), base 469 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind( base 472 chrome/browser/extensions/api/file_system/file_system_api.cc base::Unretained(this), static_cast<void*>(NULL))); base 478 chrome/browser/extensions/api/file_system/file_system_api.cc base::string16(), base 482 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath::StringType(), base 491 chrome/browser/extensions/api/file_system/file_system_api.cc virtual void FileSelected(const base::FilePath& path, base 494 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath> paths; base 513 chrome/browser/extensions/api/file_system/file_system_api.cc virtual void MultiFilesSelected(const std::vector<base::FilePath>& files, base 522 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath> paths; base 575 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath* path) { base 583 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath>* paths) { base 629 chrome/browser/extensions/api/file_system/file_system_api.cc const std::string& name, const base::FilePath& path) { base 641 chrome/browser/extensions/api/file_system/file_system_api.cc const base::FilePath& suggested_name, base 642 chrome/browser/extensions/api/file_system/file_system_api.cc const base::FilePath& previous_path) { base 644 chrome/browser/extensions/api/file_system/file_system_api.cc if (!previous_path.empty() && base::DirectoryExists(previous_path)) { base 647 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath documents_dir; base 657 chrome/browser/extensions/api/file_system/file_system_api.cc const std::vector<base::FilePath>& paths) { base 659 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath last_choose_directory; base 687 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind( base 704 chrome/browser/extensions/api/file_system/file_system_api.cc const std::vector<base::FilePath>& paths, base 708 chrome/browser/extensions/api/file_system/file_system_api.cc const base::FilePath path = base 710 chrome/browser/extensions/api/file_system/file_system_api.cc base::MakeAbsoluteFilePath(paths[0]); base 712 chrome/browser/extensions/api/file_system/file_system_api.cc const base::FilePath path = base::MakeAbsoluteFilePath(paths[0]); base 718 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemChooseEntryFunction::FileSelectionCanceled, base 724 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath graylisted_path; base 734 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemChooseEntryFunction::FileSelectionCanceled, base 743 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind( base 746 chrome/browser/extensions/api/file_system/file_system_api.cc base::UTF8ToUTF16(extension_->name()), base 748 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind( base 752 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemChooseEntryFunction::FileSelectionCanceled, base 761 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemChooseEntryFunction::OnDirectoryAccessConfirmed, base 766 chrome/browser/extensions/api/file_system/file_system_api.cc const std::vector<base::FilePath>& paths) { base 778 chrome/browser/extensions/api/file_system/file_system_api.cc const base::FilePath::StringType& suggested_extension, base 792 chrome/browser/extensions/api/file_system/file_system_api.cc base::string16 description; base 793 chrome/browser/extensions/api/file_system/file_system_api.cc std::vector<base::FilePath::StringType> extensions; base 818 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath* suggested_name, base 819 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath::StringType* suggested_extension) { base 821 chrome/browser/extensions/api/file_system/file_system_api.cc *suggested_name = base::FilePath::FromUTF8Unsafe(*opt_name); base 828 chrome/browser/extensions/api/file_system/file_system_api.cc *suggested_name = base::FilePath(); base 840 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath suggested_name; base 878 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath::StringType suggested_extension; base 888 chrome/browser/extensions/api/file_system/file_system_api.cc base::FilePath previous_path = file_system_api::GetLastChooseEntryDirectory( base 894 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemChooseEntryFunction::SetInitialPathOnFileThread, base 898 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemChooseEntryFunction::ShowPicker, base 926 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemRetainEntryFunction::SetIsDirectoryOnFileThread, base 928 chrome/browser/extensions/api/file_system/file_system_api.cc base::Bind(&FileSystemRetainEntryFunction::RetainFileEntry, base 949 chrome/browser/extensions/api/file_system/file_system_api.cc is_directory_ = base::DirectoryExists(path_); base 955 chrome/browser/extensions/api/file_system/file_system_api.cc SetResult(new base::FundamentalValue(SavedFilesService::Get( base 25 chrome/browser/extensions/api/file_system/file_system_api.h base::FilePath GetLastChooseEntryDirectory(const ExtensionPrefs* prefs, base 30 chrome/browser/extensions/api/file_system/file_system_api.h const base::FilePath& path); base 32 chrome/browser/extensions/api/file_system/file_system_api.h std::vector<base::FilePath> GetGrayListedDirectories(); base 56 chrome/browser/extensions/api/file_system/file_system_api.h void CheckWritableFiles(const std::vector<base::FilePath>& path); base 62 chrome/browser/extensions/api/file_system/file_system_api.h const std::vector<base::FilePath>& path); base 68 chrome/browser/extensions/api/file_system/file_system_api.h void AddEntryToResponse(const base::FilePath& path, base 72 chrome/browser/extensions/api/file_system/file_system_api.h void HandleWritableFileError(const base::FilePath& error_path); base 81 chrome/browser/extensions/api/file_system/file_system_api.h base::DictionaryValue* response_; base 98 chrome/browser/extensions/api/file_system/file_system_api.h base::FilePath path_; base 114 chrome/browser/extensions/api/file_system/file_system_api.h static void SkipPickerAndAlwaysSelectPathForTest(base::FilePath* path); base 116 chrome/browser/extensions/api/file_system/file_system_api.h std::vector<base::FilePath>* paths); base 128 chrome/browser/extensions/api/file_system/file_system_api.h const base::FilePath& path); base 137 chrome/browser/extensions/api/file_system/file_system_api.h const base::FilePath::StringType& suggested_extension, base 141 chrome/browser/extensions/api/file_system/file_system_api.h base::FilePath* suggested_name, base 142 chrome/browser/extensions/api/file_system/file_system_api.h base::FilePath::StringType* suggested_extension); base 153 chrome/browser/extensions/api/file_system/file_system_api.h void SetInitialPathOnFileThread(const base::FilePath& suggested_name, base 154 chrome/browser/extensions/api/file_system/file_system_api.h const base::FilePath& previous_path); base 157 chrome/browser/extensions/api/file_system/file_system_api.h void FilesSelected(const std::vector<base::FilePath>& path); base 166 chrome/browser/extensions/api/file_system/file_system_api.h const std::vector<base::FilePath>& paths, base 168 chrome/browser/extensions/api/file_system/file_system_api.h void OnDirectoryAccessConfirmed(const std::vector<base::FilePath>& paths); base 170 chrome/browser/extensions/api/file_system/file_system_api.h base::FilePath initial_path_; base 192 chrome/browser/extensions/api/file_system/file_system_api.h base::FilePath path_; base 17 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc void CheckExtensions(const std::vector<base::FilePath::StringType>& expected, base 18 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc std::vector<base::FilePath::StringType>& actual) { base 38 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::SplitString(mime_types, ',', option->mime_types.get()); base 43 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::SplitString(extensions, ',', option->extensions.get()); base 50 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc #define ToStringType base::UTF8ToWide base 65 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::FilePath::StringType(), NULL, &acceptsAllTypes); base 76 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::FilePath::StringType(), &options, &acceptsAllTypes); base 83 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc std::vector<base::FilePath::StringType> expectedTypes; base 107 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::FilePath::StringType(), &options, &acceptsAllTypes); base 127 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::FilePath::StringType(), &options, &acceptsAllTypes); base 140 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::FilePath::StringType(), &options, &acceptsAllTypes); base 151 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::FilePath::StringType(), &options, &acceptsAllTypes); base 153 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::UTF8ToUTF16("File Types 101")); base 158 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::FilePath suggested_name; base 159 chrome/browser/extensions/api/file_system/file_system_api_unittest.cc base::FilePath::StringType suggested_extension; base 25 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::Callback<void(const Extension*)> callback) base 41 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::Callback<void(const Extension*)> callback_; base 45 chrome/browser/extensions/api/file_system/file_system_apitest.cc void SetLastChooseEntryDirectory(const base::FilePath& choose_entry_directory, base 52 chrome/browser/extensions/api/file_system/file_system_apitest.cc void AddSavedEntry(const base::FilePath& path_to_save, base 60 chrome/browser/extensions/api/file_system/file_system_apitest.cc const int kGraylistedPath = base::DIR_HOME; base 84 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath TempFilePath(const std::string& destination_name, base 88 chrome/browser/extensions/api/file_system/file_system_apitest.cc return base::FilePath(); base 93 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath destination = temp_dir_.path().AppendASCII(destination_name); base 95 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath source = test_root_folder_.AppendASCII("gold.txt"); base 96 chrome/browser/extensions/api/file_system/file_system_apitest.cc EXPECT_TRUE(base::CopyFile(source, destination)); base 101 chrome/browser/extensions/api/file_system/file_system_apitest.cc std::vector<base::FilePath> TempFilePaths( base 106 chrome/browser/extensions/api/file_system/file_system_apitest.cc return std::vector<base::FilePath>(); base 111 chrome/browser/extensions/api/file_system/file_system_apitest.cc std::vector<base::FilePath> result; base 115 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath destination = temp_dir_.path().AppendASCII(*it); base 117 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath source = test_root_folder_.AppendASCII("gold.txt"); base 118 chrome/browser/extensions/api/file_system/file_system_apitest.cc EXPECT_TRUE(base::CopyFile(source, destination)); base 125 chrome/browser/extensions/api/file_system/file_system_apitest.cc void CheckStoredDirectoryMatches(const base::FilePath& filename) { base 130 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath stored_value = base 135 chrome/browser/extensions/api/file_system/file_system_apitest.cc EXPECT_EQ(base::MakeAbsoluteFilePath(filename.DirName()), base 136 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::MakeAbsoluteFilePath(stored_value)); base 140 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_root_folder_; base 141 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::ScopedTempDir temp_dir_; base 145 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = test_root_folder_.AppendASCII("gold.txt"); base 154 chrome/browser/extensions/api/file_system/file_system_apitest.cc ASSERT_TRUE(PathService::OverrideAndCreateIfNeeded(base::DIR_HOME, base 157 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = test_root_folder_.AppendASCII("gold.txt"); base 169 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_path = TempFilePath("test.localized", false); base 170 chrome/browser/extensions/api/file_system/file_system_apitest.cc ASSERT_TRUE(base::CreateDirectory(test_path)); base 172 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = test_path.AppendASCII("gold.txt"); base 173 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath source = test_root_folder_.AppendASCII("gold.txt"); base 174 chrome/browser/extensions/api/file_system/file_system_apitest.cc EXPECT_TRUE(base::CopyFile(source, test_file)); base 184 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 195 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 201 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::Bind(SetLastChooseEntryDirectory, base 212 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 219 chrome/browser/extensions/api/file_system/file_system_apitest.cc AppInstallObserver observer(base::Bind( base 222 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath::FromUTF8Unsafe("fake_directory_does_not_exist")), base 232 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 244 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 260 chrome/browser/extensions/api/file_system/file_system_apitest.cc std::vector<base::FilePath> test_files = TempFilePaths(names, true); base 269 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 271 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 281 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 283 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 294 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 296 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 302 chrome/browser/extensions/api/file_system/file_system_apitest.cc CheckStoredDirectoryMatches(base::FilePath()); base 307 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 309 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 315 chrome/browser/extensions/api/file_system/file_system_apitest.cc CheckStoredDirectoryMatches(base::FilePath()); base 322 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 324 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 337 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 339 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 352 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 354 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 355 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath parent_directory = test_directory.DirName(); base 371 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 373 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 374 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath parent_directory = test_directory.DirName(); base 387 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 393 chrome/browser/extensions/api/file_system/file_system_apitest.cc CheckStoredDirectoryMatches(base::FilePath()); base 404 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 415 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 421 chrome/browser/extensions/api/file_system/file_system_apitest.cc CheckStoredDirectoryMatches(base::FilePath()); base 426 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 440 chrome/browser/extensions/api/file_system/file_system_apitest.cc std::vector<base::FilePath> test_files = TempFilePaths(names, true); base 453 chrome/browser/extensions/api/file_system/file_system_apitest.cc CheckStoredDirectoryMatches(base::FilePath()); base 462 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("save_new.txt", false); base 468 chrome/browser/extensions/api/file_system/file_system_apitest.cc CheckStoredDirectoryMatches(base::FilePath()); base 472 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("save_existing.txt", true); base 478 chrome/browser/extensions/api/file_system/file_system_apitest.cc CheckStoredDirectoryMatches(base::FilePath()); base 483 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("save_new.txt", false); base 494 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("save_existing.txt", true); base 507 chrome/browser/extensions/api/file_system/file_system_apitest.cc std::vector<base::FilePath> test_files = TempFilePaths(names, false); base 527 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("writable.txt", true); base 537 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("writable.txt", true); base 547 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("writable.txt", true); base 556 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("writable.txt", true); base 566 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("writable.txt", true); base 576 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("writable.txt", true); base 591 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("open_existing.txt", true); base 593 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 607 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("writable.txt", true); base 612 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::Bind(AddSavedEntry, base 621 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_file = TempFilePath("writable.txt", true); base 623 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::FilePath test_directory = test_file.DirName(); base 627 chrome/browser/extensions/api/file_system/file_system_apitest.cc base::Bind(AddSavedEntry, base 34 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::Bind(&FileSystemApiTestForDrive::CreateDriveIntegrationService, base 35 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::Unretained(this)); base 49 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::FilePath::FromUTF8Unsafe("drive/root"), // whatever base 109 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::ScopedTempDir test_cache_root_; base 120 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::FilePath test_file = drive::util::GetDriveMountPointPath( base 130 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::FilePath test_file = drive::util::GetDriveMountPointPath( base 140 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::FilePath test_directory = base 151 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::FilePath test_directory = base 163 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::FilePath test_directory = base 175 chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc base::FilePath test_directory = base 63 chrome/browser/extensions/api/font_settings/font_settings_api.cc return base::StringPrintf(kWebKitFontPrefFormat, base 89 chrome/browser/extensions/api/font_settings/font_settings_api.cc std::string pref_name = base::StringPrintf("%s.%s", map_name, script); base 111 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::Bind(&FontSettingsEventRouter::OnFontFamilyMapPrefChanged, base 112 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::Unretained(this)); base 136 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::Bind(&FontSettingsEventRouter::OnFontPrefChanged, base 137 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::Unretained(this), base 169 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::ListValue args; base 170 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 193 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::ListValue args; base 194 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 214 chrome/browser/extensions/api/font_settings/font_settings_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<FontSettingsAPI> > base 269 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 297 chrome/browser/extensions/api/font_settings/font_settings_api.cc new base::StringValue(params->details.font_id)); base 308 chrome/browser/extensions/api/font_settings/font_settings_api.cc scoped_ptr<base::ListValue> list) { base 314 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::ListValue* fonts) { base 315 chrome/browser/extensions/api/font_settings/font_settings_api.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 316 chrome/browser/extensions/api/font_settings/font_settings_api.cc for (base::ListValue::iterator it = fonts->begin(); base 318 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::ListValue* font_list_value; base 336 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::DictionaryValue* font_name = new base::DictionaryValue(); base 337 chrome/browser/extensions/api/font_settings/font_settings_api.cc font_name->Set(kFontIdKey, new base::StringValue(name)); base 338 chrome/browser/extensions/api/font_settings/font_settings_api.cc font_name->Set(kDisplayNameKey, new base::StringValue(localized_name)); base 370 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 383 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::DictionaryValue* details = NULL; base 386 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::Value* value; base 148 chrome/browser/extensions/api/font_settings/font_settings_api.h void FontListHasLoaded(scoped_ptr<base::ListValue> list); base 149 chrome/browser/extensions/api/font_settings/font_settings_api.h bool CopyFontsToResult(base::ListValue* fonts); base 117 chrome/browser/extensions/api/gcm/gcm_api.cc base::Bind(&GcmRegisterFunction::CompleteFunctionWithResult, this)); base 125 chrome/browser/extensions/api/gcm/gcm_api.cc SetResult(new base::StringValue(registration_id)); base 137 chrome/browser/extensions/api/gcm/gcm_api.cc base::Bind(&GcmUnregisterFunction::CompleteFunctionWithResult, this)); base 169 chrome/browser/extensions/api/gcm/gcm_api.cc base::Bind(&GcmSendFunction::CompleteFunctionWithResult, this)); base 177 chrome/browser/extensions/api/gcm/gcm_api.cc SetResult(new base::StringValue(message_id)); base 33 chrome/browser/extensions/api/hid/hid_api.cc base::Value* PopulateHidConnection(int connection_id, base 186 chrome/browser/extensions/api/hid/hid_api.cc buffer_, base::Bind(&HidReceiveFunction::OnFinished, this)); base 195 chrome/browser/extensions/api/hid/hid_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer_->data(), bytes)); base 223 chrome/browser/extensions/api/hid/hid_api.cc base::Bind(&HidSendFunction::OnFinished, this)); base 256 chrome/browser/extensions/api/hid/hid_api.cc base::Bind(&HidReceiveFeatureReportFunction::OnFinished, this)); base 265 chrome/browser/extensions/api/hid/hid_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer_->data(), bytes)); base 292 chrome/browser/extensions/api/hid/hid_api.cc base::Bind(&HidSendFeatureReportFunction::OnFinished, this)); base 60 chrome/browser/extensions/api/hid/hid_api.h scoped_ptr<base::ListValue> result_; base 80 chrome/browser/extensions/api/hid/hid_api.h scoped_ptr<base::ListValue> result_; base 99 chrome/browser/extensions/api/hid/hid_api.h scoped_ptr<base::ListValue> result_; base 121 chrome/browser/extensions/api/hid/hid_api.h scoped_ptr<base::ListValue> result_; base 142 chrome/browser/extensions/api/hid/hid_api.h scoped_ptr<base::ListValue> result_; base 165 chrome/browser/extensions/api/hid/hid_api.h scoped_ptr<base::ListValue> result_; base 186 chrome/browser/extensions/api/hid/hid_api.h scoped_ptr<base::ListValue> result_; base 17 chrome/browser/extensions/api/hid/hid_connection_resource.cc static base::LazyInstance< base 25 chrome/browser/extensions/api/hid/hid_device_manager.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<HidDeviceManager> > base 30 chrome/browser/extensions/api/hid/hid_device_manager.cc scoped_ptr<base::ListValue> HidDeviceManager::GetApiDevices( base 37 chrome/browser/extensions/api/hid/hid_device_manager.cc base::ListValue* api_devices = new base::ListValue(); base 56 chrome/browser/extensions/api/hid/hid_device_manager.cc return scoped_ptr<base::ListValue>(api_devices); base 35 chrome/browser/extensions/api/hid/hid_device_manager.h scoped_ptr<base::ListValue> GetApiDevices(uint16_t vendor_id, base 47 chrome/browser/extensions/api/hid/hid_device_manager.h base::ThreadChecker thread_checker_; base 62 chrome/browser/extensions/api/history/history_api.cc double MilliSecondsFromTime(const base::Time& time) { base 69 chrome/browser/extensions/api/history/history_api.cc history_item->id = base::Int64ToString(row.id()); base 71 chrome/browser/extensions/api/history/history_api.cc history_item->title.reset(new std::string(base::UTF16ToUTF8(row.title()))); base 83 chrome/browser/extensions/api/history/history_api.cc visit_item->id = base::Int64ToString(row.url_id); base 84 chrome/browser/extensions/api/history/history_api.cc visit_item->visit_id = base::Int64ToString(row.visit_id); base 87 chrome/browser/extensions/api/history/history_api.cc visit_item->referring_visit_id = base::Int64ToString(row.referring_visit); base 170 chrome/browser/extensions/api/history/history_api.cc scoped_ptr<base::ListValue> args = OnVisited::Create(*history_item); base 188 chrome/browser/extensions/api/history/history_api.cc scoped_ptr<base::ListValue> args = OnVisitRemoved::Create(removed); base 195 chrome/browser/extensions/api/history/history_api.cc scoped_ptr<base::ListValue> event_args) { base 221 chrome/browser/extensions/api/history/history_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<HistoryAPI> > base 267 chrome/browser/extensions/api/history/history_api.cc base::Time HistoryFunction::GetTime(double ms_from_epoch) { base 274 chrome/browser/extensions/api/history/history_api.cc base::Time::UnixEpoch() : base::Time::FromDoubleT(seconds_from_epoch); base 292 chrome/browser/extensions/api/history/history_api.cc base::MessageLoop::current()->PostTask( base 294 chrome/browser/extensions/api/history/history_api.cc base::Bind(&HistoryFunctionWithCallback::SendResponseToCallback, this)); base 315 chrome/browser/extensions/api/history/history_api.cc base::Bind(&HistoryGetVisitsFunction::QueryComplete, base 316 chrome/browser/extensions/api/history/history_api.cc base::Unretained(this))); base 344 chrome/browser/extensions/api/history/history_api.cc base::string16 search_text = base::UTF8ToUTF16(params->query.text); base 360 chrome/browser/extensions/api/history/history_api.cc base::Bind(&HistorySearchFunction::SearchComplete, base 361 chrome/browser/extensions/api/history/history_api.cc base::Unretained(this))); base 393 chrome/browser/extensions/api/history/history_api.cc hs->AddPage(url, base::Time::Now(), history::SOURCE_EXTENSION); base 435 chrome/browser/extensions/api/history/history_api.cc base::Time start_time = GetTime(params->range.start_time); base 436 chrome/browser/extensions/api/history/history_api.cc base::Time end_time = GetTime(params->range.end_time); base 445 chrome/browser/extensions/api/history/history_api.cc base::Bind(&HistoryDeleteRangeFunction::DeleteComplete, base 446 chrome/browser/extensions/api/history/history_api.cc base::Unretained(this)), base 473 chrome/browser/extensions/api/history/history_api.cc base::Time(), // Unbounded beginning... base 474 chrome/browser/extensions/api/history/history_api.cc base::Time(), // ...and the end. base 475 chrome/browser/extensions/api/history/history_api.cc base::Bind(&HistoryDeleteAllFunction::DeleteComplete, base 476 chrome/browser/extensions/api/history/history_api.cc base::Unretained(this)), base 21 chrome/browser/extensions/api/history/history_api.h namespace base { base 48 chrome/browser/extensions/api/history/history_api.h scoped_ptr<base::ListValue> event_args); base 96 chrome/browser/extensions/api/history/history_api.h base::Time GetTime(double ms_from_epoch); base 120 chrome/browser/extensions/api/history/history_api.h base::CancelableTaskTracker task_tracker_; base 21 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc static base::LazyInstance< base 31 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc base::Bind(&HotwordPrivateEventService::OnEnabledChanged, base 32 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc base::Unretained(this))); base 64 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 49 chrome/browser/extensions/api/i18n/i18n_api.cc base::SplitString(accept_languages, ',', &languages); base 23 chrome/browser/extensions/api/i18n/i18n_apitest.cc base::ScopedTempDir extension_dir; base 25 chrome/browser/extensions/api/i18n/i18n_apitest.cc base::CopyFile( base 29 chrome/browser/extensions/api/i18n/i18n_apitest.cc base::CopyFile( base 33 chrome/browser/extensions/api/i18n/i18n_apitest.cc base::CopyDirectory( base 49 chrome/browser/extensions/api/i18n/i18n_apitest.cc base::string16 title; base 51 chrome/browser/extensions/api/i18n/i18n_apitest.cc EXPECT_EQ(std::string("FIRSTMESSAGE"), base::UTF16ToUTF8(title)); base 54 chrome/browser/extensions/api/i18n/i18n_apitest.cc base::CopyFile( base 67 chrome/browser/extensions/api/i18n/i18n_apitest.cc EXPECT_EQ(std::string("SECONDMESSAGE"), base::UTF16ToUTF8(title)); base 244 chrome/browser/extensions/api/identity/account_tracker.cc const base::Time& expiration_time) { base 122 chrome/browser/extensions/api/identity/account_tracker.h const base::Time& expiration_time) OVERRIDE; base 80 chrome/browser/extensions/api/identity/account_tracker_unittest.cc return base::StringPrintf("{ type: %s, email: %s, gaia: %s }", base 339 chrome/browser/extensions/api/identity/account_tracker_unittest.cc "access_token", base::Time::Max()); base 38 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc base::SplitString(oauth2_info.client_id, '.', &client_id_parts); base 43 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc base::StringPrintf(kOAuth2RedirectPathFormat, extension_id.c_str()); base 46 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc base::StringPrintf(kOAuth2AuthorizeFormat, base 78 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc std::string merge_query = base::StringPrintf( base 134 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc base::SplitStringIntoKeyValuePairs(fragment, '=', '&', &pairs); base 75 chrome/browser/extensions/api/identity/gaia_web_auth_flow_unittest.cc base::RunLoop loop; base 102 chrome/browser/extensions/api/identity/gaia_web_auth_flow_unittest.cc base::MessageLoop message_loop_; base 86 chrome/browser/extensions/api/identity/identity_api.cc base::Time::Now() + base::TimeDelta::FromSeconds( base 91 chrome/browser/extensions/api/identity/identity_api.cc base::TimeDelta time_to_live) base 95 chrome/browser/extensions/api/identity/identity_api.cc time_to_live -= base::TimeDelta::FromMinutes(20); base 97 chrome/browser/extensions/api/identity/identity_api.cc base::TimeDelta zero_delta; base 101 chrome/browser/extensions/api/identity/identity_api.cc expiration_time_ = base::Time::Now() + time_to_live; base 122 chrome/browser/extensions/api/identity/identity_api.cc expiration_time_ < base::Time::Now(); base 125 chrome/browser/extensions/api/identity/identity_api.cc const base::Time& IdentityTokenCacheValue::expiration_time() const { base 187 chrome/browser/extensions/api/identity/identity_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<IdentityAPI> > base 204 chrome/browser/extensions/api/identity/identity_api.cc scoped_ptr<base::ListValue> args = base 317 chrome/browser/extensions/api/identity/identity_api.cc SetResult(new base::StringValue(access_token)); base 442 chrome/browser/extensions/api/identity/identity_api.cc base::TimeDelta::FromSeconds(time_to_live)); base 540 chrome/browser/extensions/api/identity/identity_api.cc if (!expiration.empty() && base::StringToInt(expiration, &time_to_live)) { base 542 chrome/browser/extensions/api/identity/identity_api.cc access_token, base::TimeDelta::FromSeconds(time_to_live)); base 554 chrome/browser/extensions/api/identity/identity_api.cc const base::Time& expiration_time) { base 749 chrome/browser/extensions/api/identity/identity_api.cc final_url_prefix_ = GURL(base::StringPrintf( base 778 chrome/browser/extensions/api/identity/identity_api.cc SetResult(new base::StringValue(redirect_url.spec())); base 60 chrome/browser/extensions/api/identity/identity_api.h base::TimeDelta time_to_live); base 74 chrome/browser/extensions/api/identity/identity_api.h const base::Time& expiration_time() const; base 82 chrome/browser/extensions/api/identity/identity_api.h base::Time expiration_time_; base 225 chrome/browser/extensions/api/identity/identity_api.h const base::Time& expiration_time) OVERRIDE; base 81 chrome/browser/extensions/api/identity/identity_apitest.cc base::MessageLoopForUI::current()->Quit(); base 99 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::ListValue> parsed_args(utils::ParseList(args)); base 121 chrome/browser/extensions/api/identity/identity_apitest.cc base::Value* WaitForSingleResult(UIThreadExtensionFunction* function) { base 125 chrome/browser/extensions/api/identity/identity_apitest.cc const base::Value* single_result = NULL; base 295 chrome/browser/extensions/api/identity/identity_apitest.cc base::Time::Now() + base::TimeDelta::FromHours(1LL)); base 362 chrome/browser/extensions/api/identity/identity_apitest.cc base::FilePath manifest_path = base 364 chrome/browser/extensions/api/identity/identity_apitest.cc base::FilePath component_manifest_path = base 555 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 650 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 689 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 810 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 849 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(WaitForSingleResult(func.get())); base 885 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(WaitForSingleResult(func.get())); base 975 chrome/browser/extensions/api/identity/identity_apitest.cc base::TimeDelta::FromSeconds(3600)); base 981 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 1035 chrome/browser/extensions/api/identity/identity_apitest.cc base::TimeDelta::FromSeconds(3600)); base 1043 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(WaitForSingleResult(func.get())); base 1059 chrome/browser/extensions/api/identity/identity_apitest.cc base::TimeDelta::FromSeconds(3600)); base 1072 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 1151 chrome/browser/extensions/api/identity/identity_apitest.cc base::TimeDelta::FromSeconds(3600)); base 1161 chrome/browser/extensions/api/identity/identity_apitest.cc base::TimeDelta::FromSeconds(3600)); base 1182 chrome/browser/extensions/api/identity/identity_apitest.cc base::FilePath(FILE_PATH_LITERAL( base 1209 chrome/browser/extensions/api/identity/identity_apitest.cc base::FilePath(FILE_PATH_LITERAL( base 1232 chrome/browser/extensions/api/identity/identity_apitest.cc base::FilePath(FILE_PATH_LITERAL( base 1265 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 1292 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value(utils::RunFunctionAndReturnSingleResult( base 1309 chrome/browser/extensions/api/identity/identity_apitest.cc base::FilePath(FILE_PATH_LITERAL( base 1323 chrome/browser/extensions/api/identity/identity_apitest.cc scoped_ptr<base::Value> value( base 78 chrome/browser/extensions/api/identity/web_auth_flow.cc base::Base64Encode(random_bytes, &app_window_key_); base 81 chrome/browser/extensions/api/identity/web_auth_flow.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 99 chrome/browser/extensions/api/identity/web_auth_flow.cc base::FilePath(FILE_PATH_LITERAL("identity_scope_approval_dialog"))); base 108 chrome/browser/extensions/api/identity/web_auth_flow.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 194 chrome/browser/extensions/api/identity/web_auth_flow.cc base::UTF16ToUTF8(title->first->GetTitle())); base 206 chrome/browser/extensions/api/identity/web_auth_flow.cc void WebAuthFlow::RenderProcessGone(base::TerminationStatus status) { base 225 chrome/browser/extensions/api/identity/web_auth_flow.cc const base::string16& frame_unique_name, base 229 chrome/browser/extensions/api/identity/web_auth_flow.cc const base::string16& error_description, base 110 chrome/browser/extensions/api/identity/web_auth_flow.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 120 chrome/browser/extensions/api/identity/web_auth_flow.h const base::string16& frame_unique_name, base 124 chrome/browser/extensions/api/identity/web_auth_flow.h const base::string16& error_description, base 22 chrome/browser/extensions/api/identity_private/identity_private_api.cc base::DictionaryValue* result = new base::DictionaryValue; base 39 chrome/browser/extensions/api/idle/idle_api.cc threshold, base::Bind(&IdleQueryStateFunction::IdleStateCallback, this)); base 159 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnValue( base 173 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnValue( base 191 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnValue( base 210 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnValue( base 231 chrome/browser/extensions/api/idle/idle_api_unittest.cc std::string args = "[" + base::IntToString(threshold) + "]"; base 232 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnValue( base 260 chrome/browser/extensions/api/idle/idle_api_unittest.cc std::string args = "[" + base::IntToString(threshold) + "]"; base 261 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnValue( base 412 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result45(RunFunctionAndReturnValue( base 436 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result45(RunFunctionAndReturnValue( base 457 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnValue( base 476 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnValue( base 495 chrome/browser/extensions/api/idle/idle_api_unittest.cc scoped_ptr<base::Value> result45(RunFunctionAndReturnValue( base 54 chrome/browser/extensions/api/idle/idle_manager.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 192 chrome/browser/extensions/api/idle/idle_manager.cc base::StringValue* IdleManager::CreateIdleValue(IdleState idle_state) { base 203 chrome/browser/extensions/api/idle/idle_manager.cc return new base::StringValue(description); base 233 chrome/browser/extensions/api/idle/idle_manager.cc base::TimeDelta::FromSeconds(kPollInterval), base 247 chrome/browser/extensions/api/idle/idle_manager.cc base::Bind( base 22 chrome/browser/extensions/api/idle/idle_manager.h namespace base { base 30 chrome/browser/extensions/api/idle/idle_manager.h typedef base::Callback<void(IdleState)> QueryStateCallback; base 89 chrome/browser/extensions/api/idle/idle_manager.h static base::StringValue* CreateIdleValue(IdleState idle_state); base 125 chrome/browser/extensions/api/idle/idle_manager.h base::RepeatingTimer<IdleManager> poll_timer_; base 126 chrome/browser/extensions/api/idle/idle_manager.h base::WeakPtrFactory<IdleManager> weak_factory_; base 132 chrome/browser/extensions/api/idle/idle_manager.h base::ThreadChecker thread_checker_; base 9 chrome/browser/extensions/api/idltest/idltest_api.cc using base::BinaryValue; base 13 chrome/browser/extensions/api/idltest/idltest_api.cc base::ListValue* CopyBinaryValueToIntegerList(const BinaryValue* input) { base 14 chrome/browser/extensions/api/idltest/idltest_api.cc base::ListValue* output = new base::ListValue(); base 17 chrome/browser/extensions/api/idltest/idltest_api.cc output->Append(new base::FundamentalValue(input_buffer[i])); base 19 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc base::WeakPtr<OperationManager> manager, base 27 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc if (!base::CreateTemporaryFileInDir(temp_dir_.path(), &image_path_)) { base 35 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc if (base::WriteFile(image_path_, buffer.get(), kPartitionTableSize) != base 44 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc base::Bind(&DestroyPartitionsOperation::Write, base 46 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc base::Bind(&DestroyPartitionsOperation::Finish, this))); base 20 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.h DestroyPartitionsOperation(base::WeakPtr<OperationManager> manager, base 52 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation_unittest.cc base::RunLoop().RunUntilIdle(); base 60 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation_unittest.cc base::RunLoop().RunUntilIdle(); base 45 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc base::Bind(&ImageWriterPrivateWriteFromUrlFunction::OnWriteStarted, base 77 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc base::FilePath path; base 91 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc base::Bind(&ImageWriterPrivateWriteFromFileFunction::OnWriteStarted, base 115 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc base::Bind(&ImageWriterPrivateCancelWriteFunction::OnWriteCancelled, base 145 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc base::Bind( base 171 chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc base::Bind( base 15 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc : message_loop_proxy_(base::MessageLoopProxy::current()) {} base 21 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc const base::FilePath& source, base 22 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc const base::FilePath& target) { base 34 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc FROM_HERE, base::Bind(error_callback_, "IPC communication failed")); base 41 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc const base::FilePath& source, base 42 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc const base::FilePath& target) { base 54 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc FROM_HERE, base::Bind(error_callback_, "IPC communication failed")); base 81 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc success_callback_ = base::Closure(); base 82 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc progress_callback_ = base::Callback<void(int64)>(); base 83 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc error_callback_ = base::Callback<void(const std::string&)>(); base 84 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc cancel_callback_ = base::Closure(); base 89 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 90 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc base::MessageLoop::current()->message_loop_proxy(); base 106 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc FROM_HERE, base::Bind(error_callback_, "Utility process crashed.")); base 111 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc FROM_HERE, base::Bind(error_callback_, "Process launch failed.")); base 149 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc base::Bind(error_callback_, message)); base 156 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc base::Bind(progress_callback_, progress)); base 17 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h typedef base::Callback<void()> CancelCallback; base 18 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h typedef base::Callback<void()> SuccessCallback; base 19 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h typedef base::Callback<void(int64)> ProgressCallback; base 20 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h typedef base::Callback<void(const std::string&)> ErrorCallback; base 33 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h const base::FilePath& source, base 34 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h const base::FilePath& target); base 45 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h const base::FilePath& source, base 46 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h const base::FilePath& target); base 80 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h base::WeakPtr<content::UtilityProcessHost> utility_process_host_; base 82 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 27 chrome/browser/extensions/api/image_writer_private/operation.cc Operation::Operation(base::WeakPtr<OperationManager> manager, base 33 chrome/browser/extensions/api/image_writer_private/operation.cc device_path_(base::FilePath::FromUTF8Unsafe(device_path)), base 68 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&ImageWriterUtilityClient::Shutdown, image_writer_client_)); base 75 chrome/browser/extensions/api/image_writer_private/operation.cc base::FilePath(kChromeOSTempRoot))) { base 84 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(base::IgnoreResult(&base::ScopedTempDir::Delete), base 85 chrome/browser/extensions/api/image_writer_private/operation.cc base::Unretained(&temp_dir_))); base 90 chrome/browser/extensions/api/image_writer_private/operation.cc void Operation::Unzip(const base::Closure& continuation) { base 126 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&Operation::CompleteAndContinue, this, continuation), base 127 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&Operation::OnUnzipFailure, this), base 128 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&Operation::OnUnzipProgress, base 136 chrome/browser/extensions/api/image_writer_private/operation.cc BrowserThread::FILE, FROM_HERE, base::Bind(&Operation::Finish, this)); base 145 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&OperationManager::OnComplete, manager_, extension_id_)); base 152 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&Operation::Error, this, error_message)); base 159 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&OperationManager::OnError, base 174 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&Operation::SetProgress, base 192 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&OperationManager::OnProgress, base 204 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&Operation::SetStage, base 220 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&OperationManager::OnProgress, base 233 chrome/browser/extensions/api/image_writer_private/operation.cc void Operation::AddCleanUpFunction(const base::Closure& callback) { base 238 chrome/browser/extensions/api/image_writer_private/operation.cc void Operation::CompleteAndContinue(const base::Closure& continuation) { base 249 chrome/browser/extensions/api/image_writer_private/operation.cc AddCleanUpFunction(base::Bind(&Operation::StopUtilityClient, this)); base 258 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&ImageWriterUtilityClient::Shutdown, image_writer_client_)); base 276 chrome/browser/extensions/api/image_writer_private/operation.cc const base::FilePath& file_path, base 280 chrome/browser/extensions/api/image_writer_private/operation.cc const base::Callback<void(const std::string&)>& callback) { base 285 chrome/browser/extensions/api/image_writer_private/operation.cc base::MD5Init(&md5_context_); base 287 chrome/browser/extensions/api/image_writer_private/operation.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 303 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&Operation::MD5Chunk, base 314 chrome/browser/extensions/api/image_writer_private/operation.cc base::File file, base 319 chrome/browser/extensions/api/image_writer_private/operation.cc const base::Callback<void(const std::string&)>& callback) { base 331 chrome/browser/extensions/api/image_writer_private/operation.cc base::MD5Digest digest; base 332 chrome/browser/extensions/api/image_writer_private/operation.cc base::MD5Final(&digest, &md5_context_); base 333 chrome/browser/extensions/api/image_writer_private/operation.cc callback.Run(base::MD5DigestToBase16(digest)); base 339 chrome/browser/extensions/api/image_writer_private/operation.cc base::MD5Update(&md5_context_, base::StringPiece(buffer.get(), len)); base 347 chrome/browser/extensions/api/image_writer_private/operation.cc base::Bind(&Operation::MD5Chunk, base 378 chrome/browser/extensions/api/image_writer_private/operation.cc for (std::vector<base::Closure>::iterator it = cleanup_functions_.begin(); base 22 chrome/browser/extensions/api/image_writer_private/operation.h namespace base { base 50 chrome/browser/extensions/api/image_writer_private/operation.h class Operation : public base::RefCountedThreadSafe<Operation> { base 52 chrome/browser/extensions/api/image_writer_private/operation.h typedef base::Callback<void(bool, const std::string&)> StartWriteCallback; base 53 chrome/browser/extensions/api/image_writer_private/operation.h typedef base::Callback<void(bool, const std::string&)> CancelWriteCallback; base 56 chrome/browser/extensions/api/image_writer_private/operation.h Operation(base::WeakPtr<OperationManager> manager, base 90 chrome/browser/extensions/api/image_writer_private/operation.h void Unzip(const base::Closure& continuation); base 93 chrome/browser/extensions/api/image_writer_private/operation.h void Write(const base::Closure& continuation); base 96 chrome/browser/extensions/api/image_writer_private/operation.h void VerifyWrite(const base::Closure& continuation); base 119 chrome/browser/extensions/api/image_writer_private/operation.h void AddCleanUpFunction(const base::Closure& callback); base 123 chrome/browser/extensions/api/image_writer_private/operation.h void CompleteAndContinue(const base::Closure& continuation); base 132 chrome/browser/extensions/api/image_writer_private/operation.h const base::FilePath& file, base 136 chrome/browser/extensions/api/image_writer_private/operation.h const base::Callback<void(const std::string&)>& callback); base 138 chrome/browser/extensions/api/image_writer_private/operation.h base::WeakPtr<OperationManager> manager_; base 141 chrome/browser/extensions/api/image_writer_private/operation.h base::FilePath image_path_; base 142 chrome/browser/extensions/api/image_writer_private/operation.h base::FilePath device_path_; base 145 chrome/browser/extensions/api/image_writer_private/operation.h base::ScopedTempDir temp_dir_; base 148 chrome/browser/extensions/api/image_writer_private/operation.h friend class base::RefCountedThreadSafe<Operation>; base 167 chrome/browser/extensions/api/image_writer_private/operation.h void StartWriteOnUIThread(const base::Closure& continuation); base 169 chrome/browser/extensions/api/image_writer_private/operation.h void OnBurnFinished(const base::Closure& continuation, base 180 chrome/browser/extensions/api/image_writer_private/operation.h void MD5Chunk(base::File file, base 185 chrome/browser/extensions/api/image_writer_private/operation.h const base::Callback<void(const std::string&)>& callback); base 201 chrome/browser/extensions/api/image_writer_private/operation.h base::MD5Context md5_context_; base 208 chrome/browser/extensions/api/image_writer_private/operation.h std::vector<base::Closure> cleanup_functions_; base 23 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc base::Bind(&ClearImageBurner)); base 34 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc void Operation::Write(const base::Closure& continuation) { base 41 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc base::Bind(&Operation::StartWriteOnUIThread, this, continuation)); base 43 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc AddCleanUpFunction(base::Bind(&ClearImageBurner)); base 46 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc void Operation::VerifyWrite(const base::Closure& continuation) { base 53 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc void Operation::StartWriteOnUIThread(const base::Closure& continuation) { base 60 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc base::Bind(&Operation::OnBurnFinished, this, continuation), base 61 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc base::Bind(&Operation::OnBurnProgress, this)); base 65 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc base::Bind(&Operation::OnBurnError, this)); base 68 chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc void Operation::OnBurnFinished(const base::Closure& continuation, base 53 chrome/browser/extensions/api/image_writer_private/operation_manager.cc base::Bind(&Operation::Abort, base 80 chrome/browser/extensions/api/image_writer_private/operation_manager.cc base::Bind(&Operation::Start, operation)); base 86 chrome/browser/extensions/api/image_writer_private/operation_manager.cc const base::FilePath& path, base 100 chrome/browser/extensions/api/image_writer_private/operation_manager.cc base::Bind(&Operation::Start, operation)); base 114 chrome/browser/extensions/api/image_writer_private/operation_manager.cc base::Bind(&Operation::Cancel, existing_operation)); base 135 chrome/browser/extensions/api/image_writer_private/operation_manager.cc base::Bind(&Operation::Start, operation)); base 148 chrome/browser/extensions/api/image_writer_private/operation_manager.cc scoped_ptr<base::ListValue> args( base 160 chrome/browser/extensions/api/image_writer_private/operation_manager.cc scoped_ptr<base::ListValue> args(image_writer_api::OnWriteComplete::Create()); base 182 chrome/browser/extensions/api/image_writer_private/operation_manager.cc scoped_ptr<base::ListValue> args( base 245 chrome/browser/extensions/api/image_writer_private/operation_manager.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<OperationManager> > base 40 chrome/browser/extensions/api/image_writer_private/operation_manager.h public base::SupportsWeakPtr<OperationManager> { base 58 chrome/browser/extensions/api/image_writer_private/operation_manager.h const base::FilePath& path, base 111 chrome/browser/extensions/api/image_writer_private/operation_manager.h base::WeakPtrFactory<OperationManager> weak_factory_; base 117 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::Bind(&ImageWriterOperationManagerTest::StartCallback, base 118 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::Unretained(this))); base 126 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::Bind(&ImageWriterOperationManagerTest::CancelCallback, base 127 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::Unretained(this))); base 133 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 142 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::Bind(&ImageWriterOperationManagerTest::StartCallback, base 143 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::Unretained(this))); base 151 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::Bind(&ImageWriterOperationManagerTest::CancelCallback, base 152 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::Unretained(this))); base 158 chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 18 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc void Operation::Write(const base::Closure& continuation) { base 28 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc if (!base::GetFileSize(image_path_, &file_size)) { base 36 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc base::Bind( base 39 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc base::Bind(&Operation::WriteImageProgress, this, file_size), base 40 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc base::Bind(&Operation::CompleteAndContinue, this, continuation), base 41 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc base::Bind(&Operation::Error, this), base 46 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc void Operation::VerifyWrite(const base::Closure& continuation) { base 57 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc if (!base::GetFileSize(image_path_, &file_size)) { base 65 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc base::Bind( base 68 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc base::Bind(&Operation::WriteImageProgress, this, file_size), base 69 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc base::Bind(&Operation::CompleteAndContinue, this, continuation), base 70 chrome/browser/extensions/api/image_writer_private/operation_nonchromeos.cc base::Bind(&Operation::Error, this), base 35 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc OperationForTest(base::WeakPtr<OperationManager> manager_, base 43 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc void Unzip(const base::Closure& continuation) { base 47 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc void Write(const base::Closure& continuation) { base 51 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc void VerifyWrite(const base::Closure& continuation) { base 56 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc void SetImagePath(const base::FilePath image_path) { base 60 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::FilePath GetImagePath() { return image_path_; } base 72 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::FilePath image_dir = temp_dir_.path().AppendASCII("zip"); base 73 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc ASSERT_TRUE(base::CreateDirectory(image_dir)); base 74 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(image_dir, &image_path_)); base 97 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::FilePath image_path_; base 98 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::FilePath zip_file_; base 119 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::Bind( base 120 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc &OperationForTest::Unzip, operation_, base::Bind(&base::DoNothing))); base 122 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::RunLoop().RunUntilIdle(); base 143 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::Bind( base 144 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc &OperationForTest::Unzip, operation_, base::Bind(&base::DoNothing))); base 146 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::RunLoop().RunUntilIdle(); base 148 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc EXPECT_TRUE(base::ContentsEqual(image_path_, operation_->GetImagePath())); base 172 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::Bind( base 173 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc &OperationForTest::Write, operation_, base::Bind(&base::DoNothing))); base 175 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::RunLoop().RunUntilIdle(); base 183 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::RunLoop().RunUntilIdle(); base 214 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::Bind(&OperationForTest::VerifyWrite, base 216 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::Bind(&base::DoNothing))); base 218 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::RunLoop().RunUntilIdle(); base 225 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::RunLoop().RunUntilIdle(); base 250 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::Bind(&OperationForTest::VerifyWrite, base 252 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::Bind(&base::DoNothing))); base 254 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::RunLoop().RunUntilIdle(); base 260 chrome/browser/extensions/api/image_writer_private/operation_unittest.cc base::RunLoop().RunUntilIdle(); base 20 chrome/browser/extensions/api/image_writer_private/removable_storage_provider.h typedef base::Callback<void(scoped_refptr<StorageDeviceList>, bool)> base 127 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc base::Bind(&RemovableStorageProviderChromeOsUnitTest::DevicesCallback, base 128 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc base::Unretained(this))); base 145 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc base::Bind(&RemovableStorageProviderChromeOsUnitTest::DevicesCallback, base 146 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc base::Unretained(this))); base 21 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc base::StringToUint64(attr, &result); base 26 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc base::FilePath file_path(path); base 29 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc base::FilePath info_file_path = base::FilePath("/sys/block") base 36 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc if (!base::ReadFileToString(info_file_path, &file_contents)) { base 40 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc base::StringToInt(file_contents, &blk_size); base 53 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc base::Bind(GetDevicesOnFileThread, device_list), base 54 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc base::Bind(callback, device_list)); base 61 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc base::win::ScopedHandle device_handle(CreateFile( base 133 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc base::string16 device_path_16(interface_detail_data->DevicePath); base 134 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc device->storage_unit_id = base::UTF16ToUTF8(device_path_16); base 35 chrome/browser/extensions/api/image_writer_private/test_utils.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 36 chrome/browser/extensions/api/image_writer_private/test_utils.cc base::Bind(burn_progress_update_handler_, to_path, 0, 100)); base 37 chrome/browser/extensions/api/image_writer_private/test_utils.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 38 chrome/browser/extensions/api/image_writer_private/test_utils.cc base::Bind(burn_progress_update_handler_, to_path, 50, 100)); base 39 chrome/browser/extensions/api/image_writer_private/test_utils.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 40 chrome/browser/extensions/api/image_writer_private/test_utils.cc base::Bind(burn_progress_update_handler_, to_path, 100, 100)); base 41 chrome/browser/extensions/api/image_writer_private/test_utils.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 42 chrome/browser/extensions/api/image_writer_private/test_utils.cc base::Bind(burn_finished_handler_, to_path, true, "")); base 64 chrome/browser/extensions/api/image_writer_private/test_utils.cc const base::FilePath& source, base 65 chrome/browser/extensions/api/image_writer_private/test_utils.cc const base::FilePath& target) { base 74 chrome/browser/extensions/api/image_writer_private/test_utils.cc const base::FilePath& source, base 75 chrome/browser/extensions/api/image_writer_private/test_utils.cc const base::FilePath& target) { base 87 chrome/browser/extensions/api/image_writer_private/test_utils.cc success_callback_ = base::Closure(); base 88 chrome/browser/extensions/api/image_writer_private/test_utils.cc progress_callback_ = base::Callback<void(int64)>(); base 89 chrome/browser/extensions/api/image_writer_private/test_utils.cc error_callback_ = base::Callback<void(const std::string&)>(); base 90 chrome/browser/extensions/api/image_writer_private/test_utils.cc cancel_callback_ = base::Closure(); base 117 chrome/browser/extensions/api/image_writer_private/test_utils.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 119 chrome/browser/extensions/api/image_writer_private/test_utils.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 144 chrome/browser/extensions/api/image_writer_private/test_utils.cc const base::FilePath& image_path, base 145 chrome/browser/extensions/api/image_writer_private/test_utils.cc const base::FilePath& device_path) { base 164 chrome/browser/extensions/api/image_writer_private/test_utils.cc bool ImageWriterUnitTestBase::FillFile(const base::FilePath& file, base 170 chrome/browser/extensions/api/image_writer_private/test_utils.cc return base::WriteFile(file, buffer.get(), length) == length; base 59 chrome/browser/extensions/api/image_writer_private/test_utils.h const base::FilePath& source, base 60 chrome/browser/extensions/api/image_writer_private/test_utils.h const base::FilePath& target) OVERRIDE; base 65 chrome/browser/extensions/api/image_writer_private/test_utils.h const base::FilePath& source, base 66 chrome/browser/extensions/api/image_writer_private/test_utils.h const base::FilePath& target) OVERRIDE; base 100 chrome/browser/extensions/api/image_writer_private/test_utils.h bool ImageWrittenToDevice(const base::FilePath& image_path, base 101 chrome/browser/extensions/api/image_writer_private/test_utils.h const base::FilePath& device_path); base 105 chrome/browser/extensions/api/image_writer_private/test_utils.h bool FillFile(const base::FilePath& file, base 109 chrome/browser/extensions/api/image_writer_private/test_utils.h base::ScopedTempDir temp_dir_; base 110 chrome/browser/extensions/api/image_writer_private/test_utils.h base::FilePath test_image_path_; base 111 chrome/browser/extensions/api/image_writer_private/test_utils.h base::FilePath test_device_path_; base 16 chrome/browser/extensions/api/image_writer_private/write_from_file_operation.cc base::WeakPtr<OperationManager> manager, base 18 chrome/browser/extensions/api/image_writer_private/write_from_file_operation.cc const base::FilePath& user_file_path, base 27 chrome/browser/extensions/api/image_writer_private/write_from_file_operation.cc if (!base::PathExists(image_path_) || base::DirectoryExists(image_path_)) { base 36 chrome/browser/extensions/api/image_writer_private/write_from_file_operation.cc base::Bind( base 39 chrome/browser/extensions/api/image_writer_private/write_from_file_operation.cc base::Bind( base 42 chrome/browser/extensions/api/image_writer_private/write_from_file_operation.cc base::Bind(&WriteFromFileOperation::VerifyWrite, base 44 chrome/browser/extensions/api/image_writer_private/write_from_file_operation.cc base::Bind(&WriteFromFileOperation::Finish, this))))); base 16 chrome/browser/extensions/api/image_writer_private/write_from_file_operation.h WriteFromFileOperation(base::WeakPtr<OperationManager> manager, base 18 chrome/browser/extensions/api/image_writer_private/write_from_file_operation.h const base::FilePath& user_file_path, base 29 chrome/browser/extensions/api/image_writer_private/write_from_file_operation_unittest.cc base::DeleteFile(test_image_path_, false); base 40 chrome/browser/extensions/api/image_writer_private/write_from_file_operation_unittest.cc base::RunLoop().RunUntilIdle(); base 88 chrome/browser/extensions/api/image_writer_private/write_from_file_operation_unittest.cc base::RunLoop().RunUntilIdle(); base 94 chrome/browser/extensions/api/image_writer_private/write_from_file_operation_unittest.cc base::RunLoop().RunUntilIdle(); base 99 chrome/browser/extensions/api/image_writer_private/write_from_file_operation_unittest.cc base::RunLoop().RunUntilIdle(); base 18 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::WeakPtr<OperationManager> manager, base 36 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc GetDownloadTarget(base::Bind( base 39 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::Bind( base 42 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::Bind( base 45 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::Bind(&WriteFromUrlOperation::Write, base 47 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::Bind(&WriteFromUrlOperation::VerifyWrite, base 49 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::Bind(&WriteFromUrlOperation::Finish, base 54 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc const base::Closure& continuation) { base 61 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc if (!base::CreateTemporaryFileInDir(temp_dir_.path(), &image_path_)) { base 66 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::FilePath file_name = base 67 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::FilePath::FromUTF8Unsafe(url_.ExtractFileName()); base 74 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc void WriteFromUrlOperation::Download(const base::Closure& continuation) { base 95 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::Bind(&WriteFromUrlOperation::DestroyUrlFetcher, this)); base 133 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc download_continuation_ = base::Closure(); base 139 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc void WriteFromUrlOperation::VerifyDownload(const base::Closure& continuation) { base 159 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::Bind( base 164 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc const base::Closure& continuation, base 175 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc base::Bind( base 180 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc const base::Closure& continuation) { base 25 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h WriteFromUrlOperation(base::WeakPtr<OperationManager> manager, base 37 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h void GetDownloadTarget(const base::Closure& continuation); base 41 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h void Download(const base::Closure& continuation); base 45 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h void VerifyDownload(const base::Closure& continuation); base 62 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h void VerifyDownloadCompare(const base::Closure& continuation, base 64 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h void VerifyDownloadComplete(const base::Closure& continuation); base 73 chrome/browser/extensions/api/image_writer_private/write_from_url_operation.h base::Closure download_continuation_; base 31 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc OperationForTest(base::WeakPtr<OperationManager> manager_, base 47 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc void GetDownloadTarget(const base::Closure& continuation) { base 51 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc void Download(const base::Closure& continuation) { base 55 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc void VerifyDownload(const base::Closure& continuation) { base 60 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc void SetImagePath(const base::FilePath image_path) { base 64 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::FilePath GetImagePath() { return image_path_; } base 113 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc operation->GetDownloadTarget(base::Bind(&base::DoNothing)); base 125 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc operation->GetDownloadTarget(base::Bind(&base::DoNothing)); base 137 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::RunLoop runloop; base 138 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::Closure quit_closure = runloop.QuitClosure(); base 139 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::FilePath download_target_path; base 144 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::CreateTemporaryFileInDir(temp_dir_.path(), &download_target_path)); base 163 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::Bind(&OperationForTest::Download, operation, quit_closure)); base 167 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc EXPECT_TRUE(base::ContentsEqual(test_image_path_, operation->GetImagePath())); base 176 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::ReadFile(test_image_path_, data_buffer.get(), kTestFileSize); base 177 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::MD5Digest expected_digest; base 178 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::MD5Sum(data_buffer.get(), kTestFileSize, &expected_digest); base 179 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc std::string expected_hash = base::MD5DigestToBase16(expected_digest); base 200 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::Bind(&OperationForTest::VerifyDownload, base 202 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::Bind(&base::DoNothing))); base 204 chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc base::RunLoop().RunUntilIdle(); base 39 chrome/browser/extensions/api/input/input.cc base::string16 text; base 75 chrome/browser/extensions/api/input/input.cc base::Value* options_value = NULL; base 76 chrome/browser/extensions/api/input/input.cc base::DictionaryValue* params = NULL; base 141 chrome/browser/extensions/api/input/input.cc base::UserMetricsAction("VirtualKeyboardLoaded"); base 152 chrome/browser/extensions/api/input/input.cc base::DictionaryValue* results = new base::DictionaryValue(); base 168 chrome/browser/extensions/api/input/input.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<InputAPI> > g_factory = base 76 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args) { base 107 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args(input_ime::OnActivate::Create(engine_id)); base 117 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args( base 133 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args(input_ime::OnFocus::Create(context_value)); base 143 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args(input_ime::OnBlur::Create(context_id)); base 158 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args( base 199 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args( base 231 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args( base 247 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args( base 267 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args( base 280 chrome/browser/extensions/api/input_ime/input_ime_api.cc scoped_ptr<base::ListValue> args(input_ime::OnReset::Create(engine_id)); base 424 chrome/browser/extensions/api/input_ime/input_ime_api.cc std::string request_id = base::IntToString(next_request_id_); base 442 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue(false)); base 477 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue( base 488 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue(false)); base 497 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue( base 507 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue(false)); base 516 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue( base 578 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue(false)); base 587 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue(false)); base 637 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue(true)); base 647 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue(false)); base 674 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue( base 683 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue(false)); base 692 chrome/browser/extensions/api/input_ime/input_ime_api.cc SetResult(new base::FundamentalValue( base 798 chrome/browser/extensions/api/input_ime/input_ime_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<InputImeAPI> > base 36 chrome/browser/extensions/api/location/location_manager.cc class UpdatePolicy : public base::RefCounted<UpdatePolicy> { base 123 chrome/browser/extensions/api/location/location_manager.cc return (base::Time::Now() - last_update_time_).InMilliseconds() > base 128 chrome/browser/extensions/api/location/location_manager.cc last_update_time_ = base::Time::Now(); base 134 chrome/browser/extensions/api/location/location_manager.cc base::Time last_update_time_; base 145 chrome/browser/extensions/api/location/location_manager.cc : public base::RefCountedThreadSafe<LocationRequest, base 149 chrome/browser/extensions/api/location/location_manager.cc const base::WeakPtr<LocationManager>& location_manager, base 194 chrome/browser/extensions/api/location/location_manager.cc const base::WeakPtr<LocationManager> location_manager_; base 207 chrome/browser/extensions/api/location/location_manager.cc const base::WeakPtr<LocationManager>& location_manager, base 233 chrome/browser/extensions/api/location/location_manager.cc callback_ = base::Bind(&LocationRequest::OnLocationUpdate, base 234 chrome/browser/extensions/api/location/location_manager.cc base::Unretained(this)); base 239 chrome/browser/extensions/api/location/location_manager.cc base::Bind(&LocationRequest::AddObserverOnIOThread, base 271 chrome/browser/extensions/api/location/location_manager.cc base::Bind(&LocationManager::SendLocationUpdate, base 374 chrome/browser/extensions/api/location/location_manager.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 416 chrome/browser/extensions/api/location/location_manager.cc base::Bind(&LocationRequest::GrantPermission)); base 433 chrome/browser/extensions/api/location/location_manager.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<LocationManager> > base 39 chrome/browser/extensions/api/location/location_manager.h public base::SupportsWeakPtr<LocationManager> { base 25 chrome/browser/extensions/api/log_private/filter_handler.cc scoped_ptr<base::DictionaryValue> filter_value = filter.ToValue(); base 33 chrome/browser/extensions/api/log_private/log_parser.cc base::SplitString(input, '\n', &entries); base 57 chrome/browser/extensions/api/log_private/log_private_api.h void AddEntriesOnUI(scoped_ptr<base::ListValue> value); base 74 chrome/browser/extensions/api/log_private/log_private_api.h scoped_ptr<base::ListValue> pending_entries_; base 89 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::Bind(&LogPrivateAPI::MaybeStartNetInternalLogging, base 90 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::Unretained(this))); base 98 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<LogPrivateAPI> > base 110 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc pending_entries_.reset(new base::ListValue()); base 113 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::Bind(&LogPrivateAPI::PostPendingEntries, base::Unretained(this)), base 114 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::TimeDelta::FromMilliseconds(kNetLogEventDelayMilliseconds)); base 122 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::Bind(&LogPrivateAPI:: AddEntriesOnUI, base 123 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::Unretained(this), base 124 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::Passed(&pending_entries_))); base 127 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc void LogPrivateAPI::AddEntriesOnUI(scoped_ptr<base::ListValue> value) { base 133 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc scoped_ptr<base::ListValue> event_args(new base::ListValue()); base 155 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::Bind(&LogPrivateAPI:: StopNetInternalLogging, base 156 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::Unretained(this))); base 198 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc base::Bind(&LogPrivateGetHistoricalFunction::OnSystemLogsLoaded, this)); base 42 chrome/browser/extensions/api/log_private/syslog_parser.cc base::StringTokenizer tokenizer(input, " "); base 74 chrome/browser/extensions/api/log_private/syslog_parser.cc SyslogParser::Error ParseTimeHelper(base::StringTokenizer* tokenizer, base 86 chrome/browser/extensions/api/log_private/syslog_parser.cc base::StringTokenizer tokenizer(input, kLogEntryDelimiters); base 96 chrome/browser/extensions/api/log_private/syslog_parser.cc base::Time parsed_time; base 97 chrome/browser/extensions/api/log_private/syslog_parser.cc if (!base::Time::FromString(buffer.c_str(), &parsed_time)) { base 103 chrome/browser/extensions/api/log_private/syslog_parser.cc base::StringToDouble(tokens[5], &seconds); base 105 chrome/browser/extensions/api/log_private/syslog_parser.cc (seconds * base::Time::kMillisecondsPerSecond); base 113 chrome/browser/extensions/api/log_private/syslog_parser.cc base::StringTokenizer tokenizer(input, kProcessInfoDelimiters); base 124 chrome/browser/extensions/api/log_private/syslog_parser.cc if (base::StringToInt(token, &tmp)) { base 57 chrome/browser/extensions/api/management/management_api.cc using base::IntToString; base 87 chrome/browser/extensions/api/management/management_api.cc warnings_list.push_back(base::UTF16ToUTF8(iter->message())); base 304 chrome/browser/extensions/api/management/management_api.cc base::Bind(&SafeManifestJSONParser::StartWorkOnIOThread, this)); base 310 chrome/browser/extensions/api/management/management_api.cc this, base::MessageLoopProxy::current().get()); base 326 chrome/browser/extensions/api/management/management_api.cc void OnJSONParseSucceeded(const base::ListValue& wrapper) { base 328 chrome/browser/extensions/api/management/management_api.cc const base::Value* value = NULL; base 330 chrome/browser/extensions/api/management/management_api.cc if (value->IsType(base::Value::TYPE_DICTIONARY)) base 332 chrome/browser/extensions/api/management/management_api.cc static_cast<const base::DictionaryValue*>(value)->DeepCopy()); base 339 chrome/browser/extensions/api/management/management_api.cc base::Bind(&SafeManifestJSONParser::ReportResultFromUIThread, this)); base 348 chrome/browser/extensions/api/management/management_api.cc base::Bind(&SafeManifestJSONParser::ReportResultFromUIThread, this)); base 369 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<base::DictionaryValue> parsed_manifest_; base 393 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<base::DictionaryValue> parsed_manifest) { base 397 chrome/browser/extensions/api/management/management_api.cc base::FilePath(), Manifest::INVALID_LOCATION, *parsed_manifest, base 507 chrome/browser/extensions/api/management/management_api.cc base::Bind(&ManagementSetEnabledFunction::SendResponse, this, true)); base 707 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 709 chrome/browser/extensions/api/management/management_api.cc args->Append(new base::StringValue(extension->id())); base 738 chrome/browser/extensions/api/management/management_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<ManagementAPI> > base 79 chrome/browser/extensions/api/management/management_api.h void OnParseSuccess(scoped_ptr<base::DictionaryValue> parsed_manifest); base 126 chrome/browser/extensions/api/management/management_api_browsertest.cc base::StringPrintf("[\"%s\", {\"showConfirmDialog\": true}]", base 141 chrome/browser/extensions/api/management/management_api_browsertest.cc base::StringPrintf("[\"%s\", {\"showConfirmDialog\": true}]", id.c_str()), base 161 chrome/browser/extensions/api/management/management_api_browsertest.cc scoped_ptr<base::Value> result(util::RunFunctionAndReturnSingleResult( base 163 chrome/browser/extensions/api/management/management_api_browsertest.cc base::ListValue* list; base 185 chrome/browser/extensions/api/management/management_api_browsertest.cc base::FilePath pem_path = test_data_dir_. base 187 chrome/browser/extensions/api/management/management_api_browsertest.cc base::FilePath path_v1 = PackExtensionWithOptions( base 191 chrome/browser/extensions/api/management/management_api_browsertest.cc base::FilePath()); base 192 chrome/browser/extensions/api/management/management_api_browsertest.cc base::FilePath path_v2 = PackExtensionWithOptions( base 196 chrome/browser/extensions/api/management/management_api_browsertest.cc base::FilePath()); base 222 chrome/browser/extensions/api/management/management_api_browsertest.cc base::StringPrintf("[\"%s\", %s]", kId, enabled_string), base 235 chrome/browser/extensions/api/management/management_api_browsertest.cc base::ScopedTempDir scoped_temp_dir_; base 245 chrome/browser/extensions/api/management/management_api_browsertest.cc scoped_ptr<base::Value> result(util::RunFunctionAndReturnSingleResult( base 247 chrome/browser/extensions/api/management/management_api_browsertest.cc base::StringPrintf("[\"%s\"]", kId), base 250 chrome/browser/extensions/api/management/management_api_browsertest.cc ASSERT_TRUE(result->IsType(base::Value::TYPE_DICTIONARY)); base 251 chrome/browser/extensions/api/management/management_api_browsertest.cc base::DictionaryValue* dict = base 252 chrome/browser/extensions/api/management/management_api_browsertest.cc static_cast<base::DictionaryValue*>(result.get()); base 52 chrome/browser/extensions/api/management/management_apitest.cc base::FilePath basedir = test_data_dir_.AppendASCII("management"); base 82 chrome/browser/extensions/api/management/management_apitest.cc void LoadNamedExtension(const base::FilePath& path, base 89 chrome/browser/extensions/api/management/management_apitest.cc void InstallNamedExtension(const base::FilePath& path, base 105 chrome/browser/extensions/api/management/management_apitest.cc base::FilePath basedir = test_data_dir_.AppendASCII("management"); base 87 chrome/browser/extensions/api/management/management_browsertest.cc base::FilePath old_path = extension->path(); base 94 chrome/browser/extensions/api/management/management_browsertest.cc base::FilePath new_path = extension->path(); base 253 chrome/browser/extensions/api/management/management_browsertest.cc base::FilePath basedir = test_data_dir_.AppendASCII("autoupdate"); base 281 chrome/browser/extensions/api/management/management_browsertest.cc base::Bind(&NotificationListener::OnFinished, base 282 chrome/browser/extensions/api/management/management_browsertest.cc base::Unretained(¬ification_listener)); base 338 chrome/browser/extensions/api/management/management_browsertest.cc base::FilePath basedir = test_data_dir_.AppendASCII("autoupdate"); base 368 chrome/browser/extensions/api/management/management_browsertest.cc base::Bind(&NotificationListener::OnFinished, base 369 chrome/browser/extensions/api/management/management_browsertest.cc base::Unretained(¬ification_listener)); base 403 chrome/browser/extensions/api/management/management_browsertest.cc base::FilePath basedir = test_data_dir_.AppendASCII("autoupdate"); base 496 chrome/browser/extensions/api/management/management_browsertest.cc base::FilePath basedir = test_data_dir_.AppendASCII("autoupdate"); base 513 chrome/browser/extensions/api/management/management_browsertest.cc const base::DictionaryValue* forcelist = base 521 chrome/browser/extensions/api/management/management_browsertest.cc base::DictionaryValue* forcelist = pref_update.Get(); base 572 chrome/browser/extensions/api/management/management_browsertest.cc base::FilePath basedir = test_data_dir_.AppendASCII("autoupdate"); base 587 chrome/browser/extensions/api/management/management_browsertest.cc const base::DictionaryValue* forcelist = base 643 chrome/browser/extensions/api/management/management_browsertest.cc base::DictionaryValue* forcelist = pref_update.Get(); base 50 chrome/browser/extensions/api/mdns/mdns_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<MDnsAPI> > g_factory = base 93 chrome/browser/extensions/api/mdns/mdns_api.cc base::DictionaryValue* filter = ((*it)->filter.get()); base 104 chrome/browser/extensions/api/mdns/mdns_api.cc base::STLSetDifference<std::set<std::string> >( base 107 chrome/browser/extensions/api/mdns/mdns_api.cc base::STLSetDifference<std::set<std::string> >( base 142 chrome/browser/extensions/api/mdns/mdns_api.cc scoped_ptr<base::ListValue> results = mdns::OnServiceList::Create(args); base 72 chrome/browser/extensions/api/mdns/mdns_api.h base::ThreadChecker thread_checker_; base 94 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc bool Setup(Profile* profile, std::string* error, base::Closure callback) { base 124 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::ListValue* ConstructFileSystemList( base 145 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 147 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc scoped_ptr<base::DictionaryValue> file_system_dict_value( base 148 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc new base::DictionaryValue()); base 159 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::Uint64ToString(filesystems[i].pref_id)); base 206 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc public base::RefCounted<SelectDirectoryDialog> { base 209 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc typedef base::Callback<void(const base::FilePath&)> Callback; base 218 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc void Show(const base::FilePath& default_path) { base 226 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::FilePath::StringType(), base 232 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc virtual void FileSelected(const base::FilePath& path, base 239 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc virtual void MultiFilesSelected(const std::vector<base::FilePath>& files, base 245 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc callback_.Run(base::FilePath()); base 280 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc static base::LazyInstance< base 355 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc scoped_ptr<base::ListValue> event_args) { base 382 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc return Setup(GetProfile(), &error_, base::Bind( base 396 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc GetMediaFileSystemsForExtension(base::Bind( base 401 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc GetMediaFileSystemsForExtension(base::Bind( base 429 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc GetMediaFileSystemsForExtension(base::Bind( base 435 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc scoped_ptr<base::ListValue> list( base 458 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::Closure cb = base::Bind( base 481 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc return Setup(GetProfile(), &error_, base::Bind( base 504 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::Bind( base 508 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::Owned(device_ids))); base 517 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::ListValue* list = new base::ListValue(); base 525 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc metadata.name = base::UTF16ToUTF8(gallery.GetGalleryDisplayName()); base 526 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc metadata.gallery_id = base::Uint64ToString(gallery.pref_id); base 542 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc return Setup(GetProfile(), &error_, base::Bind( base 564 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc OnDirectorySelected(base::FilePath()); base 568 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::FilePath last_used_path = base 571 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc SelectDirectoryDialog::Callback callback = base::Bind( base 579 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc const base::FilePath& selected_directory) { base 582 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc GetMediaFileSystemsForExtension(base::Bind( base 601 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc GetMediaFileSystemsForExtension(base::Bind( base 610 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc scoped_ptr<base::ListValue> list( base 626 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::DictionaryValue* results = new base::DictionaryValue; base 655 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc return Setup(GetProfile(), &error_, base::Bind( base 683 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc return Setup(GetProfile(), &error_, base::Bind( base 704 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc return Setup(GetProfile(), &error_, base::Bind( base 712 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc const base::Closure& on_finish) { base 736 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::Closure cb = base::Bind( base 750 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::Bind(&MediaGalleriesAddScanResultsFunction::ReturnGalleries, base 756 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc scoped_ptr<base::ListValue> list( base 774 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc const base::Value* options_value = NULL; base 785 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc return Setup(GetProfile(), &error_, base::Bind( base 798 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::Bind(&MediaGalleriesGetMetadataFunction::SniffMimeType, this, base 829 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc parser->Start(base::Bind( base 834 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc bool parse_success, base::DictionaryValue* metadata_dictionary) { base 71 chrome/browser/extensions/api/media_galleries/media_galleries_api.h scoped_ptr<base::ListValue> event_args); base 85 chrome/browser/extensions/api/media_galleries/media_galleries_api.h base::WeakPtrFactory<MediaGalleriesEventRouter> weak_ptr_factory_; base 166 chrome/browser/extensions/api/media_galleries/media_galleries_api.h void OnDirectorySelected(const base::FilePath& selected_directory); base 226 chrome/browser/extensions/api/media_galleries/media_galleries_api.h const base::Closure& on_finish); base 259 chrome/browser/extensions/api/media_galleries/media_galleries_api.h bool parse_success, base::DictionaryValue* metadata_dictionary); base 56 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath::CharType kDevicePath[] = FILE_PATH_LITERAL("C:\\qux"); base 58 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath::CharType kDevicePath[] = FILE_PATH_LITERAL("/qux"); base 95 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc const base::Closure& on_finish) OVERRIDE { base 115 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::GetFileSize(GetCommonDataDir().AppendASCII("test.jpg"), base 117 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc test_jpg_size_ = base::checked_cast<int>(file_size); base 126 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue empty_list_value; base 131 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc const base::ListValue& custom_arg_value) { base 135 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath from_dir = base 139 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ScopedTempDir temp_dir; base 143 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc if (!base::CopyDirectory(from_dir, temp_dir.path(), true)) base 146 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath common_js_path( base 148 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath inject_js_path( base 151 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc if (!base::CopyFile(common_js_path, inject_js_path)) base 157 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::JSONWriter::Write(&custom_arg_value, &json_string); base 161 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::AutoReset<base::FilePath> reset(&test_data_dir_, temp_dir.path()); base 172 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc StorageInfo(device_id_, kDevicePath, base::ASCIIToUTF16(kDeviceName), base 173 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::string16(), base::string16(), 0)); base 229 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc void AddFileToSingleFakeGallery(const base::FilePath& source_path) { base 232 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CopyFile( base 238 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc void PopulatePicasaTestData(const base::FilePath& picasa_app_data_root) { base 239 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath picasa_database_path = base 241 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath picasa_temp_dir_path = base 243 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CreateDirectory(picasa_database_path)); base 244 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CreateDirectory(picasa_temp_dir_path)); base 247 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath folders_root = base 249 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath fake_folder_1 = folders_root.AppendASCII("folder1"); base 250 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath fake_folder_2 = folders_root.AppendASCII("folder2"); base 251 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CreateDirectory(fake_folder_1)); base 252 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CreateDirectory(fake_folder_2)); base 259 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath test_jpg_path = GetCommonDataDir().AppendASCII("test.jpg"); base 260 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CopyFile( base 262 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CopyFile( base 264 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CopyFile( base 270 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc void PopulateIPhotoTestData(const base::FilePath& iphoto_data_root) { base 351 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath test_jpg_path = GetCommonDataDir().AppendASCII("test.jpg"); base 352 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CreateDirectory(iphoto_data_root)); base 353 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath first_only_jpg = base 355 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath in_both_jpg = iphoto_data_root.AppendASCII("InBoth.jpg"); base 356 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CopyFile(test_jpg_path, first_only_jpg)); base 357 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CopyFile(test_jpg_path, in_both_jpg)); base 363 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath album_xml = iphoto_data_root.AppendASCII("AlbumData.xml"); base 364 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_NE(-1, base::WriteFile(album_xml, base 369 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::FilePath GetCommonDataDir() const { base 388 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc scan_manager->SetMediaFolderFinderFactory(base::Bind( base 392 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc void SetRootsForFolderFinder(const std::vector<base::FilePath>& roots) { base 395 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc scan_manager->SetMediaFolderFinderFactory(base::Bind( base 402 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc const std::vector<base::FilePath>& roots, base 413 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::RunLoop runloop; base 420 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ScopedTempDir fake_gallery_temp_dir_; base 436 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue custom_args; base 456 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue custom_args; base 480 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue custom_args; base 490 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue custom_args; base 511 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue custom_args; base 518 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ScopedTempDir custom_picasa_app_data_root; base 524 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue custom_args; base 536 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue custom_args; base 558 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ScopedTempDir scan_root; base 560 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc std::vector<base::FilePath> roots; base 574 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CreateDirectory(scan_root.path().AppendASCII("a/b"))); base 576 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::WriteFile(scan_root.path().AppendASCII("a/b/c.jpg"), base 578 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CreateDirectory(scan_root.path().AppendASCII("a/d"))); base 581 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::WriteFile(scan_root.path().AppendASCII("a/d/e.txt"), base 583 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc ASSERT_TRUE(base::CreateDirectory(scan_root.path().AppendASCII("f"))); base 585 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::WriteFile(scan_root.path().AppendASCII("f/g.jpg"), base 596 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue custom_args; base 597 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc custom_args.AppendInteger(base::checked_cast<int>(pref_id)); base 611 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc base::ListValue custom_args; base 38 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router, base 57 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc : public base::RefCounted<GalleryFilePathWatcher> { base 62 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router, base 64 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::FilePath& path, base 66 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::Closure& on_destroyed_callback); base 91 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc typedef std::map<std::string, base::Time> ExtensionWatchInfoMap; base 97 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc void OnFilePathChanged(const base::FilePath& path, bool error); base 104 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router_; base 110 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::FilePathWatcher file_watcher_; base 113 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::FilePath gallery_path_; base 116 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::Closure on_destroyed_callback_; base 122 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::WeakPtrFactory<GalleryFilePathWatcher> weak_ptr_factory_; base 128 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router, base 130 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::FilePath& path, base 132 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::Closure& on_destroyed_callback) base 147 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc extension_watch_info_map_[extension_id] = base::Time(); base 168 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::Bind(&GalleryFilePathWatcher::OnFilePathChanged, base 190 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::FilePath& path, base 206 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::TimeDelta diff = base::Time::Now() - iter->second; base 210 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc iter->second = base::Time::Now(); base 216 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::Bind(SendGalleryChangedEventOnUIThread, event_router_, base 280 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::FilePath& watch_path, base 282 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router) { base 290 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::FilePath& watch_path, base 319 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::FilePath& watch_path, base 321 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router) { base 334 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::Bind(&GalleryWatchManager::RemoveGalleryFilePathWatcherEntry, base 335 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc base::Unretained(this), base 344 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::FilePath& watch_path, base 357 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc std::list<base::FilePath> watchers_to_notify; base 362 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc for (std::list<base::FilePath>::const_iterator path = base 388 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.cc const base::FilePath& watch_path) { base 45 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.h const base::FilePath& watch_path, base 47 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.h base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router); base 53 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.h const base::FilePath& watch_path, base 62 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.h typedef std::map<base::FilePath, GalleryFilePathWatcher*> WatcherMap; base 74 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.h const base::FilePath& watch_path, base 76 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.h base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router); base 80 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.h void StopGalleryWatch(const base::FilePath& watch_path, base 91 chrome/browser/extensions/api/media_galleries_private/gallery_watch_manager.h void RemoveGalleryFilePathWatcherEntry(const base::FilePath& watch_path); base 38 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc const base::ListValue* list) { base 46 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc if (base::StringToUint64(gallery_id_str, &gallery_id)) base 53 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc scoped_ptr<base::ListValue> WatchedGalleryIdsToValue( base 56 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 59 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc list->AppendString(base::Uint64ToString(*id_iter)); base 202 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc base::Bind(&GalleryWatchStateTracker::ReadFromStorage, base 214 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc base::Bind(&GalleryWatchManager::OnExtensionUnloaded, base 234 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc WatchedGalleryIdsToValue(gallery_ids).PassAs<base::Value>()); base 239 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc scoped_ptr<base::Value> value) { base 243 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc base::ListValue* list = NULL; base 264 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc base::FilePath gallery_file_path(preferences->LookUpGalleryPathForExtension( base 274 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc base::Bind(&GalleryWatchManager::SetupGalleryWatch, base 280 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc base::Bind(&GalleryWatchStateTracker::HandleSetupGalleryWatchResponse, base 293 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc base::FilePath gallery_file_path(preferences->LookUpGalleryPathForExtension( base 299 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc base::Bind(&GalleryWatchManager::RemoveGalleryWatch, base 24 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h namespace base { base 36 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h public base::SupportsWeakPtr<GalleryWatchStateTracker>, base 100 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h scoped_ptr<base::Value> value); base 29 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc using base::DictionaryValue; base 30 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc using base::ListValue; base 60 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::FilePath* gallery_file_path, base 63 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc if (!base::StringToUint64(gallery_id, &pref_id)) base 67 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::FilePath file_path( base 100 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::Bind(&HandleProfileShutdownOnFileThread, profile_)); base 103 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc static base::LazyInstance< base 128 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc preferences->EnsureInitialized(base::Bind( base 175 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc preferences->EnsureInitialized(base::Bind( base 185 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::FilePath gallery_file_path; base 204 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::Bind(&GalleryWatchManager::SetupGalleryWatch, base 210 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::Bind(&MediaGalleriesPrivateAddGalleryWatchFunction::HandleResponse, base 225 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc result.gallery_id = base::Uint64ToString(gallery_id); base 262 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc preferences->EnsureInitialized(base::Bind( base 272 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::FilePath gallery_file_path; base 287 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::Bind(&GalleryWatchManager::RemoveGalleryWatch, base 315 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc preferences->EnsureInitialized(base::Bind( base 330 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc result.push_back(base::Uint64ToString(*iter)); base 353 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc preferences->EnsureInitialized(base::Bind( base 387 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::ListValue* result_list = new base::ListValue; base 407 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc base::DictionaryValue* handler = new base::DictionaryValue; base 75 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.h base::WeakPtrFactory<MediaGalleriesPrivateAPI> weak_ptr_factory_; base 47 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 22 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.h namespace base { base 29 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.h : public base::SupportsWeakPtr<MediaGalleriesPrivateEventRouter> { base 94 chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc host->GetMainFrame()->ExecuteJavaScript(base::ASCIIToUTF16(js_command)); base 104 chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc base::FilePath gallery_dir; base 107 chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc base::FilePath gallery_file = base 110 chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc int write_size = base::WriteFile(gallery_file, content.c_str(), base 29 chrome/browser/extensions/api/messaging/extension_message_port.cc const base::DictionaryValue& source_tab, base 27 chrome/browser/extensions/api/messaging/extension_message_port.h const base::DictionaryValue& source_tab, base 84 chrome/browser/extensions/api/messaging/incognito_connectability.cc base::string16(), // no title base 86 chrome/browser/extensions/api/messaging/incognito_connectability.cc base::UTF8ToUTF16(origin.spec()), base 87 chrome/browser/extensions/api/messaging/incognito_connectability.cc base::UTF8ToUTF16(extension->name())), base 117 chrome/browser/extensions/api/messaging/incognito_connectability.cc static base::LazyInstance< base 38 chrome/browser/extensions/api/messaging/message_property_provider.cc base::Bind(&MessagePropertyProvider::GetDomainBoundCertOnIOThread, base 39 chrome/browser/extensions/api/messaging/message_property_provider.cc base::MessageLoopProxy::current(), base 56 chrome/browser/extensions/api/messaging/message_property_provider.cc scoped_refptr<base::TaskRunner> original_task_runner, base 66 chrome/browser/extensions/api/messaging/message_property_provider.cc base::Bind(&MessagePropertyProvider::GotDomainBoundCert, base 68 chrome/browser/extensions/api/messaging/message_property_provider.cc base::Owned(output), base 83 chrome/browser/extensions/api/messaging/message_property_provider.cc scoped_refptr<base::TaskRunner> original_task_runner, base 87 chrome/browser/extensions/api/messaging/message_property_provider.cc base::Closure no_tls_channel_id_closure = base::Bind(reply, ""); base 92 chrome/browser/extensions/api/messaging/message_property_provider.cc base::StringPiece spki; base 97 chrome/browser/extensions/api/messaging/message_property_provider.cc base::DictionaryValue jwk_value; base 103 chrome/browser/extensions/api/messaging/message_property_provider.cc base::JSONWriter::Write(&jwk_value, &jwk_str); base 104 chrome/browser/extensions/api/messaging/message_property_provider.cc original_task_runner->PostTask(FROM_HERE, base::Bind(reply, jwk_str)); base 15 chrome/browser/extensions/api/messaging/message_property_provider.h namespace base { base 30 chrome/browser/extensions/api/messaging/message_property_provider.h typedef base::Callback<void(const std::string&)> DomainBoundCertCallback; base 43 chrome/browser/extensions/api/messaging/message_property_provider.h scoped_refptr<base::TaskRunner> original_task_runner, base 49 chrome/browser/extensions/api/messaging/message_property_provider.h scoped_refptr<base::TaskRunner> original_task_runner, base 81 chrome/browser/extensions/api/messaging/message_service.cc base::DictionaryValue source_tab; base 93 chrome/browser/extensions/api/messaging/message_service.cc scoped_ptr<base::DictionaryValue> source_tab, base 119 chrome/browser/extensions/api/messaging/message_service.cc static base::StaticAtomicSequenceNumber g_next_channel_id; base 120 chrome/browser/extensions/api/messaging/message_service.cc static base::StaticAtomicSequenceNumber g_channel_id_overflow_count; base 180 chrome/browser/extensions/api/messaging/message_service.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<MessageService> > base 297 chrome/browser/extensions/api/messaging/message_service.cc scoped_ptr<base::DictionaryValue> source_tab; base 328 chrome/browser/extensions/api/messaging/message_service.cc base::Bind(&MessageService::GotDomainBoundCert, base 330 chrome/browser/extensions/api/messaging/message_service.cc base::Passed(make_scoped_ptr(params)))); base 395 chrome/browser/extensions/api/messaging/message_service.cc base::WeakPtr<NativeMessageProcessHost::Client>( base 450 chrome/browser/extensions/api/messaging/message_service.cc scoped_ptr<base::DictionaryValue>(), // Source tab doesn't make sense base 523 chrome/browser/extensions/api/messaging/message_service.cc base::Bind(&MessageService::PendingLazyBackgroundPageCloseChannel, base 641 chrome/browser/extensions/api/messaging/message_service.cc base::Bind(&MessageService::PendingLazyBackgroundPagePostMessage, base 680 chrome/browser/extensions/api/messaging/message_service.cc base::Bind(&MessageService::PendingLazyBackgroundPageOpenChannel, base 682 chrome/browser/extensions/api/messaging/message_service.cc base::Passed(&scoped_params), base 26 chrome/browser/extensions/api/messaging/message_service.h namespace base { base 78 chrome/browser/extensions/api/messaging/message_service.h const base::DictionaryValue& source_tab, base 270 chrome/browser/extensions/api/messaging/message_service.h base::WeakPtrFactory<MessageService> weak_factory_; base 27 chrome/browser/extensions/api/messaging/native_message_port.cc base::Bind(&NativeMessageProcessHost::Send, base 28 chrome/browser/extensions/api/messaging/native_message_port.cc base::Unretained(native_process_), message.data)); base 69 chrome/browser/extensions/api/messaging/native_message_process_host.cc const base::ListValue* blacklist = base 75 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::StringValue name_value(native_host_name); base 76 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::StringValue wildcard_value("*"); base 85 chrome/browser/extensions/api/messaging/native_message_process_host.cc const base::ListValue* whitelist = base 95 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::WeakPtr<Client> weak_client_ui, base 106 chrome/browser/extensions/api/messaging/native_message_process_host.cc process_handle_(base::kNullProcessHandle), base 108 chrome/browser/extensions/api/messaging/native_message_process_host.cc read_file_(base::kInvalidPlatformFileValue), base 117 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::Bind(&NativeMessageProcessHost::LaunchHostProcess, base 118 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::Unretained(this))); base 129 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::WeakPtr<Client> weak_client_ui, base 143 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::WeakPtr<Client> weak_client_ui, base 162 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::Bind(&NativeMessageProcessHost::OnHostProcessLaunched, base 163 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::Unretained(this))); base 168 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::ProcessHandle process_handle, base 169 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::File read_file, base 170 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::File write_file) { base 196 chrome/browser/extensions/api/messaging/native_message_process_host.cc scoped_refptr<base::TaskRunner> task_runner( base 199 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); base 203 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::PLATFORM_FILE_READ | base::PLATFORM_FILE_ASYNC, NULL, base 207 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::PLATFORM_FILE_WRITE | base::PLATFORM_FILE_ASYNC, NULL, base 265 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 267 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::MessageLoopForIO::WATCH_READ, &read_watcher_, this); base 281 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::Bind(&NativeMessageProcessHost::OnRead, base::Unretained(this))); base 339 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::Bind(&Client::PostMessageFromNativeProcess, weak_client_ui_, base 363 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::Bind(&NativeMessageProcessHost::OnWritten, base 364 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::Unretained(this))); base 403 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::Bind(&Client::CloseChannel, weak_client_ui_, base 407 chrome/browser/extensions/api/messaging/native_message_process_host.cc if (process_handle_ != base::kNullProcessHandle) { base 413 chrome/browser/extensions/api/messaging/native_message_process_host.cc FROM_HERE, base::Bind(&base::EnsureProcessTerminated, process_handle_)); base 415 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::EnsureProcessTerminated(process_handle_); base 417 chrome/browser/extensions/api/messaging/native_message_process_host.cc process_handle_ = base::kNullProcessHandle; base 39 chrome/browser/extensions/api/messaging/native_message_process_host.h : public base::MessageLoopForIO::Watcher base 69 chrome/browser/extensions/api/messaging/native_message_process_host.h base::WeakPtr<Client> weak_client_ui, base 77 chrome/browser/extensions/api/messaging/native_message_process_host.h base::WeakPtr<Client> weak_client_ui, base 97 chrome/browser/extensions/api/messaging/native_message_process_host.h NativeMessageProcessHost(base::WeakPtr<Client> weak_client_ui, base 108 chrome/browser/extensions/api/messaging/native_message_process_host.h base::ProcessHandle process_handle, base 109 chrome/browser/extensions/api/messaging/native_message_process_host.h base::File read_file, base 110 chrome/browser/extensions/api/messaging/native_message_process_host.h base::File write_file); base 129 chrome/browser/extensions/api/messaging/native_message_process_host.h base::WeakPtr<Client> weak_client_ui_; base 148 chrome/browser/extensions/api/messaging/native_message_process_host.h base::ProcessHandle process_handle_; base 156 chrome/browser/extensions/api/messaging/native_message_process_host.h base::PlatformFile read_file_; base 157 chrome/browser/extensions/api/messaging/native_message_process_host.h base::MessageLoopForIO::FileDescriptorWatcher read_watcher_; base 51 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc FakeLauncher(base::File read_file, base::File write_file) base 56 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc static scoped_ptr<NativeProcessLauncher> Create(base::FilePath read_file, base 57 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::FilePath write_file) { base 58 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc int read_flags = base::File::FLAG_OPEN | base::File::FLAG_READ; base 59 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc int write_flags = base::File::FLAG_CREATE | base::File::FLAG_WRITE; base 61 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc read_flags |= base::File::FLAG_ASYNC; base 62 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc write_flags |= base::File::FLAG_ASYNC; base 65 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File(read_file, read_flags), base 66 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File(write_file, write_flags))); base 70 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File read_pipe, base 71 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::FilePath write_file) { base 72 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc int write_flags = base::File::FLAG_CREATE | base::File::FLAG_WRITE; base 74 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc write_flags |= base::File::FLAG_ASYNC; base 79 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File(write_file, write_flags))); base 86 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::kNullProcessHandle, base 91 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc mutable base::File read_file_; base 92 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc mutable base::File write_file_; base 97 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc public base::SupportsWeakPtr<NativeMessagingTest> { base 113 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::RunLoop().RunUntilIdle(); base 122 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::Value* parsed = base::JSONReader::Read(message); base 123 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::DictionaryValue* dict_value; base 151 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::FilePath CreateTempFileWithMessage(const std::string& message) { base 152 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::FilePath filename; base 153 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc if (!base::CreateTemporaryFileInDir(temp_dir_.path(), &filename)) base 154 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc return base::FilePath(); base 157 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc int bytes_written = base::WriteFile( base 161 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc return base::FilePath(); base 166 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::ScopedTempDir temp_dir_; base 170 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 173 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc scoped_ptr<base::DictionaryValue> last_message_parsed_; base 179 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::FilePath temp_output_file = temp_dir_.path().AppendASCII("output"); base 180 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::FilePath temp_input_file = CreateTempFileWithMessage(kTestMessage); base 189 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc run_loop_.reset(new base::RunLoop()); base 193 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc run_loop_.reset(new base::RunLoop()); base 203 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::FilePath temp_output_file = temp_dir_.path().AppendASCII("output"); base 205 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File read_file; base 207 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::string16 pipe_name = base::StringPrintf( base 208 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc L"\\\\.\\pipe\\chrome.nativeMessaging.out.%llx", base::RandUint64()); base 209 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File write_handle( base 215 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File read_handle( base 222 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::PlatformFile pipe_handles[2]; base 224 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc read_file = base::File(pipe_handles[0]); base 225 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File write_file(pipe_handles[1]); base 235 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::RunLoop().RunUntilIdle(); base 238 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::RunLoop().RunUntilIdle(); base 241 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 242 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc while (base::TimeTicks::Now() - start_time < TestTimeouts::action_timeout()) { base 243 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc ASSERT_TRUE(base::ReadFileToString(temp_output_file, &output)); base 246 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::PlatformThread::YieldCurrentThread(); base 264 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc run_loop_.reset(new base::RunLoop()); base 282 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc run_loop_.reset(new base::RunLoop()); base 302 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc run_loop_.reset(new base::RunLoop()); base 316 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc run_loop_.reset(new base::RunLoop()); base 42 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc const base::FilePath& file_path, base 47 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc scoped_ptr<base::Value> parsed(serializer.Deserialize(NULL, error_message)); base 52 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc base::DictionaryValue* dictionary; base 70 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc bool NativeMessagingHostManifest::Parse(base::DictionaryValue* dictionary, base 96 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc (path_ = base::FilePath::FromUTF8Unsafe(path)).empty()) { base 101 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc const base::ListValue* allowed_origins_list; base 108 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc for (base::ListValue::const_iterator it = allowed_origins_list->begin(); base 15 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.h namespace base { base 35 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.h const base::FilePath& file_path, base 41 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.h const base::FilePath& path() const { return path_; } base 49 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.h bool Parse(base::DictionaryValue* dictionary, std::string* error_message); base 54 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.h base::FilePath path_; base 40 chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc " \"path\": " + base::GetQuotedJSONString(path) + "," base 49 chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc return base::WriteFile( base 53 chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc base::ScopedTempDir temp_dir_; base 54 chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc base::FilePath manifest_path_; base 85 chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc EXPECT_EQ(manifest->path(), base::FilePath::FromUTF8Unsafe(kTestHostPath)); base 23 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc : policy::TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), base 38 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc scoped_ptr<base::ListValue> list; base 51 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc scoped_ptr<base::ListValue>* names) { base 52 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc const base::Value* value = NULL; base 59 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc const base::ListValue* list_value = NULL; base 66 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc scoped_ptr<base::ListValue> filtered_list(new base::ListValue()); base 67 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc for (base::ListValue::const_iterator entry(list_value->begin()); base 74 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc ValueTypeToString(base::Value::TYPE_STRING)); base 84 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc filtered_list->Append(new base::StringValue(name)); base 41 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h scoped_ptr<base::ListValue>* extension_ids); base 20 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc base::ListValue list; base 36 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc list.Append(new base::StringValue("test.a.b")); base 48 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc list.Append(new base::StringValue("*")); base 60 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc list.Append(new base::StringValue("invalid Name")); base 76 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc base::ListValue policy; base 77 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc base::ListValue expected; base 80 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc base::Value* value = NULL; base 84 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy.Append(new base::StringValue("com.example.test")); base 85 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc expected.Append(new base::StringValue("com.example.test")); base 94 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 96 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy.Append(new base::StringValue("*")); base 97 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc expected.Append(new base::StringValue("*")); base 106 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 108 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy.Append(new base::StringValue("invalid Name")); base 116 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 25 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc void WriteTestNativeHostManifest(base::FilePath manifest_path) { base 26 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc scoped_ptr<base::DictionaryValue> manifest(new base::DictionaryValue()); base 31 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc base::FilePath test_user_data_dir; base 36 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc base::FilePath host_path = test_user_data_dir.AppendASCII("echo.py"); base 38 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc base::FilePath host_path = test_user_data_dir.AppendASCII("echo.bat"); base 42 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc scoped_ptr<base::ListValue> origins(new base::ListValue()); base 43 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc origins->AppendString(base::StringPrintf( base 63 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc base::FilePath manifest_path = temp_dir_.path().AppendASCII( base 70 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc base::string16 key = L"SOFTWARE\\Google\\Chrome\\NativeMessagingHosts\\" + base 71 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc base::UTF8ToUTF16(kHostName); base 72 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc base::win::RegKey manifest_key( base 78 chrome/browser/extensions/api/messaging/native_messaging_test_util.cc path_override_.reset(new base::ScopedPathOverride( base 30 chrome/browser/extensions/api/messaging/native_messaging_test_util.h base::ScopedTempDir temp_dir_; base 35 chrome/browser/extensions/api/messaging/native_messaging_test_util.h scoped_ptr<base::ScopedPathOverride> path_override_; base 49 chrome/browser/extensions/api/messaging/native_process_launcher.cc class Core : public base::RefCountedThreadSafe<Core> { base 66 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::ProcessHandle process_handle, base 67 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file, base 68 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file); base 71 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::ProcessHandle process_handle, base 72 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file, base 73 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file); base 111 chrome/browser/extensions/api/messaging/native_process_launcher.cc FROM_HERE, base::Bind(&Core::DoLaunchOnThreadPool, this, base 127 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::FilePath manifest_path = base 161 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::FilePath host_path = manifest->path(); base 182 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::Int64ToString(window_handle_)); base 185 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::ProcessHandle process_handle; base 186 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file; base 187 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file; base 199 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::ProcessHandle process_handle, base 200 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file, base 201 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file) { base 214 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::Bind(&NativeProcessLauncherImpl::Core::CallCallbackOnIOThread, this, base 215 chrome/browser/extensions/api/messaging/native_process_launcher.cc callback, error, base::kNullProcessHandle, base 216 chrome/browser/extensions/api/messaging/native_process_launcher.cc Passed(base::File()), Passed(base::File()))); base 221 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::ProcessHandle process_handle, base 222 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file, base 223 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file) { base 226 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::Bind(&NativeProcessLauncherImpl::Core::CallCallbackOnIOThread, this, base 16 chrome/browser/extensions/api/messaging/native_process_launcher.h namespace base { base 36 chrome/browser/extensions/api/messaging/native_process_launcher.h typedef base::Callback<void(LaunchResult result, base 37 chrome/browser/extensions/api/messaging/native_process_launcher.h base::ProcessHandle process_handle, base 38 chrome/browser/extensions/api/messaging/native_process_launcher.h base::File read_file, base 39 chrome/browser/extensions/api/messaging/native_process_launcher.h base::File write_file)> LaunchedCallback; base 65 chrome/browser/extensions/api/messaging/native_process_launcher.h static base::FilePath FindManifest(const std::string& native_host_name, base 70 chrome/browser/extensions/api/messaging/native_process_launcher.h static bool LaunchNativeProcess(const base::CommandLine& command_line, base 71 chrome/browser/extensions/api/messaging/native_process_launcher.h base::ProcessHandle* process_handle, base 72 chrome/browser/extensions/api/messaging/native_process_launcher.h base::File* read_file, base 73 chrome/browser/extensions/api/messaging/native_process_launcher.h base::File* write_file); base 20 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::FilePath FindManifestInDir(int dir_key, const std::string& host_name) { base 21 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::FilePath base_path; base 23 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::FilePath path = base_path.Append(host_name + ".json"); base 24 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc if (base::PathExists(path)) base 27 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc return base::FilePath(); base 33 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::FilePath NativeProcessLauncher::FindManifest( base 37 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::FilePath result; base 52 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::ProcessHandle* process_handle, base 53 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::File* read_file, base 54 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::File* write_file) { base 55 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::FileHandleMappingVector fd_map; base 62 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::ScopedFD read_pipe_read_fd(read_pipe_fds[0]); base 63 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::ScopedFD read_pipe_write_fd(read_pipe_fds[1]); base 71 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::ScopedFD write_pipe_read_fd(write_pipe_fds[0]); base 72 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::ScopedFD write_pipe_write_fd(write_pipe_fds[1]); base 75 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::LaunchOptions options; base 77 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc if (!base::LaunchProcess(command_line, options, process_handle)) { base 86 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc *read_file = base::File(read_pipe_read_fd.release()); base 87 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc *write_file = base::File(write_pipe_write_fd.release()); base 32 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc const base::string16& host_name, base 33 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::string16* result) { base 34 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::win::RegKey key; base 48 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc const base::string16& host_name, base 49 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::string16* result) { base 60 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::FilePath NativeProcessLauncher::FindManifest( base 64 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::string16 host_name_wide = base::UTF8ToUTF16(host_name); base 67 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::string16 path_str; base 77 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc return base::FilePath(); base 80 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::FilePath manifest_path(path_str); base 83 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc return base::FilePath(); base 92 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::ProcessHandle* process_handle, base 93 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::File* read_file, base 94 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::File* write_file) { base 109 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::string16 out_pipe_name = base::StringPrintf( base 111 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::string16 in_pipe_name = base::StringPrintf( base 115 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::win::ScopedHandle stdout_pipe( base 126 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::win::ScopedHandle stdin_pipe( base 145 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::string16 command_line_string = command_line.GetCommandLineString(); base 147 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::string16 command = base::StringPrintf( base 152 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::LaunchOptions options; base 154 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::win::ScopedHandle cmd_handle; base 155 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc if (!base::LaunchProcess(command.c_str(), options, &cmd_handle)) { base 166 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::KillProcess(cmd_handle.Get(), 0, false); base 173 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc *read_file = base::File(stdout_pipe.Take()); base 174 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc *write_file = base::File(stdin_pipe.Take()); base 32 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::HistogramType type; base 38 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.h.1", base::HISTOGRAM, 1, 100, 50, 1}, // custom base 39 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.h.2", base::LINEAR_HISTOGRAM, 1, 200, 50, 1}, // custom base 40 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.h.3", base::LINEAR_HISTOGRAM, 1, 101, 102, 2}, // percentage base 41 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.sparse.1", base::SPARSE_HISTOGRAM, 0, 0, 0, 1}, base 42 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.sparse.2", base::SPARSE_HISTOGRAM, 0, 0, 0, 2}, base 43 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.sparse.3", base::SPARSE_HISTOGRAM, 0, 0, 0, 6}, base 44 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.time", base::HISTOGRAM, 1, 10000, 50, 1}, base 45 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.medium.time", base::HISTOGRAM, 1, 180000, 50, 1}, base 46 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.long.time", base::HISTOGRAM, 1, 3600000, 50, 1}, base 47 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.count", base::HISTOGRAM, 1, 1000000, 50, 1}, base 48 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.medium.count", base::HISTOGRAM, 1, 10000, 50, 1}, base 49 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.small.count", base::HISTOGRAM, 1, 100, 50, 1}, base 50 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.bucketchange.linear", base::LINEAR_HISTOGRAM, 1, 100, 10, 2}, base 51 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc {"test.bucketchange.log", base::HISTOGRAM, 1, 100, 10, 2}, }; base 94 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::ActionCallback action_callback_; base 100 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc : action_callback_(base::Bind(&UserActionObserver::OnUserAction, base 101 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::Unretained(this))) { base 102 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::AddActionCallback(action_callback_); base 106 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::RemoveActionCallback(action_callback_); base 123 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc const base::HistogramSamples& samples) { base 137 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::StatisticsRecorder::Histograms histograms; base 138 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::StatisticsRecorder::GetHistograms(&histograms); base 148 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::HistogramBase* histogram(histograms[j]); base 150 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc scoped_ptr<base::HistogramSamples> snapshot = base 152 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::HistogramBase::Count sample_count = snapshot->TotalCount(); base 156 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc if (r.type == base::SPARSE_HISTOGRAM) { base 174 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc base::FieldTrialList::CreateFieldTrial("apitestfieldtrial2", "group1"); base 43 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc SetResult(new base::FundamentalValue( base 52 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc SetResult(new base::StringValue(base::FieldTrialList::FindFullName(name))); base 83 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc base::HistogramType type, base 99 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc base::HistogramBase* counter; base 100 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc if (type == base::LINEAR_HISTOGRAM) { base 101 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc counter = base::LinearHistogram::FactoryGet( base 103 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 105 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc counter = base::Histogram::FactoryGet( base 107 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 125 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc base::HistogramType histogram_type(type == "histogram-linear" ? base 126 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc base::LINEAR_HISTOGRAM : base::HISTOGRAM); base 146 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc return RecordValue(params->metric_name, base::LINEAR_HISTOGRAM, base 153 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc return RecordValue(params->metric_name, base::HISTOGRAM, base 161 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc return RecordValue(params->metric_name, base::HISTOGRAM, base 169 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc return RecordValue(params->metric_name, base::HISTOGRAM, base 177 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc return RecordValue(params->metric_name, base::HISTOGRAM, base 186 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc return RecordValue(params->metric_name, base::HISTOGRAM, base 195 chrome/browser/extensions/api/metrics_private/metrics_private_api.cc return RecordValue(params->metric_name, base::HISTOGRAM, base 68 chrome/browser/extensions/api/metrics_private/metrics_private_api.h base::HistogramType type, base 50 chrome/browser/extensions/api/module/module.cc extension_id(), extension::kUpdateURLData, new base::StringValue(data)); base 55 chrome/browser/extensions/api/module/module.cc SetResult(new base::FundamentalValue( base 61 chrome/browser/extensions/api/module/module.cc SetResult(new base::FundamentalValue( base 27 chrome/browser/extensions/api/music_manager_private/device_id.cc *signature_return = StringToLowerASCII(base::HexEncode(digest.data(), base 187 chrome/browser/extensions/api/music_manager_private/device_id.cc GetRawDeviceId(base::Bind(&GetRawDeviceIdCallback, extension_id, callback)); base 17 chrome/browser/extensions/api/music_manager_private/device_id.h typedef base::Callback<void(const std::string&)> IdCallback; base 27 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc typedef base::Callback<bool(const void* bytes, size_t size)> base 43 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc typedef std::map<base::FilePath, base::FilePath> DiskEntries; base 46 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::ThreadRestrictions::AssertIOAllowed(); base 49 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::FileEnumerator files(base::FilePath(kDiskByUuidDirectoryName), base 51 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::FileEnumerator::FILES); base 53 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::FilePath file_path = files.Next(); base 57 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::FilePath target_path; base 58 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc if (!base::ReadSymbolicLink(file_path, &target_path)) base 61 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::FilePath device_name = target_path.BaseName(); base 62 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::FilePath disk_uuid = file_path.BaseName(); base 70 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc disk_uuids.find(base::FilePath(kDeviceNames[i])); base 127 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc StringToLowerASCII(base::HexEncode(mac_address, MAC_LENGTH)); base 150 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::ThreadRestrictions::AssertIOAllowed(); base 172 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::ThreadRestrictions::AssertIOAllowed(); base 185 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::Bind(callback, raw_device_id)); base 200 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::Bind(GetRawDeviceIdImpl, base 201 chrome/browser/extensions/api/music_manager_private/device_id_linux.cc base::Bind(DeviceId::IsValidMacAddress), base 32 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc typedef base::Callback<bool(const void* bytes, size_t size)> base 62 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::ScopedCFTypeRef<DASessionRef> session(DASessionCreate(allocator)); base 68 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::ScopedCFTypeRef<DADiskRef> disk( base 75 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::ScopedCFTypeRef<CFDictionaryRef> disk_description( base 82 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc CFUUIDRef volume_uuid = base::mac::GetValueFromDictionary<CFUUIDRef>( base 90 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::ScopedCFTypeRef<CFStringRef> volume_uuid_string( base 97 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc return base::SysCFStringRefToUTF8(volume_uuid_string.get()); base 102 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::ThreadRestrictions::AssertIOAllowed(); base 122 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::ScopedCFTypeRef<CFDataRef> mac_address_data( base 137 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc StringToLowerASCII(base::HexEncode(mac_address, mac_address_size)); base 139 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::ScopedCFTypeRef<CFStringRef> provider_class( base 169 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::ThreadRestrictions::AssertIOAllowed(); base 193 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::mac::ScopedIOObject<io_iterator_t> iterator(iterator_ref); base 209 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::mac::ScopedIOObject<io_object_t> controller_service( base 222 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::ThreadRestrictions::AssertIOAllowed(); base 233 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::Bind(callback, raw_device_id)); base 248 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::Bind(GetRawDeviceIdImpl, base 249 chrome/browser/extensions/api/music_manager_private/device_id_mac.cc base::Bind(DeviceId::IsValidMacAddress), base 35 chrome/browser/extensions/api/music_manager_private/device_id_win.cc typedef base::Callback<bool(const void* bytes, size_t size)> base 79 chrome/browser/extensions/api/music_manager_private/device_id_win.cc found_mac_address_ = StringToLowerASCII(base::HexEncode(bytes, size)); base 90 chrome/browser/extensions/api/music_manager_private/device_id_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 126 chrome/browser/extensions/api/music_manager_private/device_id_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 129 chrome/browser/extensions/api/music_manager_private/device_id_win.cc base::ScopedNativeLibrary library(base::FilePath(L"Iphlpapi.dll")); base 164 chrome/browser/extensions/api/music_manager_private/device_id_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 180 chrome/browser/extensions/api/music_manager_private/device_id_win.cc base::Bind(callback, mac_address)); base 218 chrome/browser/extensions/api/music_manager_private/device_id_win.cc base::Bind(GetMacAddress, base 219 chrome/browser/extensions/api/music_manager_private/device_id_win.cc base::Bind(DeviceId::IsValidMacAddress), base 220 chrome/browser/extensions/api/music_manager_private/device_id_win.cc base::Bind(GetMacAddressCallback, callback))); base 33 chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc base::Bind( base 47 chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc SetResult(new base::StringValue(device_id)); base 35 chrome/browser/extensions/api/networking_private/networking_private_api.h const base::DictionaryValue& result); base 37 chrome/browser/extensions/api/networking_private/networking_private_api.h scoped_ptr<base::DictionaryValue> error_data); base 58 chrome/browser/extensions/api/networking_private/networking_private_api.h const base::DictionaryValue& result); base 60 chrome/browser/extensions/api/networking_private/networking_private_api.h scoped_ptr<base::DictionaryValue> error_data); base 80 chrome/browser/extensions/api/networking_private/networking_private_api.h const base::DictionaryValue& result); base 82 chrome/browser/extensions/api/networking_private/networking_private_api.h scoped_ptr<base::DictionaryValue> error_data); base 103 chrome/browser/extensions/api/networking_private/networking_private_api.h const scoped_ptr<base::DictionaryValue> error_data); base 124 chrome/browser/extensions/api/networking_private/networking_private_api.h const scoped_ptr<base::DictionaryValue> error_data); base 144 chrome/browser/extensions/api/networking_private/networking_private_api.h void ResultCallback(const base::ListValue& network_list); base 243 chrome/browser/extensions/api/networking_private/networking_private_api.h const scoped_ptr<base::DictionaryValue> error_data); base 269 chrome/browser/extensions/api/networking_private/networking_private_api.h const scoped_ptr<base::DictionaryValue> error_data); base 354 chrome/browser/extensions/api/networking_private/networking_private_api.h scoped_ptr<base::DictionaryValue> error_data); base 376 chrome/browser/extensions/api/networking_private/networking_private_api.h scoped_ptr<base::DictionaryValue> error_data); base 89 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateGetPropertiesFunction::GetPropertiesSuccess, base 91 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateGetPropertiesFunction::GetPropertiesFailed, base 98 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc const base::DictionaryValue& dictionary) { base 99 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::DictionaryValue* network_properties = dictionary.DeepCopy(); base 108 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc scoped_ptr<base::DictionaryValue> error_data) { base 131 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateGetManagedPropertiesFunction::Success, base 133 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateGetManagedPropertiesFunction::Failure, base 140 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc const base::DictionaryValue& dictionary) { base 141 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::DictionaryValue* network_properties = dictionary.DeepCopy(); base 150 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc scoped_ptr<base::DictionaryValue> error_data) { base 176 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc scoped_ptr<base::DictionaryValue> result_dict(new base::DictionaryValue); base 178 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc scoped_ptr<base::DictionaryValue> onc_network_part = base 199 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc scoped_ptr<base::DictionaryValue> properties_dict( base 205 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateSetPropertiesFunction::ResultCallback, base 207 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateSetPropertiesFunction::ErrorCallback, base 214 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc const scoped_ptr<base::DictionaryValue> error_data) { base 239 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc scoped_ptr<base::DictionaryValue> properties_dict( base 246 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateCreateNetworkFunction::ResultCallback, base 248 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateCreateNetworkFunction::ErrorCallback, base 255 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc const scoped_ptr<base::DictionaryValue> error_data) { base 284 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::ListValue* network_properties_list = new base::ListValue; base 289 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::DictionaryValue shill_dictionary; base 292 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc scoped_ptr<base::DictionaryValue> onc_network_part = base 324 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::ListValue* network_list = new base::ListValue; base 440 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc const scoped_ptr<base::DictionaryValue> error_data) { base 453 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 456 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 476 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc const scoped_ptr<base::DictionaryValue> error_data) { base 488 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 491 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 514 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 517 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 555 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 558 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 594 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 597 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind( base 635 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateSetWifiTDLSEnabledStateFunction::Success, base 637 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateSetWifiTDLSEnabledStateFunction::Failure, base 651 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc scoped_ptr<base::DictionaryValue> error_data) { base 673 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateGetWifiTDLSStatusFunction::Success, base 675 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc base::Bind(&NetworkingPrivateGetWifiTDLSStatusFunction::Failure, base 689 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc scoped_ptr<base::DictionaryValue> error_data) { base 717 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc SetResult(new base::StringValue( base 43 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateGetPropertiesFunction::GetPropertiesSuccess, base 45 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateGetPropertiesFunction::GetPropertiesFailed, base 52 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc const base::DictionaryValue& dictionary) { base 59 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc scoped_ptr<base::DictionaryValue> error_data) { base 80 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateGetManagedPropertiesFunction::Success, base 82 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateGetManagedPropertiesFunction::Failure, base 89 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc const base::DictionaryValue& dictionary) { base 90 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc scoped_ptr<base::DictionaryValue> network_properties(dictionary.DeepCopy()); base 99 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc scoped_ptr<base::DictionaryValue> error_data) { base 120 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateGetStateFunction::Success, base 122 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateGetStateFunction::Failure, base 129 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc const base::DictionaryValue& dictionary) { base 136 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc scoped_ptr<base::DictionaryValue> error_data) { base 152 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc scoped_ptr<base::DictionaryValue> properties_dict( base 161 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateSetPropertiesFunction::ResultCallback, this), base 162 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateSetPropertiesFunction::ErrorCallback, this)); base 172 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc const scoped_ptr<base::DictionaryValue> error_data) { base 188 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc scoped_ptr<base::DictionaryValue> properties_dict( base 197 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateCreateNetworkFunction::ResultCallback, this), base 198 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateCreateNetworkFunction::ErrorCallback, this)); base 204 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc const scoped_ptr<base::DictionaryValue> error_data) { base 232 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateGetVisibleNetworksFunction::ResultCallback, base 239 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc const base::ListValue& network_list) { base 252 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::ListValue* network_list = new base::ListValue; base 253 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc network_list->Append(new base::StringValue(onc::network_type::kWiFi)); base 315 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateStartConnectFunction::ConnectionStartSuccess, base 317 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind(&NetworkingPrivateStartConnectFunction::ConnectionStartFailed, base 328 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc const scoped_ptr<base::DictionaryValue> error_data) { base 348 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind( base 351 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind( base 363 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc const scoped_ptr<base::DictionaryValue> error_data) { base 382 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind( base 385 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind( base 392 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc SetResult(new base::FundamentalValue(result)); base 417 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind( base 420 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind( base 428 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc SetResult(new base::StringValue(result)); base 454 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind( base 457 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc base::Bind( base 465 chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc SetResult(new base::StringValue(result)); base 73 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc virtual void VerifyDestination(scoped_ptr<base::ListValue> args, base 80 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc scoped_ptr<base::ListValue> args, base 86 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc virtual void VerifyAndEncryptData(scoped_ptr<base::ListValue> args, base 148 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::Bind(&AssignString, &userhash_)); base 187 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue(ShillProfileClient::GetSharedProfilePath())); base 196 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue(shill::kSecurityWep)); base 199 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue(kUser1ProfilePath)); base 201 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::ListValue frequencies1; base 208 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::FundamentalValue(2400)); base 215 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue("stub_wifi2")); base 218 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue(shill::kSecurityPsk)); base 221 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::FundamentalValue(80)); base 224 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::FundamentalValue(true)); base 226 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::ListValue frequencies2; base 234 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::FundamentalValue(5000)); base 237 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue(kUser1ProfilePath)); base 246 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue(shill::kNetworkTechnologyGsm)); base 250 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue(shill::kActivationStateNotActivated)); base 254 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue(shill::kRoamingStateHome)); base 375 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::StringValue(uidata_blob)); base 378 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc base::FundamentalValue(false)); base 407 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc new base::StringValue(user_policy_blob), base 68 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc base::Base64Encode(std::string(ciphertext.begin(), ciphertext.end()), base 80 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_win.cc base::Base64Encode(std::string(key_data.begin(), key_data.end()), base 96 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_win.cc UtilityProcessHost::Create(this, base::MessageLoopProxy::current()); base 135 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_win.cc base::Bind(&CredentialsGetterHostClient::StartProcessOnIOThread, base 154 chrome/browser/extensions/api/networking_private/networking_private_event_router_chromeos.cc scoped_ptr<base::ListValue> args( base 172 chrome/browser/extensions/api/networking_private/networking_private_event_router_chromeos.cc scoped_ptr<base::ListValue> args( base 132 chrome/browser/extensions/api/networking_private/networking_private_event_router_nonchromeos.cc scoped_ptr<base::ListValue> args( base 144 chrome/browser/extensions/api/networking_private/networking_private_event_router_nonchromeos.cc scoped_ptr<base::ListValue> args( base 41 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc if (!base::Base64Decode(properties.signed_data, &signed_data)) base 50 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc virtual void VerifyDestination(scoped_ptr<base::ListValue> args, base 59 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::ListValue> args, base 71 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc if (!base::Base64Decode(params->properties.public_key, &public_key)) { base 86 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc virtual void VerifyAndEncryptData(scoped_ptr<base::ListValue> args, base 98 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc if (!base::Base64Decode(params->properties.public_key, &public_key)) { base 111 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Base64Encode(std::string(ciphertext.begin(), ciphertext.end()), base 129 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_refptr<base::MessageLoopProxy> callback_loop_proxy, base 133 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(callback, key_data, error)); base 149 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 152 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind( base 154 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 158 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind( base 160 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 161 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::MessageLoopProxy::current(), base 162 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind( base 165 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind( base 197 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&ShutdownServicesOnWorkerThread, base 198 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Passed(&wifi_service_), base 199 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Passed(&crypto_verify_))); base 214 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::RequestConnectedNetworkUpdate, base 215 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()))); base 238 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::DictionaryValue* properties = new base::DictionaryValue(); base 243 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::GetProperties, base 244 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 248 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterGetProperties, base 252 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(properties), base 253 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(error))); base 264 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::DictionaryValue* properties = new base::DictionaryValue(); base 269 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::GetManagedProperties, base 270 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 274 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterGetProperties, base 278 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(properties), base 279 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(error))); base 290 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::DictionaryValue* properties = new base::DictionaryValue(); base 295 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::GetState, base 296 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 300 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterGetProperties, base 304 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(properties), base 305 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(error))); base 314 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::ListValue* networks = new base::ListValue(); base 318 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::GetVisibleNetworks, base 319 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 322 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterGetVisibleNetworks, base 325 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(networks))); base 331 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::RequestNetworkScan, base 332 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()))); base 337 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc const base::DictionaryValue& properties, base 338 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc const base::Closure& callback, base 344 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::DictionaryValue> properties_ptr(properties.DeepCopy()); base 349 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::SetProperties, base 350 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 352 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Passed(&properties_ptr), base 354 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterSetProperties, base 357 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(error))); base 362 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc const base::DictionaryValue& properties, base 369 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::DictionaryValue> properties_ptr(properties.DeepCopy()); base 375 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::CreateNetwork, base 376 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 378 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Passed(&properties_ptr), base 381 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterCreateNetwork, base 384 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(network_guid), base 385 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(error))); base 390 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc const base::Closure& callback, base 400 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::StartConnect, base 401 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 404 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterStartConnect, base 407 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(error))); base 412 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc const base::Closure& callback, base 422 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&WiFiService::StartDisconnect, base 423 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(wifi_service_.get()), base 426 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterStartDisconnect, base 429 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(error))); base 433 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::ListValue> args, base 445 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&CryptoVerify::VerifyDestination, base 446 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(crypto_verify_.get()), base 447 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Passed(&args), base 450 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterVerifyDestination, base 453 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(result), base 454 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(error))); base 458 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::ListValue> args, base 465 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc CryptoVerify::VerifyAndEncryptCredentialsCallback callback_relay(base::Bind( base 467 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind( base 471 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::MessageLoopProxy::current())); base 474 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&CryptoVerify::VerifyAndEncryptCredentials, base 475 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(crypto_verify_.get()), base 476 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Passed(&args), base 481 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::ListValue> args, base 493 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&CryptoVerify::VerifyAndEncryptData, base 494 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Unretained(crypto_verify_.get()), base 495 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Passed(&args), base 498 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Bind(&NetworkingPrivateServiceClient::AfterVerifyAndEncryptData, base 501 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(result), base 502 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc base::Owned(error))); base 508 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc const base::DictionaryValue* properties, base 515 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::DictionaryValue>()); base 525 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc const base::ListValue* networks) { base 541 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::DictionaryValue>()); base 558 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::DictionaryValue>()); base 574 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::DictionaryValue>()); base 590 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc scoped_ptr<base::DictionaryValue>()); base 26 chrome/browser/extensions/api/networking_private/networking_private_service_client.h namespace base { base 49 chrome/browser/extensions/api/networking_private/networking_private_service_client.h typedef base::Callback< base 58 chrome/browser/extensions/api/networking_private/networking_private_service_client.h virtual void VerifyDestination(scoped_ptr<base::ListValue> args, base 63 chrome/browser/extensions/api/networking_private/networking_private_service_client.h scoped_ptr<base::ListValue> args, base 66 chrome/browser/extensions/api/networking_private/networking_private_service_client.h virtual void VerifyAndEncryptData(scoped_ptr<base::ListValue> args, base 90 chrome/browser/extensions/api/networking_private/networking_private_service_client.h typedef base::Callback< base 92 chrome/browser/extensions/api/networking_private/networking_private_service_client.h scoped_ptr<base::DictionaryValue> error_data)> ErrorCallback; base 98 chrome/browser/extensions/api/networking_private/networking_private_service_client.h typedef base::Callback< base 103 chrome/browser/extensions/api/networking_private/networking_private_service_client.h typedef base::Callback<void(bool result)> BoolResultCallback; base 106 chrome/browser/extensions/api/networking_private/networking_private_service_client.h typedef base::Callback<void(const std::string& result)> StringResultCallback; base 109 chrome/browser/extensions/api/networking_private/networking_private_service_client.h typedef base::Callback< base 111 chrome/browser/extensions/api/networking_private/networking_private_service_client.h const base::DictionaryValue& dictionary)> DictionaryResultCallback; base 114 chrome/browser/extensions/api/networking_private/networking_private_service_client.h typedef base::Callback< base 115 chrome/browser/extensions/api/networking_private/networking_private_service_client.h void(const base::ListValue& network_list)> ListResultCallback; base 152 chrome/browser/extensions/api/networking_private/networking_private_service_client.h const base::Closure& callback, base 158 chrome/browser/extensions/api/networking_private/networking_private_service_client.h const base::Closure& callback, base 164 chrome/browser/extensions/api/networking_private/networking_private_service_client.h const base::DictionaryValue& properties, base 165 chrome/browser/extensions/api/networking_private/networking_private_service_client.h const base::Closure& callback, base 174 chrome/browser/extensions/api/networking_private/networking_private_service_client.h const base::DictionaryValue& properties, base 186 chrome/browser/extensions/api/networking_private/networking_private_service_client.h void VerifyDestination(scoped_ptr<base::ListValue> args, base 193 chrome/browser/extensions/api/networking_private/networking_private_service_client.h void VerifyAndEncryptCredentials(scoped_ptr<base::ListValue> args, base 199 chrome/browser/extensions/api/networking_private/networking_private_service_client.h void VerifyAndEncryptData(scoped_ptr<base::ListValue> args, base 224 chrome/browser/extensions/api/networking_private/networking_private_service_client.h base::Closure start_connect_callback; base 225 chrome/browser/extensions/api/networking_private/networking_private_service_client.h base::Closure start_disconnect_callback; base 226 chrome/browser/extensions/api/networking_private/networking_private_service_client.h base::Closure set_properties_callback; base 245 chrome/browser/extensions/api/networking_private/networking_private_service_client.h const base::DictionaryValue* properties, base 253 chrome/browser/extensions/api/networking_private/networking_private_service_client.h const base::ListValue* network_list); base 287 chrome/browser/extensions/api/networking_private/networking_private_service_client.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 289 chrome/browser/extensions/api/networking_private/networking_private_service_client.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 291 chrome/browser/extensions/api/networking_private/networking_private_service_client.h base::WeakPtrFactory<NetworkingPrivateServiceClient> weak_factory_; base 149 chrome/browser/extensions/api/notifications/notifications_api.cc scoped_ptr<base::ListValue> args(CreateBaseEventArgs()); base 150 chrome/browser/extensions/api/notifications/notifications_api.cc args->Append(new base::FundamentalValue(by_user)); base 155 chrome/browser/extensions/api/notifications/notifications_api.cc scoped_ptr<base::ListValue> args(CreateBaseEventArgs()); base 165 chrome/browser/extensions/api/notifications/notifications_api.cc scoped_ptr<base::ListValue> args(CreateBaseEventArgs()); base 166 chrome/browser/extensions/api/notifications/notifications_api.cc args->Append(new base::FundamentalValue(index)); base 195 chrome/browser/extensions/api/notifications/notifications_api.cc void SendEvent(const std::string& name, scoped_ptr<base::ListValue> args) { base 201 chrome/browser/extensions/api/notifications/notifications_api.cc scoped_ptr<base::ListValue> CreateBaseEventArgs() { base 202 chrome/browser/extensions/api/notifications/notifications_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 203 chrome/browser/extensions/api/notifications/notifications_api.cc args->Append(new base::StringValue(id_)); base 248 chrome/browser/extensions/api/notifications/notifications_api.cc const base::string16 title(base::UTF8ToUTF16(*options->title)); base 249 chrome/browser/extensions/api/notifications/notifications_api.cc const base::string16 message(base::UTF8ToUTF16(*options->message)); base 262 chrome/browser/extensions/api/notifications/notifications_api.cc optional_fields.timestamp = base::Time::FromJsTime(*options->event_time); base 271 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16((*options->buttons)[i]->title)); base 280 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16(*options->context_message); base 313 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16(i->get()->title), base 314 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16(i->get()->message)); base 335 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16(extension_->name()), base 336 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16(api_delegate->id()), base 352 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_title(base::UTF8ToUTF16(*options->title)); base 354 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_message(base::UTF8ToUTF16(*options->message)); base 368 chrome/browser/extensions/api/notifications/notifications_api.cc notification->set_timestamp(base::Time::FromJsTime(*options->event_time)); base 378 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16((*options->buttons)[i]->title)); base 388 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16(*options->context_message)); base 424 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16(i->get()->title), base 425 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16(i->get()->message)); base 503 chrome/browser/extensions/api/notifications/notifications_api.cc notification_id = base::GenerateGUID(); base 505 chrome/browser/extensions/api/notifications/notifications_api.cc notification_id = base::RandBytesAsString(16); base 508 chrome/browser/extensions/api/notifications/notifications_api.cc SetResult(new base::StringValue(notification_id)); base 535 chrome/browser/extensions/api/notifications/notifications_api.cc SetResult(new base::FundamentalValue(false)); base 549 chrome/browser/extensions/api/notifications/notifications_api.cc SetResult(new base::FundamentalValue(could_update_notification)); base 572 chrome/browser/extensions/api/notifications/notifications_api.cc SetResult(new base::FundamentalValue(cancel_result)); base 589 chrome/browser/extensions/api/notifications/notifications_api.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 619 chrome/browser/extensions/api/notifications/notifications_api.cc SetResult(new base::StringValue(api::notifications::ToString(result))); base 32 chrome/browser/extensions/api/notifications/notifications_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII(test_name); base 59 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 71 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_STRING, result->GetType()); base 85 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 98 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, result->GetType()); base 119 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 131 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, result->GetType()); base 146 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result( base 152 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, result->GetType()); base 167 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result( base 173 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, result->GetType()); base 191 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 204 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_STRING, result->GetType()); base 217 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 243 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_STRING, result->GetType()); base 346 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 374 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_STRING, result->GetType()); base 394 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 397 chrome/browser/extensions/api/notifications/notifications_apitest.cc base::DictionaryValue* return_value; base 398 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 413 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 415 chrome/browser/extensions/api/notifications/notifications_apitest.cc base::StringPrintf("[\"identifier-%u\", " base 435 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 438 chrome/browser/extensions/api/notifications/notifications_apitest.cc base::DictionaryValue* return_value; base 439 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 444 chrome/browser/extensions/api/notifications/notifications_apitest.cc std::string id = base::StringPrintf("identifier-%u", i); base 509 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 524 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(base::Value::TYPE_STRING, result->GetType()); base 537 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 547 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, result->GetType()); base 647 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 660 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_STRING, result->GetType()); base 675 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 686 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, result->GetType()); base 701 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 706 chrome/browser/extensions/api/notifications/notifications_apitest.cc "\"priority\": " + base::IntToString(kNewPriority) + "," base 712 chrome/browser/extensions/api/notifications/notifications_apitest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, result->GetType()); base 723 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(base::ASCIIToUTF16(kNewTitle), notification->title()); base 724 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(base::ASCIIToUTF16(kNewMessage), notification->message()); base 748 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 754 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(base::Value::TYPE_STRING, result->GetType()); base 772 chrome/browser/extensions/api/notifications/notifications_apitest.cc message_center::Notifier notifier(notifier_id, base::string16(), true); base 776 chrome/browser/extensions/api/notifications/notifications_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 782 chrome/browser/extensions/api/notifications/notifications_apitest.cc EXPECT_EQ(base::Value::TYPE_STRING, result->GetType()); base 809 chrome/browser/extensions/api/notifications/notifications_apitest.cc message_center::Notifier notifier(notifier_id, base::string16(), true); base 823 chrome/browser/extensions/api/notifications/notifications_apitest.cc message_center::Notifier notifier(notifier_id, base::string16(), false); base 66 chrome/browser/extensions/api/omnibox/omnibox_api.cc const base::DictionaryValue* dict = NULL; base 86 chrome/browser/extensions/api/omnibox/omnibox_api.cc scoped_ptr<base::DictionaryValue> dict = suggestion.ToValue(); base 89 chrome/browser/extensions/api/omnibox/omnibox_api.cc dict->SetWithoutPathExpansion(kSuggestionContent, new base::StringValue("")); base 104 chrome/browser/extensions/api/omnibox/omnibox_api.cc make_scoped_ptr(new base::ListValue()))); base 118 chrome/browser/extensions/api/omnibox/omnibox_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 119 chrome/browser/extensions/api/omnibox/omnibox_api.cc args->Set(0, new base::StringValue(input)); base 120 chrome/browser/extensions/api/omnibox/omnibox_api.cc args->Set(1, new base::FundamentalValue(suggest_id)); base 146 chrome/browser/extensions/api/omnibox/omnibox_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 147 chrome/browser/extensions/api/omnibox/omnibox_api.cc args->Set(0, new base::StringValue(input)); base 149 chrome/browser/extensions/api/omnibox/omnibox_api.cc args->Set(1, new base::StringValue(kForegroundTabDisposition)); base 151 chrome/browser/extensions/api/omnibox/omnibox_api.cc args->Set(1, new base::StringValue(kBackgroundTabDisposition)); base 153 chrome/browser/extensions/api/omnibox/omnibox_api.cc args->Set(1, new base::StringValue(kCurrentTabDisposition)); base 172 chrome/browser/extensions/api/omnibox/omnibox_api.cc make_scoped_ptr(new base::ListValue()))); base 189 chrome/browser/extensions/api/omnibox/omnibox_api.cc base::Bind(&OmniboxAPI::OnTemplateURLsLoaded, base 190 chrome/browser/extensions/api/omnibox/omnibox_api.cc base::Unretained(this))); base 207 chrome/browser/extensions/api/omnibox/omnibox_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<OmniboxAPI> > base 323 chrome/browser/extensions/api/omnibox/omnibox_api.cc base::string16 description = base::UTF8ToUTF16(suggestion.description); base 374 chrome/browser/extensions/api/omnibox/omnibox_api.cc const base::string16& remaining_input, base 383 chrome/browser/extensions/api/omnibox/omnibox_api.cc const base::string16 kPlaceholderText(base::ASCIIToUTF16("%s")); base 384 chrome/browser/extensions/api/omnibox/omnibox_api.cc const base::string16 kReplacementText(base::ASCIIToUTF16("<input>")); base 386 chrome/browser/extensions/api/omnibox/omnibox_api.cc base::string16 description = base::UTF8ToUTF16(suggestion->description); base 393 chrome/browser/extensions/api/omnibox/omnibox_api.cc if (placeholder != base::string16::npos) { base 394 chrome/browser/extensions/api/omnibox/omnibox_api.cc base::string16 replacement = base 28 chrome/browser/extensions/api/omnibox/omnibox_api.h namespace base { base 165 chrome/browser/extensions/api/omnibox/omnibox_api.h const base::string16& remaining_input, base 20 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc using base::ASCIIToUTF16; base 37 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc AutocompleteInput(ASCIIToUTF16("keywor"), base::string16::npos, base 38 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc base::string16(), GURL(), AutocompleteInput::NTP, base 60 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc base::string16::npos, base::string16(), GURL(), base 96 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc base::string16 description = base 170 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc AutocompleteInput(ASCIIToUTF16("keyword command"), base::string16::npos, base 171 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc base::string16(), GURL(), AutocompleteInput::NTP, base 185 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc AutocompleteInput(ASCIIToUTF16("keyword newtab"), base::string16::npos, base 186 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc base::string16(), GURL(), AutocompleteInput::NTP, base 223 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc base::string16::npos, base::string16(), GURL(), base 246 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc base::string16::npos, base::string16(), GURL(), base 29 chrome/browser/extensions/api/omnibox/omnibox_api_interactive_test.cc omnibox_view->SetUserText(base::ASCIIToUTF16("keyword comman")); base 44 chrome/browser/extensions/api/omnibox/omnibox_api_interactive_test.cc AutocompleteInput(base::ASCIIToUTF16("keyword command"), base 45 chrome/browser/extensions/api/omnibox/omnibox_api_interactive_test.cc base::string16::npos, base::string16(), GURL(), base 46 chrome/browser/extensions/api/omnibox/omnibox_api_testbase.h static base::string16 AutocompleteResultAsString( base 48 chrome/browser/extensions/api/omnibox/omnibox_api_testbase.h std::string output(base::StringPrintf("{%" PRIuS "} ", result.size())); base 53 chrome/browser/extensions/api/omnibox/omnibox_api_testbase.h base::StringPrintf("[\"%s\" by \"%s\"] ", base 54 chrome/browser/extensions/api/omnibox/omnibox_api_testbase.h base::UTF16ToUTF8(match.contents).c_str(), base 57 chrome/browser/extensions/api/omnibox/omnibox_api_testbase.h return base::UTF8ToUTF16(output); base 44 chrome/browser/extensions/api/omnibox/omnibox_unittest.cc scoped_ptr<base::ListValue> list = ListBuilder() base 75 chrome/browser/extensions/api/omnibox/omnibox_unittest.cc scoped_ptr<base::ListValue> swap_list = ListBuilder() base 107 chrome/browser/extensions/api/omnibox/omnibox_unittest.cc scoped_ptr<base::ListValue> list = ListBuilder() base 152 chrome/browser/extensions/api/omnibox/omnibox_unittest.cc scoped_ptr<base::ListValue> moved_list = ListBuilder() base 196 chrome/browser/extensions/api/omnibox/omnibox_unittest.cc scoped_ptr<base::ListValue> list = ListBuilder() base 245 chrome/browser/extensions/api/omnibox/omnibox_unittest.cc scoped_ptr<base::ListValue> list = ListBuilder() base 65 chrome/browser/extensions/api/page_capture/page_capture_api.cc base::Bind(&PageCaptureSaveAsMHTMLFunction::CreateTemporaryFile, this)); base 93 chrome/browser/extensions/api/page_capture/page_capture_api.cc bool success = base::CreateTemporaryFile(&mhtml_path_); base 96 chrome/browser/extensions/api/page_capture/page_capture_api.cc base::Bind(&PageCaptureSaveAsMHTMLFunction::TemporaryFileCreated, this, base 113 chrome/browser/extensions/api/page_capture/page_capture_api.cc base::Bind(&PageCaptureSaveAsMHTMLFunction::TemporaryFileCreated, this, base 135 chrome/browser/extensions/api/page_capture/page_capture_api.cc base::Bind(&PageCaptureSaveAsMHTMLFunction::MHTMLGenerated, this)); base 176 chrome/browser/extensions/api/page_capture/page_capture_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 15 chrome/browser/extensions/api/page_capture/page_capture_api.h namespace base { base 34 chrome/browser/extensions/api/page_capture/page_capture_api.h virtual void OnTemporaryFileCreated(const base::FilePath& temp_file) = 0; base 60 chrome/browser/extensions/api/page_capture/page_capture_api.h base::FilePath mhtml_path_; base 35 chrome/browser/extensions/api/page_capture/page_capture_apitest.cc const base::FilePath& temp_file) OVERRIDE { base 39 chrome/browser/extensions/api/page_capture/page_capture_apitest.cc base::FilePath temp_file_; base 51 chrome/browser/extensions/api/page_capture/page_capture_apitest.cc ASSERT_FALSE(base::PathExists(delegate.temp_file_)); base 48 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc scoped_ptr<base::Value> value(i->ToValue()); base 54 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc base::JSONWriter::Write(value.get(), &json); base 90 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc scoped_ptr<base::Value> permission_json( base 91 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc base::JSONReader::Read(permission_arg)); base 12 chrome/browser/extensions/api/permissions/permissions_api_helpers.h namespace base { base 44 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> value(permissions->ToValue()); base 45 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc base::ListValue* api_list = NULL; base 46 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc base::ListValue* origin_list = NULL; base 55 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc scoped_ptr<base::Value> value(new base::StringValue(expected_apis[i])); base 61 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc scoped_ptr<base::Value> value(new base::StringValue(expected_origins[i])); base 80 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc scoped_ptr<base::ListValue> apis(new base::ListValue()); base 81 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc apis->Append(new base::StringValue("tabs")); base 82 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc scoped_ptr<base::ListValue> origins(new base::ListValue()); base 83 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc origins->Append(new base::StringValue("http://a.com/*")); base 85 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 116 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc scoped_ptr<base::ListValue> invalid_apis(apis->DeepCopy()); base 117 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc invalid_apis->Append(new base::FundamentalValue(3)); base 126 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc scoped_ptr<base::ListValue> invalid_origins(origins->DeepCopy()); base 127 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc invalid_origins->Append(new base::FundamentalValue(3)); base 136 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc value->Set("origins", new base::FundamentalValue(2)); base 143 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc value->Set("permissions", new base::FundamentalValue(2)); base 152 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc value->Set("random", new base::FundamentalValue(3)); base 164 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc scoped_ptr<base::ListValue> invalid_apis(apis->DeepCopy()); base 165 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc invalid_apis->Append(new base::StringValue("unknown_permission")); base 52 chrome/browser/extensions/api/power/power_api_manager.cc base::Bind(&content::PowerSaveBlocker::Create); base 73 chrome/browser/extensions/api/power/power_api_manager.cc : create_blocker_function_(base::Bind(&content::PowerSaveBlocker::Create)), base 23 chrome/browser/extensions/api/power/power_api_manager.h typedef base::Callback<scoped_ptr<content::PowerSaveBlocker>( base 50 chrome/browser/extensions/api/power/power_api_unittest.cc explicit PowerSaveBlockerStub(base::Closure unblock_callback) base 59 chrome/browser/extensions/api/power/power_api_unittest.cc base::Closure unblock_callback_; base 74 chrome/browser/extensions/api/power/power_api_unittest.cc base::Bind(&PowerSaveBlockerStubManager::CreateStub, base 75 chrome/browser/extensions/api/power/power_api_unittest.cc base::Unretained(this))); base 112 chrome/browser/extensions/api/power/power_api_unittest.cc base::Bind(&PowerSaveBlockerStubManager::AppendRequest, base 124 chrome/browser/extensions/api/power/power_api_unittest.cc base::WeakPtrFactory<PowerSaveBlockerStubManager> weak_ptr_factory_; base 263 chrome/browser/extensions/api/power/power_api_unittest.cc scoped_ptr<base::DictionaryValue> extension_value( base 43 chrome/browser/extensions/api/preference/chrome_direct_setting.cc const base::Value* value = preference->GetValue(); base 45 chrome/browser/extensions/api/preference/chrome_direct_setting.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 64 chrome/browser/extensions/api/preference/chrome_direct_setting.cc base::DictionaryValue* details = NULL; base 67 chrome/browser/extensions/api/preference/chrome_direct_setting.cc base::Value* value = NULL; base 39 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc for (base::hash_set<std::string>::iterator iter = whitelist_.begin(); base 42 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc std::string event_name = base::StringPrintf( base 54 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc const base::Callback<void(const std::string&)>& callback) { base 55 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc for (base::hash_set<std::string>::iterator iter = whitelist_.begin(); base 59 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc std::string event_name = base::StringPrintf( base 67 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc base::hash_set<std::string> whitelist_; base 72 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc base::LazyInstance<PreferenceWhitelist> preference_whitelist = base 75 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc static base::LazyInstance< base 102 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc base::Bind(&ChromeDirectSettingAPI::OnPrefChanged, base 103 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc base::Unretained(this), base 124 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc std::string event_name = base::StringPrintf(kOnPrefChangeFormat, base 130 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc const base::Value* value = preference->GetValue(); base 132 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 134 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc base::ListValue args; base 145 chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc scoped_ptr<base::ListValue> args_copy(args.DeepCopy()); base 40 chrome/browser/extensions/api/preference/preference_api.cc using base::DictionaryValue; base 120 chrome/browser/extensions/api/preference/preference_api.cc virtual base::Value* ExtensionToBrowserPref(const base::Value* extension_pref, base 126 chrome/browser/extensions/api/preference/preference_api.cc virtual base::Value* BrowserToExtensionPref( base 127 chrome/browser/extensions/api/preference/preference_api.cc const base::Value* browser_pref) OVERRIDE { base 134 chrome/browser/extensions/api/preference/preference_api.cc virtual base::Value* ExtensionToBrowserPref(const base::Value* extension_pref, base 140 chrome/browser/extensions/api/preference/preference_api.cc virtual base::Value* BrowserToExtensionPref( base 141 chrome/browser/extensions/api/preference/preference_api.cc const base::Value* browser_pref) OVERRIDE { base 146 chrome/browser/extensions/api/preference/preference_api.cc static base::Value* InvertBooleanValue(const base::Value* value) { base 150 chrome/browser/extensions/api/preference/preference_api.cc return new base::FundamentalValue(!bool_value); base 207 chrome/browser/extensions/api/preference/preference_api.cc base::StringPrintf(kOnPrefChangeFormat, base 279 chrome/browser/extensions/api/preference/preference_api.cc base::Bind(&PreferenceEventRouter::OnPrefChanged, base 280 chrome/browser/extensions/api/preference/preference_api.cc base::Unretained(this), base 283 chrome/browser/extensions/api/preference/preference_api.cc base::Bind(&PreferenceEventRouter::OnPrefChanged, base 284 chrome/browser/extensions/api/preference/preference_api.cc base::Unretained(this), base 301 chrome/browser/extensions/api/preference/preference_api.cc base::ListValue args; base 302 chrome/browser/extensions/api/preference/preference_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 309 chrome/browser/extensions/api/preference/preference_api.cc base::Value* transformed_value = base 336 chrome/browser/extensions/api/preference/preference_api.cc base::Value* value) { base 354 chrome/browser/extensions/api/preference/preference_api.cc base::DictionaryValue* preference = update.Get(); base 376 chrome/browser/extensions/api/preference/preference_api.cc base::DictionaryValue* preference = update.Get(); base 432 chrome/browser/extensions/api/preference/preference_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<PreferenceAPI> > base 529 chrome/browser/extensions/api/preference/preference_api.cc base::DictionaryValue* details = NULL; base 555 chrome/browser/extensions/api/preference/preference_api.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 565 chrome/browser/extensions/api/preference/preference_api.cc base::Value* transformed_value = base 591 chrome/browser/extensions/api/preference/preference_api.cc base::DictionaryValue* details = NULL; base 594 chrome/browser/extensions/api/preference/preference_api.cc base::Value* value = NULL; base 648 chrome/browser/extensions/api/preference/preference_api.cc scoped_ptr<base::Value> browser_pref_value( base 658 chrome/browser/extensions/api/preference/preference_api.cc scoped_ptr<base::Value> extensionPrefValue( base 677 chrome/browser/extensions/api/preference/preference_api.cc base::DictionaryValue* details = NULL; base 22 chrome/browser/extensions/api/preference/preference_api.h namespace base { base 64 chrome/browser/extensions/api/preference/preference_api.h base::Value* value); base 153 chrome/browser/extensions/api/preference/preference_api.h virtual base::Value* ExtensionToBrowserPref( base 154 chrome/browser/extensions/api/preference/preference_api.h const base::Value* extension_pref, base 162 chrome/browser/extensions/api/preference/preference_api.h virtual base::Value* BrowserToExtensionPref( base 163 chrome/browser/extensions/api/preference/preference_api.h const base::Value* browser_pref) = 0; base 20 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc using base::Value; base 78 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc base::Value* value); base 81 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc base::Value* value); base 85 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc base::Value* value); base 127 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc base::Value* value) { base 136 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc base::Value* value) { base 145 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc base::Value* value) { base 201 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc new base::StringValue("val1")); base 217 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc extension1(), kPref1, new base::StringValue("val1")); base 219 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc extension1(), kPref1, new base::StringValue("val2")); base 246 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc extension1(), kPref1, new base::StringValue("val1")); base 248 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc extension1(), kPref1, new base::StringValue("val2")); base 277 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc extension1(), kPref1, new base::StringValue("val1")); base 279 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc extension1(), kPref2, new base::StringValue("val2")); base 327 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc new base::StringValue("https://www.chromium.org")); base 335 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc new base::StringValue("https://www.chromium.org")); base 343 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc new base::StringValue("chrome://newtab")); base 350 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc new base::StringValue("chrome://newtab2")); base 358 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc new base::StringValue("chrome://newtab3")); base 384 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc extension1(), kPref1, new base::StringValue("val1")); base 400 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc extension1(), kPref1, new base::StringValue("val1")); base 412 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc class MockStringValue : public base::StringValue { base 415 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc : base::StringValue(in_value) { base 467 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc extension1(), kPref1, new base::StringValue("val1")); base 81 chrome/browser/extensions/api/preference/preference_apitest.cc base::MessageLoop::current()->PostTask( base 82 chrome/browser/extensions/api/preference/preference_apitest.cc FROM_HERE, base::Bind(&ReleaseBrowserProcessModule)); base 261 chrome/browser/extensions/api/preference/preference_apitest.cc base::FilePath extension_data_dir = base 88 chrome/browser/extensions/api/preference/preference_helpers.cc base::ListValue* args, base 108 chrome/browser/extensions/api/preference/preference_helpers.cc base::DictionaryValue* dict; base 135 chrome/browser/extensions/api/preference/preference_helpers.cc scoped_ptr<base::ListValue> args_copy(args->DeepCopy()); base 15 chrome/browser/extensions/api/preference/preference_helpers.h namespace base { base 41 chrome/browser/extensions/api/preference/preference_helpers.h base::ListValue* args, base 72 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc base::MessageLoop::current()->PostTask( base 74 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc base::Bind(&ProfileSyncServiceBase::Observer::OnStateChanged, base 75 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc base::Unretained(observer))); base 112 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc base::FilePath path; base 115 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc if (!base::PathExists(path)) base 116 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc CHECK(base::CreateDirectory(path)); base 158 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc const base::ListValue* result = function->GetResultList(); base 161 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc const base::ListValue* categories = NULL; base 164 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc categories->Find(base::StringValue(chrome::kBookmarksFileName))); base 166 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc categories->Find(base::StringValue(chrome::kPreferencesFilename))); base 168 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc categories->Find(base::StringValue("Autofill"))) << base 171 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc categories->Find(base::StringValue("Typed URLs"))) << base 49 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* CreateCacheData( base 52 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* cache = new base::DictionaryValue(); base 58 chrome/browser/extensions/api/processes/processes_api.cc void SetProcessType(base::DictionaryValue* result, base 103 chrome/browser/extensions/api/processes/processes_api.cc base::ListValue* GetTabsForProcess(int process_id) { base 104 chrome/browser/extensions/api/processes/processes_api.cc base::ListValue* tabs_list = new base::ListValue(); base 130 chrome/browser/extensions/api/processes/processes_api.cc tabs_list->Append(new base::FundamentalValue(tab_id)); base 140 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* CreateProcessFromModel(int process_id, base 144 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 206 chrome/browser/extensions/api/processes/processes_api.cc void AddMemoryDetails(base::DictionaryValue* result, base 311 chrome/browser/extensions/api/processes/processes_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 312 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* process = CreateProcessFromModel( base 343 chrome/browser/extensions/api/processes/processes_api.cc IDMap<base::DictionaryValue> processes_map; base 347 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* process = CreateProcessFromModel(id, model_, i, base 355 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* processes = new base::DictionaryValue(); base 358 chrome/browser/extensions/api/processes/processes_api.cc IDMap<base::DictionaryValue>::iterator it(&processes_map); base 364 chrome/browser/extensions/api/processes/processes_api.cc processes->Set(base::IntToString(id), it.GetCurrentValue()); base 367 chrome/browser/extensions/api/processes/processes_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 373 chrome/browser/extensions/api/processes/processes_api.cc IDMap<base::DictionaryValue>::iterator it(&processes_map); base 383 chrome/browser/extensions/api/processes/processes_api.cc processes->Set(base::IntToString(id), it.GetCurrentValue()); base 386 chrome/browser/extensions/api/processes/processes_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 405 chrome/browser/extensions/api/processes/processes_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 408 chrome/browser/extensions/api/processes/processes_api.cc args->Append(new base::FundamentalValue( base 412 chrome/browser/extensions/api/processes/processes_api.cc args->Append(new base::FundamentalValue(0)); base 415 chrome/browser/extensions/api/processes/processes_api.cc args->Append(new base::FundamentalValue(0)); base 427 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* process = NULL; base 443 chrome/browser/extensions/api/processes/processes_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 455 chrome/browser/extensions/api/processes/processes_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 458 chrome/browser/extensions/api/processes/processes_api.cc args->Append(new base::FundamentalValue(rph->GetID())); base 461 chrome/browser/extensions/api/processes/processes_api.cc args->Append(new base::FundamentalValue(details->status)); base 464 chrome/browser/extensions/api/processes/processes_api.cc args->Append(new base::FundamentalValue(details->exit_code)); base 472 chrome/browser/extensions/api/processes/processes_api.cc scoped_ptr<base::ListValue> event_args) { base 511 chrome/browser/extensions/api/processes/processes_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<ProcessesAPI> > base 562 chrome/browser/extensions/api/processes/processes_api.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 566 chrome/browser/extensions/api/processes/processes_api.cc base::Bind(&GetProcessIdForTabFunction::GetProcessIdForTab, this)); base 592 chrome/browser/extensions/api/processes/processes_api.cc base::IntToString(tab_id_)); base 593 chrome/browser/extensions/api/processes/processes_api.cc SetResult(new base::FundamentalValue(-1)); base 597 chrome/browser/extensions/api/processes/processes_api.cc SetResult(new base::FundamentalValue(process_id)); base 623 chrome/browser/extensions/api/processes/processes_api.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 627 chrome/browser/extensions/api/processes/processes_api.cc base::Bind(&TerminateFunction::TerminateProcess, this)); base 654 chrome/browser/extensions/api/processes/processes_api.cc killed = base::KillProcess(model->GetProcess(i), base 664 chrome/browser/extensions/api/processes/processes_api.cc base::IntToString(process_id_)); base 667 chrome/browser/extensions/api/processes/processes_api.cc SetResult(new base::FundamentalValue(killed)); base 691 chrome/browser/extensions/api/processes/processes_api.cc base::Value* processes = NULL; base 710 chrome/browser/extensions/api/processes/processes_api.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 714 chrome/browser/extensions/api/processes/processes_api.cc base::Bind(&GetProcessInfoFunction::GatherProcessInfo, this)); base 731 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* processes = new base::DictionaryValue(); base 740 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* d = CreateProcessFromModel(id, model, i, false); base 743 chrome/browser/extensions/api/processes/processes_api.cc processes->Set(base::IntToString(id), d); base 754 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* d = base 758 chrome/browser/extensions/api/processes/processes_api.cc processes->Set(base::IntToString(id), d); base 21 chrome/browser/extensions/api/processes/processes_api.h namespace base { base 72 chrome/browser/extensions/api/processes/processes_api.h scoped_ptr<base::ListValue> event_args); base 40 chrome/browser/extensions/api/proxy/proxy_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 41 chrome/browser/extensions/api/proxy/proxy_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 60 chrome/browser/extensions/api/proxy/proxy_api.cc const base::string16& error) { base 61 chrome/browser/extensions/api/proxy/proxy_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 62 chrome/browser/extensions/api/proxy/proxy_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 68 chrome/browser/extensions/api/proxy/proxy_api.cc base::SStringPrintf(&error_msg, base 70 chrome/browser/extensions/api/proxy/proxy_api.cc line_number, base::UTF16ToUTF8(error).c_str()); base 72 chrome/browser/extensions/api/proxy/proxy_api.cc error_msg = base::UTF16ToUTF8(error); base 92 chrome/browser/extensions/api/proxy/proxy_api.cc base::Value* ProxyPrefTransformer::ExtensionToBrowserPref( base 93 chrome/browser/extensions/api/proxy/proxy_api.cc const base::Value* extension_pref, base 99 chrome/browser/extensions/api/proxy/proxy_api.cc CHECK(extension_pref->IsType(base::Value::TYPE_DICTIONARY)); base 100 chrome/browser/extensions/api/proxy/proxy_api.cc const base::DictionaryValue* config = base 101 chrome/browser/extensions/api/proxy/proxy_api.cc static_cast<const base::DictionaryValue*>(extension_pref); base 134 chrome/browser/extensions/api/proxy/proxy_api.cc base::Value* ProxyPrefTransformer::BrowserToExtensionPref( base 135 chrome/browser/extensions/api/proxy/proxy_api.cc const base::Value* browser_pref) { base 136 chrome/browser/extensions/api/proxy/proxy_api.cc CHECK(browser_pref->IsType(base::Value::TYPE_DICTIONARY)); base 141 chrome/browser/extensions/api/proxy/proxy_api.cc static_cast<const base::DictionaryValue*>(browser_pref)); base 150 chrome/browser/extensions/api/proxy/proxy_api.cc scoped_ptr<base::DictionaryValue> extension_pref(new base::DictionaryValue); base 165 chrome/browser/extensions/api/proxy/proxy_api.cc base::DictionaryValue* pac_dict = helpers::CreatePacScriptDict(config); base 173 chrome/browser/extensions/api/proxy/proxy_api.cc base::DictionaryValue* proxy_rules_dict = base 18 chrome/browser/extensions/api/proxy/proxy_api.h namespace base { base 34 chrome/browser/extensions/api/proxy/proxy_api.h virtual base::Value* ExtensionToBrowserPref(const base::Value* extension_pref, base 37 chrome/browser/extensions/api/proxy/proxy_api.h virtual base::Value* BrowserToExtensionPref( base 38 chrome/browser/extensions/api/proxy/proxy_api.h const base::Value* browser_pref) OVERRIDE; base 58 chrome/browser/extensions/api/proxy/proxy_api.h const base::string16& error); base 38 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::Base64Encode(pac_script, &pac_script_base64_encoded); base 60 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc bool GetProxyModeFromExtensionPref(const base::DictionaryValue* proxy_config, base 77 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc bool GetPacMandatoryFromExtensionPref(const base::DictionaryValue* proxy_config, base 81 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc const base::DictionaryValue* pac_dict = NULL; base 98 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc bool GetPacUrlFromExtensionPref(const base::DictionaryValue* proxy_config, base 102 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc const base::DictionaryValue* pac_dict = NULL; base 108 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::string16 pac_url16; base 120 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc *out = base::UTF16ToASCII(pac_url16); base 124 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc bool GetPacDataFromExtensionPref(const base::DictionaryValue* proxy_config, base 128 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc const base::DictionaryValue* pac_dict = NULL; base 133 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::string16 pac_data16; base 145 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc *out = base::UTF16ToASCII(pac_data16); base 149 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc bool GetProxyServer(const base::DictionaryValue* proxy_server, base 166 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::string16 host16; base 176 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::UTF16ToUTF8(host16)); base 179 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc std::string host = base::UTF16ToASCII(host16); base 191 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc const base::DictionaryValue* proxy_config, base 195 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc const base::DictionaryValue* proxy_rules = NULL; base 210 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc const base::DictionaryValue* proxy_dict = NULL; base 258 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc bool JoinUrlList(const base::ListValue* list, base 269 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::string16 entry; base 280 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc result.append(base::UTF16ToASCII(entry)); base 286 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc bool GetBypassListFromExtensionPref(const base::DictionaryValue* proxy_config, base 290 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc const base::DictionaryValue* proxy_rules = NULL; base 299 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc const base::ListValue* bypass_list = NULL; base 309 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::DictionaryValue* CreateProxyConfigDict( base 317 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::DictionaryValue* result_proxy_config = NULL; base 361 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::DictionaryValue* CreateProxyRulesDict( base 366 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc scoped_ptr<base::DictionaryValue> extension_proxy_rules( base 367 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc new base::DictionaryValue); base 422 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::ListValue* bypass_list = base 430 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::DictionaryValue* CreateProxyServerDict(const net::ProxyServer& proxy) { base 431 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc scoped_ptr<base::DictionaryValue> out(new base::DictionaryValue); base 458 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::DictionaryValue* CreatePacScriptDict( base 463 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc scoped_ptr<base::DictionaryValue> pac_script_dict(new base::DictionaryValue); base 490 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::ListValue* TokenizeToStringList(const std::string& in, base 492 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::ListValue* out = new base::ListValue; base 493 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc base::StringTokenizer entries(in, delims); base 495 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc out->Append(new base::StringValue(entries.token())); base 17 chrome/browser/extensions/api/proxy/proxy_api_helpers.h namespace base { base 52 chrome/browser/extensions/api/proxy/proxy_api_helpers.h bool GetProxyModeFromExtensionPref(const base::DictionaryValue* proxy_config, base 56 chrome/browser/extensions/api/proxy/proxy_api_helpers.h bool GetPacMandatoryFromExtensionPref(const base::DictionaryValue* proxy_config, base 60 chrome/browser/extensions/api/proxy/proxy_api_helpers.h bool GetPacUrlFromExtensionPref(const base::DictionaryValue* proxy_config, base 64 chrome/browser/extensions/api/proxy/proxy_api_helpers.h bool GetPacDataFromExtensionPref(const base::DictionaryValue* proxy_config, base 69 chrome/browser/extensions/api/proxy/proxy_api_helpers.h const base::DictionaryValue* proxy_config, base 73 chrome/browser/extensions/api/proxy/proxy_api_helpers.h bool GetBypassListFromExtensionPref(const base::DictionaryValue* proxy_config, base 81 chrome/browser/extensions/api/proxy/proxy_api_helpers.h base::DictionaryValue* CreateProxyConfigDict( base 95 chrome/browser/extensions/api/proxy/proxy_api_helpers.h bool GetProxyServer(const base::DictionaryValue* proxy_server, base 103 chrome/browser/extensions/api/proxy/proxy_api_helpers.h bool JoinUrlList(const base::ListValue* list, base 115 chrome/browser/extensions/api/proxy/proxy_api_helpers.h base::DictionaryValue* CreateProxyRulesDict( base 121 chrome/browser/extensions/api/proxy/proxy_api_helpers.h base::DictionaryValue* CreateProxyServerDict(const net::ProxyServer& proxy); base 126 chrome/browser/extensions/api/proxy/proxy_api_helpers.h base::DictionaryValue* CreatePacScriptDict( base 131 chrome/browser/extensions/api/proxy/proxy_api_helpers.h base::ListValue* TokenizeToStringList(const std::string& in, base 30 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue* CreateTestProxyServerDict(const std::string& host) { base 31 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue; base 38 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue* CreateTestProxyServerDict(const std::string& schema, base 41 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue; base 72 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue proxy_config; base 102 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue proxy_config; base 116 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue* pacScriptDict = new base::DictionaryValue; base 132 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue proxy_config; base 145 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue* pacScriptDict = new base::DictionaryValue; base 161 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue proxy_config; base 174 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue* proxy_rules = new base::DictionaryValue; base 192 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue proxy_config; base 206 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::ListValue* bypass_list = new base::ListValue; base 207 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc bypass_list->Append(new base::StringValue("host1")); base 208 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc bypass_list->Append(new base::StringValue("host2")); base 209 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue* proxy_rules = new base::DictionaryValue; base 223 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> exp_direct( base 225 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> out_direct( base 233 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(exp_direct.get(), out_direct.get())); base 235 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> exp_auto( base 237 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> out_auto( base 245 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(exp_auto.get(), out_auto.get())); base 247 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> exp_pac_url( base 249 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> out_pac_url( base 257 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(exp_pac_url.get(), out_pac_url.get())); base 259 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> exp_pac_data( base 261 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> out_pac_data( base 269 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(exp_pac_data.get(), out_pac_data.get())); base 271 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> exp_fixed( base 273 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> out_fixed( base 281 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(exp_fixed.get(), out_fixed.get())); base 283 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> exp_system( base 285 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> out_system( base 293 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(exp_system.get(), out_system.get())); base 300 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::DictionaryValue proxy_server_dict; base 325 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::ListValue list; base 326 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc list.Append(new base::StringValue("s1")); base 327 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc list.Append(new base::StringValue("s2")); base 328 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc list.Append(new base::StringValue("s3")); base 339 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> browser_pref( base 344 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> extension_pref( base 348 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> expected(new base::DictionaryValue); base 357 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::ListValue* bypass_list = new base::ListValue; base 358 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc bypass_list->Append(new base::StringValue("localhost")); base 361 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), extension_pref.get())); base 366 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> browser_pref( base 372 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> extension_pref( base 376 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> expected(new base::DictionaryValue); base 385 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::ListValue* bypass_list = new base::ListValue; base 386 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc bypass_list->Append(new base::StringValue("localhost")); base 389 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), extension_pref.get())); base 394 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> browser_pref( base 397 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> extension_pref(CreatePacScriptDict(config)); base 400 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> expected(new base::DictionaryValue); base 404 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), extension_pref.get())); base 409 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> browser_pref( base 412 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> extension_pref(CreatePacScriptDict(config)); base 415 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::DictionaryValue> expected(new base::DictionaryValue); base 419 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), extension_pref.get())); base 423 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc base::ListValue expected; base 424 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc expected.Append(new base::StringValue("s1")); base 425 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc expected.Append(new base::StringValue("s2")); base 426 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc expected.Append(new base::StringValue("s3")); base 428 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc scoped_ptr<base::ListValue> out(TokenizeToStringList("s1;s2;s3", ";")); base 429 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, out.get())); base 125 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); base 130 chrome/browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc base::DictionaryValue* dict = NULL; base 78 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc scoped_ptr<base::ListValue> args(glue::OnMessage::Create(message)); base 164 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc const base::Time& expiration_time) { base 218 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc base::TimeDelta timeout = base 219 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc base::TimeDelta::FromDays(kObfuscatedGaiaIdTimeoutInDays); base 264 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc error_text = base::IntToString(error.state()); base 313 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<PushMessagingAPI> > base 93 chrome/browser/extensions/api/push_messaging/push_messaging_api.h const base::Time& expiration_time) OVERRIDE; base 39 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc base::StringPrintf("U/%s/%d", extension_id.c_str(), subchannel_id)); base 46 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc base::FilePath password_file = base 58 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc const base::FilePath& override_user_data_dir = base 62 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc base::FilePath(override_user_data_dir)); base 159 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc const base::string16& script_string = base::UTF8ToUTF16(base::StringPrintf( base 34 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc name += base::IntToString(i); base 54 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc base::SplitStringDontTrim(name, '/', &components); base 68 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc if (!base::StringToInt(components[2], subchannel)) { base 61 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h base::ThreadChecker thread_checker_; base 40 chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc void(base::Callback<void(const base::DictionaryValue&)>)); base 51 chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc bool SyncSetupHelper::ReadPasswordFile(const base::FilePath& password_file) { base 54 chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc bool success = base::ReadFileToString(password_file, &file_contents); base 33 chrome/browser/extensions/api/push_messaging/sync_setup_helper.h bool ReadPasswordFile(const base::FilePath& passwordFile); base 40 chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc const std::string& id = service->AddToList(url_to_add, base::Bind( base 55 chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc results_ = make_scoped_ptr(new base::ListValue()); base 110 chrome/browser/extensions/api/runtime/runtime_api.cc base::Bind(&DispatchOnStartupEventImpl, base 115 chrome/browser/extensions/api/runtime/runtime_api.cc scoped_ptr<base::ListValue> event_args(new base::ListValue()); base 126 chrome/browser/extensions/api/runtime/runtime_api.cc new base::StringValue(url_string)); base 142 chrome/browser/extensions/api/runtime/runtime_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<RuntimeAPI> > base 231 chrome/browser/extensions/api/runtime/runtime_api.cc base::MessageLoop::current()->PostTask( base 233 chrome/browser/extensions/api/runtime/runtime_api.cc base::Bind(&RuntimeEventRouter::DispatchOnInstalledEvent, base 255 chrome/browser/extensions/api/runtime/runtime_api.cc base::MessageLoop::current()->PostTask( base 257 chrome/browser/extensions/api/runtime/runtime_api.cc base::Bind(&RuntimeEventRouter::DispatchOnInstalledEvent, base 320 chrome/browser/extensions/api/runtime/runtime_api.cc scoped_ptr<base::ListValue> event_args(new base::ListValue()); base 321 chrome/browser/extensions/api/runtime/runtime_api.cc base::DictionaryValue* info = new base::DictionaryValue(); base 342 chrome/browser/extensions/api/runtime/runtime_api.cc const base::DictionaryValue* manifest) { base 347 chrome/browser/extensions/api/runtime/runtime_api.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 362 chrome/browser/extensions/api/runtime/runtime_api.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 420 chrome/browser/extensions/api/runtime/runtime_api.cc base::Bind(&RuntimeGetBackgroundPageFunction::OnPageLoaded, this)); base 459 chrome/browser/extensions/api/runtime/runtime_api.cc base::MessageLoop::current()->PostTask( base 461 chrome/browser/extensions/api/runtime/runtime_api.cc base::Bind(&ExtensionService::ReloadExtension, base 482 chrome/browser/extensions/api/runtime/runtime_api.cc if (!updater->CheckExtensionSoon(extension_id(), base::Bind( base 485 chrome/browser/extensions/api/runtime/runtime_api.cc SetResult(new base::StringValue(kUpdateThrottled)); base 507 chrome/browser/extensions/api/runtime/runtime_api.cc SetResult(new base::StringValue(kUpdateNotFound)); base 531 chrome/browser/extensions/api/runtime/runtime_api.cc results_.reset(new base::ListValue); base 533 chrome/browser/extensions/api/runtime/runtime_api.cc base::DictionaryValue* details = new base::DictionaryValue; base 607 chrome/browser/extensions/api/runtime/runtime_api.cc base::FilePath path = extension_->path(); base 615 chrome/browser/extensions/api/runtime/runtime_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 20 chrome/browser/extensions/api/runtime/runtime_api.h namespace base { base 95 chrome/browser/extensions/api/runtime/runtime_api.h const base::Version& old_version, base 102 chrome/browser/extensions/api/runtime/runtime_api.h const base::DictionaryValue* manifest); base 43 chrome/browser/extensions/api/runtime/runtime_apitest.cc scoped_ptr<base::Value> result( base 49 chrome/browser/extensions/api/runtime/runtime_apitest.cc base::DictionaryValue* dict = base 147 chrome/browser/extensions/api/serial/serial_api.cc connection_->Open(base::Bind(&SerialConnectFunction::OnConnected, this)); base 165 chrome/browser/extensions/api/serial/serial_api.cc base::Bind(&SerialConnectFunction::FinishConnect, base 257 chrome/browser/extensions/api/serial/serial_api.cc base::Bind(&SerialSendFunction::OnSendComplete, base 358 chrome/browser/extensions/api/serial/serial_api.cc const base::hash_set<int>* connection_ids = manager_->GetResourceIds( base 361 chrome/browser/extensions/api/serial/serial_api.cc for (base::hash_set<int>::const_iterator it = connection_ids->begin(); base 40 chrome/browser/extensions/api/serial/serial_apitest.cc base::ListValue* devices = new base::ListValue(); base 41 chrome/browser/extensions/api/serial/serial_apitest.cc base::DictionaryValue* device0 = new base::DictionaryValue(); base 43 chrome/browser/extensions/api/serial/serial_apitest.cc base::DictionaryValue* device1 = new base::DictionaryValue(); base 22 chrome/browser/extensions/api/serial/serial_connection.cc static base::LazyInstance< base 81 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::StartOpen, base::Unretained(this))); base 91 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::DoClose, Passed(file_.Pass()))); base 104 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::OnReceiveTimeout, AsWeakPtr()), base 105 chrome/browser/extensions/api/serial/serial_connection.cc base::TimeDelta::FromMilliseconds(receive_timeout_))); base 120 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::OnSendTimeout, AsWeakPtr()), base 121 chrome/browser/extensions/api/serial/serial_connection.cc base::TimeDelta::FromMilliseconds(send_timeout_))); base 168 chrome/browser/extensions/api/serial/serial_connection.cc base::FilePath path( base 169 chrome/browser/extensions/api/serial/serial_connection.cc base::FilePath::FromUTF8Unsafe(MaybeFixUpPortName(port_))); base 170 chrome/browser/extensions/api/serial/serial_connection.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 171 chrome/browser/extensions/api/serial/serial_connection.cc base::File::FLAG_EXCLUSIVE_READ | base::File::FLAG_WRITE | base 172 chrome/browser/extensions/api/serial/serial_connection.cc base::File::FLAG_EXCLUSIVE_WRITE | base::File::FLAG_ASYNC | base 173 chrome/browser/extensions/api/serial/serial_connection.cc base::File::FLAG_TERMINAL_DEVICE; base 174 chrome/browser/extensions/api/serial/serial_connection.cc base::File file(path, flags); base 178 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::FinishOpen, base::Unretained(this), base 182 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::FinishOpen(base::File file) { base 199 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::OnAsyncReadComplete, AsWeakPtr()), base 200 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::OnAsyncWriteComplete, AsWeakPtr())); base 211 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::DoClose(base::File port) { base 246 chrome/browser/extensions/api/serial/serial_connection.cc SerialConnection::TimeoutTask::TimeoutTask(const base::Closure& closure, base 247 chrome/browser/extensions/api/serial/serial_connection.cc const base::TimeDelta& delay) base 249 chrome/browser/extensions/api/serial/serial_connection.cc base::MessageLoop::current()->PostDelayedTask( base 251 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&TimeoutTask::Run, weak_factory_.GetWeakPtr()), base 34 chrome/browser/extensions/api/serial/serial_connection.h public base::SupportsWeakPtr<SerialConnection> { base 36 chrome/browser/extensions/api/serial/serial_connection.h typedef base::Callback<void(bool success)> OpenCompleteCallback; base 41 chrome/browser/extensions/api/serial/serial_connection.h typedef base::Callback< base 48 chrome/browser/extensions/api/serial/serial_connection.h typedef base::Callback<void(int bytes_sent, api::serial::SendError error)> base 152 chrome/browser/extensions/api/serial/serial_connection.h TimeoutTask(const base::Closure& closure, const base::TimeDelta& delay); base 158 chrome/browser/extensions/api/serial/serial_connection.h base::WeakPtrFactory<TimeoutTask> weak_factory_; base 159 chrome/browser/extensions/api/serial/serial_connection.h base::Closure closure_; base 160 chrome/browser/extensions/api/serial/serial_connection.h base::TimeDelta delay_; base 167 chrome/browser/extensions/api/serial/serial_connection.h void FinishOpen(base::File file); base 170 chrome/browser/extensions/api/serial/serial_connection.h static void DoClose(base::File port); base 190 chrome/browser/extensions/api/serial/serial_connection.h base::File file_; base 88 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool SetCustomBitrate(base::PlatformFile file, base 28 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<SerialEventDispatcher> > base 85 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc connection->Receive(base::Bind(&ReceiveCallback, params)); base 100 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc scoped_ptr<base::ListValue> args = serial::OnReceive::Create(receive_info); base 110 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc scoped_ptr<base::ListValue> args = base 126 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc base::Bind(&StartReceive, params)); base 136 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc base::Bind(&DispatchEvent, base 139 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc base::Passed(event.Pass()))); base 13 chrome/browser/extensions/api/serial/serial_io_handler.cc : file_(base::kInvalidPlatformFileValue), base 22 chrome/browser/extensions/api/serial/serial_io_handler.cc void SerialIoHandler::Initialize(base::PlatformFile file, base 26 chrome/browser/extensions/api/serial/serial_io_handler.cc DCHECK_EQ(file_, base::kInvalidPlatformFileValue); base 107 chrome/browser/extensions/api/serial/serial_io_handler.cc base::MessageLoop::current()->PostTask( base 108 chrome/browser/extensions/api/serial/serial_io_handler.cc FROM_HERE, base::Bind(&SerialIoHandler::ReadCompleted, this, base 114 chrome/browser/extensions/api/serial/serial_io_handler.cc base::MessageLoop::current()->PostTask( base 115 chrome/browser/extensions/api/serial/serial_io_handler.cc FROM_HERE, base::Bind(&SerialIoHandler::WriteCompleted, this, base 21 chrome/browser/extensions/api/serial/serial_io_handler.h class SerialIoHandler : public base::NonThreadSafe, base 22 chrome/browser/extensions/api/serial/serial_io_handler.h public base::RefCounted<SerialIoHandler> { base 29 chrome/browser/extensions/api/serial/serial_io_handler.h typedef base::Callback<void(const std::string& data, base 35 chrome/browser/extensions/api/serial/serial_io_handler.h typedef base::Callback<void(int bytes_written, api::serial::SendError error)> base 40 chrome/browser/extensions/api/serial/serial_io_handler.h void Initialize(base::PlatformFile file, base 114 chrome/browser/extensions/api/serial/serial_io_handler.h base::PlatformFile file() const { base 151 chrome/browser/extensions/api/serial/serial_io_handler.h friend class base::RefCounted<SerialIoHandler>; base 153 chrome/browser/extensions/api/serial/serial_io_handler.h base::PlatformFile file_; base 19 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); base 27 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); base 101 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); base 103 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc is_watching_reads_ = base::MessageLoopForIO::current()->WatchFileDescriptor( base 104 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc file(), true, base::MessageLoopForIO::WATCH_READ, base 111 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); base 114 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 115 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc file(), true, base::MessageLoopForIO::WATCH_WRITE, base 14 chrome/browser/extensions/api/serial/serial_io_handler_posix.h public base::MessageLoopForIO::Watcher { base 35 chrome/browser/extensions/api/serial/serial_io_handler_posix.h base::MessageLoopForIO::FileDescriptorWatcher file_read_watcher_; base 36 chrome/browser/extensions/api/serial/serial_io_handler_posix.h base::MessageLoopForIO::FileDescriptorWatcher file_write_watcher_; base 23 chrome/browser/extensions/api/serial/serial_io_handler_win.cc base::MessageLoopForIO::current()->RegisterIOHandler(file(), this); base 25 chrome/browser/extensions/api/serial/serial_io_handler_win.cc comm_context_.reset(new base::MessageLoopForIO::IOContext()); base 29 chrome/browser/extensions/api/serial/serial_io_handler_win.cc read_context_.reset(new base::MessageLoopForIO::IOContext()); base 33 chrome/browser/extensions/api/serial/serial_io_handler_win.cc write_context_.reset(new base::MessageLoopForIO::IOContext()); base 41 chrome/browser/extensions/api/serial/serial_io_handler_win.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); base 63 chrome/browser/extensions/api/serial/serial_io_handler_win.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); base 76 chrome/browser/extensions/api/serial/serial_io_handler_win.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); base 82 chrome/browser/extensions/api/serial/serial_io_handler_win.cc DCHECK_NE(file(), base::kInvalidPlatformFileValue); base 95 chrome/browser/extensions/api/serial/serial_io_handler_win.cc base::MessageLoopForIO::IOContext* context, base 15 chrome/browser/extensions/api/serial/serial_io_handler_win.h public base::MessageLoopForIO::IOHandler { base 31 chrome/browser/extensions/api/serial/serial_io_handler_win.h virtual void OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 36 chrome/browser/extensions/api/serial/serial_io_handler_win.h scoped_ptr<base::MessageLoopForIO::IOContext> comm_context_; base 39 chrome/browser/extensions/api/serial/serial_io_handler_win.h scoped_ptr<base::MessageLoopForIO::IOContext> read_context_; base 42 chrome/browser/extensions/api/serial/serial_io_handler_win.h scoped_ptr<base::MessageLoopForIO::IOContext> write_context_; base 27 chrome/browser/extensions/api/sessions/session_id.cc if (!base::StringToInt( base 45 chrome/browser/extensions/api/sessions/session_id.cc (session_tag_ + kIdSeparator + base::StringPrintf("%d", id_)) base 46 chrome/browser/extensions/api/sessions/session_id.cc : base::StringPrintf("%d", id_); base 84 chrome/browser/extensions/api/sessions/sessions_api.cc std::string title = base::UTF16ToUTF8(current_navigation.title()); base 93 chrome/browser/extensions/api/sessions/sessions_api.cc tab_struct->title.reset(new std::string(base::UTF16ToUTF8( base 149 chrome/browser/extensions/api/sessions/sessions_api.cc base::IntToString(session_id), base 171 chrome/browser/extensions/api/sessions/sessions_api.cc base::IntToString(session_id), base 409 chrome/browser/extensions/api/sessions/sessions_api.cc scoped_ptr<base::DictionaryValue> tab_value( base 413 chrome/browser/extensions/api/sessions/sessions_api.cc base::Time::Now().ToTimeT(), base 425 chrome/browser/extensions/api/sessions/sessions_api.cc scoped_ptr<base::DictionaryValue> window_value( base 430 chrome/browser/extensions/api/sessions/sessions_api.cc base::Time::Now().ToTimeT(), base 615 chrome/browser/extensions/api/sessions/sessions_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 638 chrome/browser/extensions/api/sessions/sessions_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<SessionsAPI> > base 106 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::FilePath path; base 109 chrome/browser/extensions/api/sessions/sessions_apitest.cc if (!base::PathExists(path)) base 110 chrome/browser/extensions/api/sessions/sessions_apitest.cc CHECK(base::CreateDirectory(path)); base 158 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_ptr<base::DictionaryValue> test_extension_value( base 186 chrome/browser/extensions/api/sessions/sessions_apitest.cc syncer::SyncData::CreateRemoteData(1, entity, base::Time())); base 191 chrome/browser/extensions/api/sessions/sessions_apitest.cc i + 2, entity, base::Time())); base 195 chrome/browser/extensions/api/sessions/sessions_apitest.cc associator_->AssociateForeignSpecifics(meta, base::Time()); base 199 chrome/browser/extensions/api/sessions/sessions_apitest.cc associator_->AssociateForeignSpecifics(*iter, base::Time()); base 219 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_ptr<base::ListValue> result(utils::ToList( base 225 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::ListValue* devices = result.get(); base 227 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::DictionaryValue* device = NULL; base 228 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::ListValue* sessions = NULL; base 240 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_ptr<base::ListValue> result(utils::ToList( base 246 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::ListValue* devices = result.get(); base 248 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::DictionaryValue* device = NULL; base 249 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::ListValue* sessions = NULL; base 259 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_ptr<base::ListValue> result(utils::ToList( base 266 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::ListValue* devices = result.get(); base 275 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_ptr<base::DictionaryValue> restored_window_session(utils::ToDictionary( base 283 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_ptr<base::ListValue> result(utils::ToList( base 290 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::ListValue* windows = result.get(); base 292 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::DictionaryValue* restored_window = NULL; base 295 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::DictionaryValue* window = NULL; base 325 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_ptr<base::ListValue> result(utils::ToList( base 331 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::ListValue* sessions = result.get(); base 28 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc base::LazyInstance<BrowserContextKeyedAPIFactory<SettingsOverridesAPI> > base 47 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.short_name = base::UTF8ToUTF16(search_provider.name); base 48 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.SetKeyword(base::UTF8ToUTF16(search_provider.keyword)); base 76 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.date_created = base::Time(); base 77 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc data.last_modified = base::Time(); base 113 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc base::Value* value) { base 150 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc new base::StringValue(SubstituteInstallParam( base 153 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc new base::FundamentalValue(false)); base 157 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc new base::FundamentalValue( base 163 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc scoped_ptr<base::ListValue> url_list(new base::ListValue); base 164 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc url_list->Append(new base::StringValue(SubstituteInstallParam( base 171 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc new base::FundamentalValue(true)); base 178 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc base::Bind(&SettingsOverridesAPI::OnTemplateURLsLoaded, base 179 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc base::Unretained(this))); base 39 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h base::Value* value); base 21 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc base::RunLoop* loop) base 25 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc base::Bind(&TemplateURLServiceObserver::StopLoop, base 26 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc base::Unretained(this))); base 35 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc base::RunLoop* runner_; base 45 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc base::RunLoop runner; base 86 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("name.de"), extension_provider->short_name()); base 87 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("keyword.de"), extension_provider->keyword()); base 17 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc using base::DictionaryValue; base 18 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc using base::Value; base 24 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc const base::DictionaryValue& id_mapping, base 26 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc for (base::DictionaryValue::Iterator it(id_mapping); base 29 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc const base::Value& value = it.value(); base 44 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc const base::DictionaryValue& id_mapping, base 54 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc const base::DictionaryValue& mapping, base 58 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc int rand_value = base::RandInt(0, max); base 60 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc const base::Value *out_value; base 63 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc string_value = base::IntToString(rand_value); base 72 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc base::DictionaryValue* value) { base 13 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h namespace base { base 32 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h const base::DictionaryValue& id_mapping, base 38 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h const base::DictionaryValue& id_mapping, base 49 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h base::DictionaryValue* value); base 22 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc const base::DictionaryValue& dictionary) { base 35 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc base::GenerateGUID(), "abc Device", "XYZ v1", "XYZ SyncAgent v1", base 39 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc base::GenerateGUID(), "def Device", "XYZ v1", "XYZ SyncAgent v1", base 42 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc base::DictionaryValue dictionary; base 56 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc base::GenerateGUID(), "ghi Device", "XYZ v1", "XYZ SyncAgent v1", base 18 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc using base::DictionaryValue; base 27 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc const base::DictionaryValue* GetIdMappingDictionary( base 30 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc const base::DictionaryValue* out_value = NULL; base 37 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc scoped_ptr<base::DictionaryValue> dictionary(new base::DictionaryValue()); base 56 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc const base::DictionaryValue* mapping_dictionary = GetIdMappingDictionary( base 63 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc scoped_ptr<base::DictionaryValue> editable_mapping_dictionary( base 112 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc base::ListValue* result = new base::ListValue(); base 123 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 33 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc base::MessageLoop message_loop_; base 43 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc base::GenerateGUID(), base 48 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc base::GenerateGUID(), base 78 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc base::GenerateGUID(), base 138 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc std::string GetPublicId(const base::DictionaryValue* dictionary) { base 147 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc void VerifyDictionaryWithDeviceInfo(const base::DictionaryValue* actual_value, base 152 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc scoped_ptr<base::DictionaryValue> expected_value(device_info->ToValue()); base 156 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc base::DictionaryValue* GetDictionaryFromList(int index, base 157 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc base::ListValue* value) { base 158 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc base::DictionaryValue* dictionary; base 172 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc base::GenerateGUID(), base 177 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc base::GenerateGUID(), base 190 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc scoped_ptr<base::ListValue> result(RunFunctionAndReturnList( base 83 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc scoped_ptr<base::ListValue> result = base 95 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc static base::LazyInstance< base 46 chrome/browser/extensions/api/socket/socket_api_unittest.cc scoped_ptr<base::DictionaryValue> result( base 51 chrome/browser/extensions/api/socket/socket_apitest.cc base::WaitableEvent resolver_event_; base 99 chrome/browser/extensions/api/socket/socket_apitest.cc base::FilePath app_dir_; base 113 chrome/browser/extensions/api/socket/socket_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 115 chrome/browser/extensions/api/socket/socket_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 116 chrome/browser/extensions/api/socket/socket_apitest.cc base::DictionaryValue *value = base 117 chrome/browser/extensions/api/socket/socket_apitest.cc static_cast<base::DictionaryValue*>(result.get()); base 131 chrome/browser/extensions/api/socket/socket_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 133 chrome/browser/extensions/api/socket/socket_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 134 chrome/browser/extensions/api/socket/socket_apitest.cc base::DictionaryValue *value = base 135 chrome/browser/extensions/api/socket/socket_apitest.cc static_cast<base::DictionaryValue*>(result.get()); base 149 chrome/browser/extensions/api/socket/socket_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 151 chrome/browser/extensions/api/socket/socket_apitest.cc ASSERT_EQ(base::Value::TYPE_LIST, result->GetType()); base 155 chrome/browser/extensions/api/socket/socket_apitest.cc base::ListValue *value = static_cast<base::ListValue*>(result.get()); base 164 chrome/browser/extensions/api/socket/socket_apitest.cc base::FilePath(FILE_PATH_LITERAL("net/data")))); base 182 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port)); base 192 chrome/browser/extensions/api/socket/socket_apitest.cc base::FilePath(FILE_PATH_LITERAL("net/data")))); base 210 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("tcp:%s:%d", host_port_pair.host().c_str(), port)); base 222 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("tcp_server:%s:%d", kHostname.c_str(), kPort)); base 248 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("multicast:%s:%d", kHostname.c_str(), kPort)); base 266 chrome/browser/extensions/api/socket/socket_apitest.cc base::FilePath(FILE_PATH_LITERAL("net/data")))); base 285 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port)); base 301 chrome/browser/extensions/api/socket/socket_apitest.cc base::FilePath(FILE_PATH_LITERAL("net/data")))); base 320 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("tcp:%s:%d", host_port_pair.host().c_str(), port)); base 342 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("tcp_server:%s:%d", kHostname.c_str(), kPort)); base 357 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("multicast:%s:%d", kHostname.c_str(), kPort)); base 84 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc socket->Read(count, base::Bind(&CompleteHandler::OnReadComplete, base 85 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc base::Unretained(&handler))); base 107 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc base::Bind(&CompleteHandler::OnComplete, base::Unretained(&handler))); base 125 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc base::Bind(&CompleteHandler::OnComplete, base::Unretained(&handler))); base 155 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc base::Bind(&CompleteHandler::OnComplete, base 156 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc base::Unretained(&handlers[i]))); base 230 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc socket->Accept(base::Bind(&CompleteHandler::OnAccept, base 231 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc base::Unretained(&handler))); base 42 chrome/browser/extensions/api/socket/udp_socket_unittest.cc base::MessageLoopForIO io_loop; // For RecvFrom to do its threaded work. base 47 chrome/browser/extensions/api/socket/udp_socket_unittest.cc socket.Connect("127.0.0.1", 40000, base::Bind(&OnConnected)); base 48 chrome/browser/extensions/api/socket/udp_socket_unittest.cc socket.RecvFrom(4096, base::Bind(&OnCompleted)); base 49 chrome/browser/extensions/api/socket/udp_socket_unittest.cc socket.RecvFrom(4096, base::Bind(&OnCompleted)); base 73 chrome/browser/extensions/api/socket/udp_socket_unittest.cc socket.Connect(kGroup, 13333, base::Bind(&OnConnected)); base 80 chrome/browser/extensions/api/socket/udp_socket_unittest.cc socket.Connect(kGroup, 13333, base::Bind(&OnConnected)); base 84 chrome/browser/extensions/api/socket/udp_socket_unittest.cc base::MessageLoopForIO::current()->QuitNow(); base 92 chrome/browser/extensions/api/socket/udp_socket_unittest.cc src->Write(data, test_message_length, base::Bind(&OnSendCompleted)); base 93 chrome/browser/extensions/api/socket/udp_socket_unittest.cc base::MessageLoopForIO::current()->PostDelayedTask(FROM_HERE, base 94 chrome/browser/extensions/api/socket/udp_socket_unittest.cc base::Bind(&SendMulticastPacket, src, result), base 95 chrome/browser/extensions/api/socket/udp_socket_unittest.cc base::TimeDelta::FromSeconds(1)); base 115 chrome/browser/extensions/api/socket/udp_socket_unittest.cc base::MessageLoopForIO io_loop; // For Read to do its threaded work. base 122 chrome/browser/extensions/api/socket/udp_socket_unittest.cc dest.Read(1024, base::Bind(&OnMulticastReadCompleted, &packet_received)); base 126 chrome/browser/extensions/api/socket/udp_socket_unittest.cc src.Connect(kGroup, kPort, base::Bind(&SendMulticastPacket, &src)); base 130 chrome/browser/extensions/api/socket/udp_socket_unittest.cc base::Bind(&QuitMessageLoop), base 50 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api_unittest.cc scoped_ptr<base::DictionaryValue> result(RunFunctionAndReturnDictionary( base 57 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc base::WaitableEvent resolver_event_; base 76 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 78 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 79 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc base::DictionaryValue *value = base 80 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc static_cast<base::DictionaryValue*>(result.get()); base 91 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc base::FilePath(FILE_PATH_LITERAL("net/data")))); base 109 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc base::StringPrintf("tcp:%s:%d", host_port_pair.host().c_str(), port)); base 63 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_api_unittest.cc scoped_ptr<base::DictionaryValue> result(RunFunctionAndReturnDictionary( base 59 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc base::WaitableEvent resolver_event_; base 77 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 79 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 80 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc base::DictionaryValue *value = base 81 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc static_cast<base::DictionaryValue*>(result.get()); base 88 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc base::FilePath path = test_data_dir_.AppendASCII("sockets_tcp_server/api"); base 95 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc base::StringPrintf("tcp_server:%s:%d", kHostname.c_str(), kPort)); base 101 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc base::FilePath path = test_data_dir_.AppendASCII("sockets_tcp_server/unload"); base 53 chrome/browser/extensions/api/sockets_udp/sockets_udp_api_unittest.cc scoped_ptr<base::DictionaryValue> result(RunFunctionAndReturnDictionary( base 59 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc base::WaitableEvent resolver_event_; base 78 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 80 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 81 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc base::DictionaryValue *value = base 82 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc static_cast<base::DictionaryValue*>(result.get()); base 93 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc base::FilePath(FILE_PATH_LITERAL("net/data")))); base 111 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port)); base 123 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc base::StringPrintf("multicast:%s:%d", kHostname.c_str(), kPort)); base 54 chrome/browser/extensions/api/spellcheck/spellcheck_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<SpellcheckAPI> > base 92 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::WeakPtr<ExtensionTracker> self); base 98 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::WeakPtrFactory<ExtensionTracker> weak_factory_; base 118 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::Bind(&ExtensionTracker::OnExtensionsReady, base 178 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::Bind(&ExtensionTracker::LoadSchemasOnBlockingPool, base 179 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::Passed(&added), base 195 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::WeakPtr<ExtensionTracker> self) { base 218 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::Bind(&ExtensionTracker::Register, self, base 219 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::Owned(components.release()))); base 333 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::Bind(&ManagedValueStoreCache::UpdatePolicyOnFILE, base 334 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::Unretained(this), base 336 chrome/browser/extensions/api/storage/managed_value_store_cache.cc base::Passed(current.DeepCopy()))); base 375 chrome/browser/extensions/api/storage/managed_value_store_cache.cc return base::DirectoryExists(base_path_.AppendASCII(extension_id)); base 96 chrome/browser/extensions/api/storage/managed_value_store_cache.h base::FilePath base_path_; base 45 chrome/browser/extensions/api/storage/policy_value_store.cc base::DictionaryValue current_policy; base 58 chrome/browser/extensions/api/storage/policy_value_store.cc base::DictionaryValue previous_policy; base 84 chrome/browser/extensions/api/storage/policy_value_store.cc for (base::DictionaryValue::Iterator it(previous_policy); base 153 chrome/browser/extensions/api/storage/policy_value_store.cc WriteOptions options, const std::string& key, const base::Value& value) { base 158 chrome/browser/extensions/api/storage/policy_value_store.cc WriteOptions options, const base::DictionaryValue& settings) { base 52 chrome/browser/extensions/api/storage/policy_value_store.h const base::Value& value) OVERRIDE; base 54 chrome/browser/extensions/api/storage/policy_value_store.h WriteOptions options, const base::DictionaryValue& values) OVERRIDE; base 44 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc explicit MutablePolicyValueStore(const base::FilePath& path) base 53 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc const base::Value& value) OVERRIDE { base 58 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc WriteOptions options, const base::DictionaryValue& values) OVERRIDE { base 78 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc ValueStore* Param(const base::FilePath& file_path) { base 112 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc base::ScopedTempDir scoped_temp_dir_; base 113 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc base::MessageLoop loop_; base 122 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc base::FundamentalValue expected(123); base 127 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc new base::FundamentalValue(456), NULL); base 132 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc base::Value* value = NULL; base 135 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 141 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc base::StringValue string_value("value"); base 144 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc base::DictionaryValue dict; base 157 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc const base::StringValue value("111"); base 191 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc const base::StringValue new_value("222"); base 49 chrome/browser/extensions/api/storage/setting_sync_data.cc scoped_ptr<base::Value> value( base 50 chrome/browser/extensions/api/storage/setting_sync_data.cc base::JSONReader::Read(specifics.value())); base 54 chrome/browser/extensions/api/storage/setting_sync_data.cc value.reset(new base::DictionaryValue()); base 67 chrome/browser/extensions/api/storage/setting_sync_data.cc scoped_ptr<base::Value> value) base 84 chrome/browser/extensions/api/storage/setting_sync_data.cc const base::Value& SettingSyncData::value() const { base 92 chrome/browser/extensions/api/storage/setting_sync_data.cc scoped_ptr<base::Value> value) base 38 chrome/browser/extensions/api/storage/setting_sync_data.h scoped_ptr<base::Value> value); base 52 chrome/browser/extensions/api/storage/setting_sync_data.h const base::Value& value() const; base 57 chrome/browser/extensions/api/storage/setting_sync_data.h class Internal : public base::RefCountedThreadSafe<Internal> { base 63 chrome/browser/extensions/api/storage/setting_sync_data.h scoped_ptr<base::Value> value); base 68 chrome/browser/extensions/api/storage/setting_sync_data.h scoped_ptr<base::Value> value_; base 71 chrome/browser/extensions/api/storage/setting_sync_data.h friend class base::RefCountedThreadSafe<Internal>; base 123 chrome/browser/extensions/api/storage/settings_apitest.cc base::MessageLoop::current()->RunUntilIdle(); base 128 chrome/browser/extensions/api/storage/settings_apitest.cc base::MessageLoop::current()->RunUntilIdle(); base 133 chrome/browser/extensions/api/storage/settings_apitest.cc void SetPolicies(const base::DictionaryValue& policies) { base 177 chrome/browser/extensions/api/storage/settings_apitest.cc scoped_ptr<base::DictionaryValue> message(new base::DictionaryValue()); base 182 chrome/browser/extensions/api/storage/settings_apitest.cc base::JSONWriter::Write(message.get(), &message_json); base 339 chrome/browser/extensions/api/storage/settings_apitest.cc base::StringValue bar("bar"); base 384 chrome/browser/extensions/api/storage/settings_apitest.cc base::StringValue bar("bar"); base 424 chrome/browser/extensions/api/storage/settings_apitest.cc base::RunLoop run_loop; base 458 chrome/browser/extensions/api/storage/settings_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema->type()); base 460 chrome/browser/extensions/api/storage/settings_apitest.cc EXPECT_EQ(base::Value::TYPE_STRING, base 463 chrome/browser/extensions/api/storage/settings_apitest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, base 466 chrome/browser/extensions/api/storage/settings_apitest.cc EXPECT_EQ(base::Value::TYPE_DOUBLE, base 469 chrome/browser/extensions/api/storage/settings_apitest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, base 474 chrome/browser/extensions/api/storage/settings_apitest.cc ASSERT_EQ(base::Value::TYPE_LIST, list.type()); base 476 chrome/browser/extensions/api/storage/settings_apitest.cc EXPECT_EQ(base::Value::TYPE_STRING, list.GetItems().type()); base 480 chrome/browser/extensions/api/storage/settings_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, dict.type()); base 483 chrome/browser/extensions/api/storage/settings_apitest.cc ASSERT_EQ(base::Value::TYPE_LIST, list.type()); base 486 chrome/browser/extensions/api/storage/settings_apitest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, dict.type()); base 488 chrome/browser/extensions/api/storage/settings_apitest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, dict.GetProperty("anything").type()); base 493 chrome/browser/extensions/api/storage/settings_apitest.cc scoped_ptr<base::DictionaryValue> policy = extensions::DictionaryBuilder() base 524 chrome/browser/extensions/api/storage/settings_apitest.cc scoped_ptr<base::DictionaryValue> policy = extensions::DictionaryBuilder() base 34 chrome/browser/extensions/api/storage/settings_sync_processor.cc void SettingsSyncProcessor::Init(const base::DictionaryValue& initial_state) { base 38 chrome/browser/extensions/api/storage/settings_sync_processor.cc for (base::DictionaryValue::Iterator i(initial_state); !i.IsAtEnd(); base 57 chrome/browser/extensions/api/storage/settings_sync_processor.cc const base::Value* value = i->new_value(); base 34 chrome/browser/extensions/api/storage/settings_sync_processor.h void Init(const base::DictionaryValue& initial_state); base 28 chrome/browser/extensions/api/storage/settings_sync_unittest.cc using base::DictionaryValue; base 29 chrome/browser/extensions/api/storage/settings_sync_unittest.cc using base::ListValue; base 30 chrome/browser/extensions/api/storage/settings_sync_unittest.cc using base::Value; base 43 chrome/browser/extensions/api/storage/settings_sync_unittest.cc static std::string GetJson(const base::Value& value) { base 45 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::JSONWriter::WriteWithOptions(&value, base 46 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 54 chrome/browser/extensions/api/storage/settings_sync_unittest.cc const base::Value* expected, base 55 chrome/browser/extensions/api/storage/settings_sync_unittest.cc const base::Value* actual) { base 78 chrome/browser/extensions/api/storage/settings_sync_unittest.cc const base::DictionaryValue& expected, base 146 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<base::Value>( base 147 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new base::DictionaryValue())); base 171 chrome/browser/extensions/api/storage/settings_sync_unittest.cc virtual ValueStore* Create(const base::FilePath& base_path, base 182 chrome/browser/extensions/api/storage/settings_sync_unittest.cc const base::FilePath& base_path, base 199 chrome/browser/extensions/api/storage/settings_sync_unittest.cc : ui_thread_(BrowserThread::UI, base::MessageLoop::current()), base 200 chrome/browser/extensions/api/storage/settings_sync_unittest.cc file_thread_(BrowserThread::FILE, base::MessageLoop::current()), base 233 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 255 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::MessageLoop message_loop_; base 259 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::ScopedTempDir temp_dir_; base 299 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue value1("fooValue"); base 300 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::ListValue value2; base 301 chrome/browser/extensions/api/storage/settings_sync_unittest.cc value2.Append(new base::StringValue("barValue")); base 350 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue value1("fooValue"); base 351 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::ListValue value2; base 352 chrome/browser/extensions/api/storage/settings_sync_unittest.cc value2.Append(new base::StringValue("barValue")); base 382 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue value1("fooValue"); base 383 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::ListValue value2; base 384 chrome/browser/extensions/api/storage/settings_sync_unittest.cc value2.Append(new base::StringValue("barValue")); base 388 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue expected1, expected2; base 423 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue value1("fooValue"); base 424 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::ListValue value2; base 425 chrome/browser/extensions/api/storage/settings_sync_unittest.cc value2.Append(new base::StringValue("barValue")); base 429 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue expected1, expected2; base 497 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue value1("fooValue"); base 498 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::ListValue value2; base 499 chrome/browser/extensions/api/storage/settings_sync_unittest.cc value2.Append(new base::StringValue("barValue")); base 637 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue value1("fooValue"); base 638 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::ListValue value2; base 639 chrome/browser/extensions/api/storage/settings_sync_unittest.cc value2.Append(new base::StringValue("barValue")); base 696 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue fooValue("fooValue"); base 697 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue barValue("barValue"); base 726 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 731 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 746 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 752 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 771 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 777 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 794 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 800 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 819 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 825 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 878 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 884 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 896 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue fooValue("fooValue"); base 897 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue barValue("barValue"); base 923 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 928 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 946 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 952 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 978 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 984 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 994 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue fooValue("fooValue"); base 995 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue barValue("barValue"); base 1049 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue fooValue("fooValue"); base 1050 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue barValue("barValue"); base 1098 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 1104 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 1153 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue fooValue("fooValue"); base 1154 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue barValue("barValue"); base 1194 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 1200 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 1244 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue fooValue("fooValue"); base 1245 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue barValue("barValue"); base 1291 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 1297 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue dict; base 1347 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::StringValue large_value(string_5k); base 1371 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue expected; base 1388 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<base::Value> string_value(new base::StringValue("value")); base 1405 chrome/browser/extensions/api/storage/settings_sync_unittest.cc base::DictionaryValue expected_data; base 1408 chrome/browser/extensions/api/storage/settings_sync_unittest.cc new base::StringValue("value")); base 1409 chrome/browser/extensions/api/storage/settings_sync_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected_data, &data->settings())); base 1414 chrome/browser/extensions/api/storage/settings_sync_unittest.cc scoped_ptr<base::Value> string_value(new base::StringValue("spot")); base 27 chrome/browser/extensions/api/storage/settings_sync_util.cc const base::Value& value, base 33 chrome/browser/extensions/api/storage/settings_sync_util.cc base::JSONWriter::Write(&value, &value_as_json); base 41 chrome/browser/extensions/api/storage/settings_sync_util.cc const base::Value& value, base 52 chrome/browser/extensions/api/storage/settings_sync_util.cc const base::Value& value, base 83 chrome/browser/extensions/api/storage/settings_sync_util.cc const base::Value& value, base 94 chrome/browser/extensions/api/storage/settings_sync_util.cc const base::Value& value, base 106 chrome/browser/extensions/api/storage/settings_sync_util.cc base::DictionaryValue no_value; base 11 chrome/browser/extensions/api/storage/settings_sync_util.h namespace base { base 31 chrome/browser/extensions/api/storage/settings_sync_util.h const base::Value& value, base 38 chrome/browser/extensions/api/storage/settings_sync_util.h const base::Value& value, base 45 chrome/browser/extensions/api/storage/settings_sync_util.h const base::Value& value, base 22 chrome/browser/extensions/api/storage/sync_storage_backend.cc const base::DictionaryValue& src, base 25 chrome/browser/extensions/api/storage/sync_storage_backend.cc for (base::DictionaryValue::Iterator it(src); !it.IsAtEnd(); it.Advance()) { base 35 chrome/browser/extensions/api/storage/sync_storage_backend.cc const base::FilePath& base_path, base 55 chrome/browser/extensions/api/storage/sync_storage_backend.cc base::DictionaryValue empty; base 61 chrome/browser/extensions/api/storage/sync_storage_backend.cc const base::DictionaryValue& sync_data) const { base 120 chrome/browser/extensions/api/storage/sync_storage_backend.cc base::FileEnumerator extension_dirs( base 121 chrome/browser/extensions/api/storage/sync_storage_backend.cc base_path_, false, base::FileEnumerator::DIRECTORIES); base 123 chrome/browser/extensions/api/storage/sync_storage_backend.cc base::FilePath extension_dir = extension_dirs.GetInfo().GetName(); base 151 chrome/browser/extensions/api/storage/sync_storage_backend.cc GetOrCreateStorageWithSyncData(*it, base::DictionaryValue())->Get(); base 178 chrome/browser/extensions/api/storage/sync_storage_backend.cc std::map<std::string, linked_ptr<base::DictionaryValue> > grouped_sync_data; base 183 chrome/browser/extensions/api/storage/sync_storage_backend.cc linked_ptr<base::DictionaryValue> sync_data = base 187 chrome/browser/extensions/api/storage/sync_storage_backend.cc linked_ptr<base::DictionaryValue>(new base::DictionaryValue()); base 201 chrome/browser/extensions/api/storage/sync_storage_backend.cc std::map<std::string, linked_ptr<base::DictionaryValue> >::iterator base 210 chrome/browser/extensions/api/storage/sync_storage_backend.cc base::DictionaryValue empty; base 221 chrome/browser/extensions/api/storage/sync_storage_backend.cc for (std::map<std::string, linked_ptr<base::DictionaryValue> >::iterator it = base 247 chrome/browser/extensions/api/storage/sync_storage_backend.cc base::DictionaryValue empty; base 42 chrome/browser/extensions/api/storage/sync_storage_backend.h const base::FilePath& base_path, base 71 chrome/browser/extensions/api/storage/sync_storage_backend.h const base::DictionaryValue& sync_data) const; base 85 chrome/browser/extensions/api/storage/sync_storage_backend.h const base::FilePath base_path_; base 42 chrome/browser/extensions/api/storage/sync_value_store_cache.cc const base::FilePath& profile_path) base 51 chrome/browser/extensions/api/storage/sync_value_store_cache.cc base::Bind(&SyncValueStoreCache::InitOnFileThread, base 52 chrome/browser/extensions/api/storage/sync_value_store_cache.cc base::Unretained(this), base 95 chrome/browser/extensions/api/storage/sync_value_store_cache.cc const base::FilePath& profile_path) { base 16 chrome/browser/extensions/api/storage/sync_value_store_cache.h namespace base { base 36 chrome/browser/extensions/api/storage/sync_value_store_cache.h const base::FilePath& profile_path); base 50 chrome/browser/extensions/api/storage/sync_value_store_cache.h const base::FilePath& profile_path); base 72 chrome/browser/extensions/api/storage/syncable_settings_storage.cc WriteOptions options, const std::string& key, const base::Value& value) { base 83 chrome/browser/extensions/api/storage/syncable_settings_storage.cc WriteOptions options, const base::DictionaryValue& values) { base 167 chrome/browser/extensions/api/storage/syncable_settings_storage.cc const base::DictionaryValue& sync_state, base 180 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::StringPrintf("Failed to get settings: %s", base 185 chrome/browser/extensions/api/storage/syncable_settings_storage.cc const base::DictionaryValue& settings = maybe_settings->settings(); base 192 chrome/browser/extensions/api/storage/syncable_settings_storage.cc const base::DictionaryValue& settings) { base 196 chrome/browser/extensions/api/storage/syncable_settings_storage.cc for (base::DictionaryValue::Iterator i(settings); !i.IsAtEnd(); i.Advance()) { base 211 chrome/browser/extensions/api/storage/syncable_settings_storage.cc const base::DictionaryValue& sync_state, base 212 chrome/browser/extensions/api/storage/syncable_settings_storage.cc const base::DictionaryValue& settings) { base 216 chrome/browser/extensions/api/storage/syncable_settings_storage.cc scoped_ptr<base::DictionaryValue> new_sync_state(sync_state.DeepCopy()); base 219 chrome/browser/extensions/api/storage/syncable_settings_storage.cc for (base::DictionaryValue::Iterator it(settings); base 221 chrome/browser/extensions/api/storage/syncable_settings_storage.cc scoped_ptr<base::Value> sync_value; base 241 chrome/browser/extensions/api/storage/syncable_settings_storage.cc scoped_ptr<base::Value>(new base::DictionaryValue()))); base 247 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::DictionaryValue::Iterator first_entry(*new_sync_state); base 249 chrome/browser/extensions/api/storage/syncable_settings_storage.cc scoped_ptr<base::Value> value; base 291 chrome/browser/extensions/api/storage/syncable_settings_storage.cc const base::Value& value = it->value(); base 293 chrome/browser/extensions/api/storage/syncable_settings_storage.cc scoped_ptr<base::Value> current_value; base 300 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::StringPrintf("Error getting current sync state for %s/%s: %s", base 371 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::Value* new_value, base 379 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::StringPrintf("Error pushing sync add to local settings: %s", base 389 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::Value* old_value, base 390 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::Value* new_value, base 399 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::StringPrintf("Error pushing sync update to local settings: %s", base 409 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::Value* old_value, base 417 chrome/browser/extensions/api/storage/syncable_settings_storage.cc base::StringPrintf("Error pushing sync remove to local settings: %s", base 46 chrome/browser/extensions/api/storage/syncable_settings_storage.h const base::Value& value) OVERRIDE; base 48 chrome/browser/extensions/api/storage/syncable_settings_storage.h WriteOptions options, const base::DictionaryValue& values) OVERRIDE; base 61 chrome/browser/extensions/api/storage/syncable_settings_storage.h const base::DictionaryValue& sync_state, base 76 chrome/browser/extensions/api/storage/syncable_settings_storage.h const base::DictionaryValue& settings); base 80 chrome/browser/extensions/api/storage/syncable_settings_storage.h const base::DictionaryValue& sync_state, base 81 chrome/browser/extensions/api/storage/syncable_settings_storage.h const base::DictionaryValue& settings); base 87 chrome/browser/extensions/api/storage/syncable_settings_storage.h base::Value* new_value, base 91 chrome/browser/extensions/api/storage/syncable_settings_storage.h base::Value* old_value, base 92 chrome/browser/extensions/api/storage/syncable_settings_storage.h base::Value* new_value, base 96 chrome/browser/extensions/api/storage/syncable_settings_storage.h base::Value* old_value, base 27 chrome/browser/extensions/api/streams_private/streams_private_api.cc base::DictionaryValue* result) { base 35 chrome/browser/extensions/api/streams_private/streams_private_api.cc base::Value* existing_value = NULL; base 37 chrome/browser/extensions/api/streams_private/streams_private_api.cc base::StringValue* existing_string_value = base 38 chrome/browser/extensions/api/streams_private/streams_private_api.cc static_cast<base::StringValue*>(existing_value); base 98 chrome/browser/extensions/api/streams_private/streams_private_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<StreamsPrivateAPI> > base 67 chrome/browser/extensions/api/streams_private/streams_private_api.h base::WeakPtrFactory<StreamsPrivateAPI> weak_ptr_factory_; base 131 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc test_server_->RegisterRequestHandler(base::Bind(&HandleRequest)); base 228 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc base::ScopedTempDir downloads_dir_; base 249 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc base::MessageLoop::current()->RunUntilIdle(); base 291 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc base::MessageLoop::current()->RunUntilIdle(); base 360 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc base::FilePath target_path = base 411 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc base::MessageLoop::current()->RunUntilIdle(); base 27 chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc static base::LazyInstance< base 79 chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc scoped_ptr<base::ListValue> params( base 93 chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc scoped_ptr<base::ListValue> params(new base::ListValue()); base 119 chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc scoped_ptr<base::ListValue> values) { base 71 chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.h scoped_ptr<base::ListValue> value); base 60 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc return base::StringPrintf( base 92 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc base::File::Error error) { base 105 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc if (error != base::File::FILE_OK) { base 107 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc SetResult(new base::FundamentalValue(false)); base 112 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc SetResult(new base::FundamentalValue(true)); base 131 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc base::Bind(&self::DidOpenFileSystem, this))); base 146 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc base::File::Error error) { base 158 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc if (error != base::File::FILE_OK) { base 164 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 212 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc base::ListValue* file_entry_urls = NULL; base 263 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc base::ListValue* status_array = new base::ListValue(); base 266 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 349 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc SetError(base::StringPrintf(kUnsupportedConflictResolutionPolicy, base 372 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc SetResult(new base::StringValue( base 38 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h void DidDeleteFileSystem(base::File::Error error); base 118 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h base::File::Error error); base 108 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc base::DictionaryValue* CreateDictionaryValueForFileSystemEntry( base 114 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc std::string file_path = base::FilePath( base 124 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc base::DictionaryValue* dict = new base::DictionaryValue; base 20 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.h namespace base { base 55 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.h base::DictionaryValue* CreateDictionaryValueForFileSystemEntry( base 87 chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc base::MessageLoopProxy::current()->PostTask( base 88 chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc FROM_HERE, base::Bind(arg1, sync_file_system::SYNC_STATUS_OK)); base 104 chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc base::FilePath(FILE_PATH_LITERAL("foo.txt"))); base 106 chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc base::MessageLoopProxy::current()->PostTask( base 107 chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc FROM_HERE, base::Bind(arg0, base 124 chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc base::FilePath conflicting = base::FilePath::FromUTF8Unsafe("Conflicting"); base 14 chrome/browser/extensions/api/system_cpu/cpu_info_provider.cc base::LazyInstance<scoped_refptr<CpuInfoProvider> > base 32 chrome/browser/extensions/api/system_cpu/cpu_info_provider.cc info_.num_of_processors = base::SysInfo::NumberOfProcessors(); base 33 chrome/browser/extensions/api/system_cpu/cpu_info_provider.cc info_.arch_name = base::SysInfo::OperatingSystemArchitecture(); base 34 chrome/browser/extensions/api/system_cpu/cpu_info_provider.cc info_.model_name = base::SysInfo::CPUModelName(); base 52 chrome/browser/extensions/api/system_cpu/cpu_info_provider.h static base::LazyInstance<scoped_refptr<CpuInfoProvider> > provider_; base 53 chrome/browser/extensions/api/system_cpu/cpu_info_provider.h base::CPU cpu_; base 26 chrome/browser/extensions/api/system_cpu/cpu_info_provider_linux.cc if (!base::ReadFileToString(base::FilePath(kProcStat), &contents)) base 19 chrome/browser/extensions/api/system_cpu/cpu_info_provider_mac.cc base::mac::ScopedMachPort host(mach_host_self()); base 29 chrome/browser/extensions/api/system_cpu/cpu_info_provider_mac.cc static_cast<natural_t>(base::SysInfo::NumberOfProcessors())); base 39 chrome/browser/extensions/api/system_cpu/cpu_info_provider_win.cc int num_of_processors = base::SysInfo::NumberOfProcessors(); base 23 chrome/browser/extensions/api/system_cpu/system_cpu_api.cc base::Bind(&SystemCpuGetInfoFunction::OnGetCpuInfoCompleted, this)); base 37 chrome/browser/extensions/api/system_display/display_info_provider.cc unit->id = base::Int64ToString(display.id()); base 189 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc if (!base::StringToInt64(*info.mirroring_source_id, &mirroring_id) || base 196 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc if (*info.mirroring_source_id == base::Int64ToString(display.id())) { base 275 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc if (!base::StringToInt64(display_id_str, &display_id)) { base 371 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc base::Int64ToString(display_manager->mirrored_display_id()); base 55 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc return base::StringPrintf("%d,%d,%d,%d", base 62 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc return base::StringPrintf("%d,%d %dx%d", base 76 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc ASSERT_TRUE(base::StringToInt64(result[0]->id, &display_id)) base 89 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc ASSERT_TRUE(base::StringToInt64(result[1]->id, &display_id)) base 115 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc ASSERT_TRUE(base::StringToInt64(result[0]->id, &display_id)) base 128 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(base::Int64ToString(display_id), result[0]->id); base 138 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(base::Int64ToString(display_id), result[0]->id); base 148 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(base::Int64ToString(display_id), result[0]->id); base 193 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc ASSERT_TRUE(base::StringToInt64(result[1]->id, &display_id)) base 209 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(base::Int64ToString(display_id), result[1]->id); base 216 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc ASSERT_TRUE(base::StringToInt64(result[0]->id, &display_id)) base 229 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(base::Int64ToString(display_id), result[0]->id); base 243 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc ASSERT_TRUE(base::StringToInt64(result[0]->id, &display_id_primary)) base 249 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc ASSERT_TRUE(base::StringToInt64(result[1]->id, &display_id_secondary)) base 264 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(base::Int64ToString(display_id_primary), result[0]->id); base 265 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(base::Int64ToString(display_id_secondary), base 274 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(base::Int64ToString(display_id_primary), result[0]->id); base 276 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(base::Int64ToString(display_id_secondary), result[1]->id); base 322 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 341 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 360 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 379 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 398 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 417 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 436 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 456 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 476 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 496 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 516 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 535 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 554 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 573 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 592 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 611 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 630 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 651 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc new std::string(base::Int64ToString(primary.id()))); base 655 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 672 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 682 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 694 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 705 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 725 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 742 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 753 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 764 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 775 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 786 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 809 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 831 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 852 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(secondary.id()), info, base 884 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc CallSetDisplayUnitInfo(base::Int64ToString(internal_display_id), info, base 42 chrome/browser/extensions/api/system_display/display_info_provider_win.cc unit->id = base::Int64ToString( base 43 chrome/browser/extensions/api/system_display/display_info_provider_win.cc base::Hash(base::WideToUTF8(monitor_info.szDevice))); base 44 chrome/browser/extensions/api/system_display/display_info_provider_win.cc unit->name = base::WideToUTF8(device.DeviceString); base 132 chrome/browser/extensions/api/system_display/system_display_apitest.cc scoped_ptr<base::DictionaryValue> GetSetInfoValue() { base 147 chrome/browser/extensions/api/system_display/system_display_apitest.cc unit->name = "DISPLAY NAME FOR " + base::Int64ToString(id); base 164 chrome/browser/extensions/api/system_display/system_display_apitest.cc scoped_ptr<base::DictionaryValue> set_info_value_; base 216 chrome/browser/extensions/api/system_display/system_display_apitest.cc scoped_ptr<base::DictionaryValue> set_info = provider_->GetSetInfoValue(); base 223 chrome/browser/extensions/api/system_display/system_display_apitest.cc scoped_ptr<base::DictionaryValue> test_extension_value(utils::ParseDictionary( base 247 chrome/browser/extensions/api/system_display/system_display_apitest.cc scoped_ptr<base::DictionaryValue> set_info = provider_->GetSetInfoValue(); base 252 chrome/browser/extensions/api/system_display/system_display_apitest.cc scoped_ptr<base::DictionaryValue> test_extension_value(utils::ParseDictionary( base 285 chrome/browser/extensions/api/system_display/system_display_apitest.cc scoped_ptr<base::DictionaryValue> set_info = provider_->GetSetInfoValue(); base 293 chrome/browser/extensions/api/system_display/system_display_apitest.cc base::DictionaryValue* overscan; base 32 chrome/browser/extensions/api/system_indicator/system_indicator_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII(test_name); base 84 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc scoped_ptr<base::ListValue> params( base 115 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc base::string16 tool_tip = base::UTF8ToUTF16(extension_->name()); base 73 chrome/browser/extensions/api/system_indicator/system_indicator_manager.h base::ThreadChecker thread_checker_; base 83 chrome/browser/extensions/api/system_info/system_info_api.cc scoped_ptr<base::ListValue> args); base 96 chrome/browser/extensions/api/system_info/system_info_api.cc static base::LazyInstance<SystemInfoEventRouter>::Leaky base 170 chrome/browser/extensions/api/system_info/system_info_api.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 177 chrome/browser/extensions/api/system_info/system_info_api.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 200 chrome/browser/extensions/api/system_info/system_info_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 205 chrome/browser/extensions/api/system_info/system_info_api.cc scoped_ptr<base::ListValue> args) { base 220 chrome/browser/extensions/api/system_info/system_info_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<SystemInfoAPI> > base 248 chrome/browser/extensions/api/system_info/system_info_api.cc base::Bind(&AddEventListener, details.event_name)); base 257 chrome/browser/extensions/api/system_info/system_info_api.cc base::Bind(&RemoveEventListener, details.event_name)); base 14 chrome/browser/extensions/api/system_info/system_info_provider.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 17 chrome/browser/extensions/api/system_info/system_info_provider.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 24 chrome/browser/extensions/api/system_info/system_info_provider.cc void SystemInfoProvider::InitializeProvider(const base::Closure& base 41 chrome/browser/extensions/api/system_info/system_info_provider.cc InitializeProvider(base::Bind( base 61 chrome/browser/extensions/api/system_info/system_info_provider.cc base::PostTaskAndReplyWithResult( base 64 chrome/browser/extensions/api/system_info/system_info_provider.cc base::Bind(&SystemInfoProvider::QueryInfo, this), base 65 chrome/browser/extensions/api/system_info/system_info_provider.cc base::Bind(&SystemInfoProvider::OnQueryCompleted, this)); base 33 chrome/browser/extensions/api/system_info/system_info_provider.h : public base::RefCountedThreadSafe<SystemInfoProvider> { base 38 chrome/browser/extensions/api/system_info/system_info_provider.h typedef base::Callback<void(bool)> QueryInfoCompletionCallback; base 55 chrome/browser/extensions/api/system_info/system_info_provider.h virtual void InitializeProvider(const base::Closure& do_query_info_callback); base 69 chrome/browser/extensions/api/system_info/system_info_provider.h friend class base::RefCountedThreadSafe<SystemInfoProvider>; base 91 chrome/browser/extensions/api/system_info/system_info_provider.h scoped_refptr<base::SequencedTaskRunner> worker_pool_; base 14 chrome/browser/extensions/api/system_memory/memory_info_provider.cc base::LazyInstance<scoped_refptr<MemoryInfoProvider> > base 32 chrome/browser/extensions/api/system_memory/memory_info_provider.cc info_.capacity = static_cast<double>(base::SysInfo::AmountOfPhysicalMemory()); base 34 chrome/browser/extensions/api/system_memory/memory_info_provider.cc static_cast<double>(base::SysInfo::AmountOfAvailablePhysicalMemory()); base 40 chrome/browser/extensions/api/system_memory/memory_info_provider.h static base::LazyInstance<scoped_refptr<MemoryInfoProvider> > provider_; base 19 chrome/browser/extensions/api/system_memory/system_memory_api.cc base::Bind(&SystemMemoryGetInfoFunction::OnGetMemoryInfoCompleted, this)); base 33 chrome/browser/extensions/api/system_memory/system_memory_apitest.cc message_loop_.reset(new base::MessageLoopForUI); base 37 chrome/browser/extensions/api/system_memory/system_memory_apitest.cc scoped_ptr<base::MessageLoop> message_loop_; base 22 chrome/browser/extensions/api/system_network/system_network_api.cc base::Bind(&SystemNetworkGetNetworkInterfacesFunction:: base 33 chrome/browser/extensions/api/system_network/system_network_api.cc base::Bind(&SystemNetworkGetNetworkInterfacesFunction:: base 40 chrome/browser/extensions/api/system_network/system_network_api.cc base::Bind(&SystemNetworkGetNetworkInterfacesFunction:: base 43 chrome/browser/extensions/api/system_network/system_network_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 45 chrome/browser/extensions/api/system_network/system_network_apitest.cc ASSERT_EQ(base::Value::TYPE_LIST, result->GetType()); base 49 chrome/browser/extensions/api/system_network/system_network_apitest.cc base::ListValue *value = static_cast<base::ListValue*>(result.get()); base 52 chrome/browser/extensions/api/system_network/system_network_apitest.cc for (base::ListValue::const_iterator it = value->begin(); base 54 chrome/browser/extensions/api/system_network/system_network_apitest.cc base::Value* network_interface_value = *it; base 50 chrome/browser/extensions/api/system_private/system_private_api.cc void DispatchEvent(const std::string& event_name, base::Value* argument) { base 51 chrome/browser/extensions/api/system_private/system_private_api.cc scoped_ptr<base::ListValue> list_args(new base::ListValue()); base 71 chrome/browser/extensions/api/system_private/system_private_api.cc SetResult(new base::StringValue(kIncognitoModeAvailabilityStrings[value])); base 128 chrome/browser/extensions/api/system_private/system_private_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 137 chrome/browser/extensions/api/system_private/system_private_api.cc SetResult(new base::StringValue(google_apis::GetAPIKey())); base 142 chrome/browser/extensions/api/system_private/system_private_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 149 chrome/browser/extensions/api/system_private/system_private_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 20 chrome/browser/extensions/api/system_storage/storage_api_test_util.cc base::FilePath::StringType(), /* no location */ base 21 chrome/browser/extensions/api/system_storage/storage_api_test_util.cc base::UTF8ToUTF16(unit.name), /* storage label */ base 22 chrome/browser/extensions/api/system_storage/storage_api_test_util.cc base::string16(), /* no storage vendor */ base 23 chrome/browser/extensions/api/system_storage/storage_api_test_util.cc base::string16(), /* no storage model */ base 31 chrome/browser/extensions/api/system_storage/storage_info_provider.cc unit->name = base::UTF16ToUTF8(info.GetDisplayName(false)); base 41 chrome/browser/extensions/api/system_storage/storage_info_provider.cc base::LazyInstance<scoped_refptr<StorageInfoProvider> > base 66 chrome/browser/extensions/api/system_storage/storage_info_provider.cc const base::Closure& do_query_info_callback) { base 109 chrome/browser/extensions/api/system_storage/storage_info_provider.cc return static_cast<double>(base::SysInfo::AmountOfFreeDiskSpace( base 110 chrome/browser/extensions/api/system_storage/storage_info_provider.cc base::FilePath(it->location()))); base 38 chrome/browser/extensions/api/system_storage/storage_info_provider.h typedef base::Callback<void(const std::string&, double)> base 46 chrome/browser/extensions/api/system_storage/storage_info_provider.h virtual void InitializeProvider(const base::Closure& do_query_info_callback) base 79 chrome/browser/extensions/api/system_storage/storage_info_provider.h static base::LazyInstance<scoped_refptr<StorageInfoProvider> > provider_; base 23 chrome/browser/extensions/api/system_storage/system_storage_api.cc base::Bind(&SystemStorageGetInfoFunction::OnGetStorageInfoCompleted, base 48 chrome/browser/extensions/api/system_storage/system_storage_api.cc StorageMonitor::GetInstance()->EnsureInitialized(base::Bind( base 70 chrome/browser/extensions/api/system_storage/system_storage_api.cc base::Bind(&SystemStorageEjectDeviceFunction::HandleResponse, base 93 chrome/browser/extensions/api/system_storage/system_storage_api.cc SetResult(new base::StringValue( base 113 chrome/browser/extensions/api/system_storage/system_storage_api.cc StorageMonitor::GetInstance()->EnsureInitialized(base::Bind( base 125 chrome/browser/extensions/api/system_storage/system_storage_api.cc base::Bind( base 128 chrome/browser/extensions/api/system_storage/system_storage_api.cc base::Bind( base 79 chrome/browser/extensions/api/system_storage/system_storage_apitest.cc message_loop_.reset(new base::MessageLoopForUI); base 100 chrome/browser/extensions/api/system_storage/system_storage_apitest.cc scoped_ptr<base::MessageLoop> message_loop_; base 56 chrome/browser/extensions/api/system_storage/system_storage_eject_apitest.cc host->GetMainFrame()->ExecuteJavaScript(base::ASCIIToUTF16(js_command)); base 89 chrome/browser/extensions/api/system_storage/system_storage_eject_apitest.cc base::StringPrintf("%s,%s", "attach_test_ok", base 135 chrome/browser/extensions/api/tab_capture/tab_capture_api.cc base::StringPrintf("%i:%i", render_process_id, routing_id); base 140 chrome/browser/extensions/api/tab_capture/tab_capture_api.cc base::DictionaryValue* constraint = &(*it)->mandatory.additional_properties; base 159 chrome/browser/extensions/api/tab_capture/tab_capture_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 173 chrome/browser/extensions/api/tab_capture/tab_capture_api.cc base::ListValue *list = new base::ListValue(); base 63 chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 75 chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 94 chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 131 chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc listener.Reply(base::StringPrintf("%i:%i", render_process_id, routing_id)); base 205 chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 170 chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc std::string mean_and_error = base::StringPrintf("%f,%f", mean_ms, base 128 chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<TabCaptureRegistry> > base 329 chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 43 chrome/browser/extensions/api/tabs/ash_panel_contents.cc virtual base::DictionaryValue* CreateWindowValueWithTabs( base 45 chrome/browser/extensions/api/tabs/ash_panel_contents.cc virtual base::DictionaryValue* CreateTabValue( base 80 chrome/browser/extensions/api/tabs/ash_panel_contents.cc base::DictionaryValue* AshPanelWindowController::CreateWindowValueWithTabs( base 83 chrome/browser/extensions/api/tabs/ash_panel_contents.cc base::DictionaryValue* result = CreateWindowValue(); base 84 chrome/browser/extensions/api/tabs/ash_panel_contents.cc base::DictionaryValue* tab_value = CreateTabValue(extension, 0); base 86 chrome/browser/extensions/api/tabs/ash_panel_contents.cc base::ListValue* tab_list = new base::ListValue(); base 93 chrome/browser/extensions/api/tabs/ash_panel_contents.cc base::DictionaryValue* AshPanelWindowController::CreateTabValue( base 103 chrome/browser/extensions/api/tabs/ash_panel_contents.cc base::DictionaryValue* tab_value = new base::DictionaryValue(); base 137 chrome/browser/extensions/api/tabs/tabs_api.cc keys::kWindowNotFoundError, base::IntToString(window_id)); base 181 chrome/browser/extensions/api/tabs/tabs_api.cc keys::kTabNotFoundError, base::IntToString(tab_id)); base 300 chrome/browser/extensions/api/tabs/tabs_api.cc base::ListValue* window_list = new base::ListValue(); base 620 chrome/browser/extensions/api/tabs/tabs_api.cc SetResult(base::Value::CreateNullValue()); base 867 chrome/browser/extensions/api/tabs/tabs_api.cc base::ListValue* result = new base::ListValue(); base 929 chrome/browser/extensions/api/tabs/tabs_api.cc base::UTF8ToUTF16(title))) base 1219 chrome/browser/extensions/api/tabs/tabs_api.cc keys::kTabIndexNotFoundError, base::IntToString(index)); base 1381 chrome/browser/extensions/api/tabs/tabs_api.cc base::Bind(&TabsUpdateFunction::OnExecuteCodeFinished, this)); base 1409 chrome/browser/extensions/api/tabs/tabs_api.cc const base::ListValue& script_result) { base 1423 chrome/browser/extensions/api/tabs/tabs_api.cc scoped_ptr<base::ListValue> tab_values(new base::ListValue()); base 1452 chrome/browser/extensions/api/tabs/tabs_api.cc scoped_ptr<base::Value> value; base 1466 chrome/browser/extensions/api/tabs/tabs_api.cc base::ListValue* tab_values, base 1521 chrome/browser/extensions/api/tabs/tabs_api.cc keys::kTabNotFoundError, base::IntToString(tab_id)); base 1751 chrome/browser/extensions/api/tabs/tabs_api.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 1788 chrome/browser/extensions/api/tabs/tabs_api.cc SetResult(new base::StringValue(language.c_str())); base 1876 chrome/browser/extensions/api/tabs/tabs_api.cc const base::ListValue& result) { base 1893 chrome/browser/extensions/api/tabs/tabs_api.cc base::DictionaryValue* details_value = NULL; base 27 chrome/browser/extensions/api/tabs/tabs_api.h namespace base { base 156 chrome/browser/extensions/api/tabs/tabs_api.h const base::ListValue& script_result); base 166 chrome/browser/extensions/api/tabs/tabs_api.h base::ListValue* tab_values, base 245 chrome/browser/extensions/api/tabs/tabs_api.h const base::ListValue& script_result) OVERRIDE; base 28 chrome/browser/extensions/api/tabs/tabs_event_router.cc using base::DictionaryValue; base 29 chrome/browser/extensions/api/tabs/tabs_event_router.cc using base::ListValue; base 30 chrome/browser/extensions/api/tabs/tabs_event_router.cc using base::FundamentalValue; base 42 chrome/browser/extensions/api/tabs/tabs_event_router.cc const base::DictionaryValue* changed_properties, base 45 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::ListValue* event_args) { base 48 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* properties_value = changed_properties->DeepCopy(); base 64 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* TabsEventRouter::TabEntry::UpdateLoadState( base 74 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* changed_properties = new base::DictionaryValue(); base 80 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* TabsEventRouter::TabEntry::DidNavigate( base 84 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* changed_properties = new base::DictionaryValue(); base 183 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::ListValue* event_args) { base 184 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* tab_value = ExtensionTabUtil::CreateTabValue( base 195 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 200 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::Bind(&WillDispatchTabCreatedEvent, contents, active); base 218 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 221 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* object_args = new base::DictionaryValue(); base 240 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 244 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* object_args = new base::DictionaryValue(); base 264 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 267 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* object_args = new base::DictionaryValue(); base 290 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 294 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* object_args = new base::DictionaryValue(); base 310 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue>(args->DeepCopy()), base 314 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue>(args->DeepCopy()), base 329 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> all_tabs(new base::ListValue); base 340 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 341 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::DictionaryValue> select_info(new base::DictionaryValue); base 355 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue>(args->DeepCopy()), base 366 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 370 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::DictionaryValue* object_args = new base::DictionaryValue(); base 389 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::DictionaryValue> changed_properties; base 407 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::DictionaryValue> changed_properties( base 408 chrome/browser/extensions/api/tabs/tabs_event_router.cc new base::DictionaryValue); base 418 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args, base 435 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 446 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::DictionaryValue> changed_properties) { base 452 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args_base(new base::ListValue); base 470 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::Bind(&WillDispatchTabUpdatedEvent, base 524 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue); base 549 chrome/browser/extensions/api/tabs/tabs_event_router.cc scoped_ptr<base::DictionaryValue> changed_properties( base 550 chrome/browser/extensions/api/tabs/tabs_event_router.cc new base::DictionaryValue()); base 89 chrome/browser/extensions/api/tabs/tabs_event_router.h scoped_ptr<base::ListValue> args, base 95 chrome/browser/extensions/api/tabs/tabs_event_router.h scoped_ptr<base::ListValue> event_args, base 96 chrome/browser/extensions/api/tabs/tabs_event_router.h scoped_ptr<base::ListValue> cross_incognito_args); base 106 chrome/browser/extensions/api/tabs/tabs_event_router.h scoped_ptr<base::DictionaryValue> changed_properties); base 139 chrome/browser/extensions/api/tabs/tabs_event_router.h base::DictionaryValue* UpdateLoadState( base 145 chrome/browser/extensions/api/tabs/tabs_event_router.h base::DictionaryValue* DidNavigate(const content::WebContents* contents); base 41 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc scoped_ptr<base::DictionaryValue> result(utils::ToDictionary( base 49 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc base::ListValue* tabs = NULL; base 91 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc scoped_ptr<base::ListValue> result(utils::ToList( base 96 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc base::ListValue* result_tabs = result.get(); base 100 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc base::DictionaryValue* result_tab = NULL; base 117 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc base::DictionaryValue* result_tab = NULL; base 49 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf("[%u]", window_id + 1), base 62 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::DictionaryValue> result(utils::ToDictionary( base 65 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf("[%u]", window_id), base 81 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf("[%u, {\"populate\": true}]", window_id), base 86 chrome/browser/extensions/api/tabs/tabs_test.cc base::ListValue* tabs = NULL; base 107 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf( base 122 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf("[%u]", incognito_window_id), base 132 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf("[%u]", incognito_window_id), base 148 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::DictionaryValue> result(utils::ToDictionary( base 156 chrome/browser/extensions/api/tabs/tabs_test.cc base::ListValue* tabs = NULL; base 188 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::ListValue> result(utils::ToList( base 193 chrome/browser/extensions/api/tabs/tabs_test.cc base::ListValue* windows = result.get(); base 196 chrome/browser/extensions/api/tabs/tabs_test.cc base::DictionaryValue* result_window = NULL; base 201 chrome/browser/extensions/api/tabs/tabs_test.cc base::ListValue* tabs = NULL; base 218 chrome/browser/extensions/api/tabs/tabs_test.cc base::DictionaryValue* result_window = NULL; base 223 chrome/browser/extensions/api/tabs/tabs_test.cc base::ListValue* tabs = NULL; base 240 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::DictionaryValue> result(utils::ToDictionary( base 261 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::DictionaryValue> result(utils::ToDictionary( base 302 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::DictionaryValue> result(utils::ToDictionary( base 402 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::ListValue> result(utils::ToList( base 407 chrome/browser/extensions/api/tabs/tabs_test.cc base::ListValue* result_tabs = result.get(); base 411 chrome/browser/extensions/api/tabs/tabs_test.cc base::DictionaryValue* result_tab = NULL; base 428 chrome/browser/extensions/api/tabs/tabs_test.cc base::DictionaryValue* result_tab = NULL; base 453 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::DictionaryValue> result(utils::ToDictionary( base 456 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf(kNewBlankTabArgs, window_id), base 473 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf(kArgsMinimizedWithFocus, window_id), base 484 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf(kArgsMaximizedWithoutFocus, window_id), base 495 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf(kArgsMinimizedWithBounds, window_id), base 506 chrome/browser/extensions/api/tabs/tabs_test.cc base::StringPrintf(kArgsMaximizedWithBounds, window_id), base 526 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::DictionaryValue> test_extension_value( base 535 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::DictionaryValue> duplicate_result(utils::ToDictionary( base 537 chrome/browser/extensions/api/tabs/tabs_test.cc duplicate_tab_function.get(), base::StringPrintf("[%u]", tab_id), base 544 chrome/browser/extensions/api/tabs/tabs_test.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, duplicate_result->GetType()); base 574 chrome/browser/extensions/api/tabs/tabs_test.cc scoped_ptr<base::DictionaryValue> duplicate_result(utils::ToDictionary( base 576 chrome/browser/extensions/api/tabs/tabs_test.cc duplicate_tab_function.get(), base::StringPrintf("[%u]", tab_id), base 583 chrome/browser/extensions/api/tabs/tabs_test.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, duplicate_result->GetType()); base 73 chrome/browser/extensions/api/tabs/tabs_windows_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<TabsWindowsAPI> > base 63 chrome/browser/extensions/api/tabs/windows_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 64 chrome/browser/extensions/api/tabs/windows_event_router.cc base::DictionaryValue* window_dictionary = base 77 chrome/browser/extensions/api/tabs/windows_event_router.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 78 chrome/browser/extensions/api/tabs/windows_event_router.cc args->Append(new base::FundamentalValue(window_id)); base 115 chrome/browser/extensions/api/tabs/windows_event_router.cc base::ListValue* event_args) { base 123 chrome/browser/extensions/api/tabs/windows_event_router.cc event_args->Append(new base::FundamentalValue( base 127 chrome/browser/extensions/api/tabs/windows_event_router.cc event_args->Append(new base::FundamentalValue(window_id)); base 150 chrome/browser/extensions/api/tabs/windows_event_router.cc make_scoped_ptr(new base::ListValue()))); base 152 chrome/browser/extensions/api/tabs/windows_event_router.cc base::Bind(&WillDispatchWindowFocusedEvent, base 160 chrome/browser/extensions/api/tabs/windows_event_router.cc scoped_ptr<base::ListValue> args) { base 23 chrome/browser/extensions/api/tabs/windows_event_router.h namespace base { base 68 chrome/browser/extensions/api/tabs/windows_event_router.h scoped_ptr<base::ListValue> args); base 42 chrome/browser/extensions/api/tabs/windows_util.cc base::IntToString(window_id))); base 35 chrome/browser/extensions/api/terminal/terminal_private_api.cc if (base::SysInfo::IsRunningOnChromeOS()) base 55 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&NotifyProcessOutput, profile, extension_id, base 60 chrome/browser/extensions/api/terminal/terminal_private_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 61 chrome/browser/extensions/api/terminal/terminal_private_api.cc args->Append(new base::FundamentalValue(pid)); base 62 chrome/browser/extensions/api/terminal/terminal_private_api.cc args->Append(new base::StringValue(output_type)); base 63 chrome/browser/extensions/api/terminal/terminal_private_api.cc args->Append(new base::StringValue(output)); base 105 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&TerminalPrivateOpenTerminalProcessFunction::OpenOnFileThread, base 119 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&NotifyProcessOutput, GetProfile(), extension_id()))) { base 125 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&TerminalPrivateOpenTerminalProcessFunction::RespondOnUIThread, base 132 chrome/browser/extensions/api/terminal/terminal_private_api.cc SetResult(new base::FundamentalValue(pid)); base 142 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&TerminalPrivateSendInputFunction::SendInputOnFileThread, base 152 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&TerminalPrivateSendInputFunction::RespondOnUIThread, this, base 157 chrome/browser/extensions/api/terminal/terminal_private_api.cc SetResult(new base::FundamentalValue(success)); base 173 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&TerminalPrivateCloseTerminalProcessFunction:: base 183 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&TerminalPrivateCloseTerminalProcessFunction:: base 189 chrome/browser/extensions/api/terminal/terminal_private_api.cc SetResult(new base::FundamentalValue(success)); base 203 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&TerminalPrivateOnTerminalResizeFunction::OnResizeOnFileThread, base 215 chrome/browser/extensions/api/terminal/terminal_private_api.cc base::Bind(&TerminalPrivateOnTerminalResizeFunction::RespondOnUIThread, base 220 chrome/browser/extensions/api/terminal/terminal_private_api.cc SetResult(new base::FundamentalValue(success)); base 26 chrome/browser/extensions/api/top_sites/top_sites_api.cc base::Bind(&TopSitesGetFunction::OnMostVisitedURLsAvailable, base 33 chrome/browser/extensions/api/top_sites/top_sites_api.cc scoped_ptr<base::ListValue> pages_value(new base::ListValue); base 37 chrome/browser/extensions/api/top_sites/top_sites_api.cc base::DictionaryValue* page_value = new base::DictionaryValue(); base 30 chrome/browser/extensions/api/top_sites/top_sites_api.h base::WeakPtrFactory<TopSitesGetFunction> weak_ptr_factory_; base 32 chrome/browser/extensions/api/top_sites/top_sites_apitest.cc base::Bind(&TopSitesExtensionTest::OnTopSitesAvailable, this), false); base 36 chrome/browser/extensions/api/top_sites/top_sites_apitest.cc base::MessageLoop::current()->Run(); base 45 chrome/browser/extensions/api/top_sites/top_sites_apitest.cc base::MessageLoop::current()->Quit(); base 63 chrome/browser/extensions/api/top_sites/top_sites_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 65 chrome/browser/extensions/api/top_sites/top_sites_apitest.cc base::ListValue* list; base 309 chrome/browser/extensions/api/usb/usb_api.cc const base::Callback<void(ScopedDeviceVector result)>& callback, base 320 chrome/browser/extensions/api/usb/usb_api.cc (*i)->RequestUsbAcess(interface_id, base::Bind(RequestUsbDevicesAccessHelper, base 321 chrome/browser/extensions/api/usb/usb_api.cc base::Passed(devices.Pass()), base 328 chrome/browser/extensions/api/usb/usb_api.cc const base::Callback<void(ScopedDeviceVector result)>& callback) { base 336 chrome/browser/extensions/api/usb/usb_api.cc base::Bind(RequestUsbDevicesAccessHelper, base::Passed(devices.Pass()), base 341 chrome/browser/extensions/api/usb/usb_api.cc base::DictionaryValue* CreateTransferInfo( base 345 chrome/browser/extensions/api/usb/usb_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 347 chrome/browser/extensions/api/usb/usb_api.cc result->Set(kDataKey, base::BinaryValue::CreateWithCopiedBuffer(data->data(), base 352 chrome/browser/extensions/api/usb/usb_api.cc base::Value* PopulateConnectionHandle(int handle, int vendor_id, base 361 chrome/browser/extensions/api/usb/usb_api.cc base::Value* PopulateDevice(UsbDevice* device) { base 369 chrome/browser/extensions/api/usb/usb_api.cc base::Value* PopulateInterfaceDescriptor( base 534 chrome/browser/extensions/api/usb/usb_api.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 581 chrome/browser/extensions/api/usb/usb_api.cc base::Bind(&UsbFindDevicesFunction::OpenDevices, this)); base 588 chrome/browser/extensions/api/usb/usb_api.cc base::ListValue* result = new base::ListValue(); base 628 chrome/browser/extensions/api/usb/usb_api.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 690 chrome/browser/extensions/api/usb/usb_api.cc base::Bind(&UsbRequestAccessFunction::OnCompleted, base 693 chrome/browser/extensions/api/usb/usb_api.cc SetResult(new base::FundamentalValue(false)); base 699 chrome/browser/extensions/api/usb/usb_api.cc SetResult(new base::FundamentalValue(success)); base 756 chrome/browser/extensions/api/usb/usb_api.cc result_.reset(new base::ListValue()); base 992 chrome/browser/extensions/api/usb/usb_api.cc base::Bind(&UsbControlTransferFunction::OnCompleted, this)); base 1038 chrome/browser/extensions/api/usb/usb_api.cc base::Bind(&UsbBulkTransferFunction::OnCompleted, this)); base 1084 chrome/browser/extensions/api/usb/usb_api.cc base::Bind(&UsbInterruptTransferFunction::OnCompleted, this)); base 1148 chrome/browser/extensions/api/usb/usb_api.cc base::Bind(&UsbIsochronousTransferFunction::OnCompleted, this)); base 1170 chrome/browser/extensions/api/usb/usb_api.cc SetResult(new base::FundamentalValue(false)); base 1175 chrome/browser/extensions/api/usb/usb_api.cc SetResult(new base::FundamentalValue(true)); base 166 chrome/browser/extensions/api/usb/usb_api.h scoped_ptr<base::ListValue> result_; base 22 chrome/browser/extensions/api/usb/usb_device_resource.cc static base::LazyInstance< base 40 chrome/browser/extensions/api/usb/usb_device_resource.cc base::Bind(&UsbDeviceHandle::Close, device_)); base 50 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc static base::LazyInstance<TabObserverMap> g_tab_observer = base 376 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc const base::string16& frame_unique_name, base 454 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc const base::string16& frame_unique_id, base 458 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc const base::string16& error_description, base 562 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc const base::string16& error_description, base 701 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc SetResult(base::Value::CreateNullValue()); base 756 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc SetResult(base::Value::CreateNullValue()); base 832 chrome/browser/extensions/api/web_navigation/web_navigation_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<WebNavigationAPI> > base 69 chrome/browser/extensions/api/web_navigation/web_navigation_api.h const base::string16& frame_unique_name, base 76 chrome/browser/extensions/api/web_navigation/web_navigation_api.h const base::string16& frame_unique_name, base 80 chrome/browser/extensions/api/web_navigation/web_navigation_api.h const base::string16& error_description, base 95 chrome/browser/extensions/api/web_navigation/web_navigation_api.h const base::string16& error_description, base 36 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc double MilliSecondsFromTime(const base::Time& time) { base 43 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc scoped_ptr<base::ListValue> args, base 71 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 72 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 79 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc dict->SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(base::Time::Now())); base 96 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 97 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 111 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc base::ListValue* qualifiers = new base::ListValue(); base 113 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc qualifiers->Append(new base::StringValue("client_redirect")); base 115 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc qualifiers->Append(new base::StringValue("server_redirect")); base 117 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc qualifiers->Append(new base::StringValue("forward_back")); base 119 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc qualifiers->Append(new base::StringValue("from_address_bar")); base 121 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc dict->SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(base::Time::Now())); base 133 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 134 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 141 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc dict->SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(base::Time::Now())); base 155 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 156 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 163 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc dict->SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(base::Time::Now())); base 186 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 187 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 197 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc dict->SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(base::Time::Now())); base 213 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 214 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 221 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc MilliSecondsFromTime(base::Time::Now())); base 234 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 235 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 241 chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc dict->SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(base::Time::Now())); base 56 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc : public base::RefCountedThreadSafe<TestNavigationListener> { base 66 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc base::Bind(&TestNavigationListener::DelayRequestsForURL, this, url)); base 78 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc base::Bind(&TestNavigationListener::ResumeAll, this)); base 111 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc public base::SupportsWeakPtr<Throttle> { base 126 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc typedef base::WeakPtr<Throttle> WeakThrottle; base 187 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc rvh_->GetMainFrame()->ExecuteJavaScript(base::UTF8ToUTF16(script_)); base 193 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc const base::string16& frame_unique_name, base 348 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc GURL url(base::StringPrintf( base 355 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc url = GURL(base::StringPrintf( base 564 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc base::StringPrintf("f.html?%d#foo", embedded_test_server()->port())); base 571 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc base::StringPrintf("g.html?%d#foo", embedded_test_server()->port())); base 618 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc GURL url(base::StringPrintf( base 626 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc url = GURL(base::StringPrintf( base 16 chrome/browser/extensions/api/web_request/form_data_parser.cc using base::DictionaryValue; base 17 chrome/browser/extensions/api/web_request/form_data_parser.cc using base::ListValue; base 18 chrome/browser/extensions/api/web_request/form_data_parser.cc using base::StringPiece; base 71 chrome/browser/extensions/api/web_request/form_data_parser.cc static base::LazyInstance<Patterns>::Leaky g_patterns = base 86 chrome/browser/extensions/api/web_request/form_data_parser.cc virtual bool SetSource(const base::StringPiece& source) OVERRIDE; base 196 chrome/browser/extensions/api/web_request/form_data_parser.cc virtual bool SetSource(const base::StringPiece& source) OVERRIDE; base 226 chrome/browser/extensions/api/web_request/form_data_parser.cc bool TryReadHeader(base::StringPiece* name, base 227 chrome/browser/extensions/api/web_request/form_data_parser.cc base::StringPiece* value, base 234 chrome/browser/extensions/api/web_request/form_data_parser.cc bool FinishReadingPart(base::StringPiece* data); base 318 chrome/browser/extensions/api/web_request/form_data_parser.cc if (base::strcasecmp( base 321 chrome/browser/extensions/api/web_request/form_data_parser.cc } else if (base::strcasecmp( base 392 chrome/browser/extensions/api/web_request/form_data_parser.cc bool FormDataParserUrlEncoded::SetSource(const base::StringPiece& source) { base 455 chrome/browser/extensions/api/web_request/form_data_parser.cc bool FormDataParserMultipart::FinishReadingPart(base::StringPiece* data) { base 495 chrome/browser/extensions/api/web_request/form_data_parser.cc base::StringPiece name; base 496 chrome/browser/extensions/api/web_request/form_data_parser.cc base::StringPiece value; base 531 chrome/browser/extensions/api/web_request/form_data_parser.cc bool FormDataParserMultipart::SetSource(const base::StringPiece& source) { base 565 chrome/browser/extensions/api/web_request/form_data_parser.cc bool FormDataParserMultipart::TryReadHeader(base::StringPiece* name, base 566 chrome/browser/extensions/api/web_request/form_data_parser.cc base::StringPiece* value, base 34 chrome/browser/extensions/api/web_request/form_data_parser.h void set_value(const base::StringPiece& str) { base 74 chrome/browser/extensions/api/web_request/form_data_parser.h virtual bool SetSource(const base::StringPiece& source) = 0; base 34 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc const std::vector<const base::StringPiece*>& bytes, base 55 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc const std::vector<const base::StringPiece*>& bytes) { base 122 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc const base::StringPiece bytes(block, sizeof(block) - 1) base 128 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc const base::StringPiece kTextPlainBytes(kPlainBlock, sizeof(kPlainBlock) - 1); base 150 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc std::vector<const base::StringPiece*> input; base 202 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc const base::StringPiece bytes(block, sizeof(block) - 1) base 214 chrome/browser/extensions/api/web_request/form_data_parser_unittest.cc std::vector<const base::StringPiece*> input; base 16 chrome/browser/extensions/api/web_request/upload_data_presenter.cc using base::BinaryValue; base 17 chrome/browser/extensions/api/web_request/upload_data_presenter.cc using base::DictionaryValue; base 18 chrome/browser/extensions/api/web_request/upload_data_presenter.cc using base::ListValue; base 19 chrome/browser/extensions/api/web_request/upload_data_presenter.cc using base::StringValue; base 20 chrome/browser/extensions/api/web_request/upload_data_presenter.cc using base::Value; base 28 chrome/browser/extensions/api/web_request/upload_data_presenter.cc base::ListValue* GetOrCreateList(base::DictionaryValue* dictionary, base 30 chrome/browser/extensions/api/web_request/upload_data_presenter.cc base::ListValue* list = NULL; base 32 chrome/browser/extensions/api/web_request/upload_data_presenter.cc list = new base::ListValue(); base 45 chrome/browser/extensions/api/web_request/upload_data_presenter.cc base::Value* value, base 46 chrome/browser/extensions/api/web_request/upload_data_presenter.cc base::ListValue* list) { base 47 chrome/browser/extensions/api/web_request/upload_data_presenter.cc base::DictionaryValue* dictionary = new base::DictionaryValue; base 62 chrome/browser/extensions/api/web_request/upload_data_presenter.cc list_(new base::ListValue) { base 86 chrome/browser/extensions/api/web_request/upload_data_presenter.cc scoped_ptr<base::Value> RawDataPresenter::Result() { base 88 chrome/browser/extensions/api/web_request/upload_data_presenter.cc return scoped_ptr<base::Value>(); base 90 chrome/browser/extensions/api/web_request/upload_data_presenter.cc return list_.PassAs<base::Value>(); base 102 chrome/browser/extensions/api/web_request/upload_data_presenter.cc new base::StringValue(filename), base 111 chrome/browser/extensions/api/web_request/upload_data_presenter.cc dictionary_(success_ ? new base::DictionaryValue() : NULL) { base 124 chrome/browser/extensions/api/web_request/upload_data_presenter.cc if (!parser_->SetSource(base::StringPiece(bytes_reader->bytes(), base 133 chrome/browser/extensions/api/web_request/upload_data_presenter.cc new base::StringValue(result.value())); base 143 chrome/browser/extensions/api/web_request/upload_data_presenter.cc scoped_ptr<base::Value> ParsedDataPresenter::Result() { base 145 chrome/browser/extensions/api/web_request/upload_data_presenter.cc return scoped_ptr<base::Value>(); base 147 chrome/browser/extensions/api/web_request/upload_data_presenter.cc return dictionary_.PassAs<base::Value>(); base 159 chrome/browser/extensions/api/web_request/upload_data_presenter.cc dictionary_(success_ ? new base::DictionaryValue() : NULL) { base 14 chrome/browser/extensions/api/web_request/upload_data_presenter.h namespace base { base 38 chrome/browser/extensions/api/web_request/upload_data_presenter.h base::Value* value, base 39 chrome/browser/extensions/api/web_request/upload_data_presenter.h base::ListValue* list); base 57 chrome/browser/extensions/api/web_request/upload_data_presenter.h virtual scoped_ptr<base::Value> Result() = 0; base 77 chrome/browser/extensions/api/web_request/upload_data_presenter.h virtual scoped_ptr<base::Value> Result() OVERRIDE; base 85 chrome/browser/extensions/api/web_request/upload_data_presenter.h scoped_ptr<base::ListValue> list_; base 105 chrome/browser/extensions/api/web_request/upload_data_presenter.h virtual scoped_ptr<base::Value> Result() OVERRIDE; base 120 chrome/browser/extensions/api/web_request/upload_data_presenter.h scoped_ptr<base::DictionaryValue> dictionary_; base 25 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc scoped_ptr<base::ListValue> values(new base::ListValue); base 26 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc values->Append(new base::StringValue("value")); base 27 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc base::DictionaryValue expected_form; base 36 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc scoped_ptr<base::Value> result = parsed_data_presenter->Result(); base 51 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc scoped_ptr<base::BinaryValue> expected_a( base 52 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc base::BinaryValue::CreateWithCopiedBuffer(block1, block1_size)); base 54 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc scoped_ptr<base::StringValue> expected_b( base 55 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc new base::StringValue(kFilename)); base 57 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc scoped_ptr<base::BinaryValue> expected_c( base 58 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc base::BinaryValue::CreateWithCopiedBuffer(block2, block2_size)); base 61 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc base::ListValue expected_list; base 75 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc scoped_ptr<base::Value> result = raw_presenter.Result(); base 70 chrome/browser/extensions/api/web_request/web_request_api.cc using base::DictionaryValue; base 71 chrome/browser/extensions/api/web_request/web_request_api.cc using base::ListValue; base 72 chrome/browser/extensions/api/web_request/web_request_api.cc using base::StringValue; base 199 chrome/browser/extensions/api/web_request/web_request_api.cc void ExtractRequestInfo(net::URLRequest* request, base::DictionaryValue* out) { base 220 chrome/browser/extensions/api/web_request/web_request_api.cc base::Uint64ToString(request->identifier())); base 227 chrome/browser/extensions/api/web_request/web_request_api.cc out->SetDouble(keys::kTimeStampKey, base::Time::Now().ToDoubleT() * 1000); base 232 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* out) { base 238 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* requestBody = new base::DictionaryValue(); base 272 chrome/browser/extensions/api/web_request/web_request_api.cc bool FromHeaderDictionary(const base::DictionaryValue* header_value, base 288 chrome/browser/extensions/api/web_request/web_request_api.cc const base::ListValue* list = NULL; base 301 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* ToHeaderDictionary(const std::string& name, base 303 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* header = new base::DictionaryValue(); base 316 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue* GetResponseHeadersList( base 318 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue* headers_value = new base::ListValue(); base 329 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue* GetRequestHeadersList(const net::HttpRequestHeaders& headers) { base 330 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue* headers_value = new base::ListValue(); base 338 chrome/browser/extensions/api/web_request/web_request_api.cc base::StringValue* GetStatusLine(net::HttpResponseHeaders* headers) { base 339 chrome/browser/extensions/api/web_request/web_request_api.cc return new base::StringValue( base 373 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::DictionaryValue> event_argument) { base 380 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::ListValue> event_args(new base::ListValue); base 426 chrome/browser/extensions/api/web_request/web_request_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<WebRequestAPI> > base 440 chrome/browser/extensions/api/web_request/web_request_api.cc base::Bind(&RemoveEventListenerOnIOThread, base 462 chrome/browser/extensions/api/web_request/web_request_api.cc base::WeakPtr<IPC::Sender> ipc_sender; base 526 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time blocking_time; base 549 chrome/browser/extensions/api/web_request/web_request_api.cc const base::DictionaryValue& value, std::string* error) { base 553 chrome/browser/extensions/api/web_request/web_request_api.cc for (base::DictionaryValue::Iterator it(value); !it.IsAtEnd(); it.Advance()) { base 555 chrome/browser/extensions/api/web_request/web_request_api.cc const base::ListValue* urls_value = NULL; base 573 chrome/browser/extensions/api/web_request/web_request_api.cc const base::ListValue* types_value = NULL; base 599 chrome/browser/extensions/api/web_request/web_request_api.cc const base::ListValue& value, int* extra_info_spec) { base 628 chrome/browser/extensions/api/web_request/web_request_api.cc const std::string& extension_id, const base::Time& extension_install_time) base 687 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time::Now(), base 706 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue args; base 707 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 763 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue args; base 764 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 818 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue args; base 819 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 857 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue args; base 858 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 920 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue args; base 921 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 928 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* challenger = new base::DictionaryValue(); base 982 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue args; base 983 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1028 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue args; base 1029 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1058 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time::Now()); base 1080 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue args; base 1081 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1112 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time::Now()); base 1129 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue args; base 1130 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1152 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time::Now()); base 1164 chrome/browser/extensions/api/web_request/web_request_api.cc const base::ListValue& args) { base 1171 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::ListValue> args_filtered(args.DeepCopy()); base 1172 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* dict = NULL; base 1193 chrome/browser/extensions/api/web_request/web_request_api.cc base::UTF8ToUTF16((*it)->extension_name)); base 1208 chrome/browser/extensions/api/web_request/web_request_api.cc blocked_requests_[request->identifier()].blocking_time = base::Time::Now(); base 1247 chrome/browser/extensions/api/web_request/web_request_api.cc base::WeakPtr<IPC::Sender> ipc_sender) { base 1263 chrome/browser/extensions/api/web_request/web_request_api.cc base::UserMetricsAction("WebView.WebRequest.AddListener")); base 1332 chrome/browser/extensions/api/web_request/web_request_api.cc base::Bind(&RemoveEventListenerOnUI, base 1354 chrome/browser/extensions/api/web_request/web_request_api.cc const base::Closure& callback) { base 1581 chrome/browser/extensions/api/web_request/web_request_api.cc base::Value* SerializeResponseHeaders(const helpers::ResponseHeaders& headers) { base 1582 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::ListValue> serialized_headers(new base::ListValue()); base 1595 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue* SummarizeCookieModifications( base 1597 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::ListValue> cookie_modifications(new base::ListValue()); base 1601 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::DictionaryValue> summary(new base::DictionaryValue()); base 1640 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::DictionaryValue> SummarizeResponseDelta( base 1643 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::DictionaryValue> details(new base::DictionaryValue()); base 1651 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::ListValue> modified_headers(new base::ListValue()); base 1661 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::ListValue> deleted_headers(new base::ListValue()); base 1678 chrome/browser/extensions/api/web_request/web_request_api.cc base::UTF16ToUTF8( base 1696 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::DictionaryValue> details) { base 1700 chrome/browser/extensions/api/web_request/web_request_api.cc base::Bind(&LogExtensionActivity, base 1706 chrome/browser/extensions/api/web_request/web_request_api.cc base::Passed(&details))); base 1713 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time::Now(), base 1758 chrome/browser/extensions/api/web_request/web_request_api.cc base::TimeDelta block_time = base 1759 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time::Now() - blocked_request.blocking_time; base 1783 chrome/browser/extensions/api/web_request/web_request_api.cc base::UTF8ToUTF16(it->extension_name)); base 1799 chrome/browser/extensions/api/web_request/web_request_api.cc scoped_ptr<base::DictionaryValue> argument(new base::DictionaryValue); base 1808 chrome/browser/extensions/api/web_request/web_request_api.cc base::Bind(&SendOnMessageEventOnUI, base 1811 chrome/browser/extensions/api/web_request/web_request_api.cc base::Passed(&argument))); base 1823 chrome/browser/extensions/api/web_request/web_request_api.cc base::TimeDelta block_time = base 1824 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time::Now() - blocked_request.blocking_time; base 1879 chrome/browser/extensions/api/web_request/web_request_api.cc base::Bind(&ExtensionWarningService::NotifyWarningsOnUI, base 1987 chrome/browser/extensions/api/web_request/web_request_api.cc base::Bind(&ExtensionWebRequestEventRouter::OnRulesRegistryReady, base 1998 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time::Now(); base 2007 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time start = base::Time::Now(); base 2029 chrome/browser/extensions/api/web_request/web_request_api.cc base::TimeDelta elapsed_time = start - base::Time::Now(); base 2047 chrome/browser/extensions/api/web_request/web_request_api.cc base::TimeDelta block_time = base 2048 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time::Now() - blocked_request.blocking_time; base 2106 chrome/browser/extensions/api/web_request/web_request_api.cc const base::TimeTicks& event_time) OVERRIDE; base 2122 chrome/browser/extensions/api/web_request/web_request_api.cc base::WeakPtrFactory<ClearCacheQuotaHeuristic> weak_ptr_factory_; base 2128 chrome/browser/extensions/api/web_request/web_request_api.cc const base::TimeTicks& event_time) { base 2136 chrome/browser/extensions/api/web_request/web_request_api.cc base::Bind(&ClearCacheQuotaHeuristic::OnPageLoad, base 2155 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* value = NULL; base 2166 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue* value = NULL; base 2182 chrome/browser/extensions/api/web_request/web_request_api.cc base::WeakPtr<extensions::ExtensionMessageFilter> ipc_sender = base 2225 chrome/browser/extensions/api/web_request/web_request_api.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 2258 chrome/browser/extensions/api/web_request/web_request_api.cc EXTENSION_FUNCTION_VALIDATE(base::StringToUint64(request_id_str, base 2263 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* value = NULL; base 2267 chrome/browser/extensions/api/web_request/web_request_api.cc base::Time install_time = base 2318 chrome/browser/extensions/api/web_request/web_request_api.cc base::ListValue* headers_value = NULL; base 2332 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* header_value = NULL; base 2339 chrome/browser/extensions/api/web_request/web_request_api.cc base::JSONWriter::Write(header_value, &serialized_header); base 2377 chrome/browser/extensions/api/web_request/web_request_api.cc base::DictionaryValue* credentials_value = NULL; base 2381 chrome/browser/extensions/api/web_request/web_request_api.cc base::string16 username; base 2382 chrome/browser/extensions/api/web_request/web_request_api.cc base::string16 password; base 2404 chrome/browser/extensions/api/web_request/web_request_api.cc base::TimeDelta::FromMinutes(10)}; base 2421 chrome/browser/extensions/api/web_request/web_request_api.cc base::Bind(&ExtensionWarningService::NotifyWarningsOnUI, base 34 chrome/browser/extensions/api/web_request/web_request_api.h namespace base { base 93 chrome/browser/extensions/api/web_request/web_request_api.h : public base::SupportsWeakPtr<ExtensionWebRequestEventRouter> { base 119 chrome/browser/extensions/api/web_request/web_request_api.h bool InitFromValue(const base::DictionaryValue& value, std::string* error); base 139 chrome/browser/extensions/api/web_request/web_request_api.h static bool InitFromValue(const base::ListValue& value, base 146 chrome/browser/extensions/api/web_request/web_request_api.h const base::Time& extension_install_time); base 155 chrome/browser/extensions/api/web_request/web_request_api.h base::Time extension_install_time; base 285 chrome/browser/extensions/api/web_request/web_request_api.h base::WeakPtr<IPC::Sender> ipc_sender); base 308 chrome/browser/extensions/api/web_request/web_request_api.h void AddCallbackForPageLoad(const base::Closure& callback); base 322 chrome/browser/extensions/api/web_request/web_request_api.h typedef std::list<base::Closure> CallbacksForPageLoad; base 335 chrome/browser/extensions/api/web_request/web_request_api.h const base::ListValue& args); base 34 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc using base::Time; base 42 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc typedef std::pair<base::StringPiece, base::StringPiece> ParsedRequestCookie; base 89 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::StringToInt64(cookie->MaxAge(), seconds_till_expiry)) { base 197 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const std::string& extension_id, const base::Time& extension_install_time) base 217 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::Value* NetLogModificationCallback( base 220 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 223 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::ListValue* modified_headers = new base::ListValue(); base 228 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc modified_headers->Append(new base::StringValue(line)); base 232 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::ListValue* deleted_headers = new base::ListValue(); base 237 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc deleted_headers->Append(new base::StringValue(*key)); base 249 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::ListValue* StringToCharList(const std::string& s) { base 250 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::ListValue* result = new base::ListValue; base 253 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc new base::FundamentalValue( base 259 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc bool CharListToString(const base::ListValue* list, std::string* out) { base 276 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const base::Time& extension_install_time, base 288 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const base::Time& extension_install_time, base 325 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const base::Time& extension_install_time, base 382 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc const base::Time& extension_install_time, base 504 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::StringPiece cookie_name(cookie_name_beginning, i); base 507 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::StringPiece cookie_value; base 516 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc cookie_value = base::StringPiece(cookie_value_beginning, i); base 520 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc cookie_value = base::StringPiece(cookie_value_beginning, i); base 588 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc cookies->push_back(std::make_pair(base::StringPiece(*new_name), base 589 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::StringPiece(*new_value))); base 836 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::Bind(&NetLogModificationCallback, delta->get())); base 890 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc modified |= cookie->SetMaxAge(base::IntToString(*modification->max_age)); base 917 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc if (actual_value != base::IntToString(*filter->max_age)) base 1284 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::Bind(&ClearCacheOnNavigationOnUI)); base 25 chrome/browser/extensions/api/web_request/web_request_api_helpers.h namespace base { base 140 chrome/browser/extensions/api/web_request/web_request_api_helpers.h base::Time extension_install_time; base 173 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const base::Time& extension_install_time); base 189 chrome/browser/extensions/api/web_request/web_request_api_helpers.h base::ListValue* StringToCharList(const std::string& s); base 193 chrome/browser/extensions/api/web_request/web_request_api_helpers.h bool CharListToString(const base::ListValue* list, std::string* out); base 204 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const base::Time& extension_install_time, base 209 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const base::Time& extension_install_time, base 215 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const base::Time& extension_install_time, base 224 chrome/browser/extensions/api/web_request/web_request_api_helpers.h const base::Time& extension_install_time, base 59 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc using base::BinaryValue; base 60 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc using base::DictionaryValue; base 61 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc using base::ListValue; base 62 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc using base::StringValue; base 63 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc using base::Time; base 64 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc using base::TimeDelta; base 65 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc using base::Value; base 120 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc const base::DictionaryValue** out, base 125 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc const base::Value* value = NULL; base 127 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc const base::ListValue* list = NULL; base 143 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc void PushTask(const base::Closure& task) { base 163 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, task_queue_.front()); base 170 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc std::queue<base::Closure> task_queue_; base 223 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::WeakPtrFactory<TestIPCSender> ipc_sender_factory(&ipc_sender_); base 252 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension1_id, base::Time::FromDoubleT(1)); base 255 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 261 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension2_id, base::Time::FromDoubleT(2)); base 264 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 270 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension2_id, base::Time::FromDoubleT(2)); base 272 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 278 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension1_id, base::Time::FromDoubleT(1)); base 280 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 285 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::MessageLoop::current()->Run(); base 303 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension2_id, base::Time::FromDoubleT(2)); base 306 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 312 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension1_id, base::Time::FromDoubleT(1)); base 315 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 321 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension2_id, base::Time::FromDoubleT(2)); base 323 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 329 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension1_id, base::Time::FromDoubleT(1)); base 331 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 336 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::MessageLoop::current()->Run(); base 359 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::WeakPtrFactory<TestIPCSender> ipc_sender_factory(&ipc_sender_); base 382 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension1_id, base::Time::FromDoubleT(1)); base 385 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 392 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension2_id, base::Time::FromDoubleT(2)); base 395 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 401 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::MessageLoop::current()->Run(); base 428 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::WeakPtrFactory<TestIPCSender> ipc_sender_factory(&ipc_sender_); base 446 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc extension_id, base::Time::FromDoubleT(1)); base 450 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 456 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&base::MessageLoop::PostTask, base 457 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Unretained(base::MessageLoop::current()), base 458 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc FROM_HERE, base::MessageLoop::QuitClosure())); base 463 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::MessageLoop::current()->Run(); base 485 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::ListValue list_value; base 488 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc list_value.Append(new base::StringValue(split_values[i])); base 513 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new net::UploadFileElementReader(base::MessageLoopProxy::current().get(), base 514 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::FilePath(), base 517 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Time())); base 522 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc ipc_sender_.PushTask(base::Bind(&base::DoNothing)); base 581 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_ptr<const base::Value> form_data(base::JSONReader::Read(kFormData)); base 583 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc ASSERT_TRUE(form_data->GetType() == base::Value::TYPE_DICTIONARY); base 585 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::ListValue raw; base 592 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new base::StringValue(std::string()), base 599 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc const base::Value* const kExpected[] = { base 619 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::WeakPtrFactory<TestIPCSender> ipc_sender_factory(&ipc_sender_); base 631 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 662 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 674 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc const base::DictionaryValue* details; base 678 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc const base::Value* result = NULL; base 705 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::WeakPtrFactory<TestIPCSender> ipc_sender_factory(&ipc_sender_); base 719 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc ipc_sender_.PushTask(base::Bind(&base::DoNothing)); base 724 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 734 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc const base::DictionaryValue* details = NULL; base 815 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::WeakPtrFactory<TestIPCSender> ipc_sender_factory(&ipc_sender_); base 856 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Time::FromDoubleT(mod.extension_id)); base 875 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Bind(&EventHandledOnIOThread, base 884 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc ipc_sender_.PushTask(base::Bind(&base::DoNothing)); base 893 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::MessageLoop::current()->Run(); base 921 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::ListValue& args = message_tuple.d; base 929 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::ListValue* event_arg = NULL; base 932 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::DictionaryValue* event_arg_dict = NULL; base 935 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::ListValue* request_headers = NULL; base 941 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::DictionaryValue* header = NULL; base 1161 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("ext_1", base::Time::FromInternalValue(0))); base 1163 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("ext_2", base::Time::FromInternalValue(1000))); base 1170 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::ListValue list_value; base 1171 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc list_value.Append(new base::FundamentalValue('1')); base 1172 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc list_value.Append(new base::FundamentalValue('2')); base 1173 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc list_value.Append(new base::FundamentalValue('3')); base 1174 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc list_value.Append(new base::FundamentalValue(0xFE)); base 1175 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc list_value.Append(new base::FundamentalValue(0xD1)); base 1180 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc scoped_ptr<base::ListValue> converted_list(StringToCharList(string_value)); base 1192 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc CalculateOnBeforeRequestDelta("extid", base::Time::Now(), base 1212 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc CalculateOnBeforeSendHeadersDelta("extid", base::Time::Now(), cancel, base 1223 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc CalculateOnBeforeSendHeadersDelta("extid", base::Time::Now(), cancel, base 1234 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc CalculateOnBeforeSendHeadersDelta("extid", base::Time::Now(), cancel, base 1250 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc CalculateOnBeforeSendHeadersDelta("extid", base::Time::Now(), cancel, base 1281 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::Time::Now(), base 1303 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::string16 username = base::ASCIIToUTF16("foo"); base 1304 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::string16 password = base::ASCIIToUTF16("bar"); base 1309 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc CalculateOnAuthRequiredDelta("extid", base::Time::Now(), cancel, base 1326 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid1", base::Time::FromInternalValue(1000))); base 1335 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid2", base::Time::FromInternalValue(500))); base 1353 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(0))); base 1362 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid1", base::Time::FromInternalValue(1000))); base 1376 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid2", base::Time::FromInternalValue(500))); base 1392 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid3", base::Time::FromInternalValue(1500))); base 1408 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid4", base::Time::FromInternalValue(2000))); base 1435 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(2000))); base 1446 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid1", base::Time::FromInternalValue(1500))); base 1462 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid2", base::Time::FromInternalValue(1000))); base 1478 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid3", base::Time::FromInternalValue(500))); base 1504 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(2000))); base 1515 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid1", base::Time::FromInternalValue(1500))); base 1540 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(2500))); base 1554 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid1", base::Time::FromInternalValue(2000))); base 1576 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid2", base::Time::FromInternalValue(1500))); base 1600 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid3", base::Time::FromInternalValue(1000))); base 1668 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(i * 5))); base 1698 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc return base::StringPrintf("%s, %d %s %d %.2d:%.2d:%.2d GMT", base 1745 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(3000))); base 1906 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(i * 5))); base 1965 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(3000))); base 1981 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid1", base::Time::FromInternalValue(2000))); base 2014 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid2", base::Time::FromInternalValue(1500))); base 2066 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid1", base::Time::FromInternalValue(2000))); base 2114 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(0))); base 2132 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid1", base::Time::FromInternalValue(1000))); base 2158 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::string16 username = base::ASCIIToUTF16("foo"); base 2159 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::string16 password = base::ASCIIToUTF16("bar"); base 2160 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc base::string16 password2 = base::ASCIIToUTF16("baz"); base 2164 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid0", base::Time::FromInternalValue(3000))); base 2176 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid1", base::Time::FromInternalValue(2000))); base 2194 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid2", base::Time::FromInternalValue(1500))); base 2214 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc new EventResponseDelta("extid3", base::Time::FromInternalValue(1000))); base 66 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc base::Time::Now(), base 71 chrome/browser/extensions/api/web_request/web_request_permissions_unittest.cc base::Time::Now(), base 109 chrome/browser/extensions/api/web_request/web_request_time_tracker.cc const base::Time& start_time, base 138 chrome/browser/extensions/api/web_request/web_request_time_tracker.cc int64 request_id, const base::Time& end_time) { base 160 chrome/browser/extensions/api/web_request/web_request_time_tracker.cc for (std::map<std::string, base::TimeDelta>::const_iterator i = base 218 chrome/browser/extensions/api/web_request/web_request_time_tracker.cc const base::TimeDelta& block_time) { base 227 chrome/browser/extensions/api/web_request/web_request_time_tracker.cc const base::TimeDelta& block_time) { base 18 chrome/browser/extensions/api/web_request/web_request_time_tracker.h namespace base { base 51 chrome/browser/extensions/api/web_request/web_request_time_tracker.h void LogRequestStartTime(int64 request_id, const base::Time& start_time, base 55 chrome/browser/extensions/api/web_request/web_request_time_tracker.h void LogRequestEndTime(int64 request_id, const base::Time& end_time); base 62 chrome/browser/extensions/api/web_request/web_request_time_tracker.h const base::TimeDelta& block_time); base 68 chrome/browser/extensions/api/web_request/web_request_time_tracker.h const base::TimeDelta& block_time); base 85 chrome/browser/extensions/api/web_request/web_request_time_tracker.h base::Time request_start_time; base 86 chrome/browser/extensions/api/web_request/web_request_time_tracker.h base::TimeDelta request_duration; base 87 chrome/browser/extensions/api/web_request/web_request_time_tracker.h base::TimeDelta block_duration; base 88 chrome/browser/extensions/api/web_request/web_request_time_tracker.h std::map<std::string, base::TimeDelta> extension_block_durations; base 11 chrome/browser/extensions/api/web_request/web_request_time_tracker_unittest.cc const base::TimeDelta kRequestDelta = base::TimeDelta::FromMilliseconds(100); base 12 chrome/browser/extensions/api/web_request/web_request_time_tracker_unittest.cc const base::TimeDelta kTinyDelay = base::TimeDelta::FromMilliseconds(1); base 13 chrome/browser/extensions/api/web_request/web_request_time_tracker_unittest.cc const base::TimeDelta kModerateDelay = base::TimeDelta::FromMilliseconds(25); base 14 chrome/browser/extensions/api/web_request/web_request_time_tracker_unittest.cc const base::TimeDelta kExcessiveDelay = base::TimeDelta::FromMilliseconds(75); base 31 chrome/browser/extensions/api/web_request/web_request_time_tracker_unittest.cc base::Time start; base 46 chrome/browser/extensions/api/web_request/web_request_time_tracker_unittest.cc base::Time start; base 64 chrome/browser/extensions/api/web_request/web_request_time_tracker_unittest.cc base::Time start; base 107 chrome/browser/extensions/api/web_request/web_request_time_tracker_unittest.cc base::Time start; base 32 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc static base::LazyInstance< base 40 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::SystemMonitor* system_monitor = base::SystemMonitor::Get(); base 50 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::SystemMonitor* system_monitor = base::SystemMonitor::Get(); base 67 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::SystemMonitor::DeviceType device_type) { base 69 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc case base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE: base 70 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc case base::SystemMonitor::DEVTYPE_VIDEO_CAPTURE: base 95 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc new Event(kEventName, make_scoped_ptr(new base::ListValue()).Pass())); base 109 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc scoped_refptr<base::SingleThreadTaskRunner> audio_manager_runner = base 115 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateFunction::GetOutputDeviceNames, this)); base 125 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateFunction::OnOutputDeviceNames, base 141 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::IntToString(tab_id)); base 149 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc rvh->GetAudioOutputControllers(base::Bind( base 164 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateFunction::CalculateHMAC, this, raw_id)); base 172 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateFunction::OnHMACCalculated, this, hmac)); base 244 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateGetSinksFunction::DoneOnUIThread, this)); base 281 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateGetActiveSinkFunction::CalculateHMAC, base 332 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::IntToString(tab_id_)); base 367 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc (*it)->SwitchOutputDevice(raw_sink_id, base::Bind( base 377 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateSetActiveSinkFunction::DoneOnUIThread, base 403 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateGetAssociatedSinkFunction:: base 416 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateGetAssociatedSinkFunction:: base 448 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc base::Bind(&WebrtcAudioPrivateGetAssociatedSinkFunction:: base 26 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.h public base::SystemMonitor::DevicesChangedObserver { base 39 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.h base::SystemMonitor::DeviceType device_type) OVERRIDE; base 34 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc using base::JSONWriter; base 53 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::Bind(OnAudioControllers, &audio_playing)); base 54 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 58 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 88 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::ListValue parameters; base 96 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc scoped_ptr<base::Value> result( base 105 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc scoped_ptr<base::Value> InvokeGetSinks(base::ListValue** sink_list) { base 110 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc scoped_ptr<base::Value> result( base 128 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::Bind(&WebrtcAudioPrivateTest::GetAudioDeviceNames, this, base 148 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::Bind(&WebrtcAudioPrivateTest::GetIDInOrigin, base 162 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::WaitableEvent enumeration_event_; base 173 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::ListValue* sink_list = NULL; base 174 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc scoped_ptr<base::Value> result = InvokeGetSinks(&sink_list); base 188 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::DictionaryValue* dict = NULL; base 223 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::ListValue parameters; base 231 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc scoped_ptr<base::Value> result( base 246 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::ListValue parameters; base 258 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc EXPECT_EQ(base::StringPrintf("No active stream for tab with id: %d.", tab_id), base 266 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::ListValue* sink_list = NULL; base 267 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc scoped_ptr<base::Value> result = InvokeGetSinks(&sink_list); base 287 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::DictionaryValue* dict = NULL; base 292 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::ListValue parameters; base 301 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc scoped_ptr<base::Value> result(RunFunctionAndReturnSingleResult( base 338 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::ListValue parameters; base 344 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc scoped_ptr<base::Value> result( base 359 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc service->OnDevicesChanged(base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE); base 364 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc service->OnDevicesChanged(base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE); base 409 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc content::TitleWatcher title_watcher(tab, base::ASCIIToUTF16("success")); base 410 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc title_watcher.AlsoWaitForTitle(base::ASCIIToUTF16("failure")); base 411 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc base::string16 result = title_watcher.WaitAndGetTitle(); base 412 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("success"), result); base 43 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc base::IntToString(tab_id)); base 49 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc base::IntToString(tab_id)); base 55 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc base::IntToString(tab_id)); base 77 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc base::UserDataAdapter<WebRtcLoggingHandlerHost>::Get(host, host)); base 85 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc WebRtcLoggingHandlerHost::GenericDoneCallback callback = base::Bind( base 88 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 117 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc base::UserDataAdapter<WebRtcLoggingHandlerHost>::Get(host, host)); base 119 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc WebRtcLoggingHandlerHost::GenericDoneCallback callback = base::Bind( base 122 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 154 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc base::UserDataAdapter<WebRtcLoggingHandlerHost>::Get(host, host)); base 176 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc base::UserDataAdapter<WebRtcLoggingHandlerHost>::Get(host, host)); base 178 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc WebRtcLoggingHandlerHost::GenericDoneCallback callback = base::Bind( base 181 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 210 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc base::UserDataAdapter<WebRtcLoggingHandlerHost>::Get(host, host)); base 212 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc WebRtcLoggingHandlerHost::UploadDoneCallback callback = base::Bind( base 215 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 250 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc base::UserDataAdapter<WebRtcLoggingHandlerHost>::Get(host, host)); base 252 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc WebRtcLoggingHandlerHost::GenericDoneCallback callback = base::Bind( base 255 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 48 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc base::ListValue parameters; base 52 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc base::JSONWriter::Write(¶meters, ¶meter_string); base 56 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 140 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc base::ListValue parameters; base 143 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc base::DictionaryValue* meta_data_entry = new base::DictionaryValue(); base 146 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc base::ListValue* meta_data = new base::ListValue(); base 148 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc meta_data_entry = new base::DictionaryValue(); base 155 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc base::JSONWriter::Write(¶meters, ¶meter_string); base 159 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 173 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc base::JSONWriter::Write(¶meters, ¶meter_string); base 223 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc base::SplitStringUsingSubstr(multipart, "\r\n", &multipart_lines); base 20 chrome/browser/extensions/api/webstore/webstore_api.cc base::LazyInstance<BrowserContextKeyedAPIFactory<WebstoreAPI> > g_factory = base 18 chrome/browser/extensions/api/webstore/webstore_api.h namespace base { base 154 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc static base::LazyInstance<PendingApprovals> g_pending_approvals = base 156 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc static base::LazyInstance<PendingInstalls> g_pending_installs = base 367 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc base::DictionaryValue* parsed_manifest) { base 657 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc base::Bind(&WebstorePrivateGetWebGLStatusFunction::OnFeatureCheck, base 658 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc base::Unretained(this))); base 124 chrome/browser/extensions/api/webstore_private/webstore_private_api.h base::DictionaryValue* parsed_manifest) OVERRIDE; base 159 chrome/browser/extensions/api/webstore_private/webstore_private_api.h scoped_ptr<base::DictionaryValue> parsed_manifest_; base 53 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::MessageLoopForUI::current()->Quit(); base 67 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::MessageLoopForUI::current()->Quit(); base 157 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::string16 expected_title = base::UTF8ToUTF16("PASS: about:blank"); base 158 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::string16 failure_title = base::UTF8ToUTF16("FAIL"); base 164 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::string16 final_title = watcher.WaitAndGetTitle(); base 174 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::string16 expected_title = base::UTF8ToUTF16("PASS: about:blank"); base 175 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::string16 failure_title = base::UTF8ToUTF16("FAIL"); base 181 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::string16 final_title = watcher.WaitAndGetTitle(); base 193 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::ScopedTempDir temp_dir; base 195 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::FilePath missing_directory = temp_dir.Take(); base 196 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc EXPECT_TRUE(base::DeleteFile(missing_directory, true)); base 203 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc if (base::DirectoryExists(missing_directory)) base 204 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc EXPECT_TRUE(base::DeleteFile(missing_directory, true)); base 328 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc scoped_ptr<base::Value> result(utils::RunFunctionAndReturnSingleResult( base 331 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc EXPECT_EQ(base::Value::TYPE_STRING, result->GetType()); base 75 chrome/browser/extensions/api/webview/webview_api.cc base::DictionaryValue* properties = NULL; base 175 chrome/browser/extensions/api/webview/webview_api.cc base::DictionaryValue* data_to_remove; base 182 chrome/browser/extensions/api/webview/webview_api.cc for (base::DictionaryValue::Iterator i(*data_to_remove); base 201 chrome/browser/extensions/api/webview/webview_api.cc base::DictionaryValue* options; base 217 chrome/browser/extensions/api/webview/webview_api.cc base::Time::UnixEpoch() : base 218 chrome/browser/extensions/api/webview/webview_api.cc base::Time::FromDoubleT(ms_since_epoch / 1000.0); base 231 chrome/browser/extensions/api/webview/webview_api.cc base::Bind(&WebviewClearDataFunction::ClearDataDone, base 266 chrome/browser/extensions/api/webview/webview_api.cc base::DictionaryValue* details_value = NULL; base 305 chrome/browser/extensions/api/webview/webview_api.cc const base::ListValue& result) { base 369 chrome/browser/extensions/api/webview/webview_api.cc SetResult(base::Value::CreateDoubleValue(zoom_factor)); base 386 chrome/browser/extensions/api/webview/webview_api.cc base::string16 search_text; base 387 chrome/browser/extensions/api/webview/webview_api.cc base::UTF8ToUTF16(params->search_text.c_str(), base 494 chrome/browser/extensions/api/webview/webview_api.cc SetResult(base::Value::CreateBooleanValue( base 118 chrome/browser/extensions/api/webview/webview_api.h base::Time remove_since_; base 162 chrome/browser/extensions/api/webview/webview_api.h const base::ListValue& result) OVERRIDE; base 36 chrome/browser/extensions/app_background_page_apitest.cc using base::ASCIIToUTF16; base 48 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath* app_dir) { base 53 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath manifest_path = app_dir_.path().AppendASCII("manifest.json"); base 54 chrome/browser/extensions/app_background_page_apitest.cc int bytes_written = base::WriteFile(manifest_path, base 108 chrome/browser/extensions/app_background_page_apitest.cc base::MessageLoop::current()->PostTask( base 110 chrome/browser/extensions/app_background_page_apitest.cc base::Bind(&AppBackgroundPageApiTest::UnloadExtension, this, id)); base 114 chrome/browser/extensions/app_background_page_apitest.cc base::ScopedTempDir app_dir_; base 143 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 172 chrome/browser/extensions/app_background_page_apitest.cc return base::Bind(&ImpulseCallbackCounter::ImpulseCallback, base 173 chrome/browser/extensions/app_background_page_apitest.cc base::Unretained(this), base 183 chrome/browser/extensions/app_background_page_apitest.cc const base::Closure& quit_callback, base 218 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 235 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 251 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 267 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 279 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 300 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 332 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 352 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 376 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 398 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 416 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 433 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 445 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 466 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 480 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 500 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 510 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 527 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 556 chrome/browser/extensions/app_background_page_apitest.cc std::string app_manifest = base::StringPrintf( base 577 chrome/browser/extensions/app_background_page_apitest.cc base::FilePath app_dir; base 57 chrome/browser/extensions/blacklist.cc static base::LazyInstance<LazySafeBrowsingDatabaseManager> g_database_manager = base 66 chrome/browser/extensions/blacklist.cc public base::RefCountedThreadSafe<SafeBrowsingClientImpl> { base 68 chrome/browser/extensions/blacklist.cc typedef base::Callback<void(const std::set<std::string>&)> OnResultCallback; base 75 chrome/browser/extensions/blacklist.cc : callback_message_loop_(base::MessageLoopProxy::current()), base 80 chrome/browser/extensions/blacklist.cc base::Bind(&SafeBrowsingClientImpl::StartCheck, this, base 98 chrome/browser/extensions/blacklist.cc base::Bind(callback_, std::set<std::string>())); base 109 chrome/browser/extensions/blacklist.cc callback_message_loop_->PostTask(FROM_HERE, base::Bind(callback_, hits)); base 113 chrome/browser/extensions/blacklist.cc scoped_refptr<base::MessageLoopProxy> callback_message_loop_; base 190 chrome/browser/extensions/blacklist.cc base::MessageLoopProxy::current()->PostTask( base 191 chrome/browser/extensions/blacklist.cc FROM_HERE, base::Bind(callback, BlacklistStateMap())); base 200 chrome/browser/extensions/blacklist.cc ids, base::Bind(&Blacklist::GetBlacklistStateForIDs, AsWeakPtr(), base 206 chrome/browser/extensions/blacklist.cc GetBlacklistedIDs(ids, base::Bind(&GetMalwareFromBlacklistStateMap, base 215 chrome/browser/extensions/blacklist.cc GetBlacklistedIDs(check, base::Bind(&CheckOneExtensionState, callback)); base 246 chrome/browser/extensions/blacklist.cc base::Bind(&Blacklist::ReturnBlacklistStateMap, AsWeakPtr(), base 269 chrome/browser/extensions/blacklist.cc const std::set<std::string>& ids, const base::Callback<void()>& callback) { base 281 chrome/browser/extensions/blacklist.cc base::Bind(&Blacklist::OnBlacklistStateReceived, AsWeakPtr(), *it)); base 31 chrome/browser/extensions/blacklist.h public base::SupportsWeakPtr<Blacklist> { base 62 chrome/browser/extensions/blacklist.h typedef base::Callback<void(const BlacklistStateMap&)> base 65 chrome/browser/extensions/blacklist.h typedef base::Callback<void(const std::set<std::string>&)> base 68 chrome/browser/extensions/blacklist.h typedef base::Callback<void(BlacklistState)> IsBlacklistedCallback; base 123 chrome/browser/extensions/blacklist.h const base::Callback<void()>& callback); base 140 chrome/browser/extensions/blacklist.h base::Callback<void()> > > base 38 chrome/browser/extensions/blacklist_state_fetcher.cc base::Callback<void(scoped_refptr<net::URLRequestContextGetter>)> base 46 chrome/browser/extensions/blacklist_state_fetcher.cc base::Bind(callback, context_getter)); base 54 chrome/browser/extensions/blacklist_state_fetcher.cc virtual scoped_refptr<base::SingleThreadTaskRunner> GetNetworkTaskRunner() base 66 chrome/browser/extensions/blacklist_state_fetcher.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 91 chrome/browser/extensions/blacklist_state_fetcher.cc base::MessageLoopProxy::current()->PostTask( base 92 chrome/browser/extensions/blacklist_state_fetcher.cc FROM_HERE, base::Bind(callback, BLACKLISTED_UNKNOWN)); base 116 chrome/browser/extensions/blacklist_state_fetcher.cc base::Bind(&BlacklistRequestContextGetter::Create, base 118 chrome/browser/extensions/blacklist_state_fetcher.cc base::Bind(&BlacklistStateFetcher::SaveRequestContext, base 164 chrome/browser/extensions/blacklist_state_fetcher.cc std::string url = base::StringPrintf( base 172 chrome/browser/extensions/blacklist_state_fetcher.cc base::StringAppendF(&url, "&key=%s", base 27 chrome/browser/extensions/blacklist_state_fetcher.h typedef base::Callback<void(BlacklistState)> RequestCallback; base 68 chrome/browser/extensions/blacklist_state_fetcher.h base::WeakPtrFactory<BlacklistStateFetcher> weak_ptr_factory_; base 35 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("a", base::Bind(&Assign, &result)); base 57 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("a", base::Bind(&Assign, &result[0])); base 58 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("a", base::Bind(&Assign, &result[1])); base 59 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("b", base::Bind(&Assign, &result[2])); base 60 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("b", base::Bind(&Assign, &result[3])); base 61 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("c", base::Bind(&Assign, &result[4])); base 62 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("d", base::Bind(&Assign, &result[5])); base 63 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("e", base::Bind(&Assign, &result[6])); base 64 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("f", base::Bind(&Assign, &result[7])); base 65 chrome/browser/extensions/blacklist_state_fetcher_unittest.cc fetcher.Request("f", base::Bind(&Assign, &result[8])); base 51 chrome/browser/extensions/blacklist_unittest.cc : test_prefs_(base::MessageLoopProxy::current()) {} base 91 chrome/browser/extensions/blacklist_unittest.cc Set(a, c), base::Bind(&Assign<std::set<std::string> >, &blacklisted_ids)); base 92 chrome/browser/extensions/blacklist_unittest.cc base::RunLoop().RunUntilIdle(); base 112 chrome/browser/extensions/blacklist_unittest.cc base::RunLoop().RunUntilIdle(); base 151 chrome/browser/extensions/blacklist_unittest.cc base::Bind(&Assign<std::set<std::string> >, base 153 chrome/browser/extensions/blacklist_unittest.cc base::RunLoop().RunUntilIdle(); base 182 chrome/browser/extensions/blacklist_unittest.cc base::Bind(&Assign<Blacklist::BlacklistStateMap>, base 185 chrome/browser/extensions/blacklist_unittest.cc base::Bind(&Assign<Blacklist::BlacklistStateMap>, base 187 chrome/browser/extensions/blacklist_unittest.cc base::RunLoop().RunUntilIdle(); base 201 chrome/browser/extensions/blacklist_unittest.cc base::Bind(&Assign<Blacklist::BlacklistStateMap>, base 203 chrome/browser/extensions/blacklist_unittest.cc base::RunLoop().RunUntilIdle(); base 237 chrome/browser/extensions/blacklist_unittest.cc Set(a, b, c), base::Bind(&Assign<Blacklist::BlacklistStateMap>, &states)); base 238 chrome/browser/extensions/blacklist_unittest.cc base::RunLoop().RunUntilIdle(); base 251 chrome/browser/extensions/blacklist_unittest.cc Set(a, b, c), base::Bind(&Assign<Blacklist::BlacklistStateMap>, base 253 chrome/browser/extensions/blacklist_unittest.cc base::RunLoop().RunUntilIdle(); base 48 chrome/browser/extensions/blob_reader.cc base::StringPrintf("bytes=%" PRId64 "-%" PRId64, offset, base 28 chrome/browser/extensions/blob_reader.h typedef base::Callback<void(scoped_ptr<std::string> blob_data, base 175 chrome/browser/extensions/bookmark_app_helper.cc base::Bind(&BookmarkAppHelper::OnIconsDownloaded, base 176 chrome/browser/extensions/bookmark_app_helper.cc base::Unretained(this)))); base 34 chrome/browser/extensions/bookmark_app_helper.h typedef base::Callback<void(const Extension*, const WebApplicationInfo&)> base 117 chrome/browser/extensions/bookmark_app_helper_unittest.cc web_app_info.title = base::UTF8ToUTF16(kAppTitle); base 118 chrome/browser/extensions/bookmark_app_helper_unittest.cc web_app_info.description = base::UTF8ToUTF16(kAppDescription); base 121 chrome/browser/extensions/bookmark_app_helper_unittest.cc helper.Create(base::Bind(&TestBookmarkAppHelper::CreationComplete, base 122 chrome/browser/extensions/bookmark_app_helper_unittest.cc base::Unretained(&helper))); base 129 chrome/browser/extensions/bookmark_app_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 148 chrome/browser/extensions/bookmark_app_helper_unittest.cc web_app_info.title = base::UTF8ToUTF16(kAppTitle); base 149 chrome/browser/extensions/bookmark_app_helper_unittest.cc web_app_info.description = base::UTF8ToUTF16(kAppDescription); base 154 chrome/browser/extensions/bookmark_app_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 168 chrome/browser/extensions/bookmark_app_helper_unittest.cc web_app_info.title = base::UTF8ToUTF16(kAlternativeAppTitle); base 172 chrome/browser/extensions/bookmark_app_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 15 chrome/browser/extensions/browser_action_apitest.cc base::FilePath extension_path(test_data_dir_.AppendASCII("browsertest") base 22 chrome/browser/extensions/browser_action_apitest.cc EXPECT_STREQ(base::WideToUTF8( base 25 chrome/browser/extensions/browser_action_apitest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur is my name").c_str(), base 29 chrome/browser/extensions/browser_action_apitest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur").c_str(), base 42 chrome/browser/extensions/browser_extension_window_controller.cc base::DictionaryValue* base 44 chrome/browser/extensions/browser_extension_window_controller.cc base::DictionaryValue* result = base 49 chrome/browser/extensions/browser_extension_window_controller.cc base::DictionaryValue* base 52 chrome/browser/extensions/browser_extension_window_controller.cc base::DictionaryValue* result = CreateWindowValue(); base 60 chrome/browser/extensions/browser_extension_window_controller.cc base::DictionaryValue* BrowserExtensionWindowController::CreateTabValue( base 63 chrome/browser/extensions/browser_extension_window_controller.cc base::DictionaryValue* result = extensions::ExtensionTabUtil::CreateTabValue( base 24 chrome/browser/extensions/browser_extension_window_controller.h virtual base::DictionaryValue* CreateWindowValue() const OVERRIDE; base 25 chrome/browser/extensions/browser_extension_window_controller.h virtual base::DictionaryValue* CreateWindowValueWithTabs( base 27 chrome/browser/extensions/browser_extension_window_controller.h virtual base::DictionaryValue* CreateTabValue( base 43 chrome/browser/extensions/browsertest_util_browsertest.cc EXPECT_EQ(base::IntToString(browser()->tab_strip_model()->count()), base 44 chrome/browser/extensions/bundle_installer.cc base::DictionaryValue* manifest) { base 50 chrome/browser/extensions/bundle_installer.cc return Extension::Create(base::FilePath(), base 96 chrome/browser/extensions/bundle_installer.cc base::string16 BundleInstaller::Item::GetNameForDisplay() { base 97 chrome/browser/extensions/bundle_installer.cc base::string16 name = base::UTF8ToUTF16(localized_name); base 98 chrome/browser/extensions/bundle_installer.cc base::i18n::AdjustStringForLocaleDirection(&name); base 160 chrome/browser/extensions/bundle_installer.cc scoped_ptr<base::DictionaryValue>( base 176 chrome/browser/extensions/bundle_installer.cc base::string16 BundleInstaller::GetHeadingTextFor(Item::State state) const { base 182 chrome/browser/extensions/bundle_installer.cc return base::string16(); base 198 chrome/browser/extensions/bundle_installer.cc return base::string16(); base 297 chrome/browser/extensions/bundle_installer.cc base::DictionaryValue* manifest) { base 299 chrome/browser/extensions/bundle_installer.cc parsed_manifests_[id] = linked_ptr<base::DictionaryValue>(manifest); base 21 chrome/browser/extensions/bundle_installer.h namespace base { base 44 chrome/browser/extensions/bundle_installer.h public base::RefCountedThreadSafe<BundleInstaller> { base 72 chrome/browser/extensions/bundle_installer.h base::string16 GetNameForDisplay(); base 111 chrome/browser/extensions/bundle_installer.h base::string16 GetHeadingTextFor(Item::State state) const; base 114 chrome/browser/extensions/bundle_installer.h friend class base::RefCountedThreadSafe<BundleInstaller>; base 117 chrome/browser/extensions/bundle_installer.h typedef std::map<std::string, linked_ptr<base::DictionaryValue> > ManifestMap; base 152 chrome/browser/extensions/bundle_installer.h base::DictionaryValue* parsed_manifest) OVERRIDE; base 87 chrome/browser/extensions/chrome_app_api_browsertest.cc base::Bind(&content::FrameIsChildOfMainFrame)); base 161 chrome/browser/extensions/chrome_app_api_browsertest.cc scoped_ptr<base::DictionaryValue> app_details( base 162 chrome/browser/extensions/chrome_app_api_browsertest.cc static_cast<base::DictionaryValue*>(base::JSONReader::Read(result))); base 240 chrome/browser/extensions/chrome_app_api_browsertest.cc scoped_ptr<base::DictionaryValue> app_details( base 241 chrome/browser/extensions/chrome_app_api_browsertest.cc static_cast<base::DictionaryValue*>(base::JSONReader::Read(json))); base 315 chrome/browser/extensions/chrome_app_sorting.cc base::Value* new_value = new_app_launch_ordinal.IsValid() ? base 316 chrome/browser/extensions/chrome_app_sorting.cc new base::StringValue(new_app_launch_ordinal.ToInternalValue()) : base 394 chrome/browser/extensions/chrome_app_sorting.cc base::Value* new_value = new_page_ordinal.IsValid() ? base 395 chrome/browser/extensions/chrome_app_sorting.cc new base::StringValue(new_page_ordinal.ToInternalValue()) : base 170 chrome/browser/extensions/chrome_app_sorting_unittest.cc new base::FundamentalValue(0)); base 173 chrome/browser/extensions/chrome_app_sorting_unittest.cc new base::FundamentalValue(0)); base 177 chrome/browser/extensions/chrome_app_sorting_unittest.cc new base::FundamentalValue(1)); base 180 chrome/browser/extensions/chrome_app_sorting_unittest.cc new base::FundamentalValue(0)); base 184 chrome/browser/extensions/chrome_app_sorting_unittest.cc new base::FundamentalValue(0)); base 187 chrome/browser/extensions/chrome_app_sorting_unittest.cc new base::FundamentalValue(1)); base 286 chrome/browser/extensions/chrome_app_sorting_unittest.cc new base::FundamentalValue(0)); base 289 chrome/browser/extensions/chrome_app_sorting_unittest.cc new base::FundamentalValue(-1)); base 630 chrome/browser/extensions/chrome_app_sorting_unittest.cc base::DictionaryValue simple_dict; base 811 chrome/browser/extensions/chrome_app_sorting_unittest.cc base::DictionaryValue simple_dict; base 52 chrome/browser/extensions/chrome_extension_web_contents_observer.cc const base::string16& message, base 53 chrome/browser/extensions/chrome_extension_web_contents_observer.cc const base::string16& source, base 39 chrome/browser/extensions/chrome_extension_web_contents_observer.h void OnDetailedConsoleMessageAdded(const base::string16& message, base 40 chrome/browser/extensions/chrome_extension_web_contents_observer.h const base::string16& source, base 176 chrome/browser/extensions/chrome_extensions_browser_client.cc base::Version last_version; base 180 chrome/browser/extensions/chrome_extensions_browser_client.cc last_version = base::Version(last_version_str); base 15 chrome/browser/extensions/chrome_extensions_browser_client.h namespace base { base 41 chrome/browser/extensions/chrome_extensions_browser_client.h virtual bool AreExtensionsDisabled(const base::CommandLine& command_line, base 80 chrome/browser/extensions/chrome_extensions_browser_client.h friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; base 82 chrome/browser/extensions/component_loader.cc base::FieldTrialList::FindFullName(kWebStoreNameFieldTrialName); base 88 chrome/browser/extensions/component_loader.cc std::string GenerateId(const base::DictionaryValue* manifest, base 89 chrome/browser/extensions/component_loader.cc const base::FilePath& path) { base 101 chrome/browser/extensions/component_loader.cc const base::DictionaryValue* manifest, const base::FilePath& directory) base 132 chrome/browser/extensions/component_loader.cc base::DictionaryValue* ComponentLoader::ParseManifest( base 135 chrome/browser/extensions/component_loader.cc scoped_ptr<base::Value> manifest(serializer.Deserialize(NULL, NULL)); base 137 chrome/browser/extensions/component_loader.cc if (!manifest.get() || !manifest->IsType(base::Value::TYPE_DICTIONARY)) { base 142 chrome/browser/extensions/component_loader.cc return static_cast<base::DictionaryValue*>(manifest.release()); base 157 chrome/browser/extensions/component_loader.cc const base::FilePath& root_directory) { base 160 chrome/browser/extensions/component_loader.cc base::DictionaryValue* manifest = ParseManifest(manifest_contents); base 169 chrome/browser/extensions/component_loader.cc const base::FilePath& root_directory) { base 177 chrome/browser/extensions/component_loader.cc const base::FilePath& root_directory) { base 180 chrome/browser/extensions/component_loader.cc base::DictionaryValue* manifest = ParseManifest(manifest_contents); base 186 chrome/browser/extensions/component_loader.cc std::string ComponentLoader::Add(const base::DictionaryValue* parsed_manifest, base 187 chrome/browser/extensions/component_loader.cc const base::FilePath& root_directory) { base 195 chrome/browser/extensions/component_loader.cc std::string ComponentLoader::AddOrReplace(const base::FilePath& path) { base 196 chrome/browser/extensions/component_loader.cc base::FilePath absolute_path = base::MakeAbsoluteFilePath(path); base 198 chrome/browser/extensions/component_loader.cc scoped_ptr<base::DictionaryValue> manifest( base 243 chrome/browser/extensions/component_loader.cc void ComponentLoader::Remove(const base::FilePath& root_directory) { base 279 chrome/browser/extensions/component_loader.cc base::FilePath filemgr_extension_path( base 286 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("file_manager"))); base 292 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("video_player"))); base 298 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("hangout_services"))); base 305 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("hotword_helper"))); base 314 chrome/browser/extensions/component_loader.cc base::FilePath image_loader_extension_path( base 321 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("image_loader"))); base 327 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("network_speech_synthesis"))); base 335 chrome/browser/extensions/component_loader.cc return Add(idr, base::FilePath(extension_misc::kChromeVoxExtensionPath)); base 343 chrome/browser/extensions/component_loader.cc base::FilePath(extension_misc::kSpeechSynthesisExtensionPath)); base 350 chrome/browser/extensions/component_loader.cc const base::FilePath& root_directory, base 358 chrome/browser/extensions/component_loader.cc base::DictionaryValue* manifest = ParseManifest(manifest_contents); base 370 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("chrome_app")), base 377 chrome/browser/extensions/component_loader.cc Add(IDR_KEYBOARD_MANIFEST, base::FilePath(FILE_PATH_LITERAL("keyboard"))); base 383 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("web_store")), base 398 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("/usr/share/chromeos-assets/mobile"))); base 402 chrome/browser/extensions/component_loader.cc Add(IDR_HELP_MANIFEST, base::FilePath(FILE_PATH_LITERAL( base 412 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("bookmark_manager"))); base 414 chrome/browser/extensions/component_loader.cc Add(IDR_CROSH_BUILTIN_MANIFEST, base::FilePath(FILE_PATH_LITERAL( base 420 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("bookmark_manager"))); base 423 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("cloud_print"))); base 467 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL( base 483 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("settings_app"))); base 494 chrome/browser/extensions/component_loader.cc Add(IDR_FEEDBACK_MANIFEST, base::FilePath(FILE_PATH_LITERAL("feedback"))); base 501 chrome/browser/extensions/component_loader.cc std::string id = Add(IDR_QUICKOFFICE_MANIFEST, base::FilePath( base 507 chrome/browser/extensions/component_loader.cc base::FilePath echo_extension_path(FILE_PATH_LITERAL( base 517 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("chromeos/wallpaper_manager"))); base 522 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("chromeos/first_run/app"))); base 526 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("chromeos/network_configuration"))); base 529 chrome/browser/extensions/component_loader.cc base::FilePath(extension_misc::kConnectivityDiagnosticsPath)); base 531 chrome/browser/extensions/component_loader.cc base::FilePath(extension_misc::kConnectivityDiagnosticsLauncherPath)); base 546 chrome/browser/extensions/component_loader.cc base::FieldTrialList::FindFullName(kFieldTrialName); base 559 chrome/browser/extensions/component_loader.cc base::FilePath(FILE_PATH_LITERAL("google_now"))); base 570 chrome/browser/extensions/component_loader.cc base::FilePath easy_unlock_path( base 576 chrome/browser/extensions/component_loader.cc base::FilePath( base 584 chrome/browser/extensions/component_loader.cc base::FilePath pdf_path; base 590 chrome/browser/extensions/component_loader.cc Add(IDR_PDF_MANIFEST, base::FilePath(FILE_PATH_LITERAL("pdf"))); base 52 chrome/browser/extensions/component_loader.h const base::FilePath& root_directory); base 56 chrome/browser/extensions/component_loader.h const base::FilePath& root_directory); base 60 chrome/browser/extensions/component_loader.h std::string AddOrReplace(const base::FilePath& path); base 65 chrome/browser/extensions/component_loader.h const base::FilePath& root_directory); base 72 chrome/browser/extensions/component_loader.h void Remove(const base::FilePath& root_directory); base 90 chrome/browser/extensions/component_loader.h base::DictionaryValue* ParseManifest( base 107 chrome/browser/extensions/component_loader.h ComponentExtensionInfo(const base::DictionaryValue* manifest, base 108 chrome/browser/extensions/component_loader.h const base::FilePath& root_directory); base 111 chrome/browser/extensions/component_loader.h const base::DictionaryValue* manifest; base 114 chrome/browser/extensions/component_loader.h base::FilePath root_directory; base 120 chrome/browser/extensions/component_loader.h std::string Add(const base::DictionaryValue* parsed_manifest, base 121 chrome/browser/extensions/component_loader.h const base::FilePath& root_directory); base 136 chrome/browser/extensions/component_loader.h const base::FilePath& root_directory, base 101 chrome/browser/extensions/component_loader_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 120 chrome/browser/extensions/component_loader_unittest.cc base::FilePath extension_path_; base 127 chrome/browser/extensions/component_loader_unittest.cc base::FilePath GetBasePath() { base 128 chrome/browser/extensions/component_loader_unittest.cc base::FilePath test_data_dir; base 135 chrome/browser/extensions/component_loader_unittest.cc scoped_ptr<base::DictionaryValue> manifest; base 252 chrome/browser/extensions/component_loader_unittest.cc base::FilePath known_extension = GetBasePath() base 254 chrome/browser/extensions/component_loader_unittest.cc base::FilePath unknow_extension = extension_path_; base 255 chrome/browser/extensions/component_loader_unittest.cc base::FilePath invalid_extension = GetBasePath().AppendASCII("bad"); base 25 chrome/browser/extensions/context_menu_matcher.cc const base::Callback<bool(const MenuItem*)>& filter) base 32 chrome/browser/extensions/context_menu_matcher.cc const base::string16& selection_text, base 64 chrome/browser/extensions/context_menu_matcher.cc base::string16 title; base 68 chrome/browser/extensions/context_menu_matcher.cc title = base::UTF8ToUTF16(extension->name()); base 98 chrome/browser/extensions/context_menu_matcher.cc base::string16 ContextMenuMatcher::GetTopLevelContextMenuTitle( base 100 chrome/browser/extensions/context_menu_matcher.cc const base::string16& selection_text) { base 107 chrome/browser/extensions/context_menu_matcher.cc base::string16 title; base 112 chrome/browser/extensions/context_menu_matcher.cc title = base::UTF8ToUTF16(extension->name()); base 192 chrome/browser/extensions/context_menu_matcher.cc const base::string16& selection_text, base 215 chrome/browser/extensions/context_menu_matcher.cc base::string16 title = item->TitleWithReplacement(selection_text, base 32 chrome/browser/extensions/context_menu_matcher.h const base::Callback<bool(const MenuItem*)>& filter); base 38 chrome/browser/extensions/context_menu_matcher.h const base::string16& selection_text, base 45 chrome/browser/extensions/context_menu_matcher.h base::string16 GetTopLevelContextMenuTitle( base 47 chrome/browser/extensions/context_menu_matcher.h const base::string16& selection_text); base 71 chrome/browser/extensions/context_menu_matcher.h const base::string16& selection_text, base 85 chrome/browser/extensions/context_menu_matcher.h base::Callback<bool(const MenuItem*)> filter_; base 34 chrome/browser/extensions/convert_user_script.cc const base::FilePath& user_script_path, const GURL& original_url, base 35 chrome/browser/extensions/convert_user_script.cc const base::FilePath& extensions_dir, base::string16* error) { base 37 chrome/browser/extensions/convert_user_script.cc if (!base::ReadFileToString(user_script_path, &content)) { base 38 chrome/browser/extensions/convert_user_script.cc *error = base::ASCIIToUTF16("Could not read source file."); base 43 chrome/browser/extensions/convert_user_script.cc *error = base::ASCIIToUTF16("User script must be UTF8 encoded."); base 50 chrome/browser/extensions/convert_user_script.cc *error = base::ASCIIToUTF16("Invalid script header."); base 54 chrome/browser/extensions/convert_user_script.cc base::FilePath install_temp_dir = base 57 chrome/browser/extensions/convert_user_script.cc *error = base::ASCIIToUTF16( base 62 chrome/browser/extensions/convert_user_script.cc base::ScopedTempDir temp_dir; base 64 chrome/browser/extensions/convert_user_script.cc *error = base::ASCIIToUTF16("Could not create temporary directory."); base 69 chrome/browser/extensions/convert_user_script.cc scoped_ptr<base::DictionaryValue> root(new base::DictionaryValue); base 85 chrome/browser/extensions/convert_user_script.cc base::Base64Encode(std::string(raw, crypto::kSHA256Length), &key); base 105 chrome/browser/extensions/convert_user_script.cc base::ListValue* js_files = new base::ListValue(); base 106 chrome/browser/extensions/convert_user_script.cc js_files->Append(new base::StringValue("script.js")); base 110 chrome/browser/extensions/convert_user_script.cc base::ListValue* matches = new base::ListValue(); base 114 chrome/browser/extensions/convert_user_script.cc matches->Append(new base::StringValue(i->GetAsString())); base 118 chrome/browser/extensions/convert_user_script.cc matches->Append(new base::StringValue("http://*/*")); base 119 chrome/browser/extensions/convert_user_script.cc matches->Append(new base::StringValue("https://*/*")); base 123 chrome/browser/extensions/convert_user_script.cc base::ListValue* exclude_matches = new base::ListValue(); base 128 chrome/browser/extensions/convert_user_script.cc exclude_matches->Append(new base::StringValue(i->GetAsString())); base 132 chrome/browser/extensions/convert_user_script.cc base::ListValue* includes = new base::ListValue(); base 134 chrome/browser/extensions/convert_user_script.cc includes->Append(new base::StringValue(script.globs().at(i))); base 136 chrome/browser/extensions/convert_user_script.cc base::ListValue* excludes = new base::ListValue(); base 138 chrome/browser/extensions/convert_user_script.cc excludes->Append(new base::StringValue(script.exclude_globs().at(i))); base 140 chrome/browser/extensions/convert_user_script.cc base::DictionaryValue* content_script = new base::DictionaryValue(); base 155 chrome/browser/extensions/convert_user_script.cc base::ListValue* content_scripts = new base::ListValue(); base 160 chrome/browser/extensions/convert_user_script.cc base::FilePath manifest_path = temp_dir.path().Append(kManifestFilename); base 163 chrome/browser/extensions/convert_user_script.cc *error = base::ASCIIToUTF16("Could not write JSON."); base 168 chrome/browser/extensions/convert_user_script.cc if (!base::CopyFile(user_script_path, base 170 chrome/browser/extensions/convert_user_script.cc *error = base::ASCIIToUTF16("Could not copy script file."); base 183 chrome/browser/extensions/convert_user_script.cc *error = base::UTF8ToUTF16(utf8_error); base 15 chrome/browser/extensions/convert_user_script.h namespace base { base 30 chrome/browser/extensions/convert_user_script.h const base::FilePath& user_script, const GURL& original_url, base 31 chrome/browser/extensions/convert_user_script.h const base::FilePath& extensions_dir, base::string16* error); base 36 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir extensions_dir; base 39 chrome/browser/extensions/convert_user_script_unittest.cc base::FilePath test_file; base 44 chrome/browser/extensions/convert_user_script_unittest.cc base::string16 error; base 50 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(base::string16(), error); base 53 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir ext_dir; base 82 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_TRUE(base::PathExists( base 84 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_TRUE(base::PathExists( base 89 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir extensions_dir; base 92 chrome/browser/extensions/convert_user_script_unittest.cc base::FilePath test_file; base 97 chrome/browser/extensions/convert_user_script_unittest.cc base::string16 error; base 103 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(base::string16(), error); base 106 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir ext_dir; base 131 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_TRUE(base::PathExists( base 133 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_TRUE(base::PathExists( base 138 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir extensions_dir; base 141 chrome/browser/extensions/convert_user_script_unittest.cc base::FilePath test_file; base 146 chrome/browser/extensions/convert_user_script_unittest.cc base::string16 error; base 152 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("User script must be UTF8 encoded."), error); base 156 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir extensions_dir; base 159 chrome/browser/extensions/convert_user_script_unittest.cc base::FilePath test_file; base 164 chrome/browser/extensions/convert_user_script_unittest.cc base::string16 error; base 170 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(base::string16(), error); base 173 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir ext_dir; base 191 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir extensions_dir; base 194 chrome/browser/extensions/convert_user_script_unittest.cc base::FilePath test_file; base 199 chrome/browser/extensions/convert_user_script_unittest.cc base::string16 error; base 205 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(base::string16(), error); base 208 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir ext_dir; base 226 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir extensions_dir; base 229 chrome/browser/extensions/convert_user_script_unittest.cc base::FilePath test_file; base 233 chrome/browser/extensions/convert_user_script_unittest.cc ASSERT_TRUE(base::PathExists(test_file)) << test_file.value(); base 235 chrome/browser/extensions/convert_user_script_unittest.cc base::string16 error; base 241 chrome/browser/extensions/convert_user_script_unittest.cc EXPECT_EQ(base::string16(), error); base 244 chrome/browser/extensions/convert_user_script_unittest.cc base::ScopedTempDir ext_dir; base 38 chrome/browser/extensions/convert_web_app.cc using base::Time; base 56 chrome/browser/extensions/convert_web_app.cc base::Base64Encode(std::string(raw, crypto::kSHA256Length), &key); base 79 chrome/browser/extensions/convert_web_app.cc return base::StringPrintf("%i.%i.%i.%i", base 89 chrome/browser/extensions/convert_web_app.cc const base::FilePath& extensions_dir) { base 90 chrome/browser/extensions/convert_web_app.cc base::FilePath install_temp_dir = base 97 chrome/browser/extensions/convert_web_app.cc base::ScopedTempDir temp_dir; base 104 chrome/browser/extensions/convert_web_app.cc scoped_ptr<base::DictionaryValue> root(new base::DictionaryValue); base 106 chrome/browser/extensions/convert_web_app.cc root->SetString(keys::kName, base::UTF16ToUTF8(web_app.title)); base 108 chrome/browser/extensions/convert_web_app.cc root->SetString(keys::kDescription, base::UTF16ToUTF8(web_app.description)); base 112 chrome/browser/extensions/convert_web_app.cc base::DictionaryValue* icons = new base::DictionaryValue(); base 115 chrome/browser/extensions/convert_web_app.cc std::string size = base::StringPrintf("%i", web_app.icons[i].width); base 116 chrome/browser/extensions/convert_web_app.cc std::string icon_path = base::StringPrintf("%s/%s.png", kIconsDirName, base 122 chrome/browser/extensions/convert_web_app.cc base::FilePath manifest_path = temp_dir.path().Append(kManifestFilename); base 130 chrome/browser/extensions/convert_web_app.cc base::FilePath icons_dir = temp_dir.path().AppendASCII(kIconsDirName); base 131 chrome/browser/extensions/convert_web_app.cc if (!base::CreateDirectory(icons_dir)) { base 140 chrome/browser/extensions/convert_web_app.cc base::FilePath icon_file = icons_dir.AppendASCII( base 141 chrome/browser/extensions/convert_web_app.cc base::StringPrintf("%i.png", web_app.icons[i].width)); base 151 chrome/browser/extensions/convert_web_app.cc int size = base::checked_cast<int>(image_data.size()); base 152 chrome/browser/extensions/convert_web_app.cc if (base::WriteFile(icon_file, image_data_ptr, size) != size) { base 12 chrome/browser/extensions/convert_web_app.h namespace base { base 31 chrome/browser/extensions/convert_web_app.h std::string ConvertTimeToExtensionVersion(const base::Time& time); base 43 chrome/browser/extensions/convert_web_app.h const base::Time& create_time, base 44 chrome/browser/extensions/convert_web_app.h const base::FilePath& extensions_dir); base 50 chrome/browser/extensions/convert_web_app_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 39 chrome/browser/extensions/convert_web_app_unittest.cc base::FilePath icon_file; base 47 chrome/browser/extensions/convert_web_app_unittest.cc .AppendASCII(base::StringPrintf("%i.png", size)); base 54 chrome/browser/extensions/convert_web_app_unittest.cc if (!base::ReadFileToString(icon_file, &icon_data)) { base 69 chrome/browser/extensions/convert_web_app_unittest.cc base::Time GetTestTime(int year, int month, int day, int hour, int minute, base 71 chrome/browser/extensions/convert_web_app_unittest.cc base::Time::Exploded exploded = {0}; base 79 chrome/browser/extensions/convert_web_app_unittest.cc return base::Time::FromUTCExploded(exploded); base 97 chrome/browser/extensions/convert_web_app_unittest.cc base::ScopedTempDir extensions_dir; base 101 chrome/browser/extensions/convert_web_app_unittest.cc web_app.title = base::ASCIIToUTF16("Gearpad"); base 103 chrome/browser/extensions/convert_web_app_unittest.cc base::ASCIIToUTF16("The best text editor in the universe!"); base 109 chrome/browser/extensions/convert_web_app_unittest.cc web_app.app_url.Resolve(base::StringPrintf("%i.png", sizes[i]))); base 118 chrome/browser/extensions/convert_web_app_unittest.cc base::ScopedTempDir extension_dir; base 129 chrome/browser/extensions/convert_web_app_unittest.cc EXPECT_EQ(base::UTF16ToUTF8(web_app.title), extension->name()); base 130 chrome/browser/extensions/convert_web_app_unittest.cc EXPECT_EQ(base::UTF16ToUTF8(web_app.description), extension->description()); base 138 chrome/browser/extensions/convert_web_app_unittest.cc EXPECT_EQ(base::StringPrintf("icons/%i.png", web_app.icons[i].width), base 146 chrome/browser/extensions/convert_web_app_unittest.cc EXPECT_TRUE(base::PathExists(resource.GetFilePath())); base 151 chrome/browser/extensions/convert_web_app_unittest.cc base::ScopedTempDir extensions_dir; base 155 chrome/browser/extensions/convert_web_app_unittest.cc web_app.title = base::ASCIIToUTF16("Gearpad"); base 163 chrome/browser/extensions/convert_web_app_unittest.cc base::ScopedTempDir extension_dir; base 174 chrome/browser/extensions/convert_web_app_unittest.cc EXPECT_EQ(base::UTF16ToUTF8(web_app.title), extension->name()); base 8 chrome/browser/extensions/cross_origin_xhr_apitest.cc const base::FilePath::CharType kFtpDocRoot[] = base 14 chrome/browser/extensions/cross_origin_xhr_apitest.cc ASSERT_TRUE(StartFTPServer(base::FilePath(kFtpDocRoot))); base 27 chrome/browser/extensions/cross_origin_xhr_apitest.cc ASSERT_TRUE(StartFTPServer(base::FilePath(kFtpDocRoot))); base 66 chrome/browser/extensions/crx_installer.cc using base::UserMetricsAction; base 108 chrome/browser/extensions/crx_installer.cc base::WeakPtr<ExtensionService> service_weak, base 176 chrome/browser/extensions/crx_installer.cc void CrxInstaller::InstallCrx(const base::FilePath& source_file) { base 196 chrome/browser/extensions/crx_installer.cc base::Bind(&SandboxedUnpacker::Start, unpacker.get()))) base 200 chrome/browser/extensions/crx_installer.cc void CrxInstaller::InstallUserScript(const base::FilePath& source_file, base 209 chrome/browser/extensions/crx_installer.cc base::Bind(&CrxInstaller::ConvertUserScriptOnFileThread, this))) base 214 chrome/browser/extensions/crx_installer.cc base::string16 error; base 229 chrome/browser/extensions/crx_installer.cc base::Bind(&CrxInstaller::ConvertWebAppOnFileThread, base 238 chrome/browser/extensions/crx_installer.cc const base::FilePath& install_directory) { base 239 chrome/browser/extensions/crx_installer.cc base::string16 error; base 241 chrome/browser/extensions/crx_installer.cc ConvertWebAppToExtension(web_app, base::Time::Now(), install_directory)); base 263 chrome/browser/extensions/crx_installer.cc base::ASCIIToUTF16(expected_id_), base 264 chrome/browser/extensions/crx_installer.cc base::ASCIIToUTF16(extension->id()))); base 273 chrome/browser/extensions/crx_installer.cc base::ASCIIToUTF16(expected_version_->GetString()), base 274 chrome/browser/extensions/crx_installer.cc base::ASCIIToUTF16(extension->version()->GetString()))); base 281 chrome/browser/extensions/crx_installer.cc base::ASCIIToUTF16(expected_version_->GetString() + "+"), base 282 chrome/browser/extensions/crx_installer.cc base::ASCIIToUTF16(extension->version()->GetString()))); base 304 chrome/browser/extensions/crx_installer.cc Extension::Create(base::FilePath(), base 385 chrome/browser/extensions/crx_installer.cc base::ASCIIToUTF16(Extension::kMimeType))); base 424 chrome/browser/extensions/crx_installer.cc void CrxInstaller::OnUnpackFailure(const base::string16& error_message) { base 438 chrome/browser/extensions/crx_installer.cc const base::FilePath& temp_dir, base 439 chrome/browser/extensions/crx_installer.cc const base::FilePath& extension_dir, base 440 chrome/browser/extensions/crx_installer.cc const base::DictionaryValue* original_manifest, base 461 chrome/browser/extensions/crx_installer.cc scoped_ptr<base::DictionaryValue>(original_manifest->DeepCopy()))); base 475 chrome/browser/extensions/crx_installer.cc base::Bind(&CrxInstaller::CheckImportsAndRequirements, this))) base 498 chrome/browser/extensions/crx_installer.cc base::ASCIIToUTF16(i->extension_id)))); base 503 chrome/browser/extensions/crx_installer.cc installer_.CheckRequirements(base::Bind(&CrxInstaller::OnRequirementsChecked, base 516 chrome/browser/extensions/crx_installer.cc base::UTF8ToUTF16(JoinString(requirement_errors, ' ')))); base 524 chrome/browser/extensions/crx_installer.cc base::Bind(&CrxInstaller::OnBlacklistChecked, this)); base 542 chrome/browser/extensions/crx_installer.cc base::UTF8ToUTF16(extension()->name())))); base 574 chrome/browser/extensions/crx_installer.cc base::string16 error = installer_.CheckManagementPolicy(); base 599 chrome/browser/extensions/crx_installer.cc base::UTF8ToUTF16(overlapping_extension->name())))); base 614 chrome/browser/extensions/crx_installer.cc base::Bind(&CrxInstaller::CompleteInstall, this))) base 636 chrome/browser/extensions/crx_installer.cc base::Bind(&CrxInstaller::CompleteInstall, this))) base 686 chrome/browser/extensions/crx_installer.cc base::FilePath version_dir = extension_file_util::InstallExtension( base 718 chrome/browser/extensions/crx_installer.cc ReportFailureFromFileThread(CrxInstallerError(base::UTF8ToUTF16(error))); base 727 chrome/browser/extensions/crx_installer.cc base::Bind(&CrxInstaller::ReportFailureFromUIThread, this, error))) { base 739 chrome/browser/extensions/crx_installer.cc content::Details<const base::string16>(&error.message())); base 769 chrome/browser/extensions/crx_installer.cc base::Bind(&CrxInstaller::ReportSuccessFromUIThread, this))) base 824 chrome/browser/extensions/crx_installer.cc base::Bind(&CrxInstaller::CleanupTempFiles, this))) { base 833 chrome/browser/extensions/crx_installer.cc temp_dir_ = base::FilePath(); base 838 chrome/browser/extensions/crx_installer.cc source_file_ = base::FilePath(); base 29 chrome/browser/extensions/crx_installer.h namespace base { base 97 chrome/browser/extensions/crx_installer.h void InstallCrx(const base::FilePath& source_file); base 100 chrome/browser/extensions/crx_installer.h void InstallUserScript(const base::FilePath& source_file, base 116 chrome/browser/extensions/crx_installer.h const base::FilePath& source_file() const { return source_file_; } base 205 chrome/browser/extensions/crx_installer.h CrxInstaller(base::WeakPtr<ExtensionService> service_weak, base 215 chrome/browser/extensions/crx_installer.h const base::FilePath& install_directory); base 222 chrome/browser/extensions/crx_installer.h virtual void OnUnpackFailure(const base::string16& error_message) OVERRIDE; base 223 chrome/browser/extensions/crx_installer.h virtual void OnUnpackSuccess(const base::FilePath& temp_dir, base 224 chrome/browser/extensions/crx_installer.h const base::FilePath& extension_dir, base 225 chrome/browser/extensions/crx_installer.h const base::DictionaryValue* original_manifest, base 265 chrome/browser/extensions/crx_installer.h base::FilePath source_file_; base 271 chrome/browser/extensions/crx_installer.h base::FilePath install_directory_; base 340 chrome/browser/extensions/crx_installer.h base::FilePath temp_dir_; base 343 chrome/browser/extensions/crx_installer.h base::WeakPtr<ExtensionService> service_weak_; base 353 chrome/browser/extensions/crx_installer.h base::FilePath unpacked_extension_root_; base 398 chrome/browser/extensions/crx_installer.h scoped_refptr<base::SequencedTaskRunner> installer_task_runner_; base 49 chrome/browser/extensions/crx_installer_browsertest.cc public base::RefCountedThreadSafe<MockPromptProxy> { base 56 chrome/browser/extensions/crx_installer_browsertest.cc const base::string16& error() const { return error_; } base 65 chrome/browser/extensions/crx_installer_browsertest.cc void set_error(const base::string16& error) { error_ = error; } base 80 chrome/browser/extensions/crx_installer_browsertest.cc base::string16 error_; base 103 chrome/browser/extensions/crx_installer_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 107 chrome/browser/extensions/crx_installer_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 147 chrome/browser/extensions/crx_installer_browsertest.cc base::FilePath ext_path = test_data_dir_.AppendASCII(manifest_dir); base 149 chrome/browser/extensions/crx_installer_browsertest.cc scoped_ptr<base::DictionaryValue> parsed_manifest( base 163 chrome/browser/extensions/crx_installer_browsertest.cc const base::FilePath& crx_path) { base 179 chrome/browser/extensions/crx_installer_browsertest.cc base::FilePath ext_path = test_data_dir_.AppendASCII(ext_relpath); base 185 chrome/browser/extensions/crx_installer_browsertest.cc base::FilePath crx_path = PackExtension(ext_path); base 238 chrome/browser/extensions/crx_installer_browsertest.cc base::FilePath crx_path = PackExtension( base 271 chrome/browser/extensions/crx_installer_browsertest.cc base::FilePath crx_path = PackExtension( base 351 chrome/browser/extensions/crx_installer_browsertest.cc EXPECT_EQ(base::string16(), mock_prompt->error()) << kTestData[i]; base 361 chrome/browser/extensions/crx_installer_browsertest.cc base::FilePath crx_path = test_data_dir_.AppendASCII("theme_hidpi_crx"); base 389 chrome/browser/extensions/crx_installer_browsertest.cc base::FilePath crx_path = test_data_dir_.AppendASCII("delayed_install"); base 457 chrome/browser/extensions/crx_installer_browsertest.cc base::FilePath crx_path = test_data_dir_.AppendASCII("theme_hidpi_crx") base 482 chrome/browser/extensions/crx_installer_browsertest.cc base::FilePath crx_path = base 25 chrome/browser/extensions/crx_installer_error.h explicit CrxInstallerError(const base::string16& message) base 30 chrome/browser/extensions/crx_installer_error.h CrxInstallerError(Type type, const base::string16& message) base 35 chrome/browser/extensions/crx_installer_error.h const base::string16& message() const { return message_; } base 39 chrome/browser/extensions/crx_installer_error.h base::string16 message_; base 27 chrome/browser/extensions/data_deleter.cc using base::WeakPtr; base 90 chrome/browser/extensions/data_deleter.cc base::Bind( base 153 chrome/browser/extensions/default_apps.cc base::DictionaryValue* prefs = new base::DictionaryValue; base 161 chrome/browser/extensions/default_apps.cc void Provider::SetPrefs(base::DictionaryValue* prefs) { base 164 chrome/browser/extensions/default_apps.cc for (base::DictionaryValue::Iterator i(*prefs); !i.IsAtEnd(); i.Advance()) { base 14 chrome/browser/extensions/default_apps.h namespace base { base 55 chrome/browser/extensions/default_apps.h virtual void SetPrefs(base::DictionaryValue* prefs) OVERRIDE; base 35 chrome/browser/extensions/default_apps_unittest.cc base::MessageLoopForIO loop_; base 34 chrome/browser/extensions/dev_mode_bubble_controller.cc base::LazyInstance<std::set<Profile*> > g_shown_for_profiles = base 71 chrome/browser/extensions/dev_mode_bubble_controller.cc base::string16 DevModeBubbleDelegate::GetTitle() const { base 75 chrome/browser/extensions/dev_mode_bubble_controller.cc base::string16 DevModeBubbleDelegate::GetMessageBody() const { base 79 chrome/browser/extensions/dev_mode_bubble_controller.cc base::string16 DevModeBubbleDelegate::GetOverflowText( base 80 chrome/browser/extensions/dev_mode_bubble_controller.cc const base::string16& overflow_count) const { base 86 chrome/browser/extensions/dev_mode_bubble_controller.cc base::string16 DevModeBubbleDelegate::GetLearnMoreLabel() const { base 94 chrome/browser/extensions/dev_mode_bubble_controller.cc base::string16 DevModeBubbleDelegate::GetActionButtonLabel() const { base 98 chrome/browser/extensions/dev_mode_bubble_controller.cc base::string16 DevModeBubbleDelegate::GetDismissButtonLabel() const { base 34 chrome/browser/extensions/dev_mode_bubble_controller.h virtual base::string16 GetTitle() const OVERRIDE; base 35 chrome/browser/extensions/dev_mode_bubble_controller.h virtual base::string16 GetMessageBody() const OVERRIDE; base 36 chrome/browser/extensions/dev_mode_bubble_controller.h virtual base::string16 GetOverflowText( base 37 chrome/browser/extensions/dev_mode_bubble_controller.h const base::string16& overflow_count) const OVERRIDE; base 38 chrome/browser/extensions/dev_mode_bubble_controller.h virtual base::string16 GetLearnMoreLabel() const OVERRIDE; base 40 chrome/browser/extensions/dev_mode_bubble_controller.h virtual base::string16 GetActionButtonLabel() const OVERRIDE; base 41 chrome/browser/extensions/dev_mode_bubble_controller.h virtual base::string16 GetDismissButtonLabel() const OVERRIDE; base 39 chrome/browser/extensions/devtools_util.cc base::Bind(&InspectExtensionHost)); base 20 chrome/browser/extensions/docs/examples/apps/calculator_browsertest.cc base::FilePath test_file; base 64 chrome/browser/extensions/error_console/error_console.cc base::Bind(&ErrorConsole::OnPrefChanged, base 65 chrome/browser/extensions/error_console/error_console.cc base::Unretained(this))); base 101 chrome/browser/extensions/error_console/error_console.cc base::Value::CreateIntegerValue(pref->second)); base 228 chrome/browser/extensions/error_console/error_console.cc base::UTF8ToUTF16(iter->message), base 229 chrome/browser/extensions/error_console/error_console.cc base::UTF8ToUTF16(iter->key), base 230 chrome/browser/extensions/error_console/error_console.cc base::UTF8ToUTF16(iter->specific)))); base 147 chrome/browser/extensions/error_console/error_console.h base::ThreadChecker thread_checker_; base 29 chrome/browser/extensions/error_console/error_console_browsertest.cc using base::string16; base 30 chrome/browser/extensions/error_console/error_console_browsertest.cc using base::UTF8ToUTF16; base 51 chrome/browser/extensions/error_console/error_console_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(source), frame.source); base 52 chrome/browser/extensions/error_console/error_console_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(function), frame.function); base 78 chrome/browser/extensions/error_console/error_console_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(source), error->source()); base 80 chrome/browser/extensions/error_console/error_console_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(message), error->message()); base 114 chrome/browser/extensions/error_console/error_console_browsertest.cc base::FilePath(kManifestFilename).AsUTF8Unsafe(), base 120 chrome/browser/extensions/error_console/error_console_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(manifest_key), manifest_error->manifest_key()); base 121 chrome/browser/extensions/error_console/error_console_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(manifest_specific), base 161 chrome/browser/extensions/error_console/error_console_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 311 chrome/browser/extensions/error_console/error_console_browsertest.cc std::string utf8_key = base::UTF16ToUTF8( base 440 chrome/browser/extensions/error_console/error_console_browsertest.cc base::StringPrintf("extensions::%s", kEventBindings); base 443 chrome/browser/extensions/error_console/error_console_browsertest.cc base::StringPrintf("Event.publicClass.%s [as dispatchToListener]", base 489 chrome/browser/extensions/error_console/error_console_browsertest.cc base::StringPrintf("extensions::%s", kSchemaUtils); base 135 chrome/browser/extensions/error_console/error_console_unittest.cc CreateNewManifestError(kId, base::UintToString(i))); base 28 chrome/browser/extensions/event_router_forwarder.cc scoped_ptr<base::ListValue> event_args, base 35 chrome/browser/extensions/event_router_forwarder.cc scoped_ptr<base::ListValue> event_args, base 52 chrome/browser/extensions/event_router_forwarder.cc scoped_ptr<base::ListValue> event_args, base 60 chrome/browser/extensions/event_router_forwarder.cc scoped_ptr<base::ListValue> event_args, base 72 chrome/browser/extensions/event_router_forwarder.cc scoped_ptr<base::ListValue> event_args, base 79 chrome/browser/extensions/event_router_forwarder.cc base::Bind(&EventRouterForwarder::HandleEvent, this, base 80 chrome/browser/extensions/event_router_forwarder.cc extension_id, event_name, base::Passed(&event_args), base 101 chrome/browser/extensions/event_router_forwarder.cc scoped_ptr<base::ListValue> per_profile_event_args( base 114 chrome/browser/extensions/event_router_forwarder.cc scoped_ptr<base::ListValue> event_args, base 29 chrome/browser/extensions/event_router_forwarder.h : public base::RefCountedThreadSafe<EventRouterForwarder> { base 38 chrome/browser/extensions/event_router_forwarder.h scoped_ptr<base::ListValue> event_args, base 48 chrome/browser/extensions/event_router_forwarder.h scoped_ptr<base::ListValue> event_args, base 56 chrome/browser/extensions/event_router_forwarder.h scoped_ptr<base::ListValue> event_args, base 67 chrome/browser/extensions/event_router_forwarder.h scoped_ptr<base::ListValue> event_args, base 80 chrome/browser/extensions/event_router_forwarder.h scoped_ptr<base::ListValue> event_args, base 92 chrome/browser/extensions/event_router_forwarder.h scoped_ptr<base::ListValue> event_args, base 97 chrome/browser/extensions/event_router_forwarder.h friend class base::RefCountedThreadSafe<EventRouterForwarder>; base 38 chrome/browser/extensions/event_router_forwarder_unittest.cc const std::string& event_name, scoped_ptr<base::ListValue> event_args, base 51 chrome/browser/extensions/event_router_forwarder_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 60 chrome/browser/extensions/event_router_forwarder_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 69 chrome/browser/extensions/event_router_forwarder_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 80 chrome/browser/extensions/event_router_forwarder_unittest.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 96 chrome/browser/extensions/event_router_forwarder_unittest.cc base::PowerMonitorDeviceSource::AllocateSystemIOPorts(); base 98 chrome/browser/extensions/event_router_forwarder_unittest.cc scoped_ptr<base::PowerMonitorSource> power_monitor_source( base 99 chrome/browser/extensions/event_router_forwarder_unittest.cc new base::PowerMonitorDeviceSource()); base 100 chrome/browser/extensions/event_router_forwarder_unittest.cc dummy.reset(new base::PowerMonitor(power_monitor_source.Pass())); base 113 chrome/browser/extensions/event_router_forwarder_unittest.cc base::MessageLoopForUI message_loop_; base 117 chrome/browser/extensions/event_router_forwarder_unittest.cc scoped_ptr<base::PowerMonitor> dummy; base 161 chrome/browser/extensions/event_router_forwarder_unittest.cc base::Bind( base 162 chrome/browser/extensions/event_router_forwarder_unittest.cc &BroadcastEventToRenderers, base::Unretained(event_router.get()), base 166 chrome/browser/extensions/event_router_forwarder_unittest.cc scoped_refptr<base::ThreadTestHelper> helper(new base::ThreadTestHelper( base 170 chrome/browser/extensions/event_router_forwarder_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 67 chrome/browser/extensions/extension_action_icon_factory_unittest.cc base::FilePath path; base 72 chrome/browser/extensions/extension_action_icon_factory_unittest.cc base::ReadFileToString(path, &file_contents); base 97 chrome/browser/extensions/extension_action_icon_factory_unittest.cc base::MessageLoop::current()->Run(); base 104 chrome/browser/extensions/extension_action_icon_factory_unittest.cc base::FilePath test_file; base 113 chrome/browser/extensions/extension_action_icon_factory_unittest.cc scoped_ptr<base::DictionaryValue> valid_value( base 114 chrome/browser/extensions/extension_action_icon_factory_unittest.cc static_cast<base::DictionaryValue*>(serializer.Deserialize(&error_code, base 141 chrome/browser/extensions/extension_action_icon_factory_unittest.cc CreateExtensionService(&command_line, base::FilePath(), false); base 152 chrome/browser/extensions/extension_action_icon_factory_unittest.cc base::MessageLoop::current()->Quit(); base 168 chrome/browser/extensions/extension_action_icon_factory_unittest.cc base::MessageLoop ui_loop_; base 39 chrome/browser/extensions/extension_api_unittest.cc scoped_ptr<base::Value> ExtensionApiUnittest::RunFunctionAndReturnValue( base 44 chrome/browser/extensions/extension_api_unittest.cc return scoped_ptr<base::Value>( base 48 chrome/browser/extensions/extension_api_unittest.cc scoped_ptr<base::DictionaryValue> base 51 chrome/browser/extensions/extension_api_unittest.cc base::Value* value = RunFunctionAndReturnValue(function, args).release(); base 52 chrome/browser/extensions/extension_api_unittest.cc base::DictionaryValue* dict = NULL; base 60 chrome/browser/extensions/extension_api_unittest.cc return scoped_ptr<base::DictionaryValue>(dict); base 63 chrome/browser/extensions/extension_api_unittest.cc scoped_ptr<base::ListValue> ExtensionApiUnittest::RunFunctionAndReturnList( base 65 chrome/browser/extensions/extension_api_unittest.cc base::Value* value = RunFunctionAndReturnValue(function, args).release(); base 66 chrome/browser/extensions/extension_api_unittest.cc base::ListValue* list = NULL; base 74 chrome/browser/extensions/extension_api_unittest.cc return scoped_ptr<base::ListValue>(list); base 14 chrome/browser/extensions/extension_api_unittest.h namespace base { base 65 chrome/browser/extensions/extension_api_unittest.h scoped_ptr<base::Value> RunFunctionAndReturnValue( base 70 chrome/browser/extensions/extension_api_unittest.h scoped_ptr<base::DictionaryValue> RunFunctionAndReturnDictionary( base 75 chrome/browser/extensions/extension_api_unittest.h scoped_ptr<base::ListValue> RunFunctionAndReturnList( base 91 chrome/browser/extensions/extension_apitest.cc base::SplitString(cookie_value, '&', &cookies); base 133 chrome/browser/extensions/extension_apitest.cc base::Bind(&HandleServerRedirectRequest)); base 135 chrome/browser/extensions/extension_apitest.cc base::Bind(&HandleEchoHeaderRequest)); base 137 chrome/browser/extensions/extension_apitest.cc base::Bind(&HandleSetCookieRequest)); base 139 chrome/browser/extensions/extension_apitest.cc base::Bind(&HandleSetHeaderRequest)); base 193 chrome/browser/extensions/extension_apitest.cc base::MessageLoopForUI::current()->Quit(); base 201 chrome/browser/extensions/extension_apitest.cc base::MessageLoopForUI::current()->Quit(); base 211 chrome/browser/extensions/extension_apitest.cc test_config_.reset(new base::DictionaryValue()); base 334 chrome/browser/extensions/extension_apitest.cc base::FilePath extension_path = test_data_dir_.AppendASCII(extension_name); base 408 chrome/browser/extensions/extension_apitest.cc message_ = base::StringPrintf( base 438 chrome/browser/extensions/extension_apitest.cc const base::FilePath& root_directory) { base 453 chrome/browser/extensions/extension_apitest.cc bool ExtensionApiTest::StartFTPServer(const base::FilePath& root_directory) { base 16 chrome/browser/extensions/extension_apitest.h namespace base { base 174 chrome/browser/extensions/extension_apitest.h bool StartWebSocketServer(const base::FilePath& root_directory); base 179 chrome/browser/extensions/extension_apitest.h bool StartFTPServer(const base::FilePath& root_directory); base 191 chrome/browser/extensions/extension_apitest.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 204 chrome/browser/extensions/extension_apitest.h scoped_ptr<base::DictionaryValue> test_config_; base 88 chrome/browser/extensions/extension_browsertest.cc const extensions::ExtensionSet* extensions, const base::FilePath& path) { base 89 chrome/browser/extensions/extension_browsertest.cc base::FilePath extension_path = base::MakeAbsoluteFilePath(path); base 128 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path) { base 133 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path) { base 139 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path, int flags) { base 145 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path, base 174 chrome/browser/extensions/extension_browsertest.cc std::string install_warnings_message = base::StringPrintf( base 246 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path, base 247 chrome/browser/extensions/extension_browsertest.cc const base::FilePath::CharType* manifest_relative_path) { base 252 chrome/browser/extensions/extension_browsertest.cc if (!base::ReadFileToString(path.Append(manifest_relative_path), &manifest)) { base 265 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path) { base 270 chrome/browser/extensions/extension_browsertest.cc base::FilePath ExtensionBrowserTest::PackExtension( base 271 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& dir_path) { base 272 chrome/browser/extensions/extension_browsertest.cc base::FilePath crx_path = temp_dir_.path().AppendASCII("temp.crx"); base 273 chrome/browser/extensions/extension_browsertest.cc if (!base::DeleteFile(crx_path, false)) { base 275 chrome/browser/extensions/extension_browsertest.cc return base::FilePath(); base 279 chrome/browser/extensions/extension_browsertest.cc base::FilePath pem_path = base 281 chrome/browser/extensions/extension_browsertest.cc base::FilePath pem_path_out; base 283 chrome/browser/extensions/extension_browsertest.cc if (!base::PathExists(pem_path)) { base 284 chrome/browser/extensions/extension_browsertest.cc pem_path = base::FilePath(); base 286 chrome/browser/extensions/extension_browsertest.cc if (!base::DeleteFile(pem_path_out, false)) { base 288 chrome/browser/extensions/extension_browsertest.cc return base::FilePath(); base 295 chrome/browser/extensions/extension_browsertest.cc base::FilePath ExtensionBrowserTest::PackExtensionWithOptions( base 296 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& dir_path, base 297 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& crx_path, base 298 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& pem_path, base 299 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& pem_out_path) { base 300 chrome/browser/extensions/extension_browsertest.cc if (!base::PathExists(dir_path)) { base 302 chrome/browser/extensions/extension_browsertest.cc return base::FilePath(); base 305 chrome/browser/extensions/extension_browsertest.cc if (!base::PathExists(pem_path) && pem_out_path.empty()) { base 307 chrome/browser/extensions/extension_browsertest.cc return base::FilePath(); base 318 chrome/browser/extensions/extension_browsertest.cc return base::FilePath(); base 321 chrome/browser/extensions/extension_browsertest.cc if (!base::PathExists(crx_path)) { base 323 chrome/browser/extensions/extension_browsertest.cc return base::FilePath(); base 340 chrome/browser/extensions/extension_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 367 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path, base 380 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path, base 394 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path, base 403 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path, base 415 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path, base 425 chrome/browser/extensions/extension_browsertest.cc const base::FilePath& path, base 450 chrome/browser/extensions/extension_browsertest.cc base::FilePath crx_path = path; base 480 chrome/browser/extensions/extension_browsertest.cc VLOG(1) << "Num extensions before: " << base::IntToString(num_before) base 481 chrome/browser/extensions/extension_browsertest.cc << " num after: " << base::IntToString(num_after) base 490 chrome/browser/extensions/extension_browsertest.cc const std::vector<base::string16>* errors = base 492 chrome/browser/extensions/extension_browsertest.cc for (std::vector<base::string16>::const_iterator iter = errors->begin(); base 74 chrome/browser/extensions/extension_browsertest.h const extensions::ExtensionSet* extensions, const base::FilePath& path); base 78 chrome/browser/extensions/extension_browsertest.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 81 chrome/browser/extensions/extension_browsertest.h const extensions::Extension* LoadExtension(const base::FilePath& path); base 85 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path); base 90 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, int flags); base 95 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 103 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 104 chrome/browser/extensions/extension_browsertest.h const base::FilePath::CharType* manifest_relative_path); base 110 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path); base 114 chrome/browser/extensions/extension_browsertest.h base::FilePath PackExtension(const base::FilePath& dir_path); base 120 chrome/browser/extensions/extension_browsertest.h base::FilePath PackExtensionWithOptions(const base::FilePath& dir_path, base 121 chrome/browser/extensions/extension_browsertest.h const base::FilePath& crx_path, base 122 chrome/browser/extensions/extension_browsertest.h const base::FilePath& pem_path, base 123 chrome/browser/extensions/extension_browsertest.h const base::FilePath& pem_out_path); base 129 chrome/browser/extensions/extension_browsertest.h const extensions::Extension* InstallExtension(const base::FilePath& path, base 138 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 150 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, int expected_change); base 155 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 163 chrome/browser/extensions/extension_browsertest.h const std::string& id, const base::FilePath& path, int expected_change); base 168 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 175 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 187 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 197 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path) { base 301 chrome/browser/extensions/extension_browsertest.h base::FilePath test_data_dir_; base 307 chrome/browser/extensions/extension_browsertest.h base::ScopedTempDir temp_dir_; base 320 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 325 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 332 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 338 chrome/browser/extensions/extension_browsertest.h const base::FilePath& path, base 37 chrome/browser/extensions/extension_commands_global_registry.cc static base::LazyInstance< base 77 chrome/browser/extensions/extension_commands_global_registry_apitest.cc using base::ScopedCFTypeRef; base 35 chrome/browser/extensions/extension_context_menu_browsertest.cc base::FilePath extension_dir = base 44 chrome/browser/extensions/extension_context_menu_browsertest.cc base::FilePath extension_dir = base 52 chrome/browser/extensions/extension_context_menu_browsertest.cc base::FilePath extension_dir = base 145 chrome/browser/extensions/extension_context_menu_browsertest.cc base::string16 label16 = base::UTF8ToUTF16(label); base 150 chrome/browser/extensions/extension_context_menu_browsertest.cc base::string16 tmp_label; base 163 chrome/browser/extensions/extension_context_menu_browsertest.cc base::string16* result) { base 273 chrome/browser/extensions/extension_context_menu_browsertest.cc base::string16 label; base 330 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("An Extension with multiple Context Menus"), base 332 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("Context Menu #1 - Extension #2"), base 334 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("Context Menu #2 - Extension #3"), base 336 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("Context Menu #3 - Extension #1"), base 338 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("Ze Extension with multiple Context Menus"), base 349 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(expected_label), menu.GetLabelAt(index)); base 412 chrome/browser/extensions/extension_context_menu_browsertest.cc base::string16 label; base 415 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(extension->name()), model->GetLabelAt(index)); base 433 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("parent"), model->GetLabelAt(index)); base 170 chrome/browser/extensions/extension_context_menu_model.cc base::ReplaceChars(extension_name, "&", "&&", &extension_name); base 171 chrome/browser/extensions/extension_context_menu_model.cc AddItem(NAME, base::UTF8ToUTF16(extension_name)); base 24 chrome/browser/extensions/extension_context_menu_model.h : public base::RefCounted<ExtensionContextMenuModel>, base 75 chrome/browser/extensions/extension_context_menu_model.h friend class base::RefCounted<ExtensionContextMenuModel>; base 85 chrome/browser/extensions/extension_crash_recovery_browsertest.cc base::KillProcess(extension_host->render_process_host()->GetHandle(), base 92 chrome/browser/extensions/extension_crash_recovery_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 318 chrome/browser/extensions/extension_crash_recovery_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 319 chrome/browser/extensions/extension_crash_recovery_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 527 chrome/browser/extensions/extension_crash_recovery_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 37 chrome/browser/extensions/extension_creator.cc const base::FilePath& extension_dir, base 38 chrome/browser/extensions/extension_creator.cc const base::FilePath& crx_path, base 39 chrome/browser/extensions/extension_creator.cc const base::FilePath& private_key_path, base 40 chrome/browser/extensions/extension_creator.cc const base::FilePath& private_key_output_path, base 44 chrome/browser/extensions/extension_creator.cc !base::DirectoryExists(extension_dir)) { base 50 chrome/browser/extensions/extension_creator.cc base::FilePath absolute_extension_dir = base 51 chrome/browser/extensions/extension_creator.cc base::MakeAbsoluteFilePath(extension_dir); base 60 chrome/browser/extensions/extension_creator.cc !base::PathExists(private_key_path)) { base 70 chrome/browser/extensions/extension_creator.cc base::PathExists(private_key_output_path)) { base 78 chrome/browser/extensions/extension_creator.cc if (!(run_flags & kOverwriteCRX) && base::PathExists(crx_path)) { base 88 chrome/browser/extensions/extension_creator.cc bool ExtensionCreator::ValidateManifest(const base::FilePath& extension_dir, base 121 chrome/browser/extensions/extension_creator.cc crypto::RSAPrivateKey* ExtensionCreator::ReadInputKey(const base::FilePath& base 123 chrome/browser/extensions/extension_creator.cc if (!base::PathExists(private_key_path)) { base 130 chrome/browser/extensions/extension_creator.cc if (!base::ReadFileToString(private_key_path, &private_key_contents)) { base 148 chrome/browser/extensions/extension_creator.cc crypto::RSAPrivateKey* ExtensionCreator::GenerateKey(const base::FilePath& base 183 chrome/browser/extensions/extension_creator.cc if (-1 == base::WriteFile(output_private_key_path, base 194 chrome/browser/extensions/extension_creator.cc bool ExtensionCreator::CreateZip(const base::FilePath& extension_dir, base 195 chrome/browser/extensions/extension_creator.cc const base::FilePath& temp_path, base 196 chrome/browser/extensions/extension_creator.cc base::FilePath* zip_path) { base 200 chrome/browser/extensions/extension_creator.cc const base::Callback<bool(const base::FilePath&)>& filter_cb = base 201 chrome/browser/extensions/extension_creator.cc base::Bind(&ExtensionCreatorFilter::ShouldPackageFile, filter.get()); base 211 chrome/browser/extensions/extension_creator.cc bool ExtensionCreator::SignZip(const base::FilePath& zip_path, base 216 chrome/browser/extensions/extension_creator.cc ScopedStdioHandle zip_handle(base::OpenFile(zip_path, "rb")); base 238 chrome/browser/extensions/extension_creator.cc bool ExtensionCreator::WriteCRX(const base::FilePath& zip_path, base 241 chrome/browser/extensions/extension_creator.cc const base::FilePath& crx_path) { base 242 chrome/browser/extensions/extension_creator.cc if (base::PathExists(crx_path)) base 243 chrome/browser/extensions/extension_creator.cc base::DeleteFile(crx_path, false); base 244 chrome/browser/extensions/extension_creator.cc ScopedStdioHandle crx_handle(base::OpenFile(crx_path, "wb")); base 276 chrome/browser/extensions/extension_creator.cc ScopedStdioHandle zip_handle(base::OpenFile(zip_path, "rb")); base 288 chrome/browser/extensions/extension_creator.cc bool ExtensionCreator::Run(const base::FilePath& extension_dir, base 289 chrome/browser/extensions/extension_creator.cc const base::FilePath& crx_path, base 290 chrome/browser/extensions/extension_creator.cc const base::FilePath& private_key_path, base 291 chrome/browser/extensions/extension_creator.cc const base::FilePath& output_private_key_path, base 314 chrome/browser/extensions/extension_creator.cc base::ScopedTempDir temp_dir; base 319 chrome/browser/extensions/extension_creator.cc base::FilePath zip_path; base 328 chrome/browser/extensions/extension_creator.cc base::DeleteFile(zip_path, false); base 13 chrome/browser/extensions/extension_creator.h namespace base { base 42 chrome/browser/extensions/extension_creator.h bool Run(const base::FilePath& extension_dir, base 43 chrome/browser/extensions/extension_creator.h const base::FilePath& crx_path, base 44 chrome/browser/extensions/extension_creator.h const base::FilePath& private_key_path, base 45 chrome/browser/extensions/extension_creator.h const base::FilePath& private_key_output_path, base 61 chrome/browser/extensions/extension_creator.h bool InitializeInput(const base::FilePath& extension_dir, base 62 chrome/browser/extensions/extension_creator.h const base::FilePath& crx_path, base 63 chrome/browser/extensions/extension_creator.h const base::FilePath& private_key_path, base 64 chrome/browser/extensions/extension_creator.h const base::FilePath& private_key_output_path, base 68 chrome/browser/extensions/extension_creator.h bool ValidateManifest(const base::FilePath& extension_dir, base 73 chrome/browser/extensions/extension_creator.h crypto::RSAPrivateKey* ReadInputKey(const base::FilePath& private_key_path); base 77 chrome/browser/extensions/extension_creator.h crypto::RSAPrivateKey* GenerateKey(const base::FilePath& private_key_path); base 80 chrome/browser/extensions/extension_creator.h bool CreateZip(const base::FilePath& extension_dir, const base::FilePath& temp_path, base 81 chrome/browser/extensions/extension_creator.h base::FilePath* zip_path); base 84 chrome/browser/extensions/extension_creator.h bool SignZip(const base::FilePath& zip_path, base 89 chrome/browser/extensions/extension_creator.h bool WriteCRX(const base::FilePath& zip_path, base 92 chrome/browser/extensions/extension_creator.h const base::FilePath& crx_path); base 19 chrome/browser/extensions/extension_creator_filter.cc const base::FilePath& file_path) { base 20 chrome/browser/extensions/extension_creator_filter.cc const base::FilePath& base_name = file_path.BaseName(); base 27 chrome/browser/extensions/extension_creator_filter.cc const base::FilePath::StringType names_to_exclude[] = { base 35 chrome/browser/extensions/extension_creator_filter.cc std::set<base::FilePath::StringType> names_to_exclude_set(names_to_exclude, base 37 chrome/browser/extensions/extension_creator_filter.cc std::vector<base::FilePath::StringType> components; base 44 chrome/browser/extensions/extension_creator_filter.cc base::FilePath::CharType first_character = base_name.value()[0]; base 45 chrome/browser/extensions/extension_creator_filter.cc base::FilePath::CharType last_character = base 10 chrome/browser/extensions/extension_creator_filter.h namespace base { base 19 chrome/browser/extensions/extension_creator_filter.h : public base::RefCounted<ExtensionCreatorFilter> { base 25 chrome/browser/extensions/extension_creator_filter.h bool ShouldPackageFile(const base::FilePath& file_path); base 28 chrome/browser/extensions/extension_creator_filter.h friend class base::RefCounted<ExtensionCreatorFilter>; base 25 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath CreateEmptyTestFile(const base::FilePath& file_path) { base 26 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath test_file(test_dir_.Append(file_path)); base 27 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath temp_file; base 28 chrome/browser/extensions/extension_creator_filter_unittest.cc EXPECT_TRUE(base::CreateTemporaryFileInDir(test_dir_, &temp_file)); base 29 chrome/browser/extensions/extension_creator_filter_unittest.cc EXPECT_TRUE(base::Move(temp_file, test_file)); base 33 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath CreateEmptyTestFileInDir( base 34 chrome/browser/extensions/extension_creator_filter_unittest.cc const base::FilePath::StringType& file_name, base 35 chrome/browser/extensions/extension_creator_filter_unittest.cc const base::FilePath::StringType& dir) { base 36 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath temp_sub_dir(test_dir_.Append(dir)); base 37 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath test_file(temp_sub_dir.Append(file_name)); base 38 chrome/browser/extensions/extension_creator_filter_unittest.cc EXPECT_TRUE(base::CreateDirectory(temp_sub_dir)); base 39 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath temp_file; base 40 chrome/browser/extensions/extension_creator_filter_unittest.cc EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_sub_dir, &temp_file)); base 41 chrome/browser/extensions/extension_creator_filter_unittest.cc EXPECT_TRUE(base::Move(temp_file, test_file)); base 47 chrome/browser/extensions/extension_creator_filter_unittest.cc base::ScopedTempDir temp_dir_; base 49 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath test_dir_; base 53 chrome/browser/extensions/extension_creator_filter_unittest.cc const base::FilePath::CharType* input; base 74 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath input(cases[i].input); base 75 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath test_file(CreateEmptyTestFile(input)); base 84 chrome/browser/extensions/extension_creator_filter_unittest.cc const base::FilePath::StringType file_name; base 85 chrome/browser/extensions/extension_creator_filter_unittest.cc const base::FilePath::StringType dir; base 101 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath test_file(CreateEmptyTestFileInDir(cases[i].file_name, base 111 chrome/browser/extensions/extension_creator_filter_unittest.cc const base::FilePath::CharType* input_char; base 128 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath input(cases[i].input_char); base 130 chrome/browser/extensions/extension_creator_filter_unittest.cc base::FilePath test_file(CreateEmptyTestFile(input)); base 52 chrome/browser/extensions/extension_disabled_ui.cc static base::LazyInstance< base 84 chrome/browser/extensions/extension_disabled_ui.cc public base::RefCountedThreadSafe<ExtensionDisabledDialogDelegate> { base 151 chrome/browser/extensions/extension_disabled_ui.cc virtual base::string16 MenuItemLabel() OVERRIDE; base 154 chrome/browser/extensions/extension_disabled_ui.cc virtual base::string16 GetBubbleViewTitle() OVERRIDE; base 155 chrome/browser/extensions/extension_disabled_ui.cc virtual std::vector<base::string16> GetBubbleViewMessages() OVERRIDE; base 156 chrome/browser/extensions/extension_disabled_ui.cc virtual base::string16 GetBubbleViewAcceptButtonLabel() OVERRIDE; base 157 chrome/browser/extensions/extension_disabled_ui.cc virtual base::string16 GetBubbleViewCancelButtonLabel() OVERRIDE; base 237 chrome/browser/extensions/extension_disabled_ui.cc base::string16 ExtensionDisabledGlobalError::MenuItemLabel() { base 239 chrome/browser/extensions/extension_disabled_ui.cc base::UTF8ToUTF16(extension_->name())); base 250 chrome/browser/extensions/extension_disabled_ui.cc base::string16 ExtensionDisabledGlobalError::GetBubbleViewTitle() { base 252 chrome/browser/extensions/extension_disabled_ui.cc base::UTF8ToUTF16(extension_->name())); base 255 chrome/browser/extensions/extension_disabled_ui.cc std::vector<base::string16> base 257 chrome/browser/extensions/extension_disabled_ui.cc std::vector<base::string16> messages; base 261 chrome/browser/extensions/extension_disabled_ui.cc base::UTF8ToUTF16(extension_->name()))); base 264 chrome/browser/extensions/extension_disabled_ui.cc std::vector<base::string16> permission_warnings = base 274 chrome/browser/extensions/extension_disabled_ui.cc base::string16 ExtensionDisabledGlobalError::GetBubbleViewAcceptButtonLabel() { base 278 chrome/browser/extensions/extension_disabled_ui.cc base::string16 ExtensionDisabledGlobalError::GetBubbleViewCancelButtonLabel() { base 288 chrome/browser/extensions/extension_disabled_ui.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 289 chrome/browser/extensions/extension_disabled_ui.cc base::Bind(&ExtensionService::GrantPermissionsAndEnableExtension, base 300 chrome/browser/extensions/extension_disabled_ui.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 301 chrome/browser/extensions/extension_disabled_ui.cc base::Bind(&ExtensionUninstallDialog::ConfirmUninstall, base 338 chrome/browser/extensions/extension_disabled_ui.cc void AddExtensionDisabledErrorWithIcon(base::WeakPtr<ExtensionService> service, base 363 chrome/browser/extensions/extension_disabled_ui.cc base::Bind(&AddExtensionDisabledErrorWithIcon, base 44 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::FilePath pem_path = test_data_dir_. base 50 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::FilePath()); base 55 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::FilePath()); base 60 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::FilePath()); base 85 chrome/browser/extensions/extension_disabled_ui_browsertest.cc const base::FilePath& crx_path, base 91 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::RunLoop().RunUntilIdle(); base 110 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::ScopedTempDir scoped_temp_dir_; base 111 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::FilePath path_v1_; base 112 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::FilePath path_v2_; base 113 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::FilePath path_v3_; base 226 chrome/browser/extensions/extension_disabled_ui_browsertest.cc base::RunLoop().RunUntilIdle(); base 52 chrome/browser/extensions/extension_dom_clipboard_apitest.cc base::StringPrintf("%s/%s", app_name.c_str(), launch_page.c_str()); base 32 chrome/browser/extensions/extension_error_reporter.cc : ui_loop_(base::MessageLoop::current()), base 38 chrome/browser/extensions/extension_error_reporter.cc void ExtensionErrorReporter::ReportError(const base::string16& message, base 43 chrome/browser/extensions/extension_error_reporter.cc CHECK(base::MessageLoop::current() == ui_loop_) base 58 chrome/browser/extensions/extension_error_reporter.cc base::ASCIIToUTF16("Extension error"), base 63 chrome/browser/extensions/extension_error_reporter.cc base::ASCIIToUTF16("Extension error"), base 70 chrome/browser/extensions/extension_error_reporter.cc const std::vector<base::string16>* ExtensionErrorReporter::GetErrors() { base 13 chrome/browser/extensions/extension_error_reporter.h namespace base { base 40 chrome/browser/extensions/extension_error_reporter.h void ReportError(const base::string16& message, base 45 chrome/browser/extensions/extension_error_reporter.h const std::vector<base::string16>* GetErrors(); base 56 chrome/browser/extensions/extension_error_reporter.h base::MessageLoop* ui_loop_; base 57 chrome/browser/extensions/extension_error_reporter.h std::vector<base::string16> errors_; base 36 chrome/browser/extensions/extension_error_ui.cc base::string16 ExtensionErrorUI::GenerateMessageSection( base 43 chrome/browser/extensions/extension_error_ui.cc base::string16 message; base 51 chrome/browser/extensions/extension_error_ui.cc base::UTF8ToUTF16(e->name())) + base::char16('\n'); base 56 chrome/browser/extensions/extension_error_ui.cc base::string16 ExtensionErrorUI::GenerateMessage() { base 65 chrome/browser/extensions/extension_error_ui.cc std::vector<base::string16> ExtensionErrorUI::GetBubbleViewMessages() { base 71 chrome/browser/extensions/extension_error_ui.cc return std::vector<base::string16>(1, message_); base 74 chrome/browser/extensions/extension_error_ui.cc base::string16 ExtensionErrorUI::GetBubbleViewTitle() { base 78 chrome/browser/extensions/extension_error_ui.cc base::string16 ExtensionErrorUI::GetBubbleViewAcceptButtonLabel() { base 82 chrome/browser/extensions/extension_error_ui.cc base::string16 ExtensionErrorUI::GetBubbleViewCancelButtonLabel() { base 59 chrome/browser/extensions/extension_error_ui.h base::string16 GetBubbleViewTitle(); base 60 chrome/browser/extensions/extension_error_ui.h std::vector<base::string16> GetBubbleViewMessages(); base 61 chrome/browser/extensions/extension_error_ui.h base::string16 GetBubbleViewAcceptButtonLabel(); base 62 chrome/browser/extensions/extension_error_ui.h base::string16 GetBubbleViewCancelButtonLabel(); base 75 chrome/browser/extensions/extension_error_ui.h base::string16 message_; // Displayed in the body of the alert. base 79 chrome/browser/extensions/extension_error_ui.h base::string16 GenerateMessageSection( base 85 chrome/browser/extensions/extension_error_ui.h base::string16 GenerateMessage(); base 63 chrome/browser/extensions/extension_error_ui_default.cc base::string16 ExtensionErrorUIDefault::ExtensionGlobalError::MenuItemLabel() { base 73 chrome/browser/extensions/extension_error_ui_default.cc base::string16 base 78 chrome/browser/extensions/extension_error_ui_default.cc std::vector<base::string16> base 83 chrome/browser/extensions/extension_error_ui_default.cc base::string16 ExtensionErrorUIDefault::ExtensionGlobalError:: base 88 chrome/browser/extensions/extension_error_ui_default.cc base::string16 ExtensionErrorUIDefault::ExtensionGlobalError:: base 36 chrome/browser/extensions/extension_error_ui_default.h virtual base::string16 MenuItemLabel() OVERRIDE; base 38 chrome/browser/extensions/extension_error_ui_default.h virtual base::string16 GetBubbleViewTitle() OVERRIDE; base 39 chrome/browser/extensions/extension_error_ui_default.h virtual std::vector<base::string16> GetBubbleViewMessages() OVERRIDE; base 40 chrome/browser/extensions/extension_error_ui_default.h virtual base::string16 GetBubbleViewAcceptButtonLabel() OVERRIDE; base 41 chrome/browser/extensions/extension_error_ui_default.h virtual base::string16 GetBubbleViewCancelButtonLabel() OVERRIDE; base 53 chrome/browser/extensions/extension_function_test_utils.cc base::Value* ParseJSON(const std::string& data) { base 54 chrome/browser/extensions/extension_function_test_utils.cc return base::JSONReader::Read(data); base 57 chrome/browser/extensions/extension_function_test_utils.cc base::ListValue* ParseList(const std::string& data) { base 58 chrome/browser/extensions/extension_function_test_utils.cc scoped_ptr<base::Value> result(ParseJSON(data)); base 59 chrome/browser/extensions/extension_function_test_utils.cc if (result.get() && result->IsType(base::Value::TYPE_LIST)) base 60 chrome/browser/extensions/extension_function_test_utils.cc return static_cast<base::ListValue*>(result.release()); base 65 chrome/browser/extensions/extension_function_test_utils.cc base::DictionaryValue* ParseDictionary( base 67 chrome/browser/extensions/extension_function_test_utils.cc scoped_ptr<base::Value> result(ParseJSON(data)); base 68 chrome/browser/extensions/extension_function_test_utils.cc if (result.get() && result->IsType(base::Value::TYPE_DICTIONARY)) base 69 chrome/browser/extensions/extension_function_test_utils.cc return static_cast<base::DictionaryValue*>(result.release()); base 74 chrome/browser/extensions/extension_function_test_utils.cc bool GetBoolean(base::DictionaryValue* val, const std::string& key) { base 81 chrome/browser/extensions/extension_function_test_utils.cc int GetInteger(base::DictionaryValue* val, const std::string& key) { base 88 chrome/browser/extensions/extension_function_test_utils.cc std::string GetString(base::DictionaryValue* val, const std::string& key) { base 95 chrome/browser/extensions/extension_function_test_utils.cc base::DictionaryValue* ToDictionary(base::Value* val) { base 97 chrome/browser/extensions/extension_function_test_utils.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, val->GetType()); base 98 chrome/browser/extensions/extension_function_test_utils.cc return static_cast<base::DictionaryValue*>(val); base 101 chrome/browser/extensions/extension_function_test_utils.cc base::ListValue* ToList(base::Value* val) { base 103 chrome/browser/extensions/extension_function_test_utils.cc EXPECT_EQ(base::Value::TYPE_LIST, val->GetType()); base 104 chrome/browser/extensions/extension_function_test_utils.cc return static_cast<base::ListValue*>(val); base 113 chrome/browser/extensions/extension_function_test_utils.cc scoped_ptr<base::DictionaryValue> test_extension_value( base 120 chrome/browser/extensions/extension_function_test_utils.cc scoped_ptr<base::DictionaryValue> test_extension_value( base 127 chrome/browser/extensions/extension_function_test_utils.cc base::DictionaryValue* test_extension_value) { base 134 chrome/browser/extensions/extension_function_test_utils.cc base::DictionaryValue* test_extension_value, base 137 chrome/browser/extensions/extension_function_test_utils.cc const base::FilePath test_extension_path; base 152 chrome/browser/extensions/extension_function_test_utils.cc bool HasPrivacySensitiveFields(base::DictionaryValue* val) { base 178 chrome/browser/extensions/extension_function_test_utils.cc base::Value* RunFunctionAndReturnSingleResult( base 184 chrome/browser/extensions/extension_function_test_utils.cc base::Value* RunFunctionAndReturnSingleResult( base 195 chrome/browser/extensions/extension_function_test_utils.cc const base::Value* single_result = NULL; base 233 chrome/browser/extensions/extension_function_test_utils.cc base::MessageLoopForUI::current()->Quit(); base 248 chrome/browser/extensions/extension_function_test_utils.cc scoped_ptr<base::ListValue> parsed_args(ParseList(args)); base 17 chrome/browser/extensions/extension_function_test_utils.h namespace base { base 31 chrome/browser/extensions/extension_function_test_utils.h base::Value* ParseJSON(const std::string& data); base 32 chrome/browser/extensions/extension_function_test_utils.h base::ListValue* ParseList(const std::string& data); base 33 chrome/browser/extensions/extension_function_test_utils.h base::DictionaryValue* ParseDictionary(const std::string& data); base 38 chrome/browser/extensions/extension_function_test_utils.h bool GetBoolean(base::DictionaryValue* val, const std::string& key); base 39 chrome/browser/extensions/extension_function_test_utils.h int GetInteger(base::DictionaryValue* val, const std::string& key); base 40 chrome/browser/extensions/extension_function_test_utils.h std::string GetString(base::DictionaryValue* val, const std::string& key); base 43 chrome/browser/extensions/extension_function_test_utils.h base::DictionaryValue* ToDictionary(base::Value* val); base 46 chrome/browser/extensions/extension_function_test_utils.h base::ListValue* ToList(base::Value* val); base 68 chrome/browser/extensions/extension_function_test_utils.h base::DictionaryValue* test_extension_value, base 74 chrome/browser/extensions/extension_function_test_utils.h base::DictionaryValue* test_extension_value); base 78 chrome/browser/extensions/extension_function_test_utils.h bool HasPrivacySensitiveFields(base::DictionaryValue* val); base 99 chrome/browser/extensions/extension_function_test_utils.h base::Value* RunFunctionAndReturnSingleResult( base 104 chrome/browser/extensions/extension_function_test_utils.h base::Value* RunFunctionAndReturnSingleResult( base 24 chrome/browser/extensions/extension_functional_browsertest.cc base::FilePath path = test_data_dir_.AppendASCII(filename); base 41 chrome/browser/extensions/extension_garbage_collector.cc typedef std::multimap<std::string, base::FilePath> ExtensionPathsMultimap; base 43 chrome/browser/extensions/extension_garbage_collector.cc void CheckExtensionDirectory(const base::FilePath& path, base 46 chrome/browser/extensions/extension_garbage_collector.cc base::FilePath basename = path.BaseName(); base 51 chrome/browser/extensions/extension_garbage_collector.cc base::DeleteFile(path, true); // Recursive. base 58 chrome/browser/extensions/extension_garbage_collector.cc extension_id = base::UTF16ToASCII(basename.LossyDisplayName()); base 65 chrome/browser/extensions/extension_garbage_collector.cc base::DeleteFile(path, true); // Recursive. base 76 chrome/browser/extensions/extension_garbage_collector.cc base::DeleteFile(path, true); // Recursive. base 81 chrome/browser/extensions/extension_garbage_collector.cc base::FileEnumerator versions_enumerator( base 82 chrome/browser/extensions/extension_garbage_collector.cc path, false /* Not recursive */, base::FileEnumerator::DIRECTORIES); base 83 chrome/browser/extensions/extension_garbage_collector.cc for (base::FilePath version_dir = versions_enumerator.Next(); base 94 chrome/browser/extensions/extension_garbage_collector.cc base::DeleteFile(version_dir, true); // Recursive. base 99 chrome/browser/extensions/extension_garbage_collector.cc const base::FilePath& install_directory, base 105 chrome/browser/extensions/extension_garbage_collector.cc if (!base::DirectoryExists(install_directory)) base 108 chrome/browser/extensions/extension_garbage_collector.cc base::FileEnumerator enumerator(install_directory, base 110 chrome/browser/extensions/extension_garbage_collector.cc base::FileEnumerator::DIRECTORIES); base 112 chrome/browser/extensions/extension_garbage_collector.cc for (base::FilePath extension_path = enumerator.Next(); base 136 chrome/browser/extensions/extension_garbage_collector.cc base::Bind(&ExtensionGarbageCollector::GarbageCollectExtensions, base 138 chrome/browser/extensions/extension_garbage_collector.cc base::TimeDelta::FromSeconds(kGarbageCollectStartupDelay)); base 142 chrome/browser/extensions/extension_garbage_collector.cc base::Bind( base 174 chrome/browser/extensions/extension_garbage_collector.cc base::MessageLoop::current()->PostDelayedTask( base 176 chrome/browser/extensions/extension_garbage_collector.cc base::Bind(&ExtensionGarbageCollector::GarbageCollectExtensions, base 178 chrome/browser/extensions/extension_garbage_collector.cc base::TimeDelta::FromSeconds(kGarbageCollectRetryDelayInSeconds)); base 183 chrome/browser/extensions/extension_garbage_collector.cc std::multimap<std::string, base::FilePath> extension_paths; base 197 chrome/browser/extensions/extension_garbage_collector.cc base::Bind( base 215 chrome/browser/extensions/extension_garbage_collector.cc scoped_ptr<base::hash_set<base::FilePath> > active_paths( base 216 chrome/browser/extensions/extension_garbage_collector.cc new base::hash_set<base::FilePath>()); base 248 chrome/browser/extensions/extension_garbage_collector.cc base::Bind(&ExtensionService::OnGarbageCollectIsolatedStorageFinished, base 64 chrome/browser/extensions/extension_garbage_collector.h base::FilePath install_directory_; base 76 chrome/browser/extensions/extension_garbage_collector.h base::WeakPtrFactory<ExtensionGarbageCollector> weak_factory_; base 42 chrome/browser/extensions/extension_garbage_collector_unittest.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); base 68 chrome/browser/extensions/extension_garbage_collector_unittest.cc base::DictionaryValue* dict = update.Get(); base 76 chrome/browser/extensions/extension_garbage_collector_unittest.cc base::FileEnumerator dirs(extensions_install_dir_, base 78 chrome/browser/extensions/extension_garbage_collector_unittest.cc base::FileEnumerator::DIRECTORIES); base 87 chrome/browser/extensions/extension_garbage_collector_unittest.cc base::FilePath extension_dir = base 89 chrome/browser/extensions/extension_garbage_collector_unittest.cc ASSERT_FALSE(base::PathExists(extension_dir)); base 97 chrome/browser/extensions/extension_garbage_collector_unittest.cc base::FilePath source_install_dir = base 99 chrome/browser/extensions/extension_garbage_collector_unittest.cc base::FilePath pref_path = base 107 chrome/browser/extensions/extension_garbage_collector_unittest.cc ASSERT_TRUE(base::PathExists(extensions_install_dir_.AppendASCII( base 114 chrome/browser/extensions/extension_garbage_collector_unittest.cc EXPECT_TRUE(base::PathExists(extensions_install_dir_.AppendASCII( base 116 chrome/browser/extensions/extension_garbage_collector_unittest.cc EXPECT_TRUE(base::PathExists(extensions_install_dir_.AppendASCII( base 118 chrome/browser/extensions/extension_garbage_collector_unittest.cc EXPECT_TRUE(base::PathExists(extensions_install_dir_.AppendASCII( base 120 chrome/browser/extensions/extension_garbage_collector_unittest.cc EXPECT_FALSE(base::PathExists(extensions_install_dir_.AppendASCII( base 128 chrome/browser/extensions/extension_garbage_collector_unittest.cc base::FilePath source_install_dir = base 130 chrome/browser/extensions/extension_garbage_collector_unittest.cc base::FilePath pref_path = base 138 chrome/browser/extensions/extension_garbage_collector_unittest.cc ASSERT_TRUE(base::PathExists(extensions_install_dir_.AppendASCII( base 145 chrome/browser/extensions/extension_garbage_collector_unittest.cc EXPECT_FALSE(base::PathExists(extensions_install_dir_.AppendASCII( base 147 chrome/browser/extensions/extension_garbage_collector_unittest.cc EXPECT_TRUE(base::PathExists(extensions_install_dir_.AppendASCII( base 149 chrome/browser/extensions/extension_garbage_collector_unittest.cc EXPECT_TRUE(base::PathExists(extensions_install_dir_.AppendASCII( base 151 chrome/browser/extensions/extension_garbage_collector_unittest.cc EXPECT_FALSE(base::PathExists(extensions_install_dir_.AppendASCII( base 29 chrome/browser/extensions/extension_gcm_app_handler.cc base::LazyInstance<BrowserContextKeyedAPIFactory<ExtensionGCMAppHandler> > base 126 chrome/browser/extensions/extension_gcm_app_handler.cc base::Bind(&ExtensionGCMAppHandler::OnUnregisterCompleted, base 75 chrome/browser/extensions/extension_gcm_app_handler.h base::WeakPtrFactory<ExtensionGCMAppHandler> weak_factory_; base 123 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 153 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc base::FilePath path(FILE_PATH_LITERAL("c:\\foo")); base 155 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/foo")); base 158 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc base::DictionaryValue manifest; base 161 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc base::ListValue* permission_list = new base::ListValue; base 162 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc permission_list->Append(base::Value::CreateStringValue("gcm")); base 210 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc base::Bind(&ExtensionGCMAppHandlerTest::RegisterCompleted, base 211 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc base::Unretained(this))); base 201 chrome/browser/extensions/extension_icon_image.cc base::Bind(&IconImage::OnImageLoaded, base 109 chrome/browser/extensions/extension_icon_image.h base::WeakPtrFactory<IconImage> weak_ptr_factory_; base 84 chrome/browser/extensions/extension_icon_image_unittest.cc base::MessageLoop::current()->Quit(); base 93 chrome/browser/extensions/extension_icon_image_unittest.cc base::Bind(&TestImageLoader::OnImageLoaded, base 94 chrome/browser/extensions/extension_icon_image_unittest.cc base::Unretained(this))); base 100 chrome/browser/extensions/extension_icon_image_unittest.cc base::MessageLoop::current()->Run(); base 134 chrome/browser/extensions/extension_icon_image_unittest.cc base::MessageLoop::current()->Run(); base 147 chrome/browser/extensions/extension_icon_image_unittest.cc base::FilePath test_file; base 156 chrome/browser/extensions/extension_icon_image_unittest.cc scoped_ptr<base::DictionaryValue> valid_value( base 157 chrome/browser/extensions/extension_icon_image_unittest.cc static_cast<base::DictionaryValue*>(serializer.Deserialize(&error_code, base 181 chrome/browser/extensions/extension_icon_image_unittest.cc base::MessageLoop::current()->Quit(); base 201 chrome/browser/extensions/extension_icon_image_unittest.cc base::MessageLoop ui_loop_; base 69 chrome/browser/extensions/extension_icon_manager.cc base::Bind( base 77 chrome/browser/extensions/extension_icon_manager.h base::WeakPtrFactory<ExtensionIconManager> weak_ptr_factory_; base 38 chrome/browser/extensions/extension_icon_manager_unittest.cc base::MessageLoop::current()->Quit(); base 45 chrome/browser/extensions/extension_icon_manager_unittest.cc base::MessageLoop::current()->Run(); base 64 chrome/browser/extensions/extension_icon_manager_unittest.cc base::MessageLoop ui_loop_; base 106 chrome/browser/extensions/extension_icon_manager_unittest.cc base::FilePath test_dir; base 108 chrome/browser/extensions/extension_icon_manager_unittest.cc base::FilePath manifest_path = test_dir.AppendASCII( base 112 chrome/browser/extensions/extension_icon_manager_unittest.cc scoped_ptr<base::DictionaryValue> manifest( base 113 chrome/browser/extensions/extension_icon_manager_unittest.cc static_cast<base::DictionaryValue*>(serializer.Deserialize(NULL, NULL))); base 148 chrome/browser/extensions/extension_icon_manager_unittest.cc base::FilePath test_dir; base 150 chrome/browser/extensions/extension_icon_manager_unittest.cc base::FilePath manifest_path = test_dir.AppendASCII( base 154 chrome/browser/extensions/extension_icon_manager_unittest.cc scoped_ptr<base::DictionaryValue> manifest( base 155 chrome/browser/extensions/extension_icon_manager_unittest.cc static_cast<base::DictionaryValue*>(serializer.Deserialize(NULL, NULL))); base 35 chrome/browser/extensions/extension_icon_source_apitest.cc base::FilePath basedir = test_data_dir_.AppendASCII("icons"); base 86 chrome/browser/extensions/extension_icon_source_apitest.cc base::FilePath basedir = test_data_dir_.AppendASCII("icons"); base 159 chrome/browser/extensions/extension_install_prompt.cc base::MessageLoop::current()->PostTask( base 161 chrome/browser/extensions/extension_install_prompt.cc base::Bind(&ExtensionInstallPrompt::Delegate::InstallUIProceed, base 162 chrome/browser/extensions/extension_install_prompt.cc base::Unretained(delegate))); base 167 chrome/browser/extensions/extension_install_prompt.cc base::MessageLoop::current()->PostTask( base 169 chrome/browser/extensions/extension_install_prompt.cc base::Bind(&ExtensionInstallPrompt::Delegate::InstallUIAbort, base 170 chrome/browser/extensions/extension_install_prompt.cc base::Unretained(delegate), base 209 chrome/browser/extensions/extension_install_prompt.cc const std::vector<base::string16>& permissions) { base 214 chrome/browser/extensions/extension_install_prompt.cc const std::vector<base::string16>& details) { base 250 chrome/browser/extensions/extension_install_prompt.cc oauth_user_name_ = base::UTF8ToUTF16(profile->GetPrefs()->GetString( base 270 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetDialogTitle() const { base 282 chrome/browser/extensions/extension_install_prompt.cc resource_id, base::UTF8ToUTF16(extension_->name())); base 288 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetHeading() const { base 290 chrome/browser/extensions/extension_install_prompt.cc return base::UTF8ToUTF16(extension_->name()); base 304 chrome/browser/extensions/extension_install_prompt.cc kHeadingIds[type_], base::UTF8ToUTF16(extension_->name())); base 332 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetAcceptButtonLabel() const { base 354 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetAbortButtonLabel() const { base 361 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetPermissionsHeading() const { base 365 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetOAuthHeading() const { base 369 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetRetainedFilesHeading() const { base 418 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetRatingCount() const { base 421 chrome/browser/extensions/extension_install_prompt.cc base::IntToString16(rating_count_)); base 424 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetUserCount() const { base 429 chrome/browser/extensions/extension_install_prompt.cc base::UTF8ToUTF16(localized_user_count_)); base 431 chrome/browser/extensions/extension_install_prompt.cc return base::string16(); base 442 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetPermission(size_t index) base 448 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetPermissionsDetails( base 483 chrome/browser/extensions/extension_install_prompt.cc base::string16 ExtensionInstallPrompt::Prompt::GetRetainedFile(size_t index) base 510 chrome/browser/extensions/extension_install_prompt.cc const base::DictionaryValue* manifest, base 516 chrome/browser/extensions/extension_install_prompt.cc scoped_ptr<base::DictionaryValue> localized_manifest; base 530 chrome/browser/extensions/extension_install_prompt.cc base::FilePath(), base 541 chrome/browser/extensions/extension_install_prompt.cc ui_loop_(base::MessageLoop::current()), base 557 chrome/browser/extensions/extension_install_prompt.cc ui_loop_(base::MessageLoop::current()), base 573 chrome/browser/extensions/extension_install_prompt.cc DCHECK(ui_loop_ == base::MessageLoop::current()); base 587 chrome/browser/extensions/extension_install_prompt.cc DCHECK(ui_loop_ == base::MessageLoop::current()); base 613 chrome/browser/extensions/extension_install_prompt.cc DCHECK(ui_loop_ == base::MessageLoop::current()); base 640 chrome/browser/extensions/extension_install_prompt.cc DCHECK(ui_loop_ == base::MessageLoop::current()); base 655 chrome/browser/extensions/extension_install_prompt.cc DCHECK(ui_loop_ == base::MessageLoop::current()); base 669 chrome/browser/extensions/extension_install_prompt.cc DCHECK(ui_loop_ == base::MessageLoop::current()); base 682 chrome/browser/extensions/extension_install_prompt.cc DCHECK(ui_loop_ == base::MessageLoop::current()); base 696 chrome/browser/extensions/extension_install_prompt.cc const std::vector<base::FilePath>& retained_file_paths) { base 697 chrome/browser/extensions/extension_install_prompt.cc DCHECK(ui_loop_ == base::MessageLoop::current()); base 758 chrome/browser/extensions/extension_install_prompt.cc base::Bind(&ExtensionInstallPrompt::OnImageLoaded, AsWeakPtr())); base 764 chrome/browser/extensions/extension_install_prompt.cc const base::Time& expiration_time) { base 31 chrome/browser/extensions/extension_install_prompt.h namespace base { base 53 chrome/browser/extensions/extension_install_prompt.h public base::SupportsWeakPtr<ExtensionInstallPrompt> { base 86 chrome/browser/extensions/extension_install_prompt.h void SetPermissions(const std::vector<base::string16>& permissions); base 88 chrome/browser/extensions/extension_install_prompt.h void SetPermissionsDetails(const std::vector<base::string16>& details); base 103 chrome/browser/extensions/extension_install_prompt.h base::string16 GetDialogTitle() const; base 104 chrome/browser/extensions/extension_install_prompt.h base::string16 GetHeading() const; base 107 chrome/browser/extensions/extension_install_prompt.h base::string16 GetAcceptButtonLabel() const; base 109 chrome/browser/extensions/extension_install_prompt.h base::string16 GetAbortButtonLabel() const; base 110 chrome/browser/extensions/extension_install_prompt.h base::string16 GetPermissionsHeading() const; base 111 chrome/browser/extensions/extension_install_prompt.h base::string16 GetOAuthHeading() const; base 112 chrome/browser/extensions/extension_install_prompt.h base::string16 GetRetainedFilesHeading() const; base 126 chrome/browser/extensions/extension_install_prompt.h base::string16 GetRatingCount() const; base 127 chrome/browser/extensions/extension_install_prompt.h base::string16 GetUserCount() const; base 130 chrome/browser/extensions/extension_install_prompt.h base::string16 GetPermission(size_t index) const; base 131 chrome/browser/extensions/extension_install_prompt.h base::string16 GetPermissionsDetails(size_t index) const; base 136 chrome/browser/extensions/extension_install_prompt.h base::string16 GetRetainedFile(size_t index) const; base 151 chrome/browser/extensions/extension_install_prompt.h void set_retained_files(const std::vector<base::FilePath>& retained_files) { base 174 chrome/browser/extensions/extension_install_prompt.h std::vector<base::string16> permissions_; base 175 chrome/browser/extensions/extension_install_prompt.h std::vector<base::string16> details_; base 185 chrome/browser/extensions/extension_install_prompt.h base::string16 oauth_user_name_; base 210 chrome/browser/extensions/extension_install_prompt.h std::vector<base::FilePath> retained_files_; base 247 chrome/browser/extensions/extension_install_prompt.h typedef base::Callback<void(const ExtensionInstallPrompt::ShowParams&, base 259 chrome/browser/extensions/extension_install_prompt.h const base::DictionaryValue* manifest, base 361 chrome/browser/extensions/extension_install_prompt.h const std::vector<base::FilePath>& retained_file_paths); base 396 chrome/browser/extensions/extension_install_prompt.h const base::Time& expiration_time) OVERRIDE; base 409 chrome/browser/extensions/extension_install_prompt.h base::MessageLoop* ui_loop_; base 149 chrome/browser/extensions/extension_install_prompt_experiment.cc bool IsImportantWarning(const base::string16& message) { base 177 chrome/browser/extensions/extension_install_prompt_experiment.cc base::FieldTrial* trial = base::FieldTrialList::Find(kExperimentName); base 182 chrome/browser/extensions/extension_install_prompt_experiment.cc base::SplitString(trial->group_name().c_str(), '_', &tokens); base 184 chrome/browser/extensions/extension_install_prompt_experiment.cc base::StringToUint(tokens[1], &group_id); base 192 chrome/browser/extensions/extension_install_prompt_experiment.cc base::string16 ExtensionInstallPromptExperiment::GetExplanationText() const { base 197 chrome/browser/extensions/extension_install_prompt_experiment.cc base::string16 ExtensionInstallPromptExperiment::GetOkButtonText() const { base 202 chrome/browser/extensions/extension_install_prompt_experiment.cc base::string16 ExtensionInstallPromptExperiment::GetCancelButtonText() const { base 212 chrome/browser/extensions/extension_install_prompt_experiment.cc const base::string16& message) const { base 217 chrome/browser/extensions/extension_install_prompt_experiment.cc const base::string16& message) const { base 240 chrome/browser/extensions/extension_install_prompt_experiment.cc base::string16 ExtensionInstallPromptExperiment::GetInlineExplanation( base 241 chrome/browser/extensions/extension_install_prompt_experiment.cc const base::string16& message) const { base 249 chrome/browser/extensions/extension_install_prompt_experiment.cc return base::string16(); base 14 chrome/browser/extensions/extension_install_prompt_experiment.h : public base::RefCounted<ExtensionInstallPromptExperiment> { base 32 chrome/browser/extensions/extension_install_prompt_experiment.h base::string16 GetExplanationText() const; base 35 chrome/browser/extensions/extension_install_prompt_experiment.h base::string16 GetOkButtonText() const; base 38 chrome/browser/extensions/extension_install_prompt_experiment.h base::string16 GetCancelButtonText() const; base 42 chrome/browser/extensions/extension_install_prompt_experiment.h bool ShouldHighlightText(const base::string16& message) const; base 46 chrome/browser/extensions/extension_install_prompt_experiment.h bool ShouldHighlightBackground(const base::string16& message) const; base 66 chrome/browser/extensions/extension_install_prompt_experiment.h base::string16 GetInlineExplanation(const base::string16& message) const; base 69 chrome/browser/extensions/extension_install_prompt_experiment.h friend class base::RefCounted<ExtensionInstallPromptExperiment>; base 60 chrome/browser/extensions/extension_install_ui_browsertest.cc const base::FilePath theme_path = test_data_dir_.AppendASCII(theme_name); base 90 chrome/browser/extensions/extension_install_ui_browsertest.cc base::FilePath theme_crx = PackExtension(test_data_dir_.AppendASCII("theme")); base 154 chrome/browser/extensions/extension_install_ui_browsertest.cc base::FilePath app_dir = test_data_dir_.AppendASCII("app"); base 177 chrome/browser/extensions/extension_install_ui_browsertest.cc base::FilePath app_dir = test_data_dir_.AppendASCII("app"); base 226 chrome/browser/extensions/extension_install_ui_browsertest.cc base::FilePath app_dir = test_data_dir_.AppendASCII("app"); base 244 chrome/browser/extensions/extension_install_ui_browsertest.cc app_id, base::EmptyString(), extension_misc::kWebStoreAppId); base 30 chrome/browser/extensions/extension_installer.cc base::string16 ExtensionInstaller::CheckManagementPolicy() { base 31 chrome/browser/extensions/extension_installer.cc base::string16 error; base 29 chrome/browser/extensions/extension_installer.h typedef base::Callback<void(std::vector<std::string>)> RequirementsCallback; base 38 chrome/browser/extensions/extension_installer.h base::string16 CheckManagementPolicy(); base 62 chrome/browser/extensions/extension_installer.h base::WeakPtrFactory<ExtensionInstaller> weak_ptr_factory_; base 116 chrome/browser/extensions/extension_keybinding_registry.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 117 chrome/browser/extensions/extension_keybinding_registry.cc args->Append(new base::StringValue(command)); base 31 chrome/browser/extensions/extension_loading_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 49 chrome/browser/extensions/extension_loading_browsertest.cc extension_dir.WriteManifest(base::StringPrintf(manifest_template, 1)); base 71 chrome/browser/extensions/extension_loading_browsertest.cc extension_dir.WriteManifest(base::StringPrintf(manifest_template, 2)); base 20 chrome/browser/extensions/extension_message_bubble.h virtual void OnActionButtonClicked(const base::Closure& callback) = 0; base 23 chrome/browser/extensions/extension_message_bubble.h virtual void OnDismissButtonClicked(const base::Closure& callback) = 0; base 26 chrome/browser/extensions/extension_message_bubble.h virtual void OnLinkClicked(const base::Closure& callback) = 0; base 46 chrome/browser/extensions/extension_message_bubble_controller.cc std::vector<base::string16> base 50 chrome/browser/extensions/extension_message_bubble_controller.cc return std::vector<base::string16>(); base 53 chrome/browser/extensions/extension_message_bubble_controller.cc std::vector<base::string16> return_value; base 59 chrome/browser/extensions/extension_message_bubble_controller.cc return_value.push_back(base::UTF8ToUTF16(extension->name())); base 62 chrome/browser/extensions/extension_message_bubble_controller.cc base::ASCIIToUTF16(std::string("(unknown name) ") + *it)); base 77 chrome/browser/extensions/extension_message_bubble_controller.cc base::Closure dismiss_button_callback = base 78 chrome/browser/extensions/extension_message_bubble_controller.cc base::Bind(&ExtensionMessageBubbleController::OnBubbleDismiss, base 79 chrome/browser/extensions/extension_message_bubble_controller.cc base::Unretained(this)); base 80 chrome/browser/extensions/extension_message_bubble_controller.cc base::Closure action_button_callback = base 81 chrome/browser/extensions/extension_message_bubble_controller.cc base::Bind(&ExtensionMessageBubbleController::OnBubbleAction, base 82 chrome/browser/extensions/extension_message_bubble_controller.cc base::Unretained(this)); base 83 chrome/browser/extensions/extension_message_bubble_controller.cc base::Closure link_callback = base 84 chrome/browser/extensions/extension_message_bubble_controller.cc base::Bind(&ExtensionMessageBubbleController::OnLinkClicked, base 85 chrome/browser/extensions/extension_message_bubble_controller.cc base::Unretained(this)); base 44 chrome/browser/extensions/extension_message_bubble_controller.h virtual base::string16 GetTitle() const = 0; base 45 chrome/browser/extensions/extension_message_bubble_controller.h virtual base::string16 GetMessageBody() const = 0; base 46 chrome/browser/extensions/extension_message_bubble_controller.h virtual base::string16 GetOverflowText( base 47 chrome/browser/extensions/extension_message_bubble_controller.h const base::string16& overflow_count) const = 0; base 48 chrome/browser/extensions/extension_message_bubble_controller.h virtual base::string16 GetLearnMoreLabel() const = 0; base 50 chrome/browser/extensions/extension_message_bubble_controller.h virtual base::string16 GetActionButtonLabel() const = 0; base 51 chrome/browser/extensions/extension_message_bubble_controller.h virtual base::string16 GetDismissButtonLabel() const = 0; base 67 chrome/browser/extensions/extension_message_bubble_controller.h std::vector<base::string16> GetExtensionList(); base 161 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc virtual void OnActionButtonClicked(const base::Closure& callback) OVERRIDE { base 165 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc virtual void OnDismissButtonClicked(const base::Closure& callback) OVERRIDE { base 169 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc virtual void OnLinkClicked(const base::Closure& callback) OVERRIDE { base 176 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc base::Closure action_callback_; base 177 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc base::Closure dismiss_callback_; base 178 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc base::Closure link_callback_; base 256 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc base::FilePath(), base 278 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc scoped_ptr<base::DictionaryValue> parsed_manifest( base 323 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc std::vector<base::string16> suspicious_extensions = base 340 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc EXPECT_TRUE(base::ASCIIToUTF16("Extension 1") == suspicious_extensions[0]); base 362 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc EXPECT_TRUE(base::ASCIIToUTF16("Extension 1") == suspicious_extensions[1]); base 363 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc EXPECT_TRUE(base::ASCIIToUTF16("Extension 2") == suspicious_extensions[0]); base 393 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc std::vector<base::string16> dev_mode_extensions = base 396 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc EXPECT_TRUE(base::ASCIIToUTF16("Extension 2") == dev_mode_extensions[0]); base 397 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc EXPECT_TRUE(base::ASCIIToUTF16("Extension 1") == dev_mode_extensions[1]); base 514 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc std::vector<base::string16> override_extensions = base 517 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc EXPECT_TRUE(base::ASCIIToUTF16("Extension 2") == base 52 chrome/browser/extensions/extension_messages_apitest.cc static scoped_ptr<base::ListValue> BuildEventArguments( base 55 chrome/browser/extensions/extension_messages_apitest.cc base::DictionaryValue* event = new base::DictionaryValue(); base 58 chrome/browser/extensions/extension_messages_apitest.cc scoped_ptr<base::ListValue> arguments(new base::ListValue()); base 63 chrome/browser/extensions/extension_messages_apitest.cc static scoped_ptr<Event> BuildEvent(scoped_ptr<base::ListValue> event_args, base 181 chrome/browser/extensions/extension_messages_apitest.cc base::Bind(&content::FrameIsChildOfMainFrame)); base 194 chrome/browser/extensions/extension_messages_apitest.cc base::StringPrintf("assertions.canConnectAndSendMessages(%s)", base 208 chrome/browser/extensions/extension_messages_apitest.cc base::Bind(&content::FrameIsChildOfMainFrame)); base 243 chrome/browser/extensions/extension_messages_apitest.cc as_js_array += base::StringPrintf("'%s'", non_messaging_apis[i]); base 275 chrome/browser/extensions/extension_messages_apitest.cc std::string port = base::IntToString(embedded_test_server()->port()); base 292 chrome/browser/extensions/extension_messages_apitest.cc LoadExtensionIntoDir(&web_connectable_dir_, base::StringPrintf( base 307 chrome/browser/extensions/extension_messages_apitest.cc LoadExtensionIntoDir(¬_connectable_dir_, base::StringPrintf( base 324 chrome/browser/extensions/extension_messages_apitest.cc LoadExtensionIntoDir(&hosted_app_dir_, base::StringPrintf( base 342 chrome/browser/extensions/extension_messages_apitest.cc base::FilePath test_data; base 359 chrome/browser/extensions/extension_messages_apitest.cc base::StringPrintf( base 389 chrome/browser/extensions/extension_messages_apitest.cc return base::StringPrintf( base 412 chrome/browser/extensions/extension_messages_apitest.cc base::StringPrintf("assertions.%s(%s)", method, args.c_str()), base 529 chrome/browser/extensions/extension_messages_apitest.cc EXPECT_EQ(base::StringPrintf("%d", NAMESPACE_NOT_DEFINED), base 531 chrome/browser/extensions/extension_messages_apitest.cc EXPECT_EQ(base::StringPrintf("%d", NAMESPACE_NOT_DEFINED), base 533 chrome/browser/extensions/extension_messages_apitest.cc EXPECT_EQ(base::StringPrintf("%d", NAMESPACE_NOT_DEFINED), base 535 chrome/browser/extensions/extension_messages_apitest.cc EXPECT_EQ(base::StringPrintf("%d", NAMESPACE_NOT_DEFINED), base 755 chrome/browser/extensions/extension_messages_apitest.cc base::Bind( base 758 chrome/browser/extensions/extension_messages_apitest.cc base::Unretained(this), base 759 chrome/browser/extensions/extension_messages_apitest.cc base::Unretained(&domain_bound_private_key), base 760 chrome/browser/extensions/extension_messages_apitest.cc base::Unretained(&domain_bound_cert), base 761 chrome/browser/extensions/extension_messages_apitest.cc base::Unretained(&request_handle), base 765 chrome/browser/extensions/extension_messages_apitest.cc base::StringPiece spki; base 767 chrome/browser/extensions/extension_messages_apitest.cc base::DictionaryValue jwk_value; base 770 chrome/browser/extensions/extension_messages_apitest.cc base::JSONWriter::Write(&jwk_value, &tls_channel_id_value); base 788 chrome/browser/extensions/extension_messages_apitest.cc base::Bind(&ExternallyConnectableMessagingWithTlsChannelIdTest:: base 790 chrome/browser/extensions/extension_messages_apitest.cc base::Unretained(this)), base 802 chrome/browser/extensions/extension_messages_apitest.cc base::WaitableEvent tls_channel_id_created_; base 917 chrome/browser/extensions/extension_messages_apitest.cc base::StringPrintf( base 926 chrome/browser/extensions/extension_messages_apitest.cc base::StringPrintf( base 58 chrome/browser/extensions/extension_nacl_browsertest.cc const Extension* InstallExtension(const base::FilePath& file_path, base 97 chrome/browser/extensions/extension_nacl_browsertest.cc base::FilePath file_path = test_data_dir_.AppendASCII("native_client"); base 102 chrome/browser/extensions/extension_nacl_browsertest.cc base::FilePath file_path = test_data_dir_.AppendASCII( base 108 chrome/browser/extensions/extension_nacl_browsertest.cc base::FilePath path; base 25 chrome/browser/extensions/extension_notification_observer.cc str += base::StringPrintf("%d", *it); base 26 chrome/browser/extensions/extension_override_apitest.cc const base::DictionaryValue* overrides = base 30 chrome/browser/extensions/extension_override_apitest.cc const base::ListValue* values = NULL; base 128 chrome/browser/extensions/extension_override_apitest.cc base::ListValue* list = new base::ListValue(); base 130 chrome/browser/extensions/extension_override_apitest.cc list->Append(new base::StringValue("http://www.google.com/")); base 31 chrome/browser/extensions/extension_prefs_unittest.cc using base::Time; base 32 chrome/browser/extensions/extension_prefs_unittest.cc using base::TimeDelta; base 199 chrome/browser/extensions/extension_prefs_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 200 chrome/browser/extensions/extension_prefs_unittest.cc value->Append(new base::StringValue("tcp-connect:*.example.com:80")); base 201 chrome/browser/extensions/extension_prefs_unittest.cc value->Append(new base::StringValue("udp-bind::8080")); base 202 chrome/browser/extensions/extension_prefs_unittest.cc value->Append(new base::StringValue("udp-send-to::8888")); base 414 chrome/browser/extensions/extension_prefs_unittest.cc std::string name = "test" + base::IntToString(i); base 475 chrome/browser/extensions/extension_prefs_unittest.cc base::DictionaryValue manifest; base 477 chrome/browser/extensions/extension_prefs_unittest.cc manifest.SetString(manifest_keys::kVersion, "1." + base::IntToString(num)); base 478 chrome/browser/extensions/extension_prefs_unittest.cc base::FilePath path = base 479 chrome/browser/extensions/extension_prefs_unittest.cc prefs_.extensions_dir().AppendASCII(base::IntToString(num)); base 500 chrome/browser/extensions/extension_prefs_unittest.cc ASSERT_EQ("1." + base::IntToString(num), version); base 501 chrome/browser/extensions/extension_prefs_unittest.cc ASSERT_EQ(base::IntToString(num), base 575 chrome/browser/extensions/extension_prefs_unittest.cc base::FilePath basedir_; base 587 chrome/browser/extensions/extension_prefs_unittest.cc base::DictionaryValue dictionary; base 597 chrome/browser/extensions/extension_prefs_unittest.cc base::DictionaryValue manifest; base 600 chrome/browser/extensions/extension_prefs_unittest.cc scoped_ptr<base::ListValue> scripts(new base::ListValue); base 603 chrome/browser/extensions/extension_prefs_unittest.cc base::FilePath path = base 625 chrome/browser/extensions/extension_prefs_unittest.cc const base::DictionaryValue* manifest; base 634 chrome/browser/extensions/extension_prefs_unittest.cc const base::ListValue* scripts; base 698 chrome/browser/extensions/extension_prefs_unittest.cc base::DictionaryValue dictionary; base 706 chrome/browser/extensions/extension_prefs_unittest.cc base::DictionaryValue dictionary; base 714 chrome/browser/extensions/extension_prefs_unittest.cc base::DictionaryValue dictionary; base 724 chrome/browser/extensions/extension_prefs_unittest.cc base::DictionaryValue dictionary; base 753 chrome/browser/extensions/extension_prefs_unittest.cc base::DictionaryValue simple_dict; base 13 chrome/browser/extensions/extension_prefs_unittest.h namespace base { base 49 chrome/browser/extensions/extension_prefs_unittest.h base::MessageLoop message_loop_; base 68 chrome/browser/extensions/extension_protocols.cc const base::Time& last_modified_time) { base 85 chrome/browser/extensions/extension_protocols.cc std::string hash = base::StringPrintf("%" PRId64, base 87 chrome/browser/extensions/extension_protocols.cc hash = base::SHA1HashString(hash); base 89 chrome/browser/extensions/extension_protocols.cc base::Base64Encode(hash, &etag); base 107 chrome/browser/extensions/extension_protocols.cc const base::FilePath& filename, base 118 chrome/browser/extensions/extension_protocols.cc base::Time()); base 130 chrome/browser/extensions/extension_protocols.cc response_info_.headers->AddHeader(base::StringPrintf( base 132 chrome/browser/extensions/extension_protocols.cc base::UintToString(data->size()).c_str())); base 135 chrome/browser/extensions/extension_protocols.cc bool posted = base::PostTaskAndReplyWithResult( base 138 chrome/browser/extensions/extension_protocols.cc base::Bind(&net::GetMimeTypeFromFile, filename_, base 139 chrome/browser/extensions/extension_protocols.cc base::Unretained(read_mime_type)), base 140 chrome/browser/extensions/extension_protocols.cc base::Bind(&URLRequestResourceBundleJob::OnMimeTypeRead, base 143 chrome/browser/extensions/extension_protocols.cc base::Owned(read_mime_type), base 175 chrome/browser/extensions/extension_protocols.cc base::FilePath filename_; base 182 chrome/browser/extensions/extension_protocols.cc mutable base::WeakPtrFactory<URLRequestResourceBundleJob> weak_factory_; base 197 chrome/browser/extensions/extension_protocols.cc base::Time()); base 231 chrome/browser/extensions/extension_protocols.cc base::Time GetFileLastModifiedTime(const base::FilePath& filename) { base 232 chrome/browser/extensions/extension_protocols.cc if (base::PathExists(filename)) { base 233 chrome/browser/extensions/extension_protocols.cc base::File::Info info; base 234 chrome/browser/extensions/extension_protocols.cc if (base::GetFileInfo(filename, &info)) base 237 chrome/browser/extensions/extension_protocols.cc return base::Time(); base 240 chrome/browser/extensions/extension_protocols.cc base::Time GetFileCreationTime(const base::FilePath& filename) { base 241 chrome/browser/extensions/extension_protocols.cc if (base::PathExists(filename)) { base 242 chrome/browser/extensions/extension_protocols.cc base::File::Info info; base 243 chrome/browser/extensions/extension_protocols.cc if (base::GetFileInfo(filename, &info)) base 246 chrome/browser/extensions/extension_protocols.cc return base::Time(); base 251 chrome/browser/extensions/extension_protocols.cc const base::FilePath& directory, base 252 chrome/browser/extensions/extension_protocols.cc base::FilePath* file_path, base 253 chrome/browser/extensions/extension_protocols.cc base::Time* last_modified_time) { base 258 chrome/browser/extensions/extension_protocols.cc base::ElapsedTimer query_timer; base 259 chrome/browser/extensions/extension_protocols.cc base::Time dir_creation_time = GetFileCreationTime(directory); base 267 chrome/browser/extensions/extension_protocols.cc base::TimeDelta::FromDays(30).InSeconds(), base 273 chrome/browser/extensions/extension_protocols.cc base::TimeDelta::FromDays(30).InSeconds(), base 283 chrome/browser/extensions/extension_protocols.cc const base::FilePath& directory_path, base 284 chrome/browser/extensions/extension_protocols.cc const base::FilePath& relative_path, base 289 chrome/browser/extensions/extension_protocols.cc request, network_delegate, base::FilePath(), base 291 chrome/browser/extensions/extension_protocols.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)), base 309 chrome/browser/extensions/extension_protocols.cc base::FilePath* read_file_path = new base::FilePath; base 310 chrome/browser/extensions/extension_protocols.cc base::Time* last_modified_time = new base::Time(); base 313 chrome/browser/extensions/extension_protocols.cc base::Bind(&ReadResourceFilePathAndLastModifiedTime, resource_, base 315 chrome/browser/extensions/extension_protocols.cc base::Unretained(read_file_path), base 316 chrome/browser/extensions/extension_protocols.cc base::Unretained(last_modified_time)), base 317 chrome/browser/extensions/extension_protocols.cc base::Bind(&URLRequestExtensionJob::OnFilePathAndLastModifiedTimeRead, base 319 chrome/browser/extensions/extension_protocols.cc base::Owned(read_file_path), base 320 chrome/browser/extensions/extension_protocols.cc base::Owned(last_modified_time))); base 327 chrome/browser/extensions/extension_protocols.cc void OnFilePathAndLastModifiedTimeRead(base::FilePath* read_file_path, base 328 chrome/browser/extensions/extension_protocols.cc base::Time* last_modified_time) { base 338 chrome/browser/extensions/extension_protocols.cc base::FilePath directory_path_; base 342 chrome/browser/extensions/extension_protocols.cc base::WeakPtrFactory<URLRequestExtensionJob> weak_factory_; base 522 chrome/browser/extensions/extension_protocols.cc base::FilePath directory_path; base 563 chrome/browser/extensions/extension_protocols.cc base::FilePath resources_path; base 564 chrome/browser/extensions/extension_protocols.cc base::FilePath relative_path; base 573 chrome/browser/extensions/extension_protocols.cc base::FilePath request_path = base 623 chrome/browser/extensions/extension_protocols.cc relative_path = base::FilePath::FromUTF8Unsafe(new_relative_path); base 32 chrome/browser/extensions/extension_protocols_unittest.cc base::DictionaryValue manifest; base 38 chrome/browser/extensions/extension_protocols_unittest.cc base::FilePath path; base 51 chrome/browser/extensions/extension_protocols_unittest.cc base::DictionaryValue manifest; base 56 chrome/browser/extensions/extension_protocols_unittest.cc base::FilePath path; base 69 chrome/browser/extensions/extension_protocols_unittest.cc base::DictionaryValue manifest; base 73 chrome/browser/extensions/extension_protocols_unittest.cc base::ListValue* web_accessible_list = new base::ListValue(); base 77 chrome/browser/extensions/extension_protocols_unittest.cc base::FilePath path; base 129 chrome/browser/extensions/extension_protocols_unittest.cc base::MessageLoop::current()->Run(); base 170 chrome/browser/extensions/extension_protocols_unittest.cc extension.get(), base::Time::Now(), cases[i].incognito_enabled, false); base 219 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_TRUE(base::StringToInt(content_length, &length_value)); base 231 chrome/browser/extensions/extension_protocols_unittest.cc base::Time::Now(), base 268 chrome/browser/extensions/extension_protocols_unittest.cc base::Time::Now(), base 306 chrome/browser/extensions/extension_protocols_unittest.cc base::Time::Now(), base 47 chrome/browser/extensions/extension_renderer_state.cc base::Bind( base 49 chrome/browser/extensions/extension_renderer_state.cc base::Unretained(ExtensionRendererState::GetInstance()), base 113 chrome/browser/extensions/extension_renderer_state.cc base::Bind( base 115 chrome/browser/extensions/extension_renderer_state.cc base::Unretained(ExtensionRendererState::GetInstance()), base 134 chrome/browser/extensions/extension_renderer_state.cc base::Bind( base 136 chrome/browser/extensions/extension_renderer_state.cc base::Unretained(ExtensionRendererState::GetInstance()), base 153 chrome/browser/extensions/extension_renderer_state.cc base::Bind( base 155 chrome/browser/extensions/extension_renderer_state.cc base::Unretained(ExtensionRendererState::GetInstance()), base 19 chrome/browser/extensions/extension_resource_protocols.cc base::FilePath ResolvePath(const GURL& url) { base 20 chrome/browser/extensions/extension_resource_protocols.cc base::FilePath root_path; base 30 chrome/browser/extensions/extension_resource_protocols.cc request, network_delegate, base::FilePath(), base 33 chrome/browser/extensions/extension_resource_protocols.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)), base 41 chrome/browser/extensions/extension_resource_protocols.cc void ResolvePathDone(const base::FilePath& resolved_path); base 44 chrome/browser/extensions/extension_resource_protocols.cc base::WeakPtrFactory<ExtensionResourcesJob> weak_ptr_factory_; base 46 chrome/browser/extensions/extension_resource_protocols.cc base::ThreadChecker thread_checker_; base 55 chrome/browser/extensions/extension_resource_protocols.cc base::Bind(&ResolvePath, request()->url()), base 56 chrome/browser/extensions/extension_resource_protocols.cc base::Bind(&ExtensionResourcesJob::ResolvePathDone, base 61 chrome/browser/extensions/extension_resource_protocols.cc const base::FilePath& resolved_path) { base 83 chrome/browser/extensions/extension_resource_request_policy_apitest.cc ASSERT_TRUE(base::ReadFileToString( base 167 chrome/browser/extensions/extension_service.cc base::string16* error) const OVERRIDE { base 172 chrome/browser/extensions/extension_service.cc base::string16* error) const OVERRIDE { base 212 chrome/browser/extensions/extension_service.cc base::SequencedTaskRunner* task_runner) { base 297 chrome/browser/extensions/extension_service.cc base::string16 error; base 309 chrome/browser/extensions/extension_service.cc const base::FilePath& install_directory, base 350 chrome/browser/extensions/extension_service.cc base::Closure callback = base 351 chrome/browser/extensions/extension_service.cc base::Bind(&ExtensionService::OnExtensionInstallPrefChanged, base 352 chrome/browser/extensions/extension_service.cc base::Unretained(this)); base 363 chrome/browser/extensions/extension_service.cc base::StringToInt(command_line->GetSwitchValueASCII( base 449 chrome/browser/extensions/extension_service.cc base::Time begin_time = base::Time::Now(); base 526 chrome/browser/extensions/extension_service.cc base::Time::Now() - begin_time); base 545 chrome/browser/extensions/extension_service.cc const base::FilePath& extension_path, base 569 chrome/browser/extensions/extension_service.cc base::Bind( base 646 chrome/browser/extensions/extension_service.cc base::FilePath path; base 711 chrome/browser/extensions/extension_service.cc base::string16* error) { base 773 chrome/browser/extensions/extension_service.cc base::Bind( base 980 chrome/browser/extensions/extension_service.cc base::HistogramBase* counter = base::LinearHistogram::FactoryGet( base 985 chrome/browser/extensions/extension_service.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 1140 chrome/browser/extensions/extension_service.cc base::SequencedTaskRunner* ExtensionService::GetFileTaskRunner() { base 1152 chrome/browser/extensions/extension_service.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 1257 chrome/browser/extensions/extension_service.cc base::TimeDelta elapsed = base::Time::Now() - profile_->GetStartTime(); base 1414 chrome/browser/extensions/extension_service.cc base::Bind(&extensions::ExtensionPrefs::SetKnownDisabled, base 1415 chrome/browser/extensions/extension_service.cc base::Unretained(extension_prefs_))); base 1849 chrome/browser/extensions/extension_service.cc base::Bind(&extension_file_util::DeleteFile, base 2118 chrome/browser/extensions/extension_service.cc const base::FilePath& path, base 2189 chrome/browser/extensions/extension_service.cc const base::FilePath& extension_path, base 2197 chrome/browser/extensions/extension_service.cc std::string path_str = base::UTF16ToUTF8(extension_path.LossyDisplayName()); base 2203 chrome/browser/extensions/extension_service.cc base::string16 message = base::UTF8ToUTF16( base 2204 chrome/browser/extensions/extension_service.cc base::StringPrintf("Could not load extension from '%s'. %s%s", base 2213 chrome/browser/extensions/extension_service.cc const base::FilePath& extension_path) { base 2214 chrome/browser/extensions/extension_service.cc std::pair<bool, const base::FilePath&> details(retry, extension_path); base 2218 chrome/browser/extensions/extension_service.cc content::Details<std::pair<bool, const base::FilePath&> >(&details)); base 2261 chrome/browser/extensions/extension_service.cc base::MessageLoop::current()->PostTask( base 2263 chrome/browser/extensions/extension_service.cc base::Bind( base 2287 chrome/browser/extensions/extension_service.cc base::MessageLoop::current()->PostDelayedTask( base 2289 chrome/browser/extensions/extension_service.cc base::Bind(&ExtensionService::MaybeFinishDelayedInstallation, base 2291 chrome/browser/extensions/extension_service.cc base::TimeDelta::FromSeconds(kUpdateIdleDelay)); base 2300 chrome/browser/extensions/extension_service.cc base::Bind(&extensions::InfoMap::UnregisterAllExtensionsInProcess, base 2417 chrome/browser/extensions/extension_service.cc base::Bind(&ExtensionService::ManageBlacklist, AsWeakPtr())); base 2463 chrome/browser/extensions/extension_service.cc *not_yet = base::STLSetDifference<ExtensionIdSet>(after, before); base 2464 chrome/browser/extensions/extension_service.cc *no_longer = base::STLSetDifference<ExtensionIdSet>(before, after); base 2465 chrome/browser/extensions/extension_service.cc *no_longer = base::STLSetDifference<ExtensionIdSet>(*no_longer, unchanged); base 41 chrome/browser/extensions/extension_service.h namespace base { base 72 chrome/browser/extensions/extension_service.h : public base::SupportsWeakPtr<ExtensionServiceInterface> { base 86 chrome/browser/extensions/extension_service.h const base::FilePath& path, base 122 chrome/browser/extensions/extension_service.h virtual base::SequencedTaskRunner* GetFileTaskRunner() = 0; base 147 chrome/browser/extensions/extension_service.h const base::CommandLine* command_line, base 148 chrome/browser/extensions/extension_service.h const base::FilePath& install_directory, base 167 chrome/browser/extensions/extension_service.h const base::FilePath& install_directory() const { return install_directory_; } base 198 chrome/browser/extensions/extension_service.h const base::FilePath& extension_path, base 220 chrome/browser/extensions/extension_service.h base::string16* error); base 345 chrome/browser/extensions/extension_service.h virtual base::SequencedTaskRunner* GetFileTaskRunner() OVERRIDE; base 359 chrome/browser/extensions/extension_service.h void ReportExtensionLoadError(const base::FilePath& extension_path, base 365 chrome/browser/extensions/extension_service.h void NotifyLoadRetry(bool retry, const base::FilePath& extension_path); base 376 chrome/browser/extensions/extension_service.h void SetFileTaskRunnerForTesting(base::SequencedTaskRunner* task_runner); base 389 chrome/browser/extensions/extension_service.h const base::Version* version, base 390 chrome/browser/extensions/extension_service.h const base::FilePath& path, base 479 chrome/browser/extensions/extension_service.h base::WeakPtr<ExtensionService> AsWeakPtr() { return base::AsWeakPtr(this); } base 506 chrome/browser/extensions/extension_service.h const base::Closure& callback) { base 631 chrome/browser/extensions/extension_service.h base::FilePath install_directory_; base 652 chrome/browser/extensions/extension_service.h typedef std::map<std::string, base::FilePath> UnloadedExtensionPathMap; base 685 chrome/browser/extensions/extension_service.h base::Closure external_updates_finished_callback_; base 713 chrome/browser/extensions/extension_service.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 143 chrome/browser/extensions/extension_service_unittest.cc using base::DictionaryValue; base 144 chrome/browser/extensions/extension_service_unittest.cc using base::ListValue; base 145 chrome/browser/extensions/extension_service_unittest.cc using base::Value; base 195 chrome/browser/extensions/extension_service_unittest.cc static std::vector<base::string16> GetErrors() { base 196 chrome/browser/extensions/extension_service_unittest.cc const std::vector<base::string16>* errors = base 198 chrome/browser/extensions/extension_service_unittest.cc std::vector<base::string16> ret_val; base 200 chrome/browser/extensions/extension_service_unittest.cc for (std::vector<base::string16>::const_iterator iter = errors->begin(); base 202 chrome/browser/extensions/extension_service_unittest.cc std::string utf8_error = base::UTF16ToUTF8(*iter); base 220 chrome/browser/extensions/extension_service_unittest.cc base::FilePath GetTemporaryFile() { base 221 chrome/browser/extensions/extension_service_unittest.cc base::FilePath temp_file; base 222 chrome/browser/extensions/extension_service_unittest.cc CHECK(base::CreateTemporaryFile(&temp_file)); base 244 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& path) { base 300 chrome/browser/extensions/extension_service_unittest.cc typedef std::map< std::string, std::pair<std::string, base::FilePath> > base 321 chrome/browser/extensions/extension_service_unittest.cc explicit MockProviderVisitor(base::FilePath fake_base_path) base 328 chrome/browser/extensions/extension_service_unittest.cc MockProviderVisitor(base::FilePath fake_base_path, base 348 chrome/browser/extensions/extension_service_unittest.cc base::Value* json_value = serializer.Deserialize(NULL, NULL); base 350 chrome/browser/extensions/extension_service_unittest.cc if (!json_value || !json_value->IsType(base::Value::TYPE_DICTIONARY)) { base 354 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* external_extensions = base 355 chrome/browser/extensions/extension_service_unittest.cc static_cast<base::DictionaryValue*>(json_value); base 369 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& path, base 376 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* pref; base 393 chrome/browser/extensions/extension_service_unittest.cc base::FilePath crx_path; base 418 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* pref; base 454 chrome/browser/extensions/extension_service_unittest.cc base::FilePath fake_base_path_; base 457 chrome/browser/extensions/extension_service_unittest.cc scoped_ptr<base::DictionaryValue> prefs_; base 475 chrome/browser/extensions/extension_service_unittest.cc base::FilePath test_data_dir; base 508 chrome/browser/extensions/extension_service_unittest.cc base::MessageLoopProxy::current().get()); base 544 chrome/browser/extensions/extension_service_unittest.cc base::MessageLoopProxy::current().get()); base 563 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& prefs_file, base 564 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& source_install_dir) { base 566 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = temp_dir_.path(); base 568 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::DeleteFile(path, true)); base 569 chrome/browser/extensions/extension_service_unittest.cc base::File::Error error = base::File::FILE_OK; base 570 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::CreateDirectoryAndGetError(path, &error)) << error; base 571 chrome/browser/extensions/extension_service_unittest.cc base::FilePath temp_prefs = path.Append(chrome::kPreferencesFilename); base 572 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::CopyFile(prefs_file, temp_prefs)); base 574 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extensions_install_dir = base 576 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::DeleteFile(extensions_install_dir, true)); base 578 chrome/browser/extensions/extension_service_unittest.cc base::CopyDirectory(source_install_dir, extensions_install_dir, true)); base 588 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_install_dir = data_dir_ base 591 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pref_path = base 638 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir* temp_dir) { base 641 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = temp_dir->path(); base 643 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::DeleteFile(path, true)); base 644 chrome/browser/extensions/extension_service_unittest.cc base::File::Error error = base::File::FILE_OK; base 645 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::CreateDirectoryAndGetError(path, &error)) << error; base 646 chrome/browser/extensions/extension_service_unittest.cc base::FilePath prefs_filename = base 648 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extensions_install_dir = base 650 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::DeleteFile(extensions_install_dir, true)); base 651 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::CreateDirectoryAndGetError(extensions_install_dir, base 733 chrome/browser/extensions/extension_service_unittest.cc base::FilePath good0_path() { base 738 chrome/browser/extensions/extension_service_unittest.cc base::FilePath good1_path() { base 743 chrome/browser/extensions/extension_service_unittest.cc base::FilePath good2_path() { base 751 chrome/browser/extensions/extension_service_unittest.cc void PackCRX(const base::FilePath& dir_path, base 752 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& pem_path, base 753 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& crx_path) { base 755 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pem_output_path; base 759 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(pem_path)); base 762 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::DeleteFile(crx_path, false)); base 771 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(crx_path)); base 781 chrome/browser/extensions/extension_service_unittest.cc const Extension* PackAndInstallCRX(const base::FilePath& dir_path, base 782 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& pem_path, base 785 chrome/browser/extensions/extension_service_unittest.cc base::FilePath crx_path; base 786 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir temp_dir; base 794 chrome/browser/extensions/extension_service_unittest.cc const Extension* PackAndInstallCRX(const base::FilePath& dir_path, base 795 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& pem_path, base 801 chrome/browser/extensions/extension_service_unittest.cc const Extension* PackAndInstallCRX(const base::FilePath& dir_path, base 803 chrome/browser/extensions/extension_service_unittest.cc return PackAndInstallCRX(dir_path, base::FilePath(), install_state, base 812 chrome/browser/extensions/extension_service_unittest.cc const Extension* InstallCRX(const base::FilePath& path, base 822 chrome/browser/extensions/extension_service_unittest.cc const Extension* InstallCRX(const base::FilePath& path, base 830 chrome/browser/extensions/extension_service_unittest.cc const Extension* InstallCRX(const base::FilePath& path, base 835 chrome/browser/extensions/extension_service_unittest.cc const Extension* InstallCRXFromWebStore(const base::FilePath& path, base 841 chrome/browser/extensions/extension_service_unittest.cc const Extension* InstallCRXWithLocation(const base::FilePath& crx_path, base 844 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::PathExists(crx_path)) base 862 chrome/browser/extensions/extension_service_unittest.cc const Extension* VerifyCrxInstall(const base::FilePath& path, base 873 chrome/browser/extensions/extension_service_unittest.cc const Extension* VerifyCrxInstall(const base::FilePath& path, base 876 chrome/browser/extensions/extension_service_unittest.cc std::vector<base::string16> errors = GetErrors(); base 904 chrome/browser/extensions/extension_service_unittest.cc for (std::vector<base::string16>::iterator err = errors.begin(); base 958 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& in_path, base 960 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(in_path)); base 964 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = temp_dir_.path(); base 966 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::CopyFile(in_path, path)); base 977 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&IsCrxInstallerDone, &installer)); base 983 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 985 chrome/browser/extensions/extension_service_unittest.cc std::vector<base::string16> errors = GetErrors(); base 1011 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(base::PathExists(path)); base 1024 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* dict = base 1035 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_path = extensions_install_dir_.AppendASCII(id); base 1036 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::PathExists(extension_path)); base 1064 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1067 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(base::PathExists(extension_path)); base 1086 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* dict = base 1093 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* pref = NULL; base 1112 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* dict = base 1115 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* pref = NULL; base 1137 chrome/browser/extensions/extension_service_unittest.cc msg += base::IntToString(expected_val); base 1140 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* dict = base 1143 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* pref = NULL; base 1161 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* dict = base 1164 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* pref = NULL; base 1175 chrome/browser/extensions/extension_service_unittest.cc base::Value* value, base 1178 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* dict = update.Get(); base 1180 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* pref = NULL; base 1194 chrome/browser/extensions/extension_service_unittest.cc msg += base::IntToString(value); base 1196 chrome/browser/extensions/extension_service_unittest.cc SetPref(extension_id, pref_path, new base::FundamentalValue(value), msg); base 1207 chrome/browser/extensions/extension_service_unittest.cc SetPref(extension_id, pref_path, new base::FundamentalValue(value), msg); base 1216 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* dict = update.Get(); base 1218 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* pref = NULL; base 1230 chrome/browser/extensions/extension_service_unittest.cc base::ListValue* list_value = new base::ListValue(); base 1233 chrome/browser/extensions/extension_service_unittest.cc list_value->Append(new base::StringValue(*iter)); base 1256 chrome/browser/extensions/extension_service_unittest.cc void InstallCRXInternal(const base::FilePath& crx_path) { base 1260 chrome/browser/extensions/extension_service_unittest.cc void InstallCRXInternal(const base::FilePath& crx_path, int creation_flags) { base 1261 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(crx_path)) base 1284 chrome/browser/extensions/extension_service_unittest.cc PackExtensionTestClient(const base::FilePath& expected_crx_path, base 1285 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& expected_private_key_path); base 1286 chrome/browser/extensions/extension_service_unittest.cc virtual void OnPackSuccess(const base::FilePath& crx_path, base 1287 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& private_key_path) OVERRIDE; base 1292 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath expected_crx_path_; base 1293 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath expected_private_key_path_; base 1298 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& expected_crx_path, base 1299 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& expected_private_key_path) base 1306 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& crx_path, base 1307 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath& private_key_path) { base 1313 chrome/browser/extensions/extension_service_unittest.cc base::MessageLoop::current()->Quit(); base 1316 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(private_key_path)); base 1367 chrome/browser/extensions/extension_service_unittest.cc base::FilePath expected_path = base 1368 chrome/browser/extensions/extension_service_unittest.cc base::MakeAbsoluteFilePath(extension->path().AppendASCII("script1.js")); base 1374 chrome/browser/extensions/extension_service_unittest.cc base::MakeAbsoluteFilePath(extension->path().AppendASCII("script2.js")); base 1385 chrome/browser/extensions/extension_service_unittest.cc expected_path = base::MakeAbsoluteFilePath(expected_path); base 1435 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_install_dir = data_dir_ base 1438 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pref_path = base 1448 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(MatchPattern(base::UTF16ToUTF8(GetErrors()[0]), base 1451 chrome/browser/extensions/extension_service_unittest.cc base::UTF16ToUTF8(GetErrors()[0]); base 1453 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(MatchPattern(base::UTF16ToUTF8(GetErrors()[1]), base 1456 chrome/browser/extensions/extension_service_unittest.cc base::UTF16ToUTF8(GetErrors()[1]); base 1458 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(MatchPattern(base::UTF16ToUTF8(GetErrors()[2]), base 1461 chrome/browser/extensions/extension_service_unittest.cc base::UTF16ToUTF8(GetErrors()[2]); base 1463 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(MatchPattern(base::UTF16ToUTF8(GetErrors()[3]), base 1466 chrome/browser/extensions/extension_service_unittest.cc base::UTF16ToUTF8(GetErrors()[3]); base 1473 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_install_dir = data_dir_ base 1476 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pref_path = base 1486 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1490 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::PathExists(extensions_install_dir_.AppendASCII( base 1492 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::PathExists(extensions_install_dir_.AppendASCII( base 1517 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(base::PathExists(extensions_install_dir_.AppendASCII( base 1536 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 1622 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 1641 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 1677 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 1702 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1713 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1735 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_install_dir = data_dir_ base 1740 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pref_path = source_install_dir base 1761 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 1797 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 1833 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_ base 1836 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(path)); base 1843 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1844 chrome/browser/extensions/extension_service_unittest.cc std::vector<base::string16> errors = GetErrors(); base 1866 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 1870 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1880 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_ base 1883 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pem_path = path.AppendASCII("unknown.pem"); base 1886 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(pem_path)); base 1887 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(path)); base 1928 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_ base 1931 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pem_path = path.AppendASCII("unknown.pem"); base 1934 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(pem_path)); base 1935 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(path)); base 1975 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(good1_path())); base 1999 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_ base 2003 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(path)); base 2028 chrome/browser/extensions/extension_service_unittest.cc new base::ListValue(), "granted_permissions.api"); base 2064 chrome/browser/extensions/extension_service_unittest.cc base::ListValue* api_permissions = new base::ListValue(); base 2066 chrome/browser/extensions/extension_service_unittest.cc new base::StringValue("tabs")); base 2098 chrome/browser/extensions/extension_service_unittest.cc base::FilePath input_directory = data_dir_ base 2104 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir temp_dir; base 2106 chrome/browser/extensions/extension_service_unittest.cc base::FilePath output_directory = temp_dir.path(); base 2108 chrome/browser/extensions/extension_service_unittest.cc base::FilePath crx_path(output_directory.AppendASCII("ex1.crx")); base 2109 chrome/browser/extensions/extension_service_unittest.cc base::FilePath privkey_path(output_directory.AppendASCII("privkey.pem")); base 2112 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(creator->Run(input_directory, crx_path, base::FilePath(), base 2114 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(crx_path)); base 2115 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(privkey_path)); base 2119 chrome/browser/extensions/extension_service_unittest.cc base::DeleteFile(privkey_path, false); base 2120 chrome/browser/extensions/extension_service_unittest.cc ASSERT_FALSE(creator->Run(input_directory, crx_path, base::FilePath(), base 2124 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(creator->Run(input_directory, crx_path, base::FilePath(), base 2129 chrome/browser/extensions/extension_service_unittest.cc ASSERT_FALSE(creator->Run(input_directory, crx_path, base::FilePath(), base 2132 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(privkey_path)); base 2138 chrome/browser/extensions/extension_service_unittest.cc creator->Run(base::FilePath(), base::FilePath(), base::FilePath(), base 2139 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(), ExtensionCreator::kOverwriteCRX)); base 2143 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir temp_dir2; base 2147 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(), ExtensionCreator::kOverwriteCRX)); base 2151 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::WriteFile( base 2156 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(), ExtensionCreator::kOverwriteCRX)); base 2160 chrome/browser/extensions/extension_service_unittest.cc base::FilePath bad_private_key_dir = data_dir_.AppendASCII("bad_private_key"); base 2163 chrome/browser/extensions/extension_service_unittest.cc ASSERT_FALSE(creator->Run(bad_private_key_dir, crx_path, base::FilePath(), base 2170 chrome/browser/extensions/extension_service_unittest.cc base::FilePath input_directory = data_dir_ base 2176 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir temp_dir; base 2181 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath punctuated_names[] = { base 2182 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(FILE_PATH_LITERAL("this.extensions.name.has.periods")), base 2183 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(FILE_PATH_LITERAL(".thisextensionsnamestartswithaperiod")), base 2184 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(FILE_PATH_LITERAL("thisextensionhasaslashinitsname/")). base 2187 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath expected_crx_names[] = { base 2188 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(FILE_PATH_LITERAL("this.extensions.name.has.periods.crx")), base 2189 chrome/browser/extensions/extension_service_unittest.cc base::FilePath( base 2191 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(FILE_PATH_LITERAL("thisextensionhasaslashinitsname.crx")), base 2193 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath expected_private_key_names[] = { base 2194 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(FILE_PATH_LITERAL("this.extensions.name.has.periods.pem")), base 2195 chrome/browser/extensions/extension_service_unittest.cc base::FilePath( base 2197 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(FILE_PATH_LITERAL("thisextensionhasaslashinitsname.pem")), base 2202 chrome/browser/extensions/extension_service_unittest.cc base::FilePath output_dir = temp_dir.path().Append(punctuated_names[i]); base 2206 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::CopyDirectory(input_directory, output_dir, true)); base 2208 chrome/browser/extensions/extension_service_unittest.cc base::FilePath expected_crx_path = base 2210 chrome/browser/extensions/extension_service_unittest.cc base::FilePath expected_private_key_path = base 2216 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(), base 2225 chrome/browser/extensions/extension_service_unittest.cc base::MessageLoop::current()->Run(); base 2237 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir extension_temp_dir; base 2239 chrome/browser/extensions/extension_service_unittest.cc base::FilePath input_directory = extension_temp_dir.path().AppendASCII("ext"); base 2240 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::CopyDirectory( base 2249 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir output_temp_dir; base 2251 chrome/browser/extensions/extension_service_unittest.cc base::FilePath output_directory = output_temp_dir.path(); base 2253 chrome/browser/extensions/extension_service_unittest.cc base::FilePath crx_path(output_directory.AppendASCII("ex1.crx")); base 2254 chrome/browser/extensions/extension_service_unittest.cc base::FilePath privkey_path(output_directory.AppendASCII("privkey.pem")); base 2258 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(creator->Run(input_directory, crx_path, base::FilePath(), base 2261 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(crx_path)); base 2262 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(privkey_path)); base 2264 chrome/browser/extensions/extension_service_unittest.cc base::DeleteFile(crx_path, false); base 2266 chrome/browser/extensions/extension_service_unittest.cc base::Move(privkey_path, base 2270 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(creator->Run(input_directory, crx_path, base::FilePath(), base 2285 chrome/browser/extensions/extension_service_unittest.cc base::FilePath input_directory = data_dir_ base 2290 chrome/browser/extensions/extension_service_unittest.cc base::FilePath privkey_path(data_dir_.AppendASCII( base 2292 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(privkey_path)); base 2294 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir temp_dir; base 2296 chrome/browser/extensions/extension_service_unittest.cc base::FilePath output_directory = temp_dir.path(); base 2298 chrome/browser/extensions/extension_service_unittest.cc base::FilePath crx_path(output_directory.AppendASCII("ex1.crx")); base 2302 chrome/browser/extensions/extension_service_unittest.cc base::FilePath(), ExtensionCreator::kOverwriteCRX)); base 2312 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("theme.crx"); base 2353 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_path = data_dir_ base 2357 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2368 chrome/browser/extensions/extension_service_unittest.cc base::FilePath theme_file = extension_path.Append(chrome::kThemePackFilename); base 2369 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(theme_file)); base 2370 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::DeleteFile(theme_file, false)); // Not recursive. base 2378 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir temp; base 2381 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_path = temp.path(); base 2382 chrome/browser/extensions/extension_service_unittest.cc base::FilePath manifest_path = base 2384 chrome/browser/extensions/extension_service_unittest.cc base::FilePath manifest_no_key = data_dir_. base 2388 chrome/browser/extensions/extension_service_unittest.cc base::FilePath manifest_with_key = data_dir_. base 2392 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(manifest_no_key)); base 2393 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(manifest_with_key)); base 2396 chrome/browser/extensions/extension_service_unittest.cc base::CopyFile(manifest_no_key, manifest_path); base 2399 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2405 chrome/browser/extensions/extension_service_unittest.cc base::CopyFile(manifest_with_key, manifest_path); base 2420 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_data_dir = data_dir_. base 2425 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_manifest = source_data_dir.AppendASCII("manifest.json"); base 2426 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(source_manifest)); base 2427 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_icon = source_data_dir.AppendASCII("icon.png"); base 2428 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(source_icon)); base 2431 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir temp; base 2433 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_path = temp.path(); base 2434 chrome/browser/extensions/extension_service_unittest.cc base::FilePath manifest = extension_path.Append( base 2436 chrome/browser/extensions/extension_service_unittest.cc base::FilePath icon_symlink = extension_path.AppendASCII("icon.png"); base 2437 chrome/browser/extensions/extension_service_unittest.cc base::CopyFile(source_manifest, manifest); base 2438 chrome/browser/extensions/extension_service_unittest.cc base::CreateSymbolicLink(source_icon, icon_symlink); base 2443 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2453 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_path = data_dir_ base 2456 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2465 chrome/browser/extensions/extension_service_unittest.cc base::FilePath theme_path = data_dir_ base 2513 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extensions_path = data_dir_.AppendASCII("app_update"); base 2534 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extensions_path = data_dir_.AppendASCII("app_update"); base 2566 chrome/browser/extensions/extension_service_unittest.cc IDR_WEBSTORE_MANIFEST, base::FilePath(FILE_PATH_LITERAL("web_store"))); base 2672 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2693 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2724 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2746 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2759 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2777 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2797 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2799 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2810 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good2.crx"); base 2828 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2839 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2867 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 2886 chrome/browser/extensions/extension_service_unittest.cc base::ScopedTempDir temp; base 2891 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_path = temp.path(); base 2892 chrome/browser/extensions/extension_service_unittest.cc base::FilePath manifest_path = base 2894 chrome/browser/extensions/extension_service_unittest.cc ASSERT_FALSE(base::PathExists(manifest_path)); base 2897 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue manifest; base 2906 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2920 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2932 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_with_plugin_path = good1_path(); base 2933 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_no_plugin_path = good2_path(); base 2948 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2958 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2973 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 2996 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3046 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 3071 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("theme.crx"); base 3105 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("theme.crx"); base 3175 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("theme.crx"); base 3196 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 3212 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 3223 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 3280 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3302 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3330 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3332 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 3350 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 3357 chrome/browser/extensions/extension_service_unittest.cc base::ListValue whitelist; base 3359 chrome/browser/extensions/extension_service_unittest.cc whitelist.Append(new base::StringValue(good_crx)); base 3364 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3390 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3425 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3462 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3489 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3525 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3552 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3582 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3597 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3617 chrome/browser/extensions/extension_service_unittest.cc base::ListValue* blacklist = update.Get(); base 3618 chrome/browser/extensions/extension_service_unittest.cc blacklist->Append(new base::StringValue("*")); base 3622 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 3630 chrome/browser/extensions/extension_service_unittest.cc base::ListValue* whitelist = update.Get(); base 3631 chrome/browser/extensions/extension_service_unittest.cc whitelist->Append(new base::StringValue(good_crx)); base 3644 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 3651 chrome/browser/extensions/extension_service_unittest.cc base::ListValue* blacklist = update.Get(); base 3655 chrome/browser/extensions/extension_service_unittest.cc blacklist->Append(new base::StringValue(good_crx)); base 3659 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3671 chrome/browser/extensions/extension_service_unittest.cc base::ListValue* blacklist = update.Get(); base 3672 chrome/browser/extensions/extension_service_unittest.cc blacklist->Append(new base::StringValue("*")); base 3676 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_ base 3682 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 3700 chrome/browser/extensions/extension_service_unittest.cc base::ListValue* blacklist = update.Get(); base 3701 chrome/browser/extensions/extension_service_unittest.cc blacklist->Append(new base::StringValue(good0)); base 3703 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3716 chrome/browser/extensions/extension_service_unittest.cc base::ListValue* blacklist = blacklist_update.Get(); base 3751 chrome/browser/extensions/extension_service_unittest.cc base::ListValue* blacklist = update.Get(); base 3752 chrome/browser/extensions/extension_service_unittest.cc blacklist->Append(new base::StringValue(good0)); base 3754 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 3779 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("management") base 3781 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue manifest; base 3927 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&WaitForCountNotificationsCallback, &count)); base 4048 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 4083 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 4127 chrome/browser/extensions/extension_service_unittest.cc base::FilePath ext = data_dir_ base 4133 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4151 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4194 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("requirements"); base 4195 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pem_path = data_dir_.AppendASCII("requirements") base 4203 chrome/browser/extensions/extension_service_unittest.cc base::FilePath v2_bad_requirements_crx = GetTemporaryFile(); base 4211 chrome/browser/extensions/extension_service_unittest.cc base::FilePath v3_good_crx = GetTemporaryFile(); base 4223 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("requirements"); base 4224 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pem_path = data_dir_.AppendASCII("requirements") base 4233 chrome/browser/extensions/extension_service_unittest.cc base::FilePath v2_bad_requirements_crx = GetTemporaryFile(); base 4241 chrome/browser/extensions/extension_service_unittest.cc base::FilePath v3_good_crx = GetTemporaryFile(); base 4254 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("requirements"); base 4255 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pem_path = data_dir_.AppendASCII("requirements") base 4263 chrome/browser/extensions/extension_service_unittest.cc base::FilePath v2_bad_requirements_and_permissions_crx = GetTemporaryFile(); base 4271 chrome/browser/extensions/extension_service_unittest.cc base::FilePath v3_bad_permissions_crx = GetTemporaryFile(); base 4286 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("requirements") base 4289 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4298 chrome/browser/extensions/extension_service_unittest.cc weak_factory_(base::MessageLoop::current()) {} base 4301 chrome/browser/extensions/extension_service_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 4302 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&base::MessageLoop::Quit, weak_factory_.GetWeakPtr())); base 4307 chrome/browser/extensions/extension_service_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 4308 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&base::MessageLoop::Quit, weak_factory_.GetWeakPtr())); base 4313 chrome/browser/extensions/extension_service_unittest.cc base::WeakPtrFactory<base::MessageLoop> weak_factory_; base 4322 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_; base 4337 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionCookieCallback::SetCookieCallback, base 4338 chrome/browser/extensions/extension_service_unittest.cc base::Unretained(&callback))); base 4339 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4344 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionCookieCallback::GetAllCookiesCallback, base 4345 chrome/browser/extensions/extension_service_unittest.cc base::Unretained(&callback))); base 4346 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4353 chrome/browser/extensions/extension_service_unittest.cc base::string16 db_name = base::UTF8ToUTF16("db"); base 4354 chrome/browser/extensions/extension_service_unittest.cc base::string16 description = base::UTF8ToUTF16("db_description"); base 4366 chrome/browser/extensions/extension_service_unittest.cc base::FilePath lso_dir_path = base 4368 chrome/browser/extensions/extension_service_unittest.cc base::FilePath lso_file_path = lso_dir_path.AppendASCII(origin_id) base 4370 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::CreateDirectory(lso_dir_path)); base 4371 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(0, base::WriteFile(lso_file_path, NULL, 0)); base 4372 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::PathExists(lso_file_path)); base 4380 chrome/browser/extensions/extension_service_unittest.cc base::MessageLoop::current()->message_loop_proxy().get()); base 4381 chrome/browser/extensions/extension_service_unittest.cc base::FilePath idb_path = idb_context->GetFilePathForTesting(origin_id); base 4382 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::CreateDirectory(idb_path)); base 4383 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::DirectoryExists(idb_path)); base 4387 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4392 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionCookieCallback::GetAllCookiesCallback, base 4393 chrome/browser/extensions/extension_service_unittest.cc base::Unretained(&callback))); base 4394 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4403 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(base::PathExists(lso_file_path)); base 4406 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(base::DirectoryExists(idb_path)); base 4453 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionCookieCallback::SetCookieCallback, base 4454 chrome/browser/extensions/extension_service_unittest.cc base::Unretained(&callback))); base 4455 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4460 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionCookieCallback::GetAllCookiesCallback, base 4461 chrome/browser/extensions/extension_service_unittest.cc base::Unretained(&callback))); base 4462 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4469 chrome/browser/extensions/extension_service_unittest.cc base::string16 db_name = base::UTF8ToUTF16("db"); base 4470 chrome/browser/extensions/extension_service_unittest.cc base::string16 description = base::UTF8ToUTF16("db_description"); base 4482 chrome/browser/extensions/extension_service_unittest.cc base::FilePath lso_dir_path = base 4484 chrome/browser/extensions/extension_service_unittest.cc base::FilePath lso_file_path = lso_dir_path.AppendASCII(origin_id) base 4486 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::CreateDirectory(lso_dir_path)); base 4487 chrome/browser/extensions/extension_service_unittest.cc EXPECT_EQ(0, base::WriteFile(lso_file_path, NULL, 0)); base 4488 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::PathExists(lso_file_path)); base 4496 chrome/browser/extensions/extension_service_unittest.cc base::MessageLoop::current()->message_loop_proxy().get()); base 4497 chrome/browser/extensions/extension_service_unittest.cc base::FilePath idb_path = idb_context->GetFilePathForTesting(origin_id); base 4498 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::CreateDirectory(idb_path)); base 4499 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(base::DirectoryExists(idb_path)); base 4511 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionCookieCallback::GetAllCookiesCallback, base 4512 chrome/browser/extensions/extension_service_unittest.cc base::Unretained(&callback))); base 4513 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4525 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionCookieCallback::GetAllCookiesCallback, base 4526 chrome/browser/extensions/extension_service_unittest.cc base::Unretained(&callback))); base 4527 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4536 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(base::PathExists(lso_file_path)); base 4539 chrome/browser/extensions/extension_service_unittest.cc EXPECT_FALSE(base::DirectoryExists(idb_path)); base 4547 chrome/browser/extensions/extension_service_unittest.cc base::FilePath ext1 = data_dir_ base 4553 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4561 chrome/browser/extensions/extension_service_unittest.cc base::FilePath no_manifest = data_dir_ base 4567 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4576 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4587 chrome/browser/extensions/extension_service_unittest.cc base::FilePath no_id_ext = data_dir_.AppendASCII("no_id"); base 4589 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4601 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4609 chrome/browser/extensions/extension_service_unittest.cc base::FilePath bad_locale = data_dir_.AppendASCII("unpacked"). base 4612 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4614 chrome/browser/extensions/extension_service_unittest.cc base::FilePath ms_messages_file = bad_locale.AppendASCII("_locales") base 4617 chrome/browser/extensions/extension_service_unittest.cc EXPECT_THAT(base::UTF16ToUTF8(GetErrors()[0]), testing::AllOf( base 4619 chrome/browser/extensions/extension_service_unittest.cc base::UTF16ToUTF8(ms_messages_file.LossyDisplayName())), base 4633 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_path = data_dir_.AppendASCII("good.crx"); base 4658 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4688 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4690 chrome/browser/extensions/extension_service_unittest.cc base::FilePath install_path = extensions_install_dir_.AppendASCII(id); base 4693 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::PathExists(install_path)); base 4696 chrome/browser/extensions/extension_service_unittest.cc ASSERT_FALSE(base::PathExists(install_path)); base 4699 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4730 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4735 chrome/browser/extensions/extension_service_unittest.cc ASSERT_FALSE(base::PathExists(install_path)); base 4752 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4761 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4837 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_install_dir = data_dir_ base 4840 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pref_path = source_install_dir base 4856 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4879 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4887 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_path = data_dir_.AppendASCII("good.crx"); base 4912 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 4929 chrome/browser/extensions/extension_service_unittest.cc base::FilePath base_path(FILE_PATH_LITERAL("//base/path")); base 5004 chrome/browser/extensions/extension_service_unittest.cc base::FilePath empty; base 5101 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_install_dir = data_dir_ base 5103 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pref_path = base 5161 chrome/browser/extensions/extension_service_unittest.cc base::ShadowingAtExitManager at_exit_manager; base 5178 chrome/browser/extensions/extension_service_unittest.cc base::FilePath install_dir = profile->GetPath() base 5191 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 5209 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 5223 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 5238 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 5245 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 5252 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extensions_path = data_dir_ base 5255 chrome/browser/extensions/extension_service_unittest.cc base::FilePath limited_quota_ext = base 5261 chrome/browser/extensions/extension_service_unittest.cc base::FilePath unlimited_quota_ext = base 5264 chrome/browser/extensions/extension_service_unittest.cc base::FilePath unlimited_quota_ext2 = base 5270 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 5290 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_ base 5297 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 5328 chrome/browser/extensions/extension_service_unittest.cc base::WeakPtrFactory<ExtensionServiceTest> factory(this); base 5330 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionServiceTest::MockSyncStartFlare, base 5337 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 5355 chrome/browser/extensions/extension_service_unittest.cc base::WeakPtrFactory<ExtensionServiceTest> factory(this); base 5357 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionServiceTest::MockSyncStartFlare, base 5380 chrome/browser/extensions/extension_service_unittest.cc base::WeakPtrFactory<ExtensionServiceTest> factory(this); base 5382 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&ExtensionServiceTest::MockSyncStartFlare, base 5387 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 5412 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_install_dir = data_dir_ base 5415 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pref_path = base 5451 chrome/browser/extensions/extension_service_unittest.cc base::FilePath source_install_dir = data_dir_ base 5454 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pref_path = base 5838 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_path = data_dir_.AppendASCII("good.crx"); base 5856 chrome/browser/extensions/extension_service_unittest.cc base::FilePath extension_path = data_dir_.AppendASCII("good.crx"); base 6124 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 6185 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath kInvalidPathToCrx = base::FilePath(); base 6288 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 6362 chrome/browser/extensions/extension_service_unittest.cc const base::FilePath kInvalidPathToCrx = base::FilePath(); base 6431 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_ base 6433 chrome/browser/extensions/extension_service_unittest.cc base::FilePath pem_path = path base 6527 chrome/browser/extensions/extension_service_unittest.cc base::FilePath crx_path_; base 6631 chrome/browser/extensions/extension_service_unittest.cc base::FilePath path = data_dir_.AppendASCII("good.crx"); base 6635 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 6721 chrome/browser/extensions/extension_service_unittest.cc base::Bind(&WaitForCountNotificationsCallback, &count)); base 6752 chrome/browser/extensions/extension_service_unittest.cc base::FilePath crx_path = temp_dir_.path().AppendASCII("webstore.crx"); base 6779 chrome/browser/extensions/extension_service_unittest.cc base::FilePath crx_path = temp_dir_.path().AppendASCII("webstore.crx"); base 6824 chrome/browser/extensions/extension_service_unittest.cc base::RunLoop().RunUntilIdle(); base 35 chrome/browser/extensions/extension_service_unittest.h base::FilePath profile_path; base 36 chrome/browser/extensions/extension_service_unittest.h base::FilePath pref_file; base 37 chrome/browser/extensions/extension_service_unittest.h base::FilePath extensions_install_dir; base 58 chrome/browser/extensions/extension_service_unittest.h const base::FilePath& prefs_file, base 59 chrome/browser/extensions/extension_service_unittest.h const base::FilePath& source_install_dir); base 83 chrome/browser/extensions/extension_service_unittest.h base::ScopedTempDir* temp_dir); base 87 chrome/browser/extensions/extension_service_unittest.h base::ScopedTempDir temp_dir_; base 90 chrome/browser/extensions/extension_service_unittest.h base::ShadowingAtExitManager at_exit_manager_; base 93 chrome/browser/extensions/extension_service_unittest.h base::FilePath extensions_install_dir_; base 94 chrome/browser/extensions/extension_service_unittest.h base::FilePath data_dir_; base 38 chrome/browser/extensions/extension_special_storage_policy.cc base::AutoLock locker(lock_); base 50 chrome/browser/extensions/extension_special_storage_policy.cc base::AutoLock locker(lock_); base 81 chrome/browser/extensions/extension_special_storage_policy.cc base::AutoLock locker(lock_); base 86 chrome/browser/extensions/extension_special_storage_policy.cc base::AutoLock locker(lock_); base 98 chrome/browser/extensions/extension_special_storage_policy.cc base::AutoLock locker(lock_); base 115 chrome/browser/extensions/extension_special_storage_policy.cc base::AutoLock locker(lock_); base 151 chrome/browser/extensions/extension_special_storage_policy.cc base::AutoLock locker(lock_); base 177 chrome/browser/extensions/extension_special_storage_policy.cc base::AutoLock locker(lock_); base 194 chrome/browser/extensions/extension_special_storage_policy.cc base::Bind(&ExtensionSpecialStoragePolicy::NotifyGranted, this, base 207 chrome/browser/extensions/extension_special_storage_policy.cc base::Bind(&ExtensionSpecialStoragePolicy::NotifyRevoked, this, base 218 chrome/browser/extensions/extension_special_storage_policy.cc base::Bind(&ExtensionSpecialStoragePolicy::NotifyCleared, this)); base 81 chrome/browser/extensions/extension_special_storage_policy.h base::Lock lock_; // Synchronize all access to the collections. base 101 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::FilePath path(FILE_PATH_LITERAL("c:\\foo")); base 103 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/foo")); base 105 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::DictionaryValue manifest; base 109 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::ListValue* list = new base::ListValue(); base 110 chrome/browser/extensions/extension_special_storage_policy_unittest.cc list->Append(new base::StringValue("http://explicit/protected")); base 111 chrome/browser/extensions/extension_special_storage_policy_unittest.cc list->Append(new base::StringValue("*://*.wildcards/protected")); base 123 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::FilePath path(FILE_PATH_LITERAL("c:\\bar")); base 125 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/bar")); base 127 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::DictionaryValue manifest; base 131 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::ListValue* list = new base::ListValue(); base 132 chrome/browser/extensions/extension_special_storage_policy_unittest.cc list->Append(new base::StringValue("unlimitedStorage")); base 134 chrome/browser/extensions/extension_special_storage_policy_unittest.cc list = new base::ListValue(); base 135 chrome/browser/extensions/extension_special_storage_policy_unittest.cc list->Append(new base::StringValue("http://explicit/unlimited")); base 136 chrome/browser/extensions/extension_special_storage_policy_unittest.cc list->Append(new base::StringValue("*://*.wildcards/unlimited")); base 148 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::FilePath path(FILE_PATH_LITERAL("c:\\app")); base 150 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/app")); base 152 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::DictionaryValue manifest; base 316 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::MessageLoop message_loop; base 351 chrome/browser/extensions/extension_special_storage_policy_unittest.cc base::MessageLoop message_loop; base 60 chrome/browser/extensions/extension_startup_browsertest.cc base::StringPrintf( base 70 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath::StringType paths = JoinString(load_extensions_, ','); base 78 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath profile_dir; base 81 chrome/browser/extensions/extension_startup_browsertest.cc base::CreateDirectory(profile_dir); base 88 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath src_dir; base 92 chrome/browser/extensions/extension_startup_browsertest.cc base::CopyFile(src_dir.Append(chrome::kPreferencesFilename), base 94 chrome/browser/extensions/extension_startup_browsertest.cc base::CopyDirectory(src_dir.AppendASCII("Extensions"), base 101 chrome/browser/extensions/extension_startup_browsertest.cc EXPECT_TRUE(base::DeleteFile(preferences_file_, false)); base 104 chrome/browser/extensions/extension_startup_browsertest.cc base::DeleteFile(user_scripts_dir_, true); base 105 chrome/browser/extensions/extension_startup_browsertest.cc base::DeleteFile(extensions_dir_, true); base 149 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath test_file; base 173 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath preferences_file_; base 174 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath extensions_dir_; base 175 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath user_scripts_dir_; base 180 chrome/browser/extensions/extension_startup_browsertest.cc std::vector<base::FilePath::StringType> load_extensions_; base 240 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath one_extension_path; base 266 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath one_extension_path; base 276 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath second_extension_path; base 283 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath third_extension_path; base 290 chrome/browser/extensions/extension_startup_browsertest.cc base::FilePath fourth_extension_path; base 26 chrome/browser/extensions/extension_sync_service.h namespace base { base 147 chrome/browser/extensions/extension_sync_service.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 197 chrome/browser/extensions/extension_system_impl.cc base::StringTokenizerT<CommandLine::StringType, base 204 chrome/browser/extensions/extension_system_impl.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 206 chrome/browser/extensions/extension_system_impl.cc base::FilePath(t.token())); base 229 chrome/browser/extensions/extension_system_impl.cc base::StringTokenizerT<CommandLine::StringType, base 235 chrome/browser/extensions/extension_system_impl.cc LoadFromCommandLine(base::FilePath(t.token()), &extension_id); base 408 chrome/browser/extensions/extension_system_impl.cc base::Time install_time; base 429 chrome/browser/extensions/extension_system_impl.cc base::Bind(&InfoMap::AddExtension, info_map(), base 440 chrome/browser/extensions/extension_system_impl.cc base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason)); base 85 chrome/browser/extensions/extension_tab_util.cc base::DictionaryValue* ExtensionTabUtil::CreateTabValue( base 97 chrome/browser/extensions/extension_tab_util.cc base::DictionaryValue* result = base 103 chrome/browser/extensions/extension_tab_util.cc base::ListValue* ExtensionTabUtil::CreateTabList( base 106 chrome/browser/extensions/extension_tab_util.cc base::ListValue* tab_list = new base::ListValue(); base 118 chrome/browser/extensions/extension_tab_util.cc base::DictionaryValue* ExtensionTabUtil::CreateTabValue( base 131 chrome/browser/extensions/extension_tab_util.cc base::DictionaryValue* result = new base::DictionaryValue(); base 174 chrome/browser/extensions/extension_tab_util.cc base::DictionaryValue* tab_info) { base 322 chrome/browser/extensions/extension_tab_util.cc const base::Callback<void(WebContents*)>& callback) { base 19 chrome/browser/extensions/extension_tab_util.h namespace base { base 44 chrome/browser/extensions/extension_tab_util.h static base::ListValue* CreateTabList(const Browser* browser, base 51 chrome/browser/extensions/extension_tab_util.h static base::DictionaryValue* CreateTabValue( base 56 chrome/browser/extensions/extension_tab_util.h static base::DictionaryValue* CreateTabValue( base 64 chrome/browser/extensions/extension_tab_util.h static base::DictionaryValue* CreateTabValue( base 68 chrome/browser/extensions/extension_tab_util.h static base::DictionaryValue* CreateTabValue( base 78 chrome/browser/extensions/extension_tab_util.h base::DictionaryValue* tab_info); base 123 chrome/browser/extensions/extension_tab_util.h const base::Callback<void(content::WebContents*)>& callback); base 40 chrome/browser/extensions/extension_tab_util_android.cc base::DictionaryValue* ExtensionTabUtil::CreateTabValue( base 50 chrome/browser/extensions/extension_tab_util_android.cc base::ListValue* ExtensionTabUtil::CreateTabList(const Browser* browser, base 57 chrome/browser/extensions/extension_tab_util_android.cc base::DictionaryValue* ExtensionTabUtil::CreateTabValue( base 117 chrome/browser/extensions/extension_tab_util_android.cc const base::Callback<void(WebContents*)>& callback) { base 61 chrome/browser/extensions/extension_test_message_listener.cc Reply(base::IntToString(message)); base 97 chrome/browser/extensions/extension_test_message_listener.cc Reply(base::EmptyString()); base 101 chrome/browser/extensions/extension_test_message_listener.cc base::MessageLoopForUI::current()->Quit(); base 29 chrome/browser/extensions/extension_test_message_listener_unittest.cc base::StringPrintf("[\"%s\"]", kTestMessage)); base 39 chrome/browser/extensions/extension_test_message_listener_unittest.cc base::StringPrintf("[\"%s\"]", kTestMessage2)); base 50 chrome/browser/extensions/extension_test_message_listener_unittest.cc base::StringPrintf("[\"%s\"]", kTestMessage)); base 55 chrome/browser/extensions/extension_test_message_listener_unittest.cc EXPECT_EQ(base::EmptyString(), listener.message()); base 57 chrome/browser/extensions/extension_test_message_listener_unittest.cc base::StringPrintf("[\"%s\"]", kTestMessage2)); base 68 chrome/browser/extensions/extension_test_message_listener_unittest.cc base::StringPrintf("[\"%s\"]", kTestMessage)); base 73 chrome/browser/extensions/extension_test_message_listener_unittest.cc base::StringPrintf("[\"%s\"]", kFailureMessage)); base 58 chrome/browser/extensions/extension_test_notification_observer.cc base::CallbackList<void()>& callback_list() { base 69 chrome/browser/extensions/extension_test_notification_observer.cc base::CallbackList<void()> callback_list_; base 90 chrome/browser/extensions/extension_test_notification_observer.cc const base::Callback<bool(void)>& condition) { base 96 chrome/browser/extensions/extension_test_notification_observer.cc const base::Callback<bool(void)>& condition, base 103 chrome/browser/extensions/extension_test_notification_observer.cc scoped_ptr<base::CallbackList<void()>::Subscription> subscription = base 105 chrome/browser/extensions/extension_test_notification_observer.cc base::Bind(&MaybeQuit, base::Unretained(runner.get()), condition)); base 110 chrome/browser/extensions/extension_test_notification_observer.cc const base::Callback<bool(void)>& condition, base 157 chrome/browser/extensions/extension_test_notification_observer.cc base::Bind( base 168 chrome/browser/extensions/extension_test_notification_observer.cc base::Bind( base 181 chrome/browser/extensions/extension_test_notification_observer.cc base::Bind(&HaveAllExtensionRenderViewHostsFinishedLoading, manager), base 67 chrome/browser/extensions/extension_toolbar_model.cc base::Bind(&ExtensionToolbarModel::OnExtensionToolbarPrefChange, base 68 chrome/browser/extensions/extension_toolbar_model.cc base::Unretained(this)); base 423 chrome/browser/extensions/extension_toolbar_model.cc base::HistogramBase::kSampleType_MAX : base 495 chrome/browser/extensions/extension_toolbar_model.cc base::MessageLoop::current()->PostTask( base 497 chrome/browser/extensions/extension_toolbar_model.cc base::Bind(&ExtensionToolbarModel::UpdatePrefs, base 198 chrome/browser/extensions/extension_toolbar_model.h base::Closure pref_change_callback_; base 200 chrome/browser/extensions/extension_toolbar_model.h base::WeakPtrFactory<ExtensionToolbarModel> weak_ptr_factory_; base 122 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_a_path(test_data_dir_.AppendASCII("api_test") base 136 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_b_path(test_data_dir_.AppendASCII("api_test") base 149 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_c_path(test_data_dir_.AppendASCII("api_test") base 243 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_a_path(test_data_dir_.AppendASCII("api_test") base 247 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_b_path(test_data_dir_.AppendASCII("api_test") base 251 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_c_path(test_data_dir_.AppendASCII("api_test") base 316 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_a_path(test_data_dir_.AppendASCII("api_test") base 320 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_b_path(test_data_dir_.AppendASCII("api_test") base 356 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_a_path(test_data_dir_.AppendASCII("api_test") base 360 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_b_path(test_data_dir_.AppendASCII("api_test") base 364 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_c_path(test_data_dir_.AppendASCII("api_test") base 389 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_a_path(test_data_dir_.AppendASCII("api_test") base 393 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_b_path(test_data_dir_.AppendASCII("api_test") base 397 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_c_path(test_data_dir_.AppendASCII("api_test") base 480 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_a_path(test_data_dir_.AppendASCII("api_test") base 484 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_b_path(test_data_dir_.AppendASCII("api_test") base 488 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_c_path(test_data_dir_.AppendASCII("api_test") base 548 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_a_path(test_data_dir_.AppendASCII("api_test") base 552 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_b_path(test_data_dir_.AppendASCII("api_test") base 568 chrome/browser/extensions/extension_toolbar_model_browsertest.cc base::FilePath extension_c_path(test_data_dir_.AppendASCII("api_test") base 43 chrome/browser/extensions/extension_ui_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 57 chrome/browser/extensions/extension_ui_unittest.cc static base::DictionaryValue* DeserializeJSONTestData( base 58 chrome/browser/extensions/extension_ui_unittest.cc const base::FilePath& path, base 60 chrome/browser/extensions/extension_ui_unittest.cc base::Value* value; base 65 chrome/browser/extensions/extension_ui_unittest.cc return static_cast<base::DictionaryValue*>(value); base 68 chrome/browser/extensions/extension_ui_unittest.cc base::DictionaryValue* CreateExtensionDetailViewFromPath( base 69 chrome/browser/extensions/extension_ui_unittest.cc const base::FilePath& extension_path, base 74 chrome/browser/extensions/extension_ui_unittest.cc base::FilePath manifest_path = extension_path.Append(kManifestFilename); base 75 chrome/browser/extensions/extension_ui_unittest.cc scoped_ptr<base::DictionaryValue> extension_data(DeserializeJSONTestData( base 89 chrome/browser/extensions/extension_ui_unittest.cc const base::FilePath& extension_path, base 91 chrome/browser/extensions/extension_ui_unittest.cc const base::FilePath& expected_output_path) { base 94 chrome/browser/extensions/extension_ui_unittest.cc scoped_ptr<base::DictionaryValue> expected_output_data( base 99 chrome/browser/extensions/extension_ui_unittest.cc scoped_ptr<base::DictionaryValue> actual_output_data( base 108 chrome/browser/extensions/extension_ui_unittest.cc for (base::DictionaryValue::Iterator field(*expected_output_data); base 110 chrome/browser/extensions/extension_ui_unittest.cc const base::Value* expected_value = &field.value(); base 111 chrome/browser/extensions/extension_ui_unittest.cc base::Value* actual_value = NULL; base 119 chrome/browser/extensions/extension_ui_unittest.cc base::MessageLoop message_loop_; base 135 chrome/browser/extensions/extension_ui_unittest.cc base::FilePath data_test_dir_path, extension_path, expected_output_path; base 199 chrome/browser/extensions/extension_ui_unittest.cc base::FilePath data_test_dir_path, extension_path; base 210 chrome/browser/extensions/extension_ui_unittest.cc scoped_ptr<base::DictionaryValue> extension_details( base 216 chrome/browser/extensions/extension_ui_unittest.cc base::FilePath::StringType ui_path; base 223 chrome/browser/extensions/extension_ui_unittest.cc EXPECT_EQ(extension_path, base::FilePath(ui_path)); base 231 chrome/browser/extensions/extension_ui_unittest.cc base::FilePath data_test_dir_path, extension_path; base 242 chrome/browser/extensions/extension_ui_unittest.cc scoped_ptr<base::DictionaryValue> extension_details( base 248 chrome/browser/extensions/extension_ui_unittest.cc base::FilePath::StringType ui_path; base 260 chrome/browser/extensions/extension_ui_unittest.cc base::FilePath data_test_dir_path, extension_path; base 271 chrome/browser/extensions/extension_ui_unittest.cc scoped_ptr<base::DictionaryValue> extension_details( base 275 chrome/browser/extensions/extension_ui_unittest.cc base::FilePath::StringType ui_path; base 278 chrome/browser/extensions/extension_ui_unittest.cc EXPECT_EQ(extension_path, base::FilePath(ui_path)); base 64 chrome/browser/extensions/extension_uninstall_dialog.cc ui_loop_(base::MessageLoop::current()) { base 84 chrome/browser/extensions/extension_uninstall_dialog.cc DCHECK(ui_loop_ == base::MessageLoop::current()); base 104 chrome/browser/extensions/extension_uninstall_dialog.cc base::Bind(&ExtensionUninstallDialog::OnImageLoaded, base 154 chrome/browser/extensions/extension_uninstall_dialog.cc base::UTF8ToUTF16(triggering_extension_->name()), base 155 chrome/browser/extensions/extension_uninstall_dialog.cc base::UTF8ToUTF16(extension_->name())); base 158 chrome/browser/extensions/extension_uninstall_dialog.cc base::UTF8ToUTF16(extension_->name())); base 19 chrome/browser/extensions/extension_uninstall_dialog.h namespace base { base 33 chrome/browser/extensions/extension_uninstall_dialog.h public base::SupportsWeakPtr<ExtensionUninstallDialog> { base 119 chrome/browser/extensions/extension_uninstall_dialog.h base::MessageLoop* ui_loop_; base 36 chrome/browser/extensions/extension_url_rewrite_browsertest.cc return base::UTF16ToUTF8( base 53 chrome/browser/extensions/extension_url_rewrite_browsertest.cc base::FilePath GetTestExtensionPath(const char* extension_name) const { base 185 chrome/browser/extensions/extension_util.cc scoped_ptr<base::DictionaryValue> GetExtensionInfo(const Extension* extension) { base 187 chrome/browser/extensions/extension_util.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 13 chrome/browser/extensions/extension_util.h namespace base { base 84 chrome/browser/extensions/extension_util.h scoped_ptr<base::DictionaryValue> GetExtensionInfo(const Extension* extension); base 343 chrome/browser/extensions/extension_view_host.cc static const base::StringPiece css( base 32 chrome/browser/extensions/extension_warning_badge_service.cc virtual base::string16 MenuItemLabel() OVERRIDE; base 61 chrome/browser/extensions/extension_warning_badge_service.cc base::string16 ErrorBadge::MenuItemLabel() { base 22 chrome/browser/extensions/extension_warning_badge_service.h public base::NonThreadSafe { base 34 chrome/browser/extensions/extension_warning_service.h public base::NonThreadSafe { base 165 chrome/browser/extensions/extension_warning_set.cc const base::FilePath& losing_filename, base 166 chrome/browser/extensions/extension_warning_set.cc const base::FilePath& winning_filename) { base 168 chrome/browser/extensions/extension_warning_set.cc message_parameters.push_back(base::UTF16ToUTF8( base 171 chrome/browser/extensions/extension_warning_set.cc message_parameters.push_back(base::UTF16ToUTF8( base 187 chrome/browser/extensions/extension_warning_set.cc std::vector<base::string16> final_parameters; base 196 chrome/browser/extensions/extension_warning_set.cc final_parameters.push_back(base::UTF8ToUTF16(net::EscapeForHTML(message))); base 16 chrome/browser/extensions/extension_warning_set.h namespace base { base 82 chrome/browser/extensions/extension_warning_set.h const base::FilePath& losing_filename, base 83 chrome/browser/extensions/extension_warning_set.h const base::FilePath& winning_filename); base 50 chrome/browser/extensions/extension_web_ui.cc void CleanUpDuplicates(base::ListValue* list) { base 99 chrome/browser/extensions/extension_web_ui.cc scoped_refptr<base::RefCountedBytes> bitmap_data( base 100 chrome/browser/extensions/extension_web_ui.cc new base::RefCountedBytes()); base 117 chrome/browser/extensions/extension_web_ui.cc base::MessageLoopProxy::current()->PostTask( base 119 chrome/browser/extensions/extension_web_ui.cc base::Bind(&FaviconService::FaviconResultsCallbackRunner, base 121 chrome/browser/extensions/extension_web_ui.cc base::Owned(favicon_bitmap_results))); base 124 chrome/browser/extensions/extension_web_ui.cc bool ValidateOverrideURL(const base::Value* override_url_value, base 204 chrome/browser/extensions/extension_web_ui.cc const base::DictionaryValue* overrides = base 208 chrome/browser/extensions/extension_web_ui.cc const base::ListValue* url_list = NULL; base 222 chrome/browser/extensions/extension_web_ui.cc const base::Value* val = NULL; base 270 chrome/browser/extensions/extension_web_ui.cc const base::DictionaryValue* overrides = base 279 chrome/browser/extensions/extension_web_ui.cc for (base::DictionaryValue::Iterator it(*overrides); !it.IsAtEnd(); base 281 chrome/browser/extensions/extension_web_ui.cc const base::ListValue* url_list = NULL; base 285 chrome/browser/extensions/extension_web_ui.cc for (base::ListValue::const_iterator it2 = url_list->begin(); base 310 chrome/browser/extensions/extension_web_ui.cc base::DictionaryValue* all_overrides = update.Get(); base 317 chrome/browser/extensions/extension_web_ui.cc base::ListValue* page_overrides = NULL; base 319 chrome/browser/extensions/extension_web_ui.cc page_overrides = new base::ListValue(); base 325 chrome/browser/extensions/extension_web_ui.cc base::ListValue::iterator i = page_overrides->begin(); base 341 chrome/browser/extensions/extension_web_ui.cc page_overrides->Insert(0, new base::StringValue(iter->second.spec())); base 348 chrome/browser/extensions/extension_web_ui.cc base::ListValue* list, base 349 chrome/browser/extensions/extension_web_ui.cc const base::Value* override) { base 355 chrome/browser/extensions/extension_web_ui.cc base::Callback<void(WebContents*)> callback = base 356 chrome/browser/extensions/extension_web_ui.cc base::Bind(&UnregisterAndReplaceOverrideForWebContents, page, profile); base 364 chrome/browser/extensions/extension_web_ui.cc const base::Value* override) { base 369 chrome/browser/extensions/extension_web_ui.cc base::DictionaryValue* all_overrides = update.Get(); base 370 chrome/browser/extensions/extension_web_ui.cc base::ListValue* page_overrides = NULL; base 387 chrome/browser/extensions/extension_web_ui.cc base::DictionaryValue* all_overrides = update.Get(); base 391 chrome/browser/extensions/extension_web_ui.cc base::ListValue* page_overrides = NULL; base 397 chrome/browser/extensions/extension_web_ui.cc base::StringValue override(iter->second.spec()); base 448 chrome/browser/extensions/extension_web_ui.cc extension, info_list, base::Bind(&RunFaviconCallbackAsync, callback)); base 60 chrome/browser/extensions/extension_web_ui.h const base::Value* override); base 77 chrome/browser/extensions/extension_web_ui.h base::ListValue* list, base 78 chrome/browser/extensions/extension_web_ui.h const base::Value* override); base 48 chrome/browser/extensions/extension_web_ui_override_registrar.cc static base::LazyInstance< base 36 chrome/browser/extensions/extension_web_ui_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 46 chrome/browser/extensions/extension_web_ui_unittest.cc base::MessageLoop message_loop_; base 47 chrome/browser/extensions/external_component_loader.cc prefs_.reset(new base::DictionaryValue()); base 30 chrome/browser/extensions/external_component_loader.h friend class base::RefCountedThreadSafe<ExternalLoader>; base 66 chrome/browser/extensions/external_install_ui.cc public base::RefCountedThreadSafe<ExternalInstallDialogDelegate> { base 88 chrome/browser/extensions/external_install_ui.cc scoped_ptr<base::DictionaryValue> webstore_data) OVERRIDE; base 105 chrome/browser/extensions/external_install_ui.cc base::WeakPtr<ExtensionService> service_weak_; base 127 chrome/browser/extensions/external_install_ui.cc virtual base::string16 MenuItemLabel() OVERRIDE; base 130 chrome/browser/extensions/external_install_ui.cc virtual base::string16 GetBubbleViewTitle() OVERRIDE; base 131 chrome/browser/extensions/external_install_ui.cc virtual std::vector<base::string16> GetBubbleViewMessages() OVERRIDE; base 132 chrome/browser/extensions/external_install_ui.cc virtual base::string16 GetBubbleViewAcceptButtonLabel() OVERRIDE; base 133 chrome/browser/extensions/external_install_ui.cc virtual base::string16 GetBubbleViewCancelButtonLabel() OVERRIDE; base 164 chrome/browser/extensions/external_install_ui.cc virtual base::string16 GetBubbleViewTitle() OVERRIDE; base 165 chrome/browser/extensions/external_install_ui.cc virtual std::vector<base::string16> GetBubbleViewMessages() OVERRIDE; base 166 chrome/browser/extensions/external_install_ui.cc virtual base::string16 GetBubbleViewAcceptButtonLabel() OVERRIDE; base 167 chrome/browser/extensions/external_install_ui.cc virtual base::string16 GetBubbleViewCancelButtonLabel() OVERRIDE; base 184 chrome/browser/extensions/external_install_ui.cc base::WeakPtr<ExtensionService> service, base 258 chrome/browser/extensions/external_install_ui.cc scoped_ptr<base::DictionaryValue> webstore_data) { base 307 chrome/browser/extensions/external_install_ui.cc base::Bind(&CreateExternalInstallGlobalError, base 364 chrome/browser/extensions/external_install_ui.cc base::string16 ExternalInstallMenuAlert::MenuItemLabel() { base 372 chrome/browser/extensions/external_install_ui.cc return l10n_util::GetStringFUTF16(id, base::UTF8ToUTF16(extension_->name())); base 382 chrome/browser/extensions/external_install_ui.cc base::string16 ExternalInstallMenuAlert::GetBubbleViewTitle() { base 383 chrome/browser/extensions/external_install_ui.cc return base::string16(); base 386 chrome/browser/extensions/external_install_ui.cc std::vector<base::string16> ExternalInstallMenuAlert::GetBubbleViewMessages() { base 387 chrome/browser/extensions/external_install_ui.cc return std::vector<base::string16>(); base 390 chrome/browser/extensions/external_install_ui.cc base::string16 ExternalInstallMenuAlert::GetBubbleViewAcceptButtonLabel() { base 391 chrome/browser/extensions/external_install_ui.cc return base::string16(); base 394 chrome/browser/extensions/external_install_ui.cc base::string16 ExternalInstallMenuAlert::GetBubbleViewCancelButtonLabel() { base 395 chrome/browser/extensions/external_install_ui.cc return base::string16(); base 465 chrome/browser/extensions/external_install_ui.cc base::string16 ExternalInstallGlobalError::GetBubbleViewTitle() { base 469 chrome/browser/extensions/external_install_ui.cc std::vector<base::string16> base 471 chrome/browser/extensions/external_install_ui.cc std::vector<base::string16> messages; base 485 chrome/browser/extensions/external_install_ui.cc base::string16 ExternalInstallGlobalError::GetBubbleViewAcceptButtonLabel() { base 489 chrome/browser/extensions/external_install_ui.cc base::string16 ExternalInstallGlobalError::GetBubbleViewCancelButtonLabel() { base 25 chrome/browser/extensions/external_loader.cc const base::FilePath ExternalLoader::GetBaseCrxFilePath() { base 30 chrome/browser/extensions/external_loader.cc return base::FilePath(); base 12 chrome/browser/extensions/external_loader.h namespace base { base 30 chrome/browser/extensions/external_loader.h class ExternalLoader : public base::RefCountedThreadSafe<ExternalLoader> { base 52 chrome/browser/extensions/external_loader.h virtual const base::FilePath GetBaseCrxFilePath(); base 67 chrome/browser/extensions/external_loader.h scoped_ptr<base::DictionaryValue> prefs_; base 70 chrome/browser/extensions/external_loader.h friend class base::RefCountedThreadSafe<ExternalLoader>; base 26 chrome/browser/extensions/external_policy_loader.cc base::Bind(&ExternalPolicyLoader::StartLoading, base 27 chrome/browser/extensions/external_policy_loader.cc base::Unretained(this))); base 29 chrome/browser/extensions/external_policy_loader.cc base::Bind(&ExternalPolicyLoader::StartLoading, base 30 chrome/browser/extensions/external_policy_loader.cc base::Unretained(this))); base 37 chrome/browser/extensions/external_policy_loader.cc void ExternalPolicyLoader::AddExtension(base::DictionaryValue* dict, base 40 chrome/browser/extensions/external_policy_loader.cc dict->SetString(base::StringPrintf("%s.%s", extension_id.c_str(), base 60 chrome/browser/extensions/external_policy_loader.cc const base::DictionaryValue* forcelist = base 18 chrome/browser/extensions/external_policy_loader.h namespace base { base 39 chrome/browser/extensions/external_policy_loader.h static void AddExtension(base::DictionaryValue* dict, base 47 chrome/browser/extensions/external_policy_loader.h friend class base::RefCountedThreadSafe<ExternalLoader>; base 38 chrome/browser/extensions/external_policy_loader_unittest.cc base::MessageLoopForIO loop_; base 50 chrome/browser/extensions/external_policy_loader_unittest.cc void Visit(const base::DictionaryValue& policy_forcelist, base 72 chrome/browser/extensions/external_policy_loader_unittest.cc const base::FilePath& path, base 119 chrome/browser/extensions/external_policy_loader_unittest.cc base::DictionaryValue forced_extensions; base 135 chrome/browser/extensions/external_policy_loader_unittest.cc base::DictionaryValue forced_extensions; base 25 chrome/browser/extensions/external_pref_loader.cc base::FilePath::CharType kExternalExtensionJson[] = base 28 chrome/browser/extensions/external_pref_loader.cc std::set<base::FilePath> GetPrefsCandidateFilesFromFolder( base 29 chrome/browser/extensions/external_pref_loader.cc const base::FilePath& external_extension_search_path) { base 32 chrome/browser/extensions/external_pref_loader.cc std::set<base::FilePath> external_extension_paths; base 34 chrome/browser/extensions/external_pref_loader.cc if (!base::PathExists(external_extension_search_path)) { base 39 chrome/browser/extensions/external_pref_loader.cc base::FileEnumerator json_files( base 42 chrome/browser/extensions/external_pref_loader.cc base::FileEnumerator::FILES); base 44 chrome/browser/extensions/external_pref_loader.cc base::FilePath::StringType extension = base::UTF8ToWide(std::string(".json")); base 46 chrome/browser/extensions/external_pref_loader.cc base::FilePath::StringType extension(".json"); base 49 chrome/browser/extensions/external_pref_loader.cc base::FilePath file = json_files.Next(); base 70 chrome/browser/extensions/external_pref_loader.cc base::DictionaryValue* ExtractExtensionPrefs(base::ValueSerializer* serializer, base 71 chrome/browser/extensions/external_pref_loader.cc const base::FilePath& path) { base 73 chrome/browser/extensions/external_pref_loader.cc base::Value* extensions = serializer->Deserialize(NULL, &error_msg); base 77 chrome/browser/extensions/external_pref_loader.cc return new base::DictionaryValue; base 80 chrome/browser/extensions/external_pref_loader.cc base::DictionaryValue* ext_dictionary = NULL; base 86 chrome/browser/extensions/external_pref_loader.cc return new base::DictionaryValue; base 98 chrome/browser/extensions/external_pref_loader.cc const base::FilePath ExternalPrefLoader::GetBaseCrxFilePath() { base 109 chrome/browser/extensions/external_pref_loader.cc base::Bind(&ExternalPrefLoader::LoadOnFileThread, this)); base 115 chrome/browser/extensions/external_pref_loader.cc scoped_ptr<base::DictionaryValue> prefs(new base::DictionaryValue); base 150 chrome/browser/extensions/external_pref_loader.cc base::Bind(&ExternalPrefLoader::LoadFinished, this)); base 154 chrome/browser/extensions/external_pref_loader.cc base::DictionaryValue* prefs) { base 158 chrome/browser/extensions/external_pref_loader.cc base::FilePath json_file = base_path_.Append(kExternalExtensionJson); base 160 chrome/browser/extensions/external_pref_loader.cc if (!base::PathExists(json_file)) { base 167 chrome/browser/extensions/external_pref_loader.cc if (!base::VerifyPathControlledByAdmin(json_file)) { base 185 chrome/browser/extensions/external_pref_loader.cc scoped_ptr<base::DictionaryValue> ext_prefs( base 192 chrome/browser/extensions/external_pref_loader.cc base::DictionaryValue* prefs) { base 197 chrome/browser/extensions/external_pref_loader.cc std::set<base::FilePath> base 206 chrome/browser/extensions/external_pref_loader.cc for (std::set<base::FilePath>::const_iterator it = candidates.begin(); base 209 chrome/browser/extensions/external_pref_loader.cc base::FilePath extension_candidate_path = base_path_.Append(*it); base 213 chrome/browser/extensions/external_pref_loader.cc base::UTF16ToASCII( base 223 chrome/browser/extensions/external_pref_loader.cc scoped_ptr<base::DictionaryValue> ext_prefs( base 234 chrome/browser/extensions/external_pref_loader.cc const base::FilePath& fake_base_path) base 238 chrome/browser/extensions/external_pref_loader.cc base::FilePath fake_json_path = fake_base_path.AppendASCII("fake.json"); base 250 chrome/browser/extensions/external_pref_loader.cc const base::FilePath ExternalTestingLoader::GetBaseCrxFilePath() { base 38 chrome/browser/extensions/external_pref_loader.h virtual const base::FilePath GetBaseCrxFilePath() OVERRIDE; base 55 chrome/browser/extensions/external_pref_loader.h friend class base::RefCountedThreadSafe<ExternalLoader>; base 66 chrome/browser/extensions/external_pref_loader.h void ReadExternalExtensionPrefFile(base::DictionaryValue* prefs); base 73 chrome/browser/extensions/external_pref_loader.h void ReadStandaloneExtensionPrefFiles(base::DictionaryValue* prefs); base 77 chrome/browser/extensions/external_pref_loader.h base::FilePath base_path_; base 87 chrome/browser/extensions/external_pref_loader.h const base::FilePath& fake_base_path); base 89 chrome/browser/extensions/external_pref_loader.h virtual const base::FilePath GetBaseCrxFilePath() OVERRIDE; base 95 chrome/browser/extensions/external_pref_loader.h friend class base::RefCountedThreadSafe<ExternalLoader>; base 99 chrome/browser/extensions/external_pref_loader.h base::FilePath fake_base_path_; base 100 chrome/browser/extensions/external_pref_loader.h scoped_ptr<base::DictionaryValue> testing_prefs_; base 95 chrome/browser/extensions/external_provider_impl.cc void ExternalProviderImpl::SetPrefs(base::DictionaryValue* prefs) { base 109 chrome/browser/extensions/external_provider_impl.cc for (base::DictionaryValue::Iterator i(*prefs_); !i.IsAtEnd(); i.Advance()) { base 111 chrome/browser/extensions/external_provider_impl.cc const base::DictionaryValue* extension = NULL; base 126 chrome/browser/extensions/external_provider_impl.cc base::FilePath::StringType external_crx; base 127 chrome/browser/extensions/external_provider_impl.cc const base::Value* external_version_value = NULL; base 135 chrome/browser/extensions/external_provider_impl.cc if (external_version_value->IsType(base::Value::TYPE_STRING)) { base 164 chrome/browser/extensions/external_provider_impl.cc const base::ListValue* supported_locales = NULL; base 233 chrome/browser/extensions/external_provider_impl.cc if (external_crx.find(base::FilePath::kParentDirectory) != base 234 chrome/browser/extensions/external_provider_impl.cc base::StringPiece::npos) { base 242 chrome/browser/extensions/external_provider_impl.cc base::FilePath path(external_crx); base 244 chrome/browser/extensions/external_provider_impl.cc base::FilePath base_path = loader_->GetBaseCrxFilePath(); base 319 chrome/browser/extensions/external_provider_impl.cc base::DictionaryValue* extension = NULL; base 17 chrome/browser/extensions/external_provider_impl.h namespace base { base 54 chrome/browser/extensions/external_provider_impl.h virtual void SetPrefs(base::DictionaryValue* prefs); base 63 chrome/browser/extensions/external_provider_impl.h scoped_ptr<base::Version>* version) const OVERRIDE; base 94 chrome/browser/extensions/external_provider_impl.h scoped_ptr<base::DictionaryValue> prefs_; base 56 chrome/browser/extensions/external_provider_impl_chromeos_unittest.cc new base::ScopedPathOverride(chrome::DIR_EXTERNAL_EXTENSIONS, base 70 chrome/browser/extensions/external_provider_impl_chromeos_unittest.cc scoped_ptr<base::ScopedPathOverride> external_externsions_overrides_; base 99 chrome/browser/extensions/external_provider_impl_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 70 chrome/browser/extensions/external_provider_impl_unittest.cc base::Bind(&ExternalProviderImplTest::HandleRequest, base 71 chrome/browser/extensions/external_provider_impl_unittest.cc base::Unretained(this))); base 98 chrome/browser/extensions/external_provider_impl_unittest.cc response->set_content(base::StringPrintf( base 112 chrome/browser/extensions/external_provider_impl_unittest.cc base::FilePath test_data_dir; base 115 chrome/browser/extensions/external_provider_impl_unittest.cc base::ReadFileToString( base 41 chrome/browser/extensions/external_registry_loader_win.cc bool CanOpenFileForReading(const base::FilePath& path) { base 42 chrome/browser/extensions/external_registry_loader_win.cc ScopedStdioHandle file_handle(base::OpenFile(path, "rb")); base 54 chrome/browser/extensions/external_registry_loader_win.cc base::Bind(&ExternalRegistryLoader::LoadOnFileThread, this)); base 59 chrome/browser/extensions/external_registry_loader_win.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 60 chrome/browser/extensions/external_registry_loader_win.cc scoped_ptr<base::DictionaryValue> prefs(new base::DictionaryValue); base 63 chrome/browser/extensions/external_registry_loader_win.cc std::set<base::string16> keys; base 64 chrome/browser/extensions/external_registry_loader_win.cc base::win::RegistryKeyIterator iterator_machine_key( base 65 chrome/browser/extensions/external_registry_loader_win.cc HKEY_LOCAL_MACHINE, base::ASCIIToWide(kRegistryExtensions).c_str()); base 68 chrome/browser/extensions/external_registry_loader_win.cc base::win::RegistryKeyIterator iterator_user_key( base 69 chrome/browser/extensions/external_registry_loader_win.cc HKEY_CURRENT_USER, base::ASCIIToWide(kRegistryExtensions).c_str()); base 76 chrome/browser/extensions/external_registry_loader_win.cc for (std::set<base::string16>::const_iterator it = keys.begin(); base 78 chrome/browser/extensions/external_registry_loader_win.cc base::win::RegKey key; base 79 chrome/browser/extensions/external_registry_loader_win.cc base::string16 key_path = base::ASCIIToWide(kRegistryExtensions); base 92 chrome/browser/extensions/external_registry_loader_win.cc std::string id = base::UTF16ToASCII(*it); base 100 chrome/browser/extensions/external_registry_loader_win.cc base::string16 extension_dist_id; base 104 chrome/browser/extensions/external_registry_loader_win.cc base::UTF16ToASCII(extension_dist_id)); base 109 chrome/browser/extensions/external_registry_loader_win.cc base::string16 extension_update_url; base 114 chrome/browser/extensions/external_registry_loader_win.cc base::UTF16ToASCII(extension_update_url)); base 118 chrome/browser/extensions/external_registry_loader_win.cc base::string16 extension_path_str; base 127 chrome/browser/extensions/external_registry_loader_win.cc base::FilePath extension_path(extension_path_str); base 135 chrome/browser/extensions/external_registry_loader_win.cc if (!base::PathExists(extension_path)) { base 150 chrome/browser/extensions/external_registry_loader_win.cc base::string16 extension_version; base 159 chrome/browser/extensions/external_registry_loader_win.cc Version version(base::UTF16ToASCII(extension_version)); base 168 chrome/browser/extensions/external_registry_loader_win.cc base::UTF16ToASCII(extension_version)); base 176 chrome/browser/extensions/external_registry_loader_win.cc base::TimeTicks::Now() - start_time); base 179 chrome/browser/extensions/external_registry_loader_win.cc base::Bind(&ExternalRegistryLoader::LoadFinished, this)); base 21 chrome/browser/extensions/external_registry_loader_win.h friend class base::RefCountedThreadSafe<ExternalLoader>; base 119 chrome/browser/extensions/fake_safe_browsing_database_manager.cc base::MessageLoopProxy::current()->PostTask( base 121 chrome/browser/extensions/fake_safe_browsing_database_manager.cc base::Bind(&FakeSafeBrowsingDatabaseManager::OnSafeBrowsingResult, base 123 chrome/browser/extensions/fake_safe_browsing_database_manager.cc base::Passed(&safe_browsing_check), base 45 chrome/browser/extensions/favicon_downloader.cc base::Bind(&FaviconDownloader::DidDownloadFavicon, base 30 chrome/browser/extensions/favicon_downloader.h typedef base::Callback<void( base 96 chrome/browser/extensions/favicon_downloader.h base::WeakPtrFactory<FaviconDownloader> weak_ptr_factory_; base 53 chrome/browser/extensions/favicon_downloader_unittest.cc base::Bind(&TestFaviconDownloader::DownloadsComplete, base 54 chrome/browser/extensions/favicon_downloader_unittest.cc base::Unretained(this))), base 80 chrome/browser/extensions/global_shortcut_listener_x11.cc base::MessagePumpX11::Current()->AddDispatcherForRootWindow(this); base 96 chrome/browser/extensions/global_shortcut_listener_x11.cc base::MessagePumpX11::Current()->RemoveDispatcherForRootWindow(this); base 103 chrome/browser/extensions/global_shortcut_listener_x11.cc uint32_t GlobalShortcutListenerX11::Dispatch(const base::NativeEvent& event) { base 27 chrome/browser/extensions/global_shortcut_listener_x11.h public base::MessagePumpDispatcher, base 36 chrome/browser/extensions/global_shortcut_listener_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 72 chrome/browser/extensions/gtalk_extension_browsertest.cc EXPECT_TRUE(base::ReadFileToString( base 88 chrome/browser/extensions/image_loader.cc base::FilePath path = image_info.resource.GetFilePath(); base 89 chrome/browser/extensions/image_loader.cc if (path.empty() || !base::ReadFileToString(path, &file_contents)) { base 107 chrome/browser/extensions/image_loader.cc std::map<base::FilePath, int>* path_to_resource_id, base 111 chrome/browser/extensions/image_loader.cc base::FilePath resource_path = base::FilePath().AppendASCII( base 249 chrome/browser/extensions/image_loader.cc static base::LazyInstance<std::map<base::FilePath, int> > path_to_resource_id = base 254 chrome/browser/extensions/image_loader.cc const base::FilePath& extension_path, base 255 chrome/browser/extensions/image_loader.cc const base::FilePath& resource_path, base 288 chrome/browser/extensions/image_loader.cc base::FilePath directory_path = extension_path; base 289 chrome/browser/extensions/image_loader.cc base::FilePath resources_dir; base 290 chrome/browser/extensions/image_loader.cc base::FilePath relative_path; base 298 chrome/browser/extensions/image_loader.cc std::map<base::FilePath, int>::const_iterator entry = base 325 chrome/browser/extensions/image_loader.cc base::PostTaskAndReplyWithResult( base 328 chrome/browser/extensions/image_loader.cc base::Bind(LoadImagesOnBlockingPool, base 331 chrome/browser/extensions/image_loader.cc base::Bind( base 341 chrome/browser/extensions/image_loader.cc base::PostTaskAndReplyWithResult( base 344 chrome/browser/extensions/image_loader.cc base::Bind(LoadImagesOnBlockingPool, base 347 chrome/browser/extensions/image_loader.cc base::Bind(&ImageLoader::ReplyBackWithImageFamily, base 32 chrome/browser/extensions/image_loader.h typedef base::Callback<void(const gfx::Image&)> ImageLoaderImageCallback; base 33 chrome/browser/extensions/image_loader.h typedef base::Callback<void(const gfx::ImageFamily&)> base 83 chrome/browser/extensions/image_loader.h const base::FilePath& extension_path, base 84 chrome/browser/extensions/image_loader.h const base::FilePath& resource_path, base 123 chrome/browser/extensions/image_loader.h base::WeakPtrFactory<ImageLoader> weak_ptr_factory_; base 48 chrome/browser/extensions/image_loader_unittest.cc base::MessageLoop::current()->Quit(); base 55 chrome/browser/extensions/image_loader_unittest.cc base::MessageLoop::current()->Quit(); base 61 chrome/browser/extensions/image_loader_unittest.cc base::MessageLoop::current()->Run(); base 74 chrome/browser/extensions/image_loader_unittest.cc base::FilePath test_file; base 84 chrome/browser/extensions/image_loader_unittest.cc scoped_ptr<base::DictionaryValue> valid_value( base 85 chrome/browser/extensions/image_loader_unittest.cc static_cast<base::DictionaryValue*>(serializer.Deserialize(&error_code, base 118 chrome/browser/extensions/image_loader_unittest.cc base::MessageLoop ui_loop_; base 140 chrome/browser/extensions/image_loader_unittest.cc base::Bind(&ImageLoaderTest::OnImageLoaded, base 141 chrome/browser/extensions/image_loader_unittest.cc base::Unretained(this))); base 175 chrome/browser/extensions/image_loader_unittest.cc base::Bind(&ImageLoaderTest::OnImageLoaded, base 176 chrome/browser/extensions/image_loader_unittest.cc base::Unretained(this))); base 225 chrome/browser/extensions/image_loader_unittest.cc base::Bind(&ImageLoaderTest::OnImageLoaded, base 226 chrome/browser/extensions/image_loader_unittest.cc base::Unretained(this))); base 284 chrome/browser/extensions/image_loader_unittest.cc base::Bind(&ImageLoaderTest::OnImageFamilyLoaded, base 285 chrome/browser/extensions/image_loader_unittest.cc base::Unretained(this))); base 99 chrome/browser/extensions/install_signer.cc base::Base64Encode(result_bytes, result); base 120 chrome/browser/extensions/install_signer.cc void SetExtensionIdSet(base::DictionaryValue* dictionary, base 123 chrome/browser/extensions/install_signer.cc base::ListValue* id_list = new base::ListValue(); base 133 chrome/browser/extensions/install_signer.cc bool GetExtensionIdSet(const base::DictionaryValue& dictionary, base 136 chrome/browser/extensions/install_signer.cc const base::ListValue* id_list = NULL; base 139 chrome/browser/extensions/install_signer.cc for (base::ListValue::const_iterator i = id_list->begin(); base 160 chrome/browser/extensions/install_signer.cc void InstallSignature::ToValue(base::DictionaryValue* value) const { base 169 chrome/browser/extensions/install_signer.cc base::Base64Encode(salt, &salt_base64); base 170 chrome/browser/extensions/install_signer.cc base::Base64Encode(signature, &signature_base64); base 174 chrome/browser/extensions/install_signer.cc base::Int64ToString(timestamp.ToInternalValue())); base 179 chrome/browser/extensions/install_signer.cc const base::DictionaryValue& value) { base 197 chrome/browser/extensions/install_signer.cc !base::Base64Decode(salt_base64, &result->salt) || base 198 chrome/browser/extensions/install_signer.cc !base::Base64Decode(signature_base64, &result->signature)) { base 209 chrome/browser/extensions/install_signer.cc !base::StringToInt64(timestamp, ×tamp_value)) { base 213 chrome/browser/extensions/install_signer.cc result->timestamp = base::Time::FromInternalValue(timestamp_value); base 273 chrome/browser/extensions/install_signer.cc explicit FetcherDelegate(const base::Closure& callback) base 285 chrome/browser/extensions/install_signer.cc base::Closure callback_; base 297 chrome/browser/extensions/install_signer.cc base::SplitString(value, ',', &ids); base 305 chrome/browser/extensions/install_signer.cc base::LazyInstance<base::TimeTicks> g_last_request_time = base 308 chrome/browser/extensions/install_signer.cc base::LazyInstance<base::ThreadChecker> g_single_thread_checker = base 318 chrome/browser/extensions/install_signer.cc const base::Time process_creation_time = base 319 chrome/browser/extensions/install_signer.cc base::CurrentProcessInfo::CreationTime(); base 321 chrome/browser/extensions/install_signer.cc (base::Time::Now() - process_creation_time).InSeconds()); base 324 chrome/browser/extensions/install_signer.cc base::TimeDelta delta; base 325 chrome/browser/extensions/install_signer.cc base::TimeTicks now = base::TimeTicks::Now(); base 368 chrome/browser/extensions/install_signer.cc base::Closure closure = base::Bind(&InstallSigner::ParseFetchResponse, base 369 chrome/browser/extensions/install_signer.cc base::Unretained(this)); base 382 chrome/browser/extensions/install_signer.cc base::DictionaryValue dictionary; base 385 chrome/browser/extensions/install_signer.cc scoped_ptr<base::ListValue> id_list(new base::ListValue); base 391 chrome/browser/extensions/install_signer.cc base::JSONWriter::Write(&dictionary, &json); base 398 chrome/browser/extensions/install_signer.cc request_start_time_ = base::Time::Now(); base 436 chrome/browser/extensions/install_signer.cc base::DictionaryValue* dictionary = NULL; base 437 chrome/browser/extensions/install_signer.cc scoped_ptr<base::Value> parsed(base::JSONReader::Read(response)); base 458 chrome/browser/extensions/install_signer.cc base::Base64Decode(signature_base64, &signature); base 467 chrome/browser/extensions/install_signer.cc const base::ListValue* invalid_ids_list = NULL; base 486 chrome/browser/extensions/install_signer.cc base::STLSetDifference<ExtensionIdSet>(ids_, invalid_ids); base 17 chrome/browser/extensions/install_signer.h namespace base { base 43 chrome/browser/extensions/install_signer.h base::Time timestamp; base 53 chrome/browser/extensions/install_signer.h void ToValue(base::DictionaryValue* value) const; base 56 chrome/browser/extensions/install_signer.h const base::DictionaryValue& value); base 63 chrome/browser/extensions/install_signer.h typedef base::Callback<void(scoped_ptr<InstallSignature>)> SignatureCallback; base 121 chrome/browser/extensions/install_signer.h base::Time request_start_time_; base 40 chrome/browser/extensions/install_tracker.cc base::Bind(&InstallTracker::OnAppsReordered, base 41 chrome/browser/extensions/install_tracker.cc base::Unretained(this))); base 54 chrome/browser/extensions/install_verifier.cc const std::string group = base::FieldTrialList::FindFullName( base 200 chrome/browser/extensions/install_verifier.cc const base::DictionaryValue* pref = prefs_->GetInstallSignature(); base 222 chrome/browser/extensions/install_verifier.cc base::Bind(&InstallVerifier::MaybeBootstrapSelf, base 230 chrome/browser/extensions/install_verifier.cc base::Time InstallVerifier::SignatureTimestamp() { base 234 chrome/browser/extensions/install_verifier.cc return base::Time(); base 256 chrome/browser/extensions/install_verifier.cc base::STLSetDifference<ExtensionIdSet>(ids, signature_->ids); base 343 chrome/browser/extensions/install_verifier.cc base::string16* error) const { base 503 chrome/browser/extensions/install_verifier.cc const base::ListValue* whitelist = base 505 chrome/browser/extensions/install_verifier.cc base::StringValue id_value(id); base 510 chrome/browser/extensions/install_verifier.cc const base::DictionaryValue* forcelist = base 547 chrome/browser/extensions/install_verifier.cc signer_->GetSignature(base::Bind(&InstallVerifier::SignatureCallback, base 559 chrome/browser/extensions/install_verifier.cc base::DictionaryValue pref; base 620 chrome/browser/extensions/install_verifier.cc provisional_ = base::STLSetDifference<ExtensionIdSet>( base 56 chrome/browser/extensions/install_verifier.h base::Time SignatureTimestamp(); base 80 chrome/browser/extensions/install_verifier.h base::string16* error) const OVERRIDE; base 161 chrome/browser/extensions/install_verifier.h base::WeakPtrFactory<InstallVerifier> weak_factory_; base 35 chrome/browser/extensions/installed_loader.cc using base::UserMetricsAction; base 77 chrome/browser/extensions/installed_loader.cc bool IsManifestCorrupt(const base::DictionaryValue* manifest) { base 85 chrome/browser/extensions/installed_loader.cc const base::Value* background_page; base 86 chrome/browser/extensions/installed_loader.cc const base::Value* background_scripts; base 188 chrome/browser/extensions/installed_loader.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 216 chrome/browser/extensions/installed_loader.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 233 chrome/browser/extensions/installed_loader.cc static_cast<base::DictionaryValue*>( base 262 chrome/browser/extensions/installed_loader.cc base::TimeTicks::Now() - start_time); base 188 chrome/browser/extensions/isolated_app_browsertest.cc std::string script = base::StringPrintf( base 394 chrome/browser/extensions/isolated_app_browsertest.cc base::Bind(&HandleExpectAndSetCookieRequest, embedded_test_server())); base 96 chrome/browser/extensions/launch_util.cc new base::FundamentalValue(static_cast<int>(launch_type))); base 97 chrome/browser/extensions/lazy_background_page_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII("lazy_background_page"). base 216 chrome/browser/extensions/lazy_background_page_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII("lazy_background_page"). base 246 chrome/browser/extensions/lazy_background_page_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII("lazy_background_page"). base 278 chrome/browser/extensions/lazy_background_page_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII("lazy_background_page"). base 313 chrome/browser/extensions/lazy_background_page_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII("lazy_background_page"). base 352 chrome/browser/extensions/lazy_background_page_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII("lazy_background_page"). base 398 chrome/browser/extensions/lazy_background_page_apitest.cc parent, 0, base::ASCIIToUTF16("Title"), GURL("about:blank")); base 516 chrome/browser/extensions/lazy_background_page_apitest.cc base::UTF8ToUTF16("Google")); base 531 chrome/browser/extensions/lazy_background_page_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII("lazy_background_page"). base 559 chrome/browser/extensions/lazy_background_page_apitest.cc base::Bind(&content::FrameHasSourceUrl, base 61 chrome/browser/extensions/menu_manager.cc void SetIdKeyValue(base::DictionaryValue* properties, base 71 chrome/browser/extensions/menu_manager.cc base::Value* value) { base 74 chrome/browser/extensions/menu_manager.cc base::ListValue* list = NULL; base 79 chrome/browser/extensions/menu_manager.cc base::DictionaryValue* dict = NULL; base 91 chrome/browser/extensions/menu_manager.cc scoped_ptr<base::Value> MenuItemsToValue(const MenuItem::List& items) { base 92 chrome/browser/extensions/menu_manager.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 95 chrome/browser/extensions/menu_manager.cc return scoped_ptr<base::Value>(list.release()); base 98 chrome/browser/extensions/menu_manager.cc bool GetStringList(const base::DictionaryValue& dict, base 104 chrome/browser/extensions/menu_manager.cc const base::ListValue* list = NULL; base 172 chrome/browser/extensions/menu_manager.cc base::string16 MenuItem::TitleWithReplacement(const base::string16& selection, base 174 chrome/browser/extensions/menu_manager.cc base::string16 result = base::UTF8ToUTF16(title_); base 177 chrome/browser/extensions/menu_manager.cc ReplaceSubstringsAfterOffset(&result, 0, base::ASCIIToUTF16("%s"), selection); base 196 chrome/browser/extensions/menu_manager.cc scoped_ptr<base::DictionaryValue> MenuItem::ToValue() const { base 197 chrome/browser/extensions/menu_manager.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue); base 222 chrome/browser/extensions/menu_manager.cc const base::DictionaryValue& value, base 247 chrome/browser/extensions/menu_manager.cc const base::Value* contexts_value = NULL; base 600 chrome/browser/extensions/menu_manager.cc static void AddURLProperty(base::DictionaryValue* dictionary, base 628 chrome/browser/extensions/menu_manager.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 630 chrome/browser/extensions/menu_manager.cc base::DictionaryValue* properties = new base::DictionaryValue(); base 675 chrome/browser/extensions/menu_manager.cc args->Append(new base::DictionaryValue()); base 707 chrome/browser/extensions/menu_manager.cc scoped_ptr<base::ListValue>(args->DeepCopy()))); base 806 chrome/browser/extensions/menu_manager.cc scoped_ptr<base::Value> value) { base 853 chrome/browser/extensions/menu_manager.cc base::Bind(&MenuManager::ReadFromStorage, base 133 chrome/browser/extensions/menu_manager.h scoped_ptr<base::Value> ToValue() const { base 134 chrome/browser/extensions/menu_manager.h return scoped_ptr<base::Value>( base 135 chrome/browser/extensions/menu_manager.h new base::FundamentalValue(static_cast<int>(value_))); base 138 chrome/browser/extensions/menu_manager.h bool Populate(const base::Value& value) { base 193 chrome/browser/extensions/menu_manager.h base::string16 TitleWithReplacement(const base::string16& selection, base 200 chrome/browser/extensions/menu_manager.h scoped_ptr<base::DictionaryValue> ToValue() const; base 205 chrome/browser/extensions/menu_manager.h const base::DictionaryValue& value, base 269 chrome/browser/extensions/menu_manager.h public base::SupportsWeakPtr<MenuManager>, base 348 chrome/browser/extensions/menu_manager.h scoped_ptr<base::Value> value); base 90 chrome/browser/extensions/menu_manager_unittest.cc base::MessageLoopForUI message_loop_; base 222 chrome/browser/extensions/menu_manager_unittest.cc base::ListValue* document_url_patterns(new base::ListValue()); base 224 chrome/browser/extensions/menu_manager_unittest.cc new base::StringValue("http://www.google.com/*")); base 226 chrome/browser/extensions/menu_manager_unittest.cc new base::StringValue("http://www.reddit.com/*")); base 228 chrome/browser/extensions/menu_manager_unittest.cc base::ListValue* target_url_patterns(new base::ListValue()); base 230 chrome/browser/extensions/menu_manager_unittest.cc new base::StringValue("http://www.yahoo.com/*")); base 232 chrome/browser/extensions/menu_manager_unittest.cc new base::StringValue("http://www.facebook.com/*")); base 234 chrome/browser/extensions/menu_manager_unittest.cc base::DictionaryValue value; base 463 chrome/browser/extensions/menu_manager_unittest.cc base::ListValue* event_args, base 571 chrome/browser/extensions/menu_manager_unittest.cc params.selection_text = base::ASCIIToUTF16("Hello World"); base 584 chrome/browser/extensions/menu_manager_unittest.cc base::ListValue* list = NULL; base 611 chrome/browser/extensions/menu_manager_unittest.cc base::DictionaryValue* info; base 628 chrome/browser/extensions/menu_manager_unittest.cc base::string16 tmp16; base 32 chrome/browser/extensions/notifications_apitest.cc base::FilePath extdir = test_data_dir_.AppendASCII(test_name); base 49 chrome/browser/extensions/options_page_apitest.cc base::Bind(&content::FrameHasSourceUrl, base 21 chrome/browser/extensions/pack_extension_job.cc const base::FilePath& root_directory, base 22 chrome/browser/extensions/pack_extension_job.cc const base::FilePath& key_file, base 34 chrome/browser/extensions/pack_extension_job.cc base::Bind(&PackExtensionJob::Run, this)); base 47 chrome/browser/extensions/pack_extension_job.cc crx_file_out_ = base::FilePath(root_directory_.value() + base 51 chrome/browser/extensions/pack_extension_job.cc key_file_out_ = base::FilePath(root_directory_.value() + base 62 chrome/browser/extensions/pack_extension_job.cc base::Bind(&PackExtensionJob::ReportSuccessOnClientThread, this)); base 70 chrome/browser/extensions/pack_extension_job.cc base::Bind( base 93 chrome/browser/extensions/pack_extension_job.cc base::string16 PackExtensionJob::StandardSuccessMessage( base 94 chrome/browser/extensions/pack_extension_job.cc const base::FilePath& crx_file, base 95 chrome/browser/extensions/pack_extension_job.cc const base::FilePath& key_file) { base 96 chrome/browser/extensions/pack_extension_job.cc base::string16 crx_file_string = crx_file.LossyDisplayName(); base 97 chrome/browser/extensions/pack_extension_job.cc base::string16 key_file_string = key_file.LossyDisplayName(); base 20 chrome/browser/extensions/pack_extension_job.h class PackExtensionJob : public base::RefCountedThreadSafe<PackExtensionJob> { base 25 chrome/browser/extensions/pack_extension_job.h virtual void OnPackSuccess(const base::FilePath& crx_file, base 26 chrome/browser/extensions/pack_extension_job.h const base::FilePath& key_file) = 0; base 35 chrome/browser/extensions/pack_extension_job.h const base::FilePath& root_directory, base 36 chrome/browser/extensions/pack_extension_job.h const base::FilePath& key_file, base 47 chrome/browser/extensions/pack_extension_job.h static base::string16 StandardSuccessMessage(const base::FilePath& crx_file, base 48 chrome/browser/extensions/pack_extension_job.h const base::FilePath& key_file); base 53 chrome/browser/extensions/pack_extension_job.h friend class base::RefCountedThreadSafe<PackExtensionJob>; base 65 chrome/browser/extensions/pack_extension_job.h base::FilePath root_directory_; base 66 chrome/browser/extensions/pack_extension_job.h base::FilePath key_file_; base 67 chrome/browser/extensions/pack_extension_job.h base::FilePath crx_file_out_; base 68 chrome/browser/extensions/pack_extension_job.h base::FilePath key_file_out_; base 31 chrome/browser/extensions/pack_extension_unittest.cc bool TestPackExtension(const base::FilePath& path) { base 32 chrome/browser/extensions/pack_extension_unittest.cc base::ScopedTempDir temp_dir; base 34 chrome/browser/extensions/pack_extension_unittest.cc EXPECT_TRUE(base::CopyDirectory(path, temp_dir.path(), true)); base 41 chrome/browser/extensions/pack_extension_unittest.cc base::MessageLoop message_loop_; base 45 chrome/browser/extensions/pack_extension_unittest.cc base::FilePath test_data_dir_; base 77 chrome/browser/extensions/page_action_browsertest.cc base::FilePath extension_path(test_data_dir_.AppendASCII("api_test") base 102 chrome/browser/extensions/page_action_browsertest.cc base::FilePath extension_path( base 119 chrome/browser/extensions/page_action_browsertest.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 126 chrome/browser/extensions/page_action_browsertest.cc base::FilePath base_path = test_data_dir_.AppendASCII("browsertest") base 135 chrome/browser/extensions/page_action_browsertest.cc << (base::TimeTicks::Now() - start_time).InMilliseconds() base 145 chrome/browser/extensions/page_action_browsertest.cc << (base::TimeTicks::Now() - start_time).InMilliseconds() base 155 chrome/browser/extensions/page_action_browsertest.cc << (base::TimeTicks::Now() - start_time).InMilliseconds() base 161 chrome/browser/extensions/page_action_browsertest.cc << (base::TimeTicks::Now() - start_time).InMilliseconds() base 168 chrome/browser/extensions/page_action_browsertest.cc << (base::TimeTicks::Now() - start_time).InMilliseconds() base 181 chrome/browser/extensions/page_action_browsertest.cc base::FilePath extension_path(test_data_dir_.AppendASCII("browsertest") base 193 chrome/browser/extensions/page_action_browsertest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur: l10n page action").c_str(), base 195 chrome/browser/extensions/page_action_browsertest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur is my name").c_str(), base 199 chrome/browser/extensions/page_action_browsertest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur").c_str(), base 29 chrome/browser/extensions/page_action_controller.cc base::LazyInstance<std::set<Profile*> > g_reported_for_profiles = base 47 chrome/browser/extensions/page_action_controller_unittest.cc &command_line, base::FilePath(), false); base 17 chrome/browser/extensions/pending_extension_manager.h namespace base { base 110 chrome/browser/extensions/pending_extension_manager.h const base::Version& version, base 129 chrome/browser/extensions/pending_extension_manager.h const base::Version& version, base 99 chrome/browser/extensions/permissions_updater.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 14 chrome/browser/extensions/permissions_updater.h namespace base { base 53 chrome/browser/extensions/permissions_updater_unittest.cc base::RunLoop run_loop; base 76 chrome/browser/extensions/permissions_updater_unittest.cc base::MessageLoopForUI::current()->Quit(); base 92 chrome/browser/extensions/permissions_updater_unittest.cc base::FilePath path; base 51 chrome/browser/extensions/plugin_apitest.cc base::FilePath extension_dir = base 141 chrome/browser/extensions/plugin_apitest.cc base::FilePath extension_dir = base 41 chrome/browser/extensions/plugin_manager.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<PluginManager> > base 147 chrome/browser/extensions/plugin_manager.cc base::FilePath path; base 175 chrome/browser/extensions/plugin_manager.cc base::UTF8ToUTF16("nacl")); base 177 chrome/browser/extensions/plugin_manager.cc base::UTF8ToUTF16(iter->url.spec())); base 25 chrome/browser/extensions/policy_handlers.cc : policy::TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), base 40 chrome/browser/extensions/policy_handlers.cc scoped_ptr<base::ListValue> list; base 53 chrome/browser/extensions/policy_handlers.cc scoped_ptr<base::ListValue>* extension_ids) { base 57 chrome/browser/extensions/policy_handlers.cc const base::Value* value = NULL; base 64 chrome/browser/extensions/policy_handlers.cc const base::ListValue* list_value = NULL; base 71 chrome/browser/extensions/policy_handlers.cc scoped_ptr<base::ListValue> filtered_list(new base::ListValue()); base 72 chrome/browser/extensions/policy_handlers.cc for (base::ListValue::const_iterator entry(list_value->begin()); base 79 chrome/browser/extensions/policy_handlers.cc ValueTypeToString(base::Value::TYPE_STRING)); base 89 chrome/browser/extensions/policy_handlers.cc filtered_list->Append(base::Value::CreateStringValue(id)); base 102 chrome/browser/extensions/policy_handlers.cc base::Value::TYPE_LIST) {} base 110 chrome/browser/extensions/policy_handlers.cc const base::Value* value; base 118 chrome/browser/extensions/policy_handlers.cc const base::Value* value = NULL; base 119 chrome/browser/extensions/policy_handlers.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 128 chrome/browser/extensions/policy_handlers.cc const base::Value* policy_value, base 129 chrome/browser/extensions/policy_handlers.cc base::DictionaryValue* extension_dict, base 134 chrome/browser/extensions/policy_handlers.cc const base::ListValue* policy_list_value = NULL; base 141 chrome/browser/extensions/policy_handlers.cc for (base::ListValue::const_iterator entry(policy_list_value->begin()); base 149 chrome/browser/extensions/policy_handlers.cc ValueTypeToString(base::Value::TYPE_STRING)); base 193 chrome/browser/extensions/policy_handlers.cc : policy::TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), base 201 chrome/browser/extensions/policy_handlers.cc const base::Value* value = NULL; base 208 chrome/browser/extensions/policy_handlers.cc const base::ListValue* list_value = NULL; base 215 chrome/browser/extensions/policy_handlers.cc for (base::ListValue::const_iterator entry(list_value->begin()); base 222 chrome/browser/extensions/policy_handlers.cc ValueTypeToString(base::Value::TYPE_STRING)); base 243 chrome/browser/extensions/policy_handlers.cc const base::Value* value = policies.GetValue(policy_name()); base 40 chrome/browser/extensions/policy_handlers.h scoped_ptr<base::ListValue>* extension_ids); base 63 chrome/browser/extensions/policy_handlers.h bool ParseList(const base::Value* policy_value, base 64 chrome/browser/extensions/policy_handlers.h base::DictionaryValue* extension_dict, base 20 chrome/browser/extensions/policy_handlers_unittest.cc base::ListValue list; base 36 chrome/browser/extensions/policy_handlers_unittest.cc base::Value::CreateStringValue("abcdefghijklmnopabcdefghijklmnop")); base 46 chrome/browser/extensions/policy_handlers_unittest.cc list.Append(base::Value::CreateStringValue("*")); base 56 chrome/browser/extensions/policy_handlers_unittest.cc list.Append(base::Value::CreateStringValue("invalid")); base 70 chrome/browser/extensions/policy_handlers_unittest.cc base::ListValue policy; base 71 chrome/browser/extensions/policy_handlers_unittest.cc base::ListValue expected; base 74 chrome/browser/extensions/policy_handlers_unittest.cc base::Value* value = NULL; base 79 chrome/browser/extensions/policy_handlers_unittest.cc base::Value::CreateStringValue("abcdefghijklmnopabcdefghijklmnop")); base 81 chrome/browser/extensions/policy_handlers_unittest.cc base::Value::CreateStringValue("abcdefghijklmnopabcdefghijklmnop")); base 90 chrome/browser/extensions/policy_handlers_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 92 chrome/browser/extensions/policy_handlers_unittest.cc policy.Append(base::Value::CreateStringValue("invalid")); base 100 chrome/browser/extensions/policy_handlers_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 104 chrome/browser/extensions/policy_handlers_unittest.cc base::ListValue list; base 164 chrome/browser/extensions/policy_handlers_unittest.cc base::ListValue policy; base 165 chrome/browser/extensions/policy_handlers_unittest.cc base::DictionaryValue expected; base 168 chrome/browser/extensions/policy_handlers_unittest.cc base::Value* value = NULL; base 182 chrome/browser/extensions/policy_handlers_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 194 chrome/browser/extensions/policy_handlers_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 204 chrome/browser/extensions/policy_handlers_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 208 chrome/browser/extensions/policy_handlers_unittest.cc base::ListValue list; base 223 chrome/browser/extensions/policy_handlers_unittest.cc list.Append(base::Value::CreateStringValue("http://*.google.com/*")); base 233 chrome/browser/extensions/policy_handlers_unittest.cc list.Append(base::Value::CreateStringValue("<all_urls>")); base 243 chrome/browser/extensions/policy_handlers_unittest.cc list.Append(base::Value::CreateStringValue("invalid")); base 256 chrome/browser/extensions/policy_handlers_unittest.cc list.Append(base::Value::CreateStringValue("*")); base 269 chrome/browser/extensions/policy_handlers_unittest.cc base::ListValue list; base 272 chrome/browser/extensions/policy_handlers_unittest.cc base::Value* value = NULL; base 276 chrome/browser/extensions/policy_handlers_unittest.cc list.Append(base::Value::CreateStringValue("https://corp.monkey.net/*")); base 284 chrome/browser/extensions/policy_handlers_unittest.cc EXPECT_TRUE(base::Value::Equals(&list, value)); base 32 chrome/browser/extensions/requirements_checker.cc base::Callback<void(std::vector<std::string> errors)> callback) { base 45 chrome/browser/extensions/requirements_checker.cc if (base::win::IsMetroProcess()) { base 63 chrome/browser/extensions/requirements_checker.cc base::Bind(&RequirementsChecker::SetWebGLAvailability, base 71 chrome/browser/extensions/requirements_checker.cc base::Bind(&RequirementsChecker::SetCSS3DAvailability, base 77 chrome/browser/extensions/requirements_checker.cc base::Bind(callback_, errors_)); base 109 chrome/browser/extensions/requirements_checker.cc base::Bind(callback_, errors_)); base 24 chrome/browser/extensions/requirements_checker.h class RequirementsChecker : public base::SupportsWeakPtr<RequirementsChecker> { base 35 chrome/browser/extensions/requirements_checker.h base::Callback<void(std::vector<std::string> requirement)> callback); base 53 chrome/browser/extensions/requirements_checker.h base::Callback<void(std::vector<std::string> requirement_errorss)> callback_; base 33 chrome/browser/extensions/requirements_checker_browsertest.cc base::FilePath extension_path; base 80 chrome/browser/extensions/requirements_checker_browsertest.cc checker_.Check(extension, base::Bind( base 82 chrome/browser/extensions/requirements_checker_browsertest.cc base::Unretained(this), std::vector<std::string>())); base 98 chrome/browser/extensions/requirements_checker_browsertest.cc checker_.Check(extension, base::Bind( base 100 chrome/browser/extensions/requirements_checker_browsertest.cc base::Unretained(this), expected_errors)); base 116 chrome/browser/extensions/requirements_checker_browsertest.cc checker_.Check(extension, base::Bind( base 118 chrome/browser/extensions/requirements_checker_browsertest.cc base::Unretained(this), expected_errors)); base 137 chrome/browser/extensions/requirements_checker_browsertest.cc checker_.Check(extension, base::Bind( base 139 chrome/browser/extensions/requirements_checker_browsertest.cc base::Unretained(this), expected_errors)); base 158 chrome/browser/extensions/requirements_checker_browsertest.cc checker_.Check(extension, base::Bind( base 160 chrome/browser/extensions/requirements_checker_browsertest.cc base::Unretained(this), expected_errors)); base 182 chrome/browser/extensions/requirements_checker_browsertest.cc checker_.Check(extension, base::Bind( base 184 chrome/browser/extensions/requirements_checker_browsertest.cc base::Unretained(this), expected_errors)); base 202 chrome/browser/extensions/requirements_checker_browsertest.cc checker_.Check(extension, base::Bind( base 204 chrome/browser/extensions/requirements_checker_browsertest.cc base::Unretained(this), expected_errors)); base 44 chrome/browser/extensions/sandboxed_unpacker.cc using base::ASCIIToUTF16; base 66 chrome/browser/extensions/sandboxed_unpacker.cc const base::FilePath& crx_path, const base::TimeDelta unpack_time) { base 76 chrome/browser/extensions/sandboxed_unpacker.cc if (!base::GetFileSize(crx_path, &crx_file_size)) { base 123 chrome/browser/extensions/sandboxed_unpacker.cc bool VerifyJunctionFreeLocation(base::FilePath* temp_dir) { base 127 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath temp_file; base 128 chrome/browser/extensions/sandboxed_unpacker.cc if (!base::CreateTemporaryFileInDir(*temp_dir, &temp_file)) { base 135 chrome/browser/extensions/sandboxed_unpacker.cc if (base::WriteFile(temp_file, ".", 1) != 1) base 138 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath normalized_temp_file; base 139 chrome/browser/extensions/sandboxed_unpacker.cc bool normalized = base::NormalizeFilePath(temp_file, &normalized_temp_file); base 148 chrome/browser/extensions/sandboxed_unpacker.cc base::DeleteFile(temp_file, false); base 159 chrome/browser/extensions/sandboxed_unpacker.cc bool FindWritableTempLocation(const base::FilePath& extensions_dir, base 160 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath* temp_dir) { base 165 chrome/browser/extensions/sandboxed_unpacker.cc PathService::Get(base::DIR_TEMP, temp_dir); base 182 chrome/browser/extensions/sandboxed_unpacker.cc bool ReadImagesFromFile(const base::FilePath& extension_path, base 184 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath path = base 187 chrome/browser/extensions/sandboxed_unpacker.cc if (!base::ReadFileToString(path, &file_str)) base 198 chrome/browser/extensions/sandboxed_unpacker.cc bool ReadMessageCatalogsFromFile(const base::FilePath& extension_path, base 199 chrome/browser/extensions/sandboxed_unpacker.cc base::DictionaryValue* catalogs) { base 200 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath path = extension_path.AppendASCII( base 203 chrome/browser/extensions/sandboxed_unpacker.cc if (!base::ReadFileToString(path, &file_str)) base 214 chrome/browser/extensions/sandboxed_unpacker.cc const base::FilePath& crx_path, base 217 chrome/browser/extensions/sandboxed_unpacker.cc const base::FilePath& extensions_dir, base 218 chrome/browser/extensions/sandboxed_unpacker.cc base::SequencedTaskRunner* unpacker_io_task_runner, base 232 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath temp_dir; base 259 chrome/browser/extensions/sandboxed_unpacker.cc unpack_start_time_ = base::TimeTicks::Now(); base 276 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath temp_crx_path = temp_dir_.path().Append(crx_path_.BaseName()); base 280 chrome/browser/extensions/sandboxed_unpacker.cc if (!base::CopyFile(crx_path_, temp_crx_path)) { base 295 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath link_free_crx_path; base 296 chrome/browser/extensions/sandboxed_unpacker.cc if (!base::NormalizeFilePath(temp_crx_path, &link_free_crx_path)) { base 309 chrome/browser/extensions/sandboxed_unpacker.cc base::Bind( base 346 chrome/browser/extensions/sandboxed_unpacker.cc const base::FilePath& temp_crx_path) { base 358 chrome/browser/extensions/sandboxed_unpacker.cc const base::DictionaryValue& manifest) { base 362 chrome/browser/extensions/sandboxed_unpacker.cc scoped_ptr<base::DictionaryValue> final_manifest( base 384 chrome/browser/extensions/sandboxed_unpacker.cc base::UTF8ToUTF16(utf8_error))); base 411 chrome/browser/extensions/sandboxed_unpacker.cc void SandboxedUnpacker::OnUnpackExtensionFailed(const base::string16& error) { base 422 chrome/browser/extensions/sandboxed_unpacker.cc ScopedStdioHandle file(base::OpenFile(crx_path_, "rb")); base 576 chrome/browser/extensions/sandboxed_unpacker.cc base::Base64Encode(public_key, &public_key_); base 584 chrome/browser/extensions/sandboxed_unpacker.cc const base::string16& error) { base 588 chrome/browser/extensions/sandboxed_unpacker.cc base::TimeTicks::Now() - unpack_start_time_); base 594 chrome/browser/extensions/sandboxed_unpacker.cc const base::DictionaryValue& original_manifest, base 599 chrome/browser/extensions/sandboxed_unpacker.cc crx_path_, base::TimeTicks::Now() - unpack_start_time_); base 608 chrome/browser/extensions/sandboxed_unpacker.cc base::DictionaryValue* SandboxedUnpacker::RewriteManifestFile( base 609 chrome/browser/extensions/sandboxed_unpacker.cc const base::DictionaryValue& manifest) { base 613 chrome/browser/extensions/sandboxed_unpacker.cc scoped_ptr<base::DictionaryValue> final_manifest(manifest.DeepCopy()); base 629 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath manifest_path = base 631 chrome/browser/extensions/sandboxed_unpacker.cc int size = base::checked_cast<int>(manifest_json.size()); base 632 chrome/browser/extensions/sandboxed_unpacker.cc if (base::WriteFile(manifest_path, manifest_json.data(), size) != size) { base 660 chrome/browser/extensions/sandboxed_unpacker.cc std::set<base::FilePath> image_paths = base 672 chrome/browser/extensions/sandboxed_unpacker.cc for (std::set<base::FilePath>::iterator it = image_paths.begin(); base 674 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath path = *it; base 684 chrome/browser/extensions/sandboxed_unpacker.cc if (!base::DeleteFile(extension_root_.Append(path), false)) { base 712 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath path_suffix = images[i].b; base 725 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath path = extension_root_.Append(path_suffix); base 744 chrome/browser/extensions/sandboxed_unpacker.cc int size = base::checked_cast<int>(image_data.size()); base 745 chrome/browser/extensions/sandboxed_unpacker.cc if (base::WriteFile(path, image_data_ptr, size) != size) { base 760 chrome/browser/extensions/sandboxed_unpacker.cc base::DictionaryValue catalogs; base 772 chrome/browser/extensions/sandboxed_unpacker.cc for (base::DictionaryValue::Iterator it(catalogs); base 774 chrome/browser/extensions/sandboxed_unpacker.cc const base::DictionaryValue* catalog = NULL; base 785 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath relative_path = base::FilePath::FromUTF8Unsafe(it.key()); base 796 chrome/browser/extensions/sandboxed_unpacker.cc base::FilePath path = extension_root_.Append(relative_path); base 813 chrome/browser/extensions/sandboxed_unpacker.cc int size = base::checked_cast<int>(catalog_json.size()); base 814 chrome/browser/extensions/sandboxed_unpacker.cc if (base::WriteFile(path, catalog_json.c_str(), size) != size) { base 19 chrome/browser/extensions/sandboxed_unpacker.h namespace base { base 28 chrome/browser/extensions/sandboxed_unpacker.h : public base::RefCountedThreadSafe<SandboxedUnpackerClient> { base 42 chrome/browser/extensions/sandboxed_unpacker.h virtual void OnUnpackSuccess(const base::FilePath& temp_dir, base 43 chrome/browser/extensions/sandboxed_unpacker.h const base::FilePath& extension_root, base 44 chrome/browser/extensions/sandboxed_unpacker.h const base::DictionaryValue* original_manifest, base 47 chrome/browser/extensions/sandboxed_unpacker.h virtual void OnUnpackFailure(const base::string16& error) = 0; base 50 chrome/browser/extensions/sandboxed_unpacker.h friend class base::RefCountedThreadSafe<SandboxedUnpackerClient>; base 81 chrome/browser/extensions/sandboxed_unpacker.h SandboxedUnpacker(const base::FilePath& crx_path, base 84 chrome/browser/extensions/sandboxed_unpacker.h const base::FilePath& extensions_dir, base 85 chrome/browser/extensions/sandboxed_unpacker.h base::SequencedTaskRunner* unpacker_io_task_runner, base 174 chrome/browser/extensions/sandboxed_unpacker.h void StartProcessOnIOThread(const base::FilePath& temp_crx_path); base 181 chrome/browser/extensions/sandboxed_unpacker.h void OnUnpackExtensionSucceeded(const base::DictionaryValue& manifest); base 182 chrome/browser/extensions/sandboxed_unpacker.h void OnUnpackExtensionFailed(const base::string16& error_message); base 184 chrome/browser/extensions/sandboxed_unpacker.h void ReportFailure(FailureReason reason, const base::string16& message); base 185 chrome/browser/extensions/sandboxed_unpacker.h void ReportSuccess(const base::DictionaryValue& original_manifest, base 190 chrome/browser/extensions/sandboxed_unpacker.h base::DictionaryValue* RewriteManifestFile( base 191 chrome/browser/extensions/sandboxed_unpacker.h const base::DictionaryValue& manifest); base 202 chrome/browser/extensions/sandboxed_unpacker.h base::FilePath crx_path_; base 208 chrome/browser/extensions/sandboxed_unpacker.h base::FilePath extensions_dir_; base 211 chrome/browser/extensions/sandboxed_unpacker.h base::ScopedTempDir temp_dir_; base 214 chrome/browser/extensions/sandboxed_unpacker.h base::FilePath extension_root_; base 230 chrome/browser/extensions/sandboxed_unpacker.h base::TimeTicks unpack_start_time_; base 240 chrome/browser/extensions/sandboxed_unpacker.h scoped_refptr<base::SequencedTaskRunner> unpacker_io_task_runner_; base 34 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::FilePath temp_dir() const { return temp_dir_; } base 39 chrome/browser/extensions/sandboxed_unpacker_unittest.cc virtual void OnUnpackSuccess(const base::FilePath& temp_dir, base 40 chrome/browser/extensions/sandboxed_unpacker_unittest.cc const base::FilePath& extension_root, base 41 chrome/browser/extensions/sandboxed_unpacker_unittest.cc const base::DictionaryValue* original_manifest, base 49 chrome/browser/extensions/sandboxed_unpacker_unittest.cc virtual void OnUnpackFailure(const base::string16& error) OVERRIDE { base 53 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::Closure quit_closure_; base 54 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::FilePath temp_dir_; base 73 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::RunLoop().RunUntilIdle(); base 77 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::FilePath original_path; base 82 chrome/browser/extensions/sandboxed_unpacker_unittest.cc ASSERT_TRUE(base::PathExists(original_path)) << original_path.value(); base 89 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::MessageLoopProxy::current(), base 92 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::MessageLoopProxy::current()->PostTask( base 94 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::Bind(&SandboxedUnpacker::Start, sandboxed_unpacker_.get())); base 98 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::FilePath GetInstallPath() { base 103 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::ScopedTempDir extensions_dir_; base 114 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::FilePath install_path = base 116 chrome/browser/extensions/sandboxed_unpacker_unittest.cc EXPECT_FALSE(base::PathExists(install_path)); base 122 chrome/browser/extensions/sandboxed_unpacker_unittest.cc base::FilePath install_path = base 124 chrome/browser/extensions/sandboxed_unpacker_unittest.cc EXPECT_TRUE(base::PathExists(install_path)); base 68 chrome/browser/extensions/script_executor.cc base::ListValue val; base 78 chrome/browser/extensions/script_executor.cc const base::ListValue& script_result) { base 93 chrome/browser/extensions/script_executor.cc base::WeakPtr<ObserverList<TabHelper::ScriptExecutionObserver> > base 17 chrome/browser/extensions/script_executor.h namespace base { base 72 chrome/browser/extensions/script_executor.h typedef base::Callback<void(const std::string&, int32, const GURL&, base 73 chrome/browser/extensions/script_executor.h const base::ListValue&)> base 44 chrome/browser/extensions/settings_api_bubble_controller.cc virtual base::string16 GetTitle() const OVERRIDE; base 45 chrome/browser/extensions/settings_api_bubble_controller.cc virtual base::string16 GetMessageBody() const OVERRIDE; base 46 chrome/browser/extensions/settings_api_bubble_controller.cc virtual base::string16 GetOverflowText( base 47 chrome/browser/extensions/settings_api_bubble_controller.cc const base::string16& overflow_count) const OVERRIDE; base 48 chrome/browser/extensions/settings_api_bubble_controller.cc virtual base::string16 GetLearnMoreLabel() const OVERRIDE; base 50 chrome/browser/extensions/settings_api_bubble_controller.cc virtual base::string16 GetActionButtonLabel() const OVERRIDE; base 51 chrome/browser/extensions/settings_api_bubble_controller.cc virtual base::string16 GetDismissButtonLabel() const OVERRIDE; base 135 chrome/browser/extensions/settings_api_bubble_controller.cc base::string16 SettingsApiBubbleDelegate::GetTitle() const { base 148 chrome/browser/extensions/settings_api_bubble_controller.cc return base::string16(); base 151 chrome/browser/extensions/settings_api_bubble_controller.cc base::string16 SettingsApiBubbleDelegate::GetMessageBody() const { base 160 chrome/browser/extensions/settings_api_bubble_controller.cc return base::string16(); base 167 chrome/browser/extensions/settings_api_bubble_controller.cc base::string16 body; base 218 chrome/browser/extensions/settings_api_bubble_controller.cc base::string16 SettingsApiBubbleDelegate::GetOverflowText( base 219 chrome/browser/extensions/settings_api_bubble_controller.cc const base::string16& overflow_count) const { base 222 chrome/browser/extensions/settings_api_bubble_controller.cc return base::string16(); base 225 chrome/browser/extensions/settings_api_bubble_controller.cc base::string16 SettingsApiBubbleDelegate::GetLearnMoreLabel() const { base 233 chrome/browser/extensions/settings_api_bubble_controller.cc base::string16 SettingsApiBubbleDelegate::GetActionButtonLabel() const { base 238 chrome/browser/extensions/settings_api_bubble_controller.cc base::string16 SettingsApiBubbleDelegate::GetDismissButtonLabel() const { base 52 chrome/browser/extensions/shared_module_service.cc base::Version version_required(iter->minimum_version); base 26 chrome/browser/extensions/shared_module_service_unittest.cc scoped_ptr<base::DictionaryValue> manifest = base 101 chrome/browser/extensions/shared_module_service_unittest.cc scoped_ptr<base::DictionaryValue> manifest = base 123 chrome/browser/extensions/shared_module_service_unittest.cc base::string16 error; base 49 chrome/browser/extensions/signin/gaia_auth_extension_loader.cc base::FilePath auth_extension_path = base 57 chrome/browser/extensions/signin/gaia_auth_extension_loader.cc const base::FilePath manifest_path = command_line->GetSwitchValuePath( base 60 chrome/browser/extensions/signin/gaia_auth_extension_loader.cc if (!base::ReadFileToString(manifest_path, &manifest)) base 63 chrome/browser/extensions/signin/gaia_auth_extension_loader.cc base::FilePath(FILE_PATH_LITERAL("gaia_auth"))); base 79 chrome/browser/extensions/signin/gaia_auth_extension_loader.cc base::FilePath(FILE_PATH_LITERAL("gaia_auth"))); base 94 chrome/browser/extensions/signin/gaia_auth_extension_loader.cc base::Time(), base 95 chrome/browser/extensions/signin/gaia_auth_extension_loader.cc base::Time::Max(), base 96 chrome/browser/extensions/signin/gaia_auth_extension_loader.cc base::Bind(&base::DoNothing)); base 138 chrome/browser/extensions/signin/gaia_auth_extension_loader.cc static base::LazyInstance< base 37 chrome/browser/extensions/standard_management_policy_provider.cc base::string16* error) const { base 40 chrome/browser/extensions/standard_management_policy_provider.cc const base::ListValue* blacklist = base 42 chrome/browser/extensions/standard_management_policy_provider.cc const base::ListValue* whitelist = base 44 chrome/browser/extensions/standard_management_policy_provider.cc const base::DictionaryValue* forcelist = base 46 chrome/browser/extensions/standard_management_policy_provider.cc const base::ListValue* allowed_types = NULL; base 56 chrome/browser/extensions/standard_management_policy_provider.cc base::string16* error) const { base 62 chrome/browser/extensions/standard_management_policy_provider.cc base::string16* error) const { base 28 chrome/browser/extensions/standard_management_policy_provider.h base::string16* error) const OVERRIDE; base 30 chrome/browser/extensions/standard_management_policy_provider.h base::string16* error) const OVERRIDE; base 32 chrome/browser/extensions/standard_management_policy_provider.h base::string16* error) const OVERRIDE; base 33 chrome/browser/extensions/standard_management_policy_provider_unittest.cc base::DictionaryValue values; base 38 chrome/browser/extensions/standard_management_policy_provider_unittest.cc base::FilePath(), location, values, Extension::NO_FLAGS, &error); base 43 chrome/browser/extensions/standard_management_policy_provider_unittest.cc base::MessageLoop message_loop_; base 58 chrome/browser/extensions/standard_management_policy_provider_unittest.cc base::string16 error16; base 60 chrome/browser/extensions/standard_management_policy_provider_unittest.cc EXPECT_EQ(base::string16(), error16); base 65 chrome/browser/extensions/standard_management_policy_provider_unittest.cc EXPECT_NE(base::string16(), error16); base 67 chrome/browser/extensions/standard_management_policy_provider_unittest.cc EXPECT_NE(base::string16(), error16); base 76 chrome/browser/extensions/standard_management_policy_provider_unittest.cc base::string16 error16; base 78 chrome/browser/extensions/standard_management_policy_provider_unittest.cc EXPECT_EQ(base::string16(), error16); base 80 chrome/browser/extensions/standard_management_policy_provider_unittest.cc EXPECT_EQ(base::string16(), error16); base 82 chrome/browser/extensions/standard_management_policy_provider_unittest.cc EXPECT_EQ(base::string16(), error16); base 44 chrome/browser/extensions/startup_helper.cc const base::FilePath& crx_path, base 45 chrome/browser/extensions/startup_helper.cc const base::FilePath& output_private_key_path) { base 48 chrome/browser/extensions/startup_helper.cc base::UTF16ToUTF8( base 63 chrome/browser/extensions/startup_helper.cc base::FilePath src_dir = base 65 chrome/browser/extensions/startup_helper.cc base::FilePath private_key_path; base 84 chrome/browser/extensions/startup_helper.cc ValidateCrxHelper(const base::FilePath& crx_file, base 85 chrome/browser/extensions/startup_helper.cc const base::FilePath& temp_dir, base 86 chrome/browser/extensions/startup_helper.cc base::RunLoop* run_loop) base 92 chrome/browser/extensions/startup_helper.cc const base::string16& error() { return error_; } base 97 chrome/browser/extensions/startup_helper.cc base::Bind(&ValidateCrxHelper::StartOnFileThread, base 104 chrome/browser/extensions/startup_helper.cc virtual void OnUnpackSuccess(const base::FilePath& temp_dir, base 105 chrome/browser/extensions/startup_helper.cc const base::FilePath& extension_root, base 106 chrome/browser/extensions/startup_helper.cc const base::DictionaryValue* original_manifest, base 113 chrome/browser/extensions/startup_helper.cc base::Bind(&ValidateCrxHelper::FinishOnUIThread, base 117 chrome/browser/extensions/startup_helper.cc virtual void OnUnpackFailure(const base::string16& error) OVERRIDE { base 123 chrome/browser/extensions/startup_helper.cc base::Bind(&ValidateCrxHelper::FinishOnUIThread, base 135 chrome/browser/extensions/startup_helper.cc scoped_refptr<base::MessageLoopProxy> file_thread_proxy = base 149 chrome/browser/extensions/startup_helper.cc const base::FilePath& crx_file_; base 152 chrome/browser/extensions/startup_helper.cc const base::FilePath& temp_dir_; base 155 chrome/browser/extensions/startup_helper.cc base::RunLoop* run_loop_; base 164 chrome/browser/extensions/startup_helper.cc base::string16 error_; base 172 chrome/browser/extensions/startup_helper.cc base::FilePath path = cmd_line.GetSwitchValuePath(switches::kValidateCrx); base 174 chrome/browser/extensions/startup_helper.cc *error = base::StringPrintf("Empty path passed for %s", base 178 chrome/browser/extensions/startup_helper.cc base::ScopedTempDir temp_dir; base 185 chrome/browser/extensions/startup_helper.cc base::RunLoop run_loop; base 194 chrome/browser/extensions/startup_helper.cc *error = base::UTF16ToUTF8(helper->error()); base 220 chrome/browser/extensions/startup_helper.cc typedef base::Callback<void()> DoneCallback; base 249 chrome/browser/extensions/startup_helper.cc return base::Bind(&AppInstallHelper::OnAppInstallComplete, base 250 chrome/browser/extensions/startup_helper.cc base::Unretained(this)); base 261 chrome/browser/extensions/startup_helper.cc base::Bind(&AppInstallHelper::OnAppInstallComplete, base 262 chrome/browser/extensions/startup_helper.cc base::Unretained(this)); base 279 chrome/browser/extensions/startup_helper.cc base::Callback<void()> callback) { base 297 chrome/browser/extensions/startup_helper.cc profile, id, true, base::MessageLoop::QuitWhenIdleClosure()); base 299 chrome/browser/extensions/startup_helper.cc base::MessageLoop::current()->Run(); base 308 chrome/browser/extensions/startup_helper.cc base::Callback<void()> done_callback) { base 318 chrome/browser/extensions/startup_helper.cc base::Bind(&DeleteHelperAndRunCallback, base 13 chrome/browser/extensions/startup_helper.h namespace base { base 26 chrome/browser/extensions/startup_helper.h const base::FilePath& crx_path, base 27 chrome/browser/extensions/startup_helper.h const base::FilePath& output_private_key_path) OVERRIDE; base 33 chrome/browser/extensions/startup_helper.h bool PackExtension(const base::CommandLine& cmd_line); base 39 chrome/browser/extensions/startup_helper.h bool ValidateCrx(const base::CommandLine& cmd_line, std::string* error); base 44 chrome/browser/extensions/startup_helper.h bool UninstallExtension(const base::CommandLine& cmd_line, Profile* profile); base 49 chrome/browser/extensions/startup_helper.h bool InstallFromWebstore(const base::CommandLine& cmd_line, Profile* profile); base 57 chrome/browser/extensions/startup_helper.h void LimitedInstallFromWebstore(const base::CommandLine& cmd_line, base 59 chrome/browser/extensions/startup_helper.h base::Callback<void()> done_callback); base 64 chrome/browser/extensions/startup_helper.h const base::CommandLine& cmd_line); base 27 chrome/browser/extensions/startup_helper_browsertest.cc base::FilePath test_data_dir_; base 33 chrome/browser/extensions/startup_helper_browsertest.cc std::vector<std::pair<base::FilePath, bool> > expectations; base 43 chrome/browser/extensions/startup_helper_browsertest.cc for (std::vector<std::pair<base::FilePath, bool> >::iterator i = base 47 chrome/browser/extensions/startup_helper_browsertest.cc const base::FilePath& path = i->first; base 37 chrome/browser/extensions/state_store.cc void InvokeWhenReady(base::Closure task); base 47 chrome/browser/extensions/state_store.cc std::vector<base::Closure> pending_tasks_; base 50 chrome/browser/extensions/state_store.cc void StateStore::DelayedTaskQueue::InvokeWhenReady(base::Closure task) { base 67 chrome/browser/extensions/state_store.cc const base::FilePath& db_path, base 110 chrome/browser/extensions/state_store.cc base::Bind(&ValueStoreFrontend::Get, base::Unretained(&store_), base 117 chrome/browser/extensions/state_store.cc scoped_ptr<base::Value> value) { base 119 chrome/browser/extensions/state_store.cc base::Bind(&ValueStoreFrontend::Set, base::Unretained(&store_), base 120 chrome/browser/extensions/state_store.cc GetFullKey(extension_id, key), base::Passed(&value))); base 126 chrome/browser/extensions/state_store.cc base::Bind(&ValueStoreFrontend::Remove, base::Unretained(&store_), base 151 chrome/browser/extensions/state_store.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 152 chrome/browser/extensions/state_store.cc base::Bind(&StateStore::Init, AsWeakPtr()), base 153 chrome/browser/extensions/state_store.cc base::TimeDelta::FromSeconds(kInitDelaySeconds)); base 171 chrome/browser/extensions/state_store.cc base::Bind(&ValueStoreFrontend::Remove, base::Unretained(&store_), base 23 chrome/browser/extensions/state_store.h : public base::SupportsWeakPtr<StateStore>, base 30 chrome/browser/extensions/state_store.h StateStore(Profile* profile, const base::FilePath& db_path, base 49 chrome/browser/extensions/state_store.h scoped_ptr<base::Value> value); base 72 chrome/browser/extensions/state_store.h base::FilePath db_path_; base 116 chrome/browser/extensions/subscribe_page_action_browsertest.cc tab, base::Bind(&content::FrameIsChildOfMainFrame)); base 38 chrome/browser/extensions/suggest_permission_util.cc std::string message = base::StringPrintf( base 26 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::LazyInstance<std::set<Profile*> > g_shown_for_profiles = base 65 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::string16 SuspiciousExtensionBubbleDelegate::GetTitle() const { base 69 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::string16 SuspiciousExtensionBubbleDelegate::GetMessageBody() const { base 74 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::string16 SuspiciousExtensionBubbleDelegate::GetOverflowText( base 75 chrome/browser/extensions/suspicious_extension_bubble_controller.cc const base::string16& overflow_count) const { base 76 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::string16 overflow_string = l10n_util::GetStringUTF16( base 78 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::string16 new_string; base 83 chrome/browser/extensions/suspicious_extension_bubble_controller.cc if (overflow_string.find(base::ASCIIToUTF16("#")) != base::string16::npos) { base 84 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::ReplaceChars(overflow_string, base::ASCIIToUTF16("#").c_str(), base 95 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::string16 base 104 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::string16 base 106 chrome/browser/extensions/suspicious_extension_bubble_controller.cc return base::string16(); base 109 chrome/browser/extensions/suspicious_extension_bubble_controller.cc base::string16 base 33 chrome/browser/extensions/suspicious_extension_bubble_controller.h virtual base::string16 GetTitle() const OVERRIDE; base 34 chrome/browser/extensions/suspicious_extension_bubble_controller.h virtual base::string16 GetMessageBody() const OVERRIDE; base 35 chrome/browser/extensions/suspicious_extension_bubble_controller.h virtual base::string16 GetOverflowText( base 36 chrome/browser/extensions/suspicious_extension_bubble_controller.h const base::string16& overflow_count) const OVERRIDE; base 37 chrome/browser/extensions/suspicious_extension_bubble_controller.h virtual base::string16 GetLearnMoreLabel() const OVERRIDE; base 39 chrome/browser/extensions/suspicious_extension_bubble_controller.h virtual base::string16 GetActionButtonLabel() const OVERRIDE; base 40 chrome/browser/extensions/suspicious_extension_bubble_controller.h virtual base::string16 GetDismissButtonLabel() const OVERRIDE; base 348 chrome/browser/extensions/tab_helper.cc web_app_info_.title = base::UTF8ToUTF16(web_app_info_.app_url.spec()); base 352 chrome/browser/extensions/tab_helper.cc bookmark_app_helper_->Create(base::Bind( base 353 chrome/browser/extensions/tab_helper.cc &TabHelper::FinishCreateBookmarkApp, base::Unretained(this))); base 394 chrome/browser/extensions/tab_helper.cc base::Bind(&TabHelper::OnInlineInstallComplete, base::Unretained(this), base 453 chrome/browser/extensions/tab_helper.cc const base::string16& message, base 454 chrome/browser/extensions/tab_helper.cc const base::string16& source, base 506 chrome/browser/extensions/tab_helper.cc base::Bind(&TabHelper::OnImageLoaded, base 47 chrome/browser/extensions/tab_helper.h public base::SupportsWeakPtr<TabHelper>, base 205 chrome/browser/extensions/tab_helper.h void OnDetailedConsoleMessageAdded(const base::string16& message, base 206 chrome/browser/extensions/tab_helper.h const base::string16& source, base 276 chrome/browser/extensions/tab_helper.h base::WeakPtrFactory<TabHelper> image_loader_ptr_factory_; base 39 chrome/browser/extensions/test_blacklist.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 40 chrome/browser/extensions/test_blacklist.cc base::Bind(callback, result)); base 118 chrome/browser/extensions/test_blacklist.cc base::Bind(&Assign, &blacklist_state)); base 119 chrome/browser/extensions/test_blacklist.cc base::RunLoop().RunUntilIdle(); base 39 chrome/browser/extensions/test_blacklist_state_fetcher.cc base::MessageLoopProxy::current()); base 24 chrome/browser/extensions/test_extension_dir.cc void TestExtensionDir::WriteManifest(base::StringPiece manifest) { base 31 chrome/browser/extensions/test_extension_dir.cc void TestExtensionDir::WriteFile(const base::FilePath::StringType& filename, base 32 chrome/browser/extensions/test_extension_dir.cc base::StringPiece contents) { base 34 chrome/browser/extensions/test_extension_dir.cc base::checked_cast<int>(contents.size()), base 35 chrome/browser/extensions/test_extension_dir.cc base::WriteFile( base 41 chrome/browser/extensions/test_extension_dir.cc base::FilePath TestExtensionDir::Pack() { base 43 chrome/browser/extensions/test_extension_dir.cc base::FilePath crx_path = base 45 chrome/browser/extensions/test_extension_dir.cc base::FilePath pem_path = base 47 chrome/browser/extensions/test_extension_dir.cc base::FilePath pem_in_path, pem_out_path; base 48 chrome/browser/extensions/test_extension_dir.cc if (base::PathExists(pem_path)) base 59 chrome/browser/extensions/test_extension_dir.cc return base::FilePath(); base 61 chrome/browser/extensions/test_extension_dir.cc if (!base::PathExists(crx_path)) { base 63 chrome/browser/extensions/test_extension_dir.cc return base::FilePath(); base 24 chrome/browser/extensions/test_extension_dir.h void WriteManifest(base::StringPiece manifest); base 28 chrome/browser/extensions/test_extension_dir.h void WriteFile(const base::FilePath::StringType& filename, base 29 chrome/browser/extensions/test_extension_dir.h base::StringPiece contents); base 33 chrome/browser/extensions/test_extension_dir.h base::FilePath Pack(); base 36 chrome/browser/extensions/test_extension_dir.h base::FilePath unpacked_path() { base 42 chrome/browser/extensions/test_extension_dir.h base::ScopedTempDir dir_; base 45 chrome/browser/extensions/test_extension_dir.h base::ScopedTempDir crx_dir_; base 56 chrome/browser/extensions/test_extension_environment.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 64 chrome/browser/extensions/test_extension_environment.cc CommandLine::ForCurrentProcess(), base::FilePath()); base 70 chrome/browser/extensions/test_extension_environment.cc const base::Value& manifest_extra) { base 71 chrome/browser/extensions/test_extension_environment.cc scoped_ptr<base::DictionaryValue> manifest = DictionaryBuilder() base 76 chrome/browser/extensions/test_extension_environment.cc const base::DictionaryValue* manifest_extra_dict; base 81 chrome/browser/extensions/test_extension_environment.cc base::JSONWriter::Write(&manifest_extra, &manifest_json); base 25 chrome/browser/extensions/test_extension_environment.h namespace base { base 63 chrome/browser/extensions/test_extension_environment.h const Extension* MakeExtension(const base::Value& manifest_extra); base 43 chrome/browser/extensions/test_extension_prefs.cc IncrementalTimeProvider() : current_time_(base::Time::Now()) { base 49 chrome/browser/extensions/test_extension_prefs.cc virtual base::Time GetCurrentTime() const OVERRIDE { base 50 chrome/browser/extensions/test_extension_prefs.cc current_time_ += base::TimeDelta::FromSeconds(10); base 57 chrome/browser/extensions/test_extension_prefs.cc mutable base::Time current_time_; base 62 chrome/browser/extensions/test_extension_prefs.cc TestExtensionPrefs::TestExtensionPrefs(base::SequencedTaskRunner* task_runner) base 67 chrome/browser/extensions/test_extension_prefs.cc EXPECT_TRUE(base::CreateDirectory(extensions_dir_)); base 98 chrome/browser/extensions/test_extension_prefs.cc base::RunLoop run_loop; base 102 chrome/browser/extensions/test_extension_prefs.cc base::Bind(&base::DoNothing), base 127 chrome/browser/extensions/test_extension_prefs.cc base::DictionaryValue dictionary; base 134 chrome/browser/extensions/test_extension_prefs.cc base::DictionaryValue dictionary; base 144 chrome/browser/extensions/test_extension_prefs.cc const base::DictionaryValue& manifest, Manifest::Location location) { base 150 chrome/browser/extensions/test_extension_prefs.cc const base::DictionaryValue& manifest, base 155 chrome/browser/extensions/test_extension_prefs.cc base::FilePath path = extensions_dir_.AppendASCII(name); base 19 chrome/browser/extensions/test_extension_prefs.h namespace base { base 36 chrome/browser/extensions/test_extension_prefs.h explicit TestExtensionPrefs(base::SequencedTaskRunner* task_runner); base 46 chrome/browser/extensions/test_extension_prefs.h const base::FilePath& temp_dir() const { return temp_dir_.path(); } base 47 chrome/browser/extensions/test_extension_prefs.h const base::FilePath& extensions_dir() const { return extensions_dir_; } base 65 chrome/browser/extensions/test_extension_prefs.h const base::DictionaryValue& manifest, base 71 chrome/browser/extensions/test_extension_prefs.h const base::DictionaryValue& manifest, base 87 chrome/browser/extensions/test_extension_prefs.h base::ScopedTempDir temp_dir_; base 88 chrome/browser/extensions/test_extension_prefs.h base::FilePath preferences_file_; base 89 chrome/browser/extensions/test_extension_prefs.h base::FilePath extensions_dir_; base 94 chrome/browser/extensions/test_extension_prefs.h const scoped_refptr<base::SequencedTaskRunner> task_runner_; base 26 chrome/browser/extensions/test_extension_service.cc const base::FilePath& path, base 76 chrome/browser/extensions/test_extension_service.cc base::SequencedTaskRunner* TestExtensionService::GetFileTaskRunner() { base 32 chrome/browser/extensions/test_extension_service.h const base::FilePath& path, base 52 chrome/browser/extensions/test_extension_service.h virtual base::SequencedTaskRunner* GetFileTaskRunner() OVERRIDE; base 62 chrome/browser/extensions/test_extension_system.cc const base::FilePath& install_directory) { base 86 chrome/browser/extensions/test_extension_system.cc const base::FilePath& install_directory, base 14 chrome/browser/extensions/test_extension_system.h namespace base { base 41 chrome/browser/extensions/test_extension_system.h ExtensionPrefs* CreateExtensionPrefs(const base::CommandLine* command_line, base 42 chrome/browser/extensions/test_extension_system.h const base::FilePath& install_directory); base 47 chrome/browser/extensions/test_extension_system.h const base::CommandLine* command_line, base 48 chrome/browser/extensions/test_extension_system.h const base::FilePath& install_directory, base 120 chrome/browser/extensions/theme_installed_infobar_delegate.cc base::string16 ThemeInstalledInfoBarDelegate::GetMessageText() const { base 122 chrome/browser/extensions/theme_installed_infobar_delegate.cc base::UTF8ToUTF16(name_)); base 129 chrome/browser/extensions/theme_installed_infobar_delegate.cc base::string16 ThemeInstalledInfoBarDelegate::GetButtonLabel( base 49 chrome/browser/extensions/theme_installed_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 51 chrome/browser/extensions/theme_installed_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 11 chrome/browser/extensions/token_cache/token_cache_service.cc using base::Time; base 12 chrome/browser/extensions/token_cache/token_cache_service.cc using base::TimeDelta; base 25 chrome/browser/extensions/token_cache/token_cache_service.cc base::TimeDelta time_to_live) { base 35 chrome/browser/extensions/token_cache/token_cache_service.h base::TimeDelta time_to_live); base 53 chrome/browser/extensions/token_cache/token_cache_service.h base::Time expiration_time; base 12 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc using base::Time; base 13 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc using base::TimeDelta; base 44 chrome/browser/extensions/unpacked_installer.cc const base::Closure& callback); base 56 chrome/browser/extensions/unpacked_installer.cc base::Closure callback_; base 62 chrome/browser/extensions/unpacked_installer.cc const base::Closure& callback) base 124 chrome/browser/extensions/unpacked_installer.cc void UnpackedInstaller::Load(const base::FilePath& path_in) { base 130 chrome/browser/extensions/unpacked_installer.cc base::Bind(&UnpackedInstaller::GetAbsolutePath, this)); base 133 chrome/browser/extensions/unpacked_installer.cc bool UnpackedInstaller::LoadFromCommandLine(const base::FilePath& path_in, base 142 chrome/browser/extensions/unpacked_installer.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 144 chrome/browser/extensions/unpacked_installer.cc extension_path_ = base::MakeAbsoluteFilePath(path_in); base 183 chrome/browser/extensions/unpacked_installer.cc base::Bind(&UnpackedInstaller::CallCheckRequirements, this)); base 192 chrome/browser/extensions/unpacked_installer.cc base::Bind(&UnpackedInstaller::OnRequirementsChecked, this)); base 236 chrome/browser/extensions/unpacked_installer.cc extension_path_ = base::MakeAbsoluteFilePath(extension_path_); base 244 chrome/browser/extensions/unpacked_installer.cc base::Bind(&UnpackedInstaller::ReportExtensionLoadError, this, error)); base 249 chrome/browser/extensions/unpacked_installer.cc base::Bind(&UnpackedInstaller::CheckExtensionFileAccess, this)); base 265 chrome/browser/extensions/unpacked_installer.cc base::Bind(&UnpackedInstaller::LoadWithFileAccess, this, GetFlags())); base 283 chrome/browser/extensions/unpacked_installer.cc base::Bind(&UnpackedInstaller::ReportExtensionLoadError, this, error)); base 293 chrome/browser/extensions/unpacked_installer.cc base::Bind(&UnpackedInstaller::UnregisterLoadRetryListener, this)); base 298 chrome/browser/extensions/unpacked_installer.cc base::Bind(&UnpackedInstaller::ShowInstallPrompt, this)); base 317 chrome/browser/extensions/unpacked_installer.cc base::string16 error = installer_.CheckManagementPolicy(); base 319 chrome/browser/extensions/unpacked_installer.cc ReportExtensionLoadError(base::UTF16ToUTF8(error)); base 30 chrome/browser/extensions/unpacked_installer.h : public base::RefCountedThreadSafe<UnpackedInstaller> { base 39 chrome/browser/extensions/unpacked_installer.h void Load(const base::FilePath& extension_path); base 48 chrome/browser/extensions/unpacked_installer.h bool LoadFromCommandLine(const base::FilePath& extension_path, base 65 chrome/browser/extensions/unpacked_installer.h friend class base::RefCountedThreadSafe<UnpackedInstaller>; base 106 chrome/browser/extensions/unpacked_installer.h base::WeakPtr<ExtensionService> service_weak_; base 110 chrome/browser/extensions/unpacked_installer.h base::FilePath extension_path_; base 27 chrome/browser/extensions/updater/extension_cache.cc virtual void Start(const base::Closure& callback) OVERRIDE { base 31 chrome/browser/extensions/updater/extension_cache.cc virtual void Shutdown(const base::Closure& callback) OVERRIDE { base 39 chrome/browser/extensions/updater/extension_cache.cc base::FilePath* file_path, base 45 chrome/browser/extensions/updater/extension_cache.cc const base::FilePath& file_path, base 23 chrome/browser/extensions/updater/extension_cache.h typedef base::Callback<void(const base::FilePath& file_path, base 29 chrome/browser/extensions/updater/extension_cache.h virtual void Start(const base::Closure& callback) = 0; base 32 chrome/browser/extensions/updater/extension_cache.h virtual void Shutdown(const base::Closure& callback) = 0; base 43 chrome/browser/extensions/updater/extension_cache.h base::FilePath* file_path, base 53 chrome/browser/extensions/updater/extension_cache.h const base::FilePath& file_path, base 21 chrome/browser/extensions/updater/extension_cache_fake.cc void ExtensionCacheFake::Start(const base::Closure& callback) { base 28 chrome/browser/extensions/updater/extension_cache_fake.cc void ExtensionCacheFake::Shutdown(const base::Closure& callback) { base 40 chrome/browser/extensions/updater/extension_cache_fake.cc base::FilePath* file_path, base 55 chrome/browser/extensions/updater/extension_cache_fake.cc const base::FilePath& file_path, base 64 chrome/browser/extensions/updater/extension_cache_fake.cc base::Bind(callback, file_path, false)); base 23 chrome/browser/extensions/updater/extension_cache_fake.h virtual void Start(const base::Closure& callback) OVERRIDE; base 24 chrome/browser/extensions/updater/extension_cache_fake.h virtual void Shutdown(const base::Closure& callback) OVERRIDE; base 27 chrome/browser/extensions/updater/extension_cache_fake.h base::FilePath* file_path, base 30 chrome/browser/extensions/updater/extension_cache_fake.h const base::FilePath& file_path, base 35 chrome/browser/extensions/updater/extension_cache_fake.h typedef std::map<std::string, std::pair<std::string, base::FilePath> > Map; base 45 chrome/browser/extensions/updater/extension_cache_impl.cc cache_(new LocalExtensionCache(base::FilePath(kLocalCacheDir), base 47 chrome/browser/extensions/updater/extension_cache_impl.cc base::TimeDelta::FromDays(kMaxCacheAgeDays), base 51 chrome/browser/extensions/updater/extension_cache_impl.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN))) { base 56 chrome/browser/extensions/updater/extension_cache_impl.cc cache_->Init(true, base::Bind(&ExtensionCacheImpl::OnCacheInitialized, base 63 chrome/browser/extensions/updater/extension_cache_impl.cc void ExtensionCacheImpl::Start(const base::Closure& callback) { base 72 chrome/browser/extensions/updater/extension_cache_impl.cc void ExtensionCacheImpl::Shutdown(const base::Closure& callback) { base 84 chrome/browser/extensions/updater/extension_cache_impl.cc base::FilePath* file_path, base 93 chrome/browser/extensions/updater/extension_cache_impl.cc const base::FilePath& file_path, base 103 chrome/browser/extensions/updater/extension_cache_impl.cc for (std::vector<base::Closure>::iterator it = init_callbacks_.begin(); base 34 chrome/browser/extensions/updater/extension_cache_impl.h virtual void Start(const base::Closure& callback) OVERRIDE; base 35 chrome/browser/extensions/updater/extension_cache_impl.h virtual void Shutdown(const base::Closure& callback) OVERRIDE; base 38 chrome/browser/extensions/updater/extension_cache_impl.h base::FilePath* file_path, base 41 chrome/browser/extensions/updater/extension_cache_impl.h const base::FilePath& file_path, base 60 chrome/browser/extensions/updater/extension_cache_impl.h base::WeakPtrFactory<ExtensionCacheImpl> weak_ptr_factory_; base 69 chrome/browser/extensions/updater/extension_cache_impl.h std::vector<base::Closure> init_callbacks_; base 41 chrome/browser/extensions/updater/extension_downloader.cc using base::Time; base 42 chrome/browser/extensions/updater/extension_downloader.cc using base::TimeDelta; base 127 chrome/browser/extensions/updater/extension_downloader.cc base::Bind(&ExtensionDownloader::CreateManifestFetcher, base 128 chrome/browser/extensions/updater/extension_downloader.cc base::Unretained(this))), base 130 chrome/browser/extensions/updater/extension_downloader.cc base::Bind(&ExtensionDownloader::CreateExtensionFetcher, base 131 chrome/browser/extensions/updater/extension_downloader.cc base::Unretained(this))), base 181 chrome/browser/extensions/updater/extension_downloader.cc extension_cache_->Start(base::Bind( base 434 chrome/browser/extensions/updater/extension_downloader.cc const base::TimeDelta& backoff_delay, base 447 chrome/browser/extensions/updater/extension_downloader.cc base::Bind(&ExtensionDownloader::HandleManifestResults, base 641 chrome/browser/extensions/updater/extension_downloader.cc base::FilePath crx_path; base 653 chrome/browser/extensions/updater/extension_downloader.cc const base::FilePath& crx_path, base 690 chrome/browser/extensions/updater/extension_downloader.cc const base::TimeDelta& backoff_delay) { base 696 chrome/browser/extensions/updater/extension_downloader.cc base::FilePath crx_path; base 704 chrome/browser/extensions/updater/extension_downloader.cc base::Bind(&ExtensionDownloader::NotifyDelegateDownloadFinished, base 706 chrome/browser/extensions/updater/extension_downloader.cc base::Passed(&fetch_data))); base 38 chrome/browser/extensions/updater/extension_downloader.h UpdateDetails(const std::string& id, const base::Version& version); base 42 chrome/browser/extensions/updater/extension_downloader.h base::Version version; base 139 chrome/browser/extensions/updater/extension_downloader.h const base::Version& version, base 161 chrome/browser/extensions/updater/extension_downloader.h const base::TimeDelta& backoff_delay, base 186 chrome/browser/extensions/updater/extension_downloader.h const base::TimeDelta& backoff_delay); base 204 chrome/browser/extensions/updater/extension_downloader.h const base::FilePath& crx_path, base 215 chrome/browser/extensions/updater/extension_downloader.h base::WeakPtrFactory<ExtensionDownloader> weak_ptr_factory_; base 16 chrome/browser/extensions/updater/extension_downloader_delegate.h namespace base { base 58 chrome/browser/extensions/updater/extension_downloader_delegate.h base::Time day_start; base 86 chrome/browser/extensions/updater/extension_downloader_delegate.h const base::FilePath& path, base 39 chrome/browser/extensions/updater/extension_updater.cc using base::RandDouble; base 40 chrome/browser/extensions/updater/extension_updater.cc using base::RandInt; base 41 chrome/browser/extensions/updater/extension_updater.cc using base::Time; base 42 chrome/browser/extensions/updater/extension_updater.cc using base::TimeDelta; base 103 chrome/browser/extensions/updater/extension_updater.cc const base::FilePath& p, base 285 chrome/browser/extensions/updater/extension_updater.cc base::Bind(&ExtensionUpdater::DoCheckSoon, base 432 chrome/browser/extensions/updater/extension_updater.cc params.callback = base::Bind(&ExtensionUpdater::ExtensionCheckFinished, base 476 chrome/browser/extensions/updater/extension_updater.cc const base::FilePath& path, base 53 chrome/browser/extensions/updater/extension_updater.h typedef base::Closure FinishedCallback; base 127 chrome/browser/extensions/updater/extension_updater.h const base::FilePath& path, base 134 chrome/browser/extensions/updater/extension_updater.h base::FilePath path; base 153 chrome/browser/extensions/updater/extension_updater.h base::TimeDelta DetermineFirstCheckDelay(); base 159 chrome/browser/extensions/updater/extension_updater.h void ScheduleNextCheck(const base::TimeDelta& target_delay); base 182 chrome/browser/extensions/updater/extension_updater.h const base::FilePath& path, base 222 chrome/browser/extensions/updater/extension_updater.h base::WeakPtrFactory<ExtensionUpdater> weak_ptr_factory_; base 230 chrome/browser/extensions/updater/extension_updater.h base::OneShotTimer<ExtensionUpdater> timer_; base 70 chrome/browser/extensions/updater/extension_updater_unittest.cc using base::Time; base 71 chrome/browser/extensions/updater/extension_updater_unittest.cc using base::TimeDelta; base 133 chrome/browser/extensions/updater/extension_updater_unittest.cc const base::FilePath&, base 180 chrome/browser/extensions/updater/extension_updater_unittest.cc base::Closure quit_closure_; base 246 chrome/browser/extensions/updater/extension_updater_unittest.cc base::Closure quit_closure_; base 286 chrome/browser/extensions/updater/extension_updater_unittest.cc base::DictionaryValue manifest; base 288 chrome/browser/extensions/updater/extension_updater_unittest.cc base::StringPrintf("%d.0.0.0", i)); base 290 chrome/browser/extensions/updater/extension_updater_unittest.cc base::StringPrintf("Extension %d.%d", id, i)); base 333 chrome/browser/extensions/updater/extension_updater_unittest.cc std::string id = id_util::GenerateId(base::StringPrintf("extension%i", i)); base 412 chrome/browser/extensions/updater/extension_updater_unittest.cc const base::FilePath& extension_path, base 439 chrome/browser/extensions/updater/extension_updater_unittest.cc const base::FilePath& install_path() const { return install_path_; } base 450 chrome/browser/extensions/updater/extension_updater_unittest.cc base::FilePath install_path_; base 469 chrome/browser/extensions/updater/extension_updater_unittest.cc base::SplitString(params, '&', &pairs); base 472 chrome/browser/extensions/updater/extension_updater_unittest.cc base::SplitString(pairs[i], '=', &key_val); base 515 chrome/browser/extensions/updater/extension_updater_unittest.cc prefs_.reset(new TestExtensionPrefs(base::MessageLoopProxy::current())); base 528 chrome/browser/extensions/updater/extension_updater_unittest.cc base::RunLoop().RunUntilIdle(); base 1038 chrome/browser/extensions/updater/extension_updater_unittest.cc base::FilePath extension_file_path(FILE_PATH_LITERAL("/whatever")); base 1079 chrome/browser/extensions/updater/extension_updater_unittest.cc base::FilePath tmpfile_path = service->install_path(); base 1152 chrome/browser/extensions/updater/extension_updater_unittest.cc base::FilePath extension_file_path(FILE_PATH_LITERAL("/whatever")); base 1162 chrome/browser/extensions/updater/extension_updater_unittest.cc base::FilePath tmpfile_path = service->install_path(); base 1213 chrome/browser/extensions/updater/extension_updater_unittest.cc base::FilePath extension_file_path(FILE_PATH_LITERAL("/whatever")); base 1229 chrome/browser/extensions/updater/extension_updater_unittest.cc base::FilePath(), base 1259 chrome/browser/extensions/updater/extension_updater_unittest.cc base::FilePath tmpfile_path = service.install_path(); base 1267 chrome/browser/extensions/updater/extension_updater_unittest.cc base::FilePath extension_file_path2(FILE_PATH_LITERAL("/whatever2")); base 1355 chrome/browser/extensions/updater/extension_updater_unittest.cc prefs_.reset(new TestExtensionPrefs(base::MessageLoopProxy::current())); base 1437 chrome/browser/extensions/updater/extension_updater_unittest.cc search_string += "r%253D" + base::IntToString(rollcall_ping_days); base 1444 chrome/browser/extensions/updater/extension_updater_unittest.cc search_string += "a%253D" + base::IntToString(active_ping_days); base 32 chrome/browser/extensions/updater/local_extension_cache.cc const base::FilePath& cache_dir, base 34 chrome/browser/extensions/updater/local_extension_cache.cc const base::TimeDelta& max_cache_age, base 35 chrome/browser/extensions/updater/local_extension_cache.cc const scoped_refptr<base::SequencedTaskRunner>& backend_task_runner) base 38 chrome/browser/extensions/updater/local_extension_cache.cc min_cache_age_(base::Time::Now() - max_cache_age), base 43 chrome/browser/extensions/updater/local_extension_cache.cc base::TimeDelta::FromMilliseconds(kCacheStatusPollingDelayMs)) { base 52 chrome/browser/extensions/updater/local_extension_cache.cc const base::Closure& callback) { base 62 chrome/browser/extensions/updater/local_extension_cache.cc void LocalExtensionCache::Shutdown(const base::Closure& callback) { base 68 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&base::DoNothing), callback); base 72 chrome/browser/extensions/updater/local_extension_cache.cc base::FilePath* file_path, base 85 chrome/browser/extensions/updater/local_extension_cache.cc base::Time now = base::Time::Now(); base 87 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&LocalExtensionCache::BackendMarkFileUsed, base 99 chrome/browser/extensions/updater/local_extension_cache.cc const base::FilePath& file_path, base 129 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&LocalExtensionCache::BackendInstallCacheEntry, base 148 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&LocalExtensionCache::BackendRemoveCacheEntry, base 171 chrome/browser/extensions/updater/local_extension_cache.cc const base::TimeDelta& delay) { base 175 chrome/browser/extensions/updater/local_extension_cache.cc void LocalExtensionCache::CheckCacheStatus(const base::Closure& callback) { base 183 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&LocalExtensionCache::BackendCheckCacheStatus, base 191 chrome/browser/extensions/updater/local_extension_cache.cc base::WeakPtr<LocalExtensionCache> local_cache, base 192 chrome/browser/extensions/updater/local_extension_cache.cc const base::FilePath& cache_dir, base 193 chrome/browser/extensions/updater/local_extension_cache.cc const base::Closure& callback) { base 195 chrome/browser/extensions/updater/local_extension_cache.cc base::PathExists(cache_dir.AppendASCII(kCacheReadyFlagFileName)); base 198 chrome/browser/extensions/updater/local_extension_cache.cc if (first_check && !exists && !base::SysInfo::IsRunningOnChromeOS()) { base 208 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&LocalExtensionCache::OnCacheStatusChecked, base 215 chrome/browser/extensions/updater/local_extension_cache.cc const base::Closure& callback) { base 227 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&LocalExtensionCache::CheckCacheStatus, base 234 chrome/browser/extensions/updater/local_extension_cache.cc void LocalExtensionCache::CheckCacheContents(const base::Closure& callback) { base 238 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&LocalExtensionCache::BackendCheckCacheContents, base 246 chrome/browser/extensions/updater/local_extension_cache.cc base::WeakPtr<LocalExtensionCache> local_cache, base 247 chrome/browser/extensions/updater/local_extension_cache.cc const base::FilePath& cache_dir, base 248 chrome/browser/extensions/updater/local_extension_cache.cc const base::Closure& callback) { base 254 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&LocalExtensionCache::OnCacheContentsChecked, base 256 chrome/browser/extensions/updater/local_extension_cache.cc base::Passed(&cache_content), base 262 chrome/browser/extensions/updater/local_extension_cache.cc const base::FilePath& cache_dir, base 265 chrome/browser/extensions/updater/local_extension_cache.cc if (!base::DirectoryExists(cache_dir)) { base 267 chrome/browser/extensions/updater/local_extension_cache.cc if (!base::CreateDirectory(cache_dir)) { base 278 chrome/browser/extensions/updater/local_extension_cache.cc int types = base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES; base 279 chrome/browser/extensions/updater/local_extension_cache.cc base::FileEnumerator enumerator(cache_dir, false /* recursive */, types); base 280 chrome/browser/extensions/updater/local_extension_cache.cc for (base::FilePath path = enumerator.Next(); base 282 chrome/browser/extensions/updater/local_extension_cache.cc base::FileEnumerator::FileInfo info = enumerator.GetInfo(); base 285 chrome/browser/extensions/updater/local_extension_cache.cc if (info.IsDirectory() || base::IsLink(info.GetName())) { base 287 chrome/browser/extensions/updater/local_extension_cache.cc base::DeleteFile(path, true /* recursive */); base 321 chrome/browser/extensions/updater/local_extension_cache.cc base::DeleteFile(path, true /* recursive */); base 334 chrome/browser/extensions/updater/local_extension_cache.cc base::DeleteFile(base::FilePath(it->second.file_path), base 340 chrome/browser/extensions/updater/local_extension_cache.cc base::DeleteFile(path, true /* recursive */); base 354 chrome/browser/extensions/updater/local_extension_cache.cc const base::Closure& callback) { base 361 chrome/browser/extensions/updater/local_extension_cache.cc void LocalExtensionCache::BackendMarkFileUsed(const base::FilePath& file_path, base 362 chrome/browser/extensions/updater/local_extension_cache.cc const base::Time& time) { base 363 chrome/browser/extensions/updater/local_extension_cache.cc base::TouchFile(file_path, time, time); base 368 chrome/browser/extensions/updater/local_extension_cache.cc base::WeakPtr<LocalExtensionCache> local_cache, base 369 chrome/browser/extensions/updater/local_extension_cache.cc const base::FilePath& cache_dir, base 371 chrome/browser/extensions/updater/local_extension_cache.cc const base::FilePath& file_path, base 375 chrome/browser/extensions/updater/local_extension_cache.cc base::FilePath cached_crx_path = cache_dir.AppendASCII(basename); base 378 chrome/browser/extensions/updater/local_extension_cache.cc if (base::PathExists(cached_crx_path)) { base 384 chrome/browser/extensions/updater/local_extension_cache.cc base::File::Info info; base 386 chrome/browser/extensions/updater/local_extension_cache.cc if (!base::Move(file_path, cached_crx_path)) { base 392 chrome/browser/extensions/updater/local_extension_cache.cc was_error = !base::GetFileInfo(cached_crx_path, &info); base 401 chrome/browser/extensions/updater/local_extension_cache.cc base::Bind(&LocalExtensionCache::OnCacheEntryInstalled, base 432 chrome/browser/extensions/updater/local_extension_cache.cc it->second.last_used = base::Time::Now(); base 439 chrome/browser/extensions/updater/local_extension_cache.cc const base::FilePath& file_path) { base 440 chrome/browser/extensions/updater/local_extension_cache.cc base::DeleteFile(file_path, true /* recursive */); base 476 chrome/browser/extensions/updater/local_extension_cache.cc const base::Time& last_used, base 478 chrome/browser/extensions/updater/local_extension_cache.cc const base::FilePath& file_path) base 26 chrome/browser/extensions/updater/local_extension_cache.h typedef base::Callback<void(const base::FilePath& file_path, base 34 chrome/browser/extensions/updater/local_extension_cache.h LocalExtensionCache(const base::FilePath& cache_dir, base 36 chrome/browser/extensions/updater/local_extension_cache.h const base::TimeDelta& max_cache_age, base 37 chrome/browser/extensions/updater/local_extension_cache.h const scoped_refptr<base::SequencedTaskRunner>& base 49 chrome/browser/extensions/updater/local_extension_cache.h const base::Closure& callback); base 53 chrome/browser/extensions/updater/local_extension_cache.h void Shutdown(const base::Closure& callback); base 59 chrome/browser/extensions/updater/local_extension_cache.h base::FilePath* file_path, base 68 chrome/browser/extensions/updater/local_extension_cache.h const base::FilePath& file_path, base 85 chrome/browser/extensions/updater/local_extension_cache.h void SetCacheStatusPollingDelayForTests(const base::TimeDelta& delay); base 90 chrome/browser/extensions/updater/local_extension_cache.h base::Time last_used; base 92 chrome/browser/extensions/updater/local_extension_cache.h base::FilePath file_path; base 95 chrome/browser/extensions/updater/local_extension_cache.h const base::Time& last_used, base 97 chrome/browser/extensions/updater/local_extension_cache.h const base::FilePath& file_path); base 109 chrome/browser/extensions/updater/local_extension_cache.h void CheckCacheStatus(const base::Closure& callback); base 115 chrome/browser/extensions/updater/local_extension_cache.h base::WeakPtr<LocalExtensionCache> local_cache, base 116 chrome/browser/extensions/updater/local_extension_cache.h const base::FilePath& cache_dir, base 117 chrome/browser/extensions/updater/local_extension_cache.h const base::Closure& callback); base 122 chrome/browser/extensions/updater/local_extension_cache.h void OnCacheStatusChecked(bool ready, const base::Closure& callback); base 126 chrome/browser/extensions/updater/local_extension_cache.h void CheckCacheContents(const base::Closure& callback); base 132 chrome/browser/extensions/updater/local_extension_cache.h base::WeakPtr<LocalExtensionCache> local_cache, base 133 chrome/browser/extensions/updater/local_extension_cache.h const base::FilePath& cache_dir, base 134 chrome/browser/extensions/updater/local_extension_cache.h const base::Closure& callback); base 138 chrome/browser/extensions/updater/local_extension_cache.h const base::FilePath& cache_dir, base 144 chrome/browser/extensions/updater/local_extension_cache.h const base::Closure& callback); base 148 chrome/browser/extensions/updater/local_extension_cache.h static void BackendMarkFileUsed(const base::FilePath& file_path, base 149 chrome/browser/extensions/updater/local_extension_cache.h const base::Time& time); base 154 chrome/browser/extensions/updater/local_extension_cache.h base::WeakPtr<LocalExtensionCache> local_cache, base 155 chrome/browser/extensions/updater/local_extension_cache.h const base::FilePath& cache_dir, base 157 chrome/browser/extensions/updater/local_extension_cache.h const base::FilePath& file_path, base 169 chrome/browser/extensions/updater/local_extension_cache.h static void BackendRemoveCacheEntry(const base::FilePath& file_path); base 179 chrome/browser/extensions/updater/local_extension_cache.h base::FilePath cache_dir_; base 186 chrome/browser/extensions/updater/local_extension_cache.h base::Time min_cache_age_; base 189 chrome/browser/extensions/updater/local_extension_cache.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner_; base 198 chrome/browser/extensions/updater/local_extension_cache.h base::WeakPtrFactory<LocalExtensionCache> weak_ptr_factory_; base 201 chrome/browser/extensions/updater/local_extension_cache.h base::TimeDelta cache_status_polling_delay_; base 35 chrome/browser/extensions/updater/local_extension_cache_unittest.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner() { base 42 chrome/browser/extensions/updater/local_extension_cache_unittest.cc new base::SequencedWorkerPoolOwner(3, "Background Pool")); base 49 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 52 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::FilePath CreateCacheDir(bool initialized) { base 59 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::FilePath CreateTempDir() { base 64 chrome/browser/extensions/updater/local_extension_cache_unittest.cc void CreateFlagFile(const base::FilePath& dir) { base 67 chrome/browser/extensions/updater/local_extension_cache_unittest.cc 0, base::Time::Now()); base 70 chrome/browser/extensions/updater/local_extension_cache_unittest.cc void CreateExtensionFile(const base::FilePath& dir, base 74 chrome/browser/extensions/updater/local_extension_cache_unittest.cc const base::Time& timestamp) { base 78 chrome/browser/extensions/updater/local_extension_cache_unittest.cc void CreateFile(const base::FilePath& file, base 80 chrome/browser/extensions/updater/local_extension_cache_unittest.cc const base::Time& timestamp) { base 82 chrome/browser/extensions/updater/local_extension_cache_unittest.cc EXPECT_EQ(base::WriteFile(file, data.data(), data.size()), int(size)); base 83 chrome/browser/extensions/updater/local_extension_cache_unittest.cc EXPECT_TRUE(base::TouchFile(file, timestamp, timestamp)); base 86 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::FilePath GetExtensionFileName(const base::FilePath& dir, base 99 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 106 chrome/browser/extensions/updater/local_extension_cache_unittest.cc scoped_ptr<base::SequencedWorkerPoolOwner> pool_owner_; base 107 chrome/browser/extensions/updater/local_extension_cache_unittest.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 109 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::ScopedTempDir cache_dir_; base 110 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::ScopedTempDir temp_dir_; base 120 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::FilePath cache_dir(CreateCacheDir(false)); base 124 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::TimeDelta::FromDays(30), base 126 chrome/browser/extensions/updater/local_extension_cache_unittest.cc cache.SetCacheStatusPollingDelayForTests(base::TimeDelta()); base 129 chrome/browser/extensions/updater/local_extension_cache_unittest.cc cache.Init(true, base::Bind(&SimpleCallback, &initialized)); base 135 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(1)); base 137 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(10)); base 139 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(40)); base 141 chrome/browser/extensions/updater/local_extension_cache_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(41)); base 149 chrome/browser/extensions/updater/local_extension_cache_unittest.cc EXPECT_FALSE(base::PathExists( base 160 chrome/browser/extensions/updater/local_extension_cache_unittest.cc cache.Shutdown(base::Bind(&SimpleCallback, &did_shutdown)); base 164 chrome/browser/extensions/updater/local_extension_cache_unittest.cc EXPECT_TRUE(base::PathExists( base 166 chrome/browser/extensions/updater/local_extension_cache_unittest.cc EXPECT_FALSE(base::PathExists( base 168 chrome/browser/extensions/updater/local_extension_cache_unittest.cc EXPECT_FALSE(base::PathExists( base 104 chrome/browser/extensions/updater/manifest_fetch_data.cc ping_value += "r=" + base::IntToString(ping_data->rollcall_days); base 115 chrome/browser/extensions/updater/manifest_fetch_data.cc ping_value += "a=" + base::IntToString(ping_data->active_days); base 42 chrome/browser/extensions/updater/request_queue.h const base::Closure& start_request_callback); base 62 chrome/browser/extensions/updater/request_queue.h base::TimeTicks NextReleaseTime() const; base 74 chrome/browser/extensions/updater/request_queue.h void RetryRequest(const base::TimeDelta& min_backoff_delay); base 102 chrome/browser/extensions/updater/request_queue.h base::Closure start_request_callback_; base 114 chrome/browser/extensions/updater/request_queue.h base::Timer timer_; base 21 chrome/browser/extensions/updater/request_queue_impl.h const base::Closure& start_request_callback) base 73 chrome/browser/extensions/updater/request_queue_impl.h base::TimeTicks RequestQueue<T>::NextReleaseTime() const { base 88 chrome/browser/extensions/updater/request_queue_impl.h base::TimeTicks next_release = NextReleaseTime(); base 89 chrome/browser/extensions/updater/request_queue_impl.h base::TimeTicks now = base::TimeTicks::Now(); base 94 chrome/browser/extensions/updater/request_queue_impl.h base::Bind(&RequestQueue<T>::StartNextRequest, base 95 chrome/browser/extensions/updater/request_queue_impl.h base::Unretained(this))); base 118 chrome/browser/extensions/updater/request_queue_impl.h void RequestQueue<T>::RetryRequest(const base::TimeDelta& min_backoff_delay) { base 122 chrome/browser/extensions/updater/request_queue_impl.h base::TimeTicks::Now() + min_backoff_delay); base 34 chrome/browser/extensions/updater/safe_manifest_parser.cc base::Bind(&SafeManifestParser::ParseInSandbox, this))) { base 22 chrome/browser/extensions/updater/safe_manifest_parser.h typedef base::Callback<void(const ManifestFetchData&, base 27 chrome/browser/extensions/user_script_listener.cc public base::SupportsWeakPtr<UserScriptListener::Throttle> { base 219 chrome/browser/extensions/user_script_listener.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 241 chrome/browser/extensions/user_script_listener.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 249 chrome/browser/extensions/user_script_listener.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 256 chrome/browser/extensions/user_script_listener.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 38 chrome/browser/extensions/user_script_listener.h : public base::RefCountedThreadSafe< base 54 chrome/browser/extensions/user_script_listener.h friend class base::DeleteHelper<UserScriptListener>; base 86 chrome/browser/extensions/user_script_listener.h typedef base::WeakPtr<Throttle> WeakThrottle; base 38 chrome/browser/extensions/user_script_listener_unittest.cc class ThrottleController : public base::SupportsUserData::Data, base 82 chrome/browser/extensions/user_script_listener_unittest.cc base::DictionaryValue* LoadManifestFile(const base::FilePath path, base 84 chrome/browser/extensions/user_script_listener_unittest.cc EXPECT_TRUE(base::PathExists(path)); base 86 chrome/browser/extensions/user_script_listener_unittest.cc return static_cast<base::DictionaryValue*>( base 92 chrome/browser/extensions/user_script_listener_unittest.cc base::FilePath path; base 98 chrome/browser/extensions/user_script_listener_unittest.cc scoped_ptr<base::DictionaryValue> value(LoadManifestFile(path, error)); base 149 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 156 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 185 chrome/browser/extensions/user_script_listener_unittest.cc base::FilePath test_dir; base 187 chrome/browser/extensions/user_script_listener_unittest.cc base::FilePath extension_path = test_dir base 209 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 221 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 227 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 236 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 246 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 259 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 265 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 276 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 282 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 311 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 320 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 329 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 347 chrome/browser/extensions/user_script_listener_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 41 chrome/browser/extensions/user_script_master.cc static bool GetDeclarationValue(const base::StringPiece& line, base 42 chrome/browser/extensions/user_script_master.cc const base::StringPiece& prefix, base 44 chrome/browser/extensions/user_script_master.cc base::StringPiece::size_type index = line.find(prefix); base 45 chrome/browser/extensions/user_script_master.cc if (index == base::StringPiece::npos) base 54 chrome/browser/extensions/user_script_master.cc base::TrimWhitespaceASCII(temp, base::TRIM_ALL, value); base 65 chrome/browser/extensions/user_script_master.cc const base::StringPiece& script_text, UserScript* script) { base 67 chrome/browser/extensions/user_script_master.cc base::StringPiece line; base 72 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kUserScriptBegin("// ==UserScript=="); base 73 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kUserScriptEng("// ==/UserScript=="); base 74 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kNamespaceDeclaration("// @namespace"); base 75 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kNameDeclaration("// @name"); base 76 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kVersionDeclaration("// @version"); base 77 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kDescriptionDeclaration("// @description"); base 78 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kIncludeDeclaration("// @include"); base 79 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kExcludeDeclaration("// @exclude"); base 80 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kMatchDeclaration("// @match"); base 81 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kExcludeMatchDeclaration("// @exclude_match"); base 82 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kRunAtDeclaration("// @run-at"); base 83 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kRunAtDocumentStartValue("document-start"); base 84 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kRunAtDocumentEndValue("document-end"); base 85 chrome/browser/extensions/user_script_master.cc static const base::StringPiece kRunAtDocumentIdleValue("document-idle"); base 168 chrome/browser/extensions/user_script_master.cc base::Bind( base 175 chrome/browser/extensions/user_script_master.cc base::SharedMemory* memory) { base 190 chrome/browser/extensions/user_script_master.cc const base::FilePath& path = ExtensionResource::GetFilePath( base 207 chrome/browser/extensions/user_script_master.cc if (!base::ReadFileToString(path, &content)) { base 224 chrome/browser/extensions/user_script_master.cc std::string::size_type index = content.find(base::kUtf8ByteOrderMark); base 226 chrome/browser/extensions/user_script_master.cc script_file->set_content(content.substr(strlen(base::kUtf8ByteOrderMark))); base 266 chrome/browser/extensions/user_script_master.cc static base::SharedMemory* Serialize(const UserScriptList& scripts) { base 278 chrome/browser/extensions/user_script_master.cc base::StringPiece contents = script.js_scripts()[j].GetContent(); base 282 chrome/browser/extensions/user_script_master.cc base::StringPiece contents = script.css_scripts()[j].GetContent(); base 288 chrome/browser/extensions/user_script_master.cc base::SharedMemory shared_memory; base 296 chrome/browser/extensions/user_script_master.cc base::SharedMemoryHandle readonly_handle; base 297 chrome/browser/extensions/user_script_master.cc if (!shared_memory.ShareReadOnlyToProcess(base::GetCurrentProcessHandle(), base 301 chrome/browser/extensions/user_script_master.cc return new base::SharedMemory(readonly_handle, /*read_only=*/true); base 314 chrome/browser/extensions/user_script_master.cc base::Bind( base 338 chrome/browser/extensions/user_script_master.cc void UserScriptMaster::NewScriptsAvailable(base::SharedMemory* handle) { base 340 chrome/browser/extensions/user_script_master.cc scoped_ptr<base::SharedMemory> handle_deleter(handle); base 362 chrome/browser/extensions/user_script_master.cc content::Details<base::SharedMemory>(handle)); base 442 chrome/browser/extensions/user_script_master.cc base::SharedMemory* shared_memory) { base 454 chrome/browser/extensions/user_script_master.cc base::ProcessHandle handle = process->GetHandle(); base 458 chrome/browser/extensions/user_script_master.cc base::SharedMemoryHandle handle_for_process; base 462 chrome/browser/extensions/user_script_master.cc if (base::SharedMemory::IsHandleValid(handle_for_process)) base 37 chrome/browser/extensions/user_script_master.h class UserScriptMaster : public base::RefCountedThreadSafe<UserScriptMaster>, base 47 chrome/browser/extensions/user_script_master.h base::SharedMemory* GetSharedMemory() const { base 52 chrome/browser/extensions/user_script_master.h void NewScriptsAvailable(base::SharedMemory* handle); base 58 chrome/browser/extensions/user_script_master.h friend class base::RefCountedThreadSafe<UserScriptMaster>; base 70 chrome/browser/extensions/user_script_master.h : public base::RefCountedThreadSafe<UserScriptMaster::ScriptReloader> { base 73 chrome/browser/extensions/user_script_master.h static bool ParseMetadataHeader(const base::StringPiece& script_text, base 91 chrome/browser/extensions/user_script_master.h friend class base::RefCountedThreadSafe<UserScriptMaster::ScriptReloader>; base 103 chrome/browser/extensions/user_script_master.h void NotifyMaster(base::SharedMemory* memory); base 139 chrome/browser/extensions/user_script_master.h base::SharedMemory* shared_memory); base 148 chrome/browser/extensions/user_script_master.h scoped_ptr<base::SharedMemory> shared_memory_; base 55 chrome/browser/extensions/user_script_master_unittest.cc BrowserThread::FILE, base::MessageLoop::current())); base 57 chrome/browser/extensions/user_script_master_unittest.cc BrowserThread::UI, base::MessageLoop::current())); base 70 chrome/browser/extensions/user_script_master_unittest.cc shared_memory_ = content::Details<base::SharedMemory>(details).ptr(); base 71 chrome/browser/extensions/user_script_master_unittest.cc if (base::MessageLoop::current() == &message_loop_) base 72 chrome/browser/extensions/user_script_master_unittest.cc base::MessageLoop::current()->Quit(); base 76 chrome/browser/extensions/user_script_master_unittest.cc base::ScopedTempDir temp_dir_; base 81 chrome/browser/extensions/user_script_master_unittest.cc base::MessageLoopForUI message_loop_; base 87 chrome/browser/extensions/user_script_master_unittest.cc base::SharedMemory* shared_memory_; base 95 chrome/browser/extensions/user_script_master_unittest.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 233 chrome/browser/extensions/user_script_master_unittest.cc base::FilePath path = temp_dir_.path().AppendASCII("script.user.js"); base 235 chrome/browser/extensions/user_script_master_unittest.cc size_t written = base::WriteFile(path, content.c_str(), content.size()); base 256 chrome/browser/extensions/user_script_master_unittest.cc base::FilePath path = temp_dir_.path().AppendASCII("script.user.js"); base 258 chrome/browser/extensions/user_script_master_unittest.cc size_t written = base::WriteFile(path, content.c_str(), content.size()); base 50 chrome/browser/extensions/webstore_data_fetcher.cc scoped_ptr<base::Value> parsed_json) { base 51 chrome/browser/extensions/webstore_data_fetcher.cc if (!parsed_json->IsType(base::Value::TYPE_DICTIONARY)) { base 56 chrome/browser/extensions/webstore_data_fetcher.cc delegate_->OnWebstoreResponseParseSuccess(scoped_ptr<base::DictionaryValue>( base 57 chrome/browser/extensions/webstore_data_fetcher.cc static_cast<base::DictionaryValue*>(parsed_json.release()))); base 81 chrome/browser/extensions/webstore_data_fetcher.cc base::Bind(&WebstoreDataFetcher::OnJsonParseSuccess, base 83 chrome/browser/extensions/webstore_data_fetcher.cc base::Bind(&WebstoreDataFetcher::OnJsonParseFailure, base 15 chrome/browser/extensions/webstore_data_fetcher.h namespace base { base 30 chrome/browser/extensions/webstore_data_fetcher.h class WebstoreDataFetcher : public base::SupportsWeakPtr<WebstoreDataFetcher>, base 42 chrome/browser/extensions/webstore_data_fetcher.h void OnJsonParseSuccess(scoped_ptr<base::Value> parsed_json); base 12 chrome/browser/extensions/webstore_data_fetcher_delegate.h namespace base { base 26 chrome/browser/extensions/webstore_data_fetcher_delegate.h scoped_ptr<base::DictionaryValue> webstore_data) = 0; base 79 chrome/browser/extensions/webstore_inline_installer.cc const base::DictionaryValue& webstore_data, base 112 chrome/browser/extensions/webstore_inline_installer.cc const base::DictionaryValue& webstore_data, base 132 chrome/browser/extensions/webstore_inline_installer.cc const base::ListValue* verified_sites = NULL; base 137 chrome/browser/extensions/webstore_inline_installer.cc for (base::ListValue::const_iterator it = verified_sites->begin(); base 196 chrome/browser/extensions/webstore_inline_installer.cc base::StringPrintf( base 40 chrome/browser/extensions/webstore_inline_installer.h friend class base::RefCountedThreadSafe<WebstoreInlineInstaller>; base 53 chrome/browser/extensions/webstore_inline_installer.h const base::DictionaryValue& webstore_data, base 56 chrome/browser/extensions/webstore_inline_installer.h const base::DictionaryValue& webstore_data, base 94 chrome/browser/extensions/webstore_inline_installer_browsertest.cc base::Bind(DummyCallback)), base 139 chrome/browser/extensions/webstore_inline_installer_browsertest.cc base::RunLoop().RunUntilIdle(); base 24 chrome/browser/extensions/webstore_inline_installer_unittest.cc bool TestCheckRequestorPermitted(const base::DictionaryValue& webstore_data) { base 41 chrome/browser/extensions/webstore_inline_installer_unittest.cc base::Bind(&TestInstallerCallback)) { base 81 chrome/browser/extensions/webstore_inline_installer_unittest.cc base::DictionaryValue webstore_data; base 94 chrome/browser/extensions/webstore_inline_installer_unittest.cc base::ListValue* sites = new base::ListValue(); base 97 chrome/browser/extensions/webstore_inline_installer_unittest.cc sites->Append(new base::StringValue(*it)); base 99 chrome/browser/extensions/webstore_inline_installer_unittest.cc base::DictionaryValue webstore_data; base 59 chrome/browser/extensions/webstore_install_helper.cc base::Bind(&WebstoreInstallHelper::StartWorkOnIOThread, this)); base 77 chrome/browser/extensions/webstore_install_helper.cc this, base::MessageLoopProxy::current().get())->AsWeakPtr(); base 96 chrome/browser/extensions/webstore_install_helper.cc base::Bind(&WebstoreInstallHelper::OnDecodeImageFailed, this)); base 106 chrome/browser/extensions/webstore_install_helper.cc base::Bind(&WebstoreInstallHelper::StartFetchedImageDecode, this)); base 152 chrome/browser/extensions/webstore_install_helper.cc const base::ListValue& wrapper) { base 155 chrome/browser/extensions/webstore_install_helper.cc const base::Value* value = NULL; base 157 chrome/browser/extensions/webstore_install_helper.cc if (value->IsType(base::Value::TYPE_DICTIONARY)) { base 159 chrome/browser/extensions/webstore_install_helper.cc static_cast<const base::DictionaryValue*>(value)->DeepCopy()); base 190 chrome/browser/extensions/webstore_install_helper.cc base::Bind(&WebstoreInstallHelper::ReportResultFromUIThread, this)); base 19 chrome/browser/extensions/webstore_install_helper.h namespace base { base 55 chrome/browser/extensions/webstore_install_helper.h base::DictionaryValue* parsed_manifest) = 0; base 95 chrome/browser/extensions/webstore_install_helper.h void OnJSONParseSucceeded(const base::ListValue& wrapper); base 119 chrome/browser/extensions/webstore_install_helper.h base::WeakPtr<content::UtilityProcessHost> utility_host_; base 127 chrome/browser/extensions/webstore_install_helper.h scoped_ptr<base::DictionaryValue> parsed_manifest_; base 93 chrome/browser/extensions/webstore_installer.cc const base::FilePath::CharType kWebstoreDownloadFolder[] = base 96 chrome/browser/extensions/webstore_installer.cc base::FilePath* g_download_directory_for_tests = NULL; base 100 chrome/browser/extensions/webstore_installer.cc const base::FilePath& download_directory, base 102 chrome/browser/extensions/webstore_installer.cc const base::Callback<void(const base::FilePath&)>& callback) { base 105 chrome/browser/extensions/webstore_installer.cc if (!base::DirectoryExists(download_directory)) { base 106 chrome/browser/extensions/webstore_installer.cc if (!base::CreateDirectory(download_directory)) { base 108 chrome/browser/extensions/webstore_installer.cc base::Bind(callback, base::FilePath())); base 118 chrome/browser/extensions/webstore_installer.cc base::Uint64ToString(base::RandGenerator(kuint16max)); base 120 chrome/browser/extensions/webstore_installer.cc base::FilePath file = base 124 chrome/browser/extensions/webstore_installer.cc base::GetUniquePathNumber(file, base::FilePath::StringType()); base 127 chrome/browser/extensions/webstore_installer.cc base::StringPrintf(" (%d)", uniquifier)); base 131 chrome/browser/extensions/webstore_installer.cc base::Bind(callback, file)); base 139 chrome/browser/extensions/webstore_installer.cc base::FieldTrialList::FindFullName(kFieldTrial); base 167 chrome/browser/extensions/webstore_installer.cc return GURL(base::StringPrintf(download_url.c_str(), base 225 chrome/browser/extensions/webstore_installer.cc scoped_ptr<base::DictionaryValue> parsed_manifest, base 232 chrome/browser/extensions/webstore_installer.cc scoped_ptr<base::DictionaryValue>( base 392 chrome/browser/extensions/webstore_installer.cc const base::string16* error = base 393 chrome/browser/extensions/webstore_installer.cc content::Details<const base::string16>(details).ptr(); base 394 chrome/browser/extensions/webstore_installer.cc const std::string utf8_error = base::UTF16ToUTF8(*error); base 410 chrome/browser/extensions/webstore_installer.cc base::FilePath* directory) { base 522 chrome/browser/extensions/webstore_installer.cc base::FilePath download_path; base 524 chrome/browser/extensions/webstore_installer.cc base::FilePath user_data_dir; base 532 chrome/browser/extensions/webstore_installer.cc base::FilePath download_directory(g_download_directory_for_tests ? base 545 chrome/browser/extensions/webstore_installer.cc base::Bind(&GetDownloadFilePath, download_directory, id_, base 546 chrome/browser/extensions/webstore_installer.cc base::Bind(&WebstoreInstaller::StartDownload, this))); base 557 chrome/browser/extensions/webstore_installer.cc void WebstoreInstaller::StartDownload(const base::FilePath& file) { base 615 chrome/browser/extensions/webstore_installer.cc params->set_callback(base::Bind(&WebstoreInstaller::OnDownloadStarted, this)); base 641 chrome/browser/extensions/webstore_installer.cc base::TimeDelta time_remaining; base 644 chrome/browser/extensions/webstore_installer.cc base::TimeDelta::FromSeconds(kTimeRemainingMinutesThreshold)) { base 647 chrome/browser/extensions/webstore_installer.cc base::TimeDelta::FromSeconds(kTimeRemainingMinutesThreshold), base 31 chrome/browser/extensions/webstore_installer.h namespace base { base 48 chrome/browser/extensions/webstore_installer.h public base::RefCountedThreadSafe< base 97 chrome/browser/extensions/webstore_installer.h struct Approval : public base::SupportsUserData::Data { base 111 chrome/browser/extensions/webstore_installer.h scoped_ptr<base::DictionaryValue> parsed_manifest, base 197 chrome/browser/extensions/webstore_installer.h static void SetDownloadDirectoryForTests(base::FilePath* directory); base 203 chrome/browser/extensions/webstore_installer.h friend class base::DeleteHelper<WebstoreInstaller>; base 226 chrome/browser/extensions/webstore_installer.h void StartDownload(const base::FilePath& file_path); base 254 chrome/browser/extensions/webstore_installer.h base::OneShotTimer<WebstoreInstaller> download_progress_timer_; base 59 chrome/browser/extensions/webstore_installer_test.cc test_gallery_url_ = base::StringPrintf( base 84 chrome/browser/extensions/webstore_installer_test.cc base::StringPrintf("files/%s/%s", base 95 chrome/browser/extensions/webstore_installer_test.cc std::string script = base::StringPrintf( base 109 chrome/browser/extensions/webstore_installer_test.cc std::string script = base::StringPrintf("%s('%s', %d)", base 121 chrome/browser/extensions/webstore_installer_test.cc std::string script = base::StringPrintf( base 124 chrome/browser/extensions/webstore_installer_test.cc ExecuteJavaScript(base::UTF8ToUTF16(script)); base 13 chrome/browser/extensions/webstore_installer_test.h namespace base { base 26 chrome/browser/extensions/webstore_installer_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 14 chrome/browser/extensions/webstore_installer_unittest.cc using base::StringPrintf; base 74 chrome/browser/extensions/webstore_standalone_installer.cc const base::DictionaryValue& manifest, base 90 chrome/browser/extensions/webstore_standalone_installer.cc scoped_ptr<base::DictionaryValue>(manifest_.get()->DeepCopy()), base 103 chrome/browser/extensions/webstore_standalone_installer.cc scoped_ptr<base::DictionaryValue> webstore_data) { base 190 chrome/browser/extensions/webstore_standalone_installer.cc base::DictionaryValue* manifest) { base 22 chrome/browser/extensions/webstore_standalone_installer.h namespace base { base 44 chrome/browser/extensions/webstore_standalone_installer.h : public base::RefCountedThreadSafe<WebstoreStandaloneInstaller>, base 53 chrome/browser/extensions/webstore_standalone_installer.h typedef base::Callback<void(bool success, const std::string& error)> Callback; base 101 chrome/browser/extensions/webstore_standalone_installer.h const base::DictionaryValue& webstore_data, base 108 chrome/browser/extensions/webstore_standalone_installer.h const base::DictionaryValue& webstore_data, base 114 chrome/browser/extensions/webstore_standalone_installer.h const base::DictionaryValue& manifest, base 139 chrome/browser/extensions/webstore_standalone_installer.h const base::DictionaryValue* manifest() const { return manifest_.get(); } base 142 chrome/browser/extensions/webstore_standalone_installer.h friend class base::RefCountedThreadSafe<WebstoreStandaloneInstaller>; base 162 chrome/browser/extensions/webstore_standalone_installer.h scoped_ptr<base::DictionaryValue> webstore_data) OVERRIDE; base 171 chrome/browser/extensions/webstore_standalone_installer.h base::DictionaryValue* parsed_manifest) OVERRIDE; base 210 chrome/browser/extensions/webstore_standalone_installer.h scoped_ptr<base::DictionaryValue> webstore_data_; base 211 chrome/browser/extensions/webstore_standalone_installer.h scoped_ptr<base::DictionaryValue> manifest_; base 69 chrome/browser/extensions/webstore_startup_installer.cc const base::DictionaryValue& webstore_data, base 78 chrome/browser/extensions/webstore_startup_installer.cc const base::DictionaryValue& webstore_data, base 35 chrome/browser/extensions/webstore_startup_installer.h friend class base::RefCountedThreadSafe<WebstoreStartupInstaller>; base 50 chrome/browser/extensions/webstore_startup_installer.h const base::DictionaryValue& webstore_data, base 53 chrome/browser/extensions/webstore_startup_installer.h const base::DictionaryValue& webstore_data, base 60 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( base 75 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( base 95 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( base 112 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( base 122 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( base 142 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( base 179 chrome/browser/extensions/webstore_startup_installer_browsertest.cc virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE { base 189 chrome/browser/extensions/webstore_startup_installer_browsertest.cc if (base::CommandLine::ForCurrentProcess()->HasSwitch( base 194 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( base 214 chrome/browser/extensions/webstore_startup_installer_browsertest.cc virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE { base 219 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( base 231 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine::ForCurrentProcess()->AppendSwitchASCII( base 286 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); base 298 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); base 314 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine command_line_test1(base::CommandLine::NO_PROGRAM); base 320 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine command_line_test2(base::CommandLine::NO_PROGRAM); base 327 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); base 331 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::MessageLoop::QuitWhenIdleClosure()); base 332 chrome/browser/extensions/webstore_startup_installer_browsertest.cc base::MessageLoop::current()->Run(); base 32 chrome/browser/extensions/window_controller.cc base::DictionaryValue* WindowController::CreateWindowValue() const { base 33 chrome/browser/extensions/window_controller.cc base::DictionaryValue* result = new base::DictionaryValue(); base 18 chrome/browser/extensions/window_controller.h namespace base { base 60 chrome/browser/extensions/window_controller.h virtual base::DictionaryValue* CreateWindowValue() const; base 63 chrome/browser/extensions/window_controller.h virtual base::DictionaryValue* CreateWindowValueWithTabs( base 66 chrome/browser/extensions/window_controller.h virtual base::DictionaryValue* CreateTabValue( base 72 chrome/browser/extensions/window_open_apitest.cc base::StringPrintf("WaitForTabsAndPopups tabs:%d, popups:%d, panels:%d", base 78 chrome/browser/extensions/window_open_apitest.cc const base::TimeDelta kWaitTime = base::TimeDelta::FromSeconds(10); base 79 chrome/browser/extensions/window_open_apitest.cc base::TimeTicks end_time = base::TimeTicks::Now() + kWaitTime; base 80 chrome/browser/extensions/window_open_apitest.cc while (base::TimeTicks::Now() < end_time) { base 142 chrome/browser/extensions/window_open_apitest.cc base::FilePath test_data_dir; base 394 chrome/browser/extensions/window_open_apitest.cc base::KillProcess(extension_host->render_process_host()->GetHandle(), base 71 chrome/browser/external_extension_browsertest.cc base::string16 title = data.tab->GetTitle(); base 73 chrome/browser/external_extension_browsertest.cc content::TitleWatcher title_watcher(data.tab, base::ASCIIToUTF16("OK")); base 74 chrome/browser/external_extension_browsertest.cc title_watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 77 chrome/browser/external_extension_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("OK"), title); base 103 chrome/browser/external_protocol/external_protocol_handler.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 149 chrome/browser/external_protocol/external_protocol_handler.cc base::DictionaryValue* win_pref) { base 258 chrome/browser/external_protocol/external_protocol_handler.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 15 chrome/browser/external_protocol/external_protocol_handler.h namespace base { base 88 chrome/browser/external_protocol/external_protocol_handler.h static void PrepopulateDictionary(base::DictionaryValue* win_pref); base 78 chrome/browser/external_protocol/external_protocol_handler_unittest.cc base::MessageLoop::current()->Quit(); base 104 chrome/browser/external_protocol/external_protocol_handler_unittest.cc : ui_thread_(BrowserThread::UI, base::MessageLoop::current()), base 123 chrome/browser/external_protocol/external_protocol_handler_unittest.cc base::MessageLoop::current()->Run(); base 130 chrome/browser/external_protocol/external_protocol_handler_unittest.cc base::MessageLoopForUI ui_message_loop_; base 243 chrome/browser/favicon/favicon_handler.cc base::Bind( base 245 chrome/browser/favicon/favicon_handler.cc base::Unretained(this)), base 437 chrome/browser/favicon/favicon_handler.cc base::CancelableTaskTracker* tracker) { base 450 chrome/browser/favicon/favicon_handler.cc base::CancelableTaskTracker* tracker) { base 459 chrome/browser/favicon/favicon_handler.cc base::CancelableTaskTracker* tracker) { base 555 chrome/browser/favicon/favicon_handler.cc base::Bind(&FaviconHandler::OnFaviconData, base::Unretained(this)), base 565 chrome/browser/favicon/favicon_handler.cc base::Bind(&FaviconHandler::OnFaviconData, base::Unretained(this)), base 26 chrome/browser/favicon/favicon_handler.h namespace base { base 136 chrome/browser/favicon/favicon_handler.h base::CancelableTaskTracker* tracker); base 142 chrome/browser/favicon/favicon_handler.h base::CancelableTaskTracker* tracker); base 148 chrome/browser/favicon/favicon_handler.h base::CancelableTaskTracker* tracker); base 259 chrome/browser/favicon/favicon_handler.h base::CancelableTaskTracker cancelable_task_tracker_; base 55 chrome/browser/favicon/favicon_handler_unittest.cc scoped_refptr<base::RefCountedBytes> data(new base::RefCountedBytes()); base 261 chrome/browser/favicon/favicon_handler_unittest.cc base::CancelableTaskTracker* tracker) OVERRIDE { base 270 chrome/browser/favicon/favicon_handler_unittest.cc base::CancelableTaskTracker* tracker) OVERRIDE { base 279 chrome/browser/favicon/favicon_handler_unittest.cc base::CancelableTaskTracker* tracker) OVERRIDE { base 296 chrome/browser/favicon/favicon_handler_unittest.cc scoped_refptr<base::RefCountedMemory> bytes = image.As1xPNGBytes(); base 651 chrome/browser/favicon/favicon_handler_unittest.cc bitmap_result.bitmap_data = new base::RefCountedBytes(); base 24 chrome/browser/favicon/favicon_service.cc using base::Bind; base 29 chrome/browser/favicon/favicon_service.cc const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, base 39 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId RunWithEmptyResultAsync( base 41 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 43 chrome/browser/favicon/favicon_service.cc base::MessageLoopProxy::current().get(), base 49 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId GetFaviconForChromeURL( base 54 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 55 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::IsCanceledCallback is_canceled_cb; base 56 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId id = base 80 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId FaviconService::GetFaviconImage( base 85 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 88 chrome/browser/favicon/favicon_service.cc base::Unretained(this), callback, desired_size_in_dip); base 100 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId FaviconService::GetRawFavicon( base 106 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 109 chrome/browser/favicon/favicon_service.cc base::Unretained(this), base 126 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId FaviconService::GetFavicon( base 131 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 143 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId base 150 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 160 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId FaviconService::GetFaviconImageForURL( base 163 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 168 chrome/browser/favicon/favicon_service.cc base::Unretained(this), base 174 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId FaviconService::GetRawFaviconForURL( base 178 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 185 chrome/browser/favicon/favicon_service.cc base::Unretained(this), base 192 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId FaviconService::GetLargestRawFaviconForURL( base 198 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 201 chrome/browser/favicon/favicon_service.cc base::Unretained(this), callback, 0, ui::ScaleFactor()); base 215 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId FaviconService::GetFaviconForURL( base 218 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 225 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId FaviconService::GetLargestRawFaviconForID( base 228 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 235 chrome/browser/favicon/favicon_service.cc base::Unretained(this), base 268 chrome/browser/favicon/favicon_service.cc scoped_refptr<base::RefCountedMemory> bitmap_data, base 288 chrome/browser/favicon/favicon_service.cc scoped_refptr<base::RefCountedBytes> bitmap_data( base 289 chrome/browser/favicon/favicon_service.cc new base::RefCountedBytes()); base 308 chrome/browser/favicon/favicon_service.cc MissingFaviconURLHash url_hash = base::Hash(icon_url.spec()); base 313 chrome/browser/favicon/favicon_service.cc MissingFaviconURLHash url_hash = base::Hash(icon_url.spec()); base 323 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker::TaskId FaviconService::GetFaviconForURLImpl( base 327 chrome/browser/favicon/favicon_service.cc base::CancelableTaskTracker* tracker) { base 405 chrome/browser/favicon/favicon_service.cc bitmap_result.bitmap_data = base::RefCountedBytes::TakeVector( base 63 chrome/browser/favicon/favicon_service.h typedef base::Callback<void(const chrome::FaviconImageResult&)> base 69 chrome/browser/favicon/favicon_service.h typedef base::Callback<void(const chrome::FaviconBitmapResult&)> base 80 chrome/browser/favicon/favicon_service.h typedef base::Callback<void(const std::vector<chrome::FaviconBitmapResult>&)> base 97 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId GetFaviconImage( base 102 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 104 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId GetRawFavicon( base 110 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 112 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId GetFavicon( base 117 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 139 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId UpdateFaviconMappingsAndFetch( base 145 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 158 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId GetFaviconImageForURL( base 161 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 163 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId GetRawFaviconForURL( base 167 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 170 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId GetLargestRawFaviconForURL( base 176 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 178 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId GetFaviconForURL( base 181 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 187 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId GetLargestRawFaviconForID( base 190 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 216 chrome/browser/favicon/favicon_service.h scoped_refptr<base::RefCountedMemory> bitmap_data, base 241 chrome/browser/favicon/favicon_service.h base::hash_set<MissingFaviconURLHash> missing_favicon_urls_; base 247 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker::TaskId GetFaviconForURLImpl( base 251 chrome/browser/favicon/favicon_service.h base::CancelableTaskTracker* tracker); base 145 chrome/browser/favicon/favicon_tab_helper.cc base::Bind(&FaviconTabHelper::DidDownloadFavicon,base::Unretained(this))); base 38 chrome/browser/favicon/favicon_util.cc scoped_refptr<base::RefCountedMemory> best_candidate; base 170 chrome/browser/favicon/favicon_util.cc image->SetSourceColorSpace(base::mac::GetSystemColorSpace()); base 245 chrome/browser/favicon/favicon_util.cc scoped_refptr<base::RefCountedBytes> png_bytes(new base::RefCountedBytes()); base 40 chrome/browser/feedback/feedback_data.cc const base::FilePath::CharType kLogsFilename[] = base 42 chrome/browser/feedback/feedback_data.cc const base::FilePath::CharType kHistogramsFilename[] = base 59 chrome/browser/feedback/feedback_data.cc base::TrimString(key, "\n ", &key); base 60 chrome/browser/feedback/feedback_data.cc base::TrimString(value, "\n ", &value); base 75 chrome/browser/feedback/feedback_data.cc void ZipFile(const base::FilePath& filename, base 87 chrome/browser/feedback/feedback_data.cc base::FilePath(kLogsFilename), logs_string, compressed_logs)) { base 97 chrome/browser/feedback/feedback_data.cc base::FilePath(kHistogramsFilename), base 142 chrome/browser/feedback/feedback_data.cc base::Bind(&FeedbackData::OnGetTraceData, this, trace_id_))) { base 153 chrome/browser/feedback/feedback_data.cc base::Bind(&ZipLogs, base 156 chrome/browser/feedback/feedback_data.cc base::Bind(&FeedbackData::OnCompressLogsComplete, base 158 chrome/browser/feedback/feedback_data.cc base::Passed(&compressed_logs))); base 172 chrome/browser/feedback/feedback_data.cc base::Bind(&ZipHistograms, base 175 chrome/browser/feedback/feedback_data.cc base::Bind(&FeedbackData::OnCompressHistogramsComplete, base 177 chrome/browser/feedback/feedback_data.cc base::Passed(&compressed_histograms))); base 191 chrome/browser/feedback/feedback_data.cc base::FilePath attached_file(base::UTF8ToWide(attached_filename_)); base 193 chrome/browser/feedback/feedback_data.cc base::FilePath attached_file(attached_filename_); base 197 chrome/browser/feedback/feedback_data.cc base::Bind(&ZipFile, base 201 chrome/browser/feedback/feedback_data.cc base::Bind(&FeedbackData::OnCompressFileComplete, base 203 chrome/browser/feedback/feedback_data.cc base::Passed(&compressed_file))); base 209 chrome/browser/feedback/feedback_data.cc scoped_refptr<base::RefCountedString> trace_data) { base 16 chrome/browser/feedback/feedback_data.h namespace base { base 22 chrome/browser/feedback/feedback_data.h class FeedbackData : public base::RefCountedThreadSafe<FeedbackData> { base 108 chrome/browser/feedback/feedback_data.h friend class base::RefCountedThreadSafe<FeedbackData>; base 113 chrome/browser/feedback/feedback_data.h scoped_refptr<base::RefCountedString> trace_data); base 19 chrome/browser/feedback/feedback_profile_observer.cc static base::LazyInstance<feedback::FeedbackProfileObserver>::Leaky base 54 chrome/browser/feedback/feedback_profile_observer.cc BrowserThread::UI, FROM_HERE, base::Bind(&FeedbackUploader::QueueReport, base 63 chrome/browser/feedback/feedback_profile_observer.cc base::Bind( base 66 chrome/browser/feedback/feedback_profile_observer.cc base::Bind(&FeedbackProfileObserver::QueueSingleReport, uploader))); base 29 chrome/browser/feedback/feedback_profile_observer.h friend struct base::DefaultLazyInstanceTraits<FeedbackProfileObserver>; base 17 chrome/browser/feedback/feedback_report.cc const base::FilePath::CharType kFeedbackReportFilenameWildcard[] = base 22 chrome/browser/feedback/feedback_report.cc void WriteReportOnBlockingPool(const base::FilePath reports_path, base 23 chrome/browser/feedback/feedback_report.cc const base::FilePath& file, base 26 chrome/browser/feedback/feedback_report.cc if (!base::DirectoryExists(reports_path)) { base 27 chrome/browser/feedback/feedback_report.cc base::File::Error error; base 28 chrome/browser/feedback/feedback_report.cc if (!base::CreateDirectoryAndGetError(reports_path, &error)) base 31 chrome/browser/feedback/feedback_report.cc base::ImportantFileWriter::WriteFileAtomically(file, data); base 39 chrome/browser/feedback/feedback_report.cc const base::FilePath& path, base 40 chrome/browser/feedback/feedback_report.cc const base::Time& upload_at, base 42 chrome/browser/feedback/feedback_report.cc scoped_refptr<base::SequencedTaskRunner> task_runner) base 50 chrome/browser/feedback/feedback_report.cc kFeedbackReportFilenamePrefix + base::GenerateGUID()); base 52 chrome/browser/feedback/feedback_report.cc reports_task_runner_->PostTask(FROM_HERE, base::Bind( base 59 chrome/browser/feedback/feedback_report.cc reports_task_runner_->PostTask(FROM_HERE, base::Bind( base 60 chrome/browser/feedback/feedback_report.cc base::IgnoreResult(&base::DeleteFile), file_, false)); base 65 chrome/browser/feedback/feedback_report.cc const base::FilePath& user_dir, QueueCallback callback) { base 69 chrome/browser/feedback/feedback_report.cc base::FileEnumerator enumerator(user_dir, base 71 chrome/browser/feedback/feedback_report.cc base::FileEnumerator::FILES, base 73 chrome/browser/feedback/feedback_report.cc for (base::FilePath name = enumerator.Next(); base 79 chrome/browser/feedback/feedback_report.cc base::DeleteFile(name, false); base 16 chrome/browser/feedback/feedback_report.h namespace base { base 22 chrome/browser/feedback/feedback_report.h typedef base::Callback<void(const std::string&)> QueueCallback; base 27 chrome/browser/feedback/feedback_report.h class FeedbackReport : public base::RefCounted<FeedbackReport> { base 29 chrome/browser/feedback/feedback_report.h FeedbackReport(const base::FilePath& path, base 30 chrome/browser/feedback/feedback_report.h const base::Time& upload_at, base 32 chrome/browser/feedback/feedback_report.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 38 chrome/browser/feedback/feedback_report.h const base::Time& upload_at() const { return upload_at_; } base 43 chrome/browser/feedback/feedback_report.h static void LoadReportsAndQueue(const base::FilePath& user_dir, base 47 chrome/browser/feedback/feedback_report.h friend class base::RefCounted<FeedbackReport>; base 51 chrome/browser/feedback/feedback_report.h base::FilePath file_; base 53 chrome/browser/feedback/feedback_report.h base::FilePath reports_path_; base 54 chrome/browser/feedback/feedback_report.h base::Time upload_at_; // Upload this report at or after this time. base 57 chrome/browser/feedback/feedback_report.h scoped_refptr<base::SequencedTaskRunner> reports_task_runner_; base 23 chrome/browser/feedback/feedback_uploader.cc const base::FilePath::CharType kFeedbackReportPath[] = base 33 chrome/browser/feedback/feedback_uploader.cc FeedbackUploader::FeedbackUploader(const base::FilePath& path, base 34 chrome/browser/feedback/feedback_uploader.cc base::SequencedWorkerPool* pool) base 36 chrome/browser/feedback/feedback_uploader.cc retry_delay_(base::TimeDelta::FromMinutes(kRetryDelayMinutes)), base 39 chrome/browser/feedback/feedback_uploader.cc dispatch_callback_ = base::Bind(&FeedbackUploader::DispatchReport, base 46 chrome/browser/feedback/feedback_uploader.cc QueueReportWithDelay(data, base::TimeDelta()); base 54 chrome/browser/feedback/feedback_uploader.cc base::Time now = base::Time::Now(); base 74 chrome/browser/feedback/feedback_uploader.cc base::TimeDelta delay) { base 77 chrome/browser/feedback/feedback_uploader.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 80 chrome/browser/feedback/feedback_uploader.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 83 chrome/browser/feedback/feedback_uploader.cc base::Time::Now() + delay, base 91 chrome/browser/feedback/feedback_uploader.cc const base::TimeDelta& retry_delay) { base 20 chrome/browser/feedback/feedback_uploader.h typedef base::Callback<void(const std::string&)> ReportDataCallback; base 27 chrome/browser/feedback/feedback_uploader.h class FeedbackUploader : public base::SupportsWeakPtr<FeedbackUploader> { base 29 chrome/browser/feedback/feedback_uploader.h explicit FeedbackUploader(const base::FilePath& path, base 30 chrome/browser/feedback/feedback_uploader.h base::SequencedWorkerPool* pool); base 36 chrome/browser/feedback/feedback_uploader.h base::FilePath GetFeedbackReportsPath() { return report_path_; } base 53 chrome/browser/feedback/feedback_uploader.h void QueueReportWithDelay(const std::string& data, base::TimeDelta delay); base 56 chrome/browser/feedback/feedback_uploader.h const base::TimeDelta& retry_delay); base 58 chrome/browser/feedback/feedback_uploader.h base::FilePath report_path_; base 60 chrome/browser/feedback/feedback_uploader.h base::OneShotTimer<FeedbackUploader> upload_timer_; base 68 chrome/browser/feedback/feedback_uploader.h base::TimeDelta retry_delay_; base 70 chrome/browser/feedback/feedback_uploader.h base::SequencedWorkerPool* pool_; base 32 chrome/browser/feedback/feedback_uploader_chrome.cc : FeedbackUploader(context ? context->GetPath() : base::FilePath(), base 48 chrome/browser/feedback/feedback_uploader_chrome.cc base::Bind(&FeedbackUploaderChrome::UpdateUploadTimer, AsWeakPtr()), base 49 chrome/browser/feedback/feedback_uploader_chrome.cc base::Bind(&FeedbackUploaderChrome::RetryReport, AsWeakPtr()))); base 25 chrome/browser/feedback/feedback_uploader_delegate.cc const base::Closure& success_callback, base 23 chrome/browser/feedback/feedback_uploader_delegate.h const base::Closure& success_callback, base 32 chrome/browser/feedback/feedback_uploader_delegate.h base::Closure success_callback_; base 26 chrome/browser/feedback/feedback_uploader_unittest.cc const base::TimeDelta kRetryDelayForTest = base 27 chrome/browser/feedback/feedback_uploader_unittest.cc base::TimeDelta::FromMilliseconds(100); base 50 chrome/browser/feedback/feedback_uploader_unittest.cc base::Bind(&FeedbackUploaderTest::MockDispatchReport, base 51 chrome/browser/feedback/feedback_uploader_unittest.cc base::Unretained(this)), base 93 chrome/browser/feedback/feedback_uploader_unittest.cc run_loop_.reset(new base::RunLoop()); base 97 chrome/browser/feedback/feedback_uploader_unittest.cc base::MessageLoop message_loop_; base 98 chrome/browser/feedback/feedback_uploader_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 194 chrome/browser/feedback/feedback_util.cc std::string name = base::FilePath::FromUTF8Unsafe( base 252 chrome/browser/feedback/feedback_util.cc bool ZipString(const base::FilePath& filename, base 254 chrome/browser/feedback/feedback_util.cc base::FilePath temp_path; base 255 chrome/browser/feedback/feedback_util.cc base::FilePath zip_file; base 259 chrome/browser/feedback/feedback_util.cc if (!base::CreateNewTempDirectory(base::FilePath::StringType(), &temp_path)) base 261 chrome/browser/feedback/feedback_util.cc if (base::WriteFile(temp_path.Append(filename), data.c_str(), data.size()) == base 265 chrome/browser/feedback/feedback_util.cc bool succeed = base::CreateTemporaryFile(&zip_file) && base 267 chrome/browser/feedback/feedback_util.cc base::ReadFileToString(zip_file, compressed_logs); base 269 chrome/browser/feedback/feedback_util.cc base::DeleteFile(temp_path, true); base 270 chrome/browser/feedback/feedback_util.cc base::DeleteFile(zip_file, false); base 39 chrome/browser/feedback/feedback_util.h bool ZipString(const base::FilePath& filename, base 46 chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc std::string os_version = base::SysInfo::OperatingSystemName() + ": " + base 47 chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc base::SysInfo::OperatingSystemVersion(); base 66 chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc scoped_ptr<base::DictionaryValue> sync_logs( base 70 chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc base::ListValue* details = NULL; base 74 chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc for (base::ListValue::iterator it = details->begin(); base 76 chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc base::DictionaryValue* dict = NULL; base 29 chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc data_sources_[i]->Fetch(base::Bind(&SystemLogsFetcherBase::AddResponse, base 20 chrome/browser/feedback/system_logs/system_logs_fetcher_base.h typedef base::Callback<void(SystemLogsResponse* response)> base 24 chrome/browser/feedback/system_logs/system_logs_fetcher_base.h typedef base::Callback<void(scoped_ptr<SystemLogsResponse> response)> base 52 chrome/browser/feedback/system_logs/system_logs_fetcher_base.h : public base::SupportsWeakPtr<SystemLogsFetcherBase> { base 24 chrome/browser/feedback/tracing_manager.cc const base::FilePath::CharType kTracingFilename[] = base 49 chrome/browser/feedback/tracing_manager.cc base::FilePath(), base 50 chrome/browser/feedback/tracing_manager.cc base::Bind(&TracingManager::OnTraceDataCollected, base 67 chrome/browser/feedback/tracing_manager.cc std::map<int, scoped_refptr<base::RefCountedString> >::iterator data = base 73 chrome/browser/feedback/tracing_manager.cc base::MessageLoopProxy::current()->PostTask( base 75 chrome/browser/feedback/tracing_manager.cc base::Bind(callback, data->second)); base 89 chrome/browser/feedback/tracing_manager.cc trace_callback_.Run(scoped_refptr<base::RefCountedString>()); base 101 chrome/browser/feedback/tracing_manager.cc void TracingManager::OnTraceDataCollected(const base::FilePath& path) { base 106 chrome/browser/feedback/tracing_manager.cc if (!base::ReadFileToString(path, &data)) { base 110 chrome/browser/feedback/tracing_manager.cc base::DeleteFile(path, false); base 114 chrome/browser/feedback/tracing_manager.cc base::FilePath(kTracingFilename), data, &output_val); base 116 chrome/browser/feedback/tracing_manager.cc scoped_refptr<base::RefCountedString> output( base 117 chrome/browser/feedback/tracing_manager.cc base::RefCountedString::TakeString(&output_val)); base 130 chrome/browser/feedback/tracing_manager.cc base::MessageLoopProxy::current()->PostTask( base 132 chrome/browser/feedback/tracing_manager.cc base::Bind(&TracingManager::StartTracing, base 16 chrome/browser/feedback/tracing_manager.h namespace base { base 23 chrome/browser/feedback/tracing_manager.h typedef base::Callback<void(scoped_refptr<base::RefCountedString> trace_data)> base 61 chrome/browser/feedback/tracing_manager.h void OnTraceDataCollected(const base::FilePath& path); base 67 chrome/browser/feedback/tracing_manager.h std::map<int, scoped_refptr<base::RefCountedString> > trace_data_; base 72 chrome/browser/feedback/tracing_manager.h base::WeakPtrFactory<TracingManager> weak_ptr_factory_; base 55 chrome/browser/file_select_helper.cc const std::vector<base::FilePath>& paths) { base 72 chrome/browser/file_select_helper.cc std::vector<base::FilePath> results_; base 111 chrome/browser/file_select_helper.cc void FileSelectHelper::FileSelected(const base::FilePath& path, base 125 chrome/browser/file_select_helper.cc const base::FilePath& path = file.local_path; base 140 chrome/browser/file_select_helper.cc const std::vector<base::FilePath>& files, base 176 chrome/browser/file_select_helper.cc void FileSelectHelper::StartNewEnumeration(const base::FilePath& path, base 233 chrome/browser/file_select_helper.cc const std::vector<base::string16>& accept_types) { base 244 chrome/browser/file_select_helper.cc std::vector<base::FilePath::StringType>* extensions = base 251 chrome/browser/file_select_helper.cc std::string ascii_type = base::UTF16ToASCII(accept_types[i]); base 259 chrome/browser/file_select_helper.cc base::FilePath::StringType ext(ascii_type.begin(), ascii_type.end()); base 312 chrome/browser/file_select_helper.cc const base::FilePath& path) { base 338 chrome/browser/file_select_helper.cc base::Bind(&FileSelectHelper::RunFileChooserOnFileThread, this, params)); base 354 chrome/browser/file_select_helper.cc base::Bind(&FileSelectHelper::RunFileChooserOnUIThread, this, params)); base 391 chrome/browser/file_select_helper.cc base::FilePath default_file_name = params.default_file_name.IsAbsolute() ? base 400 chrome/browser/file_select_helper.cc std::pair<std::vector<base::string16>, bool> accept_types = base 412 chrome/browser/file_select_helper.cc base::FilePath::StringType(), base 434 chrome/browser/file_select_helper.cc const base::FilePath& path) { base 482 chrome/browser/file_select_helper.cc base::TrimWhitespaceASCII(accept_type, base::TRIM_ALL, &unused) != base 483 chrome/browser/file_select_helper.cc base::TRIM_NONE) { base 34 chrome/browser/file_select_helper.h : public base::RefCountedThreadSafe<FileSelectHelper>, base 46 chrome/browser/file_select_helper.h const base::FilePath& path); base 49 chrome/browser/file_select_helper.h friend class base::RefCountedThreadSafe<FileSelectHelper>; base 88 chrome/browser/file_select_helper.h const base::FilePath& path, int index, void* params) OVERRIDE; base 93 chrome/browser/file_select_helper.h virtual void MultiFilesSelected(const std::vector<base::FilePath>& files, base 107 chrome/browser/file_select_helper.h const base::FilePath& path); base 110 chrome/browser/file_select_helper.h void StartNewEnumeration(const base::FilePath& path, base 131 chrome/browser/file_select_helper.h const std::vector<base::string16>& accept_types); base 68 chrome/browser/first_run/first_run.cc using base::UserMetricsAction; base 98 chrome/browser/first_run/first_run.cc base::MessageLoop::current()->Quit(); base 168 chrome/browser/first_run/first_run.cc base::DictionaryValue* extensions = 0; base 241 chrome/browser/first_run/first_run.cc base::MessageLoop::current()->Run(); base 253 chrome/browser/first_run/first_run.cc const base::FilePath::StringType& import_bookmarks_path_str = base 255 chrome/browser/first_run/first_run.cc base::UTF8ToUTF16(import_bookmarks_path); base 259 chrome/browser/first_run/first_run.cc source_profile.source_path = base::FilePath(import_bookmarks_path_str); base 408 chrome/browser/first_run/first_run.cc static base::LazyInstance<base::FilePath> master_prefs_path_for_testing base 415 chrome/browser/first_run/first_run.cc base::FilePath master_prefs_path; base 419 chrome/browser/first_run/first_run.cc master_prefs_path = base::FilePath(first_run::internal::MasterPrefsPath()); base 546 chrome/browser/first_run/first_run.cc bool GetFirstRunSentinelFilePath(base::FilePath* path) { base 547 chrome/browser/first_run/first_run.cc base::FilePath user_data_dir; base 555 chrome/browser/first_run/first_run.cc base::FilePath first_run_sentinel; base 557 chrome/browser/first_run/first_run.cc base::WriteFile(first_run_sentinel, "", 0) != -1; base 606 chrome/browser/first_run/first_run.cc return base::StringPrintf("%s.%s", base 619 chrome/browser/first_run/first_run.cc base::FilePath first_run_sentinel; base 621 chrome/browser/first_run/first_run.cc base::DeleteFile(first_run_sentinel, false); base 663 chrome/browser/first_run/first_run.cc void SetMasterPrefsPathForTesting(const base::FilePath& master_prefs) { base 668 chrome/browser/first_run/first_run.cc const base::FilePath& user_data_dir, base 701 chrome/browser/first_run/first_run.cc base::FilePath local_state_path; base 703 chrome/browser/first_run/first_run.cc bool local_state_file_exists = base::PathExists(local_state_path); base 16 chrome/browser/first_run/first_run.h namespace base { base 91 chrome/browser/first_run/first_run.h bool IsFirstRunSuppressed(const base::CommandLine& command_line); base 160 chrome/browser/first_run/first_run.h void SetMasterPrefsPathForTesting(const base::FilePath& master_prefs); base 176 chrome/browser/first_run/first_run.h const base::FilePath& user_data_dir, base 91 chrome/browser/first_run/first_run_browsertest.cc ASSERT_TRUE(base::CreateTemporaryFile(&prefs_file_)); base 92 chrome/browser/first_run/first_run_browsertest.cc EXPECT_TRUE(base::WriteFile(prefs_file_, text_->c_str(), text_->size())); base 100 chrome/browser/first_run/first_run_browsertest.cc EXPECT_TRUE(base::DeleteFile(prefs_file_, false)); base 117 chrome/browser/first_run/first_run_browsertest.cc base::FilePath prefs_file_; base 275 chrome/browser/first_run/first_run_browsertest.cc const base::Value* default_homepage_is_ntp_value = base 11 chrome/browser/first_run/first_run_internal.h namespace base { base 38 chrome/browser/first_run/first_run_internal.h bool GetFirstRunSentinelFilePath(base::FilePath* path); base 61 chrome/browser/first_run/first_run_internal.h base::FilePath MasterPrefsPath(); base 20 chrome/browser/first_run/first_run_internal_linux.cc base::FilePath MasterPrefsPath() { base 22 chrome/browser/first_run/first_run_internal_linux.cc base::FilePath master_prefs; base 23 chrome/browser/first_run/first_run_internal_linux.cc if (!PathService::Get(base::DIR_EXE, &master_prefs)) base 24 chrome/browser/first_run/first_run_internal_linux.cc return base::FilePath(); base 26 chrome/browser/first_run/first_run_internal_posix.cc base::FilePath local_state_path; base 28 chrome/browser/first_run/first_run_internal_posix.cc bool local_state_file_exists = base::PathExists(local_state_path); base 47 chrome/browser/first_run/first_run_internal_posix.cc base::FilePath sentinel; base 48 chrome/browser/first_run/first_run_internal_posix.cc return !GetFirstRunSentinelFilePath(&sentinel) || base::PathExists(sentinel); base 42 chrome/browser/first_run/first_run_internal_win.cc bool LaunchSetupForEula(const base::FilePath::StringType& value, base 44 chrome/browser/first_run/first_run_internal_win.cc base::FilePath exe_dir; base 45 chrome/browser/first_run/first_run_internal_win.cc if (!PathService::Get(base::DIR_MODULE, &exe_dir)) base 48 chrome/browser/first_run/first_run_internal_win.cc base::FilePath exe_path = exe_dir.Append(installer::kSetupExe); base 49 chrome/browser/first_run/first_run_internal_win.cc base::ProcessHandle ph; base 54 chrome/browser/first_run/first_run_internal_win.cc if (base::win::IsMetroProcess()) { base 71 chrome/browser/first_run/first_run_internal_win.cc if (!base::LaunchProcess(setup_path, base::LaunchOptions(), &ph) || base 72 chrome/browser/first_run/first_run_internal_win.cc !base::WaitForExitCode(ph, &exit_code)) { base 81 chrome/browser/first_run/first_run_internal_win.cc bool GetEULASentinelFilePath(base::FilePath* path) { base 94 chrome/browser/first_run/first_run_internal_win.cc base::FilePath eula_sentinel; base 98 chrome/browser/first_run/first_run_internal_win.cc !base::PathExists(eula_sentinel)) { base 107 chrome/browser/first_run/first_run_internal_win.cc bool WriteEULAtoTempFile(base::FilePath* eula_path) { base 110 chrome/browser/first_run/first_run_internal_win.cc base::CreateTemporaryFile(eula_path) && base 111 chrome/browser/first_run/first_run_internal_win.cc base::WriteFile(*eula_path, terms.data(), terms.size()) != -1); base 117 chrome/browser/first_run/first_run_internal_win.cc base::FilePath eula_sentinel; base 121 chrome/browser/first_run/first_run_internal_win.cc return (base::CreateDirectory(eula_sentinel.DirName()) && base 122 chrome/browser/first_run/first_run_internal_win.cc base::WriteFile(eula_sentinel, "", 0) != -1); base 137 chrome/browser/first_run/first_run_internal_win.cc base::FilePath chrome_exe; base 138 chrome/browser/first_run/first_run_internal_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 143 chrome/browser/first_run/first_run_internal_win.cc base::Bind(&InstallUtil::TriggerActiveSetupCommand), base 144 chrome/browser/first_run/first_run_internal_win.cc base::TimeDelta::FromSeconds(kTiggerActiveSetupDelaySeconds)); base 149 chrome/browser/first_run/first_run_internal_win.cc base::FilePath sentinel; base 150 chrome/browser/first_run/first_run_internal_win.cc if (!GetFirstRunSentinelFilePath(&sentinel) || base::PathExists(sentinel)) base 155 chrome/browser/first_run/first_run_internal_win.cc base::FilePath exe_path; base 156 chrome/browser/first_run/first_run_internal_win.cc if (PathService::Get(base::DIR_EXE, &exe_path) && base 158 chrome/browser/first_run/first_run_internal_win.cc base::FilePath legacy_sentinel = exe_path.Append(chrome::kFirstRunSentinel); base 159 chrome/browser/first_run/first_run_internal_win.cc if (base::PathExists(legacy_sentinel)) { base 162 chrome/browser/first_run/first_run_internal_win.cc bool migrated = base::CopyFile(legacy_sentinel, sentinel); base 180 chrome/browser/first_run/first_run_internal_win.cc base::FilePath inner_html; base 203 chrome/browser/first_run/first_run_internal_win.cc base::FilePath MasterPrefsPath() { base 205 chrome/browser/first_run/first_run_internal_win.cc base::FilePath master_prefs; base 206 chrome/browser/first_run/first_run_internal_win.cc if (!PathService::Get(base::DIR_EXE, &master_prefs)) base 207 chrome/browser/first_run/first_run_internal_win.cc return base::FilePath(); base 25 chrome/browser/first_run/first_run_unittest.cc base::ScopedPathOverride user_data_dir_override_; base 31 chrome/browser/first_run/first_run_unittest.cc base::FilePath sentinel_path; base 35 chrome/browser/first_run/first_run_unittest.cc EXPECT_TRUE(base::PathExists(sentinel_path)); base 38 chrome/browser/first_run/first_run_unittest.cc EXPECT_FALSE(base::PathExists(sentinel_path)); base 280 chrome/browser/first_run/try_chrome_dialog_view.cc base::i18n::IsRTL()); base 296 chrome/browser/first_run/try_chrome_dialog_view.cc base::MessageLoop::current()->Run(); base 369 chrome/browser/first_run/try_chrome_dialog_view.cc base::MessageLoop::current()->Quit(); base 63 chrome/browser/first_run/try_chrome_dialog_view.h typedef base::Callback<void(gfx::NativeWindow active_dialog)> base 16 chrome/browser/first_run/upgrade_util.h namespace base { base 24 chrome/browser/first_run/upgrade_util.h bool RelaunchChromeBrowser(const base::CommandLine& command_line); base 45 chrome/browser/first_run/upgrade_util.h bool RelaunchChromeWithMode(const base::CommandLine& command_line, base 52 chrome/browser/first_run/upgrade_util.h void SetNewCommandLine(base::CommandLine* new_command_line); base 26 chrome/browser/first_run/upgrade_util_linux.cc return base::LaunchProcess(command_line, base::LaunchOptions(), NULL); base 38 chrome/browser/first_run/upgrade_util_linux.cc base::FilePath exe_file_path; base 39 chrome/browser/first_run/upgrade_util_linux.cc if (!PathService::Get(base::FILE_EXE, &exe_file_path)) { base 43 chrome/browser/first_run/upgrade_util_linux.cc base::File::Info exe_file_info; base 44 chrome/browser/first_run/upgrade_util_linux.cc if (!base::GetFileInfo(exe_file_path, &exe_file_info)) { base 42 chrome/browser/first_run/upgrade_util_win.cc bool GetNewerChromeFile(base::FilePath* path) { base 43 chrome/browser/first_run/upgrade_util_win.cc if (!PathService::Get(base::DIR_EXE, path)) base 50 chrome/browser/first_run/upgrade_util_win.cc base::win::ScopedComPtr<IProcessLauncher> ipl; base 71 chrome/browser/first_run/upgrade_util_win.cc base::FilePath GetMetroRelauncherPath(const base::FilePath& chrome_exe, base 73 chrome/browser/first_run/upgrade_util_win.cc base::FilePath path(chrome_exe.DirName()); base 117 chrome/browser/first_run/upgrade_util_win.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 126 chrome/browser/first_run/upgrade_util_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) base 127 chrome/browser/first_run/upgrade_util_win.cc return base::LaunchProcess(command_line, base::LaunchOptions(), NULL); base 133 chrome/browser/first_run/upgrade_util_win.cc base::FilePath chrome_exe; base 134 chrome/browser/first_run/upgrade_util_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 146 chrome/browser/first_run/upgrade_util_win.cc base::string16 mutex_name = base 147 chrome/browser/first_run/upgrade_util_win.cc base::StringPrintf(L"chrome.relaunch.%d", ::GetCurrentProcessId()); base 169 chrome/browser/first_run/upgrade_util_win.cc base::string16 params(relaunch_cmd.GetCommandLineString()); base 170 chrome/browser/first_run/upgrade_util_win.cc base::string16 path(GetMetroRelauncherPath(chrome_exe, version_str).value()); base 204 chrome/browser/first_run/upgrade_util_win.cc base::FilePath new_chrome_exe; base 207 chrome/browser/first_run/upgrade_util_win.cc return base::PathExists(new_chrome_exe); base 211 chrome/browser/first_run/upgrade_util_win.cc base::FilePath new_chrome_exe; base 214 chrome/browser/first_run/upgrade_util_win.cc if (!base::PathExists(new_chrome_exe)) base 216 chrome/browser/first_run/upgrade_util_win.cc base::FilePath cur_chrome_exe; base 217 chrome/browser/first_run/upgrade_util_win.cc if (!PathService::Get(base::FILE_EXE, &cur_chrome_exe)) base 225 chrome/browser/first_run/upgrade_util_win.cc base::win::RegKey key; base 232 chrome/browser/first_run/upgrade_util_win.cc base::win::ScopedHandle handle; base 233 chrome/browser/first_run/upgrade_util_win.cc base::LaunchOptions options; base 236 chrome/browser/first_run/upgrade_util_win.cc if (base::LaunchProcess(rename_cmd, options, &handle)) { base 253 chrome/browser/first_run/upgrade_util_win.cc if (base::win::IsMetroProcess()) base 8 chrome/browser/first_run/upgrade_util_win.h namespace base { base 24 chrome/browser/first_run/upgrade_util_win.h bool DoUpgradeTasks(const base::CommandLine& command_line); base 22 chrome/browser/fullscreen_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 35 chrome/browser/geolocation/access_token_store_browsertest.cc const char* ref_url, const base::string16* token_to_expect, base 36 chrome/browser/geolocation/access_token_store_browsertest.cc const base::string16* token_to_set); base 44 chrome/browser/geolocation/access_token_store_browsertest.cc const base::string16* token_to_expect_; base 45 chrome/browser/geolocation/access_token_store_browsertest.cc const base::string16* token_to_set_; base 65 chrome/browser/geolocation/access_token_store_browsertest.cc const char* ref_url, const base::string16* token_to_expect, base 66 chrome/browser/geolocation/access_token_store_browsertest.cc const base::string16* token_to_set) { base 73 chrome/browser/geolocation/access_token_store_browsertest.cc base::Bind( base 76 chrome/browser/geolocation/access_token_store_browsertest.cc base::Bind( base 78 chrome/browser/geolocation/access_token_store_browsertest.cc base::Unretained(this)))); base 103 chrome/browser/geolocation/access_token_store_browsertest.cc BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure()); base 107 chrome/browser/geolocation/access_token_store_browsertest.cc const base::string16 ref_token1 = base::ASCIIToUTF16("jksdfo90,'s#\"#1*("); base 108 chrome/browser/geolocation/access_token_store_browsertest.cc const base::string16 ref_token2 = base 109 chrome/browser/geolocation/access_token_store_browsertest.cc base::ASCIIToUTF16("\1\2\3\4\5\6\7\10\11\12=023"); base 126 chrome/browser/geolocation/access_token_store_browsertest.cc const base::string16 ref_token1 = base::ASCIIToUTF16("jksdfo90,'s#\"#1*("); base 40 chrome/browser/geolocation/chrome_access_token_store.cc class TokenLoadingJob : public base::RefCountedThreadSafe<TokenLoadingJob> { base 52 chrome/browser/geolocation/chrome_access_token_store.cc base::Bind(&TokenLoadingJob::PerformWorkOnUIThread, this), base 53 chrome/browser/geolocation/chrome_access_token_store.cc base::Bind(&TokenLoadingJob::RespondOnOriginatingThread, this)); base 65 chrome/browser/geolocation/chrome_access_token_store.cc base::DictionaryValue* token_dictionary = update.Get(); base 70 chrome/browser/geolocation/chrome_access_token_store.cc for (base::DictionaryValue::Iterator it(*token_dictionary); !it.IsAtEnd(); base 116 chrome/browser/geolocation/chrome_access_token_store.cc const base::string16& token) { base 120 chrome/browser/geolocation/chrome_access_token_store.cc base::DictionaryValue* access_token_dictionary = update.Get(); base 122 chrome/browser/geolocation/chrome_access_token_store.cc server_url.spec(), new base::StringValue(token)); base 127 chrome/browser/geolocation/chrome_access_token_store.cc const base::string16& access_token) { base 130 chrome/browser/geolocation/chrome_access_token_store.cc base::Bind(&SetAccessTokenOnUIThread, server_url, access_token)); base 28 chrome/browser/geolocation/chrome_access_token_store.h const GURL& server_url, const base::string16& access_token) OVERRIDE; base 44 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Callback<void(bool)> callback, base 50 chrome/browser/geolocation/chrome_geolocation_permission_context.cc virtual base::string16 GetMessageText() const OVERRIDE; base 51 chrome/browser/geolocation/chrome_geolocation_permission_context.cc virtual base::string16 GetMessageTextFragment() const OVERRIDE; base 63 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Callback<void(bool)> callback_; base 71 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Callback<void(bool)> callback, base 85 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::string16 GeolocationPermissionRequest::GetMessageText() const { base 90 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::string16 GeolocationPermissionRequest::GetMessageTextFragment() const { base 138 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Callback<void(bool)> callback) { base 143 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Bind( base 216 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Callback<void(bool)> callback) { base 241 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Bind( base 243 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Unretained(this), id, requesting_frame, callback)); base 253 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Callback<void(bool)> callback) { base 255 chrome/browser/geolocation/chrome_geolocation_permission_context.cc id, requesting_frame, embedder, accept_button_label, base::Bind( base 257 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Unretained(this), id, requesting_frame, callback)); base 270 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Callback<void(bool)> callback, base 278 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Callback<void(bool)> callback, base 315 chrome/browser/geolocation/chrome_geolocation_permission_context.cc base::Bind( base 35 chrome/browser/geolocation/chrome_geolocation_permission_context.h base::Callback<void(bool)> callback) OVERRIDE; base 51 chrome/browser/geolocation/chrome_geolocation_permission_context.h base::Callback<void(bool)> callback, base 73 chrome/browser/geolocation/chrome_geolocation_permission_context.h base::Callback<void(bool)> callback); base 82 chrome/browser/geolocation/chrome_geolocation_permission_context.h base::Callback<void(bool)> callback, base 98 chrome/browser/geolocation/chrome_geolocation_permission_context.h base::Callback<void(bool)> callback); base 32 chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc base::Callback<void(bool)> callback) { base 45 chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc base::Callback<void(bool)> callback) { base 64 chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc base::Closure ui_closure; base 69 chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc ui_closure = base::Bind( base 74 chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc ui_closure = base::Bind( base 91 chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc base::Callback<void(bool)> callback) { base 97 chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc base::Bind( base 106 chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc base::Callback<void(bool)> callback, base 34 chrome/browser/geolocation/chrome_geolocation_permission_context_android.h base::Callback<void(bool)> callback) OVERRIDE; base 39 chrome/browser/geolocation/chrome_geolocation_permission_context_android.h base::Callback<void(bool)> callback, base 47 chrome/browser/geolocation/chrome_geolocation_permission_context_android.h base::Callback<void(bool)> callback); base 56 chrome/browser/geolocation/chrome_geolocation_permission_context_android.h base::Callback<void(bool)> callback); base 137 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::hash_map<int, std::pair<int, bool> > responses_; base 165 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::Bind(&GeolocationPermissionContextTests::PermissionResponse, base 166 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::Unretained(this), id)); base 168 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::RunLoop().RunUntilIdle(); base 289 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::string16 text_0 = infobar_delegate_0->GetButtonLabel( base 300 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::string16 text_1 = infobar_delegate_1->GetButtonLabel( base 365 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::string16 text_0 = infobar_delegate_0->GetMessageText(); base 383 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::string16 text_1 = infobar_delegate_1->GetMessageText(); base 484 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::string16 text_0 = infobar_delegate_0->GetMessageText(); base 498 chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc base::string16 text_1 = infobar_delegate_1->GetMessageText(); base 88 chrome/browser/geolocation/geolocation_browsertest.cc std::string script(base::StringPrintf( base 92 chrome/browser/geolocation/geolocation_browsertest.cc web_contents->GetMainFrame()->ExecuteJavaScript(base::UTF8ToUTF16(script)); base 95 chrome/browser/geolocation/geolocation_browsertest.cc EXPECT_EQ(base::StringPrintf("\"%d\"", iframe_id), javascript_response_); base 98 chrome/browser/geolocation/geolocation_browsertest.cc script = base::StringPrintf( base 120 chrome/browser/geolocation/geolocation_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 203 chrome/browser/geolocation/geolocation_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 212 chrome/browser/geolocation/geolocation_browsertest.cc render_frame_host->ExecuteJavaScript(base::UTF8ToUTF16(script)); base 378 chrome/browser/geolocation/geolocation_browsertest.cc web_contents, base::Bind(&content::FrameMatchesName, frame_name)); base 396 chrome/browser/geolocation/geolocation_browsertest.cc CheckStringValueFromJavascript(base::DoubleToString(latitude), base 398 chrome/browser/geolocation/geolocation_browsertest.cc CheckStringValueFromJavascript(base::DoubleToString(longitude), base 442 chrome/browser/geolocation/geolocation_browsertest.cc std::string script(base::StringPrintf( base 727 chrome/browser/geolocation/geolocation_browsertest.cc std::string script = base::StringPrintf( base 144 chrome/browser/geolocation/geolocation_infobar_delegate.cc base::string16 GeolocationInfoBarDelegate::GetMessageText() const { base 149 chrome/browser/geolocation/geolocation_infobar_delegate.cc base::string16 GeolocationInfoBarDelegate::GetButtonLabel( base 162 chrome/browser/geolocation/geolocation_infobar_delegate.cc base::string16 GeolocationInfoBarDelegate::GetLinkText() const { base 60 chrome/browser/geolocation/geolocation_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 61 chrome/browser/geolocation/geolocation_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 63 chrome/browser/geolocation/geolocation_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 73 chrome/browser/geolocation/geolocation_infobar_delegate_android.cc base::string16 GeolocationInfoBarDelegateAndroid::GetButtonLabel( base 76 chrome/browser/geolocation/geolocation_infobar_delegate_android.cc base::UTF8ToUTF16(accept_button_label_ ) : base 27 chrome/browser/geolocation/geolocation_infobar_delegate_android.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 28 chrome/browser/geolocation/geolocation_settings_state_unittest.cc base::MessageLoop message_loop_; base 17 chrome/browser/google/google_update_settings_posix.cc base::LazyInstance<std::string>::Leaky g_posix_guid = LAZY_INSTANCE_INITIALIZER; base 18 chrome/browser/google/google_update_settings_posix.cc base::LazyInstance<base::Lock>::Leaky g_posix_guid_lock = base 28 chrome/browser/google/google_update_settings_posix.cc base::FilePath consent_file; base 32 chrome/browser/google/google_update_settings_posix.cc bool consented = base::ReadFileToString(consent_file, &tmp_guid); base 34 chrome/browser/google/google_update_settings_posix.cc base::AutoLock lock(g_posix_guid_lock.Get()); base 42 chrome/browser/google/google_update_settings_posix.cc base::FilePath consent_dir; base 44 chrome/browser/google/google_update_settings_posix.cc if (!base::DirectoryExists(consent_dir)) base 47 chrome/browser/google/google_update_settings_posix.cc base::AutoLock lock(g_posix_guid_lock.Get()); base 49 chrome/browser/google/google_update_settings_posix.cc base::FilePath consent_file = consent_dir.AppendASCII(kConsentToSendStats); base 51 chrome/browser/google/google_update_settings_posix.cc if ((!base::PathExists(consent_file)) || base 52 chrome/browser/google/google_update_settings_posix.cc (base::PathExists(consent_file) && !g_posix_guid.Get().empty())) { base 55 chrome/browser/google/google_update_settings_posix.cc return base::WriteFile(consent_file, c_str, size) == size; base 59 chrome/browser/google/google_update_settings_posix.cc return base::DeleteFile(consent_file, false); base 66 chrome/browser/google/google_update_settings_posix.cc base::AutoLock lock(g_posix_guid_lock.Get()); base 74 chrome/browser/google/google_update_settings_posix.cc base::FilePath consent_dir; base 76 chrome/browser/google/google_update_settings_posix.cc if (!base::DirectoryExists(consent_dir) || base 83 chrome/browser/google/google_update_settings_posix.cc base::AutoLock lock(g_posix_guid_lock.Get()); base 21 chrome/browser/google/google_update_settings_unittest.cc base::ScopedPathOverride user_data_dir_override_; base 38 chrome/browser/google/google_update_win.cc const base::FilePath& chrome_exe_path) { base 45 chrome/browser/google/google_update_win.cc base::FilePath user_exe_path = installer::GetChromeInstallPath(false, dist); base 46 chrome/browser/google/google_update_win.cc base::FilePath machine_exe_path = installer::GetChromeInstallPath(true, dist); base 47 chrome/browser/google/google_update_win.cc if (!base::FilePath::CompareEqualIgnoreCase(chrome_exe_path.value(), base 49 chrome/browser/google/google_update_win.cc !base::FilePath::CompareEqualIgnoreCase(chrome_exe_path.value(), base 59 chrome/browser/google/google_update_win.cc base::string16 app_guid = installer::GetAppGuidForUpdates( base 88 chrome/browser/google/google_update_win.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 93 chrome/browser/google/google_update_win.cc base::string16 elevation_moniker_name = base 94 chrome/browser/google/google_update_win.cc base::StringPrintf(L"Elevation:Administrator!new:%ls", base 184 chrome/browser/google/google_update_win.cc base::MessageLoop::current()->Quit(); base 203 chrome/browser/google/google_update_win.cc STDMETHOD(GetVersionInfo)(base::string16* version_string) { base 210 chrome/browser/google/google_update_win.cc STDMETHOD(GetErrorMessage)(base::string16* error_message) { base 220 chrome/browser/google/google_update_win.cc base::string16 new_version_; base 223 chrome/browser/google/google_update_win.cc base::string16 error_message_; base 227 chrome/browser/google/google_update_win.cc base::win::ScopedComPtr<IProgressWndEvents> event_sink_; base 245 chrome/browser/google/google_update_win.cc base::Bind(&GoogleUpdate::InitiateGoogleUpdateCheck, this, base 246 chrome/browser/google/google_update_win.cc install_if_newer, window, base::MessageLoop::current())); base 254 chrome/browser/google/google_update_win.cc base::MessageLoop* main_loop) { base 255 chrome/browser/google/google_update_win.cc base::FilePath chrome_exe; base 256 chrome/browser/google/google_update_win.cc if (!PathService::Get(base::DIR_EXE, &chrome_exe)) base 263 chrome/browser/google/google_update_win.cc base::Bind(&GoogleUpdate::ReportResults, this, base 264 chrome/browser/google/google_update_win.cc UPGRADE_ERROR, error_code, base::string16())); base 278 chrome/browser/google/google_update_win.cc base::string16 error_code = base::StringPrintf(L"%d: 0x%x", error, hr); base 287 chrome/browser/google/google_update_win.cc base::win::ScopedComPtr<IJobObserver> job_holder(job_observer); base 289 chrome/browser/google/google_update_win.cc base::win::ScopedComPtr<IGoogleUpdate> on_demand; base 311 chrome/browser/google/google_update_win.cc base::string16 error_code = base::StringPrintf(L"%d: 0x%x", error, hr); base 322 chrome/browser/google/google_update_win.cc base::string16 app_guid = installer::GetAppGuidForUpdates(system_level); base 332 chrome/browser/google/google_update_win.cc base::string16 error_code = base::StringPrintf(L"%d: 0x%x", error, hr); base 345 chrome/browser/google/google_update_win.cc base::MessageLoop::current()->Run(); base 352 chrome/browser/google/google_update_win.cc base::string16 error_code = base::StringPrintf(L"%d: 0x%x", error, hr); base 362 chrome/browser/google/google_update_win.cc base::string16 error_message; base 371 chrome/browser/google/google_update_win.cc base::string16 error_code = base::StringPrintf(L"%d: 0x%x", error, hr); base 382 chrome/browser/google/google_update_win.cc base::Bind(&GoogleUpdate::ReportResults, this, base 383 chrome/browser/google/google_update_win.cc results, GOOGLE_UPDATE_NO_ERROR, base::string16())); base 390 chrome/browser/google/google_update_win.cc const base::string16& error_message) { base 402 chrome/browser/google/google_update_win.cc const base::string16& error_message, base 403 chrome/browser/google/google_update_win.cc base::MessageLoop* main_loop) { base 409 chrome/browser/google/google_update_win.cc base::Bind(&GoogleUpdate::ReportResults, this, base 13 chrome/browser/google/google_update_win.h namespace base { base 80 chrome/browser/google/google_update_win.h const base::string16& error_message, base 81 chrome/browser/google/google_update_win.h const base::string16& version) = 0; base 92 chrome/browser/google/google_update_win.h class GoogleUpdate : public base::RefCountedThreadSafe<GoogleUpdate> { base 110 chrome/browser/google/google_update_win.h friend class base::RefCountedThreadSafe<GoogleUpdate>; base 118 chrome/browser/google/google_update_win.h const base::string16& error_message, base 119 chrome/browser/google/google_update_win.h base::MessageLoop* main_loop); base 127 chrome/browser/google/google_update_win.h base::MessageLoop* main_loop); base 135 chrome/browser/google/google_update_win.h const base::string16& error_message); base 139 chrome/browser/google/google_update_win.h base::string16 version_available_; base 41 chrome/browser/google/google_url_tracker.cc infobar_creator_(base::Bind(&GoogleURLTrackerInfoBarDelegate::Create)), base 65 chrome/browser/google/google_url_tracker.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 66 chrome/browser/google/google_url_tracker.cc base::Bind(&GoogleURLTracker::FinishSleep, base 68 chrome/browser/google/google_url_tracker.cc base::TimeDelta::FromMilliseconds(kStartFetchDelayMS)); base 139 chrome/browser/google/google_url_tracker.cc base::TrimWhitespace(url_str, base::TRIM_ALL, &url_str); base 158 chrome/browser/google/google_url_tracker.cc base::string16 fetched_host(net::StripWWWFromHost(fetched_google_url_)); base 182 chrome/browser/google/google_url_tracker.h base::Callback<InfoBar*(InfoBarService*, GoogleURLTracker*, const GURL&)> base 204 chrome/browser/google/google_url_tracker.h base::WeakPtrFactory<GoogleURLTracker> weak_ptr_factory_; base 84 chrome/browser/google/google_url_tracker_infobar_delegate.cc base::string16 GoogleURLTrackerInfoBarDelegate::GetMessageText() const { base 91 chrome/browser/google/google_url_tracker_infobar_delegate.cc base::string16 GoogleURLTrackerInfoBarDelegate::GetButtonLabel( base 103 chrome/browser/google/google_url_tracker_infobar_delegate.cc base::string16 GoogleURLTrackerInfoBarDelegate::GetLinkText() const { base 45 chrome/browser/google/google_url_tracker_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 46 chrome/browser/google/google_url_tracker_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 47 chrome/browser/google/google_url_tracker_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 300 chrome/browser/google/google_url_tracker_unittest.cc google_url_tracker_->infobar_creator_ = base::Bind( base 301 chrome/browser/google/google_url_tracker_unittest.cc &GoogleURLTrackerTest::CreateTestInfoBar, base::Unretained(this)); base 350 chrome/browser/google/google_url_tracker_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 140 chrome/browser/google/google_util.cc base::string16 brand16; base 143 chrome/browser/google/google_util.cc brand->assign(base::UTF16ToASCII(brand16)); base 148 chrome/browser/google/google_util.cc base::string16 brand16; base 151 chrome/browser/google/google_util.cc brand->assign(base::UTF16ToASCII(brand16)); base 25 chrome/browser/google/google_util_chromeos.cc const base::FilePath::CharType kRLZBrandFilePath[] = base 31 chrome/browser/google/google_util_chromeos.cc base::FilePath brand_file_path(kRLZBrandFilePath); base 32 chrome/browser/google/google_util_chromeos.cc if (!base::ReadFileToString(brand_file_path, &brand)) base 34 chrome/browser/google/google_util_chromeos.cc base::TrimWhitespace(brand, base::TRIM_ALL, &brand); base 39 chrome/browser/google/google_util_chromeos.cc void SetBrand(const base::Closure& callback, const std::string& brand) { base 66 chrome/browser/google/google_util_chromeos.cc void InitBrand(const base::Closure& callback) { base 77 chrome/browser/google/google_util_chromeos.cc base::PostTaskAndReplyWithResult( base 78 chrome/browser/google/google_util_chromeos.cc base::WorkerPool::GetTaskRunner(false /* task_is_slow */).get(), base 80 chrome/browser/google/google_util_chromeos.cc base::Bind(&ReadBrandFromFile), base 81 chrome/browser/google/google_util_chromeos.cc base::Bind(&SetBrand, callback)); base 26 chrome/browser/google/google_util_chromeos.h void InitBrand(const base::Closure& callback); base 17 chrome/browser/gpu/gpu_feature_checker.h class GPUFeatureChecker : public base::RefCountedThreadSafe<GPUFeatureChecker>, base 20 chrome/browser/gpu/gpu_feature_checker.h typedef base::Callback<void(bool feature_available)> FeatureAvailableCallback; base 33 chrome/browser/gpu/gpu_feature_checker.h friend class base::RefCountedThreadSafe<GPUFeatureChecker>; base 16 chrome/browser/gpu/gpu_mode_manager.cc using base::UserMetricsAction; base 50 chrome/browser/gpu/gpu_mode_manager.cc base::Bind(&base::DoNothing)); base 47 chrome/browser/guestview/adview/adview_guest.cc const base::string16& frame_unique_name, base 52 chrome/browser/guestview/adview/adview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 60 chrome/browser/guestview/adview/adview_guest.cc const base::string16& frame_unique_name, base 64 chrome/browser/guestview/adview/adview_guest.cc const base::string16& error_description, base 68 chrome/browser/guestview/adview/adview_guest.cc base::RemoveChars(net::ErrorToString(error_code), "net::", &error_type); base 70 chrome/browser/guestview/adview/adview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 37 chrome/browser/guestview/adview/adview_guest.h const base::string16& frame_unique_name, base 44 chrome/browser/guestview/adview/adview_guest.h const base::string16& frame_unique_name, base 48 chrome/browser/guestview/adview/adview_guest.h const base::string16& error_description, base 25 chrome/browser/guestview/guestview.cc static base::LazyInstance<EmbedderGuestViewMap> embedder_guestview_map = base 29 chrome/browser/guestview/guestview.cc static base::LazyInstance<WebContentsGuestViewMap> webcontents_guestview_map = base 35 chrome/browser/guestview/guestview.cc scoped_ptr<base::DictionaryValue> args) base 43 chrome/browser/guestview/guestview.cc scoped_ptr<base::DictionaryValue> GuestView::Event::GetArguments() { base 142 chrome/browser/guestview/guestview.cc const base::DictionaryValue& args) { base 161 chrome/browser/guestview/guestview.cc base::MessageLoop::current()->PostTask( base 163 chrome/browser/guestview/guestview.cc base::Bind(&GuestView::SendQueuedEvents, base 205 chrome/browser/guestview/guestview.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 33 chrome/browser/guestview/guestview.h Event(const std::string& name, scoped_ptr<base::DictionaryValue> args); base 38 chrome/browser/guestview/guestview.h scoped_ptr<base::DictionaryValue> GetArguments(); base 42 chrome/browser/guestview/guestview.h scoped_ptr<base::DictionaryValue> args_; base 72 chrome/browser/guestview/guestview.h const base::DictionaryValue& args); base 145 chrome/browser/guestview/guestview.h base::WeakPtrFactory<GuestView> weak_ptr_factory_; base 54 chrome/browser/guestview/webview/plugin_permission_helper.cc const base::string16& name, base 63 chrome/browser/guestview/webview/plugin_permission_helper.cc base::DictionaryValue info; base 69 chrome/browser/guestview/webview/plugin_permission_helper.cc base::Bind(&PluginPermissionHelper::OnPermissionResponse, base 74 chrome/browser/guestview/webview/plugin_permission_helper.cc base::UserMetricsAction("WebView.Guest.PluginLoadRequest")); base 78 chrome/browser/guestview/webview/plugin_permission_helper.cc const base::FilePath& plugin_path) { base 26 chrome/browser/guestview/webview/plugin_permission_helper.h void OnBlockedUnauthorizedPlugin(const base::string16& name, base 28 chrome/browser/guestview/webview/plugin_permission_helper.h void OnCouldNotLoadPlugin(const base::FilePath& plugin_path); base 43 chrome/browser/guestview/webview/plugin_permission_helper.h base::WeakPtrFactory<PluginPermissionHelper> weak_factory_; base 34 chrome/browser/guestview/webview/webview_find_helper.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 53 chrome/browser/guestview/webview/webview_find_helper.cc for (std::vector<base::WeakPtr<WebviewFindHelper::FindInfo> >::iterator i = base 86 chrome/browser/guestview/webview/webview_find_helper.cc const base::string16& search_text, base 111 chrome/browser/guestview/webview/webview_find_helper.cc const base::string16& current_search_text = base 206 chrome/browser/guestview/webview/webview_find_helper.cc base::DictionaryValue* results) { base 209 chrome/browser/guestview/webview/webview_find_helper.cc base::DictionaryValue rect; base 218 chrome/browser/guestview/webview/webview_find_helper.cc const base::string16& search_text) : search_text_(search_text) { base 234 chrome/browser/guestview/webview/webview_find_helper.cc base::DictionaryValue* results) { base 241 chrome/browser/guestview/webview/webview_find_helper.cc const base::string16& search_text, base 265 chrome/browser/guestview/webview/webview_find_helper.cc base::WeakPtr<WebviewFindHelper::FindInfo> base 272 chrome/browser/guestview/webview/webview_find_helper.cc base::DictionaryValue results; base 40 chrome/browser/guestview/webview/webview_find_helper.h const base::string16& search_text, base 65 chrome/browser/guestview/webview/webview_find_helper.h void PrepareResults(base::DictionaryValue* results); base 81 chrome/browser/guestview/webview/webview_find_helper.h explicit FindUpdateEvent(const base::string16& search_text); base 91 chrome/browser/guestview/webview/webview_find_helper.h void PrepareResults(base::DictionaryValue* results); base 94 chrome/browser/guestview/webview/webview_find_helper.h const base::string16 search_text_; base 104 chrome/browser/guestview/webview/webview_find_helper.h const base::string16& search_text, base 110 chrome/browser/guestview/webview/webview_find_helper.h void AddFindNextRequest(const base::WeakPtr<FindInfo>& request) { base 120 chrome/browser/guestview/webview/webview_find_helper.h base::WeakPtr<FindInfo> AsWeakPtr(); base 134 chrome/browser/guestview/webview/webview_find_helper.h const base::string16& search_text() { base 144 chrome/browser/guestview/webview/webview_find_helper.h const base::string16 search_text_; base 154 chrome/browser/guestview/webview/webview_find_helper.h std::vector<base::WeakPtr<FindInfo> > find_next_requests_; base 157 chrome/browser/guestview/webview/webview_find_helper.h base::WeakPtrFactory<FindInfo> weak_ptr_factory_; base 48 chrome/browser/guestview/webview/webview_guest.cc using base::UserMetricsAction; base 53 chrome/browser/guestview/webview/webview_guest.cc static std::string TerminationStatusToString(base::TerminationStatus status) { base 55 chrome/browser/guestview/webview/webview_guest.cc case base::TERMINATION_STATUS_NORMAL_TERMINATION: base 57 chrome/browser/guestview/webview/webview_guest.cc case base::TERMINATION_STATUS_ABNORMAL_TERMINATION: base 58 chrome/browser/guestview/webview/webview_guest.cc case base::TERMINATION_STATUS_STILL_RUNNING: base 60 chrome/browser/guestview/webview/webview_guest.cc case base::TERMINATION_STATUS_PROCESS_WAS_KILLED: base 62 chrome/browser/guestview/webview/webview_guest.cc case base::TERMINATION_STATUS_PROCESS_CRASHED: base 64 chrome/browser/guestview/webview/webview_guest.cc case base::TERMINATION_STATUS_OOM_PROTECTED: base 67 chrome/browser/guestview/webview/webview_guest.cc case base::TERMINATION_STATUS_MAX_ENUM: base 152 chrome/browser/guestview/webview/webview_guest.cc base::Bind(&WebViewGuest::OnAccessibilityStatusChanged, base 153 chrome/browser/guestview/webview/webview_guest.cc base::Unretained(this))); base 276 chrome/browser/guestview/webview/webview_guest.cc const base::DictionaryValue& args) { base 303 chrome/browser/guestview/webview/webview_guest.cc const base::string16& message, base 305 chrome/browser/guestview/webview/webview_guest.cc const base::string16& source_id) { base 306 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 317 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 339 chrome/browser/guestview/webview/webview_guest.cc base::Bind( base 355 chrome/browser/guestview/webview/webview_guest.cc void WebViewGuest::GuestProcessGone(base::TerminationStatus status) { base 359 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 408 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 417 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 427 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 434 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 442 chrome/browser/guestview/webview/webview_guest.cc const base::DictionaryValue& request_info, base 455 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(request_info.DeepCopy()); base 512 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 525 chrome/browser/guestview/webview/webview_guest.cc const base::string16& search_text, base 587 chrome/browser/guestview/webview/webview_guest.cc base::ProcessHandle process_handle = base 590 chrome/browser/guestview/webview/webview_guest.cc base::KillProcess(process_handle, content::RESULT_CODE_KILLED, false); base 593 chrome/browser/guestview/webview/webview_guest.cc bool WebViewGuest::ClearData(const base::Time remove_since, base 595 chrome/browser/guestview/webview/webview_guest.cc const base::Closure& callback) { base 611 chrome/browser/guestview/webview/webview_guest.cc base::Time::Now(), base 621 chrome/browser/guestview/webview/webview_guest.cc const base::string16& frame_unique_name, base 628 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 651 chrome/browser/guestview/webview/webview_guest.cc const base::string16& frame_unique_name, base 655 chrome/browser/guestview/webview/webview_guest.cc const base::string16& error_description, base 659 chrome/browser/guestview/webview/webview_guest.cc base::RemoveChars(net::ErrorToString(error_code), "net::", &error_type); base 671 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 685 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 716 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 723 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 750 chrome/browser/guestview/webview/webview_guest.cc base::Bind( base 752 chrome/browser/guestview/webview/webview_guest.cc base::Unretained(ExtensionRendererState::GetInstance()), base 763 chrome/browser/guestview/webview/webview_guest.cc base::Bind( base 765 chrome/browser/guestview/webview/webview_guest.cc base::Unretained(ExtensionRendererState::GetInstance()), base 776 chrome/browser/guestview/webview/webview_guest.cc GURL default_url(base::StringPrintf("%s://%s/", base 784 chrome/browser/guestview/webview/webview_guest.cc scoped_ptr<base::DictionaryValue> args(new base::DictionaryValue()); base 47 chrome/browser/guestview/webview/webview_guest.h const base::DictionaryValue& args) OVERRIDE; base 54 chrome/browser/guestview/webview/webview_guest.h const base::string16& message, base 56 chrome/browser/guestview/webview/webview_guest.h const base::string16& source_id) OVERRIDE; base 66 chrome/browser/guestview/webview/webview_guest.h virtual void GuestProcessGone(base::TerminationStatus status) OVERRIDE; base 78 chrome/browser/guestview/webview/webview_guest.h const base::DictionaryValue& request_info, base 97 chrome/browser/guestview/webview/webview_guest.h void Find(const base::string16& search_text, base 144 chrome/browser/guestview/webview/webview_guest.h bool ClearData(const base::Time remove_since, base 146 chrome/browser/guestview/webview/webview_guest.h const base::Closure& callback); base 172 chrome/browser/guestview/webview/webview_guest.h const base::string16& frame_unique_name, base 179 chrome/browser/guestview/webview/webview_guest.h const base::string16& frame_unique_name, base 183 chrome/browser/guestview/webview/webview_guest.h const base::string16& error_description, base 41 chrome/browser/hang_monitor/hung_plugin_action.cc GTalkPluginLogVersion GetGTalkPluginVersion(const base::string16& version) { base 84 chrome/browser/hang_monitor/hung_plugin_action.cc base::string16 plugin_name; base 85 chrome/browser/hang_monitor/hung_plugin_action.cc base::string16 plugin_version; base 102 chrome/browser/hang_monitor/hung_plugin_action.cc const base::string16 title = l10n_util::GetStringUTF16( base 104 chrome/browser/hang_monitor/hung_plugin_action.cc const base::string16 message = l10n_util::GetStringFUTF16( base 165 chrome/browser/hang_monitor/hung_plugin_action.cc base::string16* plugin_name, base 166 chrome/browser/hang_monitor/hung_plugin_action.cc base::string16* plugin_version) { base 189 chrome/browser/hang_monitor/hung_plugin_action.cc base::string16 class_name = gfx::GetClassName(window); base 42 chrome/browser/hang_monitor/hung_plugin_action.h base::string16* plugin_name, base 43 chrome/browser/hang_monitor/hung_plugin_action.h base::string16* plugin_version); base 56 chrome/browser/hang_monitor/hung_window_detector.cc base::AutoLock lock(hang_detection_lock_); base 82 chrome/browser/hang_monitor/hung_window_detector.h base::Lock hang_detection_lock_; base 11 chrome/browser/history/android/android_cache_database.cc using base::Time; base 12 chrome/browser/history/android/android_cache_database.cc using base::TimeDelta; base 23 chrome/browser/history/android/android_cache_database.cc const base::FilePath& db_name) { base 111 chrome/browser/history/android/android_cache_database.cc const base::string16& term, base 112 chrome/browser/history/android/android_cache_database.cc const base::Time& last_visit_time) { base 142 chrome/browser/history/android/android_cache_database.cc SearchTermID AndroidCacheDatabase::GetSearchTerm(const base::string16& term, base 175 chrome/browser/history/android/android_cache_database.cc bool AndroidCacheDatabase::CreateDatabase(const base::FilePath& db_name) { base 28 chrome/browser/history/android/android_cache_database.h sql::InitStatus InitAndroidCacheDatabase(const base::FilePath& db_name); base 33 chrome/browser/history/android/android_cache_database.h bool AddBookmarkCacheRow(const base::Time& created_time, base 34 chrome/browser/history/android/android_cache_database.h const base::Time& last_visit_time, base 52 chrome/browser/history/android/android_cache_database.h SearchTermID AddSearchTerm(const base::string16& term, base 53 chrome/browser/history/android/android_cache_database.h const base::Time& last_visit_time); base 61 chrome/browser/history/android/android_cache_database.h SearchTermID GetSearchTerm(const base::string16& term, SearchTermRow* row); base 76 chrome/browser/history/android/android_cache_database.h bool CreateDatabase(const base::FilePath& db_name); base 113 chrome/browser/history/android/android_cache_database.h base::FilePath db_name_; base 14 chrome/browser/history/android/android_cache_database_unittest.cc using base::Time; base 15 chrome/browser/history/android/android_cache_database_unittest.cc using base::TimeDelta; base 29 chrome/browser/history/android/android_cache_database_unittest.cc base::FilePath history_db_name_ = base 38 chrome/browser/history/android/android_cache_database_unittest.cc base::ScopedTempDir temp_dir_; base 39 chrome/browser/history/android/android_cache_database_unittest.cc base::FilePath android_cache_db_name_; base 44 chrome/browser/history/android/android_cache_database_unittest.cc base::ScopedTempDir temp_dir; base 45 chrome/browser/history/android/android_cache_database_unittest.cc base::FilePath android_cache_db_name; base 48 chrome/browser/history/android/android_cache_database_unittest.cc base::FilePath history_db_name = temp_dir.path().AppendASCII("history.db"); base 76 chrome/browser/history/android/android_cache_database_unittest.cc base::string16 search_term1(base::UTF8ToUTF16("search term 1")); base 88 chrome/browser/history/android/android_cache_database_unittest.cc update_row1.term = (base::UTF8ToUTF16("update search term1")); base 98 chrome/browser/history/android/android_cache_database_unittest.cc base::string16 search_term2(base::UTF8ToUTF16("search term 2")); base 25 chrome/browser/history/android/android_history_provider_service.cc const std::vector<base::string16>& selection_args, base 47 chrome/browser/history/android/android_history_provider_service.cc const std::vector<base::string16>& selection_args, base 67 chrome/browser/history/android/android_history_provider_service.cc const std::vector<base::string16>& selection_args, base 105 chrome/browser/history/android/android_history_provider_service.cc const std::vector<base::string16>& selection_args, base 177 chrome/browser/history/android/android_history_provider_service.cc const std::vector<base::string16>& selection_args, base 197 chrome/browser/history/android/android_history_provider_service.cc const std::vector<base::string16>& selection_args, base 218 chrome/browser/history/android/android_history_provider_service.cc const std::vector<base::string16>& selection_args, base 26 chrome/browser/history/android/android_history_provider_service.h typedef base::Callback<void( base 33 chrome/browser/history/android/android_history_provider_service.h typedef base::Callback<void( base 40 chrome/browser/history/android/android_history_provider_service.h typedef base::Callback<void( base 47 chrome/browser/history/android/android_history_provider_service.h typedef base::Callback<void( base 54 chrome/browser/history/android/android_history_provider_service.h typedef base::Callback<void( base 72 chrome/browser/history/android/android_history_provider_service.h const std::vector<base::string16>& selection_args, base 86 chrome/browser/history/android/android_history_provider_service.h const std::vector<base::string16>& selection_args, base 99 chrome/browser/history/android/android_history_provider_service.h const std::vector<base::string16>& selection_args, base 112 chrome/browser/history/android/android_history_provider_service.h const std::vector<base::string16>& selection_args, base 145 chrome/browser/history/android/android_history_provider_service.h const std::vector<base::string16>& selection_args, base 156 chrome/browser/history/android/android_history_provider_service.h const std::vector<base::string16>& selection_args, base 169 chrome/browser/history/android/android_history_provider_service.h const std::vector<base::string16>& selection_args, base 21 chrome/browser/history/android/android_history_provider_service_unittest.cc using base::Bind; base 22 chrome/browser/history/android/android_history_provider_service_unittest.cc using base::Time; base 68 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop message_loop_; base 79 chrome/browser/history/android/android_history_provider_service_unittest.cc class CallbackHelper : public base::RefCountedThreadSafe<CallbackHelper> { base 108 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Quit(); base 116 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Quit(); base 124 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Quit(); base 132 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Quit(); base 138 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Quit(); base 165 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 173 chrome/browser/history/android/android_history_provider_service_unittest.cc std::vector<base::string16>(), std::string(), &cancelable_consumer_, base 175 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 183 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 193 chrome/browser/history/android/android_history_provider_service_unittest.cc std::vector<base::string16>(), &cancelable_consumer_, base 195 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 201 chrome/browser/history/android/android_history_provider_service_unittest.cc std::vector<base::string16>(), base 203 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 210 chrome/browser/history/android/android_history_provider_service_unittest.cc search_row.set_search_term(base::UTF8ToUTF16("google")); base 221 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 229 chrome/browser/history/android/android_history_provider_service_unittest.cc std::vector<base::string16>(), std::string(), &cancelable_consumer_, base 231 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 239 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 249 chrome/browser/history/android/android_history_provider_service_unittest.cc std::vector<base::string16>(), &cancelable_consumer_, base 251 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 256 chrome/browser/history/android/android_history_provider_service_unittest.cc service_->DeleteSearchTerms(std::string(), std::vector<base::string16>(), base 258 chrome/browser/history/android/android_history_provider_service_unittest.cc base::MessageLoop::current()->Run(); base 69 chrome/browser/history/android/android_history_types.cc created_(base::Time()), base 70 chrome/browser/history/android/android_history_types.cc last_visit_time_(base::Time()), base 75 chrome/browser/history/android/android_history_types.h void set_title(const base::string16& title) { base 79 chrome/browser/history/android/android_history_types.h const base::string16& title() const { base 84 chrome/browser/history/android/android_history_types.h void set_created(const base::Time created) { base 88 chrome/browser/history/android/android_history_types.h const base::Time& created() const { base 93 chrome/browser/history/android/android_history_types.h void set_last_visit_time(const base::Time last_visit_time) { base 97 chrome/browser/history/android/android_history_types.h const base::Time& last_visit_time() const { base 120 chrome/browser/history/android/android_history_types.h void set_favicon(const scoped_refptr<base::RefCountedMemory>& data) { base 124 chrome/browser/history/android/android_history_types.h const scoped_refptr<base::RefCountedMemory>& favicon() const { base 172 chrome/browser/history/android/android_history_types.h base::string16 title_; base 173 chrome/browser/history/android/android_history_types.h base::Time created_; base 174 chrome/browser/history/android/android_history_types.h base::Time last_visit_time_; base 175 chrome/browser/history/android/android_history_types.h scoped_refptr<base::RefCountedMemory> favicon_; base 222 chrome/browser/history/android/android_history_types.h const base::string16& search_term() const { base 225 chrome/browser/history/android/android_history_types.h void set_search_term(const base::string16& search_term) { base 230 chrome/browser/history/android/android_history_types.h const base::Time search_time() const { base 233 chrome/browser/history/android/android_history_types.h void set_search_time(const base::Time& time) { base 265 chrome/browser/history/android/android_history_types.h base::string16 search_term_; base 266 chrome/browser/history/android/android_history_types.h base::Time search_time_; base 297 chrome/browser/history/android/android_history_types.h base::string16 term; base 299 chrome/browser/history/android/android_history_types.h base::Time last_visit_time; base 63 chrome/browser/history/android/android_provider_backend.cc void BindStatement(const std::vector<base::string16>& selection_args, base 66 chrome/browser/history/android/android_provider_backend.cc for (std::vector<base::string16>::const_iterator i = selection_args.begin(); base 89 chrome/browser/history/android/android_provider_backend.cc row.last_visit_time() > base::Time::Now()) base 93 chrome/browser/history/android/android_provider_backend.cc row.created() > base::Time::Now()) base 105 chrome/browser/history/android/android_provider_backend.cc row.created() != base::Time::UnixEpoch() && base 215 chrome/browser/history/android/android_provider_backend.cc const base::FilePath& db_name, base 236 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 255 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 287 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 304 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 321 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 446 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 471 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 501 chrome/browser/history/android/android_provider_backend.cc row.set_last_visit_time(base::Time::UnixEpoch()); base 528 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 566 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 659 chrome/browser/history/android/android_provider_backend.cc id = history_db_->AddSearchTerm(values.search_term(), base::Time()); base 665 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 777 chrome/browser/history/android/android_provider_backend.cc base::Time last_visit_time = base 778 chrome/browser/history/android/android_provider_backend.cc base::Time::FromInternalValue(statement.ColumnInt64(1)); base 779 chrome/browser/history/android/android_provider_backend.cc base::Time created_time = last_visit_time; base 782 chrome/browser/history/android/android_provider_backend.cc created_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); base 817 chrome/browser/history/android/android_provider_backend.cc url_row.set_last_visit(base::Time::UnixEpoch()); base 826 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->AddBookmarkCacheRow(base::Time::UnixEpoch(), base 827 chrome/browser/history/android/android_provider_backend.cc base::Time::UnixEpoch(), url_id)) base 862 chrome/browser/history/android/android_provider_backend.cc base::string16 term = statement.ColumnString16(0); base 863 chrome/browser/history/android/android_provider_backend.cc base::Time last_visit_time = base 864 chrome/browser/history/android/android_provider_backend.cc base::Time::FromInternalValue(statement.ColumnInt64(1)); base 908 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 938 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 999 chrome/browser/history/android/android_provider_backend.cc std::vector<base::string16>(), std::string())); base 1025 chrome/browser/history/android/android_provider_backend.cc scoped_refptr<base::RefCountedMemory> bitmap_data = base 1105 chrome/browser/history/android/android_provider_backend.cc const std::vector<base::string16>& selection_args, base 49 chrome/browser/history/android/android_provider_backend.h AndroidProviderBackend(const base::FilePath& cache_db_name, base 69 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 81 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 95 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 103 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 117 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 128 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 141 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 214 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 237 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 248 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 293 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 298 chrome/browser/history/android/android_provider_backend.h typedef std::vector<base::string16> SearchTerms; base 300 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 314 chrome/browser/history/android/android_provider_backend.h const std::vector<base::string16>& selection_args, base 345 chrome/browser/history/android/android_provider_backend.h const base::FilePath android_cache_db_filename_; base 33 chrome/browser/history/android/android_provider_backend_unittest.cc using base::Time; base 34 chrome/browser/history/android/android_provider_backend_unittest.cc using base::TimeDelta; base 35 chrome/browser/history/android/android_provider_backend_unittest.cc using base::UTF8ToUTF16; base 156 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(bookmark_model_->AddURL(mobile_node, 0, base::string16(), url)); base 196 chrome/browser/history/android/android_provider_backend_unittest.cc base::ScopedTempDir temp_dir_; base 197 chrome/browser/history/android/android_provider_backend_unittest.cc base::FilePath android_cache_db_name_; base 198 chrome/browser/history/android/android_provider_backend_unittest.cc base::FilePath history_db_name_; base 199 chrome/browser/history/android/android_provider_backend_unittest.cc base::FilePath thumbnail_db_name_; base 203 chrome/browser/history/android/android_provider_backend_unittest.cc base::MessageLoopForUI message_loop_; base 234 chrome/browser/history/android/android_provider_backend_unittest.cc base::string16 title3(UTF8ToUTF16("bookmark")); base 257 chrome/browser/history/android/android_provider_backend_unittest.cc bitmap_data_element.bitmap_data = new base::RefCountedBytes(data); base 269 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(base::PathExists(history_db_name_)); base 270 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(base::PathExists(thumbnail_db_name_)); base 352 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(base::Time::UnixEpoch(), j->last_visit_time_); base 353 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(base::Time::UnixEpoch(), j->create_time_); base 361 chrome/browser/history/android/android_provider_backend_unittest.cc const base::string16 title1(UTF8ToUTF16("cnn")); base 373 chrome/browser/history/android/android_provider_backend_unittest.cc const base::string16 title2(UTF8ToUTF16("example")); base 406 chrome/browser/history/android/android_provider_backend_unittest.cc bitmap_data_element.bitmap_data = new base::RefCountedBytes(data); base 418 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(base::PathExists(history_db_name_)); base 419 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(base::PathExists(thumbnail_db_name_)); base 442 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string(), std::vector<base::string16>(), base 476 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16>(), std::string("url ASC"))); base 483 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16>(), std::string("url ASC"))); base 508 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 561 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string(), std::vector<base::string16>(), base 616 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 636 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> args; base 668 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string(), std::vector<base::string16>(), base 692 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16>(), &deleted_count)); base 709 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string(), std::vector<base::string16>(), base 803 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 839 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> update_args; base 982 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 996 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> update_args; base 1062 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 1076 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> update_args; base 1135 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> update_args; base 1142 chrome/browser/history/android/android_provider_backend_unittest.cc update_row1.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 1171 chrome/browser/history/android/android_provider_backend_unittest.cc update_row1.set_favicon(new base::RefCountedBytes()); base 1202 chrome/browser/history/android/android_provider_backend_unittest.cc base::string16 term = UTF8ToUTF16("Search term 1"); base 1223 chrome/browser/history/android/android_provider_backend_unittest.cc base::string16 term2 = UTF8ToUTF16("Search term 2"); base 1280 chrome/browser/history/android/android_provider_backend_unittest.cc base::string16 term = UTF8ToUTF16("Search term 1"); base 1290 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string(), std::vector<base::string16>(), base 1314 chrome/browser/history/android/android_provider_backend_unittest.cc base::string16 term = UTF8ToUTF16("Search term 1"); base 1324 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> args; base 1335 chrome/browser/history/android/android_provider_backend_unittest.cc base::string16 update_term = UTF8ToUTF16("Update search term"); base 1418 chrome/browser/history/android/android_provider_backend_unittest.cc base::string16 term = UTF8ToUTF16("Search term 1"); base 1428 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> args; base 1445 chrome/browser/history/android/android_provider_backend_unittest.cc base::string16 term2 = UTF8ToUTF16("Search term 2"); base 1530 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> args; base 1564 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 1588 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16>(), base 1691 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string(), std::vector<base::string16>(), base 1728 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 1742 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string("folder=0"), std::vector<base::string16>(), base 1750 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string("folder=1"), std::vector<base::string16>(), base 1760 chrome/browser/history/android/android_provider_backend_unittest.cc const base::string16 title1(UTF8ToUTF16("cnn")); base 1772 chrome/browser/history/android/android_provider_backend_unittest.cc const base::string16 title2(UTF8ToUTF16("example")); base 1805 chrome/browser/history/android/android_provider_backend_unittest.cc bitmap_data_element.bitmap_data = new base::RefCountedBytes(data); base 1817 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(base::PathExists(history_db_name_)); base 1818 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(base::PathExists(thumbnail_db_name_)); base 1842 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string(), std::vector<base::string16>(), base 1893 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 1952 chrome/browser/history/android/android_provider_backend_unittest.cc row2.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 1980 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> args; base 2010 chrome/browser/history/android/android_provider_backend_unittest.cc projections, std::string(), std::vector<base::string16>(), base 2044 chrome/browser/history/android/android_provider_backend_unittest.cc std::vector<base::string16> update_args; base 2053 chrome/browser/history/android/android_provider_backend_unittest.cc update_row1.set_favicon(base::RefCountedBytes::TakeVector(&data)); base 15 chrome/browser/history/android/android_time.h inline base::Time FromDatabaseTime(int64 milliseconds) { base 16 chrome/browser/history/android/android_time.h return base::TimeDelta::FromMilliseconds(milliseconds) + base 17 chrome/browser/history/android/android_time.h base::Time::UnixEpoch(); base 20 chrome/browser/history/android/android_time.h inline int64 ToDatabaseTime(const base::Time& time) { base 21 chrome/browser/history/android/android_time.h return (time - base::Time::UnixEpoch()).InMilliseconds(); base 28 chrome/browser/history/android/android_urls_database_unittest.cc base::FilePath data_path; base 40 chrome/browser/history/android/android_urls_database_unittest.cc base::FilePath history_db_name_; base 16 chrome/browser/history/android/bookmark_model_sql_handler.cc using base::Time; base 34 chrome/browser/history/android/bookmark_model_sql_handler.cc const base::string16& title) { base 44 chrome/browser/history/android/bookmark_model_sql_handler.cc const base::string16& title, base 69 chrome/browser/history/android/bookmark_model_sql_handler.cc const base::string16& title) { base 111 chrome/browser/history/android/bookmark_model_sql_handler.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 117 chrome/browser/history/android/bookmark_model_sql_handler.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 124 chrome/browser/history/android/bookmark_model_sql_handler.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 131 chrome/browser/history/android/bookmark_model_sql_handler.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 144 chrome/browser/history/android/bookmark_model_sql_handler.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 159 chrome/browser/history/android/bookmark_model_sql_handler.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 165 chrome/browser/history/android/bookmark_model_sql_handler.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 34 chrome/browser/history/android/bookmark_model_sql_handler.h class Task : public base::RefCountedThreadSafe<Task> { base 46 chrome/browser/history/android/bookmark_model_sql_handler.h const base::string16& title); base 50 chrome/browser/history/android/bookmark_model_sql_handler.h const base::string16& title, base 58 chrome/browser/history/android/bookmark_model_sql_handler.h const base::string16& title); base 61 chrome/browser/history/android/bookmark_model_sql_handler.h friend class base::RefCountedThreadSafe<Task>; base 59 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc base::FilePath history_db_name = temp_dir_.path().AppendASCII( base 72 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc base::MessageLoopForUI message_loop_; base 75 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc base::ScopedTempDir temp_dir_; base 83 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc row.set_title(base::UTF8ToUTF16("Bookmark Title")); base 102 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc row.set_title(base::UTF8ToUTF16("Bookmark Title")); base 122 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc url_row.set_title(base::UTF8ToUTF16("Google")); base 185 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc url_row.set_title(base::UTF8ToUTF16("Google Inc.")); base 215 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc row.set_title(base::UTF8ToUTF16("Bookmark Title")); base 12 chrome/browser/history/android/favicon_sql_handler.cc using base::Time; base 17 chrome/browser/history/android/sqlite_cursor.cc using base::android::ConvertUTF8ToJavaString; base 18 chrome/browser/history/android/sqlite_cursor.cc using base::android::ScopedJavaLocalRef; base 77 chrome/browser/history/android/sqlite_cursor.cc return base::android::ToJavaArrayOfStrings(env, column_names_); base 83 chrome/browser/history/android/sqlite_cursor.cc base::string16 value = statement_->statement()->ColumnString16(column); base 112 chrome/browser/history/android/sqlite_cursor.cc return base::android::ToJavaByteArray(env, &blob[0], blob.size()); base 121 chrome/browser/history/android/sqlite_cursor.cc base::Bind(&SQLiteCursor::RunMoveStatementOnUIThread, base 122 chrome/browser/history/android/sqlite_cursor.cc base::Unretained(this), pos)); base 142 chrome/browser/history/android/sqlite_cursor.cc base::Bind(&SQLiteCursor::DestroyOnUIThread, base 143 chrome/browser/history/android/sqlite_cursor.cc base::Unretained(this)))) { base 181 chrome/browser/history/android/sqlite_cursor.cc base::Bind(&SQLiteCursor::GetFaviconForIDInUIThread, base 182 chrome/browser/history/android/sqlite_cursor.cc base::Unretained(this), id, base 183 chrome/browser/history/android/sqlite_cursor.cc base::Bind(&SQLiteCursor::OnFaviconData, base 184 chrome/browser/history/android/sqlite_cursor.cc base::Unretained(this)))); base 193 chrome/browser/history/android/sqlite_cursor.cc scoped_refptr<base::RefCountedMemory> bitmap_data = base 208 chrome/browser/history/android/sqlite_cursor.cc tracker_.reset(new base::CancelableTaskTracker()); base 243 chrome/browser/history/android/sqlite_cursor.cc base::Bind(&SQLiteCursor::OnMoved, base::Unretained(this))); base 73 chrome/browser/history/android/sqlite_cursor.h static base::android::ScopedJavaLocalRef<jobject> NewJavaSqliteCursor( base 88 chrome/browser/history/android/sqlite_cursor.h base::android::ScopedJavaLocalRef<jobjectArray> GetColumnNames( base 93 chrome/browser/history/android/sqlite_cursor.h base::android::ScopedJavaLocalRef<jstring> GetString(JNIEnv* env, base 107 chrome/browser/history/android/sqlite_cursor.h base::android::ScopedJavaLocalRef<jbyteArray> GetBlob(JNIEnv* env, base 170 chrome/browser/history/android/sqlite_cursor.h base::WaitableEvent event_; base 184 chrome/browser/history/android/sqlite_cursor.h scoped_ptr<base::CancelableTaskTracker> tracker_; base 31 chrome/browser/history/android/sqlite_cursor_unittest.cc using base::Bind; base 32 chrome/browser/history/android/sqlite_cursor_unittest.cc using base::Time; base 80 chrome/browser/history/android/sqlite_cursor_unittest.cc base::MessageLoop::current()->Run(); base 84 chrome/browser/history/android/sqlite_cursor_unittest.cc base::MessageLoop::current()->Quit(); base 88 chrome/browser/history/android/sqlite_cursor_unittest.cc base::MessageLoop::current()->Run(); base 92 chrome/browser/history/android/sqlite_cursor_unittest.cc base::MessageLoop::current()->Quit(); base 97 chrome/browser/history/android/sqlite_cursor_unittest.cc base::MessageLoop message_loop_; base 110 chrome/browser/history/android/sqlite_cursor_unittest.cc class CallbackHelper : public base::RefCountedThreadSafe<CallbackHelper> { base 129 chrome/browser/history/android/sqlite_cursor_unittest.cc base::MessageLoop::current()->Quit(); base 137 chrome/browser/history/android/sqlite_cursor_unittest.cc base::MessageLoop::current()->Quit(); base 159 chrome/browser/history/android/sqlite_cursor_unittest.cc base::RefCountedBytes *data_bytes = base 160 chrome/browser/history/android/sqlite_cursor_unittest.cc base::RefCountedBytes::TakeVector(&favicon_data); base 164 chrome/browser/history/android/sqlite_cursor_unittest.cc row.set_title(base::UTF8ToUTF16("cnn")); base 171 chrome/browser/history/android/sqlite_cursor_unittest.cc base::MessageLoop::current()->Run(); base 182 chrome/browser/history/android/sqlite_cursor_unittest.cc std::vector<base::string16>(), std::string(), &cancelable_consumer_, base 184 chrome/browser/history/android/sqlite_cursor_unittest.cc base::MessageLoop::current()->Run(); base 203 chrome/browser/history/android/sqlite_cursor_unittest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 206 chrome/browser/history/android/sqlite_cursor_unittest.cc EXPECT_EQ(row.url().spec(), base::android::ConvertJavaStringToUTF8( base 211 chrome/browser/history/android/sqlite_cursor_unittest.cc base::android::ScopedJavaLocalRef<jbyteArray> data = base 214 chrome/browser/history/android/sqlite_cursor_unittest.cc base::android::JavaByteArrayToByteVector(env, data.obj(), &out); base 10 chrome/browser/history/android/urls_sql_handler.cc using base::Time; base 18 chrome/browser/history/android/urls_sql_handler_unittest.cc using base::Time; base 19 chrome/browser/history/android/urls_sql_handler_unittest.cc using base::TimeDelta; base 35 chrome/browser/history/android/urls_sql_handler_unittest.cc base::FilePath history_db_name = temp_dir_.path().AppendASCII( base 44 chrome/browser/history/android/urls_sql_handler_unittest.cc base::ScopedTempDir temp_dir_; base 113 chrome/browser/history/android/urls_sql_handler_unittest.cc row.set_title(base::UTF8ToUTF16("Google")); base 153 chrome/browser/history/android/urls_sql_handler_unittest.cc row.set_title(base::UTF8ToUTF16("Google")); base 170 chrome/browser/history/android/urls_sql_handler_unittest.cc row.set_title(base::UTF8ToUTF16("Google")); base 185 chrome/browser/history/android/urls_sql_handler_unittest.cc update_row.set_title(base::UTF8ToUTF16("Google Inc")); base 203 chrome/browser/history/android/urls_sql_handler_unittest.cc row.set_title(base::UTF8ToUTF16("Google")); base 10 chrome/browser/history/android/visit_sql_handler.cc using base::Time; base 10 chrome/browser/history/android/visit_sql_handler.h namespace base { base 32 chrome/browser/history/android/visit_sql_handler.h bool AddVisit(URLID url_id, const base::Time& visit_time); base 38 chrome/browser/history/android/visit_sql_handler.h const base::Time& last_visit_time); base 18 chrome/browser/history/android/visit_sql_handler_unittest.cc using base::Time; base 19 chrome/browser/history/android/visit_sql_handler_unittest.cc using base::TimeDelta; base 35 chrome/browser/history/android/visit_sql_handler_unittest.cc base::FilePath history_db_name = temp_dir_.path().AppendASCII( base 44 chrome/browser/history/android/visit_sql_handler_unittest.cc base::ScopedTempDir temp_dir_; base 95 chrome/browser/history/android/visit_sql_handler_unittest.cc row.set_title(base::UTF8ToUTF16("Google")); base 160 chrome/browser/history/android/visit_sql_handler_unittest.cc row.set_title(base::UTF8ToUTF16("Google")); base 27 chrome/browser/history/archived_database.cc bool ArchivedDatabase::Init(const base::FilePath& file_name) { base 15 chrome/browser/history/archived_database.h namespace base { base 35 chrome/browser/history/archived_database.h bool Init(const base::FilePath& file_name); base 23 chrome/browser/history/delete_directive_handler.cc scoped_ptr<base::DictionaryValue> value( base 26 chrome/browser/history/delete_directive_handler.cc base::JSONWriter::Write(value.get(), &str); base 45 chrome/browser/history/delete_directive_handler.cc base::Time UnixUsecToTime(int64 usec) { base 46 chrome/browser/history/delete_directive_handler.cc return base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(usec); base 50 chrome/browser/history/delete_directive_handler.cc int64 TimeToUnixUsec(base::Time time) { base 52 chrome/browser/history/delete_directive_handler.cc return (time - base::Time::UnixEpoch()).InMicroseconds(); base 58 chrome/browser/history/delete_directive_handler.cc std::set<base::Time> *times) { base 61 chrome/browser/history/delete_directive_handler.cc base::Time::FromInternalValue(global_id_directive.global_id(i))); base 110 chrome/browser/history/delete_directive_handler.cc base::WeakPtr<DeleteDirectiveHandler> delete_directive_handler, base 139 chrome/browser/history/delete_directive_handler.cc base::WeakPtr<DeleteDirectiveHandler> delete_directive_handler_; base 185 chrome/browser/history/delete_directive_handler.cc typedef std::map<std::pair<base::Time, base::Time>, std::set<base::Time> > base 221 chrome/browser/history/delete_directive_handler.cc group_it->first.second + base::TimeDelta::FromMicroseconds(1)); base 234 chrome/browser/history/delete_directive_handler.cc base::Time current_start_time; base 235 chrome/browser/history/delete_directive_handler.cc base::Time current_end_time; base 252 chrome/browser/history/delete_directive_handler.cc base::Time directive_start_time = base 254 chrome/browser/history/delete_directive_handler.cc base::Time directive_end_time = base 262 chrome/browser/history/delete_directive_handler.cc current_end_time + base::TimeDelta::FromMicroseconds(1)); base 273 chrome/browser/history/delete_directive_handler.cc current_end_time + base::TimeDelta::FromMicroseconds(1)); base 307 chrome/browser/history/delete_directive_handler.cc base::Time begin_time, base 308 chrome/browser/history/delete_directive_handler.cc base::Time end_time) { base 309 chrome/browser/history/delete_directive_handler.cc base::Time now = base::Time::Now(); base 318 chrome/browser/history/delete_directive_handler.cc base::Time end = (end_time.is_null() || end_time > now) ? now : end_time; base 357 chrome/browser/history/delete_directive_handler.cc std::string sync_tag = base::RandBytesAsString(8); base 42 chrome/browser/history/delete_directive_handler.h base::Time begin_time, base 43 chrome/browser/history/delete_directive_handler.h base::Time end_time); base 76 chrome/browser/history/delete_directive_handler.h base::ThreadChecker thread_checker_; base 77 chrome/browser/history/delete_directive_handler.h base::WeakPtrFactory<DeleteDirectiveHandler> weak_ptr_factory_; base 73 chrome/browser/history/download_database.cc void BindFilePath(sql::Statement& statement, const base::FilePath& path, base 77 chrome/browser/history/download_database.cc base::FilePath ColumnFilePath(sql::Statement& statement, int col) { base 78 chrome/browser/history/download_database.cc return base::FilePath(statement.ColumnString(col)); base 84 chrome/browser/history/download_database.cc void BindFilePath(sql::Statement& statement, const base::FilePath& path, base 88 chrome/browser/history/download_database.cc base::FilePath ColumnFilePath(sql::Statement& statement, int col) { base 89 chrome/browser/history/download_database.cc return base::FilePath(statement.ColumnString16(col)); base 346 chrome/browser/history/download_database.cc info->start_time = base::Time::FromInternalValue( base 357 chrome/browser/history/download_database.cc info->end_time = base::Time::FromInternalValue( base 126 chrome/browser/history/download_database.h base::PlatformThreadId owning_thread_; base 20 chrome/browser/history/download_row.cc const base::FilePath& current_path, base 21 chrome/browser/history/download_row.cc const base::FilePath& target_path, base 24 chrome/browser/history/download_row.cc const base::Time& start, base 25 chrome/browser/history/download_row.cc const base::Time& end, base 25 chrome/browser/history/download_row.h const base::FilePath& current_path, base 26 chrome/browser/history/download_row.h const base::FilePath& target_path, base 29 chrome/browser/history/download_row.h const base::Time& start, base 30 chrome/browser/history/download_row.h const base::Time& end, base 46 chrome/browser/history/download_row.h base::FilePath current_path; base 49 chrome/browser/history/download_row.h base::FilePath target_path; base 61 chrome/browser/history/download_row.h base::Time start_time; base 64 chrome/browser/history/download_row.h base::Time end_time; base 24 chrome/browser/history/expire_history_backend.cc using base::Time; base 25 chrome/browser/history/expire_history_backend.cc using base::TimeDelta; base 144 chrome/browser/history/expire_history_backend.cc base::Time begin_time, end_time; base 257 chrome/browser/history/expire_history_backend.cc const std::vector<base::Time>& times) { base 263 chrome/browser/history/expire_history_backend.cc times.begin(), times.end(), std::less_equal<base::Time>()) == base 587 chrome/browser/history/expire_history_backend.cc base::MessageLoop::current()->PostDelayedTask( base 589 chrome/browser/history/expire_history_backend.cc base::Bind(&ExpireHistoryBackend::DoArchiveIteration, base 611 chrome/browser/history/expire_history_backend.cc base::Time end_time, base 53 chrome/browser/history/expire_history_backend.h virtual bool Read(base::Time end_time, HistoryDatabase* db, base 82 chrome/browser/history/expire_history_backend.h void StartArchivingOldStuff(base::TimeDelta expiration_threshold); base 93 chrome/browser/history/expire_history_backend.h base::Time begin_time, base::Time end_time); base 98 chrome/browser/history/expire_history_backend.h void ExpireHistoryForTimes(const std::vector<base::Time>& times); base 108 chrome/browser/history/expire_history_backend.h void ArchiveHistoryBefore(base::Time end_time); base 113 chrome/browser/history/expire_history_backend.h base::Time GetCurrentArchiveTime() const { base 114 chrome/browser/history/expire_history_backend.h return base::Time::Now() - expiration_threshold_; base 229 chrome/browser/history/expire_history_backend.h bool ArchiveSomeOldHistory(base::Time end_time, base 263 chrome/browser/history/expire_history_backend.h base::WeakPtrFactory<ExpireHistoryBackend> weak_factory_; base 267 chrome/browser/history/expire_history_backend.h base::TimeDelta expiration_threshold_; base 36 chrome/browser/history/expire_history_backend_unittest.cc using base::Time; base 37 chrome/browser/history/expire_history_backend_unittest.cc using base::TimeDelta; base 38 chrome/browser/history/expire_history_backend_unittest.cc using base::TimeTicks; base 42 chrome/browser/history/expire_history_backend_unittest.cc static const base::FilePath::CharType kHistoryFile[] = base 44 chrome/browser/history/expire_history_backend_unittest.cc static const base::FilePath::CharType kArchivedHistoryFile[] = base 46 chrome/browser/history/expire_history_backend_unittest.cc static const base::FilePath::CharType kThumbnailFile[] = base 90 chrome/browser/history/expire_history_backend_unittest.cc bookmark_model_.bookmark_bar_node(), 0, base::string16(), url); base 93 chrome/browser/history/expire_history_backend_unittest.cc static bool IsStringInFile(const base::FilePath& filename, const char* str); base 96 chrome/browser/history/expire_history_backend_unittest.cc const base::FilePath& path() const { return tmp_dir_.path(); } base 99 chrome/browser/history/expire_history_backend_unittest.cc base::ScopedTempDir tmp_dir_; base 103 chrome/browser/history/expire_history_backend_unittest.cc base::MessageLoopForUI message_loop_; base 129 chrome/browser/history/expire_history_backend_unittest.cc base::FilePath history_name = path().Append(kHistoryFile); base 134 chrome/browser/history/expire_history_backend_unittest.cc base::FilePath archived_name = path().Append(kArchivedHistoryFile); base 139 chrome/browser/history/expire_history_backend_unittest.cc base::FilePath thumb_name = path().Append(kThumbnailFile); base 313 chrome/browser/history/expire_history_backend_unittest.cc scoped_refptr<base::RefCountedMemory> data; base 391 chrome/browser/history/expire_history_backend_unittest.cc bool ExpireHistoryTest::IsStringInFile(const base::FilePath& filename, base 394 chrome/browser/history/expire_history_backend_unittest.cc EXPECT_TRUE(base::ReadFileToString(filename, &contents)); base 593 chrome/browser/history/expire_history_backend_unittest.cc std::vector<base::Time> times; base 52 chrome/browser/history/history_backend.cc using base::Time; base 53 chrome/browser/history/history_backend.cc using base::TimeDelta; base 54 chrome/browser/history/history_backend.cc using base::TimeTicks; base 138 chrome/browser/history/history_backend.cc class CommitLaterTask : public base::RefCounted<CommitLaterTask> { base 165 chrome/browser/history/history_backend.cc HistoryBackend::HistoryBackend(const base::FilePath& history_dir, base 206 chrome/browser/history/history_backend.cc memory_pressure_listener_.reset(new base::MemoryPressureListener( base 207 chrome/browser/history/history_backend.cc base::Bind(&HistoryBackend::OnMemoryPressure, base::Unretained(this)))); base 213 chrome/browser/history/history_backend.cc void HistoryBackend::SetOnBackendDestroyTask(base::MessageLoop* message_loop, base 214 chrome/browser/history/history_backend.cc const base::Closure& task) { base 235 chrome/browser/history/history_backend.cc base::FilePath HistoryBackend::GetThumbnailFileName() const { base 239 chrome/browser/history/history_backend.cc base::FilePath HistoryBackend::GetFaviconsFileName() const { base 243 chrome/browser/history/history_backend.cc base::FilePath HistoryBackend::GetArchivedFileName() const { base 248 chrome/browser/history/history_backend.cc base::FilePath HistoryBackend::GetAndroidCacheFileName() const { base 559 chrome/browser/history/history_backend.cc base::FilePath history_name = history_dir_.Append(chrome::kHistoryFilename); base 560 chrome/browser/history/history_backend.cc base::FilePath thumbnail_name = GetFaviconsFileName(); base 561 chrome/browser/history/history_backend.cc base::FilePath archived_name = GetArchivedFileName(); base 571 chrome/browser/history/history_backend.cc base::Bind(&HistoryBackend::DatabaseErrorCallback, base 572 chrome/browser/history/history_backend.cc base::Unretained(this))); base 635 chrome/browser/history/history_backend.cc if (base::RandInt(1, 100) == 50) { base 677 chrome/browser/history/history_backend.cc base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level) { base 679 chrome/browser/history/history_backend.cc base::MemoryPressureListener::MEMORY_PRESSURE_CRITICAL; base 694 chrome/browser/history/history_backend.cc first_recorded_time_ = base::Time(); base 870 chrome/browser/history/history_backend.cc bool HistoryBackend::IsExpiredVisitTime(const base::Time& time) { base 875 chrome/browser/history/history_backend.cc const base::string16& title) { base 921 chrome/browser/history/history_backend.cc const base::string16& title) { base 935 chrome/browser/history/history_backend.cc url_info.set_title(base::UTF8ToUTF16(url.spec())); base 1078 chrome/browser/history/history_backend.cc base::MessageLoop::current()->PostTask( base 1080 chrome/browser/history/history_backend.cc base::Bind(&HistoryBackend::DeleteOldSegmentData, this)); base 1090 chrome/browser/history/history_backend.cc const base::string16& term) { base 1124 chrome/browser/history/history_backend.cc const base::string16& prefix, base 1152 chrome/browser/history/history_backend.cc const base::string16& term) { base 1201 chrome/browser/history/history_backend.cc base::TimeTicks started_removing = base::TimeTicks::Now(); base 1209 chrome/browser/history/history_backend.cc base::TimeTicks finished_removing = base::TimeTicks::Now(); base 1218 chrome/browser/history/history_backend.cc base::TimeDelta micros = (1000 * (finished_removing - started_removing)); base 1232 chrome/browser/history/history_backend.cc const base::string16& text_query, base 1327 chrome/browser/history/history_backend.cc const base::string16& text_query, base 1407 chrome/browser/history/history_backend.cc db_->QuerySegmentUsage(base::Time::Now() - base::TimeDelta::FromDays(90), base 1447 chrome/browser/history/history_backend.cc base::Time request_start = base::Time::Now(); base 1512 chrome/browser/history/history_backend.cc static_cast<int>((base::Time::Now() - request_start).InMilliseconds()))); base 1516 chrome/browser/history/history_backend.cc base::LinearHistogram::FactoryGet("NewTabPage.SuggestedSitesLoadTime", base 1517 chrome/browser/history/history_backend.cc 1, 1000, 100, base::Histogram::kUmaTargetedHistogramFlag)); base 1529 chrome/browser/history/history_backend.cc db_->QuerySegmentUsage(base::Time::Now() - base 1530 chrome/browser/history/history_backend.cc base::TimeDelta::FromDays(days_back), base 1623 chrome/browser/history/history_backend.cc base::FilePath::StringType filepattern = base 1625 chrome/browser/history/history_backend.cc base::FileEnumerator enumerator( base 1626 chrome/browser/history/history_backend.cc history_dir_, false, base::FileEnumerator::FILES, filepattern); base 1628 chrome/browser/history/history_backend.cc base::FilePath current_file; base 1722 chrome/browser/history/history_backend.cc base::Time last_updated; base 1786 chrome/browser/history/history_backend.cc scoped_refptr<base::RefCountedMemory> bitmap_data, base 1810 chrome/browser/history/history_backend.cc bitmap_id_sizes[i].bitmap_id, base::Time::Now()); base 1814 chrome/browser/history/history_backend.cc bitmap_data, base::Time::Now()); base 1838 chrome/browser/history/history_backend.cc thumbnail_db_->AddFaviconBitmap(favicon_id, bitmap_data, base::Time::Now(), base 1899 chrome/browser/history/history_backend.cc bitmaps_to_copy[j].bitmap_data, base::Time(), base 2024 chrome/browser/history/history_backend.cc new base::RefCountedBytes(favicon_usage[i].png_data), base 2044 chrome/browser/history/history_backend.cc url_info.set_last_visit(base::Time()); base 2166 chrome/browser/history/history_backend.cc bitmap_id, base::Time::Now()); base 2169 chrome/browser/history/history_backend.cc base::Time::Now()); base 2180 chrome/browser/history/history_backend.cc base::Time::Now(), to_add[i].pixel_size); base 2215 chrome/browser/history/history_backend.cc const scoped_refptr<base::RefCountedMemory>& new_bitmap_data) { base 2219 chrome/browser/history/history_backend.cc scoped_refptr<base::RefCountedMemory> original_bitmap_data; base 2314 chrome/browser/history/history_backend.cc base::Time last_updated; base 2473 chrome/browser/history/history_backend.cc base::MessageLoop::current()->PostDelayedTask( base 2475 chrome/browser/history/history_backend.cc base::Bind(&CommitLaterTask::RunCommit, scheduled_commit_.get()), base 2476 chrome/browser/history/history_backend.cc base::TimeDelta::FromSeconds(kCommitIntervalSeconds)); base 2513 chrome/browser/history/history_backend.cc base::MessageLoop::current()->PostTask( base 2514 chrome/browser/history/history_backend.cc FROM_HERE, base::Bind(&HistoryBackend::ProcessDBTaskImpl, this)); base 2576 chrome/browser/history/history_backend.cc const std::set<base::Time>& times, base 2577 chrome/browser/history/history_backend.cc base::Time begin_time, base::Time end_time) { base 2605 chrome/browser/history/history_backend.cc std::vector<base::Time> times_to_expire; base 2614 chrome/browser/history/history_backend.cc std::greater<base::Time>()); base 2674 chrome/browser/history/history_backend.cc base::MessageLoop::current()->PostTask( base 2676 chrome/browser/history/history_backend.cc base::Bind(&HistoryBackend::KillHistoryDatabase, this)); base 2791 chrome/browser/history/history_backend.cc base::FilePath archived_file_name = GetArchivedFileName(); base 62 chrome/browser/history/history_backend.h class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>, base 112 chrome/browser/history/history_backend.h HistoryBackend(const base::FilePath& history_dir, base 137 chrome/browser/history/history_backend.h virtual void SetPageTitle(const GURL& url, const base::string16& title); base 138 chrome/browser/history/history_backend.h void AddPageNoVisitForBookmark(const GURL& url, const base::string16& title); base 149 chrome/browser/history/history_backend.h base::Time end_ts); base 166 chrome/browser/history/history_backend.h const base::string16& text_query, base 259 chrome/browser/history/history_backend.h scoped_refptr<base::RefCountedMemory> bitmap_data, base 285 chrome/browser/history/history_backend.h const base::Time from_time, base 293 chrome/browser/history/history_backend.h const base::string16& term); base 300 chrome/browser/history/history_backend.h const base::string16& prefix, base 306 chrome/browser/history/history_backend.h const base::string16& term); base 319 chrome/browser/history/history_backend.h const std::vector<base::string16>& selection_args, base 326 chrome/browser/history/history_backend.h const std::vector<base::string16>& selection_args); base 331 chrome/browser/history/history_backend.h const std::vector<base::string16>& selection_args); base 335 chrome/browser/history/history_backend.h const std::vector<base::string16>& selection_args); base 354 chrome/browser/history/history_backend.h const std::vector<base::string16> selection_args); base 358 chrome/browser/history/history_backend.h const std::vector<base::string16> selection_args); base 363 chrome/browser/history/history_backend.h const std::vector<base::string16>& selection_args, base 410 chrome/browser/history/history_backend.h base::Time begin_time, base 411 chrome/browser/history/history_backend.h base::Time end_time); base 418 chrome/browser/history/history_backend.h void ExpireHistoryForTimes(const std::set<base::Time>& times, base 419 chrome/browser/history/history_backend.h base::Time begin_time, base::Time end_time); base 450 chrome/browser/history/history_backend.h void SetOnBackendDestroyTask(base::MessageLoop* message_loop, base 451 chrome/browser/history/history_backend.h const base::Closure& task); base 467 chrome/browser/history/history_backend.h virtual bool IsExpiredVisitTime(const base::Time& time); base 469 chrome/browser/history/history_backend.h base::Time GetFirstRecordedTimeForTest() { base 477 chrome/browser/history/history_backend.h friend class base::RefCountedThreadSafe<HistoryBackend>; base 534 chrome/browser/history/history_backend.h base::FilePath GetArchivedFileName() const; base 535 chrome/browser/history/history_backend.h base::FilePath GetThumbnailFileName() const; base 539 chrome/browser/history/history_backend.h base::FilePath GetFaviconsFileName() const; base 543 chrome/browser/history/history_backend.h base::FilePath GetAndroidCacheFileName() const; base 566 chrome/browser/history/history_backend.h base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); base 580 chrome/browser/history/history_backend.h base::Time time, base 597 chrome/browser/history/history_backend.h void UpdateVisitDuration(VisitID visit_id, const base::Time end_ts); base 610 chrome/browser/history/history_backend.h const base::string16& text_query, base 645 chrome/browser/history/history_backend.h const base::Time ts); base 692 chrome/browser/history/history_backend.h const scoped_refptr<base::RefCountedMemory>& new_bitmap_data); base 811 chrome/browser/history/history_backend.h base::FilePath history_dir_; base 842 chrome/browser/history/history_backend.h typedef base::MRUCache<GURL, history::RedirectList> RedirectCache; base 846 chrome/browser/history/history_backend.h base::Time first_recorded_time_; base 849 chrome/browser/history/history_backend.h base::MessageLoop* backend_destroy_message_loop_; base 850 chrome/browser/history/history_backend.h base::Closure backend_destroy_task_; base 886 chrome/browser/history/history_backend.h scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; base 28 chrome/browser/history/history_backend_android.cc const std::vector<base::string16>& selection_args, base 45 chrome/browser/history/history_backend_android.cc const std::vector<base::string16>& selection_args) { base 62 chrome/browser/history/history_backend_android.cc const std::vector<base::string16>& selection_args) { base 78 chrome/browser/history/history_backend_android.cc const std::vector<base::string16>& selection_args) { base 136 chrome/browser/history/history_backend_android.cc const std::vector<base::string16> selection_args) { base 152 chrome/browser/history/history_backend_android.cc const std::vector<base::string16> selection_args) { base 170 chrome/browser/history/history_backend_android.cc const std::vector<base::string16>& selection_args, base 43 chrome/browser/history/history_backend_unittest.cc using base::Time; base 161 chrome/browser/history/history_backend_unittest.cc base::Time time) { base 184 chrome/browser/history/history_backend_unittest.cc base::Time time, base 212 chrome/browser/history/history_backend_unittest.cc base::FilePath getTestDir() { base 328 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data); base 341 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data); base 352 chrome/browser/history/history_backend_unittest.cc scoped_refptr<base::RefCountedMemory> bitmap_data) { base 368 chrome/browser/history/history_backend_unittest.cc if (!base::CreateNewTempDirectory(FILE_PATH_LITERAL("BackendTest"), base 382 chrome/browser/history/history_backend_unittest.cc base::DeleteFile(test_dir_, true); base 383 chrome/browser/history/history_backend_unittest.cc base::RunLoop().RunUntilIdle(); base 401 chrome/browser/history/history_backend_unittest.cc base::MessageLoop message_loop_; base 402 chrome/browser/history/history_backend_unittest.cc base::FilePath test_dir_; base 451 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), Time::Now(), kSmallSize)); base 454 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), Time::Now(), kLargeSize)); base 458 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), Time::Now(), kSmallSize)); base 461 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), Time::Now(), kLargeSize)); base 500 chrome/browser/history/history_backend_unittest.cc bookmark_model_.bookmark_bar_node(), 0, base::string16(), row1.url()); base 598 chrome/browser/history/history_backend_unittest.cc backend_->SetPageTitle(url, base::UTF8ToUTF16("Title")); base 617 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), base 625 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data), base 651 chrome/browser/history/history_backend_unittest.cc base::string16()); base 653 chrome/browser/history/history_backend_unittest.cc base::string16()); base 718 chrome/browser/history/history_backend_unittest.cc Time visit_time = Time::Now() - base::TimeDelta::FromDays(1); base 771 chrome/browser/history/history_backend_unittest.cc AddClientRedirect(GURL(), url_a, false, base::Time(), base 777 chrome/browser/history/history_backend_unittest.cc AddClientRedirect(url_a, url_b, false, base::Time(), base 784 chrome/browser/history/history_backend_unittest.cc AddClientRedirect(url_b, url_c, true, base::Time(), base 799 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data), base 861 chrome/browser/history/history_backend_unittest.cc base::string16(), url3); base 877 chrome/browser/history/history_backend_unittest.cc backend_->AddPageVisit(url, base::Time::Now(), 0, base 901 chrome/browser/history/history_backend_unittest.cc url, base::Time::Now(), 0, content::PAGE_TRANSITION_TYPED, base 904 chrome/browser/history/history_backend_unittest.cc backend_->AddPageVisit(url, base::Time::Now(), 0, base 908 chrome/browser/history/history_backend_unittest.cc backend_->AddPageVisit(url, base::Time::Now(), 0, base 949 chrome/browser/history/history_backend_unittest.cc base::Time recent_time = base::Time::Now(); base 950 chrome/browser/history/history_backend_unittest.cc base::TimeDelta visit_age = base::TimeDelta::FromDays(3); base 951 chrome/browser/history/history_backend_unittest.cc base::Time older_time = recent_time - visit_age; base 984 chrome/browser/history/history_backend_unittest.cc HistoryAddPageArgs request1(url, base::Time::Now(), NULL, 0, GURL(), base 990 chrome/browser/history/history_backend_unittest.cc HistoryAddPageArgs request2(url, base::Time::Now(), NULL, 0, GURL(), base 996 chrome/browser/history/history_backend_unittest.cc HistoryAddPageArgs request3(url, base::Time::Now(), NULL, 0, GURL(), base 1020 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(5), base 1023 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(1), base 1030 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(10), base 1067 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(5), base 1070 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(1), base 1098 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(6), base 1101 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(5), base 1104 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(4), base 1151 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(5), base 1158 chrome/browser/history/history_backend_unittest.cc Time::Now() - base::TimeDelta::FromDays(10), base 1197 chrome/browser/history/history_backend_unittest.cc base::FilePath old_history_path; base 1204 chrome/browser/history/history_backend_unittest.cc base::FilePath new_history_path(getTestDir()); base 1205 chrome/browser/history/history_backend_unittest.cc base::DeleteFile(new_history_path, true); base 1206 chrome/browser/history/history_backend_unittest.cc base::CreateDirectory(new_history_path); base 1207 chrome/browser/history/history_backend_unittest.cc base::FilePath new_history_file = base 1209 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::CopyFile(old_history_path, new_history_file)); base 1246 chrome/browser/history/history_backend_unittest.cc url_info1.set_last_visit(base::Time()); base 1253 chrome/browser/history/history_backend_unittest.cc url_info2.set_last_visit(base::Time()); base 1384 chrome/browser/history/history_backend_unittest.cc scoped_refptr<base::RefCountedMemory> bitmap_data_out; base 1424 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data_initial); base 1447 chrome/browser/history/history_backend_unittest.cc favicon_bitmap_data[0].bitmap_data = new base::RefCountedBytes(updated_data); base 1465 chrome/browser/history/history_backend_unittest.cc favicon_bitmap_data[0].bitmap_data = new base::RefCountedBytes(updated_data); base 1600 chrome/browser/history/history_backend_unittest.cc scoped_refptr<base::RefCountedBytes> bitmap_data( base 1601 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data)); base 1616 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmap.last_updated); base 1621 chrome/browser/history/history_backend_unittest.cc bitmap_data = new base::RefCountedBytes(data); base 1634 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmap.last_updated); base 1660 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmap.last_updated); base 1669 chrome/browser/history/history_backend_unittest.cc scoped_refptr<base::RefCountedBytes> bitmap_data( base 1670 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data)); base 1683 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmap.last_updated); base 1691 chrome/browser/history/history_backend_unittest.cc bitmap_data = new base::RefCountedBytes(data); base 1703 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmap.last_updated); base 1710 chrome/browser/history/history_backend_unittest.cc bitmap_data = new base::RefCountedBytes(data); base 1725 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmaps[0].last_updated); base 1728 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time(), favicon_bitmaps[1].last_updated); base 1735 chrome/browser/history/history_backend_unittest.cc bitmap_data = new base::RefCountedBytes(data); base 1750 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time(), favicon_bitmaps[0].last_updated); base 1755 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmaps[1].last_updated); base 1787 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmap.last_updated); base 1794 chrome/browser/history/history_backend_unittest.cc scoped_refptr<base::RefCountedBytes> bitmap_data( base 1795 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data)); base 1806 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmap.last_updated); base 1821 chrome/browser/history/history_backend_unittest.cc EXPECT_NE(base::Time(), favicon_bitmap.last_updated); base 1858 chrome/browser/history/history_backend_unittest.cc scoped_refptr<base::RefCountedMemory> bitmap_data = base 1859 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data); base 1900 chrome/browser/history/history_backend_unittest.cc scoped_refptr<base::RefCountedBytes> bitmap_data( base 1901 chrome/browser/history/history_backend_unittest.cc new base::RefCountedBytes(data)); base 2227 chrome/browser/history/history_backend_unittest.cc scoped_refptr<base::RefCountedBytes> bitmap_data( base 2228 chrome/browser/history/history_backend_unittest.cc base::RefCountedBytes::TakeVector(&data)); base 2229 chrome/browser/history/history_backend_unittest.cc base::Time last_updated = base::Time::FromTimeT(0); base 2310 chrome/browser/history/history_backend_unittest.cc base::TimeDelta::FromHours(4); base 2311 chrome/browser/history/history_backend_unittest.cc base::TimeDelta half_an_hour = base::TimeDelta::FromMinutes(30); base 2312 chrome/browser/history/history_backend_unittest.cc base::TimeDelta one_hour = base::TimeDelta::FromHours(1); base 2313 chrome/browser/history/history_backend_unittest.cc base::TimeDelta one_day = base::TimeDelta::FromDays(1); base 2378 chrome/browser/history/history_backend_unittest.cc base::Bind(&HistoryBackendTest::OnQueryFiltered, base 2379 chrome/browser/history/history_backend_unittest.cc base::Unretained(static_cast<HistoryBackendTest*>(this)))); base 2386 chrome/browser/history/history_backend_unittest.cc base::TimeDelta three_quarters_of_an_hour = base::TimeDelta::FromMinutes(45); base 2402 chrome/browser/history/history_backend_unittest.cc base::Bind(&HistoryBackendTest::OnQueryFiltered, base 2403 chrome/browser/history/history_backend_unittest.cc base::Unretained(static_cast<HistoryBackendTest*>(this)))); base 2418 chrome/browser/history/history_backend_unittest.cc base::Bind(&HistoryBackendTest::OnQueryFiltered, base 2419 chrome/browser/history/history_backend_unittest.cc base::Unretained(static_cast<HistoryBackendTest*>(this)))); base 2433 chrome/browser/history/history_backend_unittest.cc base::Time::Exploded exploded_time; base 2439 chrome/browser/history/history_backend_unittest.cc base::Bind(&HistoryBackendTest::OnQueryFiltered, base 2440 chrome/browser/history/history_backend_unittest.cc base::Unretained(static_cast<HistoryBackendTest*>(this)))); base 2455 chrome/browser/history/history_backend_unittest.cc base::Bind(&HistoryBackendTest::OnQueryFiltered, base 2456 chrome/browser/history/history_backend_unittest.cc base::Unretained(static_cast<HistoryBackendTest*>(this)))); base 2459 chrome/browser/history/history_backend_unittest.cc filter.SetFilterTime(tested_time - base::TimeDelta::FromMinutes(40)); base 2460 chrome/browser/history/history_backend_unittest.cc filter.SetFilterWidth(base::TimeDelta::FromMinutes(20)); base 2470 chrome/browser/history/history_backend_unittest.cc base::Bind(&HistoryBackendTest::OnQueryFiltered, base 2471 chrome/browser/history/history_backend_unittest.cc base::Unretained(static_cast<HistoryBackendTest*>(this)))); base 2495 chrome/browser/history/history_backend_unittest.cc Time start_ts = Time::Now() - base::TimeDelta::FromDays(5); base 2496 chrome/browser/history/history_backend_unittest.cc Time end_ts = start_ts + base::TimeDelta::FromDays(2); base 2500 chrome/browser/history/history_backend_unittest.cc visit_info2.push_back(VisitInfo(Time::Now() - base::TimeDelta::FromDays(10), base 2529 chrome/browser/history/history_backend_unittest.cc base::TimeDelta expected_duration = end_ts - start_ts; base 2543 chrome/browser/history/history_backend_unittest.cc base::FilePath old_history_path, old_history, old_archived; base 2551 chrome/browser/history/history_backend_unittest.cc base::FilePath new_history_path(getTestDir()); base 2552 chrome/browser/history/history_backend_unittest.cc base::DeleteFile(new_history_path, true); base 2553 chrome/browser/history/history_backend_unittest.cc base::CreateDirectory(new_history_path); base 2554 chrome/browser/history/history_backend_unittest.cc base::FilePath new_history_file = base 2556 chrome/browser/history/history_backend_unittest.cc base::FilePath new_archived_file = base 2558 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::CopyFile(old_history, new_history_file)); base 2559 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::CopyFile(old_archived, new_archived_file)); base 2608 chrome/browser/history/history_backend_unittest.cc base::string16 title(base::UTF8ToUTF16("Bookmark title")); base 2618 chrome/browser/history/history_backend_unittest.cc backend_->AddPageNoVisitForBookmark(url, base::string16()); base 2621 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(url.spec()), row.title()); base 2632 chrome/browser/history/history_backend_unittest.cc args[i].time = base::Time::FromInternalValue(i); base 2635 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time(), backend_->GetFirstRecordedTimeForTest()); base 2642 chrome/browser/history/history_backend_unittest.cc std::set<base::Time> times; base 2645 chrome/browser/history/history_backend_unittest.cc base::Time::FromInternalValue(2), base 2646 chrome/browser/history/history_backend_unittest.cc base::Time::FromInternalValue(8)); base 2648 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(0), base 2657 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(0), visit_vector[0].visit_time); base 2658 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(2), visit_vector[1].visit_time); base 2659 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(4), visit_vector[2].visit_time); base 2660 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(6), visit_vector[3].visit_time); base 2661 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(8), visit_vector[4].visit_time); base 2669 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(1), visit_vector[0].visit_time); base 2670 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(9), visit_vector[1].visit_time); base 2672 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(0), base 2680 chrome/browser/history/history_backend_unittest.cc base::Time reference_time = base::Time::UnixEpoch().LocalMidnight() + base 2681 chrome/browser/history/history_backend_unittest.cc base::TimeDelta::FromHours(12); base 2686 chrome/browser/history/history_backend_unittest.cc args[i].url = GURL("http://example" + base::IntToString(i) + ".com"); base 2687 chrome/browser/history/history_backend_unittest.cc args[i].time = reference_time + base::TimeDelta::FromDays(i); base 2700 chrome/browser/history/history_backend_unittest.cc backend_->db()->GetAllVisitsInRange(base::Time(), base::Time(), 0, &visits); base 2709 chrome/browser/history/history_backend_unittest.cc backend_->db()->GetAllVisitsInRange(base::Time(), base::Time(), 0, &visits); base 2716 chrome/browser/history/history_backend_unittest.cc backend_->db()->GetAllVisitsInRange(base::Time(), base::Time(), 0, &visits); base 2733 chrome/browser/history/history_backend_unittest.cc backend_->db()->GetAllVisitsInRange(base::Time(), base::Time(), 0, &visits); base 2749 chrome/browser/history/history_backend_unittest.cc base::string16 keyword = base::UTF8ToUTF16("bar"); base 2806 chrome/browser/history/history_backend_unittest.cc bookmark_utils::AddIfNotBookmarked(model, url, base::string16()); base 2812 chrome/browser/history/history_backend_unittest.cc url, base::Time::Now(), NULL, 1, GURL(), RedirectList(), base 2824 chrome/browser/history/history_backend_unittest.cc base::FilePath history_path(getTestDir()); base 2825 chrome/browser/history/history_backend_unittest.cc base::FilePath db1(history_path.AppendASCII("History Index 2013-05")); base 2826 chrome/browser/history/history_backend_unittest.cc base::FilePath db1_journal(db1.InsertBeforeExtensionASCII("-journal")); base 2827 chrome/browser/history/history_backend_unittest.cc base::FilePath db1_wal(db1.InsertBeforeExtensionASCII("-wal")); base 2828 chrome/browser/history/history_backend_unittest.cc base::FilePath db2_symlink(history_path.AppendASCII("History Index 2013-06")); base 2829 chrome/browser/history/history_backend_unittest.cc base::FilePath db2_actual(history_path.AppendASCII("Underlying DB")); base 2834 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::WriteFile(db1, data, data_len)); base 2835 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::WriteFile(db1_journal, data, data_len)); base 2836 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::WriteFile(db1_wal, data, data_len)); base 2837 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(base::WriteFile(db2_actual, data, data_len)); base 2839 chrome/browser/history/history_backend_unittest.cc EXPECT_TRUE(base::CreateSymbolicLink(db2_actual, db2_symlink)); base 2844 chrome/browser/history/history_backend_unittest.cc EXPECT_FALSE(base::PathExists(db1)); base 2845 chrome/browser/history/history_backend_unittest.cc EXPECT_FALSE(base::PathExists(db1_wal)); base 2846 chrome/browser/history/history_backend_unittest.cc EXPECT_FALSE(base::PathExists(db1_journal)); base 2847 chrome/browser/history/history_backend_unittest.cc EXPECT_FALSE(base::PathExists(db2_symlink)); base 2848 chrome/browser/history/history_backend_unittest.cc EXPECT_TRUE(base::PathExists(db2_actual)); // Symlinks shouldn't be followed. base 52 chrome/browser/history/history_browsertest.cc base::MessageLoop::current()->Quit(); base 84 chrome/browser/history/history_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 85 chrome/browser/history/history_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html"))); base 104 chrome/browser/history/history_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("OK")); base 107 chrome/browser/history/history_browsertest.cc title_watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 114 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("History"), base 115 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII(filename)); base 282 chrome/browser/history/history_browsertest.cc base::ASCIIToUTF16("<img"), true, base 285 chrome/browser/history/history_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("History"), base 306 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("History"), base 307 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("non_existant_file.html")); base 337 chrome/browser/history/history_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("title1.html"))); base 339 chrome/browser/history/history_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("title3.html"))); base 341 chrome/browser/history/history_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("simple.html"))); base 364 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("downloads"), base 365 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("a_zip_file.zip")); base 373 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("History"), base 374 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("redirector.html")); base 376 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("History"), base 377 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("landing.html")); base 392 chrome/browser/history/history_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("title3.html"))); base 407 chrome/browser/history/history_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("title3.html"))); base 434 chrome/browser/history/history_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("title3.html"))); base 460 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("History"), base 461 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("form.html")); base 463 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("History"), base 464 chrome/browser/history/history_browsertest.cc base::FilePath().AppendASCII("target.html")); base 469 chrome/browser/history/history_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("Target Page")); base 491 chrome/browser/history/history_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("History")); base 43 chrome/browser/history/history_database.cc sql::InitStatus HistoryDatabase::Init(const base::FilePath& history_name) { base 76 chrome/browser/history/history_database.cc base::mac::SetFileBackupExclusion(history_name); base 106 chrome/browser/history/history_database.cc const base::FilePath& history_name) { base 107 chrome/browser/history/history_database.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 109 chrome/browser/history/history_database.cc if (!base::GetFileSize(history_name, &file_size)) base 125 chrome/browser/history/history_database.cc base::Time one_week_ago = base::Time::Now() - base::TimeDelta::FromDays(7); base 134 chrome/browser/history/history_database.cc base::Time one_month_ago = base::Time::Now() - base::TimeDelta::FromDays(30); base 146 chrome/browser/history/history_database.cc base::TimeTicks::Now() - start_time); base 150 chrome/browser/history/history_database.cc if (base::RandInt(1, 3) == 3) { base 151 chrome/browser/history/history_database.cc start_time = base::TimeTicks::Now(); base 166 chrome/browser/history/history_database.cc base::Time visit_time = base 167 chrome/browser/history/history_database.cc base::Time::FromInternalValue(url_sql.ColumnInt64(1)); base 180 chrome/browser/history/history_database.cc base::TimeTicks::Now() - start_time); base 268 chrome/browser/history/history_database.cc base::Time HistoryDatabase::GetEarlyExpirationThreshold() { base 279 chrome/browser/history/history_database.cc cached_early_expiration_threshold_ = base::Time::FromInternalValue(threshold); base 283 chrome/browser/history/history_database.cc void HistoryDatabase::UpdateEarlyExpirationThreshold(base::Time threshold) { base 26 chrome/browser/history/history_database.h namespace base { base 81 chrome/browser/history/history_database.h sql::InitStatus Init(const base::FilePath& history_name); base 85 chrome/browser/history/history_database.h void ComputeDatabaseMetrics(const base::FilePath& filename); base 164 chrome/browser/history/history_database.h virtual base::Time GetEarlyExpirationThreshold(); base 165 chrome/browser/history/history_database.h virtual void UpdateEarlyExpirationThreshold(base::Time threshold); base 201 chrome/browser/history/history_database.h base::Time cached_early_expiration_threshold_; base 18 chrome/browser/history/history_database_unittest.cc base::ScopedTempDir temp_dir; base 19 chrome/browser/history/history_database_unittest.cc base::FilePath db_file; base 26 chrome/browser/history/history_database_unittest.cc base::FilePath old_history_path; base 31 chrome/browser/history/history_database_unittest.cc base::CopyFile(old_history_path, db_file); base 20 chrome/browser/history/history_db_task.h class HistoryDBTask : public base::RefCountedThreadSafe<HistoryDBTask> { base 35 chrome/browser/history/history_db_task.h friend class base::RefCountedThreadSafe<HistoryDBTask>; base 71 chrome/browser/history/history_marshaling.h typedef CancelableRequest1<base::Closure, scoped_refptr<HistoryDBTask> > base 28 chrome/browser/history/history_notifications.cc const base::string16& term) base 68 chrome/browser/history/history_notifications.h const base::string16& term); base 73 chrome/browser/history/history_notifications.h base::string16 term; base 16 chrome/browser/history/history_querying_unittest.cc using base::Time; base 17 chrome/browser/history/history_querying_unittest.cc using base::TimeDelta; base 67 chrome/browser/history/history_querying_unittest.cc base::UTF8ToUTF16(test_entries[test_entry_index].title); base 82 chrome/browser/history/history_querying_unittest.cc base::UTF8ToUTF16(text_query), options, &consumer_, base 83 chrome/browser/history/history_querying_unittest.cc base::Bind(&HistoryQueryTest::QueryHistoryComplete, base 84 chrome/browser/history/history_querying_unittest.cc base::Unretained(this))); base 86 chrome/browser/history/history_querying_unittest.cc base::MessageLoop::current()->Run(); base 114 chrome/browser/history/history_querying_unittest.cc options.end_time = base::Time(); base 134 chrome/browser/history/history_querying_unittest.cc options.end_time = base::Time(); base 156 chrome/browser/history/history_querying_unittest.cc history_->SetPageTitle(url, base::UTF8ToUTF16(entry.title)); base 163 chrome/browser/history/history_querying_unittest.cc ASSERT_TRUE(base::CreateDirectory(history_dir_)); base 182 chrome/browser/history/history_querying_unittest.cc history_->SetOnBackendDestroyTask(base::MessageLoop::QuitClosure()); base 185 chrome/browser/history/history_querying_unittest.cc base::MessageLoop::current()->Run(); // Wait for the other thread. base 191 chrome/browser/history/history_querying_unittest.cc base::MessageLoop::current()->Quit(); // Will return out to QueryHistory. base 194 chrome/browser/history/history_querying_unittest.cc base::ScopedTempDir temp_dir_; base 196 chrome/browser/history/history_querying_unittest.cc base::MessageLoop message_loop_; base 198 chrome/browser/history/history_querying_unittest.cc base::FilePath history_dir_; base 395 chrome/browser/history/history_querying_unittest.cc row1.set_title(base::UTF8ToUTF16("archived title same")); base 400 chrome/browser/history/history_querying_unittest.cc row2.set_title(base::UTF8ToUTF16("nonarchived title same")); base 462 chrome/browser/history/history_querying_unittest.cc { base::WideToUTF8(std::wstring(L"\u043f\u0440\u0435\u0437") + base 69 chrome/browser/history/history_service.cc using base::Time; base 129 chrome/browser/history/history_service.cc const base::WeakPtr<HistoryService>& history_service, base 130 chrome/browser/history/history_service.cc const scoped_refptr<base::SequencedTaskRunner>& service_task_runner, base 141 chrome/browser/history/history_service.cc base::Bind(&HistoryService::NotifyProfileError, history_service_, base 150 chrome/browser/history/history_service.cc base::Bind(&HistoryService::SetInMemoryBackend, history_service_, base 151 chrome/browser/history/history_service.cc base::Passed(&backend))); base 166 chrome/browser/history/history_service.cc base::Bind(&HistoryService::BroadcastNotificationsHelper, base 167 chrome/browser/history/history_service.cc history_service_, type, base::Passed(&details))); base 173 chrome/browser/history/history_service.cc base::Bind(&HistoryService::OnDBLoaded, history_service_)); base 180 chrome/browser/history/history_service.cc base::Bind(&HistoryService::NotifyVisitDBObserversOnAddVisit, base 185 chrome/browser/history/history_service.cc const base::WeakPtr<HistoryService> history_service_; base 186 chrome/browser/history/history_service.cc const scoped_refptr<base::SequencedTaskRunner> service_task_runner_; base 195 chrome/browser/history/history_service.cc thread_(new base::Thread(kHistoryThreadName)), base 204 chrome/browser/history/history_service.cc thread_(new base::Thread(kHistoryThreadName)), base 269 chrome/browser/history/history_service.cc base::Closure closing_task = base 270 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::Closing, history_backend_.get()); base 281 chrome/browser/history/history_service.cc base::Thread* thread = thread_; base 307 chrome/browser/history/history_service.cc base::Time* last_visit) { base 350 chrome/browser/history/history_service.cc const base::string16& term) { base 367 chrome/browser/history/history_service.cc const base::string16& prefix, base 385 chrome/browser/history/history_service.cc const base::string16& term) { base 401 chrome/browser/history/history_service.cc base::Bind(&history::HistoryDBTask::DoneRunOnMainThread, task)); base 417 chrome/browser/history/history_service.cc void HistoryService::FlushForTest(const base::Closure& flushed) { base 419 chrome/browser/history/history_service.cc FROM_HERE, base::Bind(&base::DoNothing), flushed); base 422 chrome/browser/history/history_service.cc void HistoryService::SetOnBackendDestroyTask(const base::Closure& task) { base 425 chrome/browser/history/history_service.cc base::MessageLoop::current(), task); base 445 chrome/browser/history/history_service.cc base::Time time, base 486 chrome/browser/history/history_service.cc const base::string16& title) { base 496 chrome/browser/history/history_service.cc const base::string16& title) { base 511 chrome/browser/history/history_service.cc const base::string16& title, base 558 chrome/browser/history/history_service.cc base::CancelableTaskTracker::TaskId HistoryService::GetFavicons( base 564 chrome/browser/history/history_service.cc base::CancelableTaskTracker* tracker) { base 572 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::GetFavicons, base 579 chrome/browser/history/history_service.cc base::Bind(&RunWithFaviconResults, callback, base::Owned(results))); base 582 chrome/browser/history/history_service.cc base::CancelableTaskTracker::TaskId HistoryService::GetFaviconsForURL( base 588 chrome/browser/history/history_service.cc base::CancelableTaskTracker* tracker) { base 596 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::GetFaviconsForURL, base 603 chrome/browser/history/history_service.cc base::Bind(&RunWithFaviconResults, callback, base::Owned(results))); base 606 chrome/browser/history/history_service.cc base::CancelableTaskTracker::TaskId HistoryService::GetLargestFaviconForURL( base 611 chrome/browser/history/history_service.cc base::CancelableTaskTracker* tracker) { base 618 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::GetLargestFaviconForURL, base 624 chrome/browser/history/history_service.cc base::Bind(&RunWithFaviconResult, callback, base::Owned(result))); base 627 chrome/browser/history/history_service.cc base::CancelableTaskTracker::TaskId HistoryService::GetFaviconForID( base 632 chrome/browser/history/history_service.cc base::CancelableTaskTracker* tracker) { base 640 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::GetFaviconForID, base 646 chrome/browser/history/history_service.cc base::Bind(&RunWithFaviconResults, callback, base::Owned(results))); base 649 chrome/browser/history/history_service.cc base::CancelableTaskTracker::TaskId base 657 chrome/browser/history/history_service.cc base::CancelableTaskTracker* tracker) { base 665 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::UpdateFaviconMappingsAndFetch, base 673 chrome/browser/history/history_service.cc base::Bind(&RunWithFaviconResults, callback, base::Owned(results))); base 680 chrome/browser/history/history_service.cc scoped_refptr<base::RefCountedMemory> bitmap_data, base 743 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::CreateDownload, history_backend_.get(), base 754 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::GetNextDownloadId, history_backend_.get()), base 773 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::QueryDownloads, history_backend_.get(), rows), base 774 chrome/browser/history/history_service.cc base::Bind(callback, base::Passed(&scoped_rows))); base 791 chrome/browser/history/history_service.cc const base::string16& text_query, base 911 chrome/browser/history/history_service.cc bool HistoryService::Init(const base::FilePath& history_dir, base 937 chrome/browser/history/history_service.cc base::ThreadTaskRunnerHandle::Get(), base 966 chrome/browser/history/history_service.cc const base::Closure& task) { base 999 chrome/browser/history/history_service.cc base::WeakPtr<HistoryService> HistoryService::AsWeakPtr() { base 1079 chrome/browser/history/history_service.cc const base::Closure& callback, base 1080 chrome/browser/history/history_service.cc base::CancelableTaskTracker* tracker) { base 1086 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::ExpireHistoryBetween, base 1096 chrome/browser/history/history_service.cc const base::Closure& callback, base 1097 chrome/browser/history/history_service.cc base::CancelableTaskTracker* tracker) { base 1104 chrome/browser/history/history_service.cc base::Bind(&HistoryBackend::ExpireHistory, history_backend_, expire_list), base 1112 chrome/browser/history/history_service.cc const base::Closure& callback, base 1113 chrome/browser/history/history_service.cc base::CancelableTaskTracker* tracker) { base 1133 chrome/browser/history/history_service.cc base::Bind(&ExpireWebHistoryComplete)); base 53 chrome/browser/history/history_service.h namespace base { base 105 chrome/browser/history/history_service.h bool Init(const base::FilePath& history_dir, BookmarkService* bookmark_service) { base 152 chrome/browser/history/history_service.h bool GetLastVisitTimeForURL(const GURL& url, base::Time* last_visit); base 195 chrome/browser/history/history_service.h base::Time time, base 206 chrome/browser/history/history_service.h base::Time time, base 215 chrome/browser/history/history_service.h void AddPageNoVisitForBookmark(const GURL& url, const base::string16& title); base 219 chrome/browser/history/history_service.h void SetPageTitle(const GURL& url, const base::string16& title); base 230 chrome/browser/history/history_service.h base::Time end_ts); base 241 chrome/browser/history/history_service.h typedef base::Callback<void( base 259 chrome/browser/history/history_service.h typedef base::Callback<void(Handle, history::QueryResults*)> base 265 chrome/browser/history/history_service.h Handle QueryHistory(const base::string16& text_query, base 282 chrome/browser/history/history_service.h typedef base::Callback<void(Handle, base 300 chrome/browser/history/history_service.h typedef base::Callback< base 304 chrome/browser/history/history_service.h base::Time)> // Time of first visit. Only set if bool base 321 chrome/browser/history/history_service.h typedef base::Callback< base 336 chrome/browser/history/history_service.h typedef base::Callback<void(Handle, history::MostVisitedURLList)> base 339 chrome/browser/history/history_service.h typedef base::Callback<void(Handle, const history::FilteredURLList&)> base 380 chrome/browser/history/history_service.h base::Time begin_time, base 381 chrome/browser/history/history_service.h base::Time end_time, base 382 chrome/browser/history/history_service.h const base::Closure& callback, base 383 chrome/browser/history/history_service.h base::CancelableTaskTracker* tracker); base 390 chrome/browser/history/history_service.h const base::Closure& callback, base 391 chrome/browser/history/history_service.h base::CancelableTaskTracker* tracker); base 397 chrome/browser/history/history_service.h base::Time begin_time, base 398 chrome/browser/history/history_service.h base::Time end_time, base 399 chrome/browser/history/history_service.h const base::Closure& callback, base 400 chrome/browser/history/history_service.h base::CancelableTaskTracker* tracker); base 412 chrome/browser/history/history_service.h typedef base::Callback<void(bool)> DownloadCreateCallback; base 428 chrome/browser/history/history_service.h typedef base::Callback<void( base 449 chrome/browser/history/history_service.h typedef base::Callback<void(Handle, std::vector<PageUsageData*>*)> base 466 chrome/browser/history/history_service.h const base::Time from_time, base 476 chrome/browser/history/history_service.h const base::string16& term); base 481 chrome/browser/history/history_service.h typedef base::Callback< base 491 chrome/browser/history/history_service.h const base::string16& prefix, base 502 chrome/browser/history/history_service.h const base::string16& term); base 525 chrome/browser/history/history_service.h void FlushForTest(const base::Closure& flushed); base 536 chrome/browser/history/history_service.h void SetOnBackendDestroyTask(const base::Closure& task); base 550 chrome/browser/history/history_service.h const base::string16& title, base 553 chrome/browser/history/history_service.h base::Time last_visit, base 565 chrome/browser/history/history_service.h base::WeakPtr<HistoryService> AsWeakPtr(); base 594 chrome/browser/history/history_service.h friend class base::RefCountedThreadSafe<HistoryService>; base 620 chrome/browser/history/history_service.h bool Init(const base::FilePath& history_dir, base 661 chrome/browser/history/history_service.h base::CancelableTaskTracker::TaskId GetFavicons( base 667 chrome/browser/history/history_service.h base::CancelableTaskTracker* tracker); base 678 chrome/browser/history/history_service.h base::CancelableTaskTracker::TaskId GetFaviconsForURL( base 684 chrome/browser/history/history_service.h base::CancelableTaskTracker* tracker); base 697 chrome/browser/history/history_service.h base::CancelableTaskTracker::TaskId GetLargestFaviconForURL( base 702 chrome/browser/history/history_service.h base::CancelableTaskTracker* tracker); base 708 chrome/browser/history/history_service.h base::CancelableTaskTracker::TaskId GetFaviconForID( base 713 chrome/browser/history/history_service.h base::CancelableTaskTracker* tracker); base 734 chrome/browser/history/history_service.h base::CancelableTaskTracker::TaskId UpdateFaviconMappingsAndFetch( base 741 chrome/browser/history/history_service.h base::CancelableTaskTracker* tracker); base 766 chrome/browser/history/history_service.h scoped_refptr<base::RefCountedMemory> bitmap_data, base 809 chrome/browser/history/history_service.h void ScheduleTask(SchedulePriority priority, const base::Closure& task); base 827 chrome/browser/history/history_service.h base::Bind(func, history_backend_.get(), base 843 chrome/browser/history/history_service.h base::Bind(func, history_backend_.get(), base 863 chrome/browser/history/history_service.h base::Bind(func, history_backend_.get(), base 885 chrome/browser/history/history_service.h base::Bind(func, history_backend_.get(), base 909 chrome/browser/history/history_service.h base::Bind(func, history_backend_.get(), base 924 chrome/browser/history/history_service.h ScheduleTask(priority, base::Bind(func, history_backend_.get())); base 933 chrome/browser/history/history_service.h ScheduleTask(priority, base::Bind(func, history_backend_.get(), a)); base 943 chrome/browser/history/history_service.h ScheduleTask(priority, base::Bind(func, history_backend_.get(), a, b)); base 954 chrome/browser/history/history_service.h ScheduleTask(priority, base::Bind(func, history_backend_.get(), a, b, c)); base 970 chrome/browser/history/history_service.h ScheduleTask(priority, base::Bind(func, history_backend_.get(), base 989 chrome/browser/history/history_service.h ScheduleTask(priority, base::Bind(func, history_backend_.get(), base 994 chrome/browser/history/history_service.h base::WeakPtrFactory<HistoryService> weak_ptr_factory_; base 996 chrome/browser/history/history_service.h base::ThreadChecker thread_checker_; base 1006 chrome/browser/history/history_service.h base::Thread* thread_; base 1034 chrome/browser/history/history_service.h base::FilePath history_dir_; base 60 chrome/browser/history/history_tab_helper.cc base::Time timestamp, base 98 chrome/browser/history/history_tab_helper.cc base::Time navigation_time = base 102 chrome/browser/history/history_tab_helper.cc base::Time navigation_time = details.entry->GetTimestamp(); base 170 chrome/browser/history/history_tab_helper.cc base::Time::Now()); base 37 chrome/browser/history/history_tab_helper.h base::Time timestamp, base 61 chrome/browser/history/history_types.cc last_visit_ = base::Time(); base 76 chrome/browser/history/history_types.cc base::Time arg_visit_time, base 97 chrome/browser/history/history_types.cc URLResult::URLResult(const GURL& url, base::Time visit_time) base 227 chrome/browser/history/history_types.cc base::StackVector<size_t, 4> new_list; base 251 chrome/browser/history/history_types.cc end_time = base::Time::Now(); base 252 chrome/browser/history/history_types.cc begin_time = end_time - base::TimeDelta::FromDays(days_ago); base 285 chrome/browser/history/history_types.cc const base::string16& title) base 291 chrome/browser/history/history_types.cc const base::string16& title, base 292 chrome/browser/history/history_types.cc const base::Time& last_forced_time) base 343 chrome/browser/history/history_types.cc base::Time time, base 378 chrome/browser/history/history_types.cc base::Time AutocompleteAgeThreshold() { base 379 chrome/browser/history/history_types.cc return (base::Time::Now() - base 380 chrome/browser/history/history_types.cc base::TimeDelta::FromDays(kLowQualityMatchAgeLimitInDays)); base 384 chrome/browser/history/history_types.cc const base::Time& threshold) { base 385 chrome/browser/history/history_types.cc const base::Time& real_threshold = base 431 chrome/browser/history/history_types.cc void ExpireHistoryArgs::SetTimeRangeForOneDay(base::Time time) { base 436 chrome/browser/history/history_types.cc end_time = (begin_time + base::TimeDelta::FromHours(36)).LocalMidnight(); base 88 chrome/browser/history/history_types.h const base::string16& title() const { base 91 chrome/browser/history/history_types.h void set_title(const base::string16& title) { base 122 chrome/browser/history/history_types.h base::Time last_visit() const { base 125 chrome/browser/history/history_types.h void set_last_visit(base::Time last_visit) { base 175 chrome/browser/history/history_types.h base::string16 title_; base 185 chrome/browser/history/history_types.h base::Time last_visit_; base 223 chrome/browser/history/history_types.h base::Time arg_visit_time, base 235 chrome/browser/history/history_types.h base::Time visit_time; base 252 chrome/browser/history/history_types.h base::TimeDelta visit_duration; base 267 chrome/browser/history/history_types.h typedef std::pair<base::Time, content::PageTransition> VisitInfo; base 276 chrome/browser/history/history_types.h base::Time visit_time; base 284 chrome/browser/history/history_types.h URLResult(const GURL& url, base::Time visit_time); base 291 chrome/browser/history/history_types.h base::Time visit_time() const { return visit_time_; } base 292 chrome/browser/history/history_types.h void set_visit_time(base::Time visit_time) { visit_time_ = visit_time; } base 316 chrome/browser/history/history_types.h base::Time visit_time_; base 352 chrome/browser/history/history_types.h base::Time first_time_searched() const { return first_time_searched_; } base 353 chrome/browser/history/history_types.h void set_first_time_searched(base::Time t) { first_time_searched_ = t; } base 406 chrome/browser/history/history_types.h typedef std::map<GURL, base::StackVector<size_t, 4> > URLToResultIndices; base 416 chrome/browser/history/history_types.h base::Time first_time_searched_; base 444 chrome/browser/history/history_types.h base::Time begin_time; base 445 chrome/browser/history/history_types.h base::Time end_time; base 488 chrome/browser/history/history_types.h base::string16 term; // The search term that was used. base 490 chrome/browser/history/history_types.h base::Time time; // The time of the most recent visit. base 502 chrome/browser/history/history_types.h base::string16 term; // The search term that was used. base 510 chrome/browser/history/history_types.h MostVisitedURL(const GURL& url, const base::string16& title); base 512 chrome/browser/history/history_types.h const base::string16& title, base 513 chrome/browser/history/history_types.h const base::Time& last_forced_time); base 517 chrome/browser/history/history_types.h base::string16 title; base 522 chrome/browser/history/history_types.h base::Time last_forced_time; base 544 chrome/browser/history/history_types.h base::Time last_visit_time; base 552 chrome/browser/history/history_types.h base::string16 title; base 569 chrome/browser/history/history_types.h base::Time time, base 580 chrome/browser/history/history_types.h base::Time time; base 602 chrome/browser/history/history_types.h scoped_refptr<base::RefCountedMemory> thumbnail; base 625 chrome/browser/history/history_types.h typedef std::map<GURL, scoped_refptr<base::RefCountedBytes> > URLToThumbnailMap; base 639 chrome/browser/history/history_types.h : public base::RefCountedThreadSafe<MostVisitedThumbnails> { base 647 chrome/browser/history/history_types.h friend class base::RefCountedThreadSafe<MostVisitedThumbnails>; base 663 chrome/browser/history/history_types.h base::Time AutocompleteAgeThreshold(); base 671 chrome/browser/history/history_types.h bool RowQualifiesAsSignificant(const URLRow& row, const base::Time& threshold); base 720 chrome/browser/history/history_types.h base::Time last_updated; base 723 chrome/browser/history/history_types.h scoped_refptr<base::RefCountedMemory> bitmap_data; base 732 chrome/browser/history/history_types.h base::Time time; base 749 chrome/browser/history/history_types.h void SetTimeRangeForOneDay(base::Time time); base 752 chrome/browser/history/history_types.h base::Time begin_time; base 753 chrome/browser/history/history_types.h base::Time end_time; base 41 chrome/browser/history/history_types_unittest.cc URLResult result1(url1, base::Time::Now()); base 42 chrome/browser/history/history_types_unittest.cc URLResult result2(url1, base::Time::Now()); base 43 chrome/browser/history/history_types_unittest.cc URLResult result3(url2, base::Time::Now()); base 119 chrome/browser/history/history_types_unittest.cc const base::Time& threshold(AutocompleteAgeThreshold()); base 122 chrome/browser/history/history_types_unittest.cc url_row.set_title(base::UTF8ToUTF16("Google")); base 124 chrome/browser/history/history_types_unittest.cc EXPECT_FALSE(RowQualifiesAsSignificant(url_row, base::Time())); base 127 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(RowQualifiesAsSignificant(url_row, base::Time())); base 130 chrome/browser/history/history_types_unittest.cc EXPECT_FALSE(RowQualifiesAsSignificant(url_row, base::Time())); base 133 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(RowQualifiesAsSignificant(url_row, base::Time())); base 136 chrome/browser/history/history_types_unittest.cc EXPECT_FALSE(RowQualifiesAsSignificant(url_row, base::Time())); base 137 chrome/browser/history/history_types_unittest.cc url_row.set_last_visit(base::Time::Now() - base::TimeDelta::FromDays(1)); base 139 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(RowQualifiesAsSignificant(url_row, base::Time())); base 140 chrome/browser/history/history_types_unittest.cc url_row.set_last_visit(base::Time::Now() - base 141 chrome/browser/history/history_types_unittest.cc base::TimeDelta::FromDays(kLowQualityMatchAgeLimitInDays + 1)); base 143 chrome/browser/history/history_types_unittest.cc EXPECT_FALSE(RowQualifiesAsSignificant(url_row, base::Time())); base 76 chrome/browser/history/history_unittest.cc using base::Time; base 77 chrome/browser/history/history_unittest.cc using base::TimeDelta; base 131 chrome/browser/history/history_unittest.cc base::FilePath data_path; base 135 chrome/browser/history/history_unittest.cc data_path.AppendASCII(base::StringPrintf("history.%d.sql", version)); base 145 chrome/browser/history/history_unittest.cc ASSERT_TRUE(base::CreateDirectory(history_dir_)); base 160 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 161 chrome/browser/history/history_unittest.cc base::MessageLoop::QuitClosure()); base 162 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 171 chrome/browser/history/history_unittest.cc DownloadRow download(base::FilePath(FILE_PATH_LITERAL("current-path")), base 172 chrome/browser/history/history_unittest.cc base::FilePath(FILE_PATH_LITERAL("target-path")), base 191 chrome/browser/history/history_unittest.cc base::ScopedTempDir temp_dir_; base 193 chrome/browser/history/history_unittest.cc base::MessageLoopForUI message_loop_; base 196 chrome/browser/history/history_unittest.cc base::FilePath history_dir_; base 237 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::FilePath(FILE_PATH_LITERAL("current-path")), base 239 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::FilePath(FILE_PATH_LITERAL("target-path")), base 283 chrome/browser/history/history_unittest.cc s.BindInt64(3, base::Time::Now().ToTimeT()); base 287 chrome/browser/history/history_unittest.cc s.BindInt64(7, base::Time::Now().ToTimeT()); base 331 chrome/browser/history/history_unittest.cc Time now(base::Time::Now()); base 393 chrome/browser/history/history_unittest.cc base::Time nowish(base::Time::FromTimeT(now.ToTimeT())); base 445 chrome/browser/history/history_unittest.cc Time now(base::Time::Now()); base 493 chrome/browser/history/history_unittest.cc Time now(base::Time::Now()); base 556 chrome/browser/history/history_unittest.cc Time now(base::Time::Now()); base 624 chrome/browser/history/history_unittest.cc base::Time now(base::Time::Now()); base 629 chrome/browser/history/history_unittest.cc AddDownload(id2, DownloadItem::COMPLETE, now + base::TimeDelta::FromDays(2)); base 630 chrome/browser/history/history_unittest.cc AddDownload(id3, DownloadItem::COMPLETE, now - base::TimeDelta::FromDays(2)); base 670 chrome/browser/history/history_unittest.cc base::Time now(base::Time::Now()); base 672 chrome/browser/history/history_unittest.cc DownloadRow download(base::FilePath(FILE_PATH_LITERAL("foo-path")), base 673 chrome/browser/history/history_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo-path")), base 728 chrome/browser/history/history_unittest.cc base::Time now(base::Time::Now()); base 763 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 896 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Quit(); base 900 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Quit(); base 906 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Quit(); base 916 chrome/browser/history/history_unittest.cc ASSERT_TRUE(base::CreateDirectory(history_dir_)); base 930 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 931 chrome/browser/history/history_unittest.cc base::MessageLoop::QuitClosure()); base 932 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 939 chrome/browser/history/history_unittest.cc history_service_->SetOnBackendDestroyTask(base::MessageLoop::QuitClosure()); base 947 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 955 chrome/browser/history/history_unittest.cc base::Bind(&HistoryTest::SaveURLAndQuit, base 956 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 957 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); // Will be exited in SaveURLAndQuit. base 974 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Quit(); base 982 chrome/browser/history/history_unittest.cc base::Bind(&HistoryTest::OnRedirectQueryComplete, base 983 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 984 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); // Will be exited in *QueryComplete. base 998 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Quit(); base 1001 chrome/browser/history/history_unittest.cc base::ScopedTempDir temp_dir_; base 1003 chrome/browser/history/history_unittest.cc base::MessageLoopForUI message_loop_; base 1016 chrome/browser/history/history_unittest.cc base::FilePath history_dir_; base 1041 chrome/browser/history/history_unittest.cc history_service_->AddPage(test_url, base::Time::Now(), NULL, 0, GURL(), base 1051 chrome/browser/history/history_unittest.cc history_service_->AddPage(test_url, base::Time::Now(), NULL, 0, GURL(), base 1073 chrome/browser/history/history_unittest.cc first_redirects.back(), base::Time::Now(), MakeFakeHost(1), base 1111 chrome/browser/history/history_unittest.cc history_service_->AddPage(second_redirects[1], base::Time::Now(), base 1141 chrome/browser/history/history_unittest.cc test_url, base::Time::Now(), NULL, 0, GURL(), base 1157 chrome/browser/history/history_unittest.cc test_url2, base::Time::Now(), NULL, 0, GURL(), base 1170 chrome/browser/history/history_unittest.cc test_url3, base::Time::Now(), NULL, 0, GURL(), base 1183 chrome/browser/history/history_unittest.cc test_url4, base::Time::Now(), NULL, 0, GURL(), base 1196 chrome/browser/history/history_unittest.cc test_url5, base::Time::Now(), NULL, 0, GURL(), base 1209 chrome/browser/history/history_unittest.cc test_url, base::Time::Now(), NULL, 0, GURL(), base 1226 chrome/browser/history/history_unittest.cc test_url, base::Time::Now(), NULL, 0, GURL(), base 1237 chrome/browser/history/history_unittest.cc test_url, base::Time::Now(), NULL, 0, GURL(), base 1248 chrome/browser/history/history_unittest.cc test_url, base::Time::Now(), NULL, 0, GURL(), base 1259 chrome/browser/history/history_unittest.cc test_url, base::Time::Now(), NULL, 0, GURL(), base 1275 chrome/browser/history/history_unittest.cc existing_url, base::Time::Now(), history::SOURCE_BROWSED); base 1278 chrome/browser/history/history_unittest.cc const base::string16 existing_title = base::UTF8ToUTF16("Google"); base 1287 chrome/browser/history/history_unittest.cc const base::string16 nonexistent_title = base::UTF8ToUTF16("Google News"); base 1292 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::string16(), query_url_row_.title()); base 1307 chrome/browser/history/history_unittest.cc existing_url, base::Time::Now(), scope, 0, GURL(), base 1314 chrome/browser/history/history_unittest.cc base::Bind(&HistoryTest::OnSegmentUsageAvailable, base 1315 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 1318 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 1327 chrome/browser/history/history_unittest.cc link_url, base::Time::Now(), scope, 0, GURL(), base 1334 chrome/browser/history/history_unittest.cc base::Bind(&HistoryTest::OnSegmentUsageAvailable, base 1335 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 1338 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 1346 chrome/browser/history/history_unittest.cc GURL("http://www.google.com/foo"), base::Time::Now(), base 1354 chrome/browser/history/history_unittest.cc base::Bind(&HistoryTest::OnSegmentUsageAvailable, base 1355 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 1358 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 1381 chrome/browser/history/history_unittest.cc url0, base::Time::Now(), scope, 0, GURL(), base 1385 chrome/browser/history/history_unittest.cc url1, base::Time::Now(), scope, 0, GURL(), base 1390 chrome/browser/history/history_unittest.cc base::Bind( base 1392 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 1393 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 1401 chrome/browser/history/history_unittest.cc url2, base::Time::Now(), scope, 0, GURL(), base 1406 chrome/browser/history/history_unittest.cc base::Bind( base 1408 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 1409 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 1418 chrome/browser/history/history_unittest.cc url2, base::Time::Now(), scope, 0, GURL(), base 1423 chrome/browser/history/history_unittest.cc base::Bind( base 1425 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 1426 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 1435 chrome/browser/history/history_unittest.cc url1, base::Time::Now(), scope, 0, GURL(), base 1440 chrome/browser/history/history_unittest.cc base::Bind( base 1442 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 1443 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 1457 chrome/browser/history/history_unittest.cc url4, base::Time::Now(), scope, 0, GURL(), base 1462 chrome/browser/history/history_unittest.cc base::Bind( base 1464 chrome/browser/history/history_unittest.cc base::Unretained(this))); base 1465 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 1495 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Quit(); base 1520 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->Run(); base 1549 chrome/browser/history/history_unittest.cc base::Time t = base 1550 chrome/browser/history/history_unittest.cc base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(i); base 1561 chrome/browser/history/history_unittest.cc (base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(1)) base 1595 chrome/browser/history/history_unittest.cc if (base::Time::Now() > timeout || base 1600 chrome/browser/history/history_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 1601 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->PostTask( base 1603 chrome/browser/history/history_unittest.cc base::Bind(&CheckDirectiveProcessingResult, timeout, base 1614 chrome/browser/history/history_unittest.cc base::Time t = base 1615 chrome/browser/history/history_unittest.cc base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(i); base 1632 chrome/browser/history/history_unittest.cc (base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(6)) base 1637 chrome/browser/history/history_unittest.cc syncer::SyncData::CreateRemoteData(1, entity_specs, base::Time())); base 1642 chrome/browser/history/history_unittest.cc (base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(17)) base 1647 chrome/browser/history/history_unittest.cc syncer::SyncData::CreateRemoteData(2, entity_specs, base::Time())); base 1663 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->PostTask( base 1665 chrome/browser/history/history_unittest.cc base::Bind(&CheckDirectiveProcessingResult, base 1666 chrome/browser/history/history_unittest.cc base::Time::Now() + base::TimeDelta::FromSeconds(10), base 1668 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1671 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(1), base 1673 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(2), base 1675 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(11), base 1677 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(12), base 1679 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(20), base 1697 chrome/browser/history/history_unittest.cc base::Time t = base 1698 chrome/browser/history/history_unittest.cc base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(i); base 1718 chrome/browser/history/history_unittest.cc base::Time())); base 1726 chrome/browser/history/history_unittest.cc base::Time())); base 1742 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->PostTask( base 1744 chrome/browser/history/history_unittest.cc base::Bind(&CheckDirectiveProcessingResult, base 1745 chrome/browser/history/history_unittest.cc base::Time::Now() + base::TimeDelta::FromSeconds(10), base 1747 chrome/browser/history/history_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1750 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(1), base 1752 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(6), base 1754 chrome/browser/history/history_unittest.cc EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMicroseconds(7), base 1775 chrome/browser/history/history_unittest.cc const base::string16 title(base::ASCIIToUTF16("Title1")); base 19 chrome/browser/history/history_unittest_base.cc void HistoryUnitTestBase::ExecuteSQLScript(const base::FilePath& sql_path, base 20 chrome/browser/history/history_unittest_base.cc const base::FilePath& db_path) { base 22 chrome/browser/history/history_unittest_base.cc ASSERT_TRUE(base::ReadFileToString(sql_path, &sql)); base 26 chrome/browser/history/history_unittest_base.cc int64 now = base::Time::Now().ToInternalValue(); base 28 chrome/browser/history/history_unittest_base.cc sql_time.push_back(base::StringPrintf("%" PRId64, now)); // last_visit_time base 29 chrome/browser/history/history_unittest_base.cc sql_time.push_back(base::StringPrintf("%" PRId64, now)); // visit_time base 30 chrome/browser/history/history_unittest_base.cc sql_time.push_back(base::StringPrintf("%" PRId64, now)); // time_slot base 10 chrome/browser/history/history_unittest_base.h namespace base { base 24 chrome/browser/history/history_unittest_base.h static void ExecuteSQLScript(const base::FilePath& sql_path, base 25 chrome/browser/history/history_unittest_base.h const base::FilePath& db_path); base 65 chrome/browser/history/in_memory_database.cc bool InMemoryDatabase::InitFromDisk(const base::FilePath& history_name) { base 75 chrome/browser/history/in_memory_database.cc attach.BindString(0, base::WideToUTF8(history_name.value())); base 81 chrome/browser/history/in_memory_database.cc base::TimeTicks begin_load = base::TimeTicks::Now(); base 87 chrome/browser/history/in_memory_database.cc base::TimeTicks end_load = base::TimeTicks::Now(); base 104 chrome/browser/history/in_memory_database.cc begin_load = base::TimeTicks::Now(); base 113 chrome/browser/history/in_memory_database.cc end_load = base::TimeTicks::Now(); base 120 chrome/browser/history/in_memory_database.cc begin_load = base::TimeTicks::Now(); base 127 chrome/browser/history/in_memory_database.cc end_load = base::TimeTicks::Now(); base 12 chrome/browser/history/in_memory_database.h namespace base { base 33 chrome/browser/history/in_memory_database.h bool InitFromDisk(const base::FilePath& history_name); base 30 chrome/browser/history/in_memory_history_backend.cc bool InMemoryHistoryBackend::Init(const base::FilePath& history_filename, base 166 chrome/browser/history/in_memory_history_backend.cc new_row.set_last_visit(base::Time::Now()); base 27 chrome/browser/history/in_memory_history_backend.h namespace base { base 49 chrome/browser/history/in_memory_history_backend.h bool Init(const base::FilePath& history_filename, URLDatabase* db); base 32 chrome/browser/history/in_memory_url_index.cc void DeleteCacheFile(const base::FilePath& path) { base 34 chrome/browser/history/in_memory_url_index.cc base::DeleteFile(path, false); base 93 chrome/browser/history/in_memory_url_index.cc const base::FilePath& history_dir, base 141 chrome/browser/history/in_memory_url_index.cc base::FilePath path; base 153 chrome/browser/history/in_memory_url_index.cc bool InMemoryURLIndex::GetCacheFilePath(base::FilePath* file_path) { base 163 chrome/browser/history/in_memory_url_index.cc const base::string16& term_string, base 240 chrome/browser/history/in_memory_url_index.cc base::FilePath path; base 251 chrome/browser/history/in_memory_url_index.cc base::Bind(&URLIndexPrivateData::RestoreFromFile, path, languages_), base 252 chrome/browser/history/in_memory_url_index.cc base::Bind(&InMemoryURLIndex::OnCacheLoadDone, AsWeakPtr())); base 266 chrome/browser/history/in_memory_url_index.cc base::FilePath path; base 270 chrome/browser/history/in_memory_url_index.cc FROM_HERE, base::Bind(DeleteCacheFile, path)); base 320 chrome/browser/history/in_memory_url_index.cc base::FilePath path; base 332 chrome/browser/history/in_memory_url_index.cc base::Bind(&URLIndexPrivateData::WritePrivateDataToCacheFileTask, base 334 chrome/browser/history/in_memory_url_index.cc base::Bind(&InMemoryURLIndex::OnCacheSaveDone, AsWeakPtr())); base 339 chrome/browser/history/in_memory_url_index.cc base::Bind(DeleteCacheFile, path)); base 34 chrome/browser/history/in_memory_url_index.h namespace base { base 72 chrome/browser/history/in_memory_url_index.h public base::SupportsWeakPtr<InMemoryURLIndex> { base 104 chrome/browser/history/in_memory_url_index.h const base::FilePath& history_dir, base 123 chrome/browser/history/in_memory_url_index.h ScoredHistoryMatches HistoryItemsForTerms(const base::string16& term_string, base 185 chrome/browser/history/in_memory_url_index.h bool GetCacheFilePath(base::FilePath* file_path); base 226 chrome/browser/history/in_memory_url_index.h void DoSaveToCacheFile(const base::FilePath& path); base 244 chrome/browser/history/in_memory_url_index.h void set_history_dir(const base::FilePath& dir_path) { base 260 chrome/browser/history/in_memory_url_index.h base::FilePath history_dir_; base 43 chrome/browser/history/in_memory_url_index_types.cc base::string16 CleanUpUrlForMatching(const GURL& gurl, base 45 chrome/browser/history/in_memory_url_index_types.cc return base::i18n::ToLower(net::FormatUrl( base 52 chrome/browser/history/in_memory_url_index_types.cc base::string16 CleanUpTitleForMatching(const base::string16& title) { base 53 chrome/browser/history/in_memory_url_index_types.cc return base::i18n::ToLower(title.substr(0u, kCleanedUpTitleMaxLength)); base 56 chrome/browser/history/in_memory_url_index_types.cc TermMatches MatchTermInString(const base::string16& term, base 57 chrome/browser/history/in_memory_url_index_types.cc const base::string16& cleaned_string, base 60 chrome/browser/history/in_memory_url_index_types.cc const base::string16& short_string = base 65 chrome/browser/history/in_memory_url_index_types.cc location != base::string16::npos; base 107 chrome/browser/history/in_memory_url_index_types.cc if (*offset_iter != base::string16::npos) { base 118 chrome/browser/history/in_memory_url_index_types.cc String16Set String16SetFromString16(const base::string16& cleaned_uni_string, base 125 chrome/browser/history/in_memory_url_index_types.cc word_set.insert(base::i18n::ToLower(*iter).substr(0, kMaxSignificantChars)); base 130 chrome/browser/history/in_memory_url_index_types.cc const base::string16& cleaned_uni_string, base 135 chrome/browser/history/in_memory_url_index_types.cc base::i18n::BreakIterator iter(cleaned_uni_string, base 136 chrome/browser/history/in_memory_url_index_types.cc break_on_space ? base::i18n::BreakIterator::BREAK_SPACE : base 137 chrome/browser/history/in_memory_url_index_types.cc base::i18n::BreakIterator::BREAK_WORD); base 143 chrome/browser/history/in_memory_url_index_types.cc base::string16 word(iter.GetString()); base 146 chrome/browser/history/in_memory_url_index_types.cc base::string16 trimmed_word; base 147 chrome/browser/history/in_memory_url_index_types.cc base::TrimWhitespace(word, base::TRIM_LEADING, &trimmed_word); base 149 chrome/browser/history/in_memory_url_index_types.cc base::TrimWhitespace(trimmed_word, base::TRIM_TRAILING, &word); base 164 chrome/browser/history/in_memory_url_index_types.cc Char16Set Char16SetFromString16(const base::string16& term) { base 166 chrome/browser/history/in_memory_url_index_types.cc for (base::string16::const_iterator iter = term.begin(); iter != term.end(); base 49 chrome/browser/history/in_memory_url_index_types.h base::string16 CleanUpUrlForMatching(const GURL& gurl, base 54 chrome/browser/history/in_memory_url_index_types.h base::string16 CleanUpTitleForMatching(const base::string16& title); base 64 chrome/browser/history/in_memory_url_index_types.h TermMatches MatchTermInString(const base::string16& term, base 65 chrome/browser/history/in_memory_url_index_types.h const base::string16& cleaned_string, base 82 chrome/browser/history/in_memory_url_index_types.h typedef std::vector<base::string16> String16Vector; base 83 chrome/browser/history/in_memory_url_index_types.h typedef std::set<base::string16> String16Set; base 84 chrome/browser/history/in_memory_url_index_types.h typedef std::set<base::char16> Char16Set; base 85 chrome/browser/history/in_memory_url_index_types.h typedef std::vector<base::char16> Char16Vector; base 99 chrome/browser/history/in_memory_url_index_types.h String16Set String16SetFromString16(const base::string16& cleaned_uni_string, base 122 chrome/browser/history/in_memory_url_index_types.h const base::string16& cleaned_uni_string, base 134 chrome/browser/history/in_memory_url_index_types.h Char16Set Char16SetFromString16(const base::string16& uni_word); base 142 chrome/browser/history/in_memory_url_index_types.h typedef std::map<base::string16, WordID> WordMap; base 146 chrome/browser/history/in_memory_url_index_types.h typedef std::map<base::char16, WordIDSet> CharWordIDMap; base 12 chrome/browser/history/in_memory_url_index_types_unittest.cc using base::UTF8ToUTF16; base 35 chrome/browser/history/in_memory_url_index_types_unittest.cc base::string16 string_a( base 36 chrome/browser/history/in_memory_url_index_types_unittest.cc base::UTF8ToUTF16("http://www.google.com/ frammy the brammy")); base 66 chrome/browser/history/in_memory_url_index_types_unittest.cc base::string16 string_c(base::ASCIIToUTF16( base 77 chrome/browser/history/in_memory_url_index_types_unittest.cc base::string16 string_d(base::ASCIIToUTF16( base 141 chrome/browser/history/in_memory_url_index_types_unittest.cc offsets[2] = base::string16::npos; base 37 chrome/browser/history/in_memory_url_index_unittest.cc using base::ASCIIToUTF16; base 58 chrome/browser/history/in_memory_url_index_unittest.cc explicit CacheFileSaverObserver(base::MessageLoop* loop); base 61 chrome/browser/history/in_memory_url_index_unittest.cc base::MessageLoop* loop_; base 66 chrome/browser/history/in_memory_url_index_unittest.cc CacheFileSaverObserver::CacheFileSaverObserver(base::MessageLoop* loop) base 89 chrome/browser/history/in_memory_url_index_unittest.cc virtual base::FilePath::StringType TestDBName() const; base 94 chrome/browser/history/in_memory_url_index_unittest.cc base::string16 term) const; base 102 chrome/browser/history/in_memory_url_index_unittest.cc void set_history_dir(const base::FilePath& dir_path); base 103 chrome/browser/history/in_memory_url_index_unittest.cc bool GetCacheFilePath(base::FilePath* file_path) const; base 122 chrome/browser/history/in_memory_url_index_unittest.cc base::MessageLoopForUI message_loop_; base 150 chrome/browser/history/in_memory_url_index_unittest.cc void InMemoryURLIndexTest::set_history_dir(const base::FilePath& dir_path) { base 154 chrome/browser/history/in_memory_url_index_unittest.cc bool InMemoryURLIndexTest::GetCacheFilePath(base::FilePath* file_path) const { base 202 chrome/browser/history/in_memory_url_index_unittest.cc base::FilePath history_proto_path; base 207 chrome/browser/history/in_memory_url_index_unittest.cc EXPECT_TRUE(base::PathExists(history_proto_path)); base 238 chrome/browser/history/in_memory_url_index_unittest.cc base::Time time_right_now = base::Time::NowFromSystemTime(); base 239 chrome/browser/history/in_memory_url_index_unittest.cc base::TimeDelta day_delta = base::TimeDelta::FromDays(1); base 246 chrome/browser/history/in_memory_url_index_unittest.cc base::Time last_visit = time_right_now; base 266 chrome/browser/history/in_memory_url_index_unittest.cc base::Time last_visit = time_right_now; base 276 chrome/browser/history/in_memory_url_index_unittest.cc new InMemoryURLIndex(&profile_, base::FilePath(), "en,ja,hi,zh")); base 281 chrome/browser/history/in_memory_url_index_unittest.cc base::FilePath::StringType InMemoryURLIndexTest::TestDBName() const { base 287 chrome/browser/history/in_memory_url_index_unittest.cc base::string16 term) const { base 418 chrome/browser/history/in_memory_url_index_unittest.cc virtual base::FilePath::StringType TestDBName() const OVERRIDE; base 421 chrome/browser/history/in_memory_url_index_unittest.cc base::FilePath::StringType LimitedInMemoryURLIndexTest::TestDBName() const { base 434 chrome/browser/history/in_memory_url_index_unittest.cc new InMemoryURLIndex(&profile_, base::FilePath(), "en,ja,hi,zh")); base 454 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("DrudgeReport"), base::string16::npos); base 466 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 475 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 482 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("Nearly Perfect Result"), base::string16::npos); base 495 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 508 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 515 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 524 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 536 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("DrudReport"), base::string16::npos); base 553 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("MORTGAGERATE DROPS"), base::string16::npos); base 576 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("drudgere"), base::string16::npos); base 582 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 588 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 593 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 599 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 605 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 611 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 618 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 624 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 630 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 638 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 648 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("atdmt view"), base::string16::npos); base 651 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 654 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 662 chrome/browser/history/in_memory_url_index_unittest.cc new_row.set_last_visit(base::Time::Now()); base 667 chrome/browser/history/in_memory_url_index_unittest.cc url_index_->HistoryItemsForTerms(ASCIIToUTF16("b"), base::string16::npos); base 689 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("MORTGAGE RATE DROPS"), base::string16::npos); base 703 chrome/browser/history/in_memory_url_index_unittest.cc base::string16 original_terms = base 706 chrome/browser/history/in_memory_url_index_unittest.cc url_index_->HistoryItemsForTerms(original_terms, base::string16::npos); base 720 chrome/browser/history/in_memory_url_index_unittest.cc base::string16 new_terms = ASCIIToUTF16("does eat oats little lambs ivy"); base 721 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(new_terms, base::string16::npos); base 729 chrome/browser/history/in_memory_url_index_unittest.cc matches = url_index_->HistoryItemsForTerms(new_terms, base::string16::npos); base 733 chrome/browser/history/in_memory_url_index_unittest.cc url_index_->HistoryItemsForTerms(original_terms, base::string16::npos); base 742 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 749 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 754 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 759 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 764 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 787 chrome/browser/history/in_memory_url_index_unittest.cc url_index_->HistoryItemsForTerms(ASCIIToUTF16("r"), base::string16::npos); base 793 chrome/browser/history/in_memory_url_index_unittest.cc url_index_->HistoryItemsForTerms(ASCIIToUTF16("r re"), base::string16::npos); base 801 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 809 chrome/browser/history/in_memory_url_index_unittest.cc url_index_->HistoryItemsForTerms(ASCIIToUTF16("mort"), base::string16::npos); base 815 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 822 chrome/browser/history/in_memory_url_index_unittest.cc base::string16::npos); base 834 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("brokeandalone"), base::string16::npos).empty()); base 838 chrome/browser/history/in_memory_url_index_unittest.cc new_row.set_last_visit(base::Time::Now()); base 843 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("brokeandalone"), base::string16::npos).size()); base 849 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("brokeandalone"), base::string16::npos).size()); base 859 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("DrudgeReport"), base::string16::npos); base 865 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("DrudgeReport"), base::string16::npos).empty()); base 874 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("DrudgeReport"), base::string16::npos); base 886 chrome/browser/history/in_memory_url_index_unittest.cc ASCIIToUTF16("DrudgeReport"), base::string16::npos).empty()); base 1015 chrome/browser/history/in_memory_url_index_unittest.cc base::ScopedTempDir temp_directory; base 1039 chrome/browser/history/in_memory_url_index_unittest.cc const base::Time rebuild_time = private_data.last_time_rebuilt_from_history_; base 1060 chrome/browser/history/in_memory_url_index_unittest.cc base::Bind(&base::MessageLoop::Quit, base::Unretained(&message_loop_))); base 1079 chrome/browser/history/in_memory_url_index_unittest.cc base::ScopedTempDir temp_directory; base 1103 chrome/browser/history/in_memory_url_index_unittest.cc const base::Time fake_rebuild_time = base 1104 chrome/browser/history/in_memory_url_index_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(30); base 1129 chrome/browser/history/in_memory_url_index_unittest.cc base::Bind(&base::MessageLoop::Quit, base::Unretained(&message_loop_))); base 1155 chrome/browser/history/in_memory_url_index_unittest.cc void set_history_dir(const base::FilePath& dir_path); base 1156 chrome/browser/history/in_memory_url_index_unittest.cc bool GetCacheFilePath(base::FilePath* file_path) const; base 1158 chrome/browser/history/in_memory_url_index_unittest.cc base::ScopedTempDir temp_dir_; base 1164 chrome/browser/history/in_memory_url_index_unittest.cc base::FilePath path(temp_dir_.path()); base 1170 chrome/browser/history/in_memory_url_index_unittest.cc const base::FilePath& dir_path) { base 1175 chrome/browser/history/in_memory_url_index_unittest.cc base::FilePath* file_path) const { base 1181 chrome/browser/history/in_memory_url_index_unittest.cc base::FilePath expectedPath = base 1183 chrome/browser/history/in_memory_url_index_unittest.cc std::vector<base::FilePath::StringType> expected_parts; base 1185 chrome/browser/history/in_memory_url_index_unittest.cc base::FilePath full_file_path; base 1187 chrome/browser/history/in_memory_url_index_unittest.cc std::vector<base::FilePath::StringType> actual_parts; base 1194 chrome/browser/history/in_memory_url_index_unittest.cc set_history_dir(base::FilePath()); base 39 chrome/browser/history/most_visited_tiles_experiment.cc base::FieldTrialList::FindFullName(kMostVisitedFieldTrialName); base 65 chrome/browser/history/most_visited_tiles_experiment.cc return base::FieldTrialList::FindFullName(kMostVisitedFieldTrialName) == base 85 chrome/browser/history/most_visited_tiles_experiment.cc base::ListValue* pages_value) { base 87 chrome/browser/history/most_visited_tiles_experiment.cc base::DictionaryValue* page_value; base 50 chrome/browser/history/most_visited_tiles_experiment.h base::ListValue* pages_value); base 48 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::ListValue* list) { base 49 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::DictionaryValue* page_value = new base::DictionaryValue(); base 77 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::SStringPrintf(&url, "http://www.test%d.com", i); base 95 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::StatisticsRecorder::Initialize(); base 97 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::HistogramBase* histogram = GetHistogram(); base 99 chrome/browser/history/most_visited_tiles_experiment_unittest.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); base 110 chrome/browser/history/most_visited_tiles_experiment_unittest.cc void ValidateMetrics(const base::HistogramBase::Sample& value) { base 111 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::HistogramBase* histogram = GetHistogram(); base 113 chrome/browser/history/most_visited_tiles_experiment_unittest.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); base 129 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::HistogramBase* GetHistogram() { base 131 chrome/browser/history/most_visited_tiles_experiment_unittest.cc histogram_ = base::StatisticsRecorder::FindHistogram( base 138 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::HistogramBase* histogram_; base 139 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList field_trial_list_; base 148 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::CreateFieldTrial(kMostVisitedFieldTrialName, base 157 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::ListValue pages_value; base 163 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::DictionaryValue gmail_value; base 175 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::CreateFieldTrial(kMostVisitedFieldTrialName, base 184 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::ListValue pages_value; base 191 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::SStringPrintf(&url, "http://www.test%d.com", static_cast<int>(i)); base 199 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::DictionaryValue gmail_value; base 210 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::CreateFieldTrial(kMostVisitedFieldTrialName, base 237 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::CreateFieldTrial( base 253 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::SStringPrintf(&url, "http://www.test%d.com", static_cast<int>(i)); base 272 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::CreateFieldTrial(kMostVisitedFieldTrialName, base 277 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::FindFullName(kMostVisitedFieldTrialName)); base 290 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::CreateFieldTrial(kMostVisitedFieldTrialName, base 295 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::FindFullName(kMostVisitedFieldTrialName)); base 315 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::CreateFieldTrial(kMostVisitedFieldTrialName, base 320 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::FindFullName(kMostVisitedFieldTrialName)); base 333 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::CreateFieldTrial( base 339 chrome/browser/history/most_visited_tiles_experiment_unittest.cc base::FieldTrialList::FindFullName(kMostVisitedFieldTrialName)); base 42 chrome/browser/history/multipart_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("page 9"), base 43 chrome/browser/history/page_usage_data.h void SetTitle(const base::string16& s) { base 47 chrome/browser/history/page_usage_data.h const base::string16& GetTitle() const { base 65 chrome/browser/history/page_usage_data.h base::string16 title_; base 78 chrome/browser/history/query_parser.cc explicit QueryNodeWord(const base::string16& word); base 81 chrome/browser/history/query_parser.cc const base::string16& word() const { return word_; } base 86 chrome/browser/history/query_parser.cc virtual int AppendToSQLiteQuery(base::string16* query) const OVERRIDE; base 88 chrome/browser/history/query_parser.cc virtual bool Matches(const base::string16& word, bool exact) const OVERRIDE; base 94 chrome/browser/history/query_parser.cc virtual void AppendWords(std::vector<base::string16>* words) const OVERRIDE; base 97 chrome/browser/history/query_parser.cc base::string16 word_; base 103 chrome/browser/history/query_parser.cc QueryNodeWord::QueryNodeWord(const base::string16& word) base 109 chrome/browser/history/query_parser.cc int QueryNodeWord::AppendToSQLiteQuery(base::string16* query) const { base 122 chrome/browser/history/query_parser.cc bool QueryNodeWord::Matches(const base::string16& word, bool exact) const { base 152 chrome/browser/history/query_parser.cc void QueryNodeWord::AppendWords(std::vector<base::string16>* words) const { base 172 chrome/browser/history/query_parser.cc virtual int AppendToSQLiteQuery(base::string16* query) const OVERRIDE; base 174 chrome/browser/history/query_parser.cc virtual bool Matches(const base::string16& word, bool exact) const OVERRIDE; base 180 chrome/browser/history/query_parser.cc virtual void AppendWords(std::vector<base::string16>* words) const OVERRIDE; base 183 chrome/browser/history/query_parser.cc int AppendChildrenToString(base::string16* query) const; base 216 chrome/browser/history/query_parser.cc int QueryNodeList::AppendToSQLiteQuery(base::string16* query) const { base 224 chrome/browser/history/query_parser.cc bool QueryNodeList::Matches(const base::string16& word, bool exact) const { base 240 chrome/browser/history/query_parser.cc void QueryNodeList::AppendWords(std::vector<base::string16>* words) const { base 245 chrome/browser/history/query_parser.cc int QueryNodeList::AppendChildrenToString(base::string16* query) const { base 263 chrome/browser/history/query_parser.cc virtual int AppendToSQLiteQuery(base::string16* query) const OVERRIDE; base 281 chrome/browser/history/query_parser.cc int QueryNodePhrase::AppendToSQLiteQuery(base::string16* query) const { base 335 chrome/browser/history/query_parser.cc bool QueryParser::IsWordLongEnoughForPrefixSearch(const base::string16& word) { base 346 chrome/browser/history/query_parser.cc int QueryParser::ParseQuery(const base::string16& query, base 347 chrome/browser/history/query_parser.cc base::string16* sqlite_query) { base 354 chrome/browser/history/query_parser.cc void QueryParser::ParseQueryWords(const base::string16& query, base 355 chrome/browser/history/query_parser.cc std::vector<base::string16>* words) { base 362 chrome/browser/history/query_parser.cc void QueryParser::ParseQueryNodes(const base::string16& query, base 365 chrome/browser/history/query_parser.cc if (ParseQueryImpl(base::i18n::ToLower(query), &root)) base 369 chrome/browser/history/query_parser.cc bool QueryParser::DoesQueryMatch(const base::string16& text, base 376 chrome/browser/history/query_parser.cc base::string16 lower_text = base::i18n::ToLower(text); base 412 chrome/browser/history/query_parser.cc bool QueryParser::ParseQueryImpl(const base::string16& query, base 414 chrome/browser/history/query_parser.cc base::i18n::BreakIterator iter(query, base::i18n::BreakIterator::BREAK_WORD); base 453 chrome/browser/history/query_parser.cc void QueryParser::ExtractQueryWords(const base::string16& text, base 455 chrome/browser/history/query_parser.cc base::i18n::BreakIterator iter(text, base::i18n::BreakIterator::BREAK_WORD); base 465 chrome/browser/history/query_parser.cc base::string16 word = iter.GetString(); base 19 chrome/browser/history/query_parser.h base::string16 word; base 34 chrome/browser/history/query_parser.h virtual int AppendToSQLiteQuery(base::string16* query) const = 0; base 41 chrome/browser/history/query_parser.h virtual bool Matches(const base::string16& word, bool exact) const = 0; base 53 chrome/browser/history/query_parser.h virtual void AppendWords(std::vector<base::string16>* words) const = 0; base 69 chrome/browser/history/query_parser.h static bool IsWordLongEnoughForPrefixSearch(const base::string16& word); base 73 chrome/browser/history/query_parser.h int ParseQuery(const base::string16& query, base::string16* sqlite_query); base 79 chrome/browser/history/query_parser.h void ParseQueryWords(const base::string16& query, base 80 chrome/browser/history/query_parser.h std::vector<base::string16>* words); base 85 chrome/browser/history/query_parser.h void ParseQueryNodes(const base::string16& query, base 91 chrome/browser/history/query_parser.h bool DoesQueryMatch(const base::string16& text, base 101 chrome/browser/history/query_parser.h void ExtractQueryWords(const base::string16& text, base 107 chrome/browser/history/query_parser.h bool ParseQueryImpl(const base::string16& query, QueryNodeList* root); base 27 chrome/browser/history/query_parser_unittest.cc base::string16 sqlite_query; base 28 chrome/browser/history/query_parser_unittest.cc query_parser_.ParseQuery(base::UTF8ToUTF16(query), &sqlite_query); base 29 chrome/browser/history/query_parser_unittest.cc return base::UTF16ToUTF8(sqlite_query); base 42 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(base::WideToUTF8(L"\xAC00 \xC7A5"), base 43 chrome/browser/history/query_parser_unittest.cc QueryToString(base::WideToUTF8(L" \xAC00 \xC7A5"))); base 46 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(base::WideToUTF8(L"\xAC00\xC7A5* \xBE5B\xACE0*"), base 47 chrome/browser/history/query_parser_unittest.cc QueryToString(base::WideToUTF8(L"\xAC00\xC7A5 \xBE5B\xACE0"))); base 83 chrome/browser/history/query_parser_unittest.cc base::string16 query_string; base 85 chrome/browser/history/query_parser_unittest.cc query_parser_.ParseQuery(base::UTF8ToUTF16(data[i].input), base 120 chrome/browser/history/query_parser_unittest.cc parser.ParseQueryNodes(base::UTF8ToUTF16(data[i].query), base 124 chrome/browser/history/query_parser_unittest.cc parser.DoesQueryMatch(base::UTF8ToUTF16(data[i].text), base 156 chrome/browser/history/query_parser_unittest.cc std::vector<base::string16> results; base 158 chrome/browser/history/query_parser_unittest.cc parser.ParseQueryWords(base::UTF8ToUTF16(data[i].text), &results); base 160 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].w1, base::UTF16ToUTF8(results[0])); base 162 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].w2, base::UTF16ToUTF8(results[1])); base 164 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].w3, base::UTF16ToUTF8(results[2])); base 50 chrome/browser/history/redirect_browsertest.cc base::Bind(&RedirectTest::OnRedirectQueryComplete, base 51 chrome/browser/history/redirect_browsertest.cc base::Unretained(this), &rv)); base 65 chrome/browser/history/redirect_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 66 chrome/browser/history/redirect_browsertest.cc base::MessageLoop::QuitClosure()); base 126 chrome/browser/history/redirect_browsertest.cc std::string file_redirect_contents = base::StringPrintf( base 134 chrome/browser/history/redirect_browsertest.cc base::ScopedTempDir temp_directory; base 136 chrome/browser/history/redirect_browsertest.cc base::FilePath temp_file; base 137 chrome/browser/history/redirect_browsertest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(), base 140 chrome/browser/history/redirect_browsertest.cc base::WriteFile(temp_file, base 159 chrome/browser/history/redirect_browsertest.cc base::FilePath(), base 160 chrome/browser/history/redirect_browsertest.cc base::FilePath().AppendASCII("cancelled_redirect_test.html")); base 231 chrome/browser/history/redirect_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("http_to_file.html")); base 239 chrome/browser/history/redirect_browsertest.cc EXPECT_NE(base::ASCIIToUTF16("File!"), base 248 chrome/browser/history/redirect_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("ref_redirect.html")); base 294 chrome/browser/history/redirect_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Title Of Awesomeness"), base 54 chrome/browser/history/scored_history_match.cc const base::string16& lower_string, base 58 chrome/browser/history/scored_history_match.cc const base::Time now, base 71 chrome/browser/history/scored_history_match.cc base::string16 url = CleanUpUrlForMatching(gurl, languages); base 72 chrome/browser/history/scored_history_match.cc base::string16 title = CleanUpTitleForMatching(row.title()); base 76 chrome/browser/history/scored_history_match.cc base::string16 term = *iter; base 112 chrome/browser/history/scored_history_match.cc URLPrefix::BestURLPrefix(base::UTF8ToUTF16(gurl.spec()), terms[0]) : base 140 chrome/browser/history/scored_history_match.cc base::UTF8ToUTF16(gurl.spec()), base::string16()); base 177 chrome/browser/history/scored_history_match.cc if (base::UTF8ToUTF16(gurl.host()) == terms[0]) base 288 chrome/browser/history/scored_history_match.cc const base::string16& url, base 514 chrome/browser/history/scored_history_match.cc float ScoredHistoryMatch::GetFrecency(const base::Time& now, base 53 chrome/browser/history/scored_history_match.h const base::string16& lower_string, base 57 chrome/browser/history/scored_history_match.h const base::Time now, base 105 chrome/browser/history/scored_history_match.h const base::string16& cleaned_up_url, base 126 chrome/browser/history/scored_history_match.h static float GetFrecency(const base::Time& now, base 14 chrome/browser/history/scored_history_match_unittest.cc using base::ASCIIToUTF16; base 23 chrome/browser/history/scored_history_match_unittest.cc base::Time now) { base 27 chrome/browser/history/scored_history_match_unittest.cc std::make_pair(now - base::TimeDelta::FromDays(i * frequency), base 56 chrome/browser/history/scored_history_match_unittest.cc float GetTopicalityScoreOfTermAgainstURLAndTitle(const base::string16& term, base 57 chrome/browser/history/scored_history_match_unittest.cc const base::string16& url, base 58 chrome/browser/history/scored_history_match_unittest.cc const base::string16& title); base 70 chrome/browser/history/scored_history_match_unittest.cc row.set_last_visit(base::Time::NowFromSystemTime() - base 71 chrome/browser/history/scored_history_match_unittest.cc base::TimeDelta::FromDays(days_since_last_visit)); base 98 chrome/browser/history/scored_history_match_unittest.cc const base::string16& term, base 99 chrome/browser/history/scored_history_match_unittest.cc const base::string16& url, base 100 chrome/browser/history/scored_history_match_unittest.cc const base::string16& title) { base 117 chrome/browser/history/scored_history_match_unittest.cc base::Time now = base::Time::NowFromSystemTime(); base 214 chrome/browser/history/scored_history_match_unittest.cc base::Time now = base::Time::NowFromSystemTime(); base 227 chrome/browser/history/scored_history_match_unittest.cc base::AutoReset<int> reset(&ScoredHistoryMatch::bookmark_value_, 5); base 238 chrome/browser/history/scored_history_match_unittest.cc base::Time now = base::Time::NowFromSystemTime(); base 252 chrome/browser/history/scored_history_match_unittest.cc base::AutoReset<bool> reset( base 263 chrome/browser/history/scored_history_match_unittest.cc base::Time now = base::Time::NowFromSystemTime(); base 279 chrome/browser/history/scored_history_match_unittest.cc base::AutoReset<bool> reset(&ScoredHistoryMatch::allow_tld_matches_, true); base 289 chrome/browser/history/scored_history_match_unittest.cc base::Time now = base::Time::NowFromSystemTime(); base 305 chrome/browser/history/scored_history_match_unittest.cc base::AutoReset<bool> reset(&ScoredHistoryMatch::allow_scheme_matches_, true); base 315 chrome/browser/history/scored_history_match_unittest.cc base::Time now = base::Time::NowFromSystemTime(); base 401 chrome/browser/history/scored_history_match_unittest.cc base::string16 url = ASCIIToUTF16("http://abc.def.com/path1/path2?" base 403 chrome/browser/history/scored_history_match_unittest.cc base::string16 title = ASCIIToUTF16("here is a title"); base 33 chrome/browser/history/shortcuts_database.cc DCHECK(base::IsValidGUID(shortcut.id)); base 53 chrome/browser/history/shortcuts_database.cc base::StringPrintf("DELETE FROM omni_box_shortcuts WHERE %s = ?", base 67 chrome/browser/history/shortcuts_database.cc const base::string16& fill_into_edit, base 69 chrome/browser/history/shortcuts_database.cc const base::string16& contents, base 71 chrome/browser/history/shortcuts_database.cc const base::string16& description, base 75 chrome/browser/history/shortcuts_database.cc const base::string16& keyword) base 94 chrome/browser/history/shortcuts_database.cc const base::string16& text, base 96 chrome/browser/history/shortcuts_database.cc const base::Time& last_access_time, base 106 chrome/browser/history/shortcuts_database.cc : match_core(base::string16(), GURL(), base::string16(), std::string(), base 107 chrome/browser/history/shortcuts_database.cc base::string16(), std::string(), 0, 0, base::string16()), base 108 chrome/browser/history/shortcuts_database.cc last_access_time(base::Time::Now()), base 118 chrome/browser/history/shortcuts_database.cc ShortcutsDatabase::ShortcutsDatabase(const base::FilePath& database_path) base 212 chrome/browser/history/shortcuts_database.cc base::Time::FromInternalValue(s.ColumnInt64(11)), base 244 chrome/browser/history/shortcuts_database.cc db_.Execute(base::StringPrintf( base 248 chrome/browser/history/shortcuts_database.cc db_.Execute(base::StringPrintf( base 263 chrome/browser/history/shortcuts_database.cc db_.Execute(base::StringPrintf("UPDATE omni_box_shortcuts " base 266 chrome/browser/history/shortcuts_database.cc db_.Execute(base::StringPrintf("UPDATE omni_box_shortcuts " base 269 chrome/browser/history/shortcuts_database.cc db_.Execute(base::StringPrintf("UPDATE omni_box_shortcuts " base 272 chrome/browser/history/shortcuts_database.cc db_.Execute(base::StringPrintf("UPDATE omni_box_shortcuts " base 40 chrome/browser/history/shortcuts_database.h class ShortcutsDatabase : public base::RefCountedThreadSafe<ShortcutsDatabase> { base 46 chrome/browser/history/shortcuts_database.h MatchCore(const base::string16& fill_into_edit, base 48 chrome/browser/history/shortcuts_database.h const base::string16& contents, base 50 chrome/browser/history/shortcuts_database.h const base::string16& description, base 54 chrome/browser/history/shortcuts_database.h const base::string16& keyword); base 57 chrome/browser/history/shortcuts_database.h base::string16 fill_into_edit; base 59 chrome/browser/history/shortcuts_database.h base::string16 contents; base 64 chrome/browser/history/shortcuts_database.h base::string16 description; base 68 chrome/browser/history/shortcuts_database.h base::string16 keyword; base 72 chrome/browser/history/shortcuts_database.h const base::string16& text, base 74 chrome/browser/history/shortcuts_database.h const base::Time& last_access_time, base 81 chrome/browser/history/shortcuts_database.h base::string16 text; // The user's original input string. base 83 chrome/browser/history/shortcuts_database.h base::Time last_access_time; // Last time shortcut was selected. base 90 chrome/browser/history/shortcuts_database.h explicit ShortcutsDatabase(const base::FilePath& database_path); base 113 chrome/browser/history/shortcuts_database.h friend class base::RefCountedThreadSafe<ShortcutsDatabase>; base 128 chrome/browser/history/shortcuts_database.h base::FilePath database_path_; base 132 chrome/browser/history/shortcuts_database.h static const base::FilePath::CharType kShortcutsDatabaseName[]; base 22 chrome/browser/history/shortcuts_database_unittest.cc using base::ASCIIToUTF16; base 62 chrome/browser/history/shortcuts_database_unittest.cc void CheckV2ColumnExistence(const base::FilePath& db_path, bool is_v2) { base 131 chrome/browser/history/shortcuts_database_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(info.days_from_now), base 225 chrome/browser/history/shortcuts_database_unittest.cc base::FilePath sql_path; base 233 chrome/browser/history/shortcuts_database_unittest.cc base::ScopedTempDir temp_dir; base 235 chrome/browser/history/shortcuts_database_unittest.cc base::FilePath db_path(temp_dir.path().AppendASCII("TestShortcuts1.db")); base 275 chrome/browser/history/shortcuts_database_unittest.cc base::FilePath sql_path; base 278 chrome/browser/history/shortcuts_database_unittest.cc base::ScopedTempDir temp_dir; base 280 chrome/browser/history/shortcuts_database_unittest.cc base::FilePath db_path(temp_dir.path().AppendASCII("TestShortcuts2.db")); base 170 chrome/browser/history/snippet.cc base::SplitString(offsets_str, ' ', &offsets); base 214 chrome/browser/history/snippet.cc const base::string16 kEllipsis = base::ASCIIToUTF16(" ... "); base 230 chrome/browser/history/snippet.cc base::string16 snippet; base 250 chrome/browser/history/snippet.cc snippet += base::UTF8ToUTF16(document.substr(start, match_start - start)); base 255 chrome/browser/history/snippet.cc snippet += base::UTF8ToUTF16(document.substr(match_start, base 271 chrome/browser/history/snippet.cc snippet += base::UTF8ToUTF16(document.substr(match_end, end - match_end)); base 279 chrome/browser/history/snippet.cc snippet += base::UTF8ToUTF16(document.substr(match_end, end - match_end)); base 55 chrome/browser/history/snippet.h const base::string16& text() const { return text_; } base 63 chrome/browser/history/snippet.h base::string16 text_; base 90 chrome/browser/history/snippet_unittest.cc base::string16 BuildSnippet(const std::string& document, base 101 chrome/browser/history/snippet_unittest.cc base::SplitString(query, ' ', &query_words); base 123 chrome/browser/history/snippet_unittest.cc base::string16 star_snippet; base 129 chrome/browser/history/snippet_unittest.cc star_snippet += base::UTF8ToUTF16("**"); base 132 chrome/browser/history/snippet_unittest.cc star_snippet += base::UTF8ToUTF16("**"); base 146 chrome/browser/history/snippet_unittest.cc base::UTF16ToUTF8(BuildSnippet(kSampleDocument, "document"))); base 154 chrome/browser/history/snippet_unittest.cc base::UTF16ToUTF8(BuildSnippet(kSampleDocument, "mountain view"))); base 163 chrome/browser/history/snippet_unittest.cc base::UTF16ToUTF8(BuildSnippet(kSampleDocument, "relationship"))); base 222 chrome/browser/history/snippet_unittest.cc base::UTF16ToUTF8(BuildSnippet(kThaiSample, base 121 chrome/browser/history/thumbnail_database.cc base::strlcpy(debug_buf, debug_info.c_str(), arraysize(debug_buf)); base 122 chrome/browser/history/thumbnail_database.cc base::debug::Alias(&debug_buf); base 124 chrome/browser/history/thumbnail_database.cc base::debug::DumpWithoutCrashing(); base 133 chrome/browser/history/thumbnail_database.cc base::StringAppendF(&debug_info, "SQLITE_CORRUPT, integrity_check:\n"); base 138 chrome/browser/history/thumbnail_database.cc base::StringAppendF(&debug_info, "too big %" PRIuS "\n", startup_kb); base 142 chrome/browser/history/thumbnail_database.cc const base::TimeTicks before = base::TimeTicks::Now(); base 144 chrome/browser/history/thumbnail_database.cc base::StringAppendF(&debug_info, "# %" PRIx64 " ms, %" PRIuS " records\n", base 145 chrome/browser/history/thumbnail_database.cc (base::TimeTicks::Now() - before).InMilliseconds(), base 157 chrome/browser/history/thumbnail_database.cc base::StringAppendF(&debug_info, "%s\n", messages[i].c_str()); base 171 chrome/browser/history/thumbnail_database.cc base::StringAppendF(&debug_info, "db error: %d/%s\n", base 175 chrome/browser/history/thumbnail_database.cc base::StringAppendF(&debug_info, "errno: %d\n", db->GetLastErrno()); base 244 chrome/browser/history/thumbnail_database.cc uint64 rand = base::RandGenerator(1000000); base 393 chrome/browser/history/thumbnail_database.cc void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) { base 407 chrome/browser/history/thumbnail_database.cc base::GetFileSize(db_path, &original_size); base 522 chrome/browser/history/thumbnail_database.cc base::GetFileSize(db_path, &final_size) && base 543 chrome/browser/history/thumbnail_database.cc const base::FilePath& db_path, base 598 chrome/browser/history/thumbnail_database.cc sql::InitStatus ThumbnailDatabase::Init(const base::FilePath& db_name) { base 690 chrome/browser/history/thumbnail_database.cc base::Time::FromInternalValue(statement.ColumnInt64(1)); base 692 chrome/browser/history/thumbnail_database.cc scoped_refptr<base::RefCountedBytes> data(new base::RefCountedBytes()); base 705 chrome/browser/history/thumbnail_database.cc base::Time* last_updated, base 706 chrome/browser/history/thumbnail_database.cc scoped_refptr<base::RefCountedMemory>* png_icon_data, base 718 chrome/browser/history/thumbnail_database.cc *last_updated = base::Time::FromInternalValue(statement.ColumnInt64(0)); base 721 chrome/browser/history/thumbnail_database.cc scoped_refptr<base::RefCountedBytes> data(new base::RefCountedBytes()); base 735 chrome/browser/history/thumbnail_database.cc const scoped_refptr<base::RefCountedMemory>& icon_data, base 736 chrome/browser/history/thumbnail_database.cc base::Time time, base 760 chrome/browser/history/thumbnail_database.cc scoped_refptr<base::RefCountedMemory> bitmap_data, base 761 chrome/browser/history/thumbnail_database.cc base::Time time) { base 779 chrome/browser/history/thumbnail_database.cc base::Time time) { base 859 chrome/browser/history/thumbnail_database.cc const scoped_refptr<base::RefCountedMemory>& icon_data, base 860 chrome/browser/history/thumbnail_database.cc base::Time time, base 1129 chrome/browser/history/thumbnail_database.cc const base::FilePath& db_name) { base 1132 chrome/browser/history/thumbnail_database.cc if (base::GetFileSize(db_name, &size_64)) base 1136 chrome/browser/history/thumbnail_database.cc db->set_error_callback(base::Bind(&DatabaseErrorCallback, base 1154 chrome/browser/history/thumbnail_database.cc sql::InitStatus ThumbnailDatabase::InitImpl(const base::FilePath& db_name) { base 1178 chrome/browser/history/thumbnail_database.cc base::mac::SetFileBackupExclusion(db_name); base 18 chrome/browser/history/thumbnail_database.h namespace base { base 40 chrome/browser/history/thumbnail_database.h sql::InitStatus Init(const base::FilePath& db_name); base 82 chrome/browser/history/thumbnail_database.h base::Time* last_updated, base 83 chrome/browser/history/thumbnail_database.h scoped_refptr<base::RefCountedMemory>* png_icon_data, base 96 chrome/browser/history/thumbnail_database.h const scoped_refptr<base::RefCountedMemory>& icon_data, base 97 chrome/browser/history/thumbnail_database.h base::Time time, base 104 chrome/browser/history/thumbnail_database.h scoped_refptr<base::RefCountedMemory> bitmap_data, base 105 chrome/browser/history/thumbnail_database.h base::Time time); base 110 chrome/browser/history/thumbnail_database.h base::Time time); base 148 chrome/browser/history/thumbnail_database.h const scoped_refptr<base::RefCountedMemory>& icon_data, base 149 chrome/browser/history/thumbnail_database.h base::Time time, base 246 chrome/browser/history/thumbnail_database.h const base::FilePath& db_name); base 251 chrome/browser/history/thumbnail_database.h sql::InitStatus InitImpl(const base::FilePath& db_name); base 53 chrome/browser/history/thumbnail_database_unittest.cc WARN_UNUSED_RESULT bool CreateDatabaseFromSQL(const base::FilePath &db_path, base 55 chrome/browser/history/thumbnail_database_unittest.cc base::FilePath sql_path; base 191 chrome/browser/history/thumbnail_database_unittest.cc base::ScopedTempDir temp_dir_; base 192 chrome/browser/history/thumbnail_database_unittest.cc base::FilePath file_name_; base 201 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); base 204 chrome/browser/history/thumbnail_database_unittest.cc base::Time time = base::Time::Now(); base 255 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); base 260 chrome/browser/history/thumbnail_database_unittest.cc base::Time time = base::Time::Now(); base 287 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); base 292 chrome/browser/history/thumbnail_database_unittest.cc base::Time time = base::Time::Now(); base 323 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedStaticMemory> favicon1( base 324 chrome/browser/history/thumbnail_database_unittest.cc new base::RefCountedStaticMemory(kBlob1, sizeof(kBlob1))); base 325 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedStaticMemory> favicon2( base 326 chrome/browser/history/thumbnail_database_unittest.cc new base::RefCountedStaticMemory(kBlob2, sizeof(kBlob2))); base 329 chrome/browser/history/thumbnail_database_unittest.cc db.AddFaviconBitmap(kept_id1, favicon1, base::Time::Now(), kLargeSize); base 334 chrome/browser/history/thumbnail_database_unittest.cc db.AddFaviconBitmap(unkept_id, favicon1, base::Time::Now(), kLargeSize); base 338 chrome/browser/history/thumbnail_database_unittest.cc db.AddFaviconBitmap(kept_id2, favicon2, base::Time::Now(), kLargeSize); base 374 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon1( base 375 chrome/browser/history/thumbnail_database_unittest.cc new base::RefCountedBytes(data1)); base 377 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon2( base 378 chrome/browser/history/thumbnail_database_unittest.cc new base::RefCountedBytes(data2)); base 382 chrome/browser/history/thumbnail_database_unittest.cc base::Time last_updated = base::Time::Now(); base 399 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); base 403 chrome/browser/history/thumbnail_database_unittest.cc base::Time time = base::Time::Now(); base 421 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon2 = base 422 chrome/browser/history/thumbnail_database_unittest.cc new base::RefCountedBytes(data); base 440 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon3 = base 441 chrome/browser/history/thumbnail_database_unittest.cc new base::RefCountedBytes(data2); base 467 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); base 468 chrome/browser/history/thumbnail_database_unittest.cc base::Time time = base::Time::Now(); base 530 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); base 533 chrome/browser/history/thumbnail_database_unittest.cc base::Time time = base::Time::Now(); base 542 chrome/browser/history/thumbnail_database_unittest.cc time = base::Time::Now(); base 551 chrome/browser/history/thumbnail_database_unittest.cc time = base::Time::Now(); base 581 chrome/browser/history/thumbnail_database_unittest.cc scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data)); base 587 chrome/browser/history/thumbnail_database_unittest.cc base::Time time = base::Time::Now(); base 594 chrome/browser/history/thumbnail_database_unittest.cc time = base::Time::Now(); base 601 chrome/browser/history/thumbnail_database_unittest.cc time = base::Time::Now(); base 928 chrome/browser/history/thumbnail_database_unittest.cc base::FilePath sql_path; base 932 chrome/browser/history/thumbnail_database_unittest.cc base::FileEnumerator fe( base 933 chrome/browser/history/thumbnail_database_unittest.cc sql_path, false, base::FileEnumerator::FILES, FILE_PATH_LITERAL("*.sql")); base 934 chrome/browser/history/thumbnail_database_unittest.cc for (base::FilePath name = fe.Next(); !name.empty(); name = fe.Next()) { base 937 chrome/browser/history/thumbnail_database_unittest.cc base::FilePath db_base_name = base 939 chrome/browser/history/thumbnail_database_unittest.cc base::FilePath db_path = file_name_.DirName().Append(db_base_name); base 34 chrome/browser/history/top_sites.cc TopSites* TopSites::Create(Profile* profile, const base::FilePath& db_name) { base 22 chrome/browser/history/top_sites.h namespace base { base 39 chrome/browser/history/top_sites.h : public base::RefCountedThreadSafe<TopSites>, base 45 chrome/browser/history/top_sites.h static TopSites* Create(Profile* profile, const base::FilePath& db_name); base 59 chrome/browser/history/top_sites.h const base::RefCountedMemory* memory, base 62 chrome/browser/history/top_sites.h typedef base::Callback<void(const MostVisitedURLList&)> base 84 chrome/browser/history/top_sites.h scoped_refptr<base::RefCountedMemory>* bytes) = 0; base 157 chrome/browser/history/top_sites.h virtual bool AddForcedURL(const GURL& url, const base::Time& time) = 0; base 175 chrome/browser/history/top_sites.h friend class base::RefCountedThreadSafe<TopSites>; base 23 chrome/browser/history/top_sites_backend.cc void TopSitesBackend::Init(const base::FilePath& path) { base 27 chrome/browser/history/top_sites_backend.cc base::Bind(&TopSitesBackend::InitDBOnDBThread, this, path)); base 33 chrome/browser/history/top_sites_backend.cc base::Bind(&TopSitesBackend::ShutdownDBOnDBThread, this)); base 38 chrome/browser/history/top_sites_backend.cc base::CancelableTaskTracker* tracker) { base 44 chrome/browser/history/top_sites_backend.cc base::Bind(&TopSitesBackend::GetMostVisitedThumbnailsOnDBThread, base 47 chrome/browser/history/top_sites_backend.cc base::Bind(callback, thumbnails)); base 53 chrome/browser/history/top_sites_backend.cc base::Bind(&TopSitesBackend::UpdateTopSitesOnDBThread, this, delta)); base 61 chrome/browser/history/top_sites_backend.cc base::Bind(&TopSitesBackend::SetPageThumbnailOnDBThread, this, url, base 68 chrome/browser/history/top_sites_backend.cc base::Bind(&TopSitesBackend::ResetDatabaseOnDBThread, this, db_path_)); base 71 chrome/browser/history/top_sites_backend.cc void TopSitesBackend::DoEmptyRequest(const base::Closure& reply, base 72 chrome/browser/history/top_sites_backend.cc base::CancelableTaskTracker* tracker) { base 76 chrome/browser/history/top_sites_backend.cc base::Bind(&base::DoNothing), base 85 chrome/browser/history/top_sites_backend.cc void TopSitesBackend::InitDBOnDBThread(const base::FilePath& path) { base 131 chrome/browser/history/top_sites_backend.cc void TopSitesBackend::ResetDatabaseOnDBThread(const base::FilePath& file_path) { base 14 chrome/browser/history/top_sites_backend.h namespace base { base 26 chrome/browser/history/top_sites_backend.h class TopSitesBackend : public base::RefCountedThreadSafe<TopSitesBackend> { base 30 chrome/browser/history/top_sites_backend.h typedef base::Callback<void(const scoped_refptr<MostVisitedThumbnails>&)> base 35 chrome/browser/history/top_sites_backend.h void Init(const base::FilePath& path); base 43 chrome/browser/history/top_sites_backend.h base::CancelableTaskTracker* tracker); base 59 chrome/browser/history/top_sites_backend.h void DoEmptyRequest(const base::Closure& reply, base 60 chrome/browser/history/top_sites_backend.h base::CancelableTaskTracker* tracker); base 63 chrome/browser/history/top_sites_backend.h friend class base::RefCountedThreadSafe<TopSitesBackend>; base 68 chrome/browser/history/top_sites_backend.h void InitDBOnDBThread(const base::FilePath& path); base 86 chrome/browser/history/top_sites_backend.h void ResetDatabaseOnDBThread(const base::FilePath& file_path); base 88 chrome/browser/history/top_sites_backend.h base::FilePath db_path_; base 48 chrome/browser/history/top_sites_cache.cc scoped_refptr<base::RefCountedMemory>* bytes) const { base 52 chrome/browser/history/top_sites_cache.cc base::RefCountedMemory* data = found->second.thumbnail.get(); base 62 chrome/browser/history/top_sites_cache.h scoped_refptr<base::RefCountedMemory>* bytes) const; base 53 chrome/browser/history/top_sites_cache_unittest.cc base::string16 title(base::ASCIIToUTF16("Title ") + base 54 chrome/browser/history/top_sites_cache_unittest.cc base::Uint64ToString16(top_sites_.size() + 1)); base 248 chrome/browser/history/top_sites_cache_unittest.cc top_sites_[0].last_forced_time = base::Time::FromJsTime(1000); base 249 chrome/browser/history/top_sites_cache_unittest.cc top_sites_[1].last_forced_time = base::Time::FromJsTime(2000); base 91 chrome/browser/history/top_sites_database.cc base::SplitStringAlongWhitespace(redirects, &redirects_vector); base 196 chrome/browser/history/top_sites_database.cc void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) { base 207 chrome/browser/history/top_sites_database.cc base::GetFileSize(db_path, &original_size); base 295 chrome/browser/history/top_sites_database.cc base::GetFileSize(db_path, &final_size) && base 311 chrome/browser/history/top_sites_database.cc const base::FilePath& db_path, base 360 chrome/browser/history/top_sites_database.cc bool TopSitesDatabase::Init(const base::FilePath& db_name) { base 376 chrome/browser/history/top_sites_database.cc bool TopSitesDatabase::InitImpl(const base::FilePath& db_name) { base 377 chrome/browser/history/top_sites_database.cc const bool file_existed = base::PathExists(db_name); base 461 chrome/browser/history/top_sites_database.cc base::Time::FromInternalValue(statement.ColumnInt64(10)); base 470 chrome/browser/history/top_sites_database.cc thumbnail.thumbnail = base::RefCountedBytes::TakeVector(&data); base 475 chrome/browser/history/top_sites_database.cc base::Time::FromInternalValue(statement.ColumnInt64(8)); base 665 chrome/browser/history/top_sites_database.cc thumbnail->thumbnail = base::RefCountedBytes::TakeVector(&data); base 670 chrome/browser/history/top_sites_database.cc base::Time::FromInternalValue(statement.ColumnInt64(4)); base 718 chrome/browser/history/top_sites_database.cc sql::Connection* TopSitesDatabase::CreateDB(const base::FilePath& db_name) { base 722 chrome/browser/history/top_sites_database.cc db->set_error_callback(base::Bind(&DatabaseErrorCallback, base 16 chrome/browser/history/top_sites_database.h namespace base { base 33 chrome/browser/history/top_sites_database.h bool Init(const base::FilePath& db_name); base 99 chrome/browser/history/top_sites_database.h bool InitImpl(const base::FilePath& db_name); base 101 chrome/browser/history/top_sites_database.h sql::Connection* CreateDB(const base::FilePath& db_name); base 36 chrome/browser/history/top_sites_database_unittest.cc WARN_UNUSED_RESULT bool CreateDatabaseFromSQL(const base::FilePath &db_path, base 38 chrome/browser/history/top_sites_database_unittest.cc base::FilePath sql_path; base 84 chrome/browser/history/top_sites_database_unittest.cc base::ScopedTempDir temp_dir_; base 85 chrome/browser/history/top_sites_database_unittest.cc base::FilePath file_name_; base 322 chrome/browser/history/top_sites_database_unittest.cc db.GetURLRank(MostVisitedURL(kUrl1, base::string16()))); base 343 chrome/browser/history/top_sites_database_unittest.cc db.GetURLRank(MostVisitedURL(kUrl1, base::string16()))); base 363 chrome/browser/history/top_sites_database_unittest.cc MostVisitedURL url1(mapsUrl, base::ASCIIToUTF16("Google Maps")); base 376 chrome/browser/history/top_sites_database_unittest.cc MostVisitedURL url2(driveUrl, base::ASCIIToUTF16("Google Drive")); base 377 chrome/browser/history/top_sites_database_unittest.cc url2.last_forced_time = base::Time::FromJsTime(789714000000); // 10/1/1995 base 389 chrome/browser/history/top_sites_database_unittest.cc MostVisitedURL url3(plusUrl, base::ASCIIToUTF16("Google Plus")); base 390 chrome/browser/history/top_sites_database_unittest.cc url3.last_forced_time = base::Time::FromJsTime(787035600000); // 10/12/1994 base 402 chrome/browser/history/top_sites_database_unittest.cc url3.last_forced_time = base::Time::FromJsTime(792392400000); // 10/2/1995 base 414 chrome/browser/history/top_sites_database_unittest.cc url1.last_forced_time = base::Time::FromJsTime(792219600000); // 8/2/1995 base 426 chrome/browser/history/top_sites_database_unittest.cc url3.last_forced_time = base::Time(); base 48 chrome/browser/history/top_sites_impl.cc using base::DictionaryValue; base 57 chrome/browser/history/top_sites_impl.cc base::TaskRunner* task_runner, base 67 chrome/browser/history/top_sites_impl.cc task_runner->PostTask(FROM_HERE, base::Bind(callback, *urls)); base 126 chrome/browser/history/top_sites_impl.cc void TopSitesImpl::Init(const base::FilePath& db_name) { base 132 chrome/browser/history/top_sites_impl.cc base::Bind(&TopSitesImpl::OnGotMostVisitedThumbnails, base 133 chrome/browser/history/top_sites_impl.cc base::Unretained(this)), base 160 chrome/browser/history/top_sites_impl.cc scoped_refptr<base::RefCountedBytes> thumbnail_data; base 177 chrome/browser/history/top_sites_impl.cc const base::RefCountedMemory* memory, base 216 chrome/browser/history/top_sites_impl.cc base::AutoLock lock(lock_); base 221 chrome/browser/history/top_sites_impl.cc base::Bind(&RunOrPostGetMostVisitedURLsCallback, base 222 chrome/browser/history/top_sites_impl.cc base::MessageLoopProxy::current(), base 241 chrome/browser/history/top_sites_impl.cc scoped_refptr<base::RefCountedMemory>* bytes) { base 245 chrome/browser/history/top_sites_impl.cc base::AutoLock lock(lock_); base 270 chrome/browser/history/top_sites_impl.cc base::AutoLock lock(lock_); base 288 chrome/browser/history/top_sites_impl.cc base::AutoLock lock(lock_); base 328 chrome/browser/history/top_sites_impl.cc const base::DictionaryValue* blacklist = base 336 chrome/browser/history/top_sites_impl.cc base::Value* dummy = base::Value::CreateNullValue(); base 340 chrome/browser/history/top_sites_impl.cc base::DictionaryValue* blacklist = update.Get(); base 353 chrome/browser/history/top_sites_impl.cc base::DictionaryValue* blacklist = update.Get(); base 362 chrome/browser/history/top_sites_impl.cc const base::DictionaryValue* blacklist = base 372 chrome/browser/history/top_sites_impl.cc base::DictionaryValue* blacklist = update.Get(); base 463 chrome/browser/history/top_sites_impl.cc base::Bind(&TopSitesImpl::OnTopSitesAvailableFromHistory, base 464 chrome/browser/history/top_sites_impl.cc base::Unretained(this))); base 490 chrome/browser/history/top_sites_impl.cc const base::RefCountedMemory* thumbnail_data, base 511 chrome/browser/history/top_sites_impl.cc image->thumbnail = const_cast<base::RefCountedMemory*>(thumbnail_data); base 520 chrome/browser/history/top_sites_impl.cc const base::RefCountedMemory* thumbnail, base 540 chrome/browser/history/top_sites_impl.cc scoped_refptr<base::RefCountedBytes>* bytes) { base 543 chrome/browser/history/top_sites_impl.cc *bytes = new base::RefCountedBytes(); base 567 chrome/browser/history/top_sites_impl.cc const base::RefCountedMemory* thumbnail, base 574 chrome/browser/history/top_sites_impl.cc image.second.thumbnail = const_cast<base::RefCountedMemory*>(thumbnail); base 610 chrome/browser/history/top_sites_impl.cc bool TopSitesImpl::AddForcedURL(const GURL& url, const base::Time& time) { base 699 chrome/browser/history/top_sites_impl.cc const base::DictionaryValue* blacklist = base 727 chrome/browser/history/top_sites_impl.cc return base::MD5String(url.spec()); base 730 chrome/browser/history/top_sites_impl.cc base::TimeDelta TopSitesImpl::GetUpdateDelay() { base 732 chrome/browser/history/top_sites_impl.cc return base::TimeDelta::FromSeconds(30); base 737 chrome/browser/history/top_sites_impl.cc return base::TimeDelta::FromMinutes(minutes); base 844 chrome/browser/history/top_sites_impl.cc const base::DictionaryValue* blacklist = base 856 chrome/browser/history/top_sites_impl.cc base::AutoLock lock(lock_); base 885 chrome/browser/history/top_sites_impl.cc base::AutoLock lock(lock_); base 892 chrome/browser/history/top_sites_impl.cc base::AutoLock lock(lock_); base 903 chrome/browser/history/top_sites_impl.cc void TopSitesImpl::RestartQueryForTopSitesTimer(base::TimeDelta delta) { base 905 chrome/browser/history/top_sites_impl.cc (base::TimeTicks::Now() + delta))) { base 909 chrome/browser/history/top_sites_impl.cc timer_start_time_ = base::TimeTicks::Now(); base 930 chrome/browser/history/top_sites_impl.cc base::TimeDelta::FromSeconds(kUpdateIntervalSecs)); base 35 chrome/browser/history/top_sites_impl.h namespace base { base 55 chrome/browser/history/top_sites_impl.h void Init(const base::FilePath& db_name); base 62 chrome/browser/history/top_sites_impl.h const base::RefCountedMemory* memory, base 70 chrome/browser/history/top_sites_impl.h scoped_refptr<base::RefCountedMemory>* bytes) OVERRIDE; base 90 chrome/browser/history/top_sites_impl.h virtual bool AddForcedURL(const GURL& url, const base::Time& time) OVERRIDE; base 100 chrome/browser/history/top_sites_impl.h typedef base::Callback<void(const MostVisitedURLList&, base 125 chrome/browser/history/top_sites_impl.h const base::RefCountedMemory* thumbnail_data, base 131 chrome/browser/history/top_sites_impl.h const base::RefCountedMemory* thumbnail, base 137 chrome/browser/history/top_sites_impl.h scoped_refptr<base::RefCountedBytes>* bytes); base 145 chrome/browser/history/top_sites_impl.h const base::RefCountedMemory* thumbnail, base 180 chrome/browser/history/top_sites_impl.h base::TimeDelta GetUpdateDelay(); base 211 chrome/browser/history/top_sites_impl.h void RestartQueryForTopSitesTimer(base::TimeDelta delta); base 235 chrome/browser/history/top_sites_impl.h mutable base::Lock lock_; base 240 chrome/browser/history/top_sites_impl.h base::CancelableTaskTracker cancelable_task_tracker_; base 244 chrome/browser/history/top_sites_impl.h base::OneShotTimer<TopSitesImpl> timer_; base 247 chrome/browser/history/top_sites_impl.h base::TimeTicks timer_start_time_; base 43 chrome/browser/history/top_sites_impl_unittest.cc base::MessageLoop::current()->Quit(); base 75 chrome/browser/history/top_sites_impl_unittest.cc base::Bind(&TopSitesQuerier::OnTopSitesAvailable, base 80 chrome/browser/history/top_sites_impl_unittest.cc base::MessageLoop::current()->Run(); base 99 chrome/browser/history/top_sites_impl_unittest.cc base::MessageLoop::current()->Quit(); base 104 chrome/browser/history/top_sites_impl_unittest.cc base::WeakPtrFactory<TopSitesQuerier> weak_ptr_factory_; base 114 chrome/browser/history/top_sites_impl_unittest.cc SkBitmap ExtractThumbnail(const base::RefCountedMemory& t1) { base 121 chrome/browser/history/top_sites_impl_unittest.cc bool ThumbnailsAreEqual(base::RefCountedMemory* t1, base 122 chrome/browser/history/top_sites_impl_unittest.cc base::RefCountedMemory* t2) { base 159 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> data; base 186 chrome/browser/history/top_sites_impl_unittest.cc base::MessageLoop::current()->Run(); base 193 chrome/browser/history/top_sites_impl_unittest.cc base::Bind(&TopSitesImplTest::QuitCallback, base::Unretained(this)), base 195 chrome/browser/history/top_sites_impl_unittest.cc base::MessageLoop::current()->Run(); base 232 chrome/browser/history/top_sites_impl_unittest.cc base::MessageLoop::current()->Quit(); base 240 chrome/browser/history/top_sites_impl_unittest.cc url, base::Time::Now(), static_cast<void*>(this), 0, GURL(), base 246 chrome/browser/history/top_sites_impl_unittest.cc void AddPageToHistory(const GURL& url, const base::string16& title) { base 250 chrome/browser/history/top_sites_impl_unittest.cc url, base::Time::Now(), static_cast<void*>(this), 0, GURL(), base 258 chrome/browser/history/top_sites_impl_unittest.cc const base::string16& title, base 260 chrome/browser/history/top_sites_impl_unittest.cc base::Time time) { base 275 chrome/browser/history/top_sites_impl_unittest.cc base::RefCountedMemory* bytes) { base 276 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedBytes> encoded_image; base 299 chrome/browser/history/top_sites_impl_unittest.cc bool AddForcedURL(const GURL& url, base::Time time) { base 313 chrome/browser/history/top_sites_impl_unittest.cc base::TimeDelta GetUpdateDelay() { base 324 chrome/browser/history/top_sites_impl_unittest.cc base::AutoLock lock(top_sites()->lock_); base 330 chrome/browser/history/top_sites_impl_unittest.cc base::MessageLoopForUI message_loop_; base 339 chrome/browser/history/top_sites_impl_unittest.cc base::CancelableTaskTracker cancelable_task_tracker_; base 361 chrome/browser/history/top_sites_impl_unittest.cc mv.last_forced_time = base::Time::FromJsTime(last_forced_time); base 499 chrome/browser/history/top_sites_impl_unittest.cc EXPECT_EQ(base::Time::FromJsTime(4000), delta.moved[0].url.last_forced_time); base 502 chrome/browser/history/top_sites_impl_unittest.cc EXPECT_EQ(base::Time::FromJsTime(6000), delta.moved[1].url.last_forced_time); base 530 chrome/browser/history/top_sites_impl_unittest.cc base::Time now = base::Time::Now(); base 565 chrome/browser/history/top_sites_impl_unittest.cc base::Time now = base::Time::Now(); base 574 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> result; base 602 chrome/browser/history/top_sites_impl_unittest.cc ThumbnailScore score(0.5, true, true, base::Time::Now()); base 604 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> result; base 652 chrome/browser/history/top_sites_impl_unittest.cc base::string16 asdf_title(base::ASCIIToUTF16("ASDF")); base 654 chrome/browser/history/top_sites_impl_unittest.cc base::string16 google_title(base::ASCIIToUTF16("Google")); base 656 chrome/browser/history/top_sites_impl_unittest.cc base::string16 news_title(base::ASCIIToUTF16("Google News")); base 680 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> read_data; base 716 chrome/browser/history/top_sites_impl_unittest.cc base::string16 asdf_title(base::ASCIIToUTF16("ASDF")); base 718 chrome/browser/history/top_sites_impl_unittest.cc base::string16 google_title(base::ASCIIToUTF16("Google")); base 720 chrome/browser/history/top_sites_impl_unittest.cc base::string16 news_title(base::ASCIIToUTF16("Google News")); base 725 chrome/browser/history/top_sites_impl_unittest.cc list[0].title = base::ASCIIToUTF16("forced1"); base 752 chrome/browser/history/top_sites_impl_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("forced1"), querier.urls()[0].title); base 761 chrome/browser/history/top_sites_impl_unittest.cc EXPECT_EQ(base::Time::FromJsTime(1000), querier.urls()[0].last_forced_time); base 763 chrome/browser/history/top_sites_impl_unittest.cc EXPECT_EQ(base::Time::FromJsTime(2000), querier.urls()[1].last_forced_time); base 765 chrome/browser/history/top_sites_impl_unittest.cc EXPECT_EQ(base::Time::FromJsTime(3000), querier.urls()[2].last_forced_time); base 767 chrome/browser/history/top_sites_impl_unittest.cc EXPECT_EQ(base::Time::FromJsTime(4000), querier.urls()[3].last_forced_time); base 776 chrome/browser/history/top_sites_impl_unittest.cc base::string16 asdf_title(base::ASCIIToUTF16("ASDF")); base 780 chrome/browser/history/top_sites_impl_unittest.cc base::string16 google_title(base::ASCIIToUTF16("Google")); base 782 chrome/browser/history/top_sites_impl_unittest.cc base::string16 news_title(base::ASCIIToUTF16("Google News")); base 791 chrome/browser/history/top_sites_impl_unittest.cc base::Time add_time(base::Time::Now()); base 805 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> read_data; base 818 chrome/browser/history/top_sites_impl_unittest.cc add_time - base::TimeDelta::FromMinutes(1)); base 821 chrome/browser/history/top_sites_impl_unittest.cc add_time - base::TimeDelta::FromMinutes(2)); base 830 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> read_data; base 848 chrome/browser/history/top_sites_impl_unittest.cc base::Time thumbnail_time(base::Time::Now()); base 859 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> read_data; base 879 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> read_data; base 890 chrome/browser/history/top_sites_impl_unittest.cc base::string16 google_title(base::ASCIIToUTF16("Google")); base 892 chrome/browser/history/top_sites_impl_unittest.cc base::string16 news_title(base::ASCIIToUTF16("Google News")); base 1109 chrome/browser/history/top_sites_impl_unittest.cc ThumbnailScore medium_score(0.5, true, true, base::Time::Now()); base 1122 chrome/browser/history/top_sites_impl_unittest.cc scoped_refptr<base::RefCountedMemory> out; base 1459 chrome/browser/history/top_sites_impl_unittest.cc base::Time::FromJsTime(5000))); base 1461 chrome/browser/history/top_sites_impl_unittest.cc base::Time::FromJsTime(1000))); base 1463 chrome/browser/history/top_sites_impl_unittest.cc base::Time::FromJsTime(3000))); base 1490 chrome/browser/history/top_sites_impl_unittest.cc base::Time::FromJsTime(4000))); base 1492 chrome/browser/history/top_sites_impl_unittest.cc base::Time::FromJsTime(1000))); base 1494 chrome/browser/history/top_sites_impl_unittest.cc base::Time::FromJsTime(6000))); base 1508 chrome/browser/history/top_sites_impl_unittest.cc base::Time::FromJsTime(4000))); base 1532 chrome/browser/history/top_sites_impl_unittest.cc base::Time::FromJsTime(6000))); base 67 chrome/browser/history/typed_url_syncable_service.cc expected_loop_(base::MessageLoop::current()) { base 69 chrome/browser/history/typed_url_syncable_service.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 73 chrome/browser/history/typed_url_syncable_service.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 81 chrome/browser/history/typed_url_syncable_service.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 97 chrome/browser/history/typed_url_syncable_service.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 106 chrome/browser/history/typed_url_syncable_service.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 117 chrome/browser/history/typed_url_syncable_service.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 128 chrome/browser/history/typed_url_syncable_service.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 156 chrome/browser/history/typed_url_syncable_service.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 179 chrome/browser/history/typed_url_syncable_service.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 334 chrome/browser/history/typed_url_syncable_service.cc typed_url->set_title(base::UTF16ToUTF8(url.title())); base 23 chrome/browser/history/typed_url_syncable_service.h namespace base { base 140 chrome/browser/history/typed_url_syncable_service.h base::MessageLoop* expected_loop_; base 41 chrome/browser/history/typed_url_syncable_service_unittest.cc TestHistoryBackend() : HistoryBackend(base::FilePath(), NULL, NULL) {} base 44 chrome/browser/history/typed_url_syncable_service_unittest.cc virtual bool IsExpiredVisitTime(const base::Time& time) OVERRIDE { base 117 chrome/browser/history/typed_url_syncable_service_unittest.cc (base::UTF16ToUTF8(row.title()).compare(specifics.title()) == 0) && base 157 chrome/browser/history/typed_url_syncable_service_unittest.cc history_url.set_title(base::UTF8ToUTF16(title)); base 161 chrome/browser/history/typed_url_syncable_service_unittest.cc base::Time last_visit_time = base::Time::FromInternalValue(last_visit); base 186 chrome/browser/history/typed_url_syncable_service_unittest.cc base::Time time = base::Time::FromInternalValue(visit_time); base 203 chrome/browser/history/typed_url_syncable_service_unittest.cc base::Time time = base::Time::FromInternalValue(visit_time); base 71 chrome/browser/history/url_database.cc i->last_visit_ = base::Time::FromInternalValue(s.ColumnInt64(5)); base 331 chrome/browser/history/url_database.cc bool URLDatabase::FindShortestURLFromBase(const std::string& base, base 350 chrome/browser/history/url_database.cc statement.BindString(0, base); base 363 chrome/browser/history/url_database.cc bool URLDatabase::GetTextMatches(const base::string16& query, base 374 chrome/browser/history/url_database.cc base::string16 url = base::i18n::ToLower(statement.ColumnString16(1)); base 381 chrome/browser/history/url_database.cc base::string16 ascii = base::ASCIIToUTF16(gurl.host()); base 382 chrome/browser/history/url_database.cc base::string16 utf = net::IDNToUnicode(gurl.host(), std::string()); base 386 chrome/browser/history/url_database.cc base::string16 title = base::i18n::ToLower(statement.ColumnString16(2)); base 443 chrome/browser/history/url_database.cc const base::string16& term) { base 463 chrome/browser/history/url_database.cc statement.BindString16(2, base::i18n::ToLower(term)); base 487 chrome/browser/history/url_database.cc const base::string16& term, base 518 chrome/browser/history/url_database.cc const base::string16& prefix, base 536 chrome/browser/history/url_database.cc base::string16 lower_prefix = base::i18n::ToLower(prefix); base 538 chrome/browser/history/url_database.cc base::string16 next_prefix = lower_prefix; base 550 chrome/browser/history/url_database.cc visit.time = base::Time::FromInternalValue(statement.ColumnInt64(2)); base 555 chrome/browser/history/url_database.cc bool URLDatabase::DeleteKeywordSearchTerm(const base::string16& term) { base 180 chrome/browser/history/url_database.h bool FindShortestURLFromBase(const std::string& base, base 191 chrome/browser/history/url_database.h bool GetTextMatches(const base::string16& query, URLRows* results); base 198 chrome/browser/history/url_database.h const base::string16& term); base 206 chrome/browser/history/url_database.h bool GetKeywordSearchTermRows(const base::string16& term, base 217 chrome/browser/history/url_database.h const base::string16& prefix, base 222 chrome/browser/history/url_database.h bool DeleteKeywordSearchTerm(const base::string16& term); base 14 chrome/browser/history/url_database_unittest.cc using base::Time; base 15 chrome/browser/history/url_database_unittest.cc using base::TimeDelta; base 51 chrome/browser/history/url_database_unittest.cc base::FilePath db_file = temp_dir_.path().AppendASCII("URLTest.db"); base 65 chrome/browser/history/url_database_unittest.cc base::ScopedTempDir temp_dir_; base 74 chrome/browser/history/url_database_unittest.cc url_info1.set_title(base::UTF8ToUTF16("Google")); base 84 chrome/browser/history/url_database_unittest.cc url_info2.set_title(base::UTF8ToUTF16("Google Mail")); base 100 chrome/browser/history/url_database_unittest.cc url_info2.set_title(base::UTF8ToUTF16("Google Mail Too")); base 114 chrome/browser/history/url_database_unittest.cc url_info1.set_title(base::UTF8ToUTF16("Google Again!")); base 124 chrome/browser/history/url_database_unittest.cc url_info3.set_title(base::UTF8ToUTF16("Google Maps")); base 155 chrome/browser/history/url_database_unittest.cc url_info1.set_title(base::UTF8ToUTF16("Google")); base 165 chrome/browser/history/url_database_unittest.cc base::string16 keyword = base::UTF8ToUTF16("visit"); base 194 chrome/browser/history/url_database_unittest.cc url_info1.set_title(base::UTF8ToUTF16("Google")); base 204 chrome/browser/history/url_database_unittest.cc SetKeywordSearchTermsForURL(url_id, 1, base::UTF8ToUTF16("visit"))); base 211 chrome/browser/history/url_database_unittest.cc GetMostRecentKeywordSearchTerms(1, base::UTF8ToUTF16("visit"), 10, &matches); base 255 chrome/browser/history/url_database_unittest.cc url_info1.set_title(base::UTF8ToUTF16("Google")); base 265 chrome/browser/history/url_database_unittest.cc base::string16 keyword = base::UTF8ToUTF16("visit"); base 269 chrome/browser/history/url_database_unittest.cc url_info2.set_title(base::UTF8ToUTF16("Google")); base 281 chrome/browser/history/url_database_unittest.cc url_info3.set_title(base::UTF8ToUTF16("Google")); base 288 chrome/browser/history/url_database_unittest.cc base::string16 keyword2 = base::UTF8ToUTF16("Search"); base 76 chrome/browser/history/url_index_private_data.cc bool LengthGreater(const base::string16& string_a, base 77 chrome/browser/history/url_index_private_data.cc const base::string16& string_b) { base 155 chrome/browser/history/url_index_private_data.cc base::string16 search_string, base 162 chrome/browser/history/url_index_private_data.cc if ((cursor_position != base::string16::npos) && base 165 chrome/browser/history/url_index_private_data.cc search_string.insert(cursor_position, base::ASCIIToUTF16(" ")); base 174 chrome/browser/history/url_index_private_data.cc base::string16 lower_raw_string(base::i18n::ToLower(search_string)); base 175 chrome/browser/history/url_index_private_data.cc base::string16 lower_unescaped_string = base 238 chrome/browser/history/url_index_private_data.cc if (Tokenize(lower_raw_string, base::kWhitespaceUTF16, base 251 chrome/browser/history/url_index_private_data.cc lower_raw_terms, base::Time::Now())).ScoredMatches(); base 299 chrome/browser/history/url_index_private_data.cc row_was_updated = RowQualifiesAsSignificant(new_row, base::Time()) && base 301 chrome/browser/history/url_index_private_data.cc } else if (RowQualifiesAsSignificant(row, base::Time())) { base 398 chrome/browser/history/url_index_private_data.cc const base::FilePath& file_path, base 400 chrome/browser/history/url_index_private_data.cc base::TimeTicks beginning_time = base::TimeTicks::Now(); base 401 chrome/browser/history/url_index_private_data.cc if (!base::PathExists(file_path)) base 406 chrome/browser/history/url_index_private_data.cc if (!base::ReadFileToString(file_path, &data)) base 421 chrome/browser/history/url_index_private_data.cc base::TimeTicks::Now() - beginning_time); base 442 chrome/browser/history/url_index_private_data.cc base::TimeTicks beginning_time = base::TimeTicks::Now(); base 449 chrome/browser/history/url_index_private_data.cc rebuilt_data->last_time_rebuilt_from_history_ = base::Time::Now(); base 456 chrome/browser/history/url_index_private_data.cc base::TimeTicks::Now() - beginning_time); base 469 chrome/browser/history/url_index_private_data.cc const base::FilePath& file_path) { base 503 chrome/browser/history/url_index_private_data.cc last_time_rebuilt_from_history_ = base::Time(); base 531 chrome/browser/history/url_index_private_data.cc base::string16 uni_word = *iter; base 552 chrome/browser/history/url_index_private_data.cc const base::string16& term) { base 576 chrome/browser/history/url_index_private_data.cc base::string16 leftovers(term); base 601 chrome/browser/history/url_index_private_data.cc base::STLSetDifference<Char16Set>(leftover_chars, prefix_chars); base 628 chrome/browser/history/url_index_private_data.cc if (word_list_[*word_set_iter].find(term) == base::string16::npos) base 710 chrome/browser/history/url_index_private_data.cc base::string16 url(net::FormatUrl(gurl, languages, base 759 chrome/browser/history/url_index_private_data.cc const base::string16& url = CleanUpUrlForMatching(gurl, languages); base 762 chrome/browser/history/url_index_private_data.cc const base::string16& title = CleanUpTitleForMatching(row.title()); base 776 chrome/browser/history/url_index_private_data.cc void URLIndexPrivateData::AddWordToIndex(const base::string16& term, base 785 chrome/browser/history/url_index_private_data.cc void URLIndexPrivateData::AddWordHistory(const base::string16& term, base 807 chrome/browser/history/url_index_private_data.cc base::char16 uni_char = *uni_char_iter; base 867 chrome/browser/history/url_index_private_data.cc base::string16 word = word_list_[word_id]; base 871 chrome/browser/history/url_index_private_data.cc base::char16 uni_char = *uni_char_iter; base 880 chrome/browser/history/url_index_private_data.cc word_list_[word_id] = base::string16(); base 891 chrome/browser/history/url_index_private_data.cc bool URLIndexPrivateData::SaveToFile(const base::FilePath& file_path) { base 892 chrome/browser/history/url_index_private_data.cc base::TimeTicks beginning_time = base::TimeTicks::Now(); base 902 chrome/browser/history/url_index_private_data.cc if (base::WriteFile(file_path, data.c_str(), size) != size) { base 907 chrome/browser/history/url_index_private_data.cc base::TimeTicks::Now() - beginning_time); base 935 chrome/browser/history/url_index_private_data.cc list_item->add_word(base::UTF16ToUTF8(*iter)); base 946 chrome/browser/history/url_index_private_data.cc map_entry->set_word(base::UTF16ToUTF8(iter->first)); base 1005 chrome/browser/history/url_index_private_data.cc map_entry->set_title(base::UTF16ToUTF8(url_row.title())); base 1048 chrome/browser/history/url_index_private_data.cc base::Time::FromInternalValue(cache.last_rebuild_timestamp()); base 1049 chrome/browser/history/url_index_private_data.cc const base::TimeDelta rebuilt_ago = base 1050 chrome/browser/history/url_index_private_data.cc base::Time::Now() - last_time_rebuilt_from_history_; base 1051 chrome/browser/history/url_index_private_data.cc if ((rebuilt_ago > base::TimeDelta::FromDays(7)) || base 1052 chrome/browser/history/url_index_private_data.cc (rebuilt_ago < base::TimeDelta::FromDays(-1))) { base 1086 chrome/browser/history/url_index_private_data.cc word_list_.push_back(base::UTF8ToUTF16(*iter)); base 1102 chrome/browser/history/url_index_private_data.cc word_map_[base::UTF8ToUTF16(iter->word())] = iter->word_id(); base 1123 chrome/browser/history/url_index_private_data.cc base::char16 uni_char = static_cast<base::char16>(iter->char_16()); base 1182 chrome/browser/history/url_index_private_data.cc url_row.set_last_visit(base::Time::FromInternalValue(iter->last_visit())); base 1184 chrome/browser/history/url_index_private_data.cc base::string16 title(base::UTF8ToUTF16(iter->title())); base 1194 chrome/browser/history/url_index_private_data.cc base::Time::FromInternalValue(iter->visits(i).visit_time()), base 1240 chrome/browser/history/url_index_private_data.cc const base::string16& url = CleanUpUrlForMatching(row.url(), languages); base 1242 chrome/browser/history/url_index_private_data.cc const base::string16& title = CleanUpTitleForMatching(row.title()); base 1279 chrome/browser/history/url_index_private_data.cc const base::string16& lower_string, base 1281 chrome/browser/history/url_index_private_data.cc const base::Time now) base 1293 chrome/browser/history/url_index_private_data.cc base::i18n::BreakIterator iter(lower_terms_[i], base 1294 chrome/browser/history/url_index_private_data.cc base::i18n::BreakIterator::BREAK_WORD); base 47 chrome/browser/history/url_index_private_data.h : public base::RefCountedThreadSafe<URLIndexPrivateData> { base 70 chrome/browser/history/url_index_private_data.h ScoredHistoryMatches HistoryItemsForTerms(base::string16 term_string, base 114 chrome/browser/history/url_index_private_data.h const base::FilePath& path, base 130 chrome/browser/history/url_index_private_data.h const base::FilePath& file_path); base 147 chrome/browser/history/url_index_private_data.h friend class base::RefCountedThreadSafe<URLIndexPrivateData>; base 192 chrome/browser/history/url_index_private_data.h typedef std::map<base::string16, SearchTermCacheItem> SearchTermCacheMap; base 201 chrome/browser/history/url_index_private_data.h const base::string16& lower_string, base 203 chrome/browser/history/url_index_private_data.h const base::Time now); base 215 chrome/browser/history/url_index_private_data.h const base::string16& lower_string_; base 218 chrome/browser/history/url_index_private_data.h const base::Time now_; base 243 chrome/browser/history/url_index_private_data.h HistoryIDSet HistoryIDsForTerm(const base::string16& term); base 274 chrome/browser/history/url_index_private_data.h void AddWordToIndex(const base::string16& uni_word, HistoryID history_id); base 278 chrome/browser/history/url_index_private_data.h void AddWordHistory(const base::string16& uni_word, HistoryID history_id); base 299 chrome/browser/history/url_index_private_data.h bool SaveToFile(const base::FilePath& file_path); base 341 chrome/browser/history/url_index_private_data.h base::Time last_time_rebuilt_from_history_; base 88 chrome/browser/history/visit_database.cc visit->visit_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); base 93 chrome/browser/history/visit_database.cc base::TimeDelta::FromInternalValue(statement.ColumnInt64(6)); base 119 chrome/browser/history/visit_database.cc base::Time found_urls_midnight; base 283 chrome/browser/history/visit_database.cc bool VisitDatabase::GetVisitsForTimes(const std::vector<base::Time>& times, base 287 chrome/browser/history/visit_database.cc for (std::vector<base::Time>::const_iterator it = times.begin(); base 301 chrome/browser/history/visit_database.cc bool VisitDatabase::GetAllVisitsInRange(base::Time begin_time, base 302 chrome/browser/history/visit_database.cc base::Time end_time, base 323 chrome/browser/history/visit_database.cc base::Time begin_time, base 324 chrome/browser/history/visit_database.cc base::Time end_time, base 492 chrome/browser/history/visit_database.cc base::Time* first_visit) { base 534 chrome/browser/history/visit_database.cc *first_visit = base::Time::FromInternalValue(statement.ColumnInt64(0)); base 539 chrome/browser/history/visit_database.cc bool VisitDatabase::GetStartDate(base::Time* first_visit) { base 543 chrome/browser/history/visit_database.cc *first_visit = base::Time::Now(); base 546 chrome/browser/history/visit_database.cc *first_visit = base::Time::FromInternalValue(statement.ColumnInt64(0)); base 572 chrome/browser/history/visit_database.cc sql.append(base::Int64ToString(visits[j].visit_id)); base 619 chrome/browser/history/visit_database.cc info.time = base::Time::FromInternalValue(statement.ColumnInt64(1)); base 76 chrome/browser/history/visit_database.h bool GetVisitsForTimes(const std::vector<base::Time>& times, base 88 chrome/browser/history/visit_database.h bool GetAllVisitsInRange(base::Time begin_time, base::Time end_time, base 100 chrome/browser/history/visit_database.h bool GetVisitsInRangeForTransition(base::Time begin_time, base 101 chrome/browser/history/visit_database.h base::Time end_time, base 179 chrome/browser/history/visit_database.h base::Time* first_visit); base 182 chrome/browser/history/visit_database.h bool GetStartDate(base::Time* first_visit); base 19 chrome/browser/history/visit_database_unittest.cc using base::Time; base 20 chrome/browser/history/visit_database_unittest.cc using base::TimeDelta; base 49 chrome/browser/history/visit_database_unittest.cc base::FilePath db_file = temp_dir_.path().AppendASCII("VisitTest.db"); base 68 chrome/browser/history/visit_database_unittest.cc base::ScopedTempDir temp_dir_; base 165 chrome/browser/history/visit_database_unittest.cc base::Time base_time = Time::UnixEpoch().LocalMidnight(); base 246 chrome/browser/history/visit_database_unittest.cc std::vector<base::Time> times; base 257 chrome/browser/history/visit_database_unittest.cc std::vector<base::Time> times; base 28 chrome/browser/history/visit_filter.cc void VisitFilter::SetFilterTime(const base::Time& filter_time) { base 33 chrome/browser/history/visit_filter.cc void VisitFilter::SetFilterWidth(const base::TimeDelta& filter_width) { base 49 chrome/browser/history/visit_filter.cc filter_time_ = base::Time(); base 50 chrome/browser/history/visit_filter.cc filter_width_ = base::TimeDelta::FromHours(0); base 67 chrome/browser/history/visit_filter.cc if (filter_width_ != base::TimeDelta::FromSeconds(0)) { base 96 chrome/browser/history/visit_filter.cc void VisitFilter::GetTimesInRange(base::Time begin_time_of_the_day, base 97 chrome/browser/history/visit_filter.cc base::Time end_time_of_the_day, base 110 chrome/browser/history/visit_filter.cc base::TimeDelta one_day = base::TimeDelta::FromDays(1); base 120 chrome/browser/history/visit_filter.cc std::make_pair(begin_time_of_the_day - base::TimeDelta::FromDays(i), base 121 chrome/browser/history/visit_filter.cc end_time_of_the_day - base::TimeDelta::FromDays(i))); base 127 chrome/browser/history/visit_filter.cc base::TimeDelta time_passed = filter_time_ - visit.visit_time; base 130 chrome/browser/history/visit_filter.cc time_passed.InMicroseconds()) / base::Time::kMicrosecondsPerWeek); base 153 chrome/browser/history/visit_filter.cc base::TimeDelta offset = GetTimeOfDayDifference(filter_time_, base 170 chrome/browser/history/visit_filter.cc base::TimeDelta base 171 chrome/browser/history/visit_filter.cc VisitFilter::GetTimeOfDayDifference(base::Time t1, base::Time t2) { base 172 chrome/browser/history/visit_filter.cc base::TimeDelta time_of_day1 = t1 - t1.LocalMidnight(); base 173 chrome/browser/history/visit_filter.cc base::TimeDelta time_of_day2 = t2 - t2.LocalMidnight(); base 175 chrome/browser/history/visit_filter.cc base::TimeDelta difference; base 183 chrome/browser/history/visit_filter.cc if (difference > base::TimeDelta::FromHours(12)) base 184 chrome/browser/history/visit_filter.cc difference = base::TimeDelta::FromHours(24) - difference; base 191 chrome/browser/history/visit_filter.cc base::Time week, base 196 chrome/browser/history/visit_filter.cc base::Time::Exploded exploded_time; base 198 chrome/browser/history/visit_filter.cc week = base::Time::Now(); base 200 chrome/browser/history/visit_filter.cc base::TimeDelta shift = base::TimeDelta::FromDays( base 203 chrome/browser/history/visit_filter.cc base::Time day_base = week.LocalMidnight(); base 209 chrome/browser/history/visit_filter.cc base::TimeDelta one_day = base::TimeDelta::FromDays(1); base 218 chrome/browser/history/visit_filter.cc std::make_pair(day_base - base::TimeDelta::FromDays(i * 7), base 219 chrome/browser/history/visit_filter.cc day_base + one_day - base::TimeDelta::FromDays(i * 7))); base 225 chrome/browser/history/visit_filter.cc base::Time week, base 230 chrome/browser/history/visit_filter.cc week = base::Time::Now(); base 235 chrome/browser/history/visit_filter.cc base::Time::Exploded exploded_time; base 277 chrome/browser/history/visit_filter.cc std::pair<base::Time, base::Time> united_timeslot; base 31 chrome/browser/history/visit_filter.h typedef std::vector<std::pair<base::Time, base::Time> > TimeVector; base 48 chrome/browser/history/visit_filter.h void SetFilterTime(const base::Time& filter_time); base 57 chrome/browser/history/visit_filter.h void SetFilterWidth(const base::TimeDelta& filter_width); base 114 chrome/browser/history/visit_filter.h static void GetTimesInRange(base::Time begin_time_of_the_day, base 115 chrome/browser/history/visit_filter.h base::Time end_time_of_the_day, base 123 chrome/browser/history/visit_filter.h base::Time week, base 129 chrome/browser/history/visit_filter.h base::Time week, base 148 chrome/browser/history/visit_filter.h static base::TimeDelta GetTimeOfDayDifference(base::Time t1, base::Time t2); base 150 chrome/browser/history/visit_filter.h base::Time filter_time_; base 151 chrome/browser/history/visit_filter.h base::TimeDelta filter_width_; base 18 chrome/browser/history/visit_filter_unittest.cc base::Time GetClosestMidday() { base 19 chrome/browser/history/visit_filter_unittest.cc return base::Time::Now().LocalMidnight() + base::TimeDelta::FromHours(12); base 45 chrome/browser/history/visit_filter_unittest.cc base::Time t(GetClosestMidday()); base 46 chrome/browser/history/visit_filter_unittest.cc base::TimeDelta two_hours(base::TimeDelta::FromHours(2)); base 53 chrome/browser/history/visit_filter_unittest.cc base::Time t_interval(t); base 54 chrome/browser/history/visit_filter_unittest.cc t_interval -= base::TimeDelta::FromDays(i); base 60 chrome/browser/history/visit_filter_unittest.cc base::Time::Exploded et; base 66 chrome/browser/history/visit_filter_unittest.cc base::Time t_interval(t); base 67 chrome/browser/history/visit_filter_unittest.cc t_interval -= base::TimeDelta::FromDays(i); base 68 chrome/browser/history/visit_filter_unittest.cc EXPECT_EQ(f.times()[i].first + base::TimeDelta::FromDays(7), base 71 chrome/browser/history/visit_filter_unittest.cc EXPECT_EQ(f.times()[i].second + base::TimeDelta::FromDays(7), base 81 chrome/browser/history/visit_filter_unittest.cc base::Time::Exploded et = { 2011, 7, 0, 19, 22, 15, 11, 0 }; base 82 chrome/browser/history/visit_filter_unittest.cc base::Time t(base::Time::FromLocalExploded(et)); base 83 chrome/browser/history/visit_filter_unittest.cc base::TimeDelta two_hours(base::TimeDelta::FromHours(2)); base 88 chrome/browser/history/visit_filter_unittest.cc base::Time t_interval(t); base 89 chrome/browser/history/visit_filter_unittest.cc t_interval -= base::TimeDelta::FromDays(i); base 97 chrome/browser/history/visit_filter_unittest.cc base::Time t(GetClosestMidday()); base 99 chrome/browser/history/visit_filter_unittest.cc base::Time::Exploded et; base 108 chrome/browser/history/visit_filter_unittest.cc base::Time t_interval(base::Time::FromLocalExploded(et)); base 109 chrome/browser/history/visit_filter_unittest.cc t_interval -= base::TimeDelta::FromDays(7 * i); base 111 chrome/browser/history/visit_filter_unittest.cc EXPECT_EQ(t_interval + base::TimeDelta::FromDays(1), times[i].second) << base 117 chrome/browser/history/visit_filter_unittest.cc base::Time::Exploded et = { 2011, 7, 0, 19, 22, 15, 11, 0 }; base 118 chrome/browser/history/visit_filter_unittest.cc base::Time t(base::Time::FromLocalExploded(et)); base 127 chrome/browser/history/visit_filter_unittest.cc base::Time t_start(base::Time::FromLocalExploded(et)); base 128 chrome/browser/history/visit_filter_unittest.cc base::TimeDelta t_length; base 131 chrome/browser/history/visit_filter_unittest.cc t_length = base::TimeDelta::FromDays(2); base 133 chrome/browser/history/visit_filter_unittest.cc t_start -= base::TimeDelta::FromDays(1); base 135 chrome/browser/history/visit_filter_unittest.cc t_length = base::TimeDelta::FromDays(5); base 137 chrome/browser/history/visit_filter_unittest.cc t_start -= base::TimeDelta::FromDays(et.day_of_week - 1); base 140 chrome/browser/history/visit_filter_unittest.cc base::Time t_interval(t_start); base 141 chrome/browser/history/visit_filter_unittest.cc t_interval -= base::TimeDelta::FromDays(7 * i); base 148 chrome/browser/history/visit_filter_unittest.cc base::Time t(base::Time::Now()); base 149 chrome/browser/history/visit_filter_unittest.cc base::TimeDelta one_hour(base::TimeDelta::FromHours(1)); base 150 chrome/browser/history/visit_filter_unittest.cc base::TimeDelta one_day(base::TimeDelta::FromDays(1)); base 193 chrome/browser/history/visit_filter_unittest.cc base::Time t(base::Time::Now()); base 194 chrome/browser/history/visit_filter_unittest.cc base::TimeDelta one_hour(base::TimeDelta::FromHours(1)); base 195 chrome/browser/history/visit_filter_unittest.cc base::TimeDelta one_day(base::TimeDelta::FromDays(1)); base 243 chrome/browser/history/visit_filter_unittest.cc base::Time filter_time; base 244 chrome/browser/history/visit_filter_unittest.cc ASSERT_TRUE(base::Time::FromString("Tue, 24 Apr 2012, 12:00:00", base 251 chrome/browser/history/visit_filter_unittest.cc filter.SetFilterWidth(base::TimeDelta::FromHours(1)); base 260 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time - base::TimeDelta::FromDays(7); base 263 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time + base::TimeDelta::FromDays(1); base 270 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time - base::TimeDelta::FromDays(7); base 272 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time + base::TimeDelta::FromDays(7); base 280 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time + base::TimeDelta::FromMinutes(30); base 284 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time - base::TimeDelta::FromDays(7); base 288 chrome/browser/history/visit_filter_unittest.cc filter.SetFilterWidth(base::TimeDelta::FromHours(2)); base 289 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time - base::TimeDelta::FromDays(7) - base 290 chrome/browser/history/visit_filter_unittest.cc base::TimeDelta::FromHours(1); base 293 chrome/browser/history/visit_filter_unittest.cc filter.SetFilterWidth(base::TimeDelta::FromHours(1)); base 299 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time + base::TimeDelta::FromHours(1); base 301 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time + base::TimeDelta::FromMinutes(30); base 305 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time - base::TimeDelta::FromDays(7); base 308 chrome/browser/history/visit_filter_unittest.cc visit.visit_time = filter_time - base::TimeDelta::FromDays(7) - base 309 chrome/browser/history/visit_filter_unittest.cc base::TimeDelta::FromHours(1); base 170 chrome/browser/history/visitsegment_database.cc base::Time ts, base 172 chrome/browser/history/visitsegment_database.cc base::Time t = ts.LocalMidnight(); base 203 chrome/browser/history/visitsegment_database.cc base::Time from_time, base 219 chrome/browser/history/visitsegment_database.cc base::Time ts = from_time.LocalMidnight(); base 222 chrome/browser/history/visitsegment_database.cc base::Time now = base::Time::Now(); base 239 chrome/browser/history/visitsegment_database.cc base::Time timeslot = base 240 chrome/browser/history/visitsegment_database.cc base::Time::FromInternalValue(statement.ColumnInt64(1)); base 288 chrome/browser/history/visitsegment_database.cc bool VisitSegmentDatabase::DeleteSegmentData(base::Time older_than) { base 50 chrome/browser/history/visitsegment_database.h bool IncreaseSegmentVisitCount(SegmentID segment_id, base::Time ts, base 56 chrome/browser/history/visitsegment_database.h void QuerySegmentUsage(base::Time from_time, base 62 chrome/browser/history/visitsegment_database.h bool DeleteSegmentData(base::Time older_than); base 67 chrome/browser/history/web_history_service.cc typedef base::Callback<void(Request*, bool)> CompletionCallback; base 134 chrome/browser/history/web_history_service.cc const base::Time& expiration_time) OVERRIDE { base 218 chrome/browser/history/web_history_service.cc scoped_ptr<base::DictionaryValue> ReadResponse(RequestImpl* request) { base 219 chrome/browser/history/web_history_service.cc scoped_ptr<base::DictionaryValue> result; base 221 chrome/browser/history/web_history_service.cc base::Value* value = base::JSONReader::Read(request->response_body()); base 222 chrome/browser/history/web_history_service.cc if (value && value->IsType(base::Value::TYPE_DICTIONARY)) base 223 chrome/browser/history/web_history_service.cc result.reset(static_cast<base::DictionaryValue*>(value)); base 232 chrome/browser/history/web_history_service.cc std::string ServerTimeString(base::Time time) { base 233 chrome/browser/history/web_history_service.cc if (time < base::Time::UnixEpoch()) { base 234 chrome/browser/history/web_history_service.cc return base::Int64ToString(0); base 236 chrome/browser/history/web_history_service.cc return base::Int64ToString( base 237 chrome/browser/history/web_history_service.cc (time - base::Time::UnixEpoch()).InMicroseconds()); base 245 chrome/browser/history/web_history_service.cc GURL GetQueryUrl(const base::string16& text_query, base 254 chrome/browser/history/web_history_service.cc base::Time end_time = base 255 chrome/browser/history/web_history_service.cc std::min(base::Time::FromInternalValue(options.EffectiveEndTime()), base 256 chrome/browser/history/web_history_service.cc base::Time::Now()); base 266 chrome/browser/history/web_history_service.cc url, "num", base::IntToString(options.max_count)); base 270 chrome/browser/history/web_history_service.cc url = net::AppendQueryParameter(url, "q", base::UTF16ToUTF8(text_query)); base 281 chrome/browser/history/web_history_service.cc base::DictionaryValue* CreateDeletion( base 285 chrome/browser/history/web_history_service.cc base::DictionaryValue* deletion = new base::DictionaryValue; base 312 chrome/browser/history/web_history_service.cc const base::string16& text_query, base 316 chrome/browser/history/web_history_service.cc RequestImpl::CompletionCallback completion_callback = base::Bind( base 329 chrome/browser/history/web_history_service.cc base::DictionaryValue delete_request; base 330 chrome/browser/history/web_history_service.cc scoped_ptr<base::ListValue> deletions(new base::ListValue); base 331 chrome/browser/history/web_history_service.cc base::Time now = base::Time::Now(); base 338 chrome/browser/history/web_history_service.cc base::Time end_time = it->end_time; base 354 chrome/browser/history/web_history_service.cc base::JSONWriter::Write(&delete_request, &post_data); base 365 chrome/browser/history/web_history_service.cc base::Bind(&WebHistoryService::ExpireHistoryCompletionCallback, base 378 chrome/browser/history/web_history_service.cc base::Time begin_time, base 379 chrome/browser/history/web_history_service.cc base::Time end_time, base 393 chrome/browser/history/web_history_service.cc scoped_ptr<base::DictionaryValue> response_value; base 403 chrome/browser/history/web_history_service.cc scoped_ptr<base::DictionaryValue> response_value; base 15 chrome/browser/history/web_history_service.h namespace base { base 48 chrome/browser/history/web_history_service.h typedef base::Callback<void(Request*, const base::DictionaryValue*)> base 51 chrome/browser/history/web_history_service.h typedef base::Callback<void(bool success)> ExpireWebHistoryCallback; base 63 chrome/browser/history/web_history_service.h const base::string16& text_query, base 75 chrome/browser/history/web_history_service.h base::Time begin_time, base 76 chrome/browser/history/web_history_service.h base::Time end_time, base 107 chrome/browser/history/web_history_service.h base::WeakPtrFactory<WebHistoryService> weak_ptr_factory_; base 13 chrome/browser/icon_loader.cc IconLoader::IconLoader(const base::FilePath& file_path, base 25 chrome/browser/icon_loader.cc target_message_loop_ = base::MessageLoopProxy::current(); base 28 chrome/browser/icon_loader.cc base::Bind(&IconLoader::ReadGroup, this), base 29 chrome/browser/icon_loader.cc base::Bind(&IconLoader::OnReadGroup, this)); base 40 chrome/browser/icon_loader.cc base::Bind(&IconLoader::ReadIcon, this)); base 35 chrome/browser/icon_loader.h class IconLoader : public base::RefCountedThreadSafe<IconLoader> { base 62 chrome/browser/icon_loader.h IconLoader(const base::FilePath& file_path, base 70 chrome/browser/icon_loader.h friend class base::RefCountedThreadSafe<IconLoader>; base 76 chrome/browser/icon_loader.h static IconGroupID ReadGroupIDFromFilepath(const base::FilePath& path); base 79 chrome/browser/icon_loader.h static bool IsIconMutableFromFilepath(const base::FilePath& path); base 91 chrome/browser/icon_loader.h scoped_refptr<base::MessageLoopProxy> target_message_loop_; base 93 chrome/browser/icon_loader.h base::FilePath file_path_; base 10 chrome/browser/icon_loader_android.cc const base::FilePath& filepath) { base 15 chrome/browser/icon_loader_android.cc bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) { base 14 chrome/browser/icon_loader_auralinux.cc const base::FilePath& filepath) { base 15 chrome/browser/icon_loader_auralinux.cc return base::nix::GetFileMimeType(filepath); base 19 chrome/browser/icon_loader_auralinux.cc bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) { base 54 chrome/browser/icon_loader_auralinux.cc FROM_HERE, base::Bind(&IconLoader::NotifyDelegate, this)); base 185 chrome/browser/icon_loader_chromeos.cc const base::FilePath& filepath) { base 190 chrome/browser/icon_loader_chromeos.cc bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) { base 200 chrome/browser/icon_loader_chromeos.cc static base::LazyInstance<IconMapper>::Leaky icon_mapper = base 209 chrome/browser/icon_loader_chromeos.cc FROM_HERE, base::Bind(&IconLoader::NotifyDelegate, this)); base 23 chrome/browser/icon_loader_linux.cc const base::FilePath& filepath) { base 24 chrome/browser/icon_loader_linux.cc return base::nix::GetFileMimeType(filepath); base 28 chrome/browser/icon_loader_linux.cc bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) { base 53 chrome/browser/icon_loader_linux.cc base::FilePath filename = base::nix::GetMimeIcon(group_, size_pixels); base 59 chrome/browser/icon_loader_linux.cc base::ReadFileToString(filename, &icon_data); base 79 chrome/browser/icon_loader_linux.cc FROM_HERE, base::Bind(&IconLoader::NotifyDelegate, this)); base 21 chrome/browser/icon_loader_win.cc const base::FilePath& filepath) { base 28 chrome/browser/icon_loader_win.cc bool IconLoader::IsIconMutableFromFilepath(const base::FilePath& filepath) { base 74 chrome/browser/icon_loader_win.cc base::Bind(&IconLoader::NotifyDelegate, this)); base 17 chrome/browser/icon_manager.cc const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, base 29 chrome/browser/icon_manager.cc base::FilePath file_path; base 40 chrome/browser/icon_manager.cc gfx::Image* IconManager::LookupIconFromFilepath(const base::FilePath& file_name, base 58 chrome/browser/icon_manager.cc base::CancelableTaskTracker::TaskId IconManager::LoadIcon( base 59 chrome/browser/icon_manager.cc const base::FilePath& file_name, base 62 chrome/browser/icon_manager.cc base::CancelableTaskTracker* tracker) { base 67 chrome/browser/icon_manager.cc base::CancelableTaskTracker::IsCanceledCallback is_canceled; base 68 chrome/browser/icon_manager.cc base::CancelableTaskTracker::TaskId id = base 70 chrome/browser/icon_manager.cc IconRequestCallback callback_runner = base::Bind( base 65 chrome/browser/icon_manager.h gfx::Image* LookupIconFromFilepath(const base::FilePath& file_name, base 68 chrome/browser/icon_manager.h typedef base::Callback<void(gfx::Image*)> IconRequestCallback; base 80 chrome/browser/icon_manager.h base::CancelableTaskTracker::TaskId LoadIcon( base 81 chrome/browser/icon_manager.h const base::FilePath& file_name, base 84 chrome/browser/icon_manager.h base::CancelableTaskTracker* tracker); base 110 chrome/browser/icon_manager.h typedef std::map<base::FilePath, IconGroupID> GroupMap; base 28 chrome/browser/idle.cc CalculateIdleTime(base::Bind(&CalculateIdleStateCallback, base 23 chrome/browser/idle.h typedef base::Callback<void(IdleState)> IdleCallback; base 24 chrome/browser/idle.h typedef base::Callback<void(int)> IdleTimeCallback; base 13 chrome/browser/idle_chromeos.cc base::TimeDelta idle_time = base::TimeTicks::Now() - base 18 chrome/browser/iframe_browsertest.cc base::FilePath(), base::FilePath().AppendASCII(file)); base 21 chrome/browser/iframe_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16(page_title), base 27 chrome/browser/image_decoder.cc void ImageDecoder::Start(scoped_refptr<base::SequencedTaskRunner> task_runner) { base 31 chrome/browser/image_decoder.cc base::Bind(&ImageDecoder::DecodeImageInSandbox, this, image_data_)); base 48 chrome/browser/image_decoder.h void Start(scoped_refptr<base::SequencedTaskRunner> task_runner); base 73 chrome/browser/image_decoder.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 24 chrome/browser/importer/external_process_importer_client.cc base::WeakPtr<ExternalProcessImporterHost> importer_host, base 45 chrome/browser/importer/external_process_importer_client.cc base::Bind(&ExternalProcessImporterClient::StartProcessOnIOThread, base 57 chrome/browser/importer/external_process_importer_client.cc base::Bind( base 150 chrome/browser/importer/external_process_importer_client.cc base::Bind(&ExternalProcessImporterClient::NotifyItemFinishedOnIOThread, base 186 chrome/browser/importer/external_process_importer_client.cc const base::string16& first_folder_name, base 291 chrome/browser/importer/external_process_importer_client.cc base::EnvironmentMap env; base 300 chrome/browser/importer/external_process_importer_client.cc base::DictionaryValue localized_strings; base 302 chrome/browser/importer/external_process_importer_client.cc base::IntToString(IDS_BOOKMARK_GROUP), base 305 chrome/browser/importer/external_process_importer_client.cc base::IntToString(IDS_BOOKMARK_GROUP_FROM_FIREFOX), base 308 chrome/browser/importer/external_process_importer_client.cc base::IntToString(IDS_BOOKMARK_GROUP_FROM_SAFARI), base 311 chrome/browser/importer/external_process_importer_client.cc base::IntToString(IDS_IMPORT_FROM_FIREFOX), base 314 chrome/browser/importer/external_process_importer_client.cc base::IntToString(IDS_IMPORT_FROM_ICEWEASEL), base 317 chrome/browser/importer/external_process_importer_client.cc base::IntToString(IDS_IMPORT_FROM_SAFARI), base 320 chrome/browser/importer/external_process_importer_client.cc base::IntToString(IDS_BOOKMARK_BAR_FOLDER_NAME), base 47 chrome/browser/importer/external_process_importer_client.h base::WeakPtr<ExternalProcessImporterHost> importer_host, base 72 chrome/browser/importer/external_process_importer_client.h void OnBookmarksImportStart(const base::string16& first_folder_name, base 114 chrome/browser/importer/external_process_importer_client.h base::string16 bookmarks_first_folder_name_; base 131 chrome/browser/importer/external_process_importer_client.h base::WeakPtr<ExternalProcessImporterHost> process_importer_host_; base 136 chrome/browser/importer/external_process_importer_client.h base::WeakPtr<content::UtilityProcessHost> utility_process_host_; base 145 chrome/browser/importer/external_process_importer_host.cc base::Bind(&ExternalProcessImporterHost::OnImportLockDialogEnd, base 207 chrome/browser/importer/external_process_importer_host.cc base::Bind(&ExternalProcessImporterHost::OnTemplateURLServiceLoaded, base 158 chrome/browser/importer/external_process_importer_host.h base::WeakPtrFactory<ExternalProcessImporterHost> weak_ptr_factory_; base 116 chrome/browser/importer/firefox_importer_browsertest.cc base::MessageLoop::current()->Quit(); base 138 chrome/browser/importer/firefox_importer_browsertest.cc EXPECT_EQ(base::WideToUTF16(p.username_element), form.username_element); base 139 chrome/browser/importer/firefox_importer_browsertest.cc EXPECT_EQ(base::WideToUTF16(p.username), form.username_value); base 140 chrome/browser/importer/firefox_importer_browsertest.cc EXPECT_EQ(base::WideToUTF16(p.password_element), form.password_element); base 141 chrome/browser/importer/firefox_importer_browsertest.cc EXPECT_EQ(base::WideToUTF16(p.password), form.password_value); base 150 chrome/browser/importer/firefox_importer_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Google"), page[0].title()); base 152 chrome/browser/importer/firefox_importer_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Google"), page[1].title()); base 155 chrome/browser/importer/firefox_importer_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("example form (POST)"), page[2].title()); base 162 chrome/browser/importer/firefox_importer_browsertest.cc const base::string16& top_level_folder_name) OVERRIDE { base 180 chrome/browser/importer/firefox_importer_browsertest.cc base::string16 keyword = template_urls[i]->keyword(); base 183 chrome/browser/importer/firefox_importer_browsertest.cc base::WideToUTF16Hack(kFirefoxKeywords[j].keyword)) { base 218 chrome/browser/importer/firefox_importer_browsertest.cc base::FilePath test_path = temp_dir_.path().AppendASCII("ImporterTest"); base 219 chrome/browser/importer/firefox_importer_browsertest.cc base::DeleteFile(test_path, true); base 220 chrome/browser/importer/firefox_importer_browsertest.cc base::CreateDirectory(test_path); base 223 chrome/browser/importer/firefox_importer_browsertest.cc base::CreateDirectory(app_path_); base 234 chrome/browser/importer/firefox_importer_browsertest.cc base::FilePath data_path; base 237 chrome/browser/importer/firefox_importer_browsertest.cc ASSERT_TRUE(base::CopyDirectory(data_path, profile_path_, true)); base 240 chrome/browser/importer/firefox_importer_browsertest.cc ASSERT_TRUE(base::CopyDirectory(data_path, profile_path_, false)); base 242 chrome/browser/importer/firefox_importer_browsertest.cc base::FilePath search_engine_path = app_path_; base 244 chrome/browser/importer/firefox_importer_browsertest.cc base::CreateDirectory(search_engine_path); base 248 chrome/browser/importer/firefox_importer_browsertest.cc if (!base::PathExists(data_path)) { base 253 chrome/browser/importer/firefox_importer_browsertest.cc ASSERT_TRUE(base::CopyDirectory(data_path, search_engine_path, false)); base 273 chrome/browser/importer/firefox_importer_browsertest.cc base::MessageLoop::current()->Run(); base 276 chrome/browser/importer/firefox_importer_browsertest.cc base::ScopedTempDir temp_dir_; base 277 chrome/browser/importer/firefox_importer_browsertest.cc base::FilePath profile_path_; base 278 chrome/browser/importer/firefox_importer_browsertest.cc base::FilePath app_path_; base 57 chrome/browser/importer/firefox_profile_lock.cc const base::FilePath::CharType* FirefoxProfileLock::kLockFileName = base 59 chrome/browser/importer/firefox_profile_lock.cc const base::FilePath::CharType* FirefoxProfileLock::kOldLockFileName = base 63 chrome/browser/importer/firefox_profile_lock.cc const base::FilePath::CharType* FirefoxProfileLock::kLockFileName = base 65 chrome/browser/importer/firefox_profile_lock.cc const base::FilePath::CharType* FirefoxProfileLock::kOldLockFileName = base 68 chrome/browser/importer/firefox_profile_lock.cc const base::FilePath::CharType* FirefoxProfileLock::kLockFileName = base 72 chrome/browser/importer/firefox_profile_lock.cc FirefoxProfileLock::FirefoxProfileLock(const base::FilePath& path) { base 81 chrome/browser/importer/firefox_profile_lock.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 70 chrome/browser/importer/firefox_profile_lock.h explicit FirefoxProfileLock(const base::FilePath& path); base 84 chrome/browser/importer/firefox_profile_lock.h static const base::FilePath::CharType* kLockFileName; base 85 chrome/browser/importer/firefox_profile_lock.h static const base::FilePath::CharType* kOldLockFileName; base 90 chrome/browser/importer/firefox_profile_lock.h base::FilePath lock_file_; base 101 chrome/browser/importer/firefox_profile_lock.h base::FilePath old_lock_file_; base 81 chrome/browser/importer/firefox_profile_lock_posix.cc base::DeleteFile(old_lock_file_, false); base 20 chrome/browser/importer/firefox_profile_lock_unittest.cc base::ScopedTempDir temp_dir_; base 35 chrome/browser/importer/firefox_profile_lock_unittest.cc base::FilePath test_path = temp_dir_.path(); base 36 chrome/browser/importer/firefox_profile_lock_unittest.cc base::FilePath lock_file_path = base 41 chrome/browser/importer/firefox_profile_lock_unittest.cc EXPECT_FALSE(base::PathExists(lock_file_path)); base 44 chrome/browser/importer/firefox_profile_lock_unittest.cc EXPECT_TRUE(base::PathExists(lock_file_path)); base 50 chrome/browser/importer/firefox_profile_lock_unittest.cc EXPECT_FALSE(base::PathExists(lock_file_path)); base 54 chrome/browser/importer/firefox_profile_lock_unittest.cc EXPECT_TRUE(base::PathExists(lock_file_path)); base 61 chrome/browser/importer/firefox_profile_lock_unittest.cc EXPECT_FALSE(base::PathExists(lock_file_path)); base 68 chrome/browser/importer/firefox_profile_lock_unittest.cc base::FilePath test_path = temp_dir_.path(); base 69 chrome/browser/importer/firefox_profile_lock_unittest.cc base::FilePath lock_file_path = base 73 chrome/browser/importer/firefox_profile_lock_unittest.cc FILE* lock_file = base::OpenFile(lock_file_path, "w"); base 75 chrome/browser/importer/firefox_profile_lock_unittest.cc base::CloseFile(lock_file); base 76 chrome/browser/importer/firefox_profile_lock_unittest.cc EXPECT_TRUE(base::PathExists(lock_file_path)); base 91 chrome/browser/importer/firefox_profile_lock_unittest.cc base::FilePath test_path = temp_dir_.path(); base 86 chrome/browser/importer/ie_importer_browsertest_win.cc const base::char16 kIEIdentifyUrl[] = base 88 chrome/browser/importer/ie_importer_browsertest_win.cc const base::char16 kIEIdentifyTitle[] = base 91 chrome/browser/importer/ie_importer_browsertest_win.cc const base::char16 kFaviconStreamSuffix[] = L"url:favicon:$DATA"; base 104 chrome/browser/importer/ie_importer_browsertest_win.cc const base::char16* favicon_url; base 105 chrome/browser/importer/ie_importer_browsertest_win.cc const base::char16* site_url[2]; base 117 chrome/browser/importer/ie_importer_browsertest_win.cc bool CreateOrderBlob(const base::FilePath& favorites_folder, base 118 chrome/browser/importer/ie_importer_browsertest_win.cc const base::string16& path, base 119 chrome/browser/importer/ie_importer_browsertest_win.cc const std::vector<base::string16>& entries) { base 147 chrome/browser/importer/ie_importer_browsertest_win.cc base::string16 key_path(importer::GetIEFavoritesOrderKey()); base 150 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::RegKey key; base 162 chrome/browser/importer/ie_importer_browsertest_win.cc bool CreateUrlFileWithFavicon(const base::FilePath& file, base 163 chrome/browser/importer/ie_importer_browsertest_win.cc const base::string16& url, base 164 chrome/browser/importer/ie_importer_browsertest_win.cc const base::string16& favicon_url) { base 165 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::ScopedComPtr<IUniformResourceLocator> locator; base 170 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::ScopedComPtr<IPersistFile> persist_file; base 180 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::ScopedComPtr<IPropertySetStorage> property_set_storage; base 183 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::ScopedComPtr<IPropertyStorage> property_storage; base 192 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::ScopedPropVariant pv_icon; base 206 chrome/browser/importer/ie_importer_browsertest_win.cc return favicon_url.empty() || (base::WriteFile( base 211 chrome/browser/importer/ie_importer_browsertest_win.cc bool CreateUrlFile(const base::FilePath& file, const base::string16& url) { base 212 chrome/browser/importer/ie_importer_browsertest_win.cc return CreateUrlFileWithFavicon(file, url, base::string16()); base 216 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::ScopedComPtr<IEnumPStoreItems, NULL> item; base 219 chrome/browser/importer/ie_importer_browsertest_win.cc base::char16* item_name; base 231 chrome/browser/importer/ie_importer_browsertest_win.cc base::char16* name; base 280 chrome/browser/importer/ie_importer_browsertest_win.cc base::MessageLoop::current()->Quit(); base 330 chrome/browser/importer/ie_importer_browsertest_win.cc const base::string16& top_level_folder_name) OVERRIDE { base 416 chrome/browser/importer/ie_importer_browsertest_win.cc base::MessageLoop::current()->Quit(); base 430 chrome/browser/importer/ie_importer_browsertest_win.cc const base::string16& top_level_folder_name) OVERRIDE { base 460 chrome/browser/importer/ie_importer_browsertest_win.cc base::ScopedTempDir temp_dir_; base 469 chrome/browser/importer/ie_importer_browsertest_win.cc base::FilePath path = temp_dir_.path().AppendASCII("Favorites"); base 472 chrome/browser/importer/ie_importer_browsertest_win.cc base::FilePath links_path = path.AppendASCII("Links"); base 501 chrome/browser/importer/ie_importer_browsertest_win.cc base::WriteFile(path.AppendASCII("InvalidUrlFile.url"), "x", 1); base 502 chrome/browser/importer/ie_importer_browsertest_win.cc base::WriteFile(path.AppendASCII("PlainTextFile.txt"), "x", 1); base 504 chrome/browser/importer/ie_importer_browsertest_win.cc const base::char16* root_links[] = { base 514 chrome/browser/importer/ie_importer_browsertest_win.cc base::FilePath(path), L"", base 515 chrome/browser/importer/ie_importer_browsertest_win.cc std::vector<base::string16>(root_links, base 521 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::ScopedComPtr<IUrlHistoryStg2> url_history_stg2; base 545 chrome/browser/importer/ie_importer_browsertest_win.cc base::MessageLoop::current()->Run(); base 555 chrome/browser/importer/ie_importer_browsertest_win.cc base::FilePath path = temp_dir_.path().AppendASCII("Favorites"); base 598 chrome/browser/importer/ie_importer_browsertest_win.cc base::string16 key_path(importer::GetIEFavoritesOrderKey()); base 599 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::RegKey key; base 622 chrome/browser/importer/ie_importer_browsertest_win.cc base::MessageLoop::current()->Run(); base 634 chrome/browser/importer/ie_importer_browsertest_win.cc base::string16 key_path(importer::GetIE7PasswordsKey()); base 635 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::RegKey key; base 649 chrome/browser/importer/ie_importer_browsertest_win.cc base::MessageLoop::current()->Run(); base 660 chrome/browser/importer/ie_importer_browsertest_win.cc base::string16 key_path(importer::GetIESettingsKey()); base 661 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::RegKey key; base 675 chrome/browser/importer/ie_importer_browsertest_win.cc base::MessageLoop::current()->Run(); base 44 chrome/browser/importer/importer_list.cc if (!SafariImporterCanImport(base::mac::GetUserLibraryPath(), &items)) base 62 chrome/browser/importer/importer_list.cc base::FilePath profile_path = GetFirefoxProfilePath(); base 68 chrome/browser/importer/importer_list.cc base::FilePath app_path; base 120 chrome/browser/importer/importer_list.cc base::Bind(&ImporterList::DetectSourceProfilesWorker, base 199 chrome/browser/importer/importer_list.cc base::Bind(&ImporterList::SourceProfilesLoaded, this, profiles)); base 22 chrome/browser/importer/importer_list.h class ImporterList : public base::RefCountedThreadSafe<ImporterList> { base 64 chrome/browser/importer/importer_list.h friend class base::RefCountedThreadSafe<ImporterList>; base 17 chrome/browser/importer/importer_lock_dialog.h const base::Callback<void(bool)>& callback); base 60 chrome/browser/importer/importer_uma.cc base::HistogramBase* histogram = base 61 chrome/browser/importer/importer_uma.cc base::LinearHistogram::FactoryGet( base 66 chrome/browser/importer/importer_uma.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 13 chrome/browser/importer/importer_unittest_utils.cc ASSERT_EQ(base::WideToUTF16Hack(expected.title), entry.title); base 18 chrome/browser/importer/importer_unittest_utils.cc ASSERT_EQ(base::WideToUTF16Hack(expected.path[i]), base 93 chrome/browser/importer/in_process_importer_bridge.cc TemplateURL* CreateTemplateURL(const base::string16& title, base 94 chrome/browser/importer/in_process_importer_bridge.cc const base::string16& keyword, base 109 chrome/browser/importer/in_process_importer_bridge.cc TemplateURLRef::DisplayURLToURLRef(base::UTF8ToUTF16(url.spec()))); base 163 chrome/browser/importer/in_process_importer_bridge.cc base::WeakPtr<ExternalProcessImporterHost> host) : writer_(writer), base 169 chrome/browser/importer/in_process_importer_bridge.cc const base::string16& first_folder_name) { base 172 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ProfileWriter::AddBookmarks, writer_, bookmarks, base 179 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ProfileWriter::AddHomepage, writer_, home_page)); base 192 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ProfileWriter::AddIE7PasswordInfo, writer_, base 201 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ProfileWriter::AddFavicons, writer_, favicons)); base 213 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ProfileWriter::AddHistoryPage, base 230 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ProfileWriter::AddKeywords, writer_, base 231 chrome/browser/importer/in_process_importer_bridge.cc base::Passed(&owned_template_urls), unique_on_host_and_path)); base 244 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ProfileWriter::AddKeywords, writer_, base 245 chrome/browser/importer/in_process_importer_bridge.cc base::Passed(&owned_template_urls), true)); base 252 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ProfileWriter::AddPasswordForm, writer_, form)); base 258 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ExternalProcessImporterHost::NotifyImportStarted, host_)); base 264 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ExternalProcessImporterHost::NotifyImportItemStarted, base 271 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ExternalProcessImporterHost::NotifyImportItemEnded, base 278 chrome/browser/importer/in_process_importer_bridge.cc base::Bind(&ExternalProcessImporterHost::NotifyImportEnded, host_)); base 281 chrome/browser/importer/in_process_importer_bridge.cc base::string16 InProcessImporterBridge::GetLocalizedString(int message_id) { base 34 chrome/browser/importer/in_process_importer_bridge.h base::WeakPtr<ExternalProcessImporterHost> host); base 39 chrome/browser/importer/in_process_importer_bridge.h const base::string16& first_folder_name) OVERRIDE; base 69 chrome/browser/importer/in_process_importer_bridge.h virtual base::string16 GetLocalizedString(int message_id) OVERRIDE; base 76 chrome/browser/importer/in_process_importer_bridge.h const base::WeakPtr<ExternalProcessImporterHost> host_; base 38 chrome/browser/importer/profile_writer.cc base::string16 GenerateUniqueFolderName(BookmarkModel* model, base 39 chrome/browser/importer/profile_writer.cc const base::string16& folder_name) { base 41 chrome/browser/importer/profile_writer.cc std::set<base::string16> existing_folder_names; base 55 chrome/browser/importer/profile_writer.cc base::string16 name = folder_name + base::ASCIIToUTF16(" (") + base 56 chrome/browser/importer/profile_writer.cc base::IntToString16(i) + base::ASCIIToUTF16(")"); base 112 chrome/browser/importer/profile_writer.cc const base::string16& top_level_folder_name) { base 164 chrome/browser/importer/profile_writer.cc base::string16 name = base 176 chrome/browser/importer/profile_writer.cc for (std::vector<base::string16>::const_iterator folder_name = base 259 chrome/browser/importer/profile_writer.cc TemplateURLRef::SearchTermsArgs(base::ASCIIToUTF16("x"))))); base 34 chrome/browser/importer/profile_writer.h class ProfileWriter : public base::RefCountedThreadSafe<ProfileWriter> { base 76 chrome/browser/importer/profile_writer.h const base::string16& top_level_folder_name); base 93 chrome/browser/importer/profile_writer.h friend class base::RefCountedThreadSafe<ProfileWriter>; base 46 chrome/browser/importer/profile_writer_unittest.cc base::ASCIIToUTF16("Google")); base 48 chrome/browser/importer/profile_writer_unittest.cc base::ASCIIToUTF16("Yahoo")); base 53 chrome/browser/importer/profile_writer_unittest.cc base::string16 title, base 61 chrome/browser/importer/profile_writer_unittest.cc row.set_last_visit(base::Time::NowFromSystemTime() - base 62 chrome/browser/importer/profile_writer_unittest.cc base::TimeDelta::FromDays(days_since_last_visit)); base 70 chrome/browser/importer/profile_writer_unittest.cc MakeURLRow("http://www.google.com", base::ASCIIToUTF16("Google"), base 73 chrome/browser/importer/profile_writer_unittest.cc MakeURLRow("http://www.yahoo.com", base::ASCIIToUTF16("Yahoo"), base 100 chrome/browser/importer/profile_writer_unittest.cc base::string16(), base 103 chrome/browser/importer/profile_writer_unittest.cc base::Bind(&ProfileWriterTest::HistoryQueryComplete, base 104 chrome/browser/importer/profile_writer_unittest.cc base::Unretained(this))); base 105 chrome/browser/importer/profile_writer_unittest.cc base::MessageLoop::current()->Run(); base 110 chrome/browser/importer/profile_writer_unittest.cc base::MessageLoop::current()->Quit(); base 120 chrome/browser/importer/profile_writer_unittest.cc void AddImportedBookmarkEntry(const GURL& url, const base::string16& title) { base 121 chrome/browser/importer/profile_writer_unittest.cc base::Time date; base 131 chrome/browser/importer/profile_writer_unittest.cc base::MessageLoop loop_; base 148 chrome/browser/importer/profile_writer_unittest.cc base::ASCIIToUTF16("Bing")); base 160 chrome/browser/importer/profile_writer_unittest.cc base::ASCIIToUTF16("Imported from Firefox")); base 184 chrome/browser/importer/profile_writer_unittest.cc base::ASCIIToUTF16("Imported from Firefox")); base 192 chrome/browser/importer/profile_writer_unittest.cc base::ASCIIToUTF16("Imported from Firefox")); base 22 chrome/browser/infobars/confirm_infobar_delegate.cc base::string16 ConfirmInfoBarDelegate::GetButtonLabel( base 39 chrome/browser/infobars/confirm_infobar_delegate.cc base::string16 ConfirmInfoBarDelegate::GetLinkText() const { base 40 chrome/browser/infobars/confirm_infobar_delegate.cc return base::string16(); base 30 chrome/browser/infobars/confirm_infobar_delegate.h virtual base::string16 GetMessageText() const = 0; base 37 chrome/browser/infobars/confirm_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const; base 54 chrome/browser/infobars/confirm_infobar_delegate.h virtual base::string16 GetLinkText() const; base 24 chrome/browser/infobars/infobar_extension_api.cc base::DictionaryValue* args; base 47 chrome/browser/infobars/infobar_extension_api.cc base::IntToString(tab_id)); base 68 chrome/browser/infobars/infobar_service.cc void InfoBarService::RenderProcessGone(base::TerminationStatus status) { base 56 chrome/browser/infobars/infobar_service.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 34 chrome/browser/infobars/infobars_browsertest.cc base::FilePath path = ui_test_utils::GetTestFilePath( base 35 chrome/browser/infobars/infobars_browsertest.cc base::FilePath().AppendASCII("extensions"), base 36 chrome/browser/infobars/infobars_browsertest.cc base::FilePath().AppendASCII(filename)); base 70 chrome/browser/infobars/insecure_content_infobar_delegate.cc base::string16 InsecureContentInfoBarDelegate::GetMessageText() const { base 74 chrome/browser/infobars/insecure_content_infobar_delegate.cc base::string16 InsecureContentInfoBarDelegate::GetButtonLabel( base 106 chrome/browser/infobars/insecure_content_infobar_delegate.cc base::string16 InsecureContentInfoBarDelegate::GetLinkText() const { base 47 chrome/browser/infobars/insecure_content_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 48 chrome/browser/infobars/insecure_content_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 51 chrome/browser/infobars/insecure_content_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 14 chrome/browser/infobars/simple_alert_infobar_delegate.cc const base::string16& message, base 23 chrome/browser/infobars/simple_alert_infobar_delegate.cc const base::string16& message, base 38 chrome/browser/infobars/simple_alert_infobar_delegate.cc base::string16 SimpleAlertInfoBarDelegate::GetMessageText() const { base 21 chrome/browser/infobars/simple_alert_infobar_delegate.h const base::string16& message, base 26 chrome/browser/infobars/simple_alert_infobar_delegate.h const base::string16& message, base 32 chrome/browser/infobars/simple_alert_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 38 chrome/browser/infobars/simple_alert_infobar_delegate.h base::string16 message_; base 35 chrome/browser/install_verification/win/imported_module_verification.cc std::set<base::string16>* imported_modules) { base 83 chrome/browser/install_verification/win/imported_module_verification.cc std::set<base::string16> imported_module_names; base 31 chrome/browser/install_verification/win/loaded_modules_snapshot_unittest.cc base::ScopedClosureRunner release_new_dll( base 32 chrome/browser/install_verification/win/loaded_modules_snapshot_unittest.cc base::Bind(base::IgnoreResult(&::FreeLibrary), new_dll)); base 31 chrome/browser/install_verification/win/module_ids.cc const base::StringPiece& line, base 35 chrome/browser/install_verification/win/module_ids.cc base::CStringTokenizer line_tokenizer(line.begin(), line.end(), " "); base 39 chrome/browser/install_verification/win/module_ids.cc base::StringPiece id_piece(line_tokenizer.token_piece()); base 43 chrome/browser/install_verification/win/module_ids.cc base::StringPiece digest_piece(line_tokenizer.token_piece()); base 55 chrome/browser/install_verification/win/module_ids.cc for (base::StringPiece::const_iterator it = digest_piece.begin(); base 68 chrome/browser/install_verification/win/module_ids.cc const base::StringPiece& raw_data, base 72 chrome/browser/install_verification/win/module_ids.cc base::CStringTokenizer file_tokenizer(raw_data.begin(), base 76 chrome/browser/install_verification/win/module_ids.cc ParseAdditionalModuleID(base::StringPiece(file_tokenizer.token_piece()), base 22 chrome/browser/install_verification/win/module_ids.h const base::StringPiece& raw_data, base 20 chrome/browser/install_verification/win/module_ids_unittest.cc ParseAdditionalModuleIDs(base::StringPiece(), &module_ids); base 16 chrome/browser/install_verification/win/module_info.h ModuleInfo(const base::char16* const module_name, base 34 chrome/browser/install_verification/win/module_info.h base::string16 name; base 33 chrome/browser/install_verification/win/module_list_unittest.cc base::ScopedClosureRunner release_new_dll( base 34 chrome/browser/install_verification/win/module_list_unittest.cc base::Bind(base::IgnoreResult(&::FreeLibrary), new_dll)); base 15 chrome/browser/install_verification/win/module_verification_common.cc std::string CalculateModuleNameDigest(const base::string16& module_name) { base 16 chrome/browser/install_verification/win/module_verification_common.cc return base::MD5String(StringToLowerASCII(base::UTF16ToUTF8( base 17 chrome/browser/install_verification/win/module_verification_common.cc base::FilePath(module_name).BaseName().value()))); base 18 chrome/browser/install_verification/win/module_verification_common.h std::string CalculateModuleNameDigest(const base::string16& module_name); base 80 chrome/browser/internal_auth.cc int64 tick = base::Time::Now().ToInternalValue() / kTickUs; base 159 chrome/browser/internal_auth.cc blob += tmp + kItemSeparator + base::Uint64ToString(tick); base 169 chrome/browser/internal_auth.cc base::Base64Encode(hmac, &hmac_base64); base 177 chrome/browser/internal_auth.cc std::string tick_decimal = base::Uint64ToString(tick); base 282 chrome/browser/internal_auth.cc if (!base::StringToInt64(tick_decimal, &tick) || base 322 chrome/browser/internal_auth.cc static base::LazyInstance<chrome::InternalAuthVerificationService> base 324 chrome/browser/internal_auth.cc static base::LazyInstance<base::Lock>::Leaky base 331 chrome/browser/internal_auth.cc class InternalAuthGenerationService : public base::ThreadChecker { base 340 chrome/browser/internal_auth.cc std::string key = base::RandBytesAsString(kKeySizeInBytes); base 429 chrome/browser/internal_auth.cc static base::LazyInstance<chrome::InternalAuthGenerationService> base 441 chrome/browser/internal_auth.cc base::AutoLock alk(g_verification_service_lock.Get()); base 448 chrome/browser/internal_auth.cc base::AutoLock alk(g_verification_service_lock.Get()); base 457 chrome/browser/internal_auth.cc base::Time::kMicrosecondsPerSecond / kTickUs; base 31 chrome/browser/internal_auth_unittest.cc base::MessageLoop message_loop_; base 146 chrome/browser/internal_auth_unittest.cc base::Time timestamp = base::Time::Now(); base 160 chrome/browser/internal_auth_unittest.cc if (base::Time::Now() - timestamp > base::TimeDelta::FromSeconds( base 36 chrome/browser/intranet_redirect_detector.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 37 chrome/browser/intranet_redirect_detector.cc base::Bind(&IntranetRedirectDetector::FinishSleep, base 39 chrome/browser/intranet_redirect_detector.cc base::TimeDelta::FromSeconds(kStartFetchDelaySeconds)); base 79 chrome/browser/intranet_redirect_detector.cc const int num_chars = base::RandInt(7, 15); base 81 chrome/browser/intranet_redirect_detector.cc url_string += ('a' + base::RandInt(0, 'z' - 'a')); base 160 chrome/browser/intranet_redirect_detector.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 161 chrome/browser/intranet_redirect_detector.cc base::Bind(&IntranetRedirectDetector::FinishSleep, base 163 chrome/browser/intranet_redirect_detector.cc base::TimeDelta::FromMilliseconds(kNetworkSwitchDelayMS)); base 76 chrome/browser/intranet_redirect_detector.h base::WeakPtrFactory<IntranetRedirectDetector> weak_ptr_factory_; base 71 chrome/browser/invalidation/fake_invalidation_service.cc base::Callback<void(const base::DictionaryValue&)> caller) const { base 72 chrome/browser/invalidation/fake_invalidation_service.cc base::DictionaryValue value; base 73 chrome/browser/invalidation/fake_invalidation_service.h base::Callback<void(const base::DictionaryValue&)> caller) const OVERRIDE; base 39 chrome/browser/invalidation/gcm_invalidation_bridge.cc public base::NonThreadSafe { base 41 chrome/browser/invalidation/gcm_invalidation_bridge.cc Core(base::WeakPtr<GCMInvalidationBridge> bridge, base 42 chrome/browser/invalidation/gcm_invalidation_bridge.cc scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner); base 64 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::WeakPtr<GCMInvalidationBridge> bridge_; base 65 chrome/browser/invalidation/gcm_invalidation_bridge.cc scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_; base 69 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::WeakPtrFactory<Core> weak_factory_; base 75 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::WeakPtr<GCMInvalidationBridge> bridge, base 76 chrome/browser/invalidation/gcm_invalidation_bridge.cc scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner) base 92 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::CoreInitializationDone, base 95 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::ThreadTaskRunnerHandle::Get())); base 102 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::RequestToken, bridge_, callback)); base 109 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::InvalidateToken, bridge_, token)); base 116 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::Register, bridge_, callback)); base 123 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::SubscribeForIncomingMessages, base 168 chrome/browser/invalidation/gcm_invalidation_bridge.cc weak_factory_.GetWeakPtr(), base::ThreadTaskRunnerHandle::Get())); base 173 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::WeakPtr<Core> core, base 174 chrome/browser/invalidation/gcm_invalidation_bridge.cc scoped_refptr<base::SingleThreadTaskRunner> core_thread_task_runner) { base 189 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::Core::RequestTokenFinished, base 205 chrome/browser/invalidation/gcm_invalidation_bridge.cc const base::Time& expiration_time) { base 210 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::Core::RequestTokenFinished, base 226 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::Core::RequestTokenFinished, base 255 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::RegisterFinished, base 267 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::Core::RegisterFinished, base 303 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::Core::OnIncomingMessage, base 17 chrome/browser/invalidation/gcm_invalidation_bridge.h namespace base { base 36 chrome/browser/invalidation/gcm_invalidation_bridge.h public base::NonThreadSafe { base 47 chrome/browser/invalidation/gcm_invalidation_bridge.h const base::Time& expiration_time) OVERRIDE; base 64 chrome/browser/invalidation/gcm_invalidation_bridge.h base::WeakPtr<Core> core, base 65 chrome/browser/invalidation/gcm_invalidation_bridge.h scoped_refptr<base::SingleThreadTaskRunner> core_thread_task_runner); base 86 chrome/browser/invalidation/gcm_invalidation_bridge.h base::WeakPtr<Core> core_; base 87 chrome/browser/invalidation/gcm_invalidation_bridge.h scoped_refptr<base::SingleThreadTaskRunner> core_thread_task_runner_; base 95 chrome/browser/invalidation/gcm_invalidation_bridge.h base::WeakPtrFactory<GCMInvalidationBridge> weak_factory_; base 37 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::MessageLoop::current()->PostTask( base 39 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::Bind( base 96 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::RunLoop run_loop; base 129 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::Bind(&GCMInvalidationBridgeTest::RequestTokenFinished, base 130 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::Unretained(this))); base 131 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::RunLoop run_loop; base 141 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::Bind(&GCMInvalidationBridgeTest::RequestTokenFinished, base 142 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::Unretained(this))); base 145 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::Bind(&GCMInvalidationBridgeTest::RequestTokenFinished, base 146 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::Unretained(this))); base 147 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::RunLoop run_loop; base 162 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc delegate_->Register(base::Bind(&GCMInvalidationBridgeTest::RegisterFinished, base 163 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::Unretained(this))); base 164 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc base::RunLoop run_loop; base 23 chrome/browser/invalidation/invalidation_controller_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 28 chrome/browser/invalidation/invalidation_controller_android.cc base::android::GetApplicationContext())); base 44 chrome/browser/invalidation/invalidation_controller_android.cc base::android::ToJavaIntArray(env, sources).obj(), base 45 chrome/browser/invalidation/invalidation_controller_android.cc base::android::ToJavaArrayOfStrings(env, names).obj()); base 49 chrome/browser/invalidation/invalidation_controller_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 54 chrome/browser/invalidation/invalidation_controller_android.cc base::android::GetApplicationContext())); base 58 chrome/browser/invalidation/invalidation_controller_android.cc base::android::ScopedJavaLocalRef<_jbyteArray*> id_bytes_java = base 65 chrome/browser/invalidation/invalidation_controller_android.cc base::android::JavaByteArrayToByteVector(env, id_bytes_java.obj(), &id_bytes); base 32 chrome/browser/invalidation/invalidation_controller_android.h base::android::ScopedJavaGlobalRef<jobject> invalidation_controller_; base 78 chrome/browser/invalidation/invalidation_logger.cc void InvalidationLogger::OnDebugMessage(const base::DictionaryValue& details) { base 16 chrome/browser/invalidation/invalidation_logger.h namespace base { base 53 chrome/browser/invalidation/invalidation_logger.h void OnDebugMessage(const base::DictionaryValue& details); base 13 chrome/browser/invalidation/invalidation_logger_observer.h namespace base { base 34 chrome/browser/invalidation/invalidation_logger_observer.h virtual void OnDebugMessage(const base::DictionaryValue& details) = 0; base 37 chrome/browser/invalidation/invalidation_logger_observer.h virtual void OnDetailedStatus(const base::DictionaryValue& details) = 0; base 44 chrome/browser/invalidation/invalidation_logger_unittest.cc virtual void OnDebugMessage(const base::DictionaryValue& details) OVERRIDE { base 53 chrome/browser/invalidation/invalidation_logger_unittest.cc virtual void OnDetailedStatus(const base::DictionaryValue& details) OVERRIDE { base 109 chrome/browser/invalidation/invalidation_logger_unittest.cc log.OnDebugMessage(base::DictionaryValue()); base 110 chrome/browser/invalidation/invalidation_service.h base::Callback<void(const base::DictionaryValue&)> post_caller) const = 0; base 68 chrome/browser/invalidation/invalidation_service_android.cc base::Callback<void(const base::DictionaryValue&)> return_callback) const { base 30 chrome/browser/invalidation/invalidation_service_android.h : public base::NonThreadSafe, base 56 chrome/browser/invalidation/invalidation_service_android.h base::Callback<void(const base::DictionaryValue&)> caller) const base 51 chrome/browser/invalidation/invalidation_service_util.cc base::Base64Encode(base::RandBytesAsString(kGuidBytes), &guid); base 10 chrome/browser/invalidation/invalidation_service_util.h namespace base { base 18 chrome/browser/invalidation/invalidation_service_util.h const base::CommandLine& command_line); base 27 chrome/browser/invalidation/invalidator_storage.cc const base::ListValue& value, base 32 chrome/browser/invalidation/invalidator_storage.cc const base::DictionaryValue* dict; base 42 chrome/browser/invalidation/invalidator_storage.cc scoped_ptr<base::ListValue> UnackedInvalidationStorageMapToValue( base 44 chrome/browser/invalidation/invalidator_storage.cc scoped_ptr<base::ListValue> value(new base::ListValue); base 98 chrome/browser/invalidation/invalidator_storage.cc base::Base64Encode(data, &base64_data); base 107 chrome/browser/invalidation/invalidator_storage.cc base::Base64Decode(base64_data, &data); base 113 chrome/browser/invalidation/invalidator_storage.cc scoped_ptr<base::ListValue> value(UnackedInvalidationStorageMapToValue(map)); base 120 chrome/browser/invalidation/invalidator_storage.cc const base::ListValue* value = base 21 chrome/browser/invalidation/invalidator_storage.h namespace base { base 32 chrome/browser/invalidation/invalidator_storage.h class InvalidatorStorage : public base::SupportsWeakPtr<InvalidatorStorage>, base 72 chrome/browser/invalidation/invalidator_storage.h base::ThreadChecker thread_checker_; base 83 chrome/browser/invalidation/p2p_invalidation_service.cc base::Callback<void(const base::DictionaryValue&)> caller) const { base 84 chrome/browser/invalidation/p2p_invalidation_service.cc base::DictionaryValue value; base 28 chrome/browser/invalidation/p2p_invalidation_service.h : public base::NonThreadSafe, base 52 chrome/browser/invalidation/p2p_invalidation_service.h base::Callback<void(const base::DictionaryValue&)> caller) const OVERRIDE; base 91 chrome/browser/invalidation/ticl_invalidation_service.cc base::Bind(&TiclInvalidationService::UpdateInvalidationNetworkChannel, base 92 chrome/browser/invalidation/ticl_invalidation_service.cc base::Unretained(this))); base 95 chrome/browser/invalidation/ticl_invalidation_service.cc base::Bind(&TiclInvalidationService::UpdateInvalidationNetworkChannel, base 96 chrome/browser/invalidation/ticl_invalidation_service.cc base::Unretained(this))); base 185 chrome/browser/invalidation/ticl_invalidation_service.cc base::Callback<void(const base::DictionaryValue&)> return_callback) const { base 213 chrome/browser/invalidation/ticl_invalidation_service.cc const base::Time& expiration_time) { base 240 chrome/browser/invalidation/ticl_invalidation_service.cc base::Bind(&TiclInvalidationService::RequestAccessToken, base 241 chrome/browser/invalidation/ticl_invalidation_service.cc base::Unretained(this))); base 36 chrome/browser/invalidation/ticl_invalidation_service.h class TiclInvalidationService : public base::NonThreadSafe, base 71 chrome/browser/invalidation/ticl_invalidation_service.h base::Callback<void(const base::DictionaryValue&)> caller) const OVERRIDE; base 80 chrome/browser/invalidation/ticl_invalidation_service.h const base::Time& expiration_time) OVERRIDE; base 132 chrome/browser/invalidation/ticl_invalidation_service.h base::OneShotTimer<TiclInvalidationService> request_access_token_retry_timer_; base 145 chrome/browser/invalidation/ticl_invalidation_service.h base::DictionaryValue network_channel_options_; base 165 chrome/browser/invalidation/ticl_invalidation_service_unittest.cc void FakeCallback(const base::DictionaryValue& value) { base 170 chrome/browser/invalidation/ticl_invalidation_service_unittest.cc base::WeakPtrFactory<FakeCallbackContainer> weak_ptr_factory_; base 186 chrome/browser/invalidation/ticl_invalidation_service_unittest.cc base::Bind(&internal::FakeCallbackContainer::FakeCallback, base 193 chrome/browser/invalidation/ticl_invalidation_service_unittest.cc base::Bind(&internal::FakeCallbackContainer::FakeCallback, base 171 chrome/browser/io_thread.cc if (base::StringToInt(s, &n) && n > 0) { base 184 chrome/browser/io_thread.cc if (base::StringToInt(s, &n) && n >= 0) { base 278 chrome/browser/io_thread.cc if (!base::StringToInt(command_line.GetSwitchValueASCII(switch_name), base 351 chrome/browser/io_thread.cc virtual scoped_refptr<base::SingleThreadTaskRunner> base 359 chrome/browser/io_thread.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 361 chrome/browser/io_thread.cc base::debug::LeakTracker<SystemURLRequestContextGetter> leak_tracker_; base 380 chrome/browser/io_thread.cc scoped_refptr<base::SingleThreadTaskRunner> base 422 chrome/browser/io_thread.cc creation_time_(base::TimeTicks::Now()) { base 453 chrome/browser/io_thread.cc base::Value* dns_client_enabled_default = new base::FundamentalValue( base 460 chrome/browser/io_thread.cc base::Bind(&IOThread::UpdateDnsClientEnabled, base 461 chrome/browser/io_thread.cc base::Unretained(this))); base 508 chrome/browser/io_thread.cc base::Bind(&IOThread::ChangedToOnTheRecordOnIOThread, base 509 chrome/browser/io_thread.cc base::Unretained(this))); base 587 chrome/browser/io_thread.cc base::SplitString(switch_value, ',', &logs); base 597 chrome/browser/io_thread.cc CHECK(base::Base64Decode(curr_log.substr(delim_pos + 1), base 633 chrome/browser/io_thread.cc base::WorkerPool::GetTaskRunner(true))); base 682 chrome/browser/io_thread.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN))); base 704 chrome/browser/io_thread.cc scoped_ptr<base::TickClock>(new base::DefaultTickClock()))); base 713 chrome/browser/io_thread.cc base::Bind(&ObserveKeychainEvents)); base 728 chrome/browser/io_thread.cc base::Bind(&IOThread::InitSystemRequestContext, base 733 chrome/browser/io_thread.cc base::debug::LeakTracker<SafeBrowsingURLRequestContext>::CheckForLeaks(); base 758 chrome/browser/io_thread.cc base::debug::LeakTracker<SystemURLRequestContextGetter>::CheckForLeaks(); base 765 chrome/browser/io_thread.cc base::FieldTrial* trial = base::FieldTrialList::Find(kSpdyFieldTrialName); base 770 chrome/browser/io_thread.cc base::FieldTrialList::FindFullName(kSpdyFieldTrialName); base 829 chrome/browser/io_thread.cc base::SplitString(mode, ',', &spdy_options); base 835 chrome/browser/io_thread.cc base::SplitString(element, '=', &name_value); base 869 chrome/browser/io_thread.cc if (base::StringToInt(value, &streams)) base 935 chrome/browser/io_thread.cc base::SplitString(auth_schemes_, ',', &supported_schemes); base 1008 chrome/browser/io_thread.cc base::TimeTicks IOThread::creation_time() const { base 1040 chrome/browser/io_thread.cc base::Bind(&IOThread::InitSystemRequestContextOnIOThread, base 1041 chrome/browser/io_thread.cc base::Unretained(this))); base 1083 chrome/browser/io_thread.cc base::FieldTrialList::FindFullName(kQuicFieldTrialName); base 1122 chrome/browser/io_thread.cc base::StringPiece quic_trial_group) { base 1134 chrome/browser/io_thread.cc base::StringPiece quic_trial_group) { base 1173 chrome/browser/io_thread.cc base::StringPiece quic_trial_group) { base 1197 chrome/browser/io_thread.cc base::StringPiece quic_trial_group) { base 1200 chrome/browser/io_thread.cc if (!base::StringToUint( base 1210 chrome/browser/io_thread.cc base::StringPiece length_str(quic_trial_group); base 1223 chrome/browser/io_thread.cc if (!base::StringToUint(length_str, &value)) { base 31 chrome/browser/io_thread.h namespace base { base 217 chrome/browser/io_thread.h base::TimeTicks creation_time() const; base 231 chrome/browser/io_thread.h void InitializeNetworkOptions(const base::CommandLine& parsed_command_line); base 272 chrome/browser/io_thread.h void ConfigureQuic(const base::CommandLine& command_line); base 276 chrome/browser/io_thread.h bool ShouldEnableQuic(const base::CommandLine& command_line, base 277 chrome/browser/io_thread.h base::StringPiece quic_trial_group); base 281 chrome/browser/io_thread.h bool ShouldEnableQuicHttps(const base::CommandLine& command_line, base 282 chrome/browser/io_thread.h base::StringPiece quic_trial_group); base 288 chrome/browser/io_thread.h bool ShouldEnableQuicPortSelection(const base::CommandLine& command_line); base 292 chrome/browser/io_thread.h bool ShouldEnableQuicPacing(const base::CommandLine& command_line, base 293 chrome/browser/io_thread.h base::StringPiece quic_trial_group); base 297 chrome/browser/io_thread.h bool ShouldEnableQuicPersistServerInfo(const base::CommandLine& command_line); base 302 chrome/browser/io_thread.h size_t GetQuicMaxPacketLength(const base::CommandLine& command_line, base 303 chrome/browser/io_thread.h base::StringPiece quic_trial_group); base 306 chrome/browser/io_thread.h net::QuicVersion GetQuicVersion(const base::CommandLine& command_line); base 363 chrome/browser/io_thread.h base::WeakPtrFactory<IOThread> weak_factory_; base 365 chrome/browser/io_thread.h const base::TimeTicks creation_time_; base 8 chrome/browser/jankometer.h namespace base { base 19 chrome/browser/jankometer.h void InstallJankometer(const base::CommandLine& parsed_command_line); base 10 chrome/browser/jankometer_stub.cc void InstallJankometer(const base::CommandLine& parsed_command_line) { base 26 chrome/browser/jankometer_win.cc using base::TimeDelta; base 27 chrome/browser/jankometer_win.cc using base::TimeTicks; base 57 chrome/browser/jankometer_win.cc class JankWatchdog : public base::Watchdog { base 119 chrome/browser/jankometer_win.cc base::StatsCounter slow_processing_counter_; // Msgs w/ long proc time. base 120 chrome/browser/jankometer_win.cc base::StatsCounter queueing_delay_counter_; // Msgs w/ long queueing delay. base 121 chrome/browser/jankometer_win.cc base::HistogramBase* const process_times_; // Time spent proc. task. base 122 chrome/browser/jankometer_win.cc base::HistogramBase* const total_times_; // Total queueing plus proc. base 137 chrome/browser/jankometer_win.cc process_times_(base::Histogram::FactoryGet( base 139 chrome/browser/jankometer_win.cc 1, 3600000, 50, base::Histogram::kUmaTargetedHistogramFlag)), base 140 chrome/browser/jankometer_win.cc total_times_(base::Histogram::FactoryGet( base 142 chrome/browser/jankometer_win.cc 1, 3600000, 50, base::Histogram::kUmaTargetedHistogramFlag)), base 191 chrome/browser/jankometer_win.cc begin_process_message_ = base::TimeTicks(); base 192 chrome/browser/jankometer_win.cc queueing_time_ = base::TimeDelta(); base 208 chrome/browser/jankometer_win.cc class IOJankObserver : public base::RefCountedThreadSafe<IOJankObserver>, base 209 chrome/browser/jankometer_win.cc public base::MessageLoopForIO::IOObserver, base 210 chrome/browser/jankometer_win.cc public base::MessageLoop::TaskObserver { base 221 chrome/browser/jankometer_win.cc base::MessageLoop::current()->AddTaskObserver(this); base 222 chrome/browser/jankometer_win.cc base::MessageLoopForIO::current()->AddIOObserver(this); base 227 chrome/browser/jankometer_win.cc base::MessageLoopForIO::current()->RemoveIOObserver(this); base 228 chrome/browser/jankometer_win.cc base::MessageLoop::current()->RemoveTaskObserver(this); base 234 chrome/browser/jankometer_win.cc helper_.StartProcessingTimers(base::TimeDelta()); base 241 chrome/browser/jankometer_win.cc virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 244 chrome/browser/jankometer_win.cc base::TimeTicks now = base::TimeTicks::Now(); base 245 chrome/browser/jankometer_win.cc const base::TimeDelta queueing_time = now - pending_task.time_posted; base 249 chrome/browser/jankometer_win.cc virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 264 chrome/browser/jankometer_win.cc class UIJankObserver : public base::RefCountedThreadSafe<UIJankObserver>, base 265 chrome/browser/jankometer_win.cc public base::MessageLoop::TaskObserver, base 266 chrome/browser/jankometer_win.cc public base::MessageLoopForUI::Observer { base 277 chrome/browser/jankometer_win.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 278 chrome/browser/jankometer_win.cc base::MessageLoopForUI::current()->AddObserver(this); base 279 chrome/browser/jankometer_win.cc base::MessageLoop::current()->AddTaskObserver(this); base 284 chrome/browser/jankometer_win.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 285 chrome/browser/jankometer_win.cc base::MessageLoop::current()->RemoveTaskObserver(this); base 286 chrome/browser/jankometer_win.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 289 chrome/browser/jankometer_win.cc virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 292 chrome/browser/jankometer_win.cc base::TimeTicks now = base::TimeTicks::Now(); base 293 chrome/browser/jankometer_win.cc const base::TimeDelta queueing_time = now - pending_task.time_posted; base 297 chrome/browser/jankometer_win.cc virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 301 chrome/browser/jankometer_win.cc virtual base::EventStatus WillProcessEvent( base 302 chrome/browser/jankometer_win.cc const base::NativeEvent& event) OVERRIDE { base 304 chrome/browser/jankometer_win.cc return base::EVENT_CONTINUE; base 316 chrome/browser/jankometer_win.cc base::TimeDelta queueing_time = base 317 chrome/browser/jankometer_win.cc base::TimeDelta::FromMilliseconds(cur_time - cur_message_issue_time); base 320 chrome/browser/jankometer_win.cc return base::EVENT_CONTINUE; base 323 chrome/browser/jankometer_win.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE { base 381 chrome/browser/jankometer_win.cc base::Bind(&IOJankObserver::AttachToCurrentThread, io_observer->get())); base 22 chrome/browser/jumplist_updater_win.cc bool AddShellLink(base::win::ScopedComPtr<IObjectCollection> collection, base 26 chrome/browser/jumplist_updater_win.cc base::win::ScopedComPtr<IShellLink> link; base 61 chrome/browser/jumplist_updater_win.cc base::win::ScopedComPtr<IPropertyStore> property_store; base 66 chrome/browser/jumplist_updater_win.cc if (!base::win::SetStringValueForPropertyStore( base 111 chrome/browser/jumplist_updater_win.cc return base::win::GetVersion() >= base::win::VERSION_WIN7; base 139 chrome/browser/jumplist_updater_win.cc base::win::ScopedComPtr<IObjectArray> removed; base 163 chrome/browser/jumplist_updater_win.cc base::FilePath application_path; base 164 chrome/browser/jumplist_updater_win.cc if (!PathService::Get(base::FILE_EXE, &application_path)) base 169 chrome/browser/jumplist_updater_win.cc base::win::ScopedComPtr<IObjectCollection> collection; base 185 chrome/browser/jumplist_updater_win.cc base::win::ScopedComPtr<IObjectArray> object_array; base 200 chrome/browser/jumplist_updater_win.cc base::FilePath application_path; base 201 chrome/browser/jumplist_updater_win.cc if (!PathService::Get(base::FILE_EXE, &application_path)) base 213 chrome/browser/jumplist_updater_win.cc base::win::ScopedComPtr<IObjectCollection> collection; base 232 chrome/browser/jumplist_updater_win.cc base::win::ScopedComPtr<IObjectArray> object_array; base 23 chrome/browser/jumplist_updater_win.h class ShellLinkItem : public base::RefCountedThreadSafe<ShellLinkItem> { base 33 chrome/browser/jumplist_updater_win.h base::CommandLine* GetCommandLine(); base 49 chrome/browser/jumplist_updater_win.h friend class base::RefCountedThreadSafe<ShellLinkItem>; base 53 chrome/browser/jumplist_updater_win.h base::CommandLine command_line_; base 130 chrome/browser/jumplist_updater_win.h base::win::ScopedComPtr<ICustomDestinationList> destination_list_; base 63 chrome/browser/jumplist_win.cc const base::FilePath& icon_dir, base 64 chrome/browser/jumplist_win.cc base::FilePath* icon_path) { base 68 chrome/browser/jumplist_win.cc base::FilePath path; base 69 chrome/browser/jumplist_win.cc if (!base::CreateTemporaryFileInDir(icon_dir, &path)) base 87 chrome/browser/jumplist_win.cc base::FilePath chrome_path; base 88 chrome/browser/jumplist_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_path)) base 99 chrome/browser/jumplist_win.cc base::UTF16ToWide(l10n_util::GetStringUTF16(IDS_NEW_WINDOW)); base 111 chrome/browser/jumplist_win.cc base::UTF16ToWide(l10n_util::GetStringUTF16(IDS_NEW_INCOGNITO_WINDOW)); base 154 chrome/browser/jumplist_win.cc base::UTF16ToWide( base 162 chrome/browser/jumplist_win.cc base::UTF16ToWide( base 184 chrome/browser/jumplist_win.cc task_id_(base::CancelableTaskTracker::kBadTaskId) {} base 241 chrome/browser/jumplist_win.cc base::Bind(&JumpList::OnMostVisitedURLsAvailable, base 268 chrome/browser/jumplist_win.cc if (task_id_ != base::CancelableTaskTracker::kBadTaskId) { base 270 chrome/browser/jumplist_win.cc task_id_ = base::CancelableTaskTracker::kBadTaskId; base 286 chrome/browser/jumplist_win.cc base::AutoLock auto_lock(list_lock_); base 292 chrome/browser/jumplist_win.cc std::wstring url_string_wide = base::UTF8ToWide(url_string); base 339 chrome/browser/jumplist_win.cc base::AutoLock auto_lock(list_lock_); base 362 chrome/browser/jumplist_win.cc link->GetCommandLine()->AppendArgNative(base::UTF8ToWide(url)); base 385 chrome/browser/jumplist_win.cc base::AutoLock auto_lock(list_lock_); base 391 chrome/browser/jumplist_win.cc base::Bind(&JumpList::RunUpdate, this)); base 404 chrome/browser/jumplist_win.cc base::Bind(&JumpList::OnFaviconDataAvailable, base 405 chrome/browser/jumplist_win.cc base::Unretained(this)), base 413 chrome/browser/jumplist_win.cc task_id_ = base::CancelableTaskTracker::kBadTaskId; base 416 chrome/browser/jumplist_win.cc base::AutoLock auto_lock(list_lock_); base 436 chrome/browser/jumplist_win.cc base::AutoLock auto_lock(list_lock_); base 450 chrome/browser/jumplist_win.cc base::FilePath icon_dir_old(icon_dir_.value() + L"Old"); base 451 chrome/browser/jumplist_win.cc if (base::PathExists(icon_dir_old)) base 452 chrome/browser/jumplist_win.cc base::DeleteFile(icon_dir_old, true); base 453 chrome/browser/jumplist_win.cc base::Move(icon_dir_, icon_dir_old); base 454 chrome/browser/jumplist_win.cc base::CreateDirectory(icon_dir_); base 473 chrome/browser/jumplist_win.cc base::FilePath icon_path; base 55 chrome/browser/jumplist_win.h public base::RefCountedThreadSafe< base 143 chrome/browser/jumplist_win.h friend class base::DeleteHelper<JumpList>; base 147 chrome/browser/jumplist_win.h base::WeakPtrFactory<JumpList> weak_ptr_factory_; base 150 chrome/browser/jumplist_win.h base::CancelableTaskTracker cancelable_task_tracker_; base 162 chrome/browser/jumplist_win.h base::FilePath icon_dir_; base 179 chrome/browser/jumplist_win.h base::CancelableTaskTracker::TaskId task_id_; base 183 chrome/browser/jumplist_win.h base::Lock list_lock_; base 178 chrome/browser/lifetime/application_lifetime.cc base::debug::CategoryFilter category_filter( base 180 chrome/browser/lifetime/application_lifetime.cc base::debug::TraceLog::GetInstance()->SetEnabled( base 182 chrome/browser/lifetime/application_lifetime.cc base::debug::TraceLog::RECORDING_MODE, base 183 chrome/browser/lifetime/application_lifetime.cc base::debug::TraceLog::RECORD_UNTIL_FULL); base 204 chrome/browser/lifetime/application_lifetime.cc base::Bind(&ExitCleanly)); base 258 chrome/browser/lifetime/application_lifetime.cc shutdown_watcher.Arm(base::TimeDelta::FromSeconds(90)); base 288 chrome/browser/lifetime/application_lifetime.cc base::win::SetShouldCrashOnProcessDetach(false); base 319 chrome/browser/lifetime/application_lifetime.cc base::MessageLoop::current()) { base 353 chrome/browser/lifetime/application_lifetime.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 372 chrome/browser/lifetime/application_lifetime.cc base::Bind(&ExitCleanly)); base 39 chrome/browser/lifetime/application_lifetime_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 54 chrome/browser/lifetime/application_lifetime_win.cc if (base::win::IsMetroProcess()) { base 67 chrome/browser/lifetime/application_lifetime_win.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 74 chrome/browser/lifetime/application_lifetime_win.cc base::FilePath exe_path; base 75 chrome/browser/lifetime/application_lifetime_win.cc if (!PathService::Get(base::FILE_EXE, &exe_path)) base 78 chrome/browser/lifetime/application_lifetime_win.cc base::FilePath path(exe_path.DirName()); base 53 chrome/browser/lifetime/browser_close_manager.cc base::Bind(&BrowserCloseManager::OnBrowserReportCloseable, this))) { base 81 chrome/browser/lifetime/browser_close_manager.cc base::Bind(&BrowserCloseManager::OnReportDownloadsCancellable, this)); base 86 chrome/browser/lifetime/browser_close_manager.cc const base::Callback<void(bool)>& callback) { base 15 chrome/browser/lifetime/browser_close_manager.h class BrowserCloseManager : public base::RefCounted<BrowserCloseManager> { base 23 chrome/browser/lifetime/browser_close_manager.h friend class base::RefCounted<BrowserCloseManager>; base 29 chrome/browser/lifetime/browser_close_manager.h const base::Callback<void(bool)>& callback); base 121 chrome/browser/lifetime/browser_close_manager_browsertest.cc base::RunLoop run_loop_; base 146 chrome/browser/lifetime/browser_close_manager_browsertest.cc const base::Callback<void(bool)>& callback) OVERRIDE { base 182 chrome/browser/lifetime/browser_close_manager_browsertest.cc base::Bind(&TestDownloadManagerDelegate::SetDangerous, callback); base 189 chrome/browser/lifetime/browser_close_manager_browsertest.cc const base::FilePath& target_path, base 192 chrome/browser/lifetime/browser_close_manager_browsertest.cc const base::FilePath& intermediate_path) { base 243 chrome/browser/lifetime/browser_close_manager_browsertest.cc base::Bind(&chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 710 chrome/browser/lifetime/browser_close_manager_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("downloads/dangerous/dangerous.swf")); base 771 chrome/browser/lifetime/browser_close_manager_browsertest.cc base::FilePath path = base 773 chrome/browser/lifetime/browser_close_manager_browsertest.cc if (!base::PathExists(path)) base 774 chrome/browser/lifetime/browser_close_manager_browsertest.cc ASSERT_TRUE(base::CreateDirectory(path)); base 16 chrome/browser/load_library_perf_test.cc void MeasureSizeAndTimeToLoadNativeLibrary(const base::FilePath& library_name) { base 17 chrome/browser/load_library_perf_test.cc base::FilePath output_dir; base 18 chrome/browser/load_library_perf_test.cc ASSERT_TRUE(PathService::Get(base::DIR_MODULE, &output_dir)); base 19 chrome/browser/load_library_perf_test.cc base::FilePath library_path = output_dir.Append(library_name); base 20 chrome/browser/load_library_perf_test.cc ASSERT_TRUE(base::PathExists(library_path)) << library_path.value(); base 23 chrome/browser/load_library_perf_test.cc ASSERT_TRUE(base::GetFileSize(library_path, &size)); base 31 chrome/browser/load_library_perf_test.cc base::NativeLibraryLoadError error; base 32 chrome/browser/load_library_perf_test.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 33 chrome/browser/load_library_perf_test.cc base::NativeLibrary native_library = base 34 chrome/browser/load_library_perf_test.cc base::LoadNativeLibrary(library_path, &error); base 35 chrome/browser/load_library_perf_test.cc double delta = (base::TimeTicks::HighResNow() - start).InMillisecondsF(); base 37 chrome/browser/load_library_perf_test.cc base::UnloadNativeLibrary(native_library); base 50 chrome/browser/load_library_perf_test.cc MeasureSizeAndTimeToLoadNativeLibrary(base::FilePath::FromUTF16Unsafe( base 51 chrome/browser/load_library_perf_test.cc base::GetNativeLibraryName(base::ASCIIToUTF16(base_library_name)))); base 58 chrome/browser/load_library_perf_test.cc base::FilePath::FromUTF8Unsafe(kWidevineCdmFileName)); base 63 chrome/browser/load_library_perf_test.cc base::FilePath::FromUTF8Unsafe(kWidevineCdmAdapterFileName)); base 70 chrome/browser/load_library_perf_test.cc base::FilePath::FromUTF8Unsafe("libclearkeycdm.dylib")); base 79 chrome/browser/load_library_perf_test.cc base::FilePath::FromUTF8Unsafe("clearkeycdmadapter.plugin")); base 91 chrome/browser/local_discovery/cloud_print_base_api_flow.cc base::IntToString(user_index_)); base 104 chrome/browser/local_discovery/cloud_print_base_api_flow.cc const base::Time& expiration_time) { base 108 chrome/browser/local_discovery/cloud_print_base_api_flow.cc base::StringPrintf(kCloudPrintOAuthHeaderFormat, access_token.c_str()); base 152 chrome/browser/local_discovery/cloud_print_base_api_flow.cc base::JSONReader reader; base 153 chrome/browser/local_discovery/cloud_print_base_api_flow.cc scoped_ptr<const base::Value> value(reader.Read(response_str)); base 154 chrome/browser/local_discovery/cloud_print_base_api_flow.cc const base::DictionaryValue* dictionary_value = NULL; base 41 chrome/browser/local_discovery/cloud_print_base_api_flow.h const base::DictionaryValue* value) = 0; base 77 chrome/browser/local_discovery/cloud_print_base_api_flow.h const base::Time& expiration_time) OVERRIDE; base 24 chrome/browser/local_discovery/cloud_print_printer_list.cc url_(base::StringPrintf(kPrinterListURLFormat, cloud_print_url.c_str())), base 60 chrome/browser/local_discovery/cloud_print_printer_list.cc const base::DictionaryValue* value) { base 61 chrome/browser/local_discovery/cloud_print_printer_list.cc const base::ListValue* printers; base 68 chrome/browser/local_discovery/cloud_print_printer_list.cc for (base::ListValue::const_iterator i = printers->begin(); base 71 chrome/browser/local_discovery/cloud_print_printer_list.cc base::DictionaryValue* printer; base 92 chrome/browser/local_discovery/cloud_print_printer_list.cc const base::DictionaryValue* printer_value, base 54 chrome/browser/local_discovery/cloud_print_printer_list.h const base::DictionaryValue* value) OVERRIDE; base 69 chrome/browser/local_discovery/cloud_print_printer_list.h bool FillPrinterDetails(const base::DictionaryValue* printer_value, base 53 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc base::MessageLoopProxy::current())) { base 77 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc base::MessageLoopForUI loop_; base 101 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc cloudprint_flow->OnGetTokenSuccess(NULL, "SomeToken", base::Time()); base 105 chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 46 chrome/browser/local_discovery/device_description.h base::Time last_seen; base 55 chrome/browser/local_discovery/privet_confirm_api_flow.cc const base::DictionaryValue* value) { base 19 chrome/browser/local_discovery/privet_confirm_api_flow.h typedef base::Callback<void(CloudPrintBaseApiFlow::Status /*success*/)> base 45 chrome/browser/local_discovery/privet_confirm_api_flow.h const base::DictionaryValue* value) OVERRIDE; base 44 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc return base::Bind(&MockableConfirmCallback::ConfirmCallback, base 45 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc base::Unretained(this)); base 55 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc base::MessageLoopProxy::current())), base 66 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc base::MessageLoopForUI loop_; base 86 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc cloudprint_flow->OnGetTokenSuccess(NULL, "SomeToken", base::Time()); base 170 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc cloudprint_flow->OnGetTokenSuccess(NULL, "SomeToken", base::Time()); base 198 chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc cloudprint_flow->OnGetTokenSuccess(NULL, "SomeToken", base::Time()); base 31 chrome/browser/local_discovery/privet_device_lister_impl.cc base::StringPrintf(kPrivetSubtypeTemplate, subtype.c_str())) { base 191 chrome/browser/local_discovery/privet_device_lister_unittest.cc service_description_.last_seen = base::Time() + base 192 chrome/browser/local_discovery/privet_device_lister_unittest.cc base::TimeDelta::FromSeconds(5); base 24 chrome/browser/local_discovery/privet_device_resolver.cc base::Bind(&PrivetDeviceResolver::OnServiceResolved, base 25 chrome/browser/local_discovery/privet_device_resolver.cc base::Unretained(this))); base 18 chrome/browser/local_discovery/privet_device_resolver.h typedef base::Callback<void(bool /*success*/, base 15 chrome/browser/local_discovery/privet_http.h namespace base { base 35 chrome/browser/local_discovery/privet_http.h typedef base::Callback<void( base 36 chrome/browser/local_discovery/privet_http.h const base::DictionaryValue* /*value*/)> ResultCallback; base 54 chrome/browser/local_discovery/privet_http.h typedef base::Callback<void( base 57 chrome/browser/local_discovery/privet_http.h const base::FilePath& /*response_file_path*/)> ResultCallback; base 105 chrome/browser/local_discovery/privet_http.h const base::DictionaryValue* json) = 0; base 139 chrome/browser/local_discovery/privet_http.h virtual void SetData(base::RefCountedBytes* data) = 0; base 32 chrome/browser/local_discovery/privet_http_asynchronous_factory.h typedef base::Callback<void(scoped_ptr<PrivetHTTPClient>)> ResultCallback; base 22 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc address_str = base::StringPrintf("[%s]", address_str.c_str()); base 70 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc base::Bind(&ResolutionImpl::ResolveComplete, base::Unretained(this))); base 115 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value, base 134 chrome/browser/local_discovery/privet_http_impl.cc base::Bind(&PrivetRegisterOperationImpl::StartResponse, base 135 chrome/browser/local_discovery/privet_http_impl.cc base::Unretained(this)); base 146 chrome/browser/local_discovery/privet_http_impl.cc base::MessageLoop::current()->PostDelayedTask( base 148 chrome/browser/local_discovery/privet_http_impl.cc base::Bind(&PrivetRegisterOperationImpl::Cancelation::Cleanup, base 149 chrome/browser/local_discovery/privet_http_impl.cc base::Owned(cancelation)), base 150 chrome/browser/local_discovery/privet_http_impl.cc base::TimeDelta::FromSeconds(kPrivetCancelationTimeoutSeconds)); base 158 chrome/browser/local_discovery/privet_http_impl.cc base::Bind(&PrivetRegisterOperationImpl::CompleteResponse, base 159 chrome/browser/local_discovery/privet_http_impl.cc base::Unretained(this)); base 193 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value, base 228 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue& value) { base 230 chrome/browser/local_discovery/privet_http_impl.cc base::Bind(&PrivetRegisterOperationImpl::GetClaimTokenResponse, base 231 chrome/browser/local_discovery/privet_http_impl.cc base::Unretained(this)); base 237 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue& value) { base 254 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue& value) { base 263 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value) { base 308 chrome/browser/local_discovery/privet_http_impl.cc base::Bind(&PrivetRegisterOperationImpl::OnPrivetInfoDone, base 309 chrome/browser/local_discovery/privet_http_impl.cc base::Unretained(this))); base 334 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value, base 375 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value, base 432 chrome/browser/local_discovery/privet_http_impl.cc callback_.Run(RESPONSE_TYPE_ERROR, std::string(), base::FilePath()); base 437 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value, base 451 chrome/browser/local_discovery/privet_http_impl.cc const base::FilePath& file_path) { base 480 chrome/browser/local_discovery/privet_http_impl.cc base::Bind(&PrivetLocalPrintOperationImpl::OnPrivetInfoDone, base 481 chrome/browser/local_discovery/privet_http_impl.cc base::Unretained(this))); base 488 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value) { base 493 chrome/browser/local_discovery/privet_http_impl.cc const base::ListValue* api_list; base 537 chrome/browser/local_discovery/privet_http_impl.cc current_response_ = base::Bind( base 539 chrome/browser/local_discovery/privet_http_impl.cc base::Unretained(this)); base 557 chrome/browser/local_discovery/privet_http_impl.cc current_response_ = base::Bind( base 559 chrome/browser/local_discovery/privet_http_impl.cc base::Unretained(this)); base 573 chrome/browser/local_discovery/privet_http_impl.cc base::string16 shortened_jobname; base 575 chrome/browser/local_discovery/privet_http_impl.cc gfx::ElideString(base::UTF8ToUTF16(jobname_), base 581 chrome/browser/local_discovery/privet_http_impl.cc url, kPrivetURLKeyJobname, base::UTF16ToUTF8(shortened_jobname)); base 683 chrome/browser/local_discovery/privet_http_impl.cc base::Bind(&PrivetLocalPrintOperationImpl::OnPWGRasterConverted, base 684 chrome/browser/local_discovery/privet_http_impl.cc base::Unretained(this))); base 689 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value) { base 704 chrome/browser/local_discovery/privet_http_impl.cc 1 + base::RandDouble() * kPrivetMaximumTimeRandomAddition; base 710 chrome/browser/local_discovery/privet_http_impl.cc base::MessageLoop::current()->PostDelayedTask( base 711 chrome/browser/local_discovery/privet_http_impl.cc FROM_HERE, base::Bind(&PrivetLocalPrintOperationImpl::DoCreatejob, base 713 chrome/browser/local_discovery/privet_http_impl.cc base::TimeDelta::FromSeconds(timeout)); base 731 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value) { base 746 chrome/browser/local_discovery/privet_http_impl.cc const base::FilePath& pwg_file_path) { base 770 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value, base 782 chrome/browser/local_discovery/privet_http_impl.cc void PrivetLocalPrintOperationImpl::SetData(base::RefCountedBytes* data) { base 864 chrome/browser/local_discovery/privet_http_impl.cc std::string url_param = base::StringPrintf(kPrivetStorageParamPathFormat, base 876 chrome/browser/local_discovery/privet_http_impl.cc std::string url_param = base::StringPrintf(kPrivetStorageParamPathFormat, base 892 chrome/browser/local_discovery/privet_http_impl.cc std::string port(base::IntToString(host_port_.port())); // Keep string alive. base 907 chrome/browser/local_discovery/privet_http_impl.cc base::Bind(&PrivetHTTPClientImpl::OnPrivetInfoDone, base 908 chrome/browser/local_discovery/privet_http_impl.cc base::Unretained(this))); base 914 chrome/browser/local_discovery/privet_http_impl.cc const base::DictionaryValue* value) { base 40 chrome/browser/local_discovery/privet_http_impl.h const base::DictionaryValue* value, base 52 chrome/browser/local_discovery/privet_http_impl.h public base::SupportsWeakPtr<PrivetRegisterOperationImpl> { base 67 chrome/browser/local_discovery/privet_http_impl.h const base::DictionaryValue* value, base 86 chrome/browser/local_discovery/privet_http_impl.h const base::DictionaryValue* value, base 96 chrome/browser/local_discovery/privet_http_impl.h typedef base::Callback<void(const base::DictionaryValue&)> base 100 chrome/browser/local_discovery/privet_http_impl.h void OnPrivetInfoDone(const base::DictionaryValue* value); base 102 chrome/browser/local_discovery/privet_http_impl.h void StartResponse(const base::DictionaryValue& value); base 103 chrome/browser/local_discovery/privet_http_impl.h void GetClaimTokenResponse(const base::DictionaryValue& value); base 104 chrome/browser/local_discovery/privet_http_impl.h void CompleteResponse(const base::DictionaryValue& value); base 138 chrome/browser/local_discovery/privet_http_impl.h const base::DictionaryValue* value, base 174 chrome/browser/local_discovery/privet_http_impl.h const base::DictionaryValue* value, base 182 chrome/browser/local_discovery/privet_http_impl.h const base::FilePath& file_path) OVERRIDE; base 209 chrome/browser/local_discovery/privet_http_impl.h virtual void SetData(base::RefCountedBytes* data) OVERRIDE; base 231 chrome/browser/local_discovery/privet_http_impl.h const base::DictionaryValue* value, base 238 chrome/browser/local_discovery/privet_http_impl.h typedef base::Callback<void(bool, const base::DictionaryValue* value)> base 248 chrome/browser/local_discovery/privet_http_impl.h void OnPrivetInfoDone(const base::DictionaryValue* value); base 250 chrome/browser/local_discovery/privet_http_impl.h const base::DictionaryValue* value); base 252 chrome/browser/local_discovery/privet_http_impl.h const base::DictionaryValue* value); base 253 chrome/browser/local_discovery/privet_http_impl.h void OnPWGRasterConverted(bool success, const base::FilePath& pwg_file_path); base 264 chrome/browser/local_discovery/privet_http_impl.h scoped_refptr<base::RefCountedBytes> data_; base 265 chrome/browser/local_discovery/privet_http_impl.h base::FilePath pwg_file_path_; base 285 chrome/browser/local_discovery/privet_http_impl.h base::WeakPtrFactory<PrivetLocalPrintOperationImpl> weak_factory_; base 330 chrome/browser/local_discovery/privet_http_impl.h void OnPrivetInfoDone(const base::DictionaryValue* value); base 229 chrome/browser/local_discovery/privet_http_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(result)); base 231 chrome/browser/local_discovery/privet_http_unittest.cc base::JSONWriter::Write(value.get(), &result); base 255 chrome/browser/local_discovery/privet_http_unittest.cc base::MessageLoopProxy::current()); base 318 chrome/browser/local_discovery/privet_http_unittest.cc const base::FilePath& file_path, base 333 chrome/browser/local_discovery/privet_http_unittest.cc void RunFor(base::TimeDelta time_period) { base 334 chrome/browser/local_discovery/privet_http_unittest.cc base::CancelableCallback<void()> callback(base::Bind( base 335 chrome/browser/local_discovery/privet_http_unittest.cc &PrivetHTTPTest::Stop, base::Unretained(this))); base 336 chrome/browser/local_discovery/privet_http_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 339 chrome/browser/local_discovery/privet_http_unittest.cc base::MessageLoop::current()->Run(); base 344 chrome/browser/local_discovery/privet_http_unittest.cc base::MessageLoop::current()->Quit(); base 348 chrome/browser/local_discovery/privet_http_unittest.cc base::MessageLoop loop_; base 360 chrome/browser/local_discovery/privet_http_unittest.cc void OnPrivetJSONDone(const base::DictionaryValue* value) { base 372 chrome/browser/local_discovery/privet_http_unittest.cc const base::DictionaryValue* value() { return value_.get(); } base 374 chrome/browser/local_discovery/privet_http_unittest.cc return base::Bind(&MockJSONCallback::OnPrivetJSONDone, base 375 chrome/browser/local_discovery/privet_http_unittest.cc base::Unretained(this)); base 378 chrome/browser/local_discovery/privet_http_unittest.cc scoped_ptr<base::DictionaryValue> value_; base 404 chrome/browser/local_discovery/privet_http_unittest.cc const base::DictionaryValue* json) OVERRIDE { base 456 chrome/browser/local_discovery/privet_http_unittest.cc virtual void Start(base::RefCountedMemory* data, base 462 chrome/browser/local_discovery/privet_http_unittest.cc callback.Run(true, base::FilePath().AppendASCII(data_str + "test.pdf")); base 655 chrome/browser/local_discovery/privet_http_unittest.cc RunFor(base::TimeDelta::FromSeconds(2)); base 724 chrome/browser/local_discovery/privet_http_unittest.cc RunFor(base::TimeDelta::FromSeconds(3)); base 827 chrome/browser/local_discovery/privet_http_unittest.cc scoped_refptr<base::RefCountedBytes> RefCountedBytesFromString( base 831 chrome/browser/local_discovery/privet_http_unittest.cc return scoped_refptr<base::RefCountedBytes>( base 832 chrome/browser/local_discovery/privet_http_unittest.cc base::RefCountedBytes::TakeVector(&str_vec)); base 916 chrome/browser/local_discovery/privet_http_unittest.cc base::FilePath(FILE_PATH_LITERAL("path/to/test.pdf")), base 953 chrome/browser/local_discovery/privet_http_unittest.cc base::FilePath(FILE_PATH_LITERAL("path/to/test.pdf")), base 1063 chrome/browser/local_discovery/privet_http_unittest.cc base::FilePath(FILE_PATH_LITERAL("sample/path/test.pdf")), base 1095 chrome/browser/local_discovery/privet_http_unittest.cc RunFor(base::TimeDelta::FromSeconds(3)); base 74 chrome/browser/local_discovery/privet_local_printer_lister.cc base::Bind(&PrivetLocalPrinterLister::OnPrivetResolved, base 75 chrome/browser/local_discovery/privet_local_printer_lister.cc base::Unretained(this))); base 93 chrome/browser/local_discovery/privet_local_printer_lister.cc base::Bind(&PrivetLocalPrinterLister::OnPrivetInfoDone, base 94 chrome/browser/local_discovery/privet_local_printer_lister.cc base::Unretained(this), base 104 chrome/browser/local_discovery/privet_local_printer_lister.cc const base::DictionaryValue* json_value) { base 106 chrome/browser/local_discovery/privet_local_printer_lister.cc const base::ListValue* api_list = NULL; base 61 chrome/browser/local_discovery/privet_local_printer_lister.h const base::DictionaryValue* json_value); base 110 chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc base::MessageLoopProxy::current()); base 148 chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc base::MessageLoop message_loop_; base 111 chrome/browser/local_discovery/privet_notifications.cc base::Bind(&PrivetNotificationsListener::CreateInfoOperation, base 112 chrome/browser/local_discovery/privet_notifications.cc base::Unretained(this))); base 126 chrome/browser/local_discovery/privet_notifications.cc base::Bind(&PrivetNotificationsListener::OnPrivetInfoDone, base 127 chrome/browser/local_discovery/privet_notifications.cc base::Unretained(this), base 134 chrome/browser/local_discovery/privet_notifications.cc const base::DictionaryValue* json_value) { base 195 chrome/browser/local_discovery/privet_notifications.cc base::MessageLoop::current()->PostDelayedTask( base 197 chrome/browser/local_discovery/privet_notifications.cc base::Bind(&PrivetNotificationService::Start, AsWeakPtr()), base 198 chrome/browser/local_discovery/privet_notifications.cc base::TimeDelta::FromSeconds(kStartDelaySeconds + base 199 chrome/browser/local_discovery/privet_notifications.cc base::RandInt(0, kStartDelaySeconds/4))); base 237 chrome/browser/local_discovery/privet_notifications.cc base::string16 product_name = l10n_util::GetStringUTF16( base 248 chrome/browser/local_discovery/privet_notifications.cc base::string16 title = l10n_util::GetStringUTF16(title_resource); base 249 chrome/browser/local_discovery/privet_notifications.cc base::string16 body = l10n_util::GetStringUTF16(body_resource); base 272 chrome/browser/local_discovery/privet_notifications.cc base::UTF8ToUTF16(kPrivetNotificationID), base 304 chrome/browser/local_discovery/privet_notifications.cc base::Bind(&PrivetNotificationService::OnNotificationsEnabledChanged, base 305 chrome/browser/local_discovery/privet_notifications.cc base::Unretained(this))); base 318 chrome/browser/local_discovery/privet_notifications.cc base::Bind(&PrivetNotificationService::StartLister, AsWeakPtr())); base 79 chrome/browser/local_discovery/privet_notifications.h const base::DictionaryValue* json_value); base 95 chrome/browser/local_discovery/privet_notifications.h public base::SupportsWeakPtr<PrivetNotificationService> { base 91 chrome/browser/local_discovery/privet_notifications_unittest.cc new net::TestURLRequestContextGetter(base::MessageLoopProxy::current())) { base 123 chrome/browser/local_discovery/privet_notifications_unittest.cc base::MessageLoop message_loop_; base 24 chrome/browser/local_discovery/privet_traffic_detector.cc const base::Callback<void(const net::NetworkInterfaceList&)> callback) { base 45 chrome/browser/local_discovery/privet_traffic_detector.cc base::Bind(callback, ip4_networks)); base 54 chrome/browser/local_discovery/privet_traffic_detector.cc const base::Closure& on_traffic_detected) base 56 chrome/browser/local_discovery/privet_traffic_detector.cc callback_runner_(base::MessageLoop::current()->message_loop_proxy()), base 68 chrome/browser/local_discovery/privet_traffic_detector.cc base::Bind(&PrivetTrafficDetector::StartOnIOThread, base 98 chrome/browser/local_discovery/privet_traffic_detector.cc base::Bind(&GetNetworkListOnFileThread, base 99 chrome/browser/local_discovery/privet_traffic_detector.cc base::Bind(&PrivetTrafficDetector::Restart, base 101 chrome/browser/local_discovery/privet_traffic_detector.cc base::TimeDelta::FromSeconds(3)); base 118 chrome/browser/local_discovery/privet_traffic_detector.cc base::TimeDelta time_delta = base::Time::Now() - start_time_; base 121 chrome/browser/local_discovery/privet_traffic_detector.cc start_time_ = base::Time::Now(); base 156 chrome/browser/local_discovery/privet_traffic_detector.cc if (!(header->flags & base::HostToNet16(net::dns_protocol::kFlagResponse))) base 172 chrome/browser/local_discovery/privet_traffic_detector.cc base::TimeDelta time_delta = base::Time::Now() - start_time_; base 182 chrome/browser/local_discovery/privet_traffic_detector.cc base::Bind(base::IgnoreResult(&PrivetTrafficDetector::DoLoop), base 183 chrome/browser/local_discovery/privet_traffic_detector.cc base::Unretained(this))); base 27 chrome/browser/local_discovery/privet_traffic_detector.h : public base::RefCountedThreadSafe< base 32 chrome/browser/local_discovery/privet_traffic_detector.h const base::Closure& on_traffic_detected); base 39 chrome/browser/local_discovery/privet_traffic_detector.h friend class base::DeleteHelper<PrivetTrafficDetector>; base 54 chrome/browser/local_discovery/privet_traffic_detector.h base::Closure on_traffic_detected_; base 55 chrome/browser/local_discovery/privet_traffic_detector.h scoped_refptr<base::TaskRunner> callback_runner_; base 61 chrome/browser/local_discovery/privet_traffic_detector.h base::Time start_time_; base 64 chrome/browser/local_discovery/privet_traffic_detector.h base::WeakPtrFactory<PrivetTrafficDetector> weak_ptr_factory_; base 47 chrome/browser/local_discovery/privet_url_fetcher.cc return base::StringPrintf(kRangeHeaderFormat, start, end); base 61 chrome/browser/local_discovery/privet_url_fetcher.cc const base::FilePath& data_file) { base 201 chrome/browser/local_discovery/privet_url_fetcher.cc const base::FilePath& upload_file_path) { base 241 chrome/browser/local_discovery/privet_url_fetcher.cc base::FilePath response_file_path; base 257 chrome/browser/local_discovery/privet_url_fetcher.cc return delegate_->OnRawData(this, false, response_str, base::FilePath()); base 275 chrome/browser/local_discovery/privet_url_fetcher.cc base::JSONReader json_reader(base::JSON_ALLOW_TRAILING_COMMAS); base 276 chrome/browser/local_discovery/privet_url_fetcher.cc scoped_ptr<base::Value> value; base 285 chrome/browser/local_discovery/privet_url_fetcher.cc const base::DictionaryValue* dictionary_value; base 317 chrome/browser/local_discovery/privet_url_fetcher.cc 1 + base::RandDouble() * kPrivetMaximumTimeRandomAddition; base 325 chrome/browser/local_discovery/privet_url_fetcher.cc base::MessageLoop::current()->PostDelayedTask( base 327 chrome/browser/local_discovery/privet_url_fetcher.cc base::Bind(&PrivetURLFetcher::Try, weak_factory_.GetWeakPtr()), base 328 chrome/browser/local_discovery/privet_url_fetcher.cc base::TimeDelta::FromSeconds(timeout_seconds_randomized)); base 334 chrome/browser/local_discovery/privet_url_fetcher.cc base::Bind(&PrivetURLFetcher::RefreshToken, weak_factory_.GetWeakPtr())); base 18 chrome/browser/local_discovery/privet_url_fetcher.h namespace base { base 39 chrome/browser/local_discovery/privet_url_fetcher.h typedef base::Callback<void(const std::string& /*token*/)> TokenCallback; base 52 chrome/browser/local_discovery/privet_url_fetcher.h const base::DictionaryValue* value, base 61 chrome/browser/local_discovery/privet_url_fetcher.h const base::FilePath& data_file); base 95 chrome/browser/local_discovery/privet_url_fetcher.h const base::FilePath& upload_file_path); base 129 chrome/browser/local_discovery/privet_url_fetcher.h base::FilePath upload_file_path_; base 132 chrome/browser/local_discovery/privet_url_fetcher.h base::WeakPtrFactory<PrivetURLFetcher> weak_factory_; base 42 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc const base::DictionaryValue* value, base 58 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc const base::FilePath& response_file) { base 62 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc EXPECT_TRUE(response_file != base::FilePath()); base 75 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc const base::DictionaryValue* saved_value() { return saved_value_.get(); } base 82 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc scoped_ptr<base::DictionaryValue> saved_value_; base 90 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc base::MessageLoopProxy::current()); base 103 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc void RunFor(base::TimeDelta time_period) { base 104 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc base::CancelableCallback<void()> callback(base::Bind( base 105 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc &PrivetURLFetcherTest::Stop, base::Unretained(this))); base 106 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 109 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc base::MessageLoop::current()->Run(); base 114 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc base::MessageLoop::current()->Quit(); base 118 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc base::MessageLoop loop_; base 137 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc const base::DictionaryValue* value = delegate_.saved_value(); base 155 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc RunFor(base::TimeDelta::FromSeconds(7)); base 290 chrome/browser/local_discovery/privet_url_fetcher_unittest.cc base::FilePath(FILE_PATH_LITERAL("sample/file"))); base 26 chrome/browser/local_discovery/pwg_raster_converter.cc FileHandlers() : pdf_file_(base::kInvalidPlatformFileValue), base 27 chrome/browser/local_discovery/pwg_raster_converter.cc pwg_file_(base::kInvalidPlatformFileValue) { } base 31 chrome/browser/local_discovery/pwg_raster_converter.cc if (pdf_file_ != base::kInvalidPlatformFileValue) base 32 chrome/browser/local_discovery/pwg_raster_converter.cc base::ClosePlatformFile(pdf_file_); base 33 chrome/browser/local_discovery/pwg_raster_converter.cc if (pwg_file_ != base::kInvalidPlatformFileValue) base 34 chrome/browser/local_discovery/pwg_raster_converter.cc base::ClosePlatformFile(pwg_file_); base 37 chrome/browser/local_discovery/pwg_raster_converter.cc void Init(base::RefCountedMemory* data); base 40 chrome/browser/local_discovery/pwg_raster_converter.cc base::FilePath GetPwgPath() const { base 44 chrome/browser/local_discovery/pwg_raster_converter.cc base::FilePath GetPdfPath() const { base 48 chrome/browser/local_discovery/pwg_raster_converter.cc IPC::PlatformFileForTransit GetPdfForProcess(base::ProcessHandle process) { base 49 chrome/browser/local_discovery/pwg_raster_converter.cc DCHECK_NE(pdf_file_, base::kInvalidPlatformFileValue); base 52 chrome/browser/local_discovery/pwg_raster_converter.cc pdf_file_ = base::kInvalidPlatformFileValue; base 56 chrome/browser/local_discovery/pwg_raster_converter.cc IPC::PlatformFileForTransit GetPwgForProcess(base::ProcessHandle process) { base 57 chrome/browser/local_discovery/pwg_raster_converter.cc DCHECK_NE(pwg_file_, base::kInvalidPlatformFileValue); base 60 chrome/browser/local_discovery/pwg_raster_converter.cc pwg_file_ = base::kInvalidPlatformFileValue; base 65 chrome/browser/local_discovery/pwg_raster_converter.cc base::ScopedTempDir temp_dir_; base 66 chrome/browser/local_discovery/pwg_raster_converter.cc base::PlatformFile pdf_file_; base 67 chrome/browser/local_discovery/pwg_raster_converter.cc base::PlatformFile pwg_file_; base 70 chrome/browser/local_discovery/pwg_raster_converter.cc void FileHandlers::Init(base::RefCountedMemory* data) { base 78 chrome/browser/local_discovery/pwg_raster_converter.cc base::WriteFile(GetPdfPath(), data->front_as<char>(), data->size())) { base 83 chrome/browser/local_discovery/pwg_raster_converter.cc pdf_file_ = base::CreatePlatformFile(GetPdfPath(), base::PLATFORM_FILE_OPEN | base 84 chrome/browser/local_discovery/pwg_raster_converter.cc base::PLATFORM_FILE_READ, base 86 chrome/browser/local_discovery/pwg_raster_converter.cc pwg_file_ = base::CreatePlatformFile(GetPwgPath(), base 87 chrome/browser/local_discovery/pwg_raster_converter.cc base::PLATFORM_FILE_CREATE_ALWAYS | base 88 chrome/browser/local_discovery/pwg_raster_converter.cc base::PLATFORM_FILE_APPEND, NULL, NULL); base 92 chrome/browser/local_discovery/pwg_raster_converter.cc return pdf_file_ != base::kInvalidPlatformFileValue && base 93 chrome/browser/local_discovery/pwg_raster_converter.cc pwg_file_ != base::kInvalidPlatformFileValue; base 114 chrome/browser/local_discovery/pwg_raster_converter.cc void Convert(base::RefCountedMemory* data, base 140 chrome/browser/local_discovery/pwg_raster_converter.cc base::WeakPtr<content::UtilityProcessHost> utility_process_host_; base 156 chrome/browser/local_discovery/pwg_raster_converter.cc base::RefCountedMemory* data, base 164 chrome/browser/local_discovery/pwg_raster_converter.cc base::Bind(&FileHandlers::Init, base::Unretained(files_.get()), base 166 chrome/browser/local_discovery/pwg_raster_converter.cc base::Bind(&PwgUtilityProcessHostClient::OnFilesReadyOnUIThread, this)); base 194 chrome/browser/local_discovery/pwg_raster_converter.cc base::ProcessHandle process = utility_process_host_->GetData().handle; base 221 chrome/browser/local_discovery/pwg_raster_converter.cc base::Bind(&PwgUtilityProcessHostClient::StartProcessOnIOThread, this)); base 229 chrome/browser/local_discovery/pwg_raster_converter.cc base::MessageLoop::current()->message_loop_proxy())->AsWeakPtr(); base 236 chrome/browser/local_discovery/pwg_raster_converter.cc base::Bind(&PwgUtilityProcessHostClient::RunCallbackOnUIThread, this, base 244 chrome/browser/local_discovery/pwg_raster_converter.cc base::Bind(callback_, success, base 256 chrome/browser/local_discovery/pwg_raster_converter.cc virtual void Start(base::RefCountedMemory* data, base 263 chrome/browser/local_discovery/pwg_raster_converter.cc base::CancelableCallback<ResultCallback::RunType> callback_; base 275 chrome/browser/local_discovery/pwg_raster_converter.cc base::RefCountedMemory* data, base 11 chrome/browser/local_discovery/pwg_raster_converter.h namespace base { base 32 chrome/browser/local_discovery/pwg_raster_converter.h typedef base::Callback<void(bool /*success*/, base 33 chrome/browser/local_discovery/pwg_raster_converter.h const base::FilePath& /*temp_file*/)> base 39 chrome/browser/local_discovery/pwg_raster_converter.h virtual void Start(base::RefCountedMemory* data, base 15 chrome/browser/local_discovery/service_discovery_client_mac.h namespace base { base 51 chrome/browser/local_discovery/service_discovery_client_mac.h scoped_ptr<base::Thread> service_discovery_thread_; base 63 chrome/browser/local_discovery/service_discovery_client_mac.h scoped_refptr<base::MessageLoopProxy> service_discovery_runner); base 79 chrome/browser/local_discovery/service_discovery_client_mac.h return base::MessageLoopProxy::current() == base 86 chrome/browser/local_discovery/service_discovery_client_mac.h scoped_refptr<base::MessageLoopProxy> callback_runner_; base 87 chrome/browser/local_discovery/service_discovery_client_mac.h scoped_refptr<base::MessageLoopProxy> service_discovery_runner_; base 89 chrome/browser/local_discovery/service_discovery_client_mac.h base::scoped_nsobject<id> delegate_; base 90 chrome/browser/local_discovery/service_discovery_client_mac.h base::scoped_nsobject<NSNetServiceBrowser> browser_; base 91 chrome/browser/local_discovery/service_discovery_client_mac.h base::WeakPtrFactory<NetServiceBrowserContainer> weak_factory_; base 97 chrome/browser/local_discovery/service_discovery_client_mac.h scoped_refptr<base::MessageLoopProxy> service_discovery_runner); base 118 chrome/browser/local_discovery/service_discovery_client_mac.h base::WeakPtrFactory<ServiceWatcherImplMac> weak_factory_; base 130 chrome/browser/local_discovery/service_discovery_client_mac.h scoped_refptr<base::MessageLoopProxy> service_discovery_runner); base 138 chrome/browser/local_discovery/service_discovery_client_mac.h void SetServiceForTesting(base::scoped_nsobject<NSNetService> service); base 146 chrome/browser/local_discovery/service_discovery_client_mac.h return base::MessageLoopProxy::current() == base 153 chrome/browser/local_discovery/service_discovery_client_mac.h scoped_refptr<base::MessageLoopProxy> callback_runner_; base 154 chrome/browser/local_discovery/service_discovery_client_mac.h scoped_refptr<base::MessageLoopProxy> service_discovery_runner_; base 156 chrome/browser/local_discovery/service_discovery_client_mac.h base::scoped_nsobject<id> delegate_; base 157 chrome/browser/local_discovery/service_discovery_client_mac.h base::scoped_nsobject<NSNetService> service_; base 159 chrome/browser/local_discovery/service_discovery_client_mac.h base::WeakPtrFactory<NetServiceContainer> weak_factory_; base 165 chrome/browser/local_discovery/service_discovery_client_mac.h scoped_refptr<base::MessageLoopProxy> service_discovery_runner); base 185 chrome/browser/local_discovery/service_discovery_client_mac.h base::WeakPtrFactory<ServiceResolverImplMac> weak_factory_; base 71 chrome/browser/local_discovery/service_discovery_client_mdns.cc base::MessageLoop::current()->PostDelayedTask( base 73 chrome/browser/local_discovery/service_discovery_client_mdns.cc base::Bind(&ServiceDiscoveryClientMdns::StartNewClient, base 75 chrome/browser/local_discovery/service_discovery_client_mdns.cc base::TimeDelta::FromSeconds(kRestartDelayOnNetworkChangeSeconds)); base 84 chrome/browser/local_discovery/service_discovery_client_mdns.cc base::Bind(&ServiceDiscoveryClientMdns::ScheduleStartNewClient, base 87 chrome/browser/local_discovery/service_discovery_client_mdns.cc base::MessageLoop::current()->PostDelayedTask( base 89 chrome/browser/local_discovery/service_discovery_client_mdns.cc base::Bind(&ServiceDiscoveryClientMdns::ReportSuccess, base 91 chrome/browser/local_discovery/service_discovery_client_mdns.cc base::TimeDelta::FromSeconds(kReportSuccessAfterSeconds)); base 42 chrome/browser/local_discovery/service_discovery_client_mdns.h friend class base::RefCounted<ServiceDiscoveryClientMdns>; base 51 chrome/browser/local_discovery/service_discovery_client_mdns.h base::WeakPtrFactory<ServiceDiscoveryClientMdns> weak_ptr_factory_; base 69 chrome/browser/local_discovery/service_discovery_device_lister.cc service_name, base::Bind( base 101 chrome/browser/local_discovery/service_discovery_device_lister.cc base::MessageLoop::current()->PostDelayedTask( base 103 chrome/browser/local_discovery/service_discovery_device_lister.cc base::Bind(&ServiceDiscoveryDeviceLister::OnServiceUpdated, base 107 chrome/browser/local_discovery/service_discovery_device_lister.cc base::TimeDelta::FromSeconds(kMacServiceResolvingIntervalSecs)); base 119 chrome/browser/local_discovery/service_discovery_device_lister.cc base::Bind(&ServiceDiscoveryDeviceLister::OnServiceUpdated, base 62 chrome/browser/local_discovery/service_discovery_device_lister.h base::WeakPtrFactory<ServiceDiscoveryDeviceLister> weak_factory_; base 32 chrome/browser/local_discovery/service_discovery_host_client.cc base::FileDescriptor socket_descriptor( base 179 chrome/browser/local_discovery/service_discovery_host_client.cc callback_runner_ = base::MessageLoop::current()->message_loop_proxy(); base 256 chrome/browser/local_discovery/service_discovery_host_client.cc const base::Closure& error_callback) { base 263 chrome/browser/local_discovery/service_discovery_host_client.cc base::Bind(&ServiceDiscoveryHostClient::StartOnIOThread, this)); base 270 chrome/browser/local_discovery/service_discovery_host_client.cc base::Bind(&ServiceDiscoveryHostClient::ShutdownOnIOThread, this)); base 281 chrome/browser/local_discovery/service_discovery_host_client.cc base::Bind(&GetSocketsOnFileThread), base 282 chrome/browser/local_discovery/service_discovery_host_client.cc base::Bind(&ServiceDiscoveryHostClient::OnSocketsReady, this)); base 289 chrome/browser/local_discovery/service_discovery_host_client.cc this, base::MessageLoopProxy::current().get())->AsWeakPtr(); base 311 chrome/browser/local_discovery/service_discovery_host_client.cc this, base::MessageLoopProxy::current().get())->AsWeakPtr(); base 329 chrome/browser/local_discovery/service_discovery_host_client.cc error_callback_ = base::Closure(); base 336 chrome/browser/local_discovery/service_discovery_host_client.cc base::Bind(&ServiceDiscoveryHostClient::SendOnIOThread, this, msg)); base 397 chrome/browser/local_discovery/service_discovery_host_client.cc base::Bind(&ServiceDiscoveryHostClient::RunWatcherCallback, this, id, base 408 chrome/browser/local_discovery/service_discovery_host_client.cc base::Bind(&ServiceDiscoveryHostClient::RunResolverCallback, this, id, base 420 chrome/browser/local_discovery/service_discovery_host_client.cc base::Bind(&ServiceDiscoveryHostClient::RunLocalDomainResolverCallback, base 18 chrome/browser/local_discovery/service_discovery_host_client.h namespace base { base 41 chrome/browser/local_discovery/service_discovery_host_client.h void Start(const base::Closure& error_callback); base 129 chrome/browser/local_discovery/service_discovery_host_client.h base::WeakPtr<content::UtilityProcessHost> utility_host_; base 133 chrome/browser/local_discovery/service_discovery_host_client.h base::Closure error_callback_; base 137 chrome/browser/local_discovery/service_discovery_host_client.h scoped_refptr<base::TaskRunner> callback_runner_; base 138 chrome/browser/local_discovery/service_discovery_host_client.h scoped_refptr<base::TaskRunner> io_runner_; base 13 chrome/browser/local_discovery/service_discovery_shared_client.h : public base::RefCounted<ServiceDiscoverySharedClient>, base 23 chrome/browser/local_discovery/service_discovery_shared_client.h friend class base::RefCounted<ServiceDiscoverySharedClient>; base 45 chrome/browser/local_discovery/storage/path_util.cc std::string PathStringToString(const base::FilePath::StringType& string) { base 47 chrome/browser/local_discovery/storage/path_util.cc return base::UTF16ToUTF8(string); base 55 chrome/browser/local_discovery/storage/path_util.cc base::FilePath NormalizeFilePath(const base::FilePath& path) { base 57 chrome/browser/local_discovery/storage/path_util.cc base::FilePath::StringType path_updated_string = path.value(); base 61 chrome/browser/local_discovery/storage/path_util.cc static_cast<base::FilePath::CharType>('\\'), base 62 chrome/browser/local_discovery/storage/path_util.cc static_cast<base::FilePath::CharType>('/')); base 63 chrome/browser/local_discovery/storage/path_util.cc return base::FilePath(path_updated_string); base 69 chrome/browser/local_discovery/storage/path_util.cc ParsedPrivetPath::ParsedPrivetPath(const base::FilePath& file_path) { base 70 chrome/browser/local_discovery/storage/path_util.cc std::vector<base::FilePath::StringType> components; base 12 chrome/browser/local_discovery/storage/path_util.h base::FilePath NormalizeFilePath(const base::FilePath& path); base 15 chrome/browser/local_discovery/storage/path_util.h explicit ParsedPrivetPath(const base::FilePath& path); base 11 chrome/browser/local_discovery/storage/path_util_unittest.cc ParsedPrivetPath path(base::FilePath(FILE_PATH_LITERAL( base 19 chrome/browser/local_discovery/storage/path_util_unittest.cc ParsedPrivetPath path(base::FilePath(FILE_PATH_LITERAL( base 32 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION, base 33 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc base::PassPlatformFile(NULL), base 34 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc base::Closure()); base 42 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION, false); base 52 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 62 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc base::File::Info file_info; base 65 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_OK, file_info); base 72 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc base::Bind(&PrivetFileSystemOperationFactory::GetFileInfo, base 85 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc base::Bind(&PrivetFileSystemOperationFactory::ReadDirectory, base 95 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc const base::Time& last_access_time, base 96 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc const base::Time& last_modified_time, base 99 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 108 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 119 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 129 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 134 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc const base::FilePath& src_file_path, base 138 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 146 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 154 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 162 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 170 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION, base 171 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc base::File::Info(), base 172 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc base::FilePath(), base 46 chrome/browser/local_discovery/storage/privet_filesystem_async_util.h const base::Time& last_access_time, base 47 chrome/browser/local_discovery/storage/privet_filesystem_async_util.h const base::Time& last_modified_time, base 69 chrome/browser/local_discovery/storage/privet_filesystem_async_util.h const base::FilePath& src_file_path, base 16 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc const base::File::Info* PrivetFileSystemAttributeCache::GetFileInfo( base 17 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc const base::FilePath& full_path) { base 29 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc const base::FilePath& full_path, base 30 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc const base::DictionaryValue* json) { base 33 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc const base::ListValue* entry_list; base 38 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc const base::DictionaryValue* entry_value; base 51 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc const base::FilePath& full_path, base 52 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc const base::DictionaryValue* json) { base 53 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc base::File::Info file_info; base 21 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h const base::File::Info* GetFileInfo(const base::FilePath& full_path); base 24 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h void AddFileInfoFromJSON(const base::FilePath& full_path, base 25 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h const base::DictionaryValue* json); base 28 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h typedef std::map<base::FilePath, base::File::Info> FileInfoMap; base 30 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h void AddEntryInfoFromJSON(const base::FilePath& full_path, base 31 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h const base::DictionaryValue* json); base 33 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc scoped_ptr<base::Value> json(base::JSONReader::Read(kPrivetStorageJSON)); base 34 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::DictionaryValue* dictionary_json; base 38 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc base::FilePath(FILE_PATH_LITERAL("/test/path/foo")), dictionary_json); base 40 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_foo = base 41 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc cache_.GetFileInfo(base::FilePath(FILE_PATH_LITERAL("/test/path/foo"))); base 45 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_bar = cache_.GetFileInfo( base 46 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc base::FilePath(FILE_PATH_LITERAL("/test/path/foo/bar"))); base 50 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_baz = cache_.GetFileInfo( base 51 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc base::FilePath(FILE_PATH_LITERAL("/test/path/foo/baz.txt"))); base 56 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_notfound = cache_.GetFileInfo( base 57 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc base::FilePath(FILE_PATH_LITERAL("/test/path/foo/notfound.txt"))); base 36 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc base::FilePath(kPrivetFilePath)); base 46 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc callback.Run(root_url, std::string(), base::File::FILE_OK); base 61 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc fileapi::FileSystemType type, base::File::Error* error_code) { base 63 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc *error_code = base::File::FILE_OK; base 71 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc base::File::Error* error_code) const { base 86 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc const base::Time& expected_modification_time, base 41 chrome/browser/local_discovery/storage/privet_filesystem_backend.h base::File::Error* error_code) OVERRIDE; base 46 chrome/browser/local_discovery/storage/privet_filesystem_backend.h base::File::Error* error_code) const OVERRIDE; base 54 chrome/browser/local_discovery/storage/privet_filesystem_backend.h const base::Time& expected_modification_time, base 9 chrome/browser/local_discovery/storage/privet_filesystem_constants.cc const base::FilePath::CharType kPrivetFilePath[] = FILE_PATH_LITERAL("/privet"); base 12 chrome/browser/local_discovery/storage/privet_filesystem_constants.h extern const base::FilePath::CharType kPrivetFilePath[]; base 54 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::FilePath& full_path, base 75 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Bind( base 77 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Unretained(this)))); base 95 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Bind(&PrivetFileSystemAsyncOperationUtil::OnGotPrivetHTTP, base 96 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Unretained(this))); base 109 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::FilePath& full_path, base 142 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Bind(&PrivetFileSystemListOperation::OnStorageListResult, base 143 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Unretained(this))); base 148 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::DictionaryValue* value) { base 161 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::ListValue* entries; base 168 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::DictionaryValue* entry_value; base 187 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Time() /* TODO(noamsml) */); base 192 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_OK, entry_list, false); base 197 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_ERROR_FAILED, base 203 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::File::Error result, base 210 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Bind(callback_, result, file_list, has_more)); base 215 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::FilePath& full_path, base 234 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::File::Info* info = attribute_cache_->GetFileInfo(full_path_); base 236 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_OK, *info); base 254 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Bind(&PrivetFileSystemDetailsOperation::OnStorageListResult, base 255 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Unretained(this))); base 260 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::DictionaryValue* value) { base 265 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::File::Info* info = attribute_cache_->GetFileInfo(full_path_); base 268 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_OK, *info); base 276 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_ERROR_FAILED, base::File::Info()); base 280 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::File::Error result, base 281 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::File::Info& info) { base 285 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::Bind(callback_, result, info)); base 53 chrome/browser/local_discovery/storage/privet_filesystem_operations.h base::WeakPtr<PrivetFileSystemOperationFactory> GetWeakPtr() { base 65 chrome/browser/local_discovery/storage/privet_filesystem_operations.h base::WeakPtrFactory<PrivetFileSystemOperationFactory> weak_factory_; base 83 chrome/browser/local_discovery/storage/privet_filesystem_operations.h PrivetFileSystemAsyncOperationUtil(const base::FilePath& full_path, base 106 chrome/browser/local_discovery/storage/privet_filesystem_operations.h base::WeakPtrFactory<PrivetFileSystemAsyncOperationUtil> weak_factory_; base 114 chrome/browser/local_discovery/storage/privet_filesystem_operations.h const base::FilePath& full_path, base 128 chrome/browser/local_discovery/storage/privet_filesystem_operations.h void OnStorageListResult(const base::DictionaryValue* value); base 131 chrome/browser/local_discovery/storage/privet_filesystem_operations.h base::File::Error result, base 136 chrome/browser/local_discovery/storage/privet_filesystem_operations.h base::FilePath full_path_; base 149 chrome/browser/local_discovery/storage/privet_filesystem_operations.h const base::FilePath& full_path, base 162 chrome/browser/local_discovery/storage/privet_filesystem_operations.h void OnStorageListResult(const base::DictionaryValue* value); base 164 chrome/browser/local_discovery/storage/privet_filesystem_operations.h void TriggerCallbackAndDestroy(base::File::Error result, base 165 chrome/browser/local_discovery/storage/privet_filesystem_operations.h const base::File::Info& info); base 168 chrome/browser/local_discovery/storage/privet_filesystem_operations.h base::FilePath full_path_; base 76 chrome/browser/local_discovery/storage/privet_volume_lister.cc base::MessageLoop::current()->PostDelayedTask( base 78 chrome/browser/local_discovery/storage/privet_volume_lister.cc base::Bind(&PrivetVolumeLister::FinishSearch, base 80 chrome/browser/local_discovery/storage/privet_volume_lister.cc base::TimeDelta::FromMilliseconds(kVolumeSearchDurationMs)); base 94 chrome/browser/local_discovery/storage/privet_volume_lister.cc base::FilePath mount_root = base::FilePath( base 34 chrome/browser/local_discovery/storage/privet_volume_lister.h base::FilePath volume_path; base 38 chrome/browser/local_discovery/storage/privet_volume_lister.h typedef base::Callback<void(const VolumeList&)> ResultCallback; base 68 chrome/browser/local_discovery/storage/privet_volume_lister.h base::WeakPtrFactory<PrivetVolumeLister> weak_factory_; base 45 chrome/browser/locale_tests_browsertest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 17 chrome/browser/logging_chrome_unittest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 27 chrome/browser/logging_chrome_unittest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 39 chrome/browser/logging_chrome_unittest.cc base::FilePath filename = logging::GetLogFileName(); base 40 chrome/browser/logging_chrome_unittest.cc ASSERT_NE(base::FilePath::StringType::npos, base 50 chrome/browser/logging_chrome_unittest.cc base::FilePath filename = logging::GetLogFileName(); base 51 chrome/browser/logging_chrome_unittest.cc ASSERT_EQ(base::FilePath(FILE_PATH_LITERAL("test value")).value(), base 92 chrome/browser/mac/keystone_glue.h base::scoped_nsobject<NSNotification> recentNotification_; base 96 chrome/browser/mac/keystone_glue.h base::mac::ScopedAuthorizationRef authorization_; base 210 chrome/browser/mac/keystone_glue.h base::string16 CurrentlyInstalledVersion(); base 15 chrome/browser/mac/master_prefs.h base::FilePath MasterPrefsPath(); base 26 chrome/browser/mac/obsolete_system.cc base::string16 ObsoleteSystemMac::LocalizedObsoleteSystemString() { base 39 chrome/browser/mac/obsolete_system.h static base::string16 LocalizedObsoleteSystemString(); base 41 chrome/browser/mac/obsolete_system.h static base::string16 LocalizedObsoleteSystemString() { base 42 chrome/browser/mac/obsolete_system.h return base::string16(); base 71 chrome/browser/mac/relauncher.cc return base::StringPrintf("--%s=%s", base 85 chrome/browser/mac/relauncher.cc base::FilePath child_path; base 104 chrome/browser/mac/relauncher.cc if (!base::mac::AmIForeground()) { base 136 chrome/browser/mac/relauncher.cc base::ScopedFD pipe_read_fd(pipe_fds[0]); base 137 chrome/browser/mac/relauncher.cc base::ScopedFD pipe_write_fd(pipe_fds[1]); base 147 chrome/browser/mac/relauncher.cc base::FileHandleMappingVector fd_map; base 150 chrome/browser/mac/relauncher.cc base::LaunchOptions options; base 152 chrome/browser/mac/relauncher.cc if (!base::LaunchProcess(relaunch_args, options, NULL)) { base 189 chrome/browser/mac/relauncher.cc base::ScopedFD relauncher_sync_fd(kRelauncherSyncFD); base 203 chrome/browser/mac/relauncher.cc base::ScopedFD kq(kqueue()); base 286 chrome/browser/mac/relauncher.cc base::ScopedCFTypeRef<CFMutableArrayRef> relaunch_args( base 327 chrome/browser/mac/relauncher.cc base::ScopedCFTypeRef<CFStringRef> arg_cf( base 328 chrome/browser/mac/relauncher.cc base::SysUTF8ToCFStringRef(arg)); base 344 chrome/browser/mac/relauncher.cc if (!base::mac::FSRefFromPath(relaunch_executable, &app_fsref)) { base 48 chrome/browser/mac/security_wrappers.h base::ScopedCFTypeRef<SecKeychainItemRef> item_; base 49 chrome/browser/mac/security_wrappers.h base::ScopedCFTypeRef<SecAccessRef> access_; base 59 chrome/browser/mac/security_wrappers.h base::ScopedCFTypeRef<CFArrayRef> application_list; base 60 chrome/browser/mac/security_wrappers.h base::ScopedCFTypeRef<CFStringRef> description; base 28 chrome/browser/managed_mode/chromeos/managed_user_password_service.cc base::Bind(&ManagedUserPasswordService::OnSharedSettingsChange, base 55 chrome/browser/managed_mode/chromeos/managed_user_password_service.cc const base::Value* value = settings_service_->GetValue(mu_id, key); base 60 chrome/browser/managed_mode/chromeos/managed_user_password_service.cc const base::DictionaryValue* dict; base 39 chrome/browser/managed_mode/chromeos/managed_user_password_service.h base::WeakPtrFactory<ManagedUserPasswordService> weak_ptr_factory_; base 31 chrome/browser/managed_mode/chromeos/manager_password_service.cc base::Bind(&ManagerPasswordService::OnSharedSettingsChange, base 67 chrome/browser/managed_mode/chromeos/manager_password_service.cc const base::Value* value = settings_service_->GetValue(mu_id, key); base 73 chrome/browser/managed_mode/chromeos/manager_password_service.cc const base::DictionaryValue* dict; base 86 chrome/browser/managed_mode/chromeos/manager_password_service.cc scoped_ptr<base::DictionaryValue> wrapper(dict->DeepCopy()); base 88 chrome/browser/managed_mode/chromeos/manager_password_service.cc base::Bind(&ManagerPasswordService::GetManagedUsersCallback, base 98 chrome/browser/managed_mode/chromeos/manager_password_service.cc scoped_ptr<base::DictionaryValue> password_data, base 99 chrome/browser/managed_mode/chromeos/manager_password_service.cc const base::DictionaryValue* managed_users) { base 100 chrome/browser/managed_mode/chromeos/manager_password_service.cc const base::DictionaryValue* managed_user = NULL; base 165 chrome/browser/managed_mode/chromeos/manager_password_service.cc base::Bind(&ManagerPasswordService::OnAddKeySuccess, base 184 chrome/browser/managed_mode/chromeos/manager_password_service.cc scoped_ptr<base::DictionaryValue> password_data) { base 207 chrome/browser/managed_mode/chromeos/manager_password_service.cc base::Bind(&ManagerPasswordService::OnContextTransformed, base 226 chrome/browser/managed_mode/chromeos/manager_password_service.cc base::Bind(&ManagerPasswordService::OnNewManagerKeySuccess, base 237 chrome/browser/managed_mode/chromeos/manager_password_service.cc base::Bind(&ManagerPasswordService::OnOldManagedUserKeyDeleted, base 248 chrome/browser/managed_mode/chromeos/manager_password_service.cc base::Bind(&ManagerPasswordService::OnOldManagerKeyDeleted, base 50 chrome/browser/managed_mode/chromeos/manager_password_service.h scoped_ptr<base::DictionaryValue> password_data, base 51 chrome/browser/managed_mode/chromeos/manager_password_service.h const base::DictionaryValue* managed_users); base 54 chrome/browser/managed_mode/chromeos/manager_password_service.h scoped_ptr<base::DictionaryValue> password_data); base 71 chrome/browser/managed_mode/chromeos/manager_password_service.h base::WeakPtrFactory<ManagerPasswordService> weak_ptr_factory_; base 18 chrome/browser/managed_mode/custodian_profile_downloader_service.h typedef base::Callback<void(const base::string16& /* full name */)> base 114 chrome/browser/managed_mode/managed_mode_browsertest.cc scoped_ptr<base::Value>( base 115 chrome/browser/managed_mode/managed_mode_browsertest.cc new base::FundamentalValue(ManagedModeURLFilter::BLOCK))); base 137 chrome/browser/managed_mode/managed_mode_browsertest.cc base::RunLoop run_loop; base 139 chrome/browser/managed_mode/managed_mode_browsertest.cc base::UTF8ToUTF16(text_query), base 142 chrome/browser/managed_mode/managed_mode_browsertest.cc base::Bind(&ManagedModeBlockModeTest::QueryHistoryComplete, base 143 chrome/browser/managed_mode/managed_mode_browsertest.cc base::Unretained(this), base 150 chrome/browser/managed_mode/managed_mode_browsertest.cc base::RunLoop* run_loop, base 185 chrome/browser/managed_mode/managed_mode_browsertest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 192 chrome/browser/managed_mode/managed_mode_browsertest.cc dict.PassAs<base::Value>()); base 250 chrome/browser/managed_mode/managed_mode_browsertest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 257 chrome/browser/managed_mode/managed_mode_browsertest.cc dict.PassAs<base::Value>()); base 40 chrome/browser/managed_mode/managed_mode_interstitial.cc const base::Callback<void(bool)>& callback) base 88 chrome/browser/managed_mode/managed_mode_interstitial.cc base::Bind(&ManagedModeInterstitial::OnFilteringPrefsChanged, base 89 chrome/browser/managed_mode/managed_mode_interstitial.cc base::Unretained(this))); base 92 chrome/browser/managed_mode/managed_mode_interstitial.cc base::Bind(&ManagedModeInterstitial::OnFilteringPrefsChanged, base 93 chrome/browser/managed_mode/managed_mode_interstitial.cc base::Unretained(this))); base 96 chrome/browser/managed_mode/managed_mode_interstitial.cc base::Bind(&ManagedModeInterstitial::OnFilteringPrefsChanged, base 97 chrome/browser/managed_mode/managed_mode_interstitial.cc base::Unretained(this))); base 108 chrome/browser/managed_mode/managed_mode_interstitial.cc base::DictionaryValue strings; base 120 chrome/browser/managed_mode/managed_mode_interstitial.cc base::string16 custodian = base 121 chrome/browser/managed_mode/managed_mode_interstitial.cc base::UTF8ToUTF16(managed_user_service->GetCustodianName()); base 142 chrome/browser/managed_mode/managed_mode_interstitial.cc base::StringPiece html(ResourceBundle::GetSharedInstance().GetRawDataResource( base 214 chrome/browser/managed_mode/managed_mode_interstitial.cc BrowserThread::IO, FROM_HERE, base::Bind(callback_, continue_request)); base 28 chrome/browser/managed_mode/managed_mode_interstitial.h const base::Callback<void(bool)>& callback); base 57 chrome/browser/managed_mode/managed_mode_interstitial.h base::Callback<void(bool)> callback_; base 43 chrome/browser/managed_mode/managed_mode_navigation_observer.cc using base::Time; base 96 chrome/browser/managed_mode/managed_mode_navigation_observer.cc virtual base::string16 GetMessageText() const OVERRIDE; base 98 chrome/browser/managed_mode/managed_mode_navigation_observer.cc virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 130 chrome/browser/managed_mode/managed_mode_navigation_observer.cc base::string16 ManagedModeWarningInfoBarDelegate::GetMessageText() const { base 138 chrome/browser/managed_mode/managed_mode_navigation_observer.cc base::string16 ManagedModeWarningInfoBarDelegate::GetButtonLabel( base 199 chrome/browser/managed_mode/managed_mode_navigation_observer.cc const base::string16& frame_unique_name, base 222 chrome/browser/managed_mode/managed_mode_navigation_observer.cc const base::Callback<void(bool)>& callback) { base 227 chrome/browser/managed_mode/managed_mode_navigation_observer.cc content::BrowserThread::IO, FROM_HERE, base::Bind(callback, false)); base 43 chrome/browser/managed_mode/managed_mode_navigation_observer.h const base::Callback<void(bool)>& callback); base 56 chrome/browser/managed_mode/managed_mode_navigation_observer.h const base::string16& frame_unique_name, base 45 chrome/browser/managed_mode/managed_mode_resource_throttle.cc base::Bind(&ManagedModeNavigationObserver::OnRequestBlocked, base 47 chrome/browser/managed_mode/managed_mode_resource_throttle.cc base::Bind(&ManagedModeResourceThrottle::OnInterstitialResult, base 42 chrome/browser/managed_mode/managed_mode_resource_throttle.h base::WeakPtrFactory<ManagedModeResourceThrottle> weak_ptr_factory_; base 62 chrome/browser/managed_mode/managed_mode_resource_throttle_browsertest.cc scoped_ptr<base::Value>( base 63 chrome/browser/managed_mode/managed_mode_resource_throttle_browsertest.cc new base::FundamentalValue(ManagedModeURLFilter::BLOCK))); base 13 chrome/browser/managed_mode/managed_mode_site_list.cc using base::DictionaryValue; base 14 chrome/browser/managed_mode/managed_mode_site_list.cc using base::ListValue; base 15 chrome/browser/managed_mode/managed_mode_site_list.cc using base::Value; base 71 chrome/browser/managed_mode/managed_mode_site_list.cc void AddWhitelistEntries(const base::DictionaryValue* site_dict, base 76 chrome/browser/managed_mode/managed_mode_site_list.cc const base::ListValue* whitelist = NULL; base 79 chrome/browser/managed_mode/managed_mode_site_list.cc for (base::ListValue::const_iterator whitelist_it = whitelist->begin(); base 92 chrome/browser/managed_mode/managed_mode_site_list.cc const base::ListValue* hash_list = NULL; base 95 chrome/browser/managed_mode/managed_mode_site_list.cc for (base::ListValue::const_iterator hash_list_it = hash_list->begin(); base 128 chrome/browser/managed_mode/managed_mode_site_list.cc ManagedModeSiteList::Site::Site(const base::string16& name, base 137 chrome/browser/managed_mode/managed_mode_site_list.cc const base::FilePath& path) base 151 chrome/browser/managed_mode/managed_mode_site_list.cc std::vector<base::string16>* categories) { base 154 chrome/browser/managed_mode/managed_mode_site_list.cc categories->push_back(base::ASCIIToUTF16(g_categories[i].name)); base 162 chrome/browser/managed_mode/managed_mode_site_list.cc for (base::ListValue::iterator entry_it = sites_->begin(); base 164 chrome/browser/managed_mode/managed_mode_site_list.cc base::DictionaryValue* entry = NULL; base 170 chrome/browser/managed_mode/managed_mode_site_list.cc base::string16 name; base 176 chrome/browser/managed_mode/managed_mode_site_list.cc const base::ListValue* categories = NULL; base 178 chrome/browser/managed_mode/managed_mode_site_list.cc for (base::ListValue::const_iterator it = categories->begin(); base 200 chrome/browser/managed_mode/managed_mode_site_list.cc scoped_ptr<base::Value> value(serializer.Deserialize(NULL, &error)); base 207 chrome/browser/managed_mode/managed_mode_site_list.cc base::DictionaryValue* dict = NULL; base 224 chrome/browser/managed_mode/managed_mode_site_list.cc base::ListValue* sites = NULL; base 228 chrome/browser/managed_mode/managed_mode_site_list.cc base::DictionaryValue* categories = NULL; base 235 chrome/browser/managed_mode/managed_mode_site_list.cc void ManagedModeSiteList::CopyThumbnailUrl(const base::DictionaryValue* source, base 236 chrome/browser/managed_mode/managed_mode_site_list.cc base::DictionaryValue* dest) { base 18 chrome/browser/managed_mode/managed_mode_site_list.h namespace base { base 36 chrome/browser/managed_mode/managed_mode_site_list.h Site(const base::string16& name, int category_id); base 40 chrome/browser/managed_mode/managed_mode_site_list.h base::string16 name; base 56 chrome/browser/managed_mode/managed_mode_site_list.h const base::FilePath& path); base 66 chrome/browser/managed_mode/managed_mode_site_list.h static void GetCategoryNames(std::vector<base::string16>* categories); base 73 chrome/browser/managed_mode/managed_mode_site_list.h void CopyThumbnailUrl(const base::DictionaryValue* source, base 74 chrome/browser/managed_mode/managed_mode_site_list.h base::DictionaryValue* dest); base 77 chrome/browser/managed_mode/managed_mode_site_list.h base::FilePath path_; base 78 chrome/browser/managed_mode/managed_mode_site_list.h scoped_ptr<base::DictionaryValue> categories_; base 79 chrome/browser/managed_mode/managed_mode_site_list.h scoped_ptr<base::ListValue> sites_; base 34 chrome/browser/managed_mode/managed_mode_url_filter.cc base::hash_multimap<std::string, int> hash_site_map; base 217 chrome/browser/managed_mode/managed_mode_url_filter.cc std::string hash = base::SHA1HashString(url.host()); base 218 chrome/browser/managed_mode/managed_mode_url_filter.cc return base::HexEncode(hash.data(), hash.length()); base 322 chrome/browser/managed_mode/managed_mode_url_filter.cc typedef base::hash_multimap<std::string, int>::const_iterator base 342 chrome/browser/managed_mode/managed_mode_url_filter.cc base::PostTaskAndReplyWithResult( base 345 chrome/browser/managed_mode/managed_mode_url_filter.cc base::Bind(&LoadWhitelistsOnBlockingPoolThread, base 346 chrome/browser/managed_mode/managed_mode_url_filter.cc base::Passed(&site_lists)), base 347 chrome/browser/managed_mode/managed_mode_url_filter.cc base::Bind(&ManagedModeURLFilter::SetContents, this)); base 354 chrome/browser/managed_mode/managed_mode_url_filter.cc base::PostTaskAndReplyWithResult( base 357 chrome/browser/managed_mode/managed_mode_url_filter.cc base::Bind(&CreateWhitelistFromPatterns, patterns), base 358 chrome/browser/managed_mode/managed_mode_url_filter.cc base::Bind(&ManagedModeURLFilter::SetContents, this)); base 33 chrome/browser/managed_mode/managed_mode_url_filter.h : public base::RefCountedThreadSafe<ManagedModeURLFilter>, base 34 chrome/browser/managed_mode/managed_mode_url_filter.h public base::NonThreadSafe { base 106 chrome/browser/managed_mode/managed_mode_url_filter.h friend class base::RefCountedThreadSafe<ManagedModeURLFilter>; base 36 chrome/browser/managed_mode/managed_mode_url_filter_unittest.cc base::MessageLoop message_loop_; base 37 chrome/browser/managed_mode/managed_mode_url_filter_unittest.cc base::RunLoop run_loop_; base 26 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc using base::Time; base 156 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc base::StringPrintf(kAuthorizationHeaderFormat, access_token.c_str())); base 158 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc std::string body = base::StringPrintf( base 207 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc scoped_ptr<base::Value> value(base::JSONReader::Read(response_body)); base 208 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc base::DictionaryValue* dict = NULL; base 34 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.h typedef base::Callback<void(const GoogleServiceAuthError& /* error */, base 121 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc base::WeakPtrFactory<ManagedUserRefreshTokenFetcherTest> weak_ptr_factory_; base 135 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc base::Bind( base 183 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc base::Time expiration_date = base::Time::Now() + base 184 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc base::TimeDelta::FromHours(1); base 202 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc base::StringPrintf(kIssueTokenResponseFormat, base 208 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc base::StringPrintf(kGetRefreshTokenResponseFormat, base 32 chrome/browser/managed_mode/managed_user_registration_utility.cc using base::DictionaryValue; base 117 chrome/browser/managed_mode/managed_user_registration_utility.cc base::WeakPtrFactory<ManagedUserRegistrationUtilityImpl> weak_ptr_factory_; base 125 chrome/browser/managed_mode/managed_user_registration_utility.cc const base::string16& name, base 176 chrome/browser/managed_mode/managed_user_registration_utility.cc base::Base64Encode(base::RandBytesAsString(8), &new_managed_user_id); base 232 chrome/browser/managed_mode/managed_user_registration_utility.cc const base::DictionaryValue* dict = base 237 chrome/browser/managed_mode/managed_user_registration_utility.cc base::UTF16ToUTF8(info.name), base 243 chrome/browser/managed_mode/managed_user_registration_utility.cc const base::DictionaryValue* value = NULL; base 262 chrome/browser/managed_mode/managed_user_registration_utility.cc base::UTF16ToUTF8(info.name), base 284 chrome/browser/managed_mode/managed_user_registration_utility.cc base::FundamentalValue(info.avatar_index)); base 290 chrome/browser/managed_mode/managed_user_registration_utility.cc scoped_ptr<base::Value>(info.password_data.DeepCopy()), base 291 chrome/browser/managed_mode/managed_user_registration_utility.cc base::Bind( base 297 chrome/browser/managed_mode/managed_user_registration_utility.cc base::Bind(&ManagedUserRegistrationUtilityImpl::FetchToken, base 335 chrome/browser/managed_mode/managed_user_registration_utility.cc base::Bind(&ManagedUserRegistrationUtilityImpl::OnReceivedToken, base 36 chrome/browser/managed_mode/managed_user_registration_utility.h ManagedUserRegistrationInfo(const base::string16& name, int avatar_index); base 39 chrome/browser/managed_mode/managed_user_registration_utility.h base::string16 name; base 43 chrome/browser/managed_mode/managed_user_registration_utility.h base::DictionaryValue password_data; base 56 chrome/browser/managed_mode/managed_user_registration_utility.h typedef base::Callback<void(const GoogleServiceAuthError& /* error */, base 30 chrome/browser/managed_mode/managed_user_registration_utility_stub.h base::string16 display_name() { return display_name_; } base 41 chrome/browser/managed_mode/managed_user_registration_utility_stub.h base::string16 display_name_; base 123 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc base::MessageLoop message_loop_; base 124 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc base::RunLoop run_loop_; base 143 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc base::WeakPtrFactory<ManagedUserRegistrationUtilityTest> weak_ptr_factory_; base 163 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc base::RunLoop().RunUntilIdle(); base 191 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc return base::Bind( base 224 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc base::Time()))); base 244 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc ManagedUserRegistrationInfo(base::ASCIIToUTF16("Dug"), 0), base 257 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc ManagedUserRegistrationInfo(base::ASCIIToUTF16("Nemo"), 5), base 272 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc ManagedUserRegistrationInfo(base::ASCIIToUTF16("Remy"), 12), base 286 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc ManagedUserRegistrationInfo(base::ASCIIToUTF16("Mike"), 17), base 59 chrome/browser/managed_mode/managed_user_service.cc using base::DictionaryValue; base 98 chrome/browser/managed_mode/managed_user_service.cc base::Bind(&ManagedModeURLFilter::SetDefaultFilteringBehavior, base 116 chrome/browser/managed_mode/managed_user_service.cc base::Bind(&ManagedModeURLFilter::LoadWhitelists, base 117 chrome/browser/managed_mode/managed_user_service.cc io_url_filter_, base::Passed(&site_lists_copy))); base 126 chrome/browser/managed_mode/managed_user_service.cc base::Bind(&ManagedModeURLFilter::SetManualHosts, base 127 chrome/browser/managed_mode/managed_user_service.cc io_url_filter_, base::Owned(host_map.release()))); base 136 chrome/browser/managed_mode/managed_user_service.cc base::Bind(&ManagedModeURLFilter::SetManualURLs, base 137 chrome/browser/managed_mode/managed_user_service.cc io_url_filter_, base::Owned(url_map.release()))); base 256 chrome/browser/managed_mode/managed_user_service.cc return base::UTF16ToUTF8(chromeos::UserManager::Get()-> base 291 chrome/browser/managed_mode/managed_user_service.cc base::string16* error) const { base 292 chrome/browser/managed_mode/managed_user_service.cc base::string16 tmp_error; base 329 chrome/browser/managed_mode/managed_user_service.cc base::string16* error) const { base 392 chrome/browser/managed_mode/managed_user_service.cc base::string16* error) const { base 470 chrome/browser/managed_mode/managed_user_service.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 473 chrome/browser/managed_mode/managed_user_service.cc dict->SetDouble(kManagedUserAccessRequestTime, base::Time::Now().ToJsTime()); base 480 chrome/browser/managed_mode/managed_user_service.cc const base::Value* value = base 490 chrome/browser/managed_mode/managed_user_service.cc GetSettingsService()->UploadItem(key, dict.PassAs<base::Value>()); base 495 chrome/browser/managed_mode/managed_user_service.cc const base::DictionaryValue* dict = base 506 chrome/browser/managed_mode/managed_user_service.cc const base::DictionaryValue* dict = base 518 chrome/browser/managed_mode/managed_user_service.cc const base::DictionaryValue* dict = base 520 chrome/browser/managed_mode/managed_user_service.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { base 586 chrome/browser/managed_mode/managed_user_service.cc base::Bind(&ManagedUserService::OnDefaultFilteringBehaviorChanged, base 587 chrome/browser/managed_mode/managed_user_service.cc base::Unretained(this))); base 589 chrome/browser/managed_mode/managed_user_service.cc base::Bind(&ManagedUserService::UpdateManualHosts, base 590 chrome/browser/managed_mode/managed_user_service.cc base::Unretained(this))); base 592 chrome/browser/managed_mode/managed_user_service.cc base::Bind(&ManagedUserService::UpdateManualURLs, base 593 chrome/browser/managed_mode/managed_user_service.cc base::Unretained(this))); base 616 chrome/browser/managed_mode/managed_user_service.cc base::string16 name = base::UTF8ToUTF16( base 624 chrome/browser/managed_mode/managed_user_service.cc base::Bind(&ManagedUserService::OnManagedUserRegistered, base 634 chrome/browser/managed_mode/managed_user_service.cc base::Bind(&ManagedUserService::OnCustodianProfileDownloaded, base 639 chrome/browser/managed_mode/managed_user_service.cc const base::string16& full_name) { base 641 chrome/browser/managed_mode/managed_user_service.cc base::UTF16ToUTF8(full_name)); base 669 chrome/browser/managed_mode/managed_user_service.cc const base::DictionaryValue* dict = base 673 chrome/browser/managed_mode/managed_user_service.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { base 683 chrome/browser/managed_mode/managed_user_service.cc const base::DictionaryValue* dict = base 686 chrome/browser/managed_mode/managed_user_service.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { base 709 chrome/browser/managed_mode/managed_user_service.cc base::Int64ToString(base::TimeTicks::Now().ToInternalValue())); base 711 chrome/browser/managed_mode/managed_user_service.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 714 chrome/browser/managed_mode/managed_user_service.cc dict->SetDouble(kEventTimestamp, base::Time::Now().ToJsTime()); base 716 chrome/browser/managed_mode/managed_user_service.cc GetSettingsService()->UploadItem(key, dict.PassAs<base::Value>()); base 46 chrome/browser/managed_mode/managed_user_service.h typedef std::vector<base::string16> CategoryList; base 47 chrome/browser/managed_mode/managed_user_service.h typedef base::Callback<void(content::WebContents*)> NavigationBlockedCallback; base 48 chrome/browser/managed_mode/managed_user_service.h typedef base::Callback<void(const GoogleServiceAuthError&)> AuthErrorCallback; base 138 chrome/browser/managed_mode/managed_user_service.h base::string16* error) const OVERRIDE; base 140 chrome/browser/managed_mode/managed_user_service.h base::string16* error) const OVERRIDE; base 192 chrome/browser/managed_mode/managed_user_service.h void OnCustodianProfileDownloaded(const base::string16& full_name); base 207 chrome/browser/managed_mode/managed_user_service.h base::string16* error) const; base 253 chrome/browser/managed_mode/managed_user_service.h base::WeakPtrFactory<ManagedUserService> weak_ptr_factory_; base 65 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::Bind(&TestAuthErrorCallback), base 73 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::Bind(&TestAuthErrorCallback), base 97 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); base 120 chrome/browser/managed_mode/managed_user_service_browsertest.cc scoped_ptr<base::Value>(new base::StringValue(name))); base 125 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); base 131 chrome/browser/managed_mode/managed_user_service_browsertest.cc scoped_ptr<base::Value>(new base::StringValue(new_name))); base 135 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); base 139 chrome/browser/managed_mode/managed_user_service_browsertest.cc scoped_ptr<base::Value>()); base 143 chrome/browser/managed_mode/managed_user_service_browsertest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); base 36 chrome/browser/managed_mode/managed_user_service_unittest.cc void OnProfileDownloadedFail(const base::string16& full_name) { base 107 chrome/browser/managed_mode/managed_user_service_unittest.cc base::DictionaryValue* dict = update.Get(); base 135 chrome/browser/managed_mode/managed_user_service_unittest.cc base::DictionaryValue* dict = update.Get(); base 164 chrome/browser/managed_mode/managed_user_service_unittest.cc downloader_service->DownloadProfile(base::Bind(&OnProfileDownloadedFail)); base 191 chrome/browser/managed_mode/managed_user_service_unittest.cc scoped_ptr<base::DictionaryValue> source(new base::DictionaryValue()); base 193 chrome/browser/managed_mode/managed_user_service_unittest.cc source->Set(extensions::manifest_keys::kTheme, new base::DictionaryValue()); base 202 chrome/browser/managed_mode/managed_user_service_unittest.cc scoped_ptr<base::DictionaryValue> manifest = extensions::DictionaryBuilder() base 237 chrome/browser/managed_mode/managed_user_service_unittest.cc base::string16 error_1; base 239 chrome/browser/managed_mode/managed_user_service_unittest.cc EXPECT_EQ(base::string16(), error_1); base 241 chrome/browser/managed_mode/managed_user_service_unittest.cc base::string16 error_2; base 244 chrome/browser/managed_mode/managed_user_service_unittest.cc EXPECT_EQ(base::string16(), error_2); base 258 chrome/browser/managed_mode/managed_user_service_unittest.cc base::string16 error_1; base 270 chrome/browser/managed_mode/managed_user_service_unittest.cc base::string16 error_2; base 323 chrome/browser/managed_mode/managed_user_service_unittest.cc base::FilePath test_data_dir; base 325 chrome/browser/managed_mode/managed_user_service_unittest.cc base::FilePath extension_path = base 345 chrome/browser/managed_mode/managed_user_service_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("YouTube"), sites[0].name); base 346 chrome/browser/managed_mode/managed_user_service_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Homestar Runner"), sites[1].name); base 347 chrome/browser/managed_mode/managed_user_service_unittest.cc EXPECT_EQ(base::string16(), sites[2].name); base 371 chrome/browser/managed_mode/managed_user_service_unittest.cc site_names.insert(base::UTF16ToUTF8(it->name)); base 393 chrome/browser/managed_mode/managed_user_service_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Moose"), sites[0].name); base 22 chrome/browser/managed_mode/managed_user_settings_service.cc using base::DictionaryValue; base 23 chrome/browser/managed_mode/managed_user_settings_service.cc using base::JSONReader; base 24 chrome/browser/managed_mode/managed_user_settings_service.cc using base::UserMetricsAction; base 25 chrome/browser/managed_mode/managed_user_settings_service.cc using base::Value; base 53 chrome/browser/managed_mode/managed_user_settings_service.cc : active_(false), local_settings_(new base::DictionaryValue) {} base 58 chrome/browser/managed_mode/managed_user_settings_service.cc base::FilePath profile_path, base 59 chrome/browser/managed_mode/managed_user_settings_service.cc base::SequencedTaskRunner* sequenced_task_runner, base 61 chrome/browser/managed_mode/managed_user_settings_service.cc base::FilePath path = base 81 chrome/browser/managed_mode/managed_user_settings_service.cc scoped_ptr<base::DictionaryValue> settings = GetSettings(); base 110 chrome/browser/managed_mode/managed_user_settings_service.cc scoped_ptr<base::Value> value) { base 114 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* dict = NULL; base 139 chrome/browser/managed_mode/managed_user_settings_service.cc scoped_ptr<base::Value> value) { base 151 chrome/browser/managed_mode/managed_user_settings_service.cc const base::Value& value) { base 153 chrome/browser/managed_mode/managed_user_settings_service.cc base::JSONWriter::Write(&value, &json_value); base 180 chrome/browser/managed_mode/managed_user_settings_service.cc scoped_ptr<base::Value> value( base 183 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* dict = GetDictionaryAndSplitKey(&name_suffix); base 193 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* queued_items = GetQueuedItems(); base 194 chrome/browser/managed_mode/managed_user_settings_service.cc for (base::DictionaryValue::Iterator it(*queued_items); !it.IsAtEnd(); base 197 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* dict = GetDictionaryAndSplitKey(&key_suffix); base 229 chrome/browser/managed_mode/managed_user_settings_service.cc for (base::DictionaryValue::Iterator it(*GetAtomicSettings()); !it.IsAtEnd(); base 233 chrome/browser/managed_mode/managed_user_settings_service.cc for (base::DictionaryValue::Iterator it(*GetSplitSettings()); !it.IsAtEnd(); base 235 chrome/browser/managed_mode/managed_user_settings_service.cc const base::DictionaryValue* dict = NULL; base 237 chrome/browser/managed_mode/managed_user_settings_service.cc for (base::DictionaryValue::Iterator jt(*dict); base 257 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* dict = GetDictionaryAndSplitKey(&key); base 261 chrome/browser/managed_mode/managed_user_settings_service.cc scoped_ptr<base::Value> value( base 301 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* ManagedUserSettingsService::GetOrCreateDictionary( base 303 chrome/browser/managed_mode/managed_user_settings_service.cc base::Value* value = NULL; base 304 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* dict = NULL; base 309 chrome/browser/managed_mode/managed_user_settings_service.cc dict = new base::DictionaryValue; base 316 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* ManagedUserSettingsService::GetAtomicSettings() const { base 320 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* ManagedUserSettingsService::GetSplitSettings() const { base 324 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* ManagedUserSettingsService::GetQueuedItems() const { base 328 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* ManagedUserSettingsService::GetDictionaryAndSplitKey( base 334 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* split_settings = GetSplitSettings(); base 336 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* dict = NULL; base 338 chrome/browser/managed_mode/managed_user_settings_service.cc dict = new base::DictionaryValue; base 346 chrome/browser/managed_mode/managed_user_settings_service.cc scoped_ptr<base::DictionaryValue> ManagedUserSettingsService::GetSettings() { base 349 chrome/browser/managed_mode/managed_user_settings_service.cc return scoped_ptr<base::DictionaryValue>(); base 351 chrome/browser/managed_mode/managed_user_settings_service.cc scoped_ptr<base::DictionaryValue> settings(local_settings_->DeepCopy()); base 353 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* atomic_settings = GetAtomicSettings(); base 354 chrome/browser/managed_mode/managed_user_settings_service.cc for (base::DictionaryValue::Iterator it(*atomic_settings); !it.IsAtEnd(); base 362 chrome/browser/managed_mode/managed_user_settings_service.cc base::DictionaryValue* split_settings = GetSplitSettings(); base 363 chrome/browser/managed_mode/managed_user_settings_service.cc for (base::DictionaryValue::Iterator it(*split_settings); !it.IsAtEnd(); base 378 chrome/browser/managed_mode/managed_user_settings_service.cc scoped_ptr<base::DictionaryValue> settings = GetSettings(); base 23 chrome/browser/managed_mode/managed_user_settings_service.h namespace base { base 59 chrome/browser/managed_mode/managed_user_settings_service.h typedef base::Callback<void(const base::DictionaryValue*)> SettingsCallback; base 68 chrome/browser/managed_mode/managed_user_settings_service.h void Init(base::FilePath profile_path, base 69 chrome/browser/managed_mode/managed_user_settings_service.h base::SequencedTaskRunner* sequenced_task_runner, base 100 chrome/browser/managed_mode/managed_user_settings_service.h void UploadItem(const std::string& key, scoped_ptr<base::Value> value); base 104 chrome/browser/managed_mode/managed_user_settings_service.h scoped_ptr<base::Value> value); base 108 chrome/browser/managed_mode/managed_user_settings_service.h const base::Value& value); base 131 chrome/browser/managed_mode/managed_user_settings_service.h base::DictionaryValue* GetOrCreateDictionary(const std::string& key) const; base 132 chrome/browser/managed_mode/managed_user_settings_service.h base::DictionaryValue* GetAtomicSettings() const; base 133 chrome/browser/managed_mode/managed_user_settings_service.h base::DictionaryValue* GetSplitSettings() const; base 134 chrome/browser/managed_mode/managed_user_settings_service.h base::DictionaryValue* GetQueuedItems() const; base 140 chrome/browser/managed_mode/managed_user_settings_service.h base::DictionaryValue* GetDictionaryAndSplitKey(std::string* key) const; base 144 chrome/browser/managed_mode/managed_user_settings_service.h scoped_ptr<base::DictionaryValue> GetSettings(); base 157 chrome/browser/managed_mode/managed_user_settings_service.h scoped_ptr<base::DictionaryValue> local_settings_; base 84 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc scoped_ptr<base::Value>(new base::StringValue(value))); base 88 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc atomic_setting_value_.reset(new base::StringValue(value)); base 91 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc scoped_ptr<base::Value>(new base::StringValue(value))); base 97 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc base::Value* expected_value = NULL; base 109 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc scoped_ptr<base::Value> value( base 110 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc base::JSONReader::Read(managed_user_setting.value())); base 114 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc void OnNewSettingsAvailable(const base::DictionaryValue* settings) { base 126 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc base::Bind(&ManagedUserSettingsServiceTest::OnNewSettingsAvailable, base 127 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc base::Unretained(this))); base 138 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc base::DictionaryValue split_items_; base 139 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc scoped_ptr<base::Value> atomic_setting_value_; base 141 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc scoped_ptr<base::DictionaryValue> settings_; base 149 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc const base::Value* value = NULL; base 155 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc kSettingsName, base::StringValue(kSettingsValue)); base 172 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc const base::Value* value = NULL; base 175 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc base::DictionaryValue dict; base 182 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc for (base::DictionaryValue::Iterator it(dict); !it.IsAtEnd(); it.Advance()) { base 196 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc const base::DictionaryValue* dict_value = NULL; base 202 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc const base::Value* value = NULL; base 208 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc scoped_ptr<base::Value>(new base::StringValue(kSettingsValue))); base 291 chrome/browser/managed_mode/managed_user_settings_service_unittest.cc const base::Value* value = NULL; base 21 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using base::DictionaryValue; base 22 chrome/browser/managed_mode/managed_user_shared_settings_service.cc using base::Value; base 175 chrome/browser/managed_mode/managed_user_shared_settings_service.cc base::JSONWriter::Write(&value, &json_value); base 212 chrome/browser/managed_mode/managed_user_shared_settings_service.cc base::JSONReader::Read(managed_user_shared_setting.value())); base 323 chrome/browser/managed_mode/managed_user_shared_settings_service.cc base::JSONReader::Read(managed_user_shared_setting.value())); base 17 chrome/browser/managed_mode/managed_user_shared_settings_service.h namespace base { base 41 chrome/browser/managed_mode/managed_user_shared_settings_service.h typedef base::Callback<void(const std::string& /* mu_id */, base 43 chrome/browser/managed_mode/managed_user_shared_settings_service.h typedef base::CallbackList< base 58 chrome/browser/managed_mode/managed_user_shared_settings_service.h const base::Value* GetValue(const std::string& mu_id, const std::string& key); base 65 chrome/browser/managed_mode/managed_user_shared_settings_service.h const base::Value& value); base 79 chrome/browser/managed_mode/managed_user_shared_settings_service.h const base::Value& value, base 85 chrome/browser/managed_mode/managed_user_shared_settings_service.h const base::Value& value, base 18 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using base::DictionaryValue; base 19 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using base::FundamentalValue; base 20 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using base::StringValue; base 21 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc using base::Value; base 69 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc base::JSONWriter::Write(value, &json_value); base 77 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc typedef base::CallbackList<void(const std::string&, const std::string&)> base 97 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc const base::DictionaryValue* GetAllSettings() { base 119 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc base::Bind(&ManagedUserSharedSettingsServiceTest::OnSettingChanged, base 120 chrome/browser/managed_mode/managed_user_shared_settings_service_unittest.cc base::Unretained(this))); base 15 chrome/browser/managed_mode/managed_user_shared_settings_update.cc scoped_ptr<base::Value> value, base 16 chrome/browser/managed_mode/managed_user_shared_settings_update.cc const base::Callback<void(bool)>& success_callback) base 24 chrome/browser/managed_mode/managed_user_shared_settings_update.cc base::Bind(&ManagedUserSharedSettingsUpdate::OnSettingChanged, base 25 chrome/browser/managed_mode/managed_user_shared_settings_update.cc base::Unretained(this))); base 38 chrome/browser/managed_mode/managed_user_shared_settings_update.cc const base::Value* value = service_->GetValue(mu_id, key); base 14 chrome/browser/managed_mode/managed_user_shared_settings_update.h namespace base { base 34 chrome/browser/managed_mode/managed_user_shared_settings_update.h scoped_ptr<base::Value> value, base 35 chrome/browser/managed_mode/managed_user_shared_settings_update.h const base::Callback<void(bool)>& success_callback); base 39 chrome/browser/managed_mode/managed_user_shared_settings_update.h typedef base::CallbackList<void(const std::string&, const std::string&)> base 48 chrome/browser/managed_mode/managed_user_shared_settings_update.h scoped_ptr<base::Value> value_; base 49 chrome/browser/managed_mode/managed_user_shared_settings_update.h base::Callback<void(bool)> callback_; base 33 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc scoped_ptr<base::Value>(new base::StringValue("Hans Moleman")), base 34 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc base::Bind(&ManagedUserSharedSettingsUpdateTest::OnSettingUpdated, base 35 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc base::Unretained(this))); base 41 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc "abcdef", "name", base::StringValue("Hans Moleman"), true))); base 53 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc scoped_ptr<base::Value>(new base::StringValue("Hans Moleman")), base 54 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc base::Bind(&ManagedUserSharedSettingsUpdateTest::OnSettingUpdated, base 55 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc base::Unretained(this))); base 65 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc base::StringValue("Barney Gumble"), base 79 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc scoped_ptr<base::Value>(new base::StringValue("Hans Moleman")), base 80 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc base::Bind(&ManagedUserSharedSettingsUpdateTest::OnSettingUpdated, base 81 chrome/browser/managed_mode/managed_user_shared_settings_update_unittest.cc base::Unretained(this))); base 27 chrome/browser/managed_mode/managed_user_sync_service.cc using base::DictionaryValue; base 80 chrome/browser/managed_mode/managed_user_sync_service.cc const base::Value& value) { base 81 chrome/browser/managed_mode/managed_user_sync_service.cc const base::DictionaryValue* dict = NULL; base 128 chrome/browser/managed_mode/managed_user_sync_service.cc base::Bind(&ManagedUserSyncService::OnLastSignedInUsernameChange, base 129 chrome/browser/managed_mode/managed_user_sync_service.cc base::Unretained(this))); base 161 chrome/browser/managed_mode/managed_user_sync_service.cc if (!base::StringToInt(avatar_str.substr(prefix_len), avatar_index)) base 192 chrome/browser/managed_mode/managed_user_sync_service.cc return base::StringPrintf("%s%d", prefix, avatar_index); base 205 chrome/browser/managed_mode/managed_user_sync_service.cc scoped_ptr<base::DictionaryValue> ManagedUserSyncService::CreateDictionary( base 211 chrome/browser/managed_mode/managed_user_sync_service.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 270 chrome/browser/managed_mode/managed_user_sync_service.cc base::DictionaryValue* dict = update.Get(); base 271 chrome/browser/managed_mode/managed_user_sync_service.cc scoped_ptr<base::DictionaryValue> value = CreateDictionary( base 275 chrome/browser/managed_mode/managed_user_sync_service.cc base::DictionaryValue* entry = value.get(); base 310 chrome/browser/managed_mode/managed_user_sync_service.cc const base::DictionaryValue* ManagedUserSyncService::GetManagedUsers() { base 319 chrome/browser/managed_mode/managed_user_sync_service.cc base::DictionaryValue* dict = update.Get(); base 321 chrome/browser/managed_mode/managed_user_sync_service.cc base::DictionaryValue* value = NULL; base 409 chrome/browser/managed_mode/managed_user_sync_service.cc base::DictionaryValue* dict = update.Get(); base 419 chrome/browser/managed_mode/managed_user_sync_service.cc base::DictionaryValue* value = new base::DictionaryValue(); base 437 chrome/browser/managed_mode/managed_user_sync_service.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { base 470 chrome/browser/managed_mode/managed_user_sync_service.cc base::DictionaryValue* dict = update.Get(); base 471 chrome/browser/managed_mode/managed_user_sync_service.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) base 482 chrome/browser/managed_mode/managed_user_sync_service.cc base::DictionaryValue* dict = update.Get(); base 494 chrome/browser/managed_mode/managed_user_sync_service.cc const base::DictionaryValue* old_value = NULL; base 508 chrome/browser/managed_mode/managed_user_sync_service.cc base::DictionaryValue* value = new base::DictionaryValue; base 563 chrome/browser/managed_mode/managed_user_sync_service.cc const base::DictionaryValue* managed_users = base 19 chrome/browser/managed_mode/managed_user_sync_service.h namespace base { base 33 chrome/browser/managed_mode/managed_user_sync_service.h typedef base::Callback<void(const base::DictionaryValue*)> base 100 chrome/browser/managed_mode/managed_user_sync_service.h const base::DictionaryValue* GetManagedUsers(); base 131 chrome/browser/managed_mode/managed_user_sync_service.h scoped_ptr<base::DictionaryValue> CreateDictionary( base 77 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc void GetManagedUsersCallback(const base::DictionaryValue** dict, base 78 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc const base::DictionaryValue* managed_users) { base 142 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc return SyncData::CreateRemoteData(++sync_data_id_, specifics, base::Time()); base 188 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc base::DictionaryValue* managed_users = update.Get(); base 189 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue; base 192 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc dict = new base::DictionaryValue; base 198 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc const base::DictionaryValue* async_managed_users = NULL; base 200 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc base::Bind(&GetManagedUsersCallback, &async_managed_users)); base 219 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc const base::DictionaryValue* managed_users = service()->GetManagedUsers(); base 225 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc const base::DictionaryValue* managed_user = NULL; base 239 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc const base::DictionaryValue* managed_user = NULL; base 253 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc const base::DictionaryValue* managed_user = NULL; base 292 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc EXPECT_EQ(base::StringPrintf("chromeos-avatar-index:%d", avatar_index), base 295 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc EXPECT_EQ(base::StringPrintf("chrome-avatar-index:%d", avatar_index), base 307 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc EXPECT_EQ(base::StringPrintf("chromeos-avatar-index:%d", avatar_index), base 310 chrome/browser/managed_mode/managed_user_sync_service_unittest.cc EXPECT_EQ(base::StringPrintf("chrome-avatar-index:%d", avatar_index), base 28 chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc base::Bind(&SupervisedUserPrefMappingService::OnSharedSettingChanged, base 34 chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc base::Bind(&SupervisedUserPrefMappingService::OnAvatarChanged, base 57 chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc base::FundamentalValue(new_avatar_index)); base 67 chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc const base::Value* value = shared_settings_->GetValue(mu_id, key); base 79 chrome/browser/managed_mode/supervised_user_pref_mapping_service.cc const base::Value* value = shared_settings_->GetValue( base 24 chrome/browser/managed_mode/supervised_user_pref_mapping_service.h typedef base::CallbackList<void(const std::string&, const std::string&)> base 54 chrome/browser/managed_mode/supervised_user_pref_mapping_service.h base::WeakPtrFactory<SupervisedUserPrefMappingService> weak_ptr_factory_; base 52 chrome/browser/managed_mode/supervised_user_pref_mapping_service_unittest.cc const base::Value* value = shared_settings_service_->GetValue( base 63 chrome/browser/managed_mode/supervised_user_pref_mapping_service_unittest.cc base::FundamentalValue(1)); base 16 chrome/browser/managed_mode/supervised_user_pref_store.cc using base::FundamentalValue; base 54 chrome/browser/managed_mode/supervised_user_pref_store.cc base::Bind(&SupervisedUserPrefStore::OnNewSettingsAvailable, base 59 chrome/browser/managed_mode/supervised_user_pref_store.cc const base::Value** value) const { base 84 chrome/browser/managed_mode/supervised_user_pref_store.cc const base::DictionaryValue* settings) { base 103 chrome/browser/managed_mode/supervised_user_pref_store.cc const base::Value* value = NULL; base 13 chrome/browser/managed_mode/supervised_user_pref_store.h namespace base { base 30 chrome/browser/managed_mode/supervised_user_pref_store.h const base::Value** value) const OVERRIDE; base 39 chrome/browser/managed_mode/supervised_user_pref_store.h void OnNewSettingsAvailable(const base::DictionaryValue* settings); base 45 chrome/browser/managed_mode/supervised_user_pref_store.h base::WeakPtrFactory<SupervisedUserPrefStore> weak_ptr_factory_; base 17 chrome/browser/managed_mode/supervised_user_pref_store_unittest.cc using base::DictionaryValue; base 18 chrome/browser/managed_mode/supervised_user_pref_store_unittest.cc using base::Value; base 28 chrome/browser/managed_mode/supervised_user_pref_store_unittest.cc base::DictionaryValue* changed_prefs() { base 42 chrome/browser/managed_mode/supervised_user_pref_store_unittest.cc base::DictionaryValue changed_prefs_; base 59 chrome/browser/managed_mode/supervised_user_pref_store_unittest.cc const base::Value* value = NULL; base 111 chrome/browser/managed_mode/supervised_user_pref_store_unittest.cc base::DictionaryValue* manual_hosts = NULL; base 127 chrome/browser/managed_mode/supervised_user_pref_store_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 132 chrome/browser/managed_mode/supervised_user_pref_store_unittest.cc scoped_ptr<base::Value>(dict->DeepCopy())); base 143 chrome/browser/managed_mode/supervised_user_pref_store_unittest.cc scoped_ptr<base::Value>(new base::FundamentalValue(false))); base 37 chrome/browser/media/audio_stream_monitor.cc base::TimeDelta::FromSeconds(1) / kPowerMeasurementsPerSecond, base 38 chrome/browser/media/audio_stream_monitor.cc base::Bind(&AudioStreamMonitor::Poll, base::Unretained(this))); base 68 chrome/browser/media/audio_stream_monitor.cc const base::TimeTicks off_time = base 69 chrome/browser/media/audio_stream_monitor.cc last_blurt_time_ + base::TimeDelta::FromMilliseconds(kHoldOnMilliseconds); base 70 chrome/browser/media/audio_stream_monitor.cc const base::TimeTicks now = clock_->NowTicks(); base 84 chrome/browser/media/audio_stream_monitor.cc base::Bind(&AudioStreamMonitor::MaybeToggle, base::Unretained(this))); base 17 chrome/browser/media/audio_stream_monitor.h namespace base { base 44 chrome/browser/media/audio_stream_monitor.h typedef base::Callback<std::pair<float, bool>()> ReadPowerAndClipCallback; base 85 chrome/browser/media/audio_stream_monitor.h base::DefaultTickClock default_tick_clock_; base 86 chrome/browser/media/audio_stream_monitor.h base::TickClock* const clock_; base 89 chrome/browser/media/audio_stream_monitor.h base::ThreadChecker thread_checker_; base 97 chrome/browser/media/audio_stream_monitor.h base::TimeTicks last_blurt_time_; base 104 chrome/browser/media/audio_stream_monitor.h base::RepeatingTimer<AudioStreamMonitor> poll_timer_; base 108 chrome/browser/media/audio_stream_monitor.h base::OneShotTimer<AudioStreamMonitor> off_timer_; base 44 chrome/browser/media/audio_stream_monitor_unittest.cc clock_.Advance(base::TimeDelta::FromSeconds(1000000)); base 55 chrome/browser/media/audio_stream_monitor_unittest.cc const_cast<base::TickClock*&>(audio_stream_monitor()->clock_) = &clock_; base 62 chrome/browser/media/audio_stream_monitor_unittest.cc base::TimeTicks GetTestClockTime() { return clock_.NowTicks(); } base 64 chrome/browser/media/audio_stream_monitor_unittest.cc void AdvanceClock(const base::TimeDelta& delta) { clock_.Advance(delta); } base 68 chrome/browser/media/audio_stream_monitor_unittest.cc return base::Bind( base 69 chrome/browser/media/audio_stream_monitor_unittest.cc &AudioStreamMonitorTest::ReadPower, base::Unretained(this), stream_id); base 90 chrome/browser/media/audio_stream_monitor_unittest.cc const base::TimeTicks& last_blurt_time) { base 109 chrome/browser/media/audio_stream_monitor_unittest.cc static base::TimeDelta one_polling_interval() { base 110 chrome/browser/media/audio_stream_monitor_unittest.cc return base::TimeDelta::FromSeconds(1) / base 114 chrome/browser/media/audio_stream_monitor_unittest.cc static base::TimeDelta holding_period() { base 115 chrome/browser/media/audio_stream_monitor_unittest.cc return base::TimeDelta::FromMilliseconds( base 135 chrome/browser/media/audio_stream_monitor_unittest.cc base::SimpleTestTickClock clock_; base 173 chrome/browser/media/audio_stream_monitor_unittest.cc base::TimeTicks last_blurt_time; base 217 chrome/browser/media/audio_stream_monitor_unittest.cc base::TimeTicks last_blurt_time; base 62 chrome/browser/media/cast_transport_host_filter.cc base::TimeTicks time_sent, base 87 chrome/browser/media/cast_transport_host_filter.cc base::Bind(&CastTransportHostFilter::NotifyStatusChange, base 88 chrome/browser/media/cast_transport_host_filter.cc base::Unretained(this), base 90 chrome/browser/media/cast_transport_host_filter.cc base::Bind(&CastTransportHostFilter::RawEvents, base 91 chrome/browser/media/cast_transport_host_filter.cc base::Unretained(this), base 93 chrome/browser/media/cast_transport_host_filter.cc base::TimeDelta::FromSeconds(kSendRawEventsIntervalSecs), base 94 chrome/browser/media/cast_transport_host_filter.cc base::MessageLoopProxy::current()); base 96 chrome/browser/media/cast_transport_host_filter.cc sender->SetPacketReceiver(base::Bind(&CastTransportHostFilter::ReceivedPacket, base 97 chrome/browser/media/cast_transport_host_filter.cc base::Unretained(this), base 122 chrome/browser/media/cast_transport_host_filter.cc base::Bind(&CastTransportHostFilter::ReceivedRtpStatistics, base 123 chrome/browser/media/cast_transport_host_filter.cc base::Unretained(this), base 140 chrome/browser/media/cast_transport_host_filter.cc base::Bind(&CastTransportHostFilter::ReceivedRtpStatistics, base 141 chrome/browser/media/cast_transport_host_filter.cc base::Unretained(this), base 153 chrome/browser/media/cast_transport_host_filter.cc base::TimeTicks recorded_time) { base 168 chrome/browser/media/cast_transport_host_filter.cc base::TimeTicks capture_time) { base 34 chrome/browser/media/cast_transport_host_filter.h base::TimeTicks time_sent, base 53 chrome/browser/media/cast_transport_host_filter.h base::TimeTicks recorded_time); base 57 chrome/browser/media/cast_transport_host_filter.h base::TimeTicks capture_time); base 76 chrome/browser/media/cast_transport_host_filter.h base::DefaultTickClock clock_; base 103 chrome/browser/media/cast_transport_host_filter_unittest.cc kChannelId, audio_frame, base::TimeTicks::Now()); base 116 chrome/browser/media/cast_transport_host_filter_unittest.cc kChannelId, video_frame, base::TimeTicks::Now()); base 37 chrome/browser/media/chrome_midi_permission_context.cc virtual base::string16 GetMessageText() const OVERRIDE; base 38 chrome/browser/media/chrome_midi_permission_context.cc virtual base::string16 GetMessageTextFragment() const OVERRIDE; base 77 chrome/browser/media/chrome_midi_permission_context.cc base::string16 MidiPermissionRequest::GetMessageText() const { base 83 chrome/browser/media/chrome_midi_permission_context.cc base::string16 MidiPermissionRequest::GetMessageTextFragment() const { base 212 chrome/browser/media/chrome_midi_permission_context.cc id, requesting_frame, embedder, std::string(), base::Bind( base 214 chrome/browser/media/chrome_midi_permission_context.cc base::Unretained(this), id, requesting_frame, callback)); base 47 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc : dev_appserver_(base::kNullProcessHandle), base 48 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc firefox_(base::kNullProcessHandle) { base 62 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc if (dev_appserver_ != base::kNullProcessHandle) base 63 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::KillProcess(dev_appserver_, 0, false); base 65 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc if (firefox_ != base::kNullProcessHandle) base 66 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::KillProcess(firefox_, 0, false); base 71 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::FilePath appengine_dev_appserver = base 74 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc if (!base::PathExists(appengine_dev_appserver)) { base 80 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::FilePath apprtc_dir = base 82 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc if (!base::PathExists(apprtc_dir)) { base 98 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc return base::LaunchProcess(command_line, base::LaunchOptions(), base 125 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc const base::FilePath& path) { base 154 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::FilePath GetSourceDir() { base 155 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::FilePath source_dir; base 156 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc PathService::Get(base::DIR_SOURCE_ROOT, &source_dir); base 161 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::FilePath firefox_binary = base 164 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc if (!base::PathExists(firefox_binary)) { base 169 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::FilePath firefox_launcher = base 172 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc if (!base::PathExists(firefox_launcher)) { base 183 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc return base::LaunchProcess(command_line, base::LaunchOptions(), base 188 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::ProcessHandle dev_appserver_; base 189 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::ProcessHandle firefox_; base 196 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 204 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc GURL room_url = GURL(base::StringPrintf("localhost:9999?r=room_%d", base 205 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::RandInt(0, 65536))); base 230 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 239 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc GURL room_url = GURL(base::StringPrintf("http://localhost:9999?r=room_%d", base 240 chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc base::RandInt(0, 65536))); base 27 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc static const base::FilePath::CharType kReferenceFile[] = base 43 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc static const base::FilePath::CharType kToolsPath[] = base 49 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc static base::FilePath GetTestDataDir() { base 50 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath source_dir; base 114 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath reference_file = GetTestDataDir().Append(kReferenceFile); base 115 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc if (!base::PathExists(reference_file)) { base 145 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath CreateTemporaryWaveFile() { base 146 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath filename; base 147 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc EXPECT_TRUE(base::CreateTemporaryFile(&filename)); base 148 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath wav_filename = base 150 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc EXPECT_TRUE(base::Move(filename, wav_filename)); base 159 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc AudioRecorder(): recording_application_(base::kNullProcessHandle) {} base 164 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc bool StartRecording(int duration_sec, const base::FilePath& output_file, base 166 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc EXPECT_EQ(base::kNullProcessHandle, recording_application_) base 175 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::ScopedNativeLibrary kernel32_lib(base::FilePath(L"kernel32")); base 196 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath(FILE_PATH_LITERAL("SoundRecorder.exe"))); base 203 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc command_line.SetProgram(base::FilePath("arecord")); base 205 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc command_line.AppendArg(base::StringPrintf("%d", duration_sec)); base 209 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc command_line.AppendArg(base::StringPrintf("%d", num_channels)); base 214 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc return base::LaunchProcess(command_line, base::LaunchOptions(), base 221 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::WaitForExitCode(recording_application_, &exit_code); base 225 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::ProcessHandle recording_application_; base 234 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc if (!base::GetAppOutput(command_line, &result)) { base 245 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc CommandLine command_line(base::FilePath(FILE_PATH_LITERAL("pacmd"))); base 247 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc command_line.AppendArg(base::StringPrintf("%d", device_index)); base 250 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc if (!base::GetAppOutput(command_line, &result)) { base 261 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc bool RemoveSilence(const base::FilePath& input_file, base 262 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc const base::FilePath& output_file) { base 281 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc CommandLine command_line(base::FilePath(FILE_PATH_LITERAL("sox"))); base 298 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc bool ok = base::GetAppOutput(command_line, &result); base 318 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc bool RunPesq(const base::FilePath& reference_file, base 319 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc const base::FilePath& actual_file, base 326 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath pesq_path = base 329 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath pesq_path = base 333 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc if (!base::PathExists(pesq_path)) { base 339 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc command_line.AppendArg(base::StringPrintf("+%d", sample_rate)); base 345 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc if (!base::GetAppOutput(command_line, &result)) { base 385 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 424 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath recording = CreateTemporaryWaveFile(); base 441 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath trimmed_recording = CreateTemporaryWaveFile(); base 448 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc base::FilePath reference_file_in_test_dir = base 456 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc EXPECT_TRUE(base::DeleteFile(recording, false)); base 457 chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc EXPECT_TRUE(base::DeleteFile(trimmed_recording, false)); base 60 chrome/browser/media/chrome_webrtc_browsertest.cc base::FilePath input_video = test::GetReferenceVideosDir() base 75 chrome/browser/media/chrome_webrtc_browsertest.cc void PrintProcessMetrics(base::ProcessMetrics* process_metrics, base 99 chrome/browser/media/chrome_webrtc_browsertest.cc base::DictionaryValue* GetWebrtcInternalsData( base 106 chrome/browser/media/chrome_webrtc_browsertest.cc base::Value* parsed_json = base::JSONReader::Read(all_stats_json); base 107 chrome/browser/media/chrome_webrtc_browsertest.cc base::DictionaryValue* result; base 114 chrome/browser/media/chrome_webrtc_browsertest.cc const base::DictionaryValue* GetDataOnFirstPeerConnection( base 115 chrome/browser/media/chrome_webrtc_browsertest.cc const base::DictionaryValue* all_data) { base 116 chrome/browser/media/chrome_webrtc_browsertest.cc base::DictionaryValue::Iterator iterator(*all_data); base 118 chrome/browser/media/chrome_webrtc_browsertest.cc const base::DictionaryValue* result; base 127 chrome/browser/media/chrome_webrtc_browsertest.cc return base::win::GetVersion() <= base::win::VERSION_XP; base 176 chrome/browser/media/chrome_webrtc_browsertest.cc base::FilePath results_file; base 177 chrome/browser/media/chrome_webrtc_browsertest.cc ASSERT_TRUE(base::CreateTemporaryFile(&results_file)); base 185 chrome/browser/media/chrome_webrtc_browsertest.cc scoped_ptr<base::ProcessMetrics> browser_process_metrics( base 186 chrome/browser/media/chrome_webrtc_browsertest.cc base::ProcessMetrics::CreateProcessMetrics( base 187 chrome/browser/media/chrome_webrtc_browsertest.cc base::Process::Current().handle(), NULL)); base 191 chrome/browser/media/chrome_webrtc_browsertest.cc base::ProcessHandle renderer_pid = base 193 chrome/browser/media/chrome_webrtc_browsertest.cc scoped_ptr<base::ProcessMetrics> renderer_process_metrics( base 194 chrome/browser/media/chrome_webrtc_browsertest.cc base::ProcessMetrics::CreateProcessMetrics(renderer_pid)); base 197 chrome/browser/media/chrome_webrtc_browsertest.cc scoped_ptr<base::ProcessMetrics> browser_process_metrics( base 198 chrome/browser/media/chrome_webrtc_browsertest.cc base::ProcessMetrics::CreateProcessMetrics( base 199 chrome/browser/media/chrome_webrtc_browsertest.cc base::Process::Current().handle())); base 259 chrome/browser/media/chrome_webrtc_browsertest.cc scoped_ptr<base::DictionaryValue> all_data( base 263 chrome/browser/media/chrome_webrtc_browsertest.cc const base::DictionaryValue* first_pc_dict = base 21 chrome/browser/media/chrome_webrtc_typing_detection_browsertest.cc static const base::FilePath::CharType kReferenceFile[] = base 40 chrome/browser/media/chrome_webrtc_typing_detection_browsertest.cc static base::FilePath GetTestDataDir() { base 41 chrome/browser/media/chrome_webrtc_typing_detection_browsertest.cc base::FilePath source_dir; base 58 chrome/browser/media/chrome_webrtc_typing_detection_browsertest.cc base::FilePath reference_file = base 60 chrome/browser/media/chrome_webrtc_typing_detection_browsertest.cc if (!base::PathExists(reference_file)) { base 40 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc static const base::FilePath::CharType kFrameAnalyzerExecutable[] = base 47 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc static const base::FilePath::CharType kArgbToI420ConverterExecutable[] = base 62 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc static const base::FilePath::CharType kWorkingDirName[] = base 64 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc static const base::FilePath::CharType kCapturedYuvFileName[] = base 66 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc static const base::FilePath::CharType kStatsFileName[] = base 106 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc environment_(base::Environment::Create()) {} base 128 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc if (!base::PathExists(GetWorkingDir())) { base 139 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath path_pywebsocket_dir = base 141 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath pywebsocket_server = path_pywebsocket_dir.Append( base 143 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath path_to_data_handler = base 146 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc if (!base::PathExists(pywebsocket_server)) { base 150 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc if (!base::PathExists(path_to_data_handler)) { base 169 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc return base::LaunchProcess(pywebsocket_command, base::LaunchOptions(), base 174 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc return base::KillProcess(pywebsocket_server_, 0, false); base 185 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc const base::FilePath& captured_video_filename) { base 186 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath path_to_converter = base::MakeAbsoluteFilePath( base 189 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc if (!base::PathExists(path_to_converter)) { base 200 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::StringPrintf("%d", width)); base 202 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::StringPrintf("%d", height)); base 208 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc bool ok = base::GetAppOutput(converter_command, &result); base 224 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc const base::FilePath& captured_video_filename, base 225 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc const base::FilePath& reference_video_filename, base 226 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc const base::FilePath& stats_file) { base 228 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath path_to_analyzer = base::MakeAbsoluteFilePath( base 230 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath path_to_compare_script = GetSourceDir().Append( base 233 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc if (!base::PathExists(path_to_analyzer)) { base 238 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc if (!base::PathExists(path_to_compare_script)) { base 258 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc compare_command.AppendArg(base::StringPrintf("%d", width)); base 260 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc compare_command.AppendArg(base::StringPrintf("%d", height)); base 266 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc bool ok = base::GetAppOutput(compare_command, &output); base 273 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath GetWorkingDir() { base 276 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath::StringType native_home_dir(home_dir.begin(), base 278 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc return base::FilePath(native_home_dir).Append(kWorkingDirName); base 284 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath GetSourceDir() { base 285 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath source_dir; base 286 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc PathService::Get(base::DIR_SOURCE_ROOT, &source_dir); base 290 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath GetBrowserDir() { base 291 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath browser_dir; base 292 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc EXPECT_TRUE(PathService::Get(base::DIR_MODULE, &browser_dir)); base 296 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::ProcessHandle pywebsocket_server_; base 297 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc scoped_ptr<base::Environment> environment_; base 298 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::FilePath webrtc_reference_video_y4m_; base 306 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 27 chrome/browser/media/desktop_media_list.h base::string16 name; base 38 chrome/browser/media/desktop_media_list.h virtual void SetUpdatePeriod(base::TimeDelta period) = 0; base 36 chrome/browser/media/desktop_media_list_ash.cc const base::string16& name) base 43 chrome/browser/media/desktop_media_list_ash.cc update_period_(base::TimeDelta::FromMilliseconds(kDefaultUpdatePeriod)), base 53 chrome/browser/media/desktop_media_list_ash.cc void DesktopMediaListAsh::SetUpdatePeriod(base::TimeDelta period) { base 211 chrome/browser/media/desktop_media_list_ash.cc base::Bind(&DesktopMediaListAsh::OnThumbnailCaptured, base 234 chrome/browser/media/desktop_media_list_ash.cc base::Bind(&DesktopMediaListAsh::Refresh, base 43 chrome/browser/media/desktop_media_list_ash.h virtual void SetUpdatePeriod(base::TimeDelta period) OVERRIDE; base 54 chrome/browser/media/desktop_media_list_ash.h SourceDescription(content::DesktopMediaID id, const base::string16& name); base 57 chrome/browser/media/desktop_media_list_ash.h base::string16 name; base 78 chrome/browser/media/desktop_media_list_ash.h base::TimeDelta update_period_; base 94 chrome/browser/media/desktop_media_list_ash.h base::WeakPtrFactory<DesktopMediaListAsh> weak_factory_; base 38 chrome/browser/media/desktop_media_list_ash_unittest.cc list_->SetUpdatePeriod(base::TimeDelta::FromMilliseconds(1)); base 48 chrome/browser/media/desktop_media_list_ash_unittest.cc base::MessageLoop::current()->PostTask( base 49 chrome/browser/media/desktop_media_list_ash_unittest.cc FROM_HERE, base::MessageLoop::QuitClosure()); base 60 chrome/browser/media/desktop_media_list_ash_unittest.cc base::MessageLoop::current()->Run(); base 79 chrome/browser/media/desktop_media_list_ash_unittest.cc base::MessageLoop::current()->Run(); base 81 chrome/browser/media/desktop_media_list_ash_unittest.cc base::MessageLoop::current()->Run(); base 95 chrome/browser/media/desktop_media_list_ash_unittest.cc base::MessageLoop::current()->Run(); base 111 chrome/browser/media/desktop_media_list_ash_unittest.cc base::MessageLoop::current()->Run(); base 113 chrome/browser/media/desktop_media_list_ash_unittest.cc base::MessageLoop::current()->Run(); base 21 chrome/browser/media/desktop_media_picker.h typedef base::Callback<void(content::DesktopMediaID)> DoneCallback; base 35 chrome/browser/media/desktop_media_picker.h const base::string16& app_name, base 36 chrome/browser/media/desktop_media_picker.h const base::string16& target_name, base 23 chrome/browser/media/desktop_streams_registry.cc base::Base64Encode(base::StringPiece(buffer, arraysize(buffer)), base 51 chrome/browser/media/desktop_streams_registry.cc base::Bind(&DesktopStreamsRegistry::CleanupStream, base 52 chrome/browser/media/desktop_streams_registry.cc base::Unretained(this), id), base 53 chrome/browser/media/desktop_streams_registry.cc base::TimeDelta::FromSeconds(kApprovedStreamTimeToLiveSeconds)); base 85 chrome/browser/media/encrypted_media_browsertest.cc if (base::android::BuildInfo::GetInstance()->sdk_int() < 16) { base 226 chrome/browser/media/encrypted_media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kEmeNotSupportedError)); base 227 chrome/browser/media/encrypted_media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kEmeKeyError)); base 267 chrome/browser/media/encrypted_media_browsertest.cc base::FilePath plugin_dir; base 268 chrome/browser/media/encrypted_media_browsertest.cc EXPECT_TRUE(PathService::Get(base::DIR_MODULE, &plugin_dir)); base 269 chrome/browser/media/encrypted_media_browsertest.cc base::FilePath plugin_lib = plugin_dir.AppendASCII(adapter_name); base 270 chrome/browser/media/encrypted_media_browsertest.cc EXPECT_TRUE(base::PathExists(plugin_lib)) << plugin_lib.value(); base 271 chrome/browser/media/encrypted_media_browsertest.cc base::FilePath::StringType pepper_plugin = plugin_lib.value(); base 274 chrome/browser/media/encrypted_media_browsertest.cc pepper_plugin.append(base::ASCIIToWide(GetPepperType(key_system))); base 560 chrome/browser/media/encrypted_media_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 162 chrome/browser/media/encrypted_media_istypesupported_browsertest.cc base::FilePath plugin_dir; base 163 chrome/browser/media/encrypted_media_istypesupported_browsertest.cc EXPECT_TRUE(PathService::Get(base::DIR_MODULE, &plugin_dir)); base 164 chrome/browser/media/encrypted_media_istypesupported_browsertest.cc base::FilePath plugin_lib = plugin_dir.AppendASCII(adapter_name); base 165 chrome/browser/media/encrypted_media_istypesupported_browsertest.cc EXPECT_EQ(expect_adapter_exists, base::PathExists(plugin_lib)); base 166 chrome/browser/media/encrypted_media_istypesupported_browsertest.cc base::FilePath::StringType pepper_plugin = plugin_lib.value(); base 169 chrome/browser/media/encrypted_media_istypesupported_browsertest.cc pepper_plugin.append(base::ASCIIToWide(pepper_type_for_key_system)); base 16 chrome/browser/media/fake_desktop_media_list.cc source.name = base::Int64ToString16(id); base 39 chrome/browser/media/fake_desktop_media_list.cc void FakeDesktopMediaList::SetSourceName(int index, base::string16 name) { base 44 chrome/browser/media/fake_desktop_media_list.cc void FakeDesktopMediaList::SetUpdatePeriod(base::TimeDelta period) {} base 21 chrome/browser/media/fake_desktop_media_list.h void SetSourceName(int index, base::string16 name); base 24 chrome/browser/media/fake_desktop_media_list.h virtual void SetUpdatePeriod(base::TimeDelta period) OVERRIDE; base 48 chrome/browser/media/media_browsertest.cc base::FilePath test_file_path; base 55 chrome/browser/media/media_browsertest.cc base::string16 final_title = RunTest(gurl, expected_title); base 56 chrome/browser/media/media_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16(expected_title), final_title); base 59 chrome/browser/media/media_browsertest.cc base::string16 MediaBrowserTest::RunTest(const GURL& gurl, base 66 chrome/browser/media/media_browsertest.cc base::ASCIIToUTF16(expected_title)); base 74 chrome/browser/media/media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kEnded)); base 75 chrome/browser/media/media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kError)); base 76 chrome/browser/media/media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kFailed)); base 77 chrome/browser/media/media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kPluginCrashed)); base 80 chrome/browser/media/media_browsertest.cc void MediaBrowserTest::PluginCrashed(const base::FilePath& plugin_path, base 81 chrome/browser/media/media_browsertest.cc base::ProcessId plugin_pid) { base 87 chrome/browser/media/media_browsertest.cc ->SetTitle(base::ASCIIToUTF16(kPluginCrashed)); base 46 chrome/browser/media/media_browsertest.h base::string16 RunTest(const GURL& gurl, const std::string& expected); base 52 chrome/browser/media/media_browsertest.h virtual void PluginCrashed(const base::FilePath& plugin_path, base 53 chrome/browser/media/media_browsertest.h base::ProcessId plugin_pid) OVERRIDE; base 111 chrome/browser/media/media_capture_devices_dispatcher.cc const std::string origin_hash = base::SHA1HashString(origin.spec()); base 112 chrome/browser/media/media_capture_devices_dispatcher.cc DCHECK_EQ(origin_hash.length(), base::kSHA1Length); base 114 chrome/browser/media/media_capture_devices_dispatcher.cc base::HexEncode(origin_hash.data(), origin_hash.length()); base 135 chrome/browser/media/media_capture_devices_dispatcher.cc const std::string origin_hash = base::SHA1HashString(origin.spec()); base 136 chrome/browser/media/media_capture_devices_dispatcher.cc DCHECK_EQ(origin_hash.length(), base::kSHA1Length); base 138 chrome/browser/media/media_capture_devices_dispatcher.cc base::HexEncode(origin_hash.data(), origin_hash.length()); base 149 chrome/browser/media/media_capture_devices_dispatcher.cc base::string16 GetApplicationTitle(content::WebContents* web_contents, base 161 chrome/browser/media/media_capture_devices_dispatcher.cc return base::UTF8ToUTF16(title); base 172 chrome/browser/media/media_capture_devices_dispatcher.cc const base::string16& application_title, base 173 chrome/browser/media/media_capture_devices_dispatcher.cc const base::string16& registered_extension_name) { base 411 chrome/browser/media/media_capture_devices_dispatcher.cc base::UTF8ToUTF16(original_extension_name)); base 455 chrome/browser/media/media_capture_devices_dispatcher.cc base::string16 application_title = base 462 chrome/browser/media/media_capture_devices_dispatcher.cc base::string16 application_name = base::UTF8ToUTF16( base 464 chrome/browser/media/media_capture_devices_dispatcher.cc base::string16 confirmation_text = l10n_util::GetStringFUTF16( base 625 chrome/browser/media/media_capture_devices_dispatcher.cc base::Bind(&MediaCaptureDevicesDispatcher::OnAccessRequestResponse, base 626 chrome/browser/media/media_capture_devices_dispatcher.cc base::Unretained(this), web_contents))); base 638 chrome/browser/media/media_capture_devices_dispatcher.cc base::Bind(&MediaCaptureDevicesDispatcher::OnAccessRequestResponse, base 639 chrome/browser/media/media_capture_devices_dispatcher.cc base::Unretained(this), web_contents)); base 669 chrome/browser/media/media_capture_devices_dispatcher.cc base::Bind(&MediaCaptureDevicesDispatcher::ProcessQueuedAccessRequest, base 670 chrome/browser/media/media_capture_devices_dispatcher.cc base::Unretained(this), web_contents)); base 765 chrome/browser/media/media_capture_devices_dispatcher.cc base::Bind( base 767 chrome/browser/media/media_capture_devices_dispatcher.cc base::Unretained(this))); base 774 chrome/browser/media/media_capture_devices_dispatcher.cc base::Bind( base 776 chrome/browser/media/media_capture_devices_dispatcher.cc base::Unretained(this))); base 789 chrome/browser/media/media_capture_devices_dispatcher.cc base::Bind( base 791 chrome/browser/media/media_capture_devices_dispatcher.cc base::Unretained(this), render_process_id, render_view_id, base 805 chrome/browser/media/media_capture_devices_dispatcher.cc base::Bind(&StartAudioStreamMonitoringOnUIThread, base 822 chrome/browser/media/media_capture_devices_dispatcher.cc base::Bind(&StopAudioStreamMonitoringOnUIThread, base 835 chrome/browser/media/media_capture_devices_dispatcher.cc base::Bind( base 837 chrome/browser/media/media_capture_devices_dispatcher.cc base::Unretained(this), render_process_id, render_frame_id)); base 19 chrome/browser/media/media_device_id_salt.cc base::Base64Encode(base::RandBytesAsString(16), &salt); base 22 chrome/browser/media/media_device_id_salt.h class MediaDeviceIDSalt : public base::RefCountedThreadSafe<MediaDeviceIDSalt> { base 33 chrome/browser/media/media_device_id_salt.h friend class base::RefCountedThreadSafe<MediaDeviceIDSalt>; base 62 chrome/browser/media/media_stream_capture_indicator.cc base::string16 GetSecurityOrigin(WebContents* web_contents) { base 66 chrome/browser/media/media_stream_capture_indicator.cc return base::string16(); base 77 chrome/browser/media/media_stream_capture_indicator.cc return base::UTF8ToUTF16(security_origin); base 80 chrome/browser/media/media_stream_capture_indicator.cc base::string16 GetTitle(WebContents* web_contents) { base 84 chrome/browser/media/media_stream_capture_indicator.cc return base::string16(); base 88 chrome/browser/media/media_stream_capture_indicator.cc return base::UTF8ToUTF16(extension->name()); base 90 chrome/browser/media/media_stream_capture_indicator.cc base::string16 tab_title = web_contents->GetTitle(); base 154 chrome/browser/media/media_stream_capture_indicator.cc base::WeakPtrFactory<WebContentsDeviceUsage> weak_factory_; base 167 chrome/browser/media/media_stream_capture_indicator.cc UIDelegate(base::WeakPtr<WebContentsDeviceUsage> device_usage, base 182 chrome/browser/media/media_stream_capture_indicator.cc virtual gfx::NativeViewId OnStarted(const base::Closure& close_callback) base 191 chrome/browser/media/media_stream_capture_indicator.cc base::WeakPtr<WebContentsDeviceUsage> device_usage_; base 355 chrome/browser/media/media_stream_capture_indicator.cc base::string16 tool_tip; base 450 chrome/browser/media/media_stream_capture_indicator.cc base::string16* tool_tip) { base 32 chrome/browser/media/media_stream_capture_indicator.h : public base::RefCountedThreadSafe<MediaStreamCaptureIndicator>, base 65 chrome/browser/media/media_stream_capture_indicator.h friend class base::RefCountedThreadSafe<MediaStreamCaptureIndicator>; base 87 chrome/browser/media/media_stream_capture_indicator.h base::string16* tool_tip); base 374 chrome/browser/media/media_stream_devices_controller.cc base::string16 MediaStreamDevicesController::GetMessageText() const { base 381 chrome/browser/media/media_stream_devices_controller.cc message_id, base::UTF8ToUTF16(GetSecurityOriginSpec())); base 384 chrome/browser/media/media_stream_devices_controller.cc base::string16 MediaStreamDevicesController::GetMessageTextFragment() const { base 444 chrome/browser/media/media_stream_devices_controller.cc const base::ListValue* list = prefs->GetList(whitelist_policy_name); base 77 chrome/browser/media/media_stream_devices_controller.h virtual base::string16 GetMessageText() const OVERRIDE; base 78 chrome/browser/media/media_stream_devices_controller.h virtual base::string16 GetMessageTextFragment() const OVERRIDE; base 100 chrome/browser/media/media_stream_infobar_delegate.cc base::string16 MediaStreamInfoBarDelegate::GetMessageText() const { base 107 chrome/browser/media/media_stream_infobar_delegate.cc message_id, base::UTF8ToUTF16(controller_->GetSecurityOriginSpec())); base 110 chrome/browser/media/media_stream_infobar_delegate.cc base::string16 MediaStreamInfoBarDelegate::GetButtonLabel( base 136 chrome/browser/media/media_stream_infobar_delegate.cc base::string16 MediaStreamInfoBarDelegate::GetLinkText() const { base 44 chrome/browser/media/media_stream_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 45 chrome/browser/media/media_stream_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 48 chrome/browser/media/media_stream_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 72 chrome/browser/media/midi_permission_infobar_delegate.cc base::string16 MidiPermissionInfoBarDelegate::GetMessageText() const { base 78 chrome/browser/media/midi_permission_infobar_delegate.cc base::string16 MidiPermissionInfoBarDelegate::GetButtonLabel( base 44 chrome/browser/media/midi_permission_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 45 chrome/browser/media/midi_permission_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 39 chrome/browser/media/native_desktop_media_list.cc return base::SuperFastHash(reinterpret_cast<char*>(frame->data()), data_size); base 83 chrome/browser/media/native_desktop_media_list.cc const base::string16& name) base 91 chrome/browser/media/native_desktop_media_list.cc Worker(base::WeakPtr<NativeDesktopMediaList> media_list, base 106 chrome/browser/media/native_desktop_media_list.cc base::WeakPtr<NativeDesktopMediaList> media_list_; base 119 chrome/browser/media/native_desktop_media_list.cc base::WeakPtr<NativeDesktopMediaList> media_list, base 142 chrome/browser/media/native_desktop_media_list.cc base::string16 title; base 167 chrome/browser/media/native_desktop_media_list.cc base::UTF8ToUTF16(it->title))); base 175 chrome/browser/media/native_desktop_media_list.cc base::Bind(&NativeDesktopMediaList::OnSourcesList, base 214 chrome/browser/media/native_desktop_media_list.cc base::Bind(&NativeDesktopMediaList::OnSourceThumbnail, base 224 chrome/browser/media/native_desktop_media_list.cc base::Bind(&NativeDesktopMediaList::OnRefreshFinished, media_list_)); base 242 chrome/browser/media/native_desktop_media_list.cc update_period_(base::TimeDelta::FromMilliseconds(kDefaultUpdatePeriod)), base 247 chrome/browser/media/native_desktop_media_list.cc base::SequencedWorkerPool* worker_pool = BrowserThread::GetBlockingPool(); base 256 chrome/browser/media/native_desktop_media_list.cc void NativeDesktopMediaList::SetUpdatePeriod(base::TimeDelta period) { base 293 chrome/browser/media/native_desktop_media_list.cc FROM_HERE, base::Bind(&Worker::Refresh, base::Unretained(worker_.get()), base 370 chrome/browser/media/native_desktop_media_list.cc base::Bind(&NativeDesktopMediaList::Refresh, base 34 chrome/browser/media/native_desktop_media_list.h virtual void SetUpdatePeriod(base::TimeDelta period) OVERRIDE; base 48 chrome/browser/media/native_desktop_media_list.h SourceDescription(content::DesktopMediaID id, const base::string16& name); base 51 chrome/browser/media/native_desktop_media_list.h base::string16 name; base 74 chrome/browser/media/native_desktop_media_list.h base::TimeDelta update_period_; base 86 chrome/browser/media/native_desktop_media_list.h scoped_refptr<base::SequencedTaskRunner> capture_task_runner_; base 96 chrome/browser/media/native_desktop_media_list.h base::WeakPtrFactory<NativeDesktopMediaList> weak_factory_; base 81 chrome/browser/media/native_desktop_media_list_unittest.cc base::AutoLock lock(window_list_lock_); base 88 chrome/browser/media/native_desktop_media_list_unittest.cc base::AutoLock lock(frame_values_lock_); base 100 chrome/browser/media/native_desktop_media_list_unittest.cc base::AutoLock lock(frame_values_lock_); base 112 chrome/browser/media/native_desktop_media_list_unittest.cc base::AutoLock lock(window_list_lock_); base 129 chrome/browser/media/native_desktop_media_list_unittest.cc base::Lock window_list_lock_; base 135 chrome/browser/media/native_desktop_media_list_unittest.cc base::Lock frame_values_lock_; base 145 chrome/browser/media/native_desktop_media_list_unittest.cc message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 163 chrome/browser/media/native_desktop_media_list_unittest.cc model_->SetUpdatePeriod(base::TimeDelta::FromMilliseconds(0)); base 199 chrome/browser/media/native_desktop_media_list_unittest.cc base::UTF8ToUTF16("Test window")); base 214 chrome/browser/media/native_desktop_media_list_unittest.cc base::MessageLoop message_loop_; base 330 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(1).name, base::UTF8ToUTF16(kTestTitle)); base 91 chrome/browser/media/protected_media_identifier_infobar_delegate.cc base::string16 ProtectedMediaIdentifierInfoBarDelegate::GetMessageText() const { base 97 chrome/browser/media/protected_media_identifier_infobar_delegate.cc base::string16 ProtectedMediaIdentifierInfoBarDelegate::GetButtonLabel( base 109 chrome/browser/media/protected_media_identifier_infobar_delegate.cc base::string16 ProtectedMediaIdentifierInfoBarDelegate::GetLinkText() const { base 115 chrome/browser/media/protected_media_identifier_infobar_delegate.cc return base::string16(); base 48 chrome/browser/media/protected_media_identifier_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 49 chrome/browser/media/protected_media_identifier_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 52 chrome/browser/media/protected_media_identifier_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 49 chrome/browser/media/protected_media_identifier_permission_context.cc const base::Callback<void(bool)>& callback) { base 94 chrome/browser/media/protected_media_identifier_permission_context.cc const base::Callback<void(bool)>& callback) { base 125 chrome/browser/media/protected_media_identifier_permission_context.cc base::Bind(&ProtectedMediaIdentifierPermissionContext:: base 127 chrome/browser/media/protected_media_identifier_permission_context.cc base::Unretained(this), base 148 chrome/browser/media/protected_media_identifier_permission_context.cc const base::Callback<void(bool)>& callback, base 156 chrome/browser/media/protected_media_identifier_permission_context.cc const base::Callback<void(bool)>& callback, base 195 chrome/browser/media/protected_media_identifier_permission_context.cc base::Bind(&ProtectedMediaIdentifierPermissionContext:: base 24 chrome/browser/media/protected_media_identifier_permission_context.h : public base::RefCountedThreadSafe< base 35 chrome/browser/media/protected_media_identifier_permission_context.h const base::Callback<void(bool)>& callback); base 43 chrome/browser/media/protected_media_identifier_permission_context.h friend class base::RefCountedThreadSafe< base 58 chrome/browser/media/protected_media_identifier_permission_context.h const base::Callback<void(bool)>& callback, base 69 chrome/browser/media/protected_media_identifier_permission_context.h const base::Callback<void(bool)>& callback); base 78 chrome/browser/media/protected_media_identifier_permission_context.h const base::Callback<void(bool)>& callback, base 17 chrome/browser/media/test_license_server.cc license_server_process_(base::kNullProcessHandle) { base 25 chrome/browser/media/test_license_server.cc if (license_server_process_ != base::kNullProcessHandle) base 41 chrome/browser/media/test_license_server.cc if (!base::LaunchProcess(command_line, base::LaunchOptions(), base 46 chrome/browser/media/test_license_server.cc DCHECK_NE(license_server_process_, base::kNullProcessHandle); base 51 chrome/browser/media/test_license_server.cc if (license_server_process_ == base::kNullProcessHandle) base 54 chrome/browser/media/test_license_server.cc bool kill_succeeded = base::KillProcess(license_server_process_, 1, true); base 57 chrome/browser/media/test_license_server.cc base::CloseProcessHandle(license_server_process_); base 58 chrome/browser/media/test_license_server.cc license_server_process_ = base::kNullProcessHandle; base 31 chrome/browser/media/test_license_server.h base::ProcessHandle license_server_process_; base 12 chrome/browser/media/test_license_server_config.h namespace base { base 30 chrome/browser/media/test_license_server_config.h virtual bool GetServerCommandLine(base::CommandLine* command_line) = 0; base 50 chrome/browser/media/webrtc_browsertest_base.cc base::LazyInstance<bool> hit_javascript_errors_ = base 254 chrome/browser/media/webrtc_browsertest_base.cc std::string javascript = base::StringPrintf( base 294 chrome/browser/media/webrtc_browsertest_base.cc std::string javascript = base::StringPrintf( base 309 chrome/browser/media/webrtc_browsertest_base.cc base::StringPrintf("getStreamSize('%s')", video_element.c_str()); base 20 chrome/browser/media/webrtc_browsertest_common.cc const base::FilePath::CharType kReferenceVideosDirName[] = base 22 chrome/browser/media/webrtc_browsertest_common.cc const base::FilePath::CharType kReferenceFileName360p[] = base 24 chrome/browser/media/webrtc_browsertest_common.cc const base::FilePath::CharType kYuvFileExtension[] = FILE_PATH_LITERAL("yuv"); base 25 chrome/browser/media/webrtc_browsertest_common.cc const base::FilePath::CharType kY4mFileExtension[] = FILE_PATH_LITERAL("y4m"); base 39 chrome/browser/media/webrtc_browsertest_common.cc base::FilePath GetReferenceVideosDir() { base 44 chrome/browser/media/webrtc_browsertest_common.cc const base::FilePath::StringType src_token(FILE_PATH_LITERAL("src")); base 46 chrome/browser/media/webrtc_browsertest_common.cc base::FilePath source_dir; base 47 chrome/browser/media/webrtc_browsertest_common.cc PathService::Get(base::DIR_SOURCE_ROOT, &source_dir); base 49 chrome/browser/media/webrtc_browsertest_common.cc base::FilePath::StringType path = source_dir.value(); base 54 chrome/browser/media/webrtc_browsertest_common.cc return base::FilePath(path).Append(kReferenceVideosDirName); base 58 chrome/browser/media/webrtc_browsertest_common.cc if (!base::PathExists(GetReferenceVideosDir())) { base 65 chrome/browser/media/webrtc_browsertest_common.cc base::FilePath webrtc_reference_video_yuv = GetReferenceVideosDir() base 67 chrome/browser/media/webrtc_browsertest_common.cc if (!base::PathExists(webrtc_reference_video_yuv)) { base 75 chrome/browser/media/webrtc_browsertest_common.cc base::FilePath webrtc_reference_video_y4m = GetReferenceVideosDir() base 77 chrome/browser/media/webrtc_browsertest_common.cc if (!base::PathExists(webrtc_reference_video_y4m)) { base 88 chrome/browser/media/webrtc_browsertest_common.cc const std::string javascript = base::StringPrintf( base 110 chrome/browser/media/webrtc_browsertest_common.cc base::Time start_time = base::Time::Now(); base 111 chrome/browser/media/webrtc_browsertest_common.cc base::TimeDelta timeout = TestTimeouts::action_max_timeout(); base 114 chrome/browser/media/webrtc_browsertest_common.cc while (base::Time::Now() - start_time < timeout) { base 139 chrome/browser/media/webrtc_browsertest_common.cc static base::FilePath::CharType kServerExecutable[] = base 149 chrome/browser/media/webrtc_browsertest_common.cc base::FilePath peerconnection_server; base 150 chrome/browser/media/webrtc_browsertest_common.cc if (!PathService::Get(base::DIR_MODULE, &peerconnection_server)) { base 156 chrome/browser/media/webrtc_browsertest_common.cc if (!base::PathExists(peerconnection_server)) { base 166 chrome/browser/media/webrtc_browsertest_common.cc return base::LaunchProcess(command_line, base 167 chrome/browser/media/webrtc_browsertest_common.cc base::LaunchOptions(), base 172 chrome/browser/media/webrtc_browsertest_common.cc return base::KillProcess(server_pid_, 0, false); base 176 chrome/browser/media/webrtc_browsertest_common.cc if (!base::KillProcesses(kServerExecutable, -1, NULL)) { base 180 chrome/browser/media/webrtc_browsertest_common.cc base::WaitForProcessesToExit(kServerExecutable, base 181 chrome/browser/media/webrtc_browsertest_common.cc base::TimeDelta::FromSeconds(5), NULL); base 29 chrome/browser/media/webrtc_browsertest_common.h base::FilePath GetReferenceVideosDir(); base 31 chrome/browser/media/webrtc_browsertest_common.h extern const base::FilePath::CharType kReferenceFileName360p[]; base 32 chrome/browser/media/webrtc_browsertest_common.h extern const base::FilePath::CharType kYuvFileExtension[]; base 33 chrome/browser/media/webrtc_browsertest_common.h extern const base::FilePath::CharType kY4mFileExtension[]; base 69 chrome/browser/media/webrtc_browsertest_common.h base::ProcessHandle server_pid_; base 19 chrome/browser/media/webrtc_browsertest_perf.cc return base::StringPrintf("stats.%s-%s.values", bucket.c_str(), base 24 chrome/browser/media/webrtc_browsertest_perf.cc const std::string& ssrc, const base::DictionaryValue& pc_dict) { base 40 chrome/browser/media/webrtc_browsertest_perf.cc const std::string& ssrc, const base::DictionaryValue& pc_dict) { base 58 chrome/browser/media/webrtc_browsertest_perf.cc const std::string& ssrc, const base::DictionaryValue& pc_dict) { base 105 chrome/browser/media/webrtc_browsertest_perf.cc const std::string& ssrc, const base::DictionaryValue& pc_dict) { base 163 chrome/browser/media/webrtc_browsertest_perf.cc const base::DictionaryValue& stats_dict) { base 165 chrome/browser/media/webrtc_browsertest_perf.cc base::DictionaryValue::Iterator stats_iterator(stats_dict); base 177 chrome/browser/media/webrtc_browsertest_perf.cc void PrintBweForVideoMetrics(const base::DictionaryValue& pc_dict) { base 202 chrome/browser/media/webrtc_browsertest_perf.cc void PrintMetricsForAllStreams(const base::DictionaryValue& pc_dict) { base 203 chrome/browser/media/webrtc_browsertest_perf.cc const base::DictionaryValue* stats_dict; base 8 chrome/browser/media/webrtc_browsertest_perf.h namespace base { base 22 chrome/browser/media/webrtc_browsertest_perf.h void PrintBweForVideoMetrics(const base::DictionaryValue& pc_dict); base 23 chrome/browser/media/webrtc_browsertest_perf.h void PrintMetricsForAllStreams(const base::DictionaryValue& pc_dict); base 24 chrome/browser/media/webrtc_log_list.cc base::FilePath log_list_path = GetWebRtcLogListFileForDirectory( base 30 chrome/browser/media/webrtc_log_list.cc base::FilePath WebRtcLogList::GetWebRtcLogDirectoryForProfile( base 31 chrome/browser/media/webrtc_log_list.cc const base::FilePath& profile_path) { base 37 chrome/browser/media/webrtc_log_list.cc base::FilePath WebRtcLogList::GetWebRtcLogListFileForDirectory( base 38 chrome/browser/media/webrtc_log_list.cc const base::FilePath& dir) { base 21 chrome/browser/media/webrtc_log_list.h static base::FilePath GetWebRtcLogDirectoryForProfile( base 22 chrome/browser/media/webrtc_log_list.h const base::FilePath& profile_path); base 26 chrome/browser/media/webrtc_log_list.h static base::FilePath GetWebRtcLogListFileForDirectory( base 27 chrome/browser/media/webrtc_log_list.h const base::FilePath& dir); base 72 chrome/browser/media/webrtc_log_uploader.cc base::FilePath log_list_path = base 77 chrome/browser/media/webrtc_log_uploader.cc base::Bind(&WebRtcLogUploader::AddUploadedLogInfoToUploadListFile, base 78 chrome/browser/media/webrtc_log_uploader.cc base::Unretained(this), base 105 chrome/browser/media/webrtc_log_uploader.cc base::Bind(&WebRtcLogUploader::DecreaseLogCount, base::Unretained(this))); base 123 chrome/browser/media/webrtc_log_uploader.cc if (base::PathExists(upload_done_data.log_path)) { base 126 chrome/browser/media/webrtc_log_uploader.cc local_log_id = base::DoubleToString(base::Time::Now().ToDoubleT()); base 127 chrome/browser/media/webrtc_log_uploader.cc base::FilePath log_file_path = base 132 chrome/browser/media/webrtc_log_uploader.cc base::FilePath log_list_path = base 158 chrome/browser/media/webrtc_log_uploader.cc base::Bind(&WebRtcLogUploader::CreateAndStartURLFetcher, base 159 chrome/browser/media/webrtc_log_uploader.cc base::Unretained(this), base 164 chrome/browser/media/webrtc_log_uploader.cc base::Bind(&WebRtcLogUploader::DecreaseLogCount, base::Unretained(this))); base 317 chrome/browser/media/webrtc_log_uploader.cc const base::FilePath& log_file_path) { base 320 chrome/browser/media/webrtc_log_uploader.cc base::WriteFile(log_file_path, base 326 chrome/browser/media/webrtc_log_uploader.cc const base::FilePath& upload_list_path, base 334 chrome/browser/media/webrtc_log_uploader.cc if (base::PathExists(upload_list_path)) { base 335 chrome/browser/media/webrtc_log_uploader.cc if (!base::ReadFileToString(upload_list_path, &contents)) { base 361 chrome/browser/media/webrtc_log_uploader.cc base::WriteFile(upload_list_path, &contents[0], contents.size()); base 369 chrome/browser/media/webrtc_log_uploader.cc const base::FilePath& upload_list_path, base 379 chrome/browser/media/webrtc_log_uploader.cc if (base::PathExists(upload_list_path)) { base 380 chrome/browser/media/webrtc_log_uploader.cc if (!base::ReadFileToString(upload_list_path, &contents)) { base 389 chrome/browser/media/webrtc_log_uploader.cc base::Time time_now = base::Time::Now(); base 390 chrome/browser/media/webrtc_log_uploader.cc std::string time_now_str = base::DoubleToString(time_now.ToDoubleT()); base 400 chrome/browser/media/webrtc_log_uploader.cc base::WriteFile(upload_list_path, &contents[0], contents.size()); base 412 chrome/browser/media/webrtc_log_uploader.cc base::Bind(&WebRtcLoggingHandlerHost::UploadLogDone, base 419 chrome/browser/media/webrtc_log_uploader.cc base::IntToString(response_code); base 423 chrome/browser/media/webrtc_log_uploader.cc base::Bind(upload_done_data.callback, success, report_id, base 20 chrome/browser/media/webrtc_log_uploader.h namespace base { base 36 chrome/browser/media/webrtc_log_uploader.h base::FilePath log_path; base 123 chrome/browser/media/webrtc_log_uploader.h const base::FilePath& log_file_path); base 142 chrome/browser/media/webrtc_log_uploader.h const base::FilePath& upload_list_path, base 145 chrome/browser/media/webrtc_log_uploader.h const base::FilePath& upload_list_path, base 154 chrome/browser/media/webrtc_log_uploader.h base::ThreadChecker create_thread_checker_; base 157 chrome/browser/media/webrtc_log_uploader.h base::ThreadChecker file_thread_checker_; base 36 chrome/browser/media/webrtc_log_uploader_unittest.cc base::SplitString(last_line, ',', &line_parts); base 53 chrome/browser/media/webrtc_log_uploader_unittest.cc base::SplitString(last_line, ',', &line_parts); base 68 chrome/browser/media/webrtc_log_uploader_unittest.cc base::SplitString(last_line, ',', &line_parts); base 79 chrome/browser/media/webrtc_log_uploader_unittest.cc base::File test_list_file(test_list_path_, base 80 chrome/browser/media/webrtc_log_uploader_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_APPEND); base 104 chrome/browser/media/webrtc_log_uploader_unittest.cc int read = base::ReadFileToString(test_list_path_, &contents); base 112 chrome/browser/media/webrtc_log_uploader_unittest.cc base::SplitString(contents, '\n', &lines); base 131 chrome/browser/media/webrtc_log_uploader_unittest.cc base::FilePath test_list_path_; base 137 chrome/browser/media/webrtc_log_uploader_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&test_list_path_)); base 138 chrome/browser/media/webrtc_log_uploader_unittest.cc EXPECT_TRUE(base::DeleteFile(test_list_path_, false)); base 174 chrome/browser/media/webrtc_log_uploader_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&test_list_path_)); base 175 chrome/browser/media/webrtc_log_uploader_unittest.cc EXPECT_TRUE(base::DeleteFile(test_list_path_, false)); base 39 chrome/browser/media/webrtc_log_util.cc void WebRtcLogUtil::DeleteOldWebRtcLogFiles(const base::FilePath& log_dir) { base 40 chrome/browser/media/webrtc_log_util.cc DeleteOldAndRecentWebRtcLogFiles(log_dir, base::Time::Max()); base 45 chrome/browser/media/webrtc_log_util.cc const base::FilePath& log_dir, base 46 chrome/browser/media/webrtc_log_util.cc const base::Time& delete_begin_time) { base 49 chrome/browser/media/webrtc_log_util.cc if (!base::PathExists(log_dir)) { base 55 chrome/browser/media/webrtc_log_util.cc const base::Time now = base::Time::Now(); base 56 chrome/browser/media/webrtc_log_util.cc const base::TimeDelta time_to_keep_logs = base 57 chrome/browser/media/webrtc_log_util.cc base::TimeDelta::FromDays(kDaysToKeepLogs); base 59 chrome/browser/media/webrtc_log_util.cc base::FilePath log_list_path = base 62 chrome/browser/media/webrtc_log_util.cc const bool update_log_list = base::PathExists(log_list_path); base 64 chrome/browser/media/webrtc_log_util.cc bool read_ok = base::ReadFileToString(log_list_path, &log_list); base 68 chrome/browser/media/webrtc_log_util.cc base::FileEnumerator log_files(log_dir, false, base::FileEnumerator::FILES); base 70 chrome/browser/media/webrtc_log_util.cc for (base::FilePath name = log_files.Next(); !name.empty(); base 74 chrome/browser/media/webrtc_log_util.cc base::FileEnumerator::FileInfo file_info(log_files.GetInfo()); base 75 chrome/browser/media/webrtc_log_util.cc base::TimeDelta file_age = now - file_info.GetLastModifiedTime(); base 79 chrome/browser/media/webrtc_log_util.cc if (!base::DeleteFile(name, false)) base 98 chrome/browser/media/webrtc_log_util.cc int written = base::WriteFile(log_list_path, &log_list[0], log_list.size()); base 114 chrome/browser/media/webrtc_log_util.cc base::Bind(&DeleteOldWebRtcLogFiles, base 14 chrome/browser/media/webrtc_log_util.h static void DeleteOldWebRtcLogFiles(const base::FilePath& log_dir); base 21 chrome/browser/media/webrtc_log_util.h const base::FilePath& log_dir, base 22 chrome/browser/media/webrtc_log_util.h const base::Time& delete_begin_time); base 28 chrome/browser/media/webrtc_log_util_unittest.cc base::FilePath file; base 31 chrome/browser/media/webrtc_log_util_unittest.cc base::Time time_expect_to_keep = base 32 chrome/browser/media/webrtc_log_util_unittest.cc base::Time::Now() - base 33 chrome/browser/media/webrtc_log_util_unittest.cc base::TimeDelta::FromDays(kExpectedDaysToKeepLogFiles - 1); base 36 chrome/browser/media/webrtc_log_util_unittest.cc base::Time time_expect_to_delete = base 37 chrome/browser/media/webrtc_log_util_unittest.cc base::Time::Now() - base 38 chrome/browser/media/webrtc_log_util_unittest.cc base::TimeDelta::FromDays(kExpectedDaysToKeepLogFiles + 1); base 43 chrome/browser/media/webrtc_log_util_unittest.cc base::FileEnumerator files(dir_.path(), false, base::FileEnumerator::FILES); base 45 chrome/browser/media/webrtc_log_util_unittest.cc for (base::FilePath name = files.Next(); !name.empty(); base 47 chrome/browser/media/webrtc_log_util_unittest.cc EXPECT_LT(base::Time::Now() - files.GetInfo().GetLastModifiedTime(), base 48 chrome/browser/media/webrtc_log_util_unittest.cc base::TimeDelta::FromDays(kExpectedDaysToKeepLogFiles)); base 54 chrome/browser/media/webrtc_log_util_unittest.cc base::MessageLoopForUI message_loop_; base 56 chrome/browser/media/webrtc_log_util_unittest.cc base::ScopedTempDir dir_; base 65 chrome/browser/media/webrtc_log_util_unittest.cc base::Time time_begin_delete = base 66 chrome/browser/media/webrtc_log_util_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(1); base 48 chrome/browser/media/webrtc_logging_handler_host.cc using base::IntToString; base 142 chrome/browser/media/webrtc_logging_handler_host.cc base::Bind(callback, success, base 157 chrome/browser/media/webrtc_logging_handler_host.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 182 chrome/browser/media/webrtc_logging_handler_host.cc base::Bind(callback, false, "", kLogNotStoppedOrNoLogOpen)); base 190 chrome/browser/media/webrtc_logging_handler_host.cc base::Bind(&WebRtcLoggingHandlerHost::GetLogDirectoryAndEnsureExists, base 192 chrome/browser/media/webrtc_logging_handler_host.cc base::Bind(&WebRtcLoggingHandlerHost::TriggerUploadLog, this)); base 221 chrome/browser/media/webrtc_logging_handler_host.cc base::Bind( base 224 chrome/browser/media/webrtc_logging_handler_host.cc WebRtcLoggingMessageData(base::Time::Now(), message))); base 232 chrome/browser/media/webrtc_logging_handler_host.cc logging_started_time_ = base::Time(); base 236 chrome/browser/media/webrtc_logging_handler_host.cc base::Bind(&WebRtcLoggingHandlerHost::GetLogDirectoryAndEnsureExists, base 238 chrome/browser/media/webrtc_logging_handler_host.cc base::Bind(&WebRtcLoggingHandlerHost::TriggerUploadLog, this)); base 291 chrome/browser/media/webrtc_logging_handler_host.cc logging_started_time_ = base::Time(); base 305 chrome/browser/media/webrtc_logging_handler_host.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 319 chrome/browser/media/webrtc_logging_handler_host.cc BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind( base 330 chrome/browser/media/webrtc_logging_handler_host.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 340 chrome/browser/media/webrtc_logging_handler_host.cc base::Time::Exploded now = {0}; base 341 chrome/browser/media/webrtc_logging_handler_host.cc base::Time::Now().LocalExplode(&now); base 342 chrome/browser/media/webrtc_logging_handler_host.cc LogToCircularBuffer(base::StringPrintf( base 354 chrome/browser/media/webrtc_logging_handler_host.cc LogToCircularBuffer(base::SysInfo::OperatingSystemName() + " " + base 355 chrome/browser/media/webrtc_logging_handler_host.cc base::SysInfo::OperatingSystemVersion() + " " + base 356 chrome/browser/media/webrtc_logging_handler_host.cc base::SysInfo::OperatingSystemArchitecture()); base 358 chrome/browser/media/webrtc_logging_handler_host.cc LogToCircularBuffer("Linux distribution: " + base::GetLinuxDistro()); base 362 chrome/browser/media/webrtc_logging_handler_host.cc base::CPU cpu; base 366 chrome/browser/media/webrtc_logging_handler_host.cc IntToString(base::SysInfo::NumberOfProcessors()) + ", " + base 367 chrome/browser/media/webrtc_logging_handler_host.cc IntToString(base::SysInfo::AmountOfPhysicalMemoryMB()) + "MB"); base 379 chrome/browser/media/webrtc_logging_handler_host.cc computer_model = base::mac::GetModelIdentifier(); base 409 chrome/browser/media/webrtc_logging_handler_host.cc logging_started_time_ = base::Time::Now(); base 422 chrome/browser/media/webrtc_logging_handler_host.cc base::FilePath WebRtcLoggingHandlerHost::GetLogDirectoryAndEnsureExists() { base 424 chrome/browser/media/webrtc_logging_handler_host.cc base::FilePath log_dir_path = base 426 chrome/browser/media/webrtc_logging_handler_host.cc base::File::Error error; base 427 chrome/browser/media/webrtc_logging_handler_host.cc if (!base::CreateDirectoryAndGetError(log_dir_path, &error)) { base 429 chrome/browser/media/webrtc_logging_handler_host.cc return base::FilePath(); base 435 chrome/browser/media/webrtc_logging_handler_host.cc const base::FilePath& log_directory) { base 447 chrome/browser/media/webrtc_logging_handler_host.cc BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind( base 449 chrome/browser/media/webrtc_logging_handler_host.cc base::Unretained(g_browser_process->webrtc_log_uploader()), base 465 chrome/browser/media/webrtc_logging_handler_host.cc base::Bind(*callback, success, base 35 chrome/browser/media/webrtc_logging_handler_host.h typedef base::Callback<void(bool, const std::string&)> GenericDoneCallback; base 36 chrome/browser/media/webrtc_logging_handler_host.h typedef base::Callback<void(bool, const std::string&, const std::string&)> base 97 chrome/browser/media/webrtc_logging_handler_host.h friend class base::DeleteHelper<WebRtcLoggingHandlerHost>; base 125 chrome/browser/media/webrtc_logging_handler_host.h base::FilePath GetLogDirectoryAndEnsureExists(); base 127 chrome/browser/media/webrtc_logging_handler_host.h void TriggerUploadLog(const base::FilePath& log_directory); base 161 chrome/browser/media/webrtc_logging_handler_host.h base::SharedMemoryHandle foreign_memory_handle_; base 165 chrome/browser/media/webrtc_logging_handler_host.h base::Time logging_started_time_; base 22 chrome/browser/media/wv_test_license_server_config.cc const base::FilePath::CharType kKeysFileName[] = base 24 chrome/browser/media/wv_test_license_server_config.cc const base::FilePath::CharType kPoliciesFileName[] = base 26 chrome/browser/media/wv_test_license_server_config.cc const base::FilePath::CharType kProfilesFileName[] = base 30 chrome/browser/media/wv_test_license_server_config.cc const base::FilePath::CharType kLicenseServerConfigDirName[] = base 47 chrome/browser/media/wv_test_license_server_config.cc base::FilePath pyproto_dir; base 54 chrome/browser/media/wv_test_license_server_config.cc base::FilePath license_server_path; base 56 chrome/browser/media/wv_test_license_server_config.cc if (!base::PathExists(license_server_path)) { base 61 chrome/browser/media/wv_test_license_server_config.cc base::FilePath server_root; base 63 chrome/browser/media/wv_test_license_server_config.cc base::FilePath config_path = server_root.Append(kLicenseServerConfigDirName); base 65 chrome/browser/media/wv_test_license_server_config.cc if (!base::PathExists(config_path.Append(kKeysFileName)) || base 66 chrome/browser/media/wv_test_license_server_config.cc !base::PathExists(config_path.Append(kPoliciesFileName)) || base 67 chrome/browser/media/wv_test_license_server_config.cc !base::PathExists(config_path.Append(kProfilesFileName))) { base 78 chrome/browser/media/wv_test_license_server_config.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 97 chrome/browser/media/wv_test_license_server_config.cc command_line->AppendArg(base::StringPrintf("--port=%u", port_)); base 106 chrome/browser/media/wv_test_license_server_config.cc uint16 start_seed = base::RandInt(0, kPortRangeSize); base 131 chrome/browser/media/wv_test_license_server_config.cc return base::StringPrintf("http://localhost:%u/license_server", port_); base 134 chrome/browser/media/wv_test_license_server_config.cc void WVTestLicenseServerConfig::GetLicenseServerPath(base::FilePath *path) { base 135 chrome/browser/media/wv_test_license_server_config.cc base::FilePath server_root; base 148 chrome/browser/media/wv_test_license_server_config.cc base::FilePath* path) { base 149 chrome/browser/media/wv_test_license_server_config.cc base::FilePath source_root; base 150 chrome/browser/media/wv_test_license_server_config.cc PathService::Get(base::DIR_SOURCE_ROOT, &source_root); base 18 chrome/browser/media/wv_test_license_server_config.h virtual bool GetServerCommandLine(base::CommandLine* command_line) OVERRIDE; base 28 chrome/browser/media/wv_test_license_server_config.h void GetLicenseServerRootPath(base::FilePath* path); base 32 chrome/browser/media/wv_test_license_server_config.h void GetLicenseServerPath(base::FilePath* path); base 29 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc base::File::Error ScanFile(const base::FilePath& dest_platform_path) { base 32 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc base::win::ScopedComPtr<IAttachmentExecute> attachment_services; base 38 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc return base::File::FILE_ERROR_SECURITY; base 43 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc return base::File::FILE_ERROR_SECURITY; base 49 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc return base::File::FILE_OK; base 51 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc return base::File::FILE_ERROR_SECURITY; base 60 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc const base::FilePath& dest_platform_path, base 68 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc base::Bind(&ScanFile, dest_platform_path), base 71 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc result_callback.Run(base::File::FILE_OK); base 11 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.h namespace base { base 23 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.h const base::FilePath& dest_platform_path, base 48 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::FilePath& device_file_path, base 49 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::FilePath& profile_path, base 50 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::FilePath* snapshot_file_path) { base 52 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::FilePath media_file_system_dir_path = base 54 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc if (!base::CreateDirectory(media_file_system_dir_path) || base 55 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc !base::CreateTemporaryFileInDir(media_file_system_dir_path, base 59 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc *snapshot_file_path = base::FilePath(); base 70 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::FilePath& profile_path) { base 91 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::PlatformFile invalid_file = base::kInvalidPlatformFileValue; base 92 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY, base 93 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::PassPlatformFile(&invalid_file), base 94 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Closure()); base 103 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY, false); base 114 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 124 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnGetFileInfoError(callback, base::File::FILE_ERROR_NOT_FOUND); base 129 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&DeviceMediaAsyncFileUtil::OnDidGetFileInfo, base 132 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&DeviceMediaAsyncFileUtil::OnGetFileInfoError, base 144 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnReadDirectoryError(callback, base::File::FILE_ERROR_NOT_FOUND); base 149 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&DeviceMediaAsyncFileUtil::OnDidReadDirectory, base 152 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&DeviceMediaAsyncFileUtil::OnReadDirectoryError, base 160 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::Time& last_access_time, base 161 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::Time& last_modified_time, base 165 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 175 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 187 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 198 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 203 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::FilePath& src_file_path, base 208 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 217 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 226 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 234 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 244 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnCreateSnapshotFileError(callback, base::File::FILE_ERROR_NOT_FOUND); base 248 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc scoped_refptr<base::SequencedTaskRunner> task_runner = context->task_runner(); base 249 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::FilePath* snapshot_file_path = new base::FilePath; base 252 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&CreateSnapshotFileOnBlockingPool, base 255 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Unretained(snapshot_file_path)), base 256 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&DeviceMediaAsyncFileUtil::OnSnapshotFileCreatedRunTask, base 258 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Passed(&context), base 261 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Owned(snapshot_file_path))); base 269 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::Time& expected_modification_time, base 282 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::FilePath& profile_path) base 289 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::File::Info& file_info) { base 290 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_OK, file_info); base 295 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::File::Error error) { base 296 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(error, base::File::Info()); base 303 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_OK, file_list, has_more); base 308 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::File::Error error) { base 314 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::SequencedTaskRunner* media_task_runner, base 315 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::File::Info& file_info, base 316 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::FilePath& platform_path) { base 317 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::PostTaskAndReplyWithResult( base 320 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&NativeMediaFileUtil::IsMediaFile, platform_path), base 321 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&DeviceMediaAsyncFileUtil::OnDidCheckMedia, base 333 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::File::Info& file_info, base 335 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::File::Error error) { base 336 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::FilePath platform_path(platform_file.get()->path()); base 337 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc if (error != base::File::FILE_OK) base 344 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::File::Error error) { base 345 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(error, base::File::Info(), base::FilePath(), base 353 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::FilePath* snapshot_file_path) { base 356 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnCreateSnapshotFileError(callback, base::File::FILE_ERROR_FAILED); base 361 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnCreateSnapshotFileError(callback, base::File::FILE_ERROR_NOT_FOUND); base 367 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&DeviceMediaAsyncFileUtil::OnDidCreateSnapshotFile, base 371 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::Bind(&DeviceMediaAsyncFileUtil::OnCreateSnapshotFileError, base 15 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h namespace base { base 40 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h static DeviceMediaAsyncFileUtil* Create(const base::FilePath& profile_path); base 71 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::Time& last_access_time, base 72 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::Time& last_modified_time, base 94 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::FilePath& src_file_path, base 122 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::Time& expected_modification_time, base 127 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h explicit DeviceMediaAsyncFileUtil(const base::FilePath& profile_path); base 134 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::File::Info& file_info); base 141 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::File::Error error); base 164 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::File::Error error); base 171 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::SequencedTaskRunner* media_task_runner, base 172 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::File::Info& file_info, base 173 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::FilePath& platform_path); base 179 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::File::Info& file_info, base 181 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::File::Error error); base 187 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::File::Error error); base 199 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::FilePath* snapshot_file_path); base 202 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::FilePath profile_path_; base 205 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::WeakPtrFactory<DeviceMediaAsyncFileUtil> weak_ptr_factory_; base 19 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc const base::FilePathWatcher::Callback& callback, base 20 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc const base::FilePath& path, base 24 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc FROM_HERE, base::Bind(callback, path, error)); base 30 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc const base::FilePath& path, base 32 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc const base::FilePathWatcher::Callback& path_changed_callback) { base 36 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc scoped_ptr<base::FilePathWatcher> watcher(new base::FilePathWatcher); base 40 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc base::Bind(&OnFilePathChangedOnFileThread, path_changed_callback)); base 44 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc FROM_HERE, base::Bind(watch_started_callback, base::Passed(&watcher))); base 50 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc const base::FilePath& path, base 52 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc const base::FilePathWatcher::Callback& path_changed_callback) { base 56 chrome/browser/media_galleries/fileapi/file_path_watcher_util.cc base::Bind(&StartFilePathWatchOnFileThread, base 13 chrome/browser/media_galleries/fileapi/file_path_watcher_util.h typedef base::Callback<void(scoped_ptr<base::FilePathWatcher> watcher)> base 20 chrome/browser/media_galleries/fileapi/file_path_watcher_util.h const base::FilePath& path, base 22 chrome/browser/media_galleries/fileapi/file_path_watcher_util.h const base::FilePathWatcher::Callback& path_changed_callback); base 27 chrome/browser/media_galleries/fileapi/iapps_data_provider.cc IAppsDataProvider::IAppsDataProvider(const base::FilePath& library_path) base 37 chrome/browser/media_galleries/fileapi/iapps_data_provider.cc base::Bind(&IAppsDataProvider::OnLibraryWatchStarted, base 39 chrome/browser/media_galleries/fileapi/iapps_data_provider.cc base::Bind(&IAppsDataProvider::OnLibraryChanged, base 65 chrome/browser/media_galleries/fileapi/iapps_data_provider.cc const base::FilePath& IAppsDataProvider::library_path() const { base 70 chrome/browser/media_galleries/fileapi/iapps_data_provider.cc scoped_ptr<base::FilePathWatcher> library_watcher) { base 75 chrome/browser/media_galleries/fileapi/iapps_data_provider.cc void IAppsDataProvider::OnLibraryChanged(const base::FilePath& path, base 26 chrome/browser/media_galleries/fileapi/iapps_data_provider.h typedef base::Callback<void(bool)> ReadyCallback; base 28 chrome/browser/media_galleries/fileapi/iapps_data_provider.h explicit IAppsDataProvider(const base::FilePath& library_path); base 36 chrome/browser/media_galleries/fileapi/iapps_data_provider.h const base::FilePath& library_path() const; base 46 chrome/browser/media_galleries/fileapi/iapps_data_provider.h virtual void DoParseLibrary(const base::FilePath& library_path, base 50 chrome/browser/media_galleries/fileapi/iapps_data_provider.h virtual void OnLibraryChanged(const base::FilePath& path, bool error); base 55 chrome/browser/media_galleries/fileapi/iapps_data_provider.h void OnLibraryWatchStarted(scoped_ptr<base::FilePathWatcher> library_watcher); base 58 chrome/browser/media_galleries/fileapi/iapps_data_provider.h const base::FilePath library_path_; base 68 chrome/browser/media_galleries/fileapi/iapps_data_provider.h scoped_ptr<base::FilePathWatcher> library_watcher_; base 70 chrome/browser/media_galleries/fileapi/iapps_data_provider.h base::WeakPtrFactory<IAppsDataProvider> weak_factory_; base 14 chrome/browser/media_galleries/fileapi/iapps_finder.h typedef base::Callback<void(const std::string&)> IAppsFinderCallback; base 25 chrome/browser/media_galleries/fileapi/iapps_finder_impl.cc base::Bind(callback, device_id)); base 40 chrome/browser/media_galleries/fileapi/iapps_finder_impl.cc base::Bind(task, base::Bind(PostResultToUIThread, type, callback))); base 41 chrome/browser/media_galleries/fileapi/iapps_finder_impl.h NSArray* NSArrayFromFilePath(const base::FilePath& path); base 45 chrome/browser/media_galleries/fileapi/iapps_finder_impl.h typedef base::Callback<void(const IAppsFinderCallback&)> IAppsFinderTask; base 29 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc base::FilePath appdata_dir; base 30 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc if (PathService::Get(base::DIR_APP_DATA, &appdata_dir)) { base 31 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc base::FilePath pref_file = appdata_dir.AppendASCII("Apple Computer") base 34 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc base::ReadFileToString(pref_file, &xml_pref_data); base 43 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc base::FilePath music_dir; base 48 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc base::FilePath library_file = base 51 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc if (!base::PathExists(library_file)) { base 60 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc const base::FilePath& library_file) { base 63 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc if (library_file.empty() || !base::PathExists(library_file)) { base 82 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc base::Bind(&FinishedParsingPrefXML, callback)); base 94 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win.cc base::Bind(FindITunesLibraryOnFileThread), callback); base 25 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc std::string EncodePath(const base::FilePath& path) { base 29 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::Base64Encode(input, &result); base 33 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc void TouchFile(const base::FilePath& file) { base 34 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc ASSERT_EQ(1, base::WriteFile(file, " ", 1)); base 47 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc new base::ScopedPathOverride(base::DIR_APP_DATA, app_data_dir())); base 49 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc new base::ScopedPathOverride(chrome::DIR_USER_MUSIC, music_dir())); base 53 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc const base::FilePath& app_data_dir() { base 57 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc const base::FilePath& music_dir() { base 62 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::FilePath pref_dir = base 64 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc ASSERT_TRUE(base::CreateDirectory(pref_dir)); base 66 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::WriteFile(pref_dir.AppendASCII("iTunesPrefs.xml"), base 71 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::FilePath default_dir = music_dir().AppendASCII("iTunes"); base 72 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc ASSERT_TRUE(base::CreateDirectory(default_dir)); base 79 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::RunLoop loop; base 80 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc FindITunesLibrary(base::Bind(&ITunesFinderWinTest::TestFinderCallback, base 81 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::Unretained(this), loop.QuitClosure())); base 94 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc void TestFinderCallback(const base::Closure& quit_closure, base 101 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc scoped_ptr<base::ScopedPathOverride> app_data_dir_override_; base 102 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc scoped_ptr<base::ScopedPathOverride> music_dir_override_; base 103 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::ScopedTempDir app_data_dir_; base 104 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::ScopedTempDir music_dir_; base 126 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::FilePath library_xml = music_dir().AppendASCII("library.xml"); base 128 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc std::string xml = base::StringPrintf( base 146 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc base::FilePath library_xml = music_dir().AppendASCII("library.xml"); base 147 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc std::string xml = base::StringPrintf( base 164 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc xml = base::StringPrintf( base 178 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc xml = base::StringPrintf( base 22 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc IPhotoDataProvider::IPhotoDataProvider(const base::FilePath& library_path) base 29 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc const base::FilePath& library_path, base 34 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc base::Bind(&IPhotoDataProvider::OnLibraryParsed, base 50 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc typedef base::hash_map<uint64, const base::FilePath*> IdIndex; base 51 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc typedef base::hash_map<uint64, std::string> IdFileNameIndex; base 100 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc base::FilePath path = *(photo_it->second); base 105 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc "(" + base::Uint64ToString(id) + ")").value(); base 128 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc std::map<std::string, base::FilePath> IPhotoDataProvider::GetAlbumContents( base 130 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc std::map<std::string, base::FilePath> locations; base 143 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc base::FilePath IPhotoDataProvider::GetPhotoLocationInAlbum( base 148 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc return base::FilePath(); base 151 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc return base::FilePath(); base 160 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc std::map<std::string, base::FilePath> IPhotoDataProvider::GetOriginals( base 162 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc std::map<std::string, base::FilePath> locations; base 175 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc base::FilePath IPhotoDataProvider::GetOriginalPhotoLocation( base 180 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc return base::FilePath(); base 183 chrome/browser/media_galleries/fileapi/iphoto_data_provider.cc return base::FilePath(); base 30 chrome/browser/media_galleries/fileapi/iphoto_data_provider.h explicit IPhotoDataProvider(const base::FilePath& library_path); base 34 chrome/browser/media_galleries/fileapi/iphoto_data_provider.h virtual void DoParseLibrary(const base::FilePath& library_path, base 38 chrome/browser/media_galleries/fileapi/iphoto_data_provider.h virtual std::map<std::string, base::FilePath> GetAlbumContents( base 40 chrome/browser/media_galleries/fileapi/iphoto_data_provider.h virtual base::FilePath GetPhotoLocationInAlbum( base 45 chrome/browser/media_galleries/fileapi/iphoto_data_provider.h virtual std::map<std::string, base::FilePath> GetOriginals( base 47 chrome/browser/media_galleries/fileapi/iphoto_data_provider.h virtual base::FilePath GetOriginalPhotoLocation( base 52 chrome/browser/media_galleries/fileapi/iphoto_data_provider.h typedef base::hash_map<std::string, base::FilePath> FileIndex; base 54 chrome/browser/media_galleries/fileapi/iphoto_data_provider.h typedef base::hash_map<std::string, FileIndex> DirIndex; base 70 chrome/browser/media_galleries/fileapi/iphoto_data_provider.h base::WeakPtrFactory<IPhotoDataProvider> weak_factory_; base 26 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc using base::FilePath; base 32 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc TestIPhotoDataProvider(const base::FilePath& xml_library_path, base 33 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc const base::Closure& callback) base 40 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc virtual void OnLibraryChanged(const base::FilePath& path, base 46 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Closure callback_; base 70 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::RunLoop loop; base 74 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Bind(&IPhotoDataProviderTest::StartTestOnMediaTaskRunner, base 75 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Unretained(this))); base 79 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc void WriteLibrary(const base::Closure& callback) { base 84 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc void SetLibraryChangeCallback(const base::Closure& callback) { base 93 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc const base::FilePath& library_dir() const { base 97 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::FilePath XmlFile() const { base 127 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Bind(&IPhotoDataProviderTest::OnLibraryChanged, base 128 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Unretained(this)))); base 129 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc data_provider()->RefreshData(base::Bind(&IPhotoDataProviderTest::StartTest, base 130 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Unretained(this))); base 144 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::WriteFile(XmlFile(), xml.c_str(), xml.size())); base 147 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::ScopedTempDir library_dir_; base 149 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Closure library_changed_callback_; base 151 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Closure quit_closure_; base 300 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc std::map<std::string, base::FilePath> photos = base 321 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc std::map<std::string, base::FilePath> originals = base 330 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::FilePath original_path = base 405 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc WriteLibrary(base::Bind(&IPhotoDataProviderRefreshTest::CheckAfterWrite, base 406 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Unretained(this))); base 418 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Bind(&IPhotoDataProviderRefreshTest::CheckRefresh, base 419 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Unretained(this))); base 450 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Bind(&IPhotoDataProvider::RefreshData, base 451 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Unretained(data_provider()), base 452 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Bind(&IPhotoDataProviderInvalidTest::CheckInvalid, base 453 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc base::Unretained(this)))); base 454 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc EXPECT_EQ(1L, base::WriteFile(XmlFile(), " ", 1)); base 32 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error MakeDirectoryFileInfo(base::File::Info* file_info) { base 33 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info result; base 36 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; base 54 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::FilePath root = imported_registry->ImportedRoot().AppendASCII("iphoto"); base 57 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::FilePath virtual_path; base 90 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::Bind(&IPhotoFileUtil::GetFileInfoWithFreshDataProvider, base 91 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), url, base 107 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::Bind(&IPhotoFileUtil::ReadDirectoryWithFreshDataProvider, base 108 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), url, base 125 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::Bind(&IPhotoFileUtil::CreateSnapshotFileWithFreshDataProvider, base 126 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), url, base 141 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, base::File::Info())); base 159 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, EntryList(), false)); base 174 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info file_info; base 175 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::FilePath platform_path; base 180 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, file_info, base 191 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::GetFileInfoSync( base 194 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info* file_info, base 195 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::FilePath* platform_path) { base 216 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 219 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::FilePath location = GetDataProvider()->GetPhotoLocationInAlbum( base 228 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::FilePath location = GetDataProvider()->GetOriginalPhotoLocation( base 237 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 240 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::ReadDirectorySync( base 251 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc 0, base::Time())); base 252 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; base 263 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc 0, base::Time())); base 265 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; base 270 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 276 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc 0, base::Time())); base 278 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc std::map<std::string, base::FilePath> locations = base 280 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc for (std::map<std::string, base::FilePath>::const_iterator it = base 283 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info info; base 284 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc if (!base::GetFileInfo(it->second, &info)) base 285 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_IO; base 289 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; base 293 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc std::map<std::string, base::FilePath> originals = base 295 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc for (std::map<std::string, base::FilePath>::const_iterator it = base 298 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info info; base 299 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc if (!base::GetFileInfo(it->second, &info)) base 300 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_IO; base 304 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; base 308 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 311 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::DeleteDirectorySync( base 314 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_SECURITY; base 317 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::DeleteFileSync( base 320 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_SECURITY; base 324 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::GetLocalFilePath( base 327 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::FilePath* local_file_path) { base 331 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::FilePath location = GetDataProvider()->GetPhotoLocationInAlbum( base 335 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; base 342 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::FilePath location = GetDataProvider()->GetOriginalPhotoLocation( base 346 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; base 350 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 51 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error GetFileInfoSync( base 54 chrome/browser/media_galleries/fileapi/iphoto_file_util.h base::File::Info* file_info, base 55 chrome/browser/media_galleries/fileapi/iphoto_file_util.h base::FilePath* platform_path) OVERRIDE; base 56 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error ReadDirectorySync( base 60 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error DeleteDirectorySync( base 63 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error DeleteFileSync( base 66 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error GetLocalFilePath( base 69 chrome/browser/media_galleries/fileapi/iphoto_file_util.h base::FilePath* local_file_path) OVERRIDE; base 90 chrome/browser/media_galleries/fileapi/iphoto_file_util.h base::WeakPtrFactory<IPhotoFileUtil> weak_factory_; base 42 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::RunLoop* run_loop, base 45 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::File::Error error, base 49 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc *completed = !has_more && error == base::File::FILE_OK; base 60 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::RunLoop run_loop; base 62 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc url, base::Bind(&ReadDirectoryTestHelperCallback, &run_loop, contents, base 71 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc explicit TestIPhotoDataProvider(const base::FilePath& fake_library_path) base 89 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc virtual std::map<std::string, base::FilePath> GetAlbumContents( base 91 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc std::map<std::string, base::FilePath> contents; base 96 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc virtual base::FilePath GetPhotoLocationInAlbum( base 106 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc virtual std::map<std::string, base::FilePath> GetOriginals( base 108 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc std::map<std::string, base::FilePath> contents; base 113 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc virtual base::FilePath GetOriginalPhotoLocation( base 120 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::ScopedTempDir fake_auto_add_dir_; base 142 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc TestMediaFileSystemBackend(const base::FilePath& profile_path, base 172 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::WriteFile( base 178 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::WriteFile( base 197 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::Bind(&IPhotoFileUtilTest::SetUpDataProvider, base 198 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::Unretained(this))); base 199 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::WaitableEvent event(true, false /* initially_signalled */); base 202 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&event))); base 213 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 214 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 235 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::FilePath virtual_path = base 257 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::MessageLoop message_loop_; base 260 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::ScopedTempDir profile_dir_; base 261 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::ScopedTempDir fake_library_dir_; base 281 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe(kIPhotoAlbumsDir).value(), base 35 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::ConvertToUtf8AndNormalize(input, base::kCodepageUTF8, &result); base 36 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::ReplaceChars(result, ":/", "_", &result); base 67 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::FilePath track_file_name = (*track_it)->location.BaseName(); base 69 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::StringPrintf(" (%" PRId64 ")", (*track_it)->id); base 84 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc const base::FilePath& media_path, base 87 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::FilePath* result_path) { base 98 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::FilePath localized_auto_add_path = base 99 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc media_path.Append(base::FilePath::FromUTF8Unsafe(it->second)); base 109 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::FilePath GetAutoAddPath(const base::FilePath& library_path) { base 111 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::FilePath media_path = base 115 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::FilePath universal_auto_add_path = base 154 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::FilePath result_path; base 175 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc return base::FilePath(); base 180 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc ITunesDataProvider::ITunesDataProvider(const base::FilePath& library_path) base 188 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc const base::FilePath& library_path, base 193 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::Bind(&ITunesDataProvider::OnLibraryParsed, base 198 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc const base::FilePath& ITunesDataProvider::auto_add_path() const { base 218 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc base::FilePath ITunesDataProvider::GetTrackLocation( base 225 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc return base::FilePath(); base 229 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc return base::FilePath(); base 233 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc return base::FilePath(); base 32 chrome/browser/media_galleries/fileapi/itunes_data_provider.h typedef std::map<TrackName, base::FilePath> Album; base 34 chrome/browser/media_galleries/fileapi/itunes_data_provider.h explicit ITunesDataProvider(const base::FilePath& library_path); base 38 chrome/browser/media_galleries/fileapi/itunes_data_provider.h virtual const base::FilePath& auto_add_path() const; base 48 chrome/browser/media_galleries/fileapi/itunes_data_provider.h base::FilePath GetTrackLocation(const ArtistName& artist, base 68 chrome/browser/media_galleries/fileapi/itunes_data_provider.h virtual void DoParseLibrary(const base::FilePath& library_path, base 77 chrome/browser/media_galleries/fileapi/itunes_data_provider.h const base::FilePath auto_add_path_; base 86 chrome/browser/media_galleries/fileapi/itunes_data_provider.h base::WeakPtrFactory<ITunesDataProvider> weak_factory_; base 31 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc const base::FilePath& location) base 38 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath location; base 52 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc TestITunesDataProvider(const base::FilePath& xml_library_path, base 53 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc const base::Closure& callback) base 60 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc virtual void OnLibraryChanged(const base::FilePath& path, base 66 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Closure callback_; base 90 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::RunLoop loop; base 94 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Bind(&ITunesDataProviderTest::StartTestOnMediaTaskRunner, base 95 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Unretained(this))); base 100 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc const base::Closure& callback) { base 105 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc void SetLibraryChangeCallback(const base::Closure& callback) { base 114 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc const base::FilePath& library_dir() const { base 118 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath XmlFile() const { base 124 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track = base 165 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Bind(&ITunesDataProviderTest::OnLibraryChanged, base 166 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Unretained(this)))); base 167 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc data_provider()->RefreshData(base::Bind(&ITunesDataProviderTest::StartTest, base 168 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Unretained(this))); base 190 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc std::string entry_string = base::StringPrintf( base 203 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::WriteFile(XmlFile(), xml.c_str(), xml.size())); base 206 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::ScopedTempDir library_dir_; base 208 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Closure library_changed_callback_; base 210 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Closure quit_closure_; base 221 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track = library_dir().AppendASCII("Track.mp3"); base 261 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track = base 289 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track = library_dir().AppendASCII("Track.mp3"); base 303 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track2 = library_dir().AppendASCII("Track2.mp3"); base 307 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Bind(&ITunesDataProviderRefreshTest::CheckAfterWrite, base 308 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Unretained(this))); base 317 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Bind(&ITunesDataProviderRefreshTest::CheckRefresh, base 318 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Unretained(this))); base 339 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track = library_dir().AppendASCII("Track.mp3"); base 349 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Bind(&ITunesDataProvider::RefreshData, base 350 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Unretained(data_provider()), base 351 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Bind(&ITunesDataProviderInvalidTest::CheckInvalid, base 352 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::Unretained(this)))); base 353 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc ASSERT_EQ(1L, base::WriteFile(XmlFile(), " ", 1)); base 371 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track = library_dir().AppendASCII("Track.mp3"); base 384 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track = base 415 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track = library_dir().AppendASCII("Track:1.mp3"); base 427 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc base::FilePath track = base 30 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error MakeDirectoryFileInfo(base::File::Info* file_info) { base 31 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info result; base 34 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; base 41 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath root = imported_registry->ImportedRoot().AppendASCII("itunes"); base 44 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath virtual_path; base 79 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::Bind(&ITunesFileUtil::GetFileInfoWithFreshDataProvider, base 80 chrome/browser/media_galleries/fileapi/itunes_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), url, base 96 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::Bind(&ITunesFileUtil::ReadDirectoryWithFreshDataProvider, base 97 chrome/browser/media_galleries/fileapi/itunes_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), url, base 114 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::Bind(&ITunesFileUtil::CreateSnapshotFileWithFreshDataProvider, base 115 chrome/browser/media_galleries/fileapi/itunes_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), url, base 126 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::GetFileInfoSync( base 129 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info* file_info, base 130 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath* platform_path) { base 140 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath file_path = GetDataProvider()->library_path(); base 147 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 151 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 172 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath location = base 184 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 187 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::ReadDirectorySync( base 195 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info xml_info; base 196 chrome/browser/media_galleries/fileapi/itunes_file_util.cc if (!base::GetFileInfo(GetDataProvider()->library_path(), &xml_info)) base 197 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_IO; base 203 chrome/browser/media_galleries/fileapi/itunes_file_util.cc 0, base::Time())); base 204 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; base 208 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 211 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 217 chrome/browser/media_galleries/fileapi/itunes_file_util.cc 0, base::Time())); base 221 chrome/browser/media_galleries/fileapi/itunes_file_util.cc 0, base::Time())); base 222 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; base 231 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 239 chrome/browser/media_galleries/fileapi/itunes_file_util.cc 0, base::Time())); base 240 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; base 247 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 251 chrome/browser/media_galleries/fileapi/itunes_file_util.cc 0, base::Time())); base 252 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; base 259 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 262 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info file_info; base 264 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::GetFileInfo(it->second, &file_info)) { base 270 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; base 276 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath location; base 280 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 281 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 284 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::DeleteDirectorySync( base 287 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_SECURITY; base 290 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::DeleteFileSync( base 293 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_SECURITY; base 296 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::CreateSnapshotFileSync( base 299 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info* file_info, base 300 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath* platform_path, base 318 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::GetLocalFilePath( base 321 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath* local_file_path) { base 326 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; base 333 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 337 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath::FromUTF8Unsafe(components[i])); base 339 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; base 345 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 352 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; base 354 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 367 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, base 368 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info())); base 386 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, EntryList(), false)); base 401 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info file_info; base 402 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::FilePath platform_path; base 407 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, file_info, base 42 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error GetFileInfoSync( base 45 chrome/browser/media_galleries/fileapi/itunes_file_util.h base::File::Info* file_info, base 46 chrome/browser/media_galleries/fileapi/itunes_file_util.h base::FilePath* platform_path) OVERRIDE; base 47 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error ReadDirectorySync( base 51 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error DeleteDirectorySync( base 54 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error DeleteFileSync( base 57 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error CreateSnapshotFileSync( base 60 chrome/browser/media_galleries/fileapi/itunes_file_util.h base::File::Info* file_info, base 61 chrome/browser/media_galleries/fileapi/itunes_file_util.h base::FilePath* platform_path, base 63 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error GetLocalFilePath( base 66 chrome/browser/media_galleries/fileapi/itunes_file_util.h base::FilePath* local_file_path) OVERRIDE; base 87 chrome/browser/media_galleries/fileapi/itunes_file_util.h base::WeakPtrFactory<ITunesFileUtil> weak_factory_; base 41 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::RunLoop* run_loop, base 43 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc bool* completed, base::File::Error error, base 47 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc *completed = (!has_more && error == base::File::FILE_OK); base 58 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::RunLoop run_loop; base 60 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc url, base::Bind(&ReadDirectoryTestHelperCallback, &run_loop, contents, base 69 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc explicit TestITunesDataProvider(const base::FilePath& fake_library_path) base 80 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc virtual const base::FilePath& auto_add_path() const OVERRIDE { base 94 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::ScopedTempDir fake_auto_add_dir_; base 116 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc TestMediaFileSystemBackend(const base::FilePath& profile_path, base 146 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::WriteFile( base 165 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::Bind(&ItunesFileUtilTest::SetUpDataProvider, base 166 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::Unretained(this))); base 167 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::WaitableEvent event(true, false /* initially_signalled */); base 170 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&event))); base 181 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 182 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 203 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::FilePath virtual_path = base 225 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::MessageLoop message_loop_; base 228 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::ScopedTempDir profile_dir_; base 229 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::ScopedTempDir fake_library_dir_; base 250 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe(kITunesLibraryXML).value(), base 252 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe(kITunesMediaDir).value(), base 268 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe(kITunesMusicDir).value(), base 286 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe(kITunesAutoAddDir).value(), base 288 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath::FromUTF8Unsafe(kITunesMusicDir).value(), base 294 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ASSERT_EQ(0, base::WriteFile( base 306 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath().AppendASCII("baz.ogg").value(), base 312 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::FilePath nested_dir = base 314 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(nested_dir)); base 316 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc base::WriteFile(nested_dir.AppendASCII("baz.ogg"), NULL, 0)); base 327 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath().AppendASCII("foo").value(), contents.front().name); base 337 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath().AppendASCII("bar").value(), contents.front().name); base 347 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath().AppendASCII("baz.ogg").value(), base 64 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::Callback<void(base::File::Error result)>& callback) { base 76 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::Callback<void(base::File::Error result)>& callback) { base 97 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::StringToUint64(mount_point.substr(expected_mount_prefix.size()), base 104 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::Bind(&OnPreferencesInit, rvh, extension, pref_id, callback)); base 112 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::Bind(callback, base::File::FILE_ERROR_NOT_FOUND)); base 121 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::FilePath& profile_path, base 122 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::SequencedTaskRunner* media_task_runner) base 148 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 149 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::SequencedWorkerPool::SequenceToken media_sequence_token = base 155 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc scoped_refptr<base::SequencedTaskRunner> base 157 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 158 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::SequencedWorkerPool::SequenceToken media_sequence_token = base 165 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::FilePath& profile_path, base 174 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc name.append(base::Uint64ToString(pref_id)); base 175 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::ReplaceChars(name, " /", "_", &name); base 184 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::Callback<void(base::File::Error result)>& callback) { base 191 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::FilePath& virtual_path = filesystem_url.path(); base 194 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc std::vector<base::FilePath::StringType> components; base 198 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc std::string mount_point = base::FilePath(components[0]).AsUTF8Unsafe(); base 210 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::Bind(&AttemptAutoMountOnUIThread, request_info->GetChildID(), base 242 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::MessageLoopProxy::current()->PostTask( base 244 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::Bind(callback, base 247 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::File::FILE_ERROR_SECURITY)); base 275 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc fileapi::FileSystemType type, base::File::Error* error_code) { base 277 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc *error_code = base::File::FILE_OK; base 284 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc *error_code = base::File::FILE_ERROR_SECURITY; base 298 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::File::Error* error_code) const { base 320 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::Time& expected_modification_time, base 17 chrome/browser/media_galleries/fileapi/media_file_system_backend.h namespace base { base 37 chrome/browser/media_galleries/fileapi/media_file_system_backend.h const base::FilePath& profile_path, base 38 chrome/browser/media_galleries/fileapi/media_file_system_backend.h base::SequencedTaskRunner* media_task_runner); base 42 chrome/browser/media_galleries/fileapi/media_file_system_backend.h static scoped_refptr<base::SequencedTaskRunner> MediaTaskRunner(); base 46 chrome/browser/media_galleries/fileapi/media_file_system_backend.h static std::string ConstructMountName(const base::FilePath& profile_path, base 54 chrome/browser/media_galleries/fileapi/media_file_system_backend.h const base::Callback<void(base::File::Error result)>& callback); base 67 chrome/browser/media_galleries/fileapi/media_file_system_backend.h base::File::Error* error_code) OVERRIDE; base 71 chrome/browser/media_galleries/fileapi/media_file_system_backend.h base::File::Error* error_code) const OVERRIDE; base 77 chrome/browser/media_galleries/fileapi/media_file_system_backend.h const base::Time& expected_modification_time, base 87 chrome/browser/media_galleries/fileapi/media_file_system_backend.h const base::FilePath profile_path_; base 89 chrome/browser/media_galleries/fileapi/media_file_system_backend.h scoped_refptr<base::SequencedTaskRunner> media_task_runner_; base 41 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc const base::Callback<void(bool success)>& callback, base 42 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::File::Error result, base 43 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc const base::File::Info& file_info) { base 44 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc if (result == base::File::FILE_OK) { base 59 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath GetMediaTestDir() { base 60 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath test_file; base 61 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &test_file)) base 62 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc return base::FilePath(); base 81 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Bind(&MediaFileValidatorTest::SetupOnFileThread, base 82 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Unretained(this), filename, content, expected_result)); base 90 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc const base::FilePath& source, bool expected_result) { base 94 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Bind(&MediaFileValidatorTest::SetupFromFileOnFileThread, base 95 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Unretained(this), filename, source, expected_result)); base 106 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath base = base_dir_.path(); base 107 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath src_path = base.AppendASCII("src_fs"); base 108 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 112 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::MessageLoopProxy::current().get(), src_path)); base 114 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base, base::MessageLoopProxy::current().get())); base 117 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc NULL, additional_providers.Pass(), base); base 121 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath::FromUTF8Unsafe(filename)); base 124 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath test_file = src_path.AppendASCII(filename); base 126 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::WriteFile(test_file, content.data(), test_file_size_)); base 128 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath dest_path = base.AppendASCII("dest_fs"); base 129 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc ASSERT_TRUE(base::CreateDirectory(dest_path)); base 145 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Bind(&MediaFileValidatorTest::CheckFiles, base 146 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Unretained(this), true, base 147 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Bind(&MediaFileValidatorTest::OnTestFilesReady, base 148 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Unretained(this), expected_result))); base 152 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc const base::FilePath& source, base 155 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc ASSERT_TRUE(base::ReadFileToString(source, &content)); base 163 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc const base::Callback<void(bool success)>& callback) { base 165 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Bind(&MediaFileValidatorTest::OnCheckFilesFirstResult, base 166 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Unretained(this), !src_expected, callback)); base 174 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc const base::Callback<void(bool success)>& callback) { base 176 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Bind(&HandleCheckFileResult, base 183 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc const base::Callback<void(bool)>& callback, base 200 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Bind(&MediaFileValidatorTest::OnMoveResult, base 201 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Unretained(this), expected_result)); base 206 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc void OnMoveResult(bool expected_result, base::File::Error result) { base 208 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc EXPECT_EQ(base::File::FILE_OK, result); base 210 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc EXPECT_EQ(base::File::FILE_ERROR_SECURITY, result); base 212 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Bind(&MediaFileValidatorTest::OnTestFilesCheckResult, base 213 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::Unretained(this))); base 228 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::ScopedTempDir base_dir_; base 261 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath test_file = GetMediaTestDir(); base 268 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath test_file = GetMediaTestDir(); base 275 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::FilePath test_file = GetMediaTestDir(); base 22 chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc result_callback.Run(base::File::FILE_ERROR_SECURITY); base 26 chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc const base::FilePath& dest_platform_path, base 29 chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc result_callback.Run(base::File::FILE_ERROR_SECURITY); base 48 chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc const base::FilePath& platform_path) { base 49 chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc base::FilePath src_path = src.virtual_path(); base 11 chrome/browser/media_galleries/fileapi/media_file_validator_factory.h namespace base { base 31 chrome/browser/media_galleries/fileapi/media_file_validator_factory.h const base::FilePath& platform_path) OVERRIDE; base 19 chrome/browser/media_galleries/fileapi/media_path_filter.cc const base::FilePath::CharType* const kExtraSupportedImageExtensions[] = { base 54 chrome/browser/media_galleries/fileapi/media_path_filter.cc const base::FilePath::CharType* const kExtraSupportedVideoExtensions[] = { base 68 chrome/browser/media_galleries/fileapi/media_path_filter.cc const base::FilePath::CharType* const kExtraSupportedAudioExtensions[] = { base 79 chrome/browser/media_galleries/fileapi/media_path_filter.cc bool IsUnsupportedExtension(const base::FilePath::StringType& extension) { base 85 chrome/browser/media_galleries/fileapi/media_path_filter.cc std::vector<base::FilePath::StringType> GetMediaExtensionList( base 87 chrome/browser/media_galleries/fileapi/media_path_filter.cc std::vector<base::FilePath::StringType> extensions; base 89 chrome/browser/media_galleries/fileapi/media_path_filter.cc std::vector<base::FilePath::StringType>::iterator new_end = base 100 chrome/browser/media_galleries/fileapi/media_path_filter.cc bool MediaPathFilter::ShouldSkip(const base::FilePath& path) { base 101 chrome/browser/media_galleries/fileapi/media_path_filter.cc const base::FilePath::StringType base_name = path.BaseName().value(); base 128 chrome/browser/media_galleries/fileapi/media_path_filter.cc if ((base::strncasecmp(base_name.c_str(), base 131 chrome/browser/media_galleries/fileapi/media_path_filter.cc (base::strncasecmp(base_name.c_str(), base 134 chrome/browser/media_galleries/fileapi/media_path_filter.cc (base::strncasecmp(base_name.c_str(), base 150 chrome/browser/media_galleries/fileapi/media_path_filter.cc bool MediaPathFilter::Match(const base::FilePath& path) { base 154 chrome/browser/media_galleries/fileapi/media_path_filter.cc MediaGalleryScanFileType MediaPathFilter::GetType(const base::FilePath& path) { base 201 chrome/browser/media_galleries/fileapi/media_path_filter.cc const base::FilePath::CharType* const* extensions_list, base 209 chrome/browser/media_galleries/fileapi/media_path_filter.cc const base::FilePath::CharType* extension, base 211 chrome/browser/media_galleries/fileapi/media_path_filter.cc base::FilePath::StringType extension_with_sep = base 212 chrome/browser/media_galleries/fileapi/media_path_filter.cc base::FilePath::kExtensionSeparator + base 213 chrome/browser/media_galleries/fileapi/media_path_filter.cc base::FilePath::StringType(extension); base 22 chrome/browser/media_galleries/fileapi/media_path_filter.h static bool ShouldSkip(const base::FilePath& path); base 28 chrome/browser/media_galleries/fileapi/media_path_filter.h bool Match(const base::FilePath& path); base 32 chrome/browser/media_galleries/fileapi/media_path_filter.h MediaGalleryScanFileType GetType(const base::FilePath& path); base 35 chrome/browser/media_galleries/fileapi/media_path_filter.h typedef std::vector<base::FilePath::StringType> MediaFileExtensionList; base 39 chrome/browser/media_galleries/fileapi/media_path_filter.h typedef base::hash_map<base::FilePath::StringType, int> MediaFileExtensionMap; base 47 chrome/browser/media_galleries/fileapi/media_path_filter.h const base::FilePath::CharType* const* extensions_list, base 51 chrome/browser/media_galleries/fileapi/media_path_filter.h const base::FilePath::CharType* extension, base 55 chrome/browser/media_galleries/fileapi/media_path_filter.h base::SequenceChecker sequence_checker_; base 13 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h namespace base { base 29 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h typedef base::Callback< base 30 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h void(const base::File::Info& file_info)> GetFileInfoSuccessCallback; base 33 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h typedef base::Callback< base 39 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h typedef base::Callback<void(base::File::Error error)> ErrorCallback; base 42 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h typedef base::Callback< base 43 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h void(const base::File::Info& file_info, base 44 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h const base::FilePath& local_path)> CreateSnapshotFileSuccessCallback; base 47 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h typedef base::Callback< base 48 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h void(const base::File::Info& file_info, base 69 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h const base::FilePath& file_path, base 76 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h const base::FilePath& root, base 83 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h const base::FilePath& device_file_path, base 84 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h const base::FilePath& local_path, base 96 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h const base::FilePath& device_file_path, base 116 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h typedef base::Callback<void(MTPDeviceAsyncDelegate*)> base 120 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h const base::FilePath::StringType& device_location, base 17 chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc base::LazyInstance<MTPDeviceMapService> g_mtp_device_map_service = base 28 chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc const base::FilePath::StringType& device_location, base 37 chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc base::Bind(&MTPDeviceMapService::AddAsyncDelegate, base 38 chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc base::Unretained(this), device_location)); base 51 chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc base::FilePath::StringType device_location = it->second; base 65 chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc const base::FilePath::StringType& device_location, base 76 chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc const base::FilePath::StringType& device_location) { base 87 chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc base::FilePath device_path; base 93 chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc const base::FilePath::StringType& device_location = device_path.value(); base 33 chrome/browser/media_galleries/fileapi/mtp_device_map_service.h const base::FilePath::StringType& device_location, base 42 chrome/browser/media_galleries/fileapi/mtp_device_map_service.h friend struct base::DefaultLazyInstanceTraits<MTPDeviceMapService>; base 47 chrome/browser/media_galleries/fileapi/mtp_device_map_service.h void AddAsyncDelegate(const base::FilePath::StringType& device_location, base 53 chrome/browser/media_galleries/fileapi/mtp_device_map_service.h void RemoveAsyncDelegate(const base::FilePath::StringType& device_location); base 57 chrome/browser/media_galleries/fileapi/mtp_device_map_service.h typedef std::map<base::FilePath::StringType, MTPDeviceAsyncDelegate*> base 61 chrome/browser/media_galleries/fileapi/mtp_device_map_service.h typedef std::map<std::string, base::FilePath::StringType> base 66 chrome/browser/media_galleries/fileapi/mtp_device_map_service.h typedef std::map<const base::FilePath::StringType, int> base 34 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::File::Error file_error) { base 40 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::File::Error file_error) { base 61 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::Bind(&CallCompletionCallbackWithPlatformFileError, error_callback)); base 70 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const base::Time& expected_modification_time) base 106 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::Bind(&MTPFileStreamReader::FinishValidateMediaHeader, base 114 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::Bind(&MTPFileStreamReader::FinishRead, base 131 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::Bind(&MTPFileStreamReader::FinishGetLength, base 133 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::Bind(&CallInt64CompletionCallbackWithPlatformFileError, base 143 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const base::File::Info& file_info, base 147 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::File::Error error = NativeMediaFileUtil::BufferIsMediaHeader( base 149 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc if (error != base::File::FILE_OK) { base 164 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::Bind(&MTPFileStreamReader::FinishRead, base 170 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const base::File::Info& file_info, base 186 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const base::File::Info& file_info) { base 16 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h namespace base { base 30 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const base::Time& expected_modification_time); base 45 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const base::File::Info& file_info, base 49 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const base::File::Info& file_info, int bytes_read); base 52 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const base::File::Info& file_info); base 57 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const base::Time expected_modification_time_; base 61 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h base::WeakPtrFactory<MTPFileStreamReader> weak_factory_; base 32 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error IsMediaHeader(const char* buf, size_t length) { base 34 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; base 38 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; base 44 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; base 46 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; base 60 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::IsMediaFile( base 61 chrome/browser/media_galleries/fileapi/native_media_file_util.cc const base::FilePath& path) { base 62 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 71 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_FAILED; base 77 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::BufferIsMediaHeader( base 89 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::PlatformFile invalid_file(base::kInvalidPlatformFileValue); base 90 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY, base 91 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::PassPlatformFile(&invalid_file), base 92 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Closure()); base 100 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY, false); base 113 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(&NativeMediaFileUtil::CreateDirectoryOnTaskRunnerThread, base 114 chrome/browser/media_galleries/fileapi/native_media_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), base 127 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(&NativeMediaFileUtil::GetFileInfoOnTaskRunnerThread, base 128 chrome/browser/media_galleries/fileapi/native_media_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), base 141 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(&NativeMediaFileUtil::ReadDirectoryOnTaskRunnerThread, base 142 chrome/browser/media_galleries/fileapi/native_media_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), base 150 chrome/browser/media_galleries/fileapi/native_media_file_util.cc const base::Time& last_access_time, base 151 chrome/browser/media_galleries/fileapi/native_media_file_util.cc const base::Time& last_modified_time, base 154 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 163 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 177 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(&NativeMediaFileUtil::CopyOrMoveFileLocalOnTaskRunnerThread, base 178 chrome/browser/media_galleries/fileapi/native_media_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), base 193 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(&NativeMediaFileUtil::CopyOrMoveFileLocalOnTaskRunnerThread, base 194 chrome/browser/media_galleries/fileapi/native_media_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), base 201 chrome/browser/media_galleries/fileapi/native_media_file_util.cc const base::FilePath& src_file_path, base 208 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(&NativeMediaFileUtil::CopyInForeignFileOnTaskRunnerThread, base 209 chrome/browser/media_galleries/fileapi/native_media_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), base 222 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(&NativeMediaFileUtil::DeleteFileOnTaskRunnerThread, base 223 chrome/browser/media_galleries/fileapi/native_media_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), base 237 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(&NativeMediaFileUtil::DeleteDirectoryOnTaskRunnerThread, base 238 chrome/browser/media_galleries/fileapi/native_media_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), base 248 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 259 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(&NativeMediaFileUtil::CreateSnapshotFileOnTaskRunnerThread, base 260 chrome/browser/media_galleries/fileapi/native_media_file_util.cc weak_factory_.GetWeakPtr(), base::Passed(&context), base 272 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 277 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(callback, error)); base 285 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; base 286 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 291 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(callback, error, file_info)); base 300 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 305 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(callback, error, entry_list, false /* has_more */)); base 316 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 321 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(callback, error)); base 326 chrome/browser/media_galleries/fileapi/native_media_file_util.cc const base::FilePath& src_file_path, base 330 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 335 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(callback, error)); base 343 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = DeleteFileSync(context.get(), url); base 347 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(callback, error)); base 355 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = DeleteDirectorySync(context.get(), url); base 359 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(callback, error)); base 367 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; base 368 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath platform_path; base 370 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 376 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::Bind(callback, error, file_info, platform_path, file_ref)); base 379 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::CreateDirectorySync( base 384 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath file_path; base 385 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 386 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 392 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::CopyOrMoveFileSync( base 399 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath src_file_path; base 400 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 403 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::FILE_ERROR_NOT_FOUND, base 405 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 408 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; base 410 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath dest_file_path; base 412 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 414 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; base 416 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK && base 417 chrome/browser/media_galleries/fileapi/native_media_file_util.cc error != base::File::FILE_ERROR_NOT_FOUND) { base 420 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error == base::File::FILE_OK && file_info.is_directory) base 421 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 423 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; base 430 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::CopyInForeignFileSync( base 432 chrome/browser/media_galleries/fileapi/native_media_file_util.cc const base::FilePath& src_file_path, base 436 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 438 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath dest_file_path; base 439 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 441 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 450 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::GetFileInfoSync( base 453 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info* file_info, base 454 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath* platform_path) { base 459 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath file_path; base 460 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 461 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 463 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (base::IsLink(file_path)) base 464 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 466 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 473 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; base 475 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 478 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::GetLocalFilePath( base 481 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath* local_file_path) { base 486 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_ACCESS_DENIED; base 489 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; base 492 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::ReadDirectorySync( base 499 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; base 500 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath dir_path; base 501 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 504 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 508 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 510 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FileEnumerator file_enum( base 513 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); base 514 chrome/browser/media_galleries/fileapi/native_media_file_util.cc for (base::FilePath enum_path = file_enum.Next(); base 518 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (base::IsLink(enum_path)) base 521 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FileEnumerator::FileInfo info = file_enum.GetInfo(); base 538 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; base 541 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::DeleteFileSync( base 545 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; base 546 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath file_path; base 547 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 549 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 552 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; base 556 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::DeleteDirectorySync( base 560 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath file_path; base 561 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 562 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 567 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::CreateSnapshotFileSync( base 570 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info* file_info, base 571 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath* platform_path, base 574 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 576 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error == base::File::FILE_OK && file_info->is_directory) base 577 chrome/browser/media_galleries/fileapi/native_media_file_util.cc error = base::File::FILE_ERROR_NOT_A_FILE; base 578 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error == base::File::FILE_OK) base 587 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::GetFilteredLocalFilePath( base 590 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath* local_file_path) { base 592 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath file_path; base 593 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 595 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 598 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; base 601 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; base 604 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error base 608 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error failure_error, base 609 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath* local_file_path) { base 611 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::FilePath file_path; base 612 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = base 614 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) base 617 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (!base::PathExists(file_path)) base 619 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; base 620 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (!base::GetFileInfo(file_path, &file_info)) base 621 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_FAILED; base 629 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; base 29 chrome/browser/media_galleries/fileapi/native_media_file_util.h static base::File::Error IsMediaFile(const base::FilePath& path); base 30 chrome/browser/media_galleries/fileapi/native_media_file_util.h static base::File::Error BufferIsMediaHeader(net::IOBuffer* buf, base 60 chrome/browser/media_galleries/fileapi/native_media_file_util.h const base::Time& last_access_time, base 61 chrome/browser/media_galleries/fileapi/native_media_file_util.h const base::Time& last_modified_time, base 83 chrome/browser/media_galleries/fileapi/native_media_file_util.h const base::FilePath& src_file_path, base 127 chrome/browser/media_galleries/fileapi/native_media_file_util.h const base::FilePath& src_file_path, base 146 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error CreateDirectorySync( base 151 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error CopyOrMoveFileSync( base 157 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error CopyInForeignFileSync( base 159 chrome/browser/media_galleries/fileapi/native_media_file_util.h const base::FilePath& src_file_path, base 161 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error GetFileInfoSync( base 164 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Info* file_info, base 165 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::FilePath* platform_path); base 168 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error GetLocalFilePath( base 171 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::FilePath* local_file_path); base 172 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error ReadDirectorySync( base 176 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error DeleteFileSync( base 180 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error DeleteDirectorySync( base 183 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error CreateSnapshotFileSync( base 186 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Info* file_info, base 187 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::FilePath* platform_path, base 199 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Error GetFilteredLocalFilePath( base 202 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::FilePath* local_file_path); base 210 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Error GetFilteredLocalFilePathForExistingFileOrDirectory( base 213 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Error failure_error, base 214 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::FilePath* local_file_path); base 220 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::WeakPtrFactory<NativeMediaFileUtil> weak_factory_; base 40 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc const base::FilePath::CharType* path; base 68 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expected, base 69 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error actual) { base 74 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expected, base 76 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error actual, base 77 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc const base::File::Info& file_info) { base 79 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc if (actual == base::File::FILE_OK) base 83 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc void DidReadDirectory(std::set<base::FilePath::StringType>* content, base 85 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error error, base 95 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc void PopulateDirectoryWithTestCases(const base::FilePath& dir, base 99 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::FilePath path = dir.Append(test_cases[i].path); base 101 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(path)); base 105 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_EQ(len, base::WriteFile(path, test_cases[i].content, len)); base 120 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(root_path())); base 127 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc data_dir_.path(), base::MessageLoopProxy::current().get())); base 130 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 131 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 156 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc FileSystemURL CreateURL(const base::FilePath::CharType* test_case_path) { base 167 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::FilePath root_path() { base 171 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::FilePath GetVirtualPath( base 172 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc const base::FilePath::CharType* test_case_path) { base 173 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc return base::FilePath::FromUTF8Unsafe(filesystem_id_). base 175 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc Append(base::FilePath(test_case_path)); base 191 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop message_loop_; base 194 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::ScopedTempDir data_dir_; base 210 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base 212 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_OK : base 213 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_ERROR_NOT_FOUND; base 216 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::StringPrintf("DirectoryExistsAndFileExistsFiltering %" PRIuS, i); base 219 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc url, base::Bind(&ExpectEqHelper, test_name, expectation)); base 222 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc url, base::Bind(&ExpectEqHelper, test_name, expectation)); base 224 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 233 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc std::set<base::FilePath::StringType> content; base 237 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc url, base::Bind(&DidReadDirectory, &content, &completed)); base 238 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 243 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::FilePath::StringType name = base 244 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::FilePath(kFilteringTestCases[i].path).BaseName().value(); base 245 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc std::set<base::FilePath::StringType>::const_iterator found = base 260 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc std::string test_name = base::StringPrintf( base 263 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base 265 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_OK : base 266 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_ERROR_SECURITY; base 269 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::Bind(&ExpectEqHelper, test_name, expectation)); base 271 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 277 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::FilePath dest_path = root_path().AppendASCII("dest"); base 290 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::DeleteFile(dest_path, true)); base 291 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(dest_path)); base 296 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc std::string test_name = base::StringPrintf( base 298 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base::File::FILE_OK; base 301 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_FOUND; base 304 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_INVALID_OPERATION; base 310 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::Bind(&ExpectEqHelper, test_name, expectation)); base 311 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 323 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::DeleteFile(root_path(), true)); base 324 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(root_path())); base 331 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::FilePath src_path = root_path().AppendASCII("foo.jpg"); base 334 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::WriteFile(src_path, kDummyData, strlen(kDummyData))); base 345 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc std::string test_name = base::StringPrintf( base 347 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation; base 355 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_OK : base 356 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_ERROR_SECURITY; base 362 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_SECURITY; base 365 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_INVALID_OPERATION; base 368 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_OK; base 375 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::Bind(&ExpectEqHelper, test_name, expectation)); base 376 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 382 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::FilePath dest_path = root_path().AppendASCII("dest"); base 395 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::DeleteFile(dest_path, true)); base 396 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(dest_path)); base 401 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc std::string test_name = base::StringPrintf( base 403 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base::File::FILE_OK; base 406 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_FOUND; base 409 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_INVALID_OPERATION; base 413 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::Bind(&ExpectEqHelper, test_name, expectation)); base 414 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 426 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::DeleteFile(root_path(), true)); base 427 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(root_path())); base 441 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::FilePath src_path = root_path().AppendASCII("foo.jpg"); base 445 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::WriteFile(src_path, kDummyData, strlen(kDummyData))); base 450 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc std::string test_name = base::StringPrintf( base 452 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation; base 460 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_OK : base 461 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_ERROR_SECURITY; base 467 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_SECURITY; base 470 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_INVALID_OPERATION; base 473 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_OK; base 478 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::Bind(&ExpectEqHelper, test_name, expectation)); base 479 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 496 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc std::string test_name = base::StringPrintf( base 498 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base::File::FILE_OK; base 501 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_FOUND; base 505 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::Bind(&ExpectMetadataEqHelper, base 509 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 526 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc std::string test_name = base::StringPrintf( base 528 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base::File::FILE_OK; base 531 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_FOUND; base 533 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_A_FILE; base 536 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc url, base::Bind(&ExpectEqHelper, test_name, expectation)); base 537 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 543 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error* error, base 544 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error result, base 545 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc const base::File::Info&, base 546 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc const base::FilePath&, base 562 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expected_error, error; base 564 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expected_error = base::File::FILE_OK; base 566 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expected_error = base::File::FILE_ERROR_SECURITY; base 567 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc error = base::File::FILE_ERROR_FAILED; base 569 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::Bind(CreateSnapshotCallback, &error)); base 570 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 40 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc PicasaDataProvider::PicasaDataProvider(const base::FilePath& database_path) base 48 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc base::Bind(&PicasaDataProvider::OnTempDirWatchStarted, base 50 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc base::Bind(&PicasaDataProvider::OnTempDirChanged, base 100 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc base::File::Error* error) { base 108 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc *error = base::File::FILE_ERROR_NOT_FOUND; base 112 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc *error = base::File::FILE_OK; base 130 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc scoped_ptr<base::FilePathWatcher> temp_dir_watcher) { base 135 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc void PicasaDataProvider::OnTempDirChanged(const base::FilePath& temp_dir_path, base 138 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc if (base::IsDirectoryEmpty(temp_dir_path)) base 158 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc base::Bind(&PicasaDataProvider::OnAlbumTableReaderDone, base 166 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc albums_indexer_->Start(base::Bind(&PicasaDataProvider::OnAlbumsIndexerDone, base 228 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc std::string PicasaDataProvider::DateToPathString(const base::Time& time) { base 229 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc base::Time::Exploded exploded_time; base 234 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc return base::StringPrintf("%04d-%02d-%02d", exploded_time.year, base 259 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc name = base::StringPrintf("%s (%d)", name.c_str(), base 31 chrome/browser/media_galleries/fileapi/picasa_data_provider.h typedef base::Callback<void(bool)> ReadyCallback; base 38 chrome/browser/media_galleries/fileapi/picasa_data_provider.h explicit PicasaDataProvider(const base::FilePath& database_path); base 51 chrome/browser/media_galleries/fileapi/picasa_data_provider.h base::File::Error* error); base 70 chrome/browser/media_galleries/fileapi/picasa_data_provider.h scoped_ptr<base::FilePathWatcher> temp_dir_watcher); base 73 chrome/browser/media_galleries/fileapi/picasa_data_provider.h virtual void OnTempDirChanged(const base::FilePath& temp_dir_path, base 88 chrome/browser/media_galleries/fileapi/picasa_data_provider.h static std::string DateToPathString(const base::Time& time); base 96 chrome/browser/media_galleries/fileapi/picasa_data_provider.h base::FilePath database_path_; base 112 chrome/browser/media_galleries/fileapi/picasa_data_provider.h scoped_ptr<base::FilePathWatcher> temp_dir_watcher_; base 114 chrome/browser/media_galleries/fileapi/picasa_data_provider.h base::WeakPtrFactory<PicasaDataProvider> weak_factory_; base 27 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::FilePath test_folder_1_path, base 28 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::FilePath test_folder_2_path) { base 56 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc EXPECT_EQ(base::FilePath(), album_1->second.path); base 62 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc EXPECT_EQ(base::FilePath(), album_2->second.path); base 67 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::FilePath test_folder_1_path, base 68 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::FilePath test_folder_2_path) { base 69 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::File::Error error; base 73 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc EXPECT_EQ(base::File::FILE_OK, error); base 86 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc EXPECT_EQ(base::File::FILE_OK, error); base 101 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc explicit TestPicasaDataProvider(const base::FilePath& database_path) base 123 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::FileEnumerator file_enumerator( base 126 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::FileEnumerator::FILES); base 128 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc for (base::FilePath src_path = file_enumerator.Next(); !src_path.empty(); base 131 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Move(src_path, database_path_.Append(src_path.BaseName()))); base 135 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc void SetInvalidateCallback(const base::Closure& callback) { base 157 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc scoped_ptr<base::FilePathWatcher> temp_dir_watcher) OVERRIDE { base 174 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Closure invalidate_callback_; base 188 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::RunLoop loop; base 192 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderTest::SetupFoldersAndDataProvider, base 193 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 196 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderTest::InitializeTestData, base 197 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 200 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderTest::StartTestOnMediaTaskRunner, base 201 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 219 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderTest::DestructDataProviderThenQuit, base 220 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 223 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc const base::FilePath& test_folder_1_path() { return test_folder_1_.path(); } base 224 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc const base::FilePath& test_folder_2_path() { return test_folder_2_.path(); } base 230 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc const base::FilePath GetTempDirPath() const { base 234 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc virtual base::FilePath GetColumnFileDestination() const { base 244 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc ASSERT_TRUE(base::CreateDirectory( base 246 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc ASSERT_TRUE(base::CreateDirectory( base 258 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderTest::VerifyRefreshResults, base 259 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 269 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::ScopedTempDir test_folder_1_; base 270 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::ScopedTempDir test_folder_2_; base 271 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::ScopedTempDir picasa_root_dir_; base 275 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Closure quit_closure_; base 412 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderMultipleMixedCallbacksTest::ListCallback, base 413 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this), base 417 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind( base 419 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this), base 423 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderMultipleMixedCallbacksTest::ListCallback, base 424 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this), base 428 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind( base 430 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this), base 449 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderFileWatcherInvalidateTest:: base 451 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 458 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc data_provider()->SetInvalidateCallback(base::Bind( base 460 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(data_provider()), base 462 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind( base 464 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this)))); base 469 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc virtual base::FilePath GetColumnFileDestination() const OVERRIDE { base 480 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind( base 482 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 505 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderInvalidateInflightTableReaderTest:: base 507 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 533 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderInvalidateInflightAlbumsIndexerTest:: base 535 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 549 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Bind(&PicasaDataProviderInvalidateInflightAlbumsIndexerTest:: base 551 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::Unretained(this))); base 26 chrome/browser/media_galleries/fileapi/picasa_file_util.cc using base::FilePath; base 35 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error FindAlbumInfo(const std::string& key, base 39 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_FAILED; base 44 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 49 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; base 56 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::FilePath root = imported_registry->ImportedRoot().AppendASCII("picasa"); base 59 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::FilePath virtual_path; base 100 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Bind(&PicasaFileUtil::GetFileInfoWithFreshDataProvider, base 102 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Passed(&context), base 120 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Bind(&PicasaFileUtil::ReadDirectoryWithFreshDataProvider, base 122 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Passed(&context), base 128 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::GetFileInfoSync( base 130 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Info* file_info, base::FilePath* platform_path) { base 135 chrome/browser/media_galleries/fileapi/picasa_file_util.cc *platform_path = base::FilePath(); base 143 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; base 148 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; base 155 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = base 157 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) base 161 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; base 173 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error result = NativeMediaFileUtil::GetFileInfoSync( base 178 chrome/browser/media_galleries/fileapi/picasa_file_util.cc result == base::File::FILE_ERROR_NOT_FOUND); base 183 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 186 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::ReadDirectorySync( base 194 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Info file_info; base 195 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::FilePath platform_directory_path; base 196 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = GetFileInfoSync( base 199 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) base 203 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 211 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Time())); base 214 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Time())); base 221 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 232 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 246 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = base 248 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) base 253 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) base 260 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Info info; base 264 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::FILE_OK) { base 275 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = base 277 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) base 290 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; base 293 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::DeleteDirectorySync( base 296 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_SECURITY; base 299 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::DeleteFileSync( base 302 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_SECURITY; base 305 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::GetLocalFilePath( base 307 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::FilePath* local_file_path) { base 317 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = base 319 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) base 323 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; base 330 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = base 332 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) base 337 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) base 342 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 345 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; base 351 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = base 353 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) base 358 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; base 361 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 368 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 380 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, base::File::Info())); base 396 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, EntryList(), false)); base 43 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error GetFileInfoSync( base 46 chrome/browser/media_galleries/fileapi/picasa_file_util.h base::File::Info* file_info, base 47 chrome/browser/media_galleries/fileapi/picasa_file_util.h base::FilePath* platform_path) OVERRIDE; base 48 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error ReadDirectorySync( base 52 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error DeleteDirectorySync( base 55 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error DeleteFileSync( base 58 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error GetLocalFilePath( base 61 chrome/browser/media_galleries/fileapi/picasa_file_util.h base::FilePath* local_file_path) OVERRIDE; base 77 chrome/browser/media_galleries/fileapi/picasa_file_util.h base::WeakPtrFactory<PicasaFileUtil> weak_factory_; base 49 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time::Exploded test_date_exploded = { 2013, 4, 0, 16, 0, 0, 0, 0 }; base 51 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc bool WriteJPEGHeader(const base::FilePath& path) { base 53 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc return base::WriteFile(path, kJpegHeader, arraysize(kJpegHeader)) != -1; base 58 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc TestFolder(const std::string& name, const base::Time& timestamp, base 66 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc folder_info_("", base::Time(), "", base::FilePath()) { base 76 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc std::string image_filename = base::StringPrintf("img%05d.jpg", i); base 79 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath path = folder_dir_.path().AppendASCII(image_filename); base 86 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath path = folder_dir_.path().AppendASCII( base 87 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::StringPrintf("hello%05d.txt", i)); base 88 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc if (base::WriteFile(path, NULL, 0) == -1) base 97 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time variant_epoch = base::Time::FromLocalExploded( base 104 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time::kMicrosecondsPerDay; base 117 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc const base::Time& timestamp() const { base 123 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc const base::Time timestamp_; base 130 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::ScopedTempDir folder_dir_; base 135 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::RunLoop* run_loop, base 137 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc bool* completed, base::File::Error error, base 141 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc *completed = !has_more && error == base::File::FILE_OK; base 152 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::RunLoop run_loop; base 154 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc url, base::Bind(&ReadDirectoryTestHelperCallback, &run_loop, contents, base 159 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc void SynchronouslyRunOnMediaTaskRunner(const base::Closure& closure) { base 160 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::RunLoop loop; base 169 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::RunLoop* run_loop, base 170 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::File::Error* error, base 171 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath* platform_path_result, base 172 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::File::Error result, base 173 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc const base::File::Info& file_info, base 174 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc const base::FilePath& platform_path, base 205 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc TestMediaFileSystemBackend(const base::FilePath& profile_path, base 237 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc SynchronouslyRunOnMediaTaskRunner(base::Bind( base 238 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc &PicasaFileUtilTest::SetUpOnMediaTaskRunner, base::Unretained(this))); base 249 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 250 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 262 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Bind(&PicasaFileUtilTest::TearDownOnMediaTaskRunner, base 263 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Unretained(this))); base 268 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc picasa_data_provider_.reset(new PicasaDataProvider(base::FilePath())); base 310 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::TimeDelta delta = test_folders[i]->folder_info().timestamp - base 312 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_LT(delta, base::TimeDelta::FromSeconds(1)); base 317 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath(contents[i].name).AsUTF8Unsafe()); base 333 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath(file_it->name).AsUTF8Unsafe())); base 338 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc std::string DateToPathString(const base::Time& time) { base 362 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath virtual_path = base 380 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::MessageLoop message_loop_; base 383 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::ScopedTempDir profile_dir_; base 393 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time::Exploded exploded_shortmonth = { 2013, 4, 0, 16, 0, 0, 0, 0 }; base 394 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time shortmonth = base::Time::FromLocalExploded(exploded_shortmonth); base 396 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time::Exploded exploded_shortday = { 2013, 11, 0, 3, 0, 0, 0, 0 }; base 397 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time shortday = base::Time::FromLocalExploded(exploded_shortday); base 407 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time test_date = base::Time::FromLocalExploded(test_date_exploded); base 408 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time test_date_2 = test_date - base::TimeDelta::FromDays(1); base 444 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath(contents[i].name).AsUTF8Unsafe()); base 483 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time test_date = base::Time::FromLocalExploded(test_date_exploded); base 500 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time test_date = base::Time::FromLocalExploded(test_date_exploded); base 511 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time test_date = base::Time::FromLocalExploded(test_date_exploded); base 516 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time date = test_date - base::TimeDelta::FromDays(i); base 519 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc new TestFolder(base::StringPrintf("folder-%05d", i), base 521 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::StringPrintf("uid%05d", i), i % 5, i % 3)); base 530 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time test_date = base::Time::FromLocalExploded(test_date_exploded); base 552 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Time test_date = base::Time::FromLocalExploded(test_date_exploded); base 561 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::ScopedTempDir temp_dir; base 564 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath image_path = temp_dir.path().AppendASCII("img.jpg"); base 582 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath(contents.begin()->name).AsUTF8Unsafe()); base 586 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::RunLoop loop; base 587 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::File::Error error; base 588 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath platform_path_result; base 590 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::Bind(&CreateSnapshotFileTestHelperCallback, base 599 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 35 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::FilePath GetCustomPicasaAppDataPathFromWinRegistry() { base 36 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::win::RegKey key; base 39 chrome/browser/media_galleries/fileapi/picasa_finder.cc return base::FilePath(); base 42 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::string16 value; base 44 chrome/browser/media_galleries/fileapi/picasa_finder.cc return base::FilePath(); base 46 chrome/browser/media_galleries/fileapi/picasa_finder.cc return base::FilePath(); base 48 chrome/browser/media_galleries/fileapi/picasa_finder.cc return base::FilePath(value); base 51 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::FilePath GetPicasaDatabasePath() { base 52 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::FilePath path = GetCustomPicasaAppDataPathFromWinRegistry(); base 53 chrome/browser/media_galleries/fileapi/picasa_finder.cc if (path.empty() && !PathService::Get(base::DIR_LOCAL_APP_DATA, &path)) base 54 chrome/browser/media_galleries/fileapi/picasa_finder.cc return base::FilePath(); base 60 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::FilePath GetPicasaDatabasePath() { base 61 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::FilePath path = GetCustomPicasaAppDataPathFromMacPreferences(); base 62 chrome/browser/media_galleries/fileapi/picasa_finder.cc if (path.empty() && !PathService::Get(base::DIR_APP_DATA, &path)) base 63 chrome/browser/media_galleries/fileapi/picasa_finder.cc return base::FilePath(); base 70 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::FilePath FindPicasaDatabaseOnFileThread() { base 74 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::FilePath path = GetPicasaDatabasePath(); base 76 chrome/browser/media_galleries/fileapi/picasa_finder.cc if (!base::DirectoryExists(path)) base 81 chrome/browser/media_galleries/fileapi/picasa_finder.cc return base::FilePath(); base 86 chrome/browser/media_galleries/fileapi/picasa_finder.cc const base::FilePath& database_path) { base 101 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::Bind(&FindPicasaDatabaseOnFileThread), base 102 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::Bind(&FinishOnOriginalThread, callback)); base 105 chrome/browser/media_galleries/fileapi/picasa_finder.cc base::FilePath MakePicasaDatabasePath( base 106 chrome/browser/media_galleries/fileapi/picasa_finder.cc const base::FilePath& picasa_app_data_path) { base 114 chrome/browser/media_galleries/fileapi/picasa_finder.cc return base::FilePath(); base 35 chrome/browser/media_galleries/fileapi/picasa_finder.h typedef base::Callback<void(const std::string&)> DeviceIDCallback; base 45 chrome/browser/media_galleries/fileapi/picasa_finder.h base::FilePath MakePicasaDatabasePath( base 46 chrome/browser/media_galleries/fileapi/picasa_finder.h const base::FilePath& picasa_app_data_path); base 55 chrome/browser/media_galleries/fileapi/picasa_finder.h base::FilePath GetCustomPicasaAppDataPathFromMacPreferences(); base 108 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc base::Bind(&ReadaheadFileStreamReader::OnFinishReadFromSource, base 57 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h base::WeakPtrFactory<ReadaheadFileStreamReader> weak_factory_; base 20 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc const base::PlatformFile& file, base 36 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc if (*file_closer_.get() == base::kInvalidPlatformFileValue) { base 37 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc callback_.Run(base::File::FILE_ERROR_SECURITY); base 43 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc this, base::MessageLoopProxy::current())->AsWeakPtr(); base 55 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc if (utility_process_host_->GetData().handle == base::kNullProcessHandle) base 72 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc callback_.Run(valid ? base::File::FILE_OK : base 73 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc base::File::FILE_ERROR_SECURITY); base 29 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.h const base::PlatformFile& file, base 59 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.h base::PlatformFile file_; base 63 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.h base::ScopedPlatformFileCloser file_closer_; base 67 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.h base::WeakPtr<content::UtilityProcessHost> utility_process_host_; base 22 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc const base::FilePath& library_file, base 30 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc const base::FilePath& library_file, base 42 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc library_platform_file_ = base::CreatePlatformFile( base 44 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ, base 47 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc if (library_platform_file_ == base::kInvalidPlatformFileValue) { base 52 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc base::Bind(&SafeIAppsLibraryParser::OnOpenLibraryFileFailed, this)); base 58 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc base::Bind(&SafeIAppsLibraryParser::StartProcessOnIOThread, this)); base 67 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy = base 82 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc if (utility_process_host_->GetData().handle == base::kNullProcessHandle) { base 120 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc base::Bind(iphoto_callback_, result, library)); base 135 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc base::Bind(itunes_callback_, result, library)); base 37 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h typedef base::Callback<void(bool, const iphoto::parser::Library&)> base 39 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h typedef base::Callback<void(bool, const itunes::parser::Library&)> base 45 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h void ParseIPhotoLibrary(const base::FilePath& library_file, base 49 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h void ParseITunesLibrary(const base::FilePath& library_file, base 97 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h base::FilePath library_file_; base 101 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h base::PlatformFile library_platform_file_; base 104 chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h base::WeakPtr<content::UtilityProcessHost> utility_process_host_; base 31 chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc base::Bind(&SafeITunesPrefParserWin::StartWorkOnIOThread, this)); base 42 chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc UtilityProcessHost::Create(this, base::MessageLoopProxy::current()); base 48 chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc const base::FilePath& library_file) { base 54 chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc base::Bind(callback_, library_file)); base 59 chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc OnGotITunesDirectory(base::FilePath()); base 14 chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.h namespace base { base 31 chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.h typedef base::Callback<void(const base::FilePath&)> ParserCallback; base 52 chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.h void OnGotITunesDirectory(const base::FilePath& library_file); base 35 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc base::Bind(&SafeMediaMetadataParser::StartWorkOnIOThread, this, base 51 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc this, base::MessageLoopProxy::current())->AsWeakPtr(); base 60 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc bool parse_success, const base::DictionaryValue& metadata_dictionary) { base 70 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc base::Bind(callback_, parse_success, base 71 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc base::Owned(metadata_dictionary.DeepCopy()))); base 81 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc base::Bind(&SafeMediaMetadataParser::StartBlobReaderOnUIThread, this, base 90 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc BlobReader* reader = new BlobReader(profile_, blob_uuid_, base::Bind( base 103 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc base::Bind(&SafeMediaMetadataParser::FinishRequestBlobBytes, this, base 104 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc request_id, base::Passed(data.Pass()))); base 123 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc base::Bind(callback_, false, base::Owned(new base::DictionaryValue))); base 31 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h typedef base::Callback< base 32 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h void(bool parse_success, base::DictionaryValue* metadata_dictionary)> base 58 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h const base::DictionaryValue& metadata_dictionary); base 84 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h base::WeakPtr<content::UtilityProcessHost> utility_process_host_; base 43 chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader.cc base::Bind(callback_, base 53 chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader.cc base::Bind(&SafePicasaAlbumTableReader::StartWorkOnIOThread, this)); base 78 chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader.cc if (utility_process_host_->GetData().handle == base::kNullProcessHandle) { base 118 chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader.cc FROM_HERE, base::Bind(callback_, parse_success, albums, folders)); base 17 chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader.h namespace base { base 34 chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader.h typedef base::Callback<void(bool parse_success, base 78 chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader.h base::WeakPtr<content::UtilityProcessHost> utility_process_host_; base 60 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc base::FilePath folder_path = folders_queue_.front(); base 66 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc base::ReadFileToString( base 69 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc base::ReadFileToString( base 84 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc base::Bind(&SafePicasaAlbumsIndexer::ProcessFoldersBatch, this)); base 89 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc base::Bind(&SafePicasaAlbumsIndexer::StartWorkOnIOThread, this)); base 98 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc UtilityProcessHost::Create(this, base::MessageLoopProxy::current()); base 113 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc base::Bind(callback_, true, albums_images)); base 123 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc base::Bind(callback_, false, AlbumImagesMap())); base 17 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.h namespace base { base 34 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.h typedef base::Callback< base 71 chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.h std::queue<base::FilePath> folders_queue_; base 25 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc std::vector<base::FilePath::StringType> extensions; base 33 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc base::FilePath::kExtensionSeparator + extensions[i]); base 38 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc bool HasSupportedAudioVideoExtension(const base::FilePath& file) { base 43 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc std::set<base::FilePath::StringType> audio_video_extensions_; base 48 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc base::LazyInstance<SupportedAudioVideoExtensions> g_audio_video_extensions = base 51 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc base::PlatformFile OpenOnFileThread(const base::FilePath& path) { base 53 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc return base::CreatePlatformFile( base 54 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc path, base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ, base 63 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc bool SupportedAudioVideoChecker::SupportsFileType(const base::FilePath& path) { base 76 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc base::Bind(&OpenOnFileThread, path_), base 77 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc base::Bind(&SupportedAudioVideoChecker::OnFileOpen, base 82 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc const base::FilePath& path) base 87 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc void SupportedAudioVideoChecker::OnFileOpen(const base::PlatformFile& file) { base 89 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc if (file == base::kInvalidPlatformFileValue) { base 90 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc callback_.Run(base::File::FILE_ERROR_SECURITY); base 26 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.h static bool SupportsFileType(const base::FilePath& path); base 34 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.h explicit SupportedAudioVideoChecker(const base::FilePath& file); base 36 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.h void OnFileOpen(const base::PlatformFile& file); base 38 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.h base::FilePath path_; base 41 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.h base::WeakPtrFactory<SupportedAudioVideoChecker> weak_factory_; base 26 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc scoped_ptr<std::string> ReadOnFileThread(const base::FilePath& path) { base 27 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc base::ThreadRestrictions::AssertIOAllowed(); base 30 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 34 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc base::File::Info file_info; base 67 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc callback_.Run(base::File::FILE_OK); base 72 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc callback_.Run(base::File::FILE_ERROR_SECURITY); base 88 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc bool SupportedImageTypeValidator::SupportsFileType(const base::FilePath& path) { base 89 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc base::FilePath::StringType extension = path.Extension(); base 110 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc base::Bind(&ReadOnFileThread, path_), base 111 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc base::Bind(&SupportedImageTypeValidator::OnFileOpen, base 116 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc const base::FilePath& path) base 124 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc callback_.Run(base::File::FILE_ERROR_SECURITY); base 24 chrome/browser/media_galleries/fileapi/supported_image_type_validator.h static bool SupportsFileType(const base::FilePath& path); base 32 chrome/browser/media_galleries/fileapi/supported_image_type_validator.h explicit SupportedImageTypeValidator(const base::FilePath& file); base 36 chrome/browser/media_galleries/fileapi/supported_image_type_validator.h base::FilePath path_; base 39 chrome/browser/media_galleries/fileapi/supported_image_type_validator.h base::WeakPtrFactory<SupportedImageTypeValidator> weak_factory_; base 19 chrome/browser/media_galleries/imported_media_gallery_registry.cc using base::Bind; base 24 chrome/browser/media_galleries/imported_media_gallery_registry.cc static base::LazyInstance<ImportedMediaGalleryRegistry>::Leaky base 35 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::ThreadRestrictions::AssertIOAllowed(); base 37 chrome/browser/media_galleries/imported_media_gallery_registry.cc if (!base::CreateTemporaryFile(&imported_root_)) base 38 chrome/browser/media_galleries/imported_media_gallery_registry.cc imported_root_ = base::FilePath(); base 46 chrome/browser/media_galleries/imported_media_gallery_registry.cc const std::string& fs_name, const base::FilePath& database_path) { base 54 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::FilePath root = ImportedRoot(); base 69 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::Unretained(this), database_path)); base 82 chrome/browser/media_galleries/imported_media_gallery_registry.cc const std::string& fs_name, const base::FilePath& library_xml_path) { base 89 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::FilePath root = ImportedRoot(); base 104 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::Unretained(this), library_xml_path)); base 117 chrome/browser/media_galleries/imported_media_gallery_registry.cc const std::string& fs_name, const base::FilePath& library_xml_path) { base 126 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::FilePath root = ImportedRoot(); base 141 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::Unretained(this), library_xml_path)); base 163 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::Unretained(this))); base 173 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::Unretained(this))); base 185 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::Unretained(this))); base 194 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::FilePath ImportedMediaGalleryRegistry::ImportedRoot() { base 231 chrome/browser/media_galleries/imported_media_gallery_registry.cc base::DeleteFile(imported_root_, false); base 243 chrome/browser/media_galleries/imported_media_gallery_registry.cc const base::FilePath& database_path) { base 256 chrome/browser/media_galleries/imported_media_gallery_registry.cc const base::FilePath& xml_library_path) { base 271 chrome/browser/media_galleries/imported_media_gallery_registry.cc const base::FilePath& xml_library_path) { base 44 chrome/browser/media_galleries/imported_media_gallery_registry.h const base::FilePath& database_path); base 48 chrome/browser/media_galleries/imported_media_gallery_registry.h const base::FilePath& xml_library_path); base 52 chrome/browser/media_galleries/imported_media_gallery_registry.h const base::FilePath& xml_library_path); base 57 chrome/browser/media_galleries/imported_media_gallery_registry.h base::FilePath ImportedRoot(); base 70 chrome/browser/media_galleries/imported_media_gallery_registry.h friend struct base::DefaultLazyInstanceTraits<ImportedMediaGalleryRegistry>; base 79 chrome/browser/media_galleries/imported_media_gallery_registry.h void RegisterPicasaFileSystem(const base::FilePath& database_path); base 82 chrome/browser/media_galleries/imported_media_gallery_registry.h void RegisterITunesFileSystem(const base::FilePath& xml_library_path); base 87 chrome/browser/media_galleries/imported_media_gallery_registry.h void RegisterIPhotoFileSystem(const base::FilePath& xml_library_path); base 91 chrome/browser/media_galleries/imported_media_gallery_registry.h base::FilePath imported_root_; base 103 chrome/browser/media_galleries/imported_media_gallery_registry.h base::FilePath picasa_database_path_; base 104 chrome/browser/media_galleries/imported_media_gallery_registry.h base::FilePath itunes_xml_library_path_; base 114 chrome/browser/media_galleries/imported_media_gallery_registry.h base::FilePath iphoto_xml_library_path_; base 28 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc std::string GetDeviceRelativePath(const base::FilePath& registered_dev_path, base 29 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::FilePath& file_path) { base 36 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::FilePath relative_path; base 66 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::Callback<void(bool)>& reply_callback) { base 90 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::Callback< base 92 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::Callback<void(base::File::Error)>& error_callback) { base 113 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::Callback<void(const base::File::Info&)>& success_callback, base 114 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::Callback<void(base::File::Error)>& error_callback) { base 139 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& snapshot_file_info) { base 187 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::Closure& task) base 203 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::RemoveChars(device_location, kRootPath, &storage_name_); base 212 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::FilePath& file_path, base 217 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Closure call_closure = base 218 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&GetFileInfoOnUIThread, base 221 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&MTPDeviceDelegateImplLinux::OnDidGetFileInfo, base 224 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&MTPDeviceDelegateImplLinux::HandleDeviceFileError, base 231 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::FilePath& root, base 238 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Closure call_closure = base 239 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind( base 243 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind( base 249 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&MTPDeviceDelegateImplLinux::HandleDeviceFileError, base 256 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::FilePath& device_file_path, base 257 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::FilePath& snapshot_file_path, base 270 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Closure call_closure = base 271 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind( base 275 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind( base 278 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Passed(&request_info)), base 279 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&MTPDeviceDelegateImplLinux::HandleDeviceFileError, base 290 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::FilePath& device_file_path, base 301 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&MTPDeviceDelegateImplLinux::OnDidReadBytes, base 303 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&MTPDeviceDelegateImplLinux::HandleDeviceFileError, base 306 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Closure call_closure = base 307 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(base::Bind(&ReadBytesOnUIThread, storage_name_, request)); base 318 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&CloseStorageAndDestroyTaskHelperOnUIThread, storage_name_)); base 339 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&OpenStorageOnUIThread, base 341 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&MTPDeviceDelegateImplLinux::OnInitCompleted, base 347 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info) { base 355 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind( base 358 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind( base 362 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Closure task_closure = base::Bind(&WriteDataIntoSnapshotFileOnUIThread, base 394 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info) { base 405 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info) { base 410 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::FILE_ERROR_NOT_A_DIRECTORY); base 413 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Closure task_closure = base 414 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&ReadDirectoryOnUIThread, base 417 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&MTPDeviceDelegateImplLinux::OnDidReadDirectory, base 420 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::Bind(&MTPDeviceDelegateImplLinux::HandleDeviceFileError, base 430 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info) { base 435 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::Error error = base::File::FILE_OK; base 437 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc error = base::File::FILE_ERROR_NOT_A_FILE; base 439 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc error = base::File::FILE_ERROR_FAILED; base 441 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc if (error != base::File::FILE_OK) base 444 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::Info snapshot_file_info(file_info); base 447 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc snapshot_file_info.last_modified = base::Time(); base 468 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info, base 469 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::FilePath& snapshot_file_path) { base 481 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::Error error) { base 493 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info, int bytes_read) { base 503 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::Error error) { base 18 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h namespace base { base 45 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::Closure& task); base 49 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::Closure task; base 61 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h virtual void GetFileInfo(const base::FilePath& file_path, base 65 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::FilePath& root, base 69 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::FilePath& device_file_path, base 70 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::FilePath& local_path, base 75 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::FilePath& device_file_path, base 97 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h void WriteDataIntoSnapshotFile(const base::File::Info& snapshot_file_info); base 112 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& file_info); base 127 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& file_info); base 137 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& file_info); base 154 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& snapshot_file_info, base 155 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::FilePath& snapshot_file_path); base 163 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h void OnWriteDataIntoSnapshotFileError(base::File::Error error); base 170 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& file_info, int bytes_read); base 175 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h base::File::Error error); base 185 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::FilePath device_path_; base 202 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h base::WeakPtrFactory<MTPDeviceDelegateImplLinux> weak_ptr_factory_; base 19 chrome/browser/media_galleries/linux/mtp_device_object_enumerator.cc base::FilePath MTPDeviceObjectEnumerator::Next() { base 26 chrome/browser/media_galleries/linux/mtp_device_object_enumerator.cc return base::FilePath(); base 27 chrome/browser/media_galleries/linux/mtp_device_object_enumerator.cc return base::FilePath(file_entries_[index_].file_name()); base 42 chrome/browser/media_galleries/linux/mtp_device_object_enumerator.cc base::Time MTPDeviceObjectEnumerator::LastModifiedTime() { base 44 chrome/browser/media_galleries/linux/mtp_device_object_enumerator.cc return base::Time(); base 45 chrome/browser/media_galleries/linux/mtp_device_object_enumerator.cc return base::Time::FromTimeT(file_entries_[index_].modification_time()); base 21 chrome/browser/media_galleries/linux/mtp_device_object_enumerator.h base::FilePath Next(); base 24 chrome/browser/media_galleries/linux/mtp_device_object_enumerator.h base::Time LastModifiedTime(); base 36 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::Info FileInfoFromMTPFileEntry(const MtpFileEntry& file_entry) { base 37 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::Info file_entry_info; base 43 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Time::FromTimeT(file_entry.modification_time()); base 45 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc file_entry_info.creation_time = base::Time(); base 67 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(callback, true)); base 72 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(&MTPDeviceTaskHelper::OnDidOpenStorage, base 83 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc return HandleDeviceError(error_callback, base::File::FILE_ERROR_FAILED); base 87 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(&MTPDeviceTaskHelper::OnGetFileInfo, base 99 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc return HandleDeviceError(error_callback, base::File::FILE_ERROR_FAILED); base 103 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(&MTPDeviceTaskHelper::OnDidReadDirectoryByPath, base 111 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc const base::File::Info& snapshot_file_info) { base 115 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); base 129 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); base 134 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(&MTPDeviceTaskHelper::OnGetFileInfoToReadBytes, base 143 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(&DoNothing)); base 154 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(completion_callback, !error)); base 165 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_NOT_FOUND); base 171 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(success_callback, FileInfoFromMTPFileEntry(file_entry))); base 181 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc return HandleDeviceError(error_callback, base::File::FILE_ERROR_FAILED); base 184 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::FilePath current; base 196 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(success_callback, entries)); base 209 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); base 212 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::Info file_info = FileInfoFromMTPFileEntry(file_entry); base 215 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_NOT_A_FILE); base 219 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); base 223 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::checked_cast<uint32>(request.buf_len), base 224 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::saturated_cast<uint32>(file_info.size - request.offset)); base 229 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::checked_cast<uint32>(request.offset), base 231 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(&MTPDeviceTaskHelper::OnDidReadBytes, base 237 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc const base::File::Info& file_info, base 243 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); base 246 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc CHECK_LE(base::checked_cast<int>(data.length()), request.buf_len); base 251 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(request.success_callback, base 257 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::Error error) const { base 261 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::Bind(error_callback, error)); base 30 chrome/browser/media_galleries/linux/mtp_device_task_helper.h typedef base::Callback<void(bool succeeded)> OpenStorageCallback; base 35 chrome/browser/media_galleries/linux/mtp_device_task_helper.h typedef base::Callback<void(const fileapi::AsyncFileUtil::EntryList&)> base 88 chrome/browser/media_galleries/linux/mtp_device_task_helper.h const base::File::Info& snapshot_file_info); base 157 chrome/browser/media_galleries/linux/mtp_device_task_helper.h const base::File::Info& file_info, base 166 chrome/browser/media_galleries/linux/mtp_device_task_helper.h base::File::Error error) const; base 175 chrome/browser/media_galleries/linux/mtp_device_task_helper.h base::WeakPtrFactory<MTPDeviceTaskHelper> weak_ptr_factory_; base 14 chrome/browser/media_galleries/linux/mtp_device_task_helper_map_service.cc base::LazyInstance<MTPDeviceTaskHelperMapService> base 37 chrome/browser/media_galleries/linux/mtp_device_task_helper_map_service.h friend struct base::DefaultLazyInstanceTraits<MTPDeviceTaskHelperMapService>; base 27 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc const base::FilePath& snapshot_file_path, base 31 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::AppendToFile(snapshot_file_path, data.data(), base 32 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::checked_cast<int>(data.size())); base 34 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::checked_cast<uint32>(bytes_written) : 0; base 51 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc const base::File::Info& snapshot_file_info) { base 74 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::Bind(&MTPReadFileWorker::OnDidReadDataChunkFromDeviceFile, base 76 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::Passed(&snapshot_file_details))); base 98 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::Bind(&WriteDataChunkIntoSnapshotFileOnFileThread, base 101 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::Bind(&MTPReadFileWorker::OnDidWriteDataChunkIntoSnapshotFile, base 103 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::Passed(&snapshot_file_details))); base 131 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::Bind(snapshot_file_details->error_callback(), base 132 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::File::FILE_ERROR_FAILED)); base 138 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::Bind(snapshot_file_details->success_callback(), base 15 chrome/browser/media_galleries/linux/mtp_read_file_worker.h namespace base { base 36 chrome/browser/media_galleries/linux/mtp_read_file_worker.h const base::File::Info& snapshot_file_info); base 84 chrome/browser/media_galleries/linux/mtp_read_file_worker.h base::WeakPtrFactory<MTPReadFileWorker> weak_ptr_factory_; base 15 chrome/browser/media_galleries/linux/snapshot_file_details.cc const base::FilePath& snapshot_file_path, base 34 chrome/browser/media_galleries/linux/snapshot_file_details.cc const base::File::Info& file_info) base 67 chrome/browser/media_galleries/linux/snapshot_file_details.cc base::checked_cast<uint32>(file_info_.size) - bytes_written_); base 20 chrome/browser/media_galleries/linux/snapshot_file_details.h const base::FilePath& snapshot_file_path, base 30 chrome/browser/media_galleries/linux/snapshot_file_details.h const base::FilePath snapshot_file_path; base 46 chrome/browser/media_galleries/linux/snapshot_file_details.h const base::File::Info& file_info); base 54 chrome/browser/media_galleries/linux/snapshot_file_details.h base::FilePath snapshot_file_path() const { base 62 chrome/browser/media_galleries/linux/snapshot_file_details.h const base::File::Info file_info() const { base 101 chrome/browser/media_galleries/linux/snapshot_file_details.h const base::File::Info file_info_; base 30 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath::StringType& synthetic_path); base 36 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath& file_path, base 42 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath& root, base 48 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath& device_file_path, base 49 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath& local_path, base 54 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath& device_file_path, base 63 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::File::Info& info); base 66 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::File::Error error); base 71 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h void ReadDirectoryTimeout(const base::FilePath& root); base 79 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h void GetFileInfoImpl(const base::FilePath& file_path, base 80 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::File::Info* file_info, base 81 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::File::Error* error); base 85 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath& root, base 91 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath& device_file_path, base 92 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath& local_path, base 108 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::FilePath root_path_; base 114 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::hash_map<base::FilePath::StringType, base 115 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::File::Info> file_info_; base 118 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h std::vector<base::FilePath> file_paths_; base 126 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::FilePath& snapshot_filename, base 132 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::FilePath snapshot_file; base 140 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h ReadDirectoryRequest(const base::FilePath& dir, base 145 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::FilePath directory; base 155 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::WeakPtrFactory<MTPDeviceDelegateImplMac> weak_factory_; base 12 chrome/browser/media_galleries/media_file_system_context.h namespace base { base 25 chrome/browser/media_galleries/media_file_system_context.h const base::FilePath& path) = 0; base 32 chrome/browser/media_galleries/media_file_system_context.h virtual base::FilePath GetRegisteredPath( base 67 chrome/browser/media_galleries/media_file_system_registry.cc explicit RPHReferenceManager(const base::Closure& no_references_callback); base 121 chrome/browser/media_galleries/media_file_system_registry.cc base::Closure no_references_callback_; base 129 chrome/browser/media_galleries/media_file_system_registry.cc const base::Closure& no_references_callback) base 238 chrome/browser/media_galleries/media_file_system_registry.cc MediaFileSystemInfo::MediaFileSystemInfo(const base::string16& fs_name, base 239 chrome/browser/media_galleries/media_file_system_registry.cc const base::FilePath& fs_path, base 261 chrome/browser/media_galleries/media_file_system_registry.cc : public base::RefCountedThreadSafe<ExtensionGalleriesHost> { base 266 chrome/browser/media_galleries/media_file_system_registry.cc const base::FilePath& profile_path, base 268 chrome/browser/media_galleries/media_file_system_registry.cc const base::Closure& no_references_callback) base 273 chrome/browser/media_galleries/media_file_system_registry.cc rph_refs_(base::Bind(&ExtensionGalleriesHost::CleanUp, base 274 chrome/browser/media_galleries/media_file_system_registry.cc base::Unretained(this))) { base 292 chrome/browser/media_galleries/media_file_system_registry.cc MediaStorageUtil::FilterAttachedDevices(device_ids, base::Bind( base 294 chrome/browser/media_galleries/media_file_system_registry.cc base::Owned(device_ids), galleries, galleries_info, callback)); base 301 chrome/browser/media_galleries/media_file_system_registry.cc const base::Callback<void(base::File::Error result)>& callback) { base 306 chrome/browser/media_galleries/media_file_system_registry.cc MediaStorageUtil::FilterAttachedDevices(device_ids, base::Bind( base 308 chrome/browser/media_galleries/media_file_system_registry.cc base::Owned(device_ids), gallery, callback)); base 376 chrome/browser/media_galleries/media_file_system_registry.cc base::FilePath path = gallery_info.AbsolutePath(); base 409 chrome/browser/media_galleries/media_file_system_registry.cc const base::Callback<void(base::File::Error result)>& callback) { base 410 chrome/browser/media_galleries/media_file_system_registry.cc base::File::Error result = base::File::FILE_ERROR_NOT_FOUND; base 418 chrome/browser/media_galleries/media_file_system_registry.cc base::FilePath path = gallery.AbsolutePath(); base 422 chrome/browser/media_galleries/media_file_system_registry.cc result = base::File::FILE_OK; base 426 chrome/browser/media_galleries/media_file_system_registry.cc result = base::File::FILE_OK; base 443 chrome/browser/media_galleries/media_file_system_registry.cc base::Bind(callback, result)); base 470 chrome/browser/media_galleries/media_file_system_registry.cc const base::FilePath profile_path_; base 476 chrome/browser/media_galleries/media_file_system_registry.cc base::Closure no_references_callback_; base 524 chrome/browser/media_galleries/media_file_system_registry.cc const base::Callback<void(base::File::Error result)>& callback) { base 540 chrome/browser/media_galleries/media_file_system_registry.cc base::Bind(callback, base::File::FILE_ERROR_NOT_FOUND)); base 633 chrome/browser/media_galleries/media_file_system_registry.cc const base::FilePath& path) OVERRIDE { base 649 chrome/browser/media_galleries/media_file_system_registry.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 651 chrome/browser/media_galleries/media_file_system_registry.cc base::Unretained(MTPDeviceMapService::GetInstance()), base 655 chrome/browser/media_galleries/media_file_system_registry.cc virtual base::FilePath GetRegisteredPath( base 657 chrome/browser/media_galleries/media_file_system_registry.cc base::FilePath result; base 660 chrome/browser/media_galleries/media_file_system_registry.cc return base::FilePath(); base 670 chrome/browser/media_galleries/media_file_system_registry.cc const base::FilePath& path) { base 705 chrome/browser/media_galleries/media_file_system_registry.cc const base::FilePath& path) { base 715 chrome/browser/media_galleries/media_file_system_registry.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 717 chrome/browser/media_galleries/media_file_system_registry.cc base::Unretained(MTPDeviceMapService::GetInstance()), base 809 chrome/browser/media_galleries/media_file_system_registry.cc base::Bind(&MediaFileSystemRegistry::OnExtensionGalleriesHostEmpty, base 810 chrome/browser/media_galleries/media_file_system_registry.cc base::Unretained(this), base 46 chrome/browser/media_galleries/media_file_system_registry.h MediaFileSystemInfo(const base::string16& fs_name, base 47 chrome/browser/media_galleries/media_file_system_registry.h const base::FilePath& fs_path, base 56 chrome/browser/media_galleries/media_file_system_registry.h base::string16 name; base 57 chrome/browser/media_galleries/media_file_system_registry.h base::FilePath path; base 65 chrome/browser/media_galleries/media_file_system_registry.h typedef base::Callback<void(const std::vector<MediaFileSystemInfo>&)> base 90 chrome/browser/media_galleries/media_file_system_registry.h const base::Callback<void(base::File::Error result)>& callback); base 67 chrome/browser/media_galleries/media_file_system_registry_unittest.cc FSInfo(const std::string& device_id, const base::FilePath& path, base 73 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath path; base 83 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& path) OVERRIDE; base 87 chrome/browser/media_galleries/media_file_system_registry_unittest.cc virtual base::FilePath GetRegisteredPath( base 94 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& path, base 104 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& path, base 128 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& path) { base 139 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath TestMediaFileSystemContext::GetRegisteredPath( base 144 chrome/browser/media_galleries/media_file_system_registry_unittest.cc return base::FilePath(); base 149 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& path, base 174 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& path, base 187 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath fsid_path = fs_context->GetRegisteredPath(info.fsid); base 233 chrome/browser/media_galleries/media_file_system_registry_unittest.cc void AddNameForReadCompare(const base::string16& name); base 234 chrome/browser/media_galleries/media_file_system_registry_unittest.cc void AddNameForAllCompare(const base::string16& name); base 238 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const std::vector<base::string16>& names, base 263 chrome/browser/media_galleries/media_file_system_registry_unittest.cc std::vector<base::string16> compare_names_read_; base 264 chrome/browser/media_galleries/media_file_system_registry_unittest.cc std::vector<base::string16> compare_names_all_; base 269 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::string16 GetExpectedFolderName(const base::FilePath& path) { base 287 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath empty_dir() { base 291 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath dcim_dir() { base 303 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& path); base 308 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& location); base 323 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& location, base 331 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::string16& name, base 332 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath::StringType& location) { base 333 chrome/browser/media_galleries/media_file_system_registry_unittest.cc StorageInfo info(id, location, name, base::string16(), base::string16(), 0); base 362 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::ScopedTempDir galleries_dir_; base 364 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath empty_dir_; base 366 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath dcim_dir_; base 436 chrome/browser/media_galleries/media_file_system_registry_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 471 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 477 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::RunLoop loop; base 493 chrome/browser/media_galleries/media_file_system_registry_unittest.cc std::vector<base::string16> empty_names; base 496 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::Bind(&ProfileState::CompareResults, base::Unretained(this), base 497 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::StringPrintf("%s (no permission)", test.c_str()), base 498 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::ConstRef(empty_names), base 499 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::ConstRef(empty_expectation))); base 500 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 506 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::Bind(&ProfileState::CompareResults, base::Unretained(this), base 507 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::StringPrintf("%s (regular permission)", test.c_str()), base 508 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::ConstRef(compare_names_read_), base 509 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::ConstRef(regular_extension_galleries))); base 510 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 516 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::Bind(&ProfileState::CompareResults, base::Unretained(this), base 517 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::StringPrintf("%s (all permission)", test.c_str()), base 518 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::ConstRef(compare_names_all_), base 519 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::ConstRef(all_extension_galleries))); base 520 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 531 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::Bind(&GetGalleryInfoCallback, base::Unretained(&results))); base 532 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 548 chrome/browser/media_galleries/media_file_system_registry_unittest.cc void ProfileState::AddNameForReadCompare(const base::string16& name) { base 552 chrome/browser/media_galleries/media_file_system_registry_unittest.cc void ProfileState::AddNameForAllCompare(const base::string16& name) { base 572 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const std::vector<base::string16>& names, base 583 chrome/browser/media_galleries/media_file_system_registry_unittest.cc std::vector<base::string16> expect_names(names); base 619 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::RunLoop loop; base 628 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& path) { base 634 chrome/browser/media_galleries/media_file_system_registry_unittest.cc device_id, base::FilePath(), MediaGalleryPrefInfo::kUserAdded, base 635 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::string16(), base::string16(), base::string16(), 0, base 636 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::Time::Now(), 0, 0, 0); base 644 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& location) { base 647 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::string16 label = location.BaseName().LossyDisplayName(); base 649 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 656 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 709 chrome/browser/media_galleries/media_file_system_registry_unittest.cc const base::FilePath& location, base 742 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath path = it->second.AbsolutePath(); base 781 chrome/browser/media_galleries/media_file_system_registry_unittest.cc ASSERT_TRUE(base::CreateDirectory(empty_dir_)); base 783 chrome/browser/media_galleries/media_file_system_registry_unittest.cc ASSERT_TRUE(base::CreateDirectory(dcim_dir_)); base 784 chrome/browser/media_galleries/media_file_system_registry_unittest.cc ASSERT_TRUE(base::CreateDirectory( base 898 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 925 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath location(FILE_PATH_LITERAL("/mtp_bogus")); base 995 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath(FILE_PATH_LITERAL("test_relpath")); base 1032 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::string16 empty_dir_name = GetExpectedFolderName(empty_dir()); base 1038 chrome/browser/media_galleries/media_file_system_registry_unittest.cc base::FilePath path; base 32 chrome/browser/media_galleries/media_folder_finder.cc typedef base::Callback<void(const std::vector<base::FilePath>& /*roots*/)> base 44 chrome/browser/media_galleries/media_folder_finder.cc base::DIR_IE_INTERNET_CACHE, base 45 chrome/browser/media_galleries/media_folder_finder.cc base::DIR_PROGRAM_FILES, base 46 chrome/browser/media_galleries/media_folder_finder.cc base::DIR_PROGRAM_FILESX86, base 47 chrome/browser/media_galleries/media_folder_finder.cc base::DIR_WINDOWS, base 54 chrome/browser/media_galleries/media_folder_finder.cc base::DIR_CACHE, base 57 chrome/browser/media_galleries/media_folder_finder.cc base::DIR_TEMP, base 61 chrome/browser/media_galleries/media_folder_finder.cc bool IsValidScanPath(const base::FilePath& path) { base 90 chrome/browser/media_galleries/media_folder_finder.cc bool ShouldIgnoreScanRoot(const base::FilePath& path) { base 96 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath mount_point = base 115 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath GetPlatformSpecificDefaultScanRoot() { base 116 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath root; base 120 chrome/browser/media_galleries/media_folder_finder.cc PathService::Get(base::DIR_HOME, &root); base 133 chrome/browser/media_galleries/media_folder_finder.cc const std::vector<base::FilePath>& override_paths) { base 144 chrome/browser/media_galleries/media_folder_finder.cc std::vector<base::FilePath> roots; base 153 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath path(storages[i].location()); base 159 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath platform_root = GetPlatformSpecificDefaultScanRoot(); base 175 chrome/browser/media_galleries/media_folder_finder.cc explicit Worker(const std::vector<base::FilePath>& graylisted_folders); base 179 chrome/browser/media_galleries/media_folder_finder.cc WorkerReply ScanFolder(const base::FilePath& path); base 185 chrome/browser/media_galleries/media_folder_finder.cc std::vector<base::FilePath> graylisted_folders_; base 186 chrome/browser/media_galleries/media_folder_finder.cc std::vector<base::FilePath> pruned_folders_; base 190 chrome/browser/media_galleries/media_folder_finder.cc base::SequenceChecker sequence_checker_; base 196 chrome/browser/media_galleries/media_folder_finder.cc const std::vector<base::FilePath>& graylisted_folders) base 203 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath path; base 216 chrome/browser/media_galleries/media_folder_finder.cc const base::FilePath& path) { base 226 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath abspath = base::MakeAbsoluteFilePath(path); base 238 chrome/browser/media_galleries/media_folder_finder.cc base::FileEnumerator enumerator( base 241 chrome/browser/media_galleries/media_folder_finder.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES base 243 chrome/browser/media_galleries/media_folder_finder.cc | base::FileEnumerator::SHOW_SYM_LINKS // show symlinks, not follow. base 247 chrome/browser/media_galleries/media_folder_finder.cc base::FileEnumerator::FileInfo file_info = enumerator.GetInfo(); base 248 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath full_path = path.Append(file_info.GetName()); base 255 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath abs_full_path = base::MakeAbsoluteFilePath(full_path); base 297 chrome/browser/media_galleries/media_folder_finder.cc std::vector<base::FilePath> abs_paths; base 299 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath path = base::MakeAbsoluteFilePath(graylisted_folders_[i]); base 306 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath path = base::MakeAbsoluteFilePath(pruned_folders_[i]); base 324 chrome/browser/media_galleries/media_folder_finder.cc base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); base 348 chrome/browser/media_galleries/media_folder_finder.cc base::Bind(&MediaFolderFinder::OnInitialized, weak_factory_.GetWeakPtr()), base 353 chrome/browser/media_galleries/media_folder_finder.cc const std::vector<base::FilePath>& base 359 chrome/browser/media_galleries/media_folder_finder.cc const std::vector<base::FilePath>& roots) { base 368 chrome/browser/media_galleries/media_folder_finder.cc const std::vector<base::FilePath>& roots) { base 371 chrome/browser/media_galleries/media_folder_finder.cc std::set<base::FilePath> valid_roots; base 374 chrome/browser/media_galleries/media_folder_finder.cc const base::FilePath& path = roots[i]; base 382 chrome/browser/media_galleries/media_folder_finder.cc std::vector<base::FilePath> overlapping_paths_to_remove; base 383 chrome/browser/media_galleries/media_folder_finder.cc for (std::set<base::FilePath>::iterator it = valid_roots.begin(); base 389 chrome/browser/media_galleries/media_folder_finder.cc const base::FilePath& other_path = *it; base 417 chrome/browser/media_galleries/media_folder_finder.cc base::FilePath folder_to_scan = folders_to_scan_.back(); base 419 chrome/browser/media_galleries/media_folder_finder.cc base::PostTaskAndReplyWithResult( base 421 chrome/browser/media_galleries/media_folder_finder.cc base::Bind(&Worker::ScanFolder, base 422 chrome/browser/media_galleries/media_folder_finder.cc base::Unretained(worker_), base 424 chrome/browser/media_galleries/media_folder_finder.cc base::Bind(&MediaFolderFinder::GotScanResults, base 429 chrome/browser/media_galleries/media_folder_finder.cc void MediaFolderFinder::GotScanResults(const base::FilePath& path, base 24 chrome/browser/media_galleries/media_folder_finder.h typedef std::map<base::FilePath, MediaGalleryScanResult> base 29 chrome/browser/media_galleries/media_folder_finder.h typedef base::Callback<void(bool /*success*/, base 44 chrome/browser/media_galleries/media_folder_finder.h const std::vector<base::FilePath>& graylisted_folders() const; base 56 chrome/browser/media_galleries/media_folder_finder.h std::vector<base::FilePath> new_folders; base 65 chrome/browser/media_galleries/media_folder_finder.h void SetRootsForTesting(const std::vector<base::FilePath>& roots); base 67 chrome/browser/media_galleries/media_folder_finder.h void OnInitialized(const std::vector<base::FilePath>& roots); base 73 chrome/browser/media_galleries/media_folder_finder.h void GotScanResults(const base::FilePath& path, const WorkerReply& reply); base 78 chrome/browser/media_galleries/media_folder_finder.h std::vector<base::FilePath> graylisted_folders_; base 79 chrome/browser/media_galleries/media_folder_finder.h std::vector<base::FilePath> folders_to_scan_; base 82 chrome/browser/media_galleries/media_folder_finder.h scoped_refptr<base::SequencedTaskRunner> worker_task_runner_; base 89 chrome/browser/media_galleries/media_folder_finder.h std::vector<base::FilePath> roots_for_testing_; base 91 chrome/browser/media_galleries/media_folder_finder.h base::WeakPtrFactory<MediaFolderFinder> weak_factory_; base 42 chrome/browser/media_galleries/media_folder_finder_unittest.cc const std::vector<base::FilePath> roots, base 50 chrome/browser/media_galleries/media_folder_finder_unittest.cc new MediaFolderFinder(base::Bind(&MediaFolderFinderTest::OnGotResults, base 51 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::Unretained(this)))); base 68 chrome/browser/media_galleries/media_folder_finder_unittest.cc const base::FilePath& fake_dir() const { base 72 chrome/browser/media_galleries/media_folder_finder_unittest.cc void CreateTestDir(const base::FilePath& parent_dir) { base 77 chrome/browser/media_galleries/media_folder_finder_unittest.cc ASSERT_TRUE(base::CreateDirectory(parent_dir)); base 80 chrome/browser/media_galleries/media_folder_finder_unittest.cc void CreateTestFile(const base::FilePath& parent_dir, base 120 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath test_file(parent_dir.AppendASCII("dummy." + extension)); base 122 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::GetUniquePathNumber(test_file, base::FilePath::StringType()); base 125 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::StringPrintf(" (%d)", uniquifier)); base 133 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::WriteFile(test_file, dummy_data.c_str(), filesize); base 140 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::RunLoop().RunUntilIdle(); base 155 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::set<base::FilePath> expected_keys = base 161 chrome/browser/media_galleries/media_folder_finder_unittest.cc const base::FilePath& folder = it->first; base 173 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::set<base::FilePath> GetKeysFromResults( base 175 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::set<base::FilePath> keys; base 186 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::ScopedTempDir fake_dir_; base 199 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 208 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 219 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 228 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 238 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 241 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir1 = fake_dir().AppendASCII("dir1"); base 242 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir2 = fake_dir().AppendASCII("dir2"); base 243 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir2_3 = dir2.AppendASCII("dir2_3"); base 244 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir2_4 = dir2.AppendASCII("dir2_4"); base 245 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir2_4_5 = dir2_4.AppendASCII("dir2_4_5"); base 246 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir2_4_empty = dir2_4.AppendASCII("dir2_4_empty"); base 247 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir_empty = fake_dir().AppendASCII("dir_empty"); base 284 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 287 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath hidden_dir = fake_dir().AppendASCII(".hidden"); base 301 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 304 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir1 = fake_dir().AppendASCII("dir1"); base 305 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir2 = fake_dir().AppendASCII("dir2"); base 306 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir_empty = fake_dir().AppendASCII("dir_empty"); base 333 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 337 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath dir1 = fake_dir().AppendASCII("dir1"); base 352 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 356 chrome/browser/media_galleries/media_folder_finder_unittest.cc int pruned_dir_key = base::DIR_IE_INTERNET_CACHE; base 360 chrome/browser/media_galleries/media_folder_finder_unittest.cc int pruned_dir_key = base::DIR_CACHE; base 363 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath fake_pruned_dir = fake_dir().AppendASCII("dir1"); base 364 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::ScopedPathOverride scoped_fake_pruned_dir_override(pruned_dir_key, base 372 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath test_dir = fake_pruned_dir.AppendASCII("dir2"); base 388 chrome/browser/media_galleries/media_folder_finder_unittest.cc std::vector<base::FilePath> folders; base 391 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath fake_home_dir = fake_dir().AppendASCII("dir1"); base 392 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::FilePath test_dir = fake_home_dir.AppendASCII("dir2"); base 393 chrome/browser/media_galleries/media_folder_finder_unittest.cc base::ScopedPathOverride scoped_fake_home_dir_override(base::DIR_HOME, base 56 chrome/browser/media_galleries/media_galleries_dialog_controller.cc const base::Closure& on_finish) base 63 chrome/browser/media_galleries/media_galleries_dialog_controller.cc create_dialog_callback_(base::Bind(&MediaGalleriesDialog::Create)) { base 68 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::Bind(&MediaGalleriesDialogController::OnPreferencesInitialized, base 69 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::Unretained(this))); base 74 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::Bind(&MediaGalleriesDialogController::DidForgetGallery, base 75 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::Unretained(this)))); base 95 chrome/browser/media_galleries/media_galleries_dialog_controller.cc const base::Closure& on_finish) base 116 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::string16 MediaGalleriesDialogController::GetHeader() const { base 118 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::UTF8ToUTF16(extension_->name())); base 121 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::string16 MediaGalleriesDialogController::GetSubtext() const { base 141 chrome/browser/media_galleries/media_galleries_dialog_controller.cc return l10n_util::GetStringFUTF16(id, base::UTF8ToUTF16(extension_->name())); base 144 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::string16 MediaGalleriesDialogController::GetUnattachedLocationsHeader() base 203 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::FilePath default_path = base 207 chrome/browser/media_galleries/media_galleries_dialog_controller.cc PathService::Get(base::DIR_USER_DESKTOP, &default_path); base 216 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::FilePath::StringType(), base 286 chrome/browser/media_galleries/media_galleries_dialog_controller.cc void MediaGalleriesDialogController::FileSelected(const base::FilePath& path, base 70 chrome/browser/media_galleries/media_galleries_dialog_controller.h const base::Closure& on_finish); base 73 chrome/browser/media_galleries/media_galleries_dialog_controller.h base::string16 GetHeader() const; base 76 chrome/browser/media_galleries/media_galleries_dialog_controller.h base::string16 GetSubtext() const; base 79 chrome/browser/media_galleries/media_galleries_dialog_controller.h base::string16 GetUnattachedLocationsHeader() const; base 113 chrome/browser/media_galleries/media_galleries_dialog_controller.h typedef base::Callback<MediaGalleriesDialog* ( base 121 chrome/browser/media_galleries/media_galleries_dialog_controller.h const base::Closure& on_finish); base 134 chrome/browser/media_galleries/media_galleries_dialog_controller.h virtual void FileSelected(const base::FilePath& path, base 216 chrome/browser/media_galleries/media_galleries_dialog_controller.h base::Closure on_finish_; base 23 chrome/browser/media_galleries/media_galleries_dialog_controller_mock.cc base::Bind(&NullDialog), base 24 chrome/browser/media_galleries/media_galleries_dialog_controller_mock.cc base::Bind(&base::DoNothing)) { base 26 chrome/browser/media_galleries/media_galleries_dialog_controller_mock.cc WillRepeatedly(Return(base::string16())); base 28 chrome/browser/media_galleries/media_galleries_dialog_controller_mock.cc WillRepeatedly(Return(base::string16())); base 18 chrome/browser/media_galleries/media_galleries_dialog_controller_mock.h MOCK_CONST_METHOD0(GetHeader, base::string16()); base 19 chrome/browser/media_galleries/media_galleries_dialog_controller_mock.h MOCK_CONST_METHOD0(GetSubtext, base::string16()); base 35 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc base::string16 name = gallery.GetGalleryDisplayName(); base 36 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc return base::UTF16ToASCII(name); base 42 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc typedef base::Callback<void(int update_count)> DialogDestroyedCallback; base 95 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 98 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc base::RunLoop loop; base 117 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc base::Bind(&MediaGalleriesDialogControllerTest::CreateMockDialog, base 118 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc base::Unretained(this)), base 119 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc base::Bind( base 121 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc base::Unretained(this))); base 155 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc dialog_ = new MockMediaGalleriesDialog(base::Bind( base 194 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc base::WeakPtrFactory<MediaGalleriesDialogControllerTest> base 273 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.display_name = base::ASCIIToUTF16("override"); base 276 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.display_name = base::string16(); base 277 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.volume_label = base::ASCIIToUTF16("label"); base 280 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.path = base::FilePath(FILE_PATH_LITERAL("sub/gallery2")); base 286 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc galleryName = base::FilePath(FILE_PATH_LITERAL("/path/to/gallery")) base 291 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.path = base::FilePath(); base 295 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.display_name = base::ASCIIToUTF16("override"); base 298 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.volume_label = base::ASCIIToUTF16("volume"); base 299 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.vendor_name = base::ASCIIToUTF16("vendor"); base 300 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.model_name = base::ASCIIToUTF16("model"); base 303 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.display_name = base::string16(); base 306 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.volume_label = base::string16(); base 312 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc gallery.path = base::FilePath(FILE_PATH_LITERAL("sub/path")); base 66 chrome/browser/media_galleries/media_galleries_permissions_unittest.cc base::RunLoop loop; base 43 chrome/browser/media_galleries/media_galleries_preferences.cc using base::DictionaryValue; base 44 chrome/browser/media_galleries/media_galleries_preferences.cc using base::ListValue; base 108 chrome/browser/media_galleries/media_galleries_preferences.cc bool GetPrefId(const base::DictionaryValue& dict, MediaGalleryPrefId* value) { base 111 chrome/browser/media_galleries/media_galleries_preferences.cc !base::StringToUint64(string_id, value)) { base 118 chrome/browser/media_galleries/media_galleries_preferences.cc bool GetType(const base::DictionaryValue& dict, base 174 chrome/browser/media_galleries/media_galleries_preferences.cc const base::DictionaryValue& dict, MediaGalleryPrefInfo* out_gallery_info) { base 176 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 display_name; base 178 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath::StringType path; base 180 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 volume_label; base 181 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 vendor_name; base 182 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 model_name; base 224 chrome/browser/media_galleries/media_galleries_preferences.cc out_gallery_info->path = base::FilePath(path); base 231 chrome/browser/media_galleries/media_galleries_preferences.cc base::Time::FromInternalValue(last_attach_time); base 238 chrome/browser/media_galleries/media_galleries_preferences.cc base::DictionaryValue* CreateGalleryPrefInfoDictionary( base 240 chrome/browser/media_galleries/media_galleries_preferences.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 242 chrome/browser/media_galleries/media_galleries_preferences.cc base::Uint64ToString(gallery.pref_id)); base 286 chrome/browser/media_galleries/media_galleries_preferences.cc const base::DictionaryValue* dict, base 290 chrome/browser/media_galleries/media_galleries_preferences.cc base::StringToUint64(string_id, &out_permission->pref_id) && base 301 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 GetDisplayNameForSubFolder(const base::string16& device_name, base 302 chrome/browser/media_galleries/media_galleries_preferences.cc const base::FilePath& sub_folder) { base 306 chrome/browser/media_galleries/media_galleries_preferences.cc base::ASCIIToUTF16(" - ") + base 330 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath MediaGalleryPrefInfo::AbsolutePath() const { base 331 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath base_path = MediaStorageUtil::FindDevicePathById(device_id); base 340 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 MediaGalleryPrefInfo::GetGalleryDisplayName() const { base 346 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath path = AbsolutePath(); base 352 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath download_path; base 354 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath relative; base 367 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 name = info.GetDisplayNameWithOverride(display_name, true); base 373 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 MediaGalleryPrefInfo::GetGalleryTooltip() const { base 377 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 MediaGalleryPrefInfo::GetGalleryAdditionalDetails() const { base 378 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16 attached; base 386 chrome/browser/media_galleries/media_galleries_preferences.cc base::TimeFormatShortDateNumeric(last_attach_time)); base 416 chrome/browser/media_galleries/media_galleries_preferences.cc void MediaGalleriesPreferences::EnsureInitialized(base::Closure callback) { base 445 chrome/browser/media_galleries/media_galleries_preferences.cc base::Bind(&MediaGalleriesPreferences::OnStorageMonitorInit, base 451 chrome/browser/media_galleries/media_galleries_preferences.cc base::Bind(&MediaGalleriesPreferences::OnFinderDeviceID, base 455 chrome/browser/media_galleries/media_galleries_preferences.cc base::Bind(&MediaGalleriesPreferences::OnFinderDeviceID, base 459 chrome/browser/media_galleries/media_galleries_preferences.cc base::Bind(&MediaGalleriesPreferences::OnFinderDeviceID, base 493 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath(), base 499 chrome/browser/media_galleries/media_galleries_preferences.cc base::Time::Now(), 0, 0, 0); base 502 chrome/browser/media_galleries/media_galleries_preferences.cc for (std::vector<base::Closure>::iterator iter = base 519 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath path; base 523 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath relative_path; base 526 chrome/browser/media_galleries/media_galleries_preferences.cc AddGalleryInternal(info.device_id(), base::string16(), relative_path, base 530 chrome/browser/media_galleries/media_galleries_preferences.cc base::Time(), true, 0, 0, 0, kCurrentPrefsVersion); base 544 chrome/browser/media_galleries/media_galleries_preferences.cc base::ListValue* list = update->Get(); base 545 chrome/browser/media_galleries/media_galleries_preferences.cc for (base::ListValue::iterator iter = list->begin(); base 548 chrome/browser/media_galleries/media_galleries_preferences.cc base::DictionaryValue* dict; base 598 chrome/browser/media_galleries/media_galleries_preferences.cc base::Bind(&InitializeImportedMediaGalleryRegistryOnFileThread), base 599 chrome/browser/media_galleries/media_galleries_preferences.cc base::Bind( base 606 chrome/browser/media_galleries/media_galleries_preferences.cc AddGalleryInternal(device_id, base::ASCIIToUTF16(gallery_name), base 607 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath(), MediaGalleryPrefInfo::kAutoDetected, base 608 chrome/browser/media_galleries/media_galleries_preferences.cc base::string16(), base::string16(), base::string16(), base 609 chrome/browser/media_galleries/media_galleries_preferences.cc 0, base::Time(), false, 0, 0, 0, kCurrentPrefsVersion); base 621 chrome/browser/media_galleries/media_galleries_preferences.cc const base::ListValue* list = prefs->GetList( base 624 chrome/browser/media_galleries/media_galleries_preferences.cc for (base::ListValue::const_iterator it = list->begin(); base 626 chrome/browser/media_galleries/media_galleries_preferences.cc const base::DictionaryValue* dict = NULL; base 658 chrome/browser/media_galleries/media_galleries_preferences.cc AddGallery(info.device_id(), base::FilePath(), base 661 chrome/browser/media_galleries/media_galleries_preferences.cc base::Time::Now(), 0, 0, 0); base 665 chrome/browser/media_galleries/media_galleries_preferences.cc const base::FilePath& path, base 669 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath relative_path; base 707 chrome/browser/media_galleries/media_galleries_preferences.cc gallery_info->last_attach_time = base::Time::Now(); base 722 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath MediaGalleriesPreferences::LookUpGalleryPathForExtension( base 730 chrome/browser/media_galleries/media_galleries_preferences.cc return base::FilePath(); base 735 chrome/browser/media_galleries/media_galleries_preferences.cc return base::FilePath(); base 741 chrome/browser/media_galleries/media_galleries_preferences.cc const base::FilePath& relative_path, base 743 chrome/browser/media_galleries/media_galleries_preferences.cc const base::string16& volume_label, base 744 chrome/browser/media_galleries/media_galleries_preferences.cc const base::string16& vendor_name, base 745 chrome/browser/media_galleries/media_galleries_preferences.cc const base::string16& model_name, base 747 chrome/browser/media_galleries/media_galleries_preferences.cc base::Time last_attach_time, base 752 chrome/browser/media_galleries/media_galleries_preferences.cc return AddGalleryInternal(device_id, base::string16(), relative_path, base 760 chrome/browser/media_galleries/media_galleries_preferences.cc const std::string& device_id, const base::string16& display_name, base 761 chrome/browser/media_galleries/media_galleries_preferences.cc const base::FilePath& relative_path, MediaGalleryPrefInfo::Type type, base 762 chrome/browser/media_galleries/media_galleries_preferences.cc const base::string16& volume_label, const base::string16& vendor_name, base 763 chrome/browser/media_galleries/media_galleries_preferences.cc const base::string16& model_name, uint64 total_size_in_bytes, base 764 chrome/browser/media_galleries/media_galleries_preferences.cc base::Time last_attach_time, bool volume_metadata_valid, base 769 chrome/browser/media_galleries/media_galleries_preferences.cc base::FilePath normalized_relative_path = base 827 chrome/browser/media_galleries/media_galleries_preferences.cc base::ListValue* list = update->Get(); base 829 chrome/browser/media_galleries/media_galleries_preferences.cc for (base::ListValue::const_iterator list_iter = list->begin(); base 832 chrome/browser/media_galleries/media_galleries_preferences.cc base::DictionaryValue* dict; base 890 chrome/browser/media_galleries/media_galleries_preferences.cc base::ListValue* list = update.Get(); base 902 chrome/browser/media_galleries/media_galleries_preferences.cc const base::FilePath& path, MediaGalleryPrefInfo::Type type) { base 937 chrome/browser/media_galleries/media_galleries_preferences.cc base::ListValue* list = update->Get(); base 942 chrome/browser/media_galleries/media_galleries_preferences.cc for (base::ListValue::iterator iter = list->begin(); base 944 chrome/browser/media_galleries/media_galleries_preferences.cc base::DictionaryValue* dict; base 984 chrome/browser/media_galleries/media_galleries_preferences.cc const base::DictionaryValue* extensions = base 989 chrome/browser/media_galleries/media_galleries_preferences.cc for (base::DictionaryValue::Iterator iter(*extensions); !iter.IsAtEnd(); base 1083 chrome/browser/media_galleries/media_galleries_preferences.cc base::Time MediaGalleriesPreferences::GetLastScanCompletionTime() const { base 1086 chrome/browser/media_galleries/media_galleries_preferences.cc return base::Time::FromInternalValue(last_scan_time_internal); base 1090 chrome/browser/media_galleries/media_galleries_preferences.cc const base::Time& time) { base 1118 chrome/browser/media_galleries/media_galleries_preferences.cc base::Time().ToInternalValue(), base 1130 chrome/browser/media_galleries/media_galleries_preferences.cc base::ListValue* permissions = update.Get(); base 1135 chrome/browser/media_galleries/media_galleries_preferences.cc for (base::ListValue::iterator iter = permissions->begin(); base 1137 chrome/browser/media_galleries/media_galleries_preferences.cc base::DictionaryValue* dict = NULL; base 1154 chrome/browser/media_galleries/media_galleries_preferences.cc base::DictionaryValue* dict = new base::DictionaryValue; base 1155 chrome/browser/media_galleries/media_galleries_preferences.cc dict->SetString(kMediaGalleryIdKey, base::Uint64ToString(gallery_id)); base 1168 chrome/browser/media_galleries/media_galleries_preferences.cc base::ListValue* permissions = update.Get(); base 1172 chrome/browser/media_galleries/media_galleries_preferences.cc for (base::ListValue::iterator iter = permissions->begin(); base 1174 chrome/browser/media_galleries/media_galleries_preferences.cc const base::DictionaryValue* dict = NULL; base 1193 chrome/browser/media_galleries/media_galleries_preferences.cc const base::ListValue* permissions; base 1200 chrome/browser/media_galleries/media_galleries_preferences.cc for (base::ListValue::const_iterator iter = permissions->begin(); base 1202 chrome/browser/media_galleries/media_galleries_preferences.cc base::DictionaryValue* dict = NULL; base 1218 chrome/browser/media_galleries/media_galleries_preferences.cc const base::DictionaryValue* extensions = base 1223 chrome/browser/media_galleries/media_galleries_preferences.cc for (base::DictionaryValue::Iterator iter(*extensions); !iter.IsAtEnd(); base 24 chrome/browser/media_galleries/media_galleries_preferences.h namespace base { base 59 chrome/browser/media_galleries/media_galleries_preferences.h base::FilePath AbsolutePath() const; base 69 chrome/browser/media_galleries/media_galleries_preferences.h base::string16 display_name; base 76 chrome/browser/media_galleries/media_galleries_preferences.h base::FilePath path; base 83 chrome/browser/media_galleries/media_galleries_preferences.h base::string16 volume_label; base 87 chrome/browser/media_galleries/media_galleries_preferences.h base::string16 vendor_name; base 91 chrome/browser/media_galleries/media_galleries_preferences.h base::string16 model_name; base 100 chrome/browser/media_galleries/media_galleries_preferences.h base::Time last_attach_time; base 120 chrome/browser/media_galleries/media_galleries_preferences.h base::string16 GetGalleryDisplayName() const; base 121 chrome/browser/media_galleries/media_galleries_preferences.h base::string16 GetGalleryTooltip() const; base 122 chrome/browser/media_galleries/media_galleries_preferences.h base::string16 GetGalleryAdditionalDetails() const; base 175 chrome/browser/media_galleries/media_galleries_preferences.h void EnsureInitialized(base::Closure callback); base 191 chrome/browser/media_galleries/media_galleries_preferences.h bool LookUpGalleryByPath(const base::FilePath& path, base 201 chrome/browser/media_galleries/media_galleries_preferences.h base::FilePath LookUpGalleryPathForExtension( base 210 chrome/browser/media_galleries/media_galleries_preferences.h const base::FilePath& relative_path, base 212 chrome/browser/media_galleries/media_galleries_preferences.h const base::string16& volume_label, base 213 chrome/browser/media_galleries/media_galleries_preferences.h const base::string16& vendor_name, base 214 chrome/browser/media_galleries/media_galleries_preferences.h const base::string16& model_name, base 216 chrome/browser/media_galleries/media_galleries_preferences.h base::Time last_attach_time, base 224 chrome/browser/media_galleries/media_galleries_preferences.h MediaGalleryPrefId AddGalleryByPath(const base::FilePath& path, base 255 chrome/browser/media_galleries/media_galleries_preferences.h base::Time GetLastScanCompletionTime() const; base 256 chrome/browser/media_galleries/media_galleries_preferences.h void SetLastScanCompletionTime(const base::Time& time); base 302 chrome/browser/media_galleries/media_galleries_preferences.h const base::string16& display_name, base 303 chrome/browser/media_galleries/media_galleries_preferences.h const base::FilePath& relative_path, base 305 chrome/browser/media_galleries/media_galleries_preferences.h const base::string16& volume_label, base 306 chrome/browser/media_galleries/media_galleries_preferences.h const base::string16& vendor_name, base 307 chrome/browser/media_galleries/media_galleries_preferences.h const base::string16& model_name, base 309 chrome/browser/media_galleries/media_galleries_preferences.h base::Time last_attach_time, base 348 chrome/browser/media_galleries/media_galleries_preferences.h std::vector<base::Closure> on_initialize_callbacks_; base 368 chrome/browser/media_galleries/media_galleries_preferences.h base::WeakPtrFactory<MediaGalleriesPreferences> weak_factory_; base 38 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc using base::ASCIIToUTF16; base 117 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 120 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::RunLoop loop; base 224 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc void AddGalleryExpectation(MediaGalleryPrefId id, base::string16 display_name, base 226 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path, base 241 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 display_name, base 243 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path, base 255 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc const base::string16& display_name, base 256 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc const base::FilePath& relative_path, base 263 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16(), base::string16(), base::string16(), 0, base::Time(), base 268 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc const base::string16& display_name, base 269 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc const base::FilePath& relative_path, base 276 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16(), base::string16(), base::string16(), 0, base::Time(), base 281 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc const base::string16& display_name, base 282 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc const base::FilePath& relative_path, base 286 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16(), base::string16(), base::string16(), 0, base::Time(), base 293 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path = MakeMediaGalleriesTestingPath(path_name); base 295 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 297 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16(name); base 344 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 345 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 352 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewAutoGallery"); base 377 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("NewUserGallery"); base 404 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("NewScanGallery"); base 561 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 562 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 563 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::Time now = base::Time::Now(); base 576 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc AddGalleryExpectation(id, base::string16(), info.device_id(), relative_path, base 598 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 600 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 601 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::Time now = base::Time::Now(); base 607 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewAutoGallery"); base 623 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc AddGalleryExpectation(id, base::string16(), info.device_id(), relative_path, base 636 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 638 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 644 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewAutoGallery"); base 679 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 681 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 687 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewScanGallery"); base 719 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path = MakeMediaGalleriesTestingPath("new_auto"); base 721 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 723 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewAutoGallery"); base 732 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::string16(); base 737 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("NewName"); base 749 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 751 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 757 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewUserGallery"); base 768 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("NewAutoGallery"); base 779 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("ToBlacklistGallery"); base 790 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("NewScanGallery"); base 801 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("ToScanRemoveGallery"); base 929 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 931 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 937 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewAutoGallery"); base 947 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("AutoGallery2"); base 957 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 959 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 965 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewUserGallery"); base 986 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc relative_path = base::FilePath(FILE_PATH_LITERAL("path1/on/device1")); base 987 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("Device1Path1"); base 996 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc relative_path = base::FilePath(FILE_PATH_LITERAL("path2/on/device1")); base 997 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("Device1Path2"); base 1005 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc relative_path = base::FilePath(FILE_PATH_LITERAL("path1/on/device2")); base 1006 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("Device2Path1"); base 1015 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc relative_path = base::FilePath(FILE_PATH_LITERAL("path2/on/device2")); base 1016 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("Device2Path2"); base 1037 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path = MakeMediaGalleriesTestingPath("new_auto"); base 1039 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 1041 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewAutoGallery"); base 1056 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc gallery_name = base::ASCIIToUTF16("NewUserGallery"); base 1088 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 1090 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 1096 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::string16 gallery_name = base::ASCIIToUTF16("NewAutoGallery"); base 1129 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath path; base 1131 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::FilePath relative_path; base 1132 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::Time now = base::Time::Now(); base 1145 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc AddScanResultExpectation(id, base::string16(), info.device_id(), base 1157 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc AddScanResultExpectation(id, base::string16(), info.device_id(), base 1183 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc AddGalleryExpectation(id, base::string16(), info.device_id(), relative_path, base 1206 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc info.last_attach_time = base::Time::Now(); base 1219 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc info.display_name = base::string16(); base 1221 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc info.volume_label = base::string16(); base 1226 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc EXPECT_EQ(base::FilePath(FILE_PATH_LITERAL("unique")).AsUTF8Unsafe(), base 1227 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc base::UTF16ToUTF8(info.GetGalleryTooltip())); base 65 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc const base::Closure& on_finish) base 71 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc create_dialog_callback_ = base::Bind(&MediaGalleriesScanResultDialog::Create); base 79 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc preferences_->EnsureInitialized(base::Bind( base 81 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc base::Unretained(this))); base 84 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc context_menu_.reset(new MediaGalleryContextMenu(base::Bind( base 86 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc base::Unretained(this)))); base 94 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc const base::Closure& on_finish) base 112 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc base::string16 MediaGalleriesScanResultDialogController::GetHeader() const { base 115 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc base::UTF8ToUTF16(extension_->name())); base 118 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc base::string16 MediaGalleriesScanResultDialogController::GetSubtext() const { base 140 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc return l10n_util::GetStringFUTF16(id, base::UTF8ToUTF16(extension_->name())); base 80 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h const base::Closure& on_finish); base 83 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h base::string16 GetHeader() const; base 86 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h base::string16 GetSubtext() const; base 108 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h typedef base::Callback<MediaGalleriesScanResultDialog* ( base 125 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h const base::Closure& on_finish); base 183 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h base::Closure on_finish_; base 37 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc typedef base::Callback<void(int update_count)> DialogDestroyedCallback; base 95 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 98 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::RunLoop loop; base 117 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::Bind( base 119 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::Unretained(this)), base 120 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::Bind( base 122 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::Unretained(this))); base 176 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc dialog_ = new MockMediaGalleriesScanResultDialog(base::Bind( base 217 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::WeakPtrFactory<MediaGalleriesScanResultDialogControllerTest> base 367 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc unselected_update_info.device_id, base::FilePath(), base 369 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::ASCIIToUTF16("Updated & Unselected"), base 370 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::string16(), base::string16(), 0, base::Time(), 1, 0, 0); base 376 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc selected_update_info.device_id, base::FilePath(), base 378 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::ASCIIToUTF16("Updated & Selected"), base 379 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc base::string16(), base::string16(), 0, base::Time(), 1, 0, 0); base 389 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Updated & Selected"), base 395 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Updated & Unselected"), base 42 chrome/browser/media_galleries/media_galleries_test_util.cc scoped_ptr<base::DictionaryValue> manifest(new base::DictionaryValue); base 46 chrome/browser/media_galleries/media_galleries_test_util.cc base::ListValue* background_script_list = new base::ListValue; base 48 chrome/browser/media_galleries/media_galleries_test_util.cc base::Value::CreateStringValue("background.js")); base 52 chrome/browser/media_galleries/media_galleries_test_util.cc base::ListValue* permission_detail_list = new base::ListValue; base 55 chrome/browser/media_galleries/media_galleries_test_util.cc base::Value::CreateStringValue(media_galleries_permissions[i])); base 56 chrome/browser/media_galleries/media_galleries_test_util.cc base::DictionaryValue* media_galleries_permission = base 57 chrome/browser/media_galleries/media_galleries_test_util.cc new base::DictionaryValue(); base 59 chrome/browser/media_galleries/media_galleries_test_util.cc base::ListValue* permission_list = new base::ListValue; base 65 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath path = extension_prefs->install_directory().AppendASCII(name); base 102 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath EnsureMediaDirectoriesExists::GetFakeAppDataPath() const { base 108 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath EnsureMediaDirectoriesExists::GetFakeLocalAppDataPath() const { base 114 chrome/browser/media_galleries/media_galleries_test_util.cc const base::FilePath& path) { base 115 chrome/browser/media_galleries/media_galleries_test_util.cc base::win::RegKey key(HKEY_CURRENT_USER, picasa::kPicasaRegistryPath, base 123 chrome/browser/media_galleries/media_galleries_test_util.cc const base::FilePath& path) { base 125 chrome/browser/media_galleries/media_galleries_test_util.cc base::mac::NSToCFCast(picasa::kPicasaAppDataPathMacPreferencesKey), base 126 chrome/browser/media_galleries/media_galleries_test_util.cc base::SysUTF8ToNSString(path.value()), base 132 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath base 140 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath EnsureMediaDirectoriesExists::GetFakeITunesRootPath() const { base 145 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath EnsureMediaDirectoriesExists::GetFakeIPhotoRootPath() const { base 161 chrome/browser/media_galleries/media_galleries_test_util.cc app_data_override_.reset(new base::ScopedPathOverride( base 162 chrome/browser/media_galleries/media_galleries_test_util.cc base::DIR_APP_DATA, GetFakeAppDataPath())); base 167 chrome/browser/media_galleries/media_galleries_test_util.cc local_app_data_override_.reset(new base::ScopedPathOverride( base 168 chrome/browser/media_galleries/media_galleries_test_util.cc base::DIR_LOCAL_APP_DATA, GetFakeLocalAppDataPath())); base 177 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath itunes_xml = base 180 chrome/browser/media_galleries/media_galleries_test_util.cc base::mac::NSToCFCast(iapps::kITunesRecentDatabasePathsKey), base 181 chrome/browser/media_galleries/media_galleries_test_util.cc base::mac::NSToCFCast(iapps::NSArrayFromFilePath(itunes_xml)), base 185 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath iphoto_xml = base 188 chrome/browser/media_galleries/media_galleries_test_util.cc base::mac::NSToCFCast(iapps::kIPhotoRecentDatabasesKey), base 189 chrome/browser/media_galleries/media_galleries_test_util.cc base::mac::NSToCFCast(iapps::NSArrayFromFilePath(iphoto_xml)), base 196 chrome/browser/media_galleries/media_galleries_test_util.cc music_override_.reset(new base::ScopedPathOverride( base 198 chrome/browser/media_galleries/media_galleries_test_util.cc pictures_override_.reset(new base::ScopedPathOverride( base 200 chrome/browser/media_galleries/media_galleries_test_util.cc video_override_.reset(new base::ScopedPathOverride( base 206 chrome/browser/media_galleries/media_galleries_test_util.cc base::FilePath MakeMediaGalleriesTestingPath(const std::string& dir) { base 208 chrome/browser/media_galleries/media_galleries_test_util.cc return base::FilePath(FILE_PATH_LITERAL("C:\\")).AppendASCII(dir); base 210 chrome/browser/media_galleries/media_galleries_test_util.cc return base::FilePath(FILE_PATH_LITERAL("/")).Append(dir); base 44 chrome/browser/media_galleries/media_galleries_test_util.h base::FilePath GetFakeAppDataPath() const; base 46 chrome/browser/media_galleries/media_galleries_test_util.h base::FilePath GetFakeLocalAppDataPath() const; base 49 chrome/browser/media_galleries/media_galleries_test_util.h void SetCustomPicasaAppDataPath(const base::FilePath& path); base 50 chrome/browser/media_galleries/media_galleries_test_util.h base::FilePath GetFakePicasaFoldersRootPath() const; base 54 chrome/browser/media_galleries/media_galleries_test_util.h base::FilePath GetFakeITunesRootPath() const; base 55 chrome/browser/media_galleries/media_galleries_test_util.h base::FilePath GetFakeIPhotoRootPath() const; base 61 chrome/browser/media_galleries/media_galleries_test_util.h base::ScopedTempDir fake_dir_; base 65 chrome/browser/media_galleries/media_galleries_test_util.h scoped_ptr<base::ScopedPathOverride> app_data_override_; base 66 chrome/browser/media_galleries/media_galleries_test_util.h scoped_ptr<base::ScopedPathOverride> music_override_; base 67 chrome/browser/media_galleries/media_galleries_test_util.h scoped_ptr<base::ScopedPathOverride> pictures_override_; base 68 chrome/browser/media_galleries/media_galleries_test_util.h scoped_ptr<base::ScopedPathOverride> video_override_; base 70 chrome/browser/media_galleries/media_galleries_test_util.h scoped_ptr<base::ScopedPathOverride> local_app_data_override_; base 81 chrome/browser/media_galleries/media_galleries_test_util.h extern base::FilePath MakeMediaGalleriesTestingPath(const std::string& dir); base 16 chrome/browser/media_galleries/media_gallery_context_menu.h typedef base::Callback<void(MediaGalleryPrefId pref_id)> base 45 chrome/browser/media_galleries/media_scan_manager.cc base::FilePath path) base 61 chrome/browser/media_galleries/media_scan_manager.cc base::FilePath path; base 112 chrome/browser/media_galleries/media_scan_manager.cc const base::FilePath& path, base 219 chrome/browser/media_galleries/media_scan_manager.cc const std::vector<base::FilePath>& sensitive_locations) { base 221 chrome/browser/media_galleries/media_scan_manager.cc std::vector<base::FilePath> abs_sensitive_locations; base 223 chrome/browser/media_galleries/media_scan_manager.cc base::FilePath path = base::MakeAbsoluteFilePath(sensitive_locations[i]); base 228 chrome/browser/media_galleries/media_scan_manager.cc typedef std::map<base::FilePath, int /*count*/> ContainerCandidates; base 232 chrome/browser/media_galleries/media_scan_manager.cc base::FilePath parent_directory = it->first.DirName(); base 236 chrome/browser/media_galleries/media_scan_manager.cc base::FilePath abs_parent_directory = base 237 chrome/browser/media_galleries/media_scan_manager.cc base::MakeAbsoluteFilePath(parent_directory); base 266 chrome/browser/media_galleries/media_scan_manager.cc base::FileEnumerator dir_counter(it->first, false /*recursive*/, base 267 chrome/browser/media_galleries/media_scan_manager.cc base::FileEnumerator::DIRECTORIES); base 268 chrome/browser/media_galleries/media_scan_manager.cc base::FileEnumerator::FileInfo info; base 270 chrome/browser/media_galleries/media_scan_manager.cc for (base::FilePath name = dir_counter.Next(); base 273 chrome/browser/media_galleries/media_scan_manager.cc if (!base::IsLink(name)) base 357 chrome/browser/media_galleries/media_scan_manager.cc base::TimeDelta time_since_last_scan = base 358 chrome/browser/media_galleries/media_scan_manager.cc base::Time::Now() - preferences->GetLastScanCompletionTime(); base 360 chrome/browser/media_galleries/media_scan_manager.cc base::TimeDelta::FromHours(kScanResultsExpiryTimeInHours)) { base 386 chrome/browser/media_galleries/media_scan_manager.cc base::Bind(&MediaScanManager::OnScanCompleted, base 393 chrome/browser/media_galleries/media_scan_manager.cc scan_start_time_ = base::Time::Now(); base 422 chrome/browser/media_galleries/media_scan_manager.cc base::Time::Now() - scan_start_time_); base 423 chrome/browser/media_galleries/media_scan_manager.cc scan_start_time_ = base::Time(); base 477 chrome/browser/media_galleries/media_scan_manager.cc base::Time::Now() - scan_start_time_); base 478 chrome/browser/media_galleries/media_scan_manager.cc scan_start_time_ = base::Time(); base 482 chrome/browser/media_galleries/media_scan_manager.cc base::Bind(FindContainerScanResults, base 485 chrome/browser/media_galleries/media_scan_manager.cc base::Bind(&MediaScanManager::OnFoundContainerDirectories, base 530 chrome/browser/media_galleries/media_scan_manager.cc preferences->SetLastScanCompletionTime(base::Time::Now()); base 56 chrome/browser/media_galleries/media_scan_manager.h typedef base::Callback<MediaFolderFinder*( base 88 chrome/browser/media_galleries/media_scan_manager.h base::Time scan_start_time_; base 99 chrome/browser/media_galleries/media_scan_manager.h base::WeakPtrFactory<MediaScanManager> weak_factory_; base 39 chrome/browser/media_galleries/media_scan_manager_unittest.cc typedef base::Callback<void(MediaFolderFinderResultsCallback)> base 44 chrome/browser/media_galleries/media_scan_manager_unittest.cc const base::Closure destruction_callback, base 52 chrome/browser/media_galleries/media_scan_manager_unittest.cc const base::Closure destruction_callback, base 69 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::Closure destruction_callback_; base 79 chrome/browser/media_galleries/media_scan_manager_unittest.cc typedef base::Callback<MediaFolderFinder*( base 113 chrome/browser/media_galleries/media_scan_manager_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 117 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::RunLoop loop; base 129 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::Bind(&MediaScanManagerTest::OnFindFoldersStarted, base 130 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::Unretained(this)); base 131 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::Closure destruction_callback = base 132 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::Bind(&MediaScanManagerTest::OnFindFoldersDestroyed, base 133 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::Unretained(this)); base 135 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::Bind(&MockMediaFolderFinder::CreateMockMediaFolderFinder, base 150 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::FilePath* full_path) { base 154 chrome/browser/media_galleries/media_scan_manager_unittest.cc ASSERT_TRUE(base::CreateDirectory(*full_path)); base 163 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::FilePath full_path; base 266 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::ScopedTempDir test_results_dir_; base 294 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::FilePath path; base 304 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 312 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::FilePath path; base 313 chrome/browser/media_galleries/media_scan_manager_unittest.cc std::set<base::FilePath> expected_galleries; base 314 chrome/browser/media_galleries/media_scan_manager_unittest.cc std::set<base::FilePath> bad_galleries; base 365 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 369 chrome/browser/media_galleries/media_scan_manager_unittest.cc std::set<base::FilePath> found_galleries; base 376 chrome/browser/media_galleries/media_scan_manager_unittest.cc for (std::set<base::FilePath>::const_iterator it = expected_galleries.begin(); base 403 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 417 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::FilePath path; base 430 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 457 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::FilePath path; base 475 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 487 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 501 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::FilePath path; base 503 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::ScopedPathOverride scoped_fake_home_dir_override(base::DIR_HOME, path); base 521 chrome/browser/media_galleries/media_scan_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 39 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc bool GetStorageInfoOnUIThread(const base::string16& storage_path, base 40 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16* pnp_device_id, base 41 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16* storage_object_id) { base 46 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16 storage_device_id; base 47 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::RemoveChars(storage_path, L"\\\\", &storage_device_id); base 54 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::UTF16ToUTF8(storage_device_id), pnp_device_id, storage_object_id); base 65 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16 GetFileObjectIdFromPathOnBlockingPoolThread( base 67 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& file_path) { base 68 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 74 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::string16(); base 79 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::FilePath relative_path; base 80 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (!base::FilePath(device_info.registered_device_path).AppendRelativePath( base 82 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::string16(); base 84 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc std::vector<base::string16> path_components; base 87 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16 parent_id(device_info.storage_object_id); base 88 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16 file_object_id; base 105 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& root) { base 106 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 115 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16 object_id = base 135 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& pnp_device_id, base 136 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& registered_device_path) { base 137 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 140 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::win::ScopedComPtr<IPortableDevice> device = base 154 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error GetFileInfoOnBlockingPoolThread( base 156 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& file_path, base 157 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info* file_info) { base 158 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 166 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; base 168 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16 object_id = base 171 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; base 180 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error ReadDirectoryOnBlockingPoolThread( base 182 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& root, base 184 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 187 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info file_info; base 188 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error = GetFileInfoOnBlockingPoolThread(device_info, root, base 190 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error != base::File::FILE_OK) base 194 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 196 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::FilePath current; base 218 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error GetFileStreamOnBlockingPoolThread( base 221 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 229 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; base 231 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16 file_object_id = base 235 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; base 237 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info file_info; base 238 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error = base 243 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error != base::File::FILE_OK) base 247 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::win::ScopedComPtr<IStream> file_stream; base 255 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; base 265 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc file_info.last_modified = base::Time(); base 280 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 290 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& registered_device_path) { base 291 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 301 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& device_location, base 303 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16* pnp_device_id, base 304 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16* storage_object_id, base 317 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& device_location, base 321 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16* pnp_device_id = new base::string16; base 322 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::string16* storage_object_id = new base::string16; base 326 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&GetStorageInfoOnUIThread, base 328 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Unretained(pnp_device_id), base 329 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Unretained(storage_object_id)), base 330 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&OnGetStorageInfoCreateDelegate, base 333 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Owned(pnp_device_id), base 334 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Owned(storage_object_id))); base 340 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& pnp_device_id, base 341 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& registered_device_path, base 342 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& storage_object_id) base 351 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::Callback<base::File::Error(void)>& task, base 352 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::Callback<void(base::File::Error)>& reply) base 359 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& registered_device_path, base 360 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& pnp_device_id, base 361 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::string16& storage_object_id) base 380 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& file_path, base 385 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info* file_info = new base::File::Info; base 388 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&GetFileInfoOnBlockingPoolThread, base 391 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Unretained(file_info)), base 392 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&MTPDeviceDelegateImplWin::OnGetFileInfo, base 396 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Owned(file_info)))); base 400 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& root, base 409 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&ReadDirectoryOnBlockingPoolThread, base 412 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Unretained(entries)), base 413 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&MTPDeviceDelegateImplWin::OnDidReadDirectory, base 417 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Owned(entries)))); base 421 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& device_file_path, base 422 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& snapshot_file_path, base 437 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&GetFileStreamOnBlockingPoolThread, base 440 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&MTPDeviceDelegateImplWin::OnGetFileStream, base 442 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Passed(&file_details)))); base 450 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& device_file_path, base 463 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&DeletePortableDeviceOnBlockingPoolThread, base 476 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::PostTaskAndReplyWithResult(media_task_runner_, base 487 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::PostTaskAndReplyWithResult( base 490 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&OpenDeviceOnBlockingPoolThread, base 493 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&MTPDeviceDelegateImplWin::OnInitCompleted, base 501 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::PostTaskAndReplyWithResult( base 504 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&WriteDataChunkIntoSnapshotFileOnBlockingPoolThread, base 506 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::Bind(&MTPDeviceDelegateImplWin::OnWroteDataChunkIntoSnapshotFile, base 517 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::PostTaskAndReplyWithResult(media_task_runner_, base 534 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info* file_info, base 535 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error) { base 538 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error == base::File::FILE_OK) base 550 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error) { base 553 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error == base::File::FILE_OK) base 563 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error) { base 569 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error != base::File::FILE_OK) { base 582 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::FilePath& snapshot_file_path, base 618 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::FILE_ERROR_FAILED); base 20 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h namespace base { base 40 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h StorageDeviceInfo(const base::string16& pnp_device_id, base 41 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::string16& registered_device_path, base 42 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::string16& storage_object_id); base 46 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::string16 pnp_device_id; base 51 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::string16 registered_device_path; base 55 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::string16 storage_object_id; base 60 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::string16& device_location, base 62 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::string16* pnp_device_id, base 63 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::string16* storage_object_id, base 75 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::Callback<base::File::Error(void)>& task, base 76 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::Callback<void(base::File::Error)>& reply); base 79 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::Callback<base::File::Error(void)> task; base 80 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::Callback<void(base::File::Error)> reply; base 85 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h MTPDeviceDelegateImplWin(const base::string16& registered_device_path, base 86 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::string16& pnp_device_id, base 87 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::string16& storage_object_id); base 94 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::FilePath& file_path, base 98 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::FilePath& root, base 102 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::FilePath& device_file_path, base 103 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::FilePath& local_path, base 108 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::FilePath& device_file_path, base 149 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::File::Info* file_info, base 150 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::File::Error error); base 163 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::File::Error error); base 175 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::File::Error error); base 186 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::FilePath& snapshot_file_path, base 193 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h scoped_refptr<base::SequencedTaskRunner> media_task_runner_; base 217 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::WeakPtrFactory<MTPDeviceDelegateImplWin> weak_ptr_factory_; base 60 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::string16& name, base 61 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::FilePath::StringType& location); base 64 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::FilePath& location); base 66 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::string16& name, base 67 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::FilePath& path, base 93 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc base::RunLoop runloop; base 102 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 120 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::string16& label, base 121 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::FilePath::StringType& location) { base 122 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc StorageInfo info(id, location, label, base::string16(), base::string16(), 0); base 129 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::FilePath& location) { base 132 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc base::string16 label = location.LossyDisplayName(); base 134 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc base::RunLoop().RunUntilIdle(); base 140 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::string16& name, base 141 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc const base::FilePath& path, base 157 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc base::FilePath location( base 168 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc base::Bind(&GetGalleryInfoCallback, base::Unretained(&results))); base 169 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc base::RunLoop().RunUntilIdle(); base 12 chrome/browser/media_galleries/win/mtp_device_object_entry.cc MTPDeviceObjectEntry::MTPDeviceObjectEntry(const base::string16& object_id, base 13 chrome/browser/media_galleries/win/mtp_device_object_entry.cc const base::string16& object_name, base 16 chrome/browser/media_galleries/win/mtp_device_object_entry.cc const base::Time& last_modified_time) base 19 chrome/browser/media_galleries/win/mtp_device_object_entry.h MTPDeviceObjectEntry(const base::string16& object_id, base 20 chrome/browser/media_galleries/win/mtp_device_object_entry.h const base::string16& object_name, base 23 chrome/browser/media_galleries/win/mtp_device_object_entry.h const base::Time& last_modified_time); base 27 chrome/browser/media_galleries/win/mtp_device_object_entry.h base::string16 object_id; base 30 chrome/browser/media_galleries/win/mtp_device_object_entry.h base::string16 name; base 39 chrome/browser/media_galleries/win/mtp_device_object_entry.h base::Time last_modified_time; base 17 chrome/browser/media_galleries/win/mtp_device_object_enumerator.cc base::ThreadRestrictions::AssertIOAllowed(); base 24 chrome/browser/media_galleries/win/mtp_device_object_enumerator.cc base::FilePath MTPDeviceObjectEnumerator::Next() { base 32 chrome/browser/media_galleries/win/mtp_device_object_enumerator.cc return base::FilePath(); base 33 chrome/browser/media_galleries/win/mtp_device_object_enumerator.cc return base::FilePath(object_entries_[index_].name); base 50 chrome/browser/media_galleries/win/mtp_device_object_enumerator.cc base::Time MTPDeviceObjectEnumerator::LastModifiedTime() { base 53 chrome/browser/media_galleries/win/mtp_device_object_enumerator.cc return base::Time(); base 57 chrome/browser/media_galleries/win/mtp_device_object_enumerator.cc base::string16 MTPDeviceObjectEnumerator::GetObjectId() const { base 60 chrome/browser/media_galleries/win/mtp_device_object_enumerator.cc return base::string16(); base 25 chrome/browser/media_galleries/win/mtp_device_object_enumerator.h base::FilePath Next(); base 28 chrome/browser/media_galleries/win/mtp_device_object_enumerator.h base::Time LastModifiedTime(); base 32 chrome/browser/media_galleries/win/mtp_device_object_enumerator.h base::string16 GetObjectId() const; base 53 chrome/browser/media_galleries/win/mtp_device_object_enumerator.h base::ThreadChecker thread_checker_; base 21 chrome/browser/media_galleries/win/mtp_device_object_enumerator_unittest.cc base::string16 name; base 24 chrome/browser/media_galleries/win/mtp_device_object_enumerator_unittest.cc base::string16 object_id; base 43 chrome/browser/media_galleries/win/mtp_device_object_enumerator_unittest.cc EXPECT_EQ(base::string16(), enumerator->GetObjectId()); base 72 chrome/browser/media_galleries/win/mtp_device_object_enumerator_unittest.cc base::Time::FromTimeT(kTestCases[i].last_modified_time))); base 31 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceValues>* client_info) { base 32 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 55 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceContent> GetDeviceContent( base 57 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 59 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceContent> content; base 62 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::win::ScopedComPtr<IPortableDeviceContent>(); base 68 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IEnumPortableDeviceObjectIDs> GetDeviceObjectEnumerator( base 70 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& parent_id) { base 71 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 74 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceContent> content = base 77 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::win::ScopedComPtr<IEnumPortableDeviceObjectIDs>(); base 79 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IEnumPortableDeviceObjectIDs> enum_object_ids; base 83 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::win::ScopedComPtr<IEnumPortableDeviceObjectIDs>(); base 107 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::string16 GetObjectName(IPortableDeviceValues* properties_values) { base 109 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::string16 result; base 110 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedCoMem<base::char16> buffer; base 124 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::Time* last_modified_time) { base 127 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedPropVariant last_modified_date; base 139 chrome/browser/media_galleries/win/mtp_device_operations_util.cc *last_modified_time = base::Time::FromFileTime(file_time); base 166 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16 object_id, base 167 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::string16* name, base 170 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::Time* last_modified_time) { base 171 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 178 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceContent> content = base 183 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceProperties> properties; base 188 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceKeyCollection> properties_to_read; base 203 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceValues> properties_values; base 219 chrome/browser/media_galleries/win/mtp_device_operations_util.cc *last_modified_time = base::Time(); base 229 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& object_id, base 231 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 235 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::string16 name; base 238 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::Time last_modified_time; base 252 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& directory_object_id, base 253 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& object_name, base 255 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 259 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IEnumPortableDeviceObjectIDs> enum_object_ids = base 269 chrome/browser/media_galleries/win/mtp_device_operations_util.cc scoped_ptr<base::char16*[]> object_ids( base 270 chrome/browser/media_galleries/win/mtp_device_operations_util.cc new base::char16*[num_objects_to_request]); base 295 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDevice> OpenDevice( base 296 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& pnp_device_id) { base 297 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 299 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceValues> client_info; base 301 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::win::ScopedComPtr<IPortableDevice>(); base 302 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDevice> device; base 306 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::win::ScopedComPtr<IPortableDevice>(); base 313 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::win::ScopedComPtr<IPortableDevice>(); base 316 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::File::Error GetFileEntryInfo( base 318 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& object_id, base 319 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::File::Info* file_entry_info) { base 325 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 332 chrome/browser/media_galleries/win/mtp_device_operations_util.cc file_entry_info->creation_time = base::Time(); base 333 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::File::FILE_OK; base 337 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& directory_object_id, base 340 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::string16(), object_entries); base 344 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& file_object_id, base 347 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 350 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceContent> content = base 355 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDeviceResources> resources; base 365 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::FilePath& local_path, base 367 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 385 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::checked_cast<int>( base 387 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::checked_cast<DWORD>(buffer.length()))); base 388 chrome/browser/media_galleries/win/mtp_device_operations_util.cc if (base::AppendToFile(local_path, buffer.c_str(), data_len) != data_len) base 393 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::string16 GetObjectIdFromName(IPortableDevice* device, base 394 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& parent_id, base 395 chrome/browser/media_galleries/win/mtp_device_operations_util.cc const base::string16& object_name) { base 400 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::string16(); base 28 chrome/browser/media_galleries/win/mtp_device_operations_util.h base::win::ScopedComPtr<IPortableDevice> OpenDevice( base 29 chrome/browser/media_galleries/win/mtp_device_operations_util.h const base::string16& pnp_device_id); base 35 chrome/browser/media_galleries/win/mtp_device_operations_util.h base::File::Error GetFileEntryInfo( base 37 chrome/browser/media_galleries/win/mtp_device_operations_util.h const base::string16& object_id, base 38 chrome/browser/media_galleries/win/mtp_device_operations_util.h base::File::Info* file_entry_info); base 45 chrome/browser/media_galleries/win/mtp_device_operations_util.h const base::string16& directory_object_id, base 54 chrome/browser/media_galleries/win/mtp_device_operations_util.h const base::string16& file_object_id, base 70 chrome/browser/media_galleries/win/mtp_device_operations_util.h const base::FilePath& local_path, base 76 chrome/browser/media_galleries/win/mtp_device_operations_util.h base::string16 GetObjectIdFromName(IPortableDevice* device, base 77 chrome/browser/media_galleries/win/mtp_device_operations_util.h const base::string16& parent_id, base 78 chrome/browser/media_galleries/win/mtp_device_operations_util.h const base::string16& object_name); base 14 chrome/browser/media_galleries/win/portable_device_map_service.cc base::LazyInstance<PortableDeviceMapService> g_portable_device_map_service = base 25 chrome/browser/media_galleries/win/portable_device_map_service.cc const base::string16& device_location, base 27 chrome/browser/media_galleries/win/portable_device_map_service.cc base::ThreadRestrictions::AssertIOAllowed(); base 30 chrome/browser/media_galleries/win/portable_device_map_service.cc base::AutoLock lock(lock_); base 35 chrome/browser/media_galleries/win/portable_device_map_service.cc const base::string16& device_location) { base 38 chrome/browser/media_galleries/win/portable_device_map_service.cc base::AutoLock lock(lock_); base 45 chrome/browser/media_galleries/win/portable_device_map_service.cc const base::string16& device_location) { base 46 chrome/browser/media_galleries/win/portable_device_map_service.cc base::ThreadRestrictions::AssertIOAllowed(); base 48 chrome/browser/media_galleries/win/portable_device_map_service.cc base::AutoLock lock(lock_); base 55 chrome/browser/media_galleries/win/portable_device_map_service.cc const base::string16& device_location) { base 56 chrome/browser/media_galleries/win/portable_device_map_service.cc base::ThreadRestrictions::AssertIOAllowed(); base 58 chrome/browser/media_galleries/win/portable_device_map_service.cc base::AutoLock lock(lock_); base 24 chrome/browser/media_galleries/win/portable_device_map_service.h void AddPortableDevice(const base::string16& device_location, base 35 chrome/browser/media_galleries/win/portable_device_map_service.h void MarkPortableDeviceForDeletion(const base::string16& device_location); base 41 chrome/browser/media_galleries/win/portable_device_map_service.h void RemovePortableDevice(const base::string16& device_location); base 47 chrome/browser/media_galleries/win/portable_device_map_service.h IPortableDevice* GetPortableDevice(const base::string16& device_location); base 50 chrome/browser/media_galleries/win/portable_device_map_service.h friend struct base::DefaultLazyInstanceTraits<PortableDeviceMapService>; base 57 chrome/browser/media_galleries/win/portable_device_map_service.h base::win::ScopedComPtr<IPortableDevice> portable_device; base 63 chrome/browser/media_galleries/win/portable_device_map_service.h typedef std::map<const base::string16, PortableDeviceInfo> PortableDeviceMap; base 71 chrome/browser/media_galleries/win/portable_device_map_service.h base::Lock lock_; base 14 chrome/browser/media_galleries/win/snapshot_file_details.cc const base::FilePath& device_file_path, base 15 chrome/browser/media_galleries/win/snapshot_file_details.cc const base::FilePath& snapshot_file_path, base 40 chrome/browser/media_galleries/win/snapshot_file_details.cc void SnapshotFileDetails::set_file_info(const base::File::Info& file_info) { base 16 chrome/browser/media_galleries/win/snapshot_file_details.h const base::FilePath& device_file_path, base 17 chrome/browser/media_galleries/win/snapshot_file_details.h const base::FilePath& snapshot_file_path, base 23 chrome/browser/media_galleries/win/snapshot_file_details.h base::FilePath device_file_path; base 26 chrome/browser/media_galleries/win/snapshot_file_details.h base::FilePath snapshot_file_path; base 42 chrome/browser/media_galleries/win/snapshot_file_details.h void set_file_info(const base::File::Info& file_info); base 50 chrome/browser/media_galleries/win/snapshot_file_details.h base::File::Info file_info() const { base 80 chrome/browser/media_galleries/win/snapshot_file_details.h base::File::Info file_info_; base 83 chrome/browser/media_galleries/win/snapshot_file_details.h base::win::ScopedComPtr<IStream> file_stream_; base 39 chrome/browser/memory_details.cc using base::StringPrintf; base 136 chrome/browser/memory_details.cc base::Bind(&MemoryDetails::CollectChildInfoOnIOThread, this)); base 156 chrome/browser/memory_details.cc for (std::vector<base::string16>::const_iterator iter2 = base 161 chrome/browser/memory_details.cc log += base::UTF16ToUTF8(*iter2); base 188 chrome/browser/memory_details.cc info.pid = base::GetProcId(iter.GetData().handle); base 201 chrome/browser/memory_details.cc base::Bind(&MemoryDetails::CollectProcessData, this, child_info)); base 231 chrome/browser/memory_details.cc process.pid != base::GetProcId(render_process_host->GetHandle())) { base 285 chrome/browser/memory_details.cc base::string16 title = base::UTF8ToUTF16(extension->name()); base 300 chrome/browser/memory_details.cc process.titles.push_back(base::UTF8ToUTF16(url.spec())); base 307 chrome/browser/memory_details.cc process.titles.push_back(base::UTF8ToUTF16(url.spec())); base 318 chrome/browser/memory_details.cc base::string16 title = contents->GetTitle(); base 469 chrome/browser/memory_details.cc base::SystemMemoryInfoKB meminfo; base 470 chrome/browser/memory_details.cc if (base::GetSystemMemoryInfo(&meminfo) && meminfo.gem_size != -1) base 45 chrome/browser/memory_details.h base::ProcessId pid; base 47 chrome/browser/memory_details.h base::WorkingSetKBytes working_set; base 49 chrome/browser/memory_details.h base::CommittedKBytes committed; base 51 chrome/browser/memory_details.h base::string16 version; base 53 chrome/browser/memory_details.h base::string16 product_name; base 65 chrome/browser/memory_details.h std::vector<base::string16> titles; base 77 chrome/browser/memory_details.h base::string16 name; base 78 chrome/browser/memory_details.h base::string16 process_name; base 115 chrome/browser/memory_details.h class MemoryDetails : public base::RefCountedThreadSafe<MemoryDetails> { base 142 chrome/browser/memory_details.h friend class base::RefCountedThreadSafe<MemoryDetails>; base 168 chrome/browser/memory_details.h base::ProcessId pid, base 191 chrome/browser/memory_details.h base::SwapInfo swap_info_; base 21 chrome/browser/memory_details_android.cc using base::ProcessEntry; base 22 chrome/browser/memory_details_android.cc using base::ProcessId; base 32 chrome/browser/memory_details_android.cc base::ProcessIterator process_iter(NULL); base 57 chrome/browser/memory_details_android.cc if (pmi.pid == base::GetCurrentProcId()) base 62 chrome/browser/memory_details_android.cc scoped_ptr<base::ProcessMetrics> metrics( base 63 chrome/browser/memory_details_android.cc base::ProcessMetrics::CreateProcessMetrics(*i)); base 115 chrome/browser/memory_details_android.cc base::ProcessIterator process_iter(NULL); base 121 chrome/browser/memory_details_android.cc roots.insert(base::GetCurrentProcId()); base 134 chrome/browser/memory_details_android.cc base::ASCIIToUTF16(chrome::kBrowserProcessExecutableName); base 140 chrome/browser/memory_details_android.cc base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); base 26 chrome/browser/memory_details_linux.cc using base::ProcessEntry; base 91 chrome/browser/memory_details_linux.cc base::ProcessIterator process_iter(NULL); base 125 chrome/browser/memory_details_linux.cc if (pmi.pid == base::GetCurrentProcId()) base 130 chrome/browser/memory_details_linux.cc base::ProcessMetrics* metrics = base 131 chrome/browser/memory_details_linux.cc base::ProcessMetrics::CreateProcessMetrics(*iter); base 201 chrome/browser/memory_details_linux.cc current_browser.process_name = base::ASCIIToUTF16("chrome"); base 232 chrome/browser/memory_details_linux.cc browser.name = base::ASCIIToUTF16(kBrowserPrettyNames[type]); base 237 chrome/browser/memory_details_linux.cc base::GetSwapInfo(&swap_info_); base 243 chrome/browser/memory_details_linux.cc base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); base 75 chrome/browser/memory_details_mac.cc process.name = base::UTF8ToUTF16(process_template[index].name); base 77 chrome/browser/memory_details_mac.cc base::UTF8ToUTF16(process_template[index].process_name); base 104 chrome/browser/memory_details_mac.cc std::vector<base::ProcessId> pids_by_browser[MAX_BROWSERS]; base 105 chrome/browser/memory_details_mac.cc std::vector<base::ProcessId> all_pids; base 107 chrome/browser/memory_details_mac.cc base::NamedProcessIterator process_it( base 108 chrome/browser/memory_details_mac.cc base::UTF16ToUTF8(process_data_[index].process_name), NULL); base 110 chrome/browser/memory_details_mac.cc while (const base::ProcessEntry* entry = process_it.NextProcessEntry()) { base 130 chrome/browser/memory_details_mac.cc std::vector<base::ProcessId> helper_pids; base 133 chrome/browser/memory_details_mac.cc base::NamedProcessIterator helper_it(helper_name, NULL); base 134 chrome/browser/memory_details_mac.cc while (const base::ProcessEntry* entry = helper_it.NextProcessEntry()) { base 146 chrome/browser/memory_details_mac.cc for (std::vector<base::ProcessId>::const_iterator it = base 161 chrome/browser/memory_details_mac.cc base::FilePath bundle_name = base 162 chrome/browser/memory_details_mac.cc base::mac::GetAppBundlePath(base::FilePath(proc_info.command)); base 174 chrome/browser/memory_details_mac.cc info.version = base::string16(); base 187 chrome/browser/memory_details_mac.cc for (std::vector<base::ProcessId>::const_iterator it = base 194 chrome/browser/memory_details_mac.cc for (std::vector<base::ProcessId>::const_iterator it = helper_pids.begin(); base 202 chrome/browser/memory_details_mac.cc base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); base 207 chrome/browser/memory_details_mac.cc base::ProcessId pid, base 211 chrome/browser/memory_details_mac.cc if (info.pid == base::GetCurrentProcId()) base 218 chrome/browser/memory_details_mac.cc info.product_name = base::ASCIIToUTF16(version_info.Name()); base 219 chrome/browser/memory_details_mac.cc info.version = base::ASCIIToUTF16(version_info.Version()); base 222 chrome/browser/memory_details_mac.cc info.version = base::string16(); base 42 chrome/browser/memory_details_win.cc base::UTF16ToWide(l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); base 77 chrome/browser/memory_details_win.cc base::win::OSInfo::WindowsArchitecture windows_architecture = base 78 chrome/browser/memory_details_win.cc base::win::OSInfo::GetInstance()->architecture(); base 80 chrome/browser/memory_details_win.cc base::win::ScopedHandle snapshot( base 92 chrome/browser/memory_details_win.cc base::ProcessId pid = process_entry.th32ProcessID; base 93 chrome/browser/memory_details_win.cc base::win::ScopedHandle process_handle(::OpenProcess( base 98 chrome/browser/memory_details_win.cc ((windows_architecture == base::win::OSInfo::X64_ARCHITECTURE) || base 99 chrome/browser/memory_details_win.cc (windows_architecture == base::win::OSInfo::IA64_ARCHITECTURE)) && base 100 chrome/browser/memory_details_win.cc (base::win::OSInfo::GetWOW64StatusForProcess(process_handle) == base 101 chrome/browser/memory_details_win.cc base::win::OSInfo::WOW64_DISABLED); base 116 chrome/browser/memory_details_win.cc scoped_ptr<base::ProcessMetrics> metrics; base 117 chrome/browser/memory_details_win.cc metrics.reset(base::ProcessMetrics::CreateProcessMetrics(process_handle)); base 126 chrome/browser/memory_details_win.cc info.version = base::ASCIIToWide(version_info.Version()); base 140 chrome/browser/memory_details_win.cc FileVersionInfo::CreateFileVersionInfo(base::FilePath(str_name))); base 161 chrome/browser/memory_details_win.cc base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); base 61 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc base::CPU cpu; base 62 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc base::CPU::IntelMicroArchitecture arch = cpu.GetIntelMicroArchitecture(); base 64 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc base::CPU::MAX_INTEL_MICRO_ARCHITECTURE); base 67 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc base::SysInfo::NumberOfProcessors()); base 155 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc base::Bind(&RecordStartupMetricsOnBlockingPool), base 156 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc base::TimeDelta::FromSeconds(kStartupMetricsGatheringDelaySeconds)); base 55 chrome/browser/metrics/cloned_install_detector.cc base::Bind(&metrics::MachineIdProvider::GetMachineId, base 57 chrome/browser/metrics/cloned_install_detector.cc base::Bind(&metrics::ClonedInstallDetector::SaveMachineId, base 45 chrome/browser/metrics/cloned_install_detector.h base::WeakPtrFactory<ClonedInstallDetector> weak_ptr_factory_; base 46 chrome/browser/metrics/extension_metrics.cc base::StringPrintf("%u:%s", client_key, extension_id.c_str()); base 31 chrome/browser/metrics/field_trial_synchronizer.cc base::FieldTrialList::AddObserver(this); base 57 chrome/browser/metrics/field_trial_synchronizer.cc base::Bind(&FieldTrialSynchronizer::NotifyAllRenderers, base 65 chrome/browser/metrics/field_trial_synchronizer.cc base::FieldTrialList::RemoveObserver(this); base 26 chrome/browser/metrics/field_trial_synchronizer.h : public base::RefCountedThreadSafe<FieldTrialSynchronizer>, base 27 chrome/browser/metrics/field_trial_synchronizer.h public base::FieldTrialList::Observer { base 53 chrome/browser/metrics/field_trial_synchronizer.h friend class base::RefCountedThreadSafe<FieldTrialSynchronizer>; base 22 chrome/browser/metrics/machine_id_provider.h class MachineIdProvider : public base::RefCountedThreadSafe<MachineIdProvider> { base 37 chrome/browser/metrics/machine_id_provider.h friend class base::RefCountedThreadSafe<MachineIdProvider>; base 29 chrome/browser/metrics/machine_id_provider_win.cc base::FilePath executable_path; base 31 chrome/browser/metrics/machine_id_provider_win.cc if (!PathService::Get(base::FILE_EXE, &executable_path)) { base 36 chrome/browser/metrics/machine_id_provider_win.cc std::vector<base::FilePath::StringType> path_components; base 42 chrome/browser/metrics/machine_id_provider_win.cc base::FilePath::StringType drive_name = L"\\\\.\\" + path_components[0]; base 44 chrome/browser/metrics/machine_id_provider_win.cc base::win::ScopedHandle drive_handle(CreateFile( base 212 chrome/browser/metrics/metrics_log.cc const std::string sha1 = base::SHA1HashString(data); base 213 chrome/browser/metrics/metrics_log.cc return base::HexEncode(sha1.data(), sha1.size()); base 239 chrome/browser/metrics/metrics_log.cc plugin->set_name(base::UTF16ToUTF8(plugin_info.name)); base 241 chrome/browser/metrics/metrics_log.cc plugin->set_version(base::UTF16ToUTF8(plugin_info.version)); base 379 chrome/browser/metrics/metrics_log.cc static base::LazyInstance<std::string>::Leaky base 384 chrome/browser/metrics/metrics_log.cc creation_time_(base::TimeTicks::Now()), base 424 chrome/browser/metrics/metrics_log.cc void MetricsLog::RecordStabilityMetrics(base::TimeDelta incremental_uptime, base 425 chrome/browser/metrics/metrics_log.cc base::TimeDelta uptime, base 514 chrome/browser/metrics/metrics_log.cc const base::ListValue* plugin_stats_list = pref->GetList( base 522 chrome/browser/metrics/metrics_log.cc for (base::ListValue::const_iterator iter = plugin_stats_list->begin(); base 524 chrome/browser/metrics/metrics_log.cc if (!(*iter)->IsType(base::Value::TYPE_DICTIONARY)) { base 528 chrome/browser/metrics/metrics_log.cc base::DictionaryValue* plugin_dict = base 529 chrome/browser/metrics/metrics_log.cc static_cast<base::DictionaryValue*>(*iter); base 600 chrome/browser/metrics/metrics_log.cc base::TimeDelta incremental_uptime, base 601 chrome/browser/metrics/metrics_log.cc base::TimeDelta uptime) { base 679 chrome/browser/metrics/metrics_log.cc bool success = base::StringToInt(GetMetricsEnabledDate(GetPrefService()), base 695 chrome/browser/metrics/metrics_log.cc hardware->set_cpu_architecture(base::SysInfo::OperatingSystemArchitecture()); base 696 chrome/browser/metrics/metrics_log.cc hardware->set_system_ram_mb(base::SysInfo::AmountOfPhysicalMemoryMB()); base 712 chrome/browser/metrics/metrics_log.cc std::string os_name = base::SysInfo::OperatingSystemName(); base 719 chrome/browser/metrics/metrics_log.cc if (base::win::IsMetroProcess()) base 723 chrome/browser/metrics/metrics_log.cc os->set_version(base::SysInfo::OperatingSystemVersion()); base 726 chrome/browser/metrics/metrics_log.cc base::android::BuildInfo::GetInstance()->android_build_fp()); base 729 chrome/browser/metrics/metrics_log.cc base::CPU cpu_info; base 776 chrome/browser/metrics/metrics_log.cc base::Base64Encode(serialied_system_profile, &base64_system_profile); base 799 chrome/browser/metrics/metrics_log.cc return base::Base64Decode(base64_system_profile, &serialied_system_profile) && base 832 chrome/browser/metrics/metrics_log.cc std::vector<base::string16> terms; base 834 chrome/browser/metrics/metrics_log.cc static_cast<int>(Tokenize(log.text, base::kWhitespaceUTF16, &terms)); base 846 chrome/browser/metrics/metrics_log.cc if (log.completed_length != base::string16::npos) base 849 chrome/browser/metrics/metrics_log.cc base::TimeDelta::FromMilliseconds(-1)) { base 32 chrome/browser/metrics/metrics_log.h namespace base { base 57 chrome/browser/metrics/metrics_log.h base::Time last_started_au; base 60 chrome/browser/metrics/metrics_log.h base::Time last_checked; base 118 chrome/browser/metrics/metrics_log.h void RecordStabilityMetrics(base::TimeDelta incremental_uptime, base 119 chrome/browser/metrics/metrics_log.h base::TimeDelta uptime, base 122 chrome/browser/metrics/metrics_log.h const base::TimeTicks& creation_time() const { base 173 chrome/browser/metrics/metrics_log.h base::TimeDelta incremental_uptime, base 174 chrome/browser/metrics/metrics_log.h base::TimeDelta uptime); base 187 chrome/browser/metrics/metrics_log.h const base::TimeTicks creation_time_; base 136 chrome/browser/metrics/metrics_log_chromeos.cc base::Bind(&MetricsLogChromeOS::SetBluetoothAdapter, base 137 chrome/browser/metrics/metrics_log_chromeos.cc base::Unretained(this))); base 166 chrome/browser/metrics/metrics_log_chromeos.cc base::RemoveChars(address.substr(0, 9), ":", &vendor_prefix_str); base 168 chrome/browser/metrics/metrics_log_chromeos.cc base::HexStringToUInt64(vendor_prefix_str, &vendor_prefix); base 96 chrome/browser/metrics/metrics_log_serializer.cc const base::ListValue* unsent_logs = local_state->GetList(pref); base 105 chrome/browser/metrics/metrics_log_serializer.cc base::ListValue* list) { base 134 chrome/browser/metrics/metrics_log_serializer.cc list->Append(base::Value::CreateIntegerValue(local_list.size() - start)); base 136 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Context ctx; base 137 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Init(&ctx); base 144 chrome/browser/metrics/metrics_log_serializer.cc base::Base64Encode(it->log_text(), &encoded_log); base 145 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Update(&ctx, encoded_log); base 146 chrome/browser/metrics/metrics_log_serializer.cc list->Append(base::Value::CreateStringValue(encoded_log)); base 150 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Digest digest; base 151 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Final(&digest, &ctx); base 152 chrome/browser/metrics/metrics_log_serializer.cc list->Append(base::Value::CreateStringValue(base::MD5DigestToBase16(digest))); base 158 chrome/browser/metrics/metrics_log_serializer.cc const base::ListValue& list, base 183 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Context ctx; base 184 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Init(&ctx); base 187 chrome/browser/metrics/metrics_log_serializer.cc for (base::ListValue::const_iterator it = list.begin() + 1; base 196 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Update(&ctx, encoded_log); base 199 chrome/browser/metrics/metrics_log_serializer.cc if (!base::Base64Decode(encoded_log, &log_text)) { base 209 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Digest digest; base 210 chrome/browser/metrics/metrics_log_serializer.cc base::MD5Final(&digest, &ctx); base 218 chrome/browser/metrics/metrics_log_serializer.cc if (recovered_md5 != base::MD5DigestToBase16(digest)) { base 14 chrome/browser/metrics/metrics_log_serializer.h namespace base { base 60 chrome/browser/metrics/metrics_log_serializer.h base::ListValue* list); base 65 chrome/browser/metrics/metrics_log_serializer.h const base::ListValue& list, base 26 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 42 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 55 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue::const_iterator it = list.begin(); base 64 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::Base64Encode("Hello world!", &encoded); base 69 chrome/browser/metrics/metrics_log_serializer_unittest.cc EXPECT_TRUE(base::MD5String(encoded) == str); base 84 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 105 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 138 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 161 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 189 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 210 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 231 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 241 chrome/browser/metrics/metrics_log_serializer_unittest.cc EXPECT_TRUE(list.Set(0, base::Value::CreateIntegerValue(2))); base 252 chrome/browser/metrics/metrics_log_serializer_unittest.cc base::ListValue list; base 265 chrome/browser/metrics/metrics_log_serializer_unittest.cc EXPECT_TRUE(list.Set(2, base::Value::CreateStringValue(checksum))); base 64 chrome/browser/metrics/metrics_log_unittest.cc using base::TimeDelta; base 95 chrome/browser/metrics/metrics_log_unittest.cc const base::FilePath::CharType* path, base 98 chrome/browser/metrics/metrics_log_unittest.cc content::WebPluginInfo plugin(base::UTF8ToUTF16(name), base 99 chrome/browser/metrics/metrics_log_unittest.cc base::FilePath(path), base 100 chrome/browser/metrics/metrics_log_unittest.cc base::UTF8ToUTF16(version), base 101 chrome/browser/metrics/metrics_log_unittest.cc base::string16()); base 165 chrome/browser/metrics/metrics_log_unittest.cc base::Int64ToString(kEnabledDate)); base 317 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_TRUE(base::Base64Decode(base64_system_profile, base 384 chrome/browser/metrics/metrics_log_unittest.cc base::TimeDelta(), base::TimeDelta(), MetricsLog::INITIAL_LOG); base 404 chrome/browser/metrics/metrics_log_unittest.cc base::TimeDelta(), base::TimeDelta(), MetricsLog::ONGOING_LOG); base 442 chrome/browser/metrics/metrics_log_unittest.cc scoped_ptr<base::DictionaryValue> plugin_dict(new base::DictionaryValue); base 454 chrome/browser/metrics/metrics_log_unittest.cc base::TimeDelta(), base::TimeDelta(), MetricsLog::ONGOING_LOG); base 93 chrome/browser/metrics/metrics_network_observer.cc base::Bind(&net::GetWifiPHYLayerProtocol), base 94 chrome/browser/metrics/metrics_network_observer.cc base::Bind(&MetricsNetworkObserver::OnWifiPHYLayerProtocolResult, base 52 chrome/browser/metrics/metrics_network_observer.h base::WeakPtrFactory<MetricsNetworkObserver> weak_ptr_factory_; base 10 chrome/browser/metrics/metrics_reporting_scheduler.cc using base::TimeDelta; base 63 chrome/browser/metrics/metrics_reporting_scheduler.cc const base::Closure& upload_callback) base 124 chrome/browser/metrics/metrics_reporting_scheduler.cc base::TimeDelta interval) { base 17 chrome/browser/metrics/metrics_reporting_scheduler.h explicit MetricsReportingScheduler(const base::Closure& upload_callback); base 38 chrome/browser/metrics/metrics_reporting_scheduler.h void SetUploadIntervalForTesting(base::TimeDelta interval); base 53 chrome/browser/metrics/metrics_reporting_scheduler.h const base::Closure upload_callback_; base 55 chrome/browser/metrics/metrics_reporting_scheduler.h base::OneShotTimer<MetricsReportingScheduler> upload_timer_; base 59 chrome/browser/metrics/metrics_reporting_scheduler.h base::TimeDelta upload_interval_; base 18 chrome/browser/metrics/metrics_reporting_scheduler_unittest.cc base::Closure GetCallback() { base 19 chrome/browser/metrics/metrics_reporting_scheduler_unittest.cc return base::Bind(&MetricsReportingSchedulerTest::SchedulerCallback, base 20 chrome/browser/metrics/metrics_reporting_scheduler_unittest.cc base::Unretained(this)); base 32 chrome/browser/metrics/metrics_reporting_scheduler_unittest.cc base::MessageLoopForUI message_loop_; base 40 chrome/browser/metrics/metrics_reporting_scheduler_unittest.cc scheduler.SetUploadIntervalForTesting(base::TimeDelta()); base 45 chrome/browser/metrics/metrics_reporting_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 51 chrome/browser/metrics/metrics_reporting_scheduler_unittest.cc scheduler.SetUploadIntervalForTesting(base::TimeDelta()); base 53 chrome/browser/metrics/metrics_reporting_scheduler_unittest.cc base::RunLoop().RunUntilIdle(); base 251 chrome/browser/metrics/metrics_service.cc using base::Time; base 261 chrome/browser/metrics/metrics_service.cc static base::PlatformThreadId thread_id = 0; base 263 chrome/browser/metrics/metrics_service.cc thread_id = base::PlatformThread::CurrentId(); base 264 chrome/browser/metrics/metrics_service.cc return base::PlatformThread::CurrentId() == thread_id; base 328 chrome/browser/metrics/metrics_service.cc return base::RandInt(0, kMaxLowEntropySize - 1); base 356 chrome/browser/metrics/metrics_service.cc return base::FieldTrialList::FindFullName("UMAStability") == "SeparateLog"; base 421 chrome/browser/metrics/metrics_service.cc explicit MetricsMemoryDetails(const base::Closure& callback) base 425 chrome/browser/metrics/metrics_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback_); base 431 chrome/browser/metrics/metrics_service.cc base::Closure callback_; base 563 chrome/browser/metrics/metrics_service.cc base::Closure callback = base::Bind(&MetricsService::StartScheduledUpload, base 601 chrome/browser/metrics/metrics_service.cc scoped_ptr<const base::FieldTrial::EntropyProvider> base 618 chrome/browser/metrics/metrics_service.cc client_id_ + base::IntToString(low_entropy_source_value); base 619 chrome/browser/metrics/metrics_service.cc return scoped_ptr<const base::FieldTrial::EntropyProvider>( base 628 chrome/browser/metrics/metrics_service.cc return scoped_ptr<const base::FieldTrial::EntropyProvider>( base 634 chrome/browser/metrics/metrics_service.cc return scoped_ptr<const base::FieldTrial::EntropyProvider>( base 677 chrome/browser/metrics/metrics_service.cc base::RemoveActionCallback(action_callback_); base 678 chrome/browser/metrics/metrics_service.cc action_callback_ = base::Bind(&MetricsService::OnUserAction, base 679 chrome/browser/metrics/metrics_service.cc base::Unretained(this)); base 680 chrome/browser/metrics/metrics_service.cc base::AddActionCallback(action_callback_); base 690 chrome/browser/metrics/metrics_service.cc base::RemoveActionCallback(action_callback_); base 901 chrome/browser/metrics/metrics_service.cc base::win::RegKey regkey; base 909 chrome/browser/metrics/metrics_service.cc base::string16 chrome_version(base::ASCIIToUTF16(chrome::kChromeVersion)); base 913 chrome/browser/metrics/metrics_service.cc typedef std::vector<base::string16> StringVector; base 919 chrome/browser/metrics/metrics_service.cc base::string16 name; base 1033 chrome/browser/metrics/metrics_service.cc base::TimeDelta ignored_uptime_parameter; base 1034 chrome/browser/metrics/metrics_service.cc base::TimeDelta startup_uptime; base 1070 chrome/browser/metrics/metrics_service.cc base::WeakPtr<MetricsService> self, base 1071 chrome/browser/metrics/metrics_service.cc base::MessageLoopProxy* target_loop) { base 1081 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::OnInitTaskGotHardwareClass, base 1093 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::OnInitTaskGotPluginInfo, base 1110 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::InitTaskGetGoogleUpdateData, base 1112 chrome/browser/metrics/metrics_service.cc base::MessageLoop::current()->message_loop_proxy())); base 1117 chrome/browser/metrics/metrics_service.cc base::WeakPtr<MetricsService> self, base 1118 chrome/browser/metrics/metrics_service.cc base::MessageLoopProxy* target_loop) { base 1138 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::OnInitTaskGotGoogleUpdateData, base 1182 chrome/browser/metrics/metrics_service.cc base::TimeDelta* incremental_uptime, base 1183 chrome/browser/metrics/metrics_service.cc base::TimeDelta* uptime) { base 1184 chrome/browser/metrics/metrics_service.cc base::TimeTicks now = base::TimeTicks::Now(); base 1258 chrome/browser/metrics/metrics_service.cc return base::GenerateGUID(); base 1267 chrome/browser/metrics/metrics_service.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 1268 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::SaveLocalState, base 1270 chrome/browser/metrics/metrics_service.cc base::TimeDelta::FromMinutes(kSaveStateIntervalMinutes)); base 1306 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::InitTaskGetHardwareClass, base 1308 chrome/browser/metrics/metrics_service.cc base::MessageLoop::current()->message_loop_proxy()), base 1309 chrome/browser/metrics/metrics_service.cc base::TimeDelta::FromSeconds(kInitializationDelaySeconds)); base 1341 chrome/browser/metrics/metrics_service.cc base::TimeDelta incremental_uptime; base 1342 chrome/browser/metrics/metrics_service.cc base::TimeDelta uptime; base 1440 chrome/browser/metrics/metrics_service.cc base::Closure callback = base 1441 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::OnMemoryDetailCollectionDone, base 1462 chrome/browser/metrics/metrics_service.cc base::Closure callback = base::Bind( base 1466 chrome/browser/metrics/metrics_service.cc base::TimeDelta timeout = base 1467 chrome/browser/metrics/metrics_service.cc base::TimeDelta::FromMilliseconds(kMaxHistogramGatheringWaitDuration); base 1490 chrome/browser/metrics/metrics_service.cc content::FetchHistogramsAsynchronously(base::MessageLoop::current(), callback, base 1601 chrome/browser/metrics/metrics_service.cc base::TimeDelta(), base::TimeDelta(), MetricsLog::INITIAL_LOG); base 1630 chrome/browser/metrics/metrics_service.cc base::TimeDelta incremental_uptime; base 1631 chrome/browser/metrics/metrics_service.cc base::TimeDelta uptime; base 1695 chrome/browser/metrics/metrics_service.cc base::HexEncode(log_manager_.staged_log_hash().data(), base 1830 chrome/browser/metrics/metrics_service.cc content::RecordAction(base::UserMetricsAction("PageLoad")); base 1839 chrome/browser/metrics/metrics_service.cc base::TerminationStatus status, base 1844 chrome/browser/metrics/metrics_service.cc if (status == base::TERMINATION_STATUS_PROCESS_CRASHED || base 1845 chrome/browser/metrics/metrics_service.cc status == base::TERMINATION_STATUS_ABNORMAL_TERMINATION) { base 1860 chrome/browser/metrics/metrics_service.cc } else if (status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED) { base 1863 chrome/browser/metrics/metrics_service.cc } else if (status == base::TERMINATION_STATUS_STILL_RUNNING) { base 1885 chrome/browser/metrics/metrics_service.cc synthetic_trial_groups_[i].start_time = base::TimeTicks::Now(); base 1892 chrome/browser/metrics/metrics_service.cc trial_group.start_time = base::TimeTicks::Now(); base 1953 chrome/browser/metrics/metrics_service.cc void MetricsService::LogPluginLoadingError(const base::FilePath& plugin_path) { base 1973 chrome/browser/metrics/metrics_service.cc const base::string16& child_name = data.name; base 1983 chrome/browser/metrics/metrics_service.cc base::ListValue* plugins = update.Get(); base 1986 chrome/browser/metrics/metrics_service.cc for (base::ListValue::iterator value_iter = plugins->begin(); base 1988 chrome/browser/metrics/metrics_service.cc if (!(*value_iter)->IsType(base::Value::TYPE_DICTIONARY)) { base 1993 chrome/browser/metrics/metrics_service.cc base::DictionaryValue* plugin_dict = base 1994 chrome/browser/metrics/metrics_service.cc static_cast<base::DictionaryValue*>(*value_iter); base 2003 chrome/browser/metrics/metrics_service.cc base::string16 name16 = base::UTF8ToUTF16(plugin_name); base 2042 chrome/browser/metrics/metrics_service.cc for (std::map<base::string16, ChildProcessStats>::iterator cache_iter = base 2052 chrome/browser/metrics/metrics_service.cc std::string plugin_name = base::UTF16ToUTF8(cache_iter->first); base 2054 chrome/browser/metrics/metrics_service.cc base::DictionaryValue* plugin_dict = new base::DictionaryValue; base 50 chrome/browser/metrics/metrics_service.h namespace base { base 99 chrome/browser/metrics/metrics_service.h base::TimeTicks start_time; base 183 chrome/browser/metrics/metrics_service.h scoped_ptr<const base::FieldTrial::EntropyProvider> CreateEntropyProvider( base 275 chrome/browser/metrics/metrics_service.h void LogPluginLoadingError(const base::FilePath& plugin_path); base 330 chrome/browser/metrics/metrics_service.h static void InitTaskGetHardwareClass(base::WeakPtr<MetricsService> self, base 331 chrome/browser/metrics/metrics_service.h base::MessageLoopProxy* target_loop); base 344 chrome/browser/metrics/metrics_service.h static void InitTaskGetGoogleUpdateData(base::WeakPtr<MetricsService> self, base 345 chrome/browser/metrics/metrics_service.h base::MessageLoopProxy* target_loop); base 368 chrome/browser/metrics/metrics_service.h base::TimeDelta* incremental_uptime, base 369 chrome/browser/metrics/metrics_service.h base::TimeDelta* uptime); base 486 chrome/browser/metrics/metrics_service.h base::TerminationStatus status, base 526 chrome/browser/metrics/metrics_service.h base::ActionCallback action_callback_; base 598 chrome/browser/metrics/metrics_service.h std::map<base::string16, ChildProcessStats> child_process_stats_buffer_; base 602 chrome/browser/metrics/metrics_service.h base::WeakPtrFactory<MetricsService> self_ptr_factory_; base 606 chrome/browser/metrics/metrics_service.h base::WeakPtrFactory<MetricsService> state_saver_factory_; base 627 chrome/browser/metrics/metrics_service.h base::TimeTicks first_updated_time_; base 630 chrome/browser/metrics/metrics_service.h base::TimeTicks last_updated_time_; base 19 chrome/browser/metrics/metrics_service_android.cc void IncrementListValue(base::ListValue* counts, int index) { base 22 chrome/browser/metrics/metrics_service_android.cc counts->Set(index, new base::FundamentalValue(current_count + 1)); base 50 chrome/browser/metrics/metrics_service_android.cc base::ListValue* launch_counts = update_launches.Get(); base 65 chrome/browser/metrics/metrics_service_android.cc base::ListValue* crash_counts = update_crashes.Get(); base 79 chrome/browser/metrics/metrics_service_android.cc base::ListValue* launch_counts = launch_updater.Get(); base 80 chrome/browser/metrics/metrics_service_android.cc base::ListValue* crash_counts = crash_updater.Get(); base 42 chrome/browser/metrics/metrics_service_browsertest.cc base::FilePath test_directory; base 45 chrome/browser/metrics/metrics_service_browsertest.cc base::FilePath page1_path = test_directory.AppendASCII("title2.html"); base 52 chrome/browser/metrics/metrics_service_browsertest.cc base::FilePath page2_path = test_directory.AppendASCII("iframe.html"); base 100 chrome/browser/metrics/metrics_service_unittest.cc void WaitUntilTimeChanges(const base::TimeTicks& value) { base 101 chrome/browser/metrics/metrics_service_unittest.cc while (base::TimeTicks::Now() == value) { base 102 chrome/browser/metrics/metrics_service_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(1)); base 215 chrome/browser/metrics/metrics_service_unittest.cc base::FieldTrialList field_trial_list(NULL); base 216 chrome/browser/metrics/metrics_service_unittest.cc base::FieldTrialList::CreateFieldTrial("UMAStability", "SeparateLog"); base 228 chrome/browser/metrics/metrics_service_unittest.cc base::FieldTrialList field_trial_list(NULL); base 229 chrome/browser/metrics/metrics_service_unittest.cc base::FieldTrialList::CreateFieldTrial("UMAStability", "SeparateLog"); base 290 chrome/browser/metrics/metrics_service_unittest.cc WaitUntilTimeChanges(base::TimeTicks::Now()); base 297 chrome/browser/metrics/metrics_service_unittest.cc const base::TimeTicks begin_log_time = base::TimeTicks::Now(); base 326 chrome/browser/metrics/metrics_service_unittest.cc WaitUntilTimeChanges(base::TimeTicks::Now()); base 110 chrome/browser/metrics/perf_provider_chromeos.cc size_t collection_interval_minutes = base::RandInt( base 113 chrome/browser/metrics/perf_provider_chromeos.cc ScheduleCollection(base::TimeDelta::FromMinutes(collection_interval_minutes)); base 132 chrome/browser/metrics/perf_provider_chromeos.cc void PerfProvider::ScheduleCollection(const base::TimeDelta& interval) { base 161 chrome/browser/metrics/perf_provider_chromeos.cc base::TimeDelta collection_duration = base::TimeDelta::FromSeconds( base 165 chrome/browser/metrics/perf_provider_chromeos.cc base::Bind(&PerfProvider::ParseProtoIfValid, base 167 chrome/browser/metrics/perf_provider_chromeos.cc base::Passed(&incognito_observer))); base 173 chrome/browser/metrics/perf_provider_chromeos.cc base::TimeDelta::FromSeconds(kPerfCommandIntervalDefaultSeconds)); base 23 chrome/browser/metrics/perf_provider_chromeos.h class PerfProvider : public base::NonThreadSafe { base 43 chrome/browser/metrics/perf_provider_chromeos.h void ScheduleCollection(const base::TimeDelta& interval); base 67 chrome/browser/metrics/perf_provider_chromeos.h base::OneShotTimer<PerfProvider> timer_; base 70 chrome/browser/metrics/perf_provider_chromeos.h base::WeakPtrFactory<PerfProvider> weak_factory_; base 52 chrome/browser/metrics/thread_watcher.cc base::debug::DumpWithoutCrashing(); base 92 chrome/browser/metrics/thread_watcher.cc base::debug::Alias(&thread_id); base 130 chrome/browser/metrics/thread_watcher.cc ping_time_(base::TimeTicks::Now()), base 160 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcher::StartWatching, params)); base 183 chrome/browser/metrics/thread_watcher.cc base::MessageLoop::current()->PostTask( base 185 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcher::PostPingMessage, base 227 chrome/browser/metrics/thread_watcher.cc ping_time_ = base::TimeTicks::Now(); base 231 chrome/browser/metrics/thread_watcher.cc base::Closure callback( base 232 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcher::OnPongMessage, weak_ptr_factory_.GetWeakPtr(), base 236 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcher::OnPingMessage, thread_id_, base 239 chrome/browser/metrics/thread_watcher.cc base::MessageLoop::current()->PostDelayedTask( base 241 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcher::OnCheckResponsiveness, base 254 chrome/browser/metrics/thread_watcher.cc base::TimeTicks now = base::TimeTicks::Now(); base 255 chrome/browser/metrics/thread_watcher.cc base::TimeDelta response_time = now - ping_time_; base 275 chrome/browser/metrics/thread_watcher.cc base::MessageLoop::current()->PostDelayedTask( base 277 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcher::PostPingMessage, base 304 chrome/browser/metrics/thread_watcher.cc base::MessageLoop::current()->PostDelayedTask( base 306 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcher::OnCheckResponsiveness, base 318 chrome/browser/metrics/thread_watcher.cc response_time_histogram_ = base::Histogram::FactoryTimeGet( base 320 chrome/browser/metrics/thread_watcher.cc base::TimeDelta::FromMilliseconds(1), base 321 chrome/browser/metrics/thread_watcher.cc base::TimeDelta::FromSeconds(100), 50, base 322 chrome/browser/metrics/thread_watcher.cc base::Histogram::kUmaTargetedHistogramFlag); base 326 chrome/browser/metrics/thread_watcher.cc unresponsive_time_histogram_ = base::Histogram::FactoryTimeGet( base 328 chrome/browser/metrics/thread_watcher.cc base::TimeDelta::FromMilliseconds(1), base 329 chrome/browser/metrics/thread_watcher.cc base::TimeDelta::FromSeconds(100), 50, base 330 chrome/browser/metrics/thread_watcher.cc base::Histogram::kUmaTargetedHistogramFlag); base 334 chrome/browser/metrics/thread_watcher.cc responsive_count_histogram_ = base::LinearHistogram::FactoryGet( base 336 chrome/browser/metrics/thread_watcher.cc base::Histogram::kUmaTargetedHistogramFlag); base 340 chrome/browser/metrics/thread_watcher.cc unresponsive_count_histogram_ = base::LinearHistogram::FactoryGet( base 342 chrome/browser/metrics/thread_watcher.cc base::Histogram::kUmaTargetedHistogramFlag); base 347 chrome/browser/metrics/thread_watcher.cc const base::Closure& callback_task) { base 367 chrome/browser/metrics/thread_watcher.cc base::TimeDelta unresponse_time = base::TimeTicks::Now() - pong_time_; base 446 chrome/browser/metrics/thread_watcher.cc base::TimeDelta::FromSeconds(kSleepSeconds * unresponsive_threshold)); base 450 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcherList::SetStopped, false)); base 454 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcherList::InitializeAndStartWatching, base 457 chrome/browser/metrics/thread_watcher.cc base::TimeDelta::FromSeconds(g_initialize_delay_seconds)); base 548 chrome/browser/metrics/thread_watcher.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 562 chrome/browser/metrics/thread_watcher.cc crash_on_hang_thread_names = base::StringPrintf( base 581 chrome/browser/metrics/thread_watcher.cc scoped_refptr<base::FieldTrial> field_trial( base 582 chrome/browser/metrics/thread_watcher.cc base::FieldTrialList::FactoryGetFieldTrial( base 584 chrome/browser/metrics/thread_watcher.cc 2014, 10, 30, base::FieldTrial::SESSION_RANDOMIZED, NULL)); base 611 chrome/browser/metrics/thread_watcher.cc base::StringTokenizer tokens(crash_on_hang_thread_names, ","); base 615 chrome/browser/metrics/thread_watcher.cc base::SplitString(token, ':', &values); base 621 chrome/browser/metrics/thread_watcher.cc (!base::StringToUint(values[1], &live_threads_threshold))) { base 625 chrome/browser/metrics/thread_watcher.cc (!base::StringToUint(values[2], &crash_seconds))) { base 656 chrome/browser/metrics/thread_watcher.cc base::Bind(&StartupTimeBomb::DisarmStartupTimeBomb)); base 658 chrome/browser/metrics/thread_watcher.cc const base::TimeDelta kSleepTime = base 659 chrome/browser/metrics/thread_watcher.cc base::TimeDelta::FromSeconds(kSleepSeconds); base 660 chrome/browser/metrics/thread_watcher.cc const base::TimeDelta kUnresponsiveTime = base 661 chrome/browser/metrics/thread_watcher.cc base::TimeDelta::FromSeconds(kUnresponsiveSeconds); base 679 chrome/browser/metrics/thread_watcher.cc const base::TimeDelta& sleep_time, base 680 chrome/browser/metrics/thread_watcher.cc const base::TimeDelta& unresponsive_time, base 710 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcherList::DeleteAll)); base 755 chrome/browser/metrics/thread_watcher.cc const base::TimeDelta& wakeup_interval) base 756 chrome/browser/metrics/thread_watcher.cc : last_wakeup_time_(base::TimeTicks::Now()), base 769 chrome/browser/metrics/thread_watcher.cc const base::TimeDelta& wakeup_interval) { base 789 chrome/browser/metrics/thread_watcher.cc base::TimeTicks now = base::TimeTicks::Now(); base 795 chrome/browser/metrics/thread_watcher.cc base::Bind(&ThreadWatcherList::WakeUpAll)); base 801 chrome/browser/metrics/thread_watcher.cc static base::LazyInstance<base::Lock>::Leaky base 816 chrome/browser/metrics/thread_watcher.cc base::AutoLock lock(g_watchdog_lock.Get()); base 818 chrome/browser/metrics/thread_watcher.cc g_watchdog_thread->message_loop() == base::MessageLoop::current(); base 823 chrome/browser/metrics/thread_watcher.cc const base::Closure& task) { base 824 chrome/browser/metrics/thread_watcher.cc return PostTaskHelper(from_here, task, base::TimeDelta()); base 829 chrome/browser/metrics/thread_watcher.cc const base::Closure& task, base 830 chrome/browser/metrics/thread_watcher.cc base::TimeDelta delay) { base 837 chrome/browser/metrics/thread_watcher.cc const base::Closure& task, base 838 chrome/browser/metrics/thread_watcher.cc base::TimeDelta delay) { base 840 chrome/browser/metrics/thread_watcher.cc base::AutoLock lock(g_watchdog_lock.Get()); base 842 chrome/browser/metrics/thread_watcher.cc base::MessageLoop* message_loop = g_watchdog_thread ? base 855 chrome/browser/metrics/thread_watcher.cc base::ThreadRestrictions::SetIOAllowed(false); base 857 chrome/browser/metrics/thread_watcher.cc base::AutoLock lock(g_watchdog_lock.Get()); base 863 chrome/browser/metrics/thread_watcher.cc base::AutoLock lock(g_watchdog_lock.Get()); base 872 chrome/browser/metrics/thread_watcher.cc class StartupWatchDogThread : public base::Watchdog { base 876 chrome/browser/metrics/thread_watcher.cc explicit StartupWatchDogThread(const base::TimeDelta& duration) base 877 chrome/browser/metrics/thread_watcher.cc : base::Watchdog(duration, "Startup watchdog thread", true) { base 888 chrome/browser/metrics/thread_watcher.cc base::Bind(&base::debug::DumpWithoutCrashing)); base 898 chrome/browser/metrics/thread_watcher.cc class ShutdownWatchDogThread : public base::Watchdog { base 902 chrome/browser/metrics/thread_watcher.cc explicit ShutdownWatchDogThread(const base::TimeDelta& duration) base 903 chrome/browser/metrics/thread_watcher.cc : base::Watchdog(duration, "Shutdown watchdog thread", true) { base 923 chrome/browser/metrics/thread_watcher.cc thread_id_(base::PlatformThread::CurrentId()) { base 930 chrome/browser/metrics/thread_watcher.cc DCHECK_EQ(thread_id_, base::PlatformThread::CurrentId()); base 936 chrome/browser/metrics/thread_watcher.cc void StartupTimeBomb::Arm(const base::TimeDelta& duration) { base 937 chrome/browser/metrics/thread_watcher.cc DCHECK_EQ(thread_id_, base::PlatformThread::CurrentId()); base 945 chrome/browser/metrics/thread_watcher.cc DCHECK_EQ(thread_id_, base::PlatformThread::CurrentId()); base 954 chrome/browser/metrics/thread_watcher.cc DCHECK_EQ(thread_id_, base::PlatformThread::CurrentId()); base 958 chrome/browser/metrics/thread_watcher.cc base::ThreadRestrictions::SetIOAllowed(true); base 963 chrome/browser/metrics/thread_watcher.cc base::MessageLoop::current()->PostDelayedTask( base 965 chrome/browser/metrics/thread_watcher.cc base::Bind(&StartupTimeBomb::DeleteStartupWatchdog, base 966 chrome/browser/metrics/thread_watcher.cc base::Unretained(this)), base 967 chrome/browser/metrics/thread_watcher.cc base::TimeDelta::FromSeconds(10)); base 983 chrome/browser/metrics/thread_watcher.cc thread_id_(base::PlatformThread::CurrentId()) { base 987 chrome/browser/metrics/thread_watcher.cc DCHECK_EQ(thread_id_, base::PlatformThread::CurrentId()); base 995 chrome/browser/metrics/thread_watcher.cc void ShutdownWatcherHelper::Arm(const base::TimeDelta& duration) { base 996 chrome/browser/metrics/thread_watcher.cc DCHECK_EQ(thread_id_, base::PlatformThread::CurrentId()); base 998 chrome/browser/metrics/thread_watcher.cc base::TimeDelta actual_duration = duration; base 1010 chrome/browser/metrics/thread_watcher.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 78 chrome/browser/metrics/thread_watcher.h const base::TimeDelta& sleep_time; base 79 chrome/browser/metrics/thread_watcher.h const base::TimeDelta& unresponsive_time; base 86 chrome/browser/metrics/thread_watcher.h const base::TimeDelta& sleep_time_in, base 87 chrome/browser/metrics/thread_watcher.h const base::TimeDelta& unresponsive_time_in, base 123 chrome/browser/metrics/thread_watcher.h base::TimeDelta sleep_time() const { return sleep_time_; } base 126 chrome/browser/metrics/thread_watcher.h base::TimeDelta unresponsive_time() const { return unresponsive_time_; } base 132 chrome/browser/metrics/thread_watcher.h base::TimeTicks ping_time() const { return ping_time_; } base 200 chrome/browser/metrics/thread_watcher.h const base::Closure& callback_task); base 222 chrome/browser/metrics/thread_watcher.h scoped_refptr<base::MessageLoopProxy> watched_loop_; base 226 chrome/browser/metrics/thread_watcher.h const base::TimeDelta sleep_time_; base 230 chrome/browser/metrics/thread_watcher.h const base::TimeDelta unresponsive_time_; base 233 chrome/browser/metrics/thread_watcher.h base::TimeTicks ping_time_; base 236 chrome/browser/metrics/thread_watcher.h base::TimeTicks pong_time_; base 253 chrome/browser/metrics/thread_watcher.h base::HistogramBase* response_time_histogram_; base 257 chrome/browser/metrics/thread_watcher.h base::HistogramBase* unresponsive_time_histogram_; base 261 chrome/browser/metrics/thread_watcher.h base::HistogramBase* responsive_count_histogram_; base 266 chrome/browser/metrics/thread_watcher.h base::HistogramBase* unresponsive_count_histogram_; base 297 chrome/browser/metrics/thread_watcher.h base::WeakPtrFactory<ThreadWatcher> weak_ptr_factory_; base 384 chrome/browser/metrics/thread_watcher.h static void StartWatchingAll(const base::CommandLine& command_line); base 428 chrome/browser/metrics/thread_watcher.h const base::CommandLine& command_line, base 456 chrome/browser/metrics/thread_watcher.h const base::TimeDelta& sleep_time, base 457 chrome/browser/metrics/thread_watcher.h const base::TimeDelta& unresponsive_time, base 512 chrome/browser/metrics/thread_watcher.h static void SetupNotifications(const base::TimeDelta& wakeup_interval); base 520 chrome/browser/metrics/thread_watcher.h explicit ThreadWatcherObserver(const base::TimeDelta& wakeup_interval); base 541 chrome/browser/metrics/thread_watcher.h base::TimeTicks last_wakeup_time_; base 544 chrome/browser/metrics/thread_watcher.h const base::TimeDelta wakeup_interval_; base 551 chrome/browser/metrics/thread_watcher.h class WatchDogThread : public base::Thread { base 569 chrome/browser/metrics/thread_watcher.h const base::Closure& task); base 571 chrome/browser/metrics/thread_watcher.h const base::Closure& task, base 572 chrome/browser/metrics/thread_watcher.h base::TimeDelta delay); base 581 chrome/browser/metrics/thread_watcher.h const base::Closure& task, base 582 chrome/browser/metrics/thread_watcher.h base::TimeDelta delay); base 601 chrome/browser/metrics/thread_watcher.h void Arm(const base::TimeDelta& duration); base 619 chrome/browser/metrics/thread_watcher.h base::Watchdog* startup_watchdog_; base 622 chrome/browser/metrics/thread_watcher.h const base::PlatformThreadId thread_id_; base 638 chrome/browser/metrics/thread_watcher.h void Arm(const base::TimeDelta& duration); base 642 chrome/browser/metrics/thread_watcher.h base::Watchdog* shutdown_watchdog_; base 645 chrome/browser/metrics/thread_watcher.h const base::PlatformThreadId thread_id_; base 26 chrome/browser/metrics/thread_watcher_android.cc base::android::ApplicationState application_state) { base 29 chrome/browser/metrics/thread_watcher_android.cc base::android::APPLICATION_STATE_HAS_STOPPED_ACTIVITIES) { base 33 chrome/browser/metrics/thread_watcher_android.cc base::android::APPLICATION_STATE_HAS_RUNNING_ACTIVITIES && base 46 chrome/browser/metrics/thread_watcher_android.cc static base::android::ApplicationStatusListener* New(void* instance) { base 48 chrome/browser/metrics/thread_watcher_android.cc return new (instance) base::android::ApplicationStatusListener( base 49 chrome/browser/metrics/thread_watcher_android.cc base::Bind(&OnApplicationStateChange)); base 52 chrome/browser/metrics/thread_watcher_android.cc static void Delete(base::android::ApplicationStatusListener* instance) { base 56 chrome/browser/metrics/thread_watcher_android.cc base::LazyInstance<base::android::ApplicationStatusListener, base 17 chrome/browser/metrics/thread_watcher_android_unittest.cc void OnThreadWatcherTask(base::WaitableEvent* event) { base 21 chrome/browser/metrics/thread_watcher_android_unittest.cc void PostAndWaitForWatchdogThread(base::WaitableEvent* event) { base 24 chrome/browser/metrics/thread_watcher_android_unittest.cc base::Bind(&OnThreadWatcherTask, event), base 25 chrome/browser/metrics/thread_watcher_android_unittest.cc base::TimeDelta::FromSeconds(0)); base 27 chrome/browser/metrics/thread_watcher_android_unittest.cc EXPECT_TRUE(event->TimedWait(base::TimeDelta::FromSeconds(1))); base 30 chrome/browser/metrics/thread_watcher_android_unittest.cc void NotifyApplicationStateChange(base::android::ApplicationState state) { base 31 chrome/browser/metrics/thread_watcher_android_unittest.cc base::WaitableEvent watchdog_thread_event(false, false); base 33 chrome/browser/metrics/thread_watcher_android_unittest.cc base::android::ApplicationStatusListener::NotifyApplicationStateChange(state); base 34 chrome/browser/metrics/thread_watcher_android_unittest.cc base::RunLoop().RunUntilIdle(); base 45 chrome/browser/metrics/thread_watcher_android_unittest.cc base::MessageLoopForUI message_loop_for_ui; base 60 chrome/browser/metrics/thread_watcher_android_unittest.cc base::android::APPLICATION_STATE_HAS_RUNNING_ACTIVITIES); base 66 chrome/browser/metrics/thread_watcher_android_unittest.cc base::android::APPLICATION_STATE_HAS_STOPPED_ACTIVITIES); base 71 chrome/browser/metrics/thread_watcher_android_unittest.cc base::android::APPLICATION_STATE_HAS_RUNNING_ACTIVITIES); base 28 chrome/browser/metrics/thread_watcher_unittest.cc using base::TimeDelta; base 29 chrome/browser/metrics/thread_watcher_unittest.cc using base::TimeTicks; base 61 chrome/browser/metrics/thread_watcher_unittest.cc base::Lock custom_lock_; base 62 chrome/browser/metrics/thread_watcher_unittest.cc base::ConditionVariable state_changed_; base 68 chrome/browser/metrics/thread_watcher_unittest.cc base::subtle::Atomic32 success_response_; base 69 chrome/browser/metrics/thread_watcher_unittest.cc base::subtle::Atomic32 failed_response_; base 70 chrome/browser/metrics/thread_watcher_unittest.cc base::TimeTicks saved_ping_time_; base 88 chrome/browser/metrics/thread_watcher_unittest.cc saved_ping_time_(base::TimeTicks::Now()), base 95 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(custom_lock_); base 113 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(custom_lock_); base 149 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(custom_lock_); base 151 chrome/browser/metrics/thread_watcher_unittest.cc base::subtle::Release_Store(&success_response_, base 152 chrome/browser/metrics/thread_watcher_unittest.cc base::subtle::Acquire_Load(&success_response_) + 1); base 155 chrome/browser/metrics/thread_watcher_unittest.cc base::subtle::Release_Store(&failed_response_, base 156 chrome/browser/metrics/thread_watcher_unittest.cc base::subtle::Acquire_Load(&failed_response_) + 1); base 169 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(custom_lock_); base 191 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(custom_lock_); base 220 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(custom_lock_); base 266 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcherTest::SetUpObjects, base::Unretained(this))); base 288 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock lock(lock_); base 298 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(lock_); base 315 chrome/browser/metrics/thread_watcher_unittest.cc base::Lock lock_; base 316 chrome/browser/metrics/thread_watcher_unittest.cc base::ConditionVariable setup_complete_; base 352 chrome/browser/metrics/thread_watcher_unittest.cc base::StringTokenizer tokens(crash_on_hang_thread_names, ","); base 356 chrome/browser/metrics/thread_watcher_unittest.cc base::SplitString(token, ':', &values); base 382 chrome/browser/metrics/thread_watcher_unittest.cc base::StringTokenizer tokens(thread_names_and_live_threshold, ","); base 386 chrome/browser/metrics/thread_watcher_unittest.cc base::SplitString(token, ':', &values); base 412 chrome/browser/metrics/thread_watcher_unittest.cc base::StringTokenizer tokens(crash_on_hang_thread_data, ","); base 416 chrome/browser/metrics/thread_watcher_unittest.cc base::SplitString(token, ':', &values); base 463 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::ActivateThreadWatching, base 464 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_))); base 479 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_GT(base::subtle::NoBarrier_Load(&(io_watcher_->success_response_)), base 480 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 481 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_Load(&(io_watcher_->failed_response_)), base 482 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 487 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::DeActivateThreadWatching, base 488 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_))); base 503 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&CustomThreadWatcher::VeryLongMethod, base 504 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_), base 510 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::ActivateThreadWatching, base 511 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_))); base 516 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_Load(&(io_watcher_->success_response_)), base 517 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 518 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_GT(base::subtle::NoBarrier_Load(&(io_watcher_->failed_response_)), base 519 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 524 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::DeActivateThreadWatching, base 525 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_))); base 536 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::ActivateThreadWatching, base 537 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(db_watcher_))); base 542 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::ActivateThreadWatching, base 543 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_))); base 551 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_GT(base::subtle::NoBarrier_Load(&(db_watcher_->success_response_)), base 552 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 553 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_Load(&(db_watcher_->failed_response_)), base 554 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 562 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_GT(base::subtle::NoBarrier_Load(&(io_watcher_->success_response_)), base 563 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 564 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_Load(&(io_watcher_->failed_response_)), base 565 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 570 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::DeActivateThreadWatching, base 571 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_))); base 575 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::DeActivateThreadWatching, base 576 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(db_watcher_))); base 588 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&CustomThreadWatcher::VeryLongMethod, base 589 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_), base 595 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::ActivateThreadWatching, base 596 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(db_watcher_))); base 601 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::ActivateThreadWatching, base 602 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_))); base 607 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_GT(base::subtle::NoBarrier_Load(&(db_watcher_->success_response_)), base 608 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 609 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_Load(&(db_watcher_->failed_response_)), base 610 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 615 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_Load(&(io_watcher_->success_response_)), base 616 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 617 chrome/browser/metrics/thread_watcher_unittest.cc EXPECT_GT(base::subtle::NoBarrier_Load(&(io_watcher_->failed_response_)), base 618 chrome/browser/metrics/thread_watcher_unittest.cc static_cast<base::subtle::Atomic32>(0)); base 623 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::DeActivateThreadWatching, base 624 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(io_watcher_))); base 627 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcher::DeActivateThreadWatching, base 628 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(db_watcher_))); base 646 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(lock_); base 660 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(lock_); base 666 chrome/browser/metrics/thread_watcher_unittest.cc base::Bind(&ThreadWatcherListTest::ReadStateOnWatchDogThread, base 667 chrome/browser/metrics/thread_watcher_unittest.cc base::Unretained(this))); base 669 chrome/browser/metrics/thread_watcher_unittest.cc base::AutoLock auto_lock(lock_); base 678 chrome/browser/metrics/thread_watcher_unittest.cc base::Lock lock_; base 679 chrome/browser/metrics/thread_watcher_unittest.cc base::ConditionVariable done_; base 689 chrome/browser/metrics/thread_watcher_unittest.cc base::MessageLoopForUI message_loop_for_ui; base 705 chrome/browser/metrics/thread_watcher_unittest.cc base::TimeDelta::FromSeconds( base 718 chrome/browser/metrics/thread_watcher_unittest.cc base::TimeDelta::FromSeconds( base 731 chrome/browser/metrics/thread_watcher_unittest.cc base::TimeDelta::FromSeconds( base 28 chrome/browser/metrics/time_ticks_experiment_win.cc base::CPU cpu; base 48 chrome/browser/metrics/time_ticks_experiment_win.cc base::win::OSInfo* info = base::win::OSInfo::GetInstance(); base 50 chrome/browser/metrics/time_ticks_experiment_win.cc base::win::VERSION_WIN_LAST); base 90 chrome/browser/metrics/time_ticks_experiment_win.cc info->version(), base::win::VERSION_WIN_LAST); base 96 chrome/browser/metrics/time_ticks_experiment_win.cc base::win::VERSION_WIN_LAST); base 108 chrome/browser/metrics/time_ticks_experiment_win.cc info->version(), base::win::VERSION_WIN_LAST); base 16 chrome/browser/metrics/tracking_synchronizer.cc using base::TimeTicks; base 48 chrome/browser/metrics/tracking_synchronizer.cc const base::WeakPtr<TrackingSynchronizerObserver>& callback_object, base 93 chrome/browser/metrics/tracking_synchronizer.cc const base::WeakPtr<TrackingSynchronizerObserver>& callback_object) { base 157 chrome/browser/metrics/tracking_synchronizer.cc base::WeakPtr<TrackingSynchronizerObserver> callback_object_; base 172 chrome/browser/metrics/tracking_synchronizer.cc static base::LazyInstance<RequestContextMap>::Leaky outstanding_requests_; base 176 chrome/browser/metrics/tracking_synchronizer.cc base::LazyInstance base 201 chrome/browser/metrics/tracking_synchronizer.cc const base::WeakPtr<TrackingSynchronizerObserver>& callback_object) { base 216 chrome/browser/metrics/tracking_synchronizer.cc base::Bind(&RequestContext::Unregister, sequence_number), base 217 chrome/browser/metrics/tracking_synchronizer.cc base::TimeDelta::FromMinutes(1)); base 243 chrome/browser/metrics/tracking_synchronizer.cc const base::WeakPtr<TrackingSynchronizerObserver>& callback_object) { base 39 chrome/browser/metrics/tracking_synchronizer.h public base::RefCountedThreadSafe<TrackingSynchronizer> { base 52 chrome/browser/metrics/tracking_synchronizer.h const base::WeakPtr<TrackingSynchronizerObserver>& callback_object); base 65 chrome/browser/metrics/tracking_synchronizer.h friend class base::RefCountedThreadSafe<TrackingSynchronizer>; base 85 chrome/browser/metrics/tracking_synchronizer.h const base::WeakPtr<TrackingSynchronizerObserver>& callback_object); base 54 chrome/browser/metrics/variations/variations_http_header_provider.cc base::AutoLock scoped_lock(lock_); base 70 chrome/browser/metrics/variations/variations_http_header_provider.cc base::SplitString(variation_ids, ',', &entries); base 83 chrome/browser/metrics/variations/variations_http_header_provider.cc if (!base::StringToInt(entry, &variation_id)) { base 111 chrome/browser/metrics/variations/variations_http_header_provider.cc base::AutoLock scoped_lock(lock_); base 117 chrome/browser/metrics/variations/variations_http_header_provider.cc base::AutoLock scoped_lock(lock_); base 123 chrome/browser/metrics/variations/variations_http_header_provider.cc DCHECK(base::MessageLoop::current()); base 124 chrome/browser/metrics/variations/variations_http_header_provider.cc base::FieldTrialList::AddObserver(this); base 126 chrome/browser/metrics/variations/variations_http_header_provider.cc base::TimeTicks before_time = base::TimeTicks::Now(); base 128 chrome/browser/metrics/variations/variations_http_header_provider.cc base::FieldTrial::ActiveGroups initial_groups; base 129 chrome/browser/metrics/variations/variations_http_header_provider.cc base::FieldTrialList::GetActiveFieldTrialGroups(&initial_groups); base 130 chrome/browser/metrics/variations/variations_http_header_provider.cc for (base::FieldTrial::ActiveGroups::const_iterator it = base 143 chrome/browser/metrics/variations/variations_http_header_provider.cc (base::TimeTicks::Now() - before_time).InMicroseconds(), base 145 chrome/browser/metrics/variations/variations_http_header_provider.cc base::TimeDelta::FromSeconds(1).InMicroseconds(), base 192 chrome/browser/metrics/variations/variations_http_header_provider.cc base::Base64Encode(serialized, &hashed); base 36 chrome/browser/metrics/variations/variations_http_header_provider.h class VariationsHttpHeaderProvider : base::FieldTrialList::Observer { base 92 chrome/browser/metrics/variations/variations_http_header_provider.h base::Lock lock_; base 25 chrome/browser/metrics/variations/variations_http_header_provider_unittest.cc if (!base::Base64Decode(variations, &serialized_proto)) base 94 chrome/browser/metrics/variations/variations_http_header_provider_unittest.cc base::MessageLoop loop; base 116 chrome/browser/metrics/variations/variations_http_header_provider_unittest.cc base::MessageLoop loop; base 37 chrome/browser/metrics/variations/variations_registry_syncer_win.cc base::TimeDelta::FromSeconds(kRegistrySyncDelaySeconds), base 44 chrome/browser/metrics/variations/variations_registry_syncer_win.cc base::FilePath chrome_exe; base 45 chrome/browser/metrics/variations/variations_registry_syncer_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 53 chrome/browser/metrics/variations/variations_registry_syncer_win.cc base::string16 registry_labels; base 63 chrome/browser/metrics/variations/variations_registry_syncer_win.cc const base::string16 other_labels = base 67 chrome/browser/metrics/variations/variations_registry_syncer_win.cc base::FieldTrial::ActiveGroups active_groups; base 68 chrome/browser/metrics/variations/variations_registry_syncer_win.cc base::FieldTrialList::GetActiveFieldTrialGroups(&active_groups); base 69 chrome/browser/metrics/variations/variations_registry_syncer_win.cc const base::string16 variation_labels = base 74 chrome/browser/metrics/variations/variations_registry_syncer_win.cc const base::string16 combined_labels = base 33 chrome/browser/metrics/variations/variations_registry_syncer_win.h base::OneShotTimer<VariationsRegistrySyncer> timer_; base 10 chrome/browser/metrics/variations/variations_request_scheduler.cc const base::Closure& task) : task_(task) { base 20 chrome/browser/metrics/variations/variations_request_scheduler.cc timer_.Start(FROM_HERE, base::TimeDelta::FromHours(kFetchPeriodHours), task_); base 35 chrome/browser/metrics/variations/variations_request_scheduler.cc base::TimeDelta::FromMinutes(kFetchShortlyDelayMinutes), base 43 chrome/browser/metrics/variations/variations_request_scheduler.cc base::Closure VariationsRequestScheduler::task() const { base 50 chrome/browser/metrics/variations/variations_request_scheduler.cc const base::Closure& task, base 37 chrome/browser/metrics/variations/variations_request_scheduler.h static VariationsRequestScheduler* Create(const base::Closure& task, base 42 chrome/browser/metrics/variations/variations_request_scheduler.h explicit VariationsRequestScheduler(const base::Closure& task); base 45 chrome/browser/metrics/variations/variations_request_scheduler.h base::Closure task() const; base 52 chrome/browser/metrics/variations/variations_request_scheduler.h base::Closure task_; base 57 chrome/browser/metrics/variations/variations_request_scheduler.h base::RepeatingTimer<VariationsRequestScheduler> timer_; base 60 chrome/browser/metrics/variations/variations_request_scheduler.h base::OneShotTimer<VariationsRequestScheduler> one_shot_timer_; base 23 chrome/browser/metrics/variations/variations_request_scheduler_mobile.cc const base::Closure& task, base 36 chrome/browser/metrics/variations/variations_request_scheduler_mobile.cc const base::Time last_fetch_time = base::Time::FromInternalValue( base 38 chrome/browser/metrics/variations/variations_request_scheduler_mobile.cc if (base::Time::Now() > base 39 chrome/browser/metrics/variations/variations_request_scheduler_mobile.cc last_fetch_time + base::TimeDelta::FromHours(kSeedFetchPeriodHours)) { base 40 chrome/browser/metrics/variations/variations_request_scheduler_mobile.cc last_request_time_ = base::Time::Now(); base 52 chrome/browser/metrics/variations/variations_request_scheduler_mobile.cc if (base::Time::Now() < base 53 chrome/browser/metrics/variations/variations_request_scheduler_mobile.cc last_request_time_ + base::TimeDelta::FromHours(kSeedFetchPeriodHours)) { base 62 chrome/browser/metrics/variations/variations_request_scheduler_mobile.cc base::TimeDelta::FromSeconds(kScheduleFetchDelaySeconds), base 69 chrome/browser/metrics/variations/variations_request_scheduler_mobile.cc const base::Closure& task, base 21 chrome/browser/metrics/variations/variations_request_scheduler_mobile.h explicit VariationsRequestSchedulerMobile(const base::Closure& task, base 42 chrome/browser/metrics/variations/variations_request_scheduler_mobile.h base::OneShotTimer<VariationsRequestSchedulerMobile> schedule_fetch_timer_; base 45 chrome/browser/metrics/variations/variations_request_scheduler_mobile.h base::Time last_request_time_; base 29 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc base::Time::Now().ToInternalValue()); base 31 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc const base::Closure task = base::Bind(&Increment, &executed); base 41 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc base::Time old = base::Time::Now() - base::TimeDelta::FromHours(24); base 45 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc const base::Closure task = base::Bind(&Increment, &executed); base 53 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc base::MessageLoopForUI message_loop_; base 59 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc base::Time::Now().ToInternalValue()); base 61 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc const base::Closure task = base::Bind(&Increment, &executed); base 80 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc base::MessageLoopForUI message_loop_; base 84 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc base::Time old = base::Time::Now() - base::TimeDelta::FromHours(24); base 88 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc const base::Closure task = base::Bind(&Increment, &executed); base 107 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc base::MessageLoopForUI message_loop_; base 111 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc base::Time old = base::Time::Now() - base::TimeDelta::FromHours(24); base 115 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc const base::Closure task = base::Bind(&Increment, &executed); base 131 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc const base::Time last_fetch_time = base::Time::FromInternalValue( base 135 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc (last_fetch_time - base::TimeDelta::FromHours(24)).ToInternalValue()); base 136 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc scheduler.last_request_time_ -= base::TimeDelta::FromHours(24); base 21 chrome/browser/metrics/variations/variations_request_scheduler_unittest.cc base::MessageLoopForUI message_loop_; base 23 chrome/browser/metrics/variations/variations_request_scheduler_unittest.cc const base::Closure task = base::Bind(&DoNothing); base 87 chrome/browser/metrics/variations/variations_seed_store.cc base::Time TruncateToUTCDay(const base::Time& time) { base 88 chrome/browser/metrics/variations/variations_seed_store.cc base::Time::Exploded exploded; base 95 chrome/browser/metrics/variations/variations_seed_store.cc return base::Time::FromUTCExploded(exploded); base 99 chrome/browser/metrics/variations/variations_seed_store.cc const base::Time& server_seed_date, base 100 chrome/browser/metrics/variations/variations_seed_store.cc const base::Time& stored_seed_date) { base 132 chrome/browser/metrics/variations/variations_seed_store.cc if (!base::Base64Decode(base64_seed_data, &seed_data) || base 165 chrome/browser/metrics/variations/variations_seed_store.cc const base::Time& date_fetched) { base 192 chrome/browser/metrics/variations/variations_seed_store.cc base::Base64Encode(seed_data, &base64_seed_data); base 208 chrome/browser/metrics/variations/variations_seed_store.cc const base::Time& server_date_fetched) { base 214 chrome/browser/metrics/variations/variations_seed_store.cc const base::Time stored_date = base 215 chrome/browser/metrics/variations/variations_seed_store.cc base::Time::FromInternalValue(stored_date_value); base 232 chrome/browser/metrics/variations/variations_seed_store.cc base::Time().ToInternalValue()); base 254 chrome/browser/metrics/variations/variations_seed_store.cc if (!base::Base64Decode(base64_seed_signature, &signature)) base 39 chrome/browser/metrics/variations/variations_seed_store.h const base::Time& date_fetched); base 43 chrome/browser/metrics/variations/variations_seed_store.h void UpdateSeedDateAndLogDayChange(const base::Time& server_date_fetched); base 65 chrome/browser/metrics/variations/variations_seed_store_unittest.cc std::string sha1 = base::SHA1HashString(serialized_seed); base 66 chrome/browser/metrics/variations/variations_seed_store_unittest.cc *hash = base::HexEncode(sha1.data(), sha1.size()); base 69 chrome/browser/metrics/variations/variations_seed_store_unittest.cc base::Base64Encode(serialized_seed, &base64_serialized_seed); base 125 chrome/browser/metrics/variations/variations_seed_store_unittest.cc const base::Time now = base::Time::Now(); base 140 chrome/browser/metrics/variations/variations_seed_store_unittest.cc ASSERT_TRUE(base::Base64Decode(loaded_serialized_seed, base 165 chrome/browser/metrics/variations/variations_seed_store_unittest.cc EXPECT_TRUE(base::Base64Decode(base64_seed_data, &seed_data)); base 209 chrome/browser/metrics/variations/variations_service.cc const base::Time seed_date = base::Time::FromInternalValue(date_value); base 210 chrome/browser/metrics/variations/variations_service.cc const base::Time build_time = base::GetBuildTime(); base 213 chrome/browser/metrics/variations/variations_service.cc base::Time reference_date = seed_date; base 221 chrome/browser/metrics/variations/variations_service.cc const base::Version current_version(current_version_info.Version()); base 234 chrome/browser/metrics/variations/variations_service.cc const base::Time now = base::Time::Now(); base 235 chrome/browser/metrics/variations/variations_service.cc const base::TimeDelta delta = base 236 chrome/browser/metrics/variations/variations_service.cc now - base::Time::FromInternalValue(last_fetch_time_internal); base 239 chrome/browser/metrics/variations/variations_service.cc 1, base::TimeDelta::FromDays(30).InMinutes(), 50); base 261 chrome/browser/metrics/variations/variations_service.cc base::Bind(&VariationsService::FetchVariationsSeed, base 262 chrome/browser/metrics/variations/variations_service.cc base::Unretained(this)), local_state_)); base 364 chrome/browser/metrics/variations/variations_service.cc const base::TimeTicks now = base::TimeTicks::Now(); base 365 chrome/browser/metrics/variations/variations_service.cc base::TimeDelta time_since_last_fetch; base 371 chrome/browser/metrics/variations/variations_service.cc base::TimeDelta::FromDays(7).InMinutes(), 50); base 377 chrome/browser/metrics/variations/variations_service.cc const base::Time& date_fetched) { base 424 chrome/browser/metrics/variations/variations_service.cc const base::TimeDelta latency = base 425 chrome/browser/metrics/variations/variations_service.cc base::TimeTicks::Now() - last_request_started_time_; base 427 chrome/browser/metrics/variations/variations_service.cc base::Time response_date; base 436 chrome/browser/metrics/variations/variations_service.cc base::TimeDelta::FromMilliseconds(kServerTimeResolutionMs), base 484 chrome/browser/metrics/variations/variations_service.cc base::Time::Now().ToInternalValue()); base 103 chrome/browser/metrics/variations/variations_service.h const base::Time& date_fetched); base 171 chrome/browser/metrics/variations/variations_service.h base::TimeTicks last_request_started_time_; base 73 chrome/browser/metrics/variations/variations_service_unittest.cc const base::Time& date_fetched) OVERRIDE { base 225 chrome/browser/metrics/variations/variations_service_unittest.cc base::MessageLoopForUI message_loop; base 246 chrome/browser/metrics/variations/variations_service_unittest.cc base::MessageLoopForUI message_loop; base 263 chrome/browser/metrics/variations/variations_service_unittest.cc base::MessageLoop message_loop; base 293 chrome/browser/metrics/variations/variations_service_unittest.cc base::MessageLoop message_loop; base 314 chrome/browser/metrics/variations/variations_service_unittest.cc base::MessageLoop message_loop; base 22 chrome/browser/metro_utils/metro_chrome_win.cc base::FilePath chrome_exe; base 23 chrome/browser/metro_utils/metro_chrome_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 28 chrome/browser/metro_utils/metro_chrome_win.cc base::string16 app_id = ShellUtil::GetBrowserModelId( base 36 chrome/browser/metro_utils/metro_chrome_win.cc base::win::ScopedComPtr<IApplicationActivationManager> activation_manager; base 66 chrome/browser/metro_utils/metro_chrome_win.cc if (base::win::IsProcessImmersive(::GetCurrentProcess())) base 142 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc void ChromeMetroViewerProcessHost::OnOpenURL(const base::string16& url) { base 147 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc const base::string16& search_string) { base 158 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc base::StringPrintf("%dx%d*%f", width, height, gfx::GetModernUIScale()))); base 20 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h virtual void OnOpenURL(const base::string16& url) OVERRIDE; base 22 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h const base::string16& search_string) OVERRIDE; base 25 chrome/browser/mouseleave_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("mouseleave.html"))); base 44 chrome/browser/mouseleave_browsertest.cc base::string16 load_expected_title(base::ASCIIToUTF16("onload")); base 56 chrome/browser/mouseleave_browsertest.cc base::string16 entered_expected_title(base::ASCIIToUTF16("entered")); base 66 chrome/browser/mouseleave_browsertest.cc base::string16 left_expected_title(base::ASCIIToUTF16("left")); base 52 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc const base::FilePath& profile_data_directory) { base 96 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc const base::FilePath& profile_data_directory) { base 99 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc base::Bind(&OnKeepaliveOnUIThread, base 117 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc base::Bind(&NaClInfoBarDelegate::Create, render_process_id, base 125 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc bool NaClBrowserDelegateImpl::GetCacheDirectory(base::FilePath* cache_dir) { base 126 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc base::FilePath user_data_dir; base 133 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc bool NaClBrowserDelegateImpl::GetPluginDirectory(base::FilePath* plugin_dir) { base 137 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc bool NaClBrowserDelegateImpl::GetPnaclDirectory(base::FilePath* pnacl_dir) { base 141 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc bool NaClBrowserDelegateImpl::GetUserDirectory(base::FilePath* user_dir) { base 163 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc base::SplitString(debug_patterns, ',', &patterns); base 206 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc const GURL& file_url, bool use_blocking_api, base::FilePath* file_path) { base 220 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc base::TrimString(path, "/", &path); // Remove first slash base 256 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc const base::FilePath resource_file_path = resource.GetFilePath(); base 266 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc return base::Bind(&OnKeepalive); base 20 chrome/browser/nacl_host/nacl_browser_delegate_impl.h virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE; base 21 chrome/browser/nacl_host/nacl_browser_delegate_impl.h virtual bool GetPluginDirectory(base::FilePath* plugin_dir) OVERRIDE; base 22 chrome/browser/nacl_host/nacl_browser_delegate_impl.h virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE; base 23 chrome/browser/nacl_host/nacl_browser_delegate_impl.h virtual bool GetUserDirectory(base::FilePath* user_dir) OVERRIDE; base 29 chrome/browser/nacl_host/nacl_browser_delegate_impl.h base::FilePath* file_path) OVERRIDE; base 40 chrome/browser/nacl_host/nacl_infobar_delegate.cc base::string16 NaClInfoBarDelegate::GetMessageText() const { base 48 chrome/browser/nacl_host/nacl_infobar_delegate.cc base::string16 NaClInfoBarDelegate::GetLinkText() const { base 20 chrome/browser/nacl_host/nacl_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 22 chrome/browser/nacl_host/nacl_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 23 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc void StartTestScript(base::ProcessHandle* test_process, base 34 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc void NaClGdbDebugStubTest::StartTestScript(base::ProcessHandle* test_process, base 38 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc CommandLine cmd(base::FilePath(FILE_PATH_LITERAL("python"))); base 39 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc base::FilePath script; base 40 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc PathService::Get(base::DIR_SOURCE_ROOT, &script); base 44 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc cmd.AppendArg(base::IntToString(debug_stub_port)); base 47 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc base::LaunchProcess(cmd, base::LaunchOptions(), test_process); base 52 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc base::ProcessHandle test_script; base 53 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 55 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc base::Bind(&NaClGdbDebugStubTest::StartTestScript, base 56 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc base::Unretained(this), &test_script, test_name)); base 63 chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc base::WaitForExitCode(test_script, &exit_code); base 21 chrome/browser/nacl_host/test/mock_nacl_gdb.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 53 chrome/browser/nacl_host/test/mock_nacl_gdb.cc base::WriteFile(base::FilePath::FromUTF8Unsafe(nacl_gdb_script), base 61 chrome/browser/nacl_host/test/mock_nacl_gdb.cc base::WriteFile(base::FilePath::FromUTF8Unsafe(mock_nacl_gdb_file), base 14 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc static const base::FilePath::CharType kMockNaClGdb[] = base 29 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc base::FilePath mock_nacl_gdb; base 30 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc EXPECT_TRUE(PathService::Get(base::DIR_EXE, &mock_nacl_gdb)); base 33 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc EXPECT_TRUE(base::CreateTemporaryFile(&script_)); base 38 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc base::FilePath mock_nacl_gdb_file; base 39 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 48 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc if (base::win::OSInfo::GetInstance()->wow64_status() == base 49 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc base::win::OSInfo::WOW64_DISABLED) { base 53 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc EXPECT_TRUE(base::CreateTemporaryFile(&mock_nacl_gdb_file)); base 58 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc EXPECT_TRUE(base::ReadFileToString(mock_nacl_gdb_file, &content)); base 60 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc EXPECT_TRUE(base::DeleteFile(mock_nacl_gdb_file, false)); base 63 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc EXPECT_TRUE(base::ReadFileToString(script_, &content)); base 65 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc EXPECT_TRUE(base::DeleteFile(script_, false)); base 69 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc base::FilePath script_; base 29 chrome/browser/net/async_dns_field_trial.cc std::string group_name = base::FieldTrialList::FindFullName("AsyncDns"); base 42 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc base::Time now = base::Time::Now(); base 188 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc base::MessageLoopForIO loop; base 190 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc loop.PostTask(FROM_HERE, base::Bind(&DoReportIsSent)); base 195 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc base::MessageLoopForIO loop; base 197 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc loop.PostTask(FROM_HERE, base::Bind(&DoMockReportIsSent)); base 202 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc base::MessageLoopForIO loop; base 204 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc loop.PostTask(FROM_HERE, base::Bind(&DoReportIsNotSent)); base 30 chrome/browser/net/chrome_net_log.cc if (base::StringToInt(log_level_string, &command_line_log_level) && base 38 chrome/browser/net/chrome_net_log.cc base::FilePath log_path = base 57 chrome/browser/net/chrome_net_log.cc scoped_ptr<base::Value> constants(NetInternalsUI::GetConstants()); base 129 chrome/browser/net/chrome_network_delegate.cc base::SplitString(query, '&', ¶meters); base 220 chrome/browser/net/chrome_network_delegate.cc base::Bind(&NotifyEPMRequestStatus, base 269 chrome/browser/net/chrome_network_delegate.cc base::Bind(&UpdateContentLengthPrefs, base 277 chrome/browser/net/chrome_network_delegate.cc const base::TimeDelta& freshness_lifetime) { base 300 chrome/browser/net/chrome_network_delegate.cc base::TimeDelta::FromHours(1).InSeconds(), base 301 chrome/browser/net/chrome_network_delegate.cc base::TimeDelta::FromDays(30).InSeconds(), base 321 chrome/browser/net/chrome_network_delegate.cc const base::Time& fetch_time, int64 size, base 341 chrome/browser/net/chrome_network_delegate.cc const base::TimeTicks& request_start) { base 343 chrome/browser/net/chrome_network_delegate.cc base::TimeDelta request_lag = request_start - base 424 chrome/browser/net/chrome_network_delegate.cc base::Value* ChromeNetworkDelegate::HistoricNetworkStatsInfoToValue() { base 430 chrome/browser/net/chrome_network_delegate.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 433 chrome/browser/net/chrome_network_delegate.cc base::Int64ToString(total_received)); base 435 chrome/browser/net/chrome_network_delegate.cc base::Int64ToString(total_original)); base 439 chrome/browser/net/chrome_network_delegate.cc base::Value* ChromeNetworkDelegate::SessionNetworkStatsInfoToValue() const { base 440 chrome/browser/net/chrome_network_delegate.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 443 chrome/browser/net/chrome_network_delegate.cc base::Int64ToString(received_content_length_)); base 445 chrome/browser/net/chrome_network_delegate.cc base::Int64ToString(original_content_length_)); base 467 chrome/browser/net/chrome_network_delegate.cc base::Bind(&RecordIOThreadToRequestStartOnUIThread, base 506 chrome/browser/net/chrome_network_delegate.cc wrapped_callback = base::Bind(&ForceGoogleSafeSearchCallbackWrapper, base 508 chrome/browser/net/chrome_network_delegate.cc base::Unretained(request), base 509 chrome/browser/net/chrome_network_delegate.cc base::Unretained(new_url)); base 603 chrome/browser/net/chrome_network_delegate.cc base::Bind(&RecordPrecacheStatsOnUIThread, request->url(), base 604 chrome/browser/net/chrome_network_delegate.cc base::Time::Now(), received_content_length, base 622 chrome/browser/net/chrome_network_delegate.cc base::TimeDelta freshness_lifetime = base 668 chrome/browser/net/chrome_network_delegate.cc const base::string16& error) { base 713 chrome/browser/net/chrome_network_delegate.cc base::Bind(&TabSpecificContentSettings::CookiesRead, base 738 chrome/browser/net/chrome_network_delegate.cc base::Bind(&TabSpecificContentSettings::CookieChanged, base 748 chrome/browser/net/chrome_network_delegate.cc const base::FilePath& path) const { base 758 chrome/browser/net/chrome_network_delegate.cc if (!base::SysInfo::IsRunningOnChromeOS() || base 781 chrome/browser/net/chrome_network_delegate.cc const base::FilePath downloads = profile_path_.AppendASCII("Downloads"); base 787 chrome/browser/net/chrome_network_delegate.cc base::FilePath external_storage_path; base 788 chrome/browser/net/chrome_network_delegate.cc PathService::Get(base::DIR_ANDROID_EXTERNAL_STORAGE, &external_storage_path); base 800 chrome/browser/net/chrome_network_delegate.cc const base::FilePath white_listed_path(kLocalAccessWhiteList[i]); base 26 chrome/browser/net/chrome_network_delegate.h namespace base { base 81 chrome/browser/net/chrome_network_delegate.h void set_profile_path(const base::FilePath& profile_path) { base 132 chrome/browser/net/chrome_network_delegate.h static base::Value* HistoricNetworkStatsInfoToValue(); base 136 chrome/browser/net/chrome_network_delegate.h base::Value* SessionNetworkStatsInfoToValue() const; base 164 chrome/browser/net/chrome_network_delegate.h const base::string16& error) OVERRIDE; base 176 chrome/browser/net/chrome_network_delegate.h const base::FilePath& path) const OVERRIDE; base 193 chrome/browser/net/chrome_network_delegate.h base::FilePath profile_path_; base 82 chrome/browser/net/chrome_network_delegate_unittest.cc base::MessageLoopForIO message_loop_; base 134 chrome/browser/net/chrome_network_delegate_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 195 chrome/browser/net/chrome_url_request_context.cc scoped_refptr<base::SingleThreadTaskRunner> base 32 chrome/browser/net/chrome_url_request_context.h base::WeakPtr<ChromeURLRequestContext> GetWeakPtr() { base 40 chrome/browser/net/chrome_url_request_context.h base::WeakPtrFactory<ChromeURLRequestContext> weak_factory_; base 69 chrome/browser/net/chrome_url_request_context.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 120 chrome/browser/net/chrome_url_request_context.h base::WeakPtr<ChromeURLRequestContext> url_request_context_; base 46 chrome/browser/net/client_hints.cc base::Bind(&FetchScreenInfoOnUIThread), base 47 chrome/browser/net/client_hints.cc base::Bind( base 58 chrome/browser/net/client_hints.cc std::string device_pixel_ratio = base::StringPrintf("%.2f", base 39 chrome/browser/net/client_hints.h base::WeakPtrFactory<ClientHints> weak_ptr_factory_; base 35 chrome/browser/net/client_hints_unittest.cc base::ScopedLocale locale("fr_FR.UTF-8"); base 14 chrome/browser/net/connect_interceptor.cc : timed_cache_(base::TimeDelta::FromSeconds( base 15 chrome/browser/net/connect_interceptor_unittest.cc ConnectInterceptor::TimedCache cache(base::TimeDelta::FromHours(1)); base 60 chrome/browser/net/connect_interceptor_unittest.cc ConnectInterceptor::TimedCache cache(base::TimeDelta::FromMilliseconds(1)); base 68 chrome/browser/net/connect_interceptor_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(30)); base 69 chrome/browser/net/connection_tester.cc base::Callback<void(int)> callback) { base 222 chrome/browser/net/connection_tester.cc base::ThreadTaskRunnerHandle::Get().get(), NULL)); base 238 chrome/browser/net/connection_tester.cc base::Callback<void(int)> callback, base 261 chrome/browser/net/connection_tester.cc base::Callback<void(int)> callback) { base 268 chrome/browser/net/connection_tester.cc base::Callback<int(void)> task = base::Bind( base 270 chrome/browser/net/connection_tester.cc base::Callback<void(int)> reply = base::Bind( base 273 chrome/browser/net/connection_tester.cc base::Owned(ff_settings), callback); base 285 chrome/browser/net/connection_tester.cc base::WeakPtrFactory<ExperimentURLRequestContext> weak_factory_; base 337 chrome/browser/net/connection_tester.cc base::WeakPtrFactory<TestRunner> weak_factory_; base 387 chrome/browser/net/connection_tester.cc base::MessageLoop::current()->PostTask( base 389 chrome/browser/net/connection_tester.cc base::Bind(&TestRunner::OnExperimentCompletedWithResult, base 421 chrome/browser/net/connection_tester.cc base::Callback<void(int)> config_service_callback = base 422 chrome/browser/net/connection_tester.cc base::Bind( base 424 chrome/browser/net/connection_tester.cc experiment, base::Owned(proxy_config_service)); base 459 chrome/browser/net/connection_tester.cc base::string16 ConnectionTester::ProxySettingsExperimentDescription( base 464 chrome/browser/net/connection_tester.cc return base::ASCIIToUTF16("Don't use any proxy"); base 466 chrome/browser/net/connection_tester.cc return base::ASCIIToUTF16("Use system proxy settings"); base 468 chrome/browser/net/connection_tester.cc return base::ASCIIToUTF16("Use Firefox's proxy settings"); base 470 chrome/browser/net/connection_tester.cc return base::ASCIIToUTF16("Auto-detect proxy settings"); base 473 chrome/browser/net/connection_tester.cc return base::string16(); base 478 chrome/browser/net/connection_tester.cc base::string16 ConnectionTester::HostResolverExperimentDescription( base 483 chrome/browser/net/connection_tester.cc return base::string16(); base 485 chrome/browser/net/connection_tester.cc return base::ASCIIToUTF16("Disable IPv6 host resolving"); base 487 chrome/browser/net/connection_tester.cc return base::ASCIIToUTF16("Probe for IPv6 host resolving"); base 490 chrome/browser/net/connection_tester.cc return base::string16(); base 143 chrome/browser/net/connection_tester.h static base::string16 ProxySettingsExperimentDescription( base 145 chrome/browser/net/connection_tester.h static base::string16 HostResolverExperimentDescription( base 59 chrome/browser/net/connection_tester_unittest.cc base::MessageLoop::current()->Quit(); base 96 chrome/browser/net/connection_tester_unittest.cc base::FilePath(FILE_PATH_LITERAL("chrome"))), base 107 chrome/browser/net/connection_tester_unittest.cc base::MessageLoopForIO message_loop_; base 167 chrome/browser/net/connection_tester_unittest.cc base::MessageLoop::current()->Run(); base 213 chrome/browser/net/connection_tester_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 214 chrome/browser/net/connection_tester_unittest.cc base::MessageLoop::QuitClosure()); base 215 chrome/browser/net/connection_tester_unittest.cc base::MessageLoop::current()->Run(); base 35 chrome/browser/net/cookie_store_util.cc base::Bind(&GetProfileOnUI, g_browser_process->profile_manager(), base 48 chrome/browser/net/cookie_store_util.cc base::Bind(&ChromeCookieMonsterDelegate::OnCookieChangedAsyncHelper, base 76 chrome/browser/net/cookie_store_util.cc const base::Callback<Profile*(void)> profile_getter_; base 131 chrome/browser/net/cookie_store_util.cc base::LazyInstance<CookieOSCryptoDelegate> g_cookie_crypto_delegate = base 27 chrome/browser/net/crl_set_fetcher.cc bool CRLSetFetcher::GetCRLSetFilePath(base::FilePath* path) const { base 44 chrome/browser/net/crl_set_fetcher.cc base::Bind(&CRLSetFetcher::DoInitialLoadFromDisk, this))) { base 52 chrome/browser/net/crl_set_fetcher.cc base::FilePath crl_set_file_path; base 66 chrome/browser/net/crl_set_fetcher.cc base::Bind( base 74 chrome/browser/net/crl_set_fetcher.cc void CRLSetFetcher::LoadFromDisk(base::FilePath path, base 79 chrome/browser/net/crl_set_fetcher.cc if (!base::ReadFileToString(path, &crl_set_bytes)) base 91 chrome/browser/net/crl_set_fetcher.cc base::Bind( base 130 chrome/browser/net/crl_set_fetcher.cc component.version = Version(base::UintToString(sequence_of_loaded_crl)); base 148 chrome/browser/net/crl_set_fetcher.cc bool CRLSetFetcher::Install(const base::DictionaryValue& manifest, base 149 chrome/browser/net/crl_set_fetcher.cc const base::FilePath& unpack_path) { base 150 chrome/browser/net/crl_set_fetcher.cc base::FilePath crl_set_file_path = base 152 chrome/browser/net/crl_set_fetcher.cc base::FilePath save_to; base 157 chrome/browser/net/crl_set_fetcher.cc if (!base::ReadFileToString(crl_set_file_path, &crl_set_bytes)) { base 173 chrome/browser/net/crl_set_fetcher.cc int size = base::checked_cast<int>(crl_set_bytes.size()); base 174 chrome/browser/net/crl_set_fetcher.cc if (base::WriteFile(save_to, crl_set_bytes.data(), size) != size) { base 189 chrome/browser/net/crl_set_fetcher.cc int size = base::checked_cast<int>(new_crl_set_bytes.size()); base 190 chrome/browser/net/crl_set_fetcher.cc if (base::WriteFile(save_to, new_crl_set_bytes.data(), size) != size) { base 201 chrome/browser/net/crl_set_fetcher.cc base::Bind( base 210 chrome/browser/net/crl_set_fetcher.cc const std::string& file, base::FilePath* installed_file) { base 14 chrome/browser/net/crl_set_fetcher.h namespace base { base 24 chrome/browser/net/crl_set_fetcher.h public base::RefCountedThreadSafe<CRLSetFetcher> { base 32 chrome/browser/net/crl_set_fetcher.h virtual bool Install(const base::DictionaryValue& manifest, base 33 chrome/browser/net/crl_set_fetcher.h const base::FilePath& unpack_path) OVERRIDE; base 35 chrome/browser/net/crl_set_fetcher.h base::FilePath* installed_file) OVERRIDE; base 38 chrome/browser/net/crl_set_fetcher.h friend class base::RefCountedThreadSafe<CRLSetFetcher>; base 44 chrome/browser/net/crl_set_fetcher.h bool GetCRLSetFilePath(base::FilePath* path) const; base 53 chrome/browser/net/crl_set_fetcher.h void LoadFromDisk(base::FilePath load_from, base 18 chrome/browser/net/disk_cache_dir_policy_handler.cc : TypeCheckingPolicyHandler(key::kDiskCacheDir, base::Value::TYPE_STRING) {} base 24 chrome/browser/net/disk_cache_dir_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 25 chrome/browser/net/disk_cache_dir_policy_handler.cc base::FilePath::StringType string_value; base 27 chrome/browser/net/disk_cache_dir_policy_handler.cc base::FilePath::StringType expanded_value = base 30 chrome/browser/net/disk_cache_dir_policy_handler.cc new base::StringValue(expanded_value)); base 34 chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc base::Value::CreateBooleanValue(false), base 46 chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc base::Value::CreateStringValue(in), base 50 chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc const base::Value* value; base 41 chrome/browser/net/dns_probe_browsertest.cc using base::Bind; base 42 chrome/browser/net/dns_probe_browsertest.cc using base::Callback; base 43 chrome/browser/net/dns_probe_browsertest.cc using base::Closure; base 44 chrome/browser/net/dns_probe_browsertest.cc using base::ConstRef; base 45 chrome/browser/net/dns_probe_browsertest.cc using base::FilePath; base 46 chrome/browser/net/dns_probe_browsertest.cc using base::MessageLoop; base 47 chrome/browser/net/dns_probe_browsertest.cc using base::Unretained; base 70 chrome/browser/net/dns_probe_browsertest.cc void RunClosureOnUIThread(const base::Closure& closure) { base 123 chrome/browser/net/dns_probe_browsertest.cc typedef base::Callback<void(DelayableRequest* request)> DestructionCallback; base 181 chrome/browser/net/dns_probe_browsertest.cc const base::FilePath& file_path, base 230 chrome/browser/net/dns_probe_browsertest.cc base::Bind(&BreakableCorrectionProtocolHandler::OnRequestDestroyed, base 231 chrome/browser/net/dns_probe_browsertest.cc base::Unretained(this))) { base 278 chrome/browser/net/dns_probe_browsertest.cc void SetRequestDestructionCallback(const base::Closure& callback) { base 310 chrome/browser/net/dns_probe_browsertest.cc base::Closure delayed_request_destruction_callback_; base 324 chrome/browser/net/dns_probe_browsertest.cc void SetRequestDestructionCallback(const base::Closure& callback); base 410 chrome/browser/net/dns_probe_browsertest.cc const base::Closure& callback) { base 560 chrome/browser/net/dns_probe_browsertest.cc base::RunLoop run_loop; base 565 chrome/browser/net/dns_probe_browsertest.cc base::Bind(&RunClosureOnUIThread, base 20 chrome/browser/net/dns_probe_runner.cc using base::TimeDelta; base 90 chrome/browser/net/dns_probe_runner.cc void DnsProbeRunner::RunProbe(const base::Closure& callback) { base 105 chrome/browser/net/dns_probe_runner.cc base::Bind(&DnsProbeRunner::CallCallback, base 113 chrome/browser/net/dns_probe_runner.cc base::Bind(&DnsProbeRunner::OnTransactionComplete, base 138 chrome/browser/net/dns_probe_runner.cc base::Bind(&DnsProbeRunner::CallCallback, base 147 chrome/browser/net/dns_probe_runner.cc const base::Closure callback = callback_; base 51 chrome/browser/net/dns_probe_runner.h void RunProbe(const base::Closure& callback); base 66 chrome/browser/net/dns_probe_runner.h base::WeakPtrFactory<DnsProbeRunner> weak_factory_; base 72 chrome/browser/net/dns_probe_runner.h base::Closure callback_; base 15 chrome/browser/net/dns_probe_runner_unittest.cc using base::MessageLoopForIO; base 16 chrome/browser/net/dns_probe_runner_unittest.cc using base::RunLoop; base 29 chrome/browser/net/dns_probe_runner_unittest.cc : callback_(base::Bind(&TestDnsProbeRunnerCallback::OnCalled, base 30 chrome/browser/net/dns_probe_runner_unittest.cc base::Unretained(this))), base 33 chrome/browser/net/dns_probe_runner_unittest.cc const base::Closure& callback() const { return callback_; } base 42 chrome/browser/net/dns_probe_runner_unittest.cc base::Closure callback_; base 16 chrome/browser/net/dns_probe_service.cc using base::FieldTrialList; base 17 chrome/browser/net/dns_probe_service.cc using base::StringToInt; base 79 chrome/browser/net/dns_probe_service.cc void HistogramProbe(DnsProbeStatus status, base::TimeDelta elapsed) { base 170 chrome/browser/net/dns_probe_service.cc const base::Closure callback = base::Bind(&DnsProbeService::OnProbeComplete, base 171 chrome/browser/net/dns_probe_service.cc base::Unretained(this)); base 174 chrome/browser/net/dns_probe_service.cc probe_start_time_ = base::Time::Now(); base 191 chrome/browser/net/dns_probe_service.cc HistogramProbe(cached_result_, base::Time::Now() - probe_start_time_); base 221 chrome/browser/net/dns_probe_service.cc const base::TimeDelta kMaxResultAge = base 222 chrome/browser/net/dns_probe_service.cc base::TimeDelta::FromMilliseconds(kMaxResultAgeMs); base 223 chrome/browser/net/dns_probe_service.cc return base::Time::Now() - probe_start_time_ > kMaxResultAge; base 32 chrome/browser/net/dns_probe_service.h typedef base::Callback<void(chrome_common_net::DnsProbeStatus result)> base 69 chrome/browser/net/dns_probe_service.h base::Time probe_start_time_; base 19 chrome/browser/net/dns_probe_service_unittest.cc using base::MessageLoopForIO; base 20 chrome/browser/net/dns_probe_service_unittest.cc using base::RunLoop; base 37 chrome/browser/net/dns_probe_service_unittest.cc service_.ProbeDns(base::Bind(&DnsProbeServiceTest::ProbeCallback, base 38 chrome/browser/net/dns_probe_service_unittest.cc base::Unretained(this))); base 18 chrome/browser/net/evicted_domain_cookie_counter.cc using base::Time; base 19 chrome/browser/net/evicted_domain_cookie_counter.cc using base::TimeDelta; base 47 chrome/browser/net/evicted_domain_cookie_counter.h EvictedCookie(base::Time eviction_time_in, base 48 chrome/browser/net/evicted_domain_cookie_counter.h base::Time expiry_time_in, base 54 chrome/browser/net/evicted_domain_cookie_counter.h bool is_expired(const base::Time& current_time) const { base 58 chrome/browser/net/evicted_domain_cookie_counter.h base::Time eviction_time; base 59 chrome/browser/net/evicted_domain_cookie_counter.h base::Time expiry_time; base 69 chrome/browser/net/evicted_domain_cookie_counter.h const base::Time& reinstatement_time) = 0; base 72 chrome/browser/net/evicted_domain_cookie_counter.h virtual base::Time CurrentTime() const = 0; base 114 chrome/browser/net/evicted_domain_cookie_counter.h void GarbageCollect(const base::Time& current_time); base 120 chrome/browser/net/evicted_domain_cookie_counter.h const base::Time& current_time); base 126 chrome/browser/net/evicted_domain_cookie_counter.h const base::Time& current_time); base 21 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc using base::Time; base 22 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc using base::TimeDelta; base 107 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc dest.append(base::Int64ToString(delta.InSeconds())); base 140 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc line.append(";max-age=" + base::Int64ToString(max_age)); base 328 chrome/browser/net/evicted_domain_cookie_counter_unittest.cc CreateNewCookie(google_url1, "a" + base::IntToString(i) + "=1", 3000); base 68 chrome/browser/net/firefox_proxy_settings.cc bool ParsePrefFile(const base::FilePath& pref_file, base 69 chrome/browser/net/firefox_proxy_settings.cc base::DictionaryValue* prefs) { base 73 chrome/browser/net/firefox_proxy_settings.cc if (!base::ReadFileToString(pref_file, &contents)) base 107 chrome/browser/net/firefox_proxy_settings.cc base::TrimWhitespace(value, base::TRIM_ALL, &value); base 130 chrome/browser/net/firefox_proxy_settings.cc if (base::StringToInt(value, &int_value)) { base 172 chrome/browser/net/firefox_proxy_settings.cc base::FilePath profile_path = GetFirefoxProfilePath(); base 175 chrome/browser/net/firefox_proxy_settings.cc base::FilePath pref_file = profile_path.AppendASCII(kPrefFileName); base 247 chrome/browser/net/firefox_proxy_settings.cc bool FirefoxProxySettings::GetSettingsFromFile(const base::FilePath& pref_file, base 249 chrome/browser/net/firefox_proxy_settings.cc base::DictionaryValue dictionary; base 298 chrome/browser/net/firefox_proxy_settings.cc base::StringTokenizer string_tok(proxy_bypass, ","); base 301 chrome/browser/net/firefox_proxy_settings.cc base::TrimWhitespaceASCII(token, base::TRIM_ALL, &token); base 13 chrome/browser/net/firefox_proxy_settings.h namespace base { base 83 chrome/browser/net/firefox_proxy_settings.h static bool GetSettingsFromFile(const base::FilePath& pref_file, base 20 chrome/browser/net/firefox_proxy_settings_unittest.cc static bool TestGetSettingsFromFile(const base::FilePath& pref_file, base 29 chrome/browser/net/firefox_proxy_settings_unittest.cc base::FilePath js_pref_path; base 71 chrome/browser/net/firefox_proxy_settings_unittest.cc base::FilePath js_pref_path; base 16 chrome/browser/net/ftp_browsertest.cc base::FilePath()) { base 401 chrome/browser/net/http_pipelining_compatibility_client.cc return base::StringPrintf("NetConnectivity.Pipeline.%d.%s", base 413 chrome/browser/net/http_pipelining_compatibility_client.cc base::SplitStringIntoKeyValuePairs(response, ':', ',', &kv_pairs); base 422 chrome/browser/net/http_pipelining_compatibility_client.cc if (!base::StringToInt(kv_pairs[i].second, &value)) { base 464 chrome/browser/net/http_pipelining_compatibility_client.cc const base::FieldTrial::Probability kDivisor = 100; base 465 chrome/browser/net/http_pipelining_compatibility_client.cc base::FieldTrial::Probability probability_to_run_test = 0; base 468 chrome/browser/net/http_pipelining_compatibility_client.cc base::FieldTrial* trial = base::FieldTrialList::Find(kTrialName); base 473 chrome/browser/net/http_pipelining_compatibility_client.cc trial = base::FieldTrialList::FactoryGetFieldTrial( base 475 chrome/browser/net/http_pipelining_compatibility_client.cc base::FieldTrial::SESSION_RANDOMIZED, NULL); base 521 chrome/browser/net/http_pipelining_compatibility_client.cc base::Bind(&DeleteClient, io_thread), base 537 chrome/browser/net/http_pipelining_compatibility_client.cc base::Bind(&CollectPipeliningCapabilityStatsOnIOThread, base 29 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc using base::HistogramBase; base 30 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc using base::HistogramSamples; base 88 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::FilePath(FILE_PATH_LITERAL( base 96 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::StatisticsRecorder::Initialize(); base 113 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::RunLoop().RunUntilIdle(); base 192 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc std::string name = base::StringPrintf("NetConnectivity.Pipeline.%d.%s", base 217 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::StatisticsRecorder::FindHistogram(name); base 497 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::Closure request_cb = base::Bind( base 499 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::Unretained(&client), 0, base 503 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::Closure canary_cb = base::Bind( base 505 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::Unretained(&client), internal::PipelineTestRequest::STATUS_SUCCESS); base 520 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc .WillOnce(Invoke(&canary_cb, &base::Closure::Run)); base 523 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc .WillOnce(Invoke(&request_cb, &base::Closure::Run)); base 556 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::Closure canary_cb = base::Bind( base 558 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc base::Unretained(&client), base 574 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc .WillOnce(Invoke(&canary_cb, &base::Closure::Run)); base 64 chrome/browser/net/http_server_properties_manager.cc new base::WeakPtrFactory<HttpServerPropertiesManager>(this)); base 67 chrome/browser/net/http_server_properties_manager.cc new base::OneShotTimer<HttpServerPropertiesManager>); base 71 chrome/browser/net/http_server_properties_manager.cc base::Bind(&HttpServerPropertiesManager::OnHttpServerPropertiesChanged, base 72 chrome/browser/net/http_server_properties_manager.cc base::Unretained(this))); base 83 chrome/browser/net/http_server_properties_manager.cc new base::WeakPtrFactory<HttpServerPropertiesManager>(this)); base 87 chrome/browser/net/http_server_properties_manager.cc new base::OneShotTimer<HttpServerPropertiesManager>); base 92 chrome/browser/net/http_server_properties_manager.cc base::Bind(&HttpServerPropertiesManager::UpdateCacheFromPrefsOnUI, base 114 chrome/browser/net/http_server_properties_manager.cc base::DictionaryValue* http_server_properties_dict, base 124 chrome/browser/net/http_server_properties_manager.cc base::WeakPtr<net::HttpServerProperties> base 131 chrome/browser/net/http_server_properties_manager.cc Clear(base::Closure()); base 134 chrome/browser/net/http_server_properties_manager.cc void HttpServerPropertiesManager::Clear(const base::Closure& completion) { base 285 chrome/browser/net/http_server_properties_manager.cc base::TimeDelta::FromMilliseconds(kUpdateCacheDelayMs)); base 289 chrome/browser/net/http_server_properties_manager.cc base::TimeDelta delay) { base 304 chrome/browser/net/http_server_properties_manager.cc const base::DictionaryValue& http_server_properties_dict = base 316 chrome/browser/net/http_server_properties_manager.cc const base::DictionaryValue* servers_dict = NULL; base 339 chrome/browser/net/http_server_properties_manager.cc for (base::DictionaryValue::Iterator it(*servers_dict); !it.IsAtEnd(); base 350 chrome/browser/net/http_server_properties_manager.cc const base::DictionaryValue* server_pref_dict = NULL; base 366 chrome/browser/net/http_server_properties_manager.cc const base::DictionaryValue* spdy_settings_dict = NULL; base 370 chrome/browser/net/http_server_properties_manager.cc for (base::DictionaryValue::Iterator dict_it(*spdy_settings_dict); base 374 chrome/browser/net/http_server_properties_manager.cc if (!base::StringToInt(id_str, &id)) { base 405 chrome/browser/net/http_server_properties_manager.cc const base::DictionaryValue* port_alternate_protocol_dict = NULL; base 445 chrome/browser/net/http_server_properties_manager.cc base::Bind(&HttpServerPropertiesManager:: base 447 chrome/browser/net/http_server_properties_manager.cc base::Unretained(this), base 448 chrome/browser/net/http_server_properties_manager.cc base::Owned(spdy_servers.release()), base 449 chrome/browser/net/http_server_properties_manager.cc base::Owned(spdy_settings_map.release()), base 450 chrome/browser/net/http_server_properties_manager.cc base::Owned(alternate_protocol_map.release()), base 451 chrome/browser/net/http_server_properties_manager.cc base::Owned(pipeline_capability_map.release()), base 499 chrome/browser/net/http_server_properties_manager.cc base::TimeDelta::FromMilliseconds(kUpdatePrefsDelayMs)); base 503 chrome/browser/net/http_server_properties_manager.cc base::TimeDelta delay) { base 513 chrome/browser/net/http_server_properties_manager.cc UpdatePrefsFromCacheOnIO(base::Closure()); base 517 chrome/browser/net/http_server_properties_manager.cc const base::Closure& completion) { base 520 chrome/browser/net/http_server_properties_manager.cc base::ListValue* spdy_server_list = new base::ListValue; base 554 chrome/browser/net/http_server_properties_manager.cc base::Bind(&HttpServerPropertiesManager::UpdatePrefsOnUI, base 556 chrome/browser/net/http_server_properties_manager.cc base::Owned(spdy_server_list), base 557 chrome/browser/net/http_server_properties_manager.cc base::Owned(spdy_settings_map), base 558 chrome/browser/net/http_server_properties_manager.cc base::Owned(alternate_protocol_map), base 559 chrome/browser/net/http_server_properties_manager.cc base::Owned(pipeline_capability_map), base 588 chrome/browser/net/http_server_properties_manager.cc base::ListValue* spdy_server_list, base 592 chrome/browser/net/http_server_properties_manager.cc const base::Closure& completion) { base 603 chrome/browser/net/http_server_properties_manager.cc for (base::ListValue::const_iterator list_it = spdy_server_list->begin(); base 670 chrome/browser/net/http_server_properties_manager.cc base::DictionaryValue http_server_properties_dict; base 671 chrome/browser/net/http_server_properties_manager.cc base::DictionaryValue* servers_dict = new base::DictionaryValue; base 678 chrome/browser/net/http_server_properties_manager.cc base::DictionaryValue* server_pref_dict = new base::DictionaryValue; base 685 chrome/browser/net/http_server_properties_manager.cc base::DictionaryValue* spdy_settings_dict = new base::DictionaryValue; base 691 chrome/browser/net/http_server_properties_manager.cc std::string key = base::StringPrintf("%u", id); base 699 chrome/browser/net/http_server_properties_manager.cc base::DictionaryValue* port_alternate_protocol_dict = base 700 chrome/browser/net/http_server_properties_manager.cc new base::DictionaryValue; base 73 chrome/browser/net/http_server_properties_manager.h static void SetVersion(base::DictionaryValue* http_server_properties_dict, base 78 chrome/browser/net/http_server_properties_manager.h void Clear(const base::Closure& completion); base 85 chrome/browser/net/http_server_properties_manager.h virtual base::WeakPtr<net::HttpServerProperties> GetWeakPtr() OVERRIDE; base 174 chrome/browser/net/http_server_properties_manager.h virtual void StartCacheUpdateTimerOnUI(base::TimeDelta delay); base 197 chrome/browser/net/http_server_properties_manager.h virtual void StartPrefsUpdateTimerOnIO(base::TimeDelta delay); base 206 chrome/browser/net/http_server_properties_manager.h virtual void UpdatePrefsFromCacheOnIO(const base::Closure& completion); base 211 chrome/browser/net/http_server_properties_manager.h base::ListValue* spdy_server_list, base 215 chrome/browser/net/http_server_properties_manager.h const base::Closure& completion); base 225 chrome/browser/net/http_server_properties_manager.h scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > base 228 chrome/browser/net/http_server_properties_manager.h base::WeakPtr<HttpServerPropertiesManager> ui_weak_ptr_; base 231 chrome/browser/net/http_server_properties_manager.h scoped_ptr<base::OneShotTimer<HttpServerPropertiesManager> > base 244 chrome/browser/net/http_server_properties_manager.h scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > base 248 chrome/browser/net/http_server_properties_manager.h scoped_ptr<base::OneShotTimer<HttpServerPropertiesManager> > base 43 chrome/browser/net/http_server_properties_manager_unittest.cc virtual void StartPrefsUpdateTimerOnIO(base::TimeDelta delay) OVERRIDE { base 45 chrome/browser/net/http_server_properties_manager_unittest.cc base::TimeDelta()); base 53 chrome/browser/net/http_server_properties_manager_unittest.cc virtual void StartCacheUpdateTimerOnUI(base::TimeDelta delay) OVERRIDE { base 55 chrome/browser/net/http_server_properties_manager_unittest.cc base::TimeDelta()); base 58 chrome/browser/net/http_server_properties_manager_unittest.cc void UpdatePrefsFromCacheOnIOConcrete(const base::Closure& callback) { base 63 chrome/browser/net/http_server_properties_manager_unittest.cc MOCK_METHOD1(UpdatePrefsFromCacheOnIO, void(const base::Closure&)); base 71 chrome/browser/net/http_server_properties_manager_unittest.cc void(base::ListValue* spdy_server_list, base 129 chrome/browser/net/http_server_properties_manager_unittest.cc base::MessageLoop loop_; base 147 chrome/browser/net/http_server_properties_manager_unittest.cc base::DictionaryValue* server_pref_dict = new base::DictionaryValue; base 153 chrome/browser/net/http_server_properties_manager_unittest.cc base::DictionaryValue* alternate_protocol = new base::DictionaryValue; base 163 chrome/browser/net/http_server_properties_manager_unittest.cc base::DictionaryValue* servers_dict = new base::DictionaryValue; base 168 chrome/browser/net/http_server_properties_manager_unittest.cc base::DictionaryValue* server_pref_dict1 = new base::DictionaryValue; base 174 chrome/browser/net/http_server_properties_manager_unittest.cc base::DictionaryValue* alternate_protocol1 = new base::DictionaryValue; base 188 chrome/browser/net/http_server_properties_manager_unittest.cc base::DictionaryValue* http_server_properties_dict = base 189 chrome/browser/net/http_server_properties_manager_unittest.cc new base::DictionaryValue; base 196 chrome/browser/net/http_server_properties_manager_unittest.cc base::DictionaryValue* http_server_properties_dict2 = base 447 chrome/browser/net/http_server_properties_manager_unittest.cc http_server_props_manager_->Clear(base::MessageLoop::QuitClosure()); base 525 chrome/browser/net/http_server_properties_manager_unittest.cc http_server_props_manager_->UpdatePrefsFromCacheOnIOConcrete(base::Closure()); base 61 chrome/browser/net/load_timing_browsertest.cc delta_(base::TimeDelta::FromMilliseconds(delta_ms)) { base 65 chrome/browser/net/load_timing_browsertest.cc base::TimeTicks ToTimeTicks(base::TimeTicks base_time) const { base 67 chrome/browser/net/load_timing_browsertest.cc return base::TimeTicks(); base 73 chrome/browser/net/load_timing_browsertest.cc base::TimeDelta GetDelta() const { base 84 chrome/browser/net/load_timing_browsertest.cc base::TimeDelta delta_; base 121 chrome/browser/net/load_timing_browsertest.cc const base::FilePath& path, base 127 chrome/browser/net/load_timing_browsertest.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)), base 133 chrome/browser/net/load_timing_browsertest.cc base::TimeDelta time_to_wait; base 134 chrome/browser/net/load_timing_browsertest.cc start_time_ = base::TimeTicks::Now(); base 139 chrome/browser/net/load_timing_browsertest.cc base::TimeDelta::FromMilliseconds(100); base 142 chrome/browser/net/load_timing_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 144 chrome/browser/net/load_timing_browsertest.cc base::Bind(&MockUrlRequestJobWithTiming::DelayedStart, base 156 chrome/browser/net/load_timing_browsertest.cc base::TimeTicks::Now()); base 210 chrome/browser/net/load_timing_browsertest.cc base::TimeTicks start_time_; base 212 chrome/browser/net/load_timing_browsertest.cc base::WeakPtrFactory<MockUrlRequestJobWithTiming> weak_factory_; base 222 chrome/browser/net/load_timing_browsertest.cc TestProtocolHandler(const base::FilePath& path, base 260 chrome/browser/net/load_timing_browsertest.cc const base::FilePath path_; base 290 chrome/browser/net/load_timing_browsertest.cc base::FilePath path; base 298 chrome/browser/net/load_timing_browsertest.cc base::Bind(&TestProtocolHandler::Register, base 299 chrome/browser/net/load_timing_browsertest.cc base::Unretained(protocol_handler))); base 306 chrome/browser/net/load_timing_browsertest.cc base::Bind(&TestProtocolHandler::Unregister, base 307 chrome/browser/net/load_timing_browsertest.cc base::Unretained(protocol_handler))); base 353 chrome/browser/net/load_timing_browsertest.cc std::string command(base::StringPrintf( base 379 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), navigation_deltas.dns_start.GetDelta()); base 380 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), navigation_deltas.dns_end.GetDelta()); base 381 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), navigation_deltas.connect_start.GetDelta()); base 382 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), navigation_deltas.connect_end.GetDelta()); base 383 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), navigation_deltas.send_start.GetDelta()); base 384 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), base 489 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), navigation_deltas.dns_start.GetDelta()); base 490 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), navigation_deltas.dns_end.GetDelta()); base 491 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), navigation_deltas.connect_start.GetDelta()); base 492 chrome/browser/net/load_timing_browsertest.cc EXPECT_EQ(base::TimeDelta(), navigation_deltas.connect_end.GetDelta()); base 46 chrome/browser/net/net_error_tab_helper.cc const base::Callback<void(DnsProbeStatus)>& callback, base 53 chrome/browser/net/net_error_tab_helper.cc base::Bind(callback, result)); base 59 chrome/browser/net/net_error_tab_helper.cc const base::Callback<void(DnsProbeStatus)>& callback, base 66 chrome/browser/net/net_error_tab_helper.cc probe_service->ProbeDns(base::Bind(&OnDnsProbeFinishedOnIOThread, callback)); base 97 chrome/browser/net/net_error_tab_helper.cc const base::string16& frame_unique_name, base 123 chrome/browser/net/net_error_tab_helper.cc const base::string16& frame_unique_name, base 127 chrome/browser/net/net_error_tab_helper.cc const base::string16& error_description, base 176 chrome/browser/net/net_error_tab_helper.cc base::Bind(&StartDnsProbeOnIOThread, base 177 chrome/browser/net/net_error_tab_helper.cc base::Bind(&NetErrorTabHelper::OnDnsProbeFinished, base 33 chrome/browser/net/net_error_tab_helper.h typedef base::Callback<void(chrome_common_net::DnsProbeStatus)> base 60 chrome/browser/net/net_error_tab_helper.h const base::string16& frame_unique_name, base 68 chrome/browser/net/net_error_tab_helper.h const base::string16& frame_unique_name, base 72 chrome/browser/net/net_error_tab_helper.h const base::string16& error_description, base 95 chrome/browser/net/net_error_tab_helper.h base::WeakPtrFactory<NetErrorTabHelper> weak_factory_; base 15 chrome/browser/net/net_error_tab_helper_unittest.cc using base::MessageLoop; base 81 chrome/browser/net/net_error_tab_helper_unittest.cc base::string16(), base 98 chrome/browser/net/net_error_tab_helper_unittest.cc base::string16(), base 102 chrome/browser/net/net_error_tab_helper_unittest.cc base::string16(), base 49 chrome/browser/net/net_log_temp_file.cc base::DictionaryValue* NetLogTempFile::GetState() { base 51 chrome/browser/net/net_log_temp_file.cc base::DictionaryValue* dict = new base::DictionaryValue; base 117 chrome/browser/net/net_log_temp_file.cc FILE* file = base::OpenFile(log_path_, "w"); base 121 chrome/browser/net/net_log_temp_file.cc scoped_ptr<base::Value> constants(NetInternalsUI::GetConstants()); base 143 chrome/browser/net/net_log_temp_file.cc bool NetLogTempFile::GetFilePath(base::FilePath* path) { base 154 chrome/browser/net/net_log_temp_file.cc int mode = base::FILE_PERMISSION_MASK; base 155 chrome/browser/net/net_log_temp_file.cc base::SetPosixFilePermissions(log_path_, mode); base 164 chrome/browser/net/net_log_temp_file.cc base::FilePath temp_dir; base 172 chrome/browser/net/net_log_temp_file.cc bool NetLogTempFile::GetNetExportLogDirectory(base::FilePath* path) { base 174 chrome/browser/net/net_log_temp_file.cc return base::GetTempDir(path); base 180 chrome/browser/net/net_log_temp_file.cc return base::PathExists(log_path_); base 15 chrome/browser/net/net_log_temp_file.h namespace base { base 59 chrome/browser/net/net_log_temp_file.h bool GetFilePath(base::FilePath* path); base 63 chrome/browser/net/net_log_temp_file.h base::DictionaryValue* GetState(); base 72 chrome/browser/net/net_log_temp_file.h virtual bool GetNetExportLogDirectory(base::FilePath* path); base 142 chrome/browser/net/net_log_temp_file.h base::FilePath::StringType log_filename_; base 144 chrome/browser/net/net_log_temp_file.h base::FilePath log_path_; // base::FilePath to the temporary file. base 28 chrome/browser/net/net_log_temp_file_unittest.cc virtual bool GetNetExportLogDirectory(base::FilePath* path) OVERRIDE { base 66 chrome/browser/net/net_log_temp_file_unittest.cc base::FilePath net_log_dir; base 68 chrome/browser/net/net_log_temp_file_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(net_log_dir, &net_export_log_)); base 81 chrome/browser/net/net_log_temp_file_unittest.cc ASSERT_TRUE(base::DeleteFile(net_export_log_, false)); base 85 chrome/browser/net/net_log_temp_file_unittest.cc scoped_ptr<base::DictionaryValue> dict(net_log_temp_file_->GetState()); base 92 chrome/browser/net/net_log_temp_file_unittest.cc scoped_ptr<base::DictionaryValue> dict(net_log_temp_file_->GetState()); base 102 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::PathExists(net_export_log_)); base 106 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::GetFileSize(net_export_log_, &file_size)); base 116 chrome/browser/net/net_log_temp_file_unittest.cc base::FilePath net_export_file_path; base 128 chrome/browser/net/net_log_temp_file_unittest.cc base::FilePath net_export_file_path; base 141 chrome/browser/net/net_log_temp_file_unittest.cc base::FilePath net_export_file_path; base 157 chrome/browser/net/net_log_temp_file_unittest.cc base::FilePath net_export_file_path; base 171 chrome/browser/net/net_log_temp_file_unittest.cc base::FilePath net_export_file_path; base 173 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::PathExists(net_export_file_path)); base 183 chrome/browser/net/net_log_temp_file_unittest.cc base::FilePath net_export_log_; base 186 chrome/browser/net/net_log_temp_file_unittest.cc base::MessageLoop message_loop_; base 219 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::PathExists(net_export_log_)); base 221 chrome/browser/net/net_log_temp_file_unittest.cc base::FilePath net_export_file_path; base 223 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::PathExists(net_export_file_path)); base 254 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::GetFileSize(net_export_log_, &start_file_size)); base 260 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::GetFileSize(net_export_log_, &stop_file_size)); base 265 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_GT(base::AppendToFile( base 269 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::GetFileSize(net_export_log_, &junk_file_size)); base 278 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::GetFileSize(net_export_log_, &new_start_file_size)); base 285 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::GetFileSize(net_export_log_, &new_stop_file_size)); base 300 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::GetFileSize(net_export_log_, &stop_file_size)); base 314 chrome/browser/net/net_log_temp_file_unittest.cc EXPECT_TRUE(base::GetFileSize(net_export_log_, &new_stop_file_size)); base 27 chrome/browser/net/net_pref_observer.cc base::Closure prefs_callback = base::Bind(&NetPrefObserver::ApplySettings, base 28 chrome/browser/net/net_pref_observer.cc base::Unretained(this)); base 93 chrome/browser/net/network_stats.cc base::HistogramBase* histogram_pointer = base::LinearHistogram::FactoryGet( base 98 chrome/browser/net/network_stats.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 103 chrome/browser/net/network_stats.cc const base::TimeDelta& sample) { base 104 chrome/browser/net/network_stats.cc base::HistogramBase* histogram_pointer = base::Histogram::FactoryTimeGet( base 106 chrome/browser/net/network_stats.cc base::TimeDelta::FromMilliseconds(1), base 107 chrome/browser/net/network_stats.cc base::TimeDelta::FromSeconds(30), base 109 chrome/browser/net/network_stats.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 118 chrome/browser/net/network_stats.cc base::HistogramBase* histogram_pointer = base::Histogram::FactoryGet( base 120 chrome/browser/net/network_stats.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 164 chrome/browser/net/network_stats.cc base::Bind(base::IgnoreResult(&NetworkStats::DoConnect), base 165 chrome/browser/net/network_stats.cc base::Unretained(this)), base 188 chrome/browser/net/network_stats.cc first_arrival_time_ = base::TimeTicks(); base 189 chrome/browser/net/network_stats.cc last_arrival_time_ = base::TimeTicks(); base 193 chrome/browser/net/network_stats.cc probe_request_time_ = base::TimeTicks(); base 265 chrome/browser/net/network_stats.cc pacing_interval_ = base::TimeDelta(); base 273 chrome/browser/net/network_stats.cc base::TimeDelta::FromMicroseconds(kMaximumPacingMicros)); base 281 chrome/browser/net/network_stats.cc int nat_test_idle_seconds = base::RandInt(1, maximum_NAT_idle_seconds_); base 282 chrome/browser/net/network_stats.cc pacing_interval_ = base::TimeDelta::FromSeconds(nat_test_idle_seconds); base 309 chrome/browser/net/network_stats.cc probe_request_time_ = base::TimeTicks::Now(); base 330 chrome/browser/net/network_stats.cc base::Bind(&NetworkStats::OnReadComplete, weak_factory_.GetWeakPtr())); base 351 chrome/browser/net/network_stats.cc base::MessageLoop::current()->PostDelayedTask( base 353 chrome/browser/net/network_stats.cc base::Bind(base::IgnoreResult(&NetworkStats::ReadData), base 355 chrome/browser/net/network_stats.cc base::TimeDelta::FromMilliseconds(1)); base 416 chrome/browser/net/network_stats.cc base::TimeTicks current_time = base::TimeTicks::Now(); base 430 chrome/browser/net/network_stats.cc base::TimeDelta rtt = base 432 chrome/browser/net/network_stats.cc base::TimeDelta::FromMicroseconds(std::max( base 434 chrome/browser/net/network_stats.cc base::TimeDelta min_rtt = base::TimeDelta::FromMicroseconds(1L); base 446 chrome/browser/net/network_stats.cc test_sequence_.push_back(base::RandInt(0, 1) ? PACED_PACKET_TEST base 466 chrome/browser/net/network_stats.cc base::Bind(&NetworkStats::OnWriteComplete, weak_factory_.GetWeakPtr())); base 495 chrome/browser/net/network_stats.cc base::MessageLoop::current()->PostDelayedTask( base 497 chrome/browser/net/network_stats.cc base::Bind(&NetworkStats::OnReadDataTimeout, base 500 chrome/browser/net/network_stats.cc base::TimeDelta::FromSeconds(seconds)); base 523 chrome/browser/net/network_stats.cc test_sequence_.push_back(base::RandInt(0, 1) ? PACED_PACKET_TEST base 561 chrome/browser/net/network_stats.cc base::MessageLoop::current()->PostTask( base 563 chrome/browser/net/network_stats.cc base::Bind(&NetworkStats::StartOneTest, weak_factory_.GetWeakPtr())); base 628 chrome/browser/net/network_stats.cc base::StringPrintf("NetConnectivity5.%s.Sent%d.PacketDelay.%d.%dB", base 640 chrome/browser/net/network_stats.cc std::string histogram_prefix = base::StringPrintf( base 643 chrome/browser/net/network_stats.cc base::StringPrintf(".%d.%dB", histogram_port_, probe_packet_bytes_); base 645 chrome/browser/net/network_stats.cc base::HistogramBase* histogram_pointer = base::BooleanHistogram::FactoryGet( base 646 chrome/browser/net/network_stats.cc name, base::HistogramBase::kUmaTargetedHistogramFlag); base 657 chrome/browser/net/network_stats.cc base::HistogramBase* received_nth_packet_histogram = base 658 chrome/browser/net/network_stats.cc base::Histogram::FactoryGet( base 663 chrome/browser/net/network_stats.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 673 chrome/browser/net/network_stats.cc base::StringPrintf("%sNumRecvFromFirst%02dPackets%s", base 688 chrome/browser/net/network_stats.cc base::StringPrintf("NetConnectivity5.%s.Sent%d.%s.%d.%dB", base 708 chrome/browser/net/network_stats.cc histogram_name = base::StringPrintf("NetConnectivity5.%s.Sent%d.%s.%d.%dB", base 728 chrome/browser/net/network_stats.cc base::StringPrintf("NetConnectivity5.%s.%s.%d", base 732 chrome/browser/net/network_stats.cc base::HistogramBase* histogram_pointer = base::LinearHistogram::FactoryGet( base 735 chrome/browser/net/network_stats.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 745 chrome/browser/net/network_stats.cc base::StringPrintf("NetConnectivity5.%s.First6.SeriesRecv.%d.%dB", base 772 chrome/browser/net/network_stats.cc std::string rtt_histogram_name = base::StringPrintf( base 788 chrome/browser/net/network_stats.cc std::string histogram_name = base::StringPrintf( base 794 chrome/browser/net/network_stats.cc base::TimeDelta send_to_last_recv_time = base 797 chrome/browser/net/network_stats.cc base::TimeDelta::FromMilliseconds(0)); base 816 chrome/browser/net/network_stats.cc base::StringPrintf("https://%s", server_address_.ToString().c_str()); base 824 chrome/browser/net/network_stats.cc base::Bind(&ProxyDetector::OnResolveProxyComplete, base 825 chrome/browser/net/network_stats.cc base::Unretained(this)), base 840 chrome/browser/net/network_stats.cc BrowserThread::IO, FROM_HERE, base::Bind(callback, has_proxy_server)); base 858 chrome/browser/net/network_stats.cc base::Bind(&CollectNetworkStats, network_stats_server, io_thread)); base 868 chrome/browser/net/network_stats.cc CR_DEFINE_STATIC_LOCAL(scoped_refptr<base::FieldTrial>, trial, ()); base 873 chrome/browser/net/network_stats.cc const base::FieldTrial::Probability kDivisor = 1000; base 876 chrome/browser/net/network_stats.cc base::FieldTrial::Probability probability_per_group = kDivisor / 200; base 892 chrome/browser/net/network_stats.cc trial = base::FieldTrialList::FactoryGetFieldTrial( base 894 chrome/browser/net/network_stats.cc 2014, 7, 31, base::FieldTrial::SESSION_RANDOMIZED, NULL); base 916 chrome/browser/net/network_stats.cc uint32 port_index = base::RandInt(0, arraysize(kPorts) - 1); base 924 chrome/browser/net/network_stats.cc ProxyDetector::OnResolvedCallback callback = base::Bind( base 936 chrome/browser/net/network_stats.cc int probe_choice = base::RandInt(0, kPacketSizeChoices - 1); base 941 chrome/browser/net/network_stats.cc base::RandInt(kProbePacketBytes[kPacketSizeChoices - 1], base 283 chrome/browser/net/network_stats.h std::vector<base::TimeDelta> packet_rtt_; base 286 chrome/browser/net/network_stats.h base::TimeTicks probe_request_time_; base 299 chrome/browser/net/network_stats.h base::TimeTicks first_arrival_time_; base 301 chrome/browser/net/network_stats.h base::TimeTicks last_arrival_time_; base 304 chrome/browser/net/network_stats.h base::TimeDelta inter_arrival_time_; base 310 chrome/browser/net/network_stats.h base::TimeDelta pacing_interval_; base 325 chrome/browser/net/network_stats.h base::WeakPtrFactory<NetworkStats> weak_factory_; base 333 chrome/browser/net/network_stats.h typedef base::Callback<void(bool)> OnResolvedCallback; base 27 chrome/browser/net/network_stats_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 35 chrome/browser/net/network_stats_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 217 chrome/browser/net/network_stats_unittest.cc base::TimeDelta::FromMicroseconds(interval_micros); base 245 chrome/browser/net/network_stats_unittest.cc base::MessageLoopForIO message_loop_; base 18 chrome/browser/net/nss_context.cc scoped_refptr<base::MessageLoopProxy> response_message_loop, base 19 chrome/browser/net/nss_context.cc const base::Callback<void(net::NSSCertDatabase*)>& callback, base 23 chrome/browser/net/nss_context.cc response_message_loop->PostTask(FROM_HERE, base::Bind(callback, cert_db)); base 29 chrome/browser/net/nss_context.cc scoped_refptr<base::MessageLoopProxy> response_message_loop, base 30 chrome/browser/net/nss_context.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { base 37 chrome/browser/net/nss_context.cc base::Bind(&DidGetCertDBOnIOThread, response_message_loop, callback)); base 47 chrome/browser/net/nss_context.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { base 52 chrome/browser/net/nss_context.cc base::Bind(&GetCertDBOnIOThread, base 54 chrome/browser/net/nss_context.cc base::MessageLoopProxy::current(), base 35 chrome/browser/net/nss_context.h const base::Callback<void(crypto::ScopedPK11Slot)>& callback) base 46 chrome/browser/net/nss_context.h const base::Callback<void(net::NSSCertDatabase*)>& callback) base 56 chrome/browser/net/nss_context.h const base::Callback<void(net::NSSCertDatabase*)>& callback); base 18 chrome/browser/net/nss_context_chromeos.cc class NSSCertDatabaseChromeOSManager : public base::SupportsUserData::Data { base 25 chrome/browser/net/nss_context_chromeos.cc base::Bind(&NSSCertDatabaseChromeOSManager::DidGetPrivateSlot, base 36 chrome/browser/net/nss_context_chromeos.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { base 47 chrome/browser/net/nss_context_chromeos.cc typedef std::vector<base::Callback<void(net::NSSCertDatabase*)> > base 68 chrome/browser/net/nss_context_chromeos.cc base::WeakPtrFactory<NSSCertDatabaseChromeOSManager> weak_ptr_factory_; base 87 chrome/browser/net/nss_context_chromeos.cc const base::Callback<void(crypto::ScopedPK11Slot)>& callback) { base 94 chrome/browser/net/nss_context_chromeos.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { base 37 chrome/browser/net/nss_context_chromeos_browsertest.cc base::RunLoop run_loop; base 41 chrome/browser/net/nss_context_chromeos_browsertest.cc base::Bind(&DBTester::GetDBAndDoTestsOnIOThread, base 42 chrome/browser/net/nss_context_chromeos_browsertest.cc base::Unretained(this), base 51 chrome/browser/net/nss_context_chromeos_browsertest.cc base::RunLoop run_loop; base 55 chrome/browser/net/nss_context_chromeos_browsertest.cc base::Bind(&DBTester::DoGetDBAgainTestsOnIOThread, base 56 chrome/browser/net/nss_context_chromeos_browsertest.cc base::Unretained(this), base 71 chrome/browser/net/nss_context_chromeos_browsertest.cc const base::Closure& done_callback) { base 74 chrome/browser/net/nss_context_chromeos_browsertest.cc base::Bind(&DBTester::DoTestsOnIOThread, base 75 chrome/browser/net/nss_context_chromeos_browsertest.cc base::Unretained(this), base 85 chrome/browser/net/nss_context_chromeos_browsertest.cc void DoTestsOnIOThread(const base::Closure& done_callback, base 100 chrome/browser/net/nss_context_chromeos_browsertest.cc const base::Closure& done_callback) { base 102 chrome/browser/net/nss_context_chromeos_browsertest.cc context, base::Bind(&NotCalledDbCallback)); base 146 chrome/browser/net/nss_context_chromeos_browsertest.cc base::RunLoop().RunUntilIdle(); base 19 chrome/browser/net/nss_context_linux.cc const base::Callback<void(crypto::ScopedPK11Slot)>& callback) { base 26 chrome/browser/net/nss_context_linux.cc const base::Callback<void(net::NSSCertDatabase*)>& callback) { base 35 chrome/browser/net/preconnect.cc base::Bind(&PreconnectOnIOThread, url, first_party_for_cookies, base 48 chrome/browser/net/predictor.cc using base::TimeDelta; base 118 chrome/browser/net/predictor.cc base::Bind(&LookupRequest::OnLookupFinished, base::Unretained(this)), base 165 chrome/browser/net/predictor.cc : timestamp_(base::TimeTicks::Now()), base 169 chrome/browser/net/predictor.cc const base::TimeTicks& timestamp() { return timestamp_; } base 175 chrome/browser/net/predictor.cc base::TimeTicks timestamp_; base 179 chrome/browser/net/predictor.cc typedef base::MRUCache<GURL, PreconnectPrecisionStat> MRUPreconnects; base 183 chrome/browser/net/predictor.cc const base::TimeDelta max_duration_; base 192 chrome/browser/net/predictor.cc max_duration_(base::TimeDelta::FromSeconds( base 200 chrome/browser/net/predictor.cc base::TimeTicks now = base::TimeTicks::Now(); base 279 chrome/browser/net/predictor.cc next_trim_time_(base::TimeTicks::Now() + base 323 chrome/browser/net/predictor.cc base::ListValue* referral_list = base 324 chrome/browser/net/predictor.cc static_cast<base::ListValue*>(user_prefs->GetList( base 348 chrome/browser/net/predictor.cc base::Bind( base 350 chrome/browser/net/predictor.cc base::Unretained(this), base 366 chrome/browser/net/predictor.cc base::TimeTicks now = base::TimeTicks::Now(); base 423 chrome/browser/net/predictor.cc base::Bind(&Predictor::Resolve, base::Unretained(this), base 451 chrome/browser/net/predictor.cc const base::ListValue* startup_list = base 455 chrome/browser/net/predictor.cc base::ListValue::const_iterator it = startup_list->begin(); base 513 chrome/browser/net/predictor.cc base::Bind(&Predictor::Shutdown, base::Unretained(this))); base 633 chrome/browser/net/predictor.cc base::SplitString(url.host(), '.', &parts); base 677 chrome/browser/net/predictor.cc base::StringAppendF(output, base 685 chrome/browser/net/predictor.cc base::StringAppendF(output, base 747 chrome/browser/net/predictor.cc void Predictor::SerializeReferrers(base::ListValue* referral_list) { base 750 chrome/browser/net/predictor.cc referral_list->Append(new base::FundamentalValue(kPredictorReferrerVersion)); base 754 chrome/browser/net/predictor.cc base::Value* subresource_list(it->second.Serialize()); base 757 chrome/browser/net/predictor.cc base::ListValue* motivator(new base::ListValue); base 758 chrome/browser/net/predictor.cc motivator->Append(new base::StringValue(it->first.spec())); base 765 chrome/browser/net/predictor.cc void Predictor::DeserializeReferrers(const base::ListValue& referral_list) { base 772 chrome/browser/net/predictor.cc const base::ListValue* motivator; base 783 chrome/browser/net/predictor.cc const base::Value* subresource_list; base 795 chrome/browser/net/predictor.cc base::ListValue* referral_list) { base 808 chrome/browser/net/predictor.cc base::ListValue* referral_list, base 828 chrome/browser/net/predictor.cc weak_factory_.reset(new base::WeakPtrFactory<Predictor>(this)); base 881 chrome/browser/net/predictor.cc base::Bind(&Predictor::ResolveList, base::Unretained(this), base 891 chrome/browser/net/predictor.cc base::ListValue* startup_list, base 892 chrome/browser/net/predictor.cc base::ListValue* referral_list, base 893 chrome/browser/net/predictor.cc base::WaitableEvent* completion, base 909 chrome/browser/net/predictor.cc base::WaitableEvent completion(true, false); base 924 chrome/browser/net/predictor.cc base::Bind( base 936 chrome/browser/net/predictor.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 943 chrome/browser/net/predictor.cc base::ListValue* startup_list, base 944 chrome/browser/net/predictor.cc base::ListValue* referral_list, base 945 chrome/browser/net/predictor.cc base::WaitableEvent* completion) { base 968 chrome/browser/net/predictor.cc base::Bind(&Predictor::EnablePredictorOnIOThread, base 969 chrome/browser/net/predictor.cc base::Unretained(this), enable)); base 991 chrome/browser/net/predictor.cc base::Bind(&Predictor::PreconnectUrlOnIOThread, base 992 chrome/browser/net/predictor.cc base::Unretained(this), url, first_party_for_cookies, base 1058 chrome/browser/net/predictor.cc base::Bind(&Predictor::PrepareFrameSubresources, base 1059 chrome/browser/net/predictor.cc base::Unretained(this), url, first_party_for_cookies)); base 1078 chrome/browser/net/predictor.cc base::Bind(&Predictor::AdviseProxyOnIOThread, base 1079 chrome/browser/net/predictor.cc base::Unretained(this), url, motivation, is_preconnect)); base 1262 chrome/browser/net/predictor.cc base::TimeTicks now = base::TimeTicks::Now(); base 1284 chrome/browser/net/predictor.cc base::MessageLoop::current()->PostDelayedTask( base 1286 chrome/browser/net/predictor.cc base::Bind(&Predictor::IncrementalTrimReferrers, base 1399 chrome/browser/net/predictor.cc first_navigations_[url] = base::TimeTicks::Now(); base 1403 chrome/browser/net/predictor.cc base::ListValue* startup_list) { base 1409 chrome/browser/net/predictor.cc new base::FundamentalValue(kPredictorStartupFormatVersion)); base 1414 chrome/browser/net/predictor.cc startup_list->Append(new base::StringValue(it->first.spec())); base 42 chrome/browser/net/predictor.h namespace base { base 200 chrome/browser/net/predictor.h void SerializeReferrers(base::ListValue* referral_list); base 205 chrome/browser/net/predictor.h void DeserializeReferrers(const base::ListValue& referral_list); base 207 chrome/browser/net/predictor.h void DeserializeReferrersThenDelete(base::ListValue* referral_list); base 213 chrome/browser/net/predictor.h base::ListValue* referral_list, base 235 chrome/browser/net/predictor.h base::ListValue* startup_list, base 236 chrome/browser/net/predictor.h base::ListValue* referral_list, base 237 chrome/browser/net/predictor.h base::WaitableEvent* completion); base 369 chrome/browser/net/predictor.h typedef std::map<GURL, base::TimeTicks> FirstNavigations; base 378 chrome/browser/net/predictor.h void GetInitialDnsResolutionList(base::ListValue* startup_list); base 429 chrome/browser/net/predictor.h base::TimeDelta GetResolutionDuration(const GURL& url) { base 543 chrome/browser/net/predictor.h const base::TimeDelta max_dns_queue_delay_; base 563 chrome/browser/net/predictor.h base::TimeTicks last_omnibox_preresolve_; base 570 chrome/browser/net/predictor.h base::TimeTicks last_omnibox_preconnect_; base 586 chrome/browser/net/predictor.h base::TimeTicks next_trim_time_; base 588 chrome/browser/net/predictor.h scoped_ptr<base::WeakPtrFactory<Predictor> > weak_factory_; base 40 chrome/browser/net/predictor_browsertest.cc base::Bind(&HostResolutionRequestRecorder::AddToHistory, base 41 chrome/browser/net/predictor_browsertest.cc base::Unretained(this), base 72 chrome/browser/net/predictor_browsertest.cc base::MessageLoop::current()->Quit(); base 120 chrome/browser/net/predictor_browsertest.cc base::Bind(&Predictor::LearnAboutInitialNavigation, base 121 chrome/browser/net/predictor_browsertest.cc base::Unretained(predictor), base 130 chrome/browser/net/predictor_browsertest.cc base::Bind(&Predictor::LearnFromNavigation, base 131 chrome/browser/net/predictor_browsertest.cc base::Unretained(predictor), base 145 chrome/browser/net/predictor_browsertest.cc const base::ListValue* list_value = prefs->GetList(list_path); base 70 chrome/browser/net/predictor_tab_helper.cc base::Bind(&Predictor::RecordLinkNavigation, base 71 chrome/browser/net/predictor_tab_helper.cc base::Unretained(predictor), base 28 chrome/browser/net/predictor_unittest.cc using base::Time; base 29 chrome/browser/net/predictor_unittest.cc using base::TimeDelta; base 36 chrome/browser/net/predictor_unittest.cc typedef base::RepeatingTimer<WaitForResolutionHelper> HelperTimer; base 59 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->Quit(); base 104 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->Run(); base 113 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->Run(); base 120 chrome/browser/net/predictor_unittest.cc base::MessageLoopForUI loop_; base 148 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 150 chrome/browser/net/predictor_unittest.cc base::MessageLoop::QuitClosure(), base 151 chrome/browser/net/predictor_unittest.cc base::TimeDelta::FromMilliseconds(500)); base 152 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->Run(); base 159 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 179 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 224 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 245 chrome/browser/net/predictor_unittest.cc "http://host" + base::IntToString(i) + ".notfound:80")); base 253 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 268 chrome/browser/net/predictor_unittest.cc static const base::ListValue* FindSerializationMotivation( base 270 chrome/browser/net/predictor_unittest.cc const base::ListValue* referral_list) { base 275 chrome/browser/net/predictor_unittest.cc const base::ListValue* motivation_list(NULL); base 286 chrome/browser/net/predictor_unittest.cc static base::ListValue* FindSerializationMotivation( base 288 chrome/browser/net/predictor_unittest.cc base::ListValue* referral_list) { base 289 chrome/browser/net/predictor_unittest.cc return const_cast<base::ListValue*>(FindSerializationMotivation( base 290 chrome/browser/net/predictor_unittest.cc motivation, static_cast<const base::ListValue*>(referral_list))); base 294 chrome/browser/net/predictor_unittest.cc static base::ListValue* NewEmptySerializationList() { base 295 chrome/browser/net/predictor_unittest.cc base::ListValue* list = new base::ListValue; base 297 chrome/browser/net/predictor_unittest.cc new base::FundamentalValue(Predictor::kPredictorReferrerVersion)); base 307 chrome/browser/net/predictor_unittest.cc base::ListValue* referral_list) { base 309 chrome/browser/net/predictor_unittest.cc base::ListValue* motivation_list = FindSerializationMotivation(motivation, base 313 chrome/browser/net/predictor_unittest.cc motivation_list = new base::ListValue; base 314 chrome/browser/net/predictor_unittest.cc motivation_list->Append(new base::StringValue(motivation.spec())); base 316 chrome/browser/net/predictor_unittest.cc motivation_list->Append(new base::ListValue()); base 322 chrome/browser/net/predictor_unittest.cc base::ListValue* subresource_list(NULL); base 330 chrome/browser/net/predictor_unittest.cc subresource_list->Append(new base::StringValue(subresource.spec())); base 331 chrome/browser/net/predictor_unittest.cc subresource_list->Append(new base::FundamentalValue(use_rate)); base 340 chrome/browser/net/predictor_unittest.cc const base::ListValue& referral_list, base 342 chrome/browser/net/predictor_unittest.cc const base::ListValue* motivation_list = base 346 chrome/browser/net/predictor_unittest.cc const base::ListValue* subresource_list; base 366 chrome/browser/net/predictor_unittest.cc scoped_ptr<base::ListValue> referral_list(NewEmptySerializationList()); base 385 chrome/browser/net/predictor_unittest.cc scoped_ptr<base::ListValue> referral_list(NewEmptySerializationList()); base 392 chrome/browser/net/predictor_unittest.cc base::ListValue recovered_referral_list; base 410 chrome/browser/net/predictor_unittest.cc scoped_ptr<base::ListValue> referral_list(NewEmptySerializationList()); base 501 chrome/browser/net/predictor_unittest.cc scoped_ptr<base::ListValue> referral_list(NewEmptySerializationList()); base 509 chrome/browser/net/predictor_unittest.cc base::ListValue recovered_referral_list; base 683 chrome/browser/net/predictor_unittest.cc base::ListValue referral_list; base 719 chrome/browser/net/predictor_unittest.cc const base::Time expiry = base 720 chrome/browser/net/predictor_unittest.cc base::Time::Now() + base::TimeDelta::FromSeconds(1000); base 744 chrome/browser/net/predictor_unittest.cc const base::Time expiry = base 745 chrome/browser/net/predictor_unittest.cc base::Time::Now() + base::TimeDelta::FromSeconds(1000); base 754 chrome/browser/net/predictor_unittest.cc scoped_ptr<base::ListValue> referral_list(NewEmptySerializationList()); base 816 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 845 chrome/browser/net/predictor_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 135 chrome/browser/net/pref_proxy_config_tracker_impl.cc base::Bind(&PrefProxyConfigTrackerImpl::OnProxyPrefChanged, base 136 chrome/browser/net/pref_proxy_config_tracker_impl.cc base::Unretained(this))); base 205 chrome/browser/net/pref_proxy_config_tracker_impl.cc base::DictionaryValue* default_settings = base 213 chrome/browser/net/pref_proxy_config_tracker_impl.cc base::DictionaryValue* default_settings = base 235 chrome/browser/net/pref_proxy_config_tracker_impl.cc const base::DictionaryValue* dict = base 274 chrome/browser/net/pref_proxy_config_tracker_impl.cc base::Bind(&ChromeProxyConfigService::UpdateProxyConfig, base 275 chrome/browser/net/pref_proxy_config_tracker_impl.cc base::Unretained(chrome_proxy_config_service_), base 107 chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc base::MessageLoop loop_; base 30 chrome/browser/net/proxy_browsertest.cc const base::FilePath::CharType kPACScript[] = FILE_PATH_LITERAL( base 63 chrome/browser/net/proxy_browsertest.cc login_details->handler()->SetAuth(base::ASCIIToUTF16("foo"), base 64 chrome/browser/net/proxy_browsertest.cc base::ASCIIToUTF16("bar")); base 82 chrome/browser/net/proxy_browsertest.cc base::FilePath()) { base 128 chrome/browser/net/proxy_browsertest.cc content::TitleWatcher watcher(tab, base::ASCIIToUTF16("PASS")); base 129 chrome/browser/net/proxy_browsertest.cc watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 140 chrome/browser/net/proxy_browsertest.cc const base::string16 result = watcher.WaitAndGetTitle(); base 151 chrome/browser/net/proxy_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))) { base 161 chrome/browser/net/proxy_browsertest.cc base::FilePath pac_script_path(FILE_PATH_LITERAL("files")); base 185 chrome/browser/net/proxy_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 186 chrome/browser/net/proxy_browsertest.cc base::FilePath(kPACScript)).spec()); base 203 chrome/browser/net/proxy_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))) { base 213 chrome/browser/net/proxy_browsertest.cc base::FilePath pac_script_path(kPACScript); base 238 chrome/browser/net/proxy_browsertest.cc ASSERT_TRUE(base::ReadFileToString(ui_test_utils::GetTestFilePath( base 239 chrome/browser/net/proxy_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 240 chrome/browser/net/proxy_browsertest.cc base::FilePath(kPACScript)), base 66 chrome/browser/net/proxy_policy_handler.cc const base::Value* mode = GetProxyPolicyValue(policies, key::kProxyMode); base 67 chrome/browser/net/proxy_policy_handler.cc const base::Value* server = GetProxyPolicyValue(policies, key::kProxyServer); base 68 chrome/browser/net/proxy_policy_handler.cc const base::Value* server_mode = base 70 chrome/browser/net/proxy_policy_handler.cc const base::Value* pac_url = GetProxyPolicyValue(policies, key::kProxyPacUrl); base 71 chrome/browser/net/proxy_policy_handler.cc const base::Value* bypass_list = base 133 chrome/browser/net/proxy_policy_handler.cc const base::Value* mode = GetProxyPolicyValue(policies, key::kProxyMode); base 134 chrome/browser/net/proxy_policy_handler.cc const base::Value* server = GetProxyPolicyValue(policies, key::kProxyServer); base 135 chrome/browser/net/proxy_policy_handler.cc const base::Value* server_mode = base 137 chrome/browser/net/proxy_policy_handler.cc const base::Value* pac_url = GetProxyPolicyValue(policies, key::kProxyPacUrl); base 138 chrome/browser/net/proxy_policy_handler.cc const base::Value* bypass_list = base 211 chrome/browser/net/proxy_policy_handler.cc const base::Value* ProxyPolicyHandler::GetProxyPolicyValue( base 214 chrome/browser/net/proxy_policy_handler.cc const base::Value* value = policies.GetValue(key::kProxySettings); base 215 chrome/browser/net/proxy_policy_handler.cc const base::DictionaryValue* settings; base 219 chrome/browser/net/proxy_policy_handler.cc const base::Value* policy_value = NULL; base 222 chrome/browser/net/proxy_policy_handler.cc policy_value->IsType(base::Value::TYPE_NULL) || base 223 chrome/browser/net/proxy_policy_handler.cc (policy_value->IsType(base::Value::TYPE_STRING) && base 234 chrome/browser/net/proxy_policy_handler.cc const base::Value* mode = GetProxyPolicyValue(policies, key::kProxyMode); base 235 chrome/browser/net/proxy_policy_handler.cc const base::Value* server = GetProxyPolicyValue(policies, key::kProxyServer); base 236 chrome/browser/net/proxy_policy_handler.cc const base::Value* server_mode = base 238 chrome/browser/net/proxy_policy_handler.cc const base::Value* pac_url = GetProxyPolicyValue(policies, key::kProxyPacUrl); base 253 chrome/browser/net/proxy_policy_handler.cc ValueTypeToString(base::Value::TYPE_BOOLEAN)); base 282 chrome/browser/net/proxy_policy_handler.cc ValueTypeToString(base::Value::TYPE_INTEGER)); base 326 chrome/browser/net/proxy_policy_handler.cc base::IntToString(server_mode_value)); base 49 chrome/browser/net/proxy_policy_handler.h const base::Value* GetProxyPolicyValue(const PolicyMap& policies, base 45 chrome/browser/net/proxy_policy_handler_unittest.cc const base::Value* value = NULL; base 47 chrome/browser/net/proxy_policy_handler_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, value->GetType()); base 49 chrome/browser/net/proxy_policy_handler_unittest.cc static_cast<const base::DictionaryValue*>(value)); base 80 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue("http://chromium.org/override"), base 85 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue("chromium.org"), base 89 chrome/browser/net/proxy_policy_handler_unittest.cc base::Value::CreateIntegerValue( base 104 chrome/browser/net/proxy_policy_handler_unittest.cc base::Value::CreateIntegerValue( base 110 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue("http://chromium.org/override"), base 115 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue("chromium.org"), base 129 chrome/browser/net/proxy_policy_handler_unittest.cc base::Value::CreateIntegerValue( base 134 chrome/browser/net/proxy_policy_handler_unittest.cc const base::Value* value = NULL; base 141 chrome/browser/net/proxy_policy_handler_unittest.cc base::Value::CreateIntegerValue( base 154 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue(ProxyPrefs::kDirectProxyModeName), base 165 chrome/browser/net/proxy_policy_handler_unittest.cc base::Value::CreateIntegerValue( base 180 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue(ProxyPrefs::kAutoDetectProxyModeName), base 194 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue("http://short.org/proxy.pac"), base 199 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue(ProxyPrefs::kPacScriptProxyModeName), base 213 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue(ProxyPrefs::kPacScriptProxyModeName), base 216 chrome/browser/net/proxy_policy_handler_unittest.cc const base::Value* value = NULL; base 227 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue(std::string()), base 232 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue("http://short.org/proxy.pac"), base 237 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue(ProxyPrefs::kPacScriptProxyModeName), base 249 chrome/browser/net/proxy_policy_handler_unittest.cc base::Value::CreateIntegerValue( base 262 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue(ProxyPrefs::kSystemProxyModeName), base 273 chrome/browser/net/proxy_policy_handler_unittest.cc base::Value::CreateIntegerValue( base 279 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue(ProxyPrefs::kAutoDetectProxyModeName), base 294 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue("http://short.org/proxy.pac"), base 299 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue("http://chromium.org/override"), base 304 chrome/browser/net/proxy_policy_handler_unittest.cc new base::StringValue("chromium.org"), base 308 chrome/browser/net/proxy_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(i), NULL); base 310 chrome/browser/net/proxy_policy_handler_unittest.cc const base::Value* value = NULL; base 125 chrome/browser/net/proxy_service_factory.cc if (base::StringToInt(s, &n) && n > 0) { base 13 chrome/browser/net/proxy_service_factory.h namespace base { base 52 chrome/browser/net/proxy_service_factory.h const base::CommandLine& command_line, base 88 chrome/browser/net/referrer.cc const base::Time kNow(base::Time::Now()); // Avoid multiple calls. base 123 chrome/browser/net/referrer.cc void Referrer::Deserialize(const base::Value& value) { base 124 chrome/browser/net/referrer.cc if (value.GetType() != base::Value::TYPE_LIST) base 126 chrome/browser/net/referrer.cc const base::ListValue* subresource_list( base 127 chrome/browser/net/referrer.cc static_cast<const base::ListValue*>(&value)); base 148 chrome/browser/net/referrer.cc base::Value* Referrer::Serialize() const { base 149 chrome/browser/net/referrer.cc base::ListValue* subresource_list(new base::ListValue); base 151 chrome/browser/net/referrer.cc base::StringValue* url_spec(new base::StringValue(it->first.spec())); base 152 chrome/browser/net/referrer.cc base::FundamentalValue* rate(new base::FundamentalValue( base 164 chrome/browser/net/referrer.cc : birth_time_(base::Time::Now()), base 25 chrome/browser/net/referrer.h namespace base { base 42 chrome/browser/net/referrer.h base::Time birth_time() const { return birth_time_; } base 68 chrome/browser/net/referrer.h const base::Time birth_time_; base 118 chrome/browser/net/referrer.h base::Value* Serialize() const; base 119 chrome/browser/net/referrer.h void Deserialize(const base::Value& referrers); base 57 chrome/browser/net/sdch_dictionary_fetcher.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 58 chrome/browser/net/sdch_dictionary_fetcher.cc base::Bind(&SdchDictionaryFetcher::StartFetching, base 60 chrome/browser/net/sdch_dictionary_fetcher.cc base::TimeDelta::FromMilliseconds(kMsDelayFromRequestTillDownload)); base 30 chrome/browser/net/sdch_dictionary_fetcher.h public base::NonThreadSafe { base 71 chrome/browser/net/sdch_dictionary_fetcher.h base::WeakPtrFactory<SdchDictionaryFetcher> weak_factory_; base 40 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc using base::FieldTrialList; base 41 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc using base::StringPrintf; base 61 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc int64 GetInt64PrefValue(const base::ListValue& list_value, size_t index) { base 67 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc rv = base::StringToInt64(pref_value, &val); base 99 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc base::Bind(&DataReductionProxySettings::OnProxyEnabledPrefChange, base 100 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc base::Unretained(this))); base 139 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc (base::Time::Now() - base::Time::UnixEpoch()).InMilliseconds() / 1000; base 149 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc base::StringPrintf("%s%" PRId64, kAuthenticationRealmName, timestamp); base 150 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc std::string challenge = base::StringPrintf( base 154 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc base::string16 password = AuthHashForSalt(timestamp); base 159 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc net::AuthCredentials credentials(base::string16(), password); base 268 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc base::string16 DataReductionProxySettings::GetTokenForAuthChallenge( base 274 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc if (base::StringToInt64(realm_suffix, &salt)) { base 279 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc return base::string16(); base 282 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc return base::string16(); base 329 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc base::Time last_update = base::Time::FromInternalValue(last_update_internal); base 455 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc original_update->AppendString(base::Int64ToString(0)); base 456 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc received_update->AppendString(base::Int64ToString(0)); base 495 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc base::DictionaryValue* dict = update.Get(); base 547 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc const base::ListValue* list_value = GetLocalStatePrefs()->GetList(pref_name); base 570 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc const base::ListValue* original_list = base 572 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc const base::ListValue* received_list = base 613 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc base::string16 DataReductionProxySettings::AuthHashForSalt(int64 salt) { base 615 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc return base::string16(); base 626 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc return base::string16(); base 632 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc return base::string16(); base 639 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc base::StringPrintf("%" PRId64 "%s%" PRId64, salt, key.c_str(), salt); base 640 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc return base::UTF8ToUTF16(base::MD5String(salted_key)); base 144 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h base::string16 GetTokenForAuthChallenge(net::AuthChallengeInfo* auth_info); base 263 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h static base::string16 AuthHashForSalt(int64 salt); base 37 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc using base::android::CheckException; base 38 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc using base::android::ConvertJavaStringToUTF8; base 39 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc using base::android::ConvertUTF16ToJavaString; base 40 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc using base::android::ConvertUTF8ToJavaString; base 41 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc using base::android::ScopedJavaLocalRef; base 42 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc using base::StringPrintf; base 144 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc base::android::ScopedJavaLocalRef<jobject> base 234 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc base::DictionaryValue* dict = update.Get(); base 238 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc base::Base64Encode(GetProxyPacScript(restricted), &base64_pac); base 19 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h using base::android::ScopedJavaLocalRef; base 61 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h base::android::ScopedJavaLocalRef<jobject> GetContentLengths(JNIEnv* env, base 104 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc new base::StringValue(base::Int64ToString(2 * i))); base 105 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc received_update->Insert(0, new base::StringValue(base::Int64ToString(i))); base 107 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc last_update_time_ = base::Time::Now().LocalMidnight(); base 180 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc const base::DictionaryValue* dict = base 223 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 239 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 253 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 261 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::MessageLoopForUI loop; base 268 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 363 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::string16 expected_hash = base::UTF8ToUTF16(base::MD5String(salted_key)); base 375 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc EXPECT_EQ(base::string16(), base 390 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::Value::CreateBooleanValue(true)); base 448 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::string16 token = settings_->GetTokenForAuthChallenge(auth_info.get()); base 529 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::MessageLoopForUI loop; base 544 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::MessageLoopForUI loop; base 567 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::MessageLoopForUI loop; base 86 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.h base::Time last_update_time_; base 88 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.h scoped_ptr<base::FieldTrialList> field_trial_list_; base 39 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc env_ = base::android::AttachCurrentThread(); base 46 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc const base::DictionaryValue* dict = base 69 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc const base::android::JavaRef<jstring>& str_ref = result; base 81 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc const base::android::JavaRef<jstring>& str_ref = result; base 108 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc base::Base64Encode(raw_pac, &pac); base 120 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc base::Base64Encode(raw_pac, &pac); base 36 chrome/browser/net/spdyproxy/data_saving_metrics.cc base::ListValue* list_update) { base 42 chrome/browser/net/spdyproxy/data_saving_metrics.cc rv = base::StringToInt64(old_string_value, &value); base 46 chrome/browser/net/spdyproxy/data_saving_metrics.cc list_update->Set(index, new base::StringValue(base::Int64ToString(value))); base 49 chrome/browser/net/spdyproxy/data_saving_metrics.cc int64 ListPrefInt64Value(const base::ListValue& list_update, size_t index) { base 57 chrome/browser/net/spdyproxy/data_saving_metrics.cc bool rv = base::StringToInt64(string_value, &value); base 187 chrome/browser/net/spdyproxy/data_saving_metrics.cc void MaintainContentLengthPrefsWindow(base::ListValue* list, size_t length) { base 194 chrome/browser/net/spdyproxy/data_saving_metrics.cc list->AppendString(base::Int64ToString(0)); base 254 chrome/browser/net/spdyproxy/data_saving_metrics.cc update_->AppendString(base::Int64ToString(0)); base 395 chrome/browser/net/spdyproxy/data_saving_metrics.cc base::Time now, PrefService* prefs) { base 399 chrome/browser/net/spdyproxy/data_saving_metrics.cc base::TimeDelta time_since_unix_epoch = now - base::Time::UnixEpoch(); base 411 chrome/browser/net/spdyproxy/data_saving_metrics.cc base::Time then_midnight = base 412 chrome/browser/net/spdyproxy/data_saving_metrics.cc base::Time::FromInternalValue(then_internal).LocalMidnight(); base 413 chrome/browser/net/spdyproxy/data_saving_metrics.cc base::Time midnight = now.LocalMidnight(); base 527 chrome/browser/net/spdyproxy/data_saving_metrics.cc base::Time::Now(), base 50 chrome/browser/net/spdyproxy/data_saving_metrics.h base::Time now, PrefService* prefs); base 22 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc const base::ListValue& list_update, size_t index) { base 27 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc EXPECT_TRUE(base::StringToInt64(string_value, &value)); base 104 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc base::Time::FromString(kLastUpdateTime, &now_); base 115 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc base::Time FakeNow() const { base 120 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc now_delta_ = base::TimeDelta::FromHours(hours); base 124 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc now_delta_ += base::TimeDelta::FromHours(hours); base 132 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc update->Insert(0, new base::StringValue(base::Int64ToString(0))); base 236 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc base::Time now_; base 237 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc base::TimeDelta now_delta_; base 119 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc base::UTF16ToUTF8(credentials->password()) + "\""; base 159 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.cc if (!base::ConvertToUtf8AndNormalize(value, base::kCodepageLatin1, &realm)) base 98 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc AuthCredentials credentials(base::ASCIIToUTF16(""), base 99 chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc base::ASCIIToUTF16("sid-string")); base 81 chrome/browser/net/spdyproxy/proxy_advisor.cc base::Bind(&ProxyAdvisor::UpdateProxyState, base::Unretained(this))); base 34 chrome/browser/net/sqlite_server_bound_cert_store.cc : public base::RefCountedThreadSafe<SQLiteServerBoundCertStore::Backend> { base 37 chrome/browser/net/sqlite_server_bound_cert_store.cc const base::FilePath& path, base 38 chrome/browser/net/sqlite_server_bound_cert_store.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 116 chrome/browser/net/sqlite_server_bound_cert_store.cc base::FilePath path_; base 126 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Lock lock_; base 131 chrome/browser/net/sqlite_server_bound_cert_store.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 180 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Bind(&Backend::LoadOnDBThread, this, certs_ptr), base 181 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Bind(loaded_callback, base::Passed(&certs))); base 191 chrome/browser/net/sqlite_server_bound_cert_store.cc base::TimeTicks start = base::TimeTicks::Now(); base 195 chrome/browser/net/sqlite_server_bound_cert_store.cc const base::FilePath dir = path_.DirName(); base 196 chrome/browser/net/sqlite_server_bound_cert_store.cc if (!base::PathExists(dir) && !base::CreateDirectory(dir)) base 200 chrome/browser/net/sqlite_server_bound_cert_store.cc if (base::GetFileSize(path_, &db_size)) base 208 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Bind(&SQLiteServerBoundCertStore::Backend::DatabaseErrorCallback, base 209 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Unretained(this))); base 253 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Time::FromInternalValue(smt.ColumnInt64(5)), base 254 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Time::FromInternalValue(smt.ColumnInt64(4)), base 262 chrome/browser/net/sqlite_server_bound_cert_store.cc base::TimeDelta load_time = base::TimeTicks::Now() - start; base 265 chrome/browser/net/sqlite_server_bound_cert_store.cc base::TimeDelta::FromMilliseconds(1), base 266 chrome/browser/net/sqlite_server_bound_cert_store.cc base::TimeDelta::FromMinutes(1), base 418 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Bind(&Backend::KillDatabase, this)); base 457 chrome/browser/net/sqlite_server_bound_cert_store.cc base::AutoLock locked(lock_); base 466 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Bind(&Backend::Commit, this), base 467 chrome/browser/net/sqlite_server_bound_cert_store.cc base::TimeDelta::FromMilliseconds(kCommitIntervalMs)); base 471 chrome/browser/net/sqlite_server_bound_cert_store.cc base::Bind(&Backend::Commit, this)); base 480 chrome/browser/net/sqlite_server_bound_cert_store.cc base::AutoLock locked(lock_); base 546 chrome/browser/net/sqlite_server_bound_cert_store.cc FROM_HERE, base::Bind(&Backend::InternalBackgroundClose, this)); base 604 chrome/browser/net/sqlite_server_bound_cert_store.cc base::AutoLock locked(lock_); base 609 chrome/browser/net/sqlite_server_bound_cert_store.cc const base::FilePath& path, base 610 chrome/browser/net/sqlite_server_bound_cert_store.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 13 chrome/browser/net/sqlite_server_bound_cert_store.h namespace base { base 32 chrome/browser/net/sqlite_server_bound_cert_store.h const base::FilePath& path, base 33 chrome/browser/net/sqlite_server_bound_cert_store.h const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 27 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::RunLoop run_loop; base 28 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc store_->Load(base::Bind(&SQLiteServerBoundCertStoreTest::OnLoaded, base 29 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::Unretained(this), base 37 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::RunLoop* run_loop, base 46 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::FilePath key_path = net::GetTestCertsDirectory().AppendASCII( base 48 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::FilePath cert_path = net::GetTestCertsDirectory().AppendASCII( base 50 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_TRUE(base::ReadFileToString(key_path, key)); base 51 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_TRUE(base::ReadFileToString(cert_path, cert)); base 54 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc static base::Time GetTestCertExpirationTime() { base 59 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc return base::Time::FromInternalValue(GG_INT64_C(16121816625000000)); base 62 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc static base::Time GetTestCertCreationTime() { base 64 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::Time::Exploded exploded_time; base 73 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc return base::Time::FromUTCExploded(exploded_time); base 80 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::MessageLoopProxy::current(), base 89 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(1), base 90 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(2), base 95 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::ScopedTempDir temp_dir_; base 105 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(3), base 106 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(4), base 115 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::RunLoop().RunUntilIdle(); base 118 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::MessageLoopProxy::current(), base 149 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::RunLoop().RunUntilIdle(); base 153 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::MessageLoopProxy::current(), base 165 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::FilePath v1_db_path(temp_dir_.path().AppendASCII("v1db")); base 206 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc v1_db_path, base::MessageLoopProxy::current(), NULL); base 214 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::RunLoop().RunUntilIdle(); base 233 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::FilePath v2_db_path(temp_dir_.path().AppendASCII("v2db")); base 278 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc v2_db_path, base::MessageLoopProxy::current(), NULL); base 292 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_EQ(base::Time(), certs[1]->expiration_time()); base 298 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::RunLoop().RunUntilIdle(); base 317 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::FilePath v3_db_path(temp_dir_.path().AppendASCII("v3db")); base 364 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc v3_db_path, base::MessageLoopProxy::current(), NULL); base 380 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_EQ(base::Time(), certs[1]->creation_time()); base 386 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::RunLoop().RunUntilIdle(); base 405 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::FilePath v4_db_path(temp_dir_.path().AppendASCII("v4dbrsa")); base 438 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindInt64(5, base::Time::Now().ToInternalValue()); base 451 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc add_smt.BindInt64(5, base::Time::Now().ToInternalValue()); base 457 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc v4_db_path, base::MessageLoopProxy::current(), NULL); base 472 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc base::RunLoop().RunUntilIdle(); base 30 chrome/browser/net/ssl_config_service_manager_pref.cc std::vector<std::string> ListValueToStringVector(const base::ListValue* value) { base 34 chrome/browser/net/ssl_config_service_manager_pref.cc for (base::ListValue::const_iterator it = value->begin(); it != value->end(); base 193 chrome/browser/net/ssl_config_service_manager_pref.cc PrefChangeRegistrar::NamedChangeCallback local_state_callback = base::Bind( base 195 chrome/browser/net/ssl_config_service_manager_pref.cc base::Unretained(this), base 265 chrome/browser/net/ssl_config_service_manager_pref.cc base::Bind( base 304 chrome/browser/net/ssl_config_service_manager_pref.cc const base::ListValue* value = base 24 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc using base::ListValue; base 25 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc using base::Value; base 46 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc base::MessageLoop message_loop_; base 56 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc base::Value::CreateBooleanValue(false)); base 69 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc base::Value::CreateBooleanValue(true)); base 93 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc base::ListValue* list_value = new base::ListValue(); base 94 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc list_value->Append(new base::StringValue("0x0004")); base 95 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc list_value->Append(new base::StringValue("0x0005")); base 128 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc base::ListValue* list_value = new base::ListValue(); base 129 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc list_value->Append(new base::StringValue("0x0004")); base 130 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc list_value->Append(new base::StringValue("TLS_NOT_WITH_A_CIPHER_SUITE")); base 131 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc list_value->Append(new base::StringValue("0x0005")); base 132 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc list_value->Append(new base::StringValue("0xBEEFY")); base 11 chrome/browser/net/timed_cache.cc TimedCache::TimedCache(const base::TimeDelta& max_duration) base 22 chrome/browser/net/timed_cache.cc base::TimeTicks now = base::TimeTicks::Now(); base 35 chrome/browser/net/timed_cache.cc mru_cache_.Put(url, base::TimeTicks::Now()); base 23 chrome/browser/net/timed_cache.h explicit TimedCache(const base::TimeDelta& max_duration); base 37 chrome/browser/net/timed_cache.h typedef base::MRUCache<GURL, base::TimeTicks> UrlMruTimedCache; base 41 chrome/browser/net/timed_cache.h const base::TimeDelta max_duration_; base 19 chrome/browser/net/url_info.cc using base::Time; base 20 chrome/browser/net/url_info.cc using base::TimeDelta; base 21 chrome/browser/net/url_info.cc using base::TimeTicks; base 57 chrome/browser/net/url_info.cc base::LazyInstance<GlobalState>::Leaky global_state; base 142 chrome/browser/net/url_info.cc static base::HistogramBase* histogram(NULL); base 144 chrome/browser/net/url_info.cc histogram = base::LinearHistogram::FactoryTimeGet( base 146 chrome/browser/net/url_info.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 274 chrome/browser/net/url_info.cc base::StringAppendF(&result, "%.2d:", print_hours); base 276 chrome/browser/net/url_info.cc base::StringAppendF(&result, "%2.2d:", print_minutes); base 277 chrome/browser/net/url_info.cc base::StringAppendF(&result, "%2.2d", print_seconds); base 289 chrome/browser/net/url_info.cc base::StringAppendF(output, "%" PRIuS " %s", host_infos.size(), base 314 chrome/browser/net/url_info.cc base::StringAppendF( base 325 chrome/browser/net/url_info.cc base::StringAppendF( base 69 chrome/browser/net/url_info.h static base::TimeDelta NullDuration() { base 70 chrome/browser/net/url_info.h return base::TimeDelta::FromMilliseconds(-1); base 86 chrome/browser/net/url_info.h static void set_cache_expiration(base::TimeDelta time); base 87 chrome/browser/net/url_info.h static base::TimeDelta get_cache_expiration(); base 119 chrome/browser/net/url_info.h base::TimeDelta resolve_duration() const { return resolve_duration_;} base 120 chrome/browser/net/url_info.h base::TimeDelta queue_duration() const { return queue_duration_;} base 132 chrome/browser/net/url_info.h void set_time(const base::TimeTicks& time) { time_ = time; } base 135 chrome/browser/net/url_info.h base::TimeDelta GetDuration() { base 136 chrome/browser/net/url_info.h base::TimeTicks old_time = time_; base 137 chrome/browser/net/url_info.h time_ = base::TimeTicks::Now(); base 161 chrome/browser/net/url_info.h base::TimeTicks time_; base 163 chrome/browser/net/url_info.h base::TimeDelta resolve_duration_; base 165 chrome/browser/net/url_info.h base::TimeDelta queue_duration_; base 15 chrome/browser/net/url_info_unittest.cc using base::TimeDelta; base 16 chrome/browser/net/url_info_unittest.cc using base::TimeTicks; base 49 chrome/browser/net/url_info_unittest.cc base::TimeTicks before_resolution_complete = TimeTicks::Now(); base 70 chrome/browser/net/url_info_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(25)); base 81 chrome/browser/net/url_info_unittest.cc base::PlatformThread::Sleep(kMockExpirationTime + base 32 chrome/browser/net/url_request_mock_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 39 chrome/browser/net/url_request_mock_util.cc base::FilePath root_http; base 47 chrome/browser/net/websocket_browsertest.cc content::TitleWatcher watcher(tab, base::ASCIIToUTF16("PASS")); base 48 chrome/browser/net/websocket_browsertest.cc watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 59 chrome/browser/net/websocket_browsertest.cc const base::string16 result = watcher.WaitAndGetTitle(); base 70 chrome/browser/net/websocket_browsertest.cc content::TitleWatcher watcher(tab, base::ASCIIToUTF16("PASS")); base 71 chrome/browser/net/websocket_browsertest.cc watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 82 chrome/browser/net/websocket_browsertest.cc const base::string16 result = watcher.WaitAndGetTitle(); base 26 chrome/browser/network_time/navigation_time_helper.cc base::Time NavigationTimeHelper::GetNavigationTime( base 29 chrome/browser/network_time/navigation_time_helper.cc base::Time local_time = entry->GetTimestamp(); base 35 chrome/browser/network_time/navigation_time_helper.cc base::Time navigation_time = GetNetworkTime(local_time); base 72 chrome/browser/network_time/navigation_time_helper.cc base::Time NavigationTimeHelper::GetNetworkTime(base::Time local_time) { base 27 chrome/browser/network_time/navigation_time_helper.h base::Time GetNavigationTime(const content::NavigationEntry* entry); base 34 chrome/browser/network_time/navigation_time_helper.h virtual base::Time GetNetworkTime(base::Time local_time); base 51 chrome/browser/network_time/navigation_time_helper.h NavigationTimeInfo(base::Time local_time, base::Time network_time) base 53 chrome/browser/network_time/navigation_time_helper.h base::Time local_time; base 54 chrome/browser/network_time/navigation_time_helper.h base::Time network_time; base 12 chrome/browser/network_time/navigation_time_helper_unittest.cc void SetDelta(base::TimeDelta delta) { base 15 chrome/browser/network_time/navigation_time_helper_unittest.cc virtual base::Time GetNetworkTime(base::Time t) OVERRIDE { base 20 chrome/browser/network_time/navigation_time_helper_unittest.cc base::TimeDelta delta_; base 25 chrome/browser/network_time/navigation_time_helper_unittest.cc time_helper.SetDelta(base::TimeDelta::FromHours(1)); base 29 chrome/browser/network_time/navigation_time_helper_unittest.cc entry1->SetTimestamp(base::Time::Now()); base 31 chrome/browser/network_time/navigation_time_helper_unittest.cc EXPECT_EQ(entry1->GetTimestamp() + base::TimeDelta::FromHours(1), base 35 chrome/browser/network_time/navigation_time_helper_unittest.cc time_helper.SetDelta(base::TimeDelta::FromHours(2)); base 36 chrome/browser/network_time/navigation_time_helper_unittest.cc EXPECT_EQ(entry1->GetTimestamp() + base::TimeDelta::FromHours(1), base 42 chrome/browser/network_time/navigation_time_helper_unittest.cc EXPECT_EQ(entry2->GetTimestamp() + base::TimeDelta::FromHours(2), base 47 chrome/browser/network_time/navigation_time_helper_unittest.cc entry1->GetTimestamp() + base::TimeDelta::FromSeconds(1)); base 48 chrome/browser/network_time/navigation_time_helper_unittest.cc EXPECT_EQ(entry1->GetTimestamp() + base::TimeDelta::FromHours(2), base 16 chrome/browser/network_time/network_time.h explicit NetworkTime(base::Time t) : time_internal_(t) {} base 19 chrome/browser/network_time/network_time.h base::Time GetTime() const { base 25 chrome/browser/network_time/network_time.h base::Time time_internal_; base 20 chrome/browser/network_time/network_time_service.cc new base::DictionaryValue(), base 34 chrome/browser/network_time/network_time_service.cc const base::DictionaryValue* time_mapping = base 40 chrome/browser/network_time/network_time_service.cc base::Time local_time_saved = base::Time::FromJsTime(local_time_js); base 41 chrome/browser/network_time/network_time_service.cc if (local_time_saved > base::Time::Now() || base 42 chrome/browser/network_time/network_time_service.cc base::Time::Now() - local_time_saved > base::TimeDelta::FromDays(7)) { base 48 chrome/browser/network_time/network_time_service.cc local_time_saved, base::Time::FromJsTime(network_time_js))); base 62 chrome/browser/network_time/network_time_service.cc base::Time local_now = base::Time::Now(); base 63 chrome/browser/network_time/network_time_service.cc base::Time network_now = GetNetworkTime(local_now); base 64 chrome/browser/network_time/network_time_service.cc base::DictionaryValue time_mapping; base 71 chrome/browser/network_time/network_time_service.cc base::Time NetworkTimeService::GetNetworkTime( base 72 chrome/browser/network_time/network_time_service.cc const base::Time& local_time) { base 77 chrome/browser/network_time/network_time_service.cc base::Time network_time_now; base 78 chrome/browser/network_time/network_time_service.cc if (!network_time_tracker_->GetNetworkTime(base::TimeTicks::Now(), base 82 chrome/browser/network_time/network_time_service.cc return local_time + (network_time_now - base::Time::Now()); base 85 chrome/browser/network_time/network_time_service.cc base::Time NetworkTimeService::GetNetworkNow() { base 86 chrome/browser/network_time/network_time_service.cc return GetNetworkTime(base::Time::Now()); base 29 chrome/browser/network_time/network_time_service.h base::Time GetNetworkTime(const base::Time& local_time); base 32 chrome/browser/network_time/network_time_service.h base::Time GetNetworkNow(); base 41 chrome/browser/network_time/network_time_tracker.cc base::Bind(&RegisterObserverOnIOThread, base 47 chrome/browser/network_time/network_time_tracker.cc const base::Time& network_time, base 48 chrome/browser/network_time/network_time_tracker.cc const base::TimeDelta& resolution, base 49 chrome/browser/network_time/network_time_tracker.cc const base::TimeDelta& latency, base 50 chrome/browser/network_time/network_time_tracker.cc const base::TimeTicks& post_time) { base 57 chrome/browser/network_time/network_time_tracker.cc const base::Time& network_time, base 58 chrome/browser/network_time/network_time_tracker.cc const base::TimeDelta& resolution, base 59 chrome/browser/network_time/network_time_tracker.cc const base::TimeDelta& latency) { base 63 chrome/browser/network_time/network_time_tracker.cc base::Bind(&UpdateNetworkNotifierOnIOThread, base 68 chrome/browser/network_time/network_time_tracker.cc base::TimeTicks::Now())); base 72 chrome/browser/network_time/network_time_tracker.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 74 chrome/browser/network_time/network_time_tracker.cc const base::Time& network_time, base 75 chrome/browser/network_time/network_time_tracker.cc const base::TimeTicks& network_time_ticks, base 76 chrome/browser/network_time/network_time_tracker.cc const base::TimeDelta& network_time_uncertainty) { base 79 chrome/browser/network_time/network_time_tracker.cc base::Bind(observer_callback, base 87 chrome/browser/network_time/network_time_tracker.cc NetworkTimeTracker::TimeMapping::TimeMapping(base::Time local_time, base 88 chrome/browser/network_time/network_time_tracker.cc base::Time network_time) base 105 chrome/browser/network_time/network_time_tracker.cc base::Bind(&RegisterObserverOnUIThread, base 115 chrome/browser/network_time/network_time_tracker.cc base::Time local_time_now = base::Time::Now(); base 122 chrome/browser/network_time/network_time_tracker.cc network_time_ticks_ = base::TimeTicks::Now(); base 125 chrome/browser/network_time/network_time_tracker.cc bool NetworkTimeTracker::GetNetworkTime(const base::TimeTicks& time_ticks, base 126 chrome/browser/network_time/network_time_tracker.cc base::Time* network_time, base 127 chrome/browser/network_time/network_time_tracker.cc base::TimeDelta* uncertainty) const { base 146 chrome/browser/network_time/network_time_tracker.cc return base::Bind(&UpdateNetworkNotifier, base 152 chrome/browser/network_time/network_time_tracker.cc return base::Bind(&OnNetworkTimeUpdatedOnIOThread, base 153 chrome/browser/network_time/network_time_tracker.cc base::MessageLoop::current()->message_loop_proxy(), base 154 chrome/browser/network_time/network_time_tracker.cc base::Bind(&NetworkTimeTracker::OnNetworkTimeUpdate, base 159 chrome/browser/network_time/network_time_tracker.cc const base::Time& network_time, base 160 chrome/browser/network_time/network_time_tracker.cc const base::TimeTicks& network_time_ticks, base 161 chrome/browser/network_time/network_time_tracker.cc const base::TimeDelta& network_time_uncertainty) { base 32 chrome/browser/network_time/network_time_tracker.h typedef base::Callback<void(const base::Time&, base 33 chrome/browser/network_time/network_time_tracker.h const base::TimeDelta&, base 34 chrome/browser/network_time/network_time_tracker.h const base::TimeDelta&)> UpdateCallback; base 43 chrome/browser/network_time/network_time_tracker.h TimeMapping(base::Time local_time, base::Time network_time); base 44 chrome/browser/network_time/network_time_tracker.h base::Time local_time; base 45 chrome/browser/network_time/network_time_tracker.h base::Time network_time; base 55 chrome/browser/network_time/network_time_tracker.h bool GetNetworkTime(const base::TimeTicks& time_ticks, base 56 chrome/browser/network_time/network_time_tracker.h base::Time* network_time, base 57 chrome/browser/network_time/network_time_tracker.h base::TimeDelta* uncertainty) const; base 77 chrome/browser/network_time/network_time_tracker.h const base::Time& network_time, base 78 chrome/browser/network_time/network_time_tracker.h const base::TimeTicks& network_time_ticks, base 79 chrome/browser/network_time/network_time_tracker.h const base::TimeDelta& network_time_uncertainty); base 82 chrome/browser/network_time/network_time_tracker.h base::Time network_time_; base 86 chrome/browser/network_time/network_time_tracker.h base::TimeTicks network_time_ticks_; base 89 chrome/browser/network_time/network_time_tracker.h base::TimeDelta network_time_uncertainty_; base 91 chrome/browser/network_time/network_time_tracker.h base::WeakPtrFactory<NetworkTimeTracker> weak_ptr_factory_; base 93 chrome/browser/network_time/network_time_tracker.h base::ThreadChecker thread_checker_; base 31 chrome/browser/network_time/network_time_tracker_unittest.cc class TestTickClock : public base::TickClock { base 33 chrome/browser/network_time/network_time_tracker_unittest.cc explicit TestTickClock(base::TimeTicks* ticks_now) : ticks_now_(ticks_now) {} base 36 chrome/browser/network_time/network_time_tracker_unittest.cc virtual base::TimeTicks NowTicks() OVERRIDE { base 41 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeTicks* ticks_now_; base 51 chrome/browser/network_time/network_time_tracker_unittest.cc now_(base::Time::NowFromSystemTime()), base 55 chrome/browser/network_time/network_time_tracker_unittest.cc tick_clock_.PassAs<base::TickClock>())) {} base 62 chrome/browser/network_time/network_time_tracker_unittest.cc base::Time Now() const { base 63 chrome/browser/network_time/network_time_tracker_unittest.cc return now_ + (ticks_now_ - base::TimeTicks()); base 66 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeTicks TicksNow() const { base 71 chrome/browser/network_time/network_time_tracker_unittest.cc ticks_now_ += base::TimeDelta::FromMilliseconds(ms); base 87 chrome/browser/network_time/network_time_tracker_unittest.cc void UpdateNetworkTime(const base::Time& network_time, base 88 chrome/browser/network_time/network_time_tracker_unittest.cc const base::TimeDelta& resolution, base 89 chrome/browser/network_time/network_time_tracker_unittest.cc const base::TimeDelta& latency, base 90 chrome/browser/network_time/network_time_tracker_unittest.cc const base::TimeTicks& post_time) { base 93 chrome/browser/network_time/network_time_tracker_unittest.cc base::Bind(&net::NetworkTimeNotifier::UpdateNetworkTime, base 94 chrome/browser/network_time/network_time_tracker_unittest.cc base::Unretained(network_time_notifier_.get()), base 107 chrome/browser/network_time/network_time_tracker_unittest.cc base::Time network_time; base 108 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta uncertainty; base 128 chrome/browser/network_time/network_time_tracker_unittest.cc base::MessageLoop message_loop_; base 134 chrome/browser/network_time/network_time_tracker_unittest.cc base::Time now_; base 135 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeTicks ticks_now_; base 150 chrome/browser/network_time/network_time_tracker_unittest.cc base::Time network_time; base 151 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta uncertainty; base 153 chrome/browser/network_time/network_time_tracker_unittest.cc EXPECT_FALSE(network_time_tracker()->GetNetworkTime(base::TimeTicks(), base 164 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kResolution1), base 165 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kLatency1), base 176 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kResolution2), base 177 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kLatency2), base 187 chrome/browser/network_time/network_time_tracker_unittest.cc base::Time old_now = Now(); base 188 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeTicks old_ticks = TicksNow(); base 192 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kResolution2), base 193 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kLatency2), base 203 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kResolution1), base 204 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kLatency1), base 217 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kResolution1), base 218 chrome/browser/network_time/network_time_tracker_unittest.cc base::TimeDelta::FromMilliseconds(kLatency1), base 100 chrome/browser/notifications/balloon_collection.h void set_on_collection_changed_callback(const base::Closure& callback) { base 110 chrome/browser/notifications/balloon_collection.h base::Closure on_collection_changed_callback_; base 238 chrome/browser/notifications/balloon_collection_impl.cc base::MessageLoopForUI::current()->AddObserver(this); base 245 chrome/browser/notifications/balloon_collection_impl.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 270 chrome/browser/notifications/balloon_collection_impl.cc base::MessageLoop::current()->PostDelayedTask( base 272 chrome/browser/notifications/balloon_collection_impl.cc base::Bind(&BalloonCollectionImpl::CancelOffsets, base 274 chrome/browser/notifications/balloon_collection_impl.cc base::TimeDelta::FromMilliseconds(kRepositionDelayMs)); base 39 chrome/browser/notifications/balloon_collection_impl.h , public base::MessageLoopForUI::Observer base 68 chrome/browser/notifications/balloon_collection_impl.h virtual base::EventStatus WillProcessEvent( base 69 chrome/browser/notifications/balloon_collection_impl.h const base::NativeEvent& event) OVERRIDE; base 70 chrome/browser/notifications/balloon_collection_impl.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; base 200 chrome/browser/notifications/balloon_collection_impl.h BalloonCollectionBase& base() { return base_; } base 239 chrome/browser/notifications/balloon_collection_impl.h base::WeakPtrFactory<BalloonCollectionImpl> reposition_factory_; base 64 chrome/browser/notifications/balloon_host.cc const base::string16& BalloonHost::GetSource() const { base 120 chrome/browser/notifications/balloon_host.cc void BalloonHost::RenderProcessGone(base::TerminationStatus status) { base 42 chrome/browser/notifications/balloon_host.h const base::string16& GetSource() const; base 74 chrome/browser/notifications/balloon_host.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 57 chrome/browser/notifications/balloon_notification_ui_manager.cc base::Bind( base 59 chrome/browser/notifications/balloon_notification_ui_manager.cc base::Unretained(this))); base 93 chrome/browser/notifications/balloon_notification_ui_manager.cc const base::string16& replace_id = notification.replace_id(); base 229 chrome/browser/notifications/balloon_notification_ui_manager.cc const base::string16& replace_id = notification.replace_id(); base 73 chrome/browser/notifications/desktop_notification_service.cc base::string16 display_name, base 81 chrome/browser/notifications/desktop_notification_service.cc virtual base::string16 GetMessageText() const OVERRIDE; base 82 chrome/browser/notifications/desktop_notification_service.cc virtual base::string16 GetMessageTextFragment() const OVERRIDE; base 99 chrome/browser/notifications/desktop_notification_service.cc base::string16 display_name_; base 116 chrome/browser/notifications/desktop_notification_service.cc base::string16 display_name, base 134 chrome/browser/notifications/desktop_notification_service.cc base::string16 NotificationPermissionRequest::GetMessageText() const { base 139 chrome/browser/notifications/desktop_notification_service.cc base::string16 base 192 chrome/browser/notifications/desktop_notification_service.cc const base::string16& display_name, base 201 chrome/browser/notifications/desktop_notification_service.cc const base::string16& display_name, base 210 chrome/browser/notifications/desktop_notification_service.cc virtual base::string16 GetMessageText() const OVERRIDE; base 211 chrome/browser/notifications/desktop_notification_service.cc virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 220 chrome/browser/notifications/desktop_notification_service.cc base::string16 display_name_; base 242 chrome/browser/notifications/desktop_notification_service.cc const base::string16& display_name, base 256 chrome/browser/notifications/desktop_notification_service.cc const base::string16& display_name, base 289 chrome/browser/notifications/desktop_notification_service.cc base::string16 NotificationPermissionInfoBarDelegate::GetMessageText() const { base 294 chrome/browser/notifications/desktop_notification_service.cc base::string16 NotificationPermissionInfoBarDelegate::GetButtonLabel( base 333 chrome/browser/notifications/desktop_notification_service.cc base::string16 DesktopNotificationService::CreateDataUrl( base 335 chrome/browser/notifications/desktop_notification_service.cc const base::string16& title, base 336 chrome/browser/notifications/desktop_notification_service.cc const base::string16& body, base 343 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(title))); base 344 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(body))); base 350 chrome/browser/notifications/desktop_notification_service.cc base::string16 line = title.empty() ? body : title; base 352 chrome/browser/notifications/desktop_notification_service.cc base::string16 line_name = base 353 chrome/browser/notifications/desktop_notification_service.cc title.empty() ? base::ASCIIToUTF16("description") base 354 chrome/browser/notifications/desktop_notification_service.cc : base::ASCIIToUTF16("title"); base 355 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(line_name))); base 356 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(line))); base 359 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(title))); base 360 chrome/browser/notifications/desktop_notification_service.cc subst.push_back(net::EscapeForHTML(base::UTF16ToUTF8(body))); base 370 chrome/browser/notifications/desktop_notification_service.cc base::string16 DesktopNotificationService::CreateDataUrl( base 372 chrome/browser/notifications/desktop_notification_service.cc const base::StringPiece template_html( base 378 chrome/browser/notifications/desktop_notification_service.cc return base::string16(); base 382 chrome/browser/notifications/desktop_notification_service.cc return base::UTF8ToUTF16("data:text/html;charset=utf-8," + base 389 chrome/browser/notifications/desktop_notification_service.cc const base::string16& title, base 390 chrome/browser/notifications/desktop_notification_service.cc const base::string16& message, base 392 chrome/browser/notifications/desktop_notification_service.cc const base::string16& replace_id, base 399 chrome/browser/notifications/desktop_notification_service.cc base::string16(), replace_id, delegate); base 408 chrome/browser/notifications/desktop_notification_service.cc GURL(), content_url, base::string16(), replace_id, delegate); base 416 chrome/browser/notifications/desktop_notification_service.cc const base::string16& title, base 417 chrome/browser/notifications/desktop_notification_service.cc const base::string16& message, base 419 chrome/browser/notifications/desktop_notification_service.cc const base::string16& replace_id, base 426 chrome/browser/notifications/desktop_notification_service.cc base::string16(), replace_id, delegate); base 459 chrome/browser/notifications/desktop_notification_service.cc base::Bind( base 461 chrome/browser/notifications/desktop_notification_service.cc base::Unretained(this), base 462 chrome/browser/notifications/desktop_notification_service.cc base::Unretained(prefs::kMessageCenterDisabledExtensionIds), base 463 chrome/browser/notifications/desktop_notification_service.cc base::Unretained(&disabled_extension_ids_))); base 467 chrome/browser/notifications/desktop_notification_service.cc base::Bind( base 469 chrome/browser/notifications/desktop_notification_service.cc base::Unretained(this), base 470 chrome/browser/notifications/desktop_notification_service.cc base::Unretained(prefs::kMessageCenterDisabledSystemComponentIds), base 471 chrome/browser/notifications/desktop_notification_service.cc base::Unretained(&disabled_system_component_ids_))); base 475 chrome/browser/notifications/desktop_notification_service.cc base::Bind( base 477 chrome/browser/notifications/desktop_notification_service.cc base::Unretained(this), base 478 chrome/browser/notifications/desktop_notification_service.cc base::Unretained(prefs::kMessageCenterEnabledSyncNotifierIds), base 479 chrome/browser/notifications/desktop_notification_service.cc base::Unretained(&enabled_sync_notifier_ids_))); base 622 chrome/browser/notifications/desktop_notification_service.cc base::string16 display_source = base 635 chrome/browser/notifications/desktop_notification_service.cc base::string16 DesktopNotificationService::DisplayNameForOriginInProcessId( base 653 chrome/browser/notifications/desktop_notification_service.cc return base::UTF8ToUTF16((*iter)->name()); base 657 chrome/browser/notifications/desktop_notification_service.cc return base::UTF8ToUTF16(origin.host()); base 707 chrome/browser/notifications/desktop_notification_service.cc scoped_ptr<base::StringValue> id; base 712 chrome/browser/notifications/desktop_notification_service.cc id.reset(new base::StringValue(notifier_id.id)); base 719 chrome/browser/notifications/desktop_notification_service.cc id.reset(new base::StringValue(notifier_id.id)); base 729 chrome/browser/notifications/desktop_notification_service.cc id.reset(new base::StringValue(notifier_id.id)); base 737 chrome/browser/notifications/desktop_notification_service.cc base::ListValue* const list = update.Get(); base 767 chrome/browser/notifications/desktop_notification_service.cc const base::ListValue* pref_list = pref_service->GetList(pref_name); base 802 chrome/browser/notifications/desktop_notification_service.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 803 chrome/browser/notifications/desktop_notification_service.cc args->Append(new base::StringValue( base 817 chrome/browser/notifications/desktop_notification_service.cc base::Bind(&extensions::InfoMap::SetNotificationsDisabled, base 97 chrome/browser/notifications/desktop_notification_service.h static base::string16 CreateDataUrl(const GURL& icon_url, base 98 chrome/browser/notifications/desktop_notification_service.h const base::string16& title, base 99 chrome/browser/notifications/desktop_notification_service.h const base::string16& body, base 105 chrome/browser/notifications/desktop_notification_service.h static base::string16 CreateDataUrl(int resource, base 114 chrome/browser/notifications/desktop_notification_service.h const base::string16& title, base 115 chrome/browser/notifications/desktop_notification_service.h const base::string16& message, base 117 chrome/browser/notifications/desktop_notification_service.h const base::string16& replace_id, base 123 chrome/browser/notifications/desktop_notification_service.h const base::string16& title, base 124 chrome/browser/notifications/desktop_notification_service.h const base::string16& message, base 126 chrome/browser/notifications/desktop_notification_service.h const base::string16& replace_id, base 173 chrome/browser/notifications/desktop_notification_service.h base::string16 DisplayNameForOriginInProcessId(const GURL& origin, base 21 chrome/browser/notifications/desktop_notification_service_win.cc base::win::MetroCancelNotification cancel_metro_notification = base 22 chrome/browser/notifications/desktop_notification_service_win.cc reinterpret_cast<base::win::MetroCancelNotification>(GetProcAddress( base 23 chrome/browser/notifications/desktop_notification_service_win.cc base::win::GetMetroModule(), "CancelNotification")); base 34 chrome/browser/notifications/desktop_notification_service_win.cc base::win::MetroNotification display_metro_notification = base 35 chrome/browser/notifications/desktop_notification_service_win.cc reinterpret_cast<base::win::MetroNotification>(GetProcAddress( base 36 chrome/browser/notifications/desktop_notification_service_win.cc base::win::GetMetroModule(), "DisplayNotification")); base 163 chrome/browser/notifications/desktop_notifications_unittest.cc params.title = base::ASCIIToUTF16("Title"); base 164 chrome/browser/notifications/desktop_notifications_unittest.cc params.body = base::ASCIIToUTF16("Text"); base 176 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 183 chrome/browser/notifications/desktop_notifications_unittest.cc params2.body = base::ASCIIToUTF16("Text"); base 187 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 203 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 229 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 236 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 271 chrome/browser/notifications/desktop_notifications_unittest.cc params.title = base::ASCIIToUTF16("Really Really Really Really Really Really " base 275 chrome/browser/notifications/desktop_notifications_unittest.cc params.body = base::ASCIIToUTF16("Text"); base 286 chrome/browser/notifications/desktop_notifications_unittest.cc params.title = base::ASCIIToUTF16("Short title"); base 343 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 380 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 403 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 425 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 437 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 464 chrome/browser/notifications/desktop_notifications_unittest.cc params.title = base::ASCIIToUTF16("<script>window.alert('uh oh');</script>"); base 465 chrome/browser/notifications/desktop_notifications_unittest.cc params.body = base::ASCIIToUTF16("<i>this text is in italics</i>"); base 470 chrome/browser/notifications/desktop_notifications_unittest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 110 chrome/browser/notifications/desktop_notifications_unittest.h base::MessageLoopForUI message_loop_; base 53 chrome/browser/notifications/extension_welcome_notification.cc base::Bind(&NotificationCallbacks::MarkAsDismissed, this)); base 97 chrome/browser/notifications/extension_welcome_notification.cc virtual base::Time GetCurrentTime() OVERRIDE { base 98 chrome/browser/notifications/extension_welcome_notification.cc return base::Time::Now(); base 103 chrome/browser/notifications/extension_welcome_notification.cc const base::Closure& task) OVERRIDE { base 104 chrome/browser/notifications/extension_welcome_notification.cc base::MessageLoop::current()->PostTask(from_here, task); base 123 chrome/browser/notifications/extension_welcome_notification.cc base::Bind( base 125 chrome/browser/notifications/extension_welcome_notification.cc base::Unretained(this))); base 217 chrome/browser/notifications/extension_welcome_notification.cc const base::string16& display_source, base 229 chrome/browser/notifications/extension_welcome_notification.cc welcome_notification_id_ = base::GenerateGUID(); base 270 chrome/browser/notifications/extension_welcome_notification.cc base::Time expiration_timestamp = GetExpirationTimestamp(); base 277 chrome/browser/notifications/extension_welcome_notification.cc new base::OneShotTimer<ExtensionWelcomeNotification>()); base 299 chrome/browser/notifications/extension_welcome_notification.cc base::Time ExtensionWelcomeNotification::GetExpirationTimestamp() const { base 304 chrome/browser/notifications/extension_welcome_notification.cc ? base::Time() base 305 chrome/browser/notifications/extension_welcome_notification.cc : base::Time::FromInternalValue(expiration_timestamp); base 313 chrome/browser/notifications/extension_welcome_notification.cc base::TimeDelta::FromDays(kRequestedShowTimeDays)).ToInternalValue()); base 317 chrome/browser/notifications/extension_welcome_notification.cc const base::Time expiration_timestamp = GetExpirationTimestamp(); base 16 chrome/browser/notifications/extension_welcome_notification.h namespace base { base 50 chrome/browser/notifications/extension_welcome_notification.h virtual base::Time GetCurrentTime() = 0; base 53 chrome/browser/notifications/extension_welcome_notification.h const base::Closure& task) = 0; base 100 chrome/browser/notifications/extension_welcome_notification.h void ShowWelcomeNotification(const base::string16& display_source, base 119 chrome/browser/notifications/extension_welcome_notification.h base::Time GetExpirationTimestamp() const; base 148 chrome/browser/notifications/extension_welcome_notification.h scoped_ptr<base::OneShotTimer<ExtensionWelcomeNotification> > base 82 chrome/browser/notifications/extension_welcome_notification_unittest.cc : start_time_(base::Time::Now()), base 91 chrome/browser/notifications/extension_welcome_notification_unittest.cc virtual base::Time GetCurrentTime() OVERRIDE { base 97 chrome/browser/notifications/extension_welcome_notification_unittest.cc const base::Closure& task) OVERRIDE { base 105 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::Time GetStartTime() const { return start_time_; } base 107 chrome/browser/notifications/extension_welcome_notification_unittest.cc void SetElapsedTime(base::TimeDelta elapsed_time) { base 112 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::Closure task_to_run = pending_task_; base 118 chrome/browser/notifications/extension_welcome_notification_unittest.cc const base::Time start_time_; base 119 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::TimeDelta elapsed_time_; base 121 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::Closure pending_task_; base 135 chrome/browser/notifications/extension_welcome_notification_unittest.cc task_runner_ = new base::TestSimpleTaskRunner(); base 137 chrome/browser/notifications/extension_welcome_notification_unittest.cc new base::ThreadTaskRunnerHandle(task_runner_)); base 182 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::TestSimpleTaskRunner* task_runner() const { base 185 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::Time GetStartTime() const { base 188 chrome/browser/notifications/extension_welcome_notification_unittest.cc void SetElapsedTime(base::TimeDelta elapsed_time) const { base 236 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::UTF8ToUTF16("Title"), base 237 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::UTF8ToUTF16("Body"), base 241 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::UTF8ToUTF16("Source"), base 242 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::UTF8ToUTF16(notification_id), base 248 chrome/browser/notifications/extension_welcome_notification_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 249 chrome/browser/notifications/extension_welcome_notification_unittest.cc scoped_ptr<base::ThreadTaskRunnerHandle> thread_task_runner_handle_; base 427 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::TimeDelta requested_show_time = base 428 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::TimeDelta::FromDays( base 468 chrome/browser/notifications/extension_welcome_notification_unittest.cc const base::TimeDelta requested_show_time = base 469 chrome/browser/notifications/extension_welcome_notification_unittest.cc base::TimeDelta::FromDays( base 57 chrome/browser/notifications/message_center_notification_manager.cc base::TimeDelta::FromSeconds(kFirstRunIdleDelaySeconds)), base 110 chrome/browser/notifications/message_center_notification_manager.cc const base::string16& replace_id = notification.replace_id(); base 313 chrome/browser/notifications/message_center_notification_manager.cc base::Bind(&message_center::MessageCenter::SetNotificationIcon, base 314 chrome/browser/notifications/message_center_notification_manager.cc base::Unretained(message_center_), base 322 chrome/browser/notifications/message_center_notification_manager.cc base::Bind(&message_center::MessageCenter::SetNotificationImage, base 323 chrome/browser/notifications/message_center_notification_manager.cc base::Unretained(message_center_), base 331 chrome/browser/notifications/message_center_notification_manager.cc base::Bind(&message_center::MessageCenter::SetNotificationButtonIcon, base 332 chrome/browser/notifications/message_center_notification_manager.cc base::Unretained(message_center_), base 339 chrome/browser/notifications/message_center_notification_manager.cc base::Bind(&message_center::MessageCenter::SetNotificationButtonIcon, base 340 chrome/browser/notifications/message_center_notification_manager.cc base::Unretained(message_center_), base 382 chrome/browser/notifications/message_center_notification_manager.cc base::Bind( base 81 chrome/browser/notifications/message_center_notification_manager.h void SetFirstRunTimeoutForTest(base::TimeDelta timeout); base 103 chrome/browser/notifications/message_center_notification_manager.h typedef base::Callback<void(const gfx::Image&)> SetImageCallback; base 105 chrome/browser/notifications/message_center_notification_manager.h : public base::SupportsWeakPtr<ImageDownloads> { base 216 chrome/browser/notifications/message_center_notification_manager.h base::OneShotTimer<MessageCenterNotificationManager> first_run_balloon_timer_; base 220 chrome/browser/notifications/message_center_notification_manager.h base::TimeDelta first_run_idle_timeout_; base 223 chrome/browser/notifications/message_center_notification_manager.h base::WeakPtrFactory<MessageCenterNotificationManager> weak_factory_; base 18 chrome/browser/notifications/message_center_notification_manager_win.cc base::TimeDelta timeout) { base 51 chrome/browser/notifications/message_center_notification_manager_win.cc base::Bind(&MessageCenterNotificationManager::DisplayFirstRunBalloon, base 89 chrome/browser/notifications/message_center_notifications_browsertest.cc log_ += base::IntToString(button_index) + "_"; base 116 chrome/browser/notifications/message_center_notifications_browsertest.cc base::ASCIIToUTF16("title"), base 117 chrome/browser/notifications/message_center_notifications_browsertest.cc base::ASCIIToUTF16("message"), base 119 chrome/browser/notifications/message_center_notifications_browsertest.cc base::UTF8ToUTF16("chrome-test://testing/"), base 120 chrome/browser/notifications/message_center_notifications_browsertest.cc base::UTF8ToUTF16("REPLACE-ME"), base 136 chrome/browser/notifications/message_center_notifications_browsertest.cc base::ASCIIToUTF16("title"), base 137 chrome/browser/notifications/message_center_notifications_browsertest.cc base::ASCIIToUTF16("message"), base 143 chrome/browser/notifications/message_center_notifications_browsertest.cc base::UTF8ToUTF16("chrome-test://testing/"), base 144 chrome/browser/notifications/message_center_notifications_browsertest.cc base::UTF8ToUTF16("REPLACE-ME"), base 332 chrome/browser/notifications/message_center_notifications_browsertest.cc notification.set_title(base::ASCIIToUTF16("title2")); base 42 chrome/browser/notifications/message_center_notifications_unittest_win.cc run_loop_.reset(new base::RunLoop()); base 75 chrome/browser/notifications/message_center_notifications_unittest_win.cc base::string16(), base 76 chrome/browser/notifications/message_center_notifications_unittest_win.cc base::string16(), base 80 chrome/browser/notifications/message_center_notifications_unittest_win.cc base::RunLoop* run_loop() { return run_loop_.get(); } base 85 chrome/browser/notifications/message_center_notifications_unittest_win.cc scoped_ptr<base::RunLoop> run_loop_; base 110 chrome/browser/notifications/message_center_notifications_unittest_win.cc base::RunLoop run_loop_2; base 56 chrome/browser/notifications/message_center_settings_controller.cc const base::string16& display_name, base 57 chrome/browser/notifications/message_center_settings_controller.cc const base::string16& login_info, base 59 chrome/browser/notifications/message_center_settings_controller.cc const base::FilePath& profile_path); base 61 chrome/browser/notifications/message_center_settings_controller.cc const base::string16& display_name, base 62 chrome/browser/notifications/message_center_settings_controller.cc const base::string16& login_info, base 74 chrome/browser/notifications/message_center_settings_controller.cc const base::string16& display_name, base 75 chrome/browser/notifications/message_center_settings_controller.cc const base::string16& login_info, base 77 chrome/browser/notifications/message_center_settings_controller.cc const base::FilePath& profile_path) base 86 chrome/browser/notifications/message_center_settings_controller.cc const base::string16& display_name, base 87 chrome/browser/notifications/message_center_settings_controller.cc const base::string16& login_info, base 102 chrome/browser/notifications/message_center_settings_controller.cc return base::i18n::CompareString16WithCollator( base 242 chrome/browser/notifications/message_center_settings_controller.cc base::UTF8ToUTF16(extension->name()), base 268 chrome/browser/notifications/message_center_settings_controller.cc favicon_tracker_.reset(new base::CancelableTaskTracker()); base 279 chrome/browser/notifications/message_center_settings_controller.cc base::string16 name = base::UTF8ToUTF16(url_pattern); base 296 chrome/browser/notifications/message_center_settings_controller.cc base::Bind(&MessageCenterSettingsController::OnFaviconLoaded, base 297 chrome/browser/notifications/message_center_settings_controller.cc base::Unretained(this), url), base 303 chrome/browser/notifications/message_center_settings_controller.cc const base::string16 screenshot_name = base 355 chrome/browser/notifications/message_center_settings_controller.cc std::map<base::string16, ContentSettingsPattern>::const_iterator iter = base 418 chrome/browser/notifications/message_center_settings_controller.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 542 chrome/browser/notifications/message_center_settings_controller.cc base::MessageLoopProxy::current()->PostTask( base 544 chrome/browser/notifications/message_center_settings_controller.cc base::Bind( base 31 chrome/browser/notifications/message_center_settings_controller.h namespace base { base 112 chrome/browser/notifications/message_center_settings_controller.h scoped_ptr<base::CancelableTaskTracker> favicon_tracker_; base 116 chrome/browser/notifications/message_center_settings_controller.h std::map<base::string16, ContentSettingsPattern> patterns_; base 127 chrome/browser/notifications/message_center_settings_controller.h base::WeakPtrFactory<MessageCenterSettingsController> weak_factory_; base 30 chrome/browser/notifications/message_center_settings_controller_unittest.cc base::FilePath GetProfilePath(const std::string& base_name) { base 120 chrome/browser/notifications/message_center_settings_controller_unittest.cc base::UTF8ToUTF16("Profile-1")); base 124 chrome/browser/notifications/message_center_settings_controller_unittest.cc base::UTF8ToUTF16("Profile-2")); base 128 chrome/browser/notifications/message_center_settings_controller_unittest.cc base::UTF8ToUTF16("Profile-1")); base 133 chrome/browser/notifications/message_center_settings_controller_unittest.cc base::UTF8ToUTF16("Profile-2")); base 138 chrome/browser/notifications/message_center_settings_controller_unittest.cc base::UTF8ToUTF16("Profile-1")); base 149 chrome/browser/notifications/message_center_settings_controller_unittest.cc base::UTF8ToUTF16("Profile-1")); base 155 chrome/browser/notifications/message_center_settings_controller_unittest.cc base::UTF8ToUTF16("Profile-2")); base 161 chrome/browser/notifications/message_center_settings_controller_unittest.cc base::UTF8ToUTF16("Profile-1")); base 127 chrome/browser/notifications/message_center_stats_collector.cc base::UserMetricsAction("Notifications.ShowMessageCenter")); base 131 chrome/browser/notifications/message_center_stats_collector.cc base::UserMetricsAction("Notifications.ShowSettings")); base 139 chrome/browser/notifications/message_center_stats_collector.cc base::UserMetricsAction("Notifications.Mute")); base 142 chrome/browser/notifications/message_center_stats_collector.cc base::UserMetricsAction("Notifications.Unmute")); base 14 chrome/browser/notifications/notification.cc const base::string16& display_source, base 15 chrome/browser/notifications/notification.cc const base::string16& replace_id, base 19 chrome/browser/notifications/notification.cc base::string16(), base 20 chrome/browser/notifications/notification.cc base::string16(), base 34 chrome/browser/notifications/notification.cc const base::string16& title, base 35 chrome/browser/notifications/notification.cc const base::string16& body, base 37 chrome/browser/notifications/notification.cc const base::string16& display_source, base 38 chrome/browser/notifications/notification.cc const base::string16& replace_id, base 62 chrome/browser/notifications/notification.cc const base::string16& title, base 63 chrome/browser/notifications/notification.cc const base::string16& body, base 67 chrome/browser/notifications/notification.cc const base::string16& display_source, base 68 chrome/browser/notifications/notification.cc const base::string16& replace_id, base 98 chrome/browser/notifications/notification.cc const base::string16& title, base 99 chrome/browser/notifications/notification.cc const base::string16& body, base 101 chrome/browser/notifications/notification.cc const base::string16& display_source, base 102 chrome/browser/notifications/notification.cc const base::string16& replace_id, base 30 chrome/browser/notifications/notification.h const base::string16& display_source, base 31 chrome/browser/notifications/notification.h const base::string16& replace_id, base 38 chrome/browser/notifications/notification.h const base::string16& title, base 39 chrome/browser/notifications/notification.h const base::string16& body, base 41 chrome/browser/notifications/notification.h const base::string16& display_source, base 42 chrome/browser/notifications/notification.h const base::string16& replace_id, base 49 chrome/browser/notifications/notification.h const base::string16& title, base 50 chrome/browser/notifications/notification.h const base::string16& body, base 52 chrome/browser/notifications/notification.h const base::string16& display_source, base 53 chrome/browser/notifications/notification.h const base::string16& replace_id, base 59 chrome/browser/notifications/notification.h const base::string16& title, base 60 chrome/browser/notifications/notification.h const base::string16& body, base 64 chrome/browser/notifications/notification.h const base::string16& display_source, base 65 chrome/browser/notifications/notification.h const base::string16& replace_id, base 86 chrome/browser/notifications/notification.h const base::string16& replace_id() const { return replace_id_; } base 132 chrome/browser/notifications/notification.h base::string16 replace_id_; base 138 chrome/browser/notifications/notification_browsertest.cc base::Bind(&NotificationBalloonChangeObserver::OnCollectionChanged, base 139 chrome/browser/notifications/notification_browsertest.cc base::Unretained(this))); base 143 chrome/browser/notifications/notification_browsertest.cc collection_->set_on_collection_changed_callback(base::Closure()); base 340 chrome/browser/notifications/notification_browsertest.cc std::string script = base::StringPrintf( base 385 chrome/browser/notifications/notification_browsertest.cc std::string script = base::StringPrintf( base 538 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("My Title"), base 540 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("My Body"), base 548 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("My Title"), notification.title()); base 549 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("My Body"), notification.message()); base 948 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Title2"), (*notifications.rbegin())->title()); base 949 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Body2"), base 958 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Title2"), notification.title()); base 959 chrome/browser/notifications/notification_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Body2"), notification.message()); base 40 chrome/browser/notifications/notification_object_proxy.cc host->DesktopNotificationPostError(notification_id_, base::string16()); base 56 chrome/browser/notifications/notification_object_proxy.cc return base::StringPrintf("%d:%d:%d:%d", process_id_, route_id_, base 33 chrome/browser/notifications/notification_object_proxy.h friend class base::RefCountedThreadSafe<NotificationObjectProxy>; base 147 chrome/browser/notifications/notification_options_menu_model.cc const base::string16 disable_label = l10n_util::GetStringUTF16( base 152 chrome/browser/notifications/notification_options_menu_model.cc const base::string16 disable_label = l10n_util::GetStringFUTF16( base 159 chrome/browser/notifications/notification_options_menu_model.cc const base::string16 settings_label = l10n_util::GetStringUTF16( base 179 chrome/browser/notifications/notification_options_menu_model.cc base::string16 NotificationOptionsMenuModel::GetLabelForCommandId( base 215 chrome/browser/notifications/notification_options_menu_model.cc return base::string16(); base 46 chrome/browser/notifications/notification_options_menu_model.h virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; base 21 chrome/browser/notifications/notification_test_util.cc base::string16(), base 22 chrome/browser/notifications/notification_test_util.cc base::string16(), base 31 chrome/browser/notifications/screen_lock_notification_blocker.cc base::TimeDelta::FromSeconds(kUserStatePollingIntervalSeconds), base 31 chrome/browser/notifications/screen_lock_notification_blocker.h base::OneShotTimer<ScreenLockNotificationBlocker> timer_; base 49 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc using base::UserMetricsAction; base 382 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::UTF8ToUTF16( base 562 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::ListValue synced_notification_services; base 626 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc std::set<std::string> services, base::ListValue* list_value) { base 633 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::StringValue* string_value(new base::StringValue(*iter)); base 720 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::Bind( base 722 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::Unretained(this), base 723 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::Unretained(&enabled_sending_services_))); base 727 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::Bind( base 729 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::Unretained(this), base 730 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::Unretained(&initialized_sending_services_))); base 734 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::Bind( base 737 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::Unretained(this), base 738 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::Unretained(&synced_notification_first_run_))); base 793 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::ListValue enabled_sending_services; base 794 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::ListValue initialized_sending_services; base 820 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc std::string welcome_notification_id = base::GenerateGUID(); base 835 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::UTF8ToUTF16(app_info->settings_display_name()), base 841 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc base::UTF8ToUTF16(welcome_notification_id), base 178 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h std::set<std::string> services, base::ListValue* list_value); base 203 chrome/browser/notifications/sync_notifier/chrome_notifier_service.h base::ThreadChecker thread_checker_; base 12 chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h namespace base { base 31 chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h static bool UseSyncedNotifications(base::CommandLine* command_line); base 109 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 text = base::UTF8ToUTF16(GetText()); base 110 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 heading = base::UTF8ToUTF16(GetHeading()); base 111 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 description = base::UTF8ToUTF16(GetDescription()); base 112 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 annotation = base::UTF8ToUTF16(GetAnnotation()); base 114 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 display_source = base::UTF8ToUTF16(GetAppId()); base 115 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 replace_key = base::UTF8ToUTF16(GetKey()); base 116 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 notification_heading = heading; base 117 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 notification_text = description; base 118 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 newline = base::UTF8ToUTF16("\n"); base 127 chrome/browser/notifications/sync_notifier/synced_notification.cc base::Time creation_time = base 128 chrome/browser/notifications/sync_notifier/synced_notification.cc base::Time::FromDoubleT(static_cast<double>(GetCreationTime())); base 161 chrome/browser/notifications/sync_notifier/synced_notification.cc message_center::ButtonInfo button_info(base::UTF8ToUTF16(title)); base 139 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h base::ThreadChecker thread_checker_; base 101 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc base::MessageLoopForIO message_loop_; base 271 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kTitle1), base::UTF16ToUTF8(notification.title())); base 272 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kText1), base::UTF16ToUTF8(notification.message())); base 274 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kKey1), base::UTF16ToUTF8(notification.replace_id())); base 347 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc base::UTF16ToUTF8(notification_manager()->notification().title())); base 350 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc base::UTF16ToUTF8(notification_manager()->notification().message())); base 402 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc base::UTF16ToUTF8(notification_manager()->notification().title())); base 405 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc base::UTF16ToUTF8(notification_manager()->notification().message())); base 417 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(), base::UTF16ToUTF8(notification1.replace_id())); base 426 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kTitle1), base::UTF16ToUTF8(notification2.title())); base 427 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kText1), base::UTF16ToUTF8(notification2.message())); base 429 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc EXPECT_EQ(std::string(kKey1), base::UTF16ToUTF8(notification2.replace_id())); base 49 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc base::UTF8ToUTF16("title"), base 50 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc base::UTF8ToUTF16("body"), base 54 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc base::UTF8ToUTF16("display source"), base 55 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc base::UTF8ToUTF16("Replace ID"), base 81 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc base::UTF8ToUTF16("title"), base 82 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc base::UTF8ToUTF16("body"), base 86 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc base::UTF8ToUTF16("display source"), base 87 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc base::UTF8ToUTF16("Replace ID"), base 70 chrome/browser/omaha_query_params/omaha_query_params.cc return base::StringPrintf( base 116 chrome/browser/omaha_query_params/omaha_query_params.cc bool x86_64 = (base::win::OSInfo::GetInstance()->wow64_status() == base 117 chrome/browser/omaha_query_params/omaha_query_params.cc base::win::OSInfo::WOW64_ENABLED); base 11 chrome/browser/omaha_query_params/omaha_query_params_unittest.cc using base::StringPrintf; base 56 chrome/browser/omnibox/omnibox_field_trial.cc const base::FieldTrial::Probability kHUPCullRedirectsFieldTrialDivisor = 100; base 57 chrome/browser/omnibox/omnibox_field_trial.cc const base::FieldTrial::Probability base 65 chrome/browser/omnibox/omnibox_field_trial.cc const base::FieldTrial::Probability base 67 chrome/browser/omnibox/omnibox_field_trial.cc const base::FieldTrial::Probability base 89 chrome/browser/omnibox/omnibox_field_trial.cc return base::StringPrintf("%s%d", kAutocompleteDynamicFieldTrialPrefix, id); base 100 chrome/browser/omnibox/omnibox_field_trial.cc if (base::StringToInt(it->second, &relevance_cap)) base 107 chrome/browser/omnibox/omnibox_field_trial.cc if (base::StringToInt(it->second, &half_life_days)) base 115 chrome/browser/omnibox/omnibox_field_trial.cc base::StringPairs kv_pairs; base 116 chrome/browser/omnibox/omnibox_field_trial.cc if (base::SplitStringIntoKeyValuePairs(it->second, ':', ',', &kv_pairs)) { base 117 chrome/browser/omnibox/omnibox_field_trial.cc for (base::StringPairs::const_iterator it = kv_pairs.begin(); base 120 chrome/browser/omnibox/omnibox_field_trial.cc base::StringToDouble(it->first, &bucket.first); base 121 chrome/browser/omnibox/omnibox_field_trial.cc base::StringToInt(it->second, &bucket.second); base 142 chrome/browser/omnibox/omnibox_field_trial.cc const base::TimeDelta& elapsed_time) const { base 149 chrome/browser/omnibox/omnibox_field_trial.cc time_ms / base::TimeDelta::FromDays(half_life_days_).InMillisecondsF(); base 158 chrome/browser/omnibox/omnibox_field_trial.cc scoped_refptr<base::FieldTrial> trial( base 159 chrome/browser/omnibox/omnibox_field_trial.cc base::FieldTrialList::FactoryGetFieldTrial( base 161 chrome/browser/omnibox/omnibox_field_trial.cc "Standard", 2013, 3, 1, base::FieldTrial::ONE_TIME_RANDOMIZED, NULL)); base 168 chrome/browser/omnibox/omnibox_field_trial.cc trial = base::FieldTrialList::FactoryGetFieldTrial( base 171 chrome/browser/omnibox/omnibox_field_trial.cc base::FieldTrial::ONE_TIME_RANDOMIZED, NULL); base 183 chrome/browser/omnibox/omnibox_field_trial.cc base::FieldTrialList::FindValue(DynamicFieldTrialName(i)); base 195 chrome/browser/omnibox/omnibox_field_trial.cc std::string group_name = base::FieldTrialList::FindFullName( base 201 chrome/browser/omnibox/omnibox_field_trial.cc if (!base::StringToInt(base::StringPiece( base 214 chrome/browser/omnibox/omnibox_field_trial.cc if (base::FieldTrialList::TrialExists(trial_name)) base 217 chrome/browser/omnibox/omnibox_field_trial.cc if (base::FieldTrialList::TrialExists(kBundledExperimentFieldTrialName)) { base 224 chrome/browser/omnibox/omnibox_field_trial.cc return base::FieldTrialList::TrialExists(kHUPCullRedirectsFieldTrialName); base 228 chrome/browser/omnibox/omnibox_field_trial.cc if (!base::FieldTrialList::TrialExists(kHUPCullRedirectsFieldTrialName)) base 232 chrome/browser/omnibox/omnibox_field_trial.cc const int group = base::FieldTrialList::FindValue( base 239 chrome/browser/omnibox/omnibox_field_trial.cc base::FieldTrialList::TrialExists(kHUPCreateShorterMatchFieldTrialName); base 243 chrome/browser/omnibox/omnibox_field_trial.cc if (!base::FieldTrialList::TrialExists(kHUPCreateShorterMatchFieldTrialName)) base 247 chrome/browser/omnibox/omnibox_field_trial.cc const int group = base::FieldTrialList::FindValue( base 252 chrome/browser/omnibox/omnibox_field_trial.cc base::TimeDelta OmniboxFieldTrial::StopTimerFieldTrialDuration() { base 254 chrome/browser/omnibox/omnibox_field_trial.cc if (base::StringToInt( base 255 chrome/browser/omnibox/omnibox_field_trial.cc base::FieldTrialList::FindFullName(kStopTimerFieldTrialName), base 257 chrome/browser/omnibox/omnibox_field_trial.cc return base::TimeDelta::FromMilliseconds(stop_timer_ms); base 258 chrome/browser/omnibox/omnibox_field_trial.cc return base::TimeDelta::FromMilliseconds(1500); base 269 chrome/browser/omnibox/omnibox_field_trial.cc const std::string& group_name = base::FieldTrialList::FindFullName( base 317 chrome/browser/omnibox/omnibox_field_trial.cc if (!base::StringToInt(max_relevance_str, max_relevance)) base 353 chrome/browser/omnibox/omnibox_field_trial.cc base::StringPairs kv_pairs; base 354 chrome/browser/omnibox/omnibox_field_trial.cc if (base::SplitStringIntoKeyValuePairs(demotion_rule, ':', ',', &kv_pairs)) { base 355 chrome/browser/omnibox/omnibox_field_trial.cc for (base::StringPairs::const_iterator it = kv_pairs.begin(); base 361 chrome/browser/omnibox/omnibox_field_trial.cc base::StringToInt(it->first, &k); base 362 chrome/browser/omnibox/omnibox_field_trial.cc base::StringToInt(it->second, &v); base 382 chrome/browser/omnibox/omnibox_field_trial.cc base::SplitString(types_rule, ',', &types); base 389 chrome/browser/omnibox/omnibox_field_trial.cc base::StringToInt(*it, &t); base 414 chrome/browser/omnibox/omnibox_field_trial.cc if (base::StringToInt(it->second, &enabled)) base 438 chrome/browser/omnibox/omnibox_field_trial.cc base::StringToInt(bookmark_value_str, &bookmark_value); base 538 chrome/browser/omnibox/omnibox_field_trial.cc base::IntToString(static_cast<int>(page_classification)); base 18 chrome/browser/omnibox/omnibox_field_trial.h namespace base { base 36 chrome/browser/omnibox/omnibox_field_trial.h double HalfLifeTimeDecay(const base::TimeDelta& elapsed_time) const; base 159 chrome/browser/omnibox/omnibox_field_trial.h static base::TimeDelta StopTimerFieldTrialDuration(); base 29 chrome/browser/omnibox/omnibox_field_trial_unittest.cc field_trial_list_.reset(new base::FieldTrialList( base 36 chrome/browser/omnibox/omnibox_field_trial_unittest.cc static base::FieldTrial* CreateTestTrial(const std::string& name, base 38 chrome/browser/omnibox/omnibox_field_trial_unittest.cc base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( base 58 chrome/browser/omnibox/omnibox_field_trial_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 168 chrome/browser/omnibox/omnibox_field_trial_unittest.cc base::FieldTrialList::CreateFieldTrial( base 179 chrome/browser/omnibox/omnibox_field_trial_unittest.cc base::FieldTrialList::CreateFieldTrial( base 188 chrome/browser/omnibox/omnibox_field_trial_unittest.cc base::FieldTrialList::CreateFieldTrial( base 209 chrome/browser/omnibox/omnibox_field_trial_unittest.cc base::FieldTrialList::CreateFieldTrial( base 237 chrome/browser/omnibox/omnibox_field_trial_unittest.cc base::FieldTrialList::CreateFieldTrial( base 279 chrome/browser/omnibox/omnibox_field_trial_unittest.cc base::FieldTrialList::CreateFieldTrial( base 386 chrome/browser/omnibox/omnibox_field_trial_unittest.cc base::FieldTrialList::CreateFieldTrial( base 414 chrome/browser/omnibox/omnibox_field_trial_unittest.cc EXPECT_EQ(1.0, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(7))); base 417 chrome/browser/omnibox/omnibox_field_trial_unittest.cc EXPECT_EQ(0.5, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(7))); base 418 chrome/browser/omnibox/omnibox_field_trial_unittest.cc EXPECT_EQ(0.25, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(14))); base 419 chrome/browser/omnibox/omnibox_field_trial_unittest.cc EXPECT_EQ(1.0, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(0))); base 420 chrome/browser/omnibox/omnibox_field_trial_unittest.cc EXPECT_EQ(1.0, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(-1))); base 8 chrome/browser/omnibox/omnibox_log.cc const base::string16& text, base 14 chrome/browser/omnibox/omnibox_log.cc base::TimeDelta elapsed_time_since_user_first_modified_omnibox, base 16 chrome/browser/omnibox/omnibox_log.cc base::TimeDelta elapsed_time_since_last_change_to_default_match, base 22 chrome/browser/omnibox/omnibox_log.h const base::string16& text, base 28 chrome/browser/omnibox/omnibox_log.h base::TimeDelta elapsed_time_since_user_first_modified_omnibox, base 30 chrome/browser/omnibox/omnibox_log.h base::TimeDelta elapsed_time_since_last_change_to_default_match, base 35 chrome/browser/omnibox/omnibox_log.h base::string16 text; base 63 chrome/browser/omnibox/omnibox_log.h base::TimeDelta elapsed_time_since_user_first_modified_omnibox; base 73 chrome/browser/omnibox/omnibox_log.h base::TimeDelta elapsed_time_since_last_change_to_default_match; base 10 chrome/browser/parsers/metadata_parser.h namespace base { base 35 chrome/browser/parsers/metadata_parser.h explicit MetadataParser(const base::FilePath& path) {} base 10 chrome/browser/parsers/metadata_parser_factory.h namespace base { base 23 chrome/browser/parsers/metadata_parser_factory.h virtual bool CanParse(const base::FilePath& path, base 29 chrome/browser/parsers/metadata_parser_factory.h virtual MetadataParser* CreateParser(const base::FilePath& path) = 0; base 11 chrome/browser/parsers/metadata_parser_filebase.cc FileMetadataParser::FileMetadataParser(const base::FilePath& path) base 21 chrome/browser/parsers/metadata_parser_filebase.cc if (base::GetFileSize(path_, &size)) { base 22 chrome/browser/parsers/metadata_parser_filebase.cc properties_[MetadataParser::kPropertyFilesize] = base::Int64ToString(size); base 25 chrome/browser/parsers/metadata_parser_filebase.cc value = base::WideToUTF8(path_.BaseName().value()); base 15 chrome/browser/parsers/metadata_parser_filebase.h typedef base::hash_map<std::string, std::string> PropertyMap; base 21 chrome/browser/parsers/metadata_parser_filebase.h explicit FileMetadataParser(const base::FilePath& path); base 33 chrome/browser/parsers/metadata_parser_filebase.h base::FilePath path_; base 28 chrome/browser/parsers/metadata_parser_filebase_unittest.cc int write_size = base::WriteFile(test_file_, content.c_str(), base 37 chrome/browser/parsers/metadata_parser_filebase_unittest.cc return base::UTF16ToASCII(test_file_.BaseName().value()); base 43 chrome/browser/parsers/metadata_parser_filebase_unittest.cc EXPECT_TRUE(base::GetFileSize(test_file_, &size)); base 45 chrome/browser/parsers/metadata_parser_filebase_unittest.cc return base::Int64ToString(size); base 48 chrome/browser/parsers/metadata_parser_filebase_unittest.cc base::ScopedTempDir temp_dir_; base 49 chrome/browser/parsers/metadata_parser_filebase_unittest.cc base::FilePath test_file_; base 7 chrome/browser/parsers/metadata_parser_jpeg.cc JpegMetadataParser::JpegMetadataParser(const base::FilePath& path) base 12 chrome/browser/parsers/metadata_parser_jpeg.h explicit JpegMetadataParser(const base::FilePath& path); base 15 chrome/browser/parsers/metadata_parser_jpeg_factory.cc bool MetadataParserJpegFactory::CanParse(const base::FilePath& path, base 19 chrome/browser/parsers/metadata_parser_jpeg_factory.cc base::FilePath::StringType ext = base::UTF8ToWide(std::string(".jpg")); base 21 chrome/browser/parsers/metadata_parser_jpeg_factory.cc base::FilePath::StringType ext = ".jpg"; base 27 chrome/browser/parsers/metadata_parser_jpeg_factory.cc const base::FilePath& path) { base 12 chrome/browser/parsers/metadata_parser_jpeg_factory.h namespace base { base 21 chrome/browser/parsers/metadata_parser_jpeg_factory.h virtual bool CanParse(const base::FilePath& path, base 24 chrome/browser/parsers/metadata_parser_jpeg_factory.h virtual MetadataParser* CreateParser(const base::FilePath& path) OVERRIDE; base 38 chrome/browser/parsers/metadata_parser_manager.cc const base::FilePath& path) { base 42 chrome/browser/parsers/metadata_parser_manager.cc amount_read = base::ReadFile(path, buffer, sizeof(buffer)); base 14 chrome/browser/parsers/metadata_parser_manager.h namespace base { base 34 chrome/browser/parsers/metadata_parser_manager.h MetadataParser* GetParserForFile(const base::FilePath& path); base 85 chrome/browser/password_manager/chrome_password_manager_client.cc base::Bind(&ChromePasswordManagerClient::CommitFillPasswordForm, base 87 chrome/browser/password_manager/chrome_password_manager_client.cc base::Owned(fill_data.release()))); base 120 chrome/browser/password_manager/chrome_password_manager_client.cc base::FieldTrial::Probability base 123 chrome/browser/password_manager/chrome_password_manager_client.cc base::FieldTrial::Probability enabled_probability = 0; base 47 chrome/browser/password_manager/chrome_password_manager_client.h virtual base::FieldTrial::Probability GetProbabilityForExperiment( base 104 chrome/browser/password_manager/chrome_password_manager_client.h base::WeakPtr< base 108 chrome/browser/password_manager/chrome_password_manager_client.h base::WeakPtrFactory<ChromePasswordManagerClient> weak_factory_; base 30 chrome/browser/password_manager/native_backend_gnome_x.cc using base::UTF8ToUTF16; base 31 chrome/browser/password_manager/native_backend_gnome_x.cc using base::UTF16ToUTF8; base 117 chrome/browser/password_manager/native_backend_gnome_x.cc if (!base::StringPiece(app_value).starts_with(kGnomeKeyringAppString)) base 131 chrome/browser/password_manager/native_backend_gnome_x.cc bool date_ok = base::StringToInt64(string_attr_map["date_created"], base 134 chrome/browser/password_manager/native_backend_gnome_x.cc form->date_created = base::Time::FromTimeT(date_created); base 286 chrome/browser/password_manager/native_backend_gnome_x.cc base::WaitableEvent event_; base 321 chrome/browser/password_manager/native_backend_gnome_x.cc "date_created", base::Int64ToString(date_created).c_str(), base 514 chrome/browser/password_manager/native_backend_gnome_x.cc base::Bind(&GKRMethod::AddLogin, base 515 chrome/browser/password_manager/native_backend_gnome_x.cc base::Unretained(&method), base 535 chrome/browser/password_manager/native_backend_gnome_x.cc base::Bind(&GKRMethod::AddLoginSearch, base 536 chrome/browser/password_manager/native_backend_gnome_x.cc base::Unretained(&method), base 569 chrome/browser/password_manager/native_backend_gnome_x.cc base::Bind(&GKRMethod::UpdateLoginSearch, base 570 chrome/browser/password_manager/native_backend_gnome_x.cc base::Unretained(&method), base 606 chrome/browser/password_manager/native_backend_gnome_x.cc base::Bind(&GKRMethod::RemoveLogin, base 607 chrome/browser/password_manager/native_backend_gnome_x.cc base::Unretained(&method), base 621 chrome/browser/password_manager/native_backend_gnome_x.cc const base::Time& delete_begin, base 622 chrome/browser/password_manager/native_backend_gnome_x.cc const base::Time& delete_end) { base 647 chrome/browser/password_manager/native_backend_gnome_x.cc base::Bind(&GKRMethod::GetLogins, base 648 chrome/browser/password_manager/native_backend_gnome_x.cc base::Unretained(&method), base 661 chrome/browser/password_manager/native_backend_gnome_x.cc bool NativeBackendGnome::GetLoginsCreatedBetween(const base::Time& get_begin, base 662 chrome/browser/password_manager/native_backend_gnome_x.cc const base::Time& get_end, base 700 chrome/browser/password_manager/native_backend_gnome_x.cc base::Bind(&GKRMethod::GetLoginsList, base 701 chrome/browser/password_manager/native_backend_gnome_x.cc base::Unretained(&method), base 717 chrome/browser/password_manager/native_backend_gnome_x.cc base::Bind(&GKRMethod::GetAllLogins, base 718 chrome/browser/password_manager/native_backend_gnome_x.cc base::Unretained(&method), base 735 chrome/browser/password_manager/native_backend_gnome_x.cc return base::StringPrintf("%s-%d", kGnomeKeyringAppString, profile_id_); base 88 chrome/browser/password_manager/native_backend_gnome_x.h const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; base 91 chrome/browser/password_manager/native_backend_gnome_x.h virtual bool GetLoginsCreatedBetween(const base::Time& get_begin, base 92 chrome/browser/password_manager/native_backend_gnome_x.h const base::Time& get_end, base 23 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc using base::UTF8ToUTF16; base 24 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc using base::UTF16ToUTF8; base 112 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc keyring ? base::StringPrintf("keyring %s", keyring) base 140 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::StringPiece(it->second.value_string).starts_with("chrome-")) { base 325 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 326 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::MessageLoop::QuitClosure()); base 327 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::MessageLoop::current()->Run(); base 338 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(&PostQuitTask, &message_loop_)); base 339 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::MessageLoop::current()->Run(); base 342 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc static void PostQuitTask(base::MessageLoop* loop) { base 343 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 415 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::AddLogin), base 416 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), base 426 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::GetLogins), base 427 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), base 444 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::MessageLoopForUI message_loop_; base 460 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::AddLogin), base 461 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_google_)); base 476 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult( &NativeBackendGnome::AddLogin), base 477 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_google_)); base 482 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind( base 483 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::IgnoreResult(&NativeBackendGnome::GetAutofillableLogins), base 484 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), &form_list)); base 526 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::AddLogin), base 527 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_google_)); base 542 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::UpdateLogin), base 543 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), new_form_google)); base 558 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::AddLogin), base 559 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_google_)); base 569 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::RemoveLogin), base 570 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_google_)); base 584 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::AddLogin), base 585 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_google_)); base 596 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::RemoveLogin), base 597 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_isc_)); base 603 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind( base 604 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::IgnoreResult(&NativeBackendGnome::GetAutofillableLogins), base 605 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), &form_list)); base 624 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::AddLogin), base 625 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_google_)); base 628 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::AddLogin), base 629 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_google_)); base 644 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendGnome::AddLogin), base 645 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), form_google_)); base 651 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind( base 652 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::IgnoreResult(&NativeBackendGnome::GetAutofillableLogins), base 653 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), &form_list)); base 656 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Bind( base 657 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::IgnoreResult(&NativeBackendGnome::GetAutofillableLogins), base 658 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc base::Unretained(&backend), &form_list)); base 121 chrome/browser/password_manager/native_backend_kwallet_x.cc base::Bind(&dbus::Bus::ShutdownAndBlock, base 136 chrome/browser/password_manager/native_backend_kwallet_x.cc base::WaitableEvent event(false, false); base 140 chrome/browser/password_manager/native_backend_kwallet_x.cc base::Bind(&NativeBackendKWallet::InitOnDBThread, base 141 chrome/browser/password_manager/native_backend_kwallet_x.cc base::Unretained(this), base 145 chrome/browser/password_manager/native_backend_kwallet_x.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 151 chrome/browser/password_manager/native_backend_kwallet_x.cc base::WaitableEvent* event, base 341 chrome/browser/password_manager/native_backend_kwallet_x.cc const base::Time& delete_begin, base 342 chrome/browser/password_manager/native_backend_kwallet_x.cc const base::Time& delete_end) { base 438 chrome/browser/password_manager/native_backend_kwallet_x.cc bool NativeBackendKWallet::GetLoginsCreatedBetween(const base::Time& get_begin, base 439 chrome/browser/password_manager/native_backend_kwallet_x.cc const base::Time& get_end, base 553 chrome/browser/password_manager/native_backend_kwallet_x.cc const base::Time& begin, base 554 chrome/browser/password_manager/native_backend_kwallet_x.cc const base::Time& end, base 785 chrome/browser/password_manager/native_backend_kwallet_x.cc form->date_created = base::Time::FromTimeT(date_created); base 923 chrome/browser/password_manager/native_backend_kwallet_x.cc return base::StringPrintf("%s (%d)", kKWalletFolder, profile_id_); base 24 chrome/browser/password_manager/native_backend_kwallet_x.h namespace base { base 47 chrome/browser/password_manager/native_backend_kwallet_x.h const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; base 50 chrome/browser/password_manager/native_backend_kwallet_x.h virtual bool GetLoginsCreatedBetween(const base::Time& get_begin, base 51 chrome/browser/password_manager/native_backend_kwallet_x.h const base::Time& get_end, base 79 chrome/browser/password_manager/native_backend_kwallet_x.h base::WaitableEvent* event, base 94 chrome/browser/password_manager/native_backend_kwallet_x.h const base::Time& begin, base 95 chrome/browser/password_manager/native_backend_kwallet_x.h const base::Time& end, base 30 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc using base::UTF8ToUTF16; base 207 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::WaitableEvent event(false, false); base 209 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(ThreadDone, &event)); base 215 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc static void ThreadDone(base::WaitableEvent* event) { base 226 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::MessageLoopForUI message_loop_; base 289 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 290 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::MessageLoop::QuitClosure()); base 291 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::MessageLoop::current()->Run(); base 515 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendKWalletStub::AddLogin), base 516 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), form_google_)); base 535 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendKWalletStub::AddLogin), base 536 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), form_google_)); base 541 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind( base 542 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::IgnoreResult(&NativeBackendKWalletStub::GetAutofillableLogins), base 543 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), &form_list)); base 566 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendKWalletStub::AddLogin), base 567 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), form_google_)); base 581 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendKWalletStub::RemoveLogin), base 582 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), form_google_)); base 597 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendKWalletStub::AddLogin), base 598 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), form_google_)); base 613 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendKWalletStub::RemoveLogin), base 614 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), form_isc_)); base 620 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind( base 621 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::IgnoreResult(&NativeBackendKWalletStub::GetAutofillableLogins), base 622 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), &form_list)); base 639 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendKWalletStub::AddLogin), base 640 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), form_google_)); base 643 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendKWalletStub::AddLogin), base 644 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), form_google_)); base 663 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind(base::IgnoreResult(&NativeBackendKWalletStub::AddLogin), base 664 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), form_google_)); base 670 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind( base 671 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::IgnoreResult(&NativeBackendKWalletStub::GetAutofillableLogins), base 672 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), &form_list)); base 675 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Bind( base 676 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::IgnoreResult(&NativeBackendKWalletStub::GetAutofillableLogins), base 677 chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc base::Unretained(&backend), &form_list)); base 493 chrome/browser/password_manager/password_manager_browsertest.cc base::HistogramBase* upload_histogram = base 494 chrome/browser/password_manager/password_manager_browsertest.cc base::StatisticsRecorder::FindHistogram( base 497 chrome/browser/password_manager/password_manager_browsertest.cc scoped_ptr<base::HistogramSamples> snapshot = base 58 chrome/browser/password_manager/password_manager_metrics_util_unittest.cc group_indices->Set(i, new base::FundamentalValue(static_cast<int>(j))); base 68 chrome/browser/password_manager/password_manager_util_win.cc base::Time changed = base::Time::Now() - base::TimeDelta::FromSeconds(age); base 116 chrome/browser/password_manager/password_manager_util_win.cc last_changed += base::Time::kMicrosecondsPerSecond; base 154 chrome/browser/password_manager/password_manager_util_win.cc base::UTF16ToWide(l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); base 156 chrome/browser/password_manager/password_manager_util_win.cc base::UTF16ToWide(l10n_util::GetStringUTF16( base 167 chrome/browser/password_manager/password_manager_util_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 123 chrome/browser/password_manager/password_store_factory.cc base::FilePath login_db_file_path = profile->GetPath(); base 129 chrome/browser/password_manager/password_store_factory.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 136 chrome/browser/password_manager/password_store_factory.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner( base 137 chrome/browser/password_manager/password_store_factory.cc base::MessageLoopProxy::current()); base 138 chrome/browser/password_manager/password_store_factory.cc scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner( base 164 chrome/browser/password_manager/password_store_factory.cc base::nix::DesktopEnvironment desktop_env; base 169 chrome/browser/password_manager/password_store_factory.cc desktop_env = base::nix::DESKTOP_ENVIRONMENT_KDE4; base 171 chrome/browser/password_manager/password_store_factory.cc desktop_env = base::nix::DESKTOP_ENVIRONMENT_GNOME; base 173 chrome/browser/password_manager/password_store_factory.cc desktop_env = base::nix::DESKTOP_ENVIRONMENT_OTHER; base 176 chrome/browser/password_manager/password_store_factory.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 177 chrome/browser/password_manager/password_store_factory.cc desktop_env = base::nix::GetDesktopEnvironment(env.get()); base 178 chrome/browser/password_manager/password_store_factory.cc const char* name = base::nix::GetDesktopEnvironmentName(desktop_env); base 187 chrome/browser/password_manager/password_store_factory.cc if (desktop_env == base::nix::DESKTOP_ENVIRONMENT_KDE4) { base 195 chrome/browser/password_manager/password_store_factory.cc } else if (desktop_env == base::nix::DESKTOP_ENVIRONMENT_GNOME || base 196 chrome/browser/password_manager/password_store_factory.cc desktop_env == base::nix::DESKTOP_ENVIRONMENT_UNITY || base 197 chrome/browser/password_manager/password_store_factory.cc desktop_env == base::nix::DESKTOP_ENVIRONMENT_XFCE) { base 203 chrome/browser/password_manager/password_store_mac.cc base::Time* time) { base 209 chrome/browser/password_manager/password_store_mac.cc base::Time::Exploded exploded_time; base 219 chrome/browser/password_manager/password_store_mac.cc *time = base::Time::FromUTCExploded(exploded_time); base 280 chrome/browser/password_manager/password_store_mac.cc base::UTF8ToUTF16(static_cast<const char *>(password_data), password_length, base 295 chrome/browser/password_manager/password_store_mac.cc base::UTF8ToUTF16(static_cast<const char *>(attr.data), attr.length, base 626 chrome/browser/password_manager/password_store_mac.cc std::string username = base::UTF16ToUTF8(query_form.username_value); base 674 chrome/browser/password_manager/password_store_mac.cc std::string username = base::UTF16ToUTF8(form.username_value); base 675 chrome/browser/password_manager/password_store_mac.cc std::string password = base::UTF16ToUTF8(form.password_value); base 690 chrome/browser/password_manager/password_store_mac.cc base::mac::CreatorCodeForApplication()); base 746 chrome/browser/password_manager/password_store_mac.cc std::string username = base::UTF16ToUTF8(form.username_value); base 823 chrome/browser/password_manager/password_store_mac.cc return finds_only_owned_ ? base::mac::CreatorCodeForApplication() : 0; base 829 chrome/browser/password_manager/password_store_mac.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 830 chrome/browser/password_manager/password_store_mac.cc scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, base 845 chrome/browser/password_manager/password_store_mac.cc thread_.reset(new base::Thread("Chrome_PasswordStore_Thread")); base 864 chrome/browser/password_manager/password_store_mac.cc scoped_refptr<base::SingleThreadTaskRunner> base 944 chrome/browser/password_manager/password_store_mac.cc const base::Time& delete_begin, const base::Time& delete_end) { base 1047 chrome/browser/password_manager/password_store_mac.cc DCHECK(thread_->message_loop() == base::MessageLoop::current()); base 1066 chrome/browser/password_manager/password_store_mac.cc DCHECK(thread_->message_loop() == base::MessageLoop::current()); base 30 chrome/browser/password_manager/password_store_mac.h scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 31 chrome/browser/password_manager/password_store_mac.h scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, base 45 chrome/browser/password_manager/password_store_mac.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 57 chrome/browser/password_manager/password_store_mac.h const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; base 96 chrome/browser/password_manager/password_store_mac.h scoped_ptr<base::Thread> thread_; base 22 chrome/browser/password_manager/password_store_mac_unittest.cc using base::ASCIIToUTF16; base 23 chrome/browser/password_manager/password_store_mac_unittest.cc using base::WideToUTF16; base 56 chrome/browser/password_manager/password_store_mac_unittest.cc base::MessageLoop::current()->Quit(); base 62 chrome/browser/password_manager/password_store_mac_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 63 chrome/browser/password_manager/password_store_mac_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, base 185 chrome/browser/password_manager/password_store_mac_unittest.cc form->date_created = base::Time::FromDoubleT(form_data.creation_time); base 333 chrome/browser/password_manager/password_store_mac_unittest.cc base::Time::Exploded exploded_time; base 669 chrome/browser/password_manager/password_store_mac_unittest.cc different_form.date_created = base::Time::Now(); base 1057 chrome/browser/password_manager/password_store_mac_unittest.cc base::FilePath db_file = db_dir_.path().AppendASCII("login.db"); base 1063 chrome/browser/password_manager/password_store_mac_unittest.cc base::MessageLoopProxy::current(), base 1064 chrome/browser/password_manager/password_store_mac_unittest.cc base::MessageLoopProxy::current(), base 1081 chrome/browser/password_manager/password_store_mac_unittest.cc base::MessageLoop::current()->Run(); base 1085 chrome/browser/password_manager/password_store_mac_unittest.cc base::MessageLoopForUI message_loop_; base 1091 chrome/browser/password_manager/password_store_mac_unittest.cc base::ScopedTempDir db_dir_; base 1224 chrome/browser/password_manager/password_store_mac_unittest.cc base::MessageLoop::current()->Run(); base 93 chrome/browser/password_manager/password_store_win.cc ie7_password::GetUrlHash(base::UTF8ToWide(form.origin.spec())); base 115 chrome/browser/password_manager/password_store_win.cc std::wstring url = base::ASCIIToWide(form.origin.spec()); base 167 chrome/browser/password_manager/password_store_win.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 168 chrome/browser/password_manager/password_store_win.cc scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, base 188 chrome/browser/password_manager/password_store_win.cc base::Bind(&PasswordStoreWin::ShutdownOnDBThread, this)); base 210 chrome/browser/password_manager/password_store_win.cc base::Bind(&PasswordStoreWin::GetIE7LoginIfNecessary, base 24 chrome/browser/password_manager/password_store_win.h scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 25 chrome/browser/password_manager/password_store_win.h scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, base 33 chrome/browser/password_manager/password_store_win_unittest.cc using base::WaitableEvent; base 64 chrome/browser/password_manager/password_store_win_unittest.cc bool CreateIE7PasswordInfo(const std::wstring& url, const base::Time& created, base 116 chrome/browser/password_manager/password_store_win_unittest.cc base::FilePath path = temp_dir_.path().AppendASCII("web_data_test"); base 135 chrome/browser/password_manager/password_store_win_unittest.cc base::WaitableEvent done(false, false); base 137 chrome/browser/password_manager/password_store_win_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&done))); base 139 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 140 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::QuitClosure()); base 141 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->Run(); base 147 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoopProxy::current(), base 153 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoopForUI message_loop_; base 158 chrome/browser/password_manager/password_store_win_unittest.cc base::ScopedTempDir temp_dir_; base 172 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->Quit(); base 184 chrome/browser/password_manager/password_store_win_unittest.cc base::Time::FromDoubleT(1), base 197 chrome/browser/password_manager/password_store_win_unittest.cc base::Bind(&WaitableEvent::Signal, base::Unretained(&done))); base 246 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->Run(); base 278 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 285 chrome/browser/password_manager/password_store_win_unittest.cc base::Time::FromDoubleT(1), base 293 chrome/browser/password_manager/password_store_win_unittest.cc base::Bind(&WaitableEvent::Signal, base::Unretained(&done))); base 351 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->Run(); base 352 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->Run(); base 388 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->Run(); base 409 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->Run(); base 430 chrome/browser/password_manager/password_store_win_unittest.cc base::MessageLoop::current()->Run(); base 27 chrome/browser/password_manager/password_store_x.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 28 chrome/browser/password_manager/password_store_x.cc scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, base 77 chrome/browser/password_manager/password_store_x.cc const base::Time& delete_begin, base 78 chrome/browser/password_manager/password_store_x.cc const base::Time& delete_end) { base 43 chrome/browser/password_manager/password_store_x.h virtual bool RemoveLoginsCreatedBetween(const base::Time& delete_begin, base 44 chrome/browser/password_manager/password_store_x.h const base::Time& delete_end) = 0; base 47 chrome/browser/password_manager/password_store_x.h virtual bool GetLoginsCreatedBetween(const base::Time& get_begin, base 48 chrome/browser/password_manager/password_store_x.h const base::Time& get_end, base 56 chrome/browser/password_manager/password_store_x.h PasswordStoreX(scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 57 chrome/browser/password_manager/password_store_x.h scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, base 74 chrome/browser/password_manager/password_store_x.h const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; base 63 chrome/browser/password_manager/password_store_x_unittest.cc const base::Time& delete_begin, base 64 chrome/browser/password_manager/password_store_x_unittest.cc const base::Time& delete_end) OVERRIDE { base 73 chrome/browser/password_manager/password_store_x_unittest.cc virtual bool GetLoginsCreatedBetween(const base::Time& get_begin, base 74 chrome/browser/password_manager/password_store_x_unittest.cc const base::Time& get_end, base 111 chrome/browser/password_manager/password_store_x_unittest.cc const base::Time& delete_begin, base 112 chrome/browser/password_manager/password_store_x_unittest.cc const base::Time& delete_end) OVERRIDE { base 129 chrome/browser/password_manager/password_store_x_unittest.cc virtual bool GetLoginsCreatedBetween(const base::Time& get_begin, base 130 chrome/browser/password_manager/password_store_x_unittest.cc const base::Time& get_end, base 195 chrome/browser/password_manager/password_store_x_unittest.cc std::string realm = base::StringPrintf("http://%zu.%s.com", i, domain); base 196 chrome/browser/password_manager/password_store_x_unittest.cc std::string origin = base::StringPrintf("http://%zu.%s.com/origin", base 198 chrome/browser/password_manager/password_store_x_unittest.cc std::string action = base::StringPrintf("http://%zu.%s.com/action", base 233 chrome/browser/password_manager/password_store_x_unittest.cc base::RunLoop().RunUntilIdle(); base 250 chrome/browser/password_manager/password_store_x_unittest.cc base::ScopedTempDir temp_dir_; base 259 chrome/browser/password_manager/password_store_x_unittest.cc new PasswordStoreX(base::MessageLoopProxy::current(), base 260 chrome/browser/password_manager/password_store_x_unittest.cc base::MessageLoopProxy::current(), base 294 chrome/browser/password_manager/password_store_x_unittest.cc base::RunLoop().RunUntilIdle(); base 297 chrome/browser/password_manager/password_store_x_unittest.cc form->password_value = base::ASCIIToUTF16("a different password"); base 311 chrome/browser/password_manager/password_store_x_unittest.cc base::RunLoop().RunUntilIdle(); base 325 chrome/browser/password_manager/password_store_x_unittest.cc base::RunLoop().RunUntilIdle(); base 341 chrome/browser/password_manager/password_store_x_unittest.cc const base::FilePath login_db_file = temp_dir_.path().Append("login_test"); base 342 chrome/browser/password_manager/password_store_x_unittest.cc base::File::Info db_file_start_info; base 343 chrome/browser/password_manager/password_store_x_unittest.cc ASSERT_TRUE(base::GetFileInfo(login_db_file, &db_file_start_info)); base 358 chrome/browser/password_manager/password_store_x_unittest.cc base::File::Info db_file_full_info; base 359 chrome/browser/password_manager/password_store_x_unittest.cc ASSERT_TRUE(base::GetFileInfo(login_db_file, &db_file_full_info)); base 364 chrome/browser/password_manager/password_store_x_unittest.cc new PasswordStoreX(base::MessageLoopProxy::current(), base 365 chrome/browser/password_manager/password_store_x_unittest.cc base::MessageLoopProxy::current(), base 379 chrome/browser/password_manager/password_store_x_unittest.cc base::RunLoop().RunUntilIdle(); base 387 chrome/browser/password_manager/password_store_x_unittest.cc base::RunLoop().RunUntilIdle(); base 407 chrome/browser/password_manager/password_store_x_unittest.cc base::RunLoop().RunUntilIdle(); base 424 chrome/browser/password_manager/password_store_x_unittest.cc base::RunLoop().RunUntilIdle(); base 432 chrome/browser/password_manager/password_store_x_unittest.cc base::File::Info db_file_end_info; base 433 chrome/browser/password_manager/password_store_x_unittest.cc ASSERT_TRUE(base::GetFileInfo(login_db_file, &db_file_end_info)); base 42 chrome/browser/password_manager/save_password_infobar_delegate.cc base::UTF16ToUTF8(form_to_save->associated_username()), base 61 chrome/browser/password_manager/save_password_infobar_delegate.cc const base::TimeDelta kMinimumPromptDisplayTime = base 62 chrome/browser/password_manager/save_password_infobar_delegate.cc base::TimeDelta::FromSeconds(1); base 123 chrome/browser/password_manager/save_password_infobar_delegate.cc base::string16 SavePasswordInfoBarDelegate::GetMessageText() const { base 127 chrome/browser/password_manager/save_password_infobar_delegate.cc base::string16 SavePasswordInfoBarDelegate::GetButtonLabel( base 67 chrome/browser/password_manager/save_password_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 68 chrome/browser/password_manager/save_password_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 84 chrome/browser/password_manager/save_password_infobar_delegate.h base::ElapsedTimer timer_; base 32 chrome/browser/pepper_broker_infobar_delegate.cc const base::FilePath& plugin_path, base 33 chrome/browser/pepper_broker_infobar_delegate.cc const base::Callback<void(bool)>& callback) { base 54 chrome/browser/pepper_broker_infobar_delegate.cc base::UserMetricsAction("PPAPI.BrokerInfobarDisplayed")); base 67 chrome/browser/pepper_broker_infobar_delegate.cc base::UserMetricsAction("PPAPI.BrokerSettingAllow") : base 68 chrome/browser/pepper_broker_infobar_delegate.cc base::UserMetricsAction("PPAPI.BrokerSettingDeny")); base 75 chrome/browser/pepper_broker_infobar_delegate.cc const base::FilePath& plugin_path, base 79 chrome/browser/pepper_broker_infobar_delegate.cc const base::Callback<void(bool)>& callback) base 98 chrome/browser/pepper_broker_infobar_delegate.cc base::string16 PepperBrokerInfoBarDelegate::GetMessageText() const { base 112 chrome/browser/pepper_broker_infobar_delegate.cc base::string16 PepperBrokerInfoBarDelegate::GetButtonLabel( base 128 chrome/browser/pepper_broker_infobar_delegate.cc base::string16 PepperBrokerInfoBarDelegate::GetLinkText() const { base 144 chrome/browser/pepper_broker_infobar_delegate.cc base::UserMetricsAction("PPAPI.BrokerInfobarClickedAllow") : base 145 chrome/browser/pepper_broker_infobar_delegate.cc base::UserMetricsAction("PPAPI.BrokerInfobarClickedDeny")); base 147 chrome/browser/pepper_broker_infobar_delegate.cc callback_ = base::Callback<void(bool)>(); base 32 chrome/browser/pepper_broker_infobar_delegate.h const base::FilePath& plugin_path, base 33 chrome/browser/pepper_broker_infobar_delegate.h const base::Callback<void(bool)>& callback); base 37 chrome/browser/pepper_broker_infobar_delegate.h const base::FilePath& plugin_path, base 41 chrome/browser/pepper_broker_infobar_delegate.h const base::Callback<void(bool)>& callback); base 46 chrome/browser/pepper_broker_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 47 chrome/browser/pepper_broker_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 50 chrome/browser/pepper_broker_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 56 chrome/browser/pepper_broker_infobar_delegate.h const base::FilePath plugin_path_; base 60 chrome/browser/pepper_broker_infobar_delegate.h base::Callback<void(bool)> callback_; base 37 chrome/browser/pepper_flash_settings_manager.cc public base::RefCountedThreadSafe<Core, BrowserThread::DeleteOnIOThread> { base 39 chrome/browser/pepper_flash_settings_manager.cc Core(base::WeakPtr<PepperFlashSettingsManager> manager, base 130 chrome/browser/pepper_flash_settings_manager.cc const base::FilePath& profile_path); base 183 chrome/browser/pepper_flash_settings_manager.cc base::WeakPtr<PepperFlashSettingsManager> manager_; base 186 chrome/browser/pepper_flash_settings_manager.cc base::FilePath plugin_data_path_; base 207 chrome/browser/pepper_flash_settings_manager.cc base::FilePath browser_context_path_; base 213 chrome/browser/pepper_flash_settings_manager.cc base::WeakPtr<PepperFlashSettingsManager> manager, base 230 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::InitializeOnIOThread, this)); base 242 chrome/browser/pepper_flash_settings_manager.cc BrowserThread::IO, FROM_HERE, base::Bind(&Core::DetachOnIOThread, this)); base 251 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::DeauthorizeContentLicensesOnIOThread, this, base 262 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::GetPermissionSettingsOnIOThread, this, request_id, base 275 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::SetDefaultPermissionOnIOThread, this, request_id, base 287 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::SetSitePermissionOnIOThread, this, request_id, base 296 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::GetSitesWithDataOnIOThread, this, request_id)); base 307 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::ClearSiteDataOnIOThread, this, request_id, base 410 chrome/browser/pepper_flash_settings_manager.cc base::FilePath profile_path = base 415 chrome/browser/pepper_flash_settings_manager.cc plugin_data_path_ = profile_path.Append(base::UTF16ToUTF8(plugin_info.name)); base 420 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::ConnectToChannel, this); base 446 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::DeauthorizeContentLicensesOnBlockingPool, this, base 458 chrome/browser/pepper_flash_settings_manager.cc const base::FilePath& profile_path) { base 461 chrome/browser/pepper_flash_settings_manager.cc const base::FilePath& device_id_path = base 463 chrome/browser/pepper_flash_settings_manager.cc bool success = base::DeleteFile(device_id_path, false); base 467 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::DeauthorizeContentLicensesInPlugin, this, request_id, base 676 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::NotifyError, this, notifications)); base 811 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::NotifyDeauthorizeContentLicensesCompleted, this, base 836 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::NotifyGetPermissionSettingsCompleted, this, base 859 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::NotifySetDefaultPermissionCompleted, this, base 882 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::NotifySetSitePermissionCompleted, this, request_id, base 903 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::NotifyGetSitesWithDataCompleted, this, request_id, base 926 chrome/browser/pepper_flash_settings_manager.cc base::Bind(&Core::NotifyClearSiteDataCompleted, this, request_id, base 131 chrome/browser/pepper_flash_settings_manager.h base::WeakPtrFactory<PepperFlashSettingsManager> weak_ptr_factory_; base 43 chrome/browser/performance_monitor/constants.h const int64 kMicrosecondsPerMonth = base::Time::kMicrosecondsPerDay * 30; base 44 chrome/browser/performance_monitor/constants.h const int64 kMicrosecondsPerYear = base::Time::kMicrosecondsPerDay * 365; base 36 chrome/browser/performance_monitor/database.cc const base::TimeDelta kActiveIntervalTimeout() { base 37 chrome/browser/performance_monitor/database.cc return base::TimeDelta::FromMinutes(5); base 44 chrome/browser/performance_monitor/database.cc base::StringToInt64(start_time, &start_time_int); base 45 chrome/browser/performance_monitor/database.cc base::StringToInt64(end_time, &end_time_int); base 46 chrome/browser/performance_monitor/database.cc return TimeRange(base::Time::FromInternalValue(start_time_int), base 47 chrome/browser/performance_monitor/database.cc base::Time::FromInternalValue(end_time_int)); base 52 chrome/browser/performance_monitor/database.cc if (!base::StringToDouble(s, &value)) base 60 chrome/browser/performance_monitor/database.cc base::Value* value = base::JSONReader::Read(data); base 61 chrome/browser/performance_monitor/database.cc base::DictionaryValue* dict = NULL; base 65 chrome/browser/performance_monitor/database.cc return Event::FromValue(scoped_ptr<base::DictionaryValue>(dict)); base 76 chrome/browser/performance_monitor/database.cc TimeRange::TimeRange(base::Time start_time, base::Time end_time) base 84 chrome/browser/performance_monitor/database.cc base::Time Database::SystemClock::GetTime() { base 85 chrome/browser/performance_monitor/database.cc return base::Time::Now(); base 89 chrome/browser/performance_monitor/database.cc scoped_ptr<Database> Database::Create(base::FilePath path) { base 96 chrome/browser/performance_monitor/database.cc if (!base::DirectoryExists(path) && !base::CreateDirectory(path)) base 124 chrome/browser/performance_monitor/database.cc base::JSONWriter::Write(event.data(), &value); base 130 chrome/browser/performance_monitor/database.cc std::vector<TimeRange> Database::GetActiveIntervals(const base::Time& start, base 131 chrome/browser/performance_monitor/database.cc const base::Time& end) { base 161 chrome/browser/performance_monitor/database.cc const base::Time& start, base 162 chrome/browser/performance_monitor/database.cc const base::Time& end) { base 194 chrome/browser/performance_monitor/database.cc Database::EventTypeSet Database::GetEventTypes(const base::Time& start, base 195 chrome/browser/performance_monitor/database.cc const base::Time& end) { base 260 chrome/browser/performance_monitor/database.cc Database::MetricTypeSet Database::GetActiveMetrics(const base::Time& start, base 261 chrome/browser/performance_monitor/database.cc const base::Time& end) { base 313 chrome/browser/performance_monitor/database.cc const base::Time& start) { base 360 chrome/browser/performance_monitor/database.cc const base::Time& start, base 361 chrome/browser/performance_monitor/database.cc const base::Time& end) { base 394 chrome/browser/performance_monitor/database.cc const base::Time& start, base 395 chrome/browser/performance_monitor/database.cc const base::Time& end) { base 427 chrome/browser/performance_monitor/database.cc Database::Database(const base::FilePath& path) base 480 chrome/browser/performance_monitor/database.cc std::string name = base::WideToUTF8(path_.AppendASCII(path).value()); base 576 chrome/browser/performance_monitor/database.cc base::Time current_time = clock_->GetTime(); base 26 chrome/browser/performance_monitor/database.h TimeRange(base::Time start_time, base::Time end_time); base 29 chrome/browser/performance_monitor/database.h base::Time start; base 30 chrome/browser/performance_monitor/database.h base::Time end; base 115 chrome/browser/performance_monitor/database.h virtual base::Time GetTime() = 0; base 120 chrome/browser/performance_monitor/database.h static scoped_ptr<Database> Create(base::FilePath path); base 134 chrome/browser/performance_monitor/database.h const base::Time& start, base 135 chrome/browser/performance_monitor/database.h const base::Time& end); base 137 chrome/browser/performance_monitor/database.h EventVector GetEvents(const base::Time& start, const base::Time& end) { base 142 chrome/browser/performance_monitor/database.h return GetEvents(type, base::Time(), clock_->GetTime()); base 146 chrome/browser/performance_monitor/database.h return GetEvents(EVENT_UNDEFINED, base::Time(), clock_->GetTime()); base 149 chrome/browser/performance_monitor/database.h EventTypeSet GetEventTypes(const base::Time& start, const base::Time& end); base 152 chrome/browser/performance_monitor/database.h return GetEventTypes(base::Time(), clock_->GetTime()); base 164 chrome/browser/performance_monitor/database.h MetricTypeSet GetActiveMetrics(const base::Time& start, base 165 chrome/browser/performance_monitor/database.h const base::Time& end); base 169 chrome/browser/performance_monitor/database.h const base::Time& start); base 196 chrome/browser/performance_monitor/database.h const base::Time& start, base 197 chrome/browser/performance_monitor/database.h const base::Time& end); base 200 chrome/browser/performance_monitor/database.h MetricType metric_type, const base::Time& start, const base::Time& end) { base 207 chrome/browser/performance_monitor/database.h return GetStatsForActivityAndMetric(activity, metric_type, base::Time(), base 214 chrome/browser/performance_monitor/database.h base::Time(), clock_->GetTime()); base 219 chrome/browser/performance_monitor/database.h const base::Time& start, base 220 chrome/browser/performance_monitor/database.h const base::Time& end); base 224 chrome/browser/performance_monitor/database.h metric_type, base::Time(), clock_->GetTime()); base 229 chrome/browser/performance_monitor/database.h std::vector<TimeRange> GetActiveIntervals(const base::Time& start, base 230 chrome/browser/performance_monitor/database.h const base::Time& end); base 232 chrome/browser/performance_monitor/database.h base::FilePath path() const { return path_; } base 249 chrome/browser/performance_monitor/database.h virtual base::Time GetTime() OVERRIDE; base 252 chrome/browser/performance_monitor/database.h explicit Database(const base::FilePath& path); base 289 chrome/browser/performance_monitor/database.h base::FilePath path_; base 295 chrome/browser/performance_monitor/database.h base::Time last_update_time_; base 54 chrome/browser/performance_monitor/database_unittest.cc bool AddInvalidEvent(base::Time time, EventType type) { base 92 chrome/browser/performance_monitor/database_unittest.cc virtual base::Time GetTime() OVERRIDE { base 93 chrome/browser/performance_monitor/database_unittest.cc return base::Time::FromInternalValue(++counter_); base 124 chrome/browser/performance_monitor/database_unittest.cc base::ScopedTempDir temp_dir_; base 184 chrome/browser/performance_monitor/database_unittest.cc base::ScopedTempDir temp_dir_; base 190 chrome/browser/performance_monitor/database_unittest.cc base::ScopedTempDir temp_dir; base 199 chrome/browser/performance_monitor/database_unittest.cc base::ScopedTempDir temp_dir; base 203 chrome/browser/performance_monitor/database_unittest.cc base::Time start_time = clock_1->GetTime(); base 213 chrome/browser/performance_monitor/database_unittest.cc base::Time mid_time = clock_2->GetTime(); base 222 chrome/browser/performance_monitor/database_unittest.cc base::Time end_time = clock_3->GetTime(); base 239 chrome/browser/performance_monitor/database_unittest.cc base::ScopedTempDir temp_dir; base 246 chrome/browser/performance_monitor/database_unittest.cc base::Time start_time = clock->GetTime(); base 248 chrome/browser/performance_monitor/database_unittest.cc base::Time end_time = clock->GetTime(); base 260 chrome/browser/performance_monitor/database_unittest.cc base::ScopedTempDir temp_dir; base 268 chrome/browser/performance_monitor/database_unittest.cc base::Time start_time = clock->GetTime(); base 269 chrome/browser/performance_monitor/database_unittest.cc base::Time end_time = clock->GetTime(); base 314 chrome/browser/performance_monitor/database_unittest.cc base::Time start_time = clock_->GetTime(); base 356 chrome/browser/performance_monitor/database_unittest.cc base::Time start_time = clock_->GetTime(); base 367 chrome/browser/performance_monitor/database_unittest.cc base::Time end_time = clock_->GetTime(); base 383 chrome/browser/performance_monitor/database_unittest.cc db_->GetActiveMetrics(base::Time(), clock_->GetTime()); base 400 chrome/browser/performance_monitor/database_unittest.cc base::ScopedTempDir dir; base 426 chrome/browser/performance_monitor/database_unittest.cc activity_, METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); base 429 chrome/browser/performance_monitor/database_unittest.cc base::Time before = clock_->GetTime(); base 451 chrome/browser/performance_monitor/database_unittest.cc METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); base 462 chrome/browser/performance_monitor/database_unittest.cc base::Time before = clock_->GetTime(); base 481 chrome/browser/performance_monitor/database_unittest.cc activity_, METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); base 489 chrome/browser/performance_monitor/database_unittest.cc activity_, METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); base 498 chrome/browser/performance_monitor/database_unittest.cc activity_, METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); base 519 chrome/browser/performance_monitor/database_unittest.cc base::Time start = clock_->GetTime(); base 524 chrome/browser/performance_monitor/database_unittest.cc base::Time end = clock_->GetTime(); base 12 chrome/browser/performance_monitor/event.cc const base::Time& time, base 13 chrome/browser/performance_monitor/event.cc scoped_ptr<base::DictionaryValue> data) base 20 chrome/browser/performance_monitor/event.cc scoped_ptr<Event> Event::FromValue(scoped_ptr<base::DictionaryValue> data) { base 28 chrome/browser/performance_monitor/event.cc base::Time::FromInternalValue((int64)time), base 28 chrome/browser/performance_monitor/event.h const base::Time& time, base 29 chrome/browser/performance_monitor/event.h scoped_ptr<base::DictionaryValue> data); base 34 chrome/browser/performance_monitor/event.h static scoped_ptr<Event> FromValue(scoped_ptr<base::DictionaryValue> data); base 38 chrome/browser/performance_monitor/event.h base::Time time() const { return time_; } base 39 chrome/browser/performance_monitor/event.h base::DictionaryValue* data() const { return data_.get(); } base 46 chrome/browser/performance_monitor/event.h base::Time time_; base 49 chrome/browser/performance_monitor/event.h scoped_ptr<base::DictionaryValue> data_; base 176 chrome/browser/performance_monitor/key_builder.cc std::string KeyBuilder::CreateActiveIntervalKey(const base::Time& time) { base 177 chrome/browser/performance_monitor/key_builder.cc return base::StringPrintf("%016" PRId64, time.ToInternalValue()); base 180 chrome/browser/performance_monitor/key_builder.cc std::string KeyBuilder::CreateMetricKey(const base::Time& time, base 183 chrome/browser/performance_monitor/key_builder.cc return base::StringPrintf("%c%c%016" PRId64 "%c%s", base 189 chrome/browser/performance_monitor/key_builder.cc std::string KeyBuilder::CreateEventKey(const base::Time& time, base 191 chrome/browser/performance_monitor/key_builder.cc return base::StringPrintf("%016" PRId64 "%c%c", base 196 chrome/browser/performance_monitor/key_builder.cc std::string KeyBuilder::CreateRecentKey(const base::Time& time, base 199 chrome/browser/performance_monitor/key_builder.cc return base::StringPrintf("%016" PRId64 "%c%c%c%s", base 207 chrome/browser/performance_monitor/key_builder.cc return base::StringPrintf("%s%c%c", base 214 chrome/browser/performance_monitor/key_builder.cc return base::StringPrintf("%c%c%s", base 221 chrome/browser/performance_monitor/key_builder.cc base::SplitString(event_key, kDelimiter, &split); base 229 chrome/browser/performance_monitor/key_builder.cc base::SplitString(key, kDelimiter, &split); base 239 chrome/browser/performance_monitor/key_builder.cc base::SplitString(key, kDelimiter, &split); base 60 chrome/browser/performance_monitor/key_builder.h std::string CreateActiveIntervalKey(const base::Time& time); base 63 chrome/browser/performance_monitor/key_builder.h std::string CreateMetricKey(const base::Time& time, base 68 chrome/browser/performance_monitor/key_builder.h std::string CreateEventKey(const base::Time& time, const EventType type); base 71 chrome/browser/performance_monitor/key_builder.h std::string CreateRecentKey(const base::Time& time, base 37 chrome/browser/performance_monitor/metric.cc const double kMaxStartupTime = base::Time::kMicrosecondsPerMinute * 15.0; base 39 chrome/browser/performance_monitor/metric.cc const double kMaxTestStartupTime = base::Time::kMicrosecondsPerMinute * 15.0; base 41 chrome/browser/performance_monitor/metric.cc const double kMaxSessionRestoreTime = base::Time::kMicrosecondsPerMinute * 15.0; base 43 chrome/browser/performance_monitor/metric.cc const double kMaxPageLoadTime = base::Time::kMicrosecondsPerMinute * 15.0; base 73 chrome/browser/performance_monitor/metric.cc const base::Time& metric_time, base 82 chrome/browser/performance_monitor/metric.cc base::StringToInt64(metric_time, &conversion); base 83 chrome/browser/performance_monitor/metric.cc time = base::Time::FromInternalValue(conversion); base 84 chrome/browser/performance_monitor/metric.cc CHECK(base::StringToDouble(metric_value, &value)); base 98 chrome/browser/performance_monitor/metric.cc return base::DoubleToString(value); base 46 chrome/browser/performance_monitor/metric.h const base::Time& metric_time, base 64 chrome/browser/performance_monitor/metric.h base::Time time; base 55 chrome/browser/performance_monitor/performance_monitor.cc std::string TimeToString(base::Time time) { base 57 chrome/browser/performance_monitor/performance_monitor.cc return base::Int64ToString(time_int64); base 61 chrome/browser/performance_monitor/performance_monitor.cc bool StringToTime(std::string time, base::Time* output) { base 63 chrome/browser/performance_monitor/performance_monitor.cc if (!base::StringToInt64(time, &time_int64)) base 65 chrome/browser/performance_monitor/performance_monitor.cc *output = base::Time::FromInternalValue(time_int64); base 104 chrome/browser/performance_monitor/performance_monitor.cc base::TimeDelta::FromSeconds(kSampleIntervalInSeconds), base 114 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&DeleteDatabaseOnBackgroundThread, database_.release())); base 117 chrome/browser/performance_monitor/performance_monitor.cc bool PerformanceMonitor::SetDatabasePath(const base::FilePath& path) { base 144 chrome/browser/performance_monitor/performance_monitor.cc if (!base::StringToInt(switch_value, &specified_interval) || base 158 chrome/browser/performance_monitor/performance_monitor.cc next_collection_time_ = base::Time::Now() + base 159 chrome/browser/performance_monitor/performance_monitor.cc base::TimeDelta::FromSeconds(gather_interval_in_seconds_); base 163 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::InitOnBackgroundThread, base 164 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this)), base 165 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::FinishInit, base 166 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this))); base 202 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::CheckForVersionUpdateOnBackgroundThread, base 203 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this))); base 215 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&base::DoNothing), base 216 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::NotifyInitialized, base 217 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this))); base 273 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::AddUncleanExitEventOnBackgroundThread, base 274 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this), base 292 chrome/browser/performance_monitor/performance_monitor.cc base::Time last_active_time; base 323 chrome/browser/performance_monitor/performance_monitor.cc base::Time::Now(), previous_version, current_version); base 335 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::AddEventOnBackgroundThread, base 336 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this), base 337 chrome/browser/performance_monitor/performance_monitor.cc base::Passed(&event))); base 381 chrome/browser/performance_monitor/performance_monitor.cc base::ProcessHandle handle = rph_iter.GetCurrentValue()->GetHandle(); base 389 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::GatherMetricsMapOnIOThread, base 390 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this), base 394 chrome/browser/performance_monitor/performance_monitor.cc void PerformanceMonitor::MarkProcessAsAlive(const base::ProcessHandle& handle, base 417 chrome/browser/performance_monitor/performance_monitor.cc std::string time = TimeToString(base::Time::Now()); base 427 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::UpdateLiveProfilesHelper, base 428 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this), base 429 chrome/browser/performance_monitor/performance_monitor.cc base::Passed(&active_profiles), base 454 chrome/browser/performance_monitor/performance_monitor.cc base::ProcessHandle handle = child_process_data.handle; base 460 chrome/browser/performance_monitor/performance_monitor.cc MarkProcessAsAlive(base::GetCurrentProcessHandle(), base 466 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::StoreMetricsOnBackgroundThread, base 467 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this), current_update_sequence, base 476 chrome/browser/performance_monitor/performance_monitor.cc base::Time time_now = base::Time::Now(); base 483 chrome/browser/performance_monitor/performance_monitor.cc base::TimeDelta::FromSeconds(gather_interval_in_seconds_); base 539 chrome/browser/performance_monitor/performance_monitor.cc base::Bind(&PerformanceMonitor::StartGatherCycle, base 540 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this))); base 607 chrome/browser/performance_monitor/performance_monitor.cc AddEvent(util::CreateRendererFailureEvent(base::Time::Now(), base 625 chrome/browser/performance_monitor/performance_monitor.cc base::Bind( base 627 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this), base 640 chrome/browser/performance_monitor/performance_monitor.cc base::Bind( base 642 chrome/browser/performance_monitor/performance_monitor.cc base::Unretained(this), base 644 chrome/browser/performance_monitor/performance_monitor.cc base::Time::Now(), base 664 chrome/browser/performance_monitor/performance_monitor.cc base::Time::Now(), base 677 chrome/browser/performance_monitor/performance_monitor.cc if (details.status == base::TERMINATION_STATUS_NORMAL_TERMINATION || base 678 chrome/browser/performance_monitor/performance_monitor.cc details.status == base::TERMINATION_STATUS_STILL_RUNNING) base 683 chrome/browser/performance_monitor/performance_monitor.cc details.status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED ? base 709 chrome/browser/performance_monitor/performance_monitor.cc AddEvent(util::CreateRendererFailureEvent(base::Time::Now(), type, url_list)); base 61 chrome/browser/performance_monitor/performance_monitor.h typedef std::map<base::ProcessHandle, ProcessMetricsHistory> MetricsMap; base 68 chrome/browser/performance_monitor/performance_monitor.h bool SetDatabasePath(const base::FilePath& path); base 96 chrome/browser/performance_monitor/performance_monitor.h base::FilePath database_path() { return database_path_; } base 167 chrome/browser/performance_monitor/performance_monitor.h void MarkProcessAsAlive(const base::ProcessHandle& handle, base 193 chrome/browser/performance_monitor/performance_monitor.h base::FilePath database_path_; base 202 chrome/browser/performance_monitor/performance_monitor.h base::Time next_collection_time_; base 211 chrome/browser/performance_monitor/performance_monitor.h base::DelayTimer<PerformanceMonitor> timer_; base 59 chrome/browser/performance_monitor/performance_monitor_browsertest.cc const base::TimeDelta kMaxStartupTime = base::TimeDelta::FromMinutes(3); base 88 chrome/browser/performance_monitor/performance_monitor_browsertest.cc const base::DictionaryValue* value) { base 178 chrome/browser/performance_monitor/performance_monitor_browsertest.cc performance_monitor_->next_collection_time_ = base::Time::Now(); base 192 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::Time(), base::Time::FromInternalValue(kint64max)); base 208 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::Bind(&PerformanceMonitorBrowserTest::GetEventsOnBackgroundThread, base 209 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::Unretained(this), base 219 chrome/browser/performance_monitor/performance_monitor_browsertest.cc type, base::Time(), base::Time::FromInternalValue(kint64max)); base 232 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::Bind(&PerformanceMonitorBrowserTest::GetStatsOnBackgroundThread, base 233 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::Unretained(this), base 249 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::Bind(base::IgnoreResult(&Database::AddStateValue), base 250 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::Unretained(performance_monitor()->database()), base 263 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::Bind(&PerformanceMonitor::CheckForVersionUpdateOnBackgroundThread, base 264 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::Unretained(performance_monitor()))); base 274 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::ScopedTempDir db_dir_; base 282 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath user_data_directory; base 301 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath first_profile = base 303 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CHECK(base::CreateDirectory(first_profile)); base 305 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath stock_prefs_file; base 309 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CHECK(base::PathExists(stock_prefs_file)); base 311 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath first_profile_prefs_file = base 313 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CHECK(base::CopyFile(stock_prefs_file, first_profile_prefs_file)); base 314 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CHECK(base::PathExists(first_profile_prefs_file)); base 318 chrome/browser/performance_monitor/performance_monitor_browsertest.cc .append(base::IntToString(1)); base 320 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath second_profile = base 322 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CHECK(base::CreateDirectory(second_profile)); base 324 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath second_profile_prefs_file = base 326 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CHECK(base::CopyFile(stock_prefs_file, second_profile_prefs_file)); base 327 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CHECK(base::PathExists(second_profile_prefs_file)); base 388 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath extension_path; base 412 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath extension_path; base 441 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::ScopedTempDir temp_dir; base 444 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath test_data_dir; base 450 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath pem_path = test_data_dir.AppendASCII("simple_extension.pem"); base 451 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath path_v1_ = PackExtensionWithOptions( base 455 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath()); base 456 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath path_v2_ = PackExtensionWithOptions( base 460 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath()); base 503 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath extension_path; base 546 chrome/browser/performance_monitor/performance_monitor_browsertest.cc const base::DictionaryValue* value; base 580 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 581 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html"))), base 671 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath second_profile_path; base 725 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 726 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 740 chrome/browser/performance_monitor/performance_monitor_browsertest.cc const base::TimeDelta kMaxLoadTime = base::TimeDelta::FromSeconds(30); base 744 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 745 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 749 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 750 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 760 chrome/browser/performance_monitor/performance_monitor_browsertest.cc base::FilePath test_dir; base 764 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(base::GetFileSize(test_dir.AppendASCII("title1.html"), base 768 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(base::GetFileSize(test_dir.AppendASCII("title2.html"), base 20 chrome/browser/performance_monitor/performance_monitor_util.cc const base::Closure& request, base 21 chrome/browser/performance_monitor/performance_monitor_util.cc const base::Closure& reply) { base 22 chrome/browser/performance_monitor/performance_monitor_util.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 23 chrome/browser/performance_monitor/performance_monitor_util.cc base::SequencedWorkerPool::SequenceToken token = base 30 chrome/browser/performance_monitor/performance_monitor_util.cc const base::Time& time, base 46 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<base::DictionaryValue> value = event.ToValue(); base 51 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<Event> CreateRendererFailureEvent(const base::Time& time, base 58 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<base::DictionaryValue> value = event.ToValue(); base 62 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<Event> CreateUncleanExitEvent(const base::Time& time, base 68 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<base::DictionaryValue> value = event.ToValue(); base 73 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<Event> CreateChromeUpdateEvent(const base::Time& time, base 81 chrome/browser/performance_monitor/performance_monitor_util.cc scoped_ptr<base::DictionaryValue> value = event.ToValue(); base 24 chrome/browser/performance_monitor/performance_monitor_util.h const base::Closure& request, base 25 chrome/browser/performance_monitor/performance_monitor_util.h const base::Closure& reply); base 32 chrome/browser/performance_monitor/performance_monitor_util.h const base::Time& time, base 40 chrome/browser/performance_monitor/performance_monitor_util.h scoped_ptr<Event> CreateRendererFailureEvent(const base::Time& time, base 44 chrome/browser/performance_monitor/performance_monitor_util.h scoped_ptr<Event> CreateUncleanExitEvent(const base::Time& time, base 47 chrome/browser/performance_monitor/performance_monitor_util.h scoped_ptr<Event> CreateChromeUpdateEvent(const base::Time& time, base 37 chrome/browser/performance_monitor/process_metrics_history.cc void ProcessMetricsHistory::Initialize(base::ProcessHandle process_handle, base 46 chrome/browser/performance_monitor/process_metrics_history.cc process_metrics_.reset(base::ProcessMetrics::CreateProcessMetrics( base 50 chrome/browser/performance_monitor/process_metrics_history.cc base::ProcessMetrics::CreateProcessMetrics(process_handle_)); base 11 chrome/browser/performance_monitor/process_metrics_history.h namespace base { base 23 chrome/browser/performance_monitor/process_metrics_history.h void Initialize(base::ProcessHandle process_handle, base 58 chrome/browser/performance_monitor/process_metrics_history.h base::ProcessHandle process_handle_; base 60 chrome/browser/performance_monitor/process_metrics_history.h linked_ptr<base::ProcessMetrics> process_metrics_; base 33 chrome/browser/performance_monitor/startup_timer.cc StartupTimer::StartupTimer() : startup_begin_(base::TimeTicks::Now()), base 56 chrome/browser/performance_monitor/startup_timer.cc DCHECK(elapsed_startup_time_ == base::TimeDelta()); base 61 chrome/browser/performance_monitor/startup_timer.cc base::TimeTicks::Now() - total_pause_ - startup_begin_; base 72 chrome/browser/performance_monitor/startup_timer.cc DCHECK(g_startup_timer_->pause_started_ == base::TimeTicks()); base 74 chrome/browser/performance_monitor/startup_timer.cc g_startup_timer_->pause_started_ = base::TimeTicks::Now(); base 80 chrome/browser/performance_monitor/startup_timer.cc DCHECK(g_startup_timer_->pause_started_ != base::TimeTicks()); base 82 chrome/browser/performance_monitor/startup_timer.cc g_startup_timer_->total_pause_ += base::TimeTicks::Now() - base 85 chrome/browser/performance_monitor/startup_timer.cc g_startup_timer_->pause_started_ = base::TimeTicks(); base 95 chrome/browser/performance_monitor/startup_timer.cc if (elapsed_startup_time_ != base::TimeDelta()) base 104 chrome/browser/performance_monitor/startup_timer.cc const base::TimeDelta& elapsed_session_restore_time) { base 118 chrome/browser/performance_monitor/startup_timer.cc base::Bind( base 120 chrome/browser/performance_monitor/startup_timer.cc base::Unretained(PerformanceMonitor::GetInstance()->database()), base 123 chrome/browser/performance_monitor/startup_timer.cc base::Time::Now(), base 129 chrome/browser/performance_monitor/startup_timer.cc for (std::vector<base::TimeDelta>::const_iterator iter = base 135 chrome/browser/performance_monitor/startup_timer.cc base::Bind( base 137 chrome/browser/performance_monitor/startup_timer.cc base::Unretained(PerformanceMonitor::GetInstance()->database()), base 139 chrome/browser/performance_monitor/startup_timer.cc base::Time::Now(), base 54 chrome/browser/performance_monitor/startup_timer.h const base::TimeDelta& elapsed_session_restore_time); base 63 chrome/browser/performance_monitor/startup_timer.h base::TimeTicks startup_begin_; base 67 chrome/browser/performance_monitor/startup_timer.h base::TimeTicks pause_started_; base 70 chrome/browser/performance_monitor/startup_timer.h base::TimeDelta total_pause_; base 78 chrome/browser/performance_monitor/startup_timer.h base::TimeDelta elapsed_startup_time_; base 88 chrome/browser/performance_monitor/startup_timer.h std::vector<base::TimeDelta> elapsed_session_restore_times_; base 16 chrome/browser/platform_util.h namespace base { base 26 chrome/browser/platform_util.h void ShowItemInFolder(Profile* profile, const base::FilePath& full_path); base 30 chrome/browser/platform_util.h void OpenItem(Profile* profile, const base::FilePath& full_path); base 13 chrome/browser/platform_util_android.cc void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { base 17 chrome/browser/platform_util_android.cc void OpenItem(Profile* profile, const base::FilePath& full_path) { base 23 chrome/browser/platform_util_chromeos.cc void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { base 28 chrome/browser/platform_util_chromeos.cc void OpenItem(Profile* profile, const base::FilePath& full_path) { base 24 chrome/browser/platform_util_linux.cc base::LaunchOptions options; base 39 chrome/browser/platform_util_linux.cc base::ProcessHandle handle; base 40 chrome/browser/platform_util_linux.cc if (base::LaunchProcess(argv, options, &handle)) base 41 chrome/browser/platform_util_linux.cc base::EnsureProcessGetsReaped(handle); base 55 chrome/browser/platform_util_linux.cc void ShowItemInFolderOnFileThread(const base::FilePath& full_path) { base 56 chrome/browser/platform_util_linux.cc base::FilePath dir = full_path.DirName(); base 57 chrome/browser/platform_util_linux.cc if (!base::DirectoryExists(dir)) base 67 chrome/browser/platform_util_linux.cc void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { base 70 chrome/browser/platform_util_linux.cc base::Bind(&ShowItemInFolderOnFileThread, full_path)); base 73 chrome/browser/platform_util_linux.cc void OpenItem(Profile* profile, const base::FilePath& full_path) { base 76 chrome/browser/platform_util_linux.cc base::Bind(&XDGOpen, full_path.value())); base 33 chrome/browser/platform_util_win.cc void ShowItemInFolderOnFileThread(const base::FilePath& full_path) { base 35 chrome/browser/platform_util_win.cc base::FilePath dir = full_path.DirName().AsEndingWithSeparator(); base 70 chrome/browser/platform_util_win.cc base::win::ScopedComPtr<IShellFolder> desktop; base 75 chrome/browser/platform_util_win.cc base::win::ScopedCoMem<ITEMIDLIST> dir_item; base 82 chrome/browser/platform_util_win.cc base::win::ScopedCoMem<ITEMIDLIST> file_item; base 119 chrome/browser/platform_util_win.cc base::win::RegKey key; base 120 chrome/browser/platform_util_win.cc std::wstring registry_path = base::ASCIIToWide(scheme) + base 150 chrome/browser/platform_util_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) { base 169 chrome/browser/platform_util_win.cc void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { base 176 chrome/browser/platform_util_win.cc base::Bind(&ShowItemInFolderOnFileThread, full_path)); base 179 chrome/browser/platform_util_win.cc void OpenItem(Profile* profile, const base::FilePath& full_path) { base 187 chrome/browser/platform_util_win.cc base::Bind(base::IgnoreResult(&ui::win::OpenItemViaShell), full_path)); base 198 chrome/browser/platform_util_win.cc base::Bind(&OpenExternalOnFileThread, url)); base 30 chrome/browser/plugins/chrome_plugin_service_filter.cc render_frame_host->GetProcess()->GetID(), base::FilePath()); base 44 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock lock(lock_); base 50 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock lock(lock_); base 59 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock auto_lock(lock_); base 69 chrome/browser/plugins/chrome_plugin_service_filter.cc const base::FilePath& plugin_path, base 72 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock auto_lock(lock_); base 78 chrome/browser/plugins/chrome_plugin_service_filter.cc const base::FilePath& plugin_path) { base 79 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock auto_lock(lock_); base 84 chrome/browser/plugins/chrome_plugin_service_filter.cc const base::FilePath& plugin_path) { base 85 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock auto_lock(lock_); base 96 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock auto_lock(lock_); base 143 chrome/browser/plugins/chrome_plugin_service_filter.cc const base::FilePath& path) { base 149 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock auto_lock(lock_); base 156 chrome/browser/plugins/chrome_plugin_service_filter.cc details->authorized_plugins.find(base::FilePath()) == base 166 chrome/browser/plugins/chrome_plugin_service_filter.cc const base::FilePath& plugin_path) { base 167 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock auto_lock(lock_); base 177 chrome/browser/plugins/chrome_plugin_service_filter.cc web_contents->ForEachFrame(base::Bind(&AuthorizeRenderer)); base 205 chrome/browser/plugins/chrome_plugin_service_filter.cc base::AutoLock auto_lock(lock_); base 51 chrome/browser/plugins/chrome_plugin_service_filter.h void RestrictPluginToProfileAndOrigin(const base::FilePath& plugin_path, base 56 chrome/browser/plugins/chrome_plugin_service_filter.h void UnrestrictPlugin(const base::FilePath& plugin_path); base 60 chrome/browser/plugins/chrome_plugin_service_filter.h const base::FilePath& plugin_path); base 71 chrome/browser/plugins/chrome_plugin_service_filter.h bool IsPluginRestricted(const base::FilePath& plugin_path); base 86 chrome/browser/plugins/chrome_plugin_service_filter.h const base::FilePath& path) OVERRIDE; base 105 chrome/browser/plugins/chrome_plugin_service_filter.h std::set<base::FilePath> authorized_plugins; base 121 chrome/browser/plugins/chrome_plugin_service_filter.h base::Lock lock_; // Guards access to member variables. base 124 chrome/browser/plugins/chrome_plugin_service_filter.h typedef base::hash_map<base::FilePath, base 29 chrome/browser/plugins/plugin_finder.cc using base::DictionaryValue; base 48 chrome/browser/plugins/plugin_finder.cc static base::string16 GetGroupName(const content::WebPluginInfo& plugin) { base 56 chrome/browser/plugins/plugin_finder.cc const base::DictionaryValue* plugin_dict, base 58 chrome/browser/plugins/plugin_finder.cc const base::ListValue* mime_types = NULL; base 65 chrome/browser/plugins/plugin_finder.cc for (base::ListValue::const_iterator mime_type_it = mime_types->begin(); base 80 chrome/browser/plugins/plugin_finder.cc const base::DictionaryValue* plugin_dict) { base 85 chrome/browser/plugins/plugin_finder.cc base::string16 name; base 90 chrome/browser/plugins/plugin_finder.cc base::string16 group_name_matcher; base 103 chrome/browser/plugins/plugin_finder.cc const base::ListValue* versions = NULL; base 105 chrome/browser/plugins/plugin_finder.cc for (base::ListValue::const_iterator it = versions->begin(); base 107 chrome/browser/plugins/plugin_finder.cc base::DictionaryValue* version_dict = NULL; base 153 chrome/browser/plugins/plugin_finder.cc scoped_ptr<base::DictionaryValue> plugin_list(LoadBuiltInPluginList()); base 159 chrome/browser/plugins/plugin_finder.cc base::DictionaryValue* PluginFinder::LoadBuiltInPluginList() { base 160 chrome/browser/plugins/plugin_finder.cc base::StringPiece json_resource( base 164 chrome/browser/plugins/plugin_finder.cc scoped_ptr<base::Value> value(base::JSONReader::ReadAndReturnError( base 166 chrome/browser/plugins/plugin_finder.cc base::JSON_PARSE_RFC, base 173 chrome/browser/plugins/plugin_finder.cc if (value->GetType() != base::Value::TYPE_DICTIONARY) base 175 chrome/browser/plugins/plugin_finder.cc return static_cast<base::DictionaryValue*>(value.release()); base 194 chrome/browser/plugins/plugin_finder.cc base::AutoLock lock(mutex_); base 215 chrome/browser/plugins/plugin_finder.cc base::AutoLock lock(mutex_); base 233 chrome/browser/plugins/plugin_finder.cc const base::DictionaryValue* plugin_list) { base 234 chrome/browser/plugins/plugin_finder.cc base::AutoLock lock(mutex_); base 246 chrome/browser/plugins/plugin_finder.cc for (base::DictionaryValue::Iterator plugin_it(*plugin_list); base 248 chrome/browser/plugins/plugin_finder.cc const base::DictionaryValue* plugin = NULL; base 262 chrome/browser/plugins/plugin_finder.cc base::string16 PluginFinder::FindPluginNameWithIdentifier( base 264 chrome/browser/plugins/plugin_finder.cc base::AutoLock lock(mutex_); base 266 chrome/browser/plugins/plugin_finder.cc base::string16 name; base 270 chrome/browser/plugins/plugin_finder.cc return name.empty() ? base::UTF8ToUTF16(identifier) : name; base 275 chrome/browser/plugins/plugin_finder.cc base::AutoLock lock(mutex_); base 19 chrome/browser/plugins/plugin_finder.h namespace base { base 43 chrome/browser/plugins/plugin_finder.h void ReinitializePlugins(const base::DictionaryValue* json_metadata); base 64 chrome/browser/plugins/plugin_finder.h base::string16 FindPluginNameWithIdentifier(const std::string& identifier); base 81 chrome/browser/plugins/plugin_finder.h static base::DictionaryValue* LoadBuiltInPluginList(); base 96 chrome/browser/plugins/plugin_finder.h base::Lock mutex_; base 11 chrome/browser/plugins/plugin_finder_unittest.cc using base::DictionaryValue; base 12 chrome/browser/plugins/plugin_finder_unittest.cc using base::ListValue; base 15 chrome/browser/plugins/plugin_finder_unittest.cc scoped_ptr<base::DictionaryValue> plugin_list( base 18 chrome/browser/plugins/plugin_finder_unittest.cc scoped_ptr<base::Value> version; base 20 chrome/browser/plugins/plugin_finder_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, version->GetType()); base 22 chrome/browser/plugins/plugin_finder_unittest.cc for (base::DictionaryValue::Iterator plugin_it(*plugin_list); base 24 chrome/browser/plugins/plugin_finder_unittest.cc const base::DictionaryValue* plugin = NULL; base 39 chrome/browser/plugins/plugin_finder_unittest.cc const base::ListValue* mime_types = NULL; base 41 chrome/browser/plugins/plugin_finder_unittest.cc for (base::ListValue::const_iterator mime_type_it = mime_types->begin(); base 47 chrome/browser/plugins/plugin_finder_unittest.cc const base::ListValue* matching_mime_types = NULL; base 49 chrome/browser/plugins/plugin_finder_unittest.cc for (base::ListValue::const_iterator it = matching_mime_types->begin(); base 55 chrome/browser/plugins/plugin_finder_unittest.cc const base::ListValue* versions = NULL; base 59 chrome/browser/plugins/plugin_finder_unittest.cc for (base::ListValue::const_iterator it = versions->begin(); base 61 chrome/browser/plugins/plugin_finder_unittest.cc base::DictionaryValue* version_dict = NULL; base 48 chrome/browser/plugins/plugin_info_message_filter.cc if (plugin.name == base::ASCIIToUTF16(ChromeContentClient::kNaClPluginName)) base 53 chrome/browser/plugins/plugin_info_message_filter.cc if (plugin.name == base::ASCIIToUTF16(kWidevineCdmDisplayName)) { base 142 chrome/browser/plugins/plugin_info_message_filter.cc base::Bind(&PluginInfoMessageFilter::PluginsLoaded, base 177 chrome/browser/plugins/plugin_info_message_filter.cc std::vector<base::string16>* additional_param_names, base 178 chrome/browser/plugins/plugin_info_message_filter.cc std::vector<base::string16>* additional_param_values) { base 204 chrome/browser/plugins/plugin_info_message_filter.cc base::win::IsMetroProcess()) { base 354 chrome/browser/plugins/plugin_info_message_filter.cc scoped_ptr<base::Value> value; base 385 chrome/browser/plugins/plugin_info_message_filter.cc const base::FilePath& path) const { base 66 chrome/browser/plugins/plugin_info_message_filter.h const base::FilePath& path) const; base 88 chrome/browser/plugins/plugin_info_message_filter.h friend class base::DeleteHelper<PluginInfoMessageFilter>; base 113 chrome/browser/plugins/plugin_info_message_filter.h std::vector<base::string16>* additional_param_names, base 114 chrome/browser/plugins/plugin_info_message_filter.h std::vector<base::string16>* additional_param_values); base 118 chrome/browser/plugins/plugin_info_message_filter.h base::WeakPtrFactory<PluginInfoMessageFilter> weak_ptr_factory_; base 46 chrome/browser/plugins/plugin_infobar_delegates.cc using base::UserMetricsAction; base 76 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 PluginInfoBarDelegate::GetLinkText() const { base 87 chrome/browser/plugins/plugin_infobar_delegates.cc const base::string16& name, base 94 chrome/browser/plugins/plugin_infobar_delegates.cc std::string utf8_name(base::UTF16ToUTF8(name)); base 114 chrome/browser/plugins/plugin_infobar_delegates.cc const base::string16& name, base 129 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 UnauthorizedPluginInfoBarDelegate::GetMessageText() const { base 133 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 UnauthorizedPluginInfoBarDelegate::GetButtonLabel( base 176 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 name(plugin_metadata->name()); base 188 chrome/browser/plugins/plugin_infobar_delegates.cc const base::string16& message) base 194 chrome/browser/plugins/plugin_infobar_delegates.cc std::string name = base::UTF16ToUTF8(plugin_metadata_->name()); base 224 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 OutdatedPluginInfoBarDelegate::GetMessageText() const { base 228 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 OutdatedPluginInfoBarDelegate::GetButtonLabel( base 290 chrome/browser/plugins/plugin_infobar_delegates.cc const base::string16& message) { base 308 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 name(plugin_metadata->name()); base 310 chrome/browser/plugins/plugin_infobar_delegates.cc if (base::win::IsMetroProcess()) { base 332 chrome/browser/plugins/plugin_infobar_delegates.cc const base::string16& message) { base 347 chrome/browser/plugins/plugin_infobar_delegates.cc const base::string16& message) base 363 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 PluginInstallerInfoBarDelegate::GetMessageText() const { base 371 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 PluginInstallerInfoBarDelegate::GetButtonLabel( base 382 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 PluginInstallerInfoBarDelegate::GetLinkText() const { base 429 chrome/browser/plugins/plugin_infobar_delegates.cc const base::string16& message) { base 448 chrome/browser/plugins/plugin_infobar_delegates.cc const base::string16& name) { base 456 chrome/browser/plugins/plugin_infobar_delegates.cc const base::string16& name) base 469 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 PluginMetroModeInfoBarDelegate::GetMessageText() const { base 478 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 PluginMetroModeInfoBarDelegate::GetButtonLabel( base 489 chrome/browser/plugins/plugin_infobar_delegates.cc void LaunchDesktopInstanceHelper(const base::string16& url) { base 490 chrome/browser/plugins/plugin_infobar_delegates.cc base::FilePath exe_path; base 491 chrome/browser/plugins/plugin_infobar_delegates.cc if (!PathService::Get(base::FILE_EXE, &exe_path)) base 493 chrome/browser/plugins/plugin_infobar_delegates.cc base::FilePath shortcut_path( base 509 chrome/browser/plugins/plugin_infobar_delegates.cc base::string16 PluginMetroModeInfoBarDelegate::GetLinkText() const { base 40 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetLinkText() const OVERRIDE; base 54 chrome/browser/plugins/plugin_infobar_delegates.h const base::string16& name, base 59 chrome/browser/plugins/plugin_infobar_delegates.h const base::string16& name, base 64 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetMessageText() const OVERRIDE; base 65 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 73 chrome/browser/plugins/plugin_infobar_delegates.h base::string16 name_; base 92 chrome/browser/plugins/plugin_infobar_delegates.h const base::string16& message); base 96 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetMessageText() const OVERRIDE; base 97 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 115 chrome/browser/plugins/plugin_infobar_delegates.h void ReplaceWithInfoBar(const base::string16& message); base 119 chrome/browser/plugins/plugin_infobar_delegates.h base::string16 message_; base 129 chrome/browser/plugins/plugin_infobar_delegates.h typedef base::Callback<void(const PluginMetadata*)> InstallCallback; base 146 chrome/browser/plugins/plugin_infobar_delegates.h const base::string16& message); base 153 chrome/browser/plugins/plugin_infobar_delegates.h const base::string16& message); base 158 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetMessageText() const OVERRIDE; base 160 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 162 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetLinkText() const OVERRIDE; base 176 chrome/browser/plugins/plugin_infobar_delegates.h void ReplaceWithInfoBar(const base::string16& message); base 185 chrome/browser/plugins/plugin_infobar_delegates.h base::string16 message_; base 206 chrome/browser/plugins/plugin_infobar_delegates.h const base::string16& name); base 209 chrome/browser/plugins/plugin_infobar_delegates.h PluginMetroModeInfoBarDelegate(Mode mode, const base::string16& name); base 214 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetMessageText() const OVERRIDE; base 216 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 218 chrome/browser/plugins/plugin_infobar_delegates.h virtual base::string16 GetLinkText() const OVERRIDE; base 222 chrome/browser/plugins/plugin_infobar_delegates.h const base::string16 name_; base 66 chrome/browser/plugins/plugin_installer.cc base::Bind(callback, static_cast<DownloadItem*>(NULL), error)); base 148 chrome/browser/plugins/plugin_installer.cc base::Bind(&BeginDownload, base 153 chrome/browser/plugins/plugin_installer.cc base::Bind(&PluginInstaller::DownloadStarted, base 154 chrome/browser/plugins/plugin_installer.cc base::Unretained(this)))); base 162 chrome/browser/plugins/plugin_installer.cc std::string msg = base::StringPrintf( base 16 chrome/browser/plugins/plugin_installer_unittest.cc base::ASCIIToUTF16("Foo plug-in"), base 17 chrome/browser/plugins/plugin_installer_unittest.cc base::FilePath(FILE_PATH_LITERAL("/tmp/plugin.so")), base 18 chrome/browser/plugins/plugin_installer_unittest.cc base::ASCIIToUTF16(version), base 19 chrome/browser/plugins/plugin_installer_unittest.cc base::ASCIIToUTF16("Foo plug-in.")); base 34 chrome/browser/plugins/plugin_installer_unittest.cc base::ASCIIToUTF16("ClayBrick Writer"), base 36 chrome/browser/plugins/plugin_installer_unittest.cc base::ASCIIToUTF16("ClayBrick")); base 24 chrome/browser/plugins/plugin_metadata.cc const base::string16& name, base 28 chrome/browser/plugins/plugin_metadata.cc const base::string16& group_name_matcher, base 39 chrome/browser/plugins/plugin_metadata.h const base::string16& name, base 43 chrome/browser/plugins/plugin_metadata.h const base::string16& group_name_matcher, base 51 chrome/browser/plugins/plugin_metadata.h const base::string16& name() const { return name_; } base 94 chrome/browser/plugins/plugin_metadata.h base::string16 name_; base 95 chrome/browser/plugins/plugin_metadata.h base::string16 group_name_matcher_; base 17 chrome/browser/plugins/plugin_metadata_unittest.cc base::ASCIIToUTF16("Foo plug-in"), base 18 chrome/browser/plugins/plugin_metadata_unittest.cc base::FilePath(FILE_PATH_LITERAL("/tmp/plugin.so")), base 19 chrome/browser/plugins/plugin_metadata_unittest.cc base::ASCIIToUTF16(version), base 20 chrome/browser/plugins/plugin_metadata_unittest.cc base::ASCIIToUTF16("Foo plug-in.")); base 35 chrome/browser/plugins/plugin_metadata_unittest.cc base::ASCIIToUTF16("ClayBrick Writer"), base 39 chrome/browser/plugins/plugin_metadata_unittest.cc base::ASCIIToUTF16("ClayBrick"), base 68 chrome/browser/plugins/plugin_observer.cc virtual base::string16 GetTitle() OVERRIDE; base 69 chrome/browser/plugins/plugin_observer.cc virtual base::string16 GetDialogMessage() OVERRIDE; base 70 chrome/browser/plugins/plugin_observer.cc virtual base::string16 GetAcceptButtonTitle() OVERRIDE; base 93 chrome/browser/plugins/plugin_observer.cc base::string16 ConfirmInstallDialogDelegate::GetTitle() { base 98 chrome/browser/plugins/plugin_observer.cc base::string16 ConfirmInstallDialogDelegate::GetDialogMessage() { base 103 chrome/browser/plugins/plugin_observer.cc base::string16 ConfirmInstallDialogDelegate::GetAcceptButtonTitle() { base 130 chrome/browser/plugins/plugin_observer.cc const base::string16& message); base 134 chrome/browser/plugins/plugin_observer.cc const base::string16& message); base 139 chrome/browser/plugins/plugin_observer.cc virtual base::string16 GetMessageText() const OVERRIDE; base 141 chrome/browser/plugins/plugin_observer.cc virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 145 chrome/browser/plugins/plugin_observer.cc base::string16 message_; base 152 chrome/browser/plugins/plugin_observer.cc const base::string16& message) { base 160 chrome/browser/plugins/plugin_observer.cc const base::string16& message) base 170 chrome/browser/plugins/plugin_observer.cc base::string16 ReloadPluginInfoBarDelegate::GetMessageText() const { base 178 chrome/browser/plugins/plugin_observer.cc base::string16 ReloadPluginInfoBarDelegate::GetButtonLabel( base 198 chrome/browser/plugins/plugin_observer.cc base::string16 plugin_name, base 285 chrome/browser/plugins/plugin_observer.cc void PluginObserver::PluginCrashed(const base::FilePath& plugin_path, base 286 chrome/browser/plugins/plugin_observer.cc base::ProcessId plugin_pid) { base 289 chrome/browser/plugins/plugin_observer.cc base::string16 plugin_name = base 291 chrome/browser/plugins/plugin_observer.cc base::string16 infobar_text; base 298 chrome/browser/plugins/plugin_observer.cc base::ProcessHandle plugin_handle = base::kNullProcessHandle; base 299 chrome/browser/plugins/plugin_observer.cc bool open_result = base::OpenProcessHandleWithAccess( base 303 chrome/browser/plugins/plugin_observer.cc is_running = base::GetTerminationStatus(plugin_handle, NULL) == base 304 chrome/browser/plugins/plugin_observer.cc base::TERMINATION_STATUS_STILL_RUNNING; base 305 chrome/browser/plugins/plugin_observer.cc base::CloseProcessHandle(plugin_handle); base 359 chrome/browser/plugins/plugin_observer.cc const base::string16& name, base 411 chrome/browser/plugins/plugin_observer.cc base::Bind(&PluginObserver::InstallMissingPlugin, base 448 chrome/browser/plugins/plugin_observer.cc void PluginObserver::OnCouldNotLoadPlugin(const base::FilePath& plugin_path) { base 450 chrome/browser/plugins/plugin_observer.cc base::string16 plugin_name = base 463 chrome/browser/plugins/plugin_observer.cc DCHECK(base::win::IsMetroProcess()); base 39 chrome/browser/plugins/plugin_observer.h virtual void PluginCrashed(const base::FilePath& plugin_path, base 40 chrome/browser/plugins/plugin_observer.h base::ProcessId plugin_pid) OVERRIDE; base 55 chrome/browser/plugins/plugin_observer.h void OnBlockedUnauthorizedPlugin(const base::string16& name, base 65 chrome/browser/plugins/plugin_observer.h void OnCouldNotLoadPlugin(const base::FilePath& plugin_path); base 73 chrome/browser/plugins/plugin_observer.h base::WeakPtrFactory<PluginObserver> weak_ptr_factory_; base 41 chrome/browser/plugins/plugin_prefs.cc bool IsComponentUpdatedPepperFlash(const base::FilePath& plugin) { base 43 chrome/browser/plugins/plugin_prefs.cc base::FilePath component_updated_pepper_flash_dir; base 62 chrome/browser/plugins/plugin_prefs.cc bool PluginPrefs::PluginState::Get(const base::FilePath& plugin, base 64 chrome/browser/plugins/plugin_prefs.cc base::FilePath key = ConvertMapKey(plugin); base 65 chrome/browser/plugins/plugin_prefs.cc std::map<base::FilePath, bool>::const_iterator iter = state_.find(key); base 73 chrome/browser/plugins/plugin_prefs.cc void PluginPrefs::PluginState::Set(const base::FilePath& plugin, bool enabled) { base 77 chrome/browser/plugins/plugin_prefs.cc base::FilePath PluginPrefs::PluginState::ConvertMapKey( base 78 chrome/browser/plugins/plugin_prefs.cc const base::FilePath& plugin) const { base 81 chrome/browser/plugins/plugin_prefs.cc base::FilePath bundled_pepper_flash; base 105 chrome/browser/plugins/plugin_prefs.cc const base::string16& group_name) { base 107 chrome/browser/plugins/plugin_prefs.cc base::Bind(&PluginPrefs::EnablePluginGroupInternal, base 113 chrome/browser/plugins/plugin_prefs.cc const base::string16& group_name, base 115 chrome/browser/plugins/plugin_prefs.cc base::AutoLock auto_lock(lock_); base 130 chrome/browser/plugins/plugin_prefs.cc base::Bind(&PluginPrefs::OnUpdatePreferences, this, plugins)); base 132 chrome/browser/plugins/plugin_prefs.cc base::Bind(&PluginPrefs::NotifyPluginStatusChanged, this)); base 136 chrome/browser/plugins/plugin_prefs.cc bool enabled, const base::FilePath& path, base 137 chrome/browser/plugins/plugin_prefs.cc const base::Callback<void(bool)>& callback) { base 158 chrome/browser/plugins/plugin_prefs.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 159 chrome/browser/plugins/plugin_prefs.cc base::Bind(callback, false)); base 164 chrome/browser/plugins/plugin_prefs.cc base::Bind(&PluginPrefs::EnablePluginInternal, this, base 170 chrome/browser/plugins/plugin_prefs.cc const base::FilePath& path, base 172 chrome/browser/plugins/plugin_prefs.cc const base::Callback<void(bool)>& callback, base 176 chrome/browser/plugins/plugin_prefs.cc base::AutoLock auto_lock(lock_); base 180 chrome/browser/plugins/plugin_prefs.cc base::string16 group_name; base 204 chrome/browser/plugins/plugin_prefs.cc base::AutoLock auto_lock(lock_); base 209 chrome/browser/plugins/plugin_prefs.cc base::Bind(&PluginPrefs::OnUpdatePreferences, this, plugins)); base 211 chrome/browser/plugins/plugin_prefs.cc base::Bind(&PluginPrefs::NotifyPluginStatusChanged, this)); base 216 chrome/browser/plugins/plugin_prefs.cc const base::string16& name) const { base 217 chrome/browser/plugins/plugin_prefs.cc base::AutoLock auto_lock(lock_); base 232 chrome/browser/plugins/plugin_prefs.cc base::string16 group_name = plugin_metadata->name(); base 249 chrome/browser/plugins/plugin_prefs.cc base::ASCIIToUTF16(ChromeContentClient::kNaClPluginName)) && base 254 chrome/browser/plugins/plugin_prefs.cc base::AutoLock auto_lock(lock_); base 261 chrome/browser/plugins/plugin_prefs.cc std::map<base::string16, bool>::const_iterator group_it( base 270 chrome/browser/plugins/plugin_prefs.cc void PluginPrefs::UpdatePatternsAndNotify(std::set<base::string16>* patterns, base 272 chrome/browser/plugins/plugin_prefs.cc base::AutoLock auto_lock(lock_); base 280 chrome/browser/plugins/plugin_prefs.cc const base::string16& name, base 281 chrome/browser/plugins/plugin_prefs.cc const std::set<base::string16>& pattern_set) { base 282 chrome/browser/plugins/plugin_prefs.cc std::set<base::string16>::const_iterator pattern(pattern_set.begin()); base 293 chrome/browser/plugins/plugin_prefs.cc void PluginPrefs::ListValueToStringSet(const base::ListValue* src, base 294 chrome/browser/plugins/plugin_prefs.cc std::set<base::string16>* dest) { base 298 chrome/browser/plugins/plugin_prefs.cc base::ListValue::const_iterator end(src->end()); base 299 chrome/browser/plugins/plugin_prefs.cc for (base::ListValue::const_iterator current(src->begin()); base 301 chrome/browser/plugins/plugin_prefs.cc base::string16 plugin_name; base 311 chrome/browser/plugins/plugin_prefs.cc base::FilePath last_internal_dir = base 313 chrome/browser/plugins/plugin_prefs.cc base::FilePath cur_internal_dir; base 349 chrome/browser/plugins/plugin_prefs.cc base::ListValue* saved_plugins_list = update.Get(); base 353 chrome/browser/plugins/plugin_prefs.cc base::FilePath npapi_flash; base 354 chrome/browser/plugins/plugin_prefs.cc base::FilePath pepper_flash; base 355 chrome/browser/plugins/plugin_prefs.cc base::DictionaryValue* pepper_flash_node = NULL; base 363 chrome/browser/plugins/plugin_prefs.cc base::ListValue::iterator component_pepper_flash_node = base 366 chrome/browser/plugins/plugin_prefs.cc for (base::ListValue::iterator it = saved_plugins_list->begin(); base 369 chrome/browser/plugins/plugin_prefs.cc if (!(*it)->IsType(base::Value::TYPE_DICTIONARY)) { base 374 chrome/browser/plugins/plugin_prefs.cc base::DictionaryValue* plugin = base 375 chrome/browser/plugins/plugin_prefs.cc static_cast<base::DictionaryValue*>(*it); base 376 chrome/browser/plugins/plugin_prefs.cc base::string16 group_name; base 381 chrome/browser/plugins/plugin_prefs.cc base::FilePath::StringType path; base 386 chrome/browser/plugins/plugin_prefs.cc base::FilePath plugin_path(path); base 397 chrome/browser/plugins/plugin_prefs.cc base::FilePath relative_path; base 409 chrome/browser/plugins/plugin_prefs.cc base::FilePath old_path = plugin_path; base 428 chrome/browser/plugins/plugin_prefs.cc base::FilePath::CompareEqualIgnoreCase( base 432 chrome/browser/plugins/plugin_prefs.cc base::FilePath::CompareEqualIgnoreCase( base 469 chrome/browser/plugins/plugin_prefs.cc plugin_group_state_[base::ASCIIToUTF16( base 491 chrome/browser/plugins/plugin_prefs.cc base::Bind(&PluginPrefs::UpdatePatternsAndNotify, base 492 chrome/browser/plugins/plugin_prefs.cc base::Unretained(this), base 495 chrome/browser/plugins/plugin_prefs.cc base::Bind(&PluginPrefs::UpdatePatternsAndNotify, base 496 chrome/browser/plugins/plugin_prefs.cc base::Unretained(this), base 499 chrome/browser/plugins/plugin_prefs.cc base::Bind(&PluginPrefs::UpdatePatternsAndNotify, base 500 chrome/browser/plugins/plugin_prefs.cc base::Unretained(this), base 519 chrome/browser/plugins/plugin_prefs.cc const std::set<base::string16>& disabled_patterns, base 520 chrome/browser/plugins/plugin_prefs.cc const std::set<base::string16>& disabled_exception_patterns, base 521 chrome/browser/plugins/plugin_prefs.cc const std::set<base::string16>& enabled_patterns) { base 534 chrome/browser/plugins/plugin_prefs.cc base::ListValue* plugins_list = update.Get(); base 537 chrome/browser/plugins/plugin_prefs.cc base::FilePath internal_dir; base 541 chrome/browser/plugins/plugin_prefs.cc base::AutoLock auto_lock(lock_); base 544 chrome/browser/plugins/plugin_prefs.cc std::set<base::string16> group_names; base 546 chrome/browser/plugins/plugin_prefs.cc base::DictionaryValue* summary = new base::DictionaryValue(); base 562 chrome/browser/plugins/plugin_prefs.cc for (std::set<base::string16>::const_iterator it = group_names.begin(); base 564 chrome/browser/plugins/plugin_prefs.cc base::DictionaryValue* summary = new base::DictionaryValue(); base 567 chrome/browser/plugins/plugin_prefs.cc std::map<base::string16, bool>::iterator gstate_it = base 22 chrome/browser/plugins/plugin_prefs.h namespace base { base 58 chrome/browser/plugins/plugin_prefs.h void EnablePluginGroup(bool enable, const base::string16& group_name); base 65 chrome/browser/plugins/plugin_prefs.h void EnablePlugin(bool enable, const base::FilePath& file_path, base 66 chrome/browser/plugins/plugin_prefs.h const base::Callback<void(bool)>& callback); base 70 chrome/browser/plugins/plugin_prefs.h PolicyStatus PolicyStatusForPlugin(const base::string16& name) const; base 81 chrome/browser/plugins/plugin_prefs.h friend class base::RefCountedThreadSafe<PluginPrefs>; base 94 chrome/browser/plugins/plugin_prefs.h bool Get(const base::FilePath& plugin, bool* enabled) const; base 95 chrome/browser/plugins/plugin_prefs.h void Set(const base::FilePath& plugin, bool enabled); base 98 chrome/browser/plugins/plugin_prefs.h base::FilePath ConvertMapKey(const base::FilePath& plugin) const; base 100 chrome/browser/plugins/plugin_prefs.h std::map<base::FilePath, bool> state_; base 107 chrome/browser/plugins/plugin_prefs.h void UpdatePatternsAndNotify(std::set<base::string16>* patterns, base 112 chrome/browser/plugins/plugin_prefs.h const std::set<base::string16>& disabled_patterns, base 113 chrome/browser/plugins/plugin_prefs.h const std::set<base::string16>& disabled_exception_patterns, base 114 chrome/browser/plugins/plugin_prefs.h const std::set<base::string16>& enabled_patterns); base 119 chrome/browser/plugins/plugin_prefs.h const base::string16& group_name, base 123 chrome/browser/plugins/plugin_prefs.h const base::FilePath& path, base 125 chrome/browser/plugins/plugin_prefs.h const base::Callback<void(bool)>& callback, base 134 chrome/browser/plugins/plugin_prefs.h static void ListValueToStringSet(const base::ListValue* src, base 135 chrome/browser/plugins/plugin_prefs.h std::set<base::string16>* dest); base 138 chrome/browser/plugins/plugin_prefs.h static bool IsStringMatchedInSet(const base::string16& name, base 139 chrome/browser/plugins/plugin_prefs.h const std::set<base::string16>& pattern_set); base 142 chrome/browser/plugins/plugin_prefs.h mutable base::Lock lock_; base 145 chrome/browser/plugins/plugin_prefs.h std::map<base::string16, bool> plugin_group_state_; base 147 chrome/browser/plugins/plugin_prefs.h std::set<base::string16> policy_disabled_plugin_patterns_; base 148 chrome/browser/plugins/plugin_prefs.h std::set<base::string16> policy_disabled_plugin_exception_patterns_; base 149 chrome/browser/plugins/plugin_prefs.h std::set<base::string16> policy_enabled_plugin_patterns_; base 56 chrome/browser/plugins/plugin_prefs_factory.cc base::FilePath internal_dir; base 21 chrome/browser/plugins/plugin_prefs_unittest.cc using base::ASCIIToUTF16; base 27 chrome/browser/plugins/plugin_prefs_unittest.cc void CanEnablePluginCallback(const base::Closure& quit_closure, base 35 chrome/browser/plugins/plugin_prefs_unittest.cc base::FilePath GetComponentUpdatedPepperFlashPath( base 36 chrome/browser/plugins/plugin_prefs_unittest.cc const base::FilePath::StringType& version) { base 37 chrome/browser/plugins/plugin_prefs_unittest.cc base::FilePath path; base 45 chrome/browser/plugins/plugin_prefs_unittest.cc base::FilePath GetBundledPepperFlashPath() { base 46 chrome/browser/plugins/plugin_prefs_unittest.cc base::FilePath path; base 52 chrome/browser/plugins/plugin_prefs_unittest.cc void GotPlugins(const base::Closure& quit_closure, base 66 chrome/browser/plugins/plugin_prefs_unittest.cc const std::set<base::string16>& disabled, base 67 chrome/browser/plugins/plugin_prefs_unittest.cc const std::set<base::string16>& disabled_exceptions, base 68 chrome/browser/plugins/plugin_prefs_unittest.cc const std::set<base::string16>& enabled) { base 75 chrome/browser/plugins/plugin_prefs_unittest.cc const base::FilePath& path, base 77 chrome/browser/plugins/plugin_prefs_unittest.cc base::RunLoop run_loop; base 80 chrome/browser/plugins/plugin_prefs_unittest.cc base::Bind(&CanEnablePluginCallback, run_loop.QuitClosure(), base 94 chrome/browser/plugins/plugin_prefs_unittest.cc base::Bind(&GotPlugins, runner->QuitClosure())); base 105 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16> disabled_plugins; base 109 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16>(), base 110 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16>()); base 122 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16> enabled_plugins; base 125 chrome/browser/plugins/plugin_prefs_unittest.cc SetPolicyEnforcedPluginPatterns(std::set<base::string16>(), base 126 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16>(), base 138 chrome/browser/plugins/plugin_prefs_unittest.cc const base::string16 k42(ASCIIToUTF16("42")); base 139 chrome/browser/plugins/plugin_prefs_unittest.cc const base::string16 kEnabled(ASCIIToUTF16("Enabled")); base 140 chrome/browser/plugins/plugin_prefs_unittest.cc const base::string16 kEnabled2(ASCIIToUTF16("Enabled 2")); base 141 chrome/browser/plugins/plugin_prefs_unittest.cc const base::string16 kEnabled3(ASCIIToUTF16("Enabled 3")); base 142 chrome/browser/plugins/plugin_prefs_unittest.cc const base::string16 kException(ASCIIToUTF16("Exception")); base 143 chrome/browser/plugins/plugin_prefs_unittest.cc const base::string16 kException2(ASCIIToUTF16("Exception 2")); base 144 chrome/browser/plugins/plugin_prefs_unittest.cc const base::string16 kGoogleMars(ASCIIToUTF16("Google Mars")); base 145 chrome/browser/plugins/plugin_prefs_unittest.cc const base::string16 kGoogleEarth(ASCIIToUTF16("Google Earth")); base 147 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16> disabled_plugins; base 148 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16> disabled_plugins_exceptions; base 149 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16> enabled_plugins; base 209 chrome/browser/plugins/plugin_prefs_unittest.cc base::ShadowingAtExitManager at_exit_manager_; // Destroys the PluginService. base 214 chrome/browser/plugins/plugin_prefs_unittest.cc base::string16 component_updated_plugin_name( base 255 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16> disabled_plugins; base 258 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16>(), base 259 chrome/browser/plugins/plugin_prefs_unittest.cc std::set<base::string16>()); base 56 chrome/browser/plugins/plugin_status_pref_setter.cc base::Bind(&PluginStatusPrefSetter::GotPlugins, factory_.GetWeakPtr(), base 67 chrome/browser/plugins/plugin_status_pref_setter.h base::WeakPtrFactory<PluginStatusPrefSetter> factory_; base 66 chrome/browser/plugins/plugins_resource_service.cc const base::DictionaryValue* metadata = base 78 chrome/browser/plugins/plugins_resource_service.cc new base::DictionaryValue()); base 82 chrome/browser/plugins/plugins_resource_service.cc void PluginsResourceService::Unpack(const base::DictionaryValue& parsed_json) { base 27 chrome/browser/plugins/plugins_resource_service.h virtual void Unpack(const base::DictionaryValue& parsed_json) OVERRIDE; base 57 chrome/browser/policy/chrome_browser_policy_connector.cc base::FilePath GetManagedPolicyPath() { base 63 chrome/browser/policy/chrome_browser_policy_connector.cc base::FilePath path; base 65 chrome/browser/policy/chrome_browser_policy_connector.cc return base::FilePath(); base 69 chrome/browser/policy/chrome_browser_policy_connector.cc return base::FilePath(); base 73 chrome/browser/policy/chrome_browser_policy_connector.cc return base::FilePath(); base 75 chrome/browser/policy/chrome_browser_policy_connector.cc return path.Append(base::SysCFStringRefToUTF8(bundle_id) + ".plist"); base 91 chrome/browser/policy/chrome_browser_policy_connector.cc return base::StringPrintf("%s %s(%s)", base 98 chrome/browser/policy/chrome_browser_policy_connector.cc std::string os_name = base::SysInfo::OperatingSystemName(); base 99 chrome/browser/policy/chrome_browser_policy_connector.cc std::string os_hardware = base::SysInfo::OperatingSystemArchitecture(); base 110 chrome/browser/policy/chrome_browser_policy_connector.cc os_name += ",CrOS," + base::SysInfo::GetLsbReleaseBoard(); base 119 chrome/browser/policy/chrome_browser_policy_connector.cc base::SysInfo::OperatingSystemVersionNumbers(&os_major_version, base 122 chrome/browser/policy/chrome_browser_policy_connector.cc os_version = base::StringPrintf("%d.%d.%d", base 128 chrome/browser/policy/chrome_browser_policy_connector.cc return base::StringPrintf( base 136 chrome/browser/policy/chrome_browser_policy_connector.cc : BrowserPolicyConnector(base::Bind(&BuildHandlerList)) { base 176 chrome/browser/policy/chrome_browser_policy_connector.cc base::FilePath config_dir_path; base 91 chrome/browser/policy/cloud/cloud_policy_browsertest.cc return base::StringPrintf( base 116 chrome/browser/policy/cloud/cloud_policy_browsertest.cc return base::StringPrintf(kTestPolicy, base 125 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::Value::CreateBooleanValue(true), NULL); base 127 chrome/browser/policy/cloud/cloud_policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(4), NULL); base 128 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::ListValue list; base 136 chrome/browser/policy/cloud/cloud_policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(1000), NULL); base 139 chrome/browser/policy/cloud/cloud_policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateStringValue(homepage), NULL); base 201 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::RunLoop run_loop; base 204 chrome/browser/policy/cloud/cloud_policy_browsertest.cc InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 226 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::FilePath user_policy_key_dir; base 249 chrome/browser/policy/cloud/cloud_policy_browsertest.cc int result = base::WriteFile(policy_file_path(), policy.data(), base 254 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::FilePath policy_file_path() const { base 269 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::ScopedTempDir temp_dir_; base 271 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::FilePath user_policy_key_file_; base 272 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::Closure on_policy_updated_; base 278 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::RunLoop run_loop; base 292 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::RunLoop run_loop; base 308 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::RunLoop run_loop; base 321 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::RunLoop run_loop; base 339 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::RunLoop run_loop; base 347 chrome/browser/policy/cloud/cloud_policy_browsertest.cc ASSERT_TRUE(base::ReadFileToString(user_policy_key_file_, &initial_key)); base 358 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::RunLoop run_loop; base 368 chrome/browser/policy/cloud/cloud_policy_browsertest.cc ASSERT_TRUE(base::ReadFileToString(user_policy_key_file_, &rotated_key)); base 373 chrome/browser/policy/cloud/cloud_policy_browsertest.cc base::RunLoop run_loop; base 380 chrome/browser/policy/cloud/cloud_policy_browsertest.cc ASSERT_TRUE(base::ReadFileToString(user_policy_key_file_, ¤t_key)); base 36 chrome/browser/policy/cloud/cloud_policy_invalidator.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 37 chrome/browser/policy/cloud/cloud_policy_invalidator.cc scoped_ptr<base::Clock> clock) base 196 chrome/browser/policy/cloud/cloud_policy_invalidator.cc base::TimeDelta delay = base::TimeDelta::FromMilliseconds( base 197 chrome/browser/policy/cloud/cloud_policy_invalidator.cc base::RandInt(20, max_fetch_delay_)); base 209 chrome/browser/policy/cloud/cloud_policy_invalidator.cc delay += base::TimeDelta::FromMinutes(kMissingPayloadDelay); base 214 chrome/browser/policy/cloud/cloud_policy_invalidator.cc base::Bind( base 281 chrome/browser/policy/cloud/cloud_policy_invalidator.cc const base::Value* delay_policy_value = base 292 chrome/browser/policy/cloud/cloud_policy_invalidator.cc if (base::StringToInt(delay_string, &delay)) { base 345 chrome/browser/policy/cloud/cloud_policy_invalidator.cc new_hash_value = base::Hash(policy->policy_value()); base 369 chrome/browser/policy/cloud/cloud_policy_invalidator.cc base::TimeDelta elapsed = clock_->Now() - invalidations_enabled_time_; base 22 chrome/browser/policy/cloud/cloud_policy_invalidator.h namespace base { base 58 chrome/browser/policy/cloud/cloud_policy_invalidator.h const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 59 chrome/browser/policy/cloud/cloud_policy_invalidator.h scoped_ptr<base::Clock> clock); base 147 chrome/browser/policy/cloud/cloud_policy_invalidator.h const scoped_refptr<base::SequencedTaskRunner> task_runner_; base 150 chrome/browser/policy/cloud/cloud_policy_invalidator.h scoped_ptr<base::Clock> clock_; base 161 chrome/browser/policy/cloud/cloud_policy_invalidator.h base::Time invalidations_enabled_time_; base 191 chrome/browser/policy/cloud/cloud_policy_invalidator.h base::WeakPtrFactory<CloudPolicyInvalidator> weak_factory_; base 203 chrome/browser/policy/cloud/cloud_policy_invalidator.h base::ThreadChecker thread_checker_; base 148 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::HistogramBase::Count GetCount(MetricPolicyRefresh metric); base 149 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::HistogramBase::Count GetInvalidationCount(bool with_payload); base 152 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc void AdvanceClock(base::TimeDelta delta); base 157 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc bool CheckPolicyRefreshed(base::TimeDelta delay); base 166 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::HistogramSamples> GetHistogramSamples( base 169 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::MessageLoop loop_; base 176 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 177 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::SimpleTestClock* clock_; base 198 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::HistogramSamples> refresh_samples_; base 201 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::HistogramSamples> invalidations_samples_; base 210 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc task_runner_(new base::TestSimpleTaskRunner()), base 211 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc clock_(new base::SimpleTestClock()), base 220 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::StatisticsRecorder::Initialize(); base 237 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::Clock>(clock_))); base 292 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::DictionaryValue policies; base 346 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc return CheckPolicyRefreshed(base::TimeDelta()); base 355 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc return CheckPolicyRefreshed(base::TimeDelta::FromMinutes( base 379 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::HistogramBase::Count CloudPolicyInvalidatorTest::GetCount( base 385 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::HistogramBase::Count CloudPolicyInvalidatorTest::GetInvalidationCount( base 392 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc void CloudPolicyInvalidatorTest::AdvanceClock(base::TimeDelta delta) { base 396 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc bool CloudPolicyInvalidatorTest::CheckPolicyRefreshed(base::TimeDelta delay) { base 397 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::TimeDelta max_delay = delay + base::TimeDelta::FromMilliseconds( base 402 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::TimeDelta actual_delay = task_runner_->GetPendingTasks().back().delay; base 417 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::RunLoop().RunUntilIdle(); base 423 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::RunLoop().RunUntilIdle(); base 433 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::HistogramSamples> base 436 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::HistogramBase* histogram = base 437 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::StatisticsRecorder::FindHistogram(name); base 439 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc return scoped_ptr<base::HistogramSamples>(new base::SampleMap()); base 800 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc AdvanceClock(base::TimeDelta::FromSeconds(1)); base 806 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc AdvanceClock(base::TimeDelta::FromSeconds( base 826 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc AdvanceClock(base::TimeDelta::FromSeconds( base 843 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc AdvanceClock(base::TimeDelta::FromSeconds( base 113 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc base::RunLoop run_loop; base 117 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc .WillRepeatedly(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 120 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc .WillRepeatedly(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 62 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc const base::FilePath::CharType kTestExtensionPath[] = base 73 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc const base::FilePath::CharType kTestExtension2Path[] = base 91 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc base::Base64Encode(value, encoded); base 92 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc base::ReplaceChars(*encoded, "+", "-", encoded); base 93 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc base::ReplaceChars(*encoded, "/", "_", encoded); base 149 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc const base::FilePath::CharType* path) { base 150 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc base::FilePath full_path; base 196 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc base::RunLoop run_loop; base 199 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 220 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc base::RunLoop run_loop; base 300 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc base::FilePath cache_path = browser()->profile()->GetPath() base 305 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc EXPECT_TRUE(base::PathExists(cache_path)); base 320 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc EXPECT_FALSE(base::PathExists(cache_path)); base 333 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc EXPECT_TRUE(base::PathExists(cache_path)); base 121 chrome/browser/policy/cloud/device_management_service_browsertest.cc interceptor_->PushJobCallback(base::Bind(&ResponseJob)); base 130 chrome/browser/policy/cloud/device_management_service_browsertest.cc InvokeWithoutArgs(base::MessageLoop::current(), base 131 chrome/browser/policy/cloud/device_management_service_browsertest.cc &base::MessageLoop::Quit))); base 139 chrome/browser/policy/cloud/device_management_service_browsertest.cc job->Start(base::Bind(&DeviceManagementServiceIntegrationTest::OnJobDone, base 140 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::Unretained(this))); base 141 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::MessageLoop::current()->Run(); base 191 chrome/browser/policy/cloud/device_management_service_browsertest.cc InvokeWithoutArgs(base::MessageLoop::current(), base 192 chrome/browser/policy/cloud/device_management_service_browsertest.cc &base::MessageLoop::Quit))); base 202 chrome/browser/policy/cloud/device_management_service_browsertest.cc job->Start(base::Bind(&DeviceManagementServiceIntegrationTest::OnJobDone, base 203 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::Unretained(this))); base 204 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::MessageLoop::current()->Run(); base 213 chrome/browser/policy/cloud/device_management_service_browsertest.cc .WillOnce(InvokeWithoutArgs(base::MessageLoop::current(), base 214 chrome/browser/policy/cloud/device_management_service_browsertest.cc &base::MessageLoop::Quit)); base 224 chrome/browser/policy/cloud/device_management_service_browsertest.cc job->Start(base::Bind(&DeviceManagementServiceIntegrationTest::OnJobDone, base 225 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::Unretained(this))); base 226 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::MessageLoop::current()->Run(); base 234 chrome/browser/policy/cloud/device_management_service_browsertest.cc .WillOnce(InvokeWithoutArgs(base::MessageLoop::current(), base 235 chrome/browser/policy/cloud/device_management_service_browsertest.cc &base::MessageLoop::Quit)); base 242 chrome/browser/policy/cloud/device_management_service_browsertest.cc job->Start(base::Bind(&DeviceManagementServiceIntegrationTest::OnJobDone, base 243 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::Unretained(this))); base 244 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::MessageLoop::current()->Run(); base 250 chrome/browser/policy/cloud/device_management_service_browsertest.cc .WillOnce(InvokeWithoutArgs(base::MessageLoop::current(), base 251 chrome/browser/policy/cloud/device_management_service_browsertest.cc &base::MessageLoop::Quit)); base 258 chrome/browser/policy/cloud/device_management_service_browsertest.cc job->Start(base::Bind(&DeviceManagementServiceIntegrationTest::OnJobDone, base 259 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::Unretained(this))); base 260 chrome/browser/policy/cloud/device_management_service_browsertest.cc base::MessageLoop::current()->Run(); base 52 chrome/browser/policy/cloud/test_request_interceptor.cc net::URLRequestJob* FileJobCallback(const base::FilePath& file_path, base 152 chrome/browser/policy/cloud/test_request_interceptor.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner); base 165 chrome/browser/policy/cloud/test_request_interceptor.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 175 chrome/browser/policy/cloud/test_request_interceptor.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner) base 214 chrome/browser/policy/cloud/test_request_interceptor.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner) base 220 chrome/browser/policy/cloud/test_request_interceptor.cc base::Bind(&net::URLRequestFilter::AddHostnameProtocolHandler, base 221 chrome/browser/policy/cloud/test_request_interceptor.cc base::Unretained(net::URLRequestFilter::GetInstance()), base 222 chrome/browser/policy/cloud/test_request_interceptor.cc "http", hostname_, base::Passed(&handler))); base 230 chrome/browser/policy/cloud/test_request_interceptor.cc base::Bind(&net::URLRequestFilter::RemoveHostnameHandler, base 231 chrome/browser/policy/cloud/test_request_interceptor.cc base::Unretained(net::URLRequestFilter::GetInstance()), base 237 chrome/browser/policy/cloud/test_request_interceptor.cc PostToIOAndWait(base::Bind(&Delegate::GetPendingSize, base 238 chrome/browser/policy/cloud/test_request_interceptor.cc base::Unretained(delegate_), base 244 chrome/browser/policy/cloud/test_request_interceptor.cc PostToIOAndWait(base::Bind(&Delegate::PushJobCallback, base 245 chrome/browser/policy/cloud/test_request_interceptor.cc base::Unretained(delegate_), base 252 chrome/browser/policy/cloud/test_request_interceptor.cc return base::Bind(&ErrorJobCallback, error); base 257 chrome/browser/policy/cloud/test_request_interceptor.cc return base::Bind(&BadRequestJobCallback); base 264 chrome/browser/policy/cloud/test_request_interceptor.cc return base::Bind(&RegisterJobCallback, expected_type, expect_reregister); base 269 chrome/browser/policy/cloud/test_request_interceptor.cc const base::FilePath& file_path) { base 270 chrome/browser/policy/cloud/test_request_interceptor.cc return base::Bind(&FileJobCallback, file_path); base 273 chrome/browser/policy/cloud/test_request_interceptor.cc void TestRequestInterceptor::PostToIOAndWait(const base::Closure& task) { base 275 chrome/browser/policy/cloud/test_request_interceptor.cc base::RunLoop run_loop; base 278 chrome/browser/policy/cloud/test_request_interceptor.cc base::Bind( base 279 chrome/browser/policy/cloud/test_request_interceptor.cc base::IgnoreResult(&base::MessageLoopProxy::PostTask), base 280 chrome/browser/policy/cloud/test_request_interceptor.cc base::MessageLoopProxy::current(), base 15 chrome/browser/policy/cloud/test_request_interceptor.h namespace base { base 35 chrome/browser/policy/cloud/test_request_interceptor.h typedef base::Callback< base 41 chrome/browser/policy/cloud/test_request_interceptor.h scoped_refptr<base::SequencedTaskRunner> io_task_runner); base 68 chrome/browser/policy/cloud/test_request_interceptor.h static JobCallback FileJob(const base::FilePath& file_path); base 74 chrome/browser/policy/cloud/test_request_interceptor.h void PostToIOAndWait(const base::Closure& task); base 78 chrome/browser/policy/cloud/test_request_interceptor.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 23 chrome/browser/policy/cloud/user_cloud_policy_invalidator.cc base::MessageLoopProxy::current(), base 24 chrome/browser/policy/cloud/user_cloud_policy_invalidator.cc scoped_ptr<base::Clock>(new base::DefaultClock())), base 27 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc const base::FilePath::CharType kPolicy[] = FILE_PATH_LITERAL("Policy"); base 31 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc const base::FilePath::CharType kComponentsDir[] = base 73 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 74 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 75 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) { base 136 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 137 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 138 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) { base 152 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc const base::FilePath component_policy_cache_dir = base 160 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc base::MessageLoopProxy::current(), base 15 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h namespace base { base 67 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 68 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 69 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h const scoped_refptr<base::SequencedTaskRunner>& io_task_runner); base 100 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 101 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 102 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h const scoped_refptr<base::SequencedTaskRunner>& io_task_runner); base 95 chrome/browser/policy/cloud/user_policy_signin_service.cc base::Bind(&UserPolicySigninService::CallPolicyRegistrationCallback, base 96 chrome/browser/policy/cloud/user_policy_signin_service.cc base::Unretained(this), base 97 chrome/browser/policy/cloud/user_policy_signin_service.cc base::Passed(&policy_client), base 182 chrome/browser/policy/cloud/user_policy_signin_service.cc base::Bind(&UserPolicySigninService::OnRegistrationComplete, base 183 chrome/browser/policy/cloud/user_policy_signin_service.cc base::Unretained(this))); base 81 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Bind(&UserPolicySigninService::CallPolicyRegistrationCallback, base 82 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Unretained(this), base 83 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Passed(&policy_client), base 115 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::TimeDelta retry_delay = base::TimeDelta::FromDays(3); base 118 chrome/browser/policy/cloud/user_policy_signin_service_android.cc retry_delay = base::TimeDelta::FromDays(1); base 121 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Time last_check_time = base::Time::FromInternalValue( base 123 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Time now = base::Time::Now(); base 124 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Time next_check_time = last_check_time + retry_delay; base 129 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::TimeDelta try_registration_delay = base::TimeDelta::FromSeconds(5); base 133 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::MessageLoop::current()->PostDelayedTask( base 135 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Bind(&UserPolicySigninService::RegisterCloudPolicyService, base 151 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Time::Now().ToInternalValue()); base 159 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Bind(&UserPolicySigninService::OnRegistrationDone, base 160 chrome/browser/policy/cloud/user_policy_signin_service_android.cc base::Unretained(this))); base 69 chrome/browser/policy/cloud/user_policy_signin_service_android.h base::WeakPtrFactory<UserPolicySigninService> weak_factory_; base 124 chrome/browser/policy/cloud/user_policy_signin_service_base.cc base::MessageLoop::current()->PostTask( base 126 chrome/browser/policy/cloud/user_policy_signin_service_base.cc base::Bind( base 56 chrome/browser/policy/cloud/user_policy_signin_service_base.h typedef base::Callback<void(const std::string& dm_token, base 62 chrome/browser/policy/cloud/user_policy_signin_service_base.h typedef base::Callback<void(bool)> PolicyFetchCallback; base 177 chrome/browser/policy/cloud/user_policy_signin_service_base.h base::WeakPtrFactory<UserPolicySigninServiceBase> weak_factory_; base 83 chrome/browser/policy/cloud/user_policy_signin_service_ios.h base::WeakPtrFactory<UserPolicySigninService> weak_factory_; base 105 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::FilePath(), base 107 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::MessageLoopProxy::current(), base 108 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::MessageLoopProxy::current(), base 109 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::MessageLoopProxy::current()); base 141 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::Bind(&UserPolicySigninServiceTest::OnRegisterCompleted, base 142 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::Unretained(this))); base 153 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::MessageLoopProxy::current()); base 209 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::RunLoop run_loop; base 244 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::Time::Now()); base 317 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::Bind(&UserPolicySigninServiceTest::OnPolicyRefresh, base 318 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::Unretained(this))); base 729 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::Bind(&UserPolicySigninServiceTest::OnPolicyRefresh, base 730 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::Unretained(this))); base 777 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::RunLoop().RunUntilIdle(); base 805 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc base::RunLoop().RunUntilIdle(); base 70 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 73 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 76 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 79 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 82 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 85 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 88 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 91 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 94 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 97 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 100 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 103 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 106 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 109 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 112 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 115 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 118 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 121 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 124 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 127 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 130 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 133 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 136 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 139 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 142 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 145 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 148 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 151 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 154 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 157 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 160 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 163 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 166 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 169 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 172 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 175 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 178 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 181 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 184 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 187 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 190 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 193 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 196 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 199 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 202 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 205 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 208 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 211 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 214 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 217 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 220 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 223 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 226 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 229 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 232 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 235 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 238 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 241 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 244 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 247 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 250 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 253 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 256 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 259 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 262 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 265 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 268 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 271 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 274 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 277 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 280 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 283 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 286 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 289 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 292 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 295 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 298 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 301 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 304 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 307 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 310 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 313 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 316 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 319 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 322 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 325 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 328 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 331 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 334 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 337 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 340 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 343 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 346 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 349 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 352 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_LIST }, base 355 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 358 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 361 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 364 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 369 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 372 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 378 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 381 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 384 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 387 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 390 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 393 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 396 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 399 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 402 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_INTEGER }, base 405 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 408 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 411 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 414 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 417 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 420 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 423 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 426 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 429 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 432 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 435 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 438 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 441 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 444 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 447 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 450 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 453 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 456 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_STRING }, base 459 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 465 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 471 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 477 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Value::TYPE_BOOLEAN }, base 509 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Bind(&PopulatePolicyHandlerParameters), base 510 chrome/browser/policy/configuration_policy_handler_list_factory.cc base::Bind(&GetChromePolicyDetails))); base 17 chrome/browser/policy/file_selection_dialogs_policy_handler.cc base::Value::TYPE_BOOLEAN) {} base 25 chrome/browser/policy/file_selection_dialogs_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 28 chrome/browser/policy/file_selection_dialogs_policy_handler.cc base::Value::CreateBooleanValue(allow_dialogs)); base 32 chrome/browser/policy/file_selection_dialogs_policy_handler.cc base::Value::CreateBooleanValue(false)); base 33 chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc base::Value::CreateBooleanValue(true), base 46 chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc base::Value::CreateBooleanValue(false), base 51 chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc const base::Value* value = NULL; base 24 chrome/browser/policy/javascript_policy_handler.cc const base::Value* javascript_enabled = base 26 chrome/browser/policy/javascript_policy_handler.cc const base::Value* default_setting = base 30 chrome/browser/policy/javascript_policy_handler.cc !javascript_enabled->IsType(base::Value::TYPE_BOOLEAN)) { base 33 chrome/browser/policy/javascript_policy_handler.cc ValueTypeToString(base::Value::TYPE_BOOLEAN)); base 36 chrome/browser/policy/javascript_policy_handler.cc if (default_setting && !default_setting->IsType(base::Value::TYPE_INTEGER)) { base 39 chrome/browser/policy/javascript_policy_handler.cc ValueTypeToString(base::Value::TYPE_INTEGER)); base 54 chrome/browser/policy/javascript_policy_handler.cc const base::Value* default_setting = base 60 chrome/browser/policy/javascript_policy_handler.cc const base::Value* javascript_enabled = base 72 chrome/browser/policy/javascript_policy_handler.cc base::Value::CreateIntegerValue(setting)); base 30 chrome/browser/policy/javascript_policy_handler_unittest.cc base::Value::CreateBooleanValue(true), base 37 chrome/browser/policy/javascript_policy_handler_unittest.cc base::Value::CreateBooleanValue(false), base 40 chrome/browser/policy/javascript_policy_handler_unittest.cc const base::Value* value = NULL; base 43 chrome/browser/policy/javascript_policy_handler_unittest.cc EXPECT_TRUE(base::FundamentalValue(CONTENT_SETTING_BLOCK).Equals(value)); base 52 chrome/browser/policy/javascript_policy_handler_unittest.cc base::Value::CreateBooleanValue(false), base 55 chrome/browser/policy/javascript_policy_handler_unittest.cc const base::Value* value = NULL; base 58 chrome/browser/policy/javascript_policy_handler_unittest.cc EXPECT_TRUE(base::FundamentalValue(CONTENT_SETTING_BLOCK).Equals(value)); base 63 chrome/browser/policy/javascript_policy_handler_unittest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW), base 68 chrome/browser/policy/javascript_policy_handler_unittest.cc EXPECT_TRUE(base::FundamentalValue(CONTENT_SETTING_ALLOW).Equals(value)); base 21 chrome/browser/policy/managed_bookmarks_policy_handler.cc bool GetBookmark(const base::Value& value, base 24 chrome/browser/policy/managed_bookmarks_policy_handler.cc const base::DictionaryValue* dict = NULL; base 48 chrome/browser/policy/managed_bookmarks_policy_handler.cc base::Value::TYPE_LIST) {} base 55 chrome/browser/policy/managed_bookmarks_policy_handler.cc const base::Value* value = NULL; base 62 chrome/browser/policy/managed_bookmarks_policy_handler.cc const base::ListValue* list = NULL; base 66 chrome/browser/policy/managed_bookmarks_policy_handler.cc for (base::ListValue::const_iterator it = list->begin(); base 82 chrome/browser/policy/managed_bookmarks_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 83 chrome/browser/policy/managed_bookmarks_policy_handler.cc const base::ListValue* list = NULL; base 87 chrome/browser/policy/managed_bookmarks_policy_handler.cc base::ListValue* bookmarks = new base::ListValue(); base 88 chrome/browser/policy/managed_bookmarks_policy_handler.cc for (base::ListValue::const_iterator it = list->begin(); base 93 chrome/browser/policy/managed_bookmarks_policy_handler.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 12 chrome/browser/policy/managed_bookmarks_policy_handler.h namespace base { base 186 chrome/browser/policy/policy_browsertest.cc const base::FilePath::CharType kTestExtensionsDir[] = base 188 chrome/browser/policy/policy_browsertest.cc const base::FilePath::CharType kGoodCrxName[] = FILE_PATH_LITERAL("good.crx"); base 189 chrome/browser/policy/policy_browsertest.cc const base::FilePath::CharType kAdBlockCrxName[] = base 191 chrome/browser/policy/policy_browsertest.cc const base::FilePath::CharType kHostedAppCrxName[] = base 198 chrome/browser/policy/policy_browsertest.cc const base::FilePath::CharType kGood2CrxManifestName[] = base 200 chrome/browser/policy/policy_browsertest.cc const base::FilePath::CharType kGoodV1CrxManifestName[] = base 202 chrome/browser/policy/policy_browsertest.cc const base::FilePath::CharType kGoodUnpackedExt[] = base 204 chrome/browser/policy/policy_browsertest.cc const base::FilePath::CharType kAppUnpackedExt[] = base 208 chrome/browser/policy/policy_browsertest.cc const base::FilePath::CharType kUnpackedFullscreenAppName[] = base 217 chrome/browser/policy/policy_browsertest.cc base::FilePath base_path; base 254 chrome/browser/policy/policy_browsertest.cc base::Bind(MakeRequestFailOnIO, host_), base 255 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::QuitClosure()); base 261 chrome/browser/policy/policy_browsertest.cc base::Bind(UndoMakeRequestFailOnIO, host_), base 262 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::QuitClosure()); base 292 chrome/browser/policy/policy_browsertest.cc base::string16 title = base::UTF8ToUTF16(url.spec() + " was blocked"); base 303 chrome/browser/policy/policy_browsertest.cc base::string16 title = base::UTF8ToUTF16(url.spec() + " was blocked"); base 320 chrome/browser/policy/policy_browsertest.cc Browser* browser, const base::FilePath& dir, const base::FilePath& file) { base 327 chrome/browser/policy/policy_browsertest.cc base::FilePath downloaded = dir.Append(file); base 328 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(base::PathExists(downloaded)); base 335 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(base::PathExists(downloaded)); base 336 chrome/browser/policy/policy_browsertest.cc base::FileEnumerator enumerator(dir, false, base::FileEnumerator::FILES); base 338 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(base::FilePath(), enumerator.Next()); base 345 chrome/browser/policy/policy_browsertest.cc base::FileEnumerator enumerator(download_prefs->DownloadPath(), base 346 chrome/browser/policy/policy_browsertest.cc false, base::FileEnumerator::FILES, base 368 chrome/browser/policy/policy_browsertest.cc scoped_ptr<base::Value> value = content::ExecuteScriptAndGetValue( base 372 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(base::Value::TYPE_NULL, value->GetType()); base 379 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::current()->QuitWhenIdle(); base 385 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::current()->QuitWhenIdle(); base 390 chrome/browser/policy/policy_browsertest.cc service->GetPlugins(base::Bind(CopyPluginListAndQuit, plugins)); base 398 chrome/browser/policy/policy_browsertest.cc if (plugins[i].name == base::ASCIIToUTF16(content::kFlashPluginName)) { base 418 chrome/browser/policy/policy_browsertest.cc base::Bind(CopyValueAndQuit<bool>, &ok)); base 438 chrome/browser/policy/policy_browsertest.cc base::Bind(CountPluginsOnIOThread), base 439 chrome/browser/policy/policy_browsertest.cc base::Bind(CopyValueAndQuit<int>, &count)); base 552 chrome/browser/policy/policy_browsertest.cc base::RunLoop run_loop_; base 607 chrome/browser/policy/policy_browsertest.cc base::Bind(chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 613 chrome/browser/policy/policy_browsertest.cc base::FilePath root_http; base 617 chrome/browser/policy/policy_browsertest.cc base::Bind(URLRequestMockHTTPJob::AddUrlHandler, root_http), base 618 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::current()->QuitWhenIdleClosure()); base 626 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(!enabled), NULL); base 635 chrome/browser/policy/policy_browsertest.cc const base::FilePath& screenshot_path) OVERRIDE { base 638 chrome/browser/policy/policy_browsertest.cc base::Bind(base::DoNothing), base 639 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::QuitClosure()); base 670 chrome/browser/policy/policy_browsertest.cc const base::FilePath::StringType& name) { base 671 chrome/browser/policy/policy_browsertest.cc base::FilePath extension_path(ui_test_utils::GetTestFilePath( base 672 chrome/browser/policy/policy_browsertest.cc base::FilePath(kTestExtensionsDir), base::FilePath(name))); base 689 chrome/browser/policy/policy_browsertest.cc const base::FilePath::StringType& name, bool expect_success) { base 690 chrome/browser/policy/policy_browsertest.cc base::FilePath extension_path(ui_test_utils::GetTestFilePath( base 691 chrome/browser/policy/policy_browsertest.cc base::FilePath(kTestExtensionsDir), base::FilePath(name))); base 722 chrome/browser/policy/policy_browsertest.cc DCHECK(base::MessageLoop::current()); base 723 chrome/browser/policy/policy_browsertest.cc base::RunLoop loop; base 763 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue("fr"), NULL); base 776 chrome/browser/policy/policy_browsertest.cc base::string16 french_title = l10n_util::GetStringUTF16(IDS_NEW_TAB_TITLE); base 777 chrome/browser/policy/policy_browsertest.cc base::string16 title; base 785 chrome/browser/policy/policy_browsertest.cc base::string16 english_title = l10n_util::GetStringUTF16(IDS_NEW_TAB_TITLE); base 807 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 818 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 854 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(4), NULL); base 868 chrome/browser/policy/policy_browsertest.cc const base::string16 kKeyword(base::ASCIIToUTF16("testsearch")); base 899 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 902 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kKeyword), NULL); base 905 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kSearchURL), NULL); base 906 chrome/browser/policy/policy_browsertest.cc base::ListValue* alternate_urls = new base::ListValue(); base 913 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kSearchTermsReplacementKey), base 917 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kImageURL), base 921 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kImageURLPostParams), base 925 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kNewTabURL), base 955 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 971 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(3), base 977 chrome/browser/policy/policy_browsertest.cc scoped_ptr<base::DictionaryValue> expected_value(new base::DictionaryValue); base 1030 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1059 chrome/browser/policy/policy_browsertest.cc const base::string16 kKeyword(base::ASCIIToUTF16("testsearch")); base 1084 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1087 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kKeyword), NULL); base 1090 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kSearchURL), NULL); base 1093 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kInstantURL), NULL); base 1094 chrome/browser/policy/policy_browsertest.cc base::ListValue* alternate_urls = new base::ListValue(); base 1101 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kSearchTermsReplacementKey), base 1129 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("foobar"), omnibox_view->GetText()); base 1137 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("https://www.google.com/?q=foobar"), base 1147 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("banana"), omnibox_view->GetText()); base 1156 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("tractor parts"), omnibox_view->GetText()); base 1164 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("foobar"), omnibox_view->GetText()); base 1180 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1188 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 1200 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1207 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 1232 chrome/browser/policy/policy_browsertest.cc base::ListValue disabled_plugins; base 1233 chrome/browser/policy/policy_browsertest.cc disabled_plugins.Append(base::Value::CreateStringValue("*Flash*")); base 1259 chrome/browser/policy/policy_browsertest.cc base::ListValue disabled_plugins; base 1260 chrome/browser/policy/policy_browsertest.cc disabled_plugins.Append(base::Value::CreateStringValue("*")); base 1271 chrome/browser/policy/policy_browsertest.cc base::ListValue disabled_plugins_exceptions; base 1273 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue("*Flash*")); base 1300 chrome/browser/policy/policy_browsertest.cc base::ListValue plugin_list; base 1301 chrome/browser/policy/policy_browsertest.cc plugin_list.Append(base::Value::CreateStringValue(content::kFlashPluginName)); base 1324 chrome/browser/policy/policy_browsertest.cc if (!base::PathExists(ui_test_utils::GetTestFilePath( base 1325 chrome/browser/policy/policy_browsertest.cc base::FilePath(FILE_PATH_LITERAL("plugin")), base 1326 chrome/browser/policy/policy_browsertest.cc base::FilePath(FILE_PATH_LITERAL("quicktime.html"))))) { base 1344 chrome/browser/policy/policy_browsertest.cc base::FilePath path(FILE_PATH_LITERAL("plugin/quicktime.html")); base 1357 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1381 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1425 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1439 chrome/browser/policy/policy_browsertest.cc base::ScopedTempDir initial_dir; base 1448 chrome/browser/policy/policy_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test1.lib")); base 1450 chrome/browser/policy/policy_browsertest.cc base::DieFileDie(initial_dir.path().Append(file), false); base 1453 chrome/browser/policy/policy_browsertest.cc base::ScopedTempDir forced_dir; base 1458 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(forced_dir.path().value()), NULL); base 1462 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(base::PathExists(initial_dir.path().Append(file))); base 1470 chrome/browser/policy/policy_browsertest.cc base::ListValue blacklist; base 1471 chrome/browser/policy/policy_browsertest.cc blacklist.Append(base::Value::CreateStringValue(kGoodCrxId)); base 1501 chrome/browser/policy/policy_browsertest.cc base::ListValue blacklist; base 1502 chrome/browser/policy/policy_browsertest.cc blacklist.Append(base::Value::CreateStringValue("*")); base 1523 chrome/browser/policy/policy_browsertest.cc base::ListValue blacklist; base 1524 chrome/browser/policy/policy_browsertest.cc blacklist.Append(base::Value::CreateStringValue("*")); base 1525 chrome/browser/policy/policy_browsertest.cc base::ListValue whitelist; base 1526 chrome/browser/policy/policy_browsertest.cc whitelist.Append(base::Value::CreateStringValue(kGoodCrxId)); base 1554 chrome/browser/policy/policy_browsertest.cc base::FilePath path = base 1555 chrome/browser/policy/policy_browsertest.cc base::FilePath(kTestExtensionsDir).Append(kGoodV1CrxManifestName); base 1559 chrome/browser/policy/policy_browsertest.cc base::ListValue forcelist; base 1560 chrome/browser/policy/policy_browsertest.cc forcelist.Append(base::Value::CreateStringValue(base::StringPrintf( base 1589 chrome/browser/policy/policy_browsertest.cc base::FilePath test_path; base 1609 chrome/browser/policy/policy_browsertest.cc const base::Version* new_version = base 1612 chrome/browser/policy/policy_browsertest.cc base::Version old_version(old_version_number); base 1655 chrome/browser/policy/policy_browsertest.cc base::KillProcess(extension_host->render_process_host()->GetHandle(), base 1668 chrome/browser/policy/policy_browsertest.cc base::ListValue allowed_types; base 1703 chrome/browser/policy/policy_browsertest.cc base::FilePath(FILE_PATH_LITERAL("extensions/*")))); base 1705 chrome/browser/policy/policy_browsertest.cc base::FilePath(FILE_PATH_LITERAL("policy/*")))); base 1707 chrome/browser/policy/policy_browsertest.cc const GURL download_page_url(URLRequestMockHTTPJob::GetMockUrl(base::FilePath( base 1719 chrome/browser/policy/policy_browsertest.cc base::ListValue install_sources; base 1766 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(chrome::kChromeUICreditsURL), base 1774 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1793 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 1801 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1820 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 1838 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW), NULL); base 1848 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1851 chrome/browser/policy/policy_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 1852 chrome/browser/policy/policy_browsertest.cc base::FilePath(FILE_PATH_LITERAL("empty.html"))); base 1860 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 1887 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 1895 chrome/browser/policy/policy_browsertest.cc base::FilePath(), base 1896 chrome/browser/policy/policy_browsertest.cc base::FilePath(FILE_PATH_LITERAL("translate/fr_test.html"))); base 1928 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 1952 chrome/browser/policy/policy_browsertest.cc base::RunLoop loop; base 1955 chrome/browser/policy/policy_browsertest.cc base::Bind(RedirectHostsToTestData, kURLS, arraysize(kURLS)), base 1964 chrome/browser/policy/policy_browsertest.cc base::ListValue blacklist; base 1965 chrome/browser/policy/policy_browsertest.cc blacklist.Append(base::Value::CreateStringValue("bbb.com")); base 1977 chrome/browser/policy/policy_browsertest.cc base::ListValue whitelist; base 1978 chrome/browser/policy/policy_browsertest.cc whitelist.Append(base::Value::CreateStringValue("sub.bbb.com")); base 1979 chrome/browser/policy/policy_browsertest.cc whitelist.Append(base::Value::CreateStringValue("bbb.com/policy")); base 1989 chrome/browser/policy/policy_browsertest.cc base::RunLoop loop; base 1992 chrome/browser/policy/policy_browsertest.cc base::Bind(UndoRedirectHostsToTestData, kURLS, arraysize(kURLS)), base 2003 chrome/browser/policy/policy_browsertest.cc base::FilePath test_path; base 2014 chrome/browser/policy/policy_browsertest.cc base::ListValue blacklist; base 2015 chrome/browser/policy/policy_browsertest.cc blacklist.Append(base::Value::CreateStringValue("file://*")); base 2026 chrome/browser/policy/policy_browsertest.cc blacklist.Remove(base::StringValue("file://*"), NULL); base 2033 chrome/browser/policy/policy_browsertest.cc const base::ListValue* list_url = prefs->GetList(policy_prefs::kUrlBlacklist); base 2034 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(list_url->Find(base::StringValue("file://*")), base 2037 chrome/browser/policy/policy_browsertest.cc base::ListValue disabledscheme; base 2038 chrome/browser/policy/policy_browsertest.cc disabledscheme.Append(base::Value::CreateStringValue("file")); base 2045 chrome/browser/policy/policy_browsertest.cc EXPECT_NE(list_url->Find(base::StringValue("file://*")), base 2049 chrome/browser/policy/policy_browsertest.cc base::ListValue whitelist; base 2050 chrome/browser/policy/policy_browsertest.cc whitelist.Append(base::Value::CreateStringValue(base_path)); base 2053 chrome/browser/policy/policy_browsertest.cc blacklist.Append(base::Value::CreateStringValue(folder_path)); base 2068 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(false), NULL); base 2083 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(false), NULL); base 2144 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 2155 chrome/browser/policy/policy_browsertest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 2173 chrome/browser/policy/policy_browsertest.cc (base::TimeTicks::Now() - base::TimeDelta::FromHours(2)) base 2192 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(kThreeHoursInMs), base 2195 chrome/browser/policy/policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 2203 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(kOneHourInMs), base 2206 chrome/browser/policy/policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 2217 chrome/browser/policy/policy_browsertest.cc (base::TimeTicks::Now() - base::TimeDelta::FromHours(2)) base 2234 chrome/browser/policy/policy_browsertest.cc new base::FundamentalValue(true), base 2237 chrome/browser/policy/policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 2245 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(kOneHourInMs), base 2248 chrome/browser/policy/policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 2258 chrome/browser/policy/policy_browsertest.cc (base::TimeTicks::Now() - base::TimeDelta::FromHours(2)) base 2281 chrome/browser/policy/policy_browsertest.cc new base::FundamentalValue(true), base 2285 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(kThreeHoursInMs), base 2288 chrome/browser/policy/policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 2296 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(kOneHourInMs), base 2299 chrome/browser/policy/policy_browsertest.cc base::RunLoop().RunUntilIdle(); base 2317 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(false), NULL); base 2341 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(false), NULL); base 2365 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(false), NULL); base 2389 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(0), NULL); base 2410 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(ash::MAGNIFIER_FULL), NULL); base 2434 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(false), NULL); base 2502 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue( base 2507 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(false), NULL); base 2510 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue(kRestoredURLs[1]), NULL); base 2522 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue( base 2527 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(true), NULL); base 2535 chrome/browser/policy/policy_browsertest.cc base::ListValue urls; base 2537 chrome/browser/policy/policy_browsertest.cc urls.Append(base::Value::CreateStringValue(kRestoredURLs[i])); base 2543 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(SessionStartupPref::kPrefValueURLs), base 2556 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(SessionStartupPref::kPrefValueNewTab), base 2567 chrome/browser/policy/policy_browsertest.cc base::Value::CreateIntegerValue(SessionStartupPref::kPrefValueLast), base 2629 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(true), NULL); base 2632 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(false), NULL); base 2635 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue("http://chromium.org"), NULL); base 2700 chrome/browser/policy/policy_browsertest.cc base::Value::CreateBooleanValue(policy_value_), NULL); base 2711 chrome/browser/policy/policy_browsertest.cc base::ListValue* list = new base::ListValue(); base 2749 chrome/browser/policy/policy_browsertest.cc base::Bind(&MediaStreamDevicesControllerBrowserTest::Accept, this)); base 2752 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::current()->QuitWhenIdle(); base 2767 chrome/browser/policy/policy_browsertest.cc base::Bind(&MediaStreamDevicesControllerBrowserTest::Accept, this)); base 2770 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::current()->QuitWhenIdle(); base 2796 chrome/browser/policy/policy_browsertest.cc base::Bind(&MediaCaptureDevicesDispatcher::SetTestAudioCaptureDevices, base 2797 chrome/browser/policy/policy_browsertest.cc base::Unretained(MediaCaptureDevicesDispatcher::GetInstance()), base 2799 chrome/browser/policy/policy_browsertest.cc base::Bind(&MediaStreamDevicesControllerBrowserTest::FinishAudioTest, base 2802 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::current()->Run(); base 2828 chrome/browser/policy/policy_browsertest.cc base::Bind( base 2830 chrome/browser/policy/policy_browsertest.cc base::Unretained(MediaCaptureDevicesDispatcher::GetInstance()), base 2832 chrome/browser/policy/policy_browsertest.cc base::Bind( base 2836 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::current()->Run(); base 2853 chrome/browser/policy/policy_browsertest.cc base::Bind(&MediaCaptureDevicesDispatcher::SetTestVideoCaptureDevices, base 2854 chrome/browser/policy/policy_browsertest.cc base::Unretained(MediaCaptureDevicesDispatcher::GetInstance()), base 2856 chrome/browser/policy/policy_browsertest.cc base::Bind(&MediaStreamDevicesControllerBrowserTest::FinishVideoTest, base 2859 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::current()->Run(); base 2885 chrome/browser/policy/policy_browsertest.cc base::Bind(&MediaCaptureDevicesDispatcher::SetTestVideoCaptureDevices, base 2886 chrome/browser/policy/policy_browsertest.cc base::Unretained(MediaCaptureDevicesDispatcher::GetInstance()), base 2888 chrome/browser/policy/policy_browsertest.cc base::Bind( base 2892 chrome/browser/policy/policy_browsertest.cc base::MessageLoop::current()->Run(); base 2912 chrome/browser/policy/policy_browsertest.cc base::Value::CreateStringValue("restricted"), base 2933 chrome/browser/policy/policy_browsertest.cc base::ListValue blacklist; base 2934 chrome/browser/policy/policy_browsertest.cc blacklist.Append(base::Value::CreateStringValue("host.name")); base 2948 chrome/browser/policy/policy_browsertest.cc base::ListValue blacklist; base 2949 chrome/browser/policy/policy_browsertest.cc blacklist.Append(base::Value::CreateStringValue("*")); base 2963 chrome/browser/policy/policy_browsertest.cc base::ListValue blacklist; base 2964 chrome/browser/policy/policy_browsertest.cc blacklist.Append(base::Value::CreateStringValue("*")); base 2965 chrome/browser/policy/policy_browsertest.cc base::ListValue whitelist; base 2966 chrome/browser/policy/policy_browsertest.cc whitelist.Append(base::Value::CreateStringValue("host.name")); base 49 chrome/browser/policy/policy_path_parser.h base::FilePath::StringType ExpandPathVariables( base 50 chrome/browser/policy/policy_path_parser.h const base::FilePath::StringType& untranslated_string); base 61 chrome/browser/policy/policy_path_parser.h void CheckUserDataDirPolicy(base::FilePath* user_data_dir); base 22 chrome/browser/policy/policy_path_parser_linux.cc base::FilePath::StringType ExpandPathVariables( base 23 chrome/browser/policy/policy_path_parser_linux.cc const base::FilePath::StringType& untranslated_string) { base 24 chrome/browser/policy/policy_path_parser_linux.cc base::FilePath::StringType result(untranslated_string); base 56 chrome/browser/policy/policy_path_parser_linux.cc void CheckUserDataDirPolicy(base::FilePath* user_data_dir) { base 14 chrome/browser/policy/policy_path_parser_unittest.cc void CheckForSubstitution(base::FilePath::StringType test_string, base 15 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType var_name) { base 16 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType var(test_string); base 17 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType var_result = base 19 chrome/browser/policy/policy_path_parser_unittest.cc ASSERT_EQ(var_result.find(var_name), base::FilePath::StringType::npos); base 31 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType no_vars(FILE_PATH_LITERAL("//$C/shares")); base 32 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType no_vars_result = base 37 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType unknown_vars(FILE_PATH_LITERAL("//$C/${buggy}")); base 38 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType unknown_vars_result = base 43 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType no_quotes(FILE_PATH_LITERAL("//$C/\"a\"/$path")); base 44 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType single_quotes( base 46 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType double_quotes( base 48 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType quotes_result = base 55 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType vars( base 57 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType vars_result = base 60 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType::npos); base 62 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType::npos); base 68 chrome/browser/policy/policy_path_parser_unittest.cc ASSERT_NE(pos, base::FilePath::StringType::npos); base 70 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType::npos); base 75 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType::npos); base 77 chrome/browser/policy/policy_path_parser_unittest.cc base::FilePath::StringType::npos); base 20 chrome/browser/policy/policy_path_parser_win.cc bool LoadUserDataDirPolicyFromRegistry(HKEY hive, base::FilePath* dir) { base 22 chrome/browser/policy/policy_path_parser_win.cc std::wstring key_name(base::ASCIIToWide(policy::key::kUserDataDir)); base 23 chrome/browser/policy/policy_path_parser_win.cc base::win::RegKey key(hive, policy::kRegistryChromePolicyKey, KEY_READ); base 25 chrome/browser/policy/policy_path_parser_win.cc *dir = base::FilePath(policy::path_parser::ExpandPathVariables(value)); base 66 chrome/browser/policy/policy_path_parser_win.cc base::FilePath::StringType ExpandPathVariables( base 67 chrome/browser/policy/policy_path_parser_win.cc const base::FilePath::StringType& untranslated_string) { base 68 chrome/browser/policy/policy_path_parser_win.cc base::FilePath::StringType result(untranslated_string); base 129 chrome/browser/policy/policy_path_parser_win.cc void CheckUserDataDirPolicy(base::FilePath* user_data_dir) { base 63 chrome/browser/policy/policy_prefs_browsertest.cc IndicatorTestCase(const base::DictionaryValue& policy, base 69 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue& policy() const { return *policy_; } base 76 chrome/browser/policy/policy_prefs_browsertest.cc scoped_ptr<base::DictionaryValue> policy_; base 181 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue& test_policy() const { return test_policy_; } base 182 chrome/browser/policy/policy_prefs_browsertest.cc void SetTestPolicy(const base::DictionaryValue& policy) { base 201 chrome/browser/policy/policy_prefs_browsertest.cc base::DictionaryValue test_policy_; base 215 chrome/browser/policy/policy_prefs_browsertest.cc base::FilePath path = ui_test_utils::GetTestFilePath( base 216 chrome/browser/policy/policy_prefs_browsertest.cc base::FilePath(FILE_PATH_LITERAL("policy")), base 217 chrome/browser/policy/policy_prefs_browsertest.cc base::FilePath(FILE_PATH_LITERAL("policy_test_cases.json"))); base 219 chrome/browser/policy/policy_prefs_browsertest.cc if (!base::ReadFileToString(path, &json)) { base 225 chrome/browser/policy/policy_prefs_browsertest.cc base::DictionaryValue* dict = NULL; base 226 chrome/browser/policy/policy_prefs_browsertest.cc scoped_ptr<base::Value> value(base::JSONReader::ReadAndReturnError( base 227 chrome/browser/policy/policy_prefs_browsertest.cc json, base::JSON_PARSE_RFC, &error_code, &error_string)); base 259 chrome/browser/policy/policy_prefs_browsertest.cc PolicyTestCase* GetPolicyTestCase(const base::DictionaryValue* tests, base 261 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue* policy_test_dict = NULL; base 274 chrome/browser/policy/policy_prefs_browsertest.cc const base::ListValue* os_list = NULL; base 282 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue* policy = NULL; base 285 chrome/browser/policy/policy_prefs_browsertest.cc const base::ListValue* pref_mappings = NULL; base 288 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue* pref_mapping_dict = NULL; base 315 chrome/browser/policy/policy_prefs_browsertest.cc const base::ListValue* indicator_tests = NULL; base 318 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue* indicator_test_dict = NULL; base 319 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue* policy = NULL; base 409 chrome/browser/policy/policy_prefs_browsertest.cc scoped_ptr<base::Value> value_ptr(base::JSONReader::Read(json)); base 410 chrome/browser/policy/policy_prefs_browsertest.cc const base::ListValue* indicators = NULL; base 421 chrome/browser/policy/policy_prefs_browsertest.cc for (base::ListValue::const_iterator indicator = indicators->begin(); base 423 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue* properties = NULL; base 490 chrome/browser/policy/policy_prefs_browsertest.cc base::RunLoop().RunUntilIdle(); base 493 chrome/browser/policy/policy_prefs_browsertest.cc void SetProviderPolicy(const base::DictionaryValue& policies, base 496 chrome/browser/policy/policy_prefs_browsertest.cc for (base::DictionaryValue::Iterator it(policies); base 506 chrome/browser/policy/policy_prefs_browsertest.cc new ExternalDataFetcher(base::WeakPtr<ExternalDataManager>(), base 511 chrome/browser/policy/policy_prefs_browsertest.cc base::RunLoop().RunUntilIdle(); base 19 chrome/browser/policy/profile_policy_connector_factory.h namespace base { base 28 chrome/browser/policy/test/local_policy_test_server.cc const base::FilePath::CharType kPolicyFileName[] = FILE_PATH_LITERAL("policy"); base 31 chrome/browser/policy/test/local_policy_test_server.cc const base::FilePath::CharType kSigningKeyFileName[] = base 35 chrome/browser/policy/test/local_policy_test_server.cc const base::FilePath::CharType kSigningKeySignatureFileName[] = base 39 chrome/browser/policy/test/local_policy_test_server.cc const base::FilePath::CharType kClientStateFileName[] = base 62 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath()) { base 67 chrome/browser/policy/test/local_policy_test_server.cc LocalPolicyTestServer::LocalPolicyTestServer(const base::FilePath& config_file) base 70 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath()), base 76 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath()) { base 78 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath source_root; base 79 chrome/browser/policy/test/local_policy_test_server.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &source_root)); base 85 chrome/browser/policy/test/local_policy_test_server.cc .AppendASCII(base::StringPrintf("policy_%s.json", test_name.c_str())); base 99 chrome/browser/policy/test/local_policy_test_server.cc int bytes_written = base::WriteFile( base 108 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath signature_file = server_data_dir_.path().Append( base 110 chrome/browser/policy/test/local_policy_test_server.cc bytes_written = base::WriteFile( base 122 chrome/browser/policy/test/local_policy_test_server.cc scoped_ptr<base::DictionaryValue> client_dict(new base::DictionaryValue()); base 129 chrome/browser/policy/test/local_policy_test_server.cc scoped_ptr<base::ListValue> types(new base::ListValue()); base 145 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath policy_file = server_data_dir_.path().AppendASCII( base 146 chrome/browser/policy/test/local_policy_test_server.cc base::StringPrintf("policy_%s.bin", selector.c_str())); base 148 chrome/browser/policy/test/local_policy_test_server.cc return base::WriteFile(policy_file, policy.c_str(), policy.size()) == base 158 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath data_file = server_data_dir_.path().AppendASCII( base 159 chrome/browser/policy/test/local_policy_test_server.cc base::StringPrintf("policy_%s.data", selector.c_str())); base 161 chrome/browser/policy/test/local_policy_test_server.cc return base::WriteFile(data_file, data.c_str(), data.size()) == base 174 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath net_testserver_path; base 182 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath third_party_dir; base 183 chrome/browser/policy/test/local_policy_test_server.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &third_party_dir)) { base 193 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath pyproto_dir; base 221 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath* testserver_path) const { base 222 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath source_root; base 223 chrome/browser/policy/test/local_policy_test_server.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &source_root)) { base 237 chrome/browser/policy/test/local_policy_test_server.cc base::DictionaryValue* arguments) const { base 249 chrome/browser/policy/test/local_policy_test_server.cc base::JSONWriter::Write(&clients_, &json); base 250 chrome/browser/policy/test/local_policy_test_server.cc base::FilePath client_state_file = base 252 chrome/browser/policy/test/local_policy_test_server.cc if (base::WriteFile(client_state_file, json.c_str(), json.size()) != base 267 chrome/browser/policy/test/local_policy_test_server.cc selector = base::StringPrintf("%s/%s", type.c_str(), entity_id.c_str()); base 33 chrome/browser/policy/test/local_policy_test_server.h explicit LocalPolicyTestServer(const base::FilePath& config_file); base 85 chrome/browser/policy/test/local_policy_test_server.h base::FilePath* testserver_path) const OVERRIDE; base 87 chrome/browser/policy/test/local_policy_test_server.h base::DictionaryValue* arguments) const OVERRIDE; base 93 chrome/browser/policy/test/local_policy_test_server.h base::FilePath config_file_; base 94 chrome/browser/policy/test/local_policy_test_server.h base::FilePath policy_key_; base 95 chrome/browser/policy/test/local_policy_test_server.h base::DictionaryValue clients_; base 96 chrome/browser/policy/test/local_policy_test_server.h base::ScopedTempDir server_data_dir_; base 44 chrome/browser/policy/url_blacklist_manager_unittest.cc base::MessageLoopProxy::current(), base 45 chrome/browser/policy/url_blacklist_manager_unittest.cc base::MessageLoopProxy::current(), base 47 chrome/browser/policy/url_blacklist_manager_unittest.cc base::Bind(OverrideBlacklistForURL)), base 59 chrome/browser/policy/url_blacklist_manager_unittest.cc scoped_ptr<base::ListValue> block(new base::ListValue); base 60 chrome/browser/policy/url_blacklist_manager_unittest.cc block->Append(new base::StringValue("example.com")); base 61 chrome/browser/policy/url_blacklist_manager_unittest.cc scoped_ptr<base::ListValue> allow(new base::ListValue); base 106 chrome/browser/policy/url_blacklist_manager_unittest.cc base::MessageLoopForIO loop_; base 187 chrome/browser/policy/url_blacklist_manager_unittest.cc base::ListValue* blacklist = new base::ListValue; base 188 chrome/browser/policy/url_blacklist_manager_unittest.cc blacklist->Append(new base::StringValue("*.google.com")); base 189 chrome/browser/policy/url_blacklist_manager_unittest.cc base::ListValue* whitelist = new base::ListValue; base 190 chrome/browser/policy/url_blacklist_manager_unittest.cc whitelist->Append(new base::StringValue("mail.google.com")); base 319 chrome/browser/policy/url_blacklist_manager_unittest.cc scoped_ptr<base::ListValue> blocked(new base::ListValue); base 320 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("google.com")); base 335 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked.reset(new base::ListValue); base 336 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("http://secure.com")); base 337 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("ftp://secure.com")); base 338 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("ws://secure.com")); base 351 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked.reset(new base::ListValue); base 352 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("path.to/ruin")); base 362 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked.reset(new base::ListValue); base 363 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("https://s.aaa.com/path")); base 374 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked.reset(new base::ListValue); base 375 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("ws://ws.aaa.com")); base 376 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("wss://ws.aaa.com")); base 385 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked.reset(new base::ListValue); base 386 chrome/browser/policy/url_blacklist_manager_unittest.cc scoped_ptr<base::ListValue> allowed(new base::ListValue); base 387 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("s.xxx.com/a")); base 388 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue("s.xxx.com/a/b")); base 389 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("https://s.xxx.com/a/b/c")); base 390 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue("https://s.xxx.com/a/b/c/d")); base 410 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked.reset(new base::ListValue); base 411 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("123.123.123.123")); base 417 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed.reset(new base::ListValue); base 418 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue("plus.google.com")); base 425 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed.reset(new base::ListValue); base 426 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue("https://mail.google.com")); base 436 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed.reset(new base::ListValue); base 437 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue("http://.google.com")); base 445 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked.reset(new base::ListValue); base 446 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("yyy.com/aaa")); base 448 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed.reset(new base::ListValue); base 449 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue(".yyy.com/a")); base 459 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked.reset(new base::ListValue); base 460 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("example.com")); base 462 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed.reset(new base::ListValue); base 463 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue("example.com")); base 471 chrome/browser/policy/url_blacklist_manager_unittest.cc scoped_ptr<base::ListValue> blocked(new base::ListValue); base 472 chrome/browser/policy/url_blacklist_manager_unittest.cc scoped_ptr<base::ListValue> allowed(new base::ListValue); base 473 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("*")); base 474 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue(".www.google.com")); base 475 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue("plus.google.com")); base 476 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue("https://mail.google.com")); base 477 chrome/browser/policy/url_blacklist_manager_unittest.cc allowed->Append(new base::StringValue("https://very.safe/path")); base 496 chrome/browser/policy/url_blacklist_manager_unittest.cc scoped_ptr<base::ListValue> blocked(new base::ListValue); base 497 chrome/browser/policy/url_blacklist_manager_unittest.cc blocked->Append(new base::StringValue("google.com")); base 42 chrome/browser/precache/most_visited_urls_provider.cc base::Bind(&OnMostVisitedURLsReceived, callback), false); base 108 chrome/browser/predictors/autocomplete_action_predictor.cc const base::string16& user_text, base 112 chrome/browser/predictors/autocomplete_action_predictor.cc const base::string16 lower_user_text(base::i18n::ToLower(user_text)); base 164 chrome/browser/predictors/autocomplete_action_predictor.cc const base::string16& user_text, base 272 chrome/browser/predictors/autocomplete_action_predictor.cc base::Bind(&AutocompleteActionPredictorTable::GetAllRows, table_, rows), base 273 chrome/browser/predictors/autocomplete_action_predictor.cc base::Bind(&AutocompleteActionPredictor::CreateCaches, AsWeakPtr(), base 274 chrome/browser/predictors/autocomplete_action_predictor.cc base::Owned(rows))); base 286 chrome/browser/predictors/autocomplete_action_predictor.cc base::Bind(&AutocompleteActionPredictorTable::DeleteAllRows, base 316 chrome/browser/predictors/autocomplete_action_predictor.cc base::Bind(&AutocompleteActionPredictorTable::DeleteRows, table_, base 331 chrome/browser/predictors/autocomplete_action_predictor.cc base::StringPrintf("Prerender.OmniboxNavigationsCouldPrerender%s", base 336 chrome/browser/predictors/autocomplete_action_predictor.cc const base::string16 lower_user_text(base::i18n::ToLower(log.text)); base 362 chrome/browser/predictors/autocomplete_action_predictor.cc row.id = base::GenerateGUID(); base 429 chrome/browser/predictors/autocomplete_action_predictor.cc base::Bind(&AutocompleteActionPredictorTable::AddAndUpdateRows, base 488 chrome/browser/predictors/autocomplete_action_predictor.cc base::Bind(&AutocompleteActionPredictorTable::DeleteRows, table_, base 510 chrome/browser/predictors/autocomplete_action_predictor.cc ((base::Time::Now() - url_row.last_visit()).InDays() > base 551 chrome/browser/predictors/autocomplete_action_predictor.cc const base::string16& user_text, base 64 chrome/browser/predictors/autocomplete_action_predictor.h public base::SupportsWeakPtr<AutocompleteActionPredictor> { base 79 chrome/browser/predictors/autocomplete_action_predictor.h void RegisterTransitionalMatches(const base::string16& user_text, base 92 chrome/browser/predictors/autocomplete_action_predictor.h Action RecommendAction(const base::string16& user_text, base 116 chrome/browser/predictors/autocomplete_action_predictor.h base::string16 user_text; base 119 chrome/browser/predictors/autocomplete_action_predictor.h bool operator==(const base::string16& other_user_text) const { base 125 chrome/browser/predictors/autocomplete_action_predictor.h base::string16 user_text; base 204 chrome/browser/predictors/autocomplete_action_predictor.h double CalculateConfidence(const base::string16& user_text, base 26 chrome/browser/predictors/autocomplete_action_predictor_table.cc DCHECK(base::IsValidGUID(row.id)); base 58 chrome/browser/predictors/autocomplete_action_predictor_table.cc const base::string16& user_text, base 84 chrome/browser/predictors/autocomplete_action_predictor_table.cc base::StringPrintf("SELECT * FROM %s WHERE id=?", base 101 chrome/browser/predictors/autocomplete_action_predictor_table.cc base::StringPrintf( base 141 chrome/browser/predictors/autocomplete_action_predictor_table.cc base::StringPrintf( base 159 chrome/browser/predictors/autocomplete_action_predictor_table.cc base::StringPrintf( base 189 chrome/browser/predictors/autocomplete_action_predictor_table.cc base::StringPrintf( base 212 chrome/browser/predictors/autocomplete_action_predictor_table.cc base::StringPrintf("DELETE FROM %s", base 235 chrome/browser/predictors/autocomplete_action_predictor_table.cc bool success = DB()->Execute(base::StringPrintf( base 252 chrome/browser/predictors/autocomplete_action_predictor_table.cc base::StringPrintf("SELECT count(id) FROM %s", base 48 chrome/browser/predictors/autocomplete_action_predictor_table.h const base::string16& user_text, base 56 chrome/browser/predictors/autocomplete_action_predictor_table.h base::string16 user_text; base 19 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc using base::Time; base 20 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc using base::TimeDelta; base 57 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc base::MessageLoop loop_; base 86 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc base::ASCIIToUTF16("goog"), GURL("http://www.google.com/"), base 90 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc base::ASCIIToUTF16("slash"), GURL("http://slashdot.org/"), base 94 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc base::ASCIIToUTF16("news"), GURL("http://slashdot.org/"), base 26 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc using base::ASCIIToUTF16; base 34 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc base::string16 title; base 36 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc base::string16 user_text; base 67 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc base::string16(), 5, 0, base 137 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc const base::Time visit_time = base 138 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc base::Time::Now() - base::TimeDelta::FromDays( base 151 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc row.id = base::GenerateGUID(); base 203 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc base::AutoReset<bool> initialized_reset(&predictor_->initialized_, false); base 217 chrome/browser/predictors/autocomplete_action_predictor_unittest.cc base::MessageLoop loop_; base 61 chrome/browser/predictors/logged_in_predictor_table.cc base::StringPrintf("INSERT OR IGNORE INTO %s (domain, time) VALUES (?,?)", base 65 chrome/browser/predictors/logged_in_predictor_table.cc statement.BindInt64(1, base::Time::Now().ToInternalValue()); base 76 chrome/browser/predictors/logged_in_predictor_table.cc base::StringPrintf("DELETE FROM %s WHERE domain=?", kTableName).c_str())); base 95 chrome/browser/predictors/logged_in_predictor_table.cc base::StringPrintf("SELECT count(*) FROM %s WHERE domain=?", base 107 chrome/browser/predictors/logged_in_predictor_table.cc const base::Time& delete_begin, const base::Time& delete_end) { base 113 chrome/browser/predictors/logged_in_predictor_table.cc base::StringPrintf("DELETE FROM %s WHERE time >= ? AND time <= ?", base 131 chrome/browser/predictors/logged_in_predictor_table.cc base::StringPrintf("SELECT * FROM %s", kTableName).c_str())); base 152 chrome/browser/predictors/logged_in_predictor_table.cc if (!db->Execute(base::StringPrintf(table_creator, kTableName).c_str())) base 162 chrome/browser/predictors/logged_in_predictor_table.cc base::StringPrintf("SELECT count(*) FROM %s", kTableName).c_str())); base 28 chrome/browser/predictors/logged_in_predictor_table.h typedef base::hash_map<std::string, int64> LoggedInStateMap; base 41 chrome/browser/predictors/logged_in_predictor_table.h void DeleteAllCreatedBetween(const base::Time& delete_begin, base 42 chrome/browser/predictors/logged_in_predictor_table.h const base::Time& delete_end); base 26 chrome/browser/predictors/predictor_database.cc const base::FilePath::CharType kPredictorDatabaseName[] = base 36 chrome/browser/predictors/predictor_database.cc : public base::RefCountedThreadSafe<PredictorDatabaseInternal> { base 53 chrome/browser/predictors/predictor_database.cc base::FilePath db_path_; base 109 chrome/browser/predictors/predictor_database.cc bool success = base::GetFileSize(db_path_, &db_size); base 121 chrome/browser/predictors/predictor_database.cc base::Bind(&PredictorDatabaseInternal::Initialize, db_)); base 22 chrome/browser/predictors/predictor_table_base.h : public base::RefCountedThreadSafe<PredictorTableBase> { base 38 chrome/browser/predictors/predictor_table_base.h base::CancellationFlag cancelled_; base 40 chrome/browser/predictors/predictor_table_base.h friend class base::RefCountedThreadSafe<PredictorTableBase>; base 20 chrome/browser/pref_service_flags_storage.cc const base::ListValue* enabled_experiments = prefs_->GetList( base 23 chrome/browser/pref_service_flags_storage.cc for (base::ListValue::const_iterator it = enabled_experiments->begin(); base 38 chrome/browser/pref_service_flags_storage.cc base::ListValue* experiments_list = update.Get(); base 43 chrome/browser/pref_service_flags_storage.cc experiments_list->Append(new base::StringValue(*it)); base 49 chrome/browser/prefetch/prefetch_browsertest.cc const base::string16 expected_title = base 50 chrome/browser/prefetch/prefetch_browsertest.cc expect_success ? base::ASCIIToUTF16("link onload") base 51 chrome/browser/prefetch/prefetch_browsertest.cc : base::ASCIIToUTF16("link onerror"); base 15 chrome/browser/prefetch/prefetch_field_trial.cc std::string experiment = base::FieldTrialList::FindFullName("Prefetch"); base 477 chrome/browser/prefs/browser_prefs.cc new base::DictionaryValue(), base 180 chrome/browser/prefs/chrome_pref_service_factory.cc static const bool is_enrolled_to_domain = base::win::IsEnrolledToDomain(); base 210 chrome/browser/prefs/chrome_pref_service_factory.cc base::FieldTrial* trial = base 211 chrome/browser/prefs/chrome_pref_service_factory.cc base::FieldTrialList::Find( base 285 chrome/browser/prefs/chrome_pref_service_factory.cc base::Bind(&ShowProfileErrorDialog, base 297 chrome/browser/prefs/chrome_pref_service_factory.cc const base::FilePath& profile_path) { base 352 chrome/browser/prefs/chrome_pref_service_factory.cc factory->set_read_error_callback(base::Bind(&HandleReadError)); base 359 chrome/browser/prefs/chrome_pref_service_factory.cc const base::FilePath& ignored_profile_path) { base 366 chrome/browser/prefs/chrome_pref_service_factory.cc const base::FilePath profile_path = base 393 chrome/browser/prefs/chrome_pref_service_factory.cc const base::FilePath& pref_filename, base 394 chrome/browser/prefs/chrome_pref_service_factory.cc base::SequencedTaskRunner* pref_io_task_runner, base 411 chrome/browser/prefs/chrome_pref_service_factory.cc const base::FilePath& profile_path, base 412 chrome/browser/prefs/chrome_pref_service_factory.cc base::SequencedTaskRunner* pref_io_task_runner, base 431 chrome/browser/prefs/chrome_pref_service_factory.cc void SchedulePrefsFilePathVerification(const base::FilePath& profile_path) { base 437 chrome/browser/prefs/chrome_pref_service_factory.cc base::Bind(&VerifyPreferencesFile, base 440 chrome/browser/prefs/chrome_pref_service_factory.cc base::TimeDelta::FromSeconds(g_disable_delays_and_domain_check_for_testing base 451 chrome/browser/prefs/chrome_pref_service_factory.cc const base::FilePath& initial_profile_path) { base 462 chrome/browser/prefs/chrome_pref_service_factory.cc base::Bind(&UpdateAllPrefHashStoresIfRequired, base 464 chrome/browser/prefs/chrome_pref_service_factory.cc base::TimeDelta::FromSeconds( base 469 chrome/browser/prefs/chrome_pref_service_factory.cc void ResetPrefHashStore(const base::FilePath& profile_path) { base 474 chrome/browser/prefs/chrome_pref_service_factory.cc const base::FilePath& profile_path, base 475 chrome/browser/prefs/chrome_pref_service_factory.cc const base::DictionaryValue& master_prefs) { base 480 chrome/browser/prefs/chrome_pref_service_factory.cc base::Time GetResetTime(Profile* profile) { base 11 chrome/browser/prefs/chrome_pref_service_factory.h namespace base { base 63 chrome/browser/prefs/chrome_pref_service_factory.h const base::FilePath& pref_filename, base 64 chrome/browser/prefs/chrome_pref_service_factory.h base::SequencedTaskRunner* pref_io_task_runner, base 70 chrome/browser/prefs/chrome_pref_service_factory.h const base::FilePath& pref_filename, base 71 chrome/browser/prefs/chrome_pref_service_factory.h base::SequencedTaskRunner* pref_io_task_runner, base 80 chrome/browser/prefs/chrome_pref_service_factory.h void SchedulePrefsFilePathVerification(const base::FilePath& profile_path); base 91 chrome/browser/prefs/chrome_pref_service_factory.h const base::FilePath& initial_profile_path); base 95 chrome/browser/prefs/chrome_pref_service_factory.h void ResetPrefHashStore(const base::FilePath& profile_path); base 100 chrome/browser/prefs/chrome_pref_service_factory.h const base::FilePath& profile_path, base 101 chrome/browser/prefs/chrome_pref_service_factory.h const base::DictionaryValue& master_prefs); base 105 chrome/browser/prefs/chrome_pref_service_factory.h base::Time GetResetTime(Profile* profile); base 40 chrome/browser/prefs/chrome_pref_service_unittest.cc const base::Value* value = pref->GetValue(); base 42 chrome/browser/prefs/chrome_pref_service_unittest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, value->GetType()); base 57 chrome/browser/prefs/chrome_pref_service_unittest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, value->GetType()); base 70 chrome/browser/prefs/chrome_pref_service_unittest.cc ASSERT_TRUE(base::PathExists(data_dir_)); base 84 chrome/browser/prefs/chrome_pref_service_unittest.cc base::ScopedTempDir temp_dir_; base 86 chrome/browser/prefs/chrome_pref_service_unittest.cc base::FilePath data_dir_; base 88 chrome/browser/prefs/chrome_pref_service_unittest.cc base::MessageLoop message_loop_; base 104 chrome/browser/prefs/chrome_pref_service_unittest.cc base::Value::CreateBooleanValue(false)); base 107 chrome/browser/prefs/chrome_pref_service_unittest.cc base::Value::CreateStringValue("utf8")); base 109 chrome/browser/prefs/chrome_pref_service_unittest.cc base::Value::CreateIntegerValue(20)); base 111 chrome/browser/prefs/chrome_pref_service_unittest.cc base::Value::CreateBooleanValue(false)); base 113 chrome/browser/prefs/chrome_pref_service_unittest.cc base::Value::CreateBooleanValue(true)); base 115 chrome/browser/prefs/chrome_pref_service_unittest.cc base::Value::CreateStringValue("bar")); base 139 chrome/browser/prefs/chrome_pref_service_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(kDefaultFont), base 107 chrome/browser/prefs/command_line_pref_store.cc base::Value* value = base::Value::CreateStringValue(command_line_-> base 118 chrome/browser/prefs/command_line_pref_store.cc if (!base::StringToInt(str_value, &int_value)) { base 124 chrome/browser/prefs/command_line_pref_store.cc base::Value* value = base::Value::CreateIntegerValue(int_value); base 131 chrome/browser/prefs/command_line_pref_store.cc base::Value* value = base::Value::CreateBooleanValue( base 166 chrome/browser/prefs/command_line_pref_store.cc base::SplitString(cipher_suites, ',', &cipher_strings); base 167 chrome/browser/prefs/command_line_pref_store.cc base::ListValue* list_value = new base::ListValue(); base 170 chrome/browser/prefs/command_line_pref_store.cc list_value->Append(base::Value::CreateStringValue(*it)); base 179 chrome/browser/prefs/command_line_pref_store.cc base::Value* value = base::Value::CreateBooleanValue(false); base 17 chrome/browser/prefs/command_line_pref_store.h explicit CommandLinePrefStore(const base::CommandLine* command_line); base 61 chrome/browser/prefs/command_line_pref_store.h const base::CommandLine* command_line_; base 34 chrome/browser/prefs/command_line_pref_store_unittest.cc const base::Value* value = NULL; base 36 chrome/browser/prefs/command_line_pref_store_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, value->GetType()); base 38 chrome/browser/prefs/command_line_pref_store_unittest.cc static_cast<const base::DictionaryValue*>(value)); base 46 chrome/browser/prefs/command_line_pref_store_unittest.cc const base::Value* value = NULL; base 48 chrome/browser/prefs/command_line_pref_store_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, value->GetType()); base 49 chrome/browser/prefs/command_line_pref_store_unittest.cc const base::ListValue* list_value = base 50 chrome/browser/prefs/command_line_pref_store_unittest.cc static_cast<const base::ListValue*>(value); base 54 chrome/browser/prefs/command_line_pref_store_unittest.cc for (base::ListValue::const_iterator it = list_value->begin(); base 71 chrome/browser/prefs/command_line_pref_store_unittest.cc const base::Value* actual = NULL; base 95 chrome/browser/prefs/command_line_pref_store_unittest.cc const base::Value* actual = NULL; base 110 chrome/browser/prefs/command_line_pref_store_unittest.cc const base::Value* actual = NULL; base 116 chrome/browser/prefs/command_line_pref_store_unittest.cc const base::Value* value = NULL; base 118 chrome/browser/prefs/command_line_pref_store_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, value->GetType()); base 119 chrome/browser/prefs/command_line_pref_store_unittest.cc ProxyConfigDictionary dict(static_cast<const base::DictionaryValue*>(value)); base 98 chrome/browser/prefs/incognito_mode_prefs.cc return base::win::IsParentalControlActivityLoggingOn(); base 13 chrome/browser/prefs/incognito_mode_prefs.h namespace base { base 58 chrome/browser/prefs/incognito_mode_prefs.h static bool ShouldLaunchIncognito(const base::CommandLine& command_line, base 41 chrome/browser/prefs/incognito_mode_prefs_unittest.cc base::Value::CreateIntegerValue( base 47 chrome/browser/prefs/incognito_mode_prefs_unittest.cc base::Value::CreateIntegerValue( base 53 chrome/browser/prefs/incognito_mode_prefs_unittest.cc base::Value::CreateIntegerValue( base 64 chrome/browser/prefs/incognito_mode_prefs_unittest.cc base::Value::CreateIntegerValue(-1)); base 50 chrome/browser/prefs/pref_functional_browsertest.cc base::FilePath download_dir = base 52 chrome/browser/prefs/pref_functional_browsertest.cc base::FilePath new_download_dir = download_dir.AppendASCII("my_downloads"); base 53 chrome/browser/prefs/pref_functional_browsertest.cc base::FilePath downloaded_pkg = base 57 chrome/browser/prefs/pref_functional_browsertest.cc if (base::PathExists(new_download_dir)) { base 58 chrome/browser/prefs/pref_functional_browsertest.cc base::DeleteFile(new_download_dir, true); base 62 chrome/browser/prefs/pref_functional_browsertest.cc base::CreateDirectory(new_download_dir); base 76 chrome/browser/prefs/pref_functional_browsertest.cc EXPECT_TRUE(base::PathExists(downloaded_pkg)); base 102 chrome/browser/prefs/pref_functional_browsertest.cc base::DictionaryValue value; base 128 chrome/browser/prefs/pref_functional_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Title from script javascript enabled"), base 135 chrome/browser/prefs/pref_functional_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("This is html title"), base 39 chrome/browser/prefs/pref_hash_browsertest.cc void OnUnblockOnProfileCreation(const base::Closure& callback, base 57 chrome/browser/prefs/pref_hash_browsertest.cc base::FilePath GetUnloadedProfilePath() { base 62 chrome/browser/prefs/pref_hash_browsertest.cc std::set<base::FilePath> profile_paths; base 69 chrome/browser/prefs/pref_hash_browsertest.cc return base::FilePath(); base 77 chrome/browser/prefs/pref_hash_browsertest.cc const base::HistogramBase* histogram = base 78 chrome/browser/prefs/pref_hash_browsertest.cc base::StatisticsRecorder::FindHistogram(histogram_name); base 82 chrome/browser/prefs/pref_hash_browsertest.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); base 172 chrome/browser/prefs/pref_hash_browsertest.cc const base::FilePath new_path = base 178 chrome/browser/prefs/pref_hash_browsertest.cc base::Bind(&OnUnblockOnProfileCreation, runner->QuitClosure()), base 179 chrome/browser/prefs/pref_hash_browsertest.cc base::string16(), base 180 chrome/browser/prefs/pref_hash_browsertest.cc base::string16(), base 208 chrome/browser/prefs/pref_hash_browsertest.cc const base::DictionaryValue* hashes = base 216 chrome/browser/prefs/pref_hash_browsertest.cc const base::FilePath unloaded_profile_path = GetUnloadedProfilePath(); base 237 chrome/browser/prefs/pref_hash_browsertest.cc const base::DictionaryValue* hashes = base 29 chrome/browser/prefs/pref_hash_calculator.cc return base::HexEncode(&digest[0], digest.size()); base 39 chrome/browser/prefs/pref_hash_calculator.cc return base::HexStringToBytes(digest_string, &digest) && base 42 chrome/browser/prefs/pref_hash_calculator.cc base::StringPiece(reinterpret_cast<char*>(&digest[0]), base 49 chrome/browser/prefs/pref_hash_calculator.cc std::string ValueAsString(const base::Value* value) { base 52 chrome/browser/prefs/pref_hash_calculator.cc const base::DictionaryValue* dict_value; base 53 chrome/browser/prefs/pref_hash_calculator.cc scoped_ptr<base::DictionaryValue> canonical_dict_value; base 99 chrome/browser/prefs/pref_hash_calculator.cc get_legacy_device_id_callback_(base::Bind(&GetLegacyDeviceId)) {} base 113 chrome/browser/prefs/pref_hash_calculator.cc const base::Value* value) const { base 120 chrome/browser/prefs/pref_hash_calculator.cc const base::Value* value, base 14 chrome/browser/prefs/pref_hash_calculator.h namespace base { base 30 chrome/browser/prefs/pref_hash_calculator.h typedef base::Callback<std::string(const std::string& modern_device_id)> base 50 chrome/browser/prefs/pref_hash_calculator.h std::string Calculate(const std::string& path, const base::Value* value) base 56 chrome/browser/prefs/pref_hash_calculator.h const base::Value* value, base 17 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::StringValue string_value_1("string value 1"); base 18 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::StringValue string_value_2("string value 2"); base 19 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::DictionaryValue dictionary_value_1; base 21 chrome/browser/prefs/pref_hash_calculator_unittest.cc dictionary_value_1.Set("nested empty map", new base::DictionaryValue); base 22 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::DictionaryValue dictionary_value_1_equivalent; base 24 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::DictionaryValue dictionary_value_2; base 83 chrome/browser/prefs/pref_hash_calculator_unittest.cc scoped_ptr<base::Value> null_value(base::Value::CreateNullValue()); base 84 chrome/browser/prefs/pref_hash_calculator_unittest.cc scoped_ptr<base::Value> bool_value(base::Value::CreateBooleanValue(false)); base 85 chrome/browser/prefs/pref_hash_calculator_unittest.cc scoped_ptr<base::Value> int_value( base 86 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::Value::CreateIntegerValue(1234567890)); base 87 chrome/browser/prefs/pref_hash_calculator_unittest.cc scoped_ptr<base::Value> double_value( base 88 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::Value::CreateDoubleValue(123.0987654321)); base 89 chrome/browser/prefs/pref_hash_calculator_unittest.cc scoped_ptr<base::Value> string_value(base::Value::CreateStringValue( base 94 chrome/browser/prefs/pref_hash_calculator_unittest.cc scoped_ptr<base::DictionaryValue> nested_empty_dict( base 95 chrome/browser/prefs/pref_hash_calculator_unittest.cc new base::DictionaryValue); base 96 chrome/browser/prefs/pref_hash_calculator_unittest.cc nested_empty_dict->Set("a", new base::DictionaryValue); base 97 chrome/browser/prefs/pref_hash_calculator_unittest.cc nested_empty_dict->Set("b", new base::ListValue); base 98 chrome/browser/prefs/pref_hash_calculator_unittest.cc scoped_ptr<base::ListValue> nested_empty_list( base 99 chrome/browser/prefs/pref_hash_calculator_unittest.cc new base::ListValue); base 100 chrome/browser/prefs/pref_hash_calculator_unittest.cc nested_empty_list->Append(new base::DictionaryValue); base 101 chrome/browser/prefs/pref_hash_calculator_unittest.cc nested_empty_list->Append(new base::ListValue); base 106 chrome/browser/prefs/pref_hash_calculator_unittest.cc scoped_ptr<base::DictionaryValue> dict_value(new base::DictionaryValue); base 107 chrome/browser/prefs/pref_hash_calculator_unittest.cc dict_value->Set("a", new base::StringValue("foo")); base 108 chrome/browser/prefs/pref_hash_calculator_unittest.cc dict_value->Set("d", new base::ListValue); base 109 chrome/browser/prefs/pref_hash_calculator_unittest.cc dict_value->Set("b", new base::DictionaryValue); base 110 chrome/browser/prefs/pref_hash_calculator_unittest.cc dict_value->Set("c", new base::StringValue("baz")); base 114 chrome/browser/prefs/pref_hash_calculator_unittest.cc scoped_ptr<base::ListValue> list_value(new base::ListValue); base 119 chrome/browser/prefs/pref_hash_calculator_unittest.cc ASSERT_EQ(base::Value::TYPE_NULL, null_value->GetType()); base 120 chrome/browser/prefs/pref_hash_calculator_unittest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, bool_value->GetType()); base 121 chrome/browser/prefs/pref_hash_calculator_unittest.cc ASSERT_EQ(base::Value::TYPE_INTEGER, int_value->GetType()); base 122 chrome/browser/prefs/pref_hash_calculator_unittest.cc ASSERT_EQ(base::Value::TYPE_DOUBLE, double_value->GetType()); base 123 chrome/browser/prefs/pref_hash_calculator_unittest.cc ASSERT_EQ(base::Value::TYPE_STRING, string_value->GetType()); base 124 chrome/browser/prefs/pref_hash_calculator_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, dict_value->GetType()); base 125 chrome/browser/prefs/pref_hash_calculator_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, list_value->GetType()); base 172 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::DictionaryValue everything; base 203 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::ListValue startup_urls; base 204 chrome/browser/prefs/pref_hash_calculator_unittest.cc startup_urls.Set(0, new base::StringValue("http://www.chromium.org/")); base 216 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::DictionaryValue dict; base 217 chrome/browser/prefs/pref_hash_calculator_unittest.cc dict.Set("a", new base::StringValue("foo")); base 218 chrome/browser/prefs/pref_hash_calculator_unittest.cc dict.Set("d", new base::StringValue("bad")); base 219 chrome/browser/prefs/pref_hash_calculator_unittest.cc dict.Set("b", new base::StringValue("bar")); base 220 chrome/browser/prefs/pref_hash_calculator_unittest.cc dict.Set("c", new base::StringValue("baz")); base 246 chrome/browser/prefs/pref_hash_calculator_unittest.cc const base::StringValue string_value(kPrefValue); base 249 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::Bind(&MockGetLegacyDeviceId)).Validate( base 267 chrome/browser/prefs/pref_hash_calculator_unittest.cc const base::StringValue string_value(kPrefValue); base 270 chrome/browser/prefs/pref_hash_calculator_unittest.cc base::Bind(&MockGetLegacyDeviceId)).Validate( base 69 chrome/browser/prefs/pref_hash_filter.cc base::Int64ToString(base::Time().ToInternalValue()), base 74 chrome/browser/prefs/pref_hash_filter.cc base::Time PrefHashFilter::GetResetTime(PrefService* user_prefs) { base 79 chrome/browser/prefs/pref_hash_filter.cc int64 internal_value = base::Time().ToInternalValue(); base 80 chrome/browser/prefs/pref_hash_filter.cc if (!base::StringToInt64( base 85 chrome/browser/prefs/pref_hash_filter.cc return base::Time(); base 87 chrome/browser/prefs/pref_hash_filter.cc return base::Time::FromInternalValue(internal_value); base 102 chrome/browser/prefs/pref_hash_filter.cc const base::Value* source_value = NULL; base 105 chrome/browser/prefs/pref_hash_filter.cc base::DictionaryValue temp_dictionary; base 114 chrome/browser/prefs/pref_hash_filter.cc scoped_ptr<base::Value> checked_value; base 138 chrome/browser/prefs/pref_hash_filter.cc const base::Value* value = NULL; base 146 chrome/browser/prefs/pref_hash_filter.cc void PrefHashFilter::FilterOnLoad(base::DictionaryValue* pref_store_contents) { base 148 chrome/browser/prefs/pref_hash_filter.cc base::TimeTicks checkpoint = base::TimeTicks::Now(); base 165 chrome/browser/prefs/pref_hash_filter.cc new base::StringValue(base::Int64ToString( base 166 chrome/browser/prefs/pref_hash_filter.cc base::Time::Now().ToInternalValue()))); base 173 chrome/browser/prefs/pref_hash_filter.cc base::TimeTicks::Now() - checkpoint); base 188 chrome/browser/prefs/pref_hash_filter.cc const base::DictionaryValue* pref_store_contents) { base 190 chrome/browser/prefs/pref_hash_filter.cc base::TimeTicks checkpoint = base::TimeTicks::Now(); base 198 chrome/browser/prefs/pref_hash_filter.cc const base::Value* value = NULL; base 208 chrome/browser/prefs/pref_hash_filter.cc base::TimeTicks::Now() - checkpoint); base 25 chrome/browser/prefs/pref_hash_filter.h namespace base { base 77 chrome/browser/prefs/pref_hash_filter.h static base::Time GetResetTime(PrefService* user_prefs); base 97 chrome/browser/prefs/pref_hash_filter.h virtual void FilterOnLoad(base::DictionaryValue* pref_store_contents) base 101 chrome/browser/prefs/pref_hash_filter.h const base::DictionaryValue* pref_store_contents) OVERRIDE; base 106 chrome/browser/prefs/pref_hash_filter.h typedef base::ScopedPtrHashMap<std::string, TrackedPreference> base 156 chrome/browser/prefs/pref_hash_filter_unittest.cc const std::string& path, const base::Value* value) const OVERRIDE; base 158 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* new_value) OVERRIDE; base 161 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::DictionaryValue* initial_split_value, base 165 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::DictionaryValue* split_value) OVERRIDE; base 176 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* value, base 181 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* new_value, base 239 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* value, base 255 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* new_value, base 263 chrome/browser/prefs/pref_hash_filter_unittest.cc const std::string& path, const base::Value* value) const { base 270 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* new_value) { base 278 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::DictionaryValue* initial_split_value, base 296 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::DictionaryValue* new_value) { base 345 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue pref_store_contents_; base 370 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue root_dict; base 372 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* string_value = base::Value::CreateStringValue("string value"); base 393 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue root_dict; base 395 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue* dict_value = new base::DictionaryValue; base 418 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue root_dict; base 419 chrome/browser/prefs/pref_hash_filter_unittest.cc root_dict.Set("untracked", base::Value::CreateStringValue("some value")); base 435 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue root_dict; base 437 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* int_value1 = base::Value::CreateIntegerValue(1); base 438 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* int_value2 = base::Value::CreateIntegerValue(2); base 439 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* int_value3 = base::Value::CreateIntegerValue(3); base 440 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* int_value4 = base::Value::CreateIntegerValue(4); base 441 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue* dict_value = new base::DictionaryValue; base 442 chrome/browser/prefs/pref_hash_filter_unittest.cc dict_value->Set("a", base::Value::CreateBooleanValue(true)); base 456 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* int_value5 = base::Value::CreateIntegerValue(5); base 514 chrome/browser/prefs/pref_hash_filter_unittest.cc base::StringValue* string_value = new base::StringValue("string value"); base 517 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue* dict_value = new base::DictionaryValue; base 556 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* atomic_value_in_store; base 561 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* split_value_in_store; base 573 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* string_value = base::Value::CreateStringValue("test"); base 576 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue* dict_value = new base::DictionaryValue; base 595 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* atomic_value_in_store; base 604 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* split_value_in_store; base 617 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* int_value = base::Value::CreateIntegerValue(1234); base 620 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue* dict_value = new base::DictionaryValue; base 662 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* split_value_in_store; base 675 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* atomic_value_in_store; base 680 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* split_value_in_store; base 730 chrome/browser/prefs/pref_hash_filter_unittest.cc base::ListValue* list_value = new base::ListValue; base 731 chrome/browser/prefs/pref_hash_filter_unittest.cc list_value->Append(base::Value::CreateStringValue("test")); base 758 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* atomic_value_in_store; base 770 chrome/browser/prefs/pref_hash_filter_unittest.cc base::StringValue* string_value = new base::StringValue("string value"); base 773 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue* dict_value = new base::DictionaryValue; base 800 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* atomic_value_in_store; base 809 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* split_value_in_store; base 820 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* int_value1 = base::Value::CreateIntegerValue(1); base 821 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* int_value2 = base::Value::CreateIntegerValue(2); base 822 chrome/browser/prefs/pref_hash_filter_unittest.cc base::Value* report_only_val = base::Value::CreateIntegerValue(3); base 823 chrome/browser/prefs/pref_hash_filter_unittest.cc base::DictionaryValue* report_only_split_val = new base::DictionaryValue; base 869 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* value_in_store; base 870 chrome/browser/prefs/pref_hash_filter_unittest.cc const base::Value* value_in_store2; base 19 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* store_contents = contents.GetContents(); base 40 chrome/browser/prefs/pref_hash_store_impl.cc const base::Value* value) const OVERRIDE; base 42 chrome/browser/prefs/pref_hash_store_impl.cc const base::Value* value) OVERRIDE; base 45 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* initial_split_value, base 49 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* split_value) OVERRIDE; base 114 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* hashes_dict = outer_->contents_->GetContents(); base 138 chrome/browser/prefs/pref_hash_store_impl.cc const std::string& path, const base::Value* initial_value) const { base 139 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* hashed_prefs = outer_->contents_->GetContents(); base 170 chrome/browser/prefs/pref_hash_store_impl.cc const std::string& path, const base::Value* new_value) { base 180 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* initial_split_value, base 203 chrome/browser/prefs/pref_hash_store_impl.cc for (base::DictionaryValue::Iterator it(*initial_split_value); !it.IsAtEnd(); base 255 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* split_value) { base 264 chrome/browser/prefs/pref_hash_store_impl.cc for (base::DictionaryValue::Iterator it(*split_value); !it.IsAtEnd(); base 283 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* hashed_prefs = outer_->contents_->GetContents(); base 284 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* split_mac_dictionary = NULL; base 287 chrome/browser/prefs/pref_hash_store_impl.cc for (base::DictionaryValue::Iterator it(*split_mac_dictionary); !it.IsAtEnd(); base 19 chrome/browser/prefs/pref_hash_store_impl.h namespace base { base 32 chrome/browser/prefs/pref_hash_store_impl_unittest.cc scoped_ptr<base::DictionaryValue> contents; base 61 chrome/browser/prefs/pref_hash_store_impl_unittest.cc virtual const base::DictionaryValue* GetContents() const OVERRIDE { base 86 chrome/browser/prefs/pref_hash_store_impl_unittest.cc virtual base::DictionaryValue* operator->() OVERRIDE { base 88 chrome/browser/prefs/pref_hash_store_impl_unittest.cc data_->contents.reset(new base::DictionaryValue); base 113 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::StringValue string_1("string1"); base 114 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::StringValue string_2("string2"); base 140 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::DictionaryValue dict; base 141 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("a", new base::StringValue("foo")); base 142 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("d", new base::StringValue("bad")); base 143 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("b", new base::StringValue("bar")); base 144 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("c", new base::StringValue("baz")); base 211 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::DictionaryValue dict; base 212 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("a", new base::StringValue("to be replaced")); base 213 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("b", new base::StringValue("same")); base 214 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("o", new base::StringValue("old")); base 216 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::DictionaryValue modified_dict; base 217 chrome/browser/prefs/pref_hash_store_impl_unittest.cc modified_dict.Set("a", new base::StringValue("replaced")); base 218 chrome/browser/prefs/pref_hash_store_impl_unittest.cc modified_dict.Set("b", new base::StringValue("same")); base 219 chrome/browser/prefs/pref_hash_store_impl_unittest.cc modified_dict.Set("c", new base::StringValue("new")); base 221 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::DictionaryValue empty_dict; base 340 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::DictionaryValue empty_dict; base 351 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::DictionaryValue initial_dict; base 352 chrome/browser/prefs/pref_hash_store_impl_unittest.cc initial_dict.Set("a", new base::StringValue("foo")); base 387 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::DictionaryValue tested_dict; base 388 chrome/browser/prefs/pref_hash_store_impl_unittest.cc tested_dict.Set("a", new base::StringValue("foo")); base 389 chrome/browser/prefs/pref_hash_store_impl_unittest.cc tested_dict.Set("b", new base::StringValue("bar")); base 404 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::StringValue string("string1"); base 406 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::DictionaryValue dict; base 407 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("a", new base::StringValue("foo")); base 408 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("d", new base::StringValue("bad")); base 409 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("b", new base::StringValue("bar")); base 410 chrome/browser/prefs/pref_hash_store_impl_unittest.cc dict.Set("c", new base::StringValue("baz")); base 449 chrome/browser/prefs/pref_hash_store_impl_unittest.cc base::StringValue string_value("foo"); base 11 chrome/browser/prefs/pref_hash_store_transaction.h namespace base { base 48 chrome/browser/prefs/pref_hash_store_transaction.h const std::string& path, const base::Value* initial_value) const = 0; base 52 chrome/browser/prefs/pref_hash_store_transaction.h const base::Value* value) = 0; base 62 chrome/browser/prefs/pref_hash_store_transaction.h const base::DictionaryValue* initial_split_value, base 69 chrome/browser/prefs/pref_hash_store_transaction.h const base::DictionaryValue* split_value) = 0; base 97 chrome/browser/prefs/pref_metrics_service.cc const base::ListValue* url_list = base 133 chrome/browser/prefs/pref_metrics_service.cc LogHistogramValueCallback booleanHandler = base::Bind( base 134 chrome/browser/prefs/pref_metrics_service.cc &PrefMetricsService::LogBooleanPrefChange, base::Unretained(this)); base 141 chrome/browser/prefs/pref_metrics_service.cc base::Bind(&PrefMetricsService::LogIntegerPrefChange, base 142 chrome/browser/prefs/pref_metrics_service.cc base::Unretained(this), base 151 chrome/browser/prefs/pref_metrics_service.cc base::Bind(&PrefMetricsService::OnPrefChanged, base 152 chrome/browser/prefs/pref_metrics_service.cc base::Unretained(this), base 171 chrome/browser/prefs/pref_metrics_service.cc const base::Value* value) { base 175 chrome/browser/prefs/pref_metrics_service.cc base::HistogramBase* histogram = base::BooleanHistogram::FactoryGet( base 176 chrome/browser/prefs/pref_metrics_service.cc histogram_name, base::HistogramBase::kUmaTargetedHistogramFlag); base 182 chrome/browser/prefs/pref_metrics_service.cc const base::Value* value) { base 186 chrome/browser/prefs/pref_metrics_service.cc base::HistogramBase* histogram = base::LinearHistogram::FactoryGet( base 191 chrome/browser/prefs/pref_metrics_service.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 51 chrome/browser/prefs/pref_metrics_service.h typedef base::Callback<void(const std::string&, const base::Value*)> base 76 chrome/browser/prefs/pref_metrics_service.h const base::Value* value); base 81 chrome/browser/prefs/pref_metrics_service.h const base::Value* value); base 90 chrome/browser/prefs/pref_metrics_service.h base::WeakPtrFactory<PrefMetricsService> weak_factory_; base 104 chrome/browser/prefs/pref_model_associator.cc const base::Value* user_pref_value = pref_service_->GetUserPrefValue( base 114 chrome/browser/prefs/pref_model_associator.cc base::JSONReader reader; base 115 chrome/browser/prefs/pref_model_associator.cc scoped_ptr<base::Value> sync_value(reader.ReadToValue(preference.value())); base 125 chrome/browser/prefs/pref_model_associator.cc scoped_ptr<base::Value> new_value( base 131 chrome/browser/prefs/pref_model_associator.cc if (new_value->IsType(base::Value::TYPE_NULL)) { base 188 chrome/browser/prefs/pref_model_associator.cc } else if (!sync_value->IsType(base::Value::TYPE_NULL)) { base 314 chrome/browser/prefs/pref_model_associator.cc scoped_ptr<base::Value> PrefModelAssociator::MergePreference( base 316 chrome/browser/prefs/pref_model_associator.cc const base::Value& local_value, base 317 chrome/browser/prefs/pref_model_associator.cc const base::Value& server_value) { base 322 chrome/browser/prefs/pref_model_associator.cc return scoped_ptr<base::Value>( base 327 chrome/browser/prefs/pref_model_associator.cc return scoped_ptr<base::Value>( base 332 chrome/browser/prefs/pref_model_associator.cc return scoped_ptr<base::Value>(server_value.DeepCopy()).Pass(); base 337 chrome/browser/prefs/pref_model_associator.cc const base::Value& value, base 339 chrome/browser/prefs/pref_model_associator.cc if (value.IsType(base::Value::TYPE_NULL)) { base 363 chrome/browser/prefs/pref_model_associator.cc base::Value* PrefModelAssociator::MergeListValues(const base::Value& from_value, base 364 chrome/browser/prefs/pref_model_associator.cc const base::Value& to_value) { base 365 chrome/browser/prefs/pref_model_associator.cc if (from_value.GetType() == base::Value::TYPE_NULL) base 367 chrome/browser/prefs/pref_model_associator.cc if (to_value.GetType() == base::Value::TYPE_NULL) base 370 chrome/browser/prefs/pref_model_associator.cc DCHECK(from_value.GetType() == base::Value::TYPE_LIST); base 371 chrome/browser/prefs/pref_model_associator.cc DCHECK(to_value.GetType() == base::Value::TYPE_LIST); base 372 chrome/browser/prefs/pref_model_associator.cc const base::ListValue& from_list_value = base 373 chrome/browser/prefs/pref_model_associator.cc static_cast<const base::ListValue&>(from_value); base 374 chrome/browser/prefs/pref_model_associator.cc const base::ListValue& to_list_value = base 375 chrome/browser/prefs/pref_model_associator.cc static_cast<const base::ListValue&>(to_value); base 376 chrome/browser/prefs/pref_model_associator.cc base::ListValue* result = to_list_value.DeepCopy(); base 378 chrome/browser/prefs/pref_model_associator.cc for (base::ListValue::const_iterator i = from_list_value.begin(); base 380 chrome/browser/prefs/pref_model_associator.cc base::Value* value = (*i)->DeepCopy(); base 386 chrome/browser/prefs/pref_model_associator.cc base::Value* PrefModelAssociator::MergeDictionaryValues( base 387 chrome/browser/prefs/pref_model_associator.cc const base::Value& from_value, base 388 chrome/browser/prefs/pref_model_associator.cc const base::Value& to_value) { base 389 chrome/browser/prefs/pref_model_associator.cc if (from_value.GetType() == base::Value::TYPE_NULL) base 391 chrome/browser/prefs/pref_model_associator.cc if (to_value.GetType() == base::Value::TYPE_NULL) base 394 chrome/browser/prefs/pref_model_associator.cc DCHECK_EQ(from_value.GetType(), base::Value::TYPE_DICTIONARY); base 395 chrome/browser/prefs/pref_model_associator.cc DCHECK_EQ(to_value.GetType(), base::Value::TYPE_DICTIONARY); base 396 chrome/browser/prefs/pref_model_associator.cc const base::DictionaryValue& from_dict_value = base 397 chrome/browser/prefs/pref_model_associator.cc static_cast<const base::DictionaryValue&>(from_value); base 398 chrome/browser/prefs/pref_model_associator.cc const base::DictionaryValue& to_dict_value = base 399 chrome/browser/prefs/pref_model_associator.cc static_cast<const base::DictionaryValue&>(to_value); base 400 chrome/browser/prefs/pref_model_associator.cc base::DictionaryValue* result = to_dict_value.DeepCopy(); base 402 chrome/browser/prefs/pref_model_associator.cc for (base::DictionaryValue::Iterator it(from_dict_value); !it.IsAtEnd(); base 404 chrome/browser/prefs/pref_model_associator.cc const base::Value* from_value = &it.value(); base 405 chrome/browser/prefs/pref_model_associator.cc base::Value* to_key_value; base 407 chrome/browser/prefs/pref_model_associator.cc if (to_key_value->GetType() == base::Value::TYPE_DICTIONARY) { base 408 chrome/browser/prefs/pref_model_associator.cc base::Value* merged_value = base 469 chrome/browser/prefs/pref_model_associator.cc base::AutoReset<bool> processing_changes(&processing_syncer_changes_, true); base 478 chrome/browser/prefs/pref_model_associator.cc scoped_ptr<base::Value> value(ReadPreferenceSpecifics(pref_specifics, base 528 chrome/browser/prefs/pref_model_associator.cc base::Value* PrefModelAssociator::ReadPreferenceSpecifics( base 531 chrome/browser/prefs/pref_model_associator.cc base::JSONReader reader; base 532 chrome/browser/prefs/pref_model_associator.cc scoped_ptr<base::Value> value(reader.ReadToValue(preference.value())); base 606 chrome/browser/prefs/pref_model_associator.cc base::AutoReset<bool> processing_changes(&processing_syncer_changes_, true); base 29 chrome/browser/prefs/pref_model_associator.h namespace base { base 38 chrome/browser/prefs/pref_model_associator.h public base::NonThreadSafe { base 84 chrome/browser/prefs/pref_model_associator.h static scoped_ptr<base::Value> MergePreference( base 86 chrome/browser/prefs/pref_model_associator.h const base::Value& local_value, base 87 chrome/browser/prefs/pref_model_associator.h const base::Value& server_value); base 92 chrome/browser/prefs/pref_model_associator.h const base::Value& value, base 96 chrome/browser/prefs/pref_model_associator.h base::Value* ReadPreferenceSpecifics( base 132 chrome/browser/prefs/pref_model_associator.h static base::Value* MergeListValues( base 133 chrome/browser/prefs/pref_model_associator.h const base::Value& from_value, const base::Value& to_value); base 134 chrome/browser/prefs/pref_model_associator.h static base::Value* MergeDictionaryValues(const base::Value& from_value, base 135 chrome/browser/prefs/pref_model_associator.h const base::Value& to_value); base 185 chrome/browser/prefs/pref_model_associator.h typedef base::hash_map<std::string, SyncedPrefObserverList*> base 19 chrome/browser/prefs/pref_model_associator_unittest.cc void SetContentPattern(base::DictionaryValue* patterns_dict, base 23 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue* expression_dict; base 28 chrome/browser/prefs/pref_model_associator_unittest.cc expression_dict = new base::DictionaryValue; base 33 chrome/browser/prefs/pref_model_associator_unittest.cc base::Value::CreateIntegerValue(setting)); base 37 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> empty_value; base 41 chrome/browser/prefs/pref_model_associator_unittest.cc base::Value::Type type = pref->GetType(); base 42 chrome/browser/prefs/pref_model_associator_unittest.cc if (type == base::Value::TYPE_DICTIONARY) base 43 chrome/browser/prefs/pref_model_associator_unittest.cc empty_value.reset(new base::DictionaryValue); base 44 chrome/browser/prefs/pref_model_associator_unittest.cc else if (type == base::Value::TYPE_LIST) base 45 chrome/browser/prefs/pref_model_associator_unittest.cc empty_value.reset(new base::ListValue); base 65 chrome/browser/prefs/pref_model_associator_unittest.cc server_url_list_.Append(base::Value::CreateStringValue(server_url0_)); base 66 chrome/browser/prefs/pref_model_associator_unittest.cc server_url_list_.Append(base::Value::CreateStringValue(server_url1_)); base 73 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue server_url_list_; base 80 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> server_value( base 81 chrome/browser/prefs/pref_model_associator_unittest.cc base::Value::CreateStringValue(server_url0_)); base 82 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 93 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 101 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> null_value(base::Value::CreateNullValue()); base 104 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue* local_list_value = update.Get(); base 105 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(local_url0_)); base 110 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 114 chrome/browser/prefs/pref_model_associator_unittest.cc const base::ListValue* local_list_value = base 120 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> empty_value(new base::ListValue); base 123 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue* local_list_value = update.Get(); base 124 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(local_url0_)); base 129 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 133 chrome/browser/prefs/pref_model_associator_unittest.cc const base::ListValue* local_list_value = base 141 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue* local_list_value = update.Get(); base 142 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(local_url0_)); base 143 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(local_url1_)); base 148 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 153 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue expected; base 154 chrome/browser/prefs/pref_model_associator_unittest.cc expected.Append(base::Value::CreateStringValue(server_url0_)); base 155 chrome/browser/prefs/pref_model_associator_unittest.cc expected.Append(base::Value::CreateStringValue(server_url1_)); base 156 chrome/browser/prefs/pref_model_associator_unittest.cc expected.Append(base::Value::CreateStringValue(local_url0_)); base 157 chrome/browser/prefs/pref_model_associator_unittest.cc expected.Append(base::Value::CreateStringValue(local_url1_)); base 164 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue* local_list_value = update.Get(); base 165 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(local_url0_)); base 166 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(server_url0_)); base 167 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(server_url1_)); base 172 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 177 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue expected; base 178 chrome/browser/prefs/pref_model_associator_unittest.cc expected.Append(base::Value::CreateStringValue(server_url0_)); base 179 chrome/browser/prefs/pref_model_associator_unittest.cc expected.Append(base::Value::CreateStringValue(server_url1_)); base 180 chrome/browser/prefs/pref_model_associator_unittest.cc expected.Append(base::Value::CreateStringValue(local_url0_)); base 187 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue* local_list_value = update.Get(); base 188 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(server_url0_)); base 189 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(server_url1_)); base 192 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> original(server_url_list_.DeepCopy()); base 195 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 223 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue server_patterns_; base 230 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 238 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> null_value(base::Value::CreateNullValue()); base 242 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue* local_dict_value = update.Get(); base 248 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 252 chrome/browser/prefs/pref_model_associator_unittest.cc const base::DictionaryValue* local_dict_value = base 258 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> empty_value(new base::DictionaryValue); base 262 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue* local_dict_value = update.Get(); base 268 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value( base 272 chrome/browser/prefs/pref_model_associator_unittest.cc const base::DictionaryValue* local_dict_value = base 281 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue* local_dict_value = update.Get(); base 285 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value(PrefModelAssociator::MergePreference( base 291 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue expected; base 303 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue* local_dict_value = update.Get(); base 310 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value(PrefModelAssociator::MergePreference( base 316 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue expected; base 329 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue* local_dict_value = update.Get(); base 335 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value(PrefModelAssociator::MergePreference( base 347 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue* local_dict_value = update.Get(); base 353 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value(PrefModelAssociator::MergePreference( base 372 chrome/browser/prefs/pref_model_associator_unittest.cc server_url_list_.Append(base::Value::CreateStringValue(url0_)); base 379 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue* local_list_value = update.Get(); base 380 chrome/browser/prefs/pref_model_associator_unittest.cc local_list_value->Append(base::Value::CreateStringValue(url1_)); base 383 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value(PrefModelAssociator::MergePreference( base 388 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue expected; base 389 chrome/browser/prefs/pref_model_associator_unittest.cc expected.Append(base::Value::CreateStringValue(url0_)); base 390 chrome/browser/prefs/pref_model_associator_unittest.cc expected.Append(base::Value::CreateStringValue(url1_)); base 397 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue* local_dict_value = update.Get(); base 401 chrome/browser/prefs/pref_model_associator_unittest.cc scoped_ptr<base::Value> merged_value(PrefModelAssociator::MergePreference( base 406 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue expected; base 417 chrome/browser/prefs/pref_model_associator_unittest.cc base::ListValue server_url_list_; base 418 chrome/browser/prefs/pref_model_associator_unittest.cc base::DictionaryValue server_patterns_; base 65 chrome/browser/prefs/pref_service_browsertest.cc base::FilePath user_data_directory; base 70 chrome/browser/prefs/pref_service_browsertest.cc base::FilePath().AppendASCII("profiles"). base 73 chrome/browser/prefs/pref_service_browsertest.cc base::FilePath().Append(chrome::kPreferencesFilename)); base 76 chrome/browser/prefs/pref_service_browsertest.cc CHECK(base::CreateDirectory(tmp_pref_file_)); base 80 chrome/browser/prefs/pref_service_browsertest.cc base::FilePath().AppendASCII("profiles"). base 82 chrome/browser/prefs/pref_service_browsertest.cc base::FilePath().Append(chrome::kLocalStateFilename)); base 86 chrome/browser/prefs/pref_service_browsertest.cc CHECK(base::PathExists(original_pref_file_)); base 89 chrome/browser/prefs/pref_service_browsertest.cc CHECK(base::CopyFile(original_pref_file_, tmp_pref_file_)); base 101 chrome/browser/prefs/pref_service_browsertest.cc base::FilePath original_pref_file_; base 102 chrome/browser/prefs/pref_service_browsertest.cc base::FilePath tmp_pref_file_; base 131 chrome/browser/prefs/pref_service_browsertest.cc scoped_ptr<base::Value> root(deserializer.Deserialize(NULL, NULL)); base 134 chrome/browser/prefs/pref_service_browsertest.cc ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); base 136 chrome/browser/prefs/pref_service_browsertest.cc base::DictionaryValue* root_dict = base 137 chrome/browser/prefs/pref_service_browsertest.cc static_cast<base::DictionaryValue*>(root.get()); base 192 chrome/browser/prefs/pref_service_browsertest.cc scoped_ptr<base::Value> root(deserializer.Deserialize(NULL, NULL)); base 195 chrome/browser/prefs/pref_service_browsertest.cc ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); base 203 chrome/browser/prefs/pref_service_browsertest.cc base::DictionaryValue* root_dict = base 204 chrome/browser/prefs/pref_service_browsertest.cc static_cast<base::DictionaryValue*>(root.get()); base 38 chrome/browser/prefs/pref_service_syncable.cc base::Callback<void(PersistentPrefStore::PrefReadError)> base 54 chrome/browser/prefs/pref_service_syncable.cc base::Bind(&PrefServiceSyncable::ProcessPrefChange, base 55 chrome/browser/prefs/pref_service_syncable.cc base::Unretained(this))); base 69 chrome/browser/prefs/pref_service_syncable.cc base::Bind(&PrefServiceSyncable::AddRegisteredSyncablePreference, base 70 chrome/browser/prefs/pref_service_syncable.cc base::Unretained(this))); base 44 chrome/browser/prefs/pref_service_syncable.h base::Callback<void(PersistentPrefStore::PrefReadError)> base 12 chrome/browser/prefs/pref_service_syncable_factory.h namespace base { base 27 chrome/browser/prefs/pref_service_syncable_factory.h class PrefServiceSyncableFactory : public base::PrefServiceFactory { base 39 chrome/browser/prefs/pref_service_syncable_factory.h void SetCommandLine(base::CommandLine* command_line); base 54 chrome/browser/prefs/profile_pref_store_manager.cc virtual const base::DictionaryValue* GetContents() const OVERRIDE{ base 92 chrome/browser/prefs/profile_pref_store_manager.cc virtual base::DictionaryValue* operator->() OVERRIDE { base 94 chrome/browser/prefs/profile_pref_store_manager.cc outer_->dictionary_.reset(new base::DictionaryValue); base 107 chrome/browser/prefs/profile_pref_store_manager.cc scoped_ptr<base::DictionaryValue> dictionary_; base 115 chrome/browser/prefs/profile_pref_store_manager.cc explicit DictionaryPrefStore(const base::DictionaryValue* dictionary) base 119 chrome/browser/prefs/profile_pref_store_manager.cc const base::Value** result) const OVERRIDE { base 120 chrome/browser/prefs/profile_pref_store_manager.cc const base::Value* tmp = NULL; base 132 chrome/browser/prefs/profile_pref_store_manager.cc const base::DictionaryValue* dictionary_; base 211 chrome/browser/prefs/profile_pref_store_manager.cc const base::FilePath& profile_path, base 239 chrome/browser/prefs/profile_pref_store_manager.cc base::FilePath ProfilePrefStoreManager::GetPrefFilePathFromProfilePath( base 240 chrome/browser/prefs/profile_pref_store_manager.cc const base::FilePath& profile_path) { base 250 chrome/browser/prefs/profile_pref_store_manager.cc base::Time ProfilePrefStoreManager::GetResetTime(PrefService* pref_service) { base 278 chrome/browser/prefs/profile_pref_store_manager.cc const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) { base 328 chrome/browser/prefs/profile_pref_store_manager.cc base::Bind(&PrefHashFilter::MigrateValues, base 329 chrome/browser/prefs/profile_pref_store_manager.cc base::Owned(new PrefHashFilter( base 338 chrome/browser/prefs/profile_pref_store_manager.cc const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) { base 364 chrome/browser/prefs/profile_pref_store_manager.cc const base::DictionaryValue& master_prefs) { base 367 chrome/browser/prefs/profile_pref_store_manager.cc if (!base::CreateDirectory(profile_path_)) base 396 chrome/browser/prefs/profile_pref_store_manager.cc const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) { base 21 chrome/browser/prefs/profile_pref_store_manager.h namespace base { base 44 chrome/browser/prefs/profile_pref_store_manager.h const base::FilePath& profile_path, base 63 chrome/browser/prefs/profile_pref_store_manager.h static base::FilePath GetPrefFilePathFromProfilePath( base 64 chrome/browser/prefs/profile_pref_store_manager.h const base::FilePath& profile_path); base 73 chrome/browser/prefs/profile_pref_store_manager.h static base::Time GetResetTime(PrefService* pref_service); base 86 chrome/browser/prefs/profile_pref_store_manager.h const scoped_refptr<base::SequencedTaskRunner>& io_task_runner); base 93 chrome/browser/prefs/profile_pref_store_manager.h const scoped_refptr<base::SequencedTaskRunner>& io_task_runner); base 99 chrome/browser/prefs/profile_pref_store_manager.h const base::DictionaryValue& master_prefs); base 104 chrome/browser/prefs/profile_pref_store_manager.h const scoped_refptr<base::SequencedTaskRunner>& io_task_runner); base 117 chrome/browser/prefs/profile_pref_store_manager.h const base::FilePath profile_path_; base 35 chrome/browser/prefs/profile_pref_store_manager_unittest.cc bool operator()(const std::pair<std::string, base::Value*>& pair) { base 129 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::PrefServiceFactory pref_service_factory; base 146 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 154 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 160 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 170 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 177 chrome/browser/prefs/profile_pref_store_manager_unittest.cc pref_store->SetValue(kTrackedAtomic, new base::StringValue(kFoobar)); base 178 chrome/browser/prefs/profile_pref_store_manager_unittest.cc pref_store->SetValue(kProtectedAtomic, new base::StringValue(kHelloWorld)); base 179 chrome/browser/prefs/profile_pref_store_manager_unittest.cc pref_store->SetValue(kUnprotectedAtomic, new base::StringValue(kFoobar)); base 182 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 195 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::FileEnumerator file_enum( base 196 chrome/browser/prefs/profile_pref_store_manager_unittest.cc profile_dir_.path(), true, base::FileEnumerator::FILES); base 198 chrome/browser/prefs/profile_pref_store_manager_unittest.cc for (base::FilePath path = file_enum.Next(); !path.empty(); base 202 chrome/browser/prefs/profile_pref_store_manager_unittest.cc EXPECT_TRUE(base::ReadFileToString(path, &contents)); base 205 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::WriteFile(path, contents.c_str(), contents.length())); base 211 chrome/browser/prefs/profile_pref_store_manager_unittest.cc const base::Value* value = NULL; base 222 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::MessageLoop main_message_loop_; base 224 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::ScopedTempDir profile_dir_; base 243 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::FilePath pref_file_path = base 247 chrome/browser/prefs/profile_pref_store_manager_unittest.cc EXPECT_FALSE(base::PathExists(pref_file_path)); base 251 chrome/browser/prefs/profile_pref_store_manager_unittest.cc EXPECT_TRUE(base::PathExists(pref_file_path)); base 324 chrome/browser/prefs/profile_pref_store_manager_unittest.cc legacy_prefs->SetValue(kTrackedAtomic, new base::StringValue(kFoobar)); base 325 chrome/browser/prefs/profile_pref_store_manager_unittest.cc legacy_prefs->SetValue(kProtectedAtomic, new base::StringValue(kHelloWorld)); base 327 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 332 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 345 chrome/browser/prefs/profile_pref_store_manager_unittest.cc scoped_ptr<base::DictionaryValue> master_prefs( base 346 chrome/browser/prefs/profile_pref_store_manager_unittest.cc new base::DictionaryValue); base 347 chrome/browser/prefs/profile_pref_store_manager_unittest.cc master_prefs->Set(kTrackedAtomic, new base::StringValue(kFoobar)); base 348 chrome/browser/prefs/profile_pref_store_manager_unittest.cc master_prefs->Set(kProtectedAtomic, new base::StringValue(kHelloWorld)); base 463 chrome/browser/prefs/profile_pref_store_manager_unittest.cc pref_store_->SetValue(kProtectedAtomic, new base::StringValue(kGoodbyeWorld)); base 32 chrome/browser/prefs/proxy_config_dictionary.cc ProxyConfigDictionary::ProxyConfigDictionary(const base::DictionaryValue* dict) base 68 chrome/browser/prefs/proxy_config_dictionary.cc const base::DictionaryValue& ProxyConfigDictionary::GetDictionary() const { base 73 chrome/browser/prefs/proxy_config_dictionary.cc base::DictionaryValue* ProxyConfigDictionary::CreateDirect() { base 82 chrome/browser/prefs/proxy_config_dictionary.cc base::DictionaryValue* ProxyConfigDictionary::CreateAutoDetect() { base 91 chrome/browser/prefs/proxy_config_dictionary.cc base::DictionaryValue* ProxyConfigDictionary::CreatePacScript( base 102 chrome/browser/prefs/proxy_config_dictionary.cc base::DictionaryValue* ProxyConfigDictionary::CreateFixedServers( base 117 chrome/browser/prefs/proxy_config_dictionary.cc base::DictionaryValue* ProxyConfigDictionary::CreateSystem() { base 126 chrome/browser/prefs/proxy_config_dictionary.cc base::DictionaryValue* ProxyConfigDictionary::CreateDictionary( base 132 chrome/browser/prefs/proxy_config_dictionary.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 14 chrome/browser/prefs/proxy_config_dictionary.h namespace base { base 30 chrome/browser/prefs/proxy_config_dictionary.h explicit ProxyConfigDictionary(const base::DictionaryValue* dict); base 40 chrome/browser/prefs/proxy_config_dictionary.h const base::DictionaryValue& GetDictionary() const; base 42 chrome/browser/prefs/proxy_config_dictionary.h static base::DictionaryValue* CreateDirect(); base 43 chrome/browser/prefs/proxy_config_dictionary.h static base::DictionaryValue* CreateAutoDetect(); base 44 chrome/browser/prefs/proxy_config_dictionary.h static base::DictionaryValue* CreatePacScript(const std::string& pac_url, base 46 chrome/browser/prefs/proxy_config_dictionary.h static base::DictionaryValue* CreateFixedServers( base 49 chrome/browser/prefs/proxy_config_dictionary.h static base::DictionaryValue* CreateSystem(); base 51 chrome/browser/prefs/proxy_config_dictionary.h static base::DictionaryValue* CreateDictionary( base 58 chrome/browser/prefs/proxy_config_dictionary.h scoped_ptr<base::DictionaryValue> dict_; base 20 chrome/browser/prefs/proxy_config_dictionary_unittest.cc scoped_ptr<base::DictionaryValue> dict_value( base 33 chrome/browser/prefs/proxy_config_dictionary_unittest.cc scoped_ptr<base::DictionaryValue> dict_value( base 46 chrome/browser/prefs/proxy_config_dictionary_unittest.cc scoped_ptr<base::DictionaryValue> dict_value( base 60 chrome/browser/prefs/proxy_config_dictionary_unittest.cc scoped_ptr<base::DictionaryValue> dict_value( base 76 chrome/browser/prefs/proxy_config_dictionary_unittest.cc scoped_ptr<base::DictionaryValue> dict_value( base 114 chrome/browser/prefs/proxy_policy_unittest.cc base::MessageLoop loop_; base 123 chrome/browser/prefs/proxy_policy_unittest.cc base::Value* mode_name = base::Value::CreateStringValue( base 129 chrome/browser/prefs/proxy_policy_unittest.cc base::Value::CreateStringValue("abc"), NULL); base 131 chrome/browser/prefs/proxy_policy_unittest.cc base::Value::CreateStringValue("ghi"), NULL); base 157 chrome/browser/prefs/proxy_policy_unittest.cc base::Value* mode_name = base::Value::CreateStringValue( base 184 chrome/browser/prefs/proxy_policy_unittest.cc base::Value* mode_name = base::Value::CreateStringValue( base 207 chrome/browser/prefs/proxy_policy_unittest.cc base::Value* mode_name = base::Value::CreateStringValue( base 44 chrome/browser/prefs/session_startup_pref.cc base::ListValue new_url_pref_list; base 45 chrome/browser/prefs/session_startup_pref.cc base::StringValue* home_page = base 46 chrome/browser/prefs/session_startup_pref.cc new base::StringValue(prefs->GetString(prefs::kHomePage)); base 52 chrome/browser/prefs/session_startup_pref.cc void URLListToPref(const base::ListValue* url_list, SessionStartupPref* pref) { base 116 chrome/browser/prefs/session_startup_pref.cc base::ListValue* url_pref_list = update.Get(); base 121 chrome/browser/prefs/session_startup_pref.cc new base::StringValue(pref.urls[i].spec())); base 144 chrome/browser/prefs/session_startup_pref.cc const base::ListValue* url_list = base 159 chrome/browser/prefs/session_startup_pref.cc const base::ListValue* old_startup_urls = base 176 chrome/browser/prefs/session_startup_pref.cc base::Time::Now().ToInternalValue()); base 180 chrome/browser/prefs/session_startup_pref.cc base::Time last_migration_time = base::Time::FromInternalValue( base 182 chrome/browser/prefs/session_startup_pref.cc base::Time now = base::Time::Now(); base 189 chrome/browser/prefs/session_startup_pref.cc base::TimeDelta::FromDays(0), base 190 chrome/browser/prefs/session_startup_pref.cc base::TimeDelta::FromDays(7), base 205 chrome/browser/prefs/session_startup_pref.cc const base::Value* homepage_is_new_tab_page_value = base 214 chrome/browser/prefs/session_startup_pref.cc const base::Value* restore_on_startup_value = base 51 chrome/browser/prefs/session_startup_pref_unittest.cc base::ListValue* url_pref_list = new base::ListValue; base 52 chrome/browser/prefs/session_startup_pref_unittest.cc url_pref_list->Set(0, base::Value::CreateStringValue("google.com")); base 53 chrome/browser/prefs/session_startup_pref_unittest.cc url_pref_list->Set(1, base::Value::CreateStringValue("chromium.org")); base 64 chrome/browser/prefs/session_startup_pref_unittest.cc base::ListValue* url_pref_list1 = new base::ListValue; base 65 chrome/browser/prefs/session_startup_pref_unittest.cc url_pref_list1->Set(0, base::Value::CreateStringValue("chromium.org")); base 68 chrome/browser/prefs/session_startup_pref_unittest.cc base::ListValue* url_pref_list2 = new base::ListValue; base 69 chrome/browser/prefs/session_startup_pref_unittest.cc url_pref_list2->Set(0, base::Value::CreateStringValue("chromium.org")); base 70 chrome/browser/prefs/session_startup_pref_unittest.cc url_pref_list2->Set(1, base::Value::CreateStringValue("chromium.org")); base 71 chrome/browser/prefs/session_startup_pref_unittest.cc url_pref_list2->Set(2, base::Value::CreateStringValue("chromium.org")); base 31 chrome/browser/prefs/synced_pref_change_registrar.cc Add(path, base::Bind(InvokeUnnamedCallback, callback)); base 24 chrome/browser/prefs/synced_pref_change_registrar.h typedef base::Callback<void(bool)> ChangeCallback; base 25 chrome/browser/prefs/synced_pref_change_registrar.h typedef base::Callback<void(const std::string&, bool)> NamedChangeCallback; base 45 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc DCHECK(base::MessageLoop::current()); base 46 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc base::RunLoop loop; base 54 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc json.Serialize(base::FundamentalValue(value)); base 63 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc ++next_sync_data_id_, specifics, base::Time()); base 146 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc base::Bind(&TestPrefChangeCallback, prefs(), &observer)); base 183 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc base::Bind(&TestPrefChangeCallback, prefs(), &observer)); base 189 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc base::Value::CreateBooleanValue(true), base 204 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc base::Bind(&TestPrefChangeCallback, prefs(), &observer)); base 210 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc base::Value::CreateBooleanValue(true), base 12 chrome/browser/prefs/tracked/hash_store_contents.h namespace base { base 34 chrome/browser/prefs/tracked/hash_store_contents.h virtual base::DictionaryValue* operator->() = 0; base 57 chrome/browser/prefs/tracked/hash_store_contents.h virtual const base::DictionaryValue* GetContents() const = 0; base 190 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc found_mac_address_ = StringToLowerASCII(base::HexEncode(bytes, size)); base 199 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 234 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 237 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc base::ScopedNativeLibrary library(base::FilePath(L"Iphlpapi.dll")); base 283 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 32 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win_unittest.cc void SetMediaDeviceIdAndUnblock(const base::Closure& unblock_callback, base 48 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win_unittest.cc base::Bind(&SetMediaDeviceIdAndUnblock, base 50 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win_unittest.cc base::Unretained(&media_device_id))); base 70 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win_unittest.cc return StringToLowerASCII(base::HexEncode(digest.data(), digest.size())); base 27 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc virtual base::DictionaryValue* operator->() OVERRIDE; base 41 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc base::DictionaryValue* PrefServiceMutableDictionary::operator->() { base 42 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc base::DictionaryValue* dictionary = NULL; base 44 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc dictionary = new base::DictionaryValue; base 87 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc base::DictionaryValue* version_dict; base 92 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc base::DictionaryValue* hash_of_hashes_dict; base 100 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc const base::DictionaryValue* pref_hash_dicts = base 108 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc const base::DictionaryValue* pref_hash_data = base 111 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc const base::DictionaryValue* version_dict; base 121 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc const base::DictionaryValue* PrefServiceHashStoreContents::GetContents() const { base 122 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc const base::DictionaryValue* pref_hash_dicts = base 124 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc const base::DictionaryValue* hashes_dict = NULL; base 137 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc const base::DictionaryValue* pref_hash_dicts = base 139 chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc const base::DictionaryValue* hash_of_hashes_dict = NULL; base 54 chrome/browser/prefs/tracked/pref_service_hash_store_contents.h virtual const base::DictionaryValue* GetContents() const OVERRIDE; base 33 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); base 49 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); base 54 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ->Set("foo", new base::StringValue("bar")); base 76 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); base 103 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); base 122 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); base 141 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ->Set("foo", new base::StringValue("bar")); base 143 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ->Set("foo", new base::StringValue("bar")); base 59 chrome/browser/prefs/tracked/segregated_pref_store.cc const base::Closure& on_initialization) base 88 chrome/browser/prefs/tracked/segregated_pref_store.cc const base::Value** result) const { base 92 chrome/browser/prefs/tracked/segregated_pref_store.cc void SegregatedPrefStore::SetValue(const std::string& key, base::Value* value) { base 101 chrome/browser/prefs/tracked/segregated_pref_store.cc base::Value** result) { base 110 chrome/browser/prefs/tracked/segregated_pref_store.cc base::Value* value) { base 171 chrome/browser/prefs/tracked/segregated_pref_store.cc const base::Value* value = NULL; base 173 chrome/browser/prefs/tracked/segregated_pref_store.cc scoped_ptr<base::Value> migrated_value(value->DeepCopy()); base 45 chrome/browser/prefs/tracked/segregated_pref_store.h const base::Closure& on_initialization); base 53 chrome/browser/prefs/tracked/segregated_pref_store.h const base::Value** result) const OVERRIDE; base 56 chrome/browser/prefs/tracked/segregated_pref_store.h virtual void SetValue(const std::string& key, base::Value* value) OVERRIDE; base 61 chrome/browser/prefs/tracked/segregated_pref_store.h base::Value** result) OVERRIDE; base 64 chrome/browser/prefs/tracked/segregated_pref_store.h base::Value* value) OVERRIDE; base 105 chrome/browser/prefs/tracked/segregated_pref_store.h base::Closure on_initialization_; base 77 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc base::Bind(&SegregatedPrefStoreTest::InitializationCallback, base 78 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc base::Unretained(this))); base 118 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc segregated_store_->SetValue(kSelectedPref, new base::StringValue(kValue1)); base 119 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc segregated_store_->SetValue(kUnselectedPref, new base::StringValue(kValue2)); base 139 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc selected_store_->SetValue(kSelectedPref, new base::StringValue(kValue1)); base 141 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc new base::StringValue(kValue2)); base 159 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc selected_store_->SetValue(kUnselectedPref, new base::StringValue(kValue1)); base 167 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc segregated_store_->SetValue(kUnselectedPref, new base::StringValue(kValue2)); base 181 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc segregated_store_->SetValue(kSelectedPref, new base::StringValue(kValue1)); base 183 chrome/browser/prefs/tracked/segregated_pref_store_unittest.cc segregated_store_->SetValue(kUnselectedPref, new base::StringValue(kValue2)); base 20 chrome/browser/prefs/tracked/tracked_atomic_preference.cc const base::Value* value, base 26 chrome/browser/prefs/tracked/tracked_atomic_preference.cc base::DictionaryValue* pref_store_contents, base 28 chrome/browser/prefs/tracked/tracked_atomic_preference.cc const base::Value* value = NULL; base 47 chrome/browser/prefs/tracked/tracked_atomic_preference.cc const base::Value* new_value = NULL; base 27 chrome/browser/prefs/tracked/tracked_atomic_preference.h virtual void OnNewValue(const base::Value* value, base 30 chrome/browser/prefs/tracked/tracked_atomic_preference.h base::DictionaryValue* pref_store_contents, base 10 chrome/browser/prefs/tracked/tracked_preference.h namespace base { base 23 chrome/browser/prefs/tracked/tracked_preference.h virtual void OnNewValue(const base::Value* value, base 32 chrome/browser/prefs/tracked/tracked_preference.h base::DictionaryValue* pref_store_contents, base 103 chrome/browser/prefs/tracked/tracked_preference_helper.cc base::HistogramBase* histogram = base 104 chrome/browser/prefs/tracked/tracked_preference_helper.cc base::LinearHistogram::FactoryGet( base 109 chrome/browser/prefs/tracked/tracked_preference_helper.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 23 chrome/browser/prefs/tracked/tracked_split_preference.cc const base::Value* value, base 25 chrome/browser/prefs/tracked/tracked_split_preference.cc const base::DictionaryValue* dict_value = NULL; base 34 chrome/browser/prefs/tracked/tracked_split_preference.cc base::DictionaryValue* pref_store_contents, base 36 chrome/browser/prefs/tracked/tracked_split_preference.cc base::DictionaryValue* dict_value = NULL; base 74 chrome/browser/prefs/tracked/tracked_split_preference.cc const base::DictionaryValue* new_dict_value = NULL; base 30 chrome/browser/prefs/tracked/tracked_split_preference.h virtual void OnNewValue(const base::Value* value, base 33 chrome/browser/prefs/tracked/tracked_split_preference.h base::DictionaryValue* pref_store_contents, base 21 chrome/browser/prerender/external_prerender_handler_android.cc using base::android::ConvertJavaStringToUTF16; base 169 chrome/browser/prerender/prerender_browsertest.cc base::string16 expected_title = base::ASCIIToUTF16(expected_title_ascii); base 210 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&ChannelDestructionWatcher::OnChannelDestroyed, base 211 chrome/browser/prerender/prerender_browsertest.cc base::Unretained(watcher_))); base 233 chrome/browser/prerender/prerender_browsertest.cc base::RunLoop run_loop_; base 315 chrome/browser/prerender/prerender_browsertest.cc base::RunLoop loop_; base 324 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&NewTabNavigationOrSwapObserver::OnTabAdded, base 325 chrome/browser/prerender/prerender_browsertest.cc base::Unretained(this))) { base 402 chrome/browser/prerender/prerender_browsertest.cc virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE { base 494 chrome/browser/prerender/prerender_browsertest.cc public base::SupportsWeakPtr<TestPrerender> { base 521 chrome/browser/prerender/prerender_browsertest.cc load_waiter_.reset(new base::RunLoop); base 567 chrome/browser/prerender/prerender_browsertest.cc scoped_ptr<base::RunLoop> load_waiter_; base 569 chrome/browser/prerender/prerender_browsertest.cc base::RunLoop create_loop_; base 570 chrome/browser/prerender/prerender_browsertest.cc base::RunLoop start_loop_; base 571 chrome/browser/prerender/prerender_browsertest.cc base::RunLoop stop_loop_; base 620 chrome/browser/prerender/prerender_browsertest.cc const base::WeakPtr<TestPrerender>& handle) base 626 chrome/browser/prerender/prerender_browsertest.cc base::WeakPtr<TestPrerender> handle; base 656 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&FakeSafeBrowsingDatabaseManager::OnCheckBrowseURLDone, base 769 chrome/browser/prerender/prerender_browsertest.cc HangingFirstRequestProtocolHandler(const base::FilePath& file, base 770 chrome/browser/prerender/prerender_browsertest.cc base::Closure callback) base 792 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file_; base 793 chrome/browser/prerender/prerender_browsertest.cc base::Closure callback_; base 801 chrome/browser/prerender/prerender_browsertest.cc const base::FilePath& file, base 802 chrome/browser/prerender/prerender_browsertest.cc base::Closure callback) { base 815 chrome/browser/prerender/prerender_browsertest.cc const base::FilePath& file) base 819 chrome/browser/prerender/prerender_browsertest.cc void set_start_callback(const base::Closure& start_callback) { base 832 chrome/browser/prerender/prerender_browsertest.cc base::Closure start_callback_; base 836 chrome/browser/prerender/prerender_browsertest.cc class RequestCounter : public base::SupportsWeakPtr<RequestCounter> { base 852 chrome/browser/prerender/prerender_browsertest.cc loop_.reset(new base::RunLoop); base 863 chrome/browser/prerender/prerender_browsertest.cc scoped_ptr<base::RunLoop> loop_; base 870 chrome/browser/prerender/prerender_browsertest.cc CountingProtocolHandler(const base::FilePath& file, base 871 chrome/browser/prerender/prerender_browsertest.cc const base::WeakPtr<RequestCounter>& counter) base 882 chrome/browser/prerender/prerender_browsertest.cc job->set_start_callback(base::Bind(&CountingProtocolHandler::RequestStarted, base 890 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&RequestCounter::RequestStarted, counter_)); base 894 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file_; base 895 chrome/browser/prerender/prerender_browsertest.cc base::WeakPtr<RequestCounter> counter_; base 896 chrome/browser/prerender/prerender_browsertest.cc mutable base::WeakPtrFactory<CountingProtocolHandler> weak_factory_; base 903 chrome/browser/prerender/prerender_browsertest.cc const base::FilePath& file, base 904 chrome/browser/prerender/prerender_browsertest.cc const base::WeakPtr<RequestCounter>& counter) { base 914 chrome/browser/prerender/prerender_browsertest.cc const base::FilePath& file) { base 995 chrome/browser/prerender/prerender_browsertest.cc base::FilePath GetTestPath(const std::string& file_name) { base 997 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(FILE_PATH_LITERAL("prerender")), base 998 chrome/browser/prerender/prerender_browsertest.cc base::FilePath().AppendASCII(file_name)); base 1044 chrome/browser/prerender/prerender_browsertest.cc base::FilePath app_dir; base 1193 chrome/browser/prerender/prerender_browsertest.cc base::ASCIIToUTF16(base::StringPrintf("RemoveLinkElement(%d)", i))); base 1199 chrome/browser/prerender/prerender_browsertest.cc render_frame_host->ExecuteJavaScript(base::ASCIIToUTF16("ClickOpenLink()")); base 1257 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data")))); base 1288 chrome/browser/prerender/prerender_browsertest.cc std::string expression = base::StringPrintf( base 1317 chrome/browser/prerender/prerender_browsertest.cc std::string expression = base::StringPrintf( base 1359 chrome/browser/prerender/prerender_browsertest.cc scoped_ptr<base::DictionaryValue> prerender_dict( base 1360 chrome/browser/prerender/prerender_browsertest.cc static_cast<base::DictionaryValue*>( base 1364 chrome/browser/prerender/prerender_browsertest.cc base::ListValue* history_list; base 1400 chrome/browser/prerender/prerender_browsertest.cc std::string url_str(base::StringPrintf( base 1454 chrome/browser/prerender/prerender_browsertest.cc std::string javascript = base::StringPrintf( base 1457 chrome/browser/prerender/prerender_browsertest.cc render_frame_host->ExecuteJavaScript(base::ASCIIToUTF16(javascript)); base 1461 chrome/browser/prerender/prerender_browsertest.cc base::string16 MatchTaskManagerTab(const char* page_title) { base 1463 chrome/browser/prerender/prerender_browsertest.cc base::ASCIIToUTF16(page_title)); base 1467 chrome/browser/prerender/prerender_browsertest.cc base::string16 MatchTaskManagerPrerender(const char* page_title) { base 1469 chrome/browser/prerender/prerender_browsertest.cc base::ASCIIToUTF16(page_title)); base 1593 chrome/browser/prerender/prerender_browsertest.cc std::string javascript = base::StringPrintf( base 1599 chrome/browser/prerender/prerender_browsertest.cc render_frame_host->ExecuteJavaScript(base::ASCIIToUTF16(javascript)); base 1604 chrome/browser/prerender/prerender_browsertest.cc render_frame_host->ExecuteJavaScript(base::ASCIIToUTF16(javascript)); base 1854 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file(GetTestPath("prerender_page.html")); base 1856 chrome/browser/prerender/prerender_browsertest.cc base::RunLoop prerender_start_loop; base 1859 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateHangingFirstRequestProtocolHandlerOnIO, base 1876 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file(GetTestPath("prerender_page.html")); base 1878 chrome/browser/prerender/prerender_browsertest.cc base::RunLoop prerender_start_loop; base 1881 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateHangingFirstRequestProtocolHandlerOnIO, base 2127 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 2412 chrome/browser/prerender/prerender_browsertest.cc const base::string16 any_prerender = MatchTaskManagerPrerender("*"); base 2413 chrome/browser/prerender/prerender_browsertest.cc const base::string16 any_tab = MatchTaskManagerTab("*"); base 2414 chrome/browser/prerender/prerender_browsertest.cc const base::string16 original = MatchTaskManagerTab("Preloader"); base 2415 chrome/browser/prerender/prerender_browsertest.cc const base::string16 prerender = MatchTaskManagerPrerender("Prerender Page"); base 2416 chrome/browser/prerender/prerender_browsertest.cc const base::string16 final = MatchTaskManagerTab("Prerender Page"); base 2447 chrome/browser/prerender/prerender_browsertest.cc const base::string16 any_prerender = MatchTaskManagerPrerender("*"); base 2448 chrome/browser/prerender/prerender_browsertest.cc const base::string16 any_tab = MatchTaskManagerTab("*"); base 2449 chrome/browser/prerender/prerender_browsertest.cc const base::string16 original = MatchTaskManagerTab("Preloader"); base 2450 chrome/browser/prerender/prerender_browsertest.cc const base::string16 prerender = MatchTaskManagerPrerender("Prerender Page"); base 2451 chrome/browser/prerender/prerender_browsertest.cc const base::string16 final = MatchTaskManagerTab("Prerender Page"); base 2481 chrome/browser/prerender/prerender_browsertest.cc const base::string16 any_prerender = MatchTaskManagerPrerender("*"); base 2482 chrome/browser/prerender/prerender_browsertest.cc const base::string16 any_tab = MatchTaskManagerTab("*"); base 2483 chrome/browser/prerender/prerender_browsertest.cc const base::string16 final = MatchTaskManagerTab("Prerender Page"); base 2787 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 2804 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 2828 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 2881 chrome/browser/prerender/prerender_browsertest.cc const base::Closure& callback) OVERRIDE { base 2884 chrome/browser/prerender/prerender_browsertest.cc new net::X509Certificate("test", "test", base::Time(), base::Time()))); base 2900 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateCertStore)); base 2905 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 2918 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateCertStore)); base 2923 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 2945 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateCertStore)); base 2950 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 3080 chrome/browser/prerender/prerender_browsertest.cc base::FilePath empty_file = ui_test_utils::GetTestFilePath( base 3081 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("empty.html"))); base 3085 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateCountingProtocolHandlerOnIO, base 3099 chrome/browser/prerender/prerender_browsertest.cc base::FilePath empty_file = ui_test_utils::GetTestFilePath( base 3100 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("empty.html"))); base 3103 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateHangingFirstRequestProtocolHandlerOnIO, base 3105 chrome/browser/prerender/prerender_browsertest.cc base::Closure())); base 3121 chrome/browser/prerender/prerender_browsertest.cc base::MessageLoop::current()->PostTask( base 3123 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&ClearBrowsingData, current_browser(), base 3140 chrome/browser/prerender/prerender_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 3141 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&ClearBrowsingData, current_browser(), base 3348 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file(FILE_PATH_LITERAL( base 3350 chrome/browser/prerender/prerender_browsertest.cc base::RunLoop hang_loop; base 3353 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateHangingFirstRequestProtocolHandlerOnIO, base 3747 chrome/browser/prerender/prerender_browsertest.cc base::FilePath file(GetTestPath("prerender_page.html")); base 3750 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateMockProtocolHandlerOnIO, base 3901 chrome/browser/prerender/prerender_browsertest.cc base::RefCountedString::TakeString(&post_data); base 3920 chrome/browser/prerender/prerender_browsertest.cc base::FilePath init_file = GetTestPath("init_session_storage.html"); base 3923 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateMockProtocolHandlerOnIO, kInitURL, init_file)); base 3926 chrome/browser/prerender/prerender_browsertest.cc base::FilePath test_file = GetTestPath("prerender_session_storage.html"); base 3930 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateCountingProtocolHandlerOnIO, base 3963 chrome/browser/prerender/prerender_browsertest.cc base::FilePath test_data_dir; base 3970 chrome/browser/prerender/prerender_browsertest.cc base::FilePath init_file = GetTestPath("init_session_storage.html"); base 3973 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateMockProtocolHandlerOnIO, kInitURL, init_file)); base 3976 chrome/browser/prerender/prerender_browsertest.cc base::FilePath test_file = GetTestPath("prerender_session_storage.html"); base 3980 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateCountingProtocolHandlerOnIO, base 4142 chrome/browser/prerender/prerender_browsertest.cc base::FilePath empty_file = ui_test_utils::GetTestFilePath( base 4143 chrome/browser/prerender/prerender_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("empty.html"))); base 4147 chrome/browser/prerender/prerender_browsertest.cc base::Bind(&CreateCountingProtocolHandlerOnIO, base 13 chrome/browser/prerender/prerender_config.cc max_wait_to_launch(base::TimeDelta::FromMinutes(4)), base 14 chrome/browser/prerender/prerender_config.cc time_to_live(base::TimeDelta::FromMinutes(5)), base 15 chrome/browser/prerender/prerender_config.cc abandon_time_to_live(base::TimeDelta::FromSeconds(30)), base 35 chrome/browser/prerender/prerender_config.h base::TimeDelta max_wait_to_launch; base 39 chrome/browser/prerender/prerender_config.h base::TimeDelta time_to_live; base 47 chrome/browser/prerender/prerender_config.h base::TimeDelta abandon_time_to_live; base 81 chrome/browser/prerender/prerender_contents.cc std::vector<base::WeakPtr<PrerenderResourceThrottle> > throttles) { base 135 chrome/browser/prerender/prerender_contents.cc const base::Callback<void(bool)>& callback) OVERRIDE { base 145 chrome/browser/prerender/prerender_contents.cc const base::string16& frame_name, base 177 chrome/browser/prerender/prerender_contents.cc const base::string16& title, base 305 chrome/browser/prerender/prerender_contents.cc load_start_time_ = base::TimeTicks::Now(); base 306 chrome/browser/prerender/prerender_contents.cc start_time_ = base::Time::Now(); base 573 chrome/browser/prerender/prerender_contents.cc void PrerenderContents::RenderProcessGone(base::TerminationStatus status) { base 624 chrome/browser/prerender/prerender_contents.cc const base::string16& frame_unique_name, base 705 chrome/browser/prerender/prerender_contents.cc base::ProcessMetrics* PrerenderContents::MaybeGetProcessMetrics() { base 710 chrome/browser/prerender/prerender_contents.cc base::ProcessHandle handle = GetRenderViewHost()->GetProcess()->GetHandle(); base 711 chrome/browser/prerender/prerender_contents.cc if (handle == base::kNullProcessHandle) base 714 chrome/browser/prerender/prerender_contents.cc process_metrics_.reset(base::ProcessMetrics::CreateProcessMetrics(handle)); base 716 chrome/browser/prerender/prerender_contents.cc process_metrics_.reset(base::ProcessMetrics::CreateProcessMetrics( base 726 chrome/browser/prerender/prerender_contents.cc base::ProcessMetrics* metrics = MaybeGetProcessMetrics(); base 766 chrome/browser/prerender/prerender_contents.cc base::Value* PrerenderContents::GetAsValue() const { base 769 chrome/browser/prerender/prerender_contents.cc base::DictionaryValue* dict_value = new base::DictionaryValue(); base 771 chrome/browser/prerender/prerender_contents.cc base::TimeTicks current_time = base::TimeTicks::Now(); base 772 chrome/browser/prerender/prerender_contents.cc base::TimeDelta duration = current_time - load_start_time_; base 799 chrome/browser/prerender/prerender_contents.cc base::Bind(&ResumeThrottles, resource_throttles_)); base 818 chrome/browser/prerender/prerender_contents.cc base::Time earliest_create_date) { base 876 chrome/browser/prerender/prerender_contents.cc const base::WeakPtr<PrerenderResourceThrottle>& throttle) { base 28 chrome/browser/prerender/prerender_contents.h namespace base { base 165 chrome/browser/prerender/prerender_contents.h base::string16 title() const { return title_; } base 193 chrome/browser/prerender/prerender_contents.h base::TimeTicks load_start_time() const { return load_start_time_; } base 218 chrome/browser/prerender/prerender_contents.h const base::string16& frame_unique_name, base 236 chrome/browser/prerender/prerender_contents.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 272 chrome/browser/prerender/prerender_contents.h base::Value* GetAsValue() const; base 298 chrome/browser/prerender/prerender_contents.h base::Time earliest_create_date); base 307 chrome/browser/prerender/prerender_contents.h const base::WeakPtr<PrerenderResourceThrottle>& throttle); base 355 chrome/browser/prerender/prerender_contents.h base::TimeTicks load_start_time_; base 367 chrome/browser/prerender/prerender_contents.h base::Time start_time_; base 376 chrome/browser/prerender/prerender_contents.h base::ProcessMetrics* MaybeGetProcessMetrics(); base 400 chrome/browser/prerender/prerender_contents.h base::string16 title_; base 430 chrome/browser/prerender/prerender_contents.h scoped_ptr<base::ProcessMetrics> process_metrics_; base 473 chrome/browser/prerender/prerender_contents.h std::vector<base::WeakPtr<PrerenderResourceThrottle> > resource_throttles_; base 24 chrome/browser/prerender/prerender_field_trial.cc using base::FieldTrial; base 25 chrome/browser/prerender/prerender_field_trial.cc using base::FieldTrialList; base 26 chrome/browser/prerender/prerender_field_trial.cc using base::SplitStringUsingSubstr; base 27 chrome/browser/prerender/prerender_field_trial.cc using base::StringToInt; base 12 chrome/browser/prerender/prerender_field_trial.h namespace base { base 21 chrome/browser/prerender/prerender_field_trial.h void ConfigurePrerender(const base::CommandLine& command_line); base 30 chrome/browser/prerender/prerender_handle.h class PrerenderHandle : public base::NonThreadSafe, base 114 chrome/browser/prerender/prerender_handle.h base::WeakPtr<PrerenderManager::PrerenderData> prerender_data_; base 115 chrome/browser/prerender/prerender_handle.h base::WeakPtrFactory<PrerenderHandle> weak_ptr_factory_; base 185 chrome/browser/prerender/prerender_histograms.cc base::StringPrintf("Prerender.OmniboxPrerenderCount%s", base 194 chrome/browser/prerender/prerender_histograms.cc base::StringPrintf("Prerender.PrerenderCountOf%" PRIuS "Max", base 202 chrome/browser/prerender/prerender_histograms.cc base::StringPrintf("Prerender.OmniboxNavigationsUsedPrerenderCount%s", base 209 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta delta) const { base 215 chrome/browser/prerender/prerender_histograms.cc base::TimeTicks PrerenderHistograms::GetCurrentTimeTicks() const { base 216 chrome/browser/prerender/prerender_histograms.cc return base::TimeTicks::Now(); base 226 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta::FromMilliseconds(10), \ base 227 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta::FromSeconds(60), \ base 255 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta perceived_page_load_time, base 308 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta page_load_time, base 328 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta PrerenderHistograms::GetTimeSinceLastPrerender() const { base 329 chrome/browser/prerender/prerender_histograms.cc return base::TimeTicks::Now() - last_prerender_seen_time_; base 336 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta::FromSeconds(kWindowDurationSeconds); base 341 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta time_until_used) const { base 347 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta::FromMilliseconds(10), base 348 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta::FromMinutes(30), base 354 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta time_until_used) const { base 360 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta::FromMilliseconds(10), base 361 chrome/browser/prerender/prerender_histograms.cc base::TimeDelta::FromSeconds(30), base 373 chrome/browser/prerender/prerender_histograms.cc Origin origin, base::TimeDelta time) const { base 48 chrome/browser/prerender/prerender_histograms.h base::TimeDelta perceived_page_load_time, base 60 chrome/browser/prerender/prerender_histograms.h base::TimeDelta page_load_time, base 66 chrome/browser/prerender/prerender_histograms.h base::TimeDelta time_until_used) const; base 71 chrome/browser/prerender/prerender_histograms.h base::TimeDelta time_until_used) const; base 78 chrome/browser/prerender/prerender_histograms.h base::TimeDelta time) const; base 101 chrome/browser/prerender/prerender_histograms.h base::TimeDelta time) const; base 131 chrome/browser/prerender/prerender_histograms.h base::TimeTicks GetCurrentTimeTicks() const; base 134 chrome/browser/prerender/prerender_histograms.h base::TimeDelta GetTimeSinceLastPrerender() const; base 162 chrome/browser/prerender/prerender_histograms.h base::TimeTicks last_prerender_seen_time_; base 32 chrome/browser/prerender/prerender_history.cc base::Value* PrerenderHistory::GetEntriesAsValue() const { base 33 chrome/browser/prerender/prerender_history.cc base::ListValue* return_list = new base::ListValue(); base 35 chrome/browser/prerender/prerender_history.cc base::Time epoch_start = base::Time::UnixEpoch(); base 40 chrome/browser/prerender/prerender_history.cc base::DictionaryValue* entry_dict = new base::DictionaryValue(); base 49 chrome/browser/prerender/prerender_history.cc base::Int64ToString((entry.end_time - epoch_start).InMilliseconds())); base 16 chrome/browser/prerender/prerender_history.h namespace base { base 25 chrome/browser/prerender/prerender_history.h class PrerenderHistory : public base::NonThreadSafe { base 35 chrome/browser/prerender/prerender_history.h base::Time end_time_arg) base 54 chrome/browser/prerender/prerender_history.h base::Time end_time; base 68 chrome/browser/prerender/prerender_history.h base::Value* GetEntriesAsValue() const; base 14 chrome/browser/prerender/prerender_history_unittest.cc bool ListEntryMatches(base::ListValue* list, base 22 chrome/browser/prerender/prerender_history_unittest.cc base::DictionaryValue* dict = NULL; base 51 chrome/browser/prerender/prerender_history_unittest.cc scoped_ptr<base::Value> entry_value; base 52 chrome/browser/prerender/prerender_history_unittest.cc base::ListValue* entry_list = NULL; base 65 chrome/browser/prerender/prerender_history_unittest.cc base::Time epoch_start = base::Time::UnixEpoch(); base 87 chrome/browser/prerender/prerender_history_unittest.cc epoch_start + base::TimeDelta::FromMilliseconds(1)); base 104 chrome/browser/prerender/prerender_history_unittest.cc epoch_start + base::TimeDelta::FromMilliseconds(2)); base 30 chrome/browser/prerender/prerender_link_manager.cc using base::TimeDelta; base 31 chrome/browser/prerender/prerender_link_manager.cc using base::TimeTicks; base 41 chrome/browser/prerender/prerender_link_manager.cc base::FieldTrialList::FindFullName("PrerenderRelNextTrial"); base 83 chrome/browser/prerender/prerender_link_manager.h base::TimeTicks creation_time, base 97 chrome/browser/prerender/prerender_link_manager.h base::TimeTicks creation_time; base 49 chrome/browser/prerender/prerender_local_predictor.cc using base::DictionaryValue; base 50 chrome/browser/prerender/prerender_local_predictor.cc using base::ListValue; base 51 chrome/browser/prerender/prerender_local_predictor.cc using base::Value; base 95 chrome/browser/prerender/prerender_local_predictor.cc base::Time start_time_; // used for various time measurements base 150 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(10), \ base 151 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromSeconds(10), \ base 159 chrome/browser/prerender/prerender_local_predictor.cc const base::Closure& callback) base 162 chrome/browser/prerender/prerender_local_predictor.cc start_time_(base::Time::Now()) { base 176 chrome/browser/prerender/prerender_local_predictor.cc base::Time::Now() - start_time_); base 191 chrome/browser/prerender/prerender_local_predictor.cc base::Closure callback_; base 192 chrome/browser/prerender/prerender_local_predictor.cc base::Time start_time_; base 260 chrome/browser/prerender/prerender_local_predictor.cc base::Time GetCurrentTime() { base 261 chrome/browser/prerender/prerender_local_predictor.cc return base::Time::Now(); base 342 chrome/browser/prerender/prerender_local_predictor.cc base::Time start_time) base 365 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromSeconds(half_life_time_seconds).InMillisecondsF(); base 380 chrome/browser/prerender/prerender_local_predictor.cc base::Time start_time; base 382 chrome/browser/prerender/prerender_local_predictor.cc base::Time actual_start_time; base 395 chrome/browser/prerender/prerender_local_predictor.cc if (base::MessageLoop::current()) { base 397 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(kInitDelayMs), base 404 chrome/browser/prerender/prerender_local_predictor.cc base::RefCountedStaticMemory* url_whitelist_data = base 471 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(10), base 472 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(GetMaxLocalPredictionTimeMs()), base 480 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta max_age = base 481 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(GetMaxLocalPredictionTimeMs()); base 482 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta min_age = base 483 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(kMinLocalPredictionTimeMs); base 487 chrome/browser/prerender/prerender_local_predictor.cc base::Time last_visited; base 548 chrome/browser/prerender/prerender_local_predictor.cc base::Bind(&PrerenderLocalPredictor::OnLookupURL, base 549 chrome/browser/prerender/prerender_local_predictor.cc base::Unretained(this), base 550 chrome/browser/prerender/prerender_local_predictor.cc base::Passed(&lookup_info))), base 643 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue json_data; base 644 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue* req = new base::DictionaryValue(); base 649 chrome/browser/prerender/prerender_local_predictor.cc base::ListValue* browse_history = new base::ListValue(); base 650 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue* browse_item = new base::DictionaryValue(); base 653 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue* hint_request = new base::DictionaryValue(); base 664 chrome/browser/prerender/prerender_local_predictor.cc base::ListValue* candidates = new base::ListValue(); base 665 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue* candidate; base 668 chrome/browser/prerender/prerender_local_predictor.cc candidate = new base::DictionaryValue(); base 673 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue* candidate_check_request = base 674 chrome/browser/prerender/prerender_local_predictor.cc new base::DictionaryValue(); base 680 chrome/browser/prerender/prerender_local_predictor.cc base::JSONWriter::Write(&json_data, &request_string); base 693 chrome/browser/prerender/prerender_local_predictor.cc info->start_time_ = base::Time::Now(); base 696 chrome/browser/prerender/prerender_local_predictor.cc base::MessageLoop::current()->PostDelayedTask( base 698 chrome/browser/prerender/prerender_local_predictor.cc base::Bind(&PrerenderLocalPredictor::MaybeCancelURLFetcher, base 700 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(GetPrerenderServiceFetchTimeoutMs())); base 719 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue* dict, base 760 chrome/browser/prerender/prerender_local_predictor.cc base::ListValue* list = NULL; base 776 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue* d; base 825 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue* d; base 874 chrome/browser/prerender/prerender_local_predictor.cc base::Time::Now() - info->start_time_); base 877 chrome/browser/prerender/prerender_local_predictor.cc scoped_ptr<base::Value> root; base 878 chrome/browser/prerender/prerender_local_predictor.cc root.reset(base::JSONReader::Read(result)); base 882 chrome/browser/prerender/prerender_local_predictor.cc if (!root.get() || !root->IsType(base::Value::TYPE_DICTIONARY)) { base 886 chrome/browser/prerender/prerender_local_predictor.cc static_cast<base::DictionaryValue*>(root.get()), base 923 chrome/browser/prerender/prerender_local_predictor.cc info->start_time_ = base::Time::Now(); base 928 chrome/browser/prerender/prerender_local_predictor.cc base::Bind(&LookupLoggedInStatesOnDBThread, base 931 chrome/browser/prerender/prerender_local_predictor.cc base::Bind(&PrerenderLocalPredictor::ContinuePrerenderCheck, base 933 chrome/browser/prerender/prerender_local_predictor.cc base::Passed(&info))); base 997 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta page_load_time) { base 1012 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(10), base 1013 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromSeconds(60), base 1016 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta prerender_age = GetCurrentTime() - prerender->start_time; base 1018 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta new_plt; base 1023 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(10), base 1024 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromSeconds(60), base 1034 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta::FromMilliseconds(GetMaxLocalPredictionTimeMs())) base 1047 chrome/browser/prerender/prerender_local_predictor.cc base::TimeDelta plt) const { base 1084 chrome/browser/prerender/prerender_local_predictor.cc base::Time::Now() - info->start_time_); base 1208 chrome/browser/prerender/prerender_local_predictor.cc base::Time current_time = GetCurrentTime(); base 1262 chrome/browser/prerender/prerender_local_predictor.cc base::Time simulated_new_start_time = base 1263 chrome/browser/prerender/prerender_local_predictor.cc current_time - base::TimeDelta::FromSeconds(10); base 1281 chrome/browser/prerender/prerender_local_predictor.cc base::string16 result; base 1336 chrome/browser/prerender/prerender_local_predictor.cc base::Bind(&PrerenderLocalPredictor::ProcessNamespaceMergeResult, base 23 chrome/browser/prerender/prerender_local_predictor.h namespace base { base 157 chrome/browser/prerender/prerender_local_predictor.h void OnPLTEventForURL(const GURL& url, base::TimeDelta page_load_time); base 171 chrome/browser/prerender/prerender_local_predictor.h base::TimeDelta plt) const; base 196 chrome/browser/prerender/prerender_local_predictor.h base::DictionaryValue* dict, base 207 chrome/browser/prerender/prerender_local_predictor.h base::OneShotTimer<PrerenderLocalPredictor> timer_; base 226 chrome/browser/prerender/prerender_local_predictor.h base::hash_set<int64> url_whitelist_; base 228 chrome/browser/prerender/prerender_local_predictor.h base::WeakPtrFactory<PrerenderLocalPredictor> weak_factory_; base 148 chrome/browser/prerender/prerender_manager.cc base::Bind(&CheckIfCookiesExistForDomainResultOnUIThread, base 162 chrome/browser/prerender/prerender_manager.cc base::Bind(&CheckIfCookiesExistForDomainResultOnIOThread, callback)); base 169 chrome/browser/prerender/prerender_manager.cc public base::SupportsWeakPtr< base 178 chrome/browser/prerender/prerender_manager.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 179 chrome/browser/prerender/prerender_manager.cc base::Bind(&OnCloseWebContentsDeleter::ScheduleWebContentsForDeletion, base 181 chrome/browser/prerender/prerender_manager.cc base::TimeDelta::FromSeconds(kDeleteWithExtremePrejudiceSeconds)); base 228 chrome/browser/prerender/prerender_manager.cc NavigationRecord(const GURL& url, base::TimeTicks time) base 234 chrome/browser/prerender/prerender_manager.cc base::TimeTicks time; base 245 chrome/browser/prerender/prerender_manager.cc base::TimeDelta::FromMilliseconds(kMinTimeBetweenPrerendersMs)), base 267 chrome/browser/prerender/prerender_manager.cc base::Bind(&LoggedInPredictorTable::GetAllData, base 270 chrome/browser/prerender/prerender_manager.cc base::Bind(&PrerenderManager::LoggedInPredictorDataReceived, base 272 chrome/browser/prerender/prerender_manager.cc base::Passed(&new_state_map))); base 283 chrome/browser/prerender/prerender_manager.cc config_.time_to_live = base::TimeDelta::FromMinutes(15); base 589 chrome/browser/prerender/prerender_manager.cc base::TimeDelta() : base 689 chrome/browser/prerender/prerender_manager.cc base::TimeDelta page_load_time, base 698 chrome/browser/prerender/prerender_manager.cc base::TimeDelta perceived_page_load_time, base 870 chrome/browser/prerender/prerender_manager.cc base::TimeDelta delta = GetCurrentTimeTicks() - it->time; base 904 chrome/browser/prerender/prerender_manager.cc base::DictionaryValue* PrerenderManager::GetAsValue() const { base 906 chrome/browser/prerender/prerender_manager.cc base::DictionaryValue* dict_value = new base::DictionaryValue(); base 965 chrome/browser/prerender/prerender_manager.cc base::TimeTicks expiry_time) base 997 chrome/browser/prerender/prerender_manager.cc abandon_time_ = base::TimeTicks::Now(); base 1033 chrome/browser/prerender/prerender_manager.cc start_time_(base::TimeTicks::Now()), base 1060 chrome/browser/prerender/prerender_manager.cc base::Bind(&PrerenderManager::PendingSwap::OnMergeCompleted, base 1065 chrome/browser/prerender/prerender_manager.cc base::TimeDelta::FromMilliseconds( base 1099 chrome/browser/prerender/prerender_manager.cc const base::string16& frame_unique_name, base 1111 chrome/browser/prerender/prerender_manager.cc const base::string16& frame_unique_name, base 1115 chrome/browser/prerender/prerender_manager.cc const base::string16& error_description, base 1134 chrome/browser/prerender/prerender_manager.cc base::TimeTicks::Now() - start_time_); base 1327 chrome/browser/prerender/prerender_manager.cc base::Bind(&PrerenderManager::OnHistoryServiceDidQueryURL, base 1328 chrome/browser/prerender/prerender_manager.cc base::Unretained(this), base 1342 chrome/browser/prerender/prerender_manager.cc base::TimeDelta::FromMilliseconds(kPeriodicCleanupIntervalMs), base 1355 chrome/browser/prerender/prerender_manager.cc base::ElapsedTimer resource_timer; base 1374 chrome/browser/prerender/prerender_manager.cc base::ElapsedTimer cleanup_timer; base 1391 chrome/browser/prerender/prerender_manager.cc base::MessageLoop::current()->PostTask( base 1393 chrome/browser/prerender/prerender_manager.cc base::Bind(&PrerenderManager::PeriodicCleanup, AsWeakPtr())); base 1396 chrome/browser/prerender/prerender_manager.cc base::TimeTicks PrerenderManager::GetExpiryTimeForNewPrerender( base 1398 chrome/browser/prerender/prerender_manager.cc base::TimeDelta ttl = config_.time_to_live; base 1400 chrome/browser/prerender/prerender_manager.cc ttl = base::TimeDelta::FromSeconds(GetLocalPredictorTTLSeconds()); base 1404 chrome/browser/prerender/prerender_manager.cc base::TimeTicks PrerenderManager::GetExpiryTimeForNavigatedAwayPrerender() base 1422 chrome/browser/prerender/prerender_manager.cc base::Time PrerenderManager::GetCurrentTime() const { base 1423 chrome/browser/prerender/prerender_manager.cc return base::Time::Now(); base 1426 chrome/browser/prerender/prerender_manager.cc base::TimeTicks PrerenderManager::GetCurrentTimeTicks() const { base 1427 chrome/browser/prerender/prerender_manager.cc return base::TimeTicks::Now(); base 1481 chrome/browser/prerender/prerender_manager.cc base::TimeDelta elapsed_time = base 1487 chrome/browser/prerender/prerender_manager.cc base::TimeDelta::FromMilliseconds(kMinTimeBetweenPrerendersMs); base 1503 chrome/browser/prerender/prerender_manager.cc base::TimeTicks cutoff = GetCurrentTimeTicks() - base 1504 chrome/browser/prerender/prerender_manager.cc base::TimeDelta::FromMilliseconds(kNavigationRecordWindowMs); base 1532 chrome/browser/prerender/prerender_manager.cc base::Time::Now()); base 1536 chrome/browser/prerender/prerender_manager.cc base::Value* PrerenderManager::GetActivePrerendersAsValue() const { base 1537 chrome/browser/prerender/prerender_manager.cc base::ListValue* list_value = new base::ListValue(); base 1541 chrome/browser/prerender/prerender_manager.cc if (base::Value* prerender_value = (*it)->contents()->GetAsValue()) base 1638 chrome/browser/prerender/prerender_manager.cc base::Bind(&LoggedInPredictorTable::AddDomainFromURL, base 1647 chrome/browser/prerender/prerender_manager.cc (*logged_in_state_)[key] = base::Time::Now().ToInternalValue(); base 1654 chrome/browser/prerender/prerender_manager.cc const base::Closure& result_cb) { base 1664 chrome/browser/prerender/prerender_manager.cc base::Bind(&LoggedInPredictorTable::HasUserLoggedIn, base 1697 chrome/browser/prerender/prerender_manager.cc base::Bind(&CheckIfCookiesExistForDomainOnIOThread, base 1698 chrome/browser/prerender/prerender_manager.cc base::Unretained(rq_context), base 1700 chrome/browser/prerender/prerender_manager.cc base::Bind( base 1718 chrome/browser/prerender/prerender_manager.cc base::Bind(&LoggedInPredictorTable::DeleteDomain, base 1769 chrome/browser/prerender/prerender_manager.cc base::Time earliest_create_date; base 44 chrome/browser/prerender/prerender_manager.h namespace base { base 74 chrome/browser/prerender/prerender_manager.h class PrerenderManager : public base::SupportsWeakPtr<PrerenderManager>, base 75 chrome/browser/prerender/prerender_manager.h public base::NonThreadSafe, base 178 chrome/browser/prerender/prerender_manager.h base::TimeDelta page_load_time, base 190 chrome/browser/prerender/prerender_manager.h base::TimeDelta perceived_page_load_time, base 250 chrome/browser/prerender/prerender_manager.h base::DictionaryValue* GetAsValue() const; base 314 chrome/browser/prerender/prerender_manager.h const base::Closure& result_cb); base 328 chrome/browser/prerender/prerender_manager.h virtual base::Time GetCurrentTime() const; base 329 chrome/browser/prerender/prerender_manager.h virtual base::TimeTicks GetCurrentTimeTicks() const; base 365 chrome/browser/prerender/prerender_manager.h class PrerenderData : public base::SupportsWeakPtr<PrerenderData> { base 371 chrome/browser/prerender/prerender_manager.h base::TimeTicks expiry_time); base 399 chrome/browser/prerender/prerender_manager.h base::TimeTicks abandon_time() const { return abandon_time_; } base 401 chrome/browser/prerender/prerender_manager.h base::TimeTicks expiry_time() const { return expiry_time_; } base 402 chrome/browser/prerender/prerender_manager.h void set_expiry_time(base::TimeTicks expiry_time) { base 425 chrome/browser/prerender/prerender_manager.h base::TimeTicks abandon_time_; base 429 chrome/browser/prerender/prerender_manager.h base::TimeTicks expiry_time_; base 467 chrome/browser/prerender/prerender_manager.h const base::string16& frame_unique_name, base 474 chrome/browser/prerender/prerender_manager.h const base::string16& frame_unique_name, base 478 chrome/browser/prerender/prerender_manager.h const base::string16& error_description, base 495 chrome/browser/prerender/prerender_manager.h base::TimeTicks start_time_; base 498 chrome/browser/prerender/prerender_manager.h base::OneShotTimer<PendingSwap> merge_timeout_; base 501 chrome/browser/prerender/prerender_manager.h base::WeakPtrFactory<PendingSwap> weak_factory_; base 561 chrome/browser/prerender/prerender_manager.h base::TimeTicks GetExpiryTimeForNewPrerender(Origin origin) const; base 562 chrome/browser/prerender/prerender_manager.h base::TimeTicks GetExpiryTimeForNavigatedAwayPrerender() const; base 612 chrome/browser/prerender/prerender_manager.h base::Value* GetActivePrerendersAsValue() const; base 685 chrome/browser/prerender/prerender_manager.h base::RepeatingTimer<PrerenderManager> repeating_timer_; base 688 chrome/browser/prerender/prerender_manager.h base::TimeTicks last_prerender_start_time_; base 69 chrome/browser/prerender/prerender_manager_factory.cc if (base::android::SysUtils::IsLowEndDevice()) base 71 chrome/browser/prerender/prerender_message_filter.cc base::Bind(&OnChannelClosingInUIThread, profile_, render_process_id_)); base 28 chrome/browser/prerender/prerender_pending_swap_throttle.h public base::SupportsWeakPtr<PrerenderPendingSwapThrottle> { base 42 chrome/browser/prerender/prerender_resource_throttle.cc base::Bind(&PrerenderResourceThrottle::WillStartRequestOnUI, base 59 chrome/browser/prerender/prerender_resource_throttle.cc base::Bind(&PrerenderResourceThrottle::WillRedirectRequestOnUI, base 77 chrome/browser/prerender/prerender_resource_throttle.cc const base::WeakPtr<PrerenderResourceThrottle>& throttle, base 109 chrome/browser/prerender/prerender_resource_throttle.cc base::Bind(cancel ? &PrerenderResourceThrottle::Cancel : base 114 chrome/browser/prerender/prerender_resource_throttle.cc const base::WeakPtr<PrerenderResourceThrottle>& throttle, base 150 chrome/browser/prerender/prerender_resource_throttle.cc base::Bind(cancel ? &PrerenderResourceThrottle::Cancel : base 29 chrome/browser/prerender/prerender_resource_throttle.h public base::SupportsWeakPtr<PrerenderResourceThrottle> { base 50 chrome/browser/prerender/prerender_resource_throttle.h const base::WeakPtr<PrerenderResourceThrottle>& throttle, base 58 chrome/browser/prerender/prerender_resource_throttle.h const base::WeakPtr<PrerenderResourceThrottle>& throttle, base 66 chrome/browser/prerender/prerender_tab_helper.cc base::Bind(&PrerenderTabHelper::PasswordSubmitted, base 100 chrome/browser/prerender/prerender_tab_helper.cc const base::string16& frame_unique_name, base 127 chrome/browser/prerender/prerender_tab_helper.cc base::TimeTicks now = base::TimeTicks::Now(); base 156 chrome/browser/prerender/prerender_tab_helper.cc pplt_load_start_ = base::TimeTicks(); base 157 chrome/browser/prerender/prerender_tab_helper.cc actual_load_start_ = base::TimeTicks(); base 172 chrome/browser/prerender/prerender_tab_helper.cc pplt_load_start_ = base::TimeTicks::Now(); base 173 chrome/browser/prerender/prerender_tab_helper.cc actual_load_start_ = base::TimeTicks(); base 212 chrome/browser/prerender/prerender_tab_helper.cc RecordPerceivedPageLoadTime(base::TimeDelta(), 1.0); base 218 chrome/browser/prerender/prerender_tab_helper.cc pplt_load_start_ = base::TimeTicks::Now(); base 245 chrome/browser/prerender/prerender_tab_helper.cc base::Bind(&PrerenderTabHelper::RecordEventIfLoggedInURLResult, base 248 chrome/browser/prerender/prerender_tab_helper.cc base::Passed(&is_present), base 249 chrome/browser/prerender/prerender_tab_helper.cc base::Passed(&lookup_succeeded))); base 261 chrome/browser/prerender/prerender_tab_helper.cc base::TimeDelta perceived_page_load_time, base 67 chrome/browser/prerender/prerender_tab_helper.h const base::string16& frame_unique_name, base 93 chrome/browser/prerender/prerender_tab_helper.h base::TimeDelta perceived_page_load_time, base 121 chrome/browser/prerender/prerender_tab_helper.h base::TimeTicks pplt_load_start_; base 126 chrome/browser/prerender/prerender_tab_helper.h base::TimeTicks actual_load_start_; base 131 chrome/browser/prerender/prerender_tab_helper.h base::WeakPtrFactory<PrerenderTabHelper> weak_factory_; base 38 chrome/browser/prerender/prerender_tracker.cc const base::WeakPtr<PrerenderPendingSwapThrottle>& throttle) { base 84 chrome/browser/prerender/prerender_tracker.cc base::Bind(&PrerenderTracker::AddPrerenderPendingSwapOnIOThread, base 85 chrome/browser/prerender/prerender_tracker.cc base::Unretained(this), render_frame_route_id_pair, url)); base 93 chrome/browser/prerender/prerender_tracker.cc base::Bind(&PrerenderTracker::RemovePrerenderPendingSwapOnIOThread, base 94 chrome/browser/prerender/prerender_tracker.cc base::Unretained(this), render_frame_route_id_pair, base 37 chrome/browser/prerender/prerender_tracker.h const base::WeakPtr<PrerenderPendingSwapThrottle>& throttle); base 61 chrome/browser/prerender/prerender_tracker.h base::WeakPtr<PrerenderPendingSwapThrottle> throttle; base 111 chrome/browser/prerender/prerender_tracker_unittest.cc run_loop_.reset(new base::RunLoop()); base 155 chrome/browser/prerender/prerender_tracker_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 206 chrome/browser/prerender/prerender_tracker_unittest.cc base::MessageLoopForIO message_loop_; base 216 chrome/browser/prerender/prerender_tracker_unittest.cc const base::FilePath::CharType kRedirectPath[] = base 226 chrome/browser/prerender/prerender_tracker_unittest.cc content::URLRequestMockHTTPJob::GetMockUrl(base::FilePath(kRedirectPath)), base 255 chrome/browser/prerender/prerender_tracker_unittest.cc const base::FilePath::CharType kRedirectPath[] = base 265 chrome/browser/prerender/prerender_tracker_unittest.cc content::URLRequestMockHTTPJob::GetMockUrl(base::FilePath(kRedirectPath)), base 292 chrome/browser/prerender/prerender_tracker_unittest.cc const base::FilePath::CharType kRedirectPath[] = base 302 chrome/browser/prerender/prerender_tracker_unittest.cc content::URLRequestMockHTTPJob::GetMockUrl(base::FilePath(kRedirectPath)), base 30 chrome/browser/prerender/prerender_unittest.cc using base::Time; base 31 chrome/browser/prerender/prerender_unittest.cc using base::TimeDelta; base 32 chrome/browser/prerender/prerender_unittest.cc using base::TimeTicks; base 395 chrome/browser/prerender/prerender_unittest.cc base::MessageLoop message_loop_; base 400 chrome/browser/prerender/prerender_unittest.cc base::FieldTrialList field_trial_list_; base 620 chrome/browser/prerender/prerender_unittest.cc GURL(base::StringPrintf("http://google.com/use#%" PRIuS, j))); base 857 chrome/browser/prerender/prerender_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("PrerenderRelNextTrial", base 1536 chrome/browser/prerender/prerender_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1545 chrome/browser/prerender/prerender_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 113 chrome/browser/prerender/prerender_util.cc GURL new_url(base::string16(decoded_url.data(), decoded_url.length())); base 83 chrome/browser/prerender/prerender_util_unittest.cc base::StatisticsRecorder::Initialize(); base 99 chrome/browser/prerender/prerender_util_unittest.cc scoped_ptr<base::HistogramSamples> server_samples; base 100 chrome/browser/prerender/prerender_util_unittest.cc scoped_ptr<base::HistogramSamples> version_samples; base 104 chrome/browser/prerender/prerender_util_unittest.cc base::HistogramBase* server_histogram = base 105 chrome/browser/prerender/prerender_util_unittest.cc base::StatisticsRecorder::FindHistogram( base 108 chrome/browser/prerender/prerender_util_unittest.cc ASSERT_TRUE(NULL == base::StatisticsRecorder::FindHistogram( base 121 chrome/browser/prerender/prerender_util_unittest.cc base::HistogramBase* version_histogram = base 122 chrome/browser/prerender/prerender_util_unittest.cc base::StatisticsRecorder::FindHistogram( base 30 chrome/browser/printing/background_printing_manager.cc virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 43 chrome/browser/printing/background_printing_manager.cc base::TerminationStatus status) { base 118 chrome/browser/printing/background_printing_manager.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, preview_contents); base 27 chrome/browser/printing/background_printing_manager.h class BackgroundPrintingManager : public base::NonThreadSafe, base 69 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::Bind( base 70 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::IgnoreResult( base 72 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::Unretained(this))); base 78 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::Bind(&CloudPrintProxyService::RefreshCloudPrintProxyStatus, base 94 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc const base::DictionaryValue& user_preferences) { base 101 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::Bind(&CloudPrintProxyService::EnableCloudPrintProxyWithRobot, base 103 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc user_email, base::Owned(user_preferences.DeepCopy()))); base 113 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::Bind(&CloudPrintProxyService::DisableCloudPrintProxy, base 130 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::MessageLoop::current()->PostTask( base 132 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::Bind(&CloudPrintProxyService::RefreshCloudPrintProxyStatus, base 137 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 138 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::MessageLoop::QuitClosure()); base 149 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::FilePath list_path( base 154 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::ReadFileToString(list_path, &printers_json); base 155 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc scoped_ptr<base::Value> value(base::JSONReader::Read(printers_json)); base 156 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::ListValue* list = NULL; base 167 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 168 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::Bind(callback, printers)); base 171 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc base::Bind(&CloudPrintProxyService::GetCloudPrintProxyPrinters, base 189 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc ServiceProcessControl::CloudPrintProxyInfoCallback callback = base::Bind( base 190 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc &CloudPrintProxyService::ProxyInfoCallback, base::Unretained(this)); base 198 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc const base::DictionaryValue* user_preferences) { base 225 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc bool CloudPrintProxyService::InvokeServiceTask(const base::Closure& task) { base 226 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc GetServiceProcessControl()->Launch(task, base::Closure()); base 21 chrome/browser/printing/cloud_print/cloud_print_proxy_service.h namespace base { base 36 chrome/browser/printing/cloud_print/cloud_print_proxy_service.h typedef base::Callback<void(const std::vector<std::string>&)> base 51 chrome/browser/printing/cloud_print/cloud_print_proxy_service.h const base::DictionaryValue& user_settings); base 77 chrome/browser/printing/cloud_print/cloud_print_proxy_service.h const base::DictionaryValue* user_preferences); base 87 chrome/browser/printing/cloud_print/cloud_print_proxy_service.h bool InvokeServiceTask(const base::Closure& task); base 99 chrome/browser/printing/cloud_print/cloud_print_proxy_service.h base::WeakPtrFactory<CloudPrintProxyService> weak_factory_; base 49 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc MOCK_METHOD2(Launch, void(const base::Closure&, const base::Closure&)); base 84 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc void CallTask(const base::Closure& task) { base 89 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc void PostTask(const base::Closure& task) { base 91 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, task); base 158 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc PostTask(base::Bind(&MockServiceProcessControl::OnCloudPrintProxyInfo, base 159 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Unretained(this), info_)); base 166 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc PostTask(base::Bind(&MockServiceProcessControl::OnCloudPrintProxyInfo, base 167 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Unretained(this), info_)); base 178 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::RunLoop().RunUntilIdle(); base 183 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::RunLoop().RunUntilIdle(); base 196 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::DictionaryValue()); base 213 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc command_line, base::FilePath(), false, profile, base 218 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::MessageLoopForUI message_loop_; base 229 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc mock_control.Launch(base::Closure(), base::Closure()); base 231 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc mock_control.Launch(base::Closure(), base::Closure()); base 245 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue( base 261 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue(std::string())); base 278 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue(std::string())); base 280 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateBooleanValue(false)); base 296 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue(std::string())); base 298 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateBooleanValue(false)); base 313 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue( base 321 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateBooleanValue(false)); base 334 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue(std::string())); base 344 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateBooleanValue(false)); base 358 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue(std::string())); base 360 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateBooleanValue(false)); base 379 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue(std::string())); base 381 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateBooleanValue(false)); base 398 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue( base 421 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue(std::string())); base 423 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateBooleanValue(false)); base 457 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateStringValue(std::string())); base 459 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::Value::CreateBooleanValue(false)); base 468 chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc base::RunLoop().RunUntilIdle(); base 107 chrome/browser/printing/cloud_print/cloud_print_url.cc std::string query = base::StringPrintf("proxy=%s", proxy_id.c_str()); base 39 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::FilePath test_file_path = ui_test_utils::GetTestFilePath( base 40 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("empty.html")); base 48 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::ProcessHandle handle; base 50 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::LaunchProcess(new_command_line, base::LaunchOptions(), &handle); base 57 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::WaitForExitCodeWithTimeout(handle, &exit_code, base 62 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::CloseProcessHandle(handle); base 70 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::ProcessHandle handle; base 72 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::LaunchProcess(new_command_line, base::LaunchOptions(), &handle); base 77 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::WaitForExitCodeWithTimeout(handle, &exit_code, base 82 chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc base::CloseProcessHandle(handle); base 102 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc bool Initialize(base::MessageLoopForUI* message_loop, base 105 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::MessageLoopProxy* IOMessageLoopProxy() { base 110 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc bool TestServiceProcess::Initialize(base::MessageLoopForUI* message_loop, base 116 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 117 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc io_thread_.reset(new base::Thread("TestServiceProcess_IO")); base 206 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc typedef base::Callback<void(MockServiceIPCServer* server)> base 213 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::MessageLoopForUI main_message_loop; base 221 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::FilePath executable_path = base 228 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::FilePath user_data_dir = base 253 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::Bind(&ShutdownTask))); base 287 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::Bind(&SetServiceEnabledExpectations)); base 296 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::Bind(&SetServiceWillBeDisabledExpectations)); base 299 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc class CloudPrintProxyPolicyStartupTest : public base::MultiProcessTest, base 308 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc scoped_refptr<base::MessageLoopProxy> IOMessageLoopProxy() { base 311 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ProcessHandle Launch(const std::string& name); base 314 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc void ShutdownAndWaitForExitWithTimeout(base::ProcessHandle handle); base 329 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc command_line, base::FilePath(), false, profile, base 335 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ScopedTempDir temp_user_data_dir_; base 341 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ScopedTempDir temp_dir_; base 342 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::FilePath executable_path_, bundle_path_; base 364 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 395 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::MessageLoopForUI::current(), base 406 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::FilePath user_data_dir = base 424 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ProcessHandle CloudPrintProxyPolicyStartupTest::Launch( base 429 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::StringPrintf("%d.%p.%d", base 430 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::GetCurrentProcId(), this, base 431 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::RandInt(0, std::numeric_limits<int>::max())); base 437 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::FileHandleMappingVector ipc_file_list; base 440 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor)); base 441 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::LaunchOptions options; base 443 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ProcessHandle handle = SpawnChildWithOptions(name, options); base 445 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ProcessHandle handle = SpawnChild(name); base 454 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc EXPECT_TRUE(base::MessageLoopProxy::current().get()); base 467 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ProcessHandle handle) { base 472 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::WaitForExitCodeWithTimeout(handle, &exit_code, base 476 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::CloseProcessHandle(handle); base 504 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ProcessHandle handle = base 520 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ProcessHandle handle = base 542 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::Value::CreateStringValue( base 550 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::RunLoop run_loop; base 551 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 570 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::ProcessHandle handle = base 590 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::Value::CreateStringValue( base 593 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::Value::CreateBooleanValue(false)); base 600 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::RunLoop run_loop; base 601 chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 133 chrome/browser/printing/print_dialog_cloud.cc const base::Closure& callback) base 146 chrome/browser/printing/print_dialog_cloud.cc base::MessageLoop::current()->PostTask( base 148 chrome/browser/printing/print_dialog_cloud.cc base::Bind(&SignInObserver::OnSignIn, base 164 chrome/browser/printing/print_dialog_cloud.cc base::Closure callback_; base 165 chrome/browser/printing/print_dialog_cloud.cc base::WeakPtrFactory<SignInObserver> weak_ptr_factory_; base 178 chrome/browser/printing/print_dialog_cloud.cc scoped_ptr<base::Value> parsed_value(base::JSONReader::Read(json)); base 180 chrome/browser/printing/print_dialog_cloud.cc !parsed_value->IsType(base::Value::TYPE_DICTIONARY))) base 183 chrome/browser/printing/print_dialog_cloud.cc !parsed_value->IsType(base::Value::TYPE_DICTIONARY)) { base 188 chrome/browser/printing/print_dialog_cloud.cc base::DictionaryValue* params = base 189 chrome/browser/printing/print_dialog_cloud.cc static_cast<base::DictionaryValue*>(parsed_value.get()); base 197 chrome/browser/printing/print_dialog_cloud.cc base::string16 GetSwitchValueString16(const CommandLine& command_line, base 206 chrome/browser/printing/print_dialog_cloud.cc return base::ASCIIToUTF16(native_switch_val); base 212 chrome/browser/printing/print_dialog_cloud.cc const base::Value& arg1, base 213 chrome/browser/printing/print_dialog_cloud.cc const base::Value& arg2) { base 221 chrome/browser/printing/print_dialog_cloud.cc base::AutoLock lock(lock_); base 229 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_job_title, base 230 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_ticket, base 232 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data) base 256 chrome/browser/printing/print_dialog_cloud.cc base::Base64Encode( base 257 chrome/browser/printing/print_dialog_cloud.cc base::StringPiece(data_->front_as<char>(), data_->size()), base 264 chrome/browser/printing/print_dialog_cloud.cc base::AutoLock lock(lock_); base 266 chrome/browser/printing/print_dialog_cloud.cc base::StringValue title(print_job_title_); base 267 chrome/browser/printing/print_dialog_cloud.cc base::StringValue ticket(print_ticket_); base 275 chrome/browser/printing/print_dialog_cloud.cc "printApp._printDataUrl", base::StringValue(base64_data), title); base 281 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data, base 282 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_job_title, base 283 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_ticket, base 322 chrome/browser/printing/print_dialog_cloud.cc base::Bind(&CloudPrintFlowHandler::HandleShowDebugger, base 323 chrome/browser/printing/print_dialog_cloud.cc base::Unretained(this))); base 325 chrome/browser/printing/print_dialog_cloud.cc base::Bind(&CloudPrintFlowHandler::HandleSendPrintData, base 326 chrome/browser/printing/print_dialog_cloud.cc base::Unretained(this))); base 328 chrome/browser/printing/print_dialog_cloud.cc base::Bind(&CloudPrintFlowHandler::HandleSetPageParameters, base 329 chrome/browser/printing/print_dialog_cloud.cc base::Unretained(this))); base 379 chrome/browser/printing/print_dialog_cloud.cc void CloudPrintFlowHandler::HandleShowDebugger(const base::ListValue* args) { base 404 chrome/browser/printing/print_dialog_cloud.cc void CloudPrintFlowHandler::HandleSendPrintData(const base::ListValue* args) { base 415 chrome/browser/printing/print_dialog_cloud.cc base::Bind(&CloudPrintDataSender::SendPrintData, print_data_sender_)); base 420 chrome/browser/printing/print_dialog_cloud.cc const base::ListValue* args) { base 488 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data, base 490 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_job_title, base 491 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_ticket, base 560 chrome/browser/printing/print_dialog_cloud.cc base::string16 CloudPrintWebDialogDelegate::GetDialogTitle() const { base 561 chrome/browser/printing/print_dialog_cloud.cc return base::string16(); base 595 chrome/browser/printing/print_dialog_cloud.cc base::MessageLoop::current()->PostTask( base 596 chrome/browser/printing/print_dialog_cloud.cc FROM_HERE, base::Bind(&chrome::DecrementKeepAliveCount)); base 619 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data, base 620 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_job_title, base 621 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_ticket, base 651 chrome/browser/printing/print_dialog_cloud.cc const base::FilePath& path_to_file, base 652 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_job_title, base 653 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_ticket, base 656 chrome/browser/printing/print_dialog_cloud.cc scoped_refptr<base::RefCountedMemory> data; base 658 chrome/browser/printing/print_dialog_cloud.cc if (base::GetFileSize(path_to_file, &file_size) && file_size != 0) { base 665 chrome/browser/printing/print_dialog_cloud.cc if (base::ReadFileToString(path_to_file, &file_data)) { base 666 chrome/browser/printing/print_dialog_cloud.cc data = base::RefCountedString::TakeString(&file_data); base 672 chrome/browser/printing/print_dialog_cloud.cc base::Bind(&print_dialog_cloud::CreatePrintDialogForBytes, base 675 chrome/browser/printing/print_dialog_cloud.cc base::DeleteFile(path_to_file, false); base 698 chrome/browser/printing/print_dialog_cloud.cc const base::FilePath& path_to_file, base 699 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_job_title, base 700 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_ticket, base 706 chrome/browser/printing/print_dialog_cloud.cc base::Bind(&internal_cloud_print_helpers::CreateDialogForFileImpl, base 713 chrome/browser/printing/print_dialog_cloud.cc const base::Closure& callback) { base 729 chrome/browser/printing/print_dialog_cloud.cc const base::RefCountedMemory* data, base 730 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_job_title, base 731 chrome/browser/printing/print_dialog_cloud.cc const base::string16& print_ticket, base 742 chrome/browser/printing/print_dialog_cloud.cc base::FilePath cloud_print_file; base 746 chrome/browser/printing/print_dialog_cloud.cc base::string16 print_job_title; base 747 chrome/browser/printing/print_dialog_cloud.cc base::string16 print_job_print_ticket; base 19 chrome/browser/printing/print_dialog_cloud.h namespace base { base 43 chrome/browser/printing/print_dialog_cloud.h const base::FilePath& path_to_file, base 44 chrome/browser/printing/print_dialog_cloud.h const base::string16& print_job_title, base 45 chrome/browser/printing/print_dialog_cloud.h const base::string16& print_ticket, base 55 chrome/browser/printing/print_dialog_cloud.h const base::RefCountedMemory* data, base 56 chrome/browser/printing/print_dialog_cloud.h const base::string16& print_job_title, base 57 chrome/browser/printing/print_dialog_cloud.h const base::string16& print_ticket, base 62 chrome/browser/printing/print_dialog_cloud.h const base::CommandLine& command_line); base 69 chrome/browser/printing/print_dialog_cloud.h const base::Closure& callback); base 24 chrome/browser/printing/print_dialog_cloud_internal.h namespace base { base 41 chrome/browser/printing/print_dialog_cloud_internal.h const base::Value& arg1, base 42 chrome/browser/printing/print_dialog_cloud_internal.h const base::Value& arg2); base 54 chrome/browser/printing/print_dialog_cloud_internal.h : public base::RefCountedThreadSafe<CloudPrintDataSender> { base 59 chrome/browser/printing/print_dialog_cloud_internal.h const base::string16& print_job_title, base 60 chrome/browser/printing/print_dialog_cloud_internal.h const base::string16& print_ticket, base 62 chrome/browser/printing/print_dialog_cloud_internal.h const base::RefCountedMemory* data); base 73 chrome/browser/printing/print_dialog_cloud_internal.h friend class base::RefCountedThreadSafe<CloudPrintDataSender>; base 76 chrome/browser/printing/print_dialog_cloud_internal.h base::Lock lock_; base 78 chrome/browser/printing/print_dialog_cloud_internal.h base::string16 print_job_title_; base 79 chrome/browser/printing/print_dialog_cloud_internal.h base::string16 print_ticket_; base 81 chrome/browser/printing/print_dialog_cloud_internal.h scoped_refptr<const base::RefCountedMemory> data_; base 98 chrome/browser/printing/print_dialog_cloud_internal.h CloudPrintFlowHandler(const base::RefCountedMemory* data, base 99 chrome/browser/printing/print_dialog_cloud_internal.h const base::string16& print_job_title, base 100 chrome/browser/printing/print_dialog_cloud_internal.h const base::string16& print_ticket, base 113 chrome/browser/printing/print_dialog_cloud_internal.h void HandleShowDebugger(const base::ListValue* args); base 114 chrome/browser/printing/print_dialog_cloud_internal.h void HandleSendPrintData(const base::ListValue* args); base 115 chrome/browser/printing/print_dialog_cloud_internal.h void HandleSetPageParameters(const base::ListValue* args); base 133 chrome/browser/printing/print_dialog_cloud_internal.h scoped_refptr<const base::RefCountedMemory> data_; base 134 chrome/browser/printing/print_dialog_cloud_internal.h base::string16 print_job_title_; base 135 chrome/browser/printing/print_dialog_cloud_internal.h base::string16 print_ticket_; base 150 chrome/browser/printing/print_dialog_cloud_internal.h const base::RefCountedMemory* data, base 152 chrome/browser/printing/print_dialog_cloud_internal.h const base::string16& print_job_title, base 153 chrome/browser/printing/print_dialog_cloud_internal.h const base::string16& print_ticket, base 159 chrome/browser/printing/print_dialog_cloud_internal.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 194 chrome/browser/printing/print_dialog_cloud_internal.h const base::FilePath& path_to_file, base 195 chrome/browser/printing/print_dialog_cloud_internal.h const base::string16& print_job_title, base 196 chrome/browser/printing/print_dialog_cloud_internal.h const base::string16& print_ticket, base 50 chrome/browser/printing/print_dialog_cloud_unittest.cc base::FilePath GetTestDataFileName() { base 51 chrome/browser/printing/print_dialog_cloud_unittest.cc base::FilePath test_data_directory; base 53 chrome/browser/printing/print_dialog_cloud_unittest.cc base::FilePath test_file = test_data_directory.AppendASCII(kPDFTestFile); base 60 chrome/browser/printing/print_dialog_cloud_unittest.cc base::FilePath test_file = GetTestDataFileName(); base 61 chrome/browser/printing/print_dialog_cloud_unittest.cc base::ReadFileToString(test_file, &sTestFileData); base 81 chrome/browser/printing/print_dialog_cloud_unittest.cc public base::SupportsWeakPtr<MockCloudPrintFlowHandler> { base 83 chrome/browser/printing/print_dialog_cloud_unittest.cc MockCloudPrintFlowHandler(const base::string16& title, base 84 chrome/browser/printing/print_dialog_cloud_unittest.cc const base::string16& print_ticket, base 104 chrome/browser/printing/print_dialog_cloud_unittest.cc base::string16()); base 137 chrome/browser/printing/print_dialog_cloud_unittest.cc const base::Value& arg1, base 138 chrome/browser/printing/print_dialog_cloud_unittest.cc const base::Value& arg2)); base 218 chrome/browser/printing/print_dialog_cloud_unittest.cc const base::RefCountedString* data) { base 220 chrome/browser/printing/print_dialog_cloud_unittest.cc base::ASCIIToUTF16(kMockJobTitle), base 221 chrome/browser/printing/print_dialog_cloud_unittest.cc base::ASCIIToUTF16(kMockPrintTicket), base 229 chrome/browser/printing/print_dialog_cloud_unittest.cc base::MessageLoop message_loop_; base 235 chrome/browser/printing/print_dialog_cloud_unittest.cc base::StringValue mock_job_title(kMockJobTitle); base 242 chrome/browser/printing/print_dialog_cloud_unittest.cc CreateSender(base::RefCountedString::TakeString(&data))); base 243 chrome/browser/printing/print_dialog_cloud_unittest.cc base::FilePath test_data_file_name = GetTestDataFileName(); base 246 chrome/browser/printing/print_dialog_cloud_unittest.cc base::Bind(&CloudPrintDataSender::SendPrintData, print_data_sender)); base 247 chrome/browser/printing/print_dialog_cloud_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 254 chrome/browser/printing/print_dialog_cloud_unittest.cc base::FilePath test_data_file_name = GetTestDataFileName(); base 257 chrome/browser/printing/print_dialog_cloud_unittest.cc base::Bind(&CloudPrintDataSender::SendPrintData, print_data_sender)); base 258 chrome/browser/printing/print_dialog_cloud_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 266 chrome/browser/printing/print_dialog_cloud_unittest.cc CreateSender(base::RefCountedString::TakeString(&data))); base 267 chrome/browser/printing/print_dialog_cloud_unittest.cc base::FilePath test_data_file_name = GetTestDataFileName(); base 270 chrome/browser/printing/print_dialog_cloud_unittest.cc base::Bind(&CloudPrintDataSender::SendPrintData, print_data_sender)); base 271 chrome/browser/printing/print_dialog_cloud_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 291 chrome/browser/printing/print_dialog_cloud_unittest.cc base::string16 mock_title; base 292 chrome/browser/printing/print_dialog_cloud_unittest.cc base::string16 mock_print_ticket; base 310 chrome/browser/printing/print_dialog_cloud_unittest.cc base::MessageLoopForUI message_loop_; base 312 chrome/browser/printing/print_dialog_cloud_unittest.cc base::WeakPtr<MockCloudPrintFlowHandler> mock_flow_handler_; base 61 chrome/browser/printing/print_dialog_gtk.cc base::LazyInstance<StickyPrintSettingGtk>::Leaky g_last_used_settings = base 177 chrome/browser/printing/print_dialog_gtk.cc base::UTF16ToUTF8(settings->device_name())); base 268 chrome/browser/printing/print_dialog_gtk.cc const base::string16& document_name) { base 277 chrome/browser/printing/print_dialog_gtk.cc if (!base::CreateTemporaryFile(&path_to_pdf_)) { base 284 chrome/browser/printing/print_dialog_gtk.cc base::DeleteFile(path_to_pdf_, false); base 295 chrome/browser/printing/print_dialog_gtk.cc base::Bind(&PrintDialogGtk::SendDocumentToPrinter, this, base 389 chrome/browser/printing/print_dialog_gtk.cc const base::string16& document_name) { base 404 chrome/browser/printing/print_dialog_gtk.cc base::UTF16ToUTF8(document_name).c_str(), base 424 chrome/browser/printing/print_dialog_gtk.cc base::FileUtilProxy::DeleteFile( base 428 chrome/browser/printing/print_dialog_gtk.cc base::FileUtilProxy::StatusCallback()); base 30 chrome/browser/printing/print_dialog_gtk.h public base::RefCountedThreadSafe< base 45 chrome/browser/printing/print_dialog_gtk.h const base::string16& document_name) OVERRIDE; base 52 chrome/browser/printing/print_dialog_gtk.h friend class base::DeleteHelper<PrintDialogGtk>; base 61 chrome/browser/printing/print_dialog_gtk.h void SendDocumentToPrinter(const base::string16& document_name); base 84 chrome/browser/printing/print_dialog_gtk.h base::FilePath path_to_pdf_; base 32 chrome/browser/printing/print_error_dialog.cc base::Bind(&ShowPrintErrorDialogTask)); base 19 chrome/browser/printing/print_job.cc using base::TimeDelta; base 25 chrome/browser/printing/print_job.cc const base::Closure& callback) { base 34 chrome/browser/printing/print_job.cc : ui_message_loop_(base::MessageLoop::current()), base 44 chrome/browser/printing/print_job.cc DCHECK(base::MessageLoopForUI::IsCurrent() || base 45 chrome/browser/printing/print_job.cc ui_message_loop_->type() == base::MessageLoop::TYPE_DEFAULT); base 56 chrome/browser/printing/print_job.cc DCHECK_EQ(ui_message_loop_, base::MessageLoop::current()); base 84 chrome/browser/printing/print_job.cc DCHECK_EQ(ui_message_loop_, base::MessageLoop::current()); base 106 chrome/browser/printing/print_job.cc base::MessageLoop* PrintJob::message_loop() { base 126 chrome/browser/printing/print_job.cc DCHECK_EQ(ui_message_loop_, base::MessageLoop::current()); base 135 chrome/browser/printing/print_job.cc base::Bind(&HoldRefCallback, make_scoped_refptr(this), base 136 chrome/browser/printing/print_job.cc base::Bind(&PrintJobWorker::StartPrinting, base 137 chrome/browser/printing/print_job.cc base::Unretained(worker_.get()), document_))); base 151 chrome/browser/printing/print_job.cc DCHECK_EQ(ui_message_loop_, base::MessageLoop::current()); base 179 chrome/browser/printing/print_job.cc DCHECK_EQ(ui_message_loop_, base::MessageLoop::current()); base 180 chrome/browser/printing/print_job.cc base::MessageLoop* worker_loop = base 198 chrome/browser/printing/print_job.cc bool PrintJob::FlushJob(base::TimeDelta timeout) { base 202 chrome/browser/printing/print_job.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 203 chrome/browser/printing/print_job.cc base::Bind(&PrintJob::Quit, quit_factory_.GetWeakPtr()), timeout); base 205 chrome/browser/printing/print_job.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 206 chrome/browser/printing/print_job.cc base::MessageLoop::current()); base 207 chrome/browser/printing/print_job.cc base::MessageLoop::current()->Run(); base 241 chrome/browser/printing/print_job.cc base::Bind(&HoldRefCallback, make_scoped_refptr(this), base 242 chrome/browser/printing/print_job.cc base::Bind(&PrintJobWorker::OnDocumentChanged, base 243 chrome/browser/printing/print_job.cc base::Unretained(worker_.get()), document_))); base 271 chrome/browser/printing/print_job.cc base::MessageLoop::current()->PostTask( base 272 chrome/browser/printing/print_job.cc FROM_HERE, base::Bind(&PrintJob::OnDocumentDone, this)); base 299 chrome/browser/printing/print_job.cc DCHECK_EQ(ui_message_loop_, base::MessageLoop::current()); base 318 chrome/browser/printing/print_job.cc base::MessageLoop::current()->PostDelayedTask( base 320 chrome/browser/printing/print_job.cc base::Bind(&PrintJob::ControlledWorkerShutdown, this), base 321 chrome/browser/printing/print_job.cc base::TimeDelta::FromMilliseconds(100)); base 329 chrome/browser/printing/print_job.cc base::WorkerPool::PostTaskAndReply( base 331 chrome/browser/printing/print_job.cc base::Bind(&PrintJobWorker::Stop, base::Unretained(worker_.get())), base 332 chrome/browser/printing/print_job.cc base::Bind(&PrintJob::HoldUntilStopIsCalled, this), base 344 chrome/browser/printing/print_job.cc base::MessageLoop::current()->Quit(); base 37 chrome/browser/printing/print_job.h public base::MessageLoop::DestructionObserver { base 57 chrome/browser/printing/print_job.h virtual base::MessageLoop* message_loop() OVERRIDE; base 81 chrome/browser/printing/print_job.h bool FlushJob(base::TimeDelta timeout); base 121 chrome/browser/printing/print_job.h base::MessageLoop* const ui_message_loop_; base 146 chrome/browser/printing/print_job.h base::WeakPtrFactory<PrintJob> quit_factory_; base 152 chrome/browser/printing/print_job.h class JobEventDetails : public base::RefCountedThreadSafe<JobEventDetails> { base 199 chrome/browser/printing/print_job.h friend class base::RefCountedThreadSafe<JobEventDetails>; base 21 chrome/browser/printing/print_job_manager.cc base::AutoLock lock(lock_); base 26 chrome/browser/printing/print_job_manager.cc base::AutoLock lock(lock_); base 31 chrome/browser/printing/print_job_manager.cc base::AutoLock lock(lock_); base 39 chrome/browser/printing/print_job_manager.cc base::AutoLock lock(lock_); base 54 chrome/browser/printing/print_job_manager.cc base::AutoLock lock(lock_); base 60 chrome/browser/printing/print_job_manager.cc base::AutoLock lock(lock_); base 101 chrome/browser/printing/print_job_manager.cc (*job)->FlushJob(base::TimeDelta::FromMinutes(2)); base 25 chrome/browser/printing/print_job_manager.h class PrintQueriesQueue : public base::RefCountedThreadSafe<PrintQueriesQueue> { base 47 chrome/browser/printing/print_job_manager.h friend class base::RefCountedThreadSafe<PrintQueriesQueue>; base 53 chrome/browser/printing/print_job_manager.h base::Lock lock_; base 19 chrome/browser/printing/print_job_unittest.cc virtual base::string16 RenderSourceName() OVERRIDE { base 20 chrome/browser/printing/print_job_unittest.cc return base::string16(); base 49 chrome/browser/printing/print_job_unittest.cc virtual base::MessageLoop* message_loop() OVERRIDE { base 96 chrome/browser/printing/print_job_unittest.cc base::MessageLoop current; base 104 chrome/browser/printing/print_job_unittest.cc EXPECT_EQ(base::MessageLoop::current(), job->message_loop()); base 122 chrome/browser/printing/print_job_unittest.cc base::MessageLoop current; base 32 chrome/browser/printing/print_job_worker.cc const base::Closure& callback) { base 57 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(owner_->message_loop(), base::MessageLoop::current()); base 67 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(owner_->message_loop(), base::MessageLoop::current()); base 87 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(message_loop(), base::MessageLoop::current()); base 103 chrome/browser/printing/print_job_worker.cc base::Bind(&HoldRefCallback, make_scoped_refptr(owner_), base 104 chrome/browser/printing/print_job_worker.cc base::Bind(&PrintJobWorker::GetSettingsWithUI, base 105 chrome/browser/printing/print_job_worker.cc base::Unretained(this), base 106 chrome/browser/printing/print_job_worker.cc base::Passed(&web_contents_observer), base 112 chrome/browser/printing/print_job_worker.cc base::Bind(&HoldRefCallback, make_scoped_refptr(owner_), base 113 chrome/browser/printing/print_job_worker.cc base::Bind(&PrintJobWorker::UseDefaultSettings, base 114 chrome/browser/printing/print_job_worker.cc base::Unretained(this)))); base 119 chrome/browser/printing/print_job_worker.cc const base::DictionaryValue* const new_settings) { base 120 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(message_loop(), base::MessageLoop::current()); base 124 chrome/browser/printing/print_job_worker.cc base::Bind(&HoldRefCallback, make_scoped_refptr(owner_), base 125 chrome/browser/printing/print_job_worker.cc base::Bind(&PrintJobWorker::UpdatePrintSettings, base 126 chrome/browser/printing/print_job_worker.cc base::Unretained(this), new_settings))); base 130 chrome/browser/printing/print_job_worker.cc const base::DictionaryValue* const new_settings) { base 133 chrome/browser/printing/print_job_worker.cc const base::ListValue* page_range_array; base 136 chrome/browser/printing/print_job_worker.cc const base::DictionaryValue* dict; base 172 chrome/browser/printing/print_job_worker.cc base::Bind(&PrintJobWorkerOwner::GetSettingsDone, base 190 chrome/browser/printing/print_job_worker.cc base::Bind(&PrintJobWorker::GetSettingsWithUIDone, base 191 chrome/browser/printing/print_job_worker.cc base::Unretained(this))); base 197 chrome/browser/printing/print_job_worker.cc base::Bind(&HoldRefCallback, make_scoped_refptr(owner_), base 198 chrome/browser/printing/print_job_worker.cc base::Bind(&PrintJobWorker::GetSettingsDone, base 199 chrome/browser/printing/print_job_worker.cc base::Unretained(this), result))); base 208 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(message_loop(), base::MessageLoop::current()); base 218 chrome/browser/printing/print_job_worker.cc base::string16 document_name = base 241 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(message_loop(), base::MessageLoop::current()); base 255 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(message_loop(), base::MessageLoop::current()); base 278 chrome/browser/printing/print_job_worker.cc base::MessageLoop::current()->PostDelayedTask( base 280 chrome/browser/printing/print_job_worker.cc base::Bind(&PrintJobWorker::OnNewPage, weak_factory_.GetWeakPtr()), base 281 chrome/browser/printing/print_job_worker.cc base::TimeDelta::FromMilliseconds(500)); base 303 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(message_loop(), base::MessageLoop::current()); base 313 chrome/browser/printing/print_job_worker.cc FROM_HERE, base::Bind(NotificationCallback, make_scoped_refptr(owner_), base 322 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(message_loop(), base::MessageLoop::current()); base 327 chrome/browser/printing/print_job_worker.cc FROM_HERE, base::Bind(NotificationCallback, make_scoped_refptr(owner_), base 365 chrome/browser/printing/print_job_worker.cc base::Bind(NotificationCallback, make_scoped_refptr(owner_), base 371 chrome/browser/printing/print_job_worker.cc DCHECK_EQ(message_loop(), base::MessageLoop::current()); base 377 chrome/browser/printing/print_job_worker.cc FROM_HERE, base::Bind(NotificationCallback, make_scoped_refptr(owner_), base 19 chrome/browser/printing/print_job_worker.h namespace base { base 35 chrome/browser/printing/print_job_worker.h class PrintJobWorker : public base::Thread { base 57 chrome/browser/printing/print_job_worker.h void SetSettings(const base::DictionaryValue* const new_settings); base 111 chrome/browser/printing/print_job_worker.h void UpdatePrintSettings(const base::DictionaryValue* const new_settings); base 138 chrome/browser/printing/print_job_worker.h base::WeakPtrFactory<PrintJobWorker> weak_factory_; base 11 chrome/browser/printing/print_job_worker_owner.h namespace base { base 22 chrome/browser/printing/print_job_worker_owner.h : public base::RefCountedThreadSafe<PrintJobWorkerOwner> { base 34 chrome/browser/printing/print_job_worker_owner.h virtual base::MessageLoop* message_loop() = 0; base 43 chrome/browser/printing/print_job_worker_owner.h friend class base::RefCountedThreadSafe<PrintJobWorkerOwner>; base 27 chrome/browser/printing/print_preview_data_service.cc class PrintPreviewDataStore : public base::RefCounted<PrintPreviewDataStore> { base 33 chrome/browser/printing/print_preview_data_service.cc scoped_refptr<base::RefCountedBytes>* data) { base 43 chrome/browser/printing/print_preview_data_service.cc void SetPreviewDataForIndex(int index, const base::RefCountedBytes* data) { base 47 chrome/browser/printing/print_preview_data_service.cc page_data_map_[index] = const_cast<base::RefCountedBytes*>(data); base 66 chrome/browser/printing/print_preview_data_service.cc typedef std::map<int, scoped_refptr<base::RefCountedBytes> > base 95 chrome/browser/printing/print_preview_data_service.cc scoped_refptr<base::RefCountedBytes>* data_bytes) { base 105 chrome/browser/printing/print_preview_data_service.cc const base::RefCountedBytes* data_bytes) { base 17 chrome/browser/printing/print_preview_data_service.h namespace base { base 32 chrome/browser/printing/print_preview_data_service.h scoped_refptr<base::RefCountedBytes>* data); base 40 chrome/browser/printing/print_preview_data_service.h const base::RefCountedBytes* data); base 59 chrome/browser/printing/print_preview_dialog_controller.cc base::FilePath pdf_plugin_path; base 82 chrome/browser/printing/print_preview_dialog_controller.cc virtual base::string16 GetDialogTitle() const OVERRIDE; base 112 chrome/browser/printing/print_preview_dialog_controller.cc base::string16 PrintPreviewDialogDelegate::GetDialogTitle() const { base 114 chrome/browser/printing/print_preview_dialog_controller.cc return base::string16(); base 231 chrome/browser/printing/print_preview_dialog_controller.cc base::ProcessHandle handle, base 232 chrome/browser/printing/print_preview_dialog_controller.cc base::TerminationStatus status, base 292 chrome/browser/printing/print_preview_dialog_controller.cc base::ProcessHandle handle, base 293 chrome/browser/printing/print_preview_dialog_controller.cc base::TerminationStatus status, base 365 chrome/browser/printing/print_preview_dialog_controller.cc base::Callback<void(content::WebContents*)> callback) { base 485 chrome/browser/printing/print_preview_dialog_controller.cc base::AutoReset<bool> auto_reset(&is_creating_print_preview_dialog_, true); base 32 chrome/browser/printing/print_preview_dialog_controller.h : public base::RefCounted<PrintPreviewDialogController> { base 59 chrome/browser/printing/print_preview_dialog_controller.h base::Callback<void(content::WebContents*)> callback); base 75 chrome/browser/printing/print_preview_dialog_controller.h friend class base::RefCounted<PrintPreviewDialogController>; base 32 chrome/browser/printing/print_preview_dialog_controller_browsertest.cc void set_quit_closure(const base::Closure& quit_closure) { base 49 chrome/browser/printing/print_preview_dialog_controller_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, quit_closure_); base 52 chrome/browser/printing/print_preview_dialog_controller_browsertest.cc base::Closure quit_closure_; base 113 chrome/browser/printing/print_preview_dialog_controller_browsertest.cc base::RunLoop run_loop; base 43 chrome/browser/printing/print_preview_message_handler.cc base::Bind(&printing::PrinterQuery::StopWorker, base 48 chrome/browser/printing/print_preview_message_handler.cc base::RefCountedBytes* GetDataFromHandle(base::SharedMemoryHandle handle, base 50 chrome/browser/printing/print_preview_message_handler.cc scoped_ptr<base::SharedMemory> shared_buf( base 51 chrome/browser/printing/print_preview_message_handler.cc new base::SharedMemory(handle, true)); base 59 chrome/browser/printing/print_preview_message_handler.cc return base::RefCountedBytes::TakeVector(&data); base 127 chrome/browser/printing/print_preview_message_handler.cc base::RefCountedBytes* data_bytes = base 152 chrome/browser/printing/print_preview_message_handler.cc base::RefCountedBytes* data_bytes = base 30 chrome/browser/printing/print_view_manager.cc typedef std::map<content::RenderProcessHost*, base::Closure> base 32 chrome/browser/printing/print_view_manager.cc static base::LazyInstance<ScriptedPrintPreviewClosureMap> base 127 chrome/browser/printing/print_view_manager.cc void PrintViewManager::RenderProcessGone(base::TerminationStatus status) { base 165 chrome/browser/printing/print_view_manager.cc base::Closure callback = base 166 chrome/browser/printing/print_view_manager.cc base::Bind(&PrintViewManager::OnScriptedPrintPreviewReply, base 167 chrome/browser/printing/print_view_manager.cc base::Unretained(this), base 63 chrome/browser/printing/print_view_manager.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 43 chrome/browser/printing/print_view_manager_base.cc using base::TimeDelta; base 69 chrome/browser/printing/print_view_manager_base.cc base::Bind(&PrintViewManagerBase::UpdateScriptedPrintingBlocked, base 70 chrome/browser/printing/print_view_manager_base.cc base::Unretained(this))); base 93 chrome/browser/printing/print_view_manager_base.cc void PrintViewManagerBase::RenderProcessGone(base::TerminationStatus status) { base 108 chrome/browser/printing/print_view_manager_base.cc base::string16 PrintViewManagerBase::RenderSourceName() { base 109 chrome/browser/printing/print_view_manager_base.cc base::string16 name(web_contents()->GetTitle()); base 146 chrome/browser/printing/print_view_manager_base.cc base::SharedMemory shared_buf(params.metafile_data_handle, true); base 339 chrome/browser/printing/print_view_manager_base.cc base::MessageLoop::current()->Quit(); base 444 chrome/browser/printing/print_view_manager_base.cc base::OneShotTimer<base::MessageLoop> quit_timer; base 447 chrome/browser/printing/print_view_manager_base.cc base::MessageLoop::current(), &base::MessageLoop::Quit); base 453 chrome/browser/printing/print_view_manager_base.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 454 chrome/browser/printing/print_view_manager_base.cc base::MessageLoop::current()); base 455 chrome/browser/printing/print_view_manager_base.cc base::MessageLoop::current()->Run(); base 527 chrome/browser/printing/print_view_manager_base.cc base::Bind(&PrinterQuery::StopWorker, printer_query.get())); base 46 chrome/browser/printing/print_view_manager_base.h virtual base::string16 RenderSourceName() OVERRIDE; base 55 chrome/browser/printing/print_view_manager_base.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 25 chrome/browser/printing/print_view_manager_basic.cc void PrintViewManagerBasic::RenderProcessGone(base::TerminationStatus status) { base 27 chrome/browser/printing/print_view_manager_basic.cc file_descriptor_ = base::FileDescriptor(-1, false); base 33 chrome/browser/printing/print_view_manager_basic.cc file_descriptor_ = base::FileDescriptor(-1, false); base 26 chrome/browser/printing/print_view_manager_basic.h void set_file_descriptor(const base::FileDescriptor& file_descriptor) { base 31 chrome/browser/printing/print_view_manager_basic.h base::FileDescriptor file_descriptor() const { return file_descriptor_; } base 35 chrome/browser/printing/print_view_manager_basic.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 49 chrome/browser/printing/print_view_manager_basic.h base::FileDescriptor file_descriptor_; base 16 chrome/browser/printing/printer_manager_dialog_linux.cc using base::Environment; base 33 chrome/browser/printing/printer_manager_dialog_linux.cc switch (base::nix::GetDesktopEnvironment(env.get())) { base 34 chrome/browser/printing/printer_manager_dialog_linux.cc case base::nix::DESKTOP_ENVIRONMENT_GNOME: base 35 chrome/browser/printing/printer_manager_dialog_linux.cc case base::nix::DESKTOP_ENVIRONMENT_KDE3: base 36 chrome/browser/printing/printer_manager_dialog_linux.cc case base::nix::DESKTOP_ENVIRONMENT_KDE4: base 37 chrome/browser/printing/printer_manager_dialog_linux.cc case base::nix::DESKTOP_ENVIRONMENT_UNITY: base 40 chrome/browser/printing/printer_manager_dialog_linux.cc case base::nix::DESKTOP_ENVIRONMENT_XFCE: base 41 chrome/browser/printing/printer_manager_dialog_linux.cc case base::nix::DESKTOP_ENVIRONMENT_OTHER: base 52 chrome/browser/printing/printer_manager_dialog_linux.cc base::ProcessHandle handle; base 53 chrome/browser/printing/printer_manager_dialog_linux.cc if (!base::LaunchProcess(argv, base::LaunchOptions(), &handle)) { base 57 chrome/browser/printing/printer_manager_dialog_linux.cc base::EnsureProcessGetsReaped(handle); base 66 chrome/browser/printing/printer_manager_dialog_linux.cc base::Bind(&DetectAndOpenPrinterConfigDialog)); base 23 chrome/browser/printing/printer_manager_dialog_win.cc base::FilePath sys_dir; base 24 chrome/browser/printing/printer_manager_dialog_win.cc PathService::Get(base::DIR_SYSTEM, &sys_dir); base 25 chrome/browser/printing/printer_manager_dialog_win.cc base::FilePath rundll32 = sys_dir.AppendASCII("rundll32.exe"); base 26 chrome/browser/printing/printer_manager_dialog_win.cc base::FilePath shell32dll = sys_dir.AppendASCII("shell32.dll"); base 38 chrome/browser/printing/printer_manager_dialog_win.cc base::Bind(OpenPrintersDialogCallback)); base 18 chrome/browser/printing/printer_query.cc : io_message_loop_(base::MessageLoop::current()), base 23 chrome/browser/printing/printer_query.cc DCHECK(base::MessageLoopForIO::IsCurrent()); base 60 chrome/browser/printing/printer_query.cc base::MessageLoop* PrinterQuery::message_loop() { base 78 chrome/browser/printing/printer_query.cc const base::Closure& callback) { base 79 chrome/browser/printing/printer_query.cc DCHECK_EQ(io_message_loop_, base::MessageLoop::current()); base 88 chrome/browser/printing/printer_query.cc base::Bind(&PrintJobWorker::GetSettings, base 89 chrome/browser/printing/printer_query.cc base::Unretained(worker_.get()), base 91 chrome/browser/printing/printer_query.cc base::Passed(&web_contents_observer), base 97 chrome/browser/printing/printer_query.cc void PrinterQuery::SetSettings(const base::DictionaryValue& new_settings, base 98 chrome/browser/printing/printer_query.cc const base::Closure& callback) { base 103 chrome/browser/printing/printer_query.cc base::Bind(&PrintJobWorker::SetSettings, base 104 chrome/browser/printing/printer_query.cc base::Unretained(worker_.get()), base 113 chrome/browser/printing/printer_query.cc void PrinterQuery::StartWorker(const base::Closure& callback) { base 129 chrome/browser/printing/printer_query.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 16 chrome/browser/printing/printer_query.h namespace base { base 41 chrome/browser/printing/printer_query.h virtual base::MessageLoop* message_loop() OVERRIDE; base 55 chrome/browser/printing/printer_query.h const base::Closure& callback); base 58 chrome/browser/printing/printer_query.h void SetSettings(const base::DictionaryValue& new_settings, base 59 chrome/browser/printing/printer_query.h const base::Closure& callback); base 79 chrome/browser/printing/printer_query.h void StartWorker(const base::Closure& callback); base 83 chrome/browser/printing/printer_query.h base::MessageLoop* const io_message_loop_; base 103 chrome/browser/printing/printer_query.h base::Closure callback_; base 43 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath browser_directory; base 56 chrome/browser/printing/printing_layout_browsertest.cc base::DeleteFile(emf_path_, true); base 82 chrome/browser/printing/printing_layout_browsertest.cc base::MessageLoop::current()->PostTask( base 83 chrome/browser/printing/printing_layout_browsertest.cc FROM_HERE, base::MessageLoop::QuitClosure()); base 90 chrome/browser/printing/printing_layout_browsertest.cc base::MessageLoop::current()->PostTask( base 91 chrome/browser/printing/printing_layout_browsertest.cc FROM_HERE, base::MessageLoop::QuitClosure()); base 116 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath test_result(ScanFiles(verification_name)); base 122 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath base_path(ui_test_utils::GetTestFilePath( base 123 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath().AppendASCII("printing"), base::FilePath())); base 124 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath emf(base_path.Append(verification_name + L".emf")); base 125 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath png(base_path.Append(verification_name + L".png")); base 127 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath cleartype( base 130 chrome/browser/printing/printing_layout_browsertest.cc if (base::PathExists(cleartype) && IsClearTypeEnabled()) base 135 chrome/browser/printing/printing_layout_browsertest.cc base::CopyFile(test_result, emf); base 147 chrome/browser/printing/printing_layout_browsertest.cc EXPECT_EQ(0., diff_emf) << base::WideToUTF8(verification_name) << base 152 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath failed( base 154 chrome/browser/printing/printing_layout_browsertest.cc base::CopyFile(test_result, failed); base 160 chrome/browser/printing/printing_layout_browsertest.cc EXPECT_EQ(0., diff_png) << base::WideToUTF8(verification_name) << base 165 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath rendering( base 175 chrome/browser/printing/printing_layout_browsertest.cc EXPECT_TRUE(base::DieFileDie(emf_path_, true)); base 176 chrome/browser/printing/printing_layout_browsertest.cc EXPECT_TRUE(base::CreateDirectory(emf_path_)); base 201 chrome/browser/printing/printing_layout_browsertest.cc base::FileEnumerator enumerator(emf_path_, false, base 202 chrome/browser/printing/printing_layout_browsertest.cc base::FileEnumerator::FILES); base 207 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath file; base 210 chrome/browser/printing/printing_layout_browsertest.cc if (base::strcasecmp(base::WideToUTF8(ext).c_str(), ".emf") == 0) { base 218 chrome/browser/printing/printing_layout_browsertest.cc if (base::strcasecmp(base::WideToUTF8(ext).c_str(), ".prn") == 0) { base 224 chrome/browser/printing/printing_layout_browsertest.cc base::DeleteFile(file, false); base 231 chrome/browser/printing/printing_layout_browsertest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 242 chrome/browser/printing/printing_layout_browsertest.cc base::FilePath emf_path_; base 296 chrome/browser/printing/printing_layout_browsertest.cc class DismissTheWindow : public base::DelegateSimpleThread::Delegate { base 299 chrome/browser/printing/printing_layout_browsertest.cc : owner_process_(base::Process::Current().pid()) { base 314 chrome/browser/printing/printing_layout_browsertest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 320 chrome/browser/printing/printing_layout_browsertest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 338 chrome/browser/printing/printing_layout_browsertest.cc base::DelegateSimpleThread close_printdlg_thread(&dismisser, base 381 chrome/browser/printing/printing_layout_browsertest.cc base::DelegateSimpleThread close_printdlg_thread1(&dismisser, base 389 chrome/browser/printing/printing_layout_browsertest.cc base::DelegateSimpleThread close_printdlg_thread2(&dismisser, base 397 chrome/browser/printing/printing_layout_browsertest.cc base::DelegateSimpleThread close_printdlg_thread3(&dismisser, base 405 chrome/browser/printing/printing_layout_browsertest.cc base::DelegateSimpleThread close_printdlg_thread4(&dismisser, base 428 chrome/browser/printing/printing_layout_browsertest.cc base::DelegateSimpleThread close_printdlg_thread(&dismisser, base 456 chrome/browser/printing/printing_layout_browsertest.cc base::DelegateSimpleThread close_printdlg_thread(&dismisser, base 47 chrome/browser/printing/printing_message_filter.cc typedef std::map<int, base::FilePath> SequenceToPathMap; base 55 chrome/browser/printing/printing_message_filter.cc static base::LazyInstance<PrintingSequencePathMap> base 148 chrome/browser/printing/printing_message_filter.cc base::SharedMemoryHandle renderer_handle, base 149 chrome/browser/printing/printing_message_filter.cc base::SharedMemoryHandle* browser_handle) { base 152 chrome/browser/printing/printing_message_filter.cc base::SharedMemory shared_buf(renderer_handle, true, PeerHandle()); base 153 chrome/browser/printing/printing_message_filter.cc shared_buf.GiveToProcess(base::GetCurrentProcessHandle(), browser_handle); base 160 chrome/browser/printing/printing_message_filter.cc base::FileDescriptor* temp_file_fd, base 171 chrome/browser/printing/printing_message_filter.cc base::FilePath path; base 172 chrome/browser/printing/printing_message_filter.cc if (base::CreateTemporaryFile(&path)) { base 195 chrome/browser/printing/printing_message_filter.cc const base::FileDescriptor& file_descriptor = base 215 chrome/browser/printing/printing_message_filter.cc base::Bind(&PrintingMessageFilter::CreatePrintDialogForFile, base 227 chrome/browser/printing/printing_message_filter.cc const base::FileDescriptor& file_descriptor = base 231 chrome/browser/printing/printing_message_filter.cc print_view_manager->set_file_descriptor(base::FileDescriptor(-1, false)); base 239 chrome/browser/printing/printing_message_filter.cc const base::FilePath& path) { base 248 chrome/browser/printing/printing_message_filter.cc base::string16(), base 271 chrome/browser/printing/printing_message_filter.cc const base::Closure& callback, base 280 chrome/browser/printing/printing_message_filter.cc base::Bind(&printing::PrinterQuery::GetSettings, printer_query, base 281 chrome/browser/printing/printing_message_filter.cc params.ask_user_for_settings, base::Passed(&wc_observer), base 287 chrome/browser/printing/printing_message_filter.cc base::Bind(&PrintingMessageFilter::OnGetPrintSettingsFailed, this, base 293 chrome/browser/printing/printing_message_filter.cc const base::Closure& callback, base 327 chrome/browser/printing/printing_message_filter.cc base::Bind(&PrintingMessageFilter::GetPrintSettingsForRenderView, this, base 329 chrome/browser/printing/printing_message_filter.cc base::Bind(&PrintingMessageFilter::OnGetDefaultPrintSettingsReply, base 373 chrome/browser/printing/printing_message_filter.cc base::Bind(&PrintingMessageFilter::GetPrintSettingsForRenderView, this, base 375 chrome/browser/printing/printing_message_filter.cc base::Bind(&PrintingMessageFilter::OnScriptedPrintReply, this, base 403 chrome/browser/printing/printing_message_filter.cc const base::string16& device_name = printer_query->settings().device_name(); base 404 chrome/browser/printing/printing_message_filter.cc if (base::StringToInt(device_name, &file_descriptor)) { base 407 chrome/browser/printing/printing_message_filter.cc base::Bind(&PrintingMessageFilter::UpdateFileDescriptor, this, base 425 chrome/browser/printing/printing_message_filter.cc print_view_manager->set_file_descriptor(base::FileDescriptor(fd, false)); base 430 chrome/browser/printing/printing_message_filter.cc int document_cookie, const base::DictionaryValue& job_settings, base 443 chrome/browser/printing/printing_message_filter.cc base::Bind(&PrintingMessageFilter::OnUpdatePrintSettingsReply, this, base 21 chrome/browser/printing/printing_message_filter.h namespace base { base 54 chrome/browser/printing/printing_message_filter.h void OnDuplicateSection(base::SharedMemoryHandle renderer_handle, base 55 chrome/browser/printing/printing_message_filter.h base::SharedMemoryHandle* browser_handle); base 62 chrome/browser/printing/printing_message_filter.h base::FileDescriptor* temp_file_fd, base 68 chrome/browser/printing/printing_message_filter.h void CreatePrintDialogForFile(int render_view_id, const base::FilePath& path); base 92 chrome/browser/printing/printing_message_filter.h const base::Closure& callback, base 96 chrome/browser/printing/printing_message_filter.h const base::Closure& callback, base 121 chrome/browser/printing/printing_message_filter.h const base::DictionaryValue& job_settings, base 39 chrome/browser/process_info_snapshot.h bool Sample(std::vector<base::ProcessId> pid_list); base 49 chrome/browser/process_info_snapshot.h base::ProcessId pid; base 50 chrome/browser/process_info_snapshot.h base::ProcessId ppid; base 84 chrome/browser/process_info_snapshot.h base::CommittedKBytes* usage) const; base 100 chrome/browser/process_info_snapshot.h base::WorkingSetKBytes* ws_usage) const; base 129 chrome/browser/process_info_snapshot_mac.cc const std::vector<base::ProcessId>& pid_list, base 131 chrome/browser/process_info_snapshot_mac.cc const base::FilePath kProgram("/bin/ps"); base 138 chrome/browser/process_info_snapshot_mac.cc for (std::vector<base::ProcessId>::const_iterator it = pid_list.begin(); base 141 chrome/browser/process_info_snapshot_mac.cc command_line.AppendArg(base::Int64ToString(static_cast<int64>(*it))); base 146 chrome/browser/process_info_snapshot_mac.cc if (!base::GetAppOutputRestricted(command_line, &output, 1024 * 1024)) { base 191 chrome/browser/process_info_snapshot_mac.cc const base::FilePath kProgram("/usr/bin/top"); base 210 chrome/browser/process_info_snapshot_mac.cc if (!base::GetAppOutputRestricted(command_line, &output, 1024 * 1024)) { base 271 chrome/browser/process_info_snapshot_mac.cc bool ProcessInfoSnapshot::Sample(std::vector<base::ProcessId> pid_list) { base 284 chrome/browser/process_info_snapshot_mac.cc for (std::vector<base::ProcessId>::iterator it = pid_list.begin(); base 303 chrome/browser/process_info_snapshot_mac.cc for (std::vector<base::ProcessId>::iterator it = pid_list.begin(); base 352 chrome/browser/process_info_snapshot_mac.cc base::CommittedKBytes* usage) const { base 376 chrome/browser/process_info_snapshot_mac.cc base::WorkingSetKBytes* ws_usage) const { base 27 chrome/browser/process_info_snapshot_mac_unittest.cc std::vector<base::ProcessId> pid_list; base 43 chrome/browser/process_info_snapshot_mac_unittest.cc base::CommittedKBytes usage; base 45 chrome/browser/process_info_snapshot_mac_unittest.cc base::WorkingSetKBytes ws_usage; base 61 chrome/browser/process_info_snapshot_mac_unittest.cc base::ProcessId pid = static_cast<base::ProcessId>(getpid()); base 62 chrome/browser/process_info_snapshot_mac_unittest.cc base::ProcessId ppid = static_cast<base::ProcessId>(getppid()); base 67 chrome/browser/process_info_snapshot_mac_unittest.cc std::vector<base::ProcessId> pid_list; base 104 chrome/browser/process_info_snapshot_mac_unittest.cc base::FileHandleMappingVector fds_to_remap; base 115 chrome/browser/process_info_snapshot_mac_unittest.cc base::ProcessHandle process_handle; base 116 chrome/browser/process_info_snapshot_mac_unittest.cc base::LaunchOptions options; base 118 chrome/browser/process_info_snapshot_mac_unittest.cc ASSERT_TRUE(base::LaunchProcess(argv, options, &process_handle)); base 126 chrome/browser/process_info_snapshot_mac_unittest.cc std::vector<base::ProcessId> pid_list; base 138 chrome/browser/process_info_snapshot_mac_unittest.cc ASSERT_TRUE(base::KillProcess(process_handle, 0, true)); base 35 chrome/browser/process_singleton.h namespace base { base 50 chrome/browser/process_singleton.h class ProcessSingleton : public base::NonThreadSafe { base 64 chrome/browser/process_singleton.h typedef base::Callback<bool( base 65 chrome/browser/process_singleton.h const base::CommandLine& command_line, base 66 chrome/browser/process_singleton.h const base::FilePath& current_directory)> NotificationCallback; base 68 chrome/browser/process_singleton.h ProcessSingleton(const base::FilePath& user_data_dir, base 107 chrome/browser/process_singleton.h const base::CommandLine& command_line, base 111 chrome/browser/process_singleton.h const base::CommandLine& command_line, base 113 chrome/browser/process_singleton.h void OverrideCurrentPidForTesting(base::ProcessId pid); base 115 chrome/browser/process_singleton.h const base::Callback<void(int)>& callback); base 128 chrome/browser/process_singleton.h bool EscapeVirtualization(const base::FilePath& user_data_dir); base 131 chrome/browser/process_singleton.h base::win::MessageWindow window_; // The message-only window. base 134 chrome/browser/process_singleton.h base::FilePath user_data_dir_; base 152 chrome/browser/process_singleton.h base::ProcessId current_pid_; base 156 chrome/browser/process_singleton.h base::Callback<void(int)> kill_callback_; base 159 chrome/browser/process_singleton.h base::FilePath socket_path_; base 162 chrome/browser/process_singleton.h base::FilePath lock_path_; base 165 chrome/browser/process_singleton.h base::FilePath cookie_path_; base 168 chrome/browser/process_singleton.h base::ScopedTempDir socket_dir_; base 176 chrome/browser/process_singleton.h base::FilePath lock_path_; base 37 chrome/browser/process_singleton_browsertest.cc class ChromeStarter : public base::RefCountedThreadSafe<ChromeStarter> { base 39 chrome/browser/process_singleton_browsertest.cc ChromeStarter(base::TimeDelta timeout, const base::FilePath& user_data_dir) base 42 chrome/browser/process_singleton_browsertest.cc process_handle_(base::kNullProcessHandle), base 53 chrome/browser/process_singleton_browsertest.cc if (process_handle_ != base::kNullProcessHandle) base 54 chrome/browser/process_singleton_browsertest.cc base::CloseProcessHandle(process_handle_); base 55 chrome/browser/process_singleton_browsertest.cc process_handle_ = base::kNullProcessHandle; base 59 chrome/browser/process_singleton_browsertest.cc void StartChrome(base::WaitableEvent* start_event, bool first_run) { base 62 chrome/browser/process_singleton_browsertest.cc base::FilePath program; base 63 chrome/browser/process_singleton_browsertest.cc ASSERT_TRUE(PathService::Get(base::FILE_EXE, &program)); base 92 chrome/browser/process_singleton_browsertest.cc ASSERT_NE(static_cast<base::WaitableEvent*>(NULL), start_event); base 98 chrome/browser/process_singleton_browsertest.cc base::LaunchProcess(command_line, base::LaunchOptions(), &process_handle_); base 99 chrome/browser/process_singleton_browsertest.cc ASSERT_NE(base::kNullProcessHandle, process_handle_); base 104 chrome/browser/process_singleton_browsertest.cc process_terminated_ = base::WaitForSingleProcess(process_handle_, base 111 chrome/browser/process_singleton_browsertest.cc base::WaitableEvent ready_event_; base 112 chrome/browser/process_singleton_browsertest.cc base::WaitableEvent done_event_; base 113 chrome/browser/process_singleton_browsertest.cc base::ProcessHandle process_handle_; base 120 chrome/browser/process_singleton_browsertest.cc if (process_handle_ != base::kNullProcessHandle) base 121 chrome/browser/process_singleton_browsertest.cc base::CloseProcessHandle(process_handle_); base 124 chrome/browser/process_singleton_browsertest.cc base::TimeDelta timeout_; base 125 chrome/browser/process_singleton_browsertest.cc base::FilePath user_data_dir_; base 145 chrome/browser/process_singleton_browsertest.cc chrome_starter_threads_[i].reset(new base::Thread("ChromeStarter")); base 166 chrome/browser/process_singleton_browsertest.cc void KillProcessTree(base::ProcessHandle process_handle) { base 167 chrome/browser/process_singleton_browsertest.cc class ProcessTreeFilter : public base::ProcessFilter { base 169 chrome/browser/process_singleton_browsertest.cc explicit ProcessTreeFilter(base::ProcessId parent_pid) { base 172 chrome/browser/process_singleton_browsertest.cc virtual bool Includes(const base::ProcessEntry & entry) const OVERRIDE { base 181 chrome/browser/process_singleton_browsertest.cc mutable std::set<base::ProcessId> ancestor_pids_; base 182 chrome/browser/process_singleton_browsertest.cc } process_tree_filter(base::GetProcId(process_handle)); base 186 chrome/browser/process_singleton_browsertest.cc EXPECT_TRUE(base::KillProcess(process_handle, kExitCode, true /* wait */)); base 192 chrome/browser/process_singleton_browsertest.cc base::FilePath program; base 193 chrome/browser/process_singleton_browsertest.cc ASSERT_TRUE(PathService::Get(base::FILE_EXE, &program)); base 194 chrome/browser/process_singleton_browsertest.cc base::FilePath::StringType exe_name = program.BaseName().value(); base 195 chrome/browser/process_singleton_browsertest.cc while (base::GetProcessCount(exe_name, &process_tree_filter) > 0 && base 197 chrome/browser/process_singleton_browsertest.cc base::KillProcesses(exe_name, kExitCode, &process_tree_filter); base 210 chrome/browser/process_singleton_browsertest.cc scoped_ptr<base::Thread> chrome_starter_threads_[kNbThreads]; base 214 chrome/browser/process_singleton_browsertest.cc base::WaitableEvent threads_waker_; base 218 chrome/browser/process_singleton_browsertest.cc base::ScopedTempDir temp_profile_dir_; base 257 chrome/browser/process_singleton_browsertest.cc ASSERT_NE(static_cast<base::MessageLoop*>(NULL), base 261 chrome/browser/process_singleton_browsertest.cc FROM_HERE, base::Bind(&ChromeStarter::StartChrome, base 286 chrome/browser/process_singleton_browsertest.cc base::WaitableEvent* starters_done_events[kNbThreads]; base 295 chrome/browser/process_singleton_browsertest.cc size_t done_index = base::WaitableEvent::WaitMany( base 309 chrome/browser/process_singleton_browsertest.cc base::kNullProcessHandle) { base 321 chrome/browser/process_singleton_browsertest.cc base::kNullProcessHandle) { base 212 chrome/browser/process_singleton_linux.cc base::strlcpy(addr->sun_path, path.c_str(), arraysize(addr->sun_path)); base 235 chrome/browser/process_singleton_linux.cc base::FilePath ReadLink(const base::FilePath& path) { base 236 chrome/browser/process_singleton_linux.cc base::FilePath target; base 237 chrome/browser/process_singleton_linux.cc if (!base::ReadSymbolicLink(path, &target)) { base 246 chrome/browser/process_singleton_linux.cc bool UnlinkPath(const base::FilePath& path) { base 255 chrome/browser/process_singleton_linux.cc bool SymlinkPath(const base::FilePath& target, const base::FilePath& path) { base 256 chrome/browser/process_singleton_linux.cc if (!base::CreateSymbolicLink(target, path)) { base 273 chrome/browser/process_singleton_linux.cc bool ParseLockPath(const base::FilePath& path, base 293 chrome/browser/process_singleton_linux.cc if (!base::StringToInt(pid_str, pid)) base 300 chrome/browser/process_singleton_linux.cc bool DisplayProfileInUseError(const base::FilePath& lock_path, base 303 chrome/browser/process_singleton_linux.cc base::string16 error = l10n_util::GetStringFUTF16( base 305 chrome/browser/process_singleton_linux.cc base::IntToString16(pid), base 306 chrome/browser/process_singleton_linux.cc base::ASCIIToUTF16(hostname)); base 307 chrome/browser/process_singleton_linux.cc base::string16 relaunch_button_text = l10n_util::GetStringUTF16( base 309 chrome/browser/process_singleton_linux.cc LOG(ERROR) << base::SysWideToNativeMB(base::UTF16ToWide(error)).c_str(); base 316 chrome/browser/process_singleton_linux.cc base::FilePath other_chrome_path(base::GetProcessExecutablePath(pid)); base 319 chrome/browser/process_singleton_linux.cc base::FilePath(chrome::kBrowserProcessExecutableName)); base 343 chrome/browser/process_singleton_linux.cc return base::Uint64ToString(base::RandUint64()); base 346 chrome/browser/process_singleton_linux.cc bool CheckCookie(const base::FilePath& path, const base::FilePath& cookie) { base 351 chrome/browser/process_singleton_linux.cc const base::FilePath& socket_path, base 352 chrome/browser/process_singleton_linux.cc const base::FilePath& cookie_path) { base 353 chrome/browser/process_singleton_linux.cc base::FilePath socket_target; base 354 chrome/browser/process_singleton_linux.cc if (base::ReadSymbolicLink(socket_path, &socket_target)) { base 356 chrome/browser/process_singleton_linux.cc base::FilePath cookie = ReadLink(cookie_path); base 359 chrome/browser/process_singleton_linux.cc base::FilePath remote_cookie = socket_target.DirName(). base 407 chrome/browser/process_singleton_linux.cc : public base::MessageLoopForIO::Watcher, base 408 chrome/browser/process_singleton_linux.cc public base::MessageLoop::DestructionObserver, base 409 chrome/browser/process_singleton_linux.cc public base::RefCountedThreadSafe<ProcessSingleton::LinuxWatcher, base 413 chrome/browser/process_singleton_linux.cc class SocketReader : public base::MessageLoopForIO::Watcher { base 416 chrome/browser/process_singleton_linux.cc base::MessageLoop* ui_message_loop, base 424 chrome/browser/process_singleton_linux.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 425 chrome/browser/process_singleton_linux.cc fd, true, base::MessageLoopForIO::WATCH_READ, &fd_reader_, this); base 427 chrome/browser/process_singleton_linux.cc timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(kTimeoutInSeconds), base 454 chrome/browser/process_singleton_linux.cc base::MessageLoopForIO::FileDescriptorWatcher fd_reader_; base 460 chrome/browser/process_singleton_linux.cc base::MessageLoop* const ui_message_loop_; base 472 chrome/browser/process_singleton_linux.cc base::OneShotTimer<SocketReader> timer_; base 479 chrome/browser/process_singleton_linux.cc : ui_message_loop_(base::MessageLoop::current()), base 514 chrome/browser/process_singleton_linux.cc base::MessageLoopForIO* ml = base::MessageLoopForIO::current(); base 521 chrome/browser/process_singleton_linux.cc base::MessageLoopForIO::FileDescriptorWatcher fd_watcher_; base 525 chrome/browser/process_singleton_linux.cc base::MessageLoop* ui_message_loop_; base 557 chrome/browser/process_singleton_linux.cc base::MessageLoopForIO* ml = base::MessageLoopForIO::current(); base 559 chrome/browser/process_singleton_linux.cc ml->WatchFileDescriptor(socket, true, base::MessageLoopForIO::WATCH_READ, base 566 chrome/browser/process_singleton_linux.cc DCHECK(ui_message_loop_ == base::MessageLoop::current()); base 570 chrome/browser/process_singleton_linux.cc base::FilePath(current_dir))) { base 630 chrome/browser/process_singleton_linux.cc base::SplitString(str, kTokenDelimiter, &tokens); base 649 chrome/browser/process_singleton_linux.cc ui_message_loop_->PostTask(FROM_HERE, base::Bind( base 674 chrome/browser/process_singleton_linux.cc base::Bind(&ProcessSingleton::LinuxWatcher::RemoveSocketReader, base 684 chrome/browser/process_singleton_linux.cc const base::FilePath& user_data_dir, base 687 chrome/browser/process_singleton_linux.cc current_pid_(base::GetCurrentProcId()), base 693 chrome/browser/process_singleton_linux.cc kill_callback_ = base::Bind(&ProcessSingleton::KillProcess, base 694 chrome/browser/process_singleton_linux.cc base::Unretained(this)); base 766 chrome/browser/process_singleton_linux.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); base 777 chrome/browser/process_singleton_linux.cc base::FilePath current_dir; base 778 chrome/browser/process_singleton_linux.cc if (!PathService::Get(base::DIR_CURRENT, ¤t_dir)) base 866 chrome/browser/process_singleton_linux.cc void ProcessSingleton::OverrideCurrentPidForTesting(base::ProcessId pid) { base 871 chrome/browser/process_singleton_linux.cc const base::Callback<void(int)>& callback) { base 885 chrome/browser/process_singleton_linux.cc base::FilePath symlink_content(base::StringPrintf( base 907 chrome/browser/process_singleton_linux.cc base::FilePath socket_target_path = base 909 chrome/browser/process_singleton_linux.cc base::FilePath cookie(GenerateCookie()); base 910 chrome/browser/process_singleton_linux.cc base::FilePath remote_cookie_path = base 940 chrome/browser/process_singleton_linux.cc base::Bind(&ProcessSingleton::LinuxWatcher::StartListening, base 956 chrome/browser/process_singleton_linux.cc pid = base::GetParentProcessId(pid); base 989 chrome/browser/process_singleton_linux.cc int rv = kill(static_cast<base::ProcessHandle>(pid), SIGKILL); base 39 chrome/browser/process_singleton_linux_unittest.cc explicit TestableProcessSingleton(const base::FilePath& user_data_dir) base 42 chrome/browser/process_singleton_linux_unittest.cc base::Bind(&TestableProcessSingleton::NotificationCallback, base 43 chrome/browser/process_singleton_linux_unittest.cc base::Unretained(this))) {} base 55 chrome/browser/process_singleton_linux_unittest.cc const base::FilePath& current_directory) { base 83 chrome/browser/process_singleton_linux_unittest.cc scoped_refptr<base::ThreadTestHelper> io_helper(new base::ThreadTestHelper( base 92 chrome/browser/process_singleton_linux_unittest.cc base::Bind(&ProcessSingletonLinuxTest::DestructProcessSingleton, base 93 chrome/browser/process_singleton_linux_unittest.cc base::Unretained(this))); base 95 chrome/browser/process_singleton_linux_unittest.cc scoped_refptr<base::ThreadTestHelper> helper(new base::ThreadTestHelper( base 106 chrome/browser/process_singleton_linux_unittest.cc worker_thread_.reset(new base::Thread("BlockingThread")); base 111 chrome/browser/process_singleton_linux_unittest.cc base::Bind(&ProcessSingletonLinuxTest:: base 113 chrome/browser/process_singleton_linux_unittest.cc base::Unretained(this))); base 115 chrome/browser/process_singleton_linux_unittest.cc scoped_refptr<base::ThreadTestHelper> helper( base 116 chrome/browser/process_singleton_linux_unittest.cc new base::ThreadTestHelper(worker_thread_->message_loop_proxy().get())); base 126 chrome/browser/process_singleton_linux_unittest.cc base::TimeDelta timeout) { base 133 chrome/browser/process_singleton_linux_unittest.cc base::GetCurrentProcId() + 1); base 135 chrome/browser/process_singleton_linux_unittest.cc base::Bind(&ProcessSingletonLinuxTest::KillCallback, base 136 chrome/browser/process_singleton_linux_unittest.cc base::Unretained(this))); base 146 chrome/browser/process_singleton_linux_unittest.cc base::TimeDelta timeout) { base 175 chrome/browser/process_singleton_linux_unittest.cc base::Bind(&ProcessSingletonLinuxTest::BlockThread, base 176 chrome/browser/process_singleton_linux_unittest.cc base::Unretained(this))); base 189 chrome/browser/process_singleton_linux_unittest.cc base::FilePath lock_path_; base 190 chrome/browser/process_singleton_linux_unittest.cc base::FilePath socket_path_; base 191 chrome/browser/process_singleton_linux_unittest.cc base::FilePath cookie_path_; base 212 chrome/browser/process_singleton_linux_unittest.cc base::ScopedTempDir temp_dir_; base 213 chrome/browser/process_singleton_linux_unittest.cc base::WaitableEvent wait_event_; base 214 chrome/browser/process_singleton_linux_unittest.cc base::WaitableEvent signal_event_; base 216 chrome/browser/process_singleton_linux_unittest.cc scoped_ptr<base::Thread> worker_thread_; base 239 chrome/browser/process_singleton_linux_unittest.cc base::FilePath socket_target_path = base::FilePath(std::string(buf, len)); base 248 chrome/browser/process_singleton_linux_unittest.cc base::FilePath remote_cookie_path = socket_target_path.DirName(). base 282 chrome/browser/process_singleton_linux_unittest.cc std::string symlink_content = base::StringPrintf( base 286 chrome/browser/process_singleton_linux_unittest.cc base::GetCurrentProcId()); base 352 chrome/browser/process_singleton_linux_unittest.cc process_singleton->OverrideCurrentPidForTesting(base::GetCurrentProcId() + 1); base 362 chrome/browser/process_singleton_linux_unittest.cc process_singleton->OverrideCurrentPidForTesting(base::GetCurrentProcId() + 1); base 368 chrome/browser/process_singleton_linux_unittest.cc base::FilePath socket_target_path = base::FilePath(std::string(buf, len)); base 41 chrome/browser/process_singleton_mac.cc const base::FilePath& user_data_dir, base 43 chrome/browser/process_singleton_mac_unittest.cc base::ScopedFD fd(HANDLE_EINTR(open(lock_path_.value().c_str(), O_RDONLY))); base 63 chrome/browser/process_singleton_mac_unittest.cc base::ScopedTempDir temp_dir_; base 64 chrome/browser/process_singleton_mac_unittest.cc base::FilePath lock_path_; base 34 chrome/browser/process_singleton_modal_dialog_lock.cc set_foreground_window_handler_(base::Bind(&DoSetForegroundWindow)) {} base 52 chrome/browser/process_singleton_modal_dialog_lock.cc return base::Bind(&ProcessSingletonModalDialogLock::NotificationCallbackImpl, base 53 chrome/browser/process_singleton_modal_dialog_lock.cc base::Unretained(this)); base 58 chrome/browser/process_singleton_modal_dialog_lock.cc const base::FilePath& current_directory) { base 13 chrome/browser/process_singleton_modal_dialog_lock.h namespace base { base 33 chrome/browser/process_singleton_modal_dialog_lock.h typedef base::Callback<void(gfx::NativeWindow)> SetForegroundWindowHandler; base 53 chrome/browser/process_singleton_modal_dialog_lock.h bool NotificationCallbackImpl(const base::CommandLine& command_line, base 54 chrome/browser/process_singleton_modal_dialog_lock.h const base::FilePath& current_directory); base 19 chrome/browser/process_singleton_startup_lock.cc return base::Bind(&ProcessSingletonStartupLock::NotificationCallbackImpl, base 20 chrome/browser/process_singleton_startup_lock.cc base::Unretained(this)); base 43 chrome/browser/process_singleton_startup_lock.cc const base::FilePath& current_directory) { base 26 chrome/browser/process_singleton_startup_lock.h class ProcessSingletonStartupLock : public base::NonThreadSafe { base 44 chrome/browser/process_singleton_startup_lock.h typedef std::pair<base::CommandLine::StringVector, base::FilePath> base 47 chrome/browser/process_singleton_startup_lock.h bool NotificationCallbackImpl(const base::CommandLine& command_line, base 48 chrome/browser/process_singleton_startup_lock.h const base::FilePath& current_directory); base 98 chrome/browser/process_singleton_win.cc base::FilePath* current_directory) { base 136 chrome/browser/process_singleton_win.cc *current_directory = base::FilePath(msg.substr(first_null + 1, base 170 chrome/browser/process_singleton_win.cc base::FilePath current_directory; base 192 chrome/browser/process_singleton_win.cc bool ShouldLaunchInWindows8ImmersiveMode(const base::FilePath& user_data_dir) { base 200 chrome/browser/process_singleton_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) base 203 chrome/browser/process_singleton_win.cc if (base::win::IsProcessImmersive(base::GetCurrentProcessHandle())) base 209 chrome/browser/process_singleton_win.cc base::IntegrityLevel integrity_level = base::INTEGRITY_UNKNOWN; base 210 chrome/browser/process_singleton_win.cc base::GetProcessIntegrityLevel(base::GetCurrentProcessHandle(), base 212 chrome/browser/process_singleton_win.cc if (integrity_level == base::HIGH_INTEGRITY) base 215 chrome/browser/process_singleton_win.cc base::FilePath default_user_data_dir; base 222 chrome/browser/process_singleton_win.cc base::win::RegKey reg_key; base 230 chrome/browser/process_singleton_win.cc return base::win::IsTouchEnabledDevice(); base 241 chrome/browser/process_singleton_win.cc const base::FilePath& user_data_dir) { base 268 chrome/browser/process_singleton_win.cc const base::FilePath& user_data_dir, base 326 chrome/browser/process_singleton_win.cc base::KillProcessById(process_id, content::RESULT_CODE_HUNG, true); base 360 chrome/browser/process_singleton_win.cc base::win::ScopedHandle only_me(::CreateMutex(NULL, FALSE, kMutexName)); base 378 chrome/browser/process_singleton_win.cc if (!remote_window_ && base::win::GetVersion() >= base::win::VERSION_WIN8 && base 379 chrome/browser/process_singleton_win.cc !base::win::IsMetroProcess()) { base 387 chrome/browser/process_singleton_win.cc base::win::ScopedHandle metro_activation_event( base 425 chrome/browser/process_singleton_win.cc base::FilePath lock_file_path = user_data_dir_.AppendASCII(kLockfile); base 444 chrome/browser/process_singleton_win.cc base::Bind(&ProcessLaunchNotification, notification_callback_), base 449 chrome/browser/process_singleton_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 452 chrome/browser/process_singleton_win.cc base::win::ScopedHandle metro_activation_event( base 89 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::FieldTrialList::FindFullName(kAutomaticProfileResetStudyName), base 96 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::FieldTrialList::FindFullName(kAutomaticProfileResetStudyName), base 128 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::DictionaryValue> pref_name_to_value_map, base 132 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::DictionaryValue* target_dictionary) { base 135 chrome/browser/profile_resetter/automatic_profile_resetter.cc for (base::DictionaryValue::Iterator it(*pref_name_to_value_map); base 139 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::DictionaryValue* value_tree = new base::DictionaryValue; base 140 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::DictionaryValue* is_user_controlled_tree = new base::DictionaryValue; base 143 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::Value> pref_value_owned; base 149 chrome/browser/profile_resetter/automatic_profile_resetter.cc *it, new base::FundamentalValue(pref->IsUserControlled())); base 173 chrome/browser/profile_resetter/automatic_profile_resetter.cc : public base::SupportsWeakPtr<InputBuilder> { base 175 chrome/browser/profile_resetter/automatic_profile_resetter.cc typedef base::Callback<void(scoped_ptr<base::DictionaryValue>)> base 196 chrome/browser/profile_resetter/automatic_profile_resetter.cc data_.reset(new base::DictionaryValue); base 199 chrome/browser/profile_resetter/automatic_profile_resetter.cc AddAsyncTask(base::Bind(&InputBuilder::IncludeMementoValues, AsWeakPtr())); base 200 chrome/browser/profile_resetter/automatic_profile_resetter.cc AddTask(base::Bind(&InputBuilder::IncludeUserPreferences, AsWeakPtr())); base 201 chrome/browser/profile_resetter/automatic_profile_resetter.cc AddTask(base::Bind(&InputBuilder::IncludeLocalState, AsWeakPtr())); base 202 chrome/browser/profile_resetter/automatic_profile_resetter.cc AddTask(base::Bind(&InputBuilder::IncludeSearchEngines, AsWeakPtr())); base 203 chrome/browser/profile_resetter/automatic_profile_resetter.cc AddTask(base::Bind(&InputBuilder::IncludeLoadedModules, AsWeakPtr())); base 216 chrome/browser/profile_resetter/automatic_profile_resetter.cc memento_in_file_.ReadValue(base::Bind( base 234 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::DictionaryValue> pref_name_to_value_map( base 236 chrome/browser/profile_resetter/automatic_profile_resetter.cc AddTask(base::Bind(&InputBuilder::IncludeUserPreferencesPartTwo, base 238 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Passed(&pref_name_to_value_map))); base 243 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::DictionaryValue> pref_name_to_value_map) { base 259 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::DictionaryValue> pref_name_to_value_map( base 271 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::DictionaryValue> default_search_provider_details( base 276 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::ListValue> search_providers_details( base 286 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::ListValue> loaded_module_digests( base 295 chrome/browser/profile_resetter/automatic_profile_resetter.cc void AddAsyncTask(const base::Closure& task) { base 300 chrome/browser/profile_resetter/automatic_profile_resetter.cc void SynchronousTaskWrapper(const base::Closure& task) { base 301 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::ElapsedTimer timer; base 306 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::TimeDelta::FromMilliseconds(1), base 307 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::TimeDelta::FromSeconds(2), base 315 chrome/browser/profile_resetter/automatic_profile_resetter.cc void AddTask(const base::Closure& task) { base 317 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Bind(&InputBuilder::SynchronousTaskWrapper, AsWeakPtr(), task)); base 323 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Closure next_task; base 325 chrome/browser/profile_resetter/automatic_profile_resetter.cc next_task = base::Bind(callback_, base::Passed(&data_)); base 342 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::DictionaryValue> data_; base 343 chrome/browser/profile_resetter/automatic_profile_resetter.cc std::queue<base::Closure> task_queue_; base 428 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Bind(&AutomaticProfileResetter::PrepareEvaluationFlow, base 430 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::TimeDelta::FromSeconds(kEvaluationFlowDelayInSeconds)); base 448 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Bind(&AutomaticProfileResetter::OnProfileSettingsResetCompleted, base 540 chrome/browser/profile_resetter/automatic_profile_resetter.cc const scoped_refptr<base::TaskRunner>& task_runner) { base 564 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Bind(&AutomaticProfileResetter::OnTemplateURLServiceIsLoaded, base 567 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Bind(&AutomaticProfileResetter::OnLoadedModulesAreEnumerated, base 592 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Bind(&AutomaticProfileResetter::BeginEvaluationFlow, base 607 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Bind(&AutomaticProfileResetter::ContinueWithEvaluationFlow, base 612 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::DictionaryValue> program_input) { base 618 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::SequencedWorkerPool* blocking_pool = base 620 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_refptr<base::TaskRunner> task_runner = base 622 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 624 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::PostTaskAndReplyWithResult( base 627 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Bind(&EvaluateConditionsOnWorkerPoolThread, base 630 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Passed(&program_input)), base 631 chrome/browser/profile_resetter/automatic_profile_resetter.cc base::Bind(&AutomaticProfileResetter::FinishEvaluationFlow, base 640 chrome/browser/profile_resetter/automatic_profile_resetter.cc scoped_ptr<base::DictionaryValue> program_input) { base 664 chrome/browser/profile_resetter/automatic_profile_resetter.cc kCombinedStatusMaskKeyPrefix + base::IntToString(i + 1); base 671 chrome/browser/profile_resetter/automatic_profile_resetter.cc kSatisfiedCriteriaMaskKeyPrefix + base::IntToString(i + 1); base 22 chrome/browser/profile_resetter/automatic_profile_resetter.h namespace base { base 122 chrome/browser/profile_resetter/automatic_profile_resetter.h base::WeakPtr<AutomaticProfileResetter> AsWeakPtr() { base 139 chrome/browser/profile_resetter/automatic_profile_resetter.h const scoped_refptr<base::TaskRunner>& task_runner); base 188 chrome/browser/profile_resetter/automatic_profile_resetter.h scoped_ptr<base::DictionaryValue> program_input); base 199 chrome/browser/profile_resetter/automatic_profile_resetter.h scoped_ptr<base::DictionaryValue> program_input); base 261 chrome/browser/profile_resetter/automatic_profile_resetter.h scoped_refptr<base::TaskRunner> task_runner_for_waiting_; base 263 chrome/browser/profile_resetter/automatic_profile_resetter.h base::WeakPtrFactory<AutomaticProfileResetter> weak_ptr_factory_; base 42 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc scoped_ptr<base::DictionaryValue> BuildSubTreeFromTemplateURL( base 44 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc scoped_ptr<base::DictionaryValue> tree(new base::DictionaryValue); base 63 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc base::ListValue* input_encodings = new base::ListValue; base 66 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc tree->SetString("id", base::Int64ToString(template_url->id())); base 68 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc base::IntToString(template_url->prepopulate_id())); base 69 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc base::ListValue* alternate_urls = new base::ListValue; base 77 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc const base::ListValue& module_list, base 78 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc base::ListValue* module_name_digests) { base 85 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc const base::DictionaryValue* module_dictionary = NULL; base 99 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc module_name_digests->AppendString(base::MD5String(module_name)); base 154 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc const base::Closure& ready_callback) const { base 166 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc const base::Closure& ready_callback) const { base 184 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc base::Bind( base 186 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc base::Unretained(this)), base 194 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc const base::Closure& ready_callback) const { base 199 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc scoped_ptr<base::ListValue> AutomaticProfileResetterDelegateImpl:: base 202 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc scoped_ptr<base::ListValue> result(new base::ListValue); base 210 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc scoped_ptr<base::DictionaryValue> AutomaticProfileResetterDelegateImpl:: base 224 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc scoped_ptr<base::DictionaryValue>(new base::DictionaryValue); base 234 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc scoped_ptr<base::ListValue> AutomaticProfileResetterDelegateImpl:: base 240 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc scoped_ptr<base::ListValue> engines_details_list(new base::ListValue); base 277 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc const base::Closure& completion) { base 283 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc RequestCallbackWhenBrandcodedDefaultsAreFetched(base::Bind( base 331 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc const base::Closure& completion) { base 336 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc old_settings_snapshot->RequestShortcuts(base::Closure()); base 341 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc base::Bind(&AutomaticProfileResetterDelegateImpl:: base 345 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc base::Passed(&old_settings_snapshot))); base 360 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc const base::Closure& user_callback, base 24 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h namespace base { base 43 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& ready_callback) const = 0; base 51 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& ready_callback) const = 0; base 62 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& ready_callback) const = 0; base 65 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h virtual scoped_ptr<base::ListValue> GetLoadedModuleNameDigests() const = 0; base 78 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h virtual scoped_ptr<base::DictionaryValue> base 86 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h virtual scoped_ptr<base::ListValue> base 104 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& completion) = 0; base 114 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h public base::SupportsWeakPtr<AutomaticProfileResetterDelegateImpl>, base 133 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& ready_callback) const OVERRIDE; base 136 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& ready_callback) const OVERRIDE; base 139 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& ready_callback) const OVERRIDE; base 140 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h virtual scoped_ptr<base::ListValue> base 142 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h virtual scoped_ptr<base::DictionaryValue> base 145 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h virtual scoped_ptr<base::ListValue> base 150 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& completion) OVERRIDE; base 170 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& completion); base 181 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h const base::Closure& user_callback, base 198 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h scoped_ptr<base::ListValue> module_list_; base 84 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::Closure CreateClosure() { base 85 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc return base::Bind(&MockCallbackTarget::Run, base::Unretained(this)); base 94 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc scoped_ptr<base::DictionaryValue> GetDefaultSearchProviderDetailsFromPrefs( base 97 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc scoped_ptr<base::DictionaryValue> pref_values_with_path_expansion( base 99 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc const base::DictionaryValue* dsp_details = NULL; base 102 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc return scoped_ptr<base::DictionaryValue>( base 103 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc dsp_details ? dsp_details->DeepCopy() : new base::DictionaryValue); base 108 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc void ExpectDetailsMatch(const base::DictionaryValue& expected_details, base 109 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc const base::DictionaryValue& details) { base 110 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc for (base::DictionaryValue::Iterator it(expected_details); !it.IsAtEnd(); base 118 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc const base::Value* expected_value = &it.value(); base 119 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc const base::Value* actual_value = NULL; base 128 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc const base::ListValue* actual_encodings_list = NULL; base 131 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc for (base::ListValue::const_iterator it = actual_encodings_list->begin(); base 219 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.short_name = base::ASCIIToUTF16("name"); base 220 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc data.SetKeyword(base::ASCIIToUTF16("keyword")); base 277 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 286 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 300 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 306 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 307 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc scoped_ptr<base::ListValue> module_name_digests( base 313 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc for (base::ListValue::const_iterator it = module_name_digests->begin(); base 319 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc ASSERT_TRUE(base::HexStringToBytes(digest_hex, &digest_raw)); base 333 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 337 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 346 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 359 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 378 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc scoped_ptr<base::DictionaryValue> dsp_details( base 380 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc scoped_ptr<base::DictionaryValue> expected_dsp_details( base 403 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc scoped_ptr<base::DictionaryValue> dsp_details( base 407 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::ExpectDictStringValue(kTestSearchURL, *dsp_details, "search_url"); base 427 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc scoped_ptr<base::ListValue> search_engines_details( base 440 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc const base::DictionaryValue* details = NULL; base 447 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::ASCIIToUTF16(keyword)); base 453 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc scoped_ptr<base::DictionaryValue> expected_dsp_details( base 469 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 474 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 485 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 500 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 506 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 521 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 533 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 538 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 548 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 564 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 579 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 586 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 607 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 21 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc using base::DictionaryValue; base 55 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc const base::DictionaryValue* prompt_shown_dict = base 96 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc base::FilePath path = GetMementoFilePath(); base 100 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc base::Bind(&ReadValueOnFileThread, path), base 105 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc base::FilePath path = GetMementoFilePath(); base 109 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc base::Bind(&StoreValueOnFileThread, path, value)); base 113 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc const base::FilePath& memento_file_path) { base 115 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc base::ReadFileToString(memento_file_path, &value); base 120 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc const base::FilePath& memento_file_path, base 123 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc base::WriteFile(memento_file_path, value.c_str(), value.size()); base 127 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc base::FilePath FileHostedPromptMemento::GetMementoFilePath() const { base 23 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.h namespace base { base 72 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.h typedef base::Callback<void(const std::string&)> ReadValueCallback; base 88 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.h const base::FilePath& memento_file_path); base 89 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.h static void StoreValueOnFileThread(const base::FilePath& memento_file_path, base 94 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.h base::FilePath GetMementoFilePath() const; base 83 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc void(const base::Closure&)); base 87 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc void(const base::Closure&)); base 91 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc void(const base::Closure&)); base 99 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc MOCK_METHOD2(TriggerProfileSettingsReset, void(bool, const base::Closure&)); base 102 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc virtual scoped_ptr<base::ListValue> base 105 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc return scoped_ptr<base::ListValue>( base 109 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc virtual scoped_ptr<base::DictionaryValue> base 112 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc return scoped_ptr<base::DictionaryValue>( base 121 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc virtual scoped_ptr<base::ListValue> base 124 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc return scoped_ptr<base::ListValue>( base 128 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc static void ClosureInvoker(const base::Closure& closure) { closure.Run(); } base 156 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::DictionaryValue& emulated_default_search_provider_details() { base 160 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::ListValue& emulated_search_providers_details() { base 164 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::ListValue& emulated_loaded_module_digests() { base 177 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::DictionaryValue emulated_default_search_provider_details_; base 178 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::ListValue emulated_search_providers_details_; base 179 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::ListValue emulated_loaded_module_digests_; base 181 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::Closure reset_completion_; base 193 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc FileHostedPromptMemento::ReadValue(base::Bind(&AssignArgumentTo, &result)); base 194 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::RunLoop().RunUntilIdle(); base 200 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::RunLoop().RunUntilIdle(); base 490 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc : waiting_task_runner_(new base::TestSimpleTaskRunner), base 493 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc field_trials_(new base::FieldTrialList(NULL)), base 520 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::FieldTrialList::CreateFieldTrial(kAutomaticProfileResetStudyName, base 570 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc ASSERT_EQ(base::TimeDelta::FromSeconds(55), base 574 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::RunLoop().RunUntilIdle(); base 576 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::RunLoop().RunUntilIdle(); base 629 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> waiting_task_runner_; base 632 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc scoped_ptr<base::FieldTrialList> field_trials_; base 1277 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc new base::StringValue(kTestPreferenceValue)); base 1293 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc new base::StringValue(kTestPreferenceValue)); base 1342 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::DictionaryValue* search_provider_1 = new base::DictionaryValue; base 1343 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc base::DictionaryValue* search_provider_2 = new base::DictionaryValue; base 159 chrome/browser/profile_resetter/brandcode_config_fetcher.cc base::TimeDelta::FromSeconds(kDownloadTimeoutSec), base 20 chrome/browser/profile_resetter/brandcode_config_fetcher.h typedef base::Callback<void ()> FetchCallback; base 44 chrome/browser/profile_resetter/brandcode_config_fetcher.h base::OneShotTimer<BrandcodeConfigFetcher> download_timer_; base 20 chrome/browser/profile_resetter/brandcoded_default_settings.cc scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); base 25 chrome/browser/profile_resetter/brandcoded_default_settings.cc if (!root->IsType(base::Value::TYPE_DICTIONARY)) { base 31 chrome/browser/profile_resetter/brandcoded_default_settings.cc static_cast<base::DictionaryValue*>(root.release())); base 38 chrome/browser/profile_resetter/brandcoded_default_settings.cc scoped_ptr<base::ListValue> base 66 chrome/browser/profile_resetter/brandcoded_default_settings.cc base::DictionaryValue* extensions = NULL; base 71 chrome/browser/profile_resetter/brandcoded_default_settings.cc for (base::DictionaryValue::Iterator extension_id(*extensions); base 88 chrome/browser/profile_resetter/brandcoded_default_settings.cc scoped_ptr<base::ListValue> base 93 chrome/browser/profile_resetter/brandcoded_default_settings.cc scoped_ptr<base::ListValue> BrandcodedDefaultSettings::ExtractList( base 95 chrome/browser/profile_resetter/brandcoded_default_settings.cc const base::ListValue* value = NULL; base 99 chrome/browser/profile_resetter/brandcoded_default_settings.cc return scoped_ptr<base::ListValue>(value->DeepCopy()); base 101 chrome/browser/profile_resetter/brandcoded_default_settings.cc return scoped_ptr<base::ListValue>(); base 28 chrome/browser/profile_resetter/brandcoded_default_settings.h scoped_ptr<base::ListValue> GetSearchProviderOverrides() const; base 38 chrome/browser/profile_resetter/brandcoded_default_settings.h scoped_ptr<base::ListValue> GetUrlsToRestoreOnStartup() const; base 41 chrome/browser/profile_resetter/brandcoded_default_settings.h scoped_ptr<base::ListValue> ExtractList(const char* pref_name) const; base 43 chrome/browser/profile_resetter/brandcoded_default_settings.h scoped_ptr<base::DictionaryValue> master_dictionary_; base 30 chrome/browser/profile_resetter/jtl_foundation.cc cached_hashes_[input] = base::HexEncode(digest, kHashSizeInBytes / 2); base 40 chrome/browser/profile_resetter/jtl_interpreter.cc const base::DictionaryValue* input, base 41 chrome/browser/profile_resetter/jtl_interpreter.cc base::DictionaryValue* working_memory) base 73 chrome/browser/profile_resetter/jtl_interpreter.cc bool GetValueHash(const base::Value& value, std::string* hash) { base 79 chrome/browser/profile_resetter/jtl_interpreter.cc value_as_string = base::IntToString(tmp_int); base 81 chrome/browser/profile_resetter/jtl_interpreter.cc value_as_string = base::DoubleToString(tmp_double); base 88 chrome/browser/profile_resetter/jtl_interpreter.cc const base::Value* current_node() const { return stack_.back(); } base 89 chrome/browser/profile_resetter/jtl_interpreter.cc std::vector<const base::Value*>* stack() { return &stack_; } base 90 chrome/browser/profile_resetter/jtl_interpreter.cc base::DictionaryValue* working_memory() { return working_memory_; } base 103 chrome/browser/profile_resetter/jtl_interpreter.cc std::vector<const base::Value*> stack_; base 105 chrome/browser/profile_resetter/jtl_interpreter.cc base::DictionaryValue* working_memory_; base 117 chrome/browser/profile_resetter/jtl_interpreter.cc const base::DictionaryValue* dict = NULL; base 125 chrome/browser/profile_resetter/jtl_interpreter.cc for (base::DictionaryValue::Iterator i(*dict); !i.IsAtEnd(); i.Advance()) { base 147 chrome/browser/profile_resetter/jtl_interpreter.cc const base::DictionaryValue* dict = NULL; base 148 chrome/browser/profile_resetter/jtl_interpreter.cc const base::ListValue* list = NULL; base 150 chrome/browser/profile_resetter/jtl_interpreter.cc for (base::DictionaryValue::Iterator i(*dict); base 159 chrome/browser/profile_resetter/jtl_interpreter.cc for (base::ListValue::const_iterator i = list->begin(); base 182 chrome/browser/profile_resetter/jtl_interpreter.cc const base::Value* current_node = context->current_node(); base 195 chrome/browser/profile_resetter/jtl_interpreter.cc StoreValue(const std::string& hashed_name, scoped_ptr<base::Value> value) base 209 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value> value_; base 216 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value> value, base 217 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value> default_value) base 227 chrome/browser/profile_resetter/jtl_interpreter.cc const base::Value* actual_value = NULL; base 237 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value> value_; base 238 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value> default_value_; base 251 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value> value; base 253 chrome/browser/profile_resetter/jtl_interpreter.cc if (!context->current_node()->IsType(base::Value::TYPE_BOOLEAN)) base 260 chrome/browser/profile_resetter/jtl_interpreter.cc value.reset(new base::StringValue(hash)); base 288 chrome/browser/profile_resetter/jtl_interpreter.cc hashed_name_, new base::StringValue(context->GetHash(domain))); base 387 chrome/browser/profile_resetter/jtl_interpreter.cc const base::Value* stored_value = NULL; base 391 chrome/browser/profile_resetter/jtl_interpreter.cc if (!context->current_node()->IsType(base::Value::TYPE_BOOLEAN) || base 498 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value>(new base::FundamentalValue(value)))); base 513 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value>(new base::FundamentalValue(value)), base 514 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value>( base 515 chrome/browser/profile_resetter/jtl_interpreter.cc new base::FundamentalValue(default_value)))); base 527 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value>(new base::StringValue(hashed_value)))); base 542 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value>(new base::StringValue(hashed_value)), base 543 chrome/browser/profile_resetter/jtl_interpreter.cc scoped_ptr<base::Value>( base 544 chrome/browser/profile_resetter/jtl_interpreter.cc new base::StringValue(hashed_default_value)))); base 698 chrome/browser/profile_resetter/jtl_interpreter.cc const base::DictionaryValue* input) base 702 chrome/browser/profile_resetter/jtl_interpreter.cc working_memory_(new base::DictionaryValue), base 704 chrome/browser/profile_resetter/jtl_interpreter.cc DCHECK(input->IsType(base::Value::TYPE_DICTIONARY)); base 32 chrome/browser/profile_resetter/jtl_interpreter.h const base::DictionaryValue* input); base 38 chrome/browser/profile_resetter/jtl_interpreter.h const base::DictionaryValue* working_memory() const { base 53 chrome/browser/profile_resetter/jtl_interpreter.h const base::DictionaryValue* input_; base 55 chrome/browser/profile_resetter/jtl_interpreter.h scoped_ptr<base::DictionaryValue> working_memory_; base 49 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ReplaceChars(escaped_json, "'", "\"", &json); \ base 50 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc scoped_ptr<base::Value> json_value(ParseJson(json)); \ base 54 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc static_cast<const base::DictionaryValue*>(json_value.get())); \ base 57 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc using base::test::ParseJson; base 64 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 73 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 92 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 116 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 130 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 146 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 157 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 158 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictStringValue(VALUE_HASH_1, *interpreter.working_memory(), base 171 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 172 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_2); base 184 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 196 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_2); base 235 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 283 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 299 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 331 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 333 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 384 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 416 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictStringValue( base 418 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 489 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 532 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 581 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictStringValue( base 583 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue( base 601 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 614 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_1); base 615 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::ExpectDictBooleanValue(true, *interpreter.working_memory(), VAR_HASH_2); base 684 chrome/browser/profile_resetter/jtl_interpreter_unittest.cc base::DictionaryValue input; base 24 chrome/browser/profile_resetter/profile_reset_global_error.cc base::TimeDelta GetPromptDelayHistogramMaximum() { base 25 chrome/browser/profile_resetter/profile_reset_global_error.cc return base::TimeDelta::FromDays(7); base 30 chrome/browser/profile_resetter/profile_reset_global_error.cc void RecordPromptDelay(const base::TimeDelta& delay) { base 33 chrome/browser/profile_resetter/profile_reset_global_error.cc base::TimeDelta::FromSeconds(1), GetPromptDelayHistogramMaximum(), 50); base 65 chrome/browser/profile_resetter/profile_reset_global_error.cc base::string16 ProfileResetGlobalError::MenuItemLabel() { base 22 chrome/browser/profile_resetter/profile_reset_global_error.h public base::SupportsWeakPtr<ProfileResetGlobalError> { base 44 chrome/browser/profile_resetter/profile_reset_global_error.h virtual base::string16 MenuItemLabel() OVERRIDE; base 58 chrome/browser/profile_resetter/profile_reset_global_error.h base::WeakPtr<AutomaticProfileResetter> automatic_profile_resetter_; base 61 chrome/browser/profile_resetter/profile_reset_global_error.h base::ElapsedTimer timer_; base 39 chrome/browser/profile_resetter/profile_resetter.cc base::FilePath chrome_exe; base 40 chrome/browser/profile_resetter/profile_resetter.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) base 78 chrome/browser/profile_resetter/profile_resetter.cc const base::Closure& callback) { base 156 chrome/browser/profile_resetter/profile_resetter.cc scoped_ptr<base::ListValue> search_engines( base 179 chrome/browser/profile_resetter/profile_resetter.cc base::Bind(&ProfileResetter::OnTemplateURLServiceLoaded, base 257 chrome/browser/profile_resetter/profile_resetter.cc scoped_ptr<base::ListValue> url_list( base 294 chrome/browser/profile_resetter/profile_resetter.cc base::Bind(&ResetShortcutsOnFileThread), base 295 chrome/browser/profile_resetter/profile_resetter.cc base::Bind(&ProfileResetter::MarkAsDone, base 322 chrome/browser/profile_resetter/profile_resetter.cc base::FilePath chrome_exe; base 323 chrome/browser/profile_resetter/profile_resetter.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) base 25 chrome/browser/profile_resetter/profile_resetter.h namespace base { base 32 chrome/browser/profile_resetter/profile_resetter.h class ProfileResetter : public base::NonThreadSafe, base 66 chrome/browser/profile_resetter/profile_resetter.h const base::Closure& callback); base 99 chrome/browser/profile_resetter/profile_resetter.h base::Closure callback_; base 107 chrome/browser/profile_resetter/profile_resetter.h base::WeakPtrFactory<ProfileResetter> weak_ptr_factory_; base 113 chrome/browser/profile_resetter/profile_resetter.h typedef std::pair<base::FilePath, base::string16> ShortcutCommand; base 115 chrome/browser/profile_resetter/profile_resetter.h typedef base::RefCountedData<base::CancellationFlag> SharedCancellationFlag; base 68 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Bind(&RemoveCookieTester::GetCookieOnIOThread, base 69 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Unretained(this), base 70 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Unretained(profile_->GetRequestContext()), base 82 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Bind(&RemoveCookieTester::SetCookieOnIOThread, base 83 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Unretained(this), base 84 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Unretained(profile_->GetRequestContext()), base 98 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Bind(&RemoveCookieTester::GetCookieCallback, base 99 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Unretained(this))); base 111 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Bind(&RemoveCookieTester::SetCookieCallback, base 112 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Unretained(this))); base 119 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Bind(&RemoveCookieTester::GetCookieCallback, base 120 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Unretained(this), cookies)); base 131 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Bind(&RemoveCookieTester::SetCookieCallback, base 132 chrome/browser/profile_resetter/profile_resetter_browsertest.cc base::Unretained(this), result)); base 36 chrome/browser/profile_resetter/profile_resetter_test_base.cc base::Bind(&ProfileResetterMockObject::StopLoop, base 37 chrome/browser/profile_resetter/profile_resetter_test_base.cc base::Unretained(&mock_object_))); base 48 chrome/browser/profile_resetter/profile_resetter_test_base.cc base::Bind(&ProfileResetterMockObject::StopLoop, base 49 chrome/browser/profile_resetter/profile_resetter_test_base.cc base::Unretained(&mock_object_))); base 112 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ScopedPathOverride user_desktop_override_; base 113 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ScopedPathOverride app_dir_override_; base 114 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ScopedPathOverride start_menu_override_; base 115 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ScopedPathOverride taskbar_pins_override_; base 116 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::win::ScopedCOMInitializer com_init_; base 122 chrome/browser/profile_resetter/profile_resetter_unittest.cc : user_desktop_override_(base::DIR_USER_DESKTOP), base 123 chrome/browser/profile_resetter/profile_resetter_unittest.cc app_dir_override_(base::DIR_APP_DATA), base 124 chrome/browser/profile_resetter/profile_resetter_unittest.cc start_menu_override_(base::DIR_START_MENU), base 125 chrome/browser/profile_resetter/profile_resetter_unittest.cc taskbar_pins_override_(base::DIR_TASKBAR_PINS) base 219 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::MessageLoopForIO loop_; base 229 chrome/browser/profile_resetter/profile_resetter_unittest.cc factory_(NULL, base::Bind(&ConfigParserTest::CreateFakeURLFetcher, base 230 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::Unretained(this))) { base 239 chrome/browser/profile_resetter/profile_resetter_unittest.cc new BrandcodeConfigFetcher(base::Bind(&ConfigParserTest::Callback, base 240 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::Unretained(this)), base 243 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 274 chrome/browser/profile_resetter/profile_resetter_unittest.cc ShortcutCommand CreateWithArguments(const base::string16& name, base 275 chrome/browser/profile_resetter/profile_resetter_unittest.cc const base::string16& args); base 276 chrome/browser/profile_resetter/profile_resetter_unittest.cc void CheckShortcutHasArguments(const base::string16& desired_args) const; base 281 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath shortcut_path_; base 301 chrome/browser/profile_resetter/profile_resetter_unittest.cc const base::string16& name, base 302 chrome/browser/profile_resetter/profile_resetter_unittest.cc const base::string16& args) { base 304 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath path_to_create; base 305 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_USER_DESKTOP, &path_to_create)); base 307 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_FALSE(base::PathExists(path_to_create)) << path_to_create.value(); base 309 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath path_exe; base 310 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_TRUE(PathService::Get(base::FILE_EXE, &path_exe)); base 311 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::win::ShortcutProperties shortcut_properties; base 314 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_TRUE(base::win::CreateOrUpdateShortcutLink( base 316 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)) << path_to_create.value(); base 322 chrome/browser/profile_resetter/profile_resetter_unittest.cc const base::string16& desired_args) const { base 324 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::string16 args; base 325 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_TRUE(base::win::ResolveShortcut(shortcut_path_, NULL, &args)); base 331 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_TRUE(base::DeleteFile(shortcut_path_, false)); base 345 chrome/browser/profile_resetter/profile_resetter_unittest.cc const base::string16& name, base 346 chrome/browser/profile_resetter/profile_resetter_unittest.cc const base::string16& args) { base 351 chrome/browser/profile_resetter/profile_resetter_unittest.cc const base::string16& desired_args) const { base 361 chrome/browser/profile_resetter/profile_resetter_unittest.cc scoped_refptr<Extension> CreateExtension(const base::string16& name, base 362 chrome/browser/profile_resetter/profile_resetter_unittest.cc const base::FilePath& path, base 366 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::DictionaryValue manifest; base 372 chrome/browser/profile_resetter/profile_resetter_unittest.cc new base::DictionaryValue); base 427 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("first"), default_engine->short_name()); base 428 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("firstkey"), default_engine->keyword()); base 581 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ScopedTempDir temp_dir; base 585 chrome/browser/profile_resetter/profile_resetter_unittest.cc CreateExtension(base::ASCIIToUTF16("example1"), base 592 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 599 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("example2"), base 600 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 607 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("example3"), base 608 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent2")), base 614 chrome/browser/profile_resetter/profile_resetter_unittest.cc CreateExtension(base::ASCIIToUTF16("example4"), base 615 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent3")), base 621 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("example5"), base 622 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent4")), base 628 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("example6"), base 629 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent5")), base 649 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("example2"), base 650 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 657 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("example3"), base 658 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent2")), base 677 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ScopedTempDir temp_dir; base 681 chrome/browser/profile_resetter/profile_resetter_unittest.cc CreateExtension(base::ASCIIToUTF16("example1"), base 688 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 695 chrome/browser/profile_resetter/profile_resetter_unittest.cc CreateExtension(base::ASCIIToUTF16("example2"), base 696 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent2")), base 703 chrome/browser/profile_resetter/profile_resetter_unittest.cc CreateExtension(base::ASCIIToUTF16("example2"), base 704 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent3")), base 754 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("hello!"), base 755 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 793 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("chrome.lnk"), base 794 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("--profile-directory=Default foo.com")); base 795 chrome/browser/profile_resetter/profile_resetter_unittest.cc shortcut.CheckShortcutHasArguments(base::ASCIIToUTF16( base 800 chrome/browser/profile_resetter/profile_resetter_unittest.cc shortcut.CheckShortcutHasArguments(base::ASCIIToUTF16( base 845 chrome/browser/profile_resetter/profile_resetter_unittest.cc scoped_ptr<base::ListValue> startup_list( base 849 chrome/browser/profile_resetter/profile_resetter_unittest.cc for (base::ListValue::iterator i = startup_list->begin(); base 865 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("example"), base 866 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 884 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("chrome1.lnk"), base 885 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("--profile-directory=Default foo.com")); base 887 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("--profile-directory=Default foo.com")); base 890 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("chrome2.lnk"), base 891 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("--profile-directory=Default1")); base 894 chrome/browser/profile_resetter/profile_resetter_unittest.cc nonorganic_snap.RequestShortcuts(base::Closure()); base 896 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 921 chrome/browser/profile_resetter/profile_resetter_unittest.cc organic_snap.RequestShortcuts(base::Closure()); base 923 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 952 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("example"), base 953 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 962 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("chrome.lnk"), base 963 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("--profile-directory=Default foo.com")); base 966 chrome/browser/profile_resetter/profile_resetter_unittest.cc nonorganic_snap.RequestShortcuts(base::Closure()); base 968 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 977 chrome/browser/profile_resetter/profile_resetter_unittest.cc scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); base 979 chrome/browser/profile_resetter/profile_resetter_unittest.cc ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)) << error; base 981 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::DictionaryValue* dict = base 982 chrome/browser/profile_resetter/profile_resetter_unittest.cc static_cast<base::DictionaryValue*>(root.get()); base 984 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ListValue* startup_urls = NULL; base 989 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ListValue* extensions = NULL; base 990 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ListValue* shortcuts = NULL; base 1022 chrome/browser/profile_resetter/profile_resetter_unittest.cc scoped_ptr<base::ListValue> list_; base 1028 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::WideToUTF16(L"Tiësto"), base 1029 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 1042 chrome/browser/profile_resetter/profile_resetter_unittest.cc prefs->SetString(prefs::kHomePage, base::WideToUTF8(url)); base 1045 chrome/browser/profile_resetter/profile_resetter_unittest.cc startup_pref.urls.push_back(GURL(base::WideToUTF8(url))); base 1050 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("chrome.lnk"), base 1051 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ASCIIToUTF16("--profile-directory=Default foo.com")); base 1056 chrome/browser/profile_resetter/profile_resetter_unittest.cc snapshot.RequestShortcuts(base::Bind(&FeedbackCapture::SetFeedback, base 1057 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::Unretained(&capture), base 1059 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::ConstRef(snapshot))); base 1061 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1065 chrome/browser/profile_resetter/profile_resetter_unittest.cc scoped_ptr<base::ListValue> list = capture.list_.Pass(); base 1070 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::DictionaryValue* dict = NULL; base 1075 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::string16 extensions; base 1077 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_EQ(base::WideToUTF16(L"Tiësto"), extensions); base 1080 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::string16 targets; base 1082 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_NE(base::string16::npos, base 1083 chrome/browser/profile_resetter/profile_resetter_unittest.cc targets.find(base::ASCIIToUTF16("foo.com"))) << targets; base 1095 chrome/browser/profile_resetter/profile_resetter_unittest.cc deleted_snapshot->RequestShortcuts(base::Bind(&FeedbackCapture::Fail, base 1096 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::Unretained(&capture))); base 1100 chrome/browser/profile_resetter/profile_resetter_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 43 chrome/browser/profile_resetter/resettable_settings_snapshot.cc void AddPair(base::ListValue* list, base 44 chrome/browser/profile_resetter/resettable_settings_snapshot.cc const base::string16& key, base 46 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::DictionaryValue* results = new base::DictionaryValue(); base 97 chrome/browser/profile_resetter/resettable_settings_snapshot.cc ExtensionList extensions = base::STLSetDifference<ExtensionList>( base 131 chrome/browser/profile_resetter/resettable_settings_snapshot.cc const base::Closure& callback) { base 139 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::Bind(&GetChromeLaunchShortcuts, cancellation_flag_), base 140 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::Bind(&ResettableSettingsSnapshot::SetShortcutsAndReport, base 146 chrome/browser/profile_resetter/resettable_settings_snapshot.cc const base::Closure& callback, base 160 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::DictionaryValue dict; base 163 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::ListValue* list = new base::ListValue; base 181 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::ListValue* list = new base::ListValue; base 188 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::ReplaceChars(i->second, "\"", "\'", &ext_name); base 195 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::ListValue* list = new base::ListValue; base 199 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::string16 arguments; base 201 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::ReplaceChars(i->second, base::ASCIIToUTF16("\"").c_str(), base 202 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::ASCIIToUTF16("\'"), &arguments); base 212 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::JSONWriter::Write(&dict, &json); base 241 chrome/browser/profile_resetter/resettable_settings_snapshot.cc scoped_ptr<base::ListValue> GetReadableFeedbackForSnapshot( base 246 chrome/browser/profile_resetter/resettable_settings_snapshot.cc scoped_ptr<base::ListValue> list(new base::ListValue); base 275 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::string16 startup_type; base 318 chrome/browser/profile_resetter/resettable_settings_snapshot.cc base::string16 shortcut_targets; base 323 chrome/browser/profile_resetter/resettable_settings_snapshot.cc shortcut_targets += base::ASCIIToUTF16("\n"); base 324 chrome/browser/profile_resetter/resettable_settings_snapshot.cc shortcut_targets += base::ASCIIToUTF16("chrome.exe "); base 18 chrome/browser/profile_resetter/resettable_settings_snapshot.h namespace base { base 79 chrome/browser/profile_resetter/resettable_settings_snapshot.h void RequestShortcuts(const base::Closure& callback); base 84 chrome/browser/profile_resetter/resettable_settings_snapshot.h const base::Closure& callback, base 109 chrome/browser/profile_resetter/resettable_settings_snapshot.h base::WeakPtrFactory<ResettableSettingsSnapshot> weak_ptr_factory_; base 133 chrome/browser/profile_resetter/resettable_settings_snapshot.h scoped_ptr<base::ListValue> GetReadableFeedbackForSnapshot( base 87 chrome/browser/profiles/avatar_menu.cc if (base::FieldTrialList::FindFullName(kShowProfileSwitcherFieldTrialName) == base 111 chrome/browser/profiles/avatar_menu.cc return base::i18n::ToLower(item1->name).compare( base 112 chrome/browser/profiles/avatar_menu.cc base::i18n::ToLower(item2->name)) < 0; base 130 chrome/browser/profiles/avatar_menu.cc base::FilePath path = base 188 chrome/browser/profiles/avatar_menu.cc base::string16 AvatarMenu::GetManagedUserInformation() const { base 194 chrome/browser/profiles/avatar_menu.cc base::string16 custodian = base 195 chrome/browser/profiles/avatar_menu.cc base::UTF8ToUTF16(service->GetCustodianEmailAddress()); base 199 chrome/browser/profiles/avatar_menu.cc return base::string16(); base 212 chrome/browser/profiles/avatar_menu.cc base::FilePath path; base 48 chrome/browser/profiles/avatar_menu.h base::string16 name; base 51 chrome/browser/profiles/avatar_menu.h base::string16 sync_state; base 72 chrome/browser/profiles/avatar_menu.h base::FilePath profile_path; base 123 chrome/browser/profiles/avatar_menu.h base::string16 GetManagedUserInformation() const; base 59 chrome/browser/profiles/avatar_menu_actions_desktop.cc page += base::IntToString(static_cast<int>(index)); base 31 chrome/browser/profiles/file_path_verifier_win.cc FileVerificationResult VerifyFileAtPath(const base::FilePath& file) { base 34 chrome/browser/profiles/file_path_verifier_win.cc base::FilePath normalized_path; base 36 chrome/browser/profiles/file_path_verifier_win.cc if (!base::NormalizeFilePath(file, &normalized_path)) { base 72 chrome/browser/profiles/file_path_verifier_win.cc PathComparisonReason ComparePathsIgnoreCase(const base::FilePath& path1, base 73 chrome/browser/profiles/file_path_verifier_win.cc const base::FilePath& path2) { base 76 chrome/browser/profiles/file_path_verifier_win.cc if (base::FilePath::CompareEqualIgnoreCase(path1.value(), path2.value())) { base 78 chrome/browser/profiles/file_path_verifier_win.cc } else if (base::FilePath::CompareEqualIgnoreCase(path1.BaseName().value(), base 81 chrome/browser/profiles/file_path_verifier_win.cc } else if (base::FilePath::CompareEqualIgnoreCase(path1.DirName().value(), base 91 chrome/browser/profiles/file_path_verifier_win.cc void VerifyPreferencesFile(const base::FilePath& pref_file_path) { base 10 chrome/browser/profiles/file_path_verifier_win.h namespace base { base 25 chrome/browser/profiles/file_path_verifier_win.h PathComparisonReason ComparePathsIgnoreCase(const base::FilePath& path1, base 26 chrome/browser/profiles/file_path_verifier_win.h const base::FilePath& path2); base 32 chrome/browser/profiles/file_path_verifier_win.h void VerifyPreferencesFile(const base::FilePath& pref_file_path); base 12 chrome/browser/profiles/file_path_verifier_win_unittest.cc const base::FilePath::CharType* inputs[2]; base 33 chrome/browser/profiles/file_path_verifier_win_unittest.cc base::FilePath p1(cases[i].inputs[0]); base 34 chrome/browser/profiles/file_path_verifier_win_unittest.cc base::FilePath p2(cases[i].inputs[1]); base 39 chrome/browser/profiles/gaia_info_update_service.cc last_updated_ = base::Time::FromInternalValue( base 102 chrome/browser/profiles/gaia_info_update_service.cc last_updated_ = base::Time::Now(); base 107 chrome/browser/profiles/gaia_info_update_service.cc base::string16 full_name = downloader->GetProfileFullName(); base 108 chrome/browser/profiles/gaia_info_update_service.cc base::string16 given_name = downloader->GetProfileGivenName(); base 150 chrome/browser/profiles/gaia_info_update_service.cc last_updated_ = base::Time::Now(); base 165 chrome/browser/profiles/gaia_info_update_service.cc cache.SetGAIANameOfProfileAtIndex(profile_index, base::string16()); base 196 chrome/browser/profiles/gaia_info_update_service.cc const base::TimeDelta desired_delta = base 197 chrome/browser/profiles/gaia_info_update_service.cc base::TimeDelta::FromHours(kUpdateIntervalHours); base 198 chrome/browser/profiles/gaia_info_update_service.cc const base::TimeDelta update_delta = base::Time::Now() - last_updated_; base 200 chrome/browser/profiles/gaia_info_update_service.cc base::TimeDelta delta; base 201 chrome/browser/profiles/gaia_info_update_service.cc if (update_delta < base::TimeDelta() || update_delta > desired_delta) base 202 chrome/browser/profiles/gaia_info_update_service.cc delta = base::TimeDelta::FromSeconds(kMinUpdateIntervalSeconds); base 61 chrome/browser/profiles/gaia_info_update_service.h base::Time last_updated_; base 62 chrome/browser/profiles/gaia_info_update_service.h base::OneShotTimer<GAIAInfoUpdateService> timer_; base 36 chrome/browser/profiles/gaia_info_update_service_unittest.cc MOCK_CONST_METHOD0(GetProfileFullName, base::string16()); base 100 chrome/browser/profiles/gaia_info_update_service_unittest.cc base::string16 name = base::ASCIIToUTF16("Pat Smith"); base 128 chrome/browser/profiles/gaia_info_update_service_unittest.cc base::string16 old_name = GetCache()->GetNameOfProfileAtIndex(index); base 138 chrome/browser/profiles/gaia_info_update_service_unittest.cc EXPECT_EQ(base::string16(), GetCache()->GetGAIANameOfProfileAtIndex(index)); base 166 chrome/browser/profiles/gaia_info_update_service_unittest.cc base::string16 gaia_name = base::UTF8ToUTF16("Pat Foo"); base 27 chrome/browser/profiles/incognito_mode_policy_handler.cc const base::Value* availability = base 37 chrome/browser/profiles/incognito_mode_policy_handler.cc base::IntToString(int_value)); base 43 chrome/browser/profiles/incognito_mode_policy_handler.cc ValueTypeToString(base::Value::TYPE_INTEGER)); base 47 chrome/browser/profiles/incognito_mode_policy_handler.cc const base::Value* deprecated_enabled = base 50 chrome/browser/profiles/incognito_mode_policy_handler.cc !deprecated_enabled->IsType(base::Value::TYPE_BOOLEAN)) { base 53 chrome/browser/profiles/incognito_mode_policy_handler.cc ValueTypeToString(base::Value::TYPE_BOOLEAN)); base 62 chrome/browser/profiles/incognito_mode_policy_handler.cc const base::Value* availability = base 64 chrome/browser/profiles/incognito_mode_policy_handler.cc const base::Value* deprecated_enabled = base 73 chrome/browser/profiles/incognito_mode_policy_handler.cc base::Value::CreateIntegerValue(availability_enum_value)); base 12 chrome/browser/profiles/incognito_mode_policy_handler.h namespace base { base 38 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc base::Value::CreateBooleanValue( base 45 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc base::Value::CreateIntegerValue(availability), base 52 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc const base::Value* value = NULL; base 54 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc EXPECT_TRUE(base::FundamentalValue(availability).Equals(value)); base 82 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc const base::Value* value = NULL; base 153 chrome/browser/profiles/off_the_record_profile_impl.cc base::Bind(&NotifyOTRProfileCreatedOnIOThread, profile_, this)); base 169 chrome/browser/profiles/off_the_record_profile_impl.cc base::Bind(&NotifyOTRProfileDestroyedOnIOThread, profile_, this)); base 194 chrome/browser/profiles/off_the_record_profile_impl.cc base::Bind(&OffTheRecordProfileImpl::OnZoomLevelChanged, base 195 chrome/browser/profiles/off_the_record_profile_impl.cc base::Unretained(this))); base 206 chrome/browser/profiles/off_the_record_profile_impl.cc base::DictionaryValue* dict = update.Get(); base 223 chrome/browser/profiles/off_the_record_profile_impl.cc base::FilePath OffTheRecordProfileImpl::GetPath() const { base 227 chrome/browser/profiles/off_the_record_profile_impl.cc scoped_refptr<base::SequencedTaskRunner> base 313 chrome/browser/profiles/off_the_record_profile_impl.cc const base::FilePath& partition_path, base 387 chrome/browser/profiles/off_the_record_profile_impl.cc const base::FilePath& partition_path, base 450 chrome/browser/profiles/off_the_record_profile_impl.cc base::FilePath OffTheRecordProfileImpl::last_selected_directory() { base 451 chrome/browser/profiles/off_the_record_profile_impl.cc const base::FilePath& directory = last_selected_directory_; base 459 chrome/browser/profiles/off_the_record_profile_impl.cc const base::FilePath& path) { base 499 chrome/browser/profiles/off_the_record_profile_impl.cc base::Time time, base 500 chrome/browser/profiles/off_the_record_profile_impl.cc const base::Closure& completion) { base 17 chrome/browser/profiles/off_the_record_profile_impl.h using base::Time; base 18 chrome/browser/profiles/off_the_record_profile_impl.h using base::TimeDelta; base 56 chrome/browser/profiles/off_the_record_profile_impl.h const base::FilePath& partition_path, base 66 chrome/browser/profiles/off_the_record_profile_impl.h virtual base::FilePath last_selected_directory() OVERRIDE; base 67 chrome/browser/profiles/off_the_record_profile_impl.h virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; base 83 chrome/browser/profiles/off_the_record_profile_impl.h base::Time time, base 84 chrome/browser/profiles/off_the_record_profile_impl.h const base::Closure& completion) OVERRIDE; base 88 chrome/browser/profiles/off_the_record_profile_impl.h virtual base::FilePath GetPath() const OVERRIDE; base 89 chrome/browser/profiles/off_the_record_profile_impl.h virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; base 101 chrome/browser/profiles/off_the_record_profile_impl.h const base::FilePath& partition_path, base 155 chrome/browser/profiles/off_the_record_profile_impl.h base::FilePath last_selected_directory_; base 33 chrome/browser/profiles/off_the_record_profile_impl_unittest.cc base::Bind(&TestingProfileWithHostZoomMap::OnZoomLevelChanged, base 34 chrome/browser/profiles/off_the_record_profile_impl_unittest.cc base::Unretained(this))); base 59 chrome/browser/profiles/off_the_record_profile_impl_unittest.cc base::DictionaryValue* host_zoom_dictionary = update.Get(); base 64 chrome/browser/profiles/off_the_record_profile_impl_unittest.cc change.host, base::Value::CreateDoubleValue(level)); base 186 chrome/browser/profiles/off_the_record_profile_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 101 chrome/browser/profiles/off_the_record_profile_io_data.cc const base::FilePath& partition_path, base 117 chrome/browser/profiles/off_the_record_profile_io_data.cc const base::FilePath& partition_path, base 208 chrome/browser/profiles/off_the_record_profile_io_data.cc base::WorkerPool::GetTaskRunner(true)); base 215 chrome/browser/profiles/off_the_record_profile_io_data.cc base::FilePath(), base 57 chrome/browser/profiles/off_the_record_profile_io_data.h const base::FilePath& partition_path, base 61 chrome/browser/profiles/off_the_record_profile_io_data.h const base::FilePath& partition_path, base 101 chrome/browser/profiles/off_the_record_profile_io_data.h friend class base::RefCountedThreadSafe<OffTheRecordProfileIOData>; base 36 chrome/browser/profiles/profile.h namespace base { base 160 chrome/browser/profiles/profile.h static Profile* CreateProfile(const base::FilePath& path, base 177 chrome/browser/profiles/profile.h virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() = 0; base 257 chrome/browser/profiles/profile.h virtual base::Time GetStartTime() const = 0; base 277 chrome/browser/profiles/profile.h const base::FilePath& partition_path, base 283 chrome/browser/profiles/profile.h virtual base::FilePath last_selected_directory() = 0; base 284 chrome/browser/profiles/profile.h virtual void set_last_selected_directory(const base::FilePath& path) = 0; base 322 chrome/browser/profiles/profile.h virtual void ClearNetworkingHistorySince(base::Time time, base 323 chrome/browser/profiles/profile.h const base::Closure& completion) = 0; base 12 chrome/browser/profiles/profile_android.cc using base::android::AttachCurrentThread; base 74 chrome/browser/profiles/profile_android.cc base::android::ScopedJavaLocalRef<jobject> jprofile = base 84 chrome/browser/profiles/profile_android.cc base::android::ScopedJavaLocalRef<jobject> ProfileAndroid::GetJavaObject() { base 85 chrome/browser/profiles/profile_android.cc return base::android::ScopedJavaLocalRef<jobject>(obj_); base 18 chrome/browser/profiles/profile_android.h class ProfileAndroid : public base::SupportsUserData::Data { base 29 chrome/browser/profiles/profile_android.h base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); base 33 chrome/browser/profiles/profile_android.h base::android::ScopedJavaGlobalRef<jobject> obj_; base 33 chrome/browser/profiles/profile_browsertest.cc void CreatePrefsFileInDirectory(const base::FilePath& directory_path) { base 34 chrome/browser/profiles/profile_browsertest.cc base::FilePath pref_path(directory_path.Append(chrome::kPreferencesFilename)); base 36 chrome/browser/profiles/profile_browsertest.cc ASSERT_TRUE(base::WriteFile(pref_path, data.c_str(), data.size())); base 63 chrome/browser/profiles/profile_browsertest.cc base::ScopedTempDir temp_dir; base 82 chrome/browser/profiles/profile_browsertest.cc base::ScopedTempDir temp_dir; base 102 chrome/browser/profiles/profile_browsertest.cc base::ScopedTempDir temp_dir; base 127 chrome/browser/profiles/profile_browsertest.cc base::ScopedTempDir temp_dir; base 150 chrome/browser/profiles/profile_browsertest.cc base::ScopedTempDir temp_dir; base 174 chrome/browser/profiles/profile_browsertest.cc EXPECT_TRUE(base::PathExists( base 180 chrome/browser/profiles/profile_browsertest.cc base::ScopedTempDir temp_dir; base 211 chrome/browser/profiles/profile_browsertest.cc base::ScopedTempDir temp_dir; base 110 chrome/browser/profiles/profile_destroyer.cc base::TimeDelta::FromSeconds(kTimerDelaySeconds), base 111 chrome/browser/profiles/profile_destroyer.cc base::Bind(&ProfileDestroyer::DestroyProfile, base 145 chrome/browser/profiles/profile_destroyer.cc base::MessageLoop::current()->PostTask( base 146 chrome/browser/profiles/profile_destroyer.cc FROM_HERE, base::Bind( base 31 chrome/browser/profiles/profile_destroyer.h friend class base::RefCounted<ProfileDestroyer>; base 51 chrome/browser/profiles/profile_destroyer.h base::Timer timer_; base 60 chrome/browser/profiles/profile_destroyer.h base::WeakPtrFactory<ProfileDestroyer> weak_ptr_factory_; base 15 chrome/browser/profiles/profile_destroyer_unittest.cc : TestingProfile(base::FilePath(), base 96 chrome/browser/profiles/profile_destroyer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 101 chrome/browser/profiles/profile_destroyer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 128 chrome/browser/profiles/profile_destroyer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 143 chrome/browser/profiles/profile_destroyer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 93 chrome/browser/profiles/profile_downloader.cc base::SplitString(old_url.path(), kURLPathSeparator, &components); base 99 chrome/browser/profiles/profile_downloader.cc base::StringPrintf(kThumbnailSizeFormat, kDefaultThumbnailSize)); base 101 chrome/browser/profiles/profile_downloader.cc base::StringPrintf(kThumbnailSizeFormat, size)); base 137 chrome/browser/profiles/profile_downloader.cc base::string16* full_name, base 138 chrome/browser/profiles/profile_downloader.cc base::string16* given_name, base 147 chrome/browser/profiles/profile_downloader.cc *full_name = base::string16(); base 148 chrome/browser/profiles/profile_downloader.cc *given_name = base::string16(); base 154 chrome/browser/profiles/profile_downloader.cc scoped_ptr<base::Value> root_value(base::JSONReader::ReadAndReturnError( base 155 chrome/browser/profiles/profile_downloader.cc data, base::JSON_PARSE_RFC, &error_code, &error_message)); base 161 chrome/browser/profiles/profile_downloader.cc if (!root_value->IsType(base::Value::TYPE_DICTIONARY)) { base 166 chrome/browser/profiles/profile_downloader.cc base::DictionaryValue* root_dictionary = base 167 chrome/browser/profiles/profile_downloader.cc static_cast<base::DictionaryValue*>(root_value.get()); base 196 chrome/browser/profiles/profile_downloader.cc base::SplitString(image_url_object.path(), base 250 chrome/browser/profiles/profile_downloader.cc base::string16 ProfileDownloader::GetProfileFullName() const { base 254 chrome/browser/profiles/profile_downloader.cc base::string16 ProfileDownloader::GetProfileGivenName() const { base 285 chrome/browser/profiles/profile_downloader.cc base::StringPrintf(kAuthorizationHeader, auth_token_.c_str())); base 367 chrome/browser/profiles/profile_downloader.cc base::StringPrintf(kAuthorizationHeader, auth_token_.c_str())); base 374 chrome/browser/profiles/profile_downloader.cc scoped_refptr<base::MessageLoopProxy> task_runner = base 415 chrome/browser/profiles/profile_downloader.cc const base::Time& expiration_time) { base 56 chrome/browser/profiles/profile_downloader.h virtual base::string16 GetProfileFullName() const; base 60 chrome/browser/profiles/profile_downloader.h virtual base::string16 GetProfileGivenName() const; base 97 chrome/browser/profiles/profile_downloader.h const base::Time& expiration_time) OVERRIDE; base 105 chrome/browser/profiles/profile_downloader.h base::string16* full_name, base 106 chrome/browser/profiles/profile_downloader.h base::string16* given_name, base 129 chrome/browser/profiles/profile_downloader.h base::string16 profile_full_name_; base 130 chrome/browser/profiles/profile_downloader.h base::string16 profile_given_name_; base 57 chrome/browser/profiles/profile_downloader_unittest.cc base::string16 parsed_full_name; base 58 chrome/browser/profiles/profile_downloader_unittest.cc base::string16 parsed_given_name; base 69 chrome/browser/profiles/profile_downloader_unittest.cc std::string parsed_full_name_utf8 = base::UTF16ToUTF8(parsed_full_name); base 70 chrome/browser/profiles/profile_downloader_unittest.cc std::string parsed_given_name_utf8 = base::UTF16ToUTF8(parsed_given_name); base 134 chrome/browser/profiles/profile_impl.cc using base::Time; base 135 chrome/browser/profiles/profile_impl.cc using base::TimeDelta; base 136 chrome/browser/profiles/profile_impl.cc using base::UserMetricsAction; base 179 chrome/browser/profiles/profile_impl.cc void CreateDirectoryAndSignal(const base::FilePath& path, base 180 chrome/browser/profiles/profile_impl.cc base::WaitableEvent* done_creating) { base 182 chrome/browser/profiles/profile_impl.cc base::CreateDirectory(path); base 188 chrome/browser/profiles/profile_impl.cc void BlockFileThreadOnDirectoryCreate(base::WaitableEvent* done_creating) { base 194 chrome/browser/profiles/profile_impl.cc void CreateProfileDirectory(base::SequencedTaskRunner* sequenced_task_runner, base 195 chrome/browser/profiles/profile_impl.cc const base::FilePath& path) { base 196 chrome/browser/profiles/profile_impl.cc base::WaitableEvent* done_creating = new base::WaitableEvent(false, false); base 198 chrome/browser/profiles/profile_impl.cc base::Bind(&CreateDirectoryAndSignal, base 205 chrome/browser/profiles/profile_impl.cc base::Bind(&BlockFileThreadOnDirectoryCreate, base 206 chrome/browser/profiles/profile_impl.cc base::Owned(done_creating))); base 209 chrome/browser/profiles/profile_impl.cc base::FilePath GetCachePath(const base::FilePath& base) { base 210 chrome/browser/profiles/profile_impl.cc return base.Append(chrome::kCacheDirname); base 213 chrome/browser/profiles/profile_impl.cc base::FilePath GetMediaCachePath(const base::FilePath& base) { base 214 chrome/browser/profiles/profile_impl.cc return base.Append(chrome::kMediaCacheDirname); base 217 chrome/browser/profiles/profile_impl.cc void EnsureReadmeFile(const base::FilePath& base) { base 218 chrome/browser/profiles/profile_impl.cc base::FilePath readme_path = base.Append(chrome::kReadmeFilename); base 219 chrome/browser/profiles/profile_impl.cc if (base::PathExists(readme_path)) base 222 chrome/browser/profiles/profile_impl.cc std::string readme_text = base::StringPrintf( base 224 chrome/browser/profiles/profile_impl.cc if (base::WriteFile(readme_path, readme_text.data(), readme_text.size()) == base 273 chrome/browser/profiles/profile_impl.cc Profile* Profile::CreateProfile(const base::FilePath& path, base 280 chrome/browser/profiles/profile_impl.cc scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner = base 287 chrome/browser/profiles/profile_impl.cc if (!base::PathExists(path)) { base 291 chrome/browser/profiles/profile_impl.cc if (!base::CreateDirectory(path)) base 366 chrome/browser/profiles/profile_impl.cc base::FilePath(), base 385 chrome/browser/profiles/profile_impl.cc const base::FilePath& path, base 388 chrome/browser/profiles/profile_impl.cc base::SequencedTaskRunner* sequenced_task_runner) base 488 chrome/browser/profiles/profile_impl.cc prefs_->AddPrefInitObserver(base::Bind(&ProfileImpl::OnPrefsLoaded, base 489 chrome/browser/profiles/profile_impl.cc base::Unretained(this))); base 502 chrome/browser/profiles/profile_impl.cc base::Bind(&ProfileImpl::UpdateProfileUserNameCache, base 503 chrome/browser/profiles/profile_impl.cc base::Unretained(this))); base 506 chrome/browser/profiles/profile_impl.cc base::Bind(&ProfileImpl::OnDefaultZoomLevelChanged, base 507 chrome/browser/profiles/profile_impl.cc base::Unretained(this))); base 510 chrome/browser/profiles/profile_impl.cc base::Bind(&ProfileImpl::UpdateProfileAvatarCache, base 511 chrome/browser/profiles/profile_impl.cc base::Unretained(this))); base 514 chrome/browser/profiles/profile_impl.cc base::Bind(&ProfileImpl::UpdateProfileNameCache, base 515 chrome/browser/profiles/profile_impl.cc base::Unretained(this))); base 518 chrome/browser/profiles/profile_impl.cc base::Bind(&ProfileImpl::UpdateProfileIsEphemeralCache, base 519 chrome/browser/profiles/profile_impl.cc base::Unretained(this))); base 526 chrome/browser/profiles/profile_impl.cc scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner = base 557 chrome/browser/profiles/profile_impl.cc base::FilePath cookie_path = GetPath(); base 559 chrome/browser/profiles/profile_impl.cc base::FilePath server_bound_cert_path = GetPath(); base 562 chrome/browser/profiles/profile_impl.cc base::FilePath cache_path = base_cache_path_; base 567 chrome/browser/profiles/profile_impl.cc base::FilePath media_cache_path = base_cache_path_; base 572 chrome/browser/profiles/profile_impl.cc base::FilePath extensions_cookie_path = GetPath(); base 576 chrome/browser/profiles/profile_impl.cc base::FilePath infinite_cache_path = GetPath(); base 616 chrome/browser/profiles/profile_impl.cc base::Bind(&EnsureReadmeFile, GetPath()), base 617 chrome/browser/profiles/profile_impl.cc base::TimeDelta::FromMilliseconds(create_readme_delay_ms)); base 651 chrome/browser/profiles/profile_impl.cc const base::DictionaryValue* host_zoom_dictionary = base 655 chrome/browser/profiles/profile_impl.cc for (base::DictionaryValue::Iterator i(*host_zoom_dictionary); !i.IsAtEnd(); base 667 chrome/browser/profiles/profile_impl.cc base::Bind(&ProfileImpl::OnZoomLevelChanged, base::Unretained(this))); base 670 chrome/browser/profiles/profile_impl.cc base::FilePath ProfileImpl::last_selected_directory() { base 674 chrome/browser/profiles/profile_impl.cc void ProfileImpl::set_last_selected_directory(const base::FilePath& path) { base 730 chrome/browser/profiles/profile_impl.cc base::FilePath ProfileImpl::GetPath() const { base 734 chrome/browser/profiles/profile_impl.cc scoped_refptr<base::SequencedTaskRunner> ProfileImpl::GetIOTaskRunner() { base 931 chrome/browser/profiles/profile_impl.cc const base::FilePath& partition_path, base 1008 chrome/browser/profiles/profile_impl.cc const base::FilePath& partition_path, base 1087 chrome/browser/profiles/profile_impl.cc base::DictionaryValue* host_zoom_dictionary = update.Get(); base 1092 chrome/browser/profiles/profile_impl.cc change.host, base::Value::CreateDoubleValue(level)); base 1210 chrome/browser/profiles/profile_impl.cc void ProfileImpl::ClearNetworkingHistorySince(base::Time time, base 1211 chrome/browser/profiles/profile_impl.cc const base::Closure& completion) { base 1222 chrome/browser/profiles/profile_impl.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 1224 chrome/browser/profiles/profile_impl.cc base::FilePath browser_directory; base 1225 chrome/browser/profiles/profile_impl.cc PathService::Get(base::DIR_CURRENT, &browser_directory); base 1249 chrome/browser/profiles/profile_impl.cc cache.SetUserNameOfProfileAtIndex(index, base::UTF8ToUTF16(user_name)); base 1261 chrome/browser/profiles/profile_impl.cc cache.SetNameOfProfileAtIndex(index, base::UTF8ToUTF16(profile_name)); base 1292 chrome/browser/profiles/profile_impl.cc base::FilePath* cache_path, base 1296 chrome/browser/profiles/profile_impl.cc base::FilePath path(prefs_->GetFilePath(prefs::kDiskCacheDir)); base 36 chrome/browser/profiles/profile_impl.h namespace base { base 65 chrome/browser/profiles/profile_impl.h virtual base::FilePath GetPath() const OVERRIDE; base 76 chrome/browser/profiles/profile_impl.h const base::FilePath& partition_path, base 105 chrome/browser/profiles/profile_impl.h virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; base 128 chrome/browser/profiles/profile_impl.h virtual base::Time GetStartTime() const OVERRIDE; base 133 chrome/browser/profiles/profile_impl.h const base::FilePath& partition_path, base 137 chrome/browser/profiles/profile_impl.h virtual base::FilePath last_selected_directory() OVERRIDE; base 138 chrome/browser/profiles/profile_impl.h virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; base 141 chrome/browser/profiles/profile_impl.h base::Time time, base 142 chrome/browser/profiles/profile_impl.h const base::Closure& completion) OVERRIDE; base 170 chrome/browser/profiles/profile_impl.h ProfileImpl(const base::FilePath& path, base 173 chrome/browser/profiles/profile_impl.h base::SequencedTaskRunner* sequenced_task_runner); base 206 chrome/browser/profiles/profile_impl.h base::FilePath* cache_path, base 214 chrome/browser/profiles/profile_impl.h base::FilePath path_; base 215 chrome/browser/profiles/profile_impl.h base::FilePath base_cache_path_; base 253 chrome/browser/profiles/profile_impl.h base::OneShotTimer<ProfileImpl> create_session_service_timer_; base 259 chrome/browser/profiles/profile_impl.h base::Time start_time_; base 71 chrome/browser/profiles/profile_impl_io_data.cc base::FieldTrialList::FindFullName("SimpleCacheTrial"); base 86 chrome/browser/profiles/profile_impl_io_data.cc return base::FieldTrialList::FindFullName("DomRel-Enable") == "enable"; base 123 chrome/browser/profiles/profile_impl_io_data.cc const base::FilePath& cookie_path, base 124 chrome/browser/profiles/profile_impl_io_data.cc const base::FilePath& server_bound_cert_path, base 125 chrome/browser/profiles/profile_impl_io_data.cc const base::FilePath& cache_path, base 127 chrome/browser/profiles/profile_impl_io_data.cc const base::FilePath& media_cache_path, base 129 chrome/browser/profiles/profile_impl_io_data.cc const base::FilePath& extensions_cookie_path, base 130 chrome/browser/profiles/profile_impl_io_data.cc const base::FilePath& profile_path, base 131 chrome/browser/profiles/profile_impl_io_data.cc const base::FilePath& infinite_cache_path, base 230 chrome/browser/profiles/profile_impl_io_data.cc const base::FilePath& partition_path, base 266 chrome/browser/profiles/profile_impl_io_data.cc const base::FilePath& partition_path, base 296 chrome/browser/profiles/profile_impl_io_data.cc base::Time time, base 297 chrome/browser/profiles/profile_impl_io_data.cc const base::Closure& completion) { base 303 chrome/browser/profiles/profile_impl_io_data.cc base::Bind( base 305 chrome/browser/profiles/profile_impl_io_data.cc base::Unretained(io_data_), base 405 chrome/browser/profiles/profile_impl_io_data.cc base::FilePath(), base 412 chrome/browser/profiles/profile_impl_io_data.cc base::WorkerPool::GetTaskRunner(true)); base 444 chrome/browser/profiles/profile_impl_io_data.cc base::WorkerPool::GetTaskRunner(true)); base 570 chrome/browser/profiles/profile_impl_io_data.cc base::FilePath cookie_path = partition_descriptor.path.Append( base 572 chrome/browser/profiles/profile_impl_io_data.cc base::FilePath cache_path = base 658 chrome/browser/profiles/profile_impl_io_data.cc base::FilePath cache_path; base 730 chrome/browser/profiles/profile_impl_io_data.cc base::Time time, base 731 chrome/browser/profiles/profile_impl_io_data.cc const base::Closure& completion) { base 48 chrome/browser/profiles/profile_impl_io_data.h void Init(const base::FilePath& cookie_path, base 49 chrome/browser/profiles/profile_impl_io_data.h const base::FilePath& server_bound_cert_path, base 50 chrome/browser/profiles/profile_impl_io_data.h const base::FilePath& cache_path, base 52 chrome/browser/profiles/profile_impl_io_data.h const base::FilePath& media_cache_path, base 54 chrome/browser/profiles/profile_impl_io_data.h const base::FilePath& extensions_cookie_path, base 55 chrome/browser/profiles/profile_impl_io_data.h const base::FilePath& profile_path, base 56 chrome/browser/profiles/profile_impl_io_data.h const base::FilePath& infinite_cache_path, base 73 chrome/browser/profiles/profile_impl_io_data.h const base::FilePath& partition_path, base 88 chrome/browser/profiles/profile_impl_io_data.h const base::FilePath& partition_path, base 95 chrome/browser/profiles/profile_impl_io_data.h void ClearNetworkingHistorySince(base::Time time, base 96 chrome/browser/profiles/profile_impl_io_data.h const base::Closure& completion); base 136 chrome/browser/profiles/profile_impl_io_data.h friend class base::RefCountedThreadSafe<ProfileImplIOData>; base 143 chrome/browser/profiles/profile_impl_io_data.h base::FilePath cookie_path; base 144 chrome/browser/profiles/profile_impl_io_data.h base::FilePath server_bound_cert_path; base 145 chrome/browser/profiles/profile_impl_io_data.h base::FilePath cache_path; base 147 chrome/browser/profiles/profile_impl_io_data.h base::FilePath media_cache_path; base 149 chrome/browser/profiles/profile_impl_io_data.h base::FilePath extensions_cookie_path; base 150 chrome/browser/profiles/profile_impl_io_data.h base::FilePath infinite_cache_path; base 196 chrome/browser/profiles/profile_impl_io_data.h void ClearNetworkingHistorySinceOnIOThread(base::Time time, base 197 chrome/browser/profiles/profile_impl_io_data.h const base::Closure& completion); base 221 chrome/browser/profiles/profile_impl_io_data.h base::FilePath profile_path_; base 157 chrome/browser/profiles/profile_info_cache.cc const base::FilePath& image_path, base 164 chrome/browser/profiles/profile_info_cache.cc base::FilePath dir = image_path.DirName(); base 165 chrome/browser/profiles/profile_info_cache.cc if (!base::DirectoryExists(dir) && !base::CreateDirectory(dir)) { base 170 chrome/browser/profiles/profile_info_cache.cc if (base::WriteFile(image_path, reinterpret_cast<char*>(&(*data)[0]), base 182 chrome/browser/profiles/profile_info_cache.cc void ReadBitmap(const base::FilePath& image_path, base 188 chrome/browser/profiles/profile_info_cache.cc if (!base::PathExists(image_path)) base 192 chrome/browser/profiles/profile_info_cache.cc if (!base::ReadFileToString(image_path, &image_data)) { base 198 chrome/browser/profiles/profile_info_cache.cc base::RefCountedString::TakeString(&image_data)); base 207 chrome/browser/profiles/profile_info_cache.cc void DeleteBitmap(const base::FilePath& image_path) { base 209 chrome/browser/profiles/profile_info_cache.cc base::DeleteFile(image_path, false); base 212 chrome/browser/profiles/profile_info_cache.cc bool IsDefaultName(const base::string16& name) { base 225 chrome/browser/profiles/profile_info_cache.cc IDS_NEW_NUMBERED_PROFILE_NAME, base::string16()) + "%d"; base 228 chrome/browser/profiles/profile_info_cache.cc int assignments = sscanf(base::UTF16ToUTF8(name).c_str(), base 238 chrome/browser/profiles/profile_info_cache.cc const base::FilePath& user_data_dir) base 243 chrome/browser/profiles/profile_info_cache.cc base::DictionaryValue* cache = update.Get(); base 244 chrome/browser/profiles/profile_info_cache.cc for (base::DictionaryValue::Iterator it(*cache); base 246 chrome/browser/profiles/profile_info_cache.cc base::DictionaryValue* info = NULL; base 248 chrome/browser/profiles/profile_info_cache.cc base::string16 name; base 267 chrome/browser/profiles/profile_info_cache.cc void ProfileInfoCache::AddProfileToCache(const base::FilePath& profile_path, base 268 chrome/browser/profiles/profile_info_cache.cc const base::string16& name, base 269 chrome/browser/profiles/profile_info_cache.cc const base::string16& username, base 274 chrome/browser/profiles/profile_info_cache.cc base::DictionaryValue* cache = update.Get(); base 276 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info(new base::DictionaryValue); base 309 chrome/browser/profiles/profile_info_cache.cc const base::FilePath& profile_path) { base 315 chrome/browser/profiles/profile_info_cache.cc base::string16 name = GetNameOfProfileAtIndex(profile_index); base 322 chrome/browser/profiles/profile_info_cache.cc base::DictionaryValue* cache = update.Get(); base 342 chrome/browser/profiles/profile_info_cache.cc const base::FilePath& profile_path) const { base 353 chrome/browser/profiles/profile_info_cache.cc base::string16 ProfileInfoCache::GetNameOfProfileAtIndex(size_t index) const { base 354 chrome/browser/profiles/profile_info_cache.cc base::string16 name; base 358 chrome/browser/profiles/profile_info_cache.cc base::string16 given_name = GetGAIAGivenNameOfProfileAtIndex(index); base 366 chrome/browser/profiles/profile_info_cache.cc base::string16 ProfileInfoCache::GetShortcutNameOfProfileAtIndex(size_t index) base 368 chrome/browser/profiles/profile_info_cache.cc base::string16 shortcut_name; base 374 chrome/browser/profiles/profile_info_cache.cc base::FilePath ProfileInfoCache::GetPathOfProfileAtIndex(size_t index) const { base 378 chrome/browser/profiles/profile_info_cache.cc base::Time ProfileInfoCache::GetProfileActiveTimeAtIndex(size_t index) const { base 381 chrome/browser/profiles/profile_info_cache.cc return base::Time::FromDoubleT(dt); base 383 chrome/browser/profiles/profile_info_cache.cc return base::Time(); base 387 chrome/browser/profiles/profile_info_cache.cc base::string16 ProfileInfoCache::GetUserNameOfProfileAtIndex( base 389 chrome/browser/profiles/profile_info_cache.cc base::string16 user_name; base 431 chrome/browser/profiles/profile_info_cache.cc base::string16 ProfileInfoCache::GetGAIANameOfProfileAtIndex( base 433 chrome/browser/profiles/profile_info_cache.cc base::string16 name; base 438 chrome/browser/profiles/profile_info_cache.cc base::string16 ProfileInfoCache::GetGAIAGivenNameOfProfileAtIndex( base 440 chrome/browser/profiles/profile_info_cache.cc base::string16 name; base 447 chrome/browser/profiles/profile_info_cache.cc base::FilePath path = GetPathOfProfileAtIndex(index); base 458 chrome/browser/profiles/profile_info_cache.cc base::FilePath image_path = path.AppendASCII(file_name); base 467 chrome/browser/profiles/profile_info_cache.cc base::FilePath user_data_dir; base 469 chrome/browser/profiles/profile_info_cache.cc base::FilePath image_path = base 476 chrome/browser/profiles/profile_info_cache.cc const base::FilePath& image_path) const { base 491 chrome/browser/profiles/profile_info_cache.cc base::Bind(&ReadBitmap, image_path, image), base 492 chrome/browser/profiles/profile_info_cache.cc base::Bind(&ProfileInfoCache::OnAvatarPictureLoaded, base 554 chrome/browser/profiles/profile_info_cache.cc void ProfileInfoCache::OnGAIAPictureSaved(const base::FilePath& path, base 586 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 588 chrome/browser/profiles/profile_info_cache.cc info->SetDouble(kActiveTimeKey, base::Time::Now().ToDoubleT()); base 594 chrome/browser/profiles/profile_info_cache.cc const base::string16& name) { base 595 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 597 chrome/browser/profiles/profile_info_cache.cc base::string16 current_name; base 602 chrome/browser/profiles/profile_info_cache.cc base::string16 old_display_name = GetNameOfProfileAtIndex(index); base 608 chrome/browser/profiles/profile_info_cache.cc base::string16 new_display_name = GetNameOfProfileAtIndex(index); base 609 chrome/browser/profiles/profile_info_cache.cc base::FilePath profile_path = GetPathOfProfileAtIndex(index); base 621 chrome/browser/profiles/profile_info_cache.cc const base::string16& shortcut_name) { base 624 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 633 chrome/browser/profiles/profile_info_cache.cc const base::string16& user_name) { base 637 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 646 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 652 chrome/browser/profiles/profile_info_cache.cc base::FilePath profile_path = GetPathOfProfileAtIndex(index); base 662 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 671 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 681 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 693 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 701 chrome/browser/profiles/profile_info_cache.cc const base::string16& name) { base 705 chrome/browser/profiles/profile_info_cache.cc base::string16 old_display_name = GetNameOfProfileAtIndex(index); base 706 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 711 chrome/browser/profiles/profile_info_cache.cc base::string16 new_display_name = GetNameOfProfileAtIndex(index); base 712 chrome/browser/profiles/profile_info_cache.cc base::FilePath profile_path = GetPathOfProfileAtIndex(index); base 724 chrome/browser/profiles/profile_info_cache.cc const base::string16& name) { base 728 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 737 chrome/browser/profiles/profile_info_cache.cc base::FilePath path = GetPathOfProfileAtIndex(index); base 756 chrome/browser/profiles/profile_info_cache.cc base::FilePath image_path = path.AppendASCII(old_file_name); base 758 chrome/browser/profiles/profile_info_cache.cc base::Bind(&DeleteBitmap, image_path)); base 764 chrome/browser/profiles/profile_info_cache.cc scoped_refptr<base::RefCountedMemory> png_data = image->As1xPNGBytes(); base 771 chrome/browser/profiles/profile_info_cache.cc base::FilePath image_path = path.AppendASCII(new_file_name); base 774 chrome/browser/profiles/profile_info_cache.cc base::Bind(&SaveBitmap, data.release(), image_path, success), base 775 chrome/browser/profiles/profile_info_cache.cc base::Bind(&ProfileInfoCache::OnGAIAPictureSaved, AsWeakPtr(), base 780 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 793 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 800 chrome/browser/profiles/profile_info_cache.cc base::FilePath profile_path = GetPathOfProfileAtIndex(index); base 811 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 817 chrome/browser/profiles/profile_info_cache.cc base::FilePath profile_path = GetPathOfProfileAtIndex(index); base 827 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 839 chrome/browser/profiles/profile_info_cache.cc scoped_ptr<base::DictionaryValue> info( base 846 chrome/browser/profiles/profile_info_cache.cc base::string16 ProfileInfoCache::ChooseNameForNewProfile( base 848 chrome/browser/profiles/profile_info_cache.cc base::string16 name; base 860 chrome/browser/profiles/profile_info_cache.cc name.append(base::UTF8ToUTF16(base::IntToString(name_index))); base 896 chrome/browser/profiles/profile_info_cache.cc int rand = base::RandInt(0, count); base 924 chrome/browser/profiles/profile_info_cache.cc const base::FilePath& ProfileInfoCache::GetUserDataDir() const { base 942 chrome/browser/profiles/profile_info_cache.cc return base::StringPrintf("%s%" PRIuS, kDefaultUrlPrefix, index); base 958 chrome/browser/profiles/profile_info_cache.cc if (base::StringToInt(base::StringPiece(url.begin() + base 972 chrome/browser/profiles/profile_info_cache.cc const base::DictionaryValue* ProfileInfoCache::GetInfoForProfileAtIndex( base 975 chrome/browser/profiles/profile_info_cache.cc const base::DictionaryValue* cache = base 977 chrome/browser/profiles/profile_info_cache.cc const base::DictionaryValue* info = NULL; base 983 chrome/browser/profiles/profile_info_cache.cc size_t index, base::DictionaryValue* info) { base 985 chrome/browser/profiles/profile_info_cache.cc base::DictionaryValue* cache = update.Get(); base 991 chrome/browser/profiles/profile_info_cache.cc base::DictionaryValue* info) { base 1001 chrome/browser/profiles/profile_info_cache.cc const base::FilePath& profile_path) const { base 1003 chrome/browser/profiles/profile_info_cache.cc base::FilePath base_name = profile_path.BaseName(); base 1009 chrome/browser/profiles/profile_info_cache.cc const base::string16& search_name) { base 1010 chrome/browser/profiles/profile_info_cache.cc base::string16 search_name_l = base::i18n::ToLower(search_name); base 1012 chrome/browser/profiles/profile_info_cache.cc base::string16 name_l = base::i18n::ToLower(GetNameOfProfileAtIndex(i)); base 1026 chrome/browser/profiles/profile_info_cache.cc base::string16 name = GetNameOfProfileAtIndex(index); base 1043 chrome/browser/profiles/profile_info_cache.cc std::vector<base::string16> ProfileInfoCache::GetProfileNames() { base 1044 chrome/browser/profiles/profile_info_cache.cc std::vector<base::string16> names; base 1046 chrome/browser/profiles/profile_info_cache.cc const base::DictionaryValue* cache = local_state->GetDictionary( base 1048 chrome/browser/profiles/profile_info_cache.cc base::string16 name; base 1049 chrome/browser/profiles/profile_info_cache.cc for (base::DictionaryValue::Iterator it(*cache); !it.IsAtEnd(); base 1051 chrome/browser/profiles/profile_info_cache.cc const base::DictionaryValue* info = NULL; base 25 chrome/browser/profiles/profile_info_cache.h namespace base { base 36 chrome/browser/profiles/profile_info_cache.h public base::SupportsWeakPtr<ProfileInfoCache> { base 38 chrome/browser/profiles/profile_info_cache.h ProfileInfoCache(PrefService* prefs, const base::FilePath& user_data_dir); base 47 chrome/browser/profiles/profile_info_cache.h void AddProfileToCache(const base::FilePath& profile_path, base 48 chrome/browser/profiles/profile_info_cache.h const base::string16& name, base 49 chrome/browser/profiles/profile_info_cache.h const base::string16& username, base 52 chrome/browser/profiles/profile_info_cache.h void DeleteProfileFromCache(const base::FilePath& profile_path); base 59 chrome/browser/profiles/profile_info_cache.h const base::FilePath& profile_path) const OVERRIDE; base 60 chrome/browser/profiles/profile_info_cache.h virtual base::string16 GetNameOfProfileAtIndex(size_t index) const OVERRIDE; base 61 chrome/browser/profiles/profile_info_cache.h virtual base::string16 GetShortcutNameOfProfileAtIndex(size_t index) base 63 chrome/browser/profiles/profile_info_cache.h virtual base::FilePath GetPathOfProfileAtIndex(size_t index) const OVERRIDE; base 64 chrome/browser/profiles/profile_info_cache.h virtual base::Time GetProfileActiveTimeAtIndex(size_t index) const OVERRIDE; base 65 chrome/browser/profiles/profile_info_cache.h virtual base::string16 GetUserNameOfProfileAtIndex( base 76 chrome/browser/profiles/profile_info_cache.h virtual base::string16 GetGAIANameOfProfileAtIndex( base 78 chrome/browser/profiles/profile_info_cache.h virtual base::string16 GetGAIAGivenNameOfProfileAtIndex( base 98 chrome/browser/profiles/profile_info_cache.h void SetNameOfProfileAtIndex(size_t index, const base::string16& name); base 100 chrome/browser/profiles/profile_info_cache.h const base::string16& name); base 102 chrome/browser/profiles/profile_info_cache.h const base::string16& user_name); base 110 chrome/browser/profiles/profile_info_cache.h void SetGAIANameOfProfileAtIndex(size_t index, const base::string16& name); base 112 chrome/browser/profiles/profile_info_cache.h const base::string16& name); base 120 chrome/browser/profiles/profile_info_cache.h base::string16 ChooseNameForNewProfile(size_t icon_index) const; base 127 chrome/browser/profiles/profile_info_cache.h const base::FilePath& GetUserDataDir() const; base 146 chrome/browser/profiles/profile_info_cache.h static std::vector<base::string16> GetProfileNames(); base 155 chrome/browser/profiles/profile_info_cache.h const base::DictionaryValue* GetInfoForProfileAtIndex(size_t index) const; base 160 chrome/browser/profiles/profile_info_cache.h base::DictionaryValue* info); base 161 chrome/browser/profiles/profile_info_cache.h void SetInfoForProfileAtIndex(size_t index, base::DictionaryValue* info); base 162 chrome/browser/profiles/profile_info_cache.h std::string CacheKeyFromProfilePath(const base::FilePath& profile_path) const; base 165 chrome/browser/profiles/profile_info_cache.h const base::string16& search_name); base 186 chrome/browser/profiles/profile_info_cache.h const base::FilePath& image_path) const; base 189 chrome/browser/profiles/profile_info_cache.h void OnGAIAPictureSaved(const base::FilePath& path, bool* success) const; base 193 chrome/browser/profiles/profile_info_cache.h base::FilePath user_data_dir_; base 11 chrome/browser/profiles/profile_info_cache_observer.h namespace base { base 21 chrome/browser/profiles/profile_info_cache_observer.h virtual void OnProfileAdded(const base::FilePath& profile_path) {} base 22 chrome/browser/profiles/profile_info_cache_observer.h virtual void OnProfileWillBeRemoved(const base::FilePath& profile_path) {} base 23 chrome/browser/profiles/profile_info_cache_observer.h virtual void OnProfileWasRemoved(const base::FilePath& profile_path, base 24 chrome/browser/profiles/profile_info_cache_observer.h const base::string16& profile_name) {} base 25 chrome/browser/profiles/profile_info_cache_observer.h virtual void OnProfileNameChanged(const base::FilePath& profile_path, base 26 chrome/browser/profiles/profile_info_cache_observer.h const base::string16& old_profile_name) {} base 27 chrome/browser/profiles/profile_info_cache_observer.h virtual void OnProfileAvatarChanged(const base::FilePath& profile_path) {} base 29 chrome/browser/profiles/profile_info_cache_observer.h const base::FilePath& profile_path) {} base 29 chrome/browser/profiles/profile_info_cache_unittest.cc using base::ASCIIToUTF16; base 30 chrome/browser/profiles/profile_info_cache_unittest.cc using base::UTF8ToUTF16; base 43 chrome/browser/profiles/profile_info_cache_unittest.cc const base::FilePath& profile_path) { base 44 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 profile_name = GetCache()->GetNameOfProfileAtIndex( base 51 chrome/browser/profiles/profile_info_cache_unittest.cc const base::FilePath& profile_path) { base 52 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 profile_name = GetCache()->GetNameOfProfileAtIndex( base 59 chrome/browser/profiles/profile_info_cache_unittest.cc const base::FilePath& profile_path, base 60 chrome/browser/profiles/profile_info_cache_unittest.cc const base::string16& profile_name) { base 65 chrome/browser/profiles/profile_info_cache_unittest.cc const base::FilePath& profile_path, base 66 chrome/browser/profiles/profile_info_cache_unittest.cc const base::string16& old_profile_name) { base 67 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 new_profile_name = GetCache()->GetNameOfProfileAtIndex( base 76 chrome/browser/profiles/profile_info_cache_unittest.cc const base::FilePath& profile_path) { base 77 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 profile_name = GetCache()->GetNameOfProfileAtIndex( base 102 chrome/browser/profiles/profile_info_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 109 chrome/browser/profiles/profile_info_cache_unittest.cc base::FilePath ProfileInfoCacheTest::GetProfilePath( base 126 chrome/browser/profiles/profile_info_cache_unittest.cc base::FilePath profile_path = base 127 chrome/browser/profiles/profile_info_cache_unittest.cc GetProfilePath(base::StringPrintf("path_%ud", i)); base 128 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 profile_name = base 129 chrome/browser/profiles/profile_info_cache_unittest.cc ASCIIToUTF16(base::StringPrintf("name_%ud", i)); base 135 chrome/browser/profiles/profile_info_cache_unittest.cc GetCache()->AddProfileToCache(profile_path, profile_name, base::string16(), base 138 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 gaia_name = ASCIIToUTF16(base::StringPrintf("gaia_%ud", i)); base 158 chrome/browser/profiles/profile_info_cache_unittest.cc base::FilePath profile_path = base 159 chrome/browser/profiles/profile_info_cache_unittest.cc GetProfilePath(base::StringPrintf("path_%ud", i)); base 161 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 profile_name = base 162 chrome/browser/profiles/profile_info_cache_unittest.cc ASCIIToUTF16(base::StringPrintf("name_%ud", i)); base 166 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 gaia_name = ASCIIToUTF16(base::StringPrintf("gaia_%ud", i)); base 174 chrome/browser/profiles/profile_info_cache_unittest.cc base::FilePath path_1 = GetProfilePath("path_1"); base 176 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 179 chrome/browser/profiles/profile_info_cache_unittest.cc base::FilePath path_2 = GetProfilePath("path_2"); base 180 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 name_2 = ASCIIToUTF16("name_2"); base 181 chrome/browser/profiles/profile_info_cache_unittest.cc GetCache()->AddProfileToCache(path_2, name_2, base::string16(), 0, base 196 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 199 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 201 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 new_name = ASCIIToUTF16("new_name"); base 206 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 new_user_name = ASCIIToUTF16("user_name"); base 218 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 name_a = ASCIIToUTF16("apple"); base 220 chrome/browser/profiles/profile_info_cache_unittest.cc GetProfilePath("path_a"), name_a, base::string16(), 0, std::string()); base 222 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 name_c = ASCIIToUTF16("cat"); base 224 chrome/browser/profiles/profile_info_cache_unittest.cc GetProfilePath("path_c"), name_c, base::string16(), 0, std::string()); base 231 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 name_b = ASCIIToUTF16("Banana"); base 233 chrome/browser/profiles/profile_info_cache_unittest.cc GetProfilePath("path_b"), name_b, base::string16(), 0, std::string()); base 260 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 263 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 287 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 288 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(base::Time(), GetCache()->GetProfileActiveTimeAtIndex(0)); base 293 chrome/browser/profiles/profile_info_cache_unittest.cc base::Time before = base::Time::Now(); base 294 chrome/browser/profiles/profile_info_cache_unittest.cc before -= base::TimeDelta::FromSeconds(1); base 296 chrome/browser/profiles/profile_info_cache_unittest.cc base::Time after = base::Time::Now(); base 297 chrome/browser/profiles/profile_info_cache_unittest.cc after += base::TimeDelta::FromSeconds(1); base 305 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 306 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 profile_name(ASCIIToUTF16("Person 2")); base 308 chrome/browser/profiles/profile_info_cache_unittest.cc GetProfilePath("path_2"), profile_name, base::string16(), 0, base 319 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 gaia_name(ASCIIToUTF16("Pat Smith")); base 330 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 custom_name(ASCIIToUTF16("Custom name")); base 342 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 345 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 387 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 415 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16(), 0, std::string()); base 431 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 profile_name = ASCIIToUTF16("name_1"); base 437 chrome/browser/profiles/profile_info_cache_unittest.cc GetProfilePath("path_1"), profile_name, base::string16(), 0, base 441 chrome/browser/profiles/profile_info_cache_unittest.cc GetCache()->SetGAIANameOfProfileAtIndex(0, base::string16()); base 453 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 managed_user_name = ASCIIToUTF16("Supervised User"); base 486 chrome/browser/profiles/profile_info_cache_unittest.cc base::FilePath profile_path = GetProfilePath(kTestCases[i].profile_path); base 487 chrome/browser/profiles/profile_info_cache_unittest.cc base::string16 profile_name = ASCIIToUTF16(kTestCases[i].profile_name); base 489 chrome/browser/profiles/profile_info_cache_unittest.cc GetCache()->AddProfileToCache(profile_path, profile_name, base::string16(), base 499 chrome/browser/profiles/profile_info_cache_unittest.cc std::vector<base::string16> names = ProfileInfoCache::GetProfileNames(); base 17 chrome/browser/profiles/profile_info_cache_unittest.h namespace base { base 30 chrome/browser/profiles/profile_info_cache_unittest.h virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; base 32 chrome/browser/profiles/profile_info_cache_unittest.h const base::FilePath& profile_path) OVERRIDE; base 34 chrome/browser/profiles/profile_info_cache_unittest.h const base::FilePath& profile_path, base 35 chrome/browser/profiles/profile_info_cache_unittest.h const base::string16& profile_name) OVERRIDE; base 37 chrome/browser/profiles/profile_info_cache_unittest.h const base::FilePath& profile_path, base 38 chrome/browser/profiles/profile_info_cache_unittest.h const base::string16& old_profile_name) OVERRIDE; base 39 chrome/browser/profiles/profile_info_cache_unittest.h virtual void OnProfileAvatarChanged(const base::FilePath& profile_path) OVERRIDE; base 43 chrome/browser/profiles/profile_info_cache_unittest.h std::set<base::string16> profile_names_; base 57 chrome/browser/profiles/profile_info_cache_unittest.h base::FilePath GetProfilePath(const std::string& base_name); base 11 chrome/browser/profiles/profile_info_interface.h namespace base { base 27 chrome/browser/profiles/profile_info_interface.h const base::FilePath& profile_path) const = 0; base 29 chrome/browser/profiles/profile_info_interface.h virtual base::Time GetProfileActiveTimeAtIndex(size_t index) const = 0; base 31 chrome/browser/profiles/profile_info_interface.h virtual base::string16 GetNameOfProfileAtIndex(size_t index) const = 0; base 33 chrome/browser/profiles/profile_info_interface.h virtual base::string16 GetShortcutNameOfProfileAtIndex( base 36 chrome/browser/profiles/profile_info_interface.h virtual base::FilePath GetPathOfProfileAtIndex(size_t index) const = 0; base 38 chrome/browser/profiles/profile_info_interface.h virtual base::string16 GetUserNameOfProfileAtIndex(size_t index) const = 0; base 51 chrome/browser/profiles/profile_info_interface.h virtual base::string16 GetGAIANameOfProfileAtIndex(size_t index) const = 0; base 53 chrome/browser/profiles/profile_info_interface.h virtual base::string16 GetGAIAGivenNameOfProfileAtIndex( base 133 chrome/browser/profiles/profile_io_data.cc bool IsSupportedDevToolsURL(const GURL& url, base::FilePath* path) { base 166 chrome/browser/profiles/profile_io_data.cc base::FilePath p( base 167 chrome/browser/profiles/profile_io_data.cc base::FilePath::StringType(relative_path.begin(), relative_path.end())); base 171 chrome/browser/profiles/profile_io_data.cc base::FilePath inspector_dir; base 191 chrome/browser/profiles/profile_io_data.cc base::FilePath path; base 197 chrome/browser/profiles/profile_io_data.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); base 254 chrome/browser/profiles/profile_io_data.cc base::Bind( base 267 chrome/browser/profiles/profile_io_data.cc base::Bind(&DidGetTPMInfoForUserOnUIThread, username_hash)); base 277 chrome/browser/profiles/profile_io_data.cc base::Bind(&GetTPMInfoForUserOnUIThread, username, username_hash)); base 282 chrome/browser/profiles/profile_io_data.cc const base::FilePath& path, base 298 chrome/browser/profiles/profile_io_data.cc if (crypto::IsTPMTokenReady(base::Bind( base 358 chrome/browser/profiles/profile_io_data.cc base::Bind(&StartNSSInitOnIOThread, base 378 chrome/browser/profiles/profile_io_data.cc scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy = base 442 chrome/browser/profiles/profile_io_data.cc base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); base 443 chrome/browser/profiles/profile_io_data.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner = base 451 chrome/browser/profiles/profile_io_data.cc base::Bind(policy::OverrideBlacklistForURL))); base 536 chrome/browser/profiles/profile_io_data.cc base::debug::Alias(&num_app_contexts); base 537 chrome/browser/profiles/profile_io_data.cc base::debug::Alias(&num_media_contexts); base 538 chrome/browser/profiles/profile_io_data.cc base::debug::Alias(¤t_context); base 539 chrome/browser/profiles/profile_io_data.cc base::debug::Alias(app_context_cache); base 540 chrome/browser/profiles/profile_io_data.cc base::debug::Alias(app_context_vtable_cache); base 541 chrome/browser/profiles/profile_io_data.cc base::debug::Alias(media_context_cache); base 542 chrome/browser/profiles/profile_io_data.cc base::debug::Alias(media_context_vtable_cache); base 543 chrome/browser/profiles/profile_io_data.cc base::debug::Alias(&tmp_vtable); base 740 chrome/browser/profiles/profile_io_data.cc return base::Bind(&MediaDeviceIDSalt::GetSalt, media_device_id_salt_); base 784 chrome/browser/profiles/profile_io_data.cc base::WeakPtr<net::HttpServerProperties> base 822 chrome/browser/profiles/profile_io_data.cc base::Bind(&CreateCryptoModuleBlockingPasswordDelegate, base 826 chrome/browser/profiles/profile_io_data.cc base::Bind(&CreateCryptoModuleBlockingPasswordDelegate, base 846 chrome/browser/profiles/profile_io_data.cc const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) { base 859 chrome/browser/profiles/profile_io_data.cc base::Closure bound_callback = base 860 chrome/browser/profiles/profile_io_data.cc base::Bind(callback, base::Passed(&keygen_handler)); base 903 chrome/browser/profiles/profile_io_data.cc return base::StringPrintf("profile/%u", ssl_session_cache_instance++); base 1037 chrome/browser/profiles/profile_io_data.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN))); base 220 chrome/browser/profiles/profile_io_data.h const base::Callback<scoped_ptr<net::ClientCertStore>()>& factory) { base 265 chrome/browser/profiles/profile_io_data.h base::FilePath path; base 336 chrome/browser/profiles/profile_io_data.h base::WeakPtr<net::HttpServerProperties> http_server_properties() const; base 378 chrome/browser/profiles/profile_io_data.h const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) base 472 chrome/browser/profiles/profile_io_data.h mutable base::Callback<scoped_ptr<net::ClientCertStore>()> base 32 chrome/browser/profiles/profile_list.h virtual void ActiveProfilePathChanged(base::FilePath& path) = 0; base 100 chrome/browser/profiles/profile_list_desktop.cc void ProfileListDesktop::ActiveProfilePathChanged(base::FilePath& path) { base 31 chrome/browser/profiles/profile_list_desktop.h virtual void ActiveProfilePathChanged(base::FilePath& path) OVERRIDE; base 40 chrome/browser/profiles/profile_list_desktop.h base::FilePath active_profile_path_; base 28 chrome/browser/profiles/profile_list_desktop_browsertest.cc base::MessageLoop::current()->Quit(); base 101 chrome/browser/profiles/profile_list_desktop_browsertest.cc base::FilePath path_profile1 = current_profile->GetPath(); base 102 chrome/browser/profiles/profile_list_desktop_browsertest.cc base::FilePath user_dir = cache.GetUserDataDir(); base 105 chrome/browser/profiles/profile_list_desktop_browsertest.cc base::FilePath path_profile2 = user_dir.Append( base 108 chrome/browser/profiles/profile_list_desktop_browsertest.cc base::Bind(&OnUnblockOnProfileCreation), base 109 chrome/browser/profiles/profile_list_desktop_browsertest.cc base::string16(), base::string16(), base 23 chrome/browser/profiles/profile_list_desktop_unittest.cc using base::ASCIIToUTF16; base 80 chrome/browser/profiles/profile_list_desktop_unittest.cc base::string16(), 0, "TEST_ID"); base 276 chrome/browser/profiles/profile_list_desktop_unittest.cc base::FieldTrialList field_trial_list_(NULL); base 277 chrome/browser/profiles/profile_list_desktop_unittest.cc base::FieldTrialList::CreateFieldTrial("ShowProfileSwitcher", "AlwaysShow"); base 325 chrome/browser/profiles/profile_list_desktop_unittest.cc base::FilePath path = cache->GetUserDataDir().AppendASCII("p2"); base 326 chrome/browser/profiles/profile_list_desktop_unittest.cc cache->AddProfileToCache(path, ASCIIToUTF16("Test 2"), base::string16(), 0, base 337 chrome/browser/profiles/profile_list_desktop_unittest.cc base::string16 managed_user_label = base 88 chrome/browser/profiles/profile_manager.cc using base::UserMetricsAction; base 94 chrome/browser/profiles/profile_manager.cc std::vector<base::FilePath>& ProfilesToDelete() { base 95 chrome/browser/profiles/profile_manager.cc CR_DEFINE_STATIC_LOCAL(std::vector<base::FilePath>, profiles_to_delete, ()); base 99 chrome/browser/profiles/profile_manager.cc int64 ComputeFilesSize(const base::FilePath& directory, base 100 chrome/browser/profiles/profile_manager.cc const base::FilePath::StringType& pattern) { base 102 chrome/browser/profiles/profile_manager.cc base::FileEnumerator iter(directory, false, base::FileEnumerator::FILES, base 110 chrome/browser/profiles/profile_manager.cc void ProfileSizeTask(const base::FilePath& path, int enabled_app_count) { base 163 chrome/browser/profiles/profile_manager.cc void QueueProfileDirectoryForDeletion(const base::FilePath& path) { base 167 chrome/browser/profiles/profile_manager.cc bool IsProfileMarkedForDeletion(const base::FilePath& profile_path) { base 173 chrome/browser/profiles/profile_manager.cc void NukeProfileFromDisk(const base::FilePath& profile_path) { base 175 chrome/browser/profiles/profile_manager.cc base::FilePath cache_path; base 177 chrome/browser/profiles/profile_manager.cc base::DeleteFile(profile_path, true); base 178 chrome/browser/profiles/profile_manager.cc base::DeleteFile(cache_path, true); base 217 chrome/browser/profiles/profile_manager.cc ProfileManager::ProfileManager(const base::FilePath& user_data_dir) base 273 chrome/browser/profiles/profile_manager.cc for (std::vector<base::FilePath>::iterator it = base 344 chrome/browser/profiles/profile_manager.cc Profile* ProfileManager::GetProfile(const base::FilePath& profile_dir) { base 366 chrome/browser/profiles/profile_manager.cc const base::FilePath& profile_path, base 368 chrome/browser/profiles/profile_manager.cc const base::string16& name, base 369 chrome/browser/profiles/profile_manager.cc const base::string16& icon_url, base 392 chrome/browser/profiles/profile_manager.cc std::string icon_url_std = base::UTF16ToASCII(icon_url); base 395 chrome/browser/profiles/profile_manager.cc cache.AddProfileToCache(profile_path, name, base::string16(), icon_index, base 441 chrome/browser/profiles/profile_manager.cc base::FilePath ProfileManager::GetInitialProfileDir() { base 442 chrome/browser/profiles/profile_manager.cc base::FilePath relative_profile_dir; base 446 chrome/browser/profiles/profile_manager.cc base::FilePath profile_dir; base 459 chrome/browser/profiles/profile_manager.cc return base::FilePath(""); base 482 chrome/browser/profiles/profile_manager.cc const base::FilePath& user_data_dir) { base 490 chrome/browser/profiles/profile_manager.cc base::FilePath profile_dir; base 506 chrome/browser/profiles/profile_manager.cc base::FilePath profile_path(user_data_dir); base 516 chrome/browser/profiles/profile_manager.cc base::FilePath ProfileManager::GetLastUsedProfileDir( base 517 chrome/browser/profiles/profile_manager.cc const base::FilePath& user_data_dir) { base 518 chrome/browser/profiles/profile_manager.cc base::FilePath last_used_profile_dir(user_data_dir); base 531 chrome/browser/profiles/profile_manager.cc const base::FilePath& user_data_dir) { base 539 chrome/browser/profiles/profile_manager.cc scoped_ptr<base::ListValue> profile_list( base 541 chrome/browser/profiles/profile_manager.cc base::ListValue::const_iterator it; base 564 chrome/browser/profiles/profile_manager.cc Profile* ProfileManager::GetProfileByPath(const base::FilePath& path) const { base 570 chrome/browser/profiles/profile_manager.cc base::FilePath ProfileManager::CreateMultiProfileAsync( base 571 chrome/browser/profiles/profile_manager.cc const base::string16& name, base 572 chrome/browser/profiles/profile_manager.cc const base::string16& icon_url, base 579 chrome/browser/profiles/profile_manager.cc base::FilePath new_path = profile_manager->GenerateNextProfileDirectoryPath(); base 590 chrome/browser/profiles/profile_manager.cc base::FilePath ProfileManager::GetGuestProfilePath() { base 595 chrome/browser/profiles/profile_manager.cc base::FilePath guest_path = profile_manager->user_data_dir(); base 599 chrome/browser/profiles/profile_manager.cc base::FilePath ProfileManager::GenerateNextProfileDirectoryPath() { base 608 chrome/browser/profiles/profile_manager.cc profile_name.append(base::IntToString(next_directory)); base 609 chrome/browser/profiles/profile_manager.cc base::FilePath new_path = user_data_dir_; base 611 chrome/browser/profiles/profile_manager.cc new_path = new_path.Append(base::ASCIIToUTF16(profile_name)); base 632 chrome/browser/profiles/profile_manager.cc const base::FilePath& profile_dir, base 642 chrome/browser/profiles/profile_manager.cc base::FilePath last_non_managed_profile_path; base 644 chrome/browser/profiles/profile_manager.cc base::FilePath cur_path = cache.GetPathOfProfileAtIndex(i); base 658 chrome/browser/profiles/profile_manager.cc base::FilePath new_path = GenerateNextProfileDirectoryPath(); base 665 chrome/browser/profiles/profile_manager.cc base::string16(), base 666 chrome/browser/profiles/profile_manager.cc base::string16(), base 674 chrome/browser/profiles/profile_manager.cc base::Bind(&ProfileManager::OnNewActiveProfileLoaded, base 675 chrome/browser/profiles/profile_manager.cc base::Unretained(this), base 679 chrome/browser/profiles/profile_manager.cc base::string16(), base 680 chrome/browser/profiles/profile_manager.cc base::string16(), base 695 chrome/browser/profiles/profile_manager.cc const std::vector<base::FilePath>& profile_paths) { base 698 chrome/browser/profiles/profile_manager.cc for (std::vector<base::FilePath>::const_iterator it = profile_paths.begin(); base 745 chrome/browser/profiles/profile_manager.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_cache_index)); base 753 chrome/browser/profiles/profile_manager.cc base::UTF16ToUTF8(cache.ChooseNameForNewProfile(avatar_index)) : base 758 chrome/browser/profiles/profile_manager.cc base::UTF16ToUTF8(cache.ChooseNameForNewProfile(avatar_index)); base 810 chrome/browser/profiles/profile_manager.cc base::Bind(&CheckCryptohomeIsMounted)); base 813 chrome/browser/profiles/profile_manager.cc base::FilePath default_profile_dir = user_data_dir_.Append( base 883 chrome/browser/profiles/profile_manager.cc base::ListValue* profile_list = update.Get(); base 899 chrome/browser/profiles/profile_manager.cc profile_list->Append(new base::StringValue(profile_path)); base 997 chrome/browser/profiles/profile_manager.cc base::Bind(&ProfileSizeTask, profile->GetPath(), enabled_app_count), base 998 chrome/browser/profiles/profile_manager.cc base::TimeDelta::FromSeconds(112)); base 1001 chrome/browser/profiles/profile_manager.cc Profile* ProfileManager::CreateProfileHelper(const base::FilePath& path) { base 1005 chrome/browser/profiles/profile_manager.cc Profile* ProfileManager::CreateProfileAsyncHelper(const base::FilePath& path, base 1013 chrome/browser/profiles/profile_manager.cc const base::FilePath& user_data_dir) { base 1015 chrome/browser/profiles/profile_manager.cc base::FilePath default_profile_dir(user_data_dir); base 1043 chrome/browser/profiles/profile_manager.cc base::FilePath default_profile_dir(user_data_dir); base 1067 chrome/browser/profiles/profile_manager.cc void ProfileManager::FinishDeletingProfile(const base::FilePath& profile_dir) { base 1099 chrome/browser/profiles/profile_manager.cc const base::FilePath& path) const { base 1114 chrome/browser/profiles/profile_manager.cc base::string16 username = base::UTF8ToUTF16(profile->GetPrefs()->GetString( base 1119 chrome/browser/profiles/profile_manager.cc base::string16 profile_name = base 1120 chrome/browser/profiles/profile_manager.cc base::UTF8ToUTF16(profile->GetPrefs()->GetString(prefs::kProfileName)); base 1206 chrome/browser/profiles/profile_manager.cc base::FilePath path = profile->GetPath(); base 1249 chrome/browser/profiles/profile_manager.cc const base::FilePath& profile_to_delete_path, base 1250 chrome/browser/profiles/profile_manager.cc const base::FilePath& last_non_managed_profile_path, base 1276 chrome/browser/profiles/profile_manager.cc const base::FilePath& user_data_dir) : ProfileManager(user_data_dir) { base 30 chrome/browser/profiles/profile_manager.h class ProfileManager : public base::NonThreadSafe, base 34 chrome/browser/profiles/profile_manager.h typedef base::Callback<void(Profile*, Profile::CreateStatus)> CreateCallback; base 36 chrome/browser/profiles/profile_manager.h explicit ProfileManager(const base::FilePath& user_data_dir); base 77 chrome/browser/profiles/profile_manager.h Profile* GetProfile(const base::FilePath& profile_dir); base 85 chrome/browser/profiles/profile_manager.h void CreateProfileAsync(const base::FilePath& profile_path, base 87 chrome/browser/profiles/profile_manager.h const base::string16& name, base 88 chrome/browser/profiles/profile_manager.h const base::string16& icon_url, base 97 chrome/browser/profiles/profile_manager.h base::FilePath GetInitialProfileDir(); base 102 chrome/browser/profiles/profile_manager.h Profile* GetLastUsedProfile(const base::FilePath& user_data_dir); base 106 chrome/browser/profiles/profile_manager.h base::FilePath GetLastUsedProfileDir(const base::FilePath& user_data_dir); base 114 chrome/browser/profiles/profile_manager.h const base::FilePath& user_data_dir); base 123 chrome/browser/profiles/profile_manager.h Profile* GetProfileByPath(const base::FilePath& path) const; base 133 chrome/browser/profiles/profile_manager.h static base::FilePath CreateMultiProfileAsync( base 134 chrome/browser/profiles/profile_manager.h const base::string16& name, base 135 chrome/browser/profiles/profile_manager.h const base::string16& icon_url, base 140 chrome/browser/profiles/profile_manager.h static base::FilePath GetGuestProfilePath(); base 147 chrome/browser/profiles/profile_manager.h base::FilePath GenerateNextProfileDirectoryPath(); base 160 chrome/browser/profiles/profile_manager.h void ScheduleProfileForDeletion(const base::FilePath& profile_dir, base 167 chrome/browser/profiles/profile_manager.h const std::vector<base::FilePath>& profile_paths); base 185 chrome/browser/profiles/profile_manager.h const base::FilePath& user_data_dir() const { return user_data_dir_; } base 209 chrome/browser/profiles/profile_manager.h virtual Profile* CreateProfileHelper(const base::FilePath& path); base 214 chrome/browser/profiles/profile_manager.h virtual Profile* CreateProfileAsyncHelper(const base::FilePath& path, base 248 chrome/browser/profiles/profile_manager.h const base::FilePath& user_data_dir); base 257 chrome/browser/profiles/profile_manager.h void FinishDeletingProfile(const base::FilePath& profile_dir); base 265 chrome/browser/profiles/profile_manager.h ProfileInfo* GetProfileInfoByPath(const base::FilePath& path) const; base 303 chrome/browser/profiles/profile_manager.h const base::FilePath& profile_to_delete_path, base 304 chrome/browser/profiles/profile_manager.h const base::FilePath& last_non_managed_profile_path, base 313 chrome/browser/profiles/profile_manager.h const base::FilePath user_data_dir_; base 327 chrome/browser/profiles/profile_manager.h typedef std::map<base::FilePath, linked_ptr<ProfileInfo> > ProfilesInfoMap; base 352 chrome/browser/profiles/profile_manager.h explicit ProfileManagerWithoutInit(const base::FilePath& user_data_dir); base 42 chrome/browser/profiles/profile_manager_browsertest.cc base::MessageLoop::current()->Quit(); base 52 chrome/browser/profiles/profile_manager_browsertest.cc base::MessageLoop::current()->Quit(); base 78 chrome/browser/profiles/profile_manager_browsertest.cc const base::FilePath& profile_path) OVERRIDE { base 111 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath singleton_profile_path = cache.GetPathOfProfileAtIndex(0); base 121 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath new_profile_path = cache.GetPathOfProfileAtIndex(0); base 143 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath new_path = profile_manager->GenerateNextProfileDirectoryPath(); base 145 chrome/browser/profiles/profile_manager_browsertest.cc base::Bind(&OnUnblockOnProfileCreation), base 146 chrome/browser/profiles/profile_manager_browsertest.cc base::string16(), base::string16(), base 156 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath profile_path1 = cache.GetPathOfProfileAtIndex(0); base 157 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath profile_path2 = cache.GetPathOfProfileAtIndex(1); base 170 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath new_profile_path = cache.GetPathOfProfileAtIndex(0); base 201 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath profile_path; base 231 chrome/browser/profiles/profile_manager_browsertest.cc base::string16(), // name base 232 chrome/browser/profiles/profile_manager_browsertest.cc base::string16(), // icon url base 233 chrome/browser/profiles/profile_manager_browsertest.cc base::Bind(ProfileCreationComplete), base 262 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath path_profile1 = cache.GetPathOfProfileAtIndex(0); base 268 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath path_profile2 = base 271 chrome/browser/profiles/profile_manager_browsertest.cc base::Bind(&OnUnblockOnProfileCreation), base 272 chrome/browser/profiles/profile_manager_browsertest.cc base::string16(), base::string16(), base 326 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath path_profile1 = cache.GetPathOfProfileAtIndex(0); base 332 chrome/browser/profiles/profile_manager_browsertest.cc base::FilePath path_profile2 = base 336 chrome/browser/profiles/profile_manager_browsertest.cc base::Bind(&EphemeralProfileCreationComplete), base 337 chrome/browser/profiles/profile_manager_browsertest.cc base::string16(), base::string16(), std::string()); base 52 chrome/browser/profiles/profile_manager_unittest.cc using base::ASCIIToUTF16; base 63 chrome/browser/profiles/profile_manager_unittest.cc explicit UnittestProfileManager(const base::FilePath& user_data_dir) base 68 chrome/browser/profiles/profile_manager_unittest.cc const base::FilePath& file_path) OVERRIDE { base 69 chrome/browser/profiles/profile_manager_unittest.cc if (!base::PathExists(file_path)) { base 70 chrome/browser/profiles/profile_manager_unittest.cc if (!base::CreateDirectory(file_path)) base 76 chrome/browser/profiles/profile_manager_unittest.cc virtual Profile* CreateProfileAsyncHelper(const base::FilePath& path, base 81 chrome/browser/profiles/profile_manager_unittest.cc base::Bind(base::IgnoreResult(&base::CreateDirectory), path)); base 115 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 125 chrome/browser/profiles/profile_manager_unittest.cc base::Bind(&MockObserver::OnProfileCreated, base 126 chrome/browser/profiles/profile_manager_unittest.cc base::Unretained(mock_observer)), base 127 chrome/browser/profiles/profile_manager_unittest.cc base::UTF8ToUTF16(name), base 128 chrome/browser/profiles/profile_manager_unittest.cc base::UTF8ToUTF16(ProfileInfoCache::GetDefaultAvatarIconUrl(0)), base 136 chrome/browser/profiles/profile_manager_unittest.cc const base::string16& profile_name) { base 139 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath path = temp_dir_.path().AppendASCII(path_suffix); base 141 chrome/browser/profiles/profile_manager_unittest.cc base::string16(), 0, std::string()); base 152 chrome/browser/profiles/profile_manager_unittest.cc base::ScopedTempDir temp_dir_; base 163 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path = temp_dir_.path(); base 177 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath expected_default = base 178 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath().AppendASCII(chrome::kInitialProfile); base 192 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath expected_default = base 193 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath().AppendASCII(chrome::kInitialProfile); base 205 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath expected_logged_in(profile_dir); base 215 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path1 = temp_dir_.path(); base 218 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path2 = temp_dir_.path(); base 245 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 250 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 283 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 299 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 314 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 322 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 334 chrome/browser/profiles/profile_manager_unittest.cc const base::FilePath managed_path = temp_dir_.path().AppendASCII("Managed"); base 343 chrome/browser/profiles/profile_manager_unittest.cc const base::FilePath nonmanaged_path = temp_dir_.path().AppendASCII( base 357 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath guest_path = ProfileManager::GetGuestProfilePath(); base 358 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath expected_path = temp_dir_.path(); base 365 chrome/browser/profiles/profile_manager_unittest.cc explicit UnittestGuestProfileManager(const base::FilePath& user_data_dir) base 370 chrome/browser/profiles/profile_manager_unittest.cc const base::FilePath& file_path) OVERRIDE { base 446 chrome/browser/profiles/profile_manager_unittest.cc base::Value::CreateBooleanValue(true)); base 457 chrome/browser/profiles/profile_manager_unittest.cc ASCIIToUTF16("name_1"), base::string16(), 0, base 460 chrome/browser/profiles/profile_manager_unittest.cc ASCIIToUTF16("name_2"), base::string16(), 0, base 463 chrome/browser/profiles/profile_manager_unittest.cc ASCIIToUTF16("name_3"), base::string16(), 0, base 478 chrome/browser/profiles/profile_manager_unittest.cc base::Value::CreateBooleanValue(false)); base 482 chrome/browser/profiles/profile_manager_unittest.cc ASCIIToUTF16("name_1"), base::string16(), 0, base 485 chrome/browser/profiles/profile_manager_unittest.cc ASCIIToUTF16("name_2"), base::string16(), 0, base 497 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path = temp_dir_.path(); base 523 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path = temp_dir_.path(); base 542 chrome/browser/profiles/profile_manager_unittest.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(profile_index))); base 574 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path1 = temp_dir_.path(); base 577 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path2 = temp_dir_.path(); base 640 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path1 = temp_dir_.path(); base 643 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path2 = temp_dir_.path(); base 691 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path1 = temp_dir_.path(); base 693 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path2 = temp_dir_.path(); base 760 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path = temp_dir_.path(); base 788 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path1 = temp_dir_.path(); base 791 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path2 = temp_dir_.path(); base 794 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path3 = temp_dir_.path(); base 864 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path1 = temp_dir_.path().AppendASCII(profile_name1); base 865 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path2 = temp_dir_.path().AppendASCII(profile_name2); base 873 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 886 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 905 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 default_profile_name = base 907 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 profile_name1 = cache.ChooseNameForNewProfile(0); base 913 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 profile_name2 = cache.ChooseNameForNewProfile(1); base 923 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 940 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 default_profile_name = base 942 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 profile_name1 = cache.ChooseNameForNewProfile(0); base 948 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 custom_profile_name = ASCIIToUTF16("Batman"); base 954 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 profile_name2 = cache.ChooseNameForNewProfile(1); base 964 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 981 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 default_profile_name = base 983 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 profile_name1 = cache.ChooseNameForNewProfile(0); base 994 chrome/browser/profiles/profile_manager_unittest.cc const base::string16 profile_name2 = cache.ChooseNameForNewProfile(1); base 1004 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1019 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path1 = temp_dir_.path().AppendASCII(profile_name1); base 1020 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path2 = temp_dir_.path().AppendASCII(profile_name2); base 1026 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1031 chrome/browser/profiles/profile_manager_unittest.cc base::string16(), 0, std::string()); base 1032 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1048 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1066 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path1 = temp_dir_.path().AppendASCII(profile_name1); base 1067 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path2 = temp_dir_.path().AppendASCII(profile_name2); base 1068 chrome/browser/profiles/profile_manager_unittest.cc base::FilePath dest_path3 = temp_dir_.path().AppendASCII(profile_name3); base 1074 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1085 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1109 chrome/browser/profiles/profile_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 34 chrome/browser/profiles/profile_metrics.cc const base::FilePath& profile_path) { base 38 chrome/browser/profiles/profile_metrics.cc base::FilePath user_data_dir; base 65 chrome/browser/profiles/profile_metrics.cc base::Time oldest = base::Time::Now() - base 66 chrome/browser/profiles/profile_metrics.cc base::TimeDelta::FromDays(kMaximumDaysOfDisuse); base 289 chrome/browser/profiles/profile_metrics.cc base::FilePath profile_path = profile->GetPath(); base 296 chrome/browser/profiles/profile_metrics.cc base::UserMetricsAction("ManagedMode_NewManagedUserWindow")); base 300 chrome/browser/profiles/profile_metrics.cc void ProfileMetrics::LogProfileSyncSignIn(const base::FilePath& profile_path) { base 306 chrome/browser/profiles/profile_metrics.cc void ProfileMetrics::LogProfileUpdate(const base::FilePath& profile_path) { base 16 chrome/browser/profiles/profile_metrics.h namespace base { base 98 chrome/browser/profiles/profile_metrics.h static void LogProfileSyncSignIn(const base::FilePath& profile_path); base 99 chrome/browser/profiles/profile_metrics.h static void LogProfileUpdate(const base::FilePath& profile_path); base 15 chrome/browser/profiles/profile_shortcut_manager.h namespace base { base 25 chrome/browser/profiles/profile_shortcut_manager.h const base::FilePath& profile_path) = 0; base 30 chrome/browser/profiles/profile_shortcut_manager.h virtual void CreateProfileShortcut(const base::FilePath& profile_path) = 0; base 34 chrome/browser/profiles/profile_shortcut_manager.h virtual void RemoveProfileShortcuts(const base::FilePath& profile_path) = 0; base 40 chrome/browser/profiles/profile_shortcut_manager.h const base::FilePath& profile_path, base 41 chrome/browser/profiles/profile_shortcut_manager.h const base::Callback<void(bool)>& callback) = 0; base 45 chrome/browser/profiles/profile_shortcut_manager.h virtual void GetShortcutProperties(const base::FilePath& profile_path, base 46 chrome/browser/profiles/profile_shortcut_manager.h base::CommandLine* command_line, base 47 chrome/browser/profiles/profile_shortcut_manager.h base::string16* name, base 48 chrome/browser/profiles/profile_shortcut_manager.h base::FilePath* icon_path) = 0; base 40 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc fake_user_desktop_(base::DIR_USER_DESKTOP), base 41 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc fake_system_desktop_(base::DIR_COMMON_DESKTOP) { base 68 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_path = base 70 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::string16 profile_name = base 76 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath icon_path = base 78 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::PathExists(icon_path)); base 82 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath CreateProfileDirectory(const base::string16& profile_name) { base 83 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_path = base 85 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::CreateDirectory(profile_path); base 90 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 91 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::MessageLoop::QuitClosure()); base 92 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::MessageLoop::current()->Run(); base 101 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::string16(), 0, std::string()); base 117 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath GetDefaultShortcutPathForProfile( base 118 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16& profile_name) { base 125 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc bool ProfileShortcutExistsAtDefaultPath(const base::string16& profile_name) { base 126 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc return base::PathExists( base 133 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath& shortcut_path, base 134 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath& profile_path) { base 135 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(shortcut_path)) << location.ToString(); base 138 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath icon_path = base 140 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(icon_path)) << location.ToString(); base 142 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::win::ShortcutProperties expected_properties; base 151 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::win::ValidateShortcut(shortcut_path, expected_properties); base 157 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16& profile_name, base 158 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath& profile_path) { base 165 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath& shortcut_path) { base 166 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(shortcut_path)) << location.ToString(); base 168 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::win::ShortcutProperties expected_properties; base 170 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc expected_properties.set_arguments(base::string16()); base 174 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::win::ValidateShortcut(shortcut_path, expected_properties); base 178 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath shortcut_path = base 179 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc GetDefaultShortcutPathForProfile(base::string16()); base 184 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16& profile_name, base 185 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath& profile_path) { base 189 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::string16(), 0, std::string()); base 197 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath CreateRegularShortcutWithName( base 199 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16& shortcut_name) { base 200 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath shortcut_path = base 202 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(shortcut_path)) << location.ToString(); base 211 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(shortcut_path)) << location.ToString(); base 216 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath CreateRegularSystemLevelShortcut( base 225 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath system_level_shortcut_path = base 230 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(system_level_shortcut_path)) base 236 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath& profile_path, base 237 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16& new_profile_name) { base 252 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath GetExePath() { base 253 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath exe_path; base 254 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(PathService::Get(base::FILE_EXE, &exe_path)); base 258 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath GetUserShortcutsDirectory() { base 259 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath user_shortcuts_directory; base 267 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath GetSystemShortcutsDirectory() { base 268 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath system_shortcuts_directory; base 276 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::MessageLoopForUI message_loop_; base 282 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::ScopedPathOverride fake_user_desktop_; base 283 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::ScopedPathOverride fake_system_desktop_; base 284 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::string16 profile_1_name_; base 285 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath profile_1_path_; base 286 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::string16 profile_2_name_; base 287 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath profile_2_path_; base 288 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::string16 profile_3_name_; base 289 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::FilePath profile_3_path_; base 293 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 kProfileName = L"Harry"; base 295 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 expected_name = kProfileName + L" - " + base 303 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 kLongProfileName = base 307 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 file_name = base 314 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 kProfileName = L"<Harry/>"; base 315 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 kSanitizedProfileName = L"Harry"; base 317 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 expected_name = kSanitizedProfileName + L" - " + base 329 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc profiles::internal::GetShortcutFilenameForProfile(base::string16(), base 334 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 kProfileName = L"MyProfileX"; base 335 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_path = base 354 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 new_profile_2_name = L"New Profile Name"; base 363 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(ProfileShortcutExistsAtDefaultPath(base::string16())); base 367 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::string16(), 0, std::string()); base 373 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(ProfileShortcutExistsAtDefaultPath(base::string16())); base 395 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_1_shortcut_path = base 397 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path = base 401 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::DeleteFile(profile_1_shortcut_path, false)); base 402 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(profile_1_shortcut_path)); base 403 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::PathExists(profile_2_shortcut_path)); base 412 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_1_shortcut_path)); base 413 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_2_shortcut_path)); base 419 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_1_shortcut_path = base 421 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path = base 425 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::DeleteFile(profile_1_shortcut_path, false)); base 426 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(profile_1_shortcut_path)); base 427 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::PathExists(profile_2_shortcut_path)); base 436 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_1_shortcut_path)); base 437 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_2_shortcut_path)); base 444 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath non_profile_shortcut_path = base 445 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc GetDefaultShortcutPathForProfile(base::string16()); base 446 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_1_shortcut_path = base 448 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path = base 450 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_3_shortcut_path = base 454 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::DeleteFile(profile_1_shortcut_path, false)); base 455 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::DeleteFile(profile_2_shortcut_path, false)); base 458 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(profile_1_shortcut_path)); base 459 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(profile_2_shortcut_path)); base 460 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(non_profile_shortcut_path)); base 461 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::PathExists(profile_3_shortcut_path)); base 467 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(profile_1_shortcut_path)); base 468 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(profile_2_shortcut_path)); base 469 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(profile_3_shortcut_path)); base 470 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(non_profile_shortcut_path)); base 492 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(ProfileShortcutExistsAtDefaultPath(base::string16())); base 498 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path_1 = base 500 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path_2 = base 502 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::Move(profile_2_shortcut_path_1, base 513 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::DeleteFile(profile_2_shortcut_path_2, false)); base 514 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_2_shortcut_path_2)); base 523 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path_1 = base 525 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path_2 = base 528 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::CopyFile(profile_2_shortcut_path_1, base 536 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath preserved_profile_1_shortcut_path = base 538 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::CopyFile( base 541 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(preserved_profile_1_shortcut_path)); base 546 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_2_shortcut_path_1)); base 547 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_2_shortcut_path_2)); base 555 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path_1 = base 557 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path_2 = base 560 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::CopyFile(profile_2_shortcut_path_1, base 568 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 new_profile_2_name = L"New profile"; base 573 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_2_shortcut_path_1)); base 584 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::DeleteFile( base 585 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc GetDefaultShortcutPathForProfile(base::string16()), false)); base 586 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath regular_shortcut_path = base 594 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(regular_shortcut_path)); base 603 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::DeleteFile( base 604 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc GetDefaultShortcutPathForProfile(base::string16()), false)); base 605 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath regular_shortcut_path = base 609 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath customized_regular_shortcut_path = base 615 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(regular_shortcut_path)); base 625 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_1_shortcut_path_1 = base 627 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path_1 = base 631 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_1_shortcut_path_2 = base 633 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path_2 = base 635 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::CopyFile(profile_1_shortcut_path_1, base 637 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::CopyFile(profile_2_shortcut_path_1, base 648 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_1_shortcut_path_1)); base 649 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_1_shortcut_path_2)); base 664 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::Callback<void(bool)> callback = base 665 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::Bind(&HasShortcutsResult::set_has_shortcuts, base 666 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::Unretained(&result)); base 674 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path = base 676 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::DeleteFile(profile_2_shortcut_path, false)); base 677 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_2_shortcut_path)); base 684 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath system_level_shortcut_path = base 689 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::string16(), 0, std::string()); base 694 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(system_level_shortcut_path)); base 695 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists( base 696 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc GetDefaultShortcutPathForProfile(base::string16()))); base 703 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(system_level_shortcut_path)); base 707 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc base::string16(), 0, std::string()); base 718 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 new_profile_3_name = L"New Name 3"; base 727 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::string16 new_profile_2_name = L"New Name 2"; base 740 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath system_level_shortcut_path = base 748 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(system_level_shortcut_path)); base 749 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(ProfileShortcutExistsAtDefaultPath(base::string16())); base 758 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_1_shortcut_path = base 760 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath profile_2_shortcut_path = base 764 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::DeleteFile(profile_1_shortcut_path, false)); base 765 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_FALSE(base::PathExists(profile_1_shortcut_path)); base 766 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc ASSERT_TRUE(base::PathExists(profile_2_shortcut_path)); base 768 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath system_level_shortcut_path = base 778 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(system_level_shortcut_path)); base 779 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists( base 780 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc GetDefaultShortcutPathForProfile(base::string16()))); base 781 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_1_shortcut_path)); base 782 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(profile_2_shortcut_path)); base 788 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath icon_path = base 791 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(icon_path)); base 792 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::DeleteFile(icon_path, false)); base 793 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_FALSE(base::PathExists(icon_path)); base 797 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::PathExists(icon_path)); base 802 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath icon_path_1 = base 804 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath icon_path_2 = base 809 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::ReadFileToString(icon_path_1, &unbadged_icon_1)); base 817 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::ReadFileToString(icon_path_1, &badged_icon_1)); base 819 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::ReadFileToString(icon_path_2, &badged_icon_2)); base 830 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::ReadFileToString(icon_path_2, &unbadged_icon_2)); base 836 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath icon_path_1 = base 838 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc const base::FilePath icon_path_2 = base 844 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::ReadFileToString(icon_path_1, &badged_icon_1)); base 846 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::ReadFileToString(icon_path_2, &badged_icon_2)); base 856 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::ReadFileToString(icon_path_1, &new_badged_icon_1)); base 864 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::ReadFileToString(icon_path_1, &unbadged_icon_1)); base 872 chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc EXPECT_TRUE(base::ReadFileToString(icon_path_1, &unbadged_icon_1_a)); base 58 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::char16 kReservedCharacters[] = L"<>:\"/\\|?*\x01\x02\x03\x04\x05" base 153 chrome/browser/profiles/profile_shortcut_manager_win.cc void OnProfileIconCreateSuccess(base::FilePath profile_path) { base 174 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath CreateOrUpdateShortcutIconForProfile( base 175 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path, base 180 chrome/browser/profiles/profile_shortcut_manager_win.cc if (!base::PathExists(profile_path)) { base 183 chrome/browser/profiles/profile_shortcut_manager_win.cc return base::FilePath(); base 188 chrome/browser/profiles/profile_shortcut_manager_win.cc return base::FilePath(); base 212 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath icon_path = base 214 chrome/browser/profiles/profile_shortcut_manager_win.cc const bool had_icon = base::PathExists(icon_path); base 222 chrome/browser/profiles/profile_shortcut_manager_win.cc return base::FilePath(); base 235 chrome/browser/profiles/profile_shortcut_manager_win.cc base::Bind(&OnProfileIconCreateSuccess, profile_path)); base 242 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath* user_shortcuts_directory, base 243 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath* system_shortcuts_directory) { base 264 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath ConvertToLongPath(const base::FilePath& path) { base 269 chrome/browser/profiles/profile_shortcut_manager_win.cc return base::FilePath(&long_path[0]); base 276 chrome/browser/profiles/profile_shortcut_manager_win.cc bool IsChromeShortcut(const base::FilePath& path, base 277 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& chrome_exe, base 278 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16* command_line) { base 284 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath target_path; base 285 chrome/browser/profiles/profile_shortcut_manager_win.cc if (!base::win::ResolveShortcut(path, &target_path, command_line)) base 295 chrome/browser/profiles/profile_shortcut_manager_win.cc void ListDesktopShortcutsWithCommandLine(const base::FilePath& chrome_exe, base 296 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16& command_line, base 298 chrome/browser/profiles/profile_shortcut_manager_win.cc std::vector<base::FilePath>* paths) { base 299 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath user_shortcuts_directory; base 303 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FileEnumerator enumerator(user_shortcuts_directory, false, base 304 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FileEnumerator::FILES); base 305 chrome/browser/profiles/profile_shortcut_manager_win.cc for (base::FilePath path = enumerator.Next(); !path.empty(); base 307 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16 shortcut_command_line; base 315 chrome/browser/profiles/profile_shortcut_manager_win.cc (shortcut_command_line.find(command_line) != base::string16::npos)) { base 322 chrome/browser/profiles/profile_shortcut_manager_win.cc bool RenameDesktopShortcut(const base::FilePath& old_shortcut_path, base 323 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& new_shortcut_path) { base 324 chrome/browser/profiles/profile_shortcut_manager_win.cc if (!base::Move(old_shortcut_path, new_shortcut_path)) base 339 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16& old_shortcut_filename, base 340 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16& new_shortcut_filename) { base 343 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath user_shortcuts_directory; base 344 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath system_shortcuts_directory; base 350 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath old_shortcut_path = base 352 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath new_shortcut_path = base 355 chrome/browser/profiles/profile_shortcut_manager_win.cc if (base::PathExists(old_shortcut_path)) { base 358 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath possible_new_system_shortcut = base 360 chrome/browser/profiles/profile_shortcut_manager_win.cc if (base::PathExists(possible_new_system_shortcut)) base 361 chrome/browser/profiles/profile_shortcut_manager_win.cc base::DeleteFile(old_shortcut_path, false); base 372 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath possible_old_system_shortcut = base 374 chrome/browser/profiles/profile_shortcut_manager_win.cc if (base::PathExists(possible_old_system_shortcut)) base 375 chrome/browser/profiles/profile_shortcut_manager_win.cc base::CopyFile(possible_old_system_shortcut, new_shortcut_path); base 381 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath profile_path, base 391 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath profile_path; base 393 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16 old_profile_name; base 395 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16 profile_name; base 410 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath shortcut_icon = base 420 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath chrome_exe; base 421 chrome/browser/profiles/profile_shortcut_manager_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 432 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16 old_shortcut_filename = base 436 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16 new_shortcut_filename = base 447 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16 command_line = base 459 chrome/browser/profiles/profile_shortcut_manager_win.cc properties.set_arguments(base::string16()); base 468 chrome/browser/profiles/profile_shortcut_manager_win.cc std::vector<base::FilePath> shortcuts; base 474 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16 shortcut_name = base 477 chrome/browser/profiles/profile_shortcut_manager_win.cc shortcuts.push_back(base::FilePath(shortcut_name)); base 482 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath shortcut_name = base 492 chrome/browser/profiles/profile_shortcut_manager_win.cc bool ChromeDesktopShortcutsExist(const base::FilePath& chrome_exe) { base 493 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath user_shortcuts_directory; base 497 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FileEnumerator enumerator(user_shortcuts_directory, false, base 498 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FileEnumerator::FILES); base 499 chrome/browser/profiles/profile_shortcut_manager_win.cc for (base::FilePath path = enumerator.Next(); !path.empty(); base 512 chrome/browser/profiles/profile_shortcut_manager_win.cc void DeleteDesktopShortcuts(const base::FilePath& profile_path, base 516 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath chrome_exe; base 517 chrome/browser/profiles/profile_shortcut_manager_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 522 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16 command_line = base 524 chrome/browser/profiles/profile_shortcut_manager_win.cc std::vector<base::FilePath> shortcuts; base 533 chrome/browser/profiles/profile_shortcut_manager_win.cc base::win::TaskbarUnpinShortcutLink(shortcuts[i].value().c_str()); base 534 chrome/browser/profiles/profile_shortcut_manager_win.cc base::DeleteFile(shortcuts[i], false); base 554 chrome/browser/profiles/profile_shortcut_manager_win.cc profiles::internal::GetShortcutFilenameForProfile(base::string16(), base 564 chrome/browser/profiles/profile_shortcut_manager_win.cc bool HasAnyProfileShortcuts(const base::FilePath& profile_path) { base 567 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath chrome_exe; base 568 chrome/browser/profiles/profile_shortcut_manager_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 573 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16 command_line = base 575 chrome/browser/profiles/profile_shortcut_manager_win.cc std::vector<base::FilePath> shortcuts; base 587 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16 SanitizeShortcutProfileNameString( base 588 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16& profile_name) { base 589 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16 sanitized = profile_name; base 591 chrome/browser/profiles/profile_shortcut_manager_win.cc while (pos != base::string16::npos) { base 596 chrome/browser/profiles/profile_shortcut_manager_win.cc base::TrimWhitespace(sanitized, base::TRIM_LEADING, &sanitized); base 599 chrome/browser/profiles/profile_shortcut_manager_win.cc base::TrimWhitespace(sanitized, base::TRIM_TRAILING, &sanitized); base 622 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath GetProfileIconPath(const base::FilePath& profile_path) { base 626 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16 GetShortcutFilenameForProfile( base 627 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16& profile_name, base 629 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16 shortcut_name; base 641 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16 CreateProfileShortcutFlags(const base::FilePath& profile_path) { base 642 chrome/browser/profiles/profile_shortcut_manager_win.cc return base::StringPrintf(L"--%ls=\"%ls\"", base 643 chrome/browser/profiles/profile_shortcut_manager_win.cc base::ASCIIToUTF16( base 682 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path) { base 689 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path) { base 695 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path) { base 698 chrome/browser/profiles/profile_shortcut_manager_win.cc base::Bind(&DeleteDesktopShortcuts, profile_path, false)); base 702 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path, base 703 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::Callback<void(bool)>& callback) { base 706 chrome/browser/profiles/profile_shortcut_manager_win.cc base::Bind(&HasAnyProfileShortcuts, profile_path), callback); base 710 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path, base 712 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16* name, base 713 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath* icon_path) { base 714 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath chrome_exe; base 715 chrome/browser/profiles/profile_shortcut_manager_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 725 chrome/browser/profiles/profile_shortcut_manager_win.cc base::string16 shortcut_profile_name; base 729 chrome/browser/profiles/profile_shortcut_manager_win.cc *name = base::FilePath(profiles::internal::GetShortcutFilenameForProfile( base 740 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path) { base 752 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path, base 753 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16& profile_name) { base 766 chrome/browser/profiles/profile_shortcut_manager_win.cc base::Bind(&DeleteDesktopShortcuts, base 772 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path, base 773 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::string16& old_profile_name) { base 779 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path) { base 783 chrome/browser/profiles/profile_shortcut_manager_win.cc base::FilePath ProfileShortcutManagerWin::GetOtherProfilePath( base 784 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path) { base 795 chrome/browser/profiles/profile_shortcut_manager_win.cc const base::FilePath& profile_path, base 835 chrome/browser/profiles/profile_shortcut_manager_win.cc base::Bind(&CreateOrUpdateDesktopShortcutsAndIconForProfile, params)); base 20 chrome/browser/profiles/profile_shortcut_manager_win.h base::FilePath GetProfileIconPath(const base::FilePath& profile_path); base 25 chrome/browser/profiles/profile_shortcut_manager_win.h base::string16 GetShortcutFilenameForProfile(const base::string16& profile_name, base 29 chrome/browser/profiles/profile_shortcut_manager_win.h base::string16 CreateProfileShortcutFlags(const base::FilePath& profile_path); base 57 chrome/browser/profiles/profile_shortcut_manager_win.h const base::FilePath& profile_path) OVERRIDE; base 59 chrome/browser/profiles/profile_shortcut_manager_win.h const base::FilePath& profile_path) OVERRIDE; base 61 chrome/browser/profiles/profile_shortcut_manager_win.h const base::FilePath& profile_path) OVERRIDE; base 63 chrome/browser/profiles/profile_shortcut_manager_win.h const base::FilePath& profile_path, base 64 chrome/browser/profiles/profile_shortcut_manager_win.h const base::Callback<void(bool)>& callback) OVERRIDE; base 65 chrome/browser/profiles/profile_shortcut_manager_win.h virtual void GetShortcutProperties(const base::FilePath& profile_path, base 66 chrome/browser/profiles/profile_shortcut_manager_win.h base::CommandLine* command_line, base 67 chrome/browser/profiles/profile_shortcut_manager_win.h base::string16* name, base 68 chrome/browser/profiles/profile_shortcut_manager_win.h base::FilePath* icon_path) OVERRIDE; base 71 chrome/browser/profiles/profile_shortcut_manager_win.h virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; base 73 chrome/browser/profiles/profile_shortcut_manager_win.h const base::FilePath& profile_path, base 74 chrome/browser/profiles/profile_shortcut_manager_win.h const base::string16& profile_name) OVERRIDE; base 76 chrome/browser/profiles/profile_shortcut_manager_win.h const base::FilePath& profile_path, base 77 chrome/browser/profiles/profile_shortcut_manager_win.h const base::string16& old_profile_name) OVERRIDE; base 79 chrome/browser/profiles/profile_shortcut_manager_win.h const base::FilePath& profile_path) OVERRIDE; base 89 chrome/browser/profiles/profile_shortcut_manager_win.h base::FilePath GetOtherProfilePath(const base::FilePath& profile_path); base 95 chrome/browser/profiles/profile_shortcut_manager_win.h const base::FilePath& profile_path, base 29 chrome/browser/profiles/profile_window.cc using base::UserMetricsAction; base 55 chrome/browser/profiles/profile_window.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 129 chrome/browser/profiles/profile_window.cc const base::FilePath& profile_path_to_focus, base 131 chrome/browser/profiles/profile_window.cc const base::Callback<void(Profile*, const std::string&)>& callback, base 148 chrome/browser/profiles/profile_window.cc page += base::IntToString(index); base 182 chrome/browser/profiles/profile_window.cc browser_creator.LaunchBrowser(command_line, profile, base::FilePath(), base 187 chrome/browser/profiles/profile_window.cc void SwitchToProfile(const base::FilePath& path, base 194 chrome/browser/profiles/profile_window.cc base::Bind(&OpenBrowserWindowForProfile, base 199 chrome/browser/profiles/profile_window.cc base::string16(), base 200 chrome/browser/profiles/profile_window.cc base::string16(), base 209 chrome/browser/profiles/profile_window.cc base::Bind(&OpenBrowserWindowForProfile, base 214 chrome/browser/profiles/profile_window.cc base::string16(), base 215 chrome/browser/profiles/profile_window.cc base::string16(), base 224 chrome/browser/profiles/profile_window.cc base::string16(), base 225 chrome/browser/profiles/profile_window.cc base::string16(), base 226 chrome/browser/profiles/profile_window.cc base::Bind(&OpenBrowserWindowForProfile, base 257 chrome/browser/profiles/profile_window.cc const base::FilePath& profile_path_to_focus, base 259 chrome/browser/profiles/profile_window.cc const base::Callback<void(Profile*, const std::string&)>& callback) { base 264 chrome/browser/profiles/profile_window.cc base::Bind(&OnUserManagerGuestProfileCreated, base 268 chrome/browser/profiles/profile_window.cc base::string16(), base 269 chrome/browser/profiles/profile_window.cc base::string16(), base 275 chrome/browser/profiles/profile_window.cc chrome::ShowUserManager(base::FilePath()); base 14 chrome/browser/profiles/profile_window.h namespace base { class FilePath; } base 19 chrome/browser/profiles/profile_window.h typedef base::Callback<void()> ProfileSwitchingDoneCallback; base 46 chrome/browser/profiles/profile_window.h void SwitchToProfile(const base::FilePath& path, base 76 chrome/browser/profiles/profile_window.h const base::FilePath& profile_path_to_focus, base 78 chrome/browser/profiles/profile_window.h const base::Callback<void(Profile*, const std::string&)>& callback); base 40 chrome/browser/profiles/profiles_state.cc base::FilePath GetDefaultProfileDir(const base::FilePath& user_data_dir) { base 41 chrome/browser/profiles/profiles_state.cc base::FilePath default_profile_dir(user_data_dir); base 53 chrome/browser/profiles/profiles_state.cc base::string16 GetAvatarNameForProfile(Profile* profile) { base 54 chrome/browser/profiles/profiles_state.cc base::string16 display_name; base 72 chrome/browser/profiles/profiles_state.cc base::string16 profile_name = cache.GetNameOfProfileAtIndex(index); base 86 chrome/browser/profiles/profiles_state.cc const base::string16& new_profile_name) { base 91 chrome/browser/profiles/profiles_state.cc base::UTF16ToUTF8(new_profile_name)); base 14 chrome/browser/profiles/profiles_state.h namespace base { class FilePath; } base 23 chrome/browser/profiles/profiles_state.h base::FilePath GetDefaultProfileDir(const base::FilePath& user_data_dir); base 32 chrome/browser/profiles/profiles_state.h base::string16 GetAvatarNameForProfile(Profile* profile); base 37 chrome/browser/profiles/profiles_state.h const base::string16& new_profile_name); base 18 chrome/browser/profiles/startup_task_runner_service.cc scoped_refptr<base::DeferredSequencedTaskRunner> base 23 chrome/browser/profiles/startup_task_runner_service.cc new base::DeferredSequencedTaskRunner(profile_->GetIOTaskRunner()); base 15 chrome/browser/profiles/startup_task_runner_service.h namespace base { base 20 chrome/browser/profiles/startup_task_runner_service.h class StartupTaskRunnerService : public base::NonThreadSafe, base 33 chrome/browser/profiles/startup_task_runner_service.h scoped_refptr<base::DeferredSequencedTaskRunner> GetBookmarkTaskRunner(); base 40 chrome/browser/profiles/startup_task_runner_service.h scoped_refptr<base::DeferredSequencedTaskRunner> bookmark_task_runner_; base 16 chrome/browser/profiles/storage_partition_descriptor.h StoragePartitionDescriptor(const base::FilePath& partition_path, base 21 chrome/browser/profiles/storage_partition_descriptor.h const base::FilePath path; base 43 chrome/browser/referrer_policy_browsertest.cc const base::FilePath::CharType kDocRoot[] = base 57 chrome/browser/referrer_policy_browsertest.cc base::FilePath(kDocRoot))); base 62 chrome/browser/referrer_policy_browsertest.cc base::FilePath(kDocRoot))); base 77 chrome/browser/referrer_policy_browsertest.cc base::string16 GetExpectedTitle(const GURL& url, base 91 chrome/browser/referrer_policy_browsertest.cc return base::ASCIIToUTF16(referrer); base 170 chrome/browser/referrer_policy_browsertest.cc base::IntToString(test_server_->host_port_pair().port()) + base 172 chrome/browser/referrer_policy_browsertest.cc base::IntToString(ssl_test_server_->host_port_pair().port()) + base 180 chrome/browser/referrer_policy_browsertest.cc base::string16 expected_title = base 524 chrome/browser/referrer_policy_browsertest.cc base::string16 expected_title = base 564 chrome/browser/referrer_policy_browsertest.cc base::string16 expected_title = base 586 chrome/browser/referrer_policy_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("loaded")); base 595 chrome/browser/referrer_policy_browsertest.cc base::IntToString(test_server_->host_port_pair().port()))); base 601 chrome/browser/referrer_policy_browsertest.cc tab, base::Bind(&content::FrameIsChildOfMainFrame)); base 611 chrome/browser/referrer_policy_browsertest.cc expected_title = base::ASCIIToUTF16("reset"); base 616 chrome/browser/referrer_policy_browsertest.cc expected_title = base::ASCIIToUTF16("loaded"); base 33 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc static const base::string16 selected_text = base::ASCIIToUTF16("sel"); base 116 chrome/browser/renderer_context_menu/render_view_context_menu.cc using base::UserMetricsAction; base 376 chrome/browser/renderer_context_menu/render_view_context_menu.cc void EscapeAmpersands(base::string16* text) { base 377 chrome/browser/renderer_context_menu/render_view_context_menu.cc const base::char16 ampersand[] = {'&', 0}; base 378 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::ReplaceChars(*text, ampersand, base::ASCIIToUTF16("&&"), text); base 413 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::Bind(MenuItemMatchesParams, params_)), base 527 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::string16 printable_selection_text = PrintableSelectionText(); base 533 chrome/browser/renderer_context_menu/render_view_context_menu.cc std::vector<base::string16> sorted_menu_titles; base 534 chrome/browser/renderer_context_menu/render_view_context_menu.cc std::map<base::string16, std::string> map_ids; base 543 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::string16 menu_title = extension_items_.GetTopLevelContextMenuTitle( base 556 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::TimeTicks begin = base::TimeTicks::Now(); base 565 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::TimeTicks::Now() - begin); base 709 chrome/browser/renderer_context_menu/render_view_context_menu.cc const base::string16& title) { base 714 chrome/browser/renderer_context_menu/render_view_context_menu.cc const base::string16& title) { base 723 chrome/browser/renderer_context_menu/render_view_context_menu.cc const base::string16& label, base 731 chrome/browser/renderer_context_menu/render_view_context_menu.cc const base::string16& label) { base 910 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::string16 language = base 952 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::TrimWhitespace(params_.selection_text, base::TRIM_ALL, base 957 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::ReplaceChars(params_.selection_text, AutocompleteMatch::kInvalidChars, base 958 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::ASCIIToUTF16(" "), ¶ms_.selection_text); base 968 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::string16 printable_selection_text = PrintableSelectionText(); base 1874 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::string16 keyword( base 1982 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::string16 RenderViewContextMenu::PrintableSelectionText() { base 107 chrome/browser/renderer_context_menu/render_view_context_menu.h virtual void AddMenuItem(int command_id, const base::string16& title) = 0; base 108 chrome/browser/renderer_context_menu/render_view_context_menu.h virtual void AddCheckItem(int command_id, const base::string16& title) = 0; base 113 chrome/browser/renderer_context_menu/render_view_context_menu.h const base::string16& label, base 120 chrome/browser/renderer_context_menu/render_view_context_menu.h const base::string16& title) = 0; base 155 chrome/browser/renderer_context_menu/render_view_context_menu.h const base::string16& title) OVERRIDE; base 157 chrome/browser/renderer_context_menu/render_view_context_menu.h const base::string16& title) OVERRIDE; base 160 chrome/browser/renderer_context_menu/render_view_context_menu.h const base::string16& label, base 165 chrome/browser/renderer_context_menu/render_view_context_menu.h const base::string16& title) OVERRIDE; base 261 chrome/browser/renderer_context_menu/render_view_context_menu.h base::string16 PrintableSelectionText(); base 32 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc base::MessageLoop::current()->PostTask( base 34 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc base::Bind(&ContextMenuNotificationObserver::ExecuteCommand, base 35 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc base::Unretained(this), context_menu)); base 43 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc static const base::char16 selected_text[] = { 's', 'e', 'l', 0 }; base 38 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc base::string16 title; base 64 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc const base::string16& title) OVERRIDE {} base 66 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc const base::string16& title) OVERRIDE {} base 69 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc const base::string16& label, base 74 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc const base::string16& title) OVERRIDE {} base 54 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_hunspell.cc base::string16 display_name( base 34 chrome/browser/renderer_context_menu/spelling_bubble_model.cc base::string16 SpellingBubbleModel::GetTitle() const { base 38 chrome/browser/renderer_context_menu/spelling_bubble_model.cc base::string16 SpellingBubbleModel::GetMessageText() const { base 47 chrome/browser/renderer_context_menu/spelling_bubble_model.cc base::string16 SpellingBubbleModel::GetButtonLabel(BubbleButton button) const { base 61 chrome/browser/renderer_context_menu/spelling_bubble_model.cc base::string16 SpellingBubbleModel::GetLinkText() const { base 28 chrome/browser/renderer_context_menu/spelling_bubble_model.h virtual base::string16 GetTitle() const OVERRIDE; base 29 chrome/browser/renderer_context_menu/spelling_bubble_model.h virtual base::string16 GetMessageText() const OVERRIDE; base 31 chrome/browser/renderer_context_menu/spelling_bubble_model.h virtual base::string16 GetButtonLabel(BubbleButton button) const OVERRIDE; base 34 chrome/browser/renderer_context_menu/spelling_bubble_model.h virtual base::string16 GetLinkText() const OVERRIDE; base 135 chrome/browser/renderer_context_menu/spelling_menu_observer.cc base::Bind(&SpellingMenuObserver::OnTextCheckComplete, base 136 chrome/browser/renderer_context_menu/spelling_menu_observer.cc base::Unretained(this), SpellingServiceClient::SUGGEST)); base 139 chrome/browser/renderer_context_menu/spelling_menu_observer.cc animation_timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(1), base 289 chrome/browser/renderer_context_menu/spelling_menu_observer.cc spellcheck->GetCustomDictionary()->AddWord(base::UTF16ToUTF8( base 369 chrome/browser/renderer_context_menu/spelling_menu_observer.cc const base::string16& text, base 386 chrome/browser/renderer_context_menu/spelling_menu_observer.cc base::string16 result = base::i18n::ToLower(result_); base 387 chrome/browser/renderer_context_menu/spelling_menu_observer.cc for (std::vector<base::string16>::const_iterator it = suggestions_.begin(); base 389 chrome/browser/renderer_context_menu/spelling_menu_observer.cc if (result == base::i18n::ToLower(*it)) { base 411 chrome/browser/renderer_context_menu/spelling_menu_observer.cc base::string16 loading_message = base 412 chrome/browser/renderer_context_menu/spelling_menu_observer.cc loading_message_ + base::string16(loading_frame_,'.'); base 58 chrome/browser/renderer_context_menu/spelling_menu_observer.h const base::string16& text, base 73 chrome/browser/renderer_context_menu/spelling_menu_observer.h std::vector<base::string16> suggestions_; base 78 chrome/browser/renderer_context_menu/spelling_menu_observer.h base::string16 loading_message_; base 89 chrome/browser/renderer_context_menu/spelling_menu_observer.h base::string16 misspelled_word_; base 101 chrome/browser/renderer_context_menu/spelling_menu_observer.h base::string16 result_; base 107 chrome/browser/renderer_context_menu/spelling_menu_observer.h base::RepeatingTimer<SpellingMenuObserver> animation_timer_; base 44 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc base::string16 title; base 52 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc const base::string16& title) OVERRIDE; base 54 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc const base::string16& title) OVERRIDE; base 57 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc const base::string16& label, base 62 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc const base::string16& title) OVERRIDE; base 106 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc const base::string16& title) { base 117 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc const base::string16& title) { base 137 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc const base::string16& label, base 150 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc const base::string16& title) { base 228 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc params.misspelled_word = base::ASCIIToUTF16(word); base 231 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc params.dictionary_suggestions.push_back(base::ASCIIToUTF16(suggestion)); base 63 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind(&AddActionToExtensionActivityLog, profile, action)); base 199 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind( base 216 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind(&ChromeRenderMessageFilter::OnV8HeapStats, this, base 221 chrome/browser/renderer_host/chrome_render_message_filter.cc base::ProcessId renderer_id = peer_pid(); base 233 chrome/browser/renderer_host/chrome_render_message_filter.cc content::Source<const base::ProcessId>(&renderer_id), base 248 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind(&ChromeRenderMessageFilter::OpenChannelToExtensionOnUIThread, base 276 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind(&ChromeRenderMessageFilter::OpenChannelToNativeAppOnUIThread, base 300 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind(&ChromeRenderMessageFilter::OpenChannelToTabOnUIThread, this, base 321 chrome/browser/renderer_host/chrome_render_message_filter.cc base::FilePath extension_path; base 330 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind( base 336 chrome/browser/renderer_host/chrome_render_message_filter.cc const base::FilePath& extension_path, base 367 chrome/browser/renderer_host/chrome_render_message_filter.cc extension_id, base::Time::Now(), extensions::Action::ACTION_API_CALL, base 381 chrome/browser/renderer_host/chrome_render_message_filter.cc extension_id, base::Time::Now(), extensions::Action::ACTION_DOM_ACCESS, base 385 chrome/browser/renderer_host/chrome_render_message_filter.cc action->set_page_title(base::UTF16ToUTF8(params.url_title)); base 395 chrome/browser/renderer_host/chrome_render_message_filter.cc extension_id, base::Time::Now(), extensions::Action::ACTION_API_EVENT, base 409 chrome/browser/renderer_host/chrome_render_message_filter.cc const base::string16& name, base 410 chrome/browser/renderer_host/chrome_render_message_filter.cc const base::string16& display_name, base 416 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind(&TabSpecificContentSettings::WebDatabaseAccessed, base 431 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind(&TabSpecificContentSettings::DOMStorageAccessed, base 445 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind(&TabSpecificContentSettings::FileSystemAccessed, base 452 chrome/browser/renderer_host/chrome_render_message_filter.cc const base::string16& name, base 458 chrome/browser/renderer_host/chrome_render_message_filter.cc base::Bind(&TabSpecificContentSettings::IndexedDBAccessed, base 67 chrome/browser/renderer_host/chrome_render_message_filter.h friend class base::DeleteHelper<ChromeRenderMessageFilter>; base 112 chrome/browser/renderer_host/chrome_render_message_filter.h const base::FilePath& extension_path, base 132 chrome/browser/renderer_host/chrome_render_message_filter.h const base::string16& name, base 133 chrome/browser/renderer_host/chrome_render_message_filter.h const base::string16& display_name, base 147 chrome/browser/renderer_host/chrome_render_message_filter.h const base::string16& name, base 35 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.h base::scoped_nsobject<HistorySwiper> historySwiper_; base 25 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc const base::FilePath base_path(FILE_PATH_LITERAL("scroll")); base 27 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc base_path, base::FilePath(FILE_PATH_LITERAL("text.html"))); base 29 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate_browsertest.cc base_path, base::FilePath(FILE_PATH_LITERAL("blank.html"))); base 412 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc base::Bind(&NotifyDownloadInitiatedOnUI, child_id, route_id)); base 465 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc base::Bind(&LaunchURL, url, child_id, route_id, base 590 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc base::Bind(&SendExecuteMimeTypeHandlerEvent, base::Passed(&stream), base 691 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc base::Bind(&UpdatePrerenderNetworkBytesCallback, base 45 chrome/browser/renderer_host/offline_resource_throttle.cc BrowserThread::IO, FROM_HERE, base::Bind(callback, true)); base 97 chrome/browser/renderer_host/offline_resource_throttle.cc base::Bind(&OfflineResourceThrottle::OnCanHandleOfflineComplete, base 143 chrome/browser/renderer_host/offline_resource_throttle.cc base::Bind( base 148 chrome/browser/renderer_host/offline_resource_throttle.cc base::Bind( base 26 chrome/browser/renderer_host/offline_resource_throttle.h public base::SupportsWeakPtr<OfflineResourceThrottle> { base 41 chrome/browser/renderer_host/pepper/device_id_fetcher.cc const base::Callback<void(const std::string&)>& callback) { base 77 chrome/browser/renderer_host/pepper/device_id_fetcher.cc base::Bind(&DeviceIDFetcher::CheckPrefsOnUIThread, this)); base 94 chrome/browser/renderer_host/pepper/device_id_fetcher.cc base::FilePath DeviceIDFetcher::GetLegacyDeviceIDPath( base 95 chrome/browser/renderer_host/pepper/device_id_fetcher.cc const base::FilePath& profile_path) { base 123 chrome/browser/renderer_host/pepper/device_id_fetcher.cc salt = base::HexEncode(salt_bytes, arraysize(salt_bytes)); base 132 chrome/browser/renderer_host/pepper/device_id_fetcher.cc base::Bind(&DeviceIDFetcher::LegacyComputeOnBlockingPool, base 137 chrome/browser/renderer_host/pepper/device_id_fetcher.cc GetMachineIDAsync(base::Bind(&DeviceIDFetcher::ComputeOnUIThread, base 155 chrome/browser/renderer_host/pepper/device_id_fetcher.cc if (!base::HexStringToBytes(salt, &salt_bytes)) base 169 chrome/browser/renderer_host/pepper/device_id_fetcher.cc base::HexEncode(reinterpret_cast<const void*>(id_buf), sizeof(id_buf))); base 174 chrome/browser/renderer_host/pepper/device_id_fetcher.cc id = StringToLowerASCII(base::HexEncode( base 185 chrome/browser/renderer_host/pepper/device_id_fetcher.cc const base::FilePath& profile_path, base 190 chrome/browser/renderer_host/pepper/device_id_fetcher.cc base::FilePath id_path = GetLegacyDeviceIDPath(profile_path); base 191 chrome/browser/renderer_host/pepper/device_id_fetcher.cc if (base::PathExists(id_path)) { base 192 chrome/browser/renderer_host/pepper/device_id_fetcher.cc if (base::ReadFileToString(id_path, &id) && !id.empty()) { base 201 chrome/browser/renderer_host/pepper/device_id_fetcher.cc base::Bind(&GetMachineIDAsync, base 202 chrome/browser/renderer_host/pepper/device_id_fetcher.cc base::Bind(&DeviceIDFetcher::ComputeOnUIThread, base 211 chrome/browser/renderer_host/pepper/device_id_fetcher.cc base::Bind(&DeviceIDFetcher::RunCallbackOnIOThread, this, id, result)); base 32 chrome/browser/renderer_host/pepper/device_id_fetcher.h class DeviceIDFetcher : public base::RefCountedThreadSafe<DeviceIDFetcher> { base 34 chrome/browser/renderer_host/pepper/device_id_fetcher.h typedef base::Callback<void(const std::string&, int32_t)> IDCallback; base 46 chrome/browser/renderer_host/pepper/device_id_fetcher.h static base::FilePath GetLegacyDeviceIDPath( base 47 chrome/browser/renderer_host/pepper/device_id_fetcher.h const base::FilePath& profile_path); base 61 chrome/browser/renderer_host/pepper/device_id_fetcher.h void LegacyComputeOnBlockingPool(const base::FilePath& profile_path, base 69 chrome/browser/renderer_host/pepper/device_id_fetcher.h friend class base::RefCountedThreadSafe<DeviceIDFetcher>; base 19 chrome/browser/renderer_host/pepper/monitor_finder_mac.h class MonitorFinder : public base::RefCountedThreadSafe<MonitorFinder> { base 30 chrome/browser/renderer_host/pepper/monitor_finder_mac.h friend class base::RefCountedThreadSafe<MonitorFinder>; base 39 chrome/browser/renderer_host/pepper/monitor_finder_mac.h base::Lock mutex_; // Protects the two members below. base 38 chrome/browser/renderer_host/pepper/pepper_broker_message_filter.cc scoped_refptr<base::TaskRunner> base 35 chrome/browser/renderer_host/pepper/pepper_broker_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 91 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc base::FilePath profile_directory = host->GetProfileDataDirectory(); base 103 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc const base::FilePath& profile_directory, base 116 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc scoped_refptr<base::TaskRunner> base 138 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc base::ListValue& args) { base 148 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc base::ListValue& args) { base 187 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc base::ListValue* args, base 207 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc const base::ListValue& results, base 232 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc base::ListValue* args, base 251 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc base::Bind( base 254 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.cc base::Passed(&reply_context))); base 22 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h namespace base { base 48 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h const base::FilePath& profile_directory, base 53 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 69 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h base::ListValue& args); base 73 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h base::ListValue& args); base 82 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h base::ListValue* args, base 89 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h const base::ListValue& results, base 94 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h base::ListValue* args, base 101 chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h base::FilePath profile_directory_; base 101 chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc const base::Time& t) { base 123 chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc base::Bind(&GetCookieSettings, render_process_id_), base 124 chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc base::Bind(&PepperFlashBrowserHost::GetLocalDataRestrictions, base 14 chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h namespace base { base 44 chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h const base::Time& t); base 57 chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h base::WeakPtrFactory<PepperFlashBrowserHost> weak_factory_; base 49 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc bool JumpToFormatInPickle(const base::string16& format, PickleIterator* iter) { base 54 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc base::string16 stored_format; base 68 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc bool IsFormatAvailableInPickle(const base::string16& format, base 74 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc std::string ReadDataFromPickle(const base::string16& format, base 83 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc bool WriteDataToPickle(const std::map<base::string16, std::string>& data, base 86 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc for (std::map<base::string16, std::string>::const_iterator it = data.begin(); base 104 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc scoped_refptr<base::TaskRunner> base 197 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc IsFormatAvailableInPickle(base::UTF8ToUTF16(format_name), pickle); base 222 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc base::string16 text; base 226 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc clipboard_string = base::UTF16ToUTF8(text); base 245 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc base::string16 html; base 251 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc clipboard_string = base::UTF16ToUTF8( base 268 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc base::string16 format_name = base 269 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc base::UTF8ToUTF16(custom_formats_.GetFormatName(format)); base 311 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc std::map<base::string16, std::string> custom_data_map; base 321 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc scw.WriteText(base::UTF8ToUTF16(data[i])); base 324 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc scw.WriteHTML(base::UTF8ToUTF16(data[i]), std::string()); base 335 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc custom_data_map[base::UTF8ToUTF16(format_name)] = data[i]; base 42 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 40 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc const base::FilePath::CharType kVoucherFilename[] = base 50 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc class MonitorFinder : public base::RefCountedThreadSafe<MonitorFinder> { base 67 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc base::Bind(&MonitorFinder::FetchMonitorFromWidget, this)); base 103 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc class MonitorFinder : public base::RefCountedThreadSafe<MonitorFinder> { base 125 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc base::FilePath plugin_dir = host->GetPluginPath().DirName(); base 127 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc base::FilePath voucher_file = plugin_dir.Append( base 128 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc base::FilePath(kVoucherFilename)); base 156 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc if (!fetcher_->Start(base::Bind(&PepperFlashDRMHost::GotDeviceID, base 53 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.h base::WeakPtrFactory<PepperFlashDRMHost> weak_factory_; base 60 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc const base::FilePath& profile_directory, base 75 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc scoped_refptr<base::TaskRunner> base 188 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc fileapi::kFileSystemTypePluginPrivate, root_name, base::FilePath()); base 41 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 50 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h const base::FilePath& profile_directory, base 70 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h const base::FilePath profile_directory_; base 254 chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc scoped_refptr<base::TaskRunner> base 35 chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 33 chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc scoped_refptr<base::TaskRunner> base 81 chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc base::Bind( base 35 chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 45 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::string16 title; base 46 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::string16 message; base 85 chrome/browser/renderer_host/pepper/pepper_talk_host.cc void OnTerminateRemotingEventOnUIThread(const base::Closure& stop_callback) { base 92 chrome/browser/renderer_host/pepper/pepper_talk_host.cc const base::Closure& stop_callback, base 105 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::Closure stop_callback_ui_thread = base::Bind( base 110 chrome/browser/renderer_host/pepper/pepper_talk_host.cc stop_callback_ui_thread, base::string16()); base 152 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::Bind(&StopRemotingOnUIThread)); base 184 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::Bind(&GetPermissionOnUIThread, permission, render_process_id, base 186 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::Bind(&PepperTalkHost::OnRequestPermissionCompleted, base 198 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::Closure remoting_stop_callback = base::Bind( base 204 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::Bind(&StartRemotingOnUIThread, remoting_stop_callback, base 207 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::Bind(&PepperTalkHost::OnStartRemotingCompleted, base 216 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::Bind(&StopRemotingOnUIThreadWithResult, base 218 chrome/browser/renderer_host/pepper/pepper_talk_host.cc base::Bind(&PepperTalkHost::OnStopRemotingCompleted, base 50 chrome/browser/renderer_host/pepper/pepper_talk_host.h base::WeakPtrFactory<PepperTalkHost> weak_factory_; base 41 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc const base::FilePath& path) OVERRIDE; base 43 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc void set_plugin_enabled(const base::FilePath& plugin_path, bool enabled) { base 48 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc std::map<base::FilePath, bool> plugin_state_; base 57 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc std::map<base::FilePath, bool>::iterator it = base 67 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc const base::FilePath& path) { base 82 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc content::WebPluginInfo foo_plugin(base::ASCIIToUTF16("Foo Plug-in"), base 84 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::ASCIIToUTF16("1"), base 85 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::ASCIIToUTF16("The Foo plug-in.")); base 92 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc content::WebPluginInfo bar_plugin(base::ASCIIToUTF16("Bar Plug-in"), base 94 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::ASCIIToUTF16("1"), base 95 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::ASCIIToUTF16("The Bar plug-in.")); base 107 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::Bind(&PluginInfoMessageFilterTest::PluginsLoaded, base 108 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::Unretained(this))); base 109 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::RunLoop run_loop; base 117 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::FilePath foo_plugin_path_; base 118 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::FilePath bar_plugin_path_; base 124 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::MessageLoop::current()->Quit(); base 127 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::MessageLoop message_loop_; base 131 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::ShadowingAtExitManager at_exit_manager_; // Destroys the PluginService. base 166 chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc base::string16 plugin_name; base 69 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc base::ProcessHandle ShowSingletonTab(const GURL& page) { base 80 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc base::ProcessHandle OpenBackgroundTab(const GURL& page) { base 97 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc base::Bind(&base::DoNothing), base::MessageLoop::QuitClosure()); base 98 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc base::MessageLoop::current()->Run(); base 257 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc if (!base::Process::CanBackgroundProcesses()) { base 270 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc base::ProcessHandle pid1 = ShowSingletonTab(page1); base 271 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc EXPECT_FALSE(base::Process(pid1).IsProcessBackgrounded()); base 276 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc base::ProcessHandle pid2 = ShowSingletonTab(page2); base 278 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc EXPECT_TRUE(base::Process(pid1).IsProcessBackgrounded()); base 279 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc EXPECT_FALSE(base::Process(pid2).IsProcessBackgrounded()); base 284 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc base::ProcessHandle pid3 = OpenBackgroundTab(page3); base 287 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc EXPECT_TRUE(base::Process(pid1).IsProcessBackgrounded()); base 288 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc EXPECT_FALSE(base::Process(pid2).IsProcessBackgrounded()); base 289 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc EXPECT_TRUE(base::Process(pid3).IsProcessBackgrounded()); base 294 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc EXPECT_FALSE(base::Process(pid1).IsProcessBackgrounded()); base 295 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc EXPECT_TRUE(base::Process(pid2).IsProcessBackgrounded()); base 296 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc EXPECT_TRUE(base::Process(pid3).IsProcessBackgrounded()); base 427 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE { base 475 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc base::KillProcess(wc1->GetRenderProcessHost()->GetHandle(), -1, true); base 95 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc ui_manager_->LogPauseDelay(base::TimeTicks::Now() - url_check_start_time_); base 118 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc resource.callback = base::Bind( base 128 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc base::Bind(&SafeBrowsingResourceThrottle::StartDisplayingBlockingPage, base 133 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc const base::WeakPtr<SafeBrowsingResourceThrottle>& throttle, base 160 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc base::Bind(&SafeBrowsingResourceThrottle::Cancel, throttle)); base 187 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc ui_manager_->LogPauseDelay(base::TimeDelta()); // No delay. base 195 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc url_check_start_time_ = base::TimeTicks::Now(); base 199 chrome/browser/renderer_host/safe_browsing_resource_throttle.cc base::TimeDelta::FromMilliseconds(kCheckUrlTimeoutMs), base 49 chrome/browser/renderer_host/safe_browsing_resource_throttle.h public base::SupportsWeakPtr<SafeBrowsingResourceThrottle> { base 96 chrome/browser/renderer_host/safe_browsing_resource_throttle.h const base::WeakPtr<SafeBrowsingResourceThrottle>& throttle, base 116 chrome/browser/renderer_host/safe_browsing_resource_throttle.h base::TimeTicks url_check_start_time_; base 119 chrome/browser/renderer_host/safe_browsing_resource_throttle.h base::OneShotTimer<SafeBrowsingResourceThrottle> timer_; base 30 chrome/browser/renderer_host/web_cache_manager.cc using base::Time; base 31 chrome/browser/renderer_host/web_cache_manager.cc using base::TimeDelta; base 46 chrome/browser/renderer_host/web_cache_manager.cc int mem_size_mb = base::SysInfo::AmountOfPhysicalMemoryMB(); base 330 chrome/browser/renderer_host/web_cache_manager.cc if (base::android::SysUtils::IsLowEndDevice()) base 428 chrome/browser/renderer_host/web_cache_manager.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 429 chrome/browser/renderer_host/web_cache_manager.cc base::Bind( base 432 chrome/browser/renderer_host/web_cache_manager.cc base::TimeDelta::FromMilliseconds(kReviseAllocationDelayMS)); base 92 chrome/browser/renderer_host/web_cache_manager.h base::Time access; base 215 chrome/browser/renderer_host/web_cache_manager.h base::WeakPtrFactory<WebCacheManager> weak_factory_; base 27 chrome/browser/renderer_host/web_cache_manager_browsertest.cc const base::FilePath kTestDir(FILE_PATH_LITERAL("google")); base 28 chrome/browser/renderer_host/web_cache_manager_browsertest.cc const base::FilePath kTestFile(FILE_PATH_LITERAL("google.html")); base 38 chrome/browser/renderer_host/web_cache_manager_browsertest.cc base::KillProcess(tab->GetRenderProcessHost()->GetHandle(), base 12 chrome/browser/renderer_host/web_cache_manager_unittest.cc using base::Time; base 13 chrome/browser/renderer_host/web_cache_manager_unittest.cc using base::TimeDelta; base 96 chrome/browser/renderer_host/web_cache_manager_unittest.cc base::MessageLoop message_loop_; base 106 chrome/browser/renderer_preferences_util.cc const base::TimeDelta cursor_blink_time = gfx::GetCursorBlinkCycle(); base 25 chrome/browser/repost_form_warning_controller.cc base::string16 RepostFormWarningController::GetTitle() { base 29 chrome/browser/repost_form_warning_controller.cc base::string16 RepostFormWarningController::GetDialogMessage() { base 33 chrome/browser/repost_form_warning_controller.cc base::string16 RepostFormWarningController::GetAcceptButtonTitle() { base 23 chrome/browser/repost_form_warning_controller.h virtual base::string16 GetTitle() OVERRIDE; base 24 chrome/browser/repost_form_warning_controller.h virtual base::string16 GetDialogMessage() OVERRIDE; base 25 chrome/browser/repost_form_warning_controller.h virtual base::string16 GetAcceptButtonTitle() OVERRIDE; base 21 chrome/browser/resources_util.cc typedef base::hash_map<std::string, int> StringIntMap; base 41 chrome/browser/resources_util.cc static base::LazyInstance<ThemeMap> g_theme_ids = LAZY_INSTANCE_INITIALIZER; base 39 chrome/browser/rlz/rlz.cc static bool GetLanguage(base::string16* language) { base 47 chrome/browser/rlz/rlz.cc static bool GetReferral(base::string16* referral) { base 63 chrome/browser/rlz/rlz.cc const base::TimeDelta kMaxInitDelay = base::TimeDelta::FromSeconds(200); base 64 chrome/browser/rlz/rlz.cc const base::TimeDelta kMinInitDelay = base::TimeDelta::FromSeconds(20); base 166 chrome/browser/rlz/rlz.cc const base::string16& lang, base 167 chrome/browser/rlz/rlz.cc const base::string16& referral) { base 174 chrome/browser/rlz/rlz.cc std::string lang_ascii(base::UTF16ToASCII(lang)); base 175 chrome/browser/rlz/rlz.cc std::string referral_ascii(base::UTF16ToASCII(referral)); base 256 chrome/browser/rlz/rlz.cc base::TimeDelta delay, base 269 chrome/browser/rlz/rlz.cc base::TimeDelta delay) { base 314 chrome/browser/rlz/rlz.cc base::TimeDelta delay, base 355 chrome/browser/rlz/rlz.cc void RLZTracker::ScheduleDelayedInit(base::TimeDelta delay) { base 361 chrome/browser/rlz/rlz.cc base::Bind(&RLZTracker::DelayedInit, base::Unretained(this)), base 399 chrome/browser/rlz/rlz.cc base::Bind(&RLZTracker::PingNowImpl, base::Unretained(this)), base 400 chrome/browser/rlz/rlz.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 405 chrome/browser/rlz/rlz.cc base::string16 lang; base 408 chrome/browser/rlz/rlz.cc lang = base::ASCIIToUTF16("en"); base 409 chrome/browser/rlz/rlz.cc base::string16 referral; base 416 chrome/browser/rlz/rlz.cc base::AutoLock lock(cache_lock_); base 435 chrome/browser/rlz/rlz.cc const base::string16& lang, base 436 chrome/browser/rlz/rlz.cc const base::string16& referral) { base 502 chrome/browser/rlz/rlz.cc base::Bind(base::IgnoreResult(&RLZTracker::RecordProductEvent), base 504 chrome/browser/rlz/rlz.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 522 chrome/browser/rlz/rlz.cc ScheduleDelayedInit(base::TimeDelta()); base 531 chrome/browser/rlz/rlz.cc base::Bind(&RLZTracker::RecordFirstSearch, base 532 chrome/browser/rlz/rlz.cc base::Unretained(this), point), base 533 chrome/browser/rlz/rlz.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 554 chrome/browser/rlz/rlz.cc base::string16 rlz_string; base 558 chrome/browser/rlz/rlz.cc base::UTF16ToUTF8(rlz_string), base 568 chrome/browser/rlz/rlz.cc base::string16* rlz) { base 576 chrome/browser/rlz/rlz.cc base::string16* rlz) { base 580 chrome/browser/rlz/rlz.cc base::AutoLock lock(cache_lock_); base 597 chrome/browser/rlz/rlz.cc base::string16 rlz_local(base::ASCIIToUTF16(std::string(str_rlz))); base 601 chrome/browser/rlz/rlz.cc base::AutoLock lock(cache_lock_); base 610 chrome/browser/rlz/rlz.cc base::string16* not_used = NULL; base 614 chrome/browser/rlz/rlz.cc base::Bind(base::IgnoreResult(&RLZTracker::GetAccessPointRlz), point, base 616 chrome/browser/rlz/rlz.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 639 chrome/browser/rlz/rlz.cc base::Bind(&RLZTracker::ClearRlzStateImpl, base 640 chrome/browser/rlz/rlz.cc base::Unretained(this)), base 641 chrome/browser/rlz/rlz.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 655 chrome/browser/rlz/rlz.cc GetInstance()->min_init_delay_ = base::TimeDelta(); base 53 chrome/browser/rlz/rlz.h base::TimeDelta delay); base 80 chrome/browser/rlz/rlz.h base::string16* rlz); base 111 chrome/browser/rlz/rlz.h base::TimeDelta delay, base 138 chrome/browser/rlz/rlz.h friend class base::RefCountedThreadSafe<RLZTracker>; base 143 chrome/browser/rlz/rlz.h base::TimeDelta delay, base 157 chrome/browser/rlz/rlz.h bool GetAccessPointRlzImpl(rlz_lib::AccessPoint point, base::string16* rlz); base 161 chrome/browser/rlz/rlz.h virtual void ScheduleDelayedInit(base::TimeDelta delay); base 186 chrome/browser/rlz/rlz.h const base::string16& lang, base 187 chrome/browser/rlz/rlz.h const base::string16& referral); base 215 chrome/browser/rlz/rlz.h base::SequencedWorkerPool::SequenceToken worker_pool_token_; base 224 chrome/browser/rlz/rlz.h base::Lock cache_lock_; base 225 chrome/browser/rlz/rlz.h std::map<rlz_lib::AccessPoint, base::string16> rlz_cache_; base 239 chrome/browser/rlz/rlz.h base::TimeDelta min_init_delay_; base 32 chrome/browser/rlz/rlz_unittest.cc using base::win::RegKey; base 106 chrome/browser/rlz/rlz_unittest.cc virtual void ScheduleDelayedInit(base::TimeDelta delay) OVERRIDE { base 109 chrome/browser/rlz/rlz_unittest.cc if (delay == base::TimeDelta()) base 138 chrome/browser/rlz/rlz_unittest.cc const base::string16& lang, base 139 chrome/browser/rlz/rlz_unittest.cc const base::string16& referral) OVERRIDE { base 220 chrome/browser/rlz/rlz_unittest.cc base::string16 reg_path = dist->GetStateKey(); base 226 chrome/browser/rlz/rlz_unittest.cc base::string16 brand16 = base::ASCIIToUTF16(brand); base 352 chrome/browser/rlz/rlz_unittest.cc const base::TimeDelta kDelay = base::TimeDelta::FromMilliseconds(20); base 728 chrome/browser/rlz/rlz_unittest.cc base::string16 rlz; base 732 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kOmniboxRlzString, base::UTF16ToUTF8(rlz).c_str()); base 739 chrome/browser/rlz/rlz_unittest.cc base::string16 rlz; base 749 chrome/browser/rlz/rlz_unittest.cc base::string16 rlz; base 756 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kOmniboxRlzString, base::UTF16ToUTF8(rlz).c_str()); base 760 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kOmniboxRlzString, base::UTF16ToUTF8(rlz).c_str()); base 769 chrome/browser/rlz/rlz_unittest.cc base::string16 rlz; base 775 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kOmniboxRlzString, base::UTF16ToUTF8(rlz).c_str()); base 778 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kHomepageRlzString, base::UTF16ToUTF8(rlz).c_str()); base 780 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kAppListRlzString, base::UTF16ToUTF8(rlz).c_str()); base 786 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kOmniboxRlzString, base::UTF16ToUTF8(rlz).c_str()); base 789 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kHomepageRlzString, base::UTF16ToUTF8(rlz).c_str()); base 791 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kAppListRlzString, base::UTF16ToUTF8(rlz).c_str()); base 803 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kNewOmniboxRlzString, base::UTF16ToUTF8(rlz).c_str()); base 806 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kNewHomepageRlzString, base::UTF16ToUTF8(rlz).c_str()); base 808 chrome/browser/rlz/rlz_unittest.cc EXPECT_STREQ(kNewAppListRlzString, base::UTF16ToUTF8(rlz).c_str()); base 14 chrome/browser/safe_browsing/binary_feature_extractor.h namespace base { base 23 chrome/browser/safe_browsing/binary_feature_extractor.h : public base::RefCountedThreadSafe<BinaryFeatureExtractor> { base 30 chrome/browser/safe_browsing/binary_feature_extractor.h const base::FilePath& file_path, base 35 chrome/browser/safe_browsing/binary_feature_extractor.h const base::FilePath& file_path, base 39 chrome/browser/safe_browsing/binary_feature_extractor.h friend class base::RefCountedThreadSafe<BinaryFeatureExtractor>; base 17 chrome/browser/safe_browsing/binary_feature_extractor_posix.cc const base::FilePath& file_path, base 21 chrome/browser/safe_browsing/binary_feature_extractor_posix.cc const base::FilePath& file_path, base 26 chrome/browser/safe_browsing/binary_feature_extractor_win.cc const base::FilePath& file_path, base 94 chrome/browser/safe_browsing/binary_feature_extractor_win.cc const base::FilePath& file_path, base 97 chrome/browser/safe_browsing/binary_feature_extractor_win.cc base::MemoryMappedFile file; base 25 chrome/browser/safe_browsing/binary_feature_extractor_win_unittest.cc base::FilePath source_path; base 46 chrome/browser/safe_browsing/binary_feature_extractor_win_unittest.cc base::FilePath testdata_path_; base 113 chrome/browser/safe_browsing/browser_feature_extractor.cc AddFeature(base::StringPrintf("%s%s=%s", base 156 chrome/browser/safe_browsing/browser_feature_extractor.cc AddFeature(base::StringPrintf("%s%s[%" PRIuS "]=%s", base 254 chrome/browser/safe_browsing/browser_feature_extractor.cc base::MessageLoop::current()->PostTask( base 256 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Bind(&BrowserFeatureExtractor::StartExtractFeatures, base 282 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Bind(&FilterBenignIpsOnIOThread, base 285 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Bind(&BrowserFeatureExtractor::FinishExtractMalwareFeatures, base 287 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Passed(&ips), callback, base::Passed(&req))); base 330 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Bind(&BrowserFeatureExtractor::QueryUrlHistoryDone, base 331 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Unretained(this))); base 361 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Time threshold = base::Time::Now() - base::TimeDelta::FromDays(1); base 401 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Bind(&BrowserFeatureExtractor::QueryHttpHostVisitsDone, base 402 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Unretained(this))); base 410 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Time first_visit) { base 437 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Bind(&BrowserFeatureExtractor::QueryHttpsHostVisitsDone, base 438 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Unretained(this))); base 446 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Time first_visit) { base 466 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Time first_visit, base 479 chrome/browser/safe_browsing/browser_feature_extractor.cc (first_visit < (base::Time::Now() - base::TimeDelta::FromDays(1))) ? base 99 chrome/browser/safe_browsing/browser_feature_extractor.h typedef base::Callback<void(bool, ClientPhishingRequest*)> DoneCallback; base 100 chrome/browser/safe_browsing/browser_feature_extractor.h typedef base::Callback<void(bool, scoped_ptr<ClientMalwareRequest>)> base 132 chrome/browser/safe_browsing/browser_feature_extractor.h friend class base::DeleteHelper<BrowserFeatureExtractor>; base 157 chrome/browser/safe_browsing/browser_feature_extractor.h base::Time first_visit); base 164 chrome/browser/safe_browsing/browser_feature_extractor.h base::Time first_visit); base 171 chrome/browser/safe_browsing/browser_feature_extractor.h base::Time first_visit, base 201 chrome/browser/safe_browsing/browser_feature_extractor.h base::WeakPtrFactory<BrowserFeatureExtractor> weak_factory_; base 149 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::MessageLoop::current()->Run(); base 160 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Bind(&BrowserFeatureExtractorTest::ExtractFeaturesDone, base 161 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Unretained(this))); base 178 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::MessageLoopForUI::current()->Run(); base 191 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Bind(&BrowserFeatureExtractorTest::ExtractMalwareFeaturesDone, base 192 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Unretained(this))); base 217 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::MessageLoop::current()->Quit(); base 230 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::MessageLoopForUI::current()->Quit(); base 253 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 256 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 259 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 262 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 265 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now() - base::TimeDelta::FromHours(23), base 270 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now() - base::TimeDelta::FromHours(25), base 275 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(5), base 322 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 336 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::MessageLoop::current()->Run(); base 345 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 348 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 351 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 354 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 357 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc base::Time::Now(), base 379 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s=%s", base 383 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s[0]=%s", base 389 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s[1]=%s", base 418 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s=%s", base 422 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s[0]=%s", base 426 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s[1]=%s", base 433 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s%s=%s", base 438 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s%s[0]=%s", base 443 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s%s", base 447 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s%s", base 471 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s=%s", base 475 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s[0]=%s", base 484 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features.count(base::StringPrintf("%s%s", base 488 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features.count(base::StringPrintf("%s%s", base 507 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s=%s", base 514 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s%s=%s", base 519 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s%s[0]=%s", base 524 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s%s", base 528 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s%s", base 547 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features[base::StringPrintf("%s[0]=%s", base 554 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features.count(base::StringPrintf("%s%s", base 558 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc features.count(base::StringPrintf("%s%s", base 580 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc EXPECT_TRUE(features.count(base::StringPrintf( base 584 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc EXPECT_TRUE(features.count(base::StringPrintf( base 641 chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc std::string ip = base::StringPrintf("%d.%d.%d.%d", i, i, i, i); base 47 chrome/browser/safe_browsing/chunk_range.cc result->append(base::IntToString(range_begin)); base 50 chrome/browser/safe_browsing/chunk_range.cc result->append(base::IntToString(range_end)); base 73 chrome/browser/safe_browsing/chunk_range.cc base::SplitString(input, ',', &chunk_parts); base 77 chrome/browser/safe_browsing/chunk_range.cc base::SplitString(chunk_parts[i], '-', &chunk_ranges); base 52 chrome/browser/safe_browsing/client_side_detection_host.cc typedef base::Callback<void(bool)> ShouldClassifyUrlCallback; base 62 chrome/browser/safe_browsing/client_side_detection_host.cc : public base::RefCountedThreadSafe< base 136 chrome/browser/safe_browsing/client_side_detection_host.cc base::Bind(&ShouldClassifyUrlRequest::CheckSafeBrowsingDatabase, base 236 chrome/browser/safe_browsing/client_side_detection_host.cc base::Bind(&ShouldClassifyUrlRequest::CheckCache, base 405 chrome/browser/safe_browsing/client_side_detection_host.cc base::Bind(&ClientSideDetectionHost::OnPhishingPreClassificationDone, base 407 chrome/browser/safe_browsing/client_side_detection_host.cc base::Bind(&ClientSideDetectionHost::OnMalwarePreClassificationDone, base 453 chrome/browser/safe_browsing/client_side_detection_host.cc kSafeBrowsingMatchKey, base::ASCIIToUTF16("1")); base 478 chrome/browser/safe_browsing/client_side_detection_host.cc base::string16 value; base 543 chrome/browser/safe_browsing/client_side_detection_host.cc base::Bind(&ClientSideDetectionHost::MalwareFeatureExtractionDone, base 578 chrome/browser/safe_browsing/client_side_detection_host.cc base::Bind(&ClientSideDetectionHost::FeatureExtractionDone, base 655 chrome/browser/safe_browsing/client_side_detection_host.cc callback = base::Bind(&ClientSideDetectionHost::MaybeShowPhishingWarning, base 675 chrome/browser/safe_browsing/client_side_detection_host.cc callback = base::Bind(&ClientSideDetectionHost::MaybeShowMalwareWarning, base 174 chrome/browser/safe_browsing/client_side_detection_host.h base::WeakPtrFactory<ClientSideDetectionHost> weak_factory_; base 91 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::MessageLoopForUI::current()->Quit(); base 233 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::RunLoop().RunUntilIdle(); base 306 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::RunLoop().RunUntilIdle(); base 366 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc resource.callback = base::Bind(&EmptyUrlCheckCallback); base 399 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc resource.callback = base::Bind(&EmptyUrlCheckCallback); base 498 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::RunLoop().RunUntilIdle(); base 531 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::RunLoop().RunUntilIdle(); base 568 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::RunLoop().RunUntilIdle(); base 583 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::Bind(&MockSafeBrowsingUIManager::InvokeOnBlockingPageComplete, base 644 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::MessageLoop::current()->Run(); base 658 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::RunLoop().RunUntilIdle(); base 673 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::Bind(&MockSafeBrowsingUIManager::InvokeOnBlockingPageComplete, base 721 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::MessageLoop::current()->Run(); base 760 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::MessageLoop::current()->Run(); base 811 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::RunLoop().RunUntilIdle(); base 826 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc base::Bind(&MockSafeBrowsingUIManager::InvokeOnBlockingPageComplete, base 843 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc std::string url = base::StringPrintf("http://%d.com/", i); base 861 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc std::string ip = base::StringPrintf("%d.%d.%d.256", i, i, i); base 93 chrome/browser/safe_browsing/client_side_detection_service.cc ClientSideDetectionService::CacheState::CacheState(bool phish, base::Time time) base 174 chrome/browser/safe_browsing/client_side_detection_service.cc base::MessageLoop::current()->PostTask( base 176 chrome/browser/safe_browsing/client_side_detection_service.cc base::Bind(&ClientSideDetectionService::StartClientReportPhishingRequest, base 184 chrome/browser/safe_browsing/client_side_detection_service.cc base::MessageLoop::current()->PostTask( base 186 chrome/browser/safe_browsing/client_side_detection_service.cc base::Bind(&ClientSideDetectionService::StartClientReportMalwareRequest, base 275 chrome/browser/safe_browsing/client_side_detection_service.cc base::MessageLoop::current()->PostDelayedTask( base 277 chrome/browser/safe_browsing/client_side_detection_service.cc base::Bind(&ClientSideDetectionService::StartFetchModel, base 279 chrome/browser/safe_browsing/client_side_detection_service.cc base::TimeDelta::FromMilliseconds(delay_ms)); base 309 chrome/browser/safe_browsing/client_side_detection_service.cc *model_max_age_ += base::TimeDelta::FromMinutes(1); base 356 chrome/browser/safe_browsing/client_side_detection_service.cc phishing_report_times_.push(base::Time::Now()); base 403 chrome/browser/safe_browsing/client_side_detection_service.cc malware_report_times_.push(base::Time::Now()); base 413 chrome/browser/safe_browsing/client_side_detection_service.cc base::TimeDelta max_age; base 417 chrome/browser/safe_browsing/client_side_detection_service.cc model_max_age_.reset(new base::TimeDelta(max_age)); base 461 chrome/browser/safe_browsing/client_side_detection_service.cc make_linked_ptr(new CacheState(response.phishy(), base::Time::Now())); base 531 chrome/browser/safe_browsing/client_side_detection_service.cc cache_state.timestamp > base::Time::Now() - base 532 chrome/browser/safe_browsing/client_side_detection_service.cc base::TimeDelta::FromMinutes(kPositiveCacheIntervalMinutes) : base 533 chrome/browser/safe_browsing/client_side_detection_service.cc cache_state.timestamp > base::Time::Now() - base 534 chrome/browser/safe_browsing/client_side_detection_service.cc base::TimeDelta::FromDays(kNegativeCacheIntervalDays)) { base 546 chrome/browser/safe_browsing/client_side_detection_service.cc base::TimeDelta positive_cache_interval = base 547 chrome/browser/safe_browsing/client_side_detection_service.cc std::max(base::TimeDelta::FromMinutes(kPositiveCacheIntervalMinutes), base 548 chrome/browser/safe_browsing/client_side_detection_service.cc base::TimeDelta::FromDays(kReportsIntervalDays)); base 549 chrome/browser/safe_browsing/client_side_detection_service.cc base::TimeDelta negative_cache_interval = base 550 chrome/browser/safe_browsing/client_side_detection_service.cc std::max(base::TimeDelta::FromDays(kNegativeCacheIntervalDays), base 551 chrome/browser/safe_browsing/client_side_detection_service.cc base::TimeDelta::FromDays(kReportsIntervalDays)); base 557 chrome/browser/safe_browsing/client_side_detection_service.cc cache_state.timestamp > base::Time::Now() - positive_cache_interval : base 558 chrome/browser/safe_browsing/client_side_detection_service.cc cache_state.timestamp > base::Time::Now() - negative_cache_interval) { base 583 chrome/browser/safe_browsing/client_side_detection_service.cc std::queue<base::Time>* report_times) { base 584 chrome/browser/safe_browsing/client_side_detection_service.cc base::Time cutoff = base 585 chrome/browser/safe_browsing/client_side_detection_service.cc base::Time::Now() - base::TimeDelta::FromDays(kReportsIntervalDays); base 39 chrome/browser/safe_browsing/client_side_detection_service.h namespace base { base 64 chrome/browser/safe_browsing/client_side_detection_service.h typedef base::Callback<void(GURL, bool)> ClientReportPhishingRequestCallback; base 66 chrome/browser/safe_browsing/client_side_detection_service.h typedef base::Callback<void(GURL, GURL, bool)> base 186 chrome/browser/safe_browsing/client_side_detection_service.h base::Time timestamp; base 188 chrome/browser/safe_browsing/client_side_detection_service.h CacheState(bool phish, base::Time time); base 260 chrome/browser/safe_browsing/client_side_detection_service.h int GetNumReports(std::queue<base::Time>* report_times); base 292 chrome/browser/safe_browsing/client_side_detection_service.h scoped_ptr<base::TimeDelta> model_max_age_; base 317 chrome/browser/safe_browsing/client_side_detection_service.h std::queue<base::Time> phishing_report_times_; base 321 chrome/browser/safe_browsing/client_side_detection_service.h std::queue<base::Time> malware_report_times_; base 325 chrome/browser/safe_browsing/client_side_detection_service.h base::WeakPtrFactory<ClientSideDetectionService> weak_factory_; base 58 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::MessageLoop::current()->Quit(); base 90 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Bind(&ClientSideDetectionServiceTest::SendRequestDone, base 91 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Unretained(this))); base 102 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Bind(&ClientSideDetectionServiceTest::SendMalwareRequestDone, base 103 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Unretained(this))); base 134 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc int GetNumReports(std::queue<base::Time>* report_times) { base 138 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc std::queue<base::Time>& GetPhishingReportTimes() { base 142 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc std::queue<base::Time>& GetMalwareReportTimes() { base 146 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc void SetCache(const GURL& gurl, bool is_phishing, base::Time time) { base 154 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Time now = base::Time::Now(); base 155 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Time time = base 156 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc now - base::TimeDelta::FromDays( base 158 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::TimeDelta::FromMinutes(5); base 164 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc now - base::TimeDelta::FromDays( base 166 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::TimeDelta::FromHours(1); base 172 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc now - base::TimeDelta::FromMinutes( base 174 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::TimeDelta::FromMinutes(5); base 179 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc now - base::TimeDelta::FromMinutes( base 181 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::TimeDelta::FromMinutes(5); base 228 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::MessageLoop msg_loop_; base 398 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Time before = base::Time::Now(); base 420 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Time after = base::Time::Now(); base 423 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc std::queue<base::Time>& report_times = GetPhishingReportTimes(); base 426 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Time time = report_times.back(); base 447 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Time before = base::Time::Now(); base 482 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Time after = base::Time::Now(); base 483 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc std::queue<base::Time>& report_times = GetMalwareReportTimes(); base 492 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Time time = report_times.back(); base 504 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc std::queue<base::Time>& report_times = GetPhishingReportTimes(); base 505 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::Time now = base::Time::Now(); base 506 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc base::TimeDelta twenty_five_hours = base::TimeDelta::FromHours(25); base 150 chrome/browser/safe_browsing/database_manager.cc check_timeout_(base::TimeDelta::FromMilliseconds(kCheckTimeoutMs)) { base 225 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::CheckDownloadUrlOnSBThread, this, base 252 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::CheckExtensionIDsOnSBThread, base 328 chrome/browser/safe_browsing/database_manager.cc const base::TimeTicks start = base::TimeTicks::Now(); base 347 chrome/browser/safe_browsing/database_manager.cc UMA_HISTOGRAM_TIMES("SB2.FilterCheck", base::TimeTicks::Now() - start); base 366 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::OnCheckDone, this, check)); base 410 chrome/browser/safe_browsing/database_manager.cc base::TimeTicks::Now() - check->start); base 425 chrome/browser/safe_browsing/database_manager.cc safe_browsing_thread_->message_loop()->PostTask(FROM_HERE, base::Bind( base 435 chrome/browser/safe_browsing/database_manager.cc safe_browsing_thread_->message_loop()->PostTask(FROM_HERE, base::Bind( base 444 chrome/browser/safe_browsing/database_manager.cc safe_browsing_thread_->message_loop()->PostTask(FROM_HERE, base::Bind( base 461 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::DatabaseUpdateFinished, base 469 chrome/browser/safe_browsing/database_manager.cc safe_browsing_thread_->message_loop()->PostTask(FROM_HERE, base::Bind( base 473 chrome/browser/safe_browsing/database_manager.cc void SafeBrowsingDatabaseManager::LogPauseDelay(base::TimeDelta time) { base 483 chrome/browser/safe_browsing/database_manager.cc safe_browsing_thread_.reset(new base::Thread("Chrome_SafeBrowsingThread")); base 513 chrome/browser/safe_browsing/database_manager.cc const base::TimeTicks& start) base 559 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::OnCloseDatabase, this)); base 572 chrome/browser/safe_browsing/database_manager.cc base::ThreadRestrictions::ScopedAllowIO allow_io_for_thread_join; base 593 chrome/browser/safe_browsing/database_manager.cc base::AutoLock lock(database_lock_); base 604 chrome/browser/safe_browsing/database_manager.cc base::Bind(base::IgnoreResult(&SafeBrowsingDatabaseManager::GetDatabase), base 610 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 616 chrome/browser/safe_browsing/database_manager.cc const base::TimeTicks before = base::TimeTicks::Now(); base 630 chrome/browser/safe_browsing/database_manager.cc base::AutoLock lock(database_lock_); base 636 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::DatabaseLoadComplete, this)); base 638 chrome/browser/safe_browsing/database_manager.cc UMA_HISTOGRAM_TIMES("SB2.DatabaseOpen", base::TimeTicks::Now() - before); base 677 chrome/browser/safe_browsing/database_manager.cc check->start = base::TimeTicks::Now(); base 683 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::HandleGetHashResults, base 684 chrome/browser/safe_browsing/database_manager.cc base::Unretained(this), base 696 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 712 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::OnGetAllChunksFromDatabase, base 746 chrome/browser/safe_browsing/database_manager.cc HISTOGRAM_TIMES("SB.QueueDelay", base::TimeTicks::Now() - check.start); base 765 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 773 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::OnAddChunksComplete, this, base 779 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 811 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 818 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::NotifyDatabaseUpdateFinished, base 823 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 836 chrome/browser/safe_browsing/database_manager.cc base::AutoLock lock(database_lock_); base 841 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 849 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 922 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 932 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::CheckDownloadUrlDone, this, base 942 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::OnCheckDone, this, check)); base 947 chrome/browser/safe_browsing/database_manager.cc DCHECK_EQ(base::MessageLoop::current(), base 962 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::SafeBrowsingCheckDone, this, base 970 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::OnCheckDone, this, check)); base 1012 chrome/browser/safe_browsing/database_manager.cc const base::Closure& task) { base 1015 chrome/browser/safe_browsing/database_manager.cc new base::WeakPtrFactory<SafeBrowsingDatabaseManager>(this)); base 1020 chrome/browser/safe_browsing/database_manager.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 1021 chrome/browser/safe_browsing/database_manager.cc base::Bind(&SafeBrowsingDatabaseManager::TimeoutCallback, base 30 chrome/browser/safe_browsing/database_manager.h namespace base { base 46 chrome/browser/safe_browsing/database_manager.h : public base::RefCountedThreadSafe<SafeBrowsingDatabaseManager>, base 75 chrome/browser/safe_browsing/database_manager.h base::TimeTicks start; // When check was sent to SB service. base 87 chrome/browser/safe_browsing/database_manager.h scoped_ptr<base::WeakPtrFactory< base 191 chrome/browser/safe_browsing/database_manager.h void LogPauseDelay(base::TimeDelta time); base 210 chrome/browser/safe_browsing/database_manager.h friend class base::RefCountedThreadSafe<SafeBrowsingDatabaseManager>; base 218 chrome/browser/safe_browsing/database_manager.h typedef base::hash_map<SBPrefix, GetHashRequestors> GetHashRequests; base 226 chrome/browser/safe_browsing/database_manager.h const base::TimeTicks& start); base 232 chrome/browser/safe_browsing/database_manager.h base::TimeTicks start; // When check was queued. base 327 chrome/browser/safe_browsing/database_manager.h const base::Closure& task); base 351 chrome/browser/safe_browsing/database_manager.h mutable base::Lock database_lock_; base 382 chrome/browser/safe_browsing/database_manager.h scoped_ptr<base::Thread> safe_browsing_thread_; base 398 chrome/browser/safe_browsing/database_manager.h base::TimeDelta check_timeout_; base 43 chrome/browser/safe_browsing/download_feedback.cc base::TaskRunner* file_task_runner, base 44 chrome/browser/safe_browsing/download_feedback.cc const base::FilePath& file_path, base 49 chrome/browser/safe_browsing/download_feedback.cc virtual void Start(const base::Closure& finish_callback) OVERRIDE; base 62 chrome/browser/safe_browsing/download_feedback.cc void FinishedUpload(base::Closure finish_callback, base 71 chrome/browser/safe_browsing/download_feedback.cc scoped_refptr<base::TaskRunner> file_task_runner_; base 72 chrome/browser/safe_browsing/download_feedback.cc const base::FilePath file_path_; base 87 chrome/browser/safe_browsing/download_feedback.cc base::TaskRunner* file_task_runner, base 88 chrome/browser/safe_browsing/download_feedback.cc const base::FilePath& file_path, base 111 chrome/browser/safe_browsing/download_feedback.cc base::FileUtilProxy::DeleteFile(file_task_runner_.get(), base 114 chrome/browser/safe_browsing/download_feedback.cc base::FileUtilProxy::StatusCallback()); base 117 chrome/browser/safe_browsing/download_feedback.cc void DownloadFeedbackImpl::Start(const base::Closure& finish_callback) { base 147 chrome/browser/safe_browsing/download_feedback.cc base::Bind(&DownloadFeedbackImpl::FinishedUpload, base 148 chrome/browser/safe_browsing/download_feedback.cc base::Unretained(this), base 153 chrome/browser/safe_browsing/download_feedback.cc void DownloadFeedbackImpl::FinishedUpload(base::Closure finish_callback, base 215 chrome/browser/safe_browsing/download_feedback.cc base::TaskRunner* file_task_runner, base 216 chrome/browser/safe_browsing/download_feedback.cc const base::FilePath& file_path, base 26 chrome/browser/safe_browsing/download_feedback.h class DownloadFeedback : public base::NonThreadSafe { base 32 chrome/browser/safe_browsing/download_feedback.h base::TaskRunner* file_task_runner, base 33 chrome/browser/safe_browsing/download_feedback.h const base::FilePath& file_path, base 54 chrome/browser/safe_browsing/download_feedback.h virtual void Start(const base::Closure& finish_callback) = 0; base 71 chrome/browser/safe_browsing/download_feedback.h base::TaskRunner* file_task_runner, base 72 chrome/browser/safe_browsing/download_feedback.h const base::FilePath& file_path, base 23 chrome/browser/safe_browsing/download_feedback_service.cc class DownloadFeedbackPings : public base::SupportsUserData::Data { base 78 chrome/browser/safe_browsing/download_feedback_service.cc base::TaskRunner* file_task_runner) base 146 chrome/browser/safe_browsing/download_feedback_service.cc base::Bind(&DownloadFeedbackService::BeginFeedbackOrDeleteFile, base 155 chrome/browser/safe_browsing/download_feedback_service.cc const scoped_refptr<base::TaskRunner>& file_task_runner, base 156 chrome/browser/safe_browsing/download_feedback_service.cc const base::WeakPtr<DownloadFeedbackService>& service, base 159 chrome/browser/safe_browsing/download_feedback_service.cc const base::FilePath& path) { base 163 chrome/browser/safe_browsing/download_feedback_service.cc base::FileUtilProxy::DeleteFile(file_task_runner.get(), base 166 chrome/browser/safe_browsing/download_feedback_service.cc base::FileUtilProxy::StatusCallback()); base 172 chrome/browser/safe_browsing/download_feedback_service.cc active_feedback_.front()->Start(base::Bind( base 173 chrome/browser/safe_browsing/download_feedback_service.cc &DownloadFeedbackService::FeedbackComplete, base::Unretained(this))); base 179 chrome/browser/safe_browsing/download_feedback_service.cc const base::FilePath& path) { base 17 chrome/browser/safe_browsing/download_feedback_service.h namespace base { base 35 chrome/browser/safe_browsing/download_feedback_service.h class DownloadFeedbackService : public base::NonThreadSafe { base 38 chrome/browser/safe_browsing/download_feedback_service.h base::TaskRunner* file_task_runner); base 72 chrome/browser/safe_browsing/download_feedback_service.h const scoped_refptr<base::TaskRunner>& file_task_runner, base 73 chrome/browser/safe_browsing/download_feedback_service.h const base::WeakPtr<DownloadFeedbackService>& service, base 76 chrome/browser/safe_browsing/download_feedback_service.h const base::FilePath& path); base 80 chrome/browser/safe_browsing/download_feedback_service.h const base::FilePath& path); base 84 chrome/browser/safe_browsing/download_feedback_service.h scoped_refptr<base::TaskRunner> file_task_runner_; base 90 chrome/browser/safe_browsing/download_feedback_service.h base::WeakPtrFactory<DownloadFeedbackService> weak_ptr_factory_; base 30 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::TaskRunner* file_task_runner, base 31 chrome/browser/safe_browsing/download_feedback_service_unittest.cc const base::FilePath& file_path, base 34 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::Closure deletion_callback) base 45 chrome/browser/safe_browsing/download_feedback_service_unittest.cc virtual void Start(const base::Closure& finish_callback) OVERRIDE { base 58 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::Closure finish_callback() const { base 68 chrome/browser/safe_browsing/download_feedback_service_unittest.cc scoped_refptr<base::TaskRunner> file_task_runner_; base 69 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::FilePath file_path_; base 73 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::Closure finish_callback_; base 74 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::Closure deletion_callback_; base 84 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::TaskRunner* file_task_runner, base 85 chrome/browser/safe_browsing/download_feedback_service_unittest.cc const base::FilePath& file_path, base 94 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::Bind(&FakeDownloadFeedbackFactory::DownloadFeedbackDeleted, base 95 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::Unretained(this), base 149 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::FilePath CreateTestFile(int n) const { base 150 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::FilePath upload_file_path( base 151 chrome/browser/safe_browsing/download_feedback_service_unittest.cc temp_dir_.path().AppendASCII("test file " + base::IntToString(n))); base 153 chrome/browser/safe_browsing/download_feedback_service_unittest.cc int wrote = base::WriteFile( base 167 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::ScopedTempDir temp_dir_; base 169 chrome/browser/safe_browsing/download_feedback_service_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; base 170 chrome/browser/safe_browsing/download_feedback_service_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 194 chrome/browser/safe_browsing/download_feedback_service_unittest.cc const base::FilePath file_path(CreateTestFile(0)); base 227 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::RunLoop().RunUntilIdle(); base 228 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_TRUE(base::PathExists(file_path)); base 239 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::FilePath file_path[num_downloads]; base 292 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::RunLoop().RunUntilIdle(); base 295 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_TRUE(base::PathExists(file_path[0])); base 296 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_TRUE(base::PathExists(file_path[1])); base 297 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_TRUE(base::PathExists(file_path[2])); base 308 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::FilePath file_path[num_downloads]; base 360 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_TRUE(base::PathExists(file_path[2])); base 362 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::RunLoop().RunUntilIdle(); base 365 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_FALSE(base::PathExists(file_path[2])); base 369 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_TRUE(base::PathExists(file_path[0])); base 370 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_TRUE(base::PathExists(file_path[1])); base 28 chrome/browser/safe_browsing/download_feedback_unittest.cc base::TaskRunner* file_task_runner, base 31 chrome/browser/safe_browsing/download_feedback_unittest.cc const base::FilePath& file_path, base 41 chrome/browser/safe_browsing/download_feedback_unittest.cc scoped_refptr<base::TaskRunner> file_task_runner_; base 44 chrome/browser/safe_browsing/download_feedback_unittest.cc base::FilePath file_path_; base 53 chrome/browser/safe_browsing/download_feedback_unittest.cc base::TaskRunner* file_task_runner, base 56 chrome/browser/safe_browsing/download_feedback_unittest.cc const base::FilePath& file_path, base 76 chrome/browser/safe_browsing/download_feedback_unittest.cc base::TaskRunner* file_task_runner, base 79 chrome/browser/safe_browsing/download_feedback_unittest.cc const base::FilePath& file_path, base 88 chrome/browser/safe_browsing/download_feedback_unittest.cc base::TaskRunner* file_task_runner, base 91 chrome/browser/safe_browsing/download_feedback_unittest.cc const base::FilePath& file_path, base 122 chrome/browser/safe_browsing/download_feedback_unittest.cc base::WriteFile(upload_file_path_, upload_file_data_.data(), base 142 chrome/browser/safe_browsing/download_feedback_unittest.cc base::ScopedTempDir temp_dir_; base 143 chrome/browser/safe_browsing/download_feedback_unittest.cc base::FilePath upload_file_path_; base 146 chrome/browser/safe_browsing/download_feedback_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; base 147 chrome/browser/safe_browsing/download_feedback_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 180 chrome/browser/safe_browsing/download_feedback_unittest.cc feedback->Start(base::Bind(&DownloadFeedbackTest::FinishCallback, base 181 chrome/browser/safe_browsing/download_feedback_unittest.cc base::Unretained(this), base 195 chrome/browser/safe_browsing/download_feedback_unittest.cc EXPECT_TRUE(base::PathExists(upload_file_path_)); base 201 chrome/browser/safe_browsing/download_feedback_unittest.cc base::RunLoop().RunUntilIdle(); base 202 chrome/browser/safe_browsing/download_feedback_unittest.cc EXPECT_FALSE(base::PathExists(upload_file_path_)); base 227 chrome/browser/safe_browsing/download_feedback_unittest.cc feedback->Start(base::Bind(&DownloadFeedbackTest::FinishCallback, base 228 chrome/browser/safe_browsing/download_feedback_unittest.cc base::Unretained(this), base 233 chrome/browser/safe_browsing/download_feedback_unittest.cc EXPECT_TRUE(base::PathExists(upload_file_path_)); base 238 chrome/browser/safe_browsing/download_feedback_unittest.cc base::RunLoop().RunUntilIdle(); base 239 chrome/browser/safe_browsing/download_feedback_unittest.cc EXPECT_FALSE(base::PathExists(upload_file_path_)); base 60 chrome/browser/safe_browsing/download_protection_service.cc const base::FilePath& file) { base 99 chrome/browser/safe_browsing/download_protection_service.cc MaliciousExtensionType GetExtensionType(const base::FilePath& f) { base 123 chrome/browser/safe_browsing/download_protection_service.cc void RecordFileExtensionType(const base::FilePath& file) { base 150 chrome/browser/safe_browsing/download_protection_service.cc public base::RefCountedThreadSafe<DownloadSBClient> { base 163 chrome/browser/safe_browsing/download_protection_service.cc start_time_(base::TimeTicks::Now()), base 181 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(callback_, result)); base 188 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&DownloadSBClient::ReportMalware, base 196 chrome/browser/safe_browsing/download_protection_service.cc post_data += base::HexEncode(sha256_hash_.data(), base 221 chrome/browser/safe_browsing/download_protection_service.cc base::TimeTicks start_time_; base 260 chrome/browser/safe_browsing/download_protection_service.cc base::TimeTicks::Now() - start_time_); base 274 chrome/browser/safe_browsing/download_protection_service.cc : public base::RefCountedThreadSafe< base 300 chrome/browser/safe_browsing/download_protection_service.cc start_time_(base::TimeTicks::Now()) { base 357 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&CheckClientDownloadRequest::Cancel, base 359 chrome/browser/safe_browsing/download_protection_service.cc base::TimeDelta::FromMilliseconds( base 448 chrome/browser/safe_browsing/download_protection_service.cc base::TimeTicks::Now() - start_time_); base 453 chrome/browser/safe_browsing/download_protection_service.cc const base::FilePath& target_path, base 492 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&CheckClientDownloadRequest::CheckWhitelists, this)); base 500 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&CheckClientDownloadRequest::StartTimeout, this)); base 510 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&CheckClientDownloadRequest::ExtractFileFeatures, base 512 chrome/browser/safe_browsing/download_protection_service.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 515 chrome/browser/safe_browsing/download_protection_service.cc void ExtractFileFeatures(const base::FilePath& file_path) { base 516 chrome/browser/safe_browsing/download_protection_service.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 527 chrome/browser/safe_browsing/download_protection_service.cc base::TimeTicks::Now() - start_time); base 529 chrome/browser/safe_browsing/download_protection_service.cc start_time = base::TimeTicks::Now(); base 532 chrome/browser/safe_browsing/download_protection_service.cc base::TimeTicks::Now() - start_time); base 540 chrome/browser/safe_browsing/download_protection_service.cc zip_analysis_start_time_ = base::TimeTicks::Now(); base 545 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&CheckClientDownloadRequest::OnZipAnalysisFinished, base 567 chrome/browser/safe_browsing/download_protection_service.cc base::TimeTicks::Now() - zip_analysis_start_time_); base 614 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&CheckClientDownloadRequest::GetTabRedirects, this)); base 639 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&CheckClientDownloadRequest::OnGotTabRedirects, base 640 chrome/browser/safe_browsing/download_protection_service.cc base::Unretained(this))); base 742 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&CheckClientDownloadRequest::FinishRequest, this, result, base 839 chrome/browser/safe_browsing/download_protection_service.cc base::TimeTicks zip_analysis_start_time_; base 844 chrome/browser/safe_browsing/download_protection_service.cc base::WeakPtrFactory<CheckClientDownloadRequest> weakptr_factory_; base 845 chrome/browser/safe_browsing/download_protection_service.cc base::TimeTicks start_time_; // Used for stats. base 903 chrome/browser/safe_browsing/download_protection_service.cc base::Bind(&DownloadUrlSBClient::StartCheck, client)); base 908 chrome/browser/safe_browsing/download_protection_service.cc const base::FilePath& target_path) const { base 1027 chrome/browser/safe_browsing/download_protection_service.cc std::string issuer_fp = base::HexEncode(issuer.fingerprint().data, base 52 chrome/browser/safe_browsing/download_protection_service.h typedef base::Callback<void(DownloadCheckResult)> CheckDownloadCallback; base 82 chrome/browser/safe_browsing/download_protection_service.h const base::FilePath& target_path) const; base 55 chrome/browser/safe_browsing/download_protection_service_unittest.cc using base::MessageLoop; base 104 chrome/browser/safe_browsing/download_protection_service_unittest.cc MOCK_METHOD2(CheckSignature, void (const base::FilePath&, base 106 chrome/browser/safe_browsing/download_protection_service_unittest.cc MOCK_METHOD2(ExtractImageHeaders, void (const base::FilePath&, base 142 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::RunLoop run_loop_; base 159 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(base::ReadFileToString(certificate_file, &cert_data)); base 187 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&OnSafeBrowsingResult, base 188 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Owned(check))); base 206 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::RunLoop().RunUntilIdle(); base 209 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath source_path; base 210 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &source_path)); base 260 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::RunLoop().RunUntilIdle(); base 277 chrome/browser/safe_browsing/download_protection_service_unittest.cc if (!base::ReadFileToString(testdata_path_.AppendASCII(filename), base 292 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 296 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::QuitMessageLoop, base 297 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 301 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::MessageLoop::current()->Quit(); base 308 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::RunAllPendingAndQuitUI, base 309 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 316 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::PostRunMessageLoopTask, base 317 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this), thread)); base 358 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath testdata_path_; base 362 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_tmp(FILE_PATH_LITERAL("a.tmp")); base 363 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_exe(FILE_PATH_LITERAL("a.exe")); base 379 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 380 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 397 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 398 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 414 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_tmp(FILE_PATH_LITERAL("a.tmp")); base 415 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_exe(FILE_PATH_LITERAL("a.exe")); base 452 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 453 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 465 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 466 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 478 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 479 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 491 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 492 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 504 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_tmp(FILE_PATH_LITERAL("a.tmp")); base 505 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_exe(FILE_PATH_LITERAL("a.exe")); base 534 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 535 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 550 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_tmp(FILE_PATH_LITERAL("a.tmp")); base 551 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_exe(FILE_PATH_LITERAL("a.exe")); base 582 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 583 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 596 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 597 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 614 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 615 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 634 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 635 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 659 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 660 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 681 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 682 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 700 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_tmp(FILE_PATH_LITERAL("a.tmp")); base 701 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_exe(FILE_PATH_LITERAL("a.exe")); base 732 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 733 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 752 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::ScopedTempDir download_dir; base 755 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_tmp(download_dir.path().Append(FILE_PATH_LITERAL("a.tmp"))); base 756 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_zip(FILE_PATH_LITERAL("a.zip")); base 779 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::ScopedTempDir zip_source_dir; base 782 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_EQ(static_cast<int>(file_contents.size()), base::WriteFile( base 789 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 790 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 797 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_EQ(static_cast<int>(file_contents.size()), base::WriteFile( base 808 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 809 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 824 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 825 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 836 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::ScopedTempDir download_dir; base 839 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_tmp(download_dir.path().Append(FILE_PATH_LITERAL("a.tmp"))); base 840 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_zip(FILE_PATH_LITERAL("a.zip")); base 862 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_EQ(static_cast<int>(file_contents.size()), base::WriteFile( base 867 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 868 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 888 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_tmp(FILE_PATH_LITERAL("a.tmp")); base 889 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath a_crx(FILE_PATH_LITERAL("a.crx")); base 921 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 922 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 930 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath tmp_path(FILE_PATH_LITERAL("bla.tmp")); base 931 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath final_path(FILE_PATH_LITERAL("bla.exe")); base 964 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 965 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1006 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::MessageLoop::current()->PostTask( base 1008 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::SendURLFetchComplete, base 1009 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this), fetcher)); base 1019 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath tmp_path(FILE_PATH_LITERAL("bla.tmp")); base 1020 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath final_path(FILE_PATH_LITERAL("bla.exe")); base 1051 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 1052 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1082 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::MessageLoop::current()->PostTask( base 1084 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::SendURLFetchComplete, base 1085 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this), fetcher)); base 1095 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::ScopedTempDir profile_dir; base 1101 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath tmp_path(FILE_PATH_LITERAL("bla.tmp")); base 1102 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath final_path(FILE_PATH_LITERAL("bla.exe")); base 1141 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 1142 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1188 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::MessageLoop::current()->PostTask( base 1190 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::SendURLFetchComplete, base 1191 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this), base 1205 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Time::Now(), base 1217 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 1218 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1265 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::MessageLoop::current()->PostTask( base 1267 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::SendURLFetchComplete, base 1268 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this), base 1295 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 1296 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1307 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 1308 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1320 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 1321 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1334 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 1335 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1346 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath tmp_path(FILE_PATH_LITERAL("a.tmp")); base 1347 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath final_path(FILE_PATH_LITERAL("a.exe")); base 1375 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback, base 1376 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1390 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath tmp_path(FILE_PATH_LITERAL("a.tmp")); base 1391 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::FilePath final_path(FILE_PATH_LITERAL("a.exe")); base 1420 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Bind(&DownloadProtectionServiceTest::SyncCheckDoneCallback, base 1421 chrome/browser/safe_browsing/download_protection_service_unittest.cc base::Unretained(this))); base 1437 chrome/browser/safe_browsing/download_protection_service_unittest.cc std::string cert_base = "cert/" + base::HexEncode( base 15 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc const base::FilePath& data_file) base 18 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc base::FilePath()), base 25 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc base::FilePath* testserver_path) const { base 26 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc base::FilePath testserver_dir; base 27 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &testserver_dir)) { base 47 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc base::FilePath pyproto_dir; base 58 chrome/browser/safe_browsing/local_safebrowsing_test_server.cc base::DictionaryValue* arguments) const { base 18 chrome/browser/safe_browsing/local_safebrowsing_test_server.h explicit LocalSafeBrowsingTestServer(const base::FilePath& data_file); base 26 chrome/browser/safe_browsing/local_safebrowsing_test_server.h base::FilePath* testserver_path) const OVERRIDE; base 31 chrome/browser/safe_browsing/local_safebrowsing_test_server.h base::DictionaryValue* arguments) const OVERRIDE; base 34 chrome/browser/safe_browsing/local_safebrowsing_test_server.h base::FilePath data_file_; base 17 chrome/browser/safe_browsing/local_two_phase_testserver.cc base::FilePath()) { base 23 chrome/browser/safe_browsing/local_two_phase_testserver.cc base::FilePath* testserver_path) const { base 24 chrome/browser/safe_browsing/local_two_phase_testserver.cc base::FilePath testserver_dir; base 25 chrome/browser/safe_browsing/local_two_phase_testserver.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &testserver_dir)) { base 24 chrome/browser/safe_browsing/local_two_phase_testserver.h base::FilePath* testserver_path) const OVERRIDE; base 50 chrome/browser/safe_browsing/malware_details.cc friend struct base::DefaultLazyInstanceTraits< base 58 chrome/browser/safe_browsing/malware_details.cc static base::LazyInstance<MalwareDetailsFactoryImpl> base 226 chrome/browser/safe_browsing/malware_details.cc base::Bind(&MalwareDetails::AddDOMDetails, this, params)); base 268 chrome/browser/safe_browsing/malware_details.cc base::Bind(&MalwareDetails::OnRedirectionCollectionReady, this)); base 284 chrome/browser/safe_browsing/malware_details.cc base::Bind(&MalwareDetails::OnCacheCollectionReady, this)); base 39 chrome/browser/safe_browsing/malware_details.h typedef base::hash_map< base 44 chrome/browser/safe_browsing/malware_details.h class MalwareDetails : public base::RefCountedThreadSafe<MalwareDetails>, base 97 chrome/browser/safe_browsing/malware_details.h friend class base::RefCountedThreadSafe<MalwareDetails>; base 40 chrome/browser/safe_browsing/malware_details_cache.cc const base::Closure& callback) { base 55 chrome/browser/safe_browsing/malware_details_cache.cc base::Bind(&MalwareDetailsCacheCollector::OpenEntry, this)); base 182 chrome/browser/safe_browsing/malware_details_cache.cc base::MD5Digest digest; base 183 chrome/browser/safe_browsing/malware_details_cache.cc base::MD5Sum(data.c_str(), data.size(), &digest); base 184 chrome/browser/safe_browsing/malware_details_cache.cc pb_response->set_bodydigest(base::MD5DigestToBase16(digest)); base 197 chrome/browser/safe_browsing/malware_details_cache.cc base::Bind(&MalwareDetailsCacheCollector::OpenEntry, this)); base 30 chrome/browser/safe_browsing/malware_details_cache.h typedef base::hash_map< base 36 chrome/browser/safe_browsing/malware_details_cache.h : public base::RefCountedThreadSafe<MalwareDetailsCacheCollector>, base 49 chrome/browser/safe_browsing/malware_details_cache.h const base::Closure& callback); base 60 chrome/browser/safe_browsing/malware_details_cache.h friend class base::RefCountedThreadSafe<MalwareDetailsCacheCollector>; base 76 chrome/browser/safe_browsing/malware_details_cache.h base::Closure callback_; base 36 chrome/browser/safe_browsing/malware_details_history.cc const base::Closure& callback) { base 48 chrome/browser/safe_browsing/malware_details_history.cc base::Bind(&MalwareDetailsRedirectsCollector::StartGetRedirects, base 101 chrome/browser/safe_browsing/malware_details_history.cc base::Bind(&MalwareDetailsRedirectsCollector::OnGotQueryRedirectsTo, base 102 chrome/browser/safe_browsing/malware_details_history.cc base::Unretained(this))); base 29 chrome/browser/safe_browsing/malware_details_history.h : public base::RefCountedThreadSafe< base 40 chrome/browser/safe_browsing/malware_details_history.h const base::Closure& callback); base 56 chrome/browser/safe_browsing/malware_details_history.h friend class base::DeleteHelper<MalwareDetailsRedirectsCollector>; base 76 chrome/browser/safe_browsing/malware_details_history.h base::Closure callback_; base 144 chrome/browser/safe_browsing/malware_details_unittest.cc base::RunLoop* run_loop_; base 162 chrome/browser/safe_browsing/malware_details_unittest.cc void SetRunLoopToQuit(base::RunLoop* run_loop) { base 209 chrome/browser/safe_browsing/malware_details_unittest.cc base::Bind(&MalwareDetails::FinishCollection, report)); base 212 chrome/browser/safe_browsing/malware_details_unittest.cc base::RunLoop run_loop; base 314 chrome/browser/safe_browsing/malware_details_unittest.cc url, base::Time::Now(), static_cast<void*>(this), 0, GURL(), base 540 chrome/browser/safe_browsing/malware_details_unittest.cc base::Bind(&FillCache, base 548 chrome/browser/safe_browsing/malware_details_unittest.cc base::RunLoop().RunUntilIdle(); base 617 chrome/browser/safe_browsing/malware_details_unittest.cc base::RunLoop().RunUntilIdle(); base 666 chrome/browser/safe_browsing/malware_details_unittest.cc base::RunLoop().RunUntilIdle(); base 40 chrome/browser/safe_browsing/pe_image_reader_win_unittest.cc base::FilePath data_file_path_; base 41 chrome/browser/safe_browsing/pe_image_reader_win_unittest.cc base::MemoryMappedFile data_file_; base 129 chrome/browser/safe_browsing/ping_manager.cc return GURL(base::StringPrintf("%s&evts=%s&evtd=%s&evtr=%s&evhr=%s&evtb=%d", base 138 chrome/browser/safe_browsing/ping_manager.cc std::string url = base::StringPrintf( base 145 chrome/browser/safe_browsing/ping_manager.cc base::StringAppendF(&url, "&key=%s", base 14 chrome/browser/safe_browsing/ping_manager_unittest.cc using base::Time; base 15 chrome/browser/safe_browsing/ping_manager_unittest.cc using base::TimeDelta; base 28 chrome/browser/safe_browsing/ping_manager_unittest.cc key_param_ = base::StringPrintf( base 147 chrome/browser/safe_browsing/prefix_set.cc scoped_ptr<PrefixSet> PrefixSet::LoadFile(const base::FilePath& filter_name) { base 149 chrome/browser/safe_browsing/prefix_set.cc if (!base::GetFileSize(filter_name, &size_64)) base 151 chrome/browser/safe_browsing/prefix_set.cc using base::MD5Digest; base 155 chrome/browser/safe_browsing/prefix_set.cc base::ScopedFILE file(base::OpenFile(filter_name, "rb")); base 185 chrome/browser/safe_browsing/prefix_set.cc base::MD5Context context; base 186 chrome/browser/safe_browsing/prefix_set.cc base::MD5Init(&context); base 187 chrome/browser/safe_browsing/prefix_set.cc base::MD5Update(&context, base::StringPiece(reinterpret_cast<char*>(&header), base 198 chrome/browser/safe_browsing/prefix_set.cc base::MD5Update(&context, base 199 chrome/browser/safe_browsing/prefix_set.cc base::StringPiece(reinterpret_cast<char*>(&(index[0])), base 209 chrome/browser/safe_browsing/prefix_set.cc base::MD5Update(&context, base 210 chrome/browser/safe_browsing/prefix_set.cc base::StringPiece(reinterpret_cast<char*>(&(deltas[0])), base 214 chrome/browser/safe_browsing/prefix_set.cc base::MD5Digest calculated_digest; base 215 chrome/browser/safe_browsing/prefix_set.cc base::MD5Final(&calculated_digest, &context); base 217 chrome/browser/safe_browsing/prefix_set.cc base::MD5Digest file_digest; base 237 chrome/browser/safe_browsing/prefix_set.cc bool PrefixSet::WriteFile(const base::FilePath& filter_name) const { base 251 chrome/browser/safe_browsing/prefix_set.cc base::ScopedFILE file(base::OpenFile(filter_name, "wb")); base 255 chrome/browser/safe_browsing/prefix_set.cc base::MD5Context context; base 256 chrome/browser/safe_browsing/prefix_set.cc base::MD5Init(&context); base 263 chrome/browser/safe_browsing/prefix_set.cc base::MD5Update(&context, base::StringPiece(reinterpret_cast<char*>(&header), base 274 chrome/browser/safe_browsing/prefix_set.cc base::MD5Update(&context, base 275 chrome/browser/safe_browsing/prefix_set.cc base::StringPiece( base 286 chrome/browser/safe_browsing/prefix_set.cc base::MD5Update(&context, base 287 chrome/browser/safe_browsing/prefix_set.cc base::StringPiece( base 292 chrome/browser/safe_browsing/prefix_set.cc base::MD5Digest digest; base 293 chrome/browser/safe_browsing/prefix_set.cc base::MD5Final(&digest, &context); base 57 chrome/browser/safe_browsing/prefix_set.h namespace base { base 71 chrome/browser/safe_browsing/prefix_set.h static scoped_ptr<PrefixSet> LoadFile(const base::FilePath& filter_name); base 72 chrome/browser/safe_browsing/prefix_set.h bool WriteFile(const base::FilePath& filter_name) const; base 44 chrome/browser/safe_browsing/prefix_set_unittest.cc const uint32 base = static_cast<uint32>(base::RandUint64()); base 46 chrome/browser/safe_browsing/prefix_set_unittest.cc const uint32 delta = static_cast<uint32>(base::RandUint64() & 0xFFFF); base 47 chrome/browser/safe_browsing/prefix_set_unittest.cc const SBPrefix prefix = static_cast<SBPrefix>(base + delta); base 55 chrome/browser/safe_browsing/prefix_set_unittest.cc const SBPrefix prefix = static_cast<SBPrefix>(base::RandUint64()); base 92 chrome/browser/safe_browsing/prefix_set_unittest.cc bool GetPrefixSetFile(base::FilePath* filenamep) { base 96 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename = temp_dir_.path().AppendASCII("PrefixSetTest"); base 124 chrome/browser/safe_browsing/prefix_set_unittest.cc base::MD5Context context; base 125 chrome/browser/safe_browsing/prefix_set_unittest.cc base::MD5Init(&context); base 130 chrome/browser/safe_browsing/prefix_set_unittest.cc using base::MD5Digest; base 138 chrome/browser/safe_browsing/prefix_set_unittest.cc base::MD5Update(&context, base::StringPiece(buf, nitems)); base 144 chrome/browser/safe_browsing/prefix_set_unittest.cc base::MD5Digest new_digest; base 145 chrome/browser/safe_browsing/prefix_set_unittest.cc base::MD5Final(&new_digest, &context); base 153 chrome/browser/safe_browsing/prefix_set_unittest.cc void ModifyAndCleanChecksum(const base::FilePath& filename, long offset, base 156 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_TRUE(base::GetFileSize(filename, &size_64)); base 158 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); base 164 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_TRUE(base::GetFileSize(filename, &new_size_64)); base 171 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedTempDir temp_dir_; base 332 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 374 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 378 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); base 387 chrome/browser/safe_browsing/prefix_set_unittest.cc file.reset(base::OpenFile(filename, "r+b")); base 396 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 408 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 420 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 432 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 445 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 448 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); base 458 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 462 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_TRUE(base::GetFileSize(filename, &size_64)); base 463 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); base 464 chrome/browser/safe_browsing/prefix_set_unittest.cc long digest_offset = static_cast<long>(size_64 - sizeof(base::MD5Digest)); base 474 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 478 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "ab")); base 489 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 493 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); base 519 chrome/browser/safe_browsing/prefix_set_unittest.cc base::MD5Digest dummy = { { 0 } }; base 521 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_TRUE(base::TruncateFile(file.get())); base 532 chrome/browser/safe_browsing/prefix_set_unittest.cc base::FilePath filename; base 536 chrome/browser/safe_browsing/prefix_set_unittest.cc base::ScopedFILE file(base::OpenFile(filename, "r+b")); base 565 chrome/browser/safe_browsing/prefix_set_unittest.cc base::MD5Digest dummy = { { 0 } }; base 567 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_TRUE(base::TruncateFile(file.get())); base 29 chrome/browser/safe_browsing/protocol_manager.cc using base::Time; base 30 chrome/browser/safe_browsing/protocol_manager.cc using base::TimeDelta; base 111 chrome/browser/safe_browsing/protocol_manager.cc next_update_interval_(base::TimeDelta::FromSeconds( base 112 chrome/browser/safe_browsing/protocol_manager.cc base::RandInt(kSbTimerStartIntervalSecMin, base 134 chrome/browser/safe_browsing/protocol_manager.cc back_off_fuzz_ = static_cast<float>(base::RandDouble()); base 377 chrome/browser/safe_browsing/protocol_manager.cc base::TimeDelta next_update_interval = base 378 chrome/browser/safe_browsing/protocol_manager.cc base::TimeDelta::FromSeconds(next_update_sec); base 387 chrome/browser/safe_browsing/protocol_manager.cc if (next_update_interval > base::TimeDelta()) { base 390 chrome/browser/safe_browsing/protocol_manager.cc next_update_interval_ = base::TimeDelta::FromSeconds( base 391 chrome/browser/safe_browsing/protocol_manager.cc base::RandInt(15, 45)); base 417 chrome/browser/safe_browsing/protocol_manager.cc base::Time::Now() - chunk_request_start_); base 429 chrome/browser/safe_browsing/protocol_manager.cc base::Base64Encode(data_str, &encoded_chunk); base 442 chrome/browser/safe_browsing/protocol_manager.cc base::Bind(&SafeBrowsingProtocolManager::OnAddChunksComplete, base 443 chrome/browser/safe_browsing/protocol_manager.cc base::Unretained(this))); base 459 chrome/browser/safe_browsing/protocol_manager.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 473 chrome/browser/safe_browsing/protocol_manager.cc base::TimeDelta next_update_interval = GetNextUpdateInterval(back_off); base 478 chrome/browser/safe_browsing/protocol_manager.cc base::TimeDelta interval) { base 480 chrome/browser/safe_browsing/protocol_manager.cc DCHECK(interval >= base::TimeDelta()); base 490 chrome/browser/safe_browsing/protocol_manager.cc base::TimeDelta SafeBrowsingProtocolManager::GetNextUpdateInterval( base 493 chrome/browser/safe_browsing/protocol_manager.cc DCHECK(next_update_interval_ > base::TimeDelta()); base 494 chrome/browser/safe_browsing/protocol_manager.cc base::TimeDelta next = next_update_interval_; base 505 chrome/browser/safe_browsing/protocol_manager.cc base::TimeDelta SafeBrowsingProtocolManager::GetNextBackOffInterval( base 511 chrome/browser/safe_browsing/protocol_manager.cc base::TimeDelta next = base::TimeDelta::FromMinutes( base 519 chrome/browser/safe_browsing/protocol_manager.cc return base::TimeDelta::FromHours(8); base 520 chrome/browser/safe_browsing/protocol_manager.cc return base::TimeDelta::FromMinutes(1); base 535 chrome/browser/safe_browsing/protocol_manager.cc base::Bind(&SafeBrowsingProtocolManager::OnGetChunksComplete, base 536 chrome/browser/safe_browsing/protocol_manager.cc base::Unretained(this))); base 584 chrome/browser/safe_browsing/protocol_manager.cc chunk_request_start_ = base::Time::Now(); base 687 chrome/browser/safe_browsing/protocol_manager.cc base::TimeDelta next = GetNextBackOffInterval( base 56 chrome/browser/safe_browsing/protocol_manager.h public base::NonThreadSafe { base 64 chrome/browser/safe_browsing/protocol_manager.h typedef base::Callback<void(const std::vector<SBFullHashResult>&, base 96 chrome/browser/safe_browsing/protocol_manager.h void ForceScheduleNextUpdate(base::TimeDelta interval); base 109 chrome/browser/safe_browsing/protocol_manager.h base::Time last_update() const { return last_update_; } base 212 chrome/browser/safe_browsing/protocol_manager.h base::TimeDelta GetNextUpdateInterval(bool back_off); base 217 chrome/browser/safe_browsing/protocol_manager.h base::TimeDelta GetNextBackOffInterval(int* error_count, base 256 chrome/browser/safe_browsing/protocol_manager.h void HandleGetHashError(const base::Time& now); base 279 chrome/browser/safe_browsing/protocol_manager.h typedef base::hash_map<const net::URLFetcher*, FullHashDetails> HashRequests; base 312 chrome/browser/safe_browsing/protocol_manager.h base::TimeDelta next_update_interval_; base 313 chrome/browser/safe_browsing/protocol_manager.h base::OneShotTimer<SafeBrowsingProtocolManager> update_timer_; base 317 chrome/browser/safe_browsing/protocol_manager.h base::OneShotTimer<SafeBrowsingProtocolManager> timeout_timer_; base 337 chrome/browser/safe_browsing/protocol_manager.h base::Time last_update_; base 340 chrome/browser/safe_browsing/protocol_manager.h base::Time next_gethash_time_; base 346 chrome/browser/safe_browsing/protocol_manager.h base::Time chunk_request_start_; base 399 chrome/browser/safe_browsing/protocol_manager.h typedef base::Callback<void(const std::vector<SBListChunkRanges>&, bool)> base 401 chrome/browser/safe_browsing/protocol_manager.h typedef base::Callback<void(void)> AddChunksCallback; base 43 chrome/browser/safe_browsing/protocol_manager_helper.cc std::string url = base::StringPrintf("%s/%s?client=%s&appver=%s&pver=2.2", base 48 chrome/browser/safe_browsing/protocol_manager_helper.cc base::StringAppendF(&url, "&key=%s", base 20 chrome/browser/safe_browsing/protocol_manager_unittest.cc using base::Time; base 21 chrome/browser/safe_browsing/protocol_manager_unittest.cc using base::TimeDelta; base 40 chrome/browser/safe_browsing/protocol_manager_unittest.cc key_param_ = base::StringPrintf( base 299 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner( base 300 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle::Get()); base 311 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 312 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 313 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 336 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 337 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 338 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 388 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 389 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 390 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 436 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 437 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 438 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 483 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 484 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 485 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 531 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 532 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 533 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 582 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 583 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 584 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 630 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 631 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 632 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 677 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 678 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 679 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 726 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 727 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 728 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 773 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 774 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 775 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 818 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 819 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 820 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 854 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 855 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 856 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 900 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 901 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 902 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 946 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 947 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 948 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 1001 chrome/browser/safe_browsing/protocol_manager_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 1002 chrome/browser/safe_browsing/protocol_manager_unittest.cc new base::TestSimpleTaskRunner()); base 1003 chrome/browser/safe_browsing/protocol_manager_unittest.cc base::ThreadTaskRunnerHandle runner_handler(runner); base 63 chrome/browser/safe_browsing/protocol_parser.cc base::SplitString(line, ':', &cmd_parts); base 97 chrome/browser/safe_browsing/protocol_parser.cc request->append(base::StringPrintf("%" PRIuS ":%" PRIuS "\n", base 129 chrome/browser/safe_browsing/protocol_parser.cc base::SplitString(cmd_line, ':', &cmd_parts); base 209 chrome/browser/safe_browsing/protocol_parser.cc base::SplitString(cmd_line, ':', &cmd_parts); base 387 chrome/browser/safe_browsing/protocol_parser.cc *chunk_id = base::HostToNet32(*chunk_id); base 154 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.append(base::StringPrintf("%04d", i)); base 159 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.append(base::StringPrintf("001%d", i)); base 675 chrome/browser/safe_browsing/protocol_parser_unittest.cc add_chunk.append(base::StringPrintf("%04d", i)); base 48 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc using base::UserMetricsAction; base 113 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::LazyInstance<SafeBrowsingBlockingPage::UnsafeResourceMap> base 182 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc friend struct base::DefaultLazyInstanceTraits< base 190 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc static base::LazyInstance<SafeBrowsingBlockingPageFactoryImpl> base 239 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::Bind(&SafeBrowsingBlockingPage::OnGotHistoryCount, base 240 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::Unretained(this))); base 381 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc bool result = base::StringToInt(base::StringPiece(command.begin() + base 418 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::StringPrintf(kSbDiagnosticUrl, base 527 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::Time first_visit) { base 691 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::TimeDelta dt = base::TimeTicks::Now() - interstitial_show_time_; base 760 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc interstitial_show_time_ = base::TimeTicks(); // Resets the show time. base 773 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::Bind(&MalwareDetails::FinishCollection, malware_details_.get()), base 774 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::TimeDelta::FromMilliseconds(delay_ms)); base 791 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::Bind(&SafeBrowsingUIManager::OnBlockingPageDone, base 862 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue strings; base 875 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc interstitial_show_time_ = base::TimeTicks::Now(); base 880 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue* strings, base 881 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& title, base 882 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& headline, base 883 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& description1, base 884 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& description2, base 885 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& description3) { base 896 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue* strings) { base 898 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::string16 malware_label = base 900 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::string16 malware_link = base 902 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::string16 phishing_label = base 904 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::string16 phishing_link = base 907 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::ListValue* error_strings = new base::ListValue; base 912 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue* current_error_strings = new base::DictionaryValue; base 939 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::UTF8ToUTF16(web_contents_->GetURL().host())), base 942 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::string16()); base 951 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::UTF8ToUTF16(web_contents_->GetURL().host())), base 964 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::UTF8ToUTF16(web_contents_->GetURL().host())), base 965 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::string16(), base 966 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::string16()); base 978 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc strings->SetString("textdirection", base::i18n::IsRTL() ? "rtl" : "ltr"); base 982 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue* strings) { base 987 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue* strings) { base 1000 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::FieldTrialList::FindFullName(kMalwareStudyName); base 1006 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::FieldTrialList::FindFullName(kPhishingStudyName); base 1012 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue strings; base 1038 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc interstitial_show_time_ = base::TimeTicks::Now(); base 1043 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue* strings, base 1044 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& title, base 1045 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& headline, base 1046 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& description1, base 1047 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& description2, base 1048 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc const base::string16& description3) { base 1099 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue* strings) { base 1104 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue* strings) { base 1107 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::string16 headline, description1, description2, description3; base 1117 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::UTF8ToUTF16(url_.host())); base 1128 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::UTF8ToUTF16(web_contents_->GetURL().host())); base 1131 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::UTF8ToUTF16(url_.host())); base 1134 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::UTF8ToUTF16(url_.host()))); base 1153 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc std::string privacy_link = base::StringPrintf( base 1161 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::UTF8ToUTF16(privacy_link))); base 1168 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc strings->SetString("report_error", base::string16()); base 1174 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::DictionaryValue* strings) { base 1181 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::UTF8ToUTF16(url_.host())), base 1182 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc base::string16(), base 45 chrome/browser/safe_browsing/safe_browsing_blocking_page.h namespace base { base 126 chrome/browser/safe_browsing/safe_browsing_blocking_page.h base::Time first_visit); base 167 chrome/browser/safe_browsing/safe_browsing_blocking_page.h base::MessageLoop* report_loop_; base 197 chrome/browser/safe_browsing/safe_browsing_blocking_page.h base::TimeTicks interstitial_show_time_; base 235 chrome/browser/safe_browsing/safe_browsing_blocking_page.h void PopulateMultipleThreatStringDictionary(base::DictionaryValue* strings); base 236 chrome/browser/safe_browsing/safe_browsing_blocking_page.h void PopulateMalwareStringDictionary(base::DictionaryValue* strings); base 237 chrome/browser/safe_browsing/safe_browsing_blocking_page.h void PopulatePhishingStringDictionary(base::DictionaryValue* strings); base 241 chrome/browser/safe_browsing/safe_browsing_blocking_page.h void PopulateStringDictionary(base::DictionaryValue* strings, base 242 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& title, base 243 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& headline, base 244 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& description1, base 245 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& description2, base 246 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& description3); base 264 chrome/browser/safe_browsing/safe_browsing_blocking_page.h void PopulateMultipleThreatStringDictionary(base::DictionaryValue* strings); base 265 chrome/browser/safe_browsing/safe_browsing_blocking_page.h void PopulateMalwareStringDictionary(base::DictionaryValue* strings); base 266 chrome/browser/safe_browsing/safe_browsing_blocking_page.h void PopulatePhishingStringDictionary(base::DictionaryValue* strings); base 270 chrome/browser/safe_browsing/safe_browsing_blocking_page.h void PopulateStringDictionary(base::DictionaryValue* strings, base 271 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& title, base 272 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& headline, base 273 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& description1, base 274 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& description2, base 275 chrome/browser/safe_browsing/safe_browsing_blocking_page.h const base::string16& description3); base 55 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc const base::Closure& attach_callback, base 56 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc const base::Closure& detach_callback) base 73 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::Closure attach_callback_; base 74 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::Closure detach_callback_; base 97 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::Bind(&FakeSafeBrowsingDatabaseManager::OnCheckBrowseURLDone, base 123 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::hash_map<std::string, SBThreatType> badurls; base 140 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::Bind(&FakeSafeBrowsingUIManager::OnMalwareDetailsDone, base 152 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc malware_details_done_callback_ = base::Closure(); base 156 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc void set_malware_details_done_callback(const base::Closure& callback) { base 172 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::Closure malware_details_done_callback_; base 253 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::Bind(&FakeMalwareDetails::OnDOMDetailsDone, base 276 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::MessageLoopForUI::current()->Quit(); base 326 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::MessageLoopForUI::current()->Quit(); base 502 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::Closure()); base 507 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc void SetReportSentCallback(const base::Closure& callback) { base 569 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc scoped_ptr<base::Value> value = content::ExecuteScriptAndGetValue( base 582 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc scoped_ptr<base::Value> value = content::ExecuteScriptAndGetValue( base 606 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::ASCIIToUTF16( base 619 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::Closure(), base 846 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 198 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::RunLoop().RunUntilIdle(); base 205 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::RunLoop().RunUntilIdle(); base 214 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::RunLoop().RunUntilIdle(); base 224 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::Bind(&SafeBrowsingBlockingPageTest::OnBlockingPageComplete, base 225 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::Unretained(this)); base 256 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::RunLoop().RunUntilIdle(); base 585 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::RunLoop().RunUntilIdle(); base 593 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::RunLoop().RunUntilIdle(); base 620 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::RunLoop().RunUntilIdle(); base 653 chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc base::RunLoop().RunUntilIdle(); base 37 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath::CharType kBloomFilterFile[] = base 40 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath::CharType kPrefixSetFile[] = base 43 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath::CharType kDownloadDBFile[] = base 46 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath::CharType kCsdWhitelistDBFile[] = base 49 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath::CharType kDownloadWhitelistDBFile[] = base 52 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath::CharType kExtensionBlacklistDBFile[] = base 55 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath::CharType kSideEffectFreeWhitelistDBFile[] = base 58 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath::CharType kIPBlacklistDBFile[] = base 67 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath::CharType kBrowseDBFile[] = FILE_PATH_LITERAL(" Bloom"); base 199 chrome/browser/safe_browsing/safe_browsing_database.cc base::Time last_update) { base 200 chrome/browser/safe_browsing/safe_browsing_database.cc const base::Time expire_time = base 201 chrome/browser/safe_browsing/safe_browsing_database.cc base::Time::Now() - base::TimeDelta::FromMinutes(kMaxStalenessMinutes); base 317 chrome/browser/safe_browsing/safe_browsing_database.cc int64 GetFileSizeOrZero(const base::FilePath& file_path) { base 319 chrome/browser/safe_browsing/safe_browsing_database.cc if (!base::GetFileSize(file_path, &size_64)) base 387 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath SafeBrowsingDatabase::BrowseDBFilename( base 388 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& db_base_filename) { base 389 chrome/browser/safe_browsing/safe_browsing_database.cc return base::FilePath(db_base_filename.value() + kBrowseDBFile); base 393 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath SafeBrowsingDatabase::DownloadDBFilename( base 394 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& db_base_filename) { base 395 chrome/browser/safe_browsing/safe_browsing_database.cc return base::FilePath(db_base_filename.value() + kDownloadDBFile); base 399 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath SafeBrowsingDatabase::BloomFilterForFilename( base 400 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& db_filename) { base 401 chrome/browser/safe_browsing/safe_browsing_database.cc return base::FilePath(db_filename.value() + kBloomFilterFile); base 405 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath SafeBrowsingDatabase::PrefixSetForFilename( base 406 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& db_filename) { base 407 chrome/browser/safe_browsing/safe_browsing_database.cc return base::FilePath(db_filename.value() + kPrefixSetFile); base 411 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath SafeBrowsingDatabase::CsdWhitelistDBFilename( base 412 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& db_filename) { base 413 chrome/browser/safe_browsing/safe_browsing_database.cc return base::FilePath(db_filename.value() + kCsdWhitelistDBFile); base 417 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath SafeBrowsingDatabase::DownloadWhitelistDBFilename( base 418 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& db_filename) { base 419 chrome/browser/safe_browsing/safe_browsing_database.cc return base::FilePath(db_filename.value() + kDownloadWhitelistDBFile); base 423 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath SafeBrowsingDatabase::ExtensionBlacklistDBFilename( base 424 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& db_filename) { base 425 chrome/browser/safe_browsing/safe_browsing_database.cc return base::FilePath(db_filename.value() + kExtensionBlacklistDBFile); base 429 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath SafeBrowsingDatabase::SideEffectFreeWhitelistDBFilename( base 430 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& db_filename) { base 431 chrome/browser/safe_browsing/safe_browsing_database.cc return base::FilePath(db_filename.value() + kSideEffectFreeWhitelistDBFile); base 435 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath SafeBrowsingDatabase::IpBlacklistDBFilename( base 436 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& db_filename) { base 437 chrome/browser/safe_browsing/safe_browsing_database.cc return base::FilePath(db_filename.value() + kIPBlacklistDBFile); base 467 chrome/browser/safe_browsing/safe_browsing_database.cc : creation_loop_(base::MessageLoop::current()), base 489 chrome/browser/safe_browsing/safe_browsing_database.cc : creation_loop_(base::MessageLoop::current()), base 507 chrome/browser/safe_browsing/safe_browsing_database.cc void SafeBrowsingDatabaseNew::Init(const base::FilePath& filename_base) { base 508 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 523 chrome/browser/safe_browsing/safe_browsing_database.cc base::Bind(&SafeBrowsingDatabaseNew::HandleCorruptDatabase, base 524 chrome/browser/safe_browsing/safe_browsing_database.cc base::Unretained(this))); base 532 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 542 chrome/browser/safe_browsing/safe_browsing_database.cc base::Bind(&SafeBrowsingDatabaseNew::HandleCorruptDatabase, base 543 chrome/browser/safe_browsing/safe_browsing_database.cc base::Unretained(this))); base 551 chrome/browser/safe_browsing/safe_browsing_database.cc base::Bind(&SafeBrowsingDatabaseNew::HandleCorruptDatabase, base 552 chrome/browser/safe_browsing/safe_browsing_database.cc base::Unretained(this))); base 568 chrome/browser/safe_browsing/safe_browsing_database.cc base::Bind(&SafeBrowsingDatabaseNew::HandleCorruptDatabase, base 569 chrome/browser/safe_browsing/safe_browsing_database.cc base::Unretained(this))); base 586 chrome/browser/safe_browsing/safe_browsing_database.cc base::Bind(&SafeBrowsingDatabaseNew::HandleCorruptDatabase, base 587 chrome/browser/safe_browsing/safe_browsing_database.cc base::Unretained(this))); base 599 chrome/browser/safe_browsing/safe_browsing_database.cc base::Bind(&SafeBrowsingDatabaseNew::HandleCorruptDatabase, base 600 chrome/browser/safe_browsing/safe_browsing_database.cc base::Unretained(this))); base 605 chrome/browser/safe_browsing/safe_browsing_database.cc base::File::Info db_info; base 606 chrome/browser/safe_browsing/safe_browsing_database.cc if (base::GetFileInfo(side_effect_free_whitelist_filename_, &db_info) base 608 chrome/browser/safe_browsing/safe_browsing_database.cc const base::TimeTicks before = base::TimeTicks::Now(); base 614 chrome/browser/safe_browsing/safe_browsing_database.cc << (base::TimeTicks::Now() - before).InMilliseconds() << " ms"; base 616 chrome/browser/safe_browsing/safe_browsing_database.cc base::TimeTicks::Now() - before); base 631 chrome/browser/safe_browsing/safe_browsing_database.cc base::Bind(&SafeBrowsingDatabaseNew::HandleCorruptDatabase, base 632 chrome/browser/safe_browsing/safe_browsing_database.cc base::Unretained(this))); base 646 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 656 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 676 chrome/browser/safe_browsing/safe_browsing_database.cc base::Time last_update) { base 689 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 726 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 758 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 780 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 806 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 816 chrome/browser/safe_browsing/safe_browsing_database.cc const std::string hash = base::SHA1HashString(subnet); base 819 chrome/browser/safe_browsing/safe_browsing_database.cc << " mask:" << base::HexEncode(mask.data(), mask.size()) base 820 chrome/browser/safe_browsing/safe_browsing_database.cc << " subnet:" << base::HexEncode(subnet.data(), subnet.size()) base 821 chrome/browser/safe_browsing/safe_browsing_database.cc << " hash:" << base::HexEncode(hash.data(), hash.size()); base 839 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock l(lookup_lock_); base 856 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 879 chrome/browser/safe_browsing/safe_browsing_database.cc const base::Time receive_time = base::Time::Now(); base 898 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 927 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 973 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 998 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 1003 chrome/browser/safe_browsing/safe_browsing_database.cc const base::TimeTicks before = base::TimeTicks::Now(); base 1022 chrome/browser/safe_browsing/safe_browsing_database.cc UMA_HISTOGRAM_TIMES("SB2.ChunkInsert", base::TimeTicks::Now() - before); base 1027 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 1058 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 1067 chrome/browser/safe_browsing/safe_browsing_database.cc const base::Time now = base::Time::Now(); base 1091 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 1173 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 1272 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& store_filename, base 1293 chrome/browser/safe_browsing/safe_browsing_database.cc base::mac::SetFileBackupExclusion(store_filename); base 1300 chrome/browser/safe_browsing/safe_browsing_database.cc const base::FilePath& store_filename, base 1318 chrome/browser/safe_browsing/safe_browsing_database.cc base::mac::SetFileBackupExclusion(store_filename); base 1329 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 1336 chrome/browser/safe_browsing/safe_browsing_database.cc base::IoCounters io_before, io_after; base 1337 chrome/browser/safe_browsing/safe_browsing_database.cc base::ProcessHandle handle = base::Process::Current().handle(); base 1338 chrome/browser/safe_browsing/safe_browsing_database.cc scoped_ptr<base::ProcessMetrics> metric( base 1340 chrome/browser/safe_browsing/safe_browsing_database.cc base::ProcessMetrics::CreateProcessMetrics(handle) base 1343 chrome/browser/safe_browsing/safe_browsing_database.cc base::ProcessMetrics::CreateProcessMetrics(handle, NULL) base 1352 chrome/browser/safe_browsing/safe_browsing_database.cc const base::TimeTicks before = base::TimeTicks::Now(); base 1369 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 1383 chrome/browser/safe_browsing/safe_browsing_database.cc << (base::TimeTicks::Now() - before).InMilliseconds() base 1385 chrome/browser/safe_browsing/safe_browsing_database.cc UMA_HISTOGRAM_LONG_TIMES("SB2.BuildFilter", base::TimeTicks::Now() - before); base 1415 chrome/browser/safe_browsing/safe_browsing_database.cc base::mac::SetFileBackupExclusion(browse_filename_); base 1435 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 1439 chrome/browser/safe_browsing/safe_browsing_database.cc const base::TimeTicks before = base::TimeTicks::Now(); base 1443 chrome/browser/safe_browsing/safe_browsing_database.cc << "set in " << (base::TimeTicks::Now() - before).InMilliseconds() base 1446 chrome/browser/safe_browsing/safe_browsing_database.cc base::TimeTicks::Now() - before); base 1461 chrome/browser/safe_browsing/safe_browsing_database.cc base::mac::SetFileBackupExclusion(side_effect_free_whitelist_filename_); base 1462 chrome/browser/safe_browsing/safe_browsing_database.cc base::mac::SetFileBackupExclusion( base 1484 chrome/browser/safe_browsing/safe_browsing_database.cc base::mac::SetFileBackupExclusion(ip_blacklist_filename_); base 1495 chrome/browser/safe_browsing/safe_browsing_database.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 1496 chrome/browser/safe_browsing/safe_browsing_database.cc base::Bind(&SafeBrowsingDatabaseNew::OnHandleCorruptDatabase, base 1511 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 1515 chrome/browser/safe_browsing/safe_browsing_database.cc base::File::Info db_info; base 1516 chrome/browser/safe_browsing/safe_browsing_database.cc if (!base::GetFileInfo(browse_filename_, &db_info) || db_info.size == 0) base 1521 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath bloom_filter_filename = base 1523 chrome/browser/safe_browsing/safe_browsing_database.cc base::DeleteFile(bloom_filter_filename, false); base 1525 chrome/browser/safe_browsing/safe_browsing_database.cc const base::TimeTicks before = base::TimeTicks::Now(); base 1529 chrome/browser/safe_browsing/safe_browsing_database.cc << (base::TimeTicks::Now() - before).InMilliseconds() << " ms"; base 1530 chrome/browser/safe_browsing/safe_browsing_database.cc UMA_HISTOGRAM_TIMES("SB2.PrefixSetLoad", base::TimeTicks::Now() - before); base 1537 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 1557 chrome/browser/safe_browsing/safe_browsing_database.cc base::FilePath bloom_filter_filename = base 1559 chrome/browser/safe_browsing/safe_browsing_database.cc const bool r5 = base::DeleteFile(bloom_filter_filename, false); base 1563 chrome/browser/safe_browsing/safe_browsing_database.cc const bool r6 = base::DeleteFile(browse_prefix_set_filename_, false); base 1567 chrome/browser/safe_browsing/safe_browsing_database.cc const bool r7 = base::DeleteFile(extension_blacklist_filename_, false); base 1571 chrome/browser/safe_browsing/safe_browsing_database.cc const bool r8 = base::DeleteFile(side_effect_free_whitelist_filename_, base 1576 chrome/browser/safe_browsing/safe_browsing_database.cc const bool r9 = base::DeleteFile( base 1582 chrome/browser/safe_browsing/safe_browsing_database.cc const bool r10 = base::DeleteFile(ip_blacklist_filename_, false); base 1590 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 1595 chrome/browser/safe_browsing/safe_browsing_database.cc const base::TimeTicks before = base::TimeTicks::Now(); base 1599 chrome/browser/safe_browsing/safe_browsing_database.cc << (base::TimeTicks::Now() - before).InMilliseconds() << " ms"; base 1600 chrome/browser/safe_browsing/safe_browsing_database.cc UMA_HISTOGRAM_TIMES("SB2.PrefixSetWrite", base::TimeTicks::Now() - before); base 1606 chrome/browser/safe_browsing/safe_browsing_database.cc base::mac::SetFileBackupExclusion(browse_prefix_set_filename_); base 1611 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 1619 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 1639 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 1647 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(creation_loop_, base::MessageLoop::current()); base 1657 chrome/browser/safe_browsing/safe_browsing_database.cc std::string hashed_ip_prefix(full_hash, base::kSHA1Length); base 1658 chrome/browser/safe_browsing/safe_browsing_database.cc size_t prefix_size = static_cast<uint8>(full_hash[base::kSHA1Length]); base 1675 chrome/browser/safe_browsing/safe_browsing_database.cc << " raw:" << base::HexEncode(full_hash, crypto::kSHA256Length) base 1676 chrome/browser/safe_browsing/safe_browsing_database.cc << " mask:" << base::HexEncode(mask.data(), mask.size()) base 1678 chrome/browser/safe_browsing/safe_browsing_database.cc << " hashed_ip:" << base::HexEncode(hashed_ip_prefix.data(), base 1683 chrome/browser/safe_browsing/safe_browsing_database.cc base::AutoLock locked(lookup_lock_); base 21 chrome/browser/safe_browsing/safe_browsing_database.h namespace base { base 91 chrome/browser/safe_browsing/safe_browsing_database.h virtual void Init(const base::FilePath& filename) = 0; base 105 chrome/browser/safe_browsing/safe_browsing_database.h base::Time last_update) = 0; base 185 chrome/browser/safe_browsing/safe_browsing_database.h static base::FilePath BloomFilterForFilename( base 186 chrome/browser/safe_browsing/safe_browsing_database.h const base::FilePath& db_filename); base 189 chrome/browser/safe_browsing/safe_browsing_database.h static base::FilePath PrefixSetForFilename(const base::FilePath& db_filename); base 192 chrome/browser/safe_browsing/safe_browsing_database.h static base::FilePath BrowseDBFilename( base 193 chrome/browser/safe_browsing/safe_browsing_database.h const base::FilePath& db_base_filename); base 196 chrome/browser/safe_browsing/safe_browsing_database.h static base::FilePath DownloadDBFilename( base 197 chrome/browser/safe_browsing/safe_browsing_database.h const base::FilePath& db_base_filename); base 200 chrome/browser/safe_browsing/safe_browsing_database.h static base::FilePath CsdWhitelistDBFilename( base 201 chrome/browser/safe_browsing/safe_browsing_database.h const base::FilePath& csd_whitelist_base_filename); base 204 chrome/browser/safe_browsing/safe_browsing_database.h static base::FilePath DownloadWhitelistDBFilename( base 205 chrome/browser/safe_browsing/safe_browsing_database.h const base::FilePath& download_whitelist_base_filename); base 208 chrome/browser/safe_browsing/safe_browsing_database.h static base::FilePath ExtensionBlacklistDBFilename( base 209 chrome/browser/safe_browsing/safe_browsing_database.h const base::FilePath& extension_blacklist_base_filename); base 212 chrome/browser/safe_browsing/safe_browsing_database.h static base::FilePath SideEffectFreeWhitelistDBFilename( base 213 chrome/browser/safe_browsing/safe_browsing_database.h const base::FilePath& side_effect_free_whitelist_base_filename); base 216 chrome/browser/safe_browsing/safe_browsing_database.h static base::FilePath IpBlacklistDBFilename( base 217 chrome/browser/safe_browsing/safe_browsing_database.h const base::FilePath& ip_blacklist_base_filename); base 291 chrome/browser/safe_browsing/safe_browsing_database.h virtual void Init(const base::FilePath& filename) OVERRIDE; base 297 chrome/browser/safe_browsing/safe_browsing_database.h base::Time last_update) OVERRIDE; base 334 chrome/browser/safe_browsing/safe_browsing_database.h typedef std::map<std::string, base::hash_set<std::string> > IPBlacklist; base 386 chrome/browser/safe_browsing/safe_browsing_database.h int64 UpdateHashPrefixStore(const base::FilePath& store_filename, base 391 chrome/browser/safe_browsing/safe_browsing_database.h void UpdateWhitelistStore(const base::FilePath& store_filename, base 398 chrome/browser/safe_browsing/safe_browsing_database.h base::MessageLoop* creation_loop_; base 403 chrome/browser/safe_browsing/safe_browsing_database.h base::Lock lookup_lock_; base 407 chrome/browser/safe_browsing/safe_browsing_database.h base::FilePath browse_filename_; base 411 chrome/browser/safe_browsing/safe_browsing_database.h base::FilePath download_filename_; base 416 chrome/browser/safe_browsing/safe_browsing_database.h base::FilePath csd_whitelist_filename_; base 421 chrome/browser/safe_browsing/safe_browsing_database.h base::FilePath download_whitelist_filename_; base 425 chrome/browser/safe_browsing/safe_browsing_database.h base::FilePath extension_blacklist_filename_; base 429 chrome/browser/safe_browsing/safe_browsing_database.h base::FilePath side_effect_free_whitelist_filename_; base 433 chrome/browser/safe_browsing/safe_browsing_database.h base::FilePath ip_blacklist_filename_; base 457 chrome/browser/safe_browsing/safe_browsing_database.h base::WeakPtrFactory<SafeBrowsingDatabaseNew> reset_factory_; base 469 chrome/browser/safe_browsing/safe_browsing_database.h base::FilePath browse_prefix_set_filename_; base 473 chrome/browser/safe_browsing/safe_browsing_database.h base::FilePath side_effect_free_whitelist_prefix_set_filename_; base 24 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc using base::Time; base 36 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc const std::string hashed_ip_prefix = base::SHA1HashString( base 40 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc hash[base::kSHA1Length] = static_cast<char>(prefix_size); base 292 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::FilePath database_filename_; base 293 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::ScopedTempDir temp_dir_; base 389 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::MessageLoop loop; base 967 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::Time expired = base::Time::Now() - base::TimeDelta::FromMinutes(60); base 1116 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::MessageLoop loop; base 1145 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc FILE* fp = base::OpenFile(database_filename_, "r+"); base 1163 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc EXPECT_TRUE(base::PathExists(database_filename_)); base 1167 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1171 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc EXPECT_FALSE(base::PathExists(database_filename_)); base 1177 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc EXPECT_TRUE(base::PathExists(database_filename_)); base 1185 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::MessageLoop loop; base 1613 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::FilePath filename = database_->BrowseDBFilename(database_filename_); base 1628 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::File::Info before_info, after_info; base 1629 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::GetFileInfo(filename, &before_info)); base 1630 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc const base::Time old_last_modified = base 1631 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc before_info.last_modified - base::TimeDelta::FromSeconds(10); base 1636 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::TouchFile(filename, old_last_modified, old_last_modified)); base 1637 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::GetFileInfo(filename, &before_info)); base 1646 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::GetFileInfo(filename, &after_info)); base 1650 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::TouchFile(filename, old_last_modified, old_last_modified)); base 1651 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::GetFileInfo(filename, &before_info)); base 1655 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::GetFileInfo(filename, &after_info)); base 1660 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::TouchFile(filename, old_last_modified, old_last_modified)); base 1661 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::GetFileInfo(filename, &before_info)); base 1664 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::GetFileInfo(filename, &after_info)); base 1700 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::FilePath filter_file = database_->PrefixSetForFilename( base 1705 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_TRUE(base::PathExists(filter_file)); base 1716 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::DeleteFile(filter_file, false); base 1717 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ASSERT_FALSE(base::PathExists(filter_file)); base 56 chrome/browser/safe_browsing/safe_browsing_service.cc const base::FilePath::CharType kCookiesFile[] = FILE_PATH_LITERAL(" Cookies"); base 77 chrome/browser/safe_browsing/safe_browsing_service.cc base::FilePath CookieFilePath() { base 78 chrome/browser/safe_browsing/safe_browsing_service.cc return base::FilePath( base 92 chrome/browser/safe_browsing/safe_browsing_service.cc virtual scoped_refptr<base::SingleThreadTaskRunner> base 100 chrome/browser/safe_browsing/safe_browsing_service.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 102 chrome/browser/safe_browsing/safe_browsing_service.cc base::debug::LeakTracker<SafeBrowsingURLRequestContextGetter> leak_tracker_; base 122 chrome/browser/safe_browsing/safe_browsing_service.cc scoped_refptr<base::SingleThreadTaskRunner> base 139 chrome/browser/safe_browsing/safe_browsing_service.cc friend struct base::DefaultLazyInstanceTraits<SafeBrowsingServiceFactoryImpl>; base 146 chrome/browser/safe_browsing/safe_browsing_service.cc static base::LazyInstance<SafeBrowsingServiceFactoryImpl>::Leaky base 150 chrome/browser/safe_browsing/safe_browsing_service.cc base::FilePath SafeBrowsingService::GetCookieFilePathForTesting() { base 155 chrome/browser/safe_browsing/safe_browsing_service.cc base::FilePath SafeBrowsingService::GetBaseFilename() { base 156 chrome/browser/safe_browsing/safe_browsing_service.cc base::FilePath path; base 195 chrome/browser/safe_browsing/safe_browsing_service.cc base::Bind( base 247 chrome/browser/safe_browsing/safe_browsing_service.cc base::Bind(&SafeBrowsingService::DestroyURLRequestContextOnIOThread, base 333 chrome/browser/safe_browsing/safe_browsing_service.cc using base::debug::LeakTracker; base 422 chrome/browser/safe_browsing/safe_browsing_service.cc base::Bind(&SafeBrowsingService::StartOnIOThread, this, base 429 chrome/browser/safe_browsing/safe_browsing_service.cc base::Bind(&SafeBrowsingService::StopOnIOThread, this, shutdown)); base 460 chrome/browser/safe_browsing/safe_browsing_service.cc base::Bind(&SafeBrowsingService::RefreshState, base 461 chrome/browser/safe_browsing/safe_browsing_service.cc base::Unretained(this))); base 35 chrome/browser/safe_browsing/safe_browsing_service.h namespace base { base 55 chrome/browser/safe_browsing/safe_browsing_service.h : public base::RefCountedThreadSafe< base 66 chrome/browser/safe_browsing/safe_browsing_service.h static base::FilePath GetCookieFilePathForTesting(); base 68 chrome/browser/safe_browsing/safe_browsing_service.h static base::FilePath GetBaseFilename(); base 126 chrome/browser/safe_browsing/safe_browsing_service.h friend class base::DeleteHelper<SafeBrowsingService>; base 75 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc virtual void Init(const base::FilePath& filename) OVERRIDE {} base 90 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::Time last_update) OVERRIDE { base 182 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::hash_map<std::string, Hits>::const_iterator base 203 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::hash_map<std::string, Hits> badurls_; base 204 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::hash_set<SBPrefix> download_digest_prefix_; base 257 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::Bind(InvokeFullHashCallback, callback, full_hashes_), base 267 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc void IntroduceDelay(const base::TimeDelta& delay) { base 281 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::TimeDelta delay_; base 419 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc void IntroduceGetHashDelay(const base::TimeDelta& delay) { base 423 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::TimeDelta GetCheckTimeout(SafeBrowsingService* sb_service) { base 428 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc const base::TimeDelta& delay) { base 447 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::Bind(&SafeBrowsingUIManager::OnBlockingPageDone, base 461 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::ScopedTempDir temp_profile_dir_; base 466 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc scoped_refptr<base::ThreadTestHelper> io_helper(new base::ThreadTestHelper( base 557 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::FieldTrialList::CreateFieldTrial("Prefetch", exp_group); base 599 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc : public base::RefCountedThreadSafe<TestSBClient>, base 614 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::Bind(&TestSBClient::CheckDownloadUrlOnIOThread, base 633 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::Bind(&TestSBClient::DownloadCheckDone, this)); base 637 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 718 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::TimeDelta default_urlcheck_timeout = base 720 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc IntroduceGetHashDelay(base::TimeDelta::FromSeconds(1)); base 721 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc SetCheckTimeout(sb_service, base::TimeDelta::FromMilliseconds(1)); base 808 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::MessageLoop::current()->Quit(); base 841 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::Bind(&SafeBrowsingServiceShutdownTest::OnUnblockOnProfileCreation, base 843 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::string16(), base::string16(), std::string()); base 883 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::FilePath cookie_path( base 885 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc EXPECT_FALSE(base::PathExists(cookie_path)); base 887 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::FilePath test_dir; base 896 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::FilePath initial_cookies = test_dir.AppendASCII("safe_browsing") base 898 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc if (!base::CopyFile(initial_cookies, cookie_path)) { base 932 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::FilePath cookie_path( base 960 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::TimeDelta::FromSeconds(0)); base 980 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc base::Bind(&SafeBrowsingDatabaseManagerCookieTest::ForceUpdate, this)); base 119 chrome/browser/safe_browsing/safe_browsing_store.cc void RemoveDeleted(ItemsT* items, const base::hash_set<int32>& del_set) { base 140 chrome/browser/safe_browsing/safe_browsing_store.cc const base::hash_set<int32>& add_chunks_deleted, base 141 chrome/browser/safe_browsing/safe_browsing_store.cc const base::hash_set<int32>& sub_chunks_deleted) { base 18 chrome/browser/safe_browsing/safe_browsing_store.h namespace base { base 80 chrome/browser/safe_browsing/safe_browsing_store.h SBAddFullHash(int32 id, base::Time r, const SBFullHash& h) base 144 chrome/browser/safe_browsing/safe_browsing_store.h const base::hash_set<int32>& add_chunks_deleted, base 145 chrome/browser/safe_browsing/safe_browsing_store.h const base::hash_set<int32>& sub_chunks_deleted); base 159 chrome/browser/safe_browsing/safe_browsing_store.h virtual void Init(const base::FilePath& filename, base 160 chrome/browser/safe_browsing/safe_browsing_store.h const base::Closure& corruption_callback) = 0; base 187 chrome/browser/safe_browsing/safe_browsing_store.h base::Time receive_time, base 90 chrome/browser/safe_browsing/safe_browsing_store_file.cc bool ReadItem(T* item, FILE* fp, base::MD5Context* context) { base 96 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Update(context, base 97 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::StringPiece(reinterpret_cast<char*>(item), base 106 chrome/browser/safe_browsing/safe_browsing_store_file.cc bool WriteItem(const T& item, FILE* fp, base::MD5Context* context) { base 112 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Update(context, base 113 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::StringPiece(reinterpret_cast<const char*>(&item), base 124 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context* context) { base 145 chrome/browser/safe_browsing/safe_browsing_store_file.cc FILE* fp, base::MD5Context* context) { base 157 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context* context) { base 162 chrome/browser/safe_browsing/safe_browsing_store_file.cc void DeleteChunksFromSet(const base::hash_set<int32>& deleted, base 174 chrome/browser/safe_browsing/safe_browsing_store_file.cc void MD5IntermediateDigest(base::MD5Digest* digest, base::MD5Context* context) { base 175 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context temp_context; base 177 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Final(digest, &temp_context); base 180 chrome/browser/safe_browsing/safe_browsing_store_file.cc bool ReadAndVerifyChecksum(FILE* fp, base::MD5Context* context) { base 181 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Digest calculated_digest; base 184 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Digest file_digest; base 194 chrome/browser/safe_browsing/safe_browsing_store_file.cc bool FileHeaderV7SanityCheck(const base::FilePath& filename, base 199 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::GetFileSize(filename, &size)) base 209 chrome/browser/safe_browsing/safe_browsing_store_file.cc expected_size += sizeof(base::MD5Digest); base 219 chrome/browser/safe_browsing/safe_browsing_store_file.cc int ReadAndVerifyHeader(const base::FilePath& filename, base 224 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context* context) { base 233 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Init(context); base 248 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Init(context); base 287 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context* context) { base 291 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Init(context); base 306 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Digest header_digest; base 406 chrome/browser/safe_browsing/safe_browsing_store_file.cc FILE* fp, base::MD5Context* context) { base 428 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::hash_set<int32>& add_del_cache, base 429 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::hash_set<int32>& sub_del_cache) { base 495 chrome/browser/safe_browsing/safe_browsing_store_file.cc FILE* fp, base::MD5Context* context) { base 533 chrome/browser/safe_browsing/safe_browsing_store_file.cc bool ReadDbStateHelper(const base::FilePath& filename, base 535 chrome/browser/safe_browsing/safe_browsing_store_file.cc file_util::ScopedFILE file(base::OpenFile(filename, "rb")); base 542 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context context; base 591 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::GetFileSize(filename, &size)) base 606 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::FilePath& current_filename) { base 607 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::FilePath original_filename( base 609 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (base::PathExists(original_filename)) { base 611 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (base::GetFileSize(original_filename, &size)) { base 616 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (base::DeleteFile(original_filename, false)) { base 624 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::FilePath journal_filename( base 626 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::DeleteFile(journal_filename, false); base 660 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::GetFileSize(filename_, &size)) base 663 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context context; base 664 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Init(&context); base 669 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (bytes_left < sizeof(base::MD5Digest)) base 671 chrome/browser/safe_browsing/safe_browsing_store_file.cc bytes_left -= sizeof(base::MD5Digest); base 682 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Update(&context, base::StringPiece(buf, c)); base 695 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::FilePath& filename, base 696 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::Closure& corruption_callback base 713 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::PathExists(filename_)) base 727 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::PathExists(filename_)) base 739 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::Time receive_time, base 799 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::FilePath new_filename = TemporaryFileForFilename(filename_); base 800 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::ScopedFILE new_file(base::OpenFile(new_filename, "wb+")); base 804 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::ScopedFILE file(base::OpenFile(filename_, "rb")); base 809 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (base::PathExists(filename_)) base 816 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context context; base 889 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::GetFileSize(TemporaryFileForFilename(filename_), &update_size)) base 942 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context in_context; base 971 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!empty_ && !base::GetFileSize(filename_, &original_size)) base 998 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Context out_context; base 1112 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Digest out_digest; base 1113 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::MD5Final(&out_digest, &out_context); base 1118 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::TruncateFile(new_file_.get())) base 1123 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::DeleteFile(filename_, false) && base 1124 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::PathExists(filename_)) base 1127 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::FilePath new_filename = TemporaryFileForFilename(filename_); base 1128 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::Move(new_filename, filename_)) base 1195 chrome/browser/safe_browsing/safe_browsing_store_file.cc bool SafeBrowsingStoreFile::DeleteStore(const base::FilePath& basename) { base 1196 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::DeleteFile(basename, false) && base 1197 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::PathExists(basename)) { base 1202 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::FilePath new_filename = TemporaryFileForFilename(basename); base 1203 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (!base::DeleteFile(new_filename, false) && base 1204 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::PathExists(new_filename)) { base 1212 chrome/browser/safe_browsing/safe_browsing_store_file.cc const base::FilePath journal_filename( base 1214 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (base::PathExists(journal_filename)) base 1215 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::DeleteFile(journal_filename, false); base 130 chrome/browser/safe_browsing/safe_browsing_store_file.h virtual void Init(const base::FilePath& filename, base 131 chrome/browser/safe_browsing/safe_browsing_store_file.h const base::Closure& corruption_callback) OVERRIDE; base 146 chrome/browser/safe_browsing/safe_browsing_store_file.h base::Time receive_time, base 179 chrome/browser/safe_browsing/safe_browsing_store_file.h static const base::FilePath TemporaryFileForFilename( base 180 chrome/browser/safe_browsing/safe_browsing_store_file.h const base::FilePath& filename) { base 181 chrome/browser/safe_browsing/safe_browsing_store_file.h return base::FilePath(filename.value() + FILE_PATH_LITERAL("_new")); base 185 chrome/browser/safe_browsing/safe_browsing_store_file.h static bool DeleteStore(const base::FilePath& basename); base 237 chrome/browser/safe_browsing/safe_browsing_store_file.h static void CheckForOriginalAndDelete(const base::FilePath& filename); base 269 chrome/browser/safe_browsing/safe_browsing_store_file.h base::hash_set<int32>().swap(add_del_cache_); base 270 chrome/browser/safe_browsing/safe_browsing_store_file.h base::hash_set<int32>().swap(sub_del_cache_); base 284 chrome/browser/safe_browsing/safe_browsing_store_file.h base::FilePath filename_; base 288 chrome/browser/safe_browsing/safe_browsing_store_file.h base::ScopedFILE file_; base 289 chrome/browser/safe_browsing/safe_browsing_store_file.h base::ScopedFILE new_file_; base 302 chrome/browser/safe_browsing/safe_browsing_store_file.h base::hash_set<int32> add_del_cache_; base 303 chrome/browser/safe_browsing/safe_browsing_store_file.h base::hash_set<int32> sub_del_cache_; base 305 chrome/browser/safe_browsing/safe_browsing_store_file.h base::Closure corruption_callback_; base 48 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::Bind(&SafeBrowsingStoreFileTest::OnCorruptionDetected, base 49 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::Unretained(this))); base 65 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc void PopulateStore(const base::Time& now) { base 97 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb")); base 105 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedTempDir temp_dir_; base 106 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::FilePath filename_; base 147 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const base::Time now = base::Time::Now(); base 220 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const base::Time now = base::Time::Now(); base 276 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const base::Time now = base::Time::Now(); base 357 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const base::Time now = base::Time::Now(); base 465 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(base::PathExists(filename_)); base 469 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc PopulateStore(base::Time::Now()); base 471 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(base::PathExists(filename_)); base 473 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(base::PathExists(filename_)); base 478 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const base::FilePath temp_file = base 481 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(base::PathExists(filename_)); base 482 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(base::PathExists(temp_file)); base 486 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(base::PathExists(temp_file)); base 491 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc store_->Init(filename_, base::Closure()); base 492 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(base::PathExists(filename_)); base 493 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(base::PathExists(temp_file)); base 497 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(base::PathExists(filename_)); base 498 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(base::PathExists(temp_file)); base 504 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc PopulateStore(base::Time::Now()); base 521 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb+")); base 546 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc file.reset(base::OpenFile(filename_, "rb+")); base 559 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(base::PathExists(filename_)); base 567 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_FALSE(base::PathExists(filename_)); base 568 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc PopulateStore(base::Time::Now()); base 569 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(base::PathExists(filename_)); base 579 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc PopulateStore(base::Time::Now()); base 580 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(base::PathExists(filename_)); base 587 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb+")); base 597 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc PopulateStore(base::Time::Now()); base 598 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(base::PathExists(filename_)); base 606 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb+")); base 619 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc PopulateStore(base::Time::Now()); base 620 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc EXPECT_TRUE(base::PathExists(filename_)); base 623 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const int kOffset = -static_cast<int>(sizeof(base::MD5Digest)); base 626 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::ScopedFILE file(base::OpenFile(filename_, "rb+")); base 640 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc const base::Time now = base::Time::Now(); base 775 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::FilePath golden_path; base 779 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ASSERT_TRUE(base::CopyFile(golden_path, filename_)); base 784 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::Bind(&SafeBrowsingStoreFileTest::OnCorruptionDetected, base 785 chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc base::Unretained(this))); base 39 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const base::Time now = base::Time::Now(); base 121 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const base::hash_set<int32> no_deletions; base 132 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const base::Time kNow = base::Time::Now(); base 190 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const base::hash_set<int32> no_deletions; base 224 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const base::Time kNow = base::Time::Now(); base 270 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const base::hash_set<int32> no_deletions; base 271 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc base::hash_set<int32> add_deletions; base 298 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc base::hash_set<int32> sub_deletions; base 310 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const base::Time now = base::Time::Now(); base 311 chrome/browser/safe_browsing/safe_browsing_store_unittest.cc const base::Time future = now + base::TimeDelta::FromDays(3*365); base 43 chrome/browser/safe_browsing/safe_browsing_tab_observer.cc base::Bind(&SafeBrowsingTabObserver::UpdateSafebrowsingDetectionHost, base 44 chrome/browser/safe_browsing/safe_browsing_tab_observer.cc base::Unretained(this))); base 59 chrome/browser/safe_browsing/safe_browsing_test.cc const base::FilePath::CharType kDataFile[] = base 82 chrome/browser/safe_browsing/safe_browsing_test.cc base::SplitString(data, '\n', &urls); base 88 chrome/browser/safe_browsing/safe_browsing_test.cc base::SplitString(urls[i], '\t', &record_parts); base 129 chrome/browser/safe_browsing/safe_browsing_test.cc base::AutoLock lock(update_status_mutex_); base 140 chrome/browser/safe_browsing/safe_browsing_test.cc base::Bind(&SafeBrowsingServerTest::ForceUpdateOnIOThread, base 149 chrome/browser/safe_browsing/safe_browsing_test.cc base::TimeDelta::FromSeconds(0)); base 153 chrome/browser/safe_browsing/safe_browsing_test.cc base::AutoLock lock(update_status_mutex_); base 159 chrome/browser/safe_browsing/safe_browsing_test.cc base::AutoLock lock(update_status_mutex_); base 176 chrome/browser/safe_browsing/safe_browsing_test.cc base::AutoLock l(update_status_mutex_); base 181 chrome/browser/safe_browsing/safe_browsing_test.cc base::AutoLock l(update_status_mutex_); base 186 chrome/browser/safe_browsing/safe_browsing_test.cc base::AutoLock l(update_status_mutex_); base 191 chrome/browser/safe_browsing/safe_browsing_test.cc base::AutoLock l(update_status_mutex_); base 195 chrome/browser/safe_browsing/safe_browsing_test.cc base::Time last_update() { base 196 chrome/browser/safe_browsing/safe_browsing_test.cc base::AutoLock l(update_status_mutex_); base 201 chrome/browser/safe_browsing/safe_browsing_test.cc base::AutoLock l(update_status_mutex_); base 205 chrome/browser/safe_browsing/safe_browsing_test.cc base::MessageLoop* SafeBrowsingMessageLoop() { base 220 chrome/browser/safe_browsing/safe_browsing_test.cc base::FilePath datafile_path; base 221 chrome/browser/safe_browsing/safe_browsing_test.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &datafile_path)); base 263 chrome/browser/safe_browsing/safe_browsing_test.cc std::string test_step = base::StringPrintf("test_step=%d", step); base 274 chrome/browser/safe_browsing/safe_browsing_test.cc base::Lock update_status_mutex_; base 278 chrome/browser/safe_browsing/safe_browsing_test.cc base::Time last_update_; base 292 chrome/browser/safe_browsing/safe_browsing_test.cc : public base::RefCountedThreadSafe<SafeBrowsingServerTestHelper>, base 311 chrome/browser/safe_browsing/safe_browsing_test.cc base::Bind(&SafeBrowsingServerTestHelper::OnCheckUrlDone, this)); base 322 chrome/browser/safe_browsing/safe_browsing_test.cc base::Bind(&SafeBrowsingServerTestHelper::CheckUrlOnIOThread, base 332 chrome/browser/safe_browsing/safe_browsing_test.cc base::Bind(&SafeBrowsingServerTestHelper::OnCheckUrlDone, this)); base 347 chrome/browser/safe_browsing/safe_browsing_test.cc base::Bind(&SafeBrowsingServerTestHelper::CheckIsDatabaseReady, this)); base 352 chrome/browser/safe_browsing/safe_browsing_test.cc EXPECT_EQ(base::MessageLoop::current(), base 356 chrome/browser/safe_browsing/safe_browsing_test.cc base::Bind(&SafeBrowsingServerTestHelper::OnWaitForStatusUpdateDone, base 369 chrome/browser/safe_browsing/safe_browsing_test.cc base::Bind(&SafeBrowsingServerTestHelper::CheckStatusOnIOThread, this)); base 379 chrome/browser/safe_browsing/safe_browsing_test.cc std::string path = base::StringPrintf( base 389 chrome/browser/safe_browsing/safe_browsing_test.cc std::string path = base::StringPrintf( base 401 chrome/browser/safe_browsing/safe_browsing_test.cc std::string path = base::StringPrintf( base 424 chrome/browser/safe_browsing/safe_browsing_test.cc base::MessageLoopForUI::current()->Quit(); base 439 chrome/browser/safe_browsing/safe_browsing_test.cc base::OneShotTimer<SafeBrowsingServerTestHelper> check_update_timer_; base 473 chrome/browser/safe_browsing/safe_browsing_test.cc SCOPED_TRACE(base::StringPrintf("step=%d", step)); base 479 chrome/browser/safe_browsing/safe_browsing_test.cc base::Time now = base::Time::Now(); base 22 chrome/browser/safe_browsing/safe_browsing_util.cc SBFullHash SBFullHashForString(const base::StringPiece& str) { base 340 chrome/browser/safe_browsing/safe_browsing_util.cc base::TrimString(host, kCharsToTrim, &host_without_end_dots); base 421 chrome/browser/safe_browsing/safe_browsing_util.cc hosts->push_back(std::string(i.base(), host.end())); base 528 chrome/browser/safe_browsing/safe_browsing_util.cc GURL report_url(report_page + base::StringPrintf(kReportParams, base 44 chrome/browser/safe_browsing/safe_browsing_util.h SBFullHash SBFullHashForString(const base::StringPiece& str); base 264 chrome/browser/safe_browsing/safe_browsing_util_unittest.cc SCOPED_TRACE(base::StringPrintf("Test: %s", tests[i].input_url)); base 27 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc const base::FilePath& zip_file, base 40 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc base::Bind(&SandboxedZipAnalyzer::AnalyzeInSandbox, this), base 41 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN)) { base 53 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 58 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc base::Bind(&SandboxedZipAnalyzer::OnAnalyzeZipFileFinished, this, base 67 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc base::Bind(&SandboxedZipAnalyzer::StartProcessOnIOThread, this)); base 91 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc base::Bind(callback_, results)); base 108 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc base::ProcessHandle utility_process = base 110 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc base::GetCurrentProcessHandle() : base 113 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc if (utility_process == base::kNullProcessHandle) { base 34 chrome/browser/safe_browsing/sandboxed_zip_analyzer.h typedef base::Callback<void(const zip_analyzer::Results&)> ResultCallback; base 36 chrome/browser/safe_browsing/sandboxed_zip_analyzer.h SandboxedZipAnalyzer(const base::FilePath& zip_file, base 64 chrome/browser/safe_browsing/sandboxed_zip_analyzer.h const base::FilePath zip_file_name_; base 67 chrome/browser/safe_browsing/sandboxed_zip_analyzer.h base::File zip_file_; base 68 chrome/browser/safe_browsing/sandboxed_zip_analyzer.h base::WeakPtr<content::UtilityProcessHost> utility_process_host_; base 30 chrome/browser/safe_browsing/two_phase_uploader.cc base::TaskRunner* file_task_runner, base 33 chrome/browser/safe_browsing/two_phase_uploader.cc const base::FilePath& file_path, base 54 chrome/browser/safe_browsing/two_phase_uploader.cc scoped_refptr<base::TaskRunner> file_task_runner_; base 58 chrome/browser/safe_browsing/two_phase_uploader.cc const base::FilePath file_path_; base 69 chrome/browser/safe_browsing/two_phase_uploader.cc base::TaskRunner* file_task_runner, base 72 chrome/browser/safe_browsing/two_phase_uploader.cc const base::FilePath& file_path, base 198 chrome/browser/safe_browsing/two_phase_uploader.cc base::TaskRunner* file_task_runner, base 201 chrome/browser/safe_browsing/two_phase_uploader.cc const base::FilePath& file_path, base 18 chrome/browser/safe_browsing/two_phase_uploader.h namespace base { base 35 chrome/browser/safe_browsing/two_phase_uploader.h class TwoPhaseUploader : public base::NonThreadSafe { base 43 chrome/browser/safe_browsing/two_phase_uploader.h typedef base::Callback<void(int64 sent, int64 total)> ProgressCallback; base 44 chrome/browser/safe_browsing/two_phase_uploader.h typedef base::Callback<void(State state, base 66 chrome/browser/safe_browsing/two_phase_uploader.h base::TaskRunner* file_task_runner, base 69 chrome/browser/safe_browsing/two_phase_uploader.h const base::FilePath& file_path, base 94 chrome/browser/safe_browsing/two_phase_uploader.h base::TaskRunner* file_task_runner, base 97 chrome/browser/safe_browsing/two_phase_uploader.h const base::FilePath& file_path, base 47 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::FilePath GetTestFilePath() { base 48 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::FilePath file_path; base 49 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &file_path); base 84 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind(&Delegate::ProgressCallback, base::Unretained(&delegate)), base 85 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind( base 86 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc &Delegate::FinishCallback, base::Unretained(&delegate), runner))); base 110 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind(&Delegate::ProgressCallback, base::Unretained(&delegate)), base 111 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind( base 112 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc &Delegate::FinishCallback, base::Unretained(&delegate), runner))); base 132 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind(&Delegate::ProgressCallback, base::Unretained(&delegate)), base 133 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind( base 134 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc &Delegate::FinishCallback, base::Unretained(&delegate), runner))); base 158 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind(&Delegate::ProgressCallback, base::Unretained(&delegate)), base 159 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind( base 160 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc &Delegate::FinishCallback, base::Unretained(&delegate), runner))); base 180 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind(&Delegate::ProgressCallback, base::Unretained(&delegate)), base 181 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc base::Bind( base 182 chrome/browser/safe_browsing/two_phase_uploader_unittest.cc &Delegate::FinishCallback, base::Unretained(&delegate), runner))); base 65 chrome/browser/safe_browsing/ui_manager.cc void SafeBrowsingUIManager::LogPauseDelay(base::TimeDelta time) { base 90 chrome/browser/safe_browsing/ui_manager.cc base::Bind(&SafeBrowsingUIManager::UpdateWhitelist, this, resource)); base 111 chrome/browser/safe_browsing/ui_manager.cc BrowserThread::IO, FROM_HERE, base::Bind(resource.callback, true)); base 128 chrome/browser/safe_browsing/ui_manager.cc base::Bind(&SafeBrowsingUIManager::OnBlockingPageDone, base 178 chrome/browser/safe_browsing/ui_manager.cc base::Bind(&SafeBrowsingUIManager::ReportSafeBrowsingHitOnIOThread, this, base 25 chrome/browser/safe_browsing/ui_manager.h namespace base { base 31 chrome/browser/safe_browsing/ui_manager.h : public base::RefCountedThreadSafe<SafeBrowsingUIManager> { base 35 chrome/browser/safe_browsing/ui_manager.h typedef base::Callback<void(bool /*proceed*/)> UrlCheckCallback; base 109 chrome/browser/safe_browsing/ui_manager.h void LogPauseDelay(base::TimeDelta time); base 133 chrome/browser/safe_browsing/ui_manager.h friend class base::RefCountedThreadSafe<SafeBrowsingUIManager>; base 26 chrome/browser/safe_json_parser.cc base::Bind(&SafeJsonParser::StartWorkOnIOThread, this)); base 34 chrome/browser/safe_json_parser.cc UtilityProcessHost::Create(this, base::MessageLoopProxy::current().get()); base 38 chrome/browser/safe_json_parser.cc void SafeJsonParser::OnJSONParseSucceeded(const base::ListValue& wrapper) { base 40 chrome/browser/safe_json_parser.cc const base::Value* value = NULL; base 59 chrome/browser/safe_json_parser.cc base::Bind(&SafeJsonParser::ReportResultOnUIThread, this)); base 15 chrome/browser/safe_json_parser.h namespace base { base 29 chrome/browser/safe_json_parser.h typedef base::Callback<void(scoped_ptr<base::Value>)> SuccessCallback; base 30 chrome/browser/safe_json_parser.h typedef base::Callback<void(const std::string&)> ErrorCallback; base 43 chrome/browser/safe_json_parser.h void OnJSONParseSucceeded(const base::ListValue& wrapper); base 56 chrome/browser/safe_json_parser.h scoped_ptr<base::Value> parsed_json_; base 147 chrome/browser/search/hotword_service.cc base::Bind(&HotwordService::OnHotwordSearchEnabledChanged, base 148 chrome/browser/search/hotword_service.cc base::Unretained(this))); base 219 chrome/browser/search/hotword_service.cc std::string group = base::FieldTrialList::FindFullName( base 30 chrome/browser/search/hotword_service_unittest.cc base::FieldTrialList field_trial_list_; base 95 chrome/browser/search/hotword_service_unittest.cc std::string group = base::FieldTrialList::FindFullName( base 100 chrome/browser/search/hotword_service_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 103 chrome/browser/search/hotword_service_unittest.cc group = base::FieldTrialList::FindFullName( base 134 chrome/browser/search/hotword_service_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 70 chrome/browser/search/iframe_source.cc base::TrimString(*origin, "/", origin); base 77 chrome/browser/search/iframe_source.cc scoped_refptr<base::RefCountedStaticMemory> response( base 93 chrome/browser/search/iframe_source.cc base::StringPiece template_js = base 97 chrome/browser/search/iframe_source.cc callback.Run(base::RefCountedString::TakeString(&response)); base 131 chrome/browser/search/iframe_source_unittest.cc callback_ = base::Bind(&IframeSourceTest::SaveResponse, base 132 chrome/browser/search/iframe_source_unittest.cc base::Unretained(this)); base 144 chrome/browser/search/iframe_source_unittest.cc void SaveResponse(base::RefCountedMemory* data) { base 155 chrome/browser/search/iframe_source_unittest.cc scoped_refptr<base::RefCountedMemory> response_; base 21 chrome/browser/search/instant_io_context.cc return base::UserDataAdapter<InstantIOContext>::Get( base 53 chrome/browser/search/instant_io_context.cc new base::UserDataAdapter<InstantIOContext>(instant_io_context.get())); base 26 chrome/browser/search/instant_io_context.h class InstantIOContext : public base::RefCountedThreadSafe<InstantIOContext> { base 59 chrome/browser/search/instant_io_context.h friend class base::RefCountedThreadSafe<InstantIOContext>; base 98 chrome/browser/search/instant_service.cc base::Bind(&InstantIOContext::SetUserDataOnIO, base 127 chrome/browser/search/instant_service.cc base::Bind(&InstantService::OnDefaultSearchProviderChanged, base 128 chrome/browser/search/instant_service.cc base::Unretained(this))); base 143 chrome/browser/search/instant_service.cc base::Bind(&InstantIOContext::AddInstantProcessOnIO, base 205 chrome/browser/search/instant_service.cc base::Bind(&InstantIOContext::ClearInstantProcessesOnIO, base 227 chrome/browser/search/instant_service.cc base::Bind(&InstantService::OnMostVisitedItemsReceived, base 267 chrome/browser/search/instant_service.cc base::Bind(&InstantIOContext::RemoveInstantProcessOnIO, base 169 chrome/browser/search/instant_service.h base::WeakPtrFactory<InstantService> weak_ptr_factory_; base 77 chrome/browser/search/instant_service_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 107 chrome/browser/search/instant_service_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 131 chrome/browser/search/instant_service_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 29 chrome/browser/search/instant_unittest_base.cc field_trial_list_.reset(new base::FieldTrialList( base 101 chrome/browser/search/instant_unittest_base.cc new base::StringValue("https://www.google.com/")); base 49 chrome/browser/search/instant_unittest_base.h scoped_ptr<base::FieldTrialList> field_trial_list_; base 77 chrome/browser/search/local_ntp_source.cc void AddString(base::DictionaryValue* dictionary, base 84 chrome/browser/search/local_ntp_source.cc scoped_ptr<base::DictionaryValue> GetTranslatedStrings() { base 85 chrome/browser/search/local_ntp_source.cc scoped_ptr<base::DictionaryValue> translated_strings( base 86 chrome/browser/search/local_ntp_source.cc new base::DictionaryValue()); base 105 chrome/browser/search/local_ntp_source.cc base::DictionaryValue config_data; base 143 chrome/browser/search/local_ntp_source.cc callback.Run(base::RefCountedString::TakeString(&config_data_js)); base 148 chrome/browser/search/local_ntp_source.cc scoped_refptr<base::RefCountedStaticMemory> response( base 187 chrome/browser/search/local_ntp_source.cc return base::StringPrintf("frame-src %s;", base 14 chrome/browser/search/most_visited_iframe_source_unittest.cc void ExpectNullData(base::RefCountedMemory* data) { base 127 chrome/browser/search/search.cc InstantSupportState StringToInstantSupportState(const base::string16& value) { base 128 chrome/browser/search/search.cc if (value == base::ASCIIToUTF16(kInstantSupportEnabled)) base 130 chrome/browser/search/search.cc else if (value == base::ASCIIToUTF16(kInstantSupportDisabled)) base 136 chrome/browser/search/search.cc base::string16 InstantSupportStateToString(InstantSupportState state) { base 139 chrome/browser/search/search.cc return base::ASCIIToUTF16(kInstantSupportDisabled); base 141 chrome/browser/search/search.cc return base::ASCIIToUTF16(kInstantSupportEnabled); base 143 chrome/browser/search/search.cc return base::ASCIIToUTF16(kInstantSupportUnknown); base 145 chrome/browser/search/search.cc return base::ASCIIToUTF16(kInstantSupportUnknown); base 163 chrome/browser/search/search.cc TemplateURLRef::SearchTermsArgs(base::string16()); base 248 chrome/browser/search/search.cc base::string16 GetSearchTermsImpl(const content::WebContents* contents, base 251 chrome/browser/search/search.cc return base::string16(); base 266 chrome/browser/search/search.cc return base::string16(); base 269 chrome/browser/search/search.cc base::string16 search_terms = GetSearchTermsFromNavigationEntry(entry); base 274 chrome/browser/search/search.cc return base::string16(); base 369 chrome/browser/search/search.cc base::Uint64ToString(EmbeddedSearchPageVersion()) + "&"; base 394 chrome/browser/search/search.cc base::string16 ExtractSearchTermsFromURL(Profile* profile, const GURL& url) { base 405 chrome/browser/search/search.cc base::string16 search_terms; base 416 chrome/browser/search/search.cc base::string16 GetSearchTermsFromNavigationEntry( base 418 chrome/browser/search/search.cc base::string16 search_terms; base 424 chrome/browser/search/search.cc base::string16 GetSearchTerms(const content::WebContents* contents) { base 426 chrome/browser/search/search.cc return base::string16(); base 431 chrome/browser/search/search.cc return base::string16(); base 438 chrome/browser/search/search.cc return base::string16(); base 465 chrome/browser/search/search.cc const base::string16 search_terms = ExtractSearchTermsFromURL(profile, url); base 757 chrome/browser/search/search.cc base::string16 value; base 778 chrome/browser/search/search.cc std::string group_name = base::FieldTrialList::FindFullName( base 781 chrome/browser/search/search.cc group_name = base::FieldTrialList::FindFullName( base 794 chrome/browser/search/search.cc if (!base::SplitStringIntoKeyValuePairs(group_name.substr(first_space), base 825 chrome/browser/search/search.cc if (base::StringToUint64(str_value, &value)) base 106 chrome/browser/search/search.h base::string16 ExtractSearchTermsFromURL(Profile* profile, const GURL& url); base 117 chrome/browser/search/search.h base::string16 GetSearchTermsFromNavigationEntry( base 127 chrome/browser/search/search.h base::string16 GetSearchTerms(const content::WebContents* contents); base 35 chrome/browser/search/search_terms_tracker.cc base::string16* search_terms, base 38 chrome/browser/search/search_terms_tracker.h base::string16* search_terms, base 49 chrome/browser/search/search_terms_tracker.h base::string16 search_terms; base 40 chrome/browser/search/search_unittest.cc field_trial_list_.reset(new base::FieldTrialList( base 42 chrome/browser/search/search_unittest.cc base::StatisticsRecorder::Initialize(); base 46 chrome/browser/search/search_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 55 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 64 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 73 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 82 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 92 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 103 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 114 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 116 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("InstantExtended", base 126 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 141 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 150 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 160 chrome/browser/search/search_unittest.cc field_trial_list_.reset(new base::FieldTrialList( base 222 chrome/browser/search/search_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 257 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 664 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 676 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 684 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 695 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 704 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 713 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 721 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 733 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 739 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 748 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 794 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 804 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 830 chrome/browser/search/search_unittest.cc base::UTF16ToASCII(chrome::ExtractSearchTermsFromURL(profile(), base 883 chrome/browser/search/search_unittest.cc TemplateURLRef::SearchTermsArgs search_terms_args(base::ASCIIToUTF16("foo")); base 893 chrome/browser/search/search_unittest.cc TemplateURLRef::SearchTermsArgs search_terms_args(base::ASCIIToUTF16("foo")); base 904 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 920 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 930 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 945 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 953 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 961 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 970 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 980 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 986 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 992 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 998 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1004 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial("EmbeddedSearch", base 1012 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1018 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1029 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1035 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1047 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1062 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1074 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1082 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1089 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1096 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1103 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1110 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1117 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1129 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1141 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1171 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1178 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1185 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1192 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1199 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1208 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 1223 chrome/browser/search/search_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 111 chrome/browser/search/suggestions/suggestions_service.cc last_request_started_time_ = base::TimeTicks::Now(); base 142 chrome/browser/search/suggestions/suggestions_service.cc const base::TimeDelta latency = base 143 chrome/browser/search/suggestions/suggestions_service.cc base::TimeTicks::Now() - last_request_started_time_; base 32 chrome/browser/search/suggestions/suggestions_service.h typedef base::Callback<void(const SuggestionsProfile&)> ResponseCallback; base 63 chrome/browser/search/suggestions/suggestions_service.h base::TimeTicks last_request_started_time_; base 77 chrome/browser/search/suggestions/suggestions_service_unittest.cc factory_(NULL, base::Bind(&CreateURLFetcher)) { base 87 chrome/browser/search/suggestions/suggestions_service_unittest.cc new base::FieldTrialList(new metrics::SHA1EntropyProvider("foo"))); base 96 chrome/browser/search/suggestions/suggestions_service_unittest.cc field_trial_ = base::FieldTrialList::CreateFieldTrial( base 112 chrome/browser/search/suggestions/suggestions_service_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 113 chrome/browser/search/suggestions/suggestions_service_unittest.cc scoped_refptr<base::FieldTrial> field_trial_; base 146 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::Bind(&SuggestionsServiceTest::CheckSuggestionsData, base 147 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::Unretained(this))); base 151 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::Bind(&SuggestionsServiceTest::CheckSuggestionsData, base 152 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::Unretained(this))); base 155 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 175 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::Bind(&SuggestionsServiceTest::ExpectEmptySuggestionsProfile, base 176 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::Unretained(this))); base 179 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 199 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::Bind(&SuggestionsServiceTest::ExpectEmptySuggestionsProfile, base 200 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::Unretained(this))); base 203 chrome/browser/search/suggestions/suggestions_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 65 chrome/browser/search/suggestions/suggestions_source.cc base::Bind(&SuggestionsSource::OnSuggestionsAvailable, base 73 chrome/browser/search/suggestions/suggestions_source.cc base::MessageLoop* SuggestionsSource::MessageLoopForRequestPath( base 115 chrome/browser/search/suggestions/suggestions_source.cc callback.Run(base::RefCountedString::TakeString(&out_html)); base 16 chrome/browser/search/suggestions/suggestions_source.h namespace base { base 37 chrome/browser/search/suggestions/suggestions_source.h virtual base::MessageLoop* MessageLoopForRequestPath( base 54 chrome/browser/search/suggestions/suggestions_source.h base::WeakPtrFactory<SuggestionsSource> weak_ptr_factory_; base 27 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_BOOLEAN }, base 30 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 33 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 36 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 39 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 42 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 45 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 48 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_LIST }, base 51 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_LIST }, base 54 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 57 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 60 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 63 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 66 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 69 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 72 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_STRING }, base 79 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::TYPE_LIST) {} base 89 chrome/browser/search_engines/default_search_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 90 chrome/browser/search_engines/default_search_policy_handler.cc const base::ListValue* list; base 94 chrome/browser/search_engines/default_search_policy_handler.cc base::ListValue::const_iterator iter(list->begin()); base 95 chrome/browser/search_engines/default_search_policy_handler.cc base::ListValue::const_iterator end(list->end()); base 105 chrome/browser/search_engines/default_search_policy_handler.cc base::Value::CreateStringValue(encodings)); base 150 chrome/browser/search_engines/default_search_policy_handler.cc const base::Value* url; base 175 chrome/browser/search_engines/default_search_policy_handler.cc new base::ListValue()); base 191 chrome/browser/search_engines/default_search_policy_handler.cc const base::Value* dummy; base 284 chrome/browser/search_engines/default_search_policy_handler.cc const base::Value* provider_enabled = base 293 chrome/browser/search_engines/default_search_policy_handler.cc const base::Value** url_value, base 317 chrome/browser/search_engines/default_search_policy_handler.cc base::Value* value; base 318 chrome/browser/search_engines/default_search_policy_handler.cc base::ListValue* list_value; base 320 chrome/browser/search_engines/default_search_policy_handler.cc prefs->SetValue(path, new base::ListValue()); base 60 chrome/browser/search_engines/default_search_policy_handler.h const base::Value** url_value, base 45 chrome/browser/search_engines/default_search_policy_handler_unittest.cc base::ListValue default_alternate_urls_; base 69 chrome/browser/search_engines/default_search_policy_handler_unittest.cc base::ListValue* encodings = new base::ListValue(); base 73 chrome/browser/search_engines/default_search_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 75 chrome/browser/search_engines/default_search_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateStringValue(kSearchURL), base 78 chrome/browser/search_engines/default_search_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateStringValue(kName), NULL); base 80 chrome/browser/search_engines/default_search_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateStringValue(kKeyword), base 83 chrome/browser/search_engines/default_search_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateStringValue(kSuggestURL), base 86 chrome/browser/search_engines/default_search_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateStringValue(kIconURL), base 94 chrome/browser/search_engines/default_search_policy_handler_unittest.cc base::Value::CreateStringValue(kReplacementKey), NULL); base 97 chrome/browser/search_engines/default_search_policy_handler_unittest.cc base::Value::CreateStringValue(kImageURL), NULL); base 100 chrome/browser/search_engines/default_search_policy_handler_unittest.cc base::Value::CreateStringValue(kImageParams), NULL); base 103 chrome/browser/search_engines/default_search_policy_handler_unittest.cc base::Value::CreateStringValue(kNewTabURL), NULL); base 111 chrome/browser/search_engines/default_search_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 113 chrome/browser/search_engines/default_search_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateStringValue(kSearchURL), base 117 chrome/browser/search_engines/default_search_policy_handler_unittest.cc const base::Value* value = NULL; base 119 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(kSearchURL).Equals(value)); base 122 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue("test.com").Equals(value)); base 125 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue("test.com").Equals(value)); base 129 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 132 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 135 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 139 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 143 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::ListValue().Equals(value)); base 148 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 151 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 155 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 159 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 163 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 167 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 171 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 181 chrome/browser/search_engines/default_search_policy_handler_unittest.cc const base::Value* value = NULL; base 183 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(kSearchURL).Equals(value)); base 186 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(kName).Equals(value)); base 189 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(kKeyword).Equals(value)); base 193 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(kSuggestURL).Equals(value)); base 196 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(kIconURL).Equals(value)); base 199 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue("UTF-16;UTF-8").Equals(value)); base 208 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(kReplacementKey).Equals(value)); base 211 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string(kImageURL)).Equals(value)); base 215 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string(kImageParams)).Equals(value)); base 219 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 223 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 227 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::StringValue(std::string()).Equals(value)); base 263 chrome/browser/search_engines/default_search_policy_handler_unittest.cc base::Value::CreateStringValue(bad_search_url), NULL); base 288 chrome/browser/search_engines/default_search_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 291 chrome/browser/search_engines/default_search_policy_handler_unittest.cc const base::Value* value = NULL; base 293 chrome/browser/search_engines/default_search_policy_handler_unittest.cc base::FundamentalValue expected_enabled(false); base 294 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected_enabled, value)); base 296 chrome/browser/search_engines/default_search_policy_handler_unittest.cc base::StringValue expected_search_url((std::string())); base 297 chrome/browser/search_engines/default_search_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected_search_url, value)); base 65 chrome/browser/search_engines/search_provider_install_data.cc : public base::RefCountedThreadSafe<GoogleURLChangeNotifier, base 69 chrome/browser/search_engines/search_provider_install_data.cc const base::WeakPtr<SearchProviderInstallData>& install_data); base 81 chrome/browser/search_engines/search_provider_install_data.cc base::WeakPtr<SearchProviderInstallData> install_data_; base 87 chrome/browser/search_engines/search_provider_install_data.cc const base::WeakPtr<SearchProviderInstallData>& install_data) base 141 chrome/browser/search_engines/search_provider_install_data.cc base::Bind(&GoogleURLChangeNotifier::OnChange, base 189 chrome/browser/search_engines/search_provider_install_data.cc void SearchProviderInstallData::CallWhenLoaded(const base::Closure& closure) { base 301 chrome/browser/search_engines/search_provider_install_data.cc std::vector<base::Closure> closure_queue; base 306 chrome/browser/search_engines/search_provider_install_data.cc std::mem_fun_ref(&base::Closure::Run)); base 54 chrome/browser/search_engines/search_provider_install_data.h void CallWhenLoaded(const base::Closure& closure); base 84 chrome/browser/search_engines/search_provider_install_data.h std::vector<base::Closure> closure_queue_; base 104 chrome/browser/search_engines/search_provider_install_data.h base::WeakPtrFactory<SearchProviderInstallData> weak_factory_; base 68 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::Bind(&TestGetInstallState::DoInstallStateTests, base 69 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::Unretained(this), base 71 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::RunLoop().RunUntilIdle(); base 132 chrome/browser/search_engines/search_provider_install_data_unittest.cc const base::string16& keyword); base 181 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::Value::CreateBooleanValue(true)); base 183 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::Value::CreateStringValue(url)); base 185 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::Value::CreateStringValue("managed")); base 188 chrome/browser/search_engines/search_provider_install_data_unittest.cc new base::StringValue(std::string())); base 190 chrome/browser/search_engines/search_provider_install_data_unittest.cc new base::StringValue(std::string())); base 198 chrome/browser/search_engines/search_provider_install_data_unittest.cc const base::string16& keyword) { base 214 chrome/browser/search_engines/search_provider_install_data_unittest.cc AddNewTemplateURL("http://" + host + "/path", base::ASCIIToUTF16("unittest")); base 217 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::RunLoop().RunUntilIdle(); base 227 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::ASCIIToUTF16("mmm")); base 236 chrome/browser/search_engines/search_provider_install_data_unittest.cc AddNewTemplateURL("http://" + host + "/path", base::ASCIIToUTF16("unittest")); base 245 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::RunLoop().RunUntilIdle(); base 261 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::RunLoop().RunUntilIdle(); base 264 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::ASCIIToUTF16("t")); base 266 chrome/browser/search_engines/search_provider_install_data_unittest.cc AddNewTemplateURL("http://d.com/", base::ASCIIToUTF16("d")); base 270 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::RunLoop().RunUntilIdle(); base 279 chrome/browser/search_engines/search_provider_install_data_unittest.cc base::RunLoop().RunUntilIdle(); base 90 chrome/browser/search_engines/search_provider_install_state_message_filter.cc base::Bind( base 54 chrome/browser/search_engines/search_provider_install_state_message_filter.h base::WeakPtrFactory<SearchProviderInstallStateMessageFilter> weak_factory_; base 63 chrome/browser/search_engines/search_terms_data.cc base::string16 SearchTermsData::GetRlzParameterValue() const { base 64 chrome/browser/search_engines/search_terms_data.cc return base::string16(); base 112 chrome/browser/search_engines/search_terms_data.cc base::string16 UIThreadSearchTermsData::GetRlzParameterValue() const { base 115 chrome/browser/search_engines/search_terms_data.cc base::string16 rlz_string; base 37 chrome/browser/search_engines/search_terms_data.h virtual base::string16 GetRlzParameterValue() const; base 74 chrome/browser/search_engines/search_terms_data.h virtual base::string16 GetRlzParameterValue() const OVERRIDE; base 10 chrome/browser/search_engines/search_terms_data_android.cc base::LazyInstance<base::string16>::Leaky base 12 chrome/browser/search_engines/search_terms_data_android.cc base::LazyInstance<std::string>::Leaky base 15 chrome/browser/search_engines/search_terms_data_android.cc base::string16 UIThreadSearchTermsData::GetRlzParameterValue() const { base 15 chrome/browser/search_engines/search_terms_data_android.h static base::LazyInstance<base::string16>::Leaky rlz_parameter_value_; base 16 chrome/browser/search_engines/search_terms_data_android.h static base::LazyInstance<std::string>::Leaky search_client_; base 121 chrome/browser/search_engines/template_url.cc bool TryEncoding(const base::string16& terms, base 122 chrome/browser/search_engines/template_url.cc const base::string16& original_query, base 125 chrome/browser/search_engines/template_url.cc base::string16* escaped_terms, base 126 chrome/browser/search_engines/template_url.cc base::string16* escaped_original_query) { base 130 chrome/browser/search_engines/template_url.cc if (!base::UTF16ToCodepage(terms, encoding, base 131 chrome/browser/search_engines/template_url.cc base::OnStringConversionError::SKIP, &encoded_terms)) base 133 chrome/browser/search_engines/template_url.cc *escaped_terms = base::UTF8ToUTF16(is_in_query ? base 139 chrome/browser/search_engines/template_url.cc if (!base::UTF16ToCodepage(original_query, encoding, base 140 chrome/browser/search_engines/template_url.cc base::OnStringConversionError::SKIP, &encoded_original_query)) base 142 chrome/browser/search_engines/template_url.cc *escaped_original_query = base::UTF8ToUTF16( base 202 chrome/browser/search_engines/template_url.cc const base::string16& search_terms) base 205 chrome/browser/search_engines/template_url.cc cursor_position(base::string16::npos), base 295 chrome/browser/search_engines/template_url.cc std::string boundary = base::StringPrintf(kMultipartBoundary, base 296 chrome/browser/search_engines/template_url.cc base::RandUint64()); base 380 chrome/browser/search_engines/template_url.cc base::string16 TemplateURLRef::DisplayURL() const { base 382 chrome/browser/search_engines/template_url.cc base::string16 result(base::UTF8ToUTF16(GetURL())); base 385 chrome/browser/search_engines/template_url.cc base::ASCIIToUTF16(kSearchTermsParameterFull), base 386 chrome/browser/search_engines/template_url.cc base::ASCIIToUTF16(kDisplaySearchTerms)); base 388 chrome/browser/search_engines/template_url.cc base::ASCIIToUTF16(kGoogleUnescapedSearchTermsParameterFull), base 389 chrome/browser/search_engines/template_url.cc base::ASCIIToUTF16(kDisplayUnescapedSearchTerms)); base 396 chrome/browser/search_engines/template_url.cc const base::string16& display_url) { base 397 chrome/browser/search_engines/template_url.cc base::string16 result = display_url; base 399 chrome/browser/search_engines/template_url.cc base::ASCIIToUTF16(kDisplaySearchTerms), base 400 chrome/browser/search_engines/template_url.cc base::ASCIIToUTF16(kSearchTermsParameterFull)); base 403 chrome/browser/search_engines/template_url.cc base::ASCIIToUTF16(kDisplayUnescapedSearchTerms), base 404 chrome/browser/search_engines/template_url.cc base::ASCIIToUTF16(kGoogleUnescapedSearchTermsParameterFull)); base 405 chrome/browser/search_engines/template_url.cc return base::UTF16ToUTF8(result); base 423 chrome/browser/search_engines/template_url.cc base::string16 TemplateURLRef::SearchTermToString16( base 426 chrome/browser/search_engines/template_url.cc base::string16 result; base 433 chrome/browser/search_engines/template_url.cc if (base::CodepageToUTF16(unescaped, encodings[i].c_str(), base 434 chrome/browser/search_engines/template_url.cc base::OnStringConversionError::FAIL, &result)) base 439 chrome/browser/search_engines/template_url.cc if (base::CodepageToUTF16(unescaped, base::kCodepageUTF8, base 440 chrome/browser/search_engines/template_url.cc base::OnStringConversionError::FAIL, &result)) base 446 chrome/browser/search_engines/template_url.cc result = base::UTF8ToUTF16(term); base 463 chrome/browser/search_engines/template_url.cc base::string16* search_terms, base 483 chrome/browser/search_engines/template_url.cc SearchTermsArgs(base::string16()), search_terms_data, NULL)); base 680 chrome/browser/search_engines/template_url.cc base::SplitString(post_params_string, ',', ¶m_list); base 686 chrome/browser/search_engines/template_url.cc base::SplitString(*iterator, '=', &parts); base 805 chrome/browser/search_engines/template_url.cc base::string16::size_type query_start = parsed_url_.find('?'); base 806 chrome/browser/search_engines/template_url.cc is_in_query = query_start != base::string16::npos && base 807 chrome/browser/search_engines/template_url.cc (static_cast<base::string16::size_type>(i->index) > query_start); base 813 chrome/browser/search_engines/template_url.cc base::string16 encoded_terms; base 814 chrome/browser/search_engines/template_url.cc base::string16 encoded_original_query; base 883 chrome/browser/search_engines/template_url.cc if (search_terms_args.cursor_position != base::string16::npos) base 886 chrome/browser/search_engines/template_url.cc base::StringPrintf("%" PRIuS, search_terms_args.cursor_position), base 919 chrome/browser/search_engines/template_url.cc base::IntToString(search_terms_args.omnibox_start_margin), base 930 chrome/browser/search_engines/template_url.cc "oq", base::UTF16ToUTF8(encoded_original_query), *i, &url); base 938 chrome/browser/search_engines/template_url.cc "pgcl", base::IntToString(search_terms_args.page_classification), base 949 chrome/browser/search_engines/template_url.cc base::string16 rlz_string = search_terms_data.GetRlzParameterValue(); base 951 chrome/browser/search_engines/template_url.cc HandleReplacement("rlz", base::UTF16ToUTF8(rlz_string), *i, &url); base 983 chrome/browser/search_engines/template_url.cc base::UTF16ToCodepage(search_terms_args.search_terms, base 985 chrome/browser/search_engines/template_url.cc base::OnStringConversionError::SKIP, base 998 chrome/browser/search_engines/template_url.cc std::string(), base::UTF16ToUTF8(encoded_terms), *i, &url); base 1017 chrome/browser/search_engines/template_url.cc base::IntToString(search_terms_args.image_original_size.width()), base 1026 chrome/browser/search_engines/template_url.cc base::IntToString(search_terms_args.image_original_size.height()), base 1050 chrome/browser/search_engines/template_url.cc date_created(base::Time::Now()), base 1051 chrome/browser/search_engines/template_url.cc last_modified(base::Time::Now()), base 1055 chrome/browser/search_engines/template_url.cc sync_guid(base::GenerateGUID()), base 1056 chrome/browser/search_engines/template_url.cc keyword_(base::ASCIIToUTF16("dummy")), base 1063 chrome/browser/search_engines/template_url.cc void TemplateURLData::SetKeyword(const base::string16& keyword) { base 1068 chrome/browser/search_engines/template_url.cc keyword_ = base::i18n::ToLower(keyword); base 1116 chrome/browser/search_engines/template_url.cc base::string16 TemplateURL::AdjustedShortNameForLocaleDirection() const { base 1117 chrome/browser/search_engines/template_url.cc base::string16 bidi_safe_short_name = data_.short_name; base 1118 chrome/browser/search_engines/template_url.cc base::i18n::AdjustStringForLocaleDirection(&bidi_safe_short_name); base 1138 chrome/browser/search_engines/template_url.cc google_util::IsGoogleHostname(base::UTF16ToUTF8(data_.keyword()), base 1175 chrome/browser/search_engines/template_url.cc base::string16* search_terms) { base 1183 chrome/browser/search_engines/template_url.cc base::string16* search_terms, base 1197 chrome/browser/search_engines/template_url.cc base::string16 search_terms; base 1229 chrome/browser/search_engines/template_url.cc base::string16 search_terms; base 1240 chrome/browser/search_engines/template_url.cc base::string16 encoded_terms; base 1241 chrome/browser/search_engines/template_url.cc base::string16 encoded_original_query; base 1248 chrome/browser/search_engines/template_url.cc new_params += base::UTF16ToUTF8(search_terms_args.search_terms); base 1263 chrome/browser/search_engines/template_url.cc base::string16* encoded_terms, base 1264 chrome/browser/search_engines/template_url.cc base::string16* encoded_original_query) const { base 1318 chrome/browser/search_engines/template_url.cc base::string16* search_terms, base 70 chrome/browser/search_engines/template_url.h explicit SearchTermsArgs(const base::string16& search_terms); base 74 chrome/browser/search_engines/template_url.h base::string16 search_terms; base 77 chrome/browser/search_engines/template_url.h base::string16 original_query; base 192 chrome/browser/search_engines/template_url.h base::string16 DisplayURL() const; base 196 chrome/browser/search_engines/template_url.h static std::string DisplayURLToURLRef(const base::string16& display_url); base 208 chrome/browser/search_engines/template_url.h base::string16 SearchTermToString16(const std::string& term) const; base 224 chrome/browser/search_engines/template_url.h base::string16* search_terms, base 423 chrome/browser/search_engines/template_url.h base::string16 short_name; base 426 chrome/browser/search_engines/template_url.h void SetKeyword(const base::string16& keyword); base 427 chrome/browser/search_engines/template_url.h const base::string16& keyword() const { return keyword_; } base 478 chrome/browser/search_engines/template_url.h base::Time date_created; base 483 chrome/browser/search_engines/template_url.h base::Time last_modified; base 514 chrome/browser/search_engines/template_url.h base::string16 keyword_; base 531 chrome/browser/search_engines/template_url.h base::Time install_time; base 569 chrome/browser/search_engines/template_url.h const base::string16& short_name() const { return data_.short_name; } base 572 chrome/browser/search_engines/template_url.h base::string16 AdjustedShortNameForLocaleDirection() const; base 574 chrome/browser/search_engines/template_url.h const base::string16& keyword() const { return data_.keyword(); } base 613 chrome/browser/search_engines/template_url.h base::Time date_created() const { return data_.date_created; } base 614 chrome/browser/search_engines/template_url.h base::Time last_modified() const { return data_.last_modified; } base 680 chrome/browser/search_engines/template_url.h bool ExtractSearchTermsFromURL(const GURL& url, base::string16* search_terms); base 686 chrome/browser/search_engines/template_url.h base::string16* search_terms, base 726 chrome/browser/search_engines/template_url.h base::string16* encoded_terms, base 727 chrome/browser/search_engines/template_url.h base::string16* encoded_original_query) const; base 752 chrome/browser/search_engines/template_url.h base::string16* search_terms, base 31 chrome/browser/search_engines/template_url_fetcher.cc const base::string16& keyword, base 47 chrome/browser/search_engines/template_url_fetcher.cc base::string16 keyword() const { return keyword_; } base 59 chrome/browser/search_engines/template_url_fetcher.cc base::string16 keyword_; base 72 chrome/browser/search_engines/template_url_fetcher.cc const base::string16& keyword, base 93 chrome/browser/search_engines/template_url_fetcher.cc base::Bind(&TemplateURLFetcher::RequestDelegate::OnLoaded, base 94 chrome/browser/search_engines/template_url_fetcher.cc base::Unretained(this))); base 229 chrome/browser/search_engines/template_url_fetcher.cc const base::string16& keyword, base 49 chrome/browser/search_engines/template_url_fetcher.h void ScheduleDownload(const base::string16& keyword, base 22 chrome/browser/search_engines/template_url_fetcher_unittest.cc using base::ASCIIToUTF16; base 73 chrome/browser/search_engines/template_url_fetcher_unittest.cc void StartDownload(const base::string16& keyword, base 115 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::FilePath src_dir; base 116 chrome/browser/search_engines/template_url_fetcher_unittest.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &src_dir)); base 125 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::MessageLoop::current()->Quit(); base 136 chrome/browser/search_engines/template_url_fetcher_unittest.cc const base::string16& keyword, base 142 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::FilePath osdd_full_path; base 145 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_TRUE(base::PathExists(osdd_full_path)); base 146 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(base::DirectoryExists(osdd_full_path)); base 161 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::MessageLoop::current()->Run(); base 166 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); base 190 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); base 204 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword; base 213 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16(), TemplateURLFetcher::EXPLICIT_PROVIDER }, base 234 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); base 258 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); base 269 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); base 291 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); base 311 chrome/browser/search_engines/template_url_fetcher_unittest.cc base::string16 keyword(ASCIIToUTF16("test")); base 169 chrome/browser/search_engines/template_url_parser.cc base::string16 string_; base 248 chrome/browser/search_engines/template_url_parser.cc GURL image_url(base::UTF16ToUTF8(context->string_)); base 263 chrome/browser/search_engines/template_url_parser.cc std::string input_encoding = base::UTF16ToASCII(context->string_); base 283 chrome/browser/search_engines/template_url_parser.cc base::UTF8ToUTF16(std::string(reinterpret_cast<const char*>(ch), len)); base 382 chrome/browser/search_engines/template_url_parser.cc base::StringToInt(XMLCharToString(value), &width); base 384 chrome/browser/search_engines/template_url_parser.cc base::StringToInt(XMLCharToString(value), &height); base 14 chrome/browser/search_engines/template_url_parser_unittest.cc using base::ASCIIToUTF16; base 70 chrome/browser/search_engines/template_url_parser_unittest.cc base::FilePath full_path_; base 82 chrome/browser/search_engines/template_url_parser_unittest.cc if (!base::PathExists(full_path_)) { base 85 chrome/browser/search_engines/template_url_parser_unittest.cc full_path_ = base::FilePath(); base 96 chrome/browser/search_engines/template_url_parser_unittest.cc base::FilePath full_path; base 100 chrome/browser/search_engines/template_url_parser_unittest.cc ASSERT_TRUE(base::PathExists(full_path)); base 103 chrome/browser/search_engines/template_url_parser_unittest.cc ASSERT_TRUE(base::ReadFileToString(full_path, &contents)); base 624 chrome/browser/search_engines/template_url_prepopulate_data.cc base::ScopedCFTypeRef<CFLocaleRef> locale(CFLocaleCopyCurrent()); base 671 chrome/browser/search_engines/template_url_prepopulate_data.cc base::ToUpperASCII(locale_str[begin]), base 672 chrome/browser/search_engines/template_url_prepopulate_data.cc base::ToUpperASCII(locale_str[begin + 1])); base 1063 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::string16& name, base 1064 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::string16& keyword, base 1065 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& search_url, base 1066 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& suggest_url, base 1067 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& instant_url, base 1068 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& image_url, base 1069 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& new_tab_url, base 1070 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& search_url_post_params, base 1071 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& suggest_url_post_params, base 1072 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& instant_url_post_params, base 1073 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& image_url_post_params, base 1074 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& favicon_url, base 1075 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& encoding, base 1076 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::ListValue& alternate_urls, base 1077 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::StringPiece& search_terms_replacement_key, base 1097 chrome/browser/search_engines/template_url_prepopulate_data.cc data.date_created = base::Time(); base 1098 chrome/browser/search_engines/template_url_prepopulate_data.cc data.last_modified = base::Time(); base 1115 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::ListValue* list = base 1122 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::DictionaryValue* engine; base 1123 chrome/browser/search_engines/template_url_prepopulate_data.cc base::string16 name; base 1124 chrome/browser/search_engines/template_url_prepopulate_data.cc base::string16 keyword; base 1147 chrome/browser/search_engines/template_url_prepopulate_data.cc base::ListValue empty_list; base 1148 chrome/browser/search_engines/template_url_prepopulate_data.cc const base::ListValue* alternate_urls = &empty_list; base 1177 chrome/browser/search_engines/template_url_prepopulate_data.cc base::ListValue alternate_urls; base 1183 chrome/browser/search_engines/template_url_prepopulate_data.cc return MakePrepopulatedTemplateURL(profile, base::WideToUTF16(engine.name), base 1184 chrome/browser/search_engines/template_url_prepopulate_data.cc base::WideToUTF16(engine.keyword), engine.search_url, engine.suggest_url, base 1295 chrome/browser/search_engines/template_url_prepopulate_data.cc base::ASCIIToUTF16("x")))); base 22 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc using base::ASCIIToUTF16; base 110 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc base::Value::CreateIntegerValue(1)); base 111 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc base::ListValue* overrides = new base::ListValue; base 112 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue); base 146 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc base::ListValue* alternate_urls = new base::ListValue; base 150 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc overrides = new base::ListValue; base 174 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc overrides = new base::ListValue; base 197 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc base::Value::CreateIntegerValue(1)); base 198 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc base::ListValue* overrides = new base::ListValue; base 199 chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc base::DictionaryValue* entry(new base::DictionaryValue); base 219 chrome/browser/search_engines/template_url_service.cc std::string keyword = base::UTF16ToASCII((*it)->keyword()); base 220 chrome/browser/search_engines/template_url_service.cc base::TrimString(keyword, "_", &keyword); base 288 chrome/browser/search_engines/template_url_service.cc time_provider_(&base::Time::Now), base 308 chrome/browser/search_engines/template_url_service.cc time_provider_(&base::Time::Now), base 323 chrome/browser/search_engines/template_url_service.cc base::string16 TemplateURLService::GenerateKeyword(const GURL& url) { base 330 chrome/browser/search_engines/template_url_service.cc base::string16 keyword(net::StripWWWFromHost(url)); base 331 chrome/browser/search_engines/template_url_service.cc return keyword.empty() ? base::ASCIIToUTF16("www") : keyword; base 335 chrome/browser/search_engines/template_url_service.cc base::string16 TemplateURLService::CleanUserInputKeyword( base 336 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword) { base 338 chrome/browser/search_engines/template_url_service.cc base::string16 result(base::i18n::ToLower(keyword)); base 339 chrome/browser/search_engines/template_url_service.cc base::TrimWhitespace(result, base::TRIM_ALL, &result); base 341 chrome/browser/search_engines/template_url_service.cc if (url_parse::ExtractScheme(base::UTF16ToUTF8(keyword).c_str(), base 348 chrome/browser/search_engines/template_url_service.cc base::ASCIIToUTF16(content::kHttpScheme)) && base 350 chrome/browser/search_engines/template_url_service.cc base::ASCIIToUTF16(content::kHttpsScheme))) base 351 chrome/browser/search_engines/template_url_service.cc return base::string16(); base 356 chrome/browser/search_engines/template_url_service.cc const base::string16 after_scheme(base::ASCIIToUTF16("//")); base 396 chrome/browser/search_engines/template_url_service.cc base::ASCIIToUTF16("blah.blah.blah.blah.blah")), base 401 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword, base 426 chrome/browser/search_engines/template_url_service.cc const base::string16& prefix, base 457 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword) { base 505 chrome/browser/search_engines/template_url_service.cc const base::string16& short_name, base 506 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword, base 537 chrome/browser/search_engines/template_url_service.cc base::AutoReset<DefaultSearchChangeOrigin> change_origin( base 570 chrome/browser/search_engines/template_url_service.cc void TemplateURLService::RemoveAutoGeneratedSince(base::Time created_after) { base 571 chrome/browser/search_engines/template_url_service.cc RemoveAutoGeneratedBetween(created_after, base::Time()); base 574 chrome/browser/search_engines/template_url_service.cc void TemplateURLService::RemoveAutoGeneratedBetween(base::Time created_after, base 575 chrome/browser/search_engines/template_url_service.cc base::Time created_before) { base 581 chrome/browser/search_engines/template_url_service.cc base::Time created_after, base 582 chrome/browser/search_engines/template_url_service.cc base::Time created_before) { base 645 chrome/browser/search_engines/template_url_service.cc const base::string16& title, base 646 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword, base 781 chrome/browser/search_engines/template_url_service.cc base::AutoReset<DefaultSearchChangeOrigin> change_origin( base 814 chrome/browser/search_engines/template_url_service.cc const base::Closure& callback) { base 869 chrome/browser/search_engines/template_url_service.cc base::string16 TemplateURLService::GetKeywordShortName( base 870 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword, base 882 chrome/browser/search_engines/template_url_service.cc return base::string16(); base 927 chrome/browser/search_engines/template_url_service.cc base::AutoReset<DefaultSearchChangeOrigin> change_origin( base 972 chrome/browser/search_engines/template_url_service.cc base::AutoReset<bool> processing_changes(&processing_syncer_changes_, true); base 977 chrome/browser/search_engines/template_url_service.cc base::AutoReset<DefaultSearchChangeOrigin> change_origin(&dsp_change_origin_, base 1025 chrome/browser/search_engines/template_url_service.cc base::string16 updated_keyword = UniquifyKeyword(*existing_turl, true); base 1125 chrome/browser/search_engines/template_url_service.cc base::AutoReset<bool> processing_changes(&processing_syncer_changes_, true); base 1130 chrome/browser/search_engines/template_url_service.cc base::AutoReset<DefaultSearchChangeOrigin> change_origin(&dsp_change_origin_, base 1205 chrome/browser/search_engines/template_url_service.cc base::AutoReset<DefaultSearchChangeOrigin> change_origin( base 1284 chrome/browser/search_engines/template_url_service.cc se_specifics->set_short_name(base::UTF16ToUTF8(turl.short_name())); base 1285 chrome/browser/search_engines/template_url_service.cc se_specifics->set_keyword(base::UTF16ToUTF8(turl.keyword())); base 1346 chrome/browser/search_engines/template_url_service.cc data.short_name = base::UTF8ToUTF16(specifics.short_name()); base 1348 chrome/browser/search_engines/template_url_service.cc base::string16 keyword(base::UTF8ToUTF16(specifics.keyword())); base 1356 chrome/browser/search_engines/template_url_service.cc keyword = base::ASCIIToUTF16("dummy"); // Will be replaced below. base 1371 chrome/browser/search_engines/template_url_service.cc base::SplitString(specifics.input_encodings(), ';', &data.input_encodings); base 1377 chrome/browser/search_engines/template_url_service.cc data.date_created = base::Time::FromInternalValue(specifics.date_created()); base 1378 chrome/browser/search_engines/template_url_service.cc data.last_modified = base::Time::FromInternalValue(specifics.last_modified()); base 1431 chrome/browser/search_engines/template_url_service.cc const base::string16& term) { base 1457 chrome/browser/search_engines/template_url_service.cc base::Bind( base 1459 chrome/browser/search_engines/template_url_service.cc base::Unretained(this))); base 1480 chrome/browser/search_engines/template_url_service.cc data.short_name = base::UTF8ToUTF16(initializers[i].content); base 1481 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(base::UTF8ToUTF16(initializers[i].keyword)); base 1499 chrome/browser/search_engines/template_url_service.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 1506 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword = template_url->keyword(); base 1545 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword = template_url->keyword(); base 1635 chrome/browser/search_engines/template_url_service.cc base::ListValue alternate_urls; base 1653 chrome/browser/search_engines/template_url_service.cc short_name = base::UTF16ToUTF8(t_url->short_name()); base 1654 chrome/browser/search_engines/template_url_service.cc keyword = base::UTF16ToUTF8(t_url->keyword()); base 1655 chrome/browser/search_engines/template_url_service.cc id_string = base::Int64ToString(t_url->id()); base 1656 chrome/browser/search_engines/template_url_service.cc prepopulate_id = base::Int64ToString(t_url->prepopulate_id()); base 1703 chrome/browser/search_engines/template_url_service.cc base::string16 name = base 1704 chrome/browser/search_engines/template_url_service.cc base::UTF8ToUTF16(prefs->GetString(prefs::kDefaultSearchProviderName)); base 1705 chrome/browser/search_engines/template_url_service.cc base::string16 keyword = base 1706 chrome/browser/search_engines/template_url_service.cc base::UTF8ToUTF16(prefs->GetString(prefs::kDefaultSearchProviderKeyword)); base 1713 chrome/browser/search_engines/template_url_service.cc keyword = base::ASCIIToUTF16("dummy"); base 1744 chrome/browser/search_engines/template_url_service.cc const base::ListValue* alternate_urls = base 1770 chrome/browser/search_engines/template_url_service.cc base::SplitString(encodings, ';', &data.input_encodings); base 1773 chrome/browser/search_engines/template_url_service.cc base::StringToInt64(id_string, &value); base 1778 chrome/browser/search_engines/template_url_service.cc base::StringToInt(prepopulate_id, &value); base 1821 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword) { base 1846 chrome/browser/search_engines/template_url_service.cc base::string16 old_keyword(existing_turl->keyword()); base 1858 chrome/browser/search_engines/template_url_service.cc const base::string16& keyword = existing_turl->keyword(); base 1942 chrome/browser/search_engines/template_url_service.cc base::string16 search_terms; base 1973 chrome/browser/search_engines/template_url_service.cc GURL url(URLFixerUpper::FixupURL(base::UTF16ToUTF8(t_url.keyword()), base 1980 chrome/browser/search_engines/template_url_service.cc history->AddPage(url, base::Time::Now(), NULL, 0, GURL(), base 2120 chrome/browser/search_engines/template_url_service.cc base::AutoReset<DefaultSearchChangeOrigin> change_origin( base 2236 chrome/browser/search_engines/template_url_service.cc base::string16 new_keyword = base 2368 chrome/browser/search_engines/template_url_service.cc base::string16 TemplateURLService::UniquifyKeyword(const TemplateURL& turl, base 2380 chrome/browser/search_engines/template_url_service.cc base::string16 keyword_candidate = GenerateKeyword(gurl); base 2389 chrome/browser/search_engines/template_url_service.cc base::string16 keyword_candidate(turl.keyword()); base 2391 chrome/browser/search_engines/template_url_service.cc keyword_candidate.append(base::ASCIIToUTF16("_")); base 2426 chrome/browser/search_engines/template_url_service.cc base::string16 new_keyword = UniquifyKeyword(*loser, false); base 2542 chrome/browser/search_engines/template_url_service.cc base::AutoReset<DefaultSearchChangeOrigin> change_origin( base 2570 chrome/browser/search_engines/template_url_service.cc template_url->data_.sync_guid = base::GenerateGUID(); base 2650 chrome/browser/search_engines/template_url_service.cc base::AutoReset<DefaultSearchChangeOrigin> change_origin( base 2688 chrome/browser/search_engines/template_url_service.cc data.short_name = base::UTF8ToUTF16(extension_keyword.extension_name); base 2689 chrome/browser/search_engines/template_url_service.cc data.SetKeyword(base::UTF8ToUTF16(extension_keyword.extension_keyword)); base 72 chrome/browser/search_engines/template_url_service.h typedef base::Time(TimeProvider)(); base 74 chrome/browser/search_engines/template_url_service.h typedef base::CallbackList<void(void)>::Subscription Subscription; base 104 chrome/browser/search_engines/template_url_service.h static base::string16 GenerateKeyword(const GURL& url); base 108 chrome/browser/search_engines/template_url_service.h static base::string16 CleanUserInputKeyword(const base::string16& keyword); base 131 chrome/browser/search_engines/template_url_service.h bool CanReplaceKeyword(const base::string16& keyword, base 138 chrome/browser/search_engines/template_url_service.h void FindMatchingKeywords(const base::string16& prefix, base 146 chrome/browser/search_engines/template_url_service.h TemplateURL* GetTemplateURLForKeyword(const base::string16& keyword); base 165 chrome/browser/search_engines/template_url_service.h const base::string16& short_name, base 166 chrome/browser/search_engines/template_url_service.h const base::string16& keyword, base 184 chrome/browser/search_engines/template_url_service.h void RemoveAutoGeneratedSince(base::Time created_after); base 188 chrome/browser/search_engines/template_url_service.h void RemoveAutoGeneratedBetween(base::Time created_after, base 189 chrome/browser/search_engines/template_url_service.h base::Time created_before); base 195 chrome/browser/search_engines/template_url_service.h base::Time created_after, base 196 chrome/browser/search_engines/template_url_service.h base::Time created_before); base 220 chrome/browser/search_engines/template_url_service.h const base::string16& title, base 221 chrome/browser/search_engines/template_url_service.h const base::string16& keyword, base 282 chrome/browser/search_engines/template_url_service.h const base::Closure& callback); base 301 chrome/browser/search_engines/template_url_service.h base::string16 GetKeywordShortName(const base::string16& keyword, base 383 chrome/browser/search_engines/template_url_service.h const base::string16& term); base 407 chrome/browser/search_engines/template_url_service.h typedef std::map<base::string16, TemplateURL*> KeywordToTemplateMap; base 491 chrome/browser/search_engines/template_url_service.h const base::string16& keyword); base 584 chrome/browser/search_engines/template_url_service.h base::string16 UniquifyKeyword(const TemplateURL& turl, bool force); base 772 chrome/browser/search_engines/template_url_service.h base::CallbackList<void(void)> on_loaded_callbacks_; base 24 chrome/browser/search_engines/template_url_service_android.cc using base::android::ConvertJavaStringToUTF16; base 25 chrome/browser/search_engines/template_url_service_android.cc using base::android::ConvertUTF16ToJavaString; base 26 chrome/browser/search_engines/template_url_service_android.cc using base::android::ConvertUTF8ToJavaString; base 43 chrome/browser/search_engines/template_url_service_android.cc base::Bind(&TemplateUrlServiceAndroid::OnTemplateURLServiceLoaded, base 44 chrome/browser/search_engines/template_url_service_android.cc base::Unretained(this))); base 112 chrome/browser/search_engines/template_url_service_android.cc base::android::ScopedJavaLocalRef<jobject> base 134 chrome/browser/search_engines/template_url_service_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 142 chrome/browser/search_engines/template_url_service_android.cc base::android::ScopedJavaLocalRef<jstring> base 149 chrome/browser/search_engines/template_url_service_android.cc base::string16 query(ConvertJavaStringToUTF16(env, jquery)); base 161 chrome/browser/search_engines/template_url_service_android.cc base::android::ScopedJavaLocalRef<jstring> base 165 chrome/browser/search_engines/template_url_service_android.cc base::string16 query(ConvertJavaStringToUTF16(env, jquery)); base 178 chrome/browser/search_engines/template_url_service_android.cc base::android::ScopedJavaLocalRef<jstring> base 186 chrome/browser/search_engines/template_url_service_android.cc base::string16 query(ConvertJavaStringToUTF16(env, jquery)); base 195 chrome/browser/search_engines/template_url_service_android.cc return base::android::ScopedJavaLocalRef<jstring>(env, NULL); base 28 chrome/browser/search_engines/template_url_service_android.h base::android::ScopedJavaLocalRef<jobject> base 33 chrome/browser/search_engines/template_url_service_android.h base::android::ScopedJavaLocalRef<jstring> GetUrlForSearchQuery( base 37 chrome/browser/search_engines/template_url_service_android.h base::android::ScopedJavaLocalRef<jstring> GetUrlForVoiceSearchQuery( base 41 chrome/browser/search_engines/template_url_service_android.h base::android::ScopedJavaLocalRef<jstring> ReplaceSearchTermsInUrl( base 32 chrome/browser/search_engines/template_url_service_sync_unittest.cc using base::ASCIIToUTF16; base 33 chrome/browser/search_engines/template_url_service_sync_unittest.cc using base::UTF8ToUTF16; base 34 chrome/browser/search_engines/template_url_service_sync_unittest.cc using base::Time; base 64 chrome/browser/search_engines/template_url_service_sync_unittest.cc se_specifics->set_short_name(base::UTF16ToUTF8(turl.short_name())); base 66 chrome/browser/search_engines/template_url_service_sync_unittest.cc autogenerate_keyword ? std::string() : base::UTF16ToUTF8(turl.keyword())); base 175 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* CreateTestTemplateURL(const base::string16& keyword, base 261 chrome/browser/search_engines/template_url_service_sync_unittest.cc const base::string16& keyword, base 440 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 new_keyword = model()->UniquifyKeyword(*turl, false); base 515 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 original_turl_keyword = ASCIIToUTF16("key1"); base 1121 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 google_keyword(net::StripWWWFromHost(google_url)); base 1139 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 google_keyword(net::StripWWWFromHost(GURL( base 1212 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 google_keyword(net::StripWWWFromHost(GURL( base 1227 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::UTF8ToUTF16(GetKeyword(key1_change.sync_data()))); base 1232 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::UTF8ToUTF16(GetKeyword(key2_change.sync_data()))); base 1749 chrome/browser/search_engines/template_url_service_sync_unittest.cc const base::string16 keyword(ASCIIToUTF16("key1")); base 1864 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 original_keyword = data_copy.keyword(); base 1871 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::Time pre_merge_time = base::Time::Now(); base 1872 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 1879 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::Time new_timestamp = added_turl->last_modified(); base 1907 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(new_timestamp, base::Time::FromInternalValue( base 2017 chrome/browser/search_engines/template_url_service_sync_unittest.cc const base::string16 local_keyword = ASCIIToUTF16("localkeyword"); base 2018 chrome/browser/search_engines/template_url_service_sync_unittest.cc const base::string16 sync_keyword = test_cases[i].keywords_conflict ? base 2029 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 expected_local_keyword = local_keyword; base 2030 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 expected_sync_keyword = sync_keyword; base 38 chrome/browser/search_engines/template_url_service_test_util.cc base::string16 GetAndClearSearchTerm() { base 39 chrome/browser/search_engines/template_url_service_test_util.cc base::string16 search_term; base 48 chrome/browser/search_engines/template_url_service_test_util.cc const base::string16& term) OVERRIDE { base 53 chrome/browser/search_engines/template_url_service_test_util.cc base::string16 search_term_; base 91 chrome/browser/search_engines/template_url_service_test_util.cc base::RunLoop().RunUntilIdle(); base 102 chrome/browser/search_engines/template_url_service_test_util.cc base::RunLoop().RunUntilIdle(); base 119 chrome/browser/search_engines/template_url_service_test_util.cc base::string16 TemplateURLServiceTestUtilBase::GetAndClearSearchTerm() { base 149 chrome/browser/search_engines/template_url_service_test_util.cc base::Value::CreateBooleanValue(enabled)); base 151 chrome/browser/search_engines/template_url_service_test_util.cc base::Value::CreateStringValue(name)); base 153 chrome/browser/search_engines/template_url_service_test_util.cc base::Value::CreateStringValue(keyword)); base 155 chrome/browser/search_engines/template_url_service_test_util.cc base::Value::CreateStringValue(search_url)); base 157 chrome/browser/search_engines/template_url_service_test_util.cc base::Value::CreateStringValue(suggest_url)); base 159 chrome/browser/search_engines/template_url_service_test_util.cc base::Value::CreateStringValue(icon_url)); base 161 chrome/browser/search_engines/template_url_service_test_util.cc base::Value::CreateStringValue(encodings)); base 162 chrome/browser/search_engines/template_url_service_test_util.cc scoped_ptr<base::ListValue> alternate_url_list(new base::ListValue()); base 164 chrome/browser/search_engines/template_url_service_test_util.cc alternate_url_list->Append(base::Value::CreateStringValue(alternate_url)); base 169 chrome/browser/search_engines/template_url_service_test_util.cc base::Value::CreateStringValue(search_terms_replacement_key)); base 226 chrome/browser/search_engines/template_url_service_test_util.cc base::RunLoop().RunUntilIdle(); base 61 chrome/browser/search_engines/template_url_service_test_util.h base::string16 GetAndClearSearchTerm(); base 119 chrome/browser/search_engines/template_url_service_test_util.h base::ScopedTempDir temp_dir_; base 37 chrome/browser/search_engines/template_url_service_unittest.cc using base::ASCIIToUTF16; base 38 chrome/browser/search_engines/template_url_service_unittest.cc using base::Time; base 39 chrome/browser/search_engines/template_url_service_unittest.cc using base::TimeDelta; base 104 chrome/browser/search_engines/template_url_service_unittest.cc data.short_name = base::UTF8ToUTF16(short_name); base 105 chrome/browser/search_engines/template_url_service_unittest.cc data.SetKeyword(base::UTF8ToUTF16(keyword)); base 112 chrome/browser/search_engines/template_url_service_unittest.cc base::SplitString(encodings, ';', &data.input_encodings); base 194 chrome/browser/search_engines/template_url_service_unittest.cc base::string16* prepopulated_display_url); base 310 chrome/browser/search_engines/template_url_service_unittest.cc base::string16* prepopulated_display_url) { base 327 chrome/browser/search_engines/template_url_service_unittest.cc base::string16 prepopulated_url; base 331 chrome/browser/search_engines/template_url_service_unittest.cc base::string16 original_url = t_url->url_ref().DisplayURL(); base 343 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 354 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 400 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 422 chrome/browser/search_engines/template_url_service_unittest.cc StrictMock<base::MockTimeProvider> mock_time; base 423 chrome/browser/search_engines/template_url_service_unittest.cc model()->set_time_provider(&base::MockTimeProvider::StaticNow); base 424 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_CALL(mock_time, Now()).WillOnce(Return(base::Time::FromDoubleT(1337))); base 437 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 445 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(base::Time::FromDoubleT(1337), loaded_url->last_modified()); base 753 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 755 chrome/browser/search_engines/template_url_service_unittest.cc StrictMock<base::MockTimeProvider> mock_time; base 756 chrome/browser/search_engines/template_url_service_unittest.cc model()->set_time_provider(&base::MockTimeProvider::StaticNow); base 757 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_CALL(mock_time, Now()).WillOnce(Return(base::Time::FromDoubleT(1337))); base 760 chrome/browser/search_engines/template_url_service_unittest.cc const base::string16 new_short_name(ASCIIToUTF16("a")); base 761 chrome/browser/search_engines/template_url_service_unittest.cc const base::string16 new_keyword(ASCIIToUTF16("b")); base 782 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(base::Time::FromDoubleT(1337), read_url->last_modified()); base 801 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 880 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 977 chrome/browser/search_engines/template_url_service_unittest.cc base::SplitString(kEncodings, ';', &data.input_encodings); base 998 chrome/browser/search_engines/template_url_service_unittest.cc const base::string16 term; base 1000 chrome/browser/search_engines/template_url_service_unittest.cc { "http://foo/", base::string16() }, base 1001 chrome/browser/search_engines/template_url_service_unittest.cc { "http://foo/foo?q=xx", base::string16() }, base 1002 chrome/browser/search_engines/template_url_service_unittest.cc { "http://x/bar?q=xx", base::string16() }, base 1003 chrome/browser/search_engines/template_url_service_unittest.cc { "http://x/foo?y=xx", base::string16() }, base 1006 chrome/browser/search_engines/template_url_service_unittest.cc { "http://x/foo?q=b&q=xx", base::string16() }, base 1010 chrome/browser/search_engines/template_url_service_unittest.cc { "http://x/foo?query=b#q=xx", base::string16() }, base 1045 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(base::string16(), test_util_.GetAndClearSearchTerm()); base 1116 chrome/browser/search_engines/template_url_service_unittest.cc base::Time::Now(), base::Time::Now()); base 1125 chrome/browser/search_engines/template_url_service_unittest.cc base::Time::Now(), NULL, 0, GURL(), history::RedirectList(), base 1135 chrome/browser/search_engines/template_url_service_unittest.cc base::Bind(&QueryHistoryCallbackImpl::Callback, base 1136 chrome/browser/search_engines/template_url_service_unittest.cc base::Unretained(&callback))); base 1159 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1167 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1190 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1200 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1220 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1284 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1298 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1334 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1348 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1370 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1417 chrome/browser/search_engines/template_url_service_unittest.cc base::SplitString(kEncodings, ';', &data.input_encodings); base 1526 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1563 chrome/browser/search_engines/template_url_service_unittest.cc base::RunLoop().RunUntilIdle(); base 1662 chrome/browser/search_engines/template_url_service_unittest.cc base::SplitString(kEncodings, ';', &data.input_encodings); base 23 chrome/browser/search_engines/template_url_service_util_unittest.cc data.SetKeyword(base::ASCIIToUTF16(keyword)); base 78 chrome/browser/search_engines/template_url_service_util_unittest.cc StartsWith((*itr)->keyword(), base::ASCIIToUTF16("winner"), true)); base 26 chrome/browser/search_engines/template_url_unittest.cc using base::ASCIIToUTF16; base 86 chrome/browser/search_engines/template_url_unittest.cc const base::string16 terms; base 240 chrome/browser/search_engines/template_url_unittest.cc base::IntToString(search_args.image_original_size.width()), base 323 chrome/browser/search_engines/template_url_unittest.cc const base::string16 terms; base 326 chrome/browser/search_engines/template_url_unittest.cc { "{google:baseURL}{language}{searchTerms}", base::string16(), base 328 chrome/browser/search_engines/template_url_unittest.cc { "{google:baseSuggestURL}{searchTerms}", base::string16(), base 350 chrome/browser/search_engines/template_url_unittest.cc const base::string16 expected_decoded_term; base 354 chrome/browser/search_engines/template_url_unittest.cc {"%a7A%A6%6e+to+you", base::WideToUTF16(L"\x4f60\x597d to you")}, base 359 chrome/browser/search_engines/template_url_unittest.cc base::WideToUTF16(L"\x4f60\x35\x597d to you")}, base 361 chrome/browser/search_engines/template_url_unittest.cc {"%91%01+abcd", base::WideToUTF16(L"%91%01 abcd")}, base 385 chrome/browser/search_engines/template_url_unittest.cc const base::string16 expected_result; base 459 chrome/browser/search_engines/template_url_unittest.cc const base::string16 search_term; base 463 chrome/browser/search_engines/template_url_unittest.cc { "BIG5", base::WideToUTF16(L"\x60BD"), base 469 chrome/browser/search_engines/template_url_unittest.cc { "Shift_JIS", base::UTF8ToUTF16("\xe3\x81\x82"), base 472 chrome/browser/search_engines/template_url_unittest.cc { "Shift_JIS", base::UTF8ToUTF16("\xe3\x81\x82 \xe3\x81\x84"), base 494 chrome/browser/search_engines/template_url_unittest.cc const base::string16 search_term; base 550 chrome/browser/search_engines/template_url_unittest.cc const base::string16 search_term; base 556 chrome/browser/search_engines/template_url_unittest.cc base::string16::npos, base 586 chrome/browser/search_engines/template_url_unittest.cc const base::string16 search_term; base 622 chrome/browser/search_engines/template_url_unittest.cc const base::string16 original_query_for_suggestion; base 625 chrome/browser/search_engines/template_url_unittest.cc { TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, base::string16(), base 629 chrome/browser/search_engines/template_url_unittest.cc { TemplateURLRef::NO_SUGGESTION_CHOSEN, base::string16(), base 633 chrome/browser/search_engines/template_url_unittest.cc { 0, base::string16(), "http://bar/foo?oq=&q=foobar" }, base 656 chrome/browser/search_engines/template_url_unittest.cc base::string16 rlz_string; base 679 chrome/browser/search_engines/template_url_unittest.cc expected_url += "rlz=" + base::UTF16ToUTF8(rlz_string) + "&"; base 841 chrome/browser/search_engines/template_url_unittest.cc const base::string16 terms(ASCIIToUTF16(terms_str)); base 906 chrome/browser/search_engines/template_url_unittest.cc base::string16 result; base 942 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(base::string16(), result); base 946 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(base::string16(), result); base 950 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(base::string16(), result); base 958 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(base::string16(), result); base 978 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(base::string16(), result); base 982 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(base::string16(), result); base 986 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(base::string16(), result); base 990 chrome/browser/search_engines/template_url_unittest.cc EXPECT_EQ(base::string16(), result); base 25 chrome/browser/search_engines/util.cc base::string16 GetDefaultSearchEngineName(Profile* profile) { base 28 chrome/browser/search_engines/util.cc return base::string16(); base 37 chrome/browser/search_engines/util.cc return base::string16(); base 43 chrome/browser/search_engines/util.cc const base::string16& terms) { base 285 chrome/browser/search_engines/util.cc data.last_modified = base::Time::Now(); base 24 chrome/browser/search_engines/util.h base::string16 GetDefaultSearchEngineName(Profile* profile); base 29 chrome/browser/search_engines/util.h const base::string16& terms); base 96 chrome/browser/service_process/service_process_control.cc void ServiceProcessControl::Launch(const base::Closure& success_task, base 97 chrome/browser/service_process/service_process_control.cc const base::Closure& failure_task) { base 100 chrome/browser/service_process/service_process_control.cc base::Closure failure = failure_task; base 129 chrome/browser/service_process/service_process_control.cc base::FilePath exe_path = ChildProcessHost::GetChildPath(flags); base 160 chrome/browser/service_process/service_process_control.cc launcher_->Run(base::Bind(&ServiceProcessControl::OnProcessLaunched, base 161 chrome/browser/service_process/service_process_control.cc base::Unretained(this))); base 262 chrome/browser/service_process/service_process_control.cc base::HistogramDeltaSerialization::DeserializeAndAddSamples( base 302 chrome/browser/service_process/service_process_control.cc const base::Closure& histograms_callback, base 303 chrome/browser/service_process/service_process_control.cc const base::TimeDelta& timeout) { base 322 chrome/browser/service_process/service_process_control.cc base::Bind(&ServiceProcessControl::RunHistogramsCallback, base 323 chrome/browser/service_process/service_process_control.cc base::Unretained(this))); base 363 chrome/browser/service_process/service_process_control.cc process_handle_(base::kNullProcessHandle) { base 369 chrome/browser/service_process/service_process_control.cc void ServiceProcessControl::Launcher::Run(const base::Closure& task) { base 373 chrome/browser/service_process/service_process_control.cc base::Bind(&Launcher::DoRun, this)); base 388 chrome/browser/service_process/service_process_control.cc if (process_handle_ != base::kNullProcessHandle) { base 389 chrome/browser/service_process/service_process_control.cc base::CloseProcessHandle(process_handle_); base 390 chrome/browser/service_process/service_process_control.cc process_handle_ = base::kNullProcessHandle; base 403 chrome/browser/service_process/service_process_control.cc base::WaitForExitCodeWithTimeout(process_handle_, &exit_code, base 404 chrome/browser/service_process/service_process_control.cc base::TimeDelta())) { base 407 chrome/browser/service_process/service_process_control.cc BrowserThread::UI, FROM_HERE, base::Bind(&Launcher::Notify, this)); base 413 chrome/browser/service_process/service_process_control.cc const base::TimeDelta kDetectLaunchRetry = base::TimeDelta::FromSeconds(2); base 414 chrome/browser/service_process/service_process_control.cc base::MessageLoop::current()->PostDelayedTask( base 415 chrome/browser/service_process/service_process_control.cc FROM_HERE, base::Bind(&Launcher::DoDetectLaunched, this), base 422 chrome/browser/service_process/service_process_control.cc base::LaunchOptions options; base 426 chrome/browser/service_process/service_process_control.cc if (base::LaunchProcess(*cmd_line_, options, &process_handle_)) { base 429 chrome/browser/service_process/service_process_control.cc base::Bind(&Launcher::DoDetectLaunched, this)); base 432 chrome/browser/service_process/service_process_control.cc BrowserThread::UI, FROM_HERE, base::Bind(&Launcher::Notify, this)); base 26 chrome/browser/service_process/service_process_control.h namespace base { base 70 chrome/browser/service_process/service_process_control.h typedef base::Callback<void(const cloud_print::CloudPrintProxyInfo&)> base 72 chrome/browser/service_process/service_process_control.h typedef base::Callback<void(const std::vector<std::string>&)> base 93 chrome/browser/service_process/service_process_control.h virtual void Launch(const base::Closure& success_task, base 94 chrome/browser/service_process/service_process_control.h const base::Closure& failure_task); base 132 chrome/browser/service_process/service_process_control.h bool GetHistograms(const base::Closure& cloud_print_status_callback, base 133 chrome/browser/service_process/service_process_control.h const base::TimeDelta& timeout); base 146 chrome/browser/service_process/service_process_control.h : public base::RefCountedThreadSafe<ServiceProcessControl::Launcher> { base 148 chrome/browser/service_process/service_process_control.h Launcher(ServiceProcessControl* process, base::CommandLine* cmd_line); base 152 chrome/browser/service_process/service_process_control.h void Run(const base::Closure& task); base 157 chrome/browser/service_process/service_process_control.h friend class base::RefCountedThreadSafe<ServiceProcessControl::Launcher>; base 168 chrome/browser/service_process/service_process_control.h scoped_ptr<base::CommandLine> cmd_line_; base 169 chrome/browser/service_process/service_process_control.h base::Closure notify_task_; base 172 chrome/browser/service_process/service_process_control.h base::ProcessHandle process_handle_; base 183 chrome/browser/service_process/service_process_control.h typedef std::vector<base::Closure> TaskList; base 229 chrome/browser/service_process/service_process_control.h base::Closure histograms_callback_; base 234 chrome/browser/service_process/service_process_control.h base::CancelableClosure histograms_timeout_callback_; base 29 chrome/browser/service_process/service_process_control_browsertest.cc : service_process_handle_(base::kNullProcessHandle) { base 32 chrome/browser/service_process/service_process_control_browsertest.cc base::CloseProcessHandle(service_process_handle_); base 33 chrome/browser/service_process/service_process_control_browsertest.cc service_process_handle_ = base::kNullProcessHandle; base 47 chrome/browser/service_process/service_process_control_browsertest.cc base::Bind(&ServiceProcessControlBrowserTest::ProcessControlLaunched, base 49 chrome/browser/service_process/service_process_control_browsertest.cc base::Bind( base 58 chrome/browser/service_process/service_process_control_browsertest.cc base::MessageLoop::current()->Quit(); base 72 chrome/browser/service_process/service_process_control_browsertest.cc service_process_handle_ = base::kNullProcessHandle; base 82 chrome/browser/service_process/service_process_control_browsertest.cc if (service_process_handle_ != base::kNullProcessHandle) { base 83 chrome/browser/service_process/service_process_control_browsertest.cc EXPECT_TRUE(base::WaitForSingleProcess( base 86 chrome/browser/service_process/service_process_control_browsertest.cc service_process_handle_ = base::kNullProcessHandle; base 91 chrome/browser/service_process/service_process_control_browsertest.cc base::ProcessId service_pid; base 93 chrome/browser/service_process/service_process_control_browsertest.cc EXPECT_NE(static_cast<base::ProcessId>(0), service_pid); base 94 chrome/browser/service_process/service_process_control_browsertest.cc EXPECT_TRUE(base::OpenProcessHandleWithAccess( base 96 chrome/browser/service_process/service_process_control_browsertest.cc base::kProcessAccessWaitForTermination | base 98 chrome/browser/service_process/service_process_control_browsertest.cc base::kProcessAccessQueryInformation, base 103 chrome/browser/service_process/service_process_control_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 104 chrome/browser/service_process/service_process_control_browsertest.cc base::MessageLoop::QuitClosure()); base 110 chrome/browser/service_process/service_process_control_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 111 chrome/browser/service_process/service_process_control_browsertest.cc base::MessageLoop::QuitClosure()); base 115 chrome/browser/service_process/service_process_control_browsertest.cc base::ProcessHandle service_process_handle_; base 123 chrome/browser/service_process/service_process_control_browsertest.cc base::FilePath exe; base 124 chrome/browser/service_process/service_process_control_browsertest.cc PathService::Get(base::DIR_EXE, &exe); base 130 chrome/browser/service_process/service_process_control_browsertest.cc EXPECT_TRUE(base::PathExists(exe)); base 143 chrome/browser/service_process/service_process_control_browsertest.cc base::Bind(&ServiceProcessControlBrowserTest::CloudPrintInfoCallback)); base 156 chrome/browser/service_process/service_process_control_browsertest.cc base::Bind(&ServiceProcessControlBrowserTest::CloudPrintInfoCallback)); base 172 chrome/browser/service_process/service_process_control_browsertest.cc base::Bind(&ServiceProcessControlBrowserTest::CloudPrintInfoCallback))); base 179 chrome/browser/service_process/service_process_control_browsertest.cc base::Bind(&ServiceProcessControlBrowserTest::CloudPrintInfoCallback))); base 186 chrome/browser/service_process/service_process_control_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 187 chrome/browser/service_process/service_process_control_browsertest.cc base::MessageLoop::QuitClosure()); base 198 chrome/browser/service_process/service_process_control_browsertest.cc process->Launch(base::Bind(&DecrementUntilZero, &launch_count), base 199 chrome/browser/service_process/service_process_control_browsertest.cc base::MessageLoop::QuitClosure()); base 212 chrome/browser/service_process/service_process_control_browsertest.cc base::Closure task = base::Bind(&DecrementUntilZero, &launch_count); base 235 chrome/browser/service_process/service_process_control_browsertest.cc base::ProcessId service_pid; base 237 chrome/browser/service_process/service_process_control_browsertest.cc EXPECT_NE(static_cast<base::ProcessId>(0), service_pid); base 243 chrome/browser/service_process/service_process_control_browsertest.cc base::ProcessId service_pid; base 248 chrome/browser/service_process/service_process_control_browsertest.cc EXPECT_NE(static_cast<base::ProcessId>(0), service_pid); base 257 chrome/browser/service_process/service_process_control_browsertest.cc base::Bind(&ServiceProcessControlBrowserTest::HistogramsCallback, base 258 chrome/browser/service_process/service_process_control_browsertest.cc base::Unretained(this)), base 259 chrome/browser/service_process/service_process_control_browsertest.cc base::TimeDelta())); base 268 chrome/browser/service_process/service_process_control_browsertest.cc base::Bind(&ServiceProcessControlBrowserTest::HistogramsCallback, base 269 chrome/browser/service_process/service_process_control_browsertest.cc base::Unretained(this)), base 270 chrome/browser/service_process/service_process_control_browsertest.cc base::TimeDelta::FromMilliseconds(100))); base 283 chrome/browser/service_process/service_process_control_browsertest.cc base::Bind(&ServiceProcessControlBrowserTest::HistogramsCallback, base 284 chrome/browser/service_process/service_process_control_browsertest.cc base::Unretained(this)), base 285 chrome/browser/service_process/service_process_control_browsertest.cc base::TimeDelta::FromHours(1))); base 30 chrome/browser/services/gcm/fake_gcm_profile_service.cc base::MessageLoop::current()->PostTask( base 32 chrome/browser/services/gcm/fake_gcm_profile_service.cc base::Bind(&FakeGCMProfileService::RegisterFinished, base 33 chrome/browser/services/gcm/fake_gcm_profile_service.cc base::Unretained(this), base 48 chrome/browser/services/gcm/fake_gcm_profile_service.cc callback.Run(base::UintToString(sender_ids.size()), GCMClient::SUCCESS); base 53 chrome/browser/services/gcm/fake_gcm_profile_service.cc base::MessageLoop::current()->PostTask( base 54 chrome/browser/services/gcm/fake_gcm_profile_service.cc FROM_HERE, base::Bind(callback, GetNextExpectedUnregisterResponse())); base 61 chrome/browser/services/gcm/fake_gcm_profile_service.cc base::MessageLoop::current()->PostTask( base 63 chrome/browser/services/gcm/fake_gcm_profile_service.cc base::Bind(&FakeGCMProfileService::SendFinished, base 64 chrome/browser/services/gcm/fake_gcm_profile_service.cc base::Unretained(this), base 28 chrome/browser/services/gcm/gcm_client_mock.cc const base::FilePath& store_path, base 30 chrome/browser/services/gcm/gcm_client_mock.cc const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, base 48 chrome/browser/services/gcm/gcm_client_mock.cc base::MessageLoop::current()->PostTask( base 50 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::CheckinFinished, base 69 chrome/browser/services/gcm/gcm_client_mock.cc base::MessageLoop::current()->PostTask( base 71 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::RegisterFinished, base 80 chrome/browser/services/gcm/gcm_client_mock.cc base::MessageLoop::current()->PostTask( base 82 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::UnregisterFinished, base 92 chrome/browser/services/gcm/gcm_client_mock.cc base::MessageLoop::current()->PostTask( base 94 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::SendFinished, base 110 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::DoLoading, weak_ptr_factory_.GetWeakPtr())); base 120 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::MessageReceived, base 132 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::MessagesDeleted, base 183 chrome/browser/services/gcm/gcm_client_mock.cc base::MessageLoop::current()->PostDelayedTask( base 185 chrome/browser/services/gcm/gcm_client_mock.cc base::Bind(&GCMClientMock::MessageSendError, base 189 chrome/browser/services/gcm/gcm_client_mock.cc base::TimeDelta::FromMilliseconds(200)); base 36 chrome/browser/services/gcm/gcm_client_mock.h const base::FilePath& store_path, base 38 chrome/browser/services/gcm/gcm_client_mock.h const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, base 85 chrome/browser/services/gcm/gcm_client_mock.h base::WeakPtrFactory<GCMClientMock> weak_ptr_factory_; base 91 chrome/browser/services/gcm/gcm_profile_service.cc void AddTask(base::Closure task); base 106 chrome/browser/services/gcm/gcm_profile_service.cc std::vector<base::Closure> delayed_tasks_; base 116 chrome/browser/services/gcm/gcm_profile_service.cc void GCMProfileService::DelayedTaskController::AddTask(base::Closure task) { base 139 chrome/browser/services/gcm/gcm_profile_service.cc public base::RefCountedThreadSafe<GCMProfileService::IOWorker>{ base 165 chrome/browser/services/gcm/gcm_profile_service.cc const base::FilePath& store_path, base 170 chrome/browser/services/gcm/gcm_profile_service.cc void Load(const base::WeakPtr<GCMProfileService>& service); base 188 chrome/browser/services/gcm/gcm_profile_service.cc base::WeakPtr<GCMProfileService> service_; base 202 chrome/browser/services/gcm/gcm_profile_service.cc const base::FilePath& store_path, base 215 chrome/browser/services/gcm/gcm_profile_service.cc scoped_refptr<base::SequencedWorkerPool> worker_pool( base 217 chrome/browser/services/gcm/gcm_profile_service.cc scoped_refptr<base::SequencedTaskRunner> blocking_task_runner( base 220 chrome/browser/services/gcm/gcm_profile_service.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); base 247 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::RegisterFinished, base 262 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind( base 275 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::SendFinished, base 290 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::MessageReceived, base 302 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::MessagesDeleted, base 315 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::MessageSendError, base 325 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::GCMClientReady, base 330 chrome/browser/services/gcm/gcm_profile_service.cc const base::WeakPtr<GCMProfileService>& service) { base 387 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::RequestGCMStatisticsFinished, base 409 chrome/browser/services/gcm/gcm_profile_service.cc const base::Value* gcm_enabled_value = base 471 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::IOWorker::Initialize, base 473 chrome/browser/services/gcm/gcm_profile_service.cc base::Passed(&gcm_client_factory), base 502 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::IOWorker::Stop, io_worker_)); base 553 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::DoRegister, base 579 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::IOWorker::Register, base 607 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::DoUnregister, base 625 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::IOWorker::Unregister, base 655 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::DoSend, base 672 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::IOWorker::Send, base 700 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::IOWorker::RequestGCMStatistics, base 753 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::IOWorker::Load, base 782 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::IOWorker::CheckOut, io_worker_)); base 789 chrome/browser/services/gcm/gcm_profile_service.cc base::Bind(&GCMProfileService::IOWorker::Reset, io_worker_)); base 26 chrome/browser/services/gcm/gcm_profile_service.h namespace base { base 49 chrome/browser/services/gcm/gcm_profile_service.h typedef base::Callback<void(const std::string& registration_id, base 51 chrome/browser/services/gcm/gcm_profile_service.h typedef base::Callback<void(const std::string& message_id, base 53 chrome/browser/services/gcm/gcm_profile_service.h typedef base::Callback<void(GCMClient::Result result)> UnregisterCallback; base 54 chrome/browser/services/gcm/gcm_profile_service.h typedef base::Callback<void(const GCMClient::GCMStatistics& stats)> base 240 chrome/browser/services/gcm/gcm_profile_service.h base::WeakPtrFactory<GCMProfileService> weak_ptr_factory_; base 25 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc run_loop_.reset(new base::RunLoop); base 35 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc base::MessageLoop::current()->RunUntilIdle(); base 42 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc base::Bind(&Waiter::OnIOLoopPump, base::Unretained(this))); base 59 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc base::Bind(&Waiter::OnIOLoopPumpCompleted, base::Unretained(this))); base 68 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc base::Bind(&Waiter::PumpIOLoopCompleted, base 69 chrome/browser/services/gcm/gcm_profile_service_test_helper.cc base::Unretained(this))); base 17 chrome/browser/services/gcm/gcm_profile_service_test_helper.h namespace base { base 49 chrome/browser/services/gcm/gcm_profile_service_test_helper.h scoped_ptr<base::RunLoop> run_loop_; base 182 chrome/browser/services/gcm/gcm_profile_service_unittest.cc base::Bind(&GCMProfileServiceTestConsumer::RegisterCompleted, base 183 chrome/browser/services/gcm/gcm_profile_service_unittest.cc base::Unretained(this))); base 200 chrome/browser/services/gcm/gcm_profile_service_unittest.cc base::Bind(&GCMProfileServiceTestConsumer::SendCompleted, base 201 chrome/browser/services/gcm/gcm_profile_service_unittest.cc base::Unretained(this))); base 213 chrome/browser/services/gcm/gcm_profile_service_unittest.cc base::Bind(&GCMProfileServiceTestConsumer::UnregisterCompleted, base 214 chrome/browser/services/gcm/gcm_profile_service_unittest.cc base::Unretained(this))); base 46 chrome/browser/sessions/base_session_service.cc const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, base 55 chrome/browser/sessions/base_session_service.cc base::TaskRunner* task_runner, base 62 chrome/browser/sessions/base_session_service.cc base::Bind(callback, base::Passed(&commands))); base 77 chrome/browser/sessions/base_session_service.cc const base::FilePath& path) base 98 chrome/browser/sessions/base_session_service.cc base::Bind(&SessionBackend::DeleteLastSession, backend())); base 111 chrome/browser/sessions/base_session_service.cc if (base::MessageLoop::current() && profile() && base 113 chrome/browser/sessions/base_session_service.cc base::MessageLoop::current()->PostDelayedTask( base 115 chrome/browser/sessions/base_session_service.cc base::Bind(&BaseSessionService::Save, weak_factory_.GetWeakPtr()), base 116 chrome/browser/sessions/base_session_service.cc base::TimeDelta::FromMilliseconds(kSaveDelayMS)); base 128 chrome/browser/sessions/base_session_service.cc base::Bind(&SessionBackend::AppendCommands, backend(), base 275 chrome/browser/sessions/base_session_service.cc base::CancelableTaskTracker::TaskId base 278 chrome/browser/sessions/base_session_service.cc base::CancelableTaskTracker* tracker) { base 279 chrome/browser/sessions/base_session_service.cc base::CancelableTaskTracker::IsCanceledCallback is_canceled; base 280 chrome/browser/sessions/base_session_service.cc base::CancelableTaskTracker::TaskId id = base 284 chrome/browser/sessions/base_session_service.cc base::Bind(&RunIfNotCanceled, is_canceled, callback); base 287 chrome/browser/sessions/base_session_service.cc base::Bind(&PostOrRunInternalGetCommandsCallback, base 288 chrome/browser/sessions/base_session_service.cc base::MessageLoopProxy::current(), run_if_not_canceled); base 292 chrome/browser/sessions/base_session_service.cc base::Bind(&SessionBackend::ReadLastSessionCommands, backend(), base 299 chrome/browser/sessions/base_session_service.cc const base::Closure& task) { base 301 chrome/browser/sessions/base_session_service.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 50 chrome/browser/sessions/base_session_service.h const base::FilePath& path); base 57 chrome/browser/sessions/base_session_service.h typedef base::Callback<void(ScopedVector<SessionCommand>)> base 154 chrome/browser/sessions/base_session_service.h base::CancelableTaskTracker::TaskId ScheduleGetLastSessionCommands( base 156 chrome/browser/sessions/base_session_service.h base::CancelableTaskTracker* tracker); base 161 chrome/browser/sessions/base_session_service.h const base::Closure& task); base 176 chrome/browser/sessions/base_session_service.h base::WeakPtrFactory<BaseSessionService> weak_factory_; base 189 chrome/browser/sessions/base_session_service.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 61 chrome/browser/sessions/better_session_restore_browsertest.cc base::LazyInstance<std::map<std::string, std::string> > g_file_contents = base 73 chrome/browser/sessions/better_session_restore_browsertest.cc base::LazyInstance<std::string> g_last_upload_bytes = LAZY_INSTANCE_INITIALIZER; base 128 chrome/browser/sessions/better_session_restore_browsertest.cc title_pass_(base::ASCIIToUTF16("PASS")), base 129 chrome/browser/sessions/better_session_restore_browsertest.cc title_storing_(base::ASCIIToUTF16("STORING")), base 130 chrome/browser/sessions/better_session_restore_browsertest.cc title_error_write_failed_(base::ASCIIToUTF16("ERROR_WRITE_FAILED")), base 131 chrome/browser/sessions/better_session_restore_browsertest.cc title_error_empty_(base::ASCIIToUTF16("ERROR_EMPTY")) { base 141 chrome/browser/sessions/better_session_restore_browsertest.cc base::FilePath test_file_dir; base 142 chrome/browser/sessions/better_session_restore_browsertest.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &test_file_dir)); base 148 chrome/browser/sessions/better_session_restore_browsertest.cc base::FilePath path = test_file_dir.AppendASCII(*it); base 150 chrome/browser/sessions/better_session_restore_browsertest.cc CHECK(base::ReadFileToString(path, &contents)); base 184 chrome/browser/sessions/better_session_restore_browsertest.cc base::string16 final_title = title_watcher.WaitAndGetTitle(); base 204 chrome/browser/sessions/better_session_restore_browsertest.cc base::string16 final_title = title_watcher.WaitAndGetTitle(); base 224 chrome/browser/sessions/better_session_restore_browsertest.cc void CheckTitle(Browser* browser, const base::string16& expected_title) { base 234 chrome/browser/sessions/better_session_restore_browsertest.cc base::string16 first_title = web_contents->GetTitle(); base 239 chrome/browser/sessions/better_session_restore_browsertest.cc base::string16 final_title = title_watcher.WaitAndGetTitle(); base 252 chrome/browser/sessions/better_session_restore_browsertest.cc base::string16 final_title = title_watcher.WaitAndGetTitle(); base 360 chrome/browser/sessions/better_session_restore_browsertest.cc const base::string16 title_pass_; base 361 chrome/browser/sessions/better_session_restore_browsertest.cc const base::string16 title_storing_; base 362 chrome/browser/sessions/better_session_restore_browsertest.cc const base::string16 title_error_write_failed_; base 363 chrome/browser/sessions/better_session_restore_browsertest.cc const base::string16 title_error_empty_; base 161 chrome/browser/sessions/persistent_tab_restore_service.cc base::Time timestamp); base 167 chrome/browser/sessions/persistent_tab_restore_service.cc base::Time timestamp); base 234 chrome/browser/sessions/persistent_tab_restore_service.cc base::CancelableTaskTracker cancelable_task_tracker_; base 241 chrome/browser/sessions/persistent_tab_restore_service.cc base::FilePath()), base 350 chrome/browser/sessions/persistent_tab_restore_service.cc base::Bind(&Delegate::OnGotPreviousSession, base::Unretained(this)), base 361 chrome/browser/sessions/persistent_tab_restore_service.cc base::Bind(&Delegate::OnGotLastSessionCommands, base::Unretained(this)), base 481 chrome/browser/sessions/persistent_tab_restore_service.cc base::Time timestamp) { base 502 chrome/browser/sessions/persistent_tab_restore_service.cc base::Time timestamp) { base 633 chrome/browser/sessions/persistent_tab_restore_service.cc base::Time::FromInternalValue(payload.timestamp); base 667 chrome/browser/sessions/persistent_tab_restore_service.cc base::Time::FromInternalValue(payload.timestamp); base 802 chrome/browser/sessions/persistent_tab_restore_service.cc tab.timestamp = base::Time(); base 811 chrome/browser/sessions/persistent_tab_restore_service.cc window->timestamp = base::Time(); base 45 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc PersistentTabRestoreTimeFactory() : time_(base::Time::Now()) {} base 49 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc virtual base::Time TimeNow() OVERRIDE { base 54 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc base::Time time_; base 162 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc base::RunLoop().RunUntilIdle(); base 547 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc base::Time tab_timestamp(base::Time::FromInternalValue(123456789)); base 647 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc base::StringPrintf("http://%d", static_cast<int>(i)), base 648 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc base::StringPrintf("%d", static_cast<int>(i))); base 739 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc GURL(base::StringPrintf("http://%d", static_cast<int>(i)))); base 755 chrome/browser/sessions/persistent_tab_restore_service_unittest.cc GURL(base::StringPrintf("http://%d", static_cast<int>(i)))); base 21 chrome/browser/sessions/restore_on_startup_policy_handler.cc base::Value::TYPE_INTEGER) {} base 29 chrome/browser/sessions/restore_on_startup_policy_handler.cc const base::Value* restore_on_startup_value = base 46 chrome/browser/sessions/restore_on_startup_policy_handler.cc const base::Value* homepage_is_new_tab_page_value = base 62 chrome/browser/sessions/restore_on_startup_policy_handler.cc const base::Value* homepage_value = base 64 chrome/browser/sessions/restore_on_startup_policy_handler.cc if (!homepage_value || !homepage_value->IsType(base::Value::TYPE_STRING)) { base 69 chrome/browser/sessions/restore_on_startup_policy_handler.cc base::ListValue* url_list = new base::ListValue(); base 83 chrome/browser/sessions/restore_on_startup_policy_handler.cc const base::Value* restore_policy = policies.GetValue(key::kRestoreOnStartup); base 96 chrome/browser/sessions/restore_on_startup_policy_handler.cc const base::Value* cookies_policy = base 98 chrome/browser/sessions/restore_on_startup_policy_handler.cc const base::ListValue* cookies_value; base 106 chrome/browser/sessions/restore_on_startup_policy_handler.cc const base::Value* exit_policy = base 124 chrome/browser/sessions/restore_on_startup_policy_handler.cc base::IntToString(restore_value)); base 28 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc void SetPolicyValue(const std::string& policy, base::Value* value) { base 50 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc SetPolicyValue(key::kRestoreOnStartup, new base::FundamentalValue(false)); base 56 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc base::ASCIIToUTF16( base 58 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc base::Value::TYPE_INTEGER))), base 76 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(impossible_value)); base 82 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc base::ASCIIToUTF16(base::IntToString(impossible_value))), base 90 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueHomePage)); base 103 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueLast)); base 104 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc scoped_ptr<base::ListValue> urls(new base::ListValue); base 113 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc base::ASCIIToUTF16(key::kRestoreOnStartup)), base 122 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueLast)); base 123 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc SetPolicyValue(key::kClearSiteDataOnExit, new base::FundamentalValue(true)); base 130 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc base::ASCIIToUTF16(key::kRestoreOnStartup)), base 139 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueLast)); base 149 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueURLs)); base 159 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueNewTab)); base 174 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc SetPolicyValue(key::kRestoreOnStartup, new base::FundamentalValue(false)); base 183 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(not_home_page)); base 196 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueHomePage)); base 207 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueHomePage)); base 210 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(314159)); base 221 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueHomePage)); base 224 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(true)); base 238 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueHomePage)); base 241 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(false)); base 252 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueHomePage)); base 255 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(false)); base 258 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(false)); base 268 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::FundamentalValue(SessionStartupPref::kPrefValueHomePage)); base 269 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc SetPolicyValue(key::kHomepageIsNewTabPage, new base::FundamentalValue(false)); base 271 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc new base::StringValue("http://foo.com")); base 281 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc base::Value* url_result; base 283 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc base::ListValue* url_list_result; base 15 chrome/browser/sessions/session_backend.cc using base::TimeTicks; base 43 chrome/browser/sessions/session_backend.cc explicit SessionFileReader(const base::FilePath& path) base 48 chrome/browser/sessions/session_backend.cc file_.reset(new base::File( base 49 chrome/browser/sessions/session_backend.cc path, base::File::FLAG_OPEN | base::File::FLAG_READ)); base 77 chrome/browser/sessions/session_backend.cc scoped_ptr<base::File> file_; base 202 chrome/browser/sessions/session_backend.cc const base::FilePath& path_to_dir) base 218 chrome/browser/sessions/session_backend.cc base::CreateDirectory(path_to_dir_); base 244 chrome/browser/sessions/session_backend.cc const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, base 265 chrome/browser/sessions/session_backend.cc base::DeleteFile(GetLastSessionPath(), false); base 272 chrome/browser/sessions/session_backend.cc const base::FilePath current_session_path = GetCurrentSessionPath(); base 273 chrome/browser/sessions/session_backend.cc const base::FilePath last_session_path = GetLastSessionPath(); base 274 chrome/browser/sessions/session_backend.cc if (base::PathExists(last_session_path)) base 275 chrome/browser/sessions/session_backend.cc base::DeleteFile(last_session_path, false); base 276 chrome/browser/sessions/session_backend.cc if (base::PathExists(current_session_path)) { base 278 chrome/browser/sessions/session_backend.cc if (base::GetFileSize(current_session_path, &file_size)) { base 287 chrome/browser/sessions/session_backend.cc last_session_valid_ = base::Move(current_session_path, last_session_path); base 290 chrome/browser/sessions/session_backend.cc if (base::PathExists(current_session_path)) base 291 chrome/browser/sessions/session_backend.cc base::DeleteFile(current_session_path, false); base 304 chrome/browser/sessions/session_backend.cc bool SessionBackend::AppendCommandsToFile(base::File* file, base 349 chrome/browser/sessions/session_backend.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 363 chrome/browser/sessions/session_backend.cc base::File::FROM_BEGIN, header_size) != header_size || base 372 chrome/browser/sessions/session_backend.cc base::File* SessionBackend::OpenAndWriteHeader(const base::FilePath& path) { base 374 chrome/browser/sessions/session_backend.cc scoped_ptr<base::File> file(new base::File( base 376 chrome/browser/sessions/session_backend.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE | base 377 chrome/browser/sessions/session_backend.cc base::File::FLAG_EXCLUSIVE_WRITE | base::File::FLAG_EXCLUSIVE_READ)); base 390 chrome/browser/sessions/session_backend.cc base::FilePath SessionBackend::GetLastSessionPath() { base 391 chrome/browser/sessions/session_backend.cc base::FilePath path = path_to_dir_; base 399 chrome/browser/sessions/session_backend.cc base::FilePath SessionBackend::GetCurrentSessionPath() { base 400 chrome/browser/sessions/session_backend.cc base::FilePath path = path_to_dir_; base 16 chrome/browser/sessions/session_backend.h namespace base { base 33 chrome/browser/sessions/session_backend.h class SessionBackend : public base::RefCountedThreadSafe<SessionBackend> { base 50 chrome/browser/sessions/session_backend.h const base::FilePath& path_to_dir); base 70 chrome/browser/sessions/session_backend.h const base::CancelableTaskTracker::IsCanceledCallback& is_canceled, base 94 chrome/browser/sessions/session_backend.h friend class base::RefCountedThreadSafe<SessionBackend>; base 108 chrome/browser/sessions/session_backend.h base::File* OpenAndWriteHeader(const base::FilePath& path); base 111 chrome/browser/sessions/session_backend.h bool AppendCommandsToFile(base::File* file, base 117 chrome/browser/sessions/session_backend.h base::FilePath GetLastSessionPath(); base 120 chrome/browser/sessions/session_backend.h base::FilePath GetCurrentSessionPath(); base 123 chrome/browser/sessions/session_backend.h const base::FilePath path_to_dir_; base 129 chrome/browser/sessions/session_backend.h scoped_ptr<base::File> current_session_file_; base 38 chrome/browser/sessions/session_backend_unittest.cc base::CreateDirectory(path_); base 49 chrome/browser/sessions/session_backend_unittest.cc base::FilePath path_; base 50 chrome/browser/sessions/session_backend_unittest.cc base::ScopedTempDir temp_dir_; base 29 chrome/browser/sessions/session_data_deleter.cc : public base::RefCountedThreadSafe<SessionDataDeleter> { base 60 chrome/browser/sessions/session_data_deleter.cc base::WeakPtr<ChromeURLRequestContext> request_context_; base 76 chrome/browser/sessions/session_data_deleter.cc base::Bind(&SessionDataDeleter::ClearSessionOnlyLocalStorage, base 82 chrome/browser/sessions/session_data_deleter.cc base::Bind(&SessionDataDeleter::DeleteSessionCookiesOnIOThread, base 111 chrome/browser/sessions/session_data_deleter.cc base::Bind(&SessionDataDeleter::DeleteSessionOnlyOriginCookies, this)); base 114 chrome/browser/sessions/session_data_deleter.cc base::Bind(&SessionDataDeleter::DeleteSessionCookiesDone, this)); base 124 chrome/browser/sessions/session_data_deleter.cc base::Bind(&SessionDataDeleter::DeleteSessionOnlyOriginCookies, this)); base 142 chrome/browser/sessions/session_data_deleter.cc base::Bind(CookieDeleted)); base 95 chrome/browser/sessions/session_restore.cc public base::RefCounted<TabLoader> { base 100 chrome/browser/sessions/session_restore.cc static TabLoader* GetTabLoader(base::TimeTicks restore_started); base 121 chrome/browser/sessions/session_restore.cc explicit TabLoader(base::TimeTicks restore_started); base 185 chrome/browser/sessions/session_restore.cc base::OneShotTimer<TabLoader> force_load_timer_; base 188 chrome/browser/sessions/session_restore.cc base::TimeTicks restore_started_; base 201 chrome/browser/sessions/session_restore.cc TabLoader* TabLoader::GetTabLoader(base::TimeTicks restore_started) { base 251 chrome/browser/sessions/session_restore.cc TabLoader::TabLoader(base::TimeTicks restore_started) base 298 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromMilliseconds(force_load_delay_), base 353 chrome/browser/sessions/session_restore.cc base::TimeDelta time_to_paint = base 354 chrome/browser/sessions/session_restore.cc base::TimeTicks::Now() - restore_started_; base 358 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromMilliseconds(10), base 359 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromSeconds(100), base 364 chrome/browser/sessions/session_restore.cc base::StringPrintf("SessionRestore.FirstTabPainted_%d", base 366 chrome/browser/sessions/session_restore.cc base::HistogramBase* counter_for_count = base 367 chrome/browser/sessions/session_restore.cc base::Histogram::FactoryTimeGet( base 369 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromMilliseconds(10), base 370 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromSeconds(100), base 372 chrome/browser/sessions/session_restore.cc base::Histogram::kUmaTargetedHistogramFlag); base 458 chrome/browser/sessions/session_restore.cc base::TimeDelta time_to_load = base 459 chrome/browser/sessions/session_restore.cc base::TimeTicks::Now() - restore_started_; base 465 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromMilliseconds(10), base 466 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromSeconds(100), base 470 chrome/browser/sessions/session_restore.cc base::StringPrintf("SessionRestore.AllTabsLoaded_%d", tab_count_); base 471 chrome/browser/sessions/session_restore.cc base::HistogramBase* counter_for_count = base 472 chrome/browser/sessions/session_restore.cc base::Histogram::FactoryTimeGet( base 474 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromMilliseconds(10), base 475 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromSeconds(100), base 477 chrome/browser/sessions/session_restore.cc base::Histogram::kUmaTargetedHistogramFlag); base 507 chrome/browser/sessions/session_restore.cc restore_started_(base::TimeTicks::Now()), base 541 chrome/browser/sessions/session_restore.cc base::Bind(&SessionRestoreImpl::OnGotSession, base::Unretained(this)), base 546 chrome/browser/sessions/session_restore.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 547 chrome/browser/sessions/session_restore.cc base::MessageLoop::current()); base 548 chrome/browser/sessions/session_restore.cc base::MessageLoop::current()->Run(); base 731 chrome/browser/sessions/session_restore.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 749 chrome/browser/sessions/session_restore.cc base::TimeDelta time_to_got_sessions = base 750 chrome/browser/sessions/session_restore.cc base::TimeTicks::Now() - restore_started_; base 754 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromMilliseconds(10), base 755 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromSeconds(1000), base 765 chrome/browser/sessions/session_restore.cc base::MessageLoop::current()->QuitNow(); base 775 chrome/browser/sessions/session_restore.cc base::TimeDelta time_to_process_sessions = base 776 chrome/browser/sessions/session_restore.cc base::TimeTicks::Now() - restore_started_; base 780 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromMilliseconds(10), base 781 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromSeconds(1000), base 1052 chrome/browser/sessions/session_restore.cc const std::vector<base::FilePath>& file_paths = base 1054 chrome/browser/sessions/session_restore.cc for (std::vector<base::FilePath>::const_iterator file = file_paths.begin(); base 1095 chrome/browser/sessions/session_restore.cc base::TimeDelta time_to_first_show = base 1096 chrome/browser/sessions/session_restore.cc base::TimeTicks::Now() - restore_started_; base 1100 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromMilliseconds(10), base 1101 chrome/browser/sessions/session_restore.cc base::TimeDelta::FromSeconds(1000), base 1159 chrome/browser/sessions/session_restore.cc base::CancelableTaskTracker cancelable_task_tracker_; base 1174 chrome/browser/sessions/session_restore.cc base::TimeTicks restore_started_; base 98 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath().AppendASCII("session_history"), base 99 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath().AppendASCII("bot1.html")); base 101 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath().AppendASCII("session_history"), base 102 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath().AppendASCII("bot2.html")); base 104 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath().AppendASCII("session_history"), base 105 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath().AppendASCII("bot3.html")); base 235 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 236 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 305 chrome/browser/sessions/session_restore_browsertest.cc const base::FilePath::CharType* kTitle1File = base 307 chrome/browser/sessions/session_restore_browsertest.cc GURL url(ui_test_utils::GetTestUrl(base::FilePath( base 308 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath::kCurrentDirectory), base::FilePath(kTitle1File))); base 343 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 344 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 348 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 349 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title3.html")))); base 387 chrome/browser/sessions/session_restore_browsertest.cc base::Time timestamp; base 427 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 428 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 468 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 469 chrome/browser/sessions/session_restore_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 529 chrome/browser/sessions/session_restore_browsertest.cc tab.SetFromSyncData(sync_data, base::Time::Now()); base 616 chrome/browser/sessions/session_restore_browsertest.cc tab1.SetFromSyncData(sync_data, base::Time::Now()); base 627 chrome/browser/sessions/session_restore_browsertest.cc tab2.SetFromSyncData(sync_data, base::Time::Now()); base 926 chrome/browser/sessions/session_restore_browsertest.cc base::LaunchProcess(app_launch_arguments, base::LaunchOptions(), NULL); base 53 chrome/browser/sessions/session_service.cc using base::Time; base 188 chrome/browser/sessions/session_service.cc : BaseSessionService(SESSION_RESTORE, profile, base::FilePath()), base 191 chrome/browser/sessions/session_service.cc save_delay_in_millis_(base::TimeDelta::FromMilliseconds(2500)), base 192 chrome/browser/sessions/session_service.cc save_delay_in_mins_(base::TimeDelta::FromMinutes(10)), base 193 chrome/browser/sessions/session_service.cc save_delay_in_hrs_(base::TimeDelta::FromHours(8)), base 198 chrome/browser/sessions/session_service.cc SessionService::SessionService(const base::FilePath& save_path) base 202 chrome/browser/sessions/session_service.cc save_delay_in_millis_(base::TimeDelta::FromMilliseconds(2500)), base 203 chrome/browser/sessions/session_service.cc save_delay_in_mins_(base::TimeDelta::FromMinutes(10)), base 204 chrome/browser/sessions/session_service.cc save_delay_in_hrs_(base::TimeDelta::FromHours(8)), base 232 chrome/browser/sessions/session_service.cc FROM_HERE, base::Bind(&SessionBackend::MoveCurrentSessionToLastSession, base 524 chrome/browser/sessions/session_service.cc base::CancelableTaskTracker::TaskId SessionService::GetLastSession( base 526 chrome/browser/sessions/session_service.cc base::CancelableTaskTracker* tracker) { base 530 chrome/browser/sessions/session_service.cc base::Bind(&SessionService::OnGotSessionCommands, base 531 chrome/browser/sessions/session_service.cc base::Unretained(this), callback), base 1484 chrome/browser/sessions/session_service.cc pending_commands().erase(i.base() - 1); base 1618 chrome/browser/sessions/session_service.cc base::TimeTicks* last_updated_time) { base 1620 chrome/browser/sessions/session_service.cc base::TimeDelta delta = base::TimeTicks::Now() - *last_updated_time; base 1649 chrome/browser/sessions/session_service.cc (*last_updated_time) = base::TimeTicks::Now(); base 1652 chrome/browser/sessions/session_service.cc void SessionService::RecordUpdatedTabClosed(base::TimeDelta delta, base 1671 chrome/browser/sessions/session_service.cc void SessionService::RecordUpdatedNavListPruned(base::TimeDelta delta, base 1690 chrome/browser/sessions/session_service.cc void SessionService::RecordUpdatedNavEntryCommit(base::TimeDelta delta, base 1709 chrome/browser/sessions/session_service.cc void SessionService::RecordUpdatedSessionNavigationOrTab(base::TimeDelta delta, base 1728 chrome/browser/sessions/session_service.cc void SessionService::RecordUpdatedSaveTime(base::TimeDelta delta, base 72 chrome/browser/sessions/session_service.h explicit SessionService(const base::FilePath& save_path); base 190 chrome/browser/sessions/session_service.h typedef base::Callback<void(ScopedVector<SessionWindow>, SessionID::id_type)> base 196 chrome/browser/sessions/session_service.h base::CancelableTaskTracker::TaskId GetLastSession( base 198 chrome/browser/sessions/session_service.h base::CancelableTaskTracker* tracker); base 423 chrome/browser/sessions/session_service.h base::TimeTicks* last_updated_time); base 426 chrome/browser/sessions/session_service.h void RecordUpdatedTabClosed(base::TimeDelta delta, bool use_long_period); base 427 chrome/browser/sessions/session_service.h void RecordUpdatedNavListPruned(base::TimeDelta delta, bool use_long_period); base 428 chrome/browser/sessions/session_service.h void RecordUpdatedNavEntryCommit(base::TimeDelta delta, bool use_long_period); base 429 chrome/browser/sessions/session_service.h void RecordUpdatedSaveTime(base::TimeDelta delta, bool use_long_period); base 430 chrome/browser/sessions/session_service.h void RecordUpdatedSessionNavigationOrTab(base::TimeDelta delta, base 482 chrome/browser/sessions/session_service.h base::TimeTicks last_updated_tab_closed_time_; base 483 chrome/browser/sessions/session_service.h base::TimeTicks last_updated_nav_list_pruned_time_; base 484 chrome/browser/sessions/session_service.h base::TimeTicks last_updated_nav_entry_commit_time_; base 485 chrome/browser/sessions/session_service.h base::TimeTicks last_updated_save_time_; base 488 chrome/browser/sessions/session_service.h const base::TimeDelta save_delay_in_millis_; base 489 chrome/browser/sessions/session_service.h const base::TimeDelta save_delay_in_mins_; base 490 chrome/browser/sessions/session_service.h const base::TimeDelta save_delay_in_hrs_; base 16 chrome/browser/sessions/session_service_test_helper.cc using base::Time; base 55 chrome/browser/sessions/session_service_unittest.cc std::string b = base::Int64ToString(base::Time::Now().ToInternalValue()); base 176 chrome/browser/sessions/session_service_unittest.cc base::ScopedTempDir temp_dir_; base 177 chrome/browser/sessions/session_service_unittest.cc base::FilePath path_; base 649 chrome/browser/sessions/session_service_unittest.cc base_url + base::IntToString(i), "a"); base 673 chrome/browser/sessions/session_service_unittest.cc EXPECT_TRUE(GURL(base_url + base::IntToString(2)) == base 675 chrome/browser/sessions/session_service_unittest.cc EXPECT_TRUE(GURL(base_url + base::IntToString(3)) == base 677 chrome/browser/sessions/session_service_unittest.cc EXPECT_TRUE(GURL(base_url + base::IntToString(4)) == base 692 chrome/browser/sessions/session_service_unittest.cc base_url + base::IntToString(i), "a"); base 888 chrome/browser/sessions/session_service_unittest.cc base::FilePath v1_file_path; base 895 chrome/browser/sessions/session_service_unittest.cc base::FilePath dest_file_path(path_); base 901 chrome/browser/sessions/session_service_unittest.cc ASSERT_TRUE(base::CopyFile(v1_file_path, dest_file_path)); base 923 chrome/browser/sessions/session_service_unittest.cc base_url + base::IntToString(i), "a"); base 936 chrome/browser/sessions/session_service_unittest.cc EXPECT_EQ(GURL(base_url + base::IntToString(1)), base 938 chrome/browser/sessions/session_service_unittest.cc EXPECT_EQ(GURL(base_url + base::IntToString(3)), base 940 chrome/browser/sessions/session_service_unittest.cc EXPECT_EQ(GURL(base_url + base::IntToString(4)), base 953 chrome/browser/sessions/session_service_unittest.cc base_url + base::IntToString(i), "a"); base 964 chrome/browser/sessions/session_service_unittest.cc base_url + base::IntToString(5), "a"); base 977 chrome/browser/sessions/session_service_unittest.cc EXPECT_EQ(GURL(base_url + base::IntToString(5)), base 26 chrome/browser/sessions/session_types.cc base::Time timestamp) { base 49 chrome/browser/sessions/session_types.h base::Time timestamp); base 95 chrome/browser/sessions/session_types.h base::Time timestamp; base 145 chrome/browser/sessions/session_types.h base::Time timestamp; base 34 chrome/browser/sessions/session_types_unittest.cc const base::string16 kTitle = base::ASCIIToUTF16("title"); base 38 chrome/browser/sessions/session_types_unittest.cc const base::Time kTimestamp = syncer::ProtoTimeToTime(100); base 39 chrome/browser/sessions/session_types_unittest.cc const base::string16 kSearchTerms = base::ASCIIToUTF16("my search terms"); base 55 chrome/browser/sessions/session_types_unittest.cc navigation->set_virtual_url("http://foo/" + base::IntToString(i)); base 69 chrome/browser/sessions/session_types_unittest.cc tab.timestamp = base::Time::FromInternalValue(100); base 73 chrome/browser/sessions/session_types_unittest.cc tab.SetFromSyncData(sync_data, base::Time::FromInternalValue(5u)); base 86 chrome/browser/sessions/session_types_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("title"),tab.navigations[i].title()); base 89 chrome/browser/sessions/session_types_unittest.cc EXPECT_EQ(GURL("http://foo/" + base::IntToString(i)), base 104 chrome/browser/sessions/session_types_unittest.cc tab.timestamp = base::Time::FromInternalValue(100); base 108 chrome/browser/sessions/session_types_unittest.cc "http://foo/" + base::IntToString(i), "title")); base 123 chrome/browser/sessions/session_types_unittest.cc EXPECT_EQ(base::UTF16ToUTF8(tab.navigations[i].title()), base 39 chrome/browser/sessions/tab_restore_browsertest.cc base::FilePath().AppendASCII("session_history"), base 40 chrome/browser/sessions/tab_restore_browsertest.cc base::FilePath().AppendASCII("bot1.html")); base 42 chrome/browser/sessions/tab_restore_browsertest.cc base::FilePath().AppendASCII("session_history"), base 43 chrome/browser/sessions/tab_restore_browsertest.cc base::FilePath().AppendASCII("bot2.html")); base 549 chrome/browser/sessions/tab_restore_browsertest.cc ui_test_utils::FindInPage(tab, base::ASCIIToUTF16("webkit"), true, false, base 581 chrome/browser/sessions/tab_restore_browsertest.cc ui_test_utils::FindInPage(tab, base::ASCIIToUTF16("webkit"), true, false, base 47 chrome/browser/sessions/tab_restore_service.h virtual base::Time TimeNow() = 0; base 69 chrome/browser/sessions/tab_restore_service.h base::Time timestamp; base 593 chrome/browser/sessions/tab_restore_service_helper.cc base::Time TabRestoreServiceHelper::TimeNow() const { base 594 chrome/browser/sessions/tab_restore_service_helper.cc return time_factory_ ? time_factory_->TimeNow() : base::Time::Now(); base 166 chrome/browser/sessions/tab_restore_service_helper.h base::Time TimeNow() const; base 77 chrome/browser/shell_integration.cc const base::FilePath& profile_path) { base 78 chrome/browser/shell_integration.cc base::ThreadRestrictions::AssertIOAllowed(); base 82 chrome/browser/shell_integration.cc extension_app_id.empty() ? base::FilePath() : profile_path, base 101 chrome/browser/shell_integration.cc const base::FilePath& profile_path, base 107 chrome/browser/shell_integration.cc base::FilePath user_data_dir = base 114 chrome/browser/shell_integration.cc user_data_dir = base::MakeAbsoluteFilePath(user_data_dir); base 115 chrome/browser/shell_integration.cc if (!user_data_dir.empty() && base::PathExists(user_data_dir)) base 120 chrome/browser/shell_integration.cc base::FilePath profile = cmd_line.GetSwitchValuePath( base 133 chrome/browser/shell_integration.cc base::string16 ShellIntegration::GetAppShortcutsSubdirName() { base 174 chrome/browser/shell_integration.cc base::Bind( base 187 chrome/browser/shell_integration.cc base::Bind(&DefaultWebClientWorker::ExecuteSetAsDefault, this, base 206 chrome/browser/shell_integration.cc base::Bind( base 229 chrome/browser/shell_integration.cc base::Bind(&DefaultWebClientWorker::CompleteSetAsDefault, this, result)); base 17 chrome/browser/shell_integration.h namespace base { base 68 chrome/browser/shell_integration.h static base::string16 GetApplicationNameForProtocol(const GURL& url); base 105 chrome/browser/shell_integration.h base::string16 title; base 106 chrome/browser/shell_integration.h base::string16 description; base 107 chrome/browser/shell_integration.h base::FilePath extension_path; base 109 chrome/browser/shell_integration.h base::FilePath profile_path; base 165 chrome/browser/shell_integration.h static base::CommandLine CommandLineArgsForLauncher( base 168 chrome/browser/shell_integration.h const base::FilePath& profile_path); base 174 chrome/browser/shell_integration.h static void AppendProfileArgs(const base::FilePath& profile_path, base 175 chrome/browser/shell_integration.h base::CommandLine* command_line); base 185 chrome/browser/shell_integration.h static base::string16 GetAppModelIdForProfile(const base::string16& app_name, base 186 chrome/browser/shell_integration.h const base::FilePath& profile_path); base 190 chrome/browser/shell_integration.h static base::string16 GetChromiumModelIdForProfile( base 191 chrome/browser/shell_integration.h const base::FilePath& profile_path); base 194 chrome/browser/shell_integration.h static base::string16 GetAppListAppModelIdForProfile( base 195 chrome/browser/shell_integration.h const base::FilePath& profile_path); base 208 chrome/browser/shell_integration.h static int MigrateShortcutsInPathInternal(const base::FilePath& chrome_exe, base 209 chrome/browser/shell_integration.h const base::FilePath& path, base 213 chrome/browser/shell_integration.h static base::FilePath GetStartMenuShortcut(const base::FilePath& chrome_exe); base 222 chrome/browser/shell_integration.h static base::string16 GetAppShortcutsSubdirName(); base 258 chrome/browser/shell_integration.h : public base::RefCountedThreadSafe<DefaultWebClientWorker> { base 276 chrome/browser/shell_integration.h friend class base::RefCountedThreadSafe<DefaultWebClientWorker>; base 67 chrome/browser/shell_integration_linux.cc base::FileHandleMappingVector no_stdin; base 70 chrome/browser/shell_integration_linux.cc base::ProcessHandle handle; base 71 chrome/browser/shell_integration_linux.cc base::LaunchOptions options; base 73 chrome/browser/shell_integration_linux.cc if (!base::LaunchProcess(argv, options, &handle)) { base 79 chrome/browser/shell_integration_linux.cc return base::WaitForExitCode(handle, exit_code); base 83 chrome/browser/shell_integration_linux.cc const base::FilePath& shortcut_filename) { base 88 chrome/browser/shell_integration_linux.cc base::ScopedTempDir temp_dir; base 92 chrome/browser/shell_integration_linux.cc base::FilePath temp_file_path = temp_dir.path().Append( base 99 chrome/browser/shell_integration_linux.cc scoped_refptr<base::RefCountedMemory> png_data = it->As1xPNGBytes(); base 106 chrome/browser/shell_integration_linux.cc int bytes_written = base::WriteFile(temp_file_path, base 123 chrome/browser/shell_integration_linux.cc argv.push_back(base::IntToString(width)); base 136 chrome/browser/shell_integration_linux.cc bool CreateShortcutOnDesktop(const base::FilePath& shortcut_filename, base 141 chrome/browser/shell_integration_linux.cc base::FilePath desktop_path; base 142 chrome/browser/shell_integration_linux.cc if (!PathService::Get(base::DIR_USER_DESKTOP, &desktop_path)) base 158 chrome/browser/shell_integration_linux.cc ssize_t bytes_written = base::WriteFileDescriptor(fd, contents.data(), base 177 chrome/browser/shell_integration_linux.cc void DeleteShortcutOnDesktop(const base::FilePath& shortcut_filename) { base 178 chrome/browser/shell_integration_linux.cc base::FilePath desktop_path; base 179 chrome/browser/shell_integration_linux.cc if (PathService::Get(base::DIR_USER_DESKTOP, &desktop_path)) base 180 chrome/browser/shell_integration_linux.cc base::DeleteFile(desktop_path.Append(shortcut_filename), false); base 187 chrome/browser/shell_integration_linux.cc bool CreateShortcutInApplicationsMenu(const base::FilePath& shortcut_filename, base 189 chrome/browser/shell_integration_linux.cc const base::FilePath& directory_filename, base 191 chrome/browser/shell_integration_linux.cc base::ScopedTempDir temp_dir; base 195 chrome/browser/shell_integration_linux.cc base::FilePath temp_directory_path; base 199 chrome/browser/shell_integration_linux.cc int bytes_written = base::WriteFile(temp_directory_path, base 207 chrome/browser/shell_integration_linux.cc base::FilePath temp_file_path = temp_dir.path().Append(shortcut_filename); base 209 chrome/browser/shell_integration_linux.cc int bytes_written = base::WriteFile(temp_file_path, contents.data(), base 234 chrome/browser/shell_integration_linux.cc const base::FilePath& shortcut_filename, base 235 chrome/browser/shell_integration_linux.cc const base::FilePath& directory_filename) { base 330 chrome/browser/shell_integration_linux.cc base::FilePath chrome_dir; base 331 chrome/browser/shell_integration_linux.cc if (!PathService::Get(base::DIR_EXE, &chrome_dir)) base 334 chrome/browser/shell_integration_linux.cc base::FilePath chrome_version_path = chrome_dir.Append(script); base 342 chrome/browser/shell_integration_linux.cc if (base::GetAppOutput(CommandLine(argv), &path_version)) { base 345 chrome/browser/shell_integration_linux.cc base::FilePath path_version_path(path_version); base 370 chrome/browser/shell_integration_linux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 403 chrome/browser/shell_integration_linux.cc base::ThreadRestrictions::AssertIOAllowed(); base 405 chrome/browser/shell_integration_linux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 420 chrome/browser/shell_integration_linux.cc bool ran_ok = base::GetAppOutputWithExitCode(CommandLine(argv), &reply, base 424 chrome/browser/shell_integration_linux.cc ran_ok = base::GetAppOutputWithExitCode(CommandLine(argv), &reply, base 475 chrome/browser/shell_integration_linux.cc base::FilePath GetChromeExePath() { base 477 chrome/browser/shell_integration_linux.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 480 chrome/browser/shell_integration_linux.cc return base::FilePath(wrapper_script); base 484 chrome/browser/shell_integration_linux.cc base::FilePath chrome_exe_path; base 485 chrome/browser/shell_integration_linux.cc PathService::Get(base::FILE_EXE, &chrome_exe_path); base 513 chrome/browser/shell_integration_linux.cc base::string16 ShellIntegration::GetApplicationNameForProtocol( base 515 chrome/browser/shell_integration_linux.cc return base::ASCIIToUTF16("xdg-open"); base 533 chrome/browser/shell_integration_linux.cc base::GetAppOutput(CommandLine(argv), &browser); base 539 chrome/browser/shell_integration_linux.cc bool GetDataWriteLocation(base::Environment* env, base::FilePath* search_path) { base 545 chrome/browser/shell_integration_linux.cc *search_path = base::FilePath(xdg_data_home); base 548 chrome/browser/shell_integration_linux.cc *search_path = base::FilePath(home).Append(".local").Append("share"); base 554 chrome/browser/shell_integration_linux.cc std::vector<base::FilePath> GetDataSearchLocations(base::Environment* env) { base 557 chrome/browser/shell_integration_linux.cc std::vector<base::FilePath> search_paths; base 559 chrome/browser/shell_integration_linux.cc base::FilePath write_location; base 565 chrome/browser/shell_integration_linux.cc base::StringTokenizer tokenizer(xdg_data_dirs, ":"); base 567 chrome/browser/shell_integration_linux.cc base::FilePath data_dir(tokenizer.token()); base 571 chrome/browser/shell_integration_linux.cc search_paths.push_back(base::FilePath("/usr/local/share")); base 572 chrome/browser/shell_integration_linux.cc search_paths.push_back(base::FilePath("/usr/share")); base 584 chrome/browser/shell_integration_linux.cc class_name[0] = base::ToUpperASCII(class_name[0]); base 588 chrome/browser/shell_integration_linux.cc std::string GetDesktopName(base::Environment* env) { base 620 chrome/browser/shell_integration_linux.cc base::Environment* env, base 621 chrome/browser/shell_integration_linux.cc const base::FilePath& profile_path, base 623 chrome/browser/shell_integration_linux.cc base::FilePath desktop_path; base 625 chrome/browser/shell_integration_linux.cc PathService::Get(base::DIR_USER_DESKTOP, &desktop_path); base 631 chrome/browser/shell_integration_linux.cc base::Environment* env, base 632 chrome/browser/shell_integration_linux.cc const base::FilePath& profile_path, base 634 chrome/browser/shell_integration_linux.cc const base::FilePath& desktop_path) { base 637 chrome/browser/shell_integration_linux.cc base::FilePath shortcut_filename = GetExtensionShortcutFilename( base 645 chrome/browser/shell_integration_linux.cc base::PathExists(desktop_path.Append(shortcut_filename)); base 665 chrome/browser/shell_integration_linux.cc bool GetExistingShortcutContents(base::Environment* env, base 666 chrome/browser/shell_integration_linux.cc const base::FilePath& desktop_filename, base 670 chrome/browser/shell_integration_linux.cc std::vector<base::FilePath> search_paths = GetDataSearchLocations(env); base 672 chrome/browser/shell_integration_linux.cc for (std::vector<base::FilePath>::const_iterator i = search_paths.begin(); base 674 chrome/browser/shell_integration_linux.cc base::FilePath path = i->Append("applications").Append(desktop_filename); base 676 chrome/browser/shell_integration_linux.cc if (base::PathExists(path)) { base 678 chrome/browser/shell_integration_linux.cc return base::ReadFileToString(path, output); base 685 chrome/browser/shell_integration_linux.cc base::FilePath GetWebShortcutFilename(const GURL& url) { base 691 chrome/browser/shell_integration_linux.cc base::FilePath desktop_path; base 692 chrome/browser/shell_integration_linux.cc if (!PathService::Get(base::DIR_USER_DESKTOP, &desktop_path)) base 693 chrome/browser/shell_integration_linux.cc return base::FilePath(); base 695 chrome/browser/shell_integration_linux.cc base::FilePath filepath = desktop_path.Append(filename); base 696 chrome/browser/shell_integration_linux.cc base::FilePath alternative_filepath(filepath.value() + ".desktop"); base 698 chrome/browser/shell_integration_linux.cc if (base::PathExists(base::FilePath(alternative_filepath))) { base 699 chrome/browser/shell_integration_linux.cc alternative_filepath = base::FilePath( base 700 chrome/browser/shell_integration_linux.cc filepath.value() + "_" + base::IntToString(i) + ".desktop"); base 702 chrome/browser/shell_integration_linux.cc return base::FilePath(alternative_filepath).BaseName(); base 706 chrome/browser/shell_integration_linux.cc return base::FilePath(); base 709 chrome/browser/shell_integration_linux.cc base::FilePath GetExtensionShortcutFilename(const base::FilePath& profile_path, base 722 chrome/browser/shell_integration_linux.cc base::ReplaceChars(filename, " ", "_", &filename); base 723 chrome/browser/shell_integration_linux.cc return base::FilePath(filename.append(".desktop")); base 726 chrome/browser/shell_integration_linux.cc std::vector<base::FilePath> GetExistingProfileShortcutFilenames( base 727 chrome/browser/shell_integration_linux.cc const base::FilePath& profile_path, base 728 chrome/browser/shell_integration_linux.cc const base::FilePath& directory) { base 738 chrome/browser/shell_integration_linux.cc base::ReplaceChars(suffix, " ", "_", &suffix); base 741 chrome/browser/shell_integration_linux.cc base::FileEnumerator files(directory, false, base::FileEnumerator::FILES, base 743 chrome/browser/shell_integration_linux.cc base::FilePath shortcut_file = files.Next(); base 744 chrome/browser/shell_integration_linux.cc std::vector<base::FilePath> shortcut_paths; base 753 chrome/browser/shell_integration_linux.cc const base::FilePath& chrome_exe_path, base 757 chrome/browser/shell_integration_linux.cc const base::string16& title, base 759 chrome/browser/shell_integration_linux.cc const base::FilePath& profile_path, base 772 chrome/browser/shell_integration_linux.cc const base::string16& title, base 788 chrome/browser/shell_integration_linux.cc std::string final_title = base::UTF16ToUTF8(title); base 837 chrome/browser/shell_integration_linux.cc std::string GetDirectoryFileContents(const base::string16& title, base 844 chrome/browser/shell_integration_linux.cc std::string final_title = base::UTF16ToUTF8(title); base 877 chrome/browser/shell_integration_linux.cc base::FilePath shortcut_filename; base 890 chrome/browser/shell_integration_linux.cc DeleteShortcutInApplicationsMenu(shortcut_filename, base::FilePath()); base 905 chrome/browser/shell_integration_linux.cc base::FilePath chrome_exe_path = GetChromeExePath(); base 927 chrome/browser/shell_integration_linux.cc base::FilePath directory_filename; base 934 chrome/browser/shell_integration_linux.cc directory_filename = base::FilePath(kDirectoryFilename); base 967 chrome/browser/shell_integration_linux.cc base::FilePath desktop_name(kAppListDesktopName); base 968 chrome/browser/shell_integration_linux.cc base::FilePath shortcut_filename = desktop_name.AddExtension("desktop"); base 972 chrome/browser/shell_integration_linux.cc DeleteShortcutInApplicationsMenu(shortcut_filename, base::FilePath()); base 974 chrome/browser/shell_integration_linux.cc base::FilePath chrome_exe_path = GetChromeExePath(); base 991 chrome/browser/shell_integration_linux.cc command_line, wm_class, GURL(), base::UTF8ToUTF16(title), icon_name, base 994 chrome/browser/shell_integration_linux.cc shortcut_filename, contents, base::FilePath(), ""); base 997 chrome/browser/shell_integration_linux.cc void DeleteDesktopShortcuts(const base::FilePath& profile_path, base 1001 chrome/browser/shell_integration_linux.cc base::FilePath shortcut_filename = GetExtensionShortcutFilename( base 1011 chrome/browser/shell_integration_linux.cc base::FilePath(kDirectoryFilename)); base 1014 chrome/browser/shell_integration_linux.cc void DeleteAllDesktopShortcuts(const base::FilePath& profile_path) { base 1017 chrome/browser/shell_integration_linux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 1020 chrome/browser/shell_integration_linux.cc base::FilePath desktop_path; base 1021 chrome/browser/shell_integration_linux.cc if (PathService::Get(base::DIR_USER_DESKTOP, &desktop_path)) { base 1022 chrome/browser/shell_integration_linux.cc std::vector<base::FilePath> shortcut_filenames_desktop = base 1024 chrome/browser/shell_integration_linux.cc for (std::vector<base::FilePath>::const_iterator it = base 1032 chrome/browser/shell_integration_linux.cc base::FilePath applications_menu; base 1035 chrome/browser/shell_integration_linux.cc std::vector<base::FilePath> shortcut_filenames_app_menu = base 1037 chrome/browser/shell_integration_linux.cc for (std::vector<base::FilePath>::const_iterator it = base 1041 chrome/browser/shell_integration_linux.cc base::FilePath(kDirectoryFilename)); base 15 chrome/browser/shell_integration_linux.h namespace base { base 27 chrome/browser/shell_integration_linux.h bool GetDataWriteLocation(base::Environment* env, base::FilePath* search_path); base 33 chrome/browser/shell_integration_linux.h std::vector<base::FilePath> GetDataSearchLocations(base::Environment* env); base 41 chrome/browser/shell_integration_linux.h std::string GetDesktopName(base::Environment* env); base 52 chrome/browser/shell_integration_linux.h base::Environment* env, base 53 chrome/browser/shell_integration_linux.h const base::FilePath& profile_path, base 60 chrome/browser/shell_integration_linux.h base::Environment* env, base 61 chrome/browser/shell_integration_linux.h const base::FilePath& profile_path, base 63 chrome/browser/shell_integration_linux.h const base::FilePath& desktop_path); base 69 chrome/browser/shell_integration_linux.h bool GetExistingShortcutContents(base::Environment* env, base 70 chrome/browser/shell_integration_linux.h const base::FilePath& desktop_filename, base 74 chrome/browser/shell_integration_linux.h base::FilePath GetWebShortcutFilename(const GURL& url); base 78 chrome/browser/shell_integration_linux.h base::FilePath GetExtensionShortcutFilename(const base::FilePath& profile_path, base 83 chrome/browser/shell_integration_linux.h std::vector<base::FilePath> GetExistingProfileShortcutFilenames( base 84 chrome/browser/shell_integration_linux.h const base::FilePath& profile_path, base 85 chrome/browser/shell_integration_linux.h const base::FilePath& directory); base 89 chrome/browser/shell_integration_linux.h std::string GetDesktopFileContents(const base::FilePath& chrome_exe_path, base 93 chrome/browser/shell_integration_linux.h const base::string16& title, base 95 chrome/browser/shell_integration_linux.h const base::FilePath& profile_path, base 102 chrome/browser/shell_integration_linux.h const base::CommandLine& command_line, base 105 chrome/browser/shell_integration_linux.h const base::string16& title, base 111 chrome/browser/shell_integration_linux.h std::string GetDirectoryFileContents(const base::string16& title, base 130 chrome/browser/shell_integration_linux.h void DeleteDesktopShortcuts(const base::FilePath& profile_path, base 135 chrome/browser/shell_integration_linux.h void DeleteAllDesktopShortcuts(const base::FilePath& profile_path); base 37 chrome/browser/shell_integration_linux_unittest.cc class MockEnvironment : public base::Environment { base 74 chrome/browser/shell_integration_linux_unittest.cc base::MessageLoop message_loop; base 82 chrome/browser/shell_integration_linux_unittest.cc base::FilePath path; base 84 chrome/browser/shell_integration_linux_unittest.cc EXPECT_EQ(base::FilePath("/user/path"), path); base 91 chrome/browser/shell_integration_linux_unittest.cc base::FilePath path; base 93 chrome/browser/shell_integration_linux_unittest.cc EXPECT_EQ(base::FilePath("/home/user/.local/share"), path); base 99 chrome/browser/shell_integration_linux_unittest.cc base::FilePath path; base 105 chrome/browser/shell_integration_linux_unittest.cc base::MessageLoop message_loop; base 116 chrome/browser/shell_integration_linux_unittest.cc ElementsAre(base::FilePath("/user/path"), base 117 chrome/browser/shell_integration_linux_unittest.cc base::FilePath("/system/path/1"), base 118 chrome/browser/shell_integration_linux_unittest.cc base::FilePath("/system/path/2"))); base 128 chrome/browser/shell_integration_linux_unittest.cc ElementsAre(base::FilePath("/home/user/.local/share"), base 129 chrome/browser/shell_integration_linux_unittest.cc base::FilePath("/system/path/1"), base 130 chrome/browser/shell_integration_linux_unittest.cc base::FilePath("/system/path/2"))); base 140 chrome/browser/shell_integration_linux_unittest.cc ElementsAre(base::FilePath("/system/path/1"), base 141 chrome/browser/shell_integration_linux_unittest.cc base::FilePath("/system/path/2"))); base 151 chrome/browser/shell_integration_linux_unittest.cc ElementsAre(base::FilePath("/user/path"), base 152 chrome/browser/shell_integration_linux_unittest.cc base::FilePath("/usr/local/share"), base 153 chrome/browser/shell_integration_linux_unittest.cc base::FilePath("/usr/share"))); base 158 chrome/browser/shell_integration_linux_unittest.cc base::FilePath kProfilePath("Profile 1"); base 161 chrome/browser/shell_integration_linux_unittest.cc base::FilePath kTemplateFilepath(kTemplateFilename); base 164 chrome/browser/shell_integration_linux_unittest.cc base::MessageLoop message_loop; base 183 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir; base 185 chrome/browser/shell_integration_linux_unittest.cc base::FilePath desktop_path = temp_dir.path(); base 188 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory(desktop_path)); base 189 chrome/browser/shell_integration_linux_unittest.cc ASSERT_FALSE(base::WriteFile( base 205 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir; base 207 chrome/browser/shell_integration_linux_unittest.cc base::FilePath apps_path = temp_dir.path().AppendASCII("applications"); base 211 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory(apps_path)); base 212 chrome/browser/shell_integration_linux_unittest.cc ASSERT_FALSE(base::WriteFile( base 228 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir; base 230 chrome/browser/shell_integration_linux_unittest.cc base::FilePath apps_path = temp_dir.path().AppendASCII("applications"); base 234 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory(apps_path)); base 235 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::WriteFile( base 251 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir1; base 253 chrome/browser/shell_integration_linux_unittest.cc base::FilePath desktop_path = temp_dir1.path(); base 255 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir2; base 257 chrome/browser/shell_integration_linux_unittest.cc base::FilePath apps_path = temp_dir2.path().AppendASCII("applications"); base 260 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory(desktop_path)); base 261 chrome/browser/shell_integration_linux_unittest.cc ASSERT_FALSE(base::WriteFile( base 265 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory(apps_path)); base 266 chrome/browser/shell_integration_linux_unittest.cc ASSERT_FALSE(base::WriteFile( base 282 chrome/browser/shell_integration_linux_unittest.cc base::FilePath kTemplateFilepath(kTemplateFilename); base 286 chrome/browser/shell_integration_linux_unittest.cc base::MessageLoop message_loop; base 291 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir; base 297 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::WriteFile( base 300 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory( base 302 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::WriteFile( base 315 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir; base 320 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory( base 322 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::WriteFile( base 335 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir; base 340 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory( base 342 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::WriteFile( base 355 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir1; base 357 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir2; base 364 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::WriteFile( base 368 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory( base 370 chrome/browser/shell_integration_linux_unittest.cc ASSERT_TRUE(base::WriteFile( base 383 chrome/browser/shell_integration_linux_unittest.cc base::FilePath kProfilePath("a/b/c/Profile Name?"); base 385 chrome/browser/shell_integration_linux_unittest.cc EXPECT_EQ(base::FilePath("chrome-extensionid-Profile_Name_.desktop"), base 391 chrome/browser/shell_integration_linux_unittest.cc base::FilePath kProfilePath("a/b/c/Profile Name?"); base 396 chrome/browser/shell_integration_linux_unittest.cc base::MessageLoop message_loop; base 399 chrome/browser/shell_integration_linux_unittest.cc base::ScopedTempDir temp_dir; base 402 chrome/browser/shell_integration_linux_unittest.cc base::WriteFile( base 405 chrome/browser/shell_integration_linux_unittest.cc base::WriteFile( base 409 chrome/browser/shell_integration_linux_unittest.cc base::WriteFile( base 411 chrome/browser/shell_integration_linux_unittest.cc std::vector<base::FilePath> paths = base 417 chrome/browser/shell_integration_linux_unittest.cc ElementsAre(base::FilePath(kApp1Filename), base 418 chrome/browser/shell_integration_linux_unittest.cc base::FilePath(kApp2Filename))); base 423 chrome/browser/shell_integration_linux_unittest.cc const base::FilePath::CharType* path; base 445 chrome/browser/shell_integration_linux_unittest.cc const base::FilePath kChromeExePath("/opt/google/chrome/google-chrome"); base 576 chrome/browser/shell_integration_linux_unittest.cc base::ASCIIToUTF16(test_cases[i].title), base 578 chrome/browser/shell_integration_linux_unittest.cc base::FilePath(), base 584 chrome/browser/shell_integration_linux_unittest.cc const base::FilePath kChromeExePath("/opt/google/chrome/google-chrome"); base 601 chrome/browser/shell_integration_linux_unittest.cc base::ASCIIToUTF16("Chrome App Launcher"), base 644 chrome/browser/shell_integration_linux_unittest.cc base::ASCIIToUTF16(test_cases[i].title), base 52 chrome/browser/shell_integration_win.cc base::string16 GetProfileIdFromPath(const base::FilePath& profile_path) { base 55 chrome/browser/shell_integration_win.cc return base::string16(); base 57 chrome/browser/shell_integration_win.cc base::FilePath default_user_data_dir; base 63 chrome/browser/shell_integration_win.cc base::ASCIIToUTF16(chrome::kInitialProfile)) { base 64 chrome/browser/shell_integration_win.cc return base::string16(); base 68 chrome/browser/shell_integration_win.cc base::string16 basenames = profile_path.DirName().BaseName().value() + base 71 chrome/browser/shell_integration_win.cc base::string16 profile_id; base 85 chrome/browser/shell_integration_win.cc base::string16 GetAppListAppName() { base 87 chrome/browser/shell_integration_win.cc base::string16 app_name(dist->GetBaseAppId()); base 94 chrome/browser/shell_integration_win.cc base::string16 GetExpectedAppId(const CommandLine& command_line, base 96 chrome/browser/shell_integration_win.cc base::FilePath user_data_dir; base 105 chrome/browser/shell_integration_win.cc base::FilePath profile_subdir; base 111 chrome/browser/shell_integration_win.cc base::FilePath(base::ASCIIToUTF16(chrome::kInitialProfile)); base 115 chrome/browser/shell_integration_win.cc base::FilePath profile_path = user_data_dir.Append(profile_subdir); base 116 chrome/browser/shell_integration_win.cc base::string16 app_name; base 118 chrome/browser/shell_integration_win.cc app_name = base::UTF8ToUTF16(web_app::GenerateApplicationNameFromURL( base 121 chrome/browser/shell_integration_win.cc app_name = base::UTF8ToUTF16( base 140 chrome/browser/shell_integration_win.cc base::FilePath chrome_exe; base 141 chrome/browser/shell_integration_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) base 150 chrome/browser/shell_integration_win.cc base::DIR_TASKBAR_PINS, base 153 chrome/browser/shell_integration_win.cc base::DIR_USER_DESKTOP, base 156 chrome/browser/shell_integration_win.cc base::DIR_START_MENU, base 159 chrome/browser/shell_integration_win.cc base::DIR_APP_DATA, base 165 chrome/browser/shell_integration_win.cc base::FilePath path; base 174 chrome/browser/shell_integration_win.cc bool check_dual_mode = (kLocations[i].location_id == base::DIR_START_MENU); base 183 chrome/browser/shell_integration_win.cc base::string16 GetAppForProtocolUsingAssocQuery(const GURL& url) { base 184 chrome/browser/shell_integration_win.cc base::string16 url_spec = base::ASCIIToWide(url.possibly_invalid_spec()); base 187 chrome/browser/shell_integration_win.cc return base::string16(); base 208 chrome/browser/shell_integration_win.cc return base::string16(); base 210 chrome/browser/shell_integration_win.cc return base::string16(out_buffer); base 213 chrome/browser/shell_integration_win.cc base::string16 GetAppForProtocolUsingRegistry(const GURL& url) { base 214 chrome/browser/shell_integration_win.cc base::string16 url_spec = base::ASCIIToWide(url.possibly_invalid_spec()); base 215 chrome/browser/shell_integration_win.cc const base::string16 cmd_key_path = base 216 chrome/browser/shell_integration_win.cc base::ASCIIToWide(url.scheme() + "\\shell\\open\\command"); base 217 chrome/browser/shell_integration_win.cc base::win::RegKey cmd_key(HKEY_CLASSES_ROOT, base 221 chrome/browser/shell_integration_win.cc if (split_offset == base::string16::npos) base 222 chrome/browser/shell_integration_win.cc return base::string16(); base 223 chrome/browser/shell_integration_win.cc const base::string16 parameters = url_spec.substr(split_offset + 1, base 225 chrome/browser/shell_integration_win.cc base::string16 application_to_launch; base 233 chrome/browser/shell_integration_win.cc return base::string16(); base 267 chrome/browser/shell_integration_win.cc base::FilePath chrome_exe; base 268 chrome/browser/shell_integration_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 289 chrome/browser/shell_integration_win.cc base::FilePath chrome_exe; base 290 chrome/browser/shell_integration_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 295 chrome/browser/shell_integration_win.cc base::string16 wprotocol(base::UTF8ToUTF16(protocol)); base 309 chrome/browser/shell_integration_win.cc base::FilePath chrome_exe; base 310 chrome/browser/shell_integration_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 327 chrome/browser/shell_integration_win.cc base::FilePath chrome_exe; base 328 chrome/browser/shell_integration_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 334 chrome/browser/shell_integration_win.cc base::string16 wprotocol(base::UTF8ToUTF16(protocol)); base 354 chrome/browser/shell_integration_win.cc base::UTF8ToUTF16(protocol))); base 357 chrome/browser/shell_integration_win.cc base::string16 ShellIntegration::GetApplicationNameForProtocol( base 360 chrome/browser/shell_integration_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) base 379 chrome/browser/shell_integration_win.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 380 chrome/browser/shell_integration_win.cc base::string16 app_cmd; base 381 chrome/browser/shell_integration_win.cc base::win::RegKey key(HKEY_CURRENT_USER, base 387 chrome/browser/shell_integration_win.cc base::string16 key_path(L"http"); base 389 chrome/browser/shell_integration_win.cc base::win::RegKey key(HKEY_CLASSES_ROOT, key_path.c_str(), KEY_READ); base 390 chrome/browser/shell_integration_win.cc base::string16 app_cmd; base 392 chrome/browser/shell_integration_win.cc base::string16::npos != StringToLowerASCII(app_cmd).find(L"firefox")) base 398 chrome/browser/shell_integration_win.cc base::string16 ShellIntegration::GetAppModelIdForProfile( base 399 chrome/browser/shell_integration_win.cc const base::string16& app_name, base 400 chrome/browser/shell_integration_win.cc const base::FilePath& profile_path) { base 401 chrome/browser/shell_integration_win.cc std::vector<base::string16> components; base 403 chrome/browser/shell_integration_win.cc const base::string16 profile_id(GetProfileIdFromPath(profile_path)); base 409 chrome/browser/shell_integration_win.cc base::string16 ShellIntegration::GetChromiumModelIdForProfile( base 410 chrome/browser/shell_integration_win.cc const base::FilePath& profile_path) { base 412 chrome/browser/shell_integration_win.cc base::FilePath chrome_exe; base 413 chrome/browser/shell_integration_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 423 chrome/browser/shell_integration_win.cc base::string16 ShellIntegration::GetAppListAppModelIdForProfile( base 424 chrome/browser/shell_integration_win.cc const base::FilePath& profile_path) { base 430 chrome/browser/shell_integration_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 439 chrome/browser/shell_integration_win.cc base::Bind(&MigrateChromiumShortcutsCallback), base 440 chrome/browser/shell_integration_win.cc base::TimeDelta::FromSeconds(kMigrateChromiumShortcutsDelaySeconds)); base 444 chrome/browser/shell_integration_win.cc const base::FilePath& chrome_exe, base 445 chrome/browser/shell_integration_win.cc const base::FilePath& path, base 447 chrome/browser/shell_integration_win.cc DCHECK(base::win::GetVersion() >= base::win::VERSION_WIN7); base 450 chrome/browser/shell_integration_win.cc base::FileEnumerator shortcuts_enum( base 452 chrome/browser/shell_integration_win.cc base::FileEnumerator::FILES, FILE_PATH_LITERAL("*.lnk")); base 458 chrome/browser/shell_integration_win.cc base::FilePath target_path; base 459 chrome/browser/shell_integration_win.cc base::string16 arguments; base 460 chrome/browser/shell_integration_win.cc base::win::ScopedPropVariant propvariant; base 461 chrome/browser/shell_integration_win.cc for (base::FilePath shortcut = shortcuts_enum.Next(); !shortcut.empty(); base 465 chrome/browser/shell_integration_win.cc if (!base::win::ResolveShortcut(shortcut, &target_path, &arguments) || base 469 chrome/browser/shell_integration_win.cc CommandLine command_line(CommandLine::FromString(base::StringPrintf( base 473 chrome/browser/shell_integration_win.cc base::string16 expected_app_id( base 479 chrome/browser/shell_integration_win.cc base::win::ScopedComPtr<IShellLink> shell_link; base 480 chrome/browser/shell_integration_win.cc base::win::ScopedComPtr<IPersistFile> persist_file; base 491 chrome/browser/shell_integration_win.cc base::win::ShortcutProperties updated_properties; base 494 chrome/browser/shell_integration_win.cc base::win::ScopedComPtr<IPropertyStore> property_store; base 510 chrome/browser/shell_integration_win.cc if (expected_app_id != base::string16(propvariant.get().pwszVal)) base 521 chrome/browser/shell_integration_win.cc base::string16 default_chromium_model_id( base 553 chrome/browser/shell_integration_win.cc base::win::CreateOrUpdateShortcutLink( base 555 chrome/browser/shell_integration_win.cc base::win::SHORTCUT_UPDATE_EXISTING)) { base 562 chrome/browser/shell_integration_win.cc base::FilePath ShellIntegration::GetStartMenuShortcut( base 563 chrome/browser/shell_integration_win.cc const base::FilePath& chrome_exe) { base 565 chrome/browser/shell_integration_win.cc base::DIR_COMMON_START_MENU, base 566 chrome/browser/shell_integration_win.cc base::DIR_START_MENU, base 569 chrome/browser/shell_integration_win.cc base::string16 shortcut_name( base 571 chrome/browser/shell_integration_win.cc base::FilePath shortcut; base 585 chrome/browser/shell_integration_win.cc if (base::PathExists(shortcut)) base 589 chrome/browser/shell_integration_win.cc return base::FilePath(); base 29 chrome/browser/shell_integration_win_unittest.cc base::FilePath path; base 30 chrome/browser/shell_integration_win_unittest.cc base::win::ShortcutProperties properties; base 39 chrome/browser/shell_integration_win_unittest.cc base::CreateTemporaryFileInDir(temp_dir_.path(), &other_target_); base 42 chrome/browser/shell_integration_win_unittest.cc base::CreateTemporaryFileInDir(temp_dir_.path(), &chrome_exe_); base 48 chrome/browser/shell_integration_win_unittest.cc base::FilePath default_user_data_dir; base 50 chrome/browser/shell_integration_win_unittest.cc base::FilePath default_profile_path = base 54 chrome/browser/shell_integration_win_unittest.cc non_default_user_data_dir_ = base::FilePath(FILE_PATH_LITERAL("root")) base 69 chrome/browser/shell_integration_win_unittest.cc base::string16 app_name = base 70 chrome/browser/shell_integration_win_unittest.cc base::UTF8ToUTF16(web_app::GenerateApplicationNameFromExtensionId( base 71 chrome/browser/shell_integration_win_unittest.cc base::UTF16ToUTF8(extension_id_))); base 87 chrome/browser/shell_integration_win_unittest.cc base::win::ShortcutProperties* shortcut_properties) { base 89 chrome/browser/shell_integration_win_unittest.cc base::FilePath shortcut_path = base 91 chrome/browser/shell_integration_win_unittest.cc base::IntToString16(shortcuts_.size()) + base 96 chrome/browser/shell_integration_win_unittest.cc ASSERT_TRUE(base::win::CreateOrUpdateShortcutLink( base 98 chrome/browser/shell_integration_win_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)); base 105 chrome/browser/shell_integration_win_unittest.cc base::win::ShortcutProperties temp_properties; base 129 chrome/browser/shell_integration_win_unittest.cc base::string16 chrome_app_id_is_prefix(chrome_app_id_); base 138 chrome/browser/shell_integration_win_unittest.cc base::string16 same_size_as_chrome_app_id(L'1', chrome_app_id_.size()); base 199 chrome/browser/shell_integration_win_unittest.cc base::win::ScopedCOMInitializer com_initializer_; base 201 chrome/browser/shell_integration_win_unittest.cc base::ScopedTempDir temp_dir_; base 207 chrome/browser/shell_integration_win_unittest.cc base::FilePath chrome_exe_; base 210 chrome/browser/shell_integration_win_unittest.cc base::FilePath other_target_; base 213 chrome/browser/shell_integration_win_unittest.cc base::string16 chrome_app_id_; base 216 chrome/browser/shell_integration_win_unittest.cc base::string16 non_default_profile_; base 219 chrome/browser/shell_integration_win_unittest.cc base::FilePath non_default_user_data_dir_; base 222 chrome/browser/shell_integration_win_unittest.cc base::string16 non_default_profile_chrome_app_id_; base 225 chrome/browser/shell_integration_win_unittest.cc base::string16 non_default_user_data_dir_chrome_app_id_; base 229 chrome/browser/shell_integration_win_unittest.cc base::string16 non_default_user_data_dir_and_profile_chrome_app_id_; base 232 chrome/browser/shell_integration_win_unittest.cc base::string16 app_list_app_id_; base 235 chrome/browser/shell_integration_win_unittest.cc base::string16 extension_id_; base 238 chrome/browser/shell_integration_win_unittest.cc base::string16 extension_app_id_; base 241 chrome/browser/shell_integration_win_unittest.cc base::string16 non_default_profile_extension_app_id_; base 248 chrome/browser/shell_integration_win_unittest.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 270 chrome/browser/shell_integration_win_unittest.cc base::win::ValidateShortcut(shortcuts_[i].path, shortcuts_[i].properties); base 281 chrome/browser/shell_integration_win_unittest.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 314 chrome/browser/shell_integration_win_unittest.cc base::win::ValidateShortcut(shortcuts_[i].path, shortcuts_[i].properties); base 323 chrome/browser/shell_integration_win_unittest.cc const base::string16 base_app_id( base 327 chrome/browser/shell_integration_win_unittest.cc base::FilePath empty_path; base 332 chrome/browser/shell_integration_win_unittest.cc base::FilePath default_user_data_dir; base 334 chrome/browser/shell_integration_win_unittest.cc base::FilePath default_profile_path = base 342 chrome/browser/shell_integration_win_unittest.cc base::FilePath profile_path(FILE_PATH_LITERAL("root")); base 351 chrome/browser/shell_integration_win_unittest.cc base::string16 base_app_id( base 356 chrome/browser/shell_integration_win_unittest.cc base::FilePath empty_path; base 361 chrome/browser/shell_integration_win_unittest.cc base::FilePath default_user_data_dir; base 363 chrome/browser/shell_integration_win_unittest.cc base::FilePath default_profile_path = base 371 chrome/browser/shell_integration_win_unittest.cc base::FilePath profile_path(FILE_PATH_LITERAL("root")); base 229 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 250 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 268 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 270 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 290 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 292 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 312 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 336 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 342 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 344 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 375 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 383 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 385 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 410 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 416 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 418 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 422 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 424 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 445 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 447 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 449 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 473 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 475 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 500 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 502 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 504 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 533 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 535 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 562 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 564 chrome/browser/signin/account_reconcilor_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1)); base 566 chrome/browser/signin/account_reconcilor_unittest.cc base::RunLoop().RunUntilIdle(); base 18 chrome/browser/signin/android_profile_oauth2_token_service.cc using base::android::AttachCurrentThread; base 19 chrome/browser/signin/android_profile_oauth2_token_service.cc using base::android::ConvertJavaStringToUTF8; base 20 chrome/browser/signin/android_profile_oauth2_token_service.cc using base::android::ConvertUTF8ToJavaString; base 21 chrome/browser/signin/android_profile_oauth2_token_service.cc using base::android::ScopedJavaLocalRef; base 45 chrome/browser/signin/android_profile_oauth2_token_service.cc typedef base::Callback<void( base 46 chrome/browser/signin/android_profile_oauth2_token_service.cc const GoogleServiceAuthError&, const std::string&, const base::Time&)> base 53 chrome/browser/signin/android_profile_oauth2_token_service.cc base::android::ScopedJavaLocalRef<jobject> local_java_ref = base 83 chrome/browser/signin/android_profile_oauth2_token_service.cc env, base::android::GetApplicationContext(), base 93 chrome/browser/signin/android_profile_oauth2_token_service.cc env, base::android::GetApplicationContext()); base 95 chrome/browser/signin/android_profile_oauth2_token_service.cc base::android::AppendJavaStringArrayToStringVector(env, base 122 chrome/browser/signin/android_profile_oauth2_token_service.cc new FetchOAuth2TokenCallback(base::Bind(&RequestImpl::InformConsumer, base 127 chrome/browser/signin/android_profile_oauth2_token_service.cc env, base::android::GetApplicationContext(), base 156 chrome/browser/signin/android_profile_oauth2_token_service.cc env, base::android::GetApplicationContext(), base 165 chrome/browser/signin/android_profile_oauth2_token_service.cc base::android::AppendJavaStringArrayToStringVector(env, base 269 chrome/browser/signin/android_profile_oauth2_token_service.cc heap_callback->Run(err, token, base::Time()); base 108 chrome/browser/signin/android_profile_oauth2_token_service.h base::android::ScopedJavaGlobalRef<jobject> java_ref_; base 29 chrome/browser/signin/easy_unlock.cc new base::DictionaryValue(), base 72 chrome/browser/signin/fake_profile_oauth2_token_service.cc const base::Time& expiration) { base 84 chrome/browser/signin/fake_profile_oauth2_token_service.cc const base::Time& expiration) { base 96 chrome/browser/signin/fake_profile_oauth2_token_service.cc CompleteRequests("", false, scope, error, std::string(), base::Time()); base 101 chrome/browser/signin/fake_profile_oauth2_token_service.cc CompleteRequests("", true, ScopeSet(), error, std::string(), base::Time()); base 106 chrome/browser/signin/fake_profile_oauth2_token_service.cc const base::Time& expiration) { base 121 chrome/browser/signin/fake_profile_oauth2_token_service.cc const base::Time& expiration) { base 179 chrome/browser/signin/fake_profile_oauth2_token_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 181 chrome/browser/signin/fake_profile_oauth2_token_service.cc base::Unretained(this), base 184 chrome/browser/signin/fake_profile_oauth2_token_service.cc base::Time::Max())); base 55 chrome/browser/signin/fake_profile_oauth2_token_service.h base::WeakPtr<RequestImpl> request; base 92 chrome/browser/signin/fake_profile_oauth2_token_service.h const base::Time& expiration); base 96 chrome/browser/signin/fake_profile_oauth2_token_service.h const base::Time& expiration); base 102 chrome/browser/signin/fake_profile_oauth2_token_service.h const base::Time& expiration); base 142 chrome/browser/signin/fake_profile_oauth2_token_service.h const base::Time& expiration); base 40 chrome/browser/signin/local_auth.cc base::Time start_time = base::Time::Now(); base 54 chrome/browser/signin/local_auth.cc base::Time::Now() - start_time); base 70 chrome/browser/signin/local_auth.cc base::Base64Encode(encoded, &encoded64); base 90 chrome/browser/signin/local_auth.cc if (!base::Base64Decode(encoded.substr(1), &unbase64)) base 50 chrome/browser/signin/local_auth_unittest.cc base::Base64Decode(passhash.substr(1), &decodedhash); base 22 chrome/browser/signin/profile_oauth2_token_service_request.cc : public base::RefCountedThreadSafe<ProfileOAuth2TokenServiceRequest::Core>, base 43 chrome/browser/signin/profile_oauth2_token_service_request.cc const base::Time& expiration_time) OVERRIDE; base 49 chrome/browser/signin/profile_oauth2_token_service_request.cc base::RefCountedThreadSafe<ProfileOAuth2TokenServiceRequest::Core>; base 66 chrome/browser/signin/profile_oauth2_token_service_request.cc base::Time expiration_time); base 76 chrome/browser/signin/profile_oauth2_token_service_request.cc scoped_refptr<base::SingleThreadTaskRunner> owner_task_runner_; base 91 chrome/browser/signin/profile_oauth2_token_service_request.cc owner_task_runner_(base::ThreadTaskRunnerHandle::Get()) { base 110 chrome/browser/signin/profile_oauth2_token_service_request.cc base::Bind(&ProfileOAuth2TokenServiceRequest::Core::StartOnUIThread, base 127 chrome/browser/signin/profile_oauth2_token_service_request.cc base::Bind(&ProfileOAuth2TokenServiceRequest::Core::StopOnUIThread, base 162 chrome/browser/signin/profile_oauth2_token_service_request.cc const base::Time& expiration_time) { base 165 chrome/browser/signin/profile_oauth2_token_service_request.cc owner_task_runner_->PostTask(FROM_HERE, base::Bind( base 178 chrome/browser/signin/profile_oauth2_token_service_request.cc owner_task_runner_->PostTask(FROM_HERE, base::Bind( base 187 chrome/browser/signin/profile_oauth2_token_service_request.cc base::Time expiration_time) { base 25 chrome/browser/signin/profile_oauth2_token_service_request.h public base::NonThreadSafe { base 32 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc const base::Time& expiration_time) OVERRIDE; base 55 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc const base::Time& expiration_date) { base 72 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc base::MessageLoop ui_loop_; base 118 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc base::Time::Max()); base 136 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc base::Time::Max()); base 152 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc base::Time::Max()); base 43 chrome/browser/signin/signin_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data")))); base 181 chrome/browser/signin/signin_browsertest.cc const base::string16& frame_unique_name, base 201 chrome/browser/signin/signin_error_notifier_ash.cc base::string16(), // display_source base 202 chrome/browser/signin/signin_error_notifier_ash.cc base::ASCIIToUTF16(notification_id_), base 213 chrome/browser/signin/signin_error_notifier_ash.cc base::string16 SigninErrorNotifier::GetMessageBody() const { base 32 chrome/browser/signin/signin_error_notifier_ash.h base::string16 GetMessageBody() const; base 103 chrome/browser/signin/signin_error_notifier_ash_unittest.cc void GetMessage(base::string16* message) { base 154 chrome/browser/signin/signin_error_notifier_ash_unittest.cc base::string16 message; base 168 chrome/browser/signin/signin_error_notifier_ash_unittest.cc base::string16 new_message; base 54 chrome/browser/signin/signin_global_error.cc base::string16 SigninGlobalError::MenuItemLabel() { base 58 chrome/browser/signin/signin_global_error.cc return base::string16(); base 90 chrome/browser/signin/signin_global_error.cc base::string16 SigninGlobalError::GetBubbleViewTitle() { base 94 chrome/browser/signin/signin_global_error.cc std::vector<base::string16> SigninGlobalError::GetBubbleViewMessages() { base 95 chrome/browser/signin/signin_global_error.cc std::vector<base::string16> messages; base 135 chrome/browser/signin/signin_global_error.cc base::string16 SigninGlobalError::GetBubbleViewAcceptButtonLabel() { base 147 chrome/browser/signin/signin_global_error.cc base::string16 SigninGlobalError::GetBubbleViewCancelButtonLabel() { base 148 chrome/browser/signin/signin_global_error.cc return base::string16(); base 32 chrome/browser/signin/signin_global_error.h virtual base::string16 MenuItemLabel() OVERRIDE; base 35 chrome/browser/signin/signin_global_error.h virtual base::string16 GetBubbleViewTitle() OVERRIDE; base 36 chrome/browser/signin/signin_global_error.h virtual std::vector<base::string16> GetBubbleViewMessages() OVERRIDE; base 37 chrome/browser/signin/signin_global_error.h virtual base::string16 GetBubbleViewAcceptButtonLabel() OVERRIDE; base 38 chrome/browser/signin/signin_global_error.h virtual base::string16 GetBubbleViewCancelButtonLabel() OVERRIDE; base 115 chrome/browser/signin/signin_header_helper.cc base::Bind(ShowAvatarBubbleUIThread, child_id, route_id)); base 100 chrome/browser/signin/signin_manager_factory.cc new base::ListValue, base 213 chrome/browser/signin/signin_manager_unittest.cc base::Bind(&SigninManagerTest::CompleteSigninCallback, base 214 chrome/browser/signin/signin_manager_unittest.cc base::Unretained(this)); base 28 chrome/browser/signin/signin_names_io_thread.cc base::string16 email = cache.GetUserNameOfProfileAtIndex(i); base 76 chrome/browser/signin/signin_names_io_thread.cc PostTaskToIOThread(true, base::UTF8ToUTF16(username)); base 80 chrome/browser/signin/signin_names_io_thread.cc PostTaskToIOThread(false, base::UTF8ToUTF16(username)); base 92 chrome/browser/signin/signin_names_io_thread.cc const base::string16& email) { base 99 chrome/browser/signin/signin_names_io_thread.cc base::Bind(&SigninNamesOnIOThread::UpdateOnIOThread, base 100 chrome/browser/signin/signin_names_io_thread.cc base::Unretained(this), base 108 chrome/browser/signin/signin_names_io_thread.cc const base::string16& email) { base 29 chrome/browser/signin/signin_names_io_thread.h typedef std::set<base::string16> EmailSet; base 61 chrome/browser/signin/signin_names_io_thread.h void PostTaskToIOThread(bool add, const base::string16& email); base 64 chrome/browser/signin/signin_names_io_thread.h void UpdateOnIOThread(bool add, const base::string16& email); base 28 chrome/browser/signin/signin_names_io_thread_unittest.cc void SimulateSignin(const base::string16& email); base 29 chrome/browser/signin/signin_names_io_thread_unittest.cc void AddNewProfile(const base::string16& name, const base::string16& email); base 31 chrome/browser/signin/signin_names_io_thread_unittest.cc base::MessageLoop message_loop_; base 61 chrome/browser/signin/signin_names_io_thread_unittest.cc void SigninNamesOnIOThreadTest::SimulateSignin(const base::string16& email) { base 62 chrome/browser/signin/signin_names_io_thread_unittest.cc signin_manager_->SignIn(base::UTF16ToUTF8(email), "password"); base 65 chrome/browser/signin/signin_names_io_thread_unittest.cc void SigninNamesOnIOThreadTest::AddNewProfile(const base::string16& name, base 66 chrome/browser/signin/signin_names_io_thread_unittest.cc const base::string16& email) { base 68 chrome/browser/signin/signin_names_io_thread_unittest.cc const base::FilePath& user_data_dir = cache->GetUserDataDir(); base 70 chrome/browser/signin/signin_names_io_thread_unittest.cc const base::FilePath profile_dir = base 71 chrome/browser/signin/signin_names_io_thread_unittest.cc user_data_dir.Append(base::UTF16ToUTF8(name)); base 73 chrome/browser/signin/signin_names_io_thread_unittest.cc const base::FilePath profile_dir = user_data_dir.Append(name); base 83 chrome/browser/signin/signin_names_io_thread_unittest.cc const base::string16 email = base::UTF8ToUTF16("foo@gmail.com"); base 92 chrome/browser/signin/signin_names_io_thread_unittest.cc const base::string16 email = base::UTF8ToUTF16("foo@gmail.com"); base 102 chrome/browser/signin/signin_names_io_thread_unittest.cc const base::string16 email1 = base::UTF8ToUTF16("foo@gmail.com"); base 103 chrome/browser/signin/signin_names_io_thread_unittest.cc const base::string16 email2 = base::UTF8ToUTF16("bar@gmail.com"); base 104 chrome/browser/signin/signin_names_io_thread_unittest.cc AddNewProfile(base::UTF8ToUTF16("foo"), email1); base 105 chrome/browser/signin/signin_names_io_thread_unittest.cc AddNewProfile(base::UTF8ToUTF16("bar"), email2); base 106 chrome/browser/signin/signin_names_io_thread_unittest.cc AddNewProfile(base::UTF8ToUTF16("toto"), base::string16()); base 173 chrome/browser/signin/signin_promo.cc std::string url = base::StringPrintf(kSignInLandingUrlPrefix, locale.c_str()); base 174 chrome/browser/signin/signin_promo.cc base::StringAppendF(&url, "?%s=%d", option, value); base 194 chrome/browser/signin/signin_promo.cc base::StringAppendF(&url, "?%s=%d", kSignInPromoQueryKeySource, source); base 196 chrome/browser/signin/signin_promo.cc base::StringAppendF(&url, "&%s=1", kSignInPromoQueryKeyAutoClose); base 198 chrome/browser/signin/signin_promo.cc base::StringAppendF(&url, "&%s=1", kSignInPromoQueryKeyConstrained); base 203 chrome/browser/signin/signin_promo.cc base::StringAppendF(&url, base 231 chrome/browser/signin/signin_promo.cc base::StringAppendF( base 235 chrome/browser/signin/signin_promo.cc base::StringAppendF( base 279 chrome/browser/signin/signin_promo.cc if (base::StringToInt(value, &source) && source >= SOURCE_START_PAGE && base 291 chrome/browser/signin/signin_promo.cc if (base::StringToInt(value, &enabled) && enabled == 1) base 302 chrome/browser/signin/signin_promo.cc GURL(base::StringPrintf(kSignInLandingUrlPrefix, locale.c_str())); base 66 chrome/browser/signin/signin_ui_util.cc base::string16 GetSigninMenuLabel(Profile* profile) { base 84 chrome/browser/signin/signin_ui_util.cc base::string16 elided_username = gfx::ElideEmail( base 85 chrome/browser/signin/signin_ui_util.cc base::UTF8ToUTF16(username), gfx::FontList(), kUsernameMaxWidth); base 98 chrome/browser/signin/signin_ui_util.cc base::string16* status_label, base 99 chrome/browser/signin/signin_ui_util.cc base::string16* link_label) { base 100 chrome/browser/signin/signin_ui_util.cc base::string16 username = base 101 chrome/browser/signin/signin_ui_util.cc base::UTF8ToUTF16(signin_manager.GetAuthenticatedUsername()); base 102 chrome/browser/signin/signin_ui_util.cc base::string16 product_name = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME); base 29 chrome/browser/signin/signin_ui_util.h base::string16 GetSigninMenuLabel(Profile* profile); base 33 chrome/browser/signin/signin_ui_util.h base::string16* status_label, base 34 chrome/browser/signin/signin_ui_util.h base::string16* link_label); base 14 chrome/browser/site_details.h typedef base::hash_map<int32, std::set<GURL> > BrowsingInstanceSiteMap; base 30 chrome/browser/site_details.h typedef base::hash_map<content::BrowserContext*, SiteData> base 70 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc : public base::RefCountedThreadSafe<OptionalRequestInfo> { base 79 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Bind(&OptionalRequestInfo::CheckUMAAndGetHardwareInfo, this)); base 90 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Bind(&OptionalRequestInfo::GetHardwareInfo, this)); base 97 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::AutoLock lock(lock_); base 99 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::string16 device_model = base 102 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc value_ = base::UTF16ToUTF8( base 105 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc value_ = base::UTF16ToUTF8(device_model); base 110 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::AutoLock lock(lock_); base 115 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::AutoLock lock(lock_); base 124 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Lock lock_; base 137 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc : public base::RefCountedThreadSafe<TabWatcher>, base 140 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc typedef base::Callback<void(int render_process_id, int render_view_id)> base 152 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 280 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 293 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Bind(&ChromeSpeechRecognitionManagerDelegate::TabClosedCallback, base 294 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Unretained(this))); base 351 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Callback<void(bool ask_user, bool is_allowed)> callback) { base 373 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Bind(&CheckRenderViewType, base 398 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Callback<void(bool ask_user, bool is_allowed)> callback, base 421 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Bind(callback, check_permission, allowed)); base 462 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc base::Bind(callback, check_permission, allowed)); base 46 chrome/browser/speech/chrome_speech_recognition_manager_delegate.h base::Callback<void(bool ask_user, bool is_allowed)> callback) OVERRIDE; base 60 chrome/browser/speech/chrome_speech_recognition_manager_delegate.h base::Callback<void(bool ask_user, bool is_allowed)> callback, base 136 chrome/browser/speech/extension_api/tts_engine_extension_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 137 chrome/browser/speech/extension_api/tts_engine_extension_api.cc args->Set(0, base::Value::CreateStringValue(utterance->text())); base 141 chrome/browser/speech/extension_api/tts_engine_extension_api.cc scoped_ptr<base::DictionaryValue> options(static_cast<base::DictionaryValue*>( base 165 chrome/browser/speech/extension_api/tts_engine_extension_api.cc args->Set(2, base::Value::CreateIntegerValue(utterance->id())); base 175 chrome/browser/speech/extension_api/tts_engine_extension_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 184 chrome/browser/speech/extension_api/tts_engine_extension_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 196 chrome/browser/speech/extension_api/tts_engine_extension_api.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 211 chrome/browser/speech/extension_api/tts_engine_extension_api.cc base::DictionaryValue* event; base 16 chrome/browser/speech/extension_api/tts_engine_extension_api.h namespace base { base 87 chrome/browser/speech/extension_api/tts_extension_api.cc public base::SupportsWeakPtr<TtsExtensionEventHandler> { base 115 chrome/browser/speech/extension_api/tts_extension_api.cc scoped_ptr<base::DictionaryValue> details(new base::DictionaryValue()); base 125 chrome/browser/speech/extension_api/tts_extension_api.cc scoped_ptr<base::ListValue> arguments(new base::ListValue()); base 148 chrome/browser/speech/extension_api/tts_extension_api.cc scoped_ptr<base::DictionaryValue> options(new base::DictionaryValue()); base 150 chrome/browser/speech/extension_api/tts_extension_api.cc base::DictionaryValue* temp_options = NULL; base 223 chrome/browser/speech/extension_api/tts_extension_api.cc base::ListValue* list; base 235 chrome/browser/speech/extension_api/tts_extension_api.cc base::ListValue* list; base 306 chrome/browser/speech/extension_api/tts_extension_api.cc SetResult(base::Value::CreateBooleanValue( base 315 chrome/browser/speech/extension_api/tts_extension_api.cc scoped_ptr<base::ListValue> result_voices(new base::ListValue()); base 318 chrome/browser/speech/extension_api/tts_extension_api.cc base::DictionaryValue* result_voice = new base::DictionaryValue(); base 330 chrome/browser/speech/extension_api/tts_extension_api.cc base::ListValue* event_types = new base::ListValue(); base 334 chrome/browser/speech/extension_api/tts_extension_api.cc event_types->Append(base::Value::CreateStringValue(event_name_constant)); base 360 chrome/browser/speech/extension_api/tts_extension_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<TtsAPI> > g_factory = base 91 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::MessageLoop::current()->PostDelayedTask( base 92 chrome/browser/speech/extension_api/tts_extension_apitest.cc FROM_HERE, base::Bind( base 96 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::TimeDelta()); base 104 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::MessageLoop::current()->PostDelayedTask( base 105 chrome/browser/speech/extension_api/tts_extension_apitest.cc FROM_HERE, base::Bind( base 110 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::TimeDelta()); base 119 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::MessageLoop::current()->PostDelayedTask( base 120 chrome/browser/speech/extension_api/tts_extension_apitest.cc FROM_HERE, base::Bind( base 124 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::TimeDelta()); base 134 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::MessageLoop::current()->PostDelayedTask( base 135 chrome/browser/speech/extension_api/tts_extension_apitest.cc FROM_HERE, base::Bind( base 140 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::TimeDelta()); base 152 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::MessageLoop::current()->PostDelayedTask( base 153 chrome/browser/speech/extension_api/tts_extension_apitest.cc FROM_HERE, base::Bind( base 157 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::TimeDelta::FromMilliseconds(100)); base 165 chrome/browser/speech/extension_api/tts_extension_apitest.cc base::WeakPtrFactory<MockTtsPlatformImpl> ptr_factory_; base 44 chrome/browser/speech/speech_recognition_bubble.cc friend struct base::DefaultLazyInstanceTraits<SpeechRecognitionBubbleImages>; base 117 chrome/browser/speech/speech_recognition_bubble.cc base::LazyInstance<SpeechRecognitionBubbleImages> g_images = base 186 chrome/browser/speech/speech_recognition_bubble.cc base::MessageLoop::current()->PostDelayedTask( base 188 chrome/browser/speech/speech_recognition_bubble.cc base::Bind(&SpeechRecognitionBubbleBase::DoWarmingUpAnimationStep, base 190 chrome/browser/speech/speech_recognition_bubble.cc base::TimeDelta::FromMilliseconds( base 215 chrome/browser/speech/speech_recognition_bubble.cc base::MessageLoop::current()->PostDelayedTask( base 217 chrome/browser/speech/speech_recognition_bubble.cc base::Bind(&SpeechRecognitionBubbleBase::DoRecognizingAnimationStep, base 219 chrome/browser/speech/speech_recognition_bubble.cc base::TimeDelta::FromMilliseconds(kRecognizingAnimationStepMs)); base 222 chrome/browser/speech/speech_recognition_bubble.cc void SpeechRecognitionBubbleBase::SetMessage(const base::string16& text) { base 106 chrome/browser/speech/speech_recognition_bubble.h virtual void SetMessage(const base::string16& text) = 0; base 149 chrome/browser/speech/speech_recognition_bubble.h virtual void SetMessage(const base::string16& text) OVERRIDE; base 162 chrome/browser/speech/speech_recognition_bubble.h const base::string16& message_text() const { return message_text_; } base 176 chrome/browser/speech/speech_recognition_bubble.h base::WeakPtrFactory<SpeechRecognitionBubbleBase> weak_factory_; base 180 chrome/browser/speech/speech_recognition_bubble.h base::string16 message_text_; // Text displayed in DISPLAY_MODE_MESSAGE base 45 chrome/browser/speech/speech_recognition_bubble_controller.cc base::AutoLock auto_lock(lock_); base 67 chrome/browser/speech/speech_recognition_bubble_controller.cc const base::string16& text) { base 88 chrome/browser/speech/speech_recognition_bubble_controller.cc base::AutoLock auto_lock(lock_); base 97 chrome/browser/speech/speech_recognition_bubble_controller.cc base::AutoLock auto_lock(lock_); base 109 chrome/browser/speech/speech_recognition_bubble_controller.cc base::AutoLock auto_lock(lock_); base 117 chrome/browser/speech/speech_recognition_bubble_controller.cc base::Bind( base 125 chrome/browser/speech/speech_recognition_bubble_controller.cc base::Bind(&SpeechRecognitionBubbleController::InvokeDelegateFocusChanged, base 133 chrome/browser/speech/speech_recognition_bubble_controller.cc base::AutoLock auto_lock(lock_); base 143 chrome/browser/speech/speech_recognition_bubble_controller.cc base::AutoLock auto_lock(lock_); base 155 chrome/browser/speech/speech_recognition_bubble_controller.cc base::Bind(&SpeechRecognitionBubbleController::ProcessRequestInUiThread, base 178 chrome/browser/speech/speech_recognition_bubble_controller.cc base::Bind( base 20 chrome/browser/speech/speech_recognition_bubble_controller.h : public base::RefCountedThreadSafe<SpeechRecognitionBubbleController>, base 53 chrome/browser/speech/speech_recognition_bubble_controller.h void SetBubbleMessage(const base::string16& text); base 78 chrome/browser/speech/speech_recognition_bubble_controller.h friend class base::RefCountedThreadSafe<SpeechRecognitionBubbleController>; base 92 chrome/browser/speech/speech_recognition_bubble_controller.h base::string16 message; base 117 chrome/browser/speech/speech_recognition_bubble_controller.h base::Lock lock_; base 40 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc base::MessageLoop::current()->PostTask( base 41 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc FROM_HERE, base::Bind(&InvokeDelegate, delegate)); base 131 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc test_fixture_->controller_->SetBubbleMessage(base::ASCIIToUTF16("Test")); base 143 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 144 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc base::Bind(&ActivateBubble)); base 174 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 188 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 202 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 15 chrome/browser/speech/tts_android.cc using base::android::AttachCurrentThread; base 28 chrome/browser/speech/tts_android.cc base::android::GetApplicationContext())); base 53 chrome/browser/speech/tts_android.cc base::android::ConvertUTF8ToJavaString(env, utterance).Release(), base 54 chrome/browser/speech/tts_android.cc base::android::ConvertUTF8ToJavaString(env, lang).Release(), base 94 chrome/browser/speech/tts_android.cc data.name = base::android::ConvertJavaStringToUTF8( base 96 chrome/browser/speech/tts_android.cc data.lang = base::android::ConvertJavaStringToUTF8( base 47 chrome/browser/speech/tts_android.h base::android::ScopedJavaGlobalRef<jobject> java_ref_; base 82 chrome/browser/speech/tts_controller.cc options_.reset(new base::DictionaryValue()); base 107 chrome/browser/speech/tts_controller.cc void Utterance::set_options(const base::Value* options) { base 22 chrome/browser/speech/tts_controller.h namespace base { base 121 chrome/browser/speech/tts_controller.h void set_options(const base::Value* options); base 122 chrome/browser/speech/tts_controller.h const base::Value* options() const { return options_.get(); } base 183 chrome/browser/speech/tts_controller.h base::WeakPtr<UtteranceEventDelegate> event_delegate) { base 213 chrome/browser/speech/tts_controller.h scoped_ptr<base::Value> options_; base 227 chrome/browser/speech/tts_controller.h base::WeakPtr<UtteranceEventDelegate> event_delegate_; base 75 chrome/browser/speech/tts_linux.cc base::Lock initialization_lock_; base 104 chrome/browser/speech/tts_linux.cc base::Bind(&TtsPlatformImplLinux::Initialize, base 105 chrome/browser/speech/tts_linux.cc base::Unretained(this))); base 109 chrome/browser/speech/tts_linux.cc base::AutoLock lock(initialization_lock_); base 142 chrome/browser/speech/tts_linux.cc base::AutoLock lock(initialization_lock_); base 150 chrome/browser/speech/tts_linux.cc base::AutoLock lock(initialization_lock_); base 318 chrome/browser/speech/tts_linux.cc base::Bind(&TtsPlatformImplLinux::OnSpeechEvent, base 319 chrome/browser/speech/tts_linux.cc base::Unretained(TtsPlatformImplLinux::GetInstance()), base 337 chrome/browser/speech/tts_linux.cc base::Bind(&TtsPlatformImplLinux::OnSpeechEvent, base 338 chrome/browser/speech/tts_linux.cc base::Unretained(TtsPlatformImplLinux::GetInstance()), base 55 chrome/browser/speech/tts_message_filter.cc base::Bind(&TtsMessageFilter::OnChannelClosingInUIThread, this)); base 19 chrome/browser/speech/tts_message_filter.h public base::SupportsWeakPtr<TtsMessageFilter> { base 50 chrome/browser/speech/tts_win.cc base::win::ScopedComPtr<ISpVoice> speech_synthesizer_; base 98 chrome/browser/speech/tts_win.cc base::IntToString16(static_cast<int>(params.pitch * 10 - 10)); base 110 chrome/browser/speech/tts_win.cc utterance_ = base::UTF8ToWide(src_utterance); base 50 chrome/browser/spellchecker/feedback.cc base::STLSetDifference<std::vector<uint32> >(renderer_hashes, base 180 chrome/browser/spellchecker/feedback.cc const base::string16& misspelled_text) const { base 85 chrome/browser/spellchecker/feedback.h const base::string16& misspelled_text) const; base 91 chrome/browser/spellchecker/feedback.h typedef std::map<base::string16, HashCollection> TextHashesMap; base 66 chrome/browser/spellchecker/feedback_sender.cc uint32 BuildHash(const base::Time& session_start, size_t suggestion_index) { base 67 chrome/browser/spellchecker/feedback_sender.cc return base::Hash( base 68 chrome/browser/spellchecker/feedback_sender.cc base::StringPrintf("%" PRId64 "%" PRId64 "%" PRIuS, base 70 chrome/browser/spellchecker/feedback_sender.cc base::Time::Now().ToInternalValue(), base 77 chrome/browser/spellchecker/feedback_sender.cc const base::string16& text) { base 79 chrome/browser/spellchecker/feedback_sender.cc base::string16 context = TrimWords(&start, base 86 chrome/browser/spellchecker/feedback_sender.cc std::vector<base::string16>(1, result.replacement), base 91 chrome/browser/spellchecker/feedback_sender.cc base::ListValue* BuildSuggestionInfo( base 94 chrome/browser/spellchecker/feedback_sender.cc base::ListValue* list = new base::ListValue; base 99 chrome/browser/spellchecker/feedback_sender.cc base::DictionaryValue* suggestion = suggestion_it->Serialize(); base 109 chrome/browser/spellchecker/feedback_sender.cc base::DictionaryValue* BuildParams(base::ListValue* suggestion_info, base 112 chrome/browser/spellchecker/feedback_sender.cc base::DictionaryValue* params = new base::DictionaryValue; base 123 chrome/browser/spellchecker/feedback_sender.cc base::Value* BuildFeedbackValue(base::DictionaryValue* params, base 125 chrome/browser/spellchecker/feedback_sender.cc base::DictionaryValue* result = new base::DictionaryValue; base 146 chrome/browser/spellchecker/feedback_sender.cc if (base::FieldTrialList::FindFullName(kFeedbackFieldTrialName) == base 165 chrome/browser/spellchecker/feedback_sender.cc session_start_(base::Time::Now()), base 189 chrome/browser/spellchecker/feedback_sender.cc misspelling->timestamp = base::Time::Now(); base 199 chrome/browser/spellchecker/feedback_sender.cc misspelling->timestamp = base::Time::Now(); base 229 chrome/browser/spellchecker/feedback_sender.cc misspelling->timestamp = base::Time::Now(); base 233 chrome/browser/spellchecker/feedback_sender.cc const base::string16& correction) { base 241 chrome/browser/spellchecker/feedback_sender.cc misspelling->timestamp = base::Time::Now(); base 247 chrome/browser/spellchecker/feedback_sender.cc if ((base::Time::Now() - session_start_).InHours() >= base 265 chrome/browser/spellchecker/feedback_sender.cc const base::string16& text, base 319 chrome/browser/spellchecker/feedback_sender.cc base::StringToInt(CommandLine::ForCurrentProcess()->GetSwitchValueASCII( base 330 chrome/browser/spellchecker/feedback_sender.cc base::TimeDelta::FromSeconds(interval_seconds), base 371 chrome/browser/spellchecker/feedback_sender.cc base::STLSetDifference<std::vector<int> >(known_renderers, base 376 chrome/browser/spellchecker/feedback_sender.cc base::MessageLoop::current()->PostTask( base 378 chrome/browser/spellchecker/feedback_sender.cc base::Bind(&FeedbackSender::OnReceiveDocumentMarkers, base 393 chrome/browser/spellchecker/feedback_sender.cc session_start_ = base::Time::Now(); base 399 chrome/browser/spellchecker/feedback_sender.cc scoped_ptr<base::Value> feedback_value(BuildFeedbackValue( base 405 chrome/browser/spellchecker/feedback_sender.cc base::JSONWriter::Write(feedback_value.get(), &feedback); base 52 chrome/browser/spellchecker/feedback_sender.h class FeedbackSender : public base::SupportsWeakPtr<FeedbackSender>, base 77 chrome/browser/spellchecker/feedback_sender.h void ManuallyCorrected(uint32 hash, const base::string16& correction); base 97 chrome/browser/spellchecker/feedback_sender.h const base::string16& text, base 156 chrome/browser/spellchecker/feedback_sender.h base::Time session_start_; base 165 chrome/browser/spellchecker/feedback_sender.h base::RepeatingTimer<FeedbackSender> timer_; base 44 chrome/browser/spellchecker/feedback_sender_unittest.cc base::UTF8ToUTF16("Hello")); base 88 chrome/browser/spellchecker/feedback_sender_unittest.cc new base::FieldTrialList(new metrics::SHA1EntropyProvider("foo"))); base 89 chrome/browser/spellchecker/feedback_sender_unittest.cc field_trial_ = base::FieldTrialList::CreateFieldTrial( base 99 chrome/browser/spellchecker/feedback_sender_unittest.cc base::UTF8ToUTF16(kText), base 107 chrome/browser/spellchecker/feedback_sender_unittest.cc base::Time::Now() - base 108 chrome/browser/spellchecker/feedback_sender_unittest.cc base::TimeDelta::FromHours(chrome::spellcheck_common::kSessionHours); base 145 chrome/browser/spellchecker/feedback_sender_unittest.cc base::MessageLoop loop_; base 147 chrome/browser/spellchecker/feedback_sender_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 148 chrome/browser/spellchecker/feedback_sender_unittest.cc scoped_refptr<base::FieldTrial> field_trial_; base 244 chrome/browser/spellchecker/feedback_sender_unittest.cc feedback_->ManuallyCorrected(hash, base::ASCIIToUTF16(kManualCorrection)); base 258 chrome/browser/spellchecker/feedback_sender_unittest.cc base::ASCIIToUTF16("Hello"))); base 264 chrome/browser/spellchecker/feedback_sender_unittest.cc base::ASCIIToUTF16("world"))); base 266 chrome/browser/spellchecker/feedback_sender_unittest.cc base::UTF8ToUTF16(kText), base 282 chrome/browser/spellchecker/feedback_sender_unittest.cc std::string hash_string = base::StringPrintf("\"suggestionId\":\"%u\"", hash); base 313 chrome/browser/spellchecker/feedback_sender_unittest.cc base::ASCIIToUTF16("Hello"))); base 315 chrome/browser/spellchecker/feedback_sender_unittest.cc base::UTF8ToUTF16(kText), base 325 chrome/browser/spellchecker/feedback_sender_unittest.cc base::StringPrintf("\"suggestionId\":\"%u\"", original_hash); base 350 chrome/browser/spellchecker/feedback_sender_unittest.cc base::ASCIIToUTF16("Hello")); base 352 chrome/browser/spellchecker/feedback_sender_unittest.cc kRendererProcessId, base::UTF8ToUTF16(kText), original_markers, &results); base 364 chrome/browser/spellchecker/feedback_sender_unittest.cc base::StringPrintf("\"suggestionId\":\"%u\"", updated_hash); base 419 chrome/browser/spellchecker/feedback_sender_unittest.cc scoped_ptr<base::DictionaryValue> actual( base 420 chrome/browser/spellchecker/feedback_sender_unittest.cc static_cast<base::DictionaryValue*>(base::JSONReader::Read(actual_data))); base 422 chrome/browser/spellchecker/feedback_sender_unittest.cc base::ListValue* suggestions = NULL; base 424 chrome/browser/spellchecker/feedback_sender_unittest.cc base::DictionaryValue* suggestion = NULL; base 446 chrome/browser/spellchecker/feedback_sender_unittest.cc scoped_ptr<base::Value> expected(base::JSONReader::Read(expected_data)); base 509 chrome/browser/spellchecker/feedback_sender_unittest.cc base::ASCIIToUTF16("Hello"))); base 514 chrome/browser/spellchecker/feedback_sender_unittest.cc kRendererProcessId, base::UTF8ToUTF16(kText), markers, &results); base 524 chrome/browser/spellchecker/feedback_sender_unittest.cc static const base::string16 kTextWithDuplicates = base 525 chrome/browser/spellchecker/feedback_sender_unittest.cc base::ASCIIToUTF16("Helllo world. Helllo world."); base 530 chrome/browser/spellchecker/feedback_sender_unittest.cc base::ASCIIToUTF16("Hello"))); base 574 chrome/browser/spellchecker/feedback_sender_unittest.cc SpellCheckResult::SPELLING, 0, 100, base::UTF8ToUTF16("Hello"))); base 576 chrome/browser/spellchecker/feedback_sender_unittest.cc SpellCheckResult::SPELLING, 100, 3, base::UTF8ToUTF16("world"))); base 578 chrome/browser/spellchecker/feedback_sender_unittest.cc SpellCheckResult::SPELLING, -1, 3, base::UTF8ToUTF16("how"))); base 580 chrome/browser/spellchecker/feedback_sender_unittest.cc SpellCheckResult::SPELLING, 0, 0, base::UTF8ToUTF16("are"))); base 582 chrome/browser/spellchecker/feedback_sender_unittest.cc SpellCheckResult::SPELLING, 2, -1, base::UTF8ToUTF16("you"))); base 584 chrome/browser/spellchecker/feedback_sender_unittest.cc base::UTF8ToUTF16(kText), base 12 chrome/browser/spellchecker/feedback_unittest.cc using base::ASCIIToUTF16; base 186 chrome/browser/spellchecker/feedback_unittest.cc static const base::string16 kMisspelledText = base 188 chrome/browser/spellchecker/feedback_unittest.cc static const base::string16 kSuggestion = ASCIIToUTF16("Hello"); base 204 chrome/browser/spellchecker/feedback_unittest.cc std::vector<base::string16>(1, kSuggestion), base 209 chrome/browser/spellchecker/feedback_unittest.cc static const base::string16 kOtherMisspelledText = base 211 chrome/browser/spellchecker/feedback_unittest.cc static const base::string16 kOtherSuggestion = ASCIIToUTF16("Something"); base 219 chrome/browser/spellchecker/feedback_unittest.cc std::vector<base::string16>(1, kOtherSuggestion), base 222 chrome/browser/spellchecker/feedback_unittest.cc static const base::string16 kMisspelledWord = ASCIIToUTF16("Helllo"); base 242 chrome/browser/spellchecker/feedback_unittest.cc static const base::string16 kMisspelledText = ASCIIToUTF16("Helllo world"); base 243 chrome/browser/spellchecker/feedback_unittest.cc static const base::string16 kMisspelledWord = ASCIIToUTF16("Helllo"); base 244 chrome/browser/spellchecker/feedback_unittest.cc static const base::string16 kSuggestion = ASCIIToUTF16("Hello"); base 252 chrome/browser/spellchecker/feedback_unittest.cc std::vector<base::string16>(1, kSuggestion), base 19 chrome/browser/spellchecker/misspelling.cc base::Value* BuildSuggestionsValue(const std::vector<base::string16>& list) { base 20 chrome/browser/spellchecker/misspelling.cc base::ListValue* result = new base::ListValue; base 26 chrome/browser/spellchecker/misspelling.cc base::Value* BuildUserActionValue(const SpellcheckAction& action) { base 27 chrome/browser/spellchecker/misspelling.cc base::ListValue* result = new base::ListValue; base 35 chrome/browser/spellchecker/misspelling.cc : location(0), length(0), hash(0), timestamp(base::Time::Now()) { base 38 chrome/browser/spellchecker/misspelling.cc Misspelling::Misspelling(const base::string16& context, base 41 chrome/browser/spellchecker/misspelling.cc const std::vector<base::string16>& suggestions, base 48 chrome/browser/spellchecker/misspelling.cc timestamp(base::Time::Now()) { base 54 chrome/browser/spellchecker/misspelling.cc base::DictionaryValue* Misspelling::Serialize() const { base 55 chrome/browser/spellchecker/misspelling.cc base::DictionaryValue* result = new base::DictionaryValue; base 58 chrome/browser/spellchecker/misspelling.cc base::Int64ToString(static_cast<long>(timestamp.ToJsTime()))); base 62 chrome/browser/spellchecker/misspelling.cc result->SetString("suggestionId", base::UintToString(hash)); base 68 chrome/browser/spellchecker/misspelling.cc base::string16 Misspelling::GetMisspelledString() const { base 72 chrome/browser/spellchecker/misspelling.cc return base::string16(); base 34 chrome/browser/spellchecker/misspelling.h Misspelling(const base::string16& context, base 37 chrome/browser/spellchecker/misspelling.h const std::vector<base::string16>& suggestions, base 43 chrome/browser/spellchecker/misspelling.h base::DictionaryValue* Serialize() const; base 47 chrome/browser/spellchecker/misspelling.h base::string16 GetMisspelledString() const; base 50 chrome/browser/spellchecker/misspelling.h base::string16 context; base 60 chrome/browser/spellchecker/misspelling.h std::vector<base::string16> suggestions; base 69 chrome/browser/spellchecker/misspelling.h base::Time timestamp; base 16 chrome/browser/spellchecker/misspelling_unittest.cc misspelling.context = base::ASCIIToUTF16("How doe sit know"); base 19 chrome/browser/spellchecker/misspelling_unittest.cc misspelling.timestamp = base::Time::FromJsTime(42); base 21 chrome/browser/spellchecker/misspelling_unittest.cc misspelling.suggestions.push_back(base::ASCIIToUTF16("does it")); base 23 chrome/browser/spellchecker/misspelling_unittest.cc scoped_ptr<base::Value> expected(base::JSONReader::Read( base 32 chrome/browser/spellchecker/misspelling_unittest.cc scoped_ptr<base::DictionaryValue> serialized(misspelling.Serialize()); base 38 chrome/browser/spellchecker/misspelling_unittest.cc misspelling.context = base::ASCIIToUTF16("How doe sit know"); base 41 chrome/browser/spellchecker/misspelling_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("doe sit"), misspelling.GetMisspelledString()); base 44 chrome/browser/spellchecker/misspelling_unittest.cc EXPECT_EQ(base::string16(), misspelling.GetMisspelledString()); base 48 chrome/browser/spellchecker/misspelling_unittest.cc EXPECT_EQ(base::string16(), misspelling.GetMisspelledString()); base 51 chrome/browser/spellchecker/misspelling_unittest.cc EXPECT_EQ(base::string16(), misspelling.GetMisspelledString()); base 14 chrome/browser/spellchecker/spellcheck_action.cc base::string16 value) base 42 chrome/browser/spellchecker/spellcheck_action.cc base::DictionaryValue* SpellcheckAction::Serialize() const { base 43 chrome/browser/spellchecker/spellcheck_action.cc base::DictionaryValue* result = new base::DictionaryValue; base 10 chrome/browser/spellchecker/spellcheck_action.h namespace base { base 49 chrome/browser/spellchecker/spellcheck_action.h SpellcheckAction(SpellcheckActionType type, int index, base::string16 value); base 63 chrome/browser/spellchecker/spellcheck_action.h base::DictionaryValue* Serialize() const; base 72 chrome/browser/spellchecker/spellcheck_action.h base::string16 value; base 60 chrome/browser/spellchecker/spellcheck_action_unittest.cc base::ASCIIToUTF16("nothing")), base 63 chrome/browser/spellchecker/spellcheck_action_unittest.cc SpellcheckAction::TYPE_IGNORE, -1, base::ASCIIToUTF16("nothing")), base 67 chrome/browser/spellchecker/spellcheck_action_unittest.cc base::ASCIIToUTF16("nothing")), base 71 chrome/browser/spellchecker/spellcheck_action_unittest.cc base::ASCIIToUTF16("hello")), base 75 chrome/browser/spellchecker/spellcheck_action_unittest.cc SpellcheckAction::TYPE_NO_ACTION, -1, base::ASCIIToUTF16("nothing")), base 78 chrome/browser/spellchecker/spellcheck_action_unittest.cc SpellcheckAction::TYPE_PENDING, -1, base::ASCIIToUTF16("nothing")), base 82 chrome/browser/spellchecker/spellcheck_action_unittest.cc base::ASCIIToUTF16("nothing")), base 85 chrome/browser/spellchecker/spellcheck_action_unittest.cc SpellcheckAction::TYPE_SELECT, 42, base::ASCIIToUTF16("nothing")), base 89 chrome/browser/spellchecker/spellcheck_action_unittest.cc scoped_ptr<base::DictionaryValue> serialized( base 91 chrome/browser/spellchecker/spellcheck_action_unittest.cc scoped_ptr<base::Value> expected( base 92 chrome/browser/spellchecker/spellcheck_action_unittest.cc base::JSONReader::Read(kTestCases[i].expected)); base 30 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc const base::FilePath::CharType BACKUP_EXTENSION[] = FILE_PATH_LITERAL("backup"); base 59 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc ChecksumStatus LoadFile(const base::FilePath& file_path, WordList& words) { base 63 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::ReadFileToString(file_path, &contents); base 68 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc if (checksum != base::MD5String(contents)) base 71 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::TrimWhitespaceASCII(contents, base::TRIM_ALL, &contents); base 72 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::SplitString(contents, '\n', &words); base 83 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::TRIM_NONE != base::TrimWhitespaceASCII(word, base::TRIM_ALL, &tmp); base 92 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc const base::FilePath& path) { base 98 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::FilePath backup = path.AddExtension(BACKUP_EXTENSION); base 99 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc if (!base::PathExists(backup)) base 105 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::CopyFile(backup, path); base 112 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc const base::FilePath& path) { base 120 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc std::string checksum = base::MD5String(content.str()); base 122 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::CopyFile(path, path.AddExtension(BACKUP_EXTENSION)); base 123 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::ImportantFileWriter::WriteFileAtomically(path, content.str()); base 132 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc WordList new_words = base::STLSetDifference<WordList>(to_add, existing); base 219 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc const base::FilePath& path) base 288 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::Bind(&SpellcheckCustomDictionary::LoadDictionaryFile, base 290 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::Bind(&SpellcheckCustomDictionary::OnLoaded, base 326 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc WordList to_add_remotely = base::STLSetDifference<WordList>(words_, base 397 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc const base::FilePath& path) { base 410 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc const base::FilePath& path) { base 426 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::STLSetDifference<WordList>(custom_words, base 452 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::STLSetDifference<WordSet>(words_, base 464 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::Bind(&SpellcheckCustomDictionary::UpdateDictionaryFile, base 77 chrome/browser/spellchecker/spellcheck_custom_dictionary.h explicit SpellcheckCustomDictionary(const base::FilePath& path); base 132 chrome/browser/spellchecker/spellcheck_custom_dictionary.h const base::FilePath& path); base 138 chrome/browser/spellchecker/spellcheck_custom_dictionary.h const base::FilePath& path); base 167 chrome/browser/spellchecker/spellcheck_custom_dictionary.h base::FilePath custom_dictionary_path_; base 182 chrome/browser/spellchecker/spellcheck_custom_dictionary.h base::WeakPtrFactory<SpellcheckCustomDictionary> weak_ptr_factory_; base 34 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc using base::HistogramBase; base 35 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc using base::HistogramSamples; base 36 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc using base::StatisticsRecorder; base 78 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc const base::FilePath& path) { base 87 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc const base::FilePath& path) { base 160 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::FilePath path = base 224 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::FilePath path = base 228 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::WriteFile(path, content.c_str(), content.length()); base 237 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::FilePath path = base 241 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::WriteFile(path, content.c_str(), content.length()); base 253 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::FilePath path = base 259 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::WriteFile(path, content.c_str(), content.length()); base 272 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::FilePath path = base 276 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::WriteFile(path, content.c_str(), content.length()); base 287 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::ReadFileToString(path, &content); base 289 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::WriteFile(path, content.c_str(), content.length()); base 334 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change.AddWord("foo" + base::Uint64ToString(i)); base 449 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change.AddWord("foo" + base::Uint64ToString(i)); base 457 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change2.AddWord("bar" + base::Uint64ToString(i)); base 500 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change.AddWord("foo" + base::Uint64ToString(i)); base 549 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change.AddWord("foo" + base::Uint64ToString(i)); base 550 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change2.AddWord("bar" + base::Uint64ToString(i)); base 606 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change.AddWord("foo" + base::Uint64ToString(i)); base 607 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change2.AddWord("bar" + base::Uint64ToString(i)); base 660 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change.AddWord("foo" + base::Uint64ToString(i)); base 711 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change.AddWord("foo" + base::Uint64ToString(i)); base 828 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc custom_words.push_back("foo" + base::Uint64ToString(i)); base 862 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc to_add.push_back("foo" + base::Uint64ToString(i)); base 1037 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change.AddWord("foo" + base::Uint64ToString(i)); base 1084 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc change.AddWord("bar" + base::Uint64ToString(i)); base 1117 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) base 1133 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc base::FilePath path = base 20 chrome/browser/spellchecker/spellcheck_host_metrics.cc start_time_(base::TimeTicks::Now()) { base 23 chrome/browser/spellchecker/spellcheck_host_metrics.cc base::TimeDelta::FromMinutes(kHistogramTimerDurationInMinutes), base 45 chrome/browser/spellchecker/spellcheck_host_metrics.cc void SpellCheckHostMetrics::RecordCheckedWordStats(const base::string16& word, base 61 chrome/browser/spellchecker/spellcheck_host_metrics.cc base::MD5Digest digest; base 62 chrome/browser/spellchecker/spellcheck_host_metrics.cc base::MD5Sum(reinterpret_cast<const unsigned char*>(word.c_str()), base 63 chrome/browser/spellchecker/spellcheck_host_metrics.cc word.size() * sizeof(base::char16), &digest); base 64 chrome/browser/spellchecker/spellcheck_host_metrics.cc checked_word_hashes_.insert(base::MD5DigestToBase16(digest)); base 73 chrome/browser/spellchecker/spellcheck_host_metrics.cc base::TimeDelta since_start = base::TimeTicks::Now() - start_time_; base 78 chrome/browser/spellchecker/spellcheck_host_metrics.cc base::TimeDelta::FromHours(1).InSeconds() / since_start.InSeconds(); base 48 chrome/browser/spellchecker/spellcheck_host_metrics.h void RecordCheckedWordStats(const base::string16& word, bool misspell); base 88 chrome/browser/spellchecker/spellcheck_host_metrics.h base::TimeTicks start_time_; base 90 chrome/browser/spellchecker/spellcheck_host_metrics.h base::hash_set<std::string> checked_word_hashes_; base 91 chrome/browser/spellchecker/spellcheck_host_metrics.h base::RepeatingTimer<SpellCheckHostMetrics> recording_timer_; base 27 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc base::StatisticsRecorder::Initialize(); base 38 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc base::MessageLoop loop_; base 44 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc base::StatisticsDeltaReader statistics_delta_reader1; base 48 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples( base 53 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc base::StatisticsDeltaReader statistics_delta_reader2; base 66 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) base 73 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_TRUE(base::StatisticsRecorder::IsActive()); base 75 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc base::StatisticsDeltaReader statistics_delta_reader; base 79 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples( base 97 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc metrics()->RecordCheckedWordStats(base::ASCIIToUTF16("test"), false); base 101 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc base::StatisticsDeltaReader statistics_delta_reader; base 107 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples; base 117 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc base::StatisticsDeltaReader statistics_delta_reader1; base 121 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples( base 126 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc base::StatisticsDeltaReader statistics_delta_reader2; base 30 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc void CloseDictionary(base::File file) { base 38 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc const base::FilePath& path) { base 42 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::WriteFile(path, data->data(), data->length()); base 46 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::FilePath dict_dir; base 48 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::FilePath fallback_file_path = base 51 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::WriteFile(fallback_file_path, data->data(), data->length()); base 57 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::DeleteFile(path, false); base 75 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::Bind(&CloseDictionary, Passed(&file))); base 116 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 117 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::Bind( base 127 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::Bind(&InitializeDictionaryLocation, language_), base 128 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::Bind( base 142 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::kInvalidPlatformFileValue || IsUsingPlatformChecker(); base 145 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::PlatformFile SpellcheckHunspellDictionary::GetDictionaryFile() const { base 209 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::Bind(&SaveDictionaryData, base 210 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::Passed(&data), base 212 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::Bind(&SpellcheckHunspellDictionary::SaveDictionaryDataComplete, base 251 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc SpellcheckHunspellDictionary::OpenDictionaryFile(const base::FilePath& path) { base 258 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::FilePath user_dir; base 260 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::FilePath fallback = user_dir.Append(path.BaseName()); base 261 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc if (!base::PathExists(path) && base::PathExists(fallback)) base 273 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::MemoryMappedFile map; base 275 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::PathExists(dictionary.path) && base 282 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::File::FLAG_READ | base::File::FLAG_OPEN); base 284 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::DeleteFile(dictionary.path, false); base 299 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::FilePath dict_dir; base 301 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::FilePath dict_path = base 30 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h public base::SupportsWeakPtr<SpellcheckHunspellDictionary> { base 65 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h base::PlatformFile GetDictionaryFile() const; base 101 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h base::FilePath path; base 104 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h base::File file; base 119 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h static DictionaryFile OpenDictionaryFile(const base::FilePath& path); base 163 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h base::WeakPtrFactory<SpellcheckHunspellDictionary> weak_ptr_factory_; base 88 chrome/browser/spellchecker/spellcheck_message_filter.cc void SpellCheckMessageFilter::OnNotifyChecked(const base::string16& word, base 114 chrome/browser/spellchecker/spellcheck_message_filter.cc const base::string16& text, base 133 chrome/browser/spellchecker/spellcheck_message_filter.cc const base::string16& text, base 148 chrome/browser/spellchecker/spellcheck_message_filter.cc std::string text_copy = base::UTF16ToUTF8(text); base 170 chrome/browser/spellchecker/spellcheck_message_filter.cc const base::string16& text, base 181 chrome/browser/spellchecker/spellcheck_message_filter.cc base::Bind(&SpellCheckMessageFilter::OnTextCheckComplete, base 182 chrome/browser/spellchecker/spellcheck_message_filter.cc base::Unretained(this), base 36 chrome/browser/spellchecker/spellcheck_message_filter.h void OnNotifyChecked(const base::string16& word, bool misspelled); base 41 chrome/browser/spellchecker/spellcheck_message_filter.h const base::string16& text, base 51 chrome/browser/spellchecker/spellcheck_message_filter.h const base::string16& text, base 61 chrome/browser/spellchecker/spellcheck_message_filter.h const base::string16& text, base 39 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void RequestCheck(const base::string16& text, base 46 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void RequestRemoteCheck(const base::string16& text); base 49 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void RequestLocalCheck(const base::string16& text, int document_tag); base 56 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& text, base 66 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc base::Closure completion_barrier_; base 93 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& text, base 110 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc base::Bind(&SpellingRequest::OnCheckCompleted, base 111 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc base::Owned(this))); base 116 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void SpellingRequest::RequestRemoteCheck(const base::string16& text) { base 127 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc base::Bind(&SpellingRequest::OnRemoteCheckCompleted, base 128 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc base::Unretained(this))); base 131 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void SpellingRequest::RequestLocalCheck(const base::string16& text, base 136 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc base::Bind(&SpellingRequest::OnLocalCheckCompleted, base 137 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc base::Unretained(this))); base 164 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& text, base 251 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void SpellCheckMessageFilterMac::OnCheckSpelling(const base::string16& word, base 258 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& word, base 259 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc std::vector<base::string16>* suggestions) { base 268 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& word) { base 275 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& text, base 40 chrome/browser/spellchecker/spellcheck_message_filter_mac.h void OnCheckSpelling(const base::string16& word, int route_id, bool* correct); base 41 chrome/browser/spellchecker/spellcheck_message_filter_mac.h void OnFillSuggestionList(const base::string16& word, base 42 chrome/browser/spellchecker/spellcheck_message_filter_mac.h std::vector<base::string16>* suggestions); base 44 chrome/browser/spellchecker/spellcheck_message_filter_mac.h void OnUpdateSpellingPanelWithMisspelledWord(const base::string16& word); base 47 chrome/browser/spellchecker/spellcheck_message_filter_mac.h const base::string16& text, base 21 chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc explicit TestingSpellCheckMessageFilter(base::MessageLoopForUI* loop) base 27 chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 32 chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc base::MessageLoopForUI* loop_; base 44 chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc new TestingSpellCheckMessageFilter(base::MessageLoopForUI::current())); base 47 chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc 123, 456, base::UTF8ToUTF16("zz."), std::vector<SpellCheckMarker>()); base 52 chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc base::MessageLoopForUI::current()->Run(); base 19 chrome/browser/spellchecker/spellcheck_message_filter_mac_unittest.cc base::string16 remote_suggestion = base::ASCIIToUTF16("remote"); base 20 chrome/browser/spellchecker/spellcheck_message_filter_mac_unittest.cc base::string16 local_suggestion = base::ASCIIToUTF16("local"); base 36 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc const base::string16& text, base 83 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc static const base::string16 kText = base::ASCIIToUTF16("Helllo warld."); base 89 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc static const base::string16 kReplacement = base::ASCIIToUTF16("world"); base 93 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc SpellCheckResult::SPELLING, 0, 6, base::ASCIIToUTF16("Hello"))); base 106 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc base::string16 sent_text; base 127 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc SpellCheckResult::SPELLING, 0, 6, base::ASCIIToUTF16("Hello"))); base 129 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc SpellCheckResult::SPELLING, 7, 7, base::ASCIIToUTF16("world"))); base 134 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc true, base::ASCIIToUTF16("Helllo walrd"), results); base 139 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc base::string16 sent_text; base 25 chrome/browser/spellchecker/spellcheck_platform_mac.h typedef base::Callback<void( base 48 chrome/browser/spellchecker/spellcheck_platform_mac.h void UpdateSpellingPanelWithMisspelledWord(const base::string16& word); base 61 chrome/browser/spellchecker/spellcheck_platform_mac.h bool CheckSpelling(const base::string16& word_to_check, int tag); base 66 chrome/browser/spellchecker/spellcheck_platform_mac.h void FillSuggestionList(const base::string16& wrong_word, base 67 chrome/browser/spellchecker/spellcheck_platform_mac.h std::vector<base::string16>* optional_suggestions); base 70 chrome/browser/spellchecker/spellcheck_platform_mac.h void AddWord(const base::string16& word); base 73 chrome/browser/spellchecker/spellcheck_platform_mac.h void RemoveWord(const base::string16& word); base 83 chrome/browser/spellchecker/spellcheck_platform_mac.h void IgnoreWord(const base::string16& word); base 94 chrome/browser/spellchecker/spellcheck_platform_mac.h const base::string16& text, base 19 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc : callback_(base::Bind(&SpellcheckMacTest::CompletionCallback, base 20 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc base::Unretained(this))), base 33 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc CHECK(base::MessageLoop::current() == &message_loop_); base 34 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc base::MessageLoop::current()->Quit(); base 41 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc base::Bind(&SpellcheckMacTest::QuitMessageLoop, base 42 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc base::Unretained(this))); base 45 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc base::MessageLoopForUI message_loop_; base 62 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc const base::string16 word(base::ASCIIToUTF16(kTestCases[i])); base 357 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc const base::string16 word(base::ASCIIToUTF16(kTestCases[i].input)); base 361 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc std::vector<base::string16> suggestions; base 364 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc const base::string16 suggested_word( base 365 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc base::ASCIIToUTF16(kTestCases[i].suggested_word)); base 381 chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc base::string16 test_string(base::ASCIIToUTF16("Icland is awesome.")); base 34 chrome/browser/spellchecker/spellcheck_service.cc base::WaitableEvent* g_status_event = NULL; base 56 chrome/browser/spellchecker/spellcheck_service.cc base::Bind(&SpellcheckService::OnEnableAutoSpellCorrectChanged, base 57 chrome/browser/spellchecker/spellcheck_service.cc base::Unretained(this))); base 60 chrome/browser/spellchecker/spellcheck_service.cc base::Bind(&SpellcheckService::OnSpellCheckDictionaryChanged, base 61 chrome/browser/spellchecker/spellcheck_service.cc base::Unretained(this))); base 64 chrome/browser/spellchecker/spellcheck_service.cc base::Bind(&SpellcheckService::OnUseSpellingServiceChanged, base 65 chrome/browser/spellchecker/spellcheck_service.cc base::Unretained(this))); base 68 chrome/browser/spellchecker/spellcheck_service.cc base::Bind(&SpellcheckService::InitForAllRenderers, base 69 chrome/browser/spellchecker/spellcheck_service.cc base::Unretained(this))); base 106 chrome/browser/spellchecker/spellcheck_service.cc base::SplitString(accept_languages_pref.GetValue(), ',', &accept_languages); base 108 chrome/browser/spellchecker/spellcheck_service.cc base::SplitString(accept_languages_pref.GetValue(), ',', &accept_languages); base 170 chrome/browser/spellchecker/spellcheck_service.cc base::kInvalidPlatformFileValue) { base 249 chrome/browser/spellchecker/spellcheck_service.cc void SpellcheckService::AttachStatusEvent(base::WaitableEvent* status_event) { base 24 chrome/browser/spellchecker/spellcheck_service.h namespace base { base 131 chrome/browser/spellchecker/spellcheck_service.h static void AttachStatusEvent(base::WaitableEvent* status_event); base 168 chrome/browser/spellchecker/spellcheck_service.h base::WeakPtrFactory<SpellcheckService> weak_ptr_factory_; base 48 chrome/browser/spellchecker/spellcheck_service_browsertest.cc base::FilePath dict_dir; base 50 chrome/browser/spellchecker/spellcheck_service_browsertest.cc base::FilePath bdict_path = base 53 chrome/browser/spellchecker/spellcheck_service_browsertest.cc size_t actual = base::WriteFile(bdict_path, base 60 chrome/browser/spellchecker/spellcheck_service_browsertest.cc base::WaitableEvent event(true, false); base 87 chrome/browser/spellchecker/spellcheck_service_browsertest.cc if (base::PathExists(bdict_path)) { base 89 chrome/browser/spellchecker/spellcheck_service_browsertest.cc EXPECT_TRUE(base::DeleteFile(bdict_path, true)); base 53 chrome/browser/spellchecker/spelling_service_client.cc const base::string16& text, base 72 chrome/browser/spellchecker/spelling_service_client.cc std::string encoded_text = base::GetQuotedJSONString(text); base 85 chrome/browser/spellchecker/spelling_service_client.cc std::string api_key = base::GetQuotedJSONString(google_apis::GetAPIKey()); base 86 chrome/browser/spellchecker/spelling_service_client.cc std::string request = base::StringPrintf( base 186 chrome/browser/spellchecker/spelling_service_client.cc scoped_ptr<base::DictionaryValue> value( base 187 chrome/browser/spellchecker/spelling_service_client.cc static_cast<base::DictionaryValue*>( base 188 chrome/browser/spellchecker/spelling_service_client.cc base::JSONReader::Read(data, base::JSON_ALLOW_TRAILING_COMMAS))); base 189 chrome/browser/spellchecker/spelling_service_client.cc if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY)) base 193 chrome/browser/spellchecker/spelling_service_client.cc base::DictionaryValue* error = NULL; base 200 chrome/browser/spellchecker/spelling_service_client.cc base::ListValue* misspellings = NULL; base 208 chrome/browser/spellchecker/spelling_service_client.cc base::DictionaryValue* misspelling = NULL; base 214 chrome/browser/spellchecker/spelling_service_client.cc base::ListValue* suggestions = NULL; base 221 chrome/browser/spellchecker/spelling_service_client.cc base::DictionaryValue* suggestion = NULL; base 222 chrome/browser/spellchecker/spelling_service_client.cc base::string16 replacement; base 236 chrome/browser/spellchecker/spelling_service_client.cc base::string16 text) base 72 chrome/browser/spellchecker/spelling_service_client.h typedef base::Callback<void( base 74 chrome/browser/spellchecker/spelling_service_client.h const base::string16& /* text */, base 87 chrome/browser/spellchecker/spelling_service_client.h const base::string16& text, base 101 chrome/browser/spellchecker/spelling_service_client.h base::string16 text); base 109 chrome/browser/spellchecker/spelling_service_client.h base::string16 text; base 42 chrome/browser/spellchecker/spelling_service_client_unittest.cc version_(base::StringPrintf("v%d", version)), base 58 chrome/browser/spellchecker/spelling_service_client_unittest.cc scoped_ptr<base::DictionaryValue> value(static_cast<base::DictionaryValue*>( base 59 chrome/browser/spellchecker/spelling_service_client_unittest.cc base::JSONReader::Read(upload_content, base 60 chrome/browser/spellchecker/spelling_service_client_unittest.cc base::JSON_ALLOW_TRAILING_COMMAS))); base 143 chrome/browser/spellchecker/spelling_service_client_unittest.cc corrected_text_.assign(base::UTF8ToUTF16(text)); base 153 chrome/browser/spellchecker/spelling_service_client_unittest.cc const base::string16& request_text, base 156 chrome/browser/spellchecker/spelling_service_client_unittest.cc base::string16 text(base::UTF8ToUTF16(request_text_)); base 186 chrome/browser/spellchecker/spelling_service_client_unittest.cc base::string16 corrected_text_; base 197 chrome/browser/spellchecker/spelling_service_client_unittest.cc const base::string16& text, base 317 chrome/browser/spellchecker/spelling_service_client_unittest.cc base::ASCIIToUTF16(kTests[i].request_text), base 318 chrome/browser/spellchecker/spelling_service_client_unittest.cc base::Bind(&SpellingServiceClientTest::OnTextCheckComplete, base 319 chrome/browser/spellchecker/spelling_service_client_unittest.cc base::Unretained(this), 0)); base 12 chrome/browser/spellchecker/word_trimmer.cc base::string16 TrimWords(size_t* start, base 14 chrome/browser/spellchecker/word_trimmer.cc const base::string16& text, base 18 chrome/browser/spellchecker/word_trimmer.cc base::i18n::BreakIterator iter(text, base::i18n::BreakIterator::BREAK_WORD); base 27 chrome/browser/spellchecker/word_trimmer.h base::string16 TrimWords(size_t* start, base 29 chrome/browser/spellchecker/word_trimmer.h const base::string16& text, base 10 chrome/browser/spellchecker/word_trimmer_unittest.cc using base::ASCIIToUTF16; base 15 chrome/browser/spellchecker/word_trimmer_unittest.cc EXPECT_EQ(base::string16(), TrimWords(&start, end, base::string16(), 0)); base 35 chrome/browser/ssl/ssl_add_cert_handler.cc base::Bind(&SSLAddCertHandler::Run, this)); base 49 chrome/browser/ssl/ssl_add_cert_handler.cc base::Bind( base 77 chrome/browser/ssl/ssl_add_cert_handler.cc base::Bind( base 20 chrome/browser/ssl/ssl_add_cert_handler.h class SSLAddCertHandler : public base::RefCountedThreadSafe<SSLAddCertHandler> { base 34 chrome/browser/ssl/ssl_add_cert_handler.h friend class base::RefCountedThreadSafe<SSLAddCertHandler>; base 50 chrome/browser/ssl/ssl_blocking_page.cc using base::ASCIIToUTF16; base 51 chrome/browser/ssl/ssl_blocking_page.cc using base::TimeTicks; base 196 chrome/browser/ssl/ssl_blocking_page.cc const base::Callback<void(bool)>& callback) base 226 chrome/browser/ssl/ssl_blocking_page.cc base::Bind(&SSLBlockingPage::OnGotHistoryCount, base 227 chrome/browser/ssl/ssl_blocking_page.cc base::Unretained(this))); base 264 chrome/browser/ssl/ssl_blocking_page.cc base::DictionaryValue strings; base 291 chrome/browser/ssl/ssl_blocking_page.cc strings.SetString("textdirection", base::i18n::IsRTL() ? "rtl" : "ltr"); base 313 chrome/browser/ssl/ssl_blocking_page.cc base::string16 url(ASCIIToUTF16(request_url_.host())); base 314 chrome/browser/ssl/ssl_blocking_page.cc bool rtl = base::i18n::IsRTL(); base 317 chrome/browser/ssl/ssl_blocking_page.cc base::i18n::WrapStringWithLTRFormatting(&url); base 333 chrome/browser/ssl/ssl_blocking_page.cc base::string16 errorType; base 335 chrome/browser/ssl/ssl_blocking_page.cc errorType = base::string16(ASCIIToUTF16("Key revocation")); base 340 chrome/browser/ssl/ssl_blocking_page.cc errorType = base::string16(ASCIIToUTF16("Malformed certificate")); base 345 chrome/browser/ssl/ssl_blocking_page.cc errorType = base::string16(ASCIIToUTF16("Certificate pinning failure")); base 351 chrome/browser/ssl/ssl_blocking_page.cc errorType = base::string16(ASCIIToUTF16("Weak DH public key")); base 358 chrome/browser/ssl/ssl_blocking_page.cc errorType = base::string16(ASCIIToUTF16("HSTS failure")); base 364 chrome/browser/ssl/ssl_blocking_page.cc base::i18n::WrapStringWithLTRFormatting(&errorType); base 370 chrome/browser/ssl/ssl_blocking_page.cc base::string16 subject( base 372 chrome/browser/ssl/ssl_blocking_page.cc base::string16 issuer( base 379 chrome/browser/ssl/ssl_blocking_page.cc base::StringAppendF(&hashes, "%s ", it->ToString().c_str()); base 381 chrome/browser/ssl/ssl_blocking_page.cc base::string16 fingerprint(ASCIIToUTF16(hashes)); base 384 chrome/browser/ssl/ssl_blocking_page.cc base::i18n::WrapStringWithLTRFormatting(&subject); base 385 chrome/browser/ssl/ssl_blocking_page.cc base::i18n::WrapStringWithLTRFormatting(&issuer); base 386 chrome/browser/ssl/ssl_blocking_page.cc base::i18n::WrapStringWithLTRFormatting(&fingerprint); base 400 chrome/browser/ssl/ssl_blocking_page.cc base::StringPiece html( base 493 chrome/browser/ssl/ssl_blocking_page.cc base::DictionaryValue* strings, base 494 chrome/browser/ssl/ssl_blocking_page.cc const std::vector<base::string16>& extra_info) { base 511 chrome/browser/ssl/ssl_blocking_page.cc base::Time first_visit) { base 19 chrome/browser/ssl/ssl_blocking_page.h namespace base { base 45 chrome/browser/ssl/ssl_blocking_page.h const base::Callback<void(bool)>& callback); base 52 chrome/browser/ssl/ssl_blocking_page.h static void SetExtraInfo(base::DictionaryValue* strings, base 53 chrome/browser/ssl/ssl_blocking_page.h const std::vector<base::string16>& extra_info); base 73 chrome/browser/ssl/ssl_blocking_page.h base::Time first_visit); base 81 chrome/browser/ssl/ssl_blocking_page.h base::Callback<void(bool)> callback_; base 51 chrome/browser/ssl/ssl_browser_tests.cc using base::ASCIIToUTF16; base 59 chrome/browser/ssl/ssl_browser_tests.cc const base::FilePath::CharType kDocRoot[] = base 79 chrome/browser/ssl/ssl_browser_tests.cc const base::string16& frame_unique_name, base 83 chrome/browser/ssl/ssl_browser_tests.cc const base::string16& error_description, base 87 chrome/browser/ssl/ssl_browser_tests.cc base::MessageLoopForUI::current()->Quit(); base 172 chrome/browser/ssl/ssl_browser_tests.cc base::FilePath(kDocRoot)), base 175 chrome/browser/ssl/ssl_browser_tests.cc base::FilePath(kDocRoot)), base 178 chrome/browser/ssl/ssl_browser_tests.cc base::FilePath(kDocRoot)), base 223 chrome/browser/ssl/ssl_browser_tests.cc base::Time time_to_quit = base::Time::Now() + base 224 chrome/browser/ssl/ssl_browser_tests.cc base::TimeDelta::FromMilliseconds(30000); base 226 chrome/browser/ssl/ssl_browser_tests.cc while (base::Time::Now() < time_to_quit) { base 237 chrome/browser/ssl/ssl_browser_tests.cc base::MessageLoop::current()->PostDelayedTask( base 239 chrome/browser/ssl/ssl_browser_tests.cc base::MessageLoop::QuitClosure(), base 240 chrome/browser/ssl/ssl_browser_tests.cc base::TimeDelta::FromMilliseconds(kTimeoutMS)); base 659 chrome/browser/ssl/ssl_browser_tests.cc std::string master_url_path = base::StringPrintf("%s?%d", base 663 chrome/browser/ssl/ssl_browser_tests.cc std::string slave_url_path = base::StringPrintf("%s?%d", base 679 chrome/browser/ssl/ssl_browser_tests.cc const base::string16 result = watcher.WaitAndGetTitle(); base 716 chrome/browser/ssl/ssl_browser_tests.cc const base::string16 result = watcher.WaitAndGetTitle(); base 737 chrome/browser/ssl/ssl_browser_tests.cc base::FilePath cert_path = net::GetTestCertsDirectory().Append( base 739 chrome/browser/ssl/ssl_browser_tests.cc EXPECT_TRUE(base::ReadFileToString(cert_path, &pkcs12_data)); base 742 chrome/browser/ssl/ssl_browser_tests.cc crypt_module.get(), pkcs12_data, base::string16(), true, NULL)); base 748 chrome/browser/ssl/ssl_browser_tests.cc base::FilePath ca_path = net::GetTestCertsDirectory().Append( base 770 chrome/browser/ssl/ssl_browser_tests.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 785 chrome/browser/ssl/ssl_browser_tests.cc const base::string16 result = watcher.WaitAndGetTitle(); base 823 chrome/browser/ssl/ssl_browser_tests.cc base::ScopedTempDir downloads_directory_; base 1244 chrome/browser/ssl/ssl_browser_tests.cc base::MessageLoop::current()->PostDelayedTask( base 1246 chrome/browser/ssl/ssl_browser_tests.cc base::MessageLoop::QuitClosure(), base 1247 chrome/browser/ssl/ssl_browser_tests.cc base::TimeDelta::FromSeconds(1)); base 1433 chrome/browser/ssl/ssl_browser_tests.cc tab, base::Bind(&content::FrameMatchesName, "contentFrame")); base 1578 chrome/browser/ssl/ssl_browser_tests.cc tab, base::Bind(&content::FrameMatchesName, "contentFrame")); base 1718 chrome/browser/ssl/ssl_browser_tests.cc const base::string16 result = watcher.WaitAndGetTitle(); base 24 chrome/browser/ssl/ssl_client_auth_observer.cc const base::Callback<void(net::X509Certificate*)>& callback) base 24 chrome/browser/ssl/ssl_client_auth_observer.h const base::Callback<void(net::X509Certificate*)>& callback); base 57 chrome/browser/ssl/ssl_client_auth_observer.h base::Callback<void(net::X509Certificate*)> callback_; base 19 chrome/browser/ssl/ssl_client_auth_requestor_mock.h : public base::RefCountedThreadSafe<SSLClientAuthRequestorMock> { base 31 chrome/browser/ssl/ssl_client_auth_requestor_mock.h friend class base::RefCountedThreadSafe<SSLClientAuthRequestorMock>; base 22 chrome/browser/ssl/ssl_client_certificate_selector.h typedef base::Callback<void(net::X509Certificate*)> SelectCertificateCallback; base 37 chrome/browser/ssl/ssl_client_certificate_selector_test.cc base::FilePath certs_dir = net::GetTestCertsDirectory(); base 58 chrome/browser/ssl/ssl_client_certificate_selector_test.cc base::Bind(&SSLClientCertificateSelectorTestBase::SetUpOnIOThread, base 73 chrome/browser/ssl/ssl_client_certificate_selector_test.cc base::Bind(&SSLClientCertificateSelectorTestBase::CleanUpOnIOThread, base 35 chrome/browser/ssl/ssl_client_certificate_selector_test.h base::WaitableEvent io_loop_finished_event_; base 19 chrome/browser/ssl/ssl_error_info.cc using base::UTF8ToUTF16; base 21 chrome/browser/ssl/ssl_error_info.cc SSLErrorInfo::SSLErrorInfo(const base::string16& title, base 22 chrome/browser/ssl/ssl_error_info.cc const base::string16& details, base 23 chrome/browser/ssl/ssl_error_info.cc const base::string16& short_description, base 24 chrome/browser/ssl/ssl_error_info.cc const std::vector<base::string16>& extra_info) base 35 chrome/browser/ssl/ssl_error_info.cc base::string16 title, details, short_description; base 36 chrome/browser/ssl/ssl_error_info.cc std::vector<base::string16> extra_info; base 83 chrome/browser/ssl/ssl_error_info.cc base::TimeFormatFriendlyDateAndTime(base::Time::Now())); base 97 chrome/browser/ssl/ssl_error_info.cc base::TimeFormatFriendlyDateAndTime(base::Time::Now())); base 61 chrome/browser/ssl/ssl_error_info.h const base::string16& title() const { return title_; } base 64 chrome/browser/ssl/ssl_error_info.h const base::string16& details() const { return details_; } base 67 chrome/browser/ssl/ssl_error_info.h const base::string16& short_description() const { return short_description_; } base 71 chrome/browser/ssl/ssl_error_info.h const std::vector<base::string16>& extra_information() const { base 76 chrome/browser/ssl/ssl_error_info.h SSLErrorInfo(const base::string16& title, base 77 chrome/browser/ssl/ssl_error_info.h const base::string16& details, base 78 chrome/browser/ssl/ssl_error_info.h const base::string16& short_description, base 79 chrome/browser/ssl/ssl_error_info.h const std::vector<base::string16>& extra_info); base 81 chrome/browser/ssl/ssl_error_info.h base::string16 title_; base 82 chrome/browser/ssl/ssl_error_info.h base::string16 details_; base 83 chrome/browser/ssl/ssl_error_info.h base::string16 short_description_; base 86 chrome/browser/ssl/ssl_error_info.h std::vector<base::string16> extra_information_; base 51 chrome/browser/ssl/ssl_tab_helper.cc const base::string16& message, base 55 chrome/browser/ssl/ssl_tab_helper.cc SSLCertResultInfoBarDelegate(const base::string16& message, base 62 chrome/browser/ssl/ssl_tab_helper.cc virtual base::string16 GetMessageText() const OVERRIDE; base 64 chrome/browser/ssl/ssl_tab_helper.cc virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 67 chrome/browser/ssl/ssl_tab_helper.cc base::string16 message_; base 76 chrome/browser/ssl/ssl_tab_helper.cc const base::string16& message, base 87 chrome/browser/ssl/ssl_tab_helper.cc const base::string16& message, base 106 chrome/browser/ssl/ssl_tab_helper.cc base::string16 SSLCertResultInfoBarDelegate::GetMessageText() const { base 114 chrome/browser/ssl/ssl_tab_helper.cc base::string16 SSLCertResultInfoBarDelegate::GetButtonLabel( base 139 chrome/browser/ssl/ssl_tab_helper.cc void ShowInfoBar(const base::string16& message, net::X509Certificate* cert); base 167 chrome/browser/ssl/ssl_tab_helper.cc void SSLTabHelper::SSLAddCertData::ShowInfoBar(const base::string16& message, base 210 chrome/browser/ssl/ssl_tab_helper.cc const base::Callback<void(net::X509Certificate*)>& callback) { base 221 chrome/browser/ssl/ssl_tab_helper.cc base::IntToString16(-error_code), base 222 chrome/browser/ssl/ssl_tab_helper.cc base::ASCIIToUTF16( base 238 chrome/browser/ssl/ssl_tab_helper.cc base::UTF8ToUTF16( base 249 chrome/browser/ssl/ssl_tab_helper.cc base::IntToString16(-error_code), base 250 chrome/browser/ssl/ssl_tab_helper.cc base::ASCIIToUTF16( base 63 chrome/browser/ssl/ssl_tab_helper.h const base::Callback<void(net::X509Certificate*)>& callback); base 42 chrome/browser/status_icons/desktop_notification_balloon.cc base::MessageLoop::current()->PostDelayedTask( base 44 chrome/browser/status_icons/desktop_notification_balloon.cc base::Bind(&CloseBalloon, id()), base 45 chrome/browser/status_icons/desktop_notification_balloon.cc base::TimeDelta::FromSeconds(kTimeoutSeconds)); base 75 chrome/browser/status_icons/desktop_notification_balloon.cc const base::string16& title, base 76 chrome/browser/status_icons/desktop_notification_balloon.cc const base::string16& contents) { base 82 chrome/browser/status_icons/desktop_notification_balloon.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 86 chrome/browser/status_icons/desktop_notification_balloon.cc GURL(), title, contents, gfx::Image(icon), base::string16(), base 87 chrome/browser/status_icons/desktop_notification_balloon.cc new DummyNotificationDelegate(base::IntToString(id_count_++)), profile); base 26 chrome/browser/status_icons/desktop_notification_balloon.h const base::string16& title, base 27 chrome/browser/status_icons/desktop_notification_balloon.h const base::string16& contents); base 35 chrome/browser/status_icons/status_icon.h virtual void SetToolTip(const base::string16& tool_tip) = 0; base 40 chrome/browser/status_icons/status_icon.h const base::string16& title, base 41 chrome/browser/status_icons/status_icon.h const base::string16& contents) = 0; base 24 chrome/browser/status_icons/status_icon_menu_model.cc base::string16 label; base 25 chrome/browser/status_icons/status_icon_menu_model.cc base::string16 sublabel; base 67 chrome/browser/status_icons/status_icon_menu_model.cc const base::string16& label) { base 74 chrome/browser/status_icons/status_icon_menu_model.cc int command_id, const base::string16& sublabel) { base 134 chrome/browser/status_icons/status_icon_menu_model.cc base::string16 StatusIconMenuModel::GetLabelForCommandId(int command_id) const { base 138 chrome/browser/status_icons/status_icon_menu_model.cc return base::string16(); base 141 chrome/browser/status_icons/status_icon_menu_model.cc base::string16 StatusIconMenuModel::GetSublabelForCommandId( base 146 chrome/browser/status_icons/status_icon_menu_model.cc return base::string16(); base 28 chrome/browser/status_icons/status_icon_menu_model.h public base::SupportsWeakPtr<StatusIconMenuModel> { base 71 chrome/browser/status_icons/status_icon_menu_model.h void ChangeLabelForCommandId(int command_id, const base::string16& label); base 73 chrome/browser/status_icons/status_icon_menu_model.h int command_id, const base::string16& sublabel); base 86 chrome/browser/status_icons/status_icon_menu_model.h virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; base 87 chrome/browser/status_icons/status_icon_menu_model.h virtual base::string16 GetSublabelForCommandId(int command_id) const OVERRIDE; base 18 chrome/browser/status_icons/status_icon_menu_model_unittest.cc using base::ASCIIToUTF16; base 114 chrome/browser/status_icons/status_icon_menu_model_unittest.cc EXPECT_EQ(base::string16(), menu_model()->GetLabelForCommandId(1)); base 115 chrome/browser/status_icons/status_icon_menu_model_unittest.cc EXPECT_EQ(base::string16(), menu_model()->GetSublabelForCommandId(0)); base 23 chrome/browser/status_icons/status_icon_unittest.cc virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE {} base 27 chrome/browser/status_icons/status_icon_unittest.cc const base::string16& title, base 28 chrome/browser/status_icons/status_icon_unittest.cc const base::string16& contents) OVERRIDE {} base 16 chrome/browser/status_icons/status_tray.cc const base::string16& tool_tip) { base 42 chrome/browser/status_icons/status_tray.h const base::string16& tool_tip); base 56 chrome/browser/status_icons/status_tray.h const base::string16& tool_tip) = 0; base 18 chrome/browser/status_icons/status_tray_unittest.cc virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE {} base 20 chrome/browser/status_icons/status_tray_unittest.cc const base::string16& title, base 21 chrome/browser/status_icons/status_tray_unittest.cc const base::string16& contents) OVERRIDE {} base 31 chrome/browser/status_icons/status_tray_unittest.cc const base::string16& tool_tip) OVERRIDE { base 44 chrome/browser/status_icons/status_tray_unittest.cc StatusTray::OTHER_ICON, *image, base::ASCIIToUTF16("tool tip")); base 54 chrome/browser/status_icons/status_tray_unittest.cc StatusTray::OTHER_ICON, *image, base::ASCIIToUTF16("tool tip")); base 62 chrome/browser/sxs_linux.cc bool DoAddChannelMarkToUserDataDir(const base::FilePath& user_data_dir) { base 64 chrome/browser/sxs_linux.cc base::FilePath channels_path(user_data_dir.AppendASCII(kChannelsFileName)); base 71 chrome/browser/sxs_linux.cc if (base::ReadFileToString(channels_path, &channels_contents)) base 72 chrome/browser/sxs_linux.cc base::SplitString(channels_contents, '\n', &user_data_dir_channels); base 82 chrome/browser/sxs_linux.cc return base::ImportantFileWriter::WriteFileAtomically( base 93 chrome/browser/sxs_linux.cc base::FilePath user_data_dir; base 115 chrome/browser/sxs_linux.cc base::FilePath source_path; base 121 chrome/browser/sxs_linux.cc base::FilePath channels_path(source_path.AppendASCII(kChannelsFileName)); base 124 chrome/browser/sxs_linux.cc if (!base::ReadFileToString(channels_path, &channels_contents)) { base 130 chrome/browser/sxs_linux.cc base::SplitString(channels_contents, '\n', &user_data_dir_channels); base 144 chrome/browser/sxs_linux.cc base::FilePath target_path = base 148 chrome/browser/sxs_linux.cc if (!base::Move(source_path, target_path)) { base 10 chrome/browser/sxs_linux.h namespace base { base 19 chrome/browser/sync/about_sync_util.cc using base::DictionaryValue; base 20 chrome/browser/sync/about_sync_util.cc using base::ListValue; base 30 chrome/browser/sync/about_sync_util.cc base::ListValue* AddSection(base::ListValue* parent_list, base 32 chrome/browser/sync/about_sync_util.cc base::DictionaryValue* section = new base::DictionaryValue(); base 33 chrome/browser/sync/about_sync_util.cc base::ListValue* section_contents = new base::ListValue(); base 43 chrome/browser/sync/about_sync_util.cc base::ListValue* AddSensitiveSection(base::ListValue* parent_list, base 45 chrome/browser/sync/about_sync_util.cc base::DictionaryValue* section = new base::DictionaryValue(); base 46 chrome/browser/sync/about_sync_util.cc base::ListValue* section_contents = new base::ListValue(); base 63 chrome/browser/sync/about_sync_util.cc StringSyncStat(base::ListValue* section, const std::string& key); base 65 chrome/browser/sync/about_sync_util.cc void SetValue(const base::string16& value); base 69 chrome/browser/sync/about_sync_util.cc base::DictionaryValue* stat_; base 72 chrome/browser/sync/about_sync_util.cc StringSyncStat::StringSyncStat(base::ListValue* section, base 74 chrome/browser/sync/about_sync_util.cc stat_ = new base::DictionaryValue(); base 86 chrome/browser/sync/about_sync_util.cc void StringSyncStat::SetValue(const base::string16& value) { base 93 chrome/browser/sync/about_sync_util.cc BoolSyncStat(base::ListValue* section, const std::string& key); base 98 chrome/browser/sync/about_sync_util.cc base::DictionaryValue* stat_; base 101 chrome/browser/sync/about_sync_util.cc BoolSyncStat::BoolSyncStat(base::ListValue* section, const std::string& key) { base 102 chrome/browser/sync/about_sync_util.cc stat_ = new base::DictionaryValue(); base 116 chrome/browser/sync/about_sync_util.cc IntSyncStat(base::ListValue* section, const std::string& key); base 121 chrome/browser/sync/about_sync_util.cc base::DictionaryValue* stat_; base 124 chrome/browser/sync/about_sync_util.cc IntSyncStat::IntSyncStat(base::ListValue* section, const std::string& key) { base 125 chrome/browser/sync/about_sync_util.cc stat_ = new base::DictionaryValue(); base 166 chrome/browser/sync/about_sync_util.cc std::string GetTimeStr(base::Time time, const std::string& default_msg) { base 180 chrome/browser/sync/about_sync_util.cc base::StringAppendF(&message, "not attempted"); base 183 chrome/browser/sync/about_sync_util.cc base::StringAppendF( base 188 chrome/browser/sync/about_sync_util.cc base::StringAppendF( base 193 chrome/browser/sync/about_sync_util.cc base::StringAppendF( base 211 chrome/browser/sync/about_sync_util.cc scoped_ptr<base::DictionaryValue> ConstructAboutInformation( base 213 chrome/browser/sync/about_sync_util.cc scoped_ptr<base::DictionaryValue> about_info(new base::DictionaryValue()); base 216 chrome/browser/sync/about_sync_util.cc base::ListValue* stats_list = new base::ListValue(); base 221 chrome/browser/sync/about_sync_util.cc base::ListValue* section_summary = AddSection(stats_list, "Summary"); base 224 chrome/browser/sync/about_sync_util.cc base::ListValue* section_version = AddSection(stats_list, "Version Info"); base 228 chrome/browser/sync/about_sync_util.cc base::ListValue* section_identity = base 234 chrome/browser/sync/about_sync_util.cc base::ListValue* section_credentials = AddSection(stats_list, "Credentials"); base 242 chrome/browser/sync/about_sync_util.cc base::ListValue* section_local = AddSection(stats_list, "Local State"); base 253 chrome/browser/sync/about_sync_util.cc base::ListValue* section_network = AddSection(stats_list, "Network"); base 259 chrome/browser/sync/about_sync_util.cc base::ListValue* section_encryption = AddSection(stats_list, "Encryption"); base 277 chrome/browser/sync/about_sync_util.cc base::ListValue* section_last_session = AddSection( base 284 chrome/browser/sync/about_sync_util.cc base::ListValue* section_counters = AddSection(stats_list, "Running Totals"); base 305 chrome/browser/sync/about_sync_util.cc base::ListValue *section_this_cycle = AddSection(stats_list, base 313 chrome/browser/sync/about_sync_util.cc base::ListValue* section_that_cycle = AddSection( base 319 chrome/browser/sync/about_sync_util.cc base::ListValue* section_nudge_info = AddSection( base 481 chrome/browser/sync/about_sync_util.cc base::ListValue* actionable_error = new base::ListValue(); base 12 chrome/browser/sync/about_sync_util.h namespace base { base 25 chrome/browser/sync/about_sync_util.h scoped_ptr<base::DictionaryValue> ConstructAboutInformation( base 22 chrome/browser/sync/about_sync_util_unittest.cc base::MessageLoopForUI message_loop; base 29 chrome/browser/sync/about_sync_util_unittest.cc base::string16 str(base::ASCIIToUTF16("none")); base 44 chrome/browser/sync/about_sync_util_unittest.cc scoped_ptr<base::DictionaryValue> strings( base 59 chrome/browser/sync/abstract_profile_sync_service_test.cc base::RunLoop().RunUntilIdle(); base 61 chrome/browser/sync/abstract_profile_sync_service_test.cc base::RunLoop().RunUntilIdle(); base 71 chrome/browser/sync/abstract_profile_sync_service_test.cc : callback_(base::Bind(&CreateRootHelper::CreateRootCallback, base 72 chrome/browser/sync/abstract_profile_sync_service_test.cc base::Unretained(this))), base 81 chrome/browser/sync/abstract_profile_sync_service_test.cc const base::Closure& CreateRootHelper::callback() const { base 61 chrome/browser/sync/abstract_profile_sync_service_test.h const base::Closure& callback() const; base 67 chrome/browser/sync/abstract_profile_sync_service_test.h base::Closure callback_; base 31 chrome/browser/sync/backend_migrator.cc const base::Closure &migration_done_callback) base 118 chrome/browser/sync/backend_migrator.cc base::MessageLoop::current()->PostTask( base 120 chrome/browser/sync/backend_migrator.cc base::Bind(&BackendMigrator::OnConfigureDoneImpl, base 54 chrome/browser/sync/backend_migrator.h const base::Closure &migration_done_callback); base 99 chrome/browser/sync/backend_migrator.h base::Closure migration_done_callback_; base 101 chrome/browser/sync/backend_migrator.h base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_; base 49 chrome/browser/sync/backend_migrator_unittest.cc base::Closure())); base 105 chrome/browser/sync/backend_migrator_unittest.cc base::MessageLoop message_loop_; base 31 chrome/browser/sync/glue/autofill_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 58 chrome/browser/sync/glue/autofill_data_type_controller.cc const base::Closure& task) { base 77 chrome/browser/sync/glue/autofill_data_type_controller.cc web_data_service->RegisterDBLoadedCallback(base::Bind( base 44 chrome/browser/sync/glue/autofill_data_type_controller.h const base::Closure& task) OVERRIDE; base 64 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc db_loaded_callback_(base::Callback<void(void)>()){} base 80 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc const base::Callback<void(void)>& callback) OVERRIDE { base 87 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::RunLoop run_loop; base 89 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::Bind(&FakeWebDataService::CreateSyncableService, base 90 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::Unretained(this)), run_loop.QuitClosure()); base 108 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::Callback<void(void)> db_loaded_callback_; base 128 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::RunLoop run_loop; base 130 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::Bind(&base::DoNothing), run_loop.QuitClosure())); base 183 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::RunLoop run_loop; base 185 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::Bind(&base::DoNothing), run_loop.QuitClosure())); base 201 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::WeakPtrFactory<SyncAutofillDataTypeControllerTest> weak_ptr_factory_; base 214 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::Bind(&SyncAutofillDataTypeControllerTest::OnLoadFinished, base 218 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc .WillOnce(Return(base::WeakPtr<syncer::SyncableService>())); base 220 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::Bind(&SyncAutofillDataTypeControllerTest::OnStartFinished, base 235 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::Bind(&SyncAutofillDataTypeControllerTest::OnLoadFinished, base 249 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc .WillOnce(Return(base::WeakPtr<syncer::SyncableService>())); base 251 chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc base::Bind(&SyncAutofillDataTypeControllerTest::OnStartFinished, base 32 chrome/browser/sync/glue/autofill_profile_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 68 chrome/browser/sync/glue/autofill_profile_data_type_controller.cc web_data_service->RegisterDBLoadedCallback(base::Bind( base 78 chrome/browser/sync/glue/autofill_profile_data_type_controller.cc const base::Closure& task) { base 107 chrome/browser/sync/glue/autofill_profile_data_type_controller.cc web_data_service->RegisterDBLoadedCallback(base::Bind( base 42 chrome/browser/sync/glue/autofill_profile_data_type_controller.h const base::Closure& task) OVERRIDE; base 78 chrome/browser/sync/glue/bookmark_change_processor.cc dst->SetTitle(base::UTF16ToWideHack(src->GetTitle())); base 92 chrome/browser/sync/glue/bookmark_change_processor.cc scoped_refptr<base::RefCountedMemory>* dst) { base 554 chrome/browser/sync/glue/bookmark_change_processor.cc base::string16()); base 706 chrome/browser/sync/glue/bookmark_change_processor.cc model->SetTitle(node, base::UTF8ToUTF16(sync_node.GetTitle())); base 710 chrome/browser/sync/glue/bookmark_change_processor.cc base::Time::FromInternalValue(specifics.creation_time_us())); base 743 chrome/browser/sync/glue/bookmark_change_processor.cc parent, index, base::UTF8ToUTF16(sync_node->GetTitle())); base 749 chrome/browser/sync/glue/bookmark_change_processor.cc base::Time create_time = (create_time_internal == 0) ? base 750 chrome/browser/sync/glue/bookmark_change_processor.cc base::Time::Now() : base::Time::FromInternalValue(create_time_internal); base 752 chrome/browser/sync/glue/bookmark_change_processor.cc base::UTF8ToUTF16( base 776 chrome/browser/sync/glue/bookmark_change_processor.cc scoped_refptr<base::RefCountedString> icon_bytes( base 777 chrome/browser/sync/glue/bookmark_change_processor.cc new base::RefCountedString()); base 830 chrome/browser/sync/glue/bookmark_change_processor.cc const scoped_refptr<base::RefCountedMemory>& bitmap_data) { base 855 chrome/browser/sync/glue/bookmark_change_processor.cc scoped_refptr<base::RefCountedMemory> favicon_bytes(NULL); base 17 chrome/browser/sync/glue/bookmark_change_processor.h namespace base { base 110 chrome/browser/sync/glue/bookmark_change_processor.h const scoped_refptr<base::RefCountedMemory>& bitmap_data); base 177 chrome/browser/sync/glue/bookmark_change_processor.h scoped_refptr<base::RefCountedMemory>* dst); base 31 chrome/browser/sync/glue/bookmark_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 139 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 140 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 142 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Bind(&StartCallbackMock::Run, base 143 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Unretained(&start_callback_))); base 146 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::MessageLoopForUI message_loop_; base 179 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 180 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 188 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Bind(&StartCallbackMock::Run, base 189 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Unretained(&start_callback_))); base 201 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 202 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 232 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 233 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 235 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 236 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 293 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 294 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 330 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 83 chrome/browser/sync/glue/bookmark_model_associator.cc std::string title1 = base::UTF16ToUTF8(node1->GetTitle()); base 85 chrome/browser/sync/glue/bookmark_model_associator.cc base::TruncateUTF8ToByteSize(title1, kTitleLimitBytes, &title1); base 87 chrome/browser/sync/glue/bookmark_model_associator.cc std::string title2 = base::UTF16ToUTF8(node2->GetTitle()); base 89 chrome/browser/sync/glue/bookmark_model_associator.cc base::TruncateUTF8ToByteSize(title2, kTitleLimitBytes, &title2); base 150 chrome/browser/sync/glue/bookmark_model_associator.cc temp_node.SetTitle(base::UTF8ToUTF16(title)); base 185 chrome/browser/sync/glue/bookmark_model_associator.cc typedef base::hash_map<int64, const BookmarkNode*> BookmarkIdMap; base 345 chrome/browser/sync/glue/bookmark_model_associator.cc std::string truncated_title = base::UTF16ToUTF8(bookmark->GetTitle()); base 346 chrome/browser/sync/glue/bookmark_model_associator.cc base::TruncateUTF8ToByteSize(truncated_title, base 679 chrome/browser/sync/glue/bookmark_model_associator.cc base::MessageLoop::current()->PostTask( base 681 chrome/browser/sync/glue/bookmark_model_associator.cc base::Bind( base 759 chrome/browser/sync/glue/bookmark_model_associator.cc std::string message = base::StringPrintf( base 163 chrome/browser/sync/glue/bookmark_model_associator.h base::WeakPtrFactory<BookmarkModelAssociator> weak_factory_; base 11 chrome/browser/sync/glue/browser_thread_model_worker.cc using base::WaitableEvent; base 34 chrome/browser/sync/glue/browser_thread_model_worker.cc base::Bind(&BrowserThreadModelWorker::CallDoWorkAndSignalTask, base 53 chrome/browser/sync/glue/browser_thread_model_worker.cc base::MessageLoop::current()->AddDestructionObserver(this); base 15 chrome/browser/sync/glue/browser_thread_model_worker.h namespace base { base 46 chrome/browser/sync/glue/browser_thread_model_worker.h base::WaitableEvent* done, base 66 chrome/browser/sync/glue/browser_thread_model_worker.h base::WaitableEvent* done, base 80 chrome/browser/sync/glue/browser_thread_model_worker.h base::WaitableEvent* done, base 17 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc using base::OneShotTimer; base 18 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc using base::Thread; base 19 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc using base::TimeDelta; base 37 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc base::WeakPtrFactory<SyncBrowserThreadModelWorkerTest>* factory() { base 46 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc base::Bind(&SyncBrowserThreadModelWorkerTest::DoWork, base 47 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc base::Unretained(this)); base 61 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc BrowserThread::IO, FROM_HERE, base::MessageLoop::QuitClosure()); base 71 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc BrowserThread::IO, FROM_HERE, base::MessageLoop::QuitClosure()); base 90 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc base::WeakPtrFactory<SyncBrowserThreadModelWorkerTest> weak_factory_; base 94 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 95 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc base::Bind(&SyncBrowserThreadModelWorkerTest::ScheduleWork, base 97 chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc base::MessageLoop::current()->Run(); base 26 chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc double random_number = base::RandDouble(); base 30 chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc base::debug::DumpWithoutCrashing(); base 220 chrome/browser/sync/glue/data_type_manager_impl.cc last_restart_time_ = base::Time::Now(); base 241 chrome/browser/sync/glue/data_type_manager_impl.cc base::Bind(&DataTypeManagerImpl::DownloadReady, base 243 chrome/browser/sync/glue/data_type_manager_impl.cc base::Time::Now(), base 246 chrome/browser/sync/glue/data_type_manager_impl.cc base::Bind(&DataTypeManagerImpl::OnDownloadRetry, base 311 chrome/browser/sync/glue/data_type_manager_impl.cc base::Time download_start_time, base 356 chrome/browser/sync/glue/data_type_manager_impl.cc association_info.download_ready_time = base::Time::Now(); base 367 chrome/browser/sync/glue/data_type_manager_impl.cc base::Bind(&DataTypeManagerImpl::DownloadReady, base 369 chrome/browser/sync/glue/data_type_manager_impl.cc base::Time::Now(), base 372 chrome/browser/sync/glue/data_type_manager_impl.cc base::Bind(&DataTypeManagerImpl::OnDownloadRetry, base 381 chrome/browser/sync/glue/data_type_manager_impl.cc base::Time::Now(); base 586 chrome/browser/sync/glue/data_type_manager_impl.cc configure_time_delta_ += (base::Time::Now() - last_restart_time_); base 95 chrome/browser/sync/glue/data_type_manager_impl.h void DownloadReady(base::Time download_start_time, base 141 chrome/browser/sync/glue/data_type_manager_impl.h base::Time last_restart_time_; base 145 chrome/browser/sync/glue/data_type_manager_impl.h base::TimeDelta configure_time_delta_; base 172 chrome/browser/sync/glue/data_type_manager_impl.h base::Time download_start_time; base 173 chrome/browser/sync/glue/data_type_manager_impl.h base::Time download_ready_time; base 174 chrome/browser/sync/glue/data_type_manager_impl.h base::Time association_request_time; base 187 chrome/browser/sync/glue/data_type_manager_impl.h base::WeakPtrFactory<DataTypeManagerImpl> weak_ptr_factory_; base 61 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc const base::Callback<void(ModelTypeSet, base 63 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc const base::Callback<void()>& retry_callback) OVERRIDE { base 77 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc base::Callback<void(ModelTypeSet, ModelTypeSet)> last_ready_task() const { base 86 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc base::Callback<void(ModelTypeSet, ModelTypeSet)> last_ready_task_; base 250 chrome/browser/sync/glue/data_type_manager_impl_unittest.cc base::MessageLoopForUI ui_loop_; base 188 chrome/browser/sync/glue/device_info.cc base::DictionaryValue* DeviceInfo::ToValue() { base 189 chrome/browser/sync/glue/device_info.cc base::DictionaryValue* value = new base::DictionaryValue(); base 205 chrome/browser/sync/glue/device_info.cc base::Callback<void(const DeviceInfo& local_info)> callback) { base 207 chrome/browser/sync/glue/device_info.cc base::Bind(&DeviceInfo::CreateLocalDeviceInfoContinuation, base 214 chrome/browser/sync/glue/device_info.cc base::Callback<void(const std::string& client_name)> callback) { base 217 chrome/browser/sync/glue/device_info.cc base::Bind(&DeviceInfo::GetClientNameContinuation, base 222 chrome/browser/sync/glue/device_info.cc base::Callback<void(const std::string& local_info)> callback, base 230 chrome/browser/sync/glue/device_info.cc base::Callback<void(const DeviceInfo& local_info)> callback, base 14 chrome/browser/sync/glue/device_info.h namespace base { base 74 chrome/browser/sync/glue/device_info.h base::DictionaryValue* ToValue(); base 82 chrome/browser/sync/glue/device_info.h base::Callback<void(const DeviceInfo& local_info)> callback); base 86 chrome/browser/sync/glue/device_info.h base::Callback<void(const std::string& local_info)> callback); base 96 chrome/browser/sync/glue/device_info.h base::Callback<void(const std::string& local_info)> callback, base 101 chrome/browser/sync/glue/device_info.h base::Callback<void(const DeviceInfo& local_info)> callback, base 25 chrome/browser/sync/glue/extension_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 29 chrome/browser/sync/glue/extension_setting_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 53 chrome/browser/sync/glue/extension_setting_data_type_controller.cc const base::Closure& task) { base 47 chrome/browser/sync/glue/extension_setting_data_type_controller.h const base::Closure& task) OVERRIDE; base 32 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc base::FilePath path; base 36 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc base::DictionaryValue value; base 74 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc base::MessageLoop ui_loop_; base 16 chrome/browser/sync/glue/fake_generic_change_processor.cc base::WeakPtr<syncer::SyncableService>(), base 17 chrome/browser/sync/glue/fake_generic_change_processor.cc base::WeakPtr<syncer::SyncMergeResult>(), base 47 chrome/browser/sync/glue/favicon_cache.cc base::Time last_visit_time; base 127 chrome/browser/sync/glue/favicon_cache.cc base::RefCountedString* temp_string = base 128 chrome/browser/sync/glue/favicon_cache.cc new base::RefCountedString(); base 425 chrome/browser/sync/glue/favicon_cache.cc UpdateFaviconVisitTime(icon_iter->second->favicon_url, base::Time::Now()); base 446 chrome/browser/sync/glue/favicon_cache.cc base::CancelableTaskTracker::TaskId id = favicon_service->GetFaviconForURL( base 449 chrome/browser/sync/glue/favicon_cache.cc base::Bind(&FaviconCache::OnFaviconDataAvailable, base 472 chrome/browser/sync/glue/favicon_cache.cc UpdateFaviconVisitTime(favicon_url, base::Time::Now()); base 483 chrome/browser/sync/glue/favicon_cache.cc scoped_refptr<base::RefCountedMemory>* favicon_png) const { base 503 chrome/browser/sync/glue/favicon_cache.cc scoped_refptr<base::RefCountedMemory>* favicon_png) const { base 532 chrome/browser/sync/glue/favicon_cache.cc base::MessageLoop::current()->PostTask( base 534 chrome/browser/sync/glue/favicon_cache.cc base::Bind(&FaviconCache::OnReceivedSyncFaviconImpl, base 557 chrome/browser/sync/glue/favicon_cache.cc base::RefCountedString* temp_string = new base::RefCountedString(); base 635 chrome/browser/sync/glue/favicon_cache.cc base::Time now = base::Time::Now(); base 761 chrome/browser/sync/glue/favicon_cache.cc base::Time time) { base 855 chrome/browser/sync/glue/favicon_cache.cc base::Time last_visit = syncer::ProtoTimeToTime( base 862 chrome/browser/sync/glue/favicon_cache.cc last_visit = last_visit + base::TimeDelta::FromMilliseconds(1); base 923 chrome/browser/sync/glue/favicon_cache.cc base::Time last_visit = syncer::ProtoTimeToTime( base 930 chrome/browser/sync/glue/favicon_cache.cc last_visit = last_visit + base::TimeDelta::FromMilliseconds(1); base 1052 chrome/browser/sync/glue/favicon_cache.cc favicon_iter->second->last_visit_time = base::Time(); base 72 chrome/browser/sync/glue/favicon_cache.h scoped_refptr<base::RefCountedMemory>* favicon_png) const; base 79 chrome/browser/sync/glue/favicon_cache.h scoped_refptr<base::RefCountedMemory>* favicon_png) const; base 120 chrome/browser/sync/glue/favicon_cache.h typedef std::map<GURL, base::CancelableTaskTracker::TaskId> PageTaskMap; base 152 chrome/browser/sync/glue/favicon_cache.h void UpdateFaviconVisitTime(const GURL& icon_url, base::Time time); base 201 chrome/browser/sync/glue/favicon_cache.h base::CancelableTaskTracker cancelable_task_tracker_; base 231 chrome/browser/sync/glue/favicon_cache.h base::WeakPtrFactory<FaviconCache> weak_ptr_factory_; base 120 chrome/browser/sync/glue/favicon_cache_unittest.cc data.page_url = GURL(base::StringPrintf("http://bla.com/%.2i.html", index)); base 121 chrome/browser/sync/glue/favicon_cache_unittest.cc data.icon_url = GURL(base::StringPrintf("http://bla.com/%.2i.ico", index)); base 122 chrome/browser/sync/glue/favicon_cache_unittest.cc data.image_16 = base::StringPrintf("16 %i", index); base 251 chrome/browser/sync/glue/favicon_cache_unittest.cc if (!base::StringToInt(temp, &result)) base 294 chrome/browser/sync/glue/favicon_cache_unittest.cc base::MessageLoopForUI message_loop_; base 335 chrome/browser/sync/glue/favicon_cache_unittest.cc scoped_refptr<base::RefCountedMemory> favicon; base 418 chrome/browser/sync/glue/favicon_cache_unittest.cc base::RefCountedString* temp_string = new base::RefCountedString(); base 428 chrome/browser/sync/glue/favicon_cache_unittest.cc base::RefCountedString* temp_string = new base::RefCountedString(); base 438 chrome/browser/sync/glue/favicon_cache_unittest.cc base::RefCountedString* temp_string = new base::RefCountedString(); base 620 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 626 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 695 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 701 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 776 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 782 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 837 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 846 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 852 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 886 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 892 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 898 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 926 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 930 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 936 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 962 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 969 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 977 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 1008 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1017 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 1022 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1047 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1053 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1060 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 1082 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1088 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1095 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 1102 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 1135 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1141 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1202 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1208 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1219 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 1228 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time()))); base 1384 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1390 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1442 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1448 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1564 chrome/browser/sync/glue/favicon_cache_unittest.cc 1, image_specifics, base::Time()))); base 1573 chrome/browser/sync/glue/favicon_cache_unittest.cc 1, tracking_specifics, base::Time()))); base 1635 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1660 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1664 chrome/browser/sync/glue/favicon_cache_unittest.cc syncer::TimeToProtoTime(base::Time())); base 1668 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1720 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time::Now() + base::TimeDelta::FromMinutes(kClockSkew)); base 1726 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1732 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1785 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 1793 chrome/browser/sync/glue/favicon_cache_unittest.cc base::Time())); base 24 chrome/browser/sync/glue/frontend_data_type_controller.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 25 chrome/browser/sync/glue/frontend_data_type_controller.cc const base::Closure& error_callback, base 150 chrome/browser/sync/glue/frontend_data_type_controller.cc : DataTypeController(base::MessageLoopProxy::current(), base::Closure()), base 190 chrome/browser/sync/glue/frontend_data_type_controller.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 196 chrome/browser/sync/glue/frontend_data_type_controller.cc RecordAssociationTime(base::TimeTicks::Now() - start_time); base 269 chrome/browser/sync/glue/frontend_data_type_controller.cc void FrontendDataTypeController::RecordAssociationTime(base::TimeDelta time) { base 20 chrome/browser/sync/glue/frontend_data_type_controller.h namespace base { base 46 chrome/browser/sync/glue/frontend_data_type_controller.h scoped_refptr<base::MessageLoopProxy> ui_thread, base 47 chrome/browser/sync/glue/frontend_data_type_controller.h const base::Closure& error_callback, base 99 chrome/browser/sync/glue/frontend_data_type_controller.h virtual void RecordAssociationTime(base::TimeDelta time); base 47 chrome/browser/sync/glue/frontend_data_type_controller_mock.h MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time)); base 45 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc : FrontendDataTypeController(base::MessageLoopProxy::current(), base 46 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc base::Closure(), base 75 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc virtual void RecordAssociationTime(base::TimeDelta time) OVERRIDE { base 146 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 147 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 149 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc base::Bind(&StartCallbackMock::Run, base 150 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc base::Unretained(&start_callback_))); base 157 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc base::MessageLoopForUI message_loop_; base 200 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 201 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 73 chrome/browser/sync/glue/generic_change_processor.cc const base::WeakPtr<syncer::SyncableService>& local_service, base 74 chrome/browser/sync/glue/generic_change_processor.cc const base::WeakPtr<syncer::SyncMergeResult>& merge_result, base 84 chrome/browser/sync/glue/generic_change_processor.cc base::MessageLoopProxy::current(), base 117 chrome/browser/sync/glue/generic_change_processor.cc base::Time(), base 130 chrome/browser/sync/glue/generic_change_processor.cc base::Int64ToString(it->id)); base 489 chrome/browser/sync/glue/generic_change_processor.cc sync_node->SetTitle(base::UTF8ToWide(change.sync_data().GetTitle())); base 592 chrome/browser/sync/glue/generic_change_processor.cc sync_node->SetTitle(base::UTF8ToWide(change.sync_data().GetTitle())); base 44 chrome/browser/sync/glue/generic_change_processor.h public base::NonThreadSafe { base 49 chrome/browser/sync/glue/generic_change_processor.h const base::WeakPtr<syncer::SyncableService>& local_service, base 50 chrome/browser/sync/glue/generic_change_processor.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result, base 110 chrome/browser/sync/glue/generic_change_processor.h const base::WeakPtr<syncer::SyncableService> local_service_; base 116 chrome/browser/sync/glue/generic_change_processor.h const base::WeakPtr<syncer::SyncMergeResult> merge_result_; base 134 chrome/browser/sync/glue/generic_change_processor.h base::WeakPtrFactory<syncer::AttachmentService> base 68 chrome/browser/sync/glue/generic_change_processor_unittest.cc node.InitUniqueByCreation(kType, root, base::StringPrintf("node%05d", i)); base 81 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::MessageLoopForUI loop_; base 84 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::WeakPtrFactory<syncer::SyncMergeResult> merge_result_ptr_factory_; base 87 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::WeakPtrFactory<syncer::FakeSyncableService> base 123 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("password%i", i)); base 130 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("tag%i", i), base 131 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("title%i", i), base 160 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("tag%i", i)), base 181 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("password%i", i)); base 188 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("tag%i", i), base 189 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("title%i", i), base 192 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("password_m%i", i)); base 199 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("tag%i", i), base 200 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("title_m%i", i), base 231 chrome/browser/sync/glue/generic_change_processor_unittest.cc base::StringPrintf("tag%i", i)), base 12 chrome/browser/sync/glue/history_model_worker.cc using base::WaitableEvent; base 46 chrome/browser/sync/glue/history_model_worker.cc explicit AddDBThreadObserverTask(base::Closure register_callback) base 60 chrome/browser/sync/glue/history_model_worker.cc base::Closure register_callback_; base 67 chrome/browser/sync/glue/history_model_worker.cc void PostWorkerTask(const base::WeakPtr<HistoryService>& history_service, base 85 chrome/browser/sync/glue/history_model_worker.cc const base::WeakPtr<HistoryService>& history_service, base 96 chrome/browser/sync/glue/history_model_worker.cc base::Bind(&HistoryModelWorker::RegisterOnDBThread, this)), base 101 chrome/browser/sync/glue/history_model_worker.cc base::MessageLoop::current()->AddDestructionObserver(this); base 109 chrome/browser/sync/glue/history_model_worker.cc base::Bind(&PostWorkerTask, history_service_, base 28 chrome/browser/sync/glue/history_model_worker.h const base::WeakPtr<HistoryService>& history_service, base 46 chrome/browser/sync/glue/history_model_worker.h const base::WeakPtr<HistoryService> history_service_; base 40 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::Lock controller_lock_; base 75 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::AutoLock al(controller_lock_); base 97 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 117 chrome/browser/sync/glue/non_frontend_data_type_controller.cc result.association_time = base::TimeTicks::Now() - start_time; base 123 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::AutoLock al(controller_lock_); base 136 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::AutoLock al(controller_lock_); base 160 chrome/browser/sync/glue/non_frontend_data_type_controller.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 161 chrome/browser/sync/glue/non_frontend_data_type_controller.cc const base::Closure& error_callback, base 231 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::Bind(&BackendComponentsContainer::Run, base 232 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::Unretained(components_container_.get())))) { base 269 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::Bind(&DestroyComponentsInBackend, base 301 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::Bind(&NonFrontendDataTypeController::DisableImpl, base 308 chrome/browser/sync/glue/non_frontend_data_type_controller.cc : DataTypeController(base::MessageLoopProxy::current(), base::Closure()), base 385 chrome/browser/sync/glue/non_frontend_data_type_controller.cc base::TimeDelta time) { base 24 chrome/browser/sync/glue/non_frontend_data_type_controller.h namespace base { base 51 chrome/browser/sync/glue/non_frontend_data_type_controller.h scoped_refptr<base::MessageLoopProxy> ui_thread, base 52 chrome/browser/sync/glue/non_frontend_data_type_controller.h const base::Closure& error_callback, base 83 chrome/browser/sync/glue/non_frontend_data_type_controller.h base::TimeDelta association_time; base 115 chrome/browser/sync/glue/non_frontend_data_type_controller.h const base::Closure& task) = 0; base 152 chrome/browser/sync/glue/non_frontend_data_type_controller.h virtual void RecordAssociationTime(base::TimeDelta time); base 183 chrome/browser/sync/glue/non_frontend_data_type_controller.h base::WeakPtrFactory<NonFrontendDataTypeController> weak_ptr_factory_; base 37 chrome/browser/sync/glue/non_frontend_data_type_controller_mock.h const base::Closure&)); base 55 chrome/browser/sync/glue/non_frontend_data_type_controller_mock.h MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time)); base 27 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc using base::WaitableEvent; base 59 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc : NonFrontendDataTypeController(base::MessageLoopProxy::current(), base 60 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc base::Closure(), base 82 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc const base::Closure& task) OVERRIDE { base 96 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc virtual void RecordAssociationTime(base::TimeDelta time) OVERRIDE { base 194 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc base::Bind(&SyncNonFrontendDataTypeControllerTest::SignalDone, &done)); base 199 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 204 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 205 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 207 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc base::Bind(&StartCallbackMock::Run, base 208 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc base::Unretained(&start_callback_))); base 211 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc base::MessageLoopForUI message_loop_; base 391 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc BrowserThread::PostTask(BrowserThread::DB, FROM_HERE, base::Bind( base 24 chrome/browser/sync/glue/non_ui_data_type_controller.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 25 chrome/browser/sync/glue/non_ui_data_type_controller.cc const base::Closure& error_callback, base 185 chrome/browser/sync/glue/non_ui_data_type_controller.cc base::Bind(&NonUIDataTypeController::DisableImpl, base 192 chrome/browser/sync/glue/non_ui_data_type_controller.cc : DataTypeController(base::MessageLoopProxy::current(), base::Closure()), base 213 chrome/browser/sync/glue/non_ui_data_type_controller.cc base::Bind(&NonUIDataTypeController::StartDoneImpl, base 261 chrome/browser/sync/glue/non_ui_data_type_controller.cc void NonUIDataTypeController::RecordAssociationTime(base::TimeDelta time) { base 305 chrome/browser/sync/glue/non_ui_data_type_controller.cc base::Bind( base 323 chrome/browser/sync/glue/non_ui_data_type_controller.cc base::WeakPtrFactory<syncer::SyncMergeResult> weak_ptr_factory( base 369 chrome/browser/sync/glue/non_ui_data_type_controller.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 393 chrome/browser/sync/glue/non_ui_data_type_controller.cc RecordAssociationTime(base::TimeTicks::Now() - start_time); base 430 chrome/browser/sync/glue/non_ui_data_type_controller.cc base::Bind(&NonUIDataTypeController::StopLocalService, this)); base 30 chrome/browser/sync/glue/non_ui_data_type_controller.h scoped_refptr<base::MessageLoopProxy> ui_thread, base 31 chrome/browser/sync/glue/non_ui_data_type_controller.h const base::Closure& error_callback, base 77 chrome/browser/sync/glue/non_ui_data_type_controller.h const base::Closure& task) = 0; base 97 chrome/browser/sync/glue/non_ui_data_type_controller.h virtual void RecordAssociationTime(base::TimeDelta time); base 162 chrome/browser/sync/glue/non_ui_data_type_controller.h base::WeakPtr<syncer::SyncableService> local_service_; base 40 chrome/browser/sync/glue/non_ui_data_type_controller_mock.h const base::Closure&)); base 50 chrome/browser/sync/glue/non_ui_data_type_controller_mock.h MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time)); base 30 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc using base::WaitableEvent; base 68 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc : NonUIDataTypeController(base::MessageLoopProxy::current(), base 69 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::Closure(), base 103 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc const base::Closure& task) OVERRIDE { base 125 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc virtual void RecordAssociationTime(base::TimeDelta time) OVERRIDE { base 140 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc const base::Closure& task) base 144 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::Closure task; base 182 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::Bind(&SyncNonUIDataTypeControllerTest::SignalDone, base 188 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 234 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 235 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 237 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::Bind(&StartCallbackMock::Run, base 238 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::Unretained(&start_callback_))); base 245 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::MessageLoopForUI message_loop_; base 300 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 301 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 428 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc .WillOnce(Return(base::WeakPtr<syncer::SyncableService>())); base 488 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc BrowserThread::PostTask(BrowserThread::DB, FROM_HERE, base::Bind( base 25 chrome/browser/sync/glue/password_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 44 chrome/browser/sync/glue/password_data_type_controller.cc const base::Closure& task) { base 36 chrome/browser/sync/glue/password_data_type_controller.h const base::Closure& task) OVERRIDE; base 12 chrome/browser/sync/glue/password_model_worker.cc using base::WaitableEvent; base 25 chrome/browser/sync/glue/password_model_worker.cc base::AutoLock lock(password_store_lock_); base 27 chrome/browser/sync/glue/password_model_worker.cc base::Bind(&PasswordModelWorker::RegisterForPasswordLoopDestruction, base 37 chrome/browser/sync/glue/password_model_worker.cc base::AutoLock lock(password_store_lock_); base 42 chrome/browser/sync/glue/password_model_worker.cc base::Bind(&PasswordModelWorker::CallDoWorkAndSignalTask, base 68 chrome/browser/sync/glue/password_model_worker.cc base::MessageLoop::current()->AddDestructionObserver(this); base 75 chrome/browser/sync/glue/password_model_worker.cc base::AutoLock lock(password_store_lock_); base 17 chrome/browser/sync/glue/password_model_worker.h namespace base { base 45 chrome/browser/sync/glue/password_model_worker.h base::WaitableEvent* done, base 54 chrome/browser/sync/glue/password_model_worker.h base::Lock password_store_lock_; base 26 chrome/browser/sync/glue/search_engine_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 50 chrome/browser/sync/glue/search_engine_data_type_controller.cc base::Bind(&SearchEngineDataTypeController::OnTemplateURLServiceLoaded, base 96 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 97 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 99 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc base::Bind(&StartCallbackMock::Run, base 100 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc base::Unretained(&start_callback_))); base 137 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 138 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 147 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 226 chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 273 chrome/browser/sync/glue/session_change_processor.cc const base::Time& mtime = sync_node.GetModificationTime(); base 385 chrome/browser/sync/glue/session_change_processor.cc base::Bind(&SessionChangeProcessor::OnNavigationBlocked, base 83 chrome/browser/sync/glue/session_change_processor.h base::WeakPtrFactory<SessionChangeProcessor> weak_ptr_factory_; base 27 chrome/browser/sync/glue/session_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 192 chrome/browser/sync/glue/session_model_associator.cc current_session->modified_time = base::Time::Now(); base 283 chrome/browser/sync/glue/session_model_associator.cc base::Time::Now(), base 454 chrome/browser/sync/glue/session_model_associator.cc SetSessionTabFromDelegate(tab_delegate, base::Time::Now(), session_tab); base 482 chrome/browser/sync/glue/session_model_associator.cc base::Time::Now(); base 490 chrome/browser/sync/glue/session_model_associator.cc base::Time mtime, base 637 chrome/browser/sync/glue/session_model_associator.cc write_node.SetTitle(base::UTF8ToWide(current_machine_tag_)); base 711 chrome/browser/sync/glue/session_model_associator.cc scoped_refptr<base::RefCountedMemory>* favicon_png) const { base 747 chrome/browser/sync/glue/session_model_associator.cc const base::Time& modification_time = sync_node.GetModificationTime(); base 784 chrome/browser/sync/glue/session_model_associator.cc const base::Time& modification_time) { base 865 chrome/browser/sync/glue/session_model_associator.cc base::Time mtime, base 904 chrome/browser/sync/glue/session_model_associator.cc base::Time mtime, base 942 chrome/browser/sync/glue/session_model_associator.cc base::Time::Now())); base 975 chrome/browser/sync/glue/session_model_associator.cc base::Time::Now())); base 1043 chrome/browser/sync/glue/session_model_associator.cc (base::Time::Now() - session->modified_time).InDays(); base 1163 chrome/browser/sync/glue/session_model_associator.cc base::MessageLoop::current()->Quit(); base 1172 chrome/browser/sync/glue/session_model_associator.cc base::TimeDelta timeout) { base 1176 chrome/browser/sync/glue/session_model_associator.cc base::MessageLoop::current()->PostDelayedTask( base 1178 chrome/browser/sync/glue/session_model_associator.cc base::Bind(&SessionModelAssociator::QuitLoopForSubtleTesting, base 59 chrome/browser/sync/glue/session_model_associator.h public base::SupportsWeakPtr<SessionModelAssociator>, base 60 chrome/browser/sync/glue/session_model_associator.h public base::NonThreadSafe { base 135 chrome/browser/sync/glue/session_model_associator.h const base::Time& modification_time); base 172 chrome/browser/sync/glue/session_model_associator.h void BlockUntilLocalChangeForTest(base::TimeDelta timeout); base 177 chrome/browser/sync/glue/session_model_associator.h scoped_refptr<base::RefCountedMemory>* favicon_png) const OVERRIDE; base 289 chrome/browser/sync/glue/session_model_associator.h base::Time mtime, base 296 chrome/browser/sync/glue/session_model_associator.h base::Time mtime, base 304 chrome/browser/sync/glue/session_model_associator.h base::Time mtime, base 370 chrome/browser/sync/glue/session_model_associator.h base::WeakPtrFactory<SessionModelAssociator> test_weak_factory_; base 57 chrome/browser/sync/glue/session_model_associator_unittest.cc base::Time mtime, base 69 chrome/browser/sync/glue/session_model_associator_unittest.cc scoped_refptr<base::RefCountedMemory> favicon; base 82 chrome/browser/sync/glue/session_model_associator_unittest.cc base::MessageLoopForUI message_loop_; base 143 chrome/browser/sync/glue/session_model_associator_unittest.cc base::Time time = base::Time::Now(); base 162 chrome/browser/sync/glue/session_model_associator_unittest.cc tag, window_s, base::Time(), session->windows[0], &tracker); base 312 chrome/browser/sync/glue/session_model_associator_unittest.cc const base::Time kTime1 = base::Time::FromInternalValue(100); base 313 chrome/browser/sync/glue/session_model_associator_unittest.cc const base::Time kTime2 = base::Time::FromInternalValue(105); base 314 chrome/browser/sync/glue/session_model_associator_unittest.cc const base::Time kTime3 = base::Time::FromInternalValue(110); base 315 chrome/browser/sync/glue/session_model_associator_unittest.cc const base::Time kTime4 = base::Time::FromInternalValue(120); base 316 chrome/browser/sync/glue/session_model_associator_unittest.cc const base::Time kTime5 = base::Time::FromInternalValue(130); base 87 chrome/browser/sync/glue/session_sync_test_helper.cc base::ASCIIToUTF16(kTitle)); base 13 chrome/browser/sync/glue/shared_change_processor.cc using base::AutoLock; base 48 chrome/browser/sync/glue/shared_change_processor.cc base::WeakPtr<syncer::SyncableService> SharedChangeProcessor::Connect( base 53 chrome/browser/sync/glue/shared_change_processor.cc const base::WeakPtr<syncer::SyncMergeResult>& merge_result) { base 58 chrome/browser/sync/glue/shared_change_processor.cc backend_loop_ = base::MessageLoopProxy::current(); base 61 chrome/browser/sync/glue/shared_change_processor.cc return base::WeakPtr<syncer::SyncableService>(); base 65 chrome/browser/sync/glue/shared_change_processor.cc base::WeakPtr<syncer::SyncableService> local_service = base 70 chrome/browser/sync/glue/shared_change_processor.cc return base::WeakPtr<syncer::SyncableService>(); base 53 chrome/browser/sync/glue/shared_change_processor.h : public base::RefCountedThreadSafe<SharedChangeProcessor> { base 63 chrome/browser/sync/glue/shared_change_processor.h virtual base::WeakPtr<syncer::SyncableService> Connect( base 68 chrome/browser/sync/glue/shared_change_processor.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result); base 105 chrome/browser/sync/glue/shared_change_processor.h friend class base::RefCountedThreadSafe<SharedChangeProcessor>; base 114 chrome/browser/sync/glue/shared_change_processor.h mutable base::Lock monitor_lock_; base 125 chrome/browser/sync/glue/shared_change_processor.h scoped_refptr<base::MessageLoopProxy> backend_loop_; base 20 chrome/browser/sync/glue/shared_change_processor_mock.h MOCK_METHOD5(Connect, base::WeakPtr<syncer::SyncableService>( base 25 chrome/browser/sync/glue/shared_change_processor_mock.h const base::WeakPtr<syncer::SyncMergeResult>&)); base 54 chrome/browser/sync/glue/shared_change_processor_unittest.cc base::Bind(&SyncSharedChangeProcessorTest::SetUpDBSyncableService, base 55 chrome/browser/sync/glue/shared_change_processor_unittest.cc base::Unretained(this)))); base 62 chrome/browser/sync/glue/shared_change_processor_unittest.cc base::Bind(&SyncSharedChangeProcessorTest::TearDownDBSyncableService, base 63 chrome/browser/sync/glue/shared_change_processor_unittest.cc base::Unretained(this)))); base 79 chrome/browser/sync/glue/shared_change_processor_unittest.cc base::Bind(&SyncSharedChangeProcessorTest::ConnectOnDBThread, base 80 chrome/browser/sync/glue/shared_change_processor_unittest.cc base::Unretained(this), base 112 chrome/browser/sync/glue/shared_change_processor_unittest.cc base::WeakPtr<syncer::SyncMergeResult>())); base 115 chrome/browser/sync/glue/shared_change_processor_unittest.cc base::MessageLoopForUI ui_loop_; base 28 chrome/browser/sync/glue/sync_backend_host.h namespace base { base 63 chrome/browser/sync/glue/sync_backend_host.h scoped_ptr<base::Thread> sync_thread, base 126 chrome/browser/sync/glue/sync_backend_host.h virtual scoped_ptr<base::Thread> Shutdown(ShutdownOption option) = 0; base 139 chrome/browser/sync/glue/sync_backend_host.h const base::Callback<void(syncer::ModelTypeSet, base 141 chrome/browser/sync/glue/sync_backend_host.h const base::Callback<void()>& retry_callback) OVERRIDE = 0; base 186 chrome/browser/sync/glue/sync_backend_host.h virtual base::Time GetExplicitPassphraseTime() const = 0; base 209 chrome/browser/sync/glue/sync_backend_host.h virtual base::MessageLoop* GetSyncLoopForTesting() = 0; base 51 chrome/browser/sync/glue/sync_backend_host_core.cc base::MessageLoop* sync_loop, base 98 chrome/browser/sync/glue/sync_backend_host_core.cc const base::FilePath& sync_data_folder_path, base 100 chrome/browser/sync/glue/sync_backend_host_core.cc const base::WeakPtr<SyncBackendHostImpl>& backend) base 120 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 129 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 144 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 162 chrome/browser/sync/glue/sync_backend_host_core.cc base::Bind(&SyncBackendHostCore::StartSavingChanges, base 218 chrome/browser/sync/glue/sync_backend_host_core.cc base::Bind(&SyncBackendHostCore::DoInitialProcessControlTypes, base 220 chrome/browser/sync/glue/sync_backend_host_core.cc base::Bind(&SyncBackendHostCore::OnControlTypesDownloadRetry, base 228 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 239 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 248 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 259 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 271 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 282 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 295 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::PassphraseType type, base::Time passphrase_time) { base 306 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 314 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 335 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 341 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 365 chrome/browser/sync/glue/sync_backend_host_core.cc if (!base::CreateDirectory(sync_data_folder_path_)) { base 414 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 426 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 433 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 439 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 472 chrome/browser/sync/glue/sync_backend_host_core.cc base::Bind(&SyncBackendHostCore::DoFinishInitialProcessControlTypes, base 477 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 484 chrome/browser/sync/glue/sync_backend_host_core.cc base::WeakPtr<syncer::SyncCore> sync_core = sync_manager_->GetSyncCore(); base 496 chrome/browser/sync/glue/sync_backend_host_core.cc syncer::SyncCoreProxy(base::MessageLoopProxy::current(), sync_core)); base 504 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 510 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 536 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 554 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 567 chrome/browser/sync/glue/sync_backend_host_core.cc const base::Callback<void(syncer::ModelTypeSet, base 569 chrome/browser/sync/glue/sync_backend_host_core.cc const base::Closure& retry_callback) { base 570 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 578 chrome/browser/sync/glue/sync_backend_host_core.cc base::Bind(&SyncBackendHostCore::DoFinishConfigureDataTypes, base 582 chrome/browser/sync/glue/sync_backend_host_core.cc base::Bind(&SyncBackendHostCore::DoRetryConfiguration, base 589 chrome/browser/sync/glue/sync_backend_host_core.cc const base::Callback<void(syncer::ModelTypeSet, base 591 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 612 chrome/browser/sync/glue/sync_backend_host_core.cc const base::Closure& retry_callback) { base 613 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 620 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 646 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 647 chrome/browser/sync/glue/sync_backend_host_core.cc if (base::DirectoryExists(sync_data_folder_path_)) { base 648 chrome/browser/sync/glue/sync_backend_host_core.cc if (!base::DeleteFile(sync_data_folder_path_, true)) base 657 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 659 chrome/browser/sync/glue/sync_backend_host_core.cc save_changes_timer_.reset(new base::RepeatingTimer<SyncBackendHostCore>()); base 661 chrome/browser/sync/glue/sync_backend_host_core.cc base::TimeDelta::FromSeconds(kSaveChangesIntervalSeconds), base 666 chrome/browser/sync/glue/sync_backend_host_core.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 24 chrome/browser/sync/glue/sync_backend_host_core.h base::MessageLoop* sync_loop, base 46 chrome/browser/sync/glue/sync_backend_host_core.h base::MessageLoop* sync_loop; base 80 chrome/browser/sync/glue/sync_backend_host_core.h : public base::RefCountedThreadSafe<SyncBackendHostCore>, base 85 chrome/browser/sync/glue/sync_backend_host_core.h const base::FilePath& sync_data_folder_path, base 87 chrome/browser/sync/glue/sync_backend_host_core.h const base::WeakPtr<SyncBackendHostImpl>& backend); base 122 chrome/browser/sync/glue/sync_backend_host_core.h base::Time passphrase_time) OVERRIDE; base 192 chrome/browser/sync/glue/sync_backend_host_core.h const base::Callback<void(syncer::ModelTypeSet, base 194 chrome/browser/sync/glue/sync_backend_host_core.h const base::Closure& retry_callback); base 197 chrome/browser/sync/glue/sync_backend_host_core.h const base::Callback<void(syncer::ModelTypeSet, base 200 chrome/browser/sync/glue/sync_backend_host_core.h const base::Closure& retry_callback); base 231 chrome/browser/sync/glue/sync_backend_host_core.h friend class base::RefCountedThreadSafe<SyncBackendHostCore>; base 253 chrome/browser/sync/glue/sync_backend_host_core.h const base::FilePath sync_data_folder_path_; base 260 chrome/browser/sync/glue/sync_backend_host_core.h base::MessageLoop* sync_loop_; base 267 chrome/browser/sync/glue/sync_backend_host_core.h scoped_ptr<base::RepeatingTimer<SyncBackendHostCore> > save_changes_timer_; base 299 chrome/browser/sync/glue/sync_backend_host_core.h base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; base 43 chrome/browser/sync/glue/sync_backend_host_impl.cc static const base::FilePath::CharType kSyncDataFolderName[] = base 51 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) base 52 chrome/browser/sync/glue/sync_backend_host_impl.cc : frontend_loop_(base::MessageLoop::current()), base 78 chrome/browser/sync/glue/sync_backend_host_impl.cc scoped_ptr<base::Thread> sync_thread, base 145 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoUpdateCredentials, base 157 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoStartSyncing, base 174 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 183 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoSetEncryptionPassphrase, base 200 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 213 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoSetDecryptionPassphrase, base 231 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 249 chrome/browser/sync/glue/sync_backend_host_impl.cc scoped_ptr<base::Thread> SyncBackendHostImpl::Shutdown(ShutdownOption option) { base 271 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoShutdown, base 279 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendRegistrar::Shutdown, base 280 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Unretained(detached_registrar))); base 285 chrome/browser/sync/glue/sync_backend_host_impl.cc return scoped_ptr<base::Thread>(); base 299 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::Callback<void(syncer::ModelTypeSet, base 301 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::Callback<void()>& retry_callback) { base 417 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoEnableEncryptEverything, base 462 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Time SyncBackendHostImpl::GetExplicitPassphraseTime() const { base 491 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind( base 500 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind( base 507 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoInitialize, base 508 chrome/browser/sync/glue/sync_backend_host_impl.cc core_.get(), base::Passed(&options))); base 519 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::Callback<void(syncer::ModelTypeSet, base 521 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::Closure& retry_callback) { base 528 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoConfigureSyncer, base 541 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::Callback<void(syncer::ModelTypeSet, base 564 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoRefreshTypes, core_.get(), types)); base 575 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 587 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 616 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 630 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 646 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::Closure& retry_callback) { base 666 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 674 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 682 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoOnInvalidatorStateChange, base 691 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Bind(&SyncBackendHostCore::DoOnIncomingInvalidation, base 718 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 730 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 743 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 752 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 758 chrome/browser/sync/glue/sync_backend_host_impl.cc base::Time explicit_passphrase_time) { base 759 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 771 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK_EQ(base::MessageLoop::current(), frontend_loop_); base 786 chrome/browser/sync/glue/sync_backend_host_impl.cc base::MessageLoop* SyncBackendHostImpl::GetSyncLoopForTesting() { base 36 chrome/browser/sync/glue/sync_backend_host_impl.h namespace base { base 76 chrome/browser/sync/glue/sync_backend_host_impl.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs); base 82 chrome/browser/sync/glue/sync_backend_host_impl.h scoped_ptr<base::Thread> sync_thread, base 101 chrome/browser/sync/glue/sync_backend_host_impl.h virtual scoped_ptr<base::Thread> Shutdown(ShutdownOption option) OVERRIDE; base 106 chrome/browser/sync/glue/sync_backend_host_impl.h const base::Callback<void(syncer::ModelTypeSet, base 108 chrome/browser/sync/glue/sync_backend_host_impl.h const base::Callback<void()>& retry_callback) OVERRIDE; base 122 chrome/browser/sync/glue/sync_backend_host_impl.h virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; base 130 chrome/browser/sync/glue/sync_backend_host_impl.h virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; base 149 chrome/browser/sync/glue/sync_backend_host_impl.h const base::Callback<void(syncer::ModelTypeSet, base 151 chrome/browser/sync/glue/sync_backend_host_impl.h const base::Closure& retry_callback); base 158 chrome/browser/sync/glue/sync_backend_host_impl.h const base::Callback<void(syncer::ModelTypeSet, base 199 chrome/browser/sync/glue/sync_backend_host_impl.h void RetryConfigurationOnFrontendLoop(const base::Closure& retry_callback); base 254 chrome/browser/sync/glue/sync_backend_host_impl.h base::Time explicit_passphrase_time); base 280 chrome/browser/sync/glue/sync_backend_host_impl.h base::MessageLoop* const frontend_loop_; base 297 chrome/browser/sync/glue/sync_backend_host_impl.h const base::WeakPtr<sync_driver::SyncPrefs> sync_prefs_; base 324 chrome/browser/sync/glue/sync_backend_host_impl.h base::Time cached_explicit_passphrase_time_; base 332 chrome/browser/sync/glue/sync_backend_host_impl.h base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; base 64 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::MessageLoop::current()->Quit(); base 183 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 186 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 195 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc scoped_ptr<base::Thread>(), base 205 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::RunLoop run_loop; base 232 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::Bind(&SyncBackendHostTest::DownloadReady, base 233 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::Unretained(this)), base 234 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::Bind(&SyncBackendHostTest::OnDownloadRetry, base 235 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::Unretained(this))); base 236 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::RunLoop run_loop; base 255 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::MessageLoop::current()->Quit(); base 705 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::FilePath temp_directory = base 707 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc base::FilePath sync_file = temp_directory.AppendASCII("SyncData.sqlite3"); base 708 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc ASSERT_TRUE(base::CreateDirectory(temp_directory)); base 709 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc ASSERT_NE(-1, base::WriteFile(sync_file, nonsense, strlen(nonsense))); base 713 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc EXPECT_FALSE(base::PathExists(sync_file)); base 16 chrome/browser/sync/glue/sync_backend_host_mock.cc scoped_ptr<base::Thread> sync_thread, base 48 chrome/browser/sync/glue/sync_backend_host_mock.cc scoped_ptr<base::Thread> SyncBackendHostMock::Shutdown(ShutdownOption option) { base 49 chrome/browser/sync/glue/sync_backend_host_mock.cc return scoped_ptr<base::Thread>(); base 57 chrome/browser/sync/glue/sync_backend_host_mock.cc const base::Callback<void(syncer::ModelTypeSet, base 59 chrome/browser/sync/glue/sync_backend_host_mock.cc const base::Callback<void()>& retry_callback) {} base 97 chrome/browser/sync/glue/sync_backend_host_mock.cc base::Time SyncBackendHostMock::GetExplicitPassphraseTime() const { base 98 chrome/browser/sync/glue/sync_backend_host_mock.cc return base::Time(); base 113 chrome/browser/sync/glue/sync_backend_host_mock.cc base::MessageLoop* SyncBackendHostMock::GetSyncLoopForTesting() { base 30 chrome/browser/sync/glue/sync_backend_host_mock.h scoped_ptr<base::Thread> sync_thread, base 55 chrome/browser/sync/glue/sync_backend_host_mock.h virtual scoped_ptr<base::Thread> Shutdown(ShutdownOption option) OVERRIDE; base 62 chrome/browser/sync/glue/sync_backend_host_mock.h const base::Callback<void(syncer::ModelTypeSet, base 64 chrome/browser/sync/glue/sync_backend_host_mock.h const base::Callback<void()>& retry_callback) OVERRIDE; base 88 chrome/browser/sync/glue/sync_backend_host_mock.h virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; base 101 chrome/browser/sync/glue/sync_backend_host_mock.h virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; base 60 chrome/browser/sync/glue/sync_backend_registrar.cc scoped_ptr<base::Thread> sync_thread) : base 68 chrome/browser/sync/glue/sync_backend_registrar.cc sync_thread_.reset(new base::Thread("Chrome_SyncThread")); base 107 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock lock(lock_); base 138 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock lock(lock_); base 156 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock lock(lock_); base 193 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock lock(lock_); base 208 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock lock(lock_); base 230 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock lock(lock_); base 267 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock lock(lock_); base 277 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock lock(lock_); base 284 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock lock(lock_); base 338 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock al(lock_); base 354 chrome/browser/sync/glue/sync_backend_registrar.cc scoped_ptr<base::Thread> SyncBackendRegistrar::ReleaseSyncThread() { base 363 chrome/browser/sync/glue/sync_backend_registrar.cc base::AutoLock al(lock_); base 367 chrome/browser/sync/glue/sync_backend_registrar.cc base::Bind(&SyncBackendRegistrar::OnWorkerUnregistrationDone, base 368 chrome/browser/sync/glue/sync_backend_registrar.cc base::Unretained(this))); base 372 chrome/browser/sync/glue/sync_backend_registrar.cc base::Thread* SyncBackendRegistrar::sync_thread() { base 22 chrome/browser/sync/glue/sync_backend_registrar.h namespace base { base 45 chrome/browser/sync/glue/sync_backend_registrar.h scoped_ptr<base::Thread> sync_thread); base 119 chrome/browser/sync/glue/sync_backend_registrar.h scoped_ptr<base::Thread> ReleaseSyncThread(); base 124 chrome/browser/sync/glue/sync_backend_registrar.h base::Thread* sync_thread(); base 158 chrome/browser/sync/glue/sync_backend_registrar.h mutable base::Lock lock_; base 187 chrome/browser/sync/glue/sync_backend_registrar.h scoped_ptr<base::Thread> sync_thread_; base 46 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc base::WaitableEvent* done) { base 75 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc scoped_ptr<base::Thread>())); base 84 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc base::Bind(&SyncBackendRegistrar::Shutdown, base 85 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc base::Unretained(registrar_.release()))); base 109 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc base::MessageLoop ui_loop_; base 114 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc base::Thread* sync_thread_; base 251 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc base::WaitableEvent done(false, false); base 255 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc base::Bind(&SyncBackendRegistrarTest::TestNonUIDataTypeActivationAsync, base 256 chrome/browser/sync/glue/sync_backend_registrar_unittest.cc base::Unretained(this), base 18 chrome/browser/sync/glue/sync_start_util.cc void StartSyncOnUIThread(const base::FilePath& profile, base 41 chrome/browser/sync/glue/sync_start_util.cc void StartSyncProxy(const base::FilePath& profile, base 45 chrome/browser/sync/glue/sync_start_util.cc base::Bind(&StartSyncOnUIThread, profile, type)); base 53 chrome/browser/sync/glue/sync_start_util.cc const base::FilePath& profile_path) { base 54 chrome/browser/sync/glue/sync_start_util.cc return base::Bind(&StartSyncProxy, profile_path); base 13 chrome/browser/sync/glue/sync_start_util.h namespace base { base 29 chrome/browser/sync/glue/sync_start_util.h const base::FilePath& profile_path); base 23 chrome/browser/sync/glue/synced_device_tracker.cc return base::StringPrintf("DeviceInfo_%s", cache_guid.c_str()); base 148 chrome/browser/sync/glue/synced_device_tracker.cc void SyncedDeviceTracker::InitLocalDeviceInfo(const base::Closure& callback) { base 151 chrome/browser/sync/glue/synced_device_tracker.cc base::Bind(&SyncedDeviceTracker::InitLocalDeviceInfoContinuation, base 156 chrome/browser/sync/glue/synced_device_tracker.cc const base::Closure& callback, const DeviceInfo& local_info) { base 182 chrome/browser/sync/glue/synced_device_tracker.cc node.SetTitle(base::UTF8ToWide(specifics.client_name())); base 196 chrome/browser/sync/glue/synced_device_tracker.cc new_node.SetTitle(base::UTF8ToWide(specifics.client_name())); base 50 chrome/browser/sync/glue/synced_device_tracker.h virtual void InitLocalDeviceInfo(const base::Closure& callback); base 67 chrome/browser/sync/glue/synced_device_tracker.h void InitLocalDeviceInfoContinuation(const base::Closure& callback, base 87 chrome/browser/sync/glue/synced_device_tracker.h base::WeakPtrFactory<SyncedDeviceTracker> weak_factory_; base 90 chrome/browser/sync/glue/synced_device_tracker_unittest.cc base::RunLoop run_loop; base 95 chrome/browser/sync/glue/synced_device_tracker_unittest.cc base::MessageLoop message_loop_; base 187 chrome/browser/sync/glue/synced_device_tracker_unittest.cc base::GenerateGUID(), base 191 chrome/browser/sync/glue/synced_device_tracker_unittest.cc std::string guid1 = base::GenerateGUID(); base 194 chrome/browser/sync/glue/synced_device_tracker_unittest.cc base::GenerateGUID(), base 198 chrome/browser/sync/glue/synced_device_tracker_unittest.cc std::string guid2 = base::GenerateGUID(); base 53 chrome/browser/sync/glue/synced_session.h base::Time modified_time; base 200 chrome/browser/sync/glue/synced_session_tracker.cc title = " (" + base::UTF16ToUTF8( base 349 chrome/browser/sync/glue/synced_session_tracker.cc title = " (" + base::UTF16ToUTF8( base 175 chrome/browser/sync/glue/synced_session_tracker_unittest.cc std::string tag = base::StringPrintf("tag%d", j); base 179 chrome/browser/sync/glue/synced_session_tracker_unittest.cc int rand_tab_num = base::RandInt(0, kMaxTabs); base 39 chrome/browser/sync/glue/tab_node_pool.cc return base::StringPrintf("%s %d", machine_tag.c_str(), tab_node_id); base 91 chrome/browser/sync/glue/tab_node_pool.cc tab_node.SetTitle(base::UTF8ToWide(tab_node_tag)); base 22 chrome/browser/sync/glue/theme_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 47 chrome/browser/sync/glue/typed_url_change_processor.cc backend_loop_(base::MessageLoop::current()), base 60 chrome/browser/sync/glue/typed_url_change_processor.cc DCHECK(backend_loop_ == base::MessageLoop::current()); base 67 chrome/browser/sync/glue/typed_url_change_processor.cc DCHECK(backend_loop_ == base::MessageLoop::current()); base 69 chrome/browser/sync/glue/typed_url_change_processor.cc base::AutoLock al(disconnect_lock_); base 177 chrome/browser/sync/glue/typed_url_change_processor.cc create_node.SetTitle(base::UTF8ToWide(tag)); base 248 chrome/browser/sync/glue/typed_url_change_processor.cc DCHECK(backend_loop_ == base::MessageLoop::current()); base 250 chrome/browser/sync/glue/typed_url_change_processor.cc base::AutoLock al(disconnect_lock_); base 308 chrome/browser/sync/glue/typed_url_change_processor.cc DCHECK(backend_loop_ == base::MessageLoop::current()); base 310 chrome/browser/sync/glue/typed_url_change_processor.cc base::AutoLock al(disconnect_lock_); base 335 chrome/browser/sync/glue/typed_url_change_processor.cc base::AutoLock al(disconnect_lock_); base 345 chrome/browser/sync/glue/typed_url_change_processor.cc base::Bind(&TypedUrlChangeProcessor::StartObserving, base 346 chrome/browser/sync/glue/typed_url_change_processor.cc base::Unretained(this))); base 350 chrome/browser/sync/glue/typed_url_change_processor.cc DCHECK(backend_loop_ == base::MessageLoop::current()); base 364 chrome/browser/sync/glue/typed_url_change_processor.cc DCHECK(backend_loop_ == base::MessageLoop::current()); base 22 chrome/browser/sync/glue/typed_url_change_processor.h namespace base { base 107 chrome/browser/sync/glue/typed_url_change_processor.h base::MessageLoop* backend_loop_; base 122 chrome/browser/sync/glue/typed_url_change_processor.h base::Lock disconnect_lock_; base 35 chrome/browser/sync/glue/typed_url_data_type_controller.cc explicit RunTaskOnHistoryThread(const base::Closure& task, base 37 chrome/browser/sync/glue/typed_url_data_type_controller.cc : task_(new base::Closure(task)), base 61 chrome/browser/sync/glue/typed_url_data_type_controller.cc scoped_ptr<base::Closure> task_; base 73 chrome/browser/sync/glue/typed_url_data_type_controller.cc base::Bind(&ChromeReportUnrecoverableError), base 81 chrome/browser/sync/glue/typed_url_data_type_controller.cc base::Bind( base 83 chrome/browser/sync/glue/typed_url_data_type_controller.cc base::Unretained(this))); base 134 chrome/browser/sync/glue/typed_url_data_type_controller.cc const base::Closure& task) { base 48 chrome/browser/sync/glue/typed_url_data_type_controller.h const base::Closure& task) OVERRIDE; base 68 chrome/browser/sync/glue/typed_url_model_associator.cc expected_loop_(base::MessageLoop::current()), base 177 chrome/browser/sync/glue/typed_url_model_associator.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 188 chrome/browser/sync/glue/typed_url_model_associator.cc base::AutoLock au(abort_lock_); base 272 chrome/browser/sync/glue/typed_url_model_associator.cc base::Time earliest_visit = base 273 chrome/browser/sync/glue/typed_url_model_associator.cc base::Time::FromInternalValue(typed_url.visits(0)); base 308 chrome/browser/sync/glue/typed_url_model_associator.cc node.SetTitle(base::UTF8ToWide(tag)); base 445 chrome/browser/sync/glue/typed_url_model_associator.cc base::Time time = base::Time::FromInternalValue(source.visits(i)); base 457 chrome/browser/sync/glue/typed_url_model_associator.cc DCHECK(expected_loop_ == base::MessageLoop::current()); base 485 chrome/browser/sync/glue/typed_url_model_associator.cc base::AutoLock lock(abort_lock_); base 577 chrome/browser/sync/glue/typed_url_model_associator.cc base::string16 node_title(base::UTF8ToUTF16(node.title())); base 578 chrome/browser/sync/glue/typed_url_model_associator.cc base::Time node_last_visit = base::Time::FromInternalValue( base 608 chrome/browser/sync/glue/typed_url_model_associator.cc base::Time earliest_history_time = (*visits)[0].visit_time; base 614 chrome/browser/sync/glue/typed_url_model_associator.cc base::Time node_time, history_time; base 616 chrome/browser/sync/glue/typed_url_model_associator.cc node_time = base::Time::FromInternalValue(node.visits(node_visit_index)); base 694 chrome/browser/sync/glue/typed_url_model_associator.cc typed_url->set_title(base::UTF16ToUTF8(url.title())); base 783 chrome/browser/sync/glue/typed_url_model_associator.cc base::Time new_visit_time = base 784 chrome/browser/sync/glue/typed_url_model_associator.cc base::Time::FromInternalValue(new_url.visits(new_index)); base 814 chrome/browser/sync/glue/typed_url_model_associator.cc base::Time::FromInternalValue(new_url.visits(new_index)), base 825 chrome/browser/sync/glue/typed_url_model_associator.cc new_url->set_title(base::UTF8ToUTF16(typed_url.title())); base 830 chrome/browser/sync/glue/typed_url_model_associator.cc new_url->set_last_visit(base::Time::FromInternalValue( base 24 chrome/browser/sync/glue/typed_url_model_associator.h namespace base { base 190 chrome/browser/sync/glue/typed_url_model_associator.h base::MessageLoop* expected_loop_; base 193 chrome/browser/sync/glue/typed_url_model_associator.h base::Lock abort_lock_; base 34 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc history_url.set_title(base::UTF8ToUTF16(title)); base 37 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc base::Time::FromInternalValue(last_visit)); base 68 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc static void CreateModelAssociatorAsync(base::WaitableEvent* startup, base 69 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc base::WaitableEvent* aborted, base 70 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc base::WaitableEvent* done, base 186 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc 0, base::Time::FromInternalValue(2), 0, content::PAGE_TRANSITION_TYPED, base 227 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc 0, base::Time::FromInternalValue(visits[c]), 0, base 257 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc 0, base::Time::FromInternalValue(visits_left[c]), 0, base 291 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc 0, base::Time::FromInternalValue(visits_left[c]), 0, base 316 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc return history::VisitRow(0, base::Time::FromInternalValue(timestamp), 0, base 412 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc base::WaitableEvent startup(false, false); base 413 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc base::WaitableEvent aborted(false, false); base 414 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc base::WaitableEvent done(false, false); base 421 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc base::Closure callback = base::Bind( base 24 chrome/browser/sync/glue/ui_data_type_controller.cc : DataTypeController(base::MessageLoopProxy::current(), base::Closure()), base 33 chrome/browser/sync/glue/ui_data_type_controller.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 34 chrome/browser/sync/glue/ui_data_type_controller.cc const base::Closure& error_callback, base 128 chrome/browser/sync/glue/ui_data_type_controller.cc base::WeakPtrFactory<syncer::SyncMergeResult> weak_ptr_factory( base 172 chrome/browser/sync/glue/ui_data_type_controller.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 195 chrome/browser/sync/glue/ui_data_type_controller.cc RecordAssociationTime(base::TimeTicks::Now() - start_time); base 324 chrome/browser/sync/glue/ui_data_type_controller.cc void UIDataTypeController::RecordAssociationTime(base::TimeDelta time) { base 21 chrome/browser/sync/glue/ui_data_type_controller.h namespace base { base 39 chrome/browser/sync/glue/ui_data_type_controller.h scoped_refptr<base::MessageLoopProxy> ui_thread, base 40 chrome/browser/sync/glue/ui_data_type_controller.h const base::Closure& error_callback, base 88 chrome/browser/sync/glue/ui_data_type_controller.h virtual void RecordAssociationTime(base::TimeDelta time); base 123 chrome/browser/sync/glue/ui_data_type_controller.h base::WeakPtr<syncer::SyncableService> local_service_; base 51 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc new UIDataTypeController(base::MessageLoopProxy::current(), base 52 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc base::Closure(), base 91 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc base::Bind(&ModelLoadCallbackMock::Run, base 92 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc base::Unretained(&model_load_callback_))); base 94 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc base::Bind(&StartCallbackMock::Run, base 95 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc base::Unretained(&start_callback_))); base 102 chrome/browser/sync/glue/ui_data_type_controller_unittest.cc base::MessageLoopForUI message_loop_; base 23 chrome/browser/sync/glue/ui_model_worker.cc base::WaitableEvent* work_done, base 50 chrome/browser/sync/glue/ui_model_worker.cc base::MessageLoop::current()->AddDestructionObserver(this); base 65 chrome/browser/sync/glue/ui_model_worker.cc base::Bind(&CallDoWorkAndSignalCallback, base 23 chrome/browser/sync/glue/ui_model_worker_unittest.cc UIModelWorkerVisitor(base::WaitableEvent* was_run, base 33 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::MessageLoop::current()->Quit(); base 39 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::WaitableEvent* was_run_; base 51 chrome/browser/sync/glue/ui_model_worker_unittest.cc syncer::WorkCallback c = base::Bind(&UIModelWorkerVisitor::DoWork, base 52 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::Unretained(visitor)); base 75 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::Thread* core_thread() { return &faux_core_thread_; } base 76 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::Thread* syncer_thread() { return &faux_syncer_thread_; } base 78 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::MessageLoop faux_ui_loop_; base 80 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::Thread faux_syncer_thread_; base 81 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::Thread faux_core_thread_; base 87 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::WaitableEvent v_was_run(false, false); base 92 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::Bind(&Syncer::SyncShare, base::Unretained(syncer()), v.get())); base 96 chrome/browser/sync/glue/ui_model_worker_unittest.cc base::MessageLoop::current()->Run(); base 26 chrome/browser/sync/open_tabs_ui_delegate.h scoped_refptr<base::RefCountedMemory>* favicon_png) const = 0; base 94 chrome/browser/sync/profile_sync_components_factory.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) = 0; base 100 chrome/browser/sync/profile_sync_components_factory.h const base::WeakPtr<syncer::SyncableService>& local_service, base 101 chrome/browser/sync/profile_sync_components_factory.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result) = 0; base 109 chrome/browser/sync/profile_sync_components_factory.h virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( base 206 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 228 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 236 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 255 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 267 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 276 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 285 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 317 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 329 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 372 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 385 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 395 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 409 chrome/browser/sync/profile_sync_components_factory_impl.cc base::Bind(&ChromeReportUnrecoverableError), base 438 chrome/browser/sync/profile_sync_components_factory_impl.cc const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) { base 446 chrome/browser/sync/profile_sync_components_factory_impl.cc const base::WeakPtr<syncer::SyncableService>& local_service, base 447 chrome/browser/sync/profile_sync_components_factory_impl.cc const base::WeakPtr<syncer::SyncMergeResult>& merge_result) { base 469 chrome/browser/sync/profile_sync_components_factory_impl.cc base::WeakPtr<syncer::SyncableService> ProfileSyncComponentsFactoryImpl:: base 472 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); base 484 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); base 518 chrome/browser/sync/profile_sync_components_factory_impl.cc return history ? history->AsWeakPtr() : base::WeakPtr<HistoryService>(); base 526 chrome/browser/sync/profile_sync_components_factory_impl.cc : base::WeakPtr<syncer::SyncableService>(); base 534 chrome/browser/sync/profile_sync_components_factory_impl.cc : base::WeakPtr<syncer::SyncableService>(); base 548 chrome/browser/sync/profile_sync_components_factory_impl.cc : base::WeakPtr<syncer::SyncableService>(); base 567 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); base 579 chrome/browser/sync/profile_sync_components_factory_impl.cc : base::WeakPtr<syncer::SyncableService>(); base 581 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); base 590 chrome/browser/sync/profile_sync_components_factory_impl.cc return base::WeakPtr<syncer::SyncableService>(); base 17 chrome/browser/sync/profile_sync_components_factory_impl.h namespace base { base 28 chrome/browser/sync/profile_sync_components_factory_impl.h base::CommandLine* command_line); base 46 chrome/browser/sync/profile_sync_components_factory_impl.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) OVERRIDE; base 51 chrome/browser/sync/profile_sync_components_factory_impl.h const base::WeakPtr<syncer::SyncableService>& local_service, base 52 chrome/browser/sync/profile_sync_components_factory_impl.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result) OVERRIDE; base 57 chrome/browser/sync/profile_sync_components_factory_impl.h virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( base 81 chrome/browser/sync/profile_sync_components_factory_impl.h base::CommandLine* command_line_; base 33 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc base::FilePath program_path(FILE_PATH_LITERAL("chrome.exe")); base 115 chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc base::MessageLoop message_loop_; base 44 chrome/browser/sync/profile_sync_components_factory_mock.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs)); base 49 chrome/browser/sync/profile_sync_components_factory_mock.h const base::WeakPtr<syncer::SyncableService>& local_service, base 50 chrome/browser/sync/profile_sync_components_factory_mock.h const base::WeakPtr<syncer::SyncMergeResult>& merge_result)); base 54 chrome/browser/sync/profile_sync_components_factory_mock.h base::WeakPtr<syncer::SyncableService>(syncer::ModelType)); base 200 chrome/browser/sync/profile_sync_service.cc base::Bind(&ProfileSyncService::StartUpSlowBackendComponents, base 209 chrome/browser/sync/profile_sync_service.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 617 chrome/browser/sync/profile_sync_service.cc const base::Time& expiration_time) { base 621 chrome/browser/sync/profile_sync_service.cc token_receive_time_ = base::Time::Now(); base 649 chrome/browser/sync/profile_sync_service.cc next_token_request_time_ = base::Time::Now() + base 654 chrome/browser/sync/profile_sync_service.cc base::Bind(&ProfileSyncService::RequestAccessToken, base 731 chrome/browser/sync/profile_sync_service.cc base::Time shutdown_start_time = base::Time::Now(); base 761 chrome/browser/sync/profile_sync_service.cc base::TimeDelta shutdown_time = base::Time::Now() - shutdown_start_time; base 803 chrome/browser/sync/profile_sync_service.cc last_synced_time_ = base::Time::Now(); base 866 chrome/browser/sync/profile_sync_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 867 chrome/browser/sync/profile_sync_service.cc base::Bind(&ProfileSyncService::ShutdownImpl, base 895 chrome/browser/sync/profile_sync_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 896 chrome/browser/sync/profile_sync_service.cc base::Bind(&ProfileSyncService::ReconfigureDatatypeManager, base 913 chrome/browser/sync/profile_sync_service.cc base::Time on_backend_initialized_time = base::Time::Now(); base 914 chrome/browser/sync/profile_sync_service.cc base::TimeDelta delta = on_backend_initialized_time - base 991 chrome/browser/sync/profile_sync_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 993 chrome/browser/sync/profile_sync_service.cc base::AsWeakPtr(sessions_sync_manager_.get()))); base 995 chrome/browser/sync/profile_sync_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 1147 chrome/browser/sync/profile_sync_service.cc connection_status_update_time_ = base::Time::Now(); base 1181 chrome/browser/sync/profile_sync_service.cc base::Bind(&ProfileSyncService::RequestAccessToken, base 1362 chrome/browser/sync/profile_sync_service.cc base::Time sync_configure_stop_time = base::Time::Now(); base 1363 chrome/browser/sync/profile_sync_service.cc base::TimeDelta delta = sync_configure_stop_time - base 1372 chrome/browser/sync/profile_sync_service.cc sync_configure_start_time_ = base::Time(); base 1451 chrome/browser/sync/profile_sync_service.cc sync_configure_start_time_ = base::Time::Now(); base 1563 chrome/browser/sync/profile_sync_service.cc base::string16 ProfileSyncService::GetLastSyncedTimeString() const { base 1567 chrome/browser/sync/profile_sync_service.cc base::TimeDelta last_synced = base::Time::Now() - last_synced_time_; base 1569 chrome/browser/sync/profile_sync_service.cc if (last_synced < base::TimeDelta::FromMinutes(1)) base 1739 chrome/browser/sync/profile_sync_service.cc base::Time ProfileSyncService::GetExplicitPassphraseTime() const { base 1785 chrome/browser/sync/profile_sync_service.cc base::Bind(&ProfileSyncService::StartSyncingWithServer, base 1786 chrome/browser/sync/profile_sync_service.cc base::Unretained(this)))); base 1847 chrome/browser/sync/profile_sync_service.cc base::Value* ProfileSyncService::GetTypeStatusMap() const { base 1848 chrome/browser/sync/profile_sync_service.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 1873 chrome/browser/sync/profile_sync_service.cc scoped_ptr<base::DictionaryValue> type_status_header( base 1874 chrome/browser/sync/profile_sync_service.cc new base::DictionaryValue()); base 1883 chrome/browser/sync/profile_sync_service.cc scoped_ptr<base::DictionaryValue> type_status; base 1887 chrome/browser/sync/profile_sync_service.cc type_status.reset(new base::DictionaryValue()); base 1994 chrome/browser/sync/profile_sync_service.cc token_request_time_ = base::Time::Now(); base 1995 chrome/browser/sync/profile_sync_service.cc token_receive_time_ = base::Time(); base 1996 chrome/browser/sync/profile_sync_service.cc next_token_request_time_ = base::Time(); base 2131 chrome/browser/sync/profile_sync_service.cc base::WeakPtr<syncer::JsController> ProfileSyncService::GetJsController() { base 188 chrome/browser/sync/profile_sync_service.h base::Time connection_status_update_time; base 192 chrome/browser/sync/profile_sync_service.h base::Time token_request_time; base 193 chrome/browser/sync/profile_sync_service.h base::Time token_receive_time; base 198 chrome/browser/sync/profile_sync_service.h base::Time next_token_request_time; base 475 chrome/browser/sync/profile_sync_service.h virtual base::string16 GetLastSyncedTimeString() const; base 491 chrome/browser/sync/profile_sync_service.h virtual base::WeakPtr<syncer::JsController> GetJsController(); base 564 chrome/browser/sync/profile_sync_service.h base::Value* GetTypeStatusMap() const; base 621 chrome/browser/sync/profile_sync_service.h virtual base::Time GetExplicitPassphraseTime() const; base 699 chrome/browser/sync/profile_sync_service.h const base::Time& expiration_time) OVERRIDE; base 899 chrome/browser/sync/profile_sync_service.h base::Time last_synced_time_; base 904 chrome/browser/sync/profile_sync_service.h base::Time sync_configure_start_time_; base 995 chrome/browser/sync/profile_sync_service.h scoped_ptr<base::Thread> sync_thread_; base 1010 chrome/browser/sync/profile_sync_service.h base::OneShotTimer<ProfileSyncService> request_access_token_retry_timer_; base 1013 chrome/browser/sync/profile_sync_service.h base::WeakPtrFactory<ProfileSyncService> weak_factory_; base 1021 chrome/browser/sync/profile_sync_service.h base::WeakPtrFactory<ProfileSyncService> startup_controller_weak_factory_; base 1024 chrome/browser/sync/profile_sync_service.h base::Time connection_status_update_time_; base 1026 chrome/browser/sync/profile_sync_service.h base::Time token_request_time_; base 1027 chrome/browser/sync/profile_sync_service.h base::Time token_receive_time_; base 1029 chrome/browser/sync/profile_sync_service.h base::Time next_token_request_time_; base 40 chrome/browser/sync/profile_sync_service_android.cc using base::android::AttachCurrentThread; base 41 chrome/browser/sync/profile_sync_service_android.cc using base::android::CheckException; base 42 chrome/browser/sync/profile_sync_service_android.cc using base::android::ConvertJavaStringToUTF8; base 43 chrome/browser/sync/profile_sync_service_android.cc using base::android::ConvertUTF8ToJavaString; base 44 chrome/browser/sync/profile_sync_service_android.cc using base::android::ScopedJavaLocalRef; base 290 chrome/browser/sync/profile_sync_service_android.cc base::Time passphrase_time = sync_service_->GetExplicitPassphraseTime(); base 298 chrome/browser/sync/profile_sync_service_android.cc base::Time passphrase_time = sync_service_->GetExplicitPassphraseTime(); base 299 chrome/browser/sync/profile_sync_service_android.cc base::string16 passphrase_time_str = base 300 chrome/browser/sync/profile_sync_service_android.cc base::TimeFormatShortDate(passphrase_time); base 301 chrome/browser/sync/profile_sync_service_android.cc return base::android::ConvertUTF16ToJavaString(env, base 311 chrome/browser/sync/profile_sync_service_android.cc base::Time passphrase_time = sync_service_->GetExplicitPassphraseTime(); base 312 chrome/browser/sync/profile_sync_service_android.cc base::string16 passphrase_time_str = base 313 chrome/browser/sync/profile_sync_service_android.cc base::TimeFormatShortDate(passphrase_time); base 314 chrome/browser/sync/profile_sync_service_android.cc return base::android::ConvertUTF16ToJavaString(env, base 325 chrome/browser/sync/profile_sync_service_android.cc return base::android::ConvertUTF16ToJavaString(env, base 328 chrome/browser/sync/profile_sync_service_android.cc base::ASCIIToUTF16(sync_username))); base 461 chrome/browser/sync/profile_sync_service_android.cc scoped_ptr<base::DictionaryValue> about_info = base 464 chrome/browser/sync/profile_sync_service_android.cc base::JSONWriter::Write(about_info.get(), &about_info_json); base 505 chrome/browser/sync/profile_sync_service_android.cc AttachCurrentThread(), base::android::GetApplicationContext())); base 63 chrome/browser/sync/profile_sync_service_android.h base::android::ScopedJavaLocalRef<jstring> QuerySyncStatusSummary( base 125 chrome/browser/sync/profile_sync_service_android.h base::android::ScopedJavaLocalRef<jstring> base 129 chrome/browser/sync/profile_sync_service_android.h base::android::ScopedJavaLocalRef<jstring> base 133 chrome/browser/sync/profile_sync_service_android.h base::android::ScopedJavaLocalRef<jstring> base 137 chrome/browser/sync/profile_sync_service_android.h base::android::ScopedJavaLocalRef<jstring> base 186 chrome/browser/sync/profile_sync_service_android.h base::android::ScopedJavaLocalRef<jstring> GetAboutInfoForTest(JNIEnv* env, base 82 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using base::Time; base 83 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using base::TimeDelta; base 84 chrome/browser/sync/profile_sync_service_autofill_unittest.cc using base::WaitableEvent; base 118 chrome/browser/sync/profile_sync_service_autofill_unittest.cc void RunAndSignal(const base::Closure& cb, WaitableEvent* event) { base 129 chrome/browser/sync/profile_sync_service_autofill_unittest.cc bool(const base::string16& name, base 130 chrome/browser/sync/profile_sync_service_autofill_unittest.cc const base::string16& value)); // NOLINT base 134 chrome/browser/sync/profile_sync_service_autofill_unittest.cc bool(const base::string16& name, // NOLINT base 135 chrome/browser/sync/profile_sync_service_autofill_unittest.cc const base::string16& value, base 136 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Time* date_created, base 137 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Time* date_last_used)); base 165 chrome/browser/sync/profile_sync_service_autofill_unittest.cc const base::Closure& on_changed) base 184 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Closure on_changed_; base 253 chrome/browser/sync/profile_sync_service_autofill_unittest.cc const base::Closure& on_changed_callback = base::Bind( base 258 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&WebDataServiceFake::CreateSyncableService, base 259 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Unretained(this), base 268 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&WebDataServiceFake::DestroySyncableService, base 269 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Unretained(this))); base 284 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Closure notify_cb = base 285 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&AutocompleteSyncableService::AutofillEntriesChanged, base 286 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Unretained(autocomplete_syncable_service_), base 291 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&RunAndSignal, notify_cb, &event)); base 298 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Closure notify_cb = base 299 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&AutocompleteSyncableService::AutofillProfileChanged, base 300 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Unretained(autofill_profile_syncable_service_), base 305 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&RunAndSignal, notify_cb, &event)); base 312 chrome/browser/sync/profile_sync_service_autofill_unittest.cc void CreateSyncableService(const base::Closure& on_changed_callback) { base 358 chrome/browser/sync/profile_sync_service_autofill_unittest.cc return base::WeakPtr<syncer::SyncableService>(); base 389 chrome/browser/sync/profile_sync_service_autofill_unittest.cc return base::WeakPtr<syncer::SyncableService>(); base 510 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::UTF8ToUTF16(kTestProfileName), base 562 chrome/browser/sync/profile_sync_service_autofill_unittest.cc void StartSyncService(const base::Closure& callback, base 593 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::MessageLoop::current()->Run(); base 618 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::UTF16ToUTF8(entry.key().name()), base 619 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::UTF16ToUTF8(entry.key().value())); base 675 chrome/browser/sync/profile_sync_service_autofill_unittest.cc AutofillKey key(base::UTF8ToUTF16(autofill.name()), base 676 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::UTF8ToUTF16(autofill.value())); base 677 chrome/browser/sync/profile_sync_service_autofill_unittest.cc std::vector<base::Time> timestamps; base 738 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Time date_created = base_time + TimeDelta::FromSeconds(time_shift0); base 739 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Time date_last_used = date_created; base 743 chrome/browser/sync/profile_sync_service_autofill_unittest.cc AutofillKey(base::ASCIIToUTF16(name), base::ASCIIToUTF16(value)), base 764 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::WeakPtrFactory<DataTypeDebugInfoListener> debug_ptr_factory_; base 772 chrome/browser/sync/profile_sync_service_autofill_unittest.cc : callback_(base::Bind(&AddAutofillHelper::AddAutofillCallback, base 773 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Unretained(this), test, entries)), base 777 chrome/browser/sync/profile_sync_service_autofill_unittest.cc const base::Closure& callback() const { return callback_; } base 793 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Closure callback_; base 822 chrome/browser/sync/profile_sync_service_autofill_unittest.cc class FakeServerUpdater : public base::RefCountedThreadSafe<FakeServerUpdater> { base 842 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::UTF16ToUTF8(entry_.key().name()), base 843 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::UTF16ToUTF8(entry_.key().value())); base 845 chrome/browser/sync/profile_sync_service_autofill_unittest.cc new_autofill.set_name(base::UTF16ToUTF8(entry_.key().name())); base 846 chrome/browser/sync/profile_sync_service_autofill_unittest.cc new_autofill.set_value(base::UTF16ToUTF8(entry_.key().value())); base 888 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&FakeServerUpdater::Update, this))) { base 899 chrome/browser/sync/profile_sync_service_autofill_unittest.cc base::Bind(&FakeServerUpdater::Update, this))) { base 925 chrome/browser/sync/profile_sync_service_autofill_unittest.cc std::vector<base::string16> values1; base 927 chrome/browser/sync/profile_sync_service_autofill_unittest.cc std::vector<base::string16> values2; base 930 chrome/browser/sync/profile_sync_service_autofill_unittest.cc std::set<base::string16> values_set; base 947 chrome/browser/sync/profile_sync_service_autofill_unittest.cc StartSyncService(base::Closure(), true, syncer::AUTOFILL); base 187 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc return base::UTF8ToWide(old_title); base 358 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc node.SetTitle(base::ASCIIToWide(title)); base 386 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc node.SetTitle(base::ASCIIToWide(title)); base 472 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc node.SetTitle(base::UTF8ToWide(permanent_tags[i])); base 501 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 565 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc std::string truncated_title = base::UTF16ToUTF8(bnode->GetTitle()); base 567 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::TruncateUTF8ToByteSize(truncated_title, 255, &truncated_title); base 663 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(bnode->GetTitle(), base::WideToUTF16Hack(title)); base 735 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::MessageLoop message_loop_; base 776 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::StringPrintf("folder%05d", i)); base 780 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::StringPrintf("bookmark%05d", j)); base 798 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16("foobar")); base 802 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(folder, 0, base::ASCIIToUTF16("nested")); base 806 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc folder, 0, base::ASCIIToUTF16("Internets #1 Pies Site"), base 811 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc folder, 1, base::ASCIIToUTF16("Airplanes"), base 817 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->mobile_node(), 0, base::ASCIIToUTF16("pie")); base 822 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(url2, base::ASCIIToUTF16("EasyJet")); base 828 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(folder2, base::ASCIIToUTF16("Not Nested")); base 832 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(folder, base::ASCIIToUTF16("who's nested now?")); base 836 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(mobile_folder, base::ASCIIToUTF16("strawberry")); base 1092 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16(names[i])); base 1093 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16(names[i]), url); base 1121 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16("Alpha")); base 1122 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 1, base::ASCIIToUTF16("Omega")); base 1128 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::string16 title = base 1129 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::ASCIIToUTF16("Pre-insertion ") + base::IntToString16(i); base 1137 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::string16 title = base 1138 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::ASCIIToUTF16("Post-insertion ") + base::IntToString16(i); base 1159 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16("node")); base 1177 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(node, 0, base::ASCIIToUTF16("nested")); base 1187 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("Dup"), base 1189 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("Dup"), base 1255 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc 0, base::UTF8ToUTF16("local"), GURL("http://www.youtube.com")); base 1263 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("URL 0"), base 1265 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("Folder 1"), base 1267 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("local"), base 1325 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const base::Time start_time_; base 1438 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc : start_time_(base::Time::Now()) { base 1452 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const base::Time add_time = base 1453 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc start_time_ + base::TimeDelta::FromMinutes(*running_count); base 1454 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURLWithCreationTime(node, i, base::WideToUTF16Hack(item.title), base 1457 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(node, i, base::WideToUTF16Hack(item.title)); base 1477 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc test_node.SetTitle(base::WideToUTF16Hack(item.title)); base 1483 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const base::Time expected_time = base 1484 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc start_time_ + base::TimeDelta::FromMinutes(*running_count); base 1801 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURL(bookmark_bar_node, 0, base::ASCIIToUTF16("xtra"), base 1894 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetDateAdded(child_node, base::Time::FromInternalValue(10)); base 1919 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(base::WideToUTF16Hack(kTitle), node->GetTitle()); base 1921 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(node->date_added(), base::Time::FromInternalValue(30)); base 1981 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::ASCIIToUTF16("folder title")); base 1983 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::ASCIIToUTF16("node title"), base 2047 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2072 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2085 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(changed_bookmark, base::ASCIIToUTF16("test")); base 2086 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2104 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 52 chrome/browser/sync/profile_sync_service_mock.h MOCK_CONST_METHOD0(GetAuthenticatedUsername, base::string16()); base 72 chrome/browser/sync/profile_sync_service_mock.h MOCK_METHOD0(GetJsController, base::WeakPtr<syncer::JsController>()); base 90 chrome/browser/sync/profile_sync_service_mock.h MOCK_CONST_METHOD0(GetLastSyncedTimeString, base::string16()); base 129 chrome/browser/sync/profile_sync_service_mock.h MOCK_CONST_METHOD0(GetPassphraseTime, base::Time()); base 130 chrome/browser/sync/profile_sync_service_mock.h MOCK_CONST_METHOD0(GetExplicitPassphraseTime, base::Time()); base 56 chrome/browser/sync/profile_sync_service_preference_unittest.cc using base::JSONReader; base 69 chrome/browser/sync/profile_sync_service_preference_unittest.cc typedef std::map<const std::string, const base::Value*> PreferenceValues; base 97 chrome/browser/sync/profile_sync_service_preference_unittest.cc int64 SetSyncedValue(const std::string& name, const base::Value& value) { base 150 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::UTF8ToUTF16(kTestProfileName), base 179 chrome/browser/sync/profile_sync_service_preference_unittest.cc bool StartSyncService(const base::Closure& callback, base 201 chrome/browser/sync/profile_sync_service_preference_unittest.cc dtc_ = new UIDataTypeController(base::MessageLoopProxy::current(), base 202 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::Closure(), base 217 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::MessageLoop::current()->Run(); base 233 chrome/browser/sync/profile_sync_service_preference_unittest.cc const base::Value& GetPreferenceValue(const std::string& name) { base 240 chrome/browser/sync/profile_sync_service_preference_unittest.cc const base::Value* GetSyncedValue(const std::string& name) { base 252 chrome/browser/sync/profile_sync_service_preference_unittest.cc return base::JSONReader::Read(specifics.value()); base 256 chrome/browser/sync/profile_sync_service_preference_unittest.cc const base::Value& value, base 276 chrome/browser/sync/profile_sync_service_preference_unittest.cc std::string ValueString(const base::Value& value) { base 300 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::WeakPtrFactory<DataTypeDebugInfoListener> debug_ptr_factory_; base 314 chrome/browser/sync/profile_sync_service_preference_unittest.cc : callback_(base::Bind( base 316 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::Unretained(this), test, entries)), base 320 chrome/browser/sync/profile_sync_service_preference_unittest.cc const base::Closure& callback() const { return callback_; } base 337 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::Closure callback_; base 358 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(specifics.value())); base 379 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* url_list = update.Get(); base 380 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url0_)); base 381 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url1_)); base 387 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> value(GetSyncedValue(prefs::kHomePage)); base 400 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* url_list = update.Get(); base 401 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url0_)); base 402 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url1_)); base 407 chrome/browser/sync/profile_sync_service_preference_unittest.cc cloud_data[prefs::kHomePage] = new base::StringValue(example_url1_); base 408 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* urls_to_restore = new base::ListValue; base 409 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url1_)); base 410 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url2_)); base 413 chrome/browser/sync/profile_sync_service_preference_unittest.cc new base::StringValue(non_default_charset_value_); base 419 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> value(GetSyncedValue(prefs::kHomePage)); base 426 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<base::ListValue> expected_urls(new base::ListValue); base 427 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url1_)); base 428 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url2_)); base 429 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url0_)); base 450 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* urls_to_restore = new base::ListValue; base 451 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url1_)); base 452 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url2_)); base 460 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<base::ListValue> expected_urls(new base::ListValue); base 461 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url1_)); base 462 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url2_)); base 465 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> value( base 473 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls.reset(new base::ListValue); base 487 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* url_list = update.Get(); base 488 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url0_)); base 489 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url1_)); base 494 chrome/browser/sync/profile_sync_service_preference_unittest.cc cloud_data[prefs::kHomePage] = new base::StringValue(example_url1_); base 495 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* urls_to_restore = new base::ListValue; base 496 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url1_)); base 497 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url2_)); base 504 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> value(GetSyncedValue(prefs::kHomePage)); base 512 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<base::ListValue> expected_urls(new base::ListValue); base 513 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url1_)); base 514 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url2_)); base 515 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url0_)); base 525 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls.reset(new base::ListValue); base 539 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* url_list = update.Get(); base 540 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url0_)); base 541 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url1_)); base 546 chrome/browser/sync/profile_sync_service_preference_unittest.cc cloud_data[prefs::kHomePage] = new base::StringValue(example_url1_); base 547 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* urls_to_restore = new base::ListValue; base 548 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url1_)); base 549 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url2_)); base 556 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> value(GetSyncedValue(prefs::kHomePage)); base 564 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<base::ListValue> expected_urls(new base::ListValue); base 565 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url1_)); base 566 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url2_)); base 576 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls.reset(new base::ListValue); base 577 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url0_)); base 578 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url1_)); base 593 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* url_list_old = update_old.Get(); base 594 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list_old->Append(new base::StringValue(example_url0_)); base 595 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list_old->Append(new base::StringValue(example_url1_)); base 597 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* url_list = update.Get(); base 598 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url1_)); base 599 chrome/browser/sync/profile_sync_service_preference_unittest.cc url_list->Append(new base::StringValue(example_url2_)); base 604 chrome/browser/sync/profile_sync_service_preference_unittest.cc cloud_data[prefs::kHomePage] = new base::StringValue(example_url1_); base 610 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> value(GetSyncedValue(prefs::kHomePage)); base 618 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<base::ListValue> expected_urls(new base::ListValue); base 619 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url1_)); base 620 chrome/browser/sync/profile_sync_service_preference_unittest.cc expected_urls->Append(new base::StringValue(example_url2_)); base 637 chrome/browser/sync/profile_sync_service_preference_unittest.cc ASSERT_TRUE(StartSyncService(base::Closure(), true)); base 650 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue expected(example_url0_); base 653 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> actual(GetSyncedValue(prefs::kHomePage)); base 664 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue expected(example_url1_); base 667 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> actual(GetSyncedValue(prefs::kHomePage)); base 678 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue expected(example_url1_); base 690 chrome/browser/sync/profile_sync_service_preference_unittest.cc const base::Value& actual = GetPreferenceValue(prefs::kHomePage); base 699 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue expected(example_url0_); base 711 chrome/browser/sync/profile_sync_service_preference_unittest.cc const base::Value& actual = GetPreferenceValue(prefs::kHomePage); base 722 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue expected(example_url0_); base 740 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue managed_value("http://example.com"); base 748 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue user_value("http://chromium..com"); base 754 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue sync_value("http://crbug.com"); base 775 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue managed_value; base 776 chrome/browser/sync/profile_sync_service_preference_unittest.cc managed_value.Append(new base::StringValue(example_url0_)); base 777 chrome/browser/sync/profile_sync_service_preference_unittest.cc managed_value.Append(new base::StringValue(example_url1_)); base 784 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue* urls_to_restore = new base::ListValue; base 785 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url1_)); base 786 chrome/browser/sync/profile_sync_service_preference_unittest.cc urls_to_restore->Append(new base::StringValue(example_url2_)); base 793 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> actual( base 799 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue user_value; base 800 chrome/browser/sync/profile_sync_service_preference_unittest.cc user_value.Append(new base::StringValue("http://chromium.org")); base 807 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::ListValue sync_value; base 808 chrome/browser/sync/profile_sync_service_preference_unittest.cc sync_value.Append(new base::StringValue("http://crbug.com")); base 831 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue initial_value("http://example.com/initial"); base 833 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> actual(GetSyncedValue(prefs::kHomePage)); base 838 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue managed_value("http://example.com/managed"); base 858 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue initial_value("http://example.com/initial"); base 860 chrome/browser/sync/profile_sync_service_preference_unittest.cc scoped_ptr<const base::Value> actual(GetSyncedValue(prefs::kHomePage)); base 864 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue managed_value("http://example.com/managed"); base 869 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue sync_value("http://example.com/sync"); base 902 chrome/browser/sync/profile_sync_service_preference_unittest.cc base::StringValue managed_value("http://example.com/managed"); base 110 chrome/browser/sync/profile_sync_service_session_unittest.cc return scoped_ptr<DeviceInfo>(new DeviceInfo(base::GenerateGUID(), base 120 chrome/browser/sync/profile_sync_service_session_unittest.cc const scoped_refptr<base::RefCountedMemory>& mem) { base 162 chrome/browser/sync/profile_sync_service_session_unittest.cc base::UTF8ToUTF16(kTestProfileName), base 216 chrome/browser/sync/profile_sync_service_session_unittest.cc base::RunLoop().RunUntilIdle(); base 220 chrome/browser/sync/profile_sync_service_session_unittest.cc bool StartSyncService(const base::Closure& callback, base 261 chrome/browser/sync/profile_sync_service_session_unittest.cc base::MessageLoop::current()->Run(); base 266 chrome/browser/sync/profile_sync_service_session_unittest.cc base::ScopedTempDir temp_dir_; base 283 chrome/browser/sync/profile_sync_service_session_unittest.cc : callback_(base::Bind(&CreateRootHelper::CreateRootCallback, base 284 chrome/browser/sync/profile_sync_service_session_unittest.cc base::Unretained(this), test)), base 290 chrome/browser/sync/profile_sync_service_session_unittest.cc const base::Closure& callback() const { return callback_; } base 299 chrome/browser/sync/profile_sync_service_session_unittest.cc base::Closure callback_; base 389 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(StartSyncService(base::Closure(), true)); base 413 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 417 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); base 444 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 448 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); base 469 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 473 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); base 494 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 498 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); base 513 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 526 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 554 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); base 557 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 594 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 598 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); base 603 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); base 619 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 786 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 790 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); base 838 chrome/browser/sync/profile_sync_service_session_unittest.cc base::Time tag1_time = base::Time::Now() - base::TimeDelta::FromDays(21); base 839 chrome/browser/sync/profile_sync_service_session_unittest.cc base::Time tag2_time = base::Time::Now() - base::TimeDelta::FromDays(5); base 882 chrome/browser/sync/profile_sync_service_session_unittest.cc base::Time stale_time = base::Time::Now() - base::TimeDelta::FromDays(21); base 890 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(tabs1[0], base::Time::Now()); base 1142 chrome/browser/sync/profile_sync_service_session_unittest.cc scoped_refptr<base::RefCountedMemory> favicon; base 1145 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); base 1146 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(tab, base::Time()); base 1147 chrome/browser/sync/profile_sync_service_session_unittest.cc base::RunLoop().RunUntilIdle(); base 1154 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(tab, base::Time()); base 1155 chrome/browser/sync/profile_sync_service_session_unittest.cc base::RunLoop().RunUntilIdle(); base 1165 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(tab, base::Time()); base 1166 chrome/browser/sync/profile_sync_service_session_unittest.cc base::RunLoop().RunUntilIdle(); base 61 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc using base::Thread; base 62 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc using base::Time; base 84 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc HistoryBackendMock() : HistoryBackend(base::FilePath(), NULL, NULL) {} base 85 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc virtual bool IsExpiredVisitTime(const base::Time& time) OVERRIDE { base 99 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc const base::string16& title)); base 149 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc FROM_HERE, base::Bind(&RunOnDBThreadCallback, base::Unretained(backend), base 206 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc base::UTF8ToUTF16(kTestProfileName), base 231 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc TypedUrlModelAssociator* StartSyncService(const base::Closure& callback) { base 260 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc base::MessageLoop::current()->Run(); base 283 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc new_url.set_title(base::UTF8ToUTF16(typed_url.title())); base 286 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc new_url.set_last_visit(base::Time::FromInternalValue( base 322 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc history_url.set_title(base::UTF8ToUTF16(title)); base 325 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc base::Time::FromInternalValue(last_visit)); base 461 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc StartSyncService(base::Bind(&AddTypedUrlEntries, this, sync_entries)); base 491 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc StartSyncService(base::Bind(&AddTypedUrlEntries, this, sync_entries)); base 503 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc sync_entry.id(), base::Time::FromInternalValue(15), 0, base 525 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc StartSyncService(base::Bind(&AddTypedUrlEntries, this, sync_entries)); base 560 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc StartSyncService(base::Bind(&AddTypedUrlEntries, this, sync_entries)); base 943 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc StartSyncService(base::Bind(&AddTypedUrlEntries, this, sync_entries)); base 977 chrome/browser/sync/profile_sync_service_typed_url_unittest.cc StartSyncService(base::Bind(&AddTypedUrlEntries, this, sync_entries)); base 65 chrome/browser/sync/profile_sync_service_unittest.cc scoped_ptr<base::Thread> sync_thread, base 195 chrome/browser/sync/profile_sync_service_unittest.cc sync_driver::prefs::kSyncManaged, base::Value::CreateBooleanValue(false)); base 226 chrome/browser/sync/profile_sync_service_unittest.cc sync_driver::prefs::kSyncManaged, base::Value::CreateBooleanValue(true)); base 247 chrome/browser/sync/profile_sync_service_unittest.cc sync_driver::prefs::kSyncManaged, base::Value::CreateBooleanValue(true)); base 356 chrome/browser/sync/profile_sync_service_unittest.cc base::RunLoop loop; base 16 chrome/browser/sync/profile_sync_test_util.cc ThreadNotifier::ThreadNotifier(base::Thread* notify_thread) base 31 chrome/browser/sync/profile_sync_test_util.cc base::Bind(&ThreadNotifier::NotifyTask, this, type, source, details)); base 20 chrome/browser/sync/profile_sync_test_util.h namespace base { base 33 chrome/browser/sync/profile_sync_test_util.h base::MessageLoop::current()->Quit(); base 45 chrome/browser/sync/profile_sync_test_util.h public base::RefCountedThreadSafe<ThreadNotifier> { base 47 chrome/browser/sync/profile_sync_test_util.h explicit ThreadNotifier(base::Thread* notify_thread); base 56 chrome/browser/sync/profile_sync_test_util.h friend class base::RefCountedThreadSafe<ThreadNotifier>; base 63 chrome/browser/sync/profile_sync_test_util.h base::WaitableEvent done_event_; base 64 chrome/browser/sync/profile_sync_test_util.h base::Thread* notify_thread_; base 63 chrome/browser/sync/sessions2/notification_service_sessions_router.cc base::Bind(&NotificationServiceSessionsRouter::OnNavigationBlocked, base 54 chrome/browser/sync/sessions2/notification_service_sessions_router.h base::WeakPtrFactory<NotificationServiceSessionsRouter> weak_ptr_factory_; base 25 chrome/browser/sync/sessions2/session_data_type_controller2.cc base::Bind(&ChromeReportUnrecoverableError), base 152 chrome/browser/sync/sessions2/sessions_sync_manager.cc current_session->modified_time = base::Time::Now(); base 320 chrome/browser/sync/sessions2/sessions_sync_manager.cc base::Time::Now(); base 574 chrome/browser/sync/sessions2/sessions_sync_manager.cc const base::Time& modification_time) { base 656 chrome/browser/sync/sessions2/sessions_sync_manager.cc base::Time mtime, base 694 chrome/browser/sync/sessions2/sessions_sync_manager.cc base::Time mtime, base 720 chrome/browser/sync/sessions2/sessions_sync_manager.cc const sync_pb::SessionTab& tab, const base::Time& modification_time) { base 738 chrome/browser/sync/sessions2/sessions_sync_manager.cc scoped_refptr<base::RefCountedMemory>* favicon_png) const { base 848 chrome/browser/sync/sessions2/sessions_sync_manager.cc SetSessionTabFromDelegate(tab_delegate, base::Time::Now(), session_tab); base 906 chrome/browser/sync/sessions2/sessions_sync_manager.cc base::Time mtime, base 989 chrome/browser/sync/sessions2/sessions_sync_manager.cc (base::Time::Now() - session->modified_time).InDays(); base 119 chrome/browser/sync/sessions2/sessions_sync_manager.h scoped_refptr<base::RefCountedMemory>* favicon_png) const OVERRIDE; base 216 chrome/browser/sync/sessions2/sessions_sync_manager.h const base::Time& modification_time); base 236 chrome/browser/sync/sessions2/sessions_sync_manager.h const sync_pb::SessionTab& tab, const base::Time& modification_time); base 255 chrome/browser/sync/sessions2/sessions_sync_manager.h base::Time mtime, base 263 chrome/browser/sync/sessions2/sessions_sync_manager.h base::Time mtime, base 303 chrome/browser/sync/sessions2/sessions_sync_manager.h base::Time mtime, base 171 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc syncer::SyncData::CreateRemoteData(id, entity, base::Time())); base 186 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc entity, base::Time()))); base 196 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc i + 2, entity, base::Time())); base 308 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc base::Time time = base::Time::Now(); base 327 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc tag, window_s, base::Time(), session->windows[0]); base 491 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc static const base::Time kTime1 = base::Time::FromInternalValue(100); base 492 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc static const base::Time kTime2 = base::Time::FromInternalValue(105); base 493 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc static const base::Time kTime3 = base::Time::FromInternalValue(110); base 494 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc static const base::Time kTime4 = base::Time::FromInternalValue(120); base 495 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc static const base::Time kTime5 = base::Time::FromInternalValue(130); base 663 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SyncData d(SyncData::CreateRemoteData(1, data.GetSpecifics(), base::Time())); base 703 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc base::Time())); base 706 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SyncData t1(SyncData::CreateRemoteData(2, entity, base::Time())); base 708 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc base::Time())); base 778 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc initial_data.push_back(SyncData::CreateRemoteData(1, entity, base::Time())); base 786 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SyncData::CreateRemoteData(i + 10, entity, base::Time())); base 820 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc foreign_data.push_back(SyncData::CreateRemoteData(1, entity, base::Time())); base 898 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc 1, entity, base::Time())); base 994 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc manager()->UpdateTrackerWithForeignSession(meta, base::Time()); base 997 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc manager()->UpdateTrackerWithForeignSession(*iter, base::Time()); base 1112 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SyncData d(SyncData::CreateRemoteData(1, entity, base::Time())); base 1210 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SyncData d(SyncData::CreateRemoteData(1, entity, base::Time())); base 1231 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc 1, changes[0].sync_data().GetSpecifics(), base::Time())); base 1492 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc base::Time tag1_time = base::Time::Now() - base::TimeDelta::FromDays(21); base 1493 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc base::Time tag2_time = base::Time::Now() - base::TimeDelta::FromDays(5); base 1547 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc base::Time tag1_time = base::Time::Now() - base::TimeDelta::FromDays(21); base 1563 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc base::Time::Now()))); base 33 chrome/browser/sync/sessions2/tab_node_pool2.cc return base::StringPrintf("%s %d", machine_tag.c_str(), tab_node_id); base 42 chrome/browser/sync/startup_controller.cc base::Closure start_backend) base 51 chrome/browser/sync/startup_controller.cc base::TimeDelta::FromSeconds(kDeferredInitFallbackSeconds)), base 57 chrome/browser/sync/startup_controller.cc if (base::StringToInt(CommandLine::ForCurrentProcess()->GetSwitchValueASCII( base 62 chrome/browser/sync/startup_controller.cc fallback_timeout_ = base::TimeDelta::FromSeconds(timeout); base 72 chrome/browser/sync/startup_controller.cc start_up_time_ = base::Time(); base 73 chrome/browser/sync/startup_controller.cc start_backend_time_ = base::Time(); base 86 chrome/browser/sync/startup_controller.cc start_up_time_ = base::Time::Now(); base 94 chrome/browser/sync/startup_controller.cc base::MessageLoop::current()->PostDelayedTask( base 96 chrome/browser/sync/startup_controller.cc base::Bind(&StartupController::OnFallbackStartupTimerExpired, base 103 chrome/browser/sync/startup_controller.cc start_backend_time_ = base::Time::Now(); base 111 chrome/browser/sync/startup_controller.cc const base::TimeDelta& timeout) { base 170 chrome/browser/sync/startup_controller.cc base::TimeDelta time_deferred = base::Time::Now() - start_up_time_; base 173 chrome/browser/sync/startup_controller.cc base::TimeDelta::FromSeconds(0), base 174 chrome/browser/sync/startup_controller.cc base::TimeDelta::FromMinutes(2), base 42 chrome/browser/sync/startup_controller.h base::Closure start_backend); base 64 chrome/browser/sync/startup_controller.h base::Time start_backend_time() const { return start_backend_time_; } base 67 chrome/browser/sync/startup_controller.h void OverrideFallbackTimeoutForTest(const base::TimeDelta& timeout); base 87 chrome/browser/sync/startup_controller.h base::Time start_up_time_; base 107 chrome/browser/sync/startup_controller.h base::Closure start_backend_; base 110 chrome/browser/sync/startup_controller.h base::Time start_backend_time_; base 112 chrome/browser/sync/startup_controller.h base::TimeDelta fallback_timeout_; base 117 chrome/browser/sync/startup_controller.h base::WeakPtrFactory<StartupController> weak_factory_; base 66 chrome/browser/sync/startup_controller_unittest.cc base::Closure fake_start_backend = base::Bind( base 67 chrome/browser/sync/startup_controller_unittest.cc &StartupControllerTest::FakeStartBackend, base::Unretained(this)); base 73 chrome/browser/sync/startup_controller_unittest.cc base::TimeDelta::FromSeconds(0)); base 101 chrome/browser/sync/startup_controller_unittest.cc base::MessageLoop message_loop_; base 171 chrome/browser/sync/startup_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 183 chrome/browser/sync/startup_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 210 chrome/browser/sync/startup_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 240 chrome/browser/sync/startup_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 193 chrome/browser/sync/sync_error_notifier_ash.cc base::string16(), // display_source base 194 chrome/browser/sync/sync_error_notifier_ash.cc base::ASCIIToUTF16(notification_id_), base 53 chrome/browser/sync/sync_global_error.cc base::string16 SyncGlobalError::MenuItemLabel() { base 72 chrome/browser/sync/sync_global_error.cc base::string16 SyncGlobalError::GetBubbleViewTitle() { base 76 chrome/browser/sync/sync_global_error.cc std::vector<base::string16> SyncGlobalError::GetBubbleViewMessages() { base 77 chrome/browser/sync/sync_global_error.cc return std::vector<base::string16>(1, bubble_message_); base 80 chrome/browser/sync/sync_global_error.cc base::string16 SyncGlobalError::GetBubbleViewAcceptButtonLabel() { base 84 chrome/browser/sync/sync_global_error.cc base::string16 SyncGlobalError::GetBubbleViewCancelButtonLabel() { base 85 chrome/browser/sync/sync_global_error.cc return base::string16(); base 100 chrome/browser/sync/sync_global_error.cc base::string16 menu_label; base 101 chrome/browser/sync/sync_global_error.cc base::string16 bubble_message; base 102 chrome/browser/sync/sync_global_error.cc base::string16 bubble_accept_label; base 31 chrome/browser/sync/sync_global_error.h virtual base::string16 MenuItemLabel() OVERRIDE; base 34 chrome/browser/sync/sync_global_error.h virtual base::string16 GetBubbleViewTitle() OVERRIDE; base 35 chrome/browser/sync/sync_global_error.h virtual std::vector<base::string16> GetBubbleViewMessages() OVERRIDE; base 36 chrome/browser/sync/sync_global_error.h virtual base::string16 GetBubbleViewAcceptButtonLabel() OVERRIDE; base 37 chrome/browser/sync/sync_global_error.h virtual base::string16 GetBubbleViewCancelButtonLabel() OVERRIDE; base 46 chrome/browser/sync/sync_global_error.h base::string16 bubble_accept_label_; base 47 chrome/browser/sync/sync_global_error.h base::string16 bubble_message_; base 48 chrome/browser/sync/sync_global_error.h base::string16 menu_label_; base 17 chrome/browser/sync/sync_policy_handler.cc base::Value::TYPE_BOOLEAN) {} base 24 chrome/browser/sync/sync_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 31 chrome/browser/sync/sync_policy_handler_unittest.cc base::Value::CreateBooleanValue(false), base 46 chrome/browser/sync/sync_policy_handler_unittest.cc base::Value::CreateBooleanValue(true), base 53 chrome/browser/sync/sync_policy_handler_unittest.cc const base::Value* value = NULL; base 53 chrome/browser/sync/sync_ui_util.cc base::string16 GetSyncedStateStatusLabel(ProfileSyncService* service, base 67 chrome/browser/sync/sync_ui_util.cc base::string16 user_name = base::UTF8ToUTF16(user_display_name); base 83 chrome/browser/sync/sync_ui_util.cc return base::string16(); base 98 chrome/browser/sync/sync_ui_util.cc base::ASCIIToUTF16(chrome::kSyncGoogleDashboardURL)); base 107 chrome/browser/sync/sync_ui_util.cc base::string16* status_label) { base 138 chrome/browser/sync/sync_ui_util.cc base::string16* status_label, base 139 chrome/browser/sync/sync_ui_util.cc base::string16* link_label) { base 272 chrome/browser/sync/sync_ui_util.cc base::string16 label = l10n_util::GetStringFUTF16( base 274 chrome/browser/sync/sync_ui_util.cc base::UTF8ToUTF16(signin.GetAuthenticatedUsername())); base 287 chrome/browser/sync/sync_ui_util.cc base::string16* status_label, base 288 chrome/browser/sync/sync_ui_util.cc base::string16* link_label) { base 309 chrome/browser/sync/sync_ui_util.cc status_label->assign(base::string16()); base 326 chrome/browser/sync/sync_ui_util.cc base::string16* status_label, base 327 chrome/browser/sync/sync_ui_util.cc base::string16* link_label) { base 336 chrome/browser/sync/sync_ui_util.cc base::string16* status_label, base 337 chrome/browser/sync/sync_ui_util.cc base::string16* link_label) { base 346 chrome/browser/sync/sync_ui_util.cc base::string16* menu_label, base 347 chrome/browser/sync/sync_ui_util.cc base::string16* bubble_message, base 348 chrome/browser/sync/sync_ui_util.cc base::string16* bubble_accept_label) { base 352 chrome/browser/sync/sync_ui_util.cc *menu_label = base::string16(); base 353 chrome/browser/sync/sync_ui_util.cc *bubble_message = base::string16(); base 354 chrome/browser/sync/sync_ui_util.cc *bubble_accept_label = base::string16(); base 380 chrome/browser/sync/sync_ui_util.cc base::string16 ConstructTime(int64 time_in_int) { base 381 chrome/browser/sync/sync_ui_util.cc base::Time time = base::Time::FromInternalValue(time_in_int); base 385 chrome/browser/sync/sync_ui_util.cc return base::string16(); base 386 chrome/browser/sync/sync_ui_util.cc return base::TimeFormatFriendlyDateAndTime(time); base 39 chrome/browser/sync/sync_ui_util.h base::string16* status_label, base 40 chrome/browser/sync/sync_ui_util.h base::string16* link_label); base 46 chrome/browser/sync/sync_ui_util.h base::string16* status_label, base 47 chrome/browser/sync/sync_ui_util.h base::string16* link_label); base 54 chrome/browser/sync/sync_ui_util.h base::string16* menu_item_label, base 55 chrome/browser/sync/sync_ui_util.h base::string16* bubble_message, base 56 chrome/browser/sync/sync_ui_util.h base::string16* bubble_accept_label); base 63 chrome/browser/sync/sync_ui_util_unittest.cc base::string16 label1, label2, label3; base 121 chrome/browser/sync/sync_ui_util_unittest.cc base::string16 menu_label, label2, label3; base 338 chrome/browser/sync/sync_ui_util_unittest.cc std::set<base::string16> messages; base 350 chrome/browser/sync/sync_ui_util_unittest.cc base::string16 status_label; base 351 chrome/browser/sync/sync_ui_util_unittest.cc base::string16 link_label; base 362 chrome/browser/sync/sync_ui_util_unittest.cc base::string16 combined_label = base 363 chrome/browser/sync/sync_ui_util_unittest.cc status_label + base::ASCIIToUTF16("#") + link_label; base 390 chrome/browser/sync/sync_ui_util_unittest.cc base::string16 status_label; base 391 chrome/browser/sync/sync_ui_util_unittest.cc base::string16 link_label; base 402 chrome/browser/sync/sync_ui_util_unittest.cc EXPECT_EQ(status_label.find(base::ASCIIToUTF16("href")), base 403 chrome/browser/sync/sync_ui_util_unittest.cc base::string16::npos); base 20 chrome/browser/sync/test/integration/apps_helper.cc return "fakeapp" + base::IntToString(index); base 38 chrome/browser/sync/test/integration/autofill_helper.cc using base::WaitableEvent; base 61 chrome/browser/sync/test/integration/autofill_helper.cc void RunOnDBThreadAndSignal(base::Closure task, base 62 chrome/browser/sync/test/integration/autofill_helper.cc base::WaitableEvent* done_event) { base 69 chrome/browser/sync/test/integration/autofill_helper.cc void RunOnDBThreadAndBlock(base::Closure task) { base 125 chrome/browser/sync/test/integration/autofill_helper.cc RunOnDBThreadAndBlock(base::Closure()); base 246 chrome/browser/sync/test/integration/autofill_helper.cc base::MessageLoop::current()->Run(); base 257 chrome/browser/sync/test/integration/autofill_helper.cc base::MessageLoop::current()->Run(); base 283 chrome/browser/sync/test/integration/autofill_helper.cc const base::string16& value) { base 302 chrome/browser/sync/test/integration/autofill_helper.cc base::MessageLoop::current()->Run(); base 84 chrome/browser/sync/test/integration/autofill_helper.h const base::string16& value); base 44 chrome/browser/sync/test/integration/bookmarks_helper.cc explicit HistoryEmptyTask(base::WaitableEvent* done) : done_(done) {} base 58 chrome/browser/sync/test/integration/bookmarks_helper.cc base::WaitableEvent* done_; base 113 chrome/browser/sync/test/integration/bookmarks_helper.cc base::MessageLoopForUI::current()->Quit(); base 134 chrome/browser/sync/test/integration/bookmarks_helper.cc const base::string16& title) { base 262 chrome/browser/sync/test/integration/bookmarks_helper.cc base::WaitableEvent done(false, false); base 431 chrome/browser/sync/test/integration/bookmarks_helper.cc AddURL(parent, index, base::WideToUTF16(title), url); base 441 chrome/browser/sync/test/integration/bookmarks_helper.cc AddURL(v_parent, index, base::WideToUTF16(title), url); base 472 chrome/browser/sync/test/integration/bookmarks_helper.cc parent, index, base::WideToUTF16(title)); base 483 chrome/browser/sync/test/integration/bookmarks_helper.cc v_parent, index, base::WideToUTF16(title)); base 502 chrome/browser/sync/test/integration/bookmarks_helper.cc GetVerifierBookmarkModel()->SetTitle(v_node, base::WideToUTF16(new_title)); base 504 chrome/browser/sync/test/integration/bookmarks_helper.cc GetBookmarkModel(profile)->SetTitle(node, base::WideToUTF16(new_title)); base 702 chrome/browser/sync/test/integration/bookmarks_helper.cc base::WideToUTF16(title)); base 708 chrome/browser/sync/test/integration/bookmarks_helper.cc base::WideToUTF16(title)); base 737 chrome/browser/sync/test/integration/bookmarks_helper.cc base::FilePath full_path; base 743 chrome/browser/sync/test/integration/bookmarks_helper.cc base::ReadFileToString(full_path, &contents); base 745 chrome/browser/sync/test/integration/bookmarks_helper.cc base::RefCountedString::TakeString(&contents)); base 749 chrome/browser/sync/test/integration/bookmarks_helper.cc return base::StringPrintf("http://www.host.ext:1234/path/filename/%d", i); base 753 chrome/browser/sync/test/integration/bookmarks_helper.cc return base::StringPrintf(L"URL Title %d", i); base 757 chrome/browser/sync/test/integration/bookmarks_helper.cc return base::StringPrintf(L"Folder Name %d", i); base 761 chrome/browser/sync/test/integration/bookmarks_helper.cc return base::StringPrintf(L"Subfolder Name %d", i); base 765 chrome/browser/sync/test/integration/bookmarks_helper.cc return base::StringPrintf(L"Subsubfolder Name %d", i); base 58 chrome/browser/sync/test/integration/dictionary_helper.cc base::RunLoop run_loop; base 155 chrome/browser/sync/test/integration/dictionary_helper.cc return base::StringPrintf( base 7 chrome/browser/sync/test/integration/dictionary_load_observer.cc DictionaryLoadObserver::DictionaryLoadObserver(const base::Closure& quit_task) base 16 chrome/browser/sync/test/integration/dictionary_load_observer.h explicit DictionaryLoadObserver(const base::Closure& quit_task); base 25 chrome/browser/sync/test/integration/dictionary_load_observer.h base::Closure quit_task_; base 32 chrome/browser/sync/test/integration/extension_settings_helper.cc std::string ToJson(const base::Value& value) { base 34 chrome/browser/sync/test/integration/extension_settings_helper.cc base::JSONWriter::WriteWithOptions(&value, base 35 chrome/browser/sync/test/integration/extension_settings_helper.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 40 chrome/browser/sync/test/integration/extension_settings_helper.cc void GetAllSettingsOnFileThread(base::DictionaryValue* out, base 41 chrome/browser/sync/test/integration/extension_settings_helper.cc base::WaitableEvent* signal, base 48 chrome/browser/sync/test/integration/extension_settings_helper.cc scoped_ptr<base::DictionaryValue> GetAllSettings( base 50 chrome/browser/sync/test/integration/extension_settings_helper.cc base::WaitableEvent signal(false, false); base 51 chrome/browser/sync/test/integration/extension_settings_helper.cc scoped_ptr<base::DictionaryValue> settings(new base::DictionaryValue()); base 55 chrome/browser/sync/test/integration/extension_settings_helper.cc base::Bind(&GetAllSettingsOnFileThread, settings.get(), &signal)); base 74 chrome/browser/sync/test/integration/extension_settings_helper.cc scoped_ptr<base::DictionaryValue> expected( base 76 chrome/browser/sync/test/integration/extension_settings_helper.cc scoped_ptr<base::DictionaryValue> actual( base 88 chrome/browser/sync/test/integration/extension_settings_helper.cc const base::DictionaryValue* settings, base 89 chrome/browser/sync/test/integration/extension_settings_helper.cc base::WaitableEvent* signal, base 101 chrome/browser/sync/test/integration/extension_settings_helper.cc const base::DictionaryValue& settings) { base 102 chrome/browser/sync/test/integration/extension_settings_helper.cc base::WaitableEvent signal(false, false); base 106 chrome/browser/sync/test/integration/extension_settings_helper.cc base::Bind(&SetSettingsOnFileThread, &settings, &signal)); base 111 chrome/browser/sync/test/integration/extension_settings_helper.cc const std::string& id, const base::DictionaryValue& settings) { base 11 chrome/browser/sync/test/integration/extension_settings_helper.h namespace base { base 21 chrome/browser/sync/test/integration/extension_settings_helper.h const base::DictionaryValue& settings); base 25 chrome/browser/sync/test/integration/extension_settings_helper.h const std::string& id, const base::DictionaryValue& settings); base 119 chrome/browser/sync/test/integration/extensions_helper.cc return extension_name_prefix + base::IntToString(index); base 124 chrome/browser/sync/test/integration/extensions_helper.cc !base::StringToInt(name.substr(strlen(extension_name_prefix)), index)) { base 519 chrome/browser/sync/test/integration/migration_test.cc virtual void SetUpCommandLine(base::CommandLine* cl) OVERRIDE { base 17 chrome/browser/sync/test/integration/multi_client_status_change_checker.cc base::TimeDelta MultiClientStatusChangeChecker::GetTimeoutDuration() { base 18 chrome/browser/sync/test/integration/multi_client_status_change_checker.cc return base::TimeDelta::FromSeconds(45); base 23 chrome/browser/sync/test/integration/multi_client_status_change_checker.cc base::MessageLoop::current()->QuitWhenIdle(); base 40 chrome/browser/sync/test/integration/multi_client_status_change_checker.cc base::OneShotTimer<MultiClientStatusChangeChecker> timer; base 43 chrome/browser/sync/test/integration/multi_client_status_change_checker.cc base::Bind(&MultiClientStatusChangeChecker::OnTimeout, base 44 chrome/browser/sync/test/integration/multi_client_status_change_checker.cc base::Unretained(this))); base 47 chrome/browser/sync/test/integration/multi_client_status_change_checker.cc base::MessageLoop* loop = base::MessageLoop::current(); base 48 chrome/browser/sync/test/integration/multi_client_status_change_checker.cc base::MessageLoop::ScopedNestableTaskAllower allow(loop); base 57 chrome/browser/sync/test/integration/multi_client_status_change_checker.cc base::MessageLoop::current()->QuitWhenIdle(); base 29 chrome/browser/sync/test/integration/multi_client_status_change_checker.h virtual base::TimeDelta GetTimeoutDuration(); base 26 chrome/browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc ASSERT_TRUE(AddURL(i, base::StringPrintf(L"Google URL %d", i), base 27 chrome/browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc GURL(base::StringPrintf("http://www.google.com/%d", i))) != NULL); base 51 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc dictionary_helper::AddWord(i, "foo" + base::IntToString(i)); base 78 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc i, "foo-" + base::IntToString(i) + "-" + base::Uint64ToString(j))); base 28 chrome/browser/sync/test/integration/multiple_client_preferences_sync_test.cc base::ListValue urls; base 29 chrome/browser/sync/test/integration/multiple_client_preferences_sync_test.cc urls.Append(base::Value::CreateStringValue( base 30 chrome/browser/sync/test/integration/multiple_client_preferences_sync_test.cc base::StringPrintf("http://www.google.com/%d", i))); base 49 chrome/browser/sync/test/integration/multiple_client_sessions_sync_test.cc i, GURL(base::StringPrintf("http://127.0.0.1/bubba%i", i)), &windows)); base 85 chrome/browser/sync/test/integration/multiple_client_sessions_sync_test.cc i, GURL(base::StringPrintf("http://127.0.0.1/bubba%i", i)), &windows)); base 29 chrome/browser/sync/test/integration/multiple_client_typed_urls_sync_test.cc const base::string16 kHistoryUrl( base 30 chrome/browser/sync/test/integration/multiple_client_typed_urls_sync_test.cc base::ASCIIToUTF16("http://www.add-one-history.google.com/")); base 48 chrome/browser/sync/test/integration/multiple_client_typed_urls_sync_test.cc const base::string16 kHistoryUrl( base 49 chrome/browser/sync/test/integration/multiple_client_typed_urls_sync_test.cc base::ASCIIToUTF16("http://www.add-all-history.google.com/")); base 57 chrome/browser/sync/test/integration/multiple_client_typed_urls_sync_test.cc base::string16 unique_url = kHistoryUrl + base::FormatNumber(i); base 33 chrome/browser/sync/test/integration/passwords_helper.cc void PasswordStoreCallback(base::WaitableEvent* wait_event) { base 55 chrome/browser/sync/test/integration/passwords_helper.cc base::MessageLoopForUI::current()->Quit(); base 70 chrome/browser/sync/test/integration/passwords_helper.cc base::WaitableEvent wait_event(true, false); base 72 chrome/browser/sync/test/integration/passwords_helper.cc store->ScheduleTask(base::Bind(&PasswordStoreCallback, &wait_event)); base 78 chrome/browser/sync/test/integration/passwords_helper.cc base::WaitableEvent wait_event(true, false); base 80 chrome/browser/sync/test/integration/passwords_helper.cc store->ScheduleTask(base::Bind(&PasswordStoreCallback, &wait_event)); base 95 chrome/browser/sync/test/integration/passwords_helper.cc base::WaitableEvent wait_event(true, false); base 97 chrome/browser/sync/test/integration/passwords_helper.cc store->ScheduleTask(base::Bind(&PasswordStoreCallback, &wait_event)); base 211 chrome/browser/sync/test/integration/passwords_helper.cc form.origin = GURL(base::StringPrintf(kIndexedFakeOrigin, index)); base 213 chrome/browser/sync/test/integration/passwords_helper.cc base::ASCIIToUTF16(base::StringPrintf("username%d", index)); base 215 chrome/browser/sync/test/integration/passwords_helper.cc base::ASCIIToUTF16(base::StringPrintf("password%d", index)); base 216 chrome/browser/sync/test/integration/passwords_helper.cc form.date_created = base::Time::Now(); base 107 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc base::UTF8ToUTF16(NextName())); base 142 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc return base::StringPrintf("00000000-0000-0000-0000-%012X", n); base 150 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc return base::StringPrintf("Name%d", n); base 158 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc return base::StringPrintf("Value%d", n); base 175 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc base::TimeDelta dt = base 199 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc base::TimeDelta dt = base 91 chrome/browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc base::TimeDelta dt = base 26 chrome/browser/sync/test/integration/performance/dictionary_sync_perf_test.cc base::TimeDelta dt; base 31 chrome/browser/sync/test/integration/performance/dictionary_sync_perf_test.cc 0, "foo" + base::Uint64ToString(i))); base 42 chrome/browser/sync/test/integration/performance/dictionary_sync_perf_test.cc 0, "foo" + base::Uint64ToString(i))); base 85 chrome/browser/sync/test/integration/performance/extensions_sync_perf_test.cc base::TimeDelta dt = base 57 chrome/browser/sync/test/integration/performance/passwords_sync_perf_test.cc (*it).password_value = base::ASCIIToUTF16(NextPassword()); base 71 chrome/browser/sync/test/integration/performance/passwords_sync_perf_test.cc return base::StringPrintf("password%d", password_number_++); base 86 chrome/browser/sync/test/integration/performance/passwords_sync_perf_test.cc base::TimeDelta dt = SyncTimingHelper::TimeUntilQuiescence(clients()); base 115 chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc return GURL(base::StringPrintf("http://localhost/%d", n)); base 123 chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc base::TimeDelta dt = base 20 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc base::TimeDelta SyncTimingHelper::TimeSyncCycle( base 22 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc base::Time start = base::Time::Now(); base 24 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc return base::Time::Now() - start; base 28 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc base::TimeDelta SyncTimingHelper::TimeMutualSyncCycle( base 30 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc base::Time start = base::Time::Now(); base 32 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc return base::Time::Now() - start; base 36 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc base::TimeDelta SyncTimingHelper::TimeUntilQuiescence( base 38 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc base::Time start = base::Time::Now(); base 40 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc return base::Time::Now() - start; base 46 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc const base::TimeDelta& dt) { base 48 chrome/browser/sync/test/integration/performance/sync_timing_helper.cc base::IntToString(dt.InMillisecondsF()).c_str()); base 13 chrome/browser/sync/test/integration/performance/sync_timing_helper.h namespace base { base 25 chrome/browser/sync/test/integration/performance/sync_timing_helper.h static base::TimeDelta TimeSyncCycle(ProfileSyncServiceHarness* client); base 29 chrome/browser/sync/test/integration/performance/sync_timing_helper.h static base::TimeDelta TimeMutualSyncCycle( base 34 chrome/browser/sync/test/integration/performance/sync_timing_helper.h static base::TimeDelta TimeUntilQuiescence( base 42 chrome/browser/sync/test/integration/performance/sync_timing_helper.h const base::TimeDelta& dt); base 94 chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc return GURL(base::StringPrintf("http://history%d.google.com/", n)); base 102 chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc base::TimeDelta dt = base 70 chrome/browser/sync/test/integration/preferences_helper.cc const base::FilePath& new_value) { base 78 chrome/browser/sync/test/integration/preferences_helper.cc const base::ListValue& new_value) { base 81 chrome/browser/sync/test/integration/preferences_helper.cc base::ListValue* list = update.Get(); base 82 chrome/browser/sync/test/integration/preferences_helper.cc for (base::ListValue::const_iterator it = new_value.begin(); base 91 chrome/browser/sync/test/integration/preferences_helper.cc base::ListValue* list_verifier = update_verifier.Get(); base 92 chrome/browser/sync/test/integration/preferences_helper.cc for (base::ListValue::const_iterator it = new_value.begin(); base 186 chrome/browser/sync/test/integration/preferences_helper.cc base::FilePath reference_value; base 203 chrome/browser/sync/test/integration/preferences_helper.cc const base::ListValue* reference_value; base 63 chrome/browser/sync/test/integration/preferences_helper.h const base::FilePath& new_value); base 70 chrome/browser/sync/test/integration/preferences_helper.h const base::ListValue& new_value); base 274 chrome/browser/sync/test/integration/profile_sync_service_harness.cc return base::StringPrintf("oauth2_refresh_token_%d", base 443 chrome/browser/sync/test/integration/profile_sync_service_harness.cc scoped_ptr<base::DictionaryValue> value( base 446 chrome/browser/sync/test/integration/profile_sync_service_harness.cc base::JSONWriter::WriteWithOptions(value.get(), base 447 chrome/browser/sync/test/integration/profile_sync_service_harness.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 157 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc base::TimeDelta QuiesceStatusChangeChecker::GetTimeoutDuration() { base 158 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc return base::TimeDelta::FromSeconds(45); base 169 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc base::OneShotTimer<QuiesceStatusChangeChecker> timer; base 172 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc base::Bind(&QuiesceStatusChangeChecker::OnTimeout, base 173 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc base::Unretained(this))); base 176 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc base::MessageLoop* loop = base::MessageLoop::current(); base 177 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc base::MessageLoop::ScopedNestableTaskAllower allow(loop); base 229 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc return base::StringPrintf("Waiting for quiescence of %" PRIuS " clients", base 237 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc base::MessageLoop::current()->QuitWhenIdle(); base 244 chrome/browser/sync/test/integration/quiesce_status_change_checker.cc base::MessageLoop::current()->QuitWhenIdle(); base 38 chrome/browser/sync/test/integration/quiesce_status_change_checker.h virtual base::TimeDelta GetTimeoutDuration(); base 61 chrome/browser/sync/test/integration/retry_verifier.cc const base::TimeDelta& time_elapsed) { base 103 chrome/browser/sync/test/integration/retry_verifier.cc base::TimeDelta delta = snap.sync_start_time() - last_sync_time_; base 42 chrome/browser/sync/test/integration/retry_verifier.h base::Time last_sync_time_; base 42 chrome/browser/sync/test/integration/search_engines_helper.cc return "TemplateURL: shortname: " + base::UTF16ToASCII(turl->short_name()) + base 43 chrome/browser/sync/test/integration/search_engines_helper.cc " keyword: " + base::UTF16ToASCII(turl->keyword()) + " url: " + base 111 chrome/browser/sync/test/integration/search_engines_helper.cc base::string16 CreateKeyword(int seed) { base 112 chrome/browser/sync/test/integration/search_engines_helper.cc return base::ASCIIToUTF16(base::StringPrintf("test%d", seed)); base 181 chrome/browser/sync/test/integration/search_engines_helper.cc base::StringPrintf("0000-0000-0000-%04d", seed)); base 186 chrome/browser/sync/test/integration/search_engines_helper.cc const base::string16& keyword, base 189 chrome/browser/sync/test/integration/search_engines_helper.cc base::StringPrintf("http://www.test%d.com/", seed), sync_guid); base 194 chrome/browser/sync/test/integration/search_engines_helper.cc const base::string16& keyword, base 203 chrome/browser/sync/test/integration/search_engines_helper.cc data.date_created = base::Time::FromTimeT(100); base 204 chrome/browser/sync/test/integration/search_engines_helper.cc data.last_modified = base::Time::FromTimeT(100); base 219 chrome/browser/sync/test/integration/search_engines_helper.cc const base::string16& keyword, base 220 chrome/browser/sync/test/integration/search_engines_helper.cc const base::string16& short_name, base 221 chrome/browser/sync/test/integration/search_engines_helper.cc const base::string16& new_keyword, base 241 chrome/browser/sync/test/integration/search_engines_helper.cc base::string16 keyword(CreateKeyword(seed)); base 38 chrome/browser/sync/test/integration/search_engines_helper.h const base::string16& keyword, base 42 chrome/browser/sync/test/integration/search_engines_helper.h const base::string16& keyword, base 54 chrome/browser/sync/test/integration/search_engines_helper.h const base::string16& keyword, base 55 chrome/browser/sync/test/integration/search_engines_helper.h const base::string16& short_name, base 56 chrome/browser/sync/test/integration/search_engines_helper.h const base::string16& new_keyword, base 133 chrome/browser/sync/test/integration/sessions_helper.cc base::MessageLoop::current()->PostDelayedTask( base 135 chrome/browser/sync/test/integration/sessions_helper.cc base::Bind(&TabEventHandler::QuitLoop, weak_factory_.GetWeakPtr()), base 142 chrome/browser/sync/test/integration/sessions_helper.cc base::MessageLoop::current()->PostTask( base 144 chrome/browser/sync/test/integration/sessions_helper.cc base::Bind(&TabEventHandler::QuitLoop, weak_factory_.GetWeakPtr())); base 150 chrome/browser/sync/test/integration/sessions_helper.cc base::MessageLoop::current()->PostTask( base 152 chrome/browser/sync/test/integration/sessions_helper.cc base::Bind(&TabEventHandler::QuitLoop, weak_factory_.GetWeakPtr())); base 157 chrome/browser/sync/test/integration/sessions_helper.cc base::MessageLoop::current()->Quit(); base 160 chrome/browser/sync/test/integration/sessions_helper.cc base::WeakPtrFactory<TabEventHandler> weak_factory_; base 167 chrome/browser/sync/test/integration/sessions_helper.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 168 chrome/browser/sync/test/integration/sessions_helper.cc base::TimeTicks end_time = start_time + TestTimeouts::action_max_timeout(); base 175 chrome/browser/sync/test/integration/sessions_helper.cc if (base::TimeTicks::Now() >= end_time) { base 181 chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc scoped_refptr<base::RefCountedMemory> original_favicon_bytes = base 184 chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc scoped_refptr<base::RefCountedMemory> final_favicon_bytes = base 43 chrome/browser/sync/test/integration/single_client_managed_user_settings_sync_test.cc scoped_ptr<base::Value> allow_signin(new base::FundamentalValue(true)); base 86 chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc const base::Time timestamp = it3->timestamp(); base 90 chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc const base::Time history_timestamp = virtual_row.last_visit(); base 166 chrome/browser/sync/test/integration/sync_app_list_helper.cc std::string label = base::StringPrintf("Item(%d): ", static_cast<int>(i)); base 183 chrome/browser/sync/test/integration/sync_app_list_helper.cc base::StringPrintf(" Folder Item(%d): ", static_cast<int>(i)); base 85 chrome/browser/sync/test/integration/sync_auth_test.cc std::wstring title = base::StringPrintf(L"Bookmark %d", bookmark_index); base 86 chrome/browser/sync/test/integration/sync_auth_test.cc GURL url = GURL(base::StringPrintf("http://www.foo%d.com", bookmark_index)); base 287 chrome/browser/sync/test/integration/sync_auth_test.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(5)); base 53 chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc return base::StringPrintf("Verifying backoff intervals (%d/%d)", base 287 chrome/browser/sync/test/integration/sync_extension_helper.cc scoped_refptr<Extension> CreateExtension(const base::FilePath& base_dir, base 290 chrome/browser/sync/test/integration/sync_extension_helper.cc base::DictionaryValue source; base 301 chrome/browser/sync/test/integration/sync_extension_helper.cc new base::DictionaryValue()); base 305 chrome/browser/sync/test/integration/sync_extension_helper.cc source.Set(extensions::manifest_keys::kApp, new base::DictionaryValue()); base 310 chrome/browser/sync/test/integration/sync_extension_helper.cc source.Set(extensions::manifest_keys::kApp, new base::DictionaryValue()); base 312 chrome/browser/sync/test/integration/sync_extension_helper.cc new base::DictionaryValue()); base 313 chrome/browser/sync/test/integration/sync_extension_helper.cc base::ListValue* scripts = new base::ListValue(); base 323 chrome/browser/sync/test/integration/sync_extension_helper.cc const base::FilePath sub_dir = base::FilePath().AppendASCII(name); base 324 chrome/browser/sync/test/integration/sync_extension_helper.cc base::FilePath extension_dir; base 325 chrome/browser/sync/test/integration/sync_extension_helper.cc if (!base::PathExists(base_dir) && base 326 chrome/browser/sync/test/integration/sync_extension_helper.cc !base::CreateDirectory(base_dir)) { base 330 chrome/browser/sync/test/integration/sync_extension_helper.cc if (!base::CreateTemporaryDirInDir(base_dir, sub_dir.value(), base 99 chrome/browser/sync/test/integration/sync_test.cc base::MessageLoop::current()->Quit(); base 128 chrome/browser/sync/test/integration/sync_test.cc base::WaitableEvent* done, base 170 chrome/browser/sync/test/integration/sync_test.cc test_server_handle_(base::kNullProcessHandle) { base 192 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine* cl = base::CommandLine::ForCurrentProcess(); base 238 chrome/browser/sync/test/integration/sync_test.cc void SyncTest::SetUpCommandLine(base::CommandLine* cl) { base 243 chrome/browser/sync/test/integration/sync_test.cc void SyncTest::AddTestSwitches(base::CommandLine* cl) { base 252 chrome/browser/sync/test/integration/sync_test.cc void SyncTest::AddOptionalTypesToCommandLine(base::CommandLine* cl) {} base 255 chrome/browser/sync/test/integration/sync_test.cc Profile* SyncTest::MakeProfile(const base::FilePath::StringType name) { base 256 chrome/browser/sync/test/integration/sync_test.cc base::FilePath path; base 260 chrome/browser/sync/test/integration/sync_test.cc if (!base::PathExists(path)) base 261 chrome/browser/sync/test/integration/sync_test.cc CHECK(base::CreateDirectory(path)); base 345 chrome/browser/sync/test/integration/sync_test.cc base::StringPrintf(FILE_PATH_LITERAL("Profile%d"), index)); base 464 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine* cl = base::CommandLine::ForCurrentProcess(); base 470 chrome/browser/sync/test/integration/sync_test.cc base::ReadFileToString(password_file_, &file_contents); base 560 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine* cl = base::CommandLine::ForCurrentProcess(); base 623 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine* cl = base::CommandLine::ForCurrentProcess(); base 657 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine* cl = base::CommandLine::ForCurrentProcess(); base 658 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine::StringType server_cmdline_string = base 660 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine::StringVector server_cmdline_vector; base 661 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine::StringType delimiters(FILE_PATH_LITERAL(" ")); base 663 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine server_cmdline(server_cmdline_vector); base 664 chrome/browser/sync/test/integration/sync_test.cc base::LaunchOptions options; base 668 chrome/browser/sync/test/integration/sync_test.cc if (!base::LaunchProcess(server_cmdline, options, &test_server_handle_)) base 671 chrome/browser/sync/test/integration/sync_test.cc const base::TimeDelta kMaxWaitTime = TestTimeouts::action_max_timeout(); base 694 chrome/browser/sync/test/integration/sync_test.cc if (test_server_handle_ != base::kNullProcessHandle) { base 695 chrome/browser/sync/test/integration/sync_test.cc EXPECT_TRUE(base::KillProcess(test_server_handle_, 0, false)) base 697 chrome/browser/sync/test/integration/sync_test.cc base::CloseProcessHandle(test_server_handle_); base 698 chrome/browser/sync/test/integration/sync_test.cc test_server_handle_ = base::kNullProcessHandle; base 703 chrome/browser/sync/test/integration/sync_test.cc bool SyncTest::WaitForTestServerToStart(base::TimeDelta wait, int intervals) { base 707 chrome/browser/sync/test/integration/sync_test.cc base::PlatformThread::Sleep(wait / intervals); base 713 chrome/browser/sync/test/integration/sync_test.cc base::CommandLine* cl = base::CommandLine::ForCurrentProcess(); base 795 chrome/browser/sync/test/integration/sync_test.cc base::UTF16ToASCII( base 810 chrome/browser/sync/test/integration/sync_test.cc base::UTF16ToASCII( base 833 chrome/browser/sync/test/integration/sync_test.cc base::UTF16ToASCII( base 852 chrome/browser/sync/test/integration/sync_test.cc base::StringPrintf( base 859 chrome/browser/sync/test/integration/sync_test.cc base::UTF16ToASCII( base 869 chrome/browser/sync/test/integration/sync_test.cc base::UTF16ToASCII( base 879 chrome/browser/sync/test/integration/sync_test.cc base::UTF16ToASCII( base 957 chrome/browser/sync/test/integration/sync_test.cc path.append(base::StringPrintf("?error=%d", error_type)); base 958 chrome/browser/sync/test/integration/sync_test.cc path.append(base::StringPrintf("&action=%d", action)); base 960 chrome/browser/sync/test/integration/sync_test.cc path.append(base::StringPrintf("&error_description=%s", base 962 chrome/browser/sync/test/integration/sync_test.cc path.append(base::StringPrintf("&url=%s", error.url.c_str())); base 963 chrome/browser/sync/test/integration/sync_test.cc path.append(base::StringPrintf("&frequency=%d", frequency)); base 966 chrome/browser/sync/test/integration/sync_test.cc std::string output = base::UTF16ToASCII( base 968 chrome/browser/sync/test/integration/sync_test.cc ASSERT_TRUE(output.find("SetError: 200") != base::string16::npos); base 976 chrome/browser/sync/test/integration/sync_test.cc base::UTF16ToASCII( base 983 chrome/browser/sync/test/integration/sync_test.cc base::WaitableEvent done(false, false); base 986 chrome/browser/sync/test/integration/sync_test.cc base::Bind(&SetProxyConfigCallback, &done, base 29 chrome/browser/sync/test/integration/sync_test.h namespace base { base 122 chrome/browser/sync/test/integration/sync_test.h virtual void SetUpCommandLine(base::CommandLine* cl) OVERRIDE; base 253 chrome/browser/sync/test/integration/sync_test.h virtual void AddTestSwitches(base::CommandLine* cl); base 257 chrome/browser/sync/test/integration/sync_test.h virtual void AddOptionalTypesToCommandLine(base::CommandLine* cl); base 287 chrome/browser/sync/test/integration/sync_test.h base::FilePath password_file_; base 294 chrome/browser/sync/test/integration/sync_test.h static Profile* MakeProfile(const base::FilePath::StringType name); base 326 chrome/browser/sync/test/integration/sync_test.h bool WaitForTestServerToStart(base::TimeDelta wait, int intervals); base 405 chrome/browser/sync/test/integration/sync_test.h base::ProcessHandle test_server_handle_; base 23 chrome/browser/sync/test/integration/themes_helper.cc return "faketheme" + base::IntToString(index); base 442 chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc new base::FundamentalValue(true)); base 113 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc keys.insert(AutofillKey(base::WideToUTF16(L"Sigur R\u00F3s"), base 114 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::WideToUTF16(L"\u00C1g\u00E6tis byrjun"))); base 193 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::ASCIIToUTF16("Bart")); base 226 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::ASCIIToUTF16("1234567890")); base 313 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::ASCIIToUTF16("Lisa")); base 317 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::ASCIIToUTF16("grrrl@TV.com")); base 337 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::ASCIIToUTF16("Lisa")); base 342 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::ASCIIToUTF16("Bart")); base 408 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::string16 max_length_string(AutofillTable::kMaxDataLength, '.'); base 440 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::string16 exceeds_max_length_string( base 472 chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc base::ASCIIToUTF16("6011111111111117")); base 251 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.6) { base 259 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.4) { base 429 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.15) { base 463 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.15) { base 647 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.6) { base 674 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.6) { base 706 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.6) { base 716 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.6) { base 725 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.3) { base 727 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.6) { base 766 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() > 0.2) { base 948 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc int num_bookmarks = base::RandInt(0, 9); base 989 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc int num_bookmarks = base::RandInt(0, 9); base 1028 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc int num_bookmarks = base::RandInt(0, 9); base 1060 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc int num_bookmarks = base::RandInt(0, 9); base 1096 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc int num_bookmarks = base::RandInt(0, 9); base 1391 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc if (base::RandDouble() < 0.5) { base 1908 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc int rand_pos = base::RandInt(0, num_bookmarks-1); base 1917 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc int rand_pos = base::RandInt(0, num_bookmarks-1); base 1929 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc int rand_pos = base::RandInt(0, num_bookmarks-1); base 1938 chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc int rand_pos = base::RandInt(0, num_bookmarks-1); base 127 chrome/browser/sync/test/integration/two_client_dictionary_sync_test.cc 0, "foo" + base::Uint64ToString(i))); base 129 chrome/browser/sync/test/integration/two_client_dictionary_sync_test.cc 1, "bar" + base::Uint64ToString(i))); base 33 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc base::DictionaryValue settings; base 34 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc settings.SetString("asdf", base::StringPrintf("asdfasdf-%d", seed)); base 40 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc base::DictionaryValue settings; base 41 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc settings.SetString("asdf", base::StringPrintf("asdfasdf-%d", seed)); base 42 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc settings.SetString("qwer", base::StringPrintf("qwerqwer-%d", seed)); base 47 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc base::DictionaryValue settings0; base 48 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc settings0.SetString("zxcv", base::StringPrintf("zxcvzxcv-%d", seed)); base 52 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc base::DictionaryValue settings1; base 53 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc settings1.SetString("1324", base::StringPrintf("12341234-%d", seed)); base 54 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc settings1.SetString("5687", base::StringPrintf("56785678-%d", seed)); base 82 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc base::DictionaryValue settings; base 87 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc base::DictionaryValue settings; base 132 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc base::DictionaryValue settings; base 138 chrome/browser/sync/test/integration/two_client_extension_settings_and_app_settings_sync_test.cc base::DictionaryValue settings; base 68 chrome/browser/sync/test/integration/two_client_passwords_sync_test.cc form1.password_value = base::ASCIIToUTF16("new_password"); base 162 chrome/browser/sync/test/integration/two_client_passwords_sync_test.cc form.password_value = base::ASCIIToUTF16("new_password"); base 239 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc base::ListValue urls; base 240 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc urls.Append(base::Value::CreateStringValue("http://www.google.com/")); base 241 chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc urls.Append(base::Value::CreateStringValue("http://www.flickr.com/")); base 15 chrome/browser/sync/test/integration/two_client_search_engines_sync_test.cc using base::ASCIIToUTF16; base 16 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc using base::ASCIIToUTF16; base 76 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc const base::string16 kHistoryUrl( base 95 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc const base::string16 kHistoryUrl( base 102 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc base::Time timestamp = base::Time::Now() - base::TimeDelta::FromDays(365); base 127 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc const base::string16 kHistoryUrl( base 134 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc base::Time timestamp = base::Time::Now() - base::TimeDelta::FromDays(365); base 165 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc const base::string16 kHistoryUrl( base 194 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc const base::string16 kUrl1(ASCIIToUTF16("http://history1.google.com/")); base 195 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc const base::string16 kUrl2(ASCIIToUTF16("http://history2.google.com/")); base 226 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc const base::string16 kHistoryUrl( base 258 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc const base::string16 kHistoryUrl( base 301 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc base::Time timestamp = base::Time::Now(); base 312 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc timestamp + base::TimeDelta::FromSeconds(1)); base 339 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc base::Time timestamp = base::Time::Now(); base 359 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc timestamp + base::TimeDelta::FromSeconds(1)); base 373 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc const base::string16 kHistoryUrl( base 27 chrome/browser/sync/test/integration/typed_urls_helper.cc explicit FlushHistoryDBQueueTask(base::WaitableEvent* event) base 40 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* wait_event_; base 45 chrome/browser/sync/test/integration/typed_urls_helper.cc GetTypedUrlsTask(history::URLRows* rows, base::WaitableEvent* event) base 62 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* wait_event_; base 70 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* event) base 88 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* wait_event_; base 96 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* event) base 114 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* wait_event_; base 120 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* event) base 137 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent* wait_event_; base 146 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent wait_event(true, false); base 158 chrome/browser/sync/test/integration/typed_urls_helper.cc const base::Time& timestamp) { base 168 chrome/browser/sync/test/integration/typed_urls_helper.cc service->SetPageTitle(url, base::ASCIIToUTF16(url.spec() + " - title")); base 174 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent wait_event(true, false); base 184 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent wait_event(true, false); base 195 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent wait_event(true, false); base 206 chrome/browser/sync/test/integration/typed_urls_helper.cc base::WaitableEvent wait_event(true, false); base 212 chrome/browser/sync/test/integration/typed_urls_helper.cc static base::Time* timestamp = NULL; base 242 chrome/browser/sync/test/integration/typed_urls_helper.cc base::Time GetTimestamp() { base 248 chrome/browser/sync/test/integration/typed_urls_helper.cc ::timestamp = new base::Time(base::Time::Now()); base 249 chrome/browser/sync/test/integration/typed_urls_helper.cc base::Time original = *::timestamp; base 250 chrome/browser/sync/test/integration/typed_urls_helper.cc *::timestamp += base::TimeDelta::FromMilliseconds(1); base 262 chrome/browser/sync/test/integration/typed_urls_helper.cc base::Time timestamp = GetTimestamp(); base 269 chrome/browser/sync/test/integration/typed_urls_helper.cc const base::Time& timestamp) { base 343 chrome/browser/sync/test/integration/typed_urls_helper.cc base::Time t = base::Time::FromInternalValue(0); base 13 chrome/browser/sync/test/integration/typed_urls_helper.h namespace base { base 50 chrome/browser/sync/test/integration/typed_urls_helper.h const base::Time& timestamp); base 83 chrome/browser/sync/test/integration/typed_urls_helper.h base::Time GetTimestamp(); base 34 chrome/browser/sync/test_profile_sync_service.cc const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, base 35 chrome/browser/sync/test_profile_sync_service.cc base::Closure callback) base 74 chrome/browser/sync/test_profile_sync_service.cc const base::Callback<void(syncer::ModelTypeSet, base 76 chrome/browser/sync/test_profile_sync_service.cc const base::Closure& retry_callback) { base 137 chrome/browser/sync/test_profile_sync_service.cc Profile* profile, base::Closure callback) { base 163 chrome/browser/sync/test_profile_sync_service.cc base::MessageLoop::current()->Quit(); base 41 chrome/browser/sync/test_profile_sync_service.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, base 42 chrome/browser/sync/test_profile_sync_service.h base::Closure callback); base 53 chrome/browser/sync/test_profile_sync_service.h const base::Callback<void(syncer::ModelTypeSet, base 55 chrome/browser/sync/test_profile_sync_service.h const base::Closure& retry_callback) OVERRIDE; base 64 chrome/browser/sync/test_profile_sync_service.h base::Closure callback_; base 89 chrome/browser/sync/test_profile_sync_service.h Profile* profile, base::Closure callback); base 20 chrome/browser/sync_file_system/conflict_resolution_resolver.cc const base::Time& local_update_time, base 22 chrome/browser/sync_file_system/conflict_resolution_resolver.cc const base::Time& remote_update_time) { base 11 chrome/browser/sync_file_system/conflict_resolution_resolver.h namespace base { base 35 chrome/browser/sync_file_system/conflict_resolution_resolver.h const base::Time& local_update_time, base 37 chrome/browser/sync_file_system/conflict_resolution_resolver.h const base::Time& remote_update_time); base 126 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc base::Bind(&ConflictResolver::DidDetachFromParent, base 232 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc base::Bind(&ConflictResolver::DidRemoveFile, base 272 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc base::Bind(&ConflictResolver::DidGetRemoteMetadata, base 79 chrome/browser/sync_file_system/drive_backend/conflict_resolver.h base::WeakPtrFactory<ConflictResolver> weak_ptr_factory_; base 42 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc origin, base::FilePath::FromUTF8Unsafe(path)); base 70 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc drive_uploader.Pass(), base::MessageLoopProxy::current())); base 76 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::WeakPtr<SyncTaskManager::Client>(), base 89 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 95 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::MessageLoopProxy::current(), base 103 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::Bind(&ConflictResolverTest::DidInitializeMetadataDatabase, base 104 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::Unretained(this), initializer, &status)); base 106 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 122 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 167 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 190 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 198 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::FilePath local_path = base::FilePath(FILE_PATH_LITERAL("dummy")); base 203 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc SyncFileMetadata(file_change.file_type(), 0, base::Time()), base 206 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 222 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 233 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 267 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc base::ScopedTempDir database_dir_; base 14 chrome/browser/sync_file_system/drive_backend/drive_backend_constants.cc const base::FilePath::CharType kDatabaseName[] = base 17 chrome/browser/sync_file_system/drive_backend/drive_backend_constants.h extern const base::FilePath::CharType kDatabaseName[]; base 105 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 119 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType& path) { base 120 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc return CreateURL(app_id, base::FilePath(path)); base 124 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath& path) { base 139 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType& path) { base 140 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc return GetFileIDByPath(app_id, base::FilePath(path)); base 144 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath& path) { base 146 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::FilePath result_path; base 147 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::FilePath normalized_path = path.NormalizePathSeparators(); base 166 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 172 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system->OpenFileSystem()); base 178 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 183 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType& path) { base 185 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 191 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType& path, base 195 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_systems_[app_id]->CreateFile(url)); base 198 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 202 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType& path, base 208 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 212 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType& path) { base 214 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 218 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 226 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 235 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 250 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::RunLoop().RunUntilIdle(); base 329 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc app_id, base::FilePath(), base 336 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath& path, base 356 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 389 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath& path, base 396 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 409 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc std::stack<base::FilePath> folders; base 410 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc folders.push(base::FilePath()); // root folder base 418 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 432 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType& path, base 438 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 444 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType& path) { base 449 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 482 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::ScopedTempDir base_dir_; base 496 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 497 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; base 544 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType kPath(FPL("file")); base 596 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType path(FPL("file")); base 618 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType path(FPL("file")); base 642 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType path(FPL("file")); base 668 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType path(FPL("file")); base 685 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc file_id, base::FilePath(path).AsUTF8Unsafe())); base 702 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc const base::FilePath::StringType path(FPL("file")); base 989 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1))); base 1000 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1))); base 1213 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(1))); base 1224 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(1))); base 1295 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1))); base 1306 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1))); base 51 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc batch->Put(kFileTrackerKeyPrefix + base::Int64ToString(tracker.tracker_id()), base 64 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc batch->Delete(kFileTrackerKeyPrefix + base::Int64ToString(tracker_id)); base 143 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc base::TaskRunner* file_task_runner) { base 144 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc base::FilePath temp_file_path; base 145 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc if (!base::CreateTemporaryFile(&temp_file_path)) base 176 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc std::string GetMimeTypeFromTitle(const base::FilePath& title) { base 177 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc base::FilePath::StringType extension = title.Extension(); base 57 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h base::TaskRunner* file_task_runner); base 63 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h std::string GetMimeTypeFromTitle(const base::FilePath& title); base 44 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc const base::FilePath& local_file) { base 76 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 93 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 105 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::FilePath temp_file = WriteToTempFile(content); base 113 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::Bind(&UploadResultCallback, &error, &file), base 115 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 125 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::FilePath temp_file = WriteToTempFile(content); base 132 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::Bind(&UploadResultCallback, &error, &file), base 134 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 145 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 155 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 161 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc const base::Time& modification_time) { base 172 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 183 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 194 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 205 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 216 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 240 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 256 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 270 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 285 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::FilePath temp_file; base 286 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file)); base 289 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::Bind(&DownloadResultCallback, &error), base 292 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 296 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc return base::ReadFileToString(temp_file, file_content) base 305 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 330 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::RunLoop().RunUntilIdle(); base 339 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc ASSERT_TRUE(base::CreateDirectory(temp_dir_)); base 342 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::FilePath FakeDriveServiceHelper::WriteToTempFile( base 344 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::FilePath temp_file; base 345 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file)); base 347 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc base::WriteFile(temp_file, content.data(), content.size())); base 15 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h namespace base { base 50 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h const base::Time& modification_time); base 78 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h base::FilePath base_dir_path() { return base_dir_.path(); } base 87 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h base::FilePath WriteToTempFile(const std::string& content); base 89 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h base::ScopedTempDir base_dir_; base 90 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h base::FilePath temp_dir_; base 40 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::MessageLoopProxy::current()->PostTask( base 42 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::Bind(callback, base 45 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::Passed(&entry))); base 52 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::MessageLoopProxy::current()->PostTask( base 54 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::Bind(callback, base 57 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::Passed(&entry))); base 77 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::Bind(&DidAddFileOrDirectoryForMakingConflict)); base 92 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc const base::FilePath& local_file_path, base 108 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::Bind(&DidAddFileOrDirectoryForMakingConflict)); base 117 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::Bind(&DidAddFileForUploadNew, callback)); base 118 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::MessageLoop::current()->RunUntilIdle(); base 125 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc const base::FilePath& local_file_path, base 133 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc base::Bind(&DidGetResourceEntryForUploadExisting, callback)); base 138 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.cc const base::FilePath& local_file_path, base 55 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.h const base::FilePath& local_file_path, base 63 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.h const base::FilePath& local_file_path, base 70 chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.h const base::FilePath& local_file_path, base 46 chrome/browser/sync_file_system/drive_backend/folder_creator.cc base::Bind(&FolderCreator::DidCreateFolder, base 62 chrome/browser/sync_file_system/drive_backend/folder_creator.cc base::Bind(&FolderCreator::DidListFolders, base 64 chrome/browser/sync_file_system/drive_backend/folder_creator.cc base::Passed(ScopedVector<google_apis::ResourceEntry>()))); base 94 chrome/browser/sync_file_system/drive_backend/folder_creator.cc base::Bind(&FolderCreator::DidListFolders, base 96 chrome/browser/sync_file_system/drive_backend/folder_creator.cc base::Passed(&candidates))); base 118 chrome/browser/sync_file_system/drive_backend/folder_creator.cc files.Pass(), base::Bind(&FolderCreator::DidUpdateDatabase, base 33 chrome/browser/sync_file_system/drive_backend/folder_creator.h typedef base::Callback<void(const std::string& file_id, base 62 chrome/browser/sync_file_system/drive_backend/folder_creator.h base::WeakPtrFactory<FolderCreator> weak_ptr_factory_; base 56 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc RunSoon(FROM_HERE, base::Bind(&SyncTaskManager::NotifyTaskDone, base 57 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc base::Passed(&token), base 64 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc base::Bind(&ListChangesTask::DidListChanges, base 65 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); base 103 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc base::Bind( base 106 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc base::Passed(&token))); base 123 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc base::Bind(&SyncTaskManager::NotifyTaskDone, base::Passed(&token))); base 48 chrome/browser/sync_file_system/drive_backend/list_changes_task.h base::WeakPtrFactory<ListChangesTask> weak_ptr_factory_; base 50 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc fake_drive_service.get(), base::MessageLoopProxy::current())); base 56 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc base::WeakPtr<SyncTaskManager::Client>(), base 62 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc drive_uploader.Pass(), base::MessageLoopProxy::current())); base 73 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc base::RunLoop().RunUntilIdle(); base 83 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc base::RunLoop().RunUntilIdle(); base 165 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc base::MessageLoopProxy::current(), base 172 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc base::Bind(&ListChangesTaskTest::DidInitializeMetadataDatabase, base 173 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc base::Unretained(this), initializer, &status)); base 175 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc base::RunLoop().RunUntilIdle(); base 199 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc base::ScopedTempDir database_dir_; base 59 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc const base::FilePath& local_path, base 86 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc SyncStatusCallback wrapped_callback = base::Bind( base 106 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::FilePath path = url_.path(); base 109 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::FilePath active_ancestor_path; base 130 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::FilePath missing_entries; base 144 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc std::vector<base::FilePath::StringType> missing_components; base 182 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc DeleteRemoteFile(base::Bind(&LocalToRemoteSyncer::DidDeleteForCreateFolder, base 277 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::FilePath title = fileapi::VirtualPath::BaseName(target_path_); base 322 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc DeleteRemoteFile(base::Bind(&LocalToRemoteSyncer::DidDeleteForUploadNewFile, base 333 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc DeleteRemoteFile(base::Bind(&LocalToRemoteSyncer::DidDeleteForCreateFolder, base 352 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&LocalToRemoteSyncer::DidDeleteRemoteFile, base 386 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::PostTaskAndReplyWithResult( base 388 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&drive::util::GetMd5Digest, local_path_), base 389 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&LocalToRemoteSyncer::DidGetMD5ForUpload, base 412 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&LocalToRemoteSyncer::DidUploadExistingFile, base 433 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&ReturnRetryOnSuccess, callback)); base 452 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&LocalToRemoteSyncer::DidUpdateDatabaseForUploadExistingFile, base 475 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::FilePath title = fileapi::VirtualPath::BaseName(target_path_); base 497 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&LocalToRemoteSyncer::DidGetRemoteMetadata, base 533 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&ReturnRetryOnSuccess, callback)); base 550 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&ReturnRetryOnSuccess, callback)); base 566 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::FilePath title = fileapi::VirtualPath::BaseName(target_path_); base 573 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&LocalToRemoteSyncer::DidUploadNewFile, base 609 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::FilePath title = fileapi::VirtualPath::BaseName(target_path_); base 617 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc folder_creator_->Run(base::Bind( base 650 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc base::Bind(&LocalToRemoteSyncer::DidDetachResourceForCreationConflict, base 46 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h const base::FilePath& local_path, base 52 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h const base::FilePath& target_path() const { return target_path_; } base 113 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h base::FilePath local_path_; base 119 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h base::FilePath target_path_; base 125 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h base::WeakPtrFactory<LocalToRemoteSyncer> weak_ptr_factory_; base 44 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc origin, base::FilePath::FromUTF8Unsafe(path)); base 70 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc drive_uploader.Pass(), base::MessageLoopProxy::current())); base 76 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::WeakPtr<SyncTaskManager::Client>(), base 89 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 95 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::MessageLoopProxy::current(), base 104 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::Bind(&LocalToRemoteSyncerTest::DidInitializeMetadataDatabase, base 105 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::Unretained(this), initializer, &status)); base 107 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 123 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 167 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::FilePath local_path = base::FilePath::FromUTF8Unsafe("dummy"); base 170 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc SyncFileMetadata(file_change.file_type(), 0, base::Time()), base 173 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 184 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 193 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 238 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc base::ScopedTempDir database_dir_; base 55 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath ReverseConcatPathComponents( base 56 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const std::vector<base::FilePath>& components) { base 58 chrome/browser/sync_file_system/drive_backend/metadata_database.cc return base::FilePath(FILE_PATH_LITERAL("/")).NormalizePathSeparators(); base 61 chrome/browser/sync_file_system/drive_backend/metadata_database.cc typedef std::vector<base::FilePath> PathComponents; base 66 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath::StringType result; base 70 chrome/browser/sync_file_system/drive_backend/metadata_database.cc result.append(1, base::FilePath::kSeparators[0]); base 74 chrome/browser/sync_file_system/drive_backend/metadata_database.cc return base::FilePath(result).NormalizePathSeparators(); base 127 chrome/browser/sync_file_system/drive_backend/metadata_database.cc SyncStatusCode OpenDatabase(const base::FilePath& path, base 131 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::ThreadRestrictions::AssertIOAllowed(); base 155 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::ThreadRestrictions::AssertIOAllowed(); base 162 chrome/browser/sync_file_system/drive_backend/metadata_database.cc if (!base::StringToInt64(value, &version)) base 198 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::ThreadRestrictions::AssertIOAllowed(); base 203 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::Int64ToString(kCurrentDatabaseVersion))); base 208 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::ThreadRestrictions::AssertIOAllowed(); base 244 chrome/browser/sync_file_system/drive_backend/metadata_database.cc if (!base::StringToInt64(RemovePrefix(key, kFileTrackerKeyPrefix), base 336 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::hash_set<std::string> referred_file_ids; base 357 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const base::Closure& closure) { base 358 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::MessageLoopProxy::current()->PostTask(from_here, closure); base 438 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::hash_set<std::string> affected_file_ids; base 447 chrome/browser/sync_file_system/drive_backend/metadata_database.cc for (base::hash_set<std::string>::iterator itr = affected_file_ids.begin(); base 616 chrome/browser/sync_file_system/drive_backend/metadata_database.cc void MetadataDatabase::Create(base::SequencedTaskRunner* task_runner, base 617 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const base::FilePath& database_path, base 620 chrome/browser/sync_file_system/drive_backend/metadata_database.cc task_runner->PostTask(FROM_HERE, base::Bind( base 622 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::MessageLoopProxy::current(), base 632 chrome/browser/sync_file_system/drive_backend/metadata_database.cc new MetadataDatabase(base::MessageLoopProxy::current(), base 633 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath(), NULL)); base 650 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 652 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath database_path = metadata_database->database_path_; base 658 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::Bind(base::IgnoreResult(base::DeleteFile), base 718 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 724 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 732 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_HAS_CONFLICT)); base 740 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 748 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 770 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 775 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 799 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 804 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 827 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 908 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath* path) const { base 913 chrome/browser/sync_file_system/drive_backend/metadata_database.cc std::vector<base::FilePath> components; base 918 chrome/browser/sync_file_system/drive_backend/metadata_database.cc components.push_back(base::FilePath::FromUTF8Unsafe(title)); base 930 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath MetadataDatabase::BuildDisplayPathForTracker( base 932 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath path; base 940 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath::FromUTF8Unsafe(tracker.synced_details().title())); base 949 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const base::FilePath& full_path, base 951 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath* path_out) const { base 961 chrome/browser/sync_file_system/drive_backend/metadata_database.cc std::vector<base::FilePath::StringType> components; base 966 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const std::string title = base::FilePath(components[i]).AsUTF8Unsafe(); base 1099 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_FAILED)); base 1124 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 1132 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_FAILED)); base 1136 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::hash_set<std::string> children(child_file_ids.begin(), base 1151 chrome/browser/sync_file_system/drive_backend/metadata_database.cc for (base::hash_set<std::string>::const_iterator itr = children.begin(); base 1168 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 1270 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_FAILED)); base 1424 chrome/browser/sync_file_system/drive_backend/metadata_database.cc MetadataDatabase::MetadataDatabase(base::SequencedTaskRunner* task_runner, base 1425 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const base::FilePath& database_path, base 1437 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::SingleThreadTaskRunner* callback_runner, base 1438 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::SequencedTaskRunner* task_runner, base 1439 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const base::FilePath& database_path, base 1449 chrome/browser/sync_file_system/drive_backend/metadata_database.cc callback_runner->PostTask(FROM_HERE, base::Bind( base 1450 chrome/browser/sync_file_system/drive_backend/metadata_database.cc callback, status, base::Passed(&metadata_database))); base 1454 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::ThreadRestrictions::AssertIOAllowed(); base 1739 chrome/browser/sync_file_system/drive_backend/metadata_database.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 1743 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::PostTaskAndReplyWithResult( base 1746 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::Bind(&leveldb::DB::Write, base 1747 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::Unretained(db_.get()), base 1749 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::Owned(batch.release())), base 1750 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::Bind(&AdaptLevelDBStatusToSyncStatusCode, callback)); base 1753 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<base::ListValue> MetadataDatabase::DumpFiles( base 1755 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<base::ListValue> files(new base::ListValue); base 1774 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::DictionaryValue* file = new base::DictionaryValue; base 1776 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath path = BuildDisplayPathForTracker(*tracker); base 1784 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::DictionaryValue* details = new base::DictionaryValue; base 1800 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<base::ListValue> MetadataDatabase::DumpDatabase() { base 1801 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<base::ListValue> list(new base::ListValue); base 1816 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<base::ListValue> MetadataDatabase::DumpTrackers() { base 1817 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<base::ListValue> trackers(new base::ListValue); base 1820 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::DictionaryValue* metadata = new base::DictionaryValue; base 1828 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::ListValue* keys = new base::ListValue; base 1839 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::DictionaryValue* dict = new base::DictionaryValue; base 1840 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath path = BuildDisplayPathForTracker(tracker); base 1841 chrome/browser/sync_file_system/drive_backend/metadata_database.cc dict->SetString("tracker_id", base::Int64ToString(tracker.tracker_id())); base 1863 chrome/browser/sync_file_system/drive_backend/metadata_database.cc dict->SetString("change_id", base::Int64ToString(details.change_id())); base 1870 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<base::ListValue> MetadataDatabase::DumpMetadata() { base 1871 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<base::ListValue> files(new base::ListValue); base 1874 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::DictionaryValue* metadata = new base::DictionaryValue; base 1881 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::ListValue* keys = new base::ListValue; base 1893 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::DictionaryValue* dict = new base::DictionaryValue; base 1902 chrome/browser/sync_file_system/drive_backend/metadata_database.cc dict->SetString("change_id", base::Int64ToString(details.change_id())); base 24 chrome/browser/sync_file_system/drive_backend/metadata_database.h namespace base { base 126 chrome/browser/sync_file_system/drive_backend/metadata_database.h typedef base::Callback< base 144 chrome/browser/sync_file_system/drive_backend/metadata_database.h static void Create(base::SequencedTaskRunner* task_runner, base 145 chrome/browser/sync_file_system/drive_backend/metadata_database.h const base::FilePath& database_path, base 161 chrome/browser/sync_file_system/drive_backend/metadata_database.h scoped_ptr<base::ListValue> DumpFiles(const std::string& app_id); base 164 chrome/browser/sync_file_system/drive_backend/metadata_database.h scoped_ptr<base::ListValue> DumpDatabase(); base 256 chrome/browser/sync_file_system/drive_backend/metadata_database.h bool BuildPathForTracker(int64 tracker_id, base::FilePath* path) const; base 261 chrome/browser/sync_file_system/drive_backend/metadata_database.h base::FilePath BuildDisplayPathForTracker(const FileTracker& tracker) const; base 268 chrome/browser/sync_file_system/drive_backend/metadata_database.h const base::FilePath& full_path, base 270 chrome/browser/sync_file_system/drive_backend/metadata_database.h base::FilePath* path) const; base 358 chrome/browser/sync_file_system/drive_backend/metadata_database.h MetadataDatabase(base::SequencedTaskRunner* task_runner, base 359 chrome/browser/sync_file_system/drive_backend/metadata_database.h const base::FilePath& database_path, base 361 chrome/browser/sync_file_system/drive_backend/metadata_database.h static void CreateOnTaskRunner(base::SingleThreadTaskRunner* callback_runner, base 362 chrome/browser/sync_file_system/drive_backend/metadata_database.h base::SequencedTaskRunner* task_runner, base 363 chrome/browser/sync_file_system/drive_backend/metadata_database.h const base::FilePath& database_path, base 413 chrome/browser/sync_file_system/drive_backend/metadata_database.h scoped_ptr<base::ListValue> DumpTrackers(); base 414 chrome/browser/sync_file_system/drive_backend/metadata_database.h scoped_ptr<base::ListValue> DumpMetadata(); base 426 chrome/browser/sync_file_system/drive_backend/metadata_database.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 427 chrome/browser/sync_file_system/drive_backend/metadata_database.h base::FilePath database_path_; base 436 chrome/browser/sync_file_system/drive_backend/metadata_database.h base::WeakPtrFactory<MetadataDatabase> weak_ptr_factory_; base 40 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h return base::HashInts64(v.parent_id, hash<std::string>()(v.title)); base 46 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h return base::HashInts64(v.parent_id, hash_value(v.title)); base 124 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h typedef base::ScopedPtrHashMap<std::string, FileMetadata> MetadataByID; base 125 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h typedef base::ScopedPtrHashMap<int64, FileTracker> TrackerByID; base 126 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h typedef base::hash_map<std::string, TrackerIDSet> TrackerIDsByFileID; base 127 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h typedef base::hash_map<std::string, TrackerIDSet> TrackerIDsByTitle; base 129 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h typedef base::hash_map<std::string, int64> TrackerIDByAppID; base 130 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h typedef base::hash_set<std::string> FileIDSet; base 131 chrome/browser/sync_file_system/drive_backend/metadata_database_index.h typedef base::hash_set<ParentIDAndTitle> PathSet; base 93 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc void ExpectEquivalent(const base::hash_map<Key, Value>& left, base 94 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc const base::hash_map<Key, Value>& right) { base 100 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc void ExpectEquivalent(const base::ScopedPtrHashMap<Key, Value>& left, base 101 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc const base::ScopedPtrHashMap<Key, Value>& right) { base 116 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc void ExpectEquivalent(const base::hash_set<Value>& left, base 117 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc const base::hash_set<Value>& right) { base 160 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::FilePath CreateNormalizedPath(const base::FilePath::StringType& path) { base 161 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc return base::FilePath(path).NormalizePathSeparators(); base 185 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc return "file_id_" + base::Int64ToString(next_file_id_number_++); base 199 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc MetadataDatabase::Create(base::MessageLoopProxy::current(), base 265 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::Int64ToString(3)); base 300 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc "md5_value_" + base::Int64ToString(next_md5_sequence_number_++)); base 395 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file_resource->set_created_date(base::Time::FromInternalValue( base 397 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc file_resource->set_modified_date(base::Time::FromInternalValue( base 435 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc "md5_value_" + base::Int64ToString(next_md5_sequence_number_++)); base 532 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::Int64ToString(tracker.tracker_id()) + "]"); base 622 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::ScopedTempDir database_dir_; base 623 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::MessageLoop message_loop_; base 758 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::FilePath path; base 763 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_EQ(base::FilePath(FPL("/")).NormalizePathSeparators(), path); base 766 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_EQ(base::FilePath(FPL("/folder/file")).NormalizePathSeparators(), base 816 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::FilePath path; base 825 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::FilePath path; base 834 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::FilePath path; base 844 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::FilePath path; base 854 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::FilePath path; base 865 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::FilePath path; base 1144 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc scoped_ptr<base::ListValue> files = base 1148 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc base::DictionaryValue* file = NULL; base 20 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc const base::FilePath::CharType kV0FormatPathPrefix[] = base 35 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc base::FilePath* path) { base 37 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc base::FilePath virtual_path; base 46 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc base::FilePath::StringType prefix = base 47 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc base::FilePath(kV0FormatPathPrefix).NormalizePathSeparators().value(); base 51 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc *path = base::FilePath(virtual_path.value().substr(prefix.size())); base 152 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc base::FilePath path; base 34 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.h base::FilePath* path); base 30 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc const base::FilePath& path, base 34 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc fileapi::FileSystemMountOption(), base::FilePath()); base 52 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc const base::FilePath kFile(FPL("foo bar")); base 59 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc base::FilePath path; base 105 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc const base::FilePath kFile(FPL("foo bar")); base 108 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc base::ScopedTempDir base_dir; base 158 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc EXPECT_TRUE(base::StringToInt64(itr->value().ToString(), &database_version)); base 165 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc EXPECT_TRUE(base::StringToInt64(itr->value().ToString(), &changestamp)); base 213 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc const base::FilePath kFile(FPL("foo bar")); base 218 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc base::ScopedTempDir base_dir; base 271 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc EXPECT_TRUE(base::StringToInt64(itr->value().ToString(), &database_version)); base 278 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc EXPECT_TRUE(base::StringToInt64(itr->value().ToString(), &changestamp)); base 78 chrome/browser/sync_file_system/drive_backend/register_app_task.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 97 chrome/browser/sync_file_system/drive_backend/register_app_task.cc folder_creator_->Run(base::Bind( base 62 chrome/browser/sync_file_system/drive_backend/register_app_task.h base::WeakPtrFactory<RegisterAppTask> weak_ptr_factory_; base 54 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc fake_drive_service.get(), base::MessageLoopProxy::current())); base 62 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc drive_uploader.Pass(), base::MessageLoopProxy::current())); base 71 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc base::RunLoop().RunUntilIdle(); base 111 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc base::Int64ToString(kCurrentDatabaseVersion)); base 132 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc base::RunLoop().RunUntilIdle(); base 232 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc return base::StringPrintf("file_id_%" PRId64, next_file_id_++); base 243 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc base::ScopedTempDir database_dir_; base 35 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::FilePath path; base 98 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc SyncStatusCallback wrapped_callback = base::Bind( base 100 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::FinalizeSync, base 116 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::MessageLoopProxy::current()->PostTask( base 118 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(callback, SYNC_STATUS_NO_CHANGE_TO_SYNC)); base 229 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc Prepare(base::Bind(&RemoteToLocalSyncer::DidPrepareForDeletion, base 249 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc Prepare(base::Bind(&RemoteToLocalSyncer::DidPrepareForDeletion, base 290 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::DidGetRemoteMetadata, base 320 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::DidUpdateDatabaseForRemoteMetadata, base 402 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc Prepare(base::Bind(&RemoteToLocalSyncer::DidPrepareForFolderUpdate, base 463 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc Prepare(base::Bind(&RemoteToLocalSyncer::DidPrepareForDeletion, base 515 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc Prepare(base::Bind(&RemoteToLocalSyncer::DidPrepareForAddOrUpdateFile, base 536 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::DidListFolderContent, base 539 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Passed(make_scoped_ptr(new FileIDList)))); base 571 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::DidListFolderContent, base 573 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc callback, base::Passed(&children))); base 629 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc url_, false /* clear_local_change */, base::Bind(callback, status)); base 643 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::DidPrepare, base 667 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::FilePath(), base 673 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::PostTaskAndReplyWithResult( base 675 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&sync_file_system::drive_backend::CreateTemporaryFile, base 677 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::DidCreateTemporaryFileForDownload, base 684 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::FilePath path = file.path(); base 687 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::DidDownloadFile, base 689 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc callback, base::Passed(&file)), base 697 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc const base::FilePath&) { base 704 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::FilePath path = file.path(); base 705 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::PostTaskAndReplyWithResult( base 707 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&drive::util::GetMd5Digest, path), base 708 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::DidCalculateMD5ForDownload, base 710 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc callback, base::Passed(&file))); base 732 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::FilePath path = file.path(); base 736 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::Bind(&RemoteToLocalSyncer::DidApplyDownload, base 738 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc callback, base::Passed(&file))); base 753 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc base::FilePath(), url_, base 181 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h const base::FilePath&); base 209 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h base::WeakPtrFactory<RemoteToLocalSyncer> weak_ptr_factory_; base 41 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc origin, base::FilePath::FromUTF8Unsafe(path)); base 64 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::MessageLoopProxy::current().get())); base 72 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc drive_uploader.Pass(), base::MessageLoopProxy::current())); base 78 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::WeakPtr<SyncTaskManager::Client>(), base 91 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 98 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::MessageLoopProxy::current(), base 106 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::Bind(&RemoteToLocalSyncerTest::DidInitializeMetadataDatabase, base 107 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::Unretained(this), base 110 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 127 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 185 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 202 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::RunLoop().RunUntilIdle(); base 218 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc base::ScopedTempDir database_dir_; base 60 chrome/browser/sync_file_system/drive_backend/sync_engine.cc const base::WeakPtr<SyncEngine>& sync_engine, base 61 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::SequencedTaskRunner* task_runner) base 85 chrome/browser/sync_file_system/drive_backend/sync_engine.cc scoped_refptr<base::SequencedWorkerPool> worker_pool( base 87 chrome/browser/sync_file_system/drive_backend/sync_engine.cc scoped_refptr<base::SequencedTaskRunner> drive_task_runner( base 90 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); base 115 chrome/browser/sync_file_system/drive_backend/sync_engine.cc scoped_refptr<base::SequencedTaskRunner> task_runner( base 118 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); base 205 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&SyncEngine::DoEnableApp, base 217 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&SyncEngine::DoDisableApp, base 243 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&SyncEngine::DidProcessRemoteChange, base 287 chrome/browser/sync_file_system/drive_backend/sync_engine.cc scoped_ptr<base::ListValue> SyncEngine::DumpFiles(const GURL& origin) { base 289 chrome/browser/sync_file_system/drive_backend/sync_engine.cc return scoped_ptr<base::ListValue>(); base 293 chrome/browser/sync_file_system/drive_backend/sync_engine.cc scoped_ptr<base::ListValue> SyncEngine::DumpDatabase() { base 295 chrome/browser/sync_file_system/drive_backend/sync_engine.cc return scoped_ptr<base::ListValue>(); base 368 chrome/browser/sync_file_system/drive_backend/sync_engine.cc const base::FilePath& local_path, base 378 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&SyncEngine::DidApplyLocalChange, base 466 chrome/browser/sync_file_system/drive_backend/sync_engine.cc SyncEngine::SyncEngine(const base::FilePath& base_dir, base 467 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::SequencedTaskRunner* task_runner, base 525 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&SyncEngine::DidInitialize, weak_ptr_factory_.GetWeakPtr(), base 574 chrome/browser/sync_file_system/drive_backend/sync_engine.cc RegisterOrigin(syncer->url().origin(), base::Bind(&EmptyStatusCallback)); base 602 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&EmptyStatusCallback)); base 611 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&SyncEngine::DidFetchChanges, base 616 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::TimeTicks::Now() + base 617 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::TimeDelta::FromSeconds(kListChangesRetryDelaySeconds); base 642 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::TimeTicks now = base::TimeTicks::Now(); base 650 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&SyncEngine::DidResolveConflict, base 659 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&SyncEngine::DidFetchChanges, base 664 chrome/browser/sync_file_system/drive_backend/sync_engine.cc now + base::TimeDelta::FromSeconds(kListChangesRetryDelaySeconds); base 764 chrome/browser/sync_file_system/drive_backend/sync_engine.cc base::Bind(&EmptyStatusCallback)); base 777 chrome/browser/sync_file_system/drive_backend/sync_engine.cc EnableOrigin(origin, base::Bind(&EmptyStatusCallback)); base 779 chrome/browser/sync_file_system/drive_backend/sync_engine.cc DisableOrigin(origin, base::Bind(&EmptyStatusCallback)); base 25 chrome/browser/sync_file_system/drive_backend/sync_engine.h namespace base { base 55 chrome/browser/sync_file_system/drive_backend/sync_engine.h public base::SupportsWeakPtr<TaskManagerClient> { base 57 chrome/browser/sync_file_system/drive_backend/sync_engine.h TaskManagerClient(const base::WeakPtr<SyncEngine>& sync_engine, base 58 chrome/browser/sync_file_system/drive_backend/sync_engine.h base::SequencedTaskRunner* task_runner); base 67 chrome/browser/sync_file_system/drive_backend/sync_engine.h base::WeakPtr<SyncEngine> sync_engine_; base 68 chrome/browser/sync_file_system/drive_backend/sync_engine.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 105 chrome/browser/sync_file_system/drive_backend/sync_engine.h virtual scoped_ptr<base::ListValue> DumpFiles(const GURL& origin) OVERRIDE; base 106 chrome/browser/sync_file_system/drive_backend/sync_engine.h virtual scoped_ptr<base::ListValue> DumpDatabase() OVERRIDE; base 129 chrome/browser/sync_file_system/drive_backend/sync_engine.h const base::FilePath& local_path, base 154 chrome/browser/sync_file_system/drive_backend/sync_engine.h SyncEngine(const base::FilePath& base_dir, base 155 chrome/browser/sync_file_system/drive_backend/sync_engine.h base::SequencedTaskRunner* task_runner, base 191 chrome/browser/sync_file_system/drive_backend/sync_engine.h base::FilePath base_dir_; base 192 chrome/browser/sync_file_system/drive_backend/sync_engine.h base::FilePath temporary_file_dir_; base 212 chrome/browser/sync_file_system/drive_backend/sync_engine.h base::TimeTicks time_to_check_changes_; base 223 chrome/browser/sync_file_system/drive_backend/sync_engine.h base::WeakPtrFactory<SyncEngine> weak_ptr_factory_; base 22 chrome/browser/sync_file_system/drive_backend/sync_engine_context.cc base::SequencedTaskRunner* task_runner) base 50 chrome/browser/sync_file_system/drive_backend/sync_engine_context.cc base::SequencedTaskRunner* SyncEngineContext::GetBlockingTaskRunner() { base 12 chrome/browser/sync_file_system/drive_backend/sync_engine_context.h namespace base { base 33 chrome/browser/sync_file_system/drive_backend/sync_engine_context.h base::SequencedTaskRunner* task_runner); base 40 chrome/browser/sync_file_system/drive_backend/sync_engine_context.h base::SequencedTaskRunner* GetBlockingTaskRunner(); base 52 chrome/browser/sync_file_system/drive_backend/sync_engine_context.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 53 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc typedef base::Callback<void(scoped_ptr<SyncTaskToken> token, base 79 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::SequencedTaskRunner* task_runner, base 80 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc const base::FilePath& database_path, base 113 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Bind(&SyncEngineInitializer::DidCreateMetadataDatabase, base 114 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); base 148 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Bind(&SyncEngineInitializer::DidGetAboutResource, base 149 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); base 186 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Bind(&SyncEngineInitializer::DidFindSyncRoot, base 188 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); base 242 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Bind(&SyncEngineInitializer::DidFindSyncRoot, base 244 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); base 267 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Bind(&SyncEngineInitializer::DidCreateSyncRoot, base 269 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); base 297 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Bind(&SyncEngineInitializer::DidDetachSyncRoot, base 299 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); base 325 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Bind(&SyncEngineInitializer::DidListAppRootFolders, base 327 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); base 364 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Bind(&SyncEngineInitializer::DidListAppRootFolders, base 365 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); base 380 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Bind(&SyncEngineInitializer::DidPopulateDatabase, base 381 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); base 70 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h base::SequencedTaskRunner* task_runner, base 71 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h const base::FilePath& database_path, base 79 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h typedef base::Callback<void(const SyncStatusCallback& callback)> Task; base 113 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 115 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h base::FilePath database_path_; base 127 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h base::WeakPtrFactory<SyncEngineInitializer> weak_ptr_factory_; base 57 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::MessageLoopProxy::current())); base 60 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::WeakPtr<SyncTaskManager::Client>(), base 69 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::RunLoop().RunUntilIdle(); base 72 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::FilePath database_path() { base 80 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::MessageLoopProxy::current(), base 89 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::Bind(&SyncEngineInitializerTest::DidRunInitializer, base 90 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::Unretained(this), initializer, &status)); base 92 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::RunLoop().RunUntilIdle(); base 110 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::MessageLoopProxy::current(), base 114 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::RunLoop().RunUntilIdle(); base 131 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::RunLoop().RunUntilIdle(); base 147 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::RunLoop().RunUntilIdle(); base 165 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::RunLoop().RunUntilIdle(); base 198 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::RunLoop().RunUntilIdle(); base 218 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::RunLoop().RunUntilIdle(); base 224 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc base::ScopedTempDir database_dir_; base 33 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::MessageLoop::current()->PostTask( base 34 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc FROM_HERE, base::Bind(callback, status)); base 99 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc public base::SupportsWeakPtr<SyncEngineTest> { base 114 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::MessageLoopProxy::current(), base 123 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 129 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 152 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::ScopedTempDir profile_dir_; base 168 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 174 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 180 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 189 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 203 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc .SetID(base::StringPrintf("app_%d", i)) base 210 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 230 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 248 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 253 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 264 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 278 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&EmptyTask, SYNC_STATUS_AUTHENTICATION_FAILED), base 280 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 287 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&EmptyTask, SYNC_STATUS_ACCESS_FORBIDDEN), base 289 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 296 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&EmptyTask, SYNC_STATUS_SERVICE_TEMPORARILY_UNAVAILABLE), base 298 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 305 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&EmptyTask, SYNC_STATUS_NETWORK_ERROR), base 307 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 314 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&EmptyTask, SYNC_STATUS_ABORT), base 316 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 323 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&EmptyTask, SYNC_STATUS_FAILED), base 325 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 332 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&EmptyTask, SYNC_DATABASE_ERROR_CORRUPTION), base 334 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 341 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&EmptyTask, SYNC_DATABASE_ERROR_IO_ERROR), base 343 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 350 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&EmptyTask, SYNC_DATABASE_ERROR_FAILED), base 352 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 361 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 370 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::Bind(&SyncEngineTest::CheckServiceState, base 375 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc base::RunLoop().RunUntilIdle(); base 17 chrome/browser/sync_file_system/drive_backend/sync_task.cc void CallRunExclusive(const base::WeakPtr<ExclusiveTask>& task, base 34 chrome/browser/sync_file_system/drive_backend/sync_task.cc base::Bind(&CallRunExclusive, weak_ptr_factory_.GetWeakPtr())); base 45 chrome/browser/sync_file_system/drive_backend/sync_task.h base::WeakPtrFactory<ExclusiveTask> weak_ptr_factory_; base 40 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc const base::Closure& task, Priority pri, int seq) base 54 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc base::WeakPtr<Client> client, base 92 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc base::Bind(&SyncTaskManager::ScheduleSyncTask, AsWeakPtr(), from_here, base 93 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc base::Passed(&task), priority, callback), base 207 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc base::Bind(&SyncTaskManager::MoveTaskToBackground, base 208 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc base::Passed(&token), base::Passed(&blocking_factor), base 246 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc const base::Closure& closure, Priority priority) { base 259 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc base::Closure closure = pending_backgrounding_task_; base 266 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc base::Closure closure = pending_tasks_.top().task; base 34 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h : public base::NonThreadSafe, base 35 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h public base::SupportsWeakPtr<SyncTaskManager> { base 37 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h typedef base::Callback<void(const SyncStatusCallback& callback)> Task; base 38 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h typedef base::Callback<void(scoped_ptr<SyncTaskToken> token)> Continuation; base 61 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h SyncTaskManager(base::WeakPtr<Client> client, base 99 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h base::Closure task; base 104 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h PendingTask(const base::Closure& task, Priority pri, int seq); base 138 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h void PushPendingTask(const base::Closure& closure, Priority priority); base 145 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h base::WeakPtr<Client> client_; base 152 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h base::ScopedPtrHashMap<int64, SyncTask> running_background_task_; base 157 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h base::Closure pending_backgrounding_task_; base 16 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::FilePath(fileapi::VirtualPath::GetNormalizedFilePath( \ base 17 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::FilePath(FILE_PATH_LITERAL(path)))) base 26 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop::current()->PostTask( base 27 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc FROM_HERE, base::Bind(callback, status)); base 50 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc public base::SupportsWeakPtr<TaskManagerClient> { base 78 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&TaskManagerClient::DoTask, AsWeakPtr(), base 87 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&TaskManagerClient::DoTask, AsWeakPtr(), base 108 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop::current()->PostTask( base 109 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc FROM_HERE, base::Bind(callback, status_to_return)); base 139 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop::current()->PostTask( base 140 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc FROM_HERE, base::Bind(&MultihopSyncTask::CompleteTask, base 154 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::WeakPtrFactory<MultihopSyncTask> weak_ptr_factory_; base 173 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc const base::FilePath& path, base 191 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&BackgroundTask::RunAsBackgroundTask, base 201 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop::current()->PostTask( base 203 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&BackgroundTask::CompleteTask, base 205 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Passed(&token))); base 215 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::FilePath path_; base 218 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::WeakPtrFactory<BackgroundTask> weak_ptr_factory_; base 233 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop message_loop; base 238 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc client.ScheduleTask(kStatus1, base::Bind(&IncrementAndAssign, 0, base 253 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop message_loop; base 258 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc client.ScheduleTask(kStatus1, base::Bind(&IncrementAndAssign, 0, base 261 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc client.ScheduleTask(kStatus2, base::Bind(&IncrementAndAssign, 1, base 276 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop message_loop; base 290 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop message_loop; base 295 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc client.ScheduleTask(kStatus1, base::Bind(&IncrementAndAssign, 0, base 312 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop message_loop; base 321 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc SyncTaskManager task_manager(base::WeakPtr<SyncTaskManager::Client>(), base 329 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&IncrementAndAssign, 0, &callback_count, &status)); base 340 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop message_loop; base 341 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc SyncTaskManager task_manager(base::WeakPtr<SyncTaskManager::Client>(), base 356 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&DumbTask, kStatus1), base 358 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&IncrementAndAssign, 0, &callback_count, &callback_status1)); base 363 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&DumbTask, kStatus2), base 365 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&IncrementAndAssign, 4, &callback_count, &callback_status2)); base 370 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&DumbTask, kStatus3), base 372 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&IncrementAndAssign, 1, &callback_count, &callback_status3)); base 377 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&DumbTask, kStatus4), base 379 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&IncrementAndAssign, 3, &callback_count, &callback_status4)); base 384 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&DumbTask, kStatus5), base 386 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Bind(&IncrementAndAssign, 2, &callback_count, &callback_status5)); base 399 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop message_loop; base 400 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc SyncTaskManager task_manager(base::WeakPtr<SyncTaskManager::Client>(), base 439 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop message_loop; base 440 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc SyncTaskManager task_manager(base::WeakPtr<SyncTaskManager::Client>(), base 479 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::MessageLoop message_loop; base 480 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc SyncTaskManager task_manager(base::WeakPtr<SyncTaskManager::Client>(), base 19 chrome/browser/sync_file_system/drive_backend/sync_task_token.cc const base::WeakPtr<SyncTaskManager>& manager) { base 28 chrome/browser/sync_file_system/drive_backend/sync_task_token.cc const base::WeakPtr<SyncTaskManager>& manager, base 66 chrome/browser/sync_file_system/drive_backend/sync_task_token.cc return base::Bind(&SyncTaskManager::NotifyTaskDone, base::Passed(&token)); base 77 chrome/browser/sync_file_system/drive_backend/sync_task_token.cc SyncTaskToken::SyncTaskToken(const base::WeakPtr<SyncTaskManager>& manager, base 28 chrome/browser/sync_file_system/drive_backend/sync_task_token.h const base::WeakPtr<SyncTaskManager>& manager); base 30 chrome/browser/sync_file_system/drive_backend/sync_task_token.h const base::WeakPtr<SyncTaskManager>& manager, base 53 chrome/browser/sync_file_system/drive_backend/sync_task_token.h SyncTaskToken(const base::WeakPtr<SyncTaskManager>& manager, base 57 chrome/browser/sync_file_system/drive_backend/sync_task_token.h base::WeakPtr<SyncTaskManager> manager_; base 45 chrome/browser/sync_file_system/drive_backend/task_dependency_manager.cc bool InsertPaths(std::vector<base::FilePath> paths_to_insert, base 47 chrome/browser/sync_file_system/drive_backend/task_dependency_manager.cc typedef std::vector<base::FilePath>::const_iterator iterator; base 23 chrome/browser/sync_file_system/drive_backend/task_dependency_manager.h std::vector<base::FilePath> paths; base 17 chrome/browser/sync_file_system/drive_backend/task_dependency_manager_unittest.cc base::FilePath MakePath(const base::FilePath::StringType& path) { base 18 chrome/browser/sync_file_system/drive_backend/task_dependency_manager_unittest.cc return base::FilePath(path).NormalizePathSeparators(); base 23 chrome/browser/sync_file_system/drive_backend/task_dependency_manager_unittest.cc const base::FilePath::StringType& path) { base 32 chrome/browser/sync_file_system/drive_backend/task_dependency_manager_unittest.cc const base::FilePath::StringType& path) { base 39 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_FAILED)); base 54 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 71 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc base::Bind(&UninstallAppTask::DidDeleteAppRoot, base 59 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.h base::WeakPtrFactory<UninstallAppTask> weak_ptr_factory_; base 133 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::FilePath::StringType extension = base 134 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::FilePath::FromUTF8Unsafe(title).Extension(); base 142 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc bool CreateTemporaryFile(const base::FilePath& dir_path, base 144 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::FilePath temp_file_path; base 145 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc const bool success = base::CreateDirectory(dir_path) && base 146 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::CreateTemporaryFileInDir(dir_path, &temp_file_path); base 152 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::MessageLoopProxy::current().get()); base 159 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc const base::FilePath& temp_dir_path) base 165 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::SequencedWorkerPool* blocking_pool = base 167 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc scoped_refptr<base::SequencedTaskRunner> task_runner( base 189 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc const base::FilePath& temp_dir_path, base 199 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc APIUtil::APIUtil(const base::FilePath& temp_dir_path, base 235 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetDriveRootResourceId, AsWeakPtr(), callback)); base 262 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetDriveRootResourceIdForGetSyncRoot, base 271 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetDirectory, base 300 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetDirectory, base 339 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidCreateDirectory, base 378 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidEnsureUniquenessForCreateDirectory, base 421 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetLargestChangeStamp, AsWeakPtr(), callback)); base 431 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetResourceEntry, AsWeakPtr(), callback)); base 464 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetResourceList, AsWeakPtr(), callback)); base 483 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetResourceList, AsWeakPtr(), callback)); base 493 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetResourceList, AsWeakPtr(), callback)); base 507 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&CreateTemporaryFile, temp_dir_path_, temp_file_ptr), base 508 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetTemporaryFileForDownload, base 510 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Passed(&temp_file), callback)); base 514 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc const base::FilePath& local_file_path, base 524 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidUploadNewFile, base 535 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&UploadResultAdapter, did_upload_callback), base 541 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc const base::FilePath& local_file_path, base 547 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetResourceEntry, base 549 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::UploadExistingFileInternal, base 568 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidCreateDirectory, base 585 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetResourceEntry, base 587 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DeleteFileInternal, base 597 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidDeleteFile, AsWeakPtr(), callback)); base 607 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetDriveRootResourceIdForEnsureSyncRoot, base 616 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&EmptyGDataErrorCodeCallback)); base 727 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc callback.Run(google_apis::GDATA_FILE_ERROR, std::string(), 0, base::Time(), base 733 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidGetResourceEntry, base 735 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DownloadFileInternal, base 738 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Passed(&local_file), base 752 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc callback.Run(error, std::string(), 0, base::Time(), local_file->Pass()); base 770 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc const base::FilePath& local_file_path = local_file->path(); base 773 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidDownloadFile, base 775 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Passed(&entry), base 776 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Passed(&local_file), base 786 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc const base::FilePath& downloaded_file_path) { base 815 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidEnsureUniquenessForCreateFile, base 868 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc const base::FilePath& local_file_path, base 894 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidUploadExistingFile, AsWeakPtr(), upload_key); base 900 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&UploadResultAdapter, did_upload_callback), base 951 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidDeleteFile, AsWeakPtr(), callback)); base 972 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidListEntriesToEnsureUniqueness, base 1036 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&EntryAdapterForEnsureTitleUniqueness, base 1037 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Passed(&earliest_entry), base 1070 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Bind(&APIUtil::DidDeleteEntriesForEnsuringTitleUniqueness, base 1072 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc base::Passed(&entries), base 34 chrome/browser/sync_file_system/drive_backend_v1/api_util.h public base::NonThreadSafe, base 35 chrome/browser/sync_file_system/drive_backend_v1/api_util.h public base::SupportsWeakPtr<APIUtil> { base 43 chrome/browser/sync_file_system/drive_backend_v1/api_util.h typedef base::Callback<void(google_apis::GDataErrorCode, base 48 chrome/browser/sync_file_system/drive_backend_v1/api_util.h APIUtil(Profile* profile, const base::FilePath& temp_dir_path); base 55 chrome/browser/sync_file_system/drive_backend_v1/api_util.h const base::FilePath& temp_dir_path, base 80 chrome/browser/sync_file_system/drive_backend_v1/api_util.h const base::FilePath& local_file_path, base 85 chrome/browser/sync_file_system/drive_backend_v1/api_util.h const base::FilePath& local_file_path, base 115 chrome/browser/sync_file_system/drive_backend_v1/api_util.h APIUtil(const base::FilePath& temp_dir_path, base 186 chrome/browser/sync_file_system/drive_backend_v1/api_util.h const base::FilePath& downloaded_file_path); base 202 chrome/browser/sync_file_system/drive_backend_v1/api_util.h const base::FilePath& local_file_path, base 251 chrome/browser/sync_file_system/drive_backend_v1/api_util.h base::FilePath temp_dir_path_; base 17 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h namespace base { base 48 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h typedef base::Callback<void(google_apis::GDataErrorCode error)> base 50 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h typedef base::Callback<void(google_apis::GDataErrorCode error, base 53 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h const base::Time& last_updated, base 56 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h typedef base::Callback<void(google_apis::GDataErrorCode error, base 59 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h typedef base::Callback< base 62 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h typedef base::Callback<void(google_apis::GDataErrorCode error, base 64 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h typedef base::Callback<void(google_apis::GDataErrorCode error, base 67 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h typedef base::Callback<void(google_apis::GDataErrorCode error, base 145 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h const base::FilePath& local_file_path, base 157 chrome/browser/sync_file_system/drive_backend_v1/api_util_interface.h const base::FilePath& local_file_path, base 172 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::ScopedTempDir temp_dir_; base 211 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc const base::Time& updated_time, base 214 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc ASSERT_TRUE(base::PathExists(file.path())); base 240 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceID, &output)); base 241 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 250 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceID, &output)); base 251 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 267 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceID, &output)); base 268 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 288 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceID, &output)); base 289 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 302 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceID, &output)); base 303 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 322 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceID, &output)); base 323 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 338 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetLargestChangeStamp, &output)); base 339 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 354 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc std::string file_content = base::StringPrintf("test content %d", i); base 355 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc std::string file_title = base::StringPrintf("test_%d.txt", i); base 363 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceList, &error, &document_feed)); base 364 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 377 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceList, &error, &document_feed)); base 378 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 396 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc std::string file_content = base::StringPrintf("test content %d", i); base 397 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc std::string file_title = base::StringPrintf("test_%d.txt", i); base 405 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceList, &error, &document_feed)); base 406 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 415 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceList, &error, &document_feed)); base 416 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 436 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidDownloadFile, &output)); base 437 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 458 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidDownloadFile, &output)); base 459 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 467 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc const base::FilePath kLocalFilePath(FPL("/tmp/dir/file")); base 476 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidUploadFile, &output)); base 477 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 490 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc const base::FilePath kLocalFilePath(FPL("/tmp/dir/file")); base 501 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidUploadFile, &output)); base 502 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 516 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc const base::FilePath kLocalFilePath(FPL("/tmp/dir/file")); base 530 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidUploadFile, &output)); base 531 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 543 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc const base::FilePath kLocalFilePath(FPL("/tmp/dir/file")); base 561 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidUploadFile, &output)); base 562 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 586 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidDeleteFile, &error)); base 587 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 610 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidDeleteFile, &error)); base 611 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 631 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::Bind(&DidGetResourceID, &output)); base 632 chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 53 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc const base::FilePath::CharType kTempDirName[] = FILE_PATH_LITERAL("tmp"); base 98 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc SyncStatusCallback callback = base::Bind( base 115 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc const base::FilePath& base_dir, base 122 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc SyncStatusCallback callback = base::Bind( base 157 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DoRegisterOrigin, AsWeakPtr(), origin), base 168 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DoEnableOrigin, AsWeakPtr(), origin), base 179 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DoDisableOrigin, AsWeakPtr(), origin), base 191 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DoUninstallOrigin, AsWeakPtr(), base 201 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DoProcessRemoteChange, AsWeakPtr(), base 204 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&EmptyStatusCallback)); base 254 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc scoped_ptr<base::ListValue> DriveFileSyncService::DumpFiles( base 259 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc scoped_ptr<base::ListValue> DriveFileSyncService::DumpDatabase() { base 261 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc return scoped_ptr<base::ListValue>(); base 307 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DoGetRemoteVersions, AsWeakPtr(), base 310 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&EmptyStatusCallback)); base 319 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DoDownloadRemoteVersion, AsWeakPtr(), base 322 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&EmptyStatusCallback)); base 330 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc const base::FilePath& local_file_path, base 336 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DoApplyLocalChange, AsWeakPtr(), base 399 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DidInitializeMetadataStore, base 405 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc const base::FilePath& base_dir, base 418 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::MessageLoopProxy::current()->PostTask( base 420 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DidInitializeMetadataStore, base 453 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc metadata_store_->DeleteEntry(url, base::Bind(&EmptyStatusCallback)); base 550 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc origin, base::Bind(&DriveFileSyncService::DidGetDriveDirectoryForOrigin, base 630 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DidUninstallOrigin, base 641 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc SyncStatusCallback callback = base::Bind( base 668 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc const base::FilePath& local_file_path, base 688 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc running_local_sync_task_->Run(base::Bind( base 697 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&RemoteVersionsCallbackAdapter, base 711 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind( base 748 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DownloadVersionCallbackAdapter, base 760 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DidDownloadVersion, AsWeakPtr(), base 769 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc const base::Time& last_updated, base 798 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&EmptyStatusCallback)); base 802 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc metadata_store_->DisableOrigin(origin, base::Bind(&EmptyStatusCallback)); base 808 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc metadata_store_->EnableOrigin(origin, base::Bind(&EmptyStatusCallback)); base 829 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DidGetLargestChangeStampForBatchSync, base 848 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc origin, base::Bind( base 898 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&EmptyStatusCallback)); base 903 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DidGetDirectoryContentForBatchSync, base 954 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::FilePath path = TitleToPath(entry.title()); base 961 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&EmptyStatusCallback)); base 970 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DidGetDirectoryContentForBatchSync, base 1008 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::FilePath path = TitleToPath(entry.title()); base 1028 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc const base::FilePath& path, base 1037 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Time(), // updated_time base 1043 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc const base::FilePath& path, base 1048 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc const base::Time& updated_time, base 1055 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::FilePath::StringType normalized_path = base 1123 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&EmptyStatusCallback)); base 1158 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc url, *drive_metadata, base::Bind( base 1196 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::StartBatchSync, AsWeakPtr()), base 1206 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::FetchChangesForIncrementalSync, base 1246 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc std::string DriveFileSyncService::PathToTitle(const base::FilePath& path) { base 1251 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::FilePath(fileapi::VirtualPath::GetNormalizedFilePath(path))); base 1255 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::FilePath DriveFileSyncService::TitleToPath(const std::string& title) { base 1257 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc return base::FilePath::FromUTF8Unsafe(title); base 1303 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DidFetchChangesForIncrementalSync, base 1430 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc api_util_->GetDriveDirectoryForSyncRoot(base::Bind( base 1453 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc EnsureSyncRootDirectory(base::Bind( base 1471 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc base::Bind(&DriveFileSyncService::DidEnsureOriginRoot, base 63 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h public base::NonThreadSafe, base 64 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h public base::SupportsWeakPtr<DriveFileSyncService>, base 67 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h typedef base::Callback<void(const SyncStatusCallback& callback)> Task; base 82 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h const base::FilePath& base_dir, base 105 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h virtual scoped_ptr<base::ListValue> DumpFiles(const GURL& origin) OVERRIDE; base 106 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h virtual scoped_ptr<base::ListValue> DumpDatabase() OVERRIDE; base 129 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h const base::FilePath& local_file_path, base 148 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h static std::string PathToTitle(const base::FilePath& path); base 149 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h static base::FilePath TitleToPath(const std::string& title); base 166 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h typedef base::Callback< base 176 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h const base::FilePath& base_dir, base 212 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h const base::FilePath& local_file_path, base 236 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h const base::Time& last_updated, base 276 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h const base::FilePath& path, base 281 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h const base::FilePath& path, base 286 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h const base::Time& updated_time, base 305 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h base::FilePath temporary_file_dir_; base 89 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc const base::FilePath::StringType& extension_name) { base 91 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::FilePath(extension_name)); base 106 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::FilePath path = base::FilePath::FromUTF8Unsafe(extension_name); base 118 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, arg2); base 122 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::MessageLoopProxy::current()->PostTask( base 124 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::Bind(arg1, base 131 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::MessageLoopProxy::current()->PostTask( base 133 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::Bind(arg1, base 135 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc SyncFileMetadata(SYNC_FILE_TYPE_UNKNOWN, 0, base::Time()), base 140 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::MessageLoopProxy::current()->PostTask( base 142 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::Bind(arg1, base 144 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc SyncFileMetadata(SYNC_FILE_TYPE_FILE, 0, base::Time()), base 149 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::MessageLoopProxy::current()->PostTask( base 150 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc FROM_HERE, base::Bind(arg3, SYNC_STATUS_OK)); base 185 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 196 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc fake_drive_service_, base::MessageLoopProxy::current().get()); base 208 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::MessageLoopProxy::current().get())); base 211 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc metadata_store_->Initialize(base::Bind(&DidInitialize, &done)); base 212 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 232 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 249 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 272 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 313 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc origin, base::FilePath::FromUTF8Unsafe(filename)); base 335 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 352 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc const base::FilePath& path, base 359 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc changestamp, remote_file_md5, base::Time(), base 402 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 458 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 486 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 506 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 529 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 674 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc const base::FilePath kFilePath(FPL("File 1.txt")); base 761 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 774 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc base::RunLoop().RunUntilIdle(); base 779 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc EXPECT_TRUE(base::ReadFileToString(downloaded.path(), &downloaded_content)); base 81 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc fake_drive_service_, base::MessageLoopProxy::current().get()); base 91 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc base::MessageLoopProxy::current().get())); base 152 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system->OpenFileSystem()); base 164 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc const base::FilePath& path, base 168 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_systems_[origin]->CreateFile(url)); base 175 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc const base::FilePath& path, base 184 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc void RemoveLocal(const GURL& origin, const base::FilePath& path) { base 186 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 271 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc origin, base::FilePath(), base 291 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc origin, base::FilePath(), base 297 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc const base::FilePath& path, base 317 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 347 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc const base::FilePath& path, base 354 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 359 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 361 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 398 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc AddOrUpdateLocalFile(kOrigin, base::FilePath(FPL("file")), "abcde"); base 431 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc const base::FilePath kPath(FPL("file")); base 447 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc const base::FilePath kPath(FPL("file")); base 479 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc const base::FilePath kPath(FPL("file")); base 495 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc const base::FilePath kPath(FPL("file")); base 67 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base_dir_, base::MessageLoopProxy::current().get()); base 69 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc metadata_store_->Initialize(base::Bind(&DidInitialize, &done)); base 70 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::RunLoop().RunUntilIdle(); base 79 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::RunLoop().RunUntilIdle(); base 86 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::RunLoop().RunUntilIdle(); base 88 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base_dir_ = base::FilePath(); base 118 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc metadata_store()->DisableOrigin(origin, base::Bind(&ExpectOkStatus)); base 147 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::ScopedTempDir scoped_base_dir_; base 151 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::FilePath base_dir_; base 182 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::Bind(&ExpectEqStatus, &done, SYNC_STATUS_OK)); base 183 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::RunLoop().RunUntilIdle(); base 212 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::Bind(&ExpectEqStatus, &done, SYNC_STATUS_OK)); base 213 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::RunLoop().RunUntilIdle(); base 235 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::Bind(&ExpectEqStatus, &done, SYNC_STATUS_OK)); base 236 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::RunLoop().RunUntilIdle(); base 255 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc sync_service()->DisableOrigin(origin, base::Bind(&ExpectOkStatus)); base 256 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::RunLoop().RunUntilIdle(); base 268 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc sync_service()->DisableOrigin(origin, base::Bind(&ExpectOkStatus)); base 269 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::RunLoop().RunUntilIdle(); base 277 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc metadata_store()->DisableOrigin(origin, base::Bind(&ExpectOkStatus)); base 284 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc sync_service()->EnableOrigin(origin, base::Bind(&ExpectOkStatus)); base 285 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc base::RunLoop().RunUntilIdle(); base 43 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc const base::FilePath::CharType DriveMetadataStore::kDatabaseName[] = base 87 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc const base::FilePath& path) { base 98 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::FilePath* path) { base 102 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc *path = base::FilePath::FromUTF8Unsafe( base 129 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::DB> OpenDatabase(const base::FilePath& path, base 157 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Int64ToString(kCurrentDatabaseVersion))); base 167 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc if (!base::StringToInt64(value, &version)) base 202 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc bool success = base::StringToInt64(itr->value().ToString(), base 218 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::FilePath path; base 266 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<DBContents> LoadDBContents(const base::FilePath& db_path) { base 360 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc const base::FilePath& base_dir, base 361 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::SequencedTaskRunner* file_task_runner) base 376 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::PostTaskAndReplyWithResult( base 378 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Bind(&LoadDBContents, base_dir_.Append(kDatabaseName)), base 379 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Bind(&DriveMetadataStore::DidInitialize, AsWeakPtr(), callback)); base 416 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc batch->Put(kChangeStampKey, base::Int64ToString(largest_changestamp)); base 462 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 473 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 509 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Bind(&DriveMetadataStore::UpdateDBStatus, AsWeakPtr())); base 521 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Bind(&DriveMetadataStore::UpdateDBStatus, base 549 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Bind(&DriveMetadataStore::UpdateDBStatus, AsWeakPtr())); base 574 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 599 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 622 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_NOT_FOUND)); base 641 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc RunSoon(FROM_HERE, base::Bind(callback, SYNC_DATABASE_ERROR_FAILED)); base 646 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::PostTaskAndReplyWithResult( base 649 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Bind(&leveldb::DB::Write, base 650 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Unretained(db_.get()), base 652 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Owned(batch.release())), base 653 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Bind(&DriveMetadataStore::UpdateDBStatusAndInvokeCallback, base 769 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<base::ListValue> DriveMetadataStore::DumpFiles(const GURL& origin) { base 772 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<base::ListValue> files(new base::ListValue); base 776 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc return make_scoped_ptr(new base::ListValue); base 784 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::DictionaryValue* file = new base::DictionaryValue; base 789 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::DictionaryValue* details = new base::DictionaryValue; base 23 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h namespace base { base 43 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h : public base::NonThreadSafe, base 44 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h public base::SupportsWeakPtr<DriveMetadataStore> { base 48 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h typedef std::map<base::FilePath, DriveMetadata> PathToMetadata; base 52 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h typedef base::Callback<void(SyncStatusCode status, bool created)> base 55 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h static const base::FilePath::CharType kDatabaseName[]; base 57 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h DriveMetadataStore(const base::FilePath& base_dir, base 58 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h base::SequencedTaskRunner* file_task_runner); base 152 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h scoped_ptr<base::ListValue> DumpFiles(const GURL& origin); base 166 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 167 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h base::FilePath base_dir_; base 42 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc fileapi::FileSystemURL URL(const base::FilePath& path) { base 83 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc file_thread_.reset(new base::Thread("Thread_File")); base 86 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc ui_task_runner_ = base::MessageLoopProxy::current(); base 113 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Bind(&DriveMetadataStoreTest::DidInitializeDatabase, base 114 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Unretained(this), base 139 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc origin, base::Bind(&DriveMetadataStoreTest::DidFinishDBTask, base 140 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Unretained(this), &status)); base 148 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc origin, base::Bind(&DriveMetadataStoreTest::DidFinishDBTask, base 149 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Unretained(this), &status)); base 157 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc url, base::Bind(&DriveMetadataStoreTest::DidFinishDBTask, base 158 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Unretained(this), &status)); base 168 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Bind(&DriveMetadataStoreTest::DidFinishDBTask, base 169 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Unretained(this), &status)); base 178 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Bind(&DriveMetadataStoreTest::DidFinishDBTask, base 179 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Unretained(this), &status)); base 187 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc changestamp, base::Bind(&DriveMetadataStoreTest::DidFinishDBTask, base 188 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::Unretained(this), &status)); base 285 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::ScopedTempDir base_dir_; base 287 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::MessageLoop message_loop_; base 288 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc scoped_ptr<base::Thread> file_thread_; base 290 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 291 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 303 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc const fileapi::FileSystemURL url = URL(base::FilePath()); base 341 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc const base::FilePath path1(FPL("file1")); base 342 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc const base::FilePath path2(FPL("file2")); base 343 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc const base::FilePath path3(FPL("file3")); base 376 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc const base::FilePath path1(FPL("file1")); base 377 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc const base::FilePath path2(FPL("file2")); base 378 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc const base::FilePath path3(FPL("file3")); base 489 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc CreateSyncableFileSystemURL(kOrigin1, base::FilePath(FPL("guf"))), base 493 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc CreateSyncableFileSystemURL(kOrigin2, base::FilePath(FPL("mof"))), base 497 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc CreateSyncableFileSystemURL(kOrigin3, base::FilePath(FPL("waf"))), base 585 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc const base::FilePath file_path = base::FilePath(FPL("file_0")); base 586 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc const base::FilePath folder_path = base::FilePath(FPL("folder_0")); base 606 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc scoped_ptr<base::ListValue> files = metadata_store()->DumpFiles(origin); base 609 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc base::DictionaryValue* file = NULL; base 81 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::MessageLoopProxy::current()->PostTask( base 83 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::Bind(callback, base 92 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::MessageLoopProxy::current()->PostTask( base 94 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::Bind(callback, base 100 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::MessageLoopProxy::current()->PostTask( base 102 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::Bind(callback, google_apis::HTTP_SUCCESS, largest_changestamp_)); base 136 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::MessageLoopProxy::current()->PostTask( base 138 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::Bind( base 139 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc callback, google_apis::HTTP_SUCCESS, base::Passed(&change_feed))); base 154 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::Time updated_time; base 167 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::MessageLoopProxy::current()->PostTask( base 169 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::Bind(callback, error, file_md5, file_size, updated_time, base 170 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::Passed(&dummy))); base 174 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc const base::FilePath& local_file_path, base 182 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc const base::FilePath& local_file_path, base 199 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::MessageLoopProxy::current()->PostTask( base 201 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::Bind(callback, google_apis::HTTP_NOT_FOUND)); base 214 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::MessageLoopProxy::current()->PostTask( base 216 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc base::Bind(callback, google_apis::HTTP_SUCCESS)); base 84 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.h const base::FilePath& local_file_path, base 89 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.h const base::FilePath& local_file_path, base 26 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util_unittest.cc const base::Time& updated_time, base 48 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util_unittest.cc base::MessageLoop message_loop; base 101 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util_unittest.cc base::Bind(DidDownloadFile, &error, &md5)); base 107 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util_unittest.cc api_util.ListChanges(0, base::Bind(&DidGetChangeList, &error, &change_list)); base 120 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util_unittest.cc base::MessageLoop message_loop; base 133 chrome/browser/sync_file_system/drive_backend_v1/fake_api_util_unittest.cc resource_id, std::string(), base::Bind(&DidDeleteFile, &error)); base 21 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc const base::FilePath& local_path, base 49 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidGetOriginRoot, base 115 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc DeleteMetadata(base::Bind( base 133 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidUploadNewFile, base 146 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidApplyLocalChange, base 168 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidCreateDirectory, base 181 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidApplyLocalChange, base 212 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidUploadExistingFile, base 226 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidApplyLocalChange, base 268 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidDelete, base 280 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc DeleteMetadata(base::Bind( base 293 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc DeleteMetadata(base::Bind( base 327 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind( base 361 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidResolveToRemote, base 465 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind( base 482 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Time local_modification_time = local_metadata_.last_modified; base 483 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Time remote_modification_time = entry->updated_time(); base 523 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc base::Bind(&LocalSyncDelegate::DidMarkConflict, base 545 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.cc ResetMetadataForStartOver(base::Bind(&LocalSyncDelegate::StartOver, base 38 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.h const base::FilePath& local_file_path, base 129 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.h base::FilePath local_path_; base 138 chrome/browser/sync_file_system/drive_backend_v1/local_sync_delegate.h base::WeakPtrFactory<LocalSyncDelegate> weak_factory_; base 36 chrome/browser/sync_file_system/drive_backend_v1/remote_change_handler.cc const base::Time& updated_time, base 65 chrome/browser/sync_file_system/drive_backend_v1/remote_change_handler.cc const base::FilePath::StringType& normalized_path = base 93 chrome/browser/sync_file_system/drive_backend_v1/remote_change_handler.cc base::FilePath::StringType normalized_path = base 28 chrome/browser/sync_file_system/drive_backend_v1/remote_change_handler.h base::Time updated_time; base 36 chrome/browser/sync_file_system/drive_backend_v1/remote_change_handler.h const base::Time& updated_time, base 98 chrome/browser/sync_file_system/drive_backend_v1/remote_change_handler.h typedef std::map<base::FilePath::StringType, ChangeMapItem> PathToChangeMap; base 44 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::DidPrepareForProcessRemoteChange, base 150 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::DidApplyRemoteChange, AsWeakPtr(), base 178 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::CompleteSync, base 185 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::CompleteSync, AsWeakPtr(), callback)); base 198 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::DidDownloadFile, base 208 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc const base::Time& updated_time, base 234 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::DidApplyRemoteChange, base 261 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind( base 294 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::StartOver, AsWeakPtr(), callback)); base 302 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::CompleteSync, AsWeakPtr(), callback)); base 335 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::DidResolveToLocal, base 351 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::CompleteSync, base 361 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::CompleteSync, base 372 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::DidResolveToRemote, base 419 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&EmptyStatusCallback)); base 426 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::DidFinish, AsWeakPtr(), callback)); base 448 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.cc base::Bind(&RemoteSyncDelegate::DispatchCallbackAfterDidFinish, base 36 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.h class RemoteSyncDelegate : public base::SupportsWeakPtr<RemoteSyncDelegate> { base 63 chrome/browser/sync_file_system/drive_backend_v1/remote_sync_delegate.h const base::Time& updated_time, base 34 chrome/browser/sync_file_system/fake_remote_change_processor.cc SYNC_FILE_TYPE_DIRECTORY, 0, base::Time::Now()); base 50 chrome/browser/sync_file_system/fake_remote_change_processor.cc base::Time::Now()); base 59 chrome/browser/sync_file_system/fake_remote_change_processor.cc base::MessageLoopProxy::current()->PostTask( base 61 chrome/browser/sync_file_system/fake_remote_change_processor.cc base::Bind(callback, SYNC_STATUS_OK, base 67 chrome/browser/sync_file_system/fake_remote_change_processor.cc const base::FilePath& local_path, base 71 chrome/browser/sync_file_system/fake_remote_change_processor.cc base::FilePath ancestor = fileapi::VirtualPath::DirName(url.path()); base 89 chrome/browser/sync_file_system/fake_remote_change_processor.cc base::FilePath ancestor_parent = fileapi::VirtualPath::DirName(ancestor); base 98 chrome/browser/sync_file_system/fake_remote_change_processor.cc base::MessageLoopProxy::current()->PostTask( base 99 chrome/browser/sync_file_system/fake_remote_change_processor.cc FROM_HERE, base::Bind(callback, status)); base 105 chrome/browser/sync_file_system/fake_remote_change_processor.cc const base::Closure& completion_callback) { base 106 chrome/browser/sync_file_system/fake_remote_change_processor.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, completion_callback); base 114 chrome/browser/sync_file_system/fake_remote_change_processor.cc base::MessageLoopProxy::current()->PostTask( base 115 chrome/browser/sync_file_system/fake_remote_change_processor.cc FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 123 chrome/browser/sync_file_system/fake_remote_change_processor.cc change.file_type(), 100 /* size */, base::Time::Now()); base 16 chrome/browser/sync_file_system/fake_remote_change_processor.h namespace base { base 46 chrome/browser/sync_file_system/fake_remote_change_processor.h const base::FilePath& local_path, base 52 chrome/browser/sync_file_system/fake_remote_change_processor.h const base::Closure& completion_callback) OVERRIDE; base 41 chrome/browser/sync_file_system/file_change.cc return base::StringPrintf("%s:%s", change_string, type_string); base 36 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc using base::File; base 49 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc void Quit() { base::MessageLoop::current()->Quit(); } base 52 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc void AssignAndQuit(base::TaskRunner* original_task_runner, base 56 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc original_task_runner->PostTask(FROM_HERE, base::Bind(&Quit)); base 61 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::SingleThreadTaskRunner* task_runner, base 63 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::Callback<void(const base::Callback<void(R)>& callback)>& task) { base 67 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(task, base::Bind(&AssignAndQuit<R>, base 68 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoopProxy::current(), base 70 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoop::current()->Run(); base 74 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc void RunOnThread(base::SingleThreadTaskRunner* task_runner, base 76 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::Closure& task) { base 79 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(base::IgnoreResult( base 80 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&base::MessageLoopProxy::PostTask, base 81 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoopProxy::current(), base 82 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc FROM_HERE, base::Bind(&Quit))))); base 83 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoop::current()->Run(); base 86 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc void EnsureRunningOn(base::SingleThreadTaskRunner* runner) { base 91 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::SingleThreadTaskRunner* runner1, base 92 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::SingleThreadTaskRunner* runner2) { base 96 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&EnsureRunningOn, make_scoped_refptr(runner2))); base 102 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Error result, base 103 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::File::Info& file_info, base 104 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::FilePath& platform_path, base 106 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc if (result != base::File::FILE_OK) { base 112 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const bool read_status = base::ReadFileToString(platform_path, &data); base 119 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Info* file_info_out, base 120 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::FilePath* platform_path_out, base 122 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Error result, base 123 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::File::Info& file_info, base 124 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::FilePath& platform_path, base 137 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Error error, base 156 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::GenerateGUID(), base 162 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, base 169 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc void DidWrite(const base::Callback<void(int64 result)>& completion_callback, base 171 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc if (error == base::File::FILE_OK) { base 176 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc completion_callback.Run(error == base::File::FILE_OK ? base 197 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc void EnsureLastTaskRuns(base::SingleThreadTaskRunner* runner) { base 198 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::RunLoop run_loop; base 200 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc FROM_HERE, base::Bind(&base::DoNothing), run_loop.QuitClosure()); base 209 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::SingleThreadTaskRunner* io_task_runner, base 210 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::SingleThreadTaskRunner* file_task_runner) base 213 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc result_(base::File::FILE_OK), base 236 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoopProxy::current().get(), base 285 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoOpenFileSystem, base 286 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 287 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DidOpenFileSystem, base 288 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 289 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoopProxy::current()))); base 290 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoop::current()->Run(); base 297 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::InitializeSyncStatusObserver, base 298 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this))); base 322 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DidInitializeFileSystemContext, base 323 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this))); base 324 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoop::current()->Run(); base 333 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoCreateDirectory, base 334 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 342 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoCreateFile, base 343 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 352 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoCopy, base 353 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 363 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoMove, base 364 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 374 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoTruncateFile, base 375 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 382 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::Time& last_access_time, base 383 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::Time& last_modified_time) { base 387 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoTouchFile, base 388 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 399 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoRemove, base 400 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 410 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoFileExists, base 411 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 420 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoDirectoryExists, base 421 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 431 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoVerifyFile, base 432 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 439 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Info* info, base 440 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::FilePath* platform_path) { base 444 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoGetMetadataAndPlatformPath, base 445 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 457 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoReadDirectory, base 458 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 469 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoWrite, base 470 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 473 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Passed(&blob_data_handle))); base 480 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoWriteString, base 481 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 491 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&FileSystemContext::DeleteFileSystem, base 502 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DoGetUsageAndQuota, base 503 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 513 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&LocalFileChangeTracker::GetAllChangedURLs, base 514 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(backend()->change_tracker()), base 523 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&LocalFileChangeTracker::ClearChangesForURL, base 524 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(backend()->change_tracker()), base 534 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&LocalFileChangeTracker::GetChangesForURL, base 535 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(backend()->change_tracker()), base 616 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::Time& last_access_time, base 617 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::Time& last_modified_time, base 655 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&OnCreateSnapshotFileAndVerifyData, expected_data, callback)); base 660 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Info* info, base 661 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::FilePath* platform_path, base 666 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc url, base::Bind(&OnCreateSnapshotFile, info, platform_path, callback)); base 676 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc url, base::Bind(&OnReadDirectory, entries, callback)); base 689 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&WriteHelper::DidWrite, base 690 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Owned(helper), callback)); base 704 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&WriteHelper::DidWrite, base 705 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Owned(helper), callback)); base 717 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&DidGetUsageAndQuota, callback, usage, quota)); base 721 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::SingleThreadTaskRunner* original_task_runner, base 733 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Bind(&CannedSyncableFileSystem::DidOpenFileSystem, base 734 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::Unretained(this), base 741 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoop::current()->Quit(); base 747 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::MessageLoop::current()->Quit(); base 26 chrome/browser/sync_file_system/local/canned_syncable_file_system.h namespace base { base 62 chrome/browser/sync_file_system/local/canned_syncable_file_system.h typedef base::Callback<void(const GURL& root, base 64 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error result)> base 66 chrome/browser/sync_file_system/local/canned_syncable_file_system.h typedef base::Callback<void(base::File::Error)> StatusCallback; base 67 chrome/browser/sync_file_system/local/canned_syncable_file_system.h typedef base::Callback<void(int64)> WriteCallback; base 77 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::SingleThreadTaskRunner* io_task_runner, base 78 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::SingleThreadTaskRunner* file_task_runner); base 96 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error OpenFileSystem(); base 119 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error CreateDirectory(const fileapi::FileSystemURL& url); base 120 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error CreateFile(const fileapi::FileSystemURL& url); base 121 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error Copy(const fileapi::FileSystemURL& src_url, base 123 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error Move(const fileapi::FileSystemURL& src_url, base 125 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error TruncateFile(const fileapi::FileSystemURL& url, base 127 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error TouchFile(const fileapi::FileSystemURL& url, base 128 chrome/browser/sync_file_system/local/canned_syncable_file_system.h const base::Time& last_access_time, base 129 chrome/browser/sync_file_system/local/canned_syncable_file_system.h const base::Time& last_modified_time); base 130 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error Remove(const fileapi::FileSystemURL& url, bool recursive); base 131 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error FileExists(const fileapi::FileSystemURL& url); base 132 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error DirectoryExists(const fileapi::FileSystemURL& url); base 133 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error VerifyFile(const fileapi::FileSystemURL& url, base 135 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error GetMetadataAndPlatformPath( base 137 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Info* info, base 138 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::FilePath* platform_path); base 139 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error ReadDirectory(const fileapi::FileSystemURL& url, base 149 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error DeleteFileSystem(); base 184 chrome/browser/sync_file_system/local/canned_syncable_file_system.h const base::Time& last_access_time, base 185 chrome/browser/sync_file_system/local/canned_syncable_file_system.h const base::Time& last_modified_time, base 198 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Info* info, base 199 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::FilePath* platform_path, base 219 chrome/browser/sync_file_system/local/canned_syncable_file_system.h void DidOpenFileSystem(base::SingleThreadTaskRunner* original_task_runner, base 222 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error result); base 227 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::ScopedTempDir data_dir_; base 235 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error result_; base 239 chrome/browser/sync_file_system/local/canned_syncable_file_system.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 240 chrome/browser/sync_file_system/local/canned_syncable_file_system.h scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; base 33 chrome/browser/sync_file_system/local/local_file_change_tracker.cc const base::FilePath::CharType kDatabaseName[] = base 42 chrome/browser/sync_file_system/local/local_file_change_tracker.cc TrackerDB(const base::FilePath& base_path, base 62 chrome/browser/sync_file_system/local/local_file_change_tracker.cc const base::FilePath base_path_; base 76 chrome/browser/sync_file_system/local/local_file_change_tracker.cc const base::FilePath& base_path, base 78 chrome/browser/sync_file_system/local/local_file_change_tracker.cc base::SequencedTaskRunner* file_task_runner) base 294 chrome/browser/sync_file_system/local/local_file_change_tracker.cc base::AutoLock lock(num_changes_lock_); base 344 chrome/browser/sync_file_system/local/local_file_change_tracker.cc base::File::Info file_info; base 345 chrome/browser/sync_file_system/local/local_file_change_tracker.cc base::FilePath platform_path; base 354 chrome/browser/sync_file_system/local/local_file_change_tracker.cc case base::PLATFORM_FILE_OK: { base 368 chrome/browser/sync_file_system/local/local_file_change_tracker.cc base::FilePath path_each; base 375 chrome/browser/sync_file_system/local/local_file_change_tracker.cc case base::PLATFORM_FILE_ERROR_NOT_FOUND: { base 386 chrome/browser/sync_file_system/local/local_file_change_tracker.cc case base::PLATFORM_FILE_ERROR_FAILED: base 431 chrome/browser/sync_file_system/local/local_file_change_tracker.cc LocalFileChangeTracker::TrackerDB::TrackerDB(const base::FilePath& base_path, base 23 chrome/browser/sync_file_system/local/local_file_change_tracker.h namespace base { base 48 chrome/browser/sync_file_system/local/local_file_change_tracker.h LocalFileChangeTracker(const base::FilePath& base_path, base 50 chrome/browser/sync_file_system/local/local_file_change_tracker.h base::SequencedTaskRunner* file_task_runner); base 115 chrome/browser/sync_file_system/local/local_file_change_tracker.h base::AutoLock lock(num_changes_lock_); base 166 chrome/browser/sync_file_system/local/local_file_change_tracker.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 183 chrome/browser/sync_file_system/local/local_file_change_tracker.h mutable base::Lock num_changes_lock_; base 42 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc base::MessageLoopProxy::current().get(), base 43 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc base::MessageLoopProxy::current().get()) {} base 49 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc new LocalFileSyncContext(base::FilePath(), base 51 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc base::MessageLoopProxy::current().get(), base 52 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc base::MessageLoopProxy::current().get()); base 113 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc base::MessageLoopForIO message_loop_; base 124 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); base 239 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); base 257 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 259 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 261 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 263 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 265 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 267 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 308 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); base 323 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 325 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 329 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 331 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 335 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 337 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 339 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 341 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 343 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 384 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); base 408 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 410 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 412 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 414 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 416 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 418 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 438 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 440 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 475 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); base 495 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 497 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 499 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 501 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 503 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 520 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 522 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 569 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); base 582 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 584 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 586 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 588 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 610 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); base 617 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 619 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 621 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 623 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 647 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); base 654 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 656 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 658 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 660 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 44 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::FilePath::CharType kSnapshotDir[] = FILE_PATH_LITERAL("snapshots"); base 49 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::FilePath& base_path, base 51 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::SingleThreadTaskRunner* ui_task_runner, base 52 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::SingleThreadTaskRunner* io_task_runner) base 71 chrome/browser/sync_file_system/local/local_file_sync_context.cc ui_task_runner_->PostTask(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 86 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::InitializeFileSystemContextOnIOThread, base 90 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&fileapi::SandboxFileSystemBackendDelegate::OpenFileSystem, base 91 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Unretained(file_system_context->sandbox_delegate()), base 102 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::ShutdownOnIOThread, this)); base 114 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::GetNextURLsForSyncOnFileThread, base 116 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Unretained(urls)), base 117 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::TryPrepareForLocalSync, base 119 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Owned(urls), callback)); base 125 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::Closure& done_callback) { base 133 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::ClearChangesForURL, base 153 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::Closure& done_callback) { base 160 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::FinalizeSnapshotSync, base 185 chrome/browser/sync_file_system/local/local_file_sync_context.cc FROM_HERE, base::Bind( base 196 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::Closure& done_callback) { base 205 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::FinalizeExclusiveSync, base 213 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::ClearSyncFlagOnIOThread, base 229 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::PrepareForSync, this, base 241 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::DidGetWritingStatusForSync, base 250 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::Closure& on_syncable_callback) { base 256 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::RegisterURLForWaitingSync, base 275 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::FilePath& local_path, base 282 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::ApplyRemoteChange, this, base 317 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::DidApplyRemoteChange, base 325 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::DidApplyRemoteChange, base 332 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::FilePath& local_path, base 339 chrome/browser/sync_file_system/local/local_file_sync_context.cc DidApplyRemoteChange(url, callback, base::File::FILE_OK); base 345 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind( base 358 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::FilePath& local_path, base 361 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error error) { base 376 chrome/browser/sync_file_system/local/local_file_sync_context.cc FileSystemOperation::StatusCallback operation_callback = base::Bind( base 383 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::FilePath dir_path = fileapi::VirtualPath::DirName(url.path()); base 398 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::DidCreateDirectoryForCopyIn, base 429 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::RecordFakeLocalChange, base 444 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(callback, base 457 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::GetFileMetadata, this, base 466 chrome/browser/sync_file_system/local/local_file_sync_context.cc url_for_sync, base::Bind(&LocalFileSyncContext::DidGetFileMetadata, base 481 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::HasPendingLocalChanges, base 496 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(callback, base 511 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::PromoteDemotedChanges, base 525 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::UpdateChangesForOrigin, base 547 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::WeakPtr<SyncableFileOperationRunner> base 552 chrome/browser/sync_file_system/local/local_file_sync_context.cc return base::WeakPtr<SyncableFileOperationRunner>(); base 586 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (base::Time::Now() > last_notified_changes_ + NotifyChangesDuration()) { base 601 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::NotifyAvailableChanges, base 603 chrome/browser/sync_file_system/local/local_file_sync_context.cc last_notified_changes_ = base::Time::Now(); base 627 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error error) { base 630 chrome/browser/sync_file_system/local/local_file_sync_context.cc error = base::File::FILE_ERROR_ABORT; base 631 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (error != base::File::FILE_OK) { base 646 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::PostTaskAndReplyWithResult( base 649 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::InitializeChangeTrackerOnFileThread, base 653 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::DidInitializeChangeTrackerOnIOThread, base 654 chrome/browser/sync_file_system/local/local_file_sync_context.cc this, base::Owned(tracker_ptr), base 657 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Owned(origins_with_changes))); base 664 chrome/browser/sync_file_system/local/local_file_sync_context.cc timer_on_io_.reset(new base::OneShotTimer<LocalFileSyncContext>); base 699 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::CreateDirectory(local_base_path_.Append(kSnapshotDir)); base 731 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::FILE_OK); base 741 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::DidInitialize, base 761 chrome/browser/sync_file_system/local/local_file_sync_context.cc ui_task_runner_->PostTask(FROM_HERE, base::Bind(*iter, status)); base 806 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::DidTryPrepareForLocalSync, base 808 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Owned(remaining), callback)); base 845 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::DidGetWritingStatusForSync, base 858 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::FilePath platform_path; base 859 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Info file_info; base 864 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error file_error = file_util->GetFileInfo( base 872 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (file_error == base::File::FILE_OK && sync_mode == SYNC_SNAPSHOT) { base 873 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::FilePath snapshot_path; base 874 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::CreateTemporaryFileInDir(local_base_path_.Append(kSnapshotDir), base 876 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (base::CopyFile(platform_path, snapshot_path)) { base 886 chrome/browser/sync_file_system/local/local_file_sync_context.cc file_error != base::File::FILE_OK && base 887 chrome/browser/sync_file_system/local/local_file_sync_context.cc file_error != base::File::FILE_ERROR_NOT_FOUND) { base 894 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (file_error == base::File::FILE_ERROR_NOT_FOUND) base 920 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(&LocalFileSyncContext::ClearSyncFlagOnIOThread, base 925 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(callback, status, sync_file_info, base 926 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Passed(&snapshot))); base 961 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error file_error) { base 966 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(callback_on_ui, FileErrorToSyncStatusCode(file_error))); base 971 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error file_error, base 972 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::File::Info& file_info) { base 975 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (file_error == base::File::FILE_OK) { base 983 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::Bind(callback, FileErrorToSyncStatusCode(file_error), metadata)); base 986 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::TimeDelta LocalFileSyncContext::NotifyChangesDuration() { base 988 chrome/browser/sync_file_system/local/local_file_sync_context.cc return base::TimeDelta::FromSeconds(mock_notify_changes_duration_in_sec_); base 989 chrome/browser/sync_file_system/local/local_file_sync_context.cc return base::TimeDelta::FromSeconds(kNotifyChangesDurationInSec); base 994 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::FilePath& local_path, base 997 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error error) { base 998 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (error != base::File::FILE_OK) { base 28 chrome/browser/sync_file_system/local/local_file_sync_context.h namespace base { base 60 chrome/browser/sync_file_system/local/local_file_sync_context.h : public base::RefCountedThreadSafe<LocalFileSyncContext>, base 68 chrome/browser/sync_file_system/local/local_file_sync_context.h typedef base::Callback<void( base 74 chrome/browser/sync_file_system/local/local_file_sync_context.h typedef base::Callback<void(SyncStatusCode status, base 78 chrome/browser/sync_file_system/local/local_file_sync_context.h LocalFileSyncContext(const base::FilePath& base_path, base 80 chrome/browser/sync_file_system/local/local_file_sync_context.h base::SingleThreadTaskRunner* ui_task_runner, base 81 chrome/browser/sync_file_system/local/local_file_sync_context.h base::SingleThreadTaskRunner* io_task_runner); base 108 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::Closure& done_callback); base 120 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::Closure& done_callback); base 128 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::Closure& done_callback); base 160 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::Closure& on_syncable_callback); base 167 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::FilePath& local_path, base 200 chrome/browser/sync_file_system/local/local_file_sync_context.h base::WeakPtr<SyncableFileOperationRunner> operation_runner() const; base 217 chrome/browser/sync_file_system/local/local_file_sync_context.h typedef base::Callback<void(base::File::Error result)> StatusCallback; base 219 chrome/browser/sync_file_system/local/local_file_sync_context.h friend class base::RefCountedThreadSafe<LocalFileSyncContext>; base 243 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error error); base 301 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::FilePath& local_path, base 307 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::FilePath& local_path, base 310 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error error); base 316 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error file_error); base 320 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error file_error, base 321 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::File::Info& file_info); base 323 chrome/browser/sync_file_system/local/local_file_sync_context.h base::TimeDelta NotifyChangesDuration(); base 327 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::FilePath& local_file_path, base 330 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error error); base 332 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::FilePath local_base_path_; base 335 chrome/browser/sync_file_system/local/local_file_sync_context.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 336 chrome/browser/sync_file_system/local/local_file_sync_context.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 361 chrome/browser/sync_file_system/local/local_file_sync_context.h base::Closure url_syncable_callback_; base 364 chrome/browser/sync_file_system/local/local_file_sync_context.h base::Time last_notified_changes_; base 365 chrome/browser/sync_file_system/local/local_file_sync_context.h scoped_ptr<base::OneShotTimer<LocalFileSyncContext> > timer_on_io_; base 60 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc file_error_(base::File::FILE_ERROR_FAILED), base 69 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ui_task_runner_ = base::MessageLoop::current()->message_loop_proxy(); base 94 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Bind(&LocalFileSyncContextTest::DidPrepareForSync, base 95 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Unretained(this), metadata, changes, snapshot)); base 106 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::MessageLoop::current()->Run(); base 110 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Closure GetPrepareForSyncClosure( base 117 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc return base::Bind(&LocalFileSyncContextTest::StartPrepareForSync, base 118 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Unretained(this), base 119 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Unretained(file_system_context), base 136 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::MessageLoop::current()->Quit(); base 141 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc const base::FilePath& local_path, base 159 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Bind(&LocalFileSyncContextTest::DidApplyRemoteChange, base 160 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Unretained(this), base 162 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::MessageLoop::current()->Run(); base 173 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::MessageLoop::QuitClosure()); base 184 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Bind(&LocalFileSyncContextTest::StartModifyFileOnIOThread, base 185 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Unretained(this), file_system, url)); base 189 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc file_error_ = base::File::FILE_ERROR_FAILED; base 191 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc url, 1, base::Bind(&LocalFileSyncContextTest::DidModifyFile, base 192 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Unretained(this))); base 195 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::File::Error WaitUntilModifyFileIsDone() { base 197 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 201 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc void DidModifyFile(base::File::Error error) { base 206 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Bind(&LocalFileSyncContextTest::DidModifyFile, base 207 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Unretained(this), error)); base 222 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Bind(&base::DoNothing)); base 227 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::Bind(&base::DoNothing)); base 244 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); base 247 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile)); base 296 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); base 299 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile)); base 324 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, WaitUntilModifyFileIsDone()); base 326 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 333 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, WaitUntilModifyFileIsDone()); base 350 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::ScopedTempDir dir_; base 356 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 357 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 358 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; base 363 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::File::Error file_error_; base 404 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); base 407 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kURL)); base 441 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system1.OpenFileSystem()); base 442 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.OpenFileSystem()); base 448 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system1.CreateFile(kURL1)); base 462 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.CreateDirectory(kURL2)); base 550 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); base 555 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kURL1)); base 581 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, WaitUntilModifyFileIsDone()); base 585 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::MessageLoop::current()->Run(); base 613 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); base 626 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile)); base 627 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateDirectory(kDir)); base 628 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kChild)); base 653 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc change, base::FilePath(), kFile, base 662 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc change, base::FilePath(), kDir, base 666 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 668 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 670 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 701 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); base 714 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile)); base 715 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateDirectory(kDir)); base 716 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kChild)); base 730 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc change, base::FilePath(), kRoot, base 734 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 736 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 738 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 757 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::ScopedTempDir temp_dir; base 771 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); base 782 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile1)); base 787 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 789 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 800 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc const base::FilePath kFilePath1(temp_dir.path().Append(FPL("file1"))); base 801 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc const base::FilePath kFilePath2(temp_dir.path().Append(FPL("file2"))); base 804 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::WriteFile(kFilePath1, kTestFileData1, base 807 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::WriteFile(kFilePath2, kTestFileData2, base 860 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc change, base::FilePath(), kDir, base 873 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.FileExists(kDir)); base 899 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.FileExists(kFile1)); base 900 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.FileExists(kFile2)); base 901 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.DirectoryExists(kDir)); base 908 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::ScopedTempDir temp_dir; base 922 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); base 929 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file_system.FileExists(kDir)); base 930 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file_system.FileExists(kFile)); base 933 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc const base::FilePath kFilePath(temp_dir.path().Append(FPL("file"))); base 935 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::WriteFile(kFilePath, kTestFileData, base 955 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.FileExists(kFile)); base 956 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.DirectoryExists(kDir)); base 127 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(&LocalFileSyncService::DidInitializeFileSystemContext, base 138 chrome/browser/sync_file_system/local/local_file_sync_service.cc const base::Closure& on_syncable_callback) { base 160 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(&LocalFileSyncService::DidGetFileForLocalSync, base 178 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::MessageLoopProxy::current()->PostTask( base 180 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(callback, SYNC_FILE_ERROR_INVALID_URL, false)); base 236 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(&LocalFileSyncService::DidInitializeForRemoteSync, base 248 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(&PrepareForProcessRemoteChangeCallbackAdapter, callback)); base 253 chrome/browser/sync_file_system/local/local_file_sync_service.cc const base::FilePath& local_path, base 265 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(&LocalFileSyncService::DidApplyRemoteChange, AsWeakPtr(), base 272 chrome/browser/sync_file_system/local/local_file_sync_service.cc const base::Closure& completion_callback) { base 429 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(&LocalFileSyncService::ProcessNextChangeForURL, base 430 chrome/browser/sync_file_system/local/local_file_sync_service.cc AsWeakPtr(), base::Passed(&snapshot), sync_file_info, base 451 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(&LocalFileSyncService::ProcessNextChangeForURL, base 452 chrome/browser/sync_file_system/local/local_file_sync_service.cc AsWeakPtr(), base::Passed(&snapshot), base 468 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(&LocalFileSyncService::RunLocalSyncCallback, base 479 chrome/browser/sync_file_system/local/local_file_sync_service.cc base::Bind(&LocalFileSyncService::ProcessNextChangeForURL, base 480 chrome/browser/sync_file_system/local/local_file_sync_service.cc AsWeakPtr(), base::Passed(&snapshot), sync_file_info, base 49 chrome/browser/sync_file_system/local/local_file_sync_service.h public base::SupportsWeakPtr<LocalFileSyncService> { base 51 chrome/browser/sync_file_system/local/local_file_sync_service.h typedef base::Callback<LocalChangeProcessor*(const GURL& origin)> base 69 chrome/browser/sync_file_system/local/local_file_sync_service.h typedef base::Callback<void(SyncStatusCode status, base 95 chrome/browser/sync_file_system/local/local_file_sync_service.h const base::Closure& on_syncable_callback); base 139 chrome/browser/sync_file_system/local/local_file_sync_service.h const base::FilePath& local_path, base 145 chrome/browser/sync_file_system/local/local_file_sync_service.h const base::Closure& completion_callback) OVERRIDE; base 52 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc const base::Closure& oncompleted, base 67 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc const base::Closure& oncompleted, base 79 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc const base::Closure& oncompleted, base 91 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::MessageLoopProxy::current()->PostTask( base 92 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc FROM_HERE, base::Bind(arg4, status)); base 96 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::MessageLoopProxy::current()->PostTask( base 97 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc FROM_HERE, base::Bind(arg4, status)); base 127 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 136 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->OpenFileSystem()); base 160 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 163 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::Bind(&DidPrepareForProcessRemoteChange, base 172 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc const base::FilePath& local_path, base 176 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 183 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 200 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::ScopedTempDir temp_dir_; base 218 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::FilePath local_path; base 219 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &local_path)); base 221 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::WriteFile(local_path, kTestFileData, kTestFileDataSize)); base 238 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 250 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc ApplyRemoteChange(change, base::FilePath(), kDir)); base 253 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 265 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(SYNC_STATUS_OK, ApplyRemoteChange(change, base::FilePath(), kDir)); base 268 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 278 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); base 282 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateDirectory(kDir)); base 307 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 314 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.OpenFileSystem()); base 323 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile1)); base 324 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile2)); base 325 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.CreateFile(kFile3)); base 326 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.CreateFile(kFile4)); base 338 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 349 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); base 354 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::File::Info info; base 355 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::FilePath platform_path; base 356 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 379 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::Bind(&OnSyncCompleted, FROM_HERE, run_loop.QuitClosure(), base 392 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 402 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); base 403 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->Remove(kFile, false)); base 417 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::Bind(&OnSyncCompleted, FROM_HERE, run_loop.QuitClosure(), base 430 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 438 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateDirectory(kDir)); base 439 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->Remove(kDir, false)); base 446 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::Bind(&OnSyncCompleted, FROM_HERE, run_loop.QuitClosure(), base 460 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 471 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kPath)); base 472 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->Remove(kPath, false)); base 473 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateDirectory(kPath)); base 476 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kOther)); base 493 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::Bind(&OnSyncCompleted, FROM_HERE, run_loop.QuitClosure(), base 513 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc const base::Time kTime = base::Time::FromDoubleT(333); base 516 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 519 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kURL)); base 520 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->TruncateFile(kURL, kSize)); base 521 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 522 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc file_system_->TouchFile(kURL, base::Time(), kTime)); base 528 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::Bind(&OnGetFileMetadata, FROM_HERE, run_loop.QuitClosure(), base 542 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kURL)); base 556 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 575 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::RunLoop run_loop; base 578 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::Bind(&OnSyncCompleted, FROM_HERE, run_loop.QuitClosure(), base 33 chrome/browser/sync_file_system/local/local_file_sync_status.h : public base::NonThreadSafe { base 65 chrome/browser/sync_file_system/local/root_delete_helper.cc base::Bind(&RootDeleteHelper::DidDeleteFileSystem, base 69 chrome/browser/sync_file_system/local/root_delete_helper.cc void RootDeleteHelper::DidDeleteFileSystem(base::File::Error error) { base 81 chrome/browser/sync_file_system/local/root_delete_helper.cc base::Bind(&ResetFileChangeTracker, file_system_context_, url_), base 82 chrome/browser/sync_file_system/local/root_delete_helper.cc base::Bind(&RootDeleteHelper::DidResetFileChangeTracker, base 94 chrome/browser/sync_file_system/local/root_delete_helper.cc base::Bind(&RootDeleteHelper::DidOpenFileSystem, base 100 chrome/browser/sync_file_system/local/root_delete_helper.cc base::File::Error error) { base 33 chrome/browser/sync_file_system/local/root_delete_helper.h typedef base::Callback<void(base::File::Error)> FileStatusCallback; base 44 chrome/browser/sync_file_system/local/root_delete_helper.h void DidDeleteFileSystem(base::File::Error error); base 48 chrome/browser/sync_file_system/local/root_delete_helper.h base::File::Error error); base 57 chrome/browser/sync_file_system/local/root_delete_helper.h base::WeakPtrFactory<RootDeleteHelper> weak_factory_; base 127 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::Bind(&SyncFileSystemBackend::DidInitializeSyncFileSystemService, base 128 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::Unretained(this), base 145 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::File::Error* error_code) { base 147 chrome/browser/sync_file_system/local/sync_file_system_backend.cc *error_code = base::File::FILE_OK; base 155 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::File::Error* error_code) const { base 183 chrome/browser/sync_file_system/local/sync_file_system_backend.cc const base::Time& expected_modification_time, base 252 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::Bind(&SyncFileSystemBackend::InitializeSyncFileSystemService, base 253 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::Unretained(this), origin_url, callback)); base 282 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::Bind(&SyncFileSystemBackend::DidInitializeSyncFileSystemService, base 283 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::Unretained(this), make_scoped_refptr(context), base 296 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::File::FILE_OK); base 41 chrome/browser/sync_file_system/local/sync_file_system_backend.h base::File::Error* error_code) OVERRIDE; base 45 chrome/browser/sync_file_system/local/sync_file_system_backend.h base::File::Error* error_code) const OVERRIDE; base 51 chrome/browser/sync_file_system/local/sync_file_system_backend.h const base::Time& expected_modification_time, base 28 chrome/browser/sync_file_system/local/syncable_file_operation_runner.h : public base::NonThreadSafe, base 29 chrome/browser/sync_file_system/local/syncable_file_operation_runner.h public base::SupportsWeakPtr<SyncableFileOperationRunner>, base 33 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc using base::File; base 56 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoopProxy::current().get(), base 57 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoopProxy::current().get()), base 72 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoopProxy::current().get(), base 73 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoopProxy::current().get()); base 109 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc return base::Bind(&SyncableFileOperationRunnerTest::DidFinish, base 115 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc return base::Bind(&SyncableFileOperationRunnerTest::DidWrite, base 135 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc bool CreateTempFile(base::FilePath* path) { base 136 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc return base::CreateTemporaryFileInDir(dir_.path(), path); base 142 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::ScopedTempDir dir_; base 156 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::WeakPtrFactory<SyncableFileOperationRunnerTest> weak_factory_; base 173 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 179 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 187 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 194 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 214 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 220 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 228 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 236 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 260 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 279 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 285 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 295 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 314 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 321 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 339 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 347 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 355 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::FilePath temp_path; base 358 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::WriteFile( base 369 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 377 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 385 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 394 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 405 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 28 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::File::Error status) { base 37 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc QueueableTask(base::WeakPtr<SyncableFileSystemOperation> operation, base 38 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc const base::Closure& task) base 68 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::WeakPtr<SyncableFileSystemOperation> operation_; base 69 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Closure task_; base 82 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 90 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&FileSystemOperation::CreateFile, base 91 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Unretained(impl_.get()), base 93 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); base 104 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 108 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 116 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&FileSystemOperation::CreateDirectory, base 117 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Unretained(impl_.get()), base 119 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); base 131 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 139 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&FileSystemOperation::Copy, base 140 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Unretained(impl_.get()), base 142 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); base 153 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 162 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&FileSystemOperation::Move, base 163 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Unretained(impl_.get()), base 165 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); base 205 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 213 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&FileSystemOperation::Remove, base 214 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Unretained(impl_.get()), base 216 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); base 227 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, 0, true); base 232 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc completion_callback_ = base::Bind(&WriteCallbackAdapter, callback); base 235 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&FileSystemOperation::Write, base 236 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Unretained(impl_.get()), base 238 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Passed(&writer_delegate), base 239 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Passed(&blob_request), base 240 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&self::DidWrite, weak_factory_.GetWeakPtr(), base 250 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 258 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&FileSystemOperation::Truncate, base 259 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Unretained(impl_.get()), base 261 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); base 267 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc const base::Time& last_access_time, base 268 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc const base::Time& last_modified_time, base 295 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc const base::FilePath& src_local_disk_path, base 300 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 308 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&FileSystemOperation::CopyInForeignFile, base 309 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Unretained(impl_.get()), base 311 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); base 348 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::File::Error SyncableFileSystemOperation::SyncGetPlatformPath( base 350 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::FilePath* platform_path) { base 377 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc void SyncableFileSystemOperation::DidFinish(base::File::Error status) { base 387 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::File::Error result, base 402 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc completion_callback_.Run(base::File::FILE_ERROR_ABORT); base 30 chrome/browser/sync_file_system/local/syncable_file_system_operation.h public base::NonThreadSafe { base 68 chrome/browser/sync_file_system/local/syncable_file_system_operation.h const base::Time& last_access_time, base 69 chrome/browser/sync_file_system/local/syncable_file_system_operation.h const base::Time& last_modified_time, base 78 chrome/browser/sync_file_system/local/syncable_file_system_operation.h virtual void CopyInForeignFile(const base::FilePath& src_local_disk_path, base 94 chrome/browser/sync_file_system/local/syncable_file_system_operation.h virtual base::File::Error SyncGetPlatformPath( base 96 chrome/browser/sync_file_system/local/syncable_file_system_operation.h base::FilePath* platform_path) OVERRIDE; base 110 chrome/browser/sync_file_system/local/syncable_file_system_operation.h void DidFinish(base::File::Error status); base 112 chrome/browser/sync_file_system/local/syncable_file_system_operation.h base::File::Error result, base 121 chrome/browser/sync_file_system/local/syncable_file_system_operation.h base::WeakPtr<SyncableFileOperationRunner> operation_runner_; base 128 chrome/browser/sync_file_system/local/syncable_file_system_operation.h base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_; base 24 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc using base::PlatformFileError; base 41 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc base::MessageLoopProxy::current().get(), base 42 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc base::MessageLoopProxy::current().get()), base 52 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc base::MessageLoopProxy::current().get(), base 53 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc base::MessageLoopProxy::current().get()); base 103 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc base::ScopedTempDir data_dir_; base 111 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc base::WeakPtrFactory<SyncableFileSystemTest> weak_factory_; base 119 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 123 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 125 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 143 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 146 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 157 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, base 166 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 180 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 189 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 191 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 193 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 195 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 197 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 219 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 221 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 230 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 257 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 261 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, base 273 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 276 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 282 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_NE(base::File::FILE_OK, base 36 chrome/browser/sync_file_system/local_change_processor.h const base::FilePath& local_file_path, base 17 chrome/browser/sync_file_system/logger.cc static base::LazyInstance<drive::EventLogger> g_logger = base 50 chrome/browser/sync_file_system/logger.cc base::StringAppendV(&what, format, args); base 57 chrome/browser/sync_file_system/logger.cc ptr->LogRawString(severity, base::StringPrintf("[%s] %s", base 31 chrome/browser/sync_file_system/mock_local_change_processor.cc const base::FilePath& local_file_path, base 35 chrome/browser/sync_file_system/mock_local_change_processor.cc base::MessageLoopProxy::current()->PostTask( base 36 chrome/browser/sync_file_system/mock_local_change_processor.cc FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); base 22 chrome/browser/sync_file_system/mock_local_change_processor.h const base::FilePath& local_file_path, base 30 chrome/browser/sync_file_system/mock_local_change_processor.h const base::FilePath& local_file_path, base 14 chrome/browser/sync_file_system/mock_remote_change_processor.h namespace base { base 35 chrome/browser/sync_file_system/mock_remote_change_processor.h const base::FilePath& local_path, base 41 chrome/browser/sync_file_system/mock_remote_change_processor.h const base::Closure& completion_callback)); base 57 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc scoped_ptr<base::ListValue> MockRemoteFileSyncService::DumpFiles( base 59 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc return scoped_ptr<base::ListValue>(); base 62 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc scoped_ptr<base::ListValue> MockRemoteFileSyncService::DumpDatabase() { base 63 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc return scoped_ptr<base::ListValue>(); base 105 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc base::MessageLoopProxy::current()->PostTask( base 107 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc base::Bind(callback, SYNC_STATUS_OK)); base 114 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc base::MessageLoopProxy::current()->PostTask( base 116 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc base::Bind(callback, SYNC_STATUS_OK)); base 121 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc base::MessageLoopProxy::current()->PostTask( base 123 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc base::Bind(callback, SYNC_STATUS_NO_CHANGE_TO_SYNC, base 73 chrome/browser/sync_file_system/mock_remote_file_sync_service.h virtual scoped_ptr<base::ListValue> DumpFiles(const GURL& origin) OVERRIDE; base 74 chrome/browser/sync_file_system/mock_remote_file_sync_service.h virtual scoped_ptr<base::ListValue> DumpDatabase() OVERRIDE; base 13 chrome/browser/sync_file_system/remote_change_processor.h namespace base { base 37 chrome/browser/sync_file_system/remote_change_processor.h typedef base::Callback<void( base 63 chrome/browser/sync_file_system/remote_change_processor.h const base::FilePath& local_path, base 75 chrome/browser/sync_file_system/remote_change_processor.h const base::Closure& completion_callback) = 0; base 22 chrome/browser/sync_file_system/remote_file_sync_service.h namespace base { base 116 chrome/browser/sync_file_system/remote_file_sync_service.h typedef base::Callback<void(SyncStatusCode status, base 119 chrome/browser/sync_file_system/remote_file_sync_service.h typedef base::Callback<void(SyncStatusCode status, base 195 chrome/browser/sync_file_system/remote_file_sync_service.h virtual scoped_ptr<base::ListValue> DumpFiles(const GURL& origin) = 0; base 198 chrome/browser/sync_file_system/remote_file_sync_service.h virtual scoped_ptr<base::ListValue> DumpDatabase() = 0; base 27 chrome/browser/sync_file_system/subtree_set.cc bool SubtreeSet::IsDisjointWith(const base::FilePath& subtree_root) const { base 28 chrome/browser/sync_file_system/subtree_set.cc base::FilePath::StringType normalized_subtree_root = base 36 chrome/browser/sync_file_system/subtree_set.cc base::FilePath path(normalized_subtree_root); base 49 chrome/browser/sync_file_system/subtree_set.cc bool SubtreeSet::insert(const base::FilePath& subtree_root) { base 50 chrome/browser/sync_file_system/subtree_set.cc base::FilePath::StringType normalized_subtree_root = base 58 chrome/browser/sync_file_system/subtree_set.cc base::FilePath path(normalized_subtree_root); base 70 chrome/browser/sync_file_system/subtree_set.cc bool SubtreeSet::erase(const base::FilePath& subtree_root) { base 71 chrome/browser/sync_file_system/subtree_set.cc base::FilePath::StringType normalized_subtree_root = base 85 chrome/browser/sync_file_system/subtree_set.cc base::FilePath path(normalized_subtree_root); base 11 chrome/browser/sync_file_system/subtree_set.h namespace base { base 25 chrome/browser/sync_file_system/subtree_set.h bool IsDisjointWith(const base::FilePath& subtree_root) const; base 29 chrome/browser/sync_file_system/subtree_set.h bool insert(const base::FilePath& subtree_root); base 33 chrome/browser/sync_file_system/subtree_set.h bool erase(const base::FilePath& subtree_root); base 48 chrome/browser/sync_file_system/subtree_set.h typedef base::FilePath::StringType StringType; base 49 chrome/browser/sync_file_system/subtree_set.h typedef base::hash_map<StringType, Node> Subtrees; base 9 chrome/browser/sync_file_system/subtree_set_unittest.cc #define FPL(path) base::FilePath(FILE_PATH_LITERAL(path)) base 21 chrome/browser/sync_file_system/sync_callbacks.h typedef base::Callback<void(SyncStatusCode status)> base 24 chrome/browser/sync_file_system/sync_callbacks.h typedef base::Callback<void(SyncStatusCode status, base 28 chrome/browser/sync_file_system/sync_callbacks.h typedef base::Callback<void(SyncStatusCode status, base 32 chrome/browser/sync_file_system/sync_callbacks.h typedef base::Callback<void(SyncStatusCode status, base 36 chrome/browser/sync_file_system/sync_callbacks.h typedef base::Callback<void(SyncStatusCode status, base 19 chrome/browser/sync_file_system/sync_file_metadata.cc const base::Time& last_modified) base 20 chrome/browser/sync_file_system/sync_file_metadata.h const base::Time& last_modified); base 25 chrome/browser/sync_file_system/sync_file_metadata.h base::Time last_modified; base 35 chrome/browser/sync_file_system/sync_file_metadata.h base::FilePath local_file_path; base 118 chrome/browser/sync_file_system/sync_file_system_service.cc base::ListValue* files, base 121 chrome/browser/sync_file_system/sync_file_system_service.cc base::DictionaryValue* file, base 141 chrome/browser/sync_file_system/sync_file_system_service.cc base::WeakPtr<SyncFileSystemService> service, base 164 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&LocalSyncRunner::DidProcessLocalChange, base 191 chrome/browser/sync_file_system/sync_file_system_service.cc base::WeakPtrFactory<LocalSyncRunner> factory_; base 209 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&RemoteSyncRunner::DidProcessRemoteChange, base 248 chrome/browser/sync_file_system/sync_file_system_service.cc url, base::Bind(&RemoteSyncRunner::Schedule, base 256 chrome/browser/sync_file_system/sync_file_system_service.cc base::WeakPtrFactory<RemoteSyncRunner> factory_; base 298 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&SyncFileSystemService::DidInitializeFileSystem, base 326 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&SyncFileSystemService::DidInitializeFileSystemForDump, base 330 chrome/browser/sync_file_system/sync_file_system_service.cc scoped_ptr<base::ListValue> SyncFileSystemService::DumpDatabase() { base 331 chrome/browser/sync_file_system/sync_file_system_service.cc scoped_ptr<base::ListValue> list = remote_service_->DumpDatabase(); base 333 chrome/browser/sync_file_system/sync_file_system_service.cc list.reset(new base::ListValue); base 335 chrome/browser/sync_file_system/sync_file_system_service.cc scoped_ptr<base::ListValue> v2list = v2_remote_service_->DumpDatabase(); base 338 chrome/browser/sync_file_system/sync_file_system_service.cc for (base::ListValue::iterator itr = v2list->begin(); base 340 chrome/browser/sync_file_system/sync_file_system_service.cc scoped_ptr<base::Value> item; base 355 chrome/browser/sync_file_system/sync_file_system_service.cc base::MessageLoopProxy::current()->PostTask( base 357 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(callback, base 364 chrome/browser/sync_file_system/sync_file_system_service.cc base::MessageLoopProxy::current()->PostTask( base 366 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(callback, base 374 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&SyncFileSystemService::DidGetLocalChangeStatus, base 428 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&GetLocalChangeProcessorAdapter, AsWeakPtr())); base 470 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&SyncFileSystemService::DidRegisterOrigin, base 511 chrome/browser/sync_file_system/sync_file_system_service.cc base::ListValue empty_result; base 516 chrome/browser/sync_file_system/sync_file_system_service.cc base::ListValue* files = base 519 chrome/browser/sync_file_system/sync_file_system_service.cc callback.Run(new base::ListValue); base 528 chrome/browser/sync_file_system/sync_file_system_service.cc base::Callback<void(base::DictionaryValue* file, base 531 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&DidGetFileSyncStatusForDump, base::Owned(files), base 532 chrome/browser/sync_file_system/sync_file_system_service.cc base::Owned(new size_t(0)), callback); base 536 chrome/browser/sync_file_system/sync_file_system_service.cc base::DictionaryValue* file = NULL; base 546 chrome/browser/sync_file_system/sync_file_system_service.cc base::FilePath file_path = base::FilePath::FromUTF8Unsafe(path_string); base 548 chrome/browser/sync_file_system/sync_file_system_service.cc GetFileSyncStatus(url, base::Bind(completion_callback, file)); base 675 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&DidHandleOriginForExtensionUnloadedEvent, base 701 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&DidHandleOriginForExtensionUnloadedEvent, base 714 chrome/browser/sync_file_system/sync_file_system_service.cc base::Bind(&DidHandleOriginForExtensionEnabledEvent, type, app_origin)); base 49 chrome/browser/sync_file_system/sync_file_system_service.h public base::SupportsWeakPtr<SyncFileSystemService> { base 51 chrome/browser/sync_file_system/sync_file_system_service.h typedef base::Callback<void(const base::ListValue* files)> DumpFilesCallback; base 64 chrome/browser/sync_file_system/sync_file_system_service.h scoped_ptr<base::ListValue> DumpDatabase(); base 85 chrome/browser/sync_file_system/sync_file_system_service.h friend struct base::DefaultDeleter<SyncFileSystemService>; base 60 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc void AssignValueAndQuit(base::RunLoop* run_loop, base 73 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc void VerifyFileError(base::RunLoop* run_loop, base 74 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::File::Error error) { base 76 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 102 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::MessageLoopProxy::current()->PostTask( base 103 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc FROM_HERE, base::Bind(arg1, operation_status)); base 111 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::MessageLoopProxy::current()->PostTask( base 112 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc FROM_HERE, base::Bind(arg4, status)); base 116 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::MessageLoopProxy::current()->PostTask( base 117 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc FROM_HERE, base::Bind(arg0, status, url)); base 168 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop run_loop; base 187 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->OpenFileSystem()); base 224 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop run_loop; base 325 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop run_loop; base 341 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 352 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); base 364 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop run_loop; base 368 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 385 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop run_loop; base 398 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 411 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop verify_file_error_run_loop; base 415 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::Bind(&CannedSyncableFileSystem::DoCreateFile, base 416 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::Unretained(file_system_.get()), base 417 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc kFile, base::Bind(&VerifyFileError, base 444 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop run_loop; base 452 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::Bind(&AssignValueAndQuit<SyncFileStatus>, base 462 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop run_loop; base 470 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::Bind(&AssignValueAndQuit<SyncFileStatus>, base 480 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); base 482 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop run_loop; base 490 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::Bind(&AssignValueAndQuit<SyncFileStatus>, base 501 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->TruncateFile(kFile, 1U)); base 503 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::RunLoop run_loop; base 511 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::Bind(&AssignValueAndQuit<SyncFileStatus>, base 21 chrome/browser/sync_file_system/sync_file_system_test_util.cc void AssignAndQuit(base::RunLoop* run_loop, R* result_out, R result) { base 28 chrome/browser/sync_file_system/sync_file_system_test_util.cc template <typename R> base::Callback<void(R)> base 29 chrome/browser/sync_file_system/sync_file_system_test_util.cc AssignAndQuitCallback(base::RunLoop* run_loop, R* result) { base 30 chrome/browser/sync_file_system/sync_file_system_test_util.cc return base::Bind(&AssignAndQuit<R>, run_loop, base::Unretained(result)); base 37 chrome/browser/sync_file_system/sync_file_system_test_util.cc *arg_out = base::internal::CallbackForward(arg); base 41 chrome/browser/sync_file_system/sync_file_system_test_util.cc base::Callback<void(typename TypeTraits<Arg>::ParamType)> base 44 chrome/browser/sync_file_system/sync_file_system_test_util.cc return base::Bind(&ReceiveResult1<Arg, Param>, base 45 chrome/browser/sync_file_system/sync_file_system_test_util.cc base::Owned(new bool(false)), arg_out); base 49 chrome/browser/sync_file_system/sync_file_system_test_util.cc template base::Callback<void(SyncStatusCode)> base 50 chrome/browser/sync_file_system/sync_file_system_test_util.cc AssignAndQuitCallback(base::RunLoop*, SyncStatusCode*); base 53 chrome/browser/sync_file_system/sync_file_system_test_util.cc template base::Callback<void(type)> CreateResultReceiver(type*); base 14 chrome/browser/sync_file_system/sync_file_system_test_util.h namespace base { base 47 chrome/browser/sync_file_system/sync_file_system_test_util.h *arg1_out = base::internal::CallbackForward(arg1); base 48 chrome/browser/sync_file_system/sync_file_system_test_util.h *arg2_out = base::internal::CallbackForward(arg2); base 52 chrome/browser/sync_file_system/sync_file_system_test_util.h void AssignAndQuit(base::RunLoop* run_loop, R* result_out, R result); base 54 chrome/browser/sync_file_system/sync_file_system_test_util.h template <typename R> base::Callback<void(R)> base 55 chrome/browser/sync_file_system/sync_file_system_test_util.h AssignAndQuitCallback(base::RunLoop* run_loop, R* result); base 58 chrome/browser/sync_file_system/sync_file_system_test_util.h base::Callback<void(typename TypeTraits<Arg>::ParamType)> base 62 chrome/browser/sync_file_system/sync_file_system_test_util.h base::Callback<void(typename TypeTraits<Arg1>::ParamType, base 68 chrome/browser/sync_file_system/sync_file_system_test_util.h return base::Bind(&ReceiveResult2<Arg1, Arg2, Param1, Param2>, base 69 chrome/browser/sync_file_system/sync_file_system_test_util.h base::Owned(new bool(false)), base 16 chrome/browser/sync_file_system/sync_process_runner.cc const int64 kSyncDelayInMilliseconds = 1 * base::Time::kMillisecondsPerSecond; base 20 chrome/browser/sync_file_system/sync_process_runner.cc const int64 kSyncDelayWithSyncError = 3 * base::Time::kMillisecondsPerSecond; base 28 chrome/browser/sync_file_system/sync_process_runner.cc 30 * base::Time::kMillisecondsPerSecond; // Start with 30 sec + exp backoff base 32 chrome/browser/sync_file_system/sync_process_runner.cc 30 * 60 * base::Time::kMillisecondsPerSecond; // 30 min base 118 chrome/browser/sync_file_system/sync_process_runner.cc (base::Time::Now() - last_scheduled_).InSeconds()); base 133 chrome/browser/sync_file_system/sync_process_runner.cc last_scheduled_ = base::Time::Now(); base 140 chrome/browser/sync_file_system/sync_process_runner.cc base::Bind(&SyncProcessRunner::Finished, factory_.GetWeakPtr())); base 144 chrome/browser/sync_file_system/sync_process_runner.cc base::TimeDelta time_to_next = base::TimeDelta::FromMilliseconds(delay); base 150 chrome/browser/sync_file_system/sync_process_runner.cc base::TimeDelta elapsed = base::Time::Now() - last_scheduled_; base 154 chrome/browser/sync_file_system/sync_process_runner.cc time_to_next = base::TimeDelta::FromMilliseconds( base 28 chrome/browser/sync_file_system/sync_process_runner.h typedef base::Callback<void(const SyncStatusCallback&)> Task; base 57 chrome/browser/sync_file_system/sync_process_runner.h base::OneShotTimer<SyncProcessRunner> timer_; base 58 chrome/browser/sync_file_system/sync_process_runner.h base::Time last_scheduled_; base 63 chrome/browser/sync_file_system/sync_process_runner.h base::WeakPtrFactory<SyncProcessRunner> factory_; base 112 chrome/browser/sync_file_system/sync_status_code.cc base::File::Error file_error) { base 114 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_OK: base 116 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_FAILED: base 118 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_IN_USE: base 120 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_EXISTS: base 122 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NOT_FOUND: base 124 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_ACCESS_DENIED: base 126 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_TOO_MANY_OPENED: base 128 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NO_MEMORY: base 130 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NO_SPACE: base 132 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NOT_A_DIRECTORY: base 134 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_INVALID_OPERATION: base 136 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_SECURITY: base 138 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_ABORT: base 140 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NOT_A_FILE: base 142 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NOT_EMPTY: base 144 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_INVALID_URL: base 146 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_IO: base 148 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_MAX: base 157 chrome/browser/sync_file_system/sync_status_code.cc base::File::Error SyncStatusCodeToFileError( base 161 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_OK; base 163 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_FAILED; base 165 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_IN_USE; base 167 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_EXISTS; base 169 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NOT_FOUND; base 171 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_ACCESS_DENIED; base 173 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_TOO_MANY_OPENED; base 175 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NO_MEMORY; base 177 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NO_SPACE; base 179 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 181 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 183 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_SECURITY; base 185 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_ABORT; base 187 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NOT_A_FILE; base 189 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NOT_EMPTY; base 191 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_INVALID_URL; base 193 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_IO; base 197 chrome/browser/sync_file_system/sync_status_code.cc return static_cast<base::File::Error>(status); base 70 chrome/browser/sync_file_system/sync_status_code.h SyncStatusCode FileErrorToSyncStatusCode(base::File::Error file_error); base 72 chrome/browser/sync_file_system/sync_status_code.h base::File::Error SyncStatusCodeToFileError(SyncStatusCode status); base 41 chrome/browser/sync_file_system/syncable_file_system_util.cc const base::FilePath::CharType kSyncFileSystemDir[] = base 43 chrome/browser/sync_file_system/syncable_file_system_util.cc const base::FilePath::CharType kSyncFileSystemDirDev[] = base 57 chrome/browser/sync_file_system/syncable_file_system_util.cc base::FilePath()); base 62 chrome/browser/sync_file_system/syncable_file_system_util.cc base::FilePath()); base 78 chrome/browser/sync_file_system/syncable_file_system_util.cc const base::FilePath& path) { base 79 chrome/browser/sync_file_system/syncable_file_system_util.cc base::FilePath path_for_url = path; base 81 chrome/browser/sync_file_system/syncable_file_system_util.cc path_for_url = base::FilePath(path.value().substr(1)); base 171 chrome/browser/sync_file_system/syncable_file_system_util.cc base::FilePath GetSyncFileSystemDir(const base::FilePath& profile_base_dir) { base 200 chrome/browser/sync_file_system/syncable_file_system_util.cc const base::Closure& callback) { base 201 chrome/browser/sync_file_system/syncable_file_system_util.cc base::MessageLoop::current()->PostTask(from_here, callback); base 42 chrome/browser/sync_file_system/syncable_file_system_util.h CreateSyncableFileSystemURL(const GURL& origin, const base::FilePath& path); base 104 chrome/browser/sync_file_system/syncable_file_system_util.h base::FilePath GetSyncFileSystemDir(const base::FilePath& profile_base_dir); base 132 chrome/browser/sync_file_system/syncable_file_system_util.h const base::Closure& callback); base 32 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc const base::FilePath::CharType kPath[] = FILE_PATH_LITERAL("dir/file"); base 38 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc base::FilePath CreateNormalizedFilePath(const base::FilePath::CharType* path) { base 39 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc return base::FilePath(path).NormalizePathSeparators(); base 53 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc const base::FilePath path(kPath); base 72 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc GURL(kOrigin), base::FilePath(kPath)); base 90 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc const base::FilePath normalized_path = CreateNormalizedFilePath(kPath); base 126 chrome/browser/tab_contents/background_contents.cc void BackgroundContents::RenderProcessGone(base::TerminationStatus status) { base 70 chrome/browser/tab_contents/background_contents.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 98 chrome/browser/tab_contents/background_contents.h const base::string16& frame_name; base 101 chrome/browser/tab_contents/background_contents.h const base::string16& application_id; base 38 chrome/browser/tab_contents/navigation_metrics_recorder.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 43 chrome/browser/tab_contents/view_source_browsertest.cc EXPECT_NE(base::ASCIIToUTF16("foo"), base 44 chrome/browser/task_manager/background_information.cc const base::string16& application_name); base 48 chrome/browser/task_manager/background_information.cc virtual base::string16 GetTitle() const OVERRIDE; base 51 chrome/browser/task_manager/background_information.cc const base::string16& application_name() const { return application_name_; } base 56 chrome/browser/task_manager/background_information.cc base::string16 application_name_; base 70 chrome/browser/task_manager/background_information.cc const base::string16& application_name) base 85 chrome/browser/task_manager/background_information.cc base::i18n::AdjustStringForLocaleDirection(&application_name_); base 90 chrome/browser/task_manager/background_information.cc base::string16 BackgroundContentsResource::GetTitle() const { base 91 chrome/browser/task_manager/background_information.cc base::string16 title = application_name_; base 96 chrome/browser/task_manager/background_information.cc title = base::i18n::GetDisplayStringInLTRDirectionality( base 97 chrome/browser/task_manager/background_information.cc base::UTF8ToUTF16(background_contents_->GetURL().spec())); base 156 chrome/browser/task_manager/background_information.cc base::string16 application_name; base 159 chrome/browser/task_manager/background_information.cc const base::string16& application_id = base 162 chrome/browser/task_manager/background_information.cc base::UTF16ToUTF8(application_id), false); base 164 chrome/browser/task_manager/background_information.cc application_name = base::UTF8ToUTF16(extension->name()); base 35 chrome/browser/task_manager/browser_process_resource_provider.cc int pid = base::GetCurrentProcId(); base 36 chrome/browser/task_manager/browser_process_resource_provider.cc bool success = base::OpenPrivilegedProcessHandle(pid, &process_); base 59 chrome/browser/task_manager/browser_process_resource_provider.cc base::CloseProcessHandle(process_); base 63 chrome/browser/task_manager/browser_process_resource_provider.cc base::string16 BrowserProcessResource::GetTitle() const { base 70 chrome/browser/task_manager/browser_process_resource_provider.cc base::string16 BrowserProcessResource::GetProfileName() const { base 71 chrome/browser/task_manager/browser_process_resource_provider.cc return base::string16(); base 82 chrome/browser/task_manager/browser_process_resource_provider.cc base::ProcessHandle BrowserProcessResource::GetProcess() const { base 83 chrome/browser/task_manager/browser_process_resource_provider.cc return base::GetCurrentProcessHandle(); // process_; base 36 chrome/browser/task_manager/browser_process_resource_provider.h virtual base::string16 GetTitle() const OVERRIDE; base 37 chrome/browser/task_manager/browser_process_resource_provider.h virtual base::string16 GetProfileName() const OVERRIDE; base 39 chrome/browser/task_manager/browser_process_resource_provider.h virtual base::ProcessHandle GetProcess() const OVERRIDE; base 54 chrome/browser/task_manager/browser_process_resource_provider.h base::ProcessHandle process_; base 55 chrome/browser/task_manager/browser_process_resource_provider.h mutable base::string16 title_; base 32 chrome/browser/task_manager/child_process_resource_provider.cc const base::string16& name, base 33 chrome/browser/task_manager/child_process_resource_provider.cc base::ProcessHandle handle, base 40 chrome/browser/task_manager/child_process_resource_provider.cc virtual base::string16 GetTitle() const OVERRIDE; base 41 chrome/browser/task_manager/child_process_resource_provider.cc virtual base::string16 GetProfileName() const OVERRIDE; base 43 chrome/browser/task_manager/child_process_resource_provider.cc virtual base::ProcessHandle GetProcess() const OVERRIDE; base 55 chrome/browser/task_manager/child_process_resource_provider.cc base::string16 GetLocalizedTitle() const; base 58 chrome/browser/task_manager/child_process_resource_provider.cc base::string16 name_; base 59 chrome/browser/task_manager/child_process_resource_provider.cc base::ProcessHandle handle_; base 63 chrome/browser/task_manager/child_process_resource_provider.cc mutable base::string16 title_; base 78 chrome/browser/task_manager/child_process_resource_provider.cc const base::string16& name, base 79 chrome/browser/task_manager/child_process_resource_provider.cc base::ProcessHandle handle, base 90 chrome/browser/task_manager/child_process_resource_provider.cc pid_ = base::GetProcId(handle); base 106 chrome/browser/task_manager/child_process_resource_provider.cc base::string16 ChildProcessResource::GetTitle() const { base 113 chrome/browser/task_manager/child_process_resource_provider.cc base::string16 ChildProcessResource::GetProfileName() const { base 114 chrome/browser/task_manager/child_process_resource_provider.cc return base::string16(); base 121 chrome/browser/task_manager/child_process_resource_provider.cc base::ProcessHandle ChildProcessResource::GetProcess() const { base 161 chrome/browser/task_manager/child_process_resource_provider.cc base::string16 ChildProcessResource::GetLocalizedTitle() const { base 162 chrome/browser/task_manager/child_process_resource_provider.cc base::string16 title = name_; base 180 chrome/browser/task_manager/child_process_resource_provider.cc base::i18n::AdjustStringForLocaleDirection(&title); base 247 chrome/browser/task_manager/child_process_resource_provider.cc base::Bind( base 333 chrome/browser/task_manager/child_process_resource_provider.cc if (iter.GetData().handle == base::kNullProcessHandle) base 343 chrome/browser/task_manager/child_process_resource_provider.cc base::Bind( base 66 chrome/browser/task_manager/child_process_resource_provider.h typedef std::map<base::ProcessHandle, ChildProcessResource*> base 52 chrome/browser/task_manager/extension_information.cc virtual base::string16 GetTitle() const OVERRIDE; base 64 chrome/browser/task_manager/extension_information.cc base::string16 title_; base 80 chrome/browser/task_manager/extension_information.cc base::string16 extension_name = base::UTF8ToUTF16(extension->name()); base 95 chrome/browser/task_manager/extension_information.cc base::string16 ExtensionProcessResource::GetTitle() const { return title_; } base 42 chrome/browser/task_manager/guest_information.cc virtual base::string16 GetTitle() const OVERRIDE; base 63 chrome/browser/task_manager/guest_information.cc base::string16 GuestResource::GetTitle() const { base 67 chrome/browser/task_manager/guest_information.cc base::string16 title = util::GetTitleFromWebContents(web_contents); base 70 chrome/browser/task_manager/guest_information.cc return l10n_util::GetStringFUTF16(message_id, base::string16()); base 31 chrome/browser/task_manager/notification_resource_provider.cc virtual base::string16 GetTitle() const OVERRIDE; base 32 chrome/browser/task_manager/notification_resource_provider.cc virtual base::string16 GetProfileName() const OVERRIDE; base 34 chrome/browser/task_manager/notification_resource_provider.cc virtual base::ProcessHandle GetProcess() const OVERRIDE; base 50 chrome/browser/task_manager/notification_resource_provider.cc base::ProcessHandle process_handle_; base 53 chrome/browser/task_manager/notification_resource_provider.cc base::string16 title_; base 70 chrome/browser/task_manager/notification_resource_provider.cc pid_ = base::GetProcId(process_handle_); base 78 chrome/browser/task_manager/notification_resource_provider.cc base::string16 NotificationResource::GetTitle() const { base 82 chrome/browser/task_manager/notification_resource_provider.cc base::string16 NotificationResource::GetProfileName() const { base 83 chrome/browser/task_manager/notification_resource_provider.cc return base::string16(); base 90 chrome/browser/task_manager/notification_resource_provider.cc base::ProcessHandle NotificationResource::GetProcess() const { base 9 chrome/browser/task_manager/os_resource_win.cc void GetWinGDIHandles(base::ProcessHandle process, base 26 chrome/browser/task_manager/os_resource_win.cc void GetWinUSERHandles(base::ProcessHandle process, base 13 chrome/browser/task_manager/os_resource_win.h void GetWinGDIHandles(base::ProcessHandle process, base 18 chrome/browser/task_manager/os_resource_win.h void GetWinUSERHandles(base::ProcessHandle process, base 38 chrome/browser/task_manager/panel_information.cc virtual base::string16 GetTitle() const OVERRIDE; base 72 chrome/browser/task_manager/panel_information.cc base::string16 PanelResource::GetTitle() const { base 73 chrome/browser/task_manager/panel_information.cc base::string16 title = panel_->GetWindowTitle(); base 82 chrome/browser/task_manager/panel_information.cc base::i18n::AdjustStringForLocaleDirection(&title); base 38 chrome/browser/task_manager/printing_information.cc virtual base::string16 GetTitle() const OVERRIDE; base 57 chrome/browser/task_manager/printing_information.cc base::string16 PrintingResource::GetTitle() const { base 18 chrome/browser/task_manager/renderer_resource.cc RendererResource::RendererResource(base::ProcessHandle process, base 30 chrome/browser/task_manager/renderer_resource.cc pid_ = base::GetProcId(process_); base 89 chrome/browser/task_manager/renderer_resource.cc base::string16 RendererResource::GetProfileName() const { base 94 chrome/browser/task_manager/renderer_resource.cc base::ProcessHandle RendererResource::GetProcess() const { base 21 chrome/browser/task_manager/renderer_resource.h RendererResource(base::ProcessHandle process, base 26 chrome/browser/task_manager/renderer_resource.h virtual base::string16 GetProfileName() const OVERRIDE; base 27 chrome/browser/task_manager/renderer_resource.h virtual base::ProcessHandle GetProcess() const OVERRIDE; base 64 chrome/browser/task_manager/renderer_resource.h base::ProcessHandle process_; base 59 chrome/browser/task_manager/resource_provider.h virtual base::string16 GetTitle() const = 0; base 60 chrome/browser/task_manager/resource_provider.h virtual base::string16 GetProfileName() const = 0; base 62 chrome/browser/task_manager/resource_provider.h virtual base::ProcessHandle GetProcess() const = 0; base 144 chrome/browser/task_manager/resource_provider.h class ResourceProvider : public base::RefCountedThreadSafe<ResourceProvider> { base 155 chrome/browser/task_manager/resource_provider.h friend class base::RefCountedThreadSafe<ResourceProvider>; base 60 chrome/browser/task_manager/tab_contents_information.cc virtual base::string16 GetTitle() const OVERRIDE; base 100 chrome/browser/task_manager/tab_contents_information.cc base::string16 TabContentsResource::GetTitle() const { base 103 chrome/browser/task_manager/tab_contents_information.cc base::string16 tab_title = util::GetTitleFromWebContents(web_contents_); base 100 chrome/browser/task_manager/task_manager.cc base::string16 FormatStatsSize(const blink::WebCache::ResourceTypeStat& stat) { base 128 chrome/browser/task_manager/task_manager.cc void GetWinGDIHandles(base::ProcessHandle process, base 145 chrome/browser/task_manager/task_manager.cc void GetWinUSERHandles(base::ProcessHandle process, base 189 chrome/browser/task_manager/task_manager.cc BrowserThread::UI, FROM_HERE, base::Bind( base 249 chrome/browser/task_manager/task_manager.cc goat_salt_(base::RandUint64()) { base 326 chrome/browser/task_manager/task_manager.cc base::ProcessId TaskManagerModel::GetProcessId(int index) const { base 330 chrome/browser/task_manager/task_manager.cc values.process_id = base::GetProcId(GetResource(index)->GetProcess()); base 335 chrome/browser/task_manager/task_manager.cc base::ProcessHandle TaskManagerModel::GetProcess(int index) const { base 339 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceById(int index, int col_id) const { base 341 chrome/browser/task_manager/task_manager.cc return base::string16(); base 406 chrome/browser/task_manager/task_manager.cc return base::string16(); base 410 chrome/browser/task_manager/task_manager.cc const base::string16& TaskManagerModel::GetResourceTitle(int index) const { base 419 chrome/browser/task_manager/task_manager.cc const base::string16& TaskManagerModel::GetResourceProfileName( base 429 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceNaClDebugStubPort(int index) const { base 432 chrome/browser/task_manager/task_manager.cc return base::ASCIIToUTF16("N/A"); base 434 chrome/browser/task_manager/task_manager.cc return base::IntToString16(port); base 438 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceNetworkUsage(int index) const { base 443 chrome/browser/task_manager/task_manager.cc return base::ASCIIToUTF16("0"); base 444 chrome/browser/task_manager/task_manager.cc base::string16 net_byte = ui::FormatSpeed(net_usage); base 446 chrome/browser/task_manager/task_manager.cc return base::i18n::GetDisplayStringInLTRDirectionality(net_byte); base 449 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceCPUUsage(int index) const { base 450 chrome/browser/task_manager/task_manager.cc return base::UTF8ToUTF16(base::StringPrintf( base 461 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourcePrivateMemory(int index) const { base 464 chrome/browser/task_manager/task_manager.cc return base::ASCIIToUTF16("N/A"); base 468 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceSharedMemory(int index) const { base 471 chrome/browser/task_manager/task_manager.cc return base::ASCIIToUTF16("N/A"); base 475 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourcePhysicalMemory(int index) const { base 481 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceProcessId(int index) const { base 482 chrome/browser/task_manager/task_manager.cc return base::IntToString16(GetProcessId(index)); base 485 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceGDIHandles(int index) const { base 489 chrome/browser/task_manager/task_manager.cc base::IntToString16(current), base::IntToString16(peak)); base 492 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceUSERHandles(int index) const { base 496 chrome/browser/task_manager/task_manager.cc base::IntToString16(current), base::IntToString16(peak)); base 499 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceWebCoreImageCacheSize( base 506 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceWebCoreScriptsCacheSize( base 513 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceWebCoreCSSCacheSize( base 521 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceVideoMemory(int index) const { base 525 chrome/browser/task_manager/task_manager.cc return base::ASCIIToUTF16("N/A"); base 527 chrome/browser/task_manager/task_manager.cc return GetMemCellText(video_memory) + base::ASCIIToUTF16("*"); base 532 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceFPS( base 537 chrome/browser/task_manager/task_manager.cc return base::UTF8ToUTF16(base::StringPrintf("%.0f", fps)); base 540 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceSqliteMemoryUsed(int index) const { base 547 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceIdleWakeupsPerSecond(int index) base 549 chrome/browser/task_manager/task_manager.cc return base::FormatNumber(GetIdleWakeupsPerSecond(GetResource(index))); base 552 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceGoatsTeleported(int index) const { base 554 chrome/browser/task_manager/task_manager.cc return base::FormatNumber(GetGoatsTeleported(index)); base 557 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetResourceV8MemoryAllocatedSize( base 574 chrome/browser/task_manager/task_manager.cc base::ProcessHandle handle = GetResource(index)->GetProcess(); base 583 chrome/browser/task_manager/task_manager.cc base::ProcessHandle handle = GetResource(index)->GetProcess(); base 593 chrome/browser/task_manager/task_manager.cc base::ProcessHandle handle = GetResource(index)->GetProcess(); base 597 chrome/browser/task_manager/task_manager.cc base::WorkingSetKBytes ws_usage; base 624 chrome/browser/task_manager/task_manager.cc base::ProcessHandle handle = GetResource(index)->GetProcess(); base 644 chrome/browser/task_manager/task_manager.cc base::ProcessHandle handle = GetResource(index)->GetProcess(); base 673 chrome/browser/task_manager/task_manager.cc base::ProcessId pid = GetProcessId(index); base 849 chrome/browser/task_manager/task_manager.cc const base::string16& title1 = GetResourceTitle(row1); base 850 chrome/browser/task_manager/task_manager.cc const base::string16& title2 = GetResourceTitle(row2); base 863 chrome/browser/task_manager/task_manager.cc const base::string16& profile1 = GetResourceProfileName(row1); base 864 chrome/browser/task_manager/task_manager.cc const base::string16& profile2 = GetResourceProfileName(row2); base 987 chrome/browser/task_manager/task_manager.cc base::ProcessHandle process = resource->GetProcess(); base 1016 chrome/browser/task_manager/task_manager.cc base::ProcessMetrics* pm = base 1018 chrome/browser/task_manager/task_manager.cc base::ProcessMetrics::CreateProcessMetrics(process); base 1020 chrome/browser/task_manager/task_manager.cc base::ProcessMetrics::CreateProcessMetrics( base 1033 chrome/browser/task_manager/task_manager.cc base::ProcessHandle process = resource->GetProcess(); base 1096 chrome/browser/task_manager/task_manager.cc base::MessageLoop::current()->PostTask( base 1098 chrome/browser/task_manager/task_manager.cc base::Bind(&TaskManagerModel::RefreshCallback, this)); base 1188 chrome/browser/task_manager/task_manager.cc goat_salt_ = base::RandUint64(); base 1201 chrome/browser/task_manager/task_manager.cc base::ProcessHandle process = (*iter)->GetProcess(); base 1225 chrome/browser/task_manager/task_manager.cc base::TimeDelta update_time = base 1226 chrome/browser/task_manager/task_manager.cc base::TimeDelta::FromMilliseconds(kUpdateTimeMs); base 1230 chrome/browser/task_manager/task_manager.cc if (update_time > base::TimeDelta::FromSeconds(1)) base 1252 chrome/browser/task_manager/task_manager.cc base::ProcessId renderer_id, base 1256 chrome/browser/task_manager/task_manager.cc if (base::GetProcId((*it)->GetProcess()) == renderer_id) { base 1262 chrome/browser/task_manager/task_manager.cc void TaskManagerModel::NotifyFPS(base::ProcessId renderer_id, base 1267 chrome/browser/task_manager/task_manager.cc if (base::GetProcId((*it)->GetProcess()) == renderer_id && base 1281 chrome/browser/task_manager/task_manager.cc void TaskManagerModel::NotifyV8HeapStats(base::ProcessId renderer_id, base 1286 chrome/browser/task_manager/task_manager.cc if (base::GetProcId((*it)->GetProcess()) == renderer_id) { base 1313 chrome/browser/task_manager/task_manager.cc base::MessageLoop::current()->PostDelayedTask( base 1315 chrome/browser/task_manager/task_manager.cc base::Bind(&TaskManagerModel::NotifyMultipleBytesRead, this), base 1316 chrome/browser/task_manager/task_manager.cc base::TimeDelta::FromSeconds(1)); base 1335 chrome/browser/task_manager/task_manager.cc const base::Closure& callback) { base 1355 chrome/browser/task_manager/task_manager.cc base::MessageLoop::current()->PostDelayedTask( base 1357 chrome/browser/task_manager/task_manager.cc base::Bind(&TaskManagerModel::RefreshCallback, this), base 1358 chrome/browser/task_manager/task_manager.cc base::TimeDelta::FromMilliseconds(kUpdateTimeMs)); base 1440 chrome/browser/task_manager/task_manager.cc base::Bind(&TaskManagerModel::MultipleBytesRead, this, base 1441 chrome/browser/task_manager/task_manager.cc base::Owned(bytes_read_buffer))); base 1463 chrome/browser/task_manager/task_manager.cc base::string16 TaskManagerModel::GetMemCellText(int64 number) const { base 1465 chrome/browser/task_manager/task_manager.cc base::string16 str = base::FormatNumber(number / 1024); base 1468 chrome/browser/task_manager/task_manager.cc base::i18n::AdjustStringForLocaleDirection(&str); base 1478 chrome/browser/task_manager/task_manager.cc base::ProcessHandle handle) const { base 1545 chrome/browser/task_manager/task_manager.cc model_->GetProcess(index) == base::GetCurrentProcessHandle(); base 1549 chrome/browser/task_manager/task_manager.cc base::ProcessHandle process = model_->GetProcess(index); base 1551 chrome/browser/task_manager/task_manager.cc if (process != base::GetCurrentProcessHandle()) base 1552 chrome/browser/task_manager/task_manager.cc base::KillProcess(process, content::RESULT_CODE_KILLED, false); base 29 chrome/browser/task_manager/task_manager.h namespace base { base 140 chrome/browser/task_manager/task_manager.h class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> { base 160 chrome/browser/task_manager/task_manager.h base::ProcessId GetProcessId(int index) const; base 161 chrome/browser/task_manager/task_manager.h base::ProcessHandle GetProcess(int index) const; base 165 chrome/browser/task_manager/task_manager.h base::string16 GetResourceById(int index, int col_id) const; base 168 chrome/browser/task_manager/task_manager.h const base::string16& GetResourceTitle(int index) const; base 169 chrome/browser/task_manager/task_manager.h const base::string16& GetResourceProfileName(int index) const; base 170 chrome/browser/task_manager/task_manager.h base::string16 GetResourceNaClDebugStubPort(int index) const; base 171 chrome/browser/task_manager/task_manager.h base::string16 GetResourceNetworkUsage(int index) const; base 172 chrome/browser/task_manager/task_manager.h base::string16 GetResourceCPUUsage(int index) const; base 173 chrome/browser/task_manager/task_manager.h base::string16 GetResourcePrivateMemory(int index) const; base 174 chrome/browser/task_manager/task_manager.h base::string16 GetResourceSharedMemory(int index) const; base 175 chrome/browser/task_manager/task_manager.h base::string16 GetResourcePhysicalMemory(int index) const; base 176 chrome/browser/task_manager/task_manager.h base::string16 GetResourceProcessId(int index) const; base 177 chrome/browser/task_manager/task_manager.h base::string16 GetResourceGDIHandles(int index) const; base 178 chrome/browser/task_manager/task_manager.h base::string16 GetResourceUSERHandles(int index) const; base 179 chrome/browser/task_manager/task_manager.h base::string16 GetResourceWebCoreImageCacheSize(int index) const; base 180 chrome/browser/task_manager/task_manager.h base::string16 GetResourceWebCoreScriptsCacheSize(int index) const; base 181 chrome/browser/task_manager/task_manager.h base::string16 GetResourceWebCoreCSSCacheSize(int index) const; base 182 chrome/browser/task_manager/task_manager.h base::string16 GetResourceVideoMemory(int index) const; base 183 chrome/browser/task_manager/task_manager.h base::string16 GetResourceFPS(int index) const; base 184 chrome/browser/task_manager/task_manager.h base::string16 GetResourceSqliteMemoryUsed(int index) const; base 185 chrome/browser/task_manager/task_manager.h base::string16 GetResourceIdleWakeupsPerSecond(int index) const; base 186 chrome/browser/task_manager/task_manager.h base::string16 GetResourceGoatsTeleported(int index) const; base 187 chrome/browser/task_manager/task_manager.h base::string16 GetResourceV8MemoryAllocatedSize(int index) const; base 306 chrome/browser/task_manager/task_manager.h base::ProcessId renderer_id, base 309 chrome/browser/task_manager/task_manager.h void NotifyFPS(base::ProcessId renderer_id, base 316 chrome/browser/task_manager/task_manager.h void NotifyV8HeapStats(base::ProcessId renderer_id, base 322 chrome/browser/task_manager/task_manager.h void RegisterOnDataReadyCallback(const base::Closure& callback); base 327 chrome/browser/task_manager/task_manager.h friend class base::RefCountedThreadSafe<TaskManagerModel>; base 358 chrome/browser/task_manager/task_manager.h base::string16 title; base 361 chrome/browser/task_manager/task_manager.h base::string16 profile_name; base 367 chrome/browser/task_manager/task_manager.h base::ProcessId process_id; base 421 chrome/browser/task_manager/task_manager.h typedef std::map<base::ProcessHandle, ResourceList*> GroupMap; base 422 chrome/browser/task_manager/task_manager.h typedef std::map<base::ProcessHandle, base::ProcessMetrics*> MetricsMap; base 426 chrome/browser/task_manager/task_manager.h typedef std::map<base::ProcessHandle, PerProcessValues> PerProcessCache; base 487 chrome/browser/task_manager/task_manager.h base::string16 GetMemCellText(int64 number) const; base 492 chrome/browser/task_manager/task_manager.h bool CachePrivateAndSharedMemory(base::ProcessHandle handle) const; base 562 chrome/browser/task_manager/task_manager.h std::vector<base::Closure> on_data_ready_callbacks_; base 59 chrome/browser/task_manager/task_manager_browsertest.cc const base::FilePath::CharType* kTitle1File = FILE_PATH_LITERAL("title1.html"); base 90 chrome/browser/task_manager/task_manager_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 91 chrome/browser/task_manager/task_manager_browsertest.cc base::FilePath(kTitle1File)); base 94 chrome/browser/task_manager/task_manager_browsertest.cc int FindResourceIndex(const base::string16& title) { base 670 chrome/browser/task_manager/task_manager_browsertest.cc std::string test_js = base::StringPrintf( base 31 chrome/browser/task_manager/task_manager_browsertest_util.cc const base::string16& title_pattern) base 84 chrome/browser/task_manager/task_manager_browsertest_util.cc base::MessageLoop::current()->PostTask(FROM_HERE, run_loop_.QuitClosure()); base 111 chrome/browser/task_manager/task_manager_browsertest_util.cc base::MessageLoop::current()->PostTask(FROM_HERE, run_loop_.QuitClosure()); base 119 chrome/browser/task_manager/task_manager_browsertest_util.cc << base::UTF16ToASCII(title_pattern_) << "\"\n"; base 125 chrome/browser/task_manager/task_manager_browsertest_util.cc << " > " << base::UTF16ToASCII(model_->GetResourceTitle(i)) << "\n"; base 132 chrome/browser/task_manager/task_manager_browsertest_util.cc const base::string16 title_pattern_; base 133 chrome/browser/task_manager/task_manager_browsertest_util.cc base::RunLoop run_loop_; base 134 chrome/browser/task_manager/task_manager_browsertest_util.cc base::OneShotTimer<ResourceChangeObserver> timer_; base 140 chrome/browser/task_manager/task_manager_browsertest_util.cc const base::string16& title_pattern) { base 149 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchTab(const char* title) { base 151 chrome/browser/task_manager/task_manager_browsertest_util.cc base::ASCIIToUTF16(title)); base 154 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchAnyTab() { return MatchTab("*"); } base 156 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchAboutBlankTab() { return MatchTab("about:blank"); } base 158 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchExtension(const char* title) { base 160 chrome/browser/task_manager/task_manager_browsertest_util.cc base::ASCIIToUTF16(title)); base 163 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchAnyExtension() { return MatchExtension("*"); } base 165 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchApp(const char* title) { base 167 chrome/browser/task_manager/task_manager_browsertest_util.cc base::ASCIIToUTF16(title)); base 170 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchAnyApp() { return MatchApp("*"); } base 172 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchWebView(const char* title) { base 174 chrome/browser/task_manager/task_manager_browsertest_util.cc base::ASCIIToUTF16(title)); base 177 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchAnyWebView() { return MatchWebView("*"); } base 179 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchBackground(const char* title) { base 181 chrome/browser/task_manager/task_manager_browsertest_util.cc base::ASCIIToUTF16(title)); base 184 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchAnyBackground() { return MatchBackground("*"); } base 186 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchPrint(const char* title) { base 188 chrome/browser/task_manager/task_manager_browsertest_util.cc base::ASCIIToUTF16(title)); base 191 chrome/browser/task_manager/task_manager_browsertest_util.cc base::string16 MatchAnyPrint() { return MatchPrint("*"); } base 22 chrome/browser/task_manager/task_manager_browsertest_util.h const base::string16& title_pattern); base 25 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchTab(const char* title); // "Tab: " + title base 26 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchAnyTab(); // "Tab: *" base 27 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchAboutBlankTab(); // "Tab: about:blank" base 28 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchExtension(const char* title); // "Extension: " + title base 29 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchAnyExtension(); // "Extension: *" base 30 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchApp(const char* title); // "App: " + title base 31 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchAnyApp(); // "App: *" base 32 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchWebView(const char* title); // "WebView: " + title base 33 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchAnyWebView(); // "WebView: *" base 34 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchBackground(const char* title); // "Background: " + title base 35 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchAnyBackground(); // "Background: *" base 36 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchPrint(const char* title); // "Print: " + title base 37 chrome/browser/task_manager/task_manager_browsertest_util.h base::string16 MatchAnyPrint(); // "Print: *" base 37 chrome/browser/task_manager/task_manager_notification_browsertest.cc base::string16 GetTitle(const char* ascii_name) { base 39 chrome/browser/task_manager/task_manager_notification_browsertest.cc base::ASCIIToUTF16(ascii_name)); base 63 chrome/browser/task_manager/task_manager_notification_browsertest.cc base::string16 content = DesktopNotificationService::CreateDataUrl( base 64 chrome/browser/task_manager/task_manager_notification_browsertest.cc GURL(), base::ASCIIToUTF16("Hello World!"), base::string16(), base 70 chrome/browser/task_manager/task_manager_notification_browsertest.cc GURL(), GURL(content), base::ASCIIToUTF16("Test 0"), base::string16(), base 82 chrome/browser/task_manager/task_manager_notification_browsertest.cc GURL(), GURL(content), base::ASCIIToUTF16("Test 1"), base::string16(), base 86 chrome/browser/task_manager/task_manager_notification_browsertest.cc GURL(), GURL(content), base::ASCIIToUTF16("Test 2"), base::string16(), base 18 chrome/browser/task_manager/task_manager_unittest.cc using base::ASCIIToUTF16; base 35 chrome/browser/task_manager/task_manager_unittest.cc virtual base::string16 GetTitle() const OVERRIDE { base 38 chrome/browser/task_manager/task_manager_unittest.cc virtual base::string16 GetProfileName() const OVERRIDE { base 42 chrome/browser/task_manager/task_manager_unittest.cc virtual base::ProcessHandle GetProcess() const OVERRIDE { base 43 chrome/browser/task_manager/task_manager_unittest.cc return base::GetCurrentProcessHandle(); base 48 chrome/browser/task_manager/task_manager_unittest.cc return static_cast<int>(base::GetCurrentProcId()); base 115 chrome/browser/task_manager/task_manager_unittest.cc base::MessageLoop loop; base 47 chrome/browser/task_manager/task_manager_util.cc base::string16 GetProfileNameFromInfoCache(Profile* profile) { base 55 chrome/browser/task_manager/task_manager_util.cc return base::string16(); base 60 chrome/browser/task_manager/task_manager_util.cc base::string16 GetTitleFromWebContents(content::WebContents* web_contents) { base 63 chrome/browser/task_manager/task_manager_util.cc base::string16 title = web_contents->GetTitle(); base 66 chrome/browser/task_manager/task_manager_util.cc title = base::UTF8ToUTF16(url.spec()); base 68 chrome/browser/task_manager/task_manager_util.cc title = base::i18n::GetDisplayStringInLTRDirectionality(title); base 79 chrome/browser/task_manager/task_manager_util.cc base::i18n::AdjustStringForLocaleDirection(&title); base 30 chrome/browser/task_manager/task_manager_util.h base::string16 GetProfileNameFromInfoCache(Profile* profile); base 33 chrome/browser/task_manager/task_manager_util.h base::string16 GetTitleFromWebContents(content::WebContents* web_contents); base 28 chrome/browser/task_manager/web_contents_information.h typedef base::Callback<void(content::WebContents*)> NewWebContentsCallback; base 94 chrome/browser/task_manager/web_contents_resource_provider.cc base::Bind(&WebContentsResourceProvider::OnWebContentsCreated, this); base 39 chrome/browser/task_manager/worker_resource_provider.cc const base::string16& name, base 42 chrome/browser/task_manager/worker_resource_provider.cc base::ProcessHandle process_handle); base 47 chrome/browser/task_manager/worker_resource_provider.cc void UpdateProcessHandle(base::ProcessHandle handle); base 48 chrome/browser/task_manager/worker_resource_provider.cc base::ProcessHandle handle() const { return handle_; } base 53 chrome/browser/task_manager/worker_resource_provider.cc virtual base::string16 GetTitle() const OVERRIDE; base 54 chrome/browser/task_manager/worker_resource_provider.cc virtual base::string16 GetProfileName() const OVERRIDE; base 56 chrome/browser/task_manager/worker_resource_provider.cc virtual base::ProcessHandle GetProcess() const OVERRIDE; base 67 chrome/browser/task_manager/worker_resource_provider.cc base::string16 title_; base 68 chrome/browser/task_manager/worker_resource_provider.cc base::ProcessHandle handle_; base 79 chrome/browser/task_manager/worker_resource_provider.cc const base::string16& name, base 82 chrome/browser/task_manager/worker_resource_provider.cc base::ProcessHandle process_handle) base 86 chrome/browser/task_manager/worker_resource_provider.cc title_ = base::UTF8ToUTF16(url.spec()); base 88 chrome/browser/task_manager/worker_resource_provider.cc title_ += base::ASCIIToUTF16(" (") + name + base::ASCIIToUTF16(")"); base 99 chrome/browser/task_manager/worker_resource_provider.cc void SharedWorkerResource::UpdateProcessHandle(base::ProcessHandle handle) { base 103 chrome/browser/task_manager/worker_resource_provider.cc base::string16 SharedWorkerResource::GetTitle() const { base 107 chrome/browser/task_manager/worker_resource_provider.cc base::string16 SharedWorkerResource::GetProfileName() const { base 108 chrome/browser/task_manager/worker_resource_provider.cc return base::string16(); base 120 chrome/browser/task_manager/worker_resource_provider.cc base::ProcessHandle SharedWorkerResource::GetProcess() const { base 198 chrome/browser/task_manager/worker_resource_provider.cc BrowserThread::IO, FROM_HERE, base::Bind( base 211 chrome/browser/task_manager/worker_resource_provider.cc BrowserThread::IO, FROM_HERE, base::Bind( base 263 chrome/browser/task_manager/worker_resource_provider.cc const base::string16& name, base 267 chrome/browser/task_manager/worker_resource_provider.cc url, name, process_id, route_id, base::kNullProcessHandle); base 270 chrome/browser/task_manager/worker_resource_provider.cc base::Bind(&WorkerResourceProvider::NotifyWorkerCreated, base 271 chrome/browser/task_manager/worker_resource_provider.cc this, base::Owned(new WorkerResourceHolder(resource)))); base 276 chrome/browser/task_manager/worker_resource_provider.cc BrowserThread::UI, FROM_HERE, base::Bind( base 320 chrome/browser/task_manager/worker_resource_provider.cc base::Bind( base 322 chrome/browser/task_manager/worker_resource_provider.cc this, base::Owned(holder.release()))); base 347 chrome/browser/task_manager/worker_resource_provider.cc if (resource->handle() == base::kNullProcessHandle) { base 52 chrome/browser/task_manager/worker_resource_provider.h const base::string16& name, base 17 chrome/browser/task_profiler/auto_tracking.cc void AutoTracking::set_output_file_path(const base::FilePath &path) { base 28 chrome/browser/task_profiler/auto_tracking.h void set_output_file_path(const base::FilePath &path); base 31 chrome/browser/task_profiler/auto_tracking.h base::FilePath output_file_path_; base 16 chrome/browser/task_profiler/task_profiler_data_serializer.cc using base::DictionaryValue; base 17 chrome/browser/task_profiler/task_profiler_data_serializer.cc using base::ListValue; base 18 chrome/browser/task_profiler/task_profiler_data_serializer.cc using base::Value; base 30 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::DictionaryValue* dictionary) { base 32 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateStringValue(location.file_name)); base 37 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateStringValue(location.function_name)); base 39 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateIntegerValue(location.line_number)); base 46 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::DictionaryValue* dictionary) { base 49 chrome/browser/task_profiler/task_profiler_data_serializer.cc scoped_ptr<base::DictionaryValue> location_value(new base::DictionaryValue); base 54 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateStringValue(birth.thread_name)); base 59 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::DictionaryValue* dictionary) { base 61 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateIntegerValue(death_data.count)); base 63 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateIntegerValue(death_data.run_duration_sum)); base 65 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateIntegerValue(death_data.run_duration_max)); base 67 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateIntegerValue( base 70 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateIntegerValue( base 73 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateIntegerValue( base 76 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateIntegerValue( base 83 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::DictionaryValue* dictionary) { base 86 chrome/browser/task_profiler/task_profiler_data_serializer.cc scoped_ptr<base::DictionaryValue> death_data(new base::DictionaryValue); base 91 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::Value::CreateStringValue(snapshot.death_thread_name)); base 103 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::DictionaryValue* dictionary) { base 104 chrome/browser/task_profiler/task_profiler_data_serializer.cc scoped_ptr<base::ListValue> tasks_list(new base::ListValue); base 108 chrome/browser/task_profiler/task_profiler_data_serializer.cc scoped_ptr<base::DictionaryValue> snapshot(new base::DictionaryValue); base 118 chrome/browser/task_profiler/task_profiler_data_serializer.cc scoped_ptr<base::ListValue> descendants_list(new base::ListValue); base 122 chrome/browser/task_profiler/task_profiler_data_serializer.cc scoped_ptr<base::DictionaryValue> parent_child(new base::DictionaryValue); base 131 chrome/browser/task_profiler/task_profiler_data_serializer.cc bool TaskProfilerDataSerializer::WriteToFile(const base::FilePath& path) { base 136 chrome/browser/task_profiler/task_profiler_data_serializer.cc scoped_ptr<base::DictionaryValue> root(new base::DictionaryValue()); base 138 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::ListValue* snapshot_list = new base::ListValue(); base 139 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::DictionaryValue* shutdown_snapshot = new base::DictionaryValue(); base 140 chrome/browser/task_profiler/task_profiler_data_serializer.cc base::ListValue* per_process_data = new base::ListValue(); base 150 chrome/browser/task_profiler/task_profiler_data_serializer.cc scoped_ptr<base::DictionaryValue> this_process_data_json( base 151 chrome/browser/task_profiler/task_profiler_data_serializer.cc new base::DictionaryValue); base 159 chrome/browser/task_profiler/task_profiler_data_serializer.cc (base::Time::Now() - base::Time::UnixEpoch()).InSeconds()); base 167 chrome/browser/task_profiler/task_profiler_data_serializer.cc return data_size == base::WriteFile(path, output.data(), data_size); base 10 chrome/browser/task_profiler/task_profiler_data_serializer.h namespace base { base 30 chrome/browser/task_profiler/task_profiler_data_serializer.h base::DictionaryValue* dictionary); base 32 chrome/browser/task_profiler/task_profiler_data_serializer.h bool WriteToFile(const base::FilePath& path); base 20 chrome/browser/task_profiler/task_profiler_data_serializer_unittest.cc return base::IntToString(base::GetCurrentProcId()); base 27 chrome/browser/task_profiler/task_profiler_data_serializer_unittest.cc base::DictionaryValue serialized_value; base 32 chrome/browser/task_profiler/task_profiler_data_serializer_unittest.cc base::JSONWriter::Write(&serialized_value, &serialized_json); base 203 chrome/browser/themes/browser_theme_pack.cc base::strcasecmp(key.c_str(), image_table[i].key) == 0) { base 238 chrome/browser/themes/browser_theme_pack.cc bool InputScalesValid(const base::StringPiece& input, base 320 chrome/browser/themes/browser_theme_pack.cc if (base::strcasecmp(key.c_str(), table[i].key) == 0) { base 418 chrome/browser/themes/browser_theme_pack.cc base::RefCountedMemory* ReadFileData(const base::FilePath& path) { base 420 chrome/browser/themes/browser_theme_pack.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 429 chrome/browser/themes/browser_theme_pack.cc return base::RefCountedBytes::TakeVector(&raw_data); base 501 chrome/browser/themes/browser_theme_pack.cc scoped_refptr<base::RefCountedMemory> > PngMap; base 696 chrome/browser/themes/browser_theme_pack.cc const base::FilePath& path, const std::string& expected_id) { base 700 chrome/browser/themes/browser_theme_pack.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 712 chrome/browser/themes/browser_theme_pack.cc base::StringPiece pointer; base 777 chrome/browser/themes/browser_theme_pack.cc bool BrowserThemePack::WriteToDisk(const base::FilePath& path) const { base 780 chrome/browser/themes/browser_theme_pack.cc resources[kHeaderID] = base::StringPiece( base 782 chrome/browser/themes/browser_theme_pack.cc resources[kTintsID] = base::StringPiece( base 785 chrome/browser/themes/browser_theme_pack.cc resources[kColorsID] = base::StringPiece( base 788 chrome/browser/themes/browser_theme_pack.cc resources[kDisplayPropertiesID] = base::StringPiece( base 796 chrome/browser/themes/browser_theme_pack.cc resources[kSourceImagesID] = base::StringPiece( base 867 chrome/browser/themes/browser_theme_pack.cc scoped_refptr<base::RefCountedMemory> memory = base 884 chrome/browser/themes/browser_theme_pack.cc base::RefCountedMemory* BrowserThemePack::GetRawData( base 887 chrome/browser/themes/browser_theme_pack.cc base::RefCountedMemory* memory = NULL; base 952 chrome/browser/themes/browser_theme_pack.cc const base::DictionaryValue* tints_value) { base 966 chrome/browser/themes/browser_theme_pack.cc for (base::DictionaryValue::Iterator iter(*tints_value); !iter.IsAtEnd(); base 968 chrome/browser/themes/browser_theme_pack.cc const base::ListValue* tint_list; base 998 chrome/browser/themes/browser_theme_pack.cc const base::DictionaryValue* colors_value) { base 1020 chrome/browser/themes/browser_theme_pack.cc const base::DictionaryValue* colors_value, base 1023 chrome/browser/themes/browser_theme_pack.cc for (base::DictionaryValue::Iterator iter(*colors_value); !iter.IsAtEnd(); base 1025 chrome/browser/themes/browser_theme_pack.cc const base::ListValue* color_list; base 1115 chrome/browser/themes/browser_theme_pack.cc const base::DictionaryValue* display_properties_value) { base 1126 chrome/browser/themes/browser_theme_pack.cc for (base::DictionaryValue::Iterator iter(*display_properties_value); base 1167 chrome/browser/themes/browser_theme_pack.cc const base::DictionaryValue* images_value, base 1168 chrome/browser/themes/browser_theme_pack.cc const base::FilePath& images_path, base 1173 chrome/browser/themes/browser_theme_pack.cc for (base::DictionaryValue::Iterator iter(*images_value); !iter.IsAtEnd(); base 1175 chrome/browser/themes/browser_theme_pack.cc if (iter.value().IsType(base::Value::TYPE_DICTIONARY)) { base 1176 chrome/browser/themes/browser_theme_pack.cc const base::DictionaryValue* inner_value = NULL; base 1178 chrome/browser/themes/browser_theme_pack.cc for (base::DictionaryValue::Iterator inner_iter(*inner_value); base 1184 chrome/browser/themes/browser_theme_pack.cc inner_iter.value().IsType(base::Value::TYPE_STRING) && base 1193 chrome/browser/themes/browser_theme_pack.cc } else if (iter.value().IsType(base::Value::TYPE_STRING)) { base 1207 chrome/browser/themes/browser_theme_pack.cc const base::FilePath& image_path, base 1238 chrome/browser/themes/browser_theme_pack.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 1266 chrome/browser/themes/browser_theme_pack.cc scoped_refptr<base::RefCountedMemory> raw_data( base 1477 chrome/browser/themes/browser_theme_pack.cc base::RefCountedBytes::TakeVector(&bitmap_data); base 1494 chrome/browser/themes/browser_theme_pack.cc (*out)[it->first] = base::StringPiece( base 1532 chrome/browser/themes/browser_theme_pack.cc if (base::StringToInt(key, &percent)) { base 1612 chrome/browser/themes/browser_theme_pack.cc base::RefCountedBytes::TakeVector(&bitmap_data); base 21 chrome/browser/themes/browser_theme_pack.h namespace base { base 68 chrome/browser/themes/browser_theme_pack.h const base::FilePath& path, const std::string& expected_id); base 79 chrome/browser/themes/browser_theme_pack.h bool WriteToDisk(const base::FilePath& path) const; base 86 chrome/browser/themes/browser_theme_pack.h virtual base::RefCountedMemory* GetRawData( base 97 chrome/browser/themes/browser_theme_pack.h typedef std::map<int, scoped_refptr<base::RefCountedMemory> > RawImages; base 100 chrome/browser/themes/browser_theme_pack.h typedef std::map<uint16, base::StringPiece> RawDataForWriting; base 103 chrome/browser/themes/browser_theme_pack.h typedef std::map<ui::ScaleFactor, base::FilePath> ScaleFactorToFileMap; base 118 chrome/browser/themes/browser_theme_pack.h void BuildTintsFromJSON(const base::DictionaryValue* tints_value); base 122 chrome/browser/themes/browser_theme_pack.h void BuildColorsFromJSON(const base::DictionaryValue* color_value); base 125 chrome/browser/themes/browser_theme_pack.h void ReadColorsFromJSON(const base::DictionaryValue* colors_value, base 131 chrome/browser/themes/browser_theme_pack.h const base::DictionaryValue* display_value); base 134 chrome/browser/themes/browser_theme_pack.h void ParseImageNamesFromJSON(const base::DictionaryValue* images_value, base 135 chrome/browser/themes/browser_theme_pack.h const base::FilePath& images_path, base 141 chrome/browser/themes/browser_theme_pack.h const base::FilePath& image_path, base 28 chrome/browser/themes/browser_theme_pack_unittest.cc typedef std::map<ui::ScaleFactor, base::FilePath> TestScaleFactorToFileMap; base 97 chrome/browser/themes/browser_theme_pack_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 98 chrome/browser/themes/browser_theme_pack_unittest.cc ASSERT_TRUE(value->IsType(base::Value::TYPE_DICTIONARY)); base 99 chrome/browser/themes/browser_theme_pack_unittest.cc LoadColorDictionary(static_cast<base::DictionaryValue*>(value.get())); base 102 chrome/browser/themes/browser_theme_pack_unittest.cc void LoadColorDictionary(base::DictionaryValue* value) { base 107 chrome/browser/themes/browser_theme_pack_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 108 chrome/browser/themes/browser_theme_pack_unittest.cc ASSERT_TRUE(value->IsType(base::Value::TYPE_DICTIONARY)); base 109 chrome/browser/themes/browser_theme_pack_unittest.cc LoadTintDictionary(static_cast<base::DictionaryValue*>(value.get())); base 112 chrome/browser/themes/browser_theme_pack_unittest.cc void LoadTintDictionary(base::DictionaryValue* value) { base 117 chrome/browser/themes/browser_theme_pack_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 118 chrome/browser/themes/browser_theme_pack_unittest.cc ASSERT_TRUE(value->IsType(base::Value::TYPE_DICTIONARY)); base 120 chrome/browser/themes/browser_theme_pack_unittest.cc static_cast<base::DictionaryValue*>(value.get())); base 123 chrome/browser/themes/browser_theme_pack_unittest.cc void LoadDisplayPropertiesDictionary(base::DictionaryValue* value) { base 129 chrome/browser/themes/browser_theme_pack_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 130 chrome/browser/themes/browser_theme_pack_unittest.cc ASSERT_TRUE(value->IsType(base::Value::TYPE_DICTIONARY)); base 131 chrome/browser/themes/browser_theme_pack_unittest.cc ParseImageNamesDictionary(static_cast<base::DictionaryValue*>(value.get()), base 136 chrome/browser/themes/browser_theme_pack_unittest.cc base::DictionaryValue* value, base 138 chrome/browser/themes/browser_theme_pack_unittest.cc theme_pack_->ParseImageNamesFromJSON(value, base::FilePath(), base 152 chrome/browser/themes/browser_theme_pack_unittest.cc void BuildFromUnpackedExtension(const base::FilePath& extension_path, base 154 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath manifest_path = base 158 chrome/browser/themes/browser_theme_pack_unittest.cc scoped_ptr<base::DictionaryValue> valid_value( base 159 chrome/browser/themes/browser_theme_pack_unittest.cc static_cast<base::DictionaryValue*>( base 176 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath GetStarGazingPath() { base 177 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath test_path; base 189 chrome/browser/themes/browser_theme_pack_unittest.cc return base::FilePath(test_path); base 192 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath GetHiDpiThemePath() { base 193 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath test_path; base 200 chrome/browser/themes/browser_theme_pack_unittest.cc return base::FilePath(test_path); base 357 chrome/browser/themes/browser_theme_pack_unittest.cc base::MessageLoop message_loop; base 482 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_TRUE(base::FilePath(FILE_PATH_LITERAL("one")) == base 484 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_TRUE(base::FilePath(FILE_PATH_LITERAL("two")) == base 569 chrome/browser/themes/browser_theme_pack_unittest.cc base::ScopedTempDir dir; base 571 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath file = dir.path().AppendASCII("data.pak"); base 575 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath star_gazing_path = GetStarGazingPath(); base 593 chrome/browser/themes/browser_theme_pack_unittest.cc base::ScopedTempDir dir; base 595 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath file = dir.path().AppendASCII("theme_data.pak"); base 599 chrome/browser/themes/browser_theme_pack_unittest.cc base::FilePath hidpi_path = GetHiDpiThemePath(); base 36 chrome/browser/themes/custom_theme_supplier.cc base::RefCountedMemory* CustomThemeSupplier::GetRawData( base 13 chrome/browser/themes/custom_theme_supplier.h namespace base { base 28 chrome/browser/themes/custom_theme_supplier.h class CustomThemeSupplier : public base::RefCountedThreadSafe< base 63 chrome/browser/themes/custom_theme_supplier.h virtual base::RefCountedMemory* GetRawData( base 75 chrome/browser/themes/custom_theme_supplier.h friend class base::DeleteHelper<CustomThemeSupplier>; base 138 chrome/browser/themes/theme_properties.cc base::SplitStringAlongWhitespace(alignment, &split); base 159 chrome/browser/themes/theme_properties.cc if (base::strcasecmp(component, kTilingRepeatX) == 0) base 161 chrome/browser/themes/theme_properties.cc if (base::strcasecmp(component, kTilingRepeatY) == 0) base 163 chrome/browser/themes/theme_properties.cc if (base::strcasecmp(component, kTilingRepeat) == 0) base 41 chrome/browser/themes/theme_service.cc using base::UserMetricsAction; base 76 chrome/browser/themes/theme_service.cc const base::FilePath& path) { base 223 chrome/browser/themes/theme_service.cc base::RefCountedMemory* ThemeService::GetRawData( base 231 chrome/browser/themes/theme_service.cc base::RefCountedMemory* data = NULL; base 425 chrome/browser/themes/theme_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 426 chrome/browser/themes/theme_service.cc base::Bind(&ThemeService::RemoveUnusedThemes, base 450 chrome/browser/themes/theme_service.cc base::FilePath path = prefs->GetFilePath(prefs::kCurrentThemePackFilename); base 451 chrome/browser/themes/theme_service.cc if (path != base::FilePath()) { base 516 chrome/browser/themes/theme_service.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 517 chrome/browser/themes/theme_service.cc base::Bind(&ThemeService::RemoveUnusedThemes, base 520 chrome/browser/themes/theme_service.cc base::TimeDelta::FromSeconds(kRemoveUnusedThemesStartupDelay)); base 550 chrome/browser/themes/theme_service.cc void ThemeService::SavePackName(const base::FilePath& pack_path) { base 575 chrome/browser/themes/theme_service.cc base::FilePath pack_path = base 579 chrome/browser/themes/theme_service.cc base::Bind(&WritePackToDiskCallback, pack, pack_path)); base 28 chrome/browser/themes/theme_service.h namespace base { base 59 chrome/browser/themes/theme_service.h class ThemeService : public base::NonThreadSafe, base 85 chrome/browser/themes/theme_service.h virtual base::RefCountedMemory* GetRawData( base 145 chrome/browser/themes/theme_service.h typedef std::map<base::FilePath, int> ImagesDiskCache; base 204 chrome/browser/themes/theme_service.h void SavePackName(const base::FilePath& pack_path); base 263 chrome/browser/themes/theme_service.h base::WeakPtrFactory<ThemeService> weak_ptr_factory_; base 54 chrome/browser/themes/theme_service_browsertest.cc EXPECT_EQ(base::FilePath(), base 63 chrome/browser/themes/theme_service_browsertest.cc EXPECT_NE(base::FilePath(), base 71 chrome/browser/themes/theme_service_browsertest.cc base::FilePath()); base 89 chrome/browser/themes/theme_service_factory.cc base::FilePath(), base 35 chrome/browser/themes/theme_service_gtk.cc if (base::i18n::IsRTL() && rtl_enabled) { base 38 chrome/browser/themes/theme_service_unittest.cc std::string LoadUnpackedThemeAt(const base::FilePath& temp_dir) { base 39 chrome/browser/themes/theme_service_unittest.cc base::FilePath dst_manifest_path = temp_dir.AppendASCII("manifest.json"); base 40 chrome/browser/themes/theme_service_unittest.cc base::FilePath test_data_dir; base 42 chrome/browser/themes/theme_service_unittest.cc base::FilePath src_manifest_path = base 44 chrome/browser/themes/theme_service_unittest.cc EXPECT_TRUE(base::CopyFile(src_manifest_path, dst_manifest_path)); base 58 chrome/browser/themes/theme_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 69 chrome/browser/themes/theme_service_unittest.cc const base::FilePath& path = base 80 chrome/browser/themes/theme_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 111 chrome/browser/themes/theme_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 113 chrome/browser/themes/theme_service_unittest.cc base::ScopedTempDir temp_dir; base 132 chrome/browser/themes/theme_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 134 chrome/browser/themes/theme_service_unittest.cc base::ScopedTempDir temp_dir1; base 136 chrome/browser/themes/theme_service_unittest.cc base::ScopedTempDir temp_dir2; base 156 chrome/browser/themes/theme_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 168 chrome/browser/themes/theme_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 180 chrome/browser/themes/theme_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 193 chrome/browser/themes/theme_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 197 chrome/browser/themes/theme_service_unittest.cc base::ScopedTempDir temp_dir1; base 199 chrome/browser/themes/theme_service_unittest.cc base::ScopedTempDir temp_dir2; base 81 chrome/browser/themes/theme_syncable_service.cc base::StringPrintf("Received %d theme specifics.", base 150 chrome/browser/themes/theme_syncable_service.cc string err_msg = base::StringPrintf("Received %d theme changes: ", base 153 chrome/browser/themes/theme_syncable_service.cc base::StringAppendF(&err_msg, "[%s] ", change_list[i].ToString().c_str()); base 87 chrome/browser/themes/theme_syncable_service.h base::ThreadChecker thread_checker_; base 47 chrome/browser/themes/theme_syncable_service_unittest.cc const base::FilePath::CharType kExtensionFilePath[] = base 50 chrome/browser/themes/theme_syncable_service_unittest.cc const base::FilePath::CharType kExtensionFilePath[] = FILE_PATH_LITERAL("/oo"); base 122 chrome/browser/themes/theme_syncable_service_unittest.cc const base::FilePath& extension_path, base 126 chrome/browser/themes/theme_syncable_service_unittest.cc base::DictionaryValue source; base 128 chrome/browser/themes/theme_syncable_service_unittest.cc source.Set(extensions::manifest_keys::kTheme, new base::DictionaryValue()); base 172 chrome/browser/themes/theme_syncable_service_unittest.cc &command_line, base::FilePath(kExtensionFilePath), false); base 179 chrome/browser/themes/theme_syncable_service_unittest.cc theme_extension_ = MakeThemeExtension(base::FilePath(kExtensionFilePath), base 219 chrome/browser/themes/theme_syncable_service_unittest.cc base::MessageLoop loop_; base 458 chrome/browser/themes/theme_syncable_service_unittest.cc 1, entity_specifics, base::Time()))); base 42 chrome/browser/three_d_api_observer.cc virtual base::string16 GetMessageText() const OVERRIDE; base 43 chrome/browser/three_d_api_observer.cc virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 46 chrome/browser/three_d_api_observer.cc virtual base::string16 GetLinkText() const OVERRIDE; base 99 chrome/browser/three_d_api_observer.cc base::string16 ThreeDAPIInfoBarDelegate::GetMessageText() const { base 102 chrome/browser/three_d_api_observer.cc base::string16 api_name; base 116 chrome/browser/three_d_api_observer.cc base::string16 ThreeDAPIInfoBarDelegate::GetButtonLabel( base 139 chrome/browser/three_d_api_observer.cc base::string16 ThreeDAPIInfoBarDelegate::GetLinkText() const { base 92 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc base::Bind(&CreateRetargetedThumbnail, base 97 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)) { base 159 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc base::TimeTicks begin_compute_thumbnail = base::TimeTicks::Now(); base 184 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc base::TimeTicks::Now() - begin_compute_thumbnail); base 198 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc base::Bind(&CallbackInvocationAdapter, callback, context, thumbnail)); base 151 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc base::MessageLoopForUI message_loop; base 158 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc base::Bind(&ConsumerCallbackCatcher::UiThreadCallback, base 159 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc base::Unretained(&catcher))); base 199 chrome/browser/thumbnails/simple_thumbnail_crop.cc base::TimeTicks begin_compute_thumbnail = base::TimeTicks::Now(); base 243 chrome/browser/thumbnails/simple_thumbnail_crop.cc base::TimeTicks::Now() - begin_compute_thumbnail); base 14 chrome/browser/thumbnails/thumbnail_service.h namespace base { base 51 chrome/browser/thumbnails/thumbnail_service.h scoped_refptr<base::RefCountedMemory>* bytes) = 0; base 40 chrome/browser/thumbnails/thumbnail_service_impl.cc top_sites->AddForcedURL(url, base::Time::Now()); base 67 chrome/browser/thumbnails/thumbnail_service_impl.cc scoped_refptr<base::RefCountedMemory>* bytes) { base 82 chrome/browser/thumbnails/thumbnail_service_impl.cc base::Bind(AddForcedURLOnUIThread, local_ptr, url)); base 13 chrome/browser/thumbnails/thumbnail_service_impl.h namespace base { base 32 chrome/browser/thumbnails/thumbnail_service_impl.h scoped_refptr<base::RefCountedMemory>* bytes) OVERRIDE; base 84 chrome/browser/thumbnails/thumbnail_service_unittest.cc base::ScopedTempDir temp_dir; base 102 chrome/browser/thumbnails/thumbnail_service_unittest.cc bad_score.time_at_snapshot = base::Time::UnixEpoch(); // Ancient time stamp. base 116 chrome/browser/thumbnails/thumbnail_service_unittest.cc good_score.time_at_snapshot = base::Time::Now(); // Very new. base 75 chrome/browser/thumbnails/thumbnail_tab_helper.cc algorithm->ProcessBitmap(context, base::Bind(&UpdateThumbnail), bitmap); base 78 chrome/browser/thumbnails/thumbnail_tab_helper.cc void GotSnapshotFromRenderer(base::Callback<void(const SkBitmap&)> callback, base 100 chrome/browser/thumbnails/thumbnail_tab_helper.cc base::Bind(GotSnapshotFromRenderer, base::Bind( base 102 chrome/browser/thumbnails/thumbnail_tab_helper.cc algorithm, context, base::Bind(&UpdateThumbnail)))); base 124 chrome/browser/thumbnails/thumbnail_tab_helper.cc base::Bind(&ProcessCapturedBitmap, context, algorithm), base 21 chrome/browser/thumbnails/thumbnailing_algorithm.h : public base::RefCountedThreadSafe<ThumbnailingAlgorithm> { base 23 chrome/browser/thumbnails/thumbnailing_algorithm.h typedef base::Callback<void(const ThumbnailingContext&, const SkBitmap&)> base 50 chrome/browser/thumbnails/thumbnailing_algorithm.h friend class base::RefCountedThreadSafe<ThumbnailingAlgorithm>; base 37 chrome/browser/thumbnails/thumbnailing_context.h struct ThumbnailingContext : base::RefCountedThreadSafe<ThumbnailingContext> { base 57 chrome/browser/thumbnails/thumbnailing_context.h friend class base::RefCountedThreadSafe<ThumbnailingContext>; base 31 chrome/browser/translate/options_menu_model.cc base::string16 original_language = translate_delegate->language_name_at( base 33 chrome/browser/translate/options_menu_model.cc base::string16 target_language = translate_delegate->language_name_at( base 32 chrome/browser/translate/translate_browsertest.cc const base::FilePath::CharType kTranslateRoot[] = base 54 chrome/browser/translate/translate_browsertest.cc base::FilePath(kTranslateRoot)), base 152 chrome/browser/translate/translate_browsertest.cc content::TitleWatcher watcher(web_contents, base::ASCIIToUTF16("PASS")); base 153 chrome/browser/translate/translate_browsertest.cc watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 194 chrome/browser/translate/translate_browsertest.cc const base::string16 result = watcher.WaitAndGetTitle(); base 195 chrome/browser/translate/translate_browsertest.cc EXPECT_EQ("PASS", base::UTF16ToASCII(result)); base 215 chrome/browser/translate/translate_browsertest.cc content::TitleWatcher watcher(web_contents, base::ASCIIToUTF16("PASS")); base 216 chrome/browser/translate/translate_browsertest.cc watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 224 chrome/browser/translate/translate_browsertest.cc const base::string16 result = watcher.WaitAndGetTitle(); base 225 chrome/browser/translate/translate_browsertest.cc EXPECT_EQ("PASS", base::UTF16ToASCII(result)); base 250 chrome/browser/translate/translate_browsertest.cc content::TitleWatcher watcher(web_contents, base::ASCIIToUTF16("PASS")); base 251 chrome/browser/translate/translate_browsertest.cc watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 259 chrome/browser/translate/translate_browsertest.cc const base::string16 result = watcher.WaitAndGetTitle(); base 260 chrome/browser/translate/translate_browsertest.cc EXPECT_EQ("PASS", base::UTF16ToASCII(result)); base 284 chrome/browser/translate/translate_browsertest.cc content::TitleWatcher watcher(web_contents, base::ASCIIToUTF16("PASS")); base 285 chrome/browser/translate/translate_browsertest.cc watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 293 chrome/browser/translate/translate_browsertest.cc const base::string16 result = watcher.WaitAndGetTitle(); base 294 chrome/browser/translate/translate_browsertest.cc EXPECT_EQ("PASS", base::UTF16ToASCII(result)); base 318 chrome/browser/translate/translate_browsertest.cc content::TitleWatcher watcher(web_contents, base::ASCIIToUTF16("PASS")); base 319 chrome/browser/translate/translate_browsertest.cc watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 327 chrome/browser/translate/translate_browsertest.cc const base::string16 result = watcher.WaitAndGetTitle(); base 328 chrome/browser/translate/translate_browsertest.cc EXPECT_EQ("PASS", base::UTF16ToASCII(result)); base 352 chrome/browser/translate/translate_browsertest.cc content::TitleWatcher watcher(web_contents, base::ASCIIToUTF16("PASS")); base 353 chrome/browser/translate/translate_browsertest.cc watcher.AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); base 361 chrome/browser/translate/translate_browsertest.cc const base::string16 result = watcher.WaitAndGetTitle(); base 362 chrome/browser/translate/translate_browsertest.cc EXPECT_EQ("PASS", base::UTF16ToASCII(result)); base 202 chrome/browser/translate/translate_infobar_delegate.cc base::string16 TranslateInfoBarDelegate::GetMessageInfoBarText() { base 204 chrome/browser/translate/translate_infobar_delegate.cc base::string16 target_language_name = base 236 chrome/browser/translate/translate_infobar_delegate.cc return base::string16(); base 240 chrome/browser/translate/translate_infobar_delegate.cc base::string16 TranslateInfoBarDelegate::GetMessageInfoBarButtonText() { base 249 chrome/browser/translate/translate_infobar_delegate.cc return base::string16(); base 285 chrome/browser/translate/translate_infobar_delegate.cc base::string16 TranslateInfoBarDelegate::GetLanguageDisplayableName( base 293 chrome/browser/translate/translate_infobar_delegate.cc std::vector<base::string16>* strings, base 300 chrome/browser/translate/translate_infobar_delegate.cc base::string16 text = l10n_util::GetStringFUTF16( base 302 chrome/browser/translate/translate_infobar_delegate.cc base::string16(), base 312 chrome/browser/translate/translate_infobar_delegate.cc base::string16 text = l10n_util::GetStringFUTF16( base 313 chrome/browser/translate/translate_infobar_delegate.cc IDS_TRANSLATE_INFOBAR_AFTER_MESSAGE, base::string16(), base::string16(), base 66 chrome/browser/translate/translate_infobar_delegate.h base::string16 language_name_at(size_t index) const { base 133 chrome/browser/translate/translate_infobar_delegate.h base::string16 GetMessageInfoBarText(); base 134 chrome/browser/translate/translate_infobar_delegate.h base::string16 GetMessageInfoBarButtonText(); base 148 chrome/browser/translate/translate_infobar_delegate.h static base::string16 GetLanguageDisplayableName( base 163 chrome/browser/translate/translate_infobar_delegate.h static void GetAfterTranslateStrings(std::vector<base::string16>* strings, base 179 chrome/browser/translate/translate_infobar_delegate.h typedef std::pair<std::string, base::string16> LanguageNamePair; base 159 chrome/browser/translate/translate_manager.cc base::MessageLoop::current()->PostTask( base 161 chrome/browser/translate/translate_manager.cc base::Bind( base 276 chrome/browser/translate/translate_manager.cc base::SplitString(prefs->GetString(accept_languages_pref_name_.c_str()), ',', base 370 chrome/browser/translate/translate_manager.cc base::MessageLoop::current()->PostDelayedTask( base 371 chrome/browser/translate/translate_manager.cc FROM_HERE, base::Bind(&TranslateManager::InitiateTranslationPosted, base 374 chrome/browser/translate/translate_manager.cc base::TimeDelta::FromMilliseconds(backoff)); base 418 chrome/browser/translate/translate_manager.cc base::Bind(&TranslateManager::OnTranslateScriptFetchComplete, base 508 chrome/browser/translate/translate_manager.cc error_details.time = base::Time::Now(); base 543 chrome/browser/translate/translate_manager.cc error_details.time = base::Time::Now(); base 90 chrome/browser/translate/translate_manager.h typedef base::Callback<void(const TranslateErrorDetails&)> base 92 chrome/browser/translate/translate_manager.h typedef base::CallbackList<void(const TranslateErrorDetails&)> base 136 chrome/browser/translate/translate_manager.h base::WeakPtrFactory<TranslateManager> weak_method_factory_; base 44 chrome/browser/translate/translate_manager_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("french_page.html"))); base 90 chrome/browser/translate/translate_manager_render_view_host_unittest.cc base::Bind(&TranslateManagerRenderViewHostTest::OnPreferenceChanged, base 91 chrome/browser/translate/translate_manager_render_view_host_unittest.cc base::Unretained(this))) {} base 216 chrome/browser/translate/translate_manager_render_view_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 319 chrome/browser/translate/translate_manager_render_view_host_unittest.cc base::StringPrintf("%s{\"sl\": {\"bla\": \"bla\"}, \"%s\": {", base 324 chrome/browser/translate/translate_manager_render_view_host_unittest.cc data += base::StringPrintf( base 331 chrome/browser/translate/translate_manager_render_view_host_unittest.cc data += base::StringPrintf("},\"%s\": {", base 335 chrome/browser/translate/translate_manager_render_view_host_unittest.cc data += base::StringPrintf( base 804 chrome/browser/translate/translate_manager_render_view_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1414 chrome/browser/translate/translate_manager_render_view_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 107 chrome/browser/translate/translate_service.cc base::SplitString(prefs->GetString(prefs::kAcceptLanguages), ',', base 41 chrome/browser/translate/translate_tab_helper.cc base::File* TranslateTabHelper::s_cached_file_ = NULL; base 44 chrome/browser/translate/translate_tab_helper.cc base::LazyInstance<base::Lock> TranslateTabHelper::s_file_lock_ = base 191 chrome/browser/translate/translate_tab_helper.cc base::File* handle = NULL; base 195 chrome/browser/translate/translate_tab_helper.cc base::AutoLock lock(s_file_lock_.Get()); base 215 chrome/browser/translate/translate_tab_helper.cc base::Bind(&TranslateTabHelper::HandleCLDDataRequest), base 216 chrome/browser/translate/translate_tab_helper.cc base::Bind(&TranslateTabHelper::MaybeSendCLDDataAvailable, base 221 chrome/browser/translate/translate_tab_helper.cc base::File* handle = NULL; base 225 chrome/browser/translate/translate_tab_helper.cc base::AutoLock lock(s_file_lock_.Get()); base 235 chrome/browser/translate/translate_tab_helper.cc void TranslateTabHelper::SendCLDDataAvailable(const base::File* handle, base 262 chrome/browser/translate/translate_tab_helper.cc base::AutoLock lock(s_file_lock_.Get()); base 267 chrome/browser/translate/translate_tab_helper.cc base::FilePath path; base 276 chrome/browser/translate/translate_tab_helper.cc if (!base::PathExists(path)) base 280 chrome/browser/translate/translate_tab_helper.cc scoped_ptr<base::File> file( base 281 chrome/browser/translate/translate_tab_helper.cc new base::File(path, base::File::FLSG_OPEN | base::File::FLAG_READ); base 287 chrome/browser/translate/translate_tab_helper.cc base::File::Info file_info; base 300 chrome/browser/translate/translate_tab_helper.cc base::AutoLock lock(s_file_lock_.Get()); base 26 chrome/browser/translate/translate_tab_helper.h namespace base { base 136 chrome/browser/translate/translate_tab_helper.h void SendCLDDataAvailable(const base::File* handle, base 142 chrome/browser/translate/translate_tab_helper.h base::WeakPtrFactory<TranslateTabHelper> weak_pointer_factory_; base 146 chrome/browser/translate/translate_tab_helper.h static base::File* s_cached_file_; // guarded by file_lock_ base 151 chrome/browser/translate/translate_tab_helper.h static base::LazyInstance<base::Lock> s_file_lock_; base 61 chrome/browser/translate/translate_ui_delegate.cc base::string16 language_name = l10n_util::GetDisplayNameForLocale( base 66 chrome/browser/translate/translate_ui_delegate.cc if (base::i18n::CompareString16WithCollator(collator.get(), base 138 chrome/browser/translate/translate_ui_delegate.cc base::string16 TranslateUIDelegate::GetLanguageNameAt(size_t index) const { base 140 chrome/browser/translate/translate_ui_delegate.cc return base::string16(); base 60 chrome/browser/translate/translate_ui_delegate.h base::string16 GetLanguageNameAt(size_t index) const; base 104 chrome/browser/translate/translate_ui_delegate.h typedef std::pair<std::string, base::string16> LanguageNamePair; base 20 chrome/browser/ui/android/android_about_app_info.cc base::SysInfo::OperatingSystemVersionNumbers(&os_major_version, base 23 chrome/browser/ui/android/android_about_app_info.cc base::StringAppendF(&android_info_str, "%d.%d.%d", os_major_version, base 28 chrome/browser/ui/android/android_about_app_info.cc std::string android_build_codename = base::SysInfo::GetAndroidBuildCodename(); base 29 chrome/browser/ui/android/android_about_app_info.cc std::string android_device_name = base::SysInfo::GetDeviceName(); base 36 chrome/browser/ui/android/android_about_app_info.cc std::string android_build_id = base::SysInfo::GetAndroidBuildID(); base 60 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::string16 NullGetInfo(const AutofillType& type) { base 61 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc return base::string16(); base 70 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const base::string16& email_address) { base 76 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::Callback<base::string16(const AutofillType&)> get_info = base 77 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::Bind(&FullWallet::GetInfo, base 78 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::Unretained(full_wallet), base 92 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const base::string16& email_address) { base 98 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::Bind(common::ServerTypeMatchesField, section), base 141 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::WeakPtr<AutofillDialogController> AutofillDialogControllerAndroid::Create( base 145 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const base::Callback<void(const FormStructure*)>& callback) { base 157 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::WeakPtr<AutofillDialogController> base 162 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const base::Callback<void(const FormStructure*)>& callback) { base 185 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 190 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 191 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc dialog_shown_timestamp_ = base::Time::Now(); base 254 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::Bind(common::ServerTypeMatchesField, SECTION_SHIPPING), base 255 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::Bind(NullGetInfo), base 262 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::string16 last_used_account_name; base 267 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const base::DictionaryValue* defaults = base 285 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::android::ConvertUTF16ToJavaString( base 288 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::android::ConvertUTF8ToJavaString( base 291 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::android::ConvertUTF8ToJavaString( base 294 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::android::ConvertUTF8ToJavaString( base 297 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::android::ConvertUTF8ToJavaString( base 339 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const base::string16 email = base 344 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const base::string16 last_used_account_name = base 345 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::android::ConvertJavaStringToUTF16(env, jlast_used_account_name); base 347 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::android::ConvertJavaStringToUTF8(env, jlast_used_billing); base 349 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::android::ConvertJavaStringToUTF8(env, jlast_used_shipping); base 351 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::android::ConvertJavaStringToUTF8(env, jlast_used_card); base 363 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::DictionaryValue* defaults = updater.Get(); base 393 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const base::Callback<void(const FormStructure*)>& callback) base 409 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::Time::Now() - dialog_shown_timestamp_, base 417 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc base::Time::Now() - dialog_shown_timestamp_, base 25 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h static base::WeakPtr<AutofillDialogController> Create( base 29 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h const base::Callback<void(const FormStructure*)>& callback); base 57 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h const base::Callback<void(const FormStructure*)>& callback); base 77 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h base::Time dialog_shown_timestamp_; base 90 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h base::Callback<void(const FormStructure*)> callback_; base 96 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h base::WeakPtrFactory<AutofillDialogControllerAndroid> base 103 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h base::android::ScopedJavaGlobalRef<jobject> java_object_; base 26 chrome/browser/ui/android/autofill/autofill_dialog_result.cc return str ? base::android::ConvertJavaStringToUTF8(env, str) : std::string(); base 29 chrome/browser/ui/android/autofill/autofill_dialog_result.cc base::string16 ConvertNullOrJavaStringToUTF16(JNIEnv* env, jstring str) { base 30 chrome/browser/ui/android/autofill/autofill_dialog_result.cc return str ? base::android::ConvertJavaStringToUTF16(env, str) base 31 chrome/browser/ui/android/autofill/autofill_dialog_result.cc : base::string16(); base 46 chrome/browser/ui/android/autofill/autofill_dialog_result.cc const base::string16 recipient_name = base 48 chrome/browser/ui/android/autofill/autofill_dialog_result.cc std::vector<base::string16> address_lines; base 53 chrome/browser/ui/android/autofill/autofill_dialog_result.cc const base::string16 locality_name = base 55 chrome/browser/ui/android/autofill/autofill_dialog_result.cc const base::string16 administrative_area_name = base 57 chrome/browser/ui/android/autofill/autofill_dialog_result.cc const base::string16 postal_code_number = base 59 chrome/browser/ui/android/autofill/autofill_dialog_result.cc const base::string16 phone_number = base 66 chrome/browser/ui/android/autofill/autofill_dialog_result.cc const base::string16 dependent_locality_name; base 67 chrome/browser/ui/android/autofill/autofill_dialog_result.cc const base::string16 sorting_code; base 108 chrome/browser/ui/android/autofill/autofill_dialog_result.cc base::string16 ParseWalletEmail(JNIEnv* env, jobject wallet) { base 128 chrome/browser/ui/android/autofill/autofill_dialog_result.cc base::string16 AutofillDialogResult::GetWalletEmail( base 34 chrome/browser/ui/android/autofill/autofill_dialog_result.h static base::string16 GetWalletEmail(JNIEnv* env, jobject wallet); base 12 chrome/browser/ui/android/autofill/autofill_logger_android.cc const base::string16& autofilled_value, base 13 chrome/browser/ui/android/autofill/autofill_logger_android.cc const base::string16& profile_full_name) { base 14 chrome/browser/ui/android/autofill/autofill_logger_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 16 chrome/browser/ui/android/autofill/autofill_logger_android.cc base::android::ConvertUTF16ToJavaString(env, autofilled_value); base 18 chrome/browser/ui/android/autofill/autofill_logger_android.cc base::android::ConvertUTF16ToJavaString(env, profile_full_name); base 20 chrome/browser/ui/android/autofill/autofill_logger_android.h static void DidFillOrPreviewField(const base::string16& autofilled_value, base 21 chrome/browser/ui/android/autofill/autofill_logger_android.h const base::string16& profile_full_name); base 26 chrome/browser/ui/android/autofill/autofill_popup_view_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 41 chrome/browser/ui/android/autofill/autofill_popup_view_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 47 chrome/browser/ui/android/autofill/autofill_popup_view_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 63 chrome/browser/ui/android/autofill/autofill_popup_view_android.cc base::android::ConvertUTF16ToJavaString(env, controller_->names()[i]); base 65 chrome/browser/ui/android/autofill/autofill_popup_view_android.cc base::android::ConvertUTF16ToJavaString(env, base 49 chrome/browser/ui/android/autofill/autofill_popup_view_android.h base::android::ScopedJavaGlobalRef<jobject> java_object_; base 14 chrome/browser/ui/android/certificate_viewer_android.cc using base::android::ConvertUTF8ToJavaString; base 15 chrome/browser/ui/android/certificate_viewer_android.cc using base::android::ScopedJavaLocalRef; base 18 chrome/browser/ui/android/chrome_http_auth_handler.cc using base::android::AttachCurrentThread; base 19 chrome/browser/ui/android/chrome_http_auth_handler.cc using base::android::CheckException; base 20 chrome/browser/ui/android/chrome_http_auth_handler.cc using base::android::ConvertJavaStringToUTF16; base 21 chrome/browser/ui/android/chrome_http_auth_handler.cc using base::android::ConvertUTF16ToJavaString; base 22 chrome/browser/ui/android/chrome_http_auth_handler.cc using base::android::ScopedJavaLocalRef; base 24 chrome/browser/ui/android/chrome_http_auth_handler.cc ChromeHttpAuthHandler::ChromeHttpAuthHandler(const base::string16& explanation) base 47 chrome/browser/ui/android/chrome_http_auth_handler.cc const base::string16& username, base 48 chrome/browser/ui/android/chrome_http_auth_handler.cc const base::string16& password) { base 50 chrome/browser/ui/android/chrome_http_auth_handler.cc JNIEnv* env = base::android::AttachCurrentThread(); base 65 chrome/browser/ui/android/chrome_http_auth_handler.cc base::string16 username16 = ConvertJavaStringToUTF16(env, username); base 66 chrome/browser/ui/android/chrome_http_auth_handler.cc base::string16 password16 = ConvertJavaStringToUTF16(env, password); base 20 chrome/browser/ui/android/chrome_http_auth_handler.h ChromeHttpAuthHandler(const base::string16& explanation); base 38 chrome/browser/ui/android/chrome_http_auth_handler.h const base::string16& username, base 39 chrome/browser/ui/android/chrome_http_auth_handler.h const base::string16& password); base 52 chrome/browser/ui/android/chrome_http_auth_handler.h base::android::ScopedJavaLocalRef<jstring> GetMessageTitle( base 54 chrome/browser/ui/android/chrome_http_auth_handler.h base::android::ScopedJavaLocalRef<jstring> GetMessageBody( base 56 chrome/browser/ui/android/chrome_http_auth_handler.h base::android::ScopedJavaLocalRef<jstring> GetUsernameLabelText( base 58 chrome/browser/ui/android/chrome_http_auth_handler.h base::android::ScopedJavaLocalRef<jstring> GetPasswordLabelText( base 60 chrome/browser/ui/android/chrome_http_auth_handler.h base::android::ScopedJavaLocalRef<jstring> GetOkButtonText( base 62 chrome/browser/ui/android/chrome_http_auth_handler.h base::android::ScopedJavaLocalRef<jstring> GetCancelButtonText( base 68 chrome/browser/ui/android/chrome_http_auth_handler.h base::android::ScopedJavaGlobalRef<jobject> java_chrome_http_auth_handler_; base 70 chrome/browser/ui/android/chrome_http_auth_handler.h base::string16 explanation_; base 67 chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc scoped_ptr<base::Value> setting( base 78 chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc base::string16 PopupBlockedInfoBarDelegate::GetMessageText() const { base 90 chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc base::string16 PopupBlockedInfoBarDelegate::GetButtonLabel( base 33 chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 35 chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 16 chrome/browser/ui/android/context_menu_helper.cc using base::android::ConvertUTF8ToJavaString; base 17 chrome/browser/ui/android/context_menu_helper.cc using base::android::ConvertUTF16ToJavaString; base 18 chrome/browser/ui/android/context_menu_helper.cc using base::android::ScopedJavaLocalRef; base 24 chrome/browser/ui/android/context_menu_helper.cc JNIEnv* env = base::android::AttachCurrentThread(); base 32 chrome/browser/ui/android/context_menu_helper.cc JNIEnv* env = base::android::AttachCurrentThread(); base 44 chrome/browser/ui/android/context_menu_helper.cc JNIEnv* env = base::android::AttachCurrentThread(); base 56 chrome/browser/ui/android/context_menu_helper.cc const base::Callback<void(int)>& callback) { base 62 chrome/browser/ui/android/context_menu_helper.cc JNIEnv* env = base::android::AttachCurrentThread(); base 66 chrome/browser/ui/android/context_menu_helper.cc base::android::ScopedJavaLocalRef<jobject> base 72 chrome/browser/ui/android/context_menu_helper.cc JNIEnv* env = base::android::AttachCurrentThread(); base 73 chrome/browser/ui/android/context_menu_helper.cc base::android::ScopedJavaLocalRef<jobject> jmenu_info = base 28 chrome/browser/ui/android/context_menu_helper.h const base::Callback<void(int)>& callback); base 41 chrome/browser/ui/android/context_menu_helper.h static base::android::ScopedJavaLocalRef<jobject> CreateJavaContextMenuParams( base 44 chrome/browser/ui/android/context_menu_helper.h base::android::ScopedJavaGlobalRef<jobject> java_obj_; base 47 chrome/browser/ui/android/context_menu_helper.h base::Callback<void(int)> context_menu_callback_; base 22 chrome/browser/ui/android/extensions/extension_install_dialog_android.cc return base::Bind(&ShowExtensionInstallDialogImpl); base 21 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc using base::android::ConvertUTF8ToJavaString; base 22 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc using base::android::ScopedJavaLocalRef; base 38 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 50 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc user_ = base::android::ConvertJavaStringToUTF8( base 57 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc base::string16 AutoLoginInfoBarDelegateAndroid::GetMessageText() const { base 59 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc base::UTF8ToUTF16(user_)); base 63 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 75 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 97 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc GURL(base::android::ConvertJavaStringToUTF8(env, result)), base 20 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.h virtual base::string16 GetMessageText() const OVERRIDE; base 34 chrome/browser/ui/android/infobars/confirm_infobar.cc base::android::ScopedJavaLocalRef<jobject> ConfirmInfoBar::CreateRenderInfoBar( base 37 chrome/browser/ui/android/infobars/confirm_infobar.cc base::android::ScopedJavaLocalRef<jstring> ok_button_text = base 38 chrome/browser/ui/android/infobars/confirm_infobar.cc base::android::ConvertUTF16ToJavaString( base 40 chrome/browser/ui/android/infobars/confirm_infobar.cc base::android::ScopedJavaLocalRef<jstring> cancel_button_text = base 41 chrome/browser/ui/android/infobars/confirm_infobar.cc base::android::ConvertUTF16ToJavaString( base 44 chrome/browser/ui/android/infobars/confirm_infobar.cc base::android::ScopedJavaLocalRef<jstring> message_text = base 45 chrome/browser/ui/android/infobars/confirm_infobar.cc base::android::ConvertUTF16ToJavaString( base 47 chrome/browser/ui/android/infobars/confirm_infobar.cc base::android::ScopedJavaLocalRef<jstring> link_text = base 48 chrome/browser/ui/android/infobars/confirm_infobar.cc base::android::ConvertUTF16ToJavaString( base 82 chrome/browser/ui/android/infobars/confirm_infobar.cc base::string16 ConfirmInfoBar::GetTextFor( base 86 chrome/browser/ui/android/infobars/confirm_infobar.cc delegate->GetButtonLabel(button) : base::string16(); base 20 chrome/browser/ui/android/infobars/confirm_infobar.h virtual base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( base 26 chrome/browser/ui/android/infobars/confirm_infobar.h base::string16 GetTextFor(ConfirmInfoBarDelegate::InfoBarButton button); base 31 chrome/browser/ui/android/infobars/confirm_infobar.h base::android::ScopedJavaGlobalRef<jobject> java_confirm_delegate_; base 47 chrome/browser/ui/android/infobars/infobar_android.cc const base::android::JavaRef<jobject>& java_info_bar) { base 60 chrome/browser/ui/android/infobars/infobar_android.cc std::string value = base::android::ConvertJavaStringToUTF8(env, action_value); base 71 chrome/browser/ui/android/infobars/infobar_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 38 chrome/browser/ui/android/infobars/infobar_android.h virtual base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( base 41 chrome/browser/ui/android/infobars/infobar_android.h void set_java_infobar(const base::android::JavaRef<jobject>& java_info_bar); base 73 chrome/browser/ui/android/infobars/infobar_android.h base::android::ScopedJavaGlobalRef<jobject> java_info_bar_; base 64 chrome/browser/ui/android/infobars/infobar_container_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 65 chrome/browser/ui/android/infobars/infobar_container_android.cc base::android::ScopedJavaLocalRef<jobject> java_infobar = base 40 chrome/browser/ui/android/infobars/save_password_infobar.cc base::android::ScopedJavaLocalRef<jobject> base 44 chrome/browser/ui/android/infobars/save_password_infobar.cc base::android::ScopedJavaLocalRef<jstring> ok_button_text = base 45 chrome/browser/ui/android/infobars/save_password_infobar.cc base::android::ConvertUTF16ToJavaString( base 47 chrome/browser/ui/android/infobars/save_password_infobar.cc base::android::ScopedJavaLocalRef<jstring> cancel_button_text = base 48 chrome/browser/ui/android/infobars/save_password_infobar.cc base::android::ConvertUTF16ToJavaString( base 51 chrome/browser/ui/android/infobars/save_password_infobar.cc base::android::ScopedJavaLocalRef<jstring> message_text = base 52 chrome/browser/ui/android/infobars/save_password_infobar.cc base::android::ConvertUTF16ToJavaString( base 26 chrome/browser/ui/android/infobars/save_password_infobar.h virtual base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( base 31 chrome/browser/ui/android/infobars/save_password_infobar.h base::android::ScopedJavaGlobalRef<jobject> java_save_password_delegate_; base 39 chrome/browser/ui/android/infobars/translate_infobar.cc std::vector<base::string16> languages; base 44 chrome/browser/ui/android/infobars/translate_infobar.cc base::android::ScopedJavaLocalRef<jobjectArray> java_languages = base 45 chrome/browser/ui/android/infobars/translate_infobar.cc base::android::ToJavaArrayOfStrings(env, languages); base 110 chrome/browser/ui/android/infobars/translate_infobar.cc JNIEnv* env = base::android::AttachCurrentThread(); base 120 chrome/browser/ui/android/infobars/translate_infobar.cc JNIEnv* env = base::android::AttachCurrentThread(); base 31 chrome/browser/ui/android/infobars/translate_infobar.h virtual base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( base 44 chrome/browser/ui/android/infobars/translate_infobar.h base::android::ScopedJavaGlobalRef<jobject> java_translate_delegate_; base 20 chrome/browser/ui/android/javascript_app_modal_dialog_android.cc using base::android::AttachCurrentThread; base 21 chrome/browser/ui/android/javascript_app_modal_dialog_android.cc using base::android::ConvertUTF16ToJavaString; base 22 chrome/browser/ui/android/javascript_app_modal_dialog_android.cc using base::android::ScopedJavaGlobalRef; base 23 chrome/browser/ui/android/javascript_app_modal_dialog_android.cc using base::android::ScopedJavaLocalRef; base 113 chrome/browser/ui/android/javascript_app_modal_dialog_android.cc base::string16 prompt_text; base 120 chrome/browser/ui/android/javascript_app_modal_dialog_android.cc base::string16 prompt_text = base 121 chrome/browser/ui/android/javascript_app_modal_dialog_android.cc base::android::ConvertJavaStringToUTF16(env, prompt); base 36 chrome/browser/ui/android/javascript_app_modal_dialog_android.h const base::android::ScopedJavaGlobalRef<jobject>& GetDialogObject() const; base 45 chrome/browser/ui/android/javascript_app_modal_dialog_android.h base::android::ScopedJavaGlobalRef<jobject> dialog_jobject_; base 31 chrome/browser/ui/android/login_prompt_android.cc const base::string16& username, base 32 chrome/browser/ui/android/login_prompt_android.cc const base::string16& password) OVERRIDE { base 42 chrome/browser/ui/android/login_prompt_android.cc const base::string16& explanation) OVERRIDE { base 58 chrome/browser/ui/android/login_prompt_android.cc base::ASCIIToUTF16(auth_info()->challenger.ToString()), base 59 chrome/browser/ui/android/login_prompt_android.cc base::UTF8ToUTF16(auth_info()->realm)); base 26 chrome/browser/ui/android/navigation_popup.cc using base::android::ConvertUTF8ToJavaString; base 27 chrome/browser/ui/android/navigation_popup.cc using base::android::ScopedJavaLocalRef; base 48 chrome/browser/ui/android/navigation_popup.cc GURL url(base::android::ConvertJavaStringToUTF16(env, jurl)); base 55 chrome/browser/ui/android/navigation_popup.cc base::Bind(&NavigationPopup::OnFaviconDataAvailable, base 56 chrome/browser/ui/android/navigation_popup.cc base::Unretained(this), base 70 chrome/browser/ui/android/navigation_popup.cc JNIEnv* env = base::android::AttachCurrentThread(); base 40 chrome/browser/ui/android/navigation_popup.h base::CancelableTaskTracker cancelable_task_tracker_; base 12 chrome/browser/ui/android/simple_message_box_android.cc const base::string16& title, base 13 chrome/browser/ui/android/simple_message_box_android.cc const base::string16& message, base 53 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Closure post_task_closure = base::Bind( base 54 chrome/browser/ui/android/ssl_client_certificate_request.cc base::IgnoreResult(&content::BrowserThread::PostTask), base 57 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Bind(callback, scoped_refptr<net::X509Certificate>())); base 59 chrome/browser/ui/android/ssl_client_certificate_request.cc base::ScopedClosureRunner guard(post_task_closure); base 80 chrome/browser/ui/android/ssl_client_certificate_request.cc JNIEnv* env = base::android::AttachCurrentThread(); base 82 chrome/browser/ui/android/ssl_client_certificate_request.cc base::android::ToJavaArrayOfStrings(env, key_types); base 90 chrome/browser/ui/android/ssl_client_certificate_request.cc base::android::ToJavaArrayOfByteArray( base 100 chrome/browser/ui/android/ssl_client_certificate_request.cc base::android::ConvertUTF8ToJavaString( base 157 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Closure null_closure = base 158 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Bind(*callback, scoped_refptr<net::X509Certificate>()); base 160 chrome/browser/ui/android/ssl_client_certificate_request.cc base::ScopedClosureRunner guard(null_closure); base 170 chrome/browser/ui/android/ssl_client_certificate_request.cc base::android::JavaArrayOfByteArrayToStringVector( base 174 chrome/browser/ui/android/ssl_client_certificate_request.cc std::vector<base::StringPiece> encoded_chain; base 202 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Bind(&RecordClientCertificateKey, base 204 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Passed(&private_key)), base 205 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Bind(*callback, client_cert)); base 219 chrome/browser/ui/android/ssl_client_certificate_request.cc base::Bind(&NotifyClientCertificatesChanged)); base 15 chrome/browser/ui/android/toolbar/toolbar_model_android.cc using base::android::ScopedJavaLocalRef; base 31 chrome/browser/ui/android/toolbar/toolbar_model_android.cc return base::android::ConvertUTF16ToJavaString(env, base 44 chrome/browser/ui/android/toolbar/toolbar_model_android.cc return base::android::ConvertUTF8ToJavaString( base 51 chrome/browser/ui/android/toolbar/toolbar_model_android.cc return base::android::ConvertUTF16ToJavaString( base 57 chrome/browser/ui/android/toolbar/toolbar_model_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 27 chrome/browser/ui/android/toolbar/toolbar_model_android.h base::android::ScopedJavaLocalRef<jstring> GetSearchTerms( base 30 chrome/browser/ui/android/toolbar/toolbar_model_android.h base::android::ScopedJavaLocalRef<jstring> GetQueryExtractionParam( base 33 chrome/browser/ui/android/toolbar/toolbar_model_android.h base::android::ScopedJavaLocalRef<jstring> GetCorpusChipText( base 25 chrome/browser/ui/android/website_settings_popup_android.cc using base::android::CheckException; base 26 chrome/browser/ui/android/website_settings_popup_android.cc using base::android::ConvertUTF8ToJavaString; base 27 chrome/browser/ui/android/website_settings_popup_android.cc using base::android::ConvertUTF16ToJavaString; base 28 chrome/browser/ui/android/website_settings_popup_android.cc using base::android::GetClass; base 29 chrome/browser/ui/android/website_settings_popup_android.cc using base::android::ScopedJavaLocalRef; base 63 chrome/browser/ui/android/website_settings_popup_android.cc return base::android::ToJavaArrayOfByteArray(env, cert_chain).Release(); base 108 chrome/browser/ui/android/website_settings_popup_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 129 chrome/browser/ui/android/website_settings_popup_android.cc base::string16 certificate_label = base 175 chrome/browser/ui/android/website_settings_popup_android.cc const base::string16& first_visit) { base 35 chrome/browser/ui/android/website_settings_popup_android.h virtual void SetFirstVisit(const base::string16& first_visit) OVERRIDE; base 50 chrome/browser/ui/android/website_settings_popup_android.h base::android::ScopedJavaGlobalRef<jobject> popup_jobject_; base 95 chrome/browser/ui/app_list/app_context_menu.cc base::Bind(MenuItemHasLauncherContext))); base 98 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItem(LAUNCH_NEW, base::string16()); base 102 chrome/browser/ui/app_list/app_context_menu.cc extensions::MenuItem::ExtensionKey(app_id_), base::string16(), &index); base 174 chrome/browser/ui/app_list/app_context_menu.cc base::string16 AppContextMenu::GetLabelForCommandId(int command_id) const { base 192 chrome/browser/ui/app_list/app_context_menu.cc return base::string16(); base 49 chrome/browser/ui/app_list/app_context_menu.h virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; base 64 chrome/browser/ui/app_list/app_list_controller_browsertest.cc item_to_observe_ = base::ASCIIToUTF16(extension_name); base 117 chrome/browser/ui/app_list/app_list_controller_browsertest.cc base::string16 item_to_observe_; base 127 chrome/browser/ui/app_list/app_list_controller_browsertest.cc base::FilePath test_extension_path; base 147 chrome/browser/ui/app_list/app_list_controller_browsertest.cc model->search_box()->SetText(base::ASCIIToUTF16("minimal")); base 151 chrome/browser/ui/app_list/app_list_controller_browsertest.cc base::RunLoop().RunUntilIdle(); base 161 chrome/browser/ui/app_list/app_list_controller_browsertest.cc base::RunLoop().RunUntilIdle(); base 103 chrome/browser/ui/app_list/app_list_controller_delegate.cc base::Bind(&AppListControllerDelegate::OnCloseExtensionPrompt, base 104 chrome/browser/ui/app_list/app_list_controller_delegate.cc base::Unretained(this))); base 15 chrome/browser/ui/app_list/app_list_controller_delegate.h namespace base { base 109 chrome/browser/ui/app_list/app_list_controller_delegate.h virtual void ShowForProfileByPath(const base::FilePath& profile_path) = 0; base 77 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc base::Bind(&AppListControllerDelegateImpl::OnCloseExtensionPrompt, base 78 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc base::Unretained(this))); base 120 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc const base::FilePath& profile_path) { base 15 chrome/browser/ui/app_list/app_list_controller_delegate_impl.h namespace base { base 51 chrome/browser/ui/app_list/app_list_controller_delegate_impl.h const base::FilePath& profile_path) OVERRIDE; base 24 chrome/browser/ui/app_list/app_list_factory.h const base::Closure& on_should_dismiss) = 0; base 24 chrome/browser/ui/app_list/app_list_service.cc base::Time GetOriginalProcessStartTime(const CommandLine& command_line) { base 29 chrome/browser/ui/app_list/app_list_service.cc base::StringToInt64(start_time_string, &remote_start_time); base 30 chrome/browser/ui/app_list/app_list_service.cc return base::Time::FromInternalValue(remote_start_time); base 36 chrome/browser/ui/app_list/app_list_service.cc return base::CurrentProcessInfo::CreationTime(); base 38 chrome/browser/ui/app_list/app_list_service.cc return base::Time(); base 60 chrome/browser/ui/app_list/app_list_service.cc void RecordStartupInfo(StartupType startup_type, const base::Time& start_time) { base 66 chrome/browser/ui/app_list/app_list_service.cc base::Time start_time( base 67 chrome/browser/ui/app_list/app_list_service.cc base::Time::FromInternalValue(g_original_process_start_time)); base 68 chrome/browser/ui/app_list/app_list_service.cc base::TimeDelta elapsed = base::Time::Now() - start_time; base 111 chrome/browser/ui/app_list/app_list_service.cc base::Time start_time = GetOriginalProcessStartTime(command_line); base 115 chrome/browser/ui/app_list/app_list_service.cc base::TimeDelta elapsed = base::Time::Now() - start_time; base 19 chrome/browser/ui/app_list/app_list_service.h namespace base { base 54 chrome/browser/ui/app_list/app_list_service.h static void RecordShowTimings(const base::CommandLine& command_line); base 64 chrome/browser/ui/app_list/app_list_service.h virtual base::FilePath GetProfilePath( base 65 chrome/browser/ui/app_list/app_list_service.h const base::FilePath& user_data_dir) = 0; base 66 chrome/browser/ui/app_list/app_list_service.h virtual void SetProfilePath(const base::FilePath& profile_path) = 0; base 28 chrome/browser/ui/app_list/app_list_service_disabled.cc virtual base::FilePath GetProfilePath( base 29 chrome/browser/ui/app_list/app_list_service_disabled.cc const base::FilePath& user_data_dir) OVERRIDE { base 30 chrome/browser/ui/app_list/app_list_service_disabled.cc return base::FilePath(); base 32 chrome/browser/ui/app_list/app_list_service_disabled.cc virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE {} base 69 chrome/browser/ui/app_list/app_list_service_disabled.cc void AppListService::RecordShowTimings(const base::CommandLine& command_line) {} base 53 chrome/browser/ui/app_list/app_list_service_impl.cc base::Time now = base::Time::Now(); base 54 chrome/browser/ui/app_list/app_list_service_impl.cc base::Time last = base::Time::FromInternalValue(local_state->GetInt64( base 61 chrome/browser/ui/app_list/app_list_service_impl.cc (last + base::TimeDelta::FromDays(days)).ToInternalValue()); base 96 chrome/browser/ui/app_list/app_list_service_impl.cc const base::FilePath& path, base 97 chrome/browser/ui/app_list/app_list_service_impl.cc base::Callback<void(Profile*)> callback) OVERRIDE { base 100 chrome/browser/ui/app_list/app_list_service_impl.cc base::Bind(&ProfileStoreImpl::OnProfileCreated, base 103 chrome/browser/ui/app_list/app_list_service_impl.cc base::string16(), base 104 chrome/browser/ui/app_list/app_list_service_impl.cc base::string16(), base 108 chrome/browser/ui/app_list/app_list_service_impl.cc void OnProfileCreated(base::Callback<void(Profile*)> callback, base 127 chrome/browser/ui/app_list/app_list_service_impl.cc virtual Profile* GetProfileByPath(const base::FilePath& path) OVERRIDE { base 131 chrome/browser/ui/app_list/app_list_service_impl.cc virtual base::FilePath GetUserDataDir() OVERRIDE { base 135 chrome/browser/ui/app_list/app_list_service_impl.cc virtual bool IsProfileManaged(const base::FilePath& profile_path) OVERRIDE { base 144 chrome/browser/ui/app_list/app_list_service_impl.cc base::WeakPtrFactory<ProfileStoreImpl> weak_factory_; base 158 chrome/browser/ui/app_list/app_list_service_impl.cc base::Time app_list_enable_time = base 159 chrome/browser/ui/app_list/app_list_service_impl.cc base::Time::FromInternalValue(enable_time_value); base 163 chrome/browser/ui/app_list/app_list_service_impl.cc base::TimeDelta time_remaining = base 165 chrome/browser/ui/app_list/app_list_service_impl.cc base::TimeDelta::FromMinutes(kDiscoverabilityTimeoutMinutes) - base 166 chrome/browser/ui/app_list/app_list_service_impl.cc base::Time::Now(); base 167 chrome/browser/ui/app_list/app_list_service_impl.cc if (time_remaining > base::TimeDelta()) { base 168 chrome/browser/ui/app_list/app_list_service_impl.cc base::MessageLoop::current()->PostDelayedTask( base 170 chrome/browser/ui/app_list/app_list_service_impl.cc base::Bind(&RecordAppListDiscoverability, base 171 chrome/browser/ui/app_list/app_list_service_impl.cc base::Unretained(local_state), base 184 chrome/browser/ui/app_list/app_list_service_impl.cc base::TimeDelta time_taken = base::Time::Now() - app_list_enable_time; base 192 chrome/browser/ui/app_list/app_list_service_impl.cc base::TimeDelta::FromSeconds(1), base 193 chrome/browser/ui/app_list/app_list_service_impl.cc base::TimeDelta::FromMinutes(kDiscoverabilityTimeoutMinutes - 1), base 264 chrome/browser/ui/app_list/app_list_service_impl.cc base::FilePath AppListServiceImpl::GetProfilePath( base 265 chrome/browser/ui/app_list/app_list_service_impl.cc const base::FilePath& user_data_dir) { base 284 chrome/browser/ui/app_list/app_list_service_impl.cc void AppListServiceImpl::SetProfilePath(const base::FilePath& profile_path) { base 300 chrome/browser/ui/app_list/app_list_service_impl.cc const base::FilePath& profile_path) { base 314 chrome/browser/ui/app_list/app_list_service_impl.cc base::Bind(&AppListServiceImpl::ShowForProfile, base 342 chrome/browser/ui/app_list/app_list_service_impl.cc base::Time::Now().ToInternalValue()); base 344 chrome/browser/ui/app_list/app_list_service_impl.cc if (base::MessageLoop::current()) { base 347 chrome/browser/ui/app_list/app_list_service_impl.cc base::MessageLoop::current()->PostDelayedTask( base 349 chrome/browser/ui/app_list/app_list_service_impl.cc base::Bind(&RecordAppListDiscoverability, base 350 chrome/browser/ui/app_list/app_list_service_impl.cc base::Unretained(local_state_), base 352 chrome/browser/ui/app_list/app_list_service_impl.cc base::TimeDelta::FromMinutes(kDiscoverabilityTimeoutMinutes)); base 376 chrome/browser/ui/app_list/app_list_service_impl.cc if (!base::MessageLoop::current()) base 381 chrome/browser/ui/app_list/app_list_service_impl.cc base::MessageLoop::current()->PostDelayedTask( base 383 chrome/browser/ui/app_list/app_list_service_impl.cc base::Bind(&AppListServiceImpl::SendAppListStats), base 384 chrome/browser/ui/app_list/app_list_service_impl.cc base::TimeDelta::FromSeconds(kSendUsageStatsDelay)); base 23 chrome/browser/ui/app_list/app_list_service_impl.h namespace base { base 34 chrome/browser/ui/app_list/app_list_service_impl.h AppListServiceImpl(const base::CommandLine& command_line, base 46 chrome/browser/ui/app_list/app_list_service_impl.h virtual base::FilePath GetProfilePath( base 47 chrome/browser/ui/app_list/app_list_service_impl.h const base::FilePath& user_data_dir) OVERRIDE; base 48 chrome/browser/ui/app_list/app_list_service_impl.h virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE; base 73 chrome/browser/ui/app_list/app_list_service_impl.h void LoadProfileAsync(const base::FilePath& profile_file_path); base 82 chrome/browser/ui/app_list/app_list_service_impl.h const base::FilePath& profile_path) OVERRIDE; base 85 chrome/browser/ui/app_list/app_list_service_impl.h base::WeakPtrFactory<AppListServiceImpl> weak_factory_; base 86 chrome/browser/ui/app_list/app_list_service_impl.h base::CommandLine command_line_; base 39 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::FilePath temp_profile_dir = base 43 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::Bind(&AppListServiceInteractiveTest::OnProfileCreated, base 45 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::string16(), base::string16(), std::string()); base 52 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::MessageLoop::current()->Quit(); base 109 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::RunLoop().RunUntilIdle(); base 118 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::RunLoop().RunUntilIdle(); base 144 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc model->search_box()->SetText(base::ASCIIToUTF16("minimal")); base 145 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::RunLoop().RunUntilIdle(); base 151 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::RunLoop().RunUntilIdle(); base 199 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::FilePath user_data_dir; base 201 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::FilePath profile_path = user_data_dir.Append(second_profile_name_); base 204 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::FilePath local_pref_path = base 206 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::DictionaryValue dict; base 215 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc const base::FilePath second_profile_name_; base 216 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc base::ScopedTempDir second_profile_temp_dir_; base 72 chrome/browser/ui/app_list/app_list_service_mac.h const std::vector<base::FilePath>& files) OVERRIDE; base 76 chrome/browser/ui/app_list/app_list_service_mac.h const std::vector<base::FilePath>& files) OVERRIDE; base 86 chrome/browser/ui/app_list/app_list_service_mac.h base::scoped_nsobject<AppListWindowController> window_controller_; base 87 chrome/browser/ui/app_list/app_list_service_mac.h base::scoped_nsobject<AppListAnimationController> animation_controller_; base 88 chrome/browser/ui/app_list/app_list_service_mac.h base::scoped_nsobject<NSRunningApplication> previously_active_application_; base 89 chrome/browser/ui/app_list/app_list_service_unittest.cc user_data_dir_ = base::FilePath(FILE_PATH_LITERAL("udd")); base 99 chrome/browser/ui/app_list/app_list_service_unittest.cc base::PrefServiceFactory factory; base 117 chrome/browser/ui/app_list/app_list_service_unittest.cc base::FilePath user_data_dir_; base 147 chrome/browser/ui/app_list/app_list_service_unittest.cc base::FilePath initial_profile_path = base 158 chrome/browser/ui/app_list/app_list_service_unittest.cc base::FilePath last_used_profile_path = base 59 chrome/browser/ui/app_list/app_list_shower.cc base::Bind(&AppListShower::DismissAppList, base::Unretained(this)))); base 83 chrome/browser/ui/app_list/app_list_shower.cc if (base::MessageLoop::current()) { // NULL in tests. base 84 chrome/browser/ui/app_list/app_list_shower.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 85 chrome/browser/ui/app_list/app_list_shower.cc base::Bind(&KeepAliveService::FreeKeepAlive, base 86 chrome/browser/ui/app_list/app_list_shower.cc base::Unretained(keep_alive_service_.get()))); base 32 chrome/browser/ui/app_list/app_list_util.cc if (base::FieldTrialList::FindFullName(kLauncherPromoTrialName) == base 65 chrome/browser/ui/app_list/app_list_util.cc base::FieldTrialList::FindFullName(kLauncherPromoTrialName); base 56 chrome/browser/ui/app_list/app_list_view_delegate.cc const base::FilePath& app_data_dir, base 57 chrome/browser/ui/app_list/app_list_view_delegate.cc base::Callback<void(const base::FilePath&)> callback, base 62 chrome/browser/ui/app_list/app_list_view_delegate.cc base::Bind(web_app::CreateShortcutInWebAppDir, app_data_dir, info), base 68 chrome/browser/ui/app_list/app_list_view_delegate.cc const base::FilePath& active_profile_path, base 202 chrome/browser/ui/app_list/app_list_view_delegate.cc void AppListViewDelegate::SetProfileByPath(const base::FilePath& profile_path) { base 213 chrome/browser/ui/app_list/app_list_view_delegate.cc model_->search_box()->SetText(base::string16()); base 230 chrome/browser/ui/app_list/app_list_view_delegate.cc const base::Callback<void(const base::FilePath&)>& callback) { base 237 chrome/browser/ui/app_list/app_list_view_delegate.cc callback.Run(base::FilePath()); base 241 chrome/browser/ui/app_list/app_list_view_delegate.cc base::FilePath app_data_dir( base 249 chrome/browser/ui/app_list/app_list_view_delegate.cc base::Bind(CreateShortcutInWebAppDir, app_data_dir, callback)); base 251 chrome/browser/ui/app_list/app_list_view_delegate.cc callback.Run(base::FilePath()); base 270 chrome/browser/ui/app_list/app_list_view_delegate.cc base::RecordAction(base::UserMetricsAction("AppList_AutoLaunched")); base 281 chrome/browser/ui/app_list/app_list_view_delegate.cc base::TimeDelta AppListViewDelegate::GetAutoLaunchTimeout() { base 286 chrome/browser/ui/app_list/app_list_view_delegate.cc base::RecordAction(base::UserMetricsAction("AppList_AutoLaunchCanceled")); base 287 chrome/browser/ui/app_list/app_list_view_delegate.cc auto_launch_timeout_ = base::TimeDelta(); base 354 chrome/browser/ui/app_list/app_list_view_delegate.cc const base::FilePath& profile_path) { base 358 chrome/browser/ui/app_list/app_list_view_delegate.cc void AppListViewDelegate::OnSpeechResult(const base::string16& result, base 362 chrome/browser/ui/app_list/app_list_view_delegate.cc auto_launch_timeout_ = base::TimeDelta::FromMilliseconds( base 377 chrome/browser/ui/app_list/app_list_view_delegate.cc void AppListViewDelegate::OnProfileAdded(const base::FilePath& profile_path) { base 382 chrome/browser/ui/app_list/app_list_view_delegate.cc const base::FilePath& profile_path, const base::string16& profile_name) { base 387 chrome/browser/ui/app_list/app_list_view_delegate.cc const base::FilePath& profile_path, base 388 chrome/browser/ui/app_list/app_list_view_delegate.cc const base::string16& old_profile_name) { base 31 chrome/browser/ui/app_list/app_list_view_delegate.h namespace base { base 59 chrome/browser/ui/app_list/app_list_view_delegate.h virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE; base 65 chrome/browser/ui/app_list/app_list_view_delegate.h const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; base 74 chrome/browser/ui/app_list/app_list_view_delegate.h virtual base::TimeDelta GetAutoLaunchTimeout() OVERRIDE; base 85 chrome/browser/ui/app_list/app_list_view_delegate.h const base::FilePath& profile_path) OVERRIDE; base 95 chrome/browser/ui/app_list/app_list_view_delegate.h virtual void OnSpeechResult(const base::string16& result, base 112 chrome/browser/ui/app_list/app_list_view_delegate.h virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; base 113 chrome/browser/ui/app_list/app_list_view_delegate.h virtual void OnProfileWasRemoved(const base::FilePath& profile_path, base 114 chrome/browser/ui/app_list/app_list_view_delegate.h const base::string16& profile_name) OVERRIDE; base 116 chrome/browser/ui/app_list/app_list_view_delegate.h const base::FilePath& profile_path, base 117 chrome/browser/ui/app_list/app_list_view_delegate.h const base::string16& old_profile_name) OVERRIDE; base 131 chrome/browser/ui/app_list/app_list_view_delegate.h base::TimeDelta auto_launch_timeout_; base 80 chrome/browser/ui/app_list/chrome_signin_delegate.cc base::string16 ChromeSigninDelegate::GetSigninHeading() { base 85 chrome/browser/ui/app_list/chrome_signin_delegate.cc base::string16 ChromeSigninDelegate::GetSigninText() { base 90 chrome/browser/ui/app_list/chrome_signin_delegate.cc base::string16 ChromeSigninDelegate::GetSigninButtonText() { base 95 chrome/browser/ui/app_list/chrome_signin_delegate.cc base::string16 ChromeSigninDelegate::GetLearnMoreLinkText() { base 100 chrome/browser/ui/app_list/chrome_signin_delegate.cc base::string16 ChromeSigninDelegate::GetSettingsLinkText() { base 26 chrome/browser/ui/app_list/chrome_signin_delegate.h virtual base::string16 GetSigninHeading() OVERRIDE; base 27 chrome/browser/ui/app_list/chrome_signin_delegate.h virtual base::string16 GetSigninText() OVERRIDE; base 28 chrome/browser/ui/app_list/chrome_signin_delegate.h virtual base::string16 GetSigninButtonText() OVERRIDE; base 29 chrome/browser/ui/app_list/chrome_signin_delegate.h virtual base::string16 GetLearnMoreLinkText() OVERRIDE; base 30 chrome/browser/ui/app_list/chrome_signin_delegate.h virtual base::string16 GetSettingsLinkText() OVERRIDE; base 314 chrome/browser/ui/app_list/extension_app_item.cc content::RecordAction(base::UserMetricsAction("AppList_ClickOnApp")); base 102 chrome/browser/ui/app_list/extension_app_model_builder.cc base::Bind(&ExtensionAppModelBuilder::OnExtensionPreferenceChanged, base 103 chrome/browser/ui/app_list/extension_app_model_builder.cc base::Unretained(this))); base 51 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::DictionaryValue value; base 57 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::FilePath(), base 97 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc const base::FilePath& profile_path) OVERRIDE {} base 117 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::FilePath source_install_dir = data_dir_ base 120 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::FilePath pref_path = source_install_dir base 158 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::ScopedTempDir second_profile_temp_dir_; base 221 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::RunLoop().RunUntilIdle(); base 236 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::RunLoop().RunUntilIdle(); base 309 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::Value::CreateStringValue("a corrupted ordinal")); base 346 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::DictionaryValue value; base 352 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc base::FilePath(), base 34 chrome/browser/ui/app_list/profile_loader.cc const base::FilePath& profile_file_path, base 35 chrome/browser/ui/app_list/profile_loader.cc base::Callback<void(Profile*)> callback) { base 47 chrome/browser/ui/app_list/profile_loader.cc base::Bind(&ProfileLoader::OnProfileLoaded, base 54 chrome/browser/ui/app_list/profile_loader.cc base::Callback<void(Profile*)> callback, base 16 chrome/browser/ui/app_list/profile_loader.h namespace base { base 38 chrome/browser/ui/app_list/profile_loader.h const base::FilePath& profile_file_path, base 39 chrome/browser/ui/app_list/profile_loader.h base::Callback<void(Profile*)> callback); base 43 chrome/browser/ui/app_list/profile_loader.h base::Callback<void(Profile*)> callback, base 54 chrome/browser/ui/app_list/profile_loader.h base::WeakPtrFactory<ProfileLoader> weak_factory_; base 20 chrome/browser/ui/app_list/profile_loader_unittest.cc new FakeProfile("p1", base::FilePath(FILE_PATH_LITERAL("profile1")))); base 22 chrome/browser/ui/app_list/profile_loader_unittest.cc new FakeProfile("p2", base::FilePath(FILE_PATH_LITERAL("profile2")))); base 25 chrome/browser/ui/app_list/profile_loader_unittest.cc base::FilePath(FILE_PATH_LITERAL("udd")))); base 35 chrome/browser/ui/app_list/profile_loader_unittest.cc base::Bind(&ProfileLoaderUnittest::OnProfileLoaded, base 36 chrome/browser/ui/app_list/profile_loader_unittest.cc base::Unretained(this))); base 22 chrome/browser/ui/app_list/profile_store.h virtual void LoadProfileAsync(const base::FilePath& path, base 23 chrome/browser/ui/app_list/profile_store.h base::Callback<void(Profile*)> callback) = 0; base 26 chrome/browser/ui/app_list/profile_store.h virtual Profile* GetProfileByPath(const base::FilePath& path) = 0; base 30 chrome/browser/ui/app_list/profile_store.h virtual base::FilePath GetUserDataDir() = 0; base 33 chrome/browser/ui/app_list/profile_store.h virtual bool IsProfileManaged(const base::FilePath& path) = 0; base 29 chrome/browser/ui/app_list/recommended_apps.cc const base::Time& last_launch_time) base 33 chrome/browser/ui/app_list/recommended_apps.cc base::Time last_launch_time; base 48 chrome/browser/ui/app_list/recommended_apps.cc base::Bind(&RecommendedApps::Update, base 49 chrome/browser/ui/app_list/recommended_apps.cc base::Unretained(this))); base 88 chrome/browser/ui/app_list/search/app_result.cc base::UserMetricsAction("AppList_ClickOnAppFromSearch")); base 32 chrome/browser/ui/app_list/search/app_search_provider.cc indexed_name_(base::UTF8ToUTF16(extension->name())) { base 60 chrome/browser/ui/app_list/search/app_search_provider.cc void AppSearchProvider::Start(const base::string16& query) { base 32 chrome/browser/ui/app_list/search/app_search_provider.h virtual void Start(const base::string16& query) OVERRIDE; base 37 chrome/browser/ui/app_list/search/app_search_provider_unittest.cc base::FilePath source_install_dir = data_dir_ base 40 chrome/browser/ui/app_list/search/app_search_provider_unittest.cc base::FilePath pref_path = source_install_dir base 54 chrome/browser/ui/app_list/search/app_search_provider_unittest.cc app_search_->Start(base::UTF8ToUTF16(query)); base 63 chrome/browser/ui/app_list/search/app_search_provider_unittest.cc result_str += base::UTF16ToUTF8(results[i]->title()); base 109 chrome/browser/ui/app_list/search/app_search_provider_unittest.cc base::RunLoop().RunUntilIdle(); base 21 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc DictionaryDataStore::DictionaryDataStore(const base::FilePath& data_file) base 28 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); base 31 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 33 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc new base::ImportantFileWriter(data_file, file_task_runner_.get())); base 35 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc cached_dict_.reset(new base::DictionaryValue); base 50 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc FROM_HERE, base::Bind(&base::DoNothing), on_flushed); base 55 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc base::PostTaskAndReplyWithResult( base 58 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc base::Bind(&DictionaryDataStore::LoadOnBlockingPool, this), base 66 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc scoped_ptr<base::DictionaryValue> DictionaryDataStore::LoadOnBlockingPool() { base 72 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc base::Value* value = serializer.Deserialize(&error_code, &error_message); base 73 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc base::DictionaryValue* dict_value = NULL; base 78 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc return scoped_ptr<base::DictionaryValue>(); base 81 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc base::DictionaryValue* return_dict = dict_value->DeepCopy(); base 18 chrome/browser/ui/app_list/search/common/dictionary_data_store.h namespace base { base 27 chrome/browser/ui/app_list/search/common/dictionary_data_store.h : public base::RefCountedThreadSafe<DictionaryDataStore>, base 28 chrome/browser/ui/app_list/search/common/dictionary_data_store.h public base::ImportantFileWriter::DataSerializer { base 30 chrome/browser/ui/app_list/search/common/dictionary_data_store.h typedef base::Callback<void( base 31 chrome/browser/ui/app_list/search/common/dictionary_data_store.h scoped_ptr<base::DictionaryValue>)> OnLoadedCallback; base 32 chrome/browser/ui/app_list/search/common/dictionary_data_store.h typedef base::Closure OnFlushedCallback; base 34 chrome/browser/ui/app_list/search/common/dictionary_data_store.h explicit DictionaryDataStore(const base::FilePath& data_file); base 49 chrome/browser/ui/app_list/search/common/dictionary_data_store.h base::DictionaryValue* cached_dict() { return cached_dict_.get(); } base 52 chrome/browser/ui/app_list/search/common/dictionary_data_store.h friend class base::RefCountedThreadSafe<DictionaryDataStore>; base 57 chrome/browser/ui/app_list/search/common/dictionary_data_store.h scoped_ptr<base::DictionaryValue> LoadOnBlockingPool(); base 62 chrome/browser/ui/app_list/search/common/dictionary_data_store.h base::FilePath data_file_; base 63 chrome/browser/ui/app_list/search/common/dictionary_data_store.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 64 chrome/browser/ui/app_list/search/common/dictionary_data_store.h scoped_ptr<base::ImportantFileWriter> writer_; base 67 chrome/browser/ui/app_list/search/common/dictionary_data_store.h scoped_ptr<base::DictionaryValue> cached_dict_; base 49 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc scoped_ptr<base::Value> parsed_json) { base 50 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc if (!parsed_json->IsType(base::Value::TYPE_DICTIONARY)) { base 56 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc static_cast<base::DictionaryValue*>(parsed_json.release()))); base 60 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc callback_.Run(scoped_ptr<base::DictionaryValue>()); base 80 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc base::Bind( base 83 chrome/browser/ui/app_list/search/common/json_response_fetcher.cc base::Bind( base 18 chrome/browser/ui/app_list/search/common/json_response_fetcher.h namespace base { base 38 chrome/browser/ui/app_list/search/common/json_response_fetcher.h typedef base::Callback<void(scoped_ptr<base::DictionaryValue>)> Callback; base 50 chrome/browser/ui/app_list/search/common/json_response_fetcher.h void OnJsonParseSuccess(scoped_ptr<base::Value> parsed_json); base 60 chrome/browser/ui/app_list/search/common/json_response_fetcher.h base::WeakPtrFactory<JSONResponseFetcher> weak_factory_; base 31 chrome/browser/ui/app_list/search/common/url_icon_source.h typedef base::Closure IconLoadedCallback; base 33 chrome/browser/ui/app_list/search/common/webservice_cache.cc const base::FilePath data_file = base 36 chrome/browser/ui/app_list/search/common/webservice_cache.cc data_store_->Load(base::Bind(&WebserviceCache::OnCacheLoaded, AsWeakPtr())); base 47 chrome/browser/ui/app_list/search/common/webservice_cache.cc if (base::Time::Now() - iter->second.time <= base 48 chrome/browser/ui/app_list/search/common/webservice_cache.cc base::TimeDelta::FromMinutes(kWebserviceCacheTimeLimitInMinutes)) { base 54 chrome/browser/ui/app_list/search/common/webservice_cache.cc return std::make_pair(STALE, static_cast<base::DictionaryValue*>(NULL)); base 59 chrome/browser/ui/app_list/search/common/webservice_cache.cc scoped_ptr<base::DictionaryValue> result) { base 62 chrome/browser/ui/app_list/search/common/webservice_cache.cc Payload payload(base::Time::Now(), result.release()); base 78 chrome/browser/ui/app_list/search/common/webservice_cache.cc void WebserviceCache::OnCacheLoaded(scoped_ptr<base::DictionaryValue>) { base 83 chrome/browser/ui/app_list/search/common/webservice_cache.cc for (base::DictionaryValue::Iterator it(*data_store_->cached_dict()); base 86 chrome/browser/ui/app_list/search/common/webservice_cache.cc const base::DictionaryValue* payload_dict; base 107 chrome/browser/ui/app_list/search/common/webservice_cache.cc bool WebserviceCache::PayloadFromDict(const base::DictionaryValue* dict, base 112 chrome/browser/ui/app_list/search/common/webservice_cache.cc const base::DictionaryValue* result; base 117 chrome/browser/ui/app_list/search/common/webservice_cache.cc base::StringToInt64(time_string, &time_val); base 122 chrome/browser/ui/app_list/search/common/webservice_cache.cc *payload = Payload(base::Time::FromInternalValue(time_val), base 127 chrome/browser/ui/app_list/search/common/webservice_cache.cc base::DictionaryValue* WebserviceCache::DictFromPayload( base 129 chrome/browser/ui/app_list/search/common/webservice_cache.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 130 chrome/browser/ui/app_list/search/common/webservice_cache.cc dict->SetString(kKeyResultTime, base::Int64ToString( base 18 chrome/browser/ui/app_list/search/common/webservice_cache.h namespace base { base 35 chrome/browser/ui/app_list/search/common/webservice_cache.h typedef std::pair<ResultStatus, const base::DictionaryValue*> CacheResult; base 42 chrome/browser/ui/app_list/search/common/webservice_cache.h public base::SupportsWeakPtr<WebserviceCache> { base 63 chrome/browser/ui/app_list/search/common/webservice_cache.h scoped_ptr<base::DictionaryValue> result); base 67 chrome/browser/ui/app_list/search/common/webservice_cache.h Payload(const base::Time& time, base 68 chrome/browser/ui/app_list/search/common/webservice_cache.h const base::DictionaryValue* result) base 72 chrome/browser/ui/app_list/search/common/webservice_cache.h base::Time time; base 73 chrome/browser/ui/app_list/search/common/webservice_cache.h const base::DictionaryValue* result; base 80 chrome/browser/ui/app_list/search/common/webservice_cache.h typedef base::MRUCacheBase<std::string, Payload, CacheDeletor> Cache; base 83 chrome/browser/ui/app_list/search/common/webservice_cache.h void OnCacheLoaded(scoped_ptr<base::DictionaryValue>); base 88 chrome/browser/ui/app_list/search/common/webservice_cache.h bool PayloadFromDict(const base::DictionaryValue* dict, base 94 chrome/browser/ui/app_list/search/common/webservice_cache.h base::DictionaryValue* DictFromPayload(const Payload& payload); base 35 chrome/browser/ui/app_list/search/common/webservice_search_provider.cc const base::Closure& start_query) { base 36 chrome/browser/ui/app_list/search/common/webservice_search_provider.cc base::TimeDelta interval = base 37 chrome/browser/ui/app_list/search/common/webservice_search_provider.cc base::TimeDelta::FromMilliseconds(kWebserviceQueryThrottleIntrevalInMs); base 38 chrome/browser/ui/app_list/search/common/webservice_search_provider.cc if (!use_throttling_ || base::Time::Now() - last_keytyped_ > interval) { base 44 chrome/browser/ui/app_list/search/common/webservice_search_provider.cc last_keytyped_ = base::Time::Now(); base 47 chrome/browser/ui/app_list/search/common/webservice_search_provider.cc bool WebserviceSearchProvider::IsValidQuery(const base::string16& query) { base 61 chrome/browser/ui/app_list/search/common/webservice_search_provider.cc bool WebserviceSearchProvider::IsSensitiveInput(const base::string16& query) { base 28 chrome/browser/ui/app_list/search/common/webservice_search_provider.h bool IsValidQuery(const base::string16& query); base 31 chrome/browser/ui/app_list/search/common/webservice_search_provider.h void StartThrottledQuery(const base::Closure& start_query); base 40 chrome/browser/ui/app_list/search/common/webservice_search_provider.h bool IsSensitiveInput(const base::string16& query); base 43 chrome/browser/ui/app_list/search/common/webservice_search_provider.h base::Time last_keytyped_; base 46 chrome/browser/ui/app_list/search/common/webservice_search_provider.h base::OneShotTimer<WebserviceSearchProvider> query_throttler_; base 21 chrome/browser/ui/app_list/search/history.cc TokenizedString tokenized(base::UTF8ToUTF16(utf8)); base 22 chrome/browser/ui/app_list/search/history.cc return base::UTF16ToUTF8(JoinString(tokenized.tokens(), ' ')); base 34 chrome/browser/ui/app_list/search/history.cc const base::FilePath data_file = base 22 chrome/browser/ui/app_list/search/history_data.cc const base::Time* update_time) base 28 chrome/browser/ui/app_list/search/history_data.cc const base::Time* update_time; base 47 chrome/browser/ui/app_list/search/history_data.cc store_->Load(base::Bind(&HistoryData::OnStoreLoaded, AsWeakPtr())); base 59 chrome/browser/ui/app_list/search/history_data.cc data.update_time = base::Time::Now(); base 69 chrome/browser/ui/app_list/search/history_data.cc data.update_time = base::Time::Now(); base 33 chrome/browser/ui/app_list/search/history_data.h class HistoryData : public base::SupportsWeakPtr<HistoryData> { base 49 chrome/browser/ui/app_list/search/history_data.h base::Time update_time; base 32 chrome/browser/ui/app_list/search/history_data_store.cc void GetSecondary(const base::ListValue* list, base 35 chrome/browser/ui/app_list/search/history_data_store.cc for (base::ListValue::const_iterator it = list->begin(); base 64 chrome/browser/ui/app_list/search/history_data_store.cc scoped_ptr<base::DictionaryValue> dict) { base 71 chrome/browser/ui/app_list/search/history_data_store.cc const base::DictionaryValue* assoc_dict = NULL; base 79 chrome/browser/ui/app_list/search/history_data_store.cc for (base::DictionaryValue::Iterator it(*assoc_dict); base 81 chrome/browser/ui/app_list/search/history_data_store.cc const base::DictionaryValue* entry_dict = NULL; base 93 chrome/browser/ui/app_list/search/history_data_store.cc const base::ListValue* secondary_list = NULL; base 104 chrome/browser/ui/app_list/search/history_data_store.cc base::StringToInt64(update_time_string, &update_time_val); base 106 chrome/browser/ui/app_list/search/history_data_store.cc base::Time::FromInternalValue(update_time_val); base 114 chrome/browser/ui/app_list/search/history_data_store.cc HistoryDataStore::HistoryDataStore(const base::FilePath& data_file) base 116 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* dict = data_store_->cached_dict(); base 119 chrome/browser/ui/app_list/search/history_data_store.cc dict->Set(kKeyAssociations, new base::DictionaryValue); base 132 chrome/browser/ui/app_list/search/history_data_store.cc data_store_->Load(base::Bind(&HistoryDataStore::OnDictionaryLoadedCallback, base 139 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* entry_dict = GetEntryDict(query); base 141 chrome/browser/ui/app_list/search/history_data_store.cc new base::StringValue(result)); base 148 chrome/browser/ui/app_list/search/history_data_store.cc scoped_ptr<base::ListValue> results_list(new base::ListValue); base 152 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* entry_dict = GetEntryDict(query); base 158 chrome/browser/ui/app_list/search/history_data_store.cc const base::Time& update_time) { base 159 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* entry_dict = GetEntryDict(query); base 161 chrome/browser/ui/app_list/search/history_data_store.cc new base::StringValue(base::Int64ToString( base 167 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* assoc_dict = GetAssociationDict(); base 172 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* HistoryDataStore::GetAssociationDict() { base 173 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* cached_dict = data_store_->cached_dict(); base 176 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* assoc_dict = NULL; base 183 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* HistoryDataStore::GetEntryDict( base 185 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* assoc_dict = GetAssociationDict(); base 187 chrome/browser/ui/app_list/search/history_data_store.cc base::DictionaryValue* entry_dict = NULL; base 190 chrome/browser/ui/app_list/search/history_data_store.cc entry_dict = new base::DictionaryValue; base 198 chrome/browser/ui/app_list/search/history_data_store.cc OnLoadedCallback callback, scoped_ptr<base::DictionaryValue> dict) { base 20 chrome/browser/ui/app_list/search/history_data_store.h namespace base { base 32 chrome/browser/ui/app_list/search/history_data_store.h class HistoryDataStore : public base::RefCountedThreadSafe<HistoryDataStore> { base 34 chrome/browser/ui/app_list/search/history_data_store.h typedef base::Callback<void(scoped_ptr<HistoryData::Associations>)> base 37 chrome/browser/ui/app_list/search/history_data_store.h explicit HistoryDataStore(const base::FilePath& data_file); base 52 chrome/browser/ui/app_list/search/history_data_store.h void SetUpdateTime(const std::string& query, const base::Time& update_time); base 56 chrome/browser/ui/app_list/search/history_data_store.h friend class base::RefCountedThreadSafe<HistoryDataStore>; base 62 chrome/browser/ui/app_list/search/history_data_store.h base::DictionaryValue* GetAssociationDict(); base 65 chrome/browser/ui/app_list/search/history_data_store.h base::DictionaryValue* GetEntryDict(const std::string& query); base 68 chrome/browser/ui/app_list/search/history_data_store.h scoped_ptr<base::DictionaryValue> dict); base 66 chrome/browser/ui/app_list/search/history_data_store_unittest.cc store_->Load(base::Bind(&HistoryDataStoreTest::OnRead, base 67 chrome/browser/ui/app_list/search/history_data_store_unittest.cc base::Unretained(this))); base 68 chrome/browser/ui/app_list/search/history_data_store_unittest.cc run_loop_.reset(new base::RunLoop); base 75 chrome/browser/ui/app_list/search/history_data_store_unittest.cc base::WriteFile( base 94 chrome/browser/ui/app_list/search/history_data_store_unittest.cc base::MessageLoopForUI message_loop_; base 96 chrome/browser/ui/app_list/search/history_data_store_unittest.cc base::ScopedTempDir temp_dir_; base 97 chrome/browser/ui/app_list/search/history_data_store_unittest.cc base::FilePath data_file_; base 98 chrome/browser/ui/app_list/search/history_data_store_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 149 chrome/browser/ui/app_list/search/history_data_store_unittest.cc const base::Time now = base::Time::Now(); base 42 chrome/browser/ui/app_list/search/history_unittest.cc base::TimeDelta::FromMilliseconds(timeout_ms), base 46 chrome/browser/ui/app_list/search/history_unittest.cc run_loop_.reset(new base::RunLoop); base 63 chrome/browser/ui/app_list/search/history_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 64 chrome/browser/ui/app_list/search/history_unittest.cc base::OneShotTimer<HistoryDataLoadWaiter> timer_; base 80 chrome/browser/ui/app_list/search/history_unittest.cc base::Bind(&StoreFlushWaiter::OnFlushed, base::Unretained(this))); base 83 chrome/browser/ui/app_list/search/history_unittest.cc base::TimeDelta::FromMilliseconds(timeout_ms), base 87 chrome/browser/ui/app_list/search/history_unittest.cc run_loop_.reset(new base::RunLoop); base 101 chrome/browser/ui/app_list/search/history_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 102 chrome/browser/ui/app_list/search/history_unittest.cc base::OneShotTimer<StoreFlushWaiter> timer_; base 160 chrome/browser/ui/app_list/search/history_unittest.cc base::MessageLoopForUI message_loop_; base 259 chrome/browser/ui/app_list/search/history_unittest.cc std::string query = base::StringPrintf("%d", static_cast<int>(i)); base 271 chrome/browser/ui/app_list/search/history_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(25)); base 293 chrome/browser/ui/app_list/search/history_unittest.cc std::string result_id = base::StringPrintf("%d", static_cast<int>(i)); base 25 chrome/browser/ui/app_list/search/mixer_unittest.cc set_title(base::UTF8ToUTF16(id)); base 53 chrome/browser/ui/app_list/search/mixer_unittest.cc virtual void Start(const base::string16& query) OVERRIDE { base 57 chrome/browser/ui/app_list/search/mixer_unittest.cc base::StringPrintf("%s%d", prefix_.c_str(), static_cast<int>(i)); base 98 chrome/browser/ui/app_list/search/mixer_unittest.cc const base::string16 query; base 114 chrome/browser/ui/app_list/search/mixer_unittest.cc result += base::UTF16ToUTF8(results_->GetItemAt(i)->title()); base 35 chrome/browser/ui/app_list/search/omnibox_provider.cc const base::string16& text, base 143 chrome/browser/ui/app_list/search/omnibox_provider.cc void OmniboxProvider::Start(const base::string16& query) { base 145 chrome/browser/ui/app_list/search/omnibox_provider.cc base::string16::npos, base 146 chrome/browser/ui/app_list/search/omnibox_provider.cc base::string16(), base 27 chrome/browser/ui/app_list/search/omnibox_provider.h virtual void Start(const base::string16& query) OVERRIDE; base 55 chrome/browser/ui/app_list/search/people/people_provider.cc void PeopleProvider::Start(const base::string16& query) { base 62 chrome/browser/ui/app_list/search/people/people_provider.cc query_ = base::UTF16ToUTF8(query); base 76 chrome/browser/ui/app_list/search/people/people_provider.cc base::Bind(&PeopleProvider::OnPeopleSearchFetched, base 77 chrome/browser/ui/app_list/search/people/people_provider.cc base::Unretained(this)), base 84 chrome/browser/ui/app_list/search/people/people_provider.cc StartThrottledQuery(base::Bind(&PeopleProvider::RequestAccessToken, base 85 chrome/browser/ui/app_list/search/people/people_provider.cc base::Unretained(this))); base 89 chrome/browser/ui/app_list/search/people/people_provider.cc StartThrottledQuery(base::Bind(&PeopleProvider::StartQuery, base 90 chrome/browser/ui/app_list/search/people/people_provider.cc base::Unretained(this))); base 102 chrome/browser/ui/app_list/search/people/people_provider.cc const base::Time& expiration_time) { base 151 chrome/browser/ui/app_list/search/people/people_provider.cc scoped_ptr<base::DictionaryValue> json) { base 160 chrome/browser/ui/app_list/search/people/people_provider.cc const base::DictionaryValue* json) { base 161 chrome/browser/ui/app_list/search/people/people_provider.cc const base::ListValue* item_list = NULL; base 170 chrome/browser/ui/app_list/search/people/people_provider.cc for (base::ListValue::const_iterator it = item_list->begin(); base 173 chrome/browser/ui/app_list/search/people/people_provider.cc const base::DictionaryValue* dict; base 186 chrome/browser/ui/app_list/search/people/people_provider.cc const base::DictionaryValue& dict) { base 198 chrome/browser/ui/app_list/search/people/people_provider.cc const base::Closure& people_search_fetched_callback, base 17 chrome/browser/ui/app_list/search/people/people_provider.h namespace base { base 40 chrome/browser/ui/app_list/search/people/people_provider.h virtual void Start(const base::string16& query) OVERRIDE; base 47 chrome/browser/ui/app_list/search/people/people_provider.h const base::Time& expiration_time) OVERRIDE; base 68 chrome/browser/ui/app_list/search/people/people_provider.h void OnPeopleSearchFetched(scoped_ptr<base::DictionaryValue> json); base 69 chrome/browser/ui/app_list/search/people/people_provider.h void ProcessPeopleSearchResults(const base::DictionaryValue* json); base 71 chrome/browser/ui/app_list/search/people/people_provider.h const base::DictionaryValue& dict); base 74 chrome/browser/ui/app_list/search/people/people_provider.h void SetupForTest(const base::Closure& people_search_fetched_callback, base 78 chrome/browser/ui/app_list/search/people/people_provider.h base::Closure people_search_fetched_callback_; base 173 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc base::Bind(&PeopleProviderTest::HandleRequest, base 174 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc base::Unretained(this))); base 180 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc base::Bind(&PeopleProviderTest::OnSearchResultsFetched, base 181 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc base::Unretained(this)), base 193 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc people_provider_->Start(base::UTF8ToUTF16(query)); base 199 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc run_loop_.reset(new base::RunLoop); base 218 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc results += base::UTF16ToUTF8((*it)->title()); base 240 chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc scoped_ptr<base::RunLoop> run_loop_; base 66 chrome/browser/ui/app_list/search/people/people_result.cc set_title(base::UTF8ToUTF16(person_->display_name)); base 68 chrome/browser/ui/app_list/search/people/people_result.cc set_details(base::UTF8ToUTF16(person_->email)); base 74 chrome/browser/ui/app_list/search/people/people_result.cc new UrlIconSource(base::Bind(&PeopleResult::OnIconLoaded, base 171 chrome/browser/ui/app_list/search/people/people_result.cc content::RecordAction(base::UserMetricsAction("PeopleSearch_OpenChat")); base 181 chrome/browser/ui/app_list/search/people/people_result.cc content::RecordAction(base::UserMetricsAction("PeopleSearch_SendEmail")); base 49 chrome/browser/ui/app_list/search/people/people_result.h base::WeakPtrFactory<PeopleResult> weak_factory_; base 39 chrome/browser/ui/app_list/search/people/person.cc std::string GetTargetValue(const base::DictionaryValue& dict, base 42 chrome/browser/ui/app_list/search/people/person.cc const base::ListValue* list; base 46 chrome/browser/ui/app_list/search/people/person.cc base::ListValue::const_iterator it = list->begin(); base 50 chrome/browser/ui/app_list/search/people/person.cc base::DictionaryValue* sub_dict; base 67 chrome/browser/ui/app_list/search/people/person.cc scoped_ptr<Person> Person::Create(const base::DictionaryValue& dict) { base 80 chrome/browser/ui/app_list/search/people/person.cc !base::StringToDouble( base 13 chrome/browser/ui/app_list/search/people/person.h namespace base { base 24 chrome/browser/ui/app_list/search/people/person.h static scoped_ptr<Person> Create(const base::DictionaryValue& dict); base 97 chrome/browser/ui/app_list/search/search_controller.cc base::string16 query; base 98 chrome/browser/ui/app_list/search/search_controller.cc base::TrimWhitespace(search_box_->text(), base::TRIM_ALL, &query); base 113 chrome/browser/ui/app_list/search/search_controller.cc base::TimeDelta::FromMilliseconds(kStopTimeMS), base 114 chrome/browser/ui/app_list/search/search_controller.cc base::Bind(&SearchController::Stop, base 115 chrome/browser/ui/app_list/search/search_controller.cc base::Unretained(this))); base 130 chrome/browser/ui/app_list/search/search_controller.cc content::RecordAction(base::UserMetricsAction("AppList_Search")); base 140 chrome/browser/ui/app_list/search/search_controller.cc history_->AddLaunchEvent(base::UTF16ToUTF8(search_box_->text()), base 155 chrome/browser/ui/app_list/search/search_controller.cc provider->set_result_changed_callback(base::Bind( base 157 chrome/browser/ui/app_list/search/search_controller.cc base::Unretained(this))); base 168 chrome/browser/ui/app_list/search/search_controller.cc history_->GetKnownResults(base::UTF16ToUTF8(search_box_->text())) base 73 chrome/browser/ui/app_list/search/search_controller.h base::OneShotTimer<SearchController> stop_timer_; base 21 chrome/browser/ui/app_list/search/search_provider.h typedef base::Closure ResultChangedCallback; base 27 chrome/browser/ui/app_list/search/search_provider.h virtual void Start(const base::string16& query) = 0; base 27 chrome/browser/ui/app_list/search/search_webstore_result.cc set_title(base::UTF8ToUTF16(query)); base 29 chrome/browser/ui/app_list/search/search_webstore_result.cc const base::string16 details = base 14 chrome/browser/ui/app_list/search/term_break_iterator.cc TermBreakIterator::TermBreakIterator(const base::string16& word) base 18 chrome/browser/ui/app_list/search/term_break_iterator.cc iter_(new base::i18n::UTF16CharIterator(&word)), base 51 chrome/browser/ui/app_list/search/term_break_iterator.cc const base::string16 TermBreakIterator::GetCurrentTerm() const { base 56 chrome/browser/ui/app_list/search/term_break_iterator.cc TermBreakIterator::State TermBreakIterator::GetNewState(base::char16 ch) { base 12 chrome/browser/ui/app_list/search/term_break_iterator.h namespace base { base 29 chrome/browser/ui/app_list/search/term_break_iterator.h explicit TermBreakIterator(const base::string16& word); base 37 chrome/browser/ui/app_list/search/term_break_iterator.h const base::string16 GetCurrentTerm() const; base 55 chrome/browser/ui/app_list/search/term_break_iterator.h State GetNewState(base::char16 ch); base 57 chrome/browser/ui/app_list/search/term_break_iterator.h const base::string16& word_; base 61 chrome/browser/ui/app_list/search/term_break_iterator.h scoped_ptr<base::i18n::UTF16CharIterator> iter_; base 10 chrome/browser/ui/app_list/search/term_break_iterator_unittest.cc using base::UTF8ToUTF16; base 16 chrome/browser/ui/app_list/search/term_break_iterator_unittest.cc base::string16 empty; base 22 chrome/browser/ui/app_list/search/term_break_iterator_unittest.cc base::string16 word(UTF8ToUTF16("simple")); base 30 chrome/browser/ui/app_list/search/term_break_iterator_unittest.cc base::string16 word(UTF8ToUTF16("CamelCase")); base 40 chrome/browser/ui/app_list/search/term_break_iterator_unittest.cc base::string16 word(UTF8ToUTF16("lowerToUpper")); base 52 chrome/browser/ui/app_list/search/term_break_iterator_unittest.cc base::string16 word(UTF8ToUTF16("Chromium26.0.0.0")); base 62 chrome/browser/ui/app_list/search/term_break_iterator_unittest.cc base::string16 word(UTF8ToUTF16("123startWithNumber")); base 77 chrome/browser/ui/app_list/search/term_break_iterator_unittest.cc base::string16 word(UTF8ToUTF16("English\xe4\xb8\xad\xe6\x96\x87Word")); base 12 chrome/browser/ui/app_list/search/tokenized_string.cc using base::i18n::BreakIterator; base 16 chrome/browser/ui/app_list/search/tokenized_string.cc TokenizedString::TokenizedString(const base::string16& text) base 31 chrome/browser/ui/app_list/search/tokenized_string.cc const base::string16 word(break_iter.GetString()); base 35 chrome/browser/ui/app_list/search/tokenized_string.cc tokens_.push_back(base::i18n::ToLower(term_iter.GetCurrentTerm())); base 21 chrome/browser/ui/app_list/search/tokenized_string.h typedef std::vector<base::string16> Tokens; base 24 chrome/browser/ui/app_list/search/tokenized_string.h explicit TokenizedString(const base::string16& text); base 27 chrome/browser/ui/app_list/search/tokenized_string.h const base::string16& text() const { return text_; } base 35 chrome/browser/ui/app_list/search/tokenized_string.h const base::string16 text_; base 67 chrome/browser/ui/app_list/search/tokenized_string_char_iterator.cc new base::i18n::UTF16CharIterator(&tokens_[current_token_])); base 12 chrome/browser/ui/app_list/search/tokenized_string_char_iterator.h namespace base { base 57 chrome/browser/ui/app_list/search/tokenized_string_char_iterator.h scoped_ptr<base::i18n::UTF16CharIterator> current_token_iter_; base 25 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc return base::StringPrintf("%s%d%s", base 26 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc base::UTF16ToUTF8( base 27 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc base::string16(1, iter.Get())).c_str(), base 42 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TokenizedString tokens(base::UTF8ToUTF16(text)); base 56 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TokenizedString tokens(base::UTF8ToUTF16(text)); base 71 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TokenizedString tokens(base::UTF8ToUTF16(text)); base 98 chrome/browser/ui/app_list/search/tokenized_string_match.cc bool TokenizedStringMatch::Calculate(const base::string16& query, base 99 chrome/browser/ui/app_list/search/tokenized_string_match.cc const base::string16& text) { base 36 chrome/browser/ui/app_list/search/tokenized_string_match.h bool Calculate(const base::string16& query, const base::string16& text); base 17 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc std::string MatchHit(const base::string16& text, base 19 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc base::string16 marked = text; base 29 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc return base::UTF16ToUTF8(marked); base 47 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); base 48 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc EXPECT_FALSE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text)) base 73 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); base 74 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc EXPECT_TRUE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text)); base 101 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); base 103 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc match_low.Calculate(base::UTF8ToUTF16(kTestCases[i].query_low), text)); base 105 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc base::UTF8ToUTF16(kTestCases[i].query_high), text)); base 15 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 GetContent(const TokenizedString& tokenized) { base 19 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 str; base 24 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc str += base::UTF8ToUTF16(mappings[i].ToString()); base 32 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 empty; base 34 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc EXPECT_EQ(base::string16(), GetContent(tokens)); base 39 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("ScratchPad")); base 41 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("scratch{0,7} pad{7,10}"), base 45 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Chess2.0")); base 47 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("chess{0,5} 2.0{5,8}"), base 51 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Cut the rope")); base 53 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("cut{0,3} the{4,7} rope{8,12}"), base 57 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("AutoCAD WS")); base 59 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("auto{0,4} cad{4,7} ws{8,10}"), base 63 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Great TweetDeck")); base 65 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("great{0,5} tweet{6,11} deck{11,15}"), base 69 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Draw-It!")); base 71 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("draw{0,4} it{5,7}"), base 75 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Faxing & Signing")); base 77 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("faxing{0,6} signing{9,16}"), base 81 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("!@#$%^&*()<<<**>>>")); base 83 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(""), base 30 chrome/browser/ui/app_list/search/webstore/webstore_installer.h friend class base::RefCountedThreadSafe<WebstoreInstaller>; base 36 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc return base::FieldTrialList::FindFullName(kFieldTrialName) == kEnable; base 48 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc void WebstoreProvider::Start(const base::string16& query) { base 55 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc query_ = base::UTF16ToUTF8(query); base 68 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc base::Bind(&WebstoreProvider::OnWebstoreSearchFetched, base 69 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc base::Unretained(this)), base 73 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc StartThrottledQuery(base::Bind(&WebstoreProvider::StartQuery, base 74 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc base::Unretained(this))); base 98 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc scoped_ptr<base::DictionaryValue> json) { base 107 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc const base::DictionaryValue* json) { base 108 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc const base::ListValue* result_list = NULL; base 117 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc for (base::ListValue::const_iterator it = result_list->begin(); base 120 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc const base::DictionaryValue* dict; base 139 chrome/browser/ui/app_list/search/webstore/webstore_provider.cc const base::DictionaryValue& dict) { base 15 chrome/browser/ui/app_list/search/webstore/webstore_provider.h namespace base { base 37 chrome/browser/ui/app_list/search/webstore/webstore_provider.h virtual void Start(const base::string16& query) OVERRIDE; base 46 chrome/browser/ui/app_list/search/webstore/webstore_provider.h void OnWebstoreSearchFetched(scoped_ptr<base::DictionaryValue> json); base 47 chrome/browser/ui/app_list/search/webstore/webstore_provider.h void ProcessWebstoreSearchResults(const base::DictionaryValue* json); base 49 chrome/browser/ui/app_list/search/webstore/webstore_provider.h const base::DictionaryValue& dict); base 51 chrome/browser/ui/app_list/search/webstore/webstore_provider.h void set_webstore_search_fetched_callback(const base::Closure& callback) { base 57 chrome/browser/ui/app_list/search/webstore/webstore_provider.h base::Closure webstore_search_fetched_callback_; base 82 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc base::Bind(&WebstoreProviderTest::HandleRequest, base 83 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc base::Unretained(this))); base 90 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc base::Bind(&WebstoreProviderTest::OnSearchResultsFetched, base 91 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc base::Unretained(this))); base 103 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc webstore_provider_->Start(base::UTF8ToUTF16(query)); base 109 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc run_loop_.reset(new base::RunLoop); base 128 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc results += base::UTF16ToUTF8((*it)->title()); base 159 chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc scoped_ptr<base::RunLoop> run_loop_; base 82 chrome/browser/ui/app_list/search/webstore/webstore_result.cc set_title(base::UTF8ToUTF16(localized_name_)); base 88 chrome/browser/ui/app_list/search/webstore/webstore_result.cc new UrlIconSource(base::Bind(&WebstoreResult::OnIconLoaded, base 146 chrome/browser/ui/app_list/search/webstore/webstore_result.cc base::string16())); base 154 chrome/browser/ui/app_list/search/webstore/webstore_result.cc const base::string16 details = base 186 chrome/browser/ui/app_list/search/webstore/webstore_result.cc base::Bind(&WebstoreResult::InstallCallback, base 197 chrome/browser/ui/app_list/search/webstore/webstore_result.cc base::Bind(&WebstoreResult::InstallCallback, base 65 chrome/browser/ui/app_list/search/webstore/webstore_result.h base::WeakPtrFactory<WebstoreResult> weak_factory_; base 16 chrome/browser/ui/app_list/start_page_observer.h virtual void OnSpeechResult(const base::string16& query, bool is_final) = 0; base 36 chrome/browser/ui/app_list/start_page_service.cc using base::RecordAction; base 37 chrome/browser/ui/app_list/start_page_service.cc using base::UserMetricsAction; base 135 chrome/browser/ui/app_list/start_page_service.cc base::FundamentalValue(HotwordEnabled())); base 192 chrome/browser/ui/app_list/start_page_service.cc const base::string16& query, bool is_final) { base 57 chrome/browser/ui/app_list/start_page_service.h void OnSpeechResult(const base::string16& query, bool is_final); base 70 chrome/browser/ui/app_list/test/app_list_shower_unittest.cc const base::Closure& on_should_dismiss) OVERRIDE { base 11 chrome/browser/ui/app_list/test/fake_profile.cc FakeProfile::FakeProfile(const std::string& name, const base::FilePath& path) base 24 chrome/browser/ui/app_list/test/fake_profile.cc base::FilePath FakeProfile::GetPath() const { base 54 chrome/browser/ui/app_list/test/fake_profile.cc const base::FilePath& partition_path, base 101 chrome/browser/ui/app_list/test/fake_profile.cc scoped_refptr<base::SequencedTaskRunner> base 103 chrome/browser/ui/app_list/test/fake_profile.cc return scoped_refptr<base::SequencedTaskRunner>(); base 168 chrome/browser/ui/app_list/test/fake_profile.cc base::Time FakeProfile::GetStartTime() const { base 169 chrome/browser/ui/app_list/test/fake_profile.cc return base::Time(); base 180 chrome/browser/ui/app_list/test/fake_profile.cc const base::FilePath& partition_path, base 187 chrome/browser/ui/app_list/test/fake_profile.cc base::FilePath FakeProfile::last_selected_directory() { base 188 chrome/browser/ui/app_list/test/fake_profile.cc return base::FilePath(); base 191 chrome/browser/ui/app_list/test/fake_profile.cc void FakeProfile::set_last_selected_directory(const base::FilePath& path) {} base 208 chrome/browser/ui/app_list/test/fake_profile.cc void FakeProfile::ClearNetworkingHistorySince(base::Time time, base 209 chrome/browser/ui/app_list/test/fake_profile.cc const base::Closure& completion) { base 29 chrome/browser/ui/app_list/test/fake_profile.h FakeProfile(const std::string& name, const base::FilePath& path); base 34 chrome/browser/ui/app_list/test/fake_profile.h virtual base::FilePath GetPath() const OVERRIDE; base 45 chrome/browser/ui/app_list/test/fake_profile.h const base::FilePath& partition_path, base 72 chrome/browser/ui/app_list/test/fake_profile.h virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; base 91 chrome/browser/ui/app_list/test/fake_profile.h virtual base::Time GetStartTime() const OVERRIDE; base 96 chrome/browser/ui/app_list/test/fake_profile.h const base::FilePath& partition_path, base 100 chrome/browser/ui/app_list/test/fake_profile.h virtual base::FilePath last_selected_directory() OVERRIDE; base 101 chrome/browser/ui/app_list/test/fake_profile.h virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; base 113 chrome/browser/ui/app_list/test/fake_profile.h base::Time time, const base::Closure& completion) OVERRIDE; base 121 chrome/browser/ui/app_list/test/fake_profile.h base::FilePath path_; base 9 chrome/browser/ui/app_list/test/fake_profile_store.cc FakeProfileStore::FakeProfileStore(const base::FilePath& user_data_dir) base 26 chrome/browser/ui/app_list/test/fake_profile_store.cc base::FilePath path(profile->GetPath()); base 31 chrome/browser/ui/app_list/test/fake_profile_store.cc OnProfileWasRemoved(path, base::string16())); base 40 chrome/browser/ui/app_list/test/fake_profile_store.cc const base::FilePath& path, base 41 chrome/browser/ui/app_list/test/fake_profile_store.cc base::Callback<void(Profile*)> callback) { base 51 chrome/browser/ui/app_list/test/fake_profile_store.cc const base::FilePath& path) { base 58 chrome/browser/ui/app_list/test/fake_profile_store.cc base::FilePath FakeProfileStore::GetUserDataDir() { base 62 chrome/browser/ui/app_list/test/fake_profile_store.cc bool FakeProfileStore::IsProfileManaged(const base::FilePath& path) { base 16 chrome/browser/ui/app_list/test/fake_profile_store.h explicit FakeProfileStore(const base::FilePath& user_data_dir); base 25 chrome/browser/ui/app_list/test/fake_profile_store.h const base::FilePath& path, base 26 chrome/browser/ui/app_list/test/fake_profile_store.h base::Callback<void(Profile*)> callback) OVERRIDE; base 27 chrome/browser/ui/app_list/test/fake_profile_store.h virtual Profile* GetProfileByPath(const base::FilePath& path) OVERRIDE; base 28 chrome/browser/ui/app_list/test/fake_profile_store.h virtual base::FilePath GetUserDataDir() OVERRIDE; base 29 chrome/browser/ui/app_list/test/fake_profile_store.h virtual bool IsProfileManaged(const base::FilePath& path) OVERRIDE; base 32 chrome/browser/ui/app_list/test/fake_profile_store.h base::FilePath user_data_dir_; base 33 chrome/browser/ui/app_list/test/fake_profile_store.h typedef std::map<base::FilePath, base::Callback<void(Profile*)> > base 37 chrome/browser/ui/app_list/test/fake_profile_store.h typedef std::map<base::FilePath, Profile*> ProfilesByPath; base 18 chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc const base::string16& title) base 26 chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h const base::string16& title); base 42 chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h base::string16 title() const { return title_; } base 75 chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h base::string16 title_; base 32 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc void EnforceMaxTextSize(const base::string16& in_string, base 33 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc base::string16* out_string) { base 37 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc void EnforceMaxPromptSize(const base::string16& in_string, base 38 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc base::string16* out_string) { base 47 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc void EnforceMaxTextSize(const base::string16& in_string, base 48 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc base::string16* out_string) { base 51 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc void EnforceMaxPromptSize(const base::string16& in_string, base 52 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc base::string16* out_string) { base 66 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc const base::string16& title, base 68 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc const base::string16& message_text, base 69 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc const base::string16& default_prompt_text, base 115 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc callback_.Run(false, base::string16()); base 131 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc NotifyDelegate(false, base::string16(), suppress_js_messages); base 134 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc void JavaScriptAppModalDialog::OnAccept(const base::string16& prompt_text, base 136 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc base::string16 prompt_text_to_use = prompt_text; base 146 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc NotifyDelegate(false, base::string16(), false); base 150 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc const base::string16& override_prompt_text) { base 156 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc const base::string16& user_input, base 172 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc base::TimeTicks::Now(); base 22 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h base::TimeTicks last_javascript_message_dismissal_; base 37 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h const base::string16& title, base 39 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h const base::string16& message_text, base 40 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h const base::string16& default_prompt_text, base 54 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h void OnAccept(const base::string16& prompt_text, bool suppress_js_messages); base 62 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h void SetOverridePromptText(const base::string16& prompt_text); base 68 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h base::string16 message_text() const { return message_text_; } base 69 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h base::string16 default_prompt_text() const { return default_prompt_text_; } base 76 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h void NotifyDelegate(bool success, const base::string16& prompt_text, base 85 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h base::string16 message_text_; base 86 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h base::string16 default_prompt_text_; base 95 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h base::string16 override_prompt_text_; base 88 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16& message_text, base 89 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16& default_prompt_text, base 95 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16& message_text, base 102 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16* prompt_override) OVERRIDE; base 115 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::string16 GetTitle(WebContents* web_contents, base 125 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16& user_input); base 153 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16& message_text, base 154 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16& default_prompt_text, base 167 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::TimeDelta time_since_last_message = base::TimeTicks::Now() - base 173 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::TimeDelta::FromMilliseconds( base 181 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::string16 dialog_title = base 198 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::Bind(&ChromeJavaScriptDialogManager::OnDialogClosed, base 199 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::Unretained(this), web_contents, callback))); base 204 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16& message_text, base 207 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16 title = l10n_util::GetStringUTF16(is_reload ? base 209 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16 footer = l10n_util::GetStringUTF16(is_reload ? base 212 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::string16 full_message = base 213 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc message_text + base::ASCIIToUTF16("\n\n") + footer; base 225 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::string16(), // default_prompt_text base 229 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::Bind(&ChromeJavaScriptDialogManager::OnDialogClosed, base 230 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::Unretained(this), web_contents, callback))); base 236 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16* prompt_override) { base 261 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::string16 ChromeJavaScriptDialogManager::GetTitle( base 275 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc return base::UTF8ToUTF16(extension->name()); base 279 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::string16 url_string = net::FormatUrl(origin_url, accept_lang); base 283 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc base::i18n::GetDisplayStringInLTRDirectionality(url_string)); base 303 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc const base::string16& user_input) { base 22 chrome/browser/ui/apps/app_info_dialog.h const base::Closure& close_callback); base 55 chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc base::MessageLoop::current()->PostTask( base 56 chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc FROM_HERE, base::Bind(base::IgnoreResult(chrome::ActivateMetroChrome))); base 74 chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc base::string16 AppMetroInfoBarDelegateWin::GetMessageText() const { base 80 chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc base::string16 AppMetroInfoBarDelegateWin::GetButtonLabel( base 107 chrome/browser/ui/apps/app_metro_infobar_delegate_win.cc base::string16 AppMetroInfoBarDelegateWin::GetLinkText() const { base 37 chrome/browser/ui/apps/app_metro_infobar_delegate_win.h virtual base::string16 GetMessageText() const OVERRIDE; base 38 chrome/browser/ui/apps/app_metro_infobar_delegate_win.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 41 chrome/browser/ui/apps/app_metro_infobar_delegate_win.h virtual base::string16 GetLinkText() const OVERRIDE; base 19 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::string16& app_name, base 21 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::Closure& on_accept, base 22 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::Closure& on_cancel); base 24 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc virtual base::string16 GetTitle() OVERRIDE; base 25 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc virtual base::string16 GetDialogMessage() OVERRIDE; base 26 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc virtual base::string16 GetAcceptButtonTitle() OVERRIDE; base 27 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc virtual base::string16 GetCancelButtonTitle() OVERRIDE; base 34 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::Closure on_accept_; base 35 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::Closure on_cancel_; base 37 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::string16 app_name_; base 42 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::string16& app_name, base 44 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::Closure& on_accept, base 45 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::Closure& on_cancel) base 52 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc base::string16 DirectoryAccessConfirmationDialog::GetTitle() { base 57 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc base::string16 DirectoryAccessConfirmationDialog::GetDialogMessage() { base 69 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc base::string16 DirectoryAccessConfirmationDialog::GetAcceptButtonTitle() { base 72 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc base::string16 DirectoryAccessConfirmationDialog::GetCancelButtonTitle() { base 91 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::string16& app_name, base 93 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::Closure& on_accept, base 94 chrome/browser/ui/apps/directory_access_confirmation_dialog.cc const base::Closure& on_cancel) { base 16 chrome/browser/ui/apps/directory_access_confirmation_dialog.h const base::string16& app_name, base 18 chrome/browser/ui/apps/directory_access_confirmation_dialog.h const base::Closure& on_accept, base 19 chrome/browser/ui/apps/directory_access_confirmation_dialog.h const base::Closure& on_cancel); base 93 chrome/browser/ui/ash/app_list/app_list_controller_ash.cc const base::FilePath& profile_path) { base 40 chrome/browser/ui/ash/app_list/app_list_controller_ash.h const base::FilePath& profile_path) OVERRIDE; base 32 chrome/browser/ui/ash/app_list/app_list_service_ash.cc virtual base::FilePath GetProfilePath( base 33 chrome/browser/ui/ash/app_list/app_list_service_ash.cc const base::FilePath& user_data_dir) OVERRIDE; base 56 chrome/browser/ui/ash/app_list/app_list_service_ash.cc base::FilePath AppListServiceAsh::GetProfilePath( base 57 chrome/browser/ui/ash/app_list/app_list_service_ash.cc const base::FilePath& user_data_dir) { base 106 chrome/browser/ui/ash/app_sync_ui_state.cc base::TimeDelta::FromMilliseconds(kMaxSyncingTimeMs), base 79 chrome/browser/ui/ash/app_sync_ui_state.h base::OneShotTimer<AppSyncUIState> max_syncing_status_timer_; base 47 chrome/browser/ui/ash/ash_init.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 67 chrome/browser/ui/ash/ash_init.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); base 175 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc scoped_ptr<base::ListValue> event_args(new base::ListValue()); base 176 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc scoped_ptr<base::DictionaryValue> input_context(new base::DictionaryValue()); base 24 chrome/browser/ui/ash/chrome_launcher_prefs.cc base::ListValue* CreateDefaultPinnedAppsList() { base 25 chrome/browser/ui/ash/chrome_launcher_prefs.cc scoped_ptr<base::ListValue> apps(new base::ListValue); base 84 chrome/browser/ui/ash/chrome_launcher_prefs.cc base::DictionaryValue* CreateAppDict(const std::string& app_id) { base 85 chrome/browser/ui/ash/chrome_launcher_prefs.cc scoped_ptr<base::DictionaryValue> app_value(new base::DictionaryValue); base 10 chrome/browser/ui/ash/chrome_launcher_prefs.h namespace base { base 37 chrome/browser/ui/ash/chrome_launcher_prefs.h base::DictionaryValue* CreateAppDict(const std::string& app_id); base 148 chrome/browser/ui/ash/chrome_shell_delegate.cc base::string16 ChromeShellDelegate::GetProductName() const { base 80 chrome/browser/ui/ash/chrome_shell_delegate.h virtual base::string16 GetProductName() const OVERRIDE; base 194 chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc virtual base::TimeDelta PlayShutdownSound() const OVERRIDE { base 148 chrome/browser/ui/ash/chrome_shell_delegate_views.cc base::TimeDelta PlayShutdownSound() const OVERRIDE { base 149 chrome/browser/ui/ash/chrome_shell_delegate_views.cc return base::TimeDelta(); base 242 chrome/browser/ui/ash/chrome_shell_delegate_views.cc base::FilePath(), base 151 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc base::string16 title = launcher_controller()->GetAppListTitle(web_contents); base 205 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc base::string16 AppShortcutLauncherItemController::GetTitle() { base 365 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc last_launch_attempt_ + base::TimeDelta::FromMilliseconds( base 366 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc kClickSuppressionInMS) < base::Time::Now()) { base 367 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc last_launch_attempt_ = base::Time::Now(); base 47 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h virtual base::string16 GetTitle() OVERRIDE; base 92 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h base::Time last_launch_attempt_; base 27 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc return base::StringPrintf("panel:%d", app_window->session_id().id()); base 209 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc base::string16 AppWindowLauncherItemController::GetTitle() { base 215 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc base::string16 title = app_window->web_contents()->GetTitle(); base 62 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h virtual base::string16 GetTitle() OVERRIDE; base 179 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc base::string16 title = GetBrowserListTitle(web_contents); base 188 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc base::string16 title = base 221 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc base::string16 BrowserShortcutLauncherItemController::GetTitle() { base 253 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc base::string16 BrowserShortcutLauncherItemController::GetBrowserListTitle( base 255 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc base::string16 title = web_contents->GetTitle(); base 40 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h virtual base::string16 GetTitle() OVERRIDE; base 55 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h base::string16 GetBrowserListTitle(content::WebContents* web_contents) const; base 8 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.cc const base::string16 title, base 16 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h ChromeLauncherAppMenuItem(const base::string16 title, base 23 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h const base::string16& title() const { return title_; } base 43 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h const base::string16 title_; base 17 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc const base::string16 title, base 21 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.h ChromeLauncherAppMenuItemBrowser(const base::string16 title, base 15 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc const base::string16 title, base 25 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.h ChromeLauncherAppMenuItemTab(const base::string16 title, base 10 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.cc const base::string16 title, base 24 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h const base::string16 title, base 117 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc return base::Int64ToString(display.id()); base 129 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::DictionaryValue* shelf_prefs = update.Get(); base 130 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::DictionaryValue* prefs = NULL; base 132 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc prefs = new base::DictionaryValue(); base 166 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const base::DictionaryValue* shelf_prefs = pref_service->GetDictionary( base 168 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const base::DictionaryValue* display_pref = NULL; base 177 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc for (base::DictionaryValue::Iterator iter(*shelf_prefs); base 179 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const base::DictionaryValue* display_pref = NULL; base 191 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const base::Value* default_value = base 855 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::DictionaryValue* app_value = ash::CreateAppDict( base 863 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::DictionaryValue* app_value = ash::CreateAppDict( base 872 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Bind(&ChromeLauncherController::UpdateAppLaunchersFromPref, base 873 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Unretained(this))); base 1296 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::string16 ChromeLauncherController::GetAppListTitle( base 1298 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::string16 title = web_contents->GetTitle(); base 1307 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc return base::UTF8ToUTF16(extension->name()); base 1478 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::AutoReset<bool> auto_reset(&ignore_persist_pinned_state_change_, true); base 1790 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const base::ListValue* pinned_apps_pref = base 1869 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const base::ListValue* pinned_apps_pref = base 1879 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Value* chrome_app = ash::CreateAppDict(extension_misc::kChromeAppId); base 1893 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const base::DictionaryValue* app = NULL; base 1991 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Bind(&ChromeLauncherController::UpdateAppLaunchersFromPref, base 1992 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Unretained(this))); base 1995 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Bind(&ChromeLauncherController::SetShelfAlignmentFromPrefs, base 1996 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Unretained(this))); base 1999 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Bind(&ChromeLauncherController:: base 2001 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Unretained(this))); base 2004 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Bind(&ChromeLauncherController::SetShelfBehaviorsFromPrefs, base 2005 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc base::Unretained(this))); base 369 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h base::string16 GetAppListTitle(content::WebContents* web_contents) const; base 71 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc : ui::Event(type, base::TimeDelta(), 0) { base 279 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 281 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 283 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 287 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 295 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 802 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::RunLoop run_loop; base 1547 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1570 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1581 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1590 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1596 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1610 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1614 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1626 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1630 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1640 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1697 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1721 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1733 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1744 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1750 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1817 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1828 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc std::string fake_app_id = base::StringPrintf("fake_app_%d", items_added); base 1836 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc std::string fake_app_id = base::StringPrintf("fake_app_%d", items_added); base 1875 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1891 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1969 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc std::string fake_app_id = base::StringPrintf("fake_app_%d", items_added); base 2025 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 2030 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 72 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc using base::ASCIIToUTF16; base 236 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc virtual base::string16 GetTitle() OVERRIDE { return base::string16(); } base 241 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc new ChromeLauncherAppMenuItem(base::string16(), NULL, false)); base 243 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc new ChromeLauncherAppMenuItem(base::string16(), NULL, false)); base 290 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::DictionaryValue manifest; base 301 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc CommandLine::ForCurrentProcess(), base::FilePath(), false); base 304 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc extension1_ = Extension::Create(base::FilePath(), Manifest::UNPACKED, base 309 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc extension2_ = Extension::Create(base::FilePath(), Manifest::UNPACKED, base 315 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::DictionaryValue manifest_gmail; base 323 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue* list = new base::ListValue(); base 324 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc list->Append(base::Value::CreateStringValue("*://mail.google.com/mail/ca")); base 327 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc extension3_ = Extension::Create(base::FilePath(), Manifest::UNPACKED, base 334 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc extension4_ = Extension::Create(base::FilePath(), Manifest::UNPACKED, base 339 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc extension5_ = Extension::Create(base::FilePath(), Manifest::UNPACKED, base 344 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc extension6_ = Extension::Create(base::FilePath(), Manifest::UNPACKED, base 349 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc extension7_ = Extension::Create(base::FilePath(), Manifest::UNPACKED, base 354 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc extension8_ = Extension::Create(base::FilePath(), Manifest::UNPACKED, base 377 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc virtual void SetUpMultiUserScenario(base::ListValue* user_a, base 378 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue* user_b) { base 383 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue no_user; base 458 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc void InsertPrefValue(base::ListValue* pref_value, base 461 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 840 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 841 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::MessageLoop::QuitClosure()); base 842 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::MessageLoop::current()->Run(); base 992 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 1032 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 1071 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 1109 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 1122 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value1; base 1131 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value2; base 1168 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 1187 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 1226 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 1264 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 1300 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 1316 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value1; base 1324 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value2; base 1335 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value3; base 1774 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value0; base 1794 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value1; base 1807 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value2; base 1815 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value3; base 1828 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value0; base 1848 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value1; base 1859 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value2; base 1867 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value3; base 1877 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue user_a; base 1878 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue user_b; base 1912 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue user_a; base 1913 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue user_b; base 1953 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue user_a; base 1954 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue user_b; base 1986 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue policy_value; base 2047 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue pref_value; base 2100 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::ListValue pref_value; base 2130 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title[], base 2186 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title1 = ASCIIToUTF16("Test1"); base 2188 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 one_menu_item[] = { title1 }; base 2199 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title2 = ASCIIToUTF16("Test2"); base 2205 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 two_menu_items[] = {title1, title2}; base 2233 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title1 = ASCIIToUTF16("Test1"); base 2235 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 one_menu_item1[] = { title1 }; base 2245 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 one_menu_item2[] = { ASCIIToUTF16(user2) }; base 2302 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title1 = ASCIIToUTF16("Test1"); base 2305 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 one_menu_item[] = { title1 }; base 2311 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title2 = ASCIIToUTF16("Test2"); base 2319 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title3 = ASCIIToUTF16("Test3"); base 2321 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 two_menu_items[] = {title1, title3}; base 2327 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 browser_menu_item[] = {title3}; base 2337 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 browser_menu_item2[] = { title2 }; base 2372 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title1 = ASCIIToUTF16("Test1"); base 2375 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 one_menu_item[] = { title1 }; base 2531 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title1 = ASCIIToUTF16("Test1"); base 2534 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title2 = ASCIIToUTF16("Test2"); base 2541 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 two_menu_items[] = {title1, title2}; base 2580 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title1 = ASCIIToUTF16("Test1"); base 2583 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title2 = ASCIIToUTF16("Test2"); base 2590 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 two_menu_items[] = {title1, title2}; base 2674 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title = ASCIIToUTF16("Test"); base 2706 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc base::string16 title = ASCIIToUTF16("Test"); base 34 chrome/browser/ui/ash/launcher/chrome_launcher_controller_win.cc base::FilePath exe_path; base 35 chrome/browser/ui/ash/launcher/chrome_launcher_controller_win.cc if (!PathService::Get(base::FILE_EXE, &exe_path)) { base 42 chrome/browser/ui/ash/launcher/chrome_launcher_controller_win.cc std::string spec = base::StringPrintf("\"--%s=%s\" \"--%s=%s\"", base 48 chrome/browser/ui/ash/launcher/chrome_launcher_controller_win.cc exe_path, base::UTF8ToUTF16(spec)); base 76 chrome/browser/ui/ash/launcher/launcher_context_menu.cc base::Bind(MenuItemHasLauncherContext))), base 86 chrome/browser/ui/ash/launcher/launcher_context_menu.cc base::Bind(MenuItemHasLauncherContext))); base 94 chrome/browser/ui/ash/launcher/launcher_context_menu.cc AddItem(MENU_OPEN_NEW, base::string16()); base 164 chrome/browser/ui/ash/launcher/launcher_context_menu.cc app_key, base::string16(), &index); base 196 chrome/browser/ui/ash/launcher/launcher_context_menu.cc base::string16 LauncherContextMenu::GetLabelForCommandId(int command_id) const { base 210 chrome/browser/ui/ash/launcher/launcher_context_menu.cc return base::string16(); base 214 chrome/browser/ui/ash/launcher/launcher_context_menu.cc return base::string16(); base 57 chrome/browser/ui/ash/launcher/launcher_context_menu.h virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; base 70 chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc base::WeakPtrFactory<FaviconBitmapHandler> weak_ptr_factory_; base 117 chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc base::Bind(&FaviconBitmapHandler::DidDownloadFavicon, base 87 chrome/browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc std::string url_path = base::StringPrintf("files/ash/launcher/%s", url); base 94 chrome/browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc base::Time start_time = base::Time::Now(); base 98 chrome/browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc base::TimeDelta delta = base::Time::Now() - start_time; base 109 chrome/browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc base::Time start_time = base::Time::Now(); base 112 chrome/browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc base::TimeDelta delta = base::Time::Now() - start_time; base 33 chrome/browser/ui/ash/launcher/launcher_item_controller.cc base::string16 LauncherItemController::GetAppTitle() const { base 35 chrome/browser/ui/ash/launcher/launcher_item_controller.cc return base::string16(); base 39 chrome/browser/ui/ash/launcher/launcher_item_controller.cc return extension ? base::UTF8ToUTF16(extension->name()) : base::string16(); base 90 chrome/browser/ui/ash/launcher/launcher_item_controller.h base::string16 GetAppTitle() const; base 96 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc base::ASCIIToUTF16(delegate->GetUserEmail(user_index)))); base 123 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc base::Callback<void(bool)> on_accept = base 124 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc base::Bind(&OnAcceptTeleportWarning, user_id, window); base 78 chrome/browser/ui/ash/multi_user/multi_user_util.cc return base::EmptyString(); base 34 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc TeleportWarningView(base::Callback<void(bool)> on_accept); base 37 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc static void ShowDialog(const base::Callback<void(bool)> on_accept); base 52 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc const base::Callback<void(bool)> on_accept_; base 61 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc const base::Callback<void(bool)> on_accept) base 70 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc const base::Callback<void(bool)> on_accept) { base 159 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc const base::Callback<void(bool)> on_accept) { base 13 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.h void ShowMultiprofilesWarningDialog(const base::Callback<void(bool)> on_accept); base 82 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc base::MessageLoop* message_loop = base::MessageLoop::current(); base 166 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc base::TimeDelta::FromMilliseconds(animation_time_in_ms)); base 185 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc const base::TimeDelta previous_animation_time_; base 321 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc : base::EmptyString(); base 371 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc return base::EmptyString(); base 429 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc user_changed_animation_timer_.reset(new base::Timer( base 431 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc base::TimeDelta::FromMilliseconds(kUserFadeTimeMS), base 432 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc base::Bind(&MultiUserWindowManagerChromeOS::TransitionUser, base 433 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc base::Unretained(this), base 758 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc base::AutoReset<bool> suppressor(&suppress_visibility_changes_, true); base 849 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc base::AutoReset<bool> suppressor(&suppress_visibility_changes_, true); base 258 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h scoped_ptr<base::Timer> user_changed_animation_timer_; base 47 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 50 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc ASSERT_GE(1000, (base::TimeTicks::Now() - now).InMilliseconds()); base 51 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 19 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc return base::EmptyString(); base 43 chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc return base::EmptyString(); base 70 chrome/browser/ui/ash/screenshot_taker.cc void CopyScreenshotToClipboard(scoped_refptr<base::RefCountedString> png_data) { base 74 chrome/browser/ui/ash/screenshot_taker.cc base::Base64Encode(png_data->data(), &encoded); base 85 chrome/browser/ui/ash/screenshot_taker.cc scw.WriteHTML(base::UTF8ToUTF16(html), std::string()); base 87 chrome/browser/ui/ash/screenshot_taker.cc content::RecordAction(base::UserMetricsAction("Screenshot_CopyClipboard")); base 90 chrome/browser/ui/ash/screenshot_taker.cc void ReadFileAndCopyToClipboardLocal(const base::FilePath& screenshot_path) { base 93 chrome/browser/ui/ash/screenshot_taker.cc scoped_refptr<base::RefCountedString> png_data(new base::RefCountedString()); base 94 chrome/browser/ui/ash/screenshot_taker.cc if (!base::ReadFileToString(screenshot_path, &(png_data->data()))) { base 102 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(CopyScreenshotToClipboard, png_data)); base 107 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& file_path, base 116 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(&ReadFileAndCopyToClipboardLocal, file_path)); base 127 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path) base 157 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(&ReadFileAndCopyToClipboardDrive)); base 162 chrome/browser/ui/ash/screenshot_taker.cc FROM_HERE, base::Bind( base 178 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath screenshot_path_; base 183 chrome/browser/ui/ash/screenshot_taker.cc typedef base::Callback< base 185 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path)> ShowNotificationCallback; base 188 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path, base 189 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& local_path, base 190 chrome/browser/ui/ash/screenshot_taker.cc scoped_refptr<base::RefCountedBytes> png_data) { base 195 chrome/browser/ui/ash/screenshot_taker.cc if (static_cast<size_t>(base::WriteFile( base 204 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(callback, result, screenshot_path)); base 208 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path, base 209 chrome/browser/ui/ash/screenshot_taker.cc scoped_refptr<base::RefCountedBytes> png_data) { base 213 chrome/browser/ui/ash/screenshot_taker.cc if (!base::CreateDirectory(screenshot_path.DirName())) { base 218 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(callback, base 229 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path, base 230 chrome/browser/ui/ash/screenshot_taker.cc scoped_refptr<base::RefCountedBytes> png_data, base 232 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& local_path) { base 240 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(callback, base 251 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path, base 252 chrome/browser/ui/ash/screenshot_taker.cc scoped_refptr<base::RefCountedBytes> png_data, base 261 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(&SaveScreenshotToDrive, base 275 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path, base 276 chrome/browser/ui/ash/screenshot_taker.cc scoped_refptr<base::RefCountedBytes> png_data) { base 281 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(&EnsureDirectoryExistsCallback, base 288 chrome/browser/ui/ash/screenshot_taker.cc FROM_HERE, base::Bind(&SaveScreenshot, base 297 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path, base 298 chrome/browser/ui/ash/screenshot_taker.cc scoped_refptr<base::RefCountedBytes> png_data) { base 300 chrome/browser/ui/ash/screenshot_taker.cc FROM_HERE, base::Bind(&SaveScreenshot, base 314 chrome/browser/ui/ash/screenshot_taker.cc return base::GetHourClockType() == base::k24HourClock; base 318 chrome/browser/ui/ash/screenshot_taker.cc base::Time::Exploded now; base 319 chrome/browser/ui/ash/screenshot_taker.cc base::Time::Now().LocalExplode(&now); base 325 chrome/browser/ui/ash/screenshot_taker.cc std::string file_name = base::StringPrintf( base 329 chrome/browser/ui/ash/screenshot_taker.cc file_name.append(base::StringPrintf( base 338 chrome/browser/ui/ash/screenshot_taker.cc file_name.append(base::StringPrintf( base 346 chrome/browser/ui/ash/screenshot_taker.cc bool GetScreenshotDirectory(base::FilePath* directory) { base 358 chrome/browser/ui/ash/screenshot_taker.cc if (!base::GetTempDir(directory)) { base 404 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath()); base 407 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath screenshot_directory; base 412 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath()); base 431 chrome/browser/ui/ash/screenshot_taker.cc basename += base::StringPrintf(" - Display %d", static_cast<int>(i + 1)); base 432 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath screenshot_path = base 437 chrome/browser/ui/ash/screenshot_taker.cc content::RecordAction(base::UserMetricsAction("Screenshot_TakeFull")); base 445 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath()); base 450 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath screenshot_directory; base 455 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath()); base 461 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath screenshot_path = base 464 chrome/browser/ui/ash/screenshot_taker.cc content::RecordAction(base::UserMetricsAction("Screenshot_TakePartial")); base 469 chrome/browser/ui/ash/screenshot_taker.cc base::Time::Now() - last_screenshot_timestamp_ > base 470 chrome/browser/ui/ash/screenshot_taker.cc base::TimeDelta::FromMilliseconds( base 476 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path) { base 481 chrome/browser/ui/ash/screenshot_taker.cc const base::string16 replace_id(base::UTF8ToUTF16(notification_id)); base 486 chrome/browser/ui/ash/screenshot_taker.cc const base::string16 label = l10n_util::GetStringUTF16( base 512 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& screenshot_path) { base 550 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath screenshot_path, base 553 chrome/browser/ui/ash/screenshot_taker.cc scoped_refptr<base::RefCountedBytes> png_data) { base 570 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(&ScreenshotTaker::ShowNotification, factory_.GetWeakPtr()), base 580 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath screenshot_path) { base 581 chrome/browser/ui/ash/screenshot_taker.cc last_screenshot_timestamp_ = base::Time::Now(); base 589 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(&ScreenshotTaker::GrabWindowSnapshotAsyncCallback, base 600 chrome/browser/ui/ash/screenshot_taker.cc base::FilePath screenshot_path, base 602 chrome/browser/ui/ash/screenshot_taker.cc last_screenshot_timestamp_ = base::Time::Now(); base 609 chrome/browser/ui/ash/screenshot_taker.cc base::Bind(&ScreenshotTaker::GrabWindowSnapshotAsyncCallback, base 623 chrome/browser/ui/ash/screenshot_taker.cc const base::FilePath& directory) { base 46 chrome/browser/ui/ash/screenshot_taker.h const base::FilePath& screenshot_path) = 0; base 66 chrome/browser/ui/ash/screenshot_taker.h const base::FilePath& screenshot_path); base 76 chrome/browser/ui/ash/screenshot_taker.h base::FilePath screenshot_path, base 79 chrome/browser/ui/ash/screenshot_taker.h scoped_refptr<base::RefCountedBytes> png_data); base 83 chrome/browser/ui/ash/screenshot_taker.h base::FilePath screenshot_path); base 87 chrome/browser/ui/ash/screenshot_taker.h base::FilePath screenshot_path, base 91 chrome/browser/ui/ash/screenshot_taker.h void SetScreenshotDirectoryForTest(const base::FilePath& directory); base 97 chrome/browser/ui/ash/screenshot_taker.h const base::FilePath& screenshot_path); base 99 chrome/browser/ui/ash/screenshot_taker.h base::WeakPtrFactory<ScreenshotTaker> factory_; base 102 chrome/browser/ui/ash/screenshot_taker.h base::Time last_screenshot_timestamp_; base 106 chrome/browser/ui/ash/screenshot_taker.h base::FilePath screenshot_directory_for_test_; base 52 chrome/browser/ui/ash/screenshot_taker_unittest.cc const base::FilePath& screenshot_path) OVERRIDE { base 67 chrome/browser/ui/ash/screenshot_taker_unittest.cc const base::FilePath& screenshot_directory) { base 93 chrome/browser/ui/ash/screenshot_taker_unittest.cc base::FilePath screenshot_path_; base 114 chrome/browser/ui/ash/screenshot_taker_unittest.cc base::ScopedTempDir directory; base 139 chrome/browser/ui/ash/screenshot_taker_unittest.cc EXPECT_TRUE(base::PathExists(screenshot_path_)); base 114 chrome/browser/ui/ash/session_state_delegate_chromeos.cc const base::string16 SessionStateDelegateChromeos::GetUserDisplayName( base 39 chrome/browser/ui/ash/session_state_delegate_chromeos.h virtual const base::string16 GetUserDisplayName( base 69 chrome/browser/ui/ash/session_state_delegate_views.cc const base::string16 SessionStateDelegate::GetUserDisplayName( base 72 chrome/browser/ui/ash/session_state_delegate_views.cc return base::UTF8ToUTF16(""); base 36 chrome/browser/ui/ash/session_state_delegate_views.h virtual const base::string16 GetUserDisplayName( base 36 chrome/browser/ui/ash/shelf_browsertest.cc base::UTF8ToUTF16("Dummy Status Text")); base 230 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc content::RecordAction(base::UserMetricsAction("OpenInternetOptionsDialog")); base 245 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc clock_type_(base::GetHourClockType()), base 254 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::UpdateClockType, base 255 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this)))) { base 280 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::OnAccessibilityStatusChanged, base 281 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this))); base 292 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::InitializeOnAdapterReady, base 325 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::UpdateSessionStartTime, base 326 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this))); base 329 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::UpdateSessionLengthLimit, base 330 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this))); base 418 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc if (!base::SysInfo::IsRunningOnChromeOS() && base 426 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::UserMetricsAction("OpenChangeProfilePictureDialog")); base 434 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc const base::string16 SystemTrayDelegateChromeOS::GetEnterpriseMessage() const { base 436 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc return base::string16(); base 438 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::UTF8ToUTF16(GetEnterpriseDomain())); base 449 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc const base::string16 base 452 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc return base::string16(); base 457 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc const base::string16 SystemTrayDelegateChromeOS::GetLocallyManagedUserMessage() base 460 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc return base::string16(); base 463 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::UTF8ToUTF16(GetLocallyManagedUserManager())); base 470 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::HourClockType SystemTrayDelegateChromeOS::GetHourClockType() const { base 483 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc content::RecordAction(base::UserMetricsAction("ShowDateOptions")); base 503 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc content::RecordAction(base::UserMetricsAction("ShowDisplayOptions")); base 548 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc content::RecordAction(base::UserMetricsAction("OpenLanguageOptionsDialog")); base 565 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc content::RecordAction(base::UserMetricsAction("ShowAccessibilitySettings")); base 631 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Callback<void(bool)> on_accept = base 632 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&OnAcceptMultiprofilesIntro); base 702 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::OnStartBluetoothDiscoverySession, base 704 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&BluetoothSetDiscoveringError)); base 715 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&base::DoNothing), base::Bind(&BluetoothSetDiscoveringError)); base 731 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&base::DoNothing), base 732 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&BluetoothDeviceConnectError)); base 780 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc property.name = base::UTF8ToUTF16(menu_list[i].label); base 825 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc content::RecordAction(base::UserMetricsAction("ShowBluetoothSettingsPage")); base 834 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&base::DoNothing), base 835 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&BluetoothPowerFailure)); base 886 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::TimeTicks* session_start_time) { base 892 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::TimeDelta* session_length_limit) { base 943 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::UpdateClockType, base 944 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this))); base 947 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::OnLanguageRemapSearchKeyToChanged, base 948 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this))); base 951 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::UpdateShowLogoutButtonInTray, base 952 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this))); base 955 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::UpdateLogoutDialogDuration, base 956 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this))); base 959 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::OnAccessibilityModeChanged, base 960 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this), base 964 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::OnAccessibilityModeChanged, base 965 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this), base 969 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::OnAccessibilityModeChanged, base 970 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this), base 974 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Bind(&SystemTrayDelegateChromeOS::UpdatePerformanceTracing, base 975 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::Unretained(this))); base 1021 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc : (base::GetHourClockType() == base::k24HourClock)); base 1028 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc : (base::GetHourClockType() == base::k24HourClock)); base 1037 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc clock_type_ = use_24_hour_clock ? base::k24HourClock : base::k12HourClock; base 1055 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc base::TimeDelta::FromMilliseconds(duration_ms)); base 1062 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc session_start_time_ = base::TimeTicks::FromInternalValue( base 1066 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc session_start_time_ = base::TimeTicks(); base 1075 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc session_length_limit_ = base::TimeDelta::FromMilliseconds( base 1081 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc session_length_limit_ = base::TimeDelta(); base 67 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual const base::string16 GetEnterpriseMessage() const OVERRIDE; base 69 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual const base::string16 GetLocallyManagedUserManagerName() base 71 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual const base::string16 GetLocallyManagedUserMessage() const OVERRIDE; base 73 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual base::HourClockType GetHourClockType() const OVERRIDE; base 128 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual bool GetSessionStartTime(base::TimeTicks* session_start_time) base 130 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) base 143 chrome/browser/ui/ash/system_tray_delegate_chromeos.h typedef base::CallbackList<void(void)>::Subscription base 261 chrome/browser/ui/ash/system_tray_delegate_chromeos.h base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; base 266 chrome/browser/ui/ash/system_tray_delegate_chromeos.h base::HourClockType clock_type_; base 270 chrome/browser/ui/ash/system_tray_delegate_chromeos.h base::TimeTicks session_start_time_; base 272 chrome/browser/ui/ash/system_tray_delegate_chromeos.h base::TimeDelta session_length_limit_; base 35 chrome/browser/ui/ash/system_tray_delegate_win.cc : clock_type_(base::GetHourClockType()) { base 75 chrome/browser/ui/ash/system_tray_delegate_win.cc virtual const base::string16 GetEnterpriseMessage() const OVERRIDE { base 76 chrome/browser/ui/ash/system_tray_delegate_win.cc return base::string16(); base 83 chrome/browser/ui/ash/system_tray_delegate_win.cc virtual const base::string16 GetLocallyManagedUserManagerName() const base 85 chrome/browser/ui/ash/system_tray_delegate_win.cc return base::string16(); base 88 chrome/browser/ui/ash/system_tray_delegate_win.cc virtual const base::string16 GetLocallyManagedUserMessage() const OVERRIDE { base 89 chrome/browser/ui/ash/system_tray_delegate_win.cc return base::string16(); base 96 chrome/browser/ui/ash/system_tray_delegate_win.cc virtual base::HourClockType GetHourClockType() const OVERRIDE { base 271 chrome/browser/ui/ash/system_tray_delegate_win.cc base::TimeTicks* session_start_time) OVERRIDE { base 276 chrome/browser/ui/ash/system_tray_delegate_win.cc base::TimeDelta* session_length_limit) OVERRIDE { base 303 chrome/browser/ui/ash/system_tray_delegate_win.cc clock_type_ = (base::GetHourClockType() == base::k24HourClock) ? base 304 chrome/browser/ui/ash/system_tray_delegate_win.cc base::k24HourClock : base::k12HourClock; base 338 chrome/browser/ui/ash/system_tray_delegate_win.cc base::HourClockType clock_type_; base 33 chrome/browser/ui/ash/volume_controller_browsertest_chromeos.cc const base::StringPiece& /* data */) OVERRIDE { base 43 chrome/browser/ui/ash/volume_controller_browsertest_chromeos.cc virtual base::TimeDelta GetDuration(SoundKey /* key */) OVERRIDE { base 44 chrome/browser/ui/ash/volume_controller_browsertest_chromeos.cc return base::TimeDelta(); base 55 chrome/browser/ui/ash/volume_controller_chromeos.cc content::RecordAction(base::UserMetricsAction("Accel_VolumeMute_F8")); base 63 chrome/browser/ui/ash/volume_controller_chromeos.cc content::RecordAction(base::UserMetricsAction("Accel_VolumeDown_F9")); base 80 chrome/browser/ui/ash/volume_controller_chromeos.cc content::RecordAction(base::UserMetricsAction("Accel_VolumeUp_F10")); base 117 chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc base::string16 title = l10n_util::GetStringFUTF16( base 120 chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc base::string16 message = l10n_util::GetStringFUTF16( base 131 chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc base::RunLoop().RunUntilIdle(); base 105 chrome/browser/ui/auto_login_infobar_delegate.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 110 chrome/browser/ui/auto_login_infobar_delegate.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 116 chrome/browser/ui/auto_login_infobar_delegate.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 200 chrome/browser/ui/auto_login_infobar_delegate.cc base::string16 AutoLoginInfoBarDelegate::GetMessageText() const { base 202 chrome/browser/ui/auto_login_infobar_delegate.cc base::UTF8ToUTF16(params_.username)); base 205 chrome/browser/ui/auto_login_infobar_delegate.cc base::string16 AutoLoginInfoBarDelegate::GetButtonLabel( base 60 chrome/browser/ui/auto_login_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 61 chrome/browser/ui/auto_login_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 88 chrome/browser/ui/auto_login_prompter.cc base::Bind(&ShowInfoBarUIThread, base 87 chrome/browser/ui/autofill/account_chooser_model.cc base::string16 AccountChooserModel::GetActiveWalletAccountName() const { base 89 chrome/browser/ui/autofill/account_chooser_model.cc return base::string16(); base 91 chrome/browser/ui/autofill/account_chooser_model.cc return base::UTF8ToUTF16(wallet_accounts_[GetActiveWalletAccountIndex()]); base 169 chrome/browser/ui/autofill/account_chooser_model.cc AddCheckItem(item_id, base::UTF8ToUTF16(wallet_accounts_[i])); base 93 chrome/browser/ui/autofill/account_chooser_model.h base::string16 GetActiveWalletAccountName() const; base 14 chrome/browser/ui/autofill/account_chooser_model_unittest.cc using base::ASCIIToUTF16; base 154 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(base::string16(), model()->GetActiveWalletAccountName()); base 180 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(base::string16(), model()->GetActiveWalletAccountName()); base 13 chrome/browser/ui/autofill/autofill_dialog_controller.cc base::WeakPtr<AutofillDialogController> base 18 chrome/browser/ui/autofill/autofill_dialog_controller.cc const base::Callback<void(const FormStructure*)>& callback) { base 20 chrome/browser/ui/autofill/autofill_dialog_controller.cc return base::WeakPtr<AutofillDialogController>(); base 35 chrome/browser/ui/autofill/autofill_dialog_controller.h static base::WeakPtr<AutofillDialogController> Create( base 39 chrome/browser/ui/autofill/autofill_dialog_controller.h const base::Callback<void(const FormStructure*)>& callback); base 76 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc using base::ASCIIToUTF16; base 95 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc const base::TimeDelta& duration, base 125 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::Bind(&MockCallback)), base 151 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc virtual base::string16 InputValidityMessage( base 154 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc const base::string16& value) OVERRIDE { base 156 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc return base::string16(); base 214 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::WeakPtr<TestAutofillDialogController> AsWeakPtr() { base 263 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::WeakPtrFactory<TestAutofillDialogController> weak_ptr_factory_; base 626 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::WeakPtr<TestAutofillDialogController> weak_ptr = base 665 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::string16 value = full_profile.GetRawInfo(triggering_type); base 672 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc controller()->DidAcceptSuggestion(base::string16(), 0); base 682 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc std::vector<base::string16> expectations; base 685 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc expectations.push_back(base::string16()); base 688 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::string16 users_input = i % 2 == 0 ? base::string16() base 692 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::string16 expectation = base 703 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc controller()->DidAcceptSuggestion(base::string16(), 0); base 724 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc std::vector<base::string16> names; base 728 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc std::vector<base::string16> emails; base 744 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc controller()->DidAcceptSuggestion(base::string16(), 1); base 783 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::string16 value = card1.GetRawInfo(triggering_type); base 790 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc controller()->DidAcceptSuggestion(base::string16(), 0); base 806 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc controller()->DidAcceptSuggestion(base::string16(), 0); base 834 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc controller()->DidAcceptSuggestion(base::string16(), 0); base 893 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::Time::Now())); base 955 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::string16::npos); base 1061 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::string16 last_four = base 1112 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 1185 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc if (base::win::GetVersion() <= base::win::VERSION_XP) base 1295 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::string16 cc_exp_month_text = base 1441 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 1468 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 1478 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 1488 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 1640 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::string16 name = full_profile.GetRawInfo(NAME_FULL); base 1644 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc controller()->DidAcceptSuggestion(base::string16(), 0); base 1667 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc base::string16 name = full_profile.GetRawInfo(NAME_FULL); base 1671 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc controller()->DidAcceptSuggestion(base::string16(), 0); base 159 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 NullGetInfo(const AutofillType& type) { base 160 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 165 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 GetInfoFromInputs(const FieldValueMap& inputs, base 172 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 info; base 178 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc info = base::ASCIIToUTF16(AutofillCountry::GetCountryCode( base 222 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16* cvc, base 227 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 trimmed; base 228 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::TrimWhitespace(it->second, base::TRIM_ALL, &trimmed); base 331 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc bool IsCardHolderNameValidForWallet(const base::string16& name) { base 332 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 whitespace_collapsed_name = base 333 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::CollapseWhitespace(name, true); base 334 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::vector<base::string16> split_name; base 335 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::SplitString(whitespace_collapsed_name, ' ', &split_name); base 359 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text; base 463 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::IntToString16(error_code))); base 488 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 GenerateRandomCardNumber() { base 491 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc int part = base::RandInt(0, 10000); base 492 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::StringAppendF(&card_number, "%04d ", part); base 494 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::ASCIIToUTF16(card_number); base 512 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image CvcIconForCreditCardType(const base::string16& credit_card_type) { base 526 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 GetInfoFromProfile(const AutofillProfile& profile, base 535 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 administrative_area; base 537 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc i18ninput::CreateAddressData(base::Bind(&GetInfoFromProfile, *profile), base 541 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc administrative_area = base::UTF8ToUTF16(address_data.administrative_area); base 548 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ValidityMessage GetPhoneValidityMessage(const base::string16& country_name, base 549 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& number) { base 554 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ValidityMessage phone_message(base::string16(), true); base 580 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc bool CountryFilter(const std::set<base::string16>& possible_values, base 586 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc !possible_values.count(base::ASCIIToUTF16(country_code))) { base 594 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::WeakPtr<AutofillDialogControllerImpl> base 599 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::Callback<void(const FormStructure*)>& callback) { base 635 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::WeakPtr<AutofillDialogController> AutofillDialogController::Create( base 639 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::Callback<void(const FormStructure*)>& callback) { base 647 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc dialog_shown_timestamp_ = base::Time::Now(); base 664 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(CountryFilter, base 668 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(CountryFilter, base 707 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(common::ServerTypeMatchesField, SECTION_SHIPPING), base 708 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(NullGetInfo), base 750 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (base::TimeTicks::Now() - last_wallet_items_fetch_timestamp_).InSeconds(); base 760 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::DialogTitle() const { base 762 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 767 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::AccountChooserText() const { base 775 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 778 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::SignInLinkText() const { base 787 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::SpinnerText() const { base 791 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::EditSuggestionText() const { base 795 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::CancelButtonText() const { base 799 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::ConfirmButtonText() const { base 804 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::SaveLocallyText() const { base 808 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::SaveLocallyTooltip() const { base 812 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::LegalDocumentsText() { base 814 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 899 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 cc_number = base::ASCIIToUTF16(full_wallet_->GetPan()); base 902 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::ASCIIToUTF16("XXXX XXXX XXXX ") + base 924 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::TimeDelta::FromSeconds(1), base 986 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc last_wallet_items_fetch_timestamp_ = base::TimeTicks::Now(); base 1113 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::ListValue* accepted = base 1116 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc accepted->Find(base::StringValue( base 1135 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::vector<base::string16> link_names; base 1165 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text = base 1191 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 country = model->GetItemAt(model->GetDefaultIndex()); base 1212 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 unused, unused2; base 1219 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 country = base 1232 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& value) { base 1319 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& card_number, base 1320 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& name, base 1349 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 capitalized_name = base::i18n::ToUpper(name); base 1365 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::TimeDelta::FromMilliseconds(75), base 1470 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::LabelForSection( base 1482 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 1487 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 vertically_compact, horizontally_compact; base 1501 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16* vertically_compact, base 1502 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16* horizontally_compact) { base 1503 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 action_text = RequiredActionTextForSection(section); base 1538 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::RequiredActionTextForSection( base 1553 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 1556 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::ExtraSuggestionTextForSection( base 1563 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 1578 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (!base::StringToInt(item_key, &index) || index < 0 || base 1599 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (!base::StringToInt(item_key, &index) || index < 0 || base 1683 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 credit_card_type; base 1688 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& number = credit_card_iter->second; base 1708 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::TooltipForField( base 1713 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 1752 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::InputValidityMessage( base 1755 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& value) { base 1772 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 1785 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 message = CreditCardNumberValidityMessage(value); base 1836 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16(); base 1852 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc i18ninput::CreateAddressData(base::Bind(&GetInfoFromProfile, profile), base 1864 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text = l10n_util::GetStringUTF16(problem.description_id); base 1873 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text = InputValidityMessage(section, type, iter->second); base 1904 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ValidityMessage year_message(base::string16(), true); base 1905 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ValidityMessage month_message(base::string16(), true); base 1921 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ValidityMessage ccv_message(base::string16(), true); base 1957 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& field_contents, base 1991 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::vector<base::string16> popup_values, popup_labels, popup_icons; base 2005 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(&AutofillDialogControllerImpl::ShouldSuggestProfile, base 2006 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Unretained(this), section), base 2037 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::i18n::IsRTL() ? base 2038 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::i18n::RIGHT_TO_LEFT : base::i18n::LEFT_TO_RIGHT); base 2093 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text = l10n_util::GetStringUTF16( base 2117 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::UTF8ToUTF16(source_url_.host())))); base 2223 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::UTF16ToUTF8(view_->GetCvc())); base 2263 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& value, base 2269 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& value, base 2300 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 billing_country = base 2308 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 shipping_country = base 2341 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& value, base 2367 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 2368 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(&AutofillDialogControllerImpl::HideSignIn, base 2369 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Unretained(this))); base 2395 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc last_wallet_items_fetch_timestamp_ = base::TimeTicks(); base 2647 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::TimeDelta::FromMilliseconds(kSubmitButtonDelayMs), base 2660 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc last_wallet_items_fetch_timestamp_ = base::TimeTicks(); base 2678 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::Callback<void(const FormStructure*)>& callback) base 2738 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc bool success = base::StringToUint64(wallet_items_->ObfuscatedGaiaId(), base 2749 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Time install_time = base::Time::FromTimeT( base 2756 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(&AutofillDialogControllerImpl::OnDidLoadRiskFingerprintData, base 2766 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Base64Encode(proto_data, &risk_data_); base 2839 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::string key = base::IntToString(i); base 2879 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::string key = base::IntToString(i); base 2908 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::UTF8ToUTF16(wallet::GetManageInstrumentsUrl(0U).host())); base 2935 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::vector<base::string16> labels; base 2942 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)))) { base 2953 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)))); base 2961 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)))); base 3001 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::UTF8ToUTF16(wallet::GetManageAddressesUrl(0U).host())); base 3131 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc section, base::Bind(common::ServerTypeMatchesField, section)); base 3146 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& output) { base 3154 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::GetValueFromSection( base 3190 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)); base 3246 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::vector<base::string16>* popup_values, base 3247 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::vector<base::string16>* popup_labels, base 3248 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::vector<base::string16>* popup_icons) { base 3261 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(&GetInfoFromProfile, profile), &user_input); base 3272 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc popup_values->push_back(base::UTF8ToUTF16( base 3278 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc popup_labels->push_back(base::string16()); base 3286 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc popup_labels->back().assign(base::UTF8ToUTF16(field_value)); base 3306 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 country; base 3323 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& country_name, base 3382 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 AutofillDialogControllerImpl::CreditCardNumberValidityMessage( base 3383 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& number) const { base 3389 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 message; base 3394 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return base::string16(); base 3424 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& year, base 3425 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::string16& month) const { base 3427 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Time now = base::Time::Now(); base 3436 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (base::StringToInt(month, &month_int) && base 3455 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc i18ninput::CreateAddressData(base::Bind(&GetInfoFromProfile, profile), base 3501 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(&UserDidOptIntoLocationServices)); base 3505 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc accepted->AppendIfNotPresent(new base::StringValue( base 3586 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 cvc; base 3702 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(ServerTypeMatchesShippingField)); base 3705 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(ServerTypeMatchesShippingField)); base 3708 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Bind(ServerTypeMatchesShippingField)); base 3764 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 3769 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::DictionaryValue* autofill_choice = updater.Get(); base 3795 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::DictionaryValue* choices = profile()->GetPrefs()->GetDictionary( base 3800 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const base::DictionaryValue* choice = NULL; base 3810 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Time::Now() - dialog_shown_timestamp_, base 3847 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Time::Now() - dialog_shown_timestamp_, base 3876 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::Time::Now() - dialog_shown_timestamp_); base 87 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h static base::WeakPtr<AutofillDialogControllerImpl> Create( base 91 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::Callback<void(const FormStructure*)>& callback); base 99 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 DialogTitle() const OVERRIDE; base 100 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 AccountChooserText() const OVERRIDE; base 101 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 SignInLinkText() const OVERRIDE; base 102 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 SpinnerText() const OVERRIDE; base 103 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 EditSuggestionText() const OVERRIDE; base 104 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 CancelButtonText() const OVERRIDE; base 105 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 ConfirmButtonText() const OVERRIDE; base 106 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 SaveLocallyText() const OVERRIDE; base 107 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 SaveLocallyTooltip() const OVERRIDE; base 108 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 LegalDocumentsText() OVERRIDE; base 128 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 LabelForSection(DialogSection section) const OVERRIDE; base 134 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 TooltipForField(ServerFieldType type) const OVERRIDE; base 137 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual base::string16 InputValidityMessage(DialogSection section, base 139 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::string16& value) OVERRIDE; base 146 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::string16& field_contents, base 168 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual void DidSelectSuggestion(const base::string16& value, base 170 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual void DidAcceptSuggestion(const base::string16& value, base 172 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual void RemoveSuggestion(const base::string16& value, base 244 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::Callback<void(const FormStructure*)>& callback); base 366 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::string16& value); base 385 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h gfx::Image GetGeneratedCardImage(const base::string16& card_number, base 386 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::string16& name, base 426 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::string16& output); base 430 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16 GetValueFromSection(DialogSection section, base 456 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::string16& country_name, base 464 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16* vertically_compact, base 465 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16* horizontally_compact); base 466 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16 RequiredActionTextForSection(DialogSection section) const; base 468 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16 ExtraSuggestionTextForSection(DialogSection section) const; base 475 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h std::vector<base::string16>* popup_values, base 476 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h std::vector<base::string16>* popup_labels, base 477 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h std::vector<base::string16>* popup_icons); base 500 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16 CreditCardNumberValidityMessage( base 501 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::string16& number) const; base 518 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h bool IsCreditCardExpirationValid(const base::string16& year, base 519 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const base::string16& month) const; base 621 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::Time dialog_shown_timestamp_; base 634 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::Callback<void(const FormStructure*)> callback_; base 677 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::TimeTicks last_wallet_items_fetch_timestamp_; base 684 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16 legal_documents_text_; base 731 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; base 767 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h std::pair<base::string16, base::string16> > TypeErrorInputMap; base 794 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16 backing_card_last_four_; base 798 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::OneShotTimer<AutofillDialogControllerImpl> submit_button_delay_timer_; base 802 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16 scrambled_card_number_; base 807 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::OneShotTimer<AutofillDialogControllerImpl> card_scrambling_delay_; base 808 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::RepeatingTimer<AutofillDialogControllerImpl> card_scrambling_refresher_; base 815 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::string16 submitted_cardholder_name_; base 817 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; base 65 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc using base::ASCIIToUTF16; base 66 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc using base::UTF8ToUTF16; base 206 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc virtual base::string16 GetCvc() OVERRIDE { return base::string16(); } base 255 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc public base::SupportsWeakPtr<TestAutofillDialogController> { base 262 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc const base::Callback<void(const FormStructure*)>& callback, base 452 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::Callback<void(const FormStructure*)> callback = base 453 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::Bind(&AutofillDialogControllerTest::FinishedCallback, base 454 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::Unretained(this)); base 522 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 output; base 612 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_country = form_structure()->field(11)->value; base 614 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_country = form_structure()->field(18)->value; base 622 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 cc_name = form_structure()->field(1)->value; base 625 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_name = form_structure()->field(6)->value; base 628 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_name = form_structure()->field(13)->value; base 660 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::WeakPtr<TestAutofillDialogController> controller_; base 698 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc controller()->InputValidityMessage(section, iter->type, base::string16()); base 732 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc outputs[phone] = base::string16(); base 784 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 default_year_value = base 786 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 default_month_value = base 789 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 other_year_value = base 791 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 other_month_value = base 827 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc outputs[NAME_BILLING_FULL] = base::string16(); base 847 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc outputs[NAME_BILLING_FULL] = base::string16(); base 930 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc AutofillProfile empty_profile(base::GenerateGUID(), kSettingsOrigin); base 940 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc full_profile.SetRawInfo(ADDRESS_HOME_LINE2, base::string16()); base 948 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc verified_profile.SetRawInfo(ADDRESS_HOME_LINE2, base::string16()); base 1115 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc std::vector<base::string16> names; base 1119 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc std::vector<base::string16> emails; base 1132 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc const base::string16 kValidEmail = ASCIIToUTF16(kFakeEmail); base 1177 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc profile.SetRawInfo(ADDRESS_HOME_STATE, base::string16()); base 1189 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc profile.SetRawInfo(EMAIL_ADDRESS, base::string16()); base 1208 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc CreditCard empty_card(base::GenerateGUID(), kSettingsOrigin); base 1250 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_state = form_structure()->field(9)->value; base 1251 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_state = form_structure()->field(16)->value; base 1258 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 cc_name = form_structure()->field(1)->value; base 1261 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_name = form_structure()->field(6)->value; base 1264 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_name = form_structure()->field(13)->value; base 1448 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::ListValue preexisting_list; base 1475 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::ListValue preexisting_list; base 1494 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc const base::ListValue* list = g_browser_process->local_state()->GetList( base 1509 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::ListValue preexisting_list; base 1523 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(list->end(), list->Find(base::StringValue(kFakeEmail))); base 1524 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(list->end(), list->Find(base::StringValue(kOtherUsername))); base 1544 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(list->end(), list->Find(base::StringValue(kOtherUsername))); base 1545 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(list->end(), list->Find(base::StringValue(kFakeEmail))); base 1844 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc full_profile.SetRawInfo(ADDRESS_HOME_LINE2, base::string16()); base 2361 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::DictionaryValue dict; base 2362 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc scoped_ptr<base::ListValue> required_actions(new base::ListValue); base 2926 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc AutofillProfile us_profile(base::GenerateGUID(), kSettingsOrigin), base 2927 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc es_profile(base::GenerateGUID(), kSettingsOrigin), base 2928 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc es_profile2(base::GenerateGUID(), kSettingsOrigin); base 2996 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 use_wallet_text = controller()->SignInLinkText(); base 3087 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc inputs[CREDIT_CARD_NUMBER] = base::string16(); base 3108 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc SCOPED_TRACE(base::IntToString(i)); base 3341 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(base::ASCIIToUTF16("China"), model->GetItemAt(i)); base 3342 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(base::ASCIIToUTF16("South Korea"), model->GetItemAt(i)); base 3347 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(base::ASCIIToUTF16("China"), model->GetItemAt(i)); base 3348 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(base::ASCIIToUTF16("South Korea"), model->GetItemAt(i)); base 3398 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc profile.SetRawInfo(ADDRESS_HOME_COUNTRY, base::string16()); base 25 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc using base::UTF16ToUTF8; base 59 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc base::string16 placeholder = l10n_util::GetStringUTF16(component.name_id); base 69 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc base::string16 placeholder = l10n_util::GetStringUTF16(component.name_id); base 78 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc base::string16 placeholder_text = base 106 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc base::string16 country_code = profile.GetRawInfo(ADDRESS_HOME_COUNTRY); base 111 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc ::i18n::addressinput::GetRequiredFields(base::UTF16ToUTF8(country_code)); base 224 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc const base::Callback<base::string16(const AutofillType&)>& get_info, base 240 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc base::SplitString( base 58 chrome/browser/ui/autofill/autofill_dialog_i18n_input.h const base::Callback<base::string16(const AutofillType&)>& get_info, base 35 chrome/browser/ui/autofill/autofill_dialog_models.cc const std::string& key, const base::string16& display_label) { base 43 chrome/browser/ui/autofill/autofill_dialog_models.cc const base::string16& display_label, base 51 chrome/browser/ui/autofill/autofill_dialog_models.cc const base::string16& display_label, base 52 chrome/browser/ui/autofill/autofill_dialog_models.cc const base::string16& display_minor_text) { base 59 chrome/browser/ui/autofill/autofill_dialog_models.cc const base::string16& display_label, base 60 chrome/browser/ui/autofill/autofill_dialog_models.cc const base::string16& display_minor_text, base 156 chrome/browser/ui/autofill/autofill_dialog_models.cc base::string16 MonthComboboxModel::FormatMonth(int index) { base 157 chrome/browser/ui/autofill/autofill_dialog_models.cc return base::ASCIIToUTF16(base::StringPrintf("%.2d", index)); base 160 chrome/browser/ui/autofill/autofill_dialog_models.cc base::string16 MonthComboboxModel::GetItemAt(int index) { base 169 chrome/browser/ui/autofill/autofill_dialog_models.cc base::Time time = base::Time::Now(); base 170 chrome/browser/ui/autofill/autofill_dialog_models.cc base::Time::Exploded exploded; base 182 chrome/browser/ui/autofill/autofill_dialog_models.cc base::string16 YearComboboxModel::GetItemAt(int index) { base 188 chrome/browser/ui/autofill/autofill_dialog_models.cc return base::IntToString16(this_year_ + index - 1); base 44 chrome/browser/ui/autofill/autofill_dialog_models.h const base::string16& display_label); base 49 chrome/browser/ui/autofill/autofill_dialog_models.h const base::string16& display_label, base 55 chrome/browser/ui/autofill/autofill_dialog_models.h const base::string16& display_label, base 56 chrome/browser/ui/autofill/autofill_dialog_models.h const base::string16& display_minor_text); base 62 chrome/browser/ui/autofill/autofill_dialog_models.h const base::string16& display_label, base 63 chrome/browser/ui/autofill/autofill_dialog_models.h const base::string16& display_minor_text, base 125 chrome/browser/ui/autofill/autofill_dialog_models.h static base::string16 FormatMonth(int index); base 129 chrome/browser/ui/autofill/autofill_dialog_models.h virtual base::string16 GetItemAt(int index) OVERRIDE; base 143 chrome/browser/ui/autofill/autofill_dialog_models.h virtual base::string16 GetItemAt(int index) OVERRIDE; base 23 chrome/browser/ui/autofill/autofill_dialog_types.cc static const base::char16 kRangeSeparator = '|'; base 36 chrome/browser/ui/autofill/autofill_dialog_types.cc const base::string16& display_text) base 41 chrome/browser/ui/autofill/autofill_dialog_types.cc std::vector<base::string16> pieces; base 42 chrome/browser/ui/autofill/autofill_dialog_types.cc base::SplitStringDontTrim(display_text, kRangeSeparator, &pieces); base 47 chrome/browser/ui/autofill/autofill_dialog_types.cc display_text_ = JoinString(pieces, base::string16()); base 119 chrome/browser/ui/autofill/autofill_dialog_types.cc const base::string16& vertically_compact_text, base 120 chrome/browser/ui/autofill/autofill_dialog_types.cc const base::string16& horizontally_compact_text, base 122 chrome/browser/ui/autofill/autofill_dialog_types.cc const base::string16& extra_text, base 138 chrome/browser/ui/autofill/autofill_dialog_types.cc ValidityMessage::ValidityMessage(const base::string16& text, bool sure) base 143 chrome/browser/ui/autofill/autofill_dialog_types.cc : default_message_(ValidityMessage(base::string16(), false)) {} base 47 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 placeholder_text; base 55 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 initial_value; base 90 chrome/browser/ui/autofill/autofill_dialog_types.h DialogNotification(Type type, const base::string16& display_text); base 106 chrome/browser/ui/autofill/autofill_dialog_types.h const base::string16& display_text() const { return display_text_; } base 113 chrome/browser/ui/autofill/autofill_dialog_types.h void set_tooltip_text(const base::string16& tooltip_text) { base 116 chrome/browser/ui/autofill/autofill_dialog_types.h const base::string16& tooltip_text() const { return tooltip_text_; } base 123 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 display_text_; base 132 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 tooltip_text_; base 144 chrome/browser/ui/autofill/autofill_dialog_types.h const base::string16& vertically_compact_text, base 145 chrome/browser/ui/autofill/autofill_dialog_types.h const base::string16& horizontally_compact_text, base 147 chrome/browser/ui/autofill/autofill_dialog_types.h const base::string16& extra_text, base 158 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 vertically_compact_text; base 159 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 horizontally_compact_text; base 162 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 extra_text; base 172 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 text; base 198 chrome/browser/ui/autofill/autofill_dialog_types.h typedef std::map<ServerFieldType, base::string16> FieldValueMap; base 202 chrome/browser/ui/autofill/autofill_dialog_types.h ValidityMessage(const base::string16& text, bool sure); base 206 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 text; base 23 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc base::string16 text(base::ASCIIToUTF16("Notification without anchor text")); base 27 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc text = base::ASCIIToUTF16("Notification with |anchor text|"); base 29 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc base::char16 bar = '|'; base 30 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc EXPECT_EQ(base::string16::npos, notification.display_text().find(bar)); base 81 chrome/browser/ui/autofill/autofill_dialog_view.h virtual base::string16 GetCvc() = 0; base 46 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 DialogTitle() const = 0; base 47 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 AccountChooserText() const = 0; base 48 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 SignInLinkText() const = 0; base 49 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 SpinnerText() const = 0; base 50 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 EditSuggestionText() const = 0; base 51 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 CancelButtonText() const = 0; base 52 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 ConfirmButtonText() const = 0; base 53 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 SaveLocallyText() const = 0; base 54 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 SaveLocallyTooltip() const = 0; base 55 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 LegalDocumentsText() = 0; base 124 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 LabelForSection(DialogSection section) const = 0; base 139 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 TooltipForField(ServerFieldType type) const = 0; base 148 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual base::string16 InputValidityMessage(DialogSection section, base 150 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h const base::string16& value) = 0; base 164 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h const base::string16& field_contents, base 37 chrome/browser/ui/autofill/autofill_dialog_view_tester.h virtual base::string16 GetTextContentsOfInput(ServerFieldType type) = 0; base 41 chrome/browser/ui/autofill/autofill_dialog_view_tester.h const base::string16& contents) = 0; base 45 chrome/browser/ui/autofill/autofill_dialog_view_tester.h const base::string16& text) = 0; base 34 chrome/browser/ui/autofill/autofill_popup_controller.h virtual int GetIconResourceID(const base::string16& resource_name) const = 0; base 60 chrome/browser/ui/autofill/autofill_popup_controller.h virtual const std::vector<base::string16>& names() const = 0; base 63 chrome/browser/ui/autofill/autofill_popup_controller.h virtual const std::vector<base::string16>& subtexts() const = 0; base 66 chrome/browser/ui/autofill/autofill_popup_controller.h virtual const std::vector<base::string16>& icons() const = 0; base 26 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc using base::WeakPtr; base 73 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc base::i18n::TextDirection text_direction) { base 94 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc base::WeakPtr<AutofillPopupDelegate> delegate, base 98 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc base::i18n::TextDirection text_direction) base 109 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc base::Bind(&AutofillPopupControllerImpl::HandleKeyPressEvent, base 110 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc base::Unretained(this))); base 125 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& names, base 126 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& subtexts, base 127 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& icons, base 186 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& values, base 187 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& labels) { base 219 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc names_.insert(names_.begin(), base::string16()); base 220 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc subtexts_.insert(subtexts_.begin(), base::string16()); base 221 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc icons_.insert(icons_.begin(), base::string16()); base 230 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc icons_.insert(icons_.begin(), values.size(), base::string16()); base 337 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const base::string16& resource_name) const { base 339 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc if (resource_name == base::ASCIIToUTF16(kDataResources[i].name)) base 393 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc return text_direction_ == base::i18n::RIGHT_TO_LEFT; base 396 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& AutofillPopupControllerImpl::names() const { base 400 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& AutofillPopupControllerImpl::subtexts() base 405 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& AutofillPopupControllerImpl::icons() const { base 553 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& names, base 554 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& subtexts, base 555 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const std::vector<base::string16>& icons, base 32 chrome/browser/ui/autofill/autofill_popup_controller_impl.h static base::WeakPtr<AutofillPopupControllerImpl> GetOrCreate( base 33 chrome/browser/ui/autofill/autofill_popup_controller_impl.h base::WeakPtr<AutofillPopupControllerImpl> previous, base 34 chrome/browser/ui/autofill/autofill_popup_controller_impl.h base::WeakPtr<AutofillPopupDelegate> delegate, base 38 chrome/browser/ui/autofill/autofill_popup_controller_impl.h base::i18n::TextDirection text_direction); base 41 chrome/browser/ui/autofill/autofill_popup_controller_impl.h void Show(const std::vector<base::string16>& names, base 42 chrome/browser/ui/autofill/autofill_popup_controller_impl.h const std::vector<base::string16>& subtexts, base 43 chrome/browser/ui/autofill/autofill_popup_controller_impl.h const std::vector<base::string16>& icons, base 47 chrome/browser/ui/autofill/autofill_popup_controller_impl.h void UpdateDataListValues(const std::vector<base::string16>& values, base 48 chrome/browser/ui/autofill/autofill_popup_controller_impl.h const std::vector<base::string16>& labels); base 68 chrome/browser/ui/autofill/autofill_popup_controller_impl.h AutofillPopupControllerImpl(base::WeakPtr<AutofillPopupDelegate> delegate, base 72 chrome/browser/ui/autofill/autofill_popup_controller_impl.h base::i18n::TextDirection text_direction); base 84 chrome/browser/ui/autofill/autofill_popup_controller_impl.h const base::string16& resource_name) const OVERRIDE; base 94 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual const std::vector<base::string16>& names() const OVERRIDE; base 95 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual const std::vector<base::string16>& subtexts() const OVERRIDE; base 96 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual const std::vector<base::string16>& icons() const OVERRIDE; base 133 chrome/browser/ui/autofill/autofill_popup_controller_impl.h void SetValues(const std::vector<base::string16>& names, base 134 chrome/browser/ui/autofill/autofill_popup_controller_impl.h const std::vector<base::string16>& subtexts, base 135 chrome/browser/ui/autofill/autofill_popup_controller_impl.h const std::vector<base::string16>& icons, base 158 chrome/browser/ui/autofill/autofill_popup_controller_impl.h base::WeakPtr<AutofillPopupControllerImpl> GetWeakPtr(); base 176 chrome/browser/ui/autofill/autofill_popup_controller_impl.h base::WeakPtr<AutofillPopupDelegate> delegate_; base 182 chrome/browser/ui/autofill/autofill_popup_controller_impl.h base::i18n::TextDirection text_direction_; base 185 chrome/browser/ui/autofill/autofill_popup_controller_impl.h std::vector<base::string16> names_; base 186 chrome/browser/ui/autofill/autofill_popup_controller_impl.h std::vector<base::string16> subtexts_; base 187 chrome/browser/ui/autofill/autofill_popup_controller_impl.h std::vector<base::string16> icons_; base 192 chrome/browser/ui/autofill/autofill_popup_controller_impl.h std::vector<base::string16> full_names_; base 208 chrome/browser/ui/autofill/autofill_popup_controller_impl.h base::WeakPtrFactory<AutofillPopupControllerImpl> weak_ptr_factory_; base 33 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc using base::ASCIIToUTF16; base 34 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc using base::WeakPtr; base 46 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc virtual void DidSelectSuggestion(const base::string16& value, base 48 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc virtual void RemoveSuggestion(const base::string16& value, base 51 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc base::WeakPtr<AutofillExternalDelegate> GetWeakPtr() { base 75 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc base::WeakPtr<AutofillExternalDelegate> external_delegate, base 79 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc base::i18n::UNKNOWN_DIRECTION), base 191 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> names(2, base::string16()); base 214 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> names(2, base::string16()); base 236 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> names(3, base::string16()); base 272 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> names(1, base::string16()); base 292 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> names(3, base::string16()); base 311 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> names(4); base 312 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> subtexts(4); base 313 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> icons(4); base 347 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> items; base 348 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc items.push_back(base::string16()); base 358 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> data_list_values; base 366 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc items.insert(items.begin() + 1, base::string16()); base 393 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc items.push_back(base::string16()); base 403 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> items; base 404 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc items.push_back(base::string16()); base 414 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> data_list_values; base 439 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc NULL, NULL, gfx::Rect(), base::i18n::UNKNOWN_DIRECTION); base 446 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc NULL, NULL, gfx::Rect(), base::i18n::UNKNOWN_DIRECTION); base 455 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc base::i18n::UNKNOWN_DIRECTION); base 465 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc base::WeakPtr<AutofillPopupControllerImpl> controller3 = base 472 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc base::i18n::UNKNOWN_DIRECTION); base 484 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> names(2); base 497 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc base::i18n::UNKNOWN_DIRECTION); base 504 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> names; base 508 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> subtexts; base 512 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc std::vector<base::string16> icons(2, ASCIIToUTF16("genericCC")); base 24 chrome/browser/ui/autofill/country_combobox_model.cc const base::Callback<bool(const std::string&)>& filter) { base 67 chrome/browser/ui/autofill/country_combobox_model.cc base::string16 CountryComboboxModel::GetItemAt(int index) { base 74 chrome/browser/ui/autofill/country_combobox_model.cc return base::ASCIIToUTF16("---"); base 30 chrome/browser/ui/autofill/country_combobox_model.h const base::Callback<bool(const std::string&)>& filter); base 35 chrome/browser/ui/autofill/country_combobox_model.h virtual base::string16 GetItemAt(int index) OVERRIDE; base 24 chrome/browser/ui/autofill/country_combobox_model_unittest.cc manager_, base::Callback<bool(const std::string&)>())); base 39 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 DataModelWrapper::GetInfoForDisplay(const AutofillType& type) base 49 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* vertically_compact, base 50 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* horizontally_compact) { base 51 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 phone = base 59 chrome/browser/ui/autofill/data_model_wrapper.cc base::Bind(&DataModelWrapper::GetInfo, base::Unretained(this)), base 65 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 non_address_info; base 66 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 email = GetInfoForDisplay(AutofillType(EMAIL_ADDRESS)); base 68 chrome/browser/ui/autofill/data_model_wrapper.cc non_address_info += base::ASCIIToUTF16("\n") + email; base 70 chrome/browser/ui/autofill/data_model_wrapper.cc non_address_info += base::ASCIIToUTF16("\n") + phone; base 77 chrome/browser/ui/autofill/data_model_wrapper.cc base::UTF8ToUTF16(JoinString(lines, compact_separator)) + base 79 chrome/browser/ui/autofill/data_model_wrapper.cc *horizontally_compact = base::UTF8ToUTF16(JoinString(lines, "\n")) + base 92 chrome/browser/ui/autofill/data_model_wrapper.cc base::Bind(&DataModelWrapper::GetInfo, base::Unretained(this)), base 115 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 AutofillProfileWrapper::GetInfo(const AutofillType& type) const { base 128 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 AutofillProfileWrapper::GetInfoForDisplay( base 132 chrome/browser/ui/autofill/data_model_wrapper.cc std::vector<base::string16> values; base 134 chrome/browser/ui/autofill/data_model_wrapper.cc const base::string16& phone_number = values[GetVariantForType(type)]; base 138 chrome/browser/ui/autofill/data_model_wrapper.cc if (base::ContainsOnlyChars(phone_number, base 139 chrome/browser/ui/autofill/data_model_wrapper.cc base::ASCIIToUTF16("0123456789"))) { base 140 chrome/browser/ui/autofill/data_model_wrapper.cc std::string region = base::UTF16ToASCII( base 168 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 AutofillShippingAddressWrapper::GetInfo( base 172 chrome/browser/ui/autofill/data_model_wrapper.cc return base::string16(); base 184 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 AutofillCreditCardWrapper::GetInfo(const AutofillType& type) base 187 chrome/browser/ui/autofill/data_model_wrapper.cc return base::string16(); base 201 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* vertically_compact, base 202 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* horizontally_compact) { base 217 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 WalletAddressWrapper::GetInfo(const AutofillType& type) const { base 220 chrome/browser/ui/autofill/data_model_wrapper.cc return base::string16(); base 225 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 WalletAddressWrapper::GetInfoForDisplay(const AutofillType& type) base 234 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* vertically_compact, base 235 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* horizontally_compact) { base 251 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 WalletInstrumentWrapper::GetInfo(const AutofillType& type) base 255 chrome/browser/ui/autofill/data_model_wrapper.cc return base::string16(); base 263 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 WalletInstrumentWrapper::GetInfoForDisplay( base 276 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* vertically_compact, base 277 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* horizontally_compact) { base 291 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 line1 = base 292 chrome/browser/ui/autofill/data_model_wrapper.cc instrument_->descriptive_name() + base::ASCIIToUTF16("\n"); base 308 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 FullWalletBillingWrapper::GetInfo(const AutofillType& type) base 317 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* vertically_compact, base 318 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16* horizontally_compact) { base 337 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 FullWalletShippingWrapper::GetInfo( base 349 chrome/browser/ui/autofill/data_model_wrapper.cc base::string16 I18nAddressDataWrapper::GetInfo(const AutofillType& type) const { base 352 chrome/browser/ui/autofill/data_model_wrapper.cc return base::string16(); base 355 chrome/browser/ui/autofill/data_model_wrapper.cc return base::string16(); base 362 chrome/browser/ui/autofill/data_model_wrapper.cc return base::UTF8ToUTF16(address_->GetFieldValue(field)); base 53 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfo(const AutofillType& type) const = 0; base 57 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfoForDisplay(const AutofillType& type) const; base 69 chrome/browser/ui/autofill/data_model_wrapper.h virtual bool GetDisplayText(base::string16* vertically_compact, base 70 chrome/browser/ui/autofill/data_model_wrapper.h base::string16* horizontally_compact); base 97 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; base 98 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfoForDisplay(const AutofillType& type) const base 123 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; base 135 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; base 137 chrome/browser/ui/autofill/data_model_wrapper.h virtual bool GetDisplayText(base::string16* vertically_compact, base 138 chrome/browser/ui/autofill/data_model_wrapper.h base::string16* horizontally_compact) OVERRIDE; base 152 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; base 153 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfoForDisplay(const AutofillType& type) const base 155 chrome/browser/ui/autofill/data_model_wrapper.h virtual bool GetDisplayText(base::string16* vertically_compact, base 156 chrome/browser/ui/autofill/data_model_wrapper.h base::string16* horizontally_compact) OVERRIDE; base 171 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; base 172 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfoForDisplay(const AutofillType& type) const base 175 chrome/browser/ui/autofill/data_model_wrapper.h virtual bool GetDisplayText(base::string16* vertically_compact, base 176 chrome/browser/ui/autofill/data_model_wrapper.h base::string16* horizontally_compact) OVERRIDE; base 190 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; base 191 chrome/browser/ui/autofill/data_model_wrapper.h virtual bool GetDisplayText(base::string16* vertically_compact, base 192 chrome/browser/ui/autofill/data_model_wrapper.h base::string16* horizontally_compact) OVERRIDE; base 206 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; base 221 chrome/browser/ui/autofill/data_model_wrapper.h virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; base 19 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc using base::ASCIIToUTF16; base 27 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc card.SetRawInfo(CREDIT_CARD_EXP_MONTH, base::IntToString16(month)); base 40 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::string16 unused, unused2; base 50 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::string16 unused, unused2; base 60 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::string16 unused, unused2; base 69 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::string16 unused, unused2; base 78 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::string16 unused, unused2; base 85 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::string16()); base 87 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc EXPECT_EQ(base::string16(), base 91 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc EXPECT_EQ(base::string16(), base 98 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::string16 vertical, horizontal; base 117 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::GenerateGUID(), "http://www.example.com/"); base 122 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::WideToUTF16(L"\u6771\u4EAC\u90FD")); base 125 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::WideToUTF16(L"\u6E0B\u8C37\u533A")); base 128 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::WideToUTF16(L"\uC911\uAD6C")); base 131 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::WideToUTF16( base 136 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::WideToUTF16(L"\u6751\u4E0A \u7F8E\u7D00")); base 137 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc foreign_profile.SetRawInfo(ADDRESS_HOME_ZIP, base::ASCIIToUTF16("150-8512")); base 144 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc base::WideToUTF16( base 170 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc const base::string16 national_unformatted = ASCIIToUTF16("3104567890"); base 171 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc const base::string16 national_formatted = ASCIIToUTF16("(310) 456-7890"); base 172 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc const base::string16 international_unformatted = ASCIIToUTF16("13104567890"); base 173 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc const base::string16 international_formatted = base 175 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc const base::string16 user_formatted = ASCIIToUTF16("310.456 78 90"); base 39 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc static const base::char16 kRangeSeparator = '|'; base 81 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc const base::string16& fronting_card_name, base 82 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc const base::string16& backing_card_name) { base 117 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc const base::string16& GeneratedCreditCardBubbleController::TitleText() const { base 121 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc const base::string16& GeneratedCreditCardBubbleController::ContentsText() base 147 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc base::WeakPtr<GeneratedCreditCardBubbleController> base 152 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc base::WeakPtr<GeneratedCreditCardBubbleView> base 157 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc base::WeakPtr<GeneratedCreditCardBubbleView> base 176 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc const base::string16& fronting_card_name, base 177 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc const base::string16& backing_card_name) { base 188 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc base::string16 to_split = l10n_util::GetStringFUTF16( base 195 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc std::vector<base::string16> pieces; base 196 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc base::SplitStringDontTrim(to_split, kRangeSeparator, &pieces); base 199 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc base::string16 piece = pieces.front(); base 220 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc base::string16 learn_more = l10n_util::GetStringUTF16(IDS_LEARN_MORE); base 221 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc contents_text_.append(base::ASCIIToUTF16(" ") + learn_more); base 63 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h const base::string16& fronting_card_name, base 64 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h const base::string16& backing_card_name); base 78 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h const base::string16& TitleText() const; base 81 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h const base::string16& ContentsText() const; base 103 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h base::WeakPtr<GeneratedCreditCardBubbleController> GetWeakPtr(); base 106 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h virtual base::WeakPtr<GeneratedCreditCardBubbleView> CreateBubble(); base 109 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h virtual base::WeakPtr<GeneratedCreditCardBubbleView> bubble(); base 120 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h base::string16 fronting_card_name() const { return fronting_card_name_; } base 121 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h base::string16 backing_card_name() const { return backing_card_name_; } base 126 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h virtual void SetupAndShow(const base::string16& fronting_card_name, base 127 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h const base::string16& backing_card_name); base 146 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h base::string16 fronting_card_name_; base 147 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h base::string16 backing_card_name_; base 150 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h const base::string16 title_text_; base 154 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h base::string16 contents_text_; base 160 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h base::WeakPtr<GeneratedCreditCardBubbleView> bubble_; base 166 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h base::WeakPtrFactory<GeneratedCreditCardBubbleController> weak_ptr_factory_; base 33 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc base::string16 BackingCard() { base 34 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc return base::ASCIIToUTF16("Visa - 1111"); base 37 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc base::string16 FrontingCard() { base 38 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc return base::ASCIIToUTF16("Mastercard - 4444"); base 41 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc base::string16 RangeOfString(const base::string16& string, base 119 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc base::string16 contents_text = controller()->ContentsText(); base 120 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc EXPECT_NE(base::string16::npos, contents_text.find(BackingCard())); base 121 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc EXPECT_NE(base::string16::npos, contents_text.find(FrontingCard())); base 131 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc const base::string16& contents_text = controller()->ContentsText(); base 16 chrome/browser/ui/autofill/generated_credit_card_bubble_view.cc base::WeakPtr<GeneratedCreditCardBubbleView> base 18 chrome/browser/ui/autofill/generated_credit_card_bubble_view.cc const base::WeakPtr<GeneratedCreditCardBubbleController>& controller) { base 20 chrome/browser/ui/autofill/generated_credit_card_bubble_view.cc return base::WeakPtr<GeneratedCreditCardBubbleView>(); base 35 chrome/browser/ui/autofill/generated_credit_card_bubble_view.h static base::WeakPtr<GeneratedCreditCardBubbleView> Create( base 36 chrome/browser/ui/autofill/generated_credit_card_bubble_view.h const base::WeakPtr<GeneratedCreditCardBubbleController>& controller); base 26 chrome/browser/ui/autofill/loading_animation.cc void LoadingAnimation::Step(base::TimeTicks time_now) { base 20 chrome/browser/ui/autofill/loading_animation.h virtual void Step(base::TimeTicks time_now) OVERRIDE; base 24 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc DefaultValue<base::string16>::Set(base::string16()); base 29 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc base::string16(), base 30 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc base::string16(), base 32 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc base::string16(), base 76 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc DefaultValue<base::string16>::Clear(); base 20 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(DialogTitle, base::string16()); base 21 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(AccountChooserText, base::string16()); base 22 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(SignInLinkText, base::string16()); base 23 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(SpinnerText, base::string16()); base 24 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(EditSuggestionText, base::string16()); base 25 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(CancelButtonText, base::string16()); base 26 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(ConfirmButtonText, base::string16()); base 27 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(SaveLocallyText, base::string16()); base 28 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(SaveLocallyTooltip, base::string16()); base 29 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_METHOD0(LegalDocumentsText, base::string16()); base 50 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD1(LabelForSection, base::string16(DialogSection section)); base 56 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD1(TooltipForField, base::string16(ServerFieldType)); base 60 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h base::string16(DialogSection, ServerFieldType, const base::string16&)); base 67 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h const base::string16&, base 47 chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc const base::string16& NewCreditCardBubbleController::TitleText() const { base 56 chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc const base::string16& NewCreditCardBubbleController::LinkText() const { base 79 chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc base::WeakPtr<NewCreditCardBubbleView> NewCreditCardBubbleController:: base 84 chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc base::WeakPtr<NewCreditCardBubbleView> NewCreditCardBubbleController:: base 98 chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc const base::string16 card_number = base 106 chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc base::string16 unused; base 35 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h base::string16 name; base 37 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h base::string16 description; base 70 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h const base::string16& TitleText() const; base 76 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h const base::string16& LinkText() const; base 95 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h virtual base::WeakPtr<NewCreditCardBubbleView> CreateBubble(); base 98 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h virtual base::WeakPtr<NewCreditCardBubbleView> bubble(); base 123 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h const base::string16 title_text_; base 126 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h const base::string16 link_text_; base 135 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h base::WeakPtr<NewCreditCardBubbleView> bubble_; base 138 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h base::WeakPtrFactory<NewCreditCardBubbleController> weak_ptr_factory_; base 16 chrome/browser/ui/autofill/new_credit_card_bubble_view.cc base::WeakPtr<NewCreditCardBubbleView> NewCreditCardBubbleView::Create( base 19 chrome/browser/ui/autofill/new_credit_card_bubble_view.cc return base::WeakPtr<NewCreditCardBubbleView>(); base 32 chrome/browser/ui/autofill/new_credit_card_bubble_view.h static base::WeakPtr<NewCreditCardBubbleView> Create( base 39 chrome/browser/ui/autofill/password_generation_popup_controller.h virtual base::string16 password() const = 0; base 42 chrome/browser/ui/autofill/password_generation_popup_controller.h virtual base::string16 SuggestedText() = 0; base 43 chrome/browser/ui/autofill/password_generation_popup_controller.h virtual const base::string16& HelpText() = 0; base 34 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc base::WeakPtr<PasswordGenerationPopupControllerImpl> base 36 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc base::WeakPtr<PasswordGenerationPopupControllerImpl> previous, base 86 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc base::Bind(&PasswordGenerationPopupControllerImpl::HandleKeyPressEvent, base 87 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc base::Unretained(this))); base 89 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc std::vector<base::string16> pieces; base 90 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc base::SplitStringDontTrim( base 97 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc help_text_ = JoinString(pieces, base::string16()); base 103 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc base::WeakPtr<PasswordGenerationPopupControllerImpl> base 238 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc current_password_ = base::ASCIIToUTF16(generator_->Generate()); base 350 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc base::string16 PasswordGenerationPopupControllerImpl::password() const { base 354 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc base::string16 PasswordGenerationPopupControllerImpl::SuggestedText() { base 358 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const base::string16& PasswordGenerationPopupControllerImpl::HelpText() { base 48 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h static base::WeakPtr<PasswordGenerationPopupControllerImpl> GetOrCreate( base 49 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h base::WeakPtr<PasswordGenerationPopupControllerImpl> previous, base 103 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual base::string16 password() const OVERRIDE; base 104 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual base::string16 SuggestedText() OVERRIDE; base 105 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual const base::string16& HelpText() OVERRIDE; base 108 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h base::WeakPtr<PasswordGenerationPopupControllerImpl> GetWeakPtr(); base 148 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h base::string16 help_text_; base 151 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h base::string16 current_password_; base 163 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h base::WeakPtrFactory<PasswordGenerationPopupControllerImpl> weak_ptr_factory_; base 90 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const base::Closure& save_card_callback) { base 100 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const base::Callback<void(const FormStructure*)>& callback) { base 117 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc base::i18n::TextDirection text_direction, base 118 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const std::vector<base::string16>& values, base 119 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const std::vector<base::string16>& labels, base 120 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const std::vector<base::string16>& icons, base 122 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc base::WeakPtr<AutofillPopupDelegate> delegate) { base 142 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const std::vector<base::string16>& values, base 143 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const std::vector<base::string16>& labels) { base 185 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const base::string16& autofilled_value, base 186 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const base::string16& profile_full_name) { base 48 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const base::Closure& save_card_callback) OVERRIDE; base 52 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const base::Callback<void(const FormStructure*)>& callback) OVERRIDE; base 55 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h base::i18n::TextDirection text_direction, base 56 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const std::vector<base::string16>& values, base 57 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const std::vector<base::string16>& labels, base 58 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const std::vector<base::string16>& icons, base 60 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; base 62 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const std::vector<base::string16>& values, base 63 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const std::vector<base::string16>& labels) OVERRIDE; base 69 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const base::string16& autofilled_value, base 70 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const base::string16& profile_full_name) OVERRIDE; base 81 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const base::WeakPtr<AutofillDialogController>& dialog_controller) { base 90 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h base::WeakPtr<AutofillDialogController> dialog_controller_; base 91 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; base 33 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.cc base::WeakPtr<GeneratedCreditCardBubbleView> base 43 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.cc const base::string16& fronting_card_name, base 44 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.cc const base::string16& backing_card_name) { base 37 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.h virtual base::WeakPtr<GeneratedCreditCardBubbleView> CreateBubble() OVERRIDE; base 39 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.h virtual void SetupAndShow(const base::string16& fronting_card_name, base 40 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.h const base::string16& backing_card_name) OVERRIDE; base 12 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.cc base::WeakPtr<TestGeneratedCreditCardBubbleView> base 14 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.cc const base::WeakPtr<GeneratedCreditCardBubbleController>& controller) { base 32 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.cc base::WeakPtr<TestGeneratedCreditCardBubbleView> base 38 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.cc const base::WeakPtr<GeneratedCreditCardBubbleController>& controller) base 26 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.h static base::WeakPtr<TestGeneratedCreditCardBubbleView> Create( base 27 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.h const base::WeakPtr<GeneratedCreditCardBubbleController>& controller); base 36 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.h base::WeakPtr<TestGeneratedCreditCardBubbleView> GetWeakPtr(); base 42 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.h const base::WeakPtr<GeneratedCreditCardBubbleController>& controller); base 45 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.h base::WeakPtr<GeneratedCreditCardBubbleController> controller_; base 50 chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.h base::WeakPtrFactory<TestGeneratedCreditCardBubbleView> weak_ptr_factory_; base 171 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("PASS")); base 337 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16(search_string), base 39 chrome/browser/ui/bookmarks/bookmark_browsertest.cc static void CheckAnimation(Browser* browser, const base::Closure& quit_task) { base 44 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::TimeDelta WaitForBookmarkBarAnimationToFinish() { base 45 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::Time start(base::Time::Now()); base 49 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::Timer timer(false, true); base 52 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::TimeDelta::FromMilliseconds(15), base 53 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::Bind(&CheckAnimation, browser(), runner->QuitClosure())); base 55 chrome/browser/ui/bookmarks/bookmark_browsertest.cc return base::Time::Now() - start; base 70 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::TimeDelta delay = WaitForBookmarkBarAnimationToFinish(); base 85 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::ASCIIToUTF16(kPersistBookmarkTitle)); base 103 chrome/browser/ui/bookmarks/bookmark_browsertest.cc ASSERT_EQ(base::ASCIIToUTF16(kPersistBookmarkTitle), urls[0].title); base 111 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::ScopedTempDir temp_dir; base 118 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::string16(), base::string16(), ProfileManager::CreateCallback(), base 125 chrome/browser/ui/bookmarks/bookmark_browsertest.cc base::ASCIIToUTF16(kPersistBookmarkTitle)); base 65 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc command_line, base::FilePath(), false); base 30 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc using base::UserMetricsAction; base 216 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc base::string16 title; base 301 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc base::string16 BookmarkContextMenuController::GetLabelForCommandId( base 313 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc return base::string16(); base 72 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; base 25 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc using base::ASCIIToUTF16; base 74 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc base::MessageLoopForUI message_loop_; base 15 chrome/browser/ui/bookmarks/bookmark_editor.cc const base::string16& new_title, base 35 chrome/browser/ui/bookmarks/bookmark_editor.cc model->SetDateFolderModified(parent, base::Time::Now()); base 102 chrome/browser/ui/bookmarks/bookmark_editor.cc const base::string16& title) { base 127 chrome/browser/ui/bookmarks/bookmark_editor.cc const base::string16& new_title, base 149 chrome/browser/ui/bookmarks/bookmark_editor.cc const base::string16& new_title, base 48 chrome/browser/ui/bookmarks/bookmark_editor.h const base::string16& title); base 88 chrome/browser/ui/bookmarks/bookmark_editor.h base::string16 title; base 92 chrome/browser/ui/bookmarks/bookmark_editor.h std::vector<std::pair<GURL, base::string16> > urls; base 114 chrome/browser/ui/bookmarks/bookmark_editor.h const base::string16& new_title, base 125 chrome/browser/ui/bookmarks/bookmark_editor.h const base::string16& new_title, base 10 chrome/browser/ui/bookmarks/bookmark_editor_unittest.cc using base::ASCIIToUTF16; base 61 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc base::Time::Exploded install_date; base 62 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc base::Time::Exploded expiration_date; base 134 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc const base::Time now = base::Time::Now(); base 144 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc if ((now - it->visit_time) <= base::TimeDelta::FromDays(1)) base 218 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc const std::string manual_group_name = base::FieldTrialList::FindFullName( base 227 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc scoped_refptr<base::FieldTrial> trial( base 228 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc base::FieldTrialList::FactoryGetFieldTrial( base 233 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc base::FieldTrial::ONE_TIME_RANDOMIZED, base 251 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc const base::Time start_date = base::Time::FromLocalExploded( base 257 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc const base::Time install_date = base::Time::FromTimeT(install_time); base 278 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc base::Time::Now() - last_prompted_time_); base 284 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc base::Time::Now() - last_prompted_time_); base 306 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc query_url_start_time_ = base::Time::Now(); base 309 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc base::Bind(&BookmarkPromptController::OnDidQueryURL, base 310 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc base::Unretained(this))); base 344 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc base::Time::Now() - query_url_start_time_); base 367 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc last_prompted_time_ = base::Time::Now(); base 105 chrome/browser/ui/bookmarks/bookmark_prompt_controller.h base::Time last_prompted_time_; base 108 chrome/browser/ui/bookmarks/bookmark_prompt_controller.h base::Time query_url_start_time_; base 25 chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc base::FieldTrialList::CreateFieldTrial("BookmarkPrompt", "Experiment"); base 89 chrome/browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc base::FieldTrialList field_trial_list_; base 14 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc using base::ASCIIToUTF16; base 126 chrome/browser/ui/bookmarks/bookmark_utils.cc base::IntToString16(child_count)), base 144 chrome/browser/ui/bookmarks/bookmark_utils.cc std::vector<std::pair<GURL, base::string16> >* urls) { base 146 chrome/browser/ui/bookmarks/bookmark_utils.cc std::pair<GURL, base::string16> entry; base 290 chrome/browser/ui/bookmarks/bookmark_utils.cc base::string16* title) { base 303 chrome/browser/ui/bookmarks/bookmark_utils.cc base::string16 FormatBookmarkURLForDisplay(const GURL& url, base 86 chrome/browser/ui/bookmarks/bookmark_utils.h base::string16* title); base 95 chrome/browser/ui/bookmarks/bookmark_utils.h base::string16 FormatBookmarkURLForDisplay(const GURL& url, base 101 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc base::string16 RecentlyUsedFoldersComboModel::GetItemAt(int index) { base 108 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc return base::string16(); base 114 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc return base::string16(); base 231 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc base::UserMetricsAction("BookmarkBubble_ChangeParent")); base 31 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual base::string16 GetItemAt(int index) OVERRIDE; base 56 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc base::MessageLoopForUI message_loop_; base 87 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc GetModel()->bookmark_bar_node(), 0, base::ASCIIToUTF16("a"), base 90 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc std::set<base::string16> items; base 100 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc GetModel()->bookmark_bar_node(), 0, base::ASCIIToUTF16("a")); base 102 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc folder, 0, base::ASCIIToUTF16("b")); base 104 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc sub_folder, 0, base::ASCIIToUTF16("a"), GURL("http://a")); base 211 chrome/browser/ui/browser.cc using base::TimeDelta; base 212 chrome/browser/ui/browser.cc using base::UserMetricsAction; base 397 chrome/browser/ui/browser.cc base::Bind(&Browser::OnDevToolsDisabledChanged, base::Unretained(this))); base 400 chrome/browser/ui/browser.cc base::Bind(&Browser::UpdateBookmarkBarState, base::Unretained(this), base 554 chrome/browser/ui/browser.cc base::string16 Browser::GetWindowTitleForCurrentTab() const { base 556 chrome/browser/ui/browser.cc base::string16 title; base 585 chrome/browser/ui/browser.cc void Browser::FormatTitleForDisplay(base::string16* title) { base 589 chrome/browser/ui/browser.cc base::string16::npos) { base 590 chrome/browser/ui/browser.cc title->replace(match_index, 1, base::string16()); base 608 chrome/browser/ui/browser.cc const base::Callback<void(bool)>& on_close_confirmed) { base 837 chrome/browser/ui/browser.cc const base::FilePath directory = profile_->last_selected_directory(); base 844 chrome/browser/ui/browser.cc base::string16(), base 848 chrome/browser/ui/browser.cc base::FilePath::StringType(), base 1108 chrome/browser/ui/browser.cc base::MessageLoop::current()->PostTask( base 1109 chrome/browser/ui/browser.cc FROM_HERE, base::Bind(&Browser::CloseFrame, weak_factory_.GetWeakPtr())); base 1167 chrome/browser/ui/browser.cc const base::string16& main_text, base 1168 chrome/browser/ui/browser.cc const base::string16& sub_text) { base 1223 chrome/browser/ui/browser.cc const base::Time process_creation_time = base 1224 chrome/browser/ui/browser.cc base::CurrentProcessInfo::CreationTime(); base 1229 chrome/browser/ui/browser.cc base::Time::Now() - process_creation_time); base 1493 chrome/browser/ui/browser.cc const base::string16& frame_name, base 1512 chrome/browser/ui/browser.cc const base::string16& frame_name, base 1582 chrome/browser/ui/browser.cc const base::FilePath& path) { base 1609 chrome/browser/ui/browser.cc const base::string16& title, base 1702 chrome/browser/ui/browser.cc const base::FilePath& plugin_path, base 1703 chrome/browser/ui/browser.cc const base::Callback<void(bool)>& callback) { base 1800 chrome/browser/ui/browser.cc void Browser::FileSelected(const base::FilePath& path, int index, base 1980 chrome/browser/ui/browser.cc base::MessageLoop::current()->PostDelayedTask( base 1982 chrome/browser/ui/browser.cc base::Bind(&Browser::ProcessPendingUIUpdates, base 1984 chrome/browser/ui/browser.cc base::TimeDelta::FromMilliseconds(kUIUpdateCoalescingTimeMS)); base 2118 chrome/browser/ui/browser.cc base::Bind(&Browser::InProgressDownloadResponse, base 2292 chrome/browser/ui/browser.cc const base::string16& frame_name, base 2333 chrome/browser/ui/browser.cc service->GetAppBackgroundContents(base::ASCIIToUTF16(extension->id())); base 2357 chrome/browser/ui/browser.cc base::ASCIIToUTF16(extension->id()), base 288 chrome/browser/ui/browser.h base::string16 GetWindowTitleForCurrentTab() const; base 291 chrome/browser/ui/browser.h static void FormatTitleForDisplay(base::string16* title); base 311 chrome/browser/ui/browser.h const base::Callback<void(bool)>& on_close_confirmed); base 446 chrome/browser/ui/browser.h const base::string16& main_text, base 447 chrome/browser/ui/browser.h const base::string16& sub_text) OVERRIDE; base 586 chrome/browser/ui/browser.h const base::string16& frame_name, base 592 chrome/browser/ui/browser.h const base::string16& frame_name, base 613 chrome/browser/ui/browser.h const base::FilePath& path) OVERRIDE; base 622 chrome/browser/ui/browser.h const base::string16& title, base 645 chrome/browser/ui/browser.h const base::FilePath& plugin_path, base 646 chrome/browser/ui/browser.h const base::Callback<void(bool)>& callback) OVERRIDE; base 680 chrome/browser/ui/browser.h virtual void FileSelected(const base::FilePath& path, base 793 chrome/browser/ui/browser.h const base::string16& frame_name, base 925 chrome/browser/ui/browser.h base::WeakPtrFactory<Browser> chrome_updater_factory_; base 928 chrome/browser/ui/browser.h base::WeakPtrFactory<Browser> weak_factory_; base 98 chrome/browser/ui/browser_browsertest.cc using base::ASCIIToUTF16; base 119 chrome/browser/ui/browser_browsertest.cc const base::FilePath::CharType* kBeforeUnloadFile = base 122 chrome/browser/ui/browser_browsertest.cc const base::FilePath::CharType* kTitle1File = FILE_PATH_LITERAL("title1.html"); base 123 chrome/browser/ui/browser_browsertest.cc const base::FilePath::CharType* kTitle2File = FILE_PATH_LITERAL("title2.html"); base 125 chrome/browser/ui/browser_browsertest.cc const base::FilePath::CharType kDocRoot[] = base 129 chrome/browser/ui/browser_browsertest.cc base::string16 WindowCaptionFromPageTitle(const base::string16& page_title) { base 176 chrome/browser/ui/browser_browsertest.cc const base::Closure& attach_callback, base 177 chrome/browser/ui/browser_browsertest.cc const base::Closure& detach_callback) base 192 chrome/browser/ui/browser_browsertest.cc base::Closure attach_callback_; base 193 chrome/browser/ui/browser_browsertest.cc base::Closure detach_callback_; base 219 chrome/browser/ui/browser_browsertest.cc base::MessageLoop::current()->PostTask( base 220 chrome/browser/ui/browser_browsertest.cc FROM_HERE, base::Bind(&CloseWindowCallback, browser)); base 340 chrome/browser/ui/browser_browsertest.cc base::string16 LocaleWindowCaptionFromPageTitle( base 341 chrome/browser/ui/browser_browsertest.cc const base::string16& expected_title) { base 342 chrome/browser/ui/browser_browsertest.cc base::string16 page_title = WindowCaptionFromPageTitle(expected_title); base 345 chrome/browser/ui/browser_browsertest.cc if (base::i18n::GetTextDirectionForLocale(locale.c_str()) == base 346 chrome/browser/ui/browser_browsertest.cc base::i18n::RIGHT_TO_LEFT) { base 347 chrome/browser/ui/browser_browsertest.cc base::i18n::WrapStringWithLTRFormatting(&page_title); base 383 chrome/browser/ui/browser_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 384 chrome/browser/ui/browser_browsertest.cc base::FilePath(kTitle1File))); base 387 chrome/browser/ui/browser_browsertest.cc base::string16 tab_title; base 403 chrome/browser/ui/browser_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 404 chrome/browser/ui/browser_browsertest.cc base::FilePath(kTitle2File))); base 405 chrome/browser/ui/browser_browsertest.cc const base::string16 test_title(ASCIIToUTF16("Title Of Awesomeness")); base 408 chrome/browser/ui/browser_browsertest.cc base::string16 tab_title; base 414 chrome/browser/ui/browser_browsertest.cc GURL url(ui_test_utils::GetTestUrl(base::FilePath( base 415 chrome/browser/ui/browser_browsertest.cc base::FilePath::kCurrentDirectory), base::FilePath(kTitle1File))); base 445 chrome/browser/ui/browser_browsertest.cc GURL url(ui_test_utils::GetTestUrl(base::FilePath( base 446 chrome/browser/ui/browser_browsertest.cc base::FilePath::kCurrentDirectory), base::FilePath(kTitle2File))); base 465 chrome/browser/ui/browser_browsertest.cc if (base::SysInfo::AmountOfPhysicalMemoryMB() >= 2048) { base 522 chrome/browser/ui/browser_browsertest.cc base::KillProcess(child_process->GetHandle(), 0, false); base 587 chrome/browser/ui/browser_browsertest.cc base::FilePath(kDocRoot)); base 638 chrome/browser/ui/browser_browsertest.cc base::FilePath(kDocRoot)); base 674 chrome/browser/ui/browser_browsertest.cc GURL url(ui_test_utils::GetTestUrl(base::FilePath( base 675 chrome/browser/ui/browser_browsertest.cc base::FilePath::kCurrentDirectory), base::FilePath(kBeforeUnloadFile))); base 790 chrome/browser/ui/browser_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 791 chrome/browser/ui/browser_browsertest.cc base::MessageLoop::QuitClosure()); base 792 chrome/browser/ui/browser_browsertest.cc base::MessageLoop::current()->Run(); base 861 chrome/browser/ui/browser_browsertest.cc base::FilePath(kDocRoot)); base 948 chrome/browser/ui/browser_browsertest.cc base::FilePath(kDocRoot)); base 1011 chrome/browser/ui/browser_browsertest.cc base::TimeTicks start = base::TimeTicks::Now(); base 1014 chrome/browser/ui/browser_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 1015 chrome/browser/ui/browser_browsertest.cc base::FilePath(kTitle1File))); base 1019 chrome/browser/ui/browser_browsertest.cc base::TimeDelta renderer_td = base 1021 chrome/browser/ui/browser_browsertest.cc base::TimeDelta browser_td = base::TimeTicks::Now() - start; base 1035 chrome/browser/ui/browser_browsertest.cc static const base::FilePath::CharType* kEmptyFile = base 1037 chrome/browser/ui/browser_browsertest.cc GURL file_url(ui_test_utils::GetTestUrl(base::FilePath( base 1038 chrome/browser/ui/browser_browsertest.cc base::FilePath::kCurrentDirectory), base::FilePath(kEmptyFile))); base 1061 chrome/browser/ui/browser_browsertest.cc base::FilePath(kDocRoot)); base 1075 chrome/browser/ui/browser_browsertest.cc base::FilePath(kDocRoot)); base 1180 chrome/browser/ui/browser_browsertest.cc static const base::FilePath::CharType* kFile = base 1182 chrome/browser/ui/browser_browsertest.cc GURL file_url(ui_test_utils::GetTestUrl(base::FilePath( base 1183 chrome/browser/ui/browser_browsertest.cc base::FilePath::kCurrentDirectory), base::FilePath(kFile))); base 1189 chrome/browser/ui/browser_browsertest.cc static const base::FilePath::CharType* kIcon = base 1191 chrome/browser/ui/browser_browsertest.cc GURL expected_favicon_url(ui_test_utils::GetTestUrl(base::FilePath( base 1192 chrome/browser/ui/browser_browsertest.cc base::FilePath::kCurrentDirectory), base::FilePath(kIcon))); base 1259 chrome/browser/ui/browser_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), command_line, first_run); base 1370 chrome/browser/ui/browser_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, first_run); base 1424 chrome/browser/ui/browser_browsertest.cc base::MessageLoop::current()->PostTask( base 1425 chrome/browser/ui/browser_browsertest.cc FROM_HERE, base::Bind(&RunCloseWithAppMenuCallback, browser())); base 1511 chrome/browser/ui/browser_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 1512 chrome/browser/ui/browser_browsertest.cc base::FilePath(kTitle1File))); base 1673 chrome/browser/ui/browser_browsertest.cc void OnZoomLevelChanged(const base::Closure& callback, base 1695 chrome/browser/ui/browser_browsertest.cc base::Bind(&OnZoomLevelChanged, loop_runner->QuitClosure())); base 1711 chrome/browser/ui/browser_browsertest.cc base::Bind(&OnZoomLevelChanged, loop_runner->QuitClosure())); base 1727 chrome/browser/ui/browser_browsertest.cc base::Bind(&OnZoomLevelChanged, loop_runner->QuitClosure())); base 1764 chrome/browser/ui/browser_browsertest.cc base::Closure()); base 1781 chrome/browser/ui/browser_browsertest.cc base::Closure(), base 1817 chrome/browser/ui/browser_browsertest.cc base::Closure()); base 1831 chrome/browser/ui/browser_browsertest.cc base::Closure(), base 1852 chrome/browser/ui/browser_browsertest.cc base::Closure()); base 1865 chrome/browser/ui/browser_browsertest.cc base::Closure(), base 2006 chrome/browser/ui/browser_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("window.close.html")); base 2008 chrome/browser/ui/browser_browsertest.cc base::string16 title = ASCIIToUTF16("Title Of Awesomeness"); base 2056 chrome/browser/ui/browser_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("showmodaldialog.html")); base 2058 chrome/browser/ui/browser_browsertest.cc base::string16 expected_title(ASCIIToUTF16("SUCCESS")); base 2069 chrome/browser/ui/browser_browsertest.cc base::FilePath(), base 2070 chrome/browser/ui/browser_browsertest.cc base::FilePath().AppendASCII("fileurl_universalaccess.html")); base 2072 chrome/browser/ui/browser_browsertest.cc base::string16 expected_title(ASCIIToUTF16("Disallowed")); base 2111 chrome/browser/ui/browser_browsertest.cc base::FilePath tmp_profile = temp_dir_.path().AppendASCII("tmp_profile"); base 2114 chrome/browser/ui/browser_browsertest.cc ASSERT_TRUE(base::CreateDirectory(tmp_profile)); base 2118 chrome/browser/ui/browser_browsertest.cc base::ScopedTempDir temp_dir_; base 2220 chrome/browser/ui/browser_browsertest.cc base::FilePath(), base::FilePath().AppendASCII("title1.html")); base 2253 chrome/browser/ui/browser_browsertest.cc static const base::FilePath::CharType* kTestDir = base 2266 chrome/browser/ui/browser_browsertest.cc base::FilePath(kTestDir), base 2267 chrome/browser/ui/browser_browsertest.cc base::FilePath(FILE_PATH_LITERAL("window_open.html"))); base 2274 chrome/browser/ui/browser_browsertest.cc base::FilePath(kTestDir), base 2275 chrome/browser/ui/browser_browsertest.cc base::FilePath(FILE_PATH_LITERAL("href.html"))); base 2278 chrome/browser/ui/browser_browsertest.cc base::string16 getFirstPageTitle() { base 2282 chrome/browser/ui/browser_browsertest.cc base::string16 getSecondPageTitle() { base 2495 chrome/browser/ui/browser_browsertest.cc base::FilePath(kDocRoot)); base 83 chrome/browser/ui/browser_close_browsertest.cc base::Bind(&chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 88 chrome/browser/ui/browser_close_browsertest.cc base::FilePath user_data_dir; base 386 chrome/browser/ui/browser_close_browsertest.cc base::ScopedTempDir first_profile_downloads_dir_; base 387 chrome/browser/ui/browser_close_browsertest.cc base::ScopedTempDir second_profile_data_dir_; base 388 chrome/browser/ui/browser_close_browsertest.cc base::ScopedTempDir second_profile_downloads_dir_; base 476 chrome/browser/ui/browser_close_browsertest.cc result += base::StringPrintf("Regular profile A: (%d w, %d d), ", base 480 chrome/browser/ui/browser_close_browsertest.cc result += base::StringPrintf("Incognito profile A: (%d w, %d d), ", base 484 chrome/browser/ui/browser_close_browsertest.cc result += base::StringPrintf("Regular profile B: (%d w, %d d), ", base 488 chrome/browser/ui/browser_close_browsertest.cc result += base::StringPrintf("Incognito profile B: (%d w, %d d), ", base 498 chrome/browser/ui/browser_close_browsertest.cc result += base::StringPrintf( base 203 chrome/browser/ui/browser_command_controller.cc base::Bind( base 205 chrome/browser/ui/browser_command_controller.cc base::Unretained(this))); base 211 chrome/browser/ui/browser_command_controller.cc base::Bind(&BrowserCommandController::UpdateCommandsForDevTools, base 212 chrome/browser/ui/browser_command_controller.cc base::Unretained(this))); base 215 chrome/browser/ui/browser_command_controller.cc base::Bind(&BrowserCommandController::UpdateCommandsForBookmarkEditing, base 216 chrome/browser/ui/browser_command_controller.cc base::Unretained(this))); base 219 chrome/browser/ui/browser_command_controller.cc base::Bind(&BrowserCommandController::UpdateCommandsForBookmarkBar, base 220 chrome/browser/ui/browser_command_controller.cc base::Unretained(this))); base 223 chrome/browser/ui/browser_command_controller.cc base::Bind( base 225 chrome/browser/ui/browser_command_controller.cc base::Unretained(this))); base 228 chrome/browser/ui/browser_command_controller.cc base::Bind(&BrowserCommandController::UpdatePrintingState, base 229 chrome/browser/ui/browser_command_controller.cc base::Unretained(this))); base 233 chrome/browser/ui/browser_command_controller.cc base::Bind(&BrowserCommandController::UpdateCommandsForFullscreenMode, base 234 chrome/browser/ui/browser_command_controller.cc base::Unretained(this))); base 239 chrome/browser/ui/browser_command_controller.cc base::Bind(&BrowserCommandController::OnSigninAllowedPrefChange, base 240 chrome/browser/ui/browser_command_controller.cc base::Unretained(this))); base 412 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("CloseWindowByKey")); base 419 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("CloseTabByKey")); base 423 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("Accel_SelectNextTab")); base 428 chrome/browser/ui/browser_command_controller.cc base::UserMetricsAction("Accel_SelectPreviousTab")); base 473 chrome/browser/ui/browser_command_controller.cc base::UserMetricsAction("Accel_Toggle_Minimized_M")); base 509 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("Win8DesktopRestart")); base 517 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("Win8MetroRestart")); base 556 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("Accel_Advanced_Print")); base 643 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("Accel_Focus_Toolbar")); base 647 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("Accel_Focus_Location")); base 651 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("Accel_Focus_Search")); base 659 chrome/browser/ui/browser_command_controller.cc base::UserMetricsAction("Accel_Focus_Bookmarks")); base 721 chrome/browser/ui/browser_command_controller.cc content::RecordAction(base::UserMetricsAction("Accel_Show_App_Menu")); base 786 chrome/browser/ui/browser_command_controller.cc const base::FilePath& profile_path) { base 791 chrome/browser/ui/browser_command_controller.cc const base::FilePath& profile_path, base 792 chrome/browser/ui/browser_command_controller.cc const base::string16& profile_name) { base 906 chrome/browser/ui/browser_command_controller.cc if (base::win::GetVersion() < base::win::VERSION_WIN8 && base 1017 chrome/browser/ui/browser_command_controller.cc const bool metro_mode = base::win::IsMetroProcess(); base 1303 chrome/browser/ui/browser_command_controller.cc HMODULE metro_module = base::win::GetMetroModule(); base 88 chrome/browser/ui/browser_command_controller.h virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; base 89 chrome/browser/ui/browser_command_controller.h virtual void OnProfileWasRemoved(const base::FilePath& profile_path, base 90 chrome/browser/ui/browser_command_controller.h const base::string16& profile_name) OVERRIDE; base 103 chrome/browser/ui/browser_commands.cc using base::UserMetricsAction; base 177 chrome/browser/ui/browser_commands.cc base::string16 title; base 902 chrome/browser/ui/browser_commands.cc base::UTF16ToUTF8(wc->GetTitle()), false); base 947 chrome/browser/ui/browser_commands.cc base::string16 find_text; base 1182 chrome/browser/ui/browser_commands.cc active_entry->SetTitle(base::string16()); base 13 chrome/browser/ui/browser_commands_chromeos.cc using base::UserMetricsAction; base 88 chrome/browser/ui/browser_dialogs.h const base::Closure& close_callback); base 103 chrome/browser/ui/browser_dialogs.h void ShowUserManager(const base::FilePath& profile_path_to_focus); base 108 chrome/browser/ui/browser_focus_uitest.cc base::ProcessHandle process; base 109 chrome/browser/ui/browser_focus_uitest.cc if (base::OpenProcessHandleWithAccess(process_id, base 116 chrome/browser/ui/browser_focus_uitest.cc base::IntToString16(process_id) + base 118 chrome/browser/ui/browser_focus_uitest.cc base::IntToString16(error) + L")"; base 120 chrome/browser/ui/browser_focus_uitest.cc base::CloseProcessHandle(process); base 136 chrome/browser/ui/browser_focus_uitest.cc void CheckFocus(Browser* browser, ViewID id, const base::Time& timeout) { base 138 chrome/browser/ui/browser_focus_uitest.cc base::Time::Now() > timeout) { base 139 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 140 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::QuitClosure()); base 142 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::current()->PostDelayedTask( base 144 chrome/browser/ui/browser_focus_uitest.cc base::Bind(&CheckFocus, browser, id, timeout), base 145 chrome/browser/ui/browser_focus_uitest.cc base::TimeDelta::FromMilliseconds(10)); base 160 chrome/browser/ui/browser_focus_uitest.cc const base::Time timeout = base::Time::Now() + base 161 chrome/browser/ui/browser_focus_uitest.cc base::TimeDelta::FromMilliseconds(kFocusChangeTimeoutMs); base 162 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::current()->PostDelayedTask( base 164 chrome/browser/ui/browser_focus_uitest.cc base::Bind(&CheckFocus, browser(), vid, timeout), base 165 chrome/browser/ui/browser_focus_uitest.cc base::TimeDelta::FromMilliseconds(100)); base 174 chrome/browser/ui/browser_focus_uitest.cc base::FilePath file_path; base 179 chrome/browser/ui/browser_focus_uitest.cc r = base::ReadFileToString(file_path, &html_contents_); base 218 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::current()->PostDelayedTask( base 220 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::QuitClosure(), base 221 chrome/browser/ui/browser_focus_uitest.cc base::TimeDelta::FromMilliseconds(kActionDelayMs)); base 342 chrome/browser/ui/browser_focus_uitest.cc base::ASCIIToUTF16("a"), true, false, NULL, NULL); base 472 chrome/browser/ui/browser_focus_uitest.cc SCOPED_TRACE(base::StringPrintf("outer loop: %d", i)); base 482 chrome/browser/ui/browser_focus_uitest.cc SCOPED_TRACE(base::StringPrintf("inner loop %" PRIuS, j)); base 522 chrome/browser/ui/browser_focus_uitest.cc SCOPED_TRACE(base::StringPrintf("outer loop: %d", i)); base 532 chrome/browser/ui/browser_focus_uitest.cc SCOPED_TRACE(base::StringPrintf("inner loop: %" PRIuS, j)); base 590 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::current()->PostDelayedTask( base 592 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::QuitClosure(), base 593 chrome/browser/ui/browser_focus_uitest.cc base::TimeDelta::FromSeconds(1)); base 712 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::current()->PostDelayedTask( base 714 chrome/browser/ui/browser_focus_uitest.cc base::MessageLoop::QuitClosure(), base 715 chrome/browser/ui/browser_focus_uitest.cc base::TimeDelta::FromSeconds(1)); base 958 chrome/browser/ui/browser_focus_uitest.cc const base::FilePath::CharType* kEmptyFile = FILE_PATH_LITERAL("empty.html"); base 959 chrome/browser/ui/browser_focus_uitest.cc GURL file_url(ui_test_utils::GetTestUrl(base::FilePath( base 960 chrome/browser/ui/browser_focus_uitest.cc base::FilePath::kCurrentDirectory), base::FilePath(kEmptyFile))); base 30 chrome/browser/ui/browser_instant_controller.cc using base::UserMetricsAction; base 76 chrome/browser/ui/browser_instant_controller.cc const base::string16& search_terms = base 28 chrome/browser/ui/browser_list.cc using base::UserMetricsAction; base 32 chrome/browser/ui/browser_list.cc base::LazyInstance<ObserverList<chrome::BrowserListObserver> >::Leaky base 100 chrome/browser/ui/browser_list.h static base::LazyInstance<ObserverList<chrome::BrowserListObserver> >::Leaky base 640 chrome/browser/ui/browser_navigator.cc base::string16()); base 696 chrome/browser/ui/browser_navigator.cc base::string16()); base 82 chrome/browser/ui/browser_navigator.h scoped_refptr<base::RefCountedMemory> browser_initiated_post_data; base 85 chrome/browser/ui/browser_navigator_browsertest.cc base::string16* title) { base 91 chrome/browser/ui/browser_navigator_browsertest.cc param.browser_initiated_post_data = new base::RefCountedStaticMemory( base 1041 chrome/browser/ui/browser_navigator_browsertest.cc web_contents->SetIsCrashed(base::TERMINATION_STATUS_PROCESS_CRASHED, -1); base 1334 chrome/browser/ui/browser_navigator_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16(kExpectedTitle)); base 1336 chrome/browser/ui/browser_navigator_browsertest.cc base::string16 title; base 1350 chrome/browser/ui/browser_navigator_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16(kExpectedTitle)); base 1352 chrome/browser/ui/browser_navigator_browsertest.cc base::string16 title; base 50 chrome/browser/ui/browser_navigator_browsertest.h base::string16* title); base 110 chrome/browser/ui/browser_tab_strip_model_delegate.cc base::MessageLoop::current()->PostTask( base 112 chrome/browser/ui/browser_tab_strip_model_delegate.cc base::Bind(&BrowserTabStripModelDelegate::CloseFrame, base 50 chrome/browser/ui/browser_tab_strip_model_delegate.h base::WeakPtrFactory<BrowserTabStripModelDelegate> weak_factory_; base 25 chrome/browser/ui/browser_tabstrip.cc base::TimeTicks new_tab_start_time = base::TimeTicks::Now(); base 59 chrome/browser/ui/browser_unittest.cc contents2->SetIsCrashed(base::TERMINATION_STATUS_PROCESS_CRASHED, -1); base 26 chrome/browser/ui/browser_win.cc ::GetProcAddress(base::win::GetMetroModule(), "FlipFrameWindows")); base 248 chrome/browser/ui/browser_window.h typedef base::Callback<void(OneClickSigninSyncStarter::StartSyncMode)> base 255 chrome/browser/ui/browser_window.h const base::string16& email, base 256 chrome/browser/ui/browser_window.h const base::string16& error_message, base 273 chrome/browser/ui/browser_window.h const base::Callback<void(bool)>& callback) = 0; base 33 chrome/browser/ui/browser_window_state.cc if (!base::StringToInt(str.substr(0, num1_size), &num1) || base 34 chrome/browser/ui/browser_window_state.cc !base::StringToInt(str.substr(num2_pos, num2_size), &num2)) base 27 chrome/browser/ui/certificate_dialogs.cc void WriterCallback(const base::FilePath& path, const std::string& data) { base 28 chrome/browser/ui/certificate_dialogs.cc int bytes_written = base::WriteFile(path, data.data(), data.size()); base 35 chrome/browser/ui/certificate_dialogs.cc void WriteFileOnFileThread(const base::FilePath& path, base 38 chrome/browser/ui/certificate_dialogs.cc BrowserThread::FILE, FROM_HERE, base::Bind(&WriterCallback, path, data)); base 52 chrome/browser/ui/certificate_dialogs.cc base::Base64Encode(x509_certificate_model::GetDerString(cert), &base64); base 68 chrome/browser/ui/certificate_dialogs.cc virtual void FileSelected(const base::FilePath& path, base 87 chrome/browser/ui/certificate_dialogs.cc base::FilePath suggested_path("certificate"); base 90 chrome/browser/ui/certificate_dialogs.cc suggested_path = base::FilePath(cert_title); base 108 chrome/browser/ui/certificate_dialogs.cc void Exporter::FileSelected(const base::FilePath& path, int index, base 146 chrome/browser/ui/certificate_dialogs.cc const base::FilePath& suggested_path, base 170 chrome/browser/ui/certificate_dialogs.cc type, base::string16(), base 17 chrome/browser/ui/certificate_dialogs.h const base::FilePath& suggested_path, base 44 chrome/browser/ui/chrome_pages.cc using base::UserMetricsAction; base 58 chrome/browser/ui/chrome_pages.cc GURL(kChromeUIBookmarksURL).Resolve(base::StringPrintf( base 59 chrome/browser/ui/chrome_pages.cc "/#%s%s", action.c_str(), base::Int64ToString(node_id).c_str())))); base 49 chrome/browser/ui/chrome_select_file_policy_unittest.cc const base::FilePath file_path; base 50 chrome/browser/ui/chrome_select_file_policy_unittest.cc const base::string16 title = base::string16(); base 58 chrome/browser/ui/chrome_select_file_policy_unittest.cc base::FilePath::StringType(), base 65 chrome/browser/ui/chrome_select_file_policy_unittest.cc virtual void FileSelected(const base::FilePath& path, base 70 chrome/browser/ui/chrome_select_file_policy_unittest.cc const std::vector<base::FilePath>& files, base 91 chrome/browser/ui/chrome_select_file_policy_unittest.cc base::MessageLoopForUI message_loop; base 101 chrome/browser/ui/chrome_select_file_policy_unittest.cc new base::FundamentalValue(false)); base 23 chrome/browser/ui/cocoa/animatable_image.h base::scoped_nsobject<NSImage> image_; base 27 chrome/browser/ui/cocoa/animatable_view.h base::scoped_nsobject<NSAnimation> currentAnimation_; base 10 chrome/browser/ui/cocoa/applescript/apple_event_util.h namespace base { base 17 chrome/browser/ui/cocoa/applescript/apple_event_util.h NSAppleEventDescriptor* ValueToAppleEventDescriptor(const base::Value* value); base 45 chrome/browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.h base::scoped_nsobject<FakeAppDelegate> appDelegate_; base 48 chrome/browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.h base::scoped_nsobject<BookmarkFolderAppleScript> bookmarkBar_; base 23 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<NSString> appId_; base 25 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<DoppelgangerMenuItem> aboutDoppelganger_; base 26 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<DoppelgangerMenuItem> hideDoppelganger_; base 27 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<DoppelgangerMenuItem> quitDoppelganger_; base 28 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<DoppelgangerMenuItem> newDoppelganger_; base 29 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<DoppelgangerMenuItem> openDoppelganger_; base 30 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<DoppelgangerMenuItem> allToFrontDoppelganger_; base 32 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<NSMenuItem> appMenuItem_; base 33 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<NSMenuItem> fileMenuItem_; base 34 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<NSMenuItem> editMenuItem_; base 35 chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h base::scoped_nsobject<NSMenuItem> windowMenuItem_; base 203 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h base::scoped_nsobject<NativeAppWindowController> window_controller_; base 20 chrome/browser/ui/cocoa/autofill/autofill_account_chooser.h base::scoped_nsobject<NSButton> link_; base 21 chrome/browser/ui/cocoa/autofill/autofill_account_chooser.h base::scoped_nsobject<MenuButton> popup_; base 22 chrome/browser/ui/cocoa/autofill/autofill_account_chooser.h base::scoped_nsobject<NSImageView> icon_; base 17 chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h base::scoped_nsobject<NSTextField> label_; base 29 chrome/browser/ui/cocoa/autofill/autofill_details_container.h base::scoped_nsobject<NSScrollView> scrollView_; base 32 chrome/browser/ui/cocoa/autofill/autofill_details_container.h base::scoped_nsobject<NSMutableArray> details_; base 35 chrome/browser/ui/cocoa/autofill/autofill_details_container.h base::scoped_nsobject<InfoBubbleView> errorBubble_; base 52 chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h virtual base::string16 GetCvc() OVERRIDE; base 78 chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h base::scoped_nsobject<AutofillDialogWindowController> sheet_delegate_; base 81 chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; base 25 chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h virtual base::string16 GetTextContentsOfInput(ServerFieldType type) OVERRIDE; base 27 chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h const base::string16& contents) OVERRIDE; base 30 chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h const base::string16& text) OVERRIDE; base 63 chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h base::scoped_nsobject<AutofillHeader> header_; base 64 chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h base::scoped_nsobject<AutofillMainContainer> mainContainer_; base 65 chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h base::scoped_nsobject<AutofillSignInContainer> signInContainer_; base 66 chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h base::scoped_nsobject<AutofillOverlayController> overlayController_; base 67 chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h base::scoped_nsobject<AutofillLoadingShieldController> base 69 chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h base::scoped_nsobject<NSTextView> fieldEditor_; base 21 chrome/browser/ui/cocoa/autofill/autofill_header.h base::scoped_nsobject<AutofillAccountChooser> accountChooser_; base 22 chrome/browser/ui/cocoa/autofill/autofill_header.h base::scoped_nsobject<NSTextField> title_; base 25 chrome/browser/ui/cocoa/autofill/autofill_loading_shield_controller.h base::scoped_nsobject<NSTextField> message_; base 28 chrome/browser/ui/cocoa/autofill/autofill_loading_shield_controller.h base::scoped_nsobject<NSArray> dots_; base 32 chrome/browser/ui/cocoa/autofill/autofill_main_container.h base::scoped_nsobject<GTMWidthBasedTweaker> buttonContainer_; base 33 chrome/browser/ui/cocoa/autofill/autofill_main_container.h base::scoped_nsobject<NSImageView> buttonStripImage_; base 34 chrome/browser/ui/cocoa/autofill/autofill_main_container.h base::scoped_nsobject<NSButton> saveInChromeCheckbox_; base 35 chrome/browser/ui/cocoa/autofill/autofill_main_container.h base::scoped_nsobject<AutofillTooltipController> saveInChromeTooltip_; base 36 chrome/browser/ui/cocoa/autofill/autofill_main_container.h base::scoped_nsobject<AutofillDetailsContainer> detailsContainer_; base 37 chrome/browser/ui/cocoa/autofill/autofill_main_container.h base::scoped_nsobject<HyperlinkTextView> legalDocumentsView_; base 38 chrome/browser/ui/cocoa/autofill/autofill_main_container.h base::scoped_nsobject<AutofillNotificationContainer> notificationContainer_; base 28 chrome/browser/ui/cocoa/autofill/autofill_notification_container.h base::scoped_nsobject<NSMutableArray> notificationControllers_; base 27 chrome/browser/ui/cocoa/autofill/autofill_notification_controller.h base::scoped_nsobject<HyperlinkTextView> textview_; base 30 chrome/browser/ui/cocoa/autofill/autofill_notification_controller.h base::scoped_nsobject<NSButton> checkbox_; base 33 chrome/browser/ui/cocoa/autofill/autofill_notification_controller.h base::scoped_nsobject<AutofillTooltipController> tooltipController_; base 23 chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.h base::scoped_nsobject<NSImageView> imageView_; base 24 chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.h base::scoped_nsobject<AutofillMessageView> messageView_; base 16 chrome/browser/ui/cocoa/autofill/autofill_pop_up_button.h base::scoped_nsobject<NSString> validityMessage_; base 46 chrome/browser/ui/cocoa/autofill/autofill_section_container.h base::scoped_nsobject<LayoutView> inputs_; base 47 chrome/browser/ui/cocoa/autofill/autofill_section_container.h base::scoped_nsobject<MenuButton> suggestButton_; base 48 chrome/browser/ui/cocoa/autofill/autofill_section_container.h base::scoped_nsobject<AutofillSuggestionContainer> suggestContainer_; base 49 chrome/browser/ui/cocoa/autofill/autofill_section_container.h base::scoped_nsobject<NSTextField> label_; base 52 chrome/browser/ui/cocoa/autofill/autofill_section_container.h base::scoped_nsobject<AutofillSectionView> view_; base 56 chrome/browser/ui/cocoa/autofill/autofill_section_container.h base::scoped_nsobject<AutofillTooltipController> tooltipController_; base 72 chrome/browser/ui/cocoa/autofill/autofill_section_container.h base::scoped_nsobject<MenuController> menuController_; base 23 chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.h base::scoped_nsobject<NSBox> spacer_; base 26 chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.h base::scoped_nsobject<NSTextView> label_; base 29 chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.h base::scoped_nsobject<AutofillTextField> inputField_; base 19 chrome/browser/ui/cocoa/autofill/autofill_textfield.h base::scoped_nsobject<NSString> validityMessage_; base 43 chrome/browser/ui/cocoa/autofill/autofill_textfield.h base::scoped_nsobject<NSImage> icon_; base 20 chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h base::scoped_nsobject<AutofillTooltip> view_; base 32 chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h base::WeakPtr<GeneratedCreditCardBubbleController> controller() { base 38 chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h const base::WeakPtr<GeneratedCreditCardBubbleController>& controller); base 39 chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h friend base::WeakPtr<GeneratedCreditCardBubbleView> base 41 chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h const base::WeakPtr<GeneratedCreditCardBubbleController>& controller); base 47 chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h base::WeakPtr<GeneratedCreditCardBubbleController> controller_; base 50 chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h base::WeakPtrFactory<GeneratedCreditCardBubbleCocoa> weak_ptr_factory_; base 41 chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.h friend base::WeakPtr<NewCreditCardBubbleView> NewCreditCardBubbleView::Create( base 57 chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.h base::WeakPtrFactory<NewCreditCardBubbleCocoa> weak_ptr_factory_; base 16 chrome/browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h typedef std::pair<base::string16, GURL> ActiveTabNameURLPair; base 31 chrome/browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h title:(const base::string16&)title base 186 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h base::scoped_nsobject<NSMutableArray> buttons_; base 189 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h base::scoped_nsobject<NSImage> folderImage_; base 192 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h base::scoped_nsobject<NSImage> defaultImage_; base 209 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h base::scoped_nsobject<BookmarkFolderTarget> folderTarget_; base 227 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h base::scoped_nsobject<BookmarkButton> otherBookmarksButton_; base 230 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h base::scoped_nsobject<BookmarkButton> appsPageShortcutButton_; base 237 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h base::scoped_nsobject<BookmarkButton> hoverButton_; base 276 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h base::scoped_nsobject<BookmarkContextMenuCocoaController> base 30 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h base::scoped_nsobject<BookmarkButton> parentButton_; base 60 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h base::scoped_nsobject<BookmarkBarFolderController> parentController_; base 66 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h base::scoped_nsobject<NSMutableArray> buttons_; base 105 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h base::scoped_nsobject<BookmarkBarFolderHoverState> hoverState_; base 108 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h base::scoped_nsobject<BookmarkFolderTarget> folderTarget_; base 42 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_hover_state.h base::scoped_nsobject<BookmarkButton> hoverButton_; base 21 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h base::scoped_nsobject<NSBox> dropIndicator_; base 36 chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h base::scoped_nsobject<BookmarkSyncPromoController> syncPromoController_; base 33 chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h base::scoped_nsobject<NSImage> arrowImage_; base 36 chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h base::scoped_nsobject<NSColor> textColor_; base 44 chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.h base::scoped_nsobject<MenuController> menuController_; base 19 chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.h NSImage* DragImageForBookmark(NSImage* favicon, const base::string16& title); base 36 chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h base::string16 title_; base 43 chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h base::scoped_nsobject<NSArray> folderTreeArray_; base 46 chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h base::scoped_nsobject<NSArray> tableSelectionPaths_; base 63 chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h title:(const base::string16&)title base 122 chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h - (const base::string16&)title; base 16 chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h base::scoped_nsobject<NSString> initialUrl_; base 29 chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h title:(const base::string16&)title base 143 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h base::scoped_nsobject<NSImage> folder_image_; base 85 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h base::mac::ScopedBlock<ChangeCallback> callback_; base 34 chrome/browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.h base::scoped_nsobject<NSString> initialName_; base 24 chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.h base::scoped_nsobject<HyperlinkTextView> textView_; base 26 chrome/browser/ui/cocoa/browser/avatar_base_controller.h base::scoped_nsobject<NSButton> button_; base 23 chrome/browser/ui/cocoa/browser/avatar_icon_controller.h base::scoped_nsobject<AvatarLabelButton> labelButton_; base 26 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h base::scoped_nsobject<NSMutableArray> items_; base 68 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h base::scoped_nsobject<NSAnimation> linkAnimation_; base 42 chrome/browser/ui/cocoa/browser/zoom_bubble_controller.h base::scoped_nsobject<NSTextField> zoomPercent_; base 114 chrome/browser/ui/cocoa/browser_window_cocoa.h const base::string16& email, base 115 chrome/browser/ui/cocoa/browser_window_cocoa.h const base::string16& error_message, base 124 chrome/browser/ui/cocoa/browser_window_cocoa.h const base::Callback<void(bool)>& callback) OVERRIDE; base 187 chrome/browser/ui/cocoa/browser_window_cocoa.h base::scoped_nsobject<NSString> pending_window_title_; base 73 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<ToolbarController> toolbarController_; base 74 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<TabStripController> tabStripController_; base 75 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<FindBarCocoaController> findBarCocoaController_; base 76 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<InfoBarContainerController> infoBarContainerController_; base 77 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<DownloadShelfController> downloadShelfController_; base 78 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<BookmarkBarController> bookmarkBarController_; base 79 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<DevToolsController> devToolsController_; base 80 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<OverlayableContentsController> base 82 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<PresentationModeController> presentationModeController_; base 83 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<FullscreenModeController> fullscreenModeController_; base 84 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<FullscreenExitBubbleController> base 118 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<AvatarBaseController> avatarButtonController_; base 123 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<NSView> floatingBarBackingView_; base 127 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<NSWindow> fullscreenWindow_; base 155 chrome/browser/ui/cocoa/browser_window_controller.h base::scoped_nsobject<NSMutableSet> barVisibilityLocks_; base 36 chrome/browser/ui/cocoa/bubble_view.h base::scoped_nsobject<NSString> content_; base 24 chrome/browser/ui/cocoa/certificate_viewer_mac.h base::scoped_nsobject<NSArray> certificates_; base 26 chrome/browser/ui/cocoa/certificate_viewer_mac.h base::scoped_nsobject<SFCertificatePanel> panel_; base 28 chrome/browser/ui/cocoa/certificate_viewer_mac.h base::scoped_nsobject<NSWindow> overlayWindow_; base 40 chrome/browser/ui/cocoa/confirm_bubble_cocoa.h base::scoped_nsobject<NSImageView> icon_; base 41 chrome/browser/ui/cocoa/confirm_bubble_cocoa.h base::scoped_nsobject<NSTextView> titleLabel_; base 42 chrome/browser/ui/cocoa/confirm_bubble_cocoa.h base::scoped_nsobject<NSTextView> messageLabel_; base 43 chrome/browser/ui/cocoa/confirm_bubble_cocoa.h base::scoped_nsobject<NSButton> okButton_; base 44 chrome/browser/ui/cocoa/confirm_bubble_cocoa.h base::scoped_nsobject<NSButton> cancelButton_; base 18 chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h base::scoped_nsobject<NSTextField> informativeTextField_; base 19 chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h base::scoped_nsobject<NSTextField> messageTextField_; base 20 chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h base::scoped_nsobject<NSButton> linkView_; base 21 chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h base::scoped_nsobject<NSView> accessoryView_; base 22 chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h base::scoped_nsobject<NSMutableArray> buttons_; base 23 chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h base::scoped_nsobject<NSButton> closeButton_; base 24 chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h base::scoped_nsobject<NSWindow> window_; base 15 chrome/browser/ui/cocoa/constrained_window/constrained_window_animation.h base::scoped_nsobject<NSWindow> window_; base 17 chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h base::scoped_nsobject<NSWindow> customWindow_; base 53 chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h base::scoped_nsprotocol<id<ConstrainedWindowSheet>> sheet_; base 21 chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h base::scoped_nsobject<NSMutableArray> sheets_; base 22 chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h base::scoped_nsobject<NSWindow> parentWindow_; base 23 chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h base::scoped_nsobject<NSView> activeView_; base 19 chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_info.h base::scoped_nsprotocol<id<ConstrainedWindowSheet>> sheet_; base 20 chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_info.h base::scoped_nsobject<NSView> parentView_; base 21 chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_info.h base::scoped_nsobject<NSWindow> overlayWindow_; base 52 chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h base::scoped_nsobject<CollectedCookiesWindowController> sheet_controller_; base 72 chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h base::scoped_nsobject<NSMutableArray> icons_; base 94 chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h base::scoped_nsobject<NSViewAnimation> animation_; base 96 chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h base::scoped_nsobject<CookieDetailsViewController> detailsViewController_; base 78 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> content_; base 79 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> path_; base 80 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> sendFor_; base 82 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> expires_; base 86 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> created_; base 90 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> name_; base 97 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> fileSize_; base 102 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> lastModified_; base 105 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> lastAccessed_; base 111 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> domain_; base 115 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> databaseDescription_; base 118 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> localStorageKey_; base 119 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> localStorageValue_; base 123 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<NSString> manifestURL_; base 180 chrome/browser/ui/cocoa/content_settings/cookie_details.h databaseName:(const base::string16&)databaseName base 181 chrome/browser/ui/cocoa/content_settings/cookie_details.h databaseDescription:(const base::string16&)databaseDescription base 191 chrome/browser/ui/cocoa/content_settings/cookie_details.h key:(const base::string16&)key base 192 chrome/browser/ui/cocoa/content_settings/cookie_details.h value:(const base::string16&)value; base 216 chrome/browser/ui/cocoa/content_settings/cookie_details.h base::scoped_nsobject<CocoaCookieDetails> details_; base 12 chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h base::scoped_nsobject<NSString> title_; base 13 chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h base::scoped_nsobject<NSMutableArray> children_; base 14 chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h base::scoped_nsobject<CocoaCookieDetails> details_; base 48 chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge.h base::scoped_nsobject<CocoaCookieTreeNode> cocoa_model_; base 27 chrome/browser/ui/cocoa/dev_tools_controller.h base::scoped_nsobject<DevToolsContainerView> devToolsContainerView_; base 33 chrome/browser/ui/cocoa/dev_tools_controller.h base::scoped_nsobject<FocusTracker> focusTracker_; base 17 chrome/browser/ui/cocoa/dock_icon.h base::TimeTicks lastUpdate_; base 25 chrome/browser/ui/cocoa/download/background_theme.h virtual base::RefCountedMemory* GetRawData( base 36 chrome/browser/ui/cocoa/download/background_theme.h base::scoped_nsobject<NSGradient> buttonGradient_; base 37 chrome/browser/ui/cocoa/download/background_theme.h base::scoped_nsobject<NSGradient> buttonPressedGradient_; base 38 chrome/browser/ui/cocoa/download/background_theme.h base::scoped_nsobject<NSColor> borderColor_; base 16 chrome/browser/ui/cocoa/download/download_item_button.h base::FilePath downloadPath_; base 20 chrome/browser/ui/cocoa/download/download_item_button.h @property(assign, nonatomic) base::FilePath download; base 33 chrome/browser/ui/cocoa/download/download_item_cell.h base::scoped_nsobject<NSTrackingArea> trackingAreaButton_; base 34 chrome/browser/ui/cocoa/download/download_item_cell.h base::scoped_nsobject<NSTrackingArea> trackingAreaDropdown_; base 36 chrome/browser/ui/cocoa/download/download_item_cell.h base::FilePath downloadPath_; // stored unelided base 40 chrome/browser/ui/cocoa/download/download_item_cell.h base::scoped_nsobject<NSAnimation> completionAnimation_; base 44 chrome/browser/ui/cocoa/download/download_item_cell.h base::scoped_nsobject<IndeterminateProgressTimer> indeterminateProgressTimer_; base 49 chrome/browser/ui/cocoa/download/download_item_cell.h base::scoped_nsobject<NSAnimation> toggleStatusVisibilityAnimation_; base 64 chrome/browser/ui/cocoa/download/download_item_controller.h base::Time creationTime_; base 55 chrome/browser/ui/cocoa/download/download_item_mac.h base::CancelableTaskTracker cancelable_task_tracker_; base 58 chrome/browser/ui/cocoa/download/download_item_mac.h base::FilePath lastFilePath_; base 16 chrome/browser/ui/cocoa/download/download_shelf_context_menu_controller.h base::scoped_nsobject<DownloadItemController> itemController_; base 74 chrome/browser/ui/cocoa/download/download_shelf_controller.h base::scoped_nsobject<NSMutableArray> downloadItemControllers_; base 10 chrome/browser/ui/cocoa/download/download_util_mac.h namespace base { base 16 chrome/browser/ui/cocoa/download/download_util_mac.h void AddFileToPasteboard(NSPasteboard* pasteboard, const base::FilePath& path); base 18 chrome/browser/ui/cocoa/draggable_button.h base::scoped_nsobject<DraggableButtonImpl> draggableButtonImpl_; base 35 chrome/browser/ui/cocoa/extensions/browser_action_button.h base::scoped_nsobject<NSViewAnimation> moveAnimation_; base 55 chrome/browser/ui/cocoa/extensions/browser_action_button.h base::scoped_nsobject< base 51 chrome/browser/ui/cocoa/extensions/browser_actions_controller.h base::scoped_nsobject<NSMutableDictionary> buttons_; base 54 chrome/browser/ui/cocoa/extensions/browser_actions_controller.h base::scoped_nsobject<NSMutableArray> hiddenButtons_; base 57 chrome/browser/ui/cocoa/extensions/browser_actions_controller.h base::scoped_nsobject<NSViewAnimation> chevronAnimation_; base 60 chrome/browser/ui/cocoa/extensions/browser_actions_controller.h base::scoped_nsobject<MenuButton> chevronMenuButton_; base 63 chrome/browser/ui/cocoa/extensions/browser_actions_controller.h base::scoped_nsobject<NSMenu> overflowMenu_; base 49 chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h base::scoped_nsobject<ExtensionInstallViewController> view_controller_; base 49 chrome/browser/ui/cocoa/extensions/extension_install_view_controller.h base::scoped_nsobject<NSArray> warnings_; base 63 chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.h base::scoped_nsobject<NSImage> icon_; base 94 chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.h base::scoped_nsobject<HyperlinkTextView> promo_; base 79 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h base::scoped_nsobject<ConstrainedWindowAlert> alert_; base 85 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h base::scoped_nsobject<NSMutableArray> checkboxes_; base 88 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h base::scoped_nsobject<NSView> checkbox_container_; base 91 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h base::scoped_nsobject<NSBox> main_container_; base 94 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h base::scoped_nsobject<MediaGalleriesCocoaController> cocoa_controller_; base 70 chrome/browser/ui/cocoa/extensions/media_galleries_scan_result_dialog_cocoa.h base::scoped_nsobject<ConstrainedWindowAlert> alert_; base 76 chrome/browser/ui/cocoa/extensions/media_galleries_scan_result_dialog_cocoa.h base::scoped_nsobject<NSMutableArray> checkboxes_; base 79 chrome/browser/ui/cocoa/extensions/media_galleries_scan_result_dialog_cocoa.h base::scoped_nsobject<NSView> checkbox_container_; base 82 chrome/browser/ui/cocoa/extensions/media_galleries_scan_result_dialog_cocoa.h base::scoped_nsobject<NSBox> main_container_; base 85 chrome/browser/ui/cocoa/extensions/media_galleries_scan_result_dialog_cocoa.h base::scoped_nsobject<MediaGalleriesScanResultCocoaController> base 44 chrome/browser/ui/cocoa/extensions/windowed_install_dialog_controller.h base::scoped_nsobject<WindowedInstallController> install_controller_; base 16 chrome/browser/ui/cocoa/external_protocol_dialog.h base::Time creation_time_; base 62 chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h const base::string16& find_text, base 64 chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h virtual base::string16 GetFindText() OVERRIDE; base 67 chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h const base::string16& find_text) OVERRIDE; base 79 chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h virtual base::string16 GetFindSelectedText() OVERRIDE; base 80 chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h virtual base::string16 GetMatchCountText() OVERRIDE; base 36 chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h base::scoped_nsobject<FocusTracker> focusTracker_; base 43 chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h base::scoped_nsobject<NSViewAnimation> showHideAnimation_; base 48 chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h base::scoped_nsobject<NSViewAnimation> moveAnimation_; base 94 chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h withText:(const base::string16&)findText; base 16 chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.h base::scoped_nsobject<NSAttributedString> resultsString_; base 37 chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.h base::scoped_nsobject<NSTextView> exitLabel_; base 39 chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.h base::scoped_nsobject<NSTimer> hideTimer_; base 40 chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.h base::scoped_nsobject<NSAnimation> hideAnimation_; base 41 chrome/browser/ui/cocoa/fullscreen_mode_controller.h base::scoped_nsobject<NSAnimation> animation_; base 28 chrome/browser/ui/cocoa/global_error_bubble_controller.h base::WeakPtr<GlobalErrorWithStandardBubble> error_; base 58 chrome/browser/ui/cocoa/gradient_button_cell.h base::scoped_nsobject<NSTrackingArea> trackingArea_; base 62 chrome/browser/ui/cocoa/gradient_button_cell.h base::scoped_nsobject<NSGradient> gradient_; base 66 chrome/browser/ui/cocoa/gradient_button_cell.h base::scoped_nsobject<NSImage> overlayImage_; base 74 chrome/browser/ui/cocoa/history_menu_bridge.h base::string16 title; base 78 chrome/browser/ui/cocoa/history_menu_bridge.h base::scoped_nsobject<NSImage> icon; base 86 chrome/browser/ui/cocoa/history_menu_bridge.h base::CancelableTaskTracker::TaskId icon_task_id; base 93 chrome/browser/ui/cocoa/history_menu_bridge.h base::scoped_nsobject<NSMenuItem> menu_item; base 208 chrome/browser/ui/cocoa/history_menu_bridge.h base::scoped_nsobject<HistoryMenuCocoaController> controller_; // strong base 216 chrome/browser/ui/cocoa/history_menu_bridge.h base::CancelableTaskTracker cancelable_task_tracker_; base 233 chrome/browser/ui/cocoa/history_menu_bridge.h base::scoped_nsobject<NSImage> default_favicon_; base 26 chrome/browser/ui/cocoa/history_overlay_controller.h base::scoped_nsobject<HistoryOverlayView> contentView_; base 28 chrome/browser/ui/cocoa/history_overlay_controller.h base::scoped_nsobject<NSView> parent_; base 49 chrome/browser/ui/cocoa/hung_renderer_controller.h base::scoped_nsobject<NSArray> hungTitles_; base 53 chrome/browser/ui/cocoa/hung_renderer_controller.h base::scoped_nsobject<NSArray> hungFavicons_; base 42 chrome/browser/ui/cocoa/image_button_cell.h base::scoped_nsobject<NSImage> image; base 54 chrome/browser/ui/cocoa/info_bubble_view.h base::scoped_nsobject<NSColor> backgroundColor_; base 8 chrome/browser/ui/cocoa/infobars/before_translate_infobar_controller.h base::scoped_nsobject<NSButton> alwaysTranslateButton_; base 9 chrome/browser/ui/cocoa/infobars/before_translate_infobar_controller.h base::scoped_nsobject<NSButton> neverTranslateButton_; base 25 chrome/browser/ui/cocoa/infobars/extension_infobar_controller.h base::scoped_nsobject<MenuButton> dropdownButton_; base 28 chrome/browser/ui/cocoa/infobars/extension_infobar_controller.h base::scoped_nsobject< base 31 chrome/browser/ui/cocoa/infobars/infobar_cocoa.h base::WeakPtr<InfoBarCocoa> GetWeakPtr(); base 35 chrome/browser/ui/cocoa/infobars/infobar_cocoa.h base::scoped_nsobject<InfoBarController> controller_; base 38 chrome/browser/ui/cocoa/infobars/infobar_cocoa.h base::WeakPtrFactory<InfoBarCocoa> weak_ptr_factory_; base 48 chrome/browser/ui/cocoa/infobars/infobar_container_controller.h base::scoped_nsobject<NSMutableArray> infobarControllers_; base 23 chrome/browser/ui/cocoa/infobars/infobar_controller.h base::WeakPtr<InfoBarCocoa> infobar_; base 37 chrome/browser/ui/cocoa/infobars/infobar_controller.h base::scoped_nsobject<NSTextView> label_; base 33 chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.cc base::string16 MockConfirmInfoBarDelegate::GetMessageText() const { base 35 chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.cc return base::ASCIIToUTF16(kMessage); base 38 chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.cc base::string16 MockConfirmInfoBarDelegate::GetButtonLabel( base 40 chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.cc return base::ASCIIToUTF16((button == BUTTON_OK) ? "OK" : "Cancel"); base 53 chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.cc base::string16 MockConfirmInfoBarDelegate::GetLinkText() const { base 55 chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.cc return base::string16(); base 40 chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 41 chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 44 chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 26 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h base::scoped_nsobject<NSTextField> label1_; base 27 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h base::scoped_nsobject<NSTextField> label2_; base 28 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h base::scoped_nsobject<NSTextField> label3_; base 29 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h base::scoped_nsobject<NSPopUpButton> fromLanguagePopUp_; base 30 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h base::scoped_nsobject<NSPopUpButton> toLanguagePopUp_; base 31 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h base::scoped_nsobject<NSPopUpButton> optionsPopUp_; base 32 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h base::scoped_nsobject<NSButton> showOriginalButton_; base 36 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h base::scoped_nsobject<NSButton> translateMessageButton_; base 40 chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h base::scoped_nsobject<JavaScriptAppModalDialogHelper> helper_; base 29 chrome/browser/ui/cocoa/l10n_util.h const base::string16& a, base 118 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h base::scoped_nsobject<NSUndoManager> undoManager_; base 123 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h base::scoped_nsobject<URLDropTargetHandler> dropHandler_; base 126 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h base::scoped_nsobject<NSMutableArray> currentToolTips_; base 128 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h base::scoped_nsobject<NSString> suggestText_; base 129 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h base::scoped_nsobject<NSColor> suggestColor_; base 35 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h base::scoped_nsobject<NSEvent> focusEvent_; base 26 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h base::scoped_nsobject<URLDropTargetHandler> dropHandler_; base 28 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h base::scoped_nsobject<NSCharacterSet> forbiddenCharacters_; base 20 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest_helper.h base::scoped_nsobject<AutocompleteTextFieldEditor> editor_; base 52 chrome/browser/ui/cocoa/location_bar/bubble_decoration.h base::scoped_nsobject<NSImage> image_; base 55 chrome/browser/ui/cocoa/location_bar/bubble_decoration.h base::scoped_nsobject<NSString> label_; base 58 chrome/browser/ui/cocoa/location_bar/bubble_decoration.h base::scoped_nsobject<NSMutableDictionary> attributes_; base 52 chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h base::scoped_nsobject<NSAttributedString> CreateAnimatedText(); base 62 chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h base::scoped_nsobject<NSString> tooltip_; base 65 chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h base::scoped_nsobject<ContentSettingAnimationState> animation_; base 67 chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h base::scoped_nsobject<NSAttributedString> animated_text_; base 48 chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h base::scoped_nsobject<NSString> full_label_; base 30 chrome/browser/ui/cocoa/location_bar/image_decoration.h base::scoped_nsobject<NSImage> image_; base 24 chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h void SetKeyword(const base::string16& keyword, bool is_extension_keyword); base 35 chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h base::scoped_nsobject<NSDictionary> attributes_; base 38 chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h base::scoped_nsobject<NSImage> hint_image_; base 41 chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h base::scoped_nsobject<NSString> hint_prefix_; base 42 chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h base::scoped_nsobject<NSString> hint_suffix_; base 159 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h NSImage* GetKeywordImage(const base::string16& keyword); base 274 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; base 56 chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h base::scoped_nsobject<NSMutableDictionary> attributes_; base 60 chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h base::scoped_nsobject<NSImage> extension_icon_; base 66 chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h base::scoped_nsobject<NSString> label_; base 100 chrome/browser/ui/cocoa/location_bar/page_action_decoration.h base::scoped_nsobject<NSString> tooltip_; base 103 chrome/browser/ui/cocoa/location_bar/page_action_decoration.h base::scoped_nsobject< base 22 chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h void SetKeyword(const base::string16& keyword, bool is_extension_keyword); base 39 chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h base::scoped_nsobject<NSImage> search_image_; base 40 chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h base::scoped_nsobject<NSString> full_string_; base 41 chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h base::scoped_nsobject<NSString> partial_string_; base 38 chrome/browser/ui/cocoa/location_bar/star_decoration.h base::scoped_nsobject<NSString> tooltip_; base 61 chrome/browser/ui/cocoa/location_bar/zoom_decoration.h base::scoped_nsobject<NSString> tooltip_; base 22 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_cocoa.h const base::string16& app_name, base 23 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_cocoa.h const base::string16& target_name, base 28 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_cocoa.h base::scoped_nsobject<DesktopMediaPickerController> controller_; base 26 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h base::scoped_nsobject<IKImageBrowserView> sourceBrowser_; base 42 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h base::scoped_nsobject<NSMutableArray> items_; base 62 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h appName:(const base::string16&)appName base 63 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.h targetName:(const base::string16&)targetName; base 19 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_item.h base::scoped_nsobject<NSString> imageUID_; base 20 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_item.h base::scoped_nsobject<NSString> imageTitle_; base 21 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_item.h base::scoped_nsobject<NSImage> image_; base 27 chrome/browser/ui/cocoa/menu_button.h base::scoped_nsobject<NSMenu> attachedMenu_; base 30 chrome/browser/ui/cocoa/menu_button.h base::scoped_nsobject<NSPopUpButtonCell> popUpCell_; base 49 chrome/browser/ui/cocoa/notifications/balloon_controller.h base::scoped_nsobject<MenuController> menuController_; base 63 chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h base::scoped_nsobject<MCTrayController> tray_controller_; base 66 chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h base::scoped_nsobject<MCStatusItemView> status_item_view_; base 69 chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h base::scoped_nsobject<MCPopupCollection> popup_collection_; base 72 chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h base::WeakPtrFactory<MessageCenterTrayBridge> weak_ptr_factory_; base 27 chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h base::scoped_nsobject<NSAttributedString> separator_; base 28 chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h base::scoped_nsobject<NSAttributedString> description_; base 34 chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h base::scoped_nsobject<NSAttributedString> prefix_; base 81 chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h base::scoped_nsobject<NSWindow> popup_; base 84 chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h base::scoped_nsobject<OmniboxPopupMatrix> matrix_; base 85 chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h base::scoped_nsobject<NSView> top_separator_view_; base 86 chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h base::scoped_nsobject<NSView> bottom_separator_view_; base 87 chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h base::scoped_nsobject<NSBox> background_view_; base 35 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h virtual base::string16 GetText() const OVERRIDE; base 36 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h virtual void SetWindowTextAndCaretPos(const base::string16& text, base 44 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h base::string16::size_type* start, base 45 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h base::string16::size_type* end) const OVERRIDE; base 53 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h const base::string16& display_text, base 57 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h const base::string16& display_text, size_t user_text_length) OVERRIDE; base 64 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h virtual void SetGrayTextAutocompletion(const base::string16& input) OVERRIDE; base 65 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h virtual base::string16 GetGrayTextAutocompletion() const OVERRIDE; base 138 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h void SetText(const base::string16& display_text); base 142 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h void SetTextInternal(const base::string16& display_text); base 145 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h void SetTextAndSelectedRange(const base::string16& display_text, base 155 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h void ApplyTextAttributes(const base::string16& display_text, base 177 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h base::string16 text_before_change_; base 186 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h base::string16 suggest_text_; base 20 chrome/browser/ui/cocoa/one_click_signin_bubble_controller.h base::scoped_nsobject<OneClickSigninViewController> viewController_; base 30 chrome/browser/ui/cocoa/one_click_signin_dialog_controller.h const base::string16& email); base 47 chrome/browser/ui/cocoa/one_click_signin_dialog_controller.h base::scoped_nsobject<OneClickSigninViewController> view_controller_; base 36 chrome/browser/ui/cocoa/one_click_signin_view_controller.h base::string16 email_; base 39 chrome/browser/ui/cocoa/one_click_signin_view_controller.h base::scoped_nsobject<NSString> errorMessage_; base 45 chrome/browser/ui/cocoa/one_click_signin_view_controller.h base::scoped_nsobject<HyperlinkTextView> informativeTextView_; base 47 chrome/browser/ui/cocoa/one_click_signin_view_controller.h base::Closure closeCallback_; base 59 chrome/browser/ui/cocoa/one_click_signin_view_controller.h closeCallback:(const base::Closure&)callback base 61 chrome/browser/ui/cocoa/one_click_signin_view_controller.h email:(const base::string16&)email base 73 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h base::scoped_nsobject<NSWindow> window_; base 88 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h base::scoped_nsobject<BatchBoundsAnimationDelegate> base 64 chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h base::scoped_nsobject<RepaintAnimation> glintAnimation_; base 65 chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h base::scoped_nsobject<NSTimer> glintAnimationTimer_; base 69 chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h base::scoped_nsobject<MouseDragController> dragController_; base 33 chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h base::scoped_nsobject<NSString> pendingWindowTitle_; base 48 chrome/browser/ui/cocoa/presentation_mode_controller.h base::scoped_nsobject<NSTrackingArea> trackingArea_; base 52 chrome/browser/ui/cocoa/presentation_mode_controller.h base::scoped_nsobject<DropdownAnimation> currentAnimation_; base 56 chrome/browser/ui/cocoa/presentation_mode_controller.h base::scoped_nsobject<NSTimer> showTimer_; base 57 chrome/browser/ui/cocoa/presentation_mode_controller.h base::scoped_nsobject<NSTimer> hideTimer_; base 73 chrome/browser/ui/cocoa/presentation_mode_controller.h base::mac::FullScreenMode systemFullscreenMode_; base 52 chrome/browser/ui/cocoa/profile_signin_confirmation_dialog_cocoa.h base::scoped_nsobject<ProfileSigninConfirmationViewController> controller_; base 38 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h base::Closure closeDialogCallback_; base 41 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h base::scoped_nsobject<NSBox> promptBox_; base 42 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h base::scoped_nsobject<NSButton> closeButton_; base 43 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h base::scoped_nsobject<NSTextField> titleField_; base 44 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h base::scoped_nsobject<NSTextField> promptField_; base 45 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h base::scoped_nsobject<NSTextView> explanationField_; base 46 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h base::scoped_nsobject<ConstrainedWindowButton> createProfileButton_; base 47 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h base::scoped_nsobject<ConstrainedWindowButton> cancelButton_; base 48 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h base::scoped_nsobject<ConstrainedWindowButton> okButton_; base 54 chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.h closeDialogCallback:(const base::Closure&)closeDialogCallback base 34 chrome/browser/ui/cocoa/renderer_context_menu/render_view_context_menu_mac.h const base::string16& title) OVERRIDE; base 62 chrome/browser/ui/cocoa/renderer_context_menu/render_view_context_menu_mac.h base::scoped_nsobject<MenuController> menu_controller_; base 20 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h base::Closure stop_callback_; base 21 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h base::scoped_nsobject<NSButton> stopButton_; base 22 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h base::scoped_nsobject<NSButton> minimizeButton_; base 25 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h - (id)initWithCallback:(const base::Closure&)stop_callback base 26 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h text:(const base::string16&)text; base 34 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h explicit ScreenCaptureNotificationUICocoa(const base::string16& text); base 38 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) base 44 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h const base::string16 text_; base 45 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h base::scoped_nsobject<ScreenCaptureNotificationController> windowController_; base 44 chrome/browser/ui/cocoa/speech_recognition_window_controller.h messageText:(const base::string16&)messageText base 18 chrome/browser/ui/cocoa/sprite_view.h base::scoped_nsobject<CAKeyframeAnimation> spriteAnimation_; base 27 chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h base::ScopedCFTypeRef<CFMutableArrayRef> identities_; base 32 chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h base::scoped_nsobject<SFChooseIdentityPanel> panel_; base 34 chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h base::scoped_nsobject<NSWindow> overlayWindow_; base 39 chrome/browser/ui/cocoa/status_bubble_mac.h virtual void SetStatus(const base::string16& status) OVERRIDE; base 71 chrome/browser/ui/cocoa/status_bubble_mac.h void SetText(const base::string16& text, bool is_url); base 128 chrome/browser/ui/cocoa/status_bubble_mac.h base::WeakPtrFactory<StatusBubbleMac> timer_factory_; base 131 chrome/browser/ui/cocoa/status_bubble_mac.h base::WeakPtrFactory<StatusBubbleMac> expand_timer_factory_; base 135 chrome/browser/ui/cocoa/status_bubble_mac.h base::WeakPtrFactory<StatusBubbleMac> completion_handler_factory_; base 29 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE; base 31 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h const base::string16& title, base 32 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h const base::string16& contents) OVERRIDE; base 50 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h base::scoped_nsobject<NSStatusItem> item_; base 52 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h base::scoped_nsobject<StatusItemController> controller_; base 57 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h base::scoped_nsobject<NSString> toolTip_; base 61 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h base::scoped_nsobject<MenuController> menu_; base 20 chrome/browser/ui/cocoa/status_icons/status_tray_mac.h const base::string16& tool_tip) OVERRIDE; base 28 chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h base::scoped_nsobject<NSView> activeContainer_; base 30 chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h base::scoped_nsobject<SadTabController> sad_tab_controller_; base 20 chrome/browser/ui/cocoa/tab_contents/sad_tab_view.h base::scoped_nsobject<NSTextField> title_; base 21 chrome/browser/ui/cocoa/tab_contents/sad_tab_view.h base::scoped_nsobject<NSTextField> message_; base 22 chrome/browser/ui/cocoa/tab_contents/sad_tab_view.h base::scoped_nsobject<HyperlinkTextView> help_; base 24 chrome/browser/ui/cocoa/tab_contents/sad_tab_view.h base::scoped_nsobject<NSColor> backgroundColor_; base 52 chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.h base::scoped_nsobject<ConstrainedWindowAlert> alert_; base 53 chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.h base::scoped_nsobject<TabModalConfirmDialogMacBridge> bridge_; base 53 chrome/browser/ui/cocoa/table_row_nsimage_cache.h base::scoped_nsobject<NSPointerArray> icon_images_; base 45 chrome/browser/ui/cocoa/tabs/tab_controller.h base::scoped_nsobject<SpriteView> iconView_; base 46 chrome/browser/ui/cocoa/tabs/tab_controller.h base::scoped_nsobject<MediaIndicatorView> mediaIndicatorView_; base 47 chrome/browser/ui/cocoa/tabs/tab_controller.h base::scoped_nsobject<HoverCloseButton> closeButton_; base 63 chrome/browser/ui/cocoa/tabs/tab_controller.h base::scoped_nsobject<MenuController> contextMenuController_; base 61 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<TabStripView> tabStripView_; base 63 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<NSView> dragBlockingView_; // avoid bad window server base 68 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<TabStripDragController> dragController_; base 71 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<CrTrackingArea> newTabTrackingArea_; base 90 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<NSMutableArray> tabContentsArray_; base 94 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<NSMutableArray> tabArray_; base 97 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<NSMutableSet> closingControllers_; base 106 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<NSMutableDictionary> targetFrames_; base 122 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<CrTrackingArea> trackingArea_; base 127 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<NSMutableArray> permanentSubviews_; base 130 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h base::scoped_nsobject<NSImage> defaultFavicon_; base 27 chrome/browser/ui/cocoa/tabs/tab_strip_view.h base::scoped_nsobject<URLDropTargetHandler> dropHandler_; base 29 chrome/browser/ui/cocoa/tabs/tab_strip_view.h base::scoped_nsobject<NewTabButton> newTabButton_; base 48 chrome/browser/ui/cocoa/tabs/tab_view.h base::scoped_nsobject<NSTextField> titleView_; base 76 chrome/browser/ui/cocoa/tabs/tab_view.h base::scoped_nsobject<NSString> toolTipText_; base 80 chrome/browser/ui/cocoa/tabs/tab_view.h base::ScopedCFTypeRef<CGImageRef> maskCache_; base 26 chrome/browser/ui/cocoa/tabs/tab_window_controller.h base::scoped_nsobject<FastResizeView> tabContentArea_; base 27 chrome/browser/ui/cocoa/tabs/tab_window_controller.h base::scoped_nsobject<TabStripView> tabStripView_; base 36 chrome/browser/ui/cocoa/tabs/tab_window_controller.h base::scoped_nsobject<FocusTracker> focusBeforeOverlay_; base 34 chrome/browser/ui/cocoa/task_manager_mac.h base::scoped_nsobject<WindowSizeAutosaver> size_saver_; base 42 chrome/browser/ui/cocoa/task_manager_mac.h base::scoped_nsobject<NSSortDescriptor> currentSortDescriptor_; base 30 chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h base::scoped_nsobject<NSMenu> backForwardMenu_; base 65 chrome/browser/ui/cocoa/toolbar/toolbar_controller.h base::scoped_nsobject<AutocompleteTextFieldEditor> base 68 chrome/browser/ui/cocoa/toolbar/toolbar_controller.h base::scoped_nsobject<BackForwardMenuController> backMenuController_; base 69 chrome/browser/ui/cocoa/toolbar/toolbar_controller.h base::scoped_nsobject<BackForwardMenuController> forwardMenuController_; base 70 chrome/browser/ui/cocoa/toolbar/toolbar_controller.h base::scoped_nsobject<BrowserActionsController> browserActionsController_; base 73 chrome/browser/ui/cocoa/toolbar/toolbar_controller.h base::scoped_nsobject<WrenchMenuController> wrenchMenuController_; base 84 chrome/browser/ui/cocoa/toolbar/toolbar_controller.h base::scoped_nsobject<AutocompleteTextField> locationBarRetainer_; base 30 chrome/browser/ui/cocoa/user_manager_mac.h static void Show(const base::FilePath& profile_path_to_focus, base 57 chrome/browser/ui/cocoa/user_manager_mac.h base::scoped_nsobject<UserManagerWindowController> window_controller_; base 16 chrome/browser/ui/cocoa/validation_message_bubble_controller.h mainText:(const base::string16&)mainText base 17 chrome/browser/ui/cocoa/validation_message_bubble_controller.h subText:(const base::string16&)subText; base 20 chrome/browser/ui/cocoa/validation_message_bubble_controller.h + (NSView*)constructContentView:(const base::string16&)mainText base 21 chrome/browser/ui/cocoa/validation_message_bubble_controller.h subText:(const base::string16&)subText; base 20 chrome/browser/ui/cocoa/vertical_gradient_view.h base::scoped_nsobject<NSGradient> gradient_; base 22 chrome/browser/ui/cocoa/vertical_gradient_view.h base::scoped_nsobject<NSColor> strokeColor_; base 19 chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h base::scoped_nsobject<NSMutableArray> checkboxes_; base 24 chrome/browser/ui/cocoa/website_settings_bubble_controller.h base::scoped_nsobject<NSView> contentView_; base 25 chrome/browser/ui/cocoa/website_settings_bubble_controller.h base::scoped_nsobject<NSSegmentedControl> segmentedControl_; base 26 chrome/browser/ui/cocoa/website_settings_bubble_controller.h base::scoped_nsobject<NSTabView> tabView_; base 122 chrome/browser/ui/cocoa/website_settings_bubble_controller.h virtual void SetFirstVisit(const base::string16& first_visit) OVERRIDE; base 29 chrome/browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.h base::scoped_nsobject<NSMenu> menu_; base 54 chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.h base::scoped_nsobject<WrenchMenuButtonViewController> buttonViewController_; base 38 chrome/browser/ui/collected_cookies_infobar_delegate.cc base::string16 CollectedCookiesInfoBarDelegate::GetMessageText() const { base 46 chrome/browser/ui/collected_cookies_infobar_delegate.cc base::string16 CollectedCookiesInfoBarDelegate::GetButtonLabel( base 30 chrome/browser/ui/collected_cookies_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 32 chrome/browser/ui/collected_cookies_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 21 chrome/browser/ui/confirm_bubble_model.cc base::string16 ConfirmBubbleModel::GetButtonLabel(BubbleButton button) const { base 31 chrome/browser/ui/confirm_bubble_model.cc base::string16 ConfirmBubbleModel::GetLinkText() const { base 32 chrome/browser/ui/confirm_bubble_model.cc return base::string16(); base 32 chrome/browser/ui/confirm_bubble_model.h virtual base::string16 GetTitle() const = 0; base 33 chrome/browser/ui/confirm_bubble_model.h virtual base::string16 GetMessageText() const = 0; base 48 chrome/browser/ui/confirm_bubble_model.h virtual base::string16 GetButtonLabel(BubbleButton button) const; base 58 chrome/browser/ui/confirm_bubble_model.h virtual base::string16 GetLinkText() const; base 42 chrome/browser/ui/content_settings/content_setting_bubble_model.cc using base::UserMetricsAction; base 246 chrome/browser/ui/content_settings/content_setting_bubble_model.cc base::string16 display_host; base 253 chrome/browser/ui/content_settings/content_setting_bubble_model.cc display_host = base::ASCIIToUTF16(url.spec()); base 341 chrome/browser/ui/content_settings/content_setting_bubble_model.cc scoped_ptr<base::Value> value(map->GetWebsiteSetting( base 661 chrome/browser/ui/content_settings/content_setting_bubble_model.cc base::string16 display_host_utf16; base 666 chrome/browser/ui/content_settings/content_setting_bubble_model.cc std::string display_host(base::UTF16ToUTF8(display_host_utf16)); base 727 chrome/browser/ui/content_settings/content_setting_bubble_model.cc radio_allow_label_id, base::UTF8ToUTF16(display_host)); base 1021 chrome/browser/ui/content_settings/content_setting_bubble_model.cc base::string16 protocol; base 1029 chrome/browser/ui/content_settings/content_setting_bubble_model.cc protocol = base::UTF8ToUTF16(pending_handler_.protocol()); base 1036 chrome/browser/ui/content_settings/content_setting_bubble_model.cc base::UTF8ToUTF16(pending_handler_.url().host()), base 1042 chrome/browser/ui/content_settings/content_setting_bubble_model.cc base::UTF8ToUTF16(pending_handler_.url().host()), base 143 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc base::UTF8ToUTF16(request_host))); base 271 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc base::UTF8ToUTF16(request_host))); base 300 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc base::UTF8ToUTF16(request_host))); base 341 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc base::UTF8ToUTF16(request_host))); base 370 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc base::UTF8ToUTF16(request_host))); base 413 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc base::UTF8ToUTF16(request_host))); base 440 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc base::UTF8ToUTF16(request_host))); base 564 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc GURL("http://www.toplevel.example/"), base::ASCIIToUTF16("Handler"))); base 618 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc base::ASCIIToUTF16("Handler")); base 637 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Handler"), handler.title()); base 666 chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Handler"), handler.title()); base 90 chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc base::ASCIIToUTF16("Handler"))); base 32 chrome/browser/ui/content_settings/content_setting_media_menu_model.cc AddItem(i, base::UTF8ToUTF16(devices[i].name)); base 22 chrome/browser/ui/content_settings/content_setting_media_menu_model.h typedef base::Callback<void(content::MediaStreamType, const std::string&)> base 39 chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.cc base::string16 MediaSettingChangedInfoBarDelegate::GetMessageText() const { base 48 chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.cc base::string16 MediaSettingChangedInfoBarDelegate::GetButtonLabel( base 27 chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 29 chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 26 chrome/browser/ui/crypto_module_delegate_nss.cc const base::Closure& initialization_complete_callback) { base 29 chrome/browser/ui/crypto_module_delegate_nss.cc base::Callback<void(crypto::ScopedPK11Slot)> get_slot_callback; base 31 chrome/browser/ui/crypto_module_delegate_nss.cc get_slot_callback = base::Bind(&ChromeNSSCryptoModuleDelegate::DidGetSlot, base 34 chrome/browser/ui/crypto_module_delegate_nss.cc base::Unretained(this), base 56 chrome/browser/ui/crypto_module_delegate_nss.cc base::Bind(&ChromeNSSCryptoModuleDelegate::ShowDialog, base 59 chrome/browser/ui/crypto_module_delegate_nss.cc base::Unretained(this), base 77 chrome/browser/ui/crypto_module_delegate_nss.cc base::Bind(&ChromeNSSCryptoModuleDelegate::GotPassword, base 80 chrome/browser/ui/crypto_module_delegate_nss.cc base::Unretained(this))); base 91 chrome/browser/ui/crypto_module_delegate_nss.cc void ChromeNSSCryptoModuleDelegate::DidGetSlot(const base::Closure& callback, base 40 chrome/browser/ui/crypto_module_delegate_nss.h const base::Closure& initialization_complete_callback) base 56 chrome/browser/ui/crypto_module_delegate_nss.h void DidGetSlot(const base::Closure& callback, crypto::ScopedPK11Slot slot); base 63 chrome/browser/ui/crypto_module_delegate_nss.h base::WaitableEvent event_; base 25 chrome/browser/ui/crypto_module_password_dialog.h typedef base::Callback<void(const std::string&)> CryptoModulePasswordCallback; base 34 chrome/browser/ui/crypto_module_password_dialog_nss.cc const base::Closure& callback); base 47 chrome/browser/ui/crypto_module_password_dialog_nss.cc base::Closure callback_; base 55 chrome/browser/ui/crypto_module_password_dialog_nss.cc const base::Closure& callback) base 77 chrome/browser/ui/crypto_module_password_dialog_nss.cc base::Bind(&SlotUnlocker::GotPassword, base::Unretained(this))); base 129 chrome/browser/ui/crypto_module_password_dialog_nss.cc const base::Closure& callback) { base 144 chrome/browser/ui/crypto_module_password_dialog_nss.cc const base::Closure& callback) { base 32 chrome/browser/ui/crypto_module_password_dialog_nss.h const base::Closure& callback); base 41 chrome/browser/ui/crypto_module_password_dialog_nss.h const base::Closure& callback); base 16 chrome/browser/ui/elide_url.cc using base::UTF8ToUTF16; base 24 chrome/browser/ui/elide_url.cc const base::char16 kDot = '.'; base 28 chrome/browser/ui/elide_url.cc base::string16 BuildPathFromComponents( base 29 chrome/browser/ui/elide_url.cc const base::string16& path_prefix, base 30 chrome/browser/ui/elide_url.cc const std::vector<base::string16>& path_elements, base 31 chrome/browser/ui/elide_url.cc const base::string16& filename, base 34 chrome/browser/ui/elide_url.cc base::string16 path = path_prefix; base 42 chrome/browser/ui/elide_url.cc path += base::string16(kEllipsisUTF16) + kForwardSlash; base 51 chrome/browser/ui/elide_url.cc base::string16 ElideComponentizedPath( base 52 chrome/browser/ui/elide_url.cc const base::string16& url_path_prefix, base 53 chrome/browser/ui/elide_url.cc const std::vector<base::string16>& url_path_elements, base 54 chrome/browser/ui/elide_url.cc const base::string16& url_filename, base 55 chrome/browser/ui/elide_url.cc const base::string16& url_query, base 62 chrome/browser/ui/elide_url.cc base::string16 elided_path = BuildPathFromComponents(url_path_prefix, base 69 chrome/browser/ui/elide_url.cc return base::string16(); base 75 chrome/browser/ui/elide_url.cc base::string16* url_host, base 76 chrome/browser/ui/elide_url.cc base::string16* url_domain, base 77 chrome/browser/ui/elide_url.cc base::string16* url_subdomain) { base 96 chrome/browser/ui/elide_url.cc base::string16 kWwwPrefix = UTF8ToUTF16("www."); base 97 chrome/browser/ui/elide_url.cc if (domain_start_index != base::string16::npos) base 111 chrome/browser/ui/elide_url.cc base::string16 ElideUrl(const GURL& url, base 117 chrome/browser/ui/elide_url.cc const base::string16 url_string = base 137 chrome/browser/ui/elide_url.cc base::string16 url_path_query_etc = url_string.substr(path_start_index); base 138 chrome/browser/ui/elide_url.cc base::string16 url_path = url_string.substr(path_start_index, path_len); base 141 chrome/browser/ui/elide_url.cc const base::string16 url_minus_query = base 147 chrome/browser/ui/elide_url.cc base::string16 url_host; base 148 chrome/browser/ui/elide_url.cc base::string16 url_domain; base 149 chrome/browser/ui/elide_url.cc base::string16 url_subdomain; base 157 chrome/browser/ui/elide_url.cc std::vector<base::string16> file_path_split; base 158 chrome/browser/ui/elide_url.cc base::SplitString(url_path, ':', &file_path_split); base 164 chrome/browser/ui/elide_url.cc const base::string16 kColon = UTF8ToUTF16(":"); base 188 chrome/browser/ui/elide_url.cc base::string16 url_query; base 190 chrome/browser/ui/elide_url.cc base::string16(kEllipsisUTF16), font_list); base 202 chrome/browser/ui/elide_url.cc std::vector<base::string16> url_path_elements; base 203 chrome/browser/ui/elide_url.cc base::SplitString(url_path, kForwardSlash, &url_path_elements); base 209 chrome/browser/ui/elide_url.cc base::string16 url_filename; base 229 chrome/browser/ui/elide_url.cc const base::string16 kEllipsisAndSlash = base 230 chrome/browser/ui/elide_url.cc base::string16(kEllipsisUTF16) + kForwardSlash; base 235 chrome/browser/ui/elide_url.cc base::string16 elided_path = base 247 chrome/browser/ui/elide_url.cc base::string16 url_elided_domain = url_subdomain + url_domain; base 263 chrome/browser/ui/elide_url.cc base::string16 final_elided_url_string(url_elided_domain); base 270 chrome/browser/ui/elide_url.cc GetStringWidthF(base::ASCIIToUTF16("UV"), font_list)) { base 271 chrome/browser/ui/elide_url.cc final_elided_url_string += BuildPathFromComponents(base::string16(), base 281 chrome/browser/ui/elide_url.cc base::string16 ElideHost(const GURL& url, base 284 chrome/browser/ui/elide_url.cc base::string16 url_host; base 285 chrome/browser/ui/elide_url.cc base::string16 url_domain; base 286 chrome/browser/ui/elide_url.cc base::string16 url_subdomain; base 299 chrome/browser/ui/elide_url.cc return base::string16(kEllipsisUTF16) + kDot + url_domain; base 301 chrome/browser/ui/elide_url.cc base::string16 elided_subdomain = ElideText( base 34 chrome/browser/ui/elide_url.h base::string16 ElideUrl(const GURL& url, base 44 chrome/browser/ui/elide_url.h base::string16 ElideHost(const GURL& host_url, base 76 chrome/browser/ui/extensions/application_launch.cc const base::Closure& callback) base 91 chrome/browser/ui/extensions/application_launch.cc base::Bind(&EnableViaAppListFlow::ShowAppList, base::Unretained(this))); base 119 chrome/browser/ui/extensions/application_launch.cc base::Closure callback_; base 353 chrome/browser/ui/extensions/application_launch.cc base::FieldTrialList::FindFullName(kEnforceSigninToUseAppsFieldTrial); base 359 chrome/browser/ui/extensions/application_launch.cc base::UTF8ToUTF16(extension->id()))); base 376 chrome/browser/ui/extensions/application_launch.cc prefs->SetLastLaunchTime(extension->id(), base::Time::Now()); base 475 chrome/browser/ui/extensions/application_launch.cc base::Bind(base::IgnoreResult(OpenEnabledApplication), params)))->Run(); base 19 chrome/browser/ui/extensions/application_launch.h namespace base { base 78 chrome/browser/ui/extensions/application_launch.h base::CommandLine command_line; base 82 chrome/browser/ui/extensions/application_launch.h base::FilePath current_directory; base 48 chrome/browser/ui/extensions/extension_enable_flow.cc base::Callback<gfx::NativeWindow(void)> window_getter) { base 51 chrome/browser/ui/extensions/extension_enable_flow.h base::Callback<gfx::NativeWindow(void)> window_getter); base 102 chrome/browser/ui/extensions/extension_enable_flow.h base::Callback<gfx::NativeWindow(void)> window_getter_; base 94 chrome/browser/ui/extensions/extension_install_ui_default.cc virtual base::string16 GetMessageText() const OVERRIDE; base 96 chrome/browser/ui/extensions/extension_install_ui_default.cc virtual base::string16 GetLinkText() const OVERRIDE; base 120 chrome/browser/ui/extensions/extension_install_ui_default.cc base::string16 ErrorInfoBarDelegate::GetMessageText() const { base 128 chrome/browser/ui/extensions/extension_install_ui_default.cc base::string16 ErrorInfoBarDelegate::GetLinkText() const { base 130 chrome/browser/ui/extensions/extension_install_ui_default.cc l10n_util::GetStringUTF16(IDS_LEARN_MORE) : base::string16(); base 76 chrome/browser/ui/extensions/extension_installed_bubble.cc base::MessageLoopForUI::current()->PostDelayedTask( base 78 chrome/browser/ui/extensions/extension_installed_bubble.cc base::Bind(&ExtensionInstalledBubble::ShowInternal, base 80 chrome/browser/ui/extensions/extension_installed_bubble.cc base::TimeDelta::FromMilliseconds(kAnimationWaitMs)); base 94 chrome/browser/ui/extensions/extension_installed_bubble.cc base::MessageLoopForUI::current()->PostTask( base 96 chrome/browser/ui/extensions/extension_installed_bubble.cc base::Bind(&ExtensionInstalledBubble::ShowInternal, base 89 chrome/browser/ui/extensions/extension_installed_bubble.h base::WeakPtrFactory<ExtensionInstalledBubble> weak_factory_; base 31 chrome/browser/ui/external_protocol_dialog_delegate.cc base::string16 ExternalProtocolDialogDelegate::GetMessageText() const { base 34 chrome/browser/ui/external_protocol_dialog_delegate.cc base::string16 elided_url_without_scheme; base 35 chrome/browser/ui/external_protocol_dialog_delegate.cc base::string16 elided_command; base 36 chrome/browser/ui/external_protocol_dialog_delegate.cc gfx::ElideString(base::ASCIIToUTF16(url().possibly_invalid_spec()), base 40 chrome/browser/ui/external_protocol_dialog_delegate.cc base::string16 message_text = l10n_util::GetStringFUTF16( base 42 chrome/browser/ui/external_protocol_dialog_delegate.cc base::ASCIIToUTF16(url().scheme() + ":"), base 43 chrome/browser/ui/external_protocol_dialog_delegate.cc elided_url_without_scheme) + base::ASCIIToUTF16("\n\n"); base 47 chrome/browser/ui/external_protocol_dialog_delegate.cc elided_command) + base::ASCIIToUTF16("\n\n"); base 53 chrome/browser/ui/external_protocol_dialog_delegate.cc base::string16 ExternalProtocolDialogDelegate::GetCheckboxText() const { base 57 chrome/browser/ui/external_protocol_dialog_delegate.cc base::string16 ExternalProtocolDialogDelegate::GetTitleText() const { base 23 chrome/browser/ui/external_protocol_dialog_delegate.h const base::string16& program_name() const { return program_name_; } base 28 chrome/browser/ui/external_protocol_dialog_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 29 chrome/browser/ui/external_protocol_dialog_delegate.h virtual base::string16 GetCheckboxText() const OVERRIDE; base 30 chrome/browser/ui/external_protocol_dialog_delegate.h virtual base::string16 GetTitleText() const OVERRIDE; base 35 chrome/browser/ui/external_protocol_dialog_delegate.h const base::string16 program_name_; base 183 chrome/browser/ui/fast_unload_controller.cc const base::Callback<void(bool)>& on_close_confirmed) { base 255 chrome/browser/ui/fast_unload_controller.cc base::Callback<void(bool)> on_close_confirmed = on_close_confirmed_; base 478 chrome/browser/ui/fast_unload_controller.cc base::MessageLoop::current()->PostTask( base 480 chrome/browser/ui/fast_unload_controller.cc base::Bind(&FastUnloadController::ProcessPendingTabs, base 94 chrome/browser/ui/fast_unload_controller.h const base::Callback<void(bool)>& on_close_confirmed); base 155 chrome/browser/ui/fast_unload_controller.h void LogUnloadStep(const base::StringPiece& step_name, base 193 chrome/browser/ui/fast_unload_controller.h base::Callback<void(bool)> on_close_confirmed_; base 199 chrome/browser/ui/fast_unload_controller.h base::WeakPtrFactory<FastUnloadController> weak_factory_; base 30 chrome/browser/ui/find_bar/find_backend_unittest.cc base::string16 FindPrepopulateText(WebContents* contents) { base 43 chrome/browser/ui/find_bar/find_backend_unittest.cc EXPECT_EQ(base::string16(), FindPrepopulateText(web_contents())); base 44 chrome/browser/ui/find_bar/find_backend_unittest.cc EXPECT_EQ(base::string16(), find_tab_helper->find_text()); base 54 chrome/browser/ui/find_bar/find_backend_unittest.cc EXPECT_EQ(base::string16(), FindPrepopulateText(web_contents())); base 55 chrome/browser/ui/find_bar/find_backend_unittest.cc EXPECT_EQ(base::string16(), find_tab_helper->find_text()); base 56 chrome/browser/ui/find_bar/find_backend_unittest.cc EXPECT_EQ(base::string16(), FindPrepopulateText(contents2.get())); base 57 chrome/browser/ui/find_bar/find_backend_unittest.cc EXPECT_EQ(base::string16(), find_tab_helper2->find_text()); base 59 chrome/browser/ui/find_bar/find_backend_unittest.cc base::string16 search_term1 = base::ASCIIToUTF16(" I had a 401K "); base 60 chrome/browser/ui/find_bar/find_backend_unittest.cc base::string16 search_term2 = base::ASCIIToUTF16(" but the economy "); base 61 chrome/browser/ui/find_bar/find_backend_unittest.cc base::string16 search_term3 = base::ASCIIToUTF16(" eated it. "); base 72 chrome/browser/ui/find_bar/find_backend_unittest.cc EXPECT_EQ(base::string16(), find_tab_helper2->find_text()); base 61 chrome/browser/ui/find_bar/find_bar.h const base::string16& find_text, base 65 chrome/browser/ui/find_bar/find_bar.h virtual base::string16 GetFindText() = 0; base 73 chrome/browser/ui/find_bar/find_bar.h const base::string16& find_text) = 0; base 109 chrome/browser/ui/find_bar/find_bar.h virtual base::string16 GetFindSelectedText() = 0; base 112 chrome/browser/ui/find_bar/find_bar.h virtual base::string16 GetMatchCountText() = 0; base 143 chrome/browser/ui/find_bar/find_bar_controller.cc const base::string16& last_search = base 145 chrome/browser/ui/find_bar/find_bar_controller.cc const base::string16& current_search = find_tab_helper->find_text(); base 183 chrome/browser/ui/find_bar/find_bar_controller.cc if (base::i18n::IsRTL()) { base 197 chrome/browser/ui/find_bar/find_bar_controller.cc if (base::i18n::IsRTL()) { base 253 chrome/browser/ui/find_bar/find_bar_controller.cc base::string16 find_string = find_tab_helper->find_text(); base 51 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc using base::ASCIIToUTF16; base 52 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc using base::WideToUTF16; base 102 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::string16 GetFindBarTextForBrowser(Browser* browser) { base 107 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::string16 GetFindBarText() { base 111 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::string16 GetFindBarMatchCountTextForBrowser(Browser* browser) { base 117 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::string16 GetMatchCountText() { base 147 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::string16 search_str16(WideToUTF16(std::wstring(search_str))); base 183 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII("find_in_page"), base 184 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII(filename)); base 190 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::Bind(&base::MessageLoop::Quit, base 191 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::Unretained(base::MessageLoop::current()->current()))); base 307 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath data_dir = base 308 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ui_test_utils::GetTestFilePath(base::FilePath(), base::FilePath()); base 320 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::string16 query(data_dir.LossyDisplayName()); base 326 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII("downloads"), base 327 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII("a_zip_file.zip")); base 334 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::ASCIIToWide(download_url.spec()).c_str(), base 413 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath path = ui_test_utils::GetTestFilePath( base 414 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII("find_in_page"), base 415 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII("LongFind.txt")); base 417 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::ReadFileToString(path, &query); base 418 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc std::wstring search_string = base::UTF8ToWide(query); base 474 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath path = ui_test_utils::GetTestFilePath( base 475 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII("find_in_page"), base 476 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII("find_test.txt")); base 480 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::ReadFileToString(path, &query); base 481 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc std::wstring search_string = base::UTF8ToWide(query); base 949 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1025 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc EXPECT_EQ(0, ui_test_utils::FindInPage(web_contents, base::string16(), base 1035 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc EXPECT_EQ(0, ui_test_utils::FindInPage(web_contents, base::string16(), base 1080 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc EXPECT_EQ(1, ui_test_utils::FindInPage(web_contents, base::string16(), base 1129 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ui_test_utils::FindInPage(web_contents_1, base::string16(), base 1204 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc EXPECT_EQ(base::string16(), GetMatchCountText()); base 1394 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1399 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1573 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::string16 expected_title(ASCIIToUTF16("ready")); base 1579 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII("printing"), base 1580 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc base::FilePath().AppendASCII("npapi_plugin.html")); base 18 chrome/browser/ui/find_bar/find_bar_host_interactive_uitest.cc using base::WideToUTF16; base 38 chrome/browser/ui/find_bar/find_bar_host_interactive_uitest.cc base::string16 search_str16(WideToUTF16(std::wstring(search_str))); base 22 chrome/browser/ui/find_bar/find_bar_state.h base::string16 last_prepopulate_text() const { base 26 chrome/browser/ui/find_bar/find_bar_state.h void set_last_prepopulate_text(const base::string16& text) { base 31 chrome/browser/ui/find_bar/find_bar_state.h base::string16 last_prepopulate_text_; base 19 chrome/browser/ui/find_bar/find_bar_state_factory.cc base::string16 FindBarStateFactory::GetLastPrepopulateText(Profile* p) { base 21 chrome/browser/ui/find_bar/find_bar_state_factory.cc base::string16 text = state->last_prepopulate_text(); base 23 chrome/browser/ui/find_bar/find_bar_state_factory.h static base::string16 GetLastPrepopulateText(Profile* profile); base 40 chrome/browser/ui/find_bar/find_tab_helper.cc void FindTabHelper::StartFinding(base::string16 search_string, base 48 chrome/browser/ui/find_bar/find_tab_helper.cc base::string16 last_search_prepopulate_text = base 101 chrome/browser/ui/find_bar/find_tab_helper.cc previous_find_text_ = base::string16(); base 30 chrome/browser/ui/find_bar/find_tab_helper.h void StartFinding(base::string16 search_string, base 56 chrome/browser/ui/find_bar/find_tab_helper.h base::string16 find_text() const { return find_text_; } base 59 chrome/browser/ui/find_bar/find_tab_helper.h base::string16 previous_find_text() const { return previous_find_text_; } base 112 chrome/browser/ui/find_bar/find_tab_helper.h base::string16 find_text_; base 115 chrome/browser/ui/find_bar/find_tab_helper.h base::string16 previous_find_text_; base 39 chrome/browser/ui/fullscreen/fullscreen_controller.cc using base::UserMetricsAction; base 527 chrome/browser/ui/fullscreen/fullscreen_controller.cc base::MessageLoop::current()->PostTask( base 529 chrome/browser/ui/fullscreen/fullscreen_controller.cc base::Bind(&FullscreenController::NotifyFullscreenChange, base 263 chrome/browser/ui/fullscreen/fullscreen_controller.h base::WeakPtrFactory<FullscreenController> ptr_factory_; base 31 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc const base::FilePath::CharType* kSimpleFile = FILE_PATH_LITERAL("simple.html"); base 285 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 286 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc base::FilePath(kSimpleFile))); base 331 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc GURL url(ui_test_utils::GetTestUrl(base::FilePath( base 332 chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc base::FilePath::kCurrentDirectory), base::FilePath(kSimpleFile))); base 48 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc base::TimeDelta::FromMilliseconds(kInitialDelayMs), this, base 53 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc base::TimeDelta::FromMilliseconds(1000 / kPositionCheckHz), this, base 95 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc base::TimeDelta::FromMilliseconds(kIdleTimeMs), this, base 131 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc base::string16 FullscreenExitBubble::GetCurrentMessageText() const { base 136 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc base::string16 FullscreenExitBubble::GetCurrentDenyButtonText() const { base 140 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc base::string16 FullscreenExitBubble::GetAllowButtonText() const { base 144 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc base::string16 FullscreenExitBubble::GetInstructionText() const { base 78 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h base::string16 GetCurrentMessageText() const; base 79 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h base::string16 GetCurrentDenyButtonText() const; base 82 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h base::string16 GetAllowButtonText() const; base 83 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h base::string16 GetInstructionText() const; base 97 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h base::OneShotTimer<FullscreenExitBubble> initial_delay_; base 100 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h base::OneShotTimer<FullscreenExitBubble> idle_timeout_; base 106 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h base::RepeatingTimer<FullscreenExitBubble> mouse_position_checker_; base 18 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc base::string16 GetLabelTextForType(FullscreenExitBubbleType type, base 21 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc base::string16 host(base::UTF8ToUTF16(url.host())); base 29 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc host = base::UTF8ToUTF16(extension->name()); base 60 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc return base::string16(); base 90 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc return base::string16(); base 94 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc base::string16 GetDenyButtonTextForType(FullscreenExitBubbleType type) { base 108 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc return base::string16(); base 111 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc return base::string16(); base 37 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h base::string16 GetLabelTextForType(FullscreenExitBubbleType type, base 40 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h base::string16 GetDenyButtonTextForType(FullscreenExitBubbleType type); base 139 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc base::Closure callback = base::Bind(&GesturePrefsObserver::Update, base 140 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc base::Unretained(this)); base 142 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc base::Closure notify_callback = base::Bind(&GesturePrefsObserver::Notify, base 143 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc base::Unretained(this)); base 43 chrome/browser/ui/global_error/global_error.h virtual base::string16 MenuItemLabel() = 0; base 64 chrome/browser/ui/global_error/global_error.h public base::SupportsWeakPtr<GlobalErrorWithStandardBubble> { base 72 chrome/browser/ui/global_error/global_error.h virtual base::string16 GetBubbleViewTitle() = 0; base 76 chrome/browser/ui/global_error/global_error.h virtual std::vector<base::string16> GetBubbleViewMessages() = 0; base 78 chrome/browser/ui/global_error/global_error.h virtual base::string16 GetBubbleViewAcceptButtonLabel() = 0; base 81 chrome/browser/ui/global_error/global_error.h virtual base::string16 GetBubbleViewCancelButtonLabel() = 0; base 18 chrome/browser/ui/global_error/global_error_bubble_view_base.h const base::WeakPtr<GlobalErrorWithStandardBubble>& error); base 29 chrome/browser/ui/global_error/global_error_service_browsertest.cc virtual base::string16 MenuItemLabel() OVERRIDE { base 31 chrome/browser/ui/global_error/global_error_service_browsertest.cc return base::string16(); base 36 chrome/browser/ui/global_error/global_error_service_browsertest.cc virtual base::string16 GetBubbleViewTitle() OVERRIDE { base 37 chrome/browser/ui/global_error/global_error_service_browsertest.cc return base::string16(); base 39 chrome/browser/ui/global_error/global_error_service_browsertest.cc virtual std::vector<base::string16> GetBubbleViewMessages() OVERRIDE { base 40 chrome/browser/ui/global_error/global_error_service_browsertest.cc return std::vector<base::string16>(); base 42 chrome/browser/ui/global_error/global_error_service_browsertest.cc virtual base::string16 GetBubbleViewAcceptButtonLabel() OVERRIDE { base 43 chrome/browser/ui/global_error/global_error_service_browsertest.cc return base::string16(); base 45 chrome/browser/ui/global_error/global_error_service_browsertest.cc virtual base::string16 GetBubbleViewCancelButtonLabel() OVERRIDE { base 46 chrome/browser/ui/global_error/global_error_service_browsertest.cc return base::string16(); base 27 chrome/browser/ui/global_error/global_error_service_unittest.cc virtual base::string16 MenuItemLabel() OVERRIDE { base 29 chrome/browser/ui/global_error/global_error_service_unittest.cc return base::string16(); base 59 chrome/browser/ui/global_error/global_error_service_unittest.cc virtual base::string16 MenuItemLabel() OVERRIDE { return base::string16(); } base 35 chrome/browser/ui/gtk/accelerators_gtk.h typedef base::hash_map<int, ui::Accelerator> AcceleratorMap; base 10 chrome/browser/ui/gtk/apps/app_info_dialog_gtk.cc const base::Closure& close_callback) { base 54 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc atom_cache_(base::MessagePumpGtk::GetDefaultXDisplay(), kAtomsToCache), base 447 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc base::TimeDelta::FromMilliseconds(kDebounceTimeoutMilliseconds), this, base 666 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc base::string16 title = app_window_->GetTitle(); base 667 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gtk_window_set_title(window_, base::UTF16ToUTF8(title).c_str()); base 184 chrome/browser/ui/gtk/apps/native_app_window_gtk.h base::OneShotTimer<NativeAppWindowGtk> window_configure_debounce_timer_; base 176 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc void AutofillPopupViewGtk::SetLayoutText(const base::string16& text, base 72 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h void SetLayoutText(const base::string16& text, base 73 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 188 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc base::UTF16ToUTF8(avatar_menu_->GetManagedUserInformation()).c_str()); base 229 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc base::string16 elided_name = gfx::ElideText(item_.name, base 234 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc name_label = theme_service->BuildLabel(base::UTF16ToUTF8(elided_name), base 239 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc base::UTF16ToUTF8(elided_name).c_str()); base 251 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc base::UTF16ToUTF8(item_.sync_state).c_str()); base 108 chrome/browser/ui/gtk/back_forward_button_gtk.cc base::MessageLoop::current()->PostDelayedTask( base 110 chrome/browser/ui/gtk/back_forward_button_gtk.cc base::Bind(&BackForwardButtonGtk::ShowBackForwardMenu, base 114 chrome/browser/ui/gtk/back_forward_button_gtk.cc base::TimeDelta::FromMilliseconds(kMenuTimerDelay)); base 67 chrome/browser/ui/gtk/back_forward_button_gtk.h base::WeakPtrFactory<BackForwardButtonGtk> weak_factory_; base 66 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc using base::UserMetricsAction; base 172 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc base::Bind(&BookmarkBarGtk::OnAppsPageShortcutVisibilityChanged, base 173 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc base::Unretained(this))); base 180 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc base::Bind(&BookmarkBarGtk::OnEditBookmarksEnabledChanged, base 181 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc base::Unretained(this))); base 1381 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc base::string16 title = GetNameForURL(url); base 1486 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc base::MessageLoop::current()->PostTask( base 1488 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc base::Bind(&BookmarkBarGtk::PaintEventBox, weak_factory_.GetWeakPtr())); base 420 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h base::WeakPtrFactory<BookmarkBarGtk> weak_factory_; base 48 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_interactive_uitest.cc base::MessageLoop::current()->RunUntilIdle(); base 74 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_interactive_uitest.cc base::MessageLoop::current()->RunUntilIdle(); base 47 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc base::RunLoop().RunUntilIdle(); base 76 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc base::ASCIIToUTF16("title"), GURL("http://one.com")); base 85 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc base::ASCIIToUTF16("title"), GURL("http://one.com")); base 87 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc base::ASCIIToUTF16("other"), GURL("http://two.com")); base 39 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc using base::UserMetricsAction; base 221 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc base::string16 link_markup_utf16; base 222 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc base::UTF8ToUTF16(link_markup, strlen(link_markup), &link_markup_utf16); base 324 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc base::MessageLoop::current()->PostTask( base 326 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc base::Bind(&BookmarkBubbleGtk::ShowEditor, factory_.GetWeakPtr())); base 417 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc const base::string16 new_title( base 418 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(name_entry_)))); base 438 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc return base::UTF16ToUTF8(node->GetTitle()); base 476 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc std::string() : base::UTF16ToUTF8(folder_combo_model_->GetItemAt(i)); base 147 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.h base::WeakPtrFactory<BookmarkBubbleGtk> factory_; base 34 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk_browsertest.cc base::string16()); base 346 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc title = base::UTF16ToUTF8(details_.existing_node->GetTitle()); base 352 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc title = base::UTF16ToUTF8(details_.title); base 366 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc base::UTF16ToUTF8( base 520 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc base::string16 BookmarkEditorGtk::GetInputTitle() const { base 521 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc return base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(name_entry_))); base 546 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc base::string16 new_title(GetInputTitle()); base 619 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 90 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h base::string16 GetInputTitle() const; base 23 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc using base::ASCIIToUTF16; base 24 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc using base::UTF16ToUTF8; base 25 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc using base::Time; base 26 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc using base::TimeDelta; base 104 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc base::MessageLoopForUI message_loop_; base 116 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc NULL, -1, GURL(), base::string16()), base 291 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc NULL, -1, GURL(), base::string16()), base 85 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc const base::string16 label = base::UTF8ToUTF16( base 105 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc const base::string16 label = base::UTF8ToUTF16( base 33 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc base::UTF16ToUTF8(node->GetTitle()).c_str(), base 64 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc base::string16 title = base 230 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc base::string16 GetTitleFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter) { base 232 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc base::string16 ret_val; base 236 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc ret_val = base::UTF8ToUTF16(utf8str); base 70 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.h base::string16 GetTitleFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter); base 62 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc const base::string16& title, base 77 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc std::string label_string = base::UTF16ToUTF8(title); base 113 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc base::string16 text; base 117 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc const base::string16& text, base 193 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc const base::string16& title, base 261 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc const base::string16& label = l10n_util::GetStringUTF16( base 276 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc std::string elided_name = base::UTF16ToUTF8( base 280 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc elided_name = base::UTF16ToUTF8(gfx::TruncateString( base 281 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc base::UTF8ToUTF16(node->url().possibly_invalid_spec()), base 352 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc base::UTF16ToUTF8(nodes[0]->GetTitle()); base 379 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc std::string utf8_title = base::UTF16ToUTF8(nodes[0]->GetTitle()); base 380 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc std::string utf8_html = base::StringPrintf("<a href=\"%s\">%s</a>", base 445 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc base::string16 title; base 460 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc base::string16 title = GetNameForURL(urls[i]); base 471 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc base::string16 title; base 479 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc base::string16 GetNameForURL(const GURL& url) { base 36 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h const base::string16& title, base 115 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h base::string16 GetNameForURL(const GURL& url); base 46 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc x.SetTitle(base::string16(base::ASCIIToUTF16("Google"))); base 913 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (base::i18n::IsRTL()) { base 971 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc base::MessageLoop::current()->PostTask( base 973 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc base::Bind(&BrowserActionsToolbarGtk::HidePopup, base 985 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (base::i18n::IsRTL()) { base 1069 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc base::UTF8ToUTF16(extension->name())); base 232 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h base::WeakPtrFactory<BrowserActionsToolbarGtk> weak_factory_; base 122 chrome/browser/ui/gtk/browser_titlebar.cc GdkColor PickLuminosityContrastingColor(const GdkColor* base, base 126 chrome/browser/ui/gtk/browser_titlebar.cc color_utils::HSL baseHSL = GdkColorToHSL(base); base 423 chrome/browser/ui/gtk/browser_titlebar.cc base::StringTokenizer tokenizer(button_string, ":,"); base 424 chrome/browser/ui/gtk/browser_titlebar.cc tokenizer.set_options(base::StringTokenizer::RETURN_DELIMS); base 432 chrome/browser/ui/gtk/browser_titlebar.cc base::StringPiece token = tokenizer.token_piece(); base 607 chrome/browser/ui/gtk/browser_titlebar.cc base::string16 title = base 610 chrome/browser/ui/gtk/browser_titlebar.cc base::UTF16ToUTF8(title).c_str()); base 65 chrome/browser/ui/gtk/browser_toolbar_gtk.cc using base::UserMetricsAction; base 139 chrome/browser/ui/gtk/browser_toolbar_gtk.cc base::Closure callback = base 140 chrome/browser/ui/gtk/browser_toolbar_gtk.cc base::Bind(&BrowserToolbarGtk::SetUpDragForHomeButton, base 141 chrome/browser/ui/gtk/browser_toolbar_gtk.cc base::Unretained(this)); base 144 chrome/browser/ui/gtk/browser_toolbar_gtk.cc base::Bind(&BrowserToolbarGtk::UpdateShowHomeButton, base 145 chrome/browser/ui/gtk/browser_toolbar_gtk.cc base::Unretained(this))); base 246 chrome/browser/ui/gtk/browser_toolbar_gtk.cc base::Bind(&BrowserToolbarGtk::OnZoomLevelChanged, base 247 chrome/browser/ui/gtk/browser_toolbar_gtk.cc base::Unretained(this))); base 710 chrome/browser/ui/gtk/browser_toolbar_gtk.cc int x_offset = base::i18n::IsRTL() ? 0 : allocation.width - badge->width(); base 252 chrome/browser/ui/gtk/browser_window_gtk.cc base::Bind(&BrowserWindowGtk::OnUseCustomChromeFrameChanged, base 253 chrome/browser/ui/gtk/browser_window_gtk.cc base::Unretained(this))); base 735 chrome/browser/ui/gtk/browser_window_gtk.cc base::string16 title = browser_->GetWindowTitleForCurrentTab(); base 736 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_window_set_title(window_, base::UTF16ToUTF8(title).c_str()); base 756 chrome/browser/ui/gtk/browser_window_gtk.cc base::TimeDelta::FromMilliseconds(kLoadingAnimationFrameTimeMs), this, base 1047 chrome/browser/ui/gtk/browser_window_gtk.cc const base::string16& email, base 1048 chrome/browser/ui/gtk/browser_window_gtk.cc const base::string16& error_message, base 1245 chrome/browser/ui/gtk/browser_window_gtk.cc const base::Callback<void(bool)>& callback) { base 1394 chrome/browser/ui/gtk/browser_window_gtk.cc base::TimeDelta::FromMilliseconds(kDebounceTimeoutMilliseconds), this, base 1449 chrome/browser/ui/gtk/browser_window_gtk.cc base::MessageLoop::current()->PostTask( base 1450 chrome/browser/ui/gtk/browser_window_gtk.cc FROM_HERE, base::Bind(&base::DeletePointer<BrowserWindowGtk>, this)); base 1897 chrome/browser/ui/gtk/browser_window_gtk.cc base::DictionaryValue* window_preferences = update.Get(); base 149 chrome/browser/ui/gtk/browser_window_gtk.h const base::string16& email, base 150 chrome/browser/ui/gtk/browser_window_gtk.h const base::string16& error_message, base 159 chrome/browser/ui/gtk/browser_window_gtk.h const base::Callback<void(bool)>& callback) OVERRIDE; base 553 chrome/browser/ui/gtk/browser_window_gtk.h base::RepeatingTimer<BrowserWindowGtk> loading_animation_timer_; base 556 chrome/browser/ui/gtk/browser_window_gtk.h base::OneShotTimer<BrowserWindowGtk> window_configure_debounce_timer_; base 91 chrome/browser/ui/gtk/bubble/bubble_gtk.cc if (!base::i18n::IsRTL()) base 795 chrome/browser/ui/gtk/bubble/bubble_gtk.cc base::MessageLoop::current()->PostTask( base 797 chrome/browser/ui/gtk/bubble/bubble_gtk.cc base::Bind(&BubbleGtk::Close, weak_ptr_factory_.GetWeakPtr())); base 251 chrome/browser/ui/gtk/bubble/bubble_gtk.h base::WeakPtrFactory<BubbleGtk> weak_ptr_factory_; base 151 chrome/browser/ui/gtk/certificate_viewer_gtk.cc base::UTF8ToUTF16( base 270 chrome/browser/ui/gtk/certificate_viewer_gtk.cc base::Time issued, expires; base 273 chrome/browser/ui/gtk/certificate_viewer_gtk.cc issued_str = base::UTF16ToUTF8( base 274 chrome/browser/ui/gtk/certificate_viewer_gtk.cc base::TimeFormatShortDateNumeric(issued)); base 275 chrome/browser/ui/gtk/certificate_viewer_gtk.cc expires_str = base::UTF16ToUTF8( base 276 chrome/browser/ui/gtk/certificate_viewer_gtk.cc base::TimeFormatShortDateNumeric(expires)); base 356 chrome/browser/ui/gtk/certificate_viewer_gtk.cc base::UTF8ToUTF16(version)); base 403 chrome/browser/ui/gtk/certificate_viewer_gtk.cc base::Time issued, expires; base 406 chrome/browser/ui/gtk/certificate_viewer_gtk.cc issued_str = base::UTF16ToUTF8(base::TimeFormatShortDateAndTime(issued)); base 407 chrome/browser/ui/gtk/certificate_viewer_gtk.cc expires_str = base::UTF16ToUTF8(base::TimeFormatShortDateAndTime(expires)); base 57 chrome/browser/ui/gtk/collected_cookies_gtk.cc const base::string16& domain_name) { base 480 chrome/browser/ui/gtk/collected_cookies_gtk.cc base::string16 last_domain_name; base 84 chrome/browser/ui/gtk/confirm_bubble_gtk.cc base::UTF16ToUTF8(model_->GetTitle()), ui::kGdkBlack); base 96 chrome/browser/ui/gtk/confirm_bubble_gtk.cc base::UTF16ToUTF8(model_->GetMessageText()), ui::kGdkBlack); base 102 chrome/browser/ui/gtk/confirm_bubble_gtk.cc const base::string16 link_text = model_->GetLinkText(); base 106 chrome/browser/ui/gtk/confirm_bubble_gtk.cc base::UTF16ToUTF8(link_text).c_str()); base 122 chrome/browser/ui/gtk/confirm_bubble_gtk.cc GtkWidget* cancel_button = gtk_button_new_with_label(base::UTF16ToUTF8( base 129 chrome/browser/ui/gtk/confirm_bubble_gtk.cc GtkWidget* ok_button = gtk_button_new_with_label(base::UTF16ToUTF8( base 50 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc return base::UTF16ToUTF8(gfx::ElideText( base 51 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc base::UTF8ToUTF16(input), base 218 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc base::Bind(&ContentSettingBubbleGtk::UpdateMenuLabel, base 219 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc base::Unretained(this)))); base 62 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc const base::Closure& close_callback) { base 163 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc std::string description(base::UTF16ToUTF8(shortcut_info_.description)); base 164 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc std::string title(base::UTF16ToUTF8(shortcut_info_.title)); base 221 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc base::Bind(&CreateApplicationShortcutsDialogGtk::CreateDesktopShortcut, base 322 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc const base::Closure& close_callback) base 334 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc base::Bind( base 365 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc base::Bind(&CreateChromeApplicationShortcutsDialogGtk::ShowErrorDialog, base 38 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h : public base::RefCountedThreadSafe<CreateApplicationShortcutsDialogGtk, base 88 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h friend class base::DeleteHelper<CreateApplicationShortcutsDialogGtk>; base 120 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h const base::Closure& close_callback); base 134 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h base::FilePath profile_path_; base 135 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h base::Closure close_callback_; base 73 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc const base::string16& hostname16 = base::UTF8ToUTF16(hostname); base 74 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc const base::string16& slot16 = base::UTF8ToUTF16(slot_name); base 23 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.cc const base::Callback<void(bool)>& callback) { base 33 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.cc const base::Callback<void(bool)>& callback) base 19 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.h const base::Callback<void(bool)>& callback); base 26 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.h const base::Callback<void(bool)>& callback); base 32 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.h const base::Callback<void(bool)> callback_; base 49 chrome/browser/ui/gtk/download/download_item_drag.cc base::string16 display_name_; base 121 chrome/browser/ui/gtk/download/download_item_gtk.cc creation_time_(base::Time::Now()), base 246 chrome/browser/ui/gtk/download/download_item_gtk.cc base::UTF16ToUTF8( base 373 chrome/browser/ui/gtk/download/download_item_gtk.cc status_text_ = base::UTF16ToUTF8(download_model_.GetStatusText()); base 447 chrome/browser/ui/gtk/download/download_item_gtk.cc base::TimeDelta::FromMilliseconds(DownloadShelf::kProgressRateMs), this, base 476 chrome/browser/ui/gtk/download/download_item_gtk.cc base::Bind(&DownloadItemGtk::OnLoadSmallIconComplete, base 477 chrome/browser/ui/gtk/download/download_item_gtk.cc base::Unretained(this)), base 481 chrome/browser/ui/gtk/download/download_item_gtk.cc base::Bind(&DownloadItemGtk::OnLoadLargeIconComplete, base 482 chrome/browser/ui/gtk/download/download_item_gtk.cc base::Unretained(this)), base 490 chrome/browser/ui/gtk/download/download_item_gtk.cc base::string16 tooltip_text = base 493 chrome/browser/ui/gtk/download/download_item_gtk.cc base::UTF16ToUTF8(tooltip_text).c_str()); base 500 chrome/browser/ui/gtk/download/download_item_gtk.cc base::string16 filename; base 506 chrome/browser/ui/gtk/download/download_item_gtk.cc base::string16 status_string = base 508 chrome/browser/ui/gtk/download/download_item_gtk.cc base::string16()); base 511 chrome/browser/ui/gtk/download/download_item_gtk.cc base::string16 filename_string = base 525 chrome/browser/ui/gtk/download/download_item_gtk.cc base::UTF16ToUTF8(filename).c_str()); base 593 chrome/browser/ui/gtk/download/download_item_gtk.cc base::string16 dangerous_warning = base 604 chrome/browser/ui/gtk/download/download_item_gtk.cc base::UTF16ToUTF8(dangerous_warning).c_str()); base 831 chrome/browser/ui/gtk/download/download_item_gtk.cc base::MessageLoop::current()->PostDelayedTask( base 833 chrome/browser/ui/gtk/download/download_item_gtk.cc base::Bind(&DownloadItemGtk::ReenableHbox, base 835 chrome/browser/ui/gtk/download/download_item_gtk.cc base::TimeDelta::FromMilliseconds(kDisabledOnOpenDurationMs)); base 842 chrome/browser/ui/gtk/download/download_item_gtk.cc base::Time::Now() - creation_time_); base 938 chrome/browser/ui/gtk/download/download_item_gtk.cc base::Time::Now() - creation_time_); base 944 chrome/browser/ui/gtk/download/download_item_gtk.cc base::Time::Now() - creation_time_); base 215 chrome/browser/ui/gtk/download/download_item_gtk.h base::RepeatingTimer<DownloadItemGtk> progress_timer_; base 227 chrome/browser/ui/gtk/download/download_item_gtk.h base::FilePath icon_filepath_; base 232 chrome/browser/ui/gtk/download/download_item_gtk.h base::Time creation_time_; base 235 chrome/browser/ui/gtk/download/download_item_gtk.h base::CancelableTaskTracker cancelable_task_tracker_; base 246 chrome/browser/ui/gtk/download/download_item_gtk.h base::WeakPtrFactory<DownloadItemGtk> weak_ptr_factory_; base 343 chrome/browser/ui/gtk/download/download_shelf_gtk.cc base::MessageLoopForUI::current()->AddObserver(this); base 345 chrome/browser/ui/gtk/download/download_shelf_gtk.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 398 chrome/browser/ui/gtk/download/download_shelf_gtk.cc base::MessageLoop::current()->PostDelayedTask( base 400 chrome/browser/ui/gtk/download/download_shelf_gtk.cc base::Bind( base 402 chrome/browser/ui/gtk/download/download_shelf_gtk.cc base::TimeDelta::FromMilliseconds(kAutoCloseDelayMs)); base 40 chrome/browser/ui/gtk/download/download_shelf_gtk.h public base::MessageLoopForUI::Observer { base 155 chrome/browser/ui/gtk/download/download_shelf_gtk.h base::WeakPtrFactory<DownloadShelfGtk> weak_factory_; base 126 chrome/browser/ui/gtk/download/download_started_animation_gtk.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 33 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::string16 original_text = base::UTF8ToUTF16(text); base 34 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::string16 lower_text = base::i18n::ToLower(original_text); base 36 chrome/browser/ui/gtk/edit_search_engine_dialog.cc std::string result = base::UTF16ToUTF8(lower_text); base 145 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::UTF16ToUTF8(controller_->template_url()->short_name()).c_str()); base 148 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::UTF16ToUTF8(controller_->template_url()->keyword()).c_str()); base 151 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::UTF16ToUTF8(controller_->template_url()->url_ref().DisplayURL()). base 193 chrome/browser/ui/gtk/edit_search_engine_dialog.cc if (base::i18n::IsRTL()) { base 217 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::string16 EditSearchEngineDialog::GetTitleInput() const { base 218 chrome/browser/ui/gtk/edit_search_engine_dialog.cc return base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(title_entry_))); base 221 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::string16 EditSearchEngineDialog::GetKeywordInput() const { base 222 chrome/browser/ui/gtk/edit_search_engine_dialog.cc return base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(keyword_entry_))); base 274 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 34 chrome/browser/ui/gtk/edit_search_engine_dialog.h base::string16 GetTitleInput() const; base 35 chrome/browser/ui/gtk/edit_search_engine_dialog.h base::string16 GetKeywordInput() const; base 43 chrome/browser/ui/gtk/event_utils_unittest.cc SCOPED_TRACE(base::StringPrintf( base 50 chrome/browser/ui/gtk/event_utils_unittest.cc SCOPED_TRACE(base::StringPrintf( base 111 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc base::string16 heading = bundle->GetHeadingTextFor(state); base 117 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc gtk_util::CreateBoldLabel(base::UTF16ToUTF8(heading)); base 122 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc GtkWidget* extension_label = gtk_label_new(base::UTF16ToUTF8( base 135 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc base::MessageLoopForUI::current()->PostTask( base 136 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc FROM_HERE, base::Bind(&BundleInstalledBubbleGtk::Close, this)); base 21 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.h public base::RefCounted<BundleInstalledBubbleGtk> { base 28 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.h friend class base::RefCounted<BundleInstalledBubbleGtk>; base 56 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* CreateDetailsWidget(const std::vector<base::string16>& details, base 70 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc base::UTF16ToUTF8(details[i]); base 131 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc base::UTF16ToUTF8(prompt.GetDialogTitle()).c_str(), base 138 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc base::UTF16ToUTF8(prompt.GetAbortButtonLabel()).c_str() : base 144 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc base::UTF16ToUTF8(prompt.GetAcceptButtonLabel()).c_str(), base 197 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc base::UTF16ToUTF8(prompt.GetHeading().c_str())); base 207 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* rating_label = gtk_label_new(base::UTF16ToUTF8( base 214 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* users_label = gtk_label_new(base::UTF16ToUTF8( base 243 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* extension_label = gtk_label_new(base::UTF16ToUTF8( base 282 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc base::UTF16ToUTF8(prompt.GetPermissionsHeading()).c_str()); base 296 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc std::vector<base::string16> details; base 327 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc base::UTF16ToUTF8(prompt.GetOAuthHeading()).c_str()); base 349 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc base::UTF16ToUTF8(prompt.GetRetainedFilesHeading()).c_str()); base 354 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc std::vector<base::string16> paths; base 441 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc return base::Bind(&ShowExtensionInstallDialogImpl); base 172 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc base::string16 extension_name = base 173 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc base::UTF8ToUTF16(bubble_.extension()->name()); base 174 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc base::i18n::AdjustStringForLocaleDirection(&extension_name); base 237 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc base::UTF8ToUTF16(extensions::OmniboxInfo::GetKeyword( base 277 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc if (base::i18n::IsRTL()) base 53 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc devtools_callback_(base::Bind( base 54 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc &ExtensionPopupGtk::OnDevToolsStateChanged, base::Unretained(this))), base 120 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc base::MessageLoop::current()->PostTask( base 122 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc base::Bind(&ExtensionPopupGtk::DestroyPopupWithoutResult, base 111 chrome/browser/ui/gtk/extensions/extension_popup_gtk.h base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; base 113 chrome/browser/ui/gtk/extensions/extension_popup_gtk.h base::WeakPtrFactory<ExtensionPopupGtk> weak_factory_; base 67 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc base::UTF16ToUTF8(controller_->GetHeader()).c_str())); base 71 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc gtk_label_new(base::UTF16ToUTF8(controller_->GetSubtext()).c_str()); base 114 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc GtkWidget* unattached_text = gtk_label_new(base::UTF16ToUTF8( base 179 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc base::UTF16ToUTF8(gallery.GetGalleryAdditionalDetails()); base 191 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc std::string tooltip_text = base::UTF16ToUTF8(gallery.GetGalleryTooltip()); base 195 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc std::string label = base::UTF16ToUTF8(gallery.GetGalleryDisplayName()); base 27 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk_unittest.cc base::Int64ToString(id)); base 28 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk_unittest.cc gallery.display_name = base::ASCIIToUTF16("Display Name"); base 97 chrome/browser/ui/gtk/find_bar_gtk.cc bool ltr = !base::i18n::IsRTL(); base 358 chrome/browser/ui/gtk/find_bar_gtk.cc UpdateUIForFindResult(results, base::string16()); base 370 chrome/browser/ui/gtk/find_bar_gtk.cc void FindBarGtk::SetFindTextAndSelectedRange(const base::string16& find_text, base 372 chrome/browser/ui/gtk/find_bar_gtk.cc std::string find_text_utf8 = base::UTF16ToUTF8(find_text); base 385 chrome/browser/ui/gtk/find_bar_gtk.cc base::string16 FindBarGtk::GetFindText() { base 387 chrome/browser/ui/gtk/find_bar_gtk.cc return base::UTF8ToUTF16(contents); base 397 chrome/browser/ui/gtk/find_bar_gtk.cc const base::string16& find_text) { base 410 chrome/browser/ui/gtk/find_bar_gtk.cc std::string find_text_utf8 = base::UTF16ToUTF8(find_text); base 421 chrome/browser/ui/gtk/find_bar_gtk.cc base::IntToString16(result.active_match_ordinal()), base 422 chrome/browser/ui/gtk/find_bar_gtk.cc base::IntToString16(result.number_of_matches())).c_str()); base 443 chrome/browser/ui/gtk/find_bar_gtk.cc bool ltr = !base::i18n::IsRTL(); base 589 chrome/browser/ui/gtk/find_bar_gtk.cc base::string16 FindBarGtk::GetFindSelectedText() { base 597 chrome/browser/ui/gtk/find_bar_gtk.cc return base::UTF8ToUTF16(contents.substr(cursor_pos, selection_bound)); base 600 chrome/browser/ui/gtk/find_bar_gtk.cc base::string16 FindBarGtk::GetMatchCountText() { base 602 chrome/browser/ui/gtk/find_bar_gtk.cc return base::UTF8ToUTF16(contents); base 620 chrome/browser/ui/gtk/find_bar_gtk.cc find_tab_helper->StartFinding(base::UTF8ToUTF16(new_contents), base 626 chrome/browser/ui/gtk/find_bar_gtk.cc UpdateUIForFindResult(find_tab_helper->find_result(), base::string16()); base 633 chrome/browser/ui/gtk/find_bar_gtk.cc find_bar_state->set_last_prepopulate_text(base::string16()); base 643 chrome/browser/ui/gtk/find_bar_gtk.cc GdkColor normal_bg = style->base[GTK_STATE_NORMAL]; base 645 chrome/browser/ui/gtk/find_bar_gtk.cc style->text[GTK_STATE_NORMAL], style->base[GTK_STATE_NORMAL]); base 54 chrome/browser/ui/gtk/find_bar_gtk.h const base::string16& find_text, base 56 chrome/browser/ui/gtk/find_bar_gtk.h virtual base::string16 GetFindText() OVERRIDE; base 59 chrome/browser/ui/gtk/find_bar_gtk.h const base::string16& find_text) OVERRIDE; base 70 chrome/browser/ui/gtk/find_bar_gtk.h virtual base::string16 GetFindSelectedText() OVERRIDE; base 71 chrome/browser/ui/gtk/find_bar_gtk.h virtual base::string16 GetMatchCountText() OVERRIDE; base 66 chrome/browser/ui/gtk/first_run_dialog.cc base::MessageLoop::current()->Run(); base 162 chrome/browser/ui/gtk/first_run_dialog.cc base::MessageLoop::current()->Quit(); base 56 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc base::UTF16ToUTF8(GetCurrentMessageText()).c_str()); base 62 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc base::UTF16ToUTF8(GetCurrentDenyButtonText()).c_str()); base 66 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc base::string16 accelerator; base 127 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc gtk_label_new(base::UTF16ToUTF8(GetInstructionText()).c_str()); base 173 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc base::UTF8ToUTF16(url.host())); base 87 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_; base 55 chrome/browser/ui/gtk/gconf_titlebar_listener.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 56 chrome/browser/ui/gtk/gconf_titlebar_listener.cc base::nix::DesktopEnvironment de = base 57 chrome/browser/ui/gtk/gconf_titlebar_listener.cc base::nix::GetDesktopEnvironment(env.get()); base 58 chrome/browser/ui/gtk/gconf_titlebar_listener.cc if (de == base::nix::DESKTOP_ENVIRONMENT_GNOME || base 59 chrome/browser/ui/gtk/gconf_titlebar_listener.cc de == base::nix::DESKTOP_ENVIRONMENT_UNITY || base 35 chrome/browser/ui/gtk/global_error_bubble.cc const base::WeakPtr<GlobalErrorWithStandardBubble>& error, base 57 chrome/browser/ui/gtk/global_error_bubble.cc base::UTF16ToUTF8(error_->GetBubbleViewTitle()), base 59 chrome/browser/ui/gtk/global_error_bubble.cc std::vector<base::string16> messages = error_->GetBubbleViewMessages(); base 62 chrome/browser/ui/gtk/global_error_bubble.cc base::UTF16ToUTF8(messages[i]), base 69 chrome/browser/ui/gtk/global_error_bubble.cc base::UTF16ToUTF8(error_->GetBubbleViewAcceptButtonLabel()).c_str()); base 70 chrome/browser/ui/gtk/global_error_bubble.cc base::string16 cancel_string = error_->GetBubbleViewCancelButtonLabel(); base 74 chrome/browser/ui/gtk/global_error_bubble.cc gtk_button_new_with_label(base::UTF16ToUTF8(cancel_string).c_str()); base 159 chrome/browser/ui/gtk/global_error_bubble.cc const base::WeakPtr<GlobalErrorWithStandardBubble>& error) { base 26 chrome/browser/ui/gtk/global_error_bubble.h const base::WeakPtr<GlobalErrorWithStandardBubble>& error, base 43 chrome/browser/ui/gtk/global_error_bubble.h base::WeakPtr<GlobalErrorWithStandardBubble> error_; base 70 chrome/browser/ui/gtk/global_history_menu.cc base::string16 title; base 146 chrome/browser/ui/gtk/global_history_menu.cc base::Bind(&GlobalHistoryMenu::OnTopSitesReceived, base 196 chrome/browser/ui/gtk/global_history_menu.cc base::string16 title = item->title; base 200 chrome/browser/ui/gtk/global_history_menu.cc title = base::UTF8ToUTF16(url_string); base 204 chrome/browser/ui/gtk/global_history_menu.cc base::UTF16ToUTF8(title).c_str()); base 356 chrome/browser/ui/gtk/global_history_menu.cc base::IntToString16(item->tabs.size())); base 121 chrome/browser/ui/gtk/global_history_menu.h base::WeakPtrFactory<GlobalHistoryMenu> weak_ptr_factory_; base 200 chrome/browser/ui/gtk/global_menu_bar.cc base::Bind(&GlobalMenuBar::OnBookmarkBarVisibilityChanged, base 201 chrome/browser/ui/gtk/global_menu_bar.cc base::Unretained(this))); base 17 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc using base::UTF16ToUTF8; base 483 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime( base 487 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime(cookie.ExpiryDate())) : base 551 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime( base 569 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime( base 585 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime( base 588 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime( base 605 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime( base 613 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc const base::string16& key, base 614 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc const base::string16& value) { base 629 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc const base::string16& database_name, base 630 chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc const base::string16& display_name, base 178 chrome/browser/ui/gtk/gtk_chrome_cookie_view.h const base::string16& key, base 179 chrome/browser/ui/gtk/gtk_chrome_cookie_view.h const base::string16& value); base 184 chrome/browser/ui/gtk/gtk_chrome_cookie_view.h const base::string16& database_name, base 185 chrome/browser/ui/gtk/gtk_chrome_cookie_view.h const base::string16& display_name, base 207 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (base::i18n::IsRTL()) base 251 chrome/browser/ui/gtk/gtk_theme_service.cc base::LazyInstance<gfx::Image> GtkThemeService::default_folder_icon_ = base 253 chrome/browser/ui/gtk/gtk_theme_service.cc base::LazyInstance<gfx::Image> GtkThemeService::default_bookmark_icon_ = base 299 chrome/browser/ui/gtk/gtk_theme_service.cc base::Bind(&GtkThemeService::OnUsesSystemThemeChanged, base 300 chrome/browser/ui/gtk/gtk_theme_service.cc base::Unretained(this))); base 626 chrome/browser/ui/gtk/gtk_theme_service.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 628 chrome/browser/ui/gtk/gtk_theme_service.cc switch (base::nix::GetDesktopEnvironment(env.get())) { base 629 chrome/browser/ui/gtk/gtk_theme_service.cc case base::nix::DESKTOP_ENVIRONMENT_GNOME: base 630 chrome/browser/ui/gtk/gtk_theme_service.cc case base::nix::DESKTOP_ENVIRONMENT_UNITY: base 631 chrome/browser/ui/gtk/gtk_theme_service.cc case base::nix::DESKTOP_ENVIRONMENT_XFCE: base 633 chrome/browser/ui/gtk/gtk_theme_service.cc case base::nix::DESKTOP_ENVIRONMENT_KDE3: base 634 chrome/browser/ui/gtk/gtk_theme_service.cc case base::nix::DESKTOP_ENVIRONMENT_KDE4: base 635 chrome/browser/ui/gtk/gtk_theme_service.cc case base::nix::DESKTOP_ENVIRONMENT_OTHER: base 717 chrome/browser/ui/gtk/gtk_theme_service.cc base::nix::SetIconThemeName(gtk_theme_name); base 776 chrome/browser/ui/gtk/gtk_theme_service.cc GdkColor ntp_background = entry_style->base[GTK_STATE_NORMAL]; base 831 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->base[GTK_STATE_SELECTED]); base 835 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->base[GTK_STATE_ACTIVE]); base 839 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->base[GTK_STATE_NORMAL]); base 945 chrome/browser/ui/gtk/gtk_theme_service.cc GdkColor GtkThemeService::BuildAndSetFrameColor(const GdkColor* base, base 950 chrome/browser/ui/gtk/gtk_theme_service.cc GdkColor out_color = *base; base 1040 chrome/browser/ui/gtk/gtk_theme_service.cc SkColor base = it->second; base 1054 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSLShift(base, kGtkFrameShift); base 1058 chrome/browser/ui/gtk/gtk_theme_service.cc 0, gradient_size, lighter, base); base 1068 chrome/browser/ui/gtk/gtk_theme_service.cc kToolbarImageHeight - gradient_size), base); base 1092 chrome/browser/ui/gtk/gtk_theme_service.cc const GdkColor base_color = window_style->base[GTK_STATE_NORMAL]; base 1107 chrome/browser/ui/gtk/gtk_theme_service.cc const GdkColor base_color = style->base[GTK_STATE_NORMAL]; base 201 chrome/browser/ui/gtk/gtk_theme_service.h GdkColor BuildAndSetFrameColor(const GdkColor* base, base 315 chrome/browser/ui/gtk/gtk_theme_service.h static base::LazyInstance<gfx::Image> default_folder_icon_; base 316 chrome/browser/ui/gtk/gtk_theme_service.h static base::LazyInstance<gfx::Image> default_bookmark_icon_; base 225 chrome/browser/ui/gtk/gtk_tree.cc base::UTF16ToUTF8(it->title).c_str(), base 391 chrome/browser/ui/gtk/gtk_tree.cc COL_TITLE, base::UTF16ToUTF8(node->GetTitle()).c_str(), base 375 chrome/browser/ui/gtk/gtk_util.cc base::StringToDouble(l10n_util::GetStringUTF8(width_chars), &chars); base 379 chrome/browser/ui/gtk/gtk_util.cc base::StringToDouble(l10n_util::GetStringUTF8(height_lines), &lines); base 533 chrome/browser/ui/gtk/gtk_util.cc if (!base::i18n::IsRTL()) base 542 chrome/browser/ui/gtk/gtk_util.cc if (!base::i18n::IsRTL()) base 551 chrome/browser/ui/gtk/gtk_util.cc if (base::i18n::IsRTL()) { base 648 chrome/browser/ui/gtk/gtk_util.cc std::string BuildTooltipTitleFor(base::string16 title, const GURL& url) { base 650 chrome/browser/ui/gtk/gtk_util.cc const std::string& title_str = base::UTF16ToUTF8(title); base 652 chrome/browser/ui/gtk/gtk_util.cc std::string truncated_url = base::UTF16ToUTF8(gfx::TruncateString( base 653 chrome/browser/ui/gtk/gtk_util.cc base::UTF8ToUTF16(url_str), kMaxTooltipURLLength)); base 662 chrome/browser/ui/gtk/gtk_util.cc std::string truncated_title = base::UTF16ToUTF8(gfx::TruncateString( base 712 chrome/browser/ui/gtk/gtk_util.cc void SetLayoutText(PangoLayout* layout, const base::string16& text) { base 717 chrome/browser/ui/gtk/gtk_util.cc std::string text_utf8 = base::UTF16ToUTF8(text); base 864 chrome/browser/ui/gtk/gtk_util.cc base::UTF8ToUTF16(selection_text), false, false, base 891 chrome/browser/ui/gtk/gtk_util.cc *normal_base = style->base[GTK_STATE_NORMAL]; base 893 chrome/browser/ui/gtk/gtk_util.cc *selected_base = style->base[GTK_STATE_SELECTED]; base 947 chrome/browser/ui/gtk/gtk_util.cc base::string16 GetStockPreferencesMenuLabel() { base 949 chrome/browser/ui/gtk/gtk_util.cc base::string16 preferences; base 951 chrome/browser/ui/gtk/gtk_util.cc const base::char16 kUnderscore[] = { '_', 0 }; base 952 chrome/browser/ui/gtk/gtk_util.cc base::RemoveChars(base::UTF8ToUTF16(stock_item.label), base 997 chrome/browser/ui/gtk/gtk_util.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 998 chrome/browser/ui/gtk/gtk_util.cc if (base::nix::DESKTOP_ENVIRONMENT_KDE3 == base 999 chrome/browser/ui/gtk/gtk_util.cc base::nix::GetDesktopEnvironment(env.get())) base 185 chrome/browser/ui/gtk/gtk_util.h std::string BuildTooltipTitleFor(base::string16 title, const GURL& url); base 196 chrome/browser/ui/gtk/gtk_util.h void SetLayoutText(PangoLayout* layout, const base::string16& text); base 286 chrome/browser/ui/gtk/gtk_util.h base::string16 GetStockPreferencesMenuLabel(); base 54 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE { base 188 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc std::string title = base::UTF16ToUTF8(it->GetTitle()); base 190 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc title = base::UTF16ToUTF8(CoreTabHelper::GetDefaultTitle()); base 232 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc base::KillProcess(contents_->GetRenderProcessHost()->GetHandle(), base 19 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc using base::UserMetricsAction; base 24 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc const base::Callback<void(bool)>& callback) { base 33 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc const base::Callback<void(bool)>& callback) { base 39 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc const base::Callback<void(bool)>& callback) : callback_(callback) { base 69 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc base::MessageLoop::current()->PostTask( base 71 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc base::Bind(callback_, response_id == GTK_RESPONSE_ACCEPT)); base 21 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.h const base::Callback<void(bool)>& callback); base 25 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.h const base::Callback<void(bool)>& callback); base 34 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.h base::Callback<void(bool)> callback_; base 34 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.cc std::vector<base::string16> strings; base 63 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.cc CreateLabel(base::UTF16ToUTF8(strings[0])), base 71 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.cc CreateLabel(base::UTF16ToUTF8(strings[1])), base 79 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.cc CreateLabel(base::UTF16ToUTF8(strings[2])), base 112 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.cc base::MessageLoop::current()->PostTask( base 114 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.cc base::Bind(&AfterTranslateInfoBar::SetOriginalLanguage, base 125 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.cc base::MessageLoop::current()->PostTask( base 127 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.cc base::Bind(&AfterTranslateInfoBar::SetTargetLanguage, base 34 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.h base::WeakPtrFactory<AfterTranslateInfoBar> weak_factory_; base 34 chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.cc base::string16 display_text = base 36 chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.cc base::string16 link_text = GetDelegate()->GetLinkText(); base 29 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc base::string16 text = base 31 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc base::string16(), &offset); base 34 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc CreateLabel(base::UTF16ToUTF8(text.substr(0, offset))), base 47 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc CreateLabel(base::UTF16ToUTF8(text.substr(offset))), base 56 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc std::string label_text = base::UTF16ToUTF8(GetDelegate()->GetMessageText()); base 65 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc std::string link_text = base::UTF16ToUTF8(GetDelegate()->GetLinkText()); base 89 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc GtkWidget* button = gtk_button_new_with_label(base::UTF16ToUTF8( base 99 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc base::Bind(&ExtensionInfoBarGtk::OnImageLoaded, base 79 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h base::WeakPtrFactory<ExtensionInfoBarGtk> weak_ptr_factory_; base 214 chrome/browser/ui/gtk/infobars/infobar_gtk.cc void InfoBarGtk::AddLabelWithInlineLink(const base::string16& display_text, base 215 chrome/browser/ui/gtk/infobars/infobar_gtk.cc const base::string16& link_text, base 219 chrome/browser/ui/gtk/infobars/infobar_gtk.cc GtkWidget* link_button = CreateLinkButton(base::UTF16ToUTF8(link_text)); base 234 chrome/browser/ui/gtk/infobars/infobar_gtk.cc base::UTF16ToUTF8(display_text.substr(0, link_offset))); base 236 chrome/browser/ui/gtk/infobars/infobar_gtk.cc base::UTF16ToUTF8(display_text.substr(link_offset))); base 107 chrome/browser/ui/gtk/infobars/infobar_gtk.h void AddLabelWithInlineLink(const base::string16& display_text, base 108 chrome/browser/ui/gtk/infobars/infobar_gtk.h const base::string16& link_text, base 162 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc const base::string16& name = delegate->language_name_at(i); base 168 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc base::UTF16ToUTF8(name).c_str(), base 27 chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.cc std::string text = base::UTF16ToUTF8(GetDelegate()->GetMessageInfoBarText()); base 30 chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.cc base::string16 button_text = GetDelegate()->GetMessageInfoBarButtonText(); base 33 chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.cc gtk_button_new_with_label(base::UTF16ToUTF8(button_text).c_str()); base 27 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc base::string16 GetPromptText(GtkDialog* dialog) { base 31 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc return base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(widget))); base 32 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc return base::string16(); base 91 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc base::UTF16ToUTF8(dialog_->message_text()).c_str()); base 96 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc base::UTF16ToUTF8(dialog_->title()).c_str()); base 106 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc base::UTF16ToUTF8(dialog_->default_prompt_text()).c_str()); base 258 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::MessageLoop::current()->PostDelayedTask( base 260 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::Bind(&ContentSettingImageViewGtk::CloseAnimation, base 262 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::TimeDelta::FromMilliseconds(kContentSettingImageDisplayTime)); base 520 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::Bind(&LocationBarViewGtk::UpdateStarIcon, base 521 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::Unretained(this))); base 562 chrome/browser/ui/gtk/location_bar_view_gtk.cc on_star_sized_ = base::Bind(&BookmarkBubbleGtk::Show, star_.get(), base 613 chrome/browser/ui/gtk/location_bar_view_gtk.cc const base::string16 keyword(omnibox_view_->model()->keyword()); base 662 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::MessageLoop::current()->PostTask( base 664 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::Bind(&LocationBarViewGtk::ShowFirstRunBubbleInternal, base 1216 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::string16 info_text = GetToolbarModel()->GetEVCertName(); base 1218 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::UTF16ToUTF8(info_text).c_str()); base 1278 chrome/browser/ui/gtk/location_bar_view_gtk.cc void LocationBarViewGtk::SetKeywordLabel(const base::string16& keyword) { base 1288 chrome/browser/ui/gtk/location_bar_view_gtk.cc const base::string16 short_name = template_url_service->GetKeywordShortName( base 1290 chrome/browser/ui/gtk/location_bar_view_gtk.cc const base::string16 min_string = base 1292 chrome/browser/ui/gtk/location_bar_view_gtk.cc const base::string16 full_name = is_extension_keyword ? base 1295 chrome/browser/ui/gtk/location_bar_view_gtk.cc const base::string16 partial_name = is_extension_keyword ? base 1299 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::UTF16ToUTF8(full_name).c_str()); base 1301 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::UTF16ToUTF8(partial_name).c_str()); base 1321 chrome/browser/ui/gtk/location_bar_view_gtk.cc void LocationBarViewGtk::SetKeywordHintLabel(const base::string16& keyword) { base 1331 chrome/browser/ui/gtk/location_bar_view_gtk.cc const base::string16 short_name = template_url_service-> base 1336 chrome/browser/ui/gtk/location_bar_view_gtk.cc const base::string16 keyword_hint = l10n_util::GetStringFUTF16( base 1338 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::string16(), base 1347 chrome/browser/ui/gtk/location_bar_view_gtk.cc std::string leading(base::UTF16ToUTF8( base 1349 chrome/browser/ui/gtk/location_bar_view_gtk.cc std::string trailing(base::UTF16ToUTF8( base 1514 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::string16 tooltip = l10n_util::GetStringFUTF16Int( base 1516 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_widget_set_tooltip_text(zoom_.get(), base::UTF16ToUTF8(tooltip).c_str()); base 1540 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::string16 tooltip = base 1543 chrome/browser/ui/gtk/location_bar_view_gtk.cc base::UTF16ToUTF8(tooltip).c_str()); base 208 chrome/browser/ui/gtk/location_bar_view_gtk.h base::WeakPtrFactory<PageToolViewGtk> weak_factory_; base 364 chrome/browser/ui/gtk/location_bar_view_gtk.h void SetKeywordLabel(const base::string16& keyword); base 367 chrome/browser/ui/gtk/location_bar_view_gtk.h void SetKeywordHintLabel(const base::string16& keyword); base 426 chrome/browser/ui/gtk/location_bar_view_gtk.h base::Closure on_star_sized_; base 495 chrome/browser/ui/gtk/location_bar_view_gtk.h base::string16 last_keyword_; base 502 chrome/browser/ui/gtk/location_bar_view_gtk.h base::string16 drag_title_; base 505 chrome/browser/ui/gtk/location_bar_view_gtk.h base::WeakPtrFactory<LocationBarViewGtk> weak_ptr_factory_; base 49 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc void OnZoomLevelChanged(const base::Closure& callback, base 68 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc std::string zoom_percent = base::IntToString(GetZoomPercent(contents)); base 114 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc base::Bind(&OnZoomLevelChanged, loop_runner->QuitClosure())); base 52 chrome/browser/ui/gtk/login_prompt_gtk.cc const base::string16& username, base 53 chrome/browser/ui/gtk/login_prompt_gtk.cc const base::string16& password) OVERRIDE { base 60 chrome/browser/ui/gtk/login_prompt_gtk.cc base::UTF16ToUTF8(username).c_str()); base 62 chrome/browser/ui/gtk/login_prompt_gtk.cc base::UTF16ToUTF8(password).c_str()); base 71 chrome/browser/ui/gtk/login_prompt_gtk.cc const base::string16& explanation) OVERRIDE { base 78 chrome/browser/ui/gtk/login_prompt_gtk.cc GtkWidget* label = gtk_label_new(base::UTF16ToUTF8(explanation).c_str()); base 168 chrome/browser/ui/gtk/login_prompt_gtk.cc base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(username_entry_))), base 169 chrome/browser/ui/gtk/login_prompt_gtk.cc base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(password_entry_)))); base 484 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(i))); base 568 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->label())).c_str()); base 598 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(i))).c_str()); base 611 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(i))).c_str()); base 722 chrome/browser/ui/gtk/menu_gtk.cc if (base::i18n::IsRTL()) base 774 chrome/browser/ui/gtk/menu_gtk.cc base::MessageLoop::current()->PostTask( base 775 chrome/browser/ui/gtk/menu_gtk.cc FROM_HERE, base::Bind(&MenuGtk::UpdateMenu, weak_factory_.GetWeakPtr())); base 830 chrome/browser/ui/gtk/menu_gtk.cc base::MessageLoop::current()->PostDelayedTask( base 832 chrome/browser/ui/gtk/menu_gtk.cc base::Bind(&MenuGtk::OnSubMenuHiddenCallback, submenu), base 833 chrome/browser/ui/gtk/menu_gtk.cc base::TimeDelta::FromSeconds(2)); base 899 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(index))); base 957 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(id))); base 215 chrome/browser/ui/gtk/menu_gtk.h base::WeakPtrFactory<MenuGtk> weak_factory_; base 159 chrome/browser/ui/gtk/nine_box.cc if (base::i18n::IsRTL()) { base 211 chrome/browser/ui/gtk/nine_box.cc if (!base::i18n::IsRTL()) { base 119 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc base::MessageLoop::current()->PostTask( base 121 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc base::Bind(&BalloonViewImpl::DelayedClose, base 463 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc base::MessageLoop::current()->PostTask( base 465 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc base::Bind( base 137 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h base::WeakPtrFactory<BalloonViewImpl> weak_factory_; base 100 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc size_t GetUTF8Offset(const base::string16& text, size_t text_offset) { base 101 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return base::UTF16ToUTF8(text.substr(0, text_offset)).length(); base 367 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc const base::string16& text, base 380 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc base::string16 localized_text = text; base 387 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc bool is_rtl = base::i18n::IsRTL(); base 388 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc if (is_rtl && !base::i18n::StringContainsStrongRTLChars(localized_text)) { base 389 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc localized_text.insert(0, 1, base::i18n::kLeftToRightEmbeddingMark); base 397 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc std::string text_utf8 = prefix_text + base::UTF16ToUTF8(localized_text); base 494 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc base::string16(), line); base 615 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc bool ltr = !base::i18n::IsRTL(); base 83 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h const base::string16& text, base 70 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc field_trial_list_.reset(new base::FieldTrialList( base 86 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc const base::string16& text, base 223 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 233 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc const base::string16 kContents = base::ASCIIToUTF16("This is a test"); base 262 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc const base::string16 kContents = base::ASCIIToUTF16("This is a test"); base 291 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc const base::string16 kContents = base::ASCIIToUTF16("This is a test"); base 341 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc const base::string16 kContents = base::ASCIIToUTF16("This is a test"); base 385 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc const base::string16 kContents = base::ASCIIToUTF16("http://hello.world/"); base 419 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 437 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 464 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 68 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc size_t GetUTF8Offset(const base::string16& text, size_t text_offset) { base 69 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc return base::UTF16ToUTF8(text.substr(0, text_offset)).size(); base 84 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc struct AutocompleteEditState : public base::SupportsUserData::Data { base 469 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 OmniboxViewGtk::GetText() const { base 473 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 out(base::UTF8ToUTF16(utf8)); base 489 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::SetWindowTextAndCaretPos(const base::string16& text, base 504 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const base::string16 current_text(GetText()); base 505 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const size_t start = current_text.find_first_not_of(base::kWhitespaceUTF16); base 506 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (start == base::string16::npos || (current_text[start] != '?')) { base 507 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc SetUserText(base::ASCIIToUTF16("?")); base 531 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::GetSelectionBounds(base::string16::size_type* start, base 532 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16::size_type* end) const { base 560 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const base::string16& display_text, base 574 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const base::string16& display_text, base 652 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const base::string16 new_text(GetText()); base 704 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const base::string16& suggestion) { base 705 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc std::string suggestion_utf8 = base::UTF16ToUTF8(suggestion); base 719 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 OmniboxViewGtk::GetGrayTextAutocompletion() const { base 721 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc return suggestion ? base::UTF8ToUTF16(suggestion) : base::string16(); base 792 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc style->text[GTK_STATE_NORMAL], style->base[GTK_STATE_NORMAL]); base 1163 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::CollapseWhitespace(base::UTF8ToUTF16(text), true)) : base 1164 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16(); base 1302 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 possible_url = base 1303 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::UTF8ToUTF16(reinterpret_cast<char*>(text)); base 1328 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 tab_title = current_tab->GetTitle(); base 1331 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc tab_title = base::string16(); base 1341 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 text = base::UTF8ToUTF16(GetSelectedText()); base 1353 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc selected_text_ = base::UTF16ToUTF8(text); base 1376 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 filtered_text; base 1399 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::WriteUnicodeCharacter(c, &filtered_text); base 1405 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc filtered_text = base::CollapseWhitespace(filtered_text, true); base 1406 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc filtered_text = filtered_text.empty() ? base::ASCIIToUTF16(" ") : base 1416 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc std::string utf8_text = base::UTF16ToUTF8(filtered_text); base 1512 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 text(base::UTF8ToUTF16(GetSelectedText())); base 1542 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc OwnPrimarySelection(base::UTF16ToUTF8(text)); base 1575 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 text(GetText()); base 1583 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::UTF8ToUTF16(extensions::kExtensionScheme); base 1623 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc bool OmniboxViewGtk::OnPerformDropImpl(const base::string16& text) { base 1624 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 sanitized_string(StripJavascriptSchemas( base 1625 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::CollapseWhitespace(text, true))); base 1655 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc style->text[GTK_STATE_NORMAL], style->base[GTK_STATE_NORMAL]); base 1945 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::SetTextAndSelectedRange(const base::string16& text, base 1948 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc std::string utf8 = base::UTF16ToUTF8(text); base 2117 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 text = base::UTF8ToUTF16(GetSelectedText()); base 2129 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc selected_text_ = base::UTF16ToUTF8(text); base 2146 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc pre_edit_ = base::UTF8ToUTF16(pre_edit); base 74 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h virtual base::string16 GetText() const OVERRIDE; base 75 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h virtual void SetWindowTextAndCaretPos(const base::string16& text, base 83 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h base::string16::size_type* start, base 84 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h base::string16::size_type* end) const OVERRIDE; base 90 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h const base::string16& display_text, base 94 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h const base::string16& display_text, size_t user_text_length) OVERRIDE; base 102 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h const base::string16& suggestion) OVERRIDE; base 103 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h virtual base::string16 GetGrayTextAutocompletion() const OVERRIDE; base 221 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h bool OnPerformDropImpl(const base::string16& text); base 270 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h void SetTextAndSelectedRange(const base::string16& text, base 348 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h base::string16 text_before_change_; base 403 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h base::string16 sanitized_text_for_paste_and_go_; base 450 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h base::string16 pre_edit_; base 79 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk_unittest.cc ASSERT_EQ(expected, base::UTF16ToUTF8(view_->GetText())); base 91 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk_unittest.cc ASSERT_EQ(expected, base::UTF16ToUTF8(view_->GetText())); base 34 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc const base::string16& email, base 35 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc const base::string16& error_message, base 58 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc base::ResetAndReturn(&start_sync_callback_).Run( base 66 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc base::MessageLoopForUI::current()->DeleteSoon(FROM_HERE, base 79 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc base::ResetAndReturn(&start_sync_callback_).Run( base 100 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc base::ResetAndReturn(&start_sync_callback_).Run( base 113 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc base::ResetAndReturn(&start_sync_callback_).Run( base 145 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc base::ResetAndReturn(&start_sync_callback_).Run( base 162 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc label_text = !error_message_.empty() ? base::UTF16ToUTF8(error_message_): base 30 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.h const base::string16& email, base 31 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.h const base::string16& error_message, base 65 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.h const base::string16 email_; base 68 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.h const base::string16 error_message_; base 23 chrome/browser/ui/gtk/one_click_signin_bubble_gtk_browsertest.cc start_sync_callback_ = base::Bind(&OneClickSigninBubbleGtkTest::OnStartSync, base 33 chrome/browser/ui/gtk/one_click_signin_bubble_gtk_browsertest.cc base::string16(), base 34 chrome/browser/ui/gtk/one_click_signin_bubble_gtk_browsertest.cc base::string16(), base 46 chrome/browser/ui/gtk/one_click_signin_bubble_gtk_browsertest.cc base::WeakPtrFactory<OneClickSigninBubbleGtkTest> weak_ptr_factory_; base 777 chrome/browser/ui/gtk/panels/panel_gtk.cc base::MessageLoop::current()->PostTask( base 778 chrome/browser/ui/gtk/panels/panel_gtk.cc FROM_HERE, base::Bind(&base::DeletePointer<PanelGtk>, this)); base 921 chrome/browser/ui/gtk/panels/panel_gtk.cc base::string16 title = panel_->GetWindowTitle(); base 922 chrome/browser/ui/gtk/panels/panel_gtk.cc gtk_window_set_title(window_, base::UTF16ToUTF8(title).c_str()); base 935 chrome/browser/ui/gtk/panels/panel_gtk.cc base::TimeDelta::FromMilliseconds(kLoadingAnimationFrameTimeMs), base 1148 chrome/browser/ui/gtk/panels/panel_gtk.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 1165 chrome/browser/ui/gtk/panels/panel_gtk.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 1177 chrome/browser/ui/gtk/panels/panel_gtk.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 1184 chrome/browser/ui/gtk/panels/panel_gtk.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 182 chrome/browser/ui/gtk/panels/panel_gtk.h base::RepeatingTimer<PanelGtk> loading_animation_timer_; base 239 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc base::string16 title = delegate_->GetTitle(); base 240 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc gtk_window_set_title(window_, base::UTF16ToUTF8(title).c_str()); base 210 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc base::UTF16ToUTF8(panel_gtk_->panel()->GetWindowTitle()); base 133 chrome/browser/ui/gtk/password_generation_bubble_gtk.cc base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(text_field_))))); base 59 chrome/browser/ui/gtk/process_singleton_dialog.cc base::MessageLoop::current()->Run(); base 65 chrome/browser/ui/gtk/process_singleton_dialog.cc base::MessageLoop::current()->Quit(); base 70 chrome/browser/ui/gtk/process_singleton_dialog.cc bool ShowProcessSingletonDialog(const base::string16& message, base 71 chrome/browser/ui/gtk/process_singleton_dialog.cc const base::string16& relaunch_text) { base 72 chrome/browser/ui/gtk/process_singleton_dialog.cc ProcessSingletonDialog dialog(base::UTF16ToUTF8(message), base 73 chrome/browser/ui/gtk/process_singleton_dialog.cc base::UTF16ToUTF8(relaunch_text)); base 46 chrome/browser/ui/gtk/protocol_dialog_gtk.cc creation_time_(base::TimeTicks::Now()) { base 47 chrome/browser/ui/gtk/protocol_dialog_gtk.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 50 chrome/browser/ui/gtk/protocol_dialog_gtk.cc base::UTF16ToUTF8(delegate_->GetTitleText()).c_str(), base 71 chrome/browser/ui/gtk/protocol_dialog_gtk.cc base::UTF16ToUTF8(delegate_->GetMessageText()).c_str()); base 77 chrome/browser/ui/gtk/protocol_dialog_gtk.cc base::UTF16ToUTF8(delegate_->GetCheckboxText()).c_str()); base 99 chrome/browser/ui/gtk/protocol_dialog_gtk.cc base::TimeTicks::Now() - creation_time_); base 27 chrome/browser/ui/gtk/protocol_dialog_gtk.h base::TimeTicks creation_time_; base 56 chrome/browser/ui/gtk/reload_button_gtk.cc stop_to_reload_timer_delay_(base::TimeDelta::FromMilliseconds(1350)), base 106 chrome/browser/ui/gtk/reload_button_gtk.cc double_click_timer_delay_ = base::TimeDelta::FromMilliseconds(timer_delay_ms); base 314 chrome/browser/ui/gtk/reload_button_gtk.cc base::MessageLoop::current()->PostDelayedTask( base 316 chrome/browser/ui/gtk/reload_button_gtk.cc base::Bind(&ReloadButtonGtk::ShowReloadMenu, base 320 chrome/browser/ui/gtk/reload_button_gtk.cc base::TimeDelta::FromMilliseconds(kReloadMenuTimerDelay)); base 103 chrome/browser/ui/gtk/reload_button_gtk.h base::OneShotTimer<ReloadButtonGtk> double_click_timer_; base 104 chrome/browser/ui/gtk/reload_button_gtk.h base::OneShotTimer<ReloadButtonGtk> stop_to_reload_timer_; base 129 chrome/browser/ui/gtk/reload_button_gtk.h base::TimeDelta double_click_timer_delay_; base 130 chrome/browser/ui/gtk/reload_button_gtk.h base::TimeDelta stop_to_reload_timer_delay_; base 148 chrome/browser/ui/gtk/reload_button_gtk.h base::WeakPtrFactory<ReloadButtonGtk> weak_factory_; base 28 chrome/browser/ui/gtk/reload_button_gtk_unittest.cc base::MessageLoop loop_; base 36 chrome/browser/ui/gtk/reload_button_gtk_unittest.cc reload_.double_click_timer_delay_ = base::TimeDelta(); base 37 chrome/browser/ui/gtk/reload_button_gtk_unittest.cc reload_.stop_to_reload_timer_delay_ = base::TimeDelta(); base 228 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc const base::string16& title) { base 241 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc base::UTF16ToUTF8(title).c_str()); base 43 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.h const base::string16& title) OVERRIDE; base 69 chrome/browser/ui/gtk/rounded_window.cc bool ltr = !base::i18n::IsRTL(); base 146 chrome/browser/ui/gtk/sad_tab_gtk.cc base::string16 help_text( base 148 chrome/browser/ui/gtk/sad_tab_gtk.cc base::string16(), &offset)); base 150 chrome/browser/ui/gtk/sad_tab_gtk.cc base::UTF16ToUTF8(help_text.substr(0, offset))); base 152 chrome/browser/ui/gtk/sad_tab_gtk.cc base::UTF16ToUTF8(help_text.substr(offset))); base 20 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc explicit ScreenCaptureNotificationUIGtk(const base::string16& text); base 24 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) base 41 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc base::Closure stop_callback_; base 53 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc const base::string16& text) base 54 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc : text_(base::UTF16ToUTF8(text)), base 140 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc const base::Closure& stop_callback) { base 286 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc const base::string16& text) { base 13 chrome/browser/ui/gtk/simple_message_box_gtk.cc void SetDialogTitle(GtkWidget* dialog, const base::string16& title) { base 14 chrome/browser/ui/gtk/simple_message_box_gtk.cc gtk_window_set_title(GTK_WINDOW(dialog), base::UTF16ToUTF8(title).c_str()); base 39 chrome/browser/ui/gtk/simple_message_box_gtk.cc base::MessageLoop::current()->QuitNow(); base 47 chrome/browser/ui/gtk/simple_message_box_gtk.cc const base::string16& title, base 48 chrome/browser/ui/gtk/simple_message_box_gtk.cc const base::string16& message, base 69 chrome/browser/ui/gtk/simple_message_box_gtk.cc base::UTF16ToUTF8(message).c_str()); base 78 chrome/browser/ui/gtk/simple_message_box_gtk.cc base::MessageLoop::current()->Run(); base 222 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc base::UTF16ToUTF8(message_text()).c_str()); base 53 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc const base::Callback<void(net::X509Certificate*)>& callback); base 102 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc const base::Callback<void(net::X509Certificate*)>& callback) base 265 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(x509_certificate_model::GetSubjectName(cert))); base 270 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(x509_certificate_model::GetSerialNumberHexified( base 273 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::Time issued, expires; base 275 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::string16 issued_str = base::TimeFormatShortDateAndTime(issued); base 276 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::string16 expires_str = base::TimeFormatShortDateAndTime(expires); base 287 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(JoinString(usages, ','))); base 294 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(key_usage_str)); base 303 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(JoinString(email_addresses, ','))); base 309 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(x509_certificate_model::GetIssuerName(cert))); base 311 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::string16 token( base 312 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(x509_certificate_model::GetTokenName(cert))); base 368 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::Bind(&SSLClientCertificateSelector::Unlocked, base 369 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::Unretained(this))); base 399 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc const base::Callback<void(net::X509Certificate*)>& callback) { base 67 chrome/browser/ui/gtk/status_bubble_gtk.cc void StatusBubbleGtk::SetStatus(const base::string16& status_text_wide) { base 68 chrome/browser/ui/gtk/status_bubble_gtk.cc std::string status_text = base::UTF16ToUTF8(status_text_wide); base 110 chrome/browser/ui/gtk/status_bubble_gtk.cc base::TimeDelta::FromMilliseconds(kExpandHoverDelayMS), base 119 chrome/browser/ui/gtk/status_bubble_gtk.cc url_text_ = base::UTF16ToUTF8( base 146 chrome/browser/ui/gtk/status_bubble_gtk.cc base::TimeDelta::FromMilliseconds(kHideDelayMS), base 196 chrome/browser/ui/gtk/status_bubble_gtk.cc bool ltr = !base::i18n::IsRTL(); base 262 chrome/browser/ui/gtk/status_bubble_gtk.cc bool ltr = !base::i18n::IsRTL(); base 323 chrome/browser/ui/gtk/status_bubble_gtk.cc bool ltr = !base::i18n::IsRTL(); base 46 chrome/browser/ui/gtk/status_bubble_gtk.h virtual void SetStatus(const base::string16& status) OVERRIDE; base 143 chrome/browser/ui/gtk/status_bubble_gtk.h base::OneShotTimer<StatusBubbleGtk> hide_timer_; base 146 chrome/browser/ui/gtk/status_bubble_gtk.h base::OneShotTimer<StatusBubbleGtk> expand_timer_; base 43 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc void StatusIconGtk::SetToolTip(const base::string16& tool_tip) { base 44 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc gtk_status_icon_set_tooltip_text(icon_, base::UTF16ToUTF8(tool_tip).c_str()); base 48 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc const base::string16& title, base 49 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc const base::string16& contents) { base 25 chrome/browser/ui/gtk/status_icons/status_icon_gtk.h virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE; base 27 chrome/browser/ui/gtk/status_icons/status_icon_gtk.h const base::string16& title, base 28 chrome/browser/ui/gtk/status_icons/status_icon_gtk.h const base::string16& contents) OVERRIDE; base 18 chrome/browser/ui/gtk/status_icons/status_tray_gtk.cc const base::string16& tool_tip) { base 21 chrome/browser/ui/gtk/status_icons/status_tray_gtk.h const base::string16& tool_tip) OVERRIDE; base 36 chrome/browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc StatusTray::OTHER_ICON, *image, base::ASCIIToUTF16("tool tip")); base 39 chrome/browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc menu->AddItem(0, base::ASCIIToUTF16("foo")); base 49 chrome/browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc StatusTray::OTHER_ICON, *image, base::ASCIIToUTF16("tool tip"))); base 27 chrome/browser/ui/gtk/tab_contents/chrome_web_contents_view_delegate_gtk.cc class ViewDelegateUserData : public base::SupportsUserData::Data { base 53 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.cc const base::string16& title) { base 30 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.h const base::string16& title) OVERRIDE; base 196 chrome/browser/ui/gtk/tab_contents_container_gtk.cc bool ltr = !base::i18n::IsRTL(); base 39 chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc base::UTF16ToUTF8(delegate->GetDialogMessage()).c_str()); base 58 chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc base::string16 link_text = delegate->GetLinkText(); base 64 chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc GtkWidget* link = theme_service->BuildChromeLinkButton(base::UTF16ToUTF8( base 82 chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc base::UTF16ToUTF8(delegate->GetCancelButtonTitle()).c_str()); base 92 chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc base::UTF16ToUTF8(delegate->GetAcceptButtonTitle()).c_str()); base 294 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc base::TimeDelta::FromMilliseconds(kBringToFrontDelay), this, base 757 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc base::Bind(&DraggedTabControllerGtk::OnAnimateToBoundsComplete, base 758 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc base::Unretained(this))); base 814 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc TabGtk* tab = !base::i18n::IsRTL() ? tabs.front() : tabs.back(); base 263 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_; base 125 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc if (base::i18n::IsRTL()) base 185 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc if (!base::i18n::IsRTL()) { base 195 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc if (!base::i18n::IsRTL() && drag_data_->source_tab_index() > 0) { base 197 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc } else if (base::i18n::IsRTL() && base 206 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc const base::Closure& callback) { base 258 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc if (base::i18n::IsRTL()) base 459 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc if (!base::i18n::IsRTL()) { base 63 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h void AnimateToBounds(const gfx::Rect& bounds, const base::Closure& callback); base 181 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h base::Closure animation_callback_; base 33 chrome/browser/ui/gtk/tabs/tab_gtk.cc int GetTitleWidth(gfx::Font* font, base::string16 title) { base 47 chrome/browser/ui/gtk/tabs/tab_gtk.cc base::MessageLoopForUI::current()->AddObserver(tab_); base 51 chrome/browser/ui/gtk/tabs/tab_gtk.cc base::MessageLoopForUI::current()->RemoveObserver(tab_); base 202 chrome/browser/ui/gtk/tabs/tab_gtk.cc base::MessageLoop::current()->PostTask( base 204 chrome/browser/ui/gtk/tabs/tab_gtk.cc base::Bind(&TabGtk::EndDrag, drag_end_factory_.GetWeakPtr(), false)); base 312 chrome/browser/ui/gtk/tabs/tab_gtk.cc const std::string utf8_title = base::UTF16ToUTF8(GetTitle()); base 372 chrome/browser/ui/gtk/tabs/tab_gtk.cc base::MessageLoop::current()->PostTask( base 374 chrome/browser/ui/gtk/tabs/tab_gtk.cc base::Bind(&TabGtk::DestroyDragWidget, destroy_factory_.GetWeakPtr())); base 19 chrome/browser/ui/gtk/tabs/tab_gtk.h class TabGtk : public TabRendererGtk, public base::MessageLoopForUI::Observer { base 213 chrome/browser/ui/gtk/tabs/tab_gtk.h base::WeakPtrFactory<TabGtk> destroy_factory_; base 220 chrome/browser/ui/gtk/tabs/tab_gtk.h base::WeakPtrFactory<TabGtk> drag_end_factory_; base 625 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc base::string16 TabRendererGtk::GetTitle() const { base 876 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc base::string16 title = data_.title; base 231 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h base::string16 GetTitle() const; base 254 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h base::string16 title; base 54 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc using base::UserMetricsAction; base 916 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, tab); base 1094 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::STLSetDifference<ui::ListSelectionModel::SelectedIndices>( base 1363 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (!base::i18n::IsRTL()) base 1414 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::MessageLoop::current()->PostDelayedTask( base 1416 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::Bind(&TabStripGtk::ResizeLayoutTabs, base 1418 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::TimeDelta::FromMilliseconds(kResizeTabsTimeMs)); base 1652 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::MessageLoopForUI::current()->AddObserver(this); base 1659 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 1779 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::UTF8ToUTF16(reinterpret_cast<const char*>(data)), base 2122 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::MessageLoop::current()->PostDelayedTask( base 2124 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::Bind(&TabStripGtk::Layout, layout_factory_.GetWeakPtr()), base 2125 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc base::TimeDelta::FromMilliseconds(kLayoutAfterSizeAllocateMs)); base 37 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h public base::MessageLoopForUI::Observer, base 495 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h base::WeakPtrFactory<TabStripGtk> weak_factory_; base 498 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h base::WeakPtrFactory<TabStripGtk> layout_factory_; base 361 chrome/browser/ui/gtk/task_manager_gtk.cc base::AutoReset<bool> autoreset(&ignore_selection_changed_, true); base 387 chrome/browser/ui/gtk/task_manager_gtk.cc base::AutoReset<bool> autoreset(&ignore_selection_changed_, true); base 523 chrome/browser/ui/gtk/task_manager_gtk.cc const base::DictionaryValue* placement_pref = base 652 chrome/browser/ui/gtk/task_manager_gtk.cc return base::UTF16ToUTF8(model_->GetResourceById(row, col_id)); base 820 chrome/browser/ui/gtk/task_manager_gtk.cc base::DictionaryValue* placement_pref = update.Get(); base 873 chrome/browser/ui/gtk/task_manager_gtk.cc base::AutoReset<bool> autoreset(&ignore_selection_changed_, true); base 53 chrome/browser/ui/gtk/unity_service.cc using base::nix::GetDesktopEnvironment; base 59 chrome/browser/ui/gtk/unity_service.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 60 chrome/browser/ui/gtk/unity_service.cc base::nix::DesktopEnvironment desktop_env = base 64 chrome/browser/ui/gtk/unity_service.cc if (desktop_env != base::nix::DESKTOP_ENVIRONMENT_UNITY && base 65 chrome/browser/ui/gtk/unity_service.cc desktop_env != base::nix::DESKTOP_ENVIRONMENT_KDE4) base 13 chrome/browser/ui/gtk/user_manager_gtk.cc void ShowUserManager(const base::FilePath& profile_path_to_focus) { base 34 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const base::string16& main_text, base 35 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const base::string16& sub_text); base 45 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc static GtkWidget* ConstructContent(const base::string16& main_text, base 46 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const base::string16& sub_text); base 54 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const base::string16& main_text, base 55 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const base::string16& sub_text) base 89 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const base::string16& main_text, const base::string16& sub_text) { base 102 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc GtkWidget* label = gtk_label_new(base::UTF16ToUTF8(main_text).c_str()); base 109 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc GtkWidget* sub_label = gtk_label_new(base::UTF16ToUTF8(sub_text).c_str()); base 134 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const base::string16& main_text, base 135 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const base::string16& sub_text) { base 78 chrome/browser/ui/gtk/web_dialog_gtk.cc base::string16 WebDialogGtk::GetDialogTitle() const { base 79 chrome/browser/ui/gtk/web_dialog_gtk.cc return delegate_ ? delegate_->GetDialogTitle() : base::string16(); base 226 chrome/browser/ui/gtk/web_dialog_gtk.cc base::UTF16ToUTF8(delegate_->GetDialogTitle()).c_str(), base 39 chrome/browser/ui/gtk/web_dialog_gtk.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 82 chrome/browser/ui/gtk/website_settings/permission_selector.cc base::UTF16ToUTF8(WebsiteSettingsUI::PermissionActionToUIString( base 149 chrome/browser/ui/gtk/website_settings/permission_selector.cc gtk_button_set_label(GTK_BUTTON(menu_button_), base::UTF16ToUTF8( base 267 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 437 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc base::UTF8ToUTF16(it->cookie_source), base 438 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc base::IntToString16(it->allowed), base 439 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc base::IntToString16(it->blocked)); base 552 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc void WebsiteSettingsPopupGtk::SetFirstVisit(const base::string16& first_visit) { base 563 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc GtkWidget* first_visit_label = CreateTextLabel(base::UTF16ToUTF8(first_visit), base 714 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc base::UserMetricsAction("WebsiteSettings_CookiesDialogOpened")); base 65 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h virtual void SetFirstVisit(const base::string16& first_visit) OVERRIDE; base 105 chrome/browser/ui/gtk/zoom_bubble_gtk.cc std::string percentage_text = base::UTF16ToUTF8(l10n_util::GetStringFUTF16Int( base 181 chrome/browser/ui/gtk/zoom_bubble_gtk.cc base::string16 text = base 184 chrome/browser/ui/gtk/zoom_bubble_gtk.cc base::UTF16ToUTF8(text).c_str()); base 197 chrome/browser/ui/gtk/zoom_bubble_gtk.cc base::TimeDelta::FromMilliseconds(kBubbleCloseDelay), base 86 chrome/browser/ui/gtk/zoom_bubble_gtk.h base::OneShotTimer<ZoomBubbleGtk> timer_; base 86 chrome/browser/ui/hung_plugin_tab_helper.cc base::win::ScopedHandle* plugin_handle) { base 114 chrome/browser/ui/hung_plugin_tab_helper.cc base::Bind(&DumpAndTerminatePluginInBlockingPool, base 115 chrome/browser/ui/hung_plugin_tab_helper.cc base::Owned(new base::win::ScopedHandle(handle)))); base 117 chrome/browser/ui/hung_plugin_tab_helper.cc base::KillProcess(data.handle, content::RESULT_CODE_HUNG, false); base 139 chrome/browser/ui/hung_plugin_tab_helper.cc const base::string16& plugin_name); base 144 chrome/browser/ui/hung_plugin_tab_helper.cc const base::string16& plugin_name); base 149 chrome/browser/ui/hung_plugin_tab_helper.cc virtual base::string16 GetMessageText() const OVERRIDE; base 151 chrome/browser/ui/hung_plugin_tab_helper.cc virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 157 chrome/browser/ui/hung_plugin_tab_helper.cc base::string16 message_; base 158 chrome/browser/ui/hung_plugin_tab_helper.cc base::string16 button_text_; base 165 chrome/browser/ui/hung_plugin_tab_helper.cc const base::string16& plugin_name) { base 174 chrome/browser/ui/hung_plugin_tab_helper.cc const base::string16& plugin_name) base 191 chrome/browser/ui/hung_plugin_tab_helper.cc base::string16 HungPluginInfoBarDelegate::GetMessageText() const { base 199 chrome/browser/ui/hung_plugin_tab_helper.cc base::string16 HungPluginInfoBarDelegate::GetButtonLabel( base 218 chrome/browser/ui/hung_plugin_tab_helper.cc PluginState(const base::FilePath& p, const base::string16& n); base 221 chrome/browser/ui/hung_plugin_tab_helper.cc base::FilePath path; base 222 chrome/browser/ui/hung_plugin_tab_helper.cc base::string16 name; base 229 chrome/browser/ui/hung_plugin_tab_helper.cc base::TimeDelta next_reshow_delay; base 232 chrome/browser/ui/hung_plugin_tab_helper.cc base::Timer timer; base 246 chrome/browser/ui/hung_plugin_tab_helper.cc HungPluginTabHelper::PluginState::PluginState(const base::FilePath& p, base 247 chrome/browser/ui/hung_plugin_tab_helper.cc const base::string16& n) base 251 chrome/browser/ui/hung_plugin_tab_helper.cc next_reshow_delay(base::TimeDelta::FromSeconds(kInitialReshowDelaySec)), base 272 chrome/browser/ui/hung_plugin_tab_helper.cc void HungPluginTabHelper::PluginCrashed(const base::FilePath& plugin_path, base 273 chrome/browser/ui/hung_plugin_tab_helper.cc base::ProcessId plugin_pid) { base 298 chrome/browser/ui/hung_plugin_tab_helper.cc const base::FilePath& plugin_path, base 317 chrome/browser/ui/hung_plugin_tab_helper.cc base::string16 plugin_name = base 341 chrome/browser/ui/hung_plugin_tab_helper.cc base::Bind(&HungPluginTabHelper::OnReshowTimer, base 342 chrome/browser/ui/hung_plugin_tab_helper.cc base::Unretained(this), base 357 chrome/browser/ui/hung_plugin_tab_helper.cc if (base::RandInt(0, 100) < 20) { base 379 chrome/browser/ui/hung_plugin_tab_helper.cc base::Bind(&DumpBrowserInBlockingPool)); base 382 chrome/browser/ui/hung_plugin_tab_helper.cc base::Bind(&DumpRenderersInBlockingPool, base 383 chrome/browser/ui/hung_plugin_tab_helper.cc base::Owned(renderer_handles.release()))); base 394 chrome/browser/ui/hung_plugin_tab_helper.cc base::Bind(&KillPluginOnIOThread, child_id)); base 21 chrome/browser/ui/hung_plugin_tab_helper.h namespace base { base 45 chrome/browser/ui/hung_plugin_tab_helper.h virtual void PluginCrashed(const base::FilePath& plugin_path, base 46 chrome/browser/ui/hung_plugin_tab_helper.h base::ProcessId plugin_pid) OVERRIDE; base 48 chrome/browser/ui/hung_plugin_tab_helper.h const base::FilePath& plugin_path, base 123 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::FilePath CreateTempImageFile(gfx::ImageSkia* image_ptr, base 128 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc scoped_refptr<base::RefCountedMemory> png_data = base 133 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc return base::FilePath(); base 136 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::FilePath temp_dir; base 137 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::FilePath new_file_path; base 142 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (!base::CreateNewTempDirectory(base::FilePath::StringType(), &temp_dir)) base 143 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc return base::FilePath(); base 145 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc temp_dir.Append(id + base::StringPrintf("_%d.png", icon_change_count)); base 147 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::WriteFile(new_file_path, base 151 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc return base::FilePath(); base 155 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc void DeleteTempImagePath(const base::FilePath& icon_file_path) { base 158 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::DeleteFile(icon_file_path, true); base 167 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc const base::string16& tool_tip) base 176 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc tool_tip_ = base::UTF16ToUTF8(tool_tip); base 187 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::Bind(&DeleteTempImagePath, icon_file_path_.DirName())); base 206 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::PostTaskAndReplyWithResult( base 209 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN).get(), base 211 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::Bind(&CreateTempImageFile, base 215 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::Bind(&AppIndicatorIcon::SetImageFromFile, base 224 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc void AppIndicatorIcon::SetToolTip(const base::string16& tool_tip) { base 226 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc tool_tip_ = base::UTF16ToUTF8(tool_tip); base 264 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc void AppIndicatorIcon::SetImageFromFile(const base::FilePath& icon_file_path) { base 269 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::FilePath old_path = icon_file_path_; base 292 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::Bind(&DeleteTempImagePath, old_path.DirName())); base 32 chrome/browser/ui/libgtk2ui/app_indicator_icon.h const base::string16& tool_tip); base 41 chrome/browser/ui/libgtk2ui/app_indicator_icon.h virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE; base 46 chrome/browser/ui/libgtk2ui/app_indicator_icon.h void SetImageFromFile(const base::FilePath& icon_file_path); base 71 chrome/browser/ui/libgtk2ui/app_indicator_icon.h base::FilePath icon_file_path_; base 75 chrome/browser/ui/libgtk2ui/app_indicator_icon.h base::WeakPtrFactory<AppIndicatorIcon> weak_factory_; base 39 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 40 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc base::nix::DesktopEnvironment de = base 41 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc base::nix::GetDesktopEnvironment(env.get()); base 42 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc if (de == base::nix::DESKTOP_ENVIRONMENT_GNOME || base 43 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc de == base::nix::DESKTOP_ENVIRONMENT_UNITY || base 115 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc base::StringTokenizer tokenizer(button_string, ":,"); base 116 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc tokenizer.set_options(base::StringTokenizer::RETURN_DELIMS); base 122 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc base::StringPiece token = tokenizer.token_piece(); base 98 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc const base::NativeEvent& xevent, base 79 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h void BuildGdkEventKeyFromXEvent(const base::NativeEvent& xevent, base 454 chrome/browser/ui/libgtk2ui/gtk2_ui.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 456 chrome/browser/ui/libgtk2ui/gtk2_ui.cc switch (base::nix::GetDesktopEnvironment(env.get())) { base 457 chrome/browser/ui/libgtk2ui/gtk2_ui.cc case base::nix::DESKTOP_ENVIRONMENT_GNOME: base 458 chrome/browser/ui/libgtk2ui/gtk2_ui.cc case base::nix::DESKTOP_ENVIRONMENT_UNITY: base 459 chrome/browser/ui/libgtk2ui/gtk2_ui.cc case base::nix::DESKTOP_ENVIRONMENT_XFCE: base 461 chrome/browser/ui/libgtk2ui/gtk2_ui.cc case base::nix::DESKTOP_ENVIRONMENT_KDE3: base 462 chrome/browser/ui/libgtk2ui/gtk2_ui.cc case base::nix::DESKTOP_ENVIRONMENT_KDE4: base 463 chrome/browser/ui/libgtk2ui/gtk2_ui.cc case base::nix::DESKTOP_ENVIRONMENT_OTHER: base 487 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const base::string16& tool_tip) const { base 491 chrome/browser/ui/libgtk2ui/gtk2_ui.cc base::StringPrintf("%s%d", kAppIndicatorIdPrefix, indicators_count), base 803 chrome/browser/ui/libgtk2ui/gtk2_ui.cc base::nix::SetIconThemeName(gtk_theme_name); base 863 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColor ntp_background = entry_style->base[GTK_STATE_NORMAL]; base 919 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColorToSkColor(entry_style->base[GTK_STATE_SELECTED]); base 923 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColorToSkColor(entry_style->base[GTK_STATE_ACTIVE]); base 1002 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColor Gtk2UI::BuildAndSetFrameColor(const GdkColor* base, base 1007 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColor out_color = *base; base 1124 chrome/browser/ui/libgtk2ui/gtk2_ui.cc SkColor base = it->second; base 1138 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSLShift(base, kGtkFrameShift); base 1142 chrome/browser/ui/libgtk2ui/gtk2_ui.cc 0, gradient_size, lighter, base); base 1152 chrome/browser/ui/libgtk2ui/gtk2_ui.cc kToolbarImageHeight - gradient_size), base); base 1197 chrome/browser/ui/libgtk2ui/gtk2_ui.cc base::i18n::IsRTL() ? GTK_TEXT_DIR_RTL : GTK_TEXT_DIR_LTR, base 1263 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const GdkColor base_color = window_style->base[GTK_STATE_NORMAL]; base 1277 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const GdkColor base_color = style->base[GTK_STATE_NORMAL]; base 98 chrome/browser/ui/libgtk2ui/gtk2_ui.h const base::string16& tool_tip) const OVERRIDE; base 151 chrome/browser/ui/libgtk2ui/gtk2_ui.h GdkColor BuildAndSetFrameColor(const GdkColor* base, base 55 chrome/browser/ui/libgtk2ui/gtk2_util.cc std::string GetDesktopName(base::Environment* env) { base 17 chrome/browser/ui/libgtk2ui/gtk2_util.h namespace base { base 28 chrome/browser/ui/libgtk2ui/gtk2_util.h void GtkInitFromCommandLine(const base::CommandLine& command_line); base 31 chrome/browser/ui/libgtk2ui/gtk2_util.h std::string GetDesktopName(base::Environment* env); base 104 chrome/browser/ui/libgtk2ui/menu_util.cc base::UTF16ToUTF8(model->GetLabelAt(i))); base 232 chrome/browser/ui/libgtk2ui/menu_util.cc base::UTF16ToUTF8(model->GetLabelAt(id))); base 230 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetButtonStyle()->base[GTK_STATE_SELECTED]; base 238 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->base[GTK_STATE_NORMAL]; base 242 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->base[GTK_STATE_INSENSITIVE]; base 246 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->base[GTK_STATE_SELECTED]; base 272 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->base[GTK_STATE_NORMAL]; base 276 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc entry_style->base[GTK_STATE_NORMAL], base 277 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc entry_style->base[GTK_STATE_SELECTED], 0x80); base 280 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->base[GTK_STATE_SELECTED]; base 291 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc entry_style->base[GTK_STATE_NORMAL], 0x80); base 297 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc entry_style->base[GTK_STATE_NORMAL], 0x80); base 306 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc entry_style->base[GTK_STATE_SELECTED]); base 63 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc base::LazyInstance<StickyPrintSettingGtk>::Leaky g_last_used_settings = base 184 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc base::UTF16ToUTF8(settings->device_name())); base 276 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc const base::string16& document_name) { base 285 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc if (!base::CreateTemporaryFile(&path_to_pdf_)) { base 292 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc base::DeleteFile(path_to_pdf_, false); base 303 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc base::Bind(&PrintDialogGtk2::SendDocumentToPrinter, this, base 396 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc const base::string16& document_name) { base 411 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc base::UTF16ToUTF8(document_name).c_str(), base 431 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc base::FileUtilProxy::DeleteFile( base 435 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc base::FileUtilProxy::StatusCallback()); base 31 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h public base::RefCountedThreadSafe< base 47 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h const base::string16& document_name) OVERRIDE; base 54 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h friend class base::DeleteHelper<PrintDialogGtk2>; base 63 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h void SendDocumentToPrinter(const base::string16& document_name); base 89 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h base::FilePath path_to_pdf_; base 49 chrome/browser/ui/libgtk2ui/printing_gtk2_util.cc base::string16 name(base::UTF8ToUTF16(static_cast<const char*>( base 31 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc base::FilePath* SelectFileDialogImpl::last_saved_path_ = NULL; base 32 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc base::FilePath* SelectFileDialogImpl::last_opened_path_ = NULL; base 44 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 45 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc base::nix::DesktopEnvironment desktop = base 46 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc base::nix::GetDesktopEnvironment(env.get()); base 47 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc if (desktop == base::nix::DESKTOP_ENVIRONMENT_KDE3 || base 48 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc desktop == base::nix::DESKTOP_ENVIRONMENT_KDE4) { base 62 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 63 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc base::nix::DesktopEnvironment desktop = base 64 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc base::nix::GetDesktopEnvironment(env.get()); base 75 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc last_saved_path_ = new base::FilePath(); base 76 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc last_opened_path_ = new base::FilePath(); base 91 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc const base::FilePath& path) { base 92 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 93 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc return base::DirectoryExists(path); base 35 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h base::nix::DesktopEnvironment desktop); base 54 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h const base::string16& title, base 55 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h const base::FilePath& default_path, base 58 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h const base::FilePath::StringType& default_extension, base 66 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h bool CallDirectoryExistsOnUIThread(const base::FilePath& path); base 83 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h static base::FilePath* last_saved_path_; base 84 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h static base::FilePath* last_opened_path_; base 61 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::string16& title, base 62 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, base 65 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath::StringType& default_extension, base 79 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc void FileSelected(GtkWidget* dialog, const base::FilePath& path); base 83 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const std::vector<base::FilePath>& files); base 93 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, base 97 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, gfx::NativeWindow parent); base 100 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, gfx::NativeWindow parent); base 103 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, gfx::NativeWindow parent); base 124 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, base 205 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::string16& title, base 206 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, base 209 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath::StringType& default_extension, base 221 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc std::string title_string = base::UTF16ToUTF8(title); base 296 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc gtk_file_filter_set_name(filter, base::UTF16ToUTF8( base 324 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& path) { base 346 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const std::vector<base::FilePath>& files) { base 363 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, base 394 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, base 430 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, base 444 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, base 457 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, gfx::NativeWindow parent) { base 542 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc base::FilePath path(filename); base 579 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc std::vector<base::FilePath> filenames_fp; base 581 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc base::FilePath path(static_cast<char*>(iter->data)); base 50 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::nix::DesktopEnvironment desktop); base 59 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::string16& title, base 60 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 63 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath::StringType& default_extension, base 72 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, gfx::NativeWindow parent, base 85 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::FilePath default_path; base 99 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, gfx::NativeWindow parent, base 106 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc void FileSelected(const base::FilePath& path, void* params); base 109 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc void MultiFilesSelected(const std::vector<base::FilePath>& files, base 119 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 123 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 127 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 131 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 147 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::nix::DesktopEnvironment desktop_; base 156 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 163 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc return base::GetAppOutput(command_line, &dummy); base 170 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::nix::DesktopEnvironment desktop) { base 177 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::nix::DesktopEnvironment desktop) base 180 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc DCHECK(desktop_ == base::nix::DESKTOP_ENVIRONMENT_KDE3 || base 181 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc desktop_ == base::nix::DESKTOP_ENVIRONMENT_KDE4); base 190 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::string16& title, base 191 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 194 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath::StringType& default_extension, base 204 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc std::string title_string = base::UTF16ToUTF8(title); base 248 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc std::string mime_type = base::nix::GetFileMimeType(base::FilePath( base 278 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::GetAppOutputWithExitCode(command_line, &output, &exit_code); base 291 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::Bind(params.callback, this, output, exit_code, base 296 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const std::string& title, const base::FilePath& path, base 304 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc desktop_ == base::nix::DESKTOP_ENVIRONMENT_KDE3 ? "--embed" : "--attach", base 305 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::IntToString(window_id)); base 317 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc command_line->AppendArgPath(base::FilePath(".")); base 327 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc void SelectFileDialogImplKDE::FileSelected(const base::FilePath& path, base 344 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const std::vector<base::FilePath>& files, void* params) { base 356 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc Type type, const std::string& title, const base::FilePath& default_path, base 363 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::Bind( base 375 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const std::string& title, const base::FilePath& default_path, base 379 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::Bind( base 391 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const std::string& title, const base::FilePath& default_path, base 395 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::Bind( base 407 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const std::string& title, const base::FilePath& default_path, base 411 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::Bind( base 430 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::FilePath path(output); base 466 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc std::vector<base::FilePath> filenames_fp; base 469 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc base::FilePath path(*iter); base 56 chrome/browser/ui/libgtk2ui/unity_service.cc using base::nix::GetDesktopEnvironment; base 62 chrome/browser/ui/libgtk2ui/unity_service.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 63 chrome/browser/ui/libgtk2ui/unity_service.cc base::nix::DesktopEnvironment desktop_env = base 67 chrome/browser/ui/libgtk2ui/unity_service.cc if (desktop_env != base::nix::DESKTOP_ENVIRONMENT_UNITY && base 68 chrome/browser/ui/libgtk2ui/unity_service.cc desktop_env != base::nix::DESKTOP_ENVIRONMENT_KDE4) base 107 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc base::MessagePumpForUI::GetDefaultXDisplay()); base 158 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc const base::NativeEvent& native_key_event = key_event.native_event(); base 237 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc const base::string16& text_in_utf16 = base::UTF8ToUTF16(text); base 299 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc const base::string16& text) { base 67 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h base::hash_set<unsigned int> modifier_keycodes_; base 91 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h bool Trap(const base::string16& text); base 20 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc EXPECT_FALSE(trap.Trap(base::string16())); base 25 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("T"))); base 27 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("true"))); base 32 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("t"))); base 38 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("t"))); base 42 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc EXPECT_TRUE(trap.Trap(base::UTF8ToUTF16("t"))); base 49 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("f"))); base 51 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc EXPECT_TRUE(trap.Trap(base::UTF8ToUTF16("t"))); base 98 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginHandler::AddObservers, this)); base 133 chrome/browser/ui/login/login_prompt.cc void LoginHandler::SetAuth(const base::string16& username, base 134 chrome/browser/ui/login/login_prompt.cc const base::string16& password) { base 157 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginHandler::CloseContentsDeferred, this)); base 160 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginHandler::SetAuthDeferred, this, username, password)); base 173 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginHandler::NotifyAuthCancelled, this)); base 178 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginHandler::CloseContentsDeferred, this)); base 181 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginHandler::CancelAuthDeferred, this)); base 229 chrome/browser/ui/login/login_prompt.cc base::AutoLock lock(handled_auth_lock_); base 270 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginHandler::CancelAuthDeferred, this)); base 273 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginHandler::NotifyAuthCancelled, this)); base 278 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginHandler::RemoveObservers, this)); base 302 chrome/browser/ui/login/login_prompt.cc void LoginHandler::NotifyAuthSupplied(const base::string16& username, base 303 chrome/browser/ui/login/login_prompt.cc const base::string16& password) { base 344 chrome/browser/ui/login/login_prompt.cc base::AutoLock lock(handled_auth_lock_); base 351 chrome/browser/ui/login/login_prompt.cc void LoginHandler::SetAuthDeferred(const base::string16& username, base 352 chrome/browser/ui/login/login_prompt.cc const base::string16& password) { base 453 chrome/browser/ui/login/login_prompt.cc base::string16 elided_realm; base 454 chrome/browser/ui/login/login_prompt.cc gfx::ElideString(base::UTF8ToUTF16(auth_info->realm), 120, &elided_realm); base 456 chrome/browser/ui/login/login_prompt.cc base::string16 host_and_port = base::ASCIIToUTF16( base 458 chrome/browser/ui/login/login_prompt.cc base::string16 explanation = elided_realm.empty() ? base 475 chrome/browser/ui/login/login_prompt.cc base::Bind(&LoginDialogCallback, request->url(), base 49 chrome/browser/ui/login/login_prompt.h const base::string16& explanation) = 0; base 61 chrome/browser/ui/login/login_prompt.h void SetAuth(const base::string16& username, const base::string16& password); base 103 chrome/browser/ui/login/login_prompt.h void NotifyAuthSupplied(const base::string16& username, base 104 chrome/browser/ui/login/login_prompt.h const base::string16& password); base 114 chrome/browser/ui/login/login_prompt.h void SetAuthDeferred(const base::string16& username, base 115 chrome/browser/ui/login/login_prompt.h const base::string16& password); base 125 chrome/browser/ui/login/login_prompt.h mutable base::Lock handled_auth_lock_; base 182 chrome/browser/ui/login/login_prompt.h const base::string16& username, base 183 chrome/browser/ui/login/login_prompt.h const base::string16& password) base 187 chrome/browser/ui/login/login_prompt.h const base::string16& username() const { return username_; } base 188 chrome/browser/ui/login/login_prompt.h const base::string16& password() const { return password_; } base 192 chrome/browser/ui/login/login_prompt.h const base::string16 username_; base 195 chrome/browser/ui/login/login_prompt.h const base::string16 password_; base 77 chrome/browser/ui/login/login_prompt_browsertest.cc handler->SetAuth(base::UTF8ToUTF16(info.username_), base 78 chrome/browser/ui/login/login_prompt_browsertest.cc base::UTF8ToUTF16(info.password_)); base 217 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 ExpectedTitleFromAuth(const base::string16& username, base 218 chrome/browser/ui/login/login_prompt_browsertest.cc const base::string16& password) { base 220 chrome/browser/ui/login/login_prompt_browsertest.cc return username + base::UTF8ToUTF16("/") + password; base 241 chrome/browser/ui/login/login_prompt_browsertest.cc base::FieldTrialList::CreateFieldTrial("Prefetch", exp_group); base 299 chrome/browser/ui/login/login_prompt_browsertest.cc handler->SetAuth(base::UTF8ToUTF16(bad_username_), base 300 chrome/browser/ui/login/login_prompt_browsertest.cc base::UTF8ToUTF16(bad_password_)); base 315 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 expected_title = base 316 chrome/browser/ui/login/login_prompt_browsertest.cc ExpectedTitleFromAuth(base::ASCIIToUTF16("basicuser"), base 317 chrome/browser/ui/login/login_prompt_browsertest.cc base::ASCIIToUTF16("secret")); base 349 chrome/browser/ui/login/login_prompt_browsertest.cc handler->SetAuth(base::UTF8ToUTF16(bad_username_), base 350 chrome/browser/ui/login/login_prompt_browsertest.cc base::UTF8ToUTF16(bad_password_)); base 363 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 username(base::UTF8ToUTF16(username_digest_)); base 364 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 password(base::UTF8ToUTF16(password_)); base 368 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 expected_title = ExpectedTitleFromAuth(username, password); base 417 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 expected_title1 = ExpectedTitleFromAuth( base 418 chrome/browser/ui/login/login_prompt_browsertest.cc base::UTF8ToUTF16(username_basic_), base::UTF8ToUTF16(password_)); base 419 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 expected_title2 = ExpectedTitleFromAuth( base 420 chrome/browser/ui/login/login_prompt_browsertest.cc base::UTF8ToUTF16(username_digest_), base::UTF8ToUTF16(password_)); base 424 chrome/browser/ui/login/login_prompt_browsertest.cc handler1->SetAuth(base::UTF8ToUTF16(username_basic_), base 425 chrome/browser/ui/login/login_prompt_browsertest.cc base::UTF8ToUTF16(password_)); base 426 chrome/browser/ui/login/login_prompt_browsertest.cc handler2->SetAuth(base::UTF8ToUTF16(username_digest_), base 427 chrome/browser/ui/login/login_prompt_browsertest.cc base::UTF8ToUTF16(password_)); base 664 chrome/browser/ui/login/login_prompt_browsertest.cc handler->SetAuth(base::UTF8ToUTF16(bad_username_), base 665 chrome/browser/ui/login/login_prompt_browsertest.cc base::UTF8ToUTF16(bad_password_)); base 1105 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 expected_title(base::UTF8ToUTF16("status=401")); base 1140 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 expected_title(base::UTF8ToUTF16("status=200")); base 1182 chrome/browser/ui/login/login_prompt_browsertest.cc handler->SetAuth(base::UTF8ToUTF16(bad_username_), base 1183 chrome/browser/ui/login/login_prompt_browsertest.cc base::UTF8ToUTF16(bad_password_)); base 1196 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 username(base::UTF8ToUTF16(username_digest_)); base 1197 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 password(base::UTF8ToUTF16(password_)); base 1204 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 expected_title(base::UTF8ToUTF16("status=200")); base 1249 chrome/browser/ui/login/login_prompt_browsertest.cc base::string16 expected_title(base::UTF8ToUTF16("status=401")); base 46 chrome/browser/ui/metro_pin_tab_helper_win.cc base::string16 GenerateTileId(const base::string16& url_str) { base 48 chrome/browser/ui/metro_pin_tab_helper_win.cc crypto::SHA256HashString(base::UTF16ToUTF8(url_str), hash, sizeof(hash)); base 49 chrome/browser/ui/metro_pin_tab_helper_win.cc std::string hash_str = base::HexEncode(hash, sizeof(hash)); base 50 chrome/browser/ui/metro_pin_tab_helper_win.cc return base::UTF8ToUTF16(hash_str); base 54 chrome/browser/ui/metro_pin_tab_helper_win.cc base::FilePath GetTileImagesDir() { base 55 chrome/browser/ui/metro_pin_tab_helper_win.cc base::FilePath tile_images_dir; base 57 chrome/browser/ui/metro_pin_tab_helper_win.cc return base::FilePath(); base 60 chrome/browser/ui/metro_pin_tab_helper_win.cc if (!base::DirectoryExists(tile_images_dir) && base 61 chrome/browser/ui/metro_pin_tab_helper_win.cc !base::CreateDirectory(tile_images_dir)) base 62 chrome/browser/ui/metro_pin_tab_helper_win.cc return base::FilePath(); base 71 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16& tile_id, base 72 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::FilePath& logo_dir, base 73 chrome/browser/ui/metro_pin_tab_helper_win.cc base::FilePath* logo_path) { base 111 chrome/browser/ui/metro_pin_tab_helper_win.cc return base::WriteFile(*logo_path, base 123 chrome/browser/ui/metro_pin_tab_helper_win.cc bool GetPathToBackupLogo(const base::FilePath& logo_dir, base 124 chrome/browser/ui/metro_pin_tab_helper_win.cc base::FilePath* logo_path) { base 127 chrome/browser/ui/metro_pin_tab_helper_win.cc if (base::PathExists(*logo_path)) base 130 chrome/browser/ui/metro_pin_tab_helper_win.cc base::FilePath default_logo_path; base 131 chrome/browser/ui/metro_pin_tab_helper_win.cc if (!PathService::Get(base::DIR_MODULE, &default_logo_path)) base 135 chrome/browser/ui/metro_pin_tab_helper_win.cc return base::CopyFile(default_logo_path, *logo_path); base 140 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::MetroSecondaryTilePinUmaResult result) { base 143 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::METRO_PIN_STATE_LIMIT); base 150 chrome/browser/ui/metro_pin_tab_helper_win.cc class PinPageTaskRunner : public base::RefCountedThreadSafe<PinPageTaskRunner> { base 155 chrome/browser/ui/metro_pin_tab_helper_win.cc PinPageTaskRunner(const base::string16& title, base 156 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16& url, base 166 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16 title_; base 167 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16 url_; base 174 chrome/browser/ui/metro_pin_tab_helper_win.cc PinPageTaskRunner::PinPageTaskRunner(const base::string16& title, base 175 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16& url, base 187 chrome/browser/ui/metro_pin_tab_helper_win.cc base::Bind(&PinPageTaskRunner::RunOnFileThread, this)); base 193 chrome/browser/ui/metro_pin_tab_helper_win.cc base::string16 tile_id = GenerateTileId(url_); base 194 chrome/browser/ui/metro_pin_tab_helper_win.cc base::FilePath logo_dir = GetTileImagesDir(); base 200 chrome/browser/ui/metro_pin_tab_helper_win.cc base::FilePath logo_path; base 208 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::METRO_PIN_LOGO_READY, base 209 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::METRO_PIN_STATE_LIMIT); base 211 chrome/browser/ui/metro_pin_tab_helper_win.cc HMODULE metro_module = base::win::GetMetroModule(); base 215 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::MetroPinToStartScreen metro_pin_to_start_screen = base 216 chrome/browser/ui/metro_pin_tab_helper_win.cc reinterpret_cast<base::win::MetroPinToStartScreen>( base 227 chrome/browser/ui/metro_pin_tab_helper_win.cc base::Bind(&PinPageReportUmaCallback)); base 235 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16& title, base 236 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16& url, base 257 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16 title_; base 258 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16 url_; base 271 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16& title, base 272 chrome/browser/ui/metro_pin_tab_helper_win.cc const base::string16& url, base 344 chrome/browser/ui/metro_pin_tab_helper_win.cc HMODULE metro_module = base::win::GetMetroModule(); base 348 chrome/browser/ui/metro_pin_tab_helper_win.cc typedef BOOL (*MetroIsPinnedToStartScreen)(const base::string16&); base 358 chrome/browser/ui/metro_pin_tab_helper_win.cc base::string16 tile_id = GenerateTileId(base::UTF8ToUTF16(url.spec())); base 365 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::METRO_UNPIN_INITIATED, base 366 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::METRO_PIN_STATE_LIMIT); base 372 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::METRO_PIN_INITIATED, base 373 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::METRO_PIN_STATE_LIMIT); base 375 chrome/browser/ui/metro_pin_tab_helper_win.cc base::string16 url_str = base::UTF8ToUTF16(url.spec()); base 376 chrome/browser/ui/metro_pin_tab_helper_win.cc base::string16 title = web_contents()->GetTitle(); base 404 chrome/browser/ui/metro_pin_tab_helper_win.cc base::Bind(&MetroPinTabHelper::DidDownloadFavicon, base 405 chrome/browser/ui/metro_pin_tab_helper_win.cc base::Unretained(this)))); base 439 chrome/browser/ui/metro_pin_tab_helper_win.cc HMODULE metro_module = base::win::GetMetroModule(); base 443 chrome/browser/ui/metro_pin_tab_helper_win.cc base::win::MetroUnPinFromStartScreen metro_un_pin_from_start_screen = base 444 chrome/browser/ui/metro_pin_tab_helper_win.cc reinterpret_cast<base::win::MetroUnPinFromStartScreen>( base 452 chrome/browser/ui/metro_pin_tab_helper_win.cc base::string16 tile_id = GenerateTileId(base::UTF8ToUTF16(url.spec())); base 454 chrome/browser/ui/metro_pin_tab_helper_win.cc base::Bind(&PinPageReportUmaCallback)); base 35 chrome/browser/ui/navigation_correction_tab_observer.cc base::Bind(&NavigationCorrectionTabObserver::OnEnabledChanged, base 36 chrome/browser/ui/navigation_correction_tab_observer.cc base::Unretained(this))); base 82 chrome/browser/ui/network_profile_bubble.cc base::TimeDelta time_since_last_check = base 83 chrome/browser/ui/network_profile_bubble.cc base::Time::Now() - base::Time::FromTimeT(last_check); base 93 chrome/browser/ui/network_profile_bubble.cc const base::FilePath& profile_folder) { base 127 chrome/browser/ui/network_profile_bubble.cc base::FilePath temp_file; base 130 chrome/browser/ui/network_profile_bubble.cc if (base::CreateTemporaryFileInDir(profile_folder, &temp_file) && base 131 chrome/browser/ui/network_profile_bubble.cc (base::WriteFile(temp_file, ".", 1) == 1)) { base 132 chrome/browser/ui/network_profile_bubble.cc base::FilePath normalized_temp_file; base 133 chrome/browser/ui/network_profile_bubble.cc if (!base::NormalizeFilePath(temp_file, &normalized_temp_file)) base 138 chrome/browser/ui/network_profile_bubble.cc base::DeleteFile(temp_file, false); base 143 chrome/browser/ui/network_profile_bubble.cc base::Bind(&NotifyNetworkProfileDetected)); base 13 chrome/browser/ui/network_profile_bubble.h namespace base { base 56 chrome/browser/ui/network_profile_bubble.h static void CheckNetworkProfile(const base::FilePath& profile_folder); base 27 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc const base::string16& text, base 40 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc const base::string16& text, base 55 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc base::string16 AlternateNavInfoBarDelegate::GetMessageTextWithOffset( base 57 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc const base::string16 label = l10n_util::GetStringFUTF16( base 58 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc IDS_ALTERNATE_NAV_URL_VIEW_LABEL, base::string16(), link_offset); base 62 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc base::string16 AlternateNavInfoBarDelegate::GetLinkText() const { base 63 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc return base::UTF8ToUTF16(match_.destination_url.spec()); base 19 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h const base::string16& text, base 23 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h base::string16 GetMessageTextWithOffset(size_t* link_offset) const; base 24 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h base::string16 GetLinkText() const; base 29 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h const base::string16& text, base 42 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h const base::string16 text_; base 19 chrome/browser/ui/omnibox/location_bar_util.cc base::string16 CalculateMinString(const base::string16& description) { base 22 chrome/browser/ui/omnibox/location_bar_util.cc const size_t ws_index = description.find_first_of(base::kWhitespaceUTF16); base 24 chrome/browser/ui/omnibox/location_bar_util.cc base::string16 min_string; base 25 chrome/browser/ui/omnibox/location_bar_util.cc if (chop_index == base::string16::npos) { base 31 chrome/browser/ui/omnibox/location_bar_util.cc base::i18n::AdjustStringForLocaleDirection(&min_string); base 21 chrome/browser/ui/omnibox/location_bar_util.h base::string16 CalculateMinString(const base::string16& description); base 75 chrome/browser/ui/omnibox/omnibox_controller.cc base::string16 user_text, base 88 chrome/browser/ui/omnibox/omnibox_controller.cc user_text, cursor_position, base::string16(), current_url, base 123 chrome/browser/ui/omnibox/omnibox_controller.cc omnibox_edit_model_->OnPopupDataChanged(base::string16(), NULL, base 124 chrome/browser/ui/omnibox/omnibox_controller.cc base::string16(), false); base 45 chrome/browser/ui/omnibox/omnibox_controller.h base::string16 user_text, base 79 chrome/browser/ui/omnibox/omnibox_current_page_delegate_impl.cc base::UTF16ToUTF8(match.fill_into_edit.substr(prefix_length)), base 113 chrome/browser/ui/omnibox/omnibox_edit_model.cc void RecordPercentageMatchHistogram(const base::string16& old_text, base 114 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& new_text, base 123 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16::const_iterator end(old_text.begin() + shorter_length); base 124 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16::const_iterator mismatch( base 153 chrome/browser/ui/omnibox/omnibox_edit_model.cc suffix = base::IntToString(kPercentageMatchHistogramWidthBuckets[i]); base 160 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::HistogramBase* counter = base::LinearHistogram::FactoryGet( base 162 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::Histogram::kUmaTargetedHistogramFlag); base 172 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& user_text, base 173 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& gray_text, base 174 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& keyword, base 227 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16 user_text(UserTextFromDisplayText(view_->GetText())); base 229 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::AutoReset<bool> tmp(&in_revert_, true); base 309 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 new_permanent_text = controller_->GetToolbarModel()->GetText(); base 310 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 gray_text = view_->GetGrayTextAutocompletion(); base 325 chrome/browser/ui/omnibox/omnibox_edit_model.cc return URLFixerUpper::FixupURL(base::UTF16ToUTF8(permanent_text_), base 329 chrome/browser/ui/omnibox/omnibox_edit_model.cc void OmniboxEditModel::SetUserText(const base::string16& text) { base 338 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16 suggestion = view_->GetGrayTextAutocompletion(); base 342 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16 final_text = view_->GetText() + suggestion; base 387 chrome/browser/ui/omnibox/omnibox_edit_model.cc view_->SetGrayTextAutocompletion(base::string16()); base 412 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16* title, base 443 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16* text, base 458 chrome/browser/ui/omnibox/omnibox_edit_model.cc *text = base::UTF8ToUTF16(url->spec()); base 481 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 http = base::ASCIIToUTF16(content::kHttpScheme) + base 482 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::ASCIIToUTF16(content::kStandardSchemeSeparator); base 490 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::TimeTicks now = base::TimeTicks::Now(); base 501 chrome/browser/ui/omnibox/omnibox_edit_model.cc time_user_first_modified_omnibox_ = base::TimeTicks::Now(); base 502 chrome/browser/ui/omnibox/omnibox_edit_model.cc content::RecordAction(base::UserMetricsAction("OmniboxInputInProgress")); base 524 chrome/browser/ui/omnibox/omnibox_edit_model.cc InternalSetUserText(base::string16()); base 584 chrome/browser/ui/omnibox/omnibox_edit_model.cc bool OmniboxEditModel::CanPasteAndGo(const base::string16& text) const { base 593 chrome/browser/ui/omnibox/omnibox_edit_model.cc void OmniboxEditModel::PasteAndGo(const base::string16& text) { base 605 chrome/browser/ui/omnibox/omnibox_edit_model.cc bool OmniboxEditModel::IsPasteAndSearch(const base::string16& text) const { base 635 chrome/browser/ui/omnibox/omnibox_edit_model.cc old_input.cursor_position(), base::ASCIIToUTF16("com"), base 677 chrome/browser/ui/omnibox/omnibox_edit_model.cc view_->OpenMatch(match, disposition, alternate_nav_url, base::string16(), base 684 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& pasted_text, base 686 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::TimeTicks& now(base::TimeTicks::Now()); base 687 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::TimeDelta elapsed_time_since_user_first_modified_omnibox( base 692 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 input_text(pasted_text); base 705 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::TimeDelta elapsed_time_since_last_change_to_default_match( base 714 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::TimeDelta::FromMilliseconds(-1); base 716 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::TimeDelta::FromMilliseconds(-1); base 777 chrome/browser/ui/omnibox/omnibox_edit_model.cc content::RecordAction(base::UserMetricsAction("AcceptedKeyword")); base 793 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 current_text = view_->GetText(); base 796 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::AutoReset<bool> tmp(&in_revert_, true); base 814 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::UserMetricsAction("OmniboxDestinationURLIsSearchOnDSP")); base 819 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::AutoReset<bool> tmp(&in_revert_, true); base 853 chrome/browser/ui/omnibox/omnibox_edit_model.cc content::RecordAction(base::UserMetricsAction("AcceptedKeywordHint")); base 868 chrome/browser/ui/omnibox/omnibox_edit_model.cc void OmniboxEditModel::ClearKeyword(const base::string16& visible_text) { base 872 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16 window_text(keyword_ + visible_text); base 895 chrome/browser/ui/omnibox/omnibox_edit_model.cc last_omnibox_focus_ = base::TimeTicks::Now(); base 919 chrome/browser/ui/omnibox/omnibox_edit_model.cc permanent_text_, base::string16::npos, base::string16(), base 1038 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& text, base 1040 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& keyword, base 1086 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& user_text = base 1128 chrome/browser/ui/omnibox/omnibox_edit_model.cc bool OmniboxEditModel::OnAfterPossibleChange(const base::string16& old_text, base 1129 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& new_text, base 1239 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 keyword; base 1247 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16 inline_autocompletion(match.inline_autocompletion); base 1264 chrome/browser/ui/omnibox/omnibox_edit_model.cc void OmniboxEditModel::InternalSetUserText(const base::string16& text) { base 1279 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 OmniboxEditModel::DisplayTextFromUserText( base 1280 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& text) const { base 1285 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 OmniboxEditModel::UserTextFromDisplayText( base 1286 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& text) const { base 1287 chrome/browser/ui/omnibox/omnibox_edit_model.cc return KeywordIsSelected() ? (keyword_ + base::char16(' ') + text) : text; base 1351 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& new_text) { base 1362 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& old_text, base 1363 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& new_text, base 1383 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16 keyword; base 1384 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::TrimWhitespace(new_text.substr(0, space_position), base::TRIM_LEADING, base 1429 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& text, base 57 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& user_text, base 58 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& gray_text, base 59 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& keyword, base 67 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16 user_text; base 68 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16 gray_text; base 69 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16 keyword; base 119 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16* title, base 137 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16* text, base 157 chrome/browser/ui/omnibox/omnibox_edit_model.h void SetUserText(const base::string16& text); base 180 chrome/browser/ui/omnibox/omnibox_edit_model.h bool CanPasteAndGo(const base::string16& text) const; base 183 chrome/browser/ui/omnibox/omnibox_edit_model.h void PasteAndGo(const base::string16& text); base 187 chrome/browser/ui/omnibox/omnibox_edit_model.h bool IsPasteAndSearch(const base::string16& text) const; base 216 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& pasted_text, base 227 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& keyword() const { return keyword_; } base 241 chrome/browser/ui/omnibox/omnibox_edit_model.h void ClearKeyword(const base::string16& visible_text); base 306 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& text, base 308 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& keyword, base 320 chrome/browser/ui/omnibox/omnibox_edit_model.h bool OnAfterPossibleChange(const base::string16& old_text, base 321 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& new_text, base 373 chrome/browser/ui/omnibox/omnibox_edit_model.h void InternalSetUserText(const base::string16& text); base 384 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16 DisplayTextFromUserText(const base::string16& text) const; base 385 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16 UserTextFromDisplayText(const base::string16& text) const; base 403 chrome/browser/ui/omnibox/omnibox_edit_model.h bool MaybeAcceptKeywordBySpace(const base::string16& new_text); base 408 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& old_text, base 409 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& new_text, base 424 chrome/browser/ui/omnibox/omnibox_edit_model.h void ClassifyStringForPasteAndGo(const base::string16& text, base 450 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16 permanent_text_; base 461 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16 user_text_; base 464 chrome/browser/ui/omnibox/omnibox_edit_model.h base::TimeTicks last_omnibox_focus_; base 474 chrome/browser/ui/omnibox/omnibox_edit_model.h base::TimeTicks time_user_first_modified_omnibox_; base 491 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16 url_for_remembered_user_selection_; base 501 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16 inline_autocomplete_text_; base 534 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16 keyword_; base 15 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc using base::ASCIIToUTF16; base 16 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc using base::UTF8ToUTF16; base 33 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc const base::string16& pasted_text, base 35 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc virtual base::string16 GetText() const OVERRIDE { return text_; } base 36 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc virtual void SetUserText(const base::string16& text, base 37 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc const base::string16& display_text, base 41 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc virtual void SetWindowTextAndCaretPos(const base::string16& text, base 57 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc const base::string16& display_text, base 63 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc const base::string16& display_text, size_t user_text_length) OVERRIDE { base 80 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc const base::string16& input) OVERRIDE {} base 81 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc virtual base::string16 GetGrayTextAutocompletion() const OVERRIDE { base 82 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc return base::string16(); base 90 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc const base::string16& inline_autocomplete_text() const { base 95 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc base::string16 text_; base 96 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc base::string16 inline_autocomplete_text_; base 211 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc base::string16 result = ASCIIToUTF16(input[i].input); base 237 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc EXPECT_EQ(base::string16(), view.inline_autocomplete_text()); base 239 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.OnPopupDataChanged(UTF8ToUTF16("llo"), NULL, base::string16(), false); base 245 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc EXPECT_EQ(base::string16(), view.inline_autocomplete_text()); base 246 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.OnPopupDataChanged(UTF8ToUTF16("lo"), NULL, base::string16(), false); base 251 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc EXPECT_EQ(base::string16(), view.GetText()); base 252 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc EXPECT_EQ(base::string16(), view.inline_autocomplete_text()); base 255 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.OnPopupDataChanged(UTF8ToUTF16("llo"), NULL, base::string16(), false); base 261 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc EXPECT_EQ(base::string16(), view.inline_autocomplete_text()); base 55 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc const base::string16& text, base 55 chrome/browser/ui/omnibox/omnibox_navigation_observer.h const base::string16& text, base 95 chrome/browser/ui/omnibox/omnibox_navigation_observer.h const base::string16 text_; base 160 chrome/browser/ui/omnibox/omnibox_popup_model.cc base::string16 keyword; base 25 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 OmniboxView::StripJavascriptSchemas(const base::string16& text) { base 26 chrome/browser/ui/omnibox/omnibox_view.cc const base::string16 kJsPrefix( base 27 chrome/browser/ui/omnibox/omnibox_view.cc base::ASCIIToUTF16(content::kJavaScriptScheme) + base::ASCIIToUTF16(":")); base 28 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 out(text); base 30 chrome/browser/ui/omnibox/omnibox_view.cc base::TrimWhitespace(out.substr(kJsPrefix.length()), base::TRIM_LEADING, base 37 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 OmniboxView::SanitizeTextForPaste(const base::string16& text) { base 44 chrome/browser/ui/omnibox/omnibox_view.cc const base::string16 collapsed = base::CollapseWhitespace(text, false); base 48 chrome/browser/ui/omnibox/omnibox_view.cc base::ASCIIToUTF16(" ") : StripJavascriptSchemas(collapsed); base 53 chrome/browser/ui/omnibox/omnibox_view.cc return StripJavascriptSchemas(base::CollapseWhitespace(text, true)); base 57 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 OmniboxView::GetClipboardText() { base 62 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 text; base 81 chrome/browser/ui/omnibox/omnibox_view.cc return StripJavascriptSchemas(base::UTF8ToUTF16(url.spec())); base 84 chrome/browser/ui/omnibox/omnibox_view.cc return base::string16(); base 110 chrome/browser/ui/omnibox/omnibox_view.cc const base::string16& pasted_text, base 132 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 OmniboxView::GetHintText() const { base 151 chrome/browser/ui/omnibox/omnibox_view.cc void OmniboxView::SetUserText(const base::string16& text) { base 155 chrome/browser/ui/omnibox/omnibox_view.cc void OmniboxView::SetUserText(const base::string16& text, base 156 chrome/browser/ui/omnibox/omnibox_view.cc const base::string16& display_text, base 77 chrome/browser/ui/omnibox/omnibox_view.h const base::string16& pasted_text, base 83 chrome/browser/ui/omnibox/omnibox_view.h virtual base::string16 GetText() const = 0; base 94 chrome/browser/ui/omnibox/omnibox_view.h base::string16 GetHintText() const; base 99 chrome/browser/ui/omnibox/omnibox_view.h void SetUserText(const base::string16& text); base 100 chrome/browser/ui/omnibox/omnibox_view.h virtual void SetUserText(const base::string16& text, base 101 chrome/browser/ui/omnibox/omnibox_view.h const base::string16& display_text, base 106 chrome/browser/ui/omnibox/omnibox_view.h virtual void SetWindowTextAndCaretPos(const base::string16& text, base 172 chrome/browser/ui/omnibox/omnibox_view.h virtual void OnTemporaryTextMaybeChanged(const base::string16& display_text, base 181 chrome/browser/ui/omnibox/omnibox_view.h const base::string16& display_text, size_t user_text_length) = 0; base 209 chrome/browser/ui/omnibox/omnibox_view.h virtual void SetGrayTextAutocompletion(const base::string16& input) = 0; base 212 chrome/browser/ui/omnibox/omnibox_view.h virtual base::string16 GetGrayTextAutocompletion() const = 0; base 245 chrome/browser/ui/omnibox/omnibox_view.h static base::string16 StripJavascriptSchemas(const base::string16& text); base 254 chrome/browser/ui/omnibox/omnibox_view.h static base::string16 SanitizeTextForPaste(const base::string16& text); base 259 chrome/browser/ui/omnibox/omnibox_view.h static base::string16 GetClipboardText(); base 53 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc using base::ASCIIToUTF16; base 54 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc using base::UTF16ToUTF8; base 55 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc using base::Time; base 56 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc using base::TimeDelta; base 132 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc void SetClipboardText(const base::string16& text) { base 303 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc history_service->AddPageWithDetails(url, base::UTF8ToUTF16(entry.title), base 308 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc bookmark_utils::AddIfNotBookmarked(bookmark_model, url, base::string16()); base 359 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::MessageLoop::current()->Quit(); base 539 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(base::string16(), omnibox_view->model()->keyword()); base 557 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 old_text = omnibox_view->GetText(); base 720 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 old_text = omnibox_view->GetText(); base 758 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 old_text = omnibox_view->GetText(); base 759 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), old_text); base 784 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc EXPECT_EQ(old_text + base::char16('a'), omnibox_view->GetText()); base 825 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 search_keyword(ASCIIToUTF16(kSearchKeyword)); base 840 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->ClearKeyword(base::string16()); base 848 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::WideToUTF16(L"\x3000"), search_keyword.length() + 1, false, false); base 855 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->ClearKeyword(base::string16()); base 862 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->SetWindowTextAndCaretPos(search_keyword + base::char16(' '), base 873 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword + base::char16(' '), omnibox_view->GetText()); base 897 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->SetUserText(base::string16()); base 933 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(base::string16(), omnibox_view->GetText()); base 936 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->SetUserText(base::string16()); base 963 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->SetUserText(base::string16()); base 985 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->SetUserText(base::string16()); base 1002 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 search_keyword2(ASCIIToUTF16(kSearchKeyword2)); base 1038 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->SetUserText(base::string16()); base 1051 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->SetUserText(base::string16()); base 1093 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 old_text = omnibox_view->GetText(); base 1106 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 user_text = omnibox_view->GetText(); base 1115 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 selected_text = base 1187 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 text = ASCIIToUTF16(kSearchKeyword); base 1292 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 text = ASCIIToUTF16(kSearchKeyword); base 1375 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 old_text = omnibox_view->GetText(); base 1395 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 old_text = omnibox_view->GetText(); base 1396 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(content::kAboutBlankURL), old_text); base 1454 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->SetUserText(base::UTF8ToUTF16("\357\276\200\357\276\236")); base 1461 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("\357\276\200"), omnibox_view->GetText()); base 1480 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 old_autocomplete_text = base 1606 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 title; base 1641 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc EXPECT_EQ(base::string16(), omnibox_view->GetText()); base 1652 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 title; base 1703 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc EXPECT_EQ(base::string16(), omnibox_view->GetText()); base 1796 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 url_a(ASCIIToUTF16("http://www.a.com/")); base 1797 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 url_b(ASCIIToUTF16("http://www.b.com/")); base 1798 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 url_c(ASCIIToUTF16("http://www.c.com/")); base 15 chrome/browser/ui/omnibox/omnibox_view_unittest.cc using base::ASCIIToUTF16; base 27 chrome/browser/ui/omnibox/omnibox_view_unittest.cc base::MessageLoopForUI message_loop_; base 51 chrome/browser/ui/omnibox/omnibox_view_unittest.cc const base::string16 kWrappedURL(ASCIIToUTF16( base 55 chrome/browser/ui/omnibox/omnibox_view_unittest.cc const base::string16 kFixedURL(ASCIIToUTF16( base 61 chrome/browser/ui/omnibox/omnibox_view_unittest.cc const base::string16 kWrappedAddress(ASCIIToUTF16( base 64 chrome/browser/ui/omnibox/omnibox_view_unittest.cc const base::string16 kFixedAddress(ASCIIToUTF16( base 72 chrome/browser/ui/omnibox/omnibox_view_unittest.cc const base::string16 kPlainText(ASCIIToUTF16("test text")); base 84 chrome/browser/ui/omnibox/omnibox_view_unittest.cc const base::string16 kSpace6(ASCIIToUTF16(" ")); base 85 chrome/browser/ui/omnibox/omnibox_view_unittest.cc const base::string16 kSpace1(ASCIIToUTF16(" ")); base 95 chrome/browser/ui/omnibox/omnibox_view_unittest.cc EXPECT_EQ(base::string16(), OmniboxView::GetClipboardText()); base 100 chrome/browser/ui/omnibox/omnibox_view_unittest.cc const base::string16 kTitle(ASCIIToUTF16("The Example Company")); base 121 chrome/browser/ui/omnibox/omnibox_view_unittest.cc const base::string16 kMarkup(ASCIIToUTF16("<strong>Hi!</string>")); base 16 chrome/browser/ui/options/options_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 240 chrome/browser/ui/panels/base_panel_browser_test.cc const base::FilePath::CharType* BasePanelBrowserTest::kTestDir = base 364 chrome/browser/ui/panels/base_panel_browser_test.cc base::mac::ScopedNSAutoreleasePool autorelease_pool; base 396 chrome/browser/ui/panels/base_panel_browser_test.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 555 chrome/browser/ui/panels/base_panel_browser_test.cc const base::FilePath::StringType& path, base 557 chrome/browser/ui/panels/base_panel_browser_test.cc const base::DictionaryValue& extra_value) { base 560 chrome/browser/ui/panels/base_panel_browser_test.cc base::FilePath full_path = extension_prefs->install_directory().Append(path); base 562 chrome/browser/ui/panels/base_panel_browser_test.cc scoped_ptr<base::DictionaryValue> input_value(extra_value.DeepCopy()); base 621 chrome/browser/ui/panels/base_panel_browser_test.cc return panel_name + base::IntToString(index); base 58 chrome/browser/ui/panels/base_panel_browser_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 106 chrome/browser/ui/panels/base_panel_browser_test.h const base::FilePath::StringType& path, base 108 chrome/browser/ui/panels/base_panel_browser_test.h const base::DictionaryValue& extra_value); base 129 chrome/browser/ui/panels/base_panel_browser_test.h static const base::FilePath::CharType* kTestDir; base 51 chrome/browser/ui/panels/display_settings_provider.cc base::TimeDelta::FromMilliseconds(kFullScreenModeCheckIntervalMs), base 52 chrome/browser/ui/panels/display_settings_provider.cc base::Bind(&DisplaySettingsProvider::CheckFullScreenMode, base 53 chrome/browser/ui/panels/display_settings_provider.cc base::Unretained(this), base 152 chrome/browser/ui/panels/display_settings_provider.h base::RepeatingTimer<DisplaySettingsProvider> full_screen_mode_timer_; base 369 chrome/browser/ui/panels/docked_panel_collection.cc base::AutoReset<bool> pin(&minimizing_all_, true); base 561 chrome/browser/ui/panels/docked_panel_collection.cc base::MessageLoop::current()->PostDelayedTask( base 563 chrome/browser/ui/panels/docked_panel_collection.cc base::Bind(&DockedPanelCollection::DelayedBringUpOrDownTitlebarsCheck, base 565 chrome/browser/ui/panels/docked_panel_collection.cc base::TimeDelta::FromMilliseconds( base 774 chrome/browser/ui/panels/docked_panel_collection.cc base::MessageLoop::current()->PostDelayedTask( base 776 chrome/browser/ui/panels/docked_panel_collection.cc base::Bind(&DockedPanelCollection::RefreshLayout, base 778 chrome/browser/ui/panels/docked_panel_collection.cc base::TimeDelta::FromMilliseconds(PanelManager::AdjustTimeInterval( base 191 chrome/browser/ui/panels/docked_panel_collection.h base::WeakPtrFactory<DockedPanelCollection> titlebar_action_factory_; base 194 chrome/browser/ui/panels/docked_panel_collection.h base::WeakPtrFactory<DockedPanelCollection> refresh_action_factory_; base 21 chrome/browser/ui/panels/native_panel_stack_window.h virtual base::string16 GetTitle() const = 0; base 43 chrome/browser/ui/panels/panel.cc using base::UserMetricsAction; base 56 chrome/browser/ui/panels/panel.cc virtual base::DictionaryValue* CreateWindowValueWithTabs( base 58 chrome/browser/ui/panels/panel.cc virtual base::DictionaryValue* CreateTabValue( base 90 chrome/browser/ui/panels/panel.cc base::DictionaryValue* base 93 chrome/browser/ui/panels/panel.cc base::DictionaryValue* result = CreateWindowValue(); base 96 chrome/browser/ui/panels/panel.cc base::DictionaryValue* tab_value = CreateTabValue(extension, 0); base 98 chrome/browser/ui/panels/panel.cc base::ListValue* tab_list = new base::ListValue(); base 105 chrome/browser/ui/panels/panel.cc base::DictionaryValue* PanelExtensionWindowController::CreateTabValue( base 115 chrome/browser/ui/panels/panel.cc base::DictionaryValue* tab_value = new base::DictionaryValue(); base 754 chrome/browser/ui/panels/panel.cc base::string16 Panel::GetWindowTitle() const { base 756 chrome/browser/ui/panels/panel.cc base::string16 title; base 765 chrome/browser/ui/panels/panel.cc title = base::UTF8ToUTF16(app_name()); base 889 chrome/browser/ui/panels/panel.cc base::Bind(&Panel::OnImageLoaded, base 894 chrome/browser/ui/panels/panel.cc void Panel::FormatTitleForDisplay(base::string16* title) { base 898 chrome/browser/ui/panels/panel.cc base::string16::npos) { base 899 chrome/browser/ui/panels/panel.cc title->replace(match_index, 1, base::string16()); base 279 chrome/browser/ui/panels/panel.h base::string16 GetWindowTitle() const; base 342 chrome/browser/ui/panels/panel.h static void FormatTitleForDisplay(base::string16* title); base 398 chrome/browser/ui/panels/panel.h base::WeakPtrFactory<Panel> image_loader_ptr_factory_; base 278 chrome/browser/ui/panels/panel_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 417 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(kTestDir), base 418 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(FILE_PATH_LITERAL("update-preferred-size.html")))); base 919 chrome/browser/ui/panels/panel_browsertest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 938 chrome/browser/ui/panels/panel_browsertest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 1357 chrome/browser/ui/panels/panel_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1362 chrome/browser/ui/panels/panel_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 1381 chrome/browser/ui/panels/panel_browsertest.cc base::DictionaryValue empty_value; base 1443 chrome/browser/ui/panels/panel_browsertest.cc const base::string16 title_first_close = base::UTF8ToUTF16("TitleFirstClose"); base 1444 chrome/browser/ui/panels/panel_browsertest.cc const base::string16 title_second_close = base 1445 chrome/browser/ui/panels/panel_browsertest.cc base::UTF8ToUTF16("TitleSecondClose"); base 1451 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(kTestDir), base 1452 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(FILE_PATH_LITERAL("onbeforeunload.html"))); base 1614 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(kTestDir), base 1615 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(FILE_PATH_LITERAL("update-preferred-size.html")))); base 1648 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(kTestDir), base 1649 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(FILE_PATH_LITERAL("update-preferred-size.html")))); base 1689 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(kTestDir), base 1690 chrome/browser/ui/panels/panel_browsertest.cc base::FilePath(FILE_PATH_LITERAL("update-preferred-size.html")))); base 1382 chrome/browser/ui/panels/panel_drag_browsertest.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 51 chrome/browser/ui/panels/panel_extension_browsertest.cc base::mac::ScopedNSAutoreleasePool autorelease_pool; base 196 chrome/browser/ui/panels/panel_extension_browsertest.cc params.selection_text = base::ASCIIToUTF16("Select me"); base 36 chrome/browser/ui/panels/panel_host.cc using base::UserMetricsAction; base 207 chrome/browser/ui/panels/panel_host.cc void PanelHost::RenderProcessGone(base::TerminationStatus status) { base 218 chrome/browser/ui/panels/panel_host.cc base::MessageLoop::current()->PostTask( base 220 chrome/browser/ui/panels/panel_host.cc base::Bind(&PanelHost::ClosePanel, weak_factory_.GetWeakPtr())); base 82 chrome/browser/ui/panels/panel_host.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 112 chrome/browser/ui/panels/panel_host.h base::WeakPtrFactory<PanelHost> weak_factory_; base 97 chrome/browser/ui/panels/panel_manager.cc static base::LazyInstance<PanelManager> instance = LAZY_INSTANCE_INITIALIZER; base 160 chrome/browser/ui/panels/panel_manager.cc static base::nix::DesktopEnvironment desktop_env = base 161 chrome/browser/ui/panels/panel_manager.cc base::nix::DESKTOP_ENVIRONMENT_OTHER; base 162 chrome/browser/ui/panels/panel_manager.cc if (desktop_env == base::nix::DESKTOP_ENVIRONMENT_OTHER) { base 163 chrome/browser/ui/panels/panel_manager.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 164 chrome/browser/ui/panels/panel_manager.cc desktop_env = base::nix::GetDesktopEnvironment(env.get()); base 166 chrome/browser/ui/panels/panel_manager.cc return desktop_env != base::nix::DESKTOP_ENVIRONMENT_UNITY; base 191 chrome/browser/ui/panels/panel_manager.h friend struct base::DefaultLazyInstanceTraits<PanelManager>; base 34 chrome/browser/ui/panels/panel_mouse_watcher_timer.cc base::RepeatingTimer<PanelMouseWatcherTimer> timer_; base 54 chrome/browser/ui/panels/panel_mouse_watcher_timer.cc base::TimeDelta::FromMilliseconds(kMousePollingIntervalMs), base 26 chrome/browser/ui/panels/panel_mouse_watcher_unittest.cc base::MessageLoopForUI loop; base 979 chrome/browser/ui/panels/stacked_panel_browsertest.cc base::DictionaryValue empty_value; base 142 chrome/browser/ui/panels/stacked_panel_collection.cc base::string16 StackedPanelCollection::GetTitle() const { base 144 chrome/browser/ui/panels/stacked_panel_collection.cc return base::string16(); base 148 chrome/browser/ui/panels/stacked_panel_collection.cc return base::UTF8ToUTF16(extension && !extension->name().empty() ? base 420 chrome/browser/ui/panels/stacked_panel_collection.cc base::AutoReset<bool> pin(&minimizing_all_, true); base 107 chrome/browser/ui/panels/stacked_panel_collection.h virtual base::string16 GetTitle() const OVERRIDE; base 66 chrome/browser/ui/passwords/manage_passwords_bubble_model.h const base::string16& title() { return title_; } base 71 chrome/browser/ui/passwords/manage_passwords_bubble_model.h const base::string16& manage_link() { return manage_link_; } base 81 chrome/browser/ui/passwords/manage_passwords_bubble_model.h base::string16 title_; base 84 chrome/browser/ui/passwords/manage_passwords_bubble_model.h base::string16 manage_link_; base 49 chrome/browser/ui/passwords/password_manager_presenter.cc base::Bind(&PasswordManagerPresenter::UpdatePasswordLists, base 50 chrome/browser/ui/passwords/password_manager_presenter.cc base::Unretained(this))); base 71 chrome/browser/ui/passwords/password_manager_presenter.cc last_authentication_time_ = base::TimeTicks(); base 88 chrome/browser/ui/passwords/password_manager_presenter.cc base::UserMetricsAction("PasswordManager_RemoveSavedPassword")); base 98 chrome/browser/ui/passwords/password_manager_presenter.cc base::UserMetricsAction("PasswordManager_RemovePasswordException")); base 107 chrome/browser/ui/passwords/password_manager_presenter.cc last_authentication_time_ = base::TimeTicks::Now(); base 146 chrome/browser/ui/passwords/password_manager_presenter.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(60); base 148 chrome/browser/ui/passwords/password_manager_presenter.cc (base::TimeTicks::Now() - last_authentication_time_) > delta; base 128 chrome/browser/ui/passwords/password_manager_presenter.h base::TimeTicks last_authentication_time_; base 15 chrome/browser/ui/passwords/password_manager_presenter_unittest.cc using base::ASCIIToUTF16; base 30 chrome/browser/ui/passwords/password_manager_presenter_unittest.cc MOCK_METHOD2(ShowPassword, void(size_t, const base::string16&)); base 81 chrome/browser/ui/passwords/password_manager_presenter_unittest.cc form->username_element = base::ASCIIToUTF16("Email"); base 82 chrome/browser/ui/passwords/password_manager_presenter_unittest.cc form->username_value = base::ASCIIToUTF16(user_name); base 83 chrome/browser/ui/passwords/password_manager_presenter_unittest.cc form->password_element = base::ASCIIToUTF16("Passwd"); base 84 chrome/browser/ui/passwords/password_manager_presenter_unittest.cc form->password_value = base::ASCIIToUTF16(password); base 31 chrome/browser/ui/passwords/password_ui_view.h const base::string16& password_value) = 0; base 18 chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h virtual base::string16 GetMessageText() const = 0; base 20 chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h virtual base::string16 GetAcceptButtonText() const = 0; base 22 chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h virtual base::string16 GetCancelButtonText() const = 0; base 53 chrome/browser/ui/pdf/pdf_browsertest.cc base::FilePath src_dir; base 54 chrome/browser/ui/pdf/pdf_browsertest.cc EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &src_dir)); base 68 chrome/browser/ui/pdf/pdf_browsertest.cc base::FilePath GetPDFTestDir() { base 69 chrome/browser/ui/pdf/pdf_browsertest.cc return base::FilePath(base::FilePath::kCurrentDirectory).AppendASCII(".."). base 87 chrome/browser/ui/pdf/pdf_browsertest.cc base::FilePath(FILE_PATH_LITERAL("pdf_browsertest.pdf")))); base 99 chrome/browser/ui/pdf/pdf_browsertest.cc rwh->GetSnapshotFromRenderer(gfx::Rect(), base::Bind( base 122 chrome/browser/ui/pdf/pdf_browsertest.cc base::string16 query = base::UTF8ToUTF16( base 123 chrome/browser/ui/pdf/pdf_browsertest.cc std::string("xyzxyz" + base::IntToString(next_dummy_search_value_++))); base 132 chrome/browser/ui/pdf/pdf_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 134 chrome/browser/ui/pdf/pdf_browsertest.cc base::FilePath reference = ui_test_utils::GetTestFilePath( base 136 chrome/browser/ui/pdf/pdf_browsertest.cc base::FilePath().AppendASCII(expected_filename_)); base 137 chrome/browser/ui/pdf/pdf_browsertest.cc base::File::Info info; base 138 chrome/browser/ui/pdf/pdf_browsertest.cc ASSERT_TRUE(base::GetFileInfo(reference, &info)); base 141 chrome/browser/ui/pdf/pdf_browsertest.cc ASSERT_EQ(size, base::ReadFile(reference, data.get(), size)); base 189 chrome/browser/ui/pdf/pdf_browsertest.cc if (base::CreateTemporaryFile(&snapshot_filename_)) { base 190 chrome/browser/ui/pdf/pdf_browsertest.cc base::WriteFile(snapshot_filename_, base 212 chrome/browser/ui/pdf/pdf_browsertest.cc base::FilePath snapshot_filename_; base 282 chrome/browser/ui/pdf/pdf_browsertest.cc base::UTF8ToUTF16("adipiscing"), base 321 chrome/browser/ui/pdf/pdf_browsertest.cc base::FileEnumerator file_enumerator( base 322 chrome/browser/ui/pdf/pdf_browsertest.cc ui_test_utils::GetTestFilePath(GetPDFTestDir(), base::FilePath()), base 324 chrome/browser/ui/pdf/pdf_browsertest.cc base::FileEnumerator::FILES, base 326 chrome/browser/ui/pdf/pdf_browsertest.cc for (base::FilePath file_path = file_enumerator.Next(); base 339 chrome/browser/ui/pdf/pdf_browsertest.cc if (static_cast<int>(base::Hash(filename) % kLoadingNumberOfParts) != base 99 chrome/browser/ui/pdf/pdf_tab_helper.cc const base::string16& actual_value) { base 101 chrome/browser/ui/pdf/pdf_tab_helper.cc reply_message, base::UTF16ToUTF8(actual_value)); base 107 chrome/browser/ui/pdf/pdf_tab_helper.cc base::Callback<void(bool, const base::string16&)> callback = base 108 chrome/browser/ui/pdf/pdf_tab_helper.cc base::Bind(&PDFTabHelper::OnModalPromptForPasswordClosed, base 109 chrome/browser/ui/pdf/pdf_tab_helper.cc base::Unretained(this), reply_message); base 111 chrome/browser/ui/pdf/pdf_tab_helper.cc ShowPDFPasswordDialog(web_contents(), base::UTF8ToUTF16(prompt), callback); base 121 chrome/browser/ui/pdf/pdf_tab_helper.cc base::UTF8ToUTF16(prompt), base 122 chrome/browser/ui/pdf/pdf_tab_helper.cc base::string16(), base 48 chrome/browser/ui/pdf/pdf_tab_helper.h const base::string16& actual_value); base 65 chrome/browser/ui/pdf/pdf_tab_helper.h typedef base::Callback<void(bool /* success */, base 66 chrome/browser/ui/pdf/pdf_tab_helper.h const base::string16& /* password */)> base 71 chrome/browser/ui/pdf/pdf_tab_helper.h const base::string16& prompt, base 48 chrome/browser/ui/pdf/pdf_unsupported_feature.cc using base::UserMetricsAction; base 73 chrome/browser/ui/pdf/pdf_unsupported_feature.cc virtual base::string16 GetMessageText() const OVERRIDE; base 74 chrome/browser/ui/pdf/pdf_unsupported_feature.cc virtual base::string16 GetAcceptButtonText() const OVERRIDE; base 75 chrome/browser/ui/pdf/pdf_unsupported_feature.cc virtual base::string16 GetCancelButtonText() const OVERRIDE; base 112 chrome/browser/ui/pdf/pdf_unsupported_feature.cc true, base::ASCIIToUTF16(PluginMetadata::kAdobeReaderGroupName)); base 114 chrome/browser/ui/pdf/pdf_unsupported_feature.cc false, base::ASCIIToUTF16(ChromeContentClient::kPDFPluginName)); base 121 chrome/browser/ui/pdf/pdf_unsupported_feature.cc base::string16 PDFEnableAdobeReaderPromptDelegate::GetAcceptButtonText() const { base 125 chrome/browser/ui/pdf/pdf_unsupported_feature.cc base::string16 PDFEnableAdobeReaderPromptDelegate::GetCancelButtonText() const { base 129 chrome/browser/ui/pdf/pdf_unsupported_feature.cc base::string16 PDFEnableAdobeReaderPromptDelegate::GetMessageText() const { base 176 chrome/browser/ui/pdf/pdf_unsupported_feature.cc base::DictionaryValue strings; base 197 chrome/browser/ui/pdf/pdf_unsupported_feature.cc base::StringPiece html(ResourceBundle::GetSharedInstance(). base 219 chrome/browser/ui/pdf/pdf_unsupported_feature.cc reader_webplugininfo_.version = base::ASCIIToUTF16("11.0.0.0"); base 254 chrome/browser/ui/pdf/pdf_unsupported_feature.cc virtual base::string16 GetMessageText() const OVERRIDE; base 255 chrome/browser/ui/pdf/pdf_unsupported_feature.cc virtual base::string16 GetAcceptButtonText() const OVERRIDE; base 256 chrome/browser/ui/pdf/pdf_unsupported_feature.cc virtual base::string16 GetCancelButtonText() const OVERRIDE; base 301 chrome/browser/ui/pdf/pdf_unsupported_feature.cc base::string16 PDFUnsupportedFeaturePromptDelegate::GetMessageText() const { base 305 chrome/browser/ui/pdf/pdf_unsupported_feature.cc base::string16 PDFUnsupportedFeaturePromptDelegate::GetAcceptButtonText() base 308 chrome/browser/ui/pdf/pdf_unsupported_feature.cc if (base::win::IsMetroProcess()) base 318 chrome/browser/ui/pdf/pdf_unsupported_feature.cc base::string16 PDFUnsupportedFeaturePromptDelegate::GetCancelButtonText() base 330 chrome/browser/ui/pdf/pdf_unsupported_feature.cc if (base::win::IsMetroProcess()) { base 407 chrome/browser/ui/pdf/pdf_unsupported_feature.cc PluginService::GetInstance()->GetPlugins(base::Bind(&GotPluginsCallback, base 121 chrome/browser/ui/prefs/prefs_tab_helper.cc std::string pref_name = base::StringPrintf("%s.%s", map_name, script); base 284 chrome/browser/ui/prefs/prefs_tab_helper.cc (*map)[script] = base::UTF8ToUTF16(pref_value); base 295 chrome/browser/ui/prefs/prefs_tab_helper.cc base::Closure renderer_callback = base::Bind( base 296 chrome/browser/ui/prefs/prefs_tab_helper.cc &PrefsTabHelper::UpdateRendererPreferences, base::Unretained(this)); base 306 chrome/browser/ui/prefs/prefs_tab_helper.cc PrefChangeRegistrar::NamedChangeCallback webkit_callback = base::Bind( base 307 chrome/browser/ui/prefs/prefs_tab_helper.cc &PrefsTabHelper::OnWebPrefChanged, base::Unretained(this)); base 59 chrome/browser/ui/prefs/prefs_tab_helper.h scoped_ptr<base::CallbackList<void(void)>::Subscription> base 61 chrome/browser/ui/prefs/prefs_tab_helper.h base::WeakPtrFactory<PrefsTabHelper> weak_ptr_factory_; base 18 chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc virtual base::FilePath GetPreferencesFilePath() { base 19 chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc base::FilePath test_data_directory; base 29 chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc base::FilePath user_data_directory; base 31 chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc base::FilePath default_profile = base 33 chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc if (!base::CreateDirectory(default_profile)) { base 37 chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc base::FilePath pref_file = GetPreferencesFilePath(); base 38 chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc if (!base::PathExists(pref_file)) { base 42 chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc base::FilePath default_pref_file = base 44 chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc if (!base::CopyFile(pref_file, default_pref_file)) { base 15 chrome/browser/ui/process_singleton_dialog_linux.h bool ShowProcessSingletonDialog(const base::string16& message, base 16 chrome/browser/ui/process_singleton_dialog_linux.h const base::string16& relaunch_text); base 20 chrome/browser/ui/profile_reset_bubble.h const base::WeakPtr<ProfileResetGlobalError>& global_error, base 17 chrome/browser/ui/profile_reset_bubble_stub.cc const base::WeakPtr<ProfileResetGlobalError>& global_error, base 30 chrome/browser/ui/protocol_dialog_delegate.h virtual base::string16 GetMessageText() const = 0; base 31 chrome/browser/ui/protocol_dialog_delegate.h virtual base::string16 GetCheckboxText() const = 0; base 32 chrome/browser/ui/protocol_dialog_delegate.h virtual base::string16 GetTitleText() const = 0; base 10 chrome/browser/ui/sad_tab.cc bool SadTab::ShouldShow(base::TerminationStatus status) { base 11 chrome/browser/ui/sad_tab.cc return (status == base::TERMINATION_STATUS_ABNORMAL_TERMINATION || base 12 chrome/browser/ui/sad_tab.cc status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED || base 13 chrome/browser/ui/sad_tab.cc status == base::TERMINATION_STATUS_PROCESS_CRASHED); base 24 chrome/browser/ui/sad_tab.h static bool ShouldShow(base::TerminationStatus status); base 29 chrome/browser/ui/sad_tab_helper.cc void SadTabHelper::RenderProcessGone(base::TerminationStatus status) { base 43 chrome/browser/ui/sad_tab_helper.cc void SadTabHelper::InstallSadTab(base::TerminationStatus status) { base 45 chrome/browser/ui/sad_tab_helper.cc (status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED) ? base 31 chrome/browser/ui/sad_tab_helper.h void InstallSadTab(base::TerminationStatus status); base 35 chrome/browser/ui/sad_tab_helper.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 21 chrome/browser/ui/screen_capture_notification_ui.h const base::string16& text); base 15 chrome/browser/ui/screen_capture_notification_ui_stub.cc virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) base 24 chrome/browser/ui/screen_capture_notification_ui_stub.cc const base::string16& title) { base 55 chrome/browser/ui/search/instant_controller.cc const base::string16& search_terms) { base 87 chrome/browser/ui/search/instant_controller.cc bool InstantController::SubmitQuery(const base::string16& search_terms) { base 103 chrome/browser/ui/search/instant_controller.cc LOG_INSTANT_DEBUG_EVENT(this, base::StringPrintf( base 127 chrome/browser/ui/search/instant_controller.cc base::Time::Now().ToInternalValue(), info)); base 162 chrome/browser/ui/search/instant_controller.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, instant_tab_.release()); base 52 chrome/browser/ui/search/instant_controller.h bool SubmitQuery(const base::string16& search_terms); base 85 chrome/browser/ui/search/instant_extended_interactive_uitest.cc using base::ASCIIToUTF16; base 102 chrome/browser/ui/search/instant_extended_interactive_uitest.cc base::MessageLoop::current()->Quit(); base 122 chrome/browser/ui/search/instant_extended_interactive_uitest.cc base::RunLoop().RunUntilIdle(); base 160 chrome/browser/ui/search/instant_extended_interactive_uitest.cc base::HistogramBase* histogram = base 161 chrome/browser/ui/search/instant_extended_interactive_uitest.cc base::StatisticsRecorder::FindHistogram(name); base 205 chrome/browser/ui/search/instant_extended_interactive_uitest.cc bool AddSearchToHistory(base::string16 term, int visit_count) { base 215 chrome/browser/ui/search/instant_extended_interactive_uitest.cc search, base::string16(), visit_count, visit_count, base 216 chrome/browser/ui/search/instant_extended_interactive_uitest.cc base::Time::Now(), false, history::SOURCE_BROWSED); base 226 chrome/browser/ui/search/instant_extended_interactive_uitest.cc DCHECK(base::MessageLoop::current()); base 230 chrome/browser/ui/search/instant_extended_interactive_uitest.cc base::MessageLoop::current()->Run(); base 341 chrome/browser/ui/search/instant_extended_interactive_uitest.cc const base::FilePath theme_path = test_data_dir_.AppendASCII(theme_dir); base 142 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc const base::string16& search_title = base 143 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc base::ASCIIToUTF16("test - Google Search"); base 72 chrome/browser/ui/search/instant_page.cc const base::string16& frame_unique_name, base 107 chrome/browser/ui/search/instant_page.h const base::string16& frame_unique_name, base 103 chrome/browser/ui/search/instant_search_prerenderer.cc void InstantSearchPrerenderer::Commit(const base::string16& query) { base 111 chrome/browser/ui/search/instant_search_prerenderer.cc const base::string16& query) const { base 126 chrome/browser/ui/search/instant_search_prerenderer.cc base::string16 search_terms = base 155 chrome/browser/ui/search/instant_search_prerenderer.cc const base::string16& query) const { base 64 chrome/browser/ui/search/instant_search_prerenderer.h void Commit(const base::string16& query); base 69 chrome/browser/ui/search/instant_search_prerenderer.h const base::string16& query) const; base 76 chrome/browser/ui/search/instant_search_prerenderer.h const base::string16& get_last_query() const { base 92 chrome/browser/ui/search/instant_search_prerenderer.h bool QueryMatchesPrefetch(const base::string16& query) const; base 36 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc using base::ASCIIToUTF16; base 167 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 200 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc void SetLastQuery(const base::string16& query) { base 224 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc void PrerenderSearchQuery(const base::string16& query) { base 240 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc EXPECT_EQ(base::UTF16ToASCII(prerenderer->get_last_query()), base 241 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc base::UTF16ToASCII( base 247 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc EXPECT_EQ("flowers", base::UTF16ToASCII(prerenderer->get_last_query())); base 248 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc EXPECT_EQ(base::UTF16ToASCII(prerenderer->get_last_query()), base 249 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc base::UTF16ToASCII( base 259 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc EXPECT_EQ("flowers", base::UTF16ToASCII(prerenderer->get_last_query())); base 271 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc EXPECT_EQ("", base::UTF16ToASCII(prerenderer->get_last_query())); base 279 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc base::string16 query = ASCIIToUTF16("flowers"); base 288 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc base::string16())); base 292 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc base::string16 query = ASCIIToUTF16("flowers"); base 416 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 426 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc base::string16 query = ASCIIToUTF16("flowers"); base 437 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc base::string16())); base 444 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc base::string16 query = ASCIIToUTF16("flowers"); base 459 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 42 chrome/browser/ui/search/instant_test_utils.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))), base 58 chrome/browser/ui/search/instant_test_utils.cc data.short_name = base::ASCIIToUTF16("name"); base 79 chrome/browser/ui/search/instant_test_utils.cc data.short_name = base::ASCIIToUTF16("name"); base 110 chrome/browser/ui/search/instant_test_utils.cc omnibox()->SetUserText(base::UTF8ToUTF16(text)); base 152 chrome/browser/ui/search/instant_test_utils.cc return base::UTF16ToUTF8(omnibox()->GetText()); base 166 chrome/browser/ui/search/instant_test_utils.cc base::string16 InstantTestBase::GetBlueText() { base 97 chrome/browser/ui/search/instant_test_utils.h base::string16 GetBlueText(); base 83 chrome/browser/ui/search/local_ntp_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Nouvel onglet"), active_tab->GetTitle()); base 13 chrome/browser/ui/search/search_ipc_router.cc bool IsProviderValid(const base::string16& provider) { base 19 chrome/browser/ui/search/search_ipc_router.cc for (base::string16::const_iterator it = provider.begin(); base 47 chrome/browser/ui/search/search_ipc_router.cc const base::string16& identity, base 130 chrome/browser/ui/search/search_ipc_router.cc void SearchIPCRouter::Submit(const base::string16& text) { base 270 chrome/browser/ui/search/search_ipc_router.cc int page_id, int position, const base::string16& provider) const { base 283 chrome/browser/ui/search/search_ipc_router.cc int page_id, int position, const base::string16& provider) const { base 296 chrome/browser/ui/search/search_ipc_router.cc const base::string16& text) const { base 309 chrome/browser/ui/search/search_ipc_router.cc const base::string16& identity) const { base 67 chrome/browser/ui/search/search_ipc_router.h const base::string16& provider) = 0; base 71 chrome/browser/ui/search/search_ipc_router.h const base::string16& provider) = 0; base 75 chrome/browser/ui/search/search_ipc_router.h virtual void PasteIntoOmnibox(const base::string16& text) = 0; base 80 chrome/browser/ui/search/search_ipc_router.h virtual void OnChromeIdentityCheck(const base::string16& identity) = 0; base 123 chrome/browser/ui/search/search_ipc_router.h void SendChromeIdentityCheckResult(const base::string16& identity, base 156 chrome/browser/ui/search/search_ipc_router.h void Submit(const base::string16& text); base 196 chrome/browser/ui/search/search_ipc_router.h const base::string16& provider) const; base 199 chrome/browser/ui/search/search_ipc_router.h const base::string16& provider) const; base 200 chrome/browser/ui/search/search_ipc_router.h void OnPasteAndOpenDropDown(int page_id, const base::string16& text) const; base 201 chrome/browser/ui/search/search_ipc_router.h void OnChromeIdentityCheck(int page_id, const base::string16& identity) const; base 56 chrome/browser/ui/search/search_ipc_router_unittest.cc void(int position, const base::string16& provider)); base 58 chrome/browser/ui/search/search_ipc_router_unittest.cc void(int position, const base::string16& provider)); base 59 chrome/browser/ui/search/search_ipc_router_unittest.cc MOCK_METHOD1(PasteIntoOmnibox, void(const base::string16&)); base 60 chrome/browser/ui/search/search_ipc_router_unittest.cc MOCK_METHOD1(OnChromeIdentityCheck, void(const base::string16& identity)); base 192 chrome/browser/ui/search/search_ipc_router_unittest.cc base::FieldTrialList field_trial_list_; base 366 chrome/browser/ui/search/search_ipc_router_unittest.cc OnLogMostVisitedImpression(3, base::ASCIIToUTF16("Server"))).Times(1); base 376 chrome/browser/ui/search/search_ipc_router_unittest.cc base::ASCIIToUTF16("Server"))); base 385 chrome/browser/ui/search/search_ipc_router_unittest.cc OnLogMostVisitedNavigation(3, base::ASCIIToUTF16("Server"))).Times(1); base 395 chrome/browser/ui/search/search_ipc_router_unittest.cc base::ASCIIToUTF16("Server"))); base 403 chrome/browser/ui/search/search_ipc_router_unittest.cc const base::string16 test_identity = base::ASCIIToUTF16("foo@bar.com"); base 421 chrome/browser/ui/search/search_ipc_router_unittest.cc const base::string16 test_identity = base::ASCIIToUTF16("foo@bar.com"); base 586 chrome/browser/ui/search/search_ipc_router_unittest.cc base::string16 text; base 603 chrome/browser/ui/search/search_ipc_router_unittest.cc base::string16 text; base 616 chrome/browser/ui/search/search_ipc_router_unittest.cc base::string16 text; base 657 chrome/browser/ui/search/search_ipc_router_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 671 chrome/browser/ui/search/search_ipc_router_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 682 chrome/browser/ui/search/search_ipc_router_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 693 chrome/browser/ui/search/search_ipc_router_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 706 chrome/browser/ui/search/search_ipc_router_unittest.cc ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial( base 891 chrome/browser/ui/search/search_ipc_router_unittest.cc GetSearchIPCRouter().Submit(base::string16()); base 903 chrome/browser/ui/search/search_ipc_router_unittest.cc GetSearchIPCRouter().Submit(base::string16()); base 137 chrome/browser/ui/search/search_tab_helper.cc base::TimeDelta duration = base 138 chrome/browser/ui/search/search_tab_helper.cc base::TimeTicks::Now() - core_tab_helper->new_tab_start_time(); base 140 chrome/browser/ui/search/search_tab_helper.cc core_tab_helper->set_new_tab_start_time(base::TimeTicks()); base 243 chrome/browser/ui/search/search_tab_helper.cc void SearchTabHelper::Submit(const base::string16& text) { base 314 chrome/browser/ui/search/search_tab_helper.cc const base::string16& /* frame_unique_name */, base 318 chrome/browser/ui/search/search_tab_helper.cc const base::string16& /* error_description */, base 505 chrome/browser/ui/search/search_tab_helper.cc base::UserMetricsAction("InstantExtended.MostVisitedClicked")); base 542 chrome/browser/ui/search/search_tab_helper.cc int position, const base::string16& provider) { base 548 chrome/browser/ui/search/search_tab_helper.cc int position, const base::string16& provider) { base 553 chrome/browser/ui/search/search_tab_helper.cc void SearchTabHelper::PasteIntoOmnibox(const base::string16& text) { base 562 chrome/browser/ui/search/search_tab_helper.cc base::string16 text_to_paste = text.empty() ? omnibox->GetClipboardText() : base 577 chrome/browser/ui/search/search_tab_helper.cc void SearchTabHelper::OnChromeIdentityCheck(const base::string16& identity) { base 580 chrome/browser/ui/search/search_tab_helper.cc const base::string16 username = base 581 chrome/browser/ui/search/search_tab_helper.cc base::UTF8ToUTF16(manager->GetAuthenticatedUsername()); base 81 chrome/browser/ui/search/search_tab_helper.h void Submit(const base::string16& text); base 146 chrome/browser/ui/search/search_tab_helper.h const base::string16& frame_unique_name, base 150 chrome/browser/ui/search/search_tab_helper.h const base::string16& error_description, base 172 chrome/browser/ui/search/search_tab_helper.h int position, const base::string16& provider) OVERRIDE; base 174 chrome/browser/ui/search/search_tab_helper.h int position, const base::string16& provider) OVERRIDE; base 175 chrome/browser/ui/search/search_tab_helper.h virtual void PasteIntoOmnibox(const base::string16& text) OVERRIDE; base 176 chrome/browser/ui/search/search_tab_helper.h virtual void OnChromeIdentityCheck(const base::string16& identity) OVERRIDE; base 54 chrome/browser/ui/search/search_tab_helper_unittest.cc void(int position, const base::string16& provider)); base 56 chrome/browser/ui/search/search_tab_helper_unittest.cc void(int position, const base::string16& provider)); base 57 chrome/browser/ui/search/search_tab_helper_unittest.cc MOCK_METHOD1(PasteIntoOmnibox, void(const base::string16&)); base 58 chrome/browser/ui/search/search_tab_helper_unittest.cc MOCK_METHOD1(OnChromeIdentityCheck, void(const base::string16& identity)); base 154 chrome/browser/ui/search/search_tab_helper_unittest.cc const base::string16 test_identity = base::ASCIIToUTF16("foo@bar.com"); base 174 chrome/browser/ui/search/search_tab_helper_unittest.cc const base::string16 test_identity = base::ASCIIToUTF16("bar@foo.com"); base 194 chrome/browser/ui/search/search_tab_helper_unittest.cc const base::string16 test_identity; base 214 chrome/browser/ui/search/search_tab_helper_unittest.cc const base::string16 test_identity = base::ASCIIToUTF16("bar@foo.com"); base 232 chrome/browser/ui/search/search_tab_helper_unittest.cc base::string16 title_on_start() { return title_on_start_; } base 233 chrome/browser/ui/search/search_tab_helper_unittest.cc base::string16 title_on_commit() { return title_on_commit_; } base 253 chrome/browser/ui/search/search_tab_helper_unittest.cc base::string16 title_on_start_; base 254 chrome/browser/ui/search/search_tab_helper_unittest.cc base::string16 title_on_commit_; base 260 chrome/browser/ui/search/search_tab_helper_unittest.cc const base::string16 title = l10n_util::GetStringUTF16(IDS_NEW_TAB_TITLE); base 304 chrome/browser/ui/search/search_tab_helper_unittest.cc search_tab_helper->DidFailProvisionalLoad(1, base::string16(), true, base 305 chrome/browser/ui/search/search_tab_helper_unittest.cc cacheableNTPURL, 1, base::string16(), NULL); base 324 chrome/browser/ui/search/search_tab_helper_unittest.cc search_tab_helper->DidFailProvisionalLoad(1, base::string16(), true, base 325 chrome/browser/ui/search/search_tab_helper_unittest.cc cacheableNTPURL, net::ERR_ABORTED, base::string16(), NULL); base 342 chrome/browser/ui/search/search_tab_helper_unittest.cc search_tab_helper->DidFailProvisionalLoad(1, base::string16(), true, base 343 chrome/browser/ui/search/search_tab_helper_unittest.cc GURL("http://www.example.com"), 1, base::string16(), NULL); base 17 chrome/browser/ui/search_engines/edit_search_engine_controller.cc using base::UserMetricsAction; base 30 chrome/browser/ui/search_engines/edit_search_engine_controller.cc const base::string16& title_input) const { base 31 chrome/browser/ui/search_engines/edit_search_engine_controller.cc return !base::CollapseWhitespace(title_input, true).empty(); base 61 chrome/browser/ui/search_engines/edit_search_engine_controller.cc TemplateURLRef::SearchTermsArgs(base::ASCIIToUTF16("x")))).is_valid(); base 65 chrome/browser/ui/search_engines/edit_search_engine_controller.cc const base::string16& keyword_input) const { base 66 chrome/browser/ui/search_engines/edit_search_engine_controller.cc base::string16 keyword_input_trimmed( base 67 chrome/browser/ui/search_engines/edit_search_engine_controller.cc base::CollapseWhitespace(keyword_input, true)); base 77 chrome/browser/ui/search_engines/edit_search_engine_controller.cc const base::string16& title_input, base 78 chrome/browser/ui/search_engines/edit_search_engine_controller.cc const base::string16& keyword_input, base 126 chrome/browser/ui/search_engines/edit_search_engine_controller.cc base::TrimWhitespace(TemplateURLRef::DisplayURLToURLRef( base 127 chrome/browser/ui/search_engines/edit_search_engine_controller.cc base::UTF8ToUTF16(url_input)), base 128 chrome/browser/ui/search_engines/edit_search_engine_controller.cc base::TRIM_ALL, &url); base 139 chrome/browser/ui/search_engines/edit_search_engine_controller.cc TemplateURLRef::SearchTermsArgs(base::ASCIIToUTF16("x")))); base 24 chrome/browser/ui/search_engines/edit_search_engine_controller.h const base::string16& title, base 25 chrome/browser/ui/search_engines/edit_search_engine_controller.h const base::string16& keyword, base 44 chrome/browser/ui/search_engines/edit_search_engine_controller.h bool IsTitleValid(const base::string16& title_input) const; base 55 chrome/browser/ui/search_engines/edit_search_engine_controller.h bool IsKeywordValid(const base::string16& keyword_input) const; base 58 chrome/browser/ui/search_engines/edit_search_engine_controller.h void AcceptAddOrEdit(const base::string16& title_input, base 59 chrome/browser/ui/search_engines/edit_search_engine_controller.h const base::string16& keyword_input, base 17 chrome/browser/ui/search_engines/keyword_editor_controller.cc using base::UserMetricsAction; base 35 chrome/browser/ui/search_engines/keyword_editor_controller.cc int KeywordEditorController::AddTemplateURL(const base::string16& title, base 36 chrome/browser/ui/search_engines/keyword_editor_controller.cc const base::string16& keyword, base 49 chrome/browser/ui/search_engines/keyword_editor_controller.cc const base::string16& title, base 50 chrome/browser/ui/search_engines/keyword_editor_controller.cc const base::string16& keyword, base 30 chrome/browser/ui/search_engines/keyword_editor_controller.h int AddTemplateURL(const base::string16& title, base 31 chrome/browser/ui/search_engines/keyword_editor_controller.h const base::string16& keyword, base 37 chrome/browser/ui/search_engines/keyword_editor_controller.h const base::string16& title, base 38 chrome/browser/ui/search_engines/keyword_editor_controller.h const base::string16& keyword, base 22 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc using base::ASCIIToUTF16; base 24 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc static const base::string16 kA(ASCIIToUTF16("a")); base 25 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc static const base::string16 kA1(ASCIIToUTF16("a1")); base 26 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc static const base::string16 kB(ASCIIToUTF16("b")); base 27 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc static const base::string16 kB1(ASCIIToUTF16("b1")); base 75 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc new base::FundamentalValue(true)); base 77 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc new base::StringValue(url)); base 79 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc new base::StringValue("managed")); base 82 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc new base::StringValue(std::string())); base 84 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc new base::StringValue(std::string())); base 95 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc base::MessageLoopForUI message_loop_; base 36 chrome/browser/ui/search_engines/search_engine_tab_helper.cc base::string16 GenerateKeywordFromNavigationEntry( base 41 chrome/browser/ui/search_engines/search_engine_tab_helper.cc return base::string16(); base 49 chrome/browser/ui/search_engines/search_engine_tab_helper.cc return base::string16(); base 59 chrome/browser/ui/search_engines/search_engine_tab_helper.cc return base::string16(); base 126 chrome/browser/ui/search_engines/search_engine_tab_helper.cc base::string16 keyword; base 159 chrome/browser/ui/search_engines/search_engine_tab_helper.cc base::string16 keyword(GenerateKeywordFromNavigationEntry( base 100 chrome/browser/ui/search_engines/template_url_table_model.cc base::Bind(&ModelEntry::OnFaviconDataAvailable, base 101 chrome/browser/ui/search_engines/template_url_table_model.cc base::Unretained(this)), base 117 chrome/browser/ui/search_engines/template_url_table_model.cc base::CancelableTaskTracker tracker_; base 186 chrome/browser/ui/search_engines/template_url_table_model.cc base::string16 TemplateURLTableModel::GetText(int row, int col_id) { base 190 chrome/browser/ui/search_engines/template_url_table_model.cc base::string16 url_short_name = url->short_name(); base 194 chrome/browser/ui/search_engines/template_url_table_model.cc base::i18n::AdjustStringForLocaleDirection(&url_short_name); base 202 chrome/browser/ui/search_engines/template_url_table_model.cc return base::i18n::GetDisplayStringInLTRDirectionality(url->keyword()); base 264 chrome/browser/ui/search_engines/template_url_table_model.cc const base::string16& short_name, base 265 chrome/browser/ui/search_engines/template_url_table_model.cc const base::string16& keyword, base 282 chrome/browser/ui/search_engines/template_url_table_model.cc const base::string16& title, base 283 chrome/browser/ui/search_engines/template_url_table_model.cc const base::string16& keyword, base 50 chrome/browser/ui/search_engines/template_url_table_model.h virtual base::string16 GetText(int row, int column) OVERRIDE; base 62 chrome/browser/ui/search_engines/template_url_table_model.h const base::string16& short_name, base 63 chrome/browser/ui/search_engines/template_url_table_model.h const base::string16& keyword, base 68 chrome/browser/ui/search_engines/template_url_table_model.h const base::string16& title, base 69 chrome/browser/ui/search_engines/template_url_table_model.h const base::string16& keyword, base 26 chrome/browser/ui/settings_window_manager.cc content::RecordAction(base::UserMetricsAction("ShowOptions")); base 33 chrome/browser/ui/simple_message_box.h const base::string16& title, base 34 chrome/browser/ui/simple_message_box.h const base::string16& message, base 45 chrome/browser/ui/simple_message_box.h const base::string16& title, base 46 chrome/browser/ui/simple_message_box.h const base::string16& message, base 47 chrome/browser/ui/simple_message_box.h const base::string16& yes_text, base 48 chrome/browser/ui/simple_message_box.h const base::string16& no_text); base 51 chrome/browser/ui/startup/autolaunch_prompt_win.cc virtual base::string16 GetMessageText() const OVERRIDE; base 52 chrome/browser/ui/startup/autolaunch_prompt_win.cc virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 65 chrome/browser/ui/startup/autolaunch_prompt_win.cc base::WeakPtrFactory<AutolaunchInfoBarDelegate> weak_factory_; base 90 chrome/browser/ui/startup/autolaunch_prompt_win.cc base::MessageLoop::current()->PostDelayedTask( base 92 chrome/browser/ui/startup/autolaunch_prompt_win.cc base::Bind(&AutolaunchInfoBarDelegate::set_should_expire, base 94 chrome/browser/ui/startup/autolaunch_prompt_win.cc base::TimeDelta::FromSeconds(8)); base 104 chrome/browser/ui/startup/autolaunch_prompt_win.cc base::string16 AutolaunchInfoBarDelegate::GetMessageText() const { base 108 chrome/browser/ui/startup/autolaunch_prompt_win.cc base::string16 AutolaunchInfoBarDelegate::GetButtonLabel( base 121 chrome/browser/ui/startup/autolaunch_prompt_win.cc base::Bind(&auto_launch_util::DisableForegroundStartAtLogin, base 145 chrome/browser/ui/startup/autolaunch_prompt_win.cc base::FilePath(base::ASCIIToUTF16(chrome::kInitialProfile))) { base 83 chrome/browser/ui/startup/bad_flags_prompt.cc base::UTF8ToUTF16( base 92 chrome/browser/ui/startup/bad_flags_prompt.cc const base::FilePath& user_data_dir = GetInvalidSpecifiedUserDataDir(); base 109 chrome/browser/ui/startup/bad_flags_prompt.cc const base::string16& title = base 111 chrome/browser/ui/startup/bad_flags_prompt.cc const base::string16& message = base 77 chrome/browser/ui/startup/default_browser_prompt.cc virtual base::string16 GetMessageText() const OVERRIDE; base 78 chrome/browser/ui/startup/default_browser_prompt.cc virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 99 chrome/browser/ui/startup/default_browser_prompt.cc base::WeakPtrFactory<DefaultBrowserInfoBarDelegate> weak_factory_; base 124 chrome/browser/ui/startup/default_browser_prompt.cc base::MessageLoop::current()->PostDelayedTask( base 126 chrome/browser/ui/startup/default_browser_prompt.cc base::Bind(&DefaultBrowserInfoBarDelegate::AllowExpiry, base 128 chrome/browser/ui/startup/default_browser_prompt.cc base::TimeDelta::FromSeconds(8)); base 140 chrome/browser/ui/startup/default_browser_prompt.cc base::string16 DefaultBrowserInfoBarDelegate::GetMessageText() const { base 144 chrome/browser/ui/startup/default_browser_prompt.cc base::string16 DefaultBrowserInfoBarDelegate::GetButtonLabel( base 159 chrome/browser/ui/startup/default_browser_prompt.cc base::Bind(&SetChromeAsDefaultBrowser, interactive_flow_required_, base 206 chrome/browser/ui/startup/default_browser_prompt.cc base::Bind(&NotifyNotDefaultBrowserCallback, desktop_type)); base 235 chrome/browser/ui/startup/default_browser_prompt.cc base::Bind( base 236 chrome/browser/ui/startup/default_browser_prompt.cc base::IgnoreResult(&ShellIntegration::SetAsDefaultBrowser))); base 257 chrome/browser/ui/startup/default_browser_prompt.cc base::Bind(&CheckDefaultBrowserCallback, desktop_type)); base 32 chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc base::string16 GoogleApiKeysInfoBarDelegate::GetMessageText() const { base 40 chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc base::string16 GoogleApiKeysInfoBarDelegate::GetLinkText() const { base 26 chrome/browser/ui/startup/google_api_keys_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 28 chrome/browser/ui/startup/google_api_keys_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 46 chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc if (base::CPU().has_sse2()) base 64 chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc base::string16 ObsoleteSystemInfoBarDelegate::GetMessageText() const { base 78 chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc base::string16 ObsoleteSystemInfoBarDelegate::GetLinkText() const { base 27 chrome/browser/ui/startup/obsolete_system_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 29 chrome/browser/ui/startup/obsolete_system_infobar_delegate.h virtual base::string16 GetLinkText() const OVERRIDE; base 60 chrome/browser/ui/startup/session_crashed_infobar_delegate.cc base::string16 SessionCrashedInfoBarDelegate::GetMessageText() const { base 68 chrome/browser/ui/startup/session_crashed_infobar_delegate.cc base::string16 SessionCrashedInfoBarDelegate::GetButtonLabel( base 26 chrome/browser/ui/startup/session_crashed_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 28 chrome/browser/ui/startup/session_crashed_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 187 chrome/browser/ui/startup/startup_browser_creator.cc base::Bind(&ProfileLaunchObserver::ActivateProfile, base 188 chrome/browser/ui/startup/startup_browser_creator.cc base::Unretained(this))); base 233 chrome/browser/ui/startup/startup_browser_creator.cc base::LazyInstance<ProfileLaunchObserver> profile_launch_observer = base 239 chrome/browser/ui/startup/startup_browser_creator.cc void DumpBrowserHistograms(const base::FilePath& output_file) { base 240 chrome/browser/ui/startup/startup_browser_creator.cc base::ThreadRestrictions::AssertIOAllowed(); base 242 chrome/browser/ui/startup/startup_browser_creator.cc std::string output_string(base::StatisticsRecorder::ToJSON(std::string())); base 243 chrome/browser/ui/startup/startup_browser_creator.cc base::WriteFile(output_file, output_string.data(), base 274 chrome/browser/ui/startup/startup_browser_creator.cc const base::FilePath& cur_dir, base 408 chrome/browser/ui/startup/startup_browser_creator.cc const base::FilePath& cur_dir, base 414 chrome/browser/ui/startup/startup_browser_creator.cc base::FilePath param = base::FilePath(params[i]); base 434 chrome/browser/ui/startup/startup_browser_creator.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 469 chrome/browser/ui/startup/startup_browser_creator.cc const base::FilePath& cur_dir, base 538 chrome/browser/ui/startup/startup_browser_creator.cc base::Bind(&base::DoNothing)); base 576 chrome/browser/ui/startup/startup_browser_creator.cc base::FilePath output_file( base 581 chrome/browser/ui/startup/startup_browser_creator.cc base::Bind(&DumpBrowserHistograms, output_file)); base 598 chrome/browser/ui/startup/startup_browser_creator.cc base::FilePath(path), command_line, cur_dir)) { base 634 chrome/browser/ui/startup/startup_browser_creator.cc chrome::ShowUserManager(base::FilePath()); base 693 chrome/browser/ui/startup/startup_browser_creator.cc const base::FilePath& cur_dir, base 704 chrome/browser/ui/startup/startup_browser_creator.cc const base::FilePath& cur_dir, base 705 chrome/browser/ui/startup/startup_browser_creator.cc const base::FilePath& profile_path) { base 712 chrome/browser/ui/startup/startup_browser_creator.cc base::Bind(&StartupBrowserCreator::ProcessCommandLineOnProfileCreated, base 713 chrome/browser/ui/startup/startup_browser_creator.cc command_line, cur_dir), base::string16(), base::string16(), base 732 chrome/browser/ui/startup/startup_browser_creator.cc base::FilePath GetStartupProfilePath(const base::FilePath& user_data_dir, base 24 chrome/browser/ui/startup/startup_browser_creator.h namespace base { base 43 chrome/browser/ui/startup/startup_browser_creator.h bool Start(const base::CommandLine& cmd_line, base 44 chrome/browser/ui/startup/startup_browser_creator.h const base::FilePath& cur_dir, base 60 chrome/browser/ui/startup/startup_browser_creator.h const base::CommandLine& command_line, base 61 chrome/browser/ui/startup/startup_browser_creator.h const base::FilePath& cur_dir, base 62 chrome/browser/ui/startup/startup_browser_creator.h const base::FilePath& startup_profile_dir); base 73 chrome/browser/ui/startup/startup_browser_creator.h bool LaunchBrowser(const base::CommandLine& command_line, base 75 chrome/browser/ui/startup/startup_browser_creator.h const base::FilePath& cur_dir, base 86 chrome/browser/ui/startup/startup_browser_creator.h const base::CommandLine& command_line, base 122 chrome/browser/ui/startup/startup_browser_creator.h const base::CommandLine& command_line, base 123 chrome/browser/ui/startup/startup_browser_creator.h const base::FilePath& cur_dir, base 126 chrome/browser/ui/startup/startup_browser_creator.h static bool ProcessCmdLineImpl(const base::CommandLine& command_line, base 127 chrome/browser/ui/startup/startup_browser_creator.h const base::FilePath& cur_dir, base 136 chrome/browser/ui/startup/startup_browser_creator.h const base::CommandLine& command_line, base 137 chrome/browser/ui/startup/startup_browser_creator.h const base::FilePath& cur_dir, base 173 chrome/browser/ui/startup/startup_browser_creator.h base::FilePath GetStartupProfilePath(const base::FilePath& user_data_dir, base 174 chrome/browser/ui/startup/startup_browser_creator.h const base::CommandLine& command_line); base 176 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, first_run); base 211 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, first_run); base 241 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 242 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 244 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 245 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html")))); base 256 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, first_run); base 281 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), command_line, first_run); base 310 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), command_line, first_run); base 341 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), command_line, first_run); base 404 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 439 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 464 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, base 490 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, base 524 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 557 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 596 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path = profile_manager->user_data_dir(); base 605 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 606 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 609 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 610 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html")))); base 661 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path = profile_manager->user_data_dir(); base 674 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 675 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 678 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 679 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html")))); base 708 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path = profile_manager->user_data_dir(); base 730 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 770 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path1 = profile_manager->user_data_dir().Append( base 772 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path2 = profile_manager->user_data_dir().Append( base 774 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path3 = profile_manager->user_data_dir().Append( base 776 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path4 = profile_manager->user_data_dir().Append( base 799 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 800 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 829 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 876 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path1 = profile_manager->user_data_dir().Append( base 878 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path2 = profile_manager->user_data_dir().Append( base 880 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath dest_path3 = profile_manager->user_data_dir().Append( base 899 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 900 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 985 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 1035 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::Value::CreateBooleanValue(false), NULL); base 1068 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 1109 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 1151 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 1197 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 1244 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 1291 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 1335 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 1377 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::Value::CreateIntegerValue( base 1380 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::ListValue startup_urls; base 1381 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc startup_urls.Append(base::Value::CreateStringValue( base 1387 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc base::RunLoop().RunUntilIdle(); base 1391 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc StartupBrowserCreatorImpl launch(base::FilePath(), dummy, &browser_creator, base 143 chrome/browser/ui/startup/startup_browser_creator_impl.cc base::string16 shortcut(si.lpTitle); base 145 chrome/browser/ui/startup/startup_browser_creator_impl.cc if (shortcut.find(L"\\Quick Launch\\") != base::string16::npos) { base 146 chrome/browser/ui/startup/startup_browser_creator_impl.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7) base 151 chrome/browser/ui/startup/startup_browser_creator_impl.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 155 chrome/browser/ui/startup/startup_browser_creator_impl.cc shortcut.find(base::ASCIIToWide(appdata_path)) != std::wstring::npos) base 310 chrome/browser/ui/startup/startup_browser_creator_impl.cc const base::FilePath& cur_dir, base 321 chrome/browser/ui/startup/startup_browser_creator_impl.cc const base::FilePath& cur_dir, base 545 chrome/browser/ui/startup/startup_browser_creator_impl.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 647 chrome/browser/ui/startup/startup_browser_creator_impl.cc if (base::mac::WasLaunchedAsLoginOrResumeItem()) { base 22 chrome/browser/ui/startup/startup_browser_creator_impl.h namespace base { base 43 chrome/browser/ui/startup/startup_browser_creator_impl.h StartupBrowserCreatorImpl(const base::FilePath& cur_dir, base 44 chrome/browser/ui/startup/startup_browser_creator_impl.h const base::CommandLine& command_line, base 46 chrome/browser/ui/startup/startup_browser_creator_impl.h StartupBrowserCreatorImpl(const base::FilePath& cur_dir, base 47 chrome/browser/ui/startup/startup_browser_creator_impl.h const base::CommandLine& command_line, base 154 chrome/browser/ui/startup/startup_browser_creator_impl.h const base::FilePath cur_dir_; base 155 chrome/browser/ui/startup/startup_browser_creator_impl.h const base::CommandLine& command_line_; base 53 chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 54 chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc base::FilePath(FILE_PATH_LITERAL("title1.html")))); base 74 chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc base::MessageLoop::current()->RunUntilIdle(); base 19 chrome/browser/ui/startup/startup_browser_creator_win.cc base::string16 params; base 20 chrome/browser/ui/startup/startup_browser_creator_win.cc base::win::MetroLaunchType launch_type = base 21 chrome/browser/ui/startup/startup_browser_creator_win.cc base::win::GetMetroLaunchParams(¶ms); base 22 chrome/browser/ui/startup/startup_browser_creator_win.cc if ((launch_type == base::win::METRO_PROTOCOL) || base 23 chrome/browser/ui/startup/startup_browser_creator_win.cc (launch_type == base::win::METRO_LAUNCH)) base 25 chrome/browser/ui/startup/startup_browser_creator_win.cc return (launch_type == base::win::METRO_SEARCH) ? base 34 chrome/browser/ui/status_bubble.h virtual void SetStatus(const base::string16& status) = 0; base 26 chrome/browser/ui/sync/inline_login_dialog.cc base::string16 InlineLoginDialog::GetDialogTitle() const { base 27 chrome/browser/ui/sync/inline_login_dialog.cc return base::string16(); base 29 chrome/browser/ui/sync/inline_login_dialog.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 106 chrome/browser/ui/sync/one_click_signin_helper.cc typedef base::Callback<void(Action)> Callback; base 122 chrome/browser/ui/sync/one_click_signin_helper.cc virtual base::string16 GetTitle() OVERRIDE; base 123 chrome/browser/ui/sync/one_click_signin_helper.cc virtual base::string16 GetDialogMessage() OVERRIDE; base 124 chrome/browser/ui/sync/one_click_signin_helper.cc virtual base::string16 GetAcceptButtonTitle() OVERRIDE; base 125 chrome/browser/ui/sync/one_click_signin_helper.cc virtual base::string16 GetCancelButtonTitle() OVERRIDE; base 126 chrome/browser/ui/sync/one_click_signin_helper.cc virtual base::string16 GetLinkText() const OVERRIDE; base 168 chrome/browser/ui/sync/one_click_signin_helper.cc base::string16 ConfirmEmailDialogDelegate::GetTitle() { base 173 chrome/browser/ui/sync/one_click_signin_helper.cc base::string16 ConfirmEmailDialogDelegate::GetDialogMessage() { base 176 chrome/browser/ui/sync/one_click_signin_helper.cc base::UTF8ToUTF16(last_email_), base::UTF8ToUTF16(email_)); base 179 chrome/browser/ui/sync/one_click_signin_helper.cc base::string16 ConfirmEmailDialogDelegate::GetAcceptButtonTitle() { base 184 chrome/browser/ui/sync/one_click_signin_helper.cc base::string16 ConfirmEmailDialogDelegate::GetCancelButtonTitle() { base 189 chrome/browser/ui/sync/one_click_signin_helper.cc base::string16 ConfirmEmailDialogDelegate::GetLinkText() const { base 194 chrome/browser/ui/sync/one_click_signin_helper.cc base::ResetAndReturn(&callback_).Run(CREATE_NEW_USER); base 198 chrome/browser/ui/sync/one_click_signin_helper.cc base::ResetAndReturn(&callback_).Run(START_SYNC); base 202 chrome/browser/ui/sync/one_click_signin_helper.cc base::ResetAndReturn(&callback_).Run(CLOSE); base 228 chrome/browser/ui/sync/one_click_signin_helper.cc updater->AppendIfNotPresent(new base::StringValue(email)); base 314 chrome/browser/ui/sync/one_click_signin_helper.cc base::MessageLoopProxy::current()->PostNonNestableTask( base 316 chrome/browser/ui/sync/one_click_signin_helper.cc base::Bind(RedirectToNtpOrAppsPageWithIds, base 432 chrome/browser/ui/sync/one_click_signin_helper.cc const base::string16& frame_unique_name, base 456 chrome/browser/ui/sync/one_click_signin_helper.cc const base::string16& frame_unique_name, base 586 chrome/browser/ui/sync/one_click_signin_helper.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 592 chrome/browser/ui/sync/one_click_signin_helper.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 610 chrome/browser/ui/sync/one_click_signin_helper.cc base::Bind(&SyncStarterWrapper::OnGaiaCookiesFetched, base 640 chrome/browser/ui/sync/one_click_signin_helper.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 650 chrome/browser/ui/sync/one_click_signin_helper.cc base::string16(), // No email required - this is not a SAML confirmation. base 651 chrome/browser/ui/sync/one_click_signin_helper.cc base::UTF8ToUTF16(error_message), base 698 chrome/browser/ui/sync/one_click_signin_helper.cc base::Bind(&OneClickSigninHelper::PasswordSubmitted, base 841 chrome/browser/ui/sync/one_click_signin_helper.cc base::UTF8ToUTF16(current_email))); base 854 chrome/browser/ui/sync/one_click_signin_helper.cc base::UTF16ToUTF8(cache.GetUserNameOfProfileAtIndex(i)); base 869 chrome/browser/ui/sync/one_click_signin_helper.cc const base::ListValue* rejected_emails = profile->GetPrefs()->GetList( base 872 chrome/browser/ui/sync/one_click_signin_helper.cc base::ListValue::const_iterator iter = rejected_emails->Find( base 873 chrome/browser/ui/sync/one_click_signin_helper.cc base::StringValue(email)); base 894 chrome/browser/ui/sync/one_click_signin_helper.cc base::SupportsUserData* request, base 942 chrome/browser/ui/sync/one_click_signin_helper.cc base::UTF8ToUTF16(pending_email)) > 0) { base 974 chrome/browser/ui/sync/one_click_signin_helper.cc base::SplitStringIntoKeyValuePairs(google_accounts_signin_value, '=', ',', base 983 chrome/browser/ui/sync/one_click_signin_helper.cc base::TrimString(value, "\"", &email); base 1006 chrome/browser/ui/sync/one_click_signin_helper.cc base::SplitString(google_chrome_signin_value, ',', &tokens); base 1043 chrome/browser/ui/sync/one_click_signin_helper.cc base::Bind(&OneClickSigninHelper::ShowInfoBarUIThread, session_index, base 1149 chrome/browser/ui/sync/one_click_signin_helper.cc base::string16(), /* no SAML email */ base 1150 chrome/browser/ui/sync/one_click_signin_helper.cc base::UTF8ToUTF16(error), base 1186 chrome/browser/ui/sync/one_click_signin_helper.cc base::Bind( base 1265 chrome/browser/ui/sync/one_click_signin_helper.cc base::Bind(&ClearPendingEmailOnIOThread, base 1266 chrome/browser/ui/sync/one_click_signin_helper.cc base::Unretained(profile->GetResourceContext()))); base 1275 chrome/browser/ui/sync/one_click_signin_helper.cc password_ = base::UTF16ToUTF8(form.password_value); base 1622 chrome/browser/ui/sync/one_click_signin_helper.cc base::MessageLoop::current()->PostTask( base 1624 chrome/browser/ui/sync/one_click_signin_helper.cc base::Bind(&CloseTab, base::Unretained(contents))); base 1651 chrome/browser/ui/sync/one_click_signin_helper.cc return base::Bind(&OneClickSigninHelper::SyncSetupCompletedCallback, base 165 chrome/browser/ui/sync/one_click_signin_helper.h base::WeakPtrFactory<SyncStarterWrapper> weak_pointer_factory_; base 297 chrome/browser/ui/sync/one_click_signin_helper.h base::SupportsUserData* request, base 393 chrome/browser/ui/sync/one_click_signin_helper.h base::WeakPtrFactory<OneClickSigninHelper> weak_pointer_factory_; base 167 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc class TestURLRequest : public base::SupportsUserData { base 298 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc updater->AppendIfNotPresent(new base::StringValue(email)); base 337 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc password_form.password_value = base::UTF8ToUTF16("password"); base 515 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc base::UTF8ToUTF16("foo@gmail.com")), base 527 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc base::UTF8ToUTF16("foo@gmail.com")), base 646 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc prefs::kSigninAllowed, base::Value::CreateBooleanValue(false)); base 654 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc prefs::kSigninAllowed, base::Value::CreateBooleanValue(true)); base 658 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc sync_driver::prefs::kSyncManaged, base::Value::CreateBooleanValue(true)); base 843 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc const base::FilePath& user_data_dir = cache->GetUserDataDir(); base 845 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc base::UTF8ToUTF16("user"), base 846 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc base::UTF8ToUTF16("user@gmail.com"), 0, base 884 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc prefs::kSigninAllowed, base::Value::CreateBooleanValue(false)); base 891 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc prefs::kSigninAllowed, base::Value::CreateBooleanValue(true)); base 896 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc sync_driver::prefs::kSyncManaged, base::Value::CreateBooleanValue(true)); base 933 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 1021 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 1035 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 1048 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 72 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::Bind(&OneClickSigninSyncStarter::ConfirmSignin, base 124 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::Bind(&OneClickSigninSyncStarter::OnRegisteredForPolicy, base 139 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::WeakPtr<OneClickSigninSyncStarter> sync_starter) base 207 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::Bind(&OneClickSigninSyncStarter::OnPolicyFetchComplete, base 230 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::UTF8ToUTF16(signin->GetUsernameForAuthInProgress()), base 231 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::UTF8ToUTF16(ProfileInfoCache::GetDefaultAvatarIconUrl(icon_index)), base 232 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::Bind(&OneClickSigninSyncStarter::CompleteInitForNewProfile, base 317 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::UTF8ToUTF16(signin->GetUsernameForAuthInProgress()), base 318 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::string16(), // No error message to display. base 319 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::Bind(&OneClickSigninSyncStarter::UntrustedSigninConfirmed, base 386 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::string16 message; base 409 chrome/browser/ui/sync/one_click_signin_sync_starter.cc const base::string16& custom_message) { base 413 chrome/browser/ui/sync/one_click_signin_sync_starter.cc base::string16(), // No email required - this is not a SAML confirmation. base 73 chrome/browser/ui/sync/one_click_signin_sync_starter.h typedef base::Callback<void(SyncSetupResult)> Callback; base 130 chrome/browser/ui/sync/one_click_signin_sync_starter.h base::WeakPtr<OneClickSigninSyncStarter> sync_starter); base 136 chrome/browser/ui/sync/one_click_signin_sync_starter.h base::WeakPtr<OneClickSigninSyncStarter> sync_starter_; base 203 chrome/browser/ui/sync/one_click_signin_sync_starter.h void DisplayFinalConfirmationBubble(const base::string16& custom_message); base 223 chrome/browser/ui/sync/one_click_signin_sync_starter.h base::WeakPtrFactory<OneClickSigninSyncStarter> weak_pointer_factory_; base 94 chrome/browser/ui/sync/one_click_signin_sync_starter_unittest.cc CreateSyncStarter(base::Bind(&OneClickSigninSyncStarterTest::Callback, base 95 chrome/browser/ui/sync/one_click_signin_sync_starter_unittest.cc base::Unretained(this))); base 35 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc HasTypedURLsTask(const base::Callback<void(bool)>& cb) base 58 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc base::Callback<void(bool)> cb_; base 71 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc : public base::RefCounted<ProfileSigninConfirmationHelper> { base 75 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc const base::Callback<void(bool)>& return_result); base 103 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc const base::Callback<void(bool)> return_result_; base 110 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc const base::Callback<void(bool)>& return_result) base 144 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc base::string16(), opts, &request_consumer_, base 145 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc base::Bind(&ProfileSigninConfirmationHelper::OnHistoryQueryResults, base 159 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc base::Bind( base 222 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc const base::Callback<void(bool)>& return_result) { base 34 chrome/browser/ui/sync/profile_signin_confirmation_helper.h const base::Callback<void(bool)>& cb); base 52 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc void GetValueAndQuit(T* result, const base::Closure& quit, T actual) { base 59 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc const base::Callback<void(const base::Callback<void(T)>&)>& callback) { base 61 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::RunLoop loop; base 62 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc callback.Run(base::Bind(&GetValueAndQuit<T>, &result, loop.QuitClosure())); base 90 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc const base::FilePath::CharType kExtensionFilePath[] = base 93 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc const base::FilePath::CharType kExtensionFilePath[] = base 100 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::DictionaryValue manifest; base 106 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::FilePath(kExtensionFilePath).AppendASCII(name), base 148 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::FilePath(kExtensionFilePath), base 156 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 176 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::Bind( base 186 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::string16(base::ASCIIToUTF16("foo")), base 190 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::Bind( base 209 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::Bind(&ui::CheckShouldPromptForNewProfile, profile_.get()))); base 217 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::Bind(&ui::CheckShouldPromptForNewProfile, profile_.get()))); base 230 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::snprintf(buf, arraysize(buf), "http://foo.com/%d", i); base 232 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc GURL(std::string(buf)), base::Time::Now(), NULL, 1, base 238 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::Bind( base 251 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc GURL("http://example.com"), base::Time::Now(), NULL, 1, base 256 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::Bind( base 266 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc base::Bind( base 47 chrome/browser/ui/tab_contents/core_tab_helper.cc base::string16 CoreTabHelper::GetDefaultTitle() { base 51 chrome/browser/ui/tab_contents/core_tab_helper.cc base::string16 CoreTabHelper::GetStatusText() const { base 54 chrome/browser/ui/tab_contents/core_tab_helper.cc return base::string16(); base 107 chrome/browser/ui/tab_contents/core_tab_helper.cc return base::string16(); base 112 chrome/browser/ui/tab_contents/core_tab_helper.cc close_start_time_ = base::TimeTicks::Now(); base 116 chrome/browser/ui/tab_contents/core_tab_helper.cc close_start_time_ = base::TimeTicks(); base 117 chrome/browser/ui/tab_contents/core_tab_helper.cc before_unload_end_time_ = base::TimeTicks(); base 118 chrome/browser/ui/tab_contents/core_tab_helper.cc unload_detached_start_time_ = base::TimeTicks(); base 122 chrome/browser/ui/tab_contents/core_tab_helper.cc before_unload_end_time_ = base::TimeTicks::Now(); base 127 chrome/browser/ui/tab_contents/core_tab_helper.cc unload_detached_start_time_ = base::TimeTicks::Now(); base 160 chrome/browser/ui/tab_contents/core_tab_helper.cc base::TimeTicks now = base::TimeTicks::Now(); base 161 chrome/browser/ui/tab_contents/core_tab_helper.cc base::TimeDelta close_time = now - close_start_time_; base 164 chrome/browser/ui/tab_contents/core_tab_helper.cc base::TimeTicks unload_start_time = close_start_time_; base 165 chrome/browser/ui/tab_contents/core_tab_helper.cc base::TimeTicks unload_end_time = now; base 170 chrome/browser/ui/tab_contents/core_tab_helper.cc base::TimeDelta unload_time = unload_end_time - unload_start_time; base 173 chrome/browser/ui/tab_contents/core_tab_helper.cc base::TimeTicks now = base::TimeTicks::Now(); base 174 chrome/browser/ui/tab_contents/core_tab_helper.cc base::TimeTicks unload_start_time = close_start_time_; base 183 chrome/browser/ui/tab_contents/core_tab_helper.cc void CoreTabHelper::BeforeUnloadFired(const base::TimeTicks& proceed_time) { base 230 chrome/browser/ui/tab_contents/core_tab_helper.cc TemplateURLRef::SearchTermsArgs(base::string16()); base 251 chrome/browser/ui/tab_contents/core_tab_helper.cc base::RefCountedString::TakeString(post_data); base 252 chrome/browser/ui/tab_contents/core_tab_helper.cc open_url_params.extra_headers += base::StringPrintf( base 21 chrome/browser/ui/tab_contents/core_tab_helper.h static base::string16 GetDefaultTitle(); base 24 chrome/browser/ui/tab_contents/core_tab_helper.h base::string16 GetStatusText() const; base 47 chrome/browser/ui/tab_contents/core_tab_helper.h void set_new_tab_start_time(const base::TimeTicks& time) { base 51 chrome/browser/ui/tab_contents/core_tab_helper.h base::TimeTicks new_tab_start_time() const { return new_tab_start_time_; } base 64 chrome/browser/ui/tab_contents/core_tab_helper.h virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) OVERRIDE; base 76 chrome/browser/ui/tab_contents/core_tab_helper.h base::TimeTicks new_tab_start_time_; base 79 chrome/browser/ui/tab_contents/core_tab_helper.h base::TimeTicks close_start_time_; base 82 chrome/browser/ui/tab_contents/core_tab_helper.h base::TimeTicks before_unload_end_time_; base 85 chrome/browser/ui/tab_contents/core_tab_helper.h base::TimeTicks unload_detached_start_time_; base 203 chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc ProfileManager* profile_manager = new ProfileManager(base::FilePath()); base 97 chrome/browser/ui/tab_helpers.cc base::SupportsUserData::Data* adoption_tag = base 104 chrome/browser/ui/tab_helpers.cc new base::SupportsUserData::Data()); base 29 chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc base::string16 MockTabModalConfirmDialogDelegate::GetTitle() { base 30 chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc return base::string16(); base 33 chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc base::string16 MockTabModalConfirmDialogDelegate::GetDialogMessage() { base 34 chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc return base::string16(); base 133 chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc base::MessageLoopForUI::current()->PostTask(FROM_HERE, base 134 chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc base::Bind(&chrome::AttemptExit)); base 29 chrome/browser/ui/tab_modal_confirm_dialog_browsertest.h virtual base::string16 GetTitle() OVERRIDE; base 30 chrome/browser/ui/tab_modal_confirm_dialog_browsertest.h virtual base::string16 GetDialogMessage() OVERRIDE; base 83 chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc base::string16 TabModalConfirmDialogDelegate::GetAcceptButtonTitle() { base 87 chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc base::string16 TabModalConfirmDialogDelegate::GetCancelButtonTitle() { base 91 chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc base::string16 TabModalConfirmDialogDelegate::GetLinkText() const { base 92 chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc return base::string16(); base 73 chrome/browser/ui/tab_modal_confirm_dialog_delegate.h virtual base::string16 GetTitle() = 0; base 74 chrome/browser/ui/tab_modal_confirm_dialog_delegate.h virtual base::string16 GetDialogMessage() = 0; base 82 chrome/browser/ui/tab_modal_confirm_dialog_delegate.h virtual base::string16 GetAcceptButtonTitle(); base 83 chrome/browser/ui/tab_modal_confirm_dialog_delegate.h virtual base::string16 GetCancelButtonTitle(); base 87 chrome/browser/ui/tab_modal_confirm_dialog_delegate.h virtual base::string16 GetLinkText() const; base 35 chrome/browser/ui/tabs/hover_tab_selector.cc const base::TimeDelta kHoverTransitionDelay = base 36 chrome/browser/ui/tabs/hover_tab_selector.cc base::TimeDelta::FromMilliseconds(500); base 38 chrome/browser/ui/tabs/hover_tab_selector.cc base::MessageLoop::current()->PostDelayedTask( base 40 chrome/browser/ui/tabs/hover_tab_selector.cc base::Bind(&HoverTabSelector::PerformTabTransition, base 39 chrome/browser/ui/tabs/hover_tab_selector.h base::WeakPtrFactory<HoverTabSelector> weak_factory_; base 42 chrome/browser/ui/tabs/pinned_tab_codec.cc static void EncodeTab(const StartupTab& tab, base::ListValue* values) { base 43 chrome/browser/ui/tabs/pinned_tab_codec.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue); base 54 chrome/browser/ui/tabs/pinned_tab_codec.cc base::ListValue* values) { base 55 chrome/browser/ui/tabs/pinned_tab_codec.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 81 chrome/browser/ui/tabs/pinned_tab_codec.cc static void EncodePinnedTabs(Browser* browser, base::ListValue* values) { base 89 chrome/browser/ui/tabs/pinned_tab_codec.cc static bool DecodeTab(const base::DictionaryValue& value, StartupTab* tab) { base 116 chrome/browser/ui/tabs/pinned_tab_codec.cc base::ListValue values; base 135 chrome/browser/ui/tabs/pinned_tab_codec.cc base::ListValue* values = update.Get(); base 150 chrome/browser/ui/tabs/pinned_tab_codec.cc StartupTabs PinnedTabCodec::ReadPinnedTabs(const base::Value* value) { base 153 chrome/browser/ui/tabs/pinned_tab_codec.cc const base::ListValue* tabs_list = NULL; base 158 chrome/browser/ui/tabs/pinned_tab_codec.cc const base::DictionaryValue* tab_values = NULL; base 15 chrome/browser/ui/tabs/pinned_tab_codec.h namespace base { base 43 chrome/browser/ui/tabs/pinned_tab_codec.h static StartupTabs ReadPinnedTabs(const base::Value* value); base 30 chrome/browser/ui/tabs/tab_strip_model.cc using base::UserMetricsAction; base 97 chrome/browser/ui/tabs/tab_strip_model_unittest.cc class TabStripModelTestIDUserData : public base::SupportsUserData::Data { base 212 chrome/browser/ui/tabs/tab_strip_model_unittest.cc actual += base::IntToString(GetID(model.GetWebContentsAt(i))); base 232 chrome/browser/ui/tabs/tab_strip_model_unittest.cc result += base::IntToString(indices[i]); base 251 chrome/browser/ui/tabs/tab_strip_model_unittest.cc base::SplitStringAlongWhitespace(selected_tabs, &selection); base 254 chrome/browser/ui/tabs/tab_strip_model_unittest.cc ASSERT_TRUE(base::StringToInt(selection[i], &value)); base 1781 chrome/browser/ui/tabs/tab_strip_model_unittest.cc base::FilePath path(FILE_PATH_LITERAL("c:\\foo")); base 1783 chrome/browser/ui/tabs/tab_strip_model_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/foo")); base 1786 chrome/browser/ui/tabs/tab_strip_model_unittest.cc base::DictionaryValue manifest; base 45 chrome/browser/ui/tabs/tab_utils.cc const base::TimeDelta interval) base 69 chrome/browser/ui/tabs/tab_utils.cc const base::TimeDelta interval = base 70 chrome/browser/ui/tabs/tab_utils.cc base::TimeDelta::FromMilliseconds(kIndicatorFrameIntervalMs); base 175 chrome/browser/ui/tabs/tab_utils.cc const base::TimeDelta interval = base 176 chrome/browser/ui/tabs/tab_utils.cc base::TimeDelta::FromMilliseconds(kIndicatorFrameIntervalMs); base 183 chrome/browser/ui/tabs/tab_utils.cc base::string16 AssembleTabTooltipText(const base::string16& title, base 188 chrome/browser/ui/tabs/tab_utils.cc base::string16 result = title; base 79 chrome/browser/ui/tabs/tab_utils.h base::string16 AssembleTabTooltipText(const base::string16& title, base 27 chrome/browser/ui/test/test_confirm_bubble_model.cc base::string16 TestConfirmBubbleModel::GetTitle() const { base 28 chrome/browser/ui/test/test_confirm_bubble_model.cc return base::ASCIIToUTF16("Test"); base 31 chrome/browser/ui/test/test_confirm_bubble_model.cc base::string16 TestConfirmBubbleModel::GetMessageText() const { base 32 chrome/browser/ui/test/test_confirm_bubble_model.cc return base::ASCIIToUTF16("Test Message"); base 45 chrome/browser/ui/test/test_confirm_bubble_model.cc base::string16 TestConfirmBubbleModel::GetButtonLabel( base 47 chrome/browser/ui/test/test_confirm_bubble_model.cc return button == BUTTON_OK ? base::ASCIIToUTF16("OK") base 48 chrome/browser/ui/test/test_confirm_bubble_model.cc : base::ASCIIToUTF16("Cancel"); base 61 chrome/browser/ui/test/test_confirm_bubble_model.cc base::string16 TestConfirmBubbleModel::GetLinkText() const { base 62 chrome/browser/ui/test/test_confirm_bubble_model.cc return base::ASCIIToUTF16("Link"); base 22 chrome/browser/ui/test/test_confirm_bubble_model.h virtual base::string16 GetTitle() const OVERRIDE; base 23 chrome/browser/ui/test/test_confirm_bubble_model.h virtual base::string16 GetMessageText() const OVERRIDE; base 26 chrome/browser/ui/test/test_confirm_bubble_model.h virtual base::string16 GetButtonLabel(BubbleButton button) const OVERRIDE; base 29 chrome/browser/ui/test/test_confirm_bubble_model.h virtual base::string16 GetLinkText() const OVERRIDE; base 14 chrome/browser/ui/tests/elide_url_unittest.cc using base::UTF8ToUTF16; base 86 chrome/browser/ui/tests/elide_url_unittest.cc base::string16 expected = base 193 chrome/browser/ui/tests/elide_url_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("google.com"), base 195 chrome/browser/ui/tests/elide_url_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(kEllipsisStr + ".google.com"), base 197 chrome/browser/ui/tests/elide_url_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("foo.bar"), base 35 chrome/browser/ui/toolbar/back_forward_menu_model.cc using base::UserMetricsAction; base 93 chrome/browser/ui/toolbar/back_forward_menu_model.cc base::string16 BackForwardMenuModel::GetLabelAt(int index) const { base 100 chrome/browser/ui/toolbar/back_forward_menu_model.cc return base::string16(); base 107 chrome/browser/ui/toolbar/back_forward_menu_model.cc base::string16 menu_text(entry->GetTitleForDisplay( base 113 chrome/browser/ui/toolbar/back_forward_menu_model.cc for (size_t i = menu_text.find('&'); i != base::string16::npos; base 261 chrome/browser/ui/toolbar/back_forward_menu_model.cc base::Bind(&BackForwardMenuModel::OnFavIconDataAvailable, base 262 chrome/browser/ui/toolbar/back_forward_menu_model.cc base::Unretained(this), base 418 chrome/browser/ui/toolbar/back_forward_menu_model.cc base::string16 BackForwardMenuModel::GetShowFullHistoryLabel() const { base 481 chrome/browser/ui/toolbar/back_forward_menu_model.cc metric_string += base::IntToString(index + 1); base 63 chrome/browser/ui/toolbar/back_forward_menu_model.h virtual base::string16 GetLabelAt(int index) const OVERRIDE; base 176 chrome/browser/ui/toolbar/back_forward_menu_model.h base::string16 GetShowFullHistoryLabel() const; base 207 chrome/browser/ui/toolbar/back_forward_menu_model.h base::CancelableTaskTracker cancelable_task_tracker_; base 31 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc using base::ASCIIToUTF16; base 51 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc base::MessageLoop::current()->Quit(); base 81 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc controller().GetLastCommittedEntry()->SetTitle(base::UTF8ToUTF16(title)); base 349 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(base::string16(), back_model->GetLabelAt(index++)); base 357 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(base::string16(), back_model->GetLabelAt(index + 1)); base 375 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(base::string16(), back_model->GetLabelAt(index)); base 398 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(base::string16(), forward_model->GetLabelAt(index++)); base 406 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(base::string16(), forward_model->GetLabelAt(index + 1)); base 526 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc url1, base::Time::Now(), history::SOURCE_BROWSED); base 539 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc base::MessageLoop::current()->Run(); base 108 chrome/browser/ui/toolbar/encoding_menu_controller.cc EncodingMenuItem separator(0, base::string16()); base 133 chrome/browser/ui/toolbar/encoding_menu_controller.cc base::string16 encoding = it->encoding_display_name; base 134 chrome/browser/ui/toolbar/encoding_menu_controller.cc base::i18n::AdjustStringForLocaleDirection(&encoding); base 25 chrome/browser/ui/toolbar/encoding_menu_controller.h typedef std::pair<int, base::string16> EncodingMenuItem; base 26 chrome/browser/ui/toolbar/encoding_menu_controller_unittest.cc base::MessageLoop message_loop_; base 160 chrome/browser/ui/toolbar/origin_chip_info.cc base::string16 OriginChip::LabelFromURLForProfile(const GURL& provided_url, base 171 chrome/browser/ui/toolbar/origin_chip_info.cc return base::UTF8ToUTF16(url.spec()); base 187 chrome/browser/ui/toolbar/origin_chip_info.cc base::UTF8ToUTF16(extension->name()) : base::UTF8ToUTF16(url.host()); base 203 chrome/browser/ui/toolbar/origin_chip_info.cc base::string16 formatted = net::FormatUrl(url.GetOrigin(), languages, base 206 chrome/browser/ui/toolbar/origin_chip_info.cc if (StartsWith(formatted, base::ASCIIToUTF16("http://"), false)) base 208 chrome/browser/ui/toolbar/origin_chip_info.cc else if (StartsWith(formatted, base::ASCIIToUTF16("https://"), false)) base 210 chrome/browser/ui/toolbar/origin_chip_info.cc else if (StartsWith(formatted, base::ASCIIToUTF16("ftp://"), false)) base 212 chrome/browser/ui/toolbar/origin_chip_info.cc if (StartsWith(formatted, base::ASCIIToUTF16("www."), false)) base 214 chrome/browser/ui/toolbar/origin_chip_info.cc if (EndsWith(formatted, base::ASCIIToUTF16("/"), false)) base 234 chrome/browser/ui/toolbar/origin_chip_info.cc base::TruncateUTF8ToByteSize(url.spec(), 1000, &truncated_url); base 235 chrome/browser/ui/toolbar/origin_chip_info.cc return base::UTF8ToUTF16(truncated_url); base 241 chrome/browser/ui/toolbar/origin_chip_info.cc return base::UTF8ToUTF16(url.spec()); base 245 chrome/browser/ui/toolbar/origin_chip_info.cc return base::UTF8ToUTF16(url.host()); base 34 chrome/browser/ui/toolbar/origin_chip_info.h const base::string16& label() const { return label_; } base 64 chrome/browser/ui/toolbar/origin_chip_info.h base::string16 label_; base 85 chrome/browser/ui/toolbar/origin_chip_info.h static base::string16 LabelFromURLForProfile(const GURL& provided_url, base 110 chrome/browser/ui/toolbar/origin_chip_info_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("example.com"), info()->label()); base 117 chrome/browser/ui/toolbar/origin_chip_info_unittest.cc toolbar_model()->set_ev_cert_name(base::ASCIIToUTF16("Example [US]")); base 120 chrome/browser/ui/toolbar/origin_chip_info_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Example [US] example.com"), info()->label()); base 153 chrome/browser/ui/toolbar/origin_chip_info_unittest.cc base::FilePath(), base 170 chrome/browser/ui/toolbar/origin_chip_info_unittest.cc SetURL(base::StringPrintf("chrome-extension://%s/index.html", kFooId), true); base 172 chrome/browser/ui/toolbar/origin_chip_info_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(kFooName), info()->label()); base 25 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::string16 title; base 26 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::Time timestamp; base 41 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc return std::string(kBaseSessionTag + base::IntToString(session_id)); base 45 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc return std::string(kBaseSessionName + base::IntToString(session_id)); base 51 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc return base::StringPrintf(kTabTitleFormat, session_id, window_id, tab_id); base 65 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::Time timestamp; base 66 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::string16 title; base 83 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc start_time_ = base::Time::Now(); base 104 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::Time RecentTabsBuilderTestHelper::GetSessionTimestamp(int session_index) { base 105 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc std::vector<base::Time> timestamps; base 112 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc return base::Time::Now(); base 134 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::Time timestamp = base 135 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc start_time_ + base::TimeDelta::FromMinutes(base::RandUint64()); base 136 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc AddTabWithInfo(session_index, window_index, timestamp, base::string16()); base 141 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::Time timestamp, base 142 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc const base::string16& title) { base 161 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::Time RecentTabsBuilderTestHelper::GetTabTimestamp(int session_index, base 168 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::string16 RecentTabsBuilderTestHelper::GetTabTitle(int session_index, base 171 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc base::string16 title = base 174 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc title = base::UTF8ToUTF16(ToTabTitle( base 245 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc std::vector<base::string16> base 260 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc std::vector<base::string16> titles; base 311 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc navigation->set_title(base::UTF16ToUTF8(GetTabTitle( base 32 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.h base::Time GetSessionTimestamp(int session_index); base 41 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.h base::Time timestamp, base 42 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.h const base::string16& title); base 47 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.h base::Time GetTabTimestamp(int session_index, base 50 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.h base::string16 GetTabTitle(int session_index, base 59 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.h std::vector<base::string16> GetTabTitlesSortedByRecency(); base 78 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.h base::Time start_time_; base 145 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc const base::string16& title, base 160 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc base::string16 title; base 340 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc base::string16* title) { base 482 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc AddItem(command_id, base::UTF8ToUTF16(session->session_name)); base 503 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc const base::string16& title, base 512 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc title.empty() ? base::UTF8ToUTF16(item.url.spec()) : title); base 529 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc base::IntToString16(num_tabs))); base 551 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc base::UTF8ToUTF16(item.url.spec()) : current_navigation.title()); base 594 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc scoped_refptr<base::RefCountedMemory> favicon_png; base 616 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc base::Bind(&RecentTabsSubMenuModel::OnFaviconDataAvailable, base 69 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h base::string16* title); base 89 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h const base::string16& title, base 162 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h base::CancelableTaskTracker local_tab_cancelable_task_tracker_; base 163 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h base::CancelableTaskTracker other_devices_tab_cancelable_task_tracker_; base 165 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h base::WeakPtrFactory<RecentTabsSubMenuModel> weak_ptr_factory_; base 142 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc base::RunLoop().RunUntilIdle(); base 217 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc base::string16 title; base 260 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc base::string16 title; base 371 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc base::string16 title; base 384 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc base::Time timestamp = base::Time::Now(); base 385 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc const base::TimeDelta time_delta = base::TimeDelta::FromMinutes(10); base 394 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc recent_tabs_builder.AddTabWithInfo(0, 0, timestamp, base::string16()); base 402 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc recent_tabs_builder.AddTabWithInfo(1, 0, timestamp, base::string16()); base 404 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc recent_tabs_builder.AddTabWithInfo(1, 1, timestamp, base::string16()); base 406 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc recent_tabs_builder.AddTabWithInfo(1, 1, timestamp, base::string16()); base 462 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc base::string16 title; base 510 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc std::vector<base::string16> tab_titles = base 545 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc std::vector<base::string16> tab_titles = base 19 chrome/browser/ui/toolbar/test_toolbar_model.cc base::string16 TestToolbarModel::GetText() const { base 23 chrome/browser/ui/toolbar/test_toolbar_model.cc base::string16 TestToolbarModel::GetFormattedURL() const { base 27 chrome/browser/ui/toolbar/test_toolbar_model.cc base::string16 TestToolbarModel::GetCorpusNameForMobile() const { base 28 chrome/browser/ui/toolbar/test_toolbar_model.cc return base::string16(); base 57 chrome/browser/ui/toolbar/test_toolbar_model.cc base::string16 TestToolbarModel::GetEVCertName() const { base 19 chrome/browser/ui/toolbar/test_toolbar_model.h virtual base::string16 GetText() const OVERRIDE; base 20 chrome/browser/ui/toolbar/test_toolbar_model.h virtual base::string16 GetFormattedURL() const OVERRIDE; base 21 chrome/browser/ui/toolbar/test_toolbar_model.h virtual base::string16 GetCorpusNameForMobile() const OVERRIDE; base 28 chrome/browser/ui/toolbar/test_toolbar_model.h virtual base::string16 GetEVCertName() const OVERRIDE; base 31 chrome/browser/ui/toolbar/test_toolbar_model.h void set_text(const base::string16& text) { text_ = text; } base 44 chrome/browser/ui/toolbar/test_toolbar_model.h void set_ev_cert_name(const base::string16& ev_cert_name) { base 54 chrome/browser/ui/toolbar/test_toolbar_model.h base::string16 text_; base 60 chrome/browser/ui/toolbar/test_toolbar_model.h base::string16 ev_cert_name_; base 41 chrome/browser/ui/toolbar/toolbar_model.h virtual base::string16 GetText() const = 0; base 47 chrome/browser/ui/toolbar/toolbar_model.h virtual base::string16 GetFormattedURL() const = 0; base 54 chrome/browser/ui/toolbar/toolbar_model.h virtual base::string16 GetCorpusNameForMobile() const = 0; base 88 chrome/browser/ui/toolbar/toolbar_model.h virtual base::string16 GetEVCertName() const = 0; base 98 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16 ToolbarModelImpl::GetText() const { base 99 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16 search_terms(GetSearchTerms(false)); base 104 chrome/browser/ui/toolbar/toolbar_model_impl.cc return base::string16(); base 109 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16 ToolbarModelImpl::GetFormattedURL() const { base 126 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16 ToolbarModelImpl::GetCorpusNameForMobile() const { base 128 chrome/browser/ui/toolbar/toolbar_model_impl.cc return base::string16(); base 144 chrome/browser/ui/toolbar/toolbar_model_impl.cc return base::string16(); base 170 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16 unused; base 177 chrome/browser/ui/toolbar/toolbar_model_impl.cc pending_entry->SetExtraData(kInterstitialShownKey, base::string16()); base 267 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16 ToolbarModelImpl::GetEVCertName() const { base 278 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16 ToolbarModelImpl::GetEVCertName( base 284 chrome/browser/ui/toolbar/toolbar_model_impl.cc return base::string16(); base 289 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::UTF8ToUTF16(cert.subject().organization_names[0]), base 290 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::UTF8ToUTF16(cert.subject().country_name)); base 308 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16 ToolbarModelImpl::GetSearchTerms(bool ignore_editing) const { base 310 chrome/browser/ui/toolbar/toolbar_model_impl.cc return base::string16(); base 313 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16 search_terms(chrome::GetSearchTerms(web_contents)); base 316 chrome/browser/ui/toolbar/toolbar_model_impl.cc return base::string16(); base 341 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::string16() : search_terms; base 40 chrome/browser/ui/toolbar/toolbar_model_impl.h static base::string16 GetEVCertName(const net::X509Certificate& cert); base 44 chrome/browser/ui/toolbar/toolbar_model_impl.h virtual base::string16 GetText() const OVERRIDE; base 45 chrome/browser/ui/toolbar/toolbar_model_impl.h virtual base::string16 GetFormattedURL() const OVERRIDE; base 46 chrome/browser/ui/toolbar/toolbar_model_impl.h virtual base::string16 GetCorpusNameForMobile() const OVERRIDE; base 54 chrome/browser/ui/toolbar/toolbar_model_impl.h virtual base::string16 GetEVCertName() const OVERRIDE; base 69 chrome/browser/ui/toolbar/toolbar_model_impl.h base::string16 GetSearchTerms(bool ignore_editing) const; base 31 chrome/browser/ui/toolbar/toolbar_model_unittest.cc using base::ASCIIToUTF16; base 41 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16 expected_text_url_replacement_inactive; base 43 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16 expected_text_query_extraction; base 45 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16 expected_text_origin_chip; base 48 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16 expected_text_both; base 56 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 57 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 65 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 66 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 74 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 75 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 83 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 84 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 92 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 93 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 101 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 102 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 110 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 111 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 119 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 120 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 128 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 137 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 146 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::string16(), base 171 chrome/browser/ui/toolbar/toolbar_model_unittest.cc const base::string16& expected_text, base 177 chrome/browser/ui/toolbar/toolbar_model_unittest.cc scoped_ptr<base::FieldTrialList> field_trial_list_; base 207 chrome/browser/ui/toolbar/toolbar_model_unittest.cc field_trial_list_.reset(new base::FieldTrialList( base 209 chrome/browser/ui/toolbar/toolbar_model_unittest.cc base::FieldTrialList::CreateFieldTrial( base 215 chrome/browser/ui/toolbar/toolbar_model_unittest.cc const base::string16& expected_text, base 100 chrome/browser/ui/toolbar/wrench_icon_painter.cc new gfx::MultiAnimation(parts, base::TimeDelta::FromMilliseconds(40))); base 26 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc base::MessageLoopForUI message_loop_; // Needed for gfx::Animation. base 76 chrome/browser/ui/toolbar/wrench_menu_model.cc using base::UserMetricsAction; base 83 chrome/browser/ui/toolbar/wrench_menu_model.cc base::string16 GetUpgradeDialogMenuItemName() { base 117 chrome/browser/ui/toolbar/wrench_menu_model.cc base::string16& label = it->second; base 256 chrome/browser/ui/toolbar/wrench_menu_model.cc base::Bind(&WrenchMenuModel::OnZoomLevelChanged, base 257 chrome/browser/ui/toolbar/wrench_menu_model.cc base::Unretained(this))); base 285 chrome/browser/ui/toolbar/wrench_menu_model.cc base::string16 WrenchMenuModel::GetLabelForCommandId(int command_id) const { base 317 chrome/browser/ui/toolbar/wrench_menu_model.cc return base::string16(); base 418 chrome/browser/ui/toolbar/wrench_menu_model.cc return base::win::IsMetroProcess(); base 531 chrome/browser/ui/toolbar/wrench_menu_model.cc if (base::win::GetVersion() < base::win::VERSION_WIN8 && base 554 chrome/browser/ui/toolbar/wrench_menu_model.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8 && base 567 chrome/browser/ui/toolbar/wrench_menu_model.cc if (base::win::IsMetroProcess()) { base 612 chrome/browser/ui/toolbar/wrench_menu_model.cc const base::string16 short_product_name = base 788 chrome/browser/ui/toolbar/wrench_menu_model.cc IDS_ZOOM_PERCENT, base::IntToString16(zoom_percent)); base 103 chrome/browser/ui/toolbar/wrench_menu_model.h virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; base 170 chrome/browser/ui/toolbar/wrench_menu_model.h base::string16 zoom_label_; base 38 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc virtual base::string16 MenuItemLabel() OVERRIDE { return base::string16(); } base 25 chrome/browser/ui/translate/language_combobox_model.cc base::string16 LanguageComboboxModel::GetItemAt(int index) { base 26 chrome/browser/ui/translate/language_combobox_model.h virtual base::string16 GetItemAt(int index) OVERRIDE; base 53 chrome/browser/ui/translate/translate_bubble_model.h virtual base::string16 GetLanguageNameAt(int index) const = 0; base 60 chrome/browser/ui/translate/translate_bubble_model_impl.cc base::string16 TranslateBubbleModelImpl::GetLanguageNameAt(int index) const { base 35 chrome/browser/ui/translate/translate_bubble_model_impl.h virtual base::string16 GetLanguageNameAt(int index) const OVERRIDE; base 60 chrome/browser/ui/uma_browsing_activity_observer.cc content::RecordAction(base::UserMetricsAction("NavEntryCommitted")); base 70 chrome/browser/ui/uma_browsing_activity_observer.cc content::RecordAction(base::UserMetricsAction("NavEntryCommitted.SRP")); base 147 chrome/browser/ui/unload_controller.cc const base::Callback<void(bool)>& on_close_confirmed) { base 194 chrome/browser/ui/unload_controller.cc base::Callback<void(bool)> on_close_confirmed = on_close_confirmed_; base 355 chrome/browser/ui/unload_controller.cc base::MessageLoop::current()->PostTask( base 357 chrome/browser/ui/unload_controller.cc base::Bind(&UnloadController::ProcessPendingTabs, base 66 chrome/browser/ui/unload_controller.h const base::Callback<void(bool)>& on_close_confirmed); base 155 chrome/browser/ui/unload_controller.h base::Callback<void(bool)> on_close_confirmed_; base 157 chrome/browser/ui/unload_controller.h base::WeakPtrFactory<UnloadController> weak_factory_; base 28 chrome/browser/ui/validation_message_bubble.h const base::string16& main_text, base 29 chrome/browser/ui/validation_message_bubble.h const base::string16& sub_text); base 74 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc base::MessageLoop::current()->PostTask( base 76 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc base::Bind( base 83 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc const base::string16& menu_name, base 84 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc const base::string16& menu_item_name, base 97 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc base::UTF16ToUTF8(menu_item_name), base 98 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc base::UTF16ToUTF8(menu_name), base 344 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc std::string name = base::UTF16ToUTF8(state.name); base 348 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc std::string value = base::UTF16ToUTF8(state.value); base 360 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc std::string name = base::UTF16ToUTF8(state.name); base 361 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc std::string value = base::UTF16ToUTF8(state.value); base 375 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc std::string name = base::UTF16ToUTF8(state.name); base 401 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc window_text = base::UTF16ToUTF8(state.name); base 415 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc std::string name = base::UTF16ToUTF8(state.name); base 416 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc std::string value = base::UTF16ToUTF8(state.value); base 434 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc std::string name = base::UTF16ToUTF8(state.name); base 445 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc return base::UTF16ToUTF8(state.name); base 465 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc return base::UTF16ToUTF8(state.name); base 479 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc return base::UTF16ToUTF8(state.name); base 540 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc return base::UTF16ToUTF8(state.name); base 52 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h void HandleMenuItemFocused(const base::string16& menu_name, base 53 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h const base::string16& menu_item_name, base 40 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc using base::ASCIIToUTF16; base 78 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc explicit ViewWithNameAndRole(const base::string16& name, base 90 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc void set_name(const base::string16& name) { name_ = name; } base 93 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::string16 name_; base 132 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 160 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc accessibility_event_router->SetControlEventCallbackForTesting(base::Bind( base 162 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::Unretained(this))); base 181 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoopForUI message_loop_; base 223 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 233 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 239 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 245 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 272 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 288 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::string16(), base 304 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 344 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 380 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 405 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 415 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 29 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc using base::UTF16ToWide; base 59 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc base::win::ScopedCOMInitializer com_initializer_; base 104 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 105 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc base::win::ScopedBstr acc_name; base 107 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc EXPECT_EQ(name, base::string16(acc_name)); base 110 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc base::win::ScopedVariant acc_role; base 126 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc base::win::ScopedComPtr<IAccessible> acc_obj; base 135 chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc base::ASCIIToUTF16(content::kAboutBlankURL))); base 77 chrome/browser/ui/views/accessibility/invert_bubble_view.cc base::string16(), original_font_list.Derive(2, gfx::Font::BOLD)); base 19 chrome/browser/ui/views/app_list/linux/app_list_linux.cc const base::Closure& on_should_dismiss) base 117 chrome/browser/ui/views/app_list/linux/app_list_linux.cc base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, on_should_dismiss_); base 30 chrome/browser/ui/views/app_list/linux/app_list_linux.h const base::Closure& on_should_dismiss); base 62 chrome/browser/ui/views/app_list/linux/app_list_linux.h base::Closure on_should_dismiss_; base 36 chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc const base::Closure& on_should_dismiss) OVERRIDE { base 131 chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc content::BrowserThread::FILE, FROM_HERE, base::Bind(&CreateShortcuts)); base 21 chrome/browser/ui/views/app_list/win/activation_tracker_win.cc const base::Closure& on_should_dismiss) base 43 chrome/browser/ui/views/app_list/win/activation_tracker_win.cc base::TimeDelta::FromMilliseconds(kFocusCheckIntervalMS), this, base 21 chrome/browser/ui/views/app_list/win/activation_tracker_win.h const base::Closure& on_should_dismiss); base 50 chrome/browser/ui/views/app_list/win/activation_tracker_win.h base::Closure on_should_dismiss_; base 67 chrome/browser/ui/views/app_list/win/activation_tracker_win.h base::RepeatingTimer<ActivationTrackerWin> timer_; base 120 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::string16 GetAppListIconPath() { base 121 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::FilePath icon_path; base 122 chrome/browser/ui/views/app_list/win/app_list_service_win.cc if (!PathService::Get(base::FILE_EXE, &icon_path)) { base 124 chrome/browser/ui/views/app_list/win/app_list_service_win.cc return base::string16(); base 129 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::string16 result = icon_path.value(); base 130 chrome/browser/ui/views/app_list/win/app_list_service_win.cc result.append(base::UTF8ToUTF16(ss.str())); base 134 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::string16 GetAppListShortcutName() { base 142 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::FilePath chrome_exe; base 143 chrome/browser/ui/views/app_list/win/app_list_service_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 154 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::string16 GetAppModelId() { base 158 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::FilePath initial_profile_path; base 170 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::FilePath exe_path; base 171 chrome/browser/ui/views/app_list/win/app_list_service_win.cc if (!PathService::Get(base::DIR_EXE, &exe_path)) { base 206 chrome/browser/ui/views/app_list/win/app_list_service_win.cc const base::FilePath& user_data_dir, base 207 chrome/browser/ui/views/app_list/win/app_list_service_win.cc const base::string16& app_model_id, base 212 chrome/browser/ui/views/app_list/win/app_list_service_win.cc std::vector<base::FilePath> shortcut_paths = base 216 chrome/browser/ui/views/app_list/win/app_list_service_win.cc (base::win::GetVersion() >= base::win::VERSION_WIN7); base 223 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::FilePath chrome_exe; base 224 chrome/browser/ui/views/app_list/win/app_list_service_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 229 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::string16 app_list_shortcut_name = GetAppListShortcutName(); base 231 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::string16 wide_switches(GetAppListCommandLine().GetArgumentsString()); base 233 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::win::ShortcutProperties shortcut_properties; base 242 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::FilePath shortcut_file = base 245 chrome/browser/ui/views/app_list/win/app_list_service_win.cc if (!base::PathExists(shortcut_file.DirName()) && base 246 chrome/browser/ui/views/app_list/win/app_list_service_win.cc !base::CreateDirectory(shortcut_file.DirName())) { base 250 chrome/browser/ui/views/app_list/win/app_list_service_win.cc success = success && base::win::CreateOrUpdateShortcutLink( base 252 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::win::SHORTCUT_CREATE_ALWAYS); base 256 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::FilePath shortcut_to_pin = base 259 chrome/browser/ui/views/app_list/win/app_list_service_win.cc success = base::win::TaskbarPinShortcutLink( base 267 chrome/browser/ui/views/app_list/win/app_list_service_win.cc if (base::win::GetVersion() > base::win::VERSION_VISTA) { base 280 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::string16 app_name(GetAppListShortcutName()); base 284 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::string16 icon_path = GetAppListIconPath(); base 300 chrome/browser/ui/views/app_list/win/app_list_service_win.cc const base::Closure& on_should_dismiss) OVERRIDE { base 370 chrome/browser/ui/views/app_list/win/app_list_service_win.cc FROM_HERE, base::Bind(SetDidRunForNDayActiveStats)); base 399 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::Time before_warmup(base::Time::Now()); base 402 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::Time::Now() - before_warmup); base 488 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::FilePath user_data_dir( base 494 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::Bind(&CreateAppListShortcuts, base 502 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::MessageLoop::current()->PostDelayedTask( base 504 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::Bind(&AppListServiceWin::LoadProfileForWarmup, base 506 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::TimeDelta::FromSeconds(kInitWindowDelay)); base 525 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::FilePath profile_path(GetProfilePath(profile_manager->user_data_dir())); base 529 chrome/browser/ui/views/app_list/win/app_list_service_win.cc base::Bind(&AppListServiceWin::OnLoadProfileForWarmup, base 63 chrome/browser/ui/views/app_list/win/app_list_service_win.h base::WeakPtrFactory<AppListServiceWin> weak_factory_; base 48 chrome/browser/ui/views/app_list/win/app_list_win.cc const base::Closure& on_should_dismiss) base 25 chrome/browser/ui/views/app_list/win/app_list_win.h const base::Closure& on_should_dismiss); base 22 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc const base::Closure& close_callback) { base 31 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc const base::Closure& close_callback) base 70 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc base::string16 AppInfoDialog::GetDialogButtonLabel( base 26 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h const base::Closure& close_callback); base 36 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const base 47 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h base::Closure close_callback_; base 10 chrome/browser/ui/views/apps/app_info_dialog/app_info_manage_tab.cc const base::Closure& close_callback) base 24 chrome/browser/ui/views/apps/app_info_dialog/app_info_manage_tab.h const base::Closure& close_callback); base 39 chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc std::vector<base::string16> permission_messages = base 68 chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc for (std::vector<base::string16>::const_iterator it = base 81 chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc IDS_EXTENSION_PERMISSION_LINE, base::string16()))); base 96 chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc const base::Closure& close_callback) base 24 chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.h const base::Closure& close_callback); base 57 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 65 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc std::vector<base::string16> launch_type_messages_; base 134 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc base::string16 LaunchOptionsComboboxModel::GetItemAt(int index) { base 141 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc const base::Closure& close_callback) base 150 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc new views::Label(base::UTF8ToUTF16(app_->name()), base 209 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc new views::Label(base::UTF8ToUTF16(app_->VersionString())); base 233 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc base::string16 text = base::UTF8ToUTF16(app_->description()); base 236 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc text += base::ASCIIToUTF16(" ... "); base 342 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc base::Bind(&AppInfoSummaryTab::OnAppImageLoaded, AsWeakPtr())); base 43 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h public base::SupportsWeakPtr<AppInfoSummaryTab> { base 48 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h const base::Closure& close_callback); base 99 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h base::WeakPtrFactory<AppInfoSummaryTab> weak_ptr_factory_; base 10 chrome/browser/ui/views/apps/app_info_dialog/app_info_tab.cc const base::Closure& close_callback) base 28 chrome/browser/ui/views/apps/app_info_dialog/app_info_tab.h const base::Closure& close_callback); base 36 chrome/browser/ui/views/apps/app_info_dialog/app_info_tab.h const base::Closure& close_callback_; base 37 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc const base::FilePath& web_app_path, base 38 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc const base::FilePath& icon_file, base 50 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc base::FilePath chrome_exe; base 51 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 59 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc if (!base::PathExists(web_app_path) && base 60 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc !base::CreateDirectory(web_app_path)) { base 98 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc base::FilePath web_app_path = web_app::GetWebAppDataDirectory( base 101 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc base::FilePath icon_file = web_app_path base 107 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc base::Bind(&CreateIconAndSetRelaunchDetails, base 153 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc base::string16 app_name_wide = base::UTF8ToWide(app_name); base 165 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc base::Bind(&ChromeNativeAppWindowViewsWin::OnShortcutInfoLoaded, base 193 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc base::FilePath chrome_path; base 194 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_path)) base 38 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h base::WeakPtrFactory<ChromeNativeAppWindowViewsWin> weak_ptr_factory_; base 41 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h base::string16 app_model_id_; base 57 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc base::LazyInstance<ShellDialogsDelegateWin> g_shell_dialogs_delegate; base 176 chrome/browser/ui/views/ash/tab_scrubber.cc base::TimeDelta::FromMilliseconds(delay), base 177 chrome/browser/ui/views/ash/tab_scrubber.cc base::Bind(&TabScrubber::FinishScrub, base 86 chrome/browser/ui/views/ash/tab_scrubber.h base::Timer activate_timer_; base 95 chrome/browser/ui/views/ash/tab_scrubber.h base::WeakPtrFactory<TabScrubber> weak_ptr_factory_; base 140 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc base::TimeDelta::FromMilliseconds(100), base 226 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc base::RunLoop run_loop; base 235 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc base::Closure quit_closure_; base 39 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc base::string16 AutofillDialogViewTesterViews::GetTextContentsOfInput( base 50 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc return base::string16(); base 55 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc const base::string16& contents) { base 74 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc const base::string16& text) { base 23 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h virtual base::string16 GetTextContentsOfInput(ServerFieldType type) OVERRIDE; base 25 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h const base::string16& contents) OVERRIDE; base 28 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h const base::string16& text) OVERRIDE; base 151 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::string16& value) { base 252 chrome/browser/ui/views/autofill/autofill_dialog_views.cc new views::Checkbox(base::string16())); base 383 chrome/browser/ui/views/autofill/autofill_dialog_views.cc explicit LoadingAnimationView(const base::string16& text) : base 398 chrome/browser/ui/views/autofill/autofill_dialog_views.cc new views::Label(base::ASCIIToUTF16("."), font_list)); base 467 chrome/browser/ui/views/autofill/autofill_dialog_views.cc menu_button_(new views::MenuButton(NULL, base::string16(), this, true)), base 794 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::string16& label, base 955 chrome/browser/ui/views/autofill/autofill_dialog_views.cc : views::MenuButton(NULL, base::string16(), listener, false) { base 1008 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::Closure& callback) base 1032 chrome/browser/ui/views/autofill/autofill_dialog_views.cc new ExpandingTextfield(base::string16(), base 1033 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16(), base 1127 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::string16& text) { base 1129 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16 line_return(base::ASCIIToUTF16("\n")); base 1131 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (position == base::string16::npos) { base 1148 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::string16& placeholder_text, base 1277 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::string16 text = delegate_->LegalDocumentsText(); base 1344 chrome/browser/ui/views/autofill/autofill_dialog_views.cc text_mapping->second->SetText(base::string16()); base 1375 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16 AutofillDialogViews::GetCvc() { base 1521 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16 AutofillDialogViews::GetWindowTitle() const { base 1522 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16 title = delegate_->DialogTitle(); base 1526 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return title.empty() ? base::ASCIIToUTF16(" ") : title; base 1550 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16 AutofillDialogViews::GetDialogButtonLabel( base 1615 chrome/browser/ui/views/autofill/autofill_dialog_views.cc legal_document_view_ = new views::StyledLabel(base::string16(), this); base 1644 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::string16& new_contents) { base 1861 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::Bind(&AutofillDialogViews::DetailsContainerBoundsChanged, base 1862 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::Unretained(this))); base 2096 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::string16& message) { base 2129 chrome/browser/ui/views/autofill/autofill_dialog_views.cc std::map<views::View*, base::string16>::iterator error_message = base 2209 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16 item = base 2260 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16 text = textfield ? base 2353 chrome/browser/ui/views/autofill/autofill_dialog_views.cc std::map<views::View*, base::string16>::iterator it = validity_map_.begin(); base 91 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual base::string16 GetCvc() OVERRIDE; base 108 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 114 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const base 132 chrome/browser/ui/views/autofill/autofill_dialog_views.h const base::string16& new_contents) OVERRIDE; base 178 chrome/browser/ui/views/autofill/autofill_dialog_views.h public base::SupportsWeakPtr<AccountChooser> { base 268 chrome/browser/ui/views/autofill/autofill_dialog_views.h const base::WeakPtr<views::View>& arrow_centering_anchor) { base 282 chrome/browser/ui/views/autofill/autofill_dialog_views.h base::WeakPtr<views::View> arrow_centering_anchor_; base 296 chrome/browser/ui/views/autofill/autofill_dialog_views.h SectionContainer(const base::string16& label, base 358 chrome/browser/ui/views/autofill/autofill_dialog_views.h explicit DetailsContainerView(const base::Closure& callback); base 370 chrome/browser/ui/views/autofill/autofill_dialog_views.h base::Closure bounds_changed_callback_; base 404 chrome/browser/ui/views/autofill/autofill_dialog_views.h void SetLabelText(const base::string16& text); base 411 chrome/browser/ui/views/autofill/autofill_dialog_views.h void SetTextfield(const base::string16& placeholder_text, base 528 chrome/browser/ui/views/autofill/autofill_dialog_views.h void SetValidityForInput(T* input, const base::string16& message); base 669 chrome/browser/ui/views/autofill/autofill_dialog_views.h std::map<views::View*, base::string16> validity_map_; base 146 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc base::MessageLoop::current()->PostTask( base 148 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc base::Bind(&AutofillPopupBaseView::ClearSelection, base 91 chrome/browser/ui/views/autofill/autofill_popup_base_view.h base::WeakPtrFactory<AutofillPopupBaseView> weak_ptr_factory_; base 28 chrome/browser/ui/views/autofill/decorated_textfield.cc const base::string16& default_value, base 29 chrome/browser/ui/views/autofill/decorated_textfield.cc const base::string16& placeholder, base 80 chrome/browser/ui/views/autofill/decorated_textfield.cc void DecoratedTextfield::SetTooltipIcon(const base::string16& text) { base 95 chrome/browser/ui/views/autofill/decorated_textfield.cc base::string16 DecoratedTextfield::GetPlaceholderText() const { base 96 chrome/browser/ui/views/autofill/decorated_textfield.cc return editable_ ? views::Textfield::GetPlaceholderText() : base::string16(); base 112 chrome/browser/ui/views/autofill/decorated_textfield.cc views::LabelButton(NULL, base::string16()).GetPreferredSize().height(); base 123 chrome/browser/ui/views/autofill/decorated_textfield.cc int x = base::i18n::IsRTL() ? base 26 chrome/browser/ui/views/autofill/decorated_textfield.h DecoratedTextfield(const base::string16& default_value, base 27 chrome/browser/ui/views/autofill/decorated_textfield.h const base::string16& placeholder, base 44 chrome/browser/ui/views/autofill/decorated_textfield.h void SetTooltipIcon(const base::string16& text); base 47 chrome/browser/ui/views/autofill/decorated_textfield.h virtual base::string16 GetPlaceholderText() const OVERRIDE; base 27 chrome/browser/ui/views/autofill/expanding_textfield.cc const base::string16& default_value, base 28 chrome/browser/ui/views/autofill/expanding_textfield.cc const base::string16& placeholder, base 33 chrome/browser/ui/views/autofill/expanding_textfield.cc new DecoratedTextfield(base::string16(), placeholder, this)); base 36 chrome/browser/ui/views/autofill/expanding_textfield.cc new DecoratedTextfield(base::string16(), placeholder, this)); base 51 chrome/browser/ui/views/autofill/expanding_textfield.cc void ExpandingTextfield::SetText(const base::string16& text) { base 53 chrome/browser/ui/views/autofill/expanding_textfield.cc std::vector<base::string16> strings; base 54 chrome/browser/ui/views/autofill/expanding_textfield.cc base::SplitStringDontTrim(text, '\n', &strings); base 59 chrome/browser/ui/views/autofill/expanding_textfield.cc (*iter)->SetText(i < strings.size() ? strings[i++] : base::string16()); base 72 chrome/browser/ui/views/autofill/expanding_textfield.cc base::string16 ExpandingTextfield::GetText() { base 73 chrome/browser/ui/views/autofill/expanding_textfield.cc base::string16 text = textfields_.front()->text(); base 76 chrome/browser/ui/views/autofill/expanding_textfield.cc text += base::ASCIIToUTF16("\n") + (*iter++)->text(); base 78 chrome/browser/ui/views/autofill/expanding_textfield.cc base::TrimWhitespace(text, base::TRIM_ALL, &text); base 90 chrome/browser/ui/views/autofill/expanding_textfield.cc void ExpandingTextfield::SetPlaceholderText(const base::string16& placeholder) { base 91 chrome/browser/ui/views/autofill/expanding_textfield.cc ForEachTextfield<views::Textfield, const base::string16&>( base 99 chrome/browser/ui/views/autofill/expanding_textfield.cc void ExpandingTextfield::SetTooltipIcon(const base::string16& text) { base 112 chrome/browser/ui/views/autofill/expanding_textfield.cc const base::string16& new_contents) { base 116 chrome/browser/ui/views/autofill/expanding_textfield.cc new DecoratedTextfield(base::string16(), base 142 chrome/browser/ui/views/autofill/expanding_textfield.cc base::Bind(f, base::Unretained(*iter), p).Run(); base 29 chrome/browser/ui/views/autofill/expanding_textfield.h ExpandingTextfield(const base::string16& default_value, base 30 chrome/browser/ui/views/autofill/expanding_textfield.h const base::string16& placeholder, base 37 chrome/browser/ui/views/autofill/expanding_textfield.h void SetText(const base::string16& text); base 40 chrome/browser/ui/views/autofill/expanding_textfield.h base::string16 GetText(); base 57 chrome/browser/ui/views/autofill/expanding_textfield.h void SetPlaceholderText(const base::string16& placeholder); base 59 chrome/browser/ui/views/autofill/expanding_textfield.h void SetTooltipIcon(const base::string16& text); base 67 chrome/browser/ui/views/autofill/expanding_textfield.h const base::string16& new_contents) OVERRIDE; base 26 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc const base::WeakPtr<GeneratedCreditCardBubbleController>& controller) { base 58 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc base::string16 GeneratedCreditCardBubbleViews::GetWindowTitle() const { base 59 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc return controller_ ? controller_->TitleText() : base::string16(); base 66 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc const base::string16& contents_text = controller_->ContentsText(); base 91 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc base::WeakPtr<GeneratedCreditCardBubbleView> base 93 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc const base::WeakPtr<GeneratedCreditCardBubbleController>& controller) { base 99 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc const base::WeakPtr<GeneratedCreditCardBubbleController>& controller) base 35 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 43 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h friend base::WeakPtr<GeneratedCreditCardBubbleView> base 45 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h const base::WeakPtr<GeneratedCreditCardBubbleController>& controller); base 48 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h const base::WeakPtr<GeneratedCreditCardBubbleController>& controller); base 51 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h base::WeakPtr<GeneratedCreditCardBubbleController> controller_; base 53 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h base::WeakPtrFactory<GeneratedCreditCardBubbleViews> weak_ptr_factory_; base 55 chrome/browser/ui/views/autofill/info_bubble.cc const base::string16& message) base 21 chrome/browser/ui/views/autofill/info_bubble.h InfoBubble(views::View* anchor, const base::string16& message); base 122 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc if (base::i18n::IsRTL()) { base 136 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc base::string16 NewCreditCardBubbleViews::GetWindowTitle() const { base 146 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc base::WeakPtr<NewCreditCardBubbleView> NewCreditCardBubbleView::Create( base 33 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 41 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h friend base::WeakPtr<NewCreditCardBubbleView> NewCreditCardBubbleView::Create( base 50 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h base::WeakPtrFactory<NewCreditCardBubbleView> weak_ptr_factory_; base 33 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc PasswordRow(const base::string16& password, base 34 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc const base::string16& suggestion, base 35 chrome/browser/ui/views/autofill/tooltip_icon.cc TooltipBubble(views::View* anchor, const base::string16& message) base 53 chrome/browser/ui/views/autofill/tooltip_icon.cc TooltipIcon::TooltipIcon(const base::string16& tooltip) base 74 chrome/browser/ui/views/autofill/tooltip_icon.cc show_timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(150), this, base 29 chrome/browser/ui/views/autofill/tooltip_icon.h explicit TooltipIcon(const base::string16& tooltip); base 57 chrome/browser/ui/views/autofill/tooltip_icon.h base::string16 tooltip_; base 66 chrome/browser/ui/views/autofill/tooltip_icon.h base::OneShotTimer<TooltipIcon> show_timer_; base 152 chrome/browser/ui/views/avatar_menu_bubble_view.cc explicit EditProfileLink(const base::string16& title, base 167 chrome/browser/ui/views/avatar_menu_bubble_view.cc EditProfileLink::EditProfileLink(const base::string16& title, base 459 chrome/browser/ui/views/avatar_menu_bubble_view.cc base::UTF8ToUTF16(username))); base 32 chrome/browser/ui/views/avatar_menu_button.cc : MenuButton(NULL, base::string16(), this, false), base 46 chrome/browser/ui/views/avatar_menu_button_browsertest.cc base::FilePath path; base 49 chrome/browser/ui/views/avatar_menu_button_browsertest.cc if (!base::PathExists(path)) base 50 chrome/browser/ui/views/avatar_menu_button_browsertest.cc ASSERT_TRUE(base::CreateDirectory(path)); base 70 chrome/browser/ui/views/avatar_menu_button_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 106 chrome/browser/ui/views/avatar_menu_button_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 84 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc using base::UserMetricsAction; base 151 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const base::string16& title) base 186 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const base::string16& title, base 194 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::string16* tooltip) const OVERRIDE { base 226 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const base::string16& title) base 249 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const base::string16& title, base 264 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::string16* tooltip) const OVERRIDE { base 299 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc : MenuButton(NULL, base::string16(), owner, false), base 597 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::string16 BookmarkBarView::CreateToolTipForURLAndTitle( base 601 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const base::string16& title, base 608 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::string16 result; base 612 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::string16 localized_title = title; base 613 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::i18n::AdjustStringForLocaleDirection(&localized_title); base 619 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (title != base::UTF8ToUTF16(url.spec())) { base 631 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::string16 elided_url(ElideUrl(url, tt_fonts, max_width, languages)); base 632 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc elided_url = base::i18n::GetDisplayStringInLTRDirectionality(elided_url); base 951 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int64 time_from_install = base::Time::Now().ToTimeT() - install_time; base 1062 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, button); base 1271 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::Bind(&BookmarkBarView::OnAppsPageShortcutVisibilityPrefChanged, base 1272 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::Unretained(this))); base 1326 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc new BookmarkFolderButton(this, base::string16(), this, false); base 1444 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, button); base 1505 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::MessageLoop::current()->PostDelayedTask( base 1507 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::Bind(&BookmarkBarView::ShowDropFolderForNode, base 1510 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::TimeDelta::FromMilliseconds(views::GetMenuShowDelay())); base 153 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h static base::string16 CreateToolTipForURLAndTitle(const views::Widget* widget, base 156 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const base::string16& title, base 405 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h base::WeakPtrFactory<BookmarkBarView> show_folder_method_factory_; base 47 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc using base::ASCIIToUTF16; base 58 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc const base::Closure& closure) { base 189 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 190 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::QuitClosure()); base 191 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->Run(); base 229 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(f1, i + 1, ASCIIToUTF16("f") + base::IntToString16(i), base 230 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc GURL(test_base + "f" + base::IntToString(i))); base 450 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc explicit BookmarkContextMenuNotificationObserver(const base::Closure& task) base 460 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->PostTask(FROM_HERE, task_); base 464 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc void set_task(const base::Closure& task) { task_ = task; } base 468 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::Closure task_; base 505 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ui_controls::DOWN | ui_controls::UP, base::Closure()); base 684 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::Bind(&BookmarkBarViewTest7::Step3A, this)); base 688 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::Bind(&BookmarkBarViewTest7::Step4, this)); base 703 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::Bind(&BookmarkBarViewTest7::Step4, this)); base 785 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::Bind(&BookmarkBarViewTest8::Step3A, this)); base 788 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::Bind(&BookmarkBarViewTest8::Step4, this)); base 802 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::Bind(&BookmarkBarViewTest8::Step4, this)); base 815 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::Bind(&BookmarkBarViewTest8::Step5, this)); base 893 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->PostDelayedTask( base 895 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::Bind(&BookmarkBarViewTest9::Step4, this), base 896 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::TimeDelta::FromMilliseconds(200)); base 910 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->PostTask( base 911 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc FROM_HERE, base::Bind(&ViewEventTestBase::Done, this)); base 930 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1059 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ui_controls::DOWN | ui_controls::UP, base::Closure()); base 1153 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ui_controls::DOWN | ui_controls::UP, base::Closure()); base 1157 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->PostDelayedTask( base 1160 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::TimeDelta::FromSeconds(1)); base 1169 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->PostDelayedTask( base 1172 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::TimeDelta::FromSeconds(1)); base 1184 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->PostTask( base 1233 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ui_controls::DOWN | ui_controls::UP, base::Closure()); base 1300 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ui_controls::DOWN | ui_controls::UP, base::Closure()); base 1358 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ui_controls::DOWN | ui_controls::UP, base::Closure()); base 1430 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc base::MessageLoop::current()->PostTask( base 1473 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ui_controls::DOWN | ui_controls::UP, base::Closure()); base 1501 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ui_controls::DOWN | ui_controls::UP, base::Closure()); base 1806 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ui_controls::DOWN | ui_controls::UP, base::Closure()); base 36 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc using base::UserMetricsAction; base 284 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc base::string16 BookmarkBubbleView::GetTitle() { base 293 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc return base::string16(); base 361 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc const base::string16 new_title = title_tf_->text(); base 77 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h base::string16 GetTitle(); base 37 chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc base::string16()); base 20 chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_win.cc using base::UserMetricsAction; base 31 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc using base::ASCIIToUTF16; base 79 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc base::MessageLoopForUI message_loop_; base 34 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc bool was_nested = base::MessageLoop::current()->IsNested(); base 35 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc base::MessageLoop::current()->SetNestableTasksAllowed(true); base 50 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc base::MessageLoop::current()->SetNestableTasksAllowed(was_nested); base 89 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc base::string16 BookmarkEditorView::GetDialogButtonLabel( base 119 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc base::string16 BookmarkEditorView::GetWindowTitle() const { base 158 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc const base::string16& new_contents) { base 268 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc base::string16 title; base 427 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc base::UTF16ToUTF8(url_tf_->text()), std::string()); base 486 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc EditorNode* root_node = new EditorNode(base::string16(), 0); base 547 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc base::string16 new_title(title_tf_->text()); base 631 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc const base::string16& title) { base 67 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h const base::string16& title) OVERRIDE; base 81 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual base::string16 GetDialogButtonLabel( base 87 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 101 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h const base::string16& new_contents) OVERRIDE; base 22 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc using base::ASCIIToUTF16; base 23 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc using base::Time; base 24 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc using base::TimeDelta; base 73 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc void SetTitleText(const base::string16& title) { base 77 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc void SetURLText(const base::string16& text) { base 111 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc base::MessageLoopForUI message_loop_; base 156 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc NULL, -1, GURL(), base::string16()), base 207 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc SetURLText(base::UTF8ToWide(GURL(base_path() + "new_a").spec())); base 241 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc SetURLText(base::UTF8ToWide(GURL(base_path() + "new_a").spec())); base 293 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc bb_node, 1, GURL(), base::string16()), base 296 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc SetURLText(base::UTF8ToWide(GURL(base_path() + "a").spec())); base 316 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc SetURLText(base::UTF8ToWide(GURL(base_path() + "a").spec())); base 418 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc parent, 1, GURL(), base::string16()), base 422 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc SetURLText(base::UTF8ToWide(GURL(base_path() + "a").spec())); base 434 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc EXPECT_EQ("modified", base::UTF16ToASCII(new_folder->GetTitle())); base 27 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc using base::UserMetricsAction; base 88 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc base::string16 BookmarkMenuController::GetTooltipText(int id, base 77 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h virtual base::string16 GetTooltipText(int id, base 33 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc using base::UserMetricsAction; base 107 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc base::string16 BookmarkMenuDelegate::GetTooltipText( base 114 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc return base::string16(); base 122 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc return base::string16(); base 96 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h base::string16 GetTooltipText(int id, const gfx::Point& p) const; base 18 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc using base::ASCIIToUTF16; base 40 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc base::string16 link_text = base 42 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc base::string16 promo_text = l10n_util::GetStringFUTF16( base 47 chrome/browser/ui/views/certificate_viewer_win.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 48 chrome/browser/ui/views/certificate_viewer_win.cc base::MessageLoop::current()); base 86 chrome/browser/ui/views/chrome_views_delegate.cc base::DictionaryValue* window_preferences = update.Get(); base 111 chrome/browser/ui/views/chrome_views_delegate.cc const base::DictionaryValue* dictionary = base 149 chrome/browser/ui/views/chrome_views_delegate.cc const base::string16& menu_name, base 150 chrome/browser/ui/views/chrome_views_delegate.cc const base::string16& menu_item_name, base 304 chrome/browser/ui/views/chrome_views_delegate.cc base::TimeDelta base 306 chrome/browser/ui/views/chrome_views_delegate.cc return base::TimeDelta(); base 31 chrome/browser/ui/views/chrome_views_delegate.h virtual void NotifyMenuItemFocused(const base::string16& menu_name, base 32 chrome/browser/ui/views/chrome_views_delegate.h const base::string16& menu_item_name, base 53 chrome/browser/ui/views/chrome_views_delegate.h virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() OVERRIDE; base 112 chrome/browser/ui/views/collected_cookies_views.cc const base::string16& domain_name) { base 118 chrome/browser/ui/views/collected_cookies_views.cc base::string16 label; base 154 chrome/browser/ui/views/collected_cookies_views.cc UpdateVisibility(false, CONTENT_SETTING_BLOCK, base::string16()); base 223 chrome/browser/ui/views/collected_cookies_views.cc base::string16 CollectedCookiesViews::GetWindowTitle() const { base 231 chrome/browser/ui/views/collected_cookies_views.cc base::string16 CollectedCookiesViews::GetDialogButtonLabel( base 330 chrome/browser/ui/views/collected_cookies_views.cc base::string16 label_allowed = l10n_util::GetStringUTF16( base 332 chrome/browser/ui/views/collected_cookies_views.cc base::string16 label_blocked = l10n_util::GetStringUTF16( base 48 chrome/browser/ui/views/collected_cookies_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 50 chrome/browser/ui/views/collected_cookies_views.h virtual base::string16 GetDialogButtonLabel( base 40 chrome/browser/ui/views/color_chooser_dialog.cc base::Bind(&ColorChooserDialog::ExecuteOpen, this, execute_params)); base 67 chrome/browser/ui/views/color_chooser_dialog.cc base::Bind(&ColorChooserDialog::DidCloseDialog, this, success, base 19 chrome/browser/ui/views/color_chooser_dialog.h : public base::RefCountedThreadSafe<ColorChooserDialog>, base 46 chrome/browser/ui/views/confirm_bubble_views.cc base::string16 ConfirmBubbleViews::GetDialogButtonLabel( base 89 chrome/browser/ui/views/confirm_bubble_views.cc base::string16 ConfirmBubbleViews::GetWindowTitle() const { base 33 chrome/browser/ui/views/confirm_bubble_views.h virtual base::string16 GetDialogButtonLabel( base 42 chrome/browser/ui/views/confirm_bubble_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 29 chrome/browser/ui/views/conflicting_module_view_win.cc using base::UserMetricsAction; base 124 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc virtual base::string16 GetWindowTitle() const OVERRIDE { base 125 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc return impl_->closed_via_webui() ? base::string16() : base 46 chrome/browser/ui/views/constrained_window_views_browsertest.cc public base::SupportsWeakPtr<TestConstrainedDialogContentsView> { base 118 chrome/browser/ui/views/constrained_window_views_browsertest.cc base::WeakPtr<TestConstrainedDialogContentsView> contents_; base 173 chrome/browser/ui/views/content_setting_bubble_contents.cc it->first->SetText(base::UTF8ToUTF16(label)); base 196 chrome/browser/ui/views/content_setting_bubble_contents.cc views::Label* title_label = new views::Label(base::UTF8ToUTF16( base 224 chrome/browser/ui/views/content_setting_bubble_contents.cc views::Link* link = new views::Link(base::UTF8ToUTF16(i->title)); base 251 chrome/browser/ui/views/content_setting_bubble_contents.cc new views::RadioButton(base::UTF8ToUTF16(*i), 0); base 288 chrome/browser/ui/views/content_setting_bubble_contents.cc new views::Label(base::UTF8ToUTF16(i->second.label)); base 292 chrome/browser/ui/views/content_setting_bubble_contents.cc NULL, base::UTF8ToUTF16((i->second.selected_device.name)), base 303 chrome/browser/ui/views/content_setting_bubble_contents.cc base::Bind(&ContentSettingBubbleContents::UpdateMenuLabel, base 304 chrome/browser/ui/views/content_setting_bubble_contents.cc base::Unretained(this)))); base 350 chrome/browser/ui/views/content_setting_bubble_contents.cc views::Label* section_title = new views::Label(base::UTF8ToUTF16(i->title)); base 357 chrome/browser/ui/views/content_setting_bubble_contents.cc layout->AddView(new views::Label(base::UTF8ToUTF16(*j), domain_font)); base 364 chrome/browser/ui/views/content_setting_bubble_contents.cc new views::Link(base::UTF8ToUTF16(bubble_content.custom_link)); base 394 chrome/browser/ui/views/content_setting_bubble_contents.cc new views::Link(base::UTF8ToUTF16(bubble_content.manage_link)); base 459 chrome/browser/ui/views/content_setting_bubble_contents.cc base::string16 title = button->text(); base 62 chrome/browser/ui/views/cookie_info_view.cc name_value_field_->SetText(base::UTF8ToUTF16(cookie.Name())); base 63 chrome/browser/ui/views/cookie_info_view.cc content_value_field_->SetText(base::UTF8ToUTF16(cookie.Value())); base 64 chrome/browser/ui/views/cookie_info_view.cc domain_value_field_->SetText(base::UTF8ToUTF16(domain)); base 65 chrome/browser/ui/views/cookie_info_view.cc path_value_field_->SetText(base::UTF8ToUTF16(cookie.Path())); base 67 chrome/browser/ui/views/cookie_info_view.cc base::TimeFormatFriendlyDateAndTime(cookie.CreationDate())); base 69 chrome/browser/ui/views/cookie_info_view.cc base::string16 expire_text = cookie.IsPersistent() ? base 70 chrome/browser/ui/views/cookie_info_view.cc base::TimeFormatFriendlyDateAndTime(cookie.ExpiryDate()) : base 90 chrome/browser/ui/views/cookie_info_view.cc base::string16 no_cookie_string = base 63 chrome/browser/ui/views/create_application_shortcut_view.cc AppInfoView(const base::string16& title, base 64 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16& description, base 68 chrome/browser/ui/views/create_application_shortcut_view.cc void UpdateText(const base::string16& title, base 69 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16& description); base 79 chrome/browser/ui/views/create_application_shortcut_view.cc void Init(const base::string16& title, base 80 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16& description, const gfx::ImageFamily& icon); base 83 chrome/browser/ui/views/create_application_shortcut_view.cc void PrepareDescriptionLabel(const base::string16& description); base 93 chrome/browser/ui/views/create_application_shortcut_view.cc AppInfoView::AppInfoView(const base::string16& title, base 94 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16& description, base 102 chrome/browser/ui/views/create_application_shortcut_view.cc void AppInfoView::Init(const base::string16& title_text, base 103 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16& description_text, base 122 chrome/browser/ui/views/create_application_shortcut_view.cc void AppInfoView::PrepareDescriptionLabel(const base::string16& description) { base 128 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16 kEllipsis(base::ASCIIToUTF16(" ... ")); base 130 chrome/browser/ui/views/create_application_shortcut_view.cc base::string16 text = description; base 168 chrome/browser/ui/views/create_application_shortcut_view.cc void AppInfoView::UpdateText(const base::string16& title, base 169 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16& description) { base 243 chrome/browser/ui/views/create_application_shortcut_view.cc const base::Closure& close_callback) { base 278 chrome/browser/ui/views/create_application_shortcut_view.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) { base 285 chrome/browser/ui/views/create_application_shortcut_view.cc (base::win::GetVersion() >= base::win::VERSION_WIN7) ? base 343 chrome/browser/ui/views/create_application_shortcut_view.cc base::string16 CreateApplicationShortcutView::GetDialogButtonLabel( base 366 chrome/browser/ui/views/create_application_shortcut_view.cc base::string16 CreateApplicationShortcutView::GetWindowTitle() const { base 398 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16& text, bool checked) { base 474 chrome/browser/ui/views/create_application_shortcut_view.cc base::Bind(&CreateUrlApplicationShortcutView::DidDownloadFavicon, base 520 chrome/browser/ui/views/create_application_shortcut_view.cc const base::Closure& close_callback) base 526 chrome/browser/ui/views/create_application_shortcut_view.cc shortcut_info_.title = base::UTF8ToUTF16(app->name()); base 527 chrome/browser/ui/views/create_application_shortcut_view.cc shortcut_info_.description = base::UTF8ToUTF16(app->description()); base 537 chrome/browser/ui/views/create_application_shortcut_view.cc base::Bind(&CreateChromeApplicationShortcutView::OnShortcutInfoLoaded, base 53 chrome/browser/ui/views/create_application_shortcut_view.h virtual base::string16 GetDialogButtonLabel( base 57 chrome/browser/ui/views/create_application_shortcut_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 66 chrome/browser/ui/views/create_application_shortcut_view.h views::Checkbox* AddCheckbox(const base::string16& text, bool checked); base 117 chrome/browser/ui/views/create_application_shortcut_view.h base::WeakPtrFactory<CreateUrlApplicationShortcutView> weak_ptr_factory_; base 129 chrome/browser/ui/views/create_application_shortcut_view.h const base::Closure& close_callback); base 139 chrome/browser/ui/views/create_application_shortcut_view.h base::Closure close_callback_; base 141 chrome/browser/ui/views/create_application_shortcut_view.h base::WeakPtrFactory<CreateChromeApplicationShortcutView> weak_ptr_factory_; base 30 chrome/browser/ui/views/critical_notification_bubble_view.cc using base::UserMetricsAction; base 67 chrome/browser/ui/views/critical_notification_bubble_view.cc base::TimeDelta time_lapsed = base::Time::Now() - bubble_created_; base 76 chrome/browser/ui/views/critical_notification_bubble_view.cc base::IntToString16(seconds))); base 157 chrome/browser/ui/views/critical_notification_bubble_view.cc bubble_created_ = base::Time::Now(); base 222 chrome/browser/ui/views/critical_notification_bubble_view.cc base::TimeDelta::FromMilliseconds(kRefreshBubbleEvery), base 62 chrome/browser/ui/views/critical_notification_bubble_view.h base::RepeatingTimer<CriticalNotificationBubbleView> refresh_timer_; base 65 chrome/browser/ui/views/critical_notification_bubble_view.h base::Time bubble_created_; base 46 chrome/browser/ui/views/crypto_module_password_dialog_view.cc base::string16 CryptoModulePasswordDialogView::GetWindowTitle() const { base 50 chrome/browser/ui/views/crypto_module_password_dialog_view.cc base::string16 CryptoModulePasswordDialogView::GetDialogButtonLabel( base 58 chrome/browser/ui/views/crypto_module_password_dialog_view.cc const base::string16 empty; base 64 chrome/browser/ui/views/crypto_module_password_dialog_view.cc callback_.Run(base::UTF16ToUTF8(password_entry_->text())); base 65 chrome/browser/ui/views/crypto_module_password_dialog_view.cc const base::string16 empty; base 72 chrome/browser/ui/views/crypto_module_password_dialog_view.cc const base::string16& new_contents) { base 86 chrome/browser/ui/views/crypto_module_password_dialog_view.cc const base::string16& hostname16 = base::UTF8ToUTF16(hostname); base 87 chrome/browser/ui/views/crypto_module_password_dialog_view.cc const base::string16& slot16 = base::UTF8ToUTF16(slot_name); base 118 chrome/browser/ui/views/crypto_module_password_dialog_view.cc reason_label_ = new views::Label(base::UTF8ToUTF16(text)); base 39 chrome/browser/ui/views/crypto_module_password_dialog_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 42 chrome/browser/ui/views/crypto_module_password_dialog_view.h virtual base::string16 GetDialogButtonLabel( base 49 chrome/browser/ui/views/crypto_module_password_dialog_view.h const base::string16& new_contents) OVERRIDE; base 38 chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc base::Bind(&CryptoModulePasswordDialogViewTest::Capture, base 39 chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc base::Unretained(this))); base 44 chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc dialog_->password_entry_->SetText(base::ASCIIToUTF16(kPassword)); base 47 chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc const base::string16 empty; base 70 chrome/browser/ui/views/desktop_media_picker_views.cc void SetName(const base::string16& name); base 153 chrome/browser/ui/views/desktop_media_picker_views.cc const base::string16& app_name, base 154 chrome/browser/ui/views/desktop_media_picker_views.cc const base::string16& target_name, base 170 chrome/browser/ui/views/desktop_media_picker_views.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 172 chrome/browser/ui/views/desktop_media_picker_views.cc virtual base::string16 GetDialogButtonLabel( base 179 chrome/browser/ui/views/desktop_media_picker_views.cc base::string16 app_name_; base 199 chrome/browser/ui/views/desktop_media_picker_views.cc const base::string16& app_name, base 200 chrome/browser/ui/views/desktop_media_picker_views.cc const base::string16& target_name, base 230 chrome/browser/ui/views/desktop_media_picker_views.cc void DesktopMediaSourceView::SetName(const base::string16& name) { base 491 chrome/browser/ui/views/desktop_media_picker_views.cc const base::string16& app_name, base 492 chrome/browser/ui/views/desktop_media_picker_views.cc const base::string16& target_name, base 568 chrome/browser/ui/views/desktop_media_picker_views.cc base::string16 DesktopMediaPickerDialogView::GetWindowTitle() const { base 579 chrome/browser/ui/views/desktop_media_picker_views.cc base::string16 DesktopMediaPickerDialogView::GetDialogButtonLabel( base 631 chrome/browser/ui/views/desktop_media_picker_views.cc const base::string16& app_name, base 632 chrome/browser/ui/views/desktop_media_picker_views.cc const base::string16& target_name, base 652 chrome/browser/ui/views/desktop_media_picker_views.cc base::Bind(callback_, source)); base 52 chrome/browser/ui/views/download/download_danger_prompt_views.cc virtual base::string16 GetDialogButtonLabel( base 54 chrome/browser/ui/views/download/download_danger_prompt_views.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 69 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 GetAcceptButtonTitle() const; base 70 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 GetCancelButtonTitle() const; base 72 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 GetMessageLead() const; base 73 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 GetMessageBody() const; base 104 chrome/browser/ui/views/download/download_danger_prompt_views.cc const base::string16 message_lead = GetMessageLead(); base 150 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 DownloadDangerPromptViews::GetDialogButtonLabel( base 164 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 DownloadDangerPromptViews::GetWindowTitle() const { base 234 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 DownloadDangerPromptViews::GetAcceptButtonTitle() const { base 248 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 DownloadDangerPromptViews::GetCancelButtonTitle() const { base 262 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 DownloadDangerPromptViews::GetMessageLead() const { base 276 chrome/browser/ui/views/download/download_danger_prompt_views.cc return base::string16(); base 279 chrome/browser/ui/views/download/download_danger_prompt_views.cc base::string16 DownloadDangerPromptViews::GetMessageBody() const { base 326 chrome/browser/ui/views/download/download_danger_prompt_views.cc return base::string16(); base 21 chrome/browser/ui/views/download/download_feedback_dialog_view.cc class DialogStatusData : public base::SupportsUserData::Data { base 82 chrome/browser/ui/views/download/download_feedback_dialog_view.cc base::string16 DownloadFeedbackDialogView::GetDialogButtonLabel( base 114 chrome/browser/ui/views/download/download_feedback_dialog_view.cc base::string16 DownloadFeedbackDialogView::GetWindowTitle() const { base 26 chrome/browser/ui/views/download/download_feedback_dialog_view.h typedef base::Callback<void(bool accepted)> UserDecisionCallback; base 44 chrome/browser/ui/views/download/download_feedback_dialog_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 50 chrome/browser/ui/views/download/download_feedback_dialog_view.h virtual base::string16 GetDialogButtonLabel( base 58 chrome/browser/ui/views/download/download_feedback_dialog_view.h base::string16 title_text_; base 59 chrome/browser/ui/views/download/download_feedback_dialog_view.h base::string16 ok_button_text_; base 60 chrome/browser/ui/views/download/download_feedback_dialog_view.h base::string16 cancel_button_text_; base 28 chrome/browser/ui/views/download/download_in_progress_dialog_view.cc const base::Callback<void(bool)>& callback) { base 38 chrome/browser/ui/views/download/download_in_progress_dialog_view.cc const base::Callback<void(bool)>& callback) base 42 chrome/browser/ui/views/download/download_in_progress_dialog_view.cc base::string16 explanation_text; base 93 chrome/browser/ui/views/download/download_in_progress_dialog_view.cc base::string16 DownloadInProgressDialogView::GetDialogButtonLabel( base 113 chrome/browser/ui/views/download/download_in_progress_dialog_view.cc base::string16 DownloadInProgressDialogView::GetWindowTitle() const { base 23 chrome/browser/ui/views/download/download_in_progress_dialog_view.h const base::Callback<void(bool)>& callback); base 29 chrome/browser/ui/views/download/download_in_progress_dialog_view.h const base::Callback<void(bool)>& callback); base 34 chrome/browser/ui/views/download/download_in_progress_dialog_view.h virtual base::string16 GetDialogButtonLabel( base 41 chrome/browser/ui/views/download/download_in_progress_dialog_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 48 chrome/browser/ui/views/download/download_in_progress_dialog_view.h const base::Callback<void(bool)> callback_; base 51 chrome/browser/ui/views/download/download_in_progress_dialog_view.h base::string16 title_text_; base 52 chrome/browser/ui/views/download/download_in_progress_dialog_view.h base::string16 ok_button_text_; base 53 chrome/browser/ui/views/download/download_in_progress_dialog_view.h base::string16 cancel_button_text_; base 113 chrome/browser/ui/views/download/download_item_view.cc creation_time_(base::Time::Now()), base 114 chrome/browser/ui/views/download/download_item_view.cc time_download_warning_shown_(base::Time()), base 238 chrome/browser/ui/views/download/download_item_view.cc base::TimeDelta::FromMilliseconds(DownloadShelf::kProgressRateMs), this, base 267 chrome/browser/ui/views/download/download_item_view.cc base::string16 status_text = model_.GetStatusText(); base 308 chrome/browser/ui/views/download/download_item_view.cc base::string16 new_tip = model_.GetTooltipText(font_list_, kTooltipMaxWidth); base 329 chrome/browser/ui/views/download/download_item_view.cc base::MessageLoop::current()->PostDelayedTask( base 331 chrome/browser/ui/views/download/download_item_view.cc base::Bind(&DownloadItemView::Reenable, weak_ptr_factory_.GetWeakPtr()), base 332 chrome/browser/ui/views/download/download_item_view.cc base::TimeDelta::FromMilliseconds(kDisabledOnOpenDuration)); base 483 chrome/browser/ui/views/download/download_item_view.cc base::string16* tooltip) const { base 535 chrome/browser/ui/views/download/download_item_view.cc base::TimeDelta warning_duration; base 537 chrome/browser/ui/views/download/download_item_view.cc warning_duration = base::Time::Now() - time_download_warning_shown_; base 564 chrome/browser/ui/views/download/download_item_view.cc base::Bind( base 703 chrome/browser/ui/views/download/download_item_view.cc if (base::i18n::IsRTL()) { base 784 chrome/browser/ui/views/download/download_item_view.cc base::string16 filename; base 790 chrome/browser/ui/views/download/download_item_view.cc base::string16 status_string = base 792 chrome/browser/ui/views/download/download_item_view.cc base::string16()); base 795 chrome/browser/ui/views/download/download_item_view.cc base::string16 filename_string = base 906 chrome/browser/ui/views/download/download_item_view.cc base::Time::Now() - creation_time_); base 945 chrome/browser/ui/views/download/download_item_view.cc base::Bind(&DownloadItemView::OnExtractIconComplete, base 946 chrome/browser/ui/views/download/download_item_view.cc base::Unretained(this)), base 951 chrome/browser/ui/views/download/download_item_view.cc base::FilePath current_download_path = download()->GetTargetFilePath(); base 993 chrome/browser/ui/views/download/download_item_view.cc base::MessageLoop::current()->PostNonNestableTask( base 995 chrome/browser/ui/views/download/download_item_view.cc base::Bind(&DownloadItemView::ReleaseDropDown, base 1023 chrome/browser/ui/views/download/download_item_view.cc base::TimeDelta delta = base 1024 chrome/browser/ui/views/download/download_item_view.cc base::TimeTicks::Now() - context_menu_->close_time(); base 1149 chrome/browser/ui/views/download/download_item_view.cc time_download_warning_shown_ = base::Time::Now(); base 1195 chrome/browser/ui/views/download/download_item_view.cc base::string16 dangerous_label = base 1238 chrome/browser/ui/views/download/download_item_view.cc base::string16 label_text = dangerous_download_label_->text(); base 1239 chrome/browser/ui/views/download/download_item_view.cc base::TrimWhitespace(label_text, base::TRIM_ALL, &label_text); base 1240 chrome/browser/ui/views/download/download_item_view.cc DCHECK_EQ(base::string16::npos, label_text.find('\n')); base 1248 chrome/browser/ui/views/download/download_item_view.cc const base::string16 original_text(label_text); base 1252 chrome/browser/ui/views/download/download_item_view.cc base::i18n::BreakIterator iter(original_text, base 1253 chrome/browser/ui/views/download/download_item_view.cc base::i18n::BreakIterator::BREAK_LINE); base 1257 chrome/browser/ui/views/download/download_item_view.cc base::string16 prev_text = original_text; base 1270 chrome/browser/ui/views/download/download_item_view.cc base::string16 current_text = original_text; base 1274 chrome/browser/ui/views/download/download_item_view.cc base::char16 line_end_char = current_text[pos - 1]; base 1276 chrome/browser/ui/views/download/download_item_view.cc current_text.replace(pos - 1, 1, 1, base::char16('\n')); base 1278 chrome/browser/ui/views/download/download_item_view.cc current_text.insert(pos, 1, base::char16('\n')); base 1313 chrome/browser/ui/views/download/download_item_view.cc base::string16 new_name; base 1317 chrome/browser/ui/views/download/download_item_view.cc new_name = status_text_ + base::char16(' ') + base 1331 chrome/browser/ui/views/download/download_item_view.cc if (base::i18n::IsRTL()) { base 88 chrome/browser/ui/views/download/download_item_view.h base::string16* tooltip) const OVERRIDE; base 249 chrome/browser/ui/views/download/download_item_view.h base::string16 status_text_; base 255 chrome/browser/ui/views/download/download_item_view.h base::string16 tooltip_text_; base 290 chrome/browser/ui/views/download/download_item_view.h base::CancelableTaskTracker cancelable_task_tracker_; base 303 chrome/browser/ui/views/download/download_item_view.h base::RepeatingTimer<DownloadItemView> progress_timer_; base 322 chrome/browser/ui/views/download/download_item_view.h base::Time creation_time_; base 325 chrome/browser/ui/views/download/download_item_view.h base::Time time_download_warning_shown_; base 329 chrome/browser/ui/views/download/download_item_view.h base::WeakPtrFactory<DownloadItemView> weak_ptr_factory_; base 335 chrome/browser/ui/views/download/download_item_view.h base::string16 accessible_name_; base 340 chrome/browser/ui/views/download/download_item_view.h base::FilePath last_download_item_path_; base 35 chrome/browser/ui/views/download/download_shelf_context_menu_view.cc if (base::i18n::IsRTL()) base 54 chrome/browser/ui/views/download/download_shelf_context_menu_view.cc close_time_ = base::TimeTicks::Now(); base 35 chrome/browser/ui/views/download/download_shelf_context_menu_view.h base::TimeTicks close_time() const { return close_time_; } base 47 chrome/browser/ui/views/download/download_shelf_context_menu_view.h base::TimeTicks close_time_; base 103 chrome/browser/ui/views/download/download_shelf_view.cc base::TimeDelta::FromMilliseconds(kNotifyOnExitTimeMS)); base 95 chrome/browser/ui/views/download/download_started_animation_views.cc int x = base::i18n::IsRTL() ? base 32 chrome/browser/ui/views/dropdown_bar_host.cc typedef base::win::ScopedRegion ScopedPlatformRegion; base 76 chrome/browser/ui/views/edit_search_engine_dialog.cc base::string16 EditSearchEngineDialog::GetWindowTitle() const { base 87 chrome/browser/ui/views/edit_search_engine_dialog.cc controller_->IsURLValid(base::UTF16ToUTF8(url_tf_->text()))); base 99 chrome/browser/ui/views/edit_search_engine_dialog.cc base::UTF16ToUTF8(url_tf_->text())); base 105 chrome/browser/ui/views/edit_search_engine_dialog.cc const base::string16& new_contents) { base 110 chrome/browser/ui/views/edit_search_engine_dialog.cc sender->SetText(base::i18n::ToLower(new_contents)); base 135 chrome/browser/ui/views/edit_search_engine_dialog.cc title_tf_ = CreateTextfield(base::string16()); base 136 chrome/browser/ui/views/edit_search_engine_dialog.cc keyword_tf_ = CreateTextfield(base::string16()); base 137 chrome/browser/ui/views/edit_search_engine_dialog.cc url_tf_ = CreateTextfield(base::string16()); base 207 chrome/browser/ui/views/edit_search_engine_dialog.cc base::string16 description = l10n_util::GetStringUTF16( base 209 chrome/browser/ui/views/edit_search_engine_dialog.cc if (base::i18n::IsRTL()) { base 210 chrome/browser/ui/views/edit_search_engine_dialog.cc const base::string16 reversed_percent(base::ASCIIToUTF16("s%")); base 211 chrome/browser/ui/views/edit_search_engine_dialog.cc base::string16::size_type percent_index = base 212 chrome/browser/ui/views/edit_search_engine_dialog.cc description.find(base::ASCIIToUTF16("%s"), base 213 chrome/browser/ui/views/edit_search_engine_dialog.cc static_cast<base::string16::size_type>(0)); base 214 chrome/browser/ui/views/edit_search_engine_dialog.cc if (percent_index != base::string16::npos) base 234 chrome/browser/ui/views/edit_search_engine_dialog.cc Textfield* EditSearchEngineDialog::CreateTextfield(const base::string16& text) { base 245 chrome/browser/ui/views/edit_search_engine_dialog.cc controller_->IsURLValid(base::UTF16ToUTF8(url_tf_->text())), base 256 chrome/browser/ui/views/edit_search_engine_dialog.cc image_view->SetTooltipText(base::string16()); base 43 chrome/browser/ui/views/edit_search_engine_dialog.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 52 chrome/browser/ui/views/edit_search_engine_dialog.h const base::string16& new_contents) OVERRIDE; base 62 chrome/browser/ui/views/edit_search_engine_dialog.h views::Textfield* CreateTextfield(const base::string16& text); base 167 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc title_tf_->SetText(extension ? base::UTF8ToUTF16(extension->name()) base 254 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc if (extension && base::UTF8ToUTF16(extension->name()) == title_tf_->text()) base 84 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc base::UTF8ToUTF16(view->button()->extension()->name()), base 88 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc base::string16 tooltip = base::UTF8ToUTF16( base 122 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 126 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h friend class base::DeleteHelper<BrowserActionOverflowMenuController>; base 69 chrome/browser/ui/views/extensions/bundle_installed_bubble.cc base::string16 installed_heading = bundle->GetHeadingTextFor( base 71 chrome/browser/ui/views/extensions/bundle_installed_bubble.cc base::string16 failed_heading = bundle->GetHeadingTextFor( base 106 chrome/browser/ui/views/extensions/bundle_installed_bubble.cc base::string16 extension_name = base 107 chrome/browser/ui/views/extensions/bundle_installed_bubble.cc base::UTF8ToUTF16(items[i].localized_name); base 108 chrome/browser/ui/views/extensions/bundle_installed_bubble.cc base::i18n::AdjustStringForLocaleDirection(&extension_name); base 134 chrome/browser/ui/views/extensions/bundle_installed_bubble.cc void AddHeading(GridLayout* layout, const base::string16& heading) { base 57 chrome/browser/ui/views/extensions/extension_dialog.cc const base::string16& title, base 151 chrome/browser/ui/views/extensions/extension_dialog.cc base::string16 ExtensionDialog::GetWindowTitle() const { base 33 chrome/browser/ui/views/extensions/extension_dialog.h public base::RefCounted<ExtensionDialog> { base 48 chrome/browser/ui/views/extensions/extension_dialog.h const base::string16& title, base 59 chrome/browser/ui/views/extensions/extension_dialog.h void set_title(const base::string16& title) { window_title_ = title; } base 71 chrome/browser/ui/views/extensions/extension_dialog.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 88 chrome/browser/ui/views/extensions/extension_dialog.h friend class base::RefCounted<ExtensionDialog>; base 97 chrome/browser/ui/views/extensions/extension_dialog.h base::string16 window_title_; base 101 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc typedef std::vector<base::string16> PermissionDetails; base 113 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc base::string16 PrepareForDisplay(const base::string16& message, base 148 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc virtual base::string16 GetDialogButtonLabel( base 154 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 259 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc layout->AddView(new views::Label(PrepareForDisplay(base::string16(), true))); base 291 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc views::Checkbox* checkbox = new views::Checkbox(base::string16()); base 308 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc const base::string16& description, base 348 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc void AddDetail(const base::string16& detail); base 592 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc base::string16 extension_name = base 593 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc base::UTF8ToUTF16(items[i].localized_name); base 594 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc base::i18n::AdjustStringForLocaleDirection(&extension_name); base 671 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc this, base::string16(), details, left_column_width, base 677 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc base::string16 explanation = base 684 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc new ExpandableContainerView(this, base::string16(), details, base 784 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc this, base::string16(), details, space_for_files, base 972 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc base::string16 ExtensionInstallDialogView::GetDialogButtonLabel( base 983 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc return base::string16(); base 1007 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc base::string16 ExtensionInstallDialogView::GetWindowTitle() const { base 1132 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc return base::Bind(&ShowExtensionInstallDialogImpl); base 1161 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc const base::string16& detail) { base 1190 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc const base::string16& description, base 125 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc base::string16 key; // Keyboard shortcut or keyword to display in bubble. base 149 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc key = base::UTF8ToUTF16(extensions::OmniboxInfo::GetKeyword(extension)); base 178 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc base::string16 extension_name = base::UTF8ToUTF16(extension->name()); base 179 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc base::i18n::AdjustStringForLocaleDirection(&extension_name); base 293 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc base::string16 GetHowToUseDescription(const base::string16& key) { base 321 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc return base::string16(); base 334 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc base::string16 full_text = signin_promo_link_text_ + signin_promo_text_; base 343 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc std::vector<base::string16> lines; base 351 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc if (base::i18n::IsRTL()) { base 357 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc for (std::vector<base::string16>::const_iterator it = lines.begin(); base 490 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc base::string16 signin_promo_link_text_; base 492 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc base::string16 signin_promo_text_; base 36 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc base::LazyInstance<std::set<Profile*> > g_profiles_evaluated = base 80 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc const base::Closure& callback) { base 85 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc const base::Closure& callback) { base 90 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc const base::Closure& callback) { base 103 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc base::MessageLoop::current()->PostDelayedTask( base 105 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc base::Bind(&ExtensionMessageBubbleView::ShowBubble, base 107 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc base::TimeDelta::FromSeconds(kBubbleAppearanceWaitTime)); base 180 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc std::vector<base::string16> extension_list; base 181 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc base::char16 bullet_point = 0x2022; base 183 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc std::vector<base::string16> suspicious = controller_->GetExtensionList(); base 188 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc bullet_point + base::ASCIIToUTF16(" ") + suspicious[i]); base 192 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc base::string16 difference = base::IntToString16(i - kMaxExtensionsToShow); base 193 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc extension_list.push_back(bullet_point + base::ASCIIToUTF16(" ") + base 197 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc extensions->SetText(JoinString(extension_list, base::ASCIIToUTF16("\n"))); base 203 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc base::string16 action_button = delegate->GetActionButtonLabel(); base 142 chrome/browser/ui/views/extensions/extension_message_bubble_view.h virtual void OnActionButtonClicked(const base::Closure& callback) OVERRIDE; base 143 chrome/browser/ui/views/extensions/extension_message_bubble_view.h virtual void OnDismissButtonClicked(const base::Closure& callback) OVERRIDE; base 144 chrome/browser/ui/views/extensions/extension_message_bubble_view.h virtual void OnLinkClicked(const base::Closure& callback) OVERRIDE; base 170 chrome/browser/ui/views/extensions/extension_message_bubble_view.h base::WeakPtrFactory<ExtensionMessageBubbleView> weak_factory_; base 187 chrome/browser/ui/views/extensions/extension_message_bubble_view.h base::Closure action_callback_; base 188 chrome/browser/ui/views/extensions/extension_message_bubble_view.h base::Closure dismiss_callback_; base 189 chrome/browser/ui/views/extensions/extension_message_bubble_view.h base::Closure link_callback_; base 76 chrome/browser/ui/views/extensions/extension_popup.cc devtools_callback_(base::Bind( base 77 chrome/browser/ui/views/extensions/extension_popup.cc &ExtensionPopup::OnDevToolsStateChanged, base::Unretained(this))) { base 121 chrome/browser/ui/views/extensions/extension_popup.h base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; base 84 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc virtual base::string16 GetDialogButtonLabel( base 96 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 171 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc heading_ = new views::Label(base::UTF8ToUTF16(dialog_->GetHeadingText())); base 180 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc base::string16 ExtensionUninstallDialogDelegateView::GetDialogButtonLabel( base 198 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc base::string16 ExtensionUninstallDialogDelegateView::GetWindowTitle() const { base 204 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc base::string16 label = gallery.GetGalleryDisplayName(); base 205 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc base::string16 tooltip_text = gallery.GetGalleryTooltip(); base 206 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc base::string16 details = gallery.GetGalleryAdditionalDetails(); base 239 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc base::string16 MediaGalleriesDialogViews::GetWindowTitle() const { base 259 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc base::string16 MediaGalleriesDialogViews::GetDialogButtonLabel( base 40 chrome/browser/ui/views/extensions/media_galleries_dialog_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 45 chrome/browser/ui/views/extensions/media_galleries_dialog_views.h virtual base::string16 GetDialogButtonLabel( base 28 chrome/browser/ui/views/extensions/media_galleries_dialog_views_unittest.cc base::Int64ToString(id)); base 29 chrome/browser/ui/views/extensions/media_galleries_dialog_views_unittest.cc gallery.display_name = base::ASCIIToUTF16("Display Name"); base 160 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc base::string16 label = gallery.GetGalleryDisplayName(); base 161 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc base::string16 tooltip_text = gallery.GetGalleryTooltip(); base 162 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc base::string16 details = gallery.GetGalleryAdditionalDetails(); base 188 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc base::string16 MediaGalleriesScanResultDialogViews::GetWindowTitle() const { base 208 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc base::string16 MediaGalleriesScanResultDialogViews::GetDialogButtonLabel( base 42 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 47 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.h virtual base::string16 GetDialogButtonLabel( base 30 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc const base::string16& label, base 31 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc const base::string16& tooltip_text, base 32 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc const base::string16& details, base 26 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.h MediaGalleryCheckboxView(const base::string16& label, base 27 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.h const base::string16& tooltip_text, base 28 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.h const base::string16& details, base 65 chrome/browser/ui/views/external_protocol_dialog.cc base::string16 ExternalProtocolDialog::GetDialogButtonLabel( base 73 chrome/browser/ui/views/external_protocol_dialog.cc base::string16 ExternalProtocolDialog::GetWindowTitle() const { base 98 chrome/browser/ui/views/external_protocol_dialog.cc base::TimeTicks::Now() - creation_time_); base 129 chrome/browser/ui/views/external_protocol_dialog.cc creation_time_(base::TimeTicks::Now()) { base 31 chrome/browser/ui/views/external_protocol_dialog.h virtual base::string16 GetDialogButtonLabel( base 33 chrome/browser/ui/views/external_protocol_dialog.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 52 chrome/browser/ui/views/external_protocol_dialog.h base::TimeTicks creation_time_; base 24 chrome/browser/ui/views/find_bar_controller_interactive_uitest.cc return ui_test_utils::GetTestUrl(base::FilePath().AppendASCII("find_in_page"), base 25 chrome/browser/ui/views/find_bar_controller_interactive_uitest.cc base::FilePath().AppendASCII(filename)); base 105 chrome/browser/ui/views/find_bar_host.cc find_bar_view()->UpdateForResult(results, base::string16()); base 134 chrome/browser/ui/views/find_bar_host.cc const base::string16& find_text, base 139 chrome/browser/ui/views/find_bar_host.cc base::string16 FindBarHost::GetFindText() { base 148 chrome/browser/ui/views/find_bar_host.cc const base::string16& find_text) { base 248 chrome/browser/ui/views/find_bar_host.cc base::string16 FindBarHost::GetFindSelectedText() { base 252 chrome/browser/ui/views/find_bar_host.cc base::string16 FindBarHost::GetMatchCountText() { base 285 chrome/browser/ui/views/find_bar_host.cc if (!base::i18n::IsRTL()) base 59 chrome/browser/ui/views/find_bar_host.h const base::string16& find_text, base 61 chrome/browser/ui/views/find_bar_host.h virtual base::string16 GetFindText() OVERRIDE; base 64 chrome/browser/ui/views/find_bar_host.h const base::string16& find_text) OVERRIDE; base 79 chrome/browser/ui/views/find_bar_host.h virtual base::string16 GetFindSelectedText() OVERRIDE; base 80 chrome/browser/ui/views/find_bar_host.h virtual base::string16 GetMatchCountText() OVERRIDE; base 29 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc using base::ASCIIToUTF16; base 42 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc base::string16 GetFindBarText() { base 47 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc base::string16 GetFindBarSelectedText() { base 314 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_EQ(base::string16(), GetFindBarText()); base 325 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_EQ(base::string16(), GetFindBarText()); base 337 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_EQ(base::string16(), GetFindBarText()); base 390 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc base::string16 str; base 169 chrome/browser/ui/views/find_bar_view.cc const base::string16& find_text, base 175 chrome/browser/ui/views/find_bar_view.cc base::string16 FindBarView::GetFindText() const { base 183 chrome/browser/ui/views/find_bar_view.cc base::string16 FindBarView::GetFindSelectedText() const { base 187 chrome/browser/ui/views/find_bar_view.cc base::string16 FindBarView::GetMatchCountText() const { base 192 chrome/browser/ui/views/find_bar_view.cc const base::string16& find_text) { base 212 chrome/browser/ui/views/find_bar_view.cc base::IntToString16(result.active_match_ordinal()), base 213 chrome/browser/ui/views/find_bar_view.cc base::IntToString16(result.number_of_matches()))); base 226 chrome/browser/ui/views/find_bar_view.cc match_count_text_->SetText(base::string16()); base 405 chrome/browser/ui/views/find_bar_view.cc base::string16 find_string = find_text_->text(); base 435 chrome/browser/ui/views/find_bar_view.cc void FindBarView::Find(const base::string16& search_text) { base 456 chrome/browser/ui/views/find_bar_view.cc UpdateForResult(find_tab_helper->find_result(), base::string16()); base 467 chrome/browser/ui/views/find_bar_view.cc find_bar_state->set_last_prepopulate_text(base::string16()); base 48 chrome/browser/ui/views/find_bar_view.h void SetFindTextAndSelectedRange(const base::string16& find_text, base 50 chrome/browser/ui/views/find_bar_view.h base::string16 GetFindText() const; base 54 chrome/browser/ui/views/find_bar_view.h base::string16 GetFindSelectedText() const; base 57 chrome/browser/ui/views/find_bar_view.h base::string16 GetMatchCountText() const; base 62 chrome/browser/ui/views/find_bar_view.h const base::string16& find_text); base 87 chrome/browser/ui/views/find_bar_view.h void Find(const base::string16& search_text); base 121 chrome/browser/ui/views/find_bar_view.h base::string16 last_searched_text_; base 47 chrome/browser/ui/views/first_run_bubble.cc : base::string16()), base 63 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc virtual base::RefCountedMemory* GetRawData( base 91 chrome/browser/ui/views/frame/browser_frame.cc base::Bind(&BrowserFrame::OnUseCustomChromeFrameChanged, base 92 chrome/browser/ui/views/frame/browser_frame.cc base::Unretained(this))); base 38 chrome/browser/ui/views/frame/browser_frame_ashwin.cc base::MessageLoop::current()->PostTask( base 40 chrome/browser/ui/views/frame/browser_frame_ashwin.cc base::Bind(base::IgnoreResult(chrome::ActivateMetroChrome))); base 91 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc base::string16 text; base 152 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc base::string16 profile_name = profiles::GetAvatarNameForProfile( base 98 chrome/browser/ui/views/frame/browser_root_view.cc base::string16 title; base 105 chrome/browser/ui/views/frame/browser_root_view.cc mapped_data.SetURL(url, base::string16()); base 110 chrome/browser/ui/views/frame/browser_root_view.cc mapped_data.SetURL(url, base::string16()); base 191 chrome/browser/ui/views/frame/browser_root_view.cc base::string16 text; base 170 chrome/browser/ui/views/frame/browser_view.cc using base::TimeDelta; base 171 chrome/browser/ui/views/frame/browser_view.cc using base::UserMetricsAction; base 788 chrome/browser/ui/views/frame/browser_view.cc last_animation_time_ = base::TimeTicks::Now(); base 795 chrome/browser/ui/views/frame/browser_view.cc last_animation_time_ = base::TimeTicks(); base 1014 chrome/browser/ui/views/frame/browser_view.cc base::AutoReset<CallState> resetter(&call_state, base 1231 chrome/browser/ui/views/frame/browser_view.cc const base::string16& email, base 1232 chrome/browser/ui/views/frame/browser_view.cc const base::string16& error_message, base 1286 chrome/browser/ui/views/frame/browser_view.cc const base::Callback<void(bool)>& callback) { base 1552 chrome/browser/ui/views/frame/browser_view.cc base::MessageLoop::current()->PostTask( base 1554 chrome/browser/ui/views/frame/browser_view.cc base::Bind(&BrowserView::ActivateAppModalDialog, base 1560 chrome/browser/ui/views/frame/browser_view.cc base::string16 BrowserView::GetWindowTitle() const { base 1564 chrome/browser/ui/views/frame/browser_view.cc base::string16 BrowserView::GetAccessibleWindowTitle() const { base 2037 chrome/browser/ui/views/frame/browser_view.cc base::TimeTicks now = base::TimeTicks::Now(); base 342 chrome/browser/ui/views/frame/browser_view.h const base::string16& email, base 343 chrome/browser/ui/views/frame/browser_view.h const base::string16& error_message, base 354 chrome/browser/ui/views/frame/browser_view.h const base::Callback<void(bool)>& callback) OVERRIDE; base 416 chrome/browser/ui/views/frame/browser_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 417 chrome/browser/ui/views/frame/browser_view.h virtual base::string16 GetAccessibleWindowTitle() const OVERRIDE; base 726 chrome/browser/ui/views/frame/browser_view.h base::RepeatingTimer<BrowserView> loading_animation_timer_; base 731 chrome/browser/ui/views/frame/browser_view.h base::TimeTicks last_animation_time_; base 743 chrome/browser/ui/views/frame/browser_view.h mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; base 247 chrome/browser/ui/views/frame/browser_view_layout.cc if (base::i18n::IsRTL()) base 126 chrome/browser/ui/views/frame/browser_view_unittest.cc base::string16()); base 157 chrome/browser/ui/views/frame/browser_view_unittest.cc base::string16()); base 39 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc base::MessageLoop::current()->Quit(); base 46 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc const base::string16& expected_profile_name) { base 49 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc base::win::ScopedComPtr<IPropertyStore> pps; base 54 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc base::win::ScopedPropVariant prop_var; base 62 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc base::FilePath(profiles::internal::GetShortcutFilenameForProfile( base 114 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 118 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc ValidateBrowserWindowProperties(browser(), base::string16()); base 129 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc base::FilePath path_profile2 = base 132 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc base::Bind(&UnblockOnProfileCreation), base 133 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc base::string16(), base::string16(), base 142 chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc browser(), base::UTF8ToUTF16(browser()->profile()->GetProfileName())); base 31 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc base::Bind(&BrowserWindowPropertyManager::OnProfileIconVersionChange, base 32 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc base::Unretained(this))); base 45 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc base::string16 app_id = browser->is_app() ? base 47 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc base::UTF8ToWide(browser->app_name()), base 50 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc base::string16 icon_path_string; base 51 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc base::string16 command_line_string; base 52 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc base::string16 pinned_name; base 62 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc const base::FilePath& profile_path = profile->GetPath(); base 66 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc base::FilePath icon_path; base 84 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7 || base 128 chrome/browser/ui/views/frame/glass_browser_frame_view.cc if (base::i18n::IsRTL()) { base 453 chrome/browser/ui/views/frame/glass_browser_frame_view.cc if (base::i18n::IsRTL()) base 476 chrome/browser/ui/views/frame/glass_browser_frame_view.cc if (base::i18n::IsRTL()) base 293 chrome/browser/ui/views/frame/global_menu_bar_x11.cc base::string16 title; base 346 chrome/browser/ui/views/frame/global_menu_bar_x11.cc return base::StringPrintf("/com/canonical/menu/%lX", xid); base 410 chrome/browser/ui/views/frame/global_menu_bar_x11.cc base::Bind(&GlobalMenuBarX11::OnBookmarkBarVisibilityChanged, base 411 chrome/browser/ui/views/frame/global_menu_bar_x11.cc base::Unretained(this))); base 528 chrome/browser/ui/views/frame/global_menu_bar_x11.cc base::string16 title = item->title; base 532 chrome/browser/ui/views/frame/global_menu_bar_x11.cc title = base::UTF8ToUTF16(url_string); base 535 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DbusmenuMenuitem* menu_item = BuildMenuItem(base::UTF16ToUTF8(title), tag); base 549 chrome/browser/ui/views/frame/global_menu_bar_x11.cc base::Bind(&GlobalMenuBarX11::OnTopSitesReceived, base 678 chrome/browser/ui/views/frame/global_menu_bar_x11.cc base::IntToString16(tabs.size())); base 163 chrome/browser/ui/views/frame/global_menu_bar_x11.h base::WeakPtrFactory<GlobalMenuBarX11> weak_ptr_factory_; base 91 chrome/browser/ui/views/frame/minimize_button_metrics_win.cc if (base::i18n::IsRTL()) base 104 chrome/browser/ui/views/frame/minimize_button_metrics_win.cc if (base::i18n::IsRTL()) { base 451 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc base::string16 OpaqueBrowserFrameView::GetWindowTitle() const { base 85 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 20 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h virtual base::string16 GetWindowTitle() const = 0; base 46 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc void SetWindowTitle(const base::string16& title) { base 72 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc virtual base::string16 GetWindowTitle() const OVERRIDE { base 141 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc base::string16 window_title_; base 237 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc new views::MenuButton(NULL, base::string16(), NULL, false); base 409 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc delegate_->SetWindowTitle(base::ASCIIToUTF16("Window Title")); base 118 chrome/browser/ui/views/frame/system_menu_model_builder.cc base::ASCIIToUTF16("Toggle Frame Type")); base 160 chrome/browser/ui/views/frame/system_menu_model_builder.cc base::ASCIIToUTF16(delegate->GetUserEmail(user_index)))); base 52 chrome/browser/ui/views/frame/system_menu_model_delegate.cc base::string16 SystemMenuModelDelegate::GetLabelForCommandId( base 29 chrome/browser/ui/views/frame/system_menu_model_delegate.h virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; base 37 chrome/browser/ui/views/frame/taskbar_decorator_win.cc base::win::ScopedCOMInitializer com_initializer; base 38 chrome/browser/ui/views/frame/taskbar_decorator_win.cc base::win::ScopedComPtr<ITaskbarList3> taskbar; base 44 chrome/browser/ui/views/frame/taskbar_decorator_win.cc base::win::ScopedGDIObject<HICON> icon; base 92 chrome/browser/ui/views/frame/taskbar_decorator_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7 || base 109 chrome/browser/ui/views/frame/taskbar_decorator_win.cc base::WorkerPool::PostTask( base 110 chrome/browser/ui/views/frame/taskbar_decorator_win.cc FROM_HERE, base::Bind(&SetOverlayIcon, hwnd, Passed(&bitmap)), true); base 67 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc accept_button_ = new views::LabelButton(listener, base::string16()); base 72 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc deny_button_ = new views::LabelButton(listener, base::string16()); base 96 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc const base::string16& accelerator, base 120 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc const base::string16 browser_fullscreen_exit_accelerator_; base 127 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc const base::string16& accelerator, base 147 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc message_label_ = new views::Label(base::string16(), medium_font_list); base 231 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc base::string16 accelerator; base 244 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc base::UTF8ToUTF16(" ") + base 323 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, popup_); base 45 chrome/browser/ui/views/global_error_bubble_view.cc const base::WeakPtr<GlobalErrorWithStandardBubble>& error) { base 64 chrome/browser/ui/views/global_error_bubble_view.cc const base::WeakPtr<GlobalErrorWithStandardBubble>& error) base 78 chrome/browser/ui/views/global_error_bubble_view.cc base::string16 title_string(error_->GetBubbleViewTitle()); base 84 chrome/browser/ui/views/global_error_bubble_view.cc std::vector<base::string16> message_strings(error_->GetBubbleViewMessages()); base 94 chrome/browser/ui/views/global_error_bubble_view.cc base::string16 accept_string(error_->GetBubbleViewAcceptButtonLabel()); base 101 chrome/browser/ui/views/global_error_bubble_view.cc base::string16 cancel_string(error_->GetBubbleViewCancelButtonLabel()); base 24 chrome/browser/ui/views/global_error_bubble_view.h const base::WeakPtr<GlobalErrorWithStandardBubble>& error); base 39 chrome/browser/ui/views/global_error_bubble_view.h base::WeakPtr<GlobalErrorWithStandardBubble> error_; base 121 chrome/browser/ui/views/hung_renderer_view.cc base::string16 HungPagesTableModel::GetText(int row, int column_id) { base 123 chrome/browser/ui/views/hung_renderer_view.cc base::string16 title = tab_observers_[row]->web_contents()->GetTitle(); base 129 chrome/browser/ui/views/hung_renderer_view.cc base::i18n::AdjustStringForLocaleDirection(&title); base 172 chrome/browser/ui/views/hung_renderer_view.cc base::TerminationStatus status) { base 224 chrome/browser/ui/views/hung_renderer_view.cc base::ProcessHandle process_handle) { base 225 chrome/browser/ui/views/hung_renderer_view.cc base::KillProcess(process_handle, content::RESULT_CODE_HUNG, false); base 302 chrome/browser/ui/views/hung_renderer_view.cc base::string16 HungRendererDialogView::GetWindowTitle() const { base 321 chrome/browser/ui/views/hung_renderer_view.cc base::string16 HungRendererDialogView::GetDialogButtonLabel( base 367 chrome/browser/ui/views/hung_renderer_view.cc base::ProcessHandle process_handle = base 52 chrome/browser/ui/views/hung_renderer_view.h virtual base::string16 GetText(int row, int column_id) OVERRIDE; base 77 chrome/browser/ui/views/hung_renderer_view.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 114 chrome/browser/ui/views/hung_renderer_view.h static void KillRendererProcess(base::ProcessHandle process_handle); base 123 chrome/browser/ui/views/hung_renderer_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 126 chrome/browser/ui/views/hung_renderer_view.h virtual base::string16 GetDialogButtonLabel( base 22 chrome/browser/ui/views/hung_renderer_view_win.cc base::win::MetroDialogButtonPressedHandler button1_handler, base 23 chrome/browser/ui/views/hung_renderer_view_win.cc base::win::MetroDialogButtonPressedHandler button2_handler); base 51 chrome/browser/ui/views/hung_renderer_view_win.cc base::ProcessHandle process_handle) { base 80 chrome/browser/ui/views/hung_renderer_view_win.cc HMODULE metro_dll = base::win::GetMetroModule(); base 87 chrome/browser/ui/views/hung_renderer_view_win.cc base::string16 dialog_box_title = base 90 chrome/browser/ui/views/hung_renderer_view_win.cc base::string16 kill_button_label = base 93 chrome/browser/ui/views/hung_renderer_view_win.cc base::string16 wait_button_label = base 111 chrome/browser/ui/views/hung_renderer_view_win.cc HMODULE metro_dll = base::win::GetMetroModule(); base 138 chrome/browser/ui/views/hung_renderer_view_win.cc base::Bind(HungRendererDialogMetro::OnMetroKillProcess)); base 162 chrome/browser/ui/views/hung_renderer_view_win.cc base::Bind(HungRendererDialogMetro::OnMetroWait)); base 20 chrome/browser/ui/views/importer/import_lock_dialog_view.cc using base::UserMetricsAction; base 25 chrome/browser/ui/views/importer/import_lock_dialog_view.cc const base::Callback<void(bool)>& callback) { base 34 chrome/browser/ui/views/importer/import_lock_dialog_view.cc const base::Callback<void(bool)>& callback) { base 40 chrome/browser/ui/views/importer/import_lock_dialog_view.cc const base::Callback<void(bool)>& callback) base 65 chrome/browser/ui/views/importer/import_lock_dialog_view.cc base::string16 ImportLockDialogView::GetDialogButtonLabel( base 71 chrome/browser/ui/views/importer/import_lock_dialog_view.cc base::string16 ImportLockDialogView::GetWindowTitle() const { base 76 chrome/browser/ui/views/importer/import_lock_dialog_view.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 77 chrome/browser/ui/views/importer/import_lock_dialog_view.cc base::Bind(callback_, true)); base 82 chrome/browser/ui/views/importer/import_lock_dialog_view.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 83 chrome/browser/ui/views/importer/import_lock_dialog_view.cc base::Bind(callback_, false)); base 24 chrome/browser/ui/views/importer/import_lock_dialog_view.h const base::Callback<void(bool)>& callback); base 27 chrome/browser/ui/views/importer/import_lock_dialog_view.h explicit ImportLockDialogView(const base::Callback<void(bool)>& callback); base 35 chrome/browser/ui/views/importer/import_lock_dialog_view.h virtual base::string16 GetDialogButtonLabel( base 37 chrome/browser/ui/views/importer/import_lock_dialog_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 45 chrome/browser/ui/views/importer/import_lock_dialog_view.h base::Callback<void(bool)> callback_; base 87 chrome/browser/ui/views/infobars/after_translate_infobar.cc std::vector<base::string16> strings; base 96 chrome/browser/ui/views/infobars/after_translate_infobar.cc original_language_menu_button_ = CreateMenuButton(base::string16(), this); base 100 chrome/browser/ui/views/infobars/after_translate_infobar.cc target_language_menu_button_ = CreateMenuButton(base::string16(), this); base 118 chrome/browser/ui/views/infobars/after_translate_infobar.cc base::string16() : strings[2]); base 78 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc base::string16 message_text = delegate->GetMessageTextWithOffset(&offset); base 79 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc DCHECK_NE(base::string16::npos, offset); base 44 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.h base::string16 label_1_text_; base 45 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.h base::string16 link_text_; base 46 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.h base::string16 label_2_text_; base 85 chrome/browser/ui/views/infobars/before_translate_infobar.cc base::string16 text( base 87 chrome/browser/ui/views/infobars/before_translate_infobar.cc base::string16(), &offset)); base 92 chrome/browser/ui/views/infobars/before_translate_infobar.cc language_menu_button_ = CreateMenuButton(base::string16(), this); base 110 chrome/browser/ui/views/infobars/before_translate_infobar.cc const base::string16& language( base 82 chrome/browser/ui/views/infobars/confirm_infobar.cc base::string16 link_text(delegate->GetLinkText()); base 130 chrome/browser/ui/views/infobars/extension_infobar.cc icon_as_menu_ = new views::MenuButton(NULL, base::string16(), this, false); base 168 chrome/browser/ui/views/infobars/extension_infobar.cc base::Bind(&ExtensionInfoBar::OnImageLoaded, base 65 chrome/browser/ui/views/infobars/extension_infobar.h base::WeakPtrFactory<ExtensionInfoBar> weak_ptr_factory_; base 93 chrome/browser/ui/views/infobars/infobar_view.cc views::Label* InfoBarView::CreateLabel(const base::string16& text) const { base 104 chrome/browser/ui/views/infobars/infobar_view.cc views::Link* InfoBarView::CreateLink(const base::string16& text, base 118 chrome/browser/ui/views/infobars/infobar_view.cc const base::string16& text, base 150 chrome/browser/ui/views/infobars/infobar_view.cc const base::string16& text, base 176 chrome/browser/ui/views/infobars/infobar_view.cc (base::win::GetVersion() >= base::win::VERSION_VISTA) && base 177 chrome/browser/ui/views/infobars/infobar_view.cc base::win::UserAccountControlIsEnabled()) { base 52 chrome/browser/ui/views/infobars/infobar_view.h views::Label* CreateLabel(const base::string16& text) const; base 56 chrome/browser/ui/views/infobars/infobar_view.h views::Link* CreateLink(const base::string16& text, base 62 chrome/browser/ui/views/infobars/infobar_view.h const base::string16& text, base 68 chrome/browser/ui/views/infobars/infobar_view.h const base::string16& text, base 42 chrome/browser/ui/views/infobars/translate_infobar_base.cc const base::string16& text) { base 24 chrome/browser/ui/views/infobars/translate_infobar_base.h const base::string16& text); base 42 chrome/browser/ui/views/infobars/translate_message_infobar.cc base::string16 button_text(delegate->GetMessageInfoBarButtonText()); base 106 chrome/browser/ui/views/javascript_app_modal_dialog_views.cc base::string16 JavaScriptAppModalDialogViews::GetWindowTitle() const { base 143 chrome/browser/ui/views/javascript_app_modal_dialog_views.cc base::string16 JavaScriptAppModalDialogViews::GetDialogButtonLabel( base 39 chrome/browser/ui/views/javascript_app_modal_dialog_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 44 chrome/browser/ui/views/javascript_app_modal_dialog_views.h virtual base::string16 GetDialogButtonLabel( base 71 chrome/browser/ui/views/keyboard_access_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 72 chrome/browser/ui/views/keyboard_access_browsertest.cc base::MessageLoop::QuitClosure()); base 78 chrome/browser/ui/views/keyboard_access_browsertest.cc base::WeakPtrFactory<ViewFocusChangeWaiter> weak_factory_; base 113 chrome/browser/ui/views/keyboard_access_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 115 chrome/browser/ui/views/keyboard_access_browsertest.cc base::MessageLoop::QuitClosure(), base 116 chrome/browser/ui/views/keyboard_access_browsertest.cc base::TimeDelta::FromMilliseconds(200)); base 422 chrome/browser/ui/views/keyboard_access_browsertest.cc base::string16 before_back; base 429 chrome/browser/ui/views/keyboard_access_browsertest.cc base::string16 after_back; base 438 chrome/browser/ui/views/keyboard_access_browsertest.cc base::string16 after_forward; base 29 chrome/browser/ui/views/location_bar/bubble_icon_view.cc base::string16* tooltip) const { base 32 chrome/browser/ui/views/location_bar/bubble_icon_view.h virtual bool GetTooltipText(const gfx::Point& p, base::string16* tooltip) base 46 chrome/browser/ui/views/location_bar/content_setting_image_view.cc text_label_(new views::Label(base::string16(), font_list)), base 105 chrome/browser/ui/views/location_bar/content_setting_image_view.cc base::UTF8ToUTF16(content_setting_image_model_->get_tooltip())); base 28 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc label_(new views::Label(base::string16(), font_list)), base 75 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc void IconLabelBubbleView::SetLabel(const base::string16& label) { base 42 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h void SetLabel(const base::string16& label); base 44 chrome/browser/ui/views/location_bar/keyword_hint_view.cc void KeywordHintView::SetKeyword(const base::string16& keyword) { base 56 chrome/browser/ui/views/location_bar/keyword_hint_view.cc base::string16 short_name( base 60 chrome/browser/ui/views/location_bar/keyword_hint_view.cc const base::string16 keyword_hint = l10n_util::GetStringFUTF16( base 61 chrome/browser/ui/views/location_bar/keyword_hint_view.cc message_id, base::string16(), short_name, &content_param_offsets); base 98 chrome/browser/ui/views/location_bar/keyword_hint_view.cc views::Label* label = new views::Label(base::string16(), font_list); base 41 chrome/browser/ui/views/location_bar/keyword_hint_view.h void SetKeyword(const base::string16& keyword); base 42 chrome/browser/ui/views/location_bar/keyword_hint_view.h base::string16 keyword() const { return keyword_; } base 58 chrome/browser/ui/views/location_bar/keyword_hint_view.h base::string16 keyword_; base 230 chrome/browser/ui/views/location_bar/location_bar_view.cc base::Bind(&LocationBarView::Update, base::Unretained(this), base 312 chrome/browser/ui/views/location_bar/location_bar_view.cc ime_inline_autocomplete_view_ = new views::Label(base::string16(), font_list); base 324 chrome/browser/ui/views/location_bar/location_bar_view.cc animated_host_label_ = new views::Label(base::string16(), font_list); base 338 chrome/browser/ui/views/location_bar/location_bar_view.cc suggested_text_view_ = new views::Label(base::string16(), font_list); base 399 chrome/browser/ui/views/location_bar/location_bar_view.cc search_button_ = new views::LabelButton(this, base::string16()); base 682 chrome/browser/ui/views/location_bar/location_bar_view.cc if (base::i18n::IsRTL()) base 688 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::SetImeInlineAutocompletion(const base::string16& text) { base 693 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::SetGrayTextAutocompletion(const base::string16& text) { base 702 chrome/browser/ui/views/location_bar/location_bar_view.cc base::string16 LocationBarView::GetGrayTextAutocompletion() const { base 704 chrome/browser/ui/views/location_bar/location_bar_view.cc : base::string16(); base 736 chrome/browser/ui/views/location_bar/location_bar_view.cc const int kEditLeadingInternalSpace = base::i18n::IsRTL() ? 1 : 0; base 747 chrome/browser/ui/views/location_bar/location_bar_view.cc const base::string16 host = base 751 chrome/browser/ui/views/location_bar/location_bar_view.cc const base::string16 formatted_url = GetToolbarModel()->GetFormattedURL(); base 755 chrome/browser/ui/views/location_bar/location_bar_view.cc std::vector<base::string16> substrings; base 756 chrome/browser/ui/views/location_bar/location_bar_view.cc base::SplitStringUsingSubstr(formatted_url, host, &substrings); base 757 chrome/browser/ui/views/location_bar/location_bar_view.cc const base::string16 text_leading_host = substrings[0]; base 786 chrome/browser/ui/views/location_bar/location_bar_view.cc const base::string16 keyword(omnibox_view_->model()->keyword()); base 938 chrome/browser/ui/views/location_bar/location_bar_view.cc base::i18n::TextDirection text_direction = base 939 chrome/browser/ui/views/location_bar/location_bar_view.cc base::i18n::GetStringDirection(omnibox_view_->GetText()); base 941 chrome/browser/ui/views/location_bar/location_bar_view.cc base::i18n::GetStringDirection(suggested_text_view_->text())) base 942 chrome/browser/ui/views/location_bar/location_bar_view.cc text_direction = base::i18n::UNKNOWN_DIRECTION; base 947 chrome/browser/ui/views/location_bar/location_bar_view.cc text_direction == base::i18n::UNKNOWN_DIRECTION) { base 966 chrome/browser/ui/views/location_bar/location_bar_view.cc if (text_direction == (base::i18n::IsRTL() ? base 967 chrome/browser/ui/views/location_bar/location_bar_view.cc base::i18n::LEFT_TO_RIGHT : base::i18n::RIGHT_TO_LEFT)) { base 1245 chrome/browser/ui/views/location_bar/location_bar_view.cc base::string16::size_type entry_start; base 1246 chrome/browser/ui/views/location_bar/location_bar_view.cc base::string16::size_type entry_end; base 1255 chrome/browser/ui/views/location_bar/location_bar_view.cc base::Bind(&LocationBarView::AccessibilitySetValue, base 1666 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::AccessibilitySetValue(const base::string16& new_value) { base 222 chrome/browser/ui/views/location_bar/location_bar_view.h void SetImeInlineAutocompletion(const base::string16& text); base 225 chrome/browser/ui/views/location_bar/location_bar_view.h void SetGrayTextAutocompletion(const base::string16& text); base 228 chrome/browser/ui/views/location_bar/location_bar_view.h base::string16 GetGrayTextAutocompletion() const; base 431 chrome/browser/ui/views/location_bar/location_bar_view.h void AccessibilitySetValue(const base::string16& new_value); base 549 chrome/browser/ui/views/location_bar/location_bar_view.h base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; base 25 chrome/browser/ui/views/location_bar/location_icon_view.cc base::string16 text; base 66 chrome/browser/ui/views/location_bar/location_icon_view.cc l10n_util::GetStringUTF16(IDS_TOOLTIP_LOCATION_ICON) : base::string16()); base 135 chrome/browser/ui/views/location_bar/origin_chip_view.cc : LabelButton(this, base::string16()), base 156 chrome/browser/ui/views/location_bar/origin_chip_view.cc host_label_ = new views::Label(base::string16(), GetFontList()); base 211 chrome/browser/ui/views/location_bar/origin_chip_view.cc base::string16 host = base 347 chrome/browser/ui/views/location_bar/origin_chip_view.cc base::string16 host = base 382 chrome/browser/ui/views/location_bar/origin_chip_view.cc content::RecordAction(base::UserMetricsAction("OriginChipPress")); base 117 chrome/browser/ui/views/location_bar/page_action_image_view.cc state->name = base::UTF8ToUTF16(tooltip_); base 200 chrome/browser/ui/views/location_bar/page_action_image_view.cc SetTooltipText(base::UTF8ToUTF16(tooltip_)); base 244 chrome/browser/ui/views/location_bar/page_action_image_view.cc views::BubbleBorder::Arrow arrow = base::i18n::IsRTL() ? base 58 chrome/browser/ui/views/location_bar/selected_keyword_view.cc void SelectedKeywordView::SetKeyword(const base::string16& keyword) { base 69 chrome/browser/ui/views/location_bar/selected_keyword_view.cc const base::string16 short_name = base 71 chrome/browser/ui/views/location_bar/selected_keyword_view.cc const base::string16 full_name = is_extension_keyword ? base 76 chrome/browser/ui/views/location_bar/selected_keyword_view.cc const base::string16 min_string( base 78 chrome/browser/ui/views/location_bar/selected_keyword_view.cc const base::string16 partial_name = is_extension_keyword ? base 34 chrome/browser/ui/views/location_bar/selected_keyword_view.h void SetKeyword(const base::string16& keyword); base 35 chrome/browser/ui/views/location_bar/selected_keyword_view.h const base::string16& keyword() const { return keyword_; } base 41 chrome/browser/ui/views/location_bar/selected_keyword_view.h base::string16 keyword_; base 64 chrome/browser/ui/views/location_bar/star_view_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 104 chrome/browser/ui/views/location_bar/star_view_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("ready")); base 110 chrome/browser/ui/views/location_bar/star_view_browsertest.cc base::FilePath().AppendASCII("printing"), base 111 chrome/browser/ui/views/location_bar/star_view_browsertest.cc base::FilePath().AppendASCII("npapi_plugin.html")); base 146 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc const int x_pos = base::i18n::IsRTL() ? base 172 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc base::TimeDelta::FromMilliseconds(kBubbleCloseDelay), base 102 chrome/browser/ui/views/location_bar/zoom_bubble_view.h base::OneShotTimer<ZoomBubbleView> timer_; base 50 chrome/browser/ui/views/location_bar/zoom_view.cc base::string16* tooltip) const { base 34 chrome/browser/ui/views/location_bar/zoom_view.h base::string16* tooltip) const OVERRIDE; base 49 chrome/browser/ui/views/login_prompt_views.cc const base::string16& username, base 50 chrome/browser/ui/views/login_prompt_views.cc const base::string16& password) OVERRIDE { base 56 chrome/browser/ui/views/login_prompt_views.cc virtual base::string16 GetDialogButtonLabel( base 63 chrome/browser/ui/views/login_prompt_views.cc virtual base::string16 GetWindowTitle() const OVERRIDE { base 130 chrome/browser/ui/views/login_prompt_views.cc const base::string16& explanation) OVERRIDE { base 22 chrome/browser/ui/views/login_view.cc LoginView::LoginView(const base::string16& explanation, base 86 chrome/browser/ui/views/login_view.cc const base::string16& LoginView::GetUsername() const { base 90 chrome/browser/ui/views/login_view.cc const base::string16& LoginView::GetPassword() const { base 101 chrome/browser/ui/views/login_view.cc void LoginView::OnAutofillDataAvailable(const base::string16& username, base 102 chrome/browser/ui/views/login_view.cc const base::string16& password) { base 23 chrome/browser/ui/views/login_view.h LoginView(const base::string16& explanation, LoginModel* model); base 27 chrome/browser/ui/views/login_view.h const base::string16& GetUsername() const; base 28 chrome/browser/ui/views/login_view.h const base::string16& GetPassword() const; base 31 chrome/browser/ui/views/login_view.h virtual void OnAutofillDataAvailable(const base::string16& username, base 32 chrome/browser/ui/views/login_view.h const base::string16& password) OVERRIDE; base 22 chrome/browser/ui/views/menu_controller_interactive_uitest.cc menu->AppendMenuItemWithLabel(1, base::ASCIIToUTF16("One&/")); base 23 chrome/browser/ui/views/menu_controller_interactive_uitest.cc menu->AppendMenuItemWithLabel(2, base::ASCIIToUTF16("Two")); base 22 chrome/browser/ui/views/menu_controller_test.cc menu->AppendMenuItemWithLabel(1, base::ASCIIToUTF16("One&/")); base 23 chrome/browser/ui/views/menu_controller_test.cc menu->AppendMenuItemWithLabel(2, base::ASCIIToUTF16("Two")); base 10 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc using base::ASCIIToUTF16; base 90 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc base::string16(), base 91 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc base::string16(), base 175 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc base::string16(), base 176 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc base::string16(), base 131 chrome/browser/ui/views/menu_model_adapter_test.cc virtual base::string16 GetLabelAt(int index) const OVERRIDE { base 132 chrome/browser/ui/views/menu_model_adapter_test.cc return base::ASCIIToUTF16("Item"); base 175 chrome/browser/ui/views/menu_model_adapter_test.cc virtual base::string16 GetLabelAt(int index) const OVERRIDE { base 176 chrome/browser/ui/views/menu_model_adapter_test.cc return base::ASCIIToUTF16("submenu"); base 210 chrome/browser/ui/views/menu_model_adapter_test.cc NULL, base::ASCIIToUTF16("Menu Adapter Test"), this, true); base 274 chrome/browser/ui/views/menu_model_adapter_test.cc base::MessageLoopForUI::current()->PostTask( base 302 chrome/browser/ui/views/menu_model_adapter_test.cc virtual void Click(views::View* view, const base::Closure& next) { base 25 chrome/browser/ui/views/menu_test_base.cc void MenuTestBase::Click(views::View* view, const base::Closure& next) { base 34 chrome/browser/ui/views/menu_test_base.cc const base::Closure& next) { base 42 chrome/browser/ui/views/menu_test_base.cc NULL, base::ASCIIToUTF16("Menu Test"), this, true); base 43 chrome/browser/ui/views/menu_test_base.h virtual void Click(views::View* view, const base::Closure& next); base 46 chrome/browser/ui/views/menu_test_base.h void KeyPress(ui::KeyboardCode keycode, const base::Closure& next); base 215 chrome/browser/ui/views/message_center/web_notification_tray.cc base::MessageLoop::current()->PostTask( base 217 chrome/browser/ui/views/message_center/web_notification_tray.cc base::Bind(&WebNotificationTray::UpdateStatusIcon, AsWeakPtr())); base 233 chrome/browser/ui/views/message_center/web_notification_tray.cc base::TimeDelta expires_in = command_id == kEnableQuietModeDay base 234 chrome/browser/ui/views/message_center/web_notification_tray.cc ? base::TimeDelta::FromDays(1) base 235 chrome/browser/ui/views/message_center/web_notification_tray.cc : base::TimeDelta::FromHours(1); base 246 chrome/browser/ui/views/message_center/web_notification_tray.cc base::string16 tool_tip; base 248 chrome/browser/ui/views/message_center/web_notification_tray.cc base::string16 str_unread_count = base::FormatNumber(unread_notifications); base 329 chrome/browser/ui/views/message_center/web_notification_tray.cc const base::string16& tool_tip) { base 43 chrome/browser/ui/views/message_center/web_notification_tray.h public base::SupportsWeakPtr<WebNotificationTray>, base 93 chrome/browser/ui/views/message_center/web_notification_tray.h const base::string16& tool_tip); base 68 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::ASCIIToUTF16("Test Web Notification"), base 69 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::ASCIIToUTF16( base 72 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::string16(), base 73 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::ASCIIToUTF16(replace_id), base 84 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::ASCIIToUTF16("Updated Web Notification"), base 85 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::ASCIIToUTF16("Updated message body."), base 87 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::string16(), base 88 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::ASCIIToUTF16(replace_id), base 171 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc std::string id = base::StringPrintf("test_id%d", static_cast<int>(i)); base 173 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::StringPrintf("replace_id%d", static_cast<int>(i)); base 192 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc std::string id = base::StringPrintf("test_id%d", static_cast<int>(i)); base 194 chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc base::StringPrintf("replace_id%d", static_cast<int>(i)); base 38 chrome/browser/ui/views/message_center/web_notification_tray_win.cc base::win::Version win_version = base::win::GetVersion(); base 39 chrome/browser/ui/views/message_center/web_notification_tray_win.cc if (win_version == base::win::VERSION_PRE_XP) base 48 chrome/browser/ui/views/message_center/web_notification_tray_win.cc if (win_version < base::win::VERSION_VISTA) base 47 chrome/browser/ui/views/network_profile_bubble_view.cc base::Time::Now().ToTimeT()); base 45 chrome/browser/ui/views/new_avatar_button.cc base::string16 GetElidedText(const base::string16& original_text) { base 61 chrome/browser/ui/views/new_avatar_button.cc const base::string16& profile_name, base 72 chrome/browser/ui/views/new_avatar_button.cc is_win8 = base::win::GetVersion() >= base::win::VERSION_WIN8; base 118 chrome/browser/ui/views/new_avatar_button.cc if (base::i18n::IsRTL()) base 135 chrome/browser/ui/views/new_avatar_button.cc void NewAvatarButton::OnProfileAdded(const base::FilePath& profile_path) { base 140 chrome/browser/ui/views/new_avatar_button.cc const base::FilePath& profile_path, base 141 chrome/browser/ui/views/new_avatar_button.cc const base::string16& profile_name) { base 146 chrome/browser/ui/views/new_avatar_button.cc const base::FilePath& profile_path, base 147 chrome/browser/ui/views/new_avatar_button.cc const base::string16& old_profile_name) { base 24 chrome/browser/ui/views/new_avatar_button.h const base::string16& profile_name, base 37 chrome/browser/ui/views/new_avatar_button.h virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; base 39 chrome/browser/ui/views/new_avatar_button.h const base::FilePath& profile_path, base 40 chrome/browser/ui/views/new_avatar_button.h const base::string16& profile_name) OVERRIDE; base 42 chrome/browser/ui/views/new_avatar_button.h const base::FilePath& profile_path, base 43 chrome/browser/ui/views/new_avatar_button.h const base::string16& old_profile_name) OVERRIDE; base 64 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc cache.SetUserNameOfProfileAtIndex(0, base::UTF8ToUTF16("user_name")); base 66 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc base::FilePath path; base 69 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc if (!base::PathExists(path)) base 70 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc ASSERT_TRUE(base::CreateDirectory(path)); base 90 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 137 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 47 chrome/browser/ui/views/notifications/balloon_collection_views.cc base::EventStatus BalloonCollectionImpl::WillProcessEvent( base 48 chrome/browser/ui/views/notifications/balloon_collection_views.cc const base::NativeEvent& event) { base 49 chrome/browser/ui/views/notifications/balloon_collection_views.cc return base::EVENT_CONTINUE; base 52 chrome/browser/ui/views/notifications/balloon_collection_views.cc void BalloonCollectionImpl::DidProcessEvent(const base::NativeEvent& event) { base 297 chrome/browser/ui/views/notifications/balloon_view_views.cc const base::string16 source_label_text = l10n_util::GetStringFUTF16( base 304 chrome/browser/ui/views/notifications/balloon_view_views.cc new views::MenuButton(NULL, base::string16(), this, false); base 34 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc public base::SupportsWeakPtr<AutocompletePopupWidget> { base 508 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc GURL(), base::string16(), index); base 140 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h base::WeakPtr<AutocompletePopupWidget> popup_; base 117 chrome/browser/ui/views/omnibox/omnibox_result_view.cc return base::i18n::IsRTL() ? (center_ + (center_ - right)) : left; base 241 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const base::string16& separator = base 287 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const bool is_ui_rtl = base::i18n::IsRTL(); base 289 chrome/browser/ui/views/omnibox/omnibox_result_view.cc (render_text->GetTextDirection() == base::i18n::RIGHT_TO_LEFT); base 294 chrome/browser/ui/views/omnibox/omnibox_result_view.cc CreateRenderText(base::UTF8ToUTF16( base 347 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const base::string16& text) const { base 357 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const base::string16& text, base 414 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const base::string16& input_text = base 415 chrome/browser/ui/views/omnibox/omnibox_result_view.cc base::UTF8ToUTF16(match.GetAdditionalInfo(kACMatchPropertyInputText)); base 417 chrome/browser/ui/views/omnibox/omnibox_result_view.cc base::StringToInt(match.GetAdditionalInfo(kACMatchPropertyContentsStartIndex), base 103 chrome/browser/ui/views/omnibox/omnibox_result_view.h const base::string16& text) const; base 108 chrome/browser/ui/views/omnibox/omnibox_result_view.h const base::string16& text, base 70 chrome/browser/ui/views/omnibox/omnibox_view_views.cc struct OmniboxState : public base::SupportsUserData::Data { base 440 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 OmniboxViewViews::GetSelectionClipboardText() const { base 520 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 OmniboxViewViews::GetText() const { base 525 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::SetUserText(const base::string16& text, base 526 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16& display_text, base 532 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::SetWindowTextAndCaretPos(const base::string16& text, base 547 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16 current_text(text()); base 548 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const size_t start = current_text.find_first_not_of(base::kWhitespaceUTF16); base 549 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (start == base::string16::npos || (current_text[start] != '?')) base 550 chrome/browser/ui/views/omnibox/omnibox_view_views.cc OmniboxView::SetUserText(base::ASCIIToUTF16("?")); base 565 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16::size_type* start, base 566 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16::size_type* end) const { base 611 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16& display_text, base 622 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16& display_text, base 640 chrome/browser/ui/views/omnibox/omnibox_view_views.cc location_bar_view_->SetImeInlineAutocompletion(base::string16()); base 660 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16 new_text = text(); base 703 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::SetGrayTextAutocompletion(const base::string16& input) { base 709 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 OmniboxViewViews::GetGrayTextAutocompletion() const { base 713 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return base::string16(); base 767 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 OmniboxViewViews::GetLabelForCommandId(int command_id) const { base 819 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16& new_contents) { base 844 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::i18n::TextDirection direction = GetTextDirection(); base 845 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if ((direction == base::i18n::LEFT_TO_RIGHT && base 847 chrome/browser/ui/views/omnibox/omnibox_view_views.cc (direction == base::i18n::RIGHT_TO_LEFT && base 866 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 selected_text; base 887 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 selected_text = GetSelectedText(); base 900 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 selected_text = GetSelectedText(); base 906 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 title = selected_text; base 927 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 title; base 930 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 text( base 931 chrome/browser/ui/views/omnibox/omnibox_view_views.cc StripJavascriptSchemas(base::UTF8ToUTF16(url.spec()))); base 938 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 text; base 940 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 collapsed_text(base::CollapseWhitespace(text, true)); base 1004 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::UTF8ToUTF16(extensions::kExtensionScheme); base 1033 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::SetTextAndSelectedRange(const base::string16& text, base 1039 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 OmniboxViewViews::GetSelectedText() const { base 1045 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16 text(GetClipboardText()); base 79 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual base::string16 GetSelectionClipboardText() const OVERRIDE; base 85 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual base::string16 GetText() const OVERRIDE; base 86 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void SetUserText(const base::string16& text, base 87 chrome/browser/ui/views/omnibox/omnibox_view_views.h const base::string16& display_text, base 89 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void SetWindowTextAndCaretPos(const base::string16& text, base 97 chrome/browser/ui/views/omnibox/omnibox_view_views.h base::string16::size_type* start, base 98 chrome/browser/ui/views/omnibox/omnibox_view_views.h base::string16::size_type* end) const OVERRIDE; base 105 chrome/browser/ui/views/omnibox/omnibox_view_views.h const base::string16& display_text, base 109 chrome/browser/ui/views/omnibox/omnibox_view_views.h const base::string16& display_text, size_t user_text_length) OVERRIDE; base 116 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void SetGrayTextAutocompletion(const base::string16& input) OVERRIDE; base 117 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual base::string16 GetGrayTextAutocompletion() const OVERRIDE; base 128 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; base 137 chrome/browser/ui/views/omnibox/omnibox_view_views.h const base::string16& new_contents) OVERRIDE; base 167 chrome/browser/ui/views/omnibox/omnibox_view_views.h void SetTextAndSelectedRange(const base::string16& text, base 171 chrome/browser/ui/views/omnibox/omnibox_view_views.h base::string16 GetSelectedText() const; base 200 chrome/browser/ui/views/omnibox/omnibox_view_views.h base::string16 text_before_change_; base 84 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc 5, base::TimeDelta::FromMilliseconds(0)); base 89 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc 5, base::TimeDelta::FromMilliseconds(50)); base 114 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc clipboard_writer.WriteURL(base::ASCIIToUTF16("http://www.example.com/")); base 127 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc omnibox_view->SetUserText(base::ASCIIToUTF16("http://www.google.com/")); base 183 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc omnibox_view->SetUserText(base::ASCIIToUTF16("http://www.google.com/")); base 40 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc base::string16 title = model_->GetMessageText(); base 47 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc base::string16 accept_text = model_->GetAcceptButtonText(); base 68 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc if ((base::win::GetVersion() >= base::win::VERSION_VISTA) && base 69 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc base::win::UserAccountControlIsEnabled()) { base 111 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc content::RecordAction(base::UserMetricsAction( base 250 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc base::UserMetricsAction("OutdatedUpgradeBubble.Reinstall")); base 263 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc base::UserMetricsAction("OutdatedUpgradeBubble.EnableAU")); base 272 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc base::Bind(&google_update::ElevateIfNeededToReenableUpdates)); base 278 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc base::UserMetricsAction("OutdatedUpgradeBubble.Later")); base 271 chrome/browser/ui/views/panels/panel_frame_view.cc base::string16 tooltip_text = base 358 chrome/browser/ui/views/panels/panel_frame_view.cc base::win::ScopedRegion current_region(::CreateRectRgn(0, 0, 0, 0)); base 363 chrome/browser/ui/views/panels/panel_frame_view.cc base::win::ScopedRegion new_region(gfx::CreateHRGNFromSkPath(window_mask)); base 40 chrome/browser/ui/views/panels/panel_stack_view.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 76 chrome/browser/ui/views/panels/panel_stack_view.cc base::string16 PanelStackWindow::GetWindowTitle() const { base 77 chrome/browser/ui/views/panels/panel_stack_view.cc return delegate_ ? delegate_->GetTitle() : base::string16(); base 508 chrome/browser/ui/views/panels/panel_stack_view.cc base::UTF8ToWide(panel->app_name()), panel->profile()->GetPath()), base 532 chrome/browser/ui/views/panels/panel_stack_view.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7) { base 147 chrome/browser/ui/views/panels/panel_view.cc base::MessageLoop::current()->RunUntilIdle(); base 161 chrome/browser/ui/views/panels/panel_view.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 307 chrome/browser/ui/views/panels/panel_view.cc base::UTF8ToWide(panel->app_name()), panel->profile()->GetPath()), base 632 chrome/browser/ui/views/panels/panel_view.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 764 chrome/browser/ui/views/panels/panel_view.cc base::string16 PanelView::GetWindowTitle() const { base 133 chrome/browser/ui/views/panels/panel_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 201 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc base::win::ScopedGetDC source_dc(current_hwnd); base 169 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_->SetText(base::ASCIIToUTF16(password_generator_->Generate())); base 227 chrome/browser/ui/views/password_generation_bubble_view.cc base::ASCIIToUTF16(password_generator_->Generate())); base 234 chrome/browser/ui/views/password_generation_bubble_view.cc const base::string16& contents) { base 68 chrome/browser/ui/views/password_generation_bubble_view.h const base::string16& new_contents) OVERRIDE; base 51 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc base::string16 display_string( base 75 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE { return items_[index]; } base 81 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc std::vector<base::string16> items_; base 243 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc const int x_pos = base::i18n::IsRTL() ? base 62 chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc base::string16* tooltip) const { base 40 chrome/browser/ui/views/passwords/manage_passwords_icon_view.h base::string16* tooltip) const OVERRIDE; base 26 chrome/browser/ui/views/pdf_password_dialog.cc const base::string16& prompt, base 31 chrome/browser/ui/views/pdf_password_dialog.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 32 chrome/browser/ui/views/pdf_password_dialog.cc virtual base::string16 GetDialogButtonLabel( base 58 chrome/browser/ui/views/pdf_password_dialog.cc const base::string16& prompt, base 84 chrome/browser/ui/views/pdf_password_dialog.cc callback_.Run(false, base::string16()); base 91 chrome/browser/ui/views/pdf_password_dialog.cc base::string16 PDFPasswordDialogViews::GetWindowTitle() const { base 95 chrome/browser/ui/views/pdf_password_dialog.cc base::string16 PDFPasswordDialogViews::GetDialogButtonLabel( base 101 chrome/browser/ui/views/pdf_password_dialog.cc return base::string16(); base 105 chrome/browser/ui/views/pdf_password_dialog.cc callback_.Run(false, base::string16()); base 150 chrome/browser/ui/views/pdf_password_dialog.cc const base::string16& prompt, base 13 chrome/browser/ui/views/process_singleton_dialog_linux.cc bool ShowProcessSingletonDialog(const base::string16& message, base 14 chrome/browser/ui/views/process_singleton_dialog_linux.cc const base::string16& relaunch_text) { base 25 chrome/browser/ui/views/process_singleton_dialog_linux.cc base::RunLoop().RunUntilIdle(); base 89 chrome/browser/ui/views/profile_chooser_view.cc views::Link* CreateLink(const base::string16& link_text, base 105 chrome/browser/ui/views/profile_chooser_view.cc const base::string16& text, base 119 chrome/browser/ui/views/profile_chooser_view.cc const base::string16& text, base 218 chrome/browser/ui/views/profile_chooser_view.cc const base::string16& text, base 566 chrome/browser/ui/views/profile_chooser_view.cc chrome::ShowUserManager(base::FilePath()); base 655 chrome/browser/ui/views/profile_chooser_view.cc base::string16 new_profile_name = name_textfield->text(); base 709 chrome/browser/ui/views/profile_chooser_view.cc base::string16 name = profiles::GetAvatarNameForProfile(profile); base 946 chrome/browser/ui/views/profile_chooser_view.cc base::string16(), base 1002 chrome/browser/ui/views/profile_chooser_view.cc gfx::ElideEmail(base::UTF8ToUTF16(account), base 1085 chrome/browser/ui/views/profile_chooser_view.cc base::UTF8ToUTF16(account_id_to_remove_)) : base 86 chrome/browser/ui/views/profile_reset_bubble_view.cc void SetupLayoutManager(const base::ListValue& feedback) { base 102 chrome/browser/ui/views/profile_reset_bubble_view.cc const base::DictionaryValue* dictionary = NULL; base 106 chrome/browser/ui/views/profile_reset_bubble_view.cc base::string16 key; base 110 chrome/browser/ui/views/profile_reset_bubble_view.cc base::string16 value; base 151 chrome/browser/ui/views/profile_reset_bubble_view.cc const base::WeakPtr<ProfileResetGlobalError>& global_error, base 158 chrome/browser/ui/views/profile_reset_bubble_view.cc content::RecordAction(base::UserMetricsAction("SettingsResetBubble.Show")); base 174 chrome/browser/ui/views/profile_reset_bubble_view.cc const base::WeakPtr<ProfileResetGlobalError>& global_error, base 199 chrome/browser/ui/views/profile_reset_bubble_view.cc base::Bind(&ProfileResetBubbleView::UpdateFeedbackDetails, base 207 chrome/browser/ui/views/profile_reset_bubble_view.cc base::string16 product_name( base 363 chrome/browser/ui/views/profile_reset_bubble_view.cc scoped_ptr<base::ListValue> feedback_data = base 388 chrome/browser/ui/views/profile_reset_bubble_view.cc base::UserMetricsAction("SettingsResetBubble.Reset")); base 406 chrome/browser/ui/views/profile_reset_bubble_view.cc base::UserMetricsAction("SettingsResetBubble.NoThanks")); base 422 chrome/browser/ui/views/profile_reset_bubble_view.cc base::UserMetricsAction("SettingsResetBubble.LearnMore")); base 443 chrome/browser/ui/views/profile_reset_bubble_view.cc const base::WeakPtr<ProfileResetGlobalError>& global_error, base 43 chrome/browser/ui/views/profile_reset_bubble_view.h const base::WeakPtr<ProfileResetGlobalError>& global_error, base 58 chrome/browser/ui/views/profile_reset_bubble_view.h const base::WeakPtr<ProfileResetGlobalError>& global_error, base 120 chrome/browser/ui/views/profile_reset_bubble_view.h base::WeakPtr<ProfileResetGlobalError> global_error_; base 133 chrome/browser/ui/views/profile_reset_bubble_view.h base::WeakPtrFactory<ProfileResetBubbleView> weak_factory_; base 196 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc const base::string16& title) { base 40 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.h const base::string16& title) OVERRIDE; base 140 chrome/browser/ui/views/sad_tab_view.cc base::string16 help_text( base 142 chrome/browser/ui/views/sad_tab_view.cc base::string16(), &offset)); base 262 chrome/browser/ui/views/sad_tab_view.cc views::Label* SadTabView::CreateLabel(const base::string16& text) { base 269 chrome/browser/ui/views/sad_tab_view.cc views::Link* SadTabView::CreateLink(const base::string16& text) { base 59 chrome/browser/ui/views/sad_tab_view.h views::Label* CreateLabel(const base::string16& text); base 60 chrome/browser/ui/views/sad_tab_view.h views::Link* CreateLink(const base::string16& text); base 81 chrome/browser/ui/views/screen_capture_notification_ui_views.cc explicit ScreenCaptureNotificationUIViews(const base::string16& text); base 85 chrome/browser/ui/views/screen_capture_notification_ui_views.cc virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) base 98 chrome/browser/ui/views/screen_capture_notification_ui_views.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 114 chrome/browser/ui/views/screen_capture_notification_ui_views.cc const base::string16 text_; base 115 chrome/browser/ui/views/screen_capture_notification_ui_views.cc base::Closure stop_callback_; base 126 chrome/browser/ui/views/screen_capture_notification_ui_views.cc const base::string16& text) base 144 chrome/browser/ui/views/screen_capture_notification_ui_views.cc base::string16 stop_text = base 164 chrome/browser/ui/views/screen_capture_notification_ui_views.cc const base::Closure& stop_callback) { base 295 chrome/browser/ui/views/screen_capture_notification_ui_views.cc base::string16 ScreenCaptureNotificationUIViews::GetWindowTitle() const { base 326 chrome/browser/ui/views/screen_capture_notification_ui_views.cc base::Closure callback = stop_callback_; base 335 chrome/browser/ui/views/screen_capture_notification_ui_views.cc const base::string16& text) { base 228 chrome/browser/ui/views/select_file_dialog_extension.cc base::MessageLoop::current()->PostTask( base 230 chrome/browser/ui/views/select_file_dialog_extension.cc base::Bind(&ExtensionService::ReloadExtension, base 231 chrome/browser/ui/views/select_file_dialog_extension.cc base::Unretained(extensions::ExtensionSystem::Get(profile_) base 320 chrome/browser/ui/views/select_file_dialog_extension.cc const base::string16& title, base 321 chrome/browser/ui/views/select_file_dialog_extension.cc const base::FilePath& default_path, base 324 chrome/browser/ui/views/select_file_dialog_extension.cc const base::FilePath::StringType& default_extension, base 350 chrome/browser/ui/views/select_file_dialog_extension.cc base::FilePath download_default_path( base 353 chrome/browser/ui/views/select_file_dialog_extension.cc base::FilePath selection_path = default_path.IsAbsolute() ? base 356 chrome/browser/ui/views/select_file_dialog_extension.cc base::FilePath fallback_path = profile_->last_selected_directory().empty() ? base 380 chrome/browser/ui/views/select_file_dialog_extension.cc base::FilePath current_directory_path = selection_path.DirName(); base 424 chrome/browser/ui/views/select_file_dialog_extension.cc base::string16(), base 70 chrome/browser/ui/views/select_file_dialog_extension.h const base::string16& title, base 71 chrome/browser/ui/views/select_file_dialog_extension.h const base::FilePath& default_path, base 74 chrome/browser/ui/views/select_file_dialog_extension.h const base::FilePath::StringType& default_extension, base 47 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath path() const { return path_; } base 51 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc virtual void FileSelected(const base::FilePath& path, base 65 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc const std::vector<base::FilePath>& files, void* params) OVERRIDE {} base 74 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath path_; base 96 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath tmp_path; base 97 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc PathService::Get(base::DIR_TEMP, &tmp_path); base 100 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::CreateDirectory(downloads_dir_); base 118 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc void AddMountPoint(const base::FilePath& path) { base 128 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc scoped_ptr<base::Value> value = base 136 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc const base::FilePath& file_path, base 151 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::string16() /* title */, base 182 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::string16() /* title */, base 183 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath() /* default_path */, base 202 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::string16 script = base::ASCIIToUTF16( base 221 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::ScopedTempDir tmp_dir_; base 222 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath downloads_dir_; base 253 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath(), owning_window, "")); base 268 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath test_file = base 272 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc FILE* fp = base::OpenFile(test_file, "w"); base 274 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc ASSERT_TRUE(base::CloseFile(fp)); base 301 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath test_file = base 332 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath(), owning_window, "")); base 357 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc base::FilePath(), owning_window, "")); base 49 chrome/browser/ui/views/select_file_dialog_extension_unittest.cc virtual void FileSelected(const base::FilePath& path, base 79 chrome/browser/ui/views/select_file_dialog_extension_unittest.cc virtual void FileSelected(const base::FilePath& path, base 129 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc log_description_value_field_->SetText(base::UTF8ToUTF16(sct.log_description)); base 131 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc base::TimeFormatFriendlyDateAndTime(sct.timestamp)); base 141 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc base::UTF8ToUTF16(x509_certificate_model::ProcessRawBytes( base 145 chrome/browser/ui/views/signed_certificate_timestamp_info_view.cc base::UTF8ToUTF16(x509_certificate_model::ProcessRawBytes( base 72 chrome/browser/ui/views/signed_certificate_timestamps_views.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 88 chrome/browser/ui/views/signed_certificate_timestamps_views.cc base::string16 SCTListModel::GetItemAt(int index) { base 98 chrome/browser/ui/views/signed_certificate_timestamps_views.cc base::IntToString16(index + 1), base 99 chrome/browser/ui/views/signed_certificate_timestamps_views.cc base::UTF8ToUTF16(origin), base 100 chrome/browser/ui/views/signed_certificate_timestamps_views.cc base::UTF8ToUTF16(status)); base 119 chrome/browser/ui/views/signed_certificate_timestamps_views.cc base::string16 SignedCertificateTimestampsViews::GetWindowTitle() const { base 39 chrome/browser/ui/views/signed_certificate_timestamps_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 31 chrome/browser/ui/views/simple_message_box_views.cc SimpleMessageBoxViews(const base::string16& title, base 32 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& message, base 34 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& yes_text, base 35 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& no_text, base 41 chrome/browser/ui/views/simple_message_box_views.cc virtual base::string16 GetDialogButtonLabel( base 47 chrome/browser/ui/views/simple_message_box_views.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 59 chrome/browser/ui/views/simple_message_box_views.cc const base::string16 window_title_; base 61 chrome/browser/ui/views/simple_message_box_views.cc base::string16 yes_text_; base 62 chrome/browser/ui/views/simple_message_box_views.cc base::string16 no_text_; base 72 chrome/browser/ui/views/simple_message_box_views.cc SimpleMessageBoxViews::SimpleMessageBoxViews(const base::string16& title, base 73 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& message, base 75 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& yes_text, base 76 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& no_text, base 117 chrome/browser/ui/views/simple_message_box_views.cc base::string16 SimpleMessageBoxViews::GetDialogButtonLabel( base 136 chrome/browser/ui/views/simple_message_box_views.cc base::string16 SimpleMessageBoxViews::GetWindowTitle() const { base 189 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& title, base 190 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& message, base 192 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& yes_text, base 193 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& no_text) { base 196 chrome/browser/ui/views/simple_message_box_views.cc if (!base::MessageLoopForUI::IsCurrent() || base 197 chrome/browser/ui/views/simple_message_box_views.cc !base::MessageLoopForUI::current()->is_running()) { base 229 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& title, base 230 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& message, base 233 chrome/browser/ui/views/simple_message_box_views.cc parent, title, message, type, base::string16(), base::string16()); base 237 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& title, base 238 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& message, base 239 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& yes_text, base 240 chrome/browser/ui/views/simple_message_box_views.cc const base::string16& no_text) { base 50 chrome/browser/ui/views/speech_recognition_bubble_views.cc const base::string16& message_text, base 152 chrome/browser/ui/views/speech_recognition_bubble_views.cc message_ = new views::Label(base::string16(), font_list); base 177 chrome/browser/ui/views/speech_recognition_bubble_views.cc const base::string16& message_text, base 60 chrome/browser/ui/views/ssl_client_certificate_selector.cc virtual base::string16 GetText(int index, int column_id) OVERRIDE; base 64 chrome/browser/ui/views/ssl_client_certificate_selector.cc std::vector<base::string16> items_; base 73 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::string16 text = l10n_util::GetStringFUTF16( base 75 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::UTF8ToUTF16(cert->subject().GetDisplayName()), base 76 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::UTF8ToUTF16(cert->issuer().GetDisplayName())); base 85 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::string16 CertificateSelectorTableModel::GetText(int index, base 130 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::string16 text = l10n_util::GetStringFUTF16( base 132 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::ASCIIToUTF16(cert_request_info()->host_and_port.ToString())); base 190 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::string16 SSLClientCertificateSelector::GetWindowTitle() const { base 228 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::Bind(&SSLClientCertificateSelector::Unlocked, base 229 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::Unretained(this), base 59 chrome/browser/ui/views/ssl_client_certificate_selector.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 46 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc base::FilePath certs_dir = net::GetTestCertsDirectory(); base 67 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc base::Bind(&SSLClientCertificateSelectorTest::SetUpOnIOThread, this)); base 77 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc base::Bind(&SSLClientAuthRequestorMock::CertificateSelected, base 99 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc base::Bind(&SSLClientCertificateSelectorTest::CleanUpOnIOThread, this)); base 119 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc base::WaitableEvent io_loop_finished_event_; base 165 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc base::Bind(&SSLClientAuthRequestorMock::CertificateSelected, base 172 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc base::Bind(&SSLClientAuthRequestorMock::CertificateSelected, base 241 chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc base::Bind(&SSLClientAuthRequestorMock::CertificateSelected, base 139 chrome/browser/ui/views/status_bubble_views.cc void SetText(const base::string16& text, bool should_animate_open); base 166 chrome/browser/ui/views/status_bubble_views.cc void StartTimer(base::TimeDelta time); base 169 chrome/browser/ui/views/status_bubble_views.cc void RestartTimer(base::TimeDelta delay); base 182 chrome/browser/ui/views/status_bubble_views.cc base::WeakPtrFactory<StatusBubbleViews::StatusView> timer_factory_; base 193 chrome/browser/ui/views/status_bubble_views.cc base::string16 text_; base 218 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::StatusView::SetText(const base::string16& text, base 251 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::StatusView::StartTimer(base::TimeDelta time) { base 255 chrome/browser/ui/views/status_bubble_views.cc base::MessageLoop::current()->PostDelayedTask( base 257 chrome/browser/ui/views/status_bubble_views.cc base::Bind(&StatusBubbleViews::StatusView::OnTimer, base 277 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::StatusView::RestartTimer(base::TimeDelta delay) { base 286 chrome/browser/ui/views/status_bubble_views.cc RestartTimer(base::TimeDelta::FromMilliseconds(kShowDelay)); base 303 chrome/browser/ui/views/status_bubble_views.cc StartTimer(base::TimeDelta::FromMilliseconds(kHideDelay)); base 323 chrome/browser/ui/views/status_bubble_views.cc StartTimer(base::TimeDelta::FromMilliseconds(kShowDelay)); base 390 chrome/browser/ui/views/status_bubble_views.cc if (base::i18n::IsRTL() != (style_ == STYLE_STANDARD_RIGHT)) { base 521 chrome/browser/ui/views/status_bubble_views.cc void StartExpansion(const base::string16& expanded_text, base 542 chrome/browser/ui/views/status_bubble_views.cc base::string16 expanded_text_; base 560 chrome/browser/ui/views/status_bubble_views.cc const base::string16& expanded_text, base 677 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::SetStatus(const base::string16& status_text) { base 695 chrome/browser/ui/views/status_bubble_views.cc view_->SetText(base::string16(), true); base 710 chrome/browser/ui/views/status_bubble_views.cc url_text_ = base::string16(); base 731 chrome/browser/ui/views/status_bubble_views.cc url_text_ = base::i18n::GetDisplayStringInLTRDirectionality(url_text_); base 743 chrome/browser/ui/views/status_bubble_views.cc base::MessageLoop::current()->PostDelayedTask( base 745 chrome/browser/ui/views/status_bubble_views.cc base::Bind(&StatusBubbleViews::ExpandBubble, base 747 chrome/browser/ui/views/status_bubble_views.cc base::TimeDelta::FromMilliseconds(kExpandHoverDelayMS)); base 753 chrome/browser/ui/views/status_bubble_views.cc status_text_ = base::string16(); base 754 chrome/browser/ui/views/status_bubble_views.cc url_text_ = base::string16(); base 792 chrome/browser/ui/views/status_bubble_views.cc if (base::i18n::IsRTL()) { base 57 chrome/browser/ui/views/status_bubble_views.h virtual void SetStatus(const base::string16& status) OVERRIDE; base 104 chrome/browser/ui/views/status_bubble_views.h base::string16 status_text_; base 107 chrome/browser/ui/views/status_bubble_views.h base::string16 url_text_; base 149 chrome/browser/ui/views/status_bubble_views.h base::WeakPtrFactory<StatusBubbleViews> expand_timer_factory_; base 29 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc void StatusIconLinuxWrapper::SetToolTip(const base::string16& tool_tip) { base 34 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc const base::string16& title, base 35 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc const base::string16& contents) { base 53 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc const base::string16& tool_tip) { base 24 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE; base 26 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h const base::string16& title, base 27 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h const base::string16& contents) OVERRIDE; base 38 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h const base::string16& tool_tip); base 107 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconWin::SetToolTip(const base::string16& tool_tip) { base 119 chrome/browser/ui/views/status_icons/status_icon_win.cc const base::string16& title, base 120 chrome/browser/ui/views/status_icons/status_icon_win.cc const base::string16& contents) { base 129 chrome/browser/ui/views/status_icons/status_icon_win.cc base::win::Version win_version = base::win::GetVersion(); base 130 chrome/browser/ui/views/status_icons/status_icon_win.cc if (!icon.isNull() && win_version != base::win::VERSION_PRE_XP) { base 132 chrome/browser/ui/views/status_icons/status_icon_win.cc if (win_version >= base::win::VERSION_VISTA) { base 159 chrome/browser/ui/views/status_icons/status_icon_win.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 190 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconMetro::SetToolTip(const base::string16& tool_tip) { base 196 chrome/browser/ui/views/status_icons/status_icon_win.cc const base::string16& title, base 197 chrome/browser/ui/views/status_icons/status_icon_win.cc const base::string16& contents) { base 200 chrome/browser/ui/views/status_icons/status_icon_win.cc HMODULE metro_module = base::win::GetMetroModule(); base 204 chrome/browser/ui/views/status_icons/status_icon_win.cc base::win::MetroNotification notification = base 205 chrome/browser/ui/views/status_icons/status_icon_win.cc reinterpret_cast<base::win::MetroNotification>( base 209 chrome/browser/ui/views/status_icons/status_icon_win.cc base::IntToString(id_).c_str(), NULL, NULL); base 48 chrome/browser/ui/views/status_icons/status_icon_win.h virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE; base 50 chrome/browser/ui/views/status_icons/status_icon_win.h const base::string16& title, base 51 chrome/browser/ui/views/status_icons/status_icon_win.h const base::string16& contents) OVERRIDE; base 71 chrome/browser/ui/views/status_icons/status_icon_win.h base::win::ScopedHICON icon_; base 74 chrome/browser/ui/views/status_icons/status_icon_win.h base::win::ScopedHICON balloon_icon_; base 95 chrome/browser/ui/views/status_icons/status_icon_win.h virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE; base 97 chrome/browser/ui/views/status_icons/status_icon_win.h const base::string16& title, base 98 chrome/browser/ui/views/status_icons/status_icon_win.h const base::string16& contents) OVERRIDE; base 104 chrome/browser/ui/views/status_icons/status_icon_win.h base::string16 tool_tip_; base 20 chrome/browser/ui/views/status_icons/status_tray_linux.cc const base::string16& tool_tip) { base 21 chrome/browser/ui/views/status_icons/status_tray_linux.h const base::string16& tool_tip) OVERRIDE; base 34 chrome/browser/ui/views/status_icons/status_tray_win.cc base::win::InitializeWindowClass( base 36 chrome/browser/ui/views/status_icons/status_tray_win.cc &base::win::WrappedWindowProc<StatusTrayWin::WndProcStatic>, base 131 chrome/browser/ui/views/status_icons/status_tray_win.cc const base::string16& tool_tip) { base 29 chrome/browser/ui/views/status_icons/status_tray_win.h const base::string16& tool_tip) OVERRIDE; base 50 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc StatusTray::OTHER_ICON, *image, base::ASCIIToUTF16("tool tip")); base 65 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc StatusTray::OTHER_ICON, *image, base::ASCIIToUTF16("tool tip"))); base 83 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc StatusTray::OTHER_ICON, *image, base::ASCIIToUTF16("tool tip"))); base 99 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc StatusTray::OTHER_ICON, *image, base::ASCIIToUTF16("tool tip"))); base 55 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc const base::string16& email, base 56 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc const base::string16& error_message, base 66 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc error_message, base::string16(), delegate.Pass(), base 71 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc base::string16(), base::string16(), delegate.Pass(), base 76 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc base::string16(), email, delegate.Pass(), base 96 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc const base::string16& error_message, base 97 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc const base::string16& email, base 278 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc base::string16 ok_label = !error_message_.empty() ? base 290 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc *undo_button = new views::LabelButton(this, base::string16()); base 294 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc base::string16 undo_label = base 328 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc base::ResetAndReturn(&start_sync_callback_).Run( base 336 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc base::ResetAndReturn(&start_sync_callback_).Run( base 367 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc base::ResetAndReturn(&start_sync_callback_).Run( base 400 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc base::ResetAndReturn(&start_sync_callback_).Run((sender == ok_button_) ? base 414 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc base::ResetAndReturn(&start_sync_callback_).Run( base 38 chrome/browser/ui/views/sync/one_click_signin_bubble_view.h const base::string16& email, base 39 chrome/browser/ui/views/sync/one_click_signin_bubble_view.h const base::string16& error_message, base 55 chrome/browser/ui/views/sync/one_click_signin_bubble_view.h const base::string16& error_message, base 56 chrome/browser/ui/views/sync/one_click_signin_bubble_view.h const base::string16& email, base 113 chrome/browser/ui/views/sync/one_click_signin_bubble_view.h const base::string16 error_message_; base 116 chrome/browser/ui/views/sync/one_click_signin_bubble_view.h const base::string16 email_; base 55 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc base::string16(), base 56 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc base::string16(), base 59 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc base::Bind(&OneClickSigninBubbleViewTest::OnStartSync, base 60 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc base::Unretained(this))); base 81 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc base::Bind(&ProfileSigninConfirmationDialogViews::Show, base 82 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc base::Unretained(dialog))); base 91 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc base::string16 ProfileSigninConfirmationDialogViews::GetWindowTitle() const { base 96 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc base::string16 ProfileSigninConfirmationDialogViews::GetDialogButtonLabel( base 115 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc const base::string16 continue_signin_text = base 163 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc const base::string16 domain = base 164 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc base::ASCIIToUTF16(gaia::ExtractDomainName(username_)); base 165 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc const base::string16 username = base::ASCIIToUTF16(username_); base 166 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc const base::string16 prompt_text = base 192 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc const base::string16 learn_more_text = base 195 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc const base::string16 signin_explanation_text = base 48 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 49 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h virtual base::string16 GetDialogButtonLabel( base 151 chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 152 chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc base::MessageLoop::current()); base 53 chrome/browser/ui/views/tab_icon_view.cc : views::MenuButton(NULL, base::string16(), listener, false), base 49 chrome/browser/ui/views/tab_modal_confirm_dialog_views.cc base::string16 link_text(delegate->GetLinkText()); base 90 chrome/browser/ui/views/tab_modal_confirm_dialog_views.cc base::string16 TabModalConfirmDialogViews::GetWindowTitle() const { base 94 chrome/browser/ui/views/tab_modal_confirm_dialog_views.cc base::string16 TabModalConfirmDialogViews::GetDialogButtonLabel( base 100 chrome/browser/ui/views/tab_modal_confirm_dialog_views.cc return base::string16(); base 37 chrome/browser/ui/views/tab_modal_confirm_dialog_views.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 38 chrome/browser/ui/views/tab_modal_confirm_dialog_views.h virtual base::string16 GetDialogButtonLabel( base 50 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc using base::UserMetricsAction; base 94 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc base::FilePath full_path; base 209 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc base::Bind(&BrowserTabStripController::UpdateLayoutType, base 210 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc base::Unretained(this))); base 383 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc const base::string16& location) { base 428 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc base::PostTaskAndReplyWithResult( base 431 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc base::Bind(&FindURLMimeType, url), base 432 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc base::Bind(&BrowserTabStripController::OnFindURLMimeTypeCompleted, base 72 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h virtual void CreateNewTabWithLocation(const base::string16& loc) OVERRIDE; base 168 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h base::WeakPtrFactory<BrowserTabStripController> weak_ptr_factory_; base 112 chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc const base::string16& location) { base 49 chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h virtual void CreateNewTabWithLocation(const base::string16& loc) OVERRIDE; base 253 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc result += base::IntToString(view_model_->ideal_bounds(i).x()); base 90 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc ASSERT_TRUE(base::StringToInt(positions[i], &x)); base 101 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc result += base::IntToString(view_model_.ideal_bounds(i).x()); base 113 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc result += base::IntToString(view_model_.ideal_bounds(i).x()); base 564 chrome/browser/ui/views/tabs/tab.cc data_.crashed_status != base::TERMINATION_STATUS_PROCESS_WAS_KILLED) base 644 chrome/browser/ui/views/tabs/tab.cc base::TimeDelta timeout = base 645 chrome/browser/ui/views/tabs/tab.cc base::TimeDelta::FromMilliseconds(kMiniTitleChangeAnimationIntervalMS); base 937 chrome/browser/ui/views/tabs/tab.cc bool Tab::GetTooltipText(const gfx::Point& p, base::string16* tooltip) const { base 1496 chrome/browser/ui/views/tabs/tab.cc base::string16 title = data().title; base 1528 chrome/browser/ui/views/tabs/tab.cc base::debug::Alias(&loading_animation_frame_count); base 1529 chrome/browser/ui/views/tabs/tab.cc base::debug::Alias(&waiting_animation_frame_count); base 173 chrome/browser/ui/views/tabs/tab.h base::string16* tooltip) const OVERRIDE; base 62 chrome/browser/ui/views/tabs/tab_drag_controller.cc using base::UserMetricsAction; base 209 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 270 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::MessageLoopForUI::current()->AddObserver(this); base 320 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::WeakPtr<TabDragController> ref(weak_factory_.GetWeakPtr()); base 496 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::EventStatus TabDragController::WillProcessEvent( base 497 chrome/browser/ui/views/tabs/tab_drag_controller.cc const base::NativeEvent& event) { base 498 chrome/browser/ui/views/tabs/tab_drag_controller.cc return base::EVENT_CONTINUE; base 501 chrome/browser/ui/views/tabs/tab_drag_controller.cc void TabDragController::DidProcessEvent(const base::NativeEvent& event) { base 636 chrome/browser/ui/views/tabs/tab_drag_controller.cc static_cast<base::Timer*>(&bring_to_front_timer_)->Start(FROM_HERE, base 637 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::TimeDelta::FromMilliseconds(kBringToFrontDelay), base 638 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::Bind(&TabDragController::BringWindowUnderPointToFront, base 639 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::Unretained(this), point_in_screen)); base 875 chrome/browser/ui/views/tabs/tab_drag_controller.cc static_cast<base::Timer*>(&move_stacked_timer_)->Start( base 877 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::TimeDelta::FromMilliseconds(delay_ms), base 878 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::Bind(&TabDragController::MoveAttachedToNextStackedIndex, base 879 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::Unretained(this), point_in_screen)); base 881 chrome/browser/ui/views/tabs/tab_drag_controller.cc static_cast<base::Timer*>(&move_stacked_timer_)->Start( base 883 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::TimeDelta::FromMilliseconds(delay_ms), base 884 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::Bind(&TabDragController::MoveAttachedToPreviousStackedIndex, base 885 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::Unretained(this), point_in_screen)); base 1005 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::AutoReset<bool> setter(&is_mutating_, true); base 1169 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::WeakPtr<TabDragController> ref(weak_factory_.GetWeakPtr()); base 1186 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::WeakPtr<TabDragController> ref(weak_factory_.GetWeakPtr()); base 1565 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::AutoReset<bool> setter(&is_mutating_, true); base 1621 chrome/browser/ui/views/tabs/tab_drag_controller.cc base::AutoReset<bool> setter(&is_mutating_, true); base 51 chrome/browser/ui/views/tabs/tab_drag_controller.h public base::MessageLoopForUI::Observer, base 242 chrome/browser/ui/views/tabs/tab_drag_controller.h virtual base::EventStatus WillProcessEvent( base 243 chrome/browser/ui/views/tabs/tab_drag_controller.h const base::NativeEvent& event) OVERRIDE; base 244 chrome/browser/ui/views/tabs/tab_drag_controller.h virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; base 556 chrome/browser/ui/views/tabs/tab_drag_controller.h base::OneShotTimer<TabDragController> bring_to_front_timer_; base 560 chrome/browser/ui/views/tabs/tab_drag_controller.h base::OneShotTimer<TabDragController> move_stacked_timer_; base 641 chrome/browser/ui/views/tabs/tab_drag_controller.h base::WeakPtrFactory<TabDragController> weak_factory_; base 69 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc : public base::SupportsUserData::Data { base 92 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::MessageLoopForUI::current()->Quit(); base 131 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc result += base::IntToString(user_data->id()); base 333 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc tab_1_center.x(), 0, base::TimeDelta(), base 341 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc tab_1_center.x(), 0, base::TimeDelta(), base 445 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const base::Closure& task) { base 449 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::MessageLoop::current()->PostTask(FROM_HERE, task); base 459 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const base::Closure& task, base 460 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::TimeDelta delay) { base 464 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, task, delay); base 474 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const base::Closure& task) { base 478 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::MessageLoop::current()->PostTask(FROM_HERE, task); base 522 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::MessageLoop::current()->Run(); base 527 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::RunLoop run_loop; base 618 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragToSeparateWindowStep2, base 693 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DetachToOwnWindowStep2, this))); base 760 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DetachToOwnWindowStep2, this))); base 894 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DeleteWhileDetachedStep2, to_delete))); base 942 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DeleteSourceDetachedStep2, to_delete, native_browser_list))); base 991 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&PressEscapeWhileDetachedStep2, native_browser_list))); base 1047 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragAllStep2, this, native_browser_list))); base 1116 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragAllToSeparateWindowStep2, this, tab_strip, tab_strip2, base 1191 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragAllToSeparateWindowAndCancelStep2, this, base 1300 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragAllToSeparateWindowStep2, this, tab_strip, tab_strip2, base 1366 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&CancelOnNewTabWhenDraggingStep2, this, native_browser_list))); base 1428 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragInMaximizedWindowStep2, this, browser(), tab_strip, base 1495 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragSingleTabToSeparateWindowInSecondDisplayStep3, test))); base 1522 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragSingleTabToSeparateWindowInSecondDisplayStep2, base 1618 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragTabToWindowInSeparateDisplayStep2, base 1688 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragTabToWindowInSeparateDisplayStep2, base 1759 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragTabToWindowInSeparateDisplayStep2, base 1831 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DragTabToWindowInSeparateDisplayStep2, base 1936 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc p.x, p.y, base::Bind(&CursorDeviceScaleFactorStep, base 1972 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&CursorDeviceScaleFactorStep, base 1997 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const base::Closure& task) { base 2004 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::MessageLoop::current()->Run(); base 2043 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&CancelDragTabToWindowInSeparateDisplayStep3, base 2081 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc tab_0_dst, base::Bind(&CancelDragTabToWindowInSeparateDisplayStep2, base 2135 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc tab_0_dst, base::Bind(&CancelDragTabToWindowInSeparateDisplayStep2, base 2186 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&PressSecondFingerWhileDetachedStep2, this), base 2187 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::TimeDelta::FromMilliseconds(60))); base 2228 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DetachToDockedWindowNextStep, base 2272 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc base::Bind(&DetachToDockedWindowNextStep, this, base 352 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc if (base::win::GetVersion() == base::win::VERSION_XP) { base 10 chrome/browser/ui/views/tabs/tab_renderer_data.cc crashed_status(base::TERMINATION_STATUS_STILL_RUNNING), base 33 chrome/browser/ui/views/tabs/tab_renderer_data.h return (crashed_status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED || base 34 chrome/browser/ui/views/tabs/tab_renderer_data.h crashed_status == base::TERMINATION_STATUS_PROCESS_CRASHED || base 35 chrome/browser/ui/views/tabs/tab_renderer_data.h crashed_status == base::TERMINATION_STATUS_ABNORMAL_TERMINATION); base 43 chrome/browser/ui/views/tabs/tab_renderer_data.h base::string16 title; base 46 chrome/browser/ui/views/tabs/tab_renderer_data.h base::TerminationStatus crashed_status; base 65 chrome/browser/ui/views/tabs/tab_strip.cc using base::UserMetricsAction; base 242 chrome/browser/ui/views/tabs/tab_strip.cc base::string16 GetClipboardText() { base 244 chrome/browser/ui/views/tabs/tab_strip.cc return base::string16(); base 247 chrome/browser/ui/views/tabs/tab_strip.cc base::string16 clipboard_text; base 488 chrome/browser/ui/views/tabs/tab_strip.cc if (base::i18n::IsRTL()) { base 873 chrome/browser/ui/views/tabs/tab_strip.cc base::STLSetDifference<ui::ListSelectionModel::SelectedIndices>( base 1398 chrome/browser/ui/views/tabs/tab_strip.cc base::string16 title; base 1441 chrome/browser/ui/views/tabs/tab_strip.cc base::string16 title; base 1537 chrome/browser/ui/views/tabs/tab_strip.cc base::string16 clipboard_text = GetClipboardText(); base 2126 chrome/browser/ui/views/tabs/tab_strip.cc last_mouse_move_time_ = base::TimeTicks(); base 2151 chrome/browser/ui/views/tabs/tab_strip.cc if ((base::TimeTicks::Now() - last_mouse_move_time_).InMilliseconds() < base 2157 chrome/browser/ui/views/tabs/tab_strip.cc last_mouse_move_time_ = base::TimeTicks::Now(); base 2160 chrome/browser/ui/views/tabs/tab_strip.cc last_mouse_move_time_ = base::TimeTicks(); base 2171 chrome/browser/ui/views/tabs/tab_strip.cc last_mouse_move_time_ = base::TimeTicks(); base 2306 chrome/browser/ui/views/tabs/tab_strip.cc FROM_HERE, base::TimeDelta::FromMilliseconds(kTouchResizeLayoutTimeMS), base 624 chrome/browser/ui/views/tabs/tab_strip.h base::TimeTicks last_mouse_move_time_; base 631 chrome/browser/ui/views/tabs/tab_strip.h base::OneShotTimer<TabStrip> resize_layout_timer_; base 100 chrome/browser/ui/views/tabs/tab_strip_controller.h virtual void CreateNewTabWithLocation(const base::string16& location) = 0; base 127 chrome/browser/ui/views/tabs/tab_strip_unittest.cc base::MessageLoopForUI ui_loop_; base 145 chrome/browser/ui/views/tabs/window_finder_win.cc base::win::ScopedRegion tmp_region_; base 166 chrome/browser/ui/views/tabs/window_finder_win.cc ((base::win::OSInfo::GetInstance()->version() >= base 167 chrome/browser/ui/views/tabs/window_finder_win.cc base::win::VERSION_WIN8) || base 79 chrome/browser/ui/views/task_manager_view.cc virtual base::string16 GetText(int row, int column) OVERRIDE; base 105 chrome/browser/ui/views/task_manager_view.cc base::string16 TaskManagerTableModel::GetText(int row, int col_id) { base 178 chrome/browser/ui/views/task_manager_view.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 243 chrome/browser/ui/views/task_manager_view.cc base::string16 always_on_top_menu_text_; base 384 chrome/browser/ui/views/task_manager_view.cc base::StatsTable* stats = base::StatsTable::current(); base 396 chrome/browser/ui/views/task_manager_view.cc col.title = base::ASCIIToUTF16(row); base 538 chrome/browser/ui/views/task_manager_view.cc base::string16 TaskManagerView::GetWindowTitle() const { base 643 chrome/browser/ui/views/task_manager_view.cc const base::DictionaryValue* dictionary = base 66 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc base::string16 text; base 69 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc return base::UTF16ToUTF8(text); base 97 chrome/browser/ui/views/toolbar/browser_action_view.cc : MenuButton(this, base::string16(), NULL, false), base 138 chrome/browser/ui/views/toolbar/browser_action_view.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 238 chrome/browser/ui/views/toolbar/browser_action_view.cc base::string16 name = base 239 chrome/browser/ui/views/toolbar/browser_action_view.cc base::UTF8ToUTF16(title.empty() ? extension()->name() : title); base 240 chrome/browser/ui/views/toolbar/browser_action_view.cc SetTooltipText(delegate_->NeedToShowTooltip() ? name : base::string16()); base 251 chrome/browser/ui/views/toolbar/browser_action_view.h friend class base::DeleteHelper<BrowserActionButton>; base 100 chrome/browser/ui/views/toolbar/browser_actions_container.cc chevron_ = new views::MenuButton(NULL, base::string16(), this, false); base 301 chrome/browser/ui/views/toolbar/browser_actions_container.cc (base::i18n::IsRTL() ? base 366 chrome/browser/ui/views/toolbar/browser_actions_container.cc (base::i18n::IsRTL() ? (view_x < drop_indicator_position_) : base 803 chrome/browser/ui/views/toolbar/browser_actions_container.cc base::MessageLoop::current()->PostDelayedTask( base 805 chrome/browser/ui/views/toolbar/browser_actions_container.cc base::Bind(&BrowserActionsContainer::ShowDropFolder, base 807 chrome/browser/ui/views/toolbar/browser_actions_container.cc base::TimeDelta::FromMilliseconds(views::GetMenuShowDelay())); base 401 chrome/browser/ui/views/toolbar/browser_actions_container.h base::WeakPtrFactory<BrowserActionsContainer> task_factory_; base 404 chrome/browser/ui/views/toolbar/browser_actions_container.h base::WeakPtrFactory<BrowserActionsContainer> show_menu_task_factory_; base 167 chrome/browser/ui/views/toolbar/home_button.cc base::string16 title; base 48 chrome/browser/ui/views/toolbar/reload_button.cc base::TimeDelta::FromMilliseconds(views::GetDoubleClickInterval())), base 49 chrome/browser/ui/views/toolbar/reload_button.cc stop_to_reload_timer_delay_(base::TimeDelta::FromMilliseconds(1350)), base 104 chrome/browser/ui/views/toolbar/reload_button.cc base::string16* tooltip) const { base 54 chrome/browser/ui/views/toolbar/reload_button.h base::string16* tooltip) const OVERRIDE; base 84 chrome/browser/ui/views/toolbar/reload_button.h base::OneShotTimer<ReloadButton> double_click_timer_; base 85 chrome/browser/ui/views/toolbar/reload_button.h base::OneShotTimer<ReloadButton> stop_to_reload_timer_; base 99 chrome/browser/ui/views/toolbar/reload_button.h base::TimeDelta double_click_timer_delay_; base 100 chrome/browser/ui/views/toolbar/reload_button.h base::TimeDelta stop_to_reload_timer_delay_; base 27 chrome/browser/ui/views/toolbar/reload_button_unittest.cc base::MessageLoop loop_; base 35 chrome/browser/ui/views/toolbar/reload_button_unittest.cc reload_.double_click_timer_delay_ = base::TimeDelta(); base 36 chrome/browser/ui/views/toolbar/reload_button_unittest.cc reload_.stop_to_reload_timer_delay_ = base::TimeDelta(); base 24 chrome/browser/ui/views/toolbar/toolbar_button.cc : views::LabelButton(listener, base::string16()), base 67 chrome/browser/ui/views/toolbar/toolbar_button.cc base::MessageLoop::current()->PostDelayedTask( base 69 chrome/browser/ui/views/toolbar/toolbar_button.cc base::Bind(&ToolbarButton::ShowDropDownMenu, base 72 chrome/browser/ui/views/toolbar/toolbar_button.cc base::TimeDelta::FromMilliseconds(kMenuTimerDelay)); base 164 chrome/browser/ui/views/toolbar/toolbar_button.cc if (base::i18n::IsRTL()) base 81 chrome/browser/ui/views/toolbar/toolbar_button.h base::WeakPtrFactory<ToolbarButton> show_menu_factory_; base 116 chrome/browser/ui/views/toolbar/toolbar_button_test.cc base::MessageLoopForUI::current()->PostTask( base 209 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc base::string16 host = base 306 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc base::string16 host = base 342 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc content::RecordAction(base::UserMetricsAction("OriginChipPress")); base 96 chrome/browser/ui/views/toolbar/toolbar_view.cc using base::UserMetricsAction; base 177 chrome/browser/ui/views/toolbar/toolbar_view.cc if (base::win::GetVersion() == base::win::VERSION_XP) { base 295 chrome/browser/ui/views/toolbar/toolbar_view.cc base::Bind(&ToolbarView::OnShowHomeButtonChanged, base 296 chrome/browser/ui/views/toolbar/toolbar_view.cc base::Unretained(this))); base 833 chrome/browser/ui/views/toolbar/toolbar_view.cc base::string16 accname_app = l10n_util::GetStringUTF16(IDS_ACCNAME_APP); base 112 chrome/browser/ui/views/toolbar/toolbar_view_browsertest.cc model, GURL("http://foo.com"), base::ASCIIToUTF16("Foo")); base 60 chrome/browser/ui/views/toolbar/wrench_menu.cc using base::UserMetricsAction; base 170 chrome/browser/ui/views/toolbar/wrench_menu.cc if (base::i18n::IsRTL()) { base 306 chrome/browser/ui/views/toolbar/wrench_menu.cc if (!base::i18n::IsRTL()) base 327 chrome/browser/ui/views/toolbar/wrench_menu.cc base::string16 GetAccessibleNameForWrenchMenuItem( base 329 chrome/browser/ui/views/toolbar/wrench_menu.cc base::string16 accessible_name = base 331 chrome/browser/ui/views/toolbar/wrench_menu.cc base::string16 accelerator_text; base 604 chrome/browser/ui/views/toolbar/wrench_menu.cc base::Bind(&WrenchMenu::ZoomView::OnZoomLevelChanged, base 605 chrome/browser/ui/views/toolbar/wrench_menu.cc base::Unretained(this))); base 1011 chrome/browser/ui/views/toolbar/wrench_menu.cc base::string16 WrenchMenu::GetTooltipText(int command_id, base 1014 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_delegate_->GetTooltipText(command_id, p) : base::string16(); base 65 chrome/browser/ui/views/toolbar/wrench_menu.h virtual base::string16 GetTooltipText(int command_id, base 12 chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc : views::MenuButton(NULL, base::string16(), listener, false) { base 44 chrome/browser/ui/views/translate/translate_bubble_view.cc const base::string16& label, base 97 chrome/browser/ui/views/translate/translate_bubble_view.cc const base::string16& original_language_name) { base 99 chrome/browser/ui/views/translate/translate_bubble_view.cc items_.push_back(base::string16()); base 103 chrome/browser/ui/views/translate/translate_bubble_view.cc items_.push_back(base::string16()); base 114 chrome/browser/ui/views/translate/translate_bubble_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE { base 124 chrome/browser/ui/views/translate/translate_bubble_view.cc std::vector<base::string16> items_; base 470 chrome/browser/ui/views/translate/translate_bubble_view.cc base::string16 original_language_name = base 524 chrome/browser/ui/views/translate/translate_bubble_view.cc base::string16 target_language_name = base 685 chrome/browser/ui/views/translate/translate_bubble_view.cc always_translate_checkbox_ = new views::Checkbox(base::string16()); base 778 chrome/browser/ui/views/translate/translate_bubble_view.cc base::string16 source_language_name = base 780 chrome/browser/ui/views/translate/translate_bubble_view.cc base::string16 target_language_name = base 791 chrome/browser/ui/views/translate/translate_bubble_view.cc base::string16 label; base 41 chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("french_page.html"))); base 64 chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("french_page.html"))); base 84 chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc base::FilePath(), base::FilePath(FILE_PATH_LITERAL("french_page.html"))); base 57 chrome/browser/ui/views/translate/translate_bubble_view_unittest.cc virtual base::string16 GetLanguageNameAt(int index) const OVERRIDE { base 58 chrome/browser/ui/views/translate/translate_bubble_view_unittest.cc return base::string16(); base 26 chrome/browser/ui/views/uninstall_view.cc const base::Closure& quit_closure, base 123 chrome/browser/ui/views/uninstall_view.cc base::LaunchOptions options; base 125 chrome/browser/ui/views/uninstall_view.cc base::LaunchProcess(i->second, options, NULL); base 135 chrome/browser/ui/views/uninstall_view.cc base::string16 UninstallView::GetDialogButtonLabel( base 152 chrome/browser/ui/views/uninstall_view.cc base::string16 UninstallView::GetWindowTitle() const { base 161 chrome/browser/ui/views/uninstall_view.cc base::string16 UninstallView::GetItemAt(int index) { base 171 chrome/browser/ui/views/uninstall_view.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 183 chrome/browser/ui/views/uninstall_view.cc base::RunLoop run_loop; base 32 chrome/browser/ui/views/uninstall_view.h const base::Closure& quit_closure, base 43 chrome/browser/ui/views/uninstall_view.h virtual base::string16 GetDialogButtonLabel( base 47 chrome/browser/ui/views/uninstall_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 51 chrome/browser/ui/views/uninstall_view.h virtual base::string16 GetItemAt(int index) OVERRIDE; base 54 chrome/browser/ui/views/uninstall_view.h typedef std::map<base::string16, base::string16> BrowsersMap; base 66 chrome/browser/ui/views/uninstall_view.h base::Closure quit_closure_; base 40 chrome/browser/ui/views/update_recommended_message_box.cc const base::string16 product_name = l10n_util::GetStringUTF16(kProductNameID); base 60 chrome/browser/ui/views/update_recommended_message_box.cc base::string16 UpdateRecommendedMessageBox::GetDialogButtonLabel( base 74 chrome/browser/ui/views/update_recommended_message_box.cc base::string16 UpdateRecommendedMessageBox::GetWindowTitle() const { base 28 chrome/browser/ui/views/update_recommended_message_box.h virtual base::string16 GetDialogButtonLabel( base 33 chrome/browser/ui/views/update_recommended_message_box.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 47 chrome/browser/ui/views/user_manager_view.cc void ShowUserManager(const base::FilePath& profile_path_to_focus) { base 53 chrome/browser/ui/views/user_manager_view.cc UserManagerView::Show(base::FilePath(), tutorial); base 75 chrome/browser/ui/views/user_manager_view.cc void UserManagerView::Show(const base::FilePath& profile_path_to_focus, base 89 chrome/browser/ui/views/user_manager_view.cc base::Bind(&UserManagerView::OnGuestProfileCreated)); base 137 chrome/browser/ui/views/user_manager_view.cc base::string16 UserManagerView::GetWindowTitle() const { base 25 chrome/browser/ui/views/user_manager_view.h static void Show(const base::FilePath& profile_path_to_focus, base 49 chrome/browser/ui/views/user_manager_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 23 chrome/browser/ui/views/validation_message_bubble_delegate.cc const base::string16& main_text, base 24 chrome/browser/ui/views/validation_message_bubble_delegate.cc const base::string16& sub_text, base 27 chrome/browser/ui/views/validation_message_bubble_delegate.h const base::string16& main_text, base 28 chrome/browser/ui/views/validation_message_bubble_delegate.h const base::string16& sub_text, base 15 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc gfx::Rect(), base::UTF8ToUTF16(main_text), base 16 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc base::UTF8ToUTF16(sub_text), NULL); base 22 chrome/browser/ui/views/validation_message_bubble_view.cc const base::string16& main_text, base 23 chrome/browser/ui/views/validation_message_bubble_view.cc const base::string16& sub_text); base 53 chrome/browser/ui/views/validation_message_bubble_view.cc const base::string16& main_text, base 54 chrome/browser/ui/views/validation_message_bubble_view.cc const base::string16& sub_text) { base 70 chrome/browser/ui/views/validation_message_bubble_view.cc const base::string16& main_text, base 71 chrome/browser/ui/views/validation_message_bubble_view.cc const base::string16& sub_text) { base 60 chrome/browser/ui/views/web_dialog_view_browsertest.cc base::MessageLoop::current()->PostTask( base 62 chrome/browser/ui/views/web_dialog_view_browsertest.cc base::Bind(&base::MessageLoop::Quit, base 63 chrome/browser/ui/views/web_dialog_view_browsertest.cc base::Unretained(base::MessageLoop::current()))); base 57 chrome/browser/ui/views/website_settings/permission_selector_view.cc PermissionMenuButton(const base::string16& text, base 66 chrome/browser/ui/views/website_settings/permission_selector_view.cc virtual void SetText(const base::string16& text) OVERRIDE; base 86 chrome/browser/ui/views/website_settings/permission_selector_view.cc PermissionMenuButton::PermissionMenuButton(const base::string16& text, base 118 chrome/browser/ui/views/website_settings/permission_selector_view.cc void PermissionMenuButton::SetText(const base::string16& text) { base 54 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 72 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc base::string16 PermissionComboboxModel::GetItemAt(int index) { base 94 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc virtual base::string16 GetItemAt(int index) OVERRIDE; base 102 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc base::string16 CustomizeDenyComboboxModel::GetItemAt(int index) { base 134 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 149 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc base::string16 title_; base 253 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc base::string16 allow_text = l10n_util::GetStringUTF16(IDS_PERMISSION_ALLOW); base 263 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc base::string16 deny_text = l10n_util::GetStringUTF16(IDS_PERMISSION_DENY); base 300 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc base::string16 PermissionsBubbleDelegateView::GetWindowTitle() const { base 306 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc base::UTF8ToUTF16(hostname_)); base 128 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc void SetIdentityName(const base::string16& name); base 132 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc void SetIdentityStatus(const base::string16& status_text, SkColor text_color); base 190 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::string16(), rb.GetFontList(ui::ResourceBundle::BoldFont)); base 207 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc status_ = new views::Label(base::string16()); base 220 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc void PopupHeaderView::SetIdentityName(const base::string16& name) { base 224 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc void PopupHeaderView::SetIdentityStatus(const base::string16& status, base 396 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::Bind(&WebsiteSettingsPopupView::HandleLinkClickedAsync, base 454 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::string16 label_text = l10n_util::GetStringFUTF16( base 456 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::UTF8ToUTF16(i->cookie_source), base 457 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::IntToString16(i->allowed), base 458 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::IntToString16(i->blocked)); base 518 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::string16 identity_status_text; base 536 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc header_->SetIdentityName(base::UTF8ToUTF16(identity_info.site_identity)); base 544 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::string16 headline; base 562 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc headline = base::UTF8ToUTF16(identity_info.site_identity); base 567 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::string16(), // The identity section has no headline. base 568 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::UTF8ToUTF16(identity_info.identity_status_description), base 575 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::string16(), // The connection section has no headline. base 576 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::UTF8ToUTF16(identity_info.connection_status_description), base 586 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc const base::string16& first_visit) { base 665 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc const base::string16& headline_text, base 708 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc const base::string16& headline, base 709 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc const base::string16& text, base 796 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc base::UserMetricsAction("WebsiteSettings_CookiesDialogOpened")); base 91 chrome/browser/ui/views/website_settings/website_settings_popup_view.h virtual void SetFirstVisit(const base::string16& first_visit) OVERRIDE; base 106 chrome/browser/ui/views/website_settings/website_settings_popup_view.h views::View* CreateSection(const base::string16& headline, base 118 chrome/browser/ui/views/website_settings/website_settings_popup_view.h const base::string16& headline, base 119 chrome/browser/ui/views/website_settings/website_settings_popup_view.h const base::string16& text, base 178 chrome/browser/ui/views/website_settings/website_settings_popup_view.h base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; base 12 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc text_ = base::ASCIIToUTF16("test"); base 13 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc accept_label_ = base::ASCIIToUTF16("button"); base 14 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc deny_label_ = base::ASCIIToUTF16("button"); base 20 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc text_ = base::UTF8ToUTF16(text); base 21 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc accept_label_ = base::ASCIIToUTF16("button"); base 22 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc deny_label_ = base::ASCIIToUTF16("button"); base 29 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc text_ = base::UTF8ToUTF16(text); base 30 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc accept_label_ = base::UTF8ToUTF16(accept_label); base 31 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc deny_label_ = base::UTF8ToUTF16(deny_label); base 40 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc base::string16 MockPermissionBubbleRequest::GetMessageText() const { base 44 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc base::string16 MockPermissionBubbleRequest::GetMessageTextFragment() const { base 22 chrome/browser/ui/website_settings/mock_permission_bubble_request.h virtual base::string16 GetMessageText() const OVERRIDE; base 23 chrome/browser/ui/website_settings/mock_permission_bubble_request.h virtual base::string16 GetMessageTextFragment() const OVERRIDE; base 41 chrome/browser/ui/website_settings/mock_permission_bubble_request.h base::string16 text_; base 42 chrome/browser/ui/website_settings/mock_permission_bubble_request.h base::string16 accept_label_; base 43 chrome/browser/ui/website_settings/mock_permission_bubble_request.h base::string16 deny_label_; base 35 chrome/browser/ui/website_settings/permission_bubble_manager.cc timer_.reset(new base::Timer(FROM_HERE, base 36 chrome/browser/ui/website_settings/permission_bubble_manager.cc base::TimeDelta::FromMilliseconds(kPermissionsCoalesceIntervalMs), base 37 chrome/browser/ui/website_settings/permission_bubble_manager.cc base::Bind(&PermissionBubbleManager::ShowBubble, base::Unretained(this)), base 230 chrome/browser/ui/website_settings/permission_bubble_manager.cc timer_.reset(new base::Timer(FROM_HERE, base 231 chrome/browser/ui/website_settings/permission_bubble_manager.cc base::TimeDelta::FromMilliseconds(interval_ms), base 232 chrome/browser/ui/website_settings/permission_bubble_manager.cc base::Bind(&PermissionBubbleManager::ShowBubble, base::Unretained(this)), base 106 chrome/browser/ui/website_settings/permission_bubble_manager.h scoped_ptr<base::Timer> timer_; base 78 chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 87 chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc base::MessageLoop message_loop_; base 30 chrome/browser/ui/website_settings/permission_bubble_request.h virtual base::string16 GetMessageText() const = 0; base 36 chrome/browser/ui/website_settings/permission_bubble_request.h virtual base::string16 GetMessageTextFragment() const = 0; base 19 chrome/browser/ui/website_settings/permission_menu_model.cc base::string16 label; base 54 chrome/browser/ui/website_settings/website_settings.cc using base::ASCIIToUTF16; base 55 chrome/browser/ui/website_settings/website_settings.cc using base::UTF8ToUTF16; base 56 chrome/browser/ui/website_settings/website_settings.cc using base::UTF16ToUTF8; base 154 chrome/browser/ui/website_settings/website_settings.cc base::Bind(&WebsiteSettings::OnGotVisitCountToHost, base 155 chrome/browser/ui/website_settings/website_settings.cc base::Unretained(this))); base 161 chrome/browser/ui/website_settings/website_settings.cc PresentHistoryInfo(base::Time()); base 165 chrome/browser/ui/website_settings/website_settings.cc content::RecordAction(base::UserMetricsAction("WebsiteSettings_Opened")); base 237 chrome/browser/ui/website_settings/website_settings.cc scoped_ptr<base::Value> v(content_settings_->GetWebsiteSetting( base 255 chrome/browser/ui/website_settings/website_settings.cc base::Value* value = NULL; base 257 chrome/browser/ui/website_settings/website_settings.cc value = base::Value::CreateIntegerValue(setting); base 275 chrome/browser/ui/website_settings/website_settings.cc base::Time first_visit) { base 279 chrome/browser/ui/website_settings/website_settings.cc first_visit = base::Time(); base 281 chrome/browser/ui/website_settings/website_settings.cc first_visit = base::Time::Now(); base 309 chrome/browser/ui/website_settings/website_settings.cc base::string16 subject_name(UTF8ToUTF16(url.host())); base 341 chrome/browser/ui/website_settings/website_settings.cc base::string16 issuer_name(UTF8ToUTF16(cert->issuer().GetDisplayName())); base 372 chrome/browser/ui/website_settings/website_settings.cc base::string16 locality; base 396 chrome/browser/ui/website_settings/website_settings.cc base::string16 issuer_name(UTF8ToUTF16(cert->issuer().GetDisplayName())); base 416 chrome/browser/ui/website_settings/website_settings.cc const base::string16 bullet = UTF8ToUTF16("\n • "); base 468 chrome/browser/ui/website_settings/website_settings.cc base::IntToString16(ssl.security_bits))); base 562 chrome/browser/ui/website_settings/website_settings.cc scoped_ptr<base::Value> mic_value(content_settings_->GetWebsiteSetting( base 571 chrome/browser/ui/website_settings/website_settings.cc scoped_ptr<base::Value> camera_value(content_settings_->GetWebsiteSetting( base 585 chrome/browser/ui/website_settings/website_settings.cc scoped_ptr<base::Value> value(content_settings_->GetWebsiteSetting( base 588 chrome/browser/ui/website_settings/website_settings.cc if (value->GetType() == base::Value::TYPE_INTEGER) { base 668 chrome/browser/ui/website_settings/website_settings.cc void WebsiteSettings::PresentHistoryInfo(base::Time first_visit) { base 669 chrome/browser/ui/website_settings/website_settings.cc if (first_visit == base::Time()) { base 670 chrome/browser/ui/website_settings/website_settings.cc ui_->SetFirstVisit(base::string16()); base 675 chrome/browser/ui/website_settings/website_settings.cc base::Time today = base::Time::Now().LocalMidnight(); base 676 chrome/browser/ui/website_settings/website_settings.cc base::Time first_visit_midnight = first_visit.LocalMidnight(); base 679 chrome/browser/ui/website_settings/website_settings.cc base::string16 first_visit_text; base 683 chrome/browser/ui/website_settings/website_settings.cc base::TimeFormatShortDate(first_visit)); base 91 chrome/browser/ui/website_settings/website_settings.h base::Time first_visit); base 105 chrome/browser/ui/website_settings/website_settings.h base::string16 site_connection_details() const { base 109 chrome/browser/ui/website_settings/website_settings.h base::string16 site_identity_details() const { base 113 chrome/browser/ui/website_settings/website_settings.h base::string16 organization_name() const { base 139 chrome/browser/ui/website_settings/website_settings.h void PresentHistoryInfo(base::Time first_visit); base 180 chrome/browser/ui/website_settings/website_settings.h base::string16 site_identity_details_; base 186 chrome/browser/ui/website_settings/website_settings.h base::string16 site_connection_details_; base 192 chrome/browser/ui/website_settings/website_settings.h base::string16 organization_name_; base 39 chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc base::string16 WebsiteSettingsInfoBarDelegate::GetMessageText() const { base 47 chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc base::string16 WebsiteSettingsInfoBarDelegate::GetButtonLabel( base 30 chrome/browser/ui/website_settings/website_settings_infobar_delegate.h virtual base::string16 GetMessageText() const OVERRIDE; base 32 chrome/browser/ui/website_settings/website_settings_infobar_delegate.h virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; base 91 chrome/browser/ui/website_settings/website_settings_ui.cc base::string16 WebsiteSettingsUI::IdentityInfo::GetIdentityStatusText() const { base 107 chrome/browser/ui/website_settings/website_settings_ui.cc base::string16 WebsiteSettingsUI::PermissionTypeToUIString( base 135 chrome/browser/ui/website_settings/website_settings_ui.cc return base::string16(); base 140 chrome/browser/ui/website_settings/website_settings_ui.cc base::string16 WebsiteSettingsUI::PermissionValueToUIString( base 151 chrome/browser/ui/website_settings/website_settings_ui.cc return base::string16(); base 156 chrome/browser/ui/website_settings/website_settings_ui.cc base::string16 WebsiteSettingsUI::PermissionActionToUIString( base 182 chrome/browser/ui/website_settings/website_settings_ui.cc return base::string16(); base 322 chrome/browser/ui/website_settings/website_settings_ui.cc int WebsiteSettingsUI::GetFirstVisitIconID(const base::string16& first_visit) { base 330 chrome/browser/ui/website_settings/website_settings_ui.cc const base::string16& first_visit) { base 85 chrome/browser/ui/website_settings/website_settings_ui.h base::string16 GetIdentityStatusText() const; base 107 chrome/browser/ui/website_settings/website_settings_ui.h static base::string16 PermissionTypeToUIString(ContentSettingsType type); base 112 chrome/browser/ui/website_settings/website_settings_ui.h static base::string16 PermissionValueToUIString(ContentSetting value); base 117 chrome/browser/ui/website_settings/website_settings_ui.h static base::string16 PermissionActionToUIString( base 146 chrome/browser/ui/website_settings/website_settings_ui.h static int GetFirstVisitIconID(const base::string16& first_visit); base 149 chrome/browser/ui/website_settings/website_settings_ui.h static const gfx::Image& GetFirstVisitIcon(const base::string16& first_visit); base 162 chrome/browser/ui/website_settings/website_settings_ui.h virtual void SetFirstVisit(const base::string16& first_visit) = 0; base 72 chrome/browser/ui/website_settings/website_settings_unittest.cc MOCK_METHOD1(SetFirstVisit, void(const base::string16& first_visit)); base 90 chrome/browser/ui/website_settings/website_settings_unittest.cc base::Time start_date = base::Time::Now(); base 91 chrome/browser/ui/website_settings/website_settings_unittest.cc base::Time expiration_date = base::Time::FromInternalValue( base 92 chrome/browser/ui/website_settings/website_settings_unittest.cc start_date.ToInternalValue() + base::Time::kMicrosecondsPerWeek); base 122 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_CALL(*mock_ui, SetFirstVisit(base::string16())); base 184 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_CALL(*mock_ui(), SetFirstVisit(base::string16())); base 233 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_CALL(*mock_ui(), SetFirstVisit(base::string16())); base 249 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_EQ(base::string16(), website_settings()->organization_name()); base 270 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_EQ(base::string16(), website_settings()->organization_name()); base 291 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_EQ(base::string16(), website_settings()->organization_name()); base 320 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_EQ(base::UTF8ToUTF16("Google Inc"), base 341 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_EQ(base::string16(), website_settings()->organization_name()); base 361 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_EQ(base::string16(), website_settings()->organization_name()); base 376 chrome/browser/ui/website_settings/website_settings_unittest.cc EXPECT_CALL(*mock_ui(), SetFirstVisit(base::string16())); base 86 chrome/browser/ui/webui/about_ui.cc using base::Time; base 87 chrome/browser/ui/webui/about_ui.cc using base::TimeDelta; base 115 chrome/browser/ui/webui/about_ui.cc return base::StringPrintf("<meta http-equiv='refresh' content='0;%s'>", base 134 chrome/browser/ui/webui/about_ui.cc void BindProcessMetrics(base::DictionaryValue* data, base 136 chrome/browser/ui/webui/about_ui.cc void AppendProcess(base::ListValue* child_data, base 150 chrome/browser/ui/webui/about_ui.cc typedef base::Callback<void (ChromeOSOnlineTermsHandler*)> FetchCallback; base 155 chrome/browser/ui/webui/about_ui.cc std::string eula_URL = base::StringPrintf(chrome::kOnlineEulaURLPath, base 170 chrome/browser/ui/webui/about_ui.cc base::TimeDelta::FromSeconds(kOnlineTermsTimeoutSec), base 210 chrome/browser/ui/webui/about_ui.cc base::OneShotTimer<ChromeOSOnlineTermsHandler> download_timer_; base 222 chrome/browser/ui/webui/about_ui.cc : public base::RefCountedThreadSafe<ChromeOSTermsHandler> { base 250 chrome/browser/ui/webui/about_ui.cc base::Bind(&ChromeOSTermsHandler::LoadOemEulaFileOnFileThread, this)); base 255 chrome/browser/ui/webui/about_ui.cc base::Bind(&ChromeOSTermsHandler::OnOnlineEULAFetched, this), base 267 chrome/browser/ui/webui/about_ui.cc base::Bind(&ChromeOSTermsHandler::LoadEulaFileOnFileThread, this)); base 278 chrome/browser/ui/webui/about_ui.cc base::FilePath oem_eula_file_path; base 281 chrome/browser/ui/webui/about_ui.cc if (!base::ReadFileToString(oem_eula_file_path, &contents_)) { base 288 chrome/browser/ui/webui/about_ui.cc base::Bind(&ChromeOSTermsHandler::ResponseOnUIThread, this)); base 293 chrome/browser/ui/webui/about_ui.cc base::StringPrintf(chrome::kEULAPathFormat, locale_.c_str()); base 294 chrome/browser/ui/webui/about_ui.cc if (!base::ReadFileToString(base::FilePath(file_path), &contents_)) { base 296 chrome/browser/ui/webui/about_ui.cc file_path = base::StringPrintf(chrome::kEULAPathFormat, "en-US"); base 297 chrome/browser/ui/webui/about_ui.cc if (!base::ReadFileToString(base::FilePath(file_path), &contents_)) { base 305 chrome/browser/ui/webui/about_ui.cc base::Bind(&ChromeOSTermsHandler::ResponseOnUIThread, this)); base 314 chrome/browser/ui/webui/about_ui.cc callback_.Run(base::RefCountedString::TakeString(&contents_)); base 351 chrome/browser/ui/webui/about_ui.cc output->append(base::IntToString(refresh)); base 432 chrome/browser/ui/webui/about_ui.cc base::StringPrintf("<meta http-equiv='refresh' content='2;%s'>", base 457 chrome/browser/ui/webui/about_ui.cc std::vector<base::string16> titles = oom->GetTabTitles(); base 460 chrome/browser/ui/webui/about_ui.cc std::vector<base::string16>::iterator it = titles.begin(); base 462 chrome/browser/ui/webui/about_ui.cc std::string title = base::UTF16ToUTF8(*it); base 470 chrome/browser/ui/webui/about_ui.cc output.append(base::StringPrintf("%d discards this session. ", base 472 chrome/browser/ui/webui/about_ui.cc output.append(base::StringPrintf("<a href='%s%s'>Discard tab now</a>", base 476 chrome/browser/ui/webui/about_ui.cc base::SystemMemoryInfoKB meminfo; base 477 chrome/browser/ui/webui/about_ui.cc base::GetSystemMemoryInfo(&meminfo); base 482 chrome/browser/ui/webui/about_ui.cc "Total", base::IntToString(meminfo.total / 1024))); base 484 chrome/browser/ui/webui/about_ui.cc "Free", base::IntToString(meminfo.free / 1024))); base 492 chrome/browser/ui/webui/about_ui.cc "Allocated", base::IntToString(mem_allocated_kb / 1024))); base 496 chrome/browser/ui/webui/about_ui.cc "Buffered", base::IntToString(meminfo.buffers / 1024))); base 498 chrome/browser/ui/webui/about_ui.cc "Cached", base::IntToString(meminfo.cached / 1024))); base 500 chrome/browser/ui/webui/about_ui.cc "Active Anon", base::IntToString(meminfo.active_anon / 1024))); base 502 chrome/browser/ui/webui/about_ui.cc "Inactive Anon", base::IntToString(meminfo.inactive_anon / 1024))); base 504 chrome/browser/ui/webui/about_ui.cc "Shared", base::IntToString(meminfo.shmem / 1024))); base 506 chrome/browser/ui/webui/about_ui.cc "Graphics", base::IntToString(meminfo.gem_size / 1024 / 1024))); base 517 chrome/browser/ui/webui/about_ui.cc class AboutDnsHandler : public base::RefCountedThreadSafe<AboutDnsHandler> { base 544 chrome/browser/ui/webui/about_ui.cc base::Bind(&AboutDnsHandler::StartOnIOThread, this, predictor)); base 558 chrome/browser/ui/webui/about_ui.cc base::Bind(&AboutDnsHandler::FinishOnUIThread, this, data)); base 564 chrome/browser/ui/webui/about_ui.cc callback_.Run(base::RefCountedString::TakeString(&data_copy)); base 594 chrome/browser/ui/webui/about_ui.cc callback.Run(base::RefCountedString::TakeString(&result)); base 609 chrome/browser/ui/webui/about_ui.cc CR_DEFINE_STATIC_LOCAL(base::DictionaryValue, root, ()); base 610 chrome/browser/ui/webui/about_ui.cc static base::TimeTicks last_sample_time = base::TimeTicks::Now(); base 612 chrome/browser/ui/webui/about_ui.cc base::TimeTicks now = base::TimeTicks::Now(); base 613 chrome/browser/ui/webui/about_ui.cc base::TimeDelta time_since_last_sample = now - last_sample_time; base 616 chrome/browser/ui/webui/about_ui.cc base::StatsTable* table = base::StatsTable::current(); base 622 chrome/browser/ui/webui/about_ui.cc base::ListValue* counters; base 624 chrome/browser/ui/webui/about_ui.cc counters = new base::ListValue(); base 628 chrome/browser/ui/webui/about_ui.cc base::ListValue* timers; base 630 chrome/browser/ui/webui/about_ui.cc timers = new base::ListValue(); base 650 chrome/browser/ui/webui/about_ui.cc base::DictionaryValue* counter = NULL; base 653 chrome/browser/ui/webui/about_ui.cc base::DictionaryValue* dictionary; base 665 chrome/browser/ui/webui/about_ui.cc counter = new base::DictionaryValue(); base 704 chrome/browser/ui/webui/about_ui.cc base::JSONWriter::WriteWithOptions( base 706 chrome/browser/ui/webui/about_ui.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 713 chrome/browser/ui/webui/about_ui.cc data.append(base::StringPrintf("Counter changes in the last %ldms\n", base 716 chrome/browser/ui/webui/about_ui.cc base::Value* entry = NULL; base 720 chrome/browser/ui/webui/about_ui.cc base::DictionaryValue* counter = base 721 chrome/browser/ui/webui/about_ui.cc static_cast<base::DictionaryValue*>(entry); base 737 chrome/browser/ui/webui/about_ui.cc data.append(base::IntToString(delta)); base 753 chrome/browser/ui/webui/about_ui.cc scoped_ptr<base::Value> value; base 772 chrome/browser/ui/webui/about_ui.cc base::FilePath binary = CommandLine::ForCurrentProcess()->GetProgram(); base 776 chrome/browser/ui/webui/about_ui.cc base::ASCIIToUTF16(binary.BaseName().value()))); base 857 chrome/browser/ui/webui/about_ui.cc void AboutMemoryHandler::BindProcessMetrics(base::DictionaryValue* data, base 876 chrome/browser/ui/webui/about_ui.cc void AboutMemoryHandler::AppendProcess(base::ListValue* child_data, base 881 chrome/browser/ui/webui/about_ui.cc base::DictionaryValue* child = new base::DictionaryValue(); base 891 chrome/browser/ui/webui/about_ui.cc base::ListValue* titles = new base::ListValue(); base 894 chrome/browser/ui/webui/about_ui.cc titles->Append(new base::StringValue(info->titles[i])); base 899 chrome/browser/ui/webui/about_ui.cc scoped_ptr<base::DictionaryValue> root(new base::DictionaryValue); base 900 chrome/browser/ui/webui/about_ui.cc base::ListValue* browsers = new base::ListValue(); base 906 chrome/browser/ui/webui/about_ui.cc base::string16 log_string; base 930 chrome/browser/ui/webui/about_ui.cc base::DictionaryValue* browser_data = new base::DictionaryValue(); base 938 chrome/browser/ui/webui/about_ui.cc log_string += base::ASCIIToUTF16(", "); base 939 chrome/browser/ui/webui/about_ui.cc log_string += browser_processes[index].name + base::ASCIIToUTF16(", ") + base 940 chrome/browser/ui/webui/about_ui.cc base::Int64ToString16(aggregate.working_set.priv) + base 941 chrome/browser/ui/webui/about_ui.cc base::ASCIIToUTF16(", ") + base 942 chrome/browser/ui/webui/about_ui.cc base::Int64ToString16(aggregate.working_set.shared) + base 943 chrome/browser/ui/webui/about_ui.cc base::ASCIIToUTF16(", ") + base 944 chrome/browser/ui/webui/about_ui.cc base::Int64ToString16(aggregate.working_set.shareable); base 950 chrome/browser/ui/webui/about_ui.cc base::DictionaryValue* browser_data = new base::DictionaryValue(); base 952 chrome/browser/ui/webui/about_ui.cc base::ListValue* child_data = new base::ListValue(); base 968 chrome/browser/ui/webui/about_ui.cc base::DictionaryValue load_time_data; base 978 chrome/browser/ui/webui/about_ui.cc callback_.Run(base::RefCountedString::TakeString(&data)); base 1052 chrome/browser/ui/webui/about_ui.cc callback.Run(base::RefCountedString::TakeString(&html_copy)); base 70 chrome/browser/ui/webui/app_launcher_page_ui.cc base::RefCountedMemory* AppLauncherPageUI::GetFaviconResourceBytes( base 108 chrome/browser/ui/webui/app_launcher_page_ui.cc scoped_refptr<base::RefCountedMemory> html_bytes( base 14 chrome/browser/ui/webui/app_launcher_page_ui.h namespace base { base 24 chrome/browser/ui/webui/app_launcher_page_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 38 chrome/browser/ui/webui/app_list/start_page_handler.cc scoped_ptr<base::DictionaryValue> CreateAppInfo( base 40 chrome/browser/ui/webui/app_list/start_page_handler.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 70 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Bind(&StartPageHandler::HandleInitialize, base::Unretained(this))); base 73 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Bind(&StartPageHandler::HandleLaunchApp, base::Unretained(this))); base 76 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Bind(&StartPageHandler::HandleSpeechResult, base 77 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Unretained(this))); base 80 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Bind(&StartPageHandler::HandleSpeechSoundLevel, base 81 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Unretained(this))); base 84 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Bind(&StartPageHandler::HandleSpeechRecognition, base 85 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Unretained(this))); base 123 chrome/browser/ui/webui/app_list/start_page_handler.cc base::ListValue recommended_list; base 138 chrome/browser/ui/webui/app_list/start_page_handler.cc base::FundamentalValue(service->HotwordEnabled())); base 142 chrome/browser/ui/webui/app_list/start_page_handler.cc void StartPageHandler::HandleInitialize(const base::ListValue* args) { base 160 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Bind(&StartPageHandler::OnHotwordEnabledChanged, base 161 chrome/browser/ui/webui/app_list/start_page_handler.cc base::Unretained(this))); base 172 chrome/browser/ui/webui/app_list/start_page_handler.cc base::FundamentalValue(service->HotwordEnabled())); base 176 chrome/browser/ui/webui/app_list/start_page_handler.cc void StartPageHandler::HandleLaunchApp(const base::ListValue* args) { base 199 chrome/browser/ui/webui/app_list/start_page_handler.cc void StartPageHandler::HandleSpeechResult(const base::ListValue* args) { base 200 chrome/browser/ui/webui/app_list/start_page_handler.cc base::string16 query; base 209 chrome/browser/ui/webui/app_list/start_page_handler.cc void StartPageHandler::HandleSpeechSoundLevel(const base::ListValue* args) { base 219 chrome/browser/ui/webui/app_list/start_page_handler.cc void StartPageHandler::HandleSpeechRecognition(const base::ListValue* args) { base 16 chrome/browser/ui/webui/app_list/start_page_handler.h namespace base { base 53 chrome/browser/ui/webui/app_list/start_page_handler.h void HandleInitialize(const base::ListValue* args); base 54 chrome/browser/ui/webui/app_list/start_page_handler.h void HandleLaunchApp(const base::ListValue* args); base 55 chrome/browser/ui/webui/app_list/start_page_handler.h void HandleSpeechResult(const base::ListValue* args); base 56 chrome/browser/ui/webui/app_list/start_page_handler.h void HandleSpeechSoundLevel(const base::ListValue* args); base 57 chrome/browser/ui/webui/app_list/start_page_handler.h void HandleSpeechRecognition(const base::ListValue* args); base 35 chrome/browser/ui/webui/app_list/start_page_ui.cc void LoadModelData(const base::FilePath& base_dir, base 40 chrome/browser/ui/webui/app_list/start_page_ui.cc scoped_refptr<base::RefCountedString> data(new base::RefCountedString()); base 41 chrome/browser/ui/webui/app_list/start_page_ui.cc base::ReadFileToString(base_dir.AppendASCII(path), &(data->data())); base 61 chrome/browser/ui/webui/app_list/start_page_ui.cc base::Bind(&LoadModelData, extension->path(), path, callback)); base 93 chrome/browser/ui/webui/app_list/start_page_ui.cc if (base::SysInfo::IsRunningOnChromeOS()) base 94 chrome/browser/ui/webui/app_list/start_page_ui.cc source->SetRequestFilter(base::Bind(&HandleHotwordFilesResourceFilter, base 38 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc static const base::FilePath::CharType* kWebUIBidiCheckerLibraryJS = base 42 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::FilePath WebUIBidiCheckerLibraryJSPath() { base 43 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::FilePath src_root; base 44 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &src_root)) base 56 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc << " != " << base::PlatformThread::CurrentId(); base 62 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::ThreadRestrictions::ScopedAllowIO allow_io_scope; base 76 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::Bind(&ReloadLocaleResourcesOnIOThread, base::ConstRef(new_locale)), base 77 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::MessageLoop::QuitClosure()); base 83 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc static const base::FilePath::CharType* kBidiCheckerTestsJS = base 102 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc WebUIBrowserTest::AddLibrary(base::FilePath(kBidiCheckerTestsJS)); base 109 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::Value::CreateStringValue(page_url), base 110 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::Value::CreateBooleanValue(is_rtl))); base 125 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::FilePath pak_path; base 126 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc app_locale_ = base::i18n::GetConfiguredLocale(); base 127 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc ASSERT_TRUE(PathService::Get(base::FILE_MODULE, &pak_path)); base 134 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::i18n::SetICUDefaultLocale("he"); base 146 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::i18n::SetICUDefaultLocale(app_locale_); base 148 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc base::FilePath()); base 165 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc history_url, base::Time::Now(), history::SOURCE_BROWSED); base 166 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc history_service->SetPageTitle(history_url, base::UTF8ToUTF16(page_title)); base 11 chrome/browser/ui/webui/bidi_checker_web_ui_test.h namespace base { base 37 chrome/browser/ui/webui/bidi_checker_web_ui_test.h base::CommandLine::StringVector argv_; base 63 chrome/browser/ui/webui/bookmarks_ui.cc base::RefCountedMemory* BookmarksUI::GetFaviconResourceBytes( base 15 chrome/browser/ui/webui/bookmarks_ui.h namespace base { base 45 chrome/browser/ui/webui/bookmarks_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 73 chrome/browser/ui/webui/bookmarks_ui_browsertest.cc ui_test_utils::GetTestUrl(base::FilePath(), base 74 chrome/browser/ui/webui/bookmarks_ui_browsertest.cc base::FilePath().AppendASCII("simple.html"))); base 49 chrome/browser/ui/webui/certificate_viewer_webui.cc base::UTF8ToUTF16(x509_certificate_model::GetTitle(cert_chain.front()))); base 76 chrome/browser/ui/webui/certificate_viewer_webui.cc base::string16 CertificateViewerModalDialog::GetDialogTitle() const { base 101 chrome/browser/ui/webui/certificate_viewer_webui.cc base::DictionaryValue cert_info; base 126 chrome/browser/ui/webui/certificate_viewer_webui.cc base::UTF8ToUTF16(x509_certificate_model::GetTitle( base 150 chrome/browser/ui/webui/certificate_viewer_webui.cc base::Time issued, expires; base 153 chrome/browser/ui/webui/certificate_viewer_webui.cc issued_str = base::UTF16ToUTF8( base 154 chrome/browser/ui/webui/certificate_viewer_webui.cc base::TimeFormatShortDateNumeric(issued)); base 155 chrome/browser/ui/webui/certificate_viewer_webui.cc expires_str = base::UTF16ToUTF8( base 156 chrome/browser/ui/webui/certificate_viewer_webui.cc base::TimeFormatShortDateNumeric(expires)); base 170 chrome/browser/ui/webui/certificate_viewer_webui.cc base::ListValue* children = NULL; base 174 chrome/browser/ui/webui/certificate_viewer_webui.cc base::DictionaryValue* cert_node = new base::DictionaryValue(); base 175 chrome/browser/ui/webui/certificate_viewer_webui.cc base::ListValue cert_details; base 183 chrome/browser/ui/webui/certificate_viewer_webui.cc children = new base::ListValue(); base 189 chrome/browser/ui/webui/certificate_viewer_webui.cc base::JSONWriter::Write(&cert_info, &data); base 264 chrome/browser/ui/webui/certificate_viewer_webui.cc base::Bind(&CertificateViewerDialogHandler::ExportCertificate, base 265 chrome/browser/ui/webui/certificate_viewer_webui.cc base::Unretained(this))); base 267 chrome/browser/ui/webui/certificate_viewer_webui.cc base::Bind(&CertificateViewerDialogHandler::RequestCertificateFields, base 268 chrome/browser/ui/webui/certificate_viewer_webui.cc base::Unretained(this))); base 272 chrome/browser/ui/webui/certificate_viewer_webui.cc const base::ListValue* args) { base 285 chrome/browser/ui/webui/certificate_viewer_webui.cc const base::ListValue* args) { base 292 chrome/browser/ui/webui/certificate_viewer_webui.cc base::ListValue root_list; base 293 chrome/browser/ui/webui/certificate_viewer_webui.cc base::DictionaryValue* node_details; base 294 chrome/browser/ui/webui/certificate_viewer_webui.cc base::DictionaryValue* alt_node_details; base 295 chrome/browser/ui/webui/certificate_viewer_webui.cc base::ListValue* cert_sub_fields; base 296 chrome/browser/ui/webui/certificate_viewer_webui.cc root_list.Append(node_details = new base::DictionaryValue()); base 299 chrome/browser/ui/webui/certificate_viewer_webui.cc base::ListValue* cert_fields; base 300 chrome/browser/ui/webui/certificate_viewer_webui.cc node_details->Set("children", cert_fields = new base::ListValue()); base 301 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 305 chrome/browser/ui/webui/certificate_viewer_webui.cc node_details->Set("children", cert_fields = new base::ListValue()); base 308 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 315 chrome/browser/ui/webui/certificate_viewer_webui.cc base::UTF8ToUTF16(version))); base 317 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 324 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 330 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 337 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 341 chrome/browser/ui/webui/certificate_viewer_webui.cc node_details->Set("children", cert_sub_fields = new base::ListValue()); base 342 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_sub_fields->Append(node_details = new base::DictionaryValue()); base 345 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_sub_fields->Append(alt_node_details = new base::DictionaryValue()); base 348 chrome/browser/ui/webui/certificate_viewer_webui.cc base::Time issued, expires; base 351 chrome/browser/ui/webui/certificate_viewer_webui.cc base::UTF16ToUTF8(base::TimeFormatShortDateAndTime(issued))); base 353 chrome/browser/ui/webui/certificate_viewer_webui.cc base::UTF16ToUTF8(base::TimeFormatShortDateAndTime(expires))); base 356 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 363 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 367 chrome/browser/ui/webui/certificate_viewer_webui.cc node_details->Set("children", cert_sub_fields = new base::ListValue()); base 368 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_sub_fields->Append(node_details = new base::DictionaryValue()); base 373 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_sub_fields->Append(node_details = new base::DictionaryValue()); base 387 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 391 chrome/browser/ui/webui/certificate_viewer_webui.cc node_details->Set("children", cert_sub_fields = new base::ListValue()); base 394 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_sub_fields->Append(node_details = new base::DictionaryValue()); base 400 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 406 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 412 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_fields->Append(node_details = new base::DictionaryValue()); base 415 chrome/browser/ui/webui/certificate_viewer_webui.cc node_details->Set("children", cert_sub_fields = new base::ListValue()); base 417 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_sub_fields->Append(node_details = new base::DictionaryValue()); base 422 chrome/browser/ui/webui/certificate_viewer_webui.cc cert_sub_fields->Append(node_details = new base::DictionaryValue()); base 434 chrome/browser/ui/webui/certificate_viewer_webui.cc const base::ListValue* args) const { base 46 chrome/browser/ui/webui/certificate_viewer_webui.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 64 chrome/browser/ui/webui/certificate_viewer_webui.h base::string16 title_; base 117 chrome/browser/ui/webui/certificate_viewer_webui.h void ExportCertificate(const base::ListValue* args); base 124 chrome/browser/ui/webui/certificate_viewer_webui.h void RequestCertificateFields(const base::ListValue* args); base 128 chrome/browser/ui/webui/certificate_viewer_webui.h int GetCertificateIndex(const base::ListValue* args) const; base 524 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc base::MessageLoopProxy::current()->PostTask( base 526 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc base::Bind(&FaviconService::FaviconResultsCallbackRunner, base 527 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc callback, base::Owned(results))); base 592 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc scoped_refptr<base::RefCountedMemory> bitmap(GetFaviconResourceBytes( base 624 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc base::RefCountedMemory* ChromeWebUIControllerFactory::GetFaviconResourceBytes( base 16 chrome/browser/ui/webui/chrome_web_ui_controller_factory.h namespace base { base 55 chrome/browser/ui/webui/chrome_web_ui_controller_factory.h base::RefCountedMemory* GetFaviconResourceBytes( base 25 chrome/browser/ui/webui/chromeos/bluetooth_pairing_ui.cc base::DictionaryValue localized_strings; base 36 chrome/browser/ui/webui/chromeos/certificate_manager_dialog_ui.cc base::DictionaryValue* localized_strings); base 56 chrome/browser/ui/webui/chromeos/certificate_manager_dialog_ui.cc scoped_ptr<base::DictionaryValue> localized_strings_; base 62 chrome/browser/ui/webui/chromeos/certificate_manager_dialog_ui.cc base::DictionaryValue* localized_strings) base 75 chrome/browser/ui/webui/chromeos/certificate_manager_dialog_ui.cc scoped_refptr<base::RefCountedMemory> response_bytes; base 83 chrome/browser/ui/webui/chromeos/certificate_manager_dialog_ui.cc response_bytes = base::RefCountedString::TakeString(&strings_js); base 103 chrome/browser/ui/webui/chromeos/certificate_manager_dialog_ui.cc base::DictionaryValue* localized_strings = new base::DictionaryValue(); base 40 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Bind(&ChargerReplacementHandler::ConfirmSafeCharger, base 41 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Unretained(this))); base 43 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Bind(&ChargerReplacementHandler::ConfirmNotOrderNewCharger, base 44 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Unretained(this))); base 46 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Bind(&ChargerReplacementHandler::ConfirmChargerOrderedOnline, base 47 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Unretained(this))); base 49 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Bind(&ChargerReplacementHandler::ConfirmChargerOrderByPhone, base 50 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Unretained(this))); base 52 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Bind(&ChargerReplacementHandler::ConfirmStillUseBadCharger, base 53 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Unretained(this))); base 55 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Bind(&ChargerReplacementHandler::ShowLink, base 56 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::Unretained(this))); base 61 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::DictionaryValue* localized_strings) { base 240 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc const base::ListValue* args) { base 242 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::UserMetricsAction("ConfirmSafeSpringCharger")); base 249 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc const base::ListValue* args) { base 251 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::UserMetricsAction("ConfirmNotToOrderSpringCharger")); base 258 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc const base::ListValue* args) { base 260 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::UserMetricsAction("ConfirmOrderSpringChargerOnline")); base 262 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::UserMetricsAction("ConfirmOrderSpringCharger")); base 269 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc const base::ListValue* args) { base 271 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::UserMetricsAction("ConfirmOrderSpringChargerByPhone")); base 273 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::UserMetricsAction("ConfirmOrderSpringCharger")); base 280 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc const base::ListValue* args) { base 282 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc base::UserMetricsAction("ConfirmStillUseOriginalChargerAfterOrder")); base 293 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc void ChargerReplacementHandler::ShowLink(const base::ListValue* args) { base 294 chrome/browser/ui/webui/chromeos/charger_replacement_handler.cc std::string url = base::UTF16ToUTF8(ExtractStringValue(args)); base 45 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h static void GetLocalizedValues(base::DictionaryValue* localized_strings); base 52 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h void ConfirmSafeCharger(const base::ListValue* args); base 53 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h void ConfirmNotOrderNewCharger(const base::ListValue* args); base 54 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h void ConfirmChargerOrderedOnline(const base::ListValue* args); base 55 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h void ConfirmChargerOrderByPhone(const base::ListValue* args); base 56 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h void ConfirmStillUseBadCharger(const base::ListValue* args); base 57 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h void ShowLink(const base::ListValue* args); base 19 chrome/browser/ui/webui/chromeos/charger_replacement_ui.cc base::DictionaryValue localized_strings; base 90 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc scoped_ptr<base::DictionaryValue> error_data) { base 109 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc void HandleCancel(const base::ListValue* args); base 110 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc void HandleConnect(const base::ListValue* args); base 111 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc void HandlePageReady(const base::ListValue* args); base 114 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::ListValue networks_list_; base 139 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Bind(&base::DoNothing), base 140 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Bind(&NetworkOperationErrorCallback, "ProposeScan")); base 150 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Bind(&ChooseMobileNetworkHandler::HandleCancel, base 151 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Unretained(this))); base 154 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Bind(&ChooseMobileNetworkHandler::HandleConnect, base 155 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Unretained(this))); base 158 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Bind(&ChooseMobileNetworkHandler::HandlePageReady, base 159 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Unretained(this))); base 186 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::DictionaryValue* network = new base::DictionaryValue(); base 208 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc void ChooseMobileNetworkHandler::HandleCancel(const base::ListValue* args) { base 219 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Bind(&base::DoNothing), base 220 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Bind(&NetworkOperationErrorCallback, base 224 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc void ChooseMobileNetworkHandler::HandleConnect(const base::ListValue* args) { base 236 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Bind(&base::DoNothing), base 237 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::Bind(&NetworkOperationErrorCallback, base 241 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc void ChooseMobileNetworkHandler::HandlePageReady(const base::ListValue* args) { base 26 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc base::Bind(&CryptohomeWebUIHandler::OnPageLoaded, base 30 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc void CryptohomeWebUIHandler::OnPageLoaded(const base::ListValue* args) { base 46 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc base::Bind(&crypto::IsTPMTokenReady, base::Closure()), base 47 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc base::Bind(&CryptohomeWebUIHandler::DidGetNSSUtilInfoOnUIThread, base 55 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc base::FundamentalValue is_tpm_token_ready_value(is_tpm_token_ready); base 61 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc return base::Bind(&CryptohomeWebUIHandler::OnCryptohomeBoolProperty, base 72 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc base::FundamentalValue fundamental_value(value); base 78 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc const base::Value& value) { base 79 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc base::StringValue destination_id_value(destination_id); base 15 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.h namespace base { base 35 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.h void OnPageLoaded(const base::ListValue* args); base 50 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.h const base::Value& value); base 52 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.h base::WeakPtrFactory<CryptohomeWebUIHandler> weak_ptr_factory_; base 59 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void GetGCacheContents(const base::FilePath& root_path, base 60 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::ListValue* gcache_contents, base 61 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* gcache_summary) { base 67 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc std::map<base::FilePath, base::DictionaryValue*> files; base 69 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const int options = (base::FileEnumerator::FILES | base 70 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::FileEnumerator::DIRECTORIES | base 71 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::FileEnumerator::SHOW_SYM_LINKS); base 72 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::FileEnumerator enumerator(root_path, true /* recursive */, options); base 75 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc for (base::FilePath current = enumerator.Next(); !current.empty(); base 77 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::FileEnumerator::FileInfo info = enumerator.GetInfo(); base 80 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const bool is_symbolic_link = base::IsLink(info.GetName()); base 81 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::Time last_modified = info.GetLastModifiedTime(); base 83 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* entry = new base::DictionaryValue; base 95 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::StringPrintf("%03o", info.stat().st_mode & 0x1ff)); base 102 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc for (std::map<base::FilePath, base::DictionaryValue*>::const_iterator base 111 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void GetFreeDiskSpace(const base::FilePath& home_path, base 112 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* local_storage_summary) { base 116 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const int64 free_space = base::SysInfo::AmountOfFreeDiskSpace(home_path); base 121 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc std::string FormatEntry(const base::FilePath& path, base 125 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc using base::StringAppendF; base 145 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::Time last_modified = base::Time::FromInternalValue( base 147 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::Time last_accessed = base::Time::FromInternalValue( base 149 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::Time creation_time = base::Time::FromInternalValue( base 198 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void AppendKeyValue(base::ListValue* list, base 201 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue; base 232 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void OnPageLoaded(const base::ListValue* args); base 256 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void OnGetGCacheContents(base::ListValue* gcache_contents, base 257 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* cache_summary); base 260 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void OnGetResourceEntryByPath(const base::FilePath& path, base 265 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void OnReadDirectoryByPath(const base::FilePath& parent_path, base 274 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void OnGetFreeDiskSpace(base::DictionaryValue* local_storage_summary); base 295 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void OnPeriodicUpdate(const base::ListValue* args); base 298 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void ClearAccessToken(const base::ListValue* args); base 299 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void ClearRefreshToken(const base::ListValue* args); base 300 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void ResetDriveFileSystem(const base::ListValue* args); base 301 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void ListFileEntries(const base::ListValue* args); base 309 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::WeakPtrFactory<DriveInternalsWebUIHandler> weak_ptr_factory_; base 324 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue about_resource; base 348 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue app_list; base 351 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::ListValue* items = new base::ListValue(); base 354 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* app_data = new base::DictionaryValue(); base 370 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnPageLoaded, base 374 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnPeriodicUpdate, base 378 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::ClearAccessToken, base 382 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::ClearRefreshToken, base 386 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::ResetDriveFileSystem, base 390 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::ListFileEntries, base 421 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void DriveInternalsWebUIHandler::OnPageLoaded(const base::ListValue* args) { base 469 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::ListValue preferences; base 506 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue connection_status; base 521 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnGetAboutResource, base 531 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnGetAppList, base 541 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnGetFilesystemMetadataForLocal, base 549 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue local_metadata; base 556 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void DriveInternalsWebUIHandler::ClearAccessToken(const base::ListValue* args) { base 565 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::ListValue* args) { base 574 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::ListValue* args) { base 581 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::ResetFinished, base 590 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::FundamentalValue(success)); base 593 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void DriveInternalsWebUIHandler::ListFileEntries(const base::ListValue* args) { base 605 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind( base 620 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue delta_update_status; base 643 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::ListValue in_flight_operations; base 647 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue; base 665 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::FilePath root_path = drive::util::GetCacheRootPath(profile); base 666 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::ListValue* gcache_contents = new base::ListValue; base 667 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* gcache_summary = new base::DictionaryValue; base 670 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&GetGCacheContents, base 674 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnGetGCacheContents, base 676 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Owned(gcache_contents), base 677 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Owned(gcache_summary))); base 688 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::FilePath root_path = drive::util::GetDriveGrandRootPath(); base 692 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnGetResourceEntryByPath, base 698 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnReadDirectoryByPath, base 707 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::FilePath home_path; base 708 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc if (PathService::Get(base::DIR_HOME, &home_path)) { base 709 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* local_storage_summary = new base::DictionaryValue; base 712 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&GetFreeDiskSpace, home_path, local_storage_summary), base 713 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnGetFreeDiskSpace, base 715 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Owned(local_storage_summary))); base 727 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::UpdateCacheEntry, base 729 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&base::DoNothing)); base 743 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::ListValue list; base 751 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue; base 768 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::ListValue paths; base 792 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::ListValue* gcache_contents, base 793 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* gcache_summary) { base 804 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::FilePath& path, base 811 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::StringValue value(FormatEntry(path, *entry) + "\n"); base 817 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::FilePath& parent_path, base 829 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::FilePath current_path = parent_path.Append( base 830 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::FilePath::FromUTF8Unsafe(entry.base_name())); base 837 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::Bind(&DriveInternalsWebUIHandler::OnReadDirectoryByPath, base 846 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const base::StringValue value(file_system_as_text); base 857 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue value; base 868 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc base::DictionaryValue* local_storage_summary) { base 876 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void DriveInternalsWebUIHandler::OnPeriodicUpdate(const base::ListValue* args) { base 45 chrome/browser/ui/webui/chromeos/first_run/first_run_actor.cc scoped_ptr<base::DictionaryValue> FirstRunActor::StepPosition::AsValue() const { base 46 chrome/browser/ui/webui/chromeos/first_run/first_run_actor.cc base::DictionaryValue* result = new base::DictionaryValue(); base 12 chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h namespace base { base 58 chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h scoped_ptr<base::DictionaryValue> AsValue() const; base 24 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::FundamentalValue(visible)); base 29 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::FundamentalValue(x), base 30 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::FundamentalValue(y), base 31 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::FundamentalValue(width), base 32 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::FundamentalValue(height)); base 37 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::FundamentalValue(x), base 38 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::FundamentalValue(y), base 39 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::FundamentalValue(radius)); base 49 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::StringValue(name), base 57 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc scoped_ptr<base::Value> null(base::Value::CreateNullValue()); base 58 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::ListValue point_with_offset; base 63 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::StringValue(name), base 83 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Bind(&FirstRunHandler::HandleInitialized, base::Unretained(this))); base 85 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Bind(&FirstRunHandler::HandleNextButtonClicked, base 86 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Unretained(this))); base 88 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Bind(&FirstRunHandler::HandleHelpButtonClicked, base 89 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Unretained(this))); base 91 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Bind(&FirstRunHandler::HandleStepShown, base 92 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Unretained(this))); base 94 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Bind(&FirstRunHandler::HandleStepHidden, base 95 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Unretained(this))); base 97 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Bind(&FirstRunHandler::HandleFinalized, base 98 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::Unretained(this))); base 101 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc void FirstRunHandler::HandleInitialized(const base::ListValue* args) { base 107 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc void FirstRunHandler::HandleNextButtonClicked(const base::ListValue* args) { base 114 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc void FirstRunHandler::HandleHelpButtonClicked(const base::ListValue* args) { base 119 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc void FirstRunHandler::HandleStepShown(const base::ListValue* args) { base 126 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc void FirstRunHandler::HandleStepHidden(const base::ListValue* args) { base 133 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc void FirstRunHandler::HandleFinalized(const base::ListValue* args) { base 43 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.h void HandleInitialized(const base::ListValue* args); base 44 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.h void HandleNextButtonClicked(const base::ListValue* args); base 45 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.h void HandleHelpButtonClicked(const base::ListValue* args); base 46 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.h void HandleStepShown(const base::ListValue* args); base 47 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.h void HandleStepHidden(const base::ListValue* args); base 48 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.h void HandleFinalized(const base::ListValue* args); base 29 chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc void SetLocalizedStrings(base::DictionaryValue* localized_strings) { base 45 chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc base::string16 product_name = base 89 chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc base::DictionaryValue localized_strings; base 79 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc source->AddString("moreInfoLink", base::ASCIIToUTF16(kMoreInfoLink)); base 102 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::Bind(&WebUIHandler::HandleGetDevices, base::Unretained(this))); base 105 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::Bind(&WebUIHandler::HandleBurnImage, base::Unretained(this))); base 108 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::Bind(&WebUIHandler::HandleCancelBurnImage, base 109 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::Unretained(this))); base 112 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::Bind(&WebUIHandler::HandleWebUIInitialized, base 113 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::Unretained(this))); base 123 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::StringValue error_message( base 131 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::DictionaryValue disk_value; base 139 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::StringValue device_path_value(disk.device_path()); base 146 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::string16 size; base 148 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::StringValue device_size_text(size); base 157 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc const base::string16 time_remaining_text = base 168 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc const base::TimeDelta& time_remaining) OVERRIDE { base 169 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc const base::string16 time_remaining_text = l10n_util::GetStringFUTF16( base 189 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::DictionaryValue* disk_value) { base 190 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::string16 label = base::ASCIIToUTF16(disk.drive_label()); base 191 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::i18n::AdjustStringForLocaleDirection(&label); base 200 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc void HandleGetDevices(const base::ListValue* args) { base 203 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::ListValue results_value; base 205 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::DictionaryValue* disk_value = new base::DictionaryValue(); base 214 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc void HandleWebUIInitialized(const base::ListValue* args) { base 219 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc void HandleCancelBurnImage(const base::ListValue* args) { base 226 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc void HandleBurnImage(const base::ListValue* args) { base 227 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::FilePath target_device_path; base 230 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::FilePath target_file_path; base 240 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc const base::string16& time_remaining_text) { base 241 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::DictionaryValue progress; base 262 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::string16 progress_text; base 275 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc void GetDataSizeText(int64 size, base::string16* size_text) { base 277 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::i18n::AdjustStringForLocaleDirection(size_text); base 284 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::string16* progress_text) { base 285 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::string16 finished; base 287 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::string16 total; base 293 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc void ExtractTargetedDevicePath(const base::ListValue& list_value, base 295 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc base::FilePath* device_path) { base 296 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc const base::Value* list_member; base 299 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc list_member->GetType() == base::Value::TYPE_STRING && base 301 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc *device_path = base::FilePath(image_dest); base 259 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc base::UTF8ToUTF16(kLearnMoreURL)); base 279 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc public base::SupportsWeakPtr<KeyboardOverlayHandler> { base 290 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc void GetInputMethodId(const base::ListValue* args); base 294 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc void GetLabelMap(const base::ListValue* args); base 297 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc void OpenLearnMorePage(const base::ListValue* args); base 318 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc base::Bind(&KeyboardOverlayHandler::GetInputMethodId, base 319 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc base::Unretained(this))); base 321 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc base::Bind(&KeyboardOverlayHandler::GetLabelMap, base 322 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc base::Unretained(this))); base 324 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc base::Bind(&KeyboardOverlayHandler::OpenLearnMorePage, base 325 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc base::Unretained(this))); base 328 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc void KeyboardOverlayHandler::GetInputMethodId(const base::ListValue* args) { base 333 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc base::StringValue param(descriptor.id()); base 337 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc void KeyboardOverlayHandler::GetLabelMap(const base::ListValue* args) { base 351 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc base::DictionaryValue dict; base 360 chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc void KeyboardOverlayHandler::OpenLearnMorePage(const base::ListValue* args) { base 63 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc const base::string16 product_os_name = base 89 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc base::DictionaryValue data; base 94 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc base::DictionaryValue *app_info = new base::DictionaryValue(); base 221 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc base::DictionaryValue* out_info) { base 53 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.h void PopulateAppInfo(base::DictionaryValue* out_info); base 28 chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.h typedef base::Callback<void(const std::string&)> base 15 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc LocalizedValuesBuilder::LocalizedValuesBuilder(base::DictionaryValue* dict) base 25 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc const base::string16& message) { base 36 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc const base::string16& a) { base 43 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc const base::string16& a, base 44 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc const base::string16& b) { base 82 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc void BaseScreenHandler::GetLocalizedStrings(base::DictionaryValue* dict) { base 88 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc void BaseScreenHandler::GetAdditionalParameters(base::DictionaryValue* dict) { base 96 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc const base::DictionaryValue* data) { base 99 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc base::DictionaryValue screen_params; base 19 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h namespace base { base 30 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h explicit LocalizedValuesBuilder(base::DictionaryValue* dict); base 37 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h void Add(const std::string& key, const base::string16& message); base 48 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h const base::string16& a); base 55 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h const base::string16& a, base 56 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h const base::string16& b); base 75 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::DictionaryValue* dict_; base 91 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::DictionaryValue* localized_strings); base 111 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h virtual void GetAdditionalParameters(base::DictionaryValue* parameters); base 154 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h void (T::*method)(const base::ListValue* args)) { base 157 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Bind(method, base::Unretained(static_cast<T*>(this)))); base 162 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Callback<void()> callback = base 163 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Bind(method, base::Unretained(static_cast<T*>(this))); base 165 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h name, base::Bind(&CallbackWrapper0, callback)); base 170 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Callback<void(A1)> callback = base 171 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Bind(method, base::Unretained(static_cast<T*>(this))); base 173 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h name, base::Bind(&CallbackWrapper1<A1>, callback)); base 179 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Callback<void(A1, A2)> callback = base 180 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Bind(method, base::Unretained(static_cast<T*>(this))); base 182 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h name, base::Bind(&CallbackWrapper2<A1, A2>, callback)); base 188 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Callback<void(A1, A2, A3)> callback = base 189 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Bind(method, base::Unretained(static_cast<T*>(this))); base 191 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h name, base::Bind(&CallbackWrapper3<A1, A2, A3>, callback)); base 197 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Callback<void(A1, A2, A3, A4)> callback = base 198 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::Bind(method, base::Unretained(static_cast<T*>(this))); base 200 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h name, base::Bind(&CallbackWrapper4<A1, A2, A3, A4>, callback)); base 208 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h void ShowScreen(const char* screen, const base::DictionaryValue* data); base 224 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h base::DictionaryValue* localized_values_; base 29 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline bool ParseValue(const base::Value* value, T* out_value); base 32 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline bool ParseValue<bool>(const base::Value* value, bool* out_value) { base 37 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline bool ParseValue<int>(const base::Value* value, int* out_value) { base 42 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline bool ParseValue<double>(const base::Value* value, double* out_value) { base 47 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline bool ParseValue<std::string>(const base::Value* value, base 53 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline bool ParseValue<base::string16>(const base::Value* value, base 54 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h base::string16* out_value) { base 59 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline bool ParseValue<const base::DictionaryValue*>( base 60 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h const base::Value* value, base 61 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h const base::DictionaryValue** out_value) { base 66 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline bool GetArg(const base::ListValue* args, size_t index, T* out_value) { base 67 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h const base::Value* value; base 73 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline base::FundamentalValue MakeValue(bool v) { base 74 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h return base::FundamentalValue(v); base 77 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline base::FundamentalValue MakeValue(int v) { base 78 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h return base::FundamentalValue(v); base 81 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline base::FundamentalValue MakeValue(double v) { base 82 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h return base::FundamentalValue(v); base 85 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline base::StringValue MakeValue(const std::string& v) { base 86 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h return base::StringValue(v); base 89 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline base::StringValue MakeValue(const base::string16& v) { base 90 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h return base::StringValue(v); base 98 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h inline void CallbackWrapper0(base::Callback<void()> callback, base 99 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h const base::ListValue* args) { base 106 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h void CallbackWrapper1(base::Callback<void(A1)> callback, base 107 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h const base::ListValue* args) { base 119 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h void CallbackWrapper2(base::Callback<void(A1, A2)> callback, base 120 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h const base::ListValue* args) { base 133 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h void CallbackWrapper3(base::Callback<void(A1, A2, A3)> callback, base 134 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h const base::ListValue* args) { base 150 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h void CallbackWrapper4(base::Callback<void(A1, A2, A3, A4)> callback, base 151 chrome/browser/ui/webui/chromeos/login/base_screen_handler_utils.h const base::ListValue* args) { base 55 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc base::Bind(&CoreOobeHandler::OnAccessibilityStatusChanged, base 56 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc base::Unretained(this))); base 187 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc void CoreOobeHandler::ReloadContent(const base::DictionaryValue& dictionary) { base 256 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc const base::ListValue* args) { base 274 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc base::DictionaryValue a11y_info; base 15 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h namespace base { base 78 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h virtual void ReloadContent(const base::DictionaryValue& dictionary) OVERRIDE; base 92 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h void HandleSkipToLoginForTesting(const base::ListValue* args); base 80 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 151 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc base::Bind(&EnrollmentScreenHandler::OnTokenFetched, base 152 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc base::Unretained(this)))); base 156 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc void EnrollmentScreenHandler::ResetAuth(const base::Closure& callback) { base 346 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc std::vector<base::Closure> callbacks_to_run; base 348 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc for (std::vector<base::Closure>::iterator callback(callbacks_to_run.begin()); base 359 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc base::Bind(&EnrollmentScreenHandler::CallJS<double, std::string>, base 360 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc base::Unretained(this), base 426 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc base::DictionaryValue screen_data; base 48 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.h virtual void ResetAuth(const base::Closure& callback) OVERRIDE; base 111 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.h std::vector<base::Closure> auth_reset_callbacks_; base 54 chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc base::DictionaryValue* params) { base 176 chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc base::FilePath(extension_misc::kConnectivityDiagnosticsPath)); base 255 chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc base::DictionaryValue params; base 15 chrome/browser/ui/webui/chromeos/login/error_screen_handler.h namespace base { base 36 chrome/browser/ui/webui/chromeos/login/error_screen_handler.h base::DictionaryValue* params) OVERRIDE; base 87 chrome/browser/ui/webui/chromeos/login/eula_screen_handler.cc void EulaScreenHandler::GetAdditionalParameters(base::DictionaryValue* dict) { base 15 chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h namespace base { base 42 chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h virtual void GetAdditionalParameters(base::DictionaryValue* dict) OVERRIDE; base 29 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc void UpdateAuthParamsFromSettings(base::DictionaryValue* params, base 40 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc void UpdateAuthParams(base::DictionaryValue* params, bool has_users) { base 106 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc base::DictionaryValue params; base 122 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc base::DictionaryValue* localized_strings = new base::DictionaryValue(); base 153 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc base::DictionaryValue params; base 56 chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc void InlineLoginHandlerChromeOS::CompleteLogin(const base::ListValue* args) { base 25 chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.h virtual void CompleteLogin(const base::ListValue* args) OVERRIDE; base 51 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc base::DictionaryValue* localized_strings) { base 68 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc base::Bind(&KioskAppMenuHandler::HandleInitializeKioskApps, base 69 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc base::Unretained(this))); base 71 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc base::Bind(&KioskAppMenuHandler::HandleKioskAppsLoaded, base 72 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc base::Unretained(this))); base 74 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc base::Bind(&KioskAppMenuHandler::HandleCheckKioskAppLaunchError, base 75 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc base::Unretained(this))); base 85 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc base::ListValue apps_list; base 89 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc scoped_ptr<base::DictionaryValue> app_info(new base::DictionaryValue); base 105 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc app_info->SetString("iconWidth", base::IntToString(width) + "px"); base 106 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc app_info->SetString("iconHeight", base::IntToString(height) + "px"); base 125 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc const base::ListValue* args) { base 131 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc const base::ListValue* args) { base 139 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc const base::ListValue* args) { base 150 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc base::StringValue(error_message)); base 28 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h void GetLocalizedStrings(base::DictionaryValue* localized_strings); base 38 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h void HandleInitializeKioskApps(const base::ListValue* args); base 39 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h void HandleKioskAppsLoaded(const base::ListValue* args); base 40 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h void HandleCheckKioskAppLaunchError(const base::ListValue* args); base 46 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h base::WeakPtrFactory<KioskAppMenuHandler> weak_ptr_factory_; base 81 chrome/browser/ui/webui/chromeos/login/kiosk_autolaunch_screen_handler.cc base::DictionaryValue app_info; base 48 chrome/browser/ui/webui/chromeos/login/kiosk_enable_screen_handler.cc base::Bind( base 129 chrome/browser/ui/webui/chromeos/login/kiosk_enable_screen_handler.cc base::Bind(&KioskEnableScreenHandler::OnEnableConsumerKioskAutoLaunch, base 54 chrome/browser/ui/webui/chromeos/login/kiosk_enable_screen_handler.h base::WeakPtrFactory<KioskEnableScreenHandler> weak_ptr_factory_; base 78 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc base::UTF8ToUTF16(chrome::kSupervisedUserManagementDisplayURL)); base 84 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc base::UTF8ToUTF16(chrome::kSupervisedUserManagementDisplayURL)); base 212 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 213 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc scoped_ptr<base::ListValue> users_list(new base::ListValue()); base 222 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc base::DictionaryValue* user_dict = new base::DictionaryValue(); base 250 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc const base::string16& message) { base 266 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc const base::string16& title, base 267 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc const base::string16& message, base 268 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc const base::string16& button_text) { base 300 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc const base::string16& name) { base 303 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc FindByDisplayName(base::CollapseWhitespace(name, true))) { base 312 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc base::CollapseWhitespace(name, true), &user_id)) { base 320 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc const base::string16& new_raw_user_name, base 324 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc const base::string16 new_user_name = base 325 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc base::CollapseWhitespace(new_raw_user_name, true); base 393 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc base::ListValue image_urls; base 395 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc scoped_ptr<base::DictionaryValue> image_data(new base::DictionaryValue); base 449 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc const base::ListValue* users) { base 16 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h namespace base { base 41 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h const base::string16& display_name, base 47 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h virtual bool FindUserByDisplayName(const base::string16& display_name, base 83 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h void ShowStatusMessage(bool is_progress, const base::string16& message); base 86 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h void ShowErrorPage(const base::string16& title, base 87 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h const base::string16& message, base 88 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h const base::string16& button_text); base 95 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h void ShowExistingManagedUsers(const base::ListValue* users); base 106 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h void HandleCheckLocallyManagedUserName(const base::string16& name); base 113 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h void HandleRetryLocalManagedUserCreation(const base::ListValue* args); base 118 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h void HandleCreateManagedUser(const base::string16& new_raw_user_name, base 131 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h void UpdateText(const std::string& element_id, const base::string16& text); base 46 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::ListValue* ConvertMenuModel(ui::MenuModel* model); base 65 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc scoped_ptr<base::ListValue> list(ConvertMenuModel(GetMenuModel())); base 78 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::ListValue* NetworkMenuWebUI::ConvertMenuModel(ui::MenuModel* model) { base 79 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::ListValue* list = new base::ListValue(); base 87 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::DictionaryValue* item = new base::DictionaryValue(); base 127 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::TimeDelta::FromSeconds(kNetworkScanIntervalSecs), base 183 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::string16 text; base 199 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::StringValue title(text); base 200 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::StringValue icon(icon_str); base 81 chrome/browser/ui/webui/chromeos/login/network_dropdown.h base::RepeatingTimer<NetworkDropdown> network_scan_timer_; base 67 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc void AddOptgroupOtherLayouts(base::ListValue* input_methods_list) { base 68 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::DictionaryValue* optgroup = new base::DictionaryValue; base 135 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc void NetworkScreenHandler::ShowError(const base::string16& message) { base 146 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc const base::string16& network_id) { base 176 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::DictionaryValue* dict) { base 196 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::Bind(&NetworkScreenHandler::OnSystemTimezoneChanged, base 197 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::Unretained(this))); base 230 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::WeakPtr<NetworkScreenHandler>& handler) base 233 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::WeakPtr<NetworkScreenHandler> handler_; base 259 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::WeakPtr<NetworkScreenHandler> weak_self = base 265 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::Bind(&NetworkScreenHandler::OnLanguageChangedCallback, base 266 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::Passed(callback_data.Pass())))); base 296 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc new IdleDetector(base::Closure(), base 297 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::Bind(&NetworkScreenHandler::OnIdle, base 333 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::TimeDelta::FromSeconds(prefs->GetInt64(prefs::kTimeOnOobe)); base 337 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc !base::StringToInt( base 343 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::TimeDelta::FromSeconds(derelict_detection_timeout); base 347 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc !base::StringToInt( base 352 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc derelict_idle_timeout_ = base::TimeDelta::FromSeconds(derelict_idle_timeout); base 357 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc !base::StringToInt( base 363 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::TimeDelta::FromSeconds(oobe_timer_update_interval); base 370 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::TimeDelta::FromSeconds(0)); base 378 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::ListValue* NetworkScreenHandler::GetLanguageList() { base 391 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::ListValue* languages_list = base 394 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::DictionaryValue* language_info = NULL; base 412 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc display_name = base::StringPrintf("%s - %s", base 424 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::DictionaryValue* CreateInputMethodsEntry( base 430 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc scoped_ptr<base::DictionaryValue> input_method(new base::DictionaryValue); base 447 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::DictionaryValue localized_strings; base 457 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::ListValue* NetworkScreenHandler::GetInputMethods() { base 458 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::ListValue* input_methods_list = new base::ListValue; base 531 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc base::ListValue* NetworkScreenHandler::GetTimezoneList() { base 535 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc scoped_ptr<base::ListValue> timezone_list(new base::ListValue); base 536 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc scoped_ptr<base::ListValue> timezones = system::GetTimezoneList().Pass(); base 538 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc const base::ListValue* timezone = NULL; base 547 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc scoped_ptr<base::DictionaryValue> timezone_option( base 548 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc new base::DictionaryValue); base 43 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h virtual void ShowError(const base::string16& message) OVERRIDE; base 46 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h const base::string16& network_id) OVERRIDE; base 51 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h virtual void GetAdditionalParameters(base::DictionaryValue* dict) OVERRIDE; base 99 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h static base::ListValue* GetLanguageList(); base 103 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h static base::ListValue* GetInputMethods(); base 106 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h static base::ListValue* GetTimezoneList(); base 114 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h base::TimeDelta time_on_oobe_; base 126 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h base::RepeatingTimer<NetworkScreenHandler> oobe_timer_; base 129 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h base::TimeDelta derelict_detection_timeout_; base 132 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h base::TimeDelta derelict_idle_timeout_; base 135 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h base::TimeDelta oobe_timer_update_interval_; base 141 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h base::WeakPtrFactory<NetworkScreenHandler> weak_ptr_factory_; base 34 chrome/browser/ui/webui/chromeos/login/network_state_informer.h public base::RefCounted<NetworkStateInformer> { base 87 chrome/browser/ui/webui/chromeos/login/network_state_informer.h friend class base::RefCounted<NetworkStateInformer>; base 104 chrome/browser/ui/webui/chromeos/login/network_state_informer.h base::WeakPtrFactory<NetworkStateInformer> weak_ptr_factory_; base 87 chrome/browser/ui/webui/chromeos/login/oobe_ui.cc const base::DictionaryValue& localized_strings, base 265 chrome/browser/ui/webui/chromeos/login/oobe_ui.cc base::DictionaryValue localized_strings; base 356 chrome/browser/ui/webui/chromeos/login/oobe_ui.cc void OobeUI::GetLocalizedStrings(base::DictionaryValue* localized_strings) { base 443 chrome/browser/ui/webui/chromeos/login/oobe_ui.cc bool OobeUI::IsJSReady(const base::Closure& display_is_ready_callback) { base 19 chrome/browser/ui/webui/chromeos/login/oobe_ui.h namespace base { base 97 chrome/browser/ui/webui/chromeos/login/oobe_ui.h virtual bool IsJSReady(const base::Closure& display_is_ready_callback) base 101 chrome/browser/ui/webui/chromeos/login/oobe_ui.h void GetLocalizedStrings(base::DictionaryValue* localized_strings); base 207 chrome/browser/ui/webui/chromeos/login/oobe_ui.h std::vector<base::Closure> ready_callbacks_; base 71 chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc base::DictionaryValue reset_screen_params; base 106 chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc CanRollbackCheck(base::Bind(&ResetScreenHandler::OnRollbackCheck, base 68 chrome/browser/ui/webui/chromeos/login/reset_screen_handler.h base::WeakPtrFactory<ResetScreenHandler> weak_factory_; base 49 chrome/browser/ui/webui/chromeos/login/screen_manager_handler.cc const base::DictionaryValue* diff) { base 14 chrome/browser/ui/webui/chromeos/login/screen_manager_handler.h namespace base { base 29 chrome/browser/ui/webui/chromeos/login/screen_manager_handler.h const base::DictionaryValue* diff) = 0; base 48 chrome/browser/ui/webui/chromeos/login/screen_manager_handler.h const base::DictionaryValue* diff); base 18 chrome/browser/ui/webui/chromeos/login/screenlock_icon_provider.h : public base::SupportsWeakPtr<ScreenlockIconProvider> { base 26 chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc base::WeakPtr<ScreenlockIconProvider> icon_provider) base 19 chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.h base::WeakPtr<ScreenlockIconProvider> icon_provider); base 37 chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.h base::WeakPtr<ScreenlockIconProvider> icon_provider_; base 180 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc const base::DictionaryValue* users_lru_input_methods = base 209 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::DictionaryValue* const users_lru_input_methods = updater.Get(); base 271 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc LoginScreenContext::LoginScreenContext(const base::ListValue* args) { base 325 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Bind(&SigninScreenHandler::UserSettingsChanged, base 326 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Unretained(this))); base 329 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Bind(&SigninScreenHandler::UserSettingsChanged, base 330 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Unretained(this))); base 422 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::UTF8ToUTF16(chrome::kSupervisedUserManagementDisplayURL)); base 507 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::DictionaryValue params; base 514 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::DictionaryValue* params) { base 568 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Bind(&SigninScreenHandler::UpdateStateInternal, base 572 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::MessageLoop::current()->PostDelayedTask( base 575 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::TimeDelta::FromSeconds(kOfflineTimeoutSec)); base 584 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Bind(&SigninScreenHandler::UpdateStateInternal, base 588 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::MessageLoop::current()->PostDelayedTask( base 591 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::TimeDelta::FromSeconds(kConnectingTimeoutSec)); base 695 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::DictionaryValue params; base 868 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc const base::Closure& click_callback) { base 898 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::StringValue(initial_value)); base 942 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::StringValue("")); base 968 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc void SigninScreenHandler::OnCookiesCleared(base::Closure on_clear_callback) { base 1203 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc scoped_ptr<base::DictionaryValue> params(new base::DictionaryValue()); base 1215 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc void SigninScreenHandler::HandleOfflineLogin(const base::ListValue* args) { base 1248 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc void SigninScreenHandler::HandleShowAddUser(const base::ListValue* args) { base 1276 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Bind(&SigninScreenHandler::ContinueKioskEnableFlow, base 1300 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::DictionaryValue* user_dict) { base 1350 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::ListValue users_list; base 1387 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::DictionaryValue* user_dict = new base::DictionaryValue(); base 1458 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc frame->ExecuteJavaScript(base::ASCIIToUTF16(code)); base 1469 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc frame->ExecuteJavaScript(base::ASCIIToUTF16(code)); base 1514 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc StartClearingCookies(base::Bind( base 1593 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Bind(&SigninScreenHandler::CallJS<double, std::string>, base 1594 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Unretained(this), base 1612 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Bind(&ClearDnsCache, g_browser_process->io_thread()), base 1613 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc base::Bind(&SigninScreenHandler::OnDnsCleared, base 1619 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc const base::Closure& on_clear_callback) { base 1625 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc profile_helper->ClearSigninProfile(base::Bind( base 1661 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc const base::ListValue* whitelist = NULL; base 1735 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc frame->ExecuteJavaScript(base::ASCIIToUTF16(code)); base 1779 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc StartClearingCookies(base::Bind( base 34 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h namespace base { base 53 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h explicit LoginScreenContext(const base::ListValue* args); base 81 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h const base::Closure& click_callback) = 0; base 240 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h const base::Closure& callback) { base 259 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h void UpdateUIState(UIState ui_state, base::DictionaryValue* params); base 288 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h const base::Closure& click_callback) OVERRIDE; base 349 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h void HandleOfflineLogin(const base::ListValue* args); base 354 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h void HandleShowAddUser(const base::ListValue* args); base 386 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h base::DictionaryValue* user_dict); base 392 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h void StartClearingCookies(const base::Closure& on_clear_callback); base 393 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h void OnCookiesCleared(base::Closure on_clear_callback); base 506 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h base::WeakPtrFactory<SigninScreenHandler> weak_factory_; base 519 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h base::CancelableClosure update_state_closure_; base 520 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h base::CancelableClosure connecting_closure_; base 536 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h base::Closure kiosk_enable_flow_aborted_callback_for_test_; base 539 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h std::map<std::string, base::Closure> user_pod_button_callback_map_; base 101 chrome/browser/ui/webui/chromeos/login/update_screen_handler.cc void UpdateScreenHandler::SetEstimatedTimeLeft(const base::TimeDelta& time) { base 110 chrome/browser/ui/webui/chromeos/login/update_screen_handler.cc scoped_ptr<base::StringValue> progress_message; base 113 chrome/browser/ui/webui/chromeos/login/update_screen_handler.cc progress_message.reset(base::Value::CreateStringValue( base 117 chrome/browser/ui/webui/chromeos/login/update_screen_handler.cc progress_message.reset(base::Value::CreateStringValue( base 122 chrome/browser/ui/webui/chromeos/login/update_screen_handler.cc progress_message.reset(base::Value::CreateStringValue( base 126 chrome/browser/ui/webui/chromeos/login/update_screen_handler.cc progress_message.reset(base::Value::CreateStringValue( base 36 chrome/browser/ui/webui/chromeos/login/update_screen_handler.h virtual void SetEstimatedTimeLeft(const base::TimeDelta& time) OVERRIDE; base 71 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc screen_show_time_ = base::Time::Now(); base 137 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc scoped_ptr<base::Value> null_value(base::Value::CreateNullValue()); base 144 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc base::ListValue image_urls; base 146 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc scoped_ptr<base::DictionaryValue> image_data(new base::DictionaryValue); base 206 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc base::TimeDelta delta = base::Time::Now() - screen_show_time_; base 88 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.h base::Time screen_show_time_; base 13 chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.h namespace base { base 47 chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc virtual base::string16 GetDialogTitle() const OVERRIDE; base 109 chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc base::string16 MobileSetupDialogDelegate::GetDialogTitle() const { base 83 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc scoped_refptr<base::RefCountedBytes> html_bytes(new base::RefCountedBytes); base 88 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc void GetDeviceInfo(const base::DictionaryValue& properties, base 89 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::DictionaryValue* value) { base 96 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::DictionaryValue* payment_dict; base 135 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::DictionaryValue* value) { base 167 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::DictionaryValue& properties); base 172 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc scoped_ptr<base::DictionaryValue> error_data); base 174 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::WeakPtrFactory<MobileSetupUIHTMLSource> weak_ptr_factory_; base 184 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc public base::SupportsWeakPtr<MobileSetupHandler> { base 216 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::DictionaryValue& properties); base 219 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::DictionaryValue& properties); base 224 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc scoped_ptr<base::DictionaryValue> error_data); base 227 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc void HandleSetTransactionStatus(const base::ListValue* args); base 228 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc void HandleStartActivation(const base::ListValue* args); base 229 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc void HandlePaymentPortalLoad(const base::ListValue* args); base 230 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc void HandleGetDeviceInfo(const base::ListValue* args); base 253 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::WeakPtrFactory<MobileSetupHandler> weak_ptr_factory_; base 279 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupUIHTMLSource::GetPropertiesAndStartDataRequest, base 282 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupUIHTMLSource::GetPropertiesFailure, base 290 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::DictionaryValue& properties) { base 291 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::DictionaryValue* payment_dict; base 314 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::DictionaryValue strings; base 318 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::UTF8ToUTF16(name))); base 347 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc static const base::StringPiece html_for_activated( base 352 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc static const base::StringPiece html_for_non_activated( base 358 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc callback.Run(base::RefCountedString::TakeString(&full_html)); base 365 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc scoped_ptr<base::DictionaryValue> error_data) { base 399 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::DictionaryValue device_dict; base 408 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupHandler::GetPropertiesAndCallStatusChanged, base 412 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupHandler::GetPropertiesFailure, base 422 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::DictionaryValue& properties) { base 423 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::DictionaryValue device_dict; base 431 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupHandler::HandleStartActivation, base 432 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Unretained(this))); base 434 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupHandler::HandleSetTransactionStatus, base 435 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Unretained(this))); base 437 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupHandler::HandlePaymentPortalLoad, base 438 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Unretained(this))); base 440 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupHandler::HandleGetDeviceInfo, base 441 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Unretained(this))); base 444 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc void MobileSetupHandler::HandleStartActivation(const base::ListValue* args) { base 462 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::ListValue* args) { base 479 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc void MobileSetupHandler::HandlePaymentPortalLoad(const base::ListValue* args) { base 496 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc void MobileSetupHandler::HandleGetDeviceInfo(const base::ListValue* args) { base 532 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::FundamentalValue(true)); base 538 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupHandler::GetPropertiesAndCallGetDeviceInfo, base 540 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::Bind(&MobileSetupHandler::GetPropertiesFailure, base 548 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::DictionaryValue& properties) { base 549 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::DictionaryValue device_info; base 558 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc scoped_ptr<base::DictionaryValue> error_data) { base 562 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::DictionaryValue device_dict; base 614 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::FundamentalValue(portal_reachable)); base 640 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::string16& frame_unique_name, base 645 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc if (frame_unique_name != base::UTF8ToUTF16("paymentForm")) base 654 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::string16& frame_unique_name, base 658 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const base::string16& error_description, base 660 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc if (frame_unique_name != base::UTF8ToUTF16("paymentForm")) base 663 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc base::FundamentalValue result_value(-error_code); base 16 chrome/browser/ui/webui/chromeos/mobile_setup_ui.h public base::SupportsWeakPtr<MobileSetupUI> { base 24 chrome/browser/ui/webui/chromeos/mobile_setup_ui.h const base::string16& frame_unique_name, base 31 chrome/browser/ui/webui/chromeos/mobile_setup_ui.h const base::string16& frame_unique_name, base 35 chrome/browser/ui/webui/chromeos/mobile_setup_ui.h const base::string16& error_description, base 45 chrome/browser/ui/webui/chromeos/network_ui.cc void CollectNetworkInfo(const base::ListValue* value) const; base 47 chrome/browser/ui/webui/chromeos/network_ui.cc void GetNetworkState(base::DictionaryValue* output) const; base 48 chrome/browser/ui/webui/chromeos/network_ui.cc void GetFavoriteState(base::DictionaryValue* output) const; base 49 chrome/browser/ui/webui/chromeos/network_ui.cc void RespondToPage(const base::DictionaryValue& value) const; base 63 chrome/browser/ui/webui/chromeos/network_ui.cc base::Bind(&NetworkMessageHandler::CollectNetworkInfo, base 64 chrome/browser/ui/webui/chromeos/network_ui.cc base::Unretained(this))); base 68 chrome/browser/ui/webui/chromeos/network_ui.cc const base::ListValue* value) const { base 69 chrome/browser/ui/webui/chromeos/network_ui.cc base::DictionaryValue data; base 72 chrome/browser/ui/webui/chromeos/network_ui.cc base::DictionaryValue* networkState = new base::DictionaryValue; base 76 chrome/browser/ui/webui/chromeos/network_ui.cc base::DictionaryValue* favoriteState = new base::DictionaryValue; base 84 chrome/browser/ui/webui/chromeos/network_ui.cc const base::DictionaryValue& value) const { base 98 chrome/browser/ui/webui/chromeos/network_ui.cc base::DictionaryValue* output) const { base 107 chrome/browser/ui/webui/chromeos/network_ui.cc base::DictionaryValue* properties = new base::DictionaryValue; base 114 chrome/browser/ui/webui/chromeos/network_ui.cc base::DictionaryValue* output) const { base 124 chrome/browser/ui/webui/chromeos/network_ui.cc const base::DictionaryValue& properties = (*it)->properties(); base 222 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void Initialize(const base::ListValue* args); base 226 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void SetAdapterPower(const base::ListValue* args); base 231 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void SetAdapterPolling(const base::ListValue* args); base 236 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void SubmitRecordForm(const base::ListValue* args); base 244 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void GetAdapterProperties(base::DictionaryValue* out); base 248 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void GetPeerProperties(base::DictionaryValue* out); base 252 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void GetTagProperties(base::DictionaryValue* out); base 256 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void GetRecordList(const NfcNdefMessage& message, base::ListValue* out); base 384 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::Initialize, base 385 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this))); base 388 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::SetAdapterPower, base 389 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this))); base 392 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::SetAdapterPolling, base 393 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this))); base 396 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::SubmitRecordForm, base 397 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this))); base 400 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void NfcDebugMessageHandler::Initialize(const base::ListValue* args) { base 402 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::FundamentalValue available(nfc_available); base 410 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::OnGetAdapter, base 411 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this))); base 414 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void NfcDebugMessageHandler::SetAdapterPower(const base::ListValue* args) { base 421 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc powered, base::Bind(&base::DoNothing), base 422 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::OnSetAdapterPowerError, base 423 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this))); base 431 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void NfcDebugMessageHandler::SetAdapterPolling(const base::ListValue* args) { base 440 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&base::DoNothing), base 441 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::OnSetAdapterPollingError, base 442 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this))); base 446 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&base::DoNothing), base 447 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::OnSetAdapterPollingError, base 448 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this))); base 457 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void NfcDebugMessageHandler::SubmitRecordForm(const base::ListValue* args) { base 460 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc const base::DictionaryValue* record_data_const = NULL; base 477 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue* record_data = record_data_const->DeepCopy(); base 505 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&base::DoNothing), base 506 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::OnSubmitRecordFormFailed, base 507 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this), base 521 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&base::DoNothing), base 522 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Bind(&NfcDebugMessageHandler::OnSubmitRecordFormFailed, base 523 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::Unretained(this), base 531 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::StringValue(error_message)); base 558 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue* out) { base 576 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void NfcDebugMessageHandler::GetPeerProperties(base::DictionaryValue* out) { base 593 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::ListValue* records = new base::ListValue(); base 598 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc void NfcDebugMessageHandler::GetTagProperties(base::DictionaryValue* out) { base 619 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::ListValue* technologies = new base::ListValue(); base 636 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::ListValue* records = new base::ListValue(); base 642 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::ListValue* out) { base 647 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue* record_data = record->data().DeepCopy(); base 655 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue data; base 661 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue data; base 667 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc base::DictionaryValue data; base 49 chrome/browser/ui/webui/chromeos/power_ui.cc void OnGetBatteryChargeData(const base::ListValue* value); base 50 chrome/browser/ui/webui/chromeos/power_ui.cc void OnGetCpuIdleData(const base::ListValue* value); base 51 chrome/browser/ui/webui/chromeos/power_ui.cc void OnGetCpuFreqData(const base::ListValue* value); base 55 chrome/browser/ui/webui/chromeos/power_ui.cc base::ListValue* js_data); base 56 chrome/browser/ui/webui/chromeos/power_ui.cc void GetJsSystemResumedData(base::ListValue* value); base 68 chrome/browser/ui/webui/chromeos/power_ui.cc base::Bind(&PowerMessageHandler::OnGetBatteryChargeData, base 69 chrome/browser/ui/webui/chromeos/power_ui.cc base::Unretained(this))); base 72 chrome/browser/ui/webui/chromeos/power_ui.cc base::Bind(&PowerMessageHandler::OnGetCpuIdleData, base 73 chrome/browser/ui/webui/chromeos/power_ui.cc base::Unretained(this))); base 76 chrome/browser/ui/webui/chromeos/power_ui.cc base::Bind(&PowerMessageHandler::OnGetCpuFreqData, base 77 chrome/browser/ui/webui/chromeos/power_ui.cc base::Unretained(this))); base 80 chrome/browser/ui/webui/chromeos/power_ui.cc void PowerMessageHandler::OnGetBatteryChargeData(const base::ListValue* value) { base 83 chrome/browser/ui/webui/chromeos/power_ui.cc base::ListValue js_power_supply_data; base 86 chrome/browser/ui/webui/chromeos/power_ui.cc scoped_ptr<base::DictionaryValue> element(new base::DictionaryValue); base 95 chrome/browser/ui/webui/chromeos/power_ui.cc base::ListValue js_system_resumed_data; base 103 chrome/browser/ui/webui/chromeos/power_ui.cc void PowerMessageHandler::OnGetCpuIdleData(const base::ListValue* value) { base 111 chrome/browser/ui/webui/chromeos/power_ui.cc base::ListValue js_idle_data; base 114 chrome/browser/ui/webui/chromeos/power_ui.cc base::ListValue js_system_resumed_data; base 122 chrome/browser/ui/webui/chromeos/power_ui.cc void PowerMessageHandler::OnGetCpuFreqData(const base::ListValue* value) { base 130 chrome/browser/ui/webui/chromeos/power_ui.cc base::ListValue js_freq_data; base 133 chrome/browser/ui/webui/chromeos/power_ui.cc base::ListValue js_system_resumed_data; base 141 chrome/browser/ui/webui/chromeos/power_ui.cc void PowerMessageHandler::GetJsSystemResumedData(base::ListValue *data) { base 148 chrome/browser/ui/webui/chromeos/power_ui.cc scoped_ptr<base::DictionaryValue> element(new base::DictionaryValue); base 160 chrome/browser/ui/webui/chromeos/power_ui.cc base::ListValue *js_data) { base 163 chrome/browser/ui/webui/chromeos/power_ui.cc scoped_ptr<base::ListValue> js_sample_list(new base::ListValue); base 166 chrome/browser/ui/webui/chromeos/power_ui.cc scoped_ptr<base::DictionaryValue> js_sample(new base::DictionaryValue); base 170 chrome/browser/ui/webui/chromeos/power_ui.cc scoped_ptr<base::DictionaryValue> state_dict(new base::DictionaryValue); base 33 chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc explicit ProxySettingsHTMLSource(base::DictionaryValue* localized_strings); base 53 chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc scoped_ptr<base::DictionaryValue> localized_strings_; base 59 chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc base::DictionaryValue* localized_strings) base 74 chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc static const base::StringPiece html( base 80 chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc callback.Run(base::RefCountedString::TakeString(&full_html)); base 93 chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc base::DictionaryValue* localized_strings = new base::DictionaryValue(); base 70 chrome/browser/ui/webui/chromeos/salsa_ui.cc std::map<int, const base::Value*>* vals) { base 71 chrome/browser/ui/webui/chromeos/salsa_ui.cc std::map<int, const base::Value*>::const_iterator it; base 96 chrome/browser/ui/webui/chromeos/salsa_ui.cc base::Bind(&SalsaUI::SetPreferenceValue, base 97 chrome/browser/ui/webui/chromeos/salsa_ui.cc base::Unretained(this))); base 100 chrome/browser/ui/webui/chromeos/salsa_ui.cc base::Bind(&SalsaUI::BackupPreferenceValue, base 101 chrome/browser/ui/webui/chromeos/salsa_ui.cc base::Unretained(this))); base 113 chrome/browser/ui/webui/chromeos/salsa_ui.cc std::map<int, const base::Value*>* values_to_revert = base 114 chrome/browser/ui/webui/chromeos/salsa_ui.cc new std::map<int, const base::Value*>; base 123 chrome/browser/ui/webui/chromeos/salsa_ui.cc base::Bind(&RevertPreferences, prefs, base::Owned(values_to_revert)) base 139 chrome/browser/ui/webui/chromeos/salsa_ui.cc void SalsaUI::SetPreferenceValue(const base::ListValue* args) { base 141 chrome/browser/ui/webui/chromeos/salsa_ui.cc const base::Value* value; base 156 chrome/browser/ui/webui/chromeos/salsa_ui.cc } else if (pref->GetType() == base::Value::TYPE_DOUBLE && base 157 chrome/browser/ui/webui/chromeos/salsa_ui.cc value->GetType() == base::Value::TYPE_INTEGER) { base 161 chrome/browser/ui/webui/chromeos/salsa_ui.cc base::FundamentalValue double_val(static_cast<double>(int_val)); base 166 chrome/browser/ui/webui/chromeos/salsa_ui.cc void SalsaUI::BackupPreferenceValue(const base::ListValue* args) { base 14 chrome/browser/ui/webui/chromeos/salsa_ui.h namespace base { base 33 chrome/browser/ui/webui/chromeos/salsa_ui.h void SetPreferenceValue(const base::ListValue* args); base 37 chrome/browser/ui/webui/chromeos/salsa_ui.h void BackupPreferenceValue(const base::ListValue* args); base 43 chrome/browser/ui/webui/chromeos/salsa_ui.h std::map<int, const base::Value*> orig_values_; base 108 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc public base::SupportsWeakPtr<SimUnlockHandler>, base 151 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc class TaskProxy : public base::RefCountedThreadSafe<TaskProxy> { base 153 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc explicit TaskProxy(const base::WeakPtr<SimUnlockHandler>& handler) base 158 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc TaskProxy(const base::WeakPtr<SimUnlockHandler>& handler, base 191 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::WeakPtr<SimUnlockHandler> handler_; base 219 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc scoped_ptr<base::DictionaryValue> error_data); base 228 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void HandleCancel(const base::ListValue* args); base 229 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void HandleChangePinCode(const base::ListValue* args); base 230 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void HandleEnterPinCode(const base::ListValue* args); base 231 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void HandleEnterPukCode(const base::ListValue* args); base 232 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void HandleProceedToPukInput(const base::ListValue* args); base 233 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void HandleSimStatusInitialize(const base::ListValue* args); base 276 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::WeakPtrFactory<SimUnlockHandler> weak_ptr_factory_; base 295 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::DictionaryValue strings; base 350 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc static const base::StringPiece html( base 356 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc callback.Run(base::RefCountedString::TakeString(&full_html)); base 378 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::HandleCancel, base 379 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Unretained(this))); base 381 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::HandleChangePinCode, base 382 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Unretained(this))); base 384 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::HandleEnterPinCode, base 385 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Unretained(this))); base 387 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::HandleEnterPukCode, base 388 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Unretained(this))); base 390 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::HandleProceedToPukInput, base 391 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Unretained(this))); base 393 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::HandleSimStatusInitialize, base 394 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Unretained(this))); base 518 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::PinOperationSuccessCallback, base 521 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::PinOperationErrorCallback, base 537 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::PinOperationSuccessCallback, base 540 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::PinOperationErrorCallback, base 558 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::PinOperationSuccessCallback, base 561 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::PinOperationErrorCallback, base 579 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::PinOperationSuccessCallback, base 582 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&SimUnlockHandler::PinOperationErrorCallback, base 596 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc scoped_ptr<base::DictionaryValue> error_data) { base 623 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void SimUnlockHandler::HandleCancel(const base::ListValue* args) { base 631 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&TaskProxy::HandleCancel, task.get())); base 634 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void SimUnlockHandler::HandleChangePinCode(const base::ListValue* args) { base 652 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&TaskProxy::HandleEnterCode, task.get())); base 655 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void SimUnlockHandler::HandleEnterPinCode(const base::ListValue* args) { base 665 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void SimUnlockHandler::HandleEnterPukCode(const base::ListValue* args) { base 679 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void SimUnlockHandler::HandleProceedToPukInput(const base::ListValue* args) { base 687 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&TaskProxy::HandleProceedToPukInput, task.get())); base 690 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc void SimUnlockHandler::HandleSimStatusInitialize(const base::ListValue* args) { base 702 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::Bind(&TaskProxy::HandleInitialize, task.get())); base 815 chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc base::DictionaryValue sim_dict; base 44 chrome/browser/ui/webui/chromeos/slow_trace_ui.cc !base::StringToInt(path.substr(pos + 1), &trace_id)) { base 49 chrome/browser/ui/webui/chromeos/slow_trace_ui.cc base::Bind(&SlowTraceSource::OnGetTraceData, base 50 chrome/browser/ui/webui/chromeos/slow_trace_ui.cc base::Unretained(this), base 62 chrome/browser/ui/webui/chromeos/slow_trace_ui.cc scoped_refptr<base::RefCountedString> trace_data) { base 15 chrome/browser/ui/webui/chromeos/slow_trace_ui.h namespace base { base 43 chrome/browser/ui/webui/chromeos/slow_trace_ui.h scoped_refptr<base::RefCountedString> trace_data); base 72 chrome/browser/ui/webui/chromeos/slow_ui.cc void HandleDisable(const base::ListValue* args); base 73 chrome/browser/ui/webui/chromeos/slow_ui.cc void HandleEnable(const base::ListValue* args); base 74 chrome/browser/ui/webui/chromeos/slow_ui.cc void LoadComplete(const base::ListValue* args); base 92 chrome/browser/ui/webui/chromeos/slow_ui.cc base::Bind(&SlowHandler::HandleDisable, base::Unretained(this))); base 94 chrome/browser/ui/webui/chromeos/slow_ui.cc base::Bind(&SlowHandler::HandleEnable, base::Unretained(this))); base 96 chrome/browser/ui/webui/chromeos/slow_ui.cc base::Bind(&SlowHandler::LoadComplete, base::Unretained(this))); base 101 chrome/browser/ui/webui/chromeos/slow_ui.cc base::Bind(&SlowHandler::UpdatePage, base 102 chrome/browser/ui/webui/chromeos/slow_ui.cc base::Unretained(this))); base 105 chrome/browser/ui/webui/chromeos/slow_ui.cc void SlowHandler::HandleDisable(const base::ListValue* args) { base 110 chrome/browser/ui/webui/chromeos/slow_ui.cc void SlowHandler::HandleEnable(const base::ListValue* args) { base 115 chrome/browser/ui/webui/chromeos/slow_ui.cc void SlowHandler::LoadComplete(const base::ListValue* args) { base 122 chrome/browser/ui/webui/chromeos/slow_ui.cc base::FundamentalValue pref_value(enabled); base 18 chrome/browser/ui/webui/chromeos/ui_account_tweaks.cc base::DictionaryValue* localized_strings, base 43 chrome/browser/ui/webui/chromeos/ui_account_tweaks.cc base::DictionaryValue dict; base 25 chrome/browser/ui/webui/chromeos/ui_account_tweaks.h base::DictionaryValue* localized_strings, Profile* profile); base 72 chrome/browser/ui/webui/components_ui.cc void HandleRequestComponentsData(const base::ListValue* args); base 75 chrome/browser/ui/webui/components_ui.cc void HandleCheckUpdate(const base::ListValue* args); base 90 chrome/browser/ui/webui/components_ui.cc base::Bind(&ComponentsDOMHandler::HandleRequestComponentsData, base 91 chrome/browser/ui/webui/components_ui.cc base::Unretained(this))); base 94 chrome/browser/ui/webui/components_ui.cc base::Bind(&ComponentsDOMHandler::HandleCheckUpdate, base 95 chrome/browser/ui/webui/components_ui.cc base::Unretained(this))); base 99 chrome/browser/ui/webui/components_ui.cc const base::ListValue* args) { base 107 chrome/browser/ui/webui/components_ui.cc void ComponentsDOMHandler::HandleCheckUpdate(const base::ListValue* args) { base 129 chrome/browser/ui/webui/components_ui.cc base::ListValue* component_list = new base::ListValue(); base 133 chrome/browser/ui/webui/components_ui.cc base::DictionaryValue* component_entry = new base::DictionaryValue(); base 141 chrome/browser/ui/webui/components_ui.cc base::DictionaryValue results; base 170 chrome/browser/ui/webui/components_ui.cc base::RefCountedMemory* ComponentsUI::GetFaviconResourceBytes( base 11 chrome/browser/ui/webui/components_ui.h namespace base { base 25 chrome/browser/ui/webui/components_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 37 chrome/browser/ui/webui/conflicts_ui.cc using base::UserMetricsAction; base 88 chrome/browser/ui/webui/conflicts_ui.cc void HandleRequestModuleList(const base::ListValue* args); base 104 chrome/browser/ui/webui/conflicts_ui.cc base::Bind(&ConflictsDOMHandler::HandleRequestModuleList, base 105 chrome/browser/ui/webui/conflicts_ui.cc base::Unretained(this))); base 108 chrome/browser/ui/webui/conflicts_ui.cc void ConflictsDOMHandler::HandleRequestModuleList(const base::ListValue* args) { base 117 chrome/browser/ui/webui/conflicts_ui.cc base::ListValue* list = loaded_modules->GetModuleList(); base 118 chrome/browser/ui/webui/conflicts_ui.cc base::DictionaryValue results; base 124 chrome/browser/ui/webui/conflicts_ui.cc base::string16 table_title; base 128 chrome/browser/ui/webui/conflicts_ui.cc base::IntToString16(list->GetSize())); base 132 chrome/browser/ui/webui/conflicts_ui.cc base::IntToString16(list->GetSize()), base 133 chrome/browser/ui/webui/conflicts_ui.cc base::IntToString16(confirmed_bad), base 134 chrome/browser/ui/webui/conflicts_ui.cc base::IntToString16(suspected_bad)); base 173 chrome/browser/ui/webui/conflicts_ui.cc base::RefCountedMemory* ConflictsUI::GetFaviconResourceBytes( base 175 chrome/browser/ui/webui/conflicts_ui.cc return static_cast<base::RefCountedMemory*>( base 13 chrome/browser/ui/webui/conflicts_ui.h namespace base { base 22 chrome/browser/ui/webui/conflicts_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 31 chrome/browser/ui/webui/constrained_web_dialog_ui.cc : public base::SupportsUserData::Data { base 72 chrome/browser/ui/webui/constrained_web_dialog_ui.cc base::Bind(&ConstrainedWebDialogUI::OnDialogCloseMessage, base 73 chrome/browser/ui/webui/constrained_web_dialog_ui.cc base::Unretained(this))); base 78 chrome/browser/ui/webui/constrained_web_dialog_ui.cc void ConstrainedWebDialogUI::OnDialogCloseMessage(const base::ListValue* args) { base 74 chrome/browser/ui/webui/constrained_web_dialog_ui.h void OnDialogCloseMessage(const base::ListValue* args); base 72 chrome/browser/ui/webui/cookies_tree_model_util.cc return base::IntToString(type); base 87 chrome/browser/ui/webui/cookies_tree_model_util.cc return base::IntToString(iter->second); base 91 chrome/browser/ui/webui/cookies_tree_model_util.cc return base::IntToString(new_id); base 96 chrome/browser/ui/webui/cookies_tree_model_util.cc base::DictionaryValue* dict) { base 127 chrome/browser/ui/webui/cookies_tree_model_util.cc dict->SetString(kKeyCreated, base::UTF16ToUTF8( base 128 chrome/browser/ui/webui/cookies_tree_model_util.cc base::TimeFormatFriendlyDateAndTime(cookie.CreationDate()))); base 129 chrome/browser/ui/webui/cookies_tree_model_util.cc dict->SetString(kKeyExpires, cookie.IsPersistent() ? base::UTF16ToUTF8( base 130 chrome/browser/ui/webui/cookies_tree_model_util.cc base::TimeFormatFriendlyDateAndTime(cookie.ExpiryDate())) : base 147 chrome/browser/ui/webui/cookies_tree_model_util.cc dict->SetString(kKeyModified, base::UTF16ToUTF8( base 148 chrome/browser/ui/webui/cookies_tree_model_util.cc base::TimeFormatFriendlyDateAndTime(database_info.last_modified))); base 161 chrome/browser/ui/webui/cookies_tree_model_util.cc dict->SetString(kKeyModified, base::UTF16ToUTF8( base 162 chrome/browser/ui/webui/cookies_tree_model_util.cc base::TimeFormatFriendlyDateAndTime( base 176 chrome/browser/ui/webui/cookies_tree_model_util.cc dict->SetString(kKeyCreated, base::UTF16ToUTF8( base 177 chrome/browser/ui/webui/cookies_tree_model_util.cc base::TimeFormatFriendlyDateAndTime(appcache_info.creation_time))); base 178 chrome/browser/ui/webui/cookies_tree_model_util.cc dict->SetString(kKeyAccessed, base::UTF16ToUTF8( base 179 chrome/browser/ui/webui/cookies_tree_model_util.cc base::TimeFormatFriendlyDateAndTime(appcache_info.last_access_time))); base 192 chrome/browser/ui/webui/cookies_tree_model_util.cc dict->SetString(kKeyModified, base::UTF16ToUTF8( base 193 chrome/browser/ui/webui/cookies_tree_model_util.cc base::TimeFormatFriendlyDateAndTime(indexed_db_info.last_modified_))); base 209 chrome/browser/ui/webui/cookies_tree_model_util.cc base::UTF16ToUTF8(ui::FormatBytes( base 215 chrome/browser/ui/webui/cookies_tree_model_util.cc base::UTF16ToUTF8(ui::FormatBytes( base 233 chrome/browser/ui/webui/cookies_tree_model_util.cc base::UTF16ToUTF8(ui::FormatBytes( base 237 chrome/browser/ui/webui/cookies_tree_model_util.cc base::UTF16ToUTF8(ui::FormatBytes( base 240 chrome/browser/ui/webui/cookies_tree_model_util.cc base::UTF16ToUTF8(ui::FormatBytes( base 254 chrome/browser/ui/webui/cookies_tree_model_util.cc dict->SetString(kKeyCreated, base::UTF16ToUTF8( base 255 chrome/browser/ui/webui/cookies_tree_model_util.cc base::TimeFormatFriendlyDateAndTime( base 275 chrome/browser/ui/webui/cookies_tree_model_util.cc base::ListValue* app_infos = new base::ListValue; base 278 chrome/browser/ui/webui/cookies_tree_model_util.cc base::DictionaryValue* app_info = new base::DictionaryValue(); base 292 chrome/browser/ui/webui/cookies_tree_model_util.cc base::ListValue* nodes) { base 294 chrome/browser/ui/webui/cookies_tree_model_util.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 305 chrome/browser/ui/webui/cookies_tree_model_util.cc base::SplitString(path, ',', &node_ids); base 314 chrome/browser/ui/webui/cookies_tree_model_util.cc if (!base::StringToInt(node_ids[i], &node_id)) base 16 chrome/browser/ui/webui/cookies_tree_model_util.h namespace base { base 33 chrome/browser/ui/webui/cookies_tree_model_util.h base::ListValue* nodes); base 49 chrome/browser/ui/webui/cookies_tree_model_util.h base::DictionaryValue* dict); base 86 chrome/browser/ui/webui/crashes_ui.cc void HandleRequestCrashes(const base::ListValue* args); base 90 chrome/browser/ui/webui/crashes_ui.cc void HandleRequestUploads(const base::ListValue* args); base 115 chrome/browser/ui/webui/crashes_ui.cc base::Bind(&CrashesDOMHandler::HandleRequestCrashes, base 116 chrome/browser/ui/webui/crashes_ui.cc base::Unretained(this))); base 120 chrome/browser/ui/webui/crashes_ui.cc base::Bind(&CrashesDOMHandler::HandleRequestUploads, base 121 chrome/browser/ui/webui/crashes_ui.cc base::Unretained(this))); base 125 chrome/browser/ui/webui/crashes_ui.cc void CrashesDOMHandler::HandleRequestCrashes(const base::ListValue* args) { base 137 chrome/browser/ui/webui/crashes_ui.cc void CrashesDOMHandler::HandleRequestUploads(const base::ListValue* args) { base 155 chrome/browser/ui/webui/crashes_ui.cc base::ListValue crash_list; base 169 chrome/browser/ui/webui/crashes_ui.cc base::DictionaryValue* crash = new base::DictionaryValue(); base 171 chrome/browser/ui/webui/crashes_ui.cc crash->SetString("time", base::TimeFormatFriendlyDateAndTime(i->time)); base 176 chrome/browser/ui/webui/crashes_ui.cc base::FundamentalValue enabled(crash_reporting_enabled); base 177 chrome/browser/ui/webui/crashes_ui.cc base::FundamentalValue dynamic_backend(system_crash_reporter); base 180 chrome/browser/ui/webui/crashes_ui.cc base::StringValue version(version_info.Version()); base 203 chrome/browser/ui/webui/crashes_ui.cc base::RefCountedMemory* CrashesUI::GetFaviconResourceBytes( base 11 chrome/browser/ui/webui/crashes_ui.h namespace base { base 19 chrome/browser/ui/webui/crashes_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 78 chrome/browser/ui/webui/devtools_ui.cc callback_.Run(base::RefCountedString::TakeString(&response)); base 162 chrome/browser/ui/webui/devtools_ui.cc scoped_refptr<base::RefCountedStaticMemory> bytes(rb.LoadDataResourceBytes( base 205 chrome/browser/ui/webui/devtools_ui.cc return GURL(base::StringPrintf("%s://%s/%s/%s", base 54 chrome/browser/ui/webui/downloads_dom_handler.cc using base::UserMetricsAction; base 115 chrome/browser/ui/webui/downloads_dom_handler.cc base::DictionaryValue* CreateDownloadItemValue( base 122 chrome/browser/ui/webui/downloads_dom_handler.cc base::DictionaryValue* file_value = new base::DictionaryValue(); base 130 chrome/browser/ui/webui/downloads_dom_handler.cc "date_string", base::TimeFormatShortDate(download_item->GetStartTime())); base 133 chrome/browser/ui/webui/downloads_dom_handler.cc base::FilePath download_path(download_item->GetTargetFilePath()); base 134 chrome/browser/ui/webui/downloads_dom_handler.cc file_value->Set("file_path", base::CreateFilePathValue(download_path)); base 154 chrome/browser/ui/webui/downloads_dom_handler.cc base::string16 file_name = base 156 chrome/browser/ui/webui/downloads_dom_handler.cc file_name = base::i18n::GetDisplayStringInLTRDirectionality(file_name); base 265 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::OnPageLoaded(const base::ListValue* args) { base 271 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::OnPageLoaded, base 274 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleGetDownloads, base 277 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleOpenFile, base 280 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleDrag, base 283 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleSaveDangerous, base 286 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleDiscardDangerous, base 289 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleShow, base 292 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandlePause, base 295 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleResume, base 298 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleRemove, base 301 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleCancel, base 304 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleClearAll, base 307 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::HandleOpenDownloadsFolder, base 333 chrome/browser/ui/webui/downloads_dom_handler.cc base::ListValue results_value; base 358 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleGetDownloads(const base::ListValue* args) { base 364 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleOpenFile(const base::ListValue* args) { base 371 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleDrag(const base::ListValue* args) { base 390 chrome/browser/ui/webui/downloads_dom_handler.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 391 chrome/browser/ui/webui/downloads_dom_handler.cc base::MessageLoop::current()); base 396 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleSaveDangerous(const base::ListValue* args) { base 403 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleDiscardDangerous(const base::ListValue* args) { base 410 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleShow(const base::ListValue* args) { base 417 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandlePause(const base::ListValue* args) { base 424 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleResume(const base::ListValue* args) { base 431 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleRemove(const base::ListValue* args) { base 441 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleCancel(const base::ListValue* args) { base 448 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::HandleClearAll(const base::ListValue* args) { base 469 chrome/browser/ui/webui/downloads_dom_handler.cc const base::ListValue* args) { base 490 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::SendCurrentDownloads, base 509 chrome/browser/ui/webui/downloads_dom_handler.cc query.AddFilter(base::Bind(&IsDownloadDisplayable)); base 513 chrome/browser/ui/webui/downloads_dom_handler.cc base::ListValue results_value; base 532 chrome/browser/ui/webui/downloads_dom_handler.cc base::Bind(&DownloadsDOMHandler::DangerPromptDone, base 561 chrome/browser/ui/webui/downloads_dom_handler.cc const base::ListValue* args) { base 577 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::CallDownloadsList(const base::ListValue& downloads) { base 582 chrome/browser/ui/webui/downloads_dom_handler.cc const base::ListValue& download_item) { base 19 chrome/browser/ui/webui/downloads_dom_handler.h namespace base { base 52 chrome/browser/ui/webui/downloads_dom_handler.h void OnPageLoaded(const base::ListValue* args); base 55 chrome/browser/ui/webui/downloads_dom_handler.h void HandleGetDownloads(const base::ListValue* args); base 58 chrome/browser/ui/webui/downloads_dom_handler.h void HandleOpenFile(const base::ListValue* args); base 61 chrome/browser/ui/webui/downloads_dom_handler.h void HandleDrag(const base::ListValue* args); base 65 chrome/browser/ui/webui/downloads_dom_handler.h void HandleSaveDangerous(const base::ListValue* args); base 69 chrome/browser/ui/webui/downloads_dom_handler.h void HandleDiscardDangerous(const base::ListValue* args); base 72 chrome/browser/ui/webui/downloads_dom_handler.h void HandleShow(const base::ListValue* args); base 75 chrome/browser/ui/webui/downloads_dom_handler.h void HandlePause(const base::ListValue* args); base 78 chrome/browser/ui/webui/downloads_dom_handler.h void HandleResume(const base::ListValue* args); base 82 chrome/browser/ui/webui/downloads_dom_handler.h void HandleRemove(const base::ListValue* args); base 85 chrome/browser/ui/webui/downloads_dom_handler.h void HandleCancel(const base::ListValue* args); base 88 chrome/browser/ui/webui/downloads_dom_handler.h void HandleClearAll(const base::ListValue* args); base 92 chrome/browser/ui/webui/downloads_dom_handler.h void HandleOpenDownloadsFolder(const base::ListValue* args); base 99 chrome/browser/ui/webui/downloads_dom_handler.h virtual void CallDownloadsList(const base::ListValue& downloads); base 100 chrome/browser/ui/webui/downloads_dom_handler.h virtual void CallDownloadUpdated(const base::ListValue& download); base 131 chrome/browser/ui/webui/downloads_dom_handler.h content::DownloadItem* GetDownloadByValue(const base::ListValue* args); base 134 chrome/browser/ui/webui/downloads_dom_handler.h scoped_ptr<base::ListValue> search_terms_; base 146 chrome/browser/ui/webui/downloads_dom_handler.h base::WeakPtrFactory<DownloadsDOMHandler> weak_ptr_factory_; base 25 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc bool ListMatches(base::ListValue* left_list, const std::string& right_json) { base 26 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc scoped_ptr<base::Value> right_value(base::JSONReader::Read(right_json)); base 27 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::ListValue* right_list = NULL; base 30 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::DictionaryValue* left_dict = NULL; base 31 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::DictionaryValue* right_dict = NULL; base 34 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc for (base::DictionaryValue::Iterator iter(*right_dict); base 36 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::Value* left_value = NULL; base 59 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::ListValue* downloads_list() { return downloads_list_.get(); } base 60 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::ListValue* download_updated() { return download_updated_.get(); } base 65 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::AutoReset<bool> reset_waiting(&waiting_list_, true); base 72 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::AutoReset<bool> reset_waiting(&waiting_updated_, true); base 88 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc virtual void CallDownloadsList(const base::ListValue& downloads) OVERRIDE { base 93 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::MessageLoop::QuitClosure()); base 97 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc virtual void CallDownloadUpdated(const base::ListValue& download) OVERRIDE { base 102 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::MessageLoop::QuitClosure()); base 107 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc scoped_ptr<base::ListValue> downloads_list_; base 108 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc scoped_ptr<base::ListValue> download_updated_; base 140 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::Time current(base::Time::Now()); base 143 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::FilePath(FILE_PATH_LITERAL("/path/to/file")), base 144 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::FilePath(FILE_PATH_LITERAL("/path/to/file")), base 175 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::ScopedTempDir downloads_directory_; base 202 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::ListValue item; base 121 chrome/browser/ui/webui/downloads_ui.cc base::RefCountedMemory* DownloadsUI::GetFaviconResourceBytes( base 11 chrome/browser/ui/webui/downloads_ui.h namespace base { base 19 chrome/browser/ui/webui/downloads_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 27 chrome/browser/ui/webui/downloads_ui_browsertest.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 37 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::DictionaryValue* app_dict) { base 108 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Bind(&KioskAppsHandler::HandleInitializeKioskAppSettings, base 109 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Unretained(this))); base 111 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Bind(&KioskAppsHandler::HandleGetKioskAppSettings, base 112 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Unretained(this))); base 114 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Bind(&KioskAppsHandler::HandleAddKioskApp, base 115 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Unretained(this))); base 117 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Bind(&KioskAppsHandler::HandleRemoveKioskApp, base 118 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Unretained(this))); base 120 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Bind(&KioskAppsHandler::HandleEnableKioskAutoLaunch, base 121 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Unretained(this))); base 123 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Bind(&KioskAppsHandler::HandleDisableKioskAutoLaunch, base 124 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Unretained(this))); base 126 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Bind(&KioskAppsHandler::HandleSetDisableBailoutShortcut, base 127 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Unretained(this))); base 163 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc const base::string16 product_os_name = base 185 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::DictionaryValue app_dict; base 193 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::StringValue app_id_value(app_id); base 206 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc !base::SysInfo::IsRunningOnChromeOS(); base 210 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc !base::SysInfo::IsRunningOnChromeOS(); base 213 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::DictionaryValue kiosk_params; base 237 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::DictionaryValue settings; base 245 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc scoped_ptr<base::ListValue> apps_list(new base::ListValue); base 249 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc scoped_ptr<base::DictionaryValue> app_info(new base::DictionaryValue); base 260 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc const base::ListValue* args) { base 262 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc base::Bind(&KioskAppsHandler::OnGetConsumerKioskAutoLaunchStatus, base 266 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc void KioskAppsHandler::HandleGetKioskAppSettings(const base::ListValue* args) { base 271 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc void KioskAppsHandler::HandleAddKioskApp(const base::ListValue* args) { base 287 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc void KioskAppsHandler::HandleRemoveKioskApp(const base::ListValue* args) { base 298 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc const base::ListValue* args) { base 309 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc const base::ListValue* args) { base 324 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc const base::ListValue* args) { base 16 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h namespace base { base 50 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h void HandleInitializeKioskAppSettings(const base::ListValue* args); base 51 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h void HandleGetKioskAppSettings(const base::ListValue* args); base 52 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h void HandleAddKioskApp(const base::ListValue* args); base 53 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h void HandleRemoveKioskApp(const base::ListValue* args); base 54 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h void HandleEnableKioskAutoLaunch(const base::ListValue* args); base 55 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h void HandleDisableKioskAutoLaunch(const base::ListValue* args); base 56 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h void HandleSetDisableBailoutShortcut(const base::ListValue* args); base 66 chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h base::WeakPtrFactory<KioskAppsHandler> weak_ptr_factory_; base 55 chrome/browser/ui/webui/extensions/command_handler.cc base::Bind(&CommandHandler::HandleRequestExtensionsData, base 56 chrome/browser/ui/webui/extensions/command_handler.cc base::Unretained(this))); base 58 chrome/browser/ui/webui/extensions/command_handler.cc base::Bind(&CommandHandler::HandleSetShortcutHandlingSuspended, base 59 chrome/browser/ui/webui/extensions/command_handler.cc base::Unretained(this))); base 61 chrome/browser/ui/webui/extensions/command_handler.cc base::Bind(&CommandHandler::HandleSetExtensionCommandShortcut, base 62 chrome/browser/ui/webui/extensions/command_handler.cc base::Unretained(this))); base 64 chrome/browser/ui/webui/extensions/command_handler.cc base::Bind(&CommandHandler::HandleSetCommandScope, base 65 chrome/browser/ui/webui/extensions/command_handler.cc base::Unretained(this))); base 78 chrome/browser/ui/webui/extensions/command_handler.cc base::DictionaryValue results; base 84 chrome/browser/ui/webui/extensions/command_handler.cc void CommandHandler::HandleRequestExtensionsData(const base::ListValue* args) { base 89 chrome/browser/ui/webui/extensions/command_handler.cc const base::ListValue* args) { base 108 chrome/browser/ui/webui/extensions/command_handler.cc const base::ListValue* args) { base 126 chrome/browser/ui/webui/extensions/command_handler.cc const base::ListValue* args) { base 137 chrome/browser/ui/webui/extensions/command_handler.cc void CommandHandler::GetAllCommands(base::DictionaryValue* commands) { base 138 chrome/browser/ui/webui/extensions/command_handler.cc base::ListValue* results = new base::ListValue; base 147 chrome/browser/ui/webui/extensions/command_handler.cc scoped_ptr<base::DictionaryValue> extension_dict(new base::DictionaryValue); base 152 chrome/browser/ui/webui/extensions/command_handler.cc scoped_ptr<base::ListValue> extensions_list(new base::ListValue()); base 13 chrome/browser/ui/webui/extensions/command_handler.h namespace base { base 57 chrome/browser/ui/webui/extensions/command_handler.h void HandleRequestExtensionsData(const base::ListValue* args); base 61 chrome/browser/ui/webui/extensions/command_handler.h void HandleSetExtensionCommandShortcut(const base::ListValue* args); base 65 chrome/browser/ui/webui/extensions/command_handler.h void HandleSetCommandScope(const base::ListValue* args); base 69 chrome/browser/ui/webui/extensions/command_handler.h void HandleSetShortcutHandlingSuspended(const base::ListValue* args); base 73 chrome/browser/ui/webui/extensions/command_handler.h void GetAllCommands(base::DictionaryValue* commands); base 35 chrome/browser/ui/webui/extensions/extension_basic_info.cc base::DictionaryValue* info) { base 8 chrome/browser/ui/webui/extensions/extension_basic_info.h namespace base { base 20 chrome/browser/ui/webui/extensions/extension_basic_info.h base::DictionaryValue* info); base 68 chrome/browser/ui/webui/extensions/extension_error_handler.cc base::Bind(&ExtensionErrorHandler::HandleRequestFileSource, base 72 chrome/browser/ui/webui/extensions/extension_error_handler.cc base::Bind(&ExtensionErrorHandler::HandleOpenDevTools, base 77 chrome/browser/ui/webui/extensions/extension_error_handler.cc const base::ListValue* args) { base 83 chrome/browser/ui/webui/extensions/extension_error_handler.cc const base::DictionaryValue* dict = NULL; base 87 chrome/browser/ui/webui/extensions/extension_error_handler.cc base::FilePath::StringType path_suffix_string; base 88 chrome/browser/ui/webui/extensions/extension_error_handler.cc base::string16 error_message; base 98 chrome/browser/ui/webui/extensions/extension_error_handler.cc base::Bind(&ExtensionErrorHandler::OnFileSourceHandled, base 103 chrome/browser/ui/webui/extensions/extension_error_handler.cc const base::DictionaryValue& source) { base 108 chrome/browser/ui/webui/extensions/extension_error_handler.cc void ExtensionErrorHandler::HandleOpenDevTools(const base::ListValue* args) { base 110 chrome/browser/ui/webui/extensions/extension_error_handler.cc const base::DictionaryValue* dict = NULL; base 15 chrome/browser/ui/webui/extensions/extension_error_handler.h namespace base { base 46 chrome/browser/ui/webui/extensions/extension_error_handler.h void HandleRequestFileSource(const base::ListValue* args); base 49 chrome/browser/ui/webui/extensions/extension_error_handler.h void OnFileSourceHandled(const base::DictionaryValue& source); base 52 chrome/browser/ui/webui/extensions/extension_error_handler.h void HandleOpenDevTools(const base::ListValue* args); base 58 chrome/browser/ui/webui/extensions/extension_error_handler.h void GetManifestFileCallback(base::DictionaryValue* dict, base 66 chrome/browser/ui/webui/extensions/extension_error_handler.h void GetSourceFileCallback(base::DictionaryValue* results, base 74 chrome/browser/ui/webui/extensions/extension_error_handler.h base::WeakPtrFactory<ExtensionErrorHandler> weak_ptr_factory_; base 41 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc std::string ReadFileToString(const base::FilePath& path) { base 43 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::ReadFileToString(path, &data); base 47 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc void GetManifestFileCallback(base::DictionaryValue* results, base 57 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc void GetSourceFileCallback(base::DictionaryValue* results, base 68 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc void HandleRequestFileSource(const base::DictionaryValue* args, base 73 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::FilePath::StringType path_suffix_string; base 74 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::string16 error_message; base 93 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::FilePath path_suffix(path_suffix_string); base 97 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::FilePath path = extension->path().Append(path_suffix); base 100 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc scoped_ptr<base::DictionaryValue> results(new base::DictionaryValue); base 102 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::UTF8ToUTF16(extension->name()) + base 103 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::ASCIIToUTF16(": ") + base 107 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::Callback<void(const std::string&)> reply; base 119 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc reply = base::Bind(&GetManifestFileCallback, base 120 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::Owned(results.release()), base 128 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc reply = base::Bind(&GetSourceFileCallback, base 129 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::Owned(results.release()), base 134 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::PostTaskAndReplyWithResult(content::BrowserThread::GetBlockingPool(), base 136 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::Bind(&ReadFileToString, path), base 140 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc void HandleOpenDevTools(const base::DictionaryValue* args) { base 162 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc base::string16 url; base 12 chrome/browser/ui/webui/extensions/extension_error_ui_util.h namespace base { base 19 chrome/browser/ui/webui/extensions/extension_error_ui_util.h typedef base::Callback<void(const base::DictionaryValue&)> base 25 chrome/browser/ui/webui/extensions/extension_error_ui_util.h void HandleRequestFileSource(const base::DictionaryValue* args, base 31 chrome/browser/ui/webui/extensions/extension_error_ui_util.h void HandleOpenDevTools(const base::DictionaryValue* args); base 44 chrome/browser/ui/webui/extensions/extension_icon_source.cc scoped_refptr<base::RefCountedMemory> BitmapToMemory(const SkBitmap* image) { base 45 chrome/browser/ui/webui/extensions/extension_icon_source.cc base::RefCountedBytes* image_bytes = new base::RefCountedBytes; base 86 chrome/browser/ui/webui/extensions/extension_icon_source.cc GURL icon_url(base::StringPrintf("%s%s/%d/%d%s", base 208 chrome/browser/ui/webui/extensions/extension_icon_source.cc base::Bind(&ExtensionIconSource::OnImageLoaded, AsWeakPtr(), request_id)); base 226 chrome/browser/ui/webui/extensions/extension_icon_source.cc base::Bind(&ExtensionIconSource::OnFaviconDataAvailable, base 227 chrome/browser/ui/webui/extensions/extension_icon_source.cc base::Unretained(this), request_id), base 280 chrome/browser/ui/webui/extensions/extension_icon_source.cc base::SplitString(path_lower, '/', &path_parts); base 289 chrome/browser/ui/webui/extensions/extension_icon_source.cc if (!base::StringToInt(size_param, &size)) base 296 chrome/browser/ui/webui/extensions/extension_icon_source.cc if (!base::StringToInt(match_param, &match_num)) base 53 chrome/browser/ui/webui/extensions/extension_icon_source.h public base::SupportsWeakPtr<ExtensionIconSource> { base 159 chrome/browser/ui/webui/extensions/extension_icon_source.h base::CancelableTaskTracker cancelable_task_tracker_; base 54 chrome/browser/ui/webui/extensions/extension_info_ui.cc return GURL(base::StringPrintf( base 68 chrome/browser/ui/webui/extensions/extension_info_ui.cc base::DictionaryValue extension_data; base 78 chrome/browser/ui/webui/extensions/extension_info_ui.cc source_->AddString("icon", base::UTF8ToUTF16(icon.spec())); base 80 chrome/browser/ui/webui/extensions/extension_info_ui.cc base::Time install_time = base 82 chrome/browser/ui/webui/extensions/extension_info_ui.cc source_->AddString("installTime", base::TimeFormatShortDate(install_time)); base 12 chrome/browser/ui/webui/extensions/extension_info_ui.h namespace base { base 50 chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc base::FilePath test_data_dir; base 55 chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc base::FilePath extensions_data_dir = test_data_dir.AppendASCII("extensions"); base 75 chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc const base::FilePath& path) { base 85 chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc base::FilePath crx_path = path; base 110 chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc VLOG(1) << "Num extensions before: " << base::IntToString(num_before) base 111 chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc << " num after: " << base::IntToString(num_after) base 120 chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc const std::vector<base::string16>* errors = base 122 chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc for (std::vector<base::string16>::const_iterator iter = errors->begin(); base 35 chrome/browser/ui/webui/extensions/extension_settings_browsertest.h const base::FilePath& path); base 36 chrome/browser/ui/webui/extensions/extension_settings_browsertest.h const extensions::Extension* InstallExtension(const base::FilePath& path); base 94 chrome/browser/ui/webui/extensions/extension_settings_handler.cc using base::DictionaryValue; base 95 chrome/browser/ui/webui/extensions/extension_settings_handler.cc using base::ListValue; base 123 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::WeakPtr<ExtensionSettingsHandler>& delegate) base 140 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::WeakPtr<ExtensionSettingsHandler> delegate_; base 196 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::DictionaryValue* ExtensionSettingsHandler::CreateExtensionDetailValue( base 200 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::DictionaryValue* extension_data = new base::DictionaryValue(); base 249 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::string16 location_text; base 263 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::string16 blacklist_text; base 296 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::ListValue* views = new base::ListValue; base 299 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::DictionaryValue* view_value = new base::DictionaryValue; base 328 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::ListValue* warnings_list = new base::ListValue; base 331 chrome/browser/ui/webui/extensions/extension_settings_handler.cc warnings_list->Append(base::Value::CreateStringValue(*iter)); base 346 chrome/browser/ui/webui/extensions/extension_settings_handler.cc scoped_ptr<base::ListValue> manifest_errors(new base::ListValue); base 347 chrome/browser/ui/webui/extensions/extension_settings_handler.cc scoped_ptr<base::ListValue> runtime_errors(new base::ListValue); base 354 chrome/browser/ui/webui/extensions/extension_settings_handler.cc scoped_ptr<base::DictionaryValue> value = error->ToValue(); base 373 chrome/browser/ui/webui/extensions/extension_settings_handler.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 376 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::DictionaryValue* item = new base::DictionaryValue(); base 398 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::ASCIIToUTF16(google_util::AppendGoogleLocaleParam( base 403 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::ASCIIToUTF16(google_util::AppendGoogleLocaleParam( base 456 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::ASCIIToUTF16(google_util::AppendGoogleLocaleParam( base 515 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleRequestExtensionsData, base 518 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleToggleDeveloperMode, base 521 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleInspectMessage, base 524 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleLaunchMessage, base 527 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleReloadMessage, base 530 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleEnableMessage, base 533 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleEnableIncognitoMessage, base 536 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleAllowFileAccessMessage, base 539 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleUninstallMessage, base 542 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleOptionsMessage, base 545 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandlePermissionsMessage, base 548 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleShowButtonMessage, base 551 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleAutoUpdateMessage, base 554 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::HandleLoadUnpackedExtensionMessage, base 559 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::FilePath& path) { base 563 chrome/browser/ui/webui/extensions/extension_settings_handler.cc int ExtensionSettingsHandler::IndexOfLoadingPath(const base::FilePath& path) { base 571 chrome/browser/ui/webui/extensions/extension_settings_handler.cc void ExtensionSettingsHandler::AddLoadingPath(const base::FilePath& path) { base 583 chrome/browser/ui/webui/extensions/extension_settings_handler.cc void ExtensionSettingsHandler::RemoveLoadingPath(const base::FilePath& path) { base 597 chrome/browser/ui/webui/extensions/extension_settings_handler.cc void ExtensionSettingsHandler::FileSelected(const base::FilePath& path, base 600 chrome/browser/ui/webui/extensions/extension_settings_handler.cc last_unpacked_directory_ = base::FilePath(path); base 606 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const std::vector<base::FilePath>& files, void* params) { base 653 chrome/browser/ui/webui/extensions/extension_settings_handler.cc std::pair<bool, const base::FilePath&>* retry_and_path = base 654 chrome/browser/ui/webui/extensions/extension_settings_handler.cc content::Details<std::pair<bool, const base::FilePath&> >(details) base 660 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::FilePath& path = base 676 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::MessageLoop::current()->PostTask( base 678 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::MaybeUpdateAfterNotification, base 763 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 764 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::DictionaryValue results; base 769 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::ListValue* extensions_list = new base::ListValue(); base 834 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 846 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 858 chrome/browser/ui/webui/extensions/extension_settings_handler.cc CHECK(base::StringToInt(render_process_id_str, &render_process_id)); base 859 chrome/browser/ui/webui/extensions/extension_settings_handler.cc CHECK(base::StringToInt(render_view_id_str, &render_view_id)); base 884 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 896 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 897 chrome/browser/ui/webui/extensions/extension_settings_handler.cc std::string extension_id = base::UTF16ToUTF8(ExtractStringValue(args)); base 907 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 939 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Bind(&ExtensionSettingsHandler::OnRequirementsChecked, base 951 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 972 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::AutoReset<bool> auto_reset_ignore_notifications( base 980 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 1002 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 1026 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 1035 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 1036 chrome/browser/ui/webui/extensions/extension_settings_handler.cc std::string extension_id(base::UTF16ToUTF8(ExtractStringValue(args))); base 1049 chrome/browser/ui/webui/extensions/extension_settings_handler.cc std::vector<base::FilePath> retained_file_paths; base 1064 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 1075 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 1085 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 1088 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::string16 select_title = base 1102 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::FilePath::StringType(), base 1110 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::ListValue arguments; base 1111 chrome/browser/ui/webui/extensions/extension_settings_handler.cc arguments.Append(base::Value::CreateStringValue(message)); base 1116 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::ListValue* args) { base 1117 chrome/browser/ui/webui/extensions/extension_settings_handler.cc std::string extension_id = base::UTF16ToUTF8(ExtractStringValue(args)); base 1172 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::Closure callback = base::Bind( base 1320 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::UTF8ToUTF16(JoinString(requirement_errors, ' ')), base 1329 chrome/browser/ui/webui/extensions/extension_settings_handler.cc const base::FilePath& path) { base 33 chrome/browser/ui/webui/extensions/extension_settings_handler.h namespace base { base 77 chrome/browser/ui/webui/extensions/extension_settings_handler.h public base::SupportsWeakPtr<ExtensionSettingsHandler> { base 87 chrome/browser/ui/webui/extensions/extension_settings_handler.h base::DictionaryValue* CreateExtensionDetailValue( base 113 chrome/browser/ui/webui/extensions/extension_settings_handler.h void LoadUnpackedExtension(const base::FilePath& path); base 117 chrome/browser/ui/webui/extensions/extension_settings_handler.h int IndexOfLoadingPath(const base::FilePath& path); base 121 chrome/browser/ui/webui/extensions/extension_settings_handler.h void AddLoadingPath(const base::FilePath& path); base 125 chrome/browser/ui/webui/extensions/extension_settings_handler.h void RemoveLoadingPath(const base::FilePath& path); base 128 chrome/browser/ui/webui/extensions/extension_settings_handler.h virtual void FileSelected(const base::FilePath& path, base 132 chrome/browser/ui/webui/extensions/extension_settings_handler.h const std::vector<base::FilePath>& files, void* params) OVERRIDE; base 163 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleRequestExtensionsData(const base::ListValue* args); base 166 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleToggleDeveloperMode(const base::ListValue* args); base 169 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleInspectMessage(const base::ListValue* args); base 172 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleLaunchMessage(const base::ListValue* args); base 175 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleReloadMessage(const base::ListValue* args); base 178 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleEnableMessage(const base::ListValue* args); base 181 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleEnableIncognitoMessage(const base::ListValue* args); base 184 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleAllowFileAccessMessage(const base::ListValue* args); base 187 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleUninstallMessage(const base::ListValue* args); base 190 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleOptionsMessage(const base::ListValue* args); base 193 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandlePermissionsMessage(const base::ListValue* args); base 196 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleShowButtonMessage(const base::ListValue* args); base 199 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleAutoUpdateMessage(const base::ListValue* args); base 202 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleLoadUnpackedExtensionMessage(const base::ListValue* args); base 209 chrome/browser/ui/webui/extensions/extension_settings_handler.h const Extension* GetActiveExtension(const base::ListValue* args); base 243 chrome/browser/ui/webui/extensions/extension_settings_handler.h void HandleLoadRetryMessage(bool retry, const base::FilePath& path); base 256 chrome/browser/ui/webui/extensions/extension_settings_handler.h base::FilePath last_unpacked_directory_; base 260 chrome/browser/ui/webui/extensions/extension_settings_handler.h std::vector<base::FilePath> loading_extension_directories_; base 87 chrome/browser/ui/webui/extensions/extensions_ui.cc base::RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes( base 12 chrome/browser/ui/webui/extensions/extensions_ui.h namespace base { base 23 chrome/browser/ui/webui/extensions/extensions_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 47 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::Bind(&InstallExtensionHandler::HandleStartDragMessage, base 48 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::Unretained(this))); base 51 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::Bind(&InstallExtensionHandler::HandleStopDragMessage, base 52 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::Unretained(this))); base 55 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::Bind(&InstallExtensionHandler::HandleInstallMessage, base 56 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::Unretained(this))); base 59 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::Bind(&InstallExtensionHandler::HandleInstallDirectoryMessage, base 60 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::Unretained(this))); base 64 chrome/browser/ui/webui/extensions/install_extension_handler.cc const base::ListValue* args) { base 89 chrome/browser/ui/webui/extensions/install_extension_handler.cc const base::ListValue* args) { base 95 chrome/browser/ui/webui/extensions/install_extension_handler.cc const base::ListValue* args) { base 116 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::ASCIIToUTF16(".user.js"), base 122 chrome/browser/ui/webui/extensions/install_extension_handler.cc base::ASCIIToUTF16(".crx"), base 134 chrome/browser/ui/webui/extensions/install_extension_handler.cc const base::ListValue* args) { base 35 chrome/browser/ui/webui/extensions/install_extension_handler.h void HandleStartDragMessage(const base::ListValue* args); base 38 chrome/browser/ui/webui/extensions/install_extension_handler.h void HandleStopDragMessage(const base::ListValue* args); base 46 chrome/browser/ui/webui/extensions/install_extension_handler.h void HandleInstallMessage(const base::ListValue* args); base 50 chrome/browser/ui/webui/extensions/install_extension_handler.h void HandleInstallDirectoryMessage(const base::ListValue* args); base 54 chrome/browser/ui/webui/extensions/install_extension_handler.h base::FilePath file_to_install_; base 55 chrome/browser/ui/webui/extensions/install_extension_handler.h base::string16 file_display_name_; base 61 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::Bind(&PackExtensionHandler::HandlePackMessage, base 62 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::Unretained(this))); base 65 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::Bind(&PackExtensionHandler::HandleSelectFilePathMessage, base 66 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::Unretained(this))); base 69 chrome/browser/ui/webui/extensions/pack_extension_handler.cc void PackExtensionHandler::OnPackSuccess(const base::FilePath& crx_file, base 70 chrome/browser/ui/webui/extensions/pack_extension_handler.cc const base::FilePath& pem_file) { base 71 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::ListValue arguments; base 72 chrome/browser/ui/webui/extensions/pack_extension_handler.cc arguments.Append(base::Value::CreateStringValue( base 73 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::UTF16ToUTF8(PackExtensionJob::StandardSuccessMessage( base 82 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::StringValue error_str(error); base 83 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::StringValue extension_path_str(extension_path_.value()); base 84 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::StringValue key_path_str(private_key_path_.value()); base 85 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::FundamentalValue overwrite_flag(ExtensionCreator::kOverwriteCRX); base 95 chrome/browser/ui/webui/extensions/pack_extension_handler.cc void PackExtensionHandler::FileSelected(const base::FilePath& path, int index, base 97 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::ListValue results; base 98 chrome/browser/ui/webui/extensions/pack_extension_handler.cc results.Append(base::Value::CreateStringValue(path.value())); base 103 chrome/browser/ui/webui/extensions/pack_extension_handler.cc const std::vector<base::FilePath>& files, void* params) { base 107 chrome/browser/ui/webui/extensions/pack_extension_handler.cc void PackExtensionHandler::HandlePackMessage(const base::ListValue* args) { base 111 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::FilePath::StringType extension_path_str; base 112 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::FilePath::StringType private_key_path_str; base 120 chrome/browser/ui/webui/extensions/pack_extension_handler.cc extension_path_ = base::FilePath(extension_path_str); base 121 chrome/browser/ui/webui/extensions/pack_extension_handler.cc private_key_path_ = base::FilePath(private_key_path_str); base 125 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::FilePath root_directory = extension_path_; base 126 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::FilePath key_file = private_key_path_; base 152 chrome/browser/ui/webui/extensions/pack_extension_handler.cc const base::ListValue* args) { base 166 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::FilePath path_to_use = last_used_path_; base 169 chrome/browser/ui/webui/extensions/pack_extension_handler.cc path_to_use = base::FilePath(); base 172 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::string16 select_title; base 178 chrome/browser/ui/webui/extensions/pack_extension_handler.cc info.extensions.push_back(std::vector<base::FilePath::StringType>()); base 197 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::FilePath::StringType(), base 203 chrome/browser/ui/webui/extensions/pack_extension_handler.cc base::ListValue arguments; base 204 chrome/browser/ui/webui/extensions/pack_extension_handler.cc arguments.Append(base::Value::CreateStringValue(message)); base 37 chrome/browser/ui/webui/extensions/pack_extension_handler.h virtual void OnPackSuccess(const base::FilePath& crx_file, base 38 chrome/browser/ui/webui/extensions/pack_extension_handler.h const base::FilePath& key_file) OVERRIDE; base 45 chrome/browser/ui/webui/extensions/pack_extension_handler.h virtual void FileSelected(const base::FilePath& path, base 48 chrome/browser/ui/webui/extensions/pack_extension_handler.h const std::vector<base::FilePath>& files, void* params) OVERRIDE; base 52 chrome/browser/ui/webui/extensions/pack_extension_handler.h void HandlePackMessage(const base::ListValue* args); base 59 chrome/browser/ui/webui/extensions/pack_extension_handler.h void HandleSelectFilePathMessage(const base::ListValue* args); base 72 chrome/browser/ui/webui/extensions/pack_extension_handler.h base::FilePath extension_path_; base 75 chrome/browser/ui/webui/extensions/pack_extension_handler.h base::FilePath private_key_path_; base 78 chrome/browser/ui/webui/extensions/pack_extension_handler.h base::FilePath last_used_path_; base 90 chrome/browser/ui/webui/favicon_source.cc base::Bind(&FaviconSource::OnFaviconDataAvailable, base 91 chrome/browser/ui/webui/favicon_source.cc base::Unretained(this), base 114 chrome/browser/ui/webui/favicon_source.cc base::Bind(&FaviconSource::OnFaviconDataAvailable, base 115 chrome/browser/ui/webui/favicon_source.cc base::Unretained(this), base 149 chrome/browser/ui/webui/favicon_source.cc scoped_refptr<base::RefCountedMemory> response; base 193 chrome/browser/ui/webui/favicon_source.cc base::RefCountedMemory* default_favicon = base 132 chrome/browser/ui/webui/favicon_source.h base::CancelableTaskTracker cancelable_task_tracker_; base 136 chrome/browser/ui/webui/favicon_source.h scoped_refptr<base::RefCountedMemory> default_favicons_[NUM_SIZES]; base 42 chrome/browser/ui/webui/fileicon_source.cc base::FilePath* file_path, base 50 chrome/browser/ui/webui/fileicon_source.cc *file_path = base::FilePath::FromUTF8Unsafe(path); base 73 chrome/browser/ui/webui/fileicon_source.cc base::SplitStringIntoKeyValuePairs(query, '=', '&', ¶meters); base 96 chrome/browser/ui/webui/fileicon_source.cc const base::FilePath& path, base 104 chrome/browser/ui/webui/fileicon_source.cc scoped_refptr<base::RefCountedBytes> icon_data(new base::RefCountedBytes); base 120 chrome/browser/ui/webui/fileicon_source.cc base::Bind(&FileIconSource::OnFileIconDataAvailable, base 121 chrome/browser/ui/webui/fileicon_source.cc base::Unretained(this), details), base 136 chrome/browser/ui/webui/fileicon_source.cc base::FilePath file_path; base 152 chrome/browser/ui/webui/fileicon_source.cc scoped_refptr<base::RefCountedBytes> icon_data(new base::RefCountedBytes); base 42 chrome/browser/ui/webui/fileicon_source.h const base::FilePath& path, base 65 chrome/browser/ui/webui/fileicon_source.h base::CancelableTaskTracker cancelable_task_tracker_; base 24 chrome/browser/ui/webui/fileicon_source_unittest.cc void(const base::FilePath& path, base 35 chrome/browser/ui/webui/fileicon_source_unittest.cc : ui_thread_(BrowserThread::UI, base::MessageLoop::current()), base 36 chrome/browser/ui/webui/fileicon_source_unittest.cc file_thread_(BrowserThread::FILE, base::MessageLoop::current()) {} base 43 chrome/browser/ui/webui/fileicon_source_unittest.cc base::MessageLoopForUI loop_; base 50 chrome/browser/ui/webui/fileicon_source_unittest.cc const base::FilePath::CharType* unescaped_path; base 131 chrome/browser/ui/webui/fileicon_source_unittest.cc base::FilePath(kBasicExpectations[i].unescaped_path), base 77 chrome/browser/ui/webui/flags_ui.cc base::SysInfo::IsRunningOnChromeOS()) { base 83 chrome/browser/ui/webui/flags_ui.cc base::UTF8ToUTF16(owner))); base 87 chrome/browser/ui/webui/flags_ui.cc source->AddString("ownerWarning", base::string16()); base 121 chrome/browser/ui/webui/flags_ui.cc void HandleRequestFlagsExperiments(const base::ListValue* args); base 124 chrome/browser/ui/webui/flags_ui.cc void HandleEnableFlagsExperimentMessage(const base::ListValue* args); base 127 chrome/browser/ui/webui/flags_ui.cc void HandleRestartBrowser(const base::ListValue* args); base 130 chrome/browser/ui/webui/flags_ui.cc void HandleResetAllFlags(const base::ListValue* args); base 142 chrome/browser/ui/webui/flags_ui.cc base::Bind(&FlagsDOMHandler::HandleRequestFlagsExperiments, base 143 chrome/browser/ui/webui/flags_ui.cc base::Unretained(this))); base 145 chrome/browser/ui/webui/flags_ui.cc base::Bind(&FlagsDOMHandler::HandleEnableFlagsExperimentMessage, base 146 chrome/browser/ui/webui/flags_ui.cc base::Unretained(this))); base 148 chrome/browser/ui/webui/flags_ui.cc base::Bind(&FlagsDOMHandler::HandleRestartBrowser, base 149 chrome/browser/ui/webui/flags_ui.cc base::Unretained(this))); base 151 chrome/browser/ui/webui/flags_ui.cc base::Bind(&FlagsDOMHandler::HandleResetAllFlags, base 152 chrome/browser/ui/webui/flags_ui.cc base::Unretained(this))); base 165 chrome/browser/ui/webui/flags_ui.cc const base::ListValue* args) { base 172 chrome/browser/ui/webui/flags_ui.cc base::DictionaryValue results; base 174 chrome/browser/ui/webui/flags_ui.cc scoped_ptr<base::ListValue> supported_experiments(new base::ListValue); base 175 chrome/browser/ui/webui/flags_ui.cc scoped_ptr<base::ListValue> unsupported_experiments(new base::ListValue); base 201 chrome/browser/ui/webui/flags_ui.cc const base::ListValue* args) { base 219 chrome/browser/ui/webui/flags_ui.cc void FlagsDOMHandler::HandleRestartBrowser(const base::ListValue* args) { base 239 chrome/browser/ui/webui/flags_ui.cc void FlagsDOMHandler::HandleResetAllFlags(const base::ListValue* args) { base 250 chrome/browser/ui/webui/flags_ui.cc void FinishInitialization(base::WeakPtr<FlagsUI> flags_ui, base 293 chrome/browser/ui/webui/flags_ui.cc base::Bind(&FinishInitialization, base 309 chrome/browser/ui/webui/flags_ui.cc base::RefCountedMemory* FlagsUI::GetFaviconResourceBytes( base 19 chrome/browser/ui/webui/flags_ui.h namespace base { base 32 chrome/browser/ui/webui/flags_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 40 chrome/browser/ui/webui/flags_ui.h base::WeakPtrFactory<FlagsUI> weak_factory_; base 50 chrome/browser/ui/webui/flash_ui.cc using base::ASCIIToUTF16; base 51 chrome/browser/ui/webui/flash_ui.cc using base::UserMetricsAction; base 100 chrome/browser/ui/webui/flash_ui.cc void HandleRequestFlashInfo(const base::ListValue* args); base 118 chrome/browser/ui/webui/flash_ui.cc base::OneShotTimer<FlashDOMHandler> timeout_; base 132 chrome/browser/ui/webui/flash_ui.cc base::WeakPtrFactory<FlashDOMHandler> weak_ptr_factory_; base 159 chrome/browser/ui/webui/flash_ui.cc PluginService::GetInstance()->GetPlugins(base::Bind( base 164 chrome/browser/ui/webui/flash_ui.cc timeout_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kTimeout), base 175 chrome/browser/ui/webui/flash_ui.cc base::Bind(&FlashDOMHandler::HandleRequestFlashInfo, base 176 chrome/browser/ui/webui/flash_ui.cc base::Unretained(this))); base 184 chrome/browser/ui/webui/flash_ui.cc void AddPair(base::ListValue* list, base 185 chrome/browser/ui/webui/flash_ui.cc const base::string16& key, base 186 chrome/browser/ui/webui/flash_ui.cc const base::string16& value) { base 187 chrome/browser/ui/webui/flash_ui.cc base::DictionaryValue* results = new base::DictionaryValue(); base 193 chrome/browser/ui/webui/flash_ui.cc void AddPair(base::ListValue* list, base 194 chrome/browser/ui/webui/flash_ui.cc const base::string16& key, base 199 chrome/browser/ui/webui/flash_ui.cc void FlashDOMHandler::HandleRequestFlashInfo(const base::ListValue* args) { base 237 chrome/browser/ui/webui/flash_ui.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 242 chrome/browser/ui/webui/flash_ui.cc base::ListValue* list = new base::ListValue(); base 253 chrome/browser/ui/webui/flash_ui.cc base::win::OSInfo* os = base::win::OSInfo::GetInstance(); base 255 chrome/browser/ui/webui/flash_ui.cc case base::win::VERSION_XP: os_label += " XP"; break; base 256 chrome/browser/ui/webui/flash_ui.cc case base::win::VERSION_SERVER_2003: base 259 chrome/browser/ui/webui/flash_ui.cc case base::win::VERSION_VISTA: os_label += " Vista or Server 2008"; break; base 260 chrome/browser/ui/webui/flash_ui.cc case base::win::VERSION_WIN7: os_label += " 7 or Server 2008 R2"; break; base 261 chrome/browser/ui/webui/flash_ui.cc case base::win::VERSION_WIN8: os_label += " 8 or Server 2012"; break; base 264 chrome/browser/ui/webui/flash_ui.cc os_label += " SP" + base::IntToString(os->service_pack().major); base 266 chrome/browser/ui/webui/flash_ui.cc os_label += "." + base::IntToString(os->service_pack().minor); base 267 chrome/browser/ui/webui/flash_ui.cc if (os->architecture() == base::win::OSInfo::X64_ARCHITECTURE) base 283 chrome/browser/ui/webui/flash_ui.cc base::string16 flash_version = info_array[i].version + ASCIIToUTF16(" ") + base 300 chrome/browser/ui/webui/flash_ui.cc AddPair(list, base::string16(), "--- Crash data ---"); base 309 chrome/browser/ui/webui/flash_ui.cc base::string16 crash_string(ASCIIToUTF16(i->id)); base 311 chrome/browser/ui/webui/flash_ui.cc crash_string += base::TimeFormatFriendlyDateAndTime(i->time); base 322 chrome/browser/ui/webui/flash_ui.cc AddPair(list, base::string16(), "--- GPU information ---"); base 353 chrome/browser/ui/webui/flash_ui.cc AddPair(list, base::string16(), "--- GPU driver, more information ---"); base 356 chrome/browser/ui/webui/flash_ui.cc base::StringPrintf("0x%04x", gpu_info.gpu.vendor_id)); base 359 chrome/browser/ui/webui/flash_ui.cc base::StringPrintf("0x%04x", gpu_info.gpu.device_id)); base 375 chrome/browser/ui/webui/flash_ui.cc base::DictionaryValue flashInfo; base 400 chrome/browser/ui/webui/flash_ui.cc base::RefCountedMemory* FlashUI::GetFaviconResourceBytes( base 11 chrome/browser/ui/webui/flash_ui.h namespace base { base 20 chrome/browser/ui/webui/flash_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 43 chrome/browser/ui/webui/gcm_internals_ui.cc void RequestAllInfo(const base::ListValue* args); base 50 chrome/browser/ui/webui/gcm_internals_ui.cc base::WeakPtrFactory<GcmInternalsUIMessageHandler> weak_ptr_factory_; base 64 chrome/browser/ui/webui/gcm_internals_ui.cc base::DictionaryValue results; base 65 chrome/browser/ui/webui/gcm_internals_ui.cc base::DictionaryValue* device_info = new base::DictionaryValue(); base 87 chrome/browser/ui/webui/gcm_internals_ui.cc base::StringPrintf("0x%" PRIx64, stats->android_id)); base 95 chrome/browser/ui/webui/gcm_internals_ui.cc const base::ListValue* args) { base 103 chrome/browser/ui/webui/gcm_internals_ui.cc profile_service->RequestGCMStatistics(base::Bind( base 122 chrome/browser/ui/webui/gcm_internals_ui.cc base::Bind(&GcmInternalsUIMessageHandler::RequestAllInfo, base 123 chrome/browser/ui/webui/gcm_internals_ui.cc base::Unretained(this))); base 31 chrome/browser/ui/webui/gesture_config_ui.cc base::Bind(&GestureConfigUI::UpdatePreferenceValue, base 32 chrome/browser/ui/webui/gesture_config_ui.cc base::Unretained(this))); base 35 chrome/browser/ui/webui/gesture_config_ui.cc base::Bind(&GestureConfigUI::ResetPreferenceValue, base 36 chrome/browser/ui/webui/gesture_config_ui.cc base::Unretained(this))); base 39 chrome/browser/ui/webui/gesture_config_ui.cc base::Bind(&GestureConfigUI::SetPreferenceValue, base 40 chrome/browser/ui/webui/gesture_config_ui.cc base::Unretained(this))); base 54 chrome/browser/ui/webui/gesture_config_ui.cc void GestureConfigUI::UpdatePreferenceValue(const base::ListValue* args) { base 63 chrome/browser/ui/webui/gesture_config_ui.cc base::StringValue js_pref_name(pref_name); base 64 chrome/browser/ui/webui/gesture_config_ui.cc base::FundamentalValue js_pref_value(prefs->GetDouble(pref_name.c_str())); base 65 chrome/browser/ui/webui/gesture_config_ui.cc base::FundamentalValue js_pref_default(pref->IsDefaultValue()); base 74 chrome/browser/ui/webui/gesture_config_ui.cc void GestureConfigUI::ResetPreferenceValue(const base::ListValue* args) { base 85 chrome/browser/ui/webui/gesture_config_ui.cc void GestureConfigUI::SetPreferenceValue(const base::ListValue* args) { base 96 chrome/browser/ui/webui/gesture_config_ui.cc case base::Value::TYPE_INTEGER: base 99 chrome/browser/ui/webui/gesture_config_ui.cc case base::Value::TYPE_DOUBLE: base 10 chrome/browser/ui/webui/gesture_config_ui.h namespace base { base 30 chrome/browser/ui/webui/gesture_config_ui.h void UpdatePreferenceValue(const base::ListValue* args); base 37 chrome/browser/ui/webui/gesture_config_ui.h void ResetPreferenceValue(const base::ListValue* args); base 44 chrome/browser/ui/webui/gesture_config_ui.h void SetPreferenceValue(const base::ListValue* args); base 60 chrome/browser/ui/webui/help/help_handler.cc using base::ListValue; base 66 chrome/browser/ui/webui/help/help_handler.cc base::string16 BuildBrowserVersionString() { base 82 chrome/browser/ui/webui/help/help_handler.cc return base::UTF8ToUTF16(browser_version); base 89 chrome/browser/ui/webui/help/help_handler.cc base::string16 GetAllowedConnectionTypesMessage() { base 237 chrome/browser/ui/webui/help/help_handler.cc base::Time::Exploded exploded_time; base 238 chrome/browser/ui/webui/help/help_handler.cc base::Time::Now().LocalExplode(&exploded_time); base 242 chrome/browser/ui/webui/help/help_handler.cc base::IntToString16(exploded_time.year))); base 244 chrome/browser/ui/webui/help/help_handler.cc base::string16 license = l10n_util::GetStringFUTF16( base 246 chrome/browser/ui/webui/help/help_handler.cc base::ASCIIToUTF16(chrome::kChromiumProjectURL), base 247 chrome/browser/ui/webui/help/help_handler.cc base::ASCIIToUTF16(chrome::kChromeUICreditsURL)); base 251 chrome/browser/ui/webui/help/help_handler.cc base::string16 os_license = l10n_util::GetStringFUTF16( base 253 chrome/browser/ui/webui/help/help_handler.cc base::ASCIIToUTF16(chrome::kChromeUIOSCreditsURL)); base 256 chrome/browser/ui/webui/help/help_handler.cc base::string16 product_name = l10n_util::GetStringUTF16(IDS_PRODUCT_OS_NAME); base 274 chrome/browser/ui/webui/help/help_handler.cc base::string16 tos = l10n_util::GetStringFUTF16( base 275 chrome/browser/ui/webui/help/help_handler.cc IDS_ABOUT_TERMS_OF_SERVICE, base::UTF8ToUTF16(chrome::kChromeUITermsURL)); base 295 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::OnPageLoaded, base::Unretained(this))); base 297 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::RelaunchNow, base::Unretained(this))); base 299 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::OpenFeedbackDialog, base::Unretained(this))); base 301 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::OpenHelpPage, base::Unretained(this))); base 304 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::SetChannel, base::Unretained(this))); base 306 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::RelaunchAndPowerwash, base::Unretained(this))); base 310 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::PromoteUpdater, base::Unretained(this))); base 321 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::SetUpdateStatus, base::Unretained(this)) base 323 chrome/browser/ui/webui/help/help_handler.cc , base::Bind(&HelpHandler::SetPromotionState, base::Unretained(this)) base 333 chrome/browser/ui/webui/help/help_handler.cc void HelpHandler::OnPageLoaded(const base::ListValue* args) { base 338 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::OnOSVersion, base::Unretained(this)), base 341 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::OnOSFirmware, base::Unretained(this)), base 346 chrome/browser/ui/webui/help/help_handler.cc base::FundamentalValue(CanChangeChannel())); base 348 chrome/browser/ui/webui/help/help_handler.cc base::Time build_time = base::SysInfo::GetLsbReleaseTime(); base 349 chrome/browser/ui/webui/help/help_handler.cc base::string16 build_date = base::TimeFormatFriendlyDate(build_time); base 351 chrome/browser/ui/webui/help/help_handler.cc base::StringValue(build_date)); base 355 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::SetUpdateStatus, base::Unretained(this)) base 357 chrome/browser/ui/webui/help/help_handler.cc , base::Bind(&HelpHandler::SetPromotionState, base::Unretained(this)) base 364 chrome/browser/ui/webui/help/help_handler.cc base::FundamentalValue(ObsoleteSystemMac::Is32BitObsoleteNowOrSoon() && base 368 chrome/browser/ui/webui/help/help_handler.cc base::FundamentalValue(ObsoleteSystemMac::Is32BitObsoleteNowOrSoon() && base 375 chrome/browser/ui/webui/help/help_handler.cc base::FundamentalValue(IsEnterpriseManaged())); base 380 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::OnCurrentChannel, weak_factory_.GetWeakPtr())); base 382 chrome/browser/ui/webui/help/help_handler.cc base::Bind(&HelpHandler::OnTargetChannel, weak_factory_.GetWeakPtr())); base 387 chrome/browser/ui/webui/help/help_handler.cc void HelpHandler::PromoteUpdater(const base::ListValue* args) { base 392 chrome/browser/ui/webui/help/help_handler.cc void HelpHandler::RelaunchNow(const base::ListValue* args) { base 397 chrome/browser/ui/webui/help/help_handler.cc void HelpHandler::OpenFeedbackDialog(const base::ListValue* args) { base 404 chrome/browser/ui/webui/help/help_handler.cc void HelpHandler::OpenHelpPage(const base::ListValue* args) { base 413 chrome/browser/ui/webui/help/help_handler.cc void HelpHandler::SetChannel(const base::ListValue* args) { base 421 chrome/browser/ui/webui/help/help_handler.cc base::string16 channel; base 429 chrome/browser/ui/webui/help/help_handler.cc version_updater_->SetChannel(base::UTF16ToUTF8(channel), base 433 chrome/browser/ui/webui/help/help_handler.cc version_updater_->CheckForUpdate(base::Bind(&HelpHandler::SetUpdateStatus, base 434 chrome/browser/ui/webui/help/help_handler.cc base::Unretained(this))); base 438 chrome/browser/ui/webui/help/help_handler.cc void HelpHandler::RelaunchAndPowerwash(const base::ListValue* args) { base 456 chrome/browser/ui/webui/help/help_handler.cc int progress, const base::string16& message) { base 485 chrome/browser/ui/webui/help/help_handler.cc base::StringValue(status_str), base 486 chrome/browser/ui/webui/help/help_handler.cc base::StringValue(message)); base 490 chrome/browser/ui/webui/help/help_handler.cc base::FundamentalValue(progress)); base 496 chrome/browser/ui/webui/help/help_handler.cc base::string16 types_msg = GetAllowedConnectionTypesMessage(); base 500 chrome/browser/ui/webui/help/help_handler.cc base::StringValue(types_msg)); base 504 chrome/browser/ui/webui/help/help_handler.cc base::FundamentalValue(false)); base 509 chrome/browser/ui/webui/help/help_handler.cc base::FundamentalValue(false)); base 530 chrome/browser/ui/webui/help/help_handler.cc base::StringValue(state_str)); base 537 chrome/browser/ui/webui/help/help_handler.cc base::StringValue(version)); base 542 chrome/browser/ui/webui/help/help_handler.cc base::StringValue(firmware)); base 547 chrome/browser/ui/webui/help/help_handler.cc "help.HelpPage.updateCurrentChannel", base::StringValue(channel)); base 552 chrome/browser/ui/webui/help/help_handler.cc "help.HelpPage.updateTargetChannel", base::StringValue(channel)); base 45 chrome/browser/ui/webui/help/help_handler.h void OnPageLoaded(const base::ListValue* args); base 49 chrome/browser/ui/webui/help/help_handler.h void PromoteUpdater(const base::ListValue* args); base 53 chrome/browser/ui/webui/help/help_handler.h void RelaunchNow(const base::ListValue* args); base 56 chrome/browser/ui/webui/help/help_handler.h void OpenFeedbackDialog(const base::ListValue* args); base 59 chrome/browser/ui/webui/help/help_handler.h void OpenHelpPage(const base::ListValue* args); base 63 chrome/browser/ui/webui/help/help_handler.h void SetChannel(const base::ListValue* args); base 66 chrome/browser/ui/webui/help/help_handler.h void RelaunchAndPowerwash(const base::ListValue* args); base 71 chrome/browser/ui/webui/help/help_handler.h const base::string16& fail_message); base 97 chrome/browser/ui/webui/help/help_handler.h base::CancelableTaskTracker tracker_; base 101 chrome/browser/ui/webui/help/help_handler.h base::WeakPtrFactory<HelpHandler> weak_factory_; base 32 chrome/browser/ui/webui/help/help_utils_chromeos.cc const base::Value* raw_types_value = base 36 chrome/browser/ui/webui/help/help_utils_chromeos.cc const base::ListValue* types_value; base 50 chrome/browser/ui/webui/help/help_utils_chromeos.cc base::string16 GetConnectionTypeAsUTF16(const std::string& type) { base 64 chrome/browser/ui/webui/help/help_utils_chromeos.cc return base::string16(); base 18 chrome/browser/ui/webui/help/help_utils_chromeos.h base::string16 GetConnectionTypeAsUTF16(const std::string& type); base 40 chrome/browser/ui/webui/help/version_updater.h typedef base::Callback<void(const std::string&)> ChannelCallback; base 46 chrome/browser/ui/webui/help/version_updater.h typedef base::Callback<void(Status, int, const base::string16&)> base 51 chrome/browser/ui/webui/help/version_updater.h typedef base::Callback<void(PromotionState)> PromoteCallback; base 14 chrome/browser/ui/webui/help/version_updater_basic.cc status_callback.Run(NEARLY_UPDATED, 0, base::string16()); base 16 chrome/browser/ui/webui/help/version_updater_basic.cc status_callback.Run(DISABLED, 0, base::string16()); base 69 chrome/browser/ui/webui/help/version_updater_chromeos.cc const base::Value* update_disabled_value = base 104 chrome/browser/ui/webui/help/version_updater_chromeos.cc base::string16 message = base 120 chrome/browser/ui/webui/help/version_updater_chromeos.cc base::Bind(&VersionUpdaterCros::OnUpdateCheck, base 163 chrome/browser/ui/webui/help/version_updater_chromeos.cc base::string16 message; base 215 chrome/browser/ui/webui/help/version_updater_chromeos.cc callback_.Run(UPDATED, 0, base::string16()); base 45 chrome/browser/ui/webui/help/version_updater_chromeos.h base::WeakPtrFactory<VersionUpdaterCros> weak_ptr_factory_; base 53 chrome/browser/ui/webui/help/version_updater_mac.h base::scoped_nsobject<KeystoneObserver> keystone_observer_; base 26 chrome/browser/ui/webui/help/version_updater_win.cc using base::UserMetricsAction; base 50 chrome/browser/ui/webui/help/version_updater_win.cc const base::string16& error_message, base 51 chrome/browser/ui/webui/help/version_updater_win.cc const base::string16& version) OVERRIDE; base 56 chrome/browser/ui/webui/help/version_updater_win.cc const base::string16& error_message); base 76 chrome/browser/ui/webui/help/version_updater_win.cc base::WeakPtrFactory<VersionUpdaterWin> weak_factory_; base 90 chrome/browser/ui/webui/help/version_updater_win.cc : public base::RefCountedThreadSafe<VersionReader> { base 93 chrome/browser/ui/webui/help/version_updater_win.cc const base::WeakPtr<VersionUpdaterWin>& version_updater) base 104 chrome/browser/ui/webui/help/version_updater_win.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 118 chrome/browser/ui/webui/help/version_updater_win.cc base::WeakPtr<VersionUpdaterWin> version_updater_; base 144 chrome/browser/ui/webui/help/version_updater_win.cc if (!(base::win::GetVersion() == base::win::VERSION_VISTA && base 145 chrome/browser/ui/webui/help/version_updater_win.cc (base::win::OSInfo::GetInstance()->service_pack().major == 0) && base 146 chrome/browser/ui/webui/help/version_updater_win.cc !base::win::UserAccountControlIsEnabled())) { base 151 chrome/browser/ui/webui/help/version_updater_win.cc base::string16()); base 163 chrome/browser/ui/webui/help/version_updater_win.cc const base::string16& error_message, const base::string16& version) { base 171 chrome/browser/ui/webui/help/version_updater_win.cc const base::string16& error_message) { base 177 chrome/browser/ui/webui/help/version_updater_win.cc base::string16 message; base 195 chrome/browser/ui/webui/help/version_updater_win.cc UpdateStatus(UPGRADE_STARTED, GOOGLE_UPDATE_NO_ERROR, base::string16()); base 205 chrome/browser/ui/webui/help/version_updater_win.cc BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind( base 259 chrome/browser/ui/webui/help/version_updater_win.cc callback_.Run(UPDATED, 0, base::string16()); base 262 chrome/browser/ui/webui/help/version_updater_win.cc callback_.Run(NEARLY_UPDATED, 0, base::string16()); base 143 chrome/browser/ui/webui/history_ui.cc base::UTF8ToUTF16(kIncognitoModeShortcut))); base 196 chrome/browser/ui/webui/history_ui.cc base::string16 getRelativeDateLocalized(const base::Time& visit_time) { base 197 chrome/browser/ui/webui/history_ui.cc base::Time midnight = base::Time::Now().LocalMidnight(); base 198 chrome/browser/ui/webui/history_ui.cc base::string16 date_str = ui::TimeFormat::RelativeDate(visit_time, &midnight); base 200 chrome/browser/ui/webui/history_ui.cc date_str = base::TimeFormatFriendlyDate(visit_time); base 205 chrome/browser/ui/webui/history_ui.cc base::TimeFormatFriendlyDate(visit_time)); base 212 chrome/browser/ui/webui/history_ui.cc void normalizeMonths(base::Time::Exploded* exploded) { base 266 chrome/browser/ui/webui/history_ui.cc const GURL& url, const base::string16& title, base::Time time, base 268 chrome/browser/ui/webui/history_ui.cc const base::string16& snippet, bool blocked_visit, base 290 chrome/browser/ui/webui/history_ui.cc base::DictionaryValue* result) const { base 294 chrome/browser/ui/webui/history_ui.cc base::string16 title_to_set(title); base 297 chrome/browser/ui/webui/history_ui.cc title_to_set = base::UTF8ToUTF16(url.spec()); base 304 chrome/browser/ui/webui/history_ui.cc if (base::i18n::IsRTL()) { base 306 chrome/browser/ui/webui/history_ui.cc base::i18n::WrapStringWithLTRFormatting(&title_to_set); base 308 chrome/browser/ui/webui/history_ui.cc base::i18n::AdjustStringForLocaleDirection(&title_to_set); base 313 chrome/browser/ui/webui/history_ui.cc scoped_ptr<base::DictionaryValue> BrowsingHistoryHandler::HistoryEntry::ToValue( base 317 chrome/browser/ui/webui/history_ui.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 320 chrome/browser/ui/webui/history_ui.cc base::string16 domain = net::IDNToUnicode(url.host(), accept_languages); base 324 chrome/browser/ui/webui/history_ui.cc domain = base::UTF8ToUTF16(url.scheme() + ":"); base 330 chrome/browser/ui/webui/history_ui.cc scoped_ptr<base::ListValue> timestamps(new base::ListValue); base 333 chrome/browser/ui/webui/history_ui.cc timestamps->AppendDouble(base::Time::FromInternalValue(*it).ToJsTime()); base 339 chrome/browser/ui/webui/history_ui.cc result->SetString("dateShort", base::TimeFormatShortDate(time)); base 346 chrome/browser/ui/webui/history_ui.cc base::Time midnight = base::Time::Now().LocalMidnight(); base 347 chrome/browser/ui/webui/history_ui.cc base::string16 date_str = ui::TimeFormat::RelativeDate(time, &midnight); base 349 chrome/browser/ui/webui/history_ui.cc date_str = base::TimeFormatFriendlyDate(time); base 354 chrome/browser/ui/webui/history_ui.cc base::TimeFormatFriendlyDate(time)); base 357 chrome/browser/ui/webui/history_ui.cc result->SetString("dateTimeOfDay", base::TimeFormatTimeOfDay(time)); base 410 chrome/browser/ui/webui/history_ui.cc base::Bind(&BrowsingHistoryHandler::HandleQueryHistory, base 411 chrome/browser/ui/webui/history_ui.cc base::Unretained(this))); base 413 chrome/browser/ui/webui/history_ui.cc base::Bind(&BrowsingHistoryHandler::HandleRemoveVisits, base 414 chrome/browser/ui/webui/history_ui.cc base::Unretained(this))); base 416 chrome/browser/ui/webui/history_ui.cc base::Bind(&BrowsingHistoryHandler::HandleClearBrowsingData, base 417 chrome/browser/ui/webui/history_ui.cc base::Unretained(this))); base 419 chrome/browser/ui/webui/history_ui.cc base::Bind(&BrowsingHistoryHandler::HandleRemoveBookmark, base 420 chrome/browser/ui/webui/history_ui.cc base::Unretained(this))); base 424 chrome/browser/ui/webui/history_ui.cc const base::ListValue* value, base 447 chrome/browser/ui/webui/history_ui.cc base::string16 search_text, const history::QueryOptions& options) { base 462 chrome/browser/ui/webui/history_ui.cc base::Bind(&BrowsingHistoryHandler::QueryComplete, base 463 chrome/browser/ui/webui/history_ui.cc base::Unretained(this), search_text, options)); base 472 chrome/browser/ui/webui/history_ui.cc base::Bind(&BrowsingHistoryHandler::WebHistoryQueryComplete, base 473 chrome/browser/ui/webui/history_ui.cc base::Unretained(this), base 475 chrome/browser/ui/webui/history_ui.cc base::TimeTicks::Now())); base 478 chrome/browser/ui/webui/history_ui.cc FROM_HERE, base::TimeDelta::FromSeconds(kWebHistoryTimeoutSeconds), base 486 chrome/browser/ui/webui/history_ui.cc void BrowsingHistoryHandler::HandleQueryHistory(const base::ListValue* args) { base 499 chrome/browser/ui/webui/history_ui.cc base::string16 search_text = ExtractStringValue(args); base 522 chrome/browser/ui/webui/history_ui.cc options.end_time = base::Time::FromJsTime(end_time); base 533 chrome/browser/ui/webui/history_ui.cc void BrowsingHistoryHandler::HandleRemoveVisits(const base::ListValue* args) { base 549 chrome/browser/ui/webui/history_ui.cc base::Time now = base::Time::Now(); base 554 chrome/browser/ui/webui/history_ui.cc for (base::ListValue::const_iterator it = args->begin(); base 556 chrome/browser/ui/webui/history_ui.cc base::DictionaryValue* deletion = NULL; base 557 chrome/browser/ui/webui/history_ui.cc base::string16 url; base 558 chrome/browser/ui/webui/history_ui.cc base::ListValue* timestamps = NULL; base 578 chrome/browser/ui/webui/history_ui.cc for (base::ListValue::const_iterator ts_iterator = timestamps->begin(); base 584 chrome/browser/ui/webui/history_ui.cc base::Time visit_time = base::Time::FromJsTime(timestamp); base 599 chrome/browser/ui/webui/history_ui.cc (expire_args->begin_time - base::Time::UnixEpoch()).InMicroseconds()); base 603 chrome/browser/ui/webui/history_ui.cc base::Time end_time = std::min(expire_args->end_time, now); base 607 chrome/browser/ui/webui/history_ui.cc (end_time - base::Time::UnixEpoch()).InMicroseconds() - 1); base 616 chrome/browser/ui/webui/history_ui.cc base::Bind(&BrowsingHistoryHandler::RemoveComplete, base 617 chrome/browser/ui/webui/history_ui.cc base::Unretained(this)), base 624 chrome/browser/ui/webui/history_ui.cc base::Bind(&BrowsingHistoryHandler::RemoveWebHistoryComplete, base 643 chrome/browser/ui/webui/history_ui.cc const base::ListValue* args) { base 658 chrome/browser/ui/webui/history_ui.cc void BrowsingHistoryHandler::HandleRemoveBookmark(const base::ListValue* args) { base 659 chrome/browser/ui/webui/history_ui.cc base::string16 url = ExtractStringValue(args); base 679 chrome/browser/ui/webui/history_ui.cc base::Time current_day_midnight; base 743 chrome/browser/ui/webui/history_ui.cc base::ListValue results_value; base 746 chrome/browser/ui/webui/history_ui.cc scoped_ptr<base::Value> value( base 759 chrome/browser/ui/webui/history_ui.cc const base::string16& search_text, base 793 chrome/browser/ui/webui/history_ui.cc base::TimeDelta::FromDays(1))); base 796 chrome/browser/ui/webui/history_ui.cc getRelativeDateLocalized(base::Time::Now())); base 803 chrome/browser/ui/webui/history_ui.cc const base::string16& search_text, base 805 chrome/browser/ui/webui/history_ui.cc base::TimeTicks start_time, base 807 chrome/browser/ui/webui/history_ui.cc const base::DictionaryValue* results_value) { base 808 chrome/browser/ui/webui/history_ui.cc base::TimeDelta delta = base::TimeTicks::Now() - start_time; base 824 chrome/browser/ui/webui/history_ui.cc const base::ListValue* events = NULL; base 828 chrome/browser/ui/webui/history_ui.cc const base::DictionaryValue* event = NULL; base 829 chrome/browser/ui/webui/history_ui.cc const base::DictionaryValue* result = NULL; base 830 chrome/browser/ui/webui/history_ui.cc const base::ListValue* results = NULL; base 831 chrome/browser/ui/webui/history_ui.cc const base::ListValue* ids = NULL; base 832 chrome/browser/ui/webui/history_ui.cc base::string16 url; base 833 chrome/browser/ui/webui/history_ui.cc base::string16 title; base 834 chrome/browser/ui/webui/history_ui.cc base::Time visit_time; base 851 chrome/browser/ui/webui/history_ui.cc const base::DictionaryValue* id = NULL; base 857 chrome/browser/ui/webui/history_ui.cc base::StringToInt64(timestamp_string, ×tamp_usec))) { base 862 chrome/browser/ui/webui/history_ui.cc base::Time time = base::Time::UnixEpoch() + base 863 chrome/browser/ui/webui/history_ui.cc base::TimeDelta::FromMicroseconds(timestamp_usec); base 877 chrome/browser/ui/webui/history_ui.cc base::string16(), base 911 chrome/browser/ui/webui/history_ui.cc base::Time midnight = base::Time::Now().LocalMidnight() + base 912 chrome/browser/ui/webui/history_ui.cc base::TimeDelta::FromDays(1); base 914 chrome/browser/ui/webui/history_ui.cc base::TimeDelta::FromDays(7 * offset); base 916 chrome/browser/ui/webui/history_ui.cc base::TimeDelta::FromDays(7 * (offset + 1)); base 923 chrome/browser/ui/webui/history_ui.cc base::Time::Exploded exploded; base 924 chrome/browser/ui/webui/history_ui.cc base::Time::Now().LocalMidnight().LocalExplode(&exploded); base 928 chrome/browser/ui/webui/history_ui.cc options->begin_time = base::Time::FromLocalExploded(exploded); base 933 chrome/browser/ui/webui/history_ui.cc options->end_time = base::Time(); base 942 chrome/browser/ui/webui/history_ui.cc options->end_time = base::Time::FromLocalExploded(exploded); base 947 chrome/browser/ui/webui/history_ui.cc options->begin_time = base::Time::FromLocalExploded(exploded); base 1009 chrome/browser/ui/webui/history_ui.cc const GURL HistoryUI::GetHistoryURLWithSearchText(const base::string16& text) { base 1011 chrome/browser/ui/webui/history_ui.cc net::EscapeQueryParamValue(base::UTF16ToUTF8(text), true)); base 1015 chrome/browser/ui/webui/history_ui.cc base::RefCountedMemory* HistoryUI::GetFaviconResourceBytes( base 43 chrome/browser/ui/webui/history_ui.h HistoryEntry(EntryType type, const GURL& url, const base::string16& title, base 44 chrome/browser/ui/webui/history_ui.h base::Time time, const std::string& client_id, base 45 chrome/browser/ui/webui/history_ui.h bool is_search_result, const base::string16& snippet, base 51 chrome/browser/ui/webui/history_ui.h void SetUrlAndTitle(base::DictionaryValue* result) const; base 54 chrome/browser/ui/webui/history_ui.h scoped_ptr<base::DictionaryValue> ToValue( base 67 chrome/browser/ui/webui/history_ui.h base::string16 title; // Title of the entry. May be empty. base 71 chrome/browser/ui/webui/history_ui.h base::Time time; base 83 chrome/browser/ui/webui/history_ui.h base::string16 snippet; base 99 chrome/browser/ui/webui/history_ui.h void HandleQueryHistory(const base::ListValue* args); base 102 chrome/browser/ui/webui/history_ui.h void HandleRemoveVisits(const base::ListValue* args); base 105 chrome/browser/ui/webui/history_ui.h void HandleClearBrowsingData(const base::ListValue* args); base 108 chrome/browser/ui/webui/history_ui.h void HandleRemoveBookmark(const base::ListValue* args); base 133 chrome/browser/ui/webui/history_ui.h void QueryHistory(base::string16 search_text, base 145 chrome/browser/ui/webui/history_ui.h void QueryComplete(const base::string16& search_text, base 151 chrome/browser/ui/webui/history_ui.h void WebHistoryQueryComplete(const base::string16& search_text, base 153 chrome/browser/ui/webui/history_ui.h base::TimeTicks start_time, base 155 chrome/browser/ui/webui/history_ui.h const base::DictionaryValue* results_value); base 164 chrome/browser/ui/webui/history_ui.h const base::ListValue* value, int index, int* out_int); base 188 chrome/browser/ui/webui/history_ui.h base::CancelableTaskTracker delete_task_tracker_; base 194 chrome/browser/ui/webui/history_ui.h base::DictionaryValue results_info_value_; base 203 chrome/browser/ui/webui/history_ui.h base::OneShotTimer<BrowsingHistoryHandler> web_history_timer_; base 205 chrome/browser/ui/webui/history_ui.h base::WeakPtrFactory<BrowsingHistoryHandler> weak_factory_; base 215 chrome/browser/ui/webui/history_ui.h static const GURL GetHistoryURLWithSearchText(const base::string16& text); base 217 chrome/browser/ui/webui/history_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 19 chrome/browser/ui/webui/history_ui_unittest.cc const base::Time baseline_time = base::Time::UnixEpoch().LocalMidnight(); base 30 chrome/browser/ui/webui/history_ui_unittest.cc base::TimeDelta::FromHours(test_results[i].hour_offset); base 42 chrome/browser/ui/webui/history_ui_unittest.cc base::Time correct_time = base 43 chrome/browser/ui/webui/history_ui_unittest.cc baseline_time + base::TimeDelta::FromHours(correct_result.hour_offset); base 67 chrome/browser/ui/webui/identity_internals_ui.cc base::ListValue* GetScopes( base 71 chrome/browser/ui/webui/identity_internals_ui.cc const base::string16 GetStatus( base 83 chrome/browser/ui/webui/identity_internals_ui.cc base::DictionaryValue* GetInfoForToken( base 90 chrome/browser/ui/webui/identity_internals_ui.cc void GetInfoForAllTokens(const base::ListValue* args); base 95 chrome/browser/ui/webui/identity_internals_ui.cc void RevokeToken(const base::ListValue* args); base 150 chrome/browser/ui/webui/identity_internals_ui.cc base::ListValue result; base 173 chrome/browser/ui/webui/identity_internals_ui.cc base::ListValue* IdentityInternalsUIMessageHandler::GetScopes( base 175 chrome/browser/ui/webui/identity_internals_ui.cc base::ListValue* scopes_value = new base::ListValue(); base 184 chrome/browser/ui/webui/identity_internals_ui.cc const base::string16 IdentityInternalsUIMessageHandler::GetStatus( base 197 chrome/browser/ui/webui/identity_internals_ui.cc return base::string16(); base 202 chrome/browser/ui/webui/identity_internals_ui.cc return base::UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime( base 206 chrome/browser/ui/webui/identity_internals_ui.cc base::DictionaryValue* IdentityInternalsUIMessageHandler::GetInfoForToken( base 209 chrome/browser/ui/webui/identity_internals_ui.cc base::DictionaryValue* token_data = new base::DictionaryValue(); base 221 chrome/browser/ui/webui/identity_internals_ui.cc const base::ListValue* args) { base 222 chrome/browser/ui/webui/identity_internals_ui.cc base::ListValue results; base 237 chrome/browser/ui/webui/identity_internals_ui.cc base::Bind(&IdentityInternalsUIMessageHandler::GetInfoForAllTokens, base 238 chrome/browser/ui/webui/identity_internals_ui.cc base::Unretained(this))); base 240 chrome/browser/ui/webui/identity_internals_ui.cc base::Bind(&IdentityInternalsUIMessageHandler::RevokeToken, base 241 chrome/browser/ui/webui/identity_internals_ui.cc base::Unretained(this))); base 245 chrome/browser/ui/webui/identity_internals_ui.cc const base::ListValue* args) { base 26 chrome/browser/ui/webui/identity_internals_ui_browsertest.cc const std::string token_number = base::IntToString(number); base 52 chrome/browser/ui/webui/identity_internals_ui_browsertest.cc base::TimeDelta::FromSeconds(time_to_live)); base 58 chrome/browser/ui/webui/inspect_ui.cc void HandleInitUICommand(const base::ListValue* args); base 59 chrome/browser/ui/webui/inspect_ui.cc void HandleInspectCommand(const base::ListValue* args); base 60 chrome/browser/ui/webui/inspect_ui.cc void HandleActivateCommand(const base::ListValue* args); base 61 chrome/browser/ui/webui/inspect_ui.cc void HandleCloseCommand(const base::ListValue* args); base 62 chrome/browser/ui/webui/inspect_ui.cc void HandleReloadCommand(const base::ListValue* args); base 63 chrome/browser/ui/webui/inspect_ui.cc void HandleOpenCommand(const base::ListValue* args); base 65 chrome/browser/ui/webui/inspect_ui.cc const base::ListValue* args); base 66 chrome/browser/ui/webui/inspect_ui.cc void HandlePortForwardingConfigCommand(const base::ListValue* args); base 75 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectMessageHandler::HandleInitUICommand, base 76 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 78 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectMessageHandler::HandleInspectCommand, base 79 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 81 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectMessageHandler::HandleActivateCommand, base 82 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 84 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectMessageHandler::HandleCloseCommand, base 85 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 87 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectMessageHandler::HandleBooleanPrefChanged, base 88 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this), base 91 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectMessageHandler::HandleBooleanPrefChanged, base 92 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this), base 95 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectMessageHandler::HandlePortForwardingConfigCommand, base 96 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 98 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectMessageHandler::HandleReloadCommand, base 99 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 101 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectMessageHandler::HandleOpenCommand, base 102 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 105 chrome/browser/ui/webui/inspect_ui.cc void InspectMessageHandler::HandleInitUICommand(const base::ListValue*) { base 109 chrome/browser/ui/webui/inspect_ui.cc static bool ParseStringArgs(const base::ListValue* args, base 119 chrome/browser/ui/webui/inspect_ui.cc void InspectMessageHandler::HandleInspectCommand(const base::ListValue* args) { base 126 chrome/browser/ui/webui/inspect_ui.cc void InspectMessageHandler::HandleActivateCommand(const base::ListValue* args) { base 133 chrome/browser/ui/webui/inspect_ui.cc void InspectMessageHandler::HandleCloseCommand(const base::ListValue* args) { base 140 chrome/browser/ui/webui/inspect_ui.cc void InspectMessageHandler::HandleReloadCommand(const base::ListValue* args) { base 147 chrome/browser/ui/webui/inspect_ui.cc void InspectMessageHandler::HandleOpenCommand(const base::ListValue* args) { base 157 chrome/browser/ui/webui/inspect_ui.cc const base::ListValue* args) { base 168 chrome/browser/ui/webui/inspect_ui.cc const base::ListValue* args) { base 173 chrome/browser/ui/webui/inspect_ui.cc const base::DictionaryValue* dict_src; base 240 chrome/browser/ui/webui/inspect_ui.cc content::RecordAction(base::UserMetricsAction("InspectDevices")); base 261 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectUI::PopulateTargets, base::Unretained(this)); base 276 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectUI::UpdateDiscoverUsbDevicesEnabled, base 277 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 279 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectUI::UpdatePortForwardingEnabled, base 280 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 282 chrome/browser/ui/webui/inspect_ui.cc base::Bind(&InspectUI::UpdatePortForwardingConfig, base 283 chrome/browser/ui/webui/inspect_ui.cc base::Unretained(this))); base 339 chrome/browser/ui/webui/inspect_ui.cc const base::DictionaryValue* config; base 351 chrome/browser/ui/webui/inspect_ui.cc base::DictionaryValue default_config; base 357 chrome/browser/ui/webui/inspect_ui.cc const base::Value* InspectUI::GetPrefValue(const char* name) { base 389 chrome/browser/ui/webui/inspect_ui.cc scoped_ptr<base::ListValue> targets) { base 390 chrome/browser/ui/webui/inspect_ui.cc scoped_ptr<base::Value> source_value(base::Value::CreateStringValue(source)); base 18 chrome/browser/ui/webui/inspect_ui.h namespace base { base 61 chrome/browser/ui/webui/inspect_ui.h const base::Value* GetPrefValue(const char* name); base 73 chrome/browser/ui/webui/inspect_ui.h scoped_ptr<base::ListValue> targets); base 30 chrome/browser/ui/webui/inspect_ui_browsertest.cc AddLibrary(base::FilePath(FILE_PATH_LITERAL("inspect_ui_test.js"))); base 41 chrome/browser/ui/webui/inspect_ui_browsertest.cc new base::StringValue("#pages"), base 42 chrome/browser/ui/webui/inspect_ui_browsertest.cc new base::StringValue("populateWebContentsTargets"), base 43 chrome/browser/ui/webui/inspect_ui_browsertest.cc new base::StringValue(chrome::kChromeUIInspectURL))); base 59 chrome/browser/ui/webui/inspect_ui_browsertest.cc new base::StringValue("#workers"), base 60 chrome/browser/ui/webui/inspect_ui_browsertest.cc new base::StringValue("populateWorkerTargets"), base 61 chrome/browser/ui/webui/inspect_ui_browsertest.cc new base::StringValue(kSharedWorkerJs))); base 65 chrome/browser/ui/webui/inspect_ui_browsertest.cc new base::StringValue("#pages"), base 66 chrome/browser/ui/webui/inspect_ui_browsertest.cc new base::StringValue("populateWebContentsTargets"), base 67 chrome/browser/ui/webui/inspect_ui_browsertest.cc new base::StringValue(kSharedWorkerTestPage))); base 38 chrome/browser/ui/webui/instant_ui.cc base::Time::Exploded exploded; base 39 chrome/browser/ui/webui/instant_ui.cc base::Time::FromInternalValue(time).UTCExplode(&exploded); base 40 chrome/browser/ui/webui/instant_ui.cc return base::StringPrintf("%04d-%02d-%02d %02d:%02d:%02d.%03d", base 51 chrome/browser/ui/webui/instant_ui.cc public base::SupportsWeakPtr<InstantUIMessageHandler> { base 60 chrome/browser/ui/webui/instant_ui.cc void GetPreferenceValue(const base::ListValue* args); base 61 chrome/browser/ui/webui/instant_ui.cc void SetPreferenceValue(const base::ListValue* args); base 62 chrome/browser/ui/webui/instant_ui.cc void GetDebugInfo(const base::ListValue* value); base 63 chrome/browser/ui/webui/instant_ui.cc void ClearDebugInfo(const base::ListValue* value); base 75 chrome/browser/ui/webui/instant_ui.cc base::Bind(&InstantUIMessageHandler::GetPreferenceValue, base 76 chrome/browser/ui/webui/instant_ui.cc base::Unretained(this))); base 79 chrome/browser/ui/webui/instant_ui.cc base::Bind(&InstantUIMessageHandler::SetPreferenceValue, base 80 chrome/browser/ui/webui/instant_ui.cc base::Unretained(this))); base 83 chrome/browser/ui/webui/instant_ui.cc base::Bind(&InstantUIMessageHandler::GetDebugInfo, base 84 chrome/browser/ui/webui/instant_ui.cc base::Unretained(this))); base 87 chrome/browser/ui/webui/instant_ui.cc base::Bind(&InstantUIMessageHandler::ClearDebugInfo, base 88 chrome/browser/ui/webui/instant_ui.cc base::Unretained(this))); base 91 chrome/browser/ui/webui/instant_ui.cc void InstantUIMessageHandler::GetPreferenceValue(const base::ListValue* args) { base 95 chrome/browser/ui/webui/instant_ui.cc base::StringValue pref_name_value(pref_name); base 98 chrome/browser/ui/webui/instant_ui.cc base::StringValue arg(prefs->GetString(pref_name.c_str())); base 104 chrome/browser/ui/webui/instant_ui.cc void InstantUIMessageHandler::SetPreferenceValue(const base::ListValue* args) { base 117 chrome/browser/ui/webui/instant_ui.cc void InstantUIMessageHandler::GetDebugInfo(const base::ListValue* args) { base 131 chrome/browser/ui/webui/instant_ui.cc base::DictionaryValue data; base 132 chrome/browser/ui/webui/instant_ui.cc base::ListValue* entries = new base::ListValue(); base 135 chrome/browser/ui/webui/instant_ui.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 146 chrome/browser/ui/webui/instant_ui.cc void InstantUIMessageHandler::ClearDebugInfo(const base::ListValue* args) { base 34 chrome/browser/ui/webui/invalidations_message_handler.cc base::Bind(&InvalidationsMessageHandler::UIReady, base 35 chrome/browser/ui/webui/invalidations_message_handler.cc base::Unretained(this))); base 38 chrome/browser/ui/webui/invalidations_message_handler.cc base::Bind(&InvalidationsMessageHandler::HandleRequestDetailedStatus, base 39 chrome/browser/ui/webui/invalidations_message_handler.cc base::Unretained(this))); base 42 chrome/browser/ui/webui/invalidations_message_handler.cc void InvalidationsMessageHandler::UIReady(const base::ListValue* args) { base 54 chrome/browser/ui/webui/invalidations_message_handler.cc const base::ListValue* args) { base 59 chrome/browser/ui/webui/invalidations_message_handler.cc invalidation_service->RequestDetailedStatus(base::Bind( base 65 chrome/browser/ui/webui/invalidations_message_handler.cc void InvalidationsMessageHandler::UpdateContent(const base::ListValue* args) { base 72 chrome/browser/ui/webui/invalidations_message_handler.cc base::ListValue list_of_handlers; base 76 chrome/browser/ui/webui/invalidations_message_handler.cc list_of_handlers.Append(new base::StringValue(*it)); base 86 chrome/browser/ui/webui/invalidations_message_handler.cc "chrome.invalidations.updateInvalidatorState", base::StringValue(state)); base 92 chrome/browser/ui/webui/invalidations_message_handler.cc base::ListValue list_of_objects; base 96 chrome/browser/ui/webui/invalidations_message_handler.cc scoped_ptr<base::DictionaryValue> dic(new base::DictionaryValue()); base 103 chrome/browser/ui/webui/invalidations_message_handler.cc base::StringValue(handler_name), base 107 chrome/browser/ui/webui/invalidations_message_handler.cc const base::DictionaryValue& details) {} base 111 chrome/browser/ui/webui/invalidations_message_handler.cc scoped_ptr<base::ListValue> invalidations_list = new_invalidations.ToValue(); base 117 chrome/browser/ui/webui/invalidations_message_handler.cc const base::DictionaryValue& network_details) { base 41 chrome/browser/ui/webui/invalidations_message_handler.h virtual void OnDebugMessage(const base::DictionaryValue& details) OVERRIDE; base 44 chrome/browser/ui/webui/invalidations_message_handler.h virtual void OnDetailedStatus(const base::DictionaryValue& network_details) base 51 chrome/browser/ui/webui/invalidations_message_handler.h void UpdateContent(const base::ListValue* args); base 54 chrome/browser/ui/webui/invalidations_message_handler.h void UIReady(const base::ListValue* args); base 57 chrome/browser/ui/webui/invalidations_message_handler.h void HandleRequestDetailedStatus(const base::ListValue* args); base 65 chrome/browser/ui/webui/invalidations_message_handler.h base::WeakPtrFactory<InvalidationsMessageHandler> weak_ptr_factory_; base 290 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::MessageLoop::current()->Quit(); base 298 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::MessageLoop::current()->Run(); base 333 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc return base::Bind(&MockableFakeURLFetcherCreator::CreateFakeURLFetcher, base 334 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::Unretained(this)); base 427 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc AddLibrary(base::FilePath(FILE_PATH_LITERAL("local_discovery_ui_test.js"))); base 434 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc void RunFor(base::TimeDelta time_period) { base 435 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::CancelableCallback<void()> callback(base::Bind( base 436 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc &base::MessageLoop::Quit, base::Unretained( base 437 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::MessageLoop::current()))); base 438 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 441 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::MessageLoop::current()->Run(); base 487 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 494 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc RunFor(base::TimeDelta::FromMilliseconds(1100)); base 510 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 563 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 90 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc web_ui()->RegisterMessageCallback("start", base::Bind( base 92 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 93 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc web_ui()->RegisterMessageCallback("isVisible", base::Bind( base 95 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 96 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc web_ui()->RegisterMessageCallback("registerDevice", base::Bind( base 98 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 99 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc web_ui()->RegisterMessageCallback("cancelRegistration", base::Bind( base 101 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 102 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc web_ui()->RegisterMessageCallback("requestPrinterList", base::Bind( base 104 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 105 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc web_ui()->RegisterMessageCallback("openCloudPrintURL", base::Bind( base 107 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 108 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc web_ui()->RegisterMessageCallback("showSyncUI", base::Bind( base 110 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 117 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Bind(&LocalDiscoveryUIHandler::ShowCloudPrintSetupDialog, base 118 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 121 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Bind(&LocalDiscoveryUIHandler::HandleDisableCloudPrintConnector, base 122 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 127 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc void LocalDiscoveryUIHandler::HandleStart(const base::ListValue* args) { base 156 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc void LocalDiscoveryUIHandler::HandleIsVisible(const base::ListValue* args) { base 164 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const base::ListValue* args) { base 173 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Bind(&LocalDiscoveryUIHandler::StartRegisterHTTP, base 174 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this))); base 179 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const base::ListValue* args) { base 184 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const base::ListValue* args) { base 202 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const base::ListValue* args) { base 219 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const base::ListValue* args) { base 261 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc GURL automated_claim_url(base::StringPrintf( base 288 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Bind(&LocalDiscoveryUIHandler::OnConfirmDone, base 289 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this)))); base 298 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const base::DictionaryValue* json) { base 357 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::DictionaryValue info; base 359 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::StringValue service_name(name); base 360 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc scoped_ptr<base::Value> null_value(base::Value::CreateNullValue()); base 379 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc scoped_ptr<base::Value> null_value(base::Value::CreateNullValue()); base 380 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::StringValue name_value(name); base 392 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::ListValue printer_object_list; base 442 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::DictionaryValue printer_value; base 490 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc scoped_ptr<base::DictionaryValue> LocalDiscoveryUIHandler::CreatePrinterInfo( base 492 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc scoped_ptr<base::DictionaryValue> return_value(new base::DictionaryValue); base 502 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::FundamentalValue logged_in_value(!GetSyncAccount().empty()); base 511 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Closure cloud_print_callback = base::Bind( base 513 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::Unretained(this)); base 540 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const base::ListValue* args) { base 542 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::UserMetricsAction("Options_EnableCloudPrintProxy")); base 553 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const base::ListValue* args) { base 555 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::UserMetricsAction("Options_DisableCloudPrintProxy")); base 572 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::FundamentalValue allowed(cloud_print_connector_allowed); base 579 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::FundamentalValue disabled(email.empty()); base 581 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::string16 label_str; base 590 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::UTF8ToUTF16(email)); base 592 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc base::StringValue label(label_str); base 60 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h const base::DictionaryValue* json) OVERRIDE; base 91 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h void HandleStart(const base::ListValue* args); base 94 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h void HandleIsVisible(const base::ListValue* args); base 97 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h void HandleRegisterDevice(const base::ListValue* args); base 100 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h void HandleCancelRegistration(const base::ListValue* args); base 103 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h void HandleRequestPrinterList(const base::ListValue* args); base 107 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h void HandleOpenCloudPrintURL(const base::ListValue* args); base 110 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h void HandleShowSyncUI(const base::ListValue* args); base 139 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h scoped_ptr<base::DictionaryValue> CreatePrinterInfo( base 152 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h void ShowCloudPrintSetupDialog(const base::ListValue* args); base 153 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h void HandleDisableCloudPrintConnector(const base::ListValue* args); base 96 chrome/browser/ui/webui/media/webrtc_logs_ui.cc void HandleRequestWebRtcLogs(const base::ListValue* args); base 105 chrome/browser/ui/webui/media/webrtc_logs_ui.cc base::FilePath log_dir_; base 133 chrome/browser/ui/webui/media/webrtc_logs_ui.cc base::Bind(&WebRtcLogsDOMHandler::HandleRequestWebRtcLogs, base 134 chrome/browser/ui/webui/media/webrtc_logs_ui.cc base::Unretained(this))); base 138 chrome/browser/ui/webui/media/webrtc_logs_ui.cc const base::ListValue* args) { base 155 chrome/browser/ui/webui/media/webrtc_logs_ui.cc base::ListValue upload_list; base 159 chrome/browser/ui/webui/media/webrtc_logs_ui.cc base::DictionaryValue* upload = new base::DictionaryValue(); base 162 chrome/browser/ui/webui/media/webrtc_logs_ui.cc base::string16 value_w; base 164 chrome/browser/ui/webui/media/webrtc_logs_ui.cc value_w = base::TimeFormatFriendlyDateAndTime(i->time); base 169 chrome/browser/ui/webui/media/webrtc_logs_ui.cc if (base::StringToDouble(i->local_id, &seconds_since_epoch)) { base 170 chrome/browser/ui/webui/media/webrtc_logs_ui.cc base::Time capture_time = base::Time::FromDoubleT(seconds_since_epoch); base 171 chrome/browser/ui/webui/media/webrtc_logs_ui.cc value_w = base::TimeFormatFriendlyDateAndTime(capture_time); base 175 chrome/browser/ui/webui/media/webrtc_logs_ui.cc base::FilePath::StringType value; base 185 chrome/browser/ui/webui/media/webrtc_logs_ui.cc base::StringValue version(version_info.Version()); base 11 chrome/browser/ui/webui/media/webrtc_logs_ui.h namespace base { base 33 chrome/browser/ui/webui/memory_internals/memory_internals_handler.cc base::Bind(&MemoryInternalsHandler::OnJSUpdate, base 34 chrome/browser/ui/webui/memory_internals/memory_internals_handler.cc base::Unretained(this))); base 37 chrome/browser/ui/webui/memory_internals/memory_internals_handler.cc void MemoryInternalsHandler::OnJSUpdate(const base::ListValue* list) { base 41 chrome/browser/ui/webui/memory_internals/memory_internals_handler.cc void MemoryInternalsHandler::OnUpdate(const base::string16& update) { base 14 chrome/browser/ui/webui/memory_internals/memory_internals_handler.h namespace base { base 30 chrome/browser/ui/webui/memory_internals/memory_internals_handler.h void OnJSUpdate(const base::ListValue* list); base 33 chrome/browser/ui/webui/memory_internals/memory_internals_handler.h void OnUpdate(const base::string16& update); base 52 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc typedef base::Callback<void(const ProcessData&)> DataCallback; base 70 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::DictionaryValue* FindProcessFromPid(base::ListValue* processes, base 71 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::ProcessId pid) { base 74 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::DictionaryValue* process; base 123 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc typedef base::Callback<void(const base::ProcessId pid, base 148 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc void RemoveWebContents(base::ProcessId) { base 163 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc const base::ProcessId* pid = base 164 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc content::Source<const base::ProcessId>(source).ptr(); base 181 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc : information_(new base::DictionaryValue()), base 183 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::Bind(&MemoryInternalsProxy::OnRendererAvailable, this))) {} base 195 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc void MemoryInternalsProxy::StartFetch(const base::ListValue* list) { base 201 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::Bind(&MemoryInternalsProxy::OnProcessAvailable, this))); base 226 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::ListValue* process_info = new base::ListValue(); base 227 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::ListValue* extension_info = new base::ListValue(); base 232 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::DictionaryValue* process = new base::DictionaryValue(); base 245 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::ListValue* titles = new base::ListValue(); base 258 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc void MemoryInternalsProxy::OnRendererAvailable(const base::ProcessId pid, base 265 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::ListValue* processes; base 271 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::DictionaryValue* process; base 289 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::ListValue* processes) { base 293 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc const base::ProcessId pid = base::GetProcId( base 297 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::DictionaryValue* process = FindProcessFromPid(processes, pid); base 302 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::ListValue* tabs; base 304 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc tabs = new base::ListValue(); base 308 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::DictionaryValue* tab = new base::DictionaryValue(); base 311 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::ListValue* histories = new base::ListValue(); base 318 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::DictionaryValue* history = new base::DictionaryValue(); base 322 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc history->SetInteger("time", (base::Time::Now() - base 330 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc information_->SetInteger("uptime", base::SysInfo::Uptime()); base 331 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc information_->SetString("os", base::SysInfo::OperatingSystemName()); base 333 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::SysInfo::OperatingSystemVersion()); base 339 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc const std::string& function, const base::Value& args) { base 342 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc std::vector<const base::Value*> args_vector(1, &args); base 343 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc base::string16 update = base 20 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.h namespace base { base 31 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.h : public base::RefCountedThreadSafe< base 43 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.h void StartFetch(const base::ListValue* list); base 48 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.h friend class base::DeleteHelper<MemoryInternalsProxy>; base 58 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.h void OnRendererAvailable(const base::ProcessId pid, base 67 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.h base::ListValue* processes); base 77 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.h const base::Value& args); base 80 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.h base::DictionaryValue* information_; base 23 chrome/browser/ui/webui/metrics_handler.cc using base::ListValue; base 24 chrome/browser/ui/webui/metrics_handler.cc using base::UserMetricsAction; base 33 chrome/browser/ui/webui/metrics_handler.cc base::Bind(&MetricsHandler::HandleRecordAction, base::Unretained(this))); base 36 chrome/browser/ui/webui/metrics_handler.cc base::Bind(&MetricsHandler::HandleRecordInHistogram, base 37 chrome/browser/ui/webui/metrics_handler.cc base::Unretained(this))); base 40 chrome/browser/ui/webui/metrics_handler.cc base::Bind(&MetricsHandler::HandleLogEventTime, base::Unretained(this))); base 43 chrome/browser/ui/webui/metrics_handler.cc base::Bind(&MetricsHandler::HandleLogMouseover, base::Unretained(this))); base 46 chrome/browser/ui/webui/metrics_handler.cc void MetricsHandler::HandleRecordAction(const base::ListValue* args) { base 47 chrome/browser/ui/webui/metrics_handler.cc std::string string_action = base::UTF16ToUTF8(ExtractStringValue(args)); base 51 chrome/browser/ui/webui/metrics_handler.cc void MetricsHandler::HandleRecordInHistogram(const base::ListValue* args) { base 78 chrome/browser/ui/webui/metrics_handler.cc base::HistogramBase* counter = base 79 chrome/browser/ui/webui/metrics_handler.cc base::LinearHistogram::FactoryGet( base 81 chrome/browser/ui/webui/metrics_handler.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 85 chrome/browser/ui/webui/metrics_handler.cc void MetricsHandler::HandleLogEventTime(const base::ListValue* args) { base 86 chrome/browser/ui/webui/metrics_handler.cc std::string event_name = base::UTF16ToUTF8(ExtractStringValue(args)); base 95 chrome/browser/ui/webui/metrics_handler.cc base::TimeDelta duration = base 96 chrome/browser/ui/webui/metrics_handler.cc base::TimeTicks::Now() - core_tab_helper->new_tab_start_time(); base 108 chrome/browser/ui/webui/metrics_handler.cc core_tab_helper->set_new_tab_start_time(base::TimeTicks()); base 118 chrome/browser/ui/webui/metrics_handler.cc void MetricsHandler::HandleLogMouseover(const base::ListValue* args) { base 21 chrome/browser/ui/webui/metrics_handler.h namespace base { base 35 chrome/browser/ui/webui/metrics_handler.h void HandleRecordAction(const base::ListValue* args); base 44 chrome/browser/ui/webui/metrics_handler.h void HandleRecordInHistogram(const base::ListValue* args); base 47 chrome/browser/ui/webui/metrics_handler.h void HandleLogEventTime(const base::ListValue* args); base 50 chrome/browser/ui/webui/metrics_handler.h void HandleLogMouseover(const base::ListValue* args); base 46 chrome/browser/ui/webui/nacl_ui.cc using base::ASCIIToUTF16; base 47 chrome/browser/ui/webui/nacl_ui.cc using base::UserMetricsAction; base 85 chrome/browser/ui/webui/nacl_ui.cc void HandleRequestNaClInfo(const base::ListValue* args); base 100 chrome/browser/ui/webui/nacl_ui.cc void PopulatePageInformation(base::DictionaryValue* naclInfo); base 106 chrome/browser/ui/webui/nacl_ui.cc void AddOperatingSystemInfo(base::ListValue* list); base 109 chrome/browser/ui/webui/nacl_ui.cc void AddPluginList(base::ListValue* list); base 113 chrome/browser/ui/webui/nacl_ui.cc void AddPnaclInfo(base::ListValue* list); base 116 chrome/browser/ui/webui/nacl_ui.cc void AddNaClInfo(base::ListValue* list); base 131 chrome/browser/ui/webui/nacl_ui.cc base::WeakPtrFactory<NaClDomHandler> weak_ptr_factory_; base 142 chrome/browser/ui/webui/nacl_ui.cc PluginService::GetInstance()->GetPlugins(base::Bind( base 152 chrome/browser/ui/webui/nacl_ui.cc base::Bind(&NaClDomHandler::HandleRequestNaClInfo, base 153 chrome/browser/ui/webui/nacl_ui.cc base::Unretained(this))); base 158 chrome/browser/ui/webui/nacl_ui.cc void AddPair(base::ListValue* list, base 159 chrome/browser/ui/webui/nacl_ui.cc const base::string16& key, base 160 chrome/browser/ui/webui/nacl_ui.cc const base::string16& value) { base 161 chrome/browser/ui/webui/nacl_ui.cc base::DictionaryValue* results = new base::DictionaryValue(); base 168 chrome/browser/ui/webui/nacl_ui.cc void AddLineBreak(base::ListValue* list) { base 182 chrome/browser/ui/webui/nacl_ui.cc void NaClDomHandler::AddOperatingSystemInfo(base::ListValue* list) { base 195 chrome/browser/ui/webui/nacl_ui.cc base::win::OSInfo* os = base::win::OSInfo::GetInstance(); base 197 chrome/browser/ui/webui/nacl_ui.cc case base::win::VERSION_XP: os_label += " XP"; break; base 198 chrome/browser/ui/webui/nacl_ui.cc case base::win::VERSION_SERVER_2003: base 201 chrome/browser/ui/webui/nacl_ui.cc case base::win::VERSION_VISTA: os_label += " Vista or Server 2008"; break; base 202 chrome/browser/ui/webui/nacl_ui.cc case base::win::VERSION_WIN7: os_label += " 7 or Server 2008 R2"; break; base 203 chrome/browser/ui/webui/nacl_ui.cc case base::win::VERSION_WIN8: os_label += " 8 or Server 2012"; break; base 206 chrome/browser/ui/webui/nacl_ui.cc os_label += " SP" + base::IntToString(os->service_pack().major); base 208 chrome/browser/ui/webui/nacl_ui.cc os_label += "." + base::IntToString(os->service_pack().minor); base 209 chrome/browser/ui/webui/nacl_ui.cc if (os->architecture() == base::win::OSInfo::X64_ARCHITECTURE) base 218 chrome/browser/ui/webui/nacl_ui.cc void NaClDomHandler::AddPluginList(base::ListValue* list) { base 223 chrome/browser/ui/webui/nacl_ui.cc base::string16 nacl_version; base 224 chrome/browser/ui/webui/nacl_ui.cc base::string16 nacl_key = ASCIIToUTF16("NaCl plugin"); base 251 chrome/browser/ui/webui/nacl_ui.cc void NaClDomHandler::AddPnaclInfo(base::ListValue* list) { base 253 chrome/browser/ui/webui/nacl_ui.cc base::string16 pnacl_enabled_string = ASCIIToUTF16("Enabled"); base 265 chrome/browser/ui/webui/nacl_ui.cc base::FilePath pnacl_path; base 282 chrome/browser/ui/webui/nacl_ui.cc void NaClDomHandler::AddNaClInfo(base::ListValue* list) { base 283 chrome/browser/ui/webui/nacl_ui.cc base::string16 nacl_enabled_string = ASCIIToUTF16("Disabled"); base 294 chrome/browser/ui/webui/nacl_ui.cc void NaClDomHandler::HandleRequestNaClInfo(const base::ListValue* args) { base 309 chrome/browser/ui/webui/nacl_ui.cc void NaClDomHandler::PopulatePageInformation(base::DictionaryValue* naclInfo) { base 312 chrome/browser/ui/webui/nacl_ui.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 333 chrome/browser/ui/webui/nacl_ui.cc void CheckVersion(const base::FilePath& pnacl_path, std::string* version) { base 334 chrome/browser/ui/webui/nacl_ui.cc base::FilePath pnacl_json_path = base 338 chrome/browser/ui/webui/nacl_ui.cc scoped_ptr<base::Value> root(serializer.Deserialize(NULL, &error)); base 339 chrome/browser/ui/webui/nacl_ui.cc if (!root || !root->IsType(base::Value::TYPE_DICTIONARY)) base 344 chrome/browser/ui/webui/nacl_ui.cc static_cast<base::DictionaryValue*>(root.get())->GetStringASCII( base 349 chrome/browser/ui/webui/nacl_ui.cc base::FilePath pnacl_path; base 351 chrome/browser/ui/webui/nacl_ui.cc if (got_path && !pnacl_path.empty() && base::PathExists(pnacl_path)) { base 366 chrome/browser/ui/webui/nacl_ui.cc base::PostTaskAndReplyWithResult( base 369 chrome/browser/ui/webui/nacl_ui.cc base::Bind(&CheckPathAndVersion, version_string), base 370 chrome/browser/ui/webui/nacl_ui.cc base::Bind(&NaClDomHandler::DidCheckPathAndVersion, base 372 chrome/browser/ui/webui/nacl_ui.cc base::Owned(version_string))); base 376 chrome/browser/ui/webui/nacl_ui.cc base::DictionaryValue naclInfo; base 53 chrome/browser/ui/webui/net_export_ui.cc public base::SupportsWeakPtr<NetExportMessageHandler> { base 62 chrome/browser/ui/webui/net_export_ui.cc void OnGetExportNetLogInfo(const base::ListValue* list); base 63 chrome/browser/ui/webui/net_export_ui.cc void OnStartNetLog(const base::ListValue* list); base 64 chrome/browser/ui/webui/net_export_ui.cc void OnStopNetLog(const base::ListValue* list); base 65 chrome/browser/ui/webui/net_export_ui.cc void OnSendNetLog(const base::ListValue* list); base 70 chrome/browser/ui/webui/net_export_ui.cc base::WeakPtr<NetExportMessageHandler> net_export_message_handler, base 75 chrome/browser/ui/webui/net_export_ui.cc static base::FilePath GetNetLogFileName(NetLogTempFile* net_log_temp_file); base 79 chrome/browser/ui/webui/net_export_ui.cc base::WeakPtr<NetExportMessageHandler> net_export_message_handler, base 83 chrome/browser/ui/webui/net_export_ui.cc static void SendEmail(const base::FilePath& file_to_send); base 87 chrome/browser/ui/webui/net_export_ui.cc void OnExportNetLogInfoChanged(base::Value* arg); base 92 chrome/browser/ui/webui/net_export_ui.cc base::WeakPtrFactory<NetExportMessageHandler> weak_ptr_factory_; base 107 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetLogTempFile::ProcessCommand, base 108 chrome/browser/ui/webui/net_export_ui.cc base::Unretained(net_log_temp_file_), base 117 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetExportMessageHandler::OnGetExportNetLogInfo, base 118 chrome/browser/ui/webui/net_export_ui.cc base::Unretained(this))); base 121 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetExportMessageHandler::OnStartNetLog, base 122 chrome/browser/ui/webui/net_export_ui.cc base::Unretained(this))); base 125 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetExportMessageHandler::OnStopNetLog, base 126 chrome/browser/ui/webui/net_export_ui.cc base::Unretained(this))); base 129 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetExportMessageHandler::OnSendNetLog, base 130 chrome/browser/ui/webui/net_export_ui.cc base::Unretained(this))); base 134 chrome/browser/ui/webui/net_export_ui.cc const base::ListValue* list) { base 138 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetExportMessageHandler::SendExportNetLogInfo, base 143 chrome/browser/ui/webui/net_export_ui.cc void NetExportMessageHandler::OnStartNetLog(const base::ListValue* list) { base 156 chrome/browser/ui/webui/net_export_ui.cc void NetExportMessageHandler::OnStopNetLog(const base::ListValue* list) { base 162 chrome/browser/ui/webui/net_export_ui.cc void NetExportMessageHandler::OnSendNetLog(const base::ListValue* list) { base 166 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetExportMessageHandler::GetNetLogFileName, base 167 chrome/browser/ui/webui/net_export_ui.cc base::Unretained(net_log_temp_file_)), base 168 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetExportMessageHandler::SendEmail)); base 173 chrome/browser/ui/webui/net_export_ui.cc base::WeakPtr<NetExportMessageHandler> net_export_message_handler, base 180 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetExportMessageHandler::ProcessNetLogCommand, base 193 chrome/browser/ui/webui/net_export_ui.cc base::FilePath NetExportMessageHandler::GetNetLogFileName( base 196 chrome/browser/ui/webui/net_export_ui.cc base::FilePath net_export_file_path; base 203 chrome/browser/ui/webui/net_export_ui.cc base::WeakPtr<NetExportMessageHandler> net_export_message_handler, base 206 chrome/browser/ui/webui/net_export_ui.cc base::Value* value = net_log_temp_file->GetState(); base 209 chrome/browser/ui/webui/net_export_ui.cc base::Bind(&NetExportMessageHandler::OnExportNetLogInfoChanged, base 218 chrome/browser/ui/webui/net_export_ui.cc void NetExportMessageHandler::SendEmail(const base::FilePath& file_to_send) { base 229 chrome/browser/ui/webui/net_export_ui.cc base::FilePath::StringType file_to_attach(file_to_send.value()); base 231 chrome/browser/ui/webui/net_export_ui.cc base::UTF8ToUTF16(email), base::UTF8ToUTF16(subject), base 232 chrome/browser/ui/webui/net_export_ui.cc base::UTF8ToUTF16(body), base::UTF8ToUTF16(title), base 233 chrome/browser/ui/webui/net_export_ui.cc base::UTF8ToUTF16(file_to_attach)); base 237 chrome/browser/ui/webui/net_export_ui.cc void NetExportMessageHandler::OnExportNetLogInfoChanged(base::Value* arg) { base 238 chrome/browser/ui/webui/net_export_ui.cc scoped_ptr<base::Value> value(arg); base 97 chrome/browser/ui/webui/net_internals/net_internals_ui.cc using base::StringValue; base 129 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::SplitString(hashes_str, ',', &vector_hash_str); base 133 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::RemoveChars(vector_hash_str[i], " \t\r\n", &hash_str); base 152 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* GetRequestStateAsValue(const net::URLRequest* request, base 185 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* ExperimentToValue(const ConnectionTester::Experiment& experiment) { base 186 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 221 chrome/browser/ui/webui/net_internals/net_internals_ui.cc typedef base::Callback<void(base::File file, base 222 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::FilePath& file_path)> base 229 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void DoWork(const base::FilePath& fileshelf) { base 230 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::FilePath::CharType kLogFileName[] = base 235 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Time::Now()); base 237 chrome/browser/ui/webui/net_internals/net_internals_ui.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; base 247 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::File file_; base 248 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::FilePath file_path_; base 259 chrome/browser/ui/webui/net_internals/net_internals_ui.cc typedef base::Callback<void(const base::FilePath& log_path, base 263 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void CloseDebugLogFile(base::File file) { base 269 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void CloseAndDeleteDebugLogFile(base::File file, base 270 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::FilePath& file_path) { base 272 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DeleteFile(file_path, false); base 279 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::File file, base 280 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::FilePath& file_path, base 284 chrome/browser/ui/webui/net_internals/net_internals_ui.cc bool posted = base::WorkerPool::PostTaskAndReply(FROM_HERE, base 285 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&CloseAndDeleteDebugLogFile, Passed(&file), file_path), base 286 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(callback, file_path, false), false); base 290 chrome/browser/ui/webui/net_internals/net_internals_ui.cc bool posted = base::WorkerPool::PostTaskAndReply(FROM_HERE, base 291 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&CloseDebugLogFile, Passed(&file)), base 292 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(callback, file_path, true), false); base 299 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::File file, base 300 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::FilePath& file_path) { base 310 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&WriteDebugLogToFileCompleted, base 318 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void StoreDebugLogs(const base::FilePath& fileshelf, base 323 chrome/browser/ui/webui/net_internals/net_internals_ui.cc bool posted = base::WorkerPool::PostTaskAndReply(FROM_HERE, base 324 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&DebugLogFileHelper::DoWork, base 325 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(helper), fileshelf), base 326 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&DebugLogFileHelper::Reply, base::Owned(helper), base 327 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&WriteDebugLogToFile, callback)), false); base 343 chrome/browser/ui/webui/net_internals/net_internals_ui.cc public base::SupportsWeakPtr<NetInternalsMessageHandler> { base 354 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void SendJavascriptCommand(const std::string& command, base::Value* arg); base 357 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnRendererReady(const base::ListValue* list); base 358 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnClearBrowserCache(const base::ListValue* list); base 359 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetPrerenderInfo(const base::ListValue* list); base 360 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetHistoricNetworkStats(const base::ListValue* list); base 361 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetExtensionInfo(const base::ListValue* list); base 363 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnRefreshSystemLogs(const base::ListValue* list); base 364 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetSystemLog(const base::ListValue* list); base 365 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnImportONCFile(const base::ListValue* list); base 366 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnStoreDebugLogs(const base::ListValue* list); base 367 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnStoreDebugLogsCompleted(const base::FilePath& log_path, base 369 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnSetNetworkDebugMode(const base::ListValue* list); base 408 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void RequestSystemLog(const base::ListValue* args); base 433 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::CancelableTaskTracker tracker_; base 435 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::CancelableTaskTracker::TaskId syslogs_task_id_; base 442 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::WeakPtr<prerender::PrerenderManager> prerender_manager_; base 458 chrome/browser/ui/webui/net_internals/net_internals_ui.cc : public base::RefCountedThreadSafe< base 465 chrome/browser/ui/webui/net_internals/net_internals_ui.cc typedef void (IOThreadImpl::*MessageHandler)(const base::ListValue*); base 473 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::WeakPtr<NetInternalsMessageHandler>& handler, base 484 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list); base 498 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnRendererReady(const base::ListValue* list); base 500 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetProxySettings(const base::ListValue* list); base 501 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnReloadProxySettings(const base::ListValue* list); base 502 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetBadProxies(const base::ListValue* list); base 503 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnClearBadProxies(const base::ListValue* list); base 504 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetHostResolverInfo(const base::ListValue* list); base 505 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnClearHostResolverCache(const base::ListValue* list); base 506 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnEnableIPv6(const base::ListValue* list); base 507 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnStartConnectionTests(const base::ListValue* list); base 508 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnHSTSQuery(const base::ListValue* list); base 509 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnHSTSAdd(const base::ListValue* list); base 510 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnHSTSDelete(const base::ListValue* list); base 511 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetHttpCacheInfo(const base::ListValue* list); base 512 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetSocketPoolInfo(const base::ListValue* list); base 513 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetSessionNetworkStats(const base::ListValue* list); base 514 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnCloseIdleSockets(const base::ListValue* list); base 515 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnFlushSocketPools(const base::ListValue* list); base 516 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetSpdySessionInfo(const base::ListValue* list); base 517 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetSpdyStatus(const base::ListValue* list); base 518 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetSpdyAlternateProtocolMappings(const base::ListValue* list); base 519 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetQuicInfo(const base::ListValue* list); base 521 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetServiceProviders(const base::ListValue* list); base 523 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnGetHttpPipeliningStatus(const base::ListValue* list); base 524 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void OnSetLogLevel(const base::ListValue* list); base 542 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void SendJavascriptCommand(const std::string& command, base::Value* arg); base 556 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void AddEntryToQueue(base::Value* entry); base 573 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::WeakPtr<NetInternalsMessageHandler> handler_; base 595 chrome/browser/ui/webui/net_internals/net_internals_ui.cc scoped_ptr<base::ListValue> pending_entries_; base 618 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::Detach, proxy_.get())); base 641 chrome/browser/ui/webui/net_internals/net_internals_ui.cc prerender_manager_ = base::WeakPtr<prerender::PrerenderManager>(); base 646 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnRendererReady, base 647 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 650 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 654 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 658 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 662 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 666 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 670 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 674 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 678 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 682 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 686 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 690 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 694 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 698 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 702 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 706 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 710 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 714 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 718 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 722 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 726 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 731 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 737 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 741 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::CallbackHelper, base 745 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnClearBrowserCache, base 746 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 749 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnGetPrerenderInfo, base 750 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 753 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnGetHistoricNetworkStats, base 754 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 757 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnGetExtensionInfo, base 758 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 762 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnRefreshSystemLogs, base 763 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 766 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnGetSystemLog, base 767 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 770 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnImportONCFile, base 771 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 774 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnStoreDebugLogs, base 775 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 778 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnSetNetworkDebugMode, base 779 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this))); base 785 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* arg) { base 786 chrome/browser/ui/webui/net_internals/net_internals_ui.cc scoped_ptr<base::Value> command_value(new base::StringValue(command)); base 787 chrome/browser/ui/webui/net_internals/net_internals_ui.cc scoped_ptr<base::Value> value(arg); base 799 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void NetInternalsMessageHandler::OnRendererReady(const base::ListValue* list) { base 804 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 813 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 816 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* value = NULL; base 819 chrome/browser/ui/webui/net_internals/net_internals_ui.cc value = new base::DictionaryValue(); base 829 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 831 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* historic_network_info = base 837 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 839 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue* extension_list = new base::ListValue(); base 851 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* extension_info = new base::DictionaryValue(); base 893 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* args) { base 916 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind( base 918 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Unretained(this)), base 938 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* result = new base::DictionaryValue(); base 963 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::WeakPtr<NetInternalsMessageHandler>& handler, base 987 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 993 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue* list_copy = base 998 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(method, io_thread, base::Owned(list_copy))); base 1017 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1038 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1042 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1052 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1061 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1067 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue* dict_list = new base::ListValue(); base 1074 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1086 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1095 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1105 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1107 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* dns_config = context->host_resolver()->GetDnsConfigAsValue(); base 1115 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* cache_info_dict = new base::DictionaryValue(); base 1121 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue* entry_list = new base::ListValue(); base 1128 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* entry_dict = new base::DictionaryValue(); base 1140 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue* address_list = new base::ListValue(); base 1157 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1169 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1180 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1182 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::string16 url_str; base 1187 chrome/browser/ui/webui/net_internals/net_internals_ui.cc GURL url(URLFixerUpper::FixupURL(base::UTF16ToUTF8(url_str), std::string())); base 1197 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1201 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* result = new base::DictionaryValue(); base 1239 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1261 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Time expiry = base::Time::Now() + base::TimeDelta::FromDays(1000); base 1274 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1291 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1293 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* info_dict = new base::DictionaryValue(); base 1294 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* stats_dict = new base::DictionaryValue(); base 1314 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1319 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* socket_pool_info = NULL; base 1327 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1332 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* network_info = NULL; base 1345 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1355 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1365 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1370 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* spdy_info = http_network_session ? base 1376 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1378 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* status_dict = new base::DictionaryValue(); base 1381 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value::CreateBooleanValue( base 1384 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value::CreateBooleanValue( base 1387 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value::CreateBooleanValue( base 1390 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value::CreateBooleanValue( base 1405 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1407 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue* dict_list = new base::ListValue(); base 1417 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1427 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1432 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* quic_info = http_network_session ? base 1439 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1442 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* service_providers = new base::DictionaryValue(); base 1446 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue* layered_provider_list = new base::ListValue(); base 1448 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* service_dict = new base::DictionaryValue(); base 1463 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue* namespace_list = new base::ListValue; base 1465 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* namespace_dict = new base::DictionaryValue(); base 1481 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1489 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1505 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue network_configs; base 1506 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue global_network_config; base 1507 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue certificates; base 1530 chrome/browser/ui/webui/net_internals/net_internals_ui.cc SendJavascriptCommand("receivedONCFileParse", new base::StringValue(error)); base 1534 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1545 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::ImportONCFileToNSSDB, AsWeakPtr(), base 1549 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void NetInternalsMessageHandler::OnStoreDebugLogs(const base::ListValue* list) { base 1553 chrome/browser/ui/webui/net_internals/net_internals_ui.cc new base::StringValue("Creating log file...")); base 1557 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&NetInternalsMessageHandler::OnStoreDebugLogsCompleted, base 1562 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::FilePath& log_path, bool succeeded) { base 1569 chrome/browser/ui/webui/net_internals/net_internals_ui.cc new base::StringValue(status)); base 1573 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1580 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind( base 1595 chrome/browser/ui/webui/net_internals/net_internals_ui.cc new base::StringValue(status)); base 1600 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1602 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* status_dict = new base::DictionaryValue(); base 1604 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* pipelined_connection_info = NULL; base 1608 chrome/browser/ui/webui/net_internals/net_internals_ui.cc status_dict->Set("pipelining_enabled", base::Value::CreateBooleanValue( base 1623 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::ListValue* known_hosts_list = new base::ListValue(); base 1627 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* host_dict = new base::DictionaryValue(); base 1657 chrome/browser/ui/webui/net_internals/net_internals_ui.cc const base::ListValue* list) { base 1661 chrome/browser/ui/webui/net_internals/net_internals_ui.cc !base::StringToInt(log_level_string, &log_level)) { base 1678 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::AddEntryToQueue, this, entry.ToValue())); base 1696 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1716 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* arg) { base 1730 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::SendJavascriptCommand, this, command, arg))) { base 1737 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* entry) { base 1740 chrome/browser/ui/webui/net_internals/net_internals_ui.cc pending_entries_.reset(new base::ListValue()); base 1743 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&IOThreadImpl::PostPendingEntries, this), base 1744 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::TimeDelta::FromMilliseconds(kNetLogEventDelayMilliseconds)); base 1789 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Bind(&GetRequestStateAsValue, base::Unretained(request)); base 1817 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::Value* NetInternalsUI::GetConstants() { base 1818 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* constants_dict = net::NetLogLogger::GetConstants(); base 1824 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 9 chrome/browser/ui/webui/net_internals/net_internals_ui.h namespace base { base 19 chrome/browser/ui/webui/net_internals/net_internals_ui.h static base::Value* GetConstants(); base 62 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::TimeDelta ttl = base::TimeDelta::FromDays(expire_days_from_now); base 77 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::TimeTicks::Now(), base 92 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::WeakPtr<net::HttpServerProperties> http_server_properties = base 124 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void RunJavascriptCallback(base::Value* value); base 128 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void GetTestServerURL(const base::ListValue* list_value); base 135 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void AddCacheEntry(const base::ListValue* list_value); base 138 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void LoadPage(const base::ListValue* list_value); base 141 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void PrerenderPage(const base::ListValue* list_value); base 146 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void NavigateToPrerender(const base::ListValue* list_value); base 150 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void CreateIncognitoBrowser(const base::ListValue* list_value); base 153 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void CloseIncognitoBrowser(const base::ListValue* list_value); base 156 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void EnableHttpPipelining(const base::ListValue* list_value); base 160 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void AddDummyHttpPipelineFeedback(const base::ListValue* list_value); base 164 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc void GetNetLogLoggerLog(const base::ListValue* list_value); base 182 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&NetInternalsTest::MessageHandler::GetTestServerURL, base 183 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 185 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&NetInternalsTest::MessageHandler::AddCacheEntry, base 186 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 188 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&NetInternalsTest::MessageHandler::LoadPage, base 189 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 191 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&NetInternalsTest::MessageHandler::PrerenderPage, base 192 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 194 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&NetInternalsTest::MessageHandler::NavigateToPrerender, base 195 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 197 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&NetInternalsTest::MessageHandler::CreateIncognitoBrowser, base 198 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 200 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&NetInternalsTest::MessageHandler::CloseIncognitoBrowser, base 201 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 203 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&NetInternalsTest::MessageHandler::EnableHttpPipelining, base 204 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 206 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind( base 208 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 210 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind( base 212 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Unretained(this))); base 216 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Value* value) { base 221 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 226 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc scoped_ptr<base::Value> url_value(base::Value::CreateStringValue(url.spec())); base 231 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 244 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&AddCacheEntryOnIOThread, base 253 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 265 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 278 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 284 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::ASCIIToUTF16(base::StringPrintf("Click('%s')", url.c_str()))); base 288 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 293 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::StringValue command_value("onIncognitoBrowserCreatedForTest"); base 298 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 307 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 312 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&EnableHttpPipeliningOnIOThread, base 318 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 335 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::Bind(&AddDummyHttpPipelineFeedbackOnIOThread, base 343 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc const base::ListValue* list_value) { base 344 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::ScopedTempDir temp_directory; base 346 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc base::FilePath temp_file; base 347 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_directory.path(), base 349 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc FILE* temp_file_handle = base::OpenFile(temp_file, "w"); base 352 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc scoped_ptr<base::Value> constants(NetInternalsUI::GetConstants()); base 366 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc ASSERT_TRUE(base::ReadFileToString(temp_file, &log_contents)); base 369 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc scoped_ptr<base::Value> log_contents_value( base 370 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc new base::StringValue(log_contents)); base 13 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.h namespace base { base 26 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 30 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc using base::Int64ToString; base 72 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc SkColor GetDominantColorForFavicon(scoped_refptr<base::RefCountedMemory> png) { base 132 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Bind(&BookmarksHandler::HandleGetBookmarks, base 133 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Unretained(this))); base 135 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Bind(&BookmarksHandler::HandleDeleteBookmark, base 136 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Unretained(this))); base 138 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Bind(&BookmarksHandler::HandleEditBookmark, base 139 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Unretained(this))); base 141 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Bind(&BookmarksHandler::HandleCreateHomeScreenBookmarkShortcut, base 142 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Unretained(this))); base 145 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::HandleGetBookmarks(const base::ListValue* args) { base 159 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::HandleDeleteBookmark(const base::ListValue* args) { base 186 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::HandleEditBookmark(const base::ListValue* args) { base 228 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::NotifyModelChanged(const base::DictionaryValue& status) { base 248 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::DictionaryValue* result) { base 253 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::ListValue* result) { base 261 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::DictionaryValue* filler_value = new base::DictionaryValue(); base 277 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::DictionaryValue* result) { base 282 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::ListValue* bookmarks = new base::ListValue(); base 304 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::ListValue* folder_hierarchy = new base::ListValue(); base 308 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::DictionaryValue* hierarchy_entry = new base::DictionaryValue(); base 328 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::DictionaryValue result; base 340 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::DictionaryValue result; base 345 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::SendResult(const base::DictionaryValue& result) { base 391 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::DictionaryValue result; base 410 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::DictionaryValue result; base 421 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::DictionaryValue result; base 436 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc const base::ListValue* args) { base 459 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Bind(&BookmarksHandler::OnShortcutFaviconDataAvailable, base 460 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::Unretained(this), base 489 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc const base::ListValue* args) const { base 512 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc if (!base::StringToInt64(string_id, &id)) { base 537 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc base::string16 BookmarksHandler::GetTitle(const BookmarkNode* node) const { base 61 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h void HandleGetBookmarks(const base::ListValue* args); base 63 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h void HandleDeleteBookmark(const base::ListValue* args); base 65 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h void HandleEditBookmark(const base::ListValue* args); base 69 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h void HandleCreateHomeScreenBookmarkShortcut(const base::ListValue* args); base 112 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h base::CancelableTaskTracker cancelable_task_tracker_; base 118 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h void NotifyModelChanged(const base::DictionaryValue& status); base 126 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h base::DictionaryValue* result); base 130 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h void PopulateBookmark(const BookmarkNode* node, base::ListValue* result); base 135 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h base::DictionaryValue* result); base 145 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h void SendResult(const base::DictionaryValue& result); base 155 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h const BookmarkNode* GetNodeByID(const base::ListValue* args) const; base 161 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h base::string16 GetTitle(const BookmarkNode* node) const; base 30 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Bind(&ContextMenuHandler::HandleShowContextMenu, base 31 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Unretained(this))); base 33 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Bind(&ContextMenuHandler::HandleOpenInNewTab, base 34 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Unretained(this))); base 36 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Bind(&ContextMenuHandler::HandleOpenInIncognitoTab, base 37 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Unretained(this))); base 39 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Bind(&ContextMenuHandler::GetIncognitoDisabled, base 40 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Unretained(this))); base 44 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::FundamentalValue value(item_id); base 49 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc const base::ListValue* args) { base 50 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::DictionaryValue value; base 65 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc const base::ListValue* menu_list_values) { base 77 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::ListValue* item_list_value = NULL; base 79 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc i, const_cast<const base::ListValue**>(&item_list_value)); base 88 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Value* value = NULL; base 99 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Value* value = NULL; base 114 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::Bind(&ContextMenuHandler::OnItemSelected, base 119 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc void ContextMenuHandler::HandleOpenInNewTab(const base::ListValue* args) { base 123 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc void ContextMenuHandler::HandleOpenInIncognitoTab(const base::ListValue* args) { base 127 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc void ContextMenuHandler::OpenUrl(const base::ListValue* args, base 129 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc base::string16 url = ExtractStringValue(args); base 12 chrome/browser/ui/webui/ntp/android/context_menu_handler.h namespace base { base 31 chrome/browser/ui/webui/ntp/android/context_menu_handler.h void GetIncognitoDisabled(const base::ListValue* args); base 34 chrome/browser/ui/webui/ntp/android/context_menu_handler.h void HandleShowContextMenu(const base::ListValue* args); base 40 chrome/browser/ui/webui/ntp/android/context_menu_handler.h void HandleOpenInNewTab(const base::ListValue* args); base 43 chrome/browser/ui/webui/ntp/android/context_menu_handler.h void HandleOpenInIncognitoTab(const base::ListValue* args); base 48 chrome/browser/ui/webui/ntp/android/context_menu_handler.h void OpenUrl(const base::ListValue* args, WindowOpenDisposition disposition); base 51 chrome/browser/ui/webui/ntp/android/context_menu_handler.h base::WeakPtrFactory<ContextMenuHandler> weak_ptr_factory_; base 19 chrome/browser/ui/webui/ntp/android/navigation_handler.cc using base::UserMetricsAction; base 28 chrome/browser/ui/webui/ntp/android/navigation_handler.cc base::Bind(&NavigationHandler::HandleOpenedMostVisited, base 29 chrome/browser/ui/webui/ntp/android/navigation_handler.cc base::Unretained(this))); base 32 chrome/browser/ui/webui/ntp/android/navigation_handler.cc base::Bind(&NavigationHandler::HandleOpenedRecentlyClosed, base 33 chrome/browser/ui/webui/ntp/android/navigation_handler.cc base::Unretained(this))); base 36 chrome/browser/ui/webui/ntp/android/navigation_handler.cc base::Bind(&NavigationHandler::HandleOpenedBookmark, base 37 chrome/browser/ui/webui/ntp/android/navigation_handler.cc base::Unretained(this))); base 40 chrome/browser/ui/webui/ntp/android/navigation_handler.cc base::Bind(&NavigationHandler::HandleOpenedForeignSession, base 41 chrome/browser/ui/webui/ntp/android/navigation_handler.cc base::Unretained(this))); base 44 chrome/browser/ui/webui/ntp/android/navigation_handler.cc void NavigationHandler::HandleOpenedMostVisited(const base::ListValue* args) { base 50 chrome/browser/ui/webui/ntp/android/navigation_handler.cc const base::ListValue* args) { base 55 chrome/browser/ui/webui/ntp/android/navigation_handler.cc void NavigationHandler::HandleOpenedBookmark(const base::ListValue* args) { base 61 chrome/browser/ui/webui/ntp/android/navigation_handler.cc const base::ListValue* args) { base 12 chrome/browser/ui/webui/ntp/android/navigation_handler.h namespace base { base 27 chrome/browser/ui/webui/ntp/android/navigation_handler.h void HandleOpenedMostVisited(const base::ListValue* args); base 30 chrome/browser/ui/webui/ntp/android/navigation_handler.h void HandleOpenedRecentlyClosed(const base::ListValue* args); base 33 chrome/browser/ui/webui/ntp/android/navigation_handler.h void HandleOpenedBookmark(const base::ListValue* args); base 36 chrome/browser/ui/webui/ntp/android/navigation_handler.h void HandleOpenedForeignSession(const base::ListValue* args); base 21 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc web_ui()->RegisterMessageCallback("notifyNTPReady", base::Bind( base 22 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc &NewTabPageReadyHandler::HandleNewTabPageReady, base::Unretained(this))); base 23 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc web_ui()->RegisterMessageCallback("NTPUnexpectedNavigation", base::Bind( base 25 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc base::Unretained(this))); base 26 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc web_ui()->RegisterMessageCallback("notifyNTPTitleLoaded", base::Bind( base 28 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc base::Unretained(this))); base 32 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc const base::ListValue* args) { base 33 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc web_ui()->OverrideTitle(base::string16()); base 37 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc const base::ListValue* args) { base 45 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc const base::ListValue* args) { base 11 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.h namespace base { base 26 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.h void HandleNewTabPageReady(const base::ListValue* args); base 29 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.h void HandleNewTabPageUnexpectedNavigation(const base::ListValue* args); base 32 chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.h void HandleNewTabPageTitleLoaded(const base::ListValue* args); base 55 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc base::RefCountedMemory* NTPResourceCache::GetNewTabHTML(WindowType win_type) { base 63 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc base::RefCountedMemory* NTPResourceCache::GetNewTabCSS(WindowType win_type) { base 84 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc base::DictionaryValue localized_strings; base 132 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc base::StringPiece new_tab_html(ResourceBundle::GetSharedInstance(). base 140 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc base::string16 learnMoreLink = base::ASCIIToUTF16( base 154 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc static const base::StringPiece template_data_placeholder( base 158 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc if (pos != base::StringPiece::npos) { base 169 chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc new_tab_html_ = base::RefCountedString::TakeString(&full_html); base 112 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::Bind(&PromoHandler::HandleGetPromotions, base 113 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::Unretained(this))); base 115 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::Bind(&PromoHandler::HandleRecordImpression, base 116 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::Unretained(this))); base 118 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::Bind(&PromoHandler::HandlePromoActionTriggered, base 119 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::Unretained(this))); base 121 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::Bind(&PromoHandler::HandlePromoDisabled, base 122 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::Unretained(this))); base 148 chrome/browser/ui/webui/ntp/android/promo_handler.cc void PromoHandler::HandlePromoSendEmail(const base::ListValue* args) { base 155 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::string16 data_subject, data_body, data_inv; base 175 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::UTF8ToUTF16(data_email), data_subject, data_body, data_inv, base 176 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::string16()); base 180 chrome/browser/ui/webui/ntp/android/promo_handler.cc void PromoHandler::HandlePromoActionTriggered(const base::ListValue* /*args*/) { base 192 chrome/browser/ui/webui/ntp/android/promo_handler.cc void PromoHandler::HandlePromoDisabled(const base::ListValue* /*args*/) { base 206 chrome/browser/ui/webui/ntp/android/promo_handler.cc void PromoHandler::HandleGetPromotions(const base::ListValue* /*args*/) { base 211 chrome/browser/ui/webui/ntp/android/promo_handler.cc void PromoHandler::HandleRecordImpression(const base::ListValue* args) { base 214 chrome/browser/ui/webui/ntp/android/promo_handler.cc RecordPromotionImpression(base::UTF16ToASCII(ExtractStringValue(args))); base 218 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::DictionaryValue result; base 243 chrome/browser/ui/webui/ntp/android/promo_handler.cc bool PromoHandler::FetchPromotion(base::DictionaryValue* result) { base 322 chrome/browser/ui/webui/ntp/android/promo_handler.cc base::ListValue session_list; base 12 chrome/browser/ui/webui/ntp/android/promo_handler.h namespace base { base 42 chrome/browser/ui/webui/ntp/android/promo_handler.h void HandlePromoSendEmail(const base::ListValue* args); base 46 chrome/browser/ui/webui/ntp/android/promo_handler.h void HandlePromoActionTriggered(const base::ListValue* args); base 50 chrome/browser/ui/webui/ntp/android/promo_handler.h void HandlePromoDisabled(const base::ListValue* args); base 54 chrome/browser/ui/webui/ntp/android/promo_handler.h void HandleGetPromotions(const base::ListValue* args); base 58 chrome/browser/ui/webui/ntp/android/promo_handler.h void HandleRecordImpression(const base::ListValue* args); base 68 chrome/browser/ui/webui/ntp/android/promo_handler.h bool FetchPromotion(base::DictionaryValue* result); base 93 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void NoOpCallback(const base::ListValue* args) {} base 117 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::DictionaryValue* value) { base 122 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::string16 short_name = base::UTF8ToUTF16(extension->short_name()); base 123 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::i18n::UnadjustStringForLocaleDirection(&short_name); base 129 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::string16 name = base::UTF8ToUTF16(extension->name()); base 130 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::i18n::UnadjustStringForLocaleDirection(&name); base 209 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::OnLocalStatePreferenceChanged, base 210 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 214 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::HandleGetApps, base 215 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 217 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::HandleLaunchApp, base 218 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 220 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::HandleSetLaunchType, base 221 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 223 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::HandleUninstallApp, base 224 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 226 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::HandleCreateAppShortcut, base 227 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 229 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::HandleReorderApps, base 230 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 232 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::HandleSetPageIndex, base 233 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 235 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::HandleSaveAppPageName, base 236 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 238 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::HandleGenerateAppForLink, base 239 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 241 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::StopShowingAppLauncherPromo, base 242 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 244 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::OnLearnMore, base 245 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this))); base 246 chrome/browser/ui/webui/ntp/app_launcher_handler.cc web_ui()->RegisterMessageCallback("pageSelected", base::Bind(&NoOpCallback)); base 273 chrome/browser/ui/webui/ntp/app_launcher_handler.cc scoped_ptr<base::DictionaryValue> app_info(GetAppInfo(extension)); base 279 chrome/browser/ui/webui/ntp/app_launcher_handler.cc scoped_ptr<base::FundamentalValue> highlight( base 280 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Value::CreateBooleanValue( base 314 chrome/browser/ui/webui/ntp/app_launcher_handler.cc scoped_ptr<base::DictionaryValue> app_info(GetAppInfo(extension)); base 319 chrome/browser/ui/webui/ntp/app_launcher_handler.cc scoped_ptr<base::FundamentalValue> uninstall_value( base 320 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Value::CreateBooleanValue(uninstalled)); base 321 chrome/browser/ui/webui/ntp/app_launcher_handler.cc scoped_ptr<base::FundamentalValue> from_page( base 322 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Value::CreateBooleanValue(!extension_id_prompting_.empty())); base 339 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::DictionaryValue app_info; base 366 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::FillAppDictionary(base::DictionaryValue* dictionary) { base 368 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::AutoReset<bool> auto_reset(&ignore_changes_, true); base 370 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::ListValue* list = new base::ListValue(); base 377 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::DictionaryValue* app_info = GetAppInfo(extension); base 398 chrome/browser/ui/webui/ntp/app_launcher_handler.cc const base::ListValue* app_page_names = base 402 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::ListValue* list = update.Get(); base 403 chrome/browser/ui/webui/ntp/app_launcher_handler.cc list->Set(0, new base::StringValue( base 406 chrome/browser/ui/webui/ntp/app_launcher_handler.cc static_cast<base::ListValue*>(list->DeepCopy())); base 409 chrome/browser/ui/webui/ntp/app_launcher_handler.cc static_cast<base::ListValue*>(app_page_names->DeepCopy())); base 413 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::DictionaryValue* AppLauncherHandler::GetAppInfo( base 415 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::DictionaryValue* app_info = new base::DictionaryValue(); base 417 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::AutoReset<bool> auto_reset(&ignore_changes_, true); base 424 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::HandleGetApps(const base::ListValue* args) { base 425 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::DictionaryValue dictionary; base 467 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Closure callback = base::Bind( base 469 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this)); base 495 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::HandleLaunchApp(const base::ListValue* args) { base 563 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::HandleSetLaunchType(const base::ListValue* args) { base 575 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::AutoReset<bool> auto_reset(&ignore_changes_, true); base 583 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::HandleUninstallApp(const base::ListValue* args) { base 605 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::AutoReset<bool> auto_reset(&ignore_changes_, true); base 612 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::HandleCreateAppShortcut(const base::ListValue* args) { base 625 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Closure()); base 628 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::HandleReorderApps(const base::ListValue* args) { base 632 chrome/browser/ui/webui/ntp/app_launcher_handler.cc const base::ListValue* app_order; base 650 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::AutoReset<bool> auto_reset(&ignore_changes_, true); base 658 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::HandleSetPageIndex(const base::ListValue* args) { base 670 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::AutoReset<bool> auto_reset(&ignore_changes_, true); base 674 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::HandleSaveAppPageName(const base::ListValue* args) { base 675 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::string16 name; base 681 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::AutoReset<bool> auto_reset(&ignore_changes_, true); base 684 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::ListValue* list = update.Get(); base 685 chrome/browser/ui/webui/ntp/app_launcher_handler.cc list->Set(static_cast<size_t>(page_index), new base::StringValue(name)); base 688 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::HandleGenerateAppForLink(const base::ListValue* args) { base 693 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::string16 title; base 720 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Bind(&AppLauncherHandler::OnFaviconForApp, base 721 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Unretained(this), base 722 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::Passed(&install_info)), base 727 chrome/browser/ui/webui/ntp/app_launcher_handler.cc const base::ListValue* args) { base 735 chrome/browser/ui/webui/ntp/app_launcher_handler.cc void AppLauncherHandler::OnLearnMore(const base::ListValue* args) { base 766 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::StringValue app_id(highlight_app_id_); base 772 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::DictionaryValue dictionary; base 781 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::FundamentalValue(g_browser_process->local_state()->GetBoolean( base 827 chrome/browser/ui/webui/ntp/app_launcher_handler.cc base::StringValue app_id(extension_id_prompting_); base 47 chrome/browser/ui/webui/ntp/app_launcher_handler.h base::DictionaryValue* value); base 58 chrome/browser/ui/webui/ntp/app_launcher_handler.h void FillAppDictionary(base::DictionaryValue* value); base 63 chrome/browser/ui/webui/ntp/app_launcher_handler.h base::DictionaryValue* GetAppInfo(const extensions::Extension* extension); base 66 chrome/browser/ui/webui/ntp/app_launcher_handler.h void FillPromoDictionary(base::DictionaryValue* value); base 69 chrome/browser/ui/webui/ntp/app_launcher_handler.h void HandleGetApps(const base::ListValue* args); base 74 chrome/browser/ui/webui/ntp/app_launcher_handler.h void HandleLaunchApp(const base::ListValue* args); base 78 chrome/browser/ui/webui/ntp/app_launcher_handler.h void HandleSetLaunchType(const base::ListValue* args); base 83 chrome/browser/ui/webui/ntp/app_launcher_handler.h void HandleUninstallApp(const base::ListValue* args); base 87 chrome/browser/ui/webui/ntp/app_launcher_handler.h void HandleCreateAppShortcut(const base::ListValue* args); base 91 chrome/browser/ui/webui/ntp/app_launcher_handler.h void HandleReorderApps(const base::ListValue* args); base 95 chrome/browser/ui/webui/ntp/app_launcher_handler.h void HandleSetPageIndex(const base::ListValue* args); base 99 chrome/browser/ui/webui/ntp/app_launcher_handler.h void HandleSaveAppPageName(const base::ListValue* args); base 103 chrome/browser/ui/webui/ntp/app_launcher_handler.h void HandleGenerateAppForLink(const base::ListValue* args); base 106 chrome/browser/ui/webui/ntp/app_launcher_handler.h void StopShowingAppLauncherPromo(const base::ListValue* args); base 107 chrome/browser/ui/webui/ntp/app_launcher_handler.h void OnLearnMore(const base::ListValue* args); base 114 chrome/browser/ui/webui/ntp/app_launcher_handler.h base::string16 title; base 192 chrome/browser/ui/webui/ntp/app_launcher_handler.h base::CancelableTaskTracker cancelable_task_tracker_; base 81 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc const base::ListValue* args) { base 110 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc base::Bind(&CoreAppLauncherHandler::HandleRecordAppLaunchByUrl, base 111 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc base::Unretained(this))); base 52 chrome/browser/ui/webui/ntp/core_app_launcher_handler.h void HandleRecordAppLaunchByUrl(const base::ListValue* args); base 29 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::StringValue* SkColorToCss(SkColor color) { base 30 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc return new base::StringValue(base::StringPrintf("rgb(%d, %d, %d)", base 36 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::StringValue* GetDominantColorCssString( base 37 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc scoped_refptr<base::RefCountedMemory> png) { base 75 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::Bind(&FaviconWebUIHandler::HandleGetFaviconDominantColor, base 76 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::Unretained(this))); base 78 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::Bind(&FaviconWebUIHandler::HandleGetAppIconDominantColor, base 79 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::Unretained(this))); base 83 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc const base::ListValue* args) { base 104 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::StringValue dom_id_value(dom_id); base 105 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc scoped_ptr<base::StringValue> color( base 120 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::Bind(&FaviconWebUIHandler::OnFaviconDataAvailable, base 121 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::Unretained(this), base 129 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc scoped_ptr<base::StringValue> color_value; base 134 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc color_value.reset(new base::StringValue("#919191")); base 136 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::StringValue dom_id(dom_id_map_[id]); base 143 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc const base::ListValue* args) { base 162 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc scoped_refptr<base::RefCountedStaticMemory> bits_mem( base 163 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc new base::RefCountedStaticMemory(&bits.front(), bits.size())); base 164 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc scoped_ptr<base::StringValue> color_value( base 166 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::StringValue id(extension_id); base 19 chrome/browser/ui/webui/ntp/favicon_webui_handler.h namespace base { base 34 chrome/browser/ui/webui/ntp/favicon_webui_handler.h void HandleGetFaviconDominantColor(const base::ListValue* args); base 37 chrome/browser/ui/webui/ntp/favicon_webui_handler.h void HandleGetAppIconDominantColor(const base::ListValue* args); base 48 chrome/browser/ui/webui/ntp/favicon_webui_handler.h base::CancelableTaskTracker cancelable_task_tracker_; base 59 chrome/browser/ui/webui/ntp/favicon_webui_handler.h scoped_refptr<base::RefCountedMemory> default_favicon_; base 125 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::DictionaryValue* dictionary) { base 166 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Bind(&ForeignSessionHandler::HandleDeleteForeignSession, base 167 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Unretained(this))); base 169 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Bind(&ForeignSessionHandler::HandleGetForeignSessions, base 170 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Unretained(this))); base 172 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Bind(&ForeignSessionHandler::HandleOpenForeignSession, base 173 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Unretained(this))); base 175 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Bind(&ForeignSessionHandler::HandleSetForeignSessionCollapsed, base 176 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Unretained(this))); base 195 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::ListValue list_value; base 220 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::string16 ForeignSessionHandler::FormatSessionTime( base 221 chrome/browser/ui/webui/ntp/foreign_session_handler.cc const base::Time& time) { base 223 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Time now = base::Time::Now(); base 227 chrome/browser/ui/webui/ntp/foreign_session_handler.cc now < time ? base::TimeDelta() : now - time); base 231 chrome/browser/ui/webui/ntp/foreign_session_handler.cc const base::ListValue* args) { base 235 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::ListValue session_list; base 245 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::DictionaryValue* current_collapsed_sessions = pref_update.Get(); base 246 chrome/browser/ui/webui/ntp/foreign_session_handler.cc scoped_ptr<base::DictionaryValue> collapsed_sessions( base 254 chrome/browser/ui/webui/ntp/foreign_session_handler.cc scoped_ptr<base::DictionaryValue> session_data( base 255 chrome/browser/ui/webui/ntp/foreign_session_handler.cc new base::DictionaryValue()); base 267 chrome/browser/ui/webui/ntp/foreign_session_handler.cc scoped_ptr<base::ListValue> window_list(new base::ListValue()); base 271 chrome/browser/ui/webui/ntp/foreign_session_handler.cc scoped_ptr<base::DictionaryValue> window_data( base 272 chrome/browser/ui/webui/ntp/foreign_session_handler.cc new base::DictionaryValue()); base 281 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::FundamentalValue tab_sync_enabled(IsTabSyncEnabled()); base 288 chrome/browser/ui/webui/ntp/foreign_session_handler.cc const base::ListValue* args) { base 312 chrome/browser/ui/webui/ntp/foreign_session_handler.cc !base::StringToInt(window_num_str, &window_num))) { base 321 chrome/browser/ui/webui/ntp/foreign_session_handler.cc !base::StringToInt(tab_id_str, &tab_id))) { base 336 chrome/browser/ui/webui/ntp/foreign_session_handler.cc const base::ListValue* args) { base 355 chrome/browser/ui/webui/ntp/foreign_session_handler.cc const base::ListValue* args) { base 386 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::DictionaryValue* dictionary) { base 391 chrome/browser/ui/webui/ntp/foreign_session_handler.cc scoped_ptr<base::ListValue> tab_values(new base::ListValue()); base 393 chrome/browser/ui/webui/ntp/foreign_session_handler.cc base::Time modification_time = window.timestamp; base 395 chrome/browser/ui/webui/ntp/foreign_session_handler.cc scoped_ptr<base::DictionaryValue> tab_value(new base::DictionaryValue()); base 406 chrome/browser/ui/webui/ntp/foreign_session_handler.cc const base::TimeDelta last_synced = base::Time::Now() - modification_time; base 410 chrome/browser/ui/webui/ntp/foreign_session_handler.cc last_synced < base::TimeDelta::FromMinutes(1) ? base 50 chrome/browser/ui/webui/ntp/foreign_session_handler.h base::DictionaryValue* dictionary); base 68 chrome/browser/ui/webui/ntp/foreign_session_handler.h base::string16 FormatSessionTime(const base::Time& time); base 73 chrome/browser/ui/webui/ntp/foreign_session_handler.h void HandleOpenForeignSession(const base::ListValue* args); base 78 chrome/browser/ui/webui/ntp/foreign_session_handler.h void HandleGetForeignSessions(const base::ListValue* args); base 84 chrome/browser/ui/webui/ntp/foreign_session_handler.h void HandleDeleteForeignSession(const base::ListValue* args); base 86 chrome/browser/ui/webui/ntp/foreign_session_handler.h void HandleSetForeignSessionCollapsed(const base::ListValue* args); base 90 chrome/browser/ui/webui/ntp/foreign_session_handler.h base::DictionaryValue* dictionary); base 17 chrome/browser/ui/webui/ntp/most_visited_browsertest.cc AddLibrary(base::FilePath(FILE_PATH_LITERAL("most_visited_page_test.js"))); base 53 chrome/browser/ui/webui/ntp/most_visited_handler.cc using base::UserMetricsAction; base 114 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Bind(&MostVisitedHandler::HandleGetMostVisited, base 115 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Unretained(this))); base 119 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Bind(&MostVisitedHandler::HandleBlacklistUrl, base 120 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Unretained(this))); base 122 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Bind(&MostVisitedHandler::HandleRemoveUrlsFromBlacklist, base 123 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Unretained(this))); base 125 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Bind(&MostVisitedHandler::HandleClearBlacklist, base 126 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Unretained(this))); base 128 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Bind(&MostVisitedHandler::HandleMostVisitedAction, base 129 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Unretained(this))); base 131 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Bind(&MostVisitedHandler::HandleMostVisitedSelected, base 132 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Unretained(this))); base 135 chrome/browser/ui/webui/ntp/most_visited_handler.cc void MostVisitedHandler::HandleGetMostVisited(const base::ListValue* args) { base 148 chrome/browser/ui/webui/ntp/most_visited_handler.cc const base::DictionaryValue* url_blacklist = base 158 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::FundamentalValue has_blacklisted_urls_value(has_blacklisted_urls); base 170 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::Bind(&MostVisitedHandler::OnMostVisitedUrlsAvailable, base 175 chrome/browser/ui/webui/ntp/most_visited_handler.cc void MostVisitedHandler::HandleBlacklistUrl(const base::ListValue* args) { base 176 chrome/browser/ui/webui/ntp/most_visited_handler.cc std::string url = base::UTF16ToUTF8(ExtractStringValue(args)); base 181 chrome/browser/ui/webui/ntp/most_visited_handler.cc const base::ListValue* args) { base 184 chrome/browser/ui/webui/ntp/most_visited_handler.cc for (base::ListValue::const_iterator iter = args->begin(); base 199 chrome/browser/ui/webui/ntp/most_visited_handler.cc void MostVisitedHandler::HandleClearBlacklist(const base::ListValue* args) { base 207 chrome/browser/ui/webui/ntp/most_visited_handler.cc void MostVisitedHandler::HandleMostVisitedAction(const base::ListValue* args) { base 222 chrome/browser/ui/webui/ntp/most_visited_handler.cc const base::ListValue* args) { base 228 chrome/browser/ui/webui/ntp/most_visited_handler.cc pages_value_.reset(new base::ListValue); base 235 chrome/browser/ui/webui/ntp/most_visited_handler.cc base::DictionaryValue* page_value = new base::DictionaryValue(); base 274 chrome/browser/ui/webui/ntp/most_visited_handler.cc return base::MD5String(url); base 21 chrome/browser/ui/webui/ntp/most_visited_handler.h namespace base { base 47 chrome/browser/ui/webui/ntp/most_visited_handler.h void HandleGetMostVisited(const base::ListValue* args); base 50 chrome/browser/ui/webui/ntp/most_visited_handler.h void HandleBlacklistUrl(const base::ListValue* args); base 53 chrome/browser/ui/webui/ntp/most_visited_handler.h void HandleRemoveUrlsFromBlacklist(const base::ListValue* args); base 56 chrome/browser/ui/webui/ntp/most_visited_handler.h void HandleClearBlacklist(const base::ListValue* args); base 59 chrome/browser/ui/webui/ntp/most_visited_handler.h void HandleMostVisitedAction(const base::ListValue* args); base 62 chrome/browser/ui/webui/ntp/most_visited_handler.h void HandleMostVisitedSelected(const base::ListValue* args); base 113 chrome/browser/ui/webui/ntp/most_visited_handler.h scoped_ptr<base::ListValue> pages_value_; base 122 chrome/browser/ui/webui/ntp/most_visited_handler.h base::WeakPtrFactory<MostVisitedHandler> weak_ptr_factory_; base 54 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Bind(&NewTabPageHandler::HandleNotificationPromoClosed, base 55 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Unretained(this))); base 57 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Bind(&NewTabPageHandler::HandleNotificationPromoViewed, base 58 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Unretained(this))); base 60 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Bind(&NewTabPageHandler::HandleNotificationPromoLinkClicked, base 61 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Unretained(this))); base 63 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Bind(&NewTabPageHandler::HandleBubblePromoClosed, base 64 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Unretained(this))); base 66 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Bind(&NewTabPageHandler::HandleBubblePromoViewed, base 67 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Unretained(this))); base 69 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Bind(&NewTabPageHandler::HandleBubblePromoLinkClicked, base 70 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Unretained(this))); base 72 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Bind(&NewTabPageHandler::HandlePageSelected, base 73 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Unretained(this))); base 75 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Bind(&NewTabPageHandler::HandleLogTimeToClick, base 76 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::Unretained(this))); base 80 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc const base::ListValue* args) { base 88 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc const base::ListValue* args) { base 98 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc const base::ListValue* args) { base 104 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc void NewTabPageHandler::HandleBubblePromoClosed(const base::ListValue* args) { base 111 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc void NewTabPageHandler::HandleBubblePromoViewed(const base::ListValue* args) { base 119 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc const base::ListValue* args) { base 125 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc void NewTabPageHandler::HandlePageSelected(const base::ListValue* args) { base 149 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc void NewTabPageHandler::HandleLogTimeToClick(const base::ListValue* args) { base 157 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::TimeDelta delta = base::TimeDelta::FromMilliseconds(duration); base 186 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc base::DictionaryValue* values) { base 23 chrome/browser/ui/webui/ntp/new_tab_page_handler.h public base::SupportsWeakPtr<NewTabPageHandler> { base 32 chrome/browser/ui/webui/ntp/new_tab_page_handler.h base::DictionaryValue* values); base 41 chrome/browser/ui/webui/ntp/new_tab_page_handler.h void HandleNotificationPromoClosed(const base::ListValue* args); base 44 chrome/browser/ui/webui/ntp/new_tab_page_handler.h void HandleNotificationPromoViewed(const base::ListValue* args); base 47 chrome/browser/ui/webui/ntp/new_tab_page_handler.h void HandleNotificationPromoLinkClicked(const base::ListValue* args); base 50 chrome/browser/ui/webui/ntp/new_tab_page_handler.h void HandleBubblePromoClosed(const base::ListValue* args); base 53 chrome/browser/ui/webui/ntp/new_tab_page_handler.h void HandleBubblePromoViewed(const base::ListValue* args); base 56 chrome/browser/ui/webui/ntp/new_tab_page_handler.h void HandleBubblePromoLinkClicked(const base::ListValue* args); base 59 chrome/browser/ui/webui/ntp/new_tab_page_handler.h void HandlePageSelected(const base::ListValue* args); base 62 chrome/browser/ui/webui/ntp/new_tab_page_handler.h void HandleLogTimeToClick(const base::ListValue* args); base 69 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::Bind(&NewTabPageSyncHandler::OnSigninAllowedPrefChange, base 70 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::Unretained(this))); base 73 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::Bind(&NewTabPageSyncHandler::HandleGetSyncMessage, base 74 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::Unretained(this))); base 76 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::Bind(&NewTabPageSyncHandler::HandleSyncLinkClicked, base 77 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::Unretained(this))); base 80 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc void NewTabPageSyncHandler::HandleGetSyncMessage(const base::ListValue* args) { base 114 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::string16 status_msg; base 115 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::string16 link_text; base 123 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::UTF16ToUTF8(status_msg), base 124 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::UTF16ToUTF8(link_text)); base 127 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc void NewTabPageSyncHandler::HandleSyncLinkClicked(const base::ListValue* args) { base 138 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::string16 user = base::UTF8ToUTF16(SigninManagerFactory::GetForProfile( base 140 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::DictionaryValue value; base 167 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc base::DictionaryValue value; base 15 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h namespace base { base 31 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h void HandleGetSyncMessage(const base::ListValue* args); base 33 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h void HandleSyncLinkClicked(const base::ListValue* args); base 77 chrome/browser/ui/webui/ntp/new_tab_ui.cc static base::LazyInstance<std::set<const WebUIController*> > g_live_new_tabs; base 79 chrome/browser/ui/webui/ntp/new_tab_ui.cc const char* GetHtmlTextDirection(const base::string16& text) { base 80 chrome/browser/ui/webui/ntp/new_tab_ui.cc if (base::i18n::IsRTL() && base::i18n::StringContainsStrongRTLChars(text)) base 164 chrome/browser/ui/webui/ntp/new_tab_ui.cc base::Bind(&NewTabUI::OnShowBookmarkBarChanged, base 165 chrome/browser/ui/webui/ntp/new_tab_ui.cc base::Unretained(this))); base 177 chrome/browser/ui/webui/ntp/new_tab_ui.cc base::TimeTicks now = base::TimeTicks::Now(); base 178 chrome/browser/ui/webui/ntp/new_tab_ui.cc if ((now - last_paint_) >= base::TimeDelta::FromMilliseconds(kTimeoutMs)) { base 180 chrome/browser/ui/webui/ntp/new_tab_ui.cc base::TimeDelta load_time = last_paint_ - start_; base 186 chrome/browser/ui/webui/ntp/new_tab_ui.cc timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kTimeoutMs), this, base 192 chrome/browser/ui/webui/ntp/new_tab_ui.cc start_ = base::TimeTicks::Now(); base 206 chrome/browser/ui/webui/ntp/new_tab_ui.cc timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kTimeoutMs), this, base 227 chrome/browser/ui/webui/ntp/new_tab_ui.cc last_paint_ = base::TimeTicks::Now(); base 241 chrome/browser/ui/webui/ntp/new_tab_ui.cc base::StringValue attached( base 291 chrome/browser/ui/webui/ntp/new_tab_ui.cc void NewTabUI::SetUrlTitleAndDirection(base::DictionaryValue* dictionary, base 292 chrome/browser/ui/webui/ntp/new_tab_ui.cc const base::string16& title, base 297 chrome/browser/ui/webui/ntp/new_tab_ui.cc base::string16 title_to_set(title); base 300 chrome/browser/ui/webui/ntp/new_tab_ui.cc title_to_set = base::UTF8ToUTF16(gurl.spec()); base 325 chrome/browser/ui/webui/ntp/new_tab_ui.cc void NewTabUI::SetFullNameAndDirection(const base::string16& full_name, base 326 chrome/browser/ui/webui/ntp/new_tab_ui.cc base::DictionaryValue* dictionary) { base 363 chrome/browser/ui/webui/ntp/new_tab_ui.cc scoped_refptr<base::RefCountedStaticMemory> resource_bytes( base 367 chrome/browser/ui/webui/ntp/new_tab_ui.cc new base::RefCountedStaticMemory); base 391 chrome/browser/ui/webui/ntp/new_tab_ui.cc scoped_refptr<base::RefCountedMemory> html_bytes( base 24 chrome/browser/ui/webui/ntp/new_tab_ui.h namespace base { base 58 chrome/browser/ui/webui/ntp/new_tab_ui.h static void SetUrlTitleAndDirection(base::DictionaryValue* dictionary, base 59 chrome/browser/ui/webui/ntp/new_tab_ui.h const base::string16& title, base 63 chrome/browser/ui/webui/ntp/new_tab_ui.h static void SetFullNameAndDirection(const base::string16& full_name, base 64 chrome/browser/ui/webui/ntp/new_tab_ui.h base::DictionaryValue* dictionary); base 141 chrome/browser/ui/webui/ntp/new_tab_ui.h base::TimeTicks start_; base 143 chrome/browser/ui/webui/ntp/new_tab_ui.h base::TimeTicks last_paint_; base 145 chrome/browser/ui/webui/ntp/new_tab_ui.h base::OneShotTimer<NewTabUI> timer_; base 72 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::string16 CreateSpanWithClass(const base::string16& content, base 74 chrome/browser/ui/webui/ntp/ntp_login_handler.cc return base::ASCIIToUTF16("<span class='" + css_class + "'>") + base 75 chrome/browser/ui/webui/ntp/ntp_login_handler.cc net::EscapeForHTML(content) + base::ASCIIToUTF16("</span>"); base 90 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Bind(&NTPLoginHandler::UpdateLogin, base 91 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Unretained(this))); base 94 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Bind(&NTPLoginHandler::UpdateLogin, base 95 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Unretained(this))); base 101 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Bind(&NTPLoginHandler::HandleInitializeSyncLogin, base 102 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Unretained(this))); base 104 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Bind(&NTPLoginHandler::HandleShowSyncLoginUI, base 105 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Unretained(this))); base 107 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Bind(&NTPLoginHandler::HandleLoginMessageSeen, base 108 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Unretained(this))); base 110 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Bind(&NTPLoginHandler::HandleShowAdvancedLoginUI, base 111 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::Unretained(this))); base 124 chrome/browser/ui/webui/ntp/ntp_login_handler.cc void NTPLoginHandler::HandleInitializeSyncLogin(const base::ListValue* args) { base 128 chrome/browser/ui/webui/ntp/ntp_login_handler.cc void NTPLoginHandler::HandleShowSyncLoginUI(const base::ListValue* args) { base 183 chrome/browser/ui/webui/ntp/ntp_login_handler.cc void NTPLoginHandler::HandleLoginMessageSeen(const base::ListValue* args) { base 192 chrome/browser/ui/webui/ntp/ntp_login_handler.cc void NTPLoginHandler::HandleShowAdvancedLoginUI(const base::ListValue* args) { base 204 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::string16 header, sub_header; base 215 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::string16 name = cache.GetGAIANameOfProfileAtIndex(profile_index); base 224 chrome/browser/ui/webui/ntp/ntp_login_handler.cc header = CreateSpanWithClass(base::UTF8ToUTF16(username), base 238 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::string16 signed_in_link = l10n_util::GetStringUTF16( base 252 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::StringValue header_value(header); base 253 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::StringValue sub_header_value(sub_header); base 254 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::StringValue icon_url_value(icon_url); base 255 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::FundamentalValue is_user_signed_in(!username.empty()); base 274 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::DictionaryValue* values) { base 278 chrome/browser/ui/webui/ntp/ntp_login_handler.cc base::string16 message = hide_sync ? base::string16() : base 286 chrome/browser/ui/webui/ntp/ntp_login_handler.cc hide_sync ? base::string16() : base 289 chrome/browser/ui/webui/ntp/ntp_login_handler.cc hide_sync ? base::string16() : base 38 chrome/browser/ui/webui/ntp/ntp_login_handler.h base::DictionaryValue* values); base 50 chrome/browser/ui/webui/ntp/ntp_login_handler.h void HandleInitializeSyncLogin(const base::ListValue* args); base 55 chrome/browser/ui/webui/ntp/ntp_login_handler.h void HandleShowSyncLoginUI(const base::ListValue* args); base 62 chrome/browser/ui/webui/ntp/ntp_login_handler.h void HandleLoginMessageSeen(const base::ListValue* args); base 67 chrome/browser/ui/webui/ntp/ntp_login_handler.h void HandleShowAdvancedLoginUI(const base::ListValue* args); base 84 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::string16 GetUrlWithLang(const GURL& url) { base 85 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return base::ASCIIToUTF16(google_util::AppendGoogleLocaleParam(url).spec()); base 91 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return base::StringPrintf( base 96 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::DoubleToString(SkColorGetA(color) / 255.0).c_str()); base 102 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return base::StringPrintf( base 141 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return "left " + base::IntToString(-offset) + "px"; base 143 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return "right " + base::IntToString(-offset) + "px"; base 144 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return "center " + base::IntToString(-offset) + "px"; base 173 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::Closure callback = base::Bind(&NTPResourceCache::OnPreferenceChanged, base 174 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::Unretained(this)); base 230 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::RefCountedMemory* NTPResourceCache::GetNewTabHTML(WindowType win_type) { base 250 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::RefCountedMemory* NTPResourceCache::GetNewTabCSS(WindowType win_type) { base 291 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::DictionaryValue localized_strings; base 311 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::string16 enterprise_info = l10n_util::GetStringFUTF16( base 313 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::UTF8ToUTF16(enterprise_domain)); base 331 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::ASCIIToUTF16(chrome::kChromeUIExtensionsURL))); base 338 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc static const base::StringPiece incognito_tab_html( base 345 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc new_tab_incognito_html_ = base::RefCountedString::TakeString(&full_html); base 349 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::DictionaryValue localized_strings; base 359 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc static const base::StringPiece guest_tab_html( base 366 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc new_tab_guest_html_ = base::RefCountedString::TakeString(&full_html); base 375 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::DictionaryValue load_time_data; base 548 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::StringPiece new_tab_html(ResourceBundle::GetSharedInstance(). base 553 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc new_tab_html_ = base::RefCountedString::TakeString(&full_html); base 578 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc static const base::StringPiece new_tab_theme_css( base 586 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc new_tab_incognito_css_ = base::RefCountedString::TakeString(&full_css); base 611 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc static const base::StringPiece new_tab_theme_css( base 619 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc new_tab_guest_css_ = base::RefCountedString::TakeString(&full_css); base 706 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc static const base::StringPiece new_tab_theme_css( base 713 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc new_tab_css_ = base::RefCountedString::TakeString(&css_string); base 19 chrome/browser/ui/webui/ntp/ntp_resource_cache.h namespace base { base 41 chrome/browser/ui/webui/ntp/ntp_resource_cache.h base::RefCountedMemory* GetNewTabHTML(WindowType win_type); base 42 chrome/browser/ui/webui/ntp/ntp_resource_cache.h base::RefCountedMemory* GetNewTabCSS(WindowType win_type); base 77 chrome/browser/ui/webui/ntp/ntp_resource_cache.h scoped_refptr<base::RefCountedMemory> new_tab_html_; base 82 chrome/browser/ui/webui/ntp/ntp_resource_cache.h base::string16 GetSyncTypeMessage(); base 92 chrome/browser/ui/webui/ntp/ntp_resource_cache.h scoped_refptr<base::RefCountedMemory> new_tab_guest_html_; base 93 chrome/browser/ui/webui/ntp/ntp_resource_cache.h scoped_refptr<base::RefCountedMemory> new_tab_guest_css_; base 94 chrome/browser/ui/webui/ntp/ntp_resource_cache.h scoped_refptr<base::RefCountedMemory> new_tab_incognito_html_; base 95 chrome/browser/ui/webui/ntp/ntp_resource_cache.h scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_; base 96 chrome/browser/ui/webui/ntp/ntp_resource_cache.h scoped_refptr<base::RefCountedMemory> new_tab_css_; base 81 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc return base::StringPrintf(kMostVisitedImpressionHistogramWithProvider, base 88 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc return base::StringPrintf(kMostVisitedNavigationHistogramWithProvider, base 171 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc int position, const base::string16& provider) { base 181 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc base::HistogramBase* counter = base::LinearHistogram::FactoryGet( base 183 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc base::UTF16ToUTF8(provider)), base 187 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc base::Histogram::kUmaTargetedHistogramFlag); base 193 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc int position, const base::string16& provider) { base 203 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc base::HistogramBase* counter = base::LinearHistogram::FactoryGet( base 205 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc base::UTF16ToUTF8(provider)), base 209 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc base::Histogram::kUmaTargetedHistogramFlag); base 215 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc content::RecordAction(base::UserMetricsAction("MostVisited_Clicked")); base 49 chrome/browser/ui/webui/ntp/ntp_user_data_logger.h void LogMostVisitedImpression(int position, const base::string16& provider); base 52 chrome/browser/ui/webui/ntp/ntp_user_data_logger.h void LogMostVisitedNavigation(int position, const base::string16& provider); base 22 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc base::HistogramBase::Count GetTotalCount(const std::string& histogram_name) { base 23 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc base::HistogramBase* histogram = base::StatisticsRecorder::FindHistogram( base 29 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc base::HistogramBase::Count GetBinCount(const std::string& histogram_name, base 30 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc base::HistogramBase::Sample value) { base 31 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc base::HistogramBase* histogram = base::StatisticsRecorder::FindHistogram( base 40 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc base::StatisticsRecorder::Initialize(); base 103 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc base::StatisticsRecorder::Initialize(); base 110 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc logger.LogMostVisitedImpression(1, base::ASCIIToUTF16("foobar")); base 114 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc logger.LogMostVisitedImpression(5, base::ASCIIToUTF16("foobar")); base 119 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc logger.LogMostVisitedImpression(5, base::ASCIIToUTF16("")); base 123 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc logger.LogMostVisitedImpression(1, base::ASCIIToUTF16("foobar")); base 129 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc base::StatisticsRecorder::Initialize(); base 137 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc logger.LogMostVisitedNavigation(1, base::ASCIIToUTF16("foobar")); base 142 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc logger.LogMostVisitedNavigation(5, base::ASCIIToUTF16("foobar")); base 148 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc logger.LogMostVisitedNavigation(5, base::ASCIIToUTF16("")); base 153 chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc logger.LogMostVisitedNavigation(1, base::ASCIIToUTF16("foobar")); base 28 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::DictionaryValue* dictionary) { base 38 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::DictionaryValue* dictionary) { base 41 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc scoped_ptr<base::ListValue> tab_values(new base::ListValue()); base 43 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::DictionaryValue* tab_value = new base::DictionaryValue(); base 57 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::Bind(&RecentlyClosedTabsHandler::HandleGetRecentlyClosedTabs, base 58 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::Unretained(this))); base 60 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::Bind(&RecentlyClosedTabsHandler::HandleReopenTab, base 61 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::Unretained(this))); base 63 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::Bind(&RecentlyClosedTabsHandler::HandleClearRecentlyClosed, base 64 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::Unretained(this))); base 72 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc void RecentlyClosedTabsHandler::HandleReopenTab(const base::ListValue* args) { base 122 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc const base::ListValue* args) { base 129 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc const base::ListValue* args) { base 137 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc base::ListValue list_value; base 147 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc scoped_ptr<base::DictionaryValue> entry_dict(new base::DictionaryValue()); base 27 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.h void HandleReopenTab(const base::ListValue* args); base 30 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.h void HandleGetRecentlyClosedTabs(const base::ListValue* args); base 33 chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.h void HandleClearRecentlyClosed(const base::ListValue* args); base 30 chrome/browser/ui/webui/ntp/suggestions_combiner.cc page_values_(new base::ListValue()), base 58 chrome/browser/ui/webui/ntp/suggestions_combiner.cc base::ListValue* SuggestionsCombiner::GetPageValues() { base 81 chrome/browser/ui/webui/ntp/suggestions_combiner.cc page_values_.reset(new base::ListValue()); base 102 chrome/browser/ui/webui/ntp/suggestions_combiner.cc base::DictionaryValue* item; base 119 chrome/browser/ui/webui/ntp/suggestions_combiner.cc base::DictionaryValue* page_value; base 126 chrome/browser/ui/webui/ntp/suggestions_combiner.cc base::DictionaryValue* page_value) { base 19 chrome/browser/ui/webui/ntp/suggestions_combiner.h namespace base { base 54 chrome/browser/ui/webui/ntp/suggestions_combiner.h base::ListValue* GetPageValues(); base 73 chrome/browser/ui/webui/ntp/suggestions_combiner.h void AddExtendedInformation(base::DictionaryValue* page_value); base 97 chrome/browser/ui/webui/ntp/suggestions_combiner.h scoped_ptr<base::ListValue> page_values_; base 166 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc virtual base::DictionaryValue* PopItem() OVERRIDE { base 169 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc base::DictionaryValue* item = items_.front(); base 177 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc base::snprintf(num_str, sizeof(num_str), "%d", i); base 185 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc base::DictionaryValue* item = new base::DictionaryValue(); base 204 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc std::deque<base::DictionaryValue*> items_; base 284 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc base::ListValue* results = combiner_->GetPageValues(); base 290 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc base::DictionaryValue* dictionary; base 39 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc using base::UserMetricsAction; base 95 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Bind(&SuggestionsHandler::HandleGetSuggestions, base 96 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Unretained(this))); base 99 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Bind(&SuggestionsHandler::HandleBlacklistURL, base 100 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Unretained(this))); base 102 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Bind(&SuggestionsHandler::HandleRemoveURLsFromBlacklist, base 103 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Unretained(this))); base 105 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Bind(&SuggestionsHandler::HandleClearBlacklist, base 106 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Unretained(this))); base 108 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Bind(&SuggestionsHandler::HandleSuggestedSitesAction, base 109 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Unretained(this))); base 111 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Bind(&SuggestionsHandler::HandleSuggestedSitesSelected, base 112 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::Unretained(this))); base 115 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc void SuggestionsHandler::HandleGetSuggestions(const base::ListValue* args) { base 136 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc base::FundamentalValue has_blacklisted_urls_value(has_blacklisted_urls); base 143 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc void SuggestionsHandler::HandleBlacklistURL(const base::ListValue* args) { base 144 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc std::string url = base::UTF16ToUTF8(ExtractStringValue(args)); base 149 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc const base::ListValue* args) { base 154 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc void SuggestionsHandler::HandleClearBlacklist(const base::ListValue* args) { base 159 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc const base::ListValue* args) { base 174 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc const base::ListValue* args) { base 192 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc return base::MD5String(url); base 20 chrome/browser/ui/webui/ntp/suggestions_page_handler.h namespace base { base 46 chrome/browser/ui/webui/ntp/suggestions_page_handler.h void HandleGetSuggestions(const base::ListValue* args); base 49 chrome/browser/ui/webui/ntp/suggestions_page_handler.h void HandleBlacklistURL(const base::ListValue* args); base 52 chrome/browser/ui/webui/ntp/suggestions_page_handler.h void HandleRemoveURLsFromBlacklist(const base::ListValue* args); base 55 chrome/browser/ui/webui/ntp/suggestions_page_handler.h void HandleClearBlacklist(const base::ListValue* args); base 58 chrome/browser/ui/webui/ntp/suggestions_page_handler.h void HandleSuggestedSitesAction(const base::ListValue* args); base 61 chrome/browser/ui/webui/ntp/suggestions_page_handler.h void HandleSuggestedSitesSelected(const base::ListValue* args); base 13 chrome/browser/ui/webui/ntp/suggestions_source.h namespace base { base 46 chrome/browser/ui/webui/ntp/suggestions_source.h virtual base::DictionaryValue* PopItem() = 0; base 51 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc base::DictionaryValue* SuggestionsSourceTopSites::PopItem() { base 55 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc base::DictionaryValue* item = items_.front(); base 70 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc time_filter.SetFilterTime(base::Time::Now()); base 75 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc base::Bind(&SuggestionsSourceTopSites::OnSuggestionsUrlsAvailable, base 76 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc base::Unretained(this))); base 94 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc base::DictionaryValue* page_value = new base::DictionaryValue(); base 113 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc base::TimeDelta deltaTime = base 114 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc base::Time::Now() - suggested_url.extended_info.last_visit_time; base 126 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc base::TimeDelta SuggestionsSourceTopSites::GetFilterWidth() { base 131 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc if (base::StringToUint(filter_width_switch, &filter_width)) base 132 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc return base::TimeDelta::FromMinutes(filter_width); base 133 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc return base::TimeDelta::FromHours(1); base 19 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h namespace base { base 35 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h virtual base::DictionaryValue* PopItem() OVERRIDE; base 52 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h static base::TimeDelta GetFilterWidth(); base 58 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h std::deque<base::DictionaryValue*> items_; base 98 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc base::Bind(&ThumbnailListSource::OnMostVisitedURLsAvailable, base 107 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc base::MessageLoop* ThumbnailListSource::MessageLoopForRequestPath( base 130 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc scoped_refptr<base::RefCountedMemory> data; base 132 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc base::Base64Encode(std::string(data->front_as<char>(), data->size()), base 153 chrome/browser/ui/webui/ntp/thumbnail_list_source.cc callback.Run(base::RefCountedString::TakeString(&out_html)); base 18 chrome/browser/ui/webui/ntp/thumbnail_list_source.h namespace base { base 42 chrome/browser/ui/webui/ntp/thumbnail_list_source.h virtual base::MessageLoop* MessageLoopForRequestPath( base 61 chrome/browser/ui/webui/ntp/thumbnail_list_source.h base::WeakPtrFactory<ThumbnailListSource> weak_ptr_factory_; base 42 chrome/browser/ui/webui/ntp/thumbnail_source.cc scoped_refptr<base::RefCountedMemory> data; base 60 chrome/browser/ui/webui/ntp/thumbnail_source.cc base::MessageLoop* ThumbnailSource::MessageLoopForRequestPath( base 16 chrome/browser/ui/webui/ntp/thumbnail_source.h namespace base { base 38 chrome/browser/ui/webui/ntp/thumbnail_source.h virtual base::MessageLoop* MessageLoopForRequestPath( base 48 chrome/browser/ui/webui/ntp/thumbnail_source.h scoped_refptr<base::RefCountedMemory> default_thumbnail_; base 36 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc base::Bind(&OmniboxUIHandler::StartOmniboxQuery, base 37 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc base::Unretained(this))); base 78 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc base::DictionaryValue result_to_output; base 82 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc (base::Time::Now() - time_omnibox_started_).InMilliseconds()); base 83 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc const base::string16& host = controller_->input().text().substr( base 114 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc base::DictionaryValue* output) { base 117 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc std::string item_prefix(prefix + base::StringPrintf(".item_%d", i)); base 163 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc bool OmniboxUIHandler::LookupIsTypedHost(const base::string16& host, base 173 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc *is_typed_host = url_db->IsTypedHost(base::UTF16ToUTF8(host)); base 177 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc void OmniboxUIHandler::StartOmniboxQuery(const base::ListValue* input) { base 179 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc base::string16 input_string; base 200 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc time_omnibox_started_ = base::Time::Now(); base 204 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc base::string16(), // user's desired tld (top-level domain) base 19 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h namespace base { base 60 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h void StartOmniboxQuery(const base::ListValue* input); base 68 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h base::DictionaryValue* output); base 73 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h bool LookupIsTypedHost(const base::string16& host, bool* is_typed_host) const; base 86 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h base::Time time_omnibox_started_; base 49 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 50 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc const char* name = base::nix::GetDesktopEnvironmentName(env.get()); base 74 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 84 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc base::FilePath file(paths[i]); base 85 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc if (base::PathExists(file.Append(command[0]))) { base 95 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc base::ProcessHandle handle; base 96 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc if (!base::LaunchProcess(argv, base::LaunchOptions(), &handle)) { base 100 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc base::EnsureProcessGetsReaped(handle); base 109 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 112 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc switch (base::nix::GetDesktopEnvironment(env.get())) { base 113 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc case base::nix::DESKTOP_ENVIRONMENT_GNOME: base 114 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc case base::nix::DESKTOP_ENVIRONMENT_UNITY: { base 128 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc case base::nix::DESKTOP_ENVIRONMENT_KDE3: base 132 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc case base::nix::DESKTOP_ENVIRONMENT_KDE4: base 136 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc case base::nix::DESKTOP_ENVIRONMENT_XFCE: base 137 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc case base::nix::DESKTOP_ENVIRONMENT_OTHER: base 144 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc base::Bind(&ShowLinuxProxyConfigUrl, render_process_id, render_view_id)); base 152 chrome/browser/ui/webui/options/advanced_options_utils_linux.cc base::Bind(&DetectAndStartProxyConfigUtil, base 32 chrome/browser/ui/webui/options/advanced_options_utils_win.cc base::FilePath rundll32; base 33 chrome/browser/ui/webui/options/advanced_options_utils_win.cc PathService::Get(base::DIR_SYSTEM, &rundll32); base 36 chrome/browser/ui/webui/options/advanced_options_utils_win.cc base::FilePath shell32dll; base 37 chrome/browser/ui/webui/options/advanced_options_utils_win.cc PathService::Get(base::DIR_SYSTEM, &shell32dll); base 40 chrome/browser/ui/webui/options/advanced_options_utils_win.cc base::FilePath inetcpl; base 41 chrome/browser/ui/webui/options/advanced_options_utils_win.cc PathService::Get(base::DIR_SYSTEM, &inetcpl); base 57 chrome/browser/ui/webui/options/advanced_options_utils_win.cc base::Bind(&OpenConnectionDialogCallback)); base 46 chrome/browser/ui/webui/options/autofill_options_handler.cc base::DictionaryValue* localized_strings) { base 48 chrome/browser/ui/webui/options/autofill_options_handler.cc manager, base::Callback<bool(const std::string&)>()); base 54 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::ListValue> country_list(new base::ListValue()); base 56 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::DictionaryValue> country_data(new base::DictionaryValue()); base 58 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::DictionaryValue> option_details( base 59 chrome/browser/ui/webui/options/autofill_options_handler.cc new base::DictionaryValue()); base 69 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::DictionaryValue> details(new base::DictionaryValue()); base 82 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::ListValue>* list) { base 83 chrome/browser/ui/webui/options/autofill_options_handler.cc list->reset(new base::ListValue); base 85 chrome/browser/ui/webui/options/autofill_options_handler.cc std::vector<base::string16> values; base 93 chrome/browser/ui/webui/options/autofill_options_handler.cc (*list)->Set(i, new base::StringValue(values[i])); base 98 chrome/browser/ui/webui/options/autofill_options_handler.cc void SetValueList(const base::ListValue* list, base 101 chrome/browser/ui/webui/options/autofill_options_handler.cc std::vector<base::string16> values(list->GetSize()); base 103 chrome/browser/ui/webui/options/autofill_options_handler.cc base::string16 value; base 112 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::ListValue>* names) { base 113 chrome/browser/ui/webui/options/autofill_options_handler.cc names->reset(new base::ListValue); base 115 chrome/browser/ui/webui/options/autofill_options_handler.cc std::vector<base::string16> first_names; base 116 chrome/browser/ui/webui/options/autofill_options_handler.cc std::vector<base::string16> middle_names; base 117 chrome/browser/ui/webui/options/autofill_options_handler.cc std::vector<base::string16> last_names; base 131 chrome/browser/ui/webui/options/autofill_options_handler.cc base::ListValue* name = new base::ListValue; // owned by |list| base 132 chrome/browser/ui/webui/options/autofill_options_handler.cc name->Set(0, new base::StringValue(first_names[i])); base 133 chrome/browser/ui/webui/options/autofill_options_handler.cc name->Set(1, new base::StringValue(middle_names[i])); base 134 chrome/browser/ui/webui/options/autofill_options_handler.cc name->Set(2, new base::StringValue(last_names[i])); base 140 chrome/browser/ui/webui/options/autofill_options_handler.cc void SetNameList(const base::ListValue* names, AutofillProfile* profile) { base 142 chrome/browser/ui/webui/options/autofill_options_handler.cc std::vector<base::string16> first_names(size); base 143 chrome/browser/ui/webui/options/autofill_options_handler.cc std::vector<base::string16> middle_names(size); base 144 chrome/browser/ui/webui/options/autofill_options_handler.cc std::vector<base::string16> last_names(size); base 147 chrome/browser/ui/webui/options/autofill_options_handler.cc const base::ListValue* name; base 151 chrome/browser/ui/webui/options/autofill_options_handler.cc base::string16 first_name; base 156 chrome/browser/ui/webui/options/autofill_options_handler.cc base::string16 middle_name; base 161 chrome/browser/ui/webui/options/autofill_options_handler.cc base::string16 last_name; base 174 chrome/browser/ui/webui/options/autofill_options_handler.cc void ExtractPhoneNumberInformation(const base::ListValue* args, base 176 chrome/browser/ui/webui/options/autofill_options_handler.cc const base::ListValue** phone_number_list, base 204 chrome/browser/ui/webui/options/autofill_options_handler.cc base::ListValue* list) { base 205 chrome/browser/ui/webui/options/autofill_options_handler.cc base::string16 new_value; base 217 chrome/browser/ui/webui/options/autofill_options_handler.cc base::string16 existing_value; base 230 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::ListValue> ValidatePhoneArguments( base 231 chrome/browser/ui/webui/options/autofill_options_handler.cc const base::ListValue* args) { base 234 chrome/browser/ui/webui/options/autofill_options_handler.cc const base::ListValue* extracted_list = NULL; base 237 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::ListValue> list(extracted_list->DeepCopy()); base 257 chrome/browser/ui/webui/options/autofill_options_handler.cc base::DictionaryValue* localized_strings) { base 302 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Bind(&AutofillOptionsHandler::RemoveData, base 303 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Unretained(this))); base 306 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Bind(&AutofillOptionsHandler::LoadAddressEditor, base 307 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Unretained(this))); base 310 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Bind(&AutofillOptionsHandler::LoadCreditCardEditor, base 311 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Unretained(this))); base 314 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Bind(&AutofillOptionsHandler::SetAddress, base::Unretained(this))); base 317 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Bind(&AutofillOptionsHandler::SetCreditCard, base 318 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Unretained(this))); base 321 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Bind(&AutofillOptionsHandler::ValidatePhoneNumbers, base 322 chrome/browser/ui/webui/options/autofill_options_handler.cc base::Unretained(this))); base 332 chrome/browser/ui/webui/options/autofill_options_handler.cc base::DictionaryValue* localized_strings) { base 369 chrome/browser/ui/webui/options/autofill_options_handler.cc base::DictionaryValue* localized_strings) { base 386 chrome/browser/ui/webui/options/autofill_options_handler.cc std::vector<base::string16> labels; base 390 chrome/browser/ui/webui/options/autofill_options_handler.cc base::ListValue addresses; base 392 chrome/browser/ui/webui/options/autofill_options_handler.cc base::ListValue* entry = new base::ListValue(); base 393 chrome/browser/ui/webui/options/autofill_options_handler.cc entry->Append(new base::StringValue(profiles[i]->guid())); base 394 chrome/browser/ui/webui/options/autofill_options_handler.cc entry->Append(new base::StringValue(labels[i])); base 400 chrome/browser/ui/webui/options/autofill_options_handler.cc base::ListValue credit_cards; base 406 chrome/browser/ui/webui/options/autofill_options_handler.cc base::ListValue* entry = new base::ListValue(); base 407 chrome/browser/ui/webui/options/autofill_options_handler.cc entry->Append(new base::StringValue(card->guid())); base 408 chrome/browser/ui/webui/options/autofill_options_handler.cc entry->Append(new base::StringValue(card->Label())); base 409 chrome/browser/ui/webui/options/autofill_options_handler.cc entry->Append(new base::StringValue( base 412 chrome/browser/ui/webui/options/autofill_options_handler.cc entry->Append(new base::StringValue(card->TypeForDisplay())); base 420 chrome/browser/ui/webui/options/autofill_options_handler.cc void AutofillOptionsHandler::RemoveData(const base::ListValue* args) { base 432 chrome/browser/ui/webui/options/autofill_options_handler.cc void AutofillOptionsHandler::LoadAddressEditor(const base::ListValue* args) { base 451 chrome/browser/ui/webui/options/autofill_options_handler.cc base::DictionaryValue address; base 453 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::ListValue> list; base 475 chrome/browser/ui/webui/options/autofill_options_handler.cc void AutofillOptionsHandler::LoadCreditCardEditor(const base::ListValue* args) { base 494 chrome/browser/ui/webui/options/autofill_options_handler.cc base::DictionaryValue credit_card_data; base 513 chrome/browser/ui/webui/options/autofill_options_handler.cc void AutofillOptionsHandler::SetAddress(const base::ListValue* args) { base 526 chrome/browser/ui/webui/options/autofill_options_handler.cc base::string16 value; base 527 chrome/browser/ui/webui/options/autofill_options_handler.cc const base::ListValue* list_value; base 551 chrome/browser/ui/webui/options/autofill_options_handler.cc base::ASCIIToUTF16(country_code)); base 559 chrome/browser/ui/webui/options/autofill_options_handler.cc if (!base::IsValidGUID(profile.guid())) { base 560 chrome/browser/ui/webui/options/autofill_options_handler.cc profile.set_guid(base::GenerateGUID()); base 567 chrome/browser/ui/webui/options/autofill_options_handler.cc void AutofillOptionsHandler::SetCreditCard(const base::ListValue* args) { base 579 chrome/browser/ui/webui/options/autofill_options_handler.cc base::string16 value; base 592 chrome/browser/ui/webui/options/autofill_options_handler.cc if (!base::IsValidGUID(credit_card.guid())) { base 593 chrome/browser/ui/webui/options/autofill_options_handler.cc credit_card.set_guid(base::GenerateGUID()); base 600 chrome/browser/ui/webui/options/autofill_options_handler.cc void AutofillOptionsHandler::ValidatePhoneNumbers(const base::ListValue* args) { base 604 chrome/browser/ui/webui/options/autofill_options_handler.cc scoped_ptr<base::ListValue> list_value = ValidatePhoneArguments(args); base 18 chrome/browser/ui/webui/options/autofill_options_handler.h namespace base { base 33 chrome/browser/ui/webui/options/autofill_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 43 chrome/browser/ui/webui/options/autofill_options_handler.h void SetAddressOverlayStrings(base::DictionaryValue* localized_strings); base 44 chrome/browser/ui/webui/options/autofill_options_handler.h void SetCreditCardOverlayStrings(base::DictionaryValue* localized_strings); base 51 chrome/browser/ui/webui/options/autofill_options_handler.h void RemoveData(const base::ListValue* args); base 56 chrome/browser/ui/webui/options/autofill_options_handler.h void LoadAddressEditor(const base::ListValue* args); base 61 chrome/browser/ui/webui/options/autofill_options_handler.h void LoadCreditCardEditor(const base::ListValue* args); base 68 chrome/browser/ui/webui/options/autofill_options_handler.h void SetAddress(const base::ListValue* args); base 75 chrome/browser/ui/webui/options/autofill_options_handler.h void SetCreditCard(const base::ListValue* args); base 81 chrome/browser/ui/webui/options/autofill_options_handler.h void ValidatePhoneNumbers(const base::ListValue* args); base 19 chrome/browser/ui/webui/options/automatic_settings_reset_handler.cc const base::ListValue* value) { base 33 chrome/browser/ui/webui/options/automatic_settings_reset_handler.cc const base::Time then = base 36 chrome/browser/ui/webui/options/automatic_settings_reset_handler.cc const base::Time now = base::Time::Now(); base 43 chrome/browser/ui/webui/options/automatic_settings_reset_handler.cc base::DictionaryValue* localized_strings) { base 62 chrome/browser/ui/webui/options/automatic_settings_reset_handler.cc base::Bind(&OnDismissedAutomaticSettingsResetBanner, base 22 chrome/browser/ui/webui/options/automatic_settings_reset_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 135 chrome/browser/ui/webui/options/browser_options_handler.cc using base::UserMetricsAction; base 176 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) { base 447 chrome/browser/ui/webui/options/browser_options_handler.cc base::DictionaryValue* app_values = NULL; base 462 chrome/browser/ui/webui/options/browser_options_handler.cc base::string16 omnibox_url = base::ASCIIToUTF16(chrome::kOmniboxLearnMoreURL); base 516 chrome/browser/ui/webui/options/browser_options_handler.cc scoped_ptr<base::ListValue> magnifier_list(new base::ListValue); base 518 chrome/browser/ui/webui/options/browser_options_handler.cc scoped_ptr<base::ListValue> option_full(new base::ListValue); base 524 chrome/browser/ui/webui/options/browser_options_handler.cc scoped_ptr<base::ListValue> option_partial(new base::ListValue); base 526 chrome/browser/ui/webui/options/browser_options_handler.cc option_partial->Append(new base::StringValue(l10n_util::GetStringUTF16( base 581 chrome/browser/ui/webui/options/browser_options_handler.cc base::DictionaryValue* values) { base 595 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::BecomeDefaultBrowser, base 596 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 599 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::SetDefaultSearchEngine, base 600 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 603 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::DeleteProfile, base 604 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 607 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::ThemesReset, base 608 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 611 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleRequestProfilesInfo, base 612 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 616 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::ThemesSetNative, base 617 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 621 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleSelectDownloadLocation, base 622 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 625 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleAutoOpenButton, base 626 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 629 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleDefaultFontSize, base 630 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 633 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleDefaultZoomFactor, base 634 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 638 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::ShowManageSSLCertificates, base 639 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 644 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleOpenWallpaperManager, base 645 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 648 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::VirtualKeyboardChangeCallback, base 649 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 652 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::OnPowerwashDialogShow, base 653 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 656 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::PerformFactoryResetRestart, base 657 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 661 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleRestartBrowser, base 662 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 665 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::ShowNetworkProxySettings, base 666 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 673 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::ShowCloudPrintDevicesPage, base 674 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 679 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleRequestHotwordAvailable, base 680 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 684 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleRequestHotwordSetupRetry, base 685 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 689 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::HandleLaunchEasyUnlockSetup, base 690 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 737 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::UpdateDefaultBrowserState, base 738 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 757 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::CheckAutoLaunch, base 765 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::SetupAutoOpenFileTypes, base 766 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 769 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::SetupPageZoomSelector, base 770 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 774 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::SetupFontSizeSelector, base 775 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 778 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::SetupFontSizeSelector, base 779 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 782 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::SetupManagingSupervisedUsers, base 783 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 786 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::OnSigninAllowedPrefChange, base 787 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 790 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::SetupEasyUnlock, base 791 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 801 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::OnUserImagePolicyChanged, base 802 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 805 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::OnWallpaperPolicyChanged, base 806 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 811 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::SetupProxySettingsSection, base 812 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 861 chrome/browser/ui/webui/options/browser_options_handler.cc base::WeakPtr<BrowserOptionsHandler> weak_this, base 862 chrome/browser/ui/webui/options/browser_options_handler.cc const base::FilePath& profile_path) { base 868 chrome/browser/ui/webui/options/browser_options_handler.cc base::ASCIIToUTF16(chrome::kInitialProfile)) { base 875 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::CheckAutoLaunchCallback, base 881 chrome/browser/ui/webui/options/browser_options_handler.cc base::FilePath()))); base 893 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&BrowserOptionsHandler::ToggleAutoLaunch, base 894 chrome/browser/ui/webui/options/browser_options_handler.cc base::Unretained(this))); base 896 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue enabled(will_launch_at_login); base 954 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::BecomeDefaultBrowser(const base::ListValue* args) { base 1011 chrome/browser/ui/webui/options/browser_options_handler.cc base::StringValue status_string( base 1015 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue is_default( base 1018 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue can_be_default( base 1036 chrome/browser/ui/webui/options/browser_options_handler.cc base::ListValue search_engines; base 1043 chrome/browser/ui/webui/options/browser_options_handler.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 1054 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue(default_index), base 1055 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue( base 1061 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1118 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::ToggleAutoLaunch(const base::ListValue* args) { base 1131 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&auto_launch_util::EnableForegroundStartAtLogin, base 1132 chrome/browser/ui/webui/options/browser_options_handler.cc profile->GetPath().BaseName().value(), base::FilePath()) : base 1133 chrome/browser/ui/webui/options/browser_options_handler.cc base::Bind(&auto_launch_util::DisableForegroundStartAtLogin, base 1138 chrome/browser/ui/webui/options/browser_options_handler.cc scoped_ptr<base::ListValue> BrowserOptionsHandler::GetProfilesInfoList() { base 1141 chrome/browser/ui/webui/options/browser_options_handler.cc scoped_ptr<base::ListValue> profile_info_list(new base::ListValue); base 1142 chrome/browser/ui/webui/options/browser_options_handler.cc base::FilePath current_profile_path = base 1146 chrome/browser/ui/webui/options/browser_options_handler.cc base::DictionaryValue* profile_value = new base::DictionaryValue(); base 1148 chrome/browser/ui/webui/options/browser_options_handler.cc base::FilePath profile_path = cache.GetPathOfProfileAtIndex(i); base 1149 chrome/browser/ui/webui/options/browser_options_handler.cc profile_value->Set("filePath", base::CreateFilePathValue(profile_path)); base 1181 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::DeleteProfile(const base::ListValue* args) { base 1183 chrome/browser/ui/webui/options/browser_options_handler.cc const base::Value* file_path_value; base 1187 chrome/browser/ui/webui/options/browser_options_handler.cc base::FilePath file_path; base 1188 chrome/browser/ui/webui/options/browser_options_handler.cc if (!base::GetValueAsFilePath(*file_path_value, &file_path)) base 1201 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue native_theme_enabled(!is_native_theme && base 1209 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue enabled(!is_classic_theme); base 1214 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::ThemesReset(const base::ListValue* args) { base 1221 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::ThemesSetNative(const base::ListValue* args) { base 1233 chrome/browser/ui/webui/options/browser_options_handler.cc base::StringValue email_value(email); base 1241 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue(managed)); base 1246 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue(managed)); base 1250 chrome/browser/ui/webui/options/browser_options_handler.cc scoped_ptr<base::DictionaryValue> base 1252 chrome/browser/ui/webui/options/browser_options_handler.cc scoped_ptr<base::DictionaryValue> sync_status(new base::DictionaryValue); base 1286 chrome/browser/ui/webui/options/browser_options_handler.cc base::string16 status_label; base 1287 chrome/browser/ui/webui/options/browser_options_handler.cc base::string16 link_label; base 1310 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1322 chrome/browser/ui/webui/options/browser_options_handler.cc base::FilePath::StringType(), base 1327 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::FileSelected(const base::FilePath& path, int index, base 1337 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue val(exists); base 1342 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue val(exists); base 1347 chrome/browser/ui/webui/options/browser_options_handler.cc const base::Value* previous_policy, base 1348 chrome/browser/ui/webui/options/browser_options_handler.cc const base::Value* current_policy) { base 1356 chrome/browser/ui/webui/options/browser_options_handler.cc const base::Value* previous_policy, base 1357 chrome/browser/ui/webui/options/browser_options_handler.cc const base::Value* current_policy) { base 1365 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1383 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::HandleAutoOpenButton(const base::ListValue* args) { base 1391 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::HandleDefaultFontSize(const base::ListValue* args) { base 1403 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1410 chrome/browser/ui/webui/options/browser_options_handler.cc void BrowserOptionsHandler::HandleRestartBrowser(const base::ListValue* args) { base 1430 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1436 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1445 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1455 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1467 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1469 chrome/browser/ui/webui/options/browser_options_handler.cc std::string group = base::FieldTrialList::FindFullName("VoiceTrigger"); base 1477 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1482 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1490 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1495 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1503 chrome/browser/ui/webui/options/browser_options_handler.cc const base::ListValue* args) { base 1520 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue virtual_keyboard_enabled( base 1532 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue visible(false); base 1546 chrome/browser/ui/webui/options/browser_options_handler.cc base::DictionaryValue dict; base 1588 chrome/browser/ui/webui/options/browser_options_handler.cc base::ListValue zoom_factors_value; base 1591 chrome/browser/ui/webui/options/browser_options_handler.cc base::ListValue* option = new base::ListValue(); base 1594 chrome/browser/ui/webui/options/browser_options_handler.cc option->Append(new base::StringValue( base 1596 chrome/browser/ui/webui/options/browser_options_handler.cc option->Append(new base::FundamentalValue(factor)); base 1598 chrome/browser/ui/webui/options/browser_options_handler.cc option->Append(new base::FundamentalValue(selected)); base 1613 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue value(display); base 1635 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue disabled(is_win_ash || (proxy_config && base 1637 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue extension_controlled(is_extension_controlled); base 1650 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue enabled(false); base 1660 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue has_users_value(has_users); base 1669 chrome/browser/ui/webui/options/browser_options_handler.cc base::FundamentalValue has_pairing_value(has_pairing); base 39 chrome/browser/ui/webui/options/browser_options_handler.h namespace base { base 66 chrome/browser/ui/webui/options/browser_options_handler.h virtual void GetLocalizedValues(base::DictionaryValue* values) OVERRIDE; base 100 chrome/browser/ui/webui/options/browser_options_handler.h virtual void FileSelected(const base::FilePath& path, base 110 chrome/browser/ui/webui/options/browser_options_handler.h void OnUserImagePolicyChanged(const base::Value* previous_policy, base 111 chrome/browser/ui/webui/options/browser_options_handler.h const base::Value* current_policy); base 114 chrome/browser/ui/webui/options/browser_options_handler.h void OnWallpaperPolicyChanged(const base::Value* previous_policy, base 115 chrome/browser/ui/webui/options/browser_options_handler.h const base::Value* current_policy); base 118 chrome/browser/ui/webui/options/browser_options_handler.h void OnPowerwashDialogShow(const base::ListValue* args); base 127 chrome/browser/ui/webui/options/browser_options_handler.h void BecomeDefaultBrowser(const base::ListValue* args); base 130 chrome/browser/ui/webui/options/browser_options_handler.h void SetDefaultSearchEngine(const base::ListValue* args); base 133 chrome/browser/ui/webui/options/browser_options_handler.h void ToggleAutoLaunch(const base::ListValue* args); base 140 chrome/browser/ui/webui/options/browser_options_handler.h static void CheckAutoLaunch(base::WeakPtr<BrowserOptionsHandler> weak_this, base 141 chrome/browser/ui/webui/options/browser_options_handler.h const base::FilePath& profile_path); base 178 chrome/browser/ui/webui/options/browser_options_handler.h scoped_ptr<base::ListValue> GetProfilesInfoList(); base 185 chrome/browser/ui/webui/options/browser_options_handler.h void DeleteProfile(const base::ListValue* args); base 188 chrome/browser/ui/webui/options/browser_options_handler.h void ThemesReset(const base::ListValue* args); base 190 chrome/browser/ui/webui/options/browser_options_handler.h void ThemesSetNative(const base::ListValue* args); base 209 chrome/browser/ui/webui/options/browser_options_handler.h void HandleSelectDownloadLocation(const base::ListValue* args); base 213 chrome/browser/ui/webui/options/browser_options_handler.h void HandleAutoOpenButton(const base::ListValue* args); base 218 chrome/browser/ui/webui/options/browser_options_handler.h void HandleDefaultFontSize(const base::ListValue* args); base 223 chrome/browser/ui/webui/options/browser_options_handler.h void HandleDefaultZoomFactor(const base::ListValue* args); base 227 chrome/browser/ui/webui/options/browser_options_handler.h void HandleUseSSL3Checkbox(const base::ListValue* args); base 231 chrome/browser/ui/webui/options/browser_options_handler.h void HandleUseTLS1Checkbox(const base::ListValue* args); base 234 chrome/browser/ui/webui/options/browser_options_handler.h void HandleRestartBrowser(const base::ListValue* args); base 237 chrome/browser/ui/webui/options/browser_options_handler.h void HandleRequestProfilesInfo(const base::ListValue* args); base 242 chrome/browser/ui/webui/options/browser_options_handler.h void ShowNetworkProxySettings(const base::ListValue* args); base 248 chrome/browser/ui/webui/options/browser_options_handler.h void ShowManageSSLCertificates(const base::ListValue* args); base 252 chrome/browser/ui/webui/options/browser_options_handler.h void ShowCloudPrintDevicesPage(const base::ListValue* args); base 257 chrome/browser/ui/webui/options/browser_options_handler.h void RegisterCloudPrintValues(base::DictionaryValue* values); base 265 chrome/browser/ui/webui/options/browser_options_handler.h void HandleRequestHotwordAvailable(const base::ListValue* args); base 268 chrome/browser/ui/webui/options/browser_options_handler.h void HandleRequestHotwordSetupRetry(const base::ListValue* args); base 271 chrome/browser/ui/webui/options/browser_options_handler.h void HandleLaunchEasyUnlockSetup(const base::ListValue* args); base 275 chrome/browser/ui/webui/options/browser_options_handler.h void HandleOpenWallpaperManager(const base::ListValue* args); base 280 chrome/browser/ui/webui/options/browser_options_handler.h void VirtualKeyboardChangeCallback(const base::ListValue* args); base 284 chrome/browser/ui/webui/options/browser_options_handler.h void PerformFactoryResetRestart(const base::ListValue* args); base 318 chrome/browser/ui/webui/options/browser_options_handler.h scoped_ptr<base::DictionaryValue> GetSyncStateDictionary(); base 345 chrome/browser/ui/webui/options/browser_options_handler.h base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; base 86 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc base::Bind(&CertificateManagerBrowserTest::SetUpOnIOThread, this)); base 108 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc base::Bind( base 110 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc base::Unretained(this))); base 121 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc base::Bind(&CertificateManagerBrowserTest::TearDownOnIOThread, this)); base 140 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc base::Value::CreateStringValue(user_policy_blob), base 159 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc base::Bind(&CertificateManagerBrowserTest::FrameHasSettingsSourceHost)); base 41 chrome/browser/ui/webui/options/certificate_manager_handler.cc using base::UTF8ToUTF16; base 68 chrome/browser/ui/webui/options/certificate_manager_handler.cc bool CallbackArgsToBool(const base::ListValue* args, int index, bool* result) { base 82 chrome/browser/ui/webui/options/certificate_manager_handler.cc bool operator()(const base::Value* a, base 83 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::Value* b) const { base 84 chrome/browser/ui/webui/options/certificate_manager_handler.cc DCHECK(a->GetType() == base::Value::TYPE_DICTIONARY); base 85 chrome/browser/ui/webui/options/certificate_manager_handler.cc DCHECK(b->GetType() == base::Value::TYPE_DICTIONARY); base 86 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::DictionaryValue* a_dict = base 87 chrome/browser/ui/webui/options/certificate_manager_handler.cc reinterpret_cast<const base::DictionaryValue*>(a); base 88 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::DictionaryValue* b_dict = base 89 chrome/browser/ui/webui/options/certificate_manager_handler.cc reinterpret_cast<const base::DictionaryValue*>(b); base 90 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::string16 a_str; base 91 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::string16 b_str; base 96 chrome/browser/ui/webui/options/certificate_manager_handler.cc return base::i18n::CompareString16WithCollator( base 156 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* CallbackArgsToCert(const base::ListValue* args); base 173 chrome/browser/ui/webui/options/certificate_manager_handler.cc return base::IntToString(iter->second); base 177 chrome/browser/ui/webui/options/certificate_manager_handler.cc return base::IntToString(new_id); base 182 chrome/browser/ui/webui/options/certificate_manager_handler.cc if (!base::StringToInt(id, &cert_id)) base 189 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::ListValue* args) { base 208 chrome/browser/ui/webui/options/certificate_manager_handler.cc : public base::RefCountedThreadSafe<FileAccessProvider> { base 212 chrome/browser/ui/webui/options/certificate_manager_handler.cc typedef base::Callback<void(const int*, const std::string*)> ReadCallback; base 216 chrome/browser/ui/webui/options/certificate_manager_handler.cc typedef base::Callback<void(const int*, const int*)> WriteCallback; base 218 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::CancelableTaskTracker::TaskId StartRead( base 219 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::FilePath& path, base 221 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::CancelableTaskTracker* tracker); base 222 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::CancelableTaskTracker::TaskId StartWrite( base 223 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::FilePath& path, base 226 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::CancelableTaskTracker* tracker); base 234 chrome/browser/ui/webui/options/certificate_manager_handler.cc void DoRead(const base::FilePath& path, base 239 chrome/browser/ui/webui/options/certificate_manager_handler.cc void DoWrite(const base::FilePath& path, base 245 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::CancelableTaskTracker::TaskId FileAccessProvider::StartRead( base 246 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::FilePath& path, base 248 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::CancelableTaskTracker* tracker) { base 257 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&FileAccessProvider::DoRead, this, path, saved_errno, data), base 258 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(callback, base::Owned(saved_errno), base::Owned(data))); base 261 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::CancelableTaskTracker::TaskId FileAccessProvider::StartWrite( base 262 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::FilePath& path, base 265 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::CancelableTaskTracker* tracker) { base 274 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&FileAccessProvider::DoWrite, base 280 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind( base 281 chrome/browser/ui/webui/options/certificate_manager_handler.cc callback, base::Owned(saved_errno), base::Owned(bytes_written))); base 284 chrome/browser/ui/webui/options/certificate_manager_handler.cc void FileAccessProvider::DoRead(const base::FilePath& path, base 287 chrome/browser/ui/webui/options/certificate_manager_handler.cc bool success = base::ReadFileToString(path, data); base 291 chrome/browser/ui/webui/options/certificate_manager_handler.cc void FileAccessProvider::DoWrite(const base::FilePath& path, base 295 chrome/browser/ui/webui/options/certificate_manager_handler.cc *bytes_written = base::WriteFile(path, data.data(), data.size()); base 315 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::DictionaryValue* localized_strings) { base 419 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::View, base::Unretained(this))); base 423 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::GetCATrust, base 424 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 427 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::EditCATrust, base 428 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 432 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::EditServer, base 433 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 437 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::CancelImportExportProcess, base 438 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 442 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ExportPersonal, base 443 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 446 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ExportAllPersonal, base 447 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 450 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ExportPersonalPasswordSelected, base 451 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 455 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::StartImportPersonal, base 456 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 459 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ImportPersonalPasswordSelected, base 460 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 464 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ImportCA, base 465 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 468 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ImportCATrustSelected, base 469 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 473 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ImportServer, base 474 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 478 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::Export, base 479 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 483 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::Delete, base 484 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 488 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::Populate, base 489 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 507 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::FileSelected(const base::FilePath& path, base 541 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::View(const base::ListValue* args) { base 556 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::GetCATrust(const base::ListValue* args) { base 565 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::FundamentalValue ssl_value( base 567 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::FundamentalValue email_value( base 569 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::FundamentalValue obj_sign_value( base 576 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::EditCATrust(const base::ListValue* args) { base 606 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::EditServer(const base::ListValue* args) { base 610 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::ExportPersonal(const base::ListValue* args) { base 626 chrome/browser/ui/webui/options/certificate_manager_handler.cc ui::SelectFileDialog::SELECT_SAVEAS_FILE, base::string16(), base 627 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::FilePath(), &file_type_info, 1, FILE_PATH_LITERAL("p12"), base 632 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::ExportAllPersonal(const base::ListValue* args) { base 637 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::FilePath& path) { base 644 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::ListValue* args) { base 662 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ExportPersonalSlotsUnlocked, base 663 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 683 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ExportPersonalFileWritten, base 684 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this)), base 701 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::ListValue* args) { base 718 chrome/browser/ui/webui/options/certificate_manager_handler.cc ui::SelectFileDialog::SELECT_OPEN_FILE, base::string16(), base 719 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::FilePath(), &file_type_info, 1, FILE_PATH_LITERAL("p12"), base 725 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::FilePath& path) { base 732 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::ListValue* args) { base 740 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ImportPersonalFileRead, base 741 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this)), base 772 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ImportPersonalSlotUnlocked, base 773 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this))); base 814 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::ListValue* args) { base 833 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::ImportServer(const base::ListValue* args) { base 839 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::FilePath(), base 845 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::FilePath& path) { base 849 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ImportServerFileRead, base 850 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this)), base 893 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::ImportCA(const base::ListValue* args) { base 898 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::FilePath(), base 904 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::FilePath& path) { base 908 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::ImportCAFileRead, base 909 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Unretained(this)), base 940 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::StringValue cert_name(root_cert->subject().GetDisplayName()); base 946 chrome/browser/ui/webui/options/certificate_manager_handler.cc const base::ListValue* args) { base 983 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::Export(const base::ListValue* args) { base 991 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::Delete(const base::ListValue* args) { base 1011 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::FundamentalValue user_db_available_value( base 1013 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::FundamentalValue tpm_available_value( base 1021 chrome/browser/ui/webui/options/certificate_manager_handler.cc void CertificateManagerHandler::Populate(const base::ListValue* args) { base 1034 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::Bind(&CertificateManagerHandler::OnCertificateManagerModelCreated, base 1064 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::ListValue* nodes = new base::ListValue; base 1068 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::DictionaryValue* dict = new base::DictionaryValue; base 1073 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::ListValue* subnodes = new base::ListValue; base 1076 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::DictionaryValue* cert_dict = new base::DictionaryValue; base 1108 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::ListValue args; base 1109 chrome/browser/ui/webui/options/certificate_manager_handler.cc args.Append(new base::StringValue(tree_name)); base 1117 chrome/browser/ui/webui/options/certificate_manager_handler.cc ScopedVector<const base::Value> args; base 1118 chrome/browser/ui/webui/options/certificate_manager_handler.cc args.push_back(new base::StringValue(title)); base 1119 chrome/browser/ui/webui/options/certificate_manager_handler.cc args.push_back(new base::StringValue(error)); base 1120 chrome/browser/ui/webui/options/certificate_manager_handler.cc args.push_back(new base::StringValue(l10n_util::GetStringUTF8(IDS_OK))); base 1121 chrome/browser/ui/webui/options/certificate_manager_handler.cc args.push_back(base::Value::CreateNullValue()); // cancelTitle base 1122 chrome/browser/ui/webui/options/certificate_manager_handler.cc args.push_back(base::Value::CreateNullValue()); // okCallback base 1123 chrome/browser/ui/webui/options/certificate_manager_handler.cc args.push_back(base::Value::CreateNullValue()); // cancelCallback base 1139 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::ListValue cert_error_list; base 1142 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::DictionaryValue* dict = new base::DictionaryValue; base 1148 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::StringValue title_value(title); base 1149 chrome/browser/ui/webui/options/certificate_manager_handler.cc base::StringValue error_value(error); base 35 chrome/browser/ui/webui/options/certificate_manager_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 42 chrome/browser/ui/webui/options/certificate_manager_handler.h virtual void FileSelected(const base::FilePath& path, base 49 chrome/browser/ui/webui/options/certificate_manager_handler.h void View(const base::ListValue* args); base 52 chrome/browser/ui/webui/options/certificate_manager_handler.h void EditServer(const base::ListValue* args); base 58 chrome/browser/ui/webui/options/certificate_manager_handler.h void GetCATrust(const base::ListValue* args); base 59 chrome/browser/ui/webui/options/certificate_manager_handler.h void EditCATrust(const base::ListValue* args); base 62 chrome/browser/ui/webui/options/certificate_manager_handler.h void CancelImportExportProcess(const base::ListValue* args); base 76 chrome/browser/ui/webui/options/certificate_manager_handler.h void ExportPersonal(const base::ListValue* args); base 77 chrome/browser/ui/webui/options/certificate_manager_handler.h void ExportAllPersonal(const base::ListValue* args); base 78 chrome/browser/ui/webui/options/certificate_manager_handler.h void ExportPersonalFileSelected(const base::FilePath& path); base 79 chrome/browser/ui/webui/options/certificate_manager_handler.h void ExportPersonalPasswordSelected(const base::ListValue* args); base 97 chrome/browser/ui/webui/options/certificate_manager_handler.h void StartImportPersonal(const base::ListValue* args); base 98 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportPersonalFileSelected(const base::FilePath& path); base 99 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportPersonalPasswordSelected(const base::ListValue* args); base 109 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportServer(const base::ListValue* args); base 110 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportServerFileSelected(const base::FilePath& path); base 121 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportCA(const base::ListValue* args); base 122 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportCAFileSelected(const base::FilePath& path); base 124 chrome/browser/ui/webui/options/certificate_manager_handler.h void ImportCATrustSelected(const base::ListValue* args); base 127 chrome/browser/ui/webui/options/certificate_manager_handler.h void Export(const base::ListValue* args); base 130 chrome/browser/ui/webui/options/certificate_manager_handler.h void Delete(const base::ListValue* args); base 138 chrome/browser/ui/webui/options/certificate_manager_handler.h void Populate(const base::ListValue* args); base 172 chrome/browser/ui/webui/options/certificate_manager_handler.h base::FilePath file_path_; base 173 chrome/browser/ui/webui/options/certificate_manager_handler.h base::string16 password_; base 181 chrome/browser/ui/webui/options/certificate_manager_handler.h base::CancelableTaskTracker tracker_; base 186 chrome/browser/ui/webui/options/certificate_manager_handler.h base::WeakPtrFactory<CertificateManagerHandler> weak_ptr_factory_; base 37 chrome/browser/ui/webui/options/chromeos/accounts_options_browsertest.cc stub_settings_provider_.Set(kDeviceOwner, base::StringValue(kTestUsers[0])); base 37 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::StringValue username_value(username); base 54 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::Bind(&AccountsOptionsHandler::HandleWhitelistUser, base 55 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::Unretained(this))); base 57 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::Bind(&AccountsOptionsHandler::HandleUnwhitelistUser, base 58 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::Unretained(this))); base 60 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::Bind(&AccountsOptionsHandler::HandleWhitelistExistingUsers, base 61 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::Unretained(this))); base 65 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::DictionaryValue* localized_strings) { base 95 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc void AccountsOptionsHandler::HandleWhitelistUser(const base::ListValue* args) { base 107 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc const base::ListValue* args) { base 113 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::StringValue canonical_email(gaia::CanonicalizeEmail(email)); base 119 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc const base::ListValue* args) { base 125 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc scoped_ptr<base::ListValue> new_list; base 128 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc const base::ListValue* existing = NULL; base 132 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc new_list.reset(new base::ListValue); base 136 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc new_list->AppendIfNotPresent(new base::StringValue((*it)->email())); base 25 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 29 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.h void HandleWhitelistUser(const base::ListValue* args); base 30 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.h void HandleUnwhitelistUser(const base::ListValue* args); base 33 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.h void HandleWhitelistExistingUsers(const base::ListValue* args); base 71 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue* localized_strings) { base 169 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::FundamentalValue checked(powered); base 184 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::FundamentalValue discovering_value(discovering); base 191 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::EnableChangeCallback, base 192 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Unretained(this))); base 194 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::FindDevicesCallback, base 195 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Unretained(this))); base 197 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::UpdateDeviceCallback, base 198 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Unretained(this))); base 200 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::StopDiscoveryCallback, base 201 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Unretained(this))); base 203 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::GetPairedDevicesCallback, base 204 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Unretained(this))); base 209 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::InitializeAdapter, base 232 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc const base::ListValue* args) { base 237 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&base::DoNothing), base 238 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::EnableChangeError, base 248 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc const base::ListValue* args) { base 255 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::OnStartDiscoverySession, base 257 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::FindDevicesError, base 276 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::FundamentalValue discovering(adapter_->IsDiscovering()); base 282 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc const base::ListValue* args) { base 316 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::StringToUint(auth_token, &passkey); base 334 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::Connected, base 336 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::ConnectError, base 357 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&base::DoNothing), base 358 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::DisconnectError, base 364 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->Forget(base::Bind(&BluetoothOptionsHandler::ForgetError, base 433 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc const base::ListValue* args) { base 440 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&base::DoNothing), base 441 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::Bind(&BluetoothOptionsHandler::StopDiscoveryError, base 451 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc const base::ListValue* args) { base 461 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue* params) { base 462 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue js_properties; base 506 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue params; base 512 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue params; base 519 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue params; base 527 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue params; base 535 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue params; base 542 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue params; base 559 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue properties; base 592 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::StringValue address(device->GetAddress()); base 601 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::DictionaryValue params; base 19 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h namespace base { base 37 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 48 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h base::DictionaryValue* params); base 194 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h void EnableChangeCallback(const base::ListValue* args); base 199 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h void FindDevicesCallback(const base::ListValue* args); base 206 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h void UpdateDeviceCallback(const base::ListValue* args); base 211 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h void StopDiscoveryCallback(const base::ListValue* args); base 216 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h void GetPairedDevicesCallback(const base::ListValue* args); base 240 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h base::WeakPtrFactory<BluetoothOptionsHandler> weak_ptr_factory_; base 104 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::DictionaryValue* localized_strings) { base 141 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Bind(&ChangePictureOptionsHandler::HandleChooseFile, base 142 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Unretained(this))); base 144 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Bind(&ChangePictureOptionsHandler::HandleTakePhoto, base 145 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Unretained(this))); base 147 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Bind(&ChangePictureOptionsHandler::HandlePhotoTaken, base 148 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Unretained(this))); base 150 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Bind(&ChangePictureOptionsHandler::HandleDiscardPhoto, base 151 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Unretained(this))); base 153 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Bind(&ChangePictureOptionsHandler::HandlePageShown, base 154 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Unretained(this))); base 156 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Bind(&ChangePictureOptionsHandler::HandlePageHidden, base 157 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Unretained(this))); base 159 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Bind(&ChangePictureOptionsHandler::HandlePageInitialized, base 160 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Unretained(this))); base 162 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Bind(&ChangePictureOptionsHandler::HandleSelectImage, base 163 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::Unretained(this))); base 167 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::ListValue image_urls; base 169 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc scoped_ptr<base::DictionaryValue> image_data(new base::DictionaryValue); base 183 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc const base::ListValue* args) { base 188 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::FilePath downloads_path; base 210 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc const base::ListValue* args) { base 216 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc const base::ListValue* args) { base 222 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc const base::ListValue* args) { base 241 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc scoped_refptr<base::MessageLoopProxy> task_runner = base 247 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc const base::ListValue* args) { base 252 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc void ChangePictureOptionsHandler::HandlePageShown(const base::ListValue* args) { base 260 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc const base::ListValue* args) { base 286 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::StringValue image_url(GetDefaultImageUrl(previous_image_index_)); base 300 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::StringValue data_url(webui::GetBitmapDataUrl(*image.bitmap())); base 301 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::FundamentalValue select(should_select); base 320 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::StringValue url(image_url); base 325 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc const base::ListValue* args) { base 395 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc void ChangePictureOptionsHandler::FileSelected(const base::FilePath& path, base 418 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc base::FundamentalValue present_value(present); base 17 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h namespace base { base 40 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 73 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void HandleChooseFile(const base::ListValue* args); base 76 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void HandleTakePhoto(const base::ListValue* args); base 79 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void HandlePhotoTaken(const base::ListValue* args); base 82 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void HandleDiscardPhoto(const base::ListValue* args); base 85 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void HandleGetAvailableImages(const base::ListValue* args); base 88 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void HandlePageInitialized(const base::ListValue* args); base 91 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void HandlePageShown(const base::ListValue* args); base 94 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void HandlePageHidden(const base::ListValue* args); base 97 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void HandleSelectImage(const base::ListValue* args); base 101 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h const base::FilePath& path, base 50 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::DictionaryValue* CreateUserInfo(const std::string& username, base 53 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::DictionaryValue* user_dict = new base::DictionaryValue; base 65 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::Value* CreateUsersWhitelist(const base::Value *pref_value) { base 66 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc const base::ListValue* list_value = base 67 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc static_cast<const base::ListValue*>(pref_value); base 68 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::ListValue* user_list = new base::ListValue(); base 71 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc for (base::ListValue::const_iterator i = list_value->begin(); base 98 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::Bind(&CoreChromeOSOptionsHandler::SelectNetworkCallback, base 99 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::Unretained(this))); base 123 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::Value* CoreChromeOSOptionsHandler::FetchPref( base 126 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::Value *value = NULL; base 130 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc return base::Value::CreateNullValue(); base 141 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc const base::Value* pref_value = CrosSettings::Get()->GetPref(pref_name); base 143 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc return base::Value::CreateNullValue(); base 147 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::DictionaryValue* dict = new base::DictionaryValue; base 179 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::Bind(&CoreChromeOSOptionsHandler::NotifySettingsChanged, base 180 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::Unretained(this), base 186 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc const base::Value* value, base 191 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::StringValue proxy_type(pref_name); base 215 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::Value* CoreChromeOSOptionsHandler::CreateValueForPref( base 238 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::DictionaryValue* dict = new base::DictionaryValue; base 251 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::DictionaryValue* localized_strings) { base 271 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::ASCIIToUTF16(primary_email))); base 275 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::ASCIIToUTF16(primary_email))); base 279 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::ASCIIToUTF16(primary_email))); base 282 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc localized_strings->SetString("secondaryUserBannerText", base::string16()); base 283 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc localized_strings->SetString("controlledSettingShared", base::string16()); base 284 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc localized_strings->SetString("controlledSettingsShared", base::string16()); base 296 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc localized_strings->SetString("controlledSettingOwner", base::string16()); base 301 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::ASCIIToUTF16(user_manager->GetOwnerEmail()))); base 306 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc const base::ListValue* args) { base 340 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc scoped_ptr<base::Value> value(FetchPref(setting_name)); base 349 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc base::Value* value = NULL; base 353 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc scoped_ptr<base::Value> ptr(value); base 27 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h virtual base::Value* FetchPref(const std::string& pref_name) OVERRIDE; base 31 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h const base::Value* value, base 34 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h virtual base::Value* CreateValueForPref( base 40 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 48 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h void SelectNetworkCallback(const base::ListValue* args); base 45 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc using base::UserMetricsAction; base 76 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::DictionaryValue* localized_strings) { base 139 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc new base::ListValue()); base 147 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::Bind(&CrosLanguageOptionsHandler::InputMethodDisableCallback, base 148 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::Unretained(this))); base 150 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::Bind(&CrosLanguageOptionsHandler::InputMethodEnableCallback, base 151 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::Unretained(this))); base 153 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::Bind(&CrosLanguageOptionsHandler::InputMethodOptionsOpenCallback, base 154 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::Unretained(this))); base 156 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::Bind(&CrosLanguageOptionsHandler::RestartCallback, base 157 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::Unretained(this))); base 160 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::ListValue* CrosLanguageOptionsHandler::GetInputMethodList( base 165 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::ListValue* input_method_list = new base::ListValue(); base 173 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::DictionaryValue* dictionary = new base::DictionaryValue(); base 179 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::DictionaryValue* languages = new base::DictionaryValue(); base 192 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::ListValue* CrosLanguageOptionsHandler::GetLanguageListInternal( base 224 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc typedef std::pair<std::string, base::string16> LanguagePair; base 225 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc typedef std::map<base::string16, LanguagePair> LanguageMap; base 229 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc std::vector<base::string16> display_names; base 232 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc std::vector<base::string16> configured_locales_display_names( base 247 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc const base::string16 display_name = base 249 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc const base::string16 native_display_name = base 278 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::string16 display_name = base 281 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::string16 native_display_name = base 301 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc std::vector<base::string16> out_display_names; base 308 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::string16 divider16; base 310 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc divider16 = base::ASCIIToUTF16( base 320 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::ListValue* language_list = new base::ListValue(); base 323 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::string16 display_name(out_display_names[i]); base 326 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::DictionaryValue* dictionary = new base::DictionaryValue(); base 332 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::i18n::UnadjustStringForLocaleDirection(&display_name); base 334 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc bool has_rtl_chars = base::i18n::StringContainsStrongRTLChars(display_name); base 338 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::DictionaryValue* dictionary = new base::DictionaryValue(); base 350 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::ListValue* CrosLanguageOptionsHandler::GetAcceptLanguageList( base 360 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::ListValue* CrosLanguageOptionsHandler::GetUILanguageList( base 367 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::ListValue* base 370 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc scoped_ptr<base::ListValue> ime_ids_list(new base::ListValue()); base 373 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc scoped_ptr<base::DictionaryValue> dictionary(new base::DictionaryValue()); base 377 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc scoped_ptr<base::DictionaryValue> language_codes( base 378 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc new base::DictionaryValue()); base 387 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::string16 CrosLanguageOptionsHandler::GetProductName() { base 404 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc void CrosLanguageOptionsHandler::RestartCallback(const base::ListValue* args) { base 410 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc const base::ListValue* args) { base 412 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::UTF16ToASCII(ExtractStringValue(args)); base 413 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc const std::string action = base::StringPrintf( base 419 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc const base::ListValue* args) { base 421 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::UTF16ToASCII(ExtractStringValue(args)); base 422 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc const std::string action = base::StringPrintf( base 428 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc const base::ListValue* args) { base 430 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc base::UTF16ToASCII(ExtractStringValue(args)); base 468 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc scoped_ptr<base::ListValue> ime_list( base 491 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc scoped_ptr<base::ListValue> ime_list( base 32 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 46 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h static base::ListValue* GetInputMethodList( base 56 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h static base::ListValue* GetAcceptLanguageList( base 67 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h static base::ListValue* GetUILanguageList( base 74 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h static base::ListValue* ConvertInputMethodDescriptosToIMEList( base 79 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h virtual base::string16 GetProductName() OVERRIDE; base 83 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h void RestartCallback(const base::ListValue* args); base 87 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h void InputMethodDisableCallback(const base::ListValue* args); base 91 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h void InputMethodEnableCallback(const base::ListValue* args); base 95 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h void InputMethodOptionsOpenCallback(const base::ListValue* args); base 105 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h static base::ListValue* GetLanguageListInternal( base 29 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc base::MessageLoop tmp_loop(base::MessageLoop::TYPE_DEFAULT); base 84 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc base::ShadowingAtExitManager at_exit_manager_; base 98 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc scoped_ptr<base::ListValue> list( base 103 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc base::DictionaryValue* entry = NULL; base 104 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc base::DictionaryValue *language_code_set = NULL; base 153 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc scoped_ptr<base::ListValue> list( base 158 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc base::DictionaryValue* dict; base 196 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc scoped_ptr<base::ListValue> list( base 200 chrome/browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc base::DictionaryValue* dict; base 40 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc int64 GetDisplayId(const base::ListValue* args) { base 49 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (!base::StringToInt64(id_value, &display_id)) { base 63 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::string16 GetColorProfileName(ui::ColorCalibrationProfile profile) { base 82 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc return base::string16(); base 96 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::DictionaryValue* localized_strings) { base 147 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Bind(&DisplayOptionsHandler::HandleDisplayInfo, base 148 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this))); base 151 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Bind(&DisplayOptionsHandler::HandleMirroring, base 152 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this))); base 155 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Bind(&DisplayOptionsHandler::HandleSetPrimary, base 156 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this))); base 159 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Bind(&DisplayOptionsHandler::HandleDisplayLayout, base 160 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this))); base 163 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Bind(&DisplayOptionsHandler::HandleSetUIScale, base 164 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this))); base 167 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Bind(&DisplayOptionsHandler::HandleSetResolution, base 168 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this))); base 171 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Bind(&DisplayOptionsHandler::HandleSetOrientation, base 172 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this))); base 175 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Bind(&DisplayOptionsHandler::HandleSetColorProfile, base 176 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this))); base 199 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::FundamentalValue mirroring(display_manager->IsMirrored()); base 202 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::ListValue js_displays; base 208 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::DictionaryValue* js_display = new base::DictionaryValue(); base 209 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc js_display->SetString("id", base::Int64ToString(display.id())); base 244 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::ListValue* js_resolutions = new base::ListValue(); base 248 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::DictionaryValue* resolution_info = new base::DictionaryValue(); base 276 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::ListValue* available_color_profiles = new base::ListValue(); base 279 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::DictionaryValue* color_profile_dict = new base::DictionaryValue(); base 290 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc scoped_ptr<base::Value> layout_value(base::Value::CreateNullValue()); base 291 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc scoped_ptr<base::Value> offset_value(base::Value::CreateNullValue()); base 295 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc layout_value.reset(new base::FundamentalValue(layout.position)); base 296 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc offset_value.reset(new base::FundamentalValue(layout.offset)); base 318 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc const base::ListValue* unused_args) { base 322 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc void DisplayOptionsHandler::HandleMirroring(const base::ListValue* args) { base 325 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::UserMetricsAction("Options_DisplayToggleMirroring")); base 329 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc StartFadeOutAnimation(base::Bind( base 331 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this), base 335 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc void DisplayOptionsHandler::HandleSetPrimary(const base::ListValue* args) { base 341 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc content::RecordAction(base::UserMetricsAction("Options_DisplaySetPrimary")); base 346 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc void DisplayOptionsHandler::HandleDisplayLayout(const base::ListValue* args) { base 356 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc content::RecordAction(base::UserMetricsAction("Options_DisplayRearrange")); base 358 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc StartFadeOutAnimation(base::Bind( base 360 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Unretained(this), base 365 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc void DisplayOptionsHandler::HandleSetUIScale(const base::ListValue* args) { base 381 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc void DisplayOptionsHandler::HandleSetResolution(const base::ListValue* args) { base 388 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::UserMetricsAction("Options_DisplaySetResolution")); base 429 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::Bind(&StoreDisplayPrefs)); base 432 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc void DisplayOptionsHandler::HandleSetOrientation(const base::ListValue* args) { base 455 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc base::UserMetricsAction("Options_DisplaySetOrientation")); base 459 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc void DisplayOptionsHandler::HandleSetColorProfile(const base::ListValue* args) { base 472 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (!base::StringToInt(profile_value, &profile_id)) { base 13 chrome/browser/ui/webui/options/chromeos/display_options_handler.h namespace base { base 30 chrome/browser/ui/webui/options/chromeos/display_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 57 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void HandleDisplayInfo(const base::ListValue* unused_args); base 58 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void HandleMirroring(const base::ListValue* args); base 59 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void HandleSetPrimary(const base::ListValue* args); base 60 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void HandleDisplayLayout(const base::ListValue* args); base 61 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void HandleSetUIScale(const base::ListValue* args); base 62 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void HandleSetResolution(const base::ListValue* args); base 63 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void HandleSetOrientation(const base::ListValue* args); base 64 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void HandleSetColorProfile(const base::ListValue* args); base 42 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::DictionaryValue* localized_strings) { base 60 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Bind(&DisplayOverscanHandler::HandleStart, base 61 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Unretained(this))); base 64 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Bind(&DisplayOverscanHandler::HandleCommit, base 65 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Unretained(this))); base 68 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Bind(&DisplayOverscanHandler::HandleReset, base 69 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Unretained(this))); base 72 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Bind(&DisplayOverscanHandler::HandleCancel, base 73 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Unretained(this))); base 76 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Bind(&DisplayOverscanHandler::HandleMove, base 77 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Unretained(this))); base 80 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Bind(&DisplayOverscanHandler::HandleResize, base 81 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc base::Unretained(this))); base 98 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc void DisplayOverscanHandler::HandleStart(const base::ListValue* args) { base 106 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc if (!base::StringToInt64(id_value, &display_id) || base 124 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc void DisplayOverscanHandler::HandleCommit(const base::ListValue* unused_args) { base 131 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc void DisplayOverscanHandler::HandleReset(const base::ListValue* unused_args) { base 136 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc void DisplayOverscanHandler::HandleCancel(const base::ListValue* unused_args) { base 140 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc void DisplayOverscanHandler::HandleMove(const base::ListValue* args) { base 171 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc void DisplayOverscanHandler::HandleResize(const base::ListValue* args) { base 12 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h namespace base { base 31 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 43 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h void HandleStart(const base::ListValue* args); base 44 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h void HandleCommit(const base::ListValue* unused_args); base 45 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h void HandleReset(const base::ListValue* unused_args); base 46 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h void HandleCancel(const base::ListValue* unused_args); base 47 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h void HandleMove(const base::ListValue* args); base 48 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h void HandleResize(const base::ListValue* args); base 259 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc scoped_ptr<base::DictionaryValue> error_data) { base 276 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Value* value) { base 278 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue properties; base 282 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&base::DoNothing), base 283 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "SetNetworkProperty")); base 394 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& provider_properties) { base 431 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* network_info) { base 449 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* BuildNetworkDictionary( base 453 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc scoped_ptr<base::DictionaryValue> network_info(new base::DictionaryValue()); base 468 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* BuildFavoriteDictionary( base 472 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc scoped_ptr<base::DictionaryValue> network_info(new base::DictionaryValue()); base 490 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* BuildIPInfoDictionary( base 491 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 510 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc scoped_ptr<base::DictionaryValue> ip_info_dict(new base::DictionaryValue); base 561 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::Value& value, base 562 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* value_dict) { base 563 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::Value* recommended_value = ui_data.default_value(); base 575 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void SetValueDictionary(base::DictionaryValue* settings, base 577 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Value* value, base 579 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 592 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* settings) { base 593 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 594 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Value* value = new base::FundamentalValue(current_autoconnect); base 612 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc std::string CopyStringFromDictionary(const base::DictionaryValue& source, base 615 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dest) { base 622 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void CopyIntegerFromDictionary(const base::DictionaryValue& source, base 626 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dest) { base 631 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc std::string str = base::StringPrintf("%d", int_value); base 641 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 642 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary) { base 645 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue* provider_properties = NULL; base 669 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue* onc = base 676 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::StringPrintf("%s.%s", ::onc::network_config::kVPN, base 682 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc new base::StringValue(provider_host), base 694 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc int FindCurrentCarrierIndex(const base::ListValue* carriers, base 700 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc for (base::ListValue::const_iterator it = carriers->begin(); base 717 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 718 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary); base 722 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 723 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary); base 726 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void CreateDictionaryFromCellularApn(const base::DictionaryValue* apn, base 727 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary); base 731 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 732 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary); base 736 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 737 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary); base 742 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& old_properties, base 753 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& old_properties, base 754 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* new_properties) { base 766 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& old_properties, base 767 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* new_properties) { base 781 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ash::network_connect::ConnectToNetwork, base 783 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "RequestReconnect")); base 808 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* localized_strings) { base 969 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc localized_strings->SetString("ownerUserId", base::UTF8ToUTF16(owner)); base 971 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* network_dictionary = new base::DictionaryValue; base 977 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue dictionary; base 994 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::NetworkCommandCallback, base 995 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 997 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::RefreshNetworksCallback, base 998 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1000 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::SetPreferNetworkCallback, base 1001 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1003 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::SetAutoConnectCallback, base 1004 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1006 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::SetIPConfigCallback, base 1007 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1009 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::EnableWifiCallback, base 1010 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1012 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::DisableWifiCallback, base 1013 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1015 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::EnableCellularCallback, base 1016 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1018 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::DisableCellularCallback, base 1019 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1021 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::EnableWimaxCallback, base 1022 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1024 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::DisableWimaxCallback, base 1025 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1027 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::BuyDataPlanCallback, base 1028 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1030 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::ShowMorePlanInfoCallback, base 1031 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1033 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::SetApnCallback, base 1034 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1036 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::SetCarrierCallback, base 1037 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1039 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::SetSimCardLockCallback, base 1040 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1042 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::ChangePinCallback, base 1043 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1045 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::SetServerHostnameCallback, base 1046 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Unretained(this))); base 1049 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void InternetOptionsHandler::EnableWifiCallback(const base::ListValue* args) { base 1050 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc content::RecordAction(base::UserMetricsAction("Options_NetworkWifiToggle")); base 1053 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "EnableWifiCallback")); base 1056 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void InternetOptionsHandler::DisableWifiCallback(const base::ListValue* args) { base 1057 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc content::RecordAction(base::UserMetricsAction("Options_NetworkWifiToggle")); base 1060 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "DisableWifiCallback")); base 1064 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args) { base 1080 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "EnableCellularCallback")); base 1106 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args) { base 1109 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "DisableCellularCallback")); base 1112 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void InternetOptionsHandler::EnableWimaxCallback(const base::ListValue* args) { base 1115 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "EnableWimaxCallback")); base 1118 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void InternetOptionsHandler::DisableWimaxCallback(const base::ListValue* args) { base 1121 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "DisableWimaxCallback")); base 1125 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args) { base 1136 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void InternetOptionsHandler::BuyDataPlanCallback(const base::ListValue* args) { base 1147 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void InternetOptionsHandler::SetApnCallback(const base::ListValue* args) { base 1155 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::SetApnProperties, base 1156 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc weak_factory_.GetWeakPtr(), base::Owned(args->DeepCopy())), base 1157 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "SetApnCallback")); base 1161 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args, base 1163 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties) { base 1178 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&base::DoNothing), base 1179 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "ClearCellularApnProperties")); base 1183 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue* shill_apn_dict = NULL; base 1190 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue properties; base 1191 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* apn_dict = new base::DictionaryValue; base 1202 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&base::DoNothing), base 1203 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "SetApnProperties")); base 1221 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void InternetOptionsHandler::SetCarrierCallback(const base::ListValue* args) { base 1239 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::CarrierStatusCallback, base 1241 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "SetCarrierCallback")); base 1245 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args) { base 1264 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void InternetOptionsHandler::ChangePinCallback(const base::ListValue* args) { base 1270 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args) { base 1283 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue dictionary; base 1293 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::UpdateConnectionDataCallback, base 1295 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "UpdateConnectionData")); base 1300 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties) { base 1304 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue dictionary; base 1350 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::StringValue login_type( base 1361 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::FundamentalValue require_pin(*content::Details<bool>(details).ptr()); base 1377 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args) { base 1386 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Value::CreateStringValue(server_hostname)); base 1390 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args) { base 1398 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc content::RecordAction(base::UserMetricsAction("Options_NetworkSetPrefer")); base 1401 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Value::CreateIntegerValue(priority)); base 1405 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args) { base 1413 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc content::RecordAction(base::UserMetricsAction("Options_NetworkAutoConnect")); base 1416 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Value::CreateBooleanValue(auto_connect)); base 1419 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void InternetOptionsHandler::SetIPConfigCallback(const base::ListValue* args) { base 1427 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::SetIPConfigProperties, base 1428 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc weak_factory_.GetWeakPtr(), base::Owned(args->DeepCopy())), base 1429 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "SetIPConfigCallback")); base 1433 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args, base 1435 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties) { base 1451 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue properties_to_set; base 1495 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&base::DoNothing), base 1496 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "ClearIPConfigProperties")); base 1501 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&base::DoNothing), base 1502 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "SetIPConfigProperties")); base 1508 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Closure callback = base::Bind(&base::DoNothing); base 1512 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc callback = base::Bind(&RequestReconnect, service_path, GetNativeWindow()); base 1516 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "RequestRefreshIPConfigs")); base 1522 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties) { base 1532 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue* onc = base 1536 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue dictionary; base 1545 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc scoped_ptr<base::DictionaryValue> ipconfig_dhcp(new base::DictionaryValue); base 1560 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc scoped_ptr<base::DictionaryValue> static_ip_dict( base 1566 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc scoped_ptr<base::DictionaryValue> saved_ip_dict( base 1606 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc new base::FundamentalValue(preferred), base 1613 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkShowDetailsWifi")); base 1616 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkShowDetailsWifiConnected")); base 1618 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc onc_path_to_auto_connect = base::StringPrintf( base 1624 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkShowDetailsVPN")); base 1627 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkShowDetailsVPNConnected")); base 1629 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc onc_path_to_auto_connect = base::StringPrintf( base 1635 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkShowDetailsCellular")); base 1637 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc content::RecordAction(base::UserMetricsAction( base 1663 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 1664 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary) { base 1698 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 1699 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary) { base 1711 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 1712 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary) { base 1718 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void CreateDictionaryFromCellularApn(const base::DictionaryValue* apn, base 1719 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary) { base 1737 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& shill_properties, base 1738 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary) { base 1756 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue* serving_operator = NULL; base 1765 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue* olp = NULL; base 1773 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* apn = new base::DictionaryValue; base 1774 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue* source_apn = NULL; base 1781 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* last_good_apn = new base::DictionaryValue; base 1799 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& device_properties = device->properties(); base 1835 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc new base::FundamentalValue(device->sim_lock_enabled()), base 1847 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::ListValue* apn_list_value = new base::ListValue(); base 1848 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* apn_list; base 1851 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc for (base::ListValue::const_iterator iter = apn_list->begin(); base 1853 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue* dict; base 1855 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* apn = new base::DictionaryValue; base 1865 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* supported_carriers; base 1946 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::ListValue* args) { base 1967 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&base::DoNothing), base 1968 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "NetworkCommand: " + command)); base 1973 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&InternetOptionsHandler::PopulateDictionaryDetailsCallback, base 1975 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "NetworkCommand: " + command)); base 1980 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkConnectToWifi")); base 1983 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkConnectToVPN")); base 1989 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkDisconnectWifi")); base 1992 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkDisconnectVPN")); base 1995 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&base::DoNothing), base 1996 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::Bind(&ShillError, "NetworkCommand: " + command)); base 2013 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkJoinOtherWifi")); base 2017 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::UserMetricsAction("Options_NetworkJoinOtherVPN")); base 2026 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::ListValue* InternetOptionsHandler::GetWiredList() { base 2027 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::ListValue* list = new base::ListValue(); base 2039 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::ListValue* InternetOptionsHandler::GetWirelessList() { base 2040 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::ListValue* list = new base::ListValue(); base 2056 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::ListValue* InternetOptionsHandler::GetVPNList() { base 2057 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::ListValue* list = new base::ListValue(); base 2073 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::ListValue* InternetOptionsHandler::GetRememberedList() { base 2074 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::ListValue* list = new base::ListValue(); base 2094 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc base::DictionaryValue* dictionary) { base 51 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 58 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void EnableWifiCallback(const base::ListValue* args); base 59 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void DisableWifiCallback(const base::ListValue* args); base 60 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void EnableCellularCallback(const base::ListValue* args); base 61 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void DisableCellularCallback(const base::ListValue* args); base 62 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void EnableWimaxCallback(const base::ListValue* args); base 63 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void DisableWimaxCallback(const base::ListValue* args); base 64 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void ShowMorePlanInfoCallback(const base::ListValue* args); base 65 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void BuyDataPlanCallback(const base::ListValue* args); base 66 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void SetApnCallback(const base::ListValue* args); base 67 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void SetApnProperties(const base::ListValue* args, base 69 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h const base::DictionaryValue& shill_properties); base 71 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void SetCarrierCallback(const base::ListValue* args); base 72 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void SetSimCardLockCallback(const base::ListValue* args); base 73 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void ChangePinCallback(const base::ListValue* args); base 74 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void RefreshNetworksCallback(const base::ListValue* args); base 87 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h const base::DictionaryValue& shill_properties); base 111 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void SetServerHostnameCallback(const base::ListValue* args); base 112 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void SetPreferNetworkCallback(const base::ListValue* args); base 113 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void SetAutoConnectCallback(const base::ListValue* args); base 114 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void SetIPConfigCallback(const base::ListValue* args); base 115 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void SetIPConfigProperties(const base::ListValue* args, base 117 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h const base::DictionaryValue& shill_properties); base 123 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h const base::DictionaryValue& shill_properties); base 132 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void NetworkCommandCallback(const base::ListValue* args); base 138 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h base::ListValue* GetWiredList(); base 141 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h base::ListValue* GetWirelessList(); base 144 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h base::ListValue* GetVPNList(); base 147 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h base::ListValue* GetRememberedList(); base 150 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h void FillNetworkInfo(base::DictionaryValue* dictionary); base 160 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; base 53 chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc base::DictionaryValue* localized_strings) { base 84 chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc base::ListValue* list_value = new base::ListValue(); base 95 chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc base::ListValue* option = new base::ListValue(); base 96 chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc option->Append(new base::FundamentalValue(value)); base 97 chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc option->Append(new base::StringValue(l10n_util::GetStringUTF16( base 108 chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc const base::FundamentalValue show_caps_lock_options(!chromeos_keyboard); base 112 chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc const base::FundamentalValue show_diamond_key_options(has_diamond_key); base 23 chrome/browser/ui/webui/options/chromeos/keyboard_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 27 chrome/browser/ui/webui/options/chromeos/pointer_handler.cc base::DictionaryValue* localized_strings) { base 52 chrome/browser/ui/webui/options/chromeos/pointer_handler.cc base::ASCIIToUTF16(chrome::kNaturalScrollHelpURL))); base 60 chrome/browser/ui/webui/options/chromeos/pointer_handler.cc base::FundamentalValue val(exists); base 67 chrome/browser/ui/webui/options/chromeos/pointer_handler.cc base::FundamentalValue val(exists); base 80 chrome/browser/ui/webui/options/chromeos/pointer_handler.cc base::StringValue val(label); base 27 chrome/browser/ui/webui/options/chromeos/pointer_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 34 chrome/browser/ui/webui/options/chromeos/proxy_handler.cc base::DictionaryValue* localized_strings) { base 22 chrome/browser/ui/webui/options/chromeos/proxy_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 37 chrome/browser/ui/webui/options/chromeos/shared_options_browsertest.cc stub_settings_provider_.Set(kDeviceOwner, base::StringValue(kTestUsers[0])); base 14 chrome/browser/ui/webui/options/chromeos/stats_options_handler.cc using base::UserMetricsAction; base 24 chrome/browser/ui/webui/options/chromeos/stats_options_handler.cc base::DictionaryValue* localized_strings) { base 30 chrome/browser/ui/webui/options/chromeos/stats_options_handler.cc base::Bind(&StatsOptionsHandler::HandleMetricsReportingCheckbox, base 31 chrome/browser/ui/webui/options/chromeos/stats_options_handler.cc base::Unretained(this))); base 35 chrome/browser/ui/webui/options/chromeos/stats_options_handler.cc const base::ListValue* args) { base 37 chrome/browser/ui/webui/options/chromeos/stats_options_handler.cc const std::string checked_str = base::UTF16ToUTF8(ExtractStringValue(args)); base 24 chrome/browser/ui/webui/options/chromeos/stats_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 30 chrome/browser/ui/webui/options/chromeos/stats_options_handler.h void HandleMetricsReportingCheckbox(const base::ListValue* args); base 53 chrome/browser/ui/webui/options/chromeos/user_image_source.cc base::RefCountedMemory* UserImageSource::GetUserImage( base 60 chrome/browser/ui/webui/options/chromeos/user_image_source.cc return new base::RefCountedBytes(user->animated_image()); base 62 chrome/browser/ui/webui/options/chromeos/user_image_source.cc return new base::RefCountedBytes(user->raw_image()); base 16 chrome/browser/ui/webui/options/chromeos/user_image_source.h namespace base { base 41 chrome/browser/ui/webui/options/chromeos/user_image_source.h base::RefCountedMemory* GetUserImage(const std::string& email, base 51 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::Bind(&ClearBrowserDataHandler::OnBrowsingHistoryPrefChanged, base 52 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::Unretained(this))); base 62 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::Time lastClearBrowsingDataTime = base::Time::FromInternalValue( base 66 chrome/browser/ui/webui/options/clear_browser_data_handler.cc bool visible = (base::Time::Now() - lastClearBrowsingDataTime) <= base 67 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::TimeDelta::FromHours(kHoursPerDay); base 69 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::ListValue args; base 70 chrome/browser/ui/webui/options/clear_browser_data_handler.cc args.Append(base::Value::CreateBooleanValue(visible)); base 76 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::DictionaryValue* localized_strings) { base 112 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::ListValue* time_list = new base::ListValue; base 114 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::string16 label_string; base 132 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::ListValue* option = new base::ListValue(); base 133 chrome/browser/ui/webui/options/clear_browser_data_handler.cc option->Append(new base::FundamentalValue(i)); base 134 chrome/browser/ui/webui/options/clear_browser_data_handler.cc option->Append(new base::StringValue(label_string)); base 145 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::Bind(&ClearBrowserDataHandler::HandleClearBrowserData, base 146 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::Unretained(this))); base 150 chrome/browser/ui/webui/options/clear_browser_data_handler.cc const base::ListValue* value) { base 204 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::Time::Now().ToInternalValue()); base 217 chrome/browser/ui/webui/options/clear_browser_data_handler.cc base::FundamentalValue(*allow_deleting_browser_history_)); base 23 chrome/browser/ui/webui/options/clear_browser_data_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 34 chrome/browser/ui/webui/options/clear_browser_data_handler.h void HandleClearBrowserData(const base::ListValue* value); base 56 chrome/browser/ui/webui/options/content_settings_handler.cc using base::UserMetricsAction; base 165 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* GetExceptionForPage( base 170 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* exception = new base::DictionaryValue(); base 184 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* GetGeolocationExceptionForPage( base 188 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* exception = new base::DictionaryValue(); base 198 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* GetNotificationExceptionForPage( base 202 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* exception = new base::DictionaryValue(); base 220 chrome/browser/ui/webui/options/content_settings_handler.cc const extensions::Extension& app, base::ListValue* exceptions) { base 221 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* exception = new base::DictionaryValue(); base 234 chrome/browser/ui/webui/options/content_settings_handler.cc Profile* profile, AppFilter app_filter, base::ListValue* exceptions) { base 296 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* localized_strings) { base 492 chrome/browser/ui/webui/options/content_settings_handler.cc base::Bind(&ContentSettingsHandler::OnPepperFlashPrefChanged, base 493 chrome/browser/ui/webui/options/content_settings_handler.cc base::Unretained(this))); base 496 chrome/browser/ui/webui/options/content_settings_handler.cc base::Bind(&ContentSettingsHandler::UpdateMediaSettingsView, base 497 chrome/browser/ui/webui/options/content_settings_handler.cc base::Unretained(this))); base 500 chrome/browser/ui/webui/options/content_settings_handler.cc base::Bind(&ContentSettingsHandler::UpdateMediaSettingsView, base 501 chrome/browser/ui/webui/options/content_settings_handler.cc base::Unretained(this))); base 504 chrome/browser/ui/webui/options/content_settings_handler.cc base::Bind( base 506 chrome/browser/ui/webui/options/content_settings_handler.cc base::Unretained(this))); base 512 chrome/browser/ui/webui/options/content_settings_handler.cc base::Bind(&ContentSettingsHandler::OnZoomLevelChanged, base 513 chrome/browser/ui/webui/options/content_settings_handler.cc base::Unretained(this))); base 598 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue filter_settings; base 624 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue media_ui_settings; base 642 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue media_ui_settings; base 656 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue filter_settings; base 693 chrome/browser/ui/webui/options/content_settings_handler.cc base::FundamentalValue handlers_enabled( base 805 chrome/browser/ui/webui/options/content_settings_handler.cc base::ListValue exceptions; base 839 chrome/browser/ui/webui/options/content_settings_handler.cc base::StringValue type_string( base 857 chrome/browser/ui/webui/options/content_settings_handler.cc base::ListValue exceptions; base 878 chrome/browser/ui/webui/options/content_settings_handler.cc base::StringValue type_string( base 889 chrome/browser/ui/webui/options/content_settings_handler.cc base::ListValue media_exceptions; base 895 chrome/browser/ui/webui/options/content_settings_handler.cc base::ListValue video_exceptions; base 902 chrome/browser/ui/webui/options/content_settings_handler.cc std::map<std::string, base::DictionaryValue*> entries_map; base 903 chrome/browser/ui/webui/options/content_settings_handler.cc for (base::ListValue::const_iterator media_entry(media_exceptions.begin()); base 905 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* media_dict = NULL; base 917 chrome/browser/ui/webui/options/content_settings_handler.cc for (base::ListValue::iterator video_entry = video_exceptions.begin(); base 919 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* video_dict = NULL; base 928 chrome/browser/ui/webui/options/content_settings_handler.cc std::map<std::string, base::DictionaryValue*>::iterator iter = base 931 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* exception = new base::DictionaryValue(); base 948 chrome/browser/ui/webui/options/content_settings_handler.cc for (base::ListValue::const_iterator media_entry = media_exceptions.begin(); base 950 chrome/browser/ui/webui/options/content_settings_handler.cc base::DictionaryValue* media_dict = NULL; base 970 chrome/browser/ui/webui/options/content_settings_handler.cc base::StringValue type_string( base 982 chrome/browser/ui/webui/options/content_settings_handler.cc base::FundamentalValue(true)); base 991 chrome/browser/ui/webui/options/content_settings_handler.cc base::ListValue zoom_levels_exceptions; base 1003 chrome/browser/ui/webui/options/content_settings_handler.cc scoped_ptr<base::DictionaryValue> exception(new base::DictionaryValue); base 1025 chrome/browser/ui/webui/options/content_settings_handler.cc base::IntToString16(zoom_percent))); base 1031 chrome/browser/ui/webui/options/content_settings_handler.cc base::StringValue type_string(kZoomContentType); base 1038 chrome/browser/ui/webui/options/content_settings_handler.cc base::ListValue exceptions; base 1041 chrome/browser/ui/webui/options/content_settings_handler.cc base::StringValue type_string(ContentSettingsTypeToGroupName(type)); base 1068 chrome/browser/ui/webui/options/content_settings_handler.cc base::ListValue exceptions; base 1070 chrome/browser/ui/webui/options/content_settings_handler.cc base::StringValue type_string(ContentSettingsTypeToGroupName(type)); base 1078 chrome/browser/ui/webui/options/content_settings_handler.cc base::ListValue* exceptions) { base 1104 chrome/browser/ui/webui/options/content_settings_handler.cc std::vector<std::vector<base::Value*> > all_provider_exceptions; base 1122 chrome/browser/ui/webui/options/content_settings_handler.cc std::vector<base::Value*>* this_provider_exceptions = base 1160 chrome/browser/ui/webui/options/content_settings_handler.cc const base::ListValue* args) { base 1176 chrome/browser/ui/webui/options/content_settings_handler.cc void ContentSettingsHandler::RemoveMediaException(const base::ListValue* args) { base 1203 chrome/browser/ui/webui/options/content_settings_handler.cc const base::ListValue* args, base 1233 chrome/browser/ui/webui/options/content_settings_handler.cc const base::ListValue* args) { base 1260 chrome/browser/ui/webui/options/content_settings_handler.cc base::Bind(&ContentSettingsHandler::SetContentFilter, base 1261 chrome/browser/ui/webui/options/content_settings_handler.cc base::Unretained(this))); base 1263 chrome/browser/ui/webui/options/content_settings_handler.cc base::Bind(&ContentSettingsHandler::RemoveException, base 1264 chrome/browser/ui/webui/options/content_settings_handler.cc base::Unretained(this))); base 1266 chrome/browser/ui/webui/options/content_settings_handler.cc base::Bind(&ContentSettingsHandler::SetException, base 1267 chrome/browser/ui/webui/options/content_settings_handler.cc base::Unretained(this))); base 1269 chrome/browser/ui/webui/options/content_settings_handler.cc base::Bind(&ContentSettingsHandler::CheckExceptionPatternValidity, base 1270 chrome/browser/ui/webui/options/content_settings_handler.cc base::Unretained(this))); base 1296 chrome/browser/ui/webui/options/content_settings_handler.cc new base::FundamentalValue(CONTENT_SETTING_ALLOW)); base 1302 chrome/browser/ui/webui/options/content_settings_handler.cc void ContentSettingsHandler::SetContentFilter(const base::ListValue* args) { base 1380 chrome/browser/ui/webui/options/content_settings_handler.cc void ContentSettingsHandler::RemoveException(const base::ListValue* args) { base 1406 chrome/browser/ui/webui/options/content_settings_handler.cc void ContentSettingsHandler::SetException(const base::ListValue* args) { base 1441 chrome/browser/ui/webui/options/content_settings_handler.cc const base::ListValue* args) { base 1454 chrome/browser/ui/webui/options/content_settings_handler.cc base::StringValue(type_string), base 1455 chrome/browser/ui/webui/options/content_settings_handler.cc base::StringValue(mode_string), base 1456 chrome/browser/ui/webui/options/content_settings_handler.cc base::StringValue(pattern_string), base 1457 chrome/browser/ui/webui/options/content_settings_handler.cc base::FundamentalValue(pattern.IsValid())); base 1522 chrome/browser/ui/webui/options/content_settings_handler.cc base::FundamentalValue(show)); base 1578 chrome/browser/ui/webui/options/content_settings_handler.cc base::FundamentalValue(enable_exceptions)); base 35 chrome/browser/ui/webui/options/content_settings_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 137 chrome/browser/ui/webui/options/content_settings_handler.h void RemoveGeolocationException(const base::ListValue* args); base 141 chrome/browser/ui/webui/options/content_settings_handler.h void RemoveNotificationException(const base::ListValue* args); base 145 chrome/browser/ui/webui/options/content_settings_handler.h void RemoveMediaException(const base::ListValue* args); base 150 chrome/browser/ui/webui/options/content_settings_handler.h const base::ListValue* args, base 155 chrome/browser/ui/webui/options/content_settings_handler.h void RemoveZoomLevelException(const base::ListValue* args); base 162 chrome/browser/ui/webui/options/content_settings_handler.h void SetContentFilter(const base::ListValue* args); base 167 chrome/browser/ui/webui/options/content_settings_handler.h void RemoveException(const base::ListValue* args); base 171 chrome/browser/ui/webui/options/content_settings_handler.h void SetException(const base::ListValue* args); base 175 chrome/browser/ui/webui/options/content_settings_handler.h void CheckExceptionPatternValidity(const base::ListValue* args); base 204 chrome/browser/ui/webui/options/content_settings_handler.h base::ListValue* exceptions); base 47 chrome/browser/ui/webui/options/cookies_view_handler.cc base::DictionaryValue* localized_strings) { base 111 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Bind(&CookiesViewHandler::UpdateSearchResults, base 112 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Unretained(this))); base 114 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Bind(&CookiesViewHandler::RemoveAll, base 115 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Unretained(this))); base 117 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Bind(&CookiesViewHandler::Remove, base 118 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Unretained(this))); base 120 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Bind(&CookiesViewHandler::LoadChildren, base 121 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Unretained(this))); base 123 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Bind(&CookiesViewHandler::ReloadCookies, base 124 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Unretained(this))); base 138 chrome/browser/ui/webui/options/cookies_view_handler.cc base::ListValue* children = new base::ListValue; base 141 chrome/browser/ui/webui/options/cookies_view_handler.cc base::ListValue args; base 143 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Value::CreateNullValue() : base 144 chrome/browser/ui/webui/options/cookies_view_handler.cc new base::StringValue(model_util_->GetTreeNodeId(parent_node))); base 145 chrome/browser/ui/webui/options/cookies_view_handler.cc args.Append(new base::FundamentalValue(start)); base 160 chrome/browser/ui/webui/options/cookies_view_handler.cc base::ListValue args; base 162 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Value::CreateNullValue() : base 163 chrome/browser/ui/webui/options/cookies_view_handler.cc new base::StringValue(model_util_->GetTreeNodeId( base 165 chrome/browser/ui/webui/options/cookies_view_handler.cc args.Append(new base::FundamentalValue(start)); base 166 chrome/browser/ui/webui/options/cookies_view_handler.cc args.Append(new base::FundamentalValue(count)); base 210 chrome/browser/ui/webui/options/cookies_view_handler.cc void CookiesViewHandler::UpdateSearchResults(const base::ListValue* args) { base 211 chrome/browser/ui/webui/options/cookies_view_handler.cc base::string16 query; base 220 chrome/browser/ui/webui/options/cookies_view_handler.cc void CookiesViewHandler::RemoveAll(const base::ListValue* args) { base 225 chrome/browser/ui/webui/options/cookies_view_handler.cc void CookiesViewHandler::Remove(const base::ListValue* args) { base 238 chrome/browser/ui/webui/options/cookies_view_handler.cc void CookiesViewHandler::LoadChildren(const base::ListValue* args) { base 252 chrome/browser/ui/webui/options/cookies_view_handler.cc base::ListValue* children = new base::ListValue; base 256 chrome/browser/ui/webui/options/cookies_view_handler.cc base::ListValue args; base 258 chrome/browser/ui/webui/options/cookies_view_handler.cc base::Value::CreateNullValue() : base 259 chrome/browser/ui/webui/options/cookies_view_handler.cc new base::StringValue(model_util_->GetTreeNodeId(parent))); base 265 chrome/browser/ui/webui/options/cookies_view_handler.cc void CookiesViewHandler::ReloadCookies(const base::ListValue* args) { base 25 chrome/browser/ui/webui/options/cookies_view_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 47 chrome/browser/ui/webui/options/cookies_view_handler.h void UpdateSearchResults(const base::ListValue* args); base 50 chrome/browser/ui/webui/options/cookies_view_handler.h void RemoveAll(const base::ListValue* args); base 53 chrome/browser/ui/webui/options/cookies_view_handler.h void Remove(const base::ListValue* args); base 57 chrome/browser/ui/webui/options/cookies_view_handler.h void LoadChildren(const base::ListValue* args); base 65 chrome/browser/ui/webui/options/cookies_view_handler.h void ReloadCookies(const base::ListValue* args); base 40 chrome/browser/ui/webui/options/core_options_handler.cc using base::UserMetricsAction; base 48 chrome/browser/ui/webui/options/core_options_handler.cc bool AllowMetricsReportingChange(const base::Value* to_value) { base 71 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::OnPreferenceChanged, base 72 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this), base 76 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&AllowMetricsReportingChange); base 85 chrome/browser/ui/webui/options/core_options_handler.cc base::DictionaryValue* localized_strings) { base 90 chrome/browser/ui/webui/options/core_options_handler.cc base::DictionaryValue* localized_strings) { base 183 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleInitialize, base 184 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 186 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::OnFinishedLoading, base 187 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 189 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleFetchPrefs, base 190 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 192 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleObservePrefs, base 193 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 195 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleSetBooleanPref, base 196 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 198 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleSetIntegerPref, base 199 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 201 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleSetDoublePref, base 202 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 204 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleSetStringPref, base 205 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 207 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleSetURLPref, base 208 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 210 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleSetListPref, base 211 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 213 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleClearPref, base 214 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 216 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleUserMetricsAction, base 217 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 219 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::HandleDisableExtension, base 220 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this))); base 223 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleInitialize(const base::ListValue* args) { base 228 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::OnFinishedLoading(const base::ListValue* args) { base 233 chrome/browser/ui/webui/options/core_options_handler.cc base::Value* CoreOptionsHandler::FetchPref(const std::string& pref_name) { base 241 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::OnPreferenceChanged, base 242 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this), base 251 chrome/browser/ui/webui/options/core_options_handler.cc base::Bind(&CoreOptionsHandler::OnPreferenceChanged, base 252 chrome/browser/ui/webui/options/core_options_handler.cc base::Unretained(this), base 265 chrome/browser/ui/webui/options/core_options_handler.cc const base::Value* value, base 282 chrome/browser/ui/webui/options/core_options_handler.cc case base::Value::TYPE_BOOLEAN: base 283 chrome/browser/ui/webui/options/core_options_handler.cc case base::Value::TYPE_INTEGER: base 284 chrome/browser/ui/webui/options/core_options_handler.cc case base::Value::TYPE_DOUBLE: base 285 chrome/browser/ui/webui/options/core_options_handler.cc case base::Value::TYPE_STRING: base 286 chrome/browser/ui/webui/options/core_options_handler.cc case base::Value::TYPE_LIST: base 307 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::ProcessUserMetric(const base::Value* value, base 313 chrome/browser/ui/webui/options/core_options_handler.cc if (value->IsType(base::Value::TYPE_BOOLEAN)) { base 325 chrome/browser/ui/webui/options/core_options_handler.cc scoped_ptr<base::Value> value( base 332 chrome/browser/ui/webui/options/core_options_handler.cc scoped_ptr<base::Value> value) { base 336 chrome/browser/ui/webui/options/core_options_handler.cc base::ListValue result_value; base 337 chrome/browser/ui/webui/options/core_options_handler.cc result_value.Append(new base::StringValue(name.c_str())); base 346 chrome/browser/ui/webui/options/core_options_handler.cc base::Value* CoreOptionsHandler::CreateValueForPref( base 354 chrome/browser/ui/webui/options/core_options_handler.cc return base::Value::CreateNullValue(); base 361 chrome/browser/ui/webui/options/core_options_handler.cc base::DictionaryValue* dict = new base::DictionaryValue; base 385 chrome/browser/ui/webui/options/core_options_handler.cc const base::Value* recommended_value = base 419 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleFetchPrefs(const base::ListValue* args) { base 425 chrome/browser/ui/webui/options/core_options_handler.cc const base::Value* callback; base 426 chrome/browser/ui/webui/options/core_options_handler.cc if (!args->Get(0, &callback) || !callback->IsType(base::Value::TYPE_STRING)) base 429 chrome/browser/ui/webui/options/core_options_handler.cc base::string16 callback_function; base 434 chrome/browser/ui/webui/options/core_options_handler.cc base::DictionaryValue result_value; base 435 chrome/browser/ui/webui/options/core_options_handler.cc const base::Value* list_member; base 441 chrome/browser/ui/webui/options/core_options_handler.cc if (!list_member->IsType(base::Value::TYPE_STRING)) base 450 chrome/browser/ui/webui/options/core_options_handler.cc web_ui()->CallJavascriptFunction(base::UTF16ToASCII(callback_function), base 454 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleObservePrefs(const base::ListValue* args) { base 466 chrome/browser/ui/webui/options/core_options_handler.cc const base::Value* list_member; base 472 chrome/browser/ui/webui/options/core_options_handler.cc if (!list_member->IsType(base::Value::TYPE_STRING) || base 484 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleSetBooleanPref(const base::ListValue* args) { base 488 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleSetIntegerPref(const base::ListValue* args) { base 492 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleSetDoublePref(const base::ListValue* args) { base 496 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleSetStringPref(const base::ListValue* args) { base 500 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleSetURLPref(const base::ListValue* args) { base 504 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleSetListPref(const base::ListValue* args) { base 508 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleSetPref(const base::ListValue* args, base 516 chrome/browser/ui/webui/options/core_options_handler.cc const base::Value* value; base 520 chrome/browser/ui/webui/options/core_options_handler.cc scoped_ptr<base::Value> temp_value; base 524 chrome/browser/ui/webui/options/core_options_handler.cc if (!value->IsType(base::Value::TYPE_BOOLEAN)) { base 537 chrome/browser/ui/webui/options/core_options_handler.cc temp_value.reset(new base::FundamentalValue(int_value)); base 542 chrome/browser/ui/webui/options/core_options_handler.cc if (!value->IsType(base::Value::TYPE_DOUBLE)) { base 548 chrome/browser/ui/webui/options/core_options_handler.cc if (!value->IsType(base::Value::TYPE_STRING)) { base 560 chrome/browser/ui/webui/options/core_options_handler.cc temp_value.reset(new base::StringValue(fixed.spec())); base 572 chrome/browser/ui/webui/options/core_options_handler.cc base::JSONReader::Read(json_string)); base 574 chrome/browser/ui/webui/options/core_options_handler.cc if (!value->IsType(base::Value::TYPE_LIST)) { base 590 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleClearPref(const base::ListValue* args) { base 606 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleUserMetricsAction(const base::ListValue* args) { base 607 chrome/browser/ui/webui/options/core_options_handler.cc std::string metric = base::UTF16ToUTF8(ExtractStringValue(args)); base 612 chrome/browser/ui/webui/options/core_options_handler.cc void CoreOptionsHandler::HandleDisableExtension(const base::ListValue* args) { base 626 chrome/browser/ui/webui/options/core_options_handler.cc base::FundamentalValue enabled( base 633 chrome/browser/ui/webui/options/core_options_handler.cc base::FundamentalValue enabled( base 29 chrome/browser/ui/webui/options/core_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 43 chrome/browser/ui/webui/options/core_options_handler.h base::DictionaryValue* localized_strings); base 48 chrome/browser/ui/webui/options/core_options_handler.h virtual base::Value* FetchPref(const std::string& pref_name); base 58 chrome/browser/ui/webui/options/core_options_handler.h const base::Value* value, base 65 chrome/browser/ui/webui/options/core_options_handler.h void ProcessUserMetric(const base::Value* value, base 86 chrome/browser/ui/webui/options/core_options_handler.h scoped_ptr<base::Value> value); base 91 chrome/browser/ui/webui/options/core_options_handler.h virtual base::Value* CreateValueForPref( base 117 chrome/browser/ui/webui/options/core_options_handler.h void HandleInitialize(const base::ListValue* args); base 122 chrome/browser/ui/webui/options/core_options_handler.h void OnFinishedLoading(const base::ListValue* args); base 128 chrome/browser/ui/webui/options/core_options_handler.h void HandleFetchPrefs(const base::ListValue* args); base 132 chrome/browser/ui/webui/options/core_options_handler.h void HandleObservePrefs(const base::ListValue* args); base 139 chrome/browser/ui/webui/options/core_options_handler.h void HandleSetBooleanPref(const base::ListValue* args); base 140 chrome/browser/ui/webui/options/core_options_handler.h void HandleSetIntegerPref(const base::ListValue* args); base 141 chrome/browser/ui/webui/options/core_options_handler.h void HandleSetDoublePref(const base::ListValue* args); base 142 chrome/browser/ui/webui/options/core_options_handler.h void HandleSetStringPref(const base::ListValue* args); base 143 chrome/browser/ui/webui/options/core_options_handler.h void HandleSetURLPref(const base::ListValue* args); base 144 chrome/browser/ui/webui/options/core_options_handler.h void HandleSetListPref(const base::ListValue* args); base 146 chrome/browser/ui/webui/options/core_options_handler.h void HandleSetPref(const base::ListValue* args, PrefType type); base 152 chrome/browser/ui/webui/options/core_options_handler.h void HandleClearPref(const base::ListValue* args); base 157 chrome/browser/ui/webui/options/core_options_handler.h void HandleUserMetricsAction(const base::ListValue* args); base 161 chrome/browser/ui/webui/options/core_options_handler.h void HandleDisableExtension(const base::ListValue* args); base 178 chrome/browser/ui/webui/options/core_options_handler.h typedef std::map<std::string, base::Callback<bool(const base::Value*)> > base 43 chrome/browser/ui/webui/options/create_profile_handler.cc base::DictionaryValue* localized_strings) { base 49 chrome/browser/ui/webui/options/create_profile_handler.cc base::Bind(&CreateProfileHandler::HandleCancelProfileCreation, base 50 chrome/browser/ui/webui/options/create_profile_handler.cc base::Unretained(this))); base 53 chrome/browser/ui/webui/options/create_profile_handler.cc base::Bind(&CreateProfileHandler::CreateProfile, base 54 chrome/browser/ui/webui/options/create_profile_handler.cc base::Unretained(this))); base 57 chrome/browser/ui/webui/options/create_profile_handler.cc void CreateProfileHandler::CreateProfile(const base::ListValue* args) { base 76 chrome/browser/ui/webui/options/create_profile_handler.cc profile_creation_start_time_ = base::TimeTicks::Now(); base 78 chrome/browser/ui/webui/options/create_profile_handler.cc base::string16 name; base 79 chrome/browser/ui/webui/options/create_profile_handler.cc base::string16 icon; base 121 chrome/browser/ui/webui/options/create_profile_handler.cc base::Bind(&CreateProfileHandler::OnProfileCreated, base 206 chrome/browser/ui/webui/options/create_profile_handler.cc base::Bind(&CreateProfileHandler::OnManagedUserRegistered, base 225 chrome/browser/ui/webui/options/create_profile_handler.cc base::string16 error_msg; base 252 chrome/browser/ui/webui/options/create_profile_handler.cc base::DictionaryValue dict; base 255 chrome/browser/ui/webui/options/create_profile_handler.cc dict.Set("filePath", base::CreateFilePathValue(profile->GetPath())); base 280 chrome/browser/ui/webui/options/create_profile_handler.cc const base::string16& error) { base 286 chrome/browser/ui/webui/options/create_profile_handler.cc base::StringValue(error)); base 291 chrome/browser/ui/webui/options/create_profile_handler.cc const base::string16& warning) { base 294 chrome/browser/ui/webui/options/create_profile_handler.cc base::StringValue(warning)); base 298 chrome/browser/ui/webui/options/create_profile_handler.cc const base::ListValue* args) { base 320 chrome/browser/ui/webui/options/create_profile_handler.cc base::TimeTicks::Now() - profile_creation_start_time_); base 343 chrome/browser/ui/webui/options/create_profile_handler.cc base::TimeTicks::Now() - profile_creation_start_time_); base 354 chrome/browser/ui/webui/options/create_profile_handler.cc base::TimeTicks::Now() - profile_creation_start_time_); base 362 chrome/browser/ui/webui/options/create_profile_handler.cc base::TimeTicks::Now() - profile_creation_start_time_); base 366 chrome/browser/ui/webui/options/create_profile_handler.cc base::string16 CreateProfileHandler::GetProfileCreationErrorMessage( base 421 chrome/browser/ui/webui/options/create_profile_handler.cc const base::DictionaryValue* dict = base 17 chrome/browser/ui/webui/options/create_profile_handler.h namespace base { base 34 chrome/browser/ui/webui/options/create_profile_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 74 chrome/browser/ui/webui/options/create_profile_handler.h void CreateProfile(const base::ListValue* args); base 112 chrome/browser/ui/webui/options/create_profile_handler.h void ShowProfileCreationError(Profile* profile, const base::string16& error); base 115 chrome/browser/ui/webui/options/create_profile_handler.h void ShowProfileCreationWarning(const base::string16& warning); base 121 chrome/browser/ui/webui/options/create_profile_handler.h void HandleCancelProfileCreation(const base::ListValue* args); base 137 chrome/browser/ui/webui/options/create_profile_handler.h base::string16 GetProfileCreationErrorMessage( base 147 chrome/browser/ui/webui/options/create_profile_handler.h base::FilePath profile_path_being_created_; base 150 chrome/browser/ui/webui/options/create_profile_handler.h base::TimeTicks profile_creation_start_time_; base 158 chrome/browser/ui/webui/options/create_profile_handler.h base::WeakPtrFactory<CreateProfileHandler> weak_ptr_factory_; base 73 chrome/browser/ui/webui/options/font_settings_handler.cc base::DictionaryValue* localized_strings) { base 110 chrome/browser/ui/webui/options/font_settings_handler.cc base::UTF8ToUTF16( base 141 chrome/browser/ui/webui/options/font_settings_handler.cc base::Bind(&FontSettingsHandler::SetUpStandardFontSample, base 142 chrome/browser/ui/webui/options/font_settings_handler.cc base::Unretained(this))); base 145 chrome/browser/ui/webui/options/font_settings_handler.cc base::Bind(&FontSettingsHandler::SetUpSerifFontSample, base 146 chrome/browser/ui/webui/options/font_settings_handler.cc base::Unretained(this))); base 150 chrome/browser/ui/webui/options/font_settings_handler.cc base::Bind(&FontSettingsHandler::SetUpSansSerifFontSample, base 151 chrome/browser/ui/webui/options/font_settings_handler.cc base::Unretained(this))); base 153 chrome/browser/ui/webui/options/font_settings_handler.cc base::Closure callback = base::Bind( base 154 chrome/browser/ui/webui/options/font_settings_handler.cc &FontSettingsHandler::SetUpFixedFontSample, base::Unretained(this)); base 162 chrome/browser/ui/webui/options/font_settings_handler.cc base::Bind(&FontSettingsHandler::OnWebKitDefaultFontSizeChanged, base 163 chrome/browser/ui/webui/options/font_settings_handler.cc base::Unretained(this))); base 167 chrome/browser/ui/webui/options/font_settings_handler.cc base::Bind(&FontSettingsHandler::SetUpMinimumFontSample, base 168 chrome/browser/ui/webui/options/font_settings_handler.cc base::Unretained(this))); base 171 chrome/browser/ui/webui/options/font_settings_handler.cc base::Bind(&FontSettingsHandler::HandleFetchFontsData, base 172 chrome/browser/ui/webui/options/font_settings_handler.cc base::Unretained(this))); base 174 chrome/browser/ui/webui/options/font_settings_handler.cc base::Bind(&FontSettingsHandler::HandleOpenAdvancedFontSettingsOptions, base 175 chrome/browser/ui/webui/options/font_settings_handler.cc base::Unretained(this))); base 186 chrome/browser/ui/webui/options/font_settings_handler.cc void FontSettingsHandler::HandleFetchFontsData(const base::ListValue* args) { base 188 chrome/browser/ui/webui/options/font_settings_handler.cc base::Bind(&FontSettingsHandler::FontsListHasLoaded, base 189 chrome/browser/ui/webui/options/font_settings_handler.cc base::Unretained(this))); base 193 chrome/browser/ui/webui/options/font_settings_handler.cc scoped_ptr<base::ListValue> list) { base 196 chrome/browser/ui/webui/options/font_settings_handler.cc base::ListValue* font; base 199 chrome/browser/ui/webui/options/font_settings_handler.cc base::string16 value; base 202 chrome/browser/ui/webui/options/font_settings_handler.cc bool has_rtl_chars = base::i18n::StringContainsStrongRTLChars(value); base 203 chrome/browser/ui/webui/options/font_settings_handler.cc font->Append(new base::StringValue(has_rtl_chars ? "rtl" : "ltr")); base 206 chrome/browser/ui/webui/options/font_settings_handler.cc base::ListValue encoding_list; base 218 chrome/browser/ui/webui/options/font_settings_handler.cc base::ListValue* option = new base::ListValue(); base 223 chrome/browser/ui/webui/options/font_settings_handler.cc base::string16 name = it->encoding_display_name; base 224 chrome/browser/ui/webui/options/font_settings_handler.cc bool has_rtl_chars = base::i18n::StringContainsStrongRTLChars(name); base 225 chrome/browser/ui/webui/options/font_settings_handler.cc option->Append(new base::StringValue(encoding)); base 226 chrome/browser/ui/webui/options/font_settings_handler.cc option->Append(new base::StringValue(name)); base 227 chrome/browser/ui/webui/options/font_settings_handler.cc option->Append(new base::StringValue(has_rtl_chars ? "rtl" : "ltr")); base 230 chrome/browser/ui/webui/options/font_settings_handler.cc option->Append(new base::StringValue(std::string())); base 231 chrome/browser/ui/webui/options/font_settings_handler.cc option->Append(new base::StringValue(std::string())); base 236 chrome/browser/ui/webui/options/font_settings_handler.cc base::ListValue selected_values; base 237 chrome/browser/ui/webui/options/font_settings_handler.cc selected_values.Append(new base::StringValue(MaybeGetLocalizedFontName( base 239 chrome/browser/ui/webui/options/font_settings_handler.cc selected_values.Append(new base::StringValue(MaybeGetLocalizedFontName( base 241 chrome/browser/ui/webui/options/font_settings_handler.cc selected_values.Append(new base::StringValue(MaybeGetLocalizedFontName( base 243 chrome/browser/ui/webui/options/font_settings_handler.cc selected_values.Append(new base::StringValue(MaybeGetLocalizedFontName( base 245 chrome/browser/ui/webui/options/font_settings_handler.cc selected_values.Append(new base::StringValue(font_encoding_.GetValue())); base 253 chrome/browser/ui/webui/options/font_settings_handler.cc base::StringValue font_value(standard_font_.GetValue()); base 254 chrome/browser/ui/webui/options/font_settings_handler.cc base::FundamentalValue size_value(default_font_size_.GetValue()); base 260 chrome/browser/ui/webui/options/font_settings_handler.cc base::StringValue font_value(serif_font_.GetValue()); base 261 chrome/browser/ui/webui/options/font_settings_handler.cc base::FundamentalValue size_value(default_font_size_.GetValue()); base 267 chrome/browser/ui/webui/options/font_settings_handler.cc base::StringValue font_value(sans_serif_font_.GetValue()); base 268 chrome/browser/ui/webui/options/font_settings_handler.cc base::FundamentalValue size_value(default_font_size_.GetValue()); base 274 chrome/browser/ui/webui/options/font_settings_handler.cc base::StringValue font_value(fixed_font_.GetValue()); base 275 chrome/browser/ui/webui/options/font_settings_handler.cc base::FundamentalValue size_value(default_fixed_font_size_.GetValue()); base 281 chrome/browser/ui/webui/options/font_settings_handler.cc base::FundamentalValue size_value(minimum_font_size_.GetValue()); base 299 chrome/browser/ui/webui/options/font_settings_handler.cc base::FundamentalValue(GetAdvancedFontSettingsExtension() != NULL)); base 303 chrome/browser/ui/webui/options/font_settings_handler.cc const base::ListValue* args) { base 14 chrome/browser/ui/webui/options/font_settings_handler.h namespace base { base 33 chrome/browser/ui/webui/options/font_settings_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 46 chrome/browser/ui/webui/options/font_settings_handler.h void HandleFetchFontsData(const base::ListValue* args); base 48 chrome/browser/ui/webui/options/font_settings_handler.h void FontsListHasLoaded(scoped_ptr<base::ListValue> list); base 63 chrome/browser/ui/webui/options/font_settings_handler.h void HandleOpenAdvancedFontSettingsOptions(const base::ListValue* args); base 19 chrome/browser/ui/webui/options/geolocation_options_handler.cc base::DictionaryValue* localized_strings) { base 29 chrome/browser/ui/webui/options/geolocation_options_handler.cc base::FieldTrialList::FindFullName(kFieldTrialName); base 21 chrome/browser/ui/webui/options/geolocation_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 38 chrome/browser/ui/webui/options/handler_options_handler.cc base::DictionaryValue* localized_strings) { base 73 chrome/browser/ui/webui/options/handler_options_handler.cc base::Bind(&HandlerOptionsHandler::ClearDefault, base 74 chrome/browser/ui/webui/options/handler_options_handler.cc base::Unretained(this))); base 76 chrome/browser/ui/webui/options/handler_options_handler.cc base::Bind(&HandlerOptionsHandler::RemoveHandler, base 77 chrome/browser/ui/webui/options/handler_options_handler.cc base::Unretained(this))); base 79 chrome/browser/ui/webui/options/handler_options_handler.cc base::Bind(&HandlerOptionsHandler::SetHandlersEnabled, base 80 chrome/browser/ui/webui/options/handler_options_handler.cc base::Unretained(this))); base 82 chrome/browser/ui/webui/options/handler_options_handler.cc base::Bind(&HandlerOptionsHandler::SetDefault, base 83 chrome/browser/ui/webui/options/handler_options_handler.cc base::Unretained(this))); base 85 chrome/browser/ui/webui/options/handler_options_handler.cc base::Bind(&HandlerOptionsHandler::RemoveIgnoredHandler, base 86 chrome/browser/ui/webui/options/handler_options_handler.cc base::Unretained(this))); base 96 chrome/browser/ui/webui/options/handler_options_handler.cc base::ListValue* handler_list) { base 99 chrome/browser/ui/webui/options/handler_options_handler.cc base::ListValue* handlerValue = new base::ListValue(); base 100 chrome/browser/ui/webui/options/handler_options_handler.cc handlerValue->Append(new base::StringValue(handler->protocol())); base 101 chrome/browser/ui/webui/options/handler_options_handler.cc handlerValue->Append(new base::StringValue(handler->url().spec())); base 102 chrome/browser/ui/webui/options/handler_options_handler.cc handlerValue->Append(new base::StringValue(handler->title())); base 109 chrome/browser/ui/webui/options/handler_options_handler.cc base::DictionaryValue* handlers_value) { base 115 chrome/browser/ui/webui/options/handler_options_handler.cc base::ListValue* handlers_list = new base::ListValue(); base 120 chrome/browser/ui/webui/options/handler_options_handler.cc void HandlerOptionsHandler::GetIgnoredHandlers(base::ListValue* handlers) { base 132 chrome/browser/ui/webui/options/handler_options_handler.cc base::ListValue handlers; base 135 chrome/browser/ui/webui/options/handler_options_handler.cc base::DictionaryValue* handler_value = new base::DictionaryValue(); base 140 chrome/browser/ui/webui/options/handler_options_handler.cc scoped_ptr<base::ListValue> ignored_handlers(new base::ListValue()); base 147 chrome/browser/ui/webui/options/handler_options_handler.cc void HandlerOptionsHandler::RemoveHandler(const base::ListValue* args) { base 148 chrome/browser/ui/webui/options/handler_options_handler.cc const base::ListValue* list; base 162 chrome/browser/ui/webui/options/handler_options_handler.cc void HandlerOptionsHandler::RemoveIgnoredHandler(const base::ListValue* args) { base 163 chrome/browser/ui/webui/options/handler_options_handler.cc const base::ListValue* list; base 173 chrome/browser/ui/webui/options/handler_options_handler.cc void HandlerOptionsHandler::SetHandlersEnabled(const base::ListValue* args) { base 182 chrome/browser/ui/webui/options/handler_options_handler.cc void HandlerOptionsHandler::ClearDefault(const base::ListValue* args) { base 183 chrome/browser/ui/webui/options/handler_options_handler.cc const base::Value* value; base 190 chrome/browser/ui/webui/options/handler_options_handler.cc void HandlerOptionsHandler::SetDefault(const base::ListValue* args) { base 191 chrome/browser/ui/webui/options/handler_options_handler.cc const base::ListValue* list; base 199 chrome/browser/ui/webui/options/handler_options_handler.cc const base::ListValue* args) const { base 200 chrome/browser/ui/webui/options/handler_options_handler.cc base::string16 protocol; base 201 chrome/browser/ui/webui/options/handler_options_handler.cc base::string16 url; base 202 chrome/browser/ui/webui/options/handler_options_handler.cc base::string16 title; base 207 chrome/browser/ui/webui/options/handler_options_handler.cc return ProtocolHandler::CreateProtocolHandler(base::UTF16ToUTF8(protocol), base 208 chrome/browser/ui/webui/options/handler_options_handler.cc GURL(base::UTF16ToUTF8(url)), base 23 chrome/browser/ui/webui/options/handler_options_handler.h namespace base { base 37 chrome/browser/ui/webui/options/handler_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 49 chrome/browser/ui/webui/options/handler_options_handler.h void SetHandlersEnabled(const base::ListValue* args); base 52 chrome/browser/ui/webui/options/handler_options_handler.h void SetDefault(const base::ListValue* args); base 56 chrome/browser/ui/webui/options/handler_options_handler.h void ClearDefault(const base::ListValue* args); base 60 chrome/browser/ui/webui/options/handler_options_handler.h ProtocolHandler ParseHandlerFromArgs(const base::ListValue* args) const; base 65 chrome/browser/ui/webui/options/handler_options_handler.h base::DictionaryValue* value); base 68 chrome/browser/ui/webui/options/handler_options_handler.h void GetIgnoredHandlers(base::ListValue* handlers); base 75 chrome/browser/ui/webui/options/handler_options_handler.h void RemoveHandler(const base::ListValue* args); base 79 chrome/browser/ui/webui/options/handler_options_handler.h void RemoveIgnoredHandler(const base::ListValue* args); base 30 chrome/browser/ui/webui/options/home_page_overlay_handler.cc base::Bind(&HomePageOverlayHandler::RequestAutocompleteSuggestions, base 31 chrome/browser/ui/webui/options/home_page_overlay_handler.cc base::Unretained(this))); base 41 chrome/browser/ui/webui/options/home_page_overlay_handler.cc base::DictionaryValue* localized_strings) { base 47 chrome/browser/ui/webui/options/home_page_overlay_handler.cc const base::ListValue* args) { base 48 chrome/browser/ui/webui/options/home_page_overlay_handler.cc base::string16 input; base 53 chrome/browser/ui/webui/options/home_page_overlay_handler.cc input, base::string16::npos, base::string16(), GURL(), base 60 chrome/browser/ui/webui/options/home_page_overlay_handler.cc base::ListValue suggestions; base 16 chrome/browser/ui/webui/options/home_page_overlay_handler.h namespace base { base 30 chrome/browser/ui/webui/options/home_page_overlay_handler.h virtual void GetLocalizedValues(base::DictionaryValue*) OVERRIDE; base 38 chrome/browser/ui/webui/options/home_page_overlay_handler.h void RequestAutocompleteSuggestions(const base::ListValue* args); base 50 chrome/browser/ui/webui/options/import_data_handler.cc base::DictionaryValue* localized_strings) { base 83 chrome/browser/ui/webui/options/import_data_handler.cc base::Bind(&ImportDataHandler::ImportData, base::Unretained(this))); base 86 chrome/browser/ui/webui/options/import_data_handler.cc base::Bind(&ImportDataHandler::HandleChooseBookmarksFile, base 87 chrome/browser/ui/webui/options/import_data_handler.cc base::Unretained(this))); base 100 chrome/browser/ui/webui/options/import_data_handler.cc base::FundamentalValue importing(true); base 116 chrome/browser/ui/webui/options/import_data_handler.cc void ImportDataHandler::ImportData(const base::ListValue* args) { base 121 chrome/browser/ui/webui/options/import_data_handler.cc !base::StringToInt(string_value, &browser_index)) { base 161 chrome/browser/ui/webui/options/import_data_handler.cc base::ListValue browser_profiles; base 167 chrome/browser/ui/webui/options/import_data_handler.cc base::DictionaryValue* browser_profile = new base::DictionaryValue(); base 212 chrome/browser/ui/webui/options/import_data_handler.cc base::FundamentalValue state(false); base 219 chrome/browser/ui/webui/options/import_data_handler.cc void ImportDataHandler::FileSelected(const base::FilePath& path, base 230 chrome/browser/ui/webui/options/import_data_handler.cc void ImportDataHandler::HandleChooseBookmarksFile(const base::ListValue* args) { base 243 chrome/browser/ui/webui/options/import_data_handler.cc base::string16(), base 244 chrome/browser/ui/webui/options/import_data_handler.cc base::FilePath(), base 247 chrome/browser/ui/webui/options/import_data_handler.cc base::FilePath::StringType(), base 33 chrome/browser/ui/webui/options/import_data_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 44 chrome/browser/ui/webui/options/import_data_handler.h void ImportData(const base::ListValue* args); base 56 chrome/browser/ui/webui/options/import_data_handler.h virtual void FileSelected(const base::FilePath& path, base 61 chrome/browser/ui/webui/options/import_data_handler.h void HandleChooseBookmarksFile(const base::ListValue* args); base 27 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::DictionaryValue* localized_strings) { base 50 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::Bind(&LanguageDictionaryOverlayHandler::AddWord, base 51 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::Unretained(this))); base 54 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::Bind(&LanguageDictionaryOverlayHandler::RemoveWord, base 55 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::Unretained(this))); base 58 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::Bind(&LanguageDictionaryOverlayHandler::RefreshWords, base 59 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::Unretained(this))); base 74 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::ListValue add_words; base 75 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::ListValue remove_words; base 94 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc base::ListValue list_value; base 105 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc const base::ListValue* args) { base 110 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc void LanguageDictionaryOverlayHandler::AddWord(const base::ListValue* args) { base 119 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc void LanguageDictionaryOverlayHandler::RemoveWord(const base::ListValue* args) { base 22 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 36 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.h void RefreshWords(const base::ListValue* args); base 39 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.h void AddWord(const base::ListValue* args); base 42 chrome/browser/ui/webui/options/language_dictionary_overlay_handler.h void RemoveWord(const base::ListValue* args); base 29 chrome/browser/ui/webui/options/language_options_handler.cc using base::UserMetricsAction; base 40 chrome/browser/ui/webui/options/language_options_handler.cc base::DictionaryValue* localized_strings) { base 55 chrome/browser/ui/webui/options/language_options_handler.cc base::Bind(&LanguageOptionsHandler::RestartCallback, base 56 chrome/browser/ui/webui/options/language_options_handler.cc base::Unretained(this))); base 59 chrome/browser/ui/webui/options/language_options_handler.cc base::ListValue* LanguageOptionsHandler::GetLanguageList() { base 69 chrome/browser/ui/webui/options/language_options_handler.cc typedef std::pair<std::string, base::string16> LanguagePair; base 70 chrome/browser/ui/webui/options/language_options_handler.cc typedef std::map<base::string16, LanguagePair> LanguageMap; base 73 chrome/browser/ui/webui/options/language_options_handler.cc std::vector<base::string16> display_names; base 77 chrome/browser/ui/webui/options/language_options_handler.cc base::string16 display_name = base 80 chrome/browser/ui/webui/options/language_options_handler.cc base::string16 native_display_name = base 93 chrome/browser/ui/webui/options/language_options_handler.cc base::ListValue* language_list = new base::ListValue(); base 95 chrome/browser/ui/webui/options/language_options_handler.cc base::string16& display_name = display_names[i]; base 96 chrome/browser/ui/webui/options/language_options_handler.cc base::string16 adjusted_display_name(display_name); base 97 chrome/browser/ui/webui/options/language_options_handler.cc base::i18n::AdjustStringForLocaleDirection(&adjusted_display_name); base 100 chrome/browser/ui/webui/options/language_options_handler.cc base::string16 adjusted_native_display_name(pair.second); base 101 chrome/browser/ui/webui/options/language_options_handler.cc base::i18n::AdjustStringForLocaleDirection(&adjusted_native_display_name); base 103 chrome/browser/ui/webui/options/language_options_handler.cc bool has_rtl_chars = base::i18n::StringContainsStrongRTLChars(display_name); base 106 chrome/browser/ui/webui/options/language_options_handler.cc base::DictionaryValue* dictionary = new base::DictionaryValue(); base 117 chrome/browser/ui/webui/options/language_options_handler.cc base::string16 LanguageOptionsHandler::GetProductName() { base 127 chrome/browser/ui/webui/options/language_options_handler.cc void LanguageOptionsHandler::RestartCallback(const base::ListValue* args) { base 21 chrome/browser/ui/webui/options/language_options_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 32 chrome/browser/ui/webui/options/language_options_handler.h static base::ListValue* GetLanguageList(); base 36 chrome/browser/ui/webui/options/language_options_handler.h virtual base::string16 GetProductName() OVERRIDE; base 40 chrome/browser/ui/webui/options/language_options_handler.h void RestartCallback(const base::ListValue* args); base 38 chrome/browser/ui/webui/options/language_options_handler_common.cc using base::UserMetricsAction; base 49 chrome/browser/ui/webui/options/language_options_handler_common.cc base::DictionaryValue* localized_strings) { base 103 chrome/browser/ui/webui/options/language_options_handler_common.cc base::DictionaryValue* app_values = NULL; base 137 chrome/browser/ui/webui/options/language_options_handler_common.cc base::ListValue* languages_list = new base::ListValue(); base 140 chrome/browser/ui/webui/options/language_options_handler_common.cc languages_list->Append(new base::StringValue(*it)); base 154 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Bind( base 156 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Unretained(this))); base 158 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Bind( base 160 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Unretained(this))); base 162 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Bind( base 164 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Unretained(this))); base 166 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Bind( base 168 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Unretained(this))); base 170 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Bind( base 172 chrome/browser/ui/webui/options/language_options_handler_common.cc base::Unretained(this))); base 181 chrome/browser/ui/webui/options/language_options_handler_common.cc base::StringValue(GetHunspellDictionary()->GetLanguage())); base 187 chrome/browser/ui/webui/options/language_options_handler_common.cc base::StringValue(GetHunspellDictionary()->GetLanguage())); base 193 chrome/browser/ui/webui/options/language_options_handler_common.cc base::StringValue(GetHunspellDictionary()->GetLanguage())); base 196 chrome/browser/ui/webui/options/language_options_handler_common.cc base::DictionaryValue* LanguageOptionsHandlerCommon::GetUILanguageCodeSet() { base 197 chrome/browser/ui/webui/options/language_options_handler_common.cc base::DictionaryValue* dictionary = new base::DictionaryValue(); base 205 chrome/browser/ui/webui/options/language_options_handler_common.cc base::DictionaryValue* base 207 chrome/browser/ui/webui/options/language_options_handler_common.cc base::DictionaryValue* dictionary = new base::DictionaryValue(); base 217 chrome/browser/ui/webui/options/language_options_handler_common.cc const base::ListValue* args) { base 229 chrome/browser/ui/webui/options/language_options_handler_common.cc const base::ListValue* args) { base 231 chrome/browser/ui/webui/options/language_options_handler_common.cc base::UTF16ToASCII(ExtractStringValue(args)); base 233 chrome/browser/ui/webui/options/language_options_handler_common.cc const std::string action = base::StringPrintf( base 237 chrome/browser/ui/webui/options/language_options_handler_common.cc base::StringValue language_value(language_code); base 243 chrome/browser/ui/webui/options/language_options_handler_common.cc const base::ListValue* args) { base 245 chrome/browser/ui/webui/options/language_options_handler_common.cc base::UTF16ToASCII(ExtractStringValue(args)); base 247 chrome/browser/ui/webui/options/language_options_handler_common.cc const std::string action = base::StringPrintf( base 254 chrome/browser/ui/webui/options/language_options_handler_common.cc const base::ListValue* args) { base 256 chrome/browser/ui/webui/options/language_options_handler_common.cc const base::ListValue* language_list; base 261 chrome/browser/ui/webui/options/language_options_handler_common.cc for (base::ListValue::const_iterator it = language_list->begin(); base 275 chrome/browser/ui/webui/options/language_options_handler_common.cc const base::ListValue* args) { base 290 chrome/browser/ui/webui/options/language_options_handler_common.cc base::WeakPtr<SpellcheckHunspellDictionary>& base 12 chrome/browser/ui/webui/options/language_options_handler_common.h namespace base { base 30 chrome/browser/ui/webui/options/language_options_handler_common.h base::DictionaryValue* localized_strings) OVERRIDE; base 50 chrome/browser/ui/webui/options/language_options_handler_common.h static base::DictionaryValue* GetUILanguageCodeSet(); base 58 chrome/browser/ui/webui/options/language_options_handler_common.h static base::DictionaryValue* GetSpellCheckLanguageCodeSet(); base 62 chrome/browser/ui/webui/options/language_options_handler_common.h virtual base::string16 GetProductName() = 0; base 68 chrome/browser/ui/webui/options/language_options_handler_common.h void LanguageOptionsOpenCallback(const base::ListValue* args); base 72 chrome/browser/ui/webui/options/language_options_handler_common.h void UiLanguageChangeCallback(const base::ListValue* args); base 76 chrome/browser/ui/webui/options/language_options_handler_common.h void SpellCheckLanguageChangeCallback(const base::ListValue* args); base 80 chrome/browser/ui/webui/options/language_options_handler_common.h void RetrySpellcheckDictionaryDownload(const base::ListValue* args); base 83 chrome/browser/ui/webui/options/language_options_handler_common.h void UpdateLanguageListCallback(const base::ListValue* args); base 89 chrome/browser/ui/webui/options/language_options_handler_common.h base::WeakPtr<SpellcheckHunspellDictionary>& GetHunspellDictionary(); base 92 chrome/browser/ui/webui/options/language_options_handler_common.h base::WeakPtr<SpellcheckHunspellDictionary> hunspell_dictionary_; base 14 chrome/browser/ui/webui/options/language_options_handler_unittest.cc scoped_ptr<base::DictionaryValue> dictionary( base 24 chrome/browser/ui/webui/options/language_options_handler_unittest.cc scoped_ptr<base::DictionaryValue> dictionary( base 58 chrome/browser/ui/webui/options/manage_profile_handler.cc bool GetProfilePathFromArgs(const base::ListValue* args, base 59 chrome/browser/ui/webui/options/manage_profile_handler.cc base::FilePath* profile_file_path) { base 60 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::Value* file_path_value; base 63 chrome/browser/ui/webui/options/manage_profile_handler.cc return base::GetValueAsFilePath(*file_path_value, profile_file_path); base 81 chrome/browser/ui/webui/options/manage_profile_handler.cc base::DictionaryValue* localized_strings) { base 151 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::OnCreateManagedUserPrefChange, base 152 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 167 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::SetProfileIconAndName, base 168 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 170 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::RequestDefaultProfileIcons, base 171 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 173 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::RequestNewProfileDefaults, base 174 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 176 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::RequestHasProfileShortcuts, base 177 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 179 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::RequestCreateProfileUpdate, base 180 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 182 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::ProfileIconSelectionChanged, base 183 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 186 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::SwitchAppListProfile, base 187 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 190 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::AddProfileShortcut, base 191 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 193 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Bind(&ManageProfileHandler::RemoveProfileShortcut, base 194 chrome/browser/ui/webui/options/manage_profile_handler.cc base::Unretained(this))); base 207 chrome/browser/ui/webui/options/manage_profile_handler.cc base::StringValue value(kManageProfileIdentifier); base 217 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::ListValue* args) { base 223 chrome/browser/ui/webui/options/manage_profile_handler.cc base::StringValue value(mode); base 229 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::ListValue* args) { base 234 chrome/browser/ui/webui/options/manage_profile_handler.cc base::DictionaryValue profile_info; base 243 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::StringValue& mode) { base 244 chrome/browser/ui/webui/options/manage_profile_handler.cc base::ListValue image_url_list; base 245 chrome/browser/ui/webui/options/manage_profile_handler.cc base::ListValue default_name_list; base 278 chrome/browser/ui/webui/options/manage_profile_handler.cc base::DictionaryValue profile_name_dict; base 281 chrome/browser/ui/webui/options/manage_profile_handler.cc base::UTF16ToUTF8(cache.GetNameOfProfileAtIndex(i)), true); base 288 chrome/browser/ui/webui/options/manage_profile_handler.cc void ManageProfileHandler::SetProfileIconAndName(const base::ListValue* args) { base 291 chrome/browser/ui/webui/options/manage_profile_handler.cc base::FilePath profile_file_path; base 336 chrome/browser/ui/webui/options/manage_profile_handler.cc base::string16 new_profile_name; base 344 chrome/browser/ui/webui/options/manage_profile_handler.cc void ManageProfileHandler::SwitchAppListProfile(const base::ListValue* args) { base 348 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::Value* file_path_value; base 349 chrome/browser/ui/webui/options/manage_profile_handler.cc base::FilePath profile_file_path; base 351 chrome/browser/ui/webui/options/manage_profile_handler.cc !base::GetValueAsFilePath(*file_path_value, &profile_file_path)) base 365 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::ListValue* args) { base 368 chrome/browser/ui/webui/options/manage_profile_handler.cc base::FilePath profile_file_path; base 391 chrome/browser/ui/webui/options/manage_profile_handler.cc base::string16 gaia_name = cache.GetNameOfProfileAtIndex(profile_index); base 395 chrome/browser/ui/webui/options/manage_profile_handler.cc base::StringValue gaia_name_value(gaia_name); base 396 chrome/browser/ui/webui/options/manage_profile_handler.cc base::StringValue mode_value(kManageProfileIdentifier); base 402 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::ListValue* args) { base 406 chrome/browser/ui/webui/options/manage_profile_handler.cc base::FilePath profile_file_path; base 416 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::FilePath profile_path = base 421 chrome/browser/ui/webui/options/manage_profile_handler.cc profile_path, base::Bind(&ManageProfileHandler::OnHasProfileShortcuts, base 426 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::ListValue* args) { base 430 chrome/browser/ui/webui/options/manage_profile_handler.cc base::string16 username = base 431 chrome/browser/ui/webui/options/manage_profile_handler.cc base::UTF8ToUTF16(manager->GetAuthenticatedUsername()); base 440 chrome/browser/ui/webui/options/manage_profile_handler.cc base::StringValue(username), base 441 chrome/browser/ui/webui/options/manage_profile_handler.cc base::FundamentalValue(has_error)); base 447 chrome/browser/ui/webui/options/manage_profile_handler.cc base::FundamentalValue allowed( base 456 chrome/browser/ui/webui/options/manage_profile_handler.cc const base::FundamentalValue has_shortcuts_value(has_shortcuts); base 461 chrome/browser/ui/webui/options/manage_profile_handler.cc void ManageProfileHandler::AddProfileShortcut(const base::ListValue* args) { base 462 chrome/browser/ui/webui/options/manage_profile_handler.cc base::FilePath profile_file_path; base 477 chrome/browser/ui/webui/options/manage_profile_handler.cc void ManageProfileHandler::RemoveProfileShortcut(const base::ListValue* args) { base 478 chrome/browser/ui/webui/options/manage_profile_handler.cc base::FilePath profile_file_path; base 16 chrome/browser/ui/webui/options/manage_profile_handler.h namespace base { base 32 chrome/browser/ui/webui/options/manage_profile_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 52 chrome/browser/ui/webui/options/manage_profile_handler.h void RequestDefaultProfileIcons(const base::ListValue* args); base 57 chrome/browser/ui/webui/options/manage_profile_handler.h void RequestNewProfileDefaults(const base::ListValue* args); base 61 chrome/browser/ui/webui/options/manage_profile_handler.h void SendProfileIconsAndNames(const base::StringValue& mode); base 79 chrome/browser/ui/webui/options/manage_profile_handler.h void SetProfileIconAndName(const base::ListValue* args); base 85 chrome/browser/ui/webui/options/manage_profile_handler.h void SwitchAppListProfile(const base::ListValue* args); base 90 chrome/browser/ui/webui/options/manage_profile_handler.h void ProfileIconSelectionChanged(const base::ListValue* args); base 96 chrome/browser/ui/webui/options/manage_profile_handler.h void RequestHasProfileShortcuts(const base::ListValue* args); base 102 chrome/browser/ui/webui/options/manage_profile_handler.h void RequestCreateProfileUpdate(const base::ListValue* args); base 115 chrome/browser/ui/webui/options/manage_profile_handler.h void AddProfileShortcut(const base::ListValue* args); base 120 chrome/browser/ui/webui/options/manage_profile_handler.h void RemoveProfileShortcut(const base::ListValue* args); base 130 chrome/browser/ui/webui/options/manage_profile_handler.h base::WeakPtrFactory<ManageProfileHandler> weak_factory_; base 34 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.cc base::DictionaryValue* localized_strings) { base 58 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.cc base::Bind(&ManagedUserCreateConfirmHandler::SwitchToProfile, base 59 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.cc base::Unretained(this))); base 63 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.cc const base::ListValue* args) { base 65 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.cc const base::Value* file_path_value; base 69 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.cc base::FilePath profile_file_path; base 70 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.cc if (!base::GetValueAsFilePath(*file_path_value, &profile_file_path)) base 10 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.h namespace base { base 25 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 34 chrome/browser/ui/webui/options/managed_user_create_confirm_handler.h void SwitchToProfile(const base::ListValue* args); base 35 chrome/browser/ui/webui/options/managed_user_import_handler.cc scoped_ptr<base::ListValue> GetAvatarIcons() { base 36 chrome/browser/ui/webui/options/managed_user_import_handler.cc scoped_ptr<base::ListValue> avatar_icons(new base::ListValue); base 39 chrome/browser/ui/webui/options/managed_user_import_handler.cc avatar_icons->Append(new base::StringValue(avatar_url)); base 65 chrome/browser/ui/webui/options/managed_user_import_handler.cc base::DictionaryValue* localized_strings) { base 99 chrome/browser/ui/webui/options/managed_user_import_handler.cc base::Bind(&ManagedUserImportHandler::OnSharedSettingChanged, base 111 chrome/browser/ui/webui/options/managed_user_import_handler.cc base::Bind(&ManagedUserImportHandler::RequestManagedUserImportUpdate, base 112 chrome/browser/ui/webui/options/managed_user_import_handler.cc base::Unretained(this))); base 125 chrome/browser/ui/webui/options/managed_user_import_handler.cc const base::ListValue* /* args */) { base 137 chrome/browser/ui/webui/options/managed_user_import_handler.cc base::Bind(&ManagedUserImportHandler::SendExistingManagedUsers, base 144 chrome/browser/ui/webui/options/managed_user_import_handler.cc const base::DictionaryValue* dict) { base 156 chrome/browser/ui/webui/options/managed_user_import_handler.cc base::ListValue managed_users; base 160 chrome/browser/ui/webui/options/managed_user_import_handler.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { base 161 chrome/browser/ui/webui/options/managed_user_import_handler.cc const base::DictionaryValue* value = NULL; base 167 chrome/browser/ui/webui/options/managed_user_import_handler.cc base::DictionaryValue* managed_user = new base::DictionaryValue; base 172 chrome/browser/ui/webui/options/managed_user_import_handler.cc const base::Value* avatar_index_value = base 15 chrome/browser/ui/webui/options/managed_user_import_handler.h namespace base { base 27 chrome/browser/ui/webui/options/managed_user_import_handler.h typedef base::CallbackList<void(const std::string&, const std::string&)> base 35 chrome/browser/ui/webui/options/managed_user_import_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 59 chrome/browser/ui/webui/options/managed_user_import_handler.h void RequestManagedUserImportUpdate(const base::ListValue* args); base 71 chrome/browser/ui/webui/options/managed_user_import_handler.h void SendExistingManagedUsers(const base::DictionaryValue* dict); base 89 chrome/browser/ui/webui/options/managed_user_import_handler.h base::WeakPtrFactory<ManagedUserImportHandler> weak_ptr_factory_; base 19 chrome/browser/ui/webui/options/managed_user_learn_more_handler.cc base::DictionaryValue* localized_strings) { base 10 chrome/browser/ui/webui/options/managed_user_learn_more_handler.h namespace base { base 25 chrome/browser/ui/webui/options/managed_user_learn_more_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 28 chrome/browser/ui/webui/options/media_devices_selection_handler.cc base::DictionaryValue* values) { base 50 chrome/browser/ui/webui/options/media_devices_selection_handler.cc base::Bind(&MediaDevicesSelectionHandler::SetDefaultCaptureDevice, base 51 chrome/browser/ui/webui/options/media_devices_selection_handler.cc base::Unretained(this))); base 65 chrome/browser/ui/webui/options/media_devices_selection_handler.cc const base::ListValue* args) { base 106 chrome/browser/ui/webui/options/media_devices_selection_handler.cc base::ListValue device_list; base 108 chrome/browser/ui/webui/options/media_devices_selection_handler.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 121 chrome/browser/ui/webui/options/media_devices_selection_handler.cc base::StringValue default_value(default_id); base 122 chrome/browser/ui/webui/options/media_devices_selection_handler.cc base::StringValue type_value(device_type); base 24 chrome/browser/ui/webui/options/media_devices_selection_handler.h virtual void GetLocalizedValues(base::DictionaryValue* values) OVERRIDE; base 43 chrome/browser/ui/webui/options/media_devices_selection_handler.h void SetDefaultCaptureDevice(const base::ListValue* args); base 31 chrome/browser/ui/webui/options/options_browsertest.cc "optionsTestReportHistory", base::Bind(&OptionsBrowserTest::ReportHistory, base 32 chrome/browser/ui/webui/options/options_browsertest.cc base::Unretained(this))); base 35 chrome/browser/ui/webui/options/options_browsertest.cc "optionsTestSetPref", base::Bind(&OptionsBrowserTest::HandleSetPref, base 36 chrome/browser/ui/webui/options/options_browsertest.cc base::Unretained(this))); base 40 chrome/browser/ui/webui/options/options_browsertest.cc void OptionsBrowserTest::ReportHistory(const base::ListValue* list_value) { base 43 chrome/browser/ui/webui/options/options_browsertest.cc base::ListValue history; base 47 chrome/browser/ui/webui/options/options_browsertest.cc history.Append(new base::StringValue(url.spec())); base 57 chrome/browser/ui/webui/options/options_browsertest.cc void OptionsBrowserTest::HandleSetPref(const base::ListValue* args) { base 62 chrome/browser/ui/webui/options/options_browsertest.cc const base::Value* pref_value; base 35 chrome/browser/ui/webui/options/options_browsertest.h void ReportHistory(const base::ListValue* list_value); base 40 chrome/browser/ui/webui/options/options_browsertest.h void HandleSetPref(const base::ListValue* args); base 52 chrome/browser/ui/webui/options/options_handlers_helper.cc void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui) { base 66 chrome/browser/ui/webui/options/options_handlers_helper.cc base::Bind(&OpenNewWindowForProfile, GetDesktopType(web_ui))); base 27 chrome/browser/ui/webui/options/options_handlers_helper.h void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui); base 116 chrome/browser/ui/webui/options/options_ui.cc explicit OptionsUIHTMLSource(base::DictionaryValue* localized_strings); base 132 chrome/browser/ui/webui/options/options_ui.cc scoped_ptr<base::DictionaryValue> localized_strings_; base 138 chrome/browser/ui/webui/options/options_ui.cc base::DictionaryValue* localized_strings) { base 152 chrome/browser/ui/webui/options/options_ui.cc scoped_refptr<base::RefCountedMemory> response_bytes; base 160 chrome/browser/ui/webui/options/options_ui.cc response_bytes = base::RefCountedString::TakeString(&strings_js); base 207 chrome/browser/ui/webui/options/options_ui.cc base::DictionaryValue* localized_strings, base 211 chrome/browser/ui/webui/options/options_ui.cc base::string16 value; base 224 chrome/browser/ui/webui/options/options_ui.cc base::DictionaryValue* localized_strings, base 245 chrome/browser/ui/webui/options/options_ui.cc base::DictionaryValue* localized_strings = new base::DictionaryValue(); base 247 chrome/browser/ui/webui/options/options_ui.cc new base::DictionaryValue()); base 362 chrome/browser/ui/webui/options/options_ui.cc OptionsUI::RegisterOnFinishedLoadingCallback(const base::Closure& callback) { base 369 chrome/browser/ui/webui/options/options_ui.cc base::ListValue* const suggestions) { base 379 chrome/browser/ui/webui/options/options_ui.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 388 chrome/browser/ui/webui/options/options_ui.cc base::RefCountedMemory* OptionsUI::GetFaviconResourceBytes( base 443 chrome/browser/ui/webui/options/options_ui.cc base::DictionaryValue* localized_strings, base 22 chrome/browser/ui/webui/options/options_ui.h namespace base { base 51 chrome/browser/ui/webui/options/options_ui.h virtual void GetLocalizedValues(base::DictionaryValue* localized_strings) = 0; base 84 chrome/browser/ui/webui/options/options_ui.h static void RegisterStrings(base::DictionaryValue* localized_strings, base 89 chrome/browser/ui/webui/options/options_ui.h static void RegisterTitle(base::DictionaryValue* localized_strings, base 115 chrome/browser/ui/webui/options/options_ui.h typedef base::CallbackList<void()> OnFinishedLoadingCallbackList; base 123 chrome/browser/ui/webui/options/options_ui.h RegisterOnFinishedLoadingCallback(const base::Closure& callback); base 129 chrome/browser/ui/webui/options/options_ui.h base::ListValue* const suggestions); base 131 chrome/browser/ui/webui/options/options_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 150 chrome/browser/ui/webui/options/options_ui.h void AddOptionsPageUIHandler(base::DictionaryValue* localized_strings, base 84 chrome/browser/ui/webui/options/options_ui_browsertest.cc void RunClosureWhenProfileInitialized(const base::Closure& closure, base 137 chrome/browser/ui/webui/options/options_ui_browsertest.cc base::string16 title = base 139 chrome/browser/ui/webui/options/options_ui_browsertest.cc base::string16 expected_title = l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE); base 140 chrome/browser/ui/webui/options/options_ui_browsertest.cc EXPECT_NE(title.find(expected_title), base::string16::npos); base 212 chrome/browser/ui/webui/options/options_ui_browsertest.cc const base::FilePath profile_path = base 215 chrome/browser/ui/webui/options/options_ui_browsertest.cc base::RunLoop run_loop; base 218 chrome/browser/ui/webui/options/options_ui_browsertest.cc base::Bind(&RunClosureWhenProfileInitialized, base 220 chrome/browser/ui/webui/options/options_ui_browsertest.cc base::string16(), base 221 chrome/browser/ui/webui/options/options_ui_browsertest.cc base::string16(), base 49 chrome/browser/ui/webui/options/password_manager_handler.cc base::DictionaryValue* localized_strings) { base 92 chrome/browser/ui/webui/options/password_manager_handler.cc base::Bind(&PasswordManagerHandler::HandleUpdatePasswordLists, base 93 chrome/browser/ui/webui/options/password_manager_handler.cc base::Unretained(this))); base 96 chrome/browser/ui/webui/options/password_manager_handler.cc base::Bind(&PasswordManagerHandler::HandleRemoveSavedPassword, base 97 chrome/browser/ui/webui/options/password_manager_handler.cc base::Unretained(this))); base 100 chrome/browser/ui/webui/options/password_manager_handler.cc base::Bind(&PasswordManagerHandler::HandleRemovePasswordException, base 101 chrome/browser/ui/webui/options/password_manager_handler.cc base::Unretained(this))); base 104 chrome/browser/ui/webui/options/password_manager_handler.cc base::Bind(&PasswordManagerHandler::HandleRequestShowPassword, base 105 chrome/browser/ui/webui/options/password_manager_handler.cc base::Unretained(this))); base 113 chrome/browser/ui/webui/options/password_manager_handler.cc const base::ListValue* args) { base 114 chrome/browser/ui/webui/options/password_manager_handler.cc std::string string_value = base::UTF16ToUTF8(ExtractStringValue(args)); base 116 chrome/browser/ui/webui/options/password_manager_handler.cc if (base::StringToInt(string_value, &index) && index >= 0) { base 122 chrome/browser/ui/webui/options/password_manager_handler.cc const base::ListValue* args) { base 123 chrome/browser/ui/webui/options/password_manager_handler.cc std::string string_value = base::UTF16ToUTF8(ExtractStringValue(args)); base 125 chrome/browser/ui/webui/options/password_manager_handler.cc if (base::StringToInt(string_value, &index) && index >= 0) { base 132 chrome/browser/ui/webui/options/password_manager_handler.cc const base::ListValue* args) { base 142 chrome/browser/ui/webui/options/password_manager_handler.cc const base::string16& password_value) { base 146 chrome/browser/ui/webui/options/password_manager_handler.cc base::FundamentalValue(static_cast<int>(index)), base 147 chrome/browser/ui/webui/options/password_manager_handler.cc base::StringValue(password_value)); base 151 chrome/browser/ui/webui/options/password_manager_handler.cc const base::ListValue* args) { base 158 chrome/browser/ui/webui/options/password_manager_handler.cc base::ListValue entries; base 160 chrome/browser/ui/webui/options/password_manager_handler.cc base::string16 placeholder(base::ASCIIToUTF16(" ")); base 162 chrome/browser/ui/webui/options/password_manager_handler.cc base::ListValue* entry = new base::ListValue(); base 163 chrome/browser/ui/webui/options/password_manager_handler.cc entry->Append(new base::StringValue(net::FormatUrl(password_list[i]->origin, base 165 chrome/browser/ui/webui/options/password_manager_handler.cc entry->Append(new base::StringValue(password_list[i]->username_value)); base 167 chrome/browser/ui/webui/options/password_manager_handler.cc entry->Append(new base::StringValue(password_list[i]->password_value)); base 170 chrome/browser/ui/webui/options/password_manager_handler.cc entry->Append(new base::StringValue( base 171 chrome/browser/ui/webui/options/password_manager_handler.cc base::string16(password_list[i]->password_value.length(), ' '))); base 182 chrome/browser/ui/webui/options/password_manager_handler.cc base::ListValue entries; base 184 chrome/browser/ui/webui/options/password_manager_handler.cc entries.Append(new base::StringValue( base 27 chrome/browser/ui/webui/options/password_manager_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 33 chrome/browser/ui/webui/options/password_manager_handler.h virtual void ShowPassword(size_t index, const base::string16& password_value) base 47 chrome/browser/ui/webui/options/password_manager_handler.h void HandleUpdatePasswordLists(const base::ListValue* args); base 51 chrome/browser/ui/webui/options/password_manager_handler.h void HandleRemoveSavedPassword(const base::ListValue* args); base 55 chrome/browser/ui/webui/options/password_manager_handler.h void HandleRemovePasswordException(const base::ListValue* args); base 59 chrome/browser/ui/webui/options/password_manager_handler.h void HandleRequestShowPassword(const base::ListValue* args); base 64 chrome/browser/ui/webui/options/preferences_browsertest.cc bool operator==(const base::Value& first, const base::Value& second) { base 69 chrome/browser/ui/webui/options/preferences_browsertest.cc void PrintTo(const base::Value& value, std::ostream* stream) { base 204 chrome/browser/ui/webui/options/preferences_browsertest.cc const std::vector<base::Value*>& values, base 221 chrome/browser/ui/webui/options/preferences_browsertest.cc const std::vector<base::Value*>& values) { base 226 chrome/browser/ui/webui/options/preferences_browsertest.cc void PreferencesBrowserTest::VerifyKeyValue(const base::DictionaryValue& dict, base 228 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value& expected) { base 229 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* actual = NULL; base 235 chrome/browser/ui/webui/options/preferences_browsertest.cc void PreferencesBrowserTest::VerifyPref(const base::DictionaryValue* prefs, base 237 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value, base 241 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* pref = NULL; base 242 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::DictionaryValue* dict = NULL; base 247 chrome/browser/ui/webui/options/preferences_browsertest.cc VerifyKeyValue(*dict, "controlledBy", base::StringValue(controlledBy)); base 252 chrome/browser/ui/webui/options/preferences_browsertest.cc VerifyKeyValue(*dict, "disabled", base::FundamentalValue(true)); base 254 chrome/browser/ui/webui/options/preferences_browsertest.cc VerifyKeyValue(*dict, "disabled", base::FundamentalValue(false)); base 257 chrome/browser/ui/webui/options/preferences_browsertest.cc VerifyKeyValue(*dict, "uncommitted", base::FundamentalValue(true)); base 259 chrome/browser/ui/webui/options/preferences_browsertest.cc VerifyKeyValue(*dict, "uncommitted", base::FundamentalValue(false)); base 264 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value, base 268 chrome/browser/ui/webui/options/preferences_browsertest.cc scoped_ptr<base::Value> observed_value_ptr(base::JSONReader::Read(json)); base 269 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::DictionaryValue* observed_dict; base 278 chrome/browser/ui/webui/options/preferences_browsertest.cc const std::vector<base::Value*>& values, base 282 chrome/browser/ui/webui/options/preferences_browsertest.cc scoped_ptr<base::Value> observed_value_ptr(base::JSONReader::Read(json)); base 283 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::DictionaryValue* observed_dict; base 294 chrome/browser/ui/webui/options/preferences_browsertest.cc base::Bind(&PreferencesBrowserTest::OnPreferenceChanged, base 295 chrome/browser/ui/webui/options/preferences_browsertest.cc base::Unretained(this))); base 301 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value) { base 304 chrome/browser/ui/webui/options/preferences_browsertest.cc base::Bind(&PreferencesBrowserTest::OnPreferenceChanged, base 305 chrome/browser/ui/webui/options/preferences_browsertest.cc base::Unretained(this))); base 315 chrome/browser/ui/webui/options/preferences_browsertest.cc base::Bind(&PreferencesBrowserTest::OnPreferenceChanged, base 316 chrome/browser/ui/webui/options/preferences_browsertest.cc base::Unretained(this))); base 345 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value, base 348 chrome/browser/ui/webui/options/preferences_browsertest.cc scoped_ptr<base::Value> commit_ptr(new base::FundamentalValue(commit)); base 362 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value, base 375 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value, base 381 chrome/browser/ui/webui/options/preferences_browsertest.cc scoped_ptr<base::Value> commit_ptr(new base::FundamentalValue(commit)); base 383 chrome/browser/ui/webui/options/preferences_browsertest.cc base::JSONWriter::Write(commit_ptr.get(), &commit_json); base 397 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value, base 410 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value) { base 417 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value) { base 424 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* value, base 455 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(false)); base 461 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(4)); base 468 chrome/browser/ui/webui/options/preferences_browsertest.cc base::ListValue* list = new base::ListValue; base 469 chrome/browser/ui/webui/options/preferences_browsertest.cc list->Append(new base::StringValue("http://www.google.com")); base 470 chrome/browser/ui/webui/options/preferences_browsertest.cc list->Append(new base::StringValue("http://example.com")); base 663 chrome/browser/ui/webui/options/preferences_browsertest.cc std::vector<base::Value*> decorated_non_default_values; base 668 chrome/browser/ui/webui/options/preferences_browsertest.cc default_values_.push_back(new base::FundamentalValue(true)); base 669 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(false)); base 675 chrome/browser/ui/webui/options/preferences_browsertest.cc default_values_.push_back(new base::StringValue("")); base 676 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::StringValue("stable-channel")); base 682 chrome/browser/ui/webui/options/preferences_browsertest.cc default_values_.push_back(new base::ListValue); base 683 chrome/browser/ui/webui/options/preferences_browsertest.cc base::ListValue* list = new base::ListValue; base 684 chrome/browser/ui/webui/options/preferences_browsertest.cc list->Append(new base::StringValue("me@google.com")); base 685 chrome/browser/ui/webui/options/preferences_browsertest.cc list->Append(new base::StringValue("you@google.com")); base 687 chrome/browser/ui/webui/options/preferences_browsertest.cc list = new base::ListValue; base 688 chrome/browser/ui/webui/options/preferences_browsertest.cc base::DictionaryValue* dict = new base::DictionaryValue; base 694 chrome/browser/ui/webui/options/preferences_browsertest.cc dict = new base::DictionaryValue; base 733 chrome/browser/ui/webui/options/preferences_browsertest.cc scoped_ptr<base::DictionaryValue> proxy_config_dict( base 744 chrome/browser/ui/webui/options/preferences_browsertest.cc std::string url = base::StringPrintf("%s?network=%s", base 772 chrome/browser/ui/webui/options/preferences_browsertest.cc base::StringValue("stub_ethernet")); base 775 chrome/browser/ui/webui/options/preferences_browsertest.cc base::StringValue(kUserProfilePath)); base 799 chrome/browser/ui/webui/options/preferences_browsertest.cc new base::StringValue(onc_policy), base 812 chrome/browser/ui/webui/options/preferences_browsertest.cc void SetProxyPref(const std::string& name, const base::Value& value) { base 815 chrome/browser/ui/webui/options/preferences_browsertest.cc case base::Value::TYPE_BOOLEAN: base 818 chrome/browser/ui/webui/options/preferences_browsertest.cc case base::Value::TYPE_INTEGER: base 821 chrome/browser/ui/webui/options/preferences_browsertest.cc case base::Value::TYPE_STRING: base 856 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(true)); base 860 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(8080)); base 864 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::StringValue("127.0.0.1")); base 868 chrome/browser/ui/webui/options/preferences_browsertest.cc base::ListValue* list = new base::ListValue(); base 869 chrome/browser/ui/webui/options/preferences_browsertest.cc list->Append(new base::StringValue("*.google.com")); base 870 chrome/browser/ui/webui/options/preferences_browsertest.cc list->Append(new base::StringValue("1.2.3.4:22")); base 876 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(2)); base 879 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(false)); base 894 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(3)); base 905 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(false)); base 919 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(3)); base 930 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(false)); base 940 chrome/browser/ui/webui/options/preferences_browsertest.cc new base::StringValue(ProxyPrefs::kAutoDetectProxyModeName)); base 948 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(3)); base 952 chrome/browser/ui/webui/options/preferences_browsertest.cc non_default_values_.push_back(new base::FundamentalValue(false)); base 965 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxySingleHttpPort, base::FundamentalValue(123)); base 966 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxySingleHttp, base::StringValue("www.adomain.xy")); base 978 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxySingle, base::FundamentalValue(false)); base 981 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxyHttpUrl, base::StringValue("a.com")); base 982 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxyHttpsUrl, base::StringValue("4.3.2.1")); base 983 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxyFtpUrl, base::StringValue("c.com")); base 984 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxySocks, base::StringValue("d.com")); base 992 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxyHttpPort, base::FundamentalValue(1)); base 993 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxyHttpsPort, base::FundamentalValue(2)); base 994 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxyFtpPort, base::FundamentalValue(3)); base 995 chrome/browser/ui/webui/options/preferences_browsertest.cc SetProxyPref(chromeos::kProxySocksPort, base::FundamentalValue(4)); base 21 chrome/browser/ui/webui/options/preferences_browsertest.h namespace base { base 56 chrome/browser/ui/webui/options/preferences_browsertest.h const std::vector<base::Value*>& values, base 62 chrome/browser/ui/webui/options/preferences_browsertest.h const std::vector<base::Value*>& values); base 66 chrome/browser/ui/webui/options/preferences_browsertest.h void VerifyKeyValue(const base::DictionaryValue& dict, base 68 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value& expected); base 71 chrome/browser/ui/webui/options/preferences_browsertest.h void VerifyPref(const base::DictionaryValue* prefs, base 73 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value, base 82 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value, base 91 chrome/browser/ui/webui/options/preferences_browsertest.h const std::vector<base::Value*>& values, base 102 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value); base 119 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value, base 128 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value, base 134 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value, base 140 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value, base 146 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value); base 151 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value); base 157 chrome/browser/ui/webui/options/preferences_browsertest.h const base::Value* value, base 189 chrome/browser/ui/webui/options/preferences_browsertest.h std::vector<base::Value*> default_values_; base 190 chrome/browser/ui/webui/options/preferences_browsertest.h std::vector<base::Value*> non_default_values_; base 47 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::FundamentalValue(resetter_->IsActive())); base 61 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::DictionaryValue* localized_strings) { base 84 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Bind(&ResetProfileSettingsHandler::HandleResetProfileSettings, base 85 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Unretained(this))); base 87 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Bind(&ResetProfileSettingsHandler::OnShowResetProfileDialog, base 88 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Unretained(this))); base 90 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Bind(&ResetProfileSettingsHandler::OnHideResetProfileDialog, base 91 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Unretained(this))); base 93 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Bind(&ResetProfileSettingsHandler:: base 95 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Unretained(this))); base 99 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc const base::ListValue* value) { base 108 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Bind(&ResetProfileSettingsHandler::ResetProfile, base 141 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc const base::ListValue* value) { base 145 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc setting_snapshot_->RequestShortcuts(base::Bind( base 157 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Bind(&ResetProfileSettingsHandler::OnSettingsFetched, base 164 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc const base::ListValue* value) { base 170 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc const base::ListValue* args) { base 201 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::Bind(&ResetProfileSettingsHandler::OnResetProfileSettingsDone, base 204 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc content::RecordAction(base::UserMetricsAction("ResetProfile")); base 211 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc scoped_ptr<base::ListValue> list = GetReadableFeedbackForSnapshot( base 214 chrome/browser/ui/webui/options/reset_profile_settings_handler.cc base::DictionaryValue feedback_info; base 15 chrome/browser/ui/webui/options/reset_profile_settings_handler.h namespace base { base 31 chrome/browser/ui/webui/options/reset_profile_settings_handler.h public base::SupportsWeakPtr<ResetProfileSettingsHandler> { base 38 chrome/browser/ui/webui/options/reset_profile_settings_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 48 chrome/browser/ui/webui/options/reset_profile_settings_handler.h void HandleResetProfileSettings(const base::ListValue* value); base 54 chrome/browser/ui/webui/options/reset_profile_settings_handler.h void OnShowResetProfileDialog(const base::ListValue* value); base 57 chrome/browser/ui/webui/options/reset_profile_settings_handler.h void OnHideResetProfileDialog(const base::ListValue* value); base 60 chrome/browser/ui/webui/options/reset_profile_settings_handler.h void OnDismissedResetProfileSettingsBanner(const base::ListValue* args); base 57 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::DictionaryValue* localized_strings) { base 88 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Bind(&SearchEngineManagerHandler::SetDefaultSearchEngine, base 89 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Unretained(this))); base 92 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Bind(&SearchEngineManagerHandler::RemoveSearchEngine, base 93 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Unretained(this))); base 96 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Bind(&SearchEngineManagerHandler::EditSearchEngine, base 97 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Unretained(this))); base 100 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Bind(&SearchEngineManagerHandler::CheckSearchEngineInfoValidity, base 101 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Unretained(this))); base 104 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Bind(&SearchEngineManagerHandler::EditCancelled, base 105 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Unretained(this))); base 108 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Bind(&SearchEngineManagerHandler::EditCompleted, base 109 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::Unretained(this))); base 124 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::ListValue defaults_list; base 134 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::ListValue others_list; base 144 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::ListValue keyword_list; base 168 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::DictionaryValue* SearchEngineManagerHandler::CreateDictionaryForEngine( base 173 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 184 chrome/browser/ui/webui/options/search_engine_manager_handler.cc dict->SetString("modelIndex", base::IntToString(index)); base 207 chrome/browser/ui/webui/options/search_engine_manager_handler.cc const base::ListValue* args) { base 220 chrome/browser/ui/webui/options/search_engine_manager_handler.cc const base::ListValue* args) { base 233 chrome/browser/ui/webui/options/search_engine_manager_handler.cc void SearchEngineManagerHandler::EditSearchEngine(const base::ListValue* args) { base 251 chrome/browser/ui/webui/options/search_engine_manager_handler.cc const base::string16& title, base 252 chrome/browser/ui/webui/options/search_engine_manager_handler.cc const base::string16& keyword, base 263 chrome/browser/ui/webui/options/search_engine_manager_handler.cc const base::ListValue* args) base 267 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::string16 name; base 268 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::string16 keyword; base 279 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::DictionaryValue validity; base 283 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::StringValue indexValue(modelIndex); base 288 chrome/browser/ui/webui/options/search_engine_manager_handler.cc void SearchEngineManagerHandler::EditCancelled(const base::ListValue* args) { base 295 chrome/browser/ui/webui/options/search_engine_manager_handler.cc void SearchEngineManagerHandler::EditCompleted(const base::ListValue* args) { base 298 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::string16 name; base 299 chrome/browser/ui/webui/options/search_engine_manager_handler.cc base::string16 keyword; base 29 chrome/browser/ui/webui/options/search_engine_manager_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 41 chrome/browser/ui/webui/options/search_engine_manager_handler.h const base::string16& title, base 42 chrome/browser/ui/webui/options/search_engine_manager_handler.h const base::string16& keyword, base 52 chrome/browser/ui/webui/options/search_engine_manager_handler.h void RemoveSearchEngine(const base::ListValue* args); base 55 chrome/browser/ui/webui/options/search_engine_manager_handler.h void SetDefaultSearchEngine(const base::ListValue* args); base 60 chrome/browser/ui/webui/options/search_engine_manager_handler.h void EditSearchEngine(const base::ListValue* args); base 64 chrome/browser/ui/webui/options/search_engine_manager_handler.h void CheckSearchEngineInfoValidity(const base::ListValue* args); base 68 chrome/browser/ui/webui/options/search_engine_manager_handler.h void EditCancelled(const base::ListValue* args); base 72 chrome/browser/ui/webui/options/search_engine_manager_handler.h void EditCompleted(const base::ListValue* args); base 75 chrome/browser/ui/webui/options/search_engine_manager_handler.h base::DictionaryValue* CreateDictionaryForEngine( base 79 chrome/browser/ui/webui/options/search_engine_manager_handler.h base::DictionaryValue* CreateDictionaryForExtension( base 33 chrome/browser/ui/webui/options/startup_pages_handler.cc base::DictionaryValue* localized_strings) { base 49 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Bind(&StartupPagesHandler::RemoveStartupPages, base 50 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Unretained(this))); base 52 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Bind(&StartupPagesHandler::AddStartupPage, base 53 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Unretained(this))); base 55 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Bind(&StartupPagesHandler::EditStartupPage, base 56 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Unretained(this))); base 58 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Bind(&StartupPagesHandler::SetStartupPagesToCurrentPages, base 59 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Unretained(this))); base 61 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Bind(&StartupPagesHandler::DragDropStartupPage, base 62 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Unretained(this))); base 65 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Bind(&StartupPagesHandler::RequestAutocompleteSuggestions, base 66 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Unretained(this))); base 68 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Bind(&StartupPagesHandler::CommitChanges, base 69 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Unretained(this))); base 71 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Bind(&StartupPagesHandler::CancelChanges, base 72 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Unretained(this))); base 92 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Bind(&StartupPagesHandler::UpdateStartupPages, base 93 chrome/browser/ui/webui/options/startup_pages_handler.cc base::Unretained(this))); base 104 chrome/browser/ui/webui/options/startup_pages_handler.cc base::ListValue startup_pages; base 108 chrome/browser/ui/webui/options/startup_pages_handler.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 134 chrome/browser/ui/webui/options/startup_pages_handler.cc const base::ListValue* args) { base 138 chrome/browser/ui/webui/options/startup_pages_handler.cc void StartupPagesHandler::RemoveStartupPages(const base::ListValue* args) { base 152 chrome/browser/ui/webui/options/startup_pages_handler.cc void StartupPagesHandler::AddStartupPage(const base::ListValue* args) { base 168 chrome/browser/ui/webui/options/startup_pages_handler.cc void StartupPagesHandler::EditStartupPage(const base::ListValue* args) { base 185 chrome/browser/ui/webui/options/startup_pages_handler.cc void StartupPagesHandler::DragDropStartupPage(const base::ListValue* args) { base 192 chrome/browser/ui/webui/options/startup_pages_handler.cc const base::ListValue* selected; base 217 chrome/browser/ui/webui/options/startup_pages_handler.cc void StartupPagesHandler::CommitChanges(const base::ListValue* args) { base 221 chrome/browser/ui/webui/options/startup_pages_handler.cc void StartupPagesHandler::CancelChanges(const base::ListValue* args) { base 226 chrome/browser/ui/webui/options/startup_pages_handler.cc const base::ListValue* args) { base 227 chrome/browser/ui/webui/options/startup_pages_handler.cc base::string16 input; base 232 chrome/browser/ui/webui/options/startup_pages_handler.cc input, base::string16::npos, base::string16(), GURL(), base 239 chrome/browser/ui/webui/options/startup_pages_handler.cc base::ListValue suggestions; base 33 chrome/browser/ui/webui/options/startup_pages_handler.h base::DictionaryValue* localized_strings) OVERRIDE; base 49 chrome/browser/ui/webui/options/startup_pages_handler.h void CommitChanges(const base::ListValue* args); base 52 chrome/browser/ui/webui/options/startup_pages_handler.h void CancelChanges(const base::ListValue* args); base 55 chrome/browser/ui/webui/options/startup_pages_handler.h void RemoveStartupPages(const base::ListValue* args); base 59 chrome/browser/ui/webui/options/startup_pages_handler.h void AddStartupPage(const base::ListValue* args); base 63 chrome/browser/ui/webui/options/startup_pages_handler.h void EditStartupPage(const base::ListValue* args); base 66 chrome/browser/ui/webui/options/startup_pages_handler.h void SetStartupPagesToCurrentPages(const base::ListValue* args); base 69 chrome/browser/ui/webui/options/startup_pages_handler.h void DragDropStartupPage(const base::ListValue* args); base 73 chrome/browser/ui/webui/options/startup_pages_handler.h void RequestAutocompleteSuggestions(const base::ListValue* args); base 69 chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc base::StringValue text_string_value(text); base 48 chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui_browsertest.cc AddLibrary(base::FilePath( base 138 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::DictionaryValue> GetAggregationMethod( base 140 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 152 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::ListValue> GetMetricDetailsForCategory( base 154 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 158 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::DictionaryValue* metric_details = new base::DictionaryValue(); base 173 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::DictionaryValue> GetMetricCategory(MetricCategory category) { base 174 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 192 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::ListValue> GetEventTypesForCategory(EventCategory category) { base 193 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 197 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::DictionaryValue* event_details = new base::DictionaryValue(); base 213 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::DictionaryValue> GetEventCategory(EventCategory category) { base 214 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 227 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc void DoGetActiveIntervals(base::ListValue* results, base 228 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::Time& start, base 229 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::Time& end) { base 238 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::DictionaryValue* interval_value = new base::DictionaryValue(); base 248 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc void DoGetEvents(base::ListValue* results, base 250 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::Time& start, base 251 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::Time& end) { base 258 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::DictionaryValue* event_results = new base::DictionaryValue(); base 260 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue* events = new base::ListValue(); base 268 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::DictionaryValue* localized_event = new base::DictionaryValue(); base 270 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc for (base::DictionaryValue::Iterator data(*(*event)->data()); base 273 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Value* value = NULL; base 288 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc value = base::Value::CreateDoubleValue( base 289 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Time::FromInternalValue( base 294 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::DictionaryValue* localized_value = new base::DictionaryValue(); base 315 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc void DoGetMetrics(base::ListValue* results, base 317 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::Time& start, base 318 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::Time& end, base 319 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::TimeDelta& resolution, base 335 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::DictionaryValue* metric_set = new base::DictionaryValue(); base 356 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc metric_set->Set("metrics", new base::ListValue()); base 361 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue* metric_points_by_interval = new base::ListValue(); base 369 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue* series_value = new base::ListValue(); base 373 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::DictionaryValue* point_value = new base::DictionaryValue(); base 397 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::HandleGetActiveIntervals, base 401 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::HandleGetFlagEnabled, base 405 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::HandleGetAggregationTypes, base 409 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::HandleGetEventTypes, base 413 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::HandleGetEvents, base 417 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::HandleGetMetricTypes, base 421 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::HandleGetMetrics, base 426 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::Value* results) { base 432 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::ListValue* args) { base 437 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Time start = base::Time::FromJsTime(double_time); base 439 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Time end = base::Time::FromJsTime(double_time); base 441 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue* results = new base::ListValue(); base 444 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&DoGetActiveIntervals, results, start, end), base 445 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::ReturnResults, AsWeakPtr(), base 447 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Owned(results))); base 451 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::ListValue* args) { base 454 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc scoped_ptr<base::Value> value(base::Value::CreateBooleanValue( base 461 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::ListValue* args) { base 464 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue results; base 475 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::ListValue* args) { base 478 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue results; base 485 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc void PerformanceMonitorHandler::HandleGetEvents(const base::ListValue* args) { base 489 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::ListValue* event_type_list; base 492 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc for (base::ListValue::const_iterator iter = event_type_list->begin(); base 504 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Time start = base::Time::FromJsTime(double_time); base 506 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Time end = base::Time::FromJsTime(double_time); base 508 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue* results = new base::ListValue(); base 511 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&DoGetEvents, results, event_types, start, end), base 512 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::ReturnResults, AsWeakPtr(), base 514 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Owned(results))); base 518 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::ListValue* args) { base 521 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue results; base 528 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc void PerformanceMonitorHandler::HandleGetMetrics(const base::ListValue* args) { base 532 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc const base::ListValue* metric_type_list; base 535 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc for (base::ListValue::const_iterator iter = metric_type_list->begin(); base 547 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Time start = base::Time::FromJsTime(time_double); base 549 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Time end = base::Time::FromJsTime(time_double); base 553 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::TimeDelta resolution = base 554 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::TimeDelta::FromMilliseconds(resolution_in_milliseconds); base 563 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue* results = new base::ListValue(); base 566 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&DoGetMetrics, results, metric_types, base 568 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Bind(&PerformanceMonitorHandler::ReturnResults, AsWeakPtr(), base 570 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::Owned(results))); base 12 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h namespace base { base 25 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h public base::SupportsWeakPtr<PerformanceMonitorHandler> { base 36 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h void ReturnResults(const std::string& callback, const base::Value* results); base 40 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h void HandleGetActiveIntervals(const base::ListValue* args); base 44 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h void HandleGetFlagEnabled(const base::ListValue* args); base 48 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h void HandleGetAggregationTypes(const base::ListValue* args); base 52 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h void HandleGetEventTypes(const base::ListValue* args); base 56 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h void HandleGetEvents(const base::ListValue* args); base 60 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h void HandleGetMetricTypes(const base::ListValue* args); base 66 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h void HandleGetMetrics(const base::ListValue* args); base 14 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringFromAggregationMethod( base 34 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringForAggregationMethodDescription( base 55 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringFromEventCategory( base 75 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringForEventCategoryDescription( base 96 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringFromEventType(const EventType type) { base 137 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringForEventTypeDescription(const EventType type) { base 187 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringForEventTypeMouseover(const EventType type) { base 230 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringFromEventProperty( base 261 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringFromMetricCategory( base 285 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringForMetricCategoryDescription( base 310 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringFromMetricType(const MetricType type) { base 345 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringForMetricTypeDescription( base 395 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc base::string16 GetLocalizedStringFromUnit(const Unit unit) { base 18 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringFromAggregationMethod( base 20 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringForAggregationMethodDescription( base 24 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringFromEventCategory( base 26 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringForEventCategoryDescription( base 28 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringFromEventType(const EventType type); base 29 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringForEventTypeDescription(const EventType type); base 30 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringForEventTypeMouseover(const EventType type); base 31 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringFromEventProperty(const std::string& key); base 34 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringFromMetricCategory( base 36 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringForMetricCategoryDescription( base 38 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringFromMetricType(const MetricType type); base 39 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringForMetricTypeDescription( base 43 chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h base::string16 GetLocalizedStringFromUnit(const Unit unit); base 32 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui.cc base::ASCIIToUTF16(chrome::kChromeUIFlagsURL)); base 24 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_constants.cc base::Time::kMicrosecondsPerMillisecond }, base 25 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_constants.cc { UNIT_SECONDS, MEASUREMENT_TYPE_TIME, base::Time::kMicrosecondsPerSecond }, base 26 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_constants.cc { UNIT_MINUTES, MEASUREMENT_TYPE_TIME, base::Time::kMicrosecondsPerMinute }, base 27 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_constants.cc { UNIT_HOURS, MEASUREMENT_TYPE_TIME, base::Time::kMicrosecondsPerHour }, base 28 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_constants.cc { UNIT_DAYS, MEASUREMENT_TYPE_TIME, base::Time::kMicrosecondsPerDay }, base 29 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_constants.cc { UNIT_WEEKS, MEASUREMENT_TYPE_TIME, base::Time::kMicrosecondsPerWeek }, base 41 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::Time& start, base 43 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::TimeDelta& resolution) { base 74 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::Time& time_start, base 75 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::Time& time_end, base 76 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::TimeDelta& resolution) { base 90 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::Time& time_start, base 91 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::Time& time_end, base 92 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::TimeDelta& resolution) { base 95 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc base::Time window_start = time_start; base 121 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::Time& time_start, base 122 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::Time& time_end, base 123 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::TimeDelta& resolution) { base 130 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc base::Time window_start = time_start + (window_offset * resolution); base 131 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc base::Time window_end = window_start + resolution; base 132 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc base::Time last_sample_time = window_start; base 170 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::Time& start, base 172 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc const base::TimeDelta& resolution, base 177 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc CHECK(resolution > base::TimeDelta()); base 33 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& start, base 35 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::TimeDelta& resolution); base 50 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& time_start, base 51 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& time_end, base 52 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::TimeDelta& resolution) = 0; base 62 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& time_start, base 63 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& time_end, base 64 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::TimeDelta& resolution) OVERRIDE; base 73 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& time_start, base 74 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& time_end, base 75 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::TimeDelta& resolution) OVERRIDE; base 84 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& time_start, base 85 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& time_end, base 86 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::TimeDelta& resolution) OVERRIDE; base 115 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::Time& start, base 117 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h const base::TimeDelta& resolution, base 24 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time& start, base 25 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::TimeDelta& resolution, base 27 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time kMaxTime = base::Time::FromDoubleT(100); base 54 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time data_time = base::Time::FromDoubleT(1); base 57 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time results_time = base::Time::FromDoubleT(3); base 58 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::TimeDelta resolution = base::TimeDelta::FromSeconds(1); base 75 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time data_time = base::Time::FromDoubleT(2); base 76 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time results_time = base::Time::FromDoubleT(1); base 77 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::TimeDelta results_resolution = base::TimeDelta::FromSeconds(2); base 104 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc base::Time current_data_time = base::Time::FromDoubleT(2); base 105 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::TimeDelta data_resolution = base::TimeDelta::FromSeconds(1); base 106 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time results_time = base::Time::FromDoubleT(6); base 107 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::TimeDelta results_resolution = base::TimeDelta::FromSeconds(4); base 152 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time data_time1 = base::Time::FromDoubleT(20); base 155 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time data_time2 = base::Time::FromDoubleT(40); base 158 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time data_time3 = base::Time::FromDoubleT(60); base 162 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::Time results_time = base::Time::FromDoubleT(19); base 163 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc const base::TimeDelta results_resolution = base::TimeDelta::FromSeconds(2); base 205 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc base::Time current_data_time = base::Time::FromDoubleT(1); base 213 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc current_data_time += base::TimeDelta::FromSeconds(1); base 217 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc time_ranges.push_back(TimeRange(base::Time::FromDoubleT(2), base 218 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc base::Time::FromDoubleT(10))); base 219 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc time_ranges.push_back(TimeRange(base::Time::FromDoubleT(12), base 220 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc base::Time::FromDoubleT(22))); base 225 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc base::Time::FromDoubleT(2), base 227 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc base::TimeDelta::FromSeconds(1), base 237 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc EXPECT_EQ(base::Time::FromDoubleT(expected), iter->time); base 247 chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc EXPECT_EQ(base::Time::FromDoubleT(expected), iter->time); base 109 chrome/browser/ui/webui/plugins_ui.cc base::string16 PluginTypeToString(int type) { base 124 chrome/browser/ui/webui/plugins_ui.cc return base::string16(); base 147 chrome/browser/ui/webui/plugins_ui.cc void HandleRequestPluginsData(const base::ListValue* args); base 150 chrome/browser/ui/webui/plugins_ui.cc void HandleEnablePluginMessage(const base::ListValue* args); base 153 chrome/browser/ui/webui/plugins_ui.cc void HandleSaveShowDetailsToPrefs(const base::ListValue* args); base 156 chrome/browser/ui/webui/plugins_ui.cc void HandleGetShowDetails(const base::ListValue* args); base 159 chrome/browser/ui/webui/plugins_ui.cc void HandleSetPluginAlwaysAllowed(const base::ListValue* args); base 176 chrome/browser/ui/webui/plugins_ui.cc typedef base::hash_map<std::string, std::vector<const WebPluginInfo*> > base 183 chrome/browser/ui/webui/plugins_ui.cc base::WeakPtrFactory<PluginsDOMHandler> weak_ptr_factory_; base 203 chrome/browser/ui/webui/plugins_ui.cc base::Bind(&PluginsDOMHandler::HandleRequestPluginsData, base 204 chrome/browser/ui/webui/plugins_ui.cc base::Unretained(this))); base 206 chrome/browser/ui/webui/plugins_ui.cc base::Bind(&PluginsDOMHandler::HandleEnablePluginMessage, base 207 chrome/browser/ui/webui/plugins_ui.cc base::Unretained(this))); base 209 chrome/browser/ui/webui/plugins_ui.cc base::Bind(&PluginsDOMHandler::HandleSetPluginAlwaysAllowed, base 210 chrome/browser/ui/webui/plugins_ui.cc base::Unretained(this))); base 212 chrome/browser/ui/webui/plugins_ui.cc base::Bind(&PluginsDOMHandler::HandleSaveShowDetailsToPrefs, base 213 chrome/browser/ui/webui/plugins_ui.cc base::Unretained(this))); base 215 chrome/browser/ui/webui/plugins_ui.cc base::Bind(&PluginsDOMHandler::HandleGetShowDetails, base 216 chrome/browser/ui/webui/plugins_ui.cc base::Unretained(this))); base 219 chrome/browser/ui/webui/plugins_ui.cc void PluginsDOMHandler::HandleRequestPluginsData(const base::ListValue* args) { base 223 chrome/browser/ui/webui/plugins_ui.cc void PluginsDOMHandler::HandleEnablePluginMessage(const base::ListValue* args) { base 243 chrome/browser/ui/webui/plugins_ui.cc base::string16 group_name; base 252 chrome/browser/ui/webui/plugins_ui.cc base::string16 adobereader = base::ASCIIToUTF16( base 254 chrome/browser/ui/webui/plugins_ui.cc base::string16 internalpdf = base 255 chrome/browser/ui/webui/plugins_ui.cc base::ASCIIToUTF16(ChromeContentClient::kPDFPluginName); base 262 chrome/browser/ui/webui/plugins_ui.cc base::FilePath::StringType file_path; base 268 chrome/browser/ui/webui/plugins_ui.cc plugin_prefs->EnablePlugin(enable, base::FilePath(file_path), base 269 chrome/browser/ui/webui/plugins_ui.cc base::Bind(&AssertPluginEnabled)); base 274 chrome/browser/ui/webui/plugins_ui.cc const base::ListValue* args) { base 283 chrome/browser/ui/webui/plugins_ui.cc void PluginsDOMHandler::HandleGetShowDetails(const base::ListValue* args) { base 284 chrome/browser/ui/webui/plugins_ui.cc base::FundamentalValue show_details(show_details_.GetValue()); base 289 chrome/browser/ui/webui/plugins_ui.cc const base::ListValue* args) { base 329 chrome/browser/ui/webui/plugins_ui.cc base::Bind(&PluginsDOMHandler::PluginsLoaded, base 351 chrome/browser/ui/webui/plugins_ui.cc base::ListValue* plugin_groups_data = new base::ListValue(); base 355 chrome/browser/ui/webui/plugins_ui.cc base::ListValue* plugin_files = new base::ListValue(); base 358 chrome/browser/ui/webui/plugins_ui.cc base::string16 group_name = plugin_metadata->name(); base 368 chrome/browser/ui/webui/plugins_ui.cc base::DictionaryValue* plugin_file = new base::DictionaryValue(); base 375 chrome/browser/ui/webui/plugins_ui.cc base::ListValue* mime_types = new base::ListValue(); base 379 chrome/browser/ui/webui/plugins_ui.cc base::DictionaryValue* mime_type = new base::DictionaryValue(); base 383 chrome/browser/ui/webui/plugins_ui.cc base::ListValue* file_extensions = new base::ListValue(); base 388 chrome/browser/ui/webui/plugins_ui.cc new base::StringValue(mime_file_extensions[l])); base 430 chrome/browser/ui/webui/plugins_ui.cc base::DictionaryValue* group_data = new base::DictionaryValue(); base 461 chrome/browser/ui/webui/plugins_ui.cc const base::DictionaryValue* whitelist = base 470 chrome/browser/ui/webui/plugins_ui.cc base::DictionaryValue results; base 492 chrome/browser/ui/webui/plugins_ui.cc base::RefCountedMemory* PluginsUI::GetFaviconResourceBytes( base 11 chrome/browser/ui/webui/plugins_ui.h namespace base { base 23 chrome/browser/ui/webui/plugins_ui.h static base::RefCountedMemory* GetFaviconResourceBytes( base 136 chrome/browser/ui/webui/policy_ui.cc base::string16 FormatAssociationState(const em::PolicyData* data) { base 156 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* dict) { base 165 chrome/browser/ui/webui/policy_ui.cc base::string16 status = base 177 chrome/browser/ui/webui/policy_ui.cc base::TimeDelta refresh_interval = base 178 chrome/browser/ui/webui/policy_ui.cc base::TimeDelta::FromMilliseconds(refresh_scheduler ? base 181 chrome/browser/ui/webui/policy_ui.cc base::Time last_refresh_time = refresh_scheduler ? base 182 chrome/browser/ui/webui/policy_ui.cc refresh_scheduler->last_refresh() : base::Time(); base 198 chrome/browser/ui/webui/policy_ui.cc base::Time::NowFromSystemTime() - base 202 chrome/browser/ui/webui/policy_ui.cc void ExtractDomainFromUsername(base::DictionaryValue* dict) { base 210 chrome/browser/ui/webui/policy_ui.cc scoped_ptr<base::StringValue> DictionaryToJSONString( base 211 chrome/browser/ui/webui/policy_ui.cc const base::DictionaryValue* dict) { base 213 chrome/browser/ui/webui/policy_ui.cc base::JSONWriter::WriteWithOptions(dict, base 214 chrome/browser/ui/webui/policy_ui.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 216 chrome/browser/ui/webui/policy_ui.cc return make_scoped_ptr(new base::StringValue(json_string)); base 221 chrome/browser/ui/webui/policy_ui.cc scoped_ptr<base::Value> CopyAndConvert(const base::Value* value) { base 222 chrome/browser/ui/webui/policy_ui.cc const base::DictionaryValue* dict = NULL; base 224 chrome/browser/ui/webui/policy_ui.cc return DictionaryToJSONString(dict).PassAs<base::Value>(); base 226 chrome/browser/ui/webui/policy_ui.cc scoped_ptr<base::Value> copy(value->DeepCopy()); base 227 chrome/browser/ui/webui/policy_ui.cc base::ListValue* list = NULL; base 247 chrome/browser/ui/webui/policy_ui.cc void SetStatusChangeCallback(const base::Closure& callback); base 249 chrome/browser/ui/webui/policy_ui.cc virtual void GetStatus(base::DictionaryValue* dict); base 255 chrome/browser/ui/webui/policy_ui.cc base::Closure callback_; base 290 chrome/browser/ui/webui/policy_ui.cc virtual void GetStatus(base::DictionaryValue* dict) OVERRIDE; base 305 chrome/browser/ui/webui/policy_ui.cc virtual void GetStatus(base::DictionaryValue* dict) OVERRIDE; base 329 chrome/browser/ui/webui/policy_ui.cc virtual void GetStatus(base::DictionaryValue* dict) OVERRIDE; base 382 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* values) const; base 384 chrome/browser/ui/webui/policy_ui.cc void GetChromePolicyValues(base::DictionaryValue* values) const; base 386 chrome/browser/ui/webui/policy_ui.cc void HandleInitialized(const base::ListValue* args); base 387 chrome/browser/ui/webui/policy_ui.cc void HandleReloadPolicies(const base::ListValue* args); base 404 chrome/browser/ui/webui/policy_ui.cc base::WeakPtrFactory<PolicyUIHandler> weak_factory_; base 416 chrome/browser/ui/webui/policy_ui.cc const base::Closure& callback) { base 420 chrome/browser/ui/webui/policy_ui.cc void CloudPolicyStatusProvider::GetStatus(base::DictionaryValue* dict) { base 457 chrome/browser/ui/webui/policy_ui.cc void UserPolicyStatusProvider::GetStatus(base::DictionaryValue* dict) { base 475 chrome/browser/ui/webui/policy_ui.cc void DevicePolicyStatusProvider::GetStatus(base::DictionaryValue* dict) { base 494 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* dict) { base 572 chrome/browser/ui/webui/policy_ui.cc base::Closure update_callback(base::Bind(&PolicyUIHandler::SendStatus, base 573 chrome/browser/ui/webui/policy_ui.cc base::Unretained(this))); base 588 chrome/browser/ui/webui/policy_ui.cc base::Bind(&PolicyUIHandler::HandleInitialized, base::Unretained(this))); base 591 chrome/browser/ui/webui/policy_ui.cc base::Bind(&PolicyUIHandler::HandleReloadPolicies, base 592 chrome/browser/ui/webui/policy_ui.cc base::Unretained(this))); base 611 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue names; base 620 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* chrome_policy_names = new base::DictionaryValue; base 631 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* extension_policy_names = new base::DictionaryValue; base 645 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* extension_value = new base::DictionaryValue; base 650 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* policy_names = new base::DictionaryValue; base 669 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue all_policies; base 672 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* chrome_policies = new base::DictionaryValue; base 682 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* extension_values = new base::DictionaryValue; base 691 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* extension_policies = new base::DictionaryValue; base 706 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* values) const { base 709 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* value = new base::DictionaryValue; base 719 chrome/browser/ui/webui/policy_ui.cc base::string16 error = errors->GetErrors(entry->first); base 727 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue* values) const { base 749 chrome/browser/ui/webui/policy_ui.cc scoped_ptr<base::DictionaryValue> device_status(new base::DictionaryValue); base 753 chrome/browser/ui/webui/policy_ui.cc scoped_ptr<base::DictionaryValue> user_status(new base::DictionaryValue); base 760 chrome/browser/ui/webui/policy_ui.cc base::DictionaryValue status; base 769 chrome/browser/ui/webui/policy_ui.cc void PolicyUIHandler::HandleInitialized(const base::ListValue* args) { base 775 chrome/browser/ui/webui/policy_ui.cc void PolicyUIHandler::HandleReloadPolicies(const base::ListValue* args) { base 777 chrome/browser/ui/webui/policy_ui.cc base::Bind(&PolicyUIHandler::OnRefreshPoliciesDone, base 115 chrome/browser/ui/webui/policy_ui_browsertest.cc base::RunLoop loop; base 149 chrome/browser/ui/webui/policy_ui_browsertest.cc scoped_ptr<base::Value> value_ptr(base::JSONReader::Read(json)); base 150 chrome/browser/ui/webui/policy_ui_browsertest.cc const base::ListValue* actual_policies = NULL; base 158 chrome/browser/ui/webui/policy_ui_browsertest.cc const base::ListValue* actual_policy; base 200 chrome/browser/ui/webui/policy_ui_browsertest.cc base::ListValue* restore_on_startup_urls = new base::ListValue; base 201 chrome/browser/ui/webui/policy_ui_browsertest.cc restore_on_startup_urls->Append(base::Value::CreateStringValue("aaa")); base 202 chrome/browser/ui/webui/policy_ui_browsertest.cc restore_on_startup_urls->Append(base::Value::CreateStringValue("bbb")); base 203 chrome/browser/ui/webui/policy_ui_browsertest.cc restore_on_startup_urls->Append(base::Value::CreateStringValue("ccc")); base 213 chrome/browser/ui/webui/policy_ui_browsertest.cc base::Value::CreateStringValue("http://google.com"), base 219 chrome/browser/ui/webui/policy_ui_browsertest.cc base::Value::CreateIntegerValue(4), base 225 chrome/browser/ui/webui/policy_ui_browsertest.cc base::Value::CreateBooleanValue(true), base 233 chrome/browser/ui/webui/policy_ui_browsertest.cc base::Value::CreateBooleanValue(true), base 25 chrome/browser/ui/webui/predictors/predictors_handler.cc base::Bind(&PredictorsHandler::RequestAutocompleteActionPredictorDb, base 26 chrome/browser/ui/webui/predictors/predictors_handler.cc base::Unretained(this))); base 30 chrome/browser/ui/webui/predictors/predictors_handler.cc const base::ListValue* args) { base 32 chrome/browser/ui/webui/predictors/predictors_handler.cc base::DictionaryValue dict; base 35 chrome/browser/ui/webui/predictors/predictors_handler.cc base::ListValue* db = new base::ListValue(); base 40 chrome/browser/ui/webui/predictors/predictors_handler.cc base::DictionaryValue* entry = new base::DictionaryValue(); base 11 chrome/browser/ui/webui/predictors/predictors_handler.h namespace base { base 33 chrome/browser/ui/webui/predictors/predictors_handler.h void RequestAutocompleteActionPredictorDb(const base::ListValue* args); base 193 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::DictionaryValue* GetSettingsDictionary(const base::ListValue* args) { base 203 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_ptr<base::DictionaryValue> settings( base 204 chrome/browser/ui/webui/print_preview/print_preview_handler.cc static_cast<base::DictionaryValue*>( base 205 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::JSONReader::Read(json_str))); base 206 chrome/browser/ui/webui/print_preview/print_preview_handler.cc if (!settings.get() || !settings->IsType(base::Value::TYPE_DICTIONARY)) { base 220 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void ReportPrintSettingsStats(const base::DictionaryValue& settings) { base 262 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::FilePath& path) { base 280 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::ListValue* printers) { base 289 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::DictionaryValue* printer_info = new base::DictionaryValue; base 310 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::DictionaryValue* options = new base::DictionaryValue; base 325 chrome/browser/ui/webui/print_preview/print_preview_handler.cc typedef base::Callback<void(const base::DictionaryValue*)> base 327 chrome/browser/ui/webui/print_preview/print_preview_handler.cc typedef base::Callback<void(const std::string&)> base 346 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(failure_cb, printer_name)); base 354 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(failure_cb, printer_name)); base 358 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_ptr<base::DictionaryValue> settings_info(new base::DictionaryValue); base 380 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(success_cb, base::Owned(settings_info.release()))); base 383 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::LazyInstance<printing::StickySettings> g_sticky_settings = base 446 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::Time& expiration_time) OVERRIDE { base 494 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleGetPrinters, base 495 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 497 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleGetPreview, base 498 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 500 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandlePrint, base 501 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 503 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleGetPrinterCapabilities, base 504 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 506 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleShowSystemDialog, base 507 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 509 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleSignin, base 510 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 512 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleGetAccessToken, base 513 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 515 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleManageCloudPrint, base 516 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 518 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleManagePrinters, base 519 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 521 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleClosePreviewDialog, base 522 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 524 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleHidePreview, base 525 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 527 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleCancelPendingPrintRequest, base 528 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 530 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleSaveAppState, base 531 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 533 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleGetInitialSettings, base 534 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 536 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleReportUiEvent, base 537 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 539 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandlePrintWithCloudPrintDialog, base 540 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 542 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleForceOpenNewTab, base 543 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 545 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleGetPrivetPrinters, base 546 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 548 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleStopGetPrivetPrinters, base 549 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 551 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::HandleGetPrivetPrinterCapabilities, base 552 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 568 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandleGetPrinters(const base::ListValue* /*args*/) { base 569 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::ListValue* results = new base::ListValue; base 572 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&EnumeratePrintersOnFileThread, print_backend_, base 573 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(results)), base 574 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::SetupPrinterList, base 576 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Owned(results))); base 579 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandleGetPrivetPrinters(const base::ListValue* args) { base 599 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* args) { base 608 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* args) { base 616 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::PrivetCapabilitiesUpdateClient, base 617 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 621 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandleGetPreview(const base::ListValue* args) { base 623 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_ptr<base::DictionaryValue> settings(GetSettingsDictionary(args)); base 693 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandlePrint(const base::ListValue* args) { base 707 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_ptr<base::DictionaryValue> settings(GetSettingsDictionary(args)); base 756 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::FundamentalValue http_code_value(-1); base 767 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes> data; base 768 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::string16 title; base 834 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::string16 print_job_title_utf16 = print_preview_ui->initiator_title(); base 837 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::FilePath::StringType print_job_title(print_job_title_utf16); base 839 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::FilePath::StringType print_job_title = base 840 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::UTF16ToUTF8(print_job_title_utf16); base 844 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::FilePath default_filename(print_job_title); base 852 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandleHidePreview(const base::ListValue* /*args*/) { base 859 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* /*args*/) { base 866 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandleSaveAppState(const base::ListValue* args) { base 876 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* args) { base 883 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::SendPrinterCapabilities, base 886 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::SendFailedToGetPrinterCapabilities, base 890 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&GetPrinterCapabilitiesOnFileThread, base 901 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandleSignin(const base::ListValue* args) { base 913 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::OnSigninComplete, base 917 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandleGetAccessToken(const base::ListValue* args) { base 931 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes> data; base 932 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::string16 title; base 945 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::string16(), base 956 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* /*args*/) { base 970 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* /*args*/) { base 990 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* /*args*/) { base 996 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* args) { base 1007 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* /*args*/) { base 1025 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::DictionaryValue* settings) { base 1036 chrome/browser/ui/webui/print_preview/print_preview_handler.cc settings->SetString(kNumberFormat, base::FormatDouble(123456.78, 2)); base 1041 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::ListValue* /*args*/) { base 1046 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&GetDefaultPrinterOnFileThread, print_backend_), base 1047 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::SendInitialSettings, base 1051 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandleReportUiEvent(const base::ListValue* args) { base 1083 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::HandleForceOpenNewTab(const base::ListValue* args) { base 1100 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::DictionaryValue initial_settings; base 1143 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::StringValue(type), base 1144 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::StringValue(access_token)); base 1148 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::DictionaryValue* settings_info) { base 1162 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::StringValue printer_name_value(printer_name); base 1167 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::SetupPrinterList(const base::ListValue* printers) { base 1182 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::StringValue gcp_url_value(gcp_url.spec()); base 1187 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::SendCloudPrintJob(const base::RefCountedBytes* data) { base 1192 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Base64Encode(raw_data, &base64_data); base 1193 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::StringValue data_value(base64_data); base 1210 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::SelectFile(const base::FilePath& default_filename) { base 1221 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 1222 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::FilePath file_path; base 1233 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::string16(), base 1237 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::FilePath::StringType(), base 1264 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintPreviewHandler::FileSelected(const base::FilePath& path, base 1277 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes> data; base 1278 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::string16 title; base 1287 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintToPdfCallback, metafile.release(), print_to_pdf_path_)); base 1288 chrome/browser/ui/webui/print_preview/print_preview_handler.cc print_to_pdf_path_ = base::FilePath(); base 1313 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes>* data, base 1314 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::string16* title) const { base 1317 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes> tmp_data; base 1334 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::DictionaryValue* settings) { base 1346 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::DictionaryValue* settings) const { base 1388 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::DictionaryValue info; base 1407 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::OnPrivetCapabilities, base 1408 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this))); base 1449 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_refptr<base::RefCountedBytes> data; base 1450 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::string16 title; base 1453 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::FundamentalValue http_code_value(-1); base 1458 chrome/browser/ui/webui/print_preview/print_preview_handler.cc privet_local_print_operation_->SetJobname(base::UTF16ToUTF8(title)); base 1476 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const base::DictionaryValue* capabilities) { base 1484 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::DictionaryValue printer_info; base 1505 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::StringValue name_value(device_name); base 1517 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintPreviewHandler::PrivetLocalPrintUpdateClient, base 1518 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Unretained(this), base 1557 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::FundamentalValue http_code_value(http_code); base 1565 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::DictionaryValue* printer_value) { base 25 chrome/browser/ui/webui/print_preview/print_preview_handler.h namespace base { base 60 chrome/browser/ui/webui/print_preview/print_preview_handler.h virtual void FileSelected(const base::FilePath& path, base 69 chrome/browser/ui/webui/print_preview/print_preview_handler.h void SelectFile(const base::FilePath& default_path); base 114 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleGetPrinters(const base::ListValue* args); base 117 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleGetPrivetPrinters(const base::ListValue* args); base 120 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleStopGetPrivetPrinters(const base::ListValue* args); base 124 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleGetPreview(const base::ListValue* args); base 128 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandlePrint(const base::ListValue* args); base 132 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleHidePreview(const base::ListValue* args); base 135 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleCancelPendingPrintRequest(const base::ListValue* args); base 139 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleSaveAppState(const base::ListValue* args); base 142 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleGetPrinterCapabilities(const base::ListValue* args); base 146 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleShowSystemDialog(const base::ListValue* args); base 153 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleSignin(const base::ListValue* args); base 156 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleGetAccessToken(const base::ListValue* args); base 160 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleManageCloudPrint(const base::ListValue* args); base 164 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleClosePreviewDialog(const base::ListValue* args); base 168 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleManagePrinters(const base::ListValue* args); base 172 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandlePrintWithCloudPrintDialog(const base::ListValue* args); base 176 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleGetInitialSettings(const base::ListValue* args); base 180 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleReportUiEvent(const base::ListValue* args); base 189 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleForceOpenNewTab(const base::ListValue* args); base 191 chrome/browser/ui/webui/print_preview/print_preview_handler.h void HandleGetPrivetPrinterCapabilities(const base::ListValue* arg); base 201 chrome/browser/ui/webui/print_preview/print_preview_handler.h void SendPrinterCapabilities(const base::DictionaryValue* settings_info); base 208 chrome/browser/ui/webui/print_preview/print_preview_handler.h void SetupPrinterList(const base::ListValue* printers); base 214 chrome/browser/ui/webui/print_preview/print_preview_handler.h void SendCloudPrintJob(const base::RefCountedBytes* data); base 238 chrome/browser/ui/webui/print_preview/print_preview_handler.h void GetNumberFormatAndMeasurementSystem(base::DictionaryValue* settings); base 240 chrome/browser/ui/webui/print_preview/print_preview_handler.h bool GetPreviewDataAndTitle(scoped_refptr<base::RefCountedBytes>* data, base 241 chrome/browser/ui/webui/print_preview/print_preview_handler.h base::string16* title) const; base 244 chrome/browser/ui/webui/print_preview/print_preview_handler.h void SaveCUPSColorSetting(const base::DictionaryValue* settings); base 247 chrome/browser/ui/webui/print_preview/print_preview_handler.h base::DictionaryValue* settings) const; base 251 chrome/browser/ui/webui/print_preview/print_preview_handler.h void OnPrivetCapabilities(const base::DictionaryValue* capabilities); base 277 chrome/browser/ui/webui/print_preview/print_preview_handler.h base::DictionaryValue* printer_value); base 302 chrome/browser/ui/webui/print_preview/print_preview_handler.h base::FilePath print_to_pdf_path_; base 327 chrome/browser/ui/webui/print_preview/print_preview_handler.h base::WeakPtrFactory<PrintPreviewHandler> weak_factory_; base 65 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::AutoLock lock(lock_); base 75 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::AutoLock lock(lock_); base 81 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::AutoLock lock(lock_); base 90 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::Lock lock_; base 96 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::LazyInstance<PrintPreviewRequestIdMapWithLock> base 101 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::LazyInstance<IDMap<PrintPreviewUI> > base 129 chrome/browser/ui/webui/print_preview/print_preview_ui.cc scoped_refptr<base::RefCountedBytes> data; base 131 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::SplitString(path, '/', &url_substr); base 135 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::StringToInt(url_substr[0], &preview_ui_id), base 136 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::StringToInt(url_substr[1], &page_index) && base 146 chrome/browser/ui/webui/print_preview/print_preview_ui.cc scoped_refptr<base::RefCountedBytes> empty_bytes(new base::RefCountedBytes); base 212 chrome/browser/ui/webui/print_preview/print_preview_ui.cc const base::string16 shortcut_text(base::UTF8ToUTF16(kAdvancedPrintShortcut)); base 349 chrome/browser/ui/webui/print_preview/print_preview_ui.cc source->SetRequestFilter(base::Bind(&HandleRequestCallback)); base 360 chrome/browser/ui/webui/print_preview/print_preview_ui.cc initial_preview_start_time_(base::TimeTicks::Now()), base 388 chrome/browser/ui/webui/print_preview/print_preview_ui.cc scoped_refptr<base::RefCountedBytes>* data) { base 394 chrome/browser/ui/webui/print_preview/print_preview_ui.cc const base::RefCountedBytes* data) { base 407 chrome/browser/ui/webui/print_preview/print_preview_ui.cc const base::string16& job_title) { base 462 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::TimeTicks::Now() - initial_preview_start_time_); base 476 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::FundamentalValue count(params.page_count); base 477 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::FundamentalValue request_id(params.preview_request_id); base 494 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::DictionaryValue layout; base 508 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::FundamentalValue has_page_size_style(has_custom_page_size_style); base 516 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::FundamentalValue number(page_number); base 517 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::FundamentalValue ui_identifier(id_); base 518 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::FundamentalValue request_id(preview_request_id); base 534 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::TimeTicks::Now() - initial_preview_start_time_); base 540 chrome/browser/ui/webui/print_preview/print_preview_ui.cc initial_preview_start_time_ = base::TimeTicks(); base 542 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::FundamentalValue ui_identifier(id_); base 543 chrome/browser/ui/webui/print_preview/print_preview_ui.cc base::FundamentalValue ui_preview_request_id(preview_request_id); base 20 chrome/browser/ui/webui/print_preview/print_preview_ui.h namespace base { base 41 chrome/browser/ui/webui/print_preview/print_preview_ui.h scoped_refptr<base::RefCountedBytes>* data); base 47 chrome/browser/ui/webui/print_preview/print_preview_ui.h const base::RefCountedBytes* data); base 56 chrome/browser/ui/webui/print_preview/print_preview_ui.h void SetInitiatorTitle(const base::string16& initiator_title); base 58 chrome/browser/ui/webui/print_preview/print_preview_ui.h base::string16 initiator_title() { return initiator_title_; } base 174 chrome/browser/ui/webui/print_preview/print_preview_ui.h base::TimeTicks initial_preview_start_time_; base 194 chrome/browser/ui/webui/print_preview/print_preview_ui.h base::string16 initiator_title_; base 135 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc base::string16 expected_title(base::ASCIIToUTF16("ready")); base 141 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc base::FilePath().AppendASCII("printing"), base 142 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc base::FilePath().AppendASCII("npapi_plugin.html")); base 29 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc base::RefCountedBytes* CreateTestData() { base 33 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc return new base::RefCountedBytes(preview_data); base 87 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc scoped_refptr<base::RefCountedBytes> data; base 93 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc scoped_refptr<base::RefCountedBytes> dummy_data = CreateTestData(); base 105 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc dummy_data = new base::RefCountedBytes(); base 140 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc scoped_refptr<base::RefCountedBytes> data; base 144 chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc scoped_refptr<base::RefCountedBytes> dummy_data = CreateTestData(); base 30 chrome/browser/ui/webui/print_preview/sticky_settings.cc void StickySettings::StoreSavePath(const base::FilePath& path) { base 31 chrome/browser/ui/webui/print_preview/sticky_settings.cc save_path_.reset(new base::FilePath(path)); base 37 chrome/browser/ui/webui/print_preview/sticky_settings.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue); base 50 chrome/browser/ui/webui/print_preview/sticky_settings.cc const base::DictionaryValue* value = base 53 chrome/browser/ui/webui/print_preview/sticky_settings.cc base::FilePath::StringType save_path; base 55 chrome/browser/ui/webui/print_preview/sticky_settings.cc save_path_.reset(new base::FilePath(save_path)); base 73 chrome/browser/ui/webui/print_preview/sticky_settings.cc base::FilePath* StickySettings::save_path() { base 17 chrome/browser/ui/webui/print_preview/sticky_settings.h namespace base { base 36 chrome/browser/ui/webui/print_preview/sticky_settings.h base::FilePath* save_path(); base 42 chrome/browser/ui/webui/print_preview/sticky_settings.h void StoreSavePath(const base::FilePath& path); base 50 chrome/browser/ui/webui/print_preview/sticky_settings.h scoped_ptr<base::FilePath> save_path_; base 71 chrome/browser/ui/webui/profiler_ui.cc base::FilePath base_path; base 72 chrome/browser/ui/webui/profiler_ui.cc PathService::Get(base::DIR_SOURCE_ROOT, &base_path); base 81 chrome/browser/ui/webui/profiler_ui.cc base::FilePath file_path; base 85 chrome/browser/ui/webui/profiler_ui.cc base::ThreadRestrictions::ScopedAllowIO allow; base 87 chrome/browser/ui/webui/profiler_ui.cc if (!base::ReadFileToString(file_path, &file_contents)) base 89 chrome/browser/ui/webui/profiler_ui.cc scoped_refptr<base::RefCountedString> response = base 90 chrome/browser/ui/webui/profiler_ui.cc new base::RefCountedString(); base 124 chrome/browser/ui/webui/profiler_ui.cc void OnGetData(const base::ListValue* list); base 125 chrome/browser/ui/webui/profiler_ui.cc void OnResetData(const base::ListValue* list); base 135 chrome/browser/ui/webui/profiler_ui.cc base::Bind(&ProfilerMessageHandler::OnGetData, base::Unretained(this))); base 137 chrome/browser/ui/webui/profiler_ui.cc base::Bind(&ProfilerMessageHandler::OnResetData, base 138 chrome/browser/ui/webui/profiler_ui.cc base::Unretained(this))); base 141 chrome/browser/ui/webui/profiler_ui.cc void ProfilerMessageHandler::OnGetData(const base::ListValue* list) { base 146 chrome/browser/ui/webui/profiler_ui.cc void ProfilerMessageHandler::OnResetData(const base::ListValue* list) { base 178 chrome/browser/ui/webui/profiler_ui.cc base::DictionaryValue json_data; base 29 chrome/browser/ui/webui/profiler_ui.h base::WeakPtrFactory<ProfilerUI> weak_ptr_factory_; base 32 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc base::Bind(&QuotaInternalsHandler::OnRequestInfo, base 33 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc base::Unretained(this))); base 37 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc scoped_ptr<base::Value> avail( base 38 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc base::Value::CreateDoubleValue(static_cast<double>(available_space))); base 43 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc scoped_ptr<base::Value> value(data.NewValue()); base 49 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc base::ListValue values; base 60 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc base::ListValue origins_value; base 70 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc base::DictionaryValue dict; base 80 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc const base::Value& value) { base 81 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc scoped_ptr<base::Value> message_data(base::Value::CreateStringValue(message)); base 87 chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc void QuotaInternalsHandler::OnRequestInfo(const base::ListValue*) { base 16 chrome/browser/ui/webui/quota_internals/quota_internals_handler.h namespace base { base 45 chrome/browser/ui/webui/quota_internals/quota_internals_handler.h void OnRequestInfo(const base::ListValue*); base 46 chrome/browser/ui/webui/quota_internals/quota_internals_handler.h void SendMessage(const std::string& message, const base::Value& value); base 30 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::RequestInfo, this, quota_manager)); base 36 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::DidGetAvailableSpace, base 40 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::DidGetGlobalQuota, base 45 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::DidGetGlobalUsage, base 51 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::DidGetGlobalUsage, base 57 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::DidGetGlobalUsage, base 62 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::DidDumpQuotaTable, base 66 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::DidDumpOriginInfoTable, base 83 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::func, this, arg)); \ base 223 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.cc base::Bind(&QuotaInternalsProxy::DidGetHostUsage, base 32 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h : public base::RefCountedThreadSafe< base 41 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h friend class base::DeleteHelper<QuotaInternalsProxy>; base 84 chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h base::WeakPtrFactory<QuotaInternalsProxy> weak_factory_; base 40 chrome/browser/ui/webui/quota_internals/quota_internals_types.cc base::Value* GlobalStorageInfo::NewValue() const { base 43 chrome/browser/ui/webui/quota_internals/quota_internals_types.cc base::DictionaryValue* dict = new base::DictionaryValue; base 61 chrome/browser/ui/webui/quota_internals/quota_internals_types.cc base::Value* PerHostStorageInfo::NewValue() const { base 62 chrome/browser/ui/webui/quota_internals/quota_internals_types.cc base::DictionaryValue* dict = new base::DictionaryValue; base 84 chrome/browser/ui/webui/quota_internals/quota_internals_types.cc base::Value* PerOriginStorageInfo::NewValue() const { base 85 chrome/browser/ui/webui/quota_internals/quota_internals_types.cc base::DictionaryValue* dict = new base::DictionaryValue; base 15 chrome/browser/ui/webui/quota_internals/quota_internals_types.h namespace base { base 41 chrome/browser/ui/webui/quota_internals/quota_internals_types.h base::Value* NewValue() const; base 66 chrome/browser/ui/webui/quota_internals/quota_internals_types.h base::Value* NewValue() const; base 89 chrome/browser/ui/webui/quota_internals/quota_internals_types.h void set_last_access_time(base::Time last_access_time) { base 93 chrome/browser/ui/webui/quota_internals/quota_internals_types.h void set_last_modified_time(base::Time last_modified_time) { base 99 chrome/browser/ui/webui/quota_internals/quota_internals_types.h base::Value* NewValue() const; base 107 chrome/browser/ui/webui/quota_internals/quota_internals_types.h base::Time last_access_time_; base 108 chrome/browser/ui/webui/quota_internals/quota_internals_types.h base::Time last_modified_time_; base 101 chrome/browser/ui/webui/set_as_default_browser_ui.cc public base::SupportsWeakPtr<SetAsDefaultBrowserHandler>, base 105 chrome/browser/ui/webui/set_as_default_browser_ui.cc const base::WeakPtr<ResponseDelegate>& response_delegate); base 119 chrome/browser/ui/webui/set_as_default_browser_ui.cc void HandleLaunchSetDefaultBrowserFlow(const base::ListValue* args); base 131 chrome/browser/ui/webui/set_as_default_browser_ui.cc base::WeakPtr<ResponseDelegate> response_delegate_; base 137 chrome/browser/ui/webui/set_as_default_browser_ui.cc const base::WeakPtr<ResponseDelegate>& response_delegate) base 150 chrome/browser/ui/webui/set_as_default_browser_ui.cc base::Bind(&SetAsDefaultBrowserHandler::HandleLaunchSetDefaultBrowserFlow, base 151 chrome/browser/ui/webui/set_as_default_browser_ui.cc base::Unretained(this))); base 185 chrome/browser/ui/webui/set_as_default_browser_ui.cc const base::ListValue* args) { base 208 chrome/browser/ui/webui/set_as_default_browser_ui.cc return (base::win::IsTouchEnabledDevice() && base 227 chrome/browser/ui/webui/set_as_default_browser_ui.cc virtual base::string16 GetDialogTitle() const OVERRIDE; base 256 chrome/browser/ui/webui/set_as_default_browser_ui.cc base::WeakPtrFactory<ResponseDelegate> response_delegate_ptr_factory_; base 296 chrome/browser/ui/webui/set_as_default_browser_ui.cc base::string16 SetAsDefaultBrowserDialogImpl::GetDialogTitle() const { base 336 chrome/browser/ui/webui/set_as_default_browser_ui.cc base::Bind(&SetAsDefaultBrowserDialogImpl:: base 403 chrome/browser/ui/webui/set_as_default_browser_ui.cc base::Bind(&chrome::AttemptRestart)); base 19 chrome/browser/ui/webui/signin/inline_login_handler.cc base::Bind(&InlineLoginHandler::HandleInitializeMessage, base 20 chrome/browser/ui/webui/signin/inline_login_handler.cc base::Unretained(this))); base 22 chrome/browser/ui/webui/signin/inline_login_handler.cc base::Bind(&InlineLoginHandler::HandleCompleteLoginMessage, base 23 chrome/browser/ui/webui/signin/inline_login_handler.cc base::Unretained(this))); base 26 chrome/browser/ui/webui/signin/inline_login_handler.cc void InlineLoginHandler::HandleInitializeMessage(const base::ListValue* args) { base 27 chrome/browser/ui/webui/signin/inline_login_handler.cc base::DictionaryValue params; base 41 chrome/browser/ui/webui/signin/inline_login_handler.cc const base::ListValue* args) { base 31 chrome/browser/ui/webui/signin/inline_login_handler.h void HandleInitializeMessage(const base::ListValue* args); base 34 chrome/browser/ui/webui/signin/inline_login_handler.h void HandleCompleteLoginMessage(const base::ListValue* args); base 36 chrome/browser/ui/webui/signin/inline_login_handler.h virtual void SetExtraInitParams(base::DictionaryValue& params) {} base 37 chrome/browser/ui/webui/signin/inline_login_handler.h virtual void CompleteLogin(const base::ListValue* args) = 0; base 44 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::WeakPtr<InlineLoginHandlerImpl> handler, base 62 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::WeakPtr<InlineLoginHandlerImpl> handler_; base 74 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::WeakPtr<InlineLoginHandlerImpl> handler, base 114 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::MessageLoop::current()->PostTask( base 116 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::Bind(&InlineLoginHandlerImpl::CloseTab, base 146 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::Bind(&InlineLoginHandlerImpl::SyncStarterCallback, base 159 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::Bind(&InlineLoginHandlerImpl::SyncStarterCallback, handler_)); base 163 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 171 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 188 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::Bind(&InlineLoginHandlerImpl::HandleSwitchToFullTabMessage, base 189 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::Unretained(this))); base 192 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc void InlineLoginHandlerImpl::SetExtraInitParams(base::DictionaryValue& params) { base 241 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc const base::ListValue* args) { base 242 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::string16 url_str; base 248 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc main_frame_url, "frameUrl", base::UTF16ToASCII(url_str)); base 258 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc void InlineLoginHandlerImpl::CompleteLogin(const base::ListValue* args) { base 274 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc const base::DictionaryValue* dict = NULL; base 285 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::string16 email; base 288 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc email_ = base::UTF16ToASCII(email); base 289 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::string16 password; base 291 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc password_ = base::UTF16ToASCII(password); base 309 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::string16 session_index; base 311 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc session_index_ = base::UTF16ToASCII(session_index); base 398 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::MessageLoop::current()->PostTask( base 400 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc base::Bind(&InlineLoginHandlerImpl::CloseTab, base 27 chrome/browser/ui/webui/signin/inline_login_handler_impl.h base::WeakPtr<InlineLoginHandlerImpl> GetWeakPtr() { base 39 chrome/browser/ui/webui/signin/inline_login_handler_impl.h virtual void SetExtraInitParams(base::DictionaryValue& params) OVERRIDE; base 40 chrome/browser/ui/webui/signin/inline_login_handler_impl.h virtual void CompleteLogin(const base::ListValue* args) OVERRIDE; base 43 chrome/browser/ui/webui/signin/inline_login_handler_impl.h void HandleSwitchToFullTabMessage(const base::ListValue* args); base 45 chrome/browser/ui/webui/signin/inline_login_handler_impl.h base::WeakPtrFactory<InlineLoginHandlerImpl> weak_factory_; base 76 chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 77 chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html"))); base 99 chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 100 chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title1.html"))); base 102 chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc base::FilePath(base::FilePath::kCurrentDirectory), base 103 chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc base::FilePath(FILE_PATH_LITERAL("data:text/html,Hello world!"))); base 38 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc void OnCancelButtonClicked(const base::ListValue* args); base 39 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc void OnCreateProfileClicked(const base::ListValue* args); base 40 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc void OnContinueButtonClicked(const base::ListValue* args); base 61 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::Bind(&ProfileSigninConfirmationHandler::OnCancelButtonClicked, base 62 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::Unretained(this))); base 65 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::Bind(&ProfileSigninConfirmationHandler::OnCreateProfileClicked, base 66 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::Unretained(this))); base 69 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::Bind(&ProfileSigninConfirmationHandler::OnContinueButtonClicked, base 70 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::Unretained(this))); base 74 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc const base::ListValue* args) { base 81 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc const base::ListValue* args) { base 87 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc const base::ListValue* args) { base 145 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::Bind(&ProfileSigninConfirmationDialog::Show, base 146 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::Unretained(dialog))); base 164 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::string16 ProfileSigninConfirmationDialog::GetDialogTitle() const { base 192 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::DictionaryValue dict; base 198 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc base::JSONWriter::Write(&dict, &data); base 56 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 66 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc void HandleAndDoNothing(const base::ListValue* args) { base 92 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::MessageLoop::current()->PostTask( base 94 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&chrome::HideUserManager)); base 118 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::string16& email, base 119 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::string16& name) { base 154 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE { base 159 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::FilePath& profile_path, base 160 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::string16& profile_name) OVERRIDE { base 167 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::FilePath& profile_path, base 168 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::string16& old_profile_name) OVERRIDE { base 173 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::FilePath& profile_path) OVERRIDE { base 178 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::FilePath& profile_path) OVERRIDE { base 201 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc void UserManagerScreenHandler::HandleInitialize(const base::ListValue* args) { base 208 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc void UserManagerScreenHandler::HandleAddUser(const base::ListValue* args) { base 210 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&OnSwitchToProfileComplete), base 215 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::ListValue* args) { base 216 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::string16 email_address; base 220 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::string16 display_name; base 262 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc void UserManagerScreenHandler::HandleRemoveUser(const base::ListValue* args) { base 264 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc const base::Value* profile_path_value; base 268 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::FilePath profile_path; base 269 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc if (!base::GetValueAsFilePath(*profile_path_value, &profile_path)) base 282 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&OpenNewWindowForProfile, desktop_type_)); base 286 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc void UserManagerScreenHandler::HandleLaunchGuest(const base::ListValue* args) { base 288 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&OnSwitchToProfileComplete)); base 292 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc void UserManagerScreenHandler::HandleLaunchUser(const base::ListValue* args) { base 293 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::string16 email_address; base 294 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::string16 display_name; base 321 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::FilePath path = info_cache.GetPathOfProfileAtIndex(profile_index); base 325 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&OnSwitchToProfileComplete), base 354 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&UserManagerScreenHandler::HandleInitialize, base 355 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Unretained(this))); base 357 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&UserManagerScreenHandler::HandleAddUser, base 358 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Unretained(this))); base 360 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&UserManagerScreenHandler::HandleAuthenticatedLaunchUser, base 361 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Unretained(this))); base 363 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&UserManagerScreenHandler::HandleLaunchGuest, base 364 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Unretained(this))); base 366 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&UserManagerScreenHandler::HandleLaunchUser, base 367 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Unretained(this))); base 369 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&UserManagerScreenHandler::HandleRemoveUser, base 370 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Unretained(this))); base 373 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&HandleAndDoNothing); base 389 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::DictionaryValue* localized_strings) { base 467 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc localized_strings->SetString("publicAccountReminder", base::string16()); base 468 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc localized_strings->SetString("publicAccountEnter", base::string16()); base 470 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::string16()); base 472 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::string16()); base 473 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc localized_strings->SetString("signinBannerText", base::string16()); base 474 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc localized_strings->SetString("launchAppButton", base::string16()); base 476 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::string16()); base 478 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::string16()); base 480 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::string16()); base 484 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::ListValue users_list; base 485 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::FilePath active_profile_path = base 494 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::DictionaryValue* profile_value = new base::DictionaryValue(); base 496 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::FilePath profile_path = info_cache.GetPathOfProfileAtIndex(i); base 525 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc users_list, base::FundamentalValue(false), base::FundamentalValue(true)); base 539 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::FilePath path = info_cache.GetPathOfProfileAtIndex( base 542 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::Bind(&OnSwitchToProfileComplete), base 547 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::FundamentalValue(0), base 548 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::StringValue( base 550 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::StringValue(""), base 551 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc base::FundamentalValue(0)); base 17 chrome/browser/ui/webui/signin/user_manager_screen_handler.h namespace base { base 32 chrome/browser/ui/webui/signin/user_manager_screen_handler.h void GetLocalizedValues(base::DictionaryValue* localized_strings); base 39 chrome/browser/ui/webui/signin/user_manager_screen_handler.h void HandleInitialize(const base::ListValue* args); base 40 chrome/browser/ui/webui/signin/user_manager_screen_handler.h void HandleAddUser(const base::ListValue* args); base 41 chrome/browser/ui/webui/signin/user_manager_screen_handler.h void HandleAuthenticatedLaunchUser(const base::ListValue* args); base 42 chrome/browser/ui/webui/signin/user_manager_screen_handler.h void HandleLaunchGuest(const base::ListValue* args); base 43 chrome/browser/ui/webui/signin/user_manager_screen_handler.h void HandleLaunchUser(const base::ListValue* args); base 44 chrome/browser/ui/webui/signin/user_manager_screen_handler.h void HandleRemoveUser(const base::ListValue* args); base 29 chrome/browser/ui/webui/signin/user_manager_ui.cc base::DictionaryValue localized_strings; base 47 chrome/browser/ui/webui/signin/user_manager_ui.cc const base::DictionaryValue& localized_strings) { base 61 chrome/browser/ui/webui/signin/user_manager_ui.cc base::DictionaryValue* localized_strings) { base 12 chrome/browser/ui/webui/signin/user_manager_ui.h namespace base { base 27 chrome/browser/ui/webui/signin/user_manager_ui.h const base::DictionaryValue& localized_strings); base 28 chrome/browser/ui/webui/signin/user_manager_ui.h void GetLocalizedStrings(base::DictionaryValue* localized_strings); base 44 chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc base::string16 title = web_contents->GetTitle(); base 58 chrome/browser/ui/webui/signin_internals_ui.cc const base::ListValue& content) { base 83 chrome/browser/ui/webui/signin_internals_ui.cc scoped_ptr<base::DictionaryValue> info) { base 26 chrome/browser/ui/webui/signin_internals_ui.h const base::ListValue& args) OVERRIDE; base 30 chrome/browser/ui/webui/signin_internals_ui.h scoped_ptr<base::DictionaryValue> info) OVERRIDE; base 38 chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.cc base::Bind(&SuggestionsInternalsUIHandler::HandleGetSuggestions, base 39 chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.cc base::Unretained(this))); base 43 chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.cc const base::ListValue* one_element_input_string) { base 14 chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h namespace base { base 33 chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h void HandleGetSuggestions(const base::ListValue* one_element_input_string); base 24 chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.cc base::Bind(&DumpDatabaseHandler::GetDatabaseDump, base 25 chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.cc base::Unretained(this))); base 28 chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.cc void DumpDatabaseHandler::GetDatabaseDump(const base::ListValue* args) { base 29 chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.cc scoped_ptr<base::ListValue> list; base 35 chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.cc list.reset(new base::ListValue); base 24 chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.h void GetDatabaseDump(const base::ListValue* args); base 35 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc base::Bind(&ExtensionStatusesHandler::GetExtensionStatuses, base 36 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc base::Unretained(this))); base 42 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc base::ListValue* values) { base 65 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc base::DictionaryValue* dict = new base::DictionaryValue; base 74 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc const base::ListValue* args) { base 76 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc base::ListValue list; base 27 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.h base::ListValue* values); base 33 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.h void GetExtensionStatuses(const base::ListValue* args); base 37 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc base::Bind(&FileMetadataHandler::GetExtensions, base 38 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc base::Unretained(this))); base 41 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc base::Bind(&FileMetadataHandler::GetFileMetadata, base 42 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc base::Unretained(this))); base 46 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc const base::ListValue* args) { base 64 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc base::Bind(&FileMetadataHandler::DidGetFileMetadata, base 68 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc void FileMetadataHandler::GetExtensions(const base::ListValue* args) { base 70 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc base::ListValue list; base 75 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc void FileMetadataHandler::DidGetFileMetadata(const base::ListValue* files) { base 32 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.h void GetExtensions(const base::ListValue* args); base 34 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.h void GetFileMetadata(const base::ListValue* args); base 35 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.h void DidGetFileMetadata(const base::ListValue* files); base 38 chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.h base::WeakPtrFactory<FileMetadataHandler> weak_factory_; base 47 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::Bind(&SyncFileSystemInternalsHandler::GetServiceStatus, base 48 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::Unretained(this))); base 51 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::Bind(&SyncFileSystemInternalsHandler::GetLog, base 52 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::Unretained(this))); base 55 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::Bind(&SyncFileSystemInternalsHandler::ClearLogs, base 56 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::Unretained(this))); base 59 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::Bind(&SyncFileSystemInternalsHandler::GetNotificationSource, base 60 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::Unretained(this))); base 75 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::StringValue(state_string)); base 85 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc const base::ListValue* args) { base 94 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::StringValue(state_string)); base 98 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc const base::ListValue* args) { base 106 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::StringValue(notification_source)); base 110 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc const base::ListValue* args) { base 119 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::ListValue list; base 126 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc base::DictionaryValue* dict = new base::DictionaryValue; base 140 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc void SyncFileSystemInternalsHandler::ClearLogs(const base::ListValue* args) { base 42 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.h void GetServiceStatus(const base::ListValue* args); base 43 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.h void GetNotificationSource(const base::ListValue* args); base 44 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.h void GetLog(const base::ListValue* args); base 45 chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.h void ClearLogs(const base::ListValue* args); base 46 chrome/browser/ui/webui/sync_internals_message_handler.cc base::Bind(&SyncInternalsMessageHandler::HandleRegisterForEvents, base 47 chrome/browser/ui/webui/sync_internals_message_handler.cc base::Unretained(this))); base 51 chrome/browser/ui/webui/sync_internals_message_handler.cc base::Bind(&SyncInternalsMessageHandler::HandleRequestUpdatedAboutInfo, base 52 chrome/browser/ui/webui/sync_internals_message_handler.cc base::Unretained(this))); base 56 chrome/browser/ui/webui/sync_internals_message_handler.cc base::Bind(&SyncInternalsMessageHandler::HandleRequestListOfTypes, base 57 chrome/browser/ui/webui/sync_internals_message_handler.cc base::Unretained(this))); base 63 chrome/browser/ui/webui/sync_internals_message_handler.cc const base::ListValue* args) { base 76 chrome/browser/ui/webui/sync_internals_message_handler.cc const base::ListValue* args) { base 82 chrome/browser/ui/webui/sync_internals_message_handler.cc const base::ListValue* args) { base 84 chrome/browser/ui/webui/sync_internals_message_handler.cc base::DictionaryValue event_details; base 85 chrome/browser/ui/webui/sync_internals_message_handler.cc scoped_ptr<base::ListValue> type_list(new base::ListValue()); base 89 chrome/browser/ui/webui/sync_internals_message_handler.cc type_list->Append(new base::StringValue(ModelTypeToString(it.Get()))); base 94 chrome/browser/ui/webui/sync_internals_message_handler.cc base::StringValue("onReceivedListOfTypes"), base 103 chrome/browser/ui/webui/sync_internals_message_handler.cc std::vector<const base::Value*> arg_list(args.Get().begin(), base 114 chrome/browser/ui/webui/sync_internals_message_handler.cc scoped_ptr<base::DictionaryValue> value( base 118 chrome/browser/ui/webui/sync_internals_message_handler.cc base::StringValue("onProtocolEvent"), base 128 chrome/browser/ui/webui/sync_internals_message_handler.cc base::StringValue(name), base 136 chrome/browser/ui/webui/sync_internals_message_handler.cc base::Bind(&SyncInternalsMessageHandler::ForwardToJsController, base 137 chrome/browser/ui/webui/sync_internals_message_handler.cc base::Unretained(this), base 142 chrome/browser/ui/webui/sync_internals_message_handler.cc scoped_ptr<base::DictionaryValue> value = base 146 chrome/browser/ui/webui/sync_internals_message_handler.cc base::StringValue("onAboutInfoUpdated"), base 152 chrome/browser/ui/webui/sync_internals_message_handler.cc const base::ListValue* args) { base 154 chrome/browser/ui/webui/sync_internals_message_handler.cc scoped_ptr<base::ListValue> args_copy(args->DeepCopy()); base 38 chrome/browser/ui/webui/sync_internals_message_handler.h void ForwardToJsController(const std::string& name, const base::ListValue*); base 41 chrome/browser/ui/webui/sync_internals_message_handler.h void HandleRegisterForEvents(const base::ListValue* args); base 44 chrome/browser/ui/webui/sync_internals_message_handler.h void HandleRequestUpdatedAboutInfo(const base::ListValue* args); base 47 chrome/browser/ui/webui/sync_internals_message_handler.h void HandleRequestListOfTypes(const base::ListValue* args); base 75 chrome/browser/ui/webui/sync_internals_message_handler.h base::WeakPtr<syncer::JsController> js_controller_; base 76 chrome/browser/ui/webui/sync_internals_message_handler.h base::WeakPtrFactory<SyncInternalsMessageHandler> weak_ptr_factory_; base 24 chrome/browser/ui/webui/sync_internals_ui_unittest.cc using base::ASCIIToUTF16; base 120 chrome/browser/ui/webui/sync_setup_handler.cc scoped_ptr<base::Value> parsed_value(base::JSONReader::Read(json)); base 121 chrome/browser/ui/webui/sync_setup_handler.cc base::DictionaryValue* result; base 198 chrome/browser/ui/webui/sync_setup_handler.cc base::DictionaryValue* localized_strings) { base 203 chrome/browser/ui/webui/sync_setup_handler.cc base::DictionaryValue* localized_strings, base 207 chrome/browser/ui/webui/sync_setup_handler.cc base::string16 product_name(GetStringUTF16(IDS_PRODUCT_NAME)); base 222 chrome/browser/ui/webui/sync_setup_handler.cc base::ASCIIToUTF16( base 229 chrome/browser/ui/webui/sync_setup_handler.cc base::ASCIIToUTF16(google_util::StringAppendGoogleLocaleParam( base 340 chrome/browser/ui/webui/sync_setup_handler.cc base::DictionaryValue args; base 372 chrome/browser/ui/webui/sync_setup_handler.cc base::Time passphrase_time = service->GetExplicitPassphraseTime(); base 375 chrome/browser/ui/webui/sync_setup_handler.cc base::string16 passphrase_time_str = base 376 chrome/browser/ui/webui/sync_setup_handler.cc base::TimeFormatShortDate(passphrase_time); base 414 chrome/browser/ui/webui/sync_setup_handler.cc base::StringValue page("configure"); base 424 chrome/browser/ui/webui/sync_setup_handler.cc base::StringValue page("done"); base 436 chrome/browser/ui/webui/sync_setup_handler.cc base::FilePath profile_file_path = GetProfile()->GetPath(); base 456 chrome/browser/ui/webui/sync_setup_handler.cc base::Bind(&SyncSetupHandler::OnDidClosePage, base 457 chrome/browser/ui/webui/sync_setup_handler.cc base::Unretained(this))); base 460 chrome/browser/ui/webui/sync_setup_handler.cc base::Bind(&SyncSetupHandler::HandleConfigure, base 461 chrome/browser/ui/webui/sync_setup_handler.cc base::Unretained(this))); base 464 chrome/browser/ui/webui/sync_setup_handler.cc base::Bind(&SyncSetupHandler::HandleShowSetupUI, base 465 chrome/browser/ui/webui/sync_setup_handler.cc base::Unretained(this))); base 467 chrome/browser/ui/webui/sync_setup_handler.cc base::Bind(&SyncSetupHandler::HandleCloseTimeout, base 468 chrome/browser/ui/webui/sync_setup_handler.cc base::Unretained(this))); base 472 chrome/browser/ui/webui/sync_setup_handler.cc base::Bind(&SyncSetupHandler::HandleDoSignOutOnAuthError, base 473 chrome/browser/ui/webui/sync_setup_handler.cc base::Unretained(this))); base 476 chrome/browser/ui/webui/sync_setup_handler.cc base::Bind(&SyncSetupHandler::HandleStopSyncing, base 477 chrome/browser/ui/webui/sync_setup_handler.cc base::Unretained(this))); base 479 chrome/browser/ui/webui/sync_setup_handler.cc base::Bind(&SyncSetupHandler::HandleStartSignin, base 480 chrome/browser/ui/webui/sync_setup_handler.cc base::Unretained(this))); base 549 chrome/browser/ui/webui/sync_setup_handler.cc base::StringValue page("spinner"); base 550 chrome/browser/ui/webui/sync_setup_handler.cc base::DictionaryValue args; base 554 chrome/browser/ui/webui/sync_setup_handler.cc backend_start_timer_.reset(new base::OneShotTimer<SyncSetupHandler>()); base 556 chrome/browser/ui/webui/sync_setup_handler.cc base::TimeDelta::FromSeconds(kTimeoutSec), base 572 chrome/browser/ui/webui/sync_setup_handler.cc base::StringValue page("timeout"); base 573 chrome/browser/ui/webui/sync_setup_handler.cc base::DictionaryValue args; base 578 chrome/browser/ui/webui/sync_setup_handler.cc void SyncSetupHandler::OnDidClosePage(const base::ListValue* args) { base 611 chrome/browser/ui/webui/sync_setup_handler.cc void SyncSetupHandler::HandleConfigure(const base::ListValue* args) { base 729 chrome/browser/ui/webui/sync_setup_handler.cc void SyncSetupHandler::HandleShowSetupUI(const base::ListValue* args) { base 764 chrome/browser/ui/webui/sync_setup_handler.cc void SyncSetupHandler::HandleDoSignOutOnAuthError(const base::ListValue* args) { base 771 chrome/browser/ui/webui/sync_setup_handler.cc void SyncSetupHandler::HandleStartSignin(const base::ListValue* args) { base 778 chrome/browser/ui/webui/sync_setup_handler.cc void SyncSetupHandler::HandleStopSyncing(const base::ListValue* args) { base 785 chrome/browser/ui/webui/sync_setup_handler.cc void SyncSetupHandler::HandleCloseTimeout(const base::ListValue* args) { base 897 chrome/browser/ui/webui/sync_setup_handler.cc base::StringValue page("done"); base 33 chrome/browser/ui/webui/sync_setup_handler.h virtual void GetLocalizedValues(base::DictionaryValue* localized_strings) base 46 chrome/browser/ui/webui/sync_setup_handler.h base::DictionaryValue* localized_strings, base 106 chrome/browser/ui/webui/sync_setup_handler.h void OnDidClosePage(const base::ListValue* args); base 107 chrome/browser/ui/webui/sync_setup_handler.h void HandleConfigure(const base::ListValue* args); base 108 chrome/browser/ui/webui/sync_setup_handler.h void HandlePassphraseEntry(const base::ListValue* args); base 109 chrome/browser/ui/webui/sync_setup_handler.h void HandlePassphraseCancel(const base::ListValue* args); base 110 chrome/browser/ui/webui/sync_setup_handler.h void HandleShowSetupUI(const base::ListValue* args); base 111 chrome/browser/ui/webui/sync_setup_handler.h void HandleDoSignOutOnAuthError(const base::ListValue* args); base 112 chrome/browser/ui/webui/sync_setup_handler.h void HandleStartSignin(const base::ListValue* args); base 113 chrome/browser/ui/webui/sync_setup_handler.h void HandleStopSyncing(const base::ListValue* args); base 114 chrome/browser/ui/webui/sync_setup_handler.h void HandleCloseTimeout(const base::ListValue* args); base 163 chrome/browser/ui/webui/sync_setup_handler.h scoped_ptr<base::OneShotTimer<SyncSetupHandler> > backend_start_timer_; base 72 chrome/browser/ui/webui/sync_setup_handler_unittest.cc std::string GetConfiguration(const base::DictionaryValue* extra_values, base 77 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue result; base 97 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::JSONWriter::Write(&result, &args); base 104 chrome/browser/ui/webui/sync_setup_handler_unittest.cc void CheckBool(const base::DictionaryValue* dictionary, base 120 chrome/browser/ui/webui/sync_setup_handler_unittest.cc void CheckBool(const base::DictionaryValue* dictionary, base 129 chrome/browser/ui/webui/sync_setup_handler_unittest.cc void CheckConfigDataTypeArguments(base::DictionaryValue* dictionary, base 175 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg1) OVERRIDE { base 182 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg1, base 183 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg2) OVERRIDE { base 200 chrome/browser/ui/webui/sync_setup_handler_unittest.cc virtual const base::string16& GetOverriddenTitle() const OVERRIDE { base 203 chrome/browser/ui/webui/sync_setup_handler_unittest.cc virtual void OverrideTitle(const base::string16& title) OVERRIDE {} base 221 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::ListValue& args) OVERRIDE {} base 223 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg1, base 224 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg2, base 225 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg3) OVERRIDE {} base 227 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg1, base 228 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg2, base 229 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg3, base 230 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const base::Value& arg4) OVERRIDE {} base 233 chrome/browser/ui/webui/sync_setup_handler_unittest.cc const std::vector<const base::Value*>& args) OVERRIDE {} base 239 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::Value* arg1; base 240 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::Value* arg2; base 245 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::string16 temp_string_; base 304 chrome/browser/ui/webui/sync_setup_handler_unittest.cc Return(base::Time())); base 306 chrome/browser/ui/webui/sync_setup_handler_unittest.cc Return(base::Time())); base 513 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue* dictionary; base 637 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::ListValue list_args; base 638 chrome/browser/ui/webui/sync_setup_handler_unittest.cc list_args.Append(new base::StringValue(args)); base 655 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::ListValue list_args; base 656 chrome/browser/ui/webui/sync_setup_handler_unittest.cc list_args.Append(new base::StringValue(args)); base 670 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::ListValue list_args; base 671 chrome/browser/ui/webui/sync_setup_handler_unittest.cc list_args.Append(new base::StringValue(args)); base 689 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::ListValue list_args; base 690 chrome/browser/ui/webui/sync_setup_handler_unittest.cc list_args.Append(new base::StringValue(args)); base 708 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue dict; base 715 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::ListValue list_args; base 716 chrome/browser/ui/webui/sync_setup_handler_unittest.cc list_args.Append(new base::StringValue(args)); base 735 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue dict; base 742 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::ListValue list_args; base 743 chrome/browser/ui/webui/sync_setup_handler_unittest.cc list_args.Append(new base::StringValue(args)); base 762 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue dict; base 769 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::ListValue list_args; base 770 chrome/browser/ui/webui/sync_setup_handler_unittest.cc list_args.Append(new base::StringValue(args)); base 791 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue* dictionary; base 809 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::ListValue list_args; base 810 chrome/browser/ui/webui/sync_setup_handler_unittest.cc list_args.Append(new base::StringValue(args)); base 832 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::ListValue list_args; base 833 chrome/browser/ui/webui/sync_setup_handler_unittest.cc list_args.Append(new base::StringValue(args)); base 916 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue* dictionary; base 950 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue* dictionary; base 980 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue* dictionary; base 1002 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue* dictionary; base 1024 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue* dictionary; base 1046 chrome/browser/ui/webui/sync_setup_handler_unittest.cc base::DictionaryValue* dictionary; base 75 chrome/browser/ui/webui/system_info_ui.cc base::WeakPtrFactory<SystemInfoUIHTMLSource> weak_ptr_factory_; base 81 chrome/browser/ui/webui/system_info_ui.cc public base::SupportsWeakPtr<SystemInfoHandler> { base 114 chrome/browser/ui/webui/system_info_ui.cc fetcher->Fetch(base::Bind(&SystemInfoUIHTMLSource::SysInfoComplete, base 126 chrome/browser/ui/webui/system_info_ui.cc base::DictionaryValue strings; base 147 chrome/browser/ui/webui/system_info_ui.cc base::ListValue* details = new base::ListValue(); base 152 chrome/browser/ui/webui/system_info_ui.cc base::DictionaryValue* val = new base::DictionaryValue; base 158 chrome/browser/ui/webui/system_info_ui.cc static const base::StringPiece systeminfo_html( base 163 chrome/browser/ui/webui/system_info_ui.cc callback_.Run(base::RefCountedString::TakeString(&full_html)); base 42 chrome/browser/ui/webui/theme_handler.cc base::FundamentalValue attribution( base 102 chrome/browser/ui/webui/theme_source.cc base::MessageLoop* ThemeSource::MessageLoopForRequestPath( base 146 chrome/browser/ui/webui/theme_source.cc scoped_refptr<base::RefCountedMemory> image_data(tp->GetRawData( base 17 chrome/browser/ui/webui/theme_source.h namespace base { base 34 chrome/browser/ui/webui/theme_source.h virtual base::MessageLoop* MessageLoopForRequestPath( base 51 chrome/browser/ui/webui/theme_source.h scoped_refptr<base::RefCountedMemory> css_bytes_; base 22 chrome/browser/ui/webui/theme_source_unittest.cc ui_thread_(BrowserThread::UI, base::MessageLoop::current()) {} base 38 chrome/browser/ui/webui/theme_source_unittest.cc callback_ = base::Bind(&WebUISourcesTest::SendResponse, base 39 chrome/browser/ui/webui/theme_source_unittest.cc base::Unretained(this)); base 47 chrome/browser/ui/webui/theme_source_unittest.cc void SendResponse(base::RefCountedMemory* data) { base 53 chrome/browser/ui/webui/theme_source_unittest.cc base::MessageLoop loop_; base 80 chrome/browser/ui/webui/theme_source_unittest.cc base::MessageLoop::current()); base 37 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::Bind(&TranslateInternalsHandler::OnTranslateError, base 38 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::Unretained(this))); base 47 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc event_subscription_ = language_list->RegisterEventCallback(base::Bind( base 48 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc &TranslateInternalsHandler::OnTranslateEvent, base::Unretained(this))); base 57 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc web_ui()->RegisterMessageCallback("removePrefItem", base::Bind( base 58 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc &TranslateInternalsHandler::OnRemovePrefItem, base::Unretained(this))); base 59 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc web_ui()->RegisterMessageCallback("requestInfo", base::Bind( base 60 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc &TranslateInternalsHandler::OnRequestInfo, base::Unretained(this))); base 78 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::DictionaryValue dict; base 81 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::FundamentalValue(language_detection_details->time.ToJsTime())); base 83 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::StringValue(language_detection_details->url.spec())); base 85 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::StringValue(language_detection_details->content_language)); base 87 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::StringValue(language_detection_details->cld_language)); base 90 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::FundamentalValue(language_detection_details->is_cld_reliable)); base 93 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::StringValue(language_detection_details->html_root_language)); base 95 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::StringValue(language_detection_details->adopted_language)); base 97 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::StringValue(language_detection_details->contents)); base 103 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::DictionaryValue dict; base 105 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::FundamentalValue(details.time.ToJsTime())); base 107 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::StringValue(details.url.spec())); base 109 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::FundamentalValue(details.error)); base 115 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::DictionaryValue dict; base 116 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc dict.Set("time", new base::FundamentalValue(details.time.ToJsTime())); base 117 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc dict.Set("filename", new base::StringValue(details.filename)); base 118 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc dict.Set("line", new base::FundamentalValue(details.line)); base 119 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc dict.Set("message", new base::StringValue(details.message)); base 123 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc void TranslateInternalsHandler::OnRemovePrefItem(const base::ListValue* args) { base 164 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc void TranslateInternalsHandler::OnRequestInfo(const base::ListValue* /*args*/) { base 170 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc const base::Value& value) { base 172 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::StringValue message_data(message); base 182 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::DictionaryValue dict; base 206 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::DictionaryValue dict; base 210 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::Time last_updated = base 213 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::ListValue* languages_list = new base::ListValue(); base 214 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc base::ListValue* alpha_languages_list = new base::ListValue(); base 218 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc languages_list->Append(new base::StringValue(lang)); base 220 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc alpha_languages_list->Append(new base::StringValue(lang)); base 226 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::FundamentalValue(last_updated.ToJsTime())); base 23 chrome/browser/ui/webui/translate_internals/translate_internals_handler.h namespace base { base 58 chrome/browser/ui/webui/translate_internals/translate_internals_handler.h void OnRemovePrefItem(const base::ListValue* args); base 64 chrome/browser/ui/webui/translate_internals/translate_internals_handler.h void OnRequestInfo(const base::ListValue* args); base 67 chrome/browser/ui/webui/translate_internals/translate_internals_handler.h void SendMessageToJs(const std::string& message, const base::Value& value); base 30 chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc void GetLanguages(base::DictionaryValue* dict) { base 40 chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc base::string16 lang_name = base 54 chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc base::DictionaryValue langs; base 56 chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc for (base::DictionaryValue::Iterator it(langs); !it.IsAtEnd(); it.Advance()) { base 28 chrome/browser/ui/webui/uber/uber_ui.cc using base::ASCIIToUTF16; base 181 chrome/browser/ui/webui/uber/uber_ui.cc const base::ListValue& args) { base 230 chrome/browser/ui/webui/uber/uber_ui.cc base::StringValue(chrome::kChromeUIHistoryHost), base 231 chrome/browser/ui/webui/uber/uber_ui.cc base::StringValue(overrides_history ? "yes" : "no")); base 30 chrome/browser/ui/webui/uber/uber_ui.h const base::ListValue& args) OVERRIDE; base 13 chrome/browser/ui/webui/user_actions/user_actions_ui_handler.cc : action_callback_(base::Bind(&UserActionsUIHandler::OnUserAction, base 14 chrome/browser/ui/webui/user_actions/user_actions_ui_handler.cc base::Unretained(this))) { base 15 chrome/browser/ui/webui/user_actions/user_actions_ui_handler.cc base::AddActionCallback(action_callback_); base 19 chrome/browser/ui/webui/user_actions/user_actions_ui_handler.cc base::RemoveActionCallback(action_callback_); base 25 chrome/browser/ui/webui/user_actions/user_actions_ui_handler.cc base::StringValue user_action_name(action); base 26 chrome/browser/ui/webui/user_actions/user_actions_ui_handler.h base::ActionCallback action_callback_; base 25 chrome/browser/ui/webui/version_handler.cc void GetFilePaths(const base::FilePath& profile_path, base 26 chrome/browser/ui/webui/version_handler.cc base::string16* exec_path_out, base 27 chrome/browser/ui/webui/version_handler.cc base::string16* profile_path_out) { base 30 chrome/browser/ui/webui/version_handler.cc base::FilePath executable_path = base::MakeAbsoluteFilePath( base 39 chrome/browser/ui/webui/version_handler.cc base::FilePath profile_path_copy(base::MakeAbsoluteFilePath(profile_path)); base 60 chrome/browser/ui/webui/version_handler.cc base::Bind(&VersionHandler::HandleRequestVersionInfo, base 61 chrome/browser/ui/webui/version_handler.cc base::Unretained(this))); base 64 chrome/browser/ui/webui/version_handler.cc void VersionHandler::HandleRequestVersionInfo(const base::ListValue* args) { base 69 chrome/browser/ui/webui/version_handler.cc base::Bind(&VersionHandler::OnGotPlugins, base 75 chrome/browser/ui/webui/version_handler.cc base::string16* exec_path_buffer = new base::string16; base 76 chrome/browser/ui/webui/version_handler.cc base::string16* profile_path_buffer = new base::string16; base 79 chrome/browser/ui/webui/version_handler.cc base::Bind(&GetFilePaths, Profile::FromWebUI(web_ui())->GetPath(), base 80 chrome/browser/ui/webui/version_handler.cc base::Unretained(exec_path_buffer), base 81 chrome/browser/ui/webui/version_handler.cc base::Unretained(profile_path_buffer)), base 82 chrome/browser/ui/webui/version_handler.cc base::Bind(&VersionHandler::OnGotFilePaths, base 84 chrome/browser/ui/webui/version_handler.cc base::Owned(exec_path_buffer), base 85 chrome/browser/ui/webui/version_handler.cc base::Owned(profile_path_buffer))); base 90 chrome/browser/ui/webui/version_handler.cc base::FieldTrial::ActiveGroups active_groups; base 91 chrome/browser/ui/webui/version_handler.cc base::FieldTrialList::GetActiveFieldTrialGroups(&active_groups); base 99 chrome/browser/ui/webui/version_handler.cc base::ReplaceChars(line, "-", kNonBreakingHyphenUTF8String, &line); base 107 chrome/browser/ui/webui/version_handler.cc base::ListValue variations_list; base 110 chrome/browser/ui/webui/version_handler.cc variations_list.Append(base::Value::CreateStringValue(*it)); base 117 chrome/browser/ui/webui/version_handler.cc void VersionHandler::OnGotFilePaths(base::string16* executable_path_data, base 118 chrome/browser/ui/webui/version_handler.cc base::string16* profile_path_data) { base 121 chrome/browser/ui/webui/version_handler.cc base::StringValue exec_path(*executable_path_data); base 122 chrome/browser/ui/webui/version_handler.cc base::StringValue profile_path(*profile_path_data); base 133 chrome/browser/ui/webui/version_handler.cc base::string16 flash_version = base 146 chrome/browser/ui/webui/version_handler.cc base::StringValue arg(flash_version); base 27 chrome/browser/ui/webui/version_handler.h virtual void HandleRequestVersionInfo(const base::ListValue* args); base 32 chrome/browser/ui/webui/version_handler.h void OnGotFilePaths(base::string16* executable_path_data, base 33 chrome/browser/ui/webui/version_handler.h base::string16* profile_path_data); base 40 chrome/browser/ui/webui/version_handler.h base::WeakPtrFactory<VersionHandler> weak_ptr_factory_; base 17 chrome/browser/ui/webui/version_handler_chromeos.cc const base::ListValue* args) { base 21 chrome/browser/ui/webui/version_handler_chromeos.cc base::Bind(&VersionHandlerChromeOS::OnVersion, base::Unretained(this)), base 29 chrome/browser/ui/webui/version_handler_chromeos.cc base::StringValue arg(version); base 21 chrome/browser/ui/webui/version_handler_chromeos.h virtual void HandleRequestVersionInfo(const base::ListValue* args) OVERRIDE; base 31 chrome/browser/ui/webui/version_handler_chromeos.h base::CancelableTaskTracker tracker_; base 62 chrome/browser/ui/webui/version_ui.cc base::android::BuildInfo* android_build_info = base 63 chrome/browser/ui/webui/version_ui.cc base::android::BuildInfo::GetInstance(); base 83 chrome/browser/ui/webui/version_ui.cc base::Time::Exploded exploded_time; base 84 chrome/browser/ui/webui/version_ui.cc base::Time::Now().LocalExplode(&exploded_time); base 88 chrome/browser/ui/webui/version_ui.cc base::IntToString16(exploded_time.year))); base 100 chrome/browser/ui/webui/version_ui.cc html_source->AddString("command_line", base::WideToUTF16( base 68 chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc GURL(), base::Time::Now(), 0, 0, GURL(), history::RedirectList(), base 31 chrome/browser/ui/webui/web_ui_test_handler.cc void WebUITestHandler::PreloadJavaScript(const base::string16& js_text, base 38 chrome/browser/ui/webui/web_ui_test_handler.cc void WebUITestHandler::RunJavaScript(const base::string16& js_text) { base 43 chrome/browser/ui/webui/web_ui_test_handler.cc const base::string16& js_text) { base 48 chrome/browser/ui/webui/web_ui_test_handler.cc base::Bind(&WebUITestHandler::JavaScriptComplete, base 49 chrome/browser/ui/webui/web_ui_test_handler.cc base::Unretained(this))); base 55 chrome/browser/ui/webui/web_ui_test_handler.cc base::Bind(&WebUITestHandler::HandleTestResult, base::Unretained(this))); base 58 chrome/browser/ui/webui/web_ui_test_handler.cc void WebUITestHandler::HandleTestResult(const base::ListValue* test_result) { base 62 chrome/browser/ui/webui/web_ui_test_handler.cc base::MessageLoopForUI::current()->Quit(); base 78 chrome/browser/ui/webui/web_ui_test_handler.cc void WebUITestHandler::JavaScriptComplete(const base::Value* result) { base 82 chrome/browser/ui/webui/web_ui_test_handler.cc base::MessageLoopForUI::current()->Quit(); base 12 chrome/browser/ui/webui/web_ui_test_handler.h namespace base { base 28 chrome/browser/ui/webui/web_ui_test_handler.h void PreloadJavaScript(const base::string16& js_text, base 32 chrome/browser/ui/webui/web_ui_test_handler.h void RunJavaScript(const base::string16& js_text); base 36 chrome/browser/ui/webui/web_ui_test_handler.h bool RunJavaScriptTestWithResult(const base::string16& js_text); base 44 chrome/browser/ui/webui/web_ui_test_handler.h void HandleTestResult(const base::ListValue* test_result); base 47 chrome/browser/ui/webui/web_ui_test_handler.h void JavaScriptComplete(const base::Value* result); base 24 chrome/browser/ui/webui/welcome_handler_android.cc base::Bind(&WelcomeHandler::HandleUpdateSyncFooterVisibility, base 25 chrome/browser/ui/webui/welcome_handler_android.cc base::Unretained(this))); base 29 chrome/browser/ui/webui/welcome_handler_android.cc base::Bind(&WelcomeHandler::HandleShowSyncSettings, base 30 chrome/browser/ui/webui/welcome_handler_android.cc base::Unretained(this))); base 34 chrome/browser/ui/webui/welcome_handler_android.cc base::Bind(&WelcomeHandler::HandleShowTermsOfService, base 35 chrome/browser/ui/webui/welcome_handler_android.cc base::Unretained(this))); base 45 chrome/browser/ui/webui/welcome_handler_android.cc const base::ListValue* args) { base 49 chrome/browser/ui/webui/welcome_handler_android.cc void WelcomeHandler::HandleShowSyncSettings(const base::ListValue* args) { base 53 chrome/browser/ui/webui/welcome_handler_android.cc void WelcomeHandler::HandleShowTermsOfService(const base::ListValue* args) { base 68 chrome/browser/ui/webui/welcome_handler_android.cc base::FundamentalValue(is_sync_enabled)); base 13 chrome/browser/ui/webui/welcome_handler_android.h namespace base { base 29 chrome/browser/ui/webui/welcome_handler_android.h void HandleUpdateSyncFooterVisibility(const base::ListValue* args); base 33 chrome/browser/ui/webui/welcome_handler_android.h void HandleShowSyncSettings(const base::ListValue* args); base 37 chrome/browser/ui/webui/welcome_handler_android.h void HandleShowTermsOfService(const base::ListValue* args); base 50 chrome/browser/ui/webui/welcome_ui_android.cc std::string product_tour_url = base::StringPrintf( base 62 chrome/browser/ui/webui/welcome_ui_android.cc base::string16 tos_html; base 65 chrome/browser/ui/webui/welcome_ui_android.cc base::StringPrintf(kPrivacyNoticeBaseURL, locale.c_str()); base 67 chrome/browser/ui/webui/welcome_ui_android.cc IDS_FIRSTRUN_TOS_EXPLANATION, base::UTF8ToUTF16(privacy_notice_url)); base 55 chrome/browser/ui/window_sizer/window_sizer.cc const base::DictionaryValue* wp_pref = base 43 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc base::MessageLoop::current()->RunUntilIdle(); base 126 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc base::Bind(&WindowSizerContextMenuTest::Step2, release_point)); base 132 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc base::Bind(&WindowSizerContextMenuTest::Step3)); base 138 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc base::Bind(&WindowSizerContextMenuTest::QuitLoop)); base 142 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc base::MessageLoop::current()->PostTask( base 144 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc base::MessageLoop::QuitWhenIdleClosure()); base 158 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc base::Bind(&WindowSizerContextMenuTest::Step1, release_point)); base 159 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc base::MessageLoop::current()->Run(); base 32 chrome/browser/ui/zoom/zoom_controller.cc base::Bind(&ZoomController::UpdateState, base 33 chrome/browser/ui/zoom/zoom_controller.cc base::Unretained(this), base 38 chrome/browser/ui/zoom/zoom_controller.cc base::Bind(&ZoomController::OnZoomLevelChanged, base 39 chrome/browser/ui/zoom/zoom_controller.cc base::Unretained(this))); base 16 chrome/browser/undo/bookmark_undo_service_test.cc using base::ASCIIToUTF16; base 70 chrome/browser/undo/undo_manager.cc base::string16 UndoManager::GetUndoLabel() const { base 76 chrome/browser/undo/undo_manager.cc base::string16 UndoManager::GetRedoLabel() const { base 178 chrome/browser/undo/undo_manager.cc base::AutoReset<bool> incoming_changes(performing_indicator, true); base 180 chrome/browser/undo/undo_manager.cc base::AutoReset<UndoGroup*> action_context(&undo_in_progress_action_, base 63 chrome/browser/undo/undo_manager.h base::string16 GetUndoLabel() const; base 64 chrome/browser/undo/undo_manager.h base::string16 GetRedoLabel() const; base 82 chrome/browser/undo/undo_manager_test.cc base::AutoReset<bool> incoming_changes(&performing_redo_, true); base 35 chrome/browser/unload_browsertest.cc using base::TimeDelta; base 132 chrome/browser/unload_browsertest.cc base::Bind(&chrome_browser_net::SetUrlRequestMocksEnabled, true)); base 136 chrome/browser/unload_browsertest.cc base::string16 expected = base::ASCIIToUTF16(expected_title); base 150 chrome/browser/unload_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html")))); base 162 chrome/browser/unload_browsertest.cc base::FilePath(FILE_PATH_LITERAL("title2.html")))); base 284 chrome/browser/unload_browsertest.cc base::string16 expected_title = base::ASCIIToUTF16("cancelled"); base 303 chrome/browser/unload_browsertest.cc EXPECT_EQ(kill(base::GetCurrentProcessHandle(), SIGTERM), 0); base 459 chrome/browser/unload_browsertest.cc base::RunLoop* run_loop) base 477 chrome/browser/unload_browsertest.cc base::RunLoop* const run_loop_; base 500 chrome/browser/unload_browsertest.cc base::RunLoop run_loop; base 538 chrome/browser/unload_browsertest.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7) base 591 chrome/browser/unload_browsertest.cc base::RunLoop run_loop; base 93 chrome/browser/upgrade_detector.cc upgrade_detected_time_ = base::Time::Now(); base 125 chrome/browser/upgrade_detector.cc base::TimeDelta::FromSeconds(idle_timer), base 140 chrome/browser/upgrade_detector.cc idle_time_allowed, base::Bind(&UpgradeDetector::IdleCallback, base 141 chrome/browser/upgrade_detector.cc base::Unretained(this))); base 75 chrome/browser/upgrade_detector.h const base::Time& upgrade_detected_time() const { base 131 chrome/browser/upgrade_detector.h base::Time upgrade_detected_time_; base 136 chrome/browser/upgrade_detector.h base::RepeatingTimer<UpgradeDetector> idle_check_timer_; base 88 chrome/browser/upgrade_detector_impl.cc if (!interval.empty() && base::StringToInt(interval, &interval_ms)) base 104 chrome/browser/upgrade_detector_impl.cc void CheckForUnstableChannel(const base::Closure& callback_task, base 117 chrome/browser/upgrade_detector_impl.cc base::FilePath exe_path; base 118 chrome/browser/upgrade_detector_impl.cc if (!PathService::Get(base::DIR_EXE, &exe_path)) { base 130 chrome/browser/upgrade_detector_impl.cc void DetectUpdatability(const base::Closure& callback_task, base 135 chrome/browser/upgrade_detector_impl.cc base::string16 app_guid = installer::GetAppGuidForUpdates(IsSystemInstall()); base 143 chrome/browser/upgrade_detector_impl.cc if (!base::win::IsEnrolledToDomain()) base 154 chrome/browser/upgrade_detector_impl.cc build_date_(base::GetBuildTime()) { base 191 chrome/browser/upgrade_detector_impl.cc base::Time maybe_build_time; base 192 chrome/browser/upgrade_detector_impl.cc bool result = base::Time::FromString(build_date.c_str(), &maybe_build_time); base 206 chrome/browser/upgrade_detector_impl.cc base::Closure start_upgrade_check_timer_task = base 207 chrome/browser/upgrade_detector_impl.cc base::Bind(&UpgradeDetectorImpl::StartTimerForUpgradeCheck, base 222 chrome/browser/upgrade_detector_impl.cc base::Bind(&DetectUpdatability, base 242 chrome/browser/upgrade_detector_impl.cc base::Bind(&CheckForUnstableChannel, base 259 chrome/browser/upgrade_detector_impl.cc base::WeakPtr<UpgradeDetectorImpl> upgrade_detector) { base 282 chrome/browser/upgrade_detector_impl.cc Version(base::UTF16ToASCII(keystone_glue::CurrentlyInstalledVersion())); base 288 chrome/browser/upgrade_detector_impl.cc if (!base::GetAppOutput(command_line, &reply)) { base 323 chrome/browser/upgrade_detector_impl.cc base::Bind(&UpgradeDetectorImpl::UpgradeDetected, base 331 chrome/browser/upgrade_detector_impl.cc base::TimeDelta::FromMilliseconds(GetCheckForUpgradeEveryMs()), base 351 chrome/browser/upgrade_detector_impl.cc base::Bind(&UpgradeDetectorImpl::DetectUpgradeTask, base 365 chrome/browser/upgrade_detector_impl.cc base::Time network_time; base 366 chrome/browser/upgrade_detector_impl.cc base::TimeDelta uncertainty; base 367 chrome/browser/upgrade_detector_impl.cc if (!network_time_tracker_.GetNetworkTime(base::TimeTicks::Now(), base 372 chrome/browser/upgrade_detector_impl.cc network_time = base::Time::Now(); base 382 chrome/browser/upgrade_detector_impl.cc base::TimeDelta::FromDays(kOutdatedBuildAgeInDays)) { base 408 chrome/browser/upgrade_detector_impl.cc base::TimeDelta::FromMilliseconds(cycle_time), base 413 chrome/browser/upgrade_detector_impl.cc base::TimeDelta delta = base::Time::Now() - upgrade_detected_time(); base 52 chrome/browser/upgrade_detector_impl.h base::WeakPtr<UpgradeDetectorImpl> upgrade_detector); base 55 chrome/browser/upgrade_detector_impl.h base::RepeatingTimer<UpgradeDetectorImpl> detect_upgrade_timer_; base 59 chrome/browser/upgrade_detector_impl.h base::RepeatingTimer<UpgradeDetectorImpl> upgrade_notification_timer_; base 64 chrome/browser/upgrade_detector_impl.h base::WeakPtrFactory<UpgradeDetectorImpl> weak_factory_; base 73 chrome/browser/upgrade_detector_impl.h base::Time build_date_; base 19 chrome/browser/upload_list.cc const base::Time& t, base 23 chrome/browser/upload_list.cc UploadList::UploadInfo::UploadInfo(const std::string& id, const base::Time& t) base 29 chrome/browser/upload_list.cc const base::FilePath& upload_log_path) base 39 chrome/browser/upload_list.cc base::Bind(&UploadList::LoadUploadListAndInformDelegateOfCompletion, base 53 chrome/browser/upload_list.cc base::Bind(&UploadList::InformDelegateOfCompletion, this)); base 57 chrome/browser/upload_list.cc if (base::PathExists(upload_log_path_)) { base 59 chrome/browser/upload_list.cc base::ReadFileToString(upload_log_path_, &contents); base 61 chrome/browser/upload_list.cc base::SplitStringAlongWhitespace(contents, &log_entries); base 80 chrome/browser/upload_list.cc base::SplitString(*i, ',', &components); base 84 chrome/browser/upload_list.cc base::Time upload_time; base 87 chrome/browser/upload_list.cc if (!base::StringToDouble(components[0], &seconds_since_epoch)) base 89 chrome/browser/upload_list.cc upload_time = base::Time::FromDoubleT(seconds_since_epoch); base 23 chrome/browser/upload_list.h class UploadList : public base::RefCountedThreadSafe<UploadList> { base 27 chrome/browser/upload_list.h const base::Time& t, base 29 chrome/browser/upload_list.h UploadInfo(const std::string& id, const base::Time& t); base 33 chrome/browser/upload_list.h base::Time time; base 49 chrome/browser/upload_list.h UploadList(Delegate* delegate, const base::FilePath& upload_log_path); base 77 chrome/browser/upload_list.h friend class base::RefCountedThreadSafe<UploadList>; base 92 chrome/browser/upload_list.h const base::FilePath upload_log_path_; base 25 chrome/browser/upload_list_unittest.cc new UploadList(NULL, base::FilePath()); base 33 chrome/browser/upload_list_unittest.cc EXPECT_STREQ(kTestTime, base::DoubleToString(time_double).c_str()); base 43 chrome/browser/upload_list_unittest.cc EXPECT_STREQ(kTestTime, base::DoubleToString(time_double).c_str()); base 59 chrome/browser/upload_list_unittest.cc new UploadList(NULL, base::FilePath()); base 67 chrome/browser/upload_list_unittest.cc EXPECT_STREQ(kTestTime, base::DoubleToString(time_double).c_str()); base 77 chrome/browser/upload_list_unittest.cc EXPECT_STREQ(kTestTime, base::DoubleToString(time_double).c_str()); base 16 chrome/browser/usb/usb_context.cc class UsbContext::UsbEventHandler : public base::PlatformThread::Delegate { base 27 chrome/browser/usb/usb_context.cc base::PlatformThreadHandle thread_handle_; base 28 chrome/browser/usb/usb_context.cc base::WaitableEvent start_polling_; base 37 chrome/browser/usb/usb_context.cc bool success = base::PlatformThread::Create(0, this, &thread_handle_); base 45 chrome/browser/usb/usb_context.cc base::subtle::MemoryBarrier(); base 47 chrome/browser/usb/usb_context.cc base::PlatformThread::Join(thread_handle_); base 51 chrome/browser/usb/usb_context.cc base::PlatformThread::SetName("UsbEventHandler"); base 21 chrome/browser/usb/usb_context.h class UsbContext : public base::RefCountedThreadSafe<UsbContext> { base 27 chrome/browser/usb/usb_context.h friend class base::RefCountedThreadSafe<UsbContext>; base 36 chrome/browser/usb/usb_context.h base::ThreadChecker thread_checker_; base 39 chrome/browser/usb/usb_context_unittest.cc base::TimeTicks start = base::TimeTicks::Now(); base 46 chrome/browser/usb/usb_context_unittest.cc base::TimeDelta elapse = base::TimeTicks::Now() - start; base 47 chrome/browser/usb/usb_context_unittest.cc if (elapse > base::TimeDelta::FromSeconds(2)) { base 27 chrome/browser/usb/usb_device.cc const base::Callback<void(bool success)>& callback, base 30 chrome/browser/usb/usb_device.cc base::Bind(callback, success)); base 74 chrome/browser/usb/usb_device.cc const base::Callback<void(bool success)>& callback) { base 79 chrome/browser/usb/usb_device.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 90 chrome/browser/usb/usb_device.cc base::Bind(&chromeos::PermissionBrokerClient::RequestUsbAccess, base 91 chrome/browser/usb/usb_device.cc base::Unretained(client), base 95 chrome/browser/usb/usb_device.cc base::Bind(&OnRequestUsbAccessReplied, callback))); base 26 chrome/browser/usb/usb_device.h class UsbDevice : public base::RefCountedThreadSafe<UsbDevice> { base 40 chrome/browser/usb/usb_device.h int interface_id, const base::Callback<void(bool success)>& callback); base 60 chrome/browser/usb/usb_device.h friend class base::RefCountedThreadSafe<UsbDevice>; base 89 chrome/browser/usb/usb_device.h base::ThreadChecker thread_checker_; base 104 chrome/browser/usb/usb_device_handle.cc base::Bind(HandleTransferCompletion, transfer)); base 120 chrome/browser/usb/usb_device_handle.cc : public base::RefCountedThreadSafe<UsbDeviceHandle::InterfaceClaimer> { base 166 chrome/browser/usb/usb_device_handle.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy; base 287 chrome/browser/usb/usb_device_handle.cc base::Bind(transfer.callback, base 355 chrome/browser/usb/usb_device_handle.cc bool UsbDeviceHandle::GetSerial(base::string16* serial) { base 379 chrome/browser/usb/usb_device_handle.cc base::char16 text[256] = { 0 }; base 391 chrome/browser/usb/usb_device_handle.cc *serial = base::string16(text + 1, size); base 429 chrome/browser/usb/usb_device_handle.cc base::Bind(&UsbDeviceHandle::SubmitTransfer, base 435 chrome/browser/usb/usb_device_handle.cc base::MessageLoopProxy::current(), base 456 chrome/browser/usb/usb_device_handle.cc base::Bind(&UsbDeviceHandle::SubmitTransfer, base 462 chrome/browser/usb/usb_device_handle.cc base::MessageLoopProxy::current(), base 482 chrome/browser/usb/usb_device_handle.cc base::Bind(&UsbDeviceHandle::SubmitTransfer, base 488 chrome/browser/usb/usb_device_handle.cc base::MessageLoopProxy::current(), base 515 chrome/browser/usb/usb_device_handle.cc base::Bind(&UsbDeviceHandle::SubmitTransfer, base 521 chrome/browser/usb/usb_device_handle.cc base::MessageLoopProxy::current(), base 554 chrome/browser/usb/usb_device_handle.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy, base 560 chrome/browser/usb/usb_device_handle.cc base::Bind(callback, USB_TRANSFER_DISCONNECT, base 580 chrome/browser/usb/usb_device_handle.cc base::Bind(callback, USB_TRANSFER_ERROR, base 32 chrome/browser/usb/usb_device_handle.h namespace base { base 51 chrome/browser/usb/usb_device_handle.h typedef base::Callback<void(UsbTransferStatus, scoped_refptr<net::IOBuffer>, base 55 chrome/browser/usb/usb_device_handle.h class UsbDeviceHandle : public base::RefCountedThreadSafe<UsbDeviceHandle> { base 78 chrome/browser/usb/usb_device_handle.h virtual bool GetSerial(base::string16* serial); base 116 chrome/browser/usb/usb_device_handle.h friend class base::RefCountedThreadSafe<UsbDeviceHandle>; base 152 chrome/browser/usb/usb_device_handle.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy, base 180 chrome/browser/usb/usb_device_handle.h base::ThreadChecker thread_checker_; base 51 chrome/browser/usb/usb_interface.h : public base::RefCounted<const UsbEndpointDescriptor> { base 62 chrome/browser/usb/usb_interface.h friend class base::RefCounted<const UsbEndpointDescriptor>; base 77 chrome/browser/usb/usb_interface.h : public base::RefCounted<const UsbInterfaceAltSettingDescriptor> { base 89 chrome/browser/usb/usb_interface.h friend class base::RefCounted<const UsbInterfaceAltSettingDescriptor>; base 104 chrome/browser/usb/usb_interface.h : public base::RefCounted<const UsbInterfaceDescriptor> { base 111 chrome/browser/usb/usb_interface.h friend class base::RefCounted<const UsbInterfaceDescriptor>; base 124 chrome/browser/usb/usb_interface.h class UsbConfigDescriptor : public base::RefCounted<UsbConfigDescriptor> { base 130 chrome/browser/usb/usb_interface.h friend class base::RefCounted<UsbConfigDescriptor>; base 50 chrome/browser/usb/usb_service.cc base::Bind(&content::NotificationRegistrar::Add, base 51 chrome/browser/usb/usb_service.cc base::Unretained(®istrar_), this, base 16 chrome/browser/usb/usb_service.h namespace base { base 52 chrome/browser/usb/usb_service.h friend class base::DeleteHelper<UsbService>; base 92 chrome/browser/web_applications/update_shortcut_worker_win.cc base::Bind(&UpdateShortcutWorker::DidDownloadFavicon, base 93 chrome/browser/web_applications/update_shortcut_worker_win.cc base::Unretained(this), base 139 chrome/browser/web_applications/update_shortcut_worker_win.cc base::DIR_USER_DESKTOP, base 142 chrome/browser/web_applications/update_shortcut_worker_win.cc base::DIR_START_MENU, base 146 chrome/browser/web_applications/update_shortcut_worker_win.cc base::DIR_APP_DATA, base 147 chrome/browser/web_applications/update_shortcut_worker_win.cc (base::win::GetVersion() >= base::win::VERSION_WIN7) ? base 154 chrome/browser/web_applications/update_shortcut_worker_win.cc base::FilePath path; base 163 chrome/browser/web_applications/update_shortcut_worker_win.cc base::FilePath shortcut_file = path.Append(file_name_). base 165 chrome/browser/web_applications/update_shortcut_worker_win.cc if (base::PathExists(shortcut_file)) { base 173 chrome/browser/web_applications/update_shortcut_worker_win.cc base::Bind(&UpdateShortcutWorker::UpdateShortcutsOnFileThread, base 174 chrome/browser/web_applications/update_shortcut_worker_win.cc base::Unretained(this))); base 180 chrome/browser/web_applications/update_shortcut_worker_win.cc base::FilePath web_app_path = web_app::GetWebAppDataDirectory( base 185 chrome/browser/web_applications/update_shortcut_worker_win.cc if (!base::PathExists(web_app_path) && base 186 chrome/browser/web_applications/update_shortcut_worker_win.cc !base::CreateDirectory(web_app_path)) { base 191 chrome/browser/web_applications/update_shortcut_worker_win.cc base::FilePath icon_file = base 199 chrome/browser/web_applications/update_shortcut_worker_win.cc base::string16 app_id = ShellIntegration::GetAppModelIdForProfile( base 200 chrome/browser/web_applications/update_shortcut_worker_win.cc base::UTF8ToWide( base 209 chrome/browser/web_applications/update_shortcut_worker_win.cc base::win::ShortcutProperties shortcut_properties; base 214 chrome/browser/web_applications/update_shortcut_worker_win.cc base::win::CreateOrUpdateShortcutLink( base 216 chrome/browser/web_applications/update_shortcut_worker_win.cc base::win::SHORTCUT_UPDATE_EXISTING); base 232 chrome/browser/web_applications/update_shortcut_worker_win.cc base::Bind(&UpdateShortcutWorker::DeleteMeOnUIThread, base 233 chrome/browser/web_applications/update_shortcut_worker_win.cc base::Unretained(this))); base 76 chrome/browser/web_applications/update_shortcut_worker_win.h base::FilePath profile_path_; base 79 chrome/browser/web_applications/update_shortcut_worker_win.h base::FilePath file_name_; base 82 chrome/browser/web_applications/update_shortcut_worker_win.h std::vector<base::FilePath> shortcut_files_; base 72 chrome/browser/web_applications/web_app.cc base::FilePath shortcut_data_dir = web_app::GetWebAppDataDirectory( base 79 chrome/browser/web_applications/web_app.cc const base::string16& old_app_title, base 83 chrome/browser/web_applications/web_app.cc base::FilePath shortcut_data_dir = web_app::GetWebAppDataDirectory( base 127 chrome/browser/web_applications/web_app.cc base::FilePath GetSanitizedFileName(const base::string16& name) { base 129 chrome/browser/web_applications/web_app.cc base::string16 file_name = name; base 131 chrome/browser/web_applications/web_app.cc std::string file_name = base::UTF16ToUTF8(name); base 134 chrome/browser/web_applications/web_app.cc return base::FilePath(file_name); base 152 chrome/browser/web_applications/web_app.cc (web_contents->GetTitle().empty() ? base::UTF8ToUTF16(info->url.spec()) : base 173 chrome/browser/web_applications/web_app.cc shortcut_info.title = base::UTF8ToUTF16(app->name()); base 174 chrome/browser/web_applications/web_app.cc shortcut_info.description = base::UTF8ToUTF16(app->description()); base 231 chrome/browser/web_applications/web_app.cc base::Bind(&OnImageLoaded, shortcut_info, callback)); base 234 chrome/browser/web_applications/web_app.cc base::FilePath GetWebAppDataDirectory(const base::FilePath& profile_path, base 238 chrome/browser/web_applications/web_app.cc base::FilePath app_data_dir(profile_path.Append(chrome::kWebAppDirname)); base 251 chrome/browser/web_applications/web_app.cc base::FilePath::StringType host_path(base::UTF8ToUTF16(host)); base 252 chrome/browser/web_applications/web_app.cc base::FilePath::StringType scheme_port_path(base::UTF8ToUTF16(scheme_port)); base 254 chrome/browser/web_applications/web_app.cc base::FilePath::StringType host_path(host); base 255 chrome/browser/web_applications/web_app.cc base::FilePath::StringType scheme_port_path(scheme_port); base 261 chrome/browser/web_applications/web_app.cc base::FilePath GetWebAppDataDirectory(const base::FilePath& profile_path, base 310 chrome/browser/web_applications/web_app.cc base::Bind(base::IgnoreResult(&CreateShortcutsOnFileThread), base 320 chrome/browser/web_applications/web_app.cc base::Bind(&DeleteShortcutsOnFileThread, shortcut_info)); base 323 chrome/browser/web_applications/web_app.cc void UpdateAllShortcuts(const base::string16& old_app_title, base 330 chrome/browser/web_applications/web_app.cc base::Bind(&UpdateShortcutsOnFileThread, old_app_title, shortcut_info)); base 339 chrome/browser/web_applications/web_app.cc base::FilePath shortcut_data_dir = GetWebAppDataDirectory( base 385 chrome/browser/web_applications/web_app.cc base::TrimString(app_name, "_", &app_name); base 41 chrome/browser/web_applications/web_app.h typedef base::Callback<void(const ShellIntegration::ShortcutInfo&)> base 69 chrome/browser/web_applications/web_app.h base::FilePath GetWebAppDataDirectory(const base::FilePath& profile_path, base 75 chrome/browser/web_applications/web_app.h base::FilePath GetWebAppDataDirectory(const base::FilePath& profile_path, base 109 chrome/browser/web_applications/web_app.h void UpdateAllShortcuts(const base::string16& old_app_title, base 144 chrome/browser/web_applications/web_app.h std::vector<base::FilePath> GetShortcutPaths( base 155 chrome/browser/web_applications/web_app.h const base::FilePath& shortcut_data_path, base 164 chrome/browser/web_applications/web_app.h const base::FilePath& shortcut_data_path, base 171 chrome/browser/web_applications/web_app.h const base::FilePath& shortcut_data_path, base 172 chrome/browser/web_applications/web_app.h const base::string16& old_app_title, base 177 chrome/browser/web_applications/web_app.h void DeleteAllShortcutsForProfile(const base::FilePath& profile_path); base 181 chrome/browser/web_applications/web_app.h base::FilePath GetSanitizedFileName(const base::string16& name); base 11 chrome/browser/web_applications/web_app_android.cc const base::FilePath& web_app_path, base 19 chrome/browser/web_applications/web_app_android.cc const base::FilePath& web_app_path, base 23 chrome/browser/web_applications/web_app_android.cc const base::FilePath& web_app_path, base 24 chrome/browser/web_applications/web_app_android.cc const base::string16& old_app_title, base 27 chrome/browser/web_applications/web_app_android.cc void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) {} base 11 chrome/browser/web_applications/web_app_chromeos.cc const base::FilePath& web_app_path, base 19 chrome/browser/web_applications/web_app_chromeos.cc const base::FilePath& web_app_path, base 23 chrome/browser/web_applications/web_app_chromeos.cc const base::FilePath& web_app_path, base 24 chrome/browser/web_applications/web_app_chromeos.cc const base::string16& old_app_title, base 27 chrome/browser/web_applications/web_app_chromeos.cc void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) {} base 17 chrome/browser/web_applications/web_app_linux.cc const base::FilePath& web_app_path, base 31 chrome/browser/web_applications/web_app_linux.cc const base::FilePath& web_app_path, base 40 chrome/browser/web_applications/web_app_linux.cc const base::FilePath& web_app_path, base 41 chrome/browser/web_applications/web_app_linux.cc const base::string16& /*old_app_title*/, base 45 chrome/browser/web_applications/web_app_linux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 60 chrome/browser/web_applications/web_app_linux.cc void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) { base 21 chrome/browser/web_applications/web_app_mac.h base::FilePath GetAppInstallPath( base 35 chrome/browser/web_applications/web_app_mac.h const base::FilePath& app_data_dir, base 41 chrome/browser/web_applications/web_app_mac.h base::FilePath GetShortcutBasename() const; base 45 chrome/browser/web_applications/web_app_mac.h virtual base::FilePath GetApplicationsDirname() const; base 48 chrome/browser/web_applications/web_app_mac.h base::FilePath GetApplicationsShortcutPath() const; base 51 chrome/browser/web_applications/web_app_mac.h base::FilePath GetInternalShortcutPath() const; base 62 chrome/browser/web_applications/web_app_mac.h virtual base::FilePath GetAppBundleById(const std::string& bundle_id) const; base 80 chrome/browser/web_applications/web_app_mac.h bool BuildShortcut(const base::FilePath& staging_path) const; base 84 chrome/browser/web_applications/web_app_mac.h size_t CreateShortcutsIn(const std::vector<base::FilePath>& folders) const; base 88 chrome/browser/web_applications/web_app_mac.h bool UpdateDisplayName(const base::FilePath& app_path) const; base 94 chrome/browser/web_applications/web_app_mac.h bool UpdatePlist(const base::FilePath& app_path) const; base 97 chrome/browser/web_applications/web_app_mac.h bool UpdateIcon(const base::FilePath& app_path) const; base 101 chrome/browser/web_applications/web_app_mac.h base::FilePath app_data_dir_; base 35 chrome/browser/web_applications/web_app_unittest.cc const base::string16 title = base::ASCIIToUTF16("TEST_TITLE"); base 36 chrome/browser/web_applications/web_app_unittest.cc const base::string16 description = base::ASCIIToUTF16("TEST_DESCRIPTION"); base 55 chrome/browser/web_applications/web_app_unittest.cc base::FilePath profile_path(FILE_PATH_LITERAL("profile")); base 56 chrome/browser/web_applications/web_app_unittest.cc base::FilePath result( base 58 chrome/browser/web_applications/web_app_unittest.cc base::FilePath expected = profile_path.AppendASCII("Web Applications") base 64 chrome/browser/web_applications/web_app_unittest.cc base::FilePath profile_path(FILE_PATH_LITERAL("profile")); base 65 chrome/browser/web_applications/web_app_unittest.cc base::FilePath result(web_app::GetWebAppDataDirectory( base 67 chrome/browser/web_applications/web_app_unittest.cc base::FilePath expected = profile_path.AppendASCII("Web Applications") base 33 chrome/browser/web_applications/web_app_win.cc const base::FilePath::CharType kIconChecksumFileExt[] = base 38 chrome/browser/web_applications/web_app_win.cc void GetImageCheckSum(const gfx::ImageFamily& image, base::MD5Digest* digest) { base 40 chrome/browser/web_applications/web_app_win.cc base::MD5Context md5_context; base 41 chrome/browser/web_applications/web_app_win.cc base::MD5Init(&md5_context); base 48 chrome/browser/web_applications/web_app_win.cc base::StringPiece image_data( base 50 chrome/browser/web_applications/web_app_win.cc base::MD5Update(&md5_context, image_data); base 53 chrome/browser/web_applications/web_app_win.cc base::MD5Final(digest, &md5_context); base 57 chrome/browser/web_applications/web_app_win.cc bool SaveIconWithCheckSum(const base::FilePath& icon_file, base 62 chrome/browser/web_applications/web_app_win.cc base::MD5Digest digest; base 65 chrome/browser/web_applications/web_app_win.cc base::FilePath cheksum_file(icon_file.ReplaceExtension(kIconChecksumFileExt)); base 66 chrome/browser/web_applications/web_app_win.cc return base::WriteFile(cheksum_file, base 72 chrome/browser/web_applications/web_app_win.cc bool ShouldUpdateIcon(const base::FilePath& icon_file, base 74 chrome/browser/web_applications/web_app_win.cc base::FilePath checksum_file( base 78 chrome/browser/web_applications/web_app_win.cc if (!base::PathExists(icon_file) || base 79 chrome/browser/web_applications/web_app_win.cc !base::PathExists(checksum_file)) base 82 chrome/browser/web_applications/web_app_win.cc base::MD5Digest persisted_image_checksum; base 83 chrome/browser/web_applications/web_app_win.cc if (sizeof(persisted_image_checksum) != base::ReadFile(checksum_file, base 88 chrome/browser/web_applications/web_app_win.cc base::MD5Digest downloaded_image_checksum; base 93 chrome/browser/web_applications/web_app_win.cc sizeof(base::MD5Digest)) != 0; base 98 chrome/browser/web_applications/web_app_win.cc bool IsAppShortcutForProfile(const base::FilePath& shortcut_file_name, base 99 chrome/browser/web_applications/web_app_win.cc const base::FilePath& profile_path) { base 100 chrome/browser/web_applications/web_app_win.cc base::string16 cmd_line_string; base 101 chrome/browser/web_applications/web_app_win.cc if (base::win::ResolveShortcut(shortcut_file_name, NULL, &cmd_line_string)) { base 116 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> FindAppShortcutsByProfileAndTitle( base 117 chrome/browser/web_applications/web_app_win.cc const base::FilePath& shortcut_path, base 118 chrome/browser/web_applications/web_app_win.cc const base::FilePath& profile_path, base 119 chrome/browser/web_applications/web_app_win.cc const base::string16& shortcut_name) { base 120 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> shortcut_paths; base 124 chrome/browser/web_applications/web_app_win.cc base::FileEnumerator files(shortcut_path, false, base 125 chrome/browser/web_applications/web_app_win.cc base::FileEnumerator::FILES, base 127 chrome/browser/web_applications/web_app_win.cc base::FilePath shortcut_file = files.Next(); base 135 chrome/browser/web_applications/web_app_win.cc base::FilePath base_path = shortcut_path. base 141 chrome/browser/web_applications/web_app_win.cc base::FilePath shortcut_file = base_path; base 144 chrome/browser/web_applications/web_app_win.cc base::StringPrintf(" (%d)", i)); base 146 chrome/browser/web_applications/web_app_win.cc if (base::PathExists(shortcut_file) && base 163 chrome/browser/web_applications/web_app_win.cc const base::FilePath& web_app_path, base 165 chrome/browser/web_applications/web_app_win.cc const std::vector<base::FilePath>& shortcut_paths, base 167 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath>* out_filenames) { base 169 chrome/browser/web_applications/web_app_win.cc if (!base::PathExists(web_app_path) && base 170 chrome/browser/web_applications/web_app_win.cc !base::CreateDirectory(web_app_path)) { base 175 chrome/browser/web_applications/web_app_win.cc base::FilePath icon_file = base 181 chrome/browser/web_applications/web_app_win.cc base::FilePath chrome_exe; base 182 chrome/browser/web_applications/web_app_win.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 188 chrome/browser/web_applications/web_app_win.cc base::FilePath working_dir(chrome_exe.DirName()); base 198 chrome/browser/web_applications/web_app_win.cc base::string16 wide_switches(cmd_line.GetCommandLineString()); base 201 chrome/browser/web_applications/web_app_win.cc base::string16 description = shortcut_info.description; base 207 chrome/browser/web_applications/web_app_win.cc base::string16 app_id(ShellIntegration::GetAppModelIdForProfile( base 208 chrome/browser/web_applications/web_app_win.cc base::UTF8ToUTF16(app_name), shortcut_info.profile_path)); base 212 chrome/browser/web_applications/web_app_win.cc base::FilePath shortcut_file = base 219 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> shortcut_files = base 228 chrome/browser/web_applications/web_app_win.cc base::GetUniquePathNumber(shortcut_file, base 229 chrome/browser/web_applications/web_app_win.cc base::FilePath::StringType()); base 235 chrome/browser/web_applications/web_app_win.cc base::StringPrintf(" (%d)", unique_number)); base 238 chrome/browser/web_applications/web_app_win.cc base::win::ShortcutProperties shortcut_properties; base 246 chrome/browser/web_applications/web_app_win.cc if (!base::PathExists(shortcut_file.DirName()) && base 247 chrome/browser/web_applications/web_app_win.cc !base::CreateDirectory(shortcut_file.DirName())) { base 251 chrome/browser/web_applications/web_app_win.cc success = base::win::CreateOrUpdateShortcutLink( base 253 chrome/browser/web_applications/web_app_win.cc base::win::SHORTCUT_CREATE_ALWAYS) && success; base 274 chrome/browser/web_applications/web_app_win.cc const base::FilePath& web_app_path, base 275 chrome/browser/web_applications/web_app_win.cc const base::FilePath& profile_path, base 276 chrome/browser/web_applications/web_app_win.cc const base::string16& title, base 278 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath>* shortcut_paths) { base 290 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> all_paths = web_app::internals::GetShortcutPaths( base 292 chrome/browser/web_applications/web_app_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7 && base 299 chrome/browser/web_applications/web_app_win.cc base::FilePath taskbar_pin_path; base 300 chrome/browser/web_applications/web_app_win.cc if (PathService::Get(base::DIR_TASKBAR_PINS, &taskbar_pin_path)) { base 301 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> taskbar_pin_files = base 310 chrome/browser/web_applications/web_app_win.cc for (std::vector<base::FilePath>::const_iterator i = all_paths.begin(); base 312 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> shortcut_files = base 317 chrome/browser/web_applications/web_app_win.cc for (std::vector<base::FilePath>::const_iterator j = shortcut_files.begin(); base 321 chrome/browser/web_applications/web_app_win.cc base::win::TaskbarUnpinShortcutLink(j->value().c_str()); base 322 chrome/browser/web_applications/web_app_win.cc base::DeleteFile(*j, false); base 331 chrome/browser/web_applications/web_app_win.cc base::FilePath CreateShortcutInWebAppDir( base 332 chrome/browser/web_applications/web_app_win.cc const base::FilePath& web_app_dir, base 334 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> paths; base 336 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> out_filenames; base 337 chrome/browser/web_applications/web_app_win.cc base::FilePath web_app_dir_shortcut = base 361 chrome/browser/web_applications/web_app_win.cc bool CheckAndSaveIcon(const base::FilePath& icon_file, base 379 chrome/browser/web_applications/web_app_win.cc const base::FilePath& web_app_path, base 386 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> shortcut_paths = base 390 chrome/browser/web_applications/web_app_win.cc (base::win::GetVersion() >= base::win::VERSION_WIN7); base 407 chrome/browser/web_applications/web_app_win.cc base::FilePath file_name = GetSanitizedFileName(shortcut_info.title); base 410 chrome/browser/web_applications/web_app_win.cc base::FilePath shortcut_to_pin = web_app_path.Append(file_name). base 412 chrome/browser/web_applications/web_app_win.cc if (!base::win::TaskbarPinShortcutLink(shortcut_to_pin.value().c_str())) base 420 chrome/browser/web_applications/web_app_win.cc const base::FilePath& web_app_path, base 421 chrome/browser/web_applications/web_app_win.cc const base::string16& old_app_title, base 426 chrome/browser/web_applications/web_app_win.cc base::FilePath file_name = base 434 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> shortcut_paths; base 444 chrome/browser/web_applications/web_app_win.cc base::FilePath file_name = GetSanitizedFileName(shortcut_info.title); base 447 chrome/browser/web_applications/web_app_win.cc base::FilePath shortcut_to_pin = web_app_path.Append(file_name). base 449 chrome/browser/web_applications/web_app_win.cc base::win::TaskbarPinShortcutLink(shortcut_to_pin.value().c_str()); base 454 chrome/browser/web_applications/web_app_win.cc base::FilePath icon_file = GetIconFilePath(web_app_path, shortcut_info.title); base 459 chrome/browser/web_applications/web_app_win.cc const base::FilePath& web_app_path, base 466 chrome/browser/web_applications/web_app_win.cc base::FilePath chrome_apps_dir; base 472 chrome/browser/web_applications/web_app_win.cc if (base::IsDirectoryEmpty(chrome_apps_dir)) base 473 chrome/browser/web_applications/web_app_win.cc base::DeleteFile(chrome_apps_dir, false); base 477 chrome/browser/web_applications/web_app_win.cc void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) { base 478 chrome/browser/web_applications/web_app_win.cc GetShortcutLocationsAndDeleteShortcuts(base::FilePath(), profile_path, L"", base 482 chrome/browser/web_applications/web_app_win.cc base::FilePath chrome_apps_dir; base 488 chrome/browser/web_applications/web_app_win.cc if (base::IsDirectoryEmpty(chrome_apps_dir)) base 489 chrome/browser/web_applications/web_app_win.cc base::DeleteFile(chrome_apps_dir, false); base 493 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> GetShortcutPaths( base 496 chrome/browser/web_applications/web_app_win.cc std::vector<base::FilePath> shortcut_paths; base 521 chrome/browser/web_applications/web_app_win.cc base::win::GetVersion() < base::win::VERSION_WIN7, base 530 chrome/browser/web_applications/web_app_win.cc base::FilePath path; base 544 chrome/browser/web_applications/web_app_win.cc base::FilePath GetIconFilePath(const base::FilePath& web_app_path, base 545 chrome/browser/web_applications/web_app_win.cc const base::string16& title) { base 23 chrome/browser/web_applications/web_app_win.h base::FilePath CreateShortcutInWebAppDir( base 24 chrome/browser/web_applications/web_app_win.h const base::FilePath& web_app_path, base 29 chrome/browser/web_applications/web_app_win.h bool CheckAndSaveIcon(const base::FilePath& icon_file, base 32 chrome/browser/web_applications/web_app_win.h base::FilePath GetIconFilePath(const base::FilePath& web_app_path, base 33 chrome/browser/web_applications/web_app_win.h const base::string16& title); base 33 chrome/browser/web_resource/eula_accepted_notifier.cc base::Bind(&EulaAcceptedNotifier::OnPrefChanged, base 34 chrome/browser/web_resource/eula_accepted_notifier.cc base::Unretained(this))); base 39 chrome/browser/web_resource/json_asynchronous_unpacker.cc base::Bind( base 69 chrome/browser/web_resource/json_asynchronous_unpacker.cc const base::DictionaryValue& parsed_json) { base 19 chrome/browser/web_resource/json_asynchronous_unpacker.h virtual void OnUnpackFinished(const base::DictionaryValue& parsed_json) = 0; base 30 chrome/browser/web_resource/notification_promo.cc using base::UserMetricsAction; base 84 chrome/browser/web_resource/notification_promo.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 134 chrome/browser/web_resource/notification_promo.cc base::Value* DeepCopyAndResolveStrings( base 135 chrome/browser/web_resource/notification_promo.cc const base::Value* node, base 136 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* strings) { base 138 chrome/browser/web_resource/notification_promo.cc case base::Value::TYPE_LIST: { base 139 chrome/browser/web_resource/notification_promo.cc const base::ListValue* list = static_cast<const base::ListValue*>(node); base 140 chrome/browser/web_resource/notification_promo.cc base::ListValue* copy = new base::ListValue; base 141 chrome/browser/web_resource/notification_promo.cc for (base::ListValue::const_iterator it = list->begin(); base 144 chrome/browser/web_resource/notification_promo.cc base::Value* child_copy = DeepCopyAndResolveStrings(*it, strings); base 150 chrome/browser/web_resource/notification_promo.cc case base::Value::TYPE_DICTIONARY: { base 151 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* dict = base 152 chrome/browser/web_resource/notification_promo.cc static_cast<const base::DictionaryValue*>(node); base 153 chrome/browser/web_resource/notification_promo.cc base::DictionaryValue* copy = new base::DictionaryValue; base 154 chrome/browser/web_resource/notification_promo.cc for (base::DictionaryValue::Iterator it(*dict); base 157 chrome/browser/web_resource/notification_promo.cc base::Value* child_copy = DeepCopyAndResolveStrings(&it.value(), base 164 chrome/browser/web_resource/notification_promo.cc case base::Value::TYPE_STRING: { base 171 chrome/browser/web_resource/notification_promo.cc return new base::StringValue(actual_value); base 191 chrome/browser/web_resource/notification_promo.cc promo_payload_(new base::DictionaryValue()), base 209 chrome/browser/web_resource/notification_promo.cc void NotificationPromo::InitFromJson(const base::DictionaryValue& json, base 212 chrome/browser/web_resource/notification_promo.cc const base::ListValue* promo_list = NULL; base 218 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* promo = NULL; base 223 chrome/browser/web_resource/notification_promo.cc const base::ListValue* date_list = NULL; base 225 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* date; base 228 chrome/browser/web_resource/notification_promo.cc base::Time time; base 230 chrome/browser/web_resource/notification_promo.cc base::Time::FromString(time_str.c_str(), &time)) { base 233 chrome/browser/web_resource/notification_promo.cc << ", start_="<< base::DoubleToString(start_); base 236 chrome/browser/web_resource/notification_promo.cc base::Time::FromString(time_str.c_str(), &time)) { base 239 chrome/browser/web_resource/notification_promo.cc << ", end_=" << base::DoubleToString(end_); base 245 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* grouping = NULL; base 261 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* strings = NULL; base 265 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* payload = NULL; base 267 chrome/browser/web_resource/notification_promo.cc base::Value* ppcopy = DeepCopyAndResolveStrings(payload, strings); base 268 chrome/browser/web_resource/notification_promo.cc DCHECK(ppcopy && ppcopy->IsType(base::Value::TYPE_DICTIONARY)); base 269 chrome/browser/web_resource/notification_promo.cc promo_payload_.reset(static_cast<base::DictionaryValue*>(ppcopy)); base 277 chrome/browser/web_resource/notification_promo.cc base::DictionaryValue::Iterator iter(*strings); base 304 chrome/browser/web_resource/notification_promo.cc group_ = base::RandInt(0, num_groups_ - 1); base 329 chrome/browser/web_resource/notification_promo.cc base::DictionaryValue* ntp_promo = new base::DictionaryValue; base 347 chrome/browser/web_resource/notification_promo.cc base::ListValue* promo_list = new base::ListValue; base 350 chrome/browser/web_resource/notification_promo.cc base::DictionaryValue promo_dict; base 359 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* promo_dict = base 364 chrome/browser/web_resource/notification_promo.cc const base::ListValue* promo_list = NULL; base 369 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* ntp_promo = NULL; base 375 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* promo_payload = NULL; base 414 chrome/browser/web_resource/notification_promo.cc base::Time::FromDoubleT(StartTimeForGroup()) < base::Time::Now() && base 415 chrome/browser/web_resource/notification_promo.cc base::Time::FromDoubleT(EndTime()) > base::Time::Now(); base 453 chrome/browser/web_resource/notification_promo.cc AppendQueryParameter(&url, "osver", base::SysInfo::OperatingSystemVersion()); base 19 chrome/browser/web_resource/notification_promo.h namespace base { base 45 chrome/browser/web_resource/notification_promo.h void InitFromJson(const base::DictionaryValue& json, PromoType promo_type); base 67 chrome/browser/web_resource/notification_promo.h const base::DictionaryValue* promo_payload() const { base 107 chrome/browser/web_resource/notification_promo.h scoped_ptr<const base::DictionaryValue> promo_payload_; base 25 chrome/browser/web_resource/notification_promo_mobile_ntp.cc const base::DictionaryValue& json) { base 13 chrome/browser/web_resource/notification_promo_mobile_ntp.h namespace base { base 27 chrome/browser/web_resource/notification_promo_mobile_ntp.h bool InitFromJson(const base::DictionaryValue& json); base 36 chrome/browser/web_resource/notification_promo_mobile_ntp.h const base::ListValue* action_args() const { return action_args_; } base 48 chrome/browser/web_resource/notification_promo_mobile_ntp.h const base::DictionaryValue* payload() const { return payload_; } base 80 chrome/browser/web_resource/notification_promo_mobile_ntp.h const base::ListValue* action_args_; base 82 chrome/browser/web_resource/notification_promo_mobile_ntp.h const base::DictionaryValue* payload_; base 105 chrome/browser/web_resource/promo_resource_service.cc static_cast<int64>((base::Time::FromDoubleT( base 106 chrome/browser/web_resource/promo_resource_service.cc promo_start) - base::Time::Now()).InMilliseconds()); base 108 chrome/browser/web_resource/promo_resource_service.cc static_cast<int64>((base::Time::FromDoubleT( base 109 chrome/browser/web_resource/promo_resource_service.cc promo_end) - base::Time::Now()).InMilliseconds()); base 148 chrome/browser/web_resource/promo_resource_service.cc base::MessageLoop::current()->PostDelayedTask( base 150 chrome/browser/web_resource/promo_resource_service.cc base::Bind(&PromoResourceService::PromoResourceStateChange, base 152 chrome/browser/web_resource/promo_resource_service.cc base::TimeDelta::FromMilliseconds(delay_ms)); base 166 chrome/browser/web_resource/promo_resource_service.cc void PromoResourceService::Unpack(const base::DictionaryValue& parsed_json) { base 17 chrome/browser/web_resource/promo_resource_service.h namespace base { base 59 chrome/browser/web_resource/promo_resource_service.h virtual void Unpack(const base::DictionaryValue& parsed_json) OVERRIDE; base 64 chrome/browser/web_resource/promo_resource_service.h base::WeakPtrFactory<PromoResourceService> weak_ptr_factory_; base 36 chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc base::MessageLoop loop_; base 49 chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc base::Value* value(base::JSONReader::Read(json)); base 51 chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc base::DictionaryValue* dict = NULL; base 125 chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc scoped_ptr<base::DictionaryValue> test_json_; base 36 chrome/browser/web_resource/promo_resource_service_unittest.cc *date_epoch = (base::Time::Now() + base::TimeDelta::FromDays(365)).ToTimeT(); base 52 chrome/browser/web_resource/promo_resource_service_unittest.cc return base::UTF16ToUTF8(date_unicode_string.getBuffer(), base 69 chrome/browser/web_resource/promo_resource_service_unittest.cc base::MessageLoop loop_; base 100 chrome/browser/web_resource/promo_resource_service_unittest.cc base::Value* value(base::JSONReader::Read(json_with_end_date)); base 103 chrome/browser/web_resource/promo_resource_service_unittest.cc base::DictionaryValue* dict = NULL; base 269 chrome/browser/web_resource/promo_resource_service_unittest.cc const double now = base::Time::Now().ToDoubleT(); base 294 chrome/browser/web_resource/promo_resource_service_unittest.cc const double now = base::Time::Now().ToDoubleT(); base 342 chrome/browser/web_resource/promo_resource_service_unittest.cc scoped_ptr<base::DictionaryValue> test_json_; base 29 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 146 chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc base::MessageLoopForUI message_loop; base 48 chrome/browser/web_resource/web_resource_service.cc const base::DictionaryValue& parsed_json) { base 81 chrome/browser/web_resource/web_resource_service.cc base::StringToDouble(last_update_pref, &last_update_value); base 83 chrome/browser/web_resource/web_resource_service.cc static_cast<int64>((base::Time::Now() - base::Time::FromDoubleT( base 97 chrome/browser/web_resource/web_resource_service.cc base::MessageLoop::current()->PostDelayedTask( base 99 chrome/browser/web_resource/web_resource_service.cc base::Bind(&WebResourceService::StartFetch, base 101 chrome/browser/web_resource/web_resource_service.cc base::TimeDelta::FromMilliseconds(delay_ms)); base 112 chrome/browser/web_resource/web_resource_service.cc base::DoubleToString(base::Time::Now().ToDoubleT())); base 20 chrome/browser/web_resource/web_resource_service.h namespace base { base 33 chrome/browser/web_resource/web_resource_service.h public base::RefCountedThreadSafe<WebResourceService>, base 50 chrome/browser/web_resource/web_resource_service.h const base::DictionaryValue& parsed_json) OVERRIDE; base 57 chrome/browser/web_resource/web_resource_service.h virtual void Unpack(const base::DictionaryValue& parsed_json) = 0; base 63 chrome/browser/web_resource/web_resource_service.h friend class base::RefCountedThreadSafe<WebResourceService>; base 114 chrome/browser/web_resource/web_resource_service.h base::WeakPtrFactory<WebResourceService> weak_ptr_factory_; base 40 chrome/browser/webdata/autocomplete_syncable_service.cc base::Time* date_created, base 41 chrome/browser/webdata/autocomplete_syncable_service.cc base::Time* date_last_used) { base 48 chrome/browser/webdata/autocomplete_syncable_service.cc base::Time sync_date_created = base 49 chrome/browser/webdata/autocomplete_syncable_service.cc base::Time::FromInternalValue(*sync_timestamps.begin()); base 50 chrome/browser/webdata/autocomplete_syncable_service.cc base::Time sync_date_last_used = base 51 chrome/browser/webdata/autocomplete_syncable_service.cc base::Time::FromInternalValue(*sync_timestamps.rbegin()); base 340 chrome/browser/webdata/autocomplete_syncable_service.cc base::Time date_created, date_last_used; base 342 chrome/browser/webdata/autocomplete_syncable_service.cc date_created = base::Time::FromInternalValue(*timestamps.begin()); base 343 chrome/browser/webdata/autocomplete_syncable_service.cc date_last_used = base::Time::FromInternalValue(*timestamps.rbegin()); base 348 chrome/browser/webdata/autocomplete_syncable_service.cc base::Time date_created, date_last_used; base 369 chrome/browser/webdata/autocomplete_syncable_service.cc autofill->set_name(base::UTF16ToUTF8(entry.key().name())); base 370 chrome/browser/webdata/autocomplete_syncable_service.cc autofill->set_value(base::UTF16ToUTF8(entry.key().value())); base 380 chrome/browser/webdata/autocomplete_syncable_service.cc base::UTF8ToUTF16(autofill.name()), base 381 chrome/browser/webdata/autocomplete_syncable_service.cc base::UTF8ToUTF16(autofill.value()))) { base 398 chrome/browser/webdata/autocomplete_syncable_service.cc base::Time date_created, date_last_used; base 418 chrome/browser/webdata/autocomplete_syncable_service.cc AutofillEntry entry(change->key(), base::Time(), base::Time()); base 442 chrome/browser/webdata/autocomplete_syncable_service.cc std::string tag(KeyToTag(base::UTF16ToUTF8(entry.key().name()), base 443 chrome/browser/webdata/autocomplete_syncable_service.cc base::UTF16ToUTF8(entry.key().value()))); base 44 chrome/browser/webdata/autocomplete_syncable_service.h : public base::SupportsUserData::Data, base 47 chrome/browser/webdata/autocomplete_syncable_service.h public base::NonThreadSafe { base 27 chrome/browser/webdata/keyword_table.cc using base::Time; base 100 chrome/browser/webdata/keyword_table.cc base::ListValue alternate_urls_value; base 104 chrome/browser/webdata/keyword_table.cc base::JSONWriter::Write(&alternate_urls_value, &alternate_urls); base 481 chrome/browser/webdata/keyword_table.cc base::SplitString(s.ColumnString(9), ';', &data->input_encodings); base 491 chrome/browser/webdata/keyword_table.cc base::JSONReader json_reader; base 492 chrome/browser/webdata/keyword_table.cc scoped_ptr<base::Value> value(json_reader.ReadToValue(s.ColumnString(17))); base 493 chrome/browser/webdata/keyword_table.cc base::ListValue* alternate_urls_value; base 597 chrome/browser/webdata/keyword_table.cc base::string16 placeholder_keyword(base::ASCIIToUTF16("dummy")); base 598 chrome/browser/webdata/keyword_table.cc std::set<base::string16> keywords; base 600 chrome/browser/webdata/keyword_table.cc base::string16 keyword(s.ColumnString16(1)); base 623 chrome/browser/webdata/keyword_table.cc keyword.append(base::ASCIIToUTF16("_")); base 20 chrome/browser/webdata/keyword_table_unittest.cc using base::ASCIIToUTF16; base 21 chrome/browser/webdata/keyword_table_unittest.cc using base::Time; base 22 chrome/browser/webdata/keyword_table_unittest.cc using base::TimeDelta; base 62 chrome/browser/webdata/keyword_table_unittest.cc keyword.date_created = base::Time::UnixEpoch(); base 63 chrome/browser/webdata/keyword_table_unittest.cc keyword.last_modified = base::Time::UnixEpoch(); base 105 chrome/browser/webdata/keyword_table_unittest.cc base::FilePath file_; base 106 chrome/browser/webdata/keyword_table_unittest.cc base::ScopedTempDir temp_dir_; base 221 chrome/browser/webdata/keyword_table_unittest.cc s.BindString16(0, base::string16()); base 18 chrome/browser/webdata/logins_table_win.cc s.BindString(0, base::WideToUTF8(info.url_hash)); base 30 chrome/browser/webdata/logins_table_win.cc s.BindString(0, base::WideToUTF8(info.url_hash)); base 45 chrome/browser/webdata/logins_table_win.cc result->date_created = base::Time::FromTimeT(s.ColumnInt64(1)); base 15 chrome/browser/webdata/web_apps_table_unittest.cc using base::Time; base 33 chrome/browser/webdata/web_apps_table_unittest.cc base::FilePath file_; base 34 chrome/browser/webdata/web_apps_table_unittest.cc base::ScopedTempDir temp_dir_; base 29 chrome/browser/webdata/web_data_service.cc using base::Bind; base 30 chrome/browser/webdata/web_data_service.cc using base::Time; base 38 chrome/browser/webdata/web_data_service.h namespace base { base 66 chrome/browser/webdata/web_data_service.h typedef base::Callback<scoped_ptr<WDTypedResult>(void)> ResultTask; base 247 chrome/browser/webdata/web_data_service.h const base::string16& action); base 249 chrome/browser/webdata/web_data_service.h const base::string16& service_url); base 258 chrome/browser/webdata/web_data_service.h const base::string16& action); base 47 chrome/browser/webdata/web_data_service_factory.cc const base::FilePath& profile_path, base 71 chrome/browser/webdata/web_data_service_factory.cc base::FilePath profile_path = profile->GetPath(); base 72 chrome/browser/webdata/web_data_service_factory.cc base::FilePath path = profile_path.Append(kWebDataFilename); base 74 chrome/browser/webdata/web_data_service_factory.cc scoped_refptr<base::MessageLoopProxy> ui_thread = base 76 chrome/browser/webdata/web_data_service_factory.cc scoped_refptr<base::MessageLoopProxy> db_thread = base 104 chrome/browser/webdata/web_data_service_factory.cc web_database_, ui_thread, db_thread, base::Bind( base 109 chrome/browser/webdata/web_data_service_factory.cc web_database_, ui_thread, db_thread, base::Bind( base 114 chrome/browser/webdata/web_data_service_factory.cc web_database_, base::Bind(&ProfileErrorCallback, base 119 chrome/browser/webdata/web_data_service_factory.cc base::Bind(&InitSyncableServicesOnDBThread, base 12 chrome/browser/webdata/web_data_service_win.cc using base::Bind; base 16 chrome/common/auto_start_linux.cc const base::FilePath::CharType kAutostart[] = "autostart"; base 18 chrome/common/auto_start_linux.cc base::FilePath GetAutostartDirectory(base::Environment* environment) { base 19 chrome/common/auto_start_linux.cc base::FilePath result = base::nix::GetXDGDirectory( base 21 chrome/common/auto_start_linux.cc base::nix::kXdgConfigHomeEnvVar, base 22 chrome/common/auto_start_linux.cc base::nix::kDotConfigDir); base 33 chrome/common/auto_start_linux.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 34 chrome/common/auto_start_linux.cc base::FilePath autostart_directory = GetAutostartDirectory(environment.get()); base 35 chrome/common/auto_start_linux.cc if (!base::DirectoryExists(autostart_directory) && base 36 chrome/common/auto_start_linux.cc !base::CreateDirectory(autostart_directory)) { base 40 chrome/common/auto_start_linux.cc base::FilePath autostart_file = base 50 chrome/common/auto_start_linux.cc if (base::WriteFile(autostart_file, autostart_file_contents.c_str(), base 53 chrome/common/auto_start_linux.cc base::DeleteFile(autostart_file, false); base 60 chrome/common/auto_start_linux.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 61 chrome/common/auto_start_linux.cc base::FilePath autostart_directory = GetAutostartDirectory(environment.get()); base 62 chrome/common/auto_start_linux.cc base::FilePath autostart_file = base 64 chrome/common/auto_start_linux.cc return base::DeleteFile(autostart_file, false); base 69 chrome/common/auto_start_linux.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 70 chrome/common/auto_start_linux.cc base::FilePath autostart_directory = GetAutostartDirectory(environment.get()); base 71 chrome/common/auto_start_linux.cc base::FilePath autostart_file = base 73 chrome/common/auto_start_linux.cc return base::ReadFileToString(autostart_file, contents); base 82 chrome/common/auto_start_linux.cc base::StringTokenizer tokenizer(contents, "\n"); base 97 chrome/common/badge_util.cc const base::string16& text, base 98 chrome/common/badge_util.cc const base::string16& fallback) { base 106 chrome/common/badge_util.cc std::string badge_text = base::UTF16ToUTF8(text); base 114 chrome/common/badge_util.cc badge_text = base::UTF16ToUTF8(fallback); base 34 chrome/common/badge_util.h const base::string16& text, base 35 chrome/common/badge_util.h const base::string16& fallback); base 79 chrome/common/cast_messages.h IPC_STRUCT_TRAITS_MEMBER(base) base 86 chrome/common/cast_messages.h IPC_STRUCT_TRAITS_MEMBER(base) base 122 chrome/common/cast_messages.h base::TimeTicks /* time_sent */, base 145 chrome/common/cast_messages.h base::TimeTicks /* recorded_time */) base 151 chrome/common/cast_messages.h base::TimeTicks /* recorded_time */) base 26 chrome/common/child_process_logging_win.cc void SetCrashKeyValueTrampoline(const base::StringPiece& key, base 27 chrome/common/child_process_logging_win.cc const base::StringPiece& value) { base 38 chrome/common/child_process_logging_win.cc (set_crash_key)(base::UTF8ToWide(key).data(), base 39 chrome/common/child_process_logging_win.cc base::UTF8ToWide(value).data()); base 43 chrome/common/child_process_logging_win.cc void ClearCrashKeyValueTrampoline(const base::StringPiece& key) { base 54 chrome/common/child_process_logging_win.cc (clear_crash_key)(base::UTF8ToWide(key).data()); base 64 chrome/common/child_process_logging_win.cc base::debug::SetCrashKeyReportingFunctions( base 54 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutableNameChromium[] = base 56 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutableName[] = base 58 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutableNameChromium[] = base 60 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutableName[] = base 63 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutableNameChromium[] = base 65 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutableName[] = base 67 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutableNameChromium[] = base 69 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutableName[] = base 73 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutableName[] = FPL("chrome"); base 74 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutableNameChromium[] = base 76 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutableName[] = base 78 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutableNameChromium[] = FPL(""); base 80 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutableNameChromium[] = base 82 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutableName[] = FPL("chrome"); base 85 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutableNameChromium[] = base 87 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutableName[] = FPL("exe"); base 91 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutablePathChromium[] = base 93 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutablePath[] = base 95 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutablePathChromium[] = base 97 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutablePath[] = base 100 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutablePathChromium[] = base 102 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutablePath[] = base 104 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutablePathChromium[] = base 107 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutablePath[] = base 110 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutablePath[] = FPL("chrome"); base 111 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome"); base 112 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutablePathChromium[] = base 114 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutablePathChromium[] = base 117 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutablePathChromium[] = base 119 chrome/common/chrome_constants.cc const base::FilePath::CharType kBrowserProcessExecutablePath[] = FPL("chrome"); base 120 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutablePathChromium[] = base 122 chrome/common/chrome_constants.cc const base::FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome"); base 126 chrome/common/chrome_constants.cc const base::FilePath::CharType kFrameworkName[] = base 137 chrome/common/chrome_constants.cc const base::FilePath::CharType kMetroDriverDll[] = FPL("metro_driver.dll"); base 145 chrome/common/chrome_constants.cc const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); base 150 chrome/common/chrome_constants.cc const base::FilePath::CharType kAndroidCacheFilename[] = FPL("AndroidCache"); base 152 chrome/common/chrome_constants.cc const base::FilePath::CharType kArchivedHistoryFilename[] = base 154 chrome/common/chrome_constants.cc const base::FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks"); base 155 chrome/common/chrome_constants.cc const base::FilePath::CharType kCacheDirname[] = FPL("Cache"); base 156 chrome/common/chrome_constants.cc const base::FilePath::CharType kCookieFilename[] = FPL("Cookies"); base 157 chrome/common/chrome_constants.cc const base::FilePath::CharType kCRLSetFilename[] = base 159 chrome/common/chrome_constants.cc const base::FilePath::CharType kCLDDataFilename[] = base 161 chrome/common/chrome_constants.cc const base::FilePath::CharType kCustomDictionaryFileName[] = base 163 chrome/common/chrome_constants.cc const base::FilePath::CharType kExtensionActivityLogFilename[] = base 165 chrome/common/chrome_constants.cc const base::FilePath::CharType kExtensionsCookieFilename[] = base 167 chrome/common/chrome_constants.cc const base::FilePath::CharType kFaviconsFilename[] = FPL("Favicons"); base 168 chrome/common/chrome_constants.cc const base::FilePath::CharType kFirstRunSentinel[] = FPL("First Run"); base 169 chrome/common/chrome_constants.cc const base::FilePath::CharType kGCMStoreDirname[] = FPL("GCM Store"); base 170 chrome/common/chrome_constants.cc const base::FilePath::CharType kHistoryFilename[] = FPL("History"); base 171 chrome/common/chrome_constants.cc const base::FilePath::CharType kJumpListIconDirname[] = FPL("JumpListIcons"); base 172 chrome/common/chrome_constants.cc const base::FilePath::CharType kLocalStateFilename[] = FPL("Local State"); base 173 chrome/common/chrome_constants.cc const base::FilePath::CharType kLocalStorePoolName[] = FPL("LocalStorePool"); base 174 chrome/common/chrome_constants.cc const base::FilePath::CharType kLoginDataFileName[] = FPL("Login Data"); base 175 chrome/common/chrome_constants.cc const base::FilePath::CharType kManagedUserSettingsFilename[] = base 177 chrome/common/chrome_constants.cc const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); base 178 chrome/common/chrome_constants.cc const base::FilePath::CharType kNewTabThumbnailsFilename[] = base 180 chrome/common/chrome_constants.cc const base::FilePath::CharType kOBCertFilename[] = FPL("Origin Bound Certs"); base 181 chrome/common/chrome_constants.cc const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); base 182 chrome/common/chrome_constants.cc const base::FilePath::CharType kProtectedPreferencesFilename[] = base 184 chrome/common/chrome_constants.cc const base::FilePath::CharType kReadmeFilename[] = FPL("README"); base 185 chrome/common/chrome_constants.cc const base::FilePath::CharType kResetPromptMementoFilename[] = base 187 chrome/common/chrome_constants.cc const base::FilePath::CharType kSafeBrowsingBaseFilename[] = base 189 chrome/common/chrome_constants.cc const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State"); base 190 chrome/common/chrome_constants.cc const base::FilePath::CharType kShortcutsDatabaseName[] = FPL("Shortcuts"); base 191 chrome/common/chrome_constants.cc const base::FilePath::CharType kSingletonCookieFilename[] = base 193 chrome/common/chrome_constants.cc const base::FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock"); base 194 chrome/common/chrome_constants.cc const base::FilePath::CharType kSingletonSocketFilename[] = base 196 chrome/common/chrome_constants.cc const base::FilePath::CharType kSyncCredentialsFilename[] = base 198 chrome/common/chrome_constants.cc const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); base 199 chrome/common/chrome_constants.cc const base::FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails"); base 200 chrome/common/chrome_constants.cc const base::FilePath::CharType kTopSitesFilename[] = FPL("Top Sites"); base 201 chrome/common/chrome_constants.cc const base::FilePath::CharType kWebAppDirname[] = FPL("Web Applications"); base 204 chrome/common/chrome_constants.cc const base::FilePath::CharType kPepperFlashPluginFilename[] = base 18 chrome/common/chrome_constants.h extern const base::FilePath::CharType kBrowserProcessExecutableName[]; base 19 chrome/common/chrome_constants.h extern const base::FilePath::CharType kHelperProcessExecutableName[]; base 20 chrome/common/chrome_constants.h extern const base::FilePath::CharType kBrowserProcessExecutablePath[]; base 21 chrome/common/chrome_constants.h extern const base::FilePath::CharType kHelperProcessExecutablePath[]; base 22 chrome/common/chrome_constants.h extern const base::FilePath::CharType kBrowserProcessExecutableNameChromium[]; base 23 chrome/common/chrome_constants.h extern const base::FilePath::CharType kHelperProcessExecutableNameChromium[]; base 24 chrome/common/chrome_constants.h extern const base::FilePath::CharType kBrowserProcessExecutablePathChromium[]; base 25 chrome/common/chrome_constants.h extern const base::FilePath::CharType kHelperProcessExecutablePathChromium[]; base 31 chrome/common/chrome_constants.h extern const base::FilePath::CharType kFrameworkName[]; base 41 chrome/common/chrome_constants.h extern const base::FilePath::CharType* const kHelperFlavorSuffixes[]; base 44 chrome/common/chrome_constants.h extern const base::FilePath::CharType kMetroDriverDll[]; base 51 chrome/common/chrome_constants.h extern const base::FilePath::CharType kGuestProfileDir[]; base 56 chrome/common/chrome_constants.h extern const base::FilePath::CharType kAndroidCacheFilename[]; base 58 chrome/common/chrome_constants.h extern const base::FilePath::CharType kArchivedHistoryFilename[]; base 59 chrome/common/chrome_constants.h extern const base::FilePath::CharType kBookmarksFileName[]; base 60 chrome/common/chrome_constants.h extern const base::FilePath::CharType kCacheDirname[]; base 61 chrome/common/chrome_constants.h extern const base::FilePath::CharType kCookieFilename[]; base 62 chrome/common/chrome_constants.h extern const base::FilePath::CharType kCRLSetFilename[]; base 63 chrome/common/chrome_constants.h extern const base::FilePath::CharType kCLDDataFilename[]; base 64 chrome/common/chrome_constants.h extern const base::FilePath::CharType kCustomDictionaryFileName[]; base 65 chrome/common/chrome_constants.h extern const base::FilePath::CharType kExtensionActivityLogFilename[]; base 66 chrome/common/chrome_constants.h extern const base::FilePath::CharType kExtensionsCookieFilename[]; base 67 chrome/common/chrome_constants.h extern const base::FilePath::CharType kFaviconsFilename[]; base 68 chrome/common/chrome_constants.h extern const base::FilePath::CharType kFirstRunSentinel[]; base 69 chrome/common/chrome_constants.h extern const base::FilePath::CharType kGCMStoreDirname[]; base 70 chrome/common/chrome_constants.h extern const base::FilePath::CharType kHistoryFilename[]; base 71 chrome/common/chrome_constants.h extern const base::FilePath::CharType kJumpListIconDirname[]; base 72 chrome/common/chrome_constants.h extern const base::FilePath::CharType kLocalStateFilename[]; base 73 chrome/common/chrome_constants.h extern const base::FilePath::CharType kLocalStorePoolName[]; base 74 chrome/common/chrome_constants.h extern const base::FilePath::CharType kLoginDataFileName[]; base 75 chrome/common/chrome_constants.h extern const base::FilePath::CharType kManagedUserSettingsFilename[]; base 76 chrome/common/chrome_constants.h extern const base::FilePath::CharType kMediaCacheDirname[]; base 77 chrome/common/chrome_constants.h extern const base::FilePath::CharType kNewTabThumbnailsFilename[]; base 78 chrome/common/chrome_constants.h extern const base::FilePath::CharType kOBCertFilename[]; base 79 chrome/common/chrome_constants.h extern const base::FilePath::CharType kPreferencesFilename[]; base 80 chrome/common/chrome_constants.h extern const base::FilePath::CharType kProtectedPreferencesFilename[]; base 81 chrome/common/chrome_constants.h extern const base::FilePath::CharType kReadmeFilename[]; base 82 chrome/common/chrome_constants.h extern const base::FilePath::CharType kResetPromptMementoFilename[]; base 83 chrome/common/chrome_constants.h extern const base::FilePath::CharType kSafeBrowsingBaseFilename[]; base 84 chrome/common/chrome_constants.h extern const base::FilePath::CharType kServiceStateFileName[]; base 85 chrome/common/chrome_constants.h extern const base::FilePath::CharType kShortcutsDatabaseName[]; base 86 chrome/common/chrome_constants.h extern const base::FilePath::CharType kSingletonCookieFilename[]; base 87 chrome/common/chrome_constants.h extern const base::FilePath::CharType kSingletonLockFilename[]; base 88 chrome/common/chrome_constants.h extern const base::FilePath::CharType kSingletonSocketFilename[]; base 89 chrome/common/chrome_constants.h extern const base::FilePath::CharType kSyncCredentialsFilename[]; base 90 chrome/common/chrome_constants.h extern const base::FilePath::CharType kThemePackFilename[]; base 91 chrome/common/chrome_constants.h extern const base::FilePath::CharType kThumbnailsFilename[]; base 92 chrome/common/chrome_constants.h extern const base::FilePath::CharType kTopSitesFilename[]; base 93 chrome/common/chrome_constants.h extern const base::FilePath::CharType kWebAppDirname[]; base 96 chrome/common/chrome_constants.h extern const base::FilePath::CharType kPepperFlashPluginFilename[]; base 141 chrome/common/chrome_content_client.cc base::FilePath path; base 143 chrome/common/chrome_content_client.cc if (skip_pdf_file_check || base::PathExists(path)) { base 181 chrome/common/chrome_content_client.cc if (skip_nacl_file_check || base::PathExists(path)) { base 205 chrome/common/chrome_content_client.cc if (skip_o1d_file_check || base::PathExists(path)) { base 226 chrome/common/chrome_content_client.cc if (skip_effects_file_check || base::PathExists(path)) { base 245 chrome/common/chrome_content_client.cc if (skip_gtalk_file_check || base::PathExists(path)) { base 266 chrome/common/chrome_content_client.cc if (skip_widevine_cdm_file_check || base::PathExists(path)) { base 295 chrome/common/chrome_content_client.cc base::ASCIIToUTF16(kCdmSupportedCodecsParamName)); base 297 chrome/common/chrome_content_client.cc base::ASCIIToUTF16(codec_string)); base 316 chrome/common/chrome_content_client.cc info.path = base::FilePath::FromUTF8Unsafe( base 333 chrome/common/chrome_content_client.cc content::PepperPluginInfo CreatePepperFlashInfo(const base::FilePath& path, base 343 chrome/common/chrome_content_client.cc base::SplitString(version, '.', &flash_version_numbers); base 386 chrome/common/chrome_content_client.cc CreatePepperFlashInfo(base::FilePath(flash_path), flash_version)); base 405 chrome/common/chrome_content_client.cc if (!base::CPU().has_sse2()) base 409 chrome/common/chrome_content_client.cc base::FilePath flash_path; base 442 chrome/common/chrome_content_client.cc base::debug::SetCrashKeyValue(crash_keys::kActiveURL, base 448 chrome/common/chrome_content_client.cc base::debug::SetCrashKeyValue(crash_keys::kGPUVendorID, base 449 chrome/common/chrome_content_client.cc base::StringPrintf("0x%04x", gpu_info.gpu.vendor_id)); base 450 chrome/common/chrome_content_client.cc base::debug::SetCrashKeyValue(crash_keys::kGPUDeviceID, base 451 chrome/common/chrome_content_client.cc base::StringPrintf("0x%04x", gpu_info.gpu.device_id)); base 453 chrome/common/chrome_content_client.cc base::debug::SetCrashKeyValue(crash_keys::kGPUDriverVersion, base 455 chrome/common/chrome_content_client.cc base::debug::SetCrashKeyValue(crash_keys::kGPUPixelShaderVersion, base 457 chrome/common/chrome_content_client.cc base::debug::SetCrashKeyValue(crash_keys::kGPUVertexShaderVersion, base 460 chrome/common/chrome_content_client.cc base::debug::SetCrashKeyValue(crash_keys::kGPUGLVersion, gpu_info.gl_version); base 462 chrome/common/chrome_content_client.cc base::debug::SetCrashKeyValue(crash_keys::kGPUVendor, gpu_info.gl_vendor); base 463 chrome/common/chrome_content_client.cc base::debug::SetCrashKeyValue(crash_keys::kGPURenderer, gpu_info.gl_renderer); base 510 chrome/common/chrome_content_client.cc base::string16 ChromeContentClient::GetLocalizedString(int message_id) const { base 514 chrome/common/chrome_content_client.cc base::StringPiece ChromeContentClient::GetDataResource( base 521 chrome/common/chrome_content_client.cc base::RefCountedStaticMemory* ChromeContentClient::GetDataResourceBytes( base 35 chrome/common/chrome_content_client.h virtual base::string16 GetLocalizedString(int message_id) const OVERRIDE; base 36 chrome/common/chrome_content_client.h virtual base::StringPiece GetDataResource( base 39 chrome/common/chrome_content_client.h virtual base::RefCountedStaticMemory* GetDataResourceBytes( base 21 chrome/common/chrome_content_client_unittest.cc base::SplitStringUsingSubstr(buffer, "Mozilla/5.0 (", &pieces); base 26 chrome/common/chrome_content_client_unittest.cc base::SplitStringUsingSubstr(buffer, ") AppleWebKit/", &pieces); base 31 chrome/common/chrome_content_client_unittest.cc base::SplitStringUsingSubstr(buffer, " (KHTML, like Gecko) ", &pieces); base 36 chrome/common/chrome_content_client_unittest.cc base::SplitStringUsingSubstr(buffer, " Safari/", &pieces); base 34 chrome/common/chrome_paths.cc const base::FilePath::CharType kInternalFlashPluginFileName[] = base 44 chrome/common/chrome_paths.cc const base::FilePath::CharType kPepperFlashBaseDirectory[] = base 48 chrome/common/chrome_paths.cc const base::FilePath::CharType kInternalPDFPluginFileName[] = base 58 chrome/common/chrome_paths.cc const base::FilePath::CharType kInternalNaClPluginFileName[] = base 68 chrome/common/chrome_paths.cc const base::FilePath::CharType kEffectsPluginFileName[] = base 79 chrome/common/chrome_paths.cc const base::FilePath::CharType kO1DPluginFileName[] = base 82 chrome/common/chrome_paths.cc const base::FilePath::CharType kGTalkPluginFileName[] = base 90 chrome/common/chrome_paths.cc const base::FilePath::CharType kFilepathSinglePrefExtensions[] = base 98 chrome/common/chrome_paths.cc static base::LazyInstance<base::FilePath> base 102 chrome/common/chrome_paths.cc bool GetInternalPluginsDirectory(base::FilePath* result) { base 106 chrome/common/chrome_paths.cc if (base::mac::AmIBundled()) { base 116 chrome/common/chrome_paths.cc return PathService::Get(base::DIR_MODULE, result); base 123 chrome/common/chrome_paths.cc bool PathProvider(int key, base::FilePath* result) { base 127 chrome/common/chrome_paths.cc return PathService::Get(base::DIR_MODULE, result); base 135 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_EXE, result)) base 137 chrome/common/chrome_paths.cc if (base::mac::AmIBundled()) { base 148 chrome/common/chrome_paths.cc return PathService::Get(base::DIR_EXE, result); base 152 chrome/common/chrome_paths.cc return PathService::Get(base::FILE_MODULE, result); base 159 chrome/common/chrome_paths.cc base::FilePath cur; base 195 chrome/common/chrome_paths.cc if (!base::android::GetDownloadsDirectory(&cur)) base 207 chrome/common/chrome_paths.cc cur = base::FilePath("/var/log/chrome"); base 209 chrome/common/chrome_paths.cc if (!base::android::GetCacheDirectory(&cur)) base 224 chrome/common/chrome_paths.cc cur = base::mac::FrameworkBundlePath(); base 246 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_EXE, &cur)) base 320 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_EXE, &cur)) base 322 chrome/common/chrome_paths.cc if (base::mac::AmIBundled()) { base 339 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_MODULE, &cur)) base 344 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_MODULE, &cur)) base 368 chrome/common/chrome_paths.cc if (base::mac::AmIBundled()) { base 369 chrome/common/chrome_paths.cc cur = base::mac::FrameworkBundlePath(); base 380 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_MODULE, &cur)) base 386 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_MODULE, &cur)) base 419 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_MODULE, &cur)) base 422 chrome/common/chrome_paths.cc if (!base::PathExists(cur)) // We don't want to create this. base 426 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur)) base 431 chrome/common/chrome_paths.cc if (!base::PathExists(cur)) // We don't want to create this. base 435 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur)) base 440 chrome/common/chrome_paths.cc if (!base::PathExists(cur)) // We don't want to create this base 446 chrome/common/chrome_paths.cc cur = base::FilePath(FILE_PATH_LITERAL("/etc/opt/chrome/policies")); base 448 chrome/common/chrome_paths.cc cur = base::FilePath(FILE_PATH_LITERAL("/etc/chromium/policies")); base 462 chrome/common/chrome_paths.cc if (!base::PathExists(cur)) // We don't want to create this. base 469 chrome/common/chrome_paths.cc if (!base::PathExists(cur)) // We don't want to create this. base 476 chrome/common/chrome_paths.cc if (!base::PathExists(cur)) // We don't want to create this. base 491 chrome/common/chrome_paths.cc cur = base::FilePath(kFilepathSinglePrefExtensions); base 505 chrome/common/chrome_paths.cc if (!PathService::Get(base::DIR_MODULE, &cur)) base 515 chrome/common/chrome_paths.cc cur = base::mac::FrameworkBundlePath(); base 528 chrome/common/chrome_paths.cc cur = base::FilePath(FILE_PATH_LITERAL( base 531 chrome/common/chrome_paths.cc cur = base::FilePath(FILE_PATH_LITERAL( base 536 chrome/common/chrome_paths.cc cur = base::FilePath(FILE_PATH_LITERAL( base 539 chrome/common/chrome_paths.cc cur = base::FilePath(FILE_PATH_LITERAL( base 557 chrome/common/chrome_paths.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 558 chrome/common/chrome_paths.cc if (create_dir && !base::PathExists(cur) && base 559 chrome/common/chrome_paths.cc !base::CreateDirectory(cur)) base 572 chrome/common/chrome_paths.cc void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir) { base 576 chrome/common/chrome_paths.cc const base::FilePath& GetInvalidSpecifiedUserDataDir() { base 10 chrome/common/chrome_paths.h namespace base { base 133 chrome/common/chrome_paths.h void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); base 134 chrome/common/chrome_paths.h const base::FilePath& GetInvalidSpecifiedUserDataDir(); base 13 chrome/common/chrome_paths_android.cc void GetUserCacheDirectory(const base::FilePath& profile_dir, base 14 chrome/common/chrome_paths_android.cc base::FilePath* result) { base 15 chrome/common/chrome_paths_android.cc if (!PathService::Get(base::DIR_CACHE, result)) base 19 chrome/common/chrome_paths_android.cc bool GetDefaultUserDataDirectory(base::FilePath* result) { base 20 chrome/common/chrome_paths_android.cc return PathService::Get(base::DIR_ANDROID_APP_DATA, result); base 23 chrome/common/chrome_paths_android.cc bool GetUserDocumentsDirectory(base::FilePath* result) { base 30 chrome/common/chrome_paths_android.cc bool GetUserDownloadsDirectory(base::FilePath* result) { base 37 chrome/common/chrome_paths_android.cc bool GetUserMusicDirectory(base::FilePath* result) { base 42 chrome/common/chrome_paths_android.cc bool GetUserPicturesDirectory(base::FilePath* result) { base 47 chrome/common/chrome_paths_android.cc bool GetUserVideosDirectory(base::FilePath* result) { base 20 chrome/common/chrome_paths_internal.h namespace base { base 28 chrome/common/chrome_paths_internal.h bool GetDefaultUserDataDirectory(base::FilePath* result); base 37 chrome/common/chrome_paths_internal.h void GetUserCacheDirectory(const base::FilePath& profile_dir, base::FilePath* result); base 40 chrome/common/chrome_paths_internal.h bool GetUserDocumentsDirectory(base::FilePath* result); base 44 chrome/common/chrome_paths_internal.h bool GetUserDownloadsDirectorySafe(base::FilePath* result); base 48 chrome/common/chrome_paths_internal.h bool GetUserDownloadsDirectory(base::FilePath* result); base 51 chrome/common/chrome_paths_internal.h bool GetUserMusicDirectory(base::FilePath* result); base 54 chrome/common/chrome_paths_internal.h bool GetUserPicturesDirectory(base::FilePath* result); base 57 chrome/common/chrome_paths_internal.h bool GetUserVideosDirectory(base::FilePath* result); base 64 chrome/common/chrome_paths_internal.h base::FilePath GetVersionedDirectory(); base 71 chrome/common/chrome_paths_internal.h void SetOverrideVersionedDirectory(const base::FilePath* path); base 78 chrome/common/chrome_paths_internal.h base::FilePath GetFrameworkBundlePath(); base 81 chrome/common/chrome_paths_internal.h bool GetLocalLibraryDirectory(base::FilePath* result); base 84 chrome/common/chrome_paths_internal.h bool GetUserLibraryDirectory(base::FilePath* result); base 87 chrome/common/chrome_paths_internal.h bool GetUserApplicationsDirectory(base::FilePath* result); base 90 chrome/common/chrome_paths_internal.h bool GetGlobalApplicationSupportDirectory(base::FilePath* result); base 103 chrome/common/chrome_paths_internal.h base::FilePath* result); base 15 chrome/common/chrome_paths_linux.cc using base::nix::GetXDGDirectory; base 16 chrome/common/chrome_paths_linux.cc using base::nix::GetXDGUserDirectory; base 17 chrome/common/chrome_paths_linux.cc using base::nix::kDotConfigDir; base 18 chrome/common/chrome_paths_linux.cc using base::nix::kXdgConfigHomeEnvVar; base 30 chrome/common/chrome_paths_linux.cc base::FilePath* result) { base 37 chrome/common/chrome_paths_linux.cc base::FilePath home = base::GetHomeDir(); base 39 chrome/common/chrome_paths_linux.cc base::FilePath desktop; base 40 chrome/common/chrome_paths_linux.cc if (!PathService::Get(base::DIR_USER_DESKTOP, &desktop)) base 59 chrome/common/chrome_paths_linux.cc bool GetDefaultUserDataDirectory(base::FilePath* result) { base 60 chrome/common/chrome_paths_linux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 61 chrome/common/chrome_paths_linux.cc base::FilePath config_dir(GetXDGDirectory(env.get(), base 72 chrome/common/chrome_paths_linux.cc void GetUserCacheDirectory(const base::FilePath& profile_dir, base 73 chrome/common/chrome_paths_linux.cc base::FilePath* result) { base 85 chrome/common/chrome_paths_linux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 87 chrome/common/chrome_paths_linux.cc base::FilePath cache_dir; base 88 chrome/common/chrome_paths_linux.cc if (!PathService::Get(base::DIR_CACHE, &cache_dir)) base 90 chrome/common/chrome_paths_linux.cc base::FilePath config_dir(GetXDGDirectory(env.get(), base 100 chrome/common/chrome_paths_linux.cc bool GetUserDocumentsDirectory(base::FilePath* result) { base 105 chrome/common/chrome_paths_linux.cc bool GetUserDownloadsDirectorySafe(base::FilePath* result) { base 106 chrome/common/chrome_paths_linux.cc base::FilePath home = base::GetHomeDir(); base 111 chrome/common/chrome_paths_linux.cc bool GetUserDownloadsDirectory(base::FilePath* result) { base 118 chrome/common/chrome_paths_linux.cc bool GetUserMusicDirectory(base::FilePath* result) { base 124 chrome/common/chrome_paths_linux.cc bool GetUserPicturesDirectory(base::FilePath* result) { base 130 chrome/common/chrome_paths_linux.cc bool GetUserVideosDirectory(base::FilePath* result) { base 18 chrome/common/chrome_paths_unittest.cc base::FilePath test_profile_dir, cache_dir; base 20 chrome/common/chrome_paths_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_APP_DATA, &test_profile_dir)); base 22 chrome/common/chrome_paths_unittest.cc base::FilePath expected_cache_dir; base 23 chrome/common/chrome_paths_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_CACHE, &expected_cache_dir)); base 29 chrome/common/chrome_paths_unittest.cc base::FilePath expected_cache_dir; base 30 chrome/common/chrome_paths_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_CACHE, &expected_cache_dir)); base 32 chrome/common/chrome_paths_unittest.cc base::FilePath homedir = base::GetHomeDir(); base 36 chrome/common/chrome_paths_unittest.cc base::FilePath expected_cache_dir = homedir.Append(".cache/foobar"); base 48 chrome/common/chrome_paths_unittest.cc test_profile_dir = base::FilePath(FILE_PATH_LITERAL("/some/other/path")); base 27 chrome/common/chrome_paths_win.cc bool GetUserDirectory(int csidl_folder, base::FilePath* result) { base 39 chrome/common/chrome_paths_win.cc *result = base::FilePath(path_buf); base 45 chrome/common/chrome_paths_win.cc bool GetDefaultUserDataDirectory(base::FilePath* result) { base 46 chrome/common/chrome_paths_win.cc if (!PathService::Get(base::DIR_LOCAL_APP_DATA, result)) base 54 chrome/common/chrome_paths_win.cc void GetUserCacheDirectory(const base::FilePath& profile_dir, base 55 chrome/common/chrome_paths_win.cc base::FilePath* result) { base 60 chrome/common/chrome_paths_win.cc bool GetUserDocumentsDirectory(base::FilePath* result) { base 68 chrome/common/chrome_paths_win.cc bool GetUserDownloadsDirectorySafe(base::FilePath* result) { base 79 chrome/common/chrome_paths_win.cc bool GetUserDownloadsDirectory(base::FilePath* result) { base 84 chrome/common/chrome_paths_win.cc base::win::ScopedCoMem<wchar_t> path_buf; base 86 chrome/common/chrome_paths_win.cc *result = base::FilePath(std::wstring(path_buf)); base 92 chrome/common/chrome_paths_win.cc bool GetUserMusicDirectory(base::FilePath* result) { base 96 chrome/common/chrome_paths_win.cc bool GetUserPicturesDirectory(base::FilePath* result) { base 100 chrome/common/chrome_paths_win.cc bool GetUserVideosDirectory(base::FilePath* result) { base 34 chrome/common/chrome_utility_messages.h typedef std::vector<Tuple2<SkBitmap, base::FilePath> > DecodedImages; base 157 chrome/common/chrome_utility_messages.h base::FilePath /* extension_filename */, base 183 chrome/common/chrome_utility_messages.h base::PlatformFile, // PDF file base 184 chrome/common/chrome_utility_messages.h base::FilePath, // Location for output metafile base 223 chrome/common/chrome_utility_messages.h base::FilePath /* input_file */, base 224 chrome/common/chrome_utility_messages.h base::FilePath /* patch_file */, base 225 chrome/common/chrome_utility_messages.h base::FilePath /* output_file */) base 231 chrome/common/chrome_utility_messages.h base::FilePath /* input_file */, base 232 chrome/common/chrome_utility_messages.h base::FilePath /* patch_file */, base 233 chrome/common/chrome_utility_messages.h base::FilePath /* output_file */) base 238 chrome/common/chrome_utility_messages.h base::FilePath /* src_dir */, base 239 chrome/common/chrome_utility_messages.h std::vector<base::FilePath> /* src_relative_paths */, base 240 chrome/common/chrome_utility_messages.h base::FileDescriptor /* dest_fd */) base 307 chrome/common/chrome_utility_messages.h base::FilePath /* source file */, base 308 chrome/common/chrome_utility_messages.h base::FilePath /* target file */) base 314 chrome/common/chrome_utility_messages.h base::FilePath /* source file */, base 315 chrome/common/chrome_utility_messages.h base::FilePath /* target file */) base 332 chrome/common/chrome_utility_messages.h base::DictionaryValue /* manifest */) base 337 chrome/common/chrome_utility_messages.h base::string16 /* error_message, if any */) base 342 chrome/common/chrome_utility_messages.h base::DictionaryValue /* json data */) base 388 chrome/common/chrome_utility_messages.h base::ListValue) base 447 chrome/common/chrome_utility_messages.h base::FilePath /* Path to iTunes library */) base 486 chrome/common/chrome_utility_messages.h base::DictionaryValue /* metadata */) base 31 chrome/common/chrome_version_info.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 45 chrome/common/chrome_version_info.cc return base::UTF16ToUTF8(version_info_->product_name()); base 51 chrome/common/chrome_version_info.cc return base::UTF16ToUTF8(version_info_->product_version()); base 57 chrome/common/chrome_version_info.cc return base::UTF16ToUTF8(version_info_->last_change()); base 28 chrome/common/chrome_version_info_android.cc const base::android::BuildInfo* bi = base::android::BuildInfo::GetInstance(); base 21 chrome/common/chrome_version_info_win.cc base::FilePath module; base 22 chrome/common/chrome_version_info_win.cc base::string16 channel; base 23 chrome/common/chrome_version_info_win.cc if (PathService::Get(base::FILE_MODULE, &module)) { base 31 chrome/common/chrome_version_info_win.cc if (base::debug::IsBinaryInstrumented()) base 34 chrome/common/chrome_version_info_win.cc return base::UTF16ToASCII(channel); base 45 chrome/common/chrome_version_info_win.cc base::FilePath module; base 46 chrome/common/chrome_version_info_win.cc if (PathService::Get(base::FILE_MODULE, &module)) { base 33 chrome/common/cloud_print/cloud_print_helpers.cc base::SysInfo::OperatingSystemName(); base 35 chrome/common/cloud_print/cloud_print_helpers.cc base::SysInfo::OperatingSystemVersion(); base 47 chrome/common/cloud_print/cloud_print_helpers.cc return base::MD5String(values_list); base 80 chrome/common/cloud_print/cloud_print_helpers.cc std::string query = base::StringPrintf("proxy=%s", proxy_id.c_str()); base 97 chrome/common/cloud_print/cloud_print_helpers.cc std::string query = base::StringPrintf("printerid=%s", printer_id.c_str()); base 108 chrome/common/cloud_print/cloud_print_helpers.cc std::string query = base::StringPrintf( base 120 chrome/common/cloud_print/cloud_print_helpers.cc std::string query = base::StringPrintf( base 132 chrome/common/cloud_print/cloud_print_helpers.cc std::string query = base::StringPrintf( base 143 chrome/common/cloud_print/cloud_print_helpers.cc std::string query = base::StringPrintf("jobid=%s", job_id.c_str()); base 155 chrome/common/cloud_print/cloud_print_helpers.cc std::string query = base::StringPrintf( base 167 chrome/common/cloud_print/cloud_print_helpers.cc std::string query = base::StringPrintf("code=%s", message_id.c_str()); base 180 chrome/common/cloud_print/cloud_print_helpers.cc std::string query = base::StringPrintf("oauth_client_id=%s&proxy=%s", base 187 chrome/common/cloud_print/cloud_print_helpers.cc scoped_ptr<base::DictionaryValue> ParseResponseJSON( base 190 chrome/common/cloud_print/cloud_print_helpers.cc scoped_ptr<base::Value> message_value(base::JSONReader::Read(response_data)); base 192 chrome/common/cloud_print/cloud_print_helpers.cc return scoped_ptr<base::DictionaryValue>(); base 194 chrome/common/cloud_print/cloud_print_helpers.cc if (!message_value->IsType(base::Value::TYPE_DICTIONARY)) base 195 chrome/common/cloud_print/cloud_print_helpers.cc return scoped_ptr<base::DictionaryValue>(); base 197 chrome/common/cloud_print/cloud_print_helpers.cc scoped_ptr<base::DictionaryValue> response_dict( base 198 chrome/common/cloud_print/cloud_print_helpers.cc static_cast<base::DictionaryValue*>(message_value.release())); base 211 chrome/common/cloud_print/cloud_print_helpers.cc int r1 = base::RandInt(0, kint32max); base 212 chrome/common/cloud_print/cloud_print_helpers.cc int r2 = base::RandInt(0, kint32max); base 213 chrome/common/cloud_print/cloud_print_helpers.cc base::SStringPrintf(out, "---------------------------%08X%08X", r1, r2); base 236 chrome/common/cloud_print/cloud_print_helpers.cc std::string msg = base::StringPrintf("%s%s=%s", base 241 chrome/common/cloud_print/cloud_print_helpers.cc std::string tags_hash_msg = base::StringPrintf("%s=%s", base 250 chrome/common/cloud_print/cloud_print_helpers.cc return base::StringPrintf("Authorization: OAuth %s", auth_token.c_str()); base 16 chrome/common/cloud_print/cloud_print_helpers.h namespace base { base 66 chrome/common/cloud_print/cloud_print_helpers.h scoped_ptr<base::DictionaryValue> ParseResponseJSON( base 23 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf("%ssearch", expected_url_base.c_str()), base 26 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf("%ssubmit", expected_url_base.c_str()), base 29 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf("%slist?proxy=demoproxy", base 34 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf("%sregister", expected_url_base.c_str()), base 37 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf("%supdate?printerid=printeridfoo", base 41 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf("%sdelete?printerid=printeridbar&reason=deleted", base 46 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf("%sfetch?printerid=myprinter&deb=nogoodreason", base 51 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf("%sdeletejob?jobid=myprinter", base 55 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf( base 61 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf("%smessage?code=testmsg", base 65 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::StringPrintf( base 87 chrome/common/cloud_print/cloud_print_helpers_unittest.cc std::string expected_list_string = base::StringPrintf( base 90 chrome/common/cloud_print/cloud_print_helpers_unittest.cc base::SysInfo::OperatingSystemName().c_str(), base 91 chrome/common/cloud_print/cloud_print_helpers_unittest.cc base::SysInfo::OperatingSystemVersion().c_str()); base 92 chrome/common/cloud_print/cloud_print_helpers_unittest.cc EXPECT_EQ(base::MD5String(expected_list_string), base 102 chrome/common/cloud_print/cloud_print_helpers_unittest.cc std::string expected = base::StringPrintf( base 116 chrome/common/cloud_print/cloud_print_helpers_unittest.cc base::SysInfo::OperatingSystemName().c_str(), base 117 chrome/common/cloud_print/cloud_print_helpers_unittest.cc base::SysInfo::OperatingSystemVersion().c_str(), base 25 chrome/common/content_settings_helper.cc base::string16 OriginToString16(const GURL& origin) { base 26 chrome/common/content_settings_helper.cc return base::UTF8ToUTF16(OriginToString(origin)); base 19 chrome/common/content_settings_helper.h base::string16 OriginToString16(const GURL& origin); base 27 chrome/common/content_settings_helper_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("www.foo.com"), base 29 chrome/common/content_settings_helper_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("foo.com"), base 32 chrome/common/content_settings_helper_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("www.foo.com:81"), base 34 chrome/common/content_settings_helper_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("foo.com:81"), base 38 chrome/common/content_settings_helper_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("https://www.foo.com"), base 40 chrome/common/content_settings_helper_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("https://foo.com"), base 43 chrome/common/content_settings_helper_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("https://www.foo.com:81"), base 45 chrome/common/content_settings_helper_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("https://foo.com:81"), base 55 chrome/common/content_settings_pattern.cc base::SplitString(str1, '.', &domain_name1); base 56 chrome/common/content_settings_pattern.cc base::SplitString(str2, '.', &domain_name2); base 117 chrome/common/crash_keys.cc base::debug::CrashKey fixed_keys[] = { base 168 chrome/common/crash_keys.cc std::vector<base::debug::CrashKey> keys( base 181 chrome/common/crash_keys.cc int n = base::snprintf( base 184 chrome/common/crash_keys.cc base::debug::CrashKey crash_key = { formatted_keys[i], kSmallSize }; base 195 chrome/common/crash_keys.cc int n = base::snprintf( base 198 chrome/common/crash_keys.cc base::debug::CrashKey crash_key = { formatted_keys[i], kSmallSize }; base 210 chrome/common/crash_keys.cc int n = base::snprintf( base 213 chrome/common/crash_keys.cc base::debug::CrashKey crash_key = { formatted_keys[i], kSmallSize }; base 218 chrome/common/crash_keys.cc return base::debug::InitCrashKeys(&keys.at(0), keys.size(), base 229 chrome/common/crash_keys.cc base::debug::SetCrashKeyValue(kClientID, guid); base 273 chrome/common/crash_keys.cc base::debug::SetCrashKeyValue(kNumSwitches, base 274 chrome/common/crash_keys.cc base::StringPrintf("%" PRIuS, argv.size() - 1)); base 281 chrome/common/crash_keys.cc std::string switch_str = base::WideToUTF8(argv[i]); base 294 chrome/common/crash_keys.cc std::string key = base::StringPrintf(kSwitch, key_i++); base 295 chrome/common/crash_keys.cc base::debug::SetCrashKeyValue(key, switch_str); base 300 chrome/common/crash_keys.cc base::debug::ClearCrashKey(base::StringPrintf(kSwitch, key_i)); base 305 chrome/common/crash_keys.cc base::debug::SetCrashKeyValue(kNumVariations, base 306 chrome/common/crash_keys.cc base::StringPrintf("%" PRIuS, variations.size())); base 320 chrome/common/crash_keys.cc base::debug::SetCrashKeyValue(kVariations, variations_string); base 324 chrome/common/crash_keys.cc base::debug::SetCrashKeyValue(kNumExtensionsCount, base 325 chrome/common/crash_keys.cc base::StringPrintf("%" PRIuS, extensions.size())); base 329 chrome/common/crash_keys.cc std::string key = base::StringPrintf(kExtensionID, i + 1); base 331 chrome/common/crash_keys.cc base::debug::ClearCrashKey(key); base 333 chrome/common/crash_keys.cc base::debug::SetCrashKeyValue(key, *it); base 339 chrome/common/crash_keys.cc ScopedPrinterInfo::ScopedPrinterInfo(const base::StringPiece& data) { base 341 chrome/common/crash_keys.cc base::SplitString(data.as_string(), ';', &info); base 343 chrome/common/crash_keys.cc std::string key = base::StringPrintf(kPrinterInfo, i + 1); base 347 chrome/common/crash_keys.cc base::debug::SetCrashKeyValue(key, value); base 353 chrome/common/crash_keys.cc std::string key = base::StringPrintf(kPrinterInfo, i + 1); base 354 chrome/common/crash_keys.cc base::debug::ClearCrashKey(key); base 14 chrome/common/crash_keys.h namespace base { base 28 chrome/common/crash_keys.h void SetSwitchesFromCommandLine(const base::CommandLine* command_line); base 45 chrome/common/crash_keys.h explicit ScopedPrinterInfo(const base::StringPiece& data); base 22 chrome/common/crash_keys_unittest.cc base::debug::SetCrashKeyReportingFunctions( base 28 chrome/common/crash_keys_unittest.cc base::debug::ResetCrashLoggingForTesting(); base 44 chrome/common/crash_keys_unittest.cc static void SetCrashKeyValue(const base::StringPiece& key, base 45 chrome/common/crash_keys_unittest.cc const base::StringPiece& value) { base 49 chrome/common/crash_keys_unittest.cc static void ClearCrashKey(const base::StringPiece& key) { base 65 chrome/common/crash_keys_unittest.cc command_line.AppendSwitch(base::StringPrintf("--flag-%d", i)); base 79 chrome/common/crash_keys_unittest.cc command_line.AppendSwitch(base::StringPrintf("--many-%d", i)); base 92 chrome/common/crash_keys_unittest.cc command_line.AppendSwitch(base::StringPrintf("--fewer-%d", i)); base 100 chrome/common/crash_keys_unittest.cc EXPECT_FALSE(HasCrashKey(base::StringPrintf(crash_keys::kSwitch, i))); base 129 chrome/common/crash_keys_unittest.cc extensions.insert(base::StringPrintf("ext.%d", i)); base 134 chrome/common/crash_keys_unittest.cc GetKeyValue(base::StringPrintf(crash_keys::kExtensionID, i))); base 147 chrome/common/crash_keys_unittest.cc extensions.insert(base::StringPrintf("ext.%d", i)); base 159 chrome/common/crash_keys_unittest.cc std::string key = base::StringPrintf(crash_keys::kExtensionID, i); base 14 chrome/common/custom_handlers/protocol_handler.cc const base::string16& title) base 23 chrome/common/custom_handlers/protocol_handler.cc const base::string16& title) { base 31 chrome/common/custom_handlers/protocol_handler.cc bool ProtocolHandler::IsValidDict(const base::DictionaryValue* value) { base 47 chrome/common/custom_handlers/protocol_handler.cc const base::DictionaryValue* value) { base 52 chrome/common/custom_handlers/protocol_handler.cc base::string16 title; base 66 chrome/common/custom_handlers/protocol_handler.cc base::DictionaryValue* ProtocolHandler::Encode() const { base 67 chrome/common/custom_handlers/protocol_handler.cc base::DictionaryValue* d = new base::DictionaryValue(); base 68 chrome/common/custom_handlers/protocol_handler.cc d->Set("protocol", new base::StringValue(protocol_)); base 69 chrome/common/custom_handlers/protocol_handler.cc d->Set("url", new base::StringValue(url_.spec())); base 70 chrome/common/custom_handlers/protocol_handler.cc d->Set("title", new base::StringValue(title_)); base 78 chrome/common/custom_handlers/protocol_handler.cc ", title=" + base::UTF16ToASCII(title_) + base 20 chrome/common/custom_handlers/protocol_handler.h const base::string16& title); base 25 chrome/common/custom_handlers/protocol_handler.h const base::DictionaryValue* value); base 29 chrome/common/custom_handlers/protocol_handler.h static bool IsValidDict(const base::DictionaryValue* value); base 47 chrome/common/custom_handlers/protocol_handler.h base::DictionaryValue* Encode() const; base 51 chrome/common/custom_handlers/protocol_handler.h const base::string16& title() const { return title_; } base 69 chrome/common/custom_handlers/protocol_handler.h const base::string16& title); base 74 chrome/common/custom_handlers/protocol_handler.h base::string16 title_; base 36 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.cc const base::Value& value, base 37 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.cc base::string16* error) { base 37 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.h static scoped_ptr<BluetoothManifestData> FromValue(const base::Value& value, base 38 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.h base::string16* error); base 19 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc base::string16* error) { base 20 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc const base::Value* bluetooth = NULL; base 27 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 33 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc base::string16* error) { base 46 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc base::string16* error) { base 65 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc const base::Value& value, base 66 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc base::string16* error) { base 123 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc bool BluetoothManifestPermission::FromValue(const base::Value* value) { base 126 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc base::string16 error; base 137 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc scoped_ptr<base::Value> BluetoothManifestPermission::ToValue() const { base 141 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc return bluetooth.ToValue().PassAs<base::Value>(); base 158 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc result->uuids_ = base::STLSetDifference<BluetoothUuidSet>( base 170 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc result->uuids_ = base::STLSetUnion<BluetoothUuidSet>( base 182 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc result->uuids_ = base::STLSetIntersection<BluetoothUuidSet>( base 192 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc return base::STLIncludes(uuids_, other->uuids_); base 33 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.h const base::Value& value, base 34 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.h base::string16* error); base 46 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.h virtual bool FromValue(const base::Value* value) OVERRIDE; base 47 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.h virtual scoped_ptr<base::Value> ToValue() const OVERRIDE; base 58 chrome/common/extensions/api/commands/commands_handler.cc bool CommandsHandler::Parse(Extension* extension, base::string16* error) { base 67 chrome/common/extensions/api/commands/commands_handler.cc const base::DictionaryValue* dict = NULL; base 69 chrome/common/extensions/api/commands/commands_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidCommandsKey); base 77 chrome/common/extensions/api/commands/commands_handler.cc for (base::DictionaryValue::Iterator iter(*dict); !iter.IsAtEnd(); base 81 chrome/common/extensions/api/commands/commands_handler.cc const base::DictionaryValue* command = NULL; base 85 chrome/common/extensions/api/commands/commands_handler.cc base::IntToString(command_index)); base 103 chrome/common/extensions/api/commands/commands_handler.cc base::IntToString(kMaxCommandsWithKeybindingPerExtension)); base 139 chrome/common/extensions/api/commands/commands_handler.cc base::string16(), base 41 chrome/common/extensions/api/commands/commands_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 48 chrome/common/extensions/api/commands/commands_manifest_unittest.cc base::UTF16ToASCII(named_command->description()).c_str()); base 56 chrome/common/extensions/api/commands/commands_manifest_unittest.cc ASSERT_STREQ("", base::UTF16ToASCII(browser_action->description()).c_str()); base 64 chrome/common/extensions/api/commands/commands_manifest_unittest.cc ASSERT_STREQ("", base::UTF16ToASCII(page_action->description()).c_str()); base 56 chrome/common/extensions/api/extension_action/action_info.cc const base::DictionaryValue* dict, base 57 chrome/common/extensions/api/extension_action/action_info.cc base::string16* error) { base 63 chrome/common/extensions/api/extension_action/action_info.cc const base::ListValue* icons = NULL; base 66 chrome/common/extensions/api/extension_action/action_info.cc base::ListValue::const_iterator iter = icons->begin(); base 71 chrome/common/extensions/api/extension_action/action_info.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionIconPath); base 80 chrome/common/extensions/api/extension_action/action_info.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionId); base 91 chrome/common/extensions/api/extension_action/action_info.cc const base::DictionaryValue* icons_value = NULL; base 108 chrome/common/extensions/api/extension_action/action_info.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionIconPath); base 118 chrome/common/extensions/api/extension_action/action_info.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionDefaultTitle); base 123 chrome/common/extensions/api/extension_action/action_info.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionName); base 146 chrome/common/extensions/api/extension_action/action_info.cc const base::DictionaryValue* popup = NULL; base 159 chrome/common/extensions/api/extension_action/action_info.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionPopup); base 15 chrome/common/extensions/api/extension_action/action_info.h namespace base { base 36 chrome/common/extensions/api/extension_action/action_info.h const base::DictionaryValue* dict, base 37 chrome/common/extensions/api/extension_action/action_info.h base::string16* error); base 27 chrome/common/extensions/api/extension_action/browser_action_handler.cc base::string16* error) { base 28 chrome/common/extensions/api/extension_action/browser_action_handler.cc const base::DictionaryValue* dict = NULL; base 31 chrome/common/extensions/api/extension_action/browser_action_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidBrowserAction); base 22 chrome/common/extensions/api/extension_action/browser_action_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 97 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc scoped_ptr<base::DictionaryValue> manifest_value = DictionaryBuilder() base 106 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc base::string16 error = ErrorUtils::FormatErrorMessageUTF16( base 26 chrome/common/extensions/api/extension_action/page_action_handler.cc bool PageActionHandler::Parse(Extension* extension, base::string16* error) { base 28 chrome/common/extensions/api/extension_action/page_action_handler.cc const base::DictionaryValue* page_action_value = NULL; base 31 chrome/common/extensions/api/extension_action/page_action_handler.cc const base::ListValue* list_value = NULL; base 33 chrome/common/extensions/api/extension_action/page_action_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionsList); base 44 chrome/common/extensions/api/extension_action/page_action_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageAction); base 48 chrome/common/extensions/api/extension_action/page_action_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionsListSize); base 54 chrome/common/extensions/api/extension_action/page_action_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageAction); base 61 chrome/common/extensions/api/extension_action/page_action_handler.cc *error = base::ASCIIToUTF16(errors::kOneUISurfaceOnly); base 22 chrome/common/extensions/api/extension_action/page_action_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 128 chrome/common/extensions/api/extension_api_unittest.cc base::FilePath api_features_path; base 135 chrome/common/extensions/api/extension_api_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 138 chrome/common/extensions/api/extension_api_unittest.cc scoped_ptr<base::DictionaryValue> value(static_cast<base::DictionaryValue*>( base 139 chrome/common/extensions/api/extension_api_unittest.cc base::JSONReader::Read(api_features_str))); base 224 chrome/common/extensions/api/extension_api_unittest.cc base::FilePath api_features_path; base 231 chrome/common/extensions/api/extension_api_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 234 chrome/common/extensions/api/extension_api_unittest.cc scoped_ptr<base::DictionaryValue> value(static_cast<base::DictionaryValue*>( base 235 chrome/common/extensions/api/extension_api_unittest.cc base::JSONReader::Read(api_features_str))); base 241 chrome/common/extensions/api/extension_api_unittest.cc for (base::DictionaryValue::Iterator iter(*value); !iter.IsAtEnd(); base 296 chrome/common/extensions/api/extension_api_unittest.cc base::FilePath api_features_path; base 303 chrome/common/extensions/api/extension_api_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 306 chrome/common/extensions/api/extension_api_unittest.cc scoped_ptr<base::DictionaryValue> value(static_cast<base::DictionaryValue*>( base 307 chrome/common/extensions/api/extension_api_unittest.cc base::JSONReader::Read(api_features_str))); base 313 chrome/common/extensions/api/extension_api_unittest.cc for (base::DictionaryValue::Iterator iter(*value); !iter.IsAtEnd(); base 355 chrome/common/extensions/api/extension_api_unittest.cc base::DictionaryValue manifest; base 360 chrome/common/extensions/api/extension_api_unittest.cc scoped_ptr<base::ListValue> permissions_list(new base::ListValue()); base 363 chrome/common/extensions/api/extension_api_unittest.cc permissions_list->Append(new base::StringValue(*i)); base 370 chrome/common/extensions/api/extension_api_unittest.cc base::FilePath(), Manifest::UNPACKED, base 457 chrome/common/extensions/api/extension_api_unittest.cc base::DictionaryValue values; base 460 chrome/common/extensions/api/extension_api_unittest.cc values.Set(manifest_keys::kWebURLs, new base::ListValue()); base 465 chrome/common/extensions/api/extension_api_unittest.cc base::FilePath(), Manifest::INTERNAL, values, Extension::NO_FLAGS, base 473 chrome/common/extensions/api/extension_api_unittest.cc base::DictionaryValue values; base 479 chrome/common/extensions/api/extension_api_unittest.cc base::DictionaryValue* app = new base::DictionaryValue(); base 480 chrome/common/extensions/api/extension_api_unittest.cc base::DictionaryValue* background = new base::DictionaryValue(); base 481 chrome/common/extensions/api/extension_api_unittest.cc base::ListValue* scripts = new base::ListValue(); base 482 chrome/common/extensions/api/extension_api_unittest.cc scripts->Append(new base::StringValue("test.js")); base 487 chrome/common/extensions/api/extension_api_unittest.cc scoped_ptr<base::ListValue> permissions_list(new base::ListValue()); base 490 chrome/common/extensions/api/extension_api_unittest.cc permissions_list->Append(new base::StringValue(*i)); base 497 chrome/common/extensions/api/extension_api_unittest.cc base::FilePath(), Manifest::INTERNAL, values, Extension::NO_FLAGS, base 718 chrome/common/extensions/api/extension_api_unittest.cc scoped_ptr<base::DictionaryValue> api_features1(new base::DictionaryValue()); base 719 chrome/common/extensions/api/extension_api_unittest.cc scoped_ptr<base::DictionaryValue> api_features2(new base::DictionaryValue()); base 720 chrome/common/extensions/api/extension_api_unittest.cc base::DictionaryValue* test1 = new base::DictionaryValue(); base 721 chrome/common/extensions/api/extension_api_unittest.cc base::DictionaryValue* test2 = new base::DictionaryValue(); base 722 chrome/common/extensions/api/extension_api_unittest.cc base::ListValue* contexts = new base::ListValue(); base 723 chrome/common/extensions/api/extension_api_unittest.cc contexts->Append(new base::StringValue("content_script")); base 731 chrome/common/extensions/api/extension_api_unittest.cc base::DictionaryValue* api_features; base 747 chrome/common/extensions/api/extension_api_unittest.cc static void GetDictionaryFromList(const base::DictionaryValue* schema, base 750 chrome/common/extensions/api/extension_api_unittest.cc const base::DictionaryValue** out) { base 751 chrome/common/extensions/api/extension_api_unittest.cc const base::ListValue* list; base 757 chrome/common/extensions/api/extension_api_unittest.cc base::FilePath manifest_path; base 764 chrome/common/extensions/api/extension_api_unittest.cc ASSERT_TRUE(base::ReadFileToString(manifest_path, &manifest_str)) base 771 chrome/common/extensions/api/extension_api_unittest.cc const base::DictionaryValue* schema = api.GetSchema("test.foo"); base 773 chrome/common/extensions/api/extension_api_unittest.cc const base::DictionaryValue* dict; base 774 chrome/common/extensions/api/extension_api_unittest.cc const base::DictionaryValue* sub_dict; base 783 chrome/common/extensions/api/extension_api_unittest.cc const base::DictionaryValue* property; base 135 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc const base::DictionaryValue* file_browser_handler, base 136 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc base::string16* error) { base 144 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionId); base 153 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionDefaultTitle); base 159 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc const base::ListValue* access_list_value = NULL; base 164 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidFileAccessList); base 172 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc errors::kInvalidFileAccessValue, base::IntToString(i)); base 178 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidFileAccessList); base 185 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc const base::ListValue* file_filters = NULL; base 188 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidFileFiltersList); base 195 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc errors::kInvalidFileFilterValue, base::IntToString(i)); base 234 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionIconPath); base 246 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc const base::ListValue* extension_actions, base 248 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc base::string16* error) { base 249 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc for (base::ListValue::const_iterator iter = extension_actions->begin(); base 252 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc if (!(*iter)->IsType(base::Value::TYPE_DICTIONARY)) { base 253 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidFileBrowserHandler); base 259 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc reinterpret_cast<base::DictionaryValue*>(*iter), error)); base 270 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc base::string16* error) { base 271 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc const base::ListValue* file_browser_handlers_value = NULL; base 274 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidFileBrowserHandler); base 95 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h base::string16* error) OVERRIDE; base 31 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc errors::kInvalidFileAccessValue, base::IntToString(1))), base 48 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc errors::kInvalidFileFilterValue, base::IntToString(0))), base 43 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc const base::DictionaryValue& handler_info, base 45 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc base::string16* error) { base 51 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc const base::ListValue* mime_types = NULL; base 59 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc const base::ListValue* file_extensions = NULL; base 77 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc *error = base::ASCIIToUTF16(errors::kInvalidFileHandlerTitle); base 88 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc std::string(base::IntToString(i))); base 102 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc std::string(base::IntToString(i))); base 113 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc bool FileHandlersParser::Parse(Extension* extension, base::string16* error) { base 115 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc const base::DictionaryValue* all_handlers = NULL; base 118 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc *error = base::ASCIIToUTF16(errors::kInvalidFileHandlers); base 124 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc for (base::DictionaryValue::Iterator iter(*all_handlers); !iter.IsAtEnd(); base 127 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc const base::DictionaryValue* handler = NULL; base 132 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc *error = base::ASCIIToUTF16(errors::kInvalidFileHandlers); base 147 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc *error = base::ASCIIToUTF16( base 47 chrome/common/extensions/api/file_handlers/file_handlers_parser.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 30 chrome/common/extensions/api/i18n/default_locale_handler.cc return info ? info->default_locale : base::EmptyString(); base 39 chrome/common/extensions/api/i18n/default_locale_handler.cc bool DefaultLocaleHandler::Parse(Extension* extension, base::string16* error) { base 44 chrome/common/extensions/api/i18n/default_locale_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidDefaultLocale); base 56 chrome/common/extensions/api/i18n/default_locale_handler.cc const base::FilePath path = extension->path().Append(kLocaleFolder); base 57 chrome/common/extensions/api/i18n/default_locale_handler.cc bool path_exists = base::PathExists(path); base 75 chrome/common/extensions/api/i18n/default_locale_handler.cc base::FileEnumerator locales(path, false, base::FileEnumerator::DIRECTORIES); base 79 chrome/common/extensions/api/i18n/default_locale_handler.cc const base::FilePath default_locale_path = path.AppendASCII(default_locale); base 82 chrome/common/extensions/api/i18n/default_locale_handler.cc base::FilePath locale_path; base 88 chrome/common/extensions/api/i18n/default_locale_handler.cc base::FilePath messages_path = locale_path.Append(kMessagesFilename); base 90 chrome/common/extensions/api/i18n/default_locale_handler.cc if (!base::PathExists(messages_path)) { base 91 chrome/common/extensions/api/i18n/default_locale_handler.cc *error = base::StringPrintf( base 93 chrome/common/extensions/api/i18n/default_locale_handler.cc base::UTF16ToUTF8(messages_path.LossyDisplayName()).c_str()); base 29 chrome/common/extensions/api/i18n/default_locale_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 43 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* CreateManifest( base 47 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc parsed_manifest_.reset(base::test::ParseJson( base 56 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest; base 86 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc scoped_ptr<base::Value> parsed_manifest_; base 90 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue base_manifest; base 96 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::ListValue* scopes = new base::ListValue(); base 97 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc scopes->Append(new base::StringValue("scope1")); base 98 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc scopes->Append(new base::StringValue("scope2")); base 103 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue ext_manifest; base 123 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue app_manifest; base 140 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue app_manifest; base 160 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 170 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 183 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 196 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 209 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 219 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 229 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 239 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 252 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 260 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 271 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 281 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 293 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 303 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 314 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc base::DictionaryValue* ext_manifest = base 31 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc static base::LazyInstance<OAuth2Info> g_empty_oauth2_info = base 48 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc base::string16* error) { base 50 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc const base::DictionaryValue* dict = NULL; base 52 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidOAuth2ClientId); base 62 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidOAuth2AutoApprove); base 71 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidOAuth2ClientId); base 75 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc const base::ListValue* list = NULL; base 77 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidOAuth2Scopes); base 84 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidOAuth2Scopes); base 38 chrome/common/extensions/api/identity/oauth2_manifest_handler.h base::string16* error) OVERRIDE; base 50 chrome/common/extensions/api/input_ime/input_components_handler.cc base::string16* error) { base 52 chrome/common/extensions/api/input_ime/input_components_handler.cc const base::ListValue* list_value = NULL; base 54 chrome/common/extensions/api/input_ime/input_components_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidInputComponents); base 58 chrome/common/extensions/api/input_ime/input_components_handler.cc const base::DictionaryValue* module_value = NULL; base 73 chrome/common/extensions/api/input_ime/input_components_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidInputComponents); base 81 chrome/common/extensions/api/input_ime/input_components_handler.cc base::IntToString(i)); base 93 chrome/common/extensions/api/input_ime/input_components_handler.cc base::IntToString(i)); base 99 chrome/common/extensions/api/input_ime/input_components_handler.cc base::IntToString(i)); base 112 chrome/common/extensions/api/input_ime/input_components_handler.cc base::IntToString(i)); base 119 chrome/common/extensions/api/input_ime/input_components_handler.cc const base::Value* language_value = NULL; base 121 chrome/common/extensions/api/input_ime/input_components_handler.cc if (language_value->GetType() == base::Value::TYPE_STRING) { base 125 chrome/common/extensions/api/input_ime/input_components_handler.cc } else if (language_value->GetType() == base::Value::TYPE_LIST) { base 126 chrome/common/extensions/api/input_ime/input_components_handler.cc const base::ListValue* language_list = NULL; base 137 chrome/common/extensions/api/input_ime/input_components_handler.cc const base::ListValue* layouts_value = NULL; base 144 chrome/common/extensions/api/input_ime/input_components_handler.cc base::IntToString(i), base::IntToString(j)); base 152 chrome/common/extensions/api/input_ime/input_components_handler.cc const base::DictionaryValue* shortcut_value = NULL; base 157 chrome/common/extensions/api/input_ime/input_components_handler.cc base::IntToString(i)); base 165 chrome/common/extensions/api/input_ime/input_components_handler.cc base::IntToString(i)); base 193 chrome/common/extensions/api/input_ime/input_components_handler.cc base::IntToString(i)); base 206 chrome/common/extensions/api/input_ime/input_components_handler.cc base::IntToString(i)); base 63 chrome/common/extensions/api/input_ime/input_components_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 47 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc bool ManagedModeHandler::Parse(Extension* extension, base::string16* error) { base 52 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc const base::DictionaryValue* content_pack_value = NULL; base 55 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidContentPack); base 74 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc const base::DictionaryValue* content_pack_value, base 75 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc base::string16* error) { base 79 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc base::FilePath::StringType site_list_string; base 82 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidContentPackSites); base 86 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc info->site_list = base::FilePath(site_list_string); base 93 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc const base::DictionaryValue* content_pack_value, base 94 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc base::string16* error) { base 27 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h base::FilePath site_list; base 36 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 41 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h const base::DictionaryValue* content_pack_value, base 42 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h base::string16* error); base 44 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h const base::DictionaryValue* content_pack_value, base 45 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h base::string16* error); base 38 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc const base::DictionaryValue* media_galleries_handler, base 39 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc base::string16* error) { base 47 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionId); base 57 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionDefaultTitle); base 68 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidPageActionIconPath); base 81 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc const base::ListValue* extension_actions, base 83 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc base::string16* error) { base 84 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc for (base::ListValue::const_iterator iter = extension_actions->begin(); base 87 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc if (!(*iter)->IsType(base::Value::TYPE_DICTIONARY)) { base 88 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidMediaGalleriesHandler); base 94 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc reinterpret_cast<base::DictionaryValue*>(*iter), error)); base 127 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc base::string16* error) { base 128 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc const base::ListValue* media_galleries_handlers_value = NULL; base 131 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidMediaGalleriesHandler); base 64 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.h base::string16* error) OVERRIDE; base 131 chrome/common/extensions/api/networking_private/networking_private_crypto.cc base::RemoveChars(connected_mac, ":", &translated_mac); base 87 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc std::string unsigned_data = base::StringPrintf( base 90 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc base::Base64Decode(kSignedData, &signed_data); base 111 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc unsigned_data = base::StringPrintf( base 146 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc base::Base64Decode(kPublicKey, &public_key_string); base 28 chrome/common/extensions/api/omnibox/omnibox_handler.cc return info ? info->keyword : base::EmptyString(); base 37 chrome/common/extensions/api/omnibox/omnibox_handler.cc bool OmniboxHandler::Parse(Extension* extension, base::string16* error) { base 39 chrome/common/extensions/api/omnibox/omnibox_handler.cc const base::DictionaryValue* dict = NULL; base 44 chrome/common/extensions/api/omnibox/omnibox_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidOmniboxKeyword); base 31 chrome/common/extensions/api/omnibox/omnibox_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 37 chrome/common/extensions/api/plugins/plugins_handler.cc PluginInfo::PluginInfo(const base::FilePath& plugin_path, bool plugin_is_public) base 69 chrome/common/extensions/api/plugins/plugins_handler.cc bool PluginsHandler::Parse(Extension* extension, base::string16* error) { base 70 chrome/common/extensions/api/plugins/plugins_handler.cc const base::ListValue* list_value = NULL; base 72 chrome/common/extensions/api/plugins/plugins_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidPlugins); base 79 chrome/common/extensions/api/plugins/plugins_handler.cc const base::DictionaryValue* plugin_value = NULL; base 81 chrome/common/extensions/api/plugins/plugins_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidPlugins); base 88 chrome/common/extensions/api/plugins/plugins_handler.cc manifest_errors::kInvalidPluginsPath, base::IntToString(i)); base 98 chrome/common/extensions/api/plugins/plugins_handler.cc base::IntToString(i)); base 110 chrome/common/extensions/api/plugins/plugins_handler.cc if (base::win::IsMetroProcess()) { base 115 chrome/common/extensions/api/plugins/plugins_handler.cc extension->path().Append(base::FilePath::FromUTF8Unsafe(path_str)), base 139 chrome/common/extensions/api/plugins/plugins_handler.cc if (!base::PathExists(plugin->path)) { base 20 chrome/common/extensions/api/plugins/plugins_handler.h PluginInfo(const base::FilePath& plugin_path, bool plugin_is_public); base 23 chrome/common/extensions/api/plugins/plugins_handler.h base::FilePath path; // Path to the plugin. base 39 chrome/common/extensions/api/plugins/plugins_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 51 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc base::string16* error) { base 53 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc const base::DictionaryValue* tts_dict = NULL; base 55 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTts); base 62 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc const base::ListValue* tts_voices = NULL; base 64 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTtsVoices); base 69 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc const base::DictionaryValue* one_tts_voice = NULL; base 71 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTtsVoices); base 79 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTtsVoicesVoiceName); base 87 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTtsVoicesLang); base 96 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTtsVoicesGender); base 103 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTtsVoicesRemote); base 108 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc const base::ListValue* event_types_list; base 112 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16( base 119 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTtsVoicesEventTypes); base 128 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTtsVoicesEventTypes); base 133 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTtsVoicesEventTypes); base 36 chrome/common/extensions/api/speech/tts_engine_manifest_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 27 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc bool SpellcheckHandler::Parse(Extension* extension, base::string16* error) { base 28 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc const base::DictionaryValue* spellcheck_value = NULL; base 31 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidSpellcheck); base 39 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidSpellcheckDictionaryLanguage); base 45 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidSpellcheckDictionaryLocale); base 51 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidSpellcheckDictionaryFormat); base 57 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidSpellcheckDictionaryPath); base 31 chrome/common/extensions/api/spellcheck/spellcheck_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 44 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc base::FilePath file = base::FilePath::FromUTF8Unsafe(path); base 46 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc *error = base::StringPrintf("%s must be a relative path without ..", base 51 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc if (!base::PathExists(file)) { base 53 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc base::StringPrintf("File does not exist: %s", file.value().c_str()); base 57 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc if (!base::ReadFileToString(file, &content)) { base 58 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc *error = base::StringPrintf("Can't read %s", file.value().c_str()); base 66 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc base::string16* error) { base 69 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc *error = base::ASCIIToUTF16( base 70 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc base::StringPrintf("%s must be a string", kStorageManagedSchema)); base 34 chrome/common/extensions/api/storage/storage_schema_manifest_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 45 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc base::FilePath schema_path = temp_dir_.path().AppendASCII("schema.json"); base 47 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc base::DeleteFile(schema_path, false); base 49 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc if (base::WriteFile(schema_path, schema.data(), schema.size()) != base 69 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc base::ScopedTempDir temp_dir_; base 71 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc base::DictionaryValue manifest_; base 90 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc base::ListValue permissions; base 25 chrome/common/extensions/api/system_indicator/system_indicator_handler.cc base::string16* error) { base 26 chrome/common/extensions/api/system_indicator/system_indicator_handler.cc const base::DictionaryValue* system_indicator_value = NULL; base 29 chrome/common/extensions/api/system_indicator/system_indicator_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidSystemIndicator); base 20 chrome/common/extensions/api/system_indicator/system_indicator_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 19 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc using base::ASCIIToUTF16; base 92 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc const base::DictionaryValue& handler_info, base 94 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc base::string16* error) { base 101 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc *error = base::ASCIIToUTF16(merrors::kInvalidURLHandlerTitle); base 105 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc const base::ListValue* manif_patterns = NULL; base 113 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc for (base::ListValue::const_iterator it = manif_patterns->begin(); base 135 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc bool UrlHandlersParser::Parse(Extension* extension, base::string16* error) { base 137 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc const base::DictionaryValue* all_handlers = NULL; base 140 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc *error = base::ASCIIToUTF16(merrors::kInvalidURLHandlers); base 146 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc for (base::DictionaryValue::Iterator iter(*all_handlers); !iter.IsAtEnd(); base 149 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc const base::DictionaryValue* handler = NULL; base 151 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc *error = base::ASCIIToUTF16(merrors::kInvalidURLHandlerPatternElement); base 61 chrome/common/extensions/api/url_handlers/url_handlers_parser.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 36 chrome/common/extensions/chrome_extensions_client.cc static base::LazyInstance<ChromeExtensionsClient> g_client = base 165 chrome/common/extensions/chrome_extensions_client.cc base::StringPiece ChromeExtensionsClient::GetAPISchema( base 44 chrome/common/extensions/chrome_extensions_client.h virtual base::StringPiece GetAPISchema(const std::string& name) const base 61 chrome/common/extensions/chrome_extensions_client.h friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsClient>; base 48 chrome/common/extensions/command.cc base::string16* error) { base 57 chrome/common/extensions/command.cc base::IntToString(index), base 63 chrome/common/extensions/command.cc base::SplitString(accelerator, '+', &tokens); base 69 chrome/common/extensions/command.cc base::IntToString(index), base 180 chrome/common/extensions/command.cc base::IntToString(index), base 202 chrome/common/extensions/command.cc base::IntToString(index), base 215 chrome/common/extensions/command.cc base::IntToString(index), base 241 chrome/common/extensions/command.cc base::SplitString(suggestion, '+', &tokens); base 256 chrome/common/extensions/command.cc const base::string16& description, base 262 chrome/common/extensions/command.cc base::string16 error; base 287 chrome/common/extensions/command.cc base::string16 error; base 393 chrome/common/extensions/command.cc bool Command::Parse(const base::DictionaryValue* command, base 396 chrome/common/extensions/command.cc base::string16* error) { base 399 chrome/common/extensions/command.cc base::string16 description; base 405 chrome/common/extensions/command.cc base::IntToString(index)); base 415 chrome/common/extensions/command.cc const base::DictionaryValue* suggested_key_dict; base 417 chrome/common/extensions/command.cc for (base::DictionaryValue::Iterator iter(*suggested_key_dict); base 428 chrome/common/extensions/command.cc base::IntToString(index), base 464 chrome/common/extensions/command.cc base::IntToString(index), base 481 chrome/common/extensions/command.cc base::IntToString(index), base 502 chrome/common/extensions/command.cc base::IntToString(index), base 521 chrome/common/extensions/command.cc base::DictionaryValue* Command::ToValue(const Extension* extension, base 523 chrome/common/extensions/command.cc base::DictionaryValue* extension_data = new base::DictionaryValue(); base 525 chrome/common/extensions/command.cc base::string16 command_description; base 14 chrome/common/extensions/command.h namespace base { base 28 chrome/common/extensions/command.h const base::string16& description, base 51 chrome/common/extensions/command.h bool Parse(const base::DictionaryValue* command, base 54 chrome/common/extensions/command.h base::string16* error); base 58 chrome/common/extensions/command.h base::DictionaryValue* ToValue( base 64 chrome/common/extensions/command.h const base::string16& description() const { return description_; } base 78 chrome/common/extensions/command.h base::string16 description_; base 123 chrome/common/extensions/command_unittest.cc scoped_ptr<base::DictionaryValue> input(new base::DictionaryValue); base 130 chrome/common/extensions/command_unittest.cc "| index: " + base::IntToString(i)); base 133 chrome/common/extensions/command_unittest.cc base::string16 error; base 140 chrome/common/extensions/command_unittest.cc base::UTF16ToASCII(command.description()).c_str()); base 147 chrome/common/extensions/command_unittest.cc input.reset(new base::DictionaryValue); base 148 chrome/common/extensions/command_unittest.cc base::DictionaryValue* key_dict = new base::DictionaryValue(); base 160 chrome/common/extensions/command_unittest.cc base::UTF16ToASCII(command.description()).c_str()); base 174 chrome/common/extensions/command_unittest.cc scoped_ptr<base::DictionaryValue> input(new base::DictionaryValue); base 175 chrome/common/extensions/command_unittest.cc base::DictionaryValue* key_dict = new base::DictionaryValue(); base 185 chrome/common/extensions/command_unittest.cc base::string16 error; base 188 chrome/common/extensions/command_unittest.cc base::UTF16ToASCII(command.description()).c_str()); base 49 chrome/common/extensions/extension_file_util.cc std::set<base::FilePath>* image_paths) { base 54 chrome/common/extensions/extension_file_util.cc image_paths->insert(base::FilePath::FromUTF8Unsafe(iter->second)); base 62 chrome/common/extensions/extension_file_util.cc const base::FilePath::CharType kTempDirectoryName[] = FILE_PATH_LITERAL("Temp"); base 64 chrome/common/extensions/extension_file_util.cc base::FilePath InstallExtension(const base::FilePath& unpacked_source_dir, base 67 chrome/common/extensions/extension_file_util.cc const base::FilePath& extensions_dir) { base 68 chrome/common/extensions/extension_file_util.cc base::FilePath extension_dir = extensions_dir.AppendASCII(id); base 69 chrome/common/extensions/extension_file_util.cc base::FilePath version_dir; base 72 chrome/common/extensions/extension_file_util.cc if (!base::PathExists(extension_dir)) { base 73 chrome/common/extensions/extension_file_util.cc if (!base::CreateDirectory(extension_dir)) base 74 chrome/common/extensions/extension_file_util.cc return base::FilePath(); base 78 chrome/common/extensions/extension_file_util.cc base::FilePath install_temp_dir = GetInstallTempDir(extensions_dir); base 79 chrome/common/extensions/extension_file_util.cc base::ScopedTempDir extension_temp_dir; base 83 chrome/common/extensions/extension_file_util.cc return base::FilePath(); base 85 chrome/common/extensions/extension_file_util.cc base::FilePath crx_temp_source = base 87 chrome/common/extensions/extension_file_util.cc if (!base::Move(unpacked_source_dir, crx_temp_source)) { base 90 chrome/common/extensions/extension_file_util.cc return base::FilePath(); base 97 chrome/common/extensions/extension_file_util.cc base::FilePath candidate = extension_dir.AppendASCII( base 98 chrome/common/extensions/extension_file_util.cc base::StringPrintf("%s_%u", version.c_str(), i)); base 99 chrome/common/extensions/extension_file_util.cc if (!base::PathExists(candidate)) { base 108 chrome/common/extensions/extension_file_util.cc return base::FilePath(); base 111 chrome/common/extensions/extension_file_util.cc if (!base::Move(crx_temp_source, version_dir)) { base 114 chrome/common/extensions/extension_file_util.cc return base::FilePath(); base 120 chrome/common/extensions/extension_file_util.cc void UninstallExtension(const base::FilePath& extensions_dir, base 125 chrome/common/extensions/extension_file_util.cc base::DeleteFile(extensions_dir.AppendASCII(id), true); // recursive. base 128 chrome/common/extensions/extension_file_util.cc scoped_refptr<Extension> LoadExtension(const base::FilePath& extension_path, base 135 chrome/common/extensions/extension_file_util.cc scoped_refptr<Extension> LoadExtension(const base::FilePath& extension_path, base 140 chrome/common/extensions/extension_file_util.cc scoped_ptr<base::DictionaryValue> manifest( base 166 chrome/common/extensions/extension_file_util.cc base::DictionaryValue* LoadManifest(const base::FilePath& extension_path, base 168 chrome/common/extensions/extension_file_util.cc base::FilePath manifest_path = base 170 chrome/common/extensions/extension_file_util.cc if (!base::PathExists(manifest_path)) { base 176 chrome/common/extensions/extension_file_util.cc scoped_ptr<base::Value> root(serializer.Deserialize(NULL, error)); base 185 chrome/common/extensions/extension_file_util.cc *error = base::StringPrintf("%s %s", base 192 chrome/common/extensions/extension_file_util.cc if (!root->IsType(base::Value::TYPE_DICTIONARY)) { base 197 chrome/common/extensions/extension_file_util.cc return static_cast<base::DictionaryValue*>(root.release()); base 200 chrome/common/extensions/extension_file_util.cc std::vector<base::FilePath> FindPrivateKeyFiles( base 201 chrome/common/extensions/extension_file_util.cc const base::FilePath& extension_dir) { base 202 chrome/common/extensions/extension_file_util.cc std::vector<base::FilePath> result; base 204 chrome/common/extensions/extension_file_util.cc base::FileEnumerator traversal(extension_dir, /*recursive=*/true, base 205 chrome/common/extensions/extension_file_util.cc base::FileEnumerator::FILES); base 206 chrome/common/extensions/extension_file_util.cc for (base::FilePath current = traversal.Next(); !current.empty(); base 212 chrome/common/extensions/extension_file_util.cc if (!base::ReadFileToString(current, &key_contents)) { base 227 chrome/common/extensions/extension_file_util.cc bool ValidateFilePath(const base::FilePath& path) { base 229 chrome/common/extensions/extension_file_util.cc if (!base::PathExists(path) || base 230 chrome/common/extensions/extension_file_util.cc !base::GetFileSize(path, &size) || base 245 chrome/common/extensions/extension_file_util.cc const base::FilePath path = base 249 chrome/common/extensions/extension_file_util.cc base::UTF8ToUTF16(iter->second)); base 272 chrome/common/extensions/extension_file_util.cc std::vector<base::FilePath> private_keys = base 295 chrome/common/extensions/extension_file_util.cc std::set<base::FilePath> GetBrowserImagePaths(const Extension* extension) { base 296 chrome/common/extensions/extension_file_util.cc std::set<base::FilePath> image_paths; base 301 chrome/common/extensions/extension_file_util.cc const base::DictionaryValue* theme_images = base 304 chrome/common/extensions/extension_file_util.cc for (base::DictionaryValue::Iterator it(*theme_images); !it.IsAtEnd(); base 306 chrome/common/extensions/extension_file_util.cc base::FilePath::StringType path; base 308 chrome/common/extensions/extension_file_util.cc image_paths.insert(base::FilePath(path)); base 326 chrome/common/extensions/extension_file_util.cc const base::FilePath& extension_path, base 331 chrome/common/extensions/extension_file_util.cc base::FilePath locale_path = extension_path.Append(extensions::kLocaleFolder); base 332 chrome/common/extensions/extension_file_util.cc if (!base::PathExists(locale_path)) base 358 chrome/common/extensions/extension_file_util.cc const base::FilePath& extension_path, base 380 chrome/common/extensions/extension_file_util.cc bool CheckForIllegalFilenames(const base::FilePath& extension_path, base 383 chrome/common/extensions/extension_file_util.cc static const base::FilePath::CharType* reserved_names[] = { base 389 chrome/common/extensions/extension_file_util.cc std::set<base::FilePath::StringType>, reserved_underscore_names, base 396 chrome/common/extensions/extension_file_util.cc base::FileEnumerator::DIRECTORIES | base::FileEnumerator::FILES; base 397 chrome/common/extensions/extension_file_util.cc base::FileEnumerator all_files(extension_path, false, kFilesAndDirectories); base 399 chrome/common/extensions/extension_file_util.cc base::FilePath file; base 401 chrome/common/extensions/extension_file_util.cc base::FilePath::StringType filename = file.BaseName().value(); base 406 chrome/common/extensions/extension_file_util.cc *error = base::StringPrintf( base 417 chrome/common/extensions/extension_file_util.cc base::FilePath GetInstallTempDir(const base::FilePath& extensions_dir) { base 422 chrome/common/extensions/extension_file_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 427 chrome/common/extensions/extension_file_util.cc base::FilePath temp_path = extensions_dir.Append(kTempDirectoryName); base 428 chrome/common/extensions/extension_file_util.cc if (base::PathExists(temp_path)) { base 429 chrome/common/extensions/extension_file_util.cc if (!base::DirectoryExists(temp_path)) { base 431 chrome/common/extensions/extension_file_util.cc return base::FilePath(); base 433 chrome/common/extensions/extension_file_util.cc if (!base::PathIsWritable(temp_path)) { base 435 chrome/common/extensions/extension_file_util.cc return base::FilePath(); base 442 chrome/common/extensions/extension_file_util.cc if (!base::CreateDirectory(temp_path)) { base 444 chrome/common/extensions/extension_file_util.cc return base::FilePath(); base 449 chrome/common/extensions/extension_file_util.cc void DeleteFile(const base::FilePath& path, bool recursive) { base 450 chrome/common/extensions/extension_file_util.cc base::DeleteFile(path, recursive); base 18 chrome/common/extensions/extension_file_util.h namespace base { base 32 chrome/common/extensions/extension_file_util.h extern const base::FilePath::CharType kTempDirectoryName[]; base 37 chrome/common/extensions/extension_file_util.h base::FilePath InstallExtension(const base::FilePath& unpacked_source_dir, base 40 chrome/common/extensions/extension_file_util.h const base::FilePath& extensions_dir); base 43 chrome/common/extensions/extension_file_util.h void UninstallExtension(const base::FilePath& extensions_dir, base 49 chrome/common/extensions/extension_file_util.h const base::FilePath& extension_root, base 56 chrome/common/extensions/extension_file_util.h const base::FilePath& extension_root, base 64 chrome/common/extensions/extension_file_util.h base::DictionaryValue* LoadManifest(const base::FilePath& extension_root, base 68 chrome/common/extensions/extension_file_util.h bool ValidateFilePath(const base::FilePath& path); base 90 chrome/common/extensions/extension_file_util.h std::set<base::FilePath> GetBrowserImagePaths( base 94 chrome/common/extensions/extension_file_util.h std::vector<base::FilePath> FindPrivateKeyFiles( base 95 chrome/common/extensions/extension_file_util.h const base::FilePath& extension_dir); base 100 chrome/common/extensions/extension_file_util.h const base::FilePath& extension_path, base 107 chrome/common/extensions/extension_file_util.h const base::FilePath& extension_path, base 115 chrome/common/extensions/extension_file_util.h bool CheckForIllegalFilenames(const base::FilePath& extension_path, base 123 chrome/common/extensions/extension_file_util.h base::FilePath GetInstallTempDir(const base::FilePath& extensions_dir); base 128 chrome/common/extensions/extension_file_util.h void DeleteFile(const base::FilePath& path, bool recursive); base 32 chrome/common/extensions/extension_file_util_unittest.cc base::ScopedTempDir temp; base 38 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath src = temp.path().AppendASCII(extension_id); base 39 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src)); base 42 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath all_extensions = temp.path().AppendASCII("extensions"); base 43 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(all_extensions)); base 46 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath version_1 = extension_file_util::InstallExtension( base 54 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::DirectoryExists(version_1)); base 57 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_FALSE(base::DirectoryExists(src)); base 60 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src)); base 61 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath version_2 = extension_file_util::InstallExtension( base 69 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::DirectoryExists(version_2)); base 72 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_FALSE(base::DirectoryExists(src)); base 75 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src)); base 76 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath version_3 = extension_file_util::InstallExtension( base 84 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::DirectoryExists(version_3)); base 88 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_FALSE(base::DirectoryExists(version_1.DirName())); base 89 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_FALSE(base::DirectoryExists(version_2.DirName())); base 90 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_FALSE(base::DirectoryExists(version_3.DirName())); base 91 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::DirectoryExists(all_extensions)); base 95 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath install_dir; base 111 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath install_dir; base 127 chrome/common/extensions/extension_file_util_unittest.cc base::ScopedTempDir temp; base 130 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath src_path = temp.path().AppendASCII("some_dir"); base 131 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 134 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("some_file.txt"), base 142 chrome/common/extensions/extension_file_util_unittest.cc base::ScopedTempDir temp; base 145 chrome/common/extensions/extension_file_util_unittest.cc const base::FilePath::CharType* folders[] = base 149 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath src_path = temp.path().Append(folders[i]); base 150 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 159 chrome/common/extensions/extension_file_util_unittest.cc base::ScopedTempDir temp; base 162 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath src_path = temp.path().Append(extensions::kLocaleFolder); base 163 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 166 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 175 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath install_dir; base 192 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath install_dir; base 210 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath install_dir; base 226 chrome/common/extensions/extension_file_util_unittest.cc base::DictionaryValue* manifest, base 227 chrome/common/extensions/extension_file_util_unittest.cc const base::FilePath& manifest_dir, base 238 chrome/common/extensions/extension_file_util_unittest.cc const base::FilePath& manifest_dir, base 243 chrome/common/extensions/extension_file_util_unittest.cc scoped_ptr<base::Value> result(serializer.Deserialize(NULL, error)); base 246 chrome/common/extensions/extension_file_util_unittest.cc CHECK_EQ(base::Value::TYPE_DICTIONARY, result->GetType()); base 248 chrome/common/extensions/extension_file_util_unittest.cc static_cast<base::DictionaryValue*>(result.get()), base 256 chrome/common/extensions/extension_file_util_unittest.cc base::ScopedTempDir temp; base 261 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath non_ascii_path = base 262 chrome/common/extensions/extension_file_util_unittest.cc temp.path().Append(base::FilePath::FromUTF8Unsafe(non_ascii_file)); base 263 chrome/common/extensions/extension_file_util_unittest.cc base::WriteFile(non_ascii_path, "", 0); base 266 chrome/common/extensions/extension_file_util_unittest.cc base::StringPrintf( base 282 chrome/common/extensions/extension_file_util_unittest.cc base::ScopedTempDir temp; base 285 chrome/common/extensions/extension_file_util_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 290 chrome/common/extensions/extension_file_util_unittest.cc base::ListValue* scripts = new base::ListValue(); base 291 chrome/common/extensions/extension_file_util_unittest.cc scripts->Append(new base::StringValue("foo.js")); base 304 chrome/common/extensions/extension_file_util_unittest.cc base::ASCIIToUTF16("foo.js")), base 309 chrome/common/extensions/extension_file_util_unittest.cc scripts->Append(new base::StringValue("http://google.com/foo.js")); base 320 chrome/common/extensions/extension_file_util_unittest.cc base::ASCIIToUTF16("http://google.com/foo.js")), base 346 chrome/common/extensions/extension_file_util_unittest.cc base::ScopedTempDir temp; base 349 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath src_path = temp.path().AppendASCII("some_dir"); base 350 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 352 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("a_key.pem"), base 354 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("second_key.pem"), base 357 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("key.diff_ext"), base 360 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("unparsable_key.pem"), base 362 chrome/common/extensions/extension_file_util_unittest.cc std::vector<base::FilePath> private_keys = base 372 chrome/common/extensions/extension_file_util_unittest.cc base::ScopedTempDir temp; base 375 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath ext_path = temp.path().AppendASCII("ext_root"); base 376 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(ext_path)); base 385 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::WriteFile(ext_path.AppendASCII("manifest.json"), base 387 chrome/common/extensions/extension_file_util_unittest.cc ASSERT_TRUE(base::WriteFile(ext_path.AppendASCII("a_key.pem"), base 415 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath install_dir; base 419 chrome/common/extensions/extension_file_util_unittest.cc base::FilePath ext_dir = install_dir.AppendASCII("extensions") base 37 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* LoadMessageFile(const base::FilePath& locale_path, base 40 chrome/common/extensions/extension_l10n_util.cc base::FilePath file = locale_path.AppendASCII(locale) base 43 chrome/common/extensions/extension_l10n_util.cc base::Value* dictionary = messages_serializer.Deserialize(NULL, error); base 48 chrome/common/extensions/extension_l10n_util.cc *error = base::StringPrintf("Catalog file is missing for locale %s.", base 53 chrome/common/extensions/extension_l10n_util.cc base::UTF16ToUTF8(file.LossyDisplayName()), base 58 chrome/common/extensions/extension_l10n_util.cc return static_cast<base::DictionaryValue*>(dictionary); base 64 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* manifest, base 80 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* manifest, base 82 chrome/common/extensions/extension_l10n_util.cc base::ListValue* list = NULL; base 91 chrome/common/extensions/extension_l10n_util.cc list->Set(i, new base::StringValue(result)); base 112 chrome/common/extensions/extension_l10n_util.cc std::string GetDefaultLocaleFromManifest(const base::DictionaryValue& manifest, base 122 chrome/common/extensions/extension_l10n_util.cc bool ShouldRelocalizeManifest(const base::DictionaryValue* manifest) { base 135 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* manifest, base 173 chrome/common/extensions/extension_l10n_util.cc base::ListValue* file_handlers = NULL; base 177 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* handler = NULL; base 188 chrome/common/extensions/extension_l10n_util.cc base::ListValue* media_galleries_handlers = NULL; base 193 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* handler = NULL; base 205 chrome/common/extensions/extension_l10n_util.cc base::ListValue* input_components = NULL; base 208 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* module = NULL; base 229 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* commands_handler = NULL; base 231 chrome/common/extensions/extension_l10n_util.cc for (base::DictionaryValue::Iterator iter(*commands_handler); base 234 chrome/common/extensions/extension_l10n_util.cc key.assign(base::StringPrintf("commands.%s.description", base 242 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* search_provider = NULL; base 245 chrome/common/extensions/extension_l10n_util.cc for (base::DictionaryValue::Iterator iter(*search_provider); base 248 chrome/common/extensions/extension_l10n_util.cc key.assign(base::StringPrintf( base 274 chrome/common/extensions/extension_l10n_util.cc bool LocalizeExtension(const base::FilePath& extension_path, base 275 chrome/common/extensions/extension_l10n_util.cc base::DictionaryValue* manifest, base 296 chrome/common/extensions/extension_l10n_util.cc const base::FilePath& locale_folder, base 307 chrome/common/extensions/extension_l10n_util.cc DLOG(WARNING) << base::StringPrintf("Supplied locale %s is not supported.", base 312 chrome/common/extensions/extension_l10n_util.cc if (base::PathExists( base 316 chrome/common/extensions/extension_l10n_util.cc *error = base::StringPrintf("Catalog file is missing for locale %s.", base 353 chrome/common/extensions/extension_l10n_util.cc bool GetValidLocales(const base::FilePath& locale_path, base 360 chrome/common/extensions/extension_l10n_util.cc base::FileEnumerator locales(locale_path, base 362 chrome/common/extensions/extension_l10n_util.cc base::FileEnumerator::DIRECTORIES); base 363 chrome/common/extensions/extension_l10n_util.cc base::FilePath locale_folder; base 388 chrome/common/extensions/extension_l10n_util.cc const base::FilePath& locale_path, base 397 chrome/common/extensions/extension_l10n_util.cc std::vector<linked_ptr<base::DictionaryValue> > catalogs; base 402 chrome/common/extensions/extension_l10n_util.cc linked_ptr<base::DictionaryValue> catalog( base 416 chrome/common/extensions/extension_l10n_util.cc bool ValidateExtensionLocales(const base::FilePath& extension_path, base 417 chrome/common/extensions/extension_l10n_util.cc const base::DictionaryValue* manifest, base 424 chrome/common/extensions/extension_l10n_util.cc base::FilePath locale_path = base 434 chrome/common/extensions/extension_l10n_util.cc scoped_ptr<base::DictionaryValue> catalog( base 447 chrome/common/extensions/extension_l10n_util.cc bool ShouldSkipValidation(const base::FilePath& locales_path, base 448 chrome/common/extensions/extension_l10n_util.cc const base::FilePath& locale_path, base 453 chrome/common/extensions/extension_l10n_util.cc base::FilePath relative_path; base 14 chrome/common/extensions/extension_l10n_util.h namespace base { base 33 chrome/common/extensions/extension_l10n_util.h std::string GetDefaultLocaleFromManifest(const base::DictionaryValue& manifest, base 38 chrome/common/extensions/extension_l10n_util.h bool ShouldRelocalizeManifest(const base::DictionaryValue* manifest); base 43 chrome/common/extensions/extension_l10n_util.h base::DictionaryValue* manifest, base 48 chrome/common/extensions/extension_l10n_util.h bool LocalizeExtension(const base::FilePath& extension_path, base 49 chrome/common/extensions/extension_l10n_util.h base::DictionaryValue* manifest, base 58 chrome/common/extensions/extension_l10n_util.h const base::FilePath& locale_folder, base 84 chrome/common/extensions/extension_l10n_util.h bool GetValidLocales(const base::FilePath& locale_path, base 94 chrome/common/extensions/extension_l10n_util.h const base::FilePath& locale_path, base 101 chrome/common/extensions/extension_l10n_util.h bool ValidateExtensionLocales(const base::FilePath& extension_path, base 102 chrome/common/extensions/extension_l10n_util.h const base::DictionaryValue* manifest, base 110 chrome/common/extensions/extension_l10n_util.h bool ShouldSkipValidation(const base::FilePath& locales_path, base 111 chrome/common/extensions/extension_l10n_util.h const base::FilePath& locale_path, base 33 chrome/common/extensions/extension_l10n_util_unittest.cc base::ScopedTempDir temp; base 36 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath src_path = temp.path().Append(kLocaleFolder); base 37 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath locale = src_path.AppendASCII("ms"); base 38 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(locale)); base 40 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath messages_file = locale.Append(kMessagesFilename); base 42 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::WriteFile(messages_file, data.c_str(), data.length())); base 44 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 51 chrome/common/extensions/extension_l10n_util_unittest.cc base::UTF16ToUTF8(messages_file.LossyDisplayName()))); base 55 chrome/common/extensions/extension_l10n_util_unittest.cc base::ScopedTempDir temp; base 58 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath src_path = temp.path().Append(kLocaleFolder); base 59 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 71 chrome/common/extensions/extension_l10n_util_unittest.cc base::ScopedTempDir temp; base 74 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath src_path = temp.path().Append(kLocaleFolder); base 75 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 76 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path.AppendASCII("sr"))); base 88 chrome/common/extensions/extension_l10n_util_unittest.cc base::ScopedTempDir temp; base 91 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath src_path = temp.path().Append(kLocaleFolder); base 92 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 94 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath locale_1 = src_path.AppendASCII("sr"); base 95 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(locale_1)); base 97 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::WriteFile( base 101 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path.AppendASCII("xxx_yyy"))); base 115 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath install_dir; base 136 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath install_dir; base 160 chrome/common/extensions/extension_l10n_util_unittest.cc base::ScopedTempDir temp; base 163 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath src_path = temp.path().Append(kLocaleFolder); base 164 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 179 chrome/common/extensions/extension_l10n_util_unittest.cc base::ScopedTempDir temp; base 182 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath src_path = temp.path().Append(kLocaleFolder); base 183 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 185 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath locale = src_path.AppendASCII("sr"); base 186 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(locale)); base 189 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath messages_file = locale.Append(kMessagesFilename); base 190 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::WriteFile(messages_file, data.c_str(), data.length())); base 204 chrome/common/extensions/extension_l10n_util_unittest.cc base::UTF16ToUTF8(messages_file.LossyDisplayName()), base 210 chrome/common/extensions/extension_l10n_util_unittest.cc base::ScopedTempDir temp; base 213 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath src_path = temp.path().Append(kLocaleFolder); base 214 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(src_path)); base 216 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath locale_1 = src_path.AppendASCII("en"); base 217 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(locale_1)); base 222 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::WriteFile(locale_1.Append(kMessagesFilename), base 225 chrome/common/extensions/extension_l10n_util_unittest.cc base::FilePath locale_2 = src_path.AppendASCII("sr"); base 226 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(locale_2)); base 228 chrome/common/extensions/extension_l10n_util_unittest.cc ASSERT_TRUE(base::WriteFile(locale_2.Append(kMessagesFilename), base 249 chrome/common/extensions/extension_l10n_util_unittest.cc linked_ptr<base::DictionaryValue> catalog(new base::DictionaryValue); base 251 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* name_tree = new base::DictionaryValue(); base 255 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* short_name_tree = new base::DictionaryValue(); base 259 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* description_tree = new base::DictionaryValue(); base 263 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* action_title_tree = new base::DictionaryValue(); base 267 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* omnibox_keyword_tree = new base::DictionaryValue(); base 271 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* file_handler_title_tree = new base::DictionaryValue(); base 275 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* launch_local_path_tree = new base::DictionaryValue(); base 279 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* launch_web_url_tree = new base::DictionaryValue(); base 283 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* first_command_description_tree = base 284 chrome/common/extensions/extension_l10n_util_unittest.cc new base::DictionaryValue(); base 288 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* second_command_description_tree = base 289 chrome/common/extensions/extension_l10n_util_unittest.cc new base::DictionaryValue(); base 293 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* url_country_tree = new base::DictionaryValue(); base 297 chrome/common/extensions/extension_l10n_util_unittest.cc std::vector<linked_ptr<base::DictionaryValue> > catalogs; base 309 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 319 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 337 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 355 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 372 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 389 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 409 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 437 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 462 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 465 chrome/common/extensions/extension_l10n_util_unittest.cc base::ListValue* handlers = new base::ListValue(); base 467 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* handler = new base::DictionaryValue(); base 492 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 495 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* commands = new base::DictionaryValue(); base 499 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* first_command = new base::DictionaryValue(); base 504 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* second_command = new base::DictionaryValue(); base 534 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 551 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 568 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 572 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue* search_provider = new base::DictionaryValue; base 582 chrome/common/extensions/extension_l10n_util_unittest.cc base::ListValue* startup_pages = new base::ListValue; base 633 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 639 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 646 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 654 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 663 chrome/common/extensions/extension_l10n_util_unittest.cc base::DictionaryValue manifest; base 27 chrome/common/extensions/extension_test_util.cc base::FilePath path; base 34 chrome/common/extensions/extension_test_util.cc scoped_ptr<base::Value> result(serializer.Deserialize(NULL, error)); base 37 chrome/common/extensions/extension_test_util.cc const base::DictionaryValue* dict; base 30 chrome/common/extensions/extension_unittest.cc using base::FilePath; base 203 chrome/common/extensions/extension_unittest.cc base::FilePath path; base 208 chrome/common/extensions/extension_unittest.cc ASSERT_TRUE(base::ReadFileToString(path, &data)); base 221 chrome/common/extensions/extension_unittest.cc ASSERT_TRUE(base::ReadFileToString(path, &data)); base 32 chrome/common/extensions/features/chrome_channel_feature_filter.cc base::LazyInstance<Mappings> g_mappings = LAZY_INSTANCE_INITIALIZER; base 61 chrome/common/extensions/features/chrome_channel_feature_filter.cc const base::DictionaryValue* value) { base 87 chrome/common/extensions/features/chrome_channel_feature_filter.cc base::StringPrintf( base 21 chrome/common/extensions/features/chrome_channel_feature_filter.h virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE; base 34 chrome/common/extensions/manifest_handler_helpers.cc bool LoadIconsFromDictionary(const base::DictionaryValue* icons_value, base 38 chrome/common/extensions/manifest_handler_helpers.cc base::string16* error) { base 41 chrome/common/extensions/manifest_handler_helpers.cc std::string key = base::IntToString(icon_sizes[i]); base 15 chrome/common/extensions/manifest_handler_helpers.h namespace base { base 30 chrome/common/extensions/manifest_handler_helpers.h bool LoadIconsFromDictionary(const base::DictionaryValue* icons_value, base 34 chrome/common/extensions/manifest_handler_helpers.h base::string16* error); base 41 chrome/common/extensions/manifest_handlers/app_isolation_info.cc bool AppIsolationHandler::Parse(Extension* extension, base::string16* error) { base 60 chrome/common/extensions/manifest_handlers/app_isolation_info.cc const base::ListValue* isolation_list = NULL; base 62 chrome/common/extensions/manifest_handlers/app_isolation_info.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidIsolation); base 72 chrome/common/extensions/manifest_handlers/app_isolation_info.cc base::UintToString(i)); base 33 chrome/common/extensions/manifest_handlers/app_isolation_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 30 chrome/common/extensions/manifest_handlers/app_launch_info.cc base::string16* error) { base 31 chrome/common/extensions/manifest_handlers/app_launch_info.cc const base::Value* temp = NULL; base 50 chrome/common/extensions/manifest_handlers/app_launch_info.cc static base::LazyInstance<AppLaunchInfo> g_empty_app_launch_info = base 107 chrome/common/extensions/manifest_handlers/app_launch_info.cc bool AppLaunchInfo::Parse(Extension* extension, base::string16* error) { base 114 chrome/common/extensions/manifest_handlers/app_launch_info.cc bool AppLaunchInfo::LoadLaunchURL(Extension* extension, base::string16* error) { base 115 chrome/common/extensions/manifest_handlers/app_launch_info.cc const base::Value* temp = NULL; base 121 chrome/common/extensions/manifest_handlers/app_launch_info.cc *error = base::ASCIIToUTF16(errors::kLaunchPathAndURLAreExclusive); base 126 chrome/common/extensions/manifest_handlers/app_launch_info.cc *error = base::ASCIIToUTF16(errors::kLaunchPathAndExtentAreExclusive); base 169 chrome/common/extensions/manifest_handlers/app_launch_info.cc *error = base::ASCIIToUTF16(errors::kLaunchURLRequired); base 228 chrome/common/extensions/manifest_handlers/app_launch_info.cc base::string16* error) { base 229 chrome/common/extensions/manifest_handlers/app_launch_info.cc const base::Value* tmp_launcher_container = NULL; base 236 chrome/common/extensions/manifest_handlers/app_launch_info.cc *error = base::ASCIIToUTF16(errors::kInvalidLaunchContainer); base 245 chrome/common/extensions/manifest_handlers/app_launch_info.cc *error = base::ASCIIToUTF16(errors::kInvalidLaunchContainer); base 303 chrome/common/extensions/manifest_handlers/app_launch_info.cc base::string16* error) { base 47 chrome/common/extensions/manifest_handlers/app_launch_info.h bool Parse(Extension* extension, base::string16* error); base 50 chrome/common/extensions/manifest_handlers/app_launch_info.h bool LoadLaunchURL(Extension* extension, base::string16* error); base 51 chrome/common/extensions/manifest_handlers/app_launch_info.h bool LoadLaunchContainer(Extension* extension, base::string16* error); base 72 chrome/common/extensions/manifest_handlers/app_launch_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 36 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc bool LoadGlobsHelper(const base::DictionaryValue* content_script, base 39 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::string16* error, base 45 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::ListValue* list = NULL; base 49 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(content_script_index), base 59 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(content_script_index), base 61 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(i)); base 73 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc bool LoadUserScriptFromDictionary(const base::DictionaryValue* content_script, base 76 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::string16* error, base 84 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index)); base 97 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index)); base 107 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc errors::kInvalidAllFrames, base::IntToString(definition_index)); base 114 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::ListValue* matches = NULL; base 118 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index)); base 125 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index)); base 133 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index), base 134 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(j), base 146 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index), base 147 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(j), base 177 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::ListValue* exclude_matches = NULL; base 181 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index)); base 190 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index), base 191 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(j), base 204 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index), base::IntToString(j), base 225 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::ListValue* js = NULL; base 230 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index)); base 234 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::ListValue* css = NULL; base 239 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index)); base 247 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index)); base 254 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::Value* value; base 259 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index), base 260 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(script_index)); base 273 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::Value* value; base 278 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(definition_index), base 279 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(script_index)); base 294 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc static bool IsScriptValid(const base::FilePath& path, base 295 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::FilePath& relative_path, base 299 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc if (!base::PathExists(path) || base 300 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc !base::ReadFileToString(path, &content)) { base 321 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc static base::LazyInstance<EmptyUserScriptList> g_empty_script_list = base 383 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc bool ContentScriptsHandler::Parse(Extension* extension, base::string16* error) { base 385 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::ListValue* scripts_list = NULL; base 387 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidContentScriptsList); base 392 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::DictionaryValue* script_dict = NULL; base 396 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc base::IntToString(i)); base 446 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::FilePath& path = ExtensionResource::GetFilePath( base 456 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const base::FilePath& path = ExtensionResource::GetFilePath( base 43 chrome/common/extensions/manifest_handlers/content_scripts_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 28 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc base::IntToString(0), base 29 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc base::IntToString(0), base 36 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc base::IntToString(0), base 37 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc base::IntToString(0), base 59 chrome/common/extensions/manifest_handlers/externally_connectable.cc base::string16* error) { base 60 chrome/common/extensions/manifest_handlers/externally_connectable.cc const base::Value* externally_connectable = NULL; base 92 chrome/common/extensions/manifest_handlers/externally_connectable.cc const base::Value& value, base 94 chrome/common/extensions/manifest_handlers/externally_connectable.cc base::string16* error) { base 209 chrome/common/extensions/manifest_handlers/externally_connectable.cc DCHECK(base::STLIsSorted(ids)); base 19 chrome/common/extensions/manifest_handlers/externally_connectable.h namespace base { base 41 chrome/common/extensions/manifest_handlers/externally_connectable.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 59 chrome/common/extensions/manifest_handlers/externally_connectable.h const base::Value& value, base 61 chrome/common/extensions/manifest_handlers/externally_connectable.h base::string16* error); base 28 chrome/common/extensions/manifest_handlers/icons_handler.cc static base::LazyInstance<ExtensionIconSet> g_empty_icon_set = base 76 chrome/common/extensions/manifest_handlers/icons_handler.cc bool IconsHandler::Parse(Extension* extension, base::string16* error) { base 78 chrome/common/extensions/manifest_handlers/icons_handler.cc const base::DictionaryValue* icons_dict = NULL; base 80 chrome/common/extensions/manifest_handlers/icons_handler.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidIcons); base 49 chrome/common/extensions/manifest_handlers/icons_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 28 chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc base::string16* error) { base 32 chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc *error = base::ASCIIToUTF16(errors::kInvalidMinimumChromeVersion); base 38 chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc *error = base::ASCIIToUTF16(errors::kInvalidMinimumChromeVersion); base 20 chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 43 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc bool NaClModulesHandler::Parse(Extension* extension, base::string16* error) { base 44 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc const base::ListValue* list_value = NULL; base 46 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidNaClModules); base 53 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc const base::DictionaryValue* module_value = NULL; base 55 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidNaClModules); base 63 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc errors::kInvalidNaClModulesPath, base::IntToString(i)); base 71 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc errors::kInvalidNaClModulesMIMEType, base::IntToString(i)); base 33 chrome/common/extensions/manifest_handlers/nacl_modules_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 43 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc base::string16* error) { base 55 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc base::string16* error) { base 77 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc base::string16* error) { base 137 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc virtual bool FromValue(const base::Value* value) OVERRIDE { base 141 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc virtual scoped_ptr<base::Value> ToValue() const OVERRIDE { base 142 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc return scoped_ptr<base::Value>( base 143 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc new base::FundamentalValue(override_bookmarks_ui_permission_)).Pass(); base 253 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc base::string16* error) { base 254 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc const base::Value* dict = NULL; base 56 chrome/common/extensions/manifest_handlers/settings_overrides_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 68 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); base 70 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); base 72 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 74 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc *static_cast<base::DictionaryValue*>(root.get()), base 112 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); base 114 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); base 116 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 118 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc *static_cast<base::DictionaryValue*>(root.get()), base 23 chrome/common/extensions/manifest_handlers/theme_handler.cc bool LoadImages(const base::DictionaryValue* theme_value, base 24 chrome/common/extensions/manifest_handlers/theme_handler.cc base::string16* error, base 26 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* images_value = NULL; base 29 chrome/common/extensions/manifest_handlers/theme_handler.cc for (base::DictionaryValue::Iterator iter(*images_value); !iter.IsAtEnd(); base 34 chrome/common/extensions/manifest_handlers/theme_handler.cc if (iter.value().IsType(base::Value::TYPE_DICTIONARY)) { base 35 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* inner_value = NULL; base 37 chrome/common/extensions/manifest_handlers/theme_handler.cc for (base::DictionaryValue::Iterator inner_iter(*inner_value); base 39 chrome/common/extensions/manifest_handlers/theme_handler.cc if (!inner_iter.value().IsType(base::Value::TYPE_STRING)) { base 40 chrome/common/extensions/manifest_handlers/theme_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidThemeImages); base 45 chrome/common/extensions/manifest_handlers/theme_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidThemeImages); base 48 chrome/common/extensions/manifest_handlers/theme_handler.cc } else if (!iter.value().IsType(base::Value::TYPE_STRING)) { base 49 chrome/common/extensions/manifest_handlers/theme_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidThemeImages); base 58 chrome/common/extensions/manifest_handlers/theme_handler.cc bool LoadColors(const base::DictionaryValue* theme_value, base 59 chrome/common/extensions/manifest_handlers/theme_handler.cc base::string16* error, base 61 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* colors_value = NULL; base 64 chrome/common/extensions/manifest_handlers/theme_handler.cc for (base::DictionaryValue::Iterator iter(*colors_value); !iter.IsAtEnd(); base 66 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::ListValue* color_list = NULL; base 81 chrome/common/extensions/manifest_handlers/theme_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidThemeColors); base 90 chrome/common/extensions/manifest_handlers/theme_handler.cc bool LoadTints(const base::DictionaryValue* theme_value, base 91 chrome/common/extensions/manifest_handlers/theme_handler.cc base::string16* error, base 93 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* tints_value = NULL; base 98 chrome/common/extensions/manifest_handlers/theme_handler.cc for (base::DictionaryValue::Iterator iter(*tints_value); !iter.IsAtEnd(); base 100 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::ListValue* tint_list = NULL; base 107 chrome/common/extensions/manifest_handlers/theme_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidThemeTints); base 115 chrome/common/extensions/manifest_handlers/theme_handler.cc bool LoadDisplayProperties(const base::DictionaryValue* theme_value, base 116 chrome/common/extensions/manifest_handlers/theme_handler.cc base::string16* error, base 118 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* display_properties_value = NULL; base 140 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* ThemeInfo::GetImages(const Extension* extension) { base 146 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* ThemeInfo::GetColors(const Extension* extension) { base 152 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* ThemeInfo::GetTints(const Extension* extension) { base 158 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* ThemeInfo::GetDisplayProperties( base 170 chrome/common/extensions/manifest_handlers/theme_handler.cc bool ThemeHandler::Parse(Extension* extension, base::string16* error) { base 171 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* theme_value = NULL; base 173 chrome/common/extensions/manifest_handlers/theme_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidTheme); base 196 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* images_value = base 199 chrome/common/extensions/manifest_handlers/theme_handler.cc for (base::DictionaryValue::Iterator iter(*images_value); !iter.IsAtEnd(); base 203 chrome/common/extensions/manifest_handlers/theme_handler.cc base::FilePath image_path = extension->path().Append( base 204 chrome/common/extensions/manifest_handlers/theme_handler.cc base::FilePath::FromUTF8Unsafe(val)); base 205 chrome/common/extensions/manifest_handlers/theme_handler.cc if (!base::PathExists(image_path)) { base 11 chrome/common/extensions/manifest_handlers/theme_handler.h namespace base { base 23 chrome/common/extensions/manifest_handlers/theme_handler.h static const base::DictionaryValue* GetImages(const Extension* extension); base 24 chrome/common/extensions/manifest_handlers/theme_handler.h static const base::DictionaryValue* GetColors(const Extension* extension); base 25 chrome/common/extensions/manifest_handlers/theme_handler.h static const base::DictionaryValue* GetTints(const Extension* extension); base 26 chrome/common/extensions/manifest_handlers/theme_handler.h static const base::DictionaryValue* GetDisplayProperties( base 30 chrome/common/extensions/manifest_handlers/theme_handler.h scoped_ptr<base::DictionaryValue> theme_images_; base 33 chrome/common/extensions/manifest_handlers/theme_handler.h scoped_ptr<base::DictionaryValue> theme_colors_; base 36 chrome/common/extensions/manifest_handlers/theme_handler.h scoped_ptr<base::DictionaryValue> theme_tints_; base 39 chrome/common/extensions/manifest_handlers/theme_handler.h scoped_ptr<base::DictionaryValue> theme_display_properties_; base 48 chrome/common/extensions/manifest_handlers/theme_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 57 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc virtual bool FromValue(const base::Value* value) OVERRIDE { base 61 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc virtual scoped_ptr<base::Value> ToValue() const OVERRIDE { base 62 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc return scoped_ptr<base::Value>( base 63 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc new base::FundamentalValue(override_bookmarks_ui_permission_)).Pass(); base 166 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc bool UIOverridesHandler::Parse(Extension* extension, base::string16* error) { base 167 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc const base::Value* dict = NULL; base 42 chrome/common/extensions/manifest_handlers/ui_overrides_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 56 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); base 58 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); base 60 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 62 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc *static_cast<base::DictionaryValue*>(root.get()), base 85 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); base 87 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc ASSERT_TRUE(root->IsType(base::Value::TYPE_DICTIONARY)); base 89 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc base::FilePath(FILE_PATH_LITERAL("//nonexistent")), base 91 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc *static_cast<base::DictionaryValue*>(root.get()), base 23 chrome/common/extensions/manifest_tests/extension_manifest_test.cc base::DictionaryValue* LoadManifestFile(const base::FilePath& filename_path, base 25 chrome/common/extensions/manifest_tests/extension_manifest_test.cc base::FilePath extension_path; base 26 chrome/common/extensions/manifest_tests/extension_manifest_test.cc base::FilePath manifest_path; base 32 chrome/common/extensions/manifest_tests/extension_manifest_test.cc EXPECT_TRUE(base::PathExists(manifest_path)) << base 36 chrome/common/extensions/manifest_tests/extension_manifest_test.cc base::DictionaryValue* manifest = base 37 chrome/common/extensions/manifest_tests/extension_manifest_test.cc static_cast<base::DictionaryValue*>(serializer.Deserialize(NULL, error)); base 65 chrome/common/extensions/manifest_tests/extension_manifest_test.cc ExtensionManifestTest::Manifest::Manifest(base::DictionaryValue* manifest, base 72 chrome/common/extensions/manifest_tests/extension_manifest_test.cc scoped_ptr<base::DictionaryValue> manifest) base 84 chrome/common/extensions/manifest_tests/extension_manifest_test.cc base::DictionaryValue* ExtensionManifestTest::Manifest::GetManifest( base 89 chrome/common/extensions/manifest_tests/extension_manifest_test.cc base::FilePath filename_path; base 102 chrome/common/extensions/manifest_tests/extension_manifest_test.cc scoped_ptr<base::DictionaryValue> ExtensionManifestTest::LoadManifest( base 104 chrome/common/extensions/manifest_tests/extension_manifest_test.cc base::FilePath filename_path; base 116 chrome/common/extensions/manifest_tests/extension_manifest_test.cc base::DictionaryValue* value = manifest.GetManifest(test_data_dir(), error); base 119 chrome/common/extensions/manifest_tests/extension_manifest_test.cc base::FilePath path; base 26 chrome/common/extensions/manifest_tests/extension_manifest_test.h Manifest(base::DictionaryValue* manifest, const char* name); base 27 chrome/common/extensions/manifest_tests/extension_manifest_test.h explicit Manifest(scoped_ptr<base::DictionaryValue> manifest); base 43 chrome/common/extensions/manifest_tests/extension_manifest_test.h base::DictionaryValue* GetManifest(char const* test_data_dir, base 48 chrome/common/extensions/manifest_tests/extension_manifest_test.h mutable base::DictionaryValue* manifest_; base 49 chrome/common/extensions/manifest_tests/extension_manifest_test.h mutable scoped_ptr<base::DictionaryValue> manifest_holder_; base 55 chrome/common/extensions/manifest_tests/extension_manifest_test.h scoped_ptr<base::DictionaryValue> LoadManifest( base 33 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc scoped_ptr<base::DictionaryValue> manifest( base 65 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc scoped_ptr<base::DictionaryValue> manifest( base 94 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc scoped_ptr<base::DictionaryValue> manifest( base 104 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc base::ListValue* permissions = new base::ListValue(); base 105 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc permissions->Append(new base::StringValue("webRequest")); base 88 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc base::FilePath path; base 149 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 156 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc base::string16 localized_name(base::ASCIIToUTF16("Dictionary (by Google)")); base 157 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc base::i18n::AdjustStringForLocaleDirection(&localized_name); base 158 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc EXPECT_EQ(localized_name, base::UTF8ToUTF16(extension->name())); base 163 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc localized_name = base::WideToUTF16(L"Dictionary (\x05D1\x05D2" L" Google)"); base 164 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc base::i18n::AdjustStringForLocaleDirection(&localized_name); base 165 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc EXPECT_EQ(localized_name, base::UTF8ToUTF16(extension->name())); base 171 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc base::i18n::SetICUDefaultLocale(locale); base 16 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc scoped_ptr<base::DictionaryValue> manifest1(new base::DictionaryValue()); base 20 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc scoped_ptr<base::DictionaryValue> manifest2(manifest1->DeepCopy()); base 23 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc scoped_ptr<base::DictionaryValue> manifest3(manifest1->DeepCopy()); base 29 chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc base::DictionaryValue* manifest; base 116 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc scoped_ptr<base::DictionaryValue> manifest( base 119 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc std::vector<linked_ptr<base::DictionaryValue> > manifests; base 125 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc base::ListValue *permissions = new base::ListValue(); base 126 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc permissions->Append(new base::StringValue("experimental")); base 127 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc permissions->Append(new base::StringValue(api_name)); base 13 chrome/common/extensions/manifest_tests/extension_manifests_storage_unittest.cc base::DictionaryValue base_manifest; base 17 chrome/common/extensions/manifest_tests/extension_manifests_storage_unittest.cc base::ListValue* permissions = new base::ListValue(); base 18 chrome/common/extensions/manifest_tests/extension_manifests_storage_unittest.cc permissions->Append(new base::StringValue("storage")); base 33 chrome/common/extensions/manifest_tests/extension_manifests_storage_unittest.cc base::DictionaryValue manifest_with_version; base 43 chrome/common/extensions/manifest_tests/extension_manifests_storage_unittest.cc base::DictionaryValue manifest_with_version; base 28 chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc scoped_ptr<base::DictionaryValue> manifest( base 30 chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc base::ListValue* permissions = NULL; base 32 chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc permissions->Append(new base::StringValue("not-a-valid-permission")); base 24 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc base::IntToString(0), base 29 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc base::IntToString(0), base 35 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc base::IntToString(0), base 40 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc base::IntToString(0), base 45 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc base::IntToString(1), base 102 chrome/common/extensions/manifest_tests/extension_manifests_webview_accessible_resources_unittest.cc errors::kInvalidWebviewPartition, base::IntToString(0))); base 111 chrome/common/extensions/manifest_tests/extension_manifests_webview_accessible_resources_unittest.cc errors::kInvalidWebviewAccessibleResource, base::IntToString(0))); base 48 chrome/common/extensions/manifest_unittest.cc base::Value* value) { base 49 chrome/common/extensions/manifest_unittest.cc scoped_ptr<base::DictionaryValue> manifest_value( base 63 chrome/common/extensions/manifest_unittest.cc scoped_ptr<base::DictionaryValue> manifest_value(new base::DictionaryValue()); base 92 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kManifestVersion, new base::FundamentalValue(2)); base 115 chrome/common/extensions/manifest_unittest.cc &manifest, "foo", new base::StringValue("blah")); base 121 chrome/common/extensions/manifest_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 138 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kTheme, new base::DictionaryValue()); base 145 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kExport, new base::DictionaryValue()); base 152 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kApp, new base::DictionaryValue()); base 157 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kPlatformAppBackground, new base::DictionaryValue()); base 164 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kPlatformAppServiceWorker, new base::DictionaryValue()); base 170 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kWebURLs, new base::ListValue()); base 175 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kLaunchWebURL, new base::StringValue("foo")); base 183 chrome/common/extensions/manifest_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 196 chrome/common/extensions/manifest_unittest.cc const base::Value* output = NULL; base 198 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kCommands, new base::DictionaryValue()); base 203 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kManifestVersion, new base::FundamentalValue(2)); base 208 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kPageAction, new base::DictionaryValue()); base 215 chrome/common/extensions/manifest_unittest.cc &manifest, keys::kPlatformAppBackground, new base::DictionaryValue()); base 75 chrome/common/extensions/manifest_url_handler.cc bool ManifestURL::UpdatesFromGallery(const base::DictionaryValue* manifest) { base 100 chrome/common/extensions/manifest_url_handler.cc static base::LazyInstance<URLOverrides::URLOverrideMap> g_empty_url_overrides = base 119 chrome/common/extensions/manifest_url_handler.cc bool DevToolsPageHandler::Parse(Extension* extension, base::string16* error) { base 123 chrome/common/extensions/manifest_url_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidDevToolsPage); base 143 chrome/common/extensions/manifest_url_handler.cc bool HomepageURLHandler::Parse(Extension* extension, base::string16* error) { base 173 chrome/common/extensions/manifest_url_handler.cc bool UpdateURLHandler::Parse(Extension* extension, base::string16* error) { base 205 chrome/common/extensions/manifest_url_handler.cc bool OptionsPageHandler::Parse(Extension* extension, base::string16* error) { base 209 chrome/common/extensions/manifest_url_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidOptionsPage); base 218 chrome/common/extensions/manifest_url_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidOptionsPageInHostedApp); base 226 chrome/common/extensions/manifest_url_handler.cc base::ASCIIToUTF16(errors::kInvalidOptionsPageExpectUrlInPackage); base 231 chrome/common/extensions/manifest_url_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidOptionsPage); base 247 chrome/common/extensions/manifest_url_handler.cc const base::FilePath options_path = base 250 chrome/common/extensions/manifest_url_handler.cc const base::FilePath path = base 252 chrome/common/extensions/manifest_url_handler.cc if (path.empty() || !base::PathExists(path)) { base 273 chrome/common/extensions/manifest_url_handler.cc bool URLOverridesHandler::Parse(Extension* extension, base::string16* error) { base 274 chrome/common/extensions/manifest_url_handler.cc const base::DictionaryValue* overrides = NULL; base 277 chrome/common/extensions/manifest_url_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidChromeURLOverrides); base 282 chrome/common/extensions/manifest_url_handler.cc for (base::DictionaryValue::Iterator iter(*overrides); !iter.IsAtEnd(); base 299 chrome/common/extensions/manifest_url_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidChromeURLOverrides); base 309 chrome/common/extensions/manifest_url_handler.cc std::string url = base::StringPrintf(kOverrideExtentUrlPatternFormat, base 322 chrome/common/extensions/manifest_url_handler.cc *error = base::ASCIIToUTF16(errors::kMultipleOverrides); base 13 chrome/common/extensions/manifest_url_handler.h namespace base { base 38 chrome/common/extensions/manifest_url_handler.h static bool UpdatesFromGallery(const base::DictionaryValue* manifest); base 70 chrome/common/extensions/manifest_url_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 84 chrome/common/extensions/manifest_url_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 98 chrome/common/extensions/manifest_url_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 112 chrome/common/extensions/manifest_url_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 129 chrome/common/extensions/manifest_url_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 53 chrome/common/extensions/message_bundle.cc *error = base::StringPrintf( base 76 chrome/common/extensions/message_bundle.cc base::DictionaryValue* catalog = (*it).get(); base 77 chrome/common/extensions/message_bundle.cc for (base::DictionaryValue::Iterator message_it(*catalog); base 104 chrome/common/extensions/message_bundle.cc if (base::i18n::GetTextDirectionForLocale(app_locale.c_str()) == base 105 chrome/common/extensions/message_bundle.cc base::i18n::RIGHT_TO_LEFT) { base 133 chrome/common/extensions/message_bundle.cc const base::Value& name_value, base 137 chrome/common/extensions/message_bundle.cc const base::DictionaryValue* name_tree; base 139 chrome/common/extensions/message_bundle.cc *error = base::StringPrintf("Not a valid tree for key %s.", key.c_str()); base 144 chrome/common/extensions/message_bundle.cc *error = base::StringPrintf( base 162 chrome/common/extensions/message_bundle.cc bool MessageBundle::GetPlaceholders(const base::DictionaryValue& name_tree, base 169 chrome/common/extensions/message_bundle.cc const base::DictionaryValue* placeholders_tree; base 171 chrome/common/extensions/message_bundle.cc *error = base::StringPrintf("Not a valid \"%s\" element for key %s.", base 176 chrome/common/extensions/message_bundle.cc for (base::DictionaryValue::Iterator it(*placeholders_tree); !it.IsAtEnd(); base 178 chrome/common/extensions/message_bundle.cc const base::DictionaryValue* placeholder; base 183 chrome/common/extensions/message_bundle.cc *error = base::StringPrintf("Invalid placeholder %s for key %s", base 190 chrome/common/extensions/message_bundle.cc *error = base::StringPrintf("Invalid \"%s\" element for key %s.", base 255 chrome/common/extensions/message_bundle.cc *error = base::StringPrintf("Variable %s%s%s used but not defined.", base 324 chrome/common/extensions/message_bundle.cc static base::LazyInstance<ExtensionToMessagesMap> g_extension_to_messages_map = base 14 chrome/common/extensions/message_bundle.h namespace base { base 26 chrome/common/extensions/message_bundle.h typedef std::vector<linked_ptr<base::DictionaryValue> > CatalogVector; base 130 chrome/common/extensions/message_bundle.h const base::Value& name_value, base 135 chrome/common/extensions/message_bundle.h bool GetPlaceholders(const base::DictionaryValue& name_tree, base 40 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* subtree, base 41 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* target) { base 42 chrome/common/extensions/message_bundle_unittest.cc target->Set(name, static_cast<base::Value*>(subtree)); base 47 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* dict) { base 48 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* content_tree = new base::DictionaryValue; base 53 chrome/common/extensions/message_bundle_unittest.cc void CreatePlaceholdersTree(base::DictionaryValue* dict) { base 54 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* placeholders_tree = new base::DictionaryValue; base 66 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* dict) { base 67 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* message_tree = new base::DictionaryValue; base 75 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* CreateGoodDictionary() { base 76 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue; base 84 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* CreateBadDictionary(enum BadDictionary what_is_bad) { base 85 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* dict = CreateGoodDictionary(); base 95 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* empty_tree = new base::DictionaryValue; base 106 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* empty_tree = new base::DictionaryValue; base 114 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* value; base 135 chrome/common/extensions/message_bundle_unittest.cc if (base::i18n::GetTextDirectionForLocale(ui_locale.c_str()) == base 136 chrome/common/extensions/message_bundle_unittest.cc base::i18n::RIGHT_TO_LEFT) base 161 chrome/common/extensions/message_bundle_unittest.cc std::vector<linked_ptr<base::DictionaryValue> > catalogs_; base 177 chrome/common/extensions/message_bundle_unittest.cc linked_ptr<base::DictionaryValue>(CreateGoodDictionary())); base 191 chrome/common/extensions/message_bundle_unittest.cc linked_ptr<base::DictionaryValue>(CreateGoodDictionary())); base 193 chrome/common/extensions/message_bundle_unittest.cc linked_ptr<base::DictionaryValue>(CreateGoodDictionary())); base 195 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* app_dict = catalogs_[0].get(); base 217 chrome/common/extensions/message_bundle_unittest.cc linked_ptr<base::DictionaryValue>(CreateBadDictionary(INVALID_NAME))); base 219 chrome/common/extensions/message_bundle_unittest.cc linked_ptr<base::DictionaryValue>(CreateGoodDictionary())); base 265 chrome/common/extensions/message_bundle_unittest.cc linked_ptr<base::DictionaryValue>(CreateGoodDictionary())); base 267 chrome/common/extensions/message_bundle_unittest.cc base::DictionaryValue* dict = catalogs_[0].get(); base 83 chrome/common/extensions/mime_types_handler.cc base::string16* error) { base 84 chrome/common/extensions/mime_types_handler.cc const base::ListValue* mime_types_value = NULL; base 87 chrome/common/extensions/mime_types_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidMimeTypesHandler); base 96 chrome/common/extensions/mime_types_handler.cc *error = base::ASCIIToUTF16(errors::kInvalidMIMETypes); base 52 chrome/common/extensions/mime_types_handler.h base::string16* error) OVERRIDE; base 76 chrome/common/extensions/permissions/chrome_permission_message_provider.cc std::vector<base::string16> ChromePermissionMessageProvider::GetWarningMessages( base 79 chrome/common/extensions/permissions/chrome_permission_message_provider.cc std::vector<base::string16> message_strings; base 146 chrome/common/extensions/permissions/chrome_permission_message_provider.cc std::vector<base::string16> base 150 chrome/common/extensions/permissions/chrome_permission_message_provider.cc std::vector<base::string16> message_strings; base 205 chrome/common/extensions/permissions/chrome_permission_message_provider.cc PermissionMessage::kFileSystemWriteDirectory, base::string16())); base 209 chrome/common/extensions/permissions/chrome_permission_message_provider.cc base::string16())); base 212 chrome/common/extensions/permissions/chrome_permission_message_provider.cc base::string16())); base 223 chrome/common/extensions/permissions/chrome_permission_message_provider.cc PermissionMessage::kDeclarativeWebRequest, base::string16())); base 284 chrome/common/extensions/permissions/chrome_permission_message_provider.cc base::STLSetDifference<PermissionMsgSet>(new_warnings, old_warnings); base 290 chrome/common/extensions/permissions/chrome_permission_message_provider.cc PermissionMessage::kFileSystemWriteDirectory, base::string16())) != base 294 chrome/common/extensions/permissions/chrome_permission_message_provider.cc base::string16())); base 297 chrome/common/extensions/permissions/chrome_permission_message_provider.cc base::string16())); base 316 chrome/common/extensions/permissions/chrome_permission_message_provider.cc base::STLSetDifference<PermissionMsgSet>(new_warnings, old_warnings); base 351 chrome/common/extensions/permissions/chrome_permission_message_provider.cc base::STLSetDifference<std::set<std::string> >(new_hosts_set, base 26 chrome/common/extensions/permissions/chrome_permission_message_provider.h virtual std::vector<base::string16> GetWarningMessages( base 29 chrome/common/extensions/permissions/chrome_permission_message_provider.h virtual std::vector<base::string16> GetWarningMessagesDetails( base 21 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc void CheckFromValue(APIPermission* permission, base::ListValue* value, base 38 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 43 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 51 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 56 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 60 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 65 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 72 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 77 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 94 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 98 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 102 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 106 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 113 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 120 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 125 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 143 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 153 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 172 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 177 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 183 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 190 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 195 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 201 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 207 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 224 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 229 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 247 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 252 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<base::Value> vtmp(permission1->ToValue()); base 257 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 268 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc value.reset(new base::ListValue()); base 36 chrome/common/extensions/permissions/permission_set_unittest.cc size_t IndexOf(const std::vector<base::string16>& warnings, base 39 chrome/common/extensions/permissions/permission_set_unittest.cc if (warnings[i] == base::ASCIIToUTF16(warning)) base 46 chrome/common/extensions/permissions/permission_set_unittest.cc bool Contains(const std::vector<base::string16>& warnings, base 253 chrome/common/extensions/permissions/permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 255 chrome/common/extensions/permissions/permission_set_unittest.cc base::Value::CreateStringValue("tcp-connect:*.example.com:80")); base 256 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-bind::8080")); base 257 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8888")); base 299 chrome/common/extensions/permissions/permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 301 chrome/common/extensions/permissions/permission_set_unittest.cc base::Value::CreateStringValue("tcp-connect:*.example.com:80")); base 302 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8899")); base 314 chrome/common/extensions/permissions/permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 316 chrome/common/extensions/permissions/permission_set_unittest.cc base::Value::CreateStringValue("tcp-connect:*.example.com:80")); base 317 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-bind::8080")); base 318 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8888")); base 319 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8899")); base 382 chrome/common/extensions/permissions/permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 384 chrome/common/extensions/permissions/permission_set_unittest.cc base::Value::CreateStringValue("tcp-connect:*.example.com:80")); base 385 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-bind::8080")); base 386 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8888")); base 420 chrome/common/extensions/permissions/permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 421 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-bind::8080")); base 422 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8888")); base 423 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8899")); base 431 chrome/common/extensions/permissions/permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 432 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-bind::8080")); base 433 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8888")); base 495 chrome/common/extensions/permissions/permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 497 chrome/common/extensions/permissions/permission_set_unittest.cc base::Value::CreateStringValue("tcp-connect:*.example.com:80")); base 498 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-bind::8080")); base 499 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8888")); base 521 chrome/common/extensions/permissions/permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 523 chrome/common/extensions/permissions/permission_set_unittest.cc base::Value::CreateStringValue("tcp-connect:*.example.com:80")); base 524 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8899")); base 532 chrome/common/extensions/permissions/permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 533 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-bind::8080")); base 534 chrome/common/extensions/permissions/permission_set_unittest.cc value->Append(base::Value::CreateStringValue("udp-send-to::8888")); base 857 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 861 chrome/common/extensions/permissions/permission_set_unittest.cc base::UTF16ToUTF8(warnings[0])); base 869 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 878 chrome/common/extensions/permissions/permission_set_unittest.cc base::UTF16ToUTF8(warnings[0])); base 890 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 932 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 953 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 967 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 981 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 991 chrome/common/extensions/permissions/permission_set_unittest.cc base::UTF8ToUTF16("Exchange data with any computer in the domain " base 995 chrome/common/extensions/permissions/permission_set_unittest.cc base::UTF8ToUTF16("Exchange data with the computers named: " base 1007 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 1016 chrome/common/extensions/permissions/permission_set_unittest.cc base::UTF8ToUTF16("Exchange data with any computer in the " base 1020 chrome/common/extensions/permissions/permission_set_unittest.cc base::UTF8ToUTF16("Exchange data with the computer named " base 1029 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 1434 chrome/common/extensions/permissions/permission_set_unittest.cc std::vector<base::string16> warnings = base 30 chrome/common/extensions/permissions/settings_override_permission_unittest.cc base::DictionaryValue ext_manifest; base 35 chrome/common/extensions/permissions/settings_override_permission_unittest.cc scoped_ptr<base::DictionaryValue> settings_override( base 36 chrome/common/extensions/permissions/settings_override_permission_unittest.cc new base::DictionaryValue); base 40 chrome/common/extensions/permissions/settings_override_permission_unittest.cc scoped_ptr<base::ListValue> startup_pages(new base::ListValue); base 45 chrome/common/extensions/permissions/settings_override_permission_unittest.cc scoped_ptr<base::DictionaryValue> search_provider( base 46 chrome/common/extensions/permissions/settings_override_permission_unittest.cc new base::DictionaryValue); base 71 chrome/common/extensions/permissions/settings_override_permission_unittest.cc std::vector<base::string16> warnings = base 75 chrome/common/extensions/permissions/settings_override_permission_unittest.cc base::UTF16ToUTF8(warnings[0])); base 95 chrome/common/extensions/permissions/settings_override_permission_unittest.cc std::vector<base::string16> warnings = base 99 chrome/common/extensions/permissions/settings_override_permission_unittest.cc base::UTF16ToUTF8(warnings[0])); base 119 chrome/common/extensions/permissions/settings_override_permission_unittest.cc std::vector<base::string16> warnings = base 123 chrome/common/extensions/permissions/settings_override_permission_unittest.cc base::UTF16ToUTF8(warnings[0])); base 292 chrome/common/extensions/permissions/socket_permission_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 316 chrome/common/extensions/permissions/socket_permission_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 324 chrome/common/extensions/permissions/socket_permission_unittest.cc scoped_ptr<base::Value> vtmp(permission1->ToValue()); base 44 chrome/common/extensions/permissions/usb_device_permission_unittest.cc scoped_ptr<base::ListValue> permission_list(new base::ListValue()); base 58 chrome/common/extensions/permissions/usb_device_permission_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(kMessages[0]), messages.at(0).message()); base 59 chrome/common/extensions/permissions/usb_device_permission_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(kMessages[1]), messages.at(1).message()); base 60 chrome/common/extensions/permissions/usb_device_permission_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(kMessages[2]), messages.at(2).message()); base 34 chrome/common/extensions/sync_type_unittest.cc const base::FilePath& extension_path, base 39 chrome/common/extensions/sync_type_unittest.cc base::DictionaryValue source; base 45 chrome/common/extensions/sync_type_unittest.cc source.Set(keys::kTheme, new base::DictionaryValue()); base 55 chrome/common/extensions/sync_type_unittest.cc base::ListValue* plugins = new base::ListValue(); base 57 chrome/common/extensions/sync_type_unittest.cc base::DictionaryValue* plugin = new base::DictionaryValue(); base 65 chrome/common/extensions/sync_type_unittest.cc base::ListValue* plugins = new base::ListValue(); base 66 chrome/common/extensions/sync_type_unittest.cc plugins->Set(0, new base::StringValue("plugin")); base 86 chrome/common/extensions/sync_type_unittest.cc const base::FilePath& extension_path, base 105 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 113 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 121 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 129 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 138 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 146 chrome/common/extensions/sync_type_unittest.cc Manifest::EXTERNAL_PREF, base::FilePath(), base 155 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), Extension::NO_FLAGS)); base 162 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 170 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 177 chrome/common/extensions/sync_type_unittest.cc base::DictionaryValue manifest; base 188 chrome/common/extensions/sync_type_unittest.cc base::FilePath(), Manifest::COMPONENT, manifest, 0, &error); base 196 chrome/common/extensions/sync_type_unittest.cc base::FilePath(), Manifest::COMPONENT, manifest, 0, &error); base 204 chrome/common/extensions/sync_type_unittest.cc base::FilePath(), Manifest::COMPONENT, manifest, 0, &error); base 213 chrome/common/extensions/sync_type_unittest.cc base::FilePath(), Manifest::COMPONENT, manifest, 0, &error); base 221 chrome/common/extensions/sync_type_unittest.cc base::FilePath(), Manifest::COMPONENT, manifest, 0, &error); base 228 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 234 chrome/common/extensions/sync_type_unittest.cc Manifest::COMPONENT, base::FilePath(), base 242 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 254 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 264 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 274 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 285 chrome/common/extensions/sync_type_unittest.cc Manifest::INTERNAL, base::FilePath(), base 45 chrome/common/extensions/update_manifest.cc base::StringAppendV(&errors_, details, args); base 91 chrome/common/extensions/update_manifest.cc base::StringAppendV(error, message, args); base 195 chrome/common/extensions/update_manifest.cc if (base::StringToInt(GetAttribute(updatecheck, "size"), &size)) { base 207 chrome/common/extensions/update_manifest.cc if (base::StringToInt(GetAttribute(updatecheck, "sizediff"), &sizediff)) { base 267 chrome/common/extensions/update_manifest.cc if (base::StringToInt(elapsed_seconds, &parsed_elapsed)) { base 19 chrome/common/extensions/value_counter.cc ValueCounter::Entry::Entry(const base::Value& value) base 35 chrome/common/extensions/value_counter.cc int ValueCounter::Add(const base::Value& value) { base 39 chrome/common/extensions/value_counter.cc int ValueCounter::Remove(const base::Value& value) { base 54 chrome/common/extensions/value_counter.cc int ValueCounter::AddIfMissing(const base::Value& value) { base 58 chrome/common/extensions/value_counter.cc int ValueCounter::AddImpl(const base::Value& value, bool increment) { base 12 chrome/common/extensions/value_counter.h namespace base { base 33 chrome/common/extensions/value_counter.h int Add(const base::Value& value); base 37 chrome/common/extensions/value_counter.h int Remove(const base::Value& value); base 40 chrome/common/extensions/value_counter.h int AddIfMissing(const base::Value& value); base 45 chrome/common/extensions/value_counter.h explicit Entry(const base::Value& value); base 51 chrome/common/extensions/value_counter.h const base::Value* value() const { return value_.get(); } base 55 chrome/common/extensions/value_counter.h linked_ptr<base::Value> value_; base 62 chrome/common/extensions/value_counter.h int AddImpl(const base::Value& value, bool increment); base 15 chrome/common/extensions/value_counter_unittest.cc base::ListValue value; base 22 chrome/common/extensions/value_counter_unittest.cc base::ListValue value1; base 23 chrome/common/extensions/value_counter_unittest.cc base::DictionaryValue value2; base 30 chrome/common/extensions/value_counter_unittest.cc base::ListValue value; base 39 chrome/common/extensions/value_counter_unittest.cc base::ListValue value; base 59 chrome/common/favicon/favicon_types.h scoped_refptr<base::RefCountedMemory> bitmap_data; base 72 chrome/common/favicon/favicon_url_parser.cc if (!base::StringToInt(size_str, &parsed->size_in_dip)) base 27 chrome/common/importer/firefox_importer_utils.cc base::FilePath GetProfilePath(const base::DictionaryValue& root, base 29 chrome/common/importer/firefox_importer_utils.cc base::string16 path16; base 33 chrome/common/importer/firefox_importer_utils.cc return base::FilePath(); base 37 chrome/common/importer/firefox_importer_utils.cc &path16, 0, base::ASCIIToUTF16("/"), base::ASCIIToUTF16("\\")); base 39 chrome/common/importer/firefox_importer_utils.cc base::FilePath path = base::FilePath::FromUTF16Unsafe(path16); base 51 chrome/common/importer/firefox_importer_utils.cc bool IsDefaultProfile(const base::DictionaryValue& root, base 60 chrome/common/importer/firefox_importer_utils.cc base::FilePath GetFirefoxProfilePath() { base 61 chrome/common/importer/firefox_importer_utils.cc base::FilePath ini_file = GetProfilesINI(); base 63 chrome/common/importer/firefox_importer_utils.cc base::ReadFileToString(ini_file, &content); base 64 chrome/common/importer/firefox_importer_utils.cc base::DictionaryValueINIParser ini_parser; base 69 chrome/common/importer/firefox_importer_utils.cc base::FilePath GetFirefoxProfilePathFromDictionary( base 70 chrome/common/importer/firefox_importer_utils.cc const base::DictionaryValue& root) { base 73 chrome/common/importer/firefox_importer_utils.cc std::string current_profile = base::StringPrintf("Profile%d", i); base 84 chrome/common/importer/firefox_importer_utils.cc return base::FilePath(); base 104 chrome/common/importer/firefox_importer_utils.cc base::FilePath* output) { base 105 chrome/common/importer/firefox_importer_utils.cc base::FilePath path(path_from_file); base 106 chrome/common/importer/firefox_importer_utils.cc typedef std::vector<base::FilePath::StringType> ComponentVector; base 114 chrome/common/importer/firefox_importer_utils.cc *output = base::FilePath(path_components[0]); base 131 chrome/common/importer/firefox_importer_utils.cc bool GetFirefoxVersionAndPathFromProfile(const base::FilePath& profile_path, base 133 chrome/common/importer/firefox_importer_utils.cc base::FilePath* app_path) { base 135 chrome/common/importer/firefox_importer_utils.cc base::FilePath compatibility_file = base 138 chrome/common/importer/firefox_importer_utils.cc base::ReadFileToString(compatibility_file, &content); base 141 chrome/common/importer/firefox_importer_utils.cc base::SplitString(content, '\n', &lines); base 151 chrome/common/importer/firefox_importer_utils.cc base::StringToInt(line.substr(equal + 1), version); base 165 chrome/common/importer/firefox_importer_utils.cc *app_path = base::FilePath::FromUTF8Unsafe(line.substr(equal + 1)); base 173 chrome/common/importer/firefox_importer_utils.cc bool ReadPrefFile(const base::FilePath& path, std::string* content) { base 177 chrome/common/importer/firefox_importer_utils.cc base::ReadFileToString(path, content); base 187 chrome/common/importer/firefox_importer_utils.cc std::string ReadBrowserConfigProp(const base::FilePath& app_path, base 212 chrome/common/importer/firefox_importer_utils.cc std::string ReadPrefsJsValue(const base::FilePath& profile_path, base 221 chrome/common/importer/firefox_importer_utils.cc GURL GetHomepage(const base::FilePath& profile_path) { base 232 chrome/common/importer/firefox_importer_utils.cc bool IsDefaultHomepage(const GURL& homepage, const base::FilePath& app_path) { base 245 chrome/common/importer/firefox_importer_utils.cc base::SplitString(default_homepages, '|', &urls); base 299 chrome/common/importer/firefox_importer_utils.cc base::string16 GetFirefoxImporterName(const base::FilePath& app_path) { base 300 chrome/common/importer/firefox_importer_utils.cc const base::FilePath app_ini_file = app_path.AppendASCII("application.ini"); base 302 chrome/common/importer/firefox_importer_utils.cc if (base::PathExists(app_ini_file)) { base 304 chrome/common/importer/firefox_importer_utils.cc base::ReadFileToString(app_ini_file, &content); base 306 chrome/common/importer/firefox_importer_utils.cc base::SplitString(content, '\n', &lines); base 310 chrome/common/importer/firefox_importer_utils.cc base::TrimWhitespace(lines[i], base::TRIM_ALL, &lines[i]); base 18 chrome/common/importer/firefox_importer_utils.h namespace base { base 32 chrome/common/importer/firefox_importer_utils.h base::FilePath GetFirefoxInstallPathFromRegistry(); base 40 chrome/common/importer/firefox_importer_utils.h base::FilePath GetFirefoxDylibPath(); base 44 chrome/common/importer/firefox_importer_utils.h base::FilePath GetFirefoxProfilePath(); base 48 chrome/common/importer/firefox_importer_utils.h base::FilePath GetFirefoxProfilePathFromDictionary( base 49 chrome/common/importer/firefox_importer_utils.h const base::DictionaryValue& root); base 53 chrome/common/importer/firefox_importer_utils.h bool GetFirefoxVersionAndPathFromProfile(const base::FilePath& profile_path, base 55 chrome/common/importer/firefox_importer_utils.h base::FilePath* app_path); base 59 chrome/common/importer/firefox_importer_utils.h base::FilePath GetProfilesINI(); base 73 chrome/common/importer/firefox_importer_utils.h void ParseProfileINI(const base::FilePath& file, base::DictionaryValue* root); base 76 chrome/common/importer/firefox_importer_utils.h GURL GetHomepage(const base::FilePath& profile_path); base 81 chrome/common/importer/firefox_importer_utils.h bool IsDefaultHomepage(const GURL& homepage, const base::FilePath& app_path); base 92 chrome/common/importer/firefox_importer_utils.h base::string16 GetFirefoxImporterName(const base::FilePath& app_path); base 9 chrome/common/importer/firefox_importer_utils_linux.cc base::FilePath GetProfilesINI() { base 10 chrome/common/importer/firefox_importer_utils_linux.cc base::FilePath ini_file; base 13 chrome/common/importer/firefox_importer_utils_linux.cc base::FilePath home = base::GetHomeDir(); base 17 chrome/common/importer/firefox_importer_utils_linux.cc if (base::PathExists(ini_file)) base 20 chrome/common/importer/firefox_importer_utils_linux.cc return base::FilePath(); base 105 chrome/common/importer/firefox_importer_utils_unittest.cc base::ScopedTempDir temp_dir; base 107 chrome/common/importer/firefox_importer_utils_unittest.cc const base::FilePath app_ini_file( base 110 chrome/common/importer/firefox_importer_utils_unittest.cc base::WriteFile(app_ini_file, base 118 chrome/common/importer/firefox_importer_utils_unittest.cc GetFirefoxImporterName(base::FilePath( base 123 chrome/common/importer/firefox_importer_utils_unittest.cc base::DictionaryValue no_profiles; base 127 chrome/common/importer/firefox_importer_utils_unittest.cc base::DictionaryValue single_profile; base 134 chrome/common/importer/firefox_importer_utils_unittest.cc base::DictionaryValue no_default; base 142 chrome/common/importer/firefox_importer_utils_unittest.cc base::DictionaryValue default_first; base 151 chrome/common/importer/firefox_importer_utils_unittest.cc base::DictionaryValue default_second; base 36 chrome/common/importer/firefox_importer_utils_win.cc base::win::RegKey reg_key(kFireFoxRegistryPaths[i], kFirefoxPath, base 48 chrome/common/importer/firefox_importer_utils_win.cc base::FilePath GetFirefoxInstallPathFromRegistry() { base 50 chrome/common/importer/firefox_importer_utils_win.cc base::string16 registry_path = kFirefoxPath; base 53 chrome/common/importer/firefox_importer_utils_win.cc base::win::RegKey reg_key(HKEY_LOCAL_MACHINE, registry_path.c_str(), base 58 chrome/common/importer/firefox_importer_utils_win.cc return base::FilePath(); base 60 chrome/common/importer/firefox_importer_utils_win.cc registry_path += L"\\" + base::string16(buffer) + L"\\Main"; base 62 chrome/common/importer/firefox_importer_utils_win.cc base::win::RegKey reg_key_directory(HKEY_LOCAL_MACHINE, base 67 chrome/common/importer/firefox_importer_utils_win.cc return (result != ERROR_SUCCESS) ? base::FilePath() : base::FilePath(buffer); base 70 chrome/common/importer/firefox_importer_utils_win.cc base::FilePath GetProfilesINI() { base 71 chrome/common/importer/firefox_importer_utils_win.cc base::FilePath ini_file; base 74 chrome/common/importer/firefox_importer_utils_win.cc if (!PathService::Get(base::DIR_APP_DATA, &ini_file)) base 75 chrome/common/importer/firefox_importer_utils_win.cc return base::FilePath(); base 81 chrome/common/importer/firefox_importer_utils_win.cc return base::PathExists(ini_file) ? ini_file : base::FilePath(); base 28 chrome/common/importer/ie_importer_test_registry_overrider_win.cc bool GetTestKeyFromEnvironment(base::string16* key) { base 29 chrome/common/importer/ie_importer_test_registry_overrider_win.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 33 chrome/common/importer/ie_importer_test_registry_overrider_win.cc *key = base::UTF8ToUTF16(value); base 44 chrome/common/importer/ie_importer_test_registry_overrider_win.cc base::UTF8ToUTF16(base::GenerateGUID())) { base 47 chrome/common/importer/ie_importer_test_registry_overrider_win.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 49 chrome/common/importer/ie_importer_test_registry_overrider_win.cc base::UTF16ToUTF8(temporary_key_)); base 54 chrome/common/importer/ie_importer_test_registry_overrider_win.cc base::win::RegKey reg_key(HKEY_CURRENT_USER, temporary_key_.c_str(), base 59 chrome/common/importer/ie_importer_test_registry_overrider_win.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 65 chrome/common/importer/ie_importer_test_registry_overrider_win.cc base::string16 IEImporterTestRegistryOverrider::GetTestRegistryOverride() { base 66 chrome/common/importer/ie_importer_test_registry_overrider_win.cc base::string16 key; base 68 chrome/common/importer/ie_importer_test_registry_overrider_win.cc return base::string16(); base 26 chrome/common/importer/ie_importer_test_registry_overrider_win.h static base::string16 GetTestRegistryOverride(); base 29 chrome/common/importer/ie_importer_test_registry_overrider_win.h base::string16 temporary_key_; base 11 chrome/common/importer/ie_importer_utils_win.cc const base::char16 kIEFavoritesOrderKey[] = base 15 chrome/common/importer/ie_importer_utils_win.cc const base::char16 kIEStorage2Key[] = base 18 chrome/common/importer/ie_importer_utils_win.cc const base::char16 kIESettingsMainKey[] = base 21 chrome/common/importer/ie_importer_utils_win.cc base::string16 GetPotentiallyOverridenIEKey( base 22 chrome/common/importer/ie_importer_utils_win.cc const base::string16& desired_key_path) { base 23 chrome/common/importer/ie_importer_utils_win.cc base::string16 test_reg_override( base 32 chrome/common/importer/ie_importer_utils_win.cc base::string16 GetIEFavoritesOrderKey() { base 37 chrome/common/importer/ie_importer_utils_win.cc base::string16 GetIE7PasswordsKey() { base 42 chrome/common/importer/ie_importer_utils_win.cc base::string16 GetIESettingsKey() { base 14 chrome/common/importer/ie_importer_utils_win.h base::string16 GetIEFavoritesOrderKey(); base 18 chrome/common/importer/ie_importer_utils_win.h base::string16 GetIE7PasswordsKey(); base 22 chrome/common/importer/ie_importer_utils_win.h base::string16 GetIESettingsKey(); base 23 chrome/common/importer/imported_bookmark_entry.h std::vector<base::string16> path; base 24 chrome/common/importer/imported_bookmark_entry.h base::string16 title; base 25 chrome/common/importer/imported_bookmark_entry.h base::Time creation_time; base 34 chrome/common/importer/importer_bridge.h class ImporterBridge : public base::RefCountedThreadSafe<ImporterBridge> { base 40 chrome/common/importer/importer_bridge.h const base::string16& first_folder_name) = 0; base 84 chrome/common/importer/importer_bridge.h virtual base::string16 GetLocalizedString(int message_id) = 0; base 87 chrome/common/importer/importer_bridge.h friend class base::RefCountedThreadSafe<ImporterBridge>; base 39 chrome/common/importer/importer_data_types.h base::string16 importer_name; base 41 chrome/common/importer/importer_data_types.h base::FilePath source_path; base 42 chrome/common/importer/importer_data_types.h base::FilePath app_path; base 52 chrome/common/importer/importer_data_types.h base::string16 keyword; base 53 chrome/common/importer/importer_data_types.h base::string16 display_name; base 67 chrome/common/importer/importer_data_types.h base::Time date_created; base 21 chrome/common/importer/importer_url_row.h base::string16 title; base 31 chrome/common/importer/importer_url_row.h base::Time last_visit; base 95 chrome/common/importer/profile_import_process_messages.h base::string16 title; base 97 chrome/common/importer/profile_import_process_messages.h base::Time last_visit; base 265 chrome/common/importer/profile_import_process_messages.h base::DictionaryValue /* Localized strings. */) base 303 chrome/common/importer/profile_import_process_messages.h base::string16 /* first folder name */, base 10 chrome/common/importer/safari_importer_utils.h namespace base { base 19 chrome/common/importer/safari_importer_utils.h bool SafariImporterCanImport(const base::FilePath& library_dir, base 75 chrome/common/instant_restricted_id_cache.h typedef base::MRUCache<InstantRestrictedID, T> CacheImpl; base 10 chrome/common/instant_types.cc InstantSuggestion::InstantSuggestion(const base::string16& in_text, base 25 chrome/common/instant_types.h InstantSuggestion(const base::string16& in_text, base 30 chrome/common/instant_types.h base::string16 text; base 42 chrome/common/instant_types.h base::string16 provider; base 48 chrome/common/instant_types.h base::string16 description; base 51 chrome/common/instant_types.h base::string16 destination_url; base 55 chrome/common/instant_types.h base::string16 search_query; base 168 chrome/common/instant_types.h base::string16 title; base 27 chrome/common/local_discovery/local_discovery_messages.h base::FileDescriptor descriptor; base 43 chrome/common/local_discovery/service_discovery_client.h base::Time last_seen; base 60 chrome/common/local_discovery/service_discovery_client.h typedef base::Callback<void(UpdateType, const std::string&)> UpdatedCallback; base 88 chrome/common/local_discovery/service_discovery_client.h typedef base::Callback<void(RequestStatus, const ServiceDescription&)> base 102 chrome/common/local_discovery/service_discovery_client.h typedef base::Callback<void(bool /*success*/, base 459 chrome/common/localized_error.cc return base::i18n::ICUIsRTL(); base 461 chrome/common/localized_error.cc return base::i18n::IsRTL(); base 467 chrome/common/localized_error.cc base::DictionaryValue* GetStandardMenuItemsText() { base 468 chrome/common/localized_error.cc base::DictionaryValue* standard_menu_items_text = new base::DictionaryValue(); base 506 chrome/common/localized_error.cc base::DictionaryValue* error_strings) { base 540 chrome/common/localized_error.cc base::string16 failed_url_string(net::FormatUrl( base 545 chrome/common/localized_error.cc base::i18n::WrapStringWithLTRFormatting(&failed_url_string); base 554 chrome/common/localized_error.cc base::DictionaryValue* summary = new base::DictionaryValue; base 574 chrome/common/localized_error.cc base::string16 error_string; base 579 chrome/common/localized_error.cc base::RemoveChars(ascii_error_string, "net:", &ascii_error_string); base 580 chrome/common/localized_error.cc error_string = base::ASCIIToUTF16(ascii_error_string); base 584 chrome/common/localized_error.cc error_string = base::ASCIIToUTF16(ascii_error_string); base 587 chrome/common/localized_error.cc error_string = base::IntToString16(error_code); base 601 chrome/common/localized_error.cc base::win::Version windows_version = base::win::GetVersion(); base 602 chrome/common/localized_error.cc if (windows_version < base::win::VERSION_VISTA) { base 606 chrome/common/localized_error.cc } else if (windows_version == base::win::VERSION_VISTA) { base 628 chrome/common/localized_error.cc base::ListValue* suggestions = NULL; base 631 chrome/common/localized_error.cc suggestions = new base::ListValue(); base 649 chrome/common/localized_error.cc base::DictionaryValue* reload_button = new base::DictionaryValue; base 659 chrome/common/localized_error.cc base::DictionaryValue* suggest_reload_repost = new base::DictionaryValue; base 684 chrome/common/localized_error.cc base::DictionaryValue* suggest_check_connection = new base::DictionaryValue; base 695 chrome/common/localized_error.cc base::DictionaryValue* suggest_dns_config = new base::DictionaryValue; base 704 chrome/common/localized_error.cc base::DictionaryValue* suggest_network_prediction = base 720 chrome/common/localized_error.cc base::DictionaryValue* suggest_firewall_config = new base::DictionaryValue; base 731 chrome/common/localized_error.cc base::DictionaryValue* suggest_proxy_config = GetStandardMenuItemsText(); base 746 chrome/common/localized_error.cc base::DictionaryValue* suggest_disable_extension = base 747 chrome/common/localized_error.cc new base::DictionaryValue; base 756 chrome/common/localized_error.cc base::DictionaryValue* suggest_view_policies = new base::DictionaryValue; base 769 chrome/common/localized_error.cc base::DictionaryValue* suggest_contant_administrator = base 770 chrome/common/localized_error.cc new base::DictionaryValue; base 798 chrome/common/localized_error.cc base::DictionaryValue* suggest_learn_more = new base::DictionaryValue; base 808 chrome/common/localized_error.cc base::string16 LocalizedError::GetErrorDetails(const blink::WebURLError& error, base 829 chrome/common/localized_error.cc base::DictionaryValue* error_strings) { base 835 chrome/common/localized_error.cc base::string16 failed_url(base::ASCIIToUTF16(display_url.spec())); base 838 chrome/common/localized_error.cc base::i18n::WrapStringWithLTRFormatting(&failed_url); base 857 chrome/common/localized_error.cc base::DictionaryValue* suggest_learn_more = new base::DictionaryValue(); base 15 chrome/common/localized_error.h namespace base { base 40 chrome/common/localized_error.h scoped_ptr<base::ListValue> override_suggestions; base 60 chrome/common/localized_error.h base::DictionaryValue* strings); base 63 chrome/common/localized_error.h static base::string16 GetErrorDetails(const blink::WebURLError& error, base 75 chrome/common/localized_error.h base::DictionaryValue* error_strings); base 91 chrome/common/logging_chrome.cc base::debug::BreakDebugger(); base 99 chrome/common/logging_chrome.cc base::debug::DumpWithoutCrashing(); base 161 chrome/common/logging_chrome.cc base::FilePath SetUpSymlinkIfNeeded(const base::FilePath& symlink_path, base 169 chrome/common/logging_chrome.cc base::FilePath target_path; base 170 chrome/common/logging_chrome.cc bool symlink_exists = base::PathExists(symlink_path); base 172 chrome/common/logging_chrome.cc target_path = GenerateTimestampedName(symlink_path, base::Time::Now()); base 179 chrome/common/logging_chrome.cc if (!base::CreateSymbolicLink(target_path, symlink_path)) { base 184 chrome/common/logging_chrome.cc if (!base::ReadSymbolicLink(symlink_path, &target_path)) base 190 chrome/common/logging_chrome.cc void RemoveSymlinkAndLog(const base::FilePath& link_path, base 191 chrome/common/logging_chrome.cc const base::FilePath& target_path) { base 200 chrome/common/logging_chrome.cc base::FilePath GetSessionLogFile(const CommandLine& command_line) { base 201 chrome/common/logging_chrome.cc base::FilePath log_dir; base 203 chrome/common/logging_chrome.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 206 chrome/common/logging_chrome.cc log_dir = base::FilePath(log_dir_str); base 209 chrome/common/logging_chrome.cc base::FilePath profile_dir; base 214 chrome/common/logging_chrome.cc profile_dir = base::FilePath(login_profile_value); base 219 chrome/common/logging_chrome.cc profile_dir = base::FilePath(profile_dir_str); base 239 chrome/common/logging_chrome.cc base::FilePath log_path = GetSessionLogFile(command_line); base 243 chrome/common/logging_chrome.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 245 chrome/common/logging_chrome.cc base::FilePath target_path = SetUpSymlinkIfNeeded(log_path, true); base 269 chrome/common/logging_chrome.cc base::FilePath log_path; base 271 chrome/common/logging_chrome.cc base::FilePath target_path; base 338 chrome/common/logging_chrome.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 349 chrome/common/logging_chrome.cc if (base::StringToInt(log_level, &level) && base 385 chrome/common/logging_chrome.cc base::FilePath GetLogFileName() { base 387 chrome/common/logging_chrome.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 389 chrome/common/logging_chrome.cc return base::FilePath::FromUTF8Unsafe(filename); base 391 chrome/common/logging_chrome.cc const base::FilePath log_filename(FILE_PATH_LITERAL("chrome_debug.log")); base 392 chrome/common/logging_chrome.cc base::FilePath log_path; base 424 chrome/common/logging_chrome.cc wide_line = base::UTF8ToWide(utf8_line); base 435 chrome/common/logging_chrome.cc base::FilePath GenerateTimestampedName(const base::FilePath& base_path, base 436 chrome/common/logging_chrome.cc base::Time timestamp) { base 437 chrome/common/logging_chrome.cc base::Time::Exploded time_deets; base 439 chrome/common/logging_chrome.cc std::string suffix = base::StringPrintf("_%02d%02d%02d-%02d%02d%02d", base 14 chrome/common/logging_chrome.h namespace base { base 34 chrome/common/logging_chrome.h void InitChromeLogging(const base::CommandLine& command_line, base 39 chrome/common/logging_chrome.h base::FilePath GetSessionLogFile(const base::CommandLine& command_line); base 42 chrome/common/logging_chrome.h void RedirectChromeLogging(const base::CommandLine& command_line); base 49 chrome/common/logging_chrome.h base::FilePath GetLogFileName(); base 69 chrome/common/logging_chrome.h base::FilePath GenerateTimestampedName(const base::FilePath& base_path, base 70 chrome/common/logging_chrome.h base::Time timestamp); base 14 chrome/common/mac/app_mode_chrome_locator.h namespace base { base 22 chrome/common/mac/app_mode_chrome_locator.h bool FindBundleById(NSString* bundle_id, base::FilePath* out_bundle); base 30 chrome/common/mac/app_mode_chrome_locator.h bool GetChromeBundleInfo(const base::FilePath& chrome_bundle, base 31 chrome/common/mac/app_mode_chrome_locator.h base::string16* raw_version_str, base 32 chrome/common/mac/app_mode_chrome_locator.h base::FilePath* version_path, base 33 chrome/common/mac/app_mode_chrome_locator.h base::FilePath* framework_shlib_path); base 106 chrome/common/mac/app_mode_common.h base::FilePath chrome_versioned_path; // Required: v1.0 base 109 chrome/common/mac/app_mode_common.h base::FilePath chrome_outer_bundle_path; // Required: v1.0 base 114 chrome/common/mac/app_mode_common.h base::FilePath app_mode_bundle_path; // Optional: v1.0 base 121 chrome/common/mac/app_mode_common.h base::string16 app_mode_name; // Optional: v1.0 base 127 chrome/common/mac/app_mode_common.h base::FilePath user_data_dir; base 130 chrome/common/mac/app_mode_common.h base::FilePath profile_dir; base 135 chrome/common/mac/app_mode_common.h void VerifySocketPermissions(const base::FilePath& socket_path); base 30 chrome/common/mac/mock_launchd.cc bool MockLaunchd::MakeABundle(const base::FilePath& dst, base 32 chrome/common/mac/mock_launchd.cc base::FilePath* bundle_root, base 33 chrome/common/mac/mock_launchd.cc base::FilePath* executable) { base 35 chrome/common/mac/mock_launchd.cc base::FilePath contents = bundle_root->AppendASCII("Contents"); base 36 chrome/common/mac/mock_launchd.cc base::FilePath mac_os = contents.AppendASCII("MacOS"); base 38 chrome/common/mac/mock_launchd.cc base::FilePath info_plist = contents.Append("Info.plist"); base 40 chrome/common/mac/mock_launchd.cc if (!base::CreateDirectory(mac_os)) { base 45 chrome/common/mac/mock_launchd.cc if (base::WriteFile(*executable, data, len) != len) { base 75 chrome/common/mac/mock_launchd.cc base::StringPrintf(info_plist_format, base 80 chrome/common/mac/mock_launchd.cc if (base::WriteFile(info_plist, info_plist_data.c_str(), len) != len) { base 85 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFURLRef> url( base 90 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFBundleRef> bundle( base 95 chrome/common/mac/mock_launchd.cc MockLaunchd::MockLaunchd(const base::FilePath& file, base 96 chrome/common/mac/mock_launchd.cc base::MessageLoop* loop, base 109 chrome/common/mac/mock_launchd.cc base::FilePath socket_path = file_; base 127 chrome/common/mac/mock_launchd.cc base::mac::NSToCFCast(GetServiceProcessLaunchDSocketEnvVar()); base 128 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFStringRef> socket_path(CFStringCreateWithCString( base 152 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFStringRef> path( base 153 chrome/common/mac/mock_launchd.cc base::SysUTF8ToCFStringRef(file_.value())); base 154 chrome/common/mac/mock_launchd.cc int process_id = base::GetCurrentProcId(); base 155 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFNumberRef> pid( base 171 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFStringRef> path( base 172 chrome/common/mac/mock_launchd.cc base::SysUTF8ToCFStringRef(file_.value())); base 174 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFArrayRef> args(CFArrayCreate( base 198 chrome/common/mac/mock_launchd.cc base::strlcpy(unix_addr.sun_path, pipe_name_.c_str(), kMaxPipeNameLength); base 208 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFDataRef> address( base 225 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFNumberRef> socket_fd( base 228 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFArrayRef> sockets(CFArrayCreate( base 235 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFDictionaryRef> socket_dict( base 255 chrome/common/mac/mock_launchd.cc message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 264 chrome/common/mac/mock_launchd.cc message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 272 chrome/common/mac/mock_launchd.cc base::ScopedCFTypeRef<CFDictionaryRef> dict(CopyDictionaryByCheckingIn(NULL)); base 18 chrome/common/mac/mock_launchd.h namespace base { base 26 chrome/common/mac/mock_launchd.h static bool MakeABundle(const base::FilePath& dst, base 28 chrome/common/mac/mock_launchd.h base::FilePath* bundle_root, base 29 chrome/common/mac/mock_launchd.h base::FilePath* executable); base 31 chrome/common/mac/mock_launchd.h MockLaunchd(const base::FilePath& file, base::MessageLoop* loop, base 65 chrome/common/mac/mock_launchd.h base::FilePath file_; base 67 chrome/common/mac/mock_launchd.h base::MessageLoop* message_loop_; base 11 chrome/common/media/webrtc_logging_message_data.cc WebRtcLoggingMessageData::WebRtcLoggingMessageData(base::Time time, base 16 chrome/common/media/webrtc_logging_message_data.cc WebRtcLoggingMessageData::Format(base::Time start_time) const { base 20 chrome/common/media/webrtc_logging_message_data.cc std::string result = base::StringPrintf("[%03d:%03d] %s", base 15 chrome/common/media/webrtc_logging_message_data.h WebRtcLoggingMessageData(base::Time time, const std::string& message); base 20 chrome/common/media/webrtc_logging_message_data.h std::string Format(base::Time start_time) const; base 22 chrome/common/media/webrtc_logging_message_data.h base::Time timestamp; base 15 chrome/common/media_galleries/iphoto_library.cc const base::FilePath& location, base 16 chrome/common/media_galleries/iphoto_library.cc const base::FilePath& original_location) base 22 chrome/common/media_galleries/iphoto_library.h const base::FilePath& location, base 23 chrome/common/media_galleries/iphoto_library.h const base::FilePath& original_location); base 27 chrome/common/media_galleries/iphoto_library.h base::FilePath location; base 28 chrome/common/media_galleries/iphoto_library.h base::FilePath original_location; base 14 chrome/common/media_galleries/itunes_library.cc Track::Track(uint64 id, const base::FilePath& location) base 21 chrome/common/media_galleries/itunes_library.h Track(uint64 id, const base::FilePath& location); base 25 chrome/common/media_galleries/itunes_library.h base::FilePath location; base 15 chrome/common/media_galleries/picasa_test_util.cc void WriteAlbumTable(const base::FilePath& column_file_destination, base 45 chrome/common/media_galleries/picasa_test_util.cc const base::FilePath& column_file_destination, base 46 chrome/common/media_galleries/picasa_test_util.cc const base::FilePath& test_folder_1_path, base 47 chrome/common/media_galleries/picasa_test_util.cc const base::FilePath& test_folder_2_path) { base 94 chrome/common/media_galleries/picasa_test_util.cc void WriteTestAlbumsImagesIndex(const base::FilePath& test_folder_1_path, base 95 chrome/common/media_galleries/picasa_test_util.cc const base::FilePath& test_folder_2_path) { base 102 chrome/common/media_galleries/picasa_test_util.cc base::WriteFile(test_folder_1_path.AppendASCII(kPicasaINIFilename), base 110 chrome/common/media_galleries/picasa_test_util.cc base::WriteFile(test_folder_2_path.AppendASCII(kPicasaINIFilename), base 13 chrome/common/media_galleries/picasa_test_util.h namespace base { base 19 chrome/common/media_galleries/picasa_test_util.h void WriteAlbumTable(const base::FilePath& column_file_destination, base 28 chrome/common/media_galleries/picasa_test_util.h void WriteTestAlbumTable(const base::FilePath& column_file_destination, base 29 chrome/common/media_galleries/picasa_test_util.h const base::FilePath& test_folder_1_path, base 30 chrome/common/media_galleries/picasa_test_util.h const base::FilePath& test_folder_2_path); base 32 chrome/common/media_galleries/picasa_test_util.h void WriteTestAlbumsImagesIndex(const base::FilePath& test_folder_1_path, base 33 chrome/common/media_galleries/picasa_test_util.h const base::FilePath& test_folder_2_path); base 14 chrome/common/media_galleries/picasa_types.cc base::File OpenFile(const base::FilePath& directory_path, base 16 chrome/common/media_galleries/picasa_types.cc base::FilePath path = directory_path.Append(base::FilePath::FromUTF8Unsafe( base 18 chrome/common/media_galleries/picasa_types.cc return base::File(path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 21 chrome/common/media_galleries/picasa_types.cc base::File OpenColumnFile(const base::FilePath& directory_path, base 42 chrome/common/media_galleries/picasa_types.cc AlbumInfo::AlbumInfo(const std::string& name, const base::Time& timestamp, base 43 chrome/common/media_galleries/picasa_types.cc const std::string& uid, const base::FilePath& path) base 56 chrome/common/media_galleries/picasa_types.cc AlbumTableFiles::AlbumTableFiles(const base::FilePath& directory_path) base 27 chrome/common/media_galleries/picasa_types.h typedef std::map<std::string, base::FilePath> AlbumImages; base 46 chrome/common/media_galleries/picasa_types.h AlbumInfo(const std::string& name, const base::Time& timestamp, base 47 chrome/common/media_galleries/picasa_types.h const std::string& uid, const base::FilePath& path); base 52 chrome/common/media_galleries/picasa_types.h base::Time timestamp; base 54 chrome/common/media_galleries/picasa_types.h base::FilePath path; base 61 chrome/common/media_galleries/picasa_types.h explicit AlbumTableFiles(const base::FilePath& directory_path); base 69 chrome/common/media_galleries/picasa_types.h base::File indicator_file; base 71 chrome/common/media_galleries/picasa_types.h base::File category_file; base 72 chrome/common/media_galleries/picasa_types.h base::File date_file; base 73 chrome/common/media_galleries/picasa_types.h base::File filename_file; base 74 chrome/common/media_galleries/picasa_types.h base::File name_file; base 75 chrome/common/media_galleries/picasa_types.h base::File token_file; base 76 chrome/common/media_galleries/picasa_types.h base::File uid_file; base 93 chrome/common/media_galleries/picasa_types.h base::FilePath folder_path; base 20 chrome/common/media_galleries/pmp_constants.h const base::Time::Exploded kPmpVariantTimeEpoch = { base 59 chrome/common/media_galleries/pmp_test_util.cc const base::FilePath& column_file_destination, base 61 chrome/common/media_galleries/pmp_test_util.cc base::FilePath indicator_path = column_file_destination.Append( base 62 chrome/common/media_galleries/pmp_test_util.cc base::FilePath::FromUTF8Unsafe(table_name + "_0")); base 64 chrome/common/media_galleries/pmp_test_util.cc return base::WriteFile(indicator_path, NULL, 0) == 0; base 69 chrome/common/media_galleries/pmp_test_util.cc const base::FilePath& column_file_destination, base 76 chrome/common/media_galleries/pmp_test_util.cc base::FilePath path = column_file_destination.AppendASCII(file_name); base 81 chrome/common/media_galleries/pmp_test_util.cc size_t bytes_written = base::WriteFile(path, &data[0], data.size()); base 87 chrome/common/media_galleries/pmp_test_util.cc const base::FilePath&, const std::string&, const std::string&, base 90 chrome/common/media_galleries/pmp_test_util.cc const base::FilePath&, const std::string&, const std::string&, base 93 chrome/common/media_galleries/pmp_test_util.cc const base::FilePath&, const std::string&, const std::string&, base 96 chrome/common/media_galleries/pmp_test_util.cc const base::FilePath&, const std::string&, const std::string&, base 99 chrome/common/media_galleries/pmp_test_util.cc const base::FilePath&, const std::string&, const std::string&, base 21 chrome/common/media_galleries/pmp_test_util.h const base::FilePath& column_file_destination, base 26 chrome/common/media_galleries/pmp_test_util.h const base::FilePath& column_file_destination, base 57 chrome/common/metrics/caching_permuted_entropy_provider.cc if (!base::Base64Decode(base64_cache_data, &cache_data) || base 69 chrome/common/metrics/caching_permuted_entropy_provider.cc base::Base64Encode(serialized, &base64_encoded); base 56 chrome/common/metrics/caching_permuted_entropy_provider.h base::ThreadChecker thread_checker_; base 15 chrome/common/metrics/metrics_log_base.cc using base::Histogram; base 16 chrome/common/metrics/metrics_log_base.cc using base::HistogramBase; base 17 chrome/common/metrics/metrics_log_base.cc using base::HistogramSamples; base 18 chrome/common/metrics/metrics_log_base.cc using base::SampleCountIterator; base 19 chrome/common/metrics/metrics_log_base.cc using base::Time; base 20 chrome/common/metrics/metrics_log_base.cc using base::TimeDelta; base 101 chrome/common/metrics/metrics_log_base.cc return (base::TimeTicks::Now() - base::TimeTicks()).InSeconds(); base 21 chrome/common/metrics/metrics_log_base.h namespace base { base 63 chrome/common/metrics/metrics_log_base.h const base::HistogramSamples& snapshot); base 59 chrome/common/metrics/metrics_log_base_unittest.cc base::BucketRanges ranges(8); base 69 chrome/common/metrics/metrics_log_base_unittest.cc base::SampleVector samples(&ranges); base 27 chrome/common/metrics/metrics_log_manager.cc log_hash_ = base::SHA1HashString(log_text_); base 176 chrome/common/metrics/metrics_log_manager.cc base::ElapsedTimer timer; base 203 chrome/common/metrics/metrics_log_manager.cc base::ElapsedTimer timer; base 365 chrome/common/metrics/metrics_log_manager_unittest.cc const std::string foo_hash = base::SHA1HashString(kFooText); base 367 chrome/common/metrics/metrics_log_manager_unittest.cc const std::string bar_hash = base::SHA1HashString(kBarText); base 11 chrome/common/metrics/metrics_service_base.cc using base::Histogram; base 30 chrome/common/metrics/metrics_service_base.cc base::Histogram::kNoFlags, base::Histogram::kUmaTargetedHistogramFlag); base 36 chrome/common/metrics/metrics_service_base.cc base::Histogram::kNoFlags, base::Histogram::kUmaStabilityHistogramFlag); base 40 chrome/common/metrics/metrics_service_base.cc const base::HistogramBase& histogram, base 41 chrome/common/metrics/metrics_service_base.cc const base::HistogramSamples& snapshot) { base 47 chrome/common/metrics/metrics_service_base.cc base::HistogramBase::Inconsistency problem) { base 49 chrome/common/metrics/metrics_service_base.cc problem, base::HistogramBase::NEVER_EXCEEDED_VALUE); base 53 chrome/common/metrics/metrics_service_base.cc base::HistogramBase::Inconsistency problem) { base 55 chrome/common/metrics/metrics_service_base.cc problem, base::HistogramBase::NEVER_EXCEEDED_VALUE); base 14 chrome/common/metrics/metrics_service_base.h namespace base { base 21 chrome/common/metrics/metrics_service_base.h class MetricsServiceBase : public base::HistogramFlattener { base 24 chrome/common/metrics/metrics_service_base.h virtual void RecordDelta(const base::HistogramBase& histogram, base 25 chrome/common/metrics/metrics_service_base.h const base::HistogramSamples& snapshot) OVERRIDE; base 27 chrome/common/metrics/metrics_service_base.h base::HistogramBase::Inconsistency problem) OVERRIDE; base 29 chrome/common/metrics/metrics_service_base.h base::HistogramBase::Inconsistency problem) OVERRIDE; base 55 chrome/common/metrics/metrics_service_base.h base::HistogramSnapshotManager histogram_snapshot_manager_; base 25 chrome/common/metrics/variations/experiment_labels.cc base::string16 CreateSingleExperimentLabel(int count, VariationID id, base 26 chrome/common/metrics/variations/experiment_labels.cc const base::Time& current_time) { base 28 chrome/common/metrics/variations/experiment_labels.cc const base::string16 key = base 29 chrome/common/metrics/variations/experiment_labels.cc base::ASCIIToUTF16(kVariationPrefix) + base::IntToString16(count); base 31 chrome/common/metrics/variations/experiment_labels.cc const base::string16 value = base::IntToString16(id); base 33 chrome/common/metrics/variations/experiment_labels.cc base::string16 label(key); base 34 chrome/common/metrics/variations/experiment_labels.cc label += base::ASCIIToUTF16("="); base 36 chrome/common/metrics/variations/experiment_labels.cc label += base::ASCIIToUTF16("|"); base 43 chrome/common/metrics/variations/experiment_labels.cc base::string16 BuildGoogleUpdateExperimentLabel( base 44 chrome/common/metrics/variations/experiment_labels.cc const base::FieldTrial::ActiveGroups& active_groups) { base 45 chrome/common/metrics/variations/experiment_labels.cc base::string16 experiment_labels; base 48 chrome/common/metrics/variations/experiment_labels.cc const base::Time current_time(base::Time::Now()); base 51 chrome/common/metrics/variations/experiment_labels.cc for (base::FieldTrial::ActiveGroups::const_iterator it = base 61 chrome/common/metrics/variations/experiment_labels.cc base::ASCIIToUTF16(google_update::kExperimentLabelSep); base 70 chrome/common/metrics/variations/experiment_labels.cc base::string16 ExtractNonVariationLabels(const base::string16& labels) { base 71 chrome/common/metrics/variations/experiment_labels.cc const base::string16 separator = base 72 chrome/common/metrics/variations/experiment_labels.cc base::ASCIIToUTF16(google_update::kExperimentLabelSep); base 73 chrome/common/metrics/variations/experiment_labels.cc base::string16 non_variation_labels; base 76 chrome/common/metrics/variations/experiment_labels.cc std::vector<base::string16> entries; base 77 chrome/common/metrics/variations/experiment_labels.cc base::SplitStringUsingSubstr(labels, separator, &entries); base 80 chrome/common/metrics/variations/experiment_labels.cc for (std::vector<base::string16>::const_iterator it = entries.begin(); base 83 chrome/common/metrics/variations/experiment_labels.cc StartsWith(*it, base::ASCIIToUTF16(kVariationPrefix), false)) { base 96 chrome/common/metrics/variations/experiment_labels.cc base::string16 CombineExperimentLabels(const base::string16& variation_labels, base 97 chrome/common/metrics/variations/experiment_labels.cc const base::string16& other_labels) { base 98 chrome/common/metrics/variations/experiment_labels.cc const base::string16 separator = base 99 chrome/common/metrics/variations/experiment_labels.cc base::ASCIIToUTF16(google_update::kExperimentLabelSep); base 105 chrome/common/metrics/variations/experiment_labels.cc base::string16 combined_labels = other_labels; base 16 chrome/common/metrics/variations/experiment_labels.h base::string16 BuildGoogleUpdateExperimentLabel( base 17 chrome/common/metrics/variations/experiment_labels.h const base::FieldTrial::ActiveGroups& active_groups); base 23 chrome/common/metrics/variations/experiment_labels.h base::string16 CombineExperimentLabels(const base::string16& variation_labels, base 24 chrome/common/metrics/variations/experiment_labels.h const base::string16& other_labels); base 29 chrome/common/metrics/variations/experiment_labels.h base::string16 ExtractNonVariationLabels(const base::string16& labels); base 59 chrome/common/metrics/variations/experiment_labels_unittest.cc base::FieldTrial::ActiveGroups groups; base 61 chrome/common/metrics/variations/experiment_labels_unittest.cc base::SplitString(test_cases[i].active_group_pairs, '#', &group_data); base 64 chrome/common/metrics/variations/experiment_labels_unittest.cc base::FieldTrial::ActiveGroup group; base 72 chrome/common/metrics/variations/experiment_labels_unittest.cc base::SplitString(test_cases[i].expected_ids, '#', &expected_ids_list); base 74 chrome/common/metrics/variations/experiment_labels_unittest.cc std::string experiment_labels_string = base::UTF16ToUTF8( base 80 chrome/common/metrics/variations/experiment_labels_unittest.cc base::SplitString(experiment_labels_string, ';', &split_labels); base 130 chrome/common/metrics/variations/experiment_labels_unittest.cc std::string result = base::UTF16ToUTF8(CombineExperimentLabels( base 131 chrome/common/metrics/variations/experiment_labels_unittest.cc base::ASCIIToUTF16(test_cases[i].variations_labels), base 132 chrome/common/metrics/variations/experiment_labels_unittest.cc base::ASCIIToUTF16(test_cases[i].other_labels))); base 186 chrome/common/metrics/variations/experiment_labels_unittest.cc std::string non_variation_labels = base::UTF16ToUTF8( base 188 chrome/common/metrics/variations/experiment_labels_unittest.cc base::ASCIIToUTF16(test_cases[i].input_label))); base 24 chrome/common/metrics/variations/uniformity_field_trials.cc base::FieldTrial::RandomizationType randomization_type, base 30 chrome/common/metrics/variations/uniformity_field_trials.cc static const base::FieldTrial::Probability kProbabilityPerGroup = 1; base 32 chrome/common/metrics/variations/uniformity_field_trials.cc const base::FieldTrial::Probability divisor = num_trial_groups; base 36 chrome/common/metrics/variations/uniformity_field_trials.cc const std::string trial_name = base::StringPrintf(trial_name_string.c_str(), base 41 chrome/common/metrics/variations/uniformity_field_trials.cc scoped_refptr<base::FieldTrial> trial( base 42 chrome/common/metrics/variations/uniformity_field_trials.cc base::FieldTrialList::FactoryGetFieldTrial( base 52 chrome/common/metrics/variations/uniformity_field_trials.cc base::StringPrintf("group_%02d", group_number); base 69 chrome/common/metrics/variations/uniformity_field_trials.cc void SetupNewInstallUniformityTrial(const base::Time install_date) { base 70 chrome/common/metrics/variations/uniformity_field_trials.cc const base::Time::Exploded kStartDate = { base 74 chrome/common/metrics/variations/uniformity_field_trials.cc scoped_refptr<base::FieldTrial> trial( base 75 chrome/common/metrics/variations/uniformity_field_trials.cc base::FieldTrialList::FactoryGetFieldTrial( base 77 chrome/common/metrics/variations/uniformity_field_trials.cc 2015, 1, 1, base::FieldTrial::ONE_TIME_RANDOMIZED, NULL)); base 80 chrome/common/metrics/variations/uniformity_field_trials.cc const base::Time start_date = base::Time::FromLocalExploded(kStartDate); base 89 chrome/common/metrics/variations/uniformity_field_trials.cc void SetupUniformityFieldTrials(const base::Time install_date) { base 93 chrome/common/metrics/variations/uniformity_field_trials.cc base::FieldTrial* trial = base 94 chrome/common/metrics/variations/uniformity_field_trials.cc base::FieldTrialList::CreateFieldTrial("UMA-Uniformity-Trial-100-Percent", base 118 chrome/common/metrics/variations/uniformity_field_trials.cc SetupSingleUniformityFieldTrial(base::FieldTrial::ONE_TIME_RANDOMIZED, base 127 chrome/common/metrics/variations/uniformity_field_trials.cc base::FieldTrial::SESSION_RANDOMIZED, kSessionRandomizedTrialName, base 8 chrome/common/metrics/variations/uniformity_field_trials.h namespace base { base 17 chrome/common/metrics/variations/uniformity_field_trials.h void SetupUniformityFieldTrials(const base::Time install_date); base 20 chrome/common/metrics/variations/variations_util.cc const base::FieldTrial::ActiveGroups& active_groups, base 23 chrome/common/metrics/variations/variations_util.cc for (base::FieldTrial::ActiveGroups::const_iterator it = base 38 chrome/common/metrics/variations/variations_util.cc base::FieldTrial::ActiveGroups active_groups; base 39 chrome/common/metrics/variations/variations_util.cc base::FieldTrialList::GetActiveFieldTrialGroups(&active_groups); base 50 chrome/common/metrics/variations/variations_util.cc output->push_back(base::StringPrintf( base 66 chrome/common/metrics/variations/variations_util.cc const base::FieldTrial::ActiveGroups& active_groups, base 42 chrome/common/metrics/variations/variations_util.h const base::FieldTrial::ActiveGroups& active_groups, base 29 chrome/common/metrics/variations/variations_util_unittest.cc base::FieldTrialList field_trial_list_; base 41 chrome/common/metrics/variations/variations_util_unittest.cc base::FieldTrial::ActiveGroups active_groups; base 42 chrome/common/metrics/variations/variations_util_unittest.cc base::FieldTrial::ActiveGroup active_group; base 35 chrome/common/multi_process_lock_mac.cc CFStringRef cf_name(base::SysUTF8ToCFStringRef(name_)); base 36 chrome/common/multi_process_lock_mac.cc base::ScopedCFTypeRef<CFStringRef> scoped_cf_name(cf_name); base 51 chrome/common/multi_process_lock_mac.cc base::ScopedCFTypeRef<CFMessagePortRef> port_; base 17 chrome/common/multi_process_lock_unittest.cc class MultiProcessLockTest : public base::MultiProcessTest { base 25 chrome/common/multi_process_lock_unittest.cc : name_(name), environment_(base::Environment::Create()) { base 34 chrome/common/multi_process_lock_unittest.cc scoped_ptr<base::Environment> environment_; base 47 chrome/common/multi_process_lock_unittest.cc base::Time now = base::Time::NowFromSystemTime(); base 48 chrome/common/multi_process_lock_unittest.cc return base::StringPrintf("multi_process_test_lock %lf%lf", base 49 chrome/common/multi_process_lock_unittest.cc now.ToDoubleT(), base::RandDouble()); base 54 chrome/common/multi_process_lock_unittest.cc base::ProcessHandle handle = SpawnChild("MultiProcessLockTryFailMain"); base 57 chrome/common/multi_process_lock_unittest.cc EXPECT_TRUE(base::WaitForExitCode(handle, &exit_code)); base 64 chrome/common/multi_process_lock_unittest.cc base::ProcessHandle handle = SpawnChild("MultiProcessLockTrySucceedMain"); base 67 chrome/common/multi_process_lock_unittest.cc EXPECT_TRUE(base::WaitForExitCode(handle, &exit_code)); base 145 chrome/common/multi_process_lock_unittest.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 164 chrome/common/multi_process_lock_unittest.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 33 chrome/common/multi_process_lock_win.cc base::string16 wname = base::UTF8ToUTF16(name_); base 53 chrome/common/multi_process_lock_win.cc base::win::ScopedHandle event_; base 29 chrome/common/net/net_resource_provider.cc base::DictionaryValue value; base 43 chrome/common/net/net_resource_provider.cc value.SetString("textdirection", base::i18n::IsRTL() ? "rtl" : "ltr"); base 57 chrome/common/net/net_resource_provider.cc base::StringPiece NetResourceProvider(int key) { base 61 chrome/common/net/net_resource_provider.cc return base::StringPiece(lazy_dir_lister.html_data); base 13 chrome/common/net/net_resource_provider.h base::StringPiece NetResourceProvider(int key); base 43 chrome/common/net/url_fixer_upper.cc base::string16 before_component_string_16 = base 44 chrome/common/net/url_fixer_upper.cc base::UTF8ToUTF16(before_component_string); base 45 chrome/common/net/url_fixer_upper.cc base::string16 component_string_16 = base::UTF8ToUTF16(component_string); base 77 chrome/common/net/url_fixer_upper.cc base::TrimPositions TrimWhitespaceUTF8(const std::string& input, base 78 chrome/common/net/url_fixer_upper.cc base::TrimPositions positions, base 84 chrome/common/net/url_fixer_upper.cc base::string16 input16 = base::UTF8ToUTF16(input); base 85 chrome/common/net/url_fixer_upper.cc base::string16 output16; base 86 chrome/common/net/url_fixer_upper.cc base::TrimPositions result = base 87 chrome/common/net/url_fixer_upper.cc base::TrimWhitespace(input16, positions, &output16); base 88 chrome/common/net/url_fixer_upper.cc *output = base::UTF16ToUTF8(output16); base 93 chrome/common/net/url_fixer_upper.cc void PrepareStringForFileOps(const base::FilePath& text, base 94 chrome/common/net/url_fixer_upper.cc base::FilePath::StringType* output) { base 96 chrome/common/net/url_fixer_upper.cc base::TrimWhitespace(text.value(), base::TRIM_ALL, output); base 99 chrome/common/net/url_fixer_upper.cc TrimWhitespaceUTF8(text.value(), base::TRIM_ALL, output); base 106 chrome/common/net/url_fixer_upper.cc bool ValidPathForFile(const base::FilePath::StringType& text, base 107 chrome/common/net/url_fixer_upper.cc base::FilePath* full_path) { base 108 chrome/common/net/url_fixer_upper.cc base::FilePath file_path = base::MakeAbsoluteFilePath(base::FilePath(text)); base 112 chrome/common/net/url_fixer_upper.cc if (!base::PathExists(file_path)) base 126 chrome/common/net/url_fixer_upper.cc const char* home = getenv(base::env_vars::kHome); base 157 chrome/common/net/url_fixer_upper.cc base::FilePath::StringType filename; base 159 chrome/common/net/url_fixer_upper.cc base::FilePath input_path(base::UTF8ToWide(text)); base 166 chrome/common/net/url_fixer_upper.cc base::FilePath input_path(text); base 173 chrome/common/net/url_fixer_upper.cc GURL file_url = net::FilePathToFileURL(base::FilePath(filename)); base 175 chrome/common/net/url_fixer_upper.cc return base::UTF16ToUTF8(net::FormatUrl(file_url, std::string(), base 393 chrome/common/net/url_fixer_upper.cc TrimWhitespaceUTF8(*text, base::TRIM_ALL, &trimmed); base 403 chrome/common/net/url_fixer_upper.cc if (base::FilePath::IsSeparator(trimmed.data()[0]) || base 493 chrome/common/net/url_fixer_upper.cc base::string16 URLFixerUpper::SegmentURL(const base::string16& text, base 495 chrome/common/net/url_fixer_upper.cc std::string text_utf8 = base::UTF16ToUTF8(text); base 499 chrome/common/net/url_fixer_upper.cc return base::UTF8ToUTF16(scheme_utf8); base 505 chrome/common/net/url_fixer_upper.cc TrimWhitespaceUTF8(text, base::TRIM_ALL, &trimmed); base 583 chrome/common/net/url_fixer_upper.cc GURL URLFixerUpper::FixupRelativeFile(const base::FilePath& base_dir, base 584 chrome/common/net/url_fixer_upper.cc const base::FilePath& text) { base 585 chrome/common/net/url_fixer_upper.cc base::FilePath old_cur_directory; base 588 chrome/common/net/url_fixer_upper.cc base::GetCurrentDirectory(&old_cur_directory); base 589 chrome/common/net/url_fixer_upper.cc base::SetCurrentDirectory(base_dir); base 593 chrome/common/net/url_fixer_upper.cc base::FilePath::StringType trimmed; base 601 chrome/common/net/url_fixer_upper.cc base::FilePath full_path; base 607 chrome/common/net/url_fixer_upper.cc std::wstring unescaped = base::UTF8ToWide(net::UnescapeURLComponent( base 608 chrome/common/net/url_fixer_upper.cc base::WideToUTF8(trimmed), base 622 chrome/common/net/url_fixer_upper.cc base::SetCurrentDirectory(old_cur_directory); base 627 chrome/common/net/url_fixer_upper.cc return GURL(base::UTF16ToUTF8(net::FormatUrl(file_url, std::string(), base 635 chrome/common/net/url_fixer_upper.cc std::string text_utf8 = base::WideToUTF8(text.value()); base 13 chrome/common/net/url_fixer_upper.h namespace base { base 34 chrome/common/net/url_fixer_upper.h base::string16 SegmentURL(const base::string16& text, base 68 chrome/common/net/url_fixer_upper.h GURL FixupRelativeFile(const base::FilePath& base_dir, base 69 chrome/common/net/url_fixer_upper.h const base::FilePath& text); base 224 chrome/common/net/url_fixer_upper_unittest.cc static bool MakeTempFile(const base::FilePath& dir, base 225 chrome/common/net/url_fixer_upper_unittest.cc const base::FilePath& file_name, base 226 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath* full_path) { base 228 chrome/common/net/url_fixer_upper_unittest.cc return base::WriteFile(*full_path, "", 0) == 0; base 233 chrome/common/net/url_fixer_upper_unittest.cc const base::FilePath& full_file_path) { base 241 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath derived_path; base 244 chrome/common/net/url_fixer_upper_unittest.cc return base::FilePath::CompareEqualIgnoreCase(derived_path.value(), base 369 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath dir; base 370 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath original; base 374 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath(FILE_PATH_LITERAL("url fixer upper existing file.txt")), base 382 chrome/common/net/url_fixer_upper_unittest.cc GURL fixedup(URLFixerUpper::FixupURL(base::WideToUTF8(original.value()), base 392 chrome/common/net/url_fixer_upper_unittest.cc std::string cur(base::WideToUTF8(original.value())); base 462 chrome/common/net/url_fixer_upper_unittest.cc EXPECT_TRUE(base::DeleteFile(original, false)); base 466 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath full_path, dir; base 467 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath file_part( base 471 chrome/common/net/url_fixer_upper_unittest.cc full_path = base::MakeAbsoluteFilePath(full_path); base 477 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath input = base::FilePath::FromUTF8Unsafe(value.input); base 486 chrome/common/net/url_fixer_upper_unittest.cc EXPECT_TRUE(base::DeleteFile(full_path, false)); base 490 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath nonexistent_file( base 500 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath sub_dir(FILE_PATH_LITERAL("url fixer-upper dir")); base 501 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath sub_file( base 503 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath new_dir = dir.Append(sub_dir); base 504 chrome/common/net/url_fixer_upper_unittest.cc base::CreateDirectory(new_dir); base 506 chrome/common/net/url_fixer_upper_unittest.cc full_path = base::MakeAbsoluteFilePath(full_path); base 510 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath relative_file = sub_dir.Append(sub_file); base 515 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath::StringType relative_file_str = sub_dir.value() + base 520 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath(relative_file_str)).possibly_invalid_spec(), full_path)); base 527 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath(relative_file_str)).possibly_invalid_spec(), full_path)); base 530 chrome/common/net/url_fixer_upper_unittest.cc EXPECT_TRUE(base::DeleteFile(full_path, false)); base 531 chrome/common/net/url_fixer_upper_unittest.cc EXPECT_TRUE(base::DeleteFile(new_dir, true)); base 535 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath empty_path; base 536 chrome/common/net/url_fixer_upper_unittest.cc base::FilePath http_url_path(FILE_PATH_LITERAL("http://../")); base 24 chrome/common/net/url_util.cc base::string16 text = url.SchemeIs(content::kMailToScheme) ? base 25 chrome/common/net/url_util.cc base::ASCIIToUTF16(url.path()) : base 20 chrome/common/net/x509_certificate_model.cc base::string16 input16; base 24 chrome/common/net/x509_certificate_model.cc base::string16 output16 = net::IDNToUnicode(input, std::string()); base 66 chrome/common/net/x509_certificate_model.h base::Time* issued, base::Time* expires); base 130 chrome/common/net/x509_certificate_model_nss.cc return base::UintToString(version + 1); base 199 chrome/common/net/x509_certificate_model_nss.cc base::Time* issued, base::Time* expires) { base 276 chrome/common/net/x509_certificate_model_nss.cc pkcs11_id = base::HexEncode(sec_item->data, sec_item->len); base 64 chrome/common/net/x509_certificate_model_openssl.cc return base::UintToString(version + 1); base 152 chrome/common/net/x509_certificate_model_openssl.cc base::Time* issued, base::Time* expires) { base 26 chrome/common/pepper_permission_util.cc const std::string id_hash = base::SHA1HashString(host); base 27 chrome/common/pepper_permission_util.cc DCHECK_EQ(id_hash.length(), base::kSHA1Length); base 28 chrome/common/pepper_permission_util.cc return base::HexEncode(id_hash.c_str(), id_hash.length()); base 96 chrome/common/pepper_permission_util.cc base::StringTokenizer t(allowed_list, ","); base 56 chrome/common/print_messages.cc title = base::string16(); base 57 chrome/common/print_messages.cc url = base::string16(); base 48 chrome/common/print_messages.h base::string16 title; base 49 chrome/common/print_messages.h base::string16 url; base 189 chrome/common/print_messages.h IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle) base 210 chrome/common/print_messages.h IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle) base 245 chrome/common/print_messages.h IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle) base 288 chrome/common/print_messages.h base::DictionaryValue /* settings */) base 306 chrome/common/print_messages.h base::DictionaryValue /* settings */) base 320 chrome/common/print_messages.h base::SharedMemoryHandle /* renderer handle */, base 321 chrome/common/print_messages.h base::SharedMemoryHandle /* browser handle */) base 355 chrome/common/print_messages.h base::DictionaryValue /* job_settings */, base 372 chrome/common/print_messages.h base::FileDescriptor /* temp file fd */, base 29 chrome/common/profile_management_switches.cc base::FieldTrialList::FindFullName(kNewProfileManagementFieldTrialName); base 20 chrome/common/profiling.cc base::debug::AddDynamicSymbol add_dynamic_symbol_func = NULL; base 21 chrome/common/profiling.cc base::debug::MoveDynamicSymbol move_dynamic_symbol_func = NULL; base 24 chrome/common/profiling.cc DCHECK_NE(static_cast<base::debug::AddDynamicSymbol>(NULL), base 26 chrome/common/profiling.cc DCHECK_NE(static_cast<base::debug::MoveDynamicSymbol>(NULL), base 63 chrome/common/profiling.cc void FlushProfilingData(base::Thread* thread) { base 69 chrome/common/profiling.cc base::debug::FlushProfiling(); base 84 chrome/common/profiling.cc base::Bind(&FlushProfilingData, thread), base 85 chrome/common/profiling.cc base::TimeDelta::FromSeconds(flush_seconds)); base 93 chrome/common/profiling.cc base::AutoLock locked(lock_); base 97 chrome/common/profiling.cc thread_ = new base::Thread("Profiling_Flush"); base 100 chrome/common/profiling.cc FROM_HERE, base::Bind(&FlushProfilingData, thread_)); base 104 chrome/common/profiling.cc base::AutoLock locked(lock_); base 114 chrome/common/profiling.cc base::Thread* thread_; base 115 chrome/common/profiling.cc base::Lock lock_; base 120 chrome/common/profiling.cc base::LazyInstance<ProfilingThreadControl>::Leaky base 132 chrome/common/profiling.cc if (base::debug::IsBinaryInstrumented()) { base 133 chrome/common/profiling.cc base::debug::ReturnAddressLocationResolver resolve_func = base 134 chrome/common/profiling.cc base::debug::GetProfilerReturnAddrResolutionFunc(); base 144 chrome/common/profiling.cc base::debug::DynamicFunctionEntryHook entry_hook_func = base 145 chrome/common/profiling.cc base::debug::GetProfilerDynamicFunctionEntryHookFunc(); base 146 chrome/common/profiling.cc add_dynamic_symbol_func = base::debug::GetProfilerAddDynamicSymbolFunc(); base 147 chrome/common/profiling.cc move_dynamic_symbol_func = base::debug::GetProfilerMoveDynamicSymbolFunc(); base 172 chrome/common/profiling.cc base::debug::StartProfiling(GetProfileName()); base 183 chrome/common/profiling.cc base::debug::StopProfiling(); base 188 chrome/common/profiling.cc return base::debug::BeingProfiled(); base 15 chrome/common/ref_counted_util.h : public base::RefCountedThreadSafe<RefCountedVector<T> > { base 88 chrome/common/render_messages.h l->append(base::StringPrintf("<gfx::NativeView>")); base 129 chrome/common/render_messages.h IPC_STRUCT_MEMBER(base::string16, group_name) base 241 chrome/common/render_messages.h base::string16 /* javascript */) base 288 chrome/common/render_messages.h base::string16 /* value */) base 294 chrome/common/render_messages.h base::string16 /* identity */, base 415 chrome/common/render_messages.h base::string16 /* database name */, base 416 chrome/common/render_messages.h base::string16 /* database display name */, base 442 chrome/common/render_messages.h base::string16 /* database name */, base 466 chrome/common/render_messages.h std::vector<base::string16> /* additional_param_names */, base 467 chrome/common/render_messages.h std::vector<base::string16> /* additional_param_values */) base 485 chrome/common/render_messages.h base::string16 /* plugin_name */) base 515 chrome/common/render_messages.h base::FilePath /* plugin_path */) base 560 chrome/common/render_messages.h base::string16 /* name */, base 644 chrome/common/render_messages.h base::string16 /* provider */) base 651 chrome/common/render_messages.h base::string16 /* provider */) base 656 chrome/common/render_messages.h base::string16 /* identity */) base 668 chrome/common/render_messages.h base::string16 /* text to be pasted */) base 712 chrome/common/render_messages.h base::string16 /* message */, base 713 chrome/common/render_messages.h base::string16 /* source */, base 10 chrome/common/safe_browsing/download_protection_util.cc bool IsArchiveFile(const base::FilePath& file) { base 14 chrome/common/safe_browsing/download_protection_util.cc bool IsBinaryFile(const base::FilePath& file) { base 8 chrome/common/safe_browsing/download_protection_util.h namespace base { base 16 chrome/common/safe_browsing/download_protection_util.h bool IsBinaryFile(const base::FilePath& file); base 19 chrome/common/safe_browsing/download_protection_util.h bool IsArchiveFile(const base::FilePath& file); base 14 chrome/common/safe_browsing/zip_analyzer.cc void AnalyzeZipFile(base::PlatformFile zip_file, Results* results) { base 31 chrome/common/safe_browsing/zip_analyzer.cc const base::FilePath& file = reader.current_entry_info()->file_path(); base 24 chrome/common/safe_browsing/zip_analyzer.h void AnalyzeZipFile(base::PlatformFile zip_file, Results* results); base 28 chrome/common/service_messages.h base::DictionaryValue /* user_settings */) base 35 chrome/common/service_process_util.cc base::ProcessId service_process_pid; base 52 chrome/common/service_process_util.cc std::string* service_version_out, base::ProcessId* pid_out) { base 105 chrome/common/service_process_util.cc base::FilePath user_data_dir; base 108 chrome/common/service_process_util.cc std::string user_data_dir_path = base::WideToUTF8(user_data_dir.value()); base 112 chrome/common/service_process_util.cc std::string hash = base::SHA1HashString(user_data_dir_path); base 113 chrome/common/service_process_util.cc std::string hex_hash = base::HexEncode(hash.c_str(), hash.length()); base 131 chrome/common/service_process_util.cc bool GetServiceProcessData(std::string* version, base::ProcessId* pid) { base 132 chrome/common/service_process_util.cc scoped_ptr<base::SharedMemory> shared_mem_service_data; base 133 chrome/common/service_process_util.cc shared_mem_service_data.reset(new base::SharedMemory()); base 190 chrome/common/service_process_util.cc base::ProcessId process_id = 0; base 220 chrome/common/service_process_util.cc scoped_ptr<base::SharedMemory> shared_mem_service_data( base 221 chrome/common/service_process_util.cc new base::SharedMemory()); base 240 chrome/common/service_process_util.cc shared_data->service_process_pid = base::GetCurrentProcId(); base 252 chrome/common/service_process_util.cc base::FilePath exe_path; base 262 chrome/common/service_process_util.cc base::FilePath user_data_dir = base 27 chrome/common/service_process_util.h namespace base { base 70 chrome/common/service_process_util.h bool GetServiceProcessData(std::string* version, base::ProcessId* pid); base 75 chrome/common/service_process_util.h base::ProcessId process_id); base 97 chrome/common/service_process_util.h base::MessageLoopProxy* message_loop_proxy, base 98 chrome/common/service_process_util.h const base::Closure& terminate_task); base 140 chrome/common/service_process_util.h scoped_ptr<base::SharedMemory> shared_mem_service_data_; base 141 chrome/common/service_process_util.h scoped_ptr<base::CommandLine> autorun_command_line_; base 43 chrome/common/service_process_util_linux.cc base::ProcessId process_id) { base 54 chrome/common/service_process_util_linux.cc base::FilePath temp_dir; base 55 chrome/common/service_process_util_linux.cc PathService::Get(base::DIR_TEMP, &temp_dir); base 31 chrome/common/service_process_util_posix.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100 * i)); base 40 chrome/common/service_process_util_posix.cc const base::Closure& terminate_task) base 85 chrome/common/service_process_util_posix.cc void ServiceProcessState::StateData::SignalReady(base::WaitableEvent* signal, base 89 chrome/common/service_process_util_posix.cc *success = base::MessageLoopForIO::current()->WatchFileDescriptor( base 92 chrome/common/service_process_util_posix.cc base::MessageLoopForIO::WATCH_READ, base 165 chrome/common/service_process_util_posix.cc base::MessageLoopProxy* message_loop_proxy, base 166 chrome/common/service_process_util_posix.cc const base::Closure& terminate_task) { base 181 chrome/common/service_process_util_posix.cc base::WaitableEvent signal_ready(true, false); base 185 chrome/common/service_process_util_posix.cc base::Bind(&ServiceProcessState::StateData::SignalReady, base 26 chrome/common/service_process_util_posix.h namespace base { base 30 chrome/common/service_process_util_posix.h CFDictionaryRef CreateServiceProcessLaunchdPlist(base::CommandLine* cmd_line, base 34 chrome/common/service_process_util_posix.h namespace base { base 41 chrome/common/service_process_util_posix.h class ServiceProcessTerminateMonitor : public base::MessageLoopForIO::Watcher { base 48 chrome/common/service_process_util_posix.h explicit ServiceProcessTerminateMonitor(const base::Closure& terminate_task); base 56 chrome/common/service_process_util_posix.h base::Closure terminate_task_; base 60 chrome/common/service_process_util_posix.h : public base::RefCountedThreadSafe<ServiceProcessState::StateData> { base 65 chrome/common/service_process_util_posix.h void SignalReady(base::WaitableEvent* signal, bool* success); base 74 chrome/common/service_process_util_posix.h base::ScopedCFTypeRef<CFDictionaryRef> launchd_conf_; base 75 chrome/common/service_process_util_posix.h base::FilePathWatcher executable_watcher_; base 82 chrome/common/service_process_util_posix.h base::MessageLoopForIO::FileDescriptorWatcher watcher_; base 88 chrome/common/service_process_util_posix.h friend class base::RefCountedThreadSafe<ServiceProcessState::StateData>; base 51 chrome/common/service_process_util_unittest.cc void ShutdownTask(base::MessageLoop* loop) { base 55 chrome/common/service_process_util_unittest.cc loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 69 chrome/common/service_process_util_unittest.cc class ServiceProcessStateTest : public base::MultiProcessTest { base 74 chrome/common/service_process_util_unittest.cc base::MessageLoopProxy* IOMessageLoopProxy() { base 81 chrome/common/service_process_util_unittest.cc base::ShadowingAtExitManager at_exit_manager_; base 82 chrome/common/service_process_util_unittest.cc base::Thread io_thread_; base 93 chrome/common/service_process_util_unittest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 98 chrome/common/service_process_util_unittest.cc base::ProcessHandle handle = SpawnChild(name); base 101 chrome/common/service_process_util_unittest.cc ASSERT_TRUE(base::WaitForExitCode(handle, &exit_code)); base 115 chrome/common/service_process_util_unittest.cc ASSERT_TRUE(state.SignalReady(IOMessageLoopProxy(), base::Closure())); base 127 chrome/common/service_process_util_unittest.cc base::string16 value; base 128 chrome/common/service_process_util_unittest.cc EXPECT_TRUE(base::win::ReadCommandFromAutoRun(HKEY_CURRENT_USER, base 129 chrome/common/service_process_util_unittest.cc base::UTF8ToWide(value_name), base 150 chrome/common/service_process_util_unittest.cc base::SplitString(exec_value, ' ', &argv); base 161 chrome/common/service_process_util_unittest.cc EXPECT_FALSE(base::win::ReadCommandFromAutoRun(HKEY_CURRENT_USER, base 162 chrome/common/service_process_util_unittest.cc base::UTF8ToWide(value_name), base 172 chrome/common/service_process_util_unittest.cc base::ProcessId pid; base 184 chrome/common/service_process_util_unittest.cc ASSERT_EQ(base::GetCurrentProcId(), pid); base 188 chrome/common/service_process_util_unittest.cc base::ProcessHandle handle = SpawnChild("ServiceProcessStateTestShutdown"); base 191 chrome/common/service_process_util_unittest.cc base::PlatformThread::Sleep(TestTimeouts::tiny_timeout()); base 195 chrome/common/service_process_util_unittest.cc base::ProcessId pid; base 199 chrome/common/service_process_util_unittest.cc ASSERT_TRUE(base::WaitForExitCodeWithTimeout(handle, base 201 chrome/common/service_process_util_unittest.cc base::CloseProcessHandle(handle); base 222 chrome/common/service_process_util_unittest.cc base::MessageLoop message_loop; base 224 chrome/common/service_process_util_unittest.cc base::Thread io_thread_("ServiceProcessStateTestShutdownIOThread"); base 225 chrome/common/service_process_util_unittest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 231 chrome/common/service_process_util_unittest.cc base::Bind(&ShutdownTask, base::MessageLoop::current()))); base 233 chrome/common/service_process_util_unittest.cc base::MessageLoop::QuitClosure(), base 263 chrome/common/service_process_util_unittest.cc base::Thread::Options options; base 264 chrome/common/service_process_util_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 277 chrome/common/service_process_util_unittest.cc io_thread_.message_loop_proxy().get(), base::Closure())); base 279 chrome/common/service_process_util_unittest.cc base::MessageLoop::QuitClosure(), base 284 chrome/common/service_process_util_unittest.cc const base::FilePath& executable_path() const { return executable_path_; } base 285 chrome/common/service_process_util_unittest.cc const base::FilePath& bundle_path() const { return bundle_path_; } base 286 chrome/common/service_process_util_unittest.cc const base::FilePath& GetTempDirPath() const { return temp_dir_.path(); } base 288 chrome/common/service_process_util_unittest.cc base::MessageLoopProxy* GetIOMessageLoopProxy() { base 294 chrome/common/service_process_util_unittest.cc base::ScopedTempDir temp_dir_; base 295 chrome/common/service_process_util_unittest.cc base::MessageLoopForUI loop_; base 296 chrome/common/service_process_util_unittest.cc base::Thread io_thread_; base 297 chrome/common/service_process_util_unittest.cc base::FilePath executable_path_, bundle_path_; base 303 chrome/common/service_process_util_unittest.cc void DeleteFunc(const base::FilePath& file) { base 304 chrome/common/service_process_util_unittest.cc EXPECT_TRUE(base::DeleteFile(file, true)); base 307 chrome/common/service_process_util_unittest.cc void MoveFunc(const base::FilePath& from, const base::FilePath& to) { base 308 chrome/common/service_process_util_unittest.cc EXPECT_TRUE(base::Move(from, to)); base 311 chrome/common/service_process_util_unittest.cc void ChangeAttr(const base::FilePath& from, int mode) { base 317 chrome/common/service_process_util_unittest.cc ScopedAttributesRestorer(const base::FilePath& path, int mode) base 324 chrome/common/service_process_util_unittest.cc base::FilePath path_; base 328 chrome/common/service_process_util_unittest.cc void TrashFunc(const base::FilePath& src) { base 331 chrome/common/service_process_util_unittest.cc EXPECT_TRUE(base::mac::FSRefFromPath(src.value(), &path_ref)); base 347 chrome/common/service_process_util_unittest.cc CommandLine cl(base::FilePath("/bin/launchctl")); base 353 chrome/common/service_process_util_unittest.cc ASSERT_TRUE(base::GetAppOutputWithExitCode(cl, &output, &exit_code) base 361 chrome/common/service_process_util_unittest.cc base::Bind(&DeleteFunc, executable_path())); base 370 chrome/common/service_process_util_unittest.cc base::Bind(&DeleteFunc, bundle_path())); base 377 chrome/common/service_process_util_unittest.cc base::FilePath new_loc = GetTempDirPath().AppendASCII("MoveBundle"); base 380 chrome/common/service_process_util_unittest.cc base::Bind(&MoveFunc, bundle_path(), new_loc)); base 387 chrome/common/service_process_util_unittest.cc base::FilePath new_loc = GetTempDirPath().AppendASCII("MoveFile"); base 390 chrome/common/service_process_util_unittest.cc base::Bind(&MoveFunc, executable_path(), new_loc)); base 398 chrome/common/service_process_util_unittest.cc ASSERT_TRUE(base::mac::FSRefFromPath(bundle_path().value(), &bundle_ref)); base 401 chrome/common/service_process_util_unittest.cc base::Bind(&TrashFunc, bundle_path())); base 405 chrome/common/service_process_util_unittest.cc std::string path(base::mac::PathFromFSRef(bundle_ref)); base 406 chrome/common/service_process_util_unittest.cc base::FilePath file_path(path); base 407 chrome/common/service_process_util_unittest.cc ASSERT_TRUE(base::DeleteFile(file_path, true)); base 414 chrome/common/service_process_util_unittest.cc base::Bind(&ChangeAttr, bundle_path(), 0222)); base 25 chrome/common/service_process_util_win.cc base::string16 GetServiceProcessReadyEventName() { base 26 chrome/common/service_process_util_win.cc return base::UTF8ToWide( base 30 chrome/common/service_process_util_win.cc base::string16 GetServiceProcessTerminateEventName() { base 31 chrome/common/service_process_util_win.cc return base::UTF8ToWide( base 42 chrome/common/service_process_util_win.cc base::FilePath user_data_dir; base 44 chrome/common/service_process_util_win.cc std::string scoped_name = base::WideToUTF8(user_data_dir.value()); base 52 chrome/common/service_process_util_win.cc : public base::win::ObjectWatcher::Delegate { base 54 chrome/common/service_process_util_win.cc explicit ServiceProcessTerminateMonitor(const base::Closure& terminate_task) base 58 chrome/common/service_process_util_win.cc base::string16 event_name = GetServiceProcessTerminateEventName(); base 73 chrome/common/service_process_util_win.cc base::win::ScopedHandle terminate_event_; base 74 chrome/common/service_process_util_win.cc base::win::ObjectWatcher watcher_; base 75 chrome/common/service_process_util_win.cc base::Closure terminate_task_; base 86 chrome/common/service_process_util_win.cc base::ProcessId process_id) { base 87 chrome/common/service_process_util_win.cc base::win::ScopedHandle terminate_event; base 90 chrome/common/service_process_util_win.cc base::string16 event_name = base 91 chrome/common/service_process_util_win.cc base::UTF8ToWide(GetServiceProcessScopedName(versioned_name)); base 100 chrome/common/service_process_util_win.cc base::string16 event_name = GetServiceProcessReadyEventName(); base 101 chrome/common/service_process_util_win.cc base::win::ScopedHandle event( base 111 chrome/common/service_process_util_win.cc base::win::ScopedHandle ready_event; base 122 chrome/common/service_process_util_win.cc base::string16 event_name = GetServiceProcessReadyEventName(); base 124 chrome/common/service_process_util_win.cc base::win::ScopedHandle service_process_ready_event; base 136 chrome/common/service_process_util_win.cc base::MessageLoopProxy* message_loop_proxy, base 137 chrome/common/service_process_util_win.cc const base::Closure& terminate_task) { base 155 chrome/common/service_process_util_win.cc base::win::RemoveCommandFromAutoRun( base 157 chrome/common/service_process_util_win.cc base::UTF8ToWide(GetObsoleteServiceProcessAutoRunKey())); base 158 chrome/common/service_process_util_win.cc return base::win::AddCommandToAutoRun( base 160 chrome/common/service_process_util_win.cc base::UTF8ToWide(GetServiceProcessAutoRunKey()), base 167 chrome/common/service_process_util_win.cc base::win::RemoveCommandFromAutoRun( base 169 chrome/common/service_process_util_win.cc base::UTF8ToWide(GetObsoleteServiceProcessAutoRunKey())); base 170 chrome/common/service_process_util_win.cc return base::win::RemoveCommandFromAutoRun( base 171 chrome/common/service_process_util_win.cc HKEY_CURRENT_USER, base::UTF8ToWide(GetServiceProcessAutoRunKey())); base 94 chrome/common/spellcheck_common.cc base::FilePath GetVersionedFileName(const std::string& input_language, base 95 chrome/common/spellcheck_common.cc const base::FilePath& dict_dir) { base 12 chrome/common/spellcheck_common.h namespace base { base 46 chrome/common/spellcheck_common.h base::FilePath GetVersionedFileName(const std::string& input_language, base 47 chrome/common/spellcheck_common.h const base::FilePath& dict_dir); base 72 chrome/common/spellcheck_messages.h base::string16 /* sentence */, base 100 chrome/common/spellcheck_messages.h base::string16 /* word */, base 110 chrome/common/spellcheck_messages.h base::string16 /* sentence */, base 121 chrome/common/spellcheck_messages.h base::string16 /* the word to update the panel with */) base 125 chrome/common/spellcheck_messages.h base::string16 /* word */, base 130 chrome/common/spellcheck_messages.h base::string16 /* word */, base 131 chrome/common/spellcheck_messages.h std::vector<base::string16> /* suggestions */) base 136 chrome/common/spellcheck_messages.h base::string16 /* sentence */, base 31 chrome/common/spellcheck_result.h const base::string16& rep = base::string16(), base 39 chrome/common/spellcheck_result.h base::string16 replacement; base 17 chrome/common/switch_utils.h std::map<std::string, base::CommandLine::StringType>* switches); base 10 chrome/common/thumbnail_score.cc using base::Time; base 11 chrome/common/thumbnail_score.cc using base::TimeDelta; base 73 chrome/common/thumbnail_score.cc return base::StringPrintf( base 24 chrome/common/thumbnail_score.h const base::Time& time); base 67 chrome/common/thumbnail_score.h base::Time time_at_snapshot; base 10 chrome/common/thumbnail_score_unittest.cc base::Time now = base::Time::Now(); base 29 chrome/common/thumbnail_score_unittest.cc base::Time now = base::Time::Now(); base 30 chrome/common/thumbnail_score_unittest.cc base::Time last_year = now - base::TimeDelta::FromDays(365); base 40 chrome/common/thumbnail_score_unittest.cc base::Time now = base::Time::Now(); base 86 chrome/common/thumbnail_score_unittest.cc base::TimeDelta::FromDays(ThumbnailScore::kUpdateThumbnailTimeDays); base 19 chrome/common/time_format_browsertest.cc using base::TimeDelta; base 27 chrome/common/time_format_browsertest.cc base::ScopedLocale scoped_locale_; base 37 chrome/common/time_format_browsertest.cc base::string16 one_min = base 41 chrome/common/time_format_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("1 min"), one_min); base 32 chrome/common/web_application_info.h base::string16 title; base 35 chrome/common/web_application_info.h base::string16 description; base 10 chrome/common/widevine_cdm_constants.cc const base::FilePath::CharType kWidevineCdmBaseDirectory[] = base 12 chrome/common/widevine_cdm_constants.h extern const base::FilePath::CharType kWidevineCdmBaseDirectory[]; base 18 chrome/common/worker_thread_ticker.cc tick_interval_(base::TimeDelta::FromMilliseconds(tick_interval)) { base 27 chrome/common/worker_thread_ticker.cc base::AutoLock lock(lock_); base 38 chrome/common/worker_thread_ticker.cc base::AutoLock lock(lock_); base 57 chrome/common/worker_thread_ticker.cc base::AutoLock lock(lock_); base 70 chrome/common/worker_thread_ticker.cc base::AutoLock lock(lock_); base 81 chrome/common/worker_thread_ticker.cc base::Bind(&WorkerThreadTicker::TimerTask, base::Unretained(this)), base 60 chrome/common/worker_thread_ticker.h tick_interval_ = base::TimeDelta::FromMilliseconds(tick_interval); base 76 chrome/common/worker_thread_ticker.h base::Lock lock_; base 78 chrome/common/worker_thread_ticker.h base::Thread timer_thread_; base 82 chrome/common/worker_thread_ticker.h base::TimeDelta tick_interval_; base 15 chrome/common/worker_thread_ticker_unittest.cc TestCallback() : counter_(0), message_loop_(base::MessageLoop::current()) {} base 21 chrome/common/worker_thread_ticker_unittest.cc message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 28 chrome/common/worker_thread_ticker_unittest.cc base::MessageLoop* message_loop_; base 34 chrome/common/worker_thread_ticker_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(1500)); base 39 chrome/common/worker_thread_ticker_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 41 chrome/common/worker_thread_ticker_unittest.cc base::MessageLoop::QuitClosure(), base 42 chrome/common/worker_thread_ticker_unittest.cc base::TimeDelta::FromMilliseconds(500)); base 43 chrome/common/worker_thread_ticker_unittest.cc base::MessageLoop::current()->Run(); base 49 chrome/common/worker_thread_ticker_unittest.cc base::MessageLoop loop; base 67 chrome/common/worker_thread_ticker_unittest.cc base::MessageLoop loop; base 84 chrome/common/worker_thread_ticker_unittest.cc base::MessageLoop loop; base 101 chrome/common/worker_thread_ticker_unittest.cc base::MessageLoop loop; base 46 chrome/installer/gcapi/gcapi.cc using base::Time; base 47 chrome/installer/gcapi/gcapi.cc using base::TimeDelta; base 48 chrome/installer/gcapi/gcapi.cc using base::win::RegKey; base 49 chrome/installer/gcapi/gcapi.cc using base::win::ScopedCOMInitializer; base 50 chrome/installer/gcapi/gcapi.cc using base::win::ScopedComPtr; base 51 chrome/installer/gcapi/gcapi.cc using base::win::ScopedHandle; base 380 chrome/installer/gcapi/gcapi.cc bool GetGoogleChromePath(base::FilePath* chrome_exe_path) { base 442 chrome/installer/gcapi/gcapi.cc base::FilePath chrome_exe_path; base 514 chrome/installer/gcapi/gcapi.cc ret = base::LaunchProcess(chrome_exe_path.value(), base 515 chrome/installer/gcapi/gcapi.cc base::LaunchOptions(), base 530 chrome/installer/gcapi/gcapi.cc base::FilePath chrome_exe_path; base 605 chrome/installer/gcapi/gcapi.cc base::StringToInt64(last_run, &last_run_value)) { base 14 chrome/installer/gcapi/gcapi_dll.cc base::AtExitManager* g_exit_manager = NULL; base 23 chrome/installer/gcapi/gcapi_dll.cc g_exit_manager = new base::AtExitManager(); base 20 chrome/installer/gcapi/gcapi_last_run_test.cc using base::Time; base 21 chrome/installer/gcapi/gcapi_last_run_test.cc using base::TimeDelta; base 22 chrome/installer/gcapi/gcapi_last_run_test.cc using base::win::RegKey; base 29 chrome/installer/gcapi/gcapi_last_run_test.cc std::wstring hkcu_override = base::StringPrintf( base 30 chrome/installer/gcapi/gcapi_last_run_test.cc L"hkcu_override\\%ls", base::ASCIIToWide(base::GenerateGUID())); base 55 chrome/installer/gcapi/gcapi_last_run_test.cc return SetLastRunTimeString(base::Int64ToString16(last_run_time)); base 58 chrome/installer/gcapi/gcapi_last_run_test.cc bool SetLastRunTimeString(const base::string16& last_run_time_string) { base 21 chrome/installer/gcapi/gcapi_omaha_experiment.cc int GetCurrentRlzWeek(const base::Time& current_time) { base 22 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::Time::Exploded february_third_2003_exploded = base 24 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::Time f = base::Time::FromUTCExploded(february_third_2003_exploded); base 25 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::TimeDelta delta = current_time - f; base 30 chrome/installer/gcapi/gcapi_omaha_experiment.cc const base::string16& label, base 38 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::string16 original_labels; base 45 chrome/installer/gcapi/gcapi_omaha_experiment.cc std::vector<base::string16> entries; base 46 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::SplitStringUsingSubstr( base 48 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::ASCIIToUTF16(google_update::kExperimentLabelSep), base 52 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::string16 new_labels; base 53 chrome/installer/gcapi/gcapi_omaha_experiment.cc for (std::vector<base::string16>::const_iterator it = entries.begin(); base 57 chrome/installer/gcapi/gcapi_omaha_experiment.cc new_labels += base::ASCIIToUTF16(google_update::kExperimentLabelSep); base 75 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::string16 GetGCAPIExperimentLabel(const wchar_t* brand_code, base 76 chrome/installer/gcapi/gcapi_omaha_experiment.cc const base::string16& label) { base 82 chrome/installer/gcapi/gcapi_omaha_experiment.cc instance_time_value = base::Time::Now().ToTimeT(); base 84 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::Time instance_time = base::Time::FromTimeT(instance_time_value); base 86 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::string16 gcapi_experiment_label; base 87 chrome/installer/gcapi/gcapi_omaha_experiment.cc base::SStringPrintf(&gcapi_experiment_label, base 17 chrome/installer/gcapi/gcapi_omaha_experiment.h base::string16 GetGCAPIExperimentLabel(const wchar_t* brand_code, base 18 chrome/installer/gcapi/gcapi_omaha_experiment.h const base::string16& label); base 15 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc using base::ASCIIToUTF16; base 36 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc void VerifyExperimentLabels(const base::string16& expected_labels) { base 37 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 actual_labels; base 43 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 brand_; base 44 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 reactivation_label_; base 45 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 relaunch_label_; base 68 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 expected_labels(kSomeExperiments); base 76 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 previous_labels(kSomeExperiments); base 85 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 expected_labels(kSomeExperiments); base 95 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 previous_labels(reactivation_label_); base 102 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 expected_labels(kSomeExperiments); base 110 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 previous_labels(kSomeExperiments); base 126 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 expected_labels(kSomeExperiments); base 141 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 previous_labels(kSomeExperiments); base 152 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 expected_labels(kSomeExperiments); base 165 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 previous_labels(kSomeExperiments); base 175 chrome/installer/gcapi/gcapi_omaha_experiment_test.cc base::string16 expected_labels(kSomeExperiments); base 12 chrome/installer/gcapi/gcapi_reactivation.cc using base::Time; base 13 chrome/installer/gcapi/gcapi_reactivation.cc using base::win::RegKey; base 19 chrome/installer/gcapi/gcapi_reactivation_test.cc using base::Time; base 20 chrome/installer/gcapi/gcapi_reactivation_test.cc using base::TimeDelta; base 21 chrome/installer/gcapi/gcapi_reactivation_test.cc using base::win::RegKey; base 41 chrome/installer/gcapi/gcapi_reactivation_test.cc return SetLastRunTimeString(hive, base::Int64ToString16(last_run_time)); base 45 chrome/installer/gcapi/gcapi_reactivation_test.cc const base::string16& last_run_time_string) { base 62 chrome/installer/gcapi/gcapi_reactivation_test.cc base::string16 client_state_path(google_update::kRegPathClientState); base 64 chrome/installer/gcapi/gcapi_test.cc base::AtExitManager exit_manager; base 56 chrome/installer/launcher_support/chrome_launcher_support.cc base::string16* value) { base 59 chrome/installer/launcher_support/chrome_launcher_support.cc base::string16 subkey(kGoogleRegClientStateKey); base 61 chrome/installer/launcher_support/chrome_launcher_support.cc base::win::RegKey reg_key; base 77 chrome/installer/launcher_support/chrome_launcher_support.cc base::string16 subkey(kGoogleRegClientsKey); base 79 chrome/installer/launcher_support/chrome_launcher_support.cc base::win::RegKey reg_key; base 87 chrome/installer/launcher_support/chrome_launcher_support.cc base::string16 uninstall_arguments; base 102 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath GetSetupExeFromRegistry(InstallationLevel level, base 104 chrome/installer/launcher_support/chrome_launcher_support.cc base::string16 uninstall; base 106 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath setup_exe_path(uninstall); base 107 chrome/installer/launcher_support/chrome_launcher_support.cc if (base::PathExists(setup_exe_path)) base 110 chrome/installer/launcher_support/chrome_launcher_support.cc return base::FilePath(); base 116 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath FindExeRelativeToSetupExe(const base::FilePath setup_exe_path, base 122 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath exe_path( base 124 chrome/installer/launcher_support/chrome_launcher_support.cc if (base::PathExists(exe_path)) base 129 chrome/installer/launcher_support/chrome_launcher_support.cc if (base::PathExists(exe_path)) base 132 chrome/installer/launcher_support/chrome_launcher_support.cc return base::FilePath(); base 138 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath setup_exe(GetSetupExeFromRegistry(level, kAppHostAppId)); base 141 chrome/installer/launcher_support/chrome_launcher_support.cc base::string16 uninstall_arguments; base 151 chrome/installer/launcher_support/chrome_launcher_support.cc base::LaunchProcess(uninstall_cmd, base::LaunchOptions(), NULL); base 155 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath GetSetupExeForInstallationLevel(InstallationLevel level) { base 157 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath setup_exe_path( base 166 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath GetChromePathForInstallationLevel(InstallationLevel level) { base 171 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath GetAppHostPathForInstallationLevel(InstallationLevel level) { base 176 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath GetChromeSxSPathForInstallationLevel(InstallationLevel level) { base 181 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath GetAnyChromePath() { base 182 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath chrome_path; base 190 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath GetAnyAppHostPath() { base 191 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath app_host_path; base 201 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath GetAnyChromeSxSPath() { base 202 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath path = base 210 chrome/installer/launcher_support/chrome_launcher_support.cc base::FilePath app_host_exe = GetAnyAppHostPath(); base 8 chrome/installer/launcher_support/chrome_launcher_support.h namespace base { base 27 chrome/installer/launcher_support/chrome_launcher_support.h base::FilePath GetSetupExeForInstallationLevel(InstallationLevel level); base 33 chrome/installer/launcher_support/chrome_launcher_support.h base::FilePath GetChromePathForInstallationLevel(InstallationLevel level); base 37 chrome/installer/launcher_support/chrome_launcher_support.h base::FilePath GetAppHostPathForInstallationLevel(InstallationLevel level); base 41 chrome/installer/launcher_support/chrome_launcher_support.h base::FilePath GetChromeSxSPathForInstallationLevel(InstallationLevel level); base 47 chrome/installer/launcher_support/chrome_launcher_support.h base::FilePath GetAnyChromePath(); base 53 chrome/installer/launcher_support/chrome_launcher_support.h base::FilePath GetAnyAppHostPath(); base 59 chrome/installer/launcher_support/chrome_launcher_support.h base::FilePath GetAnyChromeSxSPath(); base 10 chrome/installer/mac/third_party/bsdiff/sha1_adapter.cc base::SHA1HashBytes(data, len, hash); base 14 chrome/installer/mini_installer/decompress_test.cc base::FilePath source_path; base 15 chrome/installer/mini_installer/decompress_test.cc PathService::Get(base::DIR_SOURCE_ROOT, &source_path); base 24 chrome/installer/mini_installer/decompress_test.cc base::ScopedTempDir temp_dir; base 26 chrome/installer/mini_installer/decompress_test.cc base::FilePath dest_path( base 15 chrome/installer/setup/archive_patch_helper.cc ArchivePatchHelper::ArchivePatchHelper(const base::FilePath& working_directory, base 16 chrome/installer/setup/archive_patch_helper.cc const base::FilePath& compressed_archive, base 17 chrome/installer/setup/archive_patch_helper.cc const base::FilePath& patch_source, base 18 chrome/installer/setup/archive_patch_helper.cc const base::FilePath& target) base 28 chrome/installer/setup/archive_patch_helper.cc const base::FilePath& working_directory, base 29 chrome/installer/setup/archive_patch_helper.cc const base::FilePath& compressed_archive, base 30 chrome/installer/setup/archive_patch_helper.cc const base::FilePath& patch_source, base 31 chrome/installer/setup/archive_patch_helper.cc const base::FilePath& target) { base 38 chrome/installer/setup/archive_patch_helper.cc bool ArchivePatchHelper::Uncompress(base::FilePath* last_uncompressed_file) { base 40 chrome/installer/setup/archive_patch_helper.cc DCHECK(!base::PathExists(target_)); base 43 chrome/installer/setup/archive_patch_helper.cc base::string16 output_file; base 50 chrome/installer/setup/archive_patch_helper.cc last_uncompressed_file_ = base::FilePath(output_file); base 76 chrome/installer/setup/archive_patch_helper.cc base::DeleteFile(target_, false); base 100 chrome/installer/setup/archive_patch_helper.cc base::DeleteFile(target_, false); base 34 chrome/installer/setup/archive_patch_helper.h ArchivePatchHelper(const base::FilePath& working_directory, base 35 chrome/installer/setup/archive_patch_helper.h const base::FilePath& compressed_archive, base 36 chrome/installer/setup/archive_patch_helper.h const base::FilePath& patch_source, base 37 chrome/installer/setup/archive_patch_helper.h const base::FilePath& target); base 45 chrome/installer/setup/archive_patch_helper.h static bool UncompressAndPatch(const base::FilePath& working_directory, base 46 chrome/installer/setup/archive_patch_helper.h const base::FilePath& compressed_archive, base 47 chrome/installer/setup/archive_patch_helper.h const base::FilePath& patch_source, base 48 chrome/installer/setup/archive_patch_helper.h const base::FilePath& target); base 53 chrome/installer/setup/archive_patch_helper.h bool Uncompress(base::FilePath* last_uncompressed_file); base 63 chrome/installer/setup/archive_patch_helper.h const base::FilePath& compressed_archive() const { base 66 chrome/installer/setup/archive_patch_helper.h void set_patch_source(const base::FilePath& patch_source) { base 69 chrome/installer/setup/archive_patch_helper.h const base::FilePath& patch_source() const { base 72 chrome/installer/setup/archive_patch_helper.h const base::FilePath& target() const { base 77 chrome/installer/setup/archive_patch_helper.h const base::FilePath& last_uncompressed_file() const { base 81 chrome/installer/setup/archive_patch_helper.h const base::FilePath& last_uncompressed_file) { base 86 chrome/installer/setup/archive_patch_helper.h base::FilePath working_directory_; base 87 chrome/installer/setup/archive_patch_helper.h base::FilePath compressed_archive_; base 88 chrome/installer/setup/archive_patch_helper.h base::FilePath patch_source_; base 89 chrome/installer/setup/archive_patch_helper.h base::FilePath target_; base 90 chrome/installer/setup/archive_patch_helper.h base::FilePath last_uncompressed_file_; base 20 chrome/installer/setup/archive_patch_helper_unittest.cc ASSERT_TRUE(base::PathExists(data_dir_)); base 38 chrome/installer/setup/archive_patch_helper_unittest.cc static base::FilePath data_dir_; base 41 chrome/installer/setup/archive_patch_helper_unittest.cc base::ScopedTempDir test_dir_; base 44 chrome/installer/setup/archive_patch_helper_unittest.cc base::FilePath ArchivePatchHelperTest::data_dir_; base 50 chrome/installer/setup/archive_patch_helper_unittest.cc base::FilePath src = data_dir_.AppendASCII("archive1.7z"); base 51 chrome/installer/setup/archive_patch_helper_unittest.cc base::FilePath patch = data_dir_.AppendASCII("archive.diff"); base 52 chrome/installer/setup/archive_patch_helper_unittest.cc base::FilePath dest = test_dir_.path().AppendASCII("archive2.7z"); base 54 chrome/installer/setup/archive_patch_helper_unittest.cc base::FilePath(), base 59 chrome/installer/setup/archive_patch_helper_unittest.cc base::FilePath base = data_dir_.AppendASCII("archive2.7z"); base 60 chrome/installer/setup/archive_patch_helper_unittest.cc EXPECT_TRUE(base::ContentsEqual(dest, base)); base 45 chrome/installer/setup/install.cc using base::ASCIIToUTF16; base 46 chrome/installer/setup/install.cc using base::UTF16ToUTF8; base 108 chrome/installer/setup/install.cc base::win::GetVersion() >= base::win::VERSION_WIN7) { base 133 chrome/installer/setup/install.cc base::string16 reg_path(installer::kMediaPlayerRegPath); base 135 chrome/installer/setup/install.cc reg_path.push_back(base::FilePath::kSeparators[0]); base 150 chrome/installer/setup/install.cc const base::FilePath& prefs_source_path) { base 151 chrome/installer/setup/install.cc base::FilePath prefs_dest_path(installer_state.target_path().AppendASCII( base 153 chrome/installer/setup/install.cc if (!base::CopyFile(prefs_source_path, prefs_dest_path)) { base 182 chrome/installer/setup/install.cc const base::FilePath& setup_path, base 183 chrome/installer/setup/install.cc const base::FilePath& archive_path, base 184 chrome/installer/setup/install.cc const base::FilePath& src_path, base 185 chrome/installer/setup/install.cc const base::FilePath& temp_path, base 205 chrome/installer/setup/install.cc base::FilePath new_chrome_exe( base 213 chrome/installer/setup/install.cc base::PathExists(new_chrome_exe) && current_version->get() && base 238 chrome/installer/setup/install.cc if (base::PathExists(new_chrome_exe)) { base 261 chrome/installer/setup/install.cc const base::FilePath& chrome_exe) { base 264 chrome/installer/setup/install.cc base::FilePath uninstall_shortcut_path; base 269 chrome/installer/setup/install.cc base::DeleteFile(uninstall_shortcut_path, false); base 299 chrome/installer/setup/install.cc void EscapeXmlAttributeValueInSingleQuotes(base::string16* att_value) { base 300 chrome/installer/setup/install.cc base::ReplaceChars(*att_value, L"&", L"&", att_value); base 301 chrome/installer/setup/install.cc base::ReplaceChars(*att_value, L"'", L"'", att_value); base 302 chrome/installer/setup/install.cc base::ReplaceChars(*att_value, L"<", L"<", att_value); base 305 chrome/installer/setup/install.cc bool CreateVisualElementsManifest(const base::FilePath& src_path, base 308 chrome/installer/setup/install.cc base::string16 elements_dir(ASCIIToUTF16(version.GetString())); base 309 chrome/installer/setup/install.cc elements_dir.push_back(base::FilePath::kSeparators[0]); base 314 chrome/installer/setup/install.cc if (!base::PathExists(src_path.Append(elements_dir))) { base 336 chrome/installer/setup/install.cc const base::string16 manifest_template(ASCIIToUTF16(kManifestTemplate)); base 342 chrome/installer/setup/install.cc base::string16 display_name(dist->GetDisplayName()); base 346 chrome/installer/setup/install.cc base::string16 manifest16(base::StringPrintf( base 351 chrome/installer/setup/install.cc int size = base::checked_cast<int>(manifest.size()); base 352 chrome/installer/setup/install.cc if (base::WriteFile( base 367 chrome/installer/setup/install.cc const base::FilePath& target, base 485 chrome/installer/setup/install.cc const base::string16 chrome_exe( base 494 chrome/installer/setup/install.cc ShellUtil::RegisterChromeBrowser(dist, chrome_exe, base::string16(), false); base 501 chrome/installer/setup/install.cc const base::FilePath& setup_path, base 502 chrome/installer/setup/install.cc const base::FilePath& archive_path, base 503 chrome/installer/setup/install.cc const base::FilePath& install_temp_path, base 504 chrome/installer/setup/install.cc const base::FilePath& src_path, base 505 chrome/installer/setup/install.cc const base::FilePath& prefs_path, base 551 chrome/installer/setup/install.cc const base::FilePath app_host_exe( base 566 chrome/installer/setup/install.cc const base::FilePath chrome_exe( base 648 chrome/installer/setup/install.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 661 chrome/installer/setup/install.cc base::FilePath chrome_exe(installer_state.target_path().Append(kChromeExe)); base 671 chrome/installer/setup/install.cc void HandleActiveSetupForBrowser(const base::FilePath& installation_root, base 689 chrome/installer/setup/install.cc base::FilePath chrome_exe(installation_root.Append(kChromeExe)); base 695 chrome/installer/setup/install.cc base::FilePath app_host_path(chrome_launcher_support::GetAnyAppHostPath()); base 702 chrome/installer/setup/install.cc return base::LaunchProcess(cmd, base::LaunchOptions(), NULL); base 20 chrome/installer/setup/install.h namespace base { base 55 chrome/installer/setup/install.h void EscapeXmlAttributeValueInSingleQuotes(base::string16* att_value); base 60 chrome/installer/setup/install.h bool CreateVisualElementsManifest(const base::FilePath& src_path, base 76 chrome/installer/setup/install.h const base::FilePath& target, base 111 chrome/installer/setup/install.h const base::FilePath& setup_path, base 112 chrome/installer/setup/install.h const base::FilePath& archive_path, base 113 chrome/installer/setup/install.h const base::FilePath& install_temp_path, base 114 chrome/installer/setup/install.h const base::FilePath& src_path, base 115 chrome/installer/setup/install.h const base::FilePath& prefs_path, base 131 chrome/installer/setup/install.h void HandleActiveSetupForBrowser(const base::FilePath& installation_root, base 44 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::CreateDirectory(version_dir_)); base 56 chrome/installer/setup/install_unittest.cc base::ScopedTempDir test_dir_; base 62 chrome/installer/setup/install_unittest.cc base::FilePath version_dir_; base 65 chrome/installer/setup/install_unittest.cc base::FilePath manifest_path_; base 79 chrome/installer/setup/install_unittest.cc EXPECT_EQ(0, base::WriteFile(chrome_exe_, "", 0)); base 102 chrome/installer/setup/install_unittest.cc new base::ScopedPathOverride(base::DIR_USER_DESKTOP, base 105 chrome/installer/setup/install_unittest.cc new base::ScopedPathOverride(base::DIR_COMMON_DESKTOP, base 108 chrome/installer/setup/install_unittest.cc new base::ScopedPathOverride(base::DIR_USER_QUICK_LAUNCH, base 111 chrome/installer/setup/install_unittest.cc new base::ScopedPathOverride(base::DIR_DEFAULT_USER_QUICK_LAUNCH, base 114 chrome/installer/setup/install_unittest.cc new base::ScopedPathOverride(base::DIR_START_MENU, base 117 chrome/installer/setup/install_unittest.cc new base::ScopedPathOverride(base::DIR_COMMON_START_MENU, base 120 chrome/installer/setup/install_unittest.cc base::string16 shortcut_name( base 123 chrome/installer/setup/install_unittest.cc base::string16 alternate_shortcut_name( base 152 chrome/installer/setup/install_unittest.cc base::win::TaskbarUnpinShortcutLink( base 154 chrome/installer/setup/install_unittest.cc base::win::TaskbarUnpinShortcutLink( base 187 chrome/installer/setup/install_unittest.cc base::win::ShortcutProperties expected_properties_; base 188 chrome/installer/setup/install_unittest.cc base::win::ShortcutProperties expected_start_menu_properties_; base 191 chrome/installer/setup/install_unittest.cc base::FilePath chrome_exe_; base 195 chrome/installer/setup/install_unittest.cc base::ScopedTempDir temp_dir_; base 196 chrome/installer/setup/install_unittest.cc base::ScopedTempDir fake_user_desktop_; base 197 chrome/installer/setup/install_unittest.cc base::ScopedTempDir fake_common_desktop_; base 198 chrome/installer/setup/install_unittest.cc base::ScopedTempDir fake_user_quick_launch_; base 199 chrome/installer/setup/install_unittest.cc base::ScopedTempDir fake_default_user_quick_launch_; base 200 chrome/installer/setup/install_unittest.cc base::ScopedTempDir fake_start_menu_; base 201 chrome/installer/setup/install_unittest.cc base::ScopedTempDir fake_common_start_menu_; base 202 chrome/installer/setup/install_unittest.cc scoped_ptr<base::ScopedPathOverride> user_desktop_override_; base 203 chrome/installer/setup/install_unittest.cc scoped_ptr<base::ScopedPathOverride> common_desktop_override_; base 204 chrome/installer/setup/install_unittest.cc scoped_ptr<base::ScopedPathOverride> user_quick_launch_override_; base 205 chrome/installer/setup/install_unittest.cc scoped_ptr<base::ScopedPathOverride> default_user_quick_launch_override_; base 206 chrome/installer/setup/install_unittest.cc scoped_ptr<base::ScopedPathOverride> start_menu_override_; base 207 chrome/installer/setup/install_unittest.cc scoped_ptr<base::ScopedPathOverride> common_start_menu_override_; base 209 chrome/installer/setup/install_unittest.cc base::FilePath user_desktop_shortcut_; base 210 chrome/installer/setup/install_unittest.cc base::FilePath user_quick_launch_shortcut_; base 211 chrome/installer/setup/install_unittest.cc base::FilePath user_start_menu_shortcut_; base 212 chrome/installer/setup/install_unittest.cc base::FilePath system_desktop_shortcut_; base 213 chrome/installer/setup/install_unittest.cc base::FilePath system_quick_launch_shortcut_; base 214 chrome/installer/setup/install_unittest.cc base::FilePath system_start_menu_shortcut_; base 215 chrome/installer/setup/install_unittest.cc base::FilePath user_alternate_desktop_shortcut_; base 225 chrome/installer/setup/install_unittest.cc ASSERT_FALSE(base::PathExists(manifest_path_)); base 231 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::CreateDirectory( base 235 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::PathExists(manifest_path_)); base 238 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::ReadFileToString(manifest_path_, &read_manifest)); base 261 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_desktop_shortcut_, expected_properties_); base 262 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_quick_launch_shortcut_, base 264 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_start_menu_shortcut_, base 273 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(system_desktop_shortcut_, expected_properties_); base 274 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(system_quick_launch_shortcut_, base 276 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(system_start_menu_shortcut_, base 286 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_alternate_desktop_shortcut_, base 288 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_quick_launch_shortcut_, base 290 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_start_menu_shortcut_, base 300 chrome/installer/setup/install_unittest.cc ASSERT_FALSE(base::PathExists(user_desktop_shortcut_)); base 301 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_quick_launch_shortcut_, base 303 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_start_menu_shortcut_, base 313 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_desktop_shortcut_, expected_properties_); base 314 chrome/installer/setup/install_unittest.cc ASSERT_FALSE(base::PathExists(user_quick_launch_shortcut_)); base 315 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_start_menu_shortcut_, base 320 chrome/installer/setup/install_unittest.cc base::win::ShortcutProperties dummy_properties; base 321 chrome/installer/setup/install_unittest.cc base::FilePath dummy_target; base 322 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &dummy_target)); base 328 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::win::CreateOrUpdateShortcutLink( base 330 chrome/installer/setup/install_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)); base 331 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::win::CreateOrUpdateShortcutLink( base 333 chrome/installer/setup/install_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)); base 334 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::CreateDirectory(user_start_menu_shortcut_.DirName())); base 335 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::win::CreateOrUpdateShortcutLink( base 337 chrome/installer/setup/install_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)); base 342 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_desktop_shortcut_, expected_properties_); base 343 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_quick_launch_shortcut_, base 345 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_start_menu_shortcut_, base 350 chrome/installer/setup/install_unittest.cc base::win::ShortcutProperties dummy_properties; base 351 chrome/installer/setup/install_unittest.cc base::FilePath dummy_target; base 352 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &dummy_target)); base 358 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::win::CreateOrUpdateShortcutLink( base 360 chrome/installer/setup/install_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)); base 361 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::CreateDirectory(user_start_menu_shortcut_.DirName())); base 366 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_desktop_shortcut_, expected_properties_); base 367 chrome/installer/setup/install_unittest.cc ASSERT_FALSE(base::PathExists(user_quick_launch_shortcut_)); base 368 chrome/installer/setup/install_unittest.cc ASSERT_FALSE(base::PathExists(user_start_menu_shortcut_)); base 372 chrome/installer/setup/install_unittest.cc base::win::ShortcutProperties dummy_properties; base 373 chrome/installer/setup/install_unittest.cc base::FilePath dummy_target; base 374 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &dummy_target)); base 377 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::win::CreateOrUpdateShortcutLink( base 379 chrome/installer/setup/install_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)); base 380 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::win::CreateOrUpdateShortcutLink( base 382 chrome/installer/setup/install_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)); base 383 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::CreateDirectory( base 385 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::win::CreateOrUpdateShortcutLink( base 387 chrome/installer/setup/install_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)); base 392 chrome/installer/setup/install_unittest.cc ASSERT_FALSE(base::PathExists(user_desktop_shortcut_)); base 393 chrome/installer/setup/install_unittest.cc ASSERT_FALSE(base::PathExists(user_quick_launch_shortcut_)); base 394 chrome/installer/setup/install_unittest.cc ASSERT_FALSE(base::PathExists(user_start_menu_shortcut_)); base 401 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_desktop_shortcut_, expected_properties_); base 402 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_quick_launch_shortcut_, base 404 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_start_menu_shortcut_, base 409 chrome/installer/setup/install_unittest.cc base::win::ShortcutProperties dummy_properties; base 410 chrome/installer/setup/install_unittest.cc base::FilePath dummy_target; base 411 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &dummy_target)); base 414 chrome/installer/setup/install_unittest.cc ASSERT_TRUE(base::win::CreateOrUpdateShortcutLink( base 416 chrome/installer/setup/install_unittest.cc base::win::SHORTCUT_CREATE_ALWAYS)); base 421 chrome/installer/setup/install_unittest.cc ASSERT_FALSE(base::PathExists(user_desktop_shortcut_)); base 422 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_quick_launch_shortcut_, base 424 chrome/installer/setup/install_unittest.cc base::win::ValidateShortcut(user_start_menu_shortcut_, base 429 chrome/installer/setup/install_unittest.cc base::string16 val(L"This has 'crazy' \"chars\" && < and > signs."); base 437 chrome/installer/setup/install_unittest.cc base::string16 val(L"Google Chrome"); base 51 chrome/installer/setup/install_worker.cc using base::ASCIIToWide; base 52 chrome/installer/setup/install_worker.cc using base::win::RegKey; base 74 chrome/installer/setup/install_worker.cc void GetOldIELowRightsElevationPolicyKeyPath(base::string16* key_path) { base 89 chrome/installer/setup/install_worker.cc std::vector<base::FilePath> com_dll_list; base 102 chrome/installer/setup/install_worker.cc base::FilePath old_dll_path(installer_state.target_path().AppendASCII( base 113 chrome/installer/setup/install_worker.cc base::FilePath dll_path(installer_state.target_path().AppendASCII( base 125 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 126 chrome/installer/setup/install_worker.cc const base::FilePath& archive_path, base 127 chrome/installer/setup/install_worker.cc const base::FilePath& temp_path, base 131 chrome/installer/setup/install_worker.cc base::FilePath installer_dir( base 135 chrome/installer/setup/install_worker.cc base::FilePath exe_dst(installer_dir.Append(setup_path.BaseName())); base 145 chrome/installer/setup/install_worker.cc base::FilePath active_setup_exe(installer_dir.Append(kActiveSetupExe)); base 156 chrome/installer/setup/install_worker.cc base::FilePath archive_dst(installer_dir.Append(archive_path.BaseName())); base 183 chrome/installer/setup/install_worker.cc base::string16 GetRegCommandKey(BrowserDistribution* dist, base 185 chrome/installer/setup/install_worker.cc base::string16 cmd_key(dist->GetVersionKey()); base 186 chrome/installer/setup/install_worker.cc cmd_key.append(1, base::FilePath::kSeparators[0]) base 188 chrome/installer/setup/install_worker.cc .append(1, base::FilePath::kSeparators[0]) base 212 chrome/installer/setup/install_worker.cc base::string16 full_cmd_key( base 218 chrome/installer/setup/install_worker.cc "removing " + base::UTF16ToASCII(command_key) + " command"); base 246 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 266 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 279 chrome/installer/setup/install_worker.cc base::FilePath binaries_setup_path; base 311 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 325 chrome/installer/setup/install_worker.cc base::string16 cmd_key( base 346 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 381 chrome/installer/setup/install_worker.cc const base::FilePath& temp_path, base 388 chrome/installer/setup/install_worker.cc base::string16 uninstall_reg(product.distribution()->GetUninstallRegPath()); base 395 chrome/installer/setup/install_worker.cc base::FilePath uninstall_link; base 397 chrome/installer/setup/install_worker.cc PathService::Get(base::DIR_COMMON_START_MENU, &uninstall_link); base 399 chrome/installer/setup/install_worker.cc PathService::Get(base::DIR_START_MENU, &uninstall_link); base 424 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 425 chrome/installer/setup/install_worker.cc const base::FilePath& archive_path, base 426 chrome/installer/setup/install_worker.cc const base::FilePath& src_path, base 427 chrome/installer/setup/install_worker.cc const base::FilePath& temp_path, base 431 chrome/installer/setup/install_worker.cc const base::FilePath& target_path = installer_state.target_path(); base 437 chrome/installer/setup/install_worker.cc base::FilePath old_installer_dir( base 439 chrome/installer/setup/install_worker.cc base::FilePath old_archive( base 450 chrome/installer/setup/install_worker.cc base::FilePath new_chrome_exe(target_path.Append(installer::kChromeNewExe)); base 475 chrome/installer/setup/install_worker.cc if (base::win::OSInfo::GetInstance()->wow64_status() != base 476 chrome/installer/setup/install_worker.cc base::win::OSInfo::WOW64_DISABLED && base 477 chrome/installer/setup/install_worker.cc base::win::GetVersion() <= base::win::VERSION_VISTA) { base 488 chrome/installer/setup/install_worker.cc if (base::PathExists( base 529 chrome/installer/setup/install_worker.cc bool ProbeCommandExecuteCallback(const base::string16& command_execute_id, base 542 chrome/installer/setup/install_worker.cc base::win::ScopedComPtr<IUnknown> command_execute_impl; base 556 chrome/installer/setup/install_worker.cc const base::string16& delegate_execute_path, base 587 chrome/installer/setup/install_worker.cc const base::FilePath& target_path, base 589 chrome/installer/setup/install_worker.cc base::string16 google_chrome_delegate_execute_path( base 591 chrome/installer/setup/install_worker.cc base::string16 google_chrome_local_server_32( base 595 chrome/installer/setup/install_worker.cc base::string16 registered_server; base 601 chrome/installer/setup/install_worker.cc target_path.IsParent(base::FilePath(registered_server))) { base 618 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 634 chrome/installer/setup/install_worker.cc base::FilePath install_path(installer_state.target_path()); base 635 chrome/installer/setup/install_worker.cc base::FilePath installer_path( base 643 chrome/installer/setup/install_worker.cc base::string16 update_state_key(browser_dist->GetStateKey()); base 658 chrome/installer/setup/install_worker.cc base::string16 uninstall_reg = browser_dist->GetUninstallRegPath(); base 673 chrome/installer/setup/install_worker.cc base::string16 chrome_icon = ShellUtil::FormatIconLocation( base 722 chrome/installer/setup/install_worker.cc base::string16 version_key(dist->GetVersionKey()); base 725 chrome/installer/setup/install_worker.cc base::string16 product_name(dist->GetDisplayName()); base 736 chrome/installer/setup/install_worker.cc base::string16 language(GetCurrentTranslation()); base 761 chrome/installer/setup/install_worker.cc base::string16 multi_key( base 780 chrome/installer/setup/install_worker.cc base::string16 oem_install; base 810 chrome/installer/setup/install_worker.cc base::string16 multi_key( base 865 chrome/installer/setup/install_worker.cc base::string16 multi_key( base 884 chrome/installer/setup/install_worker.cc const base::string16& brand(chrome_product_state->brand()); base 931 chrome/installer/setup/install_worker.cc base::string16 state_key( base 962 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 965 chrome/installer/setup/install_worker.cc const base::FilePath& temp_path, base 971 chrome/installer/setup/install_worker.cc base::FilePath new_chrome_exe( base 988 chrome/installer/setup/install_worker.cc base::FilePath installer_path( base 1000 chrome/installer/setup/install_worker.cc base::string16 version_key; base 1046 chrome/installer/setup/install_worker.cc base::string16 version_key(dist->GetVersionKey()); base 1086 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 1087 chrome/installer/setup/install_worker.cc const base::FilePath& archive_path, base 1088 chrome/installer/setup/install_worker.cc const base::FilePath& src_path, base 1089 chrome/installer/setup/install_worker.cc const base::FilePath& temp_path, base 1095 chrome/installer/setup/install_worker.cc const base::FilePath& target_path = installer_state.target_path(); base 1182 chrome/installer/setup/install_worker.cc void AddRegisterComDllWorkItems(const base::FilePath& dll_folder, base 1183 chrome/installer/setup/install_worker.cc const std::vector<base::FilePath>& dll_list, base 1192 chrome/installer/setup/install_worker.cc std::vector<base::FilePath>::const_iterator dll_iter(dll_list.begin()); base 1194 chrome/installer/setup/install_worker.cc base::FilePath dll_path = dll_folder.Append(*dll_iter); base 1218 chrome/installer/setup/install_worker.cc const base::FilePath& target_path, base 1222 chrome/installer/setup/install_worker.cc base::string16 handler_class_uuid; base 1235 chrome/installer/setup/install_worker.cc base::string16 delegate_execute_path(L"Software\\Classes\\CLSID\\"); base 1250 chrome/installer/setup/install_worker.cc list->AddCallbackWorkItem(base::Bind(&ProbeCommandExecuteCallback, base 1254 chrome/installer/setup/install_worker.cc base::FilePath delegate_execute(target_path); base 1260 chrome/installer/setup/install_worker.cc base::string16 command(1, L'"'); base 1267 chrome/installer/setup/install_worker.cc base::string16 subkey(delegate_execute_path); base 1280 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 1297 chrome/installer/setup/install_worker.cc const base::string16 active_setup_path(InstallUtil::GetActiveSetupPath(dist)); base 1304 chrome/installer/setup/install_worker.cc base::FilePath active_setup_exe(installer_state.GetInstallerDirectory( base 1331 chrome/installer/setup/install_worker.cc base::string16 key_path; base 1376 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 1381 chrome/installer/setup/install_worker.cc base::string16 cmd_key( base 1409 chrome/installer/setup/install_worker.cc const base::FilePath& setup_path, base 1414 chrome/installer/setup/install_worker.cc base::string16 cmd_key( base 1439 chrome/installer/setup/install_worker.cc base::string16 cmd_key( base 1449 chrome/installer/setup/install_worker.cc "removing " + base::UTF16ToASCII(kCmdQuickEnableCf) + " command"); base 18 chrome/installer/setup/install_worker.h namespace base { base 34 chrome/installer/setup/install_worker.h const base::FilePath& setup_path, base 35 chrome/installer/setup/install_worker.h const base::Version& new_version, base 44 chrome/installer/setup/install_worker.h const base::Version& new_version, base 85 chrome/installer/setup/install_worker.h const base::FilePath& setup_path, base 86 chrome/installer/setup/install_worker.h const base::Version* current_version, base 87 chrome/installer/setup/install_worker.h const base::Version& new_version, base 88 chrome/installer/setup/install_worker.h const base::FilePath& temp_path, base 105 chrome/installer/setup/install_worker.h const base::FilePath& setup_path, base 106 chrome/installer/setup/install_worker.h const base::FilePath& archive_path, base 107 chrome/installer/setup/install_worker.h const base::FilePath& src_path, base 108 chrome/installer/setup/install_worker.h const base::FilePath& temp_path, base 109 chrome/installer/setup/install_worker.h const base::Version* current_version, base 110 chrome/installer/setup/install_worker.h const base::Version& new_version, base 122 chrome/installer/setup/install_worker.h void AddRegisterComDllWorkItems(const base::FilePath& dll_folder, base 123 chrome/installer/setup/install_worker.h const std::vector<base::FilePath>& dll_files, base 139 chrome/installer/setup/install_worker.h const base::FilePath& target_path, base 140 chrome/installer/setup/install_worker.h const base::Version& new_version, base 150 chrome/installer/setup/install_worker.h const base::FilePath& setup_path, base 151 chrome/installer/setup/install_worker.h const base::Version& new_version, base 164 chrome/installer/setup/install_worker.h base::CommandLine* uninstall_cmd); base 174 chrome/installer/setup/install_worker.h const base::FilePath& setup_path, base 175 chrome/installer/setup/install_worker.h const base::Version& new_version, base 184 chrome/installer/setup/install_worker.h const base::FilePath& setup_path, base 185 chrome/installer/setup/install_worker.h const base::Version& new_version, base 24 chrome/installer/setup/install_worker_unittest.cc using base::win::RegKey; base 59 chrome/installer/setup/install_worker_unittest.cc MOCK_METHOD1(AddCreateDirWorkItem, WorkItem* (const base::FilePath&)); base 66 chrome/installer/setup/install_worker_unittest.cc const base::FilePath&, base 67 chrome/installer/setup/install_worker_unittest.cc const std::vector<base::FilePath>&)); base 68 chrome/installer/setup/install_worker_unittest.cc MOCK_METHOD1(AddDeleteTreeWorkItem, WorkItem* (const base::FilePath&)); base 121 chrome/installer/setup/install_worker_unittest.cc void SetUninstallProgram(const base::FilePath& setup_exe) { base 177 chrome/installer/setup/install_worker_unittest.cc base::FilePath(L"C:\\UnlikelyPath\\Temp\\chrome_123\\chrome.7z"); base 181 chrome/installer/setup/install_worker_unittest.cc base::FilePath(L"C:\\Program Files\\Google\\Chrome\\"); base 182 chrome/installer/setup/install_worker_unittest.cc src_path_ = base::FilePath( base 184 chrome/installer/setup/install_worker_unittest.cc setup_path_ = base::FilePath( base 186 chrome/installer/setup/install_worker_unittest.cc temp_dir_ = base::FilePath(L"C:\\UnlikelyPath\\Temp\\chrome_123"); base 204 chrome/installer/setup/install_worker_unittest.cc base::FilePath install_path = base 234 chrome/installer/setup/install_worker_unittest.cc base::FilePath install_path = base 266 chrome/installer/setup/install_worker_unittest.cc base::FilePath install_path = base 423 chrome/installer/setup/install_worker_unittest.cc base::FilePath archive_path_; base 424 chrome/installer/setup/install_worker_unittest.cc base::FilePath installation_path_; base 425 chrome/installer/setup/install_worker_unittest.cc base::FilePath setup_path_; base 426 chrome/installer/setup/install_worker_unittest.cc base::FilePath src_path_; base 427 chrome/installer/setup/install_worker_unittest.cc base::FilePath temp_dir_; base 93 chrome/installer/setup/setup_main.cc const base::FilePath& setup_exe, base 96 chrome/installer/setup/setup_main.cc const base::FilePath& working_directory) { base 100 chrome/installer/setup/setup_main.cc base::FilePath compressed_archive( base 109 chrome/installer/setup/setup_main.cc if (!base::PathExists(compressed_archive)) { base 119 chrome/installer/setup/setup_main.cc base::FilePath target(working_directory.Append(installer::kChromeArchive)); base 120 chrome/installer/setup/setup_main.cc DCHECK(!base::PathExists(target)); base 128 chrome/installer/setup/setup_main.cc base::FilePath(), base 155 chrome/installer/setup/setup_main.cc if (base::PathExists(archive_helper->target())) { base 161 chrome/installer/setup/setup_main.cc base::FilePath patch_source(installer::FindArchiveToPatch(original_state, base 228 chrome/installer/setup/setup_main.cc const base::FilePath &target_path = installer_state->target_path(); base 229 chrome/installer/setup/setup_main.cc base::FilePath chrome_exe(target_path.Append(installer::kChromeExe)); base 230 chrome/installer/setup/setup_main.cc base::FilePath chrome_new_exe(target_path.Append(installer::kChromeNewExe)); base 231 chrome/installer/setup/setup_main.cc base::FilePath chrome_old_exe(target_path.Append(installer::kChromeOldExe)); base 262 chrome/installer/setup/setup_main.cc base::string16 version_key; base 566 chrome/installer/setup/setup_main.cc base::FilePath install_path(installer::GetChromeInstallPath( base 577 chrome/installer/setup/setup_main.cc base::FilePath chrome_exe = base 583 chrome/installer/setup/setup_main.cc base::LaunchProcess(cmd, base::LaunchOptions(), NULL); base 616 chrome/installer/setup/setup_main.cc base::FilePath* unpack_path) { base 626 chrome/installer/setup/setup_main.cc if (!base::CreateTemporaryDirInDir(temp_path->path(), base 639 chrome/installer/setup/setup_main.cc const base::FilePath& setup_exe, base 664 chrome/installer/setup/setup_main.cc const base::FilePath& setup_exe, base 684 chrome/installer/setup/setup_main.cc const base::FilePath system_exe_path( base 725 chrome/installer/setup/setup_main.cc base::LaunchProcess(system_level_cmd, base::LaunchOptions(), NULL); base 773 chrome/installer/setup/setup_main.cc const base::FilePath& setup_exe, base 777 chrome/installer/setup/setup_main.cc base::FilePath* installer_directory) { base 803 chrome/installer/setup/setup_main.cc base::FilePath prefs_path(cmd_line.GetSwitchValuePath( base 805 chrome/installer/setup/setup_main.cc if (!base::DeleteFile(prefs_path, false)) { base 831 chrome/installer/setup/setup_main.cc installer::InstallStatus ShowEULADialog(const base::string16& inner_frame) { base 833 chrome/installer/setup/setup_main.cc base::string16 eula_path = installer::GetLocalizedEulaResource(); base 857 chrome/installer/setup/setup_main.cc base::FilePath eula_sentinel; base 863 chrome/installer/setup/setup_main.cc return (base::CreateDirectory(eula_sentinel.DirName()) && base 864 chrome/installer/setup/setup_main.cc base::WriteFile(eula_sentinel, "", 0) != -1); base 874 chrome/installer/setup/setup_main.cc base::string16 app_model_id = ShellUtil::GetBrowserModelId( base 877 chrome/installer/setup/setup_main.cc base::win::ScopedComPtr<IApplicationActivationManager> activator; base 892 chrome/installer/setup/setup_main.cc const base::FilePath& setup_exe, base 911 chrome/installer/setup/setup_main.cc base::string16 name(chrome_dist->GetDisplayName()); base 912 chrome/installer/setup/setup_main.cc base::string16 message( base 913 chrome/installer/setup/setup_main.cc base::StringPrintf(kPleaseUninstallYourChromeMessage, name.c_str())); base 923 chrome/installer/setup/setup_main.cc base::FilePath chrome_exe( base 928 chrome/installer/setup/setup_main.cc chrome_exe = base::MakeAbsoluteFilePath(chrome_exe); base 931 chrome/installer/setup/setup_main.cc if (base::PathExists(chrome_exe)) { base 968 chrome/installer/setup/setup_main.cc const base::FilePath& setup_exe, base 985 chrome/installer/setup/setup_main.cc base::ScopedTempDir temp_path; base 989 chrome/installer/setup/setup_main.cc base::FilePath compressed_archive(cmd_line.GetSwitchValuePath( base 1019 chrome/installer/setup/setup_main.cc base::string16 inner_frame = base 1075 chrome/installer/setup/setup_main.cc base::string16 chrome_exe(cmd_line.GetSwitchValueNative( base 1077 chrome/installer/setup/setup_main.cc base::string16 suffix; base 1084 chrome/installer/setup/setup_main.cc base::string16 protocol = cmd_line.GetSwitchValueNative( base 1112 chrome/installer/setup/setup_main.cc base::string16 suffix; base 1144 chrome/installer/setup/setup_main.cc base::StringToInt(cmd_line.GetSwitchValueNative( base 1159 chrome/installer/setup/setup_main.cc flavor, base::ASCIIToUTF16(experiment_group), product, base 1185 chrome/installer/setup/setup_main.cc const base::FilePath input_file( base 1187 chrome/installer/setup/setup_main.cc const base::FilePath patch_file( base 1189 chrome/installer/setup/setup_main.cc const base::FilePath output_file( base 1236 chrome/installer/setup/setup_main.cc base::win::ScopedHandle scoped_handle(token); base 1261 chrome/installer/setup/setup_main.cc base::string16 product; base 1262 chrome/installer/setup/setup_main.cc base::string16 version; base 1264 chrome/installer/setup/setup_main.cc FileVersionInfo::CreateFileVersionInfo(base::FilePath(exe_path))); base 1297 chrome/installer/setup/setup_main.cc base::FilePath temp_directory; base 1298 chrome/installer/setup/setup_main.cc if (!base::GetTempDir(&temp_directory) || temp_directory.empty()) base 1307 chrome/installer/setup/setup_main.cc base::string16 user_sid = kSystemPrincipalSid; base 1310 chrome/installer/setup/setup_main.cc if (!base::win::GetUserSidString(&user_sid)) { base 1315 chrome/installer/setup/setup_main.cc base::string16 pipe_name = kGoogleUpdatePipeName; base 1388 chrome/installer/setup/setup_main.cc const base::FilePath& setup_exe, base 1392 chrome/installer/setup/setup_main.cc base::FilePath* installer_directory, base 1408 chrome/installer/setup/setup_main.cc base::FilePath unpack_path; base 1420 chrome/installer/setup/setup_main.cc base::FilePath uncompressed_archive(cmd_line.GetSwitchValuePath( base 1450 chrome/installer/setup/setup_main.cc !base::PathExists(uncompressed_archive)) { base 1471 chrome/installer/setup/setup_main.cc base::FilePath src_path( base 1490 chrome/installer/setup/setup_main.cc base::FilePath existing_setup_exe; base 1567 chrome/installer/setup/setup_main.cc base::FilePath prefs_source_path(cmd_line.GetSwitchValueNative( base 1575 chrome/installer/setup/setup_main.cc base::string16 chrome_exe; base 1576 chrome/installer/setup/setup_main.cc base::string16 quoted_chrome_exe; base 1631 chrome/installer/setup/setup_main.cc DCHECK_NE(chrome_exe, base::string16()); base 1658 chrome/installer/setup/setup_main.cc base::FilePath setup_path(setup_exe); base 1698 chrome/installer/setup/setup_main.cc base::AtExitManager exit_manager; base 1735 chrome/installer/setup/setup_main.cc base::win::ScopedCOMInitializer com_initializer; base 1768 chrome/installer/setup/setup_main.cc base::FilePath setup_exe; base 1769 chrome/installer/setup/setup_main.cc if (!PathService::Get(base::FILE_EXE, &setup_exe)) { base 1781 chrome/installer/setup/setup_main.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA && base 1808 chrome/installer/setup/setup_main.cc base::FilePath installer_directory; base 13 chrome/installer/setup/setup_main.h namespace base { base 29 chrome/installer/setup/setup_main.h const base::FilePath& setup_exe, base 30 chrome/installer/setup/setup_main.h const base::CommandLine& cmd_line, base 33 chrome/installer/setup/setup_main.h base::FilePath* installer_directory, base 46 chrome/installer/setup/setup_util.cc bool LaunchAndWaitForExistingInstall(const base::FilePath& setup_exe, base 73 chrome/installer/setup/setup_util.cc base::ProcessHandle handle = INVALID_HANDLE_VALUE; base 74 chrome/installer/setup/setup_util.cc if (!base::LaunchProcess(new_cl, base::LaunchOptions(), &handle)) { base 79 chrome/installer/setup/setup_util.cc if (!base::WaitForExitCode(handle, exit_code)) { base 97 chrome/installer/setup/setup_util.cc int CourgettePatchFiles(const base::FilePath& src, base 98 chrome/installer/setup/setup_util.cc const base::FilePath& patch, base 99 chrome/installer/setup/setup_util.cc const base::FilePath& dest) { base 122 chrome/installer/setup/setup_util.cc int BsdiffPatchFiles(const base::FilePath& src, base 123 chrome/installer/setup/setup_util.cc const base::FilePath& patch, base 124 chrome/installer/setup/setup_util.cc const base::FilePath& dest) { base 144 chrome/installer/setup/setup_util.cc Version* GetMaxVersionFromArchiveDir(const base::FilePath& chrome_path) { base 146 chrome/installer/setup/setup_util.cc base::FileEnumerator version_enum(chrome_path, false, base 147 chrome/installer/setup/setup_util.cc base::FileEnumerator::DIRECTORIES); base 155 chrome/installer/setup/setup_util.cc base::FileEnumerator::FileInfo find_data = version_enum.GetInfo(); base 159 chrome/installer/setup/setup_util.cc new Version(base::UTF16ToASCII(find_data.GetName().value()))); base 170 chrome/installer/setup/setup_util.cc base::FilePath FindArchiveToPatch(const InstallationState& original_state, base 175 chrome/installer/setup/setup_util.cc base::FilePath patch_source; base 182 chrome/installer/setup/setup_util.cc if (base::PathExists(patch_source)) base 190 chrome/installer/setup/setup_util.cc if (base::PathExists(patch_source)) base 193 chrome/installer/setup/setup_util.cc return base::FilePath(); base 196 chrome/installer/setup/setup_util.cc bool DeleteFileFromTempProcess(const base::FilePath& path, base 258 chrome/installer/setup/setup_util.cc base::FilePath* setup_exe) { base 286 chrome/installer/setup/setup_util.cc bool DeferToExistingInstall(const base::FilePath& setup_exe, base 289 chrome/installer/setup/setup_util.cc const base::FilePath& temp_path, base 292 chrome/installer/setup/setup_util.cc base::FilePath prefs_source_path(command_line.GetSwitchValueNative( base 294 chrome/installer/setup/setup_util.cc base::FilePath prefs_dest_path(installer_state.target_path().AppendASCII( base 298 chrome/installer/setup/setup_util.cc base::FilePath())); base 340 chrome/installer/setup/setup_util.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 363 chrome/installer/setup/setup_util.cc base::win::RegKey state_key; base 455 chrome/installer/setup/setup_util.cc return base::CPU().has_sse2(); base 20 chrome/installer/setup/setup_util.h namespace base { base 35 chrome/installer/setup/setup_util.h int CourgettePatchFiles(const base::FilePath& src, base 36 chrome/installer/setup/setup_util.h const base::FilePath& patch, base 37 chrome/installer/setup/setup_util.h const base::FilePath& dest); base 43 chrome/installer/setup/setup_util.h int BsdiffPatchFiles(const base::FilePath& src, base 44 chrome/installer/setup/setup_util.h const base::FilePath& patch, base 45 chrome/installer/setup/setup_util.h const base::FilePath& dest); base 50 chrome/installer/setup/setup_util.h Version* GetMaxVersionFromArchiveDir(const base::FilePath& chrome_path); base 54 chrome/installer/setup/setup_util.h base::FilePath FindArchiveToPatch(const InstallationState& original_state, base 64 chrome/installer/setup/setup_util.h bool DeleteFileFromTempProcess(const base::FilePath& path, base 72 chrome/installer/setup/setup_util.h const base::Version& installer_version, base 73 chrome/installer/setup/setup_util.h base::FilePath* setup_exe); base 80 chrome/installer/setup/setup_util.h bool DeferToExistingInstall(const base::FilePath& setup_exe, base 81 chrome/installer/setup/setup_util.h const base::CommandLine& command_line, base 83 chrome/installer/setup/setup_util.h const base::FilePath& temp_path, base 113 chrome/installer/setup/setup_util.h bool ContainsUnsupportedSwitch(const base::CommandLine& cmd_line); base 138 chrome/installer/setup/setup_util.h base::win::ScopedHandle token_; base 47 chrome/installer/setup/setup_util_unittest.cc base::ScopedTempDir test_dir_; base 65 chrome/installer/setup/setup_util_unittest.cc base::win::ScopedHandle token(temp_handle); base 102 chrome/installer/setup/setup_util_unittest.cc base::FilePath chrome_dir = test_dir_.path().AppendASCII("1.0.0.0"); base 103 chrome/installer/setup/setup_util_unittest.cc base::CreateDirectory(chrome_dir); base 104 chrome/installer/setup/setup_util_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir)); base 109 chrome/installer/setup/setup_util_unittest.cc base::DeleteFile(chrome_dir, true); base 110 chrome/installer/setup/setup_util_unittest.cc ASSERT_FALSE(base::PathExists(chrome_dir)); base 114 chrome/installer/setup/setup_util_unittest.cc base::CreateDirectory(chrome_dir); base 115 chrome/installer/setup/setup_util_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir)); base 119 chrome/installer/setup/setup_util_unittest.cc base::CreateDirectory(chrome_dir); base 120 chrome/installer/setup/setup_util_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir)); base 126 chrome/installer/setup/setup_util_unittest.cc base::CreateDirectory(chrome_dir); base 127 chrome/installer/setup/setup_util_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir)); base 129 chrome/installer/setup/setup_util_unittest.cc base::CreateDirectory(chrome_dir); base 130 chrome/installer/setup/setup_util_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir)); base 137 chrome/installer/setup/setup_util_unittest.cc base::FilePath test_file; base 138 chrome/installer/setup/setup_util_unittest.cc base::CreateTemporaryFileInDir(test_dir_.path(), &test_file); base 139 chrome/installer/setup/setup_util_unittest.cc ASSERT_TRUE(base::PathExists(test_file)); base 140 chrome/installer/setup/setup_util_unittest.cc base::WriteFile(test_file, "foo", 3); base 142 chrome/installer/setup/setup_util_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); base 143 chrome/installer/setup/setup_util_unittest.cc EXPECT_FALSE(base::PathExists(test_file)); base 230 chrome/installer/setup/setup_util_unittest.cc base::ProcessHandle process_handle = NULL; base 232 chrome/installer/setup/setup_util_unittest.cc if (!base::LaunchProcess(cmd_line, base::LaunchOptions(), base 235 chrome/installer/setup/setup_util_unittest.cc } else if (!base::WaitForExitCode(process_handle, &exit_code)) { base 257 chrome/installer/setup/setup_util_unittest.cc if (base::win::GetVersion() > base::win::VERSION_SERVER_2003) base 309 chrome/installer/setup/setup_util_unittest.cc base::CreateDirectory(GetProductVersionArchivePath().DirName())); base 310 chrome/installer/setup/setup_util_unittest.cc ASSERT_EQ(1, base::WriteFile(GetProductVersionArchivePath(), "a", 1)); base 312 chrome/installer/setup/setup_util_unittest.cc base::CreateDirectory(GetMaxVersionArchivePath().DirName())); base 313 chrome/installer/setup/setup_util_unittest.cc ASSERT_EQ(1, base::WriteFile(GetMaxVersionArchivePath(), "b", 1)); base 321 chrome/installer/setup/setup_util_unittest.cc base::FilePath GetArchivePath(const Version& version) const { base 328 chrome/installer/setup/setup_util_unittest.cc base::FilePath GetMaxVersionArchivePath() const { base 332 chrome/installer/setup/setup_util_unittest.cc base::FilePath GetProductVersionArchivePath() const { base 373 chrome/installer/setup/setup_util_unittest.cc base::FilePath patch_source(installer::FindArchiveToPatch( base 382 chrome/installer/setup/setup_util_unittest.cc ASSERT_TRUE(base::DeleteFile(GetProductVersionArchivePath(), false)); base 383 chrome/installer/setup/setup_util_unittest.cc base::FilePath patch_source(installer::FindArchiveToPatch( base 398 chrome/installer/setup/setup_util_unittest.cc ASSERT_TRUE(base::DeleteFile(GetProductVersionArchivePath(), false)); base 399 chrome/installer/setup/setup_util_unittest.cc ASSERT_TRUE(base::DeleteFile(GetMaxVersionArchivePath(), false)); base 401 chrome/installer/setup/setup_util_unittest.cc base::FilePath patch_source(installer::FindArchiveToPatch( base 403 chrome/installer/setup/setup_util_unittest.cc EXPECT_EQ(base::FilePath::StringType(), patch_source.value()); base 438 chrome/installer/setup/setup_util_unittest.cc base::win::RegKey key; base 443 chrome/installer/setup/setup_util_unittest.cc base::win::RegKey(kRootKey, dist->GetVersionKey().c_str(), base 447 chrome/installer/setup/setup_util_unittest.cc base::win::RegKey(kRootKey, dist->GetStateKey().c_str(), base 451 chrome/installer/setup/setup_util_unittest.cc base::win::RegKey(kRootKey, dist->GetStateKey().c_str(), base 458 chrome/installer/setup/setup_util_unittest.cc base::win::RegKey(kRootKey, dist->GetVersionKey().c_str(), base 462 chrome/installer/setup/setup_util_unittest.cc base::win::RegKey(kRootKey, dist->GetStateKey().c_str(), base 52 chrome/installer/setup/uninstall.cc using base::win::RegKey; base 63 chrome/installer/setup/uninstall.cc void DeleteInstallTempDir(const base::FilePath& target_path) { base 64 chrome/installer/setup/uninstall.cc base::FilePath temp_path(target_path.DirName().Append( base 66 chrome/installer/setup/uninstall.cc if (base::DirectoryExists(temp_path)) { base 153 chrome/installer/setup/uninstall.cc AddOsUpgradeWorkItems(installer_state, base::FilePath(), Version(), product, base 175 chrome/installer/setup/uninstall.cc base::string16 reactivation_brand_wide; base 177 chrome/installer/setup/uninstall.cc std::string reactivation_brand(base::UTF16ToASCII(reactivation_brand_wide)); base 234 chrome/installer/setup/uninstall.cc bool RemoveInstallerFiles(const base::FilePath& installer_directory, base 236 chrome/installer/setup/uninstall.cc base::FileEnumerator file_enumerator( base 239 chrome/installer/setup/uninstall.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); base 242 chrome/installer/setup/uninstall.cc base::FilePath setup_exe_base_name(installer::kSetupExe); base 244 chrome/installer/setup/uninstall.cc for (base::FilePath to_delete = file_enumerator.Next(); !to_delete.empty(); base 250 chrome/installer/setup/uninstall.cc if (!base::DeleteFile(to_delete, true)) { base 261 chrome/installer/setup/uninstall.cc base::CleanupProcesses(installer::kChromeExe, base::TimeDelta(), base 263 chrome/installer/setup/uninstall.cc base::CleanupProcesses(installer::kNaClExe, base::TimeDelta(), base 279 chrome/installer/setup/uninstall.cc base::win::ScopedHandle process(::OpenProcess(SYNCHRONIZE, FALSE, pid)); base 298 chrome/installer/setup/uninstall.cc base::CleanupProcesses(installer::kChromeFrameHelperExe, base::TimeDelta(), base 309 chrome/installer/setup/uninstall.cc const base::FilePath& old_target_exe, base 310 chrome/installer/setup/uninstall.cc const base::FilePath& new_target_exe) { base 337 chrome/installer/setup/uninstall.cc const base::FilePath& target_exe) { base 359 chrome/installer/setup/uninstall.cc bool ScheduleParentAndGrandparentForDeletion(const base::FilePath& path) { base 360 chrome/installer/setup/uninstall.cc base::FilePath parent_dir = path.DirName(); base 366 chrome/installer/setup/uninstall.cc base::FilePath grandparent_dir(parent_dir.DirName()); base 379 chrome/installer/setup/uninstall.cc DeleteResult DeleteEmptyDir(const base::FilePath& path) { base 380 chrome/installer/setup/uninstall.cc if (!base::IsDirectoryEmpty(path)) base 383 chrome/installer/setup/uninstall.cc if (base::DeleteFile(path, true)) base 390 chrome/installer/setup/uninstall.cc base::FilePath GetUserDataDir(const Product& product) { base 392 chrome/installer/setup/uninstall.cc base::FilePath user_data_dir = product.GetUserDataPath(); base 400 chrome/installer/setup/uninstall.cc base::FilePath BackupLocalStateFile(const base::FilePath& user_data_dir) { base 401 chrome/installer/setup/uninstall.cc base::FilePath backup; base 402 chrome/installer/setup/uninstall.cc base::FilePath state_file( base 404 chrome/installer/setup/uninstall.cc if (!base::CreateTemporaryFile(&backup)) base 407 chrome/installer/setup/uninstall.cc base::CopyFile(state_file, backup); base 413 chrome/installer/setup/uninstall.cc DeleteResult DeleteUserDataDir(const base::FilePath& user_data_dir, base 420 chrome/installer/setup/uninstall.cc if (!base::DeleteFile(user_data_dir, true)) { base 434 chrome/installer/setup/uninstall.cc const base::FilePath user_data_dir(user_data_dir.DirName()); base 437 chrome/installer/setup/uninstall.cc const base::FilePath product_dir(user_data_dir.DirName()); base 451 chrome/installer/setup/uninstall.cc const base::FilePath& setup_exe) { base 455 chrome/installer/setup/uninstall.cc std::vector<base::FilePath> setup_files; base 458 chrome/installer/setup/uninstall.cc base::FileEnumerator file_enumerator( base 459 chrome/installer/setup/uninstall.cc setup_exe.DirName(), false, base::FileEnumerator::FILES, L"*.dll"); base 460 chrome/installer/setup/uninstall.cc for (base::FilePath setup_dll = file_enumerator.Next(); !setup_dll.empty(); base 466 chrome/installer/setup/uninstall.cc base::FilePath tmp_dir; base 467 chrome/installer/setup/uninstall.cc base::FilePath temp_file; base 468 chrome/installer/setup/uninstall.cc if (!PathService::Get(base::DIR_TEMP, &tmp_dir)) { base 476 chrome/installer/setup/uninstall.cc if (!base::SetCurrentDirectory(tmp_dir)) base 479 chrome/installer/setup/uninstall.cc for (std::vector<base::FilePath>::const_iterator it = setup_files.begin(); base 481 chrome/installer/setup/uninstall.cc const base::FilePath& setup_file = *it; base 482 chrome/installer/setup/uninstall.cc if (!base::CreateTemporaryFileInDir(tmp_dir, &temp_file)) { base 490 chrome/installer/setup/uninstall.cc if (!base::Move(setup_file, temp_file)) { base 498 chrome/installer/setup/uninstall.cc if (!base::DeleteFileAfterReboot(temp_file)) { base 508 chrome/installer/setup/uninstall.cc const base::FilePath& target_path = installer_state.target_path(); base 519 chrome/installer/setup/uninstall.cc base::FilePath app_host_exe(target_path.Append(installer::kChromeAppHostExe)); base 520 chrome/installer/setup/uninstall.cc if (!base::DeleteFile(app_host_exe, false)) { base 529 chrome/installer/setup/uninstall.cc const base::FilePath& setup_exe) { base 530 chrome/installer/setup/uninstall.cc const base::FilePath& target_path = installer_state.target_path(); base 541 chrome/installer/setup/uninstall.cc base::FilePath installer_directory; base 550 chrome/installer/setup/uninstall.cc base::FileEnumerator file_enumerator(target_path, true, base 551 chrome/installer/setup/uninstall.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); base 552 chrome/installer/setup/uninstall.cc for (base::FilePath to_delete = file_enumerator.Next(); !to_delete.empty(); base 564 chrome/installer/setup/uninstall.cc if (!base::DeleteFile(to_delete, true)) { base 570 chrome/installer/setup/uninstall.cc base::FileEnumerator::FileInfo find_info = file_enumerator.GetInfo(); base 580 chrome/installer/setup/uninstall.cc if (!base::DeleteFile(to_delete, true)) { base 656 chrome/installer/setup/uninstall.cc const base::string16& browser_entry_suffix) { base 657 chrome/installer/setup/uninstall.cc base::string16 classes_path(ShellUtil::kRegClasses); base 658 chrome/installer/setup/uninstall.cc classes_path.push_back(base::FilePath::kSeparators[0]); base 661 chrome/installer/setup/uninstall.cc const base::string16 prog_id( base 671 chrome/installer/setup/uninstall.cc !base::win::RegKey(HKEY_LOCAL_MACHINE, (classes_path + prog_id).c_str(), base 690 chrome/installer/setup/uninstall.cc base::string16 assoc; base 691 chrome/installer/setup/uninstall.cc base::win::RegKey key; base 728 chrome/installer/setup/uninstall.cc AddDelegateExecuteWorkItems(installer_state, base::FilePath(), Version(), base 751 chrome/installer/setup/uninstall.cc const base::string16 active_setup_path( base 779 chrome/installer/setup/uninstall.cc base::string16 alternate_active_setup_path(active_setup_path); base 795 chrome/installer/setup/uninstall.cc for (base::win::RegistryKeyIterator it(HKEY_LOCAL_MACHINE, kProfileList); base 801 chrome/installer/setup/uninstall.cc base::win::RegKey user_reg_root_probe( base 807 chrome/installer/setup/uninstall.cc base::string16 reg_profile_info_path(kProfileList); base 809 chrome/installer/setup/uninstall.cc base::win::RegKey reg_profile_info_key( base 812 chrome/installer/setup/uninstall.cc base::string16 profile_path; base 819 chrome/installer/setup/uninstall.cc base::FilePath registry_hive_file(profile_path); base 833 chrome/installer/setup/uninstall.cc base::win::RegKey user_reg_root( base 859 chrome/installer/setup/uninstall.cc const base::FilePath& application_directory) { base 864 chrome/installer/setup/uninstall.cc const base::FilePath product_directory(application_directory.DirName()); base 868 chrome/installer/setup/uninstall.cc const base::FilePath vendor_directory(product_directory.DirName()); base 882 chrome/installer/setup/uninstall.cc const base::string16& browser_entry_suffix, base 891 chrome/installer/setup/uninstall.cc base::FilePath chrome_exe(installer_state.target_path().Append(kChromeExe)); base 894 chrome/installer/setup/uninstall.cc const base::string16 prog_id( base 896 chrome/installer/setup/uninstall.cc base::string16 reg_prog_id(ShellUtil::kRegClasses); base 897 chrome/installer/setup/uninstall.cc reg_prog_id.push_back(base::FilePath::kSeparators[0]); base 902 chrome/installer/setup/uninstall.cc base::string16 reg_app_id(ShellUtil::kRegClasses); base 903 chrome/installer/setup/uninstall.cc reg_app_id.push_back(base::FilePath::kSeparators[0]); base 911 chrome/installer/setup/uninstall.cc using base::win::RegistryKeyIterator; base 913 chrome/installer/setup/uninstall.cc base::string16 client_name; base 914 chrome/installer/setup/uninstall.cc base::string16 client_key; base 915 chrome/installer/setup/uninstall.cc base::string16 open_key; base 935 chrome/installer/setup/uninstall.cc base::string16(L".DEFAULT\\").append( base 950 chrome/installer/setup/uninstall.cc base::string16 app_key(ShellUtil::kRegClasses); base 951 chrome/installer/setup/uninstall.cc app_key.push_back(base::FilePath::kSeparators[0]); base 953 chrome/installer/setup/uninstall.cc app_key.push_back(base::FilePath::kSeparators[0]); base 957 chrome/installer/setup/uninstall.cc base::string16 app_path_key(ShellUtil::kAppPathsRegistryKey); base 958 chrome/installer/setup/uninstall.cc app_path_key.push_back(base::FilePath::kSeparators[0]); base 964 chrome/installer/setup/uninstall.cc base::string16 file_assoc_key; base 965 chrome/installer/setup/uninstall.cc base::string16 open_with_list_key; base 966 chrome/installer/setup/uninstall.cc base::string16 open_with_progids_key; base 969 chrome/installer/setup/uninstall.cc file_assoc_key.push_back(base::FilePath::kSeparators[0]); base 971 chrome/installer/setup/uninstall.cc file_assoc_key.push_back(base::FilePath::kSeparators[0]); base 975 chrome/installer/setup/uninstall.cc open_with_list_key.push_back(base::FilePath::kSeparators[0]); base 996 chrome/installer/setup/uninstall.cc base::string16 parent_key(ShellUtil::kRegClasses); base 997 chrome/installer/setup/uninstall.cc parent_key.push_back(base::FilePath::kSeparators[0]); base 998 chrome/installer/setup/uninstall.cc const base::string16::size_type base_length = parent_key.size(); base 999 chrome/installer/setup/uninstall.cc base::string16 child_key; base 1018 chrome/installer/setup/uninstall.cc const base::string16& chrome_exe) { base 1031 chrome/installer/setup/uninstall.cc base::string16 suffix; base 1036 chrome/installer/setup/uninstall.cc base::string16 ext_prog_id(ShellUtil::kRegClasses); base 1037 chrome/installer/setup/uninstall.cc ext_prog_id.push_back(base::FilePath::kSeparators[0]); base 1043 chrome/installer/setup/uninstall.cc base::string16 ext_association(ShellUtil::kRegClasses); base 1052 chrome/installer/setup/uninstall.cc const base::FilePath& setup_exe, base 1059 chrome/installer/setup/uninstall.cc const base::string16 chrome_exe( base 1079 chrome/installer/setup/uninstall.cc const base::string16 suffix( base 1092 chrome/installer/setup/uninstall.cc base::win::GetVersion() >= base::win::VERSION_VISTA && base 1116 chrome/installer/setup/uninstall.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 1122 chrome/installer/setup/uninstall.cc base::ASCIIToUTF16(chrome::kInitialProfile)); base 1129 chrome/installer/setup/uninstall.cc const base::FilePath system_chrome_path( base 1133 chrome/installer/setup/uninstall.cc if (base::PathExists(system_chrome_path)) { base 1135 chrome/installer/setup/uninstall.cc base::FilePath(chrome_exe), base 1142 chrome/installer/setup/uninstall.cc DeleteShortcuts(installer_state, product, base::FilePath(chrome_exe)); base 1150 chrome/installer/setup/uninstall.cc base::string16 distribution_data(browser_dist->GetDistributionData(reg_root)); base 1170 chrome/installer/setup/uninstall.cc const base::string16 suffix( base 1188 chrome/installer/setup/uninstall.cc HKEY_CURRENT_USER, base::string16(), &ret); base 1193 chrome/installer/setup/uninstall.cc base::string16 old_style_suffix; base 1270 chrome/installer/setup/uninstall.cc base::string16 reg_path(installer::kMediaPlayerRegPath); base 1271 chrome/installer/setup/uninstall.cc reg_path.push_back(base::FilePath::kSeparators[0]); base 1279 chrome/installer/setup/uninstall.cc std::vector<base::FilePath> com_dll_list; base 1281 chrome/installer/setup/uninstall.cc base::FilePath dll_folder = installer_state.target_path().AppendASCII( base 1318 chrome/installer/setup/uninstall.cc base::FilePath user_data_dir(GetUserDataDir(product)); base 1319 chrome/installer/setup/uninstall.cc base::FilePath backup_state_file(BackupLocalStateFile(user_data_dir)); base 1326 chrome/installer/setup/uninstall.cc installer_state, base::MakeAbsoluteFilePath(setup_exe)); base 1346 chrome/installer/setup/uninstall.cc base::DeleteFile(backup_state_file, false); base 1354 chrome/installer/setup/uninstall.cc const base::FilePath& setup_exe, base 1360 chrome/installer/setup/uninstall.cc const base::FilePath target_path(installer_state.target_path()); base 1366 chrome/installer/setup/uninstall.cc if (!target_path.IsParent(base::MakeAbsoluteFilePath(setup_exe))) { base 1370 chrome/installer/setup/uninstall.cc base::FilePath install_directory(setup_exe.DirName()); base 17 chrome/installer/setup/uninstall.h namespace base { base 40 chrome/installer/setup/uninstall.h const base::FilePath& application_directory); base 49 chrome/installer/setup/uninstall.h const base::string16& browser_entry_suffix, base 56 chrome/installer/setup/uninstall.h const base::string16& chrome_exe); base 75 chrome/installer/setup/uninstall.h const base::FilePath& setup_exe, base 79 chrome/installer/setup/uninstall.h const base::CommandLine& cmd_line); base 95 chrome/installer/setup/uninstall.h const base::FilePath& setup_exe, base 80 chrome/installer/test/alternate_version_generator.cc if (!directory_.empty() && !base::DeleteFile(directory_, true)) { base 88 chrome/installer/test/alternate_version_generator.cc if (!base::CreateNewTempDirectory(&kTempDirPrefix[0], &directory_)) { base 94 chrome/installer/test/alternate_version_generator.cc const base::FilePath& directory() const { base 100 chrome/installer/test/alternate_version_generator.cc base::FilePath directory_; base 155 chrome/installer/test/alternate_version_generator.cc bool Initialize(base::File file); base 161 chrome/installer/test/alternate_version_generator.cc base::File file_; base 180 chrome/installer/test/alternate_version_generator.cc bool MappedFile::Initialize(base::File file) { base 183 chrome/installer/test/alternate_version_generator.cc base::File::Info file_info; base 217 chrome/installer/test/alternate_version_generator.cc base::win::ScopedHandle process; base 218 chrome/installer/test/alternate_version_generator.cc base::LaunchOptions options; base 221 chrome/installer/test/alternate_version_generator.cc if (base::LaunchProcess(cmdline, options, &process)) { base 241 chrome/installer/test/alternate_version_generator.cc bool GetFileVersion(const base::FilePath& pe_file, ChromeVersion* version) { base 270 chrome/installer/test/alternate_version_generator.cc bool GetSetupExeVersion(const base::FilePath& work_dir, base 351 chrome/installer/test/alternate_version_generator.cc bool UpdateVersionIfMatch(const base::FilePath& image_file, base 359 chrome/installer/test/alternate_version_generator.cc uint32 flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 360 chrome/installer/test/alternate_version_generator.cc base::File::FLAG_WRITE | base::File::FLAG_EXCLUSIVE_READ | base 361 chrome/installer/test/alternate_version_generator.cc base::File::FLAG_EXCLUSIVE_WRITE; base 362 chrome/installer/test/alternate_version_generator.cc base::File file(image_file, flags); base 377 chrome/installer/test/alternate_version_generator.cc base::win::PEImageAsData image( base 419 chrome/installer/test/alternate_version_generator.cc bool ApplyAlternateVersion(const base::FilePath& work_dir, base 435 chrome/installer/test/alternate_version_generator.cc base::FileEnumerator all_files(work_dir, true, base::FileEnumerator::FILES); base 437 chrome/installer/test/alternate_version_generator.cc base::FilePath file = all_files.Next(); base 448 chrome/installer/test/alternate_version_generator.cc base::FilePath chrome_bin = work_dir.Append(&kChromeBin[0]); base 449 chrome/installer/test/alternate_version_generator.cc doing_great = base::Move(chrome_bin.Append(ctx.current_version_str), base 468 chrome/installer/test/alternate_version_generator.cc base::FilePath Get7zaPath() { base 469 chrome/installer/test/alternate_version_generator.cc base::FilePath l7za_path = base 473 chrome/installer/test/alternate_version_generator.cc base::FilePath dir_exe; base 474 chrome/installer/test/alternate_version_generator.cc if (!PathService::Get(base::DIR_EXE, &dir_exe)) base 481 chrome/installer/test/alternate_version_generator.cc bool CreateArchive(const base::FilePath& output_file, base 482 chrome/installer/test/alternate_version_generator.cc const base::FilePath& input_path, base 513 chrome/installer/test/alternate_version_generator.cc bool GenerateAlternateVersion(const base::FilePath& original_installer_path, base 514 chrome/installer/test/alternate_version_generator.cc const base::FilePath& target_path, base 524 chrome/installer/test/alternate_version_generator.cc base::FilePath mini_installer = base 526 chrome/installer/test/alternate_version_generator.cc if (!base::CopyFile(original_installer_path, mini_installer)) { base 532 chrome/installer/test/alternate_version_generator.cc base::FilePath setup_ex_ = work_dir.directory().Append(&kSetupEx_[0]); base 533 chrome/installer/test/alternate_version_generator.cc base::FilePath chrome_packed_7z = base 547 chrome/installer/test/alternate_version_generator.cc base::WriteFile(setup_ex_, base 559 chrome/installer/test/alternate_version_generator.cc base::WriteFile(chrome_packed_7z, base 569 chrome/installer/test/alternate_version_generator.cc base::FilePath setup_exe = setup_ex_.ReplaceExtension(&kExe[0]); base 603 chrome/installer/test/alternate_version_generator.cc base::FilePath chrome_7z(chrome_7z_name); base 604 chrome/installer/test/alternate_version_generator.cc if (!base::DeleteFile(chrome_7z, false) || base 605 chrome/installer/test/alternate_version_generator.cc !base::DeleteFile(chrome_packed_7z, false) || base 606 chrome/installer/test/alternate_version_generator.cc !base::DeleteFile(setup_ex_, false)) { base 651 chrome/installer/test/alternate_version_generator.cc return base::Move(mini_installer, target_path); base 654 chrome/installer/test/alternate_version_generator.cc bool GenerateAlternatePEFileVersion(const base::FilePath& original_file, base 655 chrome/installer/test/alternate_version_generator.cc const base::FilePath& target_file, base 671 chrome/installer/test/alternate_version_generator.cc Version new_version(base::UTF16ToASCII(ctx.new_version_str)); base 677 chrome/installer/test/alternate_version_generator.cc bool GenerateSpecificPEFileVersion(const base::FilePath& original_file, base 678 chrome/installer/test/alternate_version_generator.cc const base::FilePath& target_file, base 681 chrome/installer/test/alternate_version_generator.cc if (!base::CopyFile(original_file, target_file)) { base 12 chrome/installer/test/alternate_version_generator.h namespace base { base 30 chrome/installer/test/alternate_version_generator.h bool GenerateAlternateVersion(const base::FilePath& original_installer_path, base 31 chrome/installer/test/alternate_version_generator.h const base::FilePath& target_path, base 40 chrome/installer/test/alternate_version_generator.h bool GenerateAlternatePEFileVersion(const base::FilePath& original_file, base 41 chrome/installer/test/alternate_version_generator.h const base::FilePath& target_file, base 48 chrome/installer/test/alternate_version_generator.h bool GenerateSpecificPEFileVersion(const base::FilePath& original_file, base 49 chrome/installer/test/alternate_version_generator.h const base::FilePath& target_file, base 50 chrome/installer/test/alternate_version_generator.h const base::Version& version); base 97 chrome/installer/test/alternate_version_generator_main.cc base::FilePath* mini_installer) { base 99 chrome/installer/test/alternate_version_generator_main.cc base::FilePath result = cmd_line.GetSwitchValuePath(switches::kMiniInstaller); base 100 chrome/installer/test/alternate_version_generator_main.cc if (result.empty() && PathService::Get(base::DIR_EXE, &result)) base 109 chrome/installer/test/alternate_version_generator_main.cc void GetOutPath(const CommandLine& cmd_line, base::FilePath* out) { base 111 chrome/installer/test/alternate_version_generator_main.cc base::FilePath result = cmd_line.GetSwitchValuePath(switches::kOut); base 113 chrome/installer/test/alternate_version_generator_main.cc *out = base::FilePath(kDefaultOutPath); base 128 chrome/installer/test/alternate_version_generator_main.cc base::AtExitManager exit_manager; base 137 chrome/installer/test/alternate_version_generator_main.cc base::FilePath mini_installer; base 143 chrome/installer/test/alternate_version_generator_main.cc if (!base::PathExists(mini_installer)) { base 149 chrome/installer/test/alternate_version_generator_main.cc base::FilePath out; base 151 chrome/installer/test/alternate_version_generator_main.cc if (!cmd_line->HasSwitch(switches::kForce) && base::PathExists(out)) { base 29 chrome/installer/test/pe_image_resources.cc const base::win::PEImage& image, const uint8* tree_base, DWORD tree_size, base 110 chrome/installer/test/pe_image_resources.cc bool EnumResources(const base::win::PEImage& image, EnumResource_Fn callback, base 19 chrome/installer/test/pe_image_resources.h namespace base { namespace win { class PEImage; } } base 57 chrome/installer/test/pe_image_resources.h bool EnumResources(const base::win::PEImage& image, EnumResource_Fn callback, base 62 chrome/installer/test/resource_loader.cc bool ResourceLoader::Initialize(const base::FilePath& pe_image_path) { base 17 chrome/installer/test/resource_loader.h namespace base { base 30 chrome/installer/test/resource_loader.h bool Initialize(const base::FilePath& pe_image_path); base 26 chrome/installer/test/resource_updater.cc bool ResourceUpdater::Initialize(const base::FilePath& pe_image_path) { base 40 chrome/installer/test/resource_updater.cc const base::FilePath& input_file) { base 42 chrome/installer/test/resource_updater.cc base::MemoryMappedFile input; base 17 chrome/installer/test/resource_updater.h namespace base { base 30 chrome/installer/test/resource_updater.h bool Initialize(const base::FilePath& pe_image_path); base 35 chrome/installer/test/resource_updater.h WORD language_id, const base::FilePath& input_file); base 23 chrome/installer/test/upgrade_test.cc base::FilePath dir_exe; base 24 chrome/installer/test/upgrade_test.cc ASSERT_TRUE(PathService::Get(base::DIR_EXE, &dir_exe)); base 25 chrome/installer/test/upgrade_test.cc ASSERT_TRUE(base::CreateTemporaryFile(&next_mini_installer_path_)); base 35 chrome/installer/test/upgrade_test.cc EXPECT_TRUE(base::DeleteFile(next_mini_installer_path_, false)); base 38 chrome/installer/test/upgrade_test.cc static base::FilePath next_mini_installer_path_; base 41 chrome/installer/test/upgrade_test.cc base::FilePath UpgradeTest::next_mini_installer_path_; base 32 chrome/installer/tools/validate_installation_main.cc static base::FilePath GetLogFilePath(); base 43 chrome/installer/tools/validate_installation_main.cc base::FilePath log_file_path_; base 83 chrome/installer/tools/validate_installation_main.cc if (base::GetFileSize(log_file_path_, &file_size) && file_size == 0) base 84 chrome/installer/tools/validate_installation_main.cc base::DeleteFile(log_file_path_, false); base 90 chrome/installer/tools/validate_installation_main.cc base::FilePath ConsoleLogHelper::GetLogFilePath() { base 91 chrome/installer/tools/validate_installation_main.cc base::FilePath log_path; base 93 chrome/installer/tools/validate_installation_main.cc if (PathService::Get(base::DIR_TEMP, &log_path)) base 96 chrome/installer/tools/validate_installation_main.cc return base::FilePath(kLogFileName_); base 166 chrome/installer/tools/validate_installation_main.cc base::AtExitManager exit_manager; base 34 chrome/installer/util/app_command.cc AppCommand::AppCommand(const base::string16& command_line) base 42 chrome/installer/util/app_command.cc bool AppCommand::Initialize(const base::win::RegKey& key) { base 49 chrome/installer/util/app_command.cc base::string16 cmd_line; base 71 chrome/installer/util/app_command.cc const base::string16& command_path, base 14 chrome/installer/util/app_command.h namespace base { base 30 chrome/installer/util/app_command.h explicit AppCommand(const base::string16& command_line); base 34 chrome/installer/util/app_command.h bool Initialize(const base::win::RegKey& key); base 39 chrome/installer/util/app_command.h const base::string16& command_path, base 45 chrome/installer/util/app_command.h const base::string16& command_line() const { return command_line_; } base 46 chrome/installer/util/app_command.h void set_command_line(const base::string16& command_line) { base 69 chrome/installer/util/app_command.h base::string16 command_line_; base 12 chrome/installer/util/app_commands.cc using base::win::RegKey; base 22 chrome/installer/util/app_commands.cc bool AppCommands::Initialize(const base::win::RegKey& key) { base 28 chrome/installer/util/app_commands.cc using base::win::RegistryKeyIterator; base 17 chrome/installer/util/app_commands.h namespace base { base 39 chrome/installer/util/app_commands.h bool Initialize(const base::win::RegKey& key); base 22 chrome/installer/util/auto_launch_util.cc using base::ASCIIToUTF16; base 23 chrome/installer/util/auto_launch_util.cc using base::ASCIIToWide; base 44 chrome/installer/util/auto_launch_util.cc base::string16 ProfileToKeyName(const base::string16& profile_directory) { base 45 chrome/installer/util/auto_launch_util.cc base::FilePath path; base 63 chrome/installer/util/auto_launch_util.cc std::string hash_string = base::HexEncode(hash, sizeof(hash)); base 64 chrome/installer/util/auto_launch_util.cc return base::string16(kAutolaunchKeyValue) + ASCIIToWide("_") + base 77 chrome/installer/util/auto_launch_util.cc bool WillLaunchAtLoginWithSwitch(const base::FilePath& application_path, base 78 chrome/installer/util/auto_launch_util.cc const base::string16& profile_directory, base 80 chrome/installer/util/auto_launch_util.cc base::string16 key_name(ProfileToKeyName(profile_directory)); base 81 chrome/installer/util/auto_launch_util.cc base::string16 autolaunch; base 82 chrome/installer/util/auto_launch_util.cc if (!base::win::ReadCommandFromAutoRun( base 87 chrome/installer/util/auto_launch_util.cc base::FilePath chrome_exe(application_path); base 89 chrome/installer/util/auto_launch_util.cc if (!PathService::Get(base::DIR_EXE, &chrome_exe)) { base 96 chrome/installer/util/auto_launch_util.cc if (autolaunch.find(chrome_exe.value()) == base::string16::npos) base 101 chrome/installer/util/auto_launch_util.cc base::string16::npos; base 104 chrome/installer/util/auto_launch_util.cc bool AutoStartRequested(const base::string16& profile_directory, base 106 chrome/installer/util/auto_launch_util.cc const base::FilePath& application_path) { base 125 chrome/installer/util/auto_launch_util.cc base::string16 chromium = ASCIIToUTF16("chromium"); base 126 chrome/installer/util/auto_launch_util.cc base::string16 value; base 127 chrome/installer/util/auto_launch_util.cc if (base::win::ReadCommandFromAutoRun(HKEY_CURRENT_USER, chromium, &value)) { base 129 chrome/installer/util/auto_launch_util.cc base::string16::npos) { base 130 chrome/installer/util/auto_launch_util.cc base::win::RemoveCommandFromAutoRun(HKEY_CURRENT_USER, chromium); base 138 chrome/installer/util/auto_launch_util.cc void SetWillLaunchAtLogin(const base::FilePath& application_path, base 139 chrome/installer/util/auto_launch_util.cc const base::string16& profile_directory, base 159 chrome/installer/util/auto_launch_util.cc base::string16 key_name(ProfileToKeyName(profile_directory)); base 177 chrome/installer/util/auto_launch_util.cc base::FilePath path(application_path); base 179 chrome/installer/util/auto_launch_util.cc if (!PathService::Get(base::DIR_EXE, &path)) { base 184 chrome/installer/util/auto_launch_util.cc base::string16 cmd_line = ASCIIToUTF16("\""); base 215 chrome/installer/util/auto_launch_util.cc base::win::AddCommandToAutoRun( base 218 chrome/installer/util/auto_launch_util.cc base::win::RemoveCommandFromAutoRun(HKEY_CURRENT_USER, key_name); base 222 chrome/installer/util/auto_launch_util.cc void DisableAllAutoStartFeatures(const base::string16& profile_directory) { base 227 chrome/installer/util/auto_launch_util.cc void EnableForegroundStartAtLogin(const base::string16& profile_directory, base 228 chrome/installer/util/auto_launch_util.cc const base::FilePath& application_path) { base 233 chrome/installer/util/auto_launch_util.cc void DisableForegroundStartAtLogin(const base::string16& profile_directory) { base 235 chrome/installer/util/auto_launch_util.cc base::FilePath(), profile_directory, FLAG_DISABLE, FLAG_PRESERVE); base 243 chrome/installer/util/auto_launch_util.cc SetWillLaunchAtLogin(base::FilePath(), base 250 chrome/installer/util/auto_launch_util.cc SetWillLaunchAtLogin(base::FilePath(), base 10 chrome/installer/util/auto_launch_util.h namespace base { base 35 chrome/installer/util/auto_launch_util.h bool AutoStartRequested(const base::string16& profile_directory, base 37 chrome/installer/util/auto_launch_util.h const base::FilePath& application_path); base 42 chrome/installer/util/auto_launch_util.h void DisableAllAutoStartFeatures(const base::string16& profile_directory); base 51 chrome/installer/util/auto_launch_util.h void EnableForegroundStartAtLogin(const base::string16& profile_directory, base 52 chrome/installer/util/auto_launch_util.h const base::FilePath& application_path); base 59 chrome/installer/util/auto_launch_util.h void DisableForegroundStartAtLogin(const base::string16& profile_directory); base 70 chrome/installer/util/browser_distribution.cc if (base::subtle::NoBarrier_CompareAndSwap( base 71 chrome/installer/util/browser_distribution.cc reinterpret_cast<base::subtle::AtomicWord*>(dist), NULL, base 72 chrome/installer/util/browser_distribution.cc reinterpret_cast<base::subtle::AtomicWord>(temp)) != NULL) base 129 chrome/installer/util/browser_distribution.cc const Version& version, const base::FilePath& local_data_path, base 130 chrome/installer/util/browser_distribution.cc const base::string16& distribution_data) { base 133 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetActiveSetupGuid() { base 137 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetAppGuid() { base 141 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetBaseAppName() { base 145 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetDisplayName() { base 149 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetShortcutName( base 174 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetIconFilename() { base 178 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetStartMenuShortcutSubfolder( base 189 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetBaseAppId() { base 193 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetBrowserProgIdPrefix() { base 200 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetBrowserProgIdDesc() { base 205 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetInstallSubDir() { base 209 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetPublisherName() { base 213 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetAppDescription() { base 217 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetLongAppDescription() { base 218 chrome/installer/util/browser_distribution.cc const base::string16& app_description = base 227 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetStateKey() { base 231 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetStateMediumKey() { base 243 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetDistributionData(HKEY root_key) { base 247 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetUninstallLinkName() { base 251 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetUninstallRegPath() { base 255 chrome/installer/util/browser_distribution.cc base::string16 BrowserDistribution::GetVersionKey() { base 268 chrome/installer/util/browser_distribution.cc bool BrowserDistribution::GetChromeChannel(base::string16* channel) { base 273 chrome/installer/util/browser_distribution.cc base::string16* handler_class_uuid) { base 59 chrome/installer/util/browser_distribution.h const base::FilePath& local_data_path, base 60 chrome/installer/util/browser_distribution.h const base::string16& distribution_data); base 63 chrome/installer/util/browser_distribution.h virtual base::string16 GetActiveSetupGuid(); base 65 chrome/installer/util/browser_distribution.h virtual base::string16 GetAppGuid(); base 72 chrome/installer/util/browser_distribution.h virtual base::string16 GetBaseAppName(); base 75 chrome/installer/util/browser_distribution.h virtual base::string16 GetDisplayName(); base 79 chrome/installer/util/browser_distribution.h virtual base::string16 GetShortcutName(ShortcutType shortcut_type); base 86 chrome/installer/util/browser_distribution.h virtual base::string16 GetIconFilename(); base 91 chrome/installer/util/browser_distribution.h virtual base::string16 GetStartMenuShortcutSubfolder( base 98 chrome/installer/util/browser_distribution.h virtual base::string16 GetBaseAppId(); base 107 chrome/installer/util/browser_distribution.h virtual base::string16 GetBrowserProgIdPrefix(); base 110 chrome/installer/util/browser_distribution.h virtual base::string16 GetBrowserProgIdDesc(); base 112 chrome/installer/util/browser_distribution.h virtual base::string16 GetInstallSubDir(); base 114 chrome/installer/util/browser_distribution.h virtual base::string16 GetPublisherName(); base 116 chrome/installer/util/browser_distribution.h virtual base::string16 GetAppDescription(); base 118 chrome/installer/util/browser_distribution.h virtual base::string16 GetLongAppDescription(); base 122 chrome/installer/util/browser_distribution.h virtual base::string16 GetStateKey(); base 124 chrome/installer/util/browser_distribution.h virtual base::string16 GetStateMediumKey(); base 131 chrome/installer/util/browser_distribution.h virtual base::string16 GetDistributionData(HKEY root_key); base 134 chrome/installer/util/browser_distribution.h virtual base::string16 GetUninstallLinkName(); base 136 chrome/installer/util/browser_distribution.h virtual base::string16 GetUninstallRegPath(); base 138 chrome/installer/util/browser_distribution.h virtual base::string16 GetVersionKey(); base 146 chrome/installer/util/browser_distribution.h virtual bool GetChromeChannel(base::string16* channel); base 151 chrome/installer/util/browser_distribution.h virtual bool GetCommandExecuteImplClsid(base::string16* handler_class_uuid); base 12 chrome/installer/util/callback_work_item.cc base::Callback<bool(const CallbackWorkItem&)> callback) base 52 chrome/installer/util/callback_work_item.h CallbackWorkItem(base::Callback<bool(const CallbackWorkItem&)> callback); base 54 chrome/installer/util/callback_work_item.h base::Callback<bool(const CallbackWorkItem&)> callback_; base 20 chrome/installer/util/callback_work_item_unittest.cc CallbackWorkItem work_item(base::Bind(&TestFailureCallback)); base 47 chrome/installer/util/callback_work_item_unittest.cc CallbackWorkItem work_item(base::Bind(&TestForwardBackwardCallback, &state)); base 12 chrome/installer/util/channel_info.cc using base::win::RegKey; base 10 chrome/installer/util/channel_info.h namespace base { base 28 chrome/installer/util/channel_info.h bool Initialize(const base::win::RegKey& key); base 32 chrome/installer/util/channel_info.h bool Write(base::win::RegKey* key) const; base 33 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetAppGuid() { base 37 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetBaseAppName() { base 41 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetBrowserProgIdPrefix() { base 43 chrome/installer/util/chrome_app_host_distribution.cc return base::string16(); base 46 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetBrowserProgIdDesc() { base 48 chrome/installer/util/chrome_app_host_distribution.cc return base::string16(); base 51 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetDisplayName() { base 55 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetShortcutName( base 61 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetBaseAppId() { base 66 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetInstallSubDir() { base 71 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetPublisherName() { base 72 chrome/installer/util/chrome_app_host_distribution.cc const base::string16& publisher_name = base 77 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetAppDescription() { base 78 chrome/installer/util/chrome_app_host_distribution.cc const base::string16& app_description = base 83 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetLongAppDescription() { base 84 chrome/installer/util/chrome_app_host_distribution.cc const base::string16& app_description = base 93 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetStateKey() { base 94 chrome/installer/util/chrome_app_host_distribution.cc base::string16 key(google_update::kRegPathClientState); base 100 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetStateMediumKey() { base 101 chrome/installer/util/chrome_app_host_distribution.cc base::string16 key(google_update::kRegPathClientStateMedium); base 115 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetUninstallLinkName() { base 116 chrome/installer/util/chrome_app_host_distribution.cc const base::string16& link_name = base 121 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetUninstallRegPath() { base 126 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetVersionKey() { base 127 chrome/installer/util/chrome_app_host_distribution.cc base::string16 key(google_update::kRegPathClients); base 142 chrome/installer/util/chrome_app_host_distribution.cc base::string16 ChromeAppHostDistribution::GetIconFilename() { base 147 chrome/installer/util/chrome_app_host_distribution.cc base::string16* handler_class_uuid) { base 16 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetAppGuid() OVERRIDE; base 18 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetDisplayName() OVERRIDE; base 20 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE; base 22 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetBrowserProgIdDesc() OVERRIDE; base 25 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; base 27 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetIconFilename() OVERRIDE; base 29 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetBaseAppName() OVERRIDE; base 31 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetBaseAppId() OVERRIDE; base 33 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetInstallSubDir() OVERRIDE; base 35 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetPublisherName() OVERRIDE; base 37 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetAppDescription() OVERRIDE; base 39 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetLongAppDescription() OVERRIDE; base 43 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetStateKey() OVERRIDE; base 45 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetStateMediumKey() OVERRIDE; base 51 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetUninstallLinkName() OVERRIDE; base 53 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetUninstallRegPath() OVERRIDE; base 55 chrome/installer/util/chrome_app_host_distribution.h virtual base::string16 GetVersionKey() OVERRIDE; base 62 chrome/installer/util/chrome_app_host_distribution.h base::string16* handler_class_uuid) OVERRIDE; base 22 chrome/installer/util/chrome_app_host_operations.cc std::set<base::string16>* options) base 34 chrome/installer/util/chrome_app_host_operations.cc std::set<base::string16>* options) base 43 chrome/installer/util/chrome_app_host_operations.cc const std::set<base::string16>& options, base 44 chrome/installer/util/chrome_app_host_operations.cc std::vector<base::FilePath>* key_files) const { base 48 chrome/installer/util/chrome_app_host_operations.cc const std::set<base::string16>& options, base 49 chrome/installer/util/chrome_app_host_operations.cc std::vector<base::FilePath>* com_dll_list) const { base 53 chrome/installer/util/chrome_app_host_operations.cc const std::set<base::string16>& options, base 70 chrome/installer/util/chrome_app_host_operations.cc const std::set<base::string16>& options, base 84 chrome/installer/util/chrome_app_host_operations.cc const std::set<base::string16>& options, base 96 chrome/installer/util/chrome_app_host_operations.cc const std::set<base::string16>& options) const { base 102 chrome/installer/util/chrome_app_host_operations.cc const base::FilePath& target_exe, base 118 chrome/installer/util/chrome_app_host_operations.cc std::vector<base::string16> components; base 125 chrome/installer/util/chrome_app_host_operations.cc const base::FilePath& setup_path, base 126 chrome/installer/util/chrome_app_host_operations.cc const std::set<base::string16>& options, base 21 chrome/installer/util/chrome_app_host_operations.h std::set<base::string16>* options) const OVERRIDE; base 23 chrome/installer/util/chrome_app_host_operations.h virtual void ReadOptions(const base::CommandLine& uninstall_command, base 24 chrome/installer/util/chrome_app_host_operations.h std::set<base::string16>* options) const OVERRIDE; base 27 chrome/installer/util/chrome_app_host_operations.h const std::set<base::string16>& options, base 28 chrome/installer/util/chrome_app_host_operations.h std::vector<base::FilePath>* key_files) const OVERRIDE; base 31 chrome/installer/util/chrome_app_host_operations.h const std::set<base::string16>& options, base 32 chrome/installer/util/chrome_app_host_operations.h std::vector<base::FilePath>* com_dll_list) const OVERRIDE; base 34 chrome/installer/util/chrome_app_host_operations.h virtual void AppendProductFlags(const std::set<base::string16>& options, base 35 chrome/installer/util/chrome_app_host_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 37 chrome/installer/util/chrome_app_host_operations.h virtual void AppendRenameFlags(const std::set<base::string16>& options, base 38 chrome/installer/util/chrome_app_host_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 40 chrome/installer/util/chrome_app_host_operations.h virtual bool SetChannelFlags(const std::set<base::string16>& options, base 45 chrome/installer/util/chrome_app_host_operations.h const std::set<base::string16>& options) const OVERRIDE; base 49 chrome/installer/util/chrome_app_host_operations.h const base::FilePath& target_exe, base 52 chrome/installer/util/chrome_app_host_operations.h virtual void LaunchUserExperiment(const base::FilePath& setup_path, base 53 chrome/installer/util/chrome_app_host_operations.h const std::set<base::string16>& options, base 19 chrome/installer/util/chrome_binaries_operations.cc std::set<base::string16>* options) base 26 chrome/installer/util/chrome_binaries_operations.cc std::set<base::string16>* options) base 33 chrome/installer/util/chrome_binaries_operations.cc const std::set<base::string16>& options, base 34 chrome/installer/util/chrome_binaries_operations.cc std::vector<base::FilePath>* key_files) const { base 36 chrome/installer/util/chrome_binaries_operations.cc key_files->push_back(base::FilePath(installer::kChromeDll)); base 40 chrome/installer/util/chrome_binaries_operations.cc const std::set<base::string16>& options, base 41 chrome/installer/util/chrome_binaries_operations.cc std::vector<base::FilePath>* com_dll_list) const { base 45 chrome/installer/util/chrome_binaries_operations.cc const std::set<base::string16>& options, base 57 chrome/installer/util/chrome_binaries_operations.cc const std::set<base::string16>& options, base 69 chrome/installer/util/chrome_binaries_operations.cc const std::set<base::string16>& options, base 76 chrome/installer/util/chrome_binaries_operations.cc const std::set<base::string16>& options) const { base 82 chrome/installer/util/chrome_binaries_operations.cc const base::FilePath& target_exe, base 88 chrome/installer/util/chrome_binaries_operations.cc const base::FilePath& setup_path, base 89 chrome/installer/util/chrome_binaries_operations.cc const std::set<base::string16>& options, base 21 chrome/installer/util/chrome_binaries_operations.h std::set<base::string16>* options) const OVERRIDE; base 23 chrome/installer/util/chrome_binaries_operations.h virtual void ReadOptions(const base::CommandLine& uninstall_command, base 24 chrome/installer/util/chrome_binaries_operations.h std::set<base::string16>* options) const OVERRIDE; base 27 chrome/installer/util/chrome_binaries_operations.h const std::set<base::string16>& options, base 28 chrome/installer/util/chrome_binaries_operations.h std::vector<base::FilePath>* key_files) const OVERRIDE; base 31 chrome/installer/util/chrome_binaries_operations.h const std::set<base::string16>& options, base 32 chrome/installer/util/chrome_binaries_operations.h std::vector<base::FilePath>* com_dll_list) const OVERRIDE; base 34 chrome/installer/util/chrome_binaries_operations.h virtual void AppendProductFlags(const std::set<base::string16>& options, base 35 chrome/installer/util/chrome_binaries_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 37 chrome/installer/util/chrome_binaries_operations.h virtual void AppendRenameFlags(const std::set<base::string16>& options, base 38 chrome/installer/util/chrome_binaries_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 40 chrome/installer/util/chrome_binaries_operations.h virtual bool SetChannelFlags(const std::set<base::string16>& options, base 45 chrome/installer/util/chrome_binaries_operations.h const std::set<base::string16>& options) const OVERRIDE; base 49 chrome/installer/util/chrome_binaries_operations.h const base::FilePath& target_exe, base 52 chrome/installer/util/chrome_binaries_operations.h virtual void LaunchUserExperiment(const base::FilePath& setup_path, base 53 chrome/installer/util/chrome_binaries_operations.h const std::set<base::string16>& options, base 25 chrome/installer/util/chrome_browser_operations.cc std::set<base::string16>* options) base 38 chrome/installer/util/chrome_browser_operations.cc std::set<base::string16>* options) base 47 chrome/installer/util/chrome_browser_operations.cc const std::set<base::string16>& options, base 48 chrome/installer/util/chrome_browser_operations.cc std::vector<base::FilePath>* key_files) const { base 50 chrome/installer/util/chrome_browser_operations.cc key_files->push_back(base::FilePath(installer::kChromeDll)); base 54 chrome/installer/util/chrome_browser_operations.cc const std::set<base::string16>& options, base 55 chrome/installer/util/chrome_browser_operations.cc std::vector<base::FilePath>* com_dll_list) const { base 59 chrome/installer/util/chrome_browser_operations.cc const std::set<base::string16>& options, base 74 chrome/installer/util/chrome_browser_operations.cc const std::set<base::string16>& options, base 86 chrome/installer/util/chrome_browser_operations.cc const std::set<base::string16>& options, base 98 chrome/installer/util/chrome_browser_operations.cc const std::set<base::string16>& options) const { base 112 chrome/installer/util/chrome_browser_operations.cc const base::FilePath& target_exe, base 120 chrome/installer/util/chrome_browser_operations.cc base::FilePath prefs_path(target_exe.DirName().AppendASCII( base 122 chrome/installer/util/chrome_browser_operations.cc if (base::PathExists(prefs_path)) { base 142 chrome/installer/util/chrome_browser_operations.cc const base::FilePath& setup_path, base 143 chrome/installer/util/chrome_browser_operations.cc const std::set<base::string16>& options, base 20 chrome/installer/util/chrome_browser_operations.h std::set<base::string16>* options) const OVERRIDE; base 22 chrome/installer/util/chrome_browser_operations.h virtual void ReadOptions(const base::CommandLine& uninstall_command, base 23 chrome/installer/util/chrome_browser_operations.h std::set<base::string16>* options) const OVERRIDE; base 26 chrome/installer/util/chrome_browser_operations.h const std::set<base::string16>& options, base 27 chrome/installer/util/chrome_browser_operations.h std::vector<base::FilePath>* key_files) const OVERRIDE; base 30 chrome/installer/util/chrome_browser_operations.h const std::set<base::string16>& options, base 31 chrome/installer/util/chrome_browser_operations.h std::vector<base::FilePath>* com_dll_list) const OVERRIDE; base 33 chrome/installer/util/chrome_browser_operations.h virtual void AppendProductFlags(const std::set<base::string16>& options, base 34 chrome/installer/util/chrome_browser_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 36 chrome/installer/util/chrome_browser_operations.h virtual void AppendRenameFlags(const std::set<base::string16>& options, base 37 chrome/installer/util/chrome_browser_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 39 chrome/installer/util/chrome_browser_operations.h virtual bool SetChannelFlags(const std::set<base::string16>& options, base 44 chrome/installer/util/chrome_browser_operations.h const std::set<base::string16>& options) const OVERRIDE; base 48 chrome/installer/util/chrome_browser_operations.h const base::FilePath& target_exe, base 51 chrome/installer/util/chrome_browser_operations.h virtual void LaunchUserExperiment(const base::FilePath& setup_path, base 52 chrome/installer/util/chrome_browser_operations.h const std::set<base::string16>& options, base 14 chrome/installer/util/chrome_browser_sxs_operations.cc const std::set<base::string16>& options, base 23 chrome/installer/util/chrome_browser_sxs_operations.cc const std::set<base::string16>& options, base 19 chrome/installer/util/chrome_browser_sxs_operations.h virtual void AppendProductFlags(const std::set<base::string16>& options, base 20 chrome/installer/util/chrome_browser_sxs_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 22 chrome/installer/util/chrome_browser_sxs_operations.h virtual void AppendRenameFlags(const std::set<base::string16>& options, base 23 chrome/installer/util/chrome_browser_sxs_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 31 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetAppGuid() { base 35 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetBaseAppName() { base 39 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetBrowserProgIdPrefix() { base 41 chrome/installer/util/chrome_frame_distribution.cc return base::string16(); base 44 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetBrowserProgIdDesc() { base 46 chrome/installer/util/chrome_frame_distribution.cc return base::string16(); base 49 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetDisplayName() { base 57 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetShortcutName( base 60 chrome/installer/util/chrome_frame_distribution.cc return base::string16(); base 63 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetInstallSubDir() { base 67 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetPublisherName() { base 68 chrome/installer/util/chrome_frame_distribution.cc const base::string16& publisher_name = base 73 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetAppDescription() { base 77 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetLongAppDescription() { base 85 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetStateKey() { base 86 chrome/installer/util/chrome_frame_distribution.cc base::string16 key(google_update::kRegPathClientState); base 92 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetStateMediumKey() { base 93 chrome/installer/util/chrome_frame_distribution.cc base::string16 key(google_update::kRegPathClientStateMedium); base 107 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetUninstallLinkName() { base 111 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetUninstallRegPath() { base 116 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetVersionKey() { base 117 chrome/installer/util/chrome_frame_distribution.cc base::string16 key(google_update::kRegPathClients); base 123 chrome/installer/util/chrome_frame_distribution.cc base::string16 ChromeFrameDistribution::GetIconFilename() { base 147 chrome/installer/util/chrome_frame_distribution.cc base::string16* handler_class_uuid) { base 16 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetAppGuid() OVERRIDE; base 18 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE; base 20 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetBrowserProgIdDesc() OVERRIDE; base 22 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetDisplayName() OVERRIDE; base 24 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; base 28 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetBaseAppName() OVERRIDE; base 30 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetInstallSubDir() OVERRIDE; base 32 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetPublisherName() OVERRIDE; base 34 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetAppDescription() OVERRIDE; base 36 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetLongAppDescription() OVERRIDE; base 40 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetStateKey() OVERRIDE; base 42 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetStateMediumKey() OVERRIDE; base 48 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetUninstallLinkName() OVERRIDE; base 50 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetUninstallRegPath() OVERRIDE; base 52 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetVersionKey() OVERRIDE; base 54 chrome/installer/util/chrome_frame_distribution.h virtual base::string16 GetIconFilename() OVERRIDE; base 61 chrome/installer/util/chrome_frame_distribution.h base::string16* handler_class_uuid) OVERRIDE; base 19 chrome/installer/util/chrome_frame_operations.cc std::set<base::string16>* options) base 40 chrome/installer/util/chrome_frame_operations.cc std::set<base::string16>* options) base 59 chrome/installer/util/chrome_frame_operations.cc const std::set<base::string16>& options, base 60 chrome/installer/util/chrome_frame_operations.cc std::vector<base::FilePath>* key_files) const { base 62 chrome/installer/util/chrome_frame_operations.cc key_files->push_back(base::FilePath(installer::kChromeFrameDll)); base 63 chrome/installer/util/chrome_frame_operations.cc key_files->push_back(base::FilePath(installer::kChromeFrameHelperExe)); base 67 chrome/installer/util/chrome_frame_operations.cc const std::set<base::string16>& options, base 68 chrome/installer/util/chrome_frame_operations.cc std::vector<base::FilePath>* com_dll_list) const { base 70 chrome/installer/util/chrome_frame_operations.cc com_dll_list->push_back(base::FilePath(installer::kChromeFrameDll)); base 74 chrome/installer/util/chrome_frame_operations.cc const std::set<base::string16>& options, base 88 chrome/installer/util/chrome_frame_operations.cc const std::set<base::string16>& options, base 103 chrome/installer/util/chrome_frame_operations.cc const std::set<base::string16>& options, base 120 chrome/installer/util/chrome_frame_operations.cc const std::set<base::string16>& options) const { base 126 chrome/installer/util/chrome_frame_operations.cc const base::FilePath& target_exe, base 132 chrome/installer/util/chrome_frame_operations.cc const base::FilePath& setup_path, base 133 chrome/installer/util/chrome_frame_operations.cc const std::set<base::string16>& options, base 20 chrome/installer/util/chrome_frame_operations.h std::set<base::string16>* options) const OVERRIDE; base 22 chrome/installer/util/chrome_frame_operations.h virtual void ReadOptions(const base::CommandLine& uninstall_command, base 23 chrome/installer/util/chrome_frame_operations.h std::set<base::string16>* options) const OVERRIDE; base 26 chrome/installer/util/chrome_frame_operations.h const std::set<base::string16>& options, base 27 chrome/installer/util/chrome_frame_operations.h std::vector<base::FilePath>* key_files) const OVERRIDE; base 30 chrome/installer/util/chrome_frame_operations.h const std::set<base::string16>& options, base 31 chrome/installer/util/chrome_frame_operations.h std::vector<base::FilePath>* com_dll_list) const OVERRIDE; base 33 chrome/installer/util/chrome_frame_operations.h virtual void AppendProductFlags(const std::set<base::string16>& options, base 34 chrome/installer/util/chrome_frame_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 36 chrome/installer/util/chrome_frame_operations.h virtual void AppendRenameFlags(const std::set<base::string16>& options, base 37 chrome/installer/util/chrome_frame_operations.h base::CommandLine* cmd_line) const OVERRIDE; base 39 chrome/installer/util/chrome_frame_operations.h virtual bool SetChannelFlags(const std::set<base::string16>& options, base 44 chrome/installer/util/chrome_frame_operations.h const std::set<base::string16>& options) const OVERRIDE; base 48 chrome/installer/util/chrome_frame_operations.h const base::FilePath& target_exe, base 51 chrome/installer/util/chrome_frame_operations.h virtual void LaunchUserExperiment(const base::FilePath& setup_path, base 52 chrome/installer/util/chrome_frame_operations.h const std::set<base::string16>& options, base 23 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetAppGuid() { base 24 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 27 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetBaseAppName() { base 29 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 32 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetBrowserProgIdPrefix() { base 34 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 37 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetBrowserProgIdDesc() { base 39 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 42 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetDisplayName() { base 46 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetShortcutName( base 49 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 52 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetBaseAppId() { base 54 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 57 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetInstallSubDir() { base 61 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetPublisherName() { base 63 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 66 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetAppDescription() { base 68 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 71 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetLongAppDescription() { base 73 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 81 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetStateKey() { base 82 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(L"Software\\").append(kChromiumBinariesName); base 85 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetStateMediumKey() { base 86 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(L"Software\\").append(kChromiumBinariesName); base 89 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetUninstallLinkName() { base 91 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 94 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetUninstallRegPath() { base 96 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(); base 99 chrome/installer/util/chromium_binaries_distribution.cc base::string16 ChromiumBinariesDistribution::GetVersionKey() { base 100 chrome/installer/util/chromium_binaries_distribution.cc return base::string16(L"Software\\").append(kChromiumBinariesName); base 113 chrome/installer/util/chromium_binaries_distribution.cc bool ChromiumBinariesDistribution::GetChromeChannel(base::string16* channel) { base 119 chrome/installer/util/chromium_binaries_distribution.cc base::string16* handler_class_uuid) { base 16 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetAppGuid() OVERRIDE; base 18 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE; base 20 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetBrowserProgIdDesc() OVERRIDE; base 22 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetDisplayName() OVERRIDE; base 24 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; base 28 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetBaseAppName() OVERRIDE; base 30 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetBaseAppId() OVERRIDE; base 32 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetInstallSubDir() OVERRIDE; base 34 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetPublisherName() OVERRIDE; base 36 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetAppDescription() OVERRIDE; base 38 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetLongAppDescription() OVERRIDE; base 42 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetStateKey() OVERRIDE; base 44 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetStateMediumKey() OVERRIDE; base 46 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetUninstallLinkName() OVERRIDE; base 48 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetUninstallRegPath() OVERRIDE; base 50 chrome/installer/util/chromium_binaries_distribution.h virtual base::string16 GetVersionKey() OVERRIDE; base 54 chrome/installer/util/chromium_binaries_distribution.h virtual bool GetChromeChannel(base::string16* channel) OVERRIDE; base 57 chrome/installer/util/chromium_binaries_distribution.h base::string16* handler_class_uuid) OVERRIDE; base 18 chrome/installer/util/compat_checks.cc base::win::RegKey key(HKEY_LOCAL_MACHINE, kProductKey, KEY_READ); base 29 chrome/installer/util/compat_checks.cc base::SplitString(version, L'.', &v); base 32 chrome/installer/util/compat_checks.cc if (!base::StringToInt(v[0], v0)) base 34 chrome/installer/util/compat_checks.cc if (!base::StringToInt(v[1], v1)) base 36 chrome/installer/util/compat_checks.cc if (!base::StringToInt(v[2], v2)) base 35 chrome/installer/util/conditional_work_item_list.cc return base::PathExists(key_path_); base 39 chrome/installer/util/conditional_work_item_list.h explicit ConditionRunIfFileExists(const base::FilePath& key_path) base 44 chrome/installer/util/conditional_work_item_list.h base::FilePath key_path_; base 15 chrome/installer/util/copy_reg_key_work_item.cc using base::win::RegKey; base 16 chrome/installer/util/copy_reg_key_work_item_unittest.cc using base::win::RegKey; base 16 chrome/installer/util/copy_tree_work_item.cc CopyTreeWorkItem::CopyTreeWorkItem(const base::FilePath& source_path, base 17 chrome/installer/util/copy_tree_work_item.cc const base::FilePath& dest_path, base 18 chrome/installer/util/copy_tree_work_item.cc const base::FilePath& temp_dir, base 20 chrome/installer/util/copy_tree_work_item.cc const base::FilePath& alternative_path) base 32 chrome/installer/util/copy_tree_work_item.cc if (!base::PathExists(source_path_)) { base 37 chrome/installer/util/copy_tree_work_item.cc bool dest_exist = base::PathExists(dest_path_); base 41 chrome/installer/util/copy_tree_work_item.cc (!base::DirectoryExists(source_path_)) && base 42 chrome/installer/util/copy_tree_work_item.cc (!base::DirectoryExists(dest_path_)) && base 43 chrome/installer/util/copy_tree_work_item.cc (base::ContentsEqual(source_path_, dest_path_))) { base 50 chrome/installer/util/copy_tree_work_item.cc (!base::DirectoryExists(source_path_)) && base 51 chrome/installer/util/copy_tree_work_item.cc (!base::DirectoryExists(dest_path_)) && base 55 chrome/installer/util/copy_tree_work_item.cc base::PathExists(alternative_path_) || base 56 chrome/installer/util/copy_tree_work_item.cc !base::CopyFile(source_path_, alternative_path_)) { base 80 chrome/installer/util/copy_tree_work_item.cc base::FilePath backup = backup_path_.path().Append(dest_path_.BaseName()); base 81 chrome/installer/util/copy_tree_work_item.cc if (base::Move(dest_path_, backup)) { base 93 chrome/installer/util/copy_tree_work_item.cc if (base::CopyDirectory(source_path_, dest_path_, true)) { base 112 chrome/installer/util/copy_tree_work_item.cc if (copied_to_dest_path_ && !base::DeleteFile(dest_path_, true)) { base 116 chrome/installer/util/copy_tree_work_item.cc base::FilePath backup(backup_path_.path().Append(dest_path_.BaseName())); base 117 chrome/installer/util/copy_tree_work_item.cc if (!base::Move(backup, dest_path_)) { base 123 chrome/installer/util/copy_tree_work_item.cc !base::DeleteFile(alternative_path_, true)) { base 128 chrome/installer/util/copy_tree_work_item.cc bool CopyTreeWorkItem::IsFileInUse(const base::FilePath& path) { base 129 chrome/installer/util/copy_tree_work_item.cc if (!base::PathExists(path)) base 42 chrome/installer/util/copy_tree_work_item.h CopyTreeWorkItem(const base::FilePath& source_path, base 43 chrome/installer/util/copy_tree_work_item.h const base::FilePath& dest_path, base 44 chrome/installer/util/copy_tree_work_item.h const base::FilePath& temp_dir, base 46 chrome/installer/util/copy_tree_work_item.h const base::FilePath& alternative_path); base 49 chrome/installer/util/copy_tree_work_item.h bool IsFileInUse(const base::FilePath& path); base 52 chrome/installer/util/copy_tree_work_item.h base::FilePath source_path_; base 55 chrome/installer/util/copy_tree_work_item.h base::FilePath dest_path_; base 58 chrome/installer/util/copy_tree_work_item.h base::FilePath temp_dir_; base 66 chrome/installer/util/copy_tree_work_item.h base::FilePath alternative_path_; base 80 chrome/installer/util/copy_tree_work_item.h base::ScopedTempDir backup_path_; base 34 chrome/installer/util/copy_tree_work_item_unittest.cc base::ScopedTempDir test_dir_; base 35 chrome/installer/util/copy_tree_work_item_unittest.cc base::ScopedTempDir temp_dir_; base 48 chrome/installer/util/copy_tree_work_item_unittest.cc bool IsFileInUse(const base::FilePath& path) { base 49 chrome/installer/util/copy_tree_work_item_unittest.cc if (!base::PathExists(path)) base 79 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from(test_dir_.path()); base 82 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from)); base 85 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_to(test_dir_.path()); base 87 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_to); base 88 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_to)); base 90 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to(dir_name_to); base 99 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 103 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 104 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 105 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(file_name_from, file_name_to)); base 110 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(file_name_to)); base 111 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 119 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from(test_dir_.path()); base 122 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from)); base 125 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_to(test_dir_.path()); base 127 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_to); base 128 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_to)); base 130 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to(dir_name_to); base 133 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_to)); base 141 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 145 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 146 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 153 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 154 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 165 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 169 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 170 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 177 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 178 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 189 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from(test_dir_.path()); base 192 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from)); base 195 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_to(test_dir_.path()); base 197 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_to); base 198 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_to)); base 200 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to(dir_name_to); base 203 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_to)); base 211 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 216 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath backup_file(work_item->backup_path_.path()); base 220 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 221 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 226 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(backup_file)); base 232 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 233 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 237 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 245 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 249 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 250 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 255 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 260 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 261 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 264 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 270 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from(test_dir_.path()); base 273 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from)); base 276 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_to(test_dir_.path()); base 278 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_to); base 279 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_to)); base 281 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to(dir_name_to); base 284 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_to)); base 286 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath backup_file; base 295 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 304 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 305 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 309 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(backup_file)); base 314 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 322 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from(test_dir_.path()); base 325 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from)); base 330 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath exe_full_path(exe_full_path_str); base 332 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_to(test_dir_.path()); base 334 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_to); base 335 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_to)); base 337 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to(dir_name_to); base 339 chrome/installer/util/copy_tree_work_item_unittest.cc base::CopyFile(exe_full_path, file_name_to); base 340 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_to)); base 359 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 364 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath backup_file(work_item->backup_path_.path()); base 368 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 369 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 373 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(backup_file)); base 374 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, backup_file)); base 379 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 380 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 382 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, file_name_to)); base 384 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 401 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from(test_dir_.path()); base 404 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from)); base 409 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath exe_full_path(exe_full_path_str); base 411 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_to(test_dir_.path()); base 413 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_to); base 414 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_to)); base 416 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to(dir_name_to), alternate_to(dir_name_to); base 419 chrome/installer/util/copy_tree_work_item_unittest.cc base::CopyFile(exe_full_path, file_name_to); base 420 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_to)); base 443 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 444 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 446 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, file_name_to)); base 449 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(file_name_from, alternate_to)); base 454 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 455 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 457 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, file_name_to)); base 460 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(alternate_to)); base 474 chrome/installer/util/copy_tree_work_item_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(2)); base 480 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath backup_file(work_item->backup_path_.path()); base 484 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 485 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 487 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(file_name_from, file_name_to)); base 489 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(backup_file)); base 490 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(alternate_to)); base 495 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 496 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 498 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, file_name_to)); base 500 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 501 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(alternate_to)); base 512 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from(test_dir_.path()); base 515 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from)); base 520 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath exe_full_path(exe_full_path_str); base 522 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_to(test_dir_.path()); base 524 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_to); base 525 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_to)); base 526 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to(dir_name_to); base 528 chrome/installer/util/copy_tree_work_item_unittest.cc base::CopyFile(exe_full_path, file_name_to); base 529 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_to)); base 532 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath backup_file(temp_dir_.path()); base 541 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 546 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 547 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 549 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, file_name_to)); base 550 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 557 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 558 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 560 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, file_name_to)); base 561 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 564 chrome/installer/util/copy_tree_work_item_unittest.cc base::DeleteFile(file_name_to, true); base 568 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 573 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 574 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 577 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 583 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 584 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(file_name_to)); base 586 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(backup_file)); base 594 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from(test_dir_.path()); base 597 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from)); base 602 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath exe_full_path(exe_full_path_str); base 604 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_to(test_dir_.path()); base 606 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_to); base 607 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_to)); base 609 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to(dir_name_to); base 611 chrome/installer/util/copy_tree_work_item_unittest.cc base::CopyFile(exe_full_path, file_name_to); base 612 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_to)); base 625 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath backup_file; base 634 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 643 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_from)); base 644 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to)); base 648 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(backup_file)); base 649 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, backup_file)); base 653 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(backup_file)); base 654 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, backup_file)); base 667 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_from(test_dir_.path()); base 669 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_from); base 670 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_from)); base 672 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_from_1(dir_name_from); base 674 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_from_1); base 675 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_from_1)); base 677 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_from_2(dir_name_from); base 679 chrome/installer/util/copy_tree_work_item_unittest.cc base::CreateDirectory(dir_name_from_2); base 680 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_from_2)); base 682 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from_1(dir_name_from_1); base 685 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from_1)); base 687 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_from_2(dir_name_from_2); base 690 chrome/installer/util/copy_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_from_2)); base 692 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath dir_name_to(test_dir_.path()); base 702 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath())); base 707 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to_1(dir_name_to); base 710 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to_1)); base 713 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(file_name_from_1, file_name_to_1)); base 715 chrome/installer/util/copy_tree_work_item_unittest.cc base::FilePath file_name_to_2(dir_name_to); base 718 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_to_2)); base 721 chrome/installer/util/copy_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(file_name_from_2, file_name_to_2)); base 13 chrome/installer/util/create_dir_work_item.cc CreateDirWorkItem::CreateDirWorkItem(const base::FilePath& path) base 19 chrome/installer/util/create_dir_work_item.cc if (base::PathExists(path_)) { base 20 chrome/installer/util/create_dir_work_item.cc top_path_ = base::FilePath(); base 24 chrome/installer/util/create_dir_work_item.cc base::FilePath parent_dir(path_); base 28 chrome/installer/util/create_dir_work_item.cc } while ((parent_dir != top_path_) && !base::PathExists(parent_dir)); base 39 chrome/installer/util/create_dir_work_item.cc bool result = base::CreateDirectory(path_); base 56 chrome/installer/util/create_dir_work_item.cc base::FilePath path_to_delete(path_); base 59 chrome/installer/util/create_dir_work_item.cc if (base::PathExists(path_to_delete)) { base 30 chrome/installer/util/create_dir_work_item.h explicit CreateDirWorkItem(const base::FilePath& path); base 38 chrome/installer/util/create_dir_work_item.h base::FilePath path_; base 41 chrome/installer/util/create_dir_work_item.h base::FilePath top_path_; base 24 chrome/installer/util/create_dir_work_item_unittest.cc base::ScopedTempDir temp_dir_; base 29 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath parent_dir(temp_dir_.path()); base 31 chrome/installer/util/create_dir_work_item_unittest.cc base::CreateDirectory(parent_dir); base 32 chrome/installer/util/create_dir_work_item_unittest.cc ASSERT_TRUE(base::PathExists(parent_dir)); base 34 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath top_dir_to_create(parent_dir); base 37 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath dir_to_create(top_dir_to_create); base 46 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create)); base 51 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_FALSE(base::PathExists(top_dir_to_create)); base 52 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_TRUE(base::PathExists(parent_dir)); base 56 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath dir_to_create(temp_dir_.path()); base 58 chrome/installer/util/create_dir_work_item_unittest.cc base::CreateDirectory(dir_to_create); base 59 chrome/installer/util/create_dir_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_to_create)); base 66 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create)); base 72 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create)); base 76 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath dir_to_create_1(temp_dir_.path()); base 79 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath dir_to_create_2(dir_to_create_1); base 82 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath dir_to_create_3(dir_to_create_2); base 90 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create_3)); base 93 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath dir_to_create_4(dir_to_create_2); base 95 chrome/installer/util/create_dir_work_item_unittest.cc base::CreateDirectory(dir_to_create_4); base 96 chrome/installer/util/create_dir_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_to_create_4)); base 101 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_FALSE(base::PathExists(dir_to_create_3)); base 104 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create_2)); base 105 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create_4)); base 109 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath dir_to_create_1(temp_dir_.path()); base 112 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath dir_to_create_2(dir_to_create_1); base 115 chrome/installer/util/create_dir_work_item_unittest.cc base::FilePath dir_to_create_3(dir_to_create_2); base 123 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create_3)); base 126 chrome/installer/util/create_dir_work_item_unittest.cc ASSERT_FALSE(base::PathExists(dir_to_create_3)); base 132 chrome/installer/util/create_dir_work_item_unittest.cc EXPECT_FALSE(base::PathExists(dir_to_create_1)); base 14 chrome/installer/util/create_reg_key_work_item.cc using base::win::RegKey; base 20 chrome/installer/util/create_reg_key_work_item.cc base::FilePath path = base::FilePath(*dir); base 21 chrome/installer/util/create_reg_key_work_item.cc base::FilePath directory = path.DirName(); base 25 chrome/installer/util/create_reg_key_work_item.cc base::FilePath::kCurrentDirectory) base 15 chrome/installer/util/create_reg_key_work_item_unittest.cc using base::win::RegKey; base 44 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath parent_key(test_root); base 49 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath top_key_to_create(parent_key); base 52 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create(top_key_to_create); base 77 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create(test_root); base 101 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create_1(test_root); base 104 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create_2(key_to_create_1); base 107 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create_3(key_to_create_2); base 120 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create_4(key_to_create_2); base 140 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create_1(test_root); base 143 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create_2(key_to_create_1); base 146 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create_3(key_to_create_2); base 176 chrome/installer/util/create_reg_key_work_item_unittest.cc base::FilePath key_to_create(test_root); base 33 chrome/installer/util/delete_after_reboot_helper.cc bool IsSafeDirectoryNameForDeletion(const base::FilePath& dir_name) { base 56 chrome/installer/util/delete_after_reboot_helper.cc bool ScheduleFileSystemEntityForDeletion(const base::FilePath& path) { base 66 chrome/installer/util/delete_after_reboot_helper.cc if (!base::DirectoryExists(path)) { base 96 chrome/installer/util/delete_after_reboot_helper.cc bool ScheduleDirectoryForDeletion(const base::FilePath& dir_name) { base 122 chrome/installer/util/delete_after_reboot_helper.cc base::FileEnumerator file_enum(dir_name, false, base 123 chrome/installer/util/delete_after_reboot_helper.cc base::FileEnumerator::FILES); base 124 chrome/installer/util/delete_after_reboot_helper.cc for (base::FilePath file = file_enum.Next(); !file.empty(); base 137 chrome/installer/util/delete_after_reboot_helper.cc base::FileEnumerator dir_enum(dir_name, false, base 138 chrome/installer/util/delete_after_reboot_helper.cc base::FileEnumerator::DIRECTORIES); base 139 chrome/installer/util/delete_after_reboot_helper.cc for (base::FilePath sub_dir = dir_enum.Next(); !sub_dir.empty(); base 247 chrome/installer/util/delete_after_reboot_helper.cc base::FilePath GetShortPathName(const base::FilePath& path) { base 263 chrome/installer/util/delete_after_reboot_helper.cc return base::FilePath(short_path); base 272 chrome/installer/util/delete_after_reboot_helper.cc base::win::RegKey session_manager_key(HKEY_LOCAL_MACHINE, kSessionManagerKey, base 326 chrome/installer/util/delete_after_reboot_helper.cc bool MatchPendingDeletePath(const base::FilePath& short_form_needle, base 327 chrome/installer/util/delete_after_reboot_helper.cc const base::FilePath& reg_path) { base 337 chrome/installer/util/delete_after_reboot_helper.cc base::FilePath short_match_path(GetShortPathName(base::FilePath(match_path))); base 346 chrome/installer/util/delete_after_reboot_helper.cc bool RemoveFromMovesPendingReboot(const base::FilePath& directory) { base 359 chrome/installer/util/delete_after_reboot_helper.cc base::FilePath short_directory(GetShortPathName(directory)); base 364 chrome/installer/util/delete_after_reboot_helper.cc base::FilePath move_path(iter->first); base 378 chrome/installer/util/delete_after_reboot_helper.cc base::win::RegKey session_manager_key(HKEY_LOCAL_MACHINE, kSessionManagerKey, base 16 chrome/installer/util/delete_after_reboot_helper.h namespace base { base 27 chrome/installer/util/delete_after_reboot_helper.h bool ScheduleFileSystemEntityForDeletion(const base::FilePath& path); base 30 chrome/installer/util/delete_after_reboot_helper.h bool ScheduleDirectoryForDeletion(const base::FilePath& dir_name); base 34 chrome/installer/util/delete_after_reboot_helper.h bool RemoveFromMovesPendingReboot(const base::FilePath& directory); base 46 chrome/installer/util/delete_after_reboot_helper.h bool MatchPendingDeletePath(const base::FilePath& short_form_needle, base 47 chrome/installer/util/delete_after_reboot_helper.h const base::FilePath& reg_path); base 73 chrome/installer/util/delete_after_reboot_helper.h base::FilePath GetShortPathName(const base::FilePath& path); base 27 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::CreateNewTempDirectory(base::FilePath::StringType(), &temp_dir_); base 28 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::CreateTemporaryFileInDir(temp_dir_, &temp_file_); base 31 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::CreateDirectory(temp_subdir_); base 32 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::CreateTemporaryFileInDir(temp_subdir_, &temp_subdir_file_); base 41 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::DeleteFile(temp_dir_, true); base 45 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::win::RegKey session_manager_key( base 93 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath temp_dir_; base 94 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath temp_file_; base 95 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath temp_subdir_; base 96 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath temp_subdir_file_; base 156 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath short_temp_file(GetShortPathName(temp_file_)); base 161 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath move_path(iter->first); base 167 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath expected_paths[] = base 172 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath short_path_name(GetShortPathName(expected_paths[i])); base 173 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath move_path(iter->first); base 186 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath move_path(check_iter->first); base 210 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath short_temp_file(GetShortPathName(temp_file_)); base 215 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath move_path(iter->first); base 221 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath expected_paths[] = base 226 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath short_path_name(GetShortPathName(expected_paths[i])); base 227 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath move_path(iter->first); base 234 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::DeleteFile(temp_dir_, true); base 245 chrome/installer/util/delete_after_reboot_helper_unittest.cc base::FilePath move_path(check_iter->first); base 12 chrome/installer/util/delete_reg_key_work_item.cc using base::win::RegKey; base 15 chrome/installer/util/delete_reg_key_work_item_unittest.cc using base::win::RegKey; base 12 chrome/installer/util/delete_reg_value_work_item.cc using base::win::RegKey; base 15 chrome/installer/util/delete_reg_value_work_item_unittest.cc using base::win::RegKey; base 49 chrome/installer/util/delete_reg_value_work_item_unittest.cc parent_key.push_back(base::FilePath::kSeparators[0]); base 106 chrome/installer/util/delete_reg_value_work_item_unittest.cc parent_key.push_back(base::FilePath::kSeparators[0]); base 31 chrome/installer/util/delete_tree_work_item.cc const base::FilePath& root_path, base 32 chrome/installer/util/delete_tree_work_item.cc const base::FilePath& temp_path, base 33 chrome/installer/util/delete_tree_work_item.cc const std::vector<base::FilePath>& key_paths) base 40 chrome/installer/util/delete_tree_work_item.cc key_paths_.reset(new base::FilePath[num_key_files_]); base 41 chrome/installer/util/delete_tree_work_item.cc key_backup_paths_.reset(new base::ScopedTempDir[num_key_files_]); base 59 chrome/installer/util/delete_tree_work_item.cc base::FilePath& key_file = key_paths_[i]; base 60 chrome/installer/util/delete_tree_work_item.cc base::ScopedTempDir& backup = key_backup_paths_[i]; base 65 chrome/installer/util/delete_tree_work_item.cc } else if (!base::CopyFile(key_file, base 93 chrome/installer/util/delete_tree_work_item.cc base::FilePath& key_file = key_paths_[i]; base 94 chrome/installer/util/delete_tree_work_item.cc if (!base::DeleteFile(key_file, true)) { base 111 chrome/installer/util/delete_tree_work_item.cc if (!root_path_.empty() && base::PathExists(root_path_)) { base 118 chrome/installer/util/delete_tree_work_item.cc base::FilePath backup = base 120 chrome/installer/util/delete_tree_work_item.cc if (!base::CopyDirectory(root_path_, backup, true)) { base 129 chrome/installer/util/delete_tree_work_item.cc if (!base::DeleteFile(root_path_, true)) { base 145 chrome/installer/util/delete_tree_work_item.cc base::FilePath backup = backup_path_.path().Append(root_path_.BaseName()); base 146 chrome/installer/util/delete_tree_work_item.cc if (base::PathExists(backup)) base 147 chrome/installer/util/delete_tree_work_item.cc base::Move(backup, root_path_); base 151 chrome/installer/util/delete_tree_work_item.cc base::ScopedTempDir& backup_dir = key_backup_paths_[i]; base 153 chrome/installer/util/delete_tree_work_item.cc base::FilePath& key_file = key_paths_[i]; base 154 chrome/installer/util/delete_tree_work_item.cc base::FilePath backup_file = base 156 chrome/installer/util/delete_tree_work_item.cc if (base::PathExists(backup_file) && base 157 chrome/installer/util/delete_tree_work_item.cc !base::Move(backup_file, key_file)) { base 31 chrome/installer/util/delete_tree_work_item.h DeleteTreeWorkItem(const base::FilePath& root_path, base 32 chrome/installer/util/delete_tree_work_item.h const base::FilePath& temp_path, base 33 chrome/installer/util/delete_tree_work_item.h const std::vector<base::FilePath>& key_paths); base 36 chrome/installer/util/delete_tree_work_item.h base::FilePath root_path_; base 39 chrome/installer/util/delete_tree_work_item.h base::FilePath temp_path_; base 46 chrome/installer/util/delete_tree_work_item.h scoped_ptr<base::FilePath[]> key_paths_; base 51 chrome/installer/util/delete_tree_work_item.h scoped_ptr<base::ScopedTempDir[]> key_backup_paths_; base 54 chrome/installer/util/delete_tree_work_item.h base::ScopedTempDir backup_path_; base 28 chrome/installer/util/delete_tree_work_item_unittest.cc base::ScopedTempDir temp_dir_; base 48 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath dir_name_delete(temp_dir_.path()); base 50 chrome/installer/util/delete_tree_work_item_unittest.cc base::CreateDirectory(dir_name_delete); base 51 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_delete)); base 53 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath dir_name_delete_1(dir_name_delete); base 55 chrome/installer/util/delete_tree_work_item_unittest.cc base::CreateDirectory(dir_name_delete_1); base 56 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_delete_1)); base 58 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath dir_name_delete_2(dir_name_delete); base 60 chrome/installer/util/delete_tree_work_item_unittest.cc base::CreateDirectory(dir_name_delete_2); base 61 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_delete_2)); base 63 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath file_name_delete_1(dir_name_delete_1); base 66 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_delete_1)); base 68 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath file_name_delete_2(dir_name_delete_2); base 71 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_delete_2)); base 74 chrome/installer/util/delete_tree_work_item_unittest.cc base::ScopedTempDir temp_dir; base 77 chrome/installer/util/delete_tree_work_item_unittest.cc std::vector<base::FilePath> key_files; base 84 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(file_name_delete_1)); base 85 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(file_name_delete_2)); base 86 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(dir_name_delete)); base 90 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_delete_1)); base 91 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_delete_2)); base 92 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(dir_name_delete)); base 100 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath dir_name_delete(temp_dir_.path()); base 102 chrome/installer/util/delete_tree_work_item_unittest.cc base::CreateDirectory(dir_name_delete); base 103 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_delete)); base 105 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath dir_name_delete_1(dir_name_delete); base 107 chrome/installer/util/delete_tree_work_item_unittest.cc base::CreateDirectory(dir_name_delete_1); base 108 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_delete_1)); base 110 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath dir_name_delete_2(dir_name_delete); base 112 chrome/installer/util/delete_tree_work_item_unittest.cc base::CreateDirectory(dir_name_delete_2); base 113 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_delete_2)); base 115 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath file_name_delete_1(dir_name_delete_1); base 118 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_delete_1)); base 120 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath file_name_delete_2(dir_name_delete_2); base 123 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_delete_2)); base 126 chrome/installer/util/delete_tree_work_item_unittest.cc base::ScopedTempDir temp_dir; base 129 chrome/installer/util/delete_tree_work_item_unittest.cc std::vector<base::FilePath> key_files(1, file_name_delete_1); base 136 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(file_name_delete_1)); base 137 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(file_name_delete_2)); base 138 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(dir_name_delete)); base 142 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_delete_1)); base 143 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_delete_2)); base 144 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(dir_name_delete)); base 150 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath dir_name_delete(temp_dir_.path()); base 152 chrome/installer/util/delete_tree_work_item_unittest.cc base::CreateDirectory(dir_name_delete); base 153 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_delete)); base 155 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath dir_name_delete_1(dir_name_delete); base 157 chrome/installer/util/delete_tree_work_item_unittest.cc base::CreateDirectory(dir_name_delete_1); base 158 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_delete_1)); base 160 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath dir_name_delete_2(dir_name_delete); base 162 chrome/installer/util/delete_tree_work_item_unittest.cc base::CreateDirectory(dir_name_delete_2); base 163 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(dir_name_delete_2)); base 165 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath file_name_delete_1(dir_name_delete_1); base 168 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_delete_1)); base 170 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath file_name_delete_2(dir_name_delete_2); base 173 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(file_name_delete_2)); base 176 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath key_path(dir_name_delete); base 181 chrome/installer/util/delete_tree_work_item_unittest.cc base::FilePath exe_full_path(exe_full_path_str); base 183 chrome/installer/util/delete_tree_work_item_unittest.cc base::CopyFile(exe_full_path, key_path); base 184 chrome/installer/util/delete_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(key_path)); base 199 chrome/installer/util/delete_tree_work_item_unittest.cc base::ScopedTempDir temp_dir; base 202 chrome/installer/util/delete_tree_work_item_unittest.cc std::vector<base::FilePath> key_paths(1, key_path); base 212 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(key_path)); base 213 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_delete_1)); base 214 chrome/installer/util/delete_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(file_name_delete_2)); base 14 chrome/installer/util/duplicate_tree_detector.cc bool IsIdenticalFileHierarchy(const base::FilePath& src_path, base 15 chrome/installer/util/duplicate_tree_detector.cc const base::FilePath& dest_path) { base 16 chrome/installer/util/duplicate_tree_detector.cc base::File::Info src_info; base 17 chrome/installer/util/duplicate_tree_detector.cc base::File::Info dest_info; base 20 chrome/installer/util/duplicate_tree_detector.cc if (base::GetFileInfo(src_path, &src_info) && base 21 chrome/installer/util/duplicate_tree_detector.cc base::GetFileInfo(dest_path, &dest_info)) { base 38 chrome/installer/util/duplicate_tree_detector.cc base::FileEnumerator path_enum(src_path, false /* not recursive */, base 39 chrome/installer/util/duplicate_tree_detector.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); base 40 chrome/installer/util/duplicate_tree_detector.cc for (base::FilePath path = path_enum.Next(); base 12 chrome/installer/util/duplicate_tree_detector.h namespace base { base 24 chrome/installer/util/duplicate_tree_detector.h bool IsIdenticalFileHierarchy(const base::FilePath& src_path, base 25 chrome/installer/util/duplicate_tree_detector.h const base::FilePath& dest_path); base 28 chrome/installer/util/duplicate_tree_detector_unittest.cc const base::string16& contents) { base 38 chrome/installer/util/duplicate_tree_detector_unittest.cc void CreateTwoIdenticalHierarchies(const base::FilePath& first_root, base 39 chrome/installer/util/duplicate_tree_detector_unittest.cc const base::FilePath& second_root) { base 40 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath d1(first_root); base 42 chrome/installer/util/duplicate_tree_detector_unittest.cc base::CreateDirectory(d1); base 43 chrome/installer/util/duplicate_tree_detector_unittest.cc ASSERT_TRUE(base::PathExists(d1)); base 45 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath f1(d1); base 48 chrome/installer/util/duplicate_tree_detector_unittest.cc ASSERT_TRUE(base::PathExists(f1)); base 50 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath d2(d1); base 52 chrome/installer/util/duplicate_tree_detector_unittest.cc base::CreateDirectory(d2); base 53 chrome/installer/util/duplicate_tree_detector_unittest.cc ASSERT_TRUE(base::PathExists(d2)); base 55 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath f2(d2); base 58 chrome/installer/util/duplicate_tree_detector_unittest.cc ASSERT_TRUE(base::PathExists(f2)); base 63 chrome/installer/util/duplicate_tree_detector_unittest.cc base::ScopedTempDir temp_source_dir_; base 64 chrome/installer/util/duplicate_tree_detector_unittest.cc base::ScopedTempDir temp_dest_dir_; base 94 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath new_file(temp_source_dir_.path()); base 97 chrome/installer/util/duplicate_tree_detector_unittest.cc ASSERT_TRUE(base::PathExists(new_file)); base 108 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath new_file(temp_dest_dir_.path()); base 111 chrome/installer/util/duplicate_tree_detector_unittest.cc ASSERT_TRUE(base::PathExists(new_file)); base 121 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath existing_file(temp_dest_dir_.path()); base 140 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath source_file(temp_source_dir_.path()); base 145 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath dest_file(temp_dest_dir_.path()); base 150 chrome/installer/util/duplicate_tree_detector_unittest.cc base::FilePath other_file(temp_dest_dir_.path()); base 24 chrome/installer/util/eula_util.cc base::FilePath eula_sentinel; base 27 chrome/installer/util/eula_util.cc base::PathExists(eula_sentinel); base 32 chrome/installer/util/eula_util.cc base::FilePath master_prefs_path( base 25 chrome/installer/util/fake_installation_state.h base::FilePath setup_exe( base 25 chrome/installer/util/fake_product_state.h void SetUninstallProgram(const base::FilePath& setup_exe) { base 26 chrome/installer/util/fake_product_state.h uninstall_command_ = base::CommandLine(setup_exe); base 24 chrome/installer/util/google_chrome_binaries_distribution.cc base::string16 GoogleChromeBinariesDistribution::GetAppGuid() { base 28 chrome/installer/util/google_chrome_binaries_distribution.cc base::string16 GoogleChromeBinariesDistribution::GetDisplayName() { base 32 chrome/installer/util/google_chrome_binaries_distribution.cc base::string16 GoogleChromeBinariesDistribution::GetShortcutName( base 35 chrome/installer/util/google_chrome_binaries_distribution.cc return base::string16(); base 38 chrome/installer/util/google_chrome_binaries_distribution.cc base::string16 GoogleChromeBinariesDistribution::GetStateKey() { base 39 chrome/installer/util/google_chrome_binaries_distribution.cc return base::string16(google_update::kRegPathClientState) base 44 chrome/installer/util/google_chrome_binaries_distribution.cc base::string16 GoogleChromeBinariesDistribution::GetStateMediumKey() { base 45 chrome/installer/util/google_chrome_binaries_distribution.cc return base::string16(google_update::kRegPathClientStateMedium) base 50 chrome/installer/util/google_chrome_binaries_distribution.cc base::string16 GoogleChromeBinariesDistribution::GetVersionKey() { base 51 chrome/installer/util/google_chrome_binaries_distribution.cc return base::string16(google_update::kRegPathClients) base 14 chrome/installer/util/google_chrome_binaries_distribution.h virtual base::string16 GetAppGuid(); base 16 chrome/installer/util/google_chrome_binaries_distribution.h virtual base::string16 GetDisplayName(); base 18 chrome/installer/util/google_chrome_binaries_distribution.h virtual base::string16 GetShortcutName(ShortcutType shortcut_type); base 20 chrome/installer/util/google_chrome_binaries_distribution.h virtual base::string16 GetStateKey(); base 22 chrome/installer/util/google_chrome_binaries_distribution.h virtual base::string16 GetStateMediumKey(); base 24 chrome/installer/util/google_chrome_binaries_distribution.h virtual base::string16 GetVersionKey(); base 47 chrome/installer/util/google_chrome_distribution.cc base::string16 LocalizeUrl(const wchar_t* url) { base 48 chrome/installer/util/google_chrome_distribution.cc base::string16 language; base 54 chrome/installer/util/google_chrome_distribution.cc base::string16 GetUninstallSurveyUrl() { base 69 chrome/installer/util/google_chrome_distribution.cc const base::FilePath& local_data_path, base 70 chrome/installer/util/google_chrome_distribution.cc const base::string16& distribution_data) { base 78 chrome/installer/util/google_chrome_distribution.cc const base::string16 kVersionParam = L"crversion"; base 79 chrome/installer/util/google_chrome_distribution.cc const base::string16 kOSParam = L"os"; base 80 chrome/installer/util/google_chrome_distribution.cc base::win::OSInfo::VersionNumber version_number = base 81 chrome/installer/util/google_chrome_distribution.cc base::win::OSInfo::GetInstance()->version_number(); base 82 chrome/installer/util/google_chrome_distribution.cc base::string16 os_version = base::StringPrintf(L"%d.%d.%d", base 85 chrome/installer/util/google_chrome_distribution.cc base::FilePath iexplore; base 86 chrome/installer/util/google_chrome_distribution.cc if (!PathService::Get(base::DIR_PROGRAM_FILES, &iexplore)) base 92 chrome/installer/util/google_chrome_distribution.cc base::string16 command = iexplore.value() + L" " + GetUninstallSurveyUrl() + base 93 chrome/installer/util/google_chrome_distribution.cc L"&" + kVersionParam + L"=" + base::UTF8ToWide(version.GetString()) + base 96 chrome/installer/util/google_chrome_distribution.cc base::string16 uninstall_metrics; base 116 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetActiveSetupGuid() { base 120 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetAppGuid() { base 124 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetBaseAppName() { base 131 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetShortcutName( base 156 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetBaseAppId() { base 160 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetBrowserProgIdPrefix() { base 164 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetBrowserProgIdDesc() { base 168 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetInstallSubDir() { base 169 chrome/installer/util/google_chrome_distribution.cc base::string16 sub_dir(installer::kGoogleChromeInstallSubDir1); base 175 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetPublisherName() { base 176 chrome/installer/util/google_chrome_distribution.cc const base::string16& publisher_name = base 181 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetAppDescription() { base 182 chrome/installer/util/google_chrome_distribution.cc const base::string16& app_description = base 191 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetStateKey() { base 192 chrome/installer/util/google_chrome_distribution.cc base::string16 key(google_update::kRegPathClientState); base 198 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetStateMediumKey() { base 199 chrome/installer/util/google_chrome_distribution.cc base::string16 key(google_update::kRegPathClientStateMedium); base 213 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) { base 214 chrome/installer/util/google_chrome_distribution.cc base::string16 sub_key(google_update::kRegPathClientState); base 218 chrome/installer/util/google_chrome_distribution.cc base::win::RegKey client_state_key(root_key, sub_key.c_str(), KEY_READ); base 219 chrome/installer/util/google_chrome_distribution.cc base::string16 result; base 220 chrome/installer/util/google_chrome_distribution.cc base::string16 brand_value; base 229 chrome/installer/util/google_chrome_distribution.cc base::string16 client_value; base 238 chrome/installer/util/google_chrome_distribution.cc base::string16 ap_value; base 249 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetUninstallLinkName() { base 250 chrome/installer/util/google_chrome_distribution.cc const base::string16& link_name = base 255 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetUninstallRegPath() { base 260 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetVersionKey() { base 261 chrome/installer/util/google_chrome_distribution.cc base::string16 key(google_update::kRegPathClients); base 267 chrome/installer/util/google_chrome_distribution.cc base::string16 GoogleChromeDistribution::GetIconFilename() { base 272 chrome/installer/util/google_chrome_distribution.cc base::string16* handler_class_uuid) { base 15 chrome/installer/util/google_chrome_distribution.h namespace base { base 32 chrome/installer/util/google_chrome_distribution.h const base::FilePath& local_data_path, base 33 chrome/installer/util/google_chrome_distribution.h const base::string16& distribution_data) OVERRIDE; base 35 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetActiveSetupGuid() OVERRIDE; base 37 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetAppGuid() OVERRIDE; base 39 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; base 41 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetIconFilename() OVERRIDE; base 45 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetBaseAppName() OVERRIDE; base 47 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetBaseAppId() OVERRIDE; base 49 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE; base 51 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetBrowserProgIdDesc() OVERRIDE; base 53 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetInstallSubDir() OVERRIDE; base 55 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetPublisherName() OVERRIDE; base 57 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetAppDescription() OVERRIDE; base 61 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetStateKey() OVERRIDE; base 63 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetStateMediumKey() OVERRIDE; base 72 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetDistributionData(HKEY root_key) OVERRIDE; base 74 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetUninstallLinkName() OVERRIDE; base 76 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetUninstallRegPath() OVERRIDE; base 78 chrome/installer/util/google_chrome_distribution.h virtual base::string16 GetVersionKey() OVERRIDE; base 81 chrome/installer/util/google_chrome_distribution.h base::string16* handler_class_uuid) OVERRIDE; base 94 chrome/installer/util/google_chrome_distribution.h const base::string16& product_guid() { return product_guid_; } base 97 chrome/installer/util/google_chrome_distribution.h void set_product_guid(const base::string16& guid) { product_guid_ = guid; } base 106 chrome/installer/util/google_chrome_distribution.h base::string16 product_guid_; base 25 chrome/installer/util/google_chrome_distribution_dummy.cc const base::FilePath& local_data_path, base 26 chrome/installer/util/google_chrome_distribution_dummy.cc const base::string16& distribution_data) { base 29 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetActiveSetupGuid() { base 30 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 33 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetAppGuid() { base 34 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 37 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetBaseAppName() { base 38 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 41 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetShortcutName( base 43 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 50 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetBaseAppId() { base 51 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 54 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetBrowserProgIdPrefix() { base 55 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 58 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetBrowserProgIdDesc() { base 59 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 62 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetInstallSubDir() { base 63 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 66 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetPublisherName() { base 67 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 70 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetAppDescription() { base 71 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 78 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetStateKey() { base 79 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 82 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetStateMediumKey() { base 83 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 94 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) { base 95 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 98 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetUninstallLinkName() { base 99 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 102 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetUninstallRegPath() { base 103 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 106 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetVersionKey() { base 107 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 110 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16 GoogleChromeDistribution::GetIconFilename() { base 111 chrome/installer/util/google_chrome_distribution_dummy.cc return base::string16(); base 115 chrome/installer/util/google_chrome_distribution_dummy.cc base::string16* handler_class_uuid) { base 32 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16 GoogleChromeSxSDistribution::GetBaseAppName() { base 36 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16 GoogleChromeSxSDistribution::GetShortcutName( base 53 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16 GoogleChromeSxSDistribution::GetStartMenuShortcutSubfolder( base 65 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16 GoogleChromeSxSDistribution::GetBaseAppId() { base 69 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16 GoogleChromeSxSDistribution::GetBrowserProgIdPrefix() { base 73 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16 GoogleChromeSxSDistribution::GetBrowserProgIdDesc() { base 77 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16 GoogleChromeSxSDistribution::GetInstallSubDir() { base 82 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16 GoogleChromeSxSDistribution::GetUninstallRegPath() { base 100 chrome/installer/util/google_chrome_sxs_distribution.cc bool GoogleChromeSxSDistribution::GetChromeChannel(base::string16* channel) { base 106 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16* handler_class_uuid) { base 124 chrome/installer/util/google_chrome_sxs_distribution.cc base::string16 GoogleChromeSxSDistribution::ChannelName() { base 22 chrome/installer/util/google_chrome_sxs_distribution.h virtual base::string16 GetBaseAppName() OVERRIDE; base 23 chrome/installer/util/google_chrome_sxs_distribution.h virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; base 25 chrome/installer/util/google_chrome_sxs_distribution.h virtual base::string16 GetStartMenuShortcutSubfolder( base 27 chrome/installer/util/google_chrome_sxs_distribution.h virtual base::string16 GetBaseAppId() OVERRIDE; base 28 chrome/installer/util/google_chrome_sxs_distribution.h virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE; base 29 chrome/installer/util/google_chrome_sxs_distribution.h virtual base::string16 GetBrowserProgIdDesc() OVERRIDE; base 30 chrome/installer/util/google_chrome_sxs_distribution.h virtual base::string16 GetInstallSubDir() OVERRIDE; base 31 chrome/installer/util/google_chrome_sxs_distribution.h virtual base::string16 GetUninstallRegPath() OVERRIDE; base 33 chrome/installer/util/google_chrome_sxs_distribution.h virtual bool GetChromeChannel(base::string16* channel) OVERRIDE; base 35 chrome/installer/util/google_chrome_sxs_distribution.h base::string16* handler_class_uuid) OVERRIDE; base 40 chrome/installer/util/google_chrome_sxs_distribution.h static base::string16 ChannelName(); base 37 chrome/installer/util/google_update_experiment_util.cc base::string16 BuildExperimentDateString(const base::Time& current_time) { base 48 chrome/installer/util/google_update_experiment_util.cc base::Time::Exploded then = {}; base 53 chrome/installer/util/google_update_experiment_util.cc return base::UTF8ToUTF16( base 54 chrome/installer/util/google_update_experiment_util.cc base::StringPrintf("%s, %02d %s %d %02d:%02d:%02d GMT", base 10 chrome/installer/util/google_update_experiment_util.h namespace base { base 32 chrome/installer/util/google_update_experiment_util.h base::string16 BuildExperimentDateString(const base::Time& current_time); base 31 chrome/installer/util/google_update_settings.cc using base::win::RegKey; base 85 chrome/installer/util/google_update_settings.cc if (!base::win::GetUserSidString(&uniquename)) { base 147 chrome/installer/util/google_update_settings.cc base::string16* channel) { base 154 chrome/installer/util/google_update_settings.cc base::string16 reg_path = dist->GetStateKey(); base 201 chrome/installer/util/google_update_settings.cc base::FilePath module_dir; base 202 chrome/installer/util/google_update_settings.cc if (!PathService::Get(base::DIR_MODULE, &module_dir)) { base 293 chrome/installer/util/google_update_settings.cc *metrics_id = base::WideToUTF8(metrics_id_w); base 298 chrome/installer/util/google_update_settings.cc std::wstring metrics_id_w = base::UTF8ToWide(metrics_id); base 346 chrome/installer/util/google_update_settings.cc if (!base::StringToInt64(time_s, &time_i)) base 348 chrome/installer/util/google_update_settings.cc base::TimeDelta td = base 349 chrome/installer/util/google_update_settings.cc base::Time::NowFromSystemTime() - base::Time::FromInternalValue(time_i); base 354 chrome/installer/util/google_update_settings.cc int64 time = base::Time::NowFromSystemTime().ToInternalValue(); base 356 chrome/installer/util/google_update_settings.cc base::Int64ToString16(time)); base 420 chrome/installer/util/google_update_settings.cc base::string16* channel) { base 509 chrome/installer/util/google_update_settings.cc base::Int64ToString16(profiles_active), base 513 chrome/installer/util/google_update_settings.cc base::Int64ToString16(profiles_signedin), base 558 chrome/installer/util/google_update_settings.cc base::string16 app_update_override(kUpdateOverrideValuePrefix); base 581 chrome/installer/util/google_update_settings.cc const base::string16& app_guid) { base 601 chrome/installer/util/google_update_settings.cc const base::string16& app_guid) { base 615 chrome/installer/util/google_update_settings.cc base::string16 app_update_override(kUpdateOverrideValuePrefix); base 672 chrome/installer/util/google_update_settings.cc const base::string16 app_guid = base 685 chrome/installer/util/google_update_settings.cc base::string16 GoogleUpdateSettings::GetUninstallCommandLine( base 688 chrome/installer/util/google_update_settings.cc base::string16 cmd_line; base 701 chrome/installer/util/google_update_settings.cc base::string16 version; base 709 chrome/installer/util/google_update_settings.cc return Version(base::UTF16ToUTF8(version)); base 715 chrome/installer/util/google_update_settings.cc base::Time GoogleUpdateSettings::GetGoogleUpdateLastStartedAU( base 725 chrome/installer/util/google_update_settings.cc return base::Time::FromTimeT(last_start); base 729 chrome/installer/util/google_update_settings.cc return base::Time(); base 732 chrome/installer/util/google_update_settings.cc base::Time GoogleUpdateSettings::GetGoogleUpdateLastChecked( base 742 chrome/installer/util/google_update_settings.cc return base::Time::FromTimeT(last_check); base 746 chrome/installer/util/google_update_settings.cc return base::Time(); base 758 chrome/installer/util/google_update_settings.cc base::string16 clientstate_reg_path(google_update::kRegPathClientState); base 765 chrome/installer/util/google_update_settings.cc base::string16 version; base 772 chrome/installer/util/google_update_settings.cc data->version = base::UTF16ToASCII(version); base 773 chrome/installer/util/google_update_settings.cc data->last_success = base::Time::FromTimeT(dword_value); base 816 chrome/installer/util/google_update_settings.cc const base::string16& experiment_labels) { base 824 chrome/installer/util/google_update_settings.cc base::string16 client_state_path( base 842 chrome/installer/util/google_update_settings.cc base::string16* experiment_labels) { base 851 chrome/installer/util/google_update_settings.cc base::string16 client_state_path( base 52 chrome/installer/util/google_update_settings.h base::Time last_success; base 178 chrome/installer/util/google_update_settings.h base::string16* channel); base 243 chrome/installer/util/google_update_settings.h static bool AreAutoupdatesEnabled(const base::string16& app_guid); base 254 chrome/installer/util/google_update_settings.h static bool ReenableAutoupdatesForApp(const base::string16& app_guid); base 261 chrome/installer/util/google_update_settings.h static base::string16 GetUninstallCommandLine(bool system_install); base 268 chrome/installer/util/google_update_settings.h static base::Time GetGoogleUpdateLastStartedAU(bool system_install); base 273 chrome/installer/util/google_update_settings.h static base::Time GetGoogleUpdateLastChecked(bool system_install); base 298 chrome/installer/util/google_update_settings.h const base::string16& experiment_labels); base 307 chrome/installer/util/google_update_settings.h base::string16* experiment_labels); base 23 chrome/installer/util/google_update_settings_unittest.cc using base::win::RegKey; base 94 chrome/installer/util/google_update_settings_unittest.cc base::string16 ret_channel; base 120 chrome/installer/util/google_update_settings_unittest.cc EXPECT_EQ(base::string16(), value); base 129 chrome/installer/util/google_update_settings_unittest.cc base::string16 state_key = install == SYSTEM_INSTALL ? base 145 chrome/installer/util/google_update_settings_unittest.cc install == SYSTEM_INSTALL, base::string16())); base 152 chrome/installer/util/google_update_settings_unittest.cc EXPECT_EQ(base::string16(), value); base 198 chrome/installer/util/google_update_settings_unittest.cc bool SetUpdatePolicyForAppGuid(const base::string16& app_guid, base 204 chrome/installer/util/google_update_settings_unittest.cc base::string16 app_update_override( base 213 chrome/installer/util/google_update_settings_unittest.cc DWORD GetUpdatePolicyForAppGuid(const base::string16& app_guid) { base 218 chrome/installer/util/google_update_settings_unittest.cc base::string16 app_update_override( base 269 chrome/installer/util/google_update_settings_unittest.cc base::string16 channel; base 283 chrome/installer/util/google_update_settings_unittest.cc base::string16 channel; base 297 chrome/installer/util/google_update_settings_unittest.cc base::string16 channel; base 814 chrome/installer/util/google_update_settings_unittest.cc EXPECT_EQ(base::string16(), base 822 chrome/installer/util/google_update_settings_unittest.cc EXPECT_EQ(base::string16(), base 831 chrome/installer/util/google_update_settings_unittest.cc EXPECT_EQ(base::string16(), base 840 chrome/installer/util/google_update_settings_unittest.cc EXPECT_EQ(base::string16(kDummyCommand), base 843 chrome/installer/util/google_update_settings_unittest.cc EXPECT_EQ(base::string16(), base 898 chrome/installer/util/google_update_settings_unittest.cc Version expected(base::UTF16ToUTF8(kDummyVersion)); base 36 chrome/installer/util/google_update_util.cc using base::win::RegKey; base 55 chrome/installer/util/google_update_util.cc base::FilePath GetGoogleUpdateSetupExe(bool system_install) { base 61 chrome/installer/util/google_update_util.cc base::string16 path_str; base 62 chrome/installer/util/google_update_util.cc base::string16 version_str; base 66 chrome/installer/util/google_update_util.cc return base::FilePath(path_str).DirName().Append(version_str). base 70 chrome/installer/util/google_update_util.cc return base::FilePath(); base 76 chrome/installer/util/google_update_util.cc bool GetUserLevelGoogleUpdateInstallCommandLine(base::string16* cmd_string) { base 78 chrome/installer/util/google_update_util.cc base::FilePath google_update_setup( base 101 chrome/installer/util/google_update_util.cc bool LaunchProcessAndWaitWithTimeout(const base::string16& cmd_string, base 102 chrome/installer/util/google_update_util.cc base::TimeDelta timeout) { base 104 chrome/installer/util/google_update_util.cc base::win::ScopedHandle process; base 107 chrome/installer/util/google_update_util.cc if (!base::LaunchProcess(cmd_string, base::LaunchOptions(), base 110 chrome/installer/util/google_update_util.cc } else if (!base::WaitForExitCodeWithTimeout(process, &exit_code, timeout)) { base 158 chrome/installer/util/google_update_util.cc if (!base::SplitStringIntoKeyValuePairs(data_string, '=', '&', &kv_pairs)) { base 182 chrome/installer/util/google_update_util.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 199 chrome/installer/util/google_update_util.cc base::string16 cmd_string; base 209 chrome/installer/util/google_update_util.cc base::TimeDelta::FromMilliseconds(INFINITE)); base 217 chrome/installer/util/google_update_util.cc base::string16 cmd_string( base 223 chrome/installer/util/google_update_util.cc base::TimeDelta::FromMilliseconds(kGoogleUpdateTimeoutMs)); base 229 chrome/installer/util/google_update_util.cc base::FilePath chrome_exe; base 230 chrome/installer/util/google_update_util.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 240 chrome/installer/util/google_update_util.cc base::FilePath exe_path(product_state.GetSetupPath()); base 241 chrome/installer/util/google_update_util.cc if (exe_path.empty() || !base::PathExists(exe_path)) { base 258 chrome/installer/util/google_update_util.cc base::LaunchOptions launch_options; base 261 chrome/installer/util/google_update_util.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA && base 262 chrome/installer/util/google_update_util.cc base::win::UserAccountControlIsEnabled()) { base 263 chrome/installer/util/google_update_util.cc base::LaunchElevatedProcess(cmd, launch_options, NULL); base 265 chrome/installer/util/google_update_util.cc base::LaunchProcess(cmd, launch_options, NULL); base 17 chrome/installer/util/helper.cc base::FilePath GetChromeInstallBasePath(bool system, base 20 chrome/installer/util/helper.cc base::FilePath install_path; base 22 chrome/installer/util/helper.cc PathService::Get(base::DIR_PROGRAM_FILES, &install_path); base 24 chrome/installer/util/helper.cc PathService::Get(base::DIR_LOCAL_APP_DATA, &install_path); base 39 chrome/installer/util/helper.cc base::FilePath GetChromeInstallPath(bool system_install, base 44 chrome/installer/util/helper.cc base::FilePath GetChromeUserDataPath(BrowserDistribution* dist) { base 14 chrome/installer/util/helper.h namespace base { base 25 chrome/installer/util/helper.h base::FilePath GetChromeInstallPath(bool system_install, BrowserDistribution* dist); base 32 chrome/installer/util/helper.h base::FilePath GetChromeUserDataPath(BrowserDistribution* dist); base 128 chrome/installer/util/html_dialog_impl.cc base::win::ScopedVariant dialog_args(param_.c_str()); base 41 chrome/installer/util/install_util.cc using base::win::RegKey; base 132 chrome/installer/util/install_util.cc base::string16 InstallUtil::GetActiveSetupPath(BrowserDistribution* dist) { base 139 chrome/installer/util/install_util.cc base::string16 active_setup_reg( base 141 chrome/installer/util/install_util.cc base::win::RegKey active_setup_key( base 143 chrome/installer/util/install_util.cc base::string16 cmd_str; base 157 chrome/installer/util/install_util.cc base::LaunchOptions launch_options; base 158 chrome/installer/util/install_util.cc if (base::win::IsMetroProcess()) base 160 chrome/installer/util/install_util.cc if (!base::LaunchProcess(cmd.GetCommandLineString(), launch_options, NULL)) base 165 chrome/installer/util/install_util.cc base::FilePath::StringType program(cmd.GetProgram().value()); base 179 chrome/installer/util/install_util.cc base::TrimWhitespace(params, base::TRIM_ALL, ¶ms); base 228 chrome/installer/util/install_util.cc base::string16 version_str; base 236 chrome/installer/util/install_util.cc *version = Version(base::UTF16ToASCII(version_str)); base 253 chrome/installer/util/install_util.cc base::string16 version_str; base 262 chrome/installer/util/install_util.cc *version = Version(base::UTF16ToASCII(version_str)); base 272 chrome/installer/util/install_util.cc VLOG(1) << base::SysInfo::OperatingSystemName() << ' ' base 273 chrome/installer/util/install_util.cc << base::SysInfo::OperatingSystemVersion(); base 274 chrome/installer/util/install_util.cc base::win::Version version = base::win::GetVersion(); base 275 chrome/installer/util/install_util.cc return (version > base::win::VERSION_XP) || base 276 chrome/installer/util/install_util.cc ((version == base::win::VERSION_XP) && base 277 chrome/installer/util/install_util.cc (base::win::OSInfo::GetInstance()->service_pack().major >= 2)); base 282 chrome/installer/util/install_util.cc const base::string16& state_key, base 285 chrome/installer/util/install_util.cc const base::string16* const launch_cmd, base 298 chrome/installer/util/install_util.cc base::string16 msg = installer::GetLocalizedString(string_resource_id); base 309 chrome/installer/util/install_util.cc const base::string16& state_key_path, base 372 chrome/installer/util/install_util.cc base::FilePath exe_dir; base 373 chrome/installer/util/install_util.cc PathService::Get(base::DIR_EXE, &exe_dir); base 374 chrome/installer/util/install_util.cc base::string16 chrome_sxs_dir(installer::kGoogleChromeInstallSubDir2); base 379 chrome/installer/util/install_util.cc std::vector<base::FilePath::StringType> components; base 385 chrome/installer/util/install_util.cc typedef std::vector<base::FilePath::StringType>::const_reverse_iterator base 389 chrome/installer/util/install_util.cc if (base::FilePath::CompareEqualIgnoreCase( base 391 chrome/installer/util/install_util.cc base::FilePath::CompareEqualIgnoreCase(*parent, chrome_sxs_dir)) { base 407 chrome/installer/util/install_util.cc base::FilePath user_data_dir; base 409 chrome/installer/util/install_util.cc base::PathExists(user_data_dir.Append(chrome::kFirstRunSentinel)); base 413 chrome/installer/util/install_util.cc bool InstallUtil::GetSentinelFilePath(const base::FilePath::CharType* file, base 415 chrome/installer/util/install_util.cc base::FilePath* path) { base 417 chrome/installer/util/install_util.cc base::FilePath user_data_dir(installer::GetChromeUserDataPath(dist)); base 429 chrome/installer/util/install_util.cc const base::string16& key_path) { base 444 chrome/installer/util/install_util.cc const base::string16& key_path, base 445 chrome/installer/util/install_util.cc const base::string16& value_name) { base 461 chrome/installer/util/install_util.cc const base::string16& key_to_delete_path, base 462 chrome/installer/util/install_util.cc const base::string16& key_to_test_path, base 468 chrome/installer/util/install_util.cc base::string16 actual_value; base 490 chrome/installer/util/install_util.cc base::string16 actual_value; base 507 chrome/installer/util/install_util.cc bool InstallUtil::ValueEquals::Evaluate(const base::string16& value) const { base 526 chrome/installer/util/install_util.cc void InstallUtil::MakeUninstallCommand(const base::string16& program, base 527 chrome/installer/util/install_util.cc const base::string16& arguments, base 533 chrome/installer/util/install_util.cc base::string16 InstallUtil::GetCurrentDate() { base 544 chrome/installer/util/install_util.cc return base::string16(date_str, len); base 550 chrome/installer/util/install_util.cc bool InstallUtil::ProgramCompare::OpenForInfo(const base::FilePath& path, base 551 chrome/installer/util/install_util.cc base::File* file) { base 553 chrome/installer/util/install_util.cc file->Initialize(path, base::File::FLAG_OPEN); base 559 chrome/installer/util/install_util.cc bool InstallUtil::ProgramCompare::GetInfo(const base::File& file, base 565 chrome/installer/util/install_util.cc InstallUtil::ProgramCompare::ProgramCompare(const base::FilePath& path_to_match) base 583 chrome/installer/util/install_util.cc bool InstallUtil::ProgramCompare::Evaluate(const base::string16& value) const { base 587 chrome/installer/util/install_util.cc base::FilePath program(CommandLine::FromString(value).GetProgram()); base 598 chrome/installer/util/install_util.cc const base::FilePath& path) const { base 600 chrome/installer/util/install_util.cc if (base::FilePath::CompareEqualIgnoreCase(path_to_match_.value(), base 610 chrome/installer/util/install_util.cc base::File file; base 26 chrome/installer/util/install_util.h namespace base { base 37 chrome/installer/util/install_util.h static base::string16 GetActiveSetupPath(BrowserDistribution* dist); base 44 chrome/installer/util/install_util.h static bool ExecuteExeAsAdmin(const base::CommandLine& cmd, DWORD* exit_code); base 49 chrome/installer/util/install_util.h static base::CommandLine GetChromeUninstallCmd( base 60 chrome/installer/util/install_util.h base::Version* version); base 70 chrome/installer/util/install_util.h base::Version* version); base 81 chrome/installer/util/install_util.h const base::string16& state_key, base 84 chrome/installer/util/install_util.h const base::string16* const launch_cmd, base 91 chrome/installer/util/install_util.h const base::string16& state_key_path, base 114 chrome/installer/util/install_util.h static bool GetSentinelFilePath(const base::FilePath::CharType* file, base 116 chrome/installer/util/install_util.h base::FilePath* path); base 119 chrome/installer/util/install_util.h static bool DeleteRegistryKey(HKEY root_key, const base::string16& key_path); base 123 chrome/installer/util/install_util.h static bool DeleteRegistryValue(HKEY reg_root, const base::string16& key_path, base 124 chrome/installer/util/install_util.h const base::string16& value_name); base 131 chrome/installer/util/install_util.h virtual bool Evaluate(const base::string16& value) const = 0; base 147 chrome/installer/util/install_util.h const base::string16& key_to_delete_path, base 148 chrome/installer/util/install_util.h const base::string16& key_to_test_path, base 164 chrome/installer/util/install_util.h explicit ValueEquals(const base::string16& value_to_match) base 166 chrome/installer/util/install_util.h virtual bool Evaluate(const base::string16& value) const OVERRIDE; base 168 chrome/installer/util/install_util.h base::string16 value_to_match_; base 177 chrome/installer/util/install_util.h static void MakeUninstallCommand(const base::string16& program, base 178 chrome/installer/util/install_util.h const base::string16& arguments, base 179 chrome/installer/util/install_util.h base::CommandLine* command_line); base 182 chrome/installer/util/install_util.h static base::string16 GetCurrentDate(); base 190 chrome/installer/util/install_util.h explicit ProgramCompare(const base::FilePath& path_to_match); base 192 chrome/installer/util/install_util.h virtual bool Evaluate(const base::string16& value) const OVERRIDE; base 193 chrome/installer/util/install_util.h bool EvaluatePath(const base::FilePath& path) const; base 196 chrome/installer/util/install_util.h static bool OpenForInfo(const base::FilePath& path, base::File* file); base 197 chrome/installer/util/install_util.h static bool GetInfo(const base::File& file, base 200 chrome/installer/util/install_util.h base::FilePath path_to_match_; base 201 chrome/installer/util/install_util.h base::File file_; base 18 chrome/installer/util/install_util_unittest.cc using base::win::RegKey; base 399 chrome/installer/util/install_util_unittest.cc base::FilePath some_long_dir( base 401 chrome/installer/util/install_util_unittest.cc base::FilePath expect(some_long_dir.Append(L"file.txt")); base 402 chrome/installer/util/install_util_unittest.cc base::FilePath expect_upcase(some_long_dir.Append(L"FILE.txt")); base 403 chrome/installer/util/install_util_unittest.cc base::FilePath other(some_long_dir.Append(L"otherfile.txt")); base 419 chrome/installer/util/install_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(some_long_dir)); base 420 chrome/installer/util/install_util_unittest.cc ASSERT_NE(-1, base::WriteFile(expect, data, arraysize(data) - 1)); base 439 chrome/installer/util/install_util_unittest.cc ASSERT_FALSE(base::FilePath::CompareEqualIgnoreCase(expect.value(), base 37 chrome/installer/util/installation_state.cc bool ProductState::InitializeCommands(const base::win::RegKey& version_key, base 40 chrome/installer/util/installation_state.cc base::win::RegKey commands_key; base 53 chrome/installer/util/installation_state.cc base::win::RegKey key; base 61 chrome/installer/util/installation_state.cc base::string16 version_str; base 64 chrome/installer/util/installation_state.cc version_.reset(new Version(base::UTF16ToASCII(version_str))); base 74 chrome/installer/util/installation_state.cc old_version_.reset(new Version(base::UTF16ToASCII(version_str))); base 147 chrome/installer/util/installation_state.cc base::FilePath ProductState::GetSetupPath() const { base 18 chrome/installer/util/installation_state.h namespace base { base 47 chrome/installer/util/installation_state.h base::FilePath GetSetupPath() const; base 51 chrome/installer/util/installation_state.h const base::Version& version() const; base 56 chrome/installer/util/installation_state.h const base::Version* old_version() const { return old_version_.get(); } base 86 chrome/installer/util/installation_state.h const base::CommandLine& uninstall_command() const { base 103 chrome/installer/util/installation_state.h static bool InitializeCommands(const base::win::RegKey& version_key, base 112 chrome/installer/util/installation_state.h base::CommandLine uninstall_command_; base 89 chrome/installer/util/installation_validation_helper.cc << base::StringPiece(str.c_str() + message_start, message_length); base 172 chrome/installer/util/installation_validator.cc const std::set<base::string16>& flags_exp, base 173 chrome/installer/util/installation_validator.cc const base::string16& name, base 176 chrome/installer/util/installation_validator.cc const base::string16 exp_key; base 216 chrome/installer/util/installation_validator.cc base::string16 name(expected_command); base 218 chrome/installer/util/installation_validator.cc base::FilePath expected_path( base 222 chrome/installer/util/installation_validator.cc if (!base::FilePath::CompareEqualIgnoreCase(expected_path.value(), base 235 chrome/installer/util/installation_validator.cc std::set<base::string16> flags_exp; base 270 chrome/installer/util/installation_validator.cc base::string16 name(kCmdOnOsUpgrade); base 286 chrome/installer/util/installation_validator.cc std::set<base::string16> flags_exp; base 299 chrome/installer/util/installation_validator.cc base::string16 name(kCmdQueryEULAAcceptance); base 311 chrome/installer/util/installation_validator.cc std::set<base::string16> flags_exp; base 325 chrome/installer/util/installation_validator.cc base::string16 name(kCmdQuickEnableApplicationHost); base 342 chrome/installer/util/installation_validator.cc std::set<base::string16> flags_exp; base 363 chrome/installer/util/installation_validator.cc const base::string16& cmd_id = cmd_iterators.first->first; base 508 chrome/installer/util/installation_validator.cc const base::FilePath& setup_exe, base 509 chrome/installer/util/installation_validator.cc const base::string16& purpose, base 519 chrome/installer/util/installation_validator.cc base::FilePath expected_path = installer::GetChromeInstallPath( base 525 chrome/installer/util/installation_validator.cc if (!base::FilePath::CompareEqualIgnoreCase(expected_path.value(), base 539 chrome/installer/util/installation_validator.cc const base::string16& source, base 560 chrome/installer/util/installation_validator.cc const base::string16& source, base 565 chrome/installer/util/installation_validator.cc base::ASCIIToUTF16("uninstaller"), base 588 chrome/installer/util/installation_validator.cc base::string16 name(base::ASCIIToUTF16("in-use renamer")); base 731 chrome/installer/util/installation_validator.cc base::ASCIIToUTF16( base 18 chrome/installer/util/installation_validator.h namespace base { base 97 chrome/installer/util/installation_validator.h typedef std::map<base::string16, CommandValidatorFn> CommandExpectations; base 192 chrome/installer/util/installation_validator.h const std::set<base::string16>& flags_expected, base 193 chrome/installer/util/installation_validator.h const base::string16& name, base 229 chrome/installer/util/installation_validator.h const base::FilePath& setup_exe, base 230 chrome/installer/util/installation_validator.h const base::string16& purpose, base 233 chrome/installer/util/installation_validator.h const base::CommandLine& command, base 235 chrome/installer/util/installation_validator.h const base::string16& source, base 238 chrome/installer/util/installation_validator.h const base::CommandLine& command, base 239 chrome/installer/util/installation_validator.h const base::string16& source, base 74 chrome/installer/util/installation_validator_unittest.cc void SetChannel(const wchar_t* base, int channel_modifiers); base 108 chrome/installer/util/installation_validator_unittest.cc static base::FilePath GetSetupPath( base 113 chrome/installer/util/installation_validator_unittest.cc static base::FilePath GetSetupExePath( base 146 chrome/installer/util/installation_validator_unittest.cc base::FilePath FakeProductState::GetSetupPath( base 158 chrome/installer/util/installation_validator_unittest.cc base::FilePath FakeProductState::GetSetupExePath( base 163 chrome/installer/util/installation_validator_unittest.cc base::FilePath setup_path = GetSetupPath(dist_type, install_level, base 173 chrome/installer/util/installation_validator_unittest.cc void FakeProductState::SetChannel(const wchar_t* base, int channel_modifiers) { base 174 chrome/installer/util/installation_validator_unittest.cc channel_.set_value(base); base 428 chrome/installer/util/installation_validator_unittest.cc << base::StringPiece(str.c_str() + message_start, message_length); base 337 chrome/installer/util/installer_state.cc base::FilePath InstallerState::GetDefaultProductInstallPath( base 355 chrome/installer/util/installer_state.cc const base::FilePath* product_dir) const { base 374 chrome/installer/util/installer_state.cc base::FilePath default_dir; base 377 chrome/installer/util/installer_state.cc if (!base::FilePath::CompareEqualIgnoreCase( base 397 chrome/installer/util/installer_state.cc const base::FilePath* product_dir, base 463 chrome/installer/util/installer_state.cc base::FilePath product_dir = base 544 chrome/installer/util/installer_state.cc if (base::PathExists(target_path().Append(kChromeNewExe))) base 583 chrome/installer/util/installer_state.cc base::FilePath InstallerState::GetInstallerDirectory( base 585 chrome/installer/util/installer_state.cc return target_path().Append(base::ASCIIToWide(version.GetString())) base 590 chrome/installer/util/installer_state.cc bool InstallerState::IsFileInUse(const base::FilePath& file) { base 593 chrome/installer/util/installer_state.cc return !base::win::ScopedHandle(CreateFile(file.value().c_str(), base 605 chrome/installer/util/installer_state.cc critical_update_version_ = base::Version(); base 637 chrome/installer/util/installer_state.cc base::FilePath directory( base 642 chrome/installer/util/installer_state.cc base::FilePath file(directory.Append(kBinaryFileNames[i])); base 643 chrome/installer/util/installer_state.cc if (base::PathExists(file) && IsFileInUse(file)) base 659 chrome/installer/util/installer_state.cc base::FilePath chrome_exe(target_path().Append(kChromeFilenames[i])); base 663 chrome/installer/util/installer_state.cc base::string16 version_string = file_version_info->file_version(); base 665 chrome/installer/util/installer_state.cc existing_versions->insert(base::UTF16ToASCII(version_string)); base 673 chrome/installer/util/installer_state.cc const base::FilePath& temp_path) const { base 687 chrome/installer/util/installer_state.cc base::FileEnumerator version_enum(target_path(), false, base 688 chrome/installer/util/installer_state.cc base::FileEnumerator::DIRECTORIES); base 689 chrome/installer/util/installer_state.cc for (base::FilePath next_version = version_enum.Next(); !next_version.empty(); base 691 chrome/installer/util/installer_state.cc base::FilePath dir_name(next_version.BaseName()); base 692 chrome/installer/util/installer_state.cc version = Version(base::UTF16ToASCII(dir_name.value())); base 702 chrome/installer/util/installer_state.cc bool delete_succeeded = base::DeleteFile(next_version, true); base 713 chrome/installer/util/installer_state.cc std::vector<base::FilePath>* com_dll_list) const { base 744 chrome/installer/util/installer_state.cc base::win::RegKey state_key; base 26 chrome/installer/util/installer_state.h namespace base { base 78 chrome/installer/util/installer_state.h void Initialize(const base::CommandLine& command_line, base 123 chrome/installer/util/installer_state.h const base::FilePath& target_path() const { return target_path_; } base 159 chrome/installer/util/installer_state.h base::Version* GetCurrentVersion( base 167 chrome/installer/util/installer_state.h base::Version DetermineCriticalVersion( base 168 chrome/installer/util/installer_state.h const base::Version* current_version, base 169 chrome/installer/util/installer_state.h const base::Version& new_version) const; base 182 chrome/installer/util/installer_state.h base::FilePath GetInstallerDirectory(const base::Version& version) const; base 187 chrome/installer/util/installer_state.h void RemoveOldVersionDirectories(const base::Version& new_version, base 188 chrome/installer/util/installer_state.h base::Version* existing_version, base 189 chrome/installer/util/installer_state.h const base::FilePath& temp_path) const; base 193 chrome/installer/util/installer_state.h void AddComDllList(std::vector<base::FilePath>* com_dll_list) const; base 230 chrome/installer/util/installer_state.h static bool IsFileInUse(const base::FilePath& file); base 239 chrome/installer/util/installer_state.h base::FilePath GetDefaultProductInstallPath(BrowserDistribution* dist) const; base 241 chrome/installer/util/installer_state.h const base::FilePath* product_dir) const; base 242 chrome/installer/util/installer_state.h Product* AddProductInDirectory(const base::FilePath* product_dir, base 264 chrome/installer/util/installer_state.h base::FilePath target_path_; base 269 chrome/installer/util/installer_state.h base::Version critical_update_version_; base 38 chrome/installer/util/installer_state_unittest.cc using base::win::RegKey; base 52 chrome/installer/util/installer_state_unittest.cc void set_target_path(const base::FilePath& target_path) { base 55 chrome/installer/util/installer_state_unittest.cc static bool IsFileInUse(const base::FilePath& file) { base 76 chrome/installer/util/installer_state_unittest.cc void BuildSingleChromeState(const base::FilePath& target_dir, base 96 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir(test_dir_.path()); base 98 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir); base 99 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir)); base 101 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir_1(chrome_dir); base 103 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir_1); base 104 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir_1)); base 106 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir_2(chrome_dir); base 108 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir_2); base 109 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir_2)); base 111 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir_3(chrome_dir); base 113 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir_3); base 114 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir_3)); base 116 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir_4(chrome_dir); base 118 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir_4); base 119 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir_4)); base 121 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dll_1(chrome_dir_1); base 124 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dll_1)); base 126 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dll_2(chrome_dir_2); base 129 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dll_2)); base 131 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dll_3(chrome_dir_3); base 134 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dll_3)); base 136 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dll_4(chrome_dir_4); base 139 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dll_4)); base 145 chrome/installer/util/installer_state_unittest.cc base::ScopedTempDir temp_dir; base 152 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(chrome_dir_1)); base 153 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(chrome_dir_2)); base 154 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(chrome_dir_3)); base 156 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(chrome_dll_4)); base 162 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir(test_dir_.path()); base 164 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir); base 165 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir)); base 167 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir_1(chrome_dir); base 169 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir_1); base 170 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir_1)); base 172 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir_2(chrome_dir); base 174 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir_2); base 175 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir_2)); base 177 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir_3(chrome_dir); base 179 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir_3); base 180 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir_3)); base 182 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dir_4(chrome_dir); base 184 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(chrome_dir_4); base 185 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dir_4)); base 187 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dll_1(chrome_dir_1); base 190 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dll_1)); base 192 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dll_2(chrome_dir_2); base 195 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dll_2)); base 201 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_othera_2(chrome_dir_2); base 204 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_othera_2)); base 206 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_otherb_2(chrome_dir_2); base 209 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_otherb_2)); base 211 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dll_3(chrome_dir_3); base 214 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dll_3)); base 216 chrome/installer/util/installer_state_unittest.cc base::FilePath chrome_dll_4(chrome_dir_4); base 219 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::PathExists(chrome_dll_4)); base 226 chrome/installer/util/installer_state_unittest.cc base::ScopedTempDir temp_dir; base 234 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(chrome_dir_1)); base 236 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(chrome_dir_3)); base 238 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(chrome_dir_2)); base 239 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(chrome_dll_2)); base 240 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(chrome_othera_2)); base 241 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(chrome_otherb_2)); base 243 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(chrome_dll_4)); base 272 chrome/installer/util/installer_state_unittest.cc base::FilePath installer_dir( base 276 chrome/installer/util/installer_state_unittest.cc base::FilePath new_version_dir(installer_state.target_path().Append( base 277 chrome/installer/util/installer_state_unittest.cc base::UTF8ToWide(new_version.GetString()))); base 278 chrome/installer/util/installer_state_unittest.cc base::FilePath old_version_dir(installer_state.target_path().Append( base 279 chrome/installer/util/installer_state_unittest.cc base::UTF8ToWide(old_version.GetString()))); base 281 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(new_version_dir)); base 282 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(old_version_dir)); base 284 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(installer_dir)); base 285 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(installer_dir); base 286 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(new_version_dir)); base 288 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(old_version_dir); base 289 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(old_version_dir)); base 293 chrome/installer/util/installer_state_unittest.cc base::FilePath old_chrome_dll(old_version_dir.Append(installer::kChromeDll)); base 294 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(old_chrome_dll)); base 298 chrome/installer/util/installer_state_unittest.cc base::win::ScopedHandle file( base 302 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(old_chrome_dll)); base 304 chrome/installer/util/installer_state_unittest.cc base::ScopedTempDir temp_dir; base 314 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(old_version_dir)); base 315 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(new_version_dir)); base 324 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(new_version_dir)); base 327 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(old_chrome_dll)); base 328 chrome/installer/util/installer_state_unittest.cc EXPECT_FALSE(base::PathExists(old_version_dir)); base 362 chrome/installer/util/installer_state_unittest.cc base::UTF8ToWide( base 472 chrome/installer/util/installer_state_unittest.cc base::ScopedTempDir temp_dir; base 475 chrome/installer/util/installer_state_unittest.cc base::FilePath temp_file; base 476 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file)); base 483 chrome/installer/util/installer_state_unittest.cc base::win::ScopedHandle temp_handle( base 522 chrome/installer/util/installer_state_unittest.cc base::FilePath version_dirs[] = { base 526 chrome/installer/util/installer_state_unittest.cc installer_state.target_path().Append(base::ASCIIToWide(kOldVersion)), base 528 chrome/installer/util/installer_state_unittest.cc base::ASCIIToWide(kOldChromeExeVersion)), base 530 chrome/installer/util/installer_state_unittest.cc installer_state.target_path().Append(base::ASCIIToWide(kChromeExeVersion)), base 531 chrome/installer/util/installer_state_unittest.cc installer_state.target_path().Append(base::ASCIIToWide(kNewVersion)), base 537 chrome/installer/util/installer_state_unittest.cc base::CreateDirectory(version_dirs[i]); base 538 chrome/installer/util/installer_state_unittest.cc EXPECT_TRUE(base::PathExists(version_dirs[i])); base 543 chrome/installer/util/installer_state_unittest.cc base::FilePath exe_path; base 544 chrome/installer/util/installer_state_unittest.cc ASSERT_TRUE(PathService::Get(base::FILE_EXE, &exe_path)); base 547 chrome/installer/util/installer_state_unittest.cc base::FilePath target_file; base 587 chrome/installer/util/installer_state_unittest.cc base::FileEnumerator version_enum(installer_state.target_path(), false, base 588 chrome/installer/util/installer_state_unittest.cc base::FileEnumerator::DIRECTORIES); base 589 chrome/installer/util/installer_state_unittest.cc for (base::FilePath next_version = version_enum.Next(); !next_version.empty(); base 591 chrome/installer/util/installer_state_unittest.cc base::FilePath dir_name(next_version.BaseName()); base 592 chrome/installer/util/installer_state_unittest.cc Version version(base::UTF16ToASCII(dir_name.value())); base 691 chrome/installer/util/installer_state_unittest.cc base::ASCIIToWide(version->GetString())); base 17 chrome/installer/util/installer_util_test_common.cc bool CopyFileHierarchy(const base::FilePath& from, const base::FilePath& to) { base 20 chrome/installer/util/installer_util_test_common.cc base::string16 double_null_from(from.value()); base 22 chrome/installer/util/installer_util_test_common.cc base::string16 double_null_to(to.value()); base 8 chrome/installer/util/installer_util_test_common.h namespace base { base 18 chrome/installer/util/installer_util_test_common.h bool CopyFileHierarchy(const base::FilePath& from, const base::FilePath& to); base 58 chrome/installer/util/l10n_string_util.cc base::string16 GetLocalizedStringF(int base_message_id, base 59 chrome/installer/util/l10n_string_util.cc const base::string16& a) { base 61 chrome/installer/util/l10n_string_util.cc std::vector<base::string16>(1, a), base 87 chrome/installer/util/l10n_string_util.cc base::StringPrintf(L"res://%ls/#23/%ls", full_exe_path, resource.c_str()); base 25 chrome/installer/util/l10n_string_util.h virtual base::string16 GetLocalizedString(int installer_string_id) = 0; base 41 chrome/installer/util/l10n_string_util.h base::string16 GetLocalizedStringF(int base_message_id, base 42 chrome/installer/util/l10n_string_util.h const base::string16& a); base 203 chrome/installer/util/language_selector.cc base::win::i18n::GetThreadPreferredUILanguageList(candidates); base 33 chrome/installer/util/logging_installer.cc TruncateResult TruncateLogFileIfNeeded(const base::FilePath& log_file) { base 37 chrome/installer/util/logging_installer.cc if (base::GetFileSize(log_file, &log_size) && base 40 chrome/installer/util/logging_installer.cc uint32 file_flags = base::File::FLAG_OPEN | base 41 chrome/installer/util/logging_installer.cc base::File::FLAG_READ | base 42 chrome/installer/util/logging_installer.cc base::File::FLAG_SHARE_DELETE | base 43 chrome/installer/util/logging_installer.cc base::File::FLAG_DELETE_ON_CLOSE; base 44 chrome/installer/util/logging_installer.cc base::File old_log_file(log_file, file_flags); base 48 chrome/installer/util/logging_installer.cc base::FilePath tmp_log(log_file.value() + FILE_PATH_LITERAL(".tmp")); base 50 chrome/installer/util/logging_installer.cc if (base::Move(log_file, tmp_log)) { base 57 chrome/installer/util/logging_installer.cc (bytes_read == base::WriteFile(log_file, &old_log_data[0], base 59 chrome/installer/util/logging_installer.cc base::PathExists(log_file))) { base 63 chrome/installer/util/logging_installer.cc } else if (base::DeleteFile(log_file, false)) { base 86 chrome/installer/util/logging_installer.cc base::FilePath log_file_path(GetLogFilePath(prefs)); base 111 chrome/installer/util/logging_installer.cc base::FilePath GetLogFilePath(const installer::MasterPreferences& prefs) { base 115 chrome/installer/util/logging_installer.cc return base::FilePath(base::UTF8ToWide(path)); base 117 chrome/installer/util/logging_installer.cc static const base::FilePath::CharType kLogFilename[] = base 121 chrome/installer/util/logging_installer.cc base::FilePath tmp_path; base 122 chrome/installer/util/logging_installer.cc ignore_result(PathService::Get(base::DIR_TEMP, &tmp_path)); base 10 chrome/installer/util/logging_installer.h namespace base { base 44 chrome/installer/util/logging_installer.h TruncateResult TruncateLogFileIfNeeded(const base::FilePath& log_file); base 53 chrome/installer/util/logging_installer.h base::FilePath GetLogFilePath(const installer::MasterPreferences& prefs); base 18 chrome/installer/util/logging_installer_unittest.cc base::ScopedTempDir temp_dir; base 21 chrome/installer/util/logging_installer_unittest.cc base::FilePath temp_file = temp_dir.path().Append(L"temp"); base 23 chrome/installer/util/logging_installer_unittest.cc base::WriteFile(temp_file, &test_data[0], test_data.size())); base 24 chrome/installer/util/logging_installer_unittest.cc ASSERT_TRUE(base::PathExists(temp_file)); base 27 chrome/installer/util/logging_installer_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file, &file_size)); base 33 chrome/installer/util/logging_installer_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file, &file_size)); base 37 chrome/installer/util/logging_installer_unittest.cc EXPECT_FALSE(base::PathExists(temp_file.Append(L".tmp"))); base 43 chrome/installer/util/logging_installer_unittest.cc base::ScopedTempDir temp_dir; base 46 chrome/installer/util/logging_installer_unittest.cc base::FilePath temp_file = temp_dir.path().Append(L"temp"); base 48 chrome/installer/util/logging_installer_unittest.cc base::WriteFile(temp_file, &test_data[0], test_data.size())); base 49 chrome/installer/util/logging_installer_unittest.cc ASSERT_TRUE(base::PathExists(temp_file)); base 52 chrome/installer/util/logging_installer_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file, &file_size)); base 57 chrome/installer/util/logging_installer_unittest.cc EXPECT_TRUE(base::PathExists(temp_file)); base 58 chrome/installer/util/logging_installer_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file, &file_size)); base 65 chrome/installer/util/logging_installer_unittest.cc base::ScopedTempDir temp_dir; base 68 chrome/installer/util/logging_installer_unittest.cc base::FilePath temp_file = temp_dir.path().Append(L"temp"); base 70 chrome/installer/util/logging_installer_unittest.cc base::WriteFile(temp_file, &test_data[0], test_data.size())); base 71 chrome/installer/util/logging_installer_unittest.cc ASSERT_TRUE(base::PathExists(temp_file)); base 73 chrome/installer/util/logging_installer_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file, &file_size)); base 77 chrome/installer/util/logging_installer_unittest.cc uint32 file_flags = base::File::FLAG_OPEN | base 78 chrome/installer/util/logging_installer_unittest.cc base::File::FLAG_READ | base 79 chrome/installer/util/logging_installer_unittest.cc base::File::FLAG_EXCLUSIVE_READ; base 80 chrome/installer/util/logging_installer_unittest.cc base::File temp_platform_file(temp_file, file_flags); base 85 chrome/installer/util/logging_installer_unittest.cc EXPECT_TRUE(base::PathExists(temp_file)); base 86 chrome/installer/util/logging_installer_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file, &file_size)); base 93 chrome/installer/util/logging_installer_unittest.cc base::ScopedTempDir temp_dir; base 96 chrome/installer/util/logging_installer_unittest.cc base::FilePath temp_file = temp_dir.path().Append(L"temp"); base 98 chrome/installer/util/logging_installer_unittest.cc base::WriteFile(temp_file, &test_data[0], test_data.size())); base 99 chrome/installer/util/logging_installer_unittest.cc ASSERT_TRUE(base::PathExists(temp_file)); base 101 chrome/installer/util/logging_installer_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file, &file_size)); base 106 chrome/installer/util/logging_installer_unittest.cc uint32 file_flags = base::File::FLAG_CREATE | base 107 chrome/installer/util/logging_installer_unittest.cc base::File::FLAG_READ | base 108 chrome/installer/util/logging_installer_unittest.cc base::File::FLAG_EXCLUSIVE_READ; base 109 chrome/installer/util/logging_installer_unittest.cc base::FilePath temp_file_move_dest( base 111 chrome/installer/util/logging_installer_unittest.cc base::File temp_move_destination_file(temp_file_move_dest, file_flags); base 116 chrome/installer/util/logging_installer_unittest.cc EXPECT_FALSE(base::PathExists(temp_file)); base 182 chrome/installer/util/lzma_util.cc base::FilePath file_path = base::FilePath(location).Append( base 183 chrome/installer/util/lzma_util.cc base::FilePath::StringType(file_name.begin(), file_name.end() - 1)); base 242 chrome/installer/util/lzma_util.cc bool LzmaUtil::CreateDirectory(const base::FilePath& dir) { base 245 chrome/installer/util/lzma_util.cc ret = base::CreateDirectory(dir); base 15 chrome/installer/util/lzma_util.h namespace base { base 45 chrome/installer/util/lzma_util.h bool CreateDirectory(const base::FilePath& dir); base 20 chrome/installer/util/lzma_util_unittest.cc ASSERT_TRUE(base::PathExists(data_dir_)); base 25 chrome/installer/util/lzma_util_unittest.cc base::ScopedTempDir temp_dir_; base 28 chrome/installer/util/lzma_util_unittest.cc base::FilePath data_dir_; base 34 chrome/installer/util/lzma_util_unittest.cc base::FilePath archive = data_dir_.AppendASCII("archive1.7z"); base 55 chrome/installer/util/lzma_util_unittest.cc base::FilePath extract_dir(temp_dir_.path()); base 57 chrome/installer/util/lzma_util_unittest.cc ASSERT_FALSE(base::PathExists(extract_dir)); base 58 chrome/installer/util/lzma_util_unittest.cc EXPECT_TRUE(base::CreateDirectory(extract_dir)); base 59 chrome/installer/util/lzma_util_unittest.cc ASSERT_TRUE(base::PathExists(extract_dir)); base 61 chrome/installer/util/lzma_util_unittest.cc base::FilePath archive = data_dir_.AppendASCII("archive1.7z"); base 67 chrome/installer/util/lzma_util_unittest.cc EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("a.exe"))); base 74 chrome/installer/util/lzma_util_unittest.cc EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("b.exe"))); base 89 chrome/installer/util/lzma_util_unittest.cc EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("archive\\a.exe"))); base 90 chrome/installer/util/lzma_util_unittest.cc EXPECT_TRUE(base::PathExists( base 96 chrome/installer/util/lzma_util_unittest.cc base::FilePath extract_dir(temp_dir_.path()); base 98 chrome/installer/util/lzma_util_unittest.cc ASSERT_FALSE(base::PathExists(extract_dir)); base 99 chrome/installer/util/lzma_util_unittest.cc EXPECT_TRUE(base::CreateDirectory(extract_dir)); base 100 chrome/installer/util/lzma_util_unittest.cc ASSERT_TRUE(base::PathExists(extract_dir)); base 102 chrome/installer/util/lzma_util_unittest.cc base::FilePath archive = data_dir_.AppendASCII("archive1.7z"); base 106 chrome/installer/util/lzma_util_unittest.cc EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("a.exe"))); base 112 chrome/installer/util/lzma_util_unittest.cc EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("b.exe"))); base 23 chrome/installer/util/master_preferences.cc base::LazyInstance<installer::MasterPreferences> g_master_preferences = base 26 chrome/installer/util/master_preferences.cc bool GetURLFromValue(const base::Value* in_value, std::string* out_value) { base 31 chrome/installer/util/master_preferences.cc const base::DictionaryValue* prefs) { base 36 chrome/installer/util/master_preferences.cc const base::ListValue* value_list = NULL; base 42 chrome/installer/util/master_preferences.cc const base::Value* entry; base 53 chrome/installer/util/master_preferences.cc base::DictionaryValue* ParseDistributionPreferences( base 57 chrome/installer/util/master_preferences.cc scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); base 62 chrome/installer/util/master_preferences.cc if (!root->IsType(base::Value::TYPE_DICTIONARY)) { base 67 chrome/installer/util/master_preferences.cc return static_cast<base::DictionaryValue*>(root.release()); base 91 chrome/installer/util/master_preferences.cc MasterPreferences::MasterPreferences(const base::FilePath& prefs_path) base 101 chrome/installer/util/master_preferences.cc if (base::PathExists(prefs_path) && base 102 chrome/installer/util/master_preferences.cc !base::ReadFileToString(prefs_path, &json_data)) { base 124 chrome/installer/util/master_preferences.cc base::FilePath prefs_path(cmd_line.GetSwitchValuePath( base 128 chrome/installer/util/master_preferences.cc master_dictionary_.reset(new base::DictionaryValue()); base 186 chrome/installer/util/master_preferences.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 212 chrome/installer/util/master_preferences.cc master_dictionary_.reset(new base::DictionaryValue()); base 269 chrome/installer/util/master_preferences.cc const base::ListValue* startup_urls_list = NULL; base 275 chrome/installer/util/master_preferences.cc base::ListValue* new_startup_urls_list = startup_urls_list->DeepCopy(); base 308 chrome/installer/util/master_preferences.cc base::DictionaryValue** extensions) const { base 324 chrome/installer/util/master_preferences.cc scoped_ptr<base::Value> pref_value; base 17 chrome/installer/util/master_preferences.h namespace base { base 88 chrome/installer/util/master_preferences.h explicit MasterPreferences(const base::CommandLine& cmd_line); base 92 chrome/installer/util/master_preferences.h explicit MasterPreferences(const base::FilePath& prefs_path); base 157 chrome/installer/util/master_preferences.h bool GetExtensionsBlock(base::DictionaryValue** extensions) const; base 183 chrome/installer/util/master_preferences.h const base::DictionaryValue& master_dictionary() const { base 194 chrome/installer/util/master_preferences.h void InitializeFromCommandLine(const base::CommandLine& cmd_line); base 211 chrome/installer/util/master_preferences.h scoped_ptr<base::DictionaryValue> master_dictionary_; base 212 chrome/installer/util/master_preferences.h base::DictionaryValue* distribution_; base 25 chrome/installer/util/master_preferences_dummy.cc MasterPreferences::MasterPreferences(const base::FilePath& prefs_path) base 23 chrome/installer/util/master_preferences_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&prefs_file_)); base 27 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::DeleteFile(prefs_file_, false)); base 30 chrome/installer/util/master_preferences_unittest.cc const base::FilePath& prefs_file() const { return prefs_file_; } base 33 chrome/installer/util/master_preferences_unittest.cc base::FilePath prefs_file_; base 45 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::DeleteFile(prefs_file(), false)); base 79 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text))); base 138 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text))); base 197 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text))); base 212 chrome/installer/util/master_preferences_unittest.cc base::FilePath prefs_path; base 218 chrome/installer/util/master_preferences_unittest.cc base::DictionaryValue* extensions = NULL; base 243 chrome/installer/util/master_preferences_unittest.cc base::FilePath prefs_file; base 244 chrome/installer/util/master_preferences_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&prefs_file)); base 255 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::WriteFile(prefs_file, text, strlen(text))); base 279 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::DeleteFile(prefs_file, false)); base 428 chrome/installer/util/master_preferences_unittest.cc const base::DictionaryValue& master_dictionary = base 431 chrome/installer/util/master_preferences_unittest.cc const base::ListValue* old_startup_urls_list = NULL; base 438 chrome/installer/util/master_preferences_unittest.cc const base::ListValue* new_startup_urls_list = NULL; base 460 chrome/installer/util/master_preferences_unittest.cc const base::DictionaryValue& master_dictionary = base 463 chrome/installer/util/master_preferences_unittest.cc const base::ListValue* old_startup_urls_list = NULL; base 473 chrome/installer/util/master_preferences_unittest.cc const base::ListValue* new_startup_urls_list = NULL; base 17 chrome/installer/util/move_tree_work_item.cc MoveTreeWorkItem::MoveTreeWorkItem(const base::FilePath& source_path, base 18 chrome/installer/util/move_tree_work_item.cc const base::FilePath& dest_path, base 19 chrome/installer/util/move_tree_work_item.cc const base::FilePath& temp_dir, base 31 chrome/installer/util/move_tree_work_item.cc if (!base::PathExists(source_path_)) { base 44 chrome/installer/util/move_tree_work_item.cc if (base::PathExists(dest_path_)) { base 51 chrome/installer/util/move_tree_work_item.cc base::FilePath backup = backup_path_.path().Append(dest_path_.BaseName()); base 58 chrome/installer/util/move_tree_work_item.cc if (base::Move(source_path_, backup)) { base 77 chrome/installer/util/move_tree_work_item.cc if (base::Move(dest_path_, backup)) { base 89 chrome/installer/util/move_tree_work_item.cc if (base::Move(source_path_, dest_path_)) { base 103 chrome/installer/util/move_tree_work_item.cc if (moved_to_dest_path_ && !base::Move(dest_path_, source_path_)) base 107 chrome/installer/util/move_tree_work_item.cc base::FilePath backup = backup_path_.path().Append(dest_path_.BaseName()); base 108 chrome/installer/util/move_tree_work_item.cc if (moved_to_backup_ && !base::Move(backup, dest_path_)) { base 113 chrome/installer/util/move_tree_work_item.cc if (source_moved_to_backup_ && !base::Move(backup, source_path_)) { base 45 chrome/installer/util/move_tree_work_item.h MoveTreeWorkItem(const base::FilePath& source_path, base 46 chrome/installer/util/move_tree_work_item.h const base::FilePath& dest_path, base 47 chrome/installer/util/move_tree_work_item.h const base::FilePath& temp_dir, base 51 chrome/installer/util/move_tree_work_item.h base::FilePath source_path_; base 54 chrome/installer/util/move_tree_work_item.h base::FilePath dest_path_; base 57 chrome/installer/util/move_tree_work_item.h base::FilePath temp_dir_; base 60 chrome/installer/util/move_tree_work_item.h base::ScopedTempDir backup_path_; base 29 chrome/installer/util/move_tree_work_item_unittest.cc base::ScopedTempDir temp_from_dir_; base 30 chrome/installer/util/move_tree_work_item_unittest.cc base::ScopedTempDir temp_to_dir_; base 37 chrome/installer/util/move_tree_work_item_unittest.cc file.open(base::UTF16ToASCII(filename).c_str()); base 44 chrome/installer/util/move_tree_work_item_unittest.cc std::wstring ReadTextFile(const base::FilePath& path) { base 47 chrome/installer/util/move_tree_work_item_unittest.cc file.open(base::UTF16ToASCII(path.value()).c_str()); base 62 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir1(temp_from_dir_.path()); base 64 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir1); base 65 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir1)); base 67 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir2(from_dir1); base 69 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir2); base 70 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir2)); base 72 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_file(from_dir2); base 75 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_file)); base 78 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_dir(temp_from_dir_.path()); base 80 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_FALSE(base::PathExists(to_dir)); base 82 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_file(to_dir); base 85 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_FALSE(base::PathExists(to_file)); base 95 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(from_dir1)); base 96 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 97 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_file)); base 102 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir1)); base 103 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_file)); base 104 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(to_dir)); base 111 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir1(temp_from_dir_.path()); base 113 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir1); base 114 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir1)); base 116 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir2(from_dir1); base 118 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir2); base 119 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir2)); base 121 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_file(from_dir2); base 124 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_file)); base 127 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_dir(temp_from_dir_.path()); base 129 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(to_dir); base 130 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(to_dir)); base 132 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath orig_to_file(to_dir); base 135 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(orig_to_file)); base 137 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath new_to_file(to_dir); base 140 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_FALSE(base::PathExists(new_to_file)); base 150 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(from_dir1)); base 151 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 152 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(new_to_file)); base 153 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(orig_to_file)); base 158 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir1)); base 159 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 160 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(new_to_file)); base 161 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(orig_to_file)); base 170 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir(temp_from_dir_.path()); base 172 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir); base 173 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir)); base 175 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_file(from_dir); base 178 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_file)); base 181 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_file(temp_from_dir_.path()); base 183 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_FALSE(base::PathExists(to_file)); base 193 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir)); base 194 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(from_file)); base 195 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_file)); base 201 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir)); base 202 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_file)); base 203 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(to_file)); base 211 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir(temp_from_dir_.path()); base 213 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir); base 214 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir)); base 216 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_file(from_dir); base 219 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_file)); base 222 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_dir(temp_from_dir_.path()); base 224 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(to_dir); base 225 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(to_dir)); base 227 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_file(to_dir); base 230 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(to_file)); base 240 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir)); base 241 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(from_file)); base 242 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 243 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(to_file)); base 249 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir)); base 251 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 259 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir(temp_from_dir_.path()); base 261 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir); base 262 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir)); base 264 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_file(from_dir); base 267 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_file)); base 270 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_dir(temp_from_dir_.path()); base 272 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(to_dir); base 273 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(to_dir)); base 277 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath exe_full_path(exe_full_path_str); base 278 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_file(to_dir); base 280 chrome/installer/util/move_tree_work_item_unittest.cc base::CopyFile(exe_full_path, to_file); base 281 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(to_file)); base 300 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir)); base 301 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(from_file)); base 302 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 308 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir)); base 310 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 311 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, to_file)); base 322 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir(temp_from_dir_.path()); base 324 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir); base 325 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir)); base 329 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath exe_full_path(exe_full_path_str); base 330 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_file(from_dir); base 332 chrome/installer/util/move_tree_work_item_unittest.cc base::CopyFile(exe_full_path, from_file); base 333 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_file)); base 336 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_dir(temp_from_dir_.path()); base 338 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(to_dir); base 339 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(to_dir)); base 341 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_file(to_dir); base 344 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(to_file)); base 363 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir)); base 364 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(from_file)); base 365 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 366 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, to_file)); base 375 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir)); base 376 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(from_file)); base 377 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 378 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, to_file)); base 383 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir)); base 384 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::ContentsEqual(exe_full_path, from_file)); base 385 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 393 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir1(temp_from_dir_.path()); base 395 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir1); base 396 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir1)); base 398 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir2(from_dir1); base 400 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir2); base 401 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir2)); base 403 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_file(from_dir2); base 406 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_file)); base 409 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_dir(temp_from_dir_.path()); base 414 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath orig_to_file( base 416 chrome/installer/util/move_tree_work_item_unittest.cc base::MemoryMappedFile mapped_file; base 438 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(from_dir1)); base 440 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 441 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(orig_to_file)); base 443 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::IsDirectoryEmpty(temp_to_dir_.path())); base 455 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir1)); base 456 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 457 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(orig_to_file)); base 466 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir1(temp_from_dir_.path()); base 468 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir1); base 469 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir1)); base 471 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_dir2(from_dir1); base 473 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(from_dir2); base 474 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_dir2)); base 476 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_file(from_dir2); base 479 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_file)); base 481 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath from_file2(from_dir2); base 484 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(from_file2)); base 487 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_dir(temp_from_dir_.path()); base 489 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(to_dir); base 490 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(to_dir)); base 493 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath to_dir2(to_dir); base 495 chrome/installer/util/move_tree_work_item_unittest.cc base::CreateDirectory(to_dir2); base 496 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(to_dir2)); base 499 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath orig_to_file(to_dir2); base 502 chrome/installer/util/move_tree_work_item_unittest.cc ASSERT_TRUE(base::PathExists(orig_to_file)); base 514 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(from_dir1)); base 516 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 517 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(orig_to_file)); base 519 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::IsDirectoryEmpty(temp_to_dir_.path())); base 521 chrome/installer/util/move_tree_work_item_unittest.cc base::FilePath new_to_file2(to_dir2); base 523 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(new_to_file2)); base 535 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(from_dir1)); base 536 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(to_dir)); base 537 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_TRUE(base::PathExists(orig_to_file)); base 542 chrome/installer/util/move_tree_work_item_unittest.cc EXPECT_FALSE(base::PathExists(new_to_file2)); base 25 chrome/installer/util/product.cc using base::win::RegKey; base 65 chrome/installer/util/product.cc base::FilePath Product::GetUserDataPath() const { base 69 chrome/installer/util/product.cc bool Product::LaunchChrome(const base::FilePath& application_path) const { base 73 chrome/installer/util/product.cc success = base::LaunchProcess(cmd, base::LaunchOptions(), NULL); base 78 chrome/installer/util/product.cc bool Product::LaunchChromeAndWait(const base::FilePath& application_path, base 139 chrome/installer/util/product.cc void Product::AddKeyFiles(std::vector<base::FilePath>* key_files) const { base 143 chrome/installer/util/product.cc void Product::AddComDllList(std::vector<base::FilePath>* com_dll_list) const { base 160 chrome/installer/util/product.cc const base::FilePath& target_exe, base 166 chrome/installer/util/product.cc void Product::LaunchUserExperiment(const base::FilePath& setup_path, base 17 chrome/installer/util/product.h namespace base { base 46 chrome/installer/util/product.h const base::CommandLine& uninstall_command); base 89 chrome/installer/util/product.h base::FilePath GetUserDataPath() const; base 92 chrome/installer/util/product.h bool LaunchChrome(const base::FilePath& application_path) const; base 100 chrome/installer/util/product.h bool LaunchChromeAndWait(const base::FilePath& application_path, base 101 chrome/installer/util/product.h const base::CommandLine& options, base 114 chrome/installer/util/product.h void AddKeyFiles(std::vector<base::FilePath>* key_files) const; base 117 chrome/installer/util/product.h void AddComDllList(std::vector<base::FilePath>* com_dll_list) const; base 120 chrome/installer/util/product.h void AppendProductFlags(base::CommandLine* command_line) const; base 123 chrome/installer/util/product.h void AppendRenameFlags(base::CommandLine* command_line) const; base 130 chrome/installer/util/product.h const base::FilePath& target_exe, base 133 chrome/installer/util/product.h void LaunchUserExperiment(const base::FilePath& setup_path, base 19 chrome/installer/util/product_operations.h namespace base { base 38 chrome/installer/util/product_operations.h std::set<base::string16>* options) const = 0; base 41 chrome/installer/util/product_operations.h virtual void ReadOptions(const base::CommandLine& command, base 42 chrome/installer/util/product_operations.h std::set<base::string16>* options) const = 0; base 52 chrome/installer/util/product_operations.h virtual void AddKeyFiles(const std::set<base::string16>& options, base 53 chrome/installer/util/product_operations.h std::vector<base::FilePath>* key_files) const = 0; base 58 chrome/installer/util/product_operations.h const std::set<base::string16>& options, base 59 chrome/installer/util/product_operations.h std::vector<base::FilePath>* com_dll_list) const = 0; base 64 chrome/installer/util/product_operations.h virtual void AppendProductFlags(const std::set<base::string16>& options, base 65 chrome/installer/util/product_operations.h base::CommandLine* cmd_line) const = 0; base 68 chrome/installer/util/product_operations.h virtual void AppendRenameFlags(const std::set<base::string16>& options, base 69 chrome/installer/util/product_operations.h base::CommandLine* cmd_line) const = 0; base 73 chrome/installer/util/product_operations.h virtual bool SetChannelFlags(const std::set<base::string16>& options, base 81 chrome/installer/util/product_operations.h const std::set<base::string16>& options) const = 0; base 87 chrome/installer/util/product_operations.h const base::FilePath& target_exe, base 93 chrome/installer/util/product_operations.h virtual void LaunchUserExperiment(const base::FilePath& setup_path, base 94 chrome/installer/util/product_operations.h const std::set<base::string16>& options, base 18 chrome/installer/util/product_state_unittest.cc using base::win::RegKey; base 17 chrome/installer/util/product_unittest.cc using base::win::RegKey; base 73 chrome/installer/util/product_unittest.cc base::FilePath user_data(product->GetUserDataPath()); base 78 chrome/installer/util/product_unittest.cc base::FilePath program_files; base 79 chrome/installer/util/product_unittest.cc PathService::Get(base::DIR_PROGRAM_FILES, &program_files); base 103 chrome/installer/util/product_unittest.cc base::UTF8ToWide( base 20 chrome/installer/util/product_unittest.h base::ScopedTempDir test_dir_; base 15 chrome/installer/util/registry_key_backup.cc using base::win::RegKey; base 15 chrome/installer/util/registry_key_backup_unittest.cc using base::win::RegKey; base 11 chrome/installer/util/registry_test_data.cc using base::win::RegKey; base 15 chrome/installer/util/run_all_unittests.cc base::win::ScopedCOMInitializer com_initializer; base 20 chrome/installer/util/self_cleaning_temp_dir.cc const base::FilePath& temp_parent_dir, base 21 chrome/installer/util/self_cleaning_temp_dir.cc base::FilePath* base_dir) { base 24 chrome/installer/util/self_cleaning_temp_dir.cc if (base::PathExists(temp_parent_dir)) { base 28 chrome/installer/util/self_cleaning_temp_dir.cc base::FilePath parent_dir(temp_parent_dir); base 32 chrome/installer/util/self_cleaning_temp_dir.cc } while (parent_dir != *base_dir && !base::PathExists(parent_dir)); base 33 chrome/installer/util/self_cleaning_temp_dir.cc LOG_IF(WARNING, !base::DirectoryExists(parent_dir)) base 47 chrome/installer/util/self_cleaning_temp_dir.cc bool SelfCleaningTempDir::Initialize(const base::FilePath& parent_dir, base 57 chrome/installer/util/self_cleaning_temp_dir.cc base::FilePath temp_dir(parent_dir.Append(temp_name)); base 58 chrome/installer/util/self_cleaning_temp_dir.cc base::FilePath base_dir; base 61 chrome/installer/util/self_cleaning_temp_dir.cc if (base::CreateDirectory(temp_dir)) { base 76 chrome/installer/util/self_cleaning_temp_dir.cc base::FilePath next_dir(path().DirName()); base 81 chrome/installer/util/self_cleaning_temp_dir.cc if (!base::DeleteFile(path(), true)) { base 19 chrome/installer/util/self_cleaning_temp_dir.h typedef base::FilePath::StringType StringType; base 28 chrome/installer/util/self_cleaning_temp_dir.h bool Initialize(const base::FilePath& parent_dir, base 32 chrome/installer/util/self_cleaning_temp_dir.h const base::FilePath& path() const { return temp_dir_; } base 40 chrome/installer/util/self_cleaning_temp_dir.h static void GetTopDirToCreate(const base::FilePath& temp_parent_dir, base 41 chrome/installer/util/self_cleaning_temp_dir.h base::FilePath* base_dir); base 44 chrome/installer/util/self_cleaning_temp_dir.h base::FilePath base_dir_; base 47 chrome/installer/util/self_cleaning_temp_dir.h base::FilePath temp_dir_; base 31 chrome/installer/util/self_cleaning_temp_dir_unittest.cc std::string result(base::HexEncode(&data[0], arraysize(data))); base 37 chrome/installer/util/self_cleaning_temp_dir_unittest.cc return base::ASCIIToWide(result); base 50 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::FilePath base_dir; base 51 chrome/installer/util/self_cleaning_temp_dir_unittest.cc SelfCleaningTempDir::GetTopDirToCreate(base::FilePath(L"C:\\"), &base_dir); base 58 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::FilePath base_dir; base 59 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::FilePath parent_dir(L"C:\\"); base 69 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::ScopedTempDir work_dir; base 73 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::FilePath parent_temp_dir(work_dir.path().Append(L"One").Append(L"Two")); base 77 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(temp_dir.path())); base 79 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.Append(L"Three"))); base 80 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir)); base 81 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName())); base 82 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); base 84 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); base 90 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::ScopedTempDir work_dir; base 94 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::FilePath parent_temp_dir(work_dir.path().Append(L"One").Append(L"Two")); base 104 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(temp_dir1.path())); base 105 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(temp_dir2.path())); base 109 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(temp_dir1.path())); base 111 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(parent_temp_dir)); base 115 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.Append(L"Three"))); base 116 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir)); base 117 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName())); base 118 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); base 120 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); base 127 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::ScopedTempDir work_dir; base 131 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::FilePath parent_temp_dir(work_dir.path().Append(L"One").Append(L"Two")); base 136 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(temp_dir.path())); base 138 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.Append(L"Three"))); base 139 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir)); base 140 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName())); base 141 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); base 143 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); base 152 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::ScopedTempDir work_dir; base 156 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::FilePath parent_temp_dir(work_dir.path().Append(L"One").Append(L"Two")); base 161 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(temp_dir.path())); base 164 chrome/installer/util/self_cleaning_temp_dir_unittest.cc base::WriteFile(parent_temp_dir.Append(GetRandomFilename()), base 167 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.Append(L"Three"))); base 168 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_TRUE(base::DirectoryExists(parent_temp_dir)); base 170 chrome/installer/util/self_cleaning_temp_dir_unittest.cc EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); base 79 chrome/installer/util/self_reg_work_item.cc << base::StringPrintf(" 0x%08X", unmuxed_hr) << ", code=" base 65 chrome/installer/util/set_reg_value_work_item.cc base::win::RegKey key; base 129 chrome/installer/util/set_reg_value_work_item.cc base::win::RegKey key; base 15 chrome/installer/util/set_reg_value_work_item_unittest.cc using base::win::RegKey; base 53 chrome/installer/util/set_reg_value_work_item_unittest.cc parent_key.append(&base::FilePath::kSeparators[0], 1); base 92 chrome/installer/util/set_reg_value_work_item_unittest.cc parent_key.append(&base::FilePath::kSeparators[0], 1); base 132 chrome/installer/util/set_reg_value_work_item_unittest.cc parent_key.append(&base::FilePath::kSeparators[0], 1); base 182 chrome/installer/util/set_reg_value_work_item_unittest.cc parent_key.append(&base::FilePath::kSeparators[0], 1); base 253 chrome/installer/util/set_reg_value_work_item_unittest.cc parent_key.append(&base::FilePath::kSeparators[0], 1); base 54 chrome/installer/util/shell_util.cc using base::win::RegKey; base 106 chrome/installer/util/shell_util.cc base::string16 GetBrowserProgId(const base::string16& suffix) { base 108 chrome/installer/util/shell_util.cc base::string16 chrome_html(dist->GetBrowserProgIdPrefix()); base 115 chrome/installer/util/shell_util.cc base::string16 new_style_suffix; base 139 chrome/installer/util/shell_util.cc bool GetSuffix(base::string16* suffix); base 142 chrome/installer/util/shell_util.cc base::string16 suffix_; base 148 chrome/installer/util/shell_util.cc base::string16 user_sid; base 149 chrome/installer/util/shell_util.cc if (!base::win::GetUserSidString(&user_sid)) { base 153 chrome/installer/util/shell_util.cc COMPILE_ASSERT(sizeof(base::MD5Digest) == 16, size_of_MD5_not_as_expected_); base 154 chrome/installer/util/shell_util.cc base::MD5Digest md5_digest; base 155 chrome/installer/util/shell_util.cc std::string user_sid_ascii(base::UTF16ToASCII(user_sid)); base 156 chrome/installer/util/shell_util.cc base::MD5Sum(user_sid_ascii.c_str(), user_sid_ascii.length(), &md5_digest); base 157 chrome/installer/util/shell_util.cc const base::string16 base32_md5( base 170 chrome/installer/util/shell_util.cc bool UserSpecificRegistrySuffix::GetSuffix(base::string16* suffix) { base 200 chrome/installer/util/shell_util.cc static base::string16 GetBrowserClientKey(BrowserDistribution* dist, base 201 chrome/installer/util/shell_util.cc const base::string16& suffix) { base 203 chrome/installer/util/shell_util.cc return base::string16(ShellUtil::kRegStartMenuInternet) base 212 chrome/installer/util/shell_util.cc static base::string16 GetCapabilitiesKey(BrowserDistribution* dist, base 213 chrome/installer/util/shell_util.cc const base::string16& suffix) { base 221 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 222 chrome/installer/util/shell_util.cc const base::string16& suffix, base 224 chrome/installer/util/shell_util.cc base::string16 icon_path( base 228 chrome/installer/util/shell_util.cc base::string16 open_cmd(ShellUtil::GetChromeShellOpenCmd(chrome_exe)); base 229 chrome/installer/util/shell_util.cc base::string16 delegate_command( base 233 chrome/installer/util/shell_util.cc base::string16 app_id( base 236 chrome/installer/util/shell_util.cc base::string16 delegate_guid; base 243 chrome/installer/util/shell_util.cc base::string16 model_id_shell(ShellUtil::kRegClasses); base 244 chrome/installer/util/shell_util.cc model_id_shell.push_back(base::FilePath::kSeparators[0]); base 267 chrome/installer/util/shell_util.cc base::string16 sub_path(model_id_shell); base 268 chrome/installer/util/shell_util.cc sub_path.push_back(base::FilePath::kSeparators[0]); base 275 chrome/installer/util/shell_util.cc base::string16 verb_name( base 282 chrome/installer/util/shell_util.cc sub_path.push_back(base::FilePath::kSeparators[0]); base 293 chrome/installer/util/shell_util.cc base::string16 chrome_html_prog_id(ShellUtil::kRegClasses); base 294 chrome/installer/util/shell_util.cc chrome_html_prog_id.push_back(base::FilePath::kSeparators[0]); base 312 chrome/installer/util/shell_util.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 317 chrome/installer/util/shell_util.cc base::string16 chrome_application(chrome_html_prog_id + base 341 chrome/installer/util/shell_util.cc const base::string16& suffix, base 342 chrome/installer/util/shell_util.cc const base::string16& protocol, base 356 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 357 chrome/installer/util/shell_util.cc const base::string16& suffix, base 359 chrome/installer/util/shell_util.cc const base::string16 icon_path( base 363 chrome/installer/util/shell_util.cc const base::string16 quoted_exe_path(L"\"" + chrome_exe + L"\""); base 366 chrome/installer/util/shell_util.cc const base::string16 start_menu_entry(GetBrowserClientKey(dist, suffix)); base 380 chrome/installer/util/shell_util.cc base::string16 install_info(start_menu_entry + L"\\InstallInfo"); base 385 chrome/installer/util/shell_util.cc base::ASCIIToWide(switches::kMakeDefaultBrowser))); base 388 chrome/installer/util/shell_util.cc base::ASCIIToWide(switches::kHideIcons))); base 391 chrome/installer/util/shell_util.cc base::ASCIIToWide(switches::kShowIcons))); base 395 chrome/installer/util/shell_util.cc const base::string16 reg_app_name(dist->GetBaseAppName().append(suffix)); base 397 chrome/installer/util/shell_util.cc const base::string16 capabilities(GetCapabilitiesKey(dist, suffix)); base 415 chrome/installer/util/shell_util.cc const base::string16 html_prog_id(GetBrowserProgId(suffix)); base 437 chrome/installer/util/shell_util.cc static void GetAppRegistrationEntries(const base::string16& chrome_exe, base 438 chrome/installer/util/shell_util.cc const base::string16& suffix, base 440 chrome/installer/util/shell_util.cc const base::FilePath chrome_path(chrome_exe); base 441 chrome/installer/util/shell_util.cc base::string16 app_path_key(ShellUtil::kAppPathsRegistryKey); base 442 chrome/installer/util/shell_util.cc app_path_key.push_back(base::FilePath::kSeparators[0]); base 448 chrome/installer/util/shell_util.cc const base::string16 html_prog_id(GetBrowserProgId(suffix)); base 450 chrome/installer/util/shell_util.cc base::string16 key(ShellUtil::kRegClasses); base 451 chrome/installer/util/shell_util.cc key.push_back(base::FilePath::kSeparators[0]); base 453 chrome/installer/util/shell_util.cc key.push_back(base::FilePath::kSeparators[0]); base 456 chrome/installer/util/shell_util.cc new RegistryEntry(key, html_prog_id, base::string16())); base 463 chrome/installer/util/shell_util.cc const base::string16& protocol, base 464 chrome/installer/util/shell_util.cc const base::string16& chrome_icon, base 465 chrome/installer/util/shell_util.cc const base::string16& chrome_open, base 468 chrome/installer/util/shell_util.cc base::string16 url_key(ShellUtil::kRegClasses); base 469 chrome/installer/util/shell_util.cc url_key.push_back(base::FilePath::kSeparators[0]); base 479 chrome/installer/util/shell_util.cc base::string16 icon_key = url_key + ShellUtil::kRegDefaultIcon; base 483 chrome/installer/util/shell_util.cc base::string16 shell_key = url_key + ShellUtil::kRegShellOpen; base 487 chrome/installer/util/shell_util.cc base::string16 dde_key = url_key + L"\\shell\\open\\ddeexec"; base 491 chrome/installer/util/shell_util.cc base::string16 protocol_shell_key = url_key + ShellUtil::kRegShellPath; base 502 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 503 chrome/installer/util/shell_util.cc const base::string16& suffix, base 506 chrome/installer/util/shell_util.cc base::string16 html_prog_id(GetBrowserProgId(suffix)); base 508 chrome/installer/util/shell_util.cc base::string16 ext_key(ShellUtil::kRegClasses); base 509 chrome/installer/util/shell_util.cc ext_key.push_back(base::FilePath::kSeparators[0]); base 515 chrome/installer/util/shell_util.cc base::string16 chrome_open = ShellUtil::GetChromeShellOpenCmd(chrome_exe); base 516 chrome/installer/util/shell_util.cc base::string16 chrome_icon = base 526 chrome/installer/util/shell_util.cc base::string16 start_menu(ShellUtil::kRegStartMenuInternet); base 527 chrome/installer/util/shell_util.cc base::string16 app_name = dist->GetBaseAppName() + suffix; base 577 chrome/installer/util/shell_util.cc RegistryEntry(const base::string16& key_path, const base::string16& value) base 583 chrome/installer/util/shell_util.cc RegistryEntry(const base::string16& key_path, const base::string16& name, base 584 chrome/installer/util/shell_util.cc const base::string16& value) base 590 chrome/installer/util/shell_util.cc RegistryEntry(const base::string16& key_path, const base::string16& name, base 596 chrome/installer/util/shell_util.cc base::string16 key_path_; // key path for the registry entry base 597 chrome/installer/util/shell_util.cc base::string16 name_; // name of the registry entry base 599 chrome/installer/util/shell_util.cc base::string16 value_; // string value (useful if is_string_ = true) base 610 chrome/installer/util/shell_util.cc base::string16 read_value; base 614 chrome/installer/util/shell_util.cc base::CaseInsensitiveCompare<wchar_t>()); base 671 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 672 chrome/installer/util/shell_util.cc const base::string16& suffix, base 685 chrome/installer/util/shell_util.cc const base::string16& suffix, base 686 chrome/installer/util/shell_util.cc const base::string16& protocol, base 700 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 701 chrome/installer/util/shell_util.cc const base::string16& suffix, base 702 chrome/installer/util/shell_util.cc const base::string16& protocol) { base 706 chrome/installer/util/shell_util.cc DCHECK_LT(base::win::GetVersion(), base::win::VERSION_WIN8); base 707 chrome/installer/util/shell_util.cc base::FilePath exe_path = base 708 chrome/installer/util/shell_util.cc base::FilePath(chrome_exe).DirName().Append(installer::kSetupExe); base 709 chrome/installer/util/shell_util.cc if (!base::PathExists(exe_path)) { base 713 chrome/installer/util/shell_util.cc base::string16 uninstall_string; base 719 chrome/installer/util/shell_util.cc if (base::PathExists(exe_path)) { base 764 chrome/installer/util/shell_util.cc bool LaunchApplicationAssociationDialog(const base::string16& app_id) { base 765 chrome/installer/util/shell_util.cc base::win::ScopedComPtr<IApplicationAssociationRegistrationUI> aarui; base 785 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 786 chrome/installer/util/shell_util.cc const base::string16& suffix, base 789 chrome/installer/util/shell_util.cc base::string16 reg_key; base 794 chrome/installer/util/shell_util.cc reg_key.push_back(base::FilePath::kSeparators[0]); base 814 chrome/installer/util/shell_util.cc base::win::GetVersion() >= base::win::VERSION_WIN8)) { base 816 chrome/installer/util/shell_util.cc base::string16 hkcu_value; base 821 chrome/installer/util/shell_util.cc base::FilePath(chrome_exe)).Evaluate(hkcu_value); base 827 chrome/installer/util/shell_util.cc base::string16 hklm_value; base 830 chrome/installer/util/shell_util.cc base::FilePath(chrome_exe)).Evaluate(hklm_value); base 846 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 847 chrome/installer/util/shell_util.cc base::string16* suffix) { base 849 chrome/installer/util/shell_util.cc QuickIsChromeRegistered(dist, chrome_exe, base::string16(), base 875 chrome/installer/util/shell_util.cc return is_per_user && base::win::GetVersion() >= base::win::VERSION_WIN8 ? base 884 chrome/installer/util/shell_util.cc const base::string16& chrome_exe) { base 914 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 915 chrome/installer/util/shell_util.cc const base::string16& protocol) { base 917 chrome/installer/util/shell_util.cc const base::string16 chrome_open( base 919 chrome/installer/util/shell_util.cc const base::string16 chrome_icon( base 937 chrome/installer/util/shell_util.cc base::string16 ExtractShortcutNameFromProperties( base 941 chrome/installer/util/shell_util.cc base::string16 shortcut_name; base 957 chrome/installer/util/shell_util.cc base::win::ShortcutOperation TranslateShortcutOperation( base 962 chrome/installer/util/shell_util.cc return base::win::SHORTCUT_CREATE_ALWAYS; base 965 chrome/installer/util/shell_util.cc return base::win::SHORTCUT_UPDATE_EXISTING; base 968 chrome/installer/util/shell_util.cc return base::win::SHORTCUT_REPLACE_EXISTING; base 972 chrome/installer/util/shell_util.cc return base::win::SHORTCUT_REPLACE_EXISTING; base 978 chrome/installer/util/shell_util.cc base::win::ShortcutProperties TranslateShortcutProperties( base 980 chrome/installer/util/shell_util.cc base::win::ShortcutProperties shortcut_properties; base 1009 chrome/installer/util/shell_util.cc const base::string16& chrome_exe) { base 1015 chrome/installer/util/shell_util.cc base::string16 run_verb_key(ShellUtil::kRegClasses); base 1016 chrome/installer/util/shell_util.cc run_verb_key.push_back(base::FilePath::kSeparators[0]); base 1021 chrome/installer/util/shell_util.cc run_verb_key.push_back(base::FilePath::kSeparators[0]); base 1029 chrome/installer/util/shell_util.cc bool ShortNameFromPath(const base::FilePath& path, base::string16* short_path) { base 1031 chrome/installer/util/shell_util.cc base::string16 result(MAX_PATH, L'\0'); base 1051 chrome/installer/util/shell_util.cc const base::FilePath& chrome_exe, base 1054 chrome/installer/util/shell_util.cc base::win::ScopedComPtr<IApplicationAssociationRegistration> registration; base 1061 chrome/installer/util/shell_util.cc base::string16 prog_id(dist->GetBrowserProgIdPrefix()); base 1065 chrome/installer/util/shell_util.cc base::win::ScopedCoMem<wchar_t> current_app; base 1078 chrome/installer/util/shell_util.cc const base::FilePath& chrome_exe, base 1081 chrome/installer/util/shell_util.cc base::win::ScopedComPtr<IApplicationAssociationRegistration> registration; base 1088 chrome/installer/util/shell_util.cc base::string16 app_name( base 1106 chrome/installer/util/shell_util.cc const base::FilePath& chrome_exe, base 1110 chrome/installer/util/shell_util.cc base::string16 short_app_path; base 1115 chrome/installer/util/shell_util.cc base::string16 key_path; base 1116 chrome/installer/util/shell_util.cc base::win::RegKey key; base 1117 chrome/installer/util/shell_util.cc base::string16 value; base 1119 chrome/installer/util/shell_util.cc base::string16 short_path; base 1135 chrome/installer/util/shell_util.cc if (!base::FilePath::CompareEqualIgnoreCase(short_path, short_app_path)) base 1147 chrome/installer/util/shell_util.cc const base::FilePath& chrome_exe, base 1156 chrome/installer/util/shell_util.cc const base::win::Version windows_version = base::win::GetVersion(); base 1158 chrome/installer/util/shell_util.cc if (windows_version >= base::win::VERSION_WIN8) base 1160 chrome/installer/util/shell_util.cc else if (windows_version >= base::win::VERSION_VISTA) base 1170 chrome/installer/util/shell_util.cc base::FilePath *path) { base 1172 chrome/installer/util/shell_util.cc DCHECK_GE(base::win::GetVersion(), base::win::VERSION_WIN8); base 1174 chrome/installer/util/shell_util.cc base::FilePath folder; base 1175 chrome/installer/util/shell_util.cc if (!PathService::Get(base::DIR_APP_SHORTCUTS, &folder)) { base 1182 chrome/installer/util/shell_util.cc if (!base::DirectoryExists(folder)) { base 1193 chrome/installer/util/shell_util.cc typedef base::Callback<bool(const base::FilePath& /*shortcut_path*/, base 1194 chrome/installer/util/shell_util.cc const base::string16& /*args*/)> base 1202 chrome/installer/util/shell_util.cc FilterTargetEq(const base::FilePath& desired_target_exe, bool require_args); base 1207 chrome/installer/util/shell_util.cc bool Match(const base::FilePath& target_path, base 1208 chrome/installer/util/shell_util.cc const base::string16& args) const; base 1221 chrome/installer/util/shell_util.cc FilterTargetEq::FilterTargetEq(const base::FilePath& desired_target_exe, base 1226 chrome/installer/util/shell_util.cc bool FilterTargetEq::Match(const base::FilePath& target_path, base 1227 chrome/installer/util/shell_util.cc const base::string16& args) const { base 1236 chrome/installer/util/shell_util.cc return base::Bind(&FilterTargetEq::Match, base::Unretained(this)); base 1241 chrome/installer/util/shell_util.cc typedef base::Callback<bool(const base::FilePath& /*shortcut_path*/)> base 1244 chrome/installer/util/shell_util.cc bool ShortcutOpUnpin(const base::FilePath& shortcut_path) { base 1246 chrome/installer/util/shell_util.cc if (!base::win::TaskbarUnpinShortcutLink(shortcut_path.value().c_str())) { base 1253 chrome/installer/util/shell_util.cc bool ShortcutOpDelete(const base::FilePath& shortcut_path) { base 1254 chrome/installer/util/shell_util.cc bool ret = base::DeleteFile(shortcut_path, false); base 1259 chrome/installer/util/shell_util.cc bool ShortcutOpRetarget(const base::FilePath& old_target, base 1260 chrome/installer/util/shell_util.cc const base::FilePath& new_target, base 1261 chrome/installer/util/shell_util.cc const base::FilePath& shortcut_path) { base 1262 chrome/installer/util/shell_util.cc base::win::ShortcutProperties new_prop; base 1267 chrome/installer/util/shell_util.cc base::win::ShortcutProperties old_prop; base 1268 chrome/installer/util/shell_util.cc if (base::win::ResolveShortcutProperties( base 1270 chrome/installer/util/shell_util.cc base::win::ShortcutProperties::PROPERTIES_ICON, base 1278 chrome/installer/util/shell_util.cc bool result = base::win::CreateOrUpdateShortcutLink( base 1279 chrome/installer/util/shell_util.cc shortcut_path, new_prop, base::win::SHORTCUT_UPDATE_EXISTING); base 1286 chrome/installer/util/shell_util.cc std::vector<std::pair<base::FilePath, base::string16> >* shortcuts, base 1287 chrome/installer/util/shell_util.cc const base::FilePath& shortcut_path) { base 1288 chrome/installer/util/shell_util.cc base::string16 args; base 1289 chrome/installer/util/shell_util.cc if (!base::win::ResolveShortcut(shortcut_path, NULL, &args)) base 1292 chrome/installer/util/shell_util.cc CommandLine current_args(CommandLine::FromString(base::StringPrintf( base 1309 chrome/installer/util/shell_util.cc base::win::ShortcutProperties updated_properties; base 1311 chrome/installer/util/shell_util.cc return base::win::CreateOrUpdateShortcutLink( base 1312 chrome/installer/util/shell_util.cc shortcut_path, updated_properties, base::win::SHORTCUT_UPDATE_EXISTING); base 1329 chrome/installer/util/shell_util.cc base::FilePath shortcut_folder; base 1336 chrome/installer/util/shell_util.cc base::FileEnumerator enumerator( base 1337 chrome/installer/util/shell_util.cc shortcut_folder, false, base::FileEnumerator::FILES, base 1338 chrome/installer/util/shell_util.cc base::string16(L"*") + installer::kLnkExt); base 1339 chrome/installer/util/shell_util.cc base::FilePath target_path; base 1340 chrome/installer/util/shell_util.cc base::string16 args; base 1341 chrome/installer/util/shell_util.cc for (base::FilePath shortcut_path = enumerator.Next(); base 1346 chrome/installer/util/shell_util.cc if (base::win::ResolveShortcut(shortcut_path, &target_path, &args)) { base 1374 chrome/installer/util/shell_util.cc base::FilePath shortcut_folder; base 1379 chrome/installer/util/shell_util.cc if (base::IsDirectoryEmpty(shortcut_folder) && base 1380 chrome/installer/util/shell_util.cc !base::DeleteFile(shortcut_folder, true)) { base 1430 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 1431 chrome/installer/util/shell_util.cc const base::string16& suffix) { base 1446 chrome/installer/util/shell_util.cc return base::win::GetVersion() >= base::win::VERSION_WIN7; base 1448 chrome/installer/util/shell_util.cc return base::win::GetVersion() >= base::win::VERSION_WIN8; base 1458 chrome/installer/util/shell_util.cc base::FilePath* path) { base 1461 chrome/installer/util/shell_util.cc base::string16 folder_to_append; base 1464 chrome/installer/util/shell_util.cc dir_key = (level == CURRENT_USER) ? base::DIR_USER_DESKTOP : base 1465 chrome/installer/util/shell_util.cc base::DIR_COMMON_DESKTOP; base 1468 chrome/installer/util/shell_util.cc dir_key = (level == CURRENT_USER) ? base::DIR_USER_QUICK_LAUNCH : base 1469 chrome/installer/util/shell_util.cc base::DIR_DEFAULT_USER_QUICK_LAUNCH; base 1472 chrome/installer/util/shell_util.cc dir_key = (level == CURRENT_USER) ? base::DIR_START_MENU : base 1473 chrome/installer/util/shell_util.cc base::DIR_COMMON_START_MENU; base 1476 chrome/installer/util/shell_util.cc dir_key = (level == CURRENT_USER) ? base::DIR_START_MENU : base 1477 chrome/installer/util/shell_util.cc base::DIR_COMMON_START_MENU; base 1482 chrome/installer/util/shell_util.cc dir_key = (level == CURRENT_USER) ? base::DIR_START_MENU : base 1483 chrome/installer/util/shell_util.cc base::DIR_COMMON_START_MENU; base 1488 chrome/installer/util/shell_util.cc dir_key = base::DIR_TASKBAR_PINS; base 1531 chrome/installer/util/shell_util.cc base::FilePath user_shortcut_path; base 1532 chrome/installer/util/shell_util.cc base::FilePath system_shortcut_path; base 1538 chrome/installer/util/shell_util.cc base::string16 shortcut_name( base 1542 chrome/installer/util/shell_util.cc base::FilePath* chosen_path; base 1548 chrome/installer/util/shell_util.cc !base::PathExists(system_shortcut_path)) { base 1572 chrome/installer/util/shell_util.cc base::win::ShortcutOperation shortcut_operation = base 1577 chrome/installer/util/shell_util.cc if (shortcut_operation == base::win::SHORTCUT_CREATE_ALWAYS && base 1578 chrome/installer/util/shell_util.cc !base::CreateDirectory(chosen_path->DirName())) { base 1583 chrome/installer/util/shell_util.cc base::win::ShortcutProperties shortcut_properties( base 1585 chrome/installer/util/shell_util.cc ret = base::win::CreateOrUpdateShortcutLink( base 1589 chrome/installer/util/shell_util.cc if (ret && shortcut_operation == base::win::SHORTCUT_CREATE_ALWAYS && base 1591 chrome/installer/util/shell_util.cc base::win::GetVersion() >= base::win::VERSION_WIN7) { base 1592 chrome/installer/util/shell_util.cc ret = base::win::TaskbarPinShortcutLink(chosen_path->value().c_str()); base 1601 chrome/installer/util/shell_util.cc base::string16 ShellUtil::FormatIconLocation(const base::string16& icon_path, base 1603 chrome/installer/util/shell_util.cc base::string16 icon_string(icon_path); base 1605 chrome/installer/util/shell_util.cc icon_string.append(base::IntToString16(icon_index)); base 1609 chrome/installer/util/shell_util.cc base::string16 ShellUtil::GetChromeShellOpenCmd( base 1610 chrome/installer/util/shell_util.cc const base::string16& chrome_exe) { base 1614 chrome/installer/util/shell_util.cc base::string16 ShellUtil::GetChromeDelegateCommand( base 1615 chrome/installer/util/shell_util.cc const base::string16& chrome_exe) { base 1621 chrome/installer/util/shell_util.cc std::map<base::string16, base::string16>* browsers) { base 1625 chrome/installer/util/shell_util.cc const base::string16 base_key(ShellUtil::kRegStartMenuInternet); base 1626 chrome/installer/util/shell_util.cc base::string16 client_path; base 1628 chrome/installer/util/shell_util.cc base::string16 name; base 1629 chrome/installer/util/shell_util.cc base::string16 command; base 1636 chrome/installer/util/shell_util.cc for (base::win::RegistryKeyIterator iter(root, base_key.c_str()); base 1644 chrome/installer/util/shell_util.cc name.find(dist->GetBaseAppName()) != base::string16::npos) { base 1658 chrome/installer/util/shell_util.cc base::string16 ShellUtil::GetCurrentInstallationSuffix( base 1660 chrome/installer/util/shell_util.cc const base::string16& chrome_exe) { base 1670 chrome/installer/util/shell_util.cc base::string16 tested_suffix; base 1688 chrome/installer/util/shell_util.cc base::string16 ShellUtil::GetApplicationName(BrowserDistribution* dist, base 1689 chrome/installer/util/shell_util.cc const base::string16& chrome_exe) { base 1690 chrome/installer/util/shell_util.cc base::string16 app_name = dist->GetBaseAppName(); base 1695 chrome/installer/util/shell_util.cc base::string16 ShellUtil::GetBrowserModelId(BrowserDistribution* dist, base 1697 chrome/installer/util/shell_util.cc base::string16 app_id(dist->GetBaseAppId()); base 1698 chrome/installer/util/shell_util.cc base::string16 suffix; base 1713 chrome/installer/util/shell_util.cc std::vector<base::string16> components(1, app_id.append(suffix)); base 1717 chrome/installer/util/shell_util.cc base::string16 ShellUtil::BuildAppModelId( base 1718 chrome/installer/util/shell_util.cc const std::vector<base::string16>& components) { base 1734 chrome/installer/util/shell_util.cc base::string16 app_id; base 1736 chrome/installer/util/shell_util.cc for (std::vector<base::string16>::const_iterator it = components.begin(); base 1741 chrome/installer/util/shell_util.cc const base::string16& component = *it; base 1750 chrome/installer/util/shell_util.cc base::string16::npos); base 1756 chrome/installer/util/shell_util.cc base::ReplaceChars(app_id, L" ", L"_", &app_id); base 1761 chrome/installer/util/shell_util.cc base::FilePath app_path; base 1762 chrome/installer/util/shell_util.cc if (!PathService::Get(base::FILE_EXE, &app_path)) { base 1771 chrome/installer/util/shell_util.cc const base::FilePath& chrome_exe) { base 1793 chrome/installer/util/shell_util.cc const base::string16& protocol) { base 1803 chrome/installer/util/shell_util.cc base::FilePath chrome_exe; base 1804 chrome/installer/util/shell_util.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { base 1817 chrome/installer/util/shell_util.cc return base::win::GetVersion() < base::win::VERSION_WIN8; base 1822 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 1840 chrome/installer/util/shell_util.cc dist, chrome_exe, base::string16(), elevate_if_not_admin)) { base 1847 chrome/installer/util/shell_util.cc base::string16 app_name = GetApplicationName(dist, chrome_exe); base 1849 chrome/installer/util/shell_util.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 1853 chrome/installer/util/shell_util.cc base::win::ScopedComPtr<IApplicationAssociationRegistration> pAAR; base 1892 chrome/installer/util/shell_util.cc const base::string16& chrome_exe) { base 1893 chrome/installer/util/shell_util.cc DCHECK_GE(base::win::GetVersion(), base::win::VERSION_WIN8); base 1899 chrome/installer/util/shell_util.cc if (!RegisterChromeBrowser(dist, chrome_exe, base::string16(), true)) base 1921 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 1922 chrome/installer/util/shell_util.cc const base::string16& protocol) { base 1929 chrome/installer/util/shell_util.cc dist, chrome_exe, base::string16(), protocol, true)) base 1941 chrome/installer/util/shell_util.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 1944 chrome/installer/util/shell_util.cc base::win::ScopedComPtr<IApplicationAssociationRegistration> pAAR; base 1948 chrome/installer/util/shell_util.cc base::string16 app_name = GetApplicationName(dist, chrome_exe); base 1970 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 1971 chrome/installer/util/shell_util.cc const base::string16& protocol) { base 1972 chrome/installer/util/shell_util.cc DCHECK_GE(base::win::GetVersion(), base::win::VERSION_WIN8); base 1979 chrome/installer/util/shell_util.cc dist, chrome_exe, base::string16(), protocol, true)) base 2002 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 2003 chrome/installer/util/shell_util.cc const base::string16& unique_suffix, base 2012 chrome/installer/util/shell_util.cc base::string16 suffix; base 2054 chrome/installer/util/shell_util.cc base::win::GetVersion() >= base::win::VERSION_VISTA && base 2066 chrome/installer/util/shell_util.cc dist, chrome_exe, base::string16(), &entries); base 2084 chrome/installer/util/shell_util.cc RegistryEntry::GetAppRegistrationEntries(chrome_exe, base::string16(), base 2094 chrome/installer/util/shell_util.cc const base::string16& chrome_exe, base 2095 chrome/installer/util/shell_util.cc const base::string16& unique_suffix, base 2096 chrome/installer/util/shell_util.cc const base::string16& protocol, base 2103 chrome/installer/util/shell_util.cc base::string16 suffix; base 2136 chrome/installer/util/shell_util.cc base::win::GetVersion() >= base::win::VERSION_VISTA) { base 2149 chrome/installer/util/shell_util.cc const base::FilePath& target_exe) { base 2157 chrome/installer/util/shell_util.cc base::Bind(&ShortcutOpUnpin) : base::Bind(&ShortcutOpDelete)); base 2176 chrome/installer/util/shell_util.cc const base::FilePath& old_target_exe, base 2177 chrome/installer/util/shell_util.cc const base::FilePath& new_target_exe) { base 2183 chrome/installer/util/shell_util.cc base::Bind(&ShortcutOpRetarget, old_target_exe, new_target_exe)); base 2193 chrome/installer/util/shell_util.cc const base::FilePath& chrome_exe, base 2196 chrome/installer/util/shell_util.cc std::vector<std::pair<base::FilePath, base::string16> >* shortcuts) { base 2202 chrome/installer/util/shell_util.cc base::Bind(&ShortcutOpListOrRemoveUnknownArgs, do_removal, shortcuts)); base 2207 chrome/installer/util/shell_util.cc bool ShellUtil::GetUserSpecificRegistrySuffix(base::string16* suffix) { base 2209 chrome/installer/util/shell_util.cc static base::LazyInstance<UserSpecificRegistrySuffix>::Leaky suffix_instance = base 2214 chrome/installer/util/shell_util.cc bool ShellUtil::GetOldUserSpecificRegistrySuffix(base::string16* suffix) { base 2227 chrome/installer/util/shell_util.cc base::string16 ShellUtil::ByteArrayToBase32(const uint8* bytes, size_t size) { base 2232 chrome/installer/util/shell_util.cc return base::string16(); base 2234 chrome/installer/util/shell_util.cc base::string16 ret; base 2242 chrome/installer/util/shell_util.cc return base::string16(); base 2249 chrome/installer/util/shell_util.cc base::string16 ret; base 27 chrome/installer/util/shell_util.h namespace base { base 99 chrome/installer/util/shell_util.h void set_target(const base::FilePath& target_in) { base 107 chrome/installer/util/shell_util.h void set_arguments(const base::string16& arguments_in) { base 117 chrome/installer/util/shell_util.h void set_description(const base::string16& description_in) { base 127 chrome/installer/util/shell_util.h void set_icon(const base::FilePath& icon_in, int icon_index_in) { base 134 chrome/installer/util/shell_util.h void set_app_id(const base::string16& app_id_in) { base 142 chrome/installer/util/shell_util.h void set_shortcut_name(const base::string16& shortcut_name_in) { base 195 chrome/installer/util/shell_util.h base::FilePath target; base 196 chrome/installer/util/shell_util.h base::string16 arguments; base 197 chrome/installer/util/shell_util.h base::string16 description; base 198 chrome/installer/util/shell_util.h base::FilePath icon; base 200 chrome/installer/util/shell_util.h base::string16 app_id; base 201 chrome/installer/util/shell_util.h base::string16 shortcut_name; base 306 chrome/installer/util/shell_util.h const base::string16& chrome_exe, base 307 chrome/installer/util/shell_util.h const base::string16& suffix); base 320 chrome/installer/util/shell_util.h base::FilePath* path); base 339 chrome/installer/util/shell_util.h static base::string16 FormatIconLocation(const base::string16& icon_path, base 345 chrome/installer/util/shell_util.h static base::string16 GetChromeShellOpenCmd(const base::string16& chrome_exe); base 351 chrome/installer/util/shell_util.h static base::string16 GetChromeDelegateCommand( base 352 chrome/installer/util/shell_util.h const base::string16& chrome_exe); base 362 chrome/installer/util/shell_util.h std::map<base::string16, base::string16>* browsers); base 380 chrome/installer/util/shell_util.h static base::string16 GetCurrentInstallationSuffix( base 382 chrome/installer/util/shell_util.h const base::string16& chrome_exe); base 389 chrome/installer/util/shell_util.h static base::string16 GetApplicationName(BrowserDistribution* dist, base 390 chrome/installer/util/shell_util.h const base::string16& chrome_exe); base 396 chrome/installer/util/shell_util.h static base::string16 GetBrowserModelId(BrowserDistribution* dist, base 404 chrome/installer/util/shell_util.h static base::string16 BuildAppModelId( base 405 chrome/installer/util/shell_util.h const std::vector<base::string16>& components); base 418 chrome/installer/util/shell_util.h const base::FilePath& chrome_exe); base 422 chrome/installer/util/shell_util.h const base::string16& protocol); base 444 chrome/installer/util/shell_util.h const base::string16& chrome_exe, base 455 chrome/installer/util/shell_util.h const base::string16& chrome_exe); base 461 chrome/installer/util/shell_util.h const base::string16& chrome_exe, base 462 chrome/installer/util/shell_util.h const base::string16& protocol); base 474 chrome/installer/util/shell_util.h const base::string16& chrome_exe, base 475 chrome/installer/util/shell_util.h const base::string16& protocol); base 503 chrome/installer/util/shell_util.h const base::string16& chrome_exe, base 504 chrome/installer/util/shell_util.h const base::string16& unique_suffix, base 525 chrome/installer/util/shell_util.h const base::string16& chrome_exe, base 526 chrome/installer/util/shell_util.h const base::string16& unique_suffix, base 527 chrome/installer/util/shell_util.h const base::string16& protocol, base 541 chrome/installer/util/shell_util.h const base::FilePath& target_exe); base 555 chrome/installer/util/shell_util.h const base::FilePath& old_target_exe, base 556 chrome/installer/util/shell_util.h const base::FilePath& new_target_exe); base 558 chrome/installer/util/shell_util.h typedef base::RefCountedData<base::CancellationFlag> SharedCancellationFlag; base 568 chrome/installer/util/shell_util.h const base::FilePath& chrome_exe, base 571 chrome/installer/util/shell_util.h std::vector<std::pair<base::FilePath, base::string16> >* shortcuts); base 586 chrome/installer/util/shell_util.h static bool GetUserSpecificRegistrySuffix(base::string16* suffix); base 594 chrome/installer/util/shell_util.h static bool GetOldUserSpecificRegistrySuffix(base::string16* suffix); base 601 chrome/installer/util/shell_util.h static base::string16 ByteArrayToBase32(const uint8* bytes, size_t size); base 48 chrome/installer/util/shell_util_unittest.cc EXPECT_EQ(0, base::WriteFile(chrome_exe_, "", 0)); base 51 chrome/installer/util/shell_util_unittest.cc EXPECT_EQ(0, base::WriteFile(manganese_exe_, "", 0)); base 54 chrome/installer/util/shell_util_unittest.cc EXPECT_EQ(0, base::WriteFile(iron_exe_, "", 0)); base 57 chrome/installer/util/shell_util_unittest.cc EXPECT_EQ(0, base::WriteFile(other_ico_, "", 0)); base 66 chrome/installer/util/shell_util_unittest.cc new base::ScopedPathOverride(base::DIR_USER_DESKTOP, base 69 chrome/installer/util/shell_util_unittest.cc new base::ScopedPathOverride(base::DIR_COMMON_DESKTOP, base 72 chrome/installer/util/shell_util_unittest.cc new base::ScopedPathOverride(base::DIR_USER_QUICK_LAUNCH, base 75 chrome/installer/util/shell_util_unittest.cc new base::ScopedPathOverride(base::DIR_DEFAULT_USER_QUICK_LAUNCH, base 78 chrome/installer/util/shell_util_unittest.cc new base::ScopedPathOverride(base::DIR_START_MENU, base 81 chrome/installer/util/shell_util_unittest.cc new base::ScopedPathOverride(base::DIR_COMMON_START_MENU, base 84 chrome/installer/util/shell_util_unittest.cc base::FilePath icon_path; base 85 chrome/installer/util/shell_util_unittest.cc base::CreateTemporaryFileInDir(temp_dir_.path(), &icon_path); base 96 chrome/installer/util/shell_util_unittest.cc base::FilePath GetExpectedShortcutPath( base 100 chrome/installer/util/shell_util_unittest.cc base::FilePath expected_path; base 120 chrome/installer/util/shell_util_unittest.cc return base::FilePath(); base 123 chrome/installer/util/shell_util_unittest.cc base::string16 shortcut_name = properties.has_shortcut_name() ? base 138 chrome/installer/util/shell_util_unittest.cc base::FilePath expected_path( base 141 chrome/installer/util/shell_util_unittest.cc base::win::ShortcutProperties expected_properties; base 153 chrome/installer/util/shell_util_unittest.cc expected_properties.set_arguments(base::string16()); base 179 chrome/installer/util/shell_util_unittest.cc base::win::ValidateShortcut(expected_path, expected_properties); base 188 chrome/installer/util/shell_util_unittest.cc base::ScopedTempDir temp_dir_; base 189 chrome/installer/util/shell_util_unittest.cc base::ScopedTempDir fake_user_desktop_; base 190 chrome/installer/util/shell_util_unittest.cc base::ScopedTempDir fake_common_desktop_; base 191 chrome/installer/util/shell_util_unittest.cc base::ScopedTempDir fake_user_quick_launch_; base 192 chrome/installer/util/shell_util_unittest.cc base::ScopedTempDir fake_default_user_quick_launch_; base 193 chrome/installer/util/shell_util_unittest.cc base::ScopedTempDir fake_start_menu_; base 194 chrome/installer/util/shell_util_unittest.cc base::ScopedTempDir fake_common_start_menu_; base 195 chrome/installer/util/shell_util_unittest.cc scoped_ptr<base::ScopedPathOverride> user_desktop_override_; base 196 chrome/installer/util/shell_util_unittest.cc scoped_ptr<base::ScopedPathOverride> common_desktop_override_; base 197 chrome/installer/util/shell_util_unittest.cc scoped_ptr<base::ScopedPathOverride> user_quick_launch_override_; base 198 chrome/installer/util/shell_util_unittest.cc scoped_ptr<base::ScopedPathOverride> default_user_quick_launch_override_; base 199 chrome/installer/util/shell_util_unittest.cc scoped_ptr<base::ScopedPathOverride> start_menu_override_; base 200 chrome/installer/util/shell_util_unittest.cc scoped_ptr<base::ScopedPathOverride> common_start_menu_override_; base 202 chrome/installer/util/shell_util_unittest.cc base::FilePath chrome_exe_; base 203 chrome/installer/util/shell_util_unittest.cc base::FilePath manganese_exe_; base 204 chrome/installer/util/shell_util_unittest.cc base::FilePath iron_exe_; base 205 chrome/installer/util/shell_util_unittest.cc base::FilePath other_ico_; base 211 chrome/installer/util/shell_util_unittest.cc base::FilePath path; base 224 chrome/installer/util/shell_util_unittest.cc base::string16 start_menu_subfolder = base 336 chrome/installer/util/shell_util_unittest.cc base::string16 shortcut_name( base 344 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists( base 351 chrome/installer/util/shell_util_unittest.cc ASSERT_FALSE(base::PathExists( base 365 chrome/installer/util/shell_util_unittest.cc base::string16 shortcut_name( base 373 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists( base 380 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists( base 388 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut_path = GetExpectedShortcutPath( base 390 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut_path)); base 395 chrome/installer/util/shell_util_unittest.cc ASSERT_FALSE(base::PathExists(shortcut_path)); base 396 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut_path.DirName())); base 404 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut_path = GetExpectedShortcutPath( base 406 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut_path)); base 411 chrome/installer/util/shell_util_unittest.cc ASSERT_FALSE(base::PathExists(shortcut_path)); base 412 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut_path.DirName())); base 422 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut1_path = GetExpectedShortcutPath( base 424 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut1_path)); base 433 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut2_path = GetExpectedShortcutPath( base 435 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut2_path)); base 444 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut3_path = GetExpectedShortcutPath( base 446 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut3_path)); base 452 chrome/installer/util/shell_util_unittest.cc ASSERT_FALSE(base::PathExists(shortcut1_path)); base 453 chrome/installer/util/shell_util_unittest.cc ASSERT_FALSE(base::PathExists(shortcut2_path)); base 454 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut3_path)); base 455 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut1_path.DirName())); base 462 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(GetExpectedShortcutPath( base 465 chrome/installer/util/shell_util_unittest.cc base::FilePath new_exe = manganese_exe_; base 482 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(GetExpectedShortcutPath( base 485 chrome/installer/util/shell_util_unittest.cc base::FilePath new_exe = manganese_exe_; base 504 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(GetExpectedShortcutPath( base 514 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(GetExpectedShortcutPath( base 520 chrome/installer/util/shell_util_unittest.cc base::FilePath new_exe = manganese_exe_; base 546 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(GetExpectedShortcutPath( base 556 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(GetExpectedShortcutPath( base 567 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(GetExpectedShortcutPath( base 573 chrome/installer/util/shell_util_unittest.cc base::FilePath new_exe = manganese_exe_; base 601 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut1_path = GetExpectedShortcutPath( base 603 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut1_path)); base 612 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut2_path = GetExpectedShortcutPath( base 614 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut2_path)); base 623 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut3_path = GetExpectedShortcutPath( base 625 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut3_path)); base 634 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut4_path = GetExpectedShortcutPath( base 636 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut4_path)); base 640 chrome/installer/util/shell_util_unittest.cc std::vector<std::pair<base::FilePath, base::string16> > shortcuts; base 650 chrome/installer/util/shell_util_unittest.cc std::pair<base::FilePath, base::string16> shortcut3 = base 652 chrome/installer/util/shell_util_unittest.cc std::pair<base::FilePath, base::string16> shortcut4 = base 683 chrome/installer/util/shell_util_unittest.cc expected_properties3.set_arguments(base::string16()); base 710 chrome/installer/util/shell_util_unittest.cc base::FilePath chrome_shortcut_folder( base 714 chrome/installer/util/shell_util_unittest.cc base::FilePath chrome_apps_shortcut_folder( base 719 chrome/installer/util/shell_util_unittest.cc base::FileEnumerator chrome_file_counter(chrome_shortcut_folder, false, base 720 chrome/installer/util/shell_util_unittest.cc base::FileEnumerator::FILES); base 726 chrome/installer/util/shell_util_unittest.cc base::FileEnumerator chrome_apps_file_counter(chrome_apps_shortcut_folder, base 728 chrome/installer/util/shell_util_unittest.cc base::FileEnumerator::FILES); base 734 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(chrome_shortcut_folder)); base 738 chrome/installer/util/shell_util_unittest.cc ASSERT_FALSE(base::PathExists(chrome_shortcut_folder)); base 740 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(chrome_apps_shortcut_folder)); base 744 chrome/installer/util/shell_util_unittest.cc ASSERT_FALSE(base::PathExists(chrome_apps_shortcut_folder)); base 754 chrome/installer/util/shell_util_unittest.cc base::string16 shortcut_name( base 757 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut_path( base 760 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(fake_start_menu_.path())); base 761 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut_path)); base 767 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(fake_start_menu_.path())); base 768 chrome/installer/util/shell_util_unittest.cc ASSERT_FALSE(base::PathExists(shortcut_path)); base 772 chrome/installer/util/shell_util_unittest.cc base::ScopedTempDir other_exe_dir; base 774 chrome/installer/util/shell_util_unittest.cc base::FilePath other_chrome_exe = base 776 chrome/installer/util/shell_util_unittest.cc EXPECT_EQ(0, base::WriteFile(other_chrome_exe, "", 0)); base 783 chrome/installer/util/shell_util_unittest.cc base::string16 shortcut_name( base 786 chrome/installer/util/shell_util_unittest.cc base::FilePath shortcut_path(fake_user_desktop_.path().Append(shortcut_name)); base 787 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut_path)); base 795 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut_path)); base 796 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::PathExists(shortcut_path.DirName())); base 800 chrome/installer/util/shell_util_unittest.cc std::vector<base::string16> components; base 802 chrome/installer/util/shell_util_unittest.cc const base::string16 base_app_id(dist->GetBaseAppId()); base 808 chrome/installer/util/shell_util_unittest.cc std::vector<base::string16> components; base 810 chrome/installer/util/shell_util_unittest.cc const base::string16 suffixed_app_id(dist->GetBaseAppId().append(L".gab")); base 819 chrome/installer/util/shell_util_unittest.cc std::vector<base::string16> components; base 820 chrome/installer/util/shell_util_unittest.cc const base::string16 long_appname( base 830 chrome/installer/util/shell_util_unittest.cc std::vector<base::string16> components; base 831 chrome/installer/util/shell_util_unittest.cc const base::string16 long_appname(L"Chrome.a_user_who_has_a_crazy_long_name_" base 837 chrome/installer/util/shell_util_unittest.cc const base::string16 constructed_app_id( base 845 chrome/installer/util/shell_util_unittest.cc base::string16 suffix; base 849 chrome/installer/util/shell_util_unittest.cc ASSERT_TRUE(base::ContainsOnlyChars(suffix.substr(1), base 854 chrome/installer/util/shell_util_unittest.cc base::string16 suffix; base 869 chrome/installer/util/shell_util_unittest.cc const base::string16 expected[] = { L"", L"MY", L"MZXQ", L"MZXW6", L"MZXW6YQ", base 26 chrome/installer/util/uninstall_metrics.cc const base::DictionaryValue* uninstall_metrics_dict, base 27 chrome/installer/util/uninstall_metrics.cc base::string16* metrics) { base 31 chrome/installer/util/uninstall_metrics.cc for (base::DictionaryValue::Iterator iter(*uninstall_metrics_dict); base 36 chrome/installer/util/uninstall_metrics.cc metrics->append(base::UTF8ToWide(iter.key())); base 41 chrome/installer/util/uninstall_metrics.cc metrics->append(base::UTF8ToWide(value)); base 49 chrome/installer/util/uninstall_metrics.cc bool ExtractUninstallMetrics(const base::DictionaryValue& root, base 50 chrome/installer/util/uninstall_metrics.cc base::string16* uninstall_metrics_string) { base 60 chrome/installer/util/uninstall_metrics.cc const base::DictionaryValue* uninstall_metrics_dict = NULL; base 75 chrome/installer/util/uninstall_metrics.cc bool ExtractUninstallMetricsFromFile(const base::FilePath& file_path, base 76 chrome/installer/util/uninstall_metrics.cc base::string16* uninstall_metrics_string) { base 80 chrome/installer/util/uninstall_metrics.cc scoped_ptr<base::Value> root(json_serializer.Deserialize(NULL, NULL)); base 85 chrome/installer/util/uninstall_metrics.cc if (!root->IsType(base::Value::TYPE_DICTIONARY)) base 89 chrome/installer/util/uninstall_metrics.cc *static_cast<base::DictionaryValue*>(root.get()), base 10 chrome/installer/util/uninstall_metrics.h namespace base { base 18 chrome/installer/util/uninstall_metrics.h bool ExtractUninstallMetrics(const base::DictionaryValue& root, base 19 chrome/installer/util/uninstall_metrics.h base::string16* uninstall_metrics); base 26 chrome/installer/util/uninstall_metrics.h bool ExtractUninstallMetricsFromFile(const base::FilePath& file_path, base 27 chrome/installer/util/uninstall_metrics.h base::string16* uninstall_metrics); base 39 chrome/installer/util/uninstall_metrics_unittest.cc base::string16 expected_url_string( base 49 chrome/installer/util/uninstall_metrics_unittest.cc scoped_ptr<base::Value> root( base 52 chrome/installer/util/uninstall_metrics_unittest.cc base::string16 uninstall_metrics_string; base 55 chrome/installer/util/uninstall_metrics_unittest.cc ExtractUninstallMetrics(*static_cast<base::DictionaryValue*>(root.get()), base 53 chrome/installer/util/user_experiment.cc base::string16 LocalizeUrl(const wchar_t* url) { base 54 chrome/installer/util/user_experiment.cc base::string16 language; base 60 chrome/installer/util/user_experiment.cc base::string16 GetWelcomeBackUrl() { base 79 chrome/installer/util/user_experiment.cc base::win::ScopedHandle file(::CreateFileW(path, 0, share, NULL, base 131 chrome/installer/util/user_experiment.cc base::LaunchOptions options; base 133 chrome/installer/util/user_experiment.cc return base::LaunchProcess(*cmd_line, options, NULL); base 137 chrome/installer/util/user_experiment.cc return base::LaunchProcess(*cmd_line, base::LaunchOptions(), NULL); base 146 chrome/installer/util/user_experiment.cc bool FixDACLsForExecute(const base::FilePath& exe) { base 162 chrome/installer/util/user_experiment.cc base::string16 new_sddl(sddl); base 171 chrome/installer/util/user_experiment.cc if (base::string16::npos != new_sddl.find(L";AU)")) base 176 chrome/installer/util/user_experiment.cc if (base::string16::npos == pos_insert) base 210 chrome/installer/util/user_experiment.cc base::IntToString(key)); base 212 chrome/installer/util/user_experiment.cc if (base::win::GetVersion() > base::win::VERSION_XP) { base 232 chrome/installer/util/user_experiment.cc base::LaunchOptions options; base 237 chrome/installer/util/user_experiment.cc bool launched = base::LaunchProcess(*cmd_line, options, NULL); base 247 chrome/installer/util/user_experiment.cc void SetClient(const base::string16& experiment_group, bool last_write) { base 256 chrome/installer/util/user_experiment.cc base::StringToInt( base 333 chrome/installer/util/user_experiment.cc base::string16 locale; base 335 chrome/installer/util/user_experiment.cc if (locale.empty() || (locale == base::ASCIIToWide("en"))) base 336 chrome/installer/util/user_experiment.cc locale = base::ASCIIToWide("en-US"); base 338 chrome/installer/util/user_experiment.cc base::string16 brand; base 340 chrome/installer/util/user_experiment.cc brand = base::ASCIIToWide(""); // Could still be viable for catch-all rules base 344 chrome/installer/util/user_experiment.cc kExperiments[i].locale != base::ASCIIToWide("*")) base 347 chrome/installer/util/user_experiment.cc std::vector<base::string16> brand_codes; base 348 chrome/installer/util/user_experiment.cc base::SplitString(kExperiments[i].brands, L',', &brand_codes); base 351 chrome/installer/util/user_experiment.cc for (std::vector<base::string16>::iterator it = brand_codes.begin(); base 364 chrome/installer/util/user_experiment.cc flavor = base::RandInt(0, num_flavors - 1); base 412 chrome/installer/util/user_experiment.cc base::string16 base_group = experiment.prefix; base 414 chrome/installer/util/user_experiment.cc base::string16 brand; base 420 chrome/installer/util/user_experiment.cc base::string16 client; base 432 chrome/installer/util/user_experiment.cc base::FilePath user_data_dir(GetChromeUserDataPath(dist)); base 456 chrome/installer/util/user_experiment.cc if (base::RandDouble() > control_group) { base 471 chrome/installer/util/user_experiment.cc base::IntToString(flavor)); base 473 chrome/installer/util/user_experiment.cc base::UTF16ToASCII(base_group)); base 480 chrome/installer/util/user_experiment.cc const base::string16& experiment_group, base 482 chrome/installer/util/user_experiment.cc const base::FilePath& application_path) { base 486 chrome/installer/util/user_experiment.cc base::IntToString16(flavor)); base 488 chrome/installer/util/user_experiment.cc base::string16 url(GetWelcomeBackUrl()); base 493 chrome/installer/util/user_experiment.cc DCHECK_NE(base::string16::npos, base 529 chrome/installer/util/user_experiment.cc base::LaunchProcess(cmd, base::LaunchOptions(), NULL); base 14 chrome/installer/util/user_experiment.h namespace base { base 35 chrome/installer/util/user_experiment.h base::string16 prefix; // The experiment code prefix for this experiment, base 54 chrome/installer/util/user_experiment.h void LaunchBrowserUserExperiment(const base::CommandLine& base_command, base 61 chrome/installer/util/user_experiment.h const base::string16& experiment_group, base 63 chrome/installer/util/user_experiment.h const base::FilePath& application_path); base 16 chrome/installer/util/wmi.cc using base::win::ScopedVariant; base 22 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IWbemLocator> wmi_locator; base 28 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IWbemServices> wmi_services_r; base 29 chrome/installer/util/wmi.cc hr = wmi_locator->ConnectServer(base::win::ScopedBstr(L"ROOT\\CIMV2"), base 58 chrome/installer/util/wmi.cc base::win::ScopedBstr b_class_name(class_name.c_str()); base 59 chrome/installer/util/wmi.cc base::win::ScopedBstr b_method_name(method_name.c_str()); base 60 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IWbemClassObject> class_object; base 67 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IWbemClassObject> params_def; base 97 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IWbemServices> wmi_local; base 103 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IWbemClassObject> process_create; base 113 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IWbemClassObject> out_params; base 114 chrome/installer/util/wmi.cc HRESULT hr = wmi_local->ExecMethod(base::win::ScopedBstr(class_name), base 115 chrome/installer/util/wmi.cc base::win::ScopedBstr(method_name), base 138 chrome/installer/util/wmi.cc base::string16 WMIComputerSystem::GetModel() { base 139 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IWbemServices> services; base 141 chrome/installer/util/wmi.cc return base::string16(); base 143 chrome/installer/util/wmi.cc base::win::ScopedBstr query_language(L"WQL"); base 144 chrome/installer/util/wmi.cc base::win::ScopedBstr query(L"SELECT * FROM Win32_ComputerSystem"); base 145 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IEnumWbemClassObject> enumerator; base 151 chrome/installer/util/wmi.cc return base::string16(); base 153 chrome/installer/util/wmi.cc base::win::ScopedComPtr<IWbemClassObject> class_object; base 158 chrome/installer/util/wmi.cc return base::string16(); base 160 chrome/installer/util/wmi.cc base::win::ScopedVariant manufacturer; base 162 chrome/installer/util/wmi.cc base::win::ScopedVariant model; base 165 chrome/installer/util/wmi.cc base::string16 model_string; base 81 chrome/installer/util/wmi.h static base::string16 GetModel(); base 28 chrome/installer/util/work_item.cc base::Callback<bool(const CallbackWorkItem&)> callback) { base 42 chrome/installer/util/work_item.cc const base::FilePath& source_path, base 43 chrome/installer/util/work_item.cc const base::FilePath& dest_path, base 44 chrome/installer/util/work_item.cc const base::FilePath& temp_dir, base 46 chrome/installer/util/work_item.cc const base::FilePath& alternative_path) { base 52 chrome/installer/util/work_item.cc const base::FilePath& path) { base 74 chrome/installer/util/work_item.cc const base::FilePath& root_path, base 75 chrome/installer/util/work_item.cc const base::FilePath& temp_path, base 76 chrome/installer/util/work_item.cc const std::vector<base::FilePath>& key_paths) { base 81 chrome/installer/util/work_item.cc const base::FilePath& source_path, base 82 chrome/installer/util/work_item.cc const base::FilePath& dest_path, base 83 chrome/installer/util/work_item.cc const base::FilePath& temp_dir, base 33 chrome/installer/util/work_item.h namespace base { base 68 chrome/installer/util/work_item.h base::Callback<bool(const CallbackWorkItem&)> callback); base 84 chrome/installer/util/work_item.h const base::FilePath& source_path, base 85 chrome/installer/util/work_item.h const base::FilePath& dest_path, base 86 chrome/installer/util/work_item.h const base::FilePath& temp_dir, base 88 chrome/installer/util/work_item.h const base::FilePath& alternative_path); base 91 chrome/installer/util/work_item.h static CreateDirWorkItem* CreateCreateDirWorkItem(const base::FilePath& path); base 113 chrome/installer/util/work_item.h const base::FilePath& root_path, base 114 chrome/installer/util/work_item.h const base::FilePath& temp_path, base 115 chrome/installer/util/work_item.h const std::vector<base::FilePath>& key_paths); base 120 chrome/installer/util/work_item.h const base::FilePath& source_path, base 121 chrome/installer/util/work_item.h const base::FilePath& dest_path, base 122 chrome/installer/util/work_item.h const base::FilePath& temp_dir, base 78 chrome/installer/util/work_item_list.cc base::Callback<bool(const CallbackWorkItem&)> callback) { base 102 chrome/installer/util/work_item_list.cc base::FilePath(source_path), base 103 chrome/installer/util/work_item_list.cc base::FilePath(dest_path), base 104 chrome/installer/util/work_item_list.cc base::FilePath(temp_dir), base 106 chrome/installer/util/work_item_list.cc base::FilePath(alternative_path)); base 111 chrome/installer/util/work_item_list.cc WorkItem* WorkItemList::AddCreateDirWorkItem(const base::FilePath& path) { base 142 chrome/installer/util/work_item_list.cc const base::FilePath& root_path, base 143 chrome/installer/util/work_item_list.cc const base::FilePath& temp_path, base 144 chrome/installer/util/work_item_list.cc const std::vector<base::FilePath>& key_paths) { base 151 chrome/installer/util/work_item_list.cc WorkItem* WorkItemList::AddDeleteTreeWorkItem(const base::FilePath& root_path, base 152 chrome/installer/util/work_item_list.cc const base::FilePath& temp_path) { base 153 chrome/installer/util/work_item_list.cc std::vector<base::FilePath> no_key_files; base 161 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateMoveTreeWorkItem(base::FilePath(source_path), base 162 chrome/installer/util/work_item_list.cc base::FilePath(dest_path), base 163 chrome/installer/util/work_item_list.cc base::FilePath(temp_dir), base 18 chrome/installer/util/work_item_list.h namespace base { base 44 chrome/installer/util/work_item_list.h base::Callback<bool(const CallbackWorkItem&)> callback); base 63 chrome/installer/util/work_item_list.h virtual WorkItem* AddCreateDirWorkItem(const base::FilePath& path); base 85 chrome/installer/util/work_item_list.h const base::FilePath& root_path, base 86 chrome/installer/util/work_item_list.h const base::FilePath& temp_path, base 87 chrome/installer/util/work_item_list.h const std::vector<base::FilePath>& key_paths); base 90 chrome/installer/util/work_item_list.h virtual WorkItem* AddDeleteTreeWorkItem(const base::FilePath& root_path, base 91 chrome/installer/util/work_item_list.h const base::FilePath& temp_path); base 19 chrome/installer/util/work_item_list_unittest.cc using base::win::RegKey; base 48 chrome/installer/util/work_item_list_unittest.cc base::ScopedTempDir temp_dir_; base 58 chrome/installer/util/work_item_list_unittest.cc base::FilePath top_dir_to_create(temp_dir_.path()); base 60 chrome/installer/util/work_item_list_unittest.cc base::FilePath dir_to_create(top_dir_to_create); base 62 chrome/installer/util/work_item_list_unittest.cc ASSERT_FALSE(base::PathExists(dir_to_create)); base 69 chrome/installer/util/work_item_list_unittest.cc key_to_create.push_back(base::FilePath::kSeparators[0]); base 93 chrome/installer/util/work_item_list_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create)); base 102 chrome/installer/util/work_item_list_unittest.cc EXPECT_FALSE(base::PathExists(top_dir_to_create)); base 110 chrome/installer/util/work_item_list_unittest.cc base::FilePath top_dir_to_create(temp_dir_.path()); base 112 chrome/installer/util/work_item_list_unittest.cc base::FilePath dir_to_create(top_dir_to_create); base 114 chrome/installer/util/work_item_list_unittest.cc ASSERT_FALSE(base::PathExists(dir_to_create)); base 121 chrome/installer/util/work_item_list_unittest.cc key_to_create.push_back(base::FilePath::kSeparators[0]); base 129 chrome/installer/util/work_item_list_unittest.cc not_created_key.push_back(base::FilePath::kSeparators[0]); base 151 chrome/installer/util/work_item_list_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create)); base 161 chrome/installer/util/work_item_list_unittest.cc EXPECT_FALSE(base::PathExists(top_dir_to_create)); base 168 chrome/installer/util/work_item_list_unittest.cc base::FilePath top_dir_to_create(temp_dir_.path()); base 170 chrome/installer/util/work_item_list_unittest.cc base::FilePath dir_to_create(top_dir_to_create); base 172 chrome/installer/util/work_item_list_unittest.cc ASSERT_FALSE(base::PathExists(dir_to_create)); base 183 chrome/installer/util/work_item_list_unittest.cc key_to_create.push_back(base::FilePath::kSeparators[0]); base 208 chrome/installer/util/work_item_list_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create)); base 217 chrome/installer/util/work_item_list_unittest.cc EXPECT_FALSE(base::PathExists(top_dir_to_create)); base 224 chrome/installer/util/work_item_list_unittest.cc base::FilePath top_dir_to_create(temp_dir_.path()); base 226 chrome/installer/util/work_item_list_unittest.cc base::FilePath dir_to_create(top_dir_to_create); base 228 chrome/installer/util/work_item_list_unittest.cc ASSERT_FALSE(base::PathExists(dir_to_create)); base 239 chrome/installer/util/work_item_list_unittest.cc key_to_create.push_back(base::FilePath::kSeparators[0]); base 266 chrome/installer/util/work_item_list_unittest.cc EXPECT_TRUE(base::PathExists(dir_to_create)); base 275 chrome/installer/util/work_item_list_unittest.cc EXPECT_FALSE(base::PathExists(top_dir_to_create)); base 15 chrome/nacl/nacl_exe_win_64.cc base::LazyInstance<chrome::ChromeBreakpadClient>::Leaky base 21 chrome/nacl/nacl_exe_win_64.cc base::AtExitManager exit_manager; base 33 chrome/plugin/chrome_content_plugin_client.cc base::NativeLibraryLoadError error; base 34 chrome/plugin/chrome_content_plugin_client.cc if (base::LoadNativeLibrary(base::FilePath(L"crypt32.dll"), &error) == NULL) base 39 chrome/plugin/chrome_content_plugin_client.cc base::FilePath media_path; base 23 chrome/renderer/autofill/autofill_renderer_browsertest.cc using base::ASCIIToUTF16; base 86 chrome/renderer/autofill/autofill_renderer_browsertest.cc expected.value = base::string16(); base 92 chrome/renderer/autofill/autofill_renderer_browsertest.cc expected.value = base::string16(); base 98 chrome/renderer/autofill/autofill_renderer_browsertest.cc expected.value = base::string16(); base 207 chrome/renderer/autofill/autofill_renderer_browsertest.cc LoadHTML(base::StringPrintf(kDoubleIframeHtml, url.spec().c_str()).c_str()); base 39 chrome/renderer/autofill/form_autocomplete_browsertest.cc Tuple2<FormData, base::TimeTicks> forms; base 88 chrome/renderer/autofill/form_autocomplete_browsertest.cc Tuple2<FormData, base::TimeTicks> forms; base 31 chrome/renderer/autofill/form_autofill_browsertest.cc using base::ASCIIToUTF16; base 96 chrome/renderer/autofill/form_autofill_browsertest.cc const std::vector<base::string16>& labels, base 97 chrome/renderer/autofill/form_autofill_browsertest.cc const std::vector<base::string16>& names, base 98 chrome/renderer/autofill/form_autofill_browsertest.cc const std::vector<base::string16>& values) { base 104 chrome/renderer/autofill/form_autofill_browsertest.cc const std::vector<base::string16>& labels, base 105 chrome/renderer/autofill/form_autofill_browsertest.cc const std::vector<base::string16>& names, base 106 chrome/renderer/autofill/form_autofill_browsertest.cc const std::vector<base::string16>& values, base 138 chrome/renderer/autofill/form_autofill_browsertest.cc SCOPED_TRACE(base::StringPrintf("i: %" PRIuS, i)); base 144 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 204 chrome/renderer/autofill/form_autofill_browsertest.cc SCOPED_TRACE(base::StringPrintf("Verify initial value for field %s", base 230 chrome/renderer/autofill/form_autofill_browsertest.cc SCOPED_TRACE(base::StringPrintf("Verify autofilled value for field %s", base 305 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 453 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 1510 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 1578 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 1637 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 1689 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 1846 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 1900 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 1944 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 1979 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 2042 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 2046 chrome/renderer/autofill/form_autofill_browsertest.cc values.push_back(base::string16()); base 2050 chrome/renderer/autofill/form_autofill_browsertest.cc values.push_back(base::string16()); base 2054 chrome/renderer/autofill/form_autofill_browsertest.cc values.push_back(base::string16()); base 2070 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 2074 chrome/renderer/autofill/form_autofill_browsertest.cc values.push_back(base::string16()); base 2078 chrome/renderer/autofill/form_autofill_browsertest.cc values.push_back(base::string16()); base 2082 chrome/renderer/autofill/form_autofill_browsertest.cc values.push_back(base::string16()); base 2086 chrome/renderer/autofill/form_autofill_browsertest.cc values.push_back(base::string16()); base 2088 chrome/renderer/autofill/form_autofill_browsertest.cc labels.push_back(base::string16()); base 2090 chrome/renderer/autofill/form_autofill_browsertest.cc values.push_back(base::string16()); base 2498 chrome/renderer/autofill/form_autofill_browsertest.cc EXPECT_EQ(base::string16(), form.name); base 2535 chrome/renderer/autofill/form_autofill_browsertest.cc EXPECT_EQ(base::string16(), form2.name); base 2676 chrome/renderer/autofill/form_autofill_browsertest.cc expected.label = base::string16(); base 2682 chrome/renderer/autofill/form_autofill_browsertest.cc expected.label = base::string16(); base 2738 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 2743 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 2854 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 2858 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 2862 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 2874 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 2883 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 2891 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 2956 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 2962 chrome/renderer/autofill/form_autofill_browsertest.cc expected.value = base::string16(); base 3213 chrome/renderer/autofill/form_autofill_browsertest.cc std::vector<base::string16> labels, names, values; base 29 chrome/renderer/autofill/password_autofill_agent_browsertest.cc using base::ASCIIToUTF16; base 30 chrome/renderer/autofill/password_autofill_agent_browsertest.cc using base::UTF16ToUTF8; base 273 chrome/renderer/autofill/password_autofill_agent_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 274 chrome/renderer/autofill/password_autofill_agent_browsertest.cc &PasswordAutofillAgentTest::LayoutMainFrame, base::Unretained(this))); base 276 chrome/renderer/autofill/password_autofill_agent_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 375 chrome/renderer/autofill/password_autofill_agent_browsertest.cc base::string16 username1_; base 376 chrome/renderer/autofill/password_autofill_agent_browsertest.cc base::string16 username2_; base 377 chrome/renderer/autofill/password_autofill_agent_browsertest.cc base::string16 username3_; base 378 chrome/renderer/autofill/password_autofill_agent_browsertest.cc base::string16 password1_; base 379 chrome/renderer/autofill/password_autofill_agent_browsertest.cc base::string16 password2_; base 380 chrome/renderer/autofill/password_autofill_agent_browsertest.cc base::string16 password3_; base 381 chrome/renderer/autofill/password_autofill_agent_browsertest.cc base::string16 alternate_username3_; base 39 chrome/renderer/autofill/password_generation_agent_browsertest.cc GURL(base::StringPrintf("data:text/html;charset=utf-8,%s", form_str)); base 47 chrome/renderer/autofill/password_generation_agent_browsertest.cc GURL(base::StringPrintf("data:text/html;charset=utf-8,%s", form_str)); base 62 chrome/renderer/autofill/password_generation_agent_browsertest.cc base::StringPrintf("document.getElementById('%s').focus();", base 159 chrome/renderer/autofill/password_generation_agent_browsertest.cc base::string16 password = base::ASCIIToUTF16("random_password"); base 191 chrome/renderer/autofill/password_generation_agent_browsertest.cc base::string16 password = base::ASCIIToUTF16("random_password"); base 200 chrome/renderer/autofill/password_generation_agent_browsertest.cc base::string16 edited_password = base::ASCIIToUTF16("edited_password"); base 207 chrome/renderer/autofill/password_generation_agent_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 93 chrome/renderer/benchmarking_extension.cc if (!args.Length() || !args[0]->IsString() || !base::StatsTable::current()) base 98 chrome/renderer/benchmarking_extension.cc int counter = base::StatsTable::current()->GetCounterValue(name); base 104 chrome/renderer/benchmarking_extension.cc if (!args.Length() || !args[0]->IsString() || !base::StatsTable::current()) base 109 chrome/renderer/benchmarking_extension.cc int counter = base::StatsTable::current()->GetCounterValue( base 111 chrome/renderer/benchmarking_extension.cc base::GetCurrentProcId()); base 122 chrome/renderer/benchmarking_extension.cc static_cast<double>(base::TimeTicks::HighResNow().ToInternalValue())); base 127 chrome/renderer/chrome_content_renderer_client.cc using base::ASCIIToUTF16; base 128 chrome/renderer/chrome_content_renderer_client.cc using base::UserMetricsAction; base 155 chrome/renderer/chrome_content_renderer_client.cc static void AppendParams(const std::vector<base::string16>& additional_names, base 156 chrome/renderer/chrome_content_renderer_client.cc const std::vector<base::string16>& additional_values, base 440 chrome/renderer/chrome_content_renderer_client.cc base::debug::SetCrashKeyValue(crash_keys::kNumberOfViews, base 441 chrome/renderer/chrome_content_renderer_client.cc base::IntToString(number_of_views)); base 506 chrome/renderer/chrome_content_renderer_client.cc const base::FilePath& plugin_path) { base 514 chrome/renderer/chrome_content_renderer_client.cc const base::Closure& closure) { base 538 chrome/renderer/chrome_content_renderer_client.cc const base::string16& group_name = output.group_name; base 552 chrome/renderer/chrome_content_renderer_client.cc base::StringPiece template_html( base 856 chrome/renderer/chrome_content_renderer_client.cc base::string16 nacl_attr = ASCIIToUTF16(kNaClPluginManifestAttribute); base 951 chrome/renderer/chrome_content_renderer_client.cc std::vector<base::string16> param_names; base 952 chrome/renderer/chrome_content_renderer_client.cc std::vector<base::string16> param_values; base 1008 chrome/renderer/chrome_content_renderer_client.cc base::string16* error_description) { base 1026 chrome/renderer/chrome_content_renderer_client.cc const base::StringPiece template_html( base 1032 chrome/renderer/chrome_content_renderer_client.cc base::DictionaryValue error_strings; base 1422 chrome/renderer/chrome_content_renderer_client.cc const base::string16& source) const { base 79 chrome/renderer/chrome_content_renderer_client.h const base::FilePath& plugin_path) OVERRIDE; base 90 chrome/renderer/chrome_content_renderer_client.h base::string16* error_description) OVERRIDE; base 92 chrome/renderer/chrome_content_renderer_client.h const base::Closure& closure) OVERRIDE; base 125 chrome/renderer/chrome_content_renderer_client.h const base::string16& source) const OVERRIDE; base 37 chrome/renderer/chrome_content_renderer_client_browsertest.cc base::MessageLoopProxy::current()); base 75 chrome/renderer/chrome_content_renderer_client_unittest.cc mime_type_info.additional_param_names.push_back(base::UTF8ToUTF16("nacl")); base 77 chrome/renderer/chrome_content_renderer_client_unittest.cc base::UTF8ToUTF16(manifest_url)); base 95 chrome/renderer/chrome_content_renderer_client_unittest.cc base::DictionaryValue manifest; base 100 chrome/renderer/chrome_content_renderer_client_unittest.cc base::ListValue* url_list = new base::ListValue(); base 101 chrome/renderer/chrome_content_renderer_client_unittest.cc url_list->Append(base::Value::CreateStringValue(app_url)); base 106 chrome/renderer/chrome_content_renderer_client_unittest.cc return extensions::Extension::Create(base::FilePath(), location, manifest, base 40 chrome/renderer/chrome_mock_render_thread.cc scoped_refptr<base::MessageLoopProxy> base 46 chrome/renderer/chrome_mock_render_thread.cc const scoped_refptr<base::MessageLoopProxy>& proxy) { base 100 chrome/renderer/chrome_mock_render_thread.cc base::FileDescriptor* renderer_fd, base 105 chrome/renderer/chrome_mock_render_thread.cc base::FilePath path; base 106 chrome/renderer/chrome_mock_render_thread.cc if (base::CreateTemporaryFile(&path)) { base 165 chrome/renderer/chrome_mock_render_thread.cc const base::DictionaryValue& job_settings, base 186 chrome/renderer/chrome_mock_render_thread.cc const base::ListValue* page_range_array; base 190 chrome/renderer/chrome_mock_render_thread.cc const base::DictionaryValue* dict; base 13 chrome/renderer/chrome_mock_render_thread.h namespace base { base 34 chrome/renderer/chrome_mock_render_thread.h virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() base 42 chrome/renderer/chrome_mock_render_thread.h const scoped_refptr<base::MessageLoopProxy>& proxy); base 74 chrome/renderer/chrome_mock_render_thread.h base::FileDescriptor* renderer_fd, base 98 chrome/renderer/chrome_mock_render_thread.h const base::DictionaryValue& job_settings, base 115 chrome/renderer/chrome_mock_render_thread.h scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 75 chrome/renderer/chrome_render_process_observer.cc base::MessageLoop::current()->PostDelayedTask( base 77 chrome/renderer/chrome_render_process_observer.cc base::Bind(&RendererResourceDelegate::InformHostOfCacheStats, base 79 chrome/renderer/chrome_render_process_observer.cc base::TimeDelta::FromMilliseconds(kCacheStatsDelayMS)); base 106 chrome/renderer/chrome_render_process_observer.cc base::WeakPtrFactory<RendererResourceDelegate> weak_factory_; base 112 chrome/renderer/chrome_render_process_observer.cc static base::win::IATPatchFunction g_iat_patch_createdca; base 126 chrome/renderer/chrome_render_process_observer.cc static base::win::IATPatchFunction g_iat_patch_get_font_data; base 158 chrome/renderer/chrome_render_process_observer.cc void CollectOnWorkerThread(scoped_refptr<base::TaskRunner> master, base 179 chrome/renderer/chrome_render_process_observer.cc base::Closure collect = base::Bind( base 181 chrome/renderer/chrome_render_process_observer.cc base::Unretained(this), base 182 chrome/renderer/chrome_render_process_observer.cc base::MessageLoopProxy::current(), base 188 chrome/renderer/chrome_render_process_observer.cc base::MessageLoopProxy::current()->PostDelayedTask( base 190 chrome/renderer/chrome_render_process_observer.cc base::Bind(&HeapStatisticsCollector::SendStatsToBrowser, base 191 chrome/renderer/chrome_render_process_observer.cc base::Unretained(this), base 193 chrome/renderer/chrome_render_process_observer.cc base::TimeDelta::FromMilliseconds(kWaitForWorkersStatsTimeoutMS)); base 201 chrome/renderer/chrome_render_process_observer.cc scoped_refptr<base::TaskRunner> master, base 215 chrome/renderer/chrome_render_process_observer.cc base::Bind(&HeapStatisticsCollector::ReceiveStats, base 216 chrome/renderer/chrome_render_process_observer.cc base::Unretained(this), base 278 chrome/renderer/chrome_render_process_observer.cc base::FilePath pdf; base 280 chrome/renderer/chrome_render_process_observer.cc base::PathExists(pdf)) { base 297 chrome/renderer/chrome_render_process_observer.cc base::LoadNativeLibrary(base::FilePath(L"crypt32.dll"), NULL); base 339 chrome/renderer/chrome_render_process_observer.cc WebString native_scheme(base::ASCIIToUTF16(chrome::kChromeNativeScheme)); base 393 chrome/renderer/chrome_render_process_observer.cc base::FieldTrial* trial = base 394 chrome/renderer/chrome_render_process_observer.cc base::FieldTrialList::CreateFieldTrial(field_trial_name, group_name); base 120 chrome/renderer/chrome_render_view_observer.cc base::string16* message, base 121 chrome/renderer/chrome_render_view_observer.cc const base::string16& source, base 122 chrome/renderer/chrome_render_view_observer.cc const base::string16& stack_trace, base 125 chrome/renderer/chrome_render_view_observer.cc std::vector<base::string16> pieces; base 128 chrome/renderer/chrome_render_view_observer.cc if (message->find(base::UTF8ToUTF16(kStackFrameDelimiter)) != base 129 chrome/renderer/chrome_render_view_observer.cc base::string16::npos) { base 130 chrome/renderer/chrome_render_view_observer.cc base::SplitStringUsingSubstr(*message, base 131 chrome/renderer/chrome_render_view_observer.cc base::UTF8ToUTF16(kStackFrameDelimiter), base 136 chrome/renderer/chrome_render_view_observer.cc base::SplitStringUsingSubstr(stack_trace, base 137 chrome/renderer/chrome_render_view_observer.cc base::UTF8ToUTF16(kStackFrameDelimiter), base 156 chrome/renderer/chrome_render_view_observer.cc base::string16() /* no function name */ )); base 256 chrome/renderer/chrome_render_view_observer.cc const base::string16& javascript) { base 405 chrome/renderer/chrome_render_view_observer.cc base::TimeDelta::FromMilliseconds( base 419 chrome/renderer/chrome_render_view_observer.cc base::TimeDelta::FromMilliseconds(kDelayForForcedCaptureMs)); base 423 chrome/renderer/chrome_render_view_observer.cc const base::string16& message, base 424 chrome/renderer/chrome_render_view_observer.cc const base::string16& source, base 425 chrome/renderer/chrome_render_view_observer.cc const base::string16& stack_trace_string, base 428 chrome/renderer/chrome_render_view_observer.cc base::string16 trimmed_message = message; base 443 chrome/renderer/chrome_render_view_observer.cc base::TimeDelta delay) { base 447 chrome/renderer/chrome_render_view_observer.cc base::Bind(&ChromeRenderViewObserver::CapturePageInfo, base 448 chrome/renderer/chrome_render_view_observer.cc base::Unretained(this), base 484 chrome/renderer/chrome_render_view_observer.cc base::string16 contents; base 485 chrome/renderer/chrome_render_view_observer.cc base::TimeTicks capture_begin_time = base::TimeTicks::Now(); base 488 chrome/renderer/chrome_render_view_observer.cc base::TimeTicks::Now() - capture_begin_time); base 535 chrome/renderer/chrome_render_view_observer.cc base::string16* contents) { base 559 chrome/renderer/chrome_render_view_observer.cc size_t last_space_index = contents->find_last_of(base::kWhitespaceUTF16); base 560 chrome/renderer/chrome_render_view_observer.cc if (last_space_index == base::string16::npos) base 573 chrome/renderer/chrome_render_view_observer.cc const WebString tag_name(base::ASCIIToUTF16("meta")); base 574 chrome/renderer/chrome_render_view_observer.cc const WebString attribute_name(base::ASCIIToUTF16("http-equiv")); base 54 chrome/renderer/chrome_render_view_observer.h virtual void DetailedConsoleMessageAdded(const base::string16& message, base 55 chrome/renderer/chrome_render_view_observer.h const base::string16& source, base 56 chrome/renderer/chrome_render_view_observer.h const base::string16& stack_trace, base 61 chrome/renderer/chrome_render_view_observer.h void OnWebUIJavaScript(const base::string16& javascript); base 77 chrome/renderer/chrome_render_view_observer.h base::TimeDelta delay); base 85 chrome/renderer/chrome_render_view_observer.h void CaptureText(blink::WebFrame* frame, base::string16* contents); base 94 chrome/renderer/chrome_render_view_observer.h base::string16 webui_javascript_; base 115 chrome/renderer/chrome_render_view_observer.h base::Timer capture_timer_; base 11 chrome/renderer/extensions/activity_log_converter_strategy.cc base::Value** out, base 17 chrome/renderer/extensions/activity_log_converter_strategy.cc base::Value** out, base 24 chrome/renderer/extensions/activity_log_converter_strategy.cc base::Value** out, base 53 chrome/renderer/extensions/activity_log_converter_strategy.cc *out = new base::StringValue(std::string(*v8::String::Utf8Value(name))); base 25 chrome/renderer/extensions/activity_log_converter_strategy.h base::Value** out, base 28 chrome/renderer/extensions/activity_log_converter_strategy.h base::Value** out, base 33 chrome/renderer/extensions/activity_log_converter_strategy.h base::Value** out, base 34 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc scoped_ptr<base::Value> value( base 36 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc if (value->IsType(base::Value::TYPE_NULL)) base 44 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc scoped_ptr<base::Value> value( base 46 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc if (value->IsType(base::Value::TYPE_BOOLEAN) base 56 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc scoped_ptr<base::Value> value( base 58 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc if (value->IsType(base::Value::TYPE_INTEGER) base 68 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc scoped_ptr<base::Value> value( base 70 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc if (value->IsType(base::Value::TYPE_DOUBLE) base 80 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc scoped_ptr<base::Value> value( base 82 chrome/renderer/extensions/activity_log_converter_strategy_unittest.cc if (value->IsType(base::Value::TYPE_STRING) base 21 chrome/renderer/extensions/api_activity_logger.cc RouteFunction("LogEvent", base::Bind(&APIActivityLogger::LogEvent)); base 22 chrome/renderer/extensions/api_activity_logger.cc RouteFunction("LogAPICall", base::Bind(&APIActivityLogger::LogAPICall)); base 61 chrome/renderer/extensions/api_activity_logger.cc scoped_ptr<base::ListValue> arg_list(new base::ListValue()); base 18 chrome/renderer/extensions/api_definitions_natives.cc base::Bind( base 20 chrome/renderer/extensions/api_definitions_natives.cc base::Unretained(this))); base 64 chrome/renderer/extensions/app_bindings.cc base::Bind(&AppBindings::GetIsInstalled, base::Unretained(this))); base 66 chrome/renderer/extensions/app_bindings.cc base::Bind(&AppBindings::GetDetails, base::Unretained(this))); base 68 chrome/renderer/extensions/app_bindings.cc base::Bind(&AppBindings::GetDetailsForFrame, base::Unretained(this))); base 70 chrome/renderer/extensions/app_bindings.cc base::Bind(&AppBindings::GetInstallState, base::Unretained(this))); base 72 chrome/renderer/extensions/app_bindings.cc base::Bind(&AppBindings::GetRunningState, base::Unretained(this))); base 136 chrome/renderer/extensions/app_bindings.cc scoped_ptr<base::DictionaryValue> manifest_copy( base 50 chrome/renderer/extensions/app_runtime_custom_bindings.cc DCHECK(base::StringToInt64(blob_length_string, &blob_length)); base 63 chrome/renderer/extensions/app_runtime_custom_bindings.cc RouteFunction("DeserializeString", base::Bind(&DeserializeString)); base 64 chrome/renderer/extensions/app_runtime_custom_bindings.cc RouteFunction("SerializeToString", base::Bind(&SerializeToString)); base 65 chrome/renderer/extensions/app_runtime_custom_bindings.cc RouteFunction("CreateBlob", base::Bind(&CreateBlob)); base 61 chrome/renderer/extensions/app_window_custom_bindings.cc base::Bind(&AppWindowCustomBindings::GetView, base 62 chrome/renderer/extensions/app_window_custom_bindings.cc base::Unretained(this))); base 65 chrome/renderer/extensions/app_window_custom_bindings.cc base::Bind(&AppWindowCustomBindings::GetWindowControlsHtmlTemplate, base 66 chrome/renderer/extensions/app_window_custom_bindings.cc base::Unretained(this))); base 120 chrome/renderer/extensions/app_window_custom_bindings.cc base::Value* value = base::Value::CreateStringValue( base 28 chrome/renderer/extensions/blob_native_handler.cc RouteFunction("GetBlobUuid", base::Bind(&GetBlobUuid)); base 75 chrome/renderer/extensions/cast_streaming_native_handler.cc !base::Base64Decode(*ext_params.aes_key, &cast_params->aes_key)) { base 81 chrome/renderer/extensions/cast_streaming_native_handler.cc !base::Base64Decode(*ext_params.aes_iv_mask, base 154 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::CreateCastSession, base 155 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 157 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::DestroyCastRtpStream, base 158 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 160 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::GetSupportedParamsCastRtpStream, base 161 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 163 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::StartCastRtpStream, base 164 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 166 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::StopCastRtpStream, base 167 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 169 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::DestroyCastUdpTransport, base 170 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 172 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::SetDestinationCastUdpTransport, base 173 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 175 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::ToggleLogging, base 176 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 178 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::GetRawEvents, base 179 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 181 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::GetStats, base 182 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Unretained(this))); base 214 chrome/renderer/extensions/cast_streaming_native_handler.cc base::MessageLoop::current()->PostTask( base 216 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind( base 219 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Passed(&stream1), base 220 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Passed(&stream2), base 221 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Passed(&udp_transport))); base 312 chrome/renderer/extensions/cast_streaming_native_handler.cc scoped_ptr<base::DictionaryValue> params_value = params.ToValue(); base 332 chrome/renderer/extensions/cast_streaming_native_handler.cc scoped_ptr<base::Value> params_value( base 351 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Closure start_callback = base 352 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::CallStartCallback, base 355 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Closure stop_callback = base 356 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::CallStopCallback, base 360 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::CallErrorCallback, base 401 chrome/renderer/extensions/cast_streaming_native_handler.cc scoped_ptr<base::Value> destination_value( base 455 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::CallGetRawEventsCallback, base 476 chrome/renderer/extensions/cast_streaming_native_handler.cc base::Bind(&CastStreamingNativeHandler::CallGetStatsCallback, base 483 chrome/renderer/extensions/cast_streaming_native_handler.cc scoped_ptr<base::BinaryValue> raw_events) { base 502 chrome/renderer/extensions/cast_streaming_native_handler.cc scoped_ptr<base::DictionaryValue> stats) { base 19 chrome/renderer/extensions/cast_streaming_native_handler.h namespace base { base 71 chrome/renderer/extensions/cast_streaming_native_handler.h scoped_ptr<base::BinaryValue> raw_events); base 73 chrome/renderer/extensions/cast_streaming_native_handler.h scoped_ptr<base::DictionaryValue> stats); base 88 chrome/renderer/extensions/cast_streaming_native_handler.h base::WeakPtrFactory<CastStreamingNativeHandler> weak_factory_; base 158 chrome/renderer/extensions/chrome_v8_context.cc const base::ListValue& response, base 123 chrome/renderer/extensions/chrome_v8_context.h const base::ListValue& response, base 54 chrome/renderer/extensions/chrome_v8_context_set.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, context); base 88 chrome/renderer/extensions/chrome_v8_context_set.cc const base::Callback<void(ChromeV8Context*)>& callback) const { base 17 chrome/renderer/extensions/chrome_v8_context_set.h namespace base { base 73 chrome/renderer/extensions/chrome_v8_context_set.h const base::Callback<void(ChromeV8Context*)>& callback) const; base 17 chrome/renderer/extensions/chrome_v8_context_set_unittest.cc base::MessageLoop loop; base 59 chrome/renderer/extensions/console.cc base::debug::Alias(&minidump); base 60 chrome/renderer/extensions/console.cc base::snprintf(minidump, arraysize(minidump), base 138 chrome/renderer/extensions/console.cc blink::WebConsoleMessage(target_level, base::UTF8ToUTF16(message))); base 96 chrome/renderer/extensions/content_watcher.cc std::set<base::StringPiece> transitive_selectors; base 109 chrome/renderer/extensions/content_watcher.cc for (std::set<base::StringPiece>::const_iterator base 29 chrome/renderer/extensions/context_menus_custom_bindings.cc RouteFunction("GetNextContextMenuId", base::Bind(&GetNextContextMenuId)); base 19 chrome/renderer/extensions/css_native_handler.cc base::Bind(&CssNativeHandler::CanonicalizeCompoundSelector, base 20 chrome/renderer/extensions/css_native_handler.cc base::Unretained(this))); base 109 chrome/renderer/extensions/dispatcher.cc using base::UserMetricsAction; base 158 chrome/renderer/extensions/dispatcher.cc base::Bind(&TestFeaturesNativeHandler::GetAPIFeatures, base 159 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 164 chrome/renderer/extensions/dispatcher.cc base::Value* value = base::JSONReader::Read( base 179 chrome/renderer/extensions/dispatcher.cc base::Bind(&UserGesturesNativeHandler::IsProcessingUserGesture, base 180 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 182 chrome/renderer/extensions/dispatcher.cc base::Bind(&UserGesturesNativeHandler::RunWithUserGesture, base 183 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 185 chrome/renderer/extensions/dispatcher.cc base::Bind(&UserGesturesNativeHandler::RunWithoutUserGesture, base 186 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 225 chrome/renderer/extensions/dispatcher.cc base::Bind(&V8ContextNativeHandler::GetAvailability, base 226 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 228 chrome/renderer/extensions/dispatcher.cc base::Bind(&V8ContextNativeHandler::GetModuleSystem, base 229 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 268 chrome/renderer/extensions/dispatcher.cc base::Bind(&ChromeNativeHandler::GetChrome, base::Unretained(this))); base 281 chrome/renderer/extensions/dispatcher.cc base::Bind(&PrintNativeHandler::Print, base 282 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 303 chrome/renderer/extensions/dispatcher.cc base::Bind(&LazyBackgroundPageNativeHandler::IncrementKeepaliveCount, base 304 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 306 chrome/renderer/extensions/dispatcher.cc base::Bind(&LazyBackgroundPageNativeHandler::DecrementKeepaliveCount, base 307 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 360 chrome/renderer/extensions/dispatcher.cc base::Bind(&ProcessInfoNativeHandler::GetExtensionId, base 361 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 363 chrome/renderer/extensions/dispatcher.cc base::Bind(&ProcessInfoNativeHandler::GetContextType, base 364 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 366 chrome/renderer/extensions/dispatcher.cc base::Bind(&ProcessInfoNativeHandler::InIncognitoContext, base 367 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 369 chrome/renderer/extensions/dispatcher.cc base::Bind(&ProcessInfoNativeHandler::GetManifestVersion, base 370 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 372 chrome/renderer/extensions/dispatcher.cc base::Bind(&ProcessInfoNativeHandler::IsSendRequestDisabled, base 373 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 375 chrome/renderer/extensions/dispatcher.cc base::Bind(&ProcessInfoNativeHandler::HasSwitch, base 376 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 435 chrome/renderer/extensions/dispatcher.cc const base::ListValue* args, base 444 chrome/renderer/extensions/dispatcher.cc for (base::ListValue::const_iterator it = args->begin(); it != args->end(); base 522 chrome/renderer/extensions/dispatcher.cc forced_idle_timer_.reset(new base::RepeatingTimer<content::RenderThread>); base 524 chrome/renderer/extensions/dispatcher.cc base::TimeDelta::FromMilliseconds(kMaxExtensionIdleHandlerDelayMs), base 550 chrome/renderer/extensions/dispatcher.cc base::TimeDelta::FromMilliseconds(forced_delay_ms), base 580 chrome/renderer/extensions/dispatcher.cc const base::ListValue& args, base 589 chrome/renderer/extensions/dispatcher.cc const base::DictionaryValue& source_tab, base 793 chrome/renderer/extensions/dispatcher.cc base::SplitString(api_name, '.', &split); base 1232 chrome/renderer/extensions/dispatcher.cc std::string id_hash = base::SHA1HashString(extension->id()); base 1233 chrome/renderer/extensions/dispatcher.cc std::string hexencoded_id_hash = base::HexEncode(id_hash.c_str(), base 1342 chrome/renderer/extensions/dispatcher.cc base::debug::Alias(&minidump); base 1343 chrome/renderer/extensions/dispatcher.cc base::snprintf(minidump, arraysize(minidump), base 1420 chrome/renderer/extensions/dispatcher.cc base::Bind(&Dispatcher::AddOrRemoveBindingsForContext, base 1421 chrome/renderer/extensions/dispatcher.cc base::Unretained(this))); base 1499 chrome/renderer/extensions/dispatcher.cc base::SharedMemoryHandle scripts) { base 1500 chrome/renderer/extensions/dispatcher.cc DCHECK(base::SharedMemory::IsHandleValid(scripts)) << "Bad scripts handle"; base 1606 chrome/renderer/extensions/dispatcher.cc const base::ListValue& response, base 1630 chrome/renderer/extensions/dispatcher.cc std::string error_msg = base::StringPrintf(kMessage, function_name.c_str()); base 1648 chrome/renderer/extensions/dispatcher.cc base::ListValue args; base 1649 chrome/renderer/extensions/dispatcher.cc args.Set(0, new base::StringValue(event_name)); base 1650 chrome/renderer/extensions/dispatcher.cc args.Set(1, new base::ListValue()); base 1657 chrome/renderer/extensions/dispatcher.cc base::Bind(&CallModuleMethod, base 1668 chrome/renderer/extensions/dispatcher.cc const base::ListValue& args, base 1677 chrome/renderer/extensions/dispatcher.cc base::Bind(&CallModuleMethod, module_name, function_name, &args)); base 41 chrome/renderer/extensions/dispatcher.h namespace base { base 124 chrome/renderer/extensions/dispatcher.h const base::ListValue& response, base 143 chrome/renderer/extensions/dispatcher.h const base::ListValue& args, base 165 chrome/renderer/extensions/dispatcher.h const base::ListValue& args, base 169 chrome/renderer/extensions/dispatcher.h const base::DictionaryValue& source_tab, base 194 chrome/renderer/extensions/dispatcher.h void OnUpdateUserScripts(base::SharedMemoryHandle table); base 282 chrome/renderer/extensions/dispatcher.h scoped_ptr<base::RepeatingTimer<content::RenderThread> > forced_idle_timer_; base 21 chrome/renderer/extensions/document_custom_bindings.cc base::Bind(&DocumentCustomBindings::RegisterElement, base 22 chrome/renderer/extensions/document_custom_bindings.cc base::Unretained(this))); base 39 chrome/renderer/extensions/dom_activity_logger.cc scoped_ptr<base::ListValue> argv_list_value(new base::ListValue()); base 56 chrome/renderer/extensions/event_bindings.cc base::LazyInstance<std::map<std::string, EventListenerCounts> > base 67 chrome/renderer/extensions/event_bindings.cc base::LazyInstance<std::map<std::string, FilteredEventListenerCounts> > base 70 chrome/renderer/extensions/event_bindings.cc base::LazyInstance<EventFilter> g_event_filter = LAZY_INSTANCE_INITIALIZER; base 78 chrome/renderer/extensions/event_bindings.cc base::Bind(&ExtensionImpl::AttachEvent, base::Unretained(this))); base 80 chrome/renderer/extensions/event_bindings.cc base::Bind(&ExtensionImpl::DetachEvent, base::Unretained(this))); base 82 chrome/renderer/extensions/event_bindings.cc base::Bind(&ExtensionImpl::AttachFilteredEvent, base 83 chrome/renderer/extensions/event_bindings.cc base::Unretained(this))); base 85 chrome/renderer/extensions/event_bindings.cc base::Bind(&ExtensionImpl::DetachFilteredEvent, base 86 chrome/renderer/extensions/event_bindings.cc base::Unretained(this))); base 88 chrome/renderer/extensions/event_bindings.cc base::Bind(&ExtensionImpl::MatchAgainstEventFilter, base 89 chrome/renderer/extensions/event_bindings.cc base::Unretained(this))); base 171 chrome/renderer/extensions/event_bindings.cc scoped_ptr<base::DictionaryValue> filter; base 175 chrome/renderer/extensions/event_bindings.cc base::DictionaryValue* filter_dict = NULL; base 176 chrome/renderer/extensions/event_bindings.cc base::Value* filter_value = base 208 chrome/renderer/extensions/event_bindings.cc base::DictionaryValue* filter) { base 223 chrome/renderer/extensions/event_bindings.cc base::DictionaryValue* filter) { base 323 chrome/renderer/extensions/event_bindings.cc base::DictionaryValue* filter_dict) { base 325 chrome/renderer/extensions/event_bindings.cc scoped_ptr<base::DictionaryValue>(filter_dict->DeepCopy()), base 53 chrome/renderer/extensions/extension_helper.cc static base::LazyInstance<SchedulerMap> g_schedulers = base 255 chrome/renderer/extensions/extension_helper.cc const base::ListValue& response, base 266 chrome/renderer/extensions/extension_helper.cc const base::ListValue& args, base 276 chrome/renderer/extensions/extension_helper.cc const base::DictionaryValue& source_tab, base 308 chrome/renderer/extensions/extension_helper.cc base::ListValue val; base 328 chrome/renderer/extensions/extension_helper.cc base::string16 error; base 25 chrome/renderer/extensions/extension_helper.h namespace base { base 77 chrome/renderer/extensions/extension_helper.h const base::ListValue& response, base 82 chrome/renderer/extensions/extension_helper.h const base::ListValue& args, base 87 chrome/renderer/extensions/extension_helper.h const base::DictionaryValue& source_tab, base 74 chrome/renderer/extensions/extension_localization_peer.cc const base::TimeTicks& completion_time, base 50 chrome/renderer/extensions/extension_localization_peer.h const base::TimeTicks& completion_time, base 75 chrome/renderer/extensions/extension_localization_peer_unittest.cc const base::TimeTicks& completion_time, base 146 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::ERR_ABORTED, false, false, "", base::TimeTicks(), -1)); base 149 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::ERR_FAILED, false, false, std::string(), base::TimeTicks(), -1); base 161 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, "", base::TimeTicks(), -1)); base 164 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); base 181 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, "", base::TimeTicks(), -1)).Times(2); base 184 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); base 192 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); base 218 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, "", base::TimeTicks(), -1)); base 221 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); base 247 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, "", base::TimeTicks(), -1)); base 250 chrome/renderer/extensions/extension_localization_peer_unittest.cc net::OK, false, false, std::string(), base::TimeTicks(), -1); base 24 chrome/renderer/extensions/file_browser_handler_custom_bindings.cc base::Bind(&FileBrowserHandlerCustomBindings::GetExternalFileEntry, base 25 chrome/renderer/extensions/file_browser_handler_custom_bindings.cc base::Unretained(this))); base 24 chrome/renderer/extensions/file_browser_private_custom_bindings.cc base::Bind(&FileBrowserPrivateCustomBindings::GetFileSystem, base 25 chrome/renderer/extensions/file_browser_private_custom_bindings.cc base::Unretained(this))); base 28 chrome/renderer/extensions/file_system_natives.cc base::Bind(&FileSystemNatives::GetFileEntry, base::Unretained(this))); base 30 chrome/renderer/extensions/file_system_natives.cc base::Bind(&FileSystemNatives::GetIsolatedFileSystem, base 31 chrome/renderer/extensions/file_system_natives.cc base::Unretained(this))); base 33 chrome/renderer/extensions/file_system_natives.cc base::Bind(&FileSystemNatives::CrackIsolatedFileSystemName, base 34 chrome/renderer/extensions/file_system_natives.cc base::Unretained(this))); base 36 chrome/renderer/extensions/file_system_natives.cc base::Bind(&FileSystemNatives::GetDOMError, base 37 chrome/renderer/extensions/file_system_natives.cc base::Unretained(this))); base 95 chrome/renderer/extensions/file_system_natives.cc base::FilePath file_path = base::FilePath::FromUTF8Unsafe(file_path_string); base 21 chrome/renderer/extensions/i18n_custom_bindings.cc base::Bind(&I18NCustomBindings::GetL10nMessage, base::Unretained(this))); base 23 chrome/renderer/extensions/i18n_custom_bindings.cc base::Bind(&I18NCustomBindings::GetL10nUILanguage, base 24 chrome/renderer/extensions/i18n_custom_bindings.cc base::Unretained(this))); base 16 chrome/renderer/extensions/id_generator_custom_bindings.cc RouteFunction("GetNextId", base::Bind(&IdGeneratorCustomBindings::GetNextId, base 17 chrome/renderer/extensions/id_generator_custom_bindings.cc base::Unretained(this))); base 15 chrome/renderer/extensions/logging_native_handler.cc base::Bind(&LoggingNativeHandler::Dcheck, base::Unretained(this))); base 17 chrome/renderer/extensions/logging_native_handler.cc base::Bind(&LoggingNativeHandler::Check, base::Unretained(this))); base 19 chrome/renderer/extensions/logging_native_handler.cc base::Bind(&LoggingNativeHandler::DcheckIsOn, base::Unretained(this))); base 21 chrome/renderer/extensions/logging_native_handler.cc base::Bind(&LoggingNativeHandler::Log, base::Unretained(this))); base 23 chrome/renderer/extensions/logging_native_handler.cc base::Bind(&LoggingNativeHandler::Warning, base::Unretained(this))); base 80 chrome/renderer/extensions/logging_native_handler.cc *error_message += base::StringPrintf("\n at %s (%s:%d:%d)", base 50 chrome/renderer/extensions/media_galleries_custom_bindings.cc base::Bind(&GetMediaFileSystemObject)); base 62 chrome/renderer/extensions/messaging_bindings.cc base::LazyInstance<ExtensionData> g_extension_data = base 87 chrome/renderer/extensions/messaging_bindings.cc base::Bind(&ExtensionImpl::CloseChannel, base::Unretained(this))); base 89 chrome/renderer/extensions/messaging_bindings.cc base::Bind(&ExtensionImpl::PortAddRef, base::Unretained(this))); base 91 chrome/renderer/extensions/messaging_bindings.cc base::Bind(&ExtensionImpl::PortRelease, base::Unretained(this))); base 93 chrome/renderer/extensions/messaging_bindings.cc base::Bind(&ExtensionImpl::PostMessage, base::Unretained(this))); base 96 chrome/renderer/extensions/messaging_bindings.cc base::Bind(&ExtensionImpl::BindToGC, base::Unretained(this))); base 196 chrome/renderer/extensions/messaging_bindings.cc base::MessageLoop::current()->PostTask( base 198 chrome/renderer/extensions/messaging_bindings.cc base::Bind(&GCCallback::RunCallback, base 199 chrome/renderer/extensions/messaging_bindings.cc base::Owned(data.GetParameter()))); base 251 chrome/renderer/extensions/messaging_bindings.cc const base::DictionaryValue& source_tab, base 12 chrome/renderer/extensions/messaging_bindings.h namespace base { base 47 chrome/renderer/extensions/messaging_bindings.h const base::DictionaryValue& source_tab, base 15 chrome/renderer/extensions/messaging_utils_unittest.cc RegisterModule("test", base::StringPrintf( base 115 chrome/renderer/extensions/module_system.cc return base::StringPrintf("%s:%d: %s", base 128 chrome/renderer/extensions/module_system.cc base::Bind(&ModuleSystem::RequireForJs, base::Unretained(this))); base 130 chrome/renderer/extensions/module_system.cc base::Bind(&ModuleSystem::RequireNative, base::Unretained(this))); base 132 chrome/renderer/extensions/module_system.cc base::Bind(&ModuleSystem::Private, base::Unretained(this))); base 485 chrome/renderer/extensions/module_system.cc std::string internal_name = base::StringPrintf("extensions::%s", base 18 chrome/renderer/extensions/module_system_unittest.cc RouteFunction("Get", base::Bind(&CounterNatives::Get, base 19 chrome/renderer/extensions/module_system_unittest.cc base::Unretained(this))); base 20 chrome/renderer/extensions/module_system_unittest.cc RouteFunction("Increment", base::Bind(&CounterNatives::Increment, base 21 chrome/renderer/extensions/module_system_unittest.cc base::Unretained(this))); base 36 chrome/renderer/extensions/object_backed_native_handler.h typedef base::Callback<void(const v8::FunctionCallbackInfo<v8::Value>&)> base 22 chrome/renderer/extensions/page_actions_custom_bindings.cc base::Bind(&PageActionsCustomBindings::GetCurrentPageActions, base 23 chrome/renderer/extensions/page_actions_custom_bindings.cc base::Unretained(this))); base 22 chrome/renderer/extensions/page_capture_custom_bindings.cc base::Bind(&PageCaptureCustomBindings::CreateBlob, base 23 chrome/renderer/extensions/page_capture_custom_bindings.cc base::Unretained(this))); base 25 chrome/renderer/extensions/page_capture_custom_bindings.cc base::Bind(&PageCaptureCustomBindings::SendResponseAck, base 26 chrome/renderer/extensions/page_capture_custom_bindings.cc base::Unretained(this))); base 34 chrome/renderer/extensions/page_capture_custom_bindings.cc blink::WebString path(base::UTF8ToUTF16(*v8::String::Utf8Value(args[0]))); base 20 chrome/renderer/extensions/pepper_request_natives.cc base::Bind(&PepperRequestNatives::SendResponse, base::Unretained(this))); base 31 chrome/renderer/extensions/pepper_request_natives.cc request_id, false, base::ListValue(), *v8::String::Utf8Value(args[2])); base 37 chrome/renderer/extensions/pepper_request_natives.cc scoped_ptr<const base::Value> result( base 40 chrome/renderer/extensions/pepper_request_natives.cc const base::ListValue* result_list = NULL; base 11 chrome/renderer/extensions/pepper_request_natives.h namespace base { base 22 chrome/renderer/extensions/pepper_request_proxy.cc const base::ListValue& args, base 36 chrome/renderer/extensions/pepper_request_proxy.cc for (base::ListValue::const_iterator it = args.begin(); it != args.end(); base 55 chrome/renderer/extensions/pepper_request_proxy.cc const base::ListValue& args, base 13 chrome/renderer/extensions/pepper_request_proxy.h namespace base { base 32 chrome/renderer/extensions/pepper_request_proxy.h typedef base::Callback<void(bool success, base 33 chrome/renderer/extensions/pepper_request_proxy.h const base::ListValue& response, base 44 chrome/renderer/extensions/pepper_request_proxy.h const base::ListValue& args, base 49 chrome/renderer/extensions/pepper_request_proxy.h const base::ListValue& args, base 59 chrome/renderer/extensions/render_view_observer_natives.cc base::Bind(&RenderViewObserverNatives::OnDocumentElementCreated, base 60 chrome/renderer/extensions/render_view_observer_natives.cc base::Unretained(this))); base 75 chrome/renderer/extensions/request_sender.cc base::ListValue* value_args) { base 124 chrome/renderer/extensions/request_sender.cc const base::ListValue& response, base 14 chrome/renderer/extensions/request_sender.h namespace base { base 41 chrome/renderer/extensions/request_sender.h const base::ListValue& response, base 77 chrome/renderer/extensions/request_sender.h base::ListValue* value_args); base 82 chrome/renderer/extensions/request_sender.h const base::ListValue& response, base 92 chrome/renderer/extensions/resource_request_policy.cc std::string message = base::StringPrintf( base 116 chrome/renderer/extensions/resource_request_policy.cc std::string message = base::StringPrintf( base 33 chrome/renderer/extensions/runtime_custom_bindings.cc base::Bind(&RuntimeCustomBindings::GetManifest, base 34 chrome/renderer/extensions/runtime_custom_bindings.cc base::Unretained(this))); base 36 chrome/renderer/extensions/runtime_custom_bindings.cc base::Bind(&RuntimeCustomBindings::OpenChannelToExtension, base 37 chrome/renderer/extensions/runtime_custom_bindings.cc base::Unretained(this))); base 39 chrome/renderer/extensions/runtime_custom_bindings.cc base::Bind(&RuntimeCustomBindings::OpenChannelToNativeApp, base 40 chrome/renderer/extensions/runtime_custom_bindings.cc base::Unretained(this))); base 42 chrome/renderer/extensions/runtime_custom_bindings.cc base::Bind(&RuntimeCustomBindings::GetExtensionViews, base 43 chrome/renderer/extensions/runtime_custom_bindings.cc base::Unretained(this))); base 123 chrome/renderer/extensions/safe_builtins.cc isolate, base::StringPrintf("%s::%s", kClassName, name).c_str()); base 21 chrome/renderer/extensions/send_request_natives.cc base::Bind(&SendRequestNatives::GetNextRequestId, base 22 chrome/renderer/extensions/send_request_natives.cc base::Unretained(this))); base 24 chrome/renderer/extensions/send_request_natives.cc base::Bind(&SendRequestNatives::StartRequest, base 25 chrome/renderer/extensions/send_request_natives.cc base::Unretained(this))); base 27 chrome/renderer/extensions/send_request_natives.cc base::Bind(&SendRequestNatives::GetGlobal, base 28 chrome/renderer/extensions/send_request_natives.cc base::Unretained(this))); base 57 chrome/renderer/extensions/send_request_natives.cc scoped_ptr<base::Value> value_args( base 59 chrome/renderer/extensions/send_request_natives.cc if (!value_args.get() || !value_args->IsType(base::Value::TYPE_LIST)) { base 66 chrome/renderer/extensions/send_request_natives.cc static_cast<base::ListValue*>(value_args.get())); base 33 chrome/renderer/extensions/set_icon_natives.cc base::Bind(&SetIconNatives::SetIconCommon, base::Unretained(this))); base 38 chrome/renderer/extensions/set_icon_natives.cc base::Value** bitmap_value) { base 96 chrome/renderer/extensions/set_icon_natives.cc *bitmap_value = base::BinaryValue::CreateWithCopiedBuffer( base 104 chrome/renderer/extensions/set_icon_natives.cc base::DictionaryValue* bitmap_set_value) { base 120 chrome/renderer/extensions/set_icon_natives.cc base::Value* image_data_bitmap = NULL; base 130 chrome/renderer/extensions/set_icon_natives.cc scoped_ptr<base::DictionaryValue> bitmap_set_value( base 131 chrome/renderer/extensions/set_icon_natives.cc new base::DictionaryValue()); base 139 chrome/renderer/extensions/set_icon_natives.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 148 chrome/renderer/extensions/set_icon_natives.cc base::ListValue list_value; base 13 chrome/renderer/extensions/set_icon_natives.h namespace base { base 29 chrome/renderer/extensions/set_icon_natives.h base::Value** bitmap_value); base 32 chrome/renderer/extensions/set_icon_natives.h base::DictionaryValue* bitmap_value); base 23 chrome/renderer/extensions/sync_file_system_custom_bindings.cc base::Bind(&SyncFileSystemCustomBindings::GetSyncFileSystemObject, base 24 chrome/renderer/extensions/sync_file_system_custom_bindings.cc base::Unretained(this))); base 21 chrome/renderer/extensions/tabs_custom_bindings.cc base::Bind(&TabsCustomBindings::OpenChannelToTab, base 22 chrome/renderer/extensions/tabs_custom_bindings.cc base::Unretained(this))); base 84 chrome/renderer/extensions/user_script_scheduler.cc base::MessageLoop::current()->PostDelayedTask( base 86 chrome/renderer/extensions/user_script_scheduler.cc base::Bind(&UserScriptScheduler::IdleTimeout, weak_factory_.GetWeakPtr()), base 87 chrome/renderer/extensions/user_script_scheduler.cc base::TimeDelta::FromMilliseconds(kUserScriptIdleTimeoutMs)); base 93 chrome/renderer/extensions/user_script_scheduler.cc base::MessageLoop::current()->PostTask( base 95 chrome/renderer/extensions/user_script_scheduler.cc base::Bind(&UserScriptScheduler::MaybeRun, weak_factory_.GetWeakPtr())); base 148 chrome/renderer/extensions/user_script_scheduler.cc base::ListValue execution_results; base 239 chrome/renderer/extensions/user_script_scheduler.cc base::Value* result = v8_converter->FromV8Value(script_value, context); base 243 chrome/renderer/extensions/user_script_scheduler.cc result ? result : base::Value::CreateNullValue()); base 75 chrome/renderer/extensions/user_script_scheduler.h base::WeakPtrFactory<UserScriptScheduler> weak_factory_; base 118 chrome/renderer/extensions/user_script_slave.cc bool UserScriptSlave::UpdateScripts(base::SharedMemoryHandle shared_memory) { base 125 chrome/renderer/extensions/user_script_slave.cc shared_memory_.reset(new base::SharedMemory(shared_memory, true)); base 162 chrome/renderer/extensions/user_script_slave.cc base::StringPiece(body, body_length)); base 169 chrome/renderer/extensions/user_script_slave.cc base::StringPiece(body, body_length)); base 241 chrome/renderer/extensions/user_script_slave.cc base::ElapsedTimer timer; base 309 chrome/renderer/extensions/user_script_slave.cc base::ElapsedTimer exec_timer; base 46 chrome/renderer/extensions/user_script_slave.h bool UpdateScripts(base::SharedMemoryHandle shared_memory); base 68 chrome/renderer/extensions/user_script_slave.h scoped_ptr<base::SharedMemory> shared_memory_; base 75 chrome/renderer/extensions/user_script_slave.h base::StringPiece api_js_; base 16 chrome/renderer/extensions/utils_native_handler.cc base::Bind(&UtilsNativeHandler::CreateClassWrapper, base 17 chrome/renderer/extensions/utils_native_handler.cc base::Unretained(this))); base 34 chrome/renderer/extensions/utils_native_handler.cc base::StringPrintf( base 31 chrome/renderer/extensions/v8_schema_registry.cc base::Bind(&SchemaRegistryNativeHandler::GetSchema, base 32 chrome/renderer/extensions/v8_schema_registry.cc base::Unretained(this))); base 91 chrome/renderer/extensions/v8_schema_registry.cc const base::DictionaryValue* schema = base 57 chrome/renderer/extensions/webstore_bindings.cc base::Bind(&WebstoreBindings::Install, base::Unretained(this))); base 178 chrome/renderer/loadtimes_extension_bindings.cc base::Time now = base::Time::Now(); base 179 chrome/renderer/loadtimes_extension_bindings.cc base::Time start = document_state->request_time().is_null() ? base 182 chrome/renderer/loadtimes_extension_bindings.cc base::Time onload = document_state->finish_document_load_time(); base 183 chrome/renderer/loadtimes_extension_bindings.cc base::TimeDelta page = now - start; base 14 chrome/renderer/media/cast_ipc_dispatcher.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop) base 107 chrome/renderer/media/cast_ipc_dispatcher.cc base::TimeTicks time_sent, base 22 chrome/renderer/media/cast_ipc_dispatcher.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop); base 47 chrome/renderer/media/cast_ipc_dispatcher.h base::TimeTicks time_sent, base 58 chrome/renderer/media/cast_ipc_dispatcher.h const scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 180 chrome/renderer/media/cast_rtp_stream.cc class CastVideoSink : public base::SupportsWeakPtr<CastVideoSink>, base 213 chrome/renderer/media/cast_rtp_stream.cc first_frame_timestamp_ = base::TimeTicks::Now() - frame->GetTimestamp();; base 244 chrome/renderer/media/cast_rtp_stream.cc base::TimeTicks first_frame_timestamp_; base 253 chrome/renderer/media/cast_rtp_stream.cc class CastAudioSink : public base::SupportsWeakPtr<CastAudioSink>, base 296 chrome/renderer/media/cast_rtp_stream.cc frame_input_->InsertAudio(input_bus.Pass(), base::TimeTicks::Now()); base 349 chrome/renderer/media/cast_rtp_stream.cc base::Bind(&CastAudioSink::ProvideData, base::Unretained(this)))); base 374 chrome/renderer/media/cast_rtp_stream.cc base::WeakPtrFactory<CastAudioSink> weak_factory_; base 429 chrome/renderer/media/cast_rtp_stream.cc const base::Closure& start_callback, base 430 chrome/renderer/media/cast_rtp_stream.cc const base::Closure& stop_callback, base 446 chrome/renderer/media/cast_rtp_stream.cc media::BindToCurrentLoop(base::Bind(&CastRtpStream::DidEncounterError, base 452 chrome/renderer/media/cast_rtp_stream.cc base::Bind(&CastAudioSink::AddToTrack, audio_sink_->AsWeakPtr()), base 453 chrome/renderer/media/cast_rtp_stream.cc base::Bind(&CastRtpStream::DidEncounterError, base 466 chrome/renderer/media/cast_rtp_stream.cc media::BindToCurrentLoop(base::Bind(&CastRtpStream::DidEncounterError, base 470 chrome/renderer/media/cast_rtp_stream.cc base::Bind(&CastVideoSink::AddToTrack, video_sink_->AsWeakPtr()), base 471 chrome/renderer/media/cast_rtp_stream.cc base::Bind(&CastRtpStream::DidEncounterError, base 488 chrome/renderer/media/cast_rtp_stream.cc const base::Callback<void(scoped_ptr<base::BinaryValue>)>& callback) { base 493 chrome/renderer/media/cast_rtp_stream.cc const base::Callback<void(scoped_ptr<base::DictionaryValue>)>& callback) { base 503 chrome/renderer/media/cast_rtp_stream.cc base::WeakPtr<CastRtpStream> ptr = weak_factory_.GetWeakPtr(); base 507 chrome/renderer/media/cast_rtp_stream.cc base::Bind(&CastRtpStream::Stop, ptr)); base 18 chrome/renderer/media/cast_rtp_stream.h namespace base { base 100 chrome/renderer/media/cast_rtp_stream.h typedef base::Callback<void(const std::string&)> ErrorCallback; base 118 chrome/renderer/media/cast_rtp_stream.h const base::Closure& start_callback, base 119 chrome/renderer/media/cast_rtp_stream.h const base::Closure& stop_callback, base 131 chrome/renderer/media/cast_rtp_stream.h const base::Callback<void(scoped_ptr<base::BinaryValue>)>& callback); base 135 chrome/renderer/media/cast_rtp_stream.h void GetStats(const base::Callback<void( base 136 chrome/renderer/media/cast_rtp_stream.h scoped_ptr<base::DictionaryValue>)>& callback); base 150 chrome/renderer/media/cast_rtp_stream.h base::WeakPtrFactory<CastRtpStream> weak_factory_; base 151 chrome/renderer/media/cast_rtp_stream.h base::Closure stop_callback_; base 32 chrome/renderer/media/cast_session.cc scoped_ptr<base::SharedMemory> shm = base 63 chrome/renderer/media/cast_session.cc base::Bind(&CastSessionDelegate::StartAudio, base 64 chrome/renderer/media/cast_session.cc base::Unretained(delegate_.get()), base 80 chrome/renderer/media/cast_session.cc base::Bind(&CastSessionDelegate::StartVideo, base 81 chrome/renderer/media/cast_session.cc base::Unretained(delegate_.get()), base 86 chrome/renderer/media/cast_session.cc base::Bind(&CreateVideoEncodeAccelerator)), base 88 chrome/renderer/media/cast_session.cc base::Bind(&CreateVideoEncodeMemory)))); base 94 chrome/renderer/media/cast_session.cc base::Bind( base 96 chrome/renderer/media/cast_session.cc base::Unretained(delegate_.get()), base 103 chrome/renderer/media/cast_session.cc base::Bind(&CastSessionDelegate::ToggleLogging, base 104 chrome/renderer/media/cast_session.cc base::Unretained(delegate_.get()), base 113 chrome/renderer/media/cast_session.cc base::Bind(&CastSessionDelegate::GetEventLogsAndReset, base 114 chrome/renderer/media/cast_session.cc base::Unretained(delegate_.get()), base 123 chrome/renderer/media/cast_session.cc base::Bind(&CastSessionDelegate::GetStatsAndReset, base 124 chrome/renderer/media/cast_session.cc base::Unretained(delegate_.get()), base 16 chrome/renderer/media/cast_session.h namespace base { base 41 chrome/renderer/media/cast_session.h class CastSession : public base::RefCounted<CastSession> { base 43 chrome/renderer/media/cast_session.h typedef base::Callback<void(const scoped_refptr< base 45 chrome/renderer/media/cast_session.h typedef base::Callback<void(const scoped_refptr< base 47 chrome/renderer/media/cast_session.h typedef base::Callback<void(const std::vector<char>&)> SendPacketCallback; base 48 chrome/renderer/media/cast_session.h typedef base::Callback<void(scoped_ptr<base::BinaryValue>)> EventLogsCallback; base 49 chrome/renderer/media/cast_session.h typedef base::Callback<void(scoped_ptr<base::DictionaryValue>)> StatsCallback; base 50 chrome/renderer/media/cast_session.h typedef base::Callback<void(const std::string&)> ErrorCallback; base 88 chrome/renderer/media/cast_session.h friend class base::RefCounted<CastSession>; base 98 chrome/renderer/media/cast_session.h const scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 20 chrome/renderer/media/cast_session_browsertest.cc base::MessageLoopProxy::current()); base 29 chrome/renderer/media/cast_session_browsertest.cc base::RunLoop().RunUntilIdle(); base 29 chrome/renderer/media/cast_session_delegate.cc static base::LazyInstance<CastThreads> g_cast_threads = base 80 chrome/renderer/media/cast_session_delegate.cc transport_config.base.ssrc = config.sender_ssrc; base 82 chrome/renderer/media/cast_session_delegate.cc transport_config.base.rtp_config = config.rtp_config; base 88 chrome/renderer/media/cast_session_delegate.cc base::Bind(&CastSessionDelegate::InitializationResultCB, base 109 chrome/renderer/media/cast_session_delegate.cc transport_config.base.ssrc = config.sender_ssrc; base 111 chrome/renderer/media/cast_session_delegate.cc transport_config.base.rtp_config = config.rtp_config; base 115 chrome/renderer/media/cast_session_delegate.cc base::Bind(&CastSessionDelegate::InitializationResultCB, base 127 chrome/renderer/media/cast_session_delegate.cc scoped_ptr<base::TickClock>(new base::DefaultTickClock()).Pass(), base 128 chrome/renderer/media/cast_session_delegate.cc base::MessageLoopProxy::current(), base 136 chrome/renderer/media/cast_session_delegate.cc base::Bind(&CastSessionDelegate::StatusNotificationCB, base 137 chrome/renderer/media/cast_session_delegate.cc base::Unretained(this)), base 138 chrome/renderer/media/cast_session_delegate.cc base::Bind(&CastSessionDelegate::LogRawEvents, base::Unretained(this)))); base 211 chrome/renderer/media/cast_session_delegate.cc callback.Run(make_scoped_ptr(new base::BinaryValue).Pass()); base 233 chrome/renderer/media/cast_session_delegate.cc callback.Run(make_scoped_ptr(new base::BinaryValue).Pass()); base 239 chrome/renderer/media/cast_session_delegate.cc scoped_ptr<base::BinaryValue> blob( base 240 chrome/renderer/media/cast_session_delegate.cc new base::BinaryValue(serialized_log.Pass(), output_bytes)); base 249 chrome/renderer/media/cast_session_delegate.cc callback.Run(make_scoped_ptr(new base::DictionaryValue).Pass()); base 259 chrome/renderer/media/cast_session_delegate.cc scoped_ptr<base::DictionaryValue> stats = media::cast::ConvertStats( base 22 chrome/renderer/media/cast_session_delegate.h namespace base { base 49 chrome/renderer/media/cast_session_delegate.h typedef base::Callback<void(const scoped_refptr< base 51 chrome/renderer/media/cast_session_delegate.h typedef base::Callback<void(const scoped_refptr< base 53 chrome/renderer/media/cast_session_delegate.h typedef base::Callback<void(scoped_ptr<base::BinaryValue>)> EventLogsCallback; base 54 chrome/renderer/media/cast_session_delegate.h typedef base::Callback<void(scoped_ptr<base::DictionaryValue>)> StatsCallback; base 55 chrome/renderer/media/cast_session_delegate.h typedef base::Callback<void(const std::string&)> ErrorCallback; base 101 chrome/renderer/media/cast_session_delegate.h base::ThreadChecker thread_checker_; base 116 chrome/renderer/media/cast_session_delegate.h scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 117 chrome/renderer/media/cast_session_delegate.h base::WeakPtrFactory<CastSessionDelegate> weak_factory_; base 16 chrome/renderer/media/cast_threads.cc scoped_refptr<base::SingleThreadTaskRunner> base 21 chrome/renderer/media/cast_threads.cc scoped_refptr<base::SingleThreadTaskRunner> base 21 chrome/renderer/media/cast_threads.h scoped_refptr<base::SingleThreadTaskRunner> base 23 chrome/renderer/media/cast_threads.h scoped_refptr<base::SingleThreadTaskRunner> base 27 chrome/renderer/media/cast_threads.h friend struct base::DefaultLazyInstanceTraits<CastThreads>; base 31 chrome/renderer/media/cast_threads.h base::Thread audio_encode_thread_; base 32 chrome/renderer/media/cast_threads.h base::Thread video_encode_thread_; base 50 chrome/renderer/media/cast_transport_sender_ipc.cc const base::TimeTicks& recorded_time) { base 58 chrome/renderer/media/cast_transport_sender_ipc.cc const base::TimeTicks& capture_time) { base 122 chrome/renderer/media/cast_transport_sender_ipc.cc base::TimeTicks time_sent, base 38 chrome/renderer/media/cast_transport_sender_ipc.h const base::TimeTicks& recorded_time) OVERRIDE; base 41 chrome/renderer/media/cast_transport_sender_ipc.h const base::TimeTicks& capture_time) OVERRIDE; base 66 chrome/renderer/media/cast_transport_sender_ipc.h base::TimeTicks time_sent, base 29 chrome/renderer/media/cast_udp_transport.h base::WeakPtrFactory<CastUdpTransport> weak_factory_; base 49 chrome/renderer/media/chrome_key_systems.cc std::vector<base::string16>* additional_param_names, base 50 chrome/renderer/media/chrome_key_systems.cc std::vector<base::string16>* additional_param_values) { base 78 chrome/renderer/media/chrome_key_systems.cc std::vector<base::string16> additional_param_names; base 79 chrome/renderer/media/chrome_key_systems.cc std::vector<base::string16> additional_param_values; base 225 chrome/renderer/media/chrome_key_systems.cc const std::vector<base::string16>& additional_param_names, base 226 chrome/renderer/media/chrome_key_systems.cc const std::vector<base::string16>& additional_param_values, base 232 chrome/renderer/media/chrome_key_systems.cc base::ASCIIToUTF16(kCdmSupportedCodecsParamName)) { base 233 chrome/renderer/media/chrome_key_systems.cc const base::string16& codecs_string16 = additional_param_values[i]; base 235 chrome/renderer/media/chrome_key_systems.cc if (!base::UTF16ToUTF8(codecs_string16.c_str(), base 241 chrome/renderer/media/chrome_key_systems.cc base::SplitString(codecs_string, base 258 chrome/renderer/media/chrome_key_systems.cc std::vector<base::string16> additional_param_names; base 259 chrome/renderer/media/chrome_key_systems.cc std::vector<base::string16> additional_param_values; base 13 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop, base 26 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc WebRtcLoggingMessageData data(base::Time::Now(), message); base 29 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc FROM_HERE, base::Bind( base 31 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc base::Unretained(this), base 49 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc if (base::TimeTicks::Now() - last_log_buffer_send_ > base 50 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc base::TimeDelta::FromMilliseconds(100)) { base 55 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc base::Bind(&ChromeWebRtcLogMessageDelegate::SendLogBuffer, base 56 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc base::Unretained(this)), base 57 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc base::TimeDelta::FromMilliseconds(200)); base 86 chrome/renderer/media/chrome_webrtc_log_message_delegate.cc last_log_buffer_send_ = base::TimeTicks::Now(); base 15 chrome/renderer/media/chrome_webrtc_log_message_delegate.h namespace base { base 28 chrome/renderer/media/chrome_webrtc_log_message_delegate.h public base::NonThreadSafe { base 31 chrome/renderer/media/chrome_webrtc_log_message_delegate.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop, base 48 chrome/renderer/media/chrome_webrtc_log_message_delegate.h scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 52 chrome/renderer/media/chrome_webrtc_log_message_delegate.h base::TimeTicks last_log_buffer_send_; base 15 chrome/renderer/media/chrome_webrtc_log_message_delegate_unittest.cc base::MessageLoopForIO message_loop; base 28 chrome/renderer/media/chrome_webrtc_log_message_delegate_unittest.cc FROM_HERE, base::Bind( base 30 chrome/renderer/media/chrome_webrtc_log_message_delegate_unittest.cc base::Unretained(log_message_delegate))); base 39 chrome/renderer/media/chrome_webrtc_log_message_delegate_unittest.cc FROM_HERE, base::Bind( base 41 chrome/renderer/media/chrome_webrtc_log_message_delegate_unittest.cc base::Unretained(log_message_delegate))); base 10 chrome/renderer/media/mock_webrtc_logging_message_filter.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop) base 14 chrome/renderer/media/mock_webrtc_logging_message_filter.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop); base 14 chrome/renderer/media/webrtc_logging_message_filter.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop) base 21 chrome/renderer/media/webrtc_logging_message_filter.cc FROM_HERE, base::Bind( base 23 chrome/renderer/media/webrtc_logging_message_filter.cc base::Unretained(this))); base 11 chrome/renderer/media/webrtc_logging_message_filter.h namespace base { base 24 chrome/renderer/media/webrtc_logging_message_filter.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop); base 30 chrome/renderer/media/webrtc_logging_message_filter.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop() { base 37 chrome/renderer/media/webrtc_logging_message_filter.h scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 75 chrome/renderer/mock_printer.cc title_(base::ASCIIToUTF16("title")), base 76 chrome/renderer/mock_printer.cc url_(base::ASCIIToUTF16("url")), base 210 chrome/renderer/mock_printer.cc base::SharedMemory metafile_data(params.metafile_data_handle, true, base 213 chrome/renderer/mock_printer.cc base::SharedMemory metafile_data(params.metafile_data_handle, true); base 271 chrome/renderer/mock_printer.cc unsigned int page, const base::FilePath& filepath) const { base 276 chrome/renderer/mock_printer.cc base::WriteFile(filepath, reinterpret_cast<const char*>(source_data), base 282 chrome/renderer/mock_printer.cc unsigned int page, const base::FilePath& filepath) const { base 28 chrome/renderer/mock_printer.h class MockPrinterPage : public base::RefCounted<MockPrinterPage> { base 41 chrome/renderer/mock_printer.h friend class base::RefCounted<MockPrinterPage>; base 102 chrome/renderer/mock_printer.h bool SaveSource(unsigned int page, const base::FilePath& filepath) const; base 103 chrome/renderer/mock_printer.h bool SaveBitmap(unsigned int page, const base::FilePath& filepath) const; base 155 chrome/renderer/mock_printer.h base::string16 title_; base 156 chrome/renderer/mock_printer.h base::string16 url_; base 42 chrome/renderer/net/net_error_helper.cc using base::JSONWriter; base 75 chrome/renderer/net/net_error_helper.cc return base::i18n::ICUIsRTL(); base 77 chrome/renderer/net/net_error_helper.cc return base::i18n::IsRTL(); base 155 chrome/renderer/net/net_error_helper.cc const base::StringPiece template_html( base 160 chrome/renderer/net/net_error_helper.cc base::DictionaryValue error_strings; base 188 chrome/renderer/net/net_error_helper.cc base::DictionaryValue error_strings; base 205 chrome/renderer/net/net_error_helper.cc base::string16 js16; base 206 chrome/renderer/net/net_error_helper.cc if (!base::UTF8ToUTF16(js.c_str(), js.length(), &js16)) { base 231 chrome/renderer/net/net_error_helper.cc base::Bind(&NetErrorHelper::OnNavigationCorrectionsFetched, base 232 chrome/renderer/net/net_error_helper.cc base::Unretained(this))); base 235 chrome/renderer/net/net_error_helper.cc base::TimeDelta::FromSeconds(kNavigationCorrectionFetchTimeoutSec)); base 51 chrome/renderer/net/net_error_helper_core.cc base::TimeDelta GetAutoReloadTime(size_t reload_count) { base 57 chrome/renderer/net/net_error_helper_core.cc return base::TimeDelta::FromMilliseconds(kDelaysMs[reload_count]); base 121 chrome/renderer/net/net_error_helper_core.cc base::DictionaryValue request_dict; base 125 chrome/renderer/net/net_error_helper_core.cc base::DictionaryValue* params_dict = new base::DictionaryValue(); base 139 chrome/renderer/net/net_error_helper_core.cc base::JSONWriter::Write(&request_dict, correction_request_body); base 143 chrome/renderer/net/net_error_helper_core.cc base::string16 FormatURLForDisplay(const GURL& url, bool is_rtl, base 146 chrome/renderer/net/net_error_helper_core.cc base::string16 url_for_display(net::FormatUrl( base 151 chrome/renderer/net/net_error_helper_core.cc base::i18n::WrapStringWithLTRFormatting(&url_for_display); base 161 chrome/renderer/net/net_error_helper_core.cc scoped_ptr<base::Value> parsed(base::JSONReader::Read(data)); base 165 chrome/renderer/net/net_error_helper_core.cc base::DictionaryValue* parsed_dict; base 166 chrome/renderer/net/net_error_helper_core.cc base::ListValue* corrections; base 174 chrome/renderer/net/net_error_helper_core.cc base::string16 original_url_for_display = base 179 chrome/renderer/net/net_error_helper_core.cc params->override_suggestions.reset(new base::ListValue()); base 180 chrome/renderer/net/net_error_helper_core.cc scoped_ptr<base::ListValue> parsed_corrections(new base::ListValue()); base 181 chrome/renderer/net/net_error_helper_core.cc for (base::ListValue::iterator it = corrections->begin(); base 183 chrome/renderer/net/net_error_helper_core.cc base::DictionaryValue* correction; base 226 chrome/renderer/net/net_error_helper_core.cc base::DictionaryValue* suggest = new base::DictionaryValue(); base 297 chrome/renderer/net/net_error_helper_core.cc auto_reload_timer_(new base::Timer(false, false)), base 603 chrome/renderer/net/net_error_helper_core.cc base::TimeDelta delay = GetAutoReloadTime(auto_reload_count_); base 607 chrome/renderer/net/net_error_helper_core.cc base::Bind(&NetErrorHelperCore::Reload, base 608 chrome/renderer/net/net_error_helper_core.cc base::Unretained(this))); base 18 chrome/renderer/net/net_error_helper_core.h namespace base { base 144 chrome/renderer/net/net_error_helper_core.h void set_timer_for_testing(scoped_ptr<base::Timer> timer) { base 191 chrome/renderer/net/net_error_helper_core.h scoped_ptr<base::Timer> auto_reload_timer_; base 34 chrome/renderer/net/net_error_helper_core_unittest.cc base::Value* ToValue() const { base 35 chrome/renderer/net/net_error_helper_core_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 58 chrome/renderer/net/net_error_helper_core_unittest.cc base::ListValue* url_corrections = new base::ListValue(); base 62 chrome/renderer/net/net_error_helper_core_unittest.cc scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue()); base 66 chrome/renderer/net/net_error_helper_core_unittest.cc base::JSONWriter::Write(response.get(), &json); base 73 chrome/renderer/net/net_error_helper_core_unittest.cc return base::StringPrintf("(%s, %s, %i, %s)", base 117 chrome/renderer/net/net_error_helper_core_unittest.cc NetErrorHelperCoreTest() : timer_(new base::MockTimer(false, false)), base 124 chrome/renderer/net/net_error_helper_core_unittest.cc core_.set_timer_for_testing(scoped_ptr<base::Timer>(timer_)); base 155 chrome/renderer/net/net_error_helper_core_unittest.cc base::MockTimer* timer() { return timer_; } base 270 chrome/renderer/net/net_error_helper_core_unittest.cc base::MockTimer* timer_; base 1749 chrome/renderer/net/net_error_helper_core_unittest.cc base::TimeDelta first_delay = timer()->GetCurrentDelay(); base 1794 chrome/renderer/net/net_error_helper_core_unittest.cc base::TimeDelta delay = timer()->GetCurrentDelay(); base 1811 chrome/renderer/net/net_error_helper_core_unittest.cc base::TimeDelta delay = timer()->GetCurrentDelay(); base 1870 chrome/renderer/net/net_error_helper_core_unittest.cc base::TimeDelta previous = base::TimeDelta::FromMilliseconds(0); base 29 chrome/renderer/net/prescient_networking_dispatcher.cc base::FieldTrialList::FindFullName(kMouseEventPreconnectFieldTrialName); base 58 chrome/renderer/net/prescient_networking_dispatcher.cc std::string hostname_utf8 = base::UTF16ToUTF8(hostname); base 58 chrome/renderer/net/renderer_net_predictor.cc FROM_HERE, base::Bind(&RendererNetPredictor::SubmitHostnames, base 60 chrome/renderer/net/renderer_net_predictor.cc base::TimeDelta::FromMilliseconds(10)); base 93 chrome/renderer/net/renderer_net_predictor.cc FROM_HERE, base::Bind(&RendererNetPredictor::SubmitHostnames, base 95 chrome/renderer/net/renderer_net_predictor.cc base::TimeDelta::FromMilliseconds(10)); base 98 chrome/renderer/net/renderer_net_predictor.h base::WeakPtrFactory<RendererNetPredictor> weak_factory_; base 43 chrome/renderer/page_load_histograms.cc using base::Time; base 44 chrome/renderer/page_load_histograms.cc using base::TimeDelta; base 72 chrome/renderer/page_load_histograms.cc base::HistogramBase* histogram_pointer = base::Histogram::FactoryTimeGet( base 74 chrome/renderer/page_load_histograms.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 114 chrome/renderer/page_load_histograms.cc std::string name_with_experiment_id = base::StringPrintf( base 129 chrome/renderer/page_load_histograms.cc PLT_HISTOGRAM(base::StringPrintf("%s_FromGWS", name), sample) \ base 131 chrome/renderer/page_load_histograms.cc std::string name_with_experiment_id = base::StringPrintf( \ base 145 chrome/renderer/page_load_histograms.cc static base::HistogramBase* counter(NULL); \ base 146 chrome/renderer/page_load_histograms.cc static base::HistogramBase* drp_counter(NULL); \ base 149 chrome/renderer/page_load_histograms.cc counter = base::Histogram::FactoryTimeGet( \ base 151 chrome/renderer/page_load_histograms.cc base::Histogram::kUmaTargetedHistogramFlag); \ base 156 chrome/renderer/page_load_histograms.cc drp_counter = base::Histogram::FactoryTimeGet( \ base 159 chrome/renderer/page_load_histograms.cc base::Histogram::kUmaTargetedHistogramFlag); \ base 190 chrome/renderer/page_load_histograms.cc base::SplitString( base 209 chrome/renderer/page_load_histograms.cc base::UTF16ToUTF8(frame->dataSource()->response().httpHeaderField("Via")); base 258 chrome/renderer/page_load_histograms.cc if (!base::StringToInt(value, &experiment_id)) base 27 chrome/renderer/pepper/pepper_extensions_common_host.cc const base::ListValue& response, base 91 chrome/renderer/pepper/pepper_extensions_common_host.cc const base::ListValue& response, base 100 chrome/renderer/pepper/pepper_extensions_common_host.cc const base::ListValue& args) { base 103 chrome/renderer/pepper/pepper_extensions_common_host.cc base::Bind(&DoNothing), request_name, args, &error); base 110 chrome/renderer/pepper/pepper_extensions_common_host.cc const base::ListValue& args) { base 115 chrome/renderer/pepper/pepper_extensions_common_host.cc base::Bind(&PepperExtensionsCommonHost::OnResponseReceived, base 117 chrome/renderer/pepper/pepper_extensions_common_host.cc base::Passed(&message_context)), base 19 chrome/renderer/pepper/pepper_extensions_common_host.h namespace base { base 59 chrome/renderer/pepper/pepper_extensions_common_host.h const base::ListValue& args); base 63 chrome/renderer/pepper/pepper_extensions_common_host.h const base::ListValue& args); base 68 chrome/renderer/pepper/pepper_extensions_common_host.h const base::ListValue& response, base 76 chrome/renderer/pepper/pepper_extensions_common_host.h base::WeakPtrFactory<PepperExtensionsCommonHost> weak_factory_; base 19 chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc const base::FilePath::CharType kVoucherFilename[] = base 52 chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc base::FilePath plugin_dir = plugin_instance->GetModulePath().DirName(); base 54 chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc base::FilePath voucher_file = plugin_dir.Append( base 55 chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc base::FilePath(kVoucherFilename)); base 68 chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc base::Bind(&PepperFlashDRMRendererHost::DidCreateFileRefHosts, base 78 chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc const base::FilePath& external_path, base 13 chrome/renderer/pepper/pepper_flash_drm_renderer_host.h namespace base { base 39 chrome/renderer/pepper/pepper_flash_drm_renderer_host.h const base::FilePath& external_path, base 46 chrome/renderer/pepper/pepper_flash_drm_renderer_host.h base::WeakPtrFactory<PepperFlashDRMRendererHost> weak_factory_; base 73 chrome/renderer/pepper/pepper_flash_menu_host.cc item.label = base::UTF8ToUTF16(in_menu->items[i].name); base 102 chrome/renderer/pepper/pepper_flash_renderer_host.cc static base::LazyInstance<std::map<std::string, FlashNavigateUsage> > base 353 chrome/renderer/pepper/pepper_flash_renderer_host.cc base::WeakPtr<PepperFlashRendererHost> weak_ptr = weak_factory_.GetWeakPtr(); base 65 chrome/renderer/pepper/pepper_flash_renderer_host.h base::WeakPtrFactory<PepperFlashRendererHost> weak_factory_; base 149 chrome/renderer/pepper/pepper_pdf_host.cc rv = base::UTF16ToUTF8(l10n_util::GetStringUTF16(IDS_PDF_NEED_PASSWORD)); base 151 chrome/renderer/pepper/pepper_pdf_host.cc rv = base::UTF16ToUTF8(l10n_util::GetStringUTF16(IDS_PDF_PAGE_LOADING)); base 153 chrome/renderer/pepper/pepper_pdf_host.cc rv = base::UTF16ToUTF8(l10n_util::GetStringUTF16(IDS_PDF_PAGE_LOAD_FAILED)); base 155 chrome/renderer/pepper/pepper_pdf_host.cc rv = base::UTF16ToUTF8(l10n_util::GetStringUTF16(IDS_PDF_PROGRESS_LOADING)); base 327 chrome/renderer/pepper/pepper_pdf_host.cc const base::string16& selected_text) { base 68 chrome/renderer/pepper/pepper_pdf_host.h const base::string16& selected_text); base 49 chrome/renderer/pepper/pepper_shared_memory_message_filter.cc scoped_ptr<base::SharedMemory> shm(content::RenderThread::Get()-> base 54 chrome/renderer/pepper/pepper_shared_memory_message_filter.cc base::SharedMemoryHandle host_shm_handle; base 55 chrome/renderer/pepper/pepper_shared_memory_message_filter.cc shm->ShareToProcess(base::GetCurrentProcessHandle(), &host_shm_handle); base 59 chrome/renderer/pepper/pepper_shared_memory_message_filter.cc base::PlatformFile host_handle = base 36 chrome/renderer/pepper/pepper_uma_host.cc const std::string id_hash = base::SHA1HashString( base 38 chrome/renderer/pepper/pepper_uma_host.cc DCHECK_EQ(id_hash.length(), base::kSHA1Length); base 39 chrome/renderer/pepper/pepper_uma_host.cc return base::HexEncode(id_hash.c_str(), id_hash.length()); base 114 chrome/renderer/pepper/pepper_uma_host.cc base::HistogramBase* counter = base 115 chrome/renderer/pepper/pepper_uma_host.cc base::Histogram::FactoryTimeGet( base 117 chrome/renderer/pepper/pepper_uma_host.cc base::TimeDelta::FromMilliseconds(min), base 118 chrome/renderer/pepper/pepper_uma_host.cc base::TimeDelta::FromMilliseconds(max), base 120 chrome/renderer/pepper/pepper_uma_host.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 124 chrome/renderer/pepper/pepper_uma_host.cc counter->AddTime(base::TimeDelta::FromMilliseconds(sample)); base 140 chrome/renderer/pepper/pepper_uma_host.cc base::HistogramBase* counter = base 141 chrome/renderer/pepper/pepper_uma_host.cc base::Histogram::FactoryGet( base 146 chrome/renderer/pepper/pepper_uma_host.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 164 chrome/renderer/pepper/pepper_uma_host.cc base::HistogramBase* counter = base 165 chrome/renderer/pepper/pepper_uma_host.cc base::LinearHistogram::FactoryGet( base 170 chrome/renderer/pepper/pepper_uma_host.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 61 chrome/renderer/pepper/ppb_pdf_impl.cc *output_length = base::checked_cast<uint32_t>(temp_size); base 177 chrome/renderer/pepper/ppb_pdf_impl.cc rv = base::UTF16ToUTF8(l10n_util::GetStringUTF16(IDS_PDF_NEED_PASSWORD)); base 179 chrome/renderer/pepper/ppb_pdf_impl.cc rv = base::UTF16ToUTF8(l10n_util::GetStringUTF16(IDS_PDF_PAGE_LOADING)); base 181 chrome/renderer/pepper/ppb_pdf_impl.cc rv = base::UTF16ToUTF8(l10n_util::GetStringUTF16(IDS_PDF_PAGE_LOAD_FAILED)); base 183 chrome/renderer/pepper/ppb_pdf_impl.cc rv = base::UTF16ToUTF8(l10n_util::GetStringUTF16(IDS_PDF_PROGRESS_LOADING)); base 247 chrome/renderer/pepper/ppb_pdf_impl.cc const base::char16* string = base 248 chrome/renderer/pepper/ppb_pdf_impl.cc reinterpret_cast<const base::char16*>(input_string); base 249 chrome/renderer/pepper/ppb_pdf_impl.cc const base::char16* term = base 250 chrome/renderer/pepper/ppb_pdf_impl.cc reinterpret_cast<const base::char16*>(input_term); base 31 chrome/renderer/plugins/chrome_plugin_placeholder.cc using base::UserMetricsAction; base 55 chrome/renderer/plugins/chrome_plugin_placeholder.cc const base::string16& title) base 92 chrome/renderer/plugins/chrome_plugin_placeholder.cc const base::StringPiece template_html( base 96 chrome/renderer/plugins/chrome_plugin_placeholder.cc base::DictionaryValue values; base 122 chrome/renderer/plugins/chrome_plugin_placeholder.cc const base::FilePath& file_path) { base 123 chrome/renderer/plugins/chrome_plugin_placeholder.cc base::DictionaryValue values; base 127 chrome/renderer/plugins/chrome_plugin_placeholder.cc const base::StringPiece template_html( base 149 chrome/renderer/plugins/chrome_plugin_placeholder.cc const base::string16& name, base 151 chrome/renderer/plugins/chrome_plugin_placeholder.cc const base::string16& message) { base 152 chrome/renderer/plugins/chrome_plugin_placeholder.cc base::DictionaryValue values; base 157 chrome/renderer/plugins/chrome_plugin_placeholder.cc const base::StringPiece template_html( base 237 chrome/renderer/plugins/chrome_plugin_placeholder.cc const base::string16& plugin_name) { base 259 chrome/renderer/plugins/chrome_plugin_placeholder.cc base::UTF8ToUTF16(error))); base 24 chrome/renderer/plugins/chrome_plugin_placeholder.h const base::string16& name, base 26 chrome/renderer/plugins/chrome_plugin_placeholder.h const base::string16& message); base 36 chrome/renderer/plugins/chrome_plugin_placeholder.h const base::FilePath& plugin_path); base 49 chrome/renderer/plugins/chrome_plugin_placeholder.h const base::string16& title); base 79 chrome/renderer/plugins/chrome_plugin_placeholder.h void OnFoundMissingPlugin(const base::string16& plugin_name); base 90 chrome/renderer/plugins/chrome_plugin_placeholder.h base::string16 title_; base 100 chrome/renderer/plugins/chrome_plugin_placeholder.h base::string16 plugin_name_; base 14 chrome/renderer/prerender/prerender_media_load_deferrer.cc const base::Closure& closure) base 41 chrome/renderer/prerender/prerender_media_load_deferrer.cc base::ResetAndReturn(&continue_loading_cb_).Run(); base 20 chrome/renderer/prerender/prerender_media_load_deferrer.h const base::Closure& closure); base 30 chrome/renderer/prerender/prerender_media_load_deferrer.h base::Closure continue_loading_cb_; base 74 chrome/renderer/printing/print_web_view_helper.cc const base::Value& parameters) { base 76 chrome/renderer/printing/print_web_view_helper.cc base::JSONWriter::Write(¶meters, &json); base 77 chrome/renderer/printing/print_web_view_helper.cc std::string script = base::StringPrintf(script_format, json.c_str()); base 78 chrome/renderer/printing/print_web_view_helper.cc frame->executeScript(blink::WebString(base::UTF8ToUTF16(script))); base 317 chrome/renderer/printing/print_web_view_helper.cc bool FitToPageEnabled(const base::DictionaryValue& job_settings) { base 343 chrome/renderer/printing/print_web_view_helper.cc const base::DictionaryValue& job_settings, base 458 chrome/renderer/printing/print_web_view_helper.cc const base::DictionaryValue& header_footer_info, base 478 chrome/renderer/printing/print_web_view_helper.cc base::StringValue html( base 484 chrome/renderer/printing/print_web_view_helper.cc scoped_ptr<base::DictionaryValue> options(header_footer_info.DeepCopy()); base 490 chrome/renderer/printing/print_web_view_helper.cc base::StringPrintf("%d/%d", page_number, total_pages)); base 545 chrome/renderer/printing/print_web_view_helper.cc const base::Closure& on_ready); base 586 chrome/renderer/printing/print_web_view_helper.cc base::WeakPtrFactory<PrepareFrameAndViewForPrint> weak_ptr_factory_; base 595 chrome/renderer/printing/print_web_view_helper.cc base::Closure on_ready_; base 670 chrome/renderer/printing/print_web_view_helper.cc const base::Closure& on_ready) { base 710 chrome/renderer/printing/print_web_view_helper.cc base::MessageLoop::current()->PostTask( base 712 chrome/renderer/printing/print_web_view_helper.cc base::Bind(&PrepareFrameAndViewForPrint::CallOnReady, base 861 chrome/renderer/printing/print_web_view_helper.cc const base::DictionaryValue& job_settings) { base 884 chrome/renderer/printing/print_web_view_helper.cc base::AutoReset<bool> set_printing_flag(&print_for_preview_, true); base 960 chrome/renderer/printing/print_web_view_helper.cc const base::DictionaryValue& settings) { base 968 chrome/renderer/printing/print_web_view_helper.cc const base::DictionaryValue& job_settings) { base 975 chrome/renderer/printing/print_web_view_helper.cc void PrintWebViewHelper::OnPrintPreview(const base::DictionaryValue& settings) { base 1048 chrome/renderer/printing/print_web_view_helper.cc base::Bind(&PrintWebViewHelper::OnFramePreparedForPreviewDocument, base 1049 chrome/renderer/printing/print_web_view_helper.cc base::Unretained(this))); base 1446 chrome/renderer/printing/print_web_view_helper.cc const base::DictionaryValue& passed_job_settings) { base 1448 chrome/renderer/printing/print_web_view_helper.cc const base::DictionaryValue* job_settings = &passed_job_settings; base 1449 chrome/renderer/printing/print_web_view_helper.cc base::DictionaryValue modified_job_settings; base 1529 chrome/renderer/printing/print_web_view_helper.cc header_footer_info_.reset(new base::DictionaryValue()); base 1531 chrome/renderer/printing/print_web_view_helper.cc base::Time::Now().ToJsTime()); base 1591 chrome/renderer/printing/print_web_view_helper.cc base::Bind(&PrintWebViewHelper::OnFramePreparedForPrintPages, base 1592 chrome/renderer/printing/print_web_view_helper.cc base::Unretained(this))); base 1599 chrome/renderer/printing/print_web_view_helper.cc base::SharedMemoryHandle* shared_mem_handle) { base 1601 chrome/renderer/printing/print_web_view_helper.cc scoped_ptr<base::SharedMemory> shared_buf( base 1608 chrome/renderer/printing/print_web_view_helper.cc shared_buf->GiveToProcess(base::GetCurrentProcessHandle(), base 1631 chrome/renderer/printing/print_web_view_helper.cc base::TimeDelta diff = base::Time::Now() - last_cancelled_script_print_; base 1662 chrome/renderer/printing/print_web_view_helper.cc last_cancelled_script_print_ = base::Time::Now(); base 1693 chrome/renderer/printing/print_web_view_helper.cc base::MessageLoop::current()->PostTask( base 1695 chrome/renderer/printing/print_web_view_helper.cc base::Bind(&PrintWebViewHelper::ShowScriptedPrintPreview, base 1866 chrome/renderer/printing/print_web_view_helper.cc document_render_time_ = base::TimeDelta(); base 1867 chrome/renderer/printing/print_web_view_helper.cc begin_time_ = base::TimeTicks::Now(); base 1873 chrome/renderer/printing/print_web_view_helper.cc const base::TimeDelta& page_time) { base 1888 chrome/renderer/printing/print_web_view_helper.cc base::TimeTicks begin_time = base::TimeTicks::Now(); base 1898 chrome/renderer/printing/print_web_view_helper.cc base::TimeDelta total_time = (base::TimeTicks::Now() - begin_time) + base 27 chrome/renderer/printing/print_web_view_helper.h namespace base { base 124 chrome/renderer/printing/print_web_view_helper.h void OnPrintPreview(const base::DictionaryValue& settings); base 125 chrome/renderer/printing/print_web_view_helper.h void OnPrintForPrintPreview(const base::DictionaryValue& job_settings); base 136 chrome/renderer/printing/print_web_view_helper.h void UpdateFrameMarginsCssInfo(const base::DictionaryValue& settings); base 139 chrome/renderer/printing/print_web_view_helper.h bool IsPrintToPdfRequested(const base::DictionaryValue& settings); base 185 chrome/renderer/printing/print_web_view_helper.h const base::DictionaryValue& passed_job_settings); base 252 chrome/renderer/printing/print_web_view_helper.h base::SharedMemoryHandle* shared_mem_handle); base 271 chrome/renderer/printing/print_web_view_helper.h const base::DictionaryValue& header_footer_info, base 322 chrome/renderer/printing/print_web_view_helper.h base::Time last_cancelled_script_print_; base 335 chrome/renderer/printing/print_web_view_helper.h scoped_ptr<base::DictionaryValue> header_footer_info_; base 360 chrome/renderer/printing/print_web_view_helper.h void RenderedPreviewPage(const base::TimeDelta& page_time); base 438 chrome/renderer/printing/print_web_view_helper.h base::TimeDelta document_render_time_; base 439 chrome/renderer/printing/print_web_view_helper.h base::TimeTicks begin_time_; base 450 chrome/renderer/printing/print_web_view_helper.h base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; base 84 chrome/renderer/printing/print_web_view_helper_browsertest.cc void CreatePrintSettingsDictionary(base::DictionaryValue* dict) { base 174 chrome/renderer/printing/print_web_view_helper_browsertest.cc void OnPrintPreview(const base::DictionaryValue& dict) { base 181 chrome/renderer/printing/print_web_view_helper_browsertest.cc void OnPrintForPrintPreview(const base::DictionaryValue& dict) { base 424 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::FilePath source_path; base 425 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::CreateTemporaryFile(&source_path); base 428 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::FilePath bitmap_path; base 429 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::CreateTemporaryFile(&bitmap_path); base 547 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 574 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 594 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 614 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 647 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 667 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 697 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 715 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 733 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 751 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 757 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue* page_range = new base::DictionaryValue(); base 761 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::ListValue* page_range_array = new base::ListValue(); base 786 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 805 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue empty_dict; base 822 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 840 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 854 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue empty_dict; base 870 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 891 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 911 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 931 chrome/renderer/printing/print_web_view_helper_browsertest.cc base::DictionaryValue dict; base 42 chrome/renderer/printing/print_web_view_helper_linux.cc base::TimeTicks begin_time = base::TimeTicks::Now(); base 48 chrome/renderer/printing/print_web_view_helper_linux.cc base::TimeTicks::Now() - begin_time); base 104 chrome/renderer/printing/print_web_view_helper_linux.cc base::FileDescriptor fd; base 123 chrome/renderer/printing/print_web_view_helper_linux.cc scoped_ptr<base::SharedMemory> shared_mem( base 137 chrome/renderer/printing/print_web_view_helper_linux.cc shared_mem->GiveToProcess(base::GetCurrentProcessHandle(), base 105 chrome/renderer/printing/print_web_view_helper_win.cc base::TimeTicks begin_time = base::TimeTicks::Now(); base 109 chrome/renderer/printing/print_web_view_helper_win.cc base::TimeTicks::Now() - begin_time); base 221 chrome/renderer/printing/print_web_view_helper_win.cc Metafile* metafile, base::SharedMemoryHandle* shared_mem_handle) { base 223 chrome/renderer/printing/print_web_view_helper_win.cc base::SharedMemory shared_buf; base 241 chrome/renderer/printing/print_web_view_helper_win.cc shared_buf.GiveToProcess(base::GetCurrentProcessHandle(), shared_mem_handle); base 38 chrome/renderer/resource_bundle_source_map.cc const base::StringPiece& string) { base 35 chrome/renderer/resource_bundle_source_map.h const base::StringPiece& string); base 11 chrome/renderer/safe_browsing/feature_extractor_clock.cc base::TimeTicks FeatureExtractorClock::Now() { base 12 chrome/renderer/safe_browsing/feature_extractor_clock.cc return base::TimeTicks::Now(); base 21 chrome/renderer/safe_browsing/feature_extractor_clock.h virtual base::TimeTicks Now(); base 53 chrome/renderer/safe_browsing/features.h const base::hash_map<std::string, double>& features() const { base 66 chrome/renderer/safe_browsing/features.h base::hash_map<std::string, double> features_; base 18 chrome/renderer/safe_browsing/features_unittest.cc base::StringPrintf("Feature%" PRIuS, i))); base 25 chrome/renderer/safe_browsing/features_unittest.cc base::StringPrintf("Extra%" PRIuS, i))); base 103 chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc GURL iframe_url(base::StringPrintf("%s%d", urlprefix, i)); base 119 chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc GURL script_url(base::StringPrintf("%s%d", urlprefix, i)); base 20 chrome/renderer/safe_browsing/mock_feature_extractor_clock.h MOCK_METHOD0(Now, base::TimeTicks()); base 81 chrome/renderer/safe_browsing/phishing_classifier.cc const base::string16* page_text, base 99 chrome/renderer/safe_browsing/phishing_classifier.cc base::MessageLoop::current()->PostTask( base 101 chrome/renderer/safe_browsing/phishing_classifier.cc base::Bind(&PhishingClassifier::BeginFeatureExtraction, base 142 chrome/renderer/safe_browsing/phishing_classifier.cc base::Bind(&PhishingClassifier::DOMExtractionFinished, base 143 chrome/renderer/safe_browsing/phishing_classifier.cc base::Unretained(this))); base 163 chrome/renderer/safe_browsing/phishing_classifier.cc base::Bind(&PhishingClassifier::TermExtractionFinished, base 164 chrome/renderer/safe_browsing/phishing_classifier.cc base::Unretained(this))); base 189 chrome/renderer/safe_browsing/phishing_classifier.cc for (base::hash_map<std::string, double>::const_iterator it = base 48 chrome/renderer/safe_browsing/phishing_classifier.h typedef base::Callback<void(const ClientPhishingRequest& /* verdict */)> base 86 chrome/renderer/safe_browsing/phishing_classifier.h virtual void BeginClassification(const base::string16* page_text, base 138 chrome/renderer/safe_browsing/phishing_classifier.h const base::string16* page_text_; // owned by the caller base 143 chrome/renderer/safe_browsing/phishing_classifier.h base::WeakPtrFactory<PhishingClassifier> weak_factory_; base 113 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc bool RunPhishingClassifier(const base::string16* page_text, base 119 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc base::Bind(&PhishingClassifierTest::DoRunPhishingClassifier, base 120 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc base::Unretained(this), base 125 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc void DoRunPhishingClassifier(const base::string16* page_text, base 133 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc base::RunLoop run_loop; base 136 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc base::Bind(&PhishingClassifierTest::ClassificationFinished, base 137 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc base::Unretained(this), &run_loop, verdict)); base 148 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc void ClassificationFinished(base::RunLoop* run_loop, base 161 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc base::Bind(&PhishingClassifierTest::HandleRequest, base 162 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc base::Unretained(this))); base 226 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc .WillRepeatedly(::testing::Return(base::TimeTicks::Now())); base 228 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc base::string16 page_text = base::ASCIIToUTF16("login"); base 265 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 41 chrome/renderer/safe_browsing/phishing_classifier_delegate.cc static base::LazyInstance<PhishingClassifierDelegates> base 44 chrome/renderer/safe_browsing/phishing_classifier_delegate.cc static base::LazyInstance<scoped_ptr<const safe_browsing::Scorer> > base 164 chrome/renderer/safe_browsing/phishing_classifier_delegate.cc void PhishingClassifierDelegate::PageCaptured(base::string16* page_text, base 288 chrome/renderer/safe_browsing/phishing_classifier_delegate.cc base::Bind(&PhishingClassifierDelegate::ClassificationDone, base 289 chrome/renderer/safe_browsing/phishing_classifier_delegate.cc base::Unretained(this))); base 54 chrome/renderer/safe_browsing/phishing_classifier_delegate.h void PageCaptured(base::string16* page_text, bool preliminary_capture); base 130 chrome/renderer/safe_browsing/phishing_classifier_delegate.h base::string16 classifier_page_text_; base 42 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc using base::ASCIIToUTF16; base 64 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc void(const base::string16*, const DoneCallback&)); base 102 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc run_loop_.reset(new base::RunLoop()); base 103 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc waiting_message_loop_ = base::MessageLoop::current(); base 129 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::MessageLoop* waiting_message_loop_; base 130 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Closure quit_closure_; base 131 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc scoped_ptr<base::RunLoop> run_loop_; base 173 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Bind(&PhishingClassifierDelegate::ClassificationDone, base 174 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Unretained(delegate_), base 181 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Bind(&PhishingClassifierDelegate::OnStartPhishingDetection, base 182 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Unretained(delegate_), url)); base 185 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc void PageCaptured(base::string16* page_text, bool preliminary_capture) { base 187 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Bind(&PhishingClassifierDelegate::PageCaptured, base 188 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Unretained(delegate_), page_text, base 196 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Bind(&PhishingClassifierDelegateTest::HandleRequest, base 197 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Unretained(this))); base 238 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Bind(&PhishingClassifierDelegateTest::NavigateMainFrameInternal, base 239 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::Unretained(this), url)); base 276 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc std::string port = base::IntToString(embedded_test_server_->port()); base 283 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::string16 page_text = ASCIIToUTF16("dummy"); base 417 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::string16 page_text = ASCIIToUTF16("dummy"); base 451 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::string16 page_text = ASCIIToUTF16("dummy"); base 482 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::string16 page_text = ASCIIToUTF16("phish"); base 527 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc url_str += base::IntToString(embedded_test_server_->port()); base 554 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::string16 page_text = ASCIIToUTF16("phish"); base 582 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::string16 page_text = ASCIIToUTF16("phish"); base 611 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc base::string16 page_text = ASCIIToUTF16("phish"); base 45 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::hash_set<std::string> external_domains; base 66 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::TimeTicks start_time; base 71 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc explicit PageFeatureState(base::TimeTicks start_time_ticks) base 135 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::MessageLoop::current()->PostTask( base 137 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::Bind(&PhishingDOMFeatureExtractor::ExtractFeaturesWithTimeout, base 150 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::TimeTicks current_chunk_start_time = clock_->Now(); base 195 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::TimeTicks now = clock_->Now(); base 197 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::TimeDelta::FromMilliseconds(kMaxTotalTimeMs)) { base 204 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::TimeDelta chunk_elapsed = now - current_chunk_start_time; base 206 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::TimeDelta::FromMilliseconds(kMaxTimePerChunkMs)) { base 215 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::MessageLoop::current()->PostTask( base 217 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::Bind( base 442 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc for (base::hash_set<std::string>::iterator it = base 39 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h typedef base::Callback<void(bool)> DoneCallback; base 150 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h base::WeakPtrFactory<PhishingDOMFeatureExtractor> weak_factory_; base 65 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::MessageLoop::current()->PostTask( base 67 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::Bind(&PhishingDOMFeatureExtractorTest::RemoveIframe, base 97 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::Bind(&PhishingDOMFeatureExtractorTest::ExtractFeaturesInternal, base 98 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::Unretained(this), base 108 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::Bind(&PhishingDOMFeatureExtractorTest::ExtractionDone, base 109 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::Unretained(this), base 115 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc void ExtractionDone(const base::Closure& quit_closure, base 136 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::Bind(&PhishingDOMFeatureExtractorTest::HandleRequest, base 137 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::Unretained(this))); base 186 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::WeakPtrFactory<PhishingDOMFeatureExtractorTest> weak_factory_; base 191 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); base 246 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); base 274 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 280 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc url_str += base::IntToString(https_server.host_port_pair().port()); base 298 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); base 319 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 325 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc url_str += base::IntToString(https_server.host_port_pair().port()); base 341 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); base 345 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc std::string port = base::IntToString(embedded_test_server_->port()); base 415 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::TimeTicks now = base::TimeTicks::Now(); base 422 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(6))) base 425 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(12))) base 427 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(22))) base 429 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(24))) base 431 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(30))) base 434 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(36))) base 436 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(46))) base 438 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(48))) base 440 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(54))) base 442 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(56))); base 465 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(300))) base 467 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(350))) base 469 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(360))) base 471 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(600))) base 473 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(620))); base 488 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc base::TimeTicks now = base::TimeTicks::Now(); base 499 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc Return(now + base::TimeDelta::FromMilliseconds(21)))) base 501 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(25))) base 503 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(27))) base 505 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(33))); base 65 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::TimeTicks start_time; base 70 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc ExtractionState(const base::string16& text, base::TimeTicks start_time_ticks) base 94 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc const base::hash_set<std::string>* page_term_hashes, base 95 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc const base::hash_set<uint32>* page_word_hashes, base 116 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc const base::string16* page_text, base 131 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::MessageLoop::current()->PostTask( base 133 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::Bind(&PhishingTermFeatureExtractor::ExtractFeaturesWithTimeout, base 146 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::TimeTicks current_chunk_start_time = clock_->Now(); base 170 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc HandleWord(base::StringPiece16(page_text_->data() + state_->position, base 178 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::TimeTicks now = clock_->Now(); base 180 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::TimeDelta::FromMilliseconds(kMaxTotalTimeMs)) { base 187 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::TimeDelta chunk_elapsed = now - current_chunk_start_time; base 189 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::TimeDelta::FromMilliseconds(kMaxTimePerChunkMs)) { base 198 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::MessageLoop::current()->PostTask( base 200 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::Bind( base 212 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc const base::StringPiece16& word) { base 224 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc std::string word_lower = base::UTF16ToUTF8(base::i18n::ToLower(word)); base 38 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h typedef base::Callback<void(bool)> DoneCallback; base 53 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h const base::hash_set<std::string>* page_term_hashes, base 54 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h const base::hash_set<uint32>* page_word_hashes, base 73 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h void ExtractFeatures(const base::string16* page_text, base 109 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h void HandleWord(const base::StringPiece16& word); base 123 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h const base::hash_set<std::string>* page_term_hashes_; base 130 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h const base::hash_set<uint32>* page_word_hashes_; base 142 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h typedef base::HashingMRUCache<base::StringPiece16, bool> WordCache; base 149 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h const base::string16* page_text_; // The caller keeps ownership of this. base 158 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h base::WeakPtrFactory<PhishingTermFeatureExtractor> weak_factory_; base 26 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc using base::ASCIIToUTF16; base 34 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::hash_set<std::string> terms; base 48 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc for (base::hash_set<std::string>::iterator it = terms.begin(); base 53 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::hash_set<std::string> words; base 67 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc for (base::hash_set<std::string>::iterator it = words.begin(); base 82 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc bool ExtractFeatures(const base::string16* page_text, FeatureMap* features) { base 87 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::Bind(&PhishingTermFeatureExtractorTest::ExtractionDone, base 88 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::Unretained(this))); base 93 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc void PartialExtractFeatures(const base::string16* page_text, base 98 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::Bind(&PhishingTermFeatureExtractorTest::ExtractionDone, base 99 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::Unretained(this))); base 102 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::Bind(&PhishingTermFeatureExtractorTest::QuitExtraction, base 103 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::Unretained(this))); base 118 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::MessageLoop msg_loop_; base 121 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::hash_set<std::string> term_hashes_; base 122 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::hash_set<uint32> word_hashes_; base 128 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); base 130 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::string16 page_text = ASCIIToUTF16("blah"); base 183 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc page_text = base::string16(); base 192 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::UTF8ToUTF16("\xe4\xbd\xa0\xe5\xa5\xbd\xe5\x86\x8d\xe8\xa7\x81"); base 210 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::string16 page_text(ASCIIToUTF16("one ")); base 212 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc page_text.append(ASCIIToUTF16(base::StringPrintf("%d ", i))); base 219 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 226 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(3))) base 228 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(6))) base 230 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(9))) base 233 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(12))) base 235 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(22))) base 237 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(25))) base 239 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(28))) base 241 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(30))); base 265 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(300))) base 267 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(350))) base 269 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(600))) base 271 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(620))); base 278 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc scoped_ptr<base::string16> page_text( base 279 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc new base::string16(ASCIIToUTF16("one "))); base 281 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc page_text->append(ASCIIToUTF16(base::StringPrintf("%d ", i))); base 284 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 291 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(7))) base 294 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(14))); base 300 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc page_text.reset(new base::string16()); base 302 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc page_text->append(ASCIIToUTF16(base::StringPrintf("%d ", i))); base 308 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); base 28 chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc base::ElapsedTimer timer; base 35 chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc base::TrimString(url.host(), ".", &host); base 62 chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc base::SplitStringDontTrim(host, '.', &host_tokens); base 54 chrome/renderer/safe_browsing/scorer.cc Scorer* Scorer::Create(const base::StringPiece& model_str) { base 90 chrome/renderer/safe_browsing/scorer.cc const base::hash_set<std::string>& Scorer::page_terms() const { base 94 chrome/renderer/safe_browsing/scorer.cc const base::hash_set<uint32>& Scorer::page_words() const { base 108 chrome/renderer/safe_browsing/scorer.cc const base::hash_map<std::string, double>& feature_map = features.features(); base 111 chrome/renderer/safe_browsing/scorer.cc base::hash_map<std::string, double>::const_iterator it = feature_map.find( base 34 chrome/renderer/safe_browsing/scorer.h static Scorer* Create(const base::StringPiece& model_str); base 48 chrome/renderer/safe_browsing/scorer.h const base::hash_set<std::string>& page_terms() const; base 52 chrome/renderer/safe_browsing/scorer.h const base::hash_set<uint32>& page_words() const; base 77 chrome/renderer/safe_browsing/scorer.h base::hash_set<std::string> page_terms_; base 78 chrome/renderer/safe_browsing/scorer.h base::hash_set<uint32> page_words_; base 81 chrome/renderer/safe_browsing/scorer_unittest.cc base::hash_set<std::string> expected_page_terms; base 91 chrome/renderer/safe_browsing/scorer_unittest.cc base::hash_set<uint32> expected_page_words; base 72 chrome/renderer/searchbox/searchbox.cc if (!base::StringToInt(tokens[0], &view_id) || view_id != render_view_id) base 74 chrome/renderer/searchbox/searchbox.cc return base::StringToInt(tokens[1], id); base 165 chrome/renderer/searchbox/searchbox.cc const base::string16& provider) { base 172 chrome/renderer/searchbox/searchbox.cc const base::string16& provider) { base 178 chrome/renderer/searchbox/searchbox.cc void SearchBox::CheckIsUserSignedInToChromeAs(const base::string16& identity) { base 204 chrome/renderer/searchbox/searchbox.cc *url = GURL(base::StringPrintf("chrome-search://favicon/%s%s", base 221 chrome/renderer/searchbox/searchbox.cc *url = GURL(base::StringPrintf("chrome-search://thumb/%s", base 256 chrome/renderer/searchbox/searchbox.cc void SearchBox::Paste(const base::string16& text) { base 320 chrome/renderer/searchbox/searchbox.cc void SearchBox::OnChromeIdentityCheckResult(const base::string16& identity, base 428 chrome/renderer/searchbox/searchbox.cc void SearchBox::OnSubmit(const base::string16& query) { base 35 chrome/renderer/searchbox/searchbox.h void LogMostVisitedImpression(int position, const base::string16& provider); base 38 chrome/renderer/searchbox/searchbox.h void LogMostVisitedNavigation(int position, const base::string16& provider); base 41 chrome/renderer/searchbox/searchbox.h void CheckIsUserSignedInToChromeAs(const base::string16& identity); base 86 chrome/renderer/searchbox/searchbox.h void Paste(const base::string16& text); base 111 chrome/renderer/searchbox/searchbox.h const base::string16& query() const { return query_; } base 119 chrome/renderer/searchbox/searchbox.h void OnChromeIdentityCheckResult(const base::string16& identity, base 131 chrome/renderer/searchbox/searchbox.h void OnSubmit(const base::string16& query); base 151 chrome/renderer/searchbox/searchbox.h base::string16 query_; base 60 chrome/renderer/searchbox/searchbox_extension.cc base::string16 V8ValueToUTF16(v8::Handle<v8::Value> v) { base 62 chrome/renderer/searchbox/searchbox_extension.cc return base::string16(reinterpret_cast<const base::char16*>(*s), s.length()); base 67 chrome/renderer/searchbox/searchbox_extension.cc const base::string16& s) { base 92 chrome/renderer/searchbox/searchbox_extension.cc base::StringPrintf( base 117 chrome/renderer/searchbox/searchbox_extension.cc if (base::i18n::StringContainsStrongRTLChars(mv_item.title)) base 122 chrome/renderer/searchbox/searchbox_extension.cc base::string16 title = mv_item.title; base 124 chrome/renderer/searchbox/searchbox_extension.cc title = base::UTF8ToUTF16(mv_item.url.spec()); base 189 chrome/renderer/searchbox/searchbox_extension.cc const base::string16& possibly_relative_url) { base 340 chrome/renderer/searchbox/searchbox_extension.cc explicit SearchBoxExtensionWrapper(const base::StringPiece& code); base 474 chrome/renderer/searchbox/searchbox_extension.cc const base::string16& identity, base 476 chrome/renderer/searchbox/searchbox_extension.cc std::string escaped_identity = base::GetQuotedJSONString(identity); base 477 chrome/renderer/searchbox/searchbox_extension.cc blink::WebString script(base::UTF8ToUTF16(base::StringPrintf( base 537 chrome/renderer/searchbox/searchbox_extension.cc const base::StringPiece& code) base 735 chrome/renderer/searchbox/searchbox_extension.cc const base::string16& query = SearchBox::Get(render_view)->query(); base 744 chrome/renderer/searchbox/searchbox_extension.cc args.GetReturnValue().Set(base::i18n::IsRTL()); base 802 chrome/renderer/searchbox/searchbox_extension.cc base::StringPrintf( base 807 chrome/renderer/searchbox/searchbox_extension.cc base::DoubleToString(theme_info.background_color.a / 255.0) base 854 chrome/renderer/searchbox/searchbox_extension.cc base::StringPrintf(kCSSBackgroundImageFormat, base 919 chrome/renderer/searchbox/searchbox_extension.cc base::StringPrintf(kThemeAttributionFormat, base 1030 chrome/renderer/searchbox/searchbox_extension.cc const base::string16& possibly_relative_url = V8ValueToUTF16(args[0]); base 1055 chrome/renderer/searchbox/searchbox_extension.cc base::string16 text; base 35 chrome/renderer/searchbox/searchbox_extension.h const base::string16& identity, base 14 chrome/renderer/searchbox/searchbox_extension_unittest.cc const base::string16& possibly_relative_url); base 18 chrome/renderer/searchbox/searchbox_extension_unittest.cc ResolveURL(GURL(""), base::ASCIIToUTF16("http://www.google.com"))); base 22 chrome/renderer/searchbox/searchbox_extension_unittest.cc base::ASCIIToUTF16("http://news.google.com"))); base 26 chrome/renderer/searchbox/searchbox_extension_unittest.cc base::ASCIIToUTF16("hello?q=world"))); base 30 chrome/renderer/searchbox/searchbox_extension_unittest.cc base::ASCIIToUTF16("foo/hello?q=world"))); base 62 chrome/renderer/security_filter_peer.cc std::string html = base::StringPrintf( base 99 chrome/renderer/security_filter_peer.cc const base::TimeTicks& completion_time, base 162 chrome/renderer/security_filter_peer.cc const base::TimeTicks& completion_time, base 220 chrome/renderer/security_filter_peer.cc const base::TimeTicks& completion_time, base 52 chrome/renderer/security_filter_peer.h const base::TimeTicks& completion_time, base 86 chrome/renderer/security_filter_peer.h const base::TimeTicks& completion_time, base 132 chrome/renderer/security_filter_peer.h const base::TimeTicks& completion_time, base 16 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc void CocoaSpellingEngine::Init(base::File bdict_file) { base 31 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc bool CocoaSpellingEngine::CheckSpelling(const base::string16& word_to_check, base 43 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc const base::string16& wrong_word, base 44 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc std::vector<base::string16>* optional_suggestions) { base 13 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h virtual void Init(base::File bdict_file) OVERRIDE; base 16 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h virtual bool CheckSpelling(const base::string16& word_to_check, base 19 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h const base::string16& wrong_word, base 20 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h std::vector<base::string16>* optional_suggestions) OVERRIDE; base 24 chrome/renderer/spellchecker/custom_dictionary_engine.cc dictionary_.insert(base::UTF8ToUTF16(*it)); base 34 chrome/renderer/spellchecker/custom_dictionary_engine.cc dictionary_.insert(base::UTF8ToUTF16(*it)); base 39 chrome/renderer/spellchecker/custom_dictionary_engine.cc dictionary_.erase(base::UTF8ToUTF16(*it)); base 44 chrome/renderer/spellchecker/custom_dictionary_engine.cc const base::string16& text, base 28 chrome/renderer/spellchecker/custom_dictionary_engine.h bool SpellCheckWord(const base::string16& text, base 39 chrome/renderer/spellchecker/custom_dictionary_engine.h std::set<base::string16> dictionary_; base 13 chrome/renderer/spellchecker/custom_dictionary_engine_unittest.cc EXPECT_FALSE(engine.SpellCheckWord(base::string16().c_str(), 15, 23)); base 18 chrome/renderer/spellchecker/custom_dictionary_engine_unittest.cc EXPECT_FALSE(engine.SpellCheckWord(base::ASCIIToUTF16("helllo").c_str(), base 23 chrome/renderer/spellchecker/custom_dictionary_engine_unittest.cc EXPECT_TRUE(engine.SpellCheckWord(base::ASCIIToUTF16("helllo").c_str(), base 28 chrome/renderer/spellchecker/custom_dictionary_engine_unittest.cc base::char16 data[4] = {'a', 0, 'b', 'c'}; base 18 chrome/renderer/spellchecker/hunspell_engine.cc using base::TimeTicks; base 50 chrome/renderer/spellchecker/hunspell_engine.cc void HunspellEngine::Init(base::File file) { base 63 chrome/renderer/spellchecker/hunspell_engine.cc bdict_file_.reset(new base::MemoryMappedFile); base 66 chrome/renderer/spellchecker/hunspell_engine.cc TimeTicks debug_start_time = base::Histogram::DebugNow(); base 71 chrome/renderer/spellchecker/hunspell_engine.cc base::Histogram::DebugNow() - debug_start_time); base 77 chrome/renderer/spellchecker/hunspell_engine.cc bool HunspellEngine::CheckSpelling(const base::string16& word_to_check, base 83 chrome/renderer/spellchecker/hunspell_engine.cc std::string word_to_check_utf8(base::UTF16ToUTF8(word_to_check)); base 99 chrome/renderer/spellchecker/hunspell_engine.cc const base::string16& wrong_word, base 100 chrome/renderer/spellchecker/hunspell_engine.cc std::vector<base::string16>* optional_suggestions) { base 101 chrome/renderer/spellchecker/hunspell_engine.cc std::string wrong_word_utf8(base::UTF16ToUTF8(wrong_word)); base 118 chrome/renderer/spellchecker/hunspell_engine.cc optional_suggestions->push_back(base::UTF8ToUTF16(suggestions[i])); base 19 chrome/renderer/spellchecker/hunspell_engine.h namespace base { base 28 chrome/renderer/spellchecker/hunspell_engine.h virtual void Init(base::File file) OVERRIDE; base 32 chrome/renderer/spellchecker/hunspell_engine.h virtual bool CheckSpelling(const base::string16& word_to_check, base 35 chrome/renderer/spellchecker/hunspell_engine.h const base::string16& wrong_word, base 36 chrome/renderer/spellchecker/hunspell_engine.h std::vector<base::string16>* optional_suggestions) OVERRIDE; base 44 chrome/renderer/spellchecker/hunspell_engine.h scoped_ptr<base::MemoryMappedFile> bdict_file_; base 49 chrome/renderer/spellchecker/hunspell_engine.h base::File file_; base 74 chrome/renderer/spellchecker/spellcheck.cc SpellcheckRequest(const base::string16& text, base 81 chrome/renderer/spellchecker/spellcheck.cc base::string16 text() { return text_; } base 85 chrome/renderer/spellchecker/spellcheck.cc base::string16 text_; // Text to be checked in this task. base 170 chrome/renderer/spellchecker/spellcheck.cc void SpellCheck::Init(base::File file, base 178 chrome/renderer/spellchecker/spellcheck.cc const base::char16* in_word, base 183 chrome/renderer/spellchecker/spellcheck.cc std::vector<base::string16>* optional_suggestions) { base 199 chrome/renderer/spellchecker/spellcheck.cc const base::string16& text, base 228 chrome/renderer/spellchecker/spellcheck.cc base::string16 replacement; base 247 chrome/renderer/spellchecker/spellcheck.cc base::string16 SpellCheck::GetAutoCorrectionWord(const base::string16& word, base 249 chrome/renderer/spellchecker/spellcheck.cc base::string16 autocorrect_word; base 261 chrome/renderer/spellchecker/spellcheck.cc base::char16 misspelled_word[ base 263 chrome/renderer/spellchecker/spellcheck.cc const base::char16* word_char = word.c_str(); base 302 chrome/renderer/spellchecker/spellcheck.cc const base::string16& text, base 327 chrome/renderer/spellchecker/spellcheck.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 328 chrome/renderer/spellchecker/spellcheck.cc base::Bind(&SpellCheck::PerformSpellCheck, base 330 chrome/renderer/spellchecker/spellcheck.cc base::Owned(request))); base 351 chrome/renderer/spellchecker/spellcheck.cc const base::string16& line_text, base 357 chrome/renderer/spellchecker/spellcheck.cc const base::char16* text = line_text.c_str(); base 34 chrome/renderer/spellchecker/spellcheck.h public base::SupportsWeakPtr<SpellCheck> { base 47 chrome/renderer/spellchecker/spellcheck.h void Init(base::File file, base 69 chrome/renderer/spellchecker/spellcheck.h bool SpellCheckWord(const base::char16* in_word, base 74 chrome/renderer/spellchecker/spellcheck.h std::vector<base::string16>* optional_suggestions); base 80 chrome/renderer/spellchecker/spellcheck.h const base::string16& text, base 89 chrome/renderer/spellchecker/spellcheck.h base::string16 GetAutoCorrectionWord(const base::string16& word, int tag); base 94 chrome/renderer/spellchecker/spellcheck.h void RequestTextChecking(const base::string16& text, base 105 chrome/renderer/spellchecker/spellcheck.h const base::string16& line_text, base 19 chrome/renderer/spellchecker/spellcheck_language.cc void SpellcheckLanguage::Init(base::File file, const std::string& language) { base 34 chrome/renderer/spellchecker/spellcheck_language.cc const base::char16* in_word, base 39 chrome/renderer/spellchecker/spellcheck_language.cc std::vector<base::string16>* optional_suggestions) { base 58 chrome/renderer/spellchecker/spellcheck_language.cc base::string16 word; base 99 chrome/renderer/spellchecker/spellcheck_language.cc bool SpellcheckLanguage::IsValidContraction(const base::string16& contraction, base 110 chrome/renderer/spellchecker/spellcheck_language.cc base::string16 word; base 24 chrome/renderer/spellchecker/spellcheck_language.h void Init(base::File file, const std::string& language); base 37 chrome/renderer/spellchecker/spellcheck_language.h bool SpellCheckWord(const base::char16* in_word, base 42 chrome/renderer/spellchecker/spellcheck_language.h std::vector<base::string16>* optional_suggestions); base 55 chrome/renderer/spellchecker/spellcheck_language.h bool IsValidContraction(const base::string16& word, int tag); base 55 chrome/renderer/spellchecker/spellcheck_provider.cc const base::string16& text, base 87 chrome/renderer/spellchecker/spellcheck_provider.cc base::string16(text), base 133 chrome/renderer/spellchecker/spellcheck_provider.cc base::string16 word(text); base 134 chrome/renderer/spellchecker/spellcheck_provider.cc std::vector<base::string16> suggestions; base 186 chrome/renderer/spellchecker/spellcheck_provider.cc return base::string16(); base 212 chrome/renderer/spellchecker/spellcheck_provider.cc const base::string16& line, base 243 chrome/renderer/spellchecker/spellcheck_provider.cc const base::string16& text, base 245 chrome/renderer/spellchecker/spellcheck_provider.cc const base::char16* data = text.data(); base 278 chrome/renderer/spellchecker/spellcheck_provider.cc base::string16(), base 310 chrome/renderer/spellchecker/spellcheck_provider.cc const base::string16& text, base 319 chrome/renderer/spellchecker/spellcheck_provider.cc base::string16 request(text); base 42 chrome/renderer/spellchecker/spellcheck_provider.h const base::string16& text, base 67 chrome/renderer/spellchecker/spellcheck_provider.h bool SatisfyRequestFromCache(const base::string16& text, base 98 chrome/renderer/spellchecker/spellcheck_provider.h const base::string16& text, base 104 chrome/renderer/spellchecker/spellcheck_provider.h bool HasWordCharacters(const base::string16& text, int index) const; base 119 chrome/renderer/spellchecker/spellcheck_provider.h base::string16 last_request_; base 17 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc using base::ASCIIToUTF16; base 18 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc using base::WideToUTF16; base 138 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc base::string16 text = ASCIIToUTF16("Icland is an icland "); base 145 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc base::string16 substring = text.substr(0, kSubstringLength); base 26 chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc base::string16 text; base 65 chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc EXPECT_EQ(read_parameters.text, base::UTF8ToUTF16("hello ")); base 89 chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc EXPECT_EQ(read_parameters1.text, base::UTF8ToUTF16("hello ")); base 93 chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc EXPECT_EQ(read_parameters2.text, base::UTF8ToUTF16("bye ")); base 64 chrome/renderer/spellchecker/spellcheck_provider_test.cc const base::string16& text, base 46 chrome/renderer/spellchecker/spellcheck_provider_test.h const base::string16& text, base 50 chrome/renderer/spellchecker/spellcheck_provider_test.h base::string16 text_; base 23 chrome/renderer/spellchecker/spellcheck_unittest.cc base::FilePath GetHunspellDirectory() { base 24 chrome/renderer/spellchecker/spellcheck_unittest.cc base::FilePath hunspell_directory; base 25 chrome/renderer/spellchecker/spellcheck_unittest.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &hunspell_directory)) base 26 chrome/renderer/spellchecker/spellcheck_unittest.cc return base::FilePath(); base 56 chrome/renderer/spellchecker/spellcheck_unittest.cc base::FilePath hunspell_directory = GetHunspellDirectory(); base 58 chrome/renderer/spellchecker/spellcheck_unittest.cc base::File file( base 61 chrome/renderer/spellchecker/spellcheck_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 82 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16(word), tag); base 88 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16& input, base 106 chrome/renderer/spellchecker/spellcheck_unittest.cc base::MessageLoop loop; base 391 chrome/renderer/spellchecker/spellcheck_unittest.cc base::WideToUTF16(kTestCases[i].input).c_str(), base 434 chrome/renderer/spellchecker/spellcheck_unittest.cc std::vector<base::string16> suggestions; base 442 chrome/renderer/spellchecker/spellcheck_unittest.cc base::WideToUTF16(kTestCases[i].input).c_str(), base 456 chrome/renderer/spellchecker/spellcheck_unittest.cc base::WideToUTF16(kTestCases[i].suggested_word)) == 0) { base 821 chrome/renderer/spellchecker/spellcheck_unittest.cc base::WideToUTF16(kTestCases[i].input).c_str(), base 858 chrome/renderer/spellchecker/spellcheck_unittest.cc base::string16 misspelled_word(base::UTF8ToUTF16(kTestCases[i].input)); base 859 chrome/renderer/spellchecker/spellcheck_unittest.cc base::string16 expected_autocorrect_word( base 860 chrome/renderer/spellchecker/spellcheck_unittest.cc base::UTF8ToUTF16(kTestCases[i].expected_result)); base 861 chrome/renderer/spellchecker/spellcheck_unittest.cc base::string16 autocorrect_word = spell_check()->GetAutoCorrectionWord( base 902 chrome/renderer/spellchecker/spellcheck_unittest.cc base::string16 word(base::WideToUTF16(kTestCases[i].input)); base 925 chrome/renderer/spellchecker/spellcheck_unittest.cc TestSpellCheckParagraph(base::UTF8ToUTF16(""), expected); base 930 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16("apple"); base 937 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16("zz"); base 947 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16("zz, zz"); base 961 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16( base 976 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16( base 1006 chrome/renderer/spellchecker/spellcheck_unittest.cc spell_check()->RequestTextChecking(base::string16(), &completion); base 1008 chrome/renderer/spellchecker/spellcheck_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1017 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::ASCIIToUTF16("hello"); base 1020 chrome/renderer/spellchecker/spellcheck_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1029 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::ASCIIToUTF16("apple, zz"); base 1032 chrome/renderer/spellchecker/spellcheck_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1044 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::ASCIIToUTF16("apple, zz, orange, zz"); base 1047 chrome/renderer/spellchecker/spellcheck_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1062 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text[3] = { base 1063 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16("what, zz"), base 1064 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16("apple, zz"), base 1065 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16("orange, zz") base 1071 chrome/renderer/spellchecker/spellcheck_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1087 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::ASCIIToUTF16("zz"); base 1092 chrome/renderer/spellchecker/spellcheck_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1102 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text[3] = { base 1103 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16("what, zz"), base 1104 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16("apple, zz"), base 1105 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16("orange, zz") base 1114 chrome/renderer/spellchecker/spellcheck_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1125 chrome/renderer/spellchecker/spellcheck_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1134 chrome/renderer/spellchecker/spellcheck_unittest.cc base::string16 text = base::ASCIIToUTF16("zz"); base 1137 chrome/renderer/spellchecker/spellcheck_unittest.cc SpellCheckResult::SPELLING, 0, 2, base::string16())); base 1154 chrome/renderer/spellchecker/spellcheck_unittest.cc base::string16 text = base::ASCIIToUTF16("I have bean to USA."); base 1157 chrome/renderer/spellchecker/spellcheck_unittest.cc SpellCheckResult::SPELLING, 7, 4, base::string16())); base 1214 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16(kTestCases[i].input).c_str(), base 1261 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16(kTestCases[i].suggestion).c_str(), base 1271 chrome/renderer/spellchecker/spellcheck_unittest.cc std::vector<base::string16> suggestions; base 1276 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16(kTestCases[i].input).c_str(), base 1290 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16(kTestCases[t].suggestion)); base 1304 chrome/renderer/spellchecker/spellcheck_unittest.cc base::FilePath hunspell = GetHunspellDirectory(); base 1306 chrome/renderer/spellchecker/spellcheck_unittest.cc base::FilePath dict = chrome::spellcheck_common::GetVersionedFileName( base 1308 chrome/renderer/spellchecker/spellcheck_unittest.cc EXPECT_TRUE(base::PathExists(dict)) << dict.value() << " not found"; base 1364 chrome/renderer/spellchecker/spellcheck_unittest.cc std::vector<base::string16> suggestions; base 1366 chrome/renderer/spellchecker/spellcheck_unittest.cc base::ASCIIToUTF16(kTestCases[i].misspelled).c_str(), base 1374 chrome/renderer/spellchecker/spellcheck_unittest.cc EXPECT_EQ(suggestions[0], base::ASCIIToUTF16(kTestCases[i].suggestion)); base 35 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::string16 SpellcheckCharAttribute::GetRuleSet( base 177 chrome/renderer/spellchecker/spellcheck_worditerator.cc ruleset_allow_contraction_ = base::ASCIIToUTF16( base 178 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::StringPrintf(kRuleTemplate, base 184 chrome/renderer/spellchecker/spellcheck_worditerator.cc ruleset_disallow_contraction_ = base::ASCIIToUTF16( base 185 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::StringPrintf(kRuleTemplate, base 194 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::string16* output) const { base 213 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::string16* output) const { base 225 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::string16* output) const { base 273 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::string16* output) const { base 288 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::string16* output) const { base 320 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::string16 rule(attribute->GetRuleSet(allow_contraction)); base 342 chrome/renderer/spellchecker/spellcheck_worditerator.cc bool SpellcheckWordIterator::SetText(const base::char16* text, size_t length) { base 363 chrome/renderer/spellchecker/spellcheck_worditerator.cc bool SpellcheckWordIterator::GetNextWord(base::string16* word_string, base 410 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::string16* output_string) const { base 40 chrome/renderer/spellchecker/spellcheck_worditerator.h base::string16 GetRuleSet(bool allow_contraction) const; base 44 chrome/renderer/spellchecker/spellcheck_worditerator.h bool OutputChar(UChar c, base::string16* output) const; base 56 chrome/renderer/spellchecker/spellcheck_worditerator.h bool OutputArabic(UChar c, base::string16* output) const; base 57 chrome/renderer/spellchecker/spellcheck_worditerator.h bool OutputHangul(UChar c, base::string16* output) const; base 58 chrome/renderer/spellchecker/spellcheck_worditerator.h bool OutputHebrew(UChar c, base::string16* output) const; base 59 chrome/renderer/spellchecker/spellcheck_worditerator.h bool OutputDefault(UChar c, base::string16* output) const; base 64 chrome/renderer/spellchecker/spellcheck_worditerator.h base::string16 ruleset_allow_contraction_; base 65 chrome/renderer/spellchecker/spellcheck_worditerator.h base::string16 ruleset_disallow_contraction_; base 125 chrome/renderer/spellchecker/spellcheck_worditerator.h bool SetText(const base::char16* text, size_t length); base 137 chrome/renderer/spellchecker/spellcheck_worditerator.h bool GetNextWord(base::string16* word_string, base 154 chrome/renderer/spellchecker/spellcheck_worditerator.h base::string16* output_string) const; base 157 chrome/renderer/spellchecker/spellcheck_worditerator.h const base::char16* text_; base 116 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc SCOPED_TRACE(base::StringPrintf("kTestCases[%" PRIuS "]: language=%s", i, base 122 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc base::string16 input(base::WideToUTF16(kTestText)); base 128 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc std::vector<base::string16> expected_words; base 129 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc base::SplitString( base 130 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc base::WideToUTF16(kTestCases[i].expected_words), ' ', &expected_words); base 132 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc base::string16 actual_word; base 152 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc base::string16 input(base::WideToUTF16(kTestText)); base 161 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc base::string16 actual_word; base 211 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc SCOPED_TRACE(base::StringPrintf("kTestCases[%" PRIuS "]: language=%s", i, base 217 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc base::string16 input_word(base::WideToUTF16(kTestCases[i].text)); base 222 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc base::string16 actual_word; base 24 chrome/renderer/spellchecker/spelling_engine.h virtual void Init(base::File bdict_file) = 0; base 27 chrome/renderer/spellchecker/spelling_engine.h virtual bool CheckSpelling(const base::string16& word_to_check, int tag) = 0; base 29 chrome/renderer/spellchecker/spelling_engine.h const base::string16& wrong_word, base 30 chrome/renderer/spellchecker/spelling_engine.h std::vector<base::string16>* optional_suggestions) = 0; base 8 chrome/renderer/static_v8_external_string_resource.cc const base::StringPiece& buffer) base 18 chrome/renderer/static_v8_external_string_resource.h explicit StaticV8ExternalAsciiStringResource(const base::StringPiece& buffer); base 25 chrome/renderer/static_v8_external_string_resource.h base::StringPiece buffer_; base 46 chrome/renderer/translate/translate_helper.cc using base::ASCIIToUTF16; base 83 chrome/renderer/translate/translate_helper.cc base::LazyInstance<TranslateHelper::CLDMmapWrapper>::Leaky base 145 chrome/renderer/translate/translate_helper.cc const base::string16& contents) { base 153 chrome/renderer/translate/translate_helper.cc const base::string16& contents) { base 194 chrome/renderer/translate/translate_helper.cc language_determined_time_ = base::TimeTicks::Now(); base 198 chrome/renderer/translate/translate_helper.cc details.time = base::Time::Now(); base 260 chrome/renderer/translate/translate_helper.cc base::TimeDelta TranslateHelper::AdjustDelay(int delayInMs) { base 263 chrome/renderer/translate/translate_helper.cc return base::TimeDelta::FromMilliseconds(delayInMs); base 433 chrome/renderer/translate/translate_helper.cc base::TimeTicks::Now()); base 525 chrome/renderer/translate/translate_helper.cc base::MessageLoop::current()->PostDelayedTask( base 527 chrome/renderer/translate/translate_helper.cc base::Bind(&TranslateHelper::CheckTranslateStatus, base 544 chrome/renderer/translate/translate_helper.cc base::MessageLoop::current()->PostDelayedTask( base 546 chrome/renderer/translate/translate_helper.cc base::Bind(&TranslateHelper::TranslatePageImpl, base 565 chrome/renderer/translate/translate_helper.cc base::MessageLoop::current()->PostDelayedTask( base 567 chrome/renderer/translate/translate_helper.cc base::Bind(&TranslateHelper::CheckTranslateStatus, base 617 chrome/renderer/translate/translate_helper.cc base::MessageLoop::current()->PostDelayedTask( base 619 chrome/renderer/translate/translate_helper.cc base::Bind(&TranslateHelper::SendCLD2DataFileRequest, base 622 chrome/renderer/translate/translate_helper.cc base::TimeDelta::FromMilliseconds(delay_millis)); base 651 chrome/renderer/translate/translate_helper.cc base::PlatformFile platform_file = base 653 chrome/renderer/translate/translate_helper.cc if (platform_file == base::kInvalidPlatformFileValue) { base 657 chrome/renderer/translate/translate_helper.cc base::File basic_file(platform_file); base 660 chrome/renderer/translate/translate_helper.cc s_cld_mmap_.Get().value = new base::MemoryMappedFile(); base 40 chrome/renderer/translate/translate_helper.h void PageCaptured(int page_id, const base::string16& contents); base 82 chrome/renderer/translate/translate_helper.h virtual base::TimeDelta AdjustDelay(int delayInMs); base 161 chrome/renderer/translate/translate_helper.h base::TimeTicks language_determined_time_; base 164 chrome/renderer/translate/translate_helper.h base::WeakPtrFactory<TranslateHelper> weak_method_factory_; base 176 chrome/renderer/translate/translate_helper.h void DeferPageCaptured(const int page_id, const base::string16& contents); base 208 chrome/renderer/translate/translate_helper.h base::MemoryMappedFile* value; base 210 chrome/renderer/translate/translate_helper.h static base::LazyInstance<CLDMmapWrapper>::Leaky s_cld_mmap_; base 229 chrome/renderer/translate/translate_helper.h base::string16 deferred_contents_; base 25 chrome/renderer/translate/translate_helper_browsertest.cc virtual base::TimeDelta AdjustDelay(int delayInMs) OVERRIDE { base 28 chrome/renderer/translate/translate_helper_browsertest.cc return base::TimeDelta(); base 113 chrome/renderer/translate/translate_helper_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 153 chrome/renderer/translate/translate_helper_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 200 chrome/renderer/translate/translate_helper_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 238 chrome/renderer/translate/translate_helper_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 282 chrome/renderer/translate/translate_helper_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 324 chrome/renderer/translate/translate_helper_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 67 chrome/renderer/translate/translate_script_browsertest.cc return base::StringPrintf("%s%d", kSetCallbackErrorCode, code); base 81 chrome/renderer/translate/translate_script_browsertest.cc base::StringPiece translate_js = ResourceBundle::GetSharedInstance(). base 89 chrome/renderer/translate/translate_script_browsertest.cc WebScriptSource source = WebScriptSource(base::ASCIIToUTF16(script)); base 115 chrome/renderer/translate/translate_script_browsertest.cc WebScriptSource source = WebScriptSource(base::ASCIIToUTF16(script)); base 129 chrome/renderer/translate/translate_script_browsertest.cc WebScriptSource source = WebScriptSource(base::ASCIIToUTF16(script)); base 89 chrome/renderer/tts_dispatcher.cc base::hash_map<int, WebSpeechSynthesisUtterance>::const_iterator iter = base 73 chrome/renderer/tts_dispatcher.h base::hash_map<int, blink::WebSpeechSynthesisUtterance> utterance_id_map_; base 45 chrome/renderer/web_apps.cc int ParseSingleIconSize(const base::string16& text) { base 56 chrome/renderer/web_apps.cc if (!base::StringToInt(text, &output)) base 64 chrome/renderer/web_apps.cc gfx::Size ParseIconSize(const base::string16& text) { base 65 chrome/renderer/web_apps.cc std::vector<base::string16> sizes; base 66 chrome/renderer/web_apps.cc base::SplitStringDontTrim(text, L'x', &sizes); base 101 chrome/renderer/web_apps.cc bool ParseIconSizes(const base::string16& text, base 105 chrome/renderer/web_apps.cc std::vector<base::string16> size_strings; base 106 chrome/renderer/web_apps.cc base::SplitStringAlongWhitespace(text, &size_strings); base 126 chrome/renderer/web_apps.cc base::string16* error) { base 27 chrome/renderer/web_apps.h bool ParseIconSizes(const base::string16& text, std::vector<gfx::Size>* sizes, base 41 chrome/renderer/web_apps.h base::string16* error); base 47 chrome/renderer/web_apps_unittest.cc base::ASCIIToUTF16(data[i].input), &sizes, &is_any); base 18 chrome/service/cloud_print/cdd_conversion_win.cc scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode( base 19 chrome/service/cloud_print/cdd_conversion_win.cc const base::string16& printer_name, base 21 chrome/service/cloud_print/cdd_conversion_win.cc scoped_ptr<DEVMODE, base::FreeDeleter> dev_mode; base 22 chrome/service/cloud_print/cdd_conversion_win.h scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode( base 23 chrome/service/cloud_print/cdd_conversion_win.h const base::string16& printer_name, base 135 chrome/service/cloud_print/cloud_print_auth.cc base::TimeDelta refresh_delay = base::TimeDelta::FromSeconds( base 137 chrome/service/cloud_print/cloud_print_auth.cc base::MessageLoop::current()->PostDelayedTask( base 139 chrome/service/cloud_print/cloud_print_auth.cc base::Bind(&CloudPrintAuth::RefreshAccessToken, this), base 163 chrome/service/cloud_print/cloud_print_auth.cc base::DictionaryValue* json_data, base 24 chrome/service/cloud_print/cloud_print_auth.h : public base::RefCountedThreadSafe<CloudPrintAuth>, base 71 chrome/service/cloud_print/cloud_print_auth.h base::DictionaryValue* json_data, base 77 chrome/service/cloud_print/cloud_print_auth.h friend class base::RefCountedThreadSafe<CloudPrintAuth>; base 53 chrome/service/cloud_print/cloud_print_connector.cc base::MessageLoop::current()->PostDelayedTask( base 55 chrome/service/cloud_print/cloud_print_connector.cc base::Bind(&CloudPrintConnector::ReportStats, base 57 chrome/service/cloud_print/cloud_print_connector.cc base::TimeDelta::FromHours(1)); base 183 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* json_data, base 207 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* json_data, base 236 chrome/service/cloud_print/cloud_print_connector.cc base::ListValue* printer_list = NULL; base 240 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* printer_data = NULL; base 288 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* json_data, base 302 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* json_data, base 315 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* json_data, base 321 chrome/service/cloud_print/cloud_print_connector.cc base::ListValue* printer_list = NULL; base 324 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* printer_data = NULL; base 389 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* printer_data) { base 409 chrome/service/cloud_print/cloud_print_connector.cc base::StringToInt(printer_status, &printer_info.printer_status); base 413 chrome/service/cloud_print/cloud_print_connector.cc base::ListValue* tags_list = NULL; base 420 chrome/service/cloud_print/cloud_print_connector.cc base::SplitStringDontTrim(tag, '=', &tag_parts); base 444 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* json_data) { base 445 chrome/service/cloud_print/cloud_print_connector.cc base::ListValue* printer_list = NULL; base 450 chrome/service/cloud_print/cloud_print_connector.cc base::DictionaryValue* printer_data = NULL; base 494 chrome/service/cloud_print/cloud_print_connector.cc base::MessageLoop::current()->PostTask( base 495 chrome/service/cloud_print/cloud_print_connector.cc FROM_HERE, base::Bind(&CloudPrintConnector::ProcessPendingTask, this)); base 529 chrome/service/cloud_print/cloud_print_connector.cc base::MessageLoop::current()->PostTask( base 530 chrome/service/cloud_print/cloud_print_connector.cc FROM_HERE, base::Bind(&CloudPrintConnector::ProcessPendingTask, this)); base 557 chrome/service/cloud_print/cloud_print_connector.cc base::Bind(&CloudPrintConnector::OnReceivePrinterCaps, base 558 chrome/service/cloud_print/cloud_print_connector.cc base::Unretained(this))); base 592 chrome/service/cloud_print/cloud_print_connector.cc base::string16 printer_name_utf16 = base::UTF8ToUTF16(printer_name); base 617 chrome/service/cloud_print/cloud_print_connector.cc base::StringPrintf("%d", info.printer_status), base 621 chrome/service/cloud_print/cloud_print_connector.cc base::StringPrintf(kCreateLocalSettingsXmppPingFormat, base 638 chrome/service/cloud_print/cloud_print_connector.cc base::MD5String(caps_and_defaults.printer_capabilities), base 652 chrome/service/cloud_print/cloud_print_connector.cc return (0 == base::strcasecmp(name1.c_str(), name2.c_str())); base 28 chrome/service/cloud_print/cloud_print_connector.h : public base::RefCountedThreadSafe<CloudPrintConnector>, base 58 chrome/service/cloud_print/cloud_print_connector.h friend class base::RefCountedThreadSafe<CloudPrintConnector>; base 65 chrome/service/cloud_print/cloud_print_connector.h base::DictionaryValue* json_data, base 101 chrome/service/cloud_print/cloud_print_connector.h base::DictionaryValue* json_data, base 110 chrome/service/cloud_print/cloud_print_connector.h base::DictionaryValue* json_data, base 116 chrome/service/cloud_print/cloud_print_connector.h base::DictionaryValue* json_data, base 122 chrome/service/cloud_print/cloud_print_connector.h base::DictionaryValue* json_data, base 128 chrome/service/cloud_print/cloud_print_connector.h base::DictionaryValue* json_data, base 150 chrome/service/cloud_print/cloud_print_connector.h void InitJobHandlerForPrinter(base::DictionaryValue* printer_data); base 152 chrome/service/cloud_print/cloud_print_connector.h void UpdateSettingsFromPrintersList(base::DictionaryValue* json_data); base 199 chrome/service/cloud_print/cloud_print_connector.h base::WeakPtrFactory<CloudPrintConnector> stats_ptr_factory_; base 30 chrome/service/cloud_print/cloud_print_proxy.cc base::FilePath exe_path; base 31 chrome/service/cloud_print/cloud_print_proxy.cc PathService::Get(base::FILE_EXE, &exe_path); base 38 chrome/service/cloud_print/cloud_print_proxy.cc base::FilePath user_data_dir = base 45 chrome/service/cloud_print/cloud_print_proxy.cc base::ProcessHandle pid = 0; base 46 chrome/service/cloud_print/cloud_print_proxy.cc base::LaunchProcess(cmd_line, base::LaunchOptions(), &pid); base 47 chrome/service/cloud_print/cloud_print_proxy.cc base::EnsureProcessGetsReaped(pid); base 49 chrome/service/cloud_print/cloud_print_proxy.cc base::LaunchOptions launch_options; base 53 chrome/service/cloud_print/cloud_print_proxy.cc base::LaunchProcess(cmd_line, launch_options, NULL); base 116 chrome/service/cloud_print/cloud_print_proxy.cc const base::DictionaryValue& user_settings) { base 215 chrome/service/cloud_print/cloud_print_proxy.cc FROM_HERE, base::Bind(&CheckCloudPrintProxyPolicyInBrowser)); base 28 chrome/service/cloud_print/cloud_print_proxy.h public base::NonThreadSafe { base 49 chrome/service/cloud_print/cloud_print_proxy.h const base::DictionaryValue& user_settings); base 38 chrome/service/cloud_print/cloud_print_proxy_backend.cc : public base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>, base 142 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::TimeTicks notifications_enabled_since_; base 165 chrome/service/cloud_print/cloud_print_proxy_backend.cc frontend_loop_(base::MessageLoop::current()), base 179 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&CloudPrintProxyBackend::Core::DoInitializeWithToken, base 191 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&CloudPrintProxyBackend::Core::DoInitializeWithRobotToken, base 203 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&CloudPrintProxyBackend::Core::DoInitializeWithRobotAuthCode, base 211 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&CloudPrintProxyBackend::Core::DoShutdown, core_.get())); base 219 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&CloudPrintProxyBackend::Core::DoUnregisterPrinters, base 256 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 264 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 272 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 289 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&Core::NotifyAuthenticated, this, robot_oauth_refresh_token, base 303 chrome/service/cloud_print/cloud_print_proxy_backend.cc FROM_HERE, base::Bind(&Core::NotifyPrintSystemUnavailable, this)); base 309 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 312 chrome/service/cloud_print/cloud_print_proxy_backend.cc FROM_HERE, base::Bind(&Core::NotifyAuthenticationFailed, this)); base 330 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&Core::NotifyXmppPingUpdated, this, ping_timeout)); base 336 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 355 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 367 chrome/service/cloud_print/cloud_print_proxy_backend.cc notifications_enabled_since_ = base::TimeTicks(); base 374 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 383 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&Core::NotifyUnregisterPrinters, base 389 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 406 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 419 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::TimeDelta interval = base::TimeDelta::FromSeconds( base 420 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::RandInt(kMinJobPollIntervalSecs, kMaxJobPollIntervalSecs)); base 421 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::MessageLoop::current()->PostDelayedTask( base 423 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&CloudPrintProxyBackend::Core::PollForJobs, this), base 440 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::MessageLoop::current()->PostDelayedTask( base 442 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&CloudPrintProxyBackend::Core::CheckXmppPingStatus, this), base 443 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::TimeDelta::FromSeconds(kXmppPingCheckIntervalSecs)); base 455 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::TimeDelta interval = base::TimeDelta::FromSeconds( base 456 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::RandInt(settings_.xmpp_ping_timeout_sec() * 0.9, base 458 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::MessageLoop::current()->PostDelayedTask( base 460 chrome/service/cloud_print/cloud_print_proxy_backend.cc base::Bind(&CloudPrintProxyBackend::Core::PingXmppServer, this), base 477 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 487 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->frontend_loop_); base 493 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->frontend_loop_); base 498 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->frontend_loop_); base 505 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->frontend_loop_); base 510 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->frontend_loop_); base 515 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 517 chrome/service/cloud_print/cloud_print_proxy_backend.cc notifications_enabled_since_ = base::TimeTicks::Now(); base 533 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 537 chrome/service/cloud_print/cloud_print_proxy_backend.cc notifications_enabled_since_ = base::TimeTicks(); base 551 chrome/service/cloud_print/cloud_print_proxy_backend.cc DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); base 553 chrome/service/cloud_print/cloud_print_proxy_backend.cc if (0 == base::strcasecmp(kCloudPrintPushNotificationsSource, base 15 chrome/service/cloud_print/cloud_print_proxy_backend.h namespace base { base 86 chrome/service/cloud_print/cloud_print_proxy_backend.h base::Thread core_thread_; base 92 chrome/service/cloud_print/cloud_print_proxy_backend.h base::MessageLoop* const frontend_loop_; base 96 chrome/service/cloud_print/cloud_print_proxy_backend.h friend class base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>; base 57 chrome/service/cloud_print/cloud_print_service_helpers.cc base::StringPrintf("jobid=%s&status=%s&code=%d&message=%s" base 22 chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc EXPECT_EQ(base::StringPrintf( base 34 chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc EXPECT_EQ(base::StringPrintf( base 57 chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc std::string expected_list_string = base::StringPrintf( base 60 chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc base::SysInfo::OperatingSystemName().c_str(), base 61 chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc base::SysInfo::OperatingSystemVersion().c_str()); base 62 chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc EXPECT_EQ(base::MD5String(expected_list_string), base 72 chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc std::string expected = base::StringPrintf( base 86 chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc base::SysInfo::OperatingSystemName().c_str(), base 87 chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc base::SysInfo::OperatingSystemVersion().c_str(), base 14 chrome/service/cloud_print/cloud_print_token_store.cc static base::LazyInstance<base::ThreadLocalPointer<CloudPrintTokenStore> > base 17 chrome/service/cloud_print/cloud_print_token_store.h class CloudPrintTokenStore : public base::NonThreadSafe { base 27 chrome/service/cloud_print/cloud_print_url_fetcher.cc base::TimeDelta time) { base 129 chrome/service/cloud_print/cloud_print_url_fetcher.cc base::DictionaryValue* json_data, base 174 chrome/service/cloud_print/cloud_print_url_fetcher.cc ReportRequestTime(type_, base::Time::Now() - start_time_); base 203 chrome/service/cloud_print/cloud_print_url_fetcher.cc scoped_ptr<base::DictionaryValue> response_dict = base 242 chrome/service/cloud_print/cloud_print_url_fetcher.cc start_time_ = base::Time::Now(); base 279 chrome/service/cloud_print/cloud_print_url_fetcher.cc start_time_ = base::Time::Now(); base 302 chrome/service/cloud_print/cloud_print_url_fetcher.cc base::StringAppendF(&user_agent, " %s", kCloudPrintUserAgent); base 18 chrome/service/cloud_print/cloud_print_url_fetcher.h namespace base { base 43 chrome/service/cloud_print/cloud_print_url_fetcher.h : public base::RefCountedThreadSafe<CloudPrintURLFetcher>, base 95 chrome/service/cloud_print/cloud_print_url_fetcher.h base::DictionaryValue* json_data, base 141 chrome/service/cloud_print/cloud_print_url_fetcher.h friend class base::RefCountedThreadSafe<CloudPrintURLFetcher>; base 168 chrome/service/cloud_print/cloud_print_url_fetcher.h base::Time start_time_; base 21 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc using base::Time; base 22 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc using base::TimeDelta; base 26 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc const base::FilePath::CharType kDocRoot[] = base 34 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoopProxy* io_message_loop_proxy, base 64 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoopProxy* io_message_loop_proxy) base 80 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 113 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy() { base 121 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc io_message_loop_proxy_ = base::MessageLoopProxy::current(); base 129 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 137 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoopForIO io_loop_; base 138 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 165 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::DictionaryValue* json_data, base 260 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::QuitClosure()); base 275 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::QuitClosure()); base 285 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::DictionaryValue* json_data, base 291 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::QuitClosure()); base 310 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::QuitClosure()); base 330 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::QuitClosure()); base 336 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::FilePath(kDocRoot)); base 341 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::current()->Run(); base 347 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::FilePath(kDocRoot)); base 352 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::current()->Run(); base 358 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::FilePath(kDocRoot)); base 364 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::current()->Run(); base 370 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::FilePath(kDocRoot)); base 376 chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc base::MessageLoop::current()->Run(); base 49 chrome/service/cloud_print/cloud_print_wipeout.cc base::DictionaryValue* json_data, base 37 chrome/service/cloud_print/cloud_print_wipeout.h base::DictionaryValue* json_data, base 48 chrome/service/cloud_print/connector_settings.cc const base::DictionaryValue* print_system_settings = base 82 chrome/service/cloud_print/connector_settings.cc base::TimeDelta::FromSeconds(xmpp_ping_timeout_sec_)); base 84 chrome/service/cloud_print/connector_settings.cc const base::ListValue* printers = prefs->GetList(prefs::kCloudPrintPrinters); base 87 chrome/service/cloud_print/connector_settings.cc const base::DictionaryValue* dictionary = NULL; base 17 chrome/service/cloud_print/connector_settings.h namespace base { base 52 chrome/service/cloud_print/connector_settings.h const base::DictionaryValue* print_system_settings() const { base 93 chrome/service/cloud_print/connector_settings.h scoped_ptr<base::DictionaryValue> print_system_settings_; base 54 chrome/service/cloud_print/connector_settings_unittest.cc message_loop_proxy_ = base::MessageLoopProxy::current(); base 58 chrome/service/cloud_print/connector_settings_unittest.cc base::FilePath file_name = temp_dir_.path().AppendASCII("file.txt"); base 59 chrome/service/cloud_print/connector_settings_unittest.cc base::DeleteFile(file_name, false); base 63 chrome/service/cloud_print/connector_settings_unittest.cc base::WriteFile(file_name, content.c_str(), content.size()); base 71 chrome/service/cloud_print/connector_settings_unittest.cc base::ScopedTempDir temp_dir_; base 72 chrome/service/cloud_print/connector_settings_unittest.cc base::MessageLoop message_loop_; base 73 chrome/service/cloud_print/connector_settings_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 34 chrome/service/cloud_print/job_status_updater.cc : start_time_(base::Time::Now()), base 100 chrome/service/cloud_print/job_status_updater.cc base::DictionaryValue* json_data, base 103 chrome/service/cloud_print/job_status_updater.cc base::MessageLoop::current()->PostTask( base 104 chrome/service/cloud_print/job_status_updater.cc FROM_HERE, base::Bind(&JobStatusUpdater::Stop, this)); base 24 chrome/service/cloud_print/job_status_updater.h class JobStatusUpdater : public base::RefCountedThreadSafe<JobStatusUpdater>, base 51 chrome/service/cloud_print/job_status_updater.h base::DictionaryValue* json_data, base 56 chrome/service/cloud_print/job_status_updater.h base::Time start_time() const { base 61 chrome/service/cloud_print/job_status_updater.h friend class base::RefCountedThreadSafe<JobStatusUpdater>; base 64 chrome/service/cloud_print/job_status_updater.h base::Time start_time_; base 35 chrome/service/cloud_print/print_system.cc return base::GenerateGUID(); base 16 chrome/service/cloud_print/print_system.h namespace base { base 70 chrome/service/cloud_print/print_system.h class PrintSystem : public base::RefCountedThreadSafe<PrintSystem> { base 73 chrome/service/cloud_print/print_system.h : public base::RefCountedThreadSafe<PrintServerWatcher> { base 89 chrome/service/cloud_print/print_system.h friend class base::RefCountedThreadSafe<PrintServerWatcher>; base 93 chrome/service/cloud_print/print_system.h class PrinterWatcher : public base::RefCountedThreadSafe<PrinterWatcher> { base 112 chrome/service/cloud_print/print_system.h friend class base::RefCountedThreadSafe<PrinterWatcher>; base 116 chrome/service/cloud_print/print_system.h class JobSpooler : public base::RefCountedThreadSafe<JobSpooler> { base 134 chrome/service/cloud_print/print_system.h const base::FilePath& print_data_file_path, base 141 chrome/service/cloud_print/print_system.h friend class base::RefCountedThreadSafe<JobSpooler>; base 159 chrome/service/cloud_print/print_system.h typedef base::Callback<void(bool, base 214 chrome/service/cloud_print/print_system.h const base::DictionaryValue* print_system_settings); base 217 chrome/service/cloud_print/print_system.h friend class base::RefCountedThreadSafe<PrintSystem>; base 78 chrome/service/cloud_print/print_system_cups.cc explicit PrintSystemCUPS(const base::DictionaryValue* print_system_settings); base 104 chrome/service/cloud_print/print_system_cups.cc const base::FilePath& print_data_file_path, base 120 chrome/service/cloud_print/print_system_cups.cc base::TimeDelta GetUpdateTimeout() const { base 144 chrome/service/cloud_print/print_system_cups.cc void InitPrintBackends(const base::DictionaryValue* print_system_settings); base 168 chrome/service/cloud_print/print_system_cups.cc base::TimeDelta update_timeout_; base 189 chrome/service/cloud_print/print_system_cups.cc base::MessageLoop::current()->PostDelayedTask( base 191 chrome/service/cloud_print/print_system_cups.cc base::Bind(&PrintServerWatcherCUPS::CheckForUpdates, this), base 210 chrome/service/cloud_print/print_system_cups.cc base::MessageLoop::current()->PostDelayedTask( base 212 chrome/service/cloud_print/print_system_cups.cc base::Bind(&PrintServerWatcherCUPS::CheckForUpdates, this), base 237 chrome/service/cloud_print/print_system_cups.cc return base::MD5String(to_hash); base 269 chrome/service/cloud_print/print_system_cups.cc base::MessageLoop::current()->PostDelayedTask( base 271 chrome/service/cloud_print/print_system_cups.cc base::Bind(&PrinterWatcherCUPS::JobStatusUpdate, this), base 272 chrome/service/cloud_print/print_system_cups.cc base::TimeDelta::FromSeconds(kJobUpdateTimeoutSeconds)); base 275 chrome/service/cloud_print/print_system_cups.cc base::MessageLoop::current()->PostDelayedTask( base 277 chrome/service/cloud_print/print_system_cups.cc base::Bind(&PrinterWatcherCUPS::PrinterUpdate, this), base 301 chrome/service/cloud_print/print_system_cups.cc base::MessageLoop::current()->PostDelayedTask( base 303 chrome/service/cloud_print/print_system_cups.cc base::Bind(&PrinterWatcherCUPS::JobStatusUpdate, this), base 304 chrome/service/cloud_print/print_system_cups.cc base::TimeDelta::FromSeconds(kJobUpdateTimeoutSeconds)); base 326 chrome/service/cloud_print/print_system_cups.cc base::MessageLoop::current()->PostDelayedTask( base 328 chrome/service/cloud_print/print_system_cups.cc base::Bind(&PrinterWatcherCUPS::PrinterUpdate, this), base 360 chrome/service/cloud_print/print_system_cups.cc return base::MD5String(to_hash); base 380 chrome/service/cloud_print/print_system_cups.cc const base::FilePath& print_data_file_path, base 391 chrome/service/cloud_print/print_system_cups.cc base::MessageLoop::current()->PostTask( base 393 chrome/service/cloud_print/print_system_cups.cc base::Bind(&JobSpoolerCUPS::NotifyDelegate, delegate, job_id, dry_run)); base 415 chrome/service/cloud_print/print_system_cups.cc const base::DictionaryValue* print_system_settings) base 416 chrome/service/cloud_print/print_system_cups.cc : update_timeout_(base::TimeDelta::FromMinutes( base 426 chrome/service/cloud_print/print_system_cups.cc update_timeout_ = base::TimeDelta::FromMilliseconds(timeout); base 446 chrome/service/cloud_print/print_system_cups.cc const base::DictionaryValue* print_system_settings) { base 447 chrome/service/cloud_print/print_system_cups.cc const base::ListValue* url_list; base 467 chrome/service/cloud_print/print_system_cups.cc base::DictionaryValue backend_settings; base 509 chrome/service/cloud_print/print_system_cups.cc base::MessageLoop::current()->PostDelayedTask( base 511 chrome/service/cloud_print/print_system_cups.cc base::Bind(&PrintSystemCUPS::UpdatePrinters, this), base 535 chrome/service/cloud_print/print_system_cups.cc base::MessageLoop::current()->PostTask( base 537 chrome/service/cloud_print/print_system_cups.cc base::Bind(&PrintSystemCUPS::RunCapsCallback, base 553 chrome/service/cloud_print/print_system_cups.cc scoped_ptr<base::Value> ticket_value( base 554 chrome/service/cloud_print/print_system_cups.cc base::JSONReader::Read(print_ticket_data)); base 556 chrome/service/cloud_print/print_system_cups.cc ticket_value->IsType(base::Value::TYPE_DICTIONARY); base 564 chrome/service/cloud_print/print_system_cups.cc scoped_ptr<base::Value> ticket_value(base::JSONReader::Read(print_ticket)); base 566 chrome/service/cloud_print/print_system_cups.cc !ticket_value->IsType(base::Value::TYPE_DICTIONARY)) { base 571 chrome/service/cloud_print/print_system_cups.cc base::DictionaryValue* ticket_dict = base 572 chrome/service/cloud_print/print_system_cups.cc static_cast<base::DictionaryValue*>(ticket_value.get()); base 573 chrome/service/cloud_print/print_system_cups.cc for (base::DictionaryValue::Iterator it(*ticket_dict); !it.IsAtEnd(); base 741 chrome/service/cloud_print/print_system_cups.cc const base::DictionaryValue* print_system_settings) { base 773 chrome/service/cloud_print/print_system_cups.cc const base::FilePath& print_data_file_path, base 15 chrome/service/cloud_print/print_system_dummy.cc const base::DictionaryValue* print_system_settings) { base 32 chrome/service/cloud_print/print_system_win.cc class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate { base 63 chrome/service/cloud_print/print_system_win.cc printer_name_wide = base::UTF8ToWide(printer_name); base 118 chrome/service/cloud_print/print_system_win.cc base::win::ObjectWatcher watcher_; base 223 chrome/service/cloud_print/print_system_win.cc const base::FilePath& print_data_file_path, base 246 chrome/service/cloud_print/print_system_win.cc public base::win::ObjectWatcher::Delegate { base 259 chrome/service/cloud_print/print_system_win.cc const base::FilePath& print_data_file_path, base 269 chrome/service/cloud_print/print_system_win.cc base::string16 printer_wide = base::UTF8ToWide(printer_name); base 273 chrome/service/cloud_print/print_system_win.cc scoped_ptr<DEVMODE, base::FreeDeleter> dev_mode; base 294 chrome/service/cloud_print/print_system_win.cc base::string16 doc_name = base::UTF8ToUTF16(job_title); base 390 chrome/service/cloud_print/print_system_win.cc base::win::ScopedComPtr<IXpsPrintJob>* job_ptr) base 403 chrome/service/cloud_print/print_system_win.cc base::win::ScopedComPtr<IXpsPrintJob>* job_ptr_; base 436 chrome/service/cloud_print/print_system_win.cc base::Bind(&JobSpoolerWin::Core::RenderPDFPagesInSandbox, this, base 438 chrome/service/cloud_print/print_system_win.cc page_ranges, base::MessageLoopProxy::current())); base 443 chrome/service/cloud_print/print_system_win.cc const base::FilePath& pdf_path, const gfx::Rect& render_area, base 445 chrome/service/cloud_print/print_system_win.cc const scoped_refptr<base::MessageLoopProxy>& base 467 chrome/service/cloud_print/print_system_win.cc const base::FilePath& print_data_file_path, base 477 chrome/service/cloud_print/print_system_win.cc base::win::ScopedComPtr<IXpsPrintJobStream> doc_stream; base 478 chrome/service/cloud_print/print_system_win.cc base::win::ScopedComPtr<IXpsPrintJobStream> print_ticket_stream; base 480 chrome/service/cloud_print/print_system_win.cc base::UTF8ToWide(printer_name).c_str(), base 481 chrome/service/cloud_print/print_system_win.cc base::UTF8ToWide(job_title).c_str(), base 497 chrome/service/cloud_print/print_system_win.cc base::ReadFileToString(print_data_file_path, &document_data); base 523 chrome/service/cloud_print/print_system_win.cc base::win::ScopedCreateDC printer_dc_; base 524 chrome/service/cloud_print/print_system_win.cc base::FilePath print_data_file_path_; base 525 chrome/service/cloud_print/print_system_win.cc base::win::ScopedHandle job_progress_event_; base 526 chrome/service/cloud_print/print_system_win.cc base::win::ObjectWatcher job_progress_watcher_; base 527 chrome/service/cloud_print/print_system_win.cc base::win::ScopedComPtr<IXpsPrintJob> xps_print_job_; base 578 chrome/service/cloud_print/print_system_win.cc base::Bind(&PrinterCapsHandler::GetPrinterCapsAndDefaultsImpl, this, base 579 chrome/service/cloud_print/print_system_win.cc base::MessageLoopProxy::current())); base 585 chrome/service/cloud_print/print_system_win.cc base::Bind(&PrinterCapsHandler::GetPrinterSemanticCapsAndDefaultsImpl, base 586 chrome/service/cloud_print/print_system_win.cc this, base::MessageLoopProxy::current())); base 591 chrome/service/cloud_print/print_system_win.cc const scoped_refptr<base::MessageLoopProxy>& base 603 chrome/service/cloud_print/print_system_win.cc base::Bind(&PrinterCapsHandler::OnChildDied, this)); base 608 chrome/service/cloud_print/print_system_win.cc const scoped_refptr<base::MessageLoopProxy>& base 620 chrome/service/cloud_print/print_system_win.cc base::Bind(&PrinterCapsHandler::OnChildDied, this)); base 729 chrome/service/cloud_print/print_system_win.cc printing::XPSModule::OpenProvider(base::UTF8ToWide(printer_name), 1, base 732 chrome/service/cloud_print/print_system_win.cc base::win::ScopedComPtr<IStream> print_ticket_stream; base 742 chrome/service/cloud_print/print_system_win.cc base::win::ScopedBstr error; base 743 chrome/service/cloud_print/print_system_win.cc base::win::ScopedComPtr<IStream> result_ticket_stream; base 764 chrome/service/cloud_print/print_system_win.cc std::wstring printer_name_wide = base::UTF8ToWide(printer_name); base 781 chrome/service/cloud_print/print_system_win.cc base::WideToUTF8(job_info->pStatus, wcslen(job_info->pStatus), base 839 chrome/service/cloud_print/print_system_win.cc const base::DictionaryValue* print_system_settings) { base 32 chrome/service/cloud_print/printer_job_handler.cc base::subtle::Atomic32 g_total_jobs_started = 0; base 33 chrome/service/cloud_print/printer_job_handler.cc base::subtle::Atomic32 g_total_jobs_done = 0; base 77 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoopProxy::current()), base 110 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 111 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Start, this)); base 140 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 142 chrome/service/cloud_print/printer_job_handler.cc base::Bind(&PrinterJobHandler::JobFailed, this, JOB_DOWNLOAD_FAILED)); base 160 chrome/service/cloud_print/printer_job_handler.cc base::DictionaryValue* json_data, base 171 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 172 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Stop, this)); base 176 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 178 chrome/service/cloud_print/printer_job_handler.cc base::Bind(&PrinterJobHandler::JobFailed, this, JOB_DOWNLOAD_FAILED)); base 200 chrome/service/cloud_print/printer_job_handler.cc base::Time::Now() - updater->start_time()); base 202 chrome/service/cloud_print/printer_job_handler.cc base::subtle::NoBarrier_AtomicIncrement(&g_total_jobs_done, 1); base 217 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 218 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Stop, this)); base 231 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 232 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Start, this)); base 241 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 242 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&JobStatusUpdater::UpdateStatus, index->get())); base 247 chrome/service/cloud_print/printer_job_handler.cc DCHECK(base::MessageLoop::current() == print_thread_.message_loop()); base 252 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::JobSpooled, this, job_id)); base 256 chrome/service/cloud_print/printer_job_handler.cc DCHECK(base::MessageLoop::current() == print_thread_.message_loop()); base 262 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::JobFailed, this, JOB_FAILED)); base 267 chrome/service/cloud_print/printer_job_handler.cc base::subtle::Atomic32 started = base 268 chrome/service/cloud_print/printer_job_handler.cc base::subtle::NoBarrier_AtomicExchange(&g_total_jobs_started, 0); base 269 chrome/service/cloud_print/printer_job_handler.cc base::subtle::Atomic32 done = base 270 chrome/service/cloud_print/printer_job_handler.cc base::subtle::NoBarrier_AtomicExchange(&g_total_jobs_done, 0); base 285 chrome/service/cloud_print/printer_job_handler.cc base::DictionaryValue* json_data, base 292 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 293 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Stop, this)); base 301 chrome/service/cloud_print/printer_job_handler.cc base::DictionaryValue* json_data, base 310 chrome/service/cloud_print/printer_job_handler.cc if (jobs[0].time_remaining_ == base::TimeDelta()) { base 313 chrome/service/cloud_print/printer_job_handler.cc job_start_time_ = base::Time::Now(); base 314 chrome/service/cloud_print/printer_job_handler.cc base::subtle::NoBarrier_AtomicIncrement(&g_total_jobs_started, 1); base 333 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostDelayedTask( base 335 chrome/service/cloud_print/printer_job_handler.cc base::Bind(&PrinterJobHandler::RunScheduledJobCheck, this), base 345 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 346 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Stop, this)); base 387 chrome/service/cloud_print/printer_job_handler.cc if (base::CreateTemporaryFile(&job_details_.print_data_file_path_)) { base 390 chrome/service/cloud_print/printer_job_handler.cc int ret = base::WriteFile(job_details_.print_data_file_path_, base 407 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 408 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::JobFailed, this, base 417 chrome/service/cloud_print/printer_job_handler.cc base::DictionaryValue* json_data, base 421 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 422 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::StartPrinting, this)); base 430 chrome/service/cloud_print/printer_job_handler.cc base::DictionaryValue* json_data, base 434 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 435 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Stop, this)); base 484 chrome/service/cloud_print/printer_job_handler.cc last_job_fetch_time_ = base::TimeTicks::Now(); base 503 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 504 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Start, this)); base 525 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::DoPrint, this, job_details_, base 609 chrome/service/cloud_print/printer_job_handler.cc base::Time::Now() - spooling_start_time_); base 623 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 625 chrome/service/cloud_print/printer_job_handler.cc base::Bind(&JobStatusUpdater::UpdateStatus, job_status_updater.get())); base 631 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 632 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Stop, this)); base 655 chrome/service/cloud_print/printer_job_handler.cc base::Bind(&PrinterJobHandler::OnReceivePrinterCaps, base 690 chrome/service/cloud_print/printer_job_handler.cc base::MD5String(caps_and_defaults.printer_capabilities); base 727 chrome/service/cloud_print/printer_job_handler.cc base::Time::Now() - last_caps_update_time_, base 728 chrome/service/cloud_print/printer_job_handler.cc base::TimeDelta::FromMilliseconds(1), base 729 chrome/service/cloud_print/printer_job_handler.cc base::TimeDelta::FromDays(7), 50); base 731 chrome/service/cloud_print/printer_job_handler.cc last_caps_update_time_ = base::Time::Now(); base 745 chrome/service/cloud_print/printer_job_handler.cc base::StringPrintf("%d", printer_info.printer_status), mime_boundary, base 753 chrome/service/cloud_print/printer_job_handler.cc base::StringPrintf(kUpdateLocalSettingsXmppPingFormat, base 778 chrome/service/cloud_print/printer_job_handler.cc base::MessageLoop::current()->PostTask( base 779 chrome/service/cloud_print/printer_job_handler.cc FROM_HERE, base::Bind(&PrinterJobHandler::Stop, this)); base 790 chrome/service/cloud_print/printer_job_handler.cc base::Time::Now() - job_start_time_); base 794 chrome/service/cloud_print/printer_job_handler.cc base::string16 document_name = printing::SimplifyDocumentTitle( base 795 chrome/service/cloud_print/printer_job_handler.cc base::UTF8ToUTF16(job_details.job_title_)); base 802 chrome/service/cloud_print/printer_job_handler.cc spooling_start_time_ = base::Time::Now(); base 808 chrome/service/cloud_print/printer_job_handler.cc base::UTF16ToUTF8(document_name), base 67 chrome/service/cloud_print/printer_job_handler.h class PrinterJobHandler : public base::RefCountedThreadSafe<PrinterJobHandler>, base 112 chrome/service/cloud_print/printer_job_handler.h base::TimeTicks last_job_fetch_time() const { return last_job_fetch_time_; } base 132 chrome/service/cloud_print/printer_job_handler.h base::DictionaryValue* json_data, base 157 chrome/service/cloud_print/printer_job_handler.h friend class base::RefCountedThreadSafe<PrinterJobHandler>; base 171 chrome/service/cloud_print/printer_job_handler.h base::DictionaryValue* json_data, base 185 chrome/service/cloud_print/printer_job_handler.h base::DictionaryValue* json_data, base 191 chrome/service/cloud_print/printer_job_handler.h base::DictionaryValue* json_data, base 207 chrome/service/cloud_print/printer_job_handler.h base::DictionaryValue* json_data, base 213 chrome/service/cloud_print/printer_job_handler.h base::DictionaryValue* json_data, base 274 chrome/service/cloud_print/printer_job_handler.h base::Thread print_thread_; base 280 chrome/service/cloud_print/printer_job_handler.h scoped_refptr<base::MessageLoopProxy> job_handler_message_loop_proxy_; base 305 chrome/service/cloud_print/printer_job_handler.h base::TimeTicks last_job_fetch_time_; base 306 chrome/service/cloud_print/printer_job_handler.h base::WeakPtrFactory<PrinterJobHandler> weak_ptr_factory_; base 308 chrome/service/cloud_print/printer_job_handler.h base::Time job_start_time_; base 309 chrome/service/cloud_print/printer_job_handler.h base::Time spooling_start_time_; base 310 chrome/service/cloud_print/printer_job_handler.h base::Time last_caps_update_time_; base 43 chrome/service/cloud_print/printer_job_handler_unittest.cc using base::StringPrintf; base 252 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoopProxy::current())) {} base 357 chrome/service/cloud_print/printer_job_handler_unittest.cc const base::FilePath& print_data_file_path, base 458 chrome/service/cloud_print/printer_job_handler_unittest.cc static void MessageLoopQuitNowHelper(base::MessageLoop* message_loop); base 459 chrome/service/cloud_print/printer_job_handler_unittest.cc static void MessageLoopQuitSoonHelper(base::MessageLoop* message_loop); base 461 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoopForIO loop_; base 483 chrome/service/cloud_print/printer_job_handler_unittest.cc info_from_cloud_.caps_hash = base::MD5String(kExamplePrinterCapabilities); base 518 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoop* message_loop) { base 523 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoop* message_loop) { base 525 chrome/service/cloud_print/printer_job_handler_unittest.cc FROM_HERE, base::Bind(&MessageLoopQuitNowHelper, message_loop)); base 529 chrome/service/cloud_print/printer_job_handler_unittest.cc : factory_(NULL, base::Bind(&TestURLFetcherCallback::CreateURLFetcher, base 530 chrome/service/cloud_print/printer_job_handler_unittest.cc base::Unretained(&url_callback_))) { base 534 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoop::current()->PostTask( base 536 chrome/service/cloud_print/printer_job_handler_unittest.cc base::Bind(&PrinterJobHandler::OnJobSpoolSucceeded, job_handler_, 0)); base 541 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoop::current()->PostTask( base 542 chrome/service/cloud_print/printer_job_handler_unittest.cc FROM_HERE, base::Bind(&MessageLoopQuitSoonHelper, &loop_)); base 610 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 612 chrome/service/cloud_print/printer_job_handler_unittest.cc base::Bind(&PrinterJobHandlerTest::MessageLoopQuitSoonHelper, base 613 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoop::current()), base 614 chrome/service/cloud_print/printer_job_handler_unittest.cc base::TimeDelta::FromSeconds(timeout_seconds)); base 616 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoop::current()->Run(); base 636 chrome/service/cloud_print/printer_job_handler_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 772 chrome/service/cloud_print/printer_job_handler_unittest.cc base::Bind(&net::FakeURLFetcherFactory::SetFakeResponse, base 773 chrome/service/cloud_print/printer_job_handler_unittest.cc base::Unretained(&factory_), base 778 chrome/service/cloud_print/printer_job_handler_unittest.cc base::TimeDelta::FromSeconds(1)); base 17 chrome/service/cloud_print/printer_job_queue_handler.cc virtual base::Time GetNow() OVERRIDE; base 20 chrome/service/cloud_print/printer_job_queue_handler.cc base::Time TimeProviderImpl::GetNow() { base 21 chrome/service/cloud_print/printer_job_queue_handler.cc return base::Time::Now(); base 34 chrome/service/cloud_print/printer_job_queue_handler.cc print_data_file_path_ = base::FilePath(); base 38 chrome/service/cloud_print/printer_job_queue_handler.cc time_remaining_ = base::TimeDelta(); base 55 chrome/service/cloud_print/printer_job_queue_handler.cc const base::DictionaryValue* job_data, base 66 chrome/service/cloud_print/printer_job_queue_handler.cc const base::ListValue* tags = NULL; base 76 chrome/service/cloud_print/printer_job_queue_handler.cc base::TimeDelta PrinterJobQueueHandler::ComputeBackoffTime( base 80 chrome/service/cloud_print/printer_job_queue_handler.cc return base::TimeDelta(); base 83 chrome/service/cloud_print/printer_job_queue_handler.cc base::TimeDelta backoff_time = base 84 chrome/service/cloud_print/printer_job_queue_handler.cc base::TimeDelta::FromSeconds(kJobFirstWaitTimeSecs); base 91 chrome/service/cloud_print/printer_job_queue_handler.cc base::Time scheduled_retry = base 93 chrome/service/cloud_print/printer_job_queue_handler.cc base::Time now = time_provider_->GetNow(); base 94 chrome/service/cloud_print/printer_job_queue_handler.cc base::TimeDelta time_remaining; base 97 chrome/service/cloud_print/printer_job_queue_handler.cc return base::TimeDelta(); base 103 chrome/service/cloud_print/printer_job_queue_handler.cc const base::DictionaryValue* json_data, base 109 chrome/service/cloud_print/printer_job_queue_handler.cc const base::ListValue* job_list = NULL; base 116 chrome/service/cloud_print/printer_job_queue_handler.cc const base::DictionaryValue* job_data = NULL; base 124 chrome/service/cloud_print/printer_job_queue_handler.cc if (job_details_current.time_remaining_ == base::TimeDelta()) { base 20 chrome/service/cloud_print/printer_job_queue_handler.h namespace base { base 40 chrome/service/cloud_print/printer_job_queue_handler.h base::FilePath print_data_file_path_; base 45 chrome/service/cloud_print/printer_job_queue_handler.h base::TimeDelta time_remaining_; base 54 chrome/service/cloud_print/printer_job_queue_handler.h virtual base::Time GetNow() = 0; base 67 chrome/service/cloud_print/printer_job_queue_handler.h void GetJobsFromQueue(const base::DictionaryValue* json_data, base 80 chrome/service/cloud_print/printer_job_queue_handler.h base::Time last_retry_; base 88 chrome/service/cloud_print/printer_job_queue_handler.h void ConstructJobDetailsFromJson(const base::DictionaryValue* json_data, base 90 chrome/service/cloud_print/printer_job_queue_handler.h base::TimeDelta ComputeBackoffTime(const std::string& job_id); base 49 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc MOCK_METHOD0(GetNow, base::Time()); base 54 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc base::Value* data_; base 55 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc base::DictionaryValue* json_data_; base 57 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc base::JSONReader json_reader; base 89 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc EXPECT_EQ(base::TimeDelta(), jobs[0].time_remaining_); base 97 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc .WillRepeatedly(Return(base::Time::UnixEpoch())); base 107 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc EXPECT_EQ(base::TimeDelta(), jobs[0].time_remaining_); base 117 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc .WillByDefault(Return(base::Time::UnixEpoch())); base 123 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc .WillByDefault(Return(base::Time::UnixEpoch() + base 124 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc base::TimeDelta::FromMinutes(4))); base 135 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc EXPECT_EQ(base::TimeDelta(), jobs[0].time_remaining_); base 147 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc .WillByDefault(Return(base::Time::UnixEpoch())); base 153 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc .WillByDefault(Return(base::Time::UnixEpoch() + base 154 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc base::TimeDelta::FromSeconds(4))); base 166 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc base::TimeDelta time_to_wait = jobs[0].time_remaining_; base 167 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc EXPECT_NE(base::TimeDelta(), time_to_wait); base 171 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc .WillByDefault(Return(base::Time::UnixEpoch() + base 172 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc base::TimeDelta::FromSeconds(4) + time_to_wait)); base 177 chrome/service/cloud_print/printer_job_queue_handler_unittest.cc EXPECT_EQ(base::TimeDelta(), jobs[0].time_remaining_); base 42 chrome/service/net/service_url_request_context.cc base::SysInfo::OperatingSystemVersionNumbers(&os_major_version, base 61 chrome/service/net/service_url_request_context.cc base::StringAppendF( base 97 chrome/service/net/service_url_request_context.cc base::StringAppendF(&user_agent, base 169 chrome/service/net/service_url_request_context.cc scoped_refptr<base::SingleThreadTaskRunner> base 23 chrome/service/net/service_url_request_context.h namespace base { base 51 chrome/service/net/service_url_request_context.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 67 chrome/service/net/service_url_request_context.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 115 chrome/service/service_ipc_server.cc const base::DictionaryValue& user_settings) { base 129 chrome/service/service_ipc_server.cc new base::HistogramDeltaSerialization("ServiceProcess")); base 18 chrome/service/service_ipc_server.h namespace base { base 60 chrome/service/service_ipc_server.h const base::DictionaryValue& user_settings); base 81 chrome/service/service_ipc_server.h scoped_ptr<base::HistogramDeltaSerialization> histogram_delta_serializer_; base 25 chrome/service/service_main.cc base::MessageLoopForUI main_message_loop; base 28 chrome/service/service_main.cc base::debug::WaitForDebugger(60, true); base 34 chrome/service/service_main.cc base::PlatformThread::SetName("CrServiceMain"); base 35 chrome/service/service_main.cc base::StatisticsRecorder::Initialize(); base 46 chrome/service/service_main.cc base::MessageLoop::current()->Run(); base 61 chrome/service/service_process.cc class ServiceIOThread : public base::Thread { base 73 chrome/service/service_process.cc ServiceIOThread::ServiceIOThread(const char* name) : base::Thread(name) {} base 88 chrome/service/service_process.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 104 chrome/service/service_process.cc base::string16 dlg_strings( base 107 chrome/service/service_process.cc base::string16 adjusted_string(l10n_util::GetStringFUTF16( base 110 chrome/service/service_process.cc base::i18n::AdjustStringForLocaleDirection(&adjusted_string); base 113 chrome/service/service_process.cc dlg_strings.append(base::ASCIIToUTF16( base 114 chrome/service/service_process.cc base::i18n::IsRTL() ? env_vars::kRtlLocale : env_vars::kLtrLocale)); base 116 chrome/service/service_process.cc env->SetVar(env_vars::kRestartInfo, base::UTF16ToUTF8(dlg_strings)); base 130 chrome/service/service_process.cc bool ServiceProcess::Initialize(base::MessageLoopForUI* message_loop, base 157 chrome/service/service_process.cc base::Thread::Options options; base 158 chrome/service/service_process.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 160 chrome/service/service_process.cc file_thread_.reset(new base::Thread("ServiceProcess_File")); base 167 chrome/service/service_process.cc blocking_pool_ = new base::SequencedWorkerPool(3, "ServiceBlocking"); base 171 chrome/service/service_process.cc base::FilePath user_data_dir; base 173 chrome/service/service_process.cc base::FilePath pref_path = base 219 chrome/service/service_process.cc base::Bind(&ServiceProcess::Terminate, base::Unretained(this)))) { base 281 chrome/service/service_process.cc main_message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 353 chrome/service/service_process.cc base::MessageLoop::current()->PostDelayedTask( base 355 chrome/service/service_process.cc base::Bind(&ServiceProcess::ShutdownIfNeeded, base::Unretained(this)), base 356 chrome/service/service_process.cc base::TimeDelta::FromSeconds(kShutdownDelaySeconds)); base 374 chrome/service/service_process.cc base::MessageLoop::current()->PostDelayedTask( base 376 chrome/service/service_process.cc base::Bind(&ServiceProcess::CloudPrintPolicyCheckIfNeeded, base 377 chrome/service/service_process.cc base::Unretained(this)), base 378 chrome/service/service_process.cc base::TimeDelta::FromHours(kPolicyCheckDelayHours)); base 23 chrome/service/service_process.h namespace base { base 42 chrome/service/service_process.h bool Initialize(base::MessageLoopForUI* message_loop, base 43 chrome/service/service_process.h const base::CommandLine& command_line, base 60 chrome/service/service_process.h base::Thread* io_thread() const { base 66 chrome/service/service_process.h base::Thread* file_thread() const { base 73 chrome/service/service_process.h base::WaitableEvent* shutdown_event() { base 126 chrome/service/service_process.h scoped_ptr<base::Thread> io_thread_; base 127 chrome/service/service_process.h scoped_ptr<base::Thread> file_thread_; base 128 chrome/service/service_process.h scoped_refptr<base::SequencedWorkerPool> blocking_pool_; base 135 chrome/service/service_process.h base::WaitableEvent shutdown_event_; base 138 chrome/service/service_process.h base::MessageLoop* main_message_loop_; base 12 chrome/service/service_process_prefs.cc const base::FilePath& pref_filename, base 13 chrome/service/service_process_prefs.cc base::SequencedTaskRunner* task_runner) base 32 chrome/service/service_process_prefs.cc const base::Value* value; base 42 chrome/service/service_process_prefs.cc prefs_->SetValue(key, new base::StringValue(value)); base 47 chrome/service/service_process_prefs.cc const base::Value* value; base 56 chrome/service/service_process_prefs.cc prefs_->SetValue(key, new base::FundamentalValue(value)); base 61 chrome/service/service_process_prefs.cc const base::Value* value; base 70 chrome/service/service_process_prefs.cc prefs_->SetValue(key, new base::FundamentalValue(value)); base 73 chrome/service/service_process_prefs.cc const base::DictionaryValue* ServiceProcessPrefs::GetDictionary( base 75 chrome/service/service_process_prefs.cc const base::Value* value; base 77 chrome/service/service_process_prefs.cc !value->IsType(base::Value::TYPE_DICTIONARY)) { base 81 chrome/service/service_process_prefs.cc return static_cast<const base::DictionaryValue*>(value); base 84 chrome/service/service_process_prefs.cc const base::ListValue* ServiceProcessPrefs::GetList( base 86 chrome/service/service_process_prefs.cc const base::Value* value; base 87 chrome/service/service_process_prefs.cc if (!prefs_->GetValue(key, &value) || !value->IsType(base::Value::TYPE_LIST)) base 90 chrome/service/service_process_prefs.cc return static_cast<const base::ListValue*>(value); base 93 chrome/service/service_process_prefs.cc void ServiceProcessPrefs::SetValue(const std::string& key, base::Value* value) { base 12 chrome/service/service_process_prefs.h namespace base { base 23 chrome/service/service_process_prefs.h ServiceProcessPrefs(const base::FilePath& pref_filename, base 24 chrome/service/service_process_prefs.h base::SequencedTaskRunner* task_runner); base 53 chrome/service/service_process_prefs.h const base::DictionaryValue* GetDictionary(const std::string& key) const; base 56 chrome/service/service_process_prefs.h const base::ListValue* GetList(const std::string& key) const; base 59 chrome/service/service_process_prefs.h void SetValue(const std::string& key, base::Value* value); base 29 chrome/service/service_process_prefs_unittest.cc base::ScopedTempDir temp_dir_; base 31 chrome/service/service_process_prefs_unittest.cc base::MessageLoop message_loop_; base 18 chrome/service/service_process_unittest.cc base::MessageLoopForUI main_message_loop; base 43 chrome/service/service_utility_process_host.cc const base::FilePath& exposed_dir) base 48 chrome/service/service_utility_process_host.cc base::FilePath* exposed_dir) OVERRIDE { base 53 chrome/service/service_utility_process_host.cc base::FilePath exposed_dir_; base 80 chrome/service/service_utility_process_host.cc Client* client, base::MessageLoopProxy* client_message_loop_proxy) base 81 chrome/service/service_utility_process_host.cc : handle_(base::kNullProcessHandle), base 90 chrome/service/service_utility_process_host.cc base::KillProcess(handle_, content::RESULT_CODE_NORMAL_EXIT, false); base 94 chrome/service/service_utility_process_host.cc const base::FilePath& pdf_path, base 100 chrome/service/service_utility_process_host.cc start_time_ = base::Time::Now(); base 107 chrome/service/service_utility_process_host.cc scratch_metafile_dir_.reset(new base::ScopedTempDir); base 110 chrome/service/service_utility_process_host.cc if (!base::CreateTemporaryFileInDir(scratch_metafile_dir_->path(), base 118 chrome/service/service_utility_process_host.cc base::win::ScopedHandle pdf_file( base 150 chrome/service/service_utility_process_host.cc start_time_ = base::Time::Now(); base 151 chrome/service/service_utility_process_host.cc base::FilePath exposed_path; base 165 chrome/service/service_utility_process_host.cc start_time_ = base::Time::Now(); base 166 chrome/service/service_utility_process_host.cc base::FilePath exposed_path; base 177 chrome/service/service_utility_process_host.cc const base::FilePath& exposed_dir) { base 182 chrome/service/service_utility_process_host.cc base::FilePath exe_path = GetUtilityProcessCmd(); base 204 chrome/service/service_utility_process_host.cc const base::FilePath& exposed_dir) { base 212 chrome/service/service_utility_process_host.cc base::ProcessHandle process = base::kNullProcessHandle; base 214 chrome/service/service_utility_process_host.cc base::LaunchProcess(*cmd_line, base::LaunchOptions(), &handle_); base 219 chrome/service/service_utility_process_host.cc return (handle_ != base::kNullProcessHandle); base 223 chrome/service/service_utility_process_host.cc base::FilePath ServiceUtilityProcessHost::GetUtilityProcessCmd() { base 237 chrome/service/service_utility_process_host.cc FROM_HERE, base::Bind(&Client::OnChildDied, client_.get())); base 242 chrome/service/service_utility_process_host.cc base::Time::Now() - start_time_); base 271 chrome/service/service_utility_process_host.cc base::ProcessHandle ServiceUtilityProcessHost::GetHandle() const { base 282 chrome/service/service_utility_process_host.cc base::Time::Now() - start_time_); base 291 chrome/service/service_utility_process_host.cc base::Bind(&Client::MetafileAvailable, client_.get(), metafile_path_, base 301 chrome/service/service_utility_process_host.cc base::Time::Now() - start_time_); base 305 chrome/service/service_utility_process_host.cc base::Bind(&Client::OnRenderPDFPagesToMetafileFailed, client_.get())); base 316 chrome/service/service_utility_process_host.cc base::Time::Now() - start_time_); base 320 chrome/service/service_utility_process_host.cc base::Bind(&Client::OnGetPrinterCapsAndDefaults, client_.get(), true, base 332 chrome/service/service_utility_process_host.cc base::Time::Now() - start_time_); base 336 chrome/service/service_utility_process_host.cc base::Bind(&Client::OnGetPrinterSemanticCapsAndDefaults, client_.get(), base 347 chrome/service/service_utility_process_host.cc base::Time::Now() - start_time_); base 351 chrome/service/service_utility_process_host.cc base::Bind(&Client::OnGetPrinterCapsAndDefaults, client_.get(), false, base 362 chrome/service/service_utility_process_host.cc base::Time::Now() - start_time_); base 366 chrome/service/service_utility_process_host.cc base::Bind(&Client::OnGetPrinterSemanticCapsAndDefaults, base 372 chrome/service/service_utility_process_host.cc const base::FilePath& metafile_path, base 377 chrome/service/service_utility_process_host.cc base::ScopedTempDir scratch_metafile_dir; base 22 chrome/service/service_utility_process_host.h namespace base { base 47 chrome/service/service_utility_process_host.h class Client : public base::RefCountedThreadSafe<Client> { base 81 chrome/service/service_utility_process_host.h friend class base::RefCountedThreadSafe<Client>; base 85 chrome/service/service_utility_process_host.h void MetafileAvailable(const base::FilePath& metafile_path, base 93 chrome/service/service_utility_process_host.h base::MessageLoopProxy* client_message_loop_proxy); base 100 chrome/service/service_utility_process_host.h const base::FilePath& pdf_path, base 118 chrome/service/service_utility_process_host.h virtual base::FilePath GetUtilityProcessCmd(); base 123 chrome/service/service_utility_process_host.h virtual base::ProcessHandle GetHandle() const OVERRIDE; base 129 chrome/service/service_utility_process_host.h bool StartProcess(bool no_sandbox, const base::FilePath& exposed_dir); base 135 chrome/service/service_utility_process_host.h bool Launch(base::CommandLine* cmd_line, base 137 chrome/service/service_utility_process_host.h const base::FilePath& exposed_dir); base 139 chrome/service/service_utility_process_host.h base::ProcessHandle handle() const { return handle_; } base 156 chrome/service/service_utility_process_host.h base::ProcessHandle handle_; base 159 chrome/service/service_utility_process_host.h scoped_refptr<base::MessageLoopProxy> client_message_loop_proxy_; base 162 chrome/service/service_utility_process_host.h base::FilePath metafile_path_; base 164 chrome/service/service_utility_process_host.h scoped_ptr<base::ScopedTempDir> scratch_metafile_dir_; base 166 chrome/service/service_utility_process_host.h base::Time start_time_; base 9 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 7 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 16 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java import org.chromium.base.CommandLine; base 17 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java import org.chromium.base.ThreadUtils; base 18 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java import org.chromium.base.test.util.AdvancedMockContext; base 10 chrome/test/base/app_mode_app_tests.cc return base::TestSuite(argc, argv).Run(); base 19 chrome/test/base/browser_tests_main.cc int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); base 63 chrome/test/base/browser_with_test_window_test.cc base::MessageLoopForUI::current())); base 71 chrome/test/base/browser_with_test_window_test.cc base::MessageLoopForUI::current())); base 93 chrome/test/base/browser_with_test_window_test.cc base::RunLoop().RunUntilIdle(); base 109 chrome/test/base/browser_with_test_window_test.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 110 chrome/test/base/browser_with_test_window_test.cc base::MessageLoop::QuitClosure()); base 111 chrome/test/base/browser_with_test_window_test.cc base::MessageLoop::current()->Run(); base 186 chrome/test/base/browser_with_test_window_test.cc const base::string16& title) { base 136 chrome/test/base/browser_with_test_window_test.h const base::string16& title); base 169 chrome/test/base/browser_with_test_window_test.h base::ShadowingAtExitManager at_exit_manager_; base 19 chrome/test/base/chrome_process_util.cc using base::TimeDelta; base 20 chrome/test/base/chrome_process_util.cc using base::TimeTicks; base 25 chrome/test/base/chrome_process_util.cc const base::FilePath::CharType* GetRunningBrowserExecutableName() { base 33 chrome/test/base/chrome_process_util.cc std::vector<base::FilePath::StringType> GetRunningHelperExecutableNames() { base 34 chrome/test/base/chrome_process_util.cc base::FilePath::StringType name; base 42 chrome/test/base/chrome_process_util.cc std::vector<base::FilePath::StringType> names; base 66 chrome/test/base/chrome_process_util.cc base::ProcessHandle handle; base 67 chrome/test/base/chrome_process_util.cc if (!base::OpenProcessHandle(*it, &handle)) { base 73 chrome/test/base/chrome_process_util.cc base::KillProcess(handle, content::RESULT_CODE_KILLED, true); base 74 chrome/test/base/chrome_process_util.cc base::CloseProcessHandle(handle); base 78 chrome/test/base/chrome_process_util.cc class ChildProcessFilter : public base::ProcessFilter { base 80 chrome/test/base/chrome_process_util.cc explicit ChildProcessFilter(base::ProcessId parent_pid) base 83 chrome/test/base/chrome_process_util.cc explicit ChildProcessFilter(const std::vector<base::ProcessId>& parent_pids) base 86 chrome/test/base/chrome_process_util.cc virtual bool Includes(const base::ProcessEntry& entry) const OVERRIDE { base 91 chrome/test/base/chrome_process_util.cc const std::set<base::ProcessId> parent_pids_; base 96 chrome/test/base/chrome_process_util.cc ChromeProcessList GetRunningChromeProcesses(base::ProcessId browser_pid) { base 97 chrome/test/base/chrome_process_util.cc const base::FilePath::CharType* executable_name = base 100 chrome/test/base/chrome_process_util.cc if (browser_pid == static_cast<base::ProcessId>(-1)) base 104 chrome/test/base/chrome_process_util.cc base::NamedProcessIterator it(executable_name, &filter); base 105 chrome/test/base/chrome_process_util.cc while (const base::ProcessEntry* process_entry = it.NextProcessEntry()) { base 115 chrome/test/base/chrome_process_util.cc base::NamedProcessIterator it(executable_name, &filter); base 116 chrome/test/base/chrome_process_util.cc while (const base::ProcessEntry* process_entry = it.NextProcessEntry()) base 126 chrome/test/base/chrome_process_util.cc std::vector<base::FilePath::StringType> names = base 129 chrome/test/base/chrome_process_util.cc base::FilePath::StringType name = names[i]; base 131 chrome/test/base/chrome_process_util.cc base::NamedProcessIterator it(name, &filter); base 132 chrome/test/base/chrome_process_util.cc while (const base::ProcessEntry* process_entry = it.NextProcessEntry()) base 158 chrome/test/base/chrome_process_util.cc base::ProcessHandle process) { base 161 chrome/test/base/chrome_process_util.cc base::ProcessMetrics::CreateProcessMetrics(process)); base 164 chrome/test/base/chrome_process_util.cc base::ProcessMetrics::CreateProcessMetrics(process, NULL)); base 14 chrome/test/base/chrome_process_util.h typedef std::vector<base::ProcessId> ChromeProcessList; base 18 chrome/test/base/chrome_process_util.h ChromeProcessList GetRunningChromeProcesses(base::ProcessId browser_pid); base 32 chrome/test/base/chrome_process_util.h base::ProcessHandle process) { base 48 chrome/test/base/chrome_process_util.h bool GetIOCounters(base::IoCounters* io_counters) { base 52 chrome/test/base/chrome_process_util.h base::ProcessHandle process_handle_; base 57 chrome/test/base/chrome_process_util.h explicit ChromeTestProcessMetrics(base::ProcessHandle process); base 59 chrome/test/base/chrome_process_util.h scoped_ptr<base::ProcessMetrics> process_metrics_; base 76 chrome/test/base/chrome_process_util.h base::ProcessId pid; base 31 chrome/test/base/chrome_process_util_mac.cc cmdline.push_back(base::StringPrintf("%d", *process_iter)); base 36 chrome/test/base/chrome_process_util_mac.cc if (!base::GetAppOutput(CommandLine(cmdline), &ps_output)) base 41 chrome/test/base/chrome_process_util_mac.cc base::SplitString(ps_output, '\n', &ps_output_lines); base 46 chrome/test/base/chrome_process_util_mac.cc std::string line(base::CollapseWhitespaceASCII(*line_iter, false)); base 48 chrome/test/base/chrome_process_util_mac.cc base::SplitString(line, ' ', &values); base 52 chrome/test/base/chrome_process_util_mac.cc base::StringToInt(values[0], &pid); base 54 chrome/test/base/chrome_process_util_mac.cc base::StringToInt(values[1], &proc_info.rsz_in_kb); base 55 chrome/test/base/chrome_process_util_mac.cc base::StringToInt(values[2], &proc_info.vsz_in_kb); base 73 chrome/test/base/chrome_process_util_mac.cc std::vector<base::ProcessId> processes; base 86 chrome/test/base/chrome_process_util_mac.cc if (it->pid != static_cast<base::ProcessId>(process_id)) base 65 chrome/test/base/chrome_test_launcher.cc CommandLine* command_line, const base::FilePath& temp_data_dir) OVERRIDE { base 55 chrome/test/base/chrome_test_suite.cc int num_read = readlink(base::kProcSelfExe, buf, sizeof(buf) - 1); base 77 chrome/test/base/chrome_test_suite.cc base::mac::ScopedNSAutoreleasePool autorelease_pool; base 85 chrome/test/base/chrome_test_suite.cc gfx::android::RegisterJni(base::android::AttachCurrentThread()); base 86 chrome/test/base/chrome_test_suite.cc net::android::RegisterJni(base::android::AttachCurrentThread()); base 87 chrome/test/base/chrome_test_suite.cc ui::android::RegisterJni(base::android::AttachCurrentThread()); base 88 chrome/test/base/chrome_test_suite.cc ui::gl::android::RegisterJni(base::android::AttachCurrentThread()); base 89 chrome/test/base/chrome_test_suite.cc chrome::android::RegisterJni(base::android::AttachCurrentThread()); base 93 chrome/test/base/chrome_test_suite.cc PathService::Override(base::DIR_EXE, browser_dir_); base 94 chrome/test/base/chrome_test_suite.cc PathService::Override(base::DIR_MODULE, browser_dir_); base 111 chrome/test/base/chrome_test_suite.cc base::FilePath path; base 112 chrome/test/base/chrome_test_suite.cc PathService::Get(base::DIR_EXE, &path); base 114 chrome/test/base/chrome_test_suite.cc base::mac::SetOverrideFrameworkBundlePath(path); base 120 chrome/test/base/chrome_test_suite.cc base::mac::SetOverrideFrameworkBundle(NULL); base 26 chrome/test/base/chrome_test_suite.h void SetBrowserDirectory(const base::FilePath& browser_dir) { base 31 chrome/test/base/chrome_test_suite.h base::FilePath browser_dir_; base 43 chrome/test/base/chrome_unit_test_suite.cc base::SharedMemory memory; base 110 chrome/test/base/chrome_unit_test_suite.cc stats_filename_ = base::StringPrintf("unit_tests-%d", base 111 chrome/test/base/chrome_unit_test_suite.cc base::GetCurrentProcId()); base 113 chrome/test/base/chrome_unit_test_suite.cc stats_table_.reset(new base::StatsTable(stats_filename_, 20, 200)); base 114 chrome/test/base/chrome_unit_test_suite.cc base::StatsTable::set_current(stats_table_.get()); base 126 chrome/test/base/chrome_unit_test_suite.cc base::StatsTable::set_current(NULL); base 164 chrome/test/base/chrome_unit_test_suite.cc base::FilePath resources_pack_path; base 166 chrome/test/base/chrome_unit_test_suite.cc PathService::Get(base::DIR_MODULE, &resources_pack_path); base 13 chrome/test/base/chrome_unit_test_suite.h namespace base { base 36 chrome/test/base/chrome_unit_test_suite.h scoped_ptr<base::StatsTable> stats_table_; base 8 chrome/test/base/history_index_restore_observer.cc const base::Closure& task) base 19 chrome/test/base/history_index_restore_observer.h explicit HistoryIndexRestoreObserver(const base::Closure& task); base 28 chrome/test/base/history_index_restore_observer.h base::Closure task_; base 81 chrome/test/base/in_process_browser_test.cc public base::NonThreadSafe { base 126 chrome/test/base/in_process_browser_test.cc base::FilePath chrome_path; base 127 chrome/test/base/in_process_browser_test.cc CHECK(PathService::Get(base::FILE_EXE, &chrome_path)); base 130 chrome/test/base/in_process_browser_test.cc CHECK(PathService::Override(base::FILE_EXE, chrome_path)); base 133 chrome/test/base/in_process_browser_test.cc CreateTestServer(base::FilePath(FILE_PATH_LITERAL("chrome/test/data"))); base 134 chrome/test/base/in_process_browser_test.cc base::FilePath src_dir; base 135 chrome/test/base/in_process_browser_test.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &src_dir)); base 136 chrome/test/base/in_process_browser_test.cc base::FilePath test_data_dir = src_dir.AppendASCII("chrome/test/data"); base 169 chrome/test/base/in_process_browser_test.cc base::FilePath log_dir = logging::GetSessionLogFile(*command_line).DirName(); base 170 chrome/test/base/in_process_browser_test.cc base::CreateDirectory(log_dir); base 191 chrome/test/base/in_process_browser_test.cc base::win::Version version = base::win::GetVersion(); base 194 chrome/test/base/in_process_browser_test.cc if (version >= base::win::VERSION_VISTA && base 196 chrome/test/base/in_process_browser_test.cc com_initializer_.reset(new base::win::ScopedCOMInitializer()); base 198 chrome/test/base/in_process_browser_test.cc if (version >= base::win::VERSION_WIN8) base 227 chrome/test/base/in_process_browser_test.cc base::FilePath subprocess_path; base 228 chrome/test/base/in_process_browser_test.cc PathService::Get(base::FILE_EXE, &subprocess_path); base 250 chrome/test/base/in_process_browser_test.cc base::FilePath user_data_dir = base 355 chrome/test/base/in_process_browser_test.cc base::FilePath user_data_dir; base 406 chrome/test/base/in_process_browser_test.cc autorelease_pool_ = new base::mac::ScopedNSAutoreleasePool; base 455 chrome/test/base/in_process_browser_test.cc base::MessageLoopForUI::current()->PostTask(FROM_HERE, base 456 chrome/test/base/in_process_browser_test.cc base::Bind(&chrome::AttemptExit)); base 17 chrome/test/base/in_process_browser_test.h namespace base { base 160 chrome/test/base/in_process_browser_test.h base::CommandLine GetCommandLineForRelaunch(); base 165 chrome/test/base/in_process_browser_test.h base::mac::ScopedNSAutoreleasePool* AutoreleasePool() const { base 189 chrome/test/base/in_process_browser_test.h void PrepareTestCommandLine(base::CommandLine* command_line); base 196 chrome/test/base/in_process_browser_test.h base::ScopedTempDir temp_user_data_dir_; base 206 chrome/test/base/in_process_browser_test.h base::mac::ScopedNSAutoreleasePool* autorelease_pool_; base 210 chrome/test/base/in_process_browser_test.h scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_; base 42 chrome/test/base/in_process_browser_test_browsertest.cc const base::string16& frame_unique_name, base 46 chrome/test/base/in_process_browser_test_browsertest.cc const base::string16& error_description, base 117 chrome/test/base/interactive_test_utils.cc const base::Closure& followup) { base 136 chrome/test/base/interactive_test_utils.h const base::Closure& task); base 144 chrome/test/base/interactive_test_utils.h const base::Closure& followup); base 59 chrome/test/base/interactive_test_utils_gtk.cc base::MessageLoop::QuitClosure()); base 76 chrome/test/base/interactive_test_utils_gtk.cc const base::Closure& task) { base 81 chrome/test/base/interactive_test_utils_gtk.cc base::Bind(&internal::ClickTask, button, state, task)); base 39 chrome/test/base/interactive_test_utils_views.cc base::MessageLoop::QuitClosure()); base 46 chrome/test/base/interactive_test_utils_views.cc const base::Closure& closure) { base 64 chrome/test/base/interactive_test_utils_views.cc base::Bind(&internal::ClickTask, button, state, closure)); base 44 chrome/test/base/interactive_ui_tests_main.cc com_initializer_.reset(new base::win::ScopedCOMInitializer()); base 65 chrome/test/base/interactive_ui_tests_main.cc scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_; base 88 chrome/test/base/javascript_test_observer.cc base::MessageLoopForUI::current()->Quit(); base 14 chrome/test/base/javascript_test_observer.h namespace base { base 59 chrome/test/base/module_system_test.cc base::LazyInstance<V8ExtensionConfigurator>::Leaky g_v8_extension_configurator = base 71 chrome/test/base/module_system_test.cc RouteFunction("AssertTrue", base::Bind(&AssertNatives::AssertTrue, base 72 chrome/test/base/module_system_test.cc base::Unretained(this))); base 73 chrome/test/base/module_system_test.cc RouteFunction("AssertFalse", base::Bind(&AssertNatives::AssertFalse, base 74 chrome/test/base/module_system_test.cc base::Unretained(this))); base 179 chrome/test/base/module_system_test.cc base::FilePath test_js_file_path; base 184 chrome/test/base/module_system_test.cc ASSERT_TRUE(base::ReadFileToString(test_js_file_path, &test_js)); base 17 chrome/test/base/run_all_remoting_unittests.cc base::TestSuite test_suite(argc, argv); base 31 chrome/test/base/run_all_remoting_unittests.cc return base::LaunchUnitTests( base 32 chrome/test/base/run_all_remoting_unittests.cc argc, argv, base::Bind(&base::TestSuite::Run, base 33 chrome/test/base/run_all_remoting_unittests.cc base::Unretained(&test_suite))); base 13 chrome/test/base/run_all_unittests.cc return base::LaunchUnitTests( base 14 chrome/test/base/run_all_unittests.cc argc, argv, base::Bind(&content::UnitTestTestSuite::Run, base 15 chrome/test/base/run_all_unittests.cc base::Unretained(&test_suite))); base 114 chrome/test/base/test_browser_window.h const base::string16& email, base 115 chrome/test/base/test_browser_window.h const base::string16& error_message, base 124 chrome/test/base/test_browser_window.h const base::Callback<void(bool)>& callback) OVERRIDE {} base 75 chrome/test/base/test_launcher_utils.cc bool OverrideUserDataDir(const base::FilePath& user_data_dir) { base 89 chrome/test/base/test_launcher_utils.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 13 chrome/test/base/test_launcher_utils.h namespace base { base 22 chrome/test/base/test_launcher_utils.h void PrepareBrowserCommandLineForTests(base::CommandLine* command_line); base 26 chrome/test/base/test_launcher_utils.h const base::FilePath& user_data_dir) WARN_UNUSED_RESULT; base 25 chrome/test/base/testing_io_thread_state.cc base::Closure ThreadSafeQuit(base::RunLoop* run_loop) { base 29 chrome/test/base/testing_io_thread_state.cc using base::Bind; base 30 chrome/test/base/testing_io_thread_state.cc using base::IgnoreResult; base 31 chrome/test/base/testing_io_thread_state.cc return Bind(IgnoreResult(&base::MessageLoopProxy::PostTask), base 32 chrome/test/base/testing_io_thread_state.cc base::MessageLoopProxy::current(), base 55 chrome/test/base/testing_io_thread_state.cc base::RunLoop run_loop; base 57 chrome/test/base/testing_io_thread_state.cc base::Bind(&TestingIOThreadState::Initialize, base 58 chrome/test/base/testing_io_thread_state.cc base::Unretained(this), base 67 chrome/test/base/testing_io_thread_state.cc base::RunLoop run_loop; base 69 chrome/test/base/testing_io_thread_state.cc base::Bind(&TestingIOThreadState::Shutdown, base 70 chrome/test/base/testing_io_thread_state.cc base::Unretained(this), base 83 chrome/test/base/testing_io_thread_state.cc void TestingIOThreadState::Initialize(const base::Closure& done) { base 89 chrome/test/base/testing_io_thread_state.cc scoped_ptr<base::TickClock>(new base::DefaultTickClock()))); base 94 chrome/test/base/testing_io_thread_state.cc void TestingIOThreadState::Shutdown(const base::Closure& done) { base 28 chrome/test/base/testing_io_thread_state.h void Initialize(const base::Closure& done); base 29 chrome/test/base/testing_io_thread_state.h void Shutdown(const base::Closure& done); base 32 chrome/test/base/testing_pref_service_syncable.cc base::Bind(&TestingPrefServiceBase< base 92 chrome/test/base/testing_profile.cc using base::Time; base 113 chrome/test/base/testing_profile.cc base::MessageLoop::current()->Quit(); base 144 chrome/test/base/testing_profile.cc virtual scoped_refptr<base::SingleThreadTaskRunner> base 193 chrome/test/base/testing_profile.cc TestingProfile::TestingProfile(const base::FilePath& path) base 210 chrome/test/base/testing_profile.cc TestingProfile::TestingProfile(const base::FilePath& path, base 226 chrome/test/base/testing_profile.cc base::MessageLoop::current()->PostTask( base 228 chrome/test/base/testing_profile.cc base::Bind(&TestingProfile::FinishInit, base::Unretained(this))); base 235 chrome/test/base/testing_profile.cc const base::FilePath& path, base 279 chrome/test/base/testing_profile.cc base::MessageLoop::current()->PostTask( base 281 chrome/test/base/testing_profile.cc base::Bind(&TestingProfile::FinishInit, base::Unretained(this))); base 292 chrome/test/base/testing_profile.cc base::FilePath system_tmp_dir; base 293 chrome/test/base/testing_profile.cc bool success = PathService::Get(base::DIR_TEMP, &system_tmp_dir); base 300 chrome/test/base/testing_profile.cc base::FilePath fallback_dir( base 302 chrome/test/base/testing_profile.cc base::DeleteFile(fallback_dir, true); base 303 chrome/test/base/testing_profile.cc base::CreateDirectory(fallback_dir); base 330 chrome/test/base/testing_profile.cc if (!base::PathExists(profile_path_)) base 331 chrome/test/base/testing_profile.cc base::CreateDirectory(profile_path_); base 433 chrome/test/base/testing_profile.cc base::FilePath path = GetPath(); base 435 chrome/test/base/testing_profile.cc if (!base::DeleteFile(path, false) || base::PathExists(path)) base 459 chrome/test/base/testing_profile.cc history_service->SetOnBackendDestroyTask(base::MessageLoop::QuitClosure()); base 467 chrome/test/base/testing_profile.cc base::MessageLoop::current()->Run(); base 471 chrome/test/base/testing_profile.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 472 chrome/test/base/testing_profile.cc base::MessageLoop::QuitClosure()); base 473 chrome/test/base/testing_profile.cc base::MessageLoop::current()->Run(); base 489 chrome/test/base/testing_profile.cc if (base::MessageLoop::current()) base 490 chrome/test/base/testing_profile.cc base::MessageLoop::current()->RunUntilIdle(); base 503 chrome/test/base/testing_profile.cc base::FilePath path = GetPath().Append(chrome::kBookmarksFileName); base 504 chrome/test/base/testing_profile.cc base::DeleteFile(path, false); base 538 chrome/test/base/testing_profile.cc base::RunLoop run_loop; base 555 chrome/test/base/testing_profile.cc base::FilePath TestingProfile::GetPath() const { base 559 chrome/test/base/testing_profile.cc scoped_refptr<base::SequencedTaskRunner> TestingProfile::GetIOTaskRunner() { base 560 chrome/test/base/testing_profile.cc return base::MessageLoop::current()->message_loop_proxy(); base 732 chrome/test/base/testing_profile.cc const base::FilePath& partition_path, base 784 chrome/test/base/testing_profile.cc const base::FilePath& partition_path, base 832 chrome/test/base/testing_profile.cc base::Time TestingProfile::GetStartTime() const { base 836 chrome/test/base/testing_profile.cc base::FilePath TestingProfile::last_selected_directory() { base 840 chrome/test/base/testing_profile.cc void TestingProfile::set_last_selected_directory(const base::FilePath& path) { base 858 chrome/test/base/testing_profile.cc DCHECK(base::MessageLoop::current()); base 862 chrome/test/base/testing_profile.cc base::MessageLoop::current()->Run(); base 870 chrome/test/base/testing_profile.cc base::Time time, base 871 chrome/test/base/testing_profile.cc const base::Closure& completion) { base 911 chrome/test/base/testing_profile.cc void TestingProfile::Builder::SetPath(const base::FilePath& path) { base 97 chrome/test/base/testing_profile.h void SetPath(const base::FilePath& path); base 125 chrome/test/base/testing_profile.h base::FilePath path_; base 142 chrome/test/base/testing_profile.h explicit TestingProfile(const base::FilePath& path); base 147 chrome/test/base/testing_profile.h TestingProfile(const base::FilePath& path, Delegate* delegate); base 151 chrome/test/base/testing_profile.h TestingProfile(const base::FilePath& path, base 208 chrome/test/base/testing_profile.h virtual base::FilePath GetPath() const OVERRIDE; base 209 chrome/test/base/testing_profile.h virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; base 277 chrome/test/base/testing_profile.h const base::FilePath& partition_path, base 301 chrome/test/base/testing_profile.h const base::FilePath& partition_path, base 319 chrome/test/base/testing_profile.h virtual base::Time GetStartTime() const OVERRIDE; base 320 chrome/test/base/testing_profile.h virtual base::FilePath last_selected_directory() OVERRIDE; base 321 chrome/test/base/testing_profile.h virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; base 345 chrome/test/base/testing_profile.h base::Time time, base 346 chrome/test/base/testing_profile.h const base::Closure& completion) OVERRIDE; base 356 chrome/test/base/testing_profile.h base::Time start_time_; base 398 chrome/test/base/testing_profile.h base::FilePath last_selected_directory_; base 410 chrome/test/base/testing_profile.h base::ScopedTempDir temp_dir_; base 413 chrome/test/base/testing_profile.h base::FilePath profile_path_; base 22 chrome/test/base/testing_profile_manager.cc explicit ProfileManager(const base::FilePath& user_data_dir) base 27 chrome/test/base/testing_profile_manager.cc const base::FilePath& file_path) OVERRIDE { base 54 chrome/test/base/testing_profile_manager.cc const base::string16& user_name, base 61 chrome/test/base/testing_profile_manager.cc base::FilePath profile_path(profiles_dir_.path()); base 97 chrome/test/base/testing_profile_manager.cc base::UTF8ToUTF16(name), 0, std::string(), base 159 chrome/test/base/testing_profile_manager.cc const base::FilePath& TestingProfileManager::profiles_dir() { base 55 chrome/test/base/testing_profile_manager.h const base::string16& user_name, base 84 chrome/test/base/testing_profile_manager.h const base::FilePath& profiles_dir(); base 100 chrome/test/base/testing_profile_manager.h base::ScopedTempDir profiles_dir_; base 48 chrome/test/base/tracing.cc base::Bind(&InProcessTraceController::OnWatchEventMatched, base 49 chrome/test/base/tracing.cc base::Unretained(this)))) { base 54 chrome/test/base/tracing.cc base::Bind(&InProcessTraceController::OnEnableTracingComplete, base 55 chrome/test/base/tracing.cc base::Unretained(this)))) { base 64 chrome/test/base/tracing.cc bool WaitForWatchEvent(base::TimeDelta timeout) { base 69 chrome/test/base/tracing.cc if (timeout != base::TimeDelta()) { base 84 chrome/test/base/tracing.cc using namespace base::debug; base 87 chrome/test/base/tracing.cc base::FilePath(), base 88 chrome/test/base/tracing.cc base::Bind(&InProcessTraceController::OnTraceDataCollected, base 89 chrome/test/base/tracing.cc base::Unretained(this), base 90 chrome/test/base/tracing.cc base::Unretained(json_trace_output)))) base 115 chrome/test/base/tracing.cc const base::FilePath& path) { base 117 chrome/test/base/tracing.cc base::Bind(&InProcessTraceController::ReadTraceData, base 118 chrome/test/base/tracing.cc base::Unretained(this), base 119 chrome/test/base/tracing.cc base::Unretained(json_trace_output), base 124 chrome/test/base/tracing.cc const base::FilePath& path) { base 126 chrome/test/base/tracing.cc bool ok = base::ReadFileToString(path, json_trace_output); base 128 chrome/test/base/tracing.cc base::DeleteFile(path, false); base 139 chrome/test/base/tracing.cc base::Bind(&InProcessTraceController::OnEndTracingComplete, base 140 chrome/test/base/tracing.cc base::Unretained(this))); base 160 chrome/test/base/tracing.cc base::OneShotTimer<InProcessTraceController> timer_; base 185 chrome/test/base/tracing.cc bool WaitForWatchEvent(base::TimeDelta timeout) { base 43 chrome/test/base/tracing.h bool WaitForWatchEvent(base::TimeDelta timeout) WARN_UNUSED_RESULT; base 47 chrome/test/base/tracing_browsertest.cc base::TimeDelta no_timeout; base 48 chrome/test/base/tracing_browsertest.cc base::TimeDelta short_timeout = base::TimeDelta::FromMilliseconds(5); base 59 chrome/test/base/tracing_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&AddEvents, 1)); base 77 chrome/test/base/tracing_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&AddEvents, 5)); base 108 chrome/test/base/ui_test_utils.cc base::FilePath GetSnapshotFileName(const base::FilePath& snapshot_directory) { base 109 chrome/test/base/ui_test_utils.cc base::Time::Exploded the_time; base 111 chrome/test/base/ui_test_utils.cc base::Time::Now().LocalExplode(&the_time); base 112 chrome/test/base/ui_test_utils.cc std::string filename(base::StringPrintf("%s%04d%02d%02d%02d%02d%02d%s", base 116 chrome/test/base/ui_test_utils.cc base::FilePath snapshot_file = snapshot_directory.AppendASCII(filename); base 117 chrome/test/base/ui_test_utils.cc if (base::PathExists(snapshot_file)) { base 120 chrome/test/base/ui_test_utils.cc base::FilePath trial_file; base 122 chrome/test/base/ui_test_utils.cc suffix = base::StringPrintf(" (%d)", ++index); base 124 chrome/test/base/ui_test_utils.cc } while (base::PathExists(trial_file)); base 144 chrome/test/base/ui_test_utils.cc bool GetCurrentTabTitle(const Browser* browser, base::string16* title) { base 280 chrome/test/base/ui_test_utils.cc base::FilePath GetTestFilePath(const base::FilePath& dir, base 281 chrome/test/base/ui_test_utils.cc const base::FilePath& file) { base 282 chrome/test/base/ui_test_utils.cc base::FilePath path; base 287 chrome/test/base/ui_test_utils.cc GURL GetTestUrl(const base::FilePath& dir, const base::FilePath& file) { base 291 chrome/test/base/ui_test_utils.cc bool GetRelativeBuildDirectory(base::FilePath* build_dir) { base 295 chrome/test/base/ui_test_utils.cc base::FilePath exe_dir = base 297 chrome/test/base/ui_test_utils.cc base::FilePath src_dir; base 298 chrome/test/base/ui_test_utils.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &src_dir)) base 304 chrome/test/base/ui_test_utils.cc exe_dir = base::MakeAbsoluteFilePath(exe_dir); base 306 chrome/test/base/ui_test_utils.cc src_dir = base::MakeAbsoluteFilePath(src_dir); base 313 chrome/test/base/ui_test_utils.cc std::vector<base::FilePath::StringType> src_parts, exe_parts; base 326 chrome/test/base/ui_test_utils.cc *build_dir = base::FilePath(); base 347 chrome/test/base/ui_test_utils.cc const base::string16& search_string, base 386 chrome/test/base/ui_test_utils.cc base::ScopedTempDir downloads_directory; base 406 chrome/test/base/ui_test_utils.cc omnibox->SetUserText(base::ASCIIToUTF16(input)); base 426 chrome/test/base/ui_test_utils.cc void GetCookiesCallback(base::WaitableEvent* event, base 436 chrome/test/base/ui_test_utils.cc base::WaitableEvent* event, base 441 chrome/test/base/ui_test_utils.cc base::Bind(&GetCookiesCallback, event, cookies)); base 455 chrome/test/base/ui_test_utils.cc base::WaitableEvent event(true /* manual reset */, base 459 chrome/test/base/ui_test_utils.cc base::Bind(&GetCookiesOnIOThread, url, context_getter, &event, value))); base 520 chrome/test/base/ui_test_utils.cc bool SaveScreenSnapshotToDirectory(const base::FilePath& directory, base 521 chrome/test/base/ui_test_utils.cc base::FilePath* screenshot_path) { base 523 chrome/test/base/ui_test_utils.cc base::FilePath out_path(GetSnapshotFileName(directory)); base 537 chrome/test/base/ui_test_utils.cc int written = base::WriteFile( base 549 chrome/test/base/ui_test_utils.cc bool SaveScreenSnapshotToDesktop(base::FilePath* screenshot_path) { base 550 chrome/test/base/ui_test_utils.cc base::FilePath desktop; base 552 chrome/test/base/ui_test_utils.cc return PathService::Get(base::DIR_USER_DESKTOP, &desktop) && base 564 chrome/test/base/ui_test_utils.cc position.timestamp = base::Time::Now(); base 581 chrome/test/base/ui_test_utils.cc base::string16(), base 584 chrome/test/base/ui_test_utils.cc base::Bind(&HistoryEnumerator::HistoryQueryComplete, base 585 chrome/test/base/ui_test_utils.cc base::Unretained(this), message_loop_runner->QuitClosure())); base 592 chrome/test/base/ui_test_utils.cc const base::Closure& quit_task, base 37 chrome/test/base/ui_test_utils.h namespace base { base 78 chrome/test/base/ui_test_utils.h bool GetCurrentTabTitle(const Browser* browser, base::string16* title); base 121 chrome/test/base/ui_test_utils.h base::FilePath GetTestFilePath(const base::FilePath& dir, base 122 chrome/test/base/ui_test_utils.h const base::FilePath& file); base 128 chrome/test/base/ui_test_utils.h GURL GetTestUrl(const base::FilePath& dir, const base::FilePath& file); base 131 chrome/test/base/ui_test_utils.h bool GetRelativeBuildDirectory(base::FilePath* build_dir); base 141 chrome/test/base/ui_test_utils.h const base::string16& search_string, base 281 chrome/test/base/ui_test_utils.h bool SaveScreenSnapshotToDirectory(const base::FilePath& directory, base 282 chrome/test/base/ui_test_utils.h base::FilePath* screenshot_path); base 286 chrome/test/base/ui_test_utils.h bool SaveScreenSnapshotToDesktop(base::FilePath* screenshot_path); base 303 chrome/test/base/ui_test_utils.h const base::Closure& quit_task, base 17 chrome/test/base/uma_histogram_helper.cc base::Closure callback = base::Bind(&UMAHistogramHelper::FetchCallback, base 18 chrome/test/base/uma_histogram_helper.cc base::Unretained(this)); base 21 chrome/test/base/uma_histogram_helper.cc base::MessageLoop::current(), base 33 chrome/test/base/uma_histogram_helper.cc base::HistogramBase::Sample sample, base 34 chrome/test/base/uma_histogram_helper.cc base::HistogramBase::Count expected_count) { base 35 chrome/test/base/uma_histogram_helper.cc base::HistogramBase* histogram = base 36 chrome/test/base/uma_histogram_helper.cc base::StatisticsRecorder::FindHistogram(name); base 37 chrome/test/base/uma_histogram_helper.cc EXPECT_NE(static_cast<base::HistogramBase*>(NULL), histogram) base 41 chrome/test/base/uma_histogram_helper.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); base 49 chrome/test/base/uma_histogram_helper.cc base::HistogramBase::Count count) { base 50 chrome/test/base/uma_histogram_helper.cc base::HistogramBase* histogram = base 51 chrome/test/base/uma_histogram_helper.cc base::StatisticsRecorder::FindHistogram(name); base 53 chrome/test/base/uma_histogram_helper.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); base 62 chrome/test/base/uma_histogram_helper.cc base::MessageLoopForUI::current()->Quit(); base 67 chrome/test/base/uma_histogram_helper.cc base::HistogramBase::Sample sample, base 68 chrome/test/base/uma_histogram_helper.cc base::HistogramBase::Count expected_count, base 69 chrome/test/base/uma_histogram_helper.cc base::HistogramSamples& samples) { base 78 chrome/test/base/uma_histogram_helper.cc base::HistogramBase::Count expected_count, base 79 chrome/test/base/uma_histogram_helper.cc base::HistogramSamples& samples) { base 26 chrome/test/base/uma_histogram_helper.h base::HistogramBase::Sample sample, base 27 chrome/test/base/uma_histogram_helper.h base::HistogramBase::Count expected_count); base 31 chrome/test/base/uma_histogram_helper.h base::HistogramBase::Count count); base 37 chrome/test/base/uma_histogram_helper.h base::HistogramBase::Sample sample, base 38 chrome/test/base/uma_histogram_helper.h base::Histogram::Count expected_count, base 39 chrome/test/base/uma_histogram_helper.h base::HistogramSamples& samples); base 42 chrome/test/base/uma_histogram_helper.h base::Histogram::Count expected_count, base 43 chrome/test/base/uma_histogram_helper.h base::HistogramSamples& samples); base 41 chrome/test/base/v8_unit_test.cc base::FilePath test_data_directory; base 44 chrome/test/base/v8_unit_test.cc base::FilePath gen_test_data_directory; base 56 chrome/test/base/v8_unit_test.cc void V8UnitTest::AddLibrary(const base::FilePath& library_path) { base 62 chrome/test/base/v8_unit_test.cc for (std::vector<base::FilePath>::iterator user_libraries_iterator = base 67 chrome/test/base/v8_unit_test.cc base::FilePath library_file(*user_libraries_iterator); base 69 chrome/test/base/v8_unit_test.cc base::FilePath gen_file = gen_test_data_directory.Append(library_file); base 70 chrome/test/base/v8_unit_test.cc library_file = base::PathExists(gen_file) ? gen_file : base 73 chrome/test/base/v8_unit_test.cc library_file = base::MakeAbsoluteFilePath(library_file); base 74 chrome/test/base/v8_unit_test.cc if (!base::ReadFileToString(library_file, &library_content)) { base 143 chrome/test/base/v8_unit_test.cc base::FilePath mockPath; base 144 chrome/test/base/v8_unit_test.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &mockPath)); base 151 chrome/test/base/v8_unit_test.cc base::FilePath accessibilityAuditPath; base 152 chrome/test/base/v8_unit_test.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &accessibilityAuditPath)); base 159 chrome/test/base/v8_unit_test.cc base::FilePath testApiPath; base 205 chrome/test/base/v8_unit_test.cc void V8UnitTest::ExecuteScriptInContext(const base::StringPiece& script_source, base 206 chrome/test/base/v8_unit_test.cc const base::StringPiece& script_name) { base 240 chrome/test/base/v8_unit_test.cc str.append(base::StringPrintf("%s\n", *exception)); base 245 chrome/test/base/v8_unit_test.cc str.append(base::StringPrintf( base 248 chrome/test/base/v8_unit_test.cc str.append(base::StringPrintf("%s\n", *sourceline)); base 30 chrome/test/base/v8_unit_test.h void AddLibrary(const base::FilePath& library_path); base 38 chrome/test/base/v8_unit_test.h virtual void ExecuteScriptInContext(const base::StringPiece& script_source, base 39 chrome/test/base/v8_unit_test.h const base::StringPiece& script_name); base 86 chrome/test/base/v8_unit_test.h std::vector<base::FilePath> user_libraries_; base 89 chrome/test/base/view_event_test_base.cc base::MessageLoop::current()->Quit(); base 96 chrome/test/base/view_event_test_base.cc base::MessageLoop::QuitClosure()); base 148 chrome/test/base/view_event_test_base.cc new aura::test::AuraTestHelper(base::MessageLoopForUI::current())); base 231 chrome/test/base/view_event_test_base.cc base::MessageLoop::current()->PostTask( base 232 chrome/test/base/view_event_test_base.cc FROM_HERE, base::Bind(&ViewEventTestBase::DoTestOnMessageLoop, this)); base 243 chrome/test/base/view_event_test_base.cc dnd_thread_.reset(new base::Thread("mouse-move-thread")); base 248 chrome/test/base/view_event_test_base.cc base::Bind(base::IgnoreResult(&ui_controls::SendMouseMove), x, y), base 249 chrome/test/base/view_event_test_base.cc base::TimeDelta::FromMilliseconds(kMouseMoveDelayMS)); base 256 chrome/test/base/view_event_test_base.cc void ViewEventTestBase::RunTestMethod(const base::Closure& task) { base 127 chrome/test/base/view_event_test_base.h base::Closure CreateEventTask(T* target, Method method) { base 128 chrome/test/base/view_event_test_base.h return base::Bind(&ViewEventTestBase::RunTestMethod, this, base 129 chrome/test/base/view_event_test_base.h base::Bind(method, target)); base 143 chrome/test/base/view_event_test_base.h void RunTestMethod(const base::Closure& task); base 149 chrome/test/base/view_event_test_base.h scoped_ptr<base::Thread> dnd_thread_; base 59 chrome/test/base/web_ui_browsertest.cc const base::FilePath::CharType kA11yAuditLibraryJSPath[] = FILE_PATH_LITERAL( base 61 chrome/test/base/web_ui_browsertest.cc const base::FilePath::CharType kMockJSPath[] = base 63 chrome/test/base/web_ui_browsertest.cc const base::FilePath::CharType kWebUILibraryJS[] = base 65 chrome/test/base/web_ui_browsertest.cc const base::FilePath::CharType kWebUITestFolder[] = FILE_PATH_LITERAL("webui"); base 66 chrome/test/base/web_ui_browsertest.cc base::LazyInstance<std::vector<std::string> > error_messages_ = base 110 chrome/test/base/web_ui_browsertest.cc void WebUIBrowserTest::AddLibrary(const base::FilePath& library_path) { base 118 chrome/test/base/web_ui_browsertest.cc const base::FilePath& path) { base 119 chrome/test/base/web_ui_browsertest.cc base::FilePath filePath; base 120 chrome/test/base/web_ui_browsertest.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &filePath)); base 131 chrome/test/base/web_ui_browsertest.cc base::Value* arg) { base 138 chrome/test/base/web_ui_browsertest.cc base::Value* arg1, base 139 chrome/test/base/web_ui_browsertest.cc base::Value* arg2) { base 157 chrome/test/base/web_ui_browsertest.cc args.push_back(new base::StringValue(test_fixture)); base 158 chrome/test/base/web_ui_browsertest.cc args.push_back(new base::StringValue(test_name)); base 172 chrome/test/base/web_ui_browsertest.cc base::Value* arg) { base 179 chrome/test/base/web_ui_browsertest.cc base::Value* arg1, base 180 chrome/test/base/web_ui_browsertest.cc base::Value* arg2) { base 200 chrome/test/base/web_ui_browsertest.cc base::Value* arg) { base 207 chrome/test/base/web_ui_browsertest.cc base::Value* arg1, base 208 chrome/test/base/web_ui_browsertest.cc base::Value* arg2) { base 216 chrome/test/base/web_ui_browsertest.cc base::Value* arg1, base 217 chrome/test/base/web_ui_browsertest.cc base::Value* arg2, base 218 chrome/test/base/web_ui_browsertest.cc base::Value* arg3) { base 238 chrome/test/base/web_ui_browsertest.cc args.push_back(new base::StringValue(preload_test_fixture)); base 239 chrome/test/base/web_ui_browsertest.cc args.push_back(new base::StringValue(preload_test_name)); base 366 chrome/test/base/web_ui_browsertest.cc scoped_refptr<base::RefCountedString> response = base 367 chrome/test/base/web_ui_browsertest.cc base::RefCountedString::TakeString(&dummy_html); base 398 chrome/test/base/web_ui_browsertest.cc base::LazyInstance<MockWebUIProvider> mock_provider_ = base 422 chrome/test/base/web_ui_browsertest.cc base::FilePath resources_pack_path; base 427 chrome/test/base/web_ui_browsertest.cc AddLibraryFromSourceRoot(this, base::FilePath(kA11yAuditLibraryJSPath)); base 428 chrome/test/base/web_ui_browsertest.cc AddLibraryFromSourceRoot(this, base::FilePath(kMockJSPath)); base 429 chrome/test/base/web_ui_browsertest.cc AddLibrary(base::FilePath(kWebUILibraryJS)); base 456 chrome/test/base/web_ui_browsertest.cc const base::FilePath::StringType& path) { base 457 chrome/test/base/web_ui_browsertest.cc base::FilePath dir_test_data; base 459 chrome/test/base/web_ui_browsertest.cc base::FilePath test_path(dir_test_data.Append(kWebUITestFolder).Append(path)); base 460 chrome/test/base/web_ui_browsertest.cc EXPECT_TRUE(base::PathExists(test_path)); base 464 chrome/test/base/web_ui_browsertest.cc void WebUIBrowserTest::BuildJavascriptLibraries(base::string16* content) { base 467 chrome/test/base/web_ui_browsertest.cc std::vector<base::FilePath>::iterator user_libraries_iterator; base 473 chrome/test/base/web_ui_browsertest.cc ASSERT_TRUE(base::ReadFileToString(*user_libraries_iterator, base 477 chrome/test/base/web_ui_browsertest.cc bool ok = base::ReadFileToString( base 481 chrome/test/base/web_ui_browsertest.cc ok = base::ReadFileToString( base 490 chrome/test/base/web_ui_browsertest.cc content->append(base::UTF8ToUTF16(utf8_content)); base 493 chrome/test/base/web_ui_browsertest.cc base::string16 WebUIBrowserTest::BuildRunTestJSCall( base 498 chrome/test/base/web_ui_browsertest.cc base::FundamentalValue* is_async_arg = new base::FundamentalValue(is_async); base 500 chrome/test/base/web_ui_browsertest.cc base::StringValue* function_name_arg = new base::StringValue(function_name); base 502 chrome/test/base/web_ui_browsertest.cc base::ListValue* baked_argument_list = new base::ListValue(); base 521 chrome/test/base/web_ui_browsertest.cc base::string16 content; base 526 chrome/test/base/web_ui_browsertest.cc base::string16 called_function; base 609 chrome/test/base/web_ui_browsertest.cc AddLibrary(base::FilePath(FILE_PATH_LITERAL("sample_downloads.js"))); base 617 chrome/test/base/web_ui_browsertest.cc AddLibrary(base::FilePath(FILE_PATH_LITERAL("runtime_error.js"))); base 626 chrome/test/base/web_ui_browsertest.cc AddLibrary(base::FilePath(FILE_PATH_LITERAL("sample_downloads.js"))); base 643 chrome/test/base/web_ui_browsertest.cc RunJavascriptFunction("runAsync", new base::StringValue("testFailsAssert")); base 648 chrome/test/base/web_ui_browsertest.cc RunJavascriptFunction("runAsync", new base::StringValue("testPasses")); base 659 chrome/test/base/web_ui_browsertest.cc MOCK_METHOD1(HandleTestContinues, void(const base::ListValue*)); base 660 chrome/test/base/web_ui_browsertest.cc MOCK_METHOD1(HandleTestFails, void(const base::ListValue*)); base 661 chrome/test/base/web_ui_browsertest.cc MOCK_METHOD1(HandleTestPasses, void(const base::ListValue*)); base 666 chrome/test/base/web_ui_browsertest.cc base::Bind(&AsyncWebUIMessageHandler::HandleStartAsyncTest, base 667 chrome/test/base/web_ui_browsertest.cc base::Unretained(this))); base 669 chrome/test/base/web_ui_browsertest.cc base::Bind(&AsyncWebUIMessageHandler::HandleTestContinues, base 670 chrome/test/base/web_ui_browsertest.cc base::Unretained(this))); base 672 chrome/test/base/web_ui_browsertest.cc base::Bind(&AsyncWebUIMessageHandler::HandleTestFails, base 673 chrome/test/base/web_ui_browsertest.cc base::Unretained(this))); base 675 chrome/test/base/web_ui_browsertest.cc base::Bind(&AsyncWebUIMessageHandler::HandleTestPasses, base 676 chrome/test/base/web_ui_browsertest.cc base::Unretained(this))); base 680 chrome/test/base/web_ui_browsertest.cc void HandleStartAsyncTest(const base::ListValue* list_value) { base 681 chrome/test/base/web_ui_browsertest.cc const base::Value* test_name; base 701 chrome/test/base/web_ui_browsertest.cc AddLibrary(base::FilePath(FILE_PATH_LITERAL("async.js"))); base 719 chrome/test/base/web_ui_browsertest.cc "startAsyncTest", new base::StringValue("testFailsAssert"))); base 728 chrome/test/base/web_ui_browsertest.cc "startAsyncTest", new base::StringValue("testFailsExpect"))); base 745 chrome/test/base/web_ui_browsertest.cc "startAsyncTest", new base::StringValue("testPasses"))); base 760 chrome/test/base/web_ui_browsertest.cc "startAsyncTest", new base::StringValue("testPasses"))); base 772 chrome/test/base/web_ui_browsertest.cc "startAsyncTest", new base::StringValue("testPasses"))); base 784 chrome/test/base/web_ui_browsertest.cc "runAsync", new base::StringValue("testAsyncDoneFailFirstSyncPass"))); base 16 chrome/test/base/web_ui_browsertest.h namespace base { base 45 chrome/test/base/web_ui_browsertest.h typedef ScopedVector<const base::Value> ConstValueVector; base 51 chrome/test/base/web_ui_browsertest.h void AddLibrary(const base::FilePath& library_path); base 58 chrome/test/base/web_ui_browsertest.h base::Value* arg); base 60 chrome/test/base/web_ui_browsertest.h base::Value* arg1, base 61 chrome/test/base/web_ui_browsertest.h base::Value* arg2); base 74 chrome/test/base/web_ui_browsertest.h base::Value* arg); base 76 chrome/test/base/web_ui_browsertest.h base::Value* arg1, base 77 chrome/test/base/web_ui_browsertest.h base::Value* arg2); base 85 chrome/test/base/web_ui_browsertest.h base::Value* arg); base 87 chrome/test/base/web_ui_browsertest.h base::Value* arg1, base 88 chrome/test/base/web_ui_browsertest.h base::Value* arg2); base 90 chrome/test/base/web_ui_browsertest.h base::Value* arg1, base 91 chrome/test/base/web_ui_browsertest.h base::Value* arg2, base 92 chrome/test/base/web_ui_browsertest.h base::Value* arg3); base 137 chrome/test/base/web_ui_browsertest.h static GURL WebUITestDataPathToURL(const base::FilePath::StringType& path); base 141 chrome/test/base/web_ui_browsertest.h void BuildJavascriptLibraries(base::string16* content); base 145 chrome/test/base/web_ui_browsertest.h base::string16 BuildRunTestJSCall( base 170 chrome/test/base/web_ui_browsertest.h base::FilePath test_data_directory_; base 173 chrome/test/base/web_ui_browsertest.h base::FilePath gen_test_data_directory_; base 176 chrome/test/base/web_ui_browsertest.h std::vector<base::FilePath> user_libraries_; base 19 chrome/test/chromedriver/alert_commands.cc const base::DictionaryValue& params, base 20 chrome/test/chromedriver/alert_commands.cc scoped_ptr<base::Value>* value) { base 45 chrome/test/chromedriver/alert_commands.cc const base::DictionaryValue& params, base 46 chrome/test/chromedriver/alert_commands.cc scoped_ptr<base::Value>* value) { base 47 chrome/test/chromedriver/alert_commands.cc value->reset(base::Value::CreateBooleanValue( base 55 chrome/test/chromedriver/alert_commands.cc const base::DictionaryValue& params, base 56 chrome/test/chromedriver/alert_commands.cc scoped_ptr<base::Value>* value) { base 62 chrome/test/chromedriver/alert_commands.cc value->reset(base::Value::CreateStringValue(message)); base 69 chrome/test/chromedriver/alert_commands.cc const base::DictionaryValue& params, base 70 chrome/test/chromedriver/alert_commands.cc scoped_ptr<base::Value>* value) { base 85 chrome/test/chromedriver/alert_commands.cc const base::DictionaryValue& params, base 86 chrome/test/chromedriver/alert_commands.cc scoped_ptr<base::Value>* value) { base 96 chrome/test/chromedriver/alert_commands.cc const base::DictionaryValue& params, base 97 chrome/test/chromedriver/alert_commands.cc scoped_ptr<base::Value>* value) { base 11 chrome/test/chromedriver/alert_commands.h namespace base { base 20 chrome/test/chromedriver/alert_commands.h typedef base::Callback<Status( base 23 chrome/test/chromedriver/alert_commands.h const base::DictionaryValue&, base 24 chrome/test/chromedriver/alert_commands.h scoped_ptr<base::Value>*)> AlertCommand; base 30 chrome/test/chromedriver/alert_commands.h const base::DictionaryValue& params, base 31 chrome/test/chromedriver/alert_commands.h scoped_ptr<base::Value>* value); base 37 chrome/test/chromedriver/alert_commands.h const base::DictionaryValue& params, base 38 chrome/test/chromedriver/alert_commands.h scoped_ptr<base::Value>* value); base 44 chrome/test/chromedriver/alert_commands.h const base::DictionaryValue& params, base 45 chrome/test/chromedriver/alert_commands.h scoped_ptr<base::Value>* value); base 51 chrome/test/chromedriver/alert_commands.h const base::DictionaryValue& params, base 52 chrome/test/chromedriver/alert_commands.h scoped_ptr<base::Value>* value); base 58 chrome/test/chromedriver/alert_commands.h const base::DictionaryValue& params, base 59 chrome/test/chromedriver/alert_commands.h scoped_ptr<base::Value>* value); base 65 chrome/test/chromedriver/alert_commands.h const base::DictionaryValue& params, base 66 chrome/test/chromedriver/alert_commands.h scoped_ptr<base::Value>* value); base 26 chrome/test/chromedriver/capabilities.cc typedef base::Callback<Status(const base::Value&, Capabilities*)> Parser; base 30 chrome/test/chromedriver/capabilities.cc const base::Value& option, base 38 chrome/test/chromedriver/capabilities.cc const base::Value& option, base 49 chrome/test/chromedriver/capabilities.cc Status ParseFilePath(base::FilePath* to_set, base 50 chrome/test/chromedriver/capabilities.cc const base::Value& option, base 52 chrome/test/chromedriver/capabilities.cc base::FilePath::StringType str; base 55 chrome/test/chromedriver/capabilities.cc *to_set = base::FilePath(str); base 59 chrome/test/chromedriver/capabilities.cc Status ParseDict(scoped_ptr<base::DictionaryValue>* to_set, base 60 chrome/test/chromedriver/capabilities.cc const base::Value& option, base 62 chrome/test/chromedriver/capabilities.cc const base::DictionaryValue* dict = NULL; base 71 chrome/test/chromedriver/capabilities.cc const base::Value& option, base 77 chrome/test/chromedriver/capabilities.cc Status IgnoreCapability(const base::Value& option, Capabilities* capabilities) { base 81 chrome/test/chromedriver/capabilities.cc Status ParseLogPath(const base::Value& option, Capabilities* capabilities) { base 87 chrome/test/chromedriver/capabilities.cc Status ParseSwitches(const base::Value& option, base 89 chrome/test/chromedriver/capabilities.cc const base::ListValue* switches_list = NULL; base 101 chrome/test/chromedriver/capabilities.cc Status ParseExtensions(const base::Value& option, Capabilities* capabilities) { base 102 chrome/test/chromedriver/capabilities.cc const base::ListValue* extensions = NULL; base 116 chrome/test/chromedriver/capabilities.cc Status ParseProxy(const base::Value& option, Capabilities* capabilities) { base 117 chrome/test/chromedriver/capabilities.cc const base::DictionaryValue* proxy_dict; base 138 chrome/test/chromedriver/capabilities.cc const base::Value* option_value = NULL; base 142 chrome/test/chromedriver/capabilities.cc option_value->IsType(base::Value::TYPE_NULL)) { base 149 chrome/test/chromedriver/capabilities.cc base::StringPrintf("'%s' must be a string", base 156 chrome/test/chromedriver/capabilities.cc proxy_servers += base::StringPrintf( base 162 chrome/test/chromedriver/capabilities.cc !option_value->IsType(base::Value::TYPE_NULL)) { base 184 chrome/test/chromedriver/capabilities.cc Status ParseExcludeSwitches(const base::Value& option, base 186 chrome/test/chromedriver/capabilities.cc const base::ListValue* switches = NULL; base 200 chrome/test/chromedriver/capabilities.cc Status ParseUseExistingBrowser(const base::Value& option, base 207 chrome/test/chromedriver/capabilities.cc base::SplitString(server_addr, ':', &values); base 212 chrome/test/chromedriver/capabilities.cc base::StringToInt(values[1], &port); base 220 chrome/test/chromedriver/capabilities.cc Status ParseLoggingPrefs(const base::Value& option, base 222 chrome/test/chromedriver/capabilities.cc const base::DictionaryValue* logging_prefs = NULL; base 226 chrome/test/chromedriver/capabilities.cc for (base::DictionaryValue::Iterator pref(*logging_prefs); base 241 chrome/test/chromedriver/capabilities.cc const base::Value& capability, base 243 chrome/test/chromedriver/capabilities.cc const base::DictionaryValue* chrome_options = NULL; base 253 chrome/test/chromedriver/capabilities.cc parser_map["args"] = base::Bind(&IgnoreCapability); base 254 chrome/test/chromedriver/capabilities.cc parser_map["binary"] = base::Bind(&IgnoreCapability); base 255 chrome/test/chromedriver/capabilities.cc parser_map["extensions"] = base::Bind(&IgnoreCapability); base 258 chrome/test/chromedriver/capabilities.cc base::Bind(&ParseString, &capabilities->android_activity); base 260 chrome/test/chromedriver/capabilities.cc base::Bind(&ParseString, &capabilities->android_device_serial); base 262 chrome/test/chromedriver/capabilities.cc base::Bind(&ParseString, &capabilities->android_package); base 264 chrome/test/chromedriver/capabilities.cc base::Bind(&ParseString, &capabilities->android_process); base 266 chrome/test/chromedriver/capabilities.cc base::Bind(&ParseBoolean, &capabilities->android_use_running_app); base 267 chrome/test/chromedriver/capabilities.cc parser_map["args"] = base::Bind(&ParseSwitches); base 268 chrome/test/chromedriver/capabilities.cc parser_map["loadAsync"] = base::Bind(&IgnoreDeprecatedOption, "loadAsync"); base 270 chrome/test/chromedriver/capabilities.cc parser_map["debuggerAddress"] = base::Bind(&ParseUseExistingBrowser); base 272 chrome/test/chromedriver/capabilities.cc parser_map["args"] = base::Bind(&ParseSwitches); base 273 chrome/test/chromedriver/capabilities.cc parser_map["binary"] = base::Bind(&ParseFilePath, &capabilities->binary); base 274 chrome/test/chromedriver/capabilities.cc parser_map["detach"] = base::Bind(&ParseBoolean, &capabilities->detach); base 275 chrome/test/chromedriver/capabilities.cc parser_map["excludeSwitches"] = base::Bind(&ParseExcludeSwitches); base 276 chrome/test/chromedriver/capabilities.cc parser_map["extensions"] = base::Bind(&ParseExtensions); base 277 chrome/test/chromedriver/capabilities.cc parser_map["forceDevToolsScreenshot"] = base::Bind( base 279 chrome/test/chromedriver/capabilities.cc parser_map["loadAsync"] = base::Bind(&IgnoreDeprecatedOption, "loadAsync"); base 281 chrome/test/chromedriver/capabilities.cc base::Bind(&ParseDict, &capabilities->local_state); base 282 chrome/test/chromedriver/capabilities.cc parser_map["logPath"] = base::Bind(&ParseLogPath); base 284 chrome/test/chromedriver/capabilities.cc base::Bind(&ParseString, &capabilities->minidump_path); base 285 chrome/test/chromedriver/capabilities.cc parser_map["prefs"] = base::Bind(&ParseDict, &capabilities->prefs); base 288 chrome/test/chromedriver/capabilities.cc for (base::DictionaryValue::Iterator it(*chrome_options); !it.IsAtEnd(); base 313 chrome/test/chromedriver/capabilities.cc SetSwitch(name, base::UTF8ToUTF16(value)); base 319 chrome/test/chromedriver/capabilities.cc void Switches::SetSwitch(const std::string& name, const base::string16& value) { base 323 chrome/test/chromedriver/capabilities.cc SetSwitch(name, base::UTF16ToUTF8(value)); base 327 chrome/test/chromedriver/capabilities.cc void Switches::SetSwitch(const std::string& name, const base::FilePath& value) { base 365 chrome/test/chromedriver/capabilities.cc return base::UTF16ToUTF8(value); base 399 chrome/test/chromedriver/capabilities.cc value = base::GetQuotedJSONString(value); base 425 chrome/test/chromedriver/capabilities.cc Status Capabilities::Parse(const base::DictionaryValue& desired_caps) { base 427 chrome/test/chromedriver/capabilities.cc parser_map["chromeOptions"] = base::Bind(&ParseChromeOptions); base 428 chrome/test/chromedriver/capabilities.cc parser_map["loggingPrefs"] = base::Bind(&ParseLoggingPrefs); base 429 chrome/test/chromedriver/capabilities.cc parser_map["proxy"] = base::Bind(&ParseProxy); base 432 chrome/test/chromedriver/capabilities.cc const base::Value* capability = NULL; base 20 chrome/test/chromedriver/capabilities.h namespace base { base 29 chrome/test/chromedriver/capabilities.h typedef base::FilePath::StringType NativeString; base 35 chrome/test/chromedriver/capabilities.h void SetSwitch(const std::string& name, const base::string16& value); base 36 chrome/test/chromedriver/capabilities.h void SetSwitch(const std::string& name, const base::FilePath& value); base 52 chrome/test/chromedriver/capabilities.h void AppendToCommandLine(base::CommandLine* command) const; base 72 chrome/test/chromedriver/capabilities.h Status Parse(const base::DictionaryValue& desired_caps); base 84 chrome/test/chromedriver/capabilities.h base::FilePath binary; base 104 chrome/test/chromedriver/capabilities.h scoped_ptr<base::DictionaryValue> local_state; base 113 chrome/test/chromedriver/capabilities.h scoped_ptr<base::DictionaryValue> prefs; base 102 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 112 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 120 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 128 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 137 chrome/test/chromedriver/capabilities_unittest.cc base::ListValue args; base 140 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 155 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue prefs; base 158 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 167 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue local_state; base 170 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 179 chrome/test/chromedriver/capabilities_unittest.cc base::ListValue extensions; base 182 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 193 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 195 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 203 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 205 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 213 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 215 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 225 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 227 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 236 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 239 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 249 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 252 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 260 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 262 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 272 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 278 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 293 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 295 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 303 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue proxy; base 306 chrome/test/chromedriver/capabilities_unittest.cc proxy.Set("sslProxy", base::Value::CreateNullValue()); base 307 chrome/test/chromedriver/capabilities_unittest.cc proxy.Set("noProxy", base::Value::CreateNullValue()); base 308 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 321 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue logging_prefs; base 323 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 333 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 341 chrome/test/chromedriver/capabilities_unittest.cc base::ListValue exclude_switches; base 344 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 356 chrome/test/chromedriver/capabilities_unittest.cc base::DictionaryValue caps; base 27 chrome/test/chromedriver/chrome/adb_impl.cc class ResponseBuffer : public base::RefCountedThreadSafe<ResponseBuffer> { base 38 chrome/test/chromedriver/chrome/adb_impl.cc std::string* response, const base::TimeDelta& timeout) { base 39 chrome/test/chromedriver/chrome/adb_impl.cc base::TimeTicks deadline = base::TimeTicks::Now() + timeout; base 41 chrome/test/chromedriver/chrome/adb_impl.cc base::TimeDelta delta = deadline - base::TimeTicks::Now(); base 42 chrome/test/chromedriver/chrome/adb_impl.cc if (delta <= base::TimeDelta()) base 43 chrome/test/chromedriver/chrome/adb_impl.cc return Status(kTimeout, base::StringPrintf( base 61 chrome/test/chromedriver/chrome/adb_impl.cc base::WaitableEvent ready_; base 67 chrome/test/chromedriver/chrome/adb_impl.cc CHECK(base::MessageLoopForIO::IsCurrent()); base 69 chrome/test/chromedriver/chrome/adb_impl.cc base::Bind(&ResponseBuffer::OnResponse, response_buffer)); base 75 chrome/test/chromedriver/chrome/adb_impl.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, base 88 chrome/test/chromedriver/chrome/adb_impl.cc base::StringTokenizer lines(response, "\n"); base 91 chrome/test/chromedriver/chrome/adb_impl.cc base::SplitStringAlongWhitespace(lines.token(), &fields); base 105 chrome/test/chromedriver/chrome/adb_impl.cc "forward:tcp:" + base::IntToString(local_port) + ";localabstract:" + base 122 chrome/test/chromedriver/chrome/adb_impl.cc base::GetQuotedJSONString(exec_name + " " + args); base 125 chrome/test/chromedriver/chrome/adb_impl.cc base::StringPrintf("echo %s > %s; echo $?", base 203 chrome/test/chromedriver/chrome/adb_impl.cc base::SplitString(response, '\n', &lines); base 209 chrome/test/chromedriver/chrome/adb_impl.cc base::SplitStringAlongWhitespace(line, &tokens); base 213 chrome/test/chromedriver/chrome/adb_impl.cc if (base::StringToInt(tokens[1], pid)) { base 231 chrome/test/chromedriver/chrome/adb_impl.cc base::Bind(&ExecuteCommandOnIOThread, command, response_buffer, port_)); base 233 chrome/test/chromedriver/chrome/adb_impl.cc response, base::TimeDelta::FromSeconds(30)); base 15 chrome/test/chromedriver/chrome/adb_impl.h namespace base { base 24 chrome/test/chromedriver/chrome/adb_impl.h const scoped_refptr<base::SingleThreadTaskRunner>& io_message_loop_proxy, base 62 chrome/test/chromedriver/chrome/adb_impl.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 18 chrome/test/chromedriver/chrome/automation_extension.cc base::ListValue args; base 19 chrome/test/chromedriver/chrome/automation_extension.cc scoped_ptr<base::Value> result; base 24 chrome/test/chromedriver/chrome/automation_extension.cc base::TimeDelta::FromSeconds(10), base 39 chrome/test/chromedriver/chrome/automation_extension.cc base::DictionaryValue update_info; base 52 chrome/test/chromedriver/chrome/automation_extension.cc base::DictionaryValue update_info; base 60 chrome/test/chromedriver/chrome/automation_extension.cc base::DictionaryValue update_info; base 69 chrome/test/chromedriver/chrome/automation_extension.cc base::ListValue args; base 70 chrome/test/chromedriver/chrome/automation_extension.cc scoped_ptr<base::Value> result; base 74 chrome/test/chromedriver/chrome/automation_extension.cc base::TimeDelta::FromSeconds(10), base 80 chrome/test/chromedriver/chrome/automation_extension.cc base::DictionaryValue* dict; base 96 chrome/test/chromedriver/chrome/automation_extension.cc const base::DictionaryValue& update_info) { base 97 chrome/test/chromedriver/chrome/automation_extension.cc base::ListValue args; base 99 chrome/test/chromedriver/chrome/automation_extension.cc scoped_ptr<base::Value> result; base 103 chrome/test/chromedriver/chrome/automation_extension.cc base::TimeDelta::FromSeconds(10), base 108 chrome/test/chromedriver/chrome/automation_extension.cc base::ListValue args; base 110 chrome/test/chromedriver/chrome/automation_extension.cc scoped_ptr<base::Value> result; base 114 chrome/test/chromedriver/chrome/automation_extension.cc base::TimeDelta::FromSeconds(10), base 13 chrome/test/chromedriver/chrome/automation_extension.h namespace base { base 50 chrome/test/chromedriver/chrome/automation_extension.h Status UpdateWindow(const base::DictionaryValue& update_info); base 30 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc bool KillProcess(base::ProcessHandle process_id) { base 33 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::TimeTicks deadline = base 34 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::TimeTicks::Now() + base::TimeDelta::FromSeconds(30); base 35 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc while (base::TimeTicks::Now() < deadline) { base 47 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50)); base 53 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc if (!base::KillProcess(process_id, 0, true)) { base 55 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc return base::GetTerminationStatus(process_id, &exit_code) != base 56 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::TERMINATION_STATUS_STILL_RUNNING; base 68 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::ProcessHandle process, base 70 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::ScopedTempDir* user_data_dir, base 71 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::ScopedTempDir* extension_dir) base 85 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::FilePath user_data_dir = user_data_dir_.Take(); base 86 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::FilePath extension_dir = extension_dir_.Take(); base 90 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::CloseProcessHandle(process_); base 94 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc const base::TimeDelta& timeout, base 96 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::TimeTicks deadline = base::TimeTicks::Now() + timeout; base 98 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc while (base::TimeTicks::Now() < deadline) { base 112 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 124 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc std::string(), deadline - base::TimeTicks::Now(), false); base 137 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::TimeDelta::FromSeconds(10), base 153 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc return base::SysInfo::OperatingSystemName(); base 17 chrome/test/chromedriver/chrome/chrome_desktop_impl.h namespace base { base 32 chrome/test/chromedriver/chrome/chrome_desktop_impl.h base::ProcessHandle process, base 33 chrome/test/chromedriver/chrome/chrome_desktop_impl.h const base::CommandLine& command, base 34 chrome/test/chromedriver/chrome/chrome_desktop_impl.h base::ScopedTempDir* user_data_dir, base 35 chrome/test/chromedriver/chrome/chrome_desktop_impl.h base::ScopedTempDir* extension_dir); base 41 chrome/test/chromedriver/chrome/chrome_desktop_impl.h const base::TimeDelta& timeout, base 54 chrome/test/chromedriver/chrome/chrome_desktop_impl.h const base::CommandLine& command() const; base 57 chrome/test/chromedriver/chrome/chrome_desktop_impl.h base::ProcessHandle process_; base 58 chrome/test/chromedriver/chrome/chrome_desktop_impl.h base::CommandLine command_; base 59 chrome/test/chromedriver/chrome/chrome_desktop_impl.h base::ScopedTempDir user_data_dir_; base 60 chrome/test/chromedriver/chrome/chrome_desktop_impl.h base::ScopedTempDir extension_dir_; base 26 chrome/test/chromedriver/chrome/chrome_finder.cc void GetApplicationDirs(std::vector<base::FilePath>* locations) { base 27 chrome/test/chromedriver/chrome/chrome_finder.cc std::vector<base::FilePath> installation_locations; base 28 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath local_app_data, program_files, program_files_x86; base 29 chrome/test/chromedriver/chrome/chrome_finder.cc if (PathService::Get(base::DIR_LOCAL_APP_DATA, &local_app_data)) base 31 chrome/test/chromedriver/chrome/chrome_finder.cc if (PathService::Get(base::DIR_PROGRAM_FILES, &program_files)) base 33 chrome/test/chromedriver/chrome/chrome_finder.cc if (PathService::Get(base::DIR_PROGRAM_FILESX86, &program_files_x86)) base 46 chrome/test/chromedriver/chrome/chrome_finder.cc void GetApplicationDirs(std::vector<base::FilePath>* locations) { base 47 chrome/test/chromedriver/chrome/chrome_finder.cc locations->push_back(base::FilePath("/opt/google/chrome")); base 48 chrome/test/chromedriver/chrome/chrome_finder.cc locations->push_back(base::FilePath("/usr/local/bin")); base 49 chrome/test/chromedriver/chrome/chrome_finder.cc locations->push_back(base::FilePath("/usr/local/sbin")); base 50 chrome/test/chromedriver/chrome/chrome_finder.cc locations->push_back(base::FilePath("/usr/bin")); base 51 chrome/test/chromedriver/chrome/chrome_finder.cc locations->push_back(base::FilePath("/usr/sbin")); base 52 chrome/test/chromedriver/chrome/chrome_finder.cc locations->push_back(base::FilePath("/bin")); base 53 chrome/test/chromedriver/chrome/chrome_finder.cc locations->push_back(base::FilePath("/sbin")); base 62 chrome/test/chromedriver/chrome/chrome_finder.cc const base::Callback<bool(const base::FilePath&)>& exists_func, base 63 chrome/test/chromedriver/chrome/chrome_finder.cc const std::vector<base::FilePath>& rel_paths, base 64 chrome/test/chromedriver/chrome/chrome_finder.cc const std::vector<base::FilePath>& locations, base 65 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath* out_path) { base 68 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath path = locations[j].Append(rel_paths[i]); base 81 chrome/test/chromedriver/chrome/chrome_finder.cc void GetApplicationDirs(std::vector<base::FilePath>* locations); base 84 chrome/test/chromedriver/chrome/chrome_finder.cc bool FindChrome(base::FilePath* browser_exe) { base 86 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath browser_exes_array[] = { base 87 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath(L"chrome.exe") base 90 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath browser_exes_array[] = { base 91 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath("Google Chrome.app/Contents/MacOS/Google Chrome"), base 92 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath("Chromium.app/Contents/MacOS/Chromium") base 95 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath browser_exes_array[] = { base 96 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath("google-chrome"), base 97 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath("chrome"), base 98 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath("chromium"), base 99 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath("chromium-browser") base 102 chrome/test/chromedriver/chrome/chrome_finder.cc std::vector<base::FilePath> browser_exes( base 104 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath module_dir; base 105 chrome/test/chromedriver/chrome/chrome_finder.cc if (PathService::Get(base::DIR_MODULE, &module_dir)) { base 107 chrome/test/chromedriver/chrome/chrome_finder.cc base::FilePath path = module_dir.Append(browser_exes[i]); base 108 chrome/test/chromedriver/chrome/chrome_finder.cc if (base::PathExists(path)) { base 115 chrome/test/chromedriver/chrome/chrome_finder.cc std::vector<base::FilePath> locations; base 118 chrome/test/chromedriver/chrome/chrome_finder.cc base::Bind(&base::PathExists), base 12 chrome/test/chromedriver/chrome/chrome_finder.h namespace base { base 17 chrome/test/chromedriver/chrome/chrome_finder.h bool FindChrome(base::FilePath* browser_exe); base 22 chrome/test/chromedriver/chrome/chrome_finder.h const base::Callback<bool(const base::FilePath&)>& exists_func, base 23 chrome/test/chromedriver/chrome/chrome_finder.h const std::vector<base::FilePath>& rel_paths, base 24 chrome/test/chromedriver/chrome/chrome_finder.h const std::vector<base::FilePath>& locations, base 25 chrome/test/chromedriver/chrome/chrome_finder.h base::FilePath* out_path); base 15 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc bool PathIn(const std::vector<base::FilePath>& list, base 16 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc const base::FilePath& path) { base 24 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc void AssertFound(const base::FilePath& found, base 25 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc const std::vector<base::FilePath>& existing_paths, base 26 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc const std::vector<base::FilePath>& rel_paths, base 27 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc const std::vector<base::FilePath>& locations) { base 28 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath exe; base 30 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::Bind(&PathIn, existing_paths), base 40 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath found = base 41 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath().AppendASCII("exists").AppendASCII("exists"); base 42 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> existing_paths; base 44 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> rel_paths; base 46 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> locations; base 53 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath dir(FILE_PATH_LITERAL("dir")); base 54 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath first = dir.AppendASCII("first"); base 55 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath second = dir.AppendASCII("second"); base 56 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> existing_paths; base 59 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> rel_paths; base 62 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> locations; base 69 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath dir1(FILE_PATH_LITERAL("dir1")); base 70 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath dir2(FILE_PATH_LITERAL("dir2")); base 71 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath preferred(FILE_PATH_LITERAL("preferred")); base 72 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath nonpreferred(FILE_PATH_LITERAL("nonpreferred")); base 73 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> existing_paths; base 76 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> rel_paths; base 79 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> locations; base 87 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath found = base 88 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath().AppendASCII("exists").AppendASCII("exists"); base 89 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> existing_paths; base 90 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> rel_paths; base 92 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc std::vector<base::FilePath> locations; base 94 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath exe; base 96 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::Bind(&PathIn, existing_paths), base 105 chrome/test/chromedriver/chrome/chrome_finder_unittest.cc base::FilePath exe; base 39 chrome/test/chromedriver/chrome/console_logger.cc base::DictionaryValue params; base 46 chrome/test/chromedriver/chrome/console_logger.cc const base::DictionaryValue& params) { base 52 chrome/test/chromedriver/chrome/console_logger.cc const base::DictionaryValue *message_dict = NULL; base 73 chrome/test/chromedriver/chrome/console_logger.cc base::SStringPrintf(&line_column, "%d:%d", line, column); base 75 chrome/test/chromedriver/chrome/console_logger.cc base::SStringPrintf(&line_column, "%d", line); base 85 chrome/test/chromedriver/chrome/console_logger.cc log_->AddEntry(level, source, base::StringPrintf("%s %s %s", base 96 chrome/test/chromedriver/chrome/console_logger.cc base::JSONWriter::Write(¶ms, &message_json); base 31 chrome/test/chromedriver/chrome/console_logger.h const base::DictionaryValue& params) OVERRIDE; base 35 chrome/test/chromedriver/chrome/console_logger_unittest.cc const base::DictionaryValue& params) { base 46 chrome/test/chromedriver/chrome/console_logger_unittest.cc const base::DictionaryValue& params, base 47 chrome/test/chromedriver/chrome/console_logger_unittest.cc scoped_ptr<base::DictionaryValue>* result) OVERRIDE { base 68 chrome/test/chromedriver/chrome/console_logger_unittest.cc const base::Time timestamp; base 73 chrome/test/chromedriver/chrome/console_logger_unittest.cc LogEntry(const base::Time& timestamp, base 82 chrome/test/chromedriver/chrome/console_logger_unittest.cc virtual void AddEntryTimestamped(const base::Time& timestamp, base 95 chrome/test/chromedriver/chrome/console_logger_unittest.cc void FakeLog::AddEntryTimestamped(const base::Time& timestamp, base 112 chrome/test/chromedriver/chrome/console_logger_unittest.cc void ConsoleLogParams(base::DictionaryValue* out_params, base 145 chrome/test/chromedriver/chrome/console_logger_unittest.cc base::DictionaryValue params1; // All fields are set. base 151 chrome/test/chromedriver/chrome/console_logger_unittest.cc base::DictionaryValue params2; // All optionals are not set. base 155 chrome/test/chromedriver/chrome/console_logger_unittest.cc base::DictionaryValue params3; // Line without column, no source. base 159 chrome/test/chromedriver/chrome/console_logger_unittest.cc base::DictionaryValue params4; // Column without line. base 163 chrome/test/chromedriver/chrome/console_logger_unittest.cc base::DictionaryValue params5; // Bad level name. base 167 chrome/test/chromedriver/chrome/console_logger_unittest.cc base::DictionaryValue params6; // Unset level. base 171 chrome/test/chromedriver/chrome/console_logger_unittest.cc base::DictionaryValue params7; // No text. base 175 chrome/test/chromedriver/chrome/console_logger_unittest.cc base::DictionaryValue params8; // No message object. base 20 chrome/test/chromedriver/chrome/debugger_tracker.cc const base::DictionaryValue& params) { base 22 chrome/test/chromedriver/chrome/debugger_tracker.cc base::DictionaryValue empty_params; base 14 chrome/test/chromedriver/chrome/debugger_tracker.h namespace base { base 30 chrome/test/chromedriver/chrome/debugger_tracker.h const base::DictionaryValue& params) OVERRIDE; base 25 chrome/test/chromedriver/chrome/device_manager.cc base::Callback<void()> release_callback) base 138 chrome/test/chromedriver/chrome/device_manager.cc device_socket = base::StringPrintf("webview_devtools_remote_%d", pid); base 170 chrome/test/chromedriver/chrome/device_manager.cc base::AutoLock lock(devices_lock_); base 172 chrome/test/chromedriver/chrome/device_manager.cc base::IntToString(devices.size()) + " online)"); base 195 chrome/test/chromedriver/chrome/device_manager.cc base::AutoLock lock(devices_lock_); base 207 chrome/test/chromedriver/chrome/device_manager.cc base::AutoLock lock(devices_lock_); base 214 chrome/test/chromedriver/chrome/device_manager.cc base::Bind(&DeviceManager::ReleaseDevice, base::Unretained(this), base 39 chrome/test/chromedriver/chrome/device_manager.h base::Callback<void()> release_callback); base 49 chrome/test/chromedriver/chrome/device_manager.h base::Callback<void()> release_callback_; base 73 chrome/test/chromedriver/chrome/device_manager.h base::Lock devices_lock_; base 13 chrome/test/chromedriver/chrome/devtools_client.h namespace base { base 24 chrome/test/chromedriver/chrome/devtools_client.h typedef base::Callback<Status(bool* is_condition_met)> ConditionalFunc; base 36 chrome/test/chromedriver/chrome/devtools_client.h const base::DictionaryValue& params) = 0; base 39 chrome/test/chromedriver/chrome/devtools_client.h const base::DictionaryValue& params, base 40 chrome/test/chromedriver/chrome/devtools_client.h scoped_ptr<base::DictionaryValue>* result) = 0; base 51 chrome/test/chromedriver/chrome/devtools_client.h const base::TimeDelta& timeout) = 0; base 26 chrome/test/chromedriver/chrome/devtools_client_impl.cc scoped_ptr<base::Value> error(base::JSONReader::Read(error_json)); base 27 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::DictionaryValue* error_dict; base 80 chrome/test/chromedriver/chrome/devtools_client_impl.cc parser_func_(base::Bind(&internal::ParseInspectorMessage)), base 144 chrome/test/chromedriver/chrome/devtools_client_impl.cc const base::DictionaryValue& params) { base 145 chrome/test/chromedriver/chrome/devtools_client_impl.cc scoped_ptr<base::DictionaryValue> result; base 151 chrome/test/chromedriver/chrome/devtools_client_impl.cc const base::DictionaryValue& params, base 152 chrome/test/chromedriver/chrome/devtools_client_impl.cc scoped_ptr<base::DictionaryValue>* result) { base 153 chrome/test/chromedriver/chrome/devtools_client_impl.cc scoped_ptr<base::DictionaryValue> intermediate_result; base 169 chrome/test/chromedriver/chrome/devtools_client_impl.cc return HandleEventsUntil(base::Bind(&ConditionIsMet), base::TimeDelta()); base 173 chrome/test/chromedriver/chrome/devtools_client_impl.cc const ConditionalFunc& conditional_func, const base::TimeDelta& timeout) { base 177 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::TimeTicks deadline = base::TimeTicks::Now() + timeout; base 178 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::TimeDelta next_message_timeout = timeout; base 192 chrome/test/chromedriver/chrome/devtools_client_impl.cc next_message_timeout = deadline - base::TimeTicks::Now(); base 203 chrome/test/chromedriver/chrome/devtools_client_impl.cc const base::DictionaryValue& params, base 204 chrome/test/chromedriver/chrome/devtools_client_impl.cc scoped_ptr<base::DictionaryValue>* result) { base 209 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::DictionaryValue command; base 226 chrome/test/chromedriver/chrome/devtools_client_impl.cc command_id, base::TimeDelta::FromMinutes(10)); base 247 chrome/test/chromedriver/chrome/devtools_client_impl.cc const base::TimeDelta& timeout) { base 280 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::StringPrintf("%.3lf", timeout.InSecondsF()); base 331 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::DictionaryValue enable_params; base 434 chrome/test/chromedriver/chrome/devtools_client_impl.cc scoped_ptr<base::Value> message_value(base::JSONReader::Read(message)); base 435 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::DictionaryValue* message_dict; base 444 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::DictionaryValue* params = NULL; base 452 chrome/test/chromedriver/chrome/devtools_client_impl.cc event->params.reset(new base::DictionaryValue()); base 455 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::DictionaryValue* unscoped_error = NULL; base 456 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::DictionaryValue* unscoped_result = NULL; base 466 chrome/test/chromedriver/chrome/devtools_client_impl.cc base::JSONWriter::Write(unscoped_error, &command_response->error); base 21 chrome/test/chromedriver/chrome/devtools_client_impl.h namespace base { base 36 chrome/test/chromedriver/chrome/devtools_client_impl.h scoped_ptr<base::DictionaryValue> params; base 44 chrome/test/chromedriver/chrome/devtools_client_impl.h scoped_ptr<base::DictionaryValue> result; base 55 chrome/test/chromedriver/chrome/devtools_client_impl.h typedef base::Callback<Status()> FrontendCloserFunc; base 61 chrome/test/chromedriver/chrome/devtools_client_impl.h typedef base::Callback<bool( base 82 chrome/test/chromedriver/chrome/devtools_client_impl.h const base::DictionaryValue& params) OVERRIDE; base 85 chrome/test/chromedriver/chrome/devtools_client_impl.h const base::DictionaryValue& params, base 86 chrome/test/chromedriver/chrome/devtools_client_impl.h scoped_ptr<base::DictionaryValue>* result) OVERRIDE; base 90 chrome/test/chromedriver/chrome/devtools_client_impl.h const base::TimeDelta& timeout) OVERRIDE; base 117 chrome/test/chromedriver/chrome/devtools_client_impl.h const base::DictionaryValue& params, base 118 chrome/test/chromedriver/chrome/devtools_client_impl.h scoped_ptr<base::DictionaryValue>* result); base 119 chrome/test/chromedriver/chrome/devtools_client_impl.h Status ProcessNextMessage(int expected_id, const base::TimeDelta& timeout); base 46 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(message)); base 47 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue* dict = NULL; base 55 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue* params = NULL; base 67 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::TimeDelta& timeout) OVERRIDE { base 68 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc if (timeout <= base::TimeDelta()) base 70 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue response; base 72 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue result; base 75 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::JSONWriter::Write(&response, message); base 97 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc DevToolsClientImplTest() : long_timeout_(base::TimeDelta::FromMinutes(5)) {} base 99 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::TimeDelta long_timeout_; base 106 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket>); base 108 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc)); base 110 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 117 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket>); base 119 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc)); base 121 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 123 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc scoped_ptr<base::DictionaryValue> result; base 127 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::JSONWriter::Write(result.get(), &json); base 153 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::TimeDelta& timeout) OVERRIDE { base 167 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket2>); base 169 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc)); base 195 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::TimeDelta& timeout) OVERRIDE { base 212 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket3>); base 214 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc)); base 216 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 242 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::TimeDelta& timeout) OVERRIDE { base 258 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket4>); base 260 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc)); base 262 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 289 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::TimeDelta& timeout) OVERRIDE { base 309 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc command_response->result.reset(new base::DictionaryValue()); base 321 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc command_response->result.reset(new base::DictionaryValue()); base 333 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc command_response->result.reset(new base::DictionaryValue()); base 362 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::DictionaryValue& params) OVERRIDE { base 383 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->params.reset(new base::DictionaryValue()); base 388 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 389 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc command_response->result.reset(new base::DictionaryValue()); base 404 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->params.reset(new base::DictionaryValue()); base 418 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 425 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event->params.reset(new base::DictionaryValue()); base 438 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc command_response->result.reset(new base::DictionaryValue()); base 465 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<FakeSyncWebSocket>); base 467 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 468 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnCommand)); base 470 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 477 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<FakeSyncWebSocket>); base 479 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 480 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnBadResponse)); base 482 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 488 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<FakeSyncWebSocket>); base 490 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 491 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnCommandBadId)); base 493 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 499 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<FakeSyncWebSocket>); base 501 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 502 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnCommandError)); base 504 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 510 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<FakeSyncWebSocket>); base 514 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 515 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnEventThenResponse, &first)); base 518 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 519 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc scoped_ptr<base::DictionaryValue> result; base 551 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc ASSERT_TRUE(event.params->IsType(base::Value::TYPE_DICTIONARY)); base 605 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket>); base 607 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 608 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnEvent)); base 611 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc Status status = client.HandleEventsUntil(base::Bind(&AlwaysTrue), base 618 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket>); base 620 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 621 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnEvent)); base 623 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc Status status = client.HandleEventsUntil(base::Bind(&AlwaysTrue), base 624 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::TimeDelta()); base 630 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket>); base 632 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 633 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnCommand)); base 635 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc Status status = client.HandleEventsUntil(base::Bind(&AlwaysTrue), base 642 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket>); base 644 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 645 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnError)); base 647 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc Status status = client.HandleEventsUntil(base::Bind(&AlwaysTrue), base 654 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket>); base 656 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc), base 657 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnEvent)); base 659 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc Status status = client.HandleEventsUntil(base::Bind(&AlwaysError), base 666 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket>); base 669 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc)); base 672 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&ReturnOutOfOrderResponses, &recurse_count, &client)); base 673 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 675 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc scoped_ptr<base::DictionaryValue> result; base 707 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 713 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::DictionaryValue& params) OVERRIDE { base 744 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(message)); base 745 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue* dict = NULL; base 754 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue response; base 756 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc response.Set("result", new base::DictionaryValue()); base 758 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::JSONWriter::Write(&response, &json_response); base 762 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue event; base 764 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc event.Set("params", new base::DictionaryValue()); base 766 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::JSONWriter::Write(&event, &json_event); base 774 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::TimeDelta& timeout) OVERRIDE { base 795 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<OnConnectedSyncWebSocket>); base 797 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc)); base 802 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 811 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<OnConnectedSyncWebSocket>); base 813 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc)); base 845 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::TimeDelta& timeout) OVERRIDE { base 849 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc *message = base::StringPrintf( base 874 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::DictionaryValue& params) OVERRIDE { base 897 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::DictionaryValue& params) OVERRIDE { base 913 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<MockSyncWebSocket5>); base 915 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CloserFunc)); base 920 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 960 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CreateMockSyncWebSocket<DisconnectedSyncWebSocket>); base 965 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Bind(&CheckCloserFuncCalled, &is_called)); base 969 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 999 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::TimeDelta& timeout) OVERRIDE { base 1024 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::DictionaryValue& params) OVERRIDE { base 1050 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc SyncWebSocketFactory factory = base::Bind(&CreateMockSyncWebSocket6, &msgs); base 1052 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc factory, "http://url", "id", base::Bind(&CloserFunc)); base 1056 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 1080 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc SyncWebSocketFactory factory = base::Bind(&CreateMockSyncWebSocket6, &msgs); base 1082 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc factory, "http://url", "id", base::Bind(&CloserFunc)); base 1108 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc const base::DictionaryValue& params) OVERRIDE { base 1121 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::Callback<void(DevToolsClient*)> callback_; base 1133 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc SyncWebSocketFactory factory = base::Bind(&CreateMockSyncWebSocket6, &msgs); base 1135 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc factory, "http://url", "id", base::Bind(&CloserFunc)); base 1137 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc listener1.callback_ = base::Bind(&HandleReceivedEvents); base 1143 chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc base::DictionaryValue params; base 17 chrome/test/chromedriver/chrome/devtools_event_listener.cc const base::DictionaryValue& params) { base 10 chrome/test/chromedriver/chrome/devtools_event_listener.h namespace base { base 29 chrome/test/chromedriver/chrome/devtools_event_listener.h const base::DictionaryValue& params); base 74 chrome/test/chromedriver/chrome/devtools_http_client.cc web_socket_url_prefix_(base::StringPrintf( base 79 chrome/test/chromedriver/chrome/devtools_http_client.cc Status DevToolsHttpClient::Init(const base::TimeDelta& timeout) { base 80 chrome/test/chromedriver/chrome/devtools_http_client.cc base::TimeTicks deadline = base::TimeTicks::Now() + timeout; base 87 chrome/test/chromedriver/chrome/devtools_http_client.cc base::TimeTicks::Now() > deadline) { base 90 chrome/test/chromedriver/chrome/devtools_http_client.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50)); base 115 chrome/test/chromedriver/chrome/devtools_http_client.cc base::SplitString(stripped_version, '.', &version_parts); base 117 chrome/test/chromedriver/chrome/devtools_http_client.cc !base::StringToInt(version_parts[2], &temp_build_no)) { base 141 chrome/test/chromedriver/chrome/devtools_http_client.cc base::Bind( base 142 chrome/test/chromedriver/chrome/devtools_http_client.cc &DevToolsHttpClient::CloseFrontends, base::Unretained(this), id))); base 153 chrome/test/chromedriver/chrome/devtools_http_client.cc base::TimeTicks deadline = base 154 chrome/test/chromedriver/chrome/devtools_http_client.cc base::TimeTicks::Now() + base::TimeDelta::FromSeconds(20); base 155 chrome/test/chromedriver/chrome/devtools_http_client.cc while (base::TimeTicks::Now() < deadline) { base 164 chrome/test/chromedriver/chrome/devtools_http_client.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50)); base 234 chrome/test/chromedriver/chrome/devtools_http_client.cc base::Bind(&FakeCloseFrontends))); base 244 chrome/test/chromedriver/chrome/devtools_http_client.cc scoped_ptr<base::Value> result; base 255 chrome/test/chromedriver/chrome/devtools_http_client.cc base::TimeTicks deadline = base 256 chrome/test/chromedriver/chrome/devtools_http_client.cc base::TimeTicks::Now() + base::TimeDelta::FromSeconds(20); base 257 chrome/test/chromedriver/chrome/devtools_http_client.cc while (base::TimeTicks::Now() < deadline) { base 268 chrome/test/chromedriver/chrome/devtools_http_client.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50)); base 290 chrome/test/chromedriver/chrome/devtools_http_client.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); base 293 chrome/test/chromedriver/chrome/devtools_http_client.cc base::ListValue* list; base 299 chrome/test/chromedriver/chrome/devtools_http_client.cc base::DictionaryValue* info; base 335 chrome/test/chromedriver/chrome/devtools_http_client.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); base 338 chrome/test/chromedriver/chrome/devtools_http_client.cc base::DictionaryValue* dict; base 15 chrome/test/chromedriver/chrome/devtools_http_client.h namespace base { base 69 chrome/test/chromedriver/chrome/devtools_http_client.h Status Init(const base::TimeDelta& timeout); base 32 chrome/test/chromedriver/chrome/dom_tracker.cc base::DictionaryValue params; base 38 chrome/test/chromedriver/chrome/dom_tracker.cc const base::DictionaryValue& params) { base 40 chrome/test/chromedriver/chrome/dom_tracker.cc const base::Value* nodes; base 46 chrome/test/chromedriver/chrome/dom_tracker.cc base::JSONWriter::Write(nodes, &json); base 51 chrome/test/chromedriver/chrome/dom_tracker.cc const base::Value* node; base 57 chrome/test/chromedriver/chrome/dom_tracker.cc base::JSONWriter::Write(node, &json); base 63 chrome/test/chromedriver/chrome/dom_tracker.cc base::DictionaryValue params; base 69 chrome/test/chromedriver/chrome/dom_tracker.cc bool DomTracker::ProcessNodeList(const base::Value* nodes) { base 70 chrome/test/chromedriver/chrome/dom_tracker.cc const base::ListValue* nodes_list; base 74 chrome/test/chromedriver/chrome/dom_tracker.cc const base::Value* node; base 83 chrome/test/chromedriver/chrome/dom_tracker.cc bool DomTracker::ProcessNode(const base::Value* node) { base 84 chrome/test/chromedriver/chrome/dom_tracker.cc const base::DictionaryValue* dict; base 94 chrome/test/chromedriver/chrome/dom_tracker.cc const base::Value* children; base 15 chrome/test/chromedriver/chrome/dom_tracker.h namespace base { base 35 chrome/test/chromedriver/chrome/dom_tracker.h const base::DictionaryValue& params) OVERRIDE; base 38 chrome/test/chromedriver/chrome/dom_tracker.h bool ProcessNodeList(const base::Value* nodes); base 39 chrome/test/chromedriver/chrome/dom_tracker.h bool ProcessNode(const base::Value* node); base 33 chrome/test/chromedriver/chrome/dom_tracker_unittest.cc const base::DictionaryValue& params) OVERRIDE { base 39 chrome/test/chromedriver/chrome/dom_tracker_unittest.cc const base::DictionaryValue& params, base 40 chrome/test/chromedriver/chrome/dom_tracker_unittest.cc scoped_ptr<base::DictionaryValue>* result) OVERRIDE { base 62 chrome/test/chromedriver/chrome/dom_tracker_unittest.cc base::DictionaryValue params; base 63 chrome/test/chromedriver/chrome/dom_tracker_unittest.cc params.Set("nodes", base::JSONReader::Read(nodes)); base 81 chrome/test/chromedriver/chrome/dom_tracker_unittest.cc base::DictionaryValue params; base 82 chrome/test/chromedriver/chrome/dom_tracker_unittest.cc params.Set("node", base::JSONReader::Read("{\"nodeId\":1}")); base 89 chrome/test/chromedriver/chrome/dom_tracker_unittest.cc params.Set("node", base::JSONReader::Read( base 33 chrome/test/chromedriver/chrome/frame_tracker.cc base::DictionaryValue params; base 42 chrome/test/chromedriver/chrome/frame_tracker.cc const base::DictionaryValue& params) { base 44 chrome/test/chromedriver/chrome/frame_tracker.cc const base::DictionaryValue* context; base 55 chrome/test/chromedriver/chrome/frame_tracker.cc base::JSONWriter::Write(context, &json); base 62 chrome/test/chromedriver/chrome/frame_tracker.cc const base::Value* unused_value; base 15 chrome/test/chromedriver/chrome/frame_tracker.h namespace base { base 36 chrome/test/chromedriver/chrome/frame_tracker.h const base::DictionaryValue& params) OVERRIDE; base 22 chrome/test/chromedriver/chrome/frame_tracker_unittest.cc base::DictionaryValue params; base 23 chrome/test/chromedriver/chrome/frame_tracker_unittest.cc params.Set("context", base::JSONReader::Read(context)); base 33 chrome/test/chromedriver/chrome/frame_tracker_unittest.cc base::DictionaryValue nav_params; base 50 chrome/test/chromedriver/chrome/frame_tracker_unittest.cc base::DictionaryValue params; base 51 chrome/test/chromedriver/chrome/frame_tracker_unittest.cc params.Set("context", base::JSONReader::Read(context)); base 33 chrome/test/chromedriver/chrome/geolocation_override_manager.cc const base::DictionaryValue& params) { base 35 chrome/test/chromedriver/chrome/geolocation_override_manager.cc const base::Value* unused_value; base 46 chrome/test/chromedriver/chrome/geolocation_override_manager.cc base::DictionaryValue params; base 15 chrome/test/chromedriver/chrome/geolocation_override_manager.h namespace base { base 36 chrome/test/chromedriver/chrome/geolocation_override_manager.h const base::DictionaryValue& params) OVERRIDE; base 20 chrome/test/chromedriver/chrome/geolocation_override_manager_unittest.cc Command(const std::string& method, const base::DictionaryValue& params) base 36 chrome/test/chromedriver/chrome/geolocation_override_manager_unittest.cc base::DictionaryValue params; base 47 chrome/test/chromedriver/chrome/geolocation_override_manager_unittest.cc const base::DictionaryValue& params, base 48 chrome/test/chromedriver/chrome/geolocation_override_manager_unittest.cc scoped_ptr<base::DictionaryValue>* result) OVERRIDE { base 104 chrome/test/chromedriver/chrome/geolocation_override_manager_unittest.cc base::DictionaryValue main_frame_params; base 120 chrome/test/chromedriver/chrome/geolocation_override_manager_unittest.cc base::DictionaryValue sub_frame_params; base 20 chrome/test/chromedriver/chrome/heap_snapshot_taker.cc Status HeapSnapshotTaker::TakeSnapshot(scoped_ptr<base::Value>* snapshot) { base 22 chrome/test/chromedriver/chrome/heap_snapshot_taker.cc base::DictionaryValue params; base 27 chrome/test/chromedriver/chrome/heap_snapshot_taker.cc scoped_ptr<base::Value> value(base::JSONReader::Read(snapshot_)); base 43 chrome/test/chromedriver/chrome/heap_snapshot_taker.cc base::DictionaryValue params; base 60 chrome/test/chromedriver/chrome/heap_snapshot_taker.cc const base::DictionaryValue& params) { base 15 chrome/test/chromedriver/chrome/heap_snapshot_taker.h namespace base { base 29 chrome/test/chromedriver/chrome/heap_snapshot_taker.h Status TakeSnapshot(scoped_ptr<base::Value>* snapshot); base 34 chrome/test/chromedriver/chrome/heap_snapshot_taker.h const base::DictionaryValue& params) OVERRIDE; base 19 chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc scoped_ptr<base::Value> GetSnapshotAsValue() { base 20 chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 23 chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc return dict.PassAs<base::Value>(); base 38 chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc base::DictionaryValue event_params; base 52 chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc const base::DictionaryValue& params) OVERRIDE { base 81 chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc scoped_ptr<base::Value> snapshot; base 91 chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc scoped_ptr<base::Value> snapshot; base 101 chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc scoped_ptr<base::Value> snapshot; base 111 chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc scoped_ptr<base::Value> snapshot; base 35 chrome/test/chromedriver/chrome/javascript_dialog_manager.cc base::DictionaryValue params; base 53 chrome/test/chromedriver/chrome/javascript_dialog_manager.cc base::DictionaryValue params; base 59 chrome/test/chromedriver/chrome/javascript_dialog_manager.cc const base::DictionaryValue& params) { base 15 chrome/test/chromedriver/chrome/javascript_dialog_manager.h namespace base { base 38 chrome/test/chromedriver/chrome/javascript_dialog_manager.h const base::DictionaryValue& params) OVERRIDE; base 35 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc const base::DictionaryValue& params, base 36 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc scoped_ptr<base::DictionaryValue>* result) OVERRIDE { base 44 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc base::DictionaryValue params_; base 52 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc base::DictionaryValue params; base 68 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc base::DictionaryValue params; base 81 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc base::DictionaryValue params; base 111 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc const base::DictionaryValue& params, base 112 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc scoped_ptr<base::DictionaryValue>* result) OVERRIDE { base 114 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc base::DictionaryValue empty; base 137 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc base::DictionaryValue params; base 160 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc base::DictionaryValue params; base 190 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc base::DictionaryValue params; base 19 chrome/test/chromedriver/chrome/log.cc AddEntryTimestamped(base::Time::Now(), level, source, message); base 34 chrome/test/chromedriver/chrome/log.cc scoped_ptr<base::Value> SmartDeepCopy(const base::Value* value) { base 36 chrome/test/chromedriver/chrome/log.cc const base::ListValue* list = NULL; base 37 chrome/test/chromedriver/chrome/log.cc const base::DictionaryValue* dict = NULL; base 40 chrome/test/chromedriver/chrome/log.cc scoped_ptr<base::DictionaryValue> dict_copy(new base::DictionaryValue()); base 41 chrome/test/chromedriver/chrome/log.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); base 47 chrome/test/chromedriver/chrome/log.cc const base::Value* child = NULL; base 52 chrome/test/chromedriver/chrome/log.cc return dict_copy.PassAs<base::Value>(); base 54 chrome/test/chromedriver/chrome/log.cc scoped_ptr<base::ListValue> list_copy(new base::ListValue()); base 56 chrome/test/chromedriver/chrome/log.cc const base::Value* child = NULL; base 65 chrome/test/chromedriver/chrome/log.cc return list_copy.PassAs<base::Value>(); base 68 chrome/test/chromedriver/chrome/log.cc return scoped_ptr<base::Value>(new base::StringValue(data)); base 70 chrome/test/chromedriver/chrome/log.cc return scoped_ptr<base::Value>(value->DeepCopy()); base 85 chrome/test/chromedriver/chrome/log.cc std::string PrettyPrintValue(const base::Value& value) { base 87 chrome/test/chromedriver/chrome/log.cc base::JSONWriter::WriteWithOptions( base 88 chrome/test/chromedriver/chrome/log.cc &value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json); base 90 chrome/test/chromedriver/chrome/log.cc base::RemoveChars(json, "\r", &json); base 98 chrome/test/chromedriver/chrome/log.cc std::string FormatValueForDisplay(const base::Value& value) { base 99 chrome/test/chromedriver/chrome/log.cc scoped_ptr<base::Value> copy(SmartDeepCopy(&value)); base 104 chrome/test/chromedriver/chrome/log.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 106 chrome/test/chromedriver/chrome/log.cc value.reset(new base::StringValue(json)); base 13 chrome/test/chromedriver/chrome/log.h namespace base { base 33 chrome/test/chromedriver/chrome/log.h virtual void AddEntryTimestamped(const base::Time& timestamp, base 53 chrome/test/chromedriver/chrome/log.h std::string PrettyPrintValue(const base::Value& value); base 56 chrome/test/chromedriver/chrome/log.h std::string FormatValueForDisplay(const base::Value& value); base 53 chrome/test/chromedriver/chrome/navigation_tracker.cc base::DictionaryValue params; base 55 chrome/test/chromedriver/chrome/navigation_tracker.cc scoped_ptr<base::DictionaryValue> result; base 80 chrome/test/chromedriver/chrome/navigation_tracker.cc base::DictionaryValue empty_params; base 86 chrome/test/chromedriver/chrome/navigation_tracker.cc const base::DictionaryValue& params) { base 133 chrome/test/chromedriver/chrome/navigation_tracker.cc const base::Value* unused_value; base 173 chrome/test/chromedriver/chrome/navigation_tracker.cc base::DictionaryValue params; base 175 chrome/test/chromedriver/chrome/navigation_tracker.cc scoped_ptr<base::DictionaryValue> result; base 16 chrome/test/chromedriver/chrome/navigation_tracker.h namespace base { base 46 chrome/test/chromedriver/chrome/navigation_tracker.h const base::DictionaryValue& params) OVERRIDE; base 37 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params; base 49 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params; base 69 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params; base 101 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params; base 103 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params_scheduled; base 128 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params_scheduled; base 142 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params; base 144 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params_scheduled; base 164 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params_scheduled; base 178 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params_scheduled; base 187 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params_navigated; base 208 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc const base::DictionaryValue& params, base 209 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc scoped_ptr<base::DictionaryValue>* result) OVERRIDE { base 232 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue* send_event_first_params) base 241 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc const base::DictionaryValue& params, base 242 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc scoped_ptr<base::DictionaryValue>* result) OVERRIDE { base 250 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue result_dict; base 259 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue* send_event_first_params_; base 265 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params; base 272 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params; base 280 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params; base 289 chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc base::DictionaryValue params; base 38 chrome/test/chromedriver/chrome/performance_logger.cc base::DictionaryValue params; // All our enable commands have empty params. base 50 chrome/test/chromedriver/chrome/performance_logger.cc const base::DictionaryValue& params) { base 54 chrome/test/chromedriver/chrome/performance_logger.cc base::DictionaryValue log_message_dict; base 61 chrome/test/chromedriver/chrome/performance_logger.cc base::JSONWriter::Write(&log_message_dict, &log_message_json); base 32 chrome/test/chromedriver/chrome/performance_logger.h const base::DictionaryValue& params) OVERRIDE; base 36 chrome/test/chromedriver/chrome/performance_logger_unittest.cc base::DictionaryValue empty_params; base 47 chrome/test/chromedriver/chrome/performance_logger_unittest.cc const base::DictionaryValue& params, base 48 chrome/test/chromedriver/chrome/performance_logger_unittest.cc scoped_ptr<base::DictionaryValue>* result) OVERRIDE { base 69 chrome/test/chromedriver/chrome/performance_logger_unittest.cc const base::Time timestamp; base 74 chrome/test/chromedriver/chrome/performance_logger_unittest.cc LogEntry(const base::Time& timestamp, base 83 chrome/test/chromedriver/chrome/performance_logger_unittest.cc virtual void AddEntryTimestamped(const base::Time& timestamp, base 96 chrome/test/chromedriver/chrome/performance_logger_unittest.cc void FakeLog::AddEntryTimestamped(const base::Time& timestamp, base 103 chrome/test/chromedriver/chrome/performance_logger_unittest.cc scoped_ptr<base::DictionaryValue> ParseDictionary(const std::string& json) { base 105 chrome/test/chromedriver/chrome/performance_logger_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::ReadAndReturnError( base 106 chrome/test/chromedriver/chrome/performance_logger_unittest.cc json, base::JSON_PARSE_RFC, NULL, &error)); base 111 chrome/test/chromedriver/chrome/performance_logger_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 113 chrome/test/chromedriver/chrome/performance_logger_unittest.cc base::DictionaryValue* dict = NULL; base 117 chrome/test/chromedriver/chrome/performance_logger_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 119 chrome/test/chromedriver/chrome/performance_logger_unittest.cc return scoped_ptr<base::DictionaryValue>(dict->DeepCopy()); base 128 chrome/test/chromedriver/chrome/performance_logger_unittest.cc scoped_ptr<base::DictionaryValue> message(ParseDictionary(entry->message)); base 135 chrome/test/chromedriver/chrome/performance_logger_unittest.cc base::DictionaryValue* params; base 93 chrome/test/chromedriver/chrome/status.cc msg_ += base::StringPrintf("\n (%s)", details.c_str()); base 29 chrome/test/chromedriver/chrome/stub_devtools_client.cc const base::DictionaryValue& params) { base 30 chrome/test/chromedriver/chrome/stub_devtools_client.cc scoped_ptr<base::DictionaryValue> result; base 36 chrome/test/chromedriver/chrome/stub_devtools_client.cc const base::DictionaryValue& params, base 37 chrome/test/chromedriver/chrome/stub_devtools_client.cc scoped_ptr<base::DictionaryValue>* result) { base 38 chrome/test/chromedriver/chrome/stub_devtools_client.cc result->reset(new base::DictionaryValue()); base 48 chrome/test/chromedriver/chrome/stub_devtools_client.cc const base::TimeDelta& timeout) { base 15 chrome/test/chromedriver/chrome/stub_devtools_client.h namespace base { base 32 chrome/test/chromedriver/chrome/stub_devtools_client.h const base::DictionaryValue& params) OVERRIDE; base 35 chrome/test/chromedriver/chrome/stub_devtools_client.h const base::DictionaryValue& params, base 36 chrome/test/chromedriver/chrome/stub_devtools_client.h scoped_ptr<base::DictionaryValue>* result) OVERRIDE; base 39 chrome/test/chromedriver/chrome/stub_devtools_client.h const base::TimeDelta& timeout) OVERRIDE; base 41 chrome/test/chromedriver/chrome/stub_web_view.cc scoped_ptr<base::Value>* result) { base 47 chrome/test/chromedriver/chrome/stub_web_view.cc const base::ListValue& args, base 48 chrome/test/chromedriver/chrome/stub_web_view.cc scoped_ptr<base::Value>* result) { base 54 chrome/test/chromedriver/chrome/stub_web_view.cc const base::ListValue& args, base 55 chrome/test/chromedriver/chrome/stub_web_view.cc const base::TimeDelta& timeout, base 56 chrome/test/chromedriver/chrome/stub_web_view.cc scoped_ptr<base::Value>* result) { base 62 chrome/test/chromedriver/chrome/stub_web_view.cc const base::ListValue& args, base 63 chrome/test/chromedriver/chrome/stub_web_view.cc const base::TimeDelta& timeout, base 64 chrome/test/chromedriver/chrome/stub_web_view.cc scoped_ptr<base::Value>* result) { base 70 chrome/test/chromedriver/chrome/stub_web_view.cc const base::ListValue& args, base 92 chrome/test/chromedriver/chrome/stub_web_view.cc Status StubWebView::GetCookies(scoped_ptr<base::ListValue>* cookies) { base 102 chrome/test/chromedriver/chrome/stub_web_view.cc const base::TimeDelta& timeout, base 126 chrome/test/chromedriver/chrome/stub_web_view.cc const base::DictionaryValue& element, base 127 chrome/test/chromedriver/chrome/stub_web_view.cc const std::vector<base::FilePath>& files) { base 131 chrome/test/chromedriver/chrome/stub_web_view.cc Status StubWebView::TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) { base 29 chrome/test/chromedriver/chrome/stub_web_view.h scoped_ptr<base::Value>* result) OVERRIDE; base 32 chrome/test/chromedriver/chrome/stub_web_view.h const base::ListValue& args, base 33 chrome/test/chromedriver/chrome/stub_web_view.h scoped_ptr<base::Value>* result) OVERRIDE; base 36 chrome/test/chromedriver/chrome/stub_web_view.h const base::ListValue& args, base 37 chrome/test/chromedriver/chrome/stub_web_view.h const base::TimeDelta& timeout, base 38 chrome/test/chromedriver/chrome/stub_web_view.h scoped_ptr<base::Value>* result) OVERRIDE; base 42 chrome/test/chromedriver/chrome/stub_web_view.h const base::ListValue& args, base 43 chrome/test/chromedriver/chrome/stub_web_view.h const base::TimeDelta& timeout, base 44 chrome/test/chromedriver/chrome/stub_web_view.h scoped_ptr<base::Value>* result) OVERRIDE; base 47 chrome/test/chromedriver/chrome/stub_web_view.h const base::ListValue& args, base 55 chrome/test/chromedriver/chrome/stub_web_view.h virtual Status GetCookies(scoped_ptr<base::ListValue>* cookies) OVERRIDE; base 59 chrome/test/chromedriver/chrome/stub_web_view.h const base::TimeDelta& timeout, base 68 chrome/test/chromedriver/chrome/stub_web_view.h const base::DictionaryValue& element, base 69 chrome/test/chromedriver/chrome/stub_web_view.h const std::vector<base::FilePath>& files) OVERRIDE; base 70 chrome/test/chromedriver/chrome/stub_web_view.h virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) OVERRIDE; base 10 chrome/test/chromedriver/chrome/util.cc std::string SerializeValue(const base::Value* value) { base 12 chrome/test/chromedriver/chrome/util.cc base::JSONWriter::Write(value, &json); base 10 chrome/test/chromedriver/chrome/util.h namespace base { base 14 chrome/test/chromedriver/chrome/util.h std::string SerializeValue(const base::Value* value); base 19 chrome/test/chromedriver/chrome/version.cc return base::StringPrintf( base 14 chrome/test/chromedriver/chrome/web_view.h namespace base { base 59 chrome/test/chromedriver/chrome/web_view.h scoped_ptr<base::Value>* result) = 0; base 69 chrome/test/chromedriver/chrome/web_view.h const base::ListValue& args, base 70 chrome/test/chromedriver/chrome/web_view.h scoped_ptr<base::Value>* result) = 0; base 79 chrome/test/chromedriver/chrome/web_view.h const base::ListValue& args, base 80 chrome/test/chromedriver/chrome/web_view.h const base::TimeDelta& timeout, base 81 chrome/test/chromedriver/chrome/web_view.h scoped_ptr<base::Value>* result) = 0; base 89 chrome/test/chromedriver/chrome/web_view.h const base::ListValue& args, base 90 chrome/test/chromedriver/chrome/web_view.h const base::TimeDelta& timeout, base 91 chrome/test/chromedriver/chrome/web_view.h scoped_ptr<base::Value>* result) = 0; base 98 chrome/test/chromedriver/chrome/web_view.h const base::ListValue& args, base 115 chrome/test/chromedriver/chrome/web_view.h virtual Status GetCookies(scoped_ptr<base::ListValue>* cookies) = 0; base 129 chrome/test/chromedriver/chrome/web_view.h const base::TimeDelta& timeout, base 149 chrome/test/chromedriver/chrome/web_view.h const base::DictionaryValue& element, base 150 chrome/test/chromedriver/chrome/web_view.h const std::vector<base::FilePath>& files) = 0; base 156 chrome/test/chromedriver/chrome/web_view.h virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) = 0; base 152 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 158 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 165 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value>* result) { base 177 chrome/test/chromedriver/chrome/web_view_impl.cc const base::ListValue& args, base 178 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value>* result) { base 180 chrome/test/chromedriver/chrome/web_view_impl.cc base::JSONWriter::Write(&args, &json); base 182 chrome/test/chromedriver/chrome/web_view_impl.cc std::string expression = base::StringPrintf( base 187 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value> temp_result; base 197 chrome/test/chromedriver/chrome/web_view_impl.cc const base::ListValue& args, base 198 chrome/test/chromedriver/chrome/web_view_impl.cc const base::TimeDelta& timeout, base 199 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value>* result) { base 206 chrome/test/chromedriver/chrome/web_view_impl.cc const base::ListValue& args, base 207 chrome/test/chromedriver/chrome/web_view_impl.cc const base::TimeDelta& timeout, base 208 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value>* result) { base 215 chrome/test/chromedriver/chrome/web_view_impl.cc const base::ListValue& args, base 237 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 249 chrome/test/chromedriver/chrome/web_view_impl.cc base::ListValue args; base 253 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value> result; base 264 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 266 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::ListValue> point_list(new base::ListValue); base 267 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::DictionaryValue> point(new base::DictionaryValue); base 289 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 309 chrome/test/chromedriver/chrome/web_view_impl.cc Status WebViewImpl::GetCookies(scoped_ptr<base::ListValue>* cookies) { base 310 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 311 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::DictionaryValue> result; base 316 chrome/test/chromedriver/chrome/web_view_impl.cc base::ListValue* cookies_tmp; base 325 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 332 chrome/test/chromedriver/chrome/web_view_impl.cc const base::TimeDelta& timeout, base 336 chrome/test/chromedriver/chrome/web_view_impl.cc base::Bind(&WebViewImpl::IsNotPendingNavigation, base 337 chrome/test/chromedriver/chrome/web_view_impl.cc base::Unretained(this), base 342 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value> unused_value; base 345 chrome/test/chromedriver/chrome/web_view_impl.cc base::Bind(&WebViewImpl::IsNotPendingNavigation, base::Unretained(this), base 347 chrome/test/chromedriver/chrome/web_view_impl.cc base::TimeDelta::FromSeconds(10)); base 369 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 370 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::DictionaryValue> result; base 382 chrome/test/chromedriver/chrome/web_view_impl.cc const base::DictionaryValue& element, base 383 chrome/test/chromedriver/chrome/web_view_impl.cc const std::vector<base::FilePath>& files) { base 384 chrome/test/chromedriver/chrome/web_view_impl.cc base::ListValue file_list; base 402 chrome/test/chromedriver/chrome/web_view_impl.cc base::ListValue args; base 413 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 419 chrome/test/chromedriver/chrome/web_view_impl.cc Status WebViewImpl::TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) { base 425 chrome/test/chromedriver/chrome/web_view_impl.cc const base::ListValue& args, base 427 chrome/test/chromedriver/chrome/web_view_impl.cc const base::TimeDelta& timeout, base 428 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value>* result) { base 429 chrome/test/chromedriver/chrome/web_view_impl.cc base::ListValue async_args; base 434 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value> tmp; base 441 chrome/test/chromedriver/chrome/web_view_impl.cc std::string kQueryResult = base::StringPrintf( base 456 chrome/test/chromedriver/chrome/web_view_impl.cc base::ListValue no_args; base 457 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value> query_value; base 465 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue* result_info = NULL; base 477 chrome/test/chromedriver/chrome/web_view_impl.cc base::Value* value = NULL; base 483 chrome/test/chromedriver/chrome/web_view_impl.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 508 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::DictionaryValue>* result) { base 509 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 514 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::DictionaryValue> cmd_result; base 530 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue* unscoped_result; base 542 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::DictionaryValue> result; base 560 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value>* result) { base 561 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::DictionaryValue> temp_result; base 572 chrome/test/chromedriver/chrome/web_view_impl.cc result->reset(base::Value::CreateNullValue()); base 574 chrome/test/chromedriver/chrome/web_view_impl.cc base::Value* value; base 582 chrome/test/chromedriver/chrome/web_view_impl.cc Status ParseCallFunctionResult(const base::Value& temp_result, base 583 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::Value>* result) { base 584 chrome/test/chromedriver/chrome/web_view_impl.cc const base::DictionaryValue* dict; base 597 chrome/test/chromedriver/chrome/web_view_impl.cc const base::Value* unscoped_value; base 609 chrome/test/chromedriver/chrome/web_view_impl.cc const base::ListValue& args, base 613 chrome/test/chromedriver/chrome/web_view_impl.cc base::JSONWriter::Write(&args, &json); base 615 chrome/test/chromedriver/chrome/web_view_impl.cc std::string expression = base::StringPrintf( base 632 chrome/test/chromedriver/chrome/web_view_impl.cc scoped_ptr<base::DictionaryValue> cmd_result; base 634 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 641 chrome/test/chromedriver/chrome/web_view_impl.cc base::DictionaryValue params; base 16 chrome/test/chromedriver/chrome/web_view_impl.h namespace base { base 49 chrome/test/chromedriver/chrome/web_view_impl.h scoped_ptr<base::Value>* result) OVERRIDE; base 52 chrome/test/chromedriver/chrome/web_view_impl.h const base::ListValue& args, base 53 chrome/test/chromedriver/chrome/web_view_impl.h scoped_ptr<base::Value>* result) OVERRIDE; base 56 chrome/test/chromedriver/chrome/web_view_impl.h const base::ListValue& args, base 57 chrome/test/chromedriver/chrome/web_view_impl.h const base::TimeDelta& timeout, base 58 chrome/test/chromedriver/chrome/web_view_impl.h scoped_ptr<base::Value>* result) OVERRIDE; base 62 chrome/test/chromedriver/chrome/web_view_impl.h const base::ListValue& args, base 63 chrome/test/chromedriver/chrome/web_view_impl.h const base::TimeDelta& timeout, base 64 chrome/test/chromedriver/chrome/web_view_impl.h scoped_ptr<base::Value>* result) OVERRIDE; base 67 chrome/test/chromedriver/chrome/web_view_impl.h const base::ListValue& args, base 75 chrome/test/chromedriver/chrome/web_view_impl.h virtual Status GetCookies(scoped_ptr<base::ListValue>* cookies) OVERRIDE; base 79 chrome/test/chromedriver/chrome/web_view_impl.h const base::TimeDelta& timeout, base 88 chrome/test/chromedriver/chrome/web_view_impl.h const base::DictionaryValue& element, base 89 chrome/test/chromedriver/chrome/web_view_impl.h const std::vector<base::FilePath>& files) OVERRIDE; base 90 chrome/test/chromedriver/chrome/web_view_impl.h virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) OVERRIDE; base 95 chrome/test/chromedriver/chrome/web_view_impl.h const base::ListValue& args, base 97 chrome/test/chromedriver/chrome/web_view_impl.h const base::TimeDelta& timeout, base 98 chrome/test/chromedriver/chrome/web_view_impl.h scoped_ptr<base::Value>* result); base 123 chrome/test/chromedriver/chrome/web_view_impl.h scoped_ptr<base::DictionaryValue>* result); base 132 chrome/test/chromedriver/chrome/web_view_impl.h scoped_ptr<base::Value>* result); base 133 chrome/test/chromedriver/chrome/web_view_impl.h Status ParseCallFunctionResult(const base::Value& temp_result, base 134 chrome/test/chromedriver/chrome/web_view_impl.h scoped_ptr<base::Value>* result); base 138 chrome/test/chromedriver/chrome/web_view_impl.h const base::ListValue& args, base 26 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc void set_result(const base::DictionaryValue& result) { base 42 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc const base::DictionaryValue& params) OVERRIDE { base 47 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc const base::DictionaryValue& params, base 48 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::DictionaryValue>* result) OVERRIDE { base 57 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc const base::TimeDelta& timeout) OVERRIDE { base 67 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue result_; base 70 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc void AssertEvalFails(const base::DictionaryValue& command_result) { base 71 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::DictionaryValue> result; base 83 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::DictionaryValue> result; base 93 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 98 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 104 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 111 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::DictionaryValue> result; base 112 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 124 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::Value> result; base 126 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 135 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::Value> result; base 137 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 144 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc ASSERT_TRUE(result && result->IsType(base::Value::TYPE_NULL)); base 148 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::Value> result; base 150 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 165 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 179 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 192 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::Value> result; base 193 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::FundamentalValue value(1); base 198 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::Value> result; base 199 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 210 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc scoped_ptr<base::Value> result; base 211 chrome/test/chromedriver/chrome/web_view_impl_unittest.cc base::DictionaryValue dict; base 61 chrome/test/chromedriver/chrome_launcher.cc Status UnpackAutomationExtension(const base::FilePath& temp_dir, base 62 chrome/test/chromedriver/chrome_launcher.cc base::FilePath* automation_extension) { base 64 chrome/test/chromedriver/chrome_launcher.cc if (!base::Base64Decode(kAutomationExtension, &decoded_extension)) base 67 chrome/test/chromedriver/chrome_launcher.cc base::FilePath extension_zip = temp_dir.AppendASCII("internal.zip"); base 69 chrome/test/chromedriver/chrome_launcher.cc if (base::WriteFile(extension_zip, decoded_extension.c_str(), size) base 74 chrome/test/chromedriver/chrome_launcher.cc base::FilePath extension_dir = temp_dir.AppendASCII("internal"); base 85 chrome/test/chromedriver/chrome_launcher.cc base::ScopedTempDir* user_data_dir, base 86 chrome/test/chromedriver/chrome_launcher.cc base::ScopedTempDir* extension_dir, base 88 chrome/test/chromedriver/chrome_launcher.cc base::FilePath program = capabilities.binary; base 92 chrome/test/chromedriver/chrome_launcher.cc } else if (!base::PathExists(program)) { base 94 chrome/test/chromedriver/chrome_launcher.cc base::StringPrintf("no chrome binary at %" PRFilePath, base 117 chrome/test/chromedriver/chrome_launcher.cc switches.SetSwitch("remote-debugging-port", base::IntToString(port)); base 162 chrome/test/chromedriver/chrome_launcher.cc base::TimeTicks deadline = base 163 chrome/test/chromedriver/chrome_launcher.cc base::TimeTicks::Now() + base::TimeDelta::FromSeconds(60); base 164 chrome/test/chromedriver/chrome_launcher.cc Status status = client->Init(deadline - base::TimeTicks::Now()); base 172 chrome/test/chromedriver/chrome_launcher.cc while (base::TimeTicks::Now() < deadline) { base 181 chrome/test/chromedriver/chrome_launcher.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50)); base 216 chrome/test/chromedriver/chrome_launcher.cc base::ScopedTempDir user_data_dir; base 217 chrome/test/chromedriver/chrome_launcher.cc base::ScopedTempDir extension_dir; base 228 chrome/test/chromedriver/chrome_launcher.cc base::LaunchOptions options; base 252 chrome/test/chromedriver/chrome_launcher.cc base::FileHandleMappingVector no_stderr; base 253 chrome/test/chromedriver/chrome_launcher.cc base::ScopedFD devnull; base 266 chrome/test/chromedriver/chrome_launcher.cc std::string command_string = base::WideToUTF8(command.GetCommandLineString()); base 271 chrome/test/chromedriver/chrome_launcher.cc base::ProcessHandle process; base 272 chrome/test/chromedriver/chrome_launcher.cc if (!base::LaunchProcess(command, options, &process)) base 281 chrome/test/chromedriver/chrome_launcher.cc base::TerminationStatus chrome_status = base 282 chrome/test/chromedriver/chrome_launcher.cc base::GetTerminationStatus(process, &exit_code); base 283 chrome/test/chromedriver/chrome_launcher.cc if (chrome_status != base::TERMINATION_STATUS_STILL_RUNNING) { base 286 chrome/test/chromedriver/chrome_launcher.cc case base::TERMINATION_STATUS_NORMAL_TERMINATION: base 289 chrome/test/chromedriver/chrome_launcher.cc case base::TERMINATION_STATUS_ABNORMAL_TERMINATION: base 292 chrome/test/chromedriver/chrome_launcher.cc case base::TERMINATION_STATUS_PROCESS_WAS_KILLED: base 295 chrome/test/chromedriver/chrome_launcher.cc case base::TERMINATION_STATUS_PROCESS_CRASHED: base 305 chrome/test/chromedriver/chrome_launcher.cc if (!base::KillProcess(process, 0, true)) { base 307 chrome/test/chromedriver/chrome_launcher.cc if (base::GetTerminationStatus(process, &exit_code) == base 308 chrome/test/chromedriver/chrome_launcher.cc base::TERMINATION_STATUS_STILL_RUNNING) base 325 chrome/test/chromedriver/chrome_launcher.cc extension_bg_pages[i], base::TimeDelta::FromSeconds(10), &web_view); base 447 chrome/test/chromedriver/chrome_launcher.cc if (base::HexStringToInt(base::StringPiece(id->begin() + i, base 460 chrome/test/chromedriver/chrome_launcher.cc std::string output = StringToLowerASCII(base::HexEncode(hash, sizeof(hash))); base 465 chrome/test/chromedriver/chrome_launcher.cc Status GetExtensionBackgroundPage(const base::DictionaryValue* manifest, base 471 chrome/test/chromedriver/chrome_launcher.cc const base::Value* unused_value; base 483 chrome/test/chromedriver/chrome_launcher.cc const base::FilePath& temp_dir, base 484 chrome/test/chromedriver/chrome_launcher.cc base::FilePath* path, base 491 chrome/test/chromedriver/chrome_launcher.cc base::RemoveChars(extension, "\n", &extension_base64); base 493 chrome/test/chromedriver/chrome_launcher.cc if (!base::Base64Decode(extension_base64, &decoded_extension)) base 506 chrome/test/chromedriver/chrome_launcher.cc base::Base64Encode(public_key, &public_key_base64); base 510 chrome/test/chromedriver/chrome_launcher.cc base::ScopedTempDir temp_crx_dir; base 513 chrome/test/chromedriver/chrome_launcher.cc base::FilePath extension_crx = temp_crx_dir.path().AppendASCII("temp.crx"); base 515 chrome/test/chromedriver/chrome_launcher.cc if (base::WriteFile(extension_crx, decoded_extension.c_str(), size) != base 519 chrome/test/chromedriver/chrome_launcher.cc base::FilePath extension_dir = temp_dir.AppendASCII("extension_" + id); base 524 chrome/test/chromedriver/chrome_launcher.cc base::FilePath manifest_path(extension_dir.AppendASCII("manifest.json")); base 526 chrome/test/chromedriver/chrome_launcher.cc if (!base::ReadFileToString(manifest_path, &manifest_data)) base 528 chrome/test/chromedriver/chrome_launcher.cc scoped_ptr<base::Value> manifest_value(base::JSONReader::Read(manifest_data)); base 529 chrome/test/chromedriver/chrome_launcher.cc base::DictionaryValue* manifest; base 539 chrome/test/chromedriver/chrome_launcher.cc if (!base::Base64Decode(manifest_key_base64, &manifest_key)) base 554 chrome/test/chromedriver/chrome_launcher.cc base::JSONWriter::Write(manifest, &manifest_data); base 555 chrome/test/chromedriver/chrome_launcher.cc if (base::WriteFile( base 576 chrome/test/chromedriver/chrome_launcher.cc const base::FilePath::StringType& extension) { base 577 chrome/test/chromedriver/chrome_launcher.cc base::FilePath::StringType value = switches->GetSwitchValueNative(name); base 585 chrome/test/chromedriver/chrome_launcher.cc const base::FilePath& temp_dir, base 590 chrome/test/chromedriver/chrome_launcher.cc std::vector<base::FilePath::StringType> extension_paths; base 592 chrome/test/chromedriver/chrome_launcher.cc base::FilePath path; base 598 chrome/test/chromedriver/chrome_launcher.cc base::StringPrintf("cannot process extension #%" PRIuS, i + 1), base 607 chrome/test/chromedriver/chrome_launcher.cc base::FilePath automation_extension; base 620 chrome/test/chromedriver/chrome_launcher.cc base::FilePath::StringType extension_paths_value = JoinString( base 630 chrome/test/chromedriver/chrome_launcher.cc const base::DictionaryValue* custom_prefs, base 631 chrome/test/chromedriver/chrome_launcher.cc const base::FilePath& path) { base 634 chrome/test/chromedriver/chrome_launcher.cc scoped_ptr<base::Value> template_value(base::JSONReader::ReadAndReturnError( base 636 chrome/test/chromedriver/chrome_launcher.cc base::DictionaryValue* prefs; base 643 chrome/test/chromedriver/chrome_launcher.cc for (base::DictionaryValue::Iterator it(*custom_prefs); !it.IsAtEnd(); base 650 chrome/test/chromedriver/chrome_launcher.cc base::JSONWriter::Write(prefs, &prefs_str); base 653 chrome/test/chromedriver/chrome_launcher.cc if (static_cast<int>(prefs_str.length()) != base::WriteFile( base 661 chrome/test/chromedriver/chrome_launcher.cc const base::FilePath& user_data_dir, base 662 chrome/test/chromedriver/chrome_launcher.cc const base::DictionaryValue* custom_prefs, base 663 chrome/test/chromedriver/chrome_launcher.cc const base::DictionaryValue* custom_local_state) { base 664 chrome/test/chromedriver/chrome_launcher.cc base::FilePath default_dir = base 666 chrome/test/chromedriver/chrome_launcher.cc if (!base::CreateDirectory(default_dir)) base 684 chrome/test/chromedriver/chrome_launcher.cc if (base::WriteFile( base 19 chrome/test/chromedriver/chrome_launcher.h namespace base { base 43 chrome/test/chromedriver/chrome_launcher.h const base::FilePath& temp_dir, base 48 chrome/test/chromedriver/chrome_launcher.h const base::FilePath& user_data_dir, base 49 chrome/test/chromedriver/chrome_launcher.h const base::DictionaryValue* custom_prefs, base 50 chrome/test/chromedriver/chrome_launcher.h const base::DictionaryValue* custom_local_state); base 24 chrome/test/chromedriver/chrome_launcher_unittest.cc base::FilePath extension_dir; base 35 chrome/test/chromedriver/chrome_launcher_unittest.cc base::FilePath source_root; base 36 chrome/test/chromedriver/chrome_launcher_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &source_root); base 37 chrome/test/chromedriver/chrome_launcher_unittest.cc base::FilePath crx_file_path = source_root.AppendASCII( base 40 chrome/test/chromedriver/chrome_launcher_unittest.cc if (!base::ReadFileToString(crx_file_path, &crx_contents)) base 44 chrome/test/chromedriver/chrome_launcher_unittest.cc base::Base64Encode(crx_contents, &crx_encoded); base 51 chrome/test/chromedriver/chrome_launcher_unittest.cc base::ScopedTempDir extension_dir; base 78 chrome/test/chromedriver/chrome_launcher_unittest.cc base::ScopedTempDir extension_dir; base 87 chrome/test/chromedriver/chrome_launcher_unittest.cc base::FilePath temp_ext_path(switches.GetSwitchValueNative("load-extension")); base 88 chrome/test/chromedriver/chrome_launcher_unittest.cc ASSERT_TRUE(base::PathExists(temp_ext_path)); base 90 chrome/test/chromedriver/chrome_launcher_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 92 chrome/test/chromedriver/chrome_launcher_unittest.cc scoped_ptr<base::Value> manifest(base::JSONReader::Read(manifest_txt)); base 94 chrome/test/chromedriver/chrome_launcher_unittest.cc base::DictionaryValue* manifest_dict = NULL; base 116 chrome/test/chromedriver/chrome_launcher_unittest.cc base::ScopedTempDir extension_dir; base 128 chrome/test/chromedriver/chrome_launcher_unittest.cc base::SplitString(ext_paths, FILE_PATH_LITERAL(','), &ext_path_list); base 130 chrome/test/chromedriver/chrome_launcher_unittest.cc ASSERT_TRUE(base::PathExists(base::FilePath(ext_path_list[0]))); base 131 chrome/test/chromedriver/chrome_launcher_unittest.cc ASSERT_TRUE(base::PathExists(base::FilePath(ext_path_list[1]))); base 138 chrome/test/chromedriver/chrome_launcher_unittest.cc base::ScopedTempDir extension_dir; base 147 chrome/test/chromedriver/chrome_launcher_unittest.cc base::FilePath::StringType load = switches.GetSwitchValueNative( base 150 chrome/test/chromedriver/chrome_launcher_unittest.cc ASSERT_TRUE(base::PathExists(base::FilePath(load.substr(3)))); base 155 chrome/test/chromedriver/chrome_launcher_unittest.cc void AssertEQ(const base::DictionaryValue& dict, const std::string& key, base 165 chrome/test/chromedriver/chrome_launcher_unittest.cc base::ScopedTempDir temp_dir; base 168 chrome/test/chromedriver/chrome_launcher_unittest.cc base::DictionaryValue prefs; base 171 chrome/test/chromedriver/chrome_launcher_unittest.cc base::DictionaryValue local_state; base 178 chrome/test/chromedriver/chrome_launcher_unittest.cc base::FilePath prefs_file = base 182 chrome/test/chromedriver/chrome_launcher_unittest.cc ASSERT_TRUE(base::ReadFileToString(prefs_file, &prefs_str)); base 183 chrome/test/chromedriver/chrome_launcher_unittest.cc scoped_ptr<base::Value> prefs_value(base::JSONReader::Read(prefs_str)); base 184 chrome/test/chromedriver/chrome_launcher_unittest.cc const base::DictionaryValue* prefs_dict = NULL; base 189 chrome/test/chromedriver/chrome_launcher_unittest.cc base::FilePath local_state_file = base 192 chrome/test/chromedriver/chrome_launcher_unittest.cc ASSERT_TRUE(base::ReadFileToString(local_state_file, &local_state_str)); base 193 chrome/test/chromedriver/chrome_launcher_unittest.cc scoped_ptr<base::Value> local_state_value( base 194 chrome/test/chromedriver/chrome_launcher_unittest.cc base::JSONReader::Read(local_state_str)); base 195 chrome/test/chromedriver/chrome_launcher_unittest.cc const base::DictionaryValue* local_state_dict = NULL; base 13 chrome/test/chromedriver/command.h namespace base { base 20 chrome/test/chromedriver/command.h typedef base::Callback<void( base 22 chrome/test/chromedriver/command.h scoped_ptr<base::Value>, base 25 chrome/test/chromedriver/command.h typedef base::Callback<void( base 26 chrome/test/chromedriver/command.h const base::DictionaryValue&, base 30 chrome/test/chromedriver/commands.cc const base::DictionaryValue& params, base 33 chrome/test/chromedriver/commands.cc base::DictionaryValue build; base 36 chrome/test/chromedriver/commands.cc base::DictionaryValue os; base 37 chrome/test/chromedriver/commands.cc os.SetString("name", base::SysInfo::OperatingSystemName()); base 38 chrome/test/chromedriver/commands.cc os.SetString("version", base::SysInfo::OperatingSystemVersion()); base 39 chrome/test/chromedriver/commands.cc os.SetString("arch", base::SysInfo::OperatingSystemArchitecture()); base 41 chrome/test/chromedriver/commands.cc base::DictionaryValue info; base 45 chrome/test/chromedriver/commands.cc Status(kOk), scoped_ptr<base::Value>(info.DeepCopy()), std::string()); base 51 chrome/test/chromedriver/commands.cc const base::DictionaryValue& params, base 58 chrome/test/chromedriver/commands.cc scoped_ptr<base::Thread> thread(new base::Thread(new_id.c_str())); base 62 chrome/test/chromedriver/commands.cc scoped_ptr<base::Value>(), base 68 chrome/test/chromedriver/commands.cc FROM_HERE, base::Bind(&SetThreadLocalSession, base::Passed(&session))); base 76 chrome/test/chromedriver/commands.cc void OnSessionQuit(const base::WeakPtr<size_t>& quit_remaining_count, base 77 chrome/test/chromedriver/commands.cc const base::Closure& all_quit_func, base 79 chrome/test/chromedriver/commands.cc scoped_ptr<base::Value> value, base 95 chrome/test/chromedriver/commands.cc const base::DictionaryValue& params, base 99 chrome/test/chromedriver/commands.cc base::WeakPtrFactory<size_t> weak_ptr_factory(&quit_remaining_count); base 101 chrome/test/chromedriver/commands.cc callback.Run(Status(kOk), scoped_ptr<base::Value>(), session_id); base 104 chrome/test/chromedriver/commands.cc base::RunLoop run_loop; base 110 chrome/test/chromedriver/commands.cc base::Bind(&OnSessionQuit, base 114 chrome/test/chromedriver/commands.cc base::MessageLoop::current()->PostDelayedTask( base 115 chrome/test/chromedriver/commands.cc FROM_HERE, run_loop.QuitClosure(), base::TimeDelta::FromSeconds(10)); base 118 chrome/test/chromedriver/commands.cc base::MessageLoop::current()->SetNestableTasksAllowed(true); base 120 chrome/test/chromedriver/commands.cc callback.Run(Status(kOk), scoped_ptr<base::Value>(), session_id); base 134 chrome/test/chromedriver/commands.cc scoped_ptr<base::DictionaryValue> params, base 135 chrome/test/chromedriver/commands.cc scoped_refptr<base::SingleThreadTaskRunner> cmd_task_runner, base 137 chrome/test/chromedriver/commands.cc const base::Closure& terminate_on_cmd) { base 142 chrome/test/chromedriver/commands.cc base::Bind(callback_on_cmd, base 144 chrome/test/chromedriver/commands.cc base::Passed(scoped_ptr<base::Value>()), base 153 chrome/test/chromedriver/commands.cc scoped_ptr<base::Value> value; base 205 chrome/test/chromedriver/commands.cc base::Bind(callback_on_cmd, status, base::Passed(&value), session->id)); base 221 chrome/test/chromedriver/commands.cc const base::DictionaryValue& params, base 227 chrome/test/chromedriver/commands.cc callback.Run(status, scoped_ptr<base::Value>(), session_id); base 231 chrome/test/chromedriver/commands.cc base::Bind(&ExecuteSessionCommandOnSessionThread, base 235 chrome/test/chromedriver/commands.cc base::Passed(make_scoped_ptr(params.DeepCopy())), base 236 chrome/test/chromedriver/commands.cc base::MessageLoopProxy::current(), base 238 chrome/test/chromedriver/commands.cc base::Bind(&TerminateSessionThreadOnCommandThread, base 16 chrome/test/chromedriver/commands.h namespace base { base 26 chrome/test/chromedriver/commands.h const base::DictionaryValue& params, base 34 chrome/test/chromedriver/commands.h const base::DictionaryValue& params, base 42 chrome/test/chromedriver/commands.h const base::DictionaryValue& params, base 46 chrome/test/chromedriver/commands.h typedef base::Callback<Status( base 48 chrome/test/chromedriver/commands.h const base::DictionaryValue&, base 49 chrome/test/chromedriver/commands.h scoped_ptr<base::Value>*)> SessionCommand; base 58 chrome/test/chromedriver/commands.h const base::DictionaryValue& params, base 32 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> value, base 35 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue* dict; base 37 chrome/test/chromedriver/commands_unittest.cc base::Value* unused; base 47 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 48 chrome/test/chromedriver/commands_unittest.cc ExecuteGetStatus(params, std::string(), base::Bind(&OnGetStatus)); base 55 chrome/test/chromedriver/commands_unittest.cc const base::DictionaryValue& params, base 64 chrome/test/chromedriver/commands_unittest.cc callback.Run(Status(kOk), scoped_ptr<base::Value>(), session_id); base 68 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> value, base 80 chrome/test/chromedriver/commands_unittest.cc map[session.id] = make_linked_ptr(new base::Thread("1")); base 81 chrome/test/chromedriver/commands_unittest.cc map[session2.id] = make_linked_ptr(new base::Thread("2")); base 84 chrome/test/chromedriver/commands_unittest.cc Command cmd = base::Bind(&ExecuteStubQuit, &count); base 85 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 86 chrome/test/chromedriver/commands_unittest.cc base::MessageLoop loop; base 87 chrome/test/chromedriver/commands_unittest.cc ExecuteQuitAll(cmd, &map, params, std::string(), base::Bind(&OnQuitAll)); base 95 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue* expected_params, base 96 chrome/test/chromedriver/commands_unittest.cc base::Value* value, base 98 chrome/test/chromedriver/commands_unittest.cc const base::DictionaryValue& params, base 99 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value>* return_value) { base 107 chrome/test/chromedriver/commands_unittest.cc void OnSimpleCommand(base::RunLoop* run_loop, base 109 chrome/test/chromedriver/commands_unittest.cc base::Value* expected_value, base 111 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> value, base 123 chrome/test/chromedriver/commands_unittest.cc linked_ptr<base::Thread> thread(new base::Thread("1")); base 128 chrome/test/chromedriver/commands_unittest.cc base::Bind(&internal::CreateSessionOnSessionThreadForTesting, id)); base 131 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 133 chrome/test/chromedriver/commands_unittest.cc base::FundamentalValue expected_value(6); base 134 chrome/test/chromedriver/commands_unittest.cc SessionCommand cmd = base::Bind( base 137 chrome/test/chromedriver/commands_unittest.cc base::MessageLoop loop; base 138 chrome/test/chromedriver/commands_unittest.cc base::RunLoop run_loop; base 146 chrome/test/chromedriver/commands_unittest.cc base::Bind(&OnSimpleCommand, &run_loop, id, &expected_value)); base 154 chrome/test/chromedriver/commands_unittest.cc const base::DictionaryValue& params, base 155 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value>* value) { base 161 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> value, base 168 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> value, base 178 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 181 chrome/test/chromedriver/commands_unittest.cc base::Bind(&ShouldNotBeCalled), base 185 chrome/test/chromedriver/commands_unittest.cc base::Bind(&OnNoSuchSession)); base 190 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 193 chrome/test/chromedriver/commands_unittest.cc base::Bind(&ShouldNotBeCalled), base 197 chrome/test/chromedriver/commands_unittest.cc base::Bind(&OnNoSuchSessionIsOk)); base 202 chrome/test/chromedriver/commands_unittest.cc void OnNoSuchSessionAndQuit(base::RunLoop* run_loop, base 204 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> value, base 215 chrome/test/chromedriver/commands_unittest.cc linked_ptr<base::Thread> thread(new base::Thread("1")); base 220 chrome/test/chromedriver/commands_unittest.cc base::MessageLoop loop; base 221 chrome/test/chromedriver/commands_unittest.cc base::RunLoop run_loop; base 224 chrome/test/chromedriver/commands_unittest.cc base::Bind(&ShouldNotBeCalled), base 226 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue(), base 228 chrome/test/chromedriver/commands_unittest.cc base::Bind(&OnNoSuchSessionAndQuit, &run_loop)); base 251 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue element; base 255 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue element1; base 257 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue element2; base 259 chrome/test/chromedriver/commands_unittest.cc base::ListValue list; base 268 chrome/test/chromedriver/commands_unittest.cc result_.reset(base::Value::CreateNullValue()); base 270 chrome/test/chromedriver/commands_unittest.cc result_.reset(new base::ListValue()); base 278 chrome/test/chromedriver/commands_unittest.cc const base::ListValue* expected_args, base 279 chrome/test/chromedriver/commands_unittest.cc const base::Value* actrual_result) { base 296 chrome/test/chromedriver/commands_unittest.cc const base::ListValue& args, base 297 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value>* result) OVERRIDE { base 303 chrome/test/chromedriver/commands_unittest.cc result->reset(base::Value::CreateNullValue()); base 305 chrome/test/chromedriver/commands_unittest.cc result->reset(new base::ListValue()); base 336 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::ListValue> args_; base 337 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result_; base 345 chrome/test/chromedriver/commands_unittest.cc session.implicit_wait = base::TimeDelta::FromSeconds(1); base 347 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 350 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 353 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue param; base 355 chrome/test/chromedriver/commands_unittest.cc base::ListValue expected_args; base 363 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 366 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 374 chrome/test/chromedriver/commands_unittest.cc session.implicit_wait = base::TimeDelta::FromSeconds(1); base 376 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 379 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 383 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue param; base 385 chrome/test/chromedriver/commands_unittest.cc base::ListValue expected_args; base 393 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 396 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 400 chrome/test/chromedriver/commands_unittest.cc base::ListValue* list; base 408 chrome/test/chromedriver/commands_unittest.cc session.implicit_wait = base::TimeDelta::FromSeconds(1); base 410 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 414 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 419 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue locator_param; base 421 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue root_element_param; base 423 chrome/test/chromedriver/commands_unittest.cc base::ListValue expected_args; base 432 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 436 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 446 chrome/test/chromedriver/commands_unittest.cc session.implicit_wait = base::TimeDelta::FromSeconds(1); base 448 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 452 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 457 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue locator_param; base 459 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue root_element_param; base 461 chrome/test/chromedriver/commands_unittest.cc base::ListValue expected_args; base 470 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 474 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 479 chrome/test/chromedriver/commands_unittest.cc base::ListValue* list; base 487 chrome/test/chromedriver/commands_unittest.cc session.implicit_wait = base::TimeDelta::FromMilliseconds(2); base 488 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 492 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 508 chrome/test/chromedriver/commands_unittest.cc const base::ListValue& args, base 509 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value>* result) OVERRIDE { base 522 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 525 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> value; base 535 chrome/test/chromedriver/commands_unittest.cc base::DictionaryValue params; base 539 chrome/test/chromedriver/commands_unittest.cc scoped_ptr<base::Value> result; base 37 chrome/test/chromedriver/element_commands.cc const base::ListValue* key_list) { base 40 chrome/test/chromedriver/element_commands.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 53 chrome/test/chromedriver/element_commands.cc if (base::TimeTicks::Now() - start_time >= session->implicit_wait) { base 56 chrome/test/chromedriver/element_commands.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 67 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 69 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value> result; base 83 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 84 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 85 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 100 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 101 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 113 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 114 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 124 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 125 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 134 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 135 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 157 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 158 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 202 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 203 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 227 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 228 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 265 chrome/test/chromedriver/element_commands.cc base::PlatformThread::Sleep( base 266 chrome/test/chromedriver/element_commands.cc base::TimeDelta::FromMilliseconds(1000 / kFlickTouchEventsPerSecond)); base 276 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 277 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 278 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 280 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value> result; base 291 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 292 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 293 chrome/test/chromedriver/element_commands.cc const base::ListValue* key_list; base 309 chrome/test/chromedriver/element_commands.cc base::FilePath::StringType paths_string; base 311 chrome/test/chromedriver/element_commands.cc base::FilePath::StringType path_part; base 318 chrome/test/chromedriver/element_commands.cc std::vector<base::FilePath::StringType> path_strings; base 319 chrome/test/chromedriver/element_commands.cc base::SplitString(paths_string, '\n', &path_strings); base 320 chrome/test/chromedriver/element_commands.cc std::vector<base::FilePath> paths; base 322 chrome/test/chromedriver/element_commands.cc paths.push_back(base::FilePath(path_strings[i])); base 332 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::DictionaryValue> element(CreateElement(element_id)); base 344 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 345 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 346 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 359 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 360 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 361 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 374 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 375 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 376 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 389 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 390 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 391 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 404 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 405 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 406 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 419 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 420 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 421 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 434 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 435 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 436 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 449 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 450 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 451 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 464 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 465 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 479 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 480 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 481 chrome/test/chromedriver/element_commands.cc base::ListValue args; base 494 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 495 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 506 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 507 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 516 chrome/test/chromedriver/element_commands.cc value->reset(new base::StringValue(property_value)); base 524 chrome/test/chromedriver/element_commands.cc const base::DictionaryValue& params, base 525 chrome/test/chromedriver/element_commands.cc scoped_ptr<base::Value>* value) { base 529 chrome/test/chromedriver/element_commands.cc value->reset(new base::FundamentalValue(element_id == other_element_id)); base 13 chrome/test/chromedriver/element_commands.h namespace base { base 22 chrome/test/chromedriver/element_commands.h typedef base::Callback<Status( base 26 chrome/test/chromedriver/element_commands.h const base::DictionaryValue&, base 27 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>*)> ElementCommand; base 34 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 35 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 43 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 44 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 52 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 53 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 60 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 61 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 68 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 69 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 76 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 77 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 84 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 85 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 92 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 93 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 100 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 101 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 108 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 109 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 116 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 117 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 124 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 125 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 132 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 133 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 139 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 140 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 146 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 147 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 153 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 154 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 161 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 162 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 170 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 171 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 177 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 178 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 184 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 185 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 192 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 193 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 200 chrome/test/chromedriver/element_commands.h const base::DictionaryValue& params, base 201 chrome/test/chromedriver/element_commands.h scoped_ptr<base::Value>* value); base 25 chrome/test/chromedriver/element_util.cc bool ParseFromValue(base::Value* value, WebPoint* point) { base 26 chrome/test/chromedriver/element_util.cc base::DictionaryValue* dict_value; base 38 chrome/test/chromedriver/element_util.cc bool ParseFromValue(base::Value* value, WebSize* size) { base 39 chrome/test/chromedriver/element_util.cc base::DictionaryValue* dict_value; base 51 chrome/test/chromedriver/element_util.cc bool ParseFromValue(base::Value* value, WebRect* rect) { base 52 chrome/test/chromedriver/element_util.cc base::DictionaryValue* dict_value; base 68 chrome/test/chromedriver/element_util.cc base::Value* CreateValueFrom(const WebRect& rect) { base 69 chrome/test/chromedriver/element_util.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 81 chrome/test/chromedriver/element_util.cc const base::ListValue& args, base 82 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value>* result) { base 92 chrome/test/chromedriver/element_util.cc base::ListValue args; base 95 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 101 chrome/test/chromedriver/element_util.cc base::DictionaryValue* dict; base 127 chrome/test/chromedriver/element_util.cc base::ListValue args; base 131 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 159 chrome/test/chromedriver/element_util.cc base::ListValue args; base 162 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 193 chrome/test/chromedriver/element_util.cc base::StringToInt(border_left_str, &border_left_tmp); base 194 chrome/test/chromedriver/element_util.cc base::StringToInt(border_top_str, &border_top_tmp); base 204 chrome/test/chromedriver/element_util.cc base::DictionaryValue* CreateElement(const std::string& element_id) { base 205 chrome/test/chromedriver/element_util.cc base::DictionaryValue* element = new base::DictionaryValue(); base 210 chrome/test/chromedriver/element_util.cc base::Value* CreateValueFrom(const WebPoint& point) { base 211 chrome/test/chromedriver/element_util.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 223 chrome/test/chromedriver/element_util.cc const base::DictionaryValue& params, base 224 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value>* value) { base 237 chrome/test/chromedriver/element_util.cc scoped_ptr<base::DictionaryValue> locator(new base::DictionaryValue()); base 239 chrome/test/chromedriver/element_util.cc base::ListValue arguments; base 244 chrome/test/chromedriver/element_util.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 246 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> temp; base 252 chrome/test/chromedriver/element_util.cc if (!temp->IsType(base::Value::TYPE_NULL)) { base 257 chrome/test/chromedriver/element_util.cc base::ListValue* result; base 268 chrome/test/chromedriver/element_util.cc if (base::TimeTicks::Now() - start_time >= session->implicit_wait) { base 272 chrome/test/chromedriver/element_util.cc value->reset(new base::ListValue()); base 276 chrome/test/chromedriver/element_util.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(interval_ms)); base 285 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value>* value) { base 286 chrome/test/chromedriver/element_util.cc base::ListValue args; base 299 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 303 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> element_dict(CreateElement(element_id)); base 313 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value>* value) { base 314 chrome/test/chromedriver/element_util.cc base::ListValue args; base 329 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 370 chrome/test/chromedriver/element_util.cc base::ListValue args; base 372 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 377 chrome/test/chromedriver/element_util.cc const base::DictionaryValue* element_dict; base 430 chrome/test/chromedriver/element_util.cc base::ListValue args; base 432 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 449 chrome/test/chromedriver/element_util.cc base::ListValue args; base 451 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 468 chrome/test/chromedriver/element_util.cc base::ListValue args; base 470 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 487 chrome/test/chromedriver/element_util.cc base::ListValue args; base 490 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 506 chrome/test/chromedriver/element_util.cc base::ListValue args; base 508 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 524 chrome/test/chromedriver/element_util.cc base::ListValue args; base 526 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 542 chrome/test/chromedriver/element_util.cc base::ListValue args; base 544 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 561 chrome/test/chromedriver/element_util.cc base::ListValue args; base 564 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 618 chrome/test/chromedriver/element_util.cc base::ListValue args; base 620 chrome/test/chromedriver/element_util.cc base::StringPrintf("//*[@cd_frame_id_ = '%s']", base 622 chrome/test/chromedriver/element_util.cc scoped_ptr<base::Value> result; base 627 chrome/test/chromedriver/element_util.cc const base::DictionaryValue* element_dict; base 13 chrome/test/chromedriver/element_util.h namespace base { base 23 chrome/test/chromedriver/element_util.h base::DictionaryValue* CreateElement(const std::string& element_id); base 25 chrome/test/chromedriver/element_util.h base::Value* CreateValueFrom(const WebPoint& point); base 34 chrome/test/chromedriver/element_util.h const base::DictionaryValue& params, base 35 chrome/test/chromedriver/element_util.h scoped_ptr<base::Value>* value); base 40 chrome/test/chromedriver/element_util.h scoped_ptr<base::Value>* value); base 53 chrome/test/chromedriver/element_util.h scoped_ptr<base::Value>* value); base 94 chrome/test/chromedriver/key_converter.cc const base::char16 kWebDriverNullKey = 0xE000U; base 95 chrome/test/chromedriver/key_converter.cc const base::char16 kWebDriverShiftKey = 0xE008U; base 96 chrome/test/chromedriver/key_converter.cc const base::char16 kWebDriverControlKey = 0xE009U; base 97 chrome/test/chromedriver/key_converter.cc const base::char16 kWebDriverAltKey = 0xE00AU; base 98 chrome/test/chromedriver/key_converter.cc const base::char16 kWebDriverCommandKey = 0xE03DU; base 110 chrome/test/chromedriver/key_converter.cc bool IsModifierKey(base::char16 key) { base 125 chrome/test/chromedriver/key_converter.cc bool KeyCodeFromSpecialWebDriverKey(base::char16 key, base 140 chrome/test/chromedriver/key_converter.cc bool KeyCodeFromShorthandKey(base::char16 key_utf16, base 143 chrome/test/chromedriver/key_converter.cc base::string16 key_str_utf16; base 145 chrome/test/chromedriver/key_converter.cc std::string key_str_utf8 = base::UTF16ToUTF8(key_str_utf16); base 190 chrome/test/chromedriver/key_converter.cc Status ConvertKeysToKeyEvents(const base::string16& client_keys, base 196 chrome/test/chromedriver/key_converter.cc base::string16 keys = client_keys; base 204 chrome/test/chromedriver/key_converter.cc base::char16 key = keys[i]; base 262 chrome/test/chromedriver/key_converter.cc return Status(kUnknownError, base::StringPrintf( base 307 chrome/test/chromedriver/key_converter.cc unmodified_text = base::UTF16ToUTF8(keys.substr(i, 1)); base 308 chrome/test/chromedriver/key_converter.cc modified_text = base::UTF16ToUTF8(keys.substr(i, 1)); base 29 chrome/test/chromedriver/key_converter.h Status ConvertKeysToKeyEvents(const base::string16& keys, base 18 chrome/test/chromedriver/key_converter_unittest.cc void CheckEvents(const base::string16& keys, base 43 chrome/test/chromedriver/key_converter_unittest.cc void CheckEventsReleaseModifiers(const base::string16& keys, base 53 chrome/test/chromedriver/key_converter_unittest.cc CheckEventsReleaseModifiers(base::UTF8ToUTF16(keys), base 62 chrome/test/chromedriver/key_converter_unittest.cc EXPECT_EQ(kOk, ConvertKeysToKeyEvents(base::ASCIIToUTF16(char_string), base 82 chrome/test/chromedriver/key_converter_unittest.cc EXPECT_EQ(kOk, ConvertKeysToKeyEvents(base::ASCIIToUTF16(char_string), base 138 chrome/test/chromedriver/key_converter_unittest.cc base::string16 keys; base 139 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE00DU)); base 147 chrome/test/chromedriver/key_converter_unittest.cc base::string16 keys; base 148 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE031U)); base 155 chrome/test/chromedriver/key_converter_unittest.cc CreateCharEvent(base::WideToUTF8(L"\u00E9"), base 156 chrome/test/chromedriver/key_converter_unittest.cc base::WideToUTF8(L"\u00E9"), 0), base 158 chrome/test/chromedriver/key_converter_unittest.cc CheckEventsReleaseModifiers(base::WideToUTF16(L"\u00E9"), base 212 chrome/test/chromedriver/key_converter_unittest.cc base::string16 keys; base 213 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE008U)); base 214 chrome/test/chromedriver/key_converter_unittest.cc keys.append(base::UTF8ToUTF16("aBc")); base 228 chrome/test/chromedriver/key_converter_unittest.cc base::string16 keys; base 229 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE008U)); base 230 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE008U)); base 231 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE009U)); base 232 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE009U)); base 233 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE00AU)); base 234 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE00AU)); base 235 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE03DU)); base 236 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE03DU)); base 280 chrome/test/chromedriver/key_converter_unittest.cc base::string16 keys; base 348 chrome/test/chromedriver/key_converter_unittest.cc base::string16 keys; base 389 chrome/test/chromedriver/key_converter_unittest.cc base::string16 keys; base 390 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE008U)); base 391 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE009U)); base 392 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE00AU)); base 393 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE03DU)); base 406 chrome/test/chromedriver/key_converter_unittest.cc base::string16 keys; base 407 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE008U)); base 408 chrome/test/chromedriver/key_converter_unittest.cc keys.push_back(static_cast<base::char16>(0xE009U)); base 30 chrome/test/chromedriver/keycode_text_conversion.h bool ConvertCharToKeyCode(base::char16 key, base 21 chrome/test/chromedriver/keycode_text_conversion_ozone.cc base::char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers, base 17 chrome/test/chromedriver/keycode_text_conversion_unittest.cc void CheckCharToKeyCode16(base::char16 character, ui::KeyboardCode key_code, base 30 chrome/test/chromedriver/keycode_text_conversion_unittest.cc CheckCharToKeyCode16(base::UTF8ToUTF16(std::string(1, character))[0], base 37 chrome/test/chromedriver/keycode_text_conversion_unittest.cc CheckCharToKeyCode16(base::WideToUTF16(std::wstring(1, character))[0], base 45 chrome/test/chromedriver/keycode_text_conversion_unittest.cc base::char16 character_utf16 = base::WideToUTF16(character_string)[0]; base 159 chrome/test/chromedriver/keycode_text_conversion_unittest.cc EXPECT_EQ(base::UTF16ToUTF8(L"\u0438"), base 33 chrome/test/chromedriver/keycode_text_conversion_win.cc base::WideToUTF8(chars, code, text); base 38 chrome/test/chromedriver/keycode_text_conversion_win.cc base::char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers, base 227 chrome/test/chromedriver/keycode_text_conversion_x.cc *text = base::UTF16ToUTF8(base::string16(1, character)); base 232 chrome/test/chromedriver/keycode_text_conversion_x.cc base::char16 key, base 236 chrome/test/chromedriver/keycode_text_conversion_x.cc std::string key_string(base::UTF16ToUTF8(base::string16(1, key))); base 104 chrome/test/chromedriver/logging.cc std::string entry = base::StringPrintf( base 106 chrome/test/chromedriver/logging.cc base::TimeDelta(base::TimeTicks::Now() - base 107 chrome/test/chromedriver/logging.cc base::TimeTicks::FromInternalValue(g_start_time)) base 139 chrome/test/chromedriver/logging.cc : type_(type), min_level_(min_level), entries_(new base::ListValue()) { base 147 chrome/test/chromedriver/logging.cc scoped_ptr<base::ListValue> WebDriverLog::GetAndClearEntries() { base 148 chrome/test/chromedriver/logging.cc scoped_ptr<base::ListValue> ret(entries_.release()); base 149 chrome/test/chromedriver/logging.cc entries_.reset(new base::ListValue()); base 154 chrome/test/chromedriver/logging.cc for (base::ListValue::iterator it = entries_->begin(); base 157 chrome/test/chromedriver/logging.cc base::DictionaryValue* log_entry = NULL; base 173 chrome/test/chromedriver/logging.cc void WebDriverLog::AddEntryTimestamped(const base::Time& timestamp, base 180 chrome/test/chromedriver/logging.cc scoped_ptr<base::DictionaryValue> log_entry_dict(new base::DictionaryValue()); base 204 chrome/test/chromedriver/logging.cc g_start_time = base::TimeTicks::Now().ToInternalValue(); base 209 chrome/test/chromedriver/logging.cc base::FilePath log_path = cmd_line->GetSwitchValuePath("log-path"); base 40 chrome/test/chromedriver/logging.h scoped_ptr<base::ListValue> GetAndClearEntries(); base 47 chrome/test/chromedriver/logging.h virtual void AddEntryTimestamped(const base::Time& timestamp, base 59 chrome/test/chromedriver/logging.h scoped_ptr<base::ListValue> entries_; // Accumulated entries. base 45 chrome/test/chromedriver/logging_unittest.cc void ValidateLogEntry(base::ListValue *entries, base 49 chrome/test/chromedriver/logging_unittest.cc const base::DictionaryValue *entry; base 70 chrome/test/chromedriver/logging_unittest.cc scoped_ptr<base::ListValue> entries(log.GetAndClearEntries()); base 82 chrome/test/chromedriver/logging_unittest.cc scoped_ptr<base::ListValue> entries(log.GetAndClearEntries()); base 92 chrome/test/chromedriver/logging_unittest.cc scoped_ptr<base::ListValue> entries(log.GetAndClearEntries()); base 26 chrome/test/chromedriver/net/adb_client_socket.cc typedef base::Callback<void(int, const std::string&)> CommandCallback; base 27 chrome/test/chromedriver/net/adb_client_socket.cc typedef base::Callback<void(int, net::StreamSocket*)> SocketCallback; base 53 chrome/test/chromedriver/net/adb_client_socket.cc Connect(base::Bind(&AdbTransportSocket::OnConnected, base 54 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this))); base 63 chrome/test/chromedriver/net/adb_client_socket.cc SendCommand(base::StringPrintf(kHostTransportCommand, serial_.c_str()), base 64 chrome/test/chromedriver/net/adb_client_socket.cc true, base::Bind(&AdbTransportSocket::SendLocalAbstract, base 65 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this))); base 71 chrome/test/chromedriver/net/adb_client_socket.cc SendCommand(base::StringPrintf(kLocalAbstractCommand, socket_name_.c_str()), base 72 chrome/test/chromedriver/net/adb_client_socket.cc true, base::Bind(&AdbTransportSocket::OnSocketAvailable, base 73 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this))); base 129 chrome/test/chromedriver/net/adb_client_socket.cc base::Bind(&HttpOverAdbSocket::OnSocketAvailable, base 130 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this))); base 146 chrome/test/chromedriver/net/adb_client_socket.cc base::Bind(&HttpOverAdbSocket::ReadResponse, base::Unretained(this))); base 160 chrome/test/chromedriver/net/adb_client_socket.cc base::Bind(&HttpOverAdbSocket::OnResponseData, base 161 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this), base 187 chrome/test/chromedriver/net/adb_client_socket.cc base::TrimWhitespace(len, base::TRIM_ALL, &len); base 188 chrome/test/chromedriver/net/adb_client_socket.cc if (!base::StringToInt(len, &expected_length)) { base 213 chrome/test/chromedriver/net/adb_client_socket.cc base::Bind(&HttpOverAdbSocket::OnResponseData, base 214 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this), base 252 chrome/test/chromedriver/net/adb_client_socket.cc Connect(base::Bind(&AdbQuerySocket::SendNextQuery, base 253 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this))); base 270 chrome/test/chromedriver/net/adb_client_socket.cc base::Bind(&AdbQuerySocket::OnResponse, base::Unretained(this))); base 324 chrome/test/chromedriver/net/adb_client_socket.cc if (!base::StringToInt(socket_name, &tcp_port)) base 331 chrome/test/chromedriver/net/adb_client_socket.cc socket->Connect(base::Bind(&UseTransportQueryForDesktop, callback, socket)); base 388 chrome/test/chromedriver/net/adb_client_socket.cc base::Bind(&AdbClientSocket::ReadResponse, base 389 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this), base 407 chrome/test/chromedriver/net/adb_client_socket.cc base::Bind(&AdbClientSocket::OnResponseHeader, base 408 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this), base 445 chrome/test/chromedriver/net/adb_client_socket.cc base::HexStringToInt(data.substr(0, 4), &payload_length)) { base 479 chrome/test/chromedriver/net/adb_client_socket.cc base::Bind(&AdbClientSocket::OnResponseData, base 480 chrome/test/chromedriver/net/adb_client_socket.cc base::Unretained(this), base 14 chrome/test/chromedriver/net/adb_client_socket.h typedef base::Callback<void(int, const std::string&)> CommandCallback; base 15 chrome/test/chromedriver/net/adb_client_socket.h typedef base::Callback<void(int result, base 34 chrome/test/chromedriver/net/net_util.cc base::Bind(&SyncUrlFetcher::FetchOnIOThread, base::Unretained(this))); base 57 chrome/test/chromedriver/net/net_util.cc base::WaitableEvent event_; base 78 chrome/test/chromedriver/net/net_util.cc return host_ + base::StringPrintf(":%d", port_); base 35 chrome/test/chromedriver/net/net_util_unittest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 39 chrome/test/chromedriver/net/net_util_unittest.cc base::WaitableEvent event(false, false); base 42 chrome/test/chromedriver/net/net_util_unittest.cc base::Bind(&FetchUrlTest::InitOnIO, base 43 chrome/test/chromedriver/net/net_util_unittest.cc base::Unretained(this), &event)); base 48 chrome/test/chromedriver/net/net_util_unittest.cc base::WaitableEvent event(false, false); base 51 chrome/test/chromedriver/net/net_util_unittest.cc base::Bind(&FetchUrlTest::DestroyServerOnIO, base 52 chrome/test/chromedriver/net/net_util_unittest.cc base::Unretained(this), &event)); base 56 chrome/test/chromedriver/net/net_util_unittest.cc void InitOnIO(base::WaitableEvent* event) { base 61 chrome/test/chromedriver/net/net_util_unittest.cc server_url_ = base::StringPrintf("http://127.0.0.1:%d", address.port()); base 65 chrome/test/chromedriver/net/net_util_unittest.cc void DestroyServerOnIO(base::WaitableEvent* event) { base 82 chrome/test/chromedriver/net/net_util_unittest.cc base::MessageLoop::current()->PostTask( base 84 chrome/test/chromedriver/net/net_util_unittest.cc base::Bind(&net::HttpServer::Close, server_, connection_id)); base 105 chrome/test/chromedriver/net/net_util_unittest.cc base::Thread io_thread_; base 26 chrome/test/chromedriver/net/port_server.cc PortReservation::PortReservation(const base::Closure& on_free_func, int port) base 50 chrome/test/chromedriver/net/port_server.cc base::AutoLock lock(free_lock_); base 63 chrome/test/chromedriver/net/port_server.cc base::Bind(&PortServer::ReleasePort, base::Unretained(this), port_to_use), base 75 chrome/test/chromedriver/net/port_server.cc base::SyncSocket sock(sock_fd); base 102 chrome/test/chromedriver/net/port_server.cc int proc_id = static_cast<int>(base::GetCurrentProcId()); base 103 chrome/test/chromedriver/net/port_server.cc std::string request = base::IntToString(proc_id); base 123 chrome/test/chromedriver/net/port_server.cc !base::StringToInt(response.substr(0, response.length() - 1), &new_port)) base 133 chrome/test/chromedriver/net/port_server.cc base::AutoLock lock(free_lock_); base 145 chrome/test/chromedriver/net/port_server.cc int start = base::RandInt(min_port_, max_port_); base 169 chrome/test/chromedriver/net/port_server.cc base::AutoLock lock(lock_); base 177 chrome/test/chromedriver/net/port_server.cc base::Bind(&PortManager::ReleasePort, base::Unretained(this), base 185 chrome/test/chromedriver/net/port_server.cc base::AutoLock lock(lock_); base 199 chrome/test/chromedriver/net/port_server.cc base::Bind(&PortManager::ReleasePortToPool, base::Unretained(this), base 206 chrome/test/chromedriver/net/port_server.cc base::AutoLock lock(lock_); base 211 chrome/test/chromedriver/net/port_server.cc base::AutoLock lock(lock_); base 20 chrome/test/chromedriver/net/port_server.h PortReservation(const base::Closure& on_free_func, int port); base 26 chrome/test/chromedriver/net/port_server.h base::Closure on_free_func_; base 46 chrome/test/chromedriver/net/port_server.h base::Lock free_lock_; base 67 chrome/test/chromedriver/net/port_server.h base::Lock lock_; base 37 chrome/test/chromedriver/net/port_server_unittest.cc PortReservation r(base::Bind(&SetOnCall, &called), 100); base 45 chrome/test/chromedriver/net/port_server_unittest.cc PortReservation r(base::Bind(&SetOnCall, &called), 100); base 54 chrome/test/chromedriver/net/port_server_unittest.cc PortReservation r(base::Bind(&SetOnCall, &called), 100); base 66 chrome/test/chromedriver/net/port_server_unittest.cc base::WaitableEvent* listen_event, base 71 chrome/test/chromedriver/net/port_server_unittest.cc base::SyncSocket server_sock(server_sock_fd); base 86 chrome/test/chromedriver/net/port_server_unittest.cc base::TimeTicks deadline = base 87 chrome/test/chromedriver/net/port_server_unittest.cc base::TimeTicks::Now() + base::TimeDelta::FromSeconds(2); base 89 chrome/test/chromedriver/net/port_server_unittest.cc while (base::TimeTicks::Now() < deadline && client_sock_fd < 0) { base 94 chrome/test/chromedriver/net/port_server_unittest.cc base::SyncSocket sock(client_sock_fd); base 106 chrome/test/chromedriver/net/port_server_unittest.cc std::string path = base::GenerateGUID(); base 126 chrome/test/chromedriver/net/port_server_unittest.cc base::WaitableEvent listen_event(false, false); base 129 chrome/test/chromedriver/net/port_server_unittest.cc base::Bind( base 131 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_TRUE(listen_event.TimedWait(base::TimeDelta::FromSeconds(5))); base 135 chrome/test/chromedriver/net/port_server_unittest.cc base::Thread thread_; base 39 chrome/test/chromedriver/net/sync_websocket.h const base::TimeDelta& timeout) = 0; base 23 chrome/test/chromedriver/net/sync_websocket_factory.cc return base::Bind(&CreateSyncWebSocket, make_scoped_refptr(getter)); base 14 chrome/test/chromedriver/net/sync_websocket_factory.h typedef base::Callback<scoped_ptr<SyncWebSocket>()> SyncWebSocketFactory; base 35 chrome/test/chromedriver/net/sync_websocket_impl.cc std::string* message, const base::TimeDelta& timeout) { base 49 chrome/test/chromedriver/net/sync_websocket_impl.cc base::AutoLock lock(lock_); base 55 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent event(false, false); base 58 chrome/test/chromedriver/net/sync_websocket_impl.cc base::Bind(&SyncWebSocketImpl::Core::ConnectOnIO, base 66 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent event(false, false); base 69 chrome/test/chromedriver/net/sync_websocket_impl.cc base::Bind(&SyncWebSocketImpl::Core::SendOnIO, base 77 chrome/test/chromedriver/net/sync_websocket_impl.cc const base::TimeDelta& timeout) { base 78 chrome/test/chromedriver/net/sync_websocket_impl.cc base::AutoLock lock(lock_); base 79 chrome/test/chromedriver/net/sync_websocket_impl.cc base::TimeTicks deadline = base::TimeTicks::Now() + timeout; base 80 chrome/test/chromedriver/net/sync_websocket_impl.cc base::TimeDelta next_wait = timeout; base 82 chrome/test/chromedriver/net/sync_websocket_impl.cc if (next_wait <= base::TimeDelta()) base 85 chrome/test/chromedriver/net/sync_websocket_impl.cc next_wait = deadline - base::TimeTicks::Now(); base 95 chrome/test/chromedriver/net/sync_websocket_impl.cc base::AutoLock lock(lock_); base 100 chrome/test/chromedriver/net/sync_websocket_impl.cc base::AutoLock lock(lock_); base 106 chrome/test/chromedriver/net/sync_websocket_impl.cc base::AutoLock lock(lock_); base 116 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent* event) { base 118 chrome/test/chromedriver/net/sync_websocket_impl.cc base::AutoLock lock(lock_); base 122 chrome/test/chromedriver/net/sync_websocket_impl.cc socket_->Connect(base::Bind( base 129 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent* event, base 133 chrome/test/chromedriver/net/sync_websocket_impl.cc base::AutoLock lock(lock_); base 142 chrome/test/chromedriver/net/sync_websocket_impl.cc base::WaitableEvent* event) { base 148 chrome/test/chromedriver/net/sync_websocket_impl.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner = base 22 chrome/test/chromedriver/net/sync_websocket_impl.h namespace base { base 43 chrome/test/chromedriver/net/sync_websocket_impl.h const base::TimeDelta& timeout) OVERRIDE; base 49 chrome/test/chromedriver/net/sync_websocket_impl.h public base::RefCountedThreadSafe<Core, CoreTraits> { base 58 chrome/test/chromedriver/net/sync_websocket_impl.h const base::TimeDelta& timeout); base 66 chrome/test/chromedriver/net/sync_websocket_impl.h friend class base::RefCountedThreadSafe<Core, CoreTraits>; base 67 chrome/test/chromedriver/net/sync_websocket_impl.h friend class base::DeleteHelper<Core>; base 74 chrome/test/chromedriver/net/sync_websocket_impl.h base::WaitableEvent* event); base 76 chrome/test/chromedriver/net/sync_websocket_impl.h base::WaitableEvent* event, base 80 chrome/test/chromedriver/net/sync_websocket_impl.h base::WaitableEvent* event); base 90 chrome/test/chromedriver/net/sync_websocket_impl.h base::Lock lock_; base 100 chrome/test/chromedriver/net/sync_websocket_impl.h base::ConditionVariable on_update_event_; base 27 chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc long_timeout_(base::TimeDelta::FromMinutes(1)) {} base 31 chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 42 chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc base::Thread client_thread_; base 45 chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc const base::TimeDelta long_timeout_; base 83 chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc &message, base::TimeDelta())); base 144 chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc base::TimeTicks deadline = base 145 chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc base::TimeTicks::Now() + base::TimeDelta::FromSeconds(20); base 146 chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc while (base::TimeTicks::Now() < deadline) { base 148 chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 30 chrome/test/chromedriver/net/test_http_server.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 36 chrome/test/chromedriver/net/test_http_server.cc base::WaitableEvent event(false, false); base 39 chrome/test/chromedriver/net/test_http_server.cc base::Bind(&TestHttpServer::StartOnServerThread, base 40 chrome/test/chromedriver/net/test_http_server.cc base::Unretained(this), &success, &event)); base 48 chrome/test/chromedriver/net/test_http_server.cc base::WaitableEvent event(false, false); base 51 chrome/test/chromedriver/net/test_http_server.cc base::Bind(&TestHttpServer::StopOnServerThread, base 52 chrome/test/chromedriver/net/test_http_server.cc base::Unretained(this), &event)); base 58 chrome/test/chromedriver/net/test_http_server.cc return all_closed_event_.TimedWait(base::TimeDelta::FromSeconds(10)); base 62 chrome/test/chromedriver/net/test_http_server.cc base::AutoLock lock(action_lock_); base 67 chrome/test/chromedriver/net/test_http_server.cc base::AutoLock lock(action_lock_); base 72 chrome/test/chromedriver/net/test_http_server.cc base::AutoLock lock(url_lock_); base 81 chrome/test/chromedriver/net/test_http_server.cc base::AutoLock lock(action_lock_); base 96 chrome/test/chromedriver/net/test_http_server.cc base::MessageLoop::current()->PostTask( base 98 chrome/test/chromedriver/net/test_http_server.cc base::Bind(&net::HttpServer::Close, server_, connection_id)); base 107 chrome/test/chromedriver/net/test_http_server.cc base::AutoLock lock(action_lock_); base 116 chrome/test/chromedriver/net/test_http_server.cc base::MessageLoop::current()->PostTask( base 118 chrome/test/chromedriver/net/test_http_server.cc base::Bind(&net::HttpServer::Close, server_, connection_id)); base 130 chrome/test/chromedriver/net/test_http_server.cc base::WaitableEvent* event) { base 138 chrome/test/chromedriver/net/test_http_server.cc base::AutoLock lock(url_lock_); base 139 chrome/test/chromedriver/net/test_http_server.cc web_socket_url_ = GURL(base::StringPrintf("ws://127.0.0.1:%d", base 148 chrome/test/chromedriver/net/test_http_server.cc void TestHttpServer::StopOnServerThread(base::WaitableEvent* event) { base 19 chrome/test/chromedriver/net/test_http_server.h namespace base { base 74 chrome/test/chromedriver/net/test_http_server.h void StartOnServerThread(bool* success, base::WaitableEvent* event); base 75 chrome/test/chromedriver/net/test_http_server.h void StopOnServerThread(base::WaitableEvent* event); base 77 chrome/test/chromedriver/net/test_http_server.h base::Thread thread_; base 85 chrome/test/chromedriver/net/test_http_server.h base::WaitableEvent all_closed_event_; base 88 chrome/test/chromedriver/net/test_http_server.h mutable base::Lock url_lock_; base 92 chrome/test/chromedriver/net/test_http_server.h base::Lock action_lock_; base 14 chrome/test/chromedriver/net/url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner) base 32 chrome/test/chromedriver/net/url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> base 14 chrome/test/chromedriver/net/url_request_context_getter.h namespace base { base 25 chrome/test/chromedriver/net/url_request_context_getter.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner); base 29 chrome/test/chromedriver/net/url_request_context_getter.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 35 chrome/test/chromedriver/net/url_request_context_getter.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 82 chrome/test/chromedriver/net/websocket.cc base::StringToInt(url_.port(), &port); base 89 chrome/test/chromedriver/net/websocket.cc int code = socket_->Connect(base::Bind( base 90 chrome/test/chromedriver/net/websocket.cc &WebSocket::OnSocketConnect, base::Unretained(this))); base 124 chrome/test/chromedriver/net/websocket.cc base::Base64Encode(base::RandBytesAsString(16), &sec_key_); base 125 chrome/test/chromedriver/net/websocket.cc std::string handshake = base::StringPrintf( base 175 chrome/test/chromedriver/net/websocket.cc base::Bind(&WebSocket::OnWrite, base::Unretained(this))); base 184 chrome/test/chromedriver/net/websocket.cc base::Bind(&WebSocket::OnRead, base::Unretained(this))); base 213 chrome/test/chromedriver/net/websocket.cc base::Base64Encode(base::SHA1HashString(sec_key_ + kMagicKey), base 63 chrome/test/chromedriver/net/websocket.h base::ThreadChecker thread_checker_; base 27 chrome/test/chromedriver/net/websocket_unittest.cc void OnConnectFinished(base::RunLoop* run_loop, int* save_error, int error) { base 32 chrome/test/chromedriver/net/websocket_unittest.cc void RunPending(base::MessageLoop* loop) { base 33 chrome/test/chromedriver/net/websocket_unittest.cc base::RunLoop run_loop; base 52 chrome/test/chromedriver/net/websocket_unittest.cc base::MessageLoop::current()->Quit(); base 65 chrome/test/chromedriver/net/websocket_unittest.cc explicit CloseListener(base::RunLoop* run_loop) base 82 chrome/test/chromedriver/net/websocket_unittest.cc base::RunLoop* run_loop_; base 103 chrome/test/chromedriver/net/websocket_unittest.cc base::RunLoop run_loop; base 104 chrome/test/chromedriver/net/websocket_unittest.cc sock->Connect(base::Bind(&OnConnectFinished, &run_loop, &error)); base 107 chrome/test/chromedriver/net/websocket_unittest.cc base::TimeDelta::FromSeconds(10)); base 125 chrome/test/chromedriver/net/websocket_unittest.cc base::RunLoop run_loop; base 128 chrome/test/chromedriver/net/websocket_unittest.cc base::TimeDelta::FromSeconds(10)); base 132 chrome/test/chromedriver/net/websocket_unittest.cc base::MessageLoopForIO loop_; base 171 chrome/test/chromedriver/net/websocket_unittest.cc base::RunLoop run_loop; base 178 chrome/test/chromedriver/net/websocket_unittest.cc base::TimeDelta::FromSeconds(10)); base 183 chrome/test/chromedriver/net/websocket_unittest.cc base::RunLoop run_loop; base 192 chrome/test/chromedriver/net/websocket_unittest.cc base::TimeDelta::FromSeconds(10)); base 39 chrome/test/chromedriver/server/chromedriver_server.cc typedef base::Callback< base 63 chrome/test/chromedriver/server/chromedriver_server.cc base::Bind(&HttpServer::OnResponse, base 87 chrome/test/chromedriver/server/chromedriver_server.cc base::WeakPtrFactory<HttpServer> weak_factory_; // Should be last. base 91 chrome/test/chromedriver/server/chromedriver_server.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, base 95 chrome/test/chromedriver/server/chromedriver_server.cc FROM_HERE, base::Bind(send_response_on_io_func, base::Passed(&response))); base 106 chrome/test/chromedriver/server/chromedriver_server.cc const scoped_refptr<base::SingleThreadTaskRunner>& cmd_task_runner, base 112 chrome/test/chromedriver/server/chromedriver_server.cc base::Bind(handle_request_on_cmd_func, base 114 chrome/test/chromedriver/server/chromedriver_server.cc base::Bind(&SendResponseOnCmdThread, base 115 chrome/test/chromedriver/server/chromedriver_server.cc base::MessageLoopProxy::current(), base 119 chrome/test/chromedriver/server/chromedriver_server.cc base::LazyInstance<base::ThreadLocalPointer<HttpServer> > base 143 chrome/test/chromedriver/server/chromedriver_server.cc base::Thread io_thread("ChromeDriver IO"); base 145 chrome/test/chromedriver/server/chromedriver_server.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 147 chrome/test/chromedriver/server/chromedriver_server.cc base::MessageLoop cmd_loop; base 148 chrome/test/chromedriver/server/chromedriver_server.cc base::RunLoop cmd_run_loop; base 155 chrome/test/chromedriver/server/chromedriver_server.cc base::Bind(&HandleRequestOnCmdThread, &handler); base 159 chrome/test/chromedriver/server/chromedriver_server.cc base::Bind(&StartServerOnIOThread, base 161 chrome/test/chromedriver/server/chromedriver_server.cc base::Bind(&HandleRequestOnIOThread, base 171 chrome/test/chromedriver/server/chromedriver_server.cc ->PostTask(FROM_HERE, base::Bind(&StopServerOnIOThread)); base 179 chrome/test/chromedriver/server/chromedriver_server.cc base::AtExitManager at_exit; base 207 chrome/test/chromedriver/server/chromedriver_server.cc options += base::StringPrintf( base 215 chrome/test/chromedriver/server/chromedriver_server.cc if (!base::StringToInt(cmd_line->GetSwitchValueASCII("port"), &port)) { base 221 chrome/test/chromedriver/server/chromedriver_server.cc if (!base::StringToInt(cmd_line->GetSwitchValueASCII("adb-port"), base 44 chrome/test/chromedriver/server/http_handler.cc const base::DictionaryValue& params, base 47 chrome/test/chromedriver/server/http_handler.cc callback.Run(Status(kUnknownCommand), scoped_ptr<base::Value>(), session_id); base 66 chrome/test/chromedriver/server/http_handler.cc const base::Closure& quit_func, base 67 chrome/test/chromedriver/server/http_handler.cc const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 76 chrome/test/chromedriver/server/http_handler.cc base::mac::ScopedNSAutoreleasePool autorelease_pool; base 89 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteCreateSession, base 93 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteInitSession, base 102 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetSessionCapabilities))), base 105 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteSessionCommand, base 108 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteQuit, false), base 113 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetCurrentWindowHandle))), base 117 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetWindows", base::Bind(&ExecuteGetWindowHandles))), base 120 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("Navigate", base::Bind(&ExecuteGet))), base 123 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("LaunchApp", base::Bind(&ExecuteLaunchApp))), base 127 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteAlertCommand, base 128 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetAlert)))), base 133 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteAlertCommand, base 134 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteDismissAlert)))), base 139 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteAlertCommand, base 140 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteAcceptAlert)))), base 145 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteAlertCommand, base 146 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetAlertText)))), base 151 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteAlertCommand, base 152 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteSetAlertValue)))), base 155 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GoForward", base::Bind(&ExecuteGoForward))), base 158 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GoBack", base::Bind(&ExecuteGoBack))), base 161 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("Refresh", base::Bind(&ExecuteRefresh))), base 165 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("ExecuteScript", base::Bind(&ExecuteExecuteScript))), base 169 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteExecuteAsyncScript))), base 173 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetUrl", base::Bind(&ExecuteGetCurrentUrl))), base 176 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetTitle", base::Bind(&ExecuteGetTitle))), base 180 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetSource", base::Bind(&ExecuteGetPageSource))), base 184 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("Screenshot", base::Bind(&ExecuteScreenshot))), base 188 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("HeapSnapshot", base::Bind(&ExecuteTakeHeapSnapshot))), base 191 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 194 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 198 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("FindElement", base::Bind(&ExecuteFindElement, 50))), base 202 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("FindElements", base::Bind(&ExecuteFindElements, 50))), base 206 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetActiveElement))), base 210 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteFindChildElement, 50))), base 214 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteFindChildElements, 50))), base 218 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("ClickElement", base::Bind(&ExecuteClickElement))), base 222 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("ClearElement", base::Bind(&ExecuteClearElement))), base 226 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("SubmitElement", base::Bind(&ExecuteSubmitElement))), base 230 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetElementText", base::Bind(&ExecuteGetElementText))), base 234 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("TypeElement", base::Bind(&ExecuteSendKeysToElement))), base 238 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("UploadFile", base::Bind(&ExecuteUploadFile))), base 242 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetElementValue))), base 246 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetElementTagName))), base 250 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteIsElementSelected))), base 254 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteIsElementEnabled))), base 258 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteIsElementDisplayed))), base 262 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("HoverElement", base::Bind(&ExecuteHoverOverElement))), base 266 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetElementLocation))), base 272 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetElementLocationOnceScrolledIntoView))), base 276 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetElementSize", base::Bind(&ExecuteGetElementSize))), base 280 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetElementAttribute))), base 284 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("IsElementEqual", base::Bind(&ExecuteElementEquals))), base 288 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetCookies", base::Bind(&ExecuteGetCookies))), base 291 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("AddCookie", base::Bind(&ExecuteAddCookie))), base 295 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteDeleteAllCookies))), base 299 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("DeleteCookie", base::Bind(&ExecuteDeleteCookie))), base 303 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("SwitchToFrame", base::Bind(&ExecuteSwitchToFrame))), base 307 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("SwitchToWindow", base::Bind(&ExecuteSwitchToWindow))), base 311 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetWindowSize", base::Bind(&ExecuteGetWindowSize))), base 315 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetWindowPosition))), base 319 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("SetWindowSize", base::Bind(&ExecuteSetWindowSize))), base 323 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteSetWindowPosition))), base 327 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("MaximizeWindow", base::Bind(&ExecuteMaximizeWindow))), base 330 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("CloseWindow", base::Bind(&ExecuteClose))), base 333 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 338 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetElementValueOfCSSProperty))), base 342 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("SetImplicitWait", base::Bind(&ExecuteImplicitlyWait))), base 346 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteSetScriptTimeout))), base 350 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("SetTimeout", base::Bind(&ExecuteSetTimeout))), base 353 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 357 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetGeolocation", base::Bind(&ExecuteGetLocation))), base 361 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("SetGeolocation", base::Bind(&ExecuteSetLocation))), base 364 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetStatus)), base 367 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 370 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 375 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetStorageItem, kLocalStorage))), base 380 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteRemoveStorageItem, kLocalStorage))), base 385 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetStorageKeys, kLocalStorage))), base 390 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteSetStorageItem, kLocalStorage))), base 395 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteClearStorage, kLocalStorage))), base 400 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetStorageSize, kLocalStorage))), base 405 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetStorageItem, kSessionStorage))), base 409 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteRemoveStorageItem, base 415 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetStorageKeys, kSessionStorage))), base 420 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteSetStorageItem, kSessionStorage))), base 425 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteClearStorage, kSessionStorage))), base 430 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetStorageSize, kSessionStorage))), base 433 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 436 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 439 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("Click", base::Bind(&ExecuteMouseClick))), base 443 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("DoubleClick", base::Bind(&ExecuteMouseDoubleClick))), base 447 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("MouseDown", base::Bind(&ExecuteMouseButtonDown))), base 451 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("MouseUp", base::Bind(&ExecuteMouseButtonUp))), base 455 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("MouseMove", base::Bind(&ExecuteMouseMoveTo))), base 459 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("Type", base::Bind(&ExecuteSendKeysToActiveElement))), base 462 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 465 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 468 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 471 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 474 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 477 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("Tap", base::Bind(&ExecuteTouchSingleTap))), base 480 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("TouchDown", base::Bind(&ExecuteTouchDown))), base 483 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("TouchUp", base::Bind(&ExecuteTouchUp))), base 486 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("TouchMove", base::Bind(&ExecuteTouchMove))), base 489 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 492 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 495 chrome/test/chromedriver/server/http_handler.cc base::Bind(&UnimplementedCommand)), base 498 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("TouchFlick", base::Bind(&ExecuteFlick))), base 501 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("GetLog", base::Bind(&ExecuteGetLog))), base 505 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteGetAvailableLogTypes))), base 506 chrome/test/chromedriver/server/http_handler.cc CommandMapping(kPost, "logs", base::Bind(&UnimplementedCommand)), base 507 chrome/test/chromedriver/server/http_handler.cc CommandMapping(kGet, "status", base::Bind(&ExecuteGetStatus)), base 514 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteQuitAll, base 515 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("QuitAll", base::Bind(&ExecuteQuit, true)), base 520 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteQuitAll, base 521 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("QuitAll", base::Bind(&ExecuteQuit, true)), base 525 chrome/test/chromedriver/server/http_handler.cc WrapToCommand("IsLoading", base::Bind(&ExecuteIsLoading))), base 529 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteIsAutoReporting))), base 534 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteSetAutoReporting))), base 569 chrome/test/chromedriver/server/http_handler.cc return base::Bind(&ExecuteSessionCommand, base 579 chrome/test/chromedriver/server/http_handler.cc return WrapToCommand(name, base::Bind(&ExecuteWindowCommand, window_command)); base 586 chrome/test/chromedriver/server/http_handler.cc base::Bind(&ExecuteElementCommand, element_command)); base 593 chrome/test/chromedriver/server/http_handler.cc base::DictionaryValue params; base 612 chrome/test/chromedriver/server/http_handler.cc base::DictionaryValue* body_params; base 613 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<base::Value> parsed_body(base::JSONReader::Read(request.data)); base 626 chrome/test/chromedriver/server/http_handler.cc base::Bind(&HttpHandler::PrepareResponse, base 636 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<base::Value> value, base 649 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<base::Value> value, base 660 chrome/test/chromedriver/server/http_handler.cc full_status.AddDetails(base::StringPrintf( base 663 chrome/test/chromedriver/server/http_handler.cc base::SysInfo::OperatingSystemName().c_str(), base 664 chrome/test/chromedriver/server/http_handler.cc base::SysInfo::OperatingSystemVersion().c_str(), base 665 chrome/test/chromedriver/server/http_handler.cc base::SysInfo::OperatingSystemArchitecture().c_str())); base 666 chrome/test/chromedriver/server/http_handler.cc scoped_ptr<base::DictionaryValue> error(new base::DictionaryValue()); base 671 chrome/test/chromedriver/server/http_handler.cc value.reset(base::Value::CreateNullValue()); base 673 chrome/test/chromedriver/server/http_handler.cc base::DictionaryValue body_params; base 678 chrome/test/chromedriver/server/http_handler.cc base::JSONWriter::WriteWithOptions( base 679 chrome/test/chromedriver/server/http_handler.cc &body_params, base::JSONWriter::OPTIONS_OMIT_DOUBLE_TYPE_PRESERVATION, base 708 chrome/test/chromedriver/server/http_handler.cc base::DictionaryValue* out_params) { base 713 chrome/test/chromedriver/server/http_handler.cc base::SplitString(path, '/', &path_parts); base 715 chrome/test/chromedriver/server/http_handler.cc base::SplitString(command.path_pattern, '/', &command_path_parts); base 719 chrome/test/chromedriver/server/http_handler.cc base::DictionaryValue params; base 26 chrome/test/chromedriver/server/http_handler.h namespace base { base 59 chrome/test/chromedriver/server/http_handler.h typedef base::Callback<void(scoped_ptr<net::HttpServerResponseInfo>)> base 65 chrome/test/chromedriver/server/http_handler.h HttpHandler(const base::Closure& quit_func, base 66 chrome/test/chromedriver/server/http_handler.h const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 94 chrome/test/chromedriver/server/http_handler.h scoped_ptr<base::Value> value, base 99 chrome/test/chromedriver/server/http_handler.h scoped_ptr<base::Value> value, base 102 chrome/test/chromedriver/server/http_handler.h base::ThreadChecker thread_checker_; base 103 chrome/test/chromedriver/server/http_handler.h base::Closure quit_func_; base 115 chrome/test/chromedriver/server/http_handler.h base::WeakPtrFactory<HttpHandler> weak_ptr_factory_; base 128 chrome/test/chromedriver/server/http_handler.h base::DictionaryValue* out_params); base 24 chrome/test/chromedriver/server/http_handler_unittest.cc const base::DictionaryValue& params, base 28 chrome/test/chromedriver/server/http_handler_unittest.cc scoped_ptr<base::Value>(new base::FundamentalValue(1)), base 46 chrome/test/chromedriver/server/http_handler_unittest.cc handler.Handle(request, base::Bind(&OnResponse, &response)); base 56 chrome/test/chromedriver/server/http_handler_unittest.cc handler.Handle(request, base::Bind(&OnResponse, &response)); base 65 chrome/test/chromedriver/server/http_handler_unittest.cc base::Bind(&DummyCommand, Status(kOk)))); base 70 chrome/test/chromedriver/server/http_handler_unittest.cc handler.Handle(request, base::Bind(&OnResponse, &response)); base 72 chrome/test/chromedriver/server/http_handler_unittest.cc base::DictionaryValue body; base 77 chrome/test/chromedriver/server/http_handler_unittest.cc base::JSONWriter::Write(&body, &json); base 84 chrome/test/chromedriver/server/http_handler_unittest.cc CommandMapping(kPost, "path", base::Bind(&DummyCommand, Status(kOk)))); base 90 chrome/test/chromedriver/server/http_handler_unittest.cc handler.Handle(request, base::Bind(&OnResponse, &response)); base 98 chrome/test/chromedriver/server/http_handler_unittest.cc base::Bind(&DummyCommand, Status(kUnknownCommand)))); base 103 chrome/test/chromedriver/server/http_handler_unittest.cc handler.Handle(request, base::Bind(&OnResponse, &response)); base 110 chrome/test/chromedriver/server/http_handler_unittest.cc CommandMapping(kPost, "path", base::Bind(&DummyCommand, Status(kOk)))); base 115 chrome/test/chromedriver/server/http_handler_unittest.cc handler.Handle(request, base::Bind(&OnResponse, &response)); base 117 chrome/test/chromedriver/server/http_handler_unittest.cc base::DictionaryValue body; base 122 chrome/test/chromedriver/server/http_handler_unittest.cc base::JSONWriter::Write(&body, &json); base 127 chrome/test/chromedriver/server/http_handler_unittest.cc CommandMapping command(kPost, "path", base::Bind(&DummyCommand, Status(kOk))); base 129 chrome/test/chromedriver/server/http_handler_unittest.cc base::DictionaryValue params; base 138 chrome/test/chromedriver/server/http_handler_unittest.cc base::Bind(&DummyCommand, Status(kOk))); base 140 chrome/test/chromedriver/server/http_handler_unittest.cc base::DictionaryValue params; base 153 chrome/test/chromedriver/server/http_handler_unittest.cc base::Bind(&DummyCommand, Status(kOk))); base 155 chrome/test/chromedriver/server/http_handler_unittest.cc base::DictionaryValue params; base 162 chrome/test/chromedriver/server/http_handler_unittest.cc base::Bind(&DummyCommand, Status(kOk))); base 164 chrome/test/chromedriver/server/http_handler_unittest.cc base::DictionaryValue params; base 20 chrome/test/chromedriver/session.cc base::LazyInstance<base::ThreadLocalPointer<Session> > base 32 chrome/test/chromedriver/session.cc const base::TimeDelta Session::kDefaultPageLoadTimeout = base 33 chrome/test/chromedriver/session.cc base::TimeDelta::FromMinutes(5); base 19 chrome/test/chromedriver/session.h namespace base { base 39 chrome/test/chromedriver/session.h static const base::TimeDelta kDefaultPageLoadTimeout; base 66 chrome/test/chromedriver/session.h base::TimeDelta implicit_wait; base 67 chrome/test/chromedriver/session.h base::TimeDelta page_load_timeout; base 68 chrome/test/chromedriver/session.h base::TimeDelta script_timeout; base 74 chrome/test/chromedriver/session.h base::ScopedTempDir temp_dir; base 75 chrome/test/chromedriver/session.h scoped_ptr<base::DictionaryValue> capabilities; base 71 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::DictionaryValue> CreateCapabilities(Chrome* chrome) { base 72 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::DictionaryValue> caps(new base::DictionaryValue()); base 90 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::DictionaryValue> chrome_caps(new base::DictionaryValue()); base 105 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 106 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 109 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue* desired_caps; base 163 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 164 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 177 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 178 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 188 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 189 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 196 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 197 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 204 chrome/test/chromedriver/session_commands.cc new base::StringValue(WebViewIdToWindowHandle(web_view->GetId()))); base 210 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 211 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 231 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 232 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 262 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 263 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 268 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::ListValue> window_ids(new base::ListValue()); base 279 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 280 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 304 chrome/test/chromedriver/session_commands.cc base::ListValue args; base 307 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value> result; base 354 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 355 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 363 chrome/test/chromedriver/session_commands.cc base::TimeDelta timeout = base 364 chrome/test/chromedriver/session_commands.cc base::TimeDelta::FromMilliseconds(static_cast<int>(ms_double)); base 373 chrome/test/chromedriver/session_commands.cc ((timeout < base::TimeDelta()) ? Session::kDefaultPageLoadTimeout base 383 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 384 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 389 chrome/test/chromedriver/session_commands.cc base::TimeDelta::FromMilliseconds(static_cast<int>(ms)); base 395 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 396 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 401 chrome/test/chromedriver/session_commands.cc base::TimeDelta::FromMilliseconds(static_cast<int>(ms)); base 407 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 408 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 423 chrome/test/chromedriver/session_commands.cc value->reset(new base::FundamentalValue(is_pending)); base 429 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 430 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 435 chrome/test/chromedriver/session_commands.cc base::DictionaryValue location; base 448 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 449 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 467 chrome/test/chromedriver/session_commands.cc base::DictionaryValue position; base 476 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 477 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 499 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 500 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 518 chrome/test/chromedriver/session_commands.cc base::DictionaryValue size; base 527 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 528 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 552 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 553 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 571 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 572 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 573 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::ListValue> types(new base::ListValue()); base 586 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 587 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 606 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 607 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 619 chrome/test/chromedriver/session_commands.cc base::FilePath upload_dir; base 620 chrome/test/chromedriver/session_commands.cc if (!base::CreateTemporaryDirInDir(session->temp_dir.path(), base 626 chrome/test/chromedriver/session_commands.cc base::FilePath upload; base 631 chrome/test/chromedriver/session_commands.cc value->reset(new base::StringValue(upload.value())); base 637 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 638 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 639 chrome/test/chromedriver/session_commands.cc value->reset(new base::FundamentalValue(session->auto_reporting_enabled)); base 645 chrome/test/chromedriver/session_commands.cc const base::DictionaryValue& params, base 646 chrome/test/chromedriver/session_commands.cc scoped_ptr<base::Value>* value) { base 15 chrome/test/chromedriver/session_commands.h namespace base { base 46 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 47 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 53 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 54 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 59 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 60 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 65 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 66 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 71 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 72 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 77 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 78 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 84 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 85 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 91 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 92 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 97 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 98 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 103 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 104 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 108 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 109 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 113 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 114 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 118 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 119 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 123 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 124 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 128 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 129 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 133 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 134 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 138 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 139 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 143 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 144 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 148 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 149 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 153 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 154 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 158 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 159 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 163 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 164 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 168 chrome/test/chromedriver/session_commands.h const base::DictionaryValue& params, base 169 chrome/test/chromedriver/session_commands.h scoped_ptr<base::Value>* value); base 26 chrome/test/chromedriver/session_commands_unittest.cc base::DictionaryValue params; base 27 chrome/test/chromedriver/session_commands_unittest.cc scoped_ptr<base::Value> value; base 37 chrome/test/chromedriver/session_commands_unittest.cc base::FilePath::StringType path; base 39 chrome/test/chromedriver/session_commands_unittest.cc ASSERT_TRUE(base::PathExists(base::FilePath(path))); base 41 chrome/test/chromedriver/session_commands_unittest.cc ASSERT_TRUE(base::ReadFileToString(base::FilePath(path), &data)); base 67 chrome/test/chromedriver/session_commands_unittest.cc base::DictionaryValue params; base 68 chrome/test/chromedriver/session_commands_unittest.cc scoped_ptr<base::Value> value; base 83 chrome/test/chromedriver/session_commands_unittest.cc base::DictionaryValue params; base 84 chrome/test/chromedriver/session_commands_unittest.cc scoped_ptr<base::Value> value; base 110 chrome/test/chromedriver/session_commands_unittest.cc base::DictionaryValue params; base 111 chrome/test/chromedriver/session_commands_unittest.cc scoped_ptr<base::Value> value; base 118 chrome/test/chromedriver/session_commands_unittest.cc base::DictionaryValue params; base 119 chrome/test/chromedriver/session_commands_unittest.cc scoped_ptr<base::Value> value; base 14 chrome/test/chromedriver/session_thread_map.h typedef std::map<std::string, linked_ptr<base::Thread> > SessionThreadMap; base 33 chrome/test/chromedriver/test_util.cc base::UTF8ToWide(input_locale_identifier).c_str(), 0); base 42 chrome/test/chromedriver/test_util.cc base::ScopedCFTypeRef<CFMutableDictionaryRef> filter_dict( base 47 chrome/test/chromedriver/test_util.cc base::ScopedCFTypeRef<CFStringRef> id_ref(CFStringCreateWithCString( base 50 chrome/test/chromedriver/test_util.cc base::ScopedCFTypeRef<CFArrayRef> sources( base 30 chrome/test/chromedriver/test_util.h base::ScopedCFTypeRef<TISInputSourceRef> layout_; base 25 chrome/test/chromedriver/util.cc uint64 msb = base::RandUint64(); base 26 chrome/test/chromedriver/util.cc uint64 lsb = base::RandUint64(); base 27 chrome/test/chromedriver/util.cc return base::StringPrintf("%016" PRIx64 "%016" PRIx64, msb, lsb); base 32 chrome/test/chromedriver/util.cc Status FlattenStringArray(const base::ListValue* src, base::string16* dest) { base 33 chrome/test/chromedriver/util.cc base::string16 keys; base 35 chrome/test/chromedriver/util.cc base::string16 keys_list_part; base 54 chrome/test/chromedriver/util.cc const base::ListValue* key_list, base 57 chrome/test/chromedriver/util.cc base::string16 keys; base 79 chrome/test/chromedriver/util.cc base::RemoveChars(copy, "\n", ©); base 80 chrome/test/chromedriver/util.cc return base::Base64Decode(copy, bytes); base 85 chrome/test/chromedriver/util.cc Status UnzipArchive(const base::FilePath& unzip_dir, base 87 chrome/test/chromedriver/util.cc base::ScopedTempDir dir; base 91 chrome/test/chromedriver/util.cc base::FilePath archive = dir.path().AppendASCII("temp.zip"); base 93 chrome/test/chromedriver/util.cc if (base::WriteFile(archive, bytes.c_str(), length) != length) base 365 chrome/test/chromedriver/util.cc Status UnzipEntry(const base::FilePath& unzip_dir, base 377 chrome/test/chromedriver/util.cc Status UnzipSoleFile(const base::FilePath& unzip_dir, base 379 chrome/test/chromedriver/util.cc base::FilePath* file) { base 385 chrome/test/chromedriver/util.cc return Status(kUnknownError, base::StringPrintf( base 391 chrome/test/chromedriver/util.cc base::FileEnumerator enumerator(unzip_dir, false /* recursive */, base 392 chrome/test/chromedriver/util.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); base 393 chrome/test/chromedriver/util.cc base::FilePath first_file = enumerator.Next(); base 397 chrome/test/chromedriver/util.cc base::FilePath second_file = enumerator.Next(); base 10 chrome/test/chromedriver/util.h namespace base { base 24 chrome/test/chromedriver/util.h const base::ListValue* key_list, base 38 chrome/test/chromedriver/util.h Status UnzipSoleFile(const base::FilePath& unzip_dir, base 40 chrome/test/chromedriver/util.h base::FilePath* file); base 16 chrome/test/chromedriver/util_unittest.cc base::ScopedTempDir temp_dir; base 24 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::Base64Decode(kBase64ZipEntry, &data)); base 25 chrome/test/chromedriver/util_unittest.cc base::FilePath file; base 29 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::ReadFileToString(file, &contents)); base 34 chrome/test/chromedriver/util_unittest.cc base::ScopedTempDir temp_dir; base 43 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::Base64Decode(kBase64ZipArchive, &data)); base 44 chrome/test/chromedriver/util_unittest.cc base::FilePath file; base 48 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::ReadFileToString(file, &contents)); base 33 chrome/test/chromedriver/window_commands.cc Status GetMouseButton(const base::DictionaryValue& params, base 40 chrome/test/chromedriver/window_commands.cc base::StringPrintf("invalid button: %d", button_num)); base 47 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value> value; base 48 chrome/test/chromedriver/window_commands.cc base::ListValue args; base 78 chrome/test/chromedriver/window_commands.cc base::DictionaryValue* CreateDictionaryFrom(const Cookie& cookie) { base 79 chrome/test/chromedriver/window_commands.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 94 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::ListValue> internal_cookies; base 100 chrome/test/chromedriver/window_commands.cc base::DictionaryValue* cookie_dict; base 130 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value> value; base 131 chrome/test/chromedriver/window_commands.cc base::ListValue args; base 153 chrome/test/chromedriver/window_commands.cc base::DictionaryValue* view_attrib; base 170 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params) { base 193 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 194 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 242 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 243 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 253 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 254 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 261 chrome/test/chromedriver/window_commands.cc const base::ListValue* args; base 273 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 274 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 278 chrome/test/chromedriver/window_commands.cc const base::ListValue* args; base 290 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 291 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 292 chrome/test/chromedriver/window_commands.cc const base::Value* id; base 296 chrome/test/chromedriver/window_commands.cc if (id->IsType(base::Value::TYPE_NULL)) { base 302 chrome/test/chromedriver/window_commands.cc base::ListValue args; base 303 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue* id_dict; base 317 chrome/test/chromedriver/window_commands.cc xpath += base::StringPrintf( base 320 chrome/test/chromedriver/window_commands.cc xpath += base::StringPrintf("[%d]", id_int + 1); base 324 chrome/test/chromedriver/window_commands.cc args.Append(new base::StringValue(xpath)); base 332 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value> result; base 337 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue* element; base 346 chrome/test/chromedriver/window_commands.cc base::ListValue new_args; base 361 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 362 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 370 chrome/test/chromedriver/window_commands.cc base::ListValue args; base 377 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 378 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 383 chrome/test/chromedriver/window_commands.cc base::ListValue args; base 392 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 393 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 401 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 402 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 410 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 411 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 416 chrome/test/chromedriver/window_commands.cc value->reset(new base::StringValue(url)); base 423 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 424 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 432 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 433 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 441 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 442 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 449 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 450 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 494 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 495 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 515 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 516 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 532 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 533 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 549 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 550 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 570 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 571 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 578 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 579 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 586 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 587 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 594 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 595 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 602 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 603 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 604 chrome/test/chromedriver/window_commands.cc const base::ListValue* key_list; base 614 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 615 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 625 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 626 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 637 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 638 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 642 chrome/test/chromedriver/window_commands.cc base::ListValue args; base 643 chrome/test/chromedriver/window_commands.cc args.Append(new base::StringValue(key)); base 646 chrome/test/chromedriver/window_commands.cc base::StringPrintf("function(key) { return %s[key]; }", storage), base 655 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 656 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 665 chrome/test/chromedriver/window_commands.cc base::StringPrintf(script, storage), base 673 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 674 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 681 chrome/test/chromedriver/window_commands.cc base::ListValue args; base 682 chrome/test/chromedriver/window_commands.cc args.Append(new base::StringValue(key)); base 683 chrome/test/chromedriver/window_commands.cc args.Append(new base::StringValue(storage_value)); base 686 chrome/test/chromedriver/window_commands.cc base::StringPrintf("function(key, value) { %s[key] = value; }", storage), base 695 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 696 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 700 chrome/test/chromedriver/window_commands.cc base::ListValue args; base 701 chrome/test/chromedriver/window_commands.cc args.Append(new base::StringValue(key)); base 704 chrome/test/chromedriver/window_commands.cc base::StringPrintf("function(key) { %s.removeItem(key) }", storage), base 713 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 714 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 717 chrome/test/chromedriver/window_commands.cc base::StringPrintf("%s.clear()", storage), base 725 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 726 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 729 chrome/test/chromedriver/window_commands.cc base::StringPrintf("%s.length", storage), base 736 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 737 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 759 chrome/test/chromedriver/window_commands.cc value->reset(new base::StringValue(screenshot)); base 766 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 767 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 772 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::ListValue> cookie_list(new base::ListValue()); base 784 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 785 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 786 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue* cookie; base 789 chrome/test/chromedriver/window_commands.cc base::ListValue args; base 791 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value> result; base 799 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 800 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 804 chrome/test/chromedriver/window_commands.cc base::DictionaryValue params_url; base 805 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value> value_url; base 816 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 817 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 824 chrome/test/chromedriver/window_commands.cc base::DictionaryValue params_url; base 825 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value> value_url; base 844 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 845 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 846 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue* location = NULL; base 870 chrome/test/chromedriver/window_commands.cc const base::DictionaryValue& params, base 871 chrome/test/chromedriver/window_commands.cc scoped_ptr<base::Value>* value) { base 13 chrome/test/chromedriver/window_commands.h namespace base { base 22 chrome/test/chromedriver/window_commands.h typedef base::Callback<Status( base 25 chrome/test/chromedriver/window_commands.h const base::DictionaryValue&, base 26 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>*)> WindowCommand; base 32 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 33 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 39 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 40 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 46 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 47 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 53 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 54 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 60 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 61 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 67 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 68 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 74 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 75 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 82 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 83 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 90 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 91 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 97 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 98 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 104 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 105 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 111 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 112 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 118 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 119 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 125 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 126 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 132 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 133 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 139 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 140 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 146 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 147 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 153 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 154 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 160 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 161 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 167 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 168 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 174 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 175 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 180 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 181 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 187 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 188 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 194 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 195 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 200 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 201 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 207 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 208 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 214 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 215 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 221 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 222 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 228 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 229 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 235 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 236 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 242 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 243 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 248 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 249 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 255 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 256 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 263 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 264 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 270 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 271 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 277 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 278 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 283 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 284 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 289 chrome/test/chromedriver/window_commands.h const base::DictionaryValue& params, base 290 chrome/test/chromedriver/window_commands.h scoped_ptr<base::Value>* value); base 23 chrome/test/data/webui/async_gen.cc const base::ListValue* list_value) { base 31 chrome/test/data/webui/async_gen.cc "callJS", base::Bind(&AsyncWebUIMessageHandler::HandleCallJS, base 32 chrome/test/data/webui/async_gen.cc base::Unretained(this))); base 34 chrome/test/data/webui/async_gen.cc "tearDown", base::Bind(&AsyncWebUIMessageHandler::HandleTearDown, base 35 chrome/test/data/webui/async_gen.cc base::Unretained(this))); base 11 chrome/test/data/webui/async_gen.h namespace base { base 27 chrome/test/data/webui/async_gen.h MOCK_METHOD1(HandleTearDown, void(const base::ListValue*)); base 30 chrome/test/data/webui/async_gen.h void HandleCallJS(const base::ListValue* list_value); base 28 chrome/test/data/webui/chrome_send_browsertest.cc base::Bind(&ChromeSendWebUIMessageHandler::HandleCheckSend, base 29 chrome/test/data/webui/chrome_send_browsertest.cc base::Unretained(this))); base 25 chrome/test/data/webui/chrome_send_browsertest.h MOCK_METHOD1(HandleCheckSend, void(const base::ListValue*)); base 18 chrome/test/data/webui/history_ui_browsertest.cc baseline_time_(base::Time::Now().LocalMidnight()), base 38 chrome/test/data/webui/history_ui_browsertest.cc base::Time time = baseline_time_ + base::TimeDelta::FromHours(hour_offset); base 43 chrome/test/data/webui/history_ui_browsertest.cc history_->SetPageTitle(gurl, base::UTF8ToUTF16(title)); base 38 chrome/test/data/webui/history_ui_browsertest.h base::Time baseline_time_; base 17 chrome/test/data/webui/print_preview.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 19 chrome/test/data/webui/webui_resource_browsertest.cc void RunTest(const base::FilePath& file) { base 21 chrome/test/data/webui/webui_resource_browsertest.cc base::FilePath(FILE_PATH_LITERAL("webui")), file); base 47 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("array_data_model_test.html"))); base 53 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("cr_test.html"))); base 59 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("event_target_test.html"))); base 73 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("grid_test.html"))); base 79 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("link_controller_test.html"))); base 86 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("list_selection_model_test.html"))); base 93 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL( base 99 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("local_strings_test.html"))); base 103 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("mock_timer_test.html"))); base 108 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("parse_html_subset_test.html"))); base 114 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("position_util_test.html"))); base 121 chrome/test/data/webui/webui_resource_browsertest.cc RunTest(base::FilePath(FILE_PATH_LITERAL("repeating_button_test.html"))); base 53 chrome/test/gpu/gpu_feature_browsertest.cc base::FilePath test_dir; base 70 chrome/test/gpu/gpu_feature_browsertest.cc void RunTest(const base::FilePath& url, base 79 chrome/test/gpu/gpu_feature_browsertest.cc base::FilePath test_path; base 81 chrome/test/gpu/gpu_feature_browsertest.cc ASSERT_TRUE(base::PathExists(test_path)) base 102 chrome/test/gpu/gpu_feature_browsertest.cc void RunEventTest(const base::FilePath& url, base 149 chrome/test/gpu/gpu_feature_browsertest.cc if (!tracing::WaitForWatchEvent(base::TimeDelta())) base 159 chrome/test/gpu/gpu_feature_browsertest.cc base::FilePath gpu_test_dir_; base 189 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_compositing.html")); base 227 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_compositing.html")); base 249 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_compositing.html")); base 258 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_webgl.html")); base 280 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_webgl.html")); base 296 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_webgl.html")); base 317 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_multisampling.html")); base 334 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_multisampling.html")); base 354 chrome/test/gpu/gpu_feature_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 374 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_canvas2d.html")); base 396 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_canvas2d.html")); base 409 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_canvas2d.html")); base 418 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("webgl_popup.html")); base 425 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("canvas_popup.html")); base 439 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_compositing.html")); base 452 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url(FILE_PATH_LITERAL("feature_raf_no_damage.html")); base 495 chrome/test/gpu/gpu_feature_browsertest.cc const base::FilePath url( base 497 chrome/test/gpu/gpu_feature_browsertest.cc base::FilePath test_path = gpu_test_dir_.Append(url); base 498 chrome/test/gpu/gpu_feature_browsertest.cc ASSERT_TRUE(base::PathExists(test_path)) base 557 chrome/test/gpu/gpu_feature_browsertest.cc base::StringPrintf( base 58 chrome/test/gpu/webgl_infobar_browsertest.cc base::FilePath test_dir; base 62 chrome/test/gpu/webgl_infobar_browsertest.cc base::FilePath gpu_test_dir_; base 53 chrome/test/logging/win/file_logger.cc { &base::debug::kChromeTraceProviderName, 255, 0 } base 137 chrome/test/logging/win/file_logger.cc base::win::EtwTraceProperties ignore; base 138 chrome/test/logging/win/file_logger.cc HRESULT hr = base::win::EtwTraceController::Stop(kChromeTestSession, base 149 chrome/test/logging/win/file_logger.cc bool FileLogger::StartLogging(const base::FilePath& log_file) { base 14 chrome/test/logging/win/file_logger.h namespace base { base 64 chrome/test/logging/win/file_logger.h bool StartLogging(const base::FilePath& log_file); base 80 chrome/test/logging/win/file_logger.h base::win::EtwTraceController controller_; base 60 chrome/test/logging/win/log_file_printer.cc void WriteLocationToStream(const base::StringPiece& file, base 63 chrome/test/logging/win/log_file_printer.cc base::StringPiece filename(file); base 65 chrome/test/logging/win/log_file_printer.cc if (last_slash_pos != base::StringPiece::npos) base 104 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& message) OVERRIDE; base 111 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& file, base 112 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& message) OVERRIDE; base 115 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& name, base 118 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& extra, base 125 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& level, base 126 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& context); base 127 chrome/test/logging/win/log_file_printer.cc void PrintBadEvent(const EVENT_TRACE* event, const base::StringPiece& error); base 142 chrome/test/logging/win/log_file_printer.cc base::Time::Exploded time_exploded = {}; base 145 chrome/test/logging/win/log_file_printer.cc base::Time::FromFileTime(event_time).LocalExplode(&time_exploded); base 160 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& level, base 161 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& context) { base 174 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& error) { base 182 chrome/test/logging/win/log_file_printer.cc base::StringPiece empty; base 188 chrome/test/logging/win/log_file_printer.cc base::StringPiece empty; base 195 chrome/test/logging/win/log_file_printer.cc base::StringPiece empty; base 209 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& message) { base 212 chrome/test/logging/win/log_file_printer.cc PrintEventContext(event, level_stream.str(), base::StringPiece()); base 221 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& file, base 222 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& message) { base 232 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& name, base 235 chrome/test/logging/win/log_file_printer.cc const base::StringPiece& extra, base 238 chrome/test/logging/win/log_file_printer.cc PrintEventContext(event, GetTraceTypeString(type), base::StringPiece()); base 245 chrome/test/logging/win/log_file_printer.cc void logging_win::PrintLogFile(const base::FilePath& log_file, base 14 chrome/test/logging/win/log_file_printer.h namespace base { base 23 chrome/test/logging/win/log_file_printer.h void PrintLogFile(const base::FilePath& log_file, std::ostream* out); base 47 chrome/test/logging/win/log_file_reader.cc case base::debug::kTraceEventTypeBegin: base 50 chrome/test/logging/win/log_file_reader.cc case base::debug::kTraceEventTypeEnd: base 53 chrome/test/logging/win/log_file_reader.cc case base::debug::kTraceEventTypeInstant: base 68 chrome/test/logging/win/log_file_reader.cc static void ReadFile(const base::FilePath& log_file, base 76 chrome/test/logging/win/log_file_reader.cc : public base::win::EtwTraceConsumerBase<TraceConsumer<ProcessEventFn> > { base 98 chrome/test/logging/win/log_file_reader.cc void Read(const base::FilePath& log_file); base 101 chrome/test/logging/win/log_file_reader.cc static base::LazyInstance<base::Lock>::Leaky reader_lock_; base 111 chrome/test/logging/win/log_file_reader.cc base::LazyInstance<base::Lock>::Leaky LogFileReader::reader_lock_ = base 136 chrome/test/logging/win/log_file_reader.cc base::StringPiece message; base 153 chrome/test/logging/win/log_file_reader.cc base::StringPiece file; base 154 chrome/test/logging/win/log_file_reader.cc base::StringPiece message; base 174 chrome/test/logging/win/log_file_reader.cc base::StringPiece name; base 176 chrome/test/logging/win/log_file_reader.cc base::StringPiece extra; base 215 chrome/test/logging/win/log_file_reader.cc } else if (IsEqualGUID(event->Header.Guid, base::debug::kTraceEventClass32)) { base 227 chrome/test/logging/win/log_file_reader.cc void LogFileReader::Read(const base::FilePath& log_file) { base 242 chrome/test/logging/win/log_file_reader.cc void LogFileReader::ReadFile(const base::FilePath& log_file, base 244 chrome/test/logging/win/log_file_reader.cc base::AutoLock lock(reader_lock_.Get()); base 257 chrome/test/logging/win/log_file_reader.cc void ReadLogFile(const base::FilePath& log_file, LogFileDelegate* delegate) { base 20 chrome/test/logging/win/log_file_reader.h namespace base { base 46 chrome/test/logging/win/log_file_reader.h const base::StringPiece& message) = 0; base 54 chrome/test/logging/win/log_file_reader.h const base::StringPiece& file, base 55 chrome/test/logging/win/log_file_reader.h const base::StringPiece& message) = 0; base 59 chrome/test/logging/win/log_file_reader.h const base::StringPiece& name, base 62 chrome/test/logging/win/log_file_reader.h const base::StringPiece& extra, base 74 chrome/test/logging/win/log_file_reader.h void ReadLogFile(const base::FilePath& log_file, LogFileDelegate* delegate); base 14 chrome/test/logging/win/mof_data_parser.cc bool MofDataParser::ReadString(base::StringPiece* value) { base 58 chrome/test/logging/win/mof_data_parser.h bool ReadString(base::StringPiece* value); base 162 chrome/test/logging/win/mof_data_parser_unittest.cc base::StringPiece value; base 166 chrome/test/logging/win/mof_data_parser_unittest.cc EXPECT_EQ(base::StringPiece(&a_string_nl[0], arraysize(a_string_nl) - 2), base 174 chrome/test/logging/win/mof_data_parser_unittest.cc base::StringPiece value; base 178 chrome/test/logging/win/mof_data_parser_unittest.cc EXPECT_EQ(base::StringPiece(&a_string[0], arraysize(a_string) - 1), value); base 185 chrome/test/logging/win/mof_data_parser_unittest.cc base::StringPiece value; base 139 chrome/test/logging/win/test_log_collector.cc base::ScopedTempDir log_temp_dir_; base 146 chrome/test/logging/win/test_log_collector.cc base::FilePath log_file_; base 154 chrome/test/logging/win/test_log_collector.cc base::LazyInstance<TestLogCollector> g_test_log_collector = base 242 chrome/test/logging/win/test_log_collector.cc << base::StringPrintf("%s(%d): error: %s", test_part_result.file_name(), base 265 chrome/test/logging/win/test_log_collector.cc if (!base::DeleteFile(log_file_, false)) base 22 chrome/test/mini_installer_test/installer_path_provider.cc base::FileEnumerator::FileInfo info; base 23 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath path; base 33 chrome/test/mini_installer_test/installer_path_provider.cc bool FindMatchingFiles(const base::FilePath& root, base 35 chrome/test/mini_installer_test/installer_path_provider.cc base::FileEnumerator::FileType type, base 36 chrome/test/mini_installer_test/installer_path_provider.cc std::vector<base::FilePath>* paths) { base 37 chrome/test/mini_installer_test/installer_path_provider.cc base::FileEnumerator files(root, false, type, base 38 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath().AppendASCII(pattern).value()); base 40 chrome/test/mini_installer_test/installer_path_provider.cc for (base::FilePath current = files.Next(); !current.empty(); base 59 chrome/test/mini_installer_test/installer_path_provider.cc bool FindNewestMatchingFile(const base::FilePath& root, base 61 chrome/test/mini_installer_test/installer_path_provider.cc base::FileEnumerator::FileType type, base 62 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath* path) { base 63 chrome/test/mini_installer_test/installer_path_provider.cc std::vector<base::FilePath> paths; base 76 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath full_installer, previous_installer; base 88 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath full_installer, previous_installer; base 98 chrome/test/mini_installer_test/installer_path_provider.cc bool InstallerPathProvider::GetFullInstaller(base::FilePath* path) { base 103 chrome/test/mini_installer_test/installer_path_provider.cc bool InstallerPathProvider::GetDiffInstaller(base::FilePath* path) { base 108 chrome/test/mini_installer_test/installer_path_provider.cc bool InstallerPathProvider::GetMiniInstaller(base::FilePath* path) { base 110 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath mini_installer = PathFromExeDir( base 112 chrome/test/mini_installer_test/installer_path_provider.cc if (base::PathExists(mini_installer)) { base 120 chrome/test/mini_installer_test/installer_path_provider.cc bool InstallerPathProvider::GetPreviousInstaller(base::FilePath* path) { base 123 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath diff_installer; base 127 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath previous_installer; base 131 chrome/test/mini_installer_test/installer_path_provider.cc std::string build_pattern = base::StringPrintf( base 133 chrome/test/mini_installer_test/installer_path_provider.cc std::vector<base::FilePath> previous_build; base 135 chrome/test/mini_installer_test/installer_path_provider.cc build_pattern, base::FileEnumerator::DIRECTORIES, base 137 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath windir = previous_build.at(0).Append( base 140 chrome/test/mini_installer_test/installer_path_provider.cc base::FileEnumerator::FILES, &previous_installer); base 149 chrome/test/mini_installer_test/installer_path_provider.cc bool InstallerPathProvider::GetStandaloneInstaller(base::FilePath* path) { base 151 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath standalone_installer( base 158 chrome/test/mini_installer_test/installer_path_provider.cc std::string standalone_installer_filename = base::StringPrintf( base 160 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath(mini_installer_constants::kUntaggedInstallerPattern) base 168 chrome/test/mini_installer_test/installer_path_provider.cc return base::PathExists(standalone_installer); base 171 chrome/test/mini_installer_test/installer_path_provider.cc bool InstallerPathProvider::GetSignedStandaloneInstaller(base::FilePath* path) { base 172 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath standalone_installer; base 175 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath tagged_installer = PathFromExeDir( base 178 chrome/test/mini_installer_test/installer_path_provider.cc base::StringPrintf(L"%ls %ls %ls %ls", base 191 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath InstallerPathProvider::PathFromExeDir( base 192 chrome/test/mini_installer_test/installer_path_provider.cc const base::FilePath::StringType& name) { base 193 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath path; base 194 chrome/test/mini_installer_test/installer_path_provider.cc PathService::Get(base::DIR_EXE, &path); base 200 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath* path) { base 201 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath installer; base 203 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath root(mini_installer_constants::kChromeInstallersLocation); base 204 chrome/test/mini_installer_test/installer_path_provider.cc std::vector<base::FilePath> paths; base 206 chrome/test/mini_installer_test/installer_path_provider.cc base::FileEnumerator::DIRECTORIES, &paths)) { base 210 chrome/test/mini_installer_test/installer_path_provider.cc std::vector<base::FilePath>::const_iterator dir; base 212 chrome/test/mini_installer_test/installer_path_provider.cc base::FilePath windir = dir->Append( base 214 chrome/test/mini_installer_test/installer_path_provider.cc if (FindNewestMatchingFile(windir, pattern, base::FileEnumerator::FILES, base 24 chrome/test/mini_installer_test/installer_path_provider.h bool GetFullInstaller(base::FilePath* path); base 25 chrome/test/mini_installer_test/installer_path_provider.h bool GetDiffInstaller(base::FilePath* path); base 26 chrome/test/mini_installer_test/installer_path_provider.h bool GetMiniInstaller(base::FilePath* path); base 27 chrome/test/mini_installer_test/installer_path_provider.h bool GetPreviousInstaller(base::FilePath* path); base 28 chrome/test/mini_installer_test/installer_path_provider.h bool GetStandaloneInstaller(base::FilePath* path); base 29 chrome/test/mini_installer_test/installer_path_provider.h bool GetSignedStandaloneInstaller(base::FilePath* path); base 37 chrome/test/mini_installer_test/installer_path_provider.h base::FilePath PathFromExeDir(const base::FilePath::StringType& name); base 39 chrome/test/mini_installer_test/installer_path_provider.h bool GetInstaller(const std::string& pattern, base::FilePath* path); base 57 chrome/test/mini_installer_test/installer_test_util.cc base::FilePath path; base 61 chrome/test/mini_installer_test/installer_test_util.cc if (!has_install_dir || !base::PathExists(path)) base 64 chrome/test/mini_installer_test/installer_test_util.cc return base::DeleteFile(path, true); base 71 chrome/test/mini_installer_test/installer_test_util.cc base::FilePath::StringType key(google_update::kRegPathClients); base 72 chrome/test/mini_installer_test/installer_test_util.cc key.push_back(base::FilePath::kSeparators[0]); base 78 chrome/test/mini_installer_test/installer_test_util.cc bool GetChromeInstallDirectory(bool system_level, base::FilePath* path) { base 84 chrome/test/mini_installer_test/installer_test_util.cc BrowserDistribution::Type type, base::FilePath* path) { base 88 chrome/test/mini_installer_test/installer_test_util.cc base::FilePath parent; base 90 chrome/test/mini_installer_test/installer_test_util.cc PathService::Get(base::DIR_PROGRAM_FILES, &parent); base 92 chrome/test/mini_installer_test/installer_test_util.cc PathService::Get(base::DIR_LOCAL_APP_DATA, &parent); base 155 chrome/test/mini_installer_test/installer_test_util.cc bool Install(const base::FilePath& installer) { base 156 chrome/test/mini_installer_test/installer_test_util.cc if (!base::PathExists(installer)) { base 166 chrome/test/mini_installer_test/installer_test_util.cc bool Install(const base::FilePath& installer, const SwitchBuilder& switches) { base 167 chrome/test/mini_installer_test/installer_test_util.cc if (!base::PathExists(installer)) { base 179 chrome/test/mini_installer_test/installer_test_util.cc base::CleanupProcesses(installer::kChromeExe, base::TimeDelta(), base 181 chrome/test/mini_installer_test/installer_test_util.cc base::FilePath install_path; base 190 chrome/test/mini_installer_test/installer_test_util.cc base::FilePath exe = browser.GetProgram(); base 192 chrome/test/mini_installer_test/installer_test_util.cc base::ProcessHandle chrome; base 193 chrome/test/mini_installer_test/installer_test_util.cc if (!base::LaunchProcess(browser, base::LaunchOptions(), &chrome)) { base 198 chrome/test/mini_installer_test/installer_test_util.cc if (base::KillProcess(chrome, 0, true)) { base 207 chrome/test/mini_installer_test/installer_test_util.cc base::FilePath browser_path; base 208 chrome/test/mini_installer_test/installer_test_util.cc PathService::Get(base::DIR_PROGRAM_FILES, &browser_path); base 214 chrome/test/mini_installer_test/installer_test_util.cc return base::LaunchProcess(cmd_line, base::LaunchOptions(), NULL); base 218 chrome/test/mini_installer_test/installer_test_util.cc base::CleanupProcesses(installer::kChromeExe, base::TimeDelta(), base 220 chrome/test/mini_installer_test/installer_test_util.cc base::CleanupProcesses(installer::kChromeFrameHelperExe, base::TimeDelta(), base 273 chrome/test/mini_installer_test/installer_test_util.cc base::CleanupProcesses(mini_installer_constants::kIEProcessName, base 274 chrome/test/mini_installer_test/installer_test_util.cc base::TimeDelta(), base 281 chrome/test/mini_installer_test/installer_test_util.cc if (!base::PathExists(command.GetProgram())) { base 286 chrome/test/mini_installer_test/installer_test_util.cc base::ProcessHandle process; base 287 chrome/test/mini_installer_test/installer_test_util.cc if (!base::LaunchProcess(command, base::LaunchOptions(), &process)) { base 292 chrome/test/mini_installer_test/installer_test_util.cc if (!base::WaitForSingleProcess(process, base::TimeDelta::FromMinutes(1))) { base 41 chrome/test/mini_installer_test/installer_test_util.h bool GetChromeInstallDirectory(bool system_level, base::FilePath* path); base 47 chrome/test/mini_installer_test/installer_test_util.h BrowserDistribution::Type type, base::FilePath* path); base 57 chrome/test/mini_installer_test/installer_test_util.h bool Install(const base::FilePath& installer); base 58 chrome/test/mini_installer_test/installer_test_util.h bool Install(const base::FilePath& installer, const SwitchBuilder& switches); base 82 chrome/test/mini_installer_test/installer_test_util.h bool RunAndWaitForCommandToFinish(base::CommandLine command); base 17 chrome/test/mini_installer_test/run_all_unittests.cc if (base::GetProcessCount(L"chrome.exe", NULL) > 0) { base 22 chrome/test/mini_installer_test/run_all_unittests.cc base::FilePath path; base 25 chrome/test/mini_installer_test/run_all_unittests.cc base::FilePath backup_path = path; base 32 chrome/test/mini_installer_test/run_all_unittests.cc if (base::PathExists(path)) { base 35 chrome/test/mini_installer_test/run_all_unittests.cc if (base::PathExists(backup_path)) base 36 chrome/test/mini_installer_test/run_all_unittests.cc base::DeleteFile(backup_path, true); base 37 chrome/test/mini_installer_test/run_all_unittests.cc base::CopyDirectory(path, backup_path, true); base 48 chrome/test/mini_installer_test/run_all_unittests.cc base::TestSuite test_suite(argc, argv); base 70 chrome/test/mini_installer_test/run_all_unittests.cc if (base::win::GetVersion() < base::win::VERSION_VISTA || base 19 chrome/test/mini_installer_test/switch_builder.h const base::CommandLine& GetSwitches() const; base 27 chrome/test/mini_installer_test/switch_builder.h base::CommandLine switches_; base 64 chrome/test/mini_installer_test/test.cc static base::FilePath full_installer_; base 65 chrome/test/mini_installer_test/test.cc static base::FilePath previous_installer_; base 66 chrome/test/mini_installer_test/test.cc static base::FilePath diff_installer_; base 67 chrome/test/mini_installer_test/test.cc static base::FilePath standalone_installer_; base 68 chrome/test/mini_installer_test/test.cc static base::FilePath mini_installer_; base 72 chrome/test/mini_installer_test/test.cc base::FilePath MiniInstallTest::full_installer_; base 73 chrome/test/mini_installer_test/test.cc base::FilePath MiniInstallTest::previous_installer_; base 74 chrome/test/mini_installer_test/test.cc base::FilePath MiniInstallTest::diff_installer_; base 75 chrome/test/mini_installer_test/test.cc base::FilePath MiniInstallTest::standalone_installer_; base 76 chrome/test/mini_installer_test/test.cc base::FilePath MiniInstallTest::mini_installer_; base 207 chrome/test/mini_installer_test/test.cc base::CleanupProcesses(installer::kChromeExe, base::TimeDelta(), base 223 chrome/test/mini_installer_test/test.cc base::CleanupProcesses(installer::kChromeExe, base::TimeDelta(), base 240 chrome/test/mini_installer_test/test.cc base::CleanupProcesses(installer::kChromeExe, base::TimeDelta(), base 139 chrome/test/nacl/nacl_browsertest.cc base::FilePath::StringType NumberOfCoresAsFilePathString() { base 150 chrome/test/nacl/nacl_browsertest.cc base::FilePath::StringType NumberOfCoresAsFilePathString() { base 166 chrome/test/nacl/nacl_browsertest.cc static void PathTelemetry(base::FilePath::StringType const &path) { base 175 chrome/test/nacl/nacl_browsertest.cc static void PathTelemetry(base::FilePath::StringType const &path) { base 181 chrome/test/nacl/nacl_browsertest.cc base::FilePath::StringType path = base 228 chrome/test/nacl/nacl_browsertest.cc if (base::win::OSInfo::GetInstance()->wow64_status() == base 229 chrome/test/nacl/nacl_browsertest.cc base::win::OSInfo::WOW64_DISABLED && base 230 chrome/test/nacl/nacl_browsertest.cc base::win::OSInfo::GetInstance()->architecture() == base 231 chrome/test/nacl/nacl_browsertest.cc base::win::OSInfo::X86_ARCHITECTURE) { base 238 chrome/test/nacl/nacl_browsertest.cc void StartTestScript(base::ProcessHandle* test_process, base 242 chrome/test/nacl/nacl_browsertest.cc CommandLine cmd(base::FilePath(FILE_PATH_LITERAL("python"))); base 243 chrome/test/nacl/nacl_browsertest.cc base::FilePath script; base 244 chrome/test/nacl/nacl_browsertest.cc PathService::Get(base::DIR_SOURCE_ROOT, &script); base 248 chrome/test/nacl/nacl_browsertest.cc cmd.AppendArg(base::IntToString(debug_stub_port)); base 251 chrome/test/nacl/nacl_browsertest.cc base::LaunchProcess(cmd, base::LaunchOptions(), test_process); base 254 chrome/test/nacl/nacl_browsertest.cc void RunWithTestDebugger(const base::FilePath::StringType& test_url) { base 255 chrome/test/nacl/nacl_browsertest.cc base::ProcessHandle test_script; base 256 chrome/test/nacl/nacl_browsertest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 258 chrome/test/nacl/nacl_browsertest.cc base::Bind(&NaClBrowserTestPnaclDebug::StartTestScript, base 259 chrome/test/nacl/nacl_browsertest.cc base::Unretained(this), &test_script)); base 267 chrome/test/nacl/nacl_browsertest.cc base::WaitForExitCode(test_script, &exit_code); base 367 chrome/test/nacl/nacl_browsertest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 398 chrome/test/nacl/nacl_browsertest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 428 chrome/test/nacl/nacl_browsertest.cc base::FilePath src_root; base 429 chrome/test/nacl/nacl_browsertest.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &src_root)); base 431 chrome/test/nacl/nacl_browsertest.cc base::FilePath document_root; base 27 chrome/test/nacl/nacl_browsertest_util.cc scoped_ptr<base::Value> value; base 28 chrome/test/nacl/nacl_browsertest_util.cc base::JSONReader reader(base::JSON_ALLOW_TRAILING_COMMAS); base 46 chrome/test/nacl/nacl_browsertest_util.cc base::DictionaryValue* msg; base 81 chrome/test/nacl/nacl_browsertest_util.cc base::DictionaryValue* msg) { base 114 chrome/test/nacl/nacl_browsertest_util.cc base::DictionaryValue* msg) OVERRIDE; base 137 chrome/test/nacl/nacl_browsertest_util.cc base::DictionaryValue* msg) { base 172 chrome/test/nacl/nacl_browsertest_util.cc static bool GetNaClVariantRoot(const base::FilePath::StringType& variant, base 173 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath* document_root) { base 181 chrome/test/nacl/nacl_browsertest_util.cc static void AddPnaclParm(const base::FilePath::StringType& url, base 182 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType* url_with_parm) { base 183 chrome/test/nacl/nacl_browsertest_util.cc if (url.find(FILE_PATH_LITERAL("?")) == base::FilePath::StringType::npos) { base 190 chrome/test/nacl/nacl_browsertest_util.cc static void AddPnaclDisabledParm(const base::FilePath::StringType& url, base 191 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType* url_with_parm) { base 192 chrome/test/nacl/nacl_browsertest_util.cc if (url.find(FILE_PATH_LITERAL("?")) == base::FilePath::StringType::npos) { base 205 chrome/test/nacl/nacl_browsertest_util.cc void NaClBrowserTestBase::SetUpCommandLine(base::CommandLine* command_line) { base 211 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath plugin_lib; base 213 chrome/test/nacl/nacl_browsertest_util.cc ASSERT_TRUE(base::PathExists(plugin_lib)) << plugin_lib.value(); base 218 chrome/test/nacl/nacl_browsertest_util.cc bool NaClBrowserTestBase::GetDocumentRoot(base::FilePath* document_root) { base 231 chrome/test/nacl/nacl_browsertest_util.cc const base::FilePath::StringType& url_fragment) { base 232 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath expanded_url = base::FilePath(FILE_PATH_LITERAL("files")); base 247 chrome/test/nacl/nacl_browsertest_util.cc const base::FilePath::StringType& test_file) { base 249 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType test_file_with_pnacl = test_file; base 253 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType test_file_with_both = test_file_with_pnacl; base 263 chrome/test/nacl/nacl_browsertest_util.cc const base::FilePath::StringType& url_fragment) { base 265 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType url_fragment_with_pnacl = url_fragment; base 269 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType url_fragment_with_both = url_fragment_with_pnacl; base 280 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath document_root; base 290 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType NaClBrowserTestNewlib::Variant() { base 294 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType NaClBrowserTestGLibc::Variant() { base 298 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType NaClBrowserTestPnacl::Variant() { base 306 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType NaClBrowserTestPnaclDisabled::Variant() { base 318 chrome/test/nacl/nacl_browsertest_util.cc base::CommandLine* command_line) { base 323 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType NaClBrowserTestNonSfiMode::Variant() { base 328 chrome/test/nacl/nacl_browsertest_util.cc base::CommandLine* command_line) { base 333 chrome/test/nacl/nacl_browsertest_util.cc base::FilePath::StringType NaClBrowserTestStatic::Variant() { base 337 chrome/test/nacl/nacl_browsertest_util.cc bool NaClBrowserTestStatic::GetDocumentRoot(base::FilePath* document_root) { base 338 chrome/test/nacl/nacl_browsertest_util.cc *document_root = base::FilePath(FILE_PATH_LITERAL("chrome/test/data/nacl")); base 27 chrome/test/nacl/nacl_browsertest_util.h base::DictionaryValue* msg) = 0; base 48 chrome/test/nacl/nacl_browsertest_util.h base::DictionaryValue* msg) OVERRIDE; base 65 chrome/test/nacl/nacl_browsertest_util.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 72 chrome/test/nacl/nacl_browsertest_util.h virtual base::FilePath::StringType Variant() = 0; base 75 chrome/test/nacl/nacl_browsertest_util.h virtual bool GetDocumentRoot(base::FilePath* document_root); base 83 chrome/test/nacl/nacl_browsertest_util.h GURL TestURL(const base::FilePath::StringType& url_fragment); base 92 chrome/test/nacl/nacl_browsertest_util.h void RunLoadTest(const base::FilePath::StringType& test_file); base 101 chrome/test/nacl/nacl_browsertest_util.h void RunNaClIntegrationTest(const base::FilePath::StringType& url_fragment); base 111 chrome/test/nacl/nacl_browsertest_util.h virtual base::FilePath::StringType Variant() OVERRIDE; base 116 chrome/test/nacl/nacl_browsertest_util.h virtual base::FilePath::StringType Variant() OVERRIDE; base 121 chrome/test/nacl/nacl_browsertest_util.h virtual base::FilePath::StringType Variant() OVERRIDE; base 130 chrome/test/nacl/nacl_browsertest_util.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 132 chrome/test/nacl/nacl_browsertest_util.h virtual base::FilePath::StringType Variant() OVERRIDE; base 141 chrome/test/nacl/nacl_browsertest_util.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 142 chrome/test/nacl/nacl_browsertest_util.h virtual base::FilePath::StringType Variant() OVERRIDE; base 148 chrome/test/nacl/nacl_browsertest_util.h virtual base::FilePath::StringType Variant() OVERRIDE; base 149 chrome/test/nacl/nacl_browsertest_util.h virtual bool GetDocumentRoot(base::FilePath* document_root) OVERRIDE; base 33 chrome/test/nacl/pnacl_header_test.cc base::FilePath test_data_dir; base 36 chrome/test/nacl/pnacl_header_test.cc base::Bind(&PnaclHeaderTest::WatchForPexeFetch, base::Unretained(this))); base 12 chrome/test/nacl/pnacl_header_test.h namespace base { base 24 chrome/test/perf/browser_perf_test.cc base::ProcessId browser_pid = base::GetCurrentProcId(); base 30 chrome/test/perf/browser_perf_test.cc base::ProcessId browser_pid = base::GetCurrentProcId(); base 10 chrome/test/perf/browser_perf_test.h namespace base { base 21 chrome/test/perf/browser_perf_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 30 chrome/test/perf/mach_ports_performancetest.cc base::FilePath(FILE_PATH_LITERAL("data/mach_ports/moz"))) { base 43 chrome/test/perf/mach_ports_performancetest.cc base::StringAppendF(&ports, "%d,", *it); base 19 chrome/test/perf/perf_test.cc base::ProcessId browser_pid) { base 26 chrome/test/perf/perf_test.cc base::ProcessId browser_pid) { base 33 chrome/test/perf/perf_test.cc base::ProcessId browser_pid) { base 55 chrome/test/perf/perf_test.cc base::ProcessHandle process_handle; base 56 chrome/test/perf/perf_test.cc if (!base::OpenProcessHandle(*it, &process_handle)) { base 66 chrome/test/perf/perf_test.cc base::IoCounters io_counters; base 113 chrome/test/perf/perf_test.cc base::CloseProcessHandle(process_handle); base 238 chrome/test/perf/perf_test.cc base::ProcessId browser_pid) { base 245 chrome/test/perf/perf_test.cc base::ProcessId browser_pid) { base 252 chrome/test/perf/perf_test.cc base::ProcessId browser_pid) { base 271 chrome/test/perf/perf_test.cc base::ProcessHandle process_handle; base 272 chrome/test/perf/perf_test.cc if (!base::OpenProcessHandle(*it, &process_handle)) { base 314 chrome/test/perf/perf_test.cc base::CloseProcessHandle(process_handle); base 18 chrome/test/perf/perf_test.h base::ProcessId browser_pid); base 23 chrome/test/perf/perf_test.h base::ProcessId browser_pid); base 27 chrome/test/perf/perf_test.h base::ProcessId browser_pid); base 32 chrome/test/perf/perf_test.h base::ProcessId browser_pid); base 37 chrome/test/perf/perf_test.h base::ProcessId browser_pid); base 41 chrome/test/perf/perf_test.h base::ProcessId browser_pid); base 10 chrome/test/perf/perftests.cc base::PerfTestSuite suite(argc, argv); base 12 chrome/test/perf/perftests.cc base::MessageLoop main_message_loop; base 30 chrome/test/perf/url_parse_perftest.cc base::PerfTimeLogger timer("Full_URL_Parse_AMillion"); base 56 chrome/test/perf/url_parse_perftest.cc base::PerfTimeLogger parse_timer("Typical_URL_Parse_AMillion"); base 71 chrome/test/perf/url_parse_perftest.cc base::PerfTimeLogger canon_timer("Typical_Parse_Canon_AMillion"); base 99 chrome/test/perf/url_parse_perftest.cc base::PerfTimeLogger canon_timer("Typical_Parse_Canon_AMillion"); base 129 chrome/test/perf/url_parse_perftest.cc base::PerfTimeLogger gurl_timer("Typical_GURL_AMillion"); base 140 chrome/test/perf/url_parse_perftest.cc base::PerfTimeLogger timer_kurl("Typical_KURL_AMillion"); base 48 chrome/test/ppapi/ppapi_test.cc void AddPrivateSwitches(base::CommandLine* command_line) { base 63 chrome/test/ppapi/ppapi_test.cc base::TrimString(json, "\"", &trimmed); base 102 chrome/test/ppapi/ppapi_test.cc base::MessageLoop::current()->PostTask( base 103 chrome/test/ppapi/ppapi_test.cc FROM_HERE, base::Bind(&InfoBarObserver::VerifyInfoBarState, base 104 chrome/test/ppapi/ppapi_test.cc base::Unretained(this))); base 141 chrome/test/ppapi/ppapi_test.cc void PPAPITestBase::SetUpCommandLine(base::CommandLine* command_line) { base 160 chrome/test/ppapi/ppapi_test.cc base::FilePath test_path; base 161 chrome/test/ppapi/ppapi_test.cc EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &test_path)); base 167 chrome/test/ppapi/ppapi_test.cc EXPECT_TRUE(base::PathExists(test_path)); base 190 chrome/test/ppapi/ppapi_test.cc base::FilePath document_root; base 192 chrome/test/ppapi/ppapi_test.cc base::FilePath http_document_root; base 202 chrome/test/ppapi/ppapi_test.cc base::FilePath http_document_root; base 220 chrome/test/ppapi/ppapi_test.cc base::StringPrintf("ssl_server_port=%d", port))); base 224 chrome/test/ppapi/ppapi_test.cc base::FilePath http_document_root; base 243 chrome/test/ppapi/ppapi_test.cc base::StringPrintf( base 271 chrome/test/ppapi/ppapi_test.cc if (base::CommandLine::ForCurrentProcess()->HasSwitch( base 300 chrome/test/ppapi/ppapi_test.cc query = base::StringPrintf("%s&%s", query.c_str(), extra_params.c_str()); base 308 chrome/test/ppapi/ppapi_test.cc void PPAPITest::SetUpCommandLine(base::CommandLine* command_line) { base 314 chrome/test/ppapi/ppapi_test.cc base::FilePath plugin_dir; base 315 chrome/test/ppapi/ppapi_test.cc EXPECT_TRUE(PathService::Get(base::DIR_MODULE, &plugin_dir)); base 317 chrome/test/ppapi/ppapi_test.cc base::FilePath plugin_lib = plugin_dir.Append(library_name); base 318 chrome/test/ppapi/ppapi_test.cc EXPECT_TRUE(base::PathExists(plugin_lib)); base 319 chrome/test/ppapi/ppapi_test.cc base::FilePath::StringType pepper_plugin = plugin_lib.value(); base 329 chrome/test/ppapi/ppapi_test.cc std::string PPAPITest::BuildQuery(const std::string& base, base 331 chrome/test/ppapi/ppapi_test.cc return base::StringPrintf("%stestcase=%s", base.c_str(), test_case.c_str()); base 334 chrome/test/ppapi/ppapi_test.cc void PPAPIPrivateTest::SetUpCommandLine(base::CommandLine* command_line) { base 343 chrome/test/ppapi/ppapi_test.cc void OutOfProcessPPAPITest::SetUpCommandLine(base::CommandLine* command_line) { base 350 chrome/test/ppapi/ppapi_test.cc base::CommandLine* command_line) { base 355 chrome/test/ppapi/ppapi_test.cc void PPAPINaClTest::SetUpCommandLine(base::CommandLine* command_line) { base 368 chrome/test/ppapi/ppapi_test.cc base::FilePath plugin_lib; base 370 chrome/test/ppapi/ppapi_test.cc EXPECT_TRUE(base::PathExists(plugin_lib)); base 418 chrome/test/ppapi/ppapi_test.cc std::string PPAPINaClNewlibTest::BuildQuery(const std::string& base, base 420 chrome/test/ppapi/ppapi_test.cc return base::StringPrintf("%smode=nacl_newlib&testcase=%s", base.c_str(), base 425 chrome/test/ppapi/ppapi_test.cc base::CommandLine* command_line) { base 431 chrome/test/ppapi/ppapi_test.cc std::string PPAPINaClGLibcTest::BuildQuery(const std::string& base, base 433 chrome/test/ppapi/ppapi_test.cc return base::StringPrintf("%smode=nacl_glibc&testcase=%s", base.c_str(), base 438 chrome/test/ppapi/ppapi_test.cc base::CommandLine* command_line) { base 444 chrome/test/ppapi/ppapi_test.cc std::string PPAPINaClPNaClTest::BuildQuery(const std::string& base, base 446 chrome/test/ppapi/ppapi_test.cc return base::StringPrintf("%smode=nacl_pnacl&testcase=%s", base.c_str(), base 451 chrome/test/ppapi/ppapi_test.cc base::CommandLine* command_line) { base 457 chrome/test/ppapi/ppapi_test.cc const std::string& base, base 459 chrome/test/ppapi/ppapi_test.cc return base::StringPrintf("%smode=nacl_pnacl_nonsfi&testcase=%s", base 460 chrome/test/ppapi/ppapi_test.cc base.c_str(), test_case.c_str()); base 464 chrome/test/ppapi/ppapi_test.cc base::CommandLine* command_line) { base 470 chrome/test/ppapi/ppapi_test.cc base::CommandLine* command_line) { base 479 chrome/test/ppapi/ppapi_test.cc const std::string& base, base 481 chrome/test/ppapi/ppapi_test.cc return base::StringPrintf("%smode=nacl_newlib&testcase=%s", base.c_str(), base 489 chrome/test/ppapi/ppapi_test.cc base::FilePath plugin_lib; base 491 chrome/test/ppapi/ppapi_test.cc EXPECT_TRUE(base::PathExists(plugin_lib)); base 44 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 47 chrome/test/ppapi/ppapi_test.h virtual std::string BuildQuery(const std::string& base, base 102 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 104 chrome/test/ppapi/ppapi_test.h virtual std::string BuildQuery(const std::string& base, base 112 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 121 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 126 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 132 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 150 chrome/test/ppapi/ppapi_test.h virtual std::string BuildQuery(const std::string& base, base 156 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 162 chrome/test/ppapi/ppapi_test.h virtual std::string BuildQuery(const std::string& base, base 168 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 174 chrome/test/ppapi/ppapi_test.h virtual std::string BuildQuery(const std::string& base, base 181 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line); base 183 chrome/test/ppapi/ppapi_test.h virtual std::string BuildQuery(const std::string& base, base 189 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 194 chrome/test/ppapi/ppapi_test.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 196 chrome/test/ppapi/ppapi_test.h virtual std::string BuildQuery(const std::string& base, base 99 chrome/test/remoting/me2me_browsertest.cc base::TimeDelta::FromSeconds(10), base 100 chrome/test/remoting/me2me_browsertest.cc base::TimeDelta::FromMilliseconds(500), base 101 chrome/test/remoting/me2me_browsertest.cc base::Bind(&RemoteDesktopBrowserTest::IsHostActionComplete, base 118 chrome/test/remoting/me2me_browsertest.cc ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromSeconds(5)).Wait()); base 153 chrome/test/remoting/me2me_browsertest.cc base::TimeDelta::FromSeconds(5), base 154 chrome/test/remoting/me2me_browsertest.cc base::TimeDelta::FromMilliseconds(200), base 155 chrome/test/remoting/me2me_browsertest.cc base::Bind(&Me2MeBrowserTest::IsPairingSpinnerHidden, this)); base 16 chrome/test/remoting/page_load_notification_observer.cc base::Bind(&PageLoadNotificationObserver::IsTargetLoaded, base 17 chrome/test/remoting/page_load_notification_observer.cc base::Unretained(this))), base 104 chrome/test/remoting/remote_desktop_browsertest.cc base::FilePath install_dir(WebAppCrxPath()); base 204 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromSeconds(5)).Wait()); base 282 chrome/test/remoting/remote_desktop_browsertest.cc base::TimeDelta::FromSeconds(7), base 283 chrome/test/remoting/remote_desktop_browsertest.cc base::TimeDelta::FromSeconds(1), base 284 chrome/test/remoting/remote_desktop_browsertest.cc base::Bind( base 304 chrome/test/remoting/remote_desktop_browsertest.cc base::Bind( base 345 chrome/test/remoting/remote_desktop_browsertest.cc base::TimeDelta::FromSeconds(3), base 346 chrome/test/remoting/remote_desktop_browsertest.cc base::TimeDelta::FromSeconds(1), base 347 chrome/test/remoting/remote_desktop_browsertest.cc base::Bind(&RemoteDesktopBrowserTest::IsLocalHostReady, this)); base 464 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromSeconds(2)).Wait()); base 475 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromSeconds(2)).Wait()); base 554 chrome/test/remoting/remote_desktop_browsertest.cc const base::FilePath& override_user_data_dir = base 659 chrome/test/remoting/remote_desktop_browsertest.cc base::TimeDelta::FromSeconds(5), base 660 chrome/test/remoting/remote_desktop_browsertest.cc base::TimeDelta::FromSeconds(1), base 661 chrome/test/remoting/remote_desktop_browsertest.cc base::Bind(&RemoteDesktopBrowserTest::IsPinFormVisible, this)); base 685 chrome/test/remoting/remote_desktop_browsertest.cc base::TimeDelta::FromSeconds(4), base 686 chrome/test/remoting/remote_desktop_browsertest.cc base::TimeDelta::FromSeconds(1), base 687 chrome/test/remoting/remote_desktop_browsertest.cc base::Bind(&RemoteDesktopBrowserTest::IsSessionConnected, this)); base 693 chrome/test/remoting/remote_desktop_browsertest.cc TimeoutWaiter(base::TimeDelta::FromSeconds(2)).Wait(); base 164 chrome/test/remoting/remote_desktop_browsertest.h base::FilePath WebAppCrxPath() { return webapp_crx_; } base 320 chrome/test/remoting/remote_desktop_browsertest.h base::FilePath webapp_crx_; base 321 chrome/test/remoting/remote_desktop_browsertest.h base::FilePath webapp_unpacked_; base 11 chrome/test/remoting/waiter.cc TimeoutWaiter::TimeoutWaiter(base::TimeDelta timeout) base 13 chrome/test/remoting/waiter.cc DCHECK(timeout > base::TimeDelta::FromSeconds(0)); base 24 chrome/test/remoting/waiter.cc base::Bind(&TimeoutWaiter::CancelWaitCallback, base::Unretained(this))); base 40 chrome/test/remoting/waiter.cc ConditionalTimeoutWaiter::ConditionalTimeoutWaiter(base::TimeDelta timeout, base 41 chrome/test/remoting/waiter.cc base::TimeDelta interval, base 58 chrome/test/remoting/waiter.cc base::Bind(&ConditionalTimeoutWaiter::CancelWaitCallback, base 59 chrome/test/remoting/waiter.cc base::Unretained(this))); base 22 chrome/test/remoting/waiter.h explicit TimeoutWaiter(base::TimeDelta timeout); base 36 chrome/test/remoting/waiter.h base::OneShotTimer<TimeoutWaiter> timeout_timer_; base 37 chrome/test/remoting/waiter.h base::TimeDelta timeout_; base 47 chrome/test/remoting/waiter.h typedef base::Callback<bool(void)> Predicate; base 49 chrome/test/remoting/waiter.h ConditionalTimeoutWaiter(base::TimeDelta timeout, base 50 chrome/test/remoting/waiter.h base::TimeDelta interval, base 64 chrome/test/remoting/waiter.h base::TimeDelta interval_; base 66 chrome/test/remoting/waiter.h base::RepeatingTimer<ConditionalTimeoutWaiter> condition_timer_; base 449 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::string16 depth; base 454 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp depth = base::FormatNumber(value.pathLenConstraint); base 496 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::SStringPrintf( base 559 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16(key), base 560 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16(value))); base 607 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::ASCIIToUTF16(ProcessRawBytes(&decoded))); base 622 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::ASCIIToUTF16( base 630 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16( base 638 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::ASCIIToUTF16(ProcessRawBytes(&ret->authCertSerialNumber))); base 674 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp rv += base::UTF16ToUTF8(base::UintToString16(number)); base 719 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16(key)); base 734 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16(GetOIDText(&policyQualifier->qualifierID))); base 816 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16( base 836 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::string16 location_str = base 837 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16(ProcessGeneralName(arena.get(), desc->location)); base 849 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16( base 980 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16(oid_text), base 981 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16(oid_dump)); base 1039 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UintToString16(key->u.rsa.modulus.len * 8), base 1040 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16(ProcessRawBytes(&key->u.rsa.modulus)), base 1041 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UintToString16(key->u.rsa.publicExponent.len * 8), base 1042 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UTF8ToUTF16(ProcessRawBytes(&key->u.rsa.publicExponent))); base 61 chrome/tools/convert_dict/aff_reader.cc AffReader::AffReader(const base::FilePath& path) base 63 chrome/tools/convert_dict/aff_reader.cc file_ = base::OpenFile(path, "r"); base 71 chrome/tools/convert_dict/aff_reader.cc base::CloseFile(file_); base 148 chrome/tools/convert_dict/aff_reader.cc if (!base::CodepageToWide(encoded, encoding(), base 149 chrome/tools/convert_dict/aff_reader.cc base::OnStringConversionError::FAIL, &wide_word)) base 151 chrome/tools/convert_dict/aff_reader.cc *utf8 = base::WideToUTF8(wide_word); base 233 chrome/tools/convert_dict/aff_reader.cc base::SplitString(part, ' ', &tokens); base 235 chrome/tools/convert_dict/aff_reader.cc part = base::StringPrintf("%s %s/%s %s", base 261 chrome/tools/convert_dict/aff_reader.cc base::SplitString(part.substr(slash_index + 1), ' ', &after_slash); base 277 chrome/tools/convert_dict/aff_reader.cc part = base::StringPrintf("%s%d %s", base 13 chrome/tools/convert_dict/aff_reader.h namespace base { base 21 chrome/tools/convert_dict/aff_reader.h explicit AffReader(const base::FilePath& path); base 91 chrome/tools/convert_dict/convert_dict.cc base::EnableTerminationOnHeapCorruption(); base 95 chrome/tools/convert_dict/convert_dict.cc base::AtExitManager exit_manager; base 96 chrome/tools/convert_dict/convert_dict.cc base::i18n::InitializeICU(); base 98 chrome/tools/convert_dict/convert_dict.cc base::FilePath file_base = base::FilePath(argv[1]); base 100 chrome/tools/convert_dict/convert_dict.cc base::FilePath aff_path = base 109 chrome/tools/convert_dict/convert_dict.cc base::FilePath dic_path = base 136 chrome/tools/convert_dict/convert_dict.cc base::FilePath out_path = base 139 chrome/tools/convert_dict/convert_dict.cc FILE* out_file = base::OpenFile(out_path, "wb"); base 146 chrome/tools/convert_dict/convert_dict.cc base::CloseFile(out_file); base 38 chrome/tools/convert_dict/convert_dict_unittest.cc SCOPED_TRACE(base::StringPrintf( base 65 chrome/tools/convert_dict/convert_dict_unittest.cc const std::map<base::string16, bool>& word_list) { base 67 chrome/tools/convert_dict/convert_dict_unittest.cc std::string aff_data(base::StringPrintf("SET %s\n", codepage)); base 69 chrome/tools/convert_dict/convert_dict_unittest.cc std::string dic_data(base::StringPrintf("%" PRIuS "\n", word_list.size())); base 70 chrome/tools/convert_dict/convert_dict_unittest.cc for (std::map<base::string16, bool>::const_iterator it = word_list.begin(); base 75 chrome/tools/convert_dict/convert_dict_unittest.cc base::OnStringConversionError::FAIL, base 82 chrome/tools/convert_dict/convert_dict_unittest.cc base::FilePath aff_file; base 83 chrome/tools/convert_dict/convert_dict_unittest.cc base::CreateTemporaryFile(&aff_file); base 84 chrome/tools/convert_dict/convert_dict_unittest.cc base::WriteFile(aff_file, aff_data.c_str(), aff_data.length()); base 86 chrome/tools/convert_dict/convert_dict_unittest.cc base::FilePath dic_file; base 87 chrome/tools/convert_dict/convert_dict_unittest.cc base::CreateTemporaryFile(&dic_file); base 88 chrome/tools/convert_dict/convert_dict_unittest.cc base::WriteFile(dic_file, dic_data.c_str(), dic_data.length()); base 102 chrome/tools/convert_dict/convert_dict_unittest.cc SCOPED_TRACE(base::StringPrintf("dic_reader.words()[%" PRIuS "]: %s", base 104 chrome/tools/convert_dict/convert_dict_unittest.cc base::string16 word(base::UTF8ToUTF16(dic_reader.words()[i].first)); base 124 chrome/tools/convert_dict/convert_dict_unittest.cc SCOPED_TRACE(base::StringPrintf("i = %" PRIuS, i)); base 133 chrome/tools/convert_dict/convert_dict_unittest.cc base::DeleteFile(aff_file, false); base 134 chrome/tools/convert_dict/convert_dict_unittest.cc base::DeleteFile(dic_file, false); base 152 chrome/tools/convert_dict/convert_dict_unittest.cc std::map<base::string16, bool> word_list; base 155 chrome/tools/convert_dict/convert_dict_unittest.cc std::make_pair<base::string16, bool>(base::WideToUTF16(kWords[i]), base 175 chrome/tools/convert_dict/convert_dict_unittest.cc std::map<base::string16, bool> word_list; base 178 chrome/tools/convert_dict/convert_dict_unittest.cc std::make_pair<base::string16, bool>(base::WideToUTF16(kWords[i]), base 200 chrome/tools/convert_dict/convert_dict_unittest.cc std::map<base::string16, bool> word_list; base 203 chrome/tools/convert_dict/convert_dict_unittest.cc std::make_pair<base::string16, bool>(base::WideToUTF16(kWords[i]), base 131 chrome/tools/convert_dict/dic_reader.cc DicReader::DicReader(const base::FilePath& path) { base 132 chrome/tools/convert_dict/dic_reader.cc file_ = base::OpenFile(path, "r"); base 134 chrome/tools/convert_dict/dic_reader.cc base::FilePath additional_path = base 136 chrome/tools/convert_dict/dic_reader.cc additional_words_file_ = base::OpenFile(additional_path, "r"); base 146 chrome/tools/convert_dict/dic_reader.cc base::CloseFile(file_); base 148 chrome/tools/convert_dict/dic_reader.cc base::CloseFile(additional_words_file_); base 13 chrome/tools/convert_dict/dic_reader.h namespace base { base 30 chrome/tools/convert_dict/dic_reader.h explicit DicReader(const base::FilePath& path); base 26 chrome/tools/convert_dict/hunspell_reader.cc base::TrimWhitespace(*line, base::TRIM_ALL, line); base 22 chrome/tools/crash_service/main.cc bool GetCrashServiceDirectory(base::FilePath* dir) { base 23 chrome/tools/crash_service/main.cc base::FilePath temp_dir; base 24 chrome/tools/crash_service/main.cc if (!base::GetTempDir(&temp_dir)) base 27 chrome/tools/crash_service/main.cc if (!base::PathExists(temp_dir)) { base 28 chrome/tools/crash_service/main.cc if (!base::CreateDirectory(temp_dir)) base 40 chrome/tools/crash_service/main.cc base::AtExitManager exit_manager; base 47 chrome/tools/crash_service/main.cc base::FilePath operating_dir; base 49 chrome/tools/crash_service/main.cc base::FilePath log_file = operating_dir.Append(kStandardLogFile); base 62 chrome/tools/crash_service/main.cc base::FilePath dumps_path; base 96 chrome/tools/profile_reset/jtl_compiler.cc const base::ListValue& arguments, base 228 chrome/tools/profile_reset/jtl_compiler.cc base::ListValue arguments; base 79 chrome/tools/profile_reset/jtl_compiler_frontend.cc base::FilePath source_code_path = base 82 chrome/tools/profile_reset/jtl_compiler_frontend.cc if (!base::ReadFileToString(source_code_path, &source_code)) { base 100 chrome/tools/profile_reset/jtl_compiler_frontend.cc base::FilePath bytecode_path = base 103 chrome/tools/profile_reset/jtl_compiler_frontend.cc base::WriteFile(cmd_line->GetSwitchValuePath(kOutputPath), base 115 chrome/tools/profile_reset/jtl_parser.cc base::ListValue* argument_list, base 147 chrome/tools/profile_reset/jtl_parser.cc new base::FundamentalValue(boolean_value == kTrueKeyword)); base 150 chrome/tools/profile_reset/jtl_parser.cc argument_list->Append(new base::StringValue(string_value)); base 58 chrome/tools/profile_reset/jtl_parser.h base::ListValue* argument_list, base 22 chrome/tools/profile_reset/jtl_parser_unittest.cc base::ListValue actual_args; base 30 chrome/tools/profile_reset/jtl_parser_unittest.cc base::JSONWriter::Write(&actual_args, &actual_args_json); base 39 chrome/tools/profile_reset/jtl_parser_unittest.cc base::ListValue actual_args; base 47 chrome/tools/safe_browsing/sb_sigutil.cc int bytes_written = base::WriteFile( base 23 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc base::Bind(&ServicePrinter::OnServiceResolved, base 24 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc base::Unretained(this))); base 70 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc service_type, base::Bind(&ServiceTypePrinter::OnServiceUpdated, base 71 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc base::Unretained(this))); base 98 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc base::AtExitManager at_exit_manager; base 99 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc base::MessageLoopForIO message_loop; base 102 chrome/utility/chrome_content_utility_client.cc base::FilePath pdf_module_path; base 104 chrome/utility/chrome_content_utility_client.cc !base::PathExists(pdf_module_path)) { base 108 chrome/utility/chrome_content_utility_client.cc pdf_lib_.Reset(base::LoadNativeLibrary(pdf_module_path, NULL)); base 169 chrome/utility/chrome_content_utility_client.cc const base::FilePath& pdf_module_path, base 170 chrome/utility/chrome_content_utility_client.cc const base::ScopedNativeLibrary& pdf_lib) { base 192 chrome/utility/chrome_content_utility_client.cc base::ScopedNativeLibrary pdf_lib_; base 200 chrome/utility/chrome_content_utility_client.cc static base::win::IATPatchFunction g_iat_patch_createdca; base 214 chrome/utility/chrome_content_utility_client.cc static base::win::IATPatchFunction g_iat_patch_get_font_data; base 237 chrome/utility/chrome_content_utility_client.cc const base::FilePath& pdf_module_path, base 238 chrome/utility/chrome_content_utility_client.cc const base::ScopedNativeLibrary& pdf_lib) OVERRIDE { base 312 chrome/utility/chrome_content_utility_client.cc static base::LazyInstance<PdfFunctions> g_pdf_lib = LAZY_INSTANCE_INITIALIZER; base 441 chrome/utility/chrome_content_utility_client.cc base::FilePath media_path; base 448 chrome/utility/chrome_content_utility_client.cc const base::FilePath& extension_path, base 519 chrome/utility/chrome_content_utility_client.cc if (!base::Base64Decode(encoded_string, &decoded_string)) { base 534 chrome/utility/chrome_content_utility_client.cc const base::FilePath& src_dir, base 535 chrome/utility/chrome_content_utility_client.cc const std::vector<base::FilePath>& src_relative_paths, base 536 chrome/utility/chrome_content_utility_client.cc const base::FileDescriptor& dest_fd) { base 541 chrome/utility/chrome_content_utility_client.cc for (std::vector<base::FilePath>::const_iterator iter = base 562 chrome/utility/chrome_content_utility_client.cc base::PlatformFile pdf_file, base 563 chrome/utility/chrome_content_utility_client.cc const base::FilePath& metafile_path, base 592 chrome/utility/chrome_content_utility_client.cc base::PlatformFile pdf = base 594 chrome/utility/chrome_content_utility_client.cc base::PlatformFile bitmap = base 606 chrome/utility/chrome_content_utility_client.cc base::PlatformFile pdf_file, base 607 chrome/utility/chrome_content_utility_client.cc const base::FilePath& metafile_path, base 614 chrome/utility/chrome_content_utility_client.cc base::win::ScopedHandle file(pdf_file); base 682 chrome/utility/chrome_content_utility_client.cc base::PlatformFile pdf_file, base 685 chrome/utility/chrome_content_utility_client.cc base::PlatformFile bitmap_file) { base 690 chrome/utility/chrome_content_utility_client.cc base::PlatformFileInfo info; base 691 chrome/utility/chrome_content_utility_client.cc if (!base::GetPlatformFileInfo(pdf_file, &info) || info.size <= 0) base 695 chrome/utility/chrome_content_utility_client.cc int data_size = base::ReadPlatformFile(pdf_file, 0, &data[0], data.size()); base 708 chrome/utility/chrome_content_utility_client.cc int bytes_written = base::WritePlatformFileAtCurrentPos(bitmap_file, base 746 chrome/utility/chrome_content_utility_client.cc bytes_written = base::WritePlatformFileAtCurrentPos(bitmap_file, base 775 chrome/utility/chrome_content_utility_client.cc base::Value* value = base::JSONReader::ReadAndReturnError( base 776 chrome/utility/chrome_content_utility_client.cc json, base::JSON_PARSE_RFC, &error_code, &error); base 778 chrome/utility/chrome_content_utility_client.cc base::ListValue wrapper; base 833 chrome/utility/chrome_content_utility_client.cc const base::FilePath& input_file, base 834 chrome/utility/chrome_content_utility_client.cc const base::FilePath& patch_file, base 835 chrome/utility/chrome_content_utility_client.cc const base::FilePath& output_file) { base 851 chrome/utility/chrome_content_utility_client.cc const base::FilePath& input_file, base 852 chrome/utility/chrome_content_utility_client.cc const base::FilePath& patch_file, base 853 chrome/utility/chrome_content_utility_client.cc const base::FilePath& output_file) { base 889 chrome/utility/chrome_content_utility_client.cc base::File(IPC::PlatformFileForTransitToPlatformFile(media_file))); base 891 chrome/utility/chrome_content_utility_client.cc base::TimeDelta::FromMilliseconds(milliseconds_of_decoding)); base 905 chrome/utility/chrome_content_utility_client.cc parser->Start(base::Bind(&FinishParseMediaMetadata, base::Owned(parser))); base 912 chrome/utility/chrome_content_utility_client.cc base::FilePath library_path( base 923 chrome/utility/chrome_content_utility_client.cc base::PlatformFile file = base 935 chrome/utility/chrome_content_utility_client.cc base::PlatformFile file = base 16 chrome/utility/chrome_content_utility_client.h namespace base { base 51 chrome/utility/chrome_content_utility_client.h void OnUnpackExtension(const base::FilePath& extension_path, base 59 chrome/utility/chrome_content_utility_client.h base::PlatformFile pdf_file, base 60 chrome/utility/chrome_content_utility_client.h const base::FilePath& metafile_path, base 73 chrome/utility/chrome_content_utility_client.h void OnCreateZipFile(const base::FilePath& src_dir, base 74 chrome/utility/chrome_content_utility_client.h const std::vector<base::FilePath>& src_relative_paths, base 75 chrome/utility/chrome_content_utility_client.h const base::FileDescriptor& dest_fd); base 82 chrome/utility/chrome_content_utility_client.h base::PlatformFile pdf_file, base 83 chrome/utility/chrome_content_utility_client.h const base::FilePath& metafile_path, base 91 chrome/utility/chrome_content_utility_client.h base::PlatformFile pdf_file, base 94 chrome/utility/chrome_content_utility_client.h base::PlatformFile bitmap_file); base 98 chrome/utility/chrome_content_utility_client.h void OnPatchFileBsdiff(const base::FilePath& input_file, base 99 chrome/utility/chrome_content_utility_client.h const base::FilePath& patch_file, base 100 chrome/utility/chrome_content_utility_client.h const base::FilePath& output_file); base 101 chrome/utility/chrome_content_utility_client.h void OnPatchFileCourgette(const base::FilePath& input_file, base 102 chrome/utility/chrome_content_utility_client.h const base::FilePath& patch_file, base 103 chrome/utility/chrome_content_utility_client.h const base::FilePath& output_file); base 73 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderHwResolutionHorizontal, dpi); base 74 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderHwResolutionVertical, dpi); base 75 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderCupsWidth, image.size().width()); base 76 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderCupsHeight, base 78 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderCupsBitsPerColor, kBitsPerColor); base 79 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderCupsBitsPerPixel, kBitsPerPixel); base 80 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderCupsBytesPerLine, base 82 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderCupsColorOrder, kColorOrder); base 83 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderCupsColorSpace, kColorSpace); base 84 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderCupsNumColors, kNumColors); base 85 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderPwgTotalPageCount, total_pages); base 75 chrome/utility/cloud_print/pwg_encoder_unittest.cc EXPECT_EQ(kPWGFileSha1, base::SHA1HashString(output)); base 48 chrome/utility/extensions/unpacker.cc SkBitmap DecodeImage(const base::FilePath& path) { base 51 chrome/utility/extensions/unpacker.cc if (!base::PathExists(path) || base 52 chrome/utility/extensions/unpacker.cc !base::ReadFileToString(path, &file_contents)) { base 67 chrome/utility/extensions/unpacker.cc bool PathContainsParentDirectory(const base::FilePath& path) { base 68 chrome/utility/extensions/unpacker.cc const base::FilePath::StringType kSeparators(base::FilePath::kSeparators); base 69 chrome/utility/extensions/unpacker.cc const base::FilePath::StringType kParentDirectory( base 70 chrome/utility/extensions/unpacker.cc base::FilePath::kParentDirectory); base 71 chrome/utility/extensions/unpacker.cc const size_t npos = base::FilePath::StringType::npos; base 72 chrome/utility/extensions/unpacker.cc const base::FilePath::StringType& value = path.value(); base 88 chrome/utility/extensions/unpacker.cc bool WritePickle(const IPC::Message& pickle, const base::FilePath& dest_path) { base 89 chrome/utility/extensions/unpacker.cc int size = base::checked_cast<int>(pickle.size()); base 91 chrome/utility/extensions/unpacker.cc int bytes_written = base::WriteFile(dest_path, data, size); base 101 chrome/utility/extensions/unpacker.cc Unpacker::Unpacker(const base::FilePath& extension_path, base 115 chrome/utility/extensions/unpacker.cc base::DictionaryValue* Unpacker::ReadManifest() { base 116 chrome/utility/extensions/unpacker.cc base::FilePath manifest_path = base 118 chrome/utility/extensions/unpacker.cc if (!base::PathExists(manifest_path)) { base 125 chrome/utility/extensions/unpacker.cc scoped_ptr<base::Value> root(serializer.Deserialize(NULL, &error)); base 131 chrome/utility/extensions/unpacker.cc if (!root->IsType(base::Value::TYPE_DICTIONARY)) { base 136 chrome/utility/extensions/unpacker.cc return static_cast<base::DictionaryValue*>(root.release()); base 140 chrome/utility/extensions/unpacker.cc base::FilePath locales_path = base 144 chrome/utility/extensions/unpacker.cc base::FileEnumerator locales(locales_path, base 146 chrome/utility/extensions/unpacker.cc base::FileEnumerator::DIRECTORIES); base 150 chrome/utility/extensions/unpacker.cc base::FilePath locale_path; base 156 chrome/utility/extensions/unpacker.cc base::FilePath messages_path = locale_path.Append(kMessagesFilename); base 172 chrome/utility/extensions/unpacker.cc if (!base::CreateDirectory(temp_install_dir_)) { base 176 chrome/utility/extensions/unpacker.cc base::i18n::GetDisplayStringInLTRDirectionality( base 213 chrome/utility/extensions/unpacker.cc std::set<base::FilePath> image_paths = base 215 chrome/utility/extensions/unpacker.cc for (std::set<base::FilePath>::iterator it = image_paths.begin(); base 223 chrome/utility/extensions/unpacker.cc parsed_catalogs_.reset(new base::DictionaryValue); base 236 chrome/utility/extensions/unpacker.cc base::FilePath path = extension_path_.DirName().AppendASCII( base 250 chrome/utility/extensions/unpacker.cc base::FilePath path = extension_path_.DirName().AppendASCII( base 260 chrome/utility/extensions/unpacker.cc bool Unpacker::AddDecodedImage(const base::FilePath& path) { base 266 chrome/utility/extensions/unpacker.cc base::i18n::GetDisplayStringInLTRDirectionality( base 276 chrome/utility/extensions/unpacker.cc base::i18n::GetDisplayStringInLTRDirectionality( base 285 chrome/utility/extensions/unpacker.cc bool Unpacker::ReadMessageCatalog(const base::FilePath& message_path) { base 288 chrome/utility/extensions/unpacker.cc scoped_ptr<base::DictionaryValue> root(static_cast<base::DictionaryValue*>( base 291 chrome/utility/extensions/unpacker.cc base::string16 messages_file = message_path.LossyDisplayName(); base 294 chrome/utility/extensions/unpacker.cc SetError(base::StringPrintf("%s %s", errors::kLocalesMessagesFileMissing, base 295 chrome/utility/extensions/unpacker.cc base::UTF16ToUTF8(messages_file).c_str())); base 297 chrome/utility/extensions/unpacker.cc SetError(base::StringPrintf("%s: %s", base 298 chrome/utility/extensions/unpacker.cc base::UTF16ToUTF8(messages_file).c_str(), base 304 chrome/utility/extensions/unpacker.cc base::FilePath relative_path; base 322 chrome/utility/extensions/unpacker.cc SetUTF16Error(base::UTF8ToUTF16(error)); base 325 chrome/utility/extensions/unpacker.cc void Unpacker::SetUTF16Error(const base::string16& error) { base 17 chrome/utility/extensions/unpacker.h namespace base { base 29 chrome/utility/extensions/unpacker.h Unpacker(const base::FilePath& extension_path, base 49 chrome/utility/extensions/unpacker.h const base::string16& error_message() { return error_message_; } base 50 chrome/utility/extensions/unpacker.h base::DictionaryValue* parsed_manifest() { base 53 chrome/utility/extensions/unpacker.h base::DictionaryValue* parsed_catalogs() { return parsed_catalogs_.get(); } base 58 chrome/utility/extensions/unpacker.h base::DictionaryValue* ReadManifest(); base 65 chrome/utility/extensions/unpacker.h bool AddDecodedImage(const base::FilePath& path); base 69 chrome/utility/extensions/unpacker.h bool ReadMessageCatalog(const base::FilePath& message_path); base 73 chrome/utility/extensions/unpacker.h void SetUTF16Error(const base::string16& error); base 76 chrome/utility/extensions/unpacker.h base::FilePath extension_path_; base 88 chrome/utility/extensions/unpacker.h base::FilePath temp_install_dir_; base 91 chrome/utility/extensions/unpacker.h scoped_ptr<base::DictionaryValue> parsed_manifest_; base 100 chrome/utility/extensions/unpacker.h scoped_ptr<base::DictionaryValue> parsed_catalogs_; base 103 chrome/utility/extensions/unpacker.h base::string16 error_message_; base 19 chrome/utility/extensions/unpacker_unittest.cc using base::ASCIIToUTF16; base 35 chrome/utility/extensions/unpacker_unittest.cc base::FilePath original_path; base 40 chrome/utility/extensions/unpacker_unittest.cc ASSERT_TRUE(base::PathExists(original_path)) << original_path.value(); base 46 chrome/utility/extensions/unpacker_unittest.cc base::FilePath crx_path = temp_dir_.path().AppendASCII(crx_name); base 47 chrome/utility/extensions/unpacker_unittest.cc ASSERT_TRUE(base::CopyFile(original_path, crx_path)) << base 58 chrome/utility/extensions/unpacker_unittest.cc base::ScopedTempDir temp_dir_; base 137 chrome/utility/extensions/unpacker_unittest.cc base::FilePath path = base 139 chrome/utility/extensions/unpacker_unittest.cc ASSERT_TRUE(base::WriteFile(path, "foo", 3)); base 25 chrome/utility/image_writer/image_writer.cc void ImageWriter::Write(const base::FilePath& image_path, base 26 chrome/utility/image_writer/image_writer.cc const base::FilePath& device_path) { base 37 chrome/utility/image_writer/image_writer.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 49 chrome/utility/image_writer/image_writer.cc base::File(CreateFile(device_path.value().c_str(), base 63 chrome/utility/image_writer/image_writer.cc base::File::FLAG_OPEN | base::File::FLAG_WRITE); base 76 chrome/utility/image_writer/image_writer.cc PostTask(base::Bind(&ImageWriter::WriteChunk, AsWeakPtr())); base 79 chrome/utility/image_writer/image_writer.cc void ImageWriter::Verify(const base::FilePath& image_path, base 80 chrome/utility/image_writer/image_writer.cc const base::FilePath& device_path) { base 91 chrome/utility/image_writer/image_writer.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 100 chrome/utility/image_writer/image_writer.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 110 chrome/utility/image_writer/image_writer.cc PostTask(base::Bind(&ImageWriter::VerifyChunk, AsWeakPtr())); base 122 chrome/utility/image_writer/image_writer.cc void ImageWriter::PostTask(const base::Closure& task) { base 123 chrome/utility/image_writer/image_writer.cc base::MessageLoop::current()->PostTask(FROM_HERE, task); base 160 chrome/utility/image_writer/image_writer.cc PostTask(base::Bind(&ImageWriter::WriteChunk, AsWeakPtr())); base 203 chrome/utility/image_writer/image_writer.cc PostTask(base::Bind(&ImageWriter::VerifyChunk, AsWeakPtr())); base 21 chrome/utility/image_writer/image_writer.h class ImageWriter : public base::SupportsWeakPtr<ImageWriter> { base 27 chrome/utility/image_writer/image_writer.h void Write(const base::FilePath& image_path, base 28 chrome/utility/image_writer/image_writer.h const base::FilePath& device_path); base 31 chrome/utility/image_writer/image_writer.h void Verify(const base::FilePath& image_path, base 32 chrome/utility/image_writer/image_writer.h const base::FilePath& device_path); base 41 chrome/utility/image_writer/image_writer.h void PostTask(const base::Closure& task); base 52 chrome/utility/image_writer/image_writer.h base::FilePath image_path_; base 53 chrome/utility/image_writer/image_writer.h base::FilePath device_path_; base 55 chrome/utility/image_writer/image_writer.h base::File image_file_; base 56 chrome/utility/image_writer/image_writer.h base::File device_file_; base 60 chrome/utility/image_writer/image_writer_handler.cc void ImageWriterHandler::OnWriteStart(const base::FilePath& image, base 61 chrome/utility/image_writer/image_writer_handler.cc const base::FilePath& device) { base 75 chrome/utility/image_writer/image_writer_handler.cc void ImageWriterHandler::OnVerifyStart(const base::FilePath& image, base 76 chrome/utility/image_writer/image_writer_handler.cc const base::FilePath& device) { base 98 chrome/utility/image_writer/image_writer_handler.cc bool ImageWriterHandler::IsValidDevice(const base::FilePath& device) { base 100 chrome/utility/image_writer/image_writer_handler.cc base::win::ScopedHandle device_handle( base 12 chrome/utility/image_writer/image_writer_handler.h namespace base { base 39 chrome/utility/image_writer/image_writer_handler.h void OnWriteStart(const base::FilePath& image, const base::FilePath& device); base 40 chrome/utility/image_writer/image_writer_handler.h void OnVerifyStart(const base::FilePath& image, const base::FilePath& device); base 44 chrome/utility/image_writer/image_writer_handler.h bool IsValidDevice(const base::FilePath& device); base 30 chrome/utility/image_writer/image_writer_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &image_path_)); base 32 chrome/utility/image_writer/image_writer_unittest.cc base::CreateTemporaryFileInDir(temp_dir_.path(), &device_path_)); base 37 chrome/utility/image_writer/image_writer_unittest.cc void FillFile(const base::FilePath& path, int pattern) { base 41 chrome/utility/image_writer/image_writer_unittest.cc ASSERT_TRUE(base::WriteFile(path, buffer.get(), kTestFileSize)); base 44 chrome/utility/image_writer/image_writer_unittest.cc void FillDefault(const base::FilePath& path) { FillFile(path, kTestPattern); } base 46 chrome/utility/image_writer/image_writer_unittest.cc base::FilePath image_path_; base 47 chrome/utility/image_writer/image_writer_unittest.cc base::FilePath device_path_; base 50 chrome/utility/image_writer/image_writer_unittest.cc base::MessageLoop message_loop_; base 51 chrome/utility/image_writer/image_writer_unittest.cc base::ScopedTempDir temp_dir_; base 76 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 87 chrome/utility/image_writer/image_writer_unittest.cc ASSERT_TRUE(base::DeleteFile(image_path_, false)); base 89 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 100 chrome/utility/image_writer/image_writer_unittest.cc ASSERT_TRUE(base::DeleteFile(device_path_, false)); base 102 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 120 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 131 chrome/utility/image_writer/image_writer_unittest.cc ASSERT_TRUE(base::DeleteFile(image_path_, false)); base 135 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 146 chrome/utility/image_writer/image_writer_unittest.cc ASSERT_TRUE(base::DeleteFile(device_path_, false)); base 150 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 164 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 179 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 192 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 196 chrome/utility/image_writer/image_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 90 chrome/utility/importer/bookmark_html_reader.cc const base::Callback<bool(void)>& cancellation_callback, base 91 chrome/utility/importer/bookmark_html_reader.cc const base::Callback<bool(const GURL&)>& valid_url_callback, base 92 chrome/utility/importer/bookmark_html_reader.cc const base::FilePath& file_path, base 96 chrome/utility/importer/bookmark_html_reader.cc base::ReadFileToString(file_path, &content); base 98 chrome/utility/importer/bookmark_html_reader.cc base::SplitString(content, '\n', &lines); base 100 chrome/utility/importer/bookmark_html_reader.cc base::string16 last_folder; base 104 chrome/utility/importer/bookmark_html_reader.cc base::Time last_folder_add_date; base 105 chrome/utility/importer/bookmark_html_reader.cc std::vector<base::string16> path; base 113 chrome/utility/importer/bookmark_html_reader.cc base::TrimString(lines[i], " ", &line); base 122 chrome/utility/importer/bookmark_html_reader.cc base::TrimString(line, " ", &line); base 139 chrome/utility/importer/bookmark_html_reader.cc base::string16 title; base 140 chrome/utility/importer/bookmark_html_reader.cc base::string16 shortcut; base 142 chrome/utility/importer/bookmark_html_reader.cc base::Time add_date; base 143 chrome/utility/importer/bookmark_html_reader.cc base::string16 post_data; base 207 chrome/utility/importer/bookmark_html_reader.cc base::string16 folder_title = path.back(); base 261 chrome/utility/importer/bookmark_html_reader.cc base::string16* folder_name, base 263 chrome/utility/importer/bookmark_html_reader.cc base::Time* add_date) { base 278 chrome/utility/importer/bookmark_html_reader.cc base::CodepageToUTF16(line.substr(tag_end, end - tag_end), charset.c_str(), base 279 chrome/utility/importer/bookmark_html_reader.cc base::OnStringConversionError::SKIP, folder_name); base 289 chrome/utility/importer/bookmark_html_reader.cc base::StringToInt64(value, &time); base 292 chrome/utility/importer/bookmark_html_reader.cc *add_date = base::Time::FromTimeT(time); base 306 chrome/utility/importer/bookmark_html_reader.cc base::string16* title, base 309 chrome/utility/importer/bookmark_html_reader.cc base::string16* shortcut, base 310 chrome/utility/importer/bookmark_html_reader.cc base::Time* add_date, base 311 chrome/utility/importer/bookmark_html_reader.cc base::string16* post_data) { base 326 chrome/utility/importer/bookmark_html_reader.cc *add_date = base::Time(); base 347 chrome/utility/importer/bookmark_html_reader.cc base::CodepageToUTF16(line.substr(tag_end, end - tag_end), charset.c_str(), base 348 chrome/utility/importer/bookmark_html_reader.cc base::OnStringConversionError::SKIP, title); base 353 chrome/utility/importer/bookmark_html_reader.cc base::string16 url16; base 354 chrome/utility/importer/bookmark_html_reader.cc base::CodepageToUTF16(value, charset.c_str(), base 355 chrome/utility/importer/bookmark_html_reader.cc base::OnStringConversionError::SKIP, &url16); base 367 chrome/utility/importer/bookmark_html_reader.cc base::CodepageToUTF16(value, charset.c_str(), base 368 chrome/utility/importer/bookmark_html_reader.cc base::OnStringConversionError::SKIP, shortcut); base 375 chrome/utility/importer/bookmark_html_reader.cc base::StringToInt64(value, &time); base 378 chrome/utility/importer/bookmark_html_reader.cc *add_date = base::Time::FromTimeT(time); base 383 chrome/utility/importer/bookmark_html_reader.cc base::CodepageToUTF16(value, charset.c_str(), base 384 chrome/utility/importer/bookmark_html_reader.cc base::OnStringConversionError::SKIP, post_data); base 393 chrome/utility/importer/bookmark_html_reader.cc base::string16* title, base 417 chrome/utility/importer/bookmark_html_reader.cc base::CodepageToUTF16(line.substr(tag_end, end - tag_end), charset.c_str(), base 418 chrome/utility/importer/bookmark_html_reader.cc base::OnStringConversionError::SKIP, title); base 426 chrome/utility/importer/bookmark_html_reader.cc base::string16 url16; base 427 chrome/utility/importer/bookmark_html_reader.cc base::CodepageToUTF16(value, charset.c_str(), base 428 chrome/utility/importer/bookmark_html_reader.cc base::OnStringConversionError::SKIP, &url16); base 18 chrome/utility/importer/bookmark_html_reader.h namespace base { base 43 chrome/utility/importer/bookmark_html_reader.h const base::Callback<bool(void)>& cancellation_callback, base 44 chrome/utility/importer/bookmark_html_reader.h const base::Callback<bool(const GURL&)>& valid_url_callback, base 45 chrome/utility/importer/bookmark_html_reader.h const base::FilePath& file_path, base 66 chrome/utility/importer/bookmark_html_reader.h base::string16* folder_name, base 68 chrome/utility/importer/bookmark_html_reader.h base::Time* add_date); base 74 chrome/utility/importer/bookmark_html_reader.h base::string16* title, base 77 chrome/utility/importer/bookmark_html_reader.h base::string16* shortcut, base 78 chrome/utility/importer/bookmark_html_reader.h base::Time* add_date, base 79 chrome/utility/importer/bookmark_html_reader.h base::string16* post_data); base 90 chrome/utility/importer/bookmark_html_reader.h base::string16* title, base 19 chrome/utility/importer/bookmark_html_reader_unittest.cc using base::ASCIIToUTF16; base 20 chrome/utility/importer/bookmark_html_reader_unittest.cc using base::UTF16ToWide; base 37 chrome/utility/importer/bookmark_html_reader_unittest.cc base::string16 folder_name; base 39 chrome/utility/importer/bookmark_html_reader_unittest.cc base::Time folder_add_date; base 47 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_TRUE(base::Time::FromTimeT(1207558707) == folder_add_date); base 54 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), folder_name); base 58 chrome/utility/importer/bookmark_html_reader_unittest.cc base::string16 title; base 60 chrome/utility/importer/bookmark_html_reader_unittest.cc base::string16 shortcut; base 61 chrome/utility/importer/bookmark_html_reader_unittest.cc base::string16 post_data; base 62 chrome/utility/importer/bookmark_html_reader_unittest.cc base::Time add_date; base 71 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), post_data); base 72 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_TRUE(base::Time() == add_date); base 81 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), shortcut); base 82 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), post_data); base 83 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_TRUE(base::Time() == add_date); base 91 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), shortcut); base 92 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), post_data); base 93 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_TRUE(base::Time() == add_date); base 102 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), shortcut); base 103 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), post_data); base 104 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_TRUE(base::Time::FromTimeT(1121301154) == add_date); base 118 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_TRUE(base::Time::FromTimeT(1212447159) == add_date); base 125 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), title); base 127 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), shortcut); base 128 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::string16(), post_data); base 129 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_TRUE(base::Time() == add_date); base 156 chrome/utility/importer/bookmark_html_reader_unittest.cc base::FilePath test_data_path_; base 168 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::Time::FromTimeT(1295938143), entry.creation_time); base 178 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::Time::FromTimeT(1234567890), entry.creation_time); base 189 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::Time::FromTimeT(0000000000), entry.creation_time); base 214 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::Time::FromTimeT(1376102167), entry.creation_time); base 223 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::Time::FromTimeT(1376102304), entry.creation_time); base 233 chrome/utility/importer/bookmark_html_reader_unittest.cc EXPECT_EQ(base::Time::FromTimeT(1376102224), entry.creation_time); base 242 chrome/utility/importer/bookmark_html_reader_unittest.cc base::FilePath path = test_data_path_.AppendASCII("firefox2.html"); base 245 chrome/utility/importer/bookmark_html_reader_unittest.cc ImportBookmarksFile(base::Callback<bool(void)>(), base 246 chrome/utility/importer/bookmark_html_reader_unittest.cc base::Callback<bool(const GURL&)>(), base 256 chrome/utility/importer/bookmark_html_reader_unittest.cc base::FilePath path = test_data_path_.AppendASCII("firefox23.html"); base 259 chrome/utility/importer/bookmark_html_reader_unittest.cc ImportBookmarksFile(base::Callback<bool(void)>(), base 260 chrome/utility/importer/bookmark_html_reader_unittest.cc base::Callback<bool(const GURL&)>(), base 270 chrome/utility/importer/bookmark_html_reader_unittest.cc base::FilePath path = test_data_path_.AppendASCII("epiphany.html"); base 273 chrome/utility/importer/bookmark_html_reader_unittest.cc ImportBookmarksFile(base::Callback<bool(void)>(), base 274 chrome/utility/importer/bookmark_html_reader_unittest.cc base::Callback<bool(const GURL&)>(), base 297 chrome/utility/importer/bookmark_html_reader_unittest.cc base::FilePath path = test_data_path_.AppendASCII("firefox2.html"); base 301 chrome/utility/importer/bookmark_html_reader_unittest.cc ImportBookmarksFile(base::Bind(&CancelAfterFifteenCalls::ShouldCancel, base 302 chrome/utility/importer/bookmark_html_reader_unittest.cc base::Unretained(&cancel_fifteen)), base 303 chrome/utility/importer/bookmark_html_reader_unittest.cc base::Callback<bool(const GURL&)>(), base 324 chrome/utility/importer/bookmark_html_reader_unittest.cc base::FilePath path = test_data_path_.AppendASCII("firefox2.html"); base 327 chrome/utility/importer/bookmark_html_reader_unittest.cc ImportBookmarksFile(base::Callback<bool(void)>(), base 328 chrome/utility/importer/bookmark_html_reader_unittest.cc base::Bind(&IsURLValid), base 96 chrome/utility/importer/bookmarks_file_importer.cc base::Bind(IsImporterCancelled, base::Unretained(this)), base 97 chrome/utility/importer/bookmarks_file_importer.cc base::Bind(internal::CanImportURL), base 103 chrome/utility/importer/bookmarks_file_importer.cc base::string16 first_folder_name = base 32 chrome/utility/importer/external_process_importer_bridge.cc const base::DictionaryValue& localized_strings, base 34 chrome/utility/importer/external_process_importer_bridge.cc base::TaskRunner* task_runner) base 44 chrome/utility/importer/external_process_importer_bridge.cc const base::string16& first_folder_name) { base 161 chrome/utility/importer/external_process_importer_bridge.cc base::string16 ExternalProcessImporterBridge::GetLocalizedString( base 163 chrome/utility/importer/external_process_importer_bridge.cc base::string16 message; base 164 chrome/utility/importer/external_process_importer_bridge.cc localized_strings_->GetString(base::IntToString(message_id), &message); base 173 chrome/utility/importer/external_process_importer_bridge.cc base::Bind(&ExternalProcessImporterBridge::SendInternal, base 19 chrome/utility/importer/external_process_importer_bridge.h namespace base { base 45 chrome/utility/importer/external_process_importer_bridge.h const base::DictionaryValue& localized_strings, base 47 chrome/utility/importer/external_process_importer_bridge.h base::TaskRunner* task_runner); base 51 chrome/utility/importer/external_process_importer_bridge.h const base::string16& first_folder_name) OVERRIDE; base 81 chrome/utility/importer/external_process_importer_bridge.h virtual base::string16 GetLocalizedString(int message_id) OVERRIDE; base 92 chrome/utility/importer/external_process_importer_bridge.h scoped_ptr<base::DictionaryValue> localized_strings_; base 95 chrome/utility/importer/external_process_importer_bridge.h scoped_refptr<base::TaskRunner> task_runner_; base 44 chrome/utility/importer/firefox_importer.cc void LoadDefaultBookmarks(const base::FilePath& app_path, base 46 chrome/utility/importer/firefox_importer.cc base::FilePath file = app_path.AppendASCII("defaults") base 52 chrome/utility/importer/firefox_importer.cc bookmark_html_reader::ImportBookmarksFile(base::Callback<bool(void)>(), base 53 chrome/utility/importer/firefox_importer.cc base::Callback<bool(const GURL&)>(), base 84 chrome/utility/importer/firefox_importer.cc base::string16 title; base 87 chrome/utility/importer/firefox_importer.cc base::Time date_added; base 146 chrome/utility/importer/firefox_importer.cc base::FilePath file = source_path_.AppendASCII("places.sqlite"); base 147 chrome/utility/importer/firefox_importer.cc if (!base::PathExists(file)) base 180 chrome/utility/importer/firefox_importer.cc row.last_visit = base::Time::FromTimeT(s.ColumnInt64(5)/1000000); base 190 chrome/utility/importer/firefox_importer.cc base::FilePath file = source_path_.AppendASCII("places.sqlite"); base 191 chrome/utility/importer/firefox_importer.cc if (!base::PathExists(file)) base 261 chrome/utility/importer/firefox_importer.cc std::vector<base::string16> path; base 313 chrome/utility/importer/firefox_importer.cc url_keyword_info.keyword.assign(base::UTF8ToUTF16(item->keyword)); base 324 chrome/utility/importer/firefox_importer.cc const base::string16& first_folder_name = base 347 chrome/utility/importer/firefox_importer.cc base::FilePath source_path = source_path_; base 348 chrome/utility/importer/firefox_importer.cc base::FilePath file = source_path.AppendASCII("signons.sqlite"); base 349 chrome/utility/importer/firefox_importer.cc if (base::PathExists(file)) { base 355 chrome/utility/importer/firefox_importer.cc if (!base::PathExists(file)) base 359 chrome/utility/importer/firefox_importer.cc base::ReadFileToString(file, &content); base 389 chrome/utility/importer/firefox_importer.cc base::FilePath file = source_path_.AppendASCII("search.sqlite"); base 390 chrome/utility/importer/firefox_importer.cc if (!base::PathExists(file)) base 407 chrome/utility/importer/firefox_importer.cc const base::FilePath searchplugins_path(FILE_PATH_LITERAL("searchplugins")); base 413 chrome/utility/importer/firefox_importer.cc base::FilePath app_path = base 415 chrome/utility/importer/firefox_importer.cc if (!base::PathExists(app_path)) { base 421 chrome/utility/importer/firefox_importer.cc base::FilePath profile_path = source_path_.Append(searchplugins_path); base 430 chrome/utility/importer/firefox_importer.cc base::FilePath file; base 446 chrome/utility/importer/firefox_importer.cc file = base::FilePath::FromUTF8Unsafe(engine); base 449 chrome/utility/importer/firefox_importer.cc base::ReadFileToString(file, &file_data); base 461 chrome/utility/importer/firefox_importer.cc base::FilePath locale_app_path = app_path.AppendASCII(locale_); base 462 chrome/utility/importer/firefox_importer.cc base::FilePath default_locale_app_path = app_path.AppendASCII("en-US"); base 463 chrome/utility/importer/firefox_importer.cc if (base::DirectoryExists(locale_app_path)) base 465 chrome/utility/importer/firefox_importer.cc else if (base::DirectoryExists(default_locale_app_path)) base 470 chrome/utility/importer/firefox_importer.cc base::FileEnumerator engines(app_path, false, base::FileEnumerator::FILES); base 471 chrome/utility/importer/firefox_importer.cc for (base::FilePath engine_path = engines.Next(); base 474 chrome/utility/importer/firefox_importer.cc base::ReadFileToString(file, &file_data); base 568 chrome/utility/importer/firefox_importer.cc item->date_added = base::Time::FromTimeT(s.ColumnInt64(5)/1000000); base 78 chrome/utility/importer/firefox_importer.h base::FilePath source_path_; base 79 chrome/utility/importer/firefox_importer.h base::FilePath app_path_; base 24 chrome/utility/importer/firefox_importer_unittest.cc base::FilePath nss_path; base 31 chrome/utility/importer/firefox_importer_unittest.cc base::FilePath db_path; base 39 chrome/utility/importer/firefox_importer_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("hello"), base 43 chrome/utility/importer/firefox_importer_unittest.cc EXPECT_EQ(base::WideToUTF16(L"\x4E2D"), base 14 chrome/utility/importer/firefox_importer_unittest_messages_internal.h base::FilePath /* dll_path */, base 15 chrome/utility/importer/firefox_importer_unittest_messages_internal.h base::FilePath /* db_path */) base 25 chrome/utility/importer/firefox_importer_unittest_messages_internal.h base::string16 /* unencrypted_str */) base 15 chrome/utility/importer/firefox_importer_unittest_utils.h namespace base { base 41 chrome/utility/importer/firefox_importer_unittest_utils.h bool Setup(const base::FilePath& nss_path); base 44 chrome/utility/importer/firefox_importer_unittest_utils.h bool DecryptorInit(const base::FilePath& dll_path, base 45 chrome/utility/importer/firefox_importer_unittest_utils.h const base::FilePath& db_path); base 46 chrome/utility/importer/firefox_importer_unittest_utils.h base::string16 Decrypt(const std::string& crypt); base 56 chrome/utility/importer/firefox_importer_unittest_utils.h base::ProcessHandle child_process_; base 59 chrome/utility/importer/firefox_importer_unittest_utils.h scoped_ptr<base::MessageLoopForIO> message_loop_; base 75 chrome/utility/importer/firefox_importer_unittest_utils.h bool FFUnitTestDecryptorProxy::Setup(const base::FilePath& nss_path) { base 79 chrome/utility/importer/firefox_importer_unittest_utils.h bool FFUnitTestDecryptorProxy::DecryptorInit(const base::FilePath& dll_path, base 80 chrome/utility/importer/firefox_importer_unittest_utils.h const base::FilePath& db_path) { base 84 chrome/utility/importer/firefox_importer_unittest_utils.h base::string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { base 40 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc bool LaunchNSSDecrypterChildProcess(const base::FilePath& nss_path, base 41 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc IPC::Channel* channel, base::ProcessHandle* handle) { base 48 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::LaunchOptions options; base 51 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::ScopedFD ipcfd(channel->TakeClientFileDescriptor()); base 55 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::FileHandleMappingVector fds_to_map; base 57 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor)); base 63 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc return base::LaunchProcess(cl.argv(), options, handle); base 87 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::MessageLoop::current()->Quit(); base 90 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc void OnDecryptedTextResonse(const base::string16& decrypted_text) { base 94 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::MessageLoop::current()->Quit(); base 115 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::MessageLoop::current()->Quit(); base 119 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::string16 result_string; base 132 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc bool FFUnitTestDecryptorProxy::Setup(const base::FilePath& nss_path) { base 134 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc message_loop_.reset(new base::MessageLoopForIO()); base 155 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::WaitForSingleProcess(child_process_, base::TimeDelta::FromSeconds(5)); base 156 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::CloseProcessHandle(child_process_); base 162 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc class CancellableQuitMsgLoop : public base::RefCounted<CancellableQuitMsgLoop> { base 167 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::MessageLoop::current()->Quit(); base 187 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::MessageLoop::current()->PostDelayedTask( base 189 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::Bind(&CancellableQuitMsgLoop::QuitNow, quit_task.get()), base 198 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc bool FFUnitTestDecryptorProxy::DecryptorInit(const base::FilePath& dll_path, base 199 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc const base::FilePath& db_path) { base 209 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { base 216 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc return base::string16(); base 232 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc void OnDecryptor_Init(base::FilePath dll_path, base::FilePath db_path) { base 238 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::string16 unencrypted_str = decryptor_.Decrypt(crypt); base 243 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::MessageLoop::current()->Quit(); base 258 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::MessageLoop::current()->Quit(); base 268 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::MessageLoopForIO main_message_loop; base 276 chrome/utility/importer/firefox_importer_unittest_utils_mac.cc base::MessageLoop::current()->Run(); base 49 chrome/utility/importer/ie_importer_win.cc const base::char16 kSearchScopePath[] = base 51 chrome/utility/importer/ie_importer_win.cc const base::char16 kIEVersionKey[] = base 53 chrome/utility/importer/ie_importer_win.cc const base::char16 kIEToolbarKey[] = base 57 chrome/utility/importer/ie_importer_win.cc const base::char16 kFaviconStreamName[] = L":favicon:$DATA"; base 61 chrome/utility/importer/ie_importer_win.cc base::string16 key; base 62 chrome/utility/importer/ie_importer_win.cc std::vector<base::string16> data; base 67 chrome/utility/importer/ie_importer_win.cc base::Time GetFileCreationTime(const base::string16& file) { base 68 chrome/utility/importer/ie_importer_win.cc base::Time creation_time; base 69 chrome/utility/importer/ie_importer_win.cc base::win::ScopedHandle file_handle( base 76 chrome/utility/importer/ie_importer_win.cc creation_time = base::Time::FromFileTime(creation_filetime); base 116 chrome/utility/importer/ie_importer_win.cc base::FilePath lhs_prefix; base 117 chrome/utility/importer/ie_importer_win.cc base::FilePath rhs_prefix; base 119 chrome/utility/importer/ie_importer_win.cc const base::FilePath::StringType lhs_i = base 121 chrome/utility/importer/ie_importer_win.cc const base::FilePath::StringType rhs_i = base 128 chrome/utility/importer/ie_importer_win.cc std::map<base::FilePath, uint32>::const_iterator lhs_iter = base 130 chrome/utility/importer/ie_importer_win.cc std::map<base::FilePath, uint32>::const_iterator rhs_iter = base 143 chrome/utility/importer/ie_importer_win.cc const std::map<base::FilePath, uint32>* sort_index_; base 165 chrome/utility/importer/ie_importer_win.cc const base::FilePath& path, base 166 chrome/utility/importer/ie_importer_win.cc std::map<base::FilePath, uint32>* sort_index) WARN_UNUSED_RESULT { base 200 chrome/utility/importer/ie_importer_win.cc base::FilePath item_relative_path = base 201 chrome/utility/importer/ie_importer_win.cc path.Append(base::FilePath(item_filename).BaseName()); base 212 chrome/utility/importer/ie_importer_win.cc const base::win::RegKey& key, base 213 chrome/utility/importer/ie_importer_win.cc const base::FilePath& path, base 214 chrome/utility/importer/ie_importer_win.cc std::map<base::FilePath, uint32>* sort_index) WARN_UNUSED_RESULT { base 228 chrome/utility/importer/ie_importer_win.cc for (base::win::RegistryKeyIterator child(key.Handle(), L""); base 231 chrome/utility/importer/ie_importer_win.cc base::win::RegKey subkey(key.Handle(), child.Name(), KEY_READ); base 233 chrome/utility/importer/ie_importer_win.cc base::FilePath subpath(path.Append(child.Name())); base 245 chrome/utility/importer/ie_importer_win.cc std::map<base::FilePath, uint32>* sort_index) WARN_UNUSED_RESULT { base 246 chrome/utility/importer/ie_importer_win.cc base::string16 key_path(importer::GetIEFavoritesOrderKey()); base 247 chrome/utility/importer/ie_importer_win.cc base::win::RegKey key(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ); base 250 chrome/utility/importer/ie_importer_win.cc return ParseFavoritesOrderRegistryTree(importer, key, base::FilePath(), base 259 chrome/utility/importer/ie_importer_win.cc std::map<base::FilePath, uint32> sort_index; base 269 chrome/utility/importer/ie_importer_win.cc const base::string16& file, base 270 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IUniformResourceLocator>* shortcut) { base 271 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IUniformResourceLocator> url_locator; base 276 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IPersistFile> persist_file; base 290 chrome/utility/importer/ie_importer_win.cc base::win::ScopedCoMem<wchar_t> url; base 293 chrome/utility/importer/ie_importer_win.cc GURL() : GURL(base::WideToUTF16(std::wstring(url))); base 298 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IPropertySetStorage> property_set_storage; base 302 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IPropertyStorage> property_storage; base 312 chrome/utility/importer/ie_importer_win.cc base::win::ScopedPropVariant output; base 318 chrome/utility/importer/ie_importer_win.cc return GURL(base::WideToUTF16(output.get().pwszVal)); base 323 chrome/utility/importer/ie_importer_win.cc bool ReadFaviconDataFromInternetShortcut(const base::string16& file, base 325 chrome/utility/importer/ie_importer_win.cc return base::ReadFileToString( base 326 chrome/utility/importer/ie_importer_win.cc base::FilePath(file + kFaviconStreamName), data); base 332 chrome/utility/importer/ie_importer_win.cc std::wstring url_wstring(base::UTF8ToWide(favicon_url.spec())); base 346 chrome/utility/importer/ie_importer_win.cc return base::ReadFileToString(base::FilePath(cache->lpszLocalFileName), data); base 352 chrome/utility/importer/ie_importer_win.cc bool ReadReencodedFaviconData(const base::string16& file, base 367 chrome/utility/importer/ie_importer_win.cc void UpdateFaviconMap(const base::string16& url_file, base 462 chrome/utility/importer/ie_importer_win.cc const base::string16& first_folder_name = base 477 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IUrlHistoryStg2> url_history_stg2; base 483 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IEnumSTATURL> enum_url; base 490 chrome/utility/importer/ie_importer_win.cc base::string16 url_string; base 495 chrome/utility/importer/ie_importer_win.cc base::string16 title_string; base 510 chrome/utility/importer/ie_importer_win.cc row.last_visit = base::Time::FromFileTime(stat_url.ftLastVisited); base 549 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IPStore, &IID_IPStore> pstore; base 559 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IEnumPStoreItems, &IID_IEnumPStoreItems> item; base 577 chrome/utility/importer/ie_importer_win.cc base::string16 data; base 584 chrome/utility/importer/ie_importer_win.cc if (i != base::string16::npos && ac.key.substr(i) == kDataSuffix) { base 586 chrome/utility/importer/ie_importer_win.cc ac.is_url = (ac.key.find(L"://") != base::string16::npos); base 588 chrome/utility/importer/ie_importer_win.cc base::SplitString(data, L'\0', &ac_list[ac_list.size() - 1].data); base 647 chrome/utility/importer/ie_importer_win.cc base::string16 key_path(importer::GetIE7PasswordsKey()); base 648 chrome/utility/importer/ie_importer_win.cc base::win::RegKey key(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ); base 649 chrome/utility/importer/ie_importer_win.cc base::win::RegistryValueIterator reg_iterator(HKEY_CURRENT_USER, base 663 chrome/utility/importer/ie_importer_win.cc password_info.date_created = base::Time::Now(); base 678 chrome/utility/importer/ie_importer_win.cc typedef std::map<std::string, base::string16> SearchEnginesMap; base 680 chrome/utility/importer/ie_importer_win.cc for (base::win::RegistryKeyIterator key_iter(HKEY_CURRENT_USER, base 682 chrome/utility/importer/ie_importer_win.cc base::string16 sub_key_name = kSearchScopePath; base 684 chrome/utility/importer/ie_importer_win.cc base::win::RegKey sub_key(HKEY_CURRENT_USER, sub_key_name.c_str(), base 686 chrome/utility/importer/ie_importer_win.cc base::string16 wide_url; base 695 chrome/utility/importer/ie_importer_win.cc base::string16 name; base 705 chrome/utility/importer/ie_importer_win.cc std::string url(base::WideToUTF8(wide_url)); base 731 chrome/utility/importer/ie_importer_win.cc base::string16 key_path(importer::GetIESettingsKey()); base 733 chrome/utility/importer/ie_importer_win.cc base::win::RegKey key(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ); base 734 chrome/utility/importer/ie_importer_win.cc base::string16 homepage_url; base 744 chrome/utility/importer/ie_importer_win.cc base::win::RegKey keyDefault(HKEY_LOCAL_MACHINE, key_path.c_str(), KEY_READ); base 745 chrome/utility/importer/ie_importer_win.cc base::string16 default_homepage_url; base 768 chrome/utility/importer/ie_importer_win.cc info->path = base::FilePath(buffer); base 774 chrome/utility/importer/ie_importer_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 777 chrome/utility/importer/ie_importer_win.cc base::win::RegKey reg_key(HKEY_CURRENT_USER, kIEToolbarKey, KEY_READ); base 793 chrome/utility/importer/ie_importer_win.cc base::FilePath file; base 794 chrome/utility/importer/ie_importer_win.cc std::vector<base::FilePath::StringType> file_list; base 795 chrome/utility/importer/ie_importer_win.cc base::FilePath favorites_path(info.path); base 799 chrome/utility/importer/ie_importer_win.cc base::FileEnumerator file_enumerator( base 800 chrome/utility/importer/ie_importer_win.cc favorites_path, true, base::FileEnumerator::FILES); base 812 chrome/utility/importer/ie_importer_win.cc for (std::vector<base::FilePath::StringType>::iterator it = file_list.begin(); base 814 chrome/utility/importer/ie_importer_win.cc base::FilePath shortcut(*it); base 819 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IUniformResourceLocator> url_locator; base 839 chrome/utility/importer/ie_importer_win.cc base::FilePath::StringType relative_string = base 842 chrome/utility/importer/ie_importer_win.cc base::FilePath::IsSeparator(relative_string[0])) base 844 chrome/utility/importer/ie_importer_win.cc base::FilePath relative_path(relative_string); base 876 chrome/utility/importer/ie_importer_win.cc base::win::RegKey reg_key(HKEY_LOCAL_MACHINE, kIEVersionKey, KEY_READ); base 34 chrome/utility/importer/ie_importer_win.h base::FilePath path; base 35 chrome/utility/importer/ie_importer_win.h base::string16 links_folder; base 82 chrome/utility/importer/ie_importer_win.h base::FilePath source_path_; base 18 chrome/utility/importer/importer.h class Importer : public base::RefCountedThreadSafe<Importer> { base 34 chrome/utility/importer/importer.h friend class base::RefCountedThreadSafe<Importer>; base 36 chrome/utility/importer/importer_creator.cc return new SafariImporter(base::mac::GetUserLibraryPath()); base 64 chrome/utility/importer/nss_decryptor.cc base::string16 NSSDecryptor::Decrypt(const std::string& crypt) const { base 67 chrome/utility/importer/nss_decryptor.cc return base::string16(); base 74 chrome/utility/importer/nss_decryptor.cc base::Base64Decode(crypt, &decoded_data); base 79 chrome/utility/importer/nss_decryptor.cc return base::string16(); base 101 chrome/utility/importer/nss_decryptor.cc base::Base64Decode(crypt.substr(1), &plain); base 104 chrome/utility/importer/nss_decryptor.cc return base::UTF8ToUTF16(plain); base 120 chrome/utility/importer/nss_decryptor.cc base::SplitString(content, '\n', &lines); base 208 chrome/utility/importer/nss_decryptor.cc form.username_element = base::UTF8ToUTF16(lines[begin++]); base 212 chrome/utility/importer/nss_decryptor.cc form.password_element = base::UTF8ToUTF16(lines[begin++].substr(1)); base 235 chrome/utility/importer/nss_decryptor.cc bool NSSDecryptor::ReadAndParseSignons(const base::FilePath& sqlite_file, base 14 chrome/utility/importer/nss_decryptor_mac.h namespace base { base 125 chrome/utility/importer/nss_decryptor_mac.h bool Init(const base::FilePath& dll_path, const base::FilePath& db_path); base 129 chrome/utility/importer/nss_decryptor_mac.h base::string16 Decrypt(const std::string& crypt) const; base 140 chrome/utility/importer/nss_decryptor_mac.h bool ReadAndParseSignons(const base::FilePath& sqlite_file, base 18 chrome/utility/importer/nss_decryptor_null.h namespace base { base 27 chrome/utility/importer/nss_decryptor_null.h bool Init(const base::FilePath& dll_path, const base::FilePath& db_path) { base 30 chrome/utility/importer/nss_decryptor_null.h base::string16 Decrypt(const std::string& crypt) const { base 31 chrome/utility/importer/nss_decryptor_null.h return base::string16(); base 35 chrome/utility/importer/nss_decryptor_null.h bool ReadAndParseSignons(const base::FilePath& sqlite_file, base 27 chrome/utility/importer/nss_decryptor_system_nss.cc bool NSSDecryptor::Init(const base::FilePath& dll_path, base 28 chrome/utility/importer/nss_decryptor_system_nss.cc const base::FilePath& db_path) { base 32 chrome/utility/importer/nss_decryptor_system_nss.cc base::StringPrintf( base 19 chrome/utility/importer/nss_decryptor_system_nss.h namespace base { base 30 chrome/utility/importer/nss_decryptor_system_nss.h bool Init(const base::FilePath& dll_path, const base::FilePath& db_path); base 34 chrome/utility/importer/nss_decryptor_system_nss.h base::string16 Decrypt(const std::string& crypt) const; base 45 chrome/utility/importer/nss_decryptor_system_nss.h bool ReadAndParseSignons(const base::FilePath& sqlite_file, base 40 chrome/utility/importer/nss_decryptor_win.cc bool NSSDecryptor::Init(const base::FilePath& dll_path, base 41 chrome/utility/importer/nss_decryptor_win.cc const base::FilePath& db_path) { base 63 chrome/utility/importer/nss_decryptor_win.cc base::FilePath path = dll_path.Append(kNSS3Library); base 79 chrome/utility/importer/nss_decryptor_win.cc path = base::FilePath(dll_path).Append(kSoftokn3Library); base 112 chrome/utility/importer/nss_decryptor_win.cc bool NSSDecryptor::InitNSS(const base::FilePath& db_path, base 113 chrome/utility/importer/nss_decryptor_win.cc base::NativeLibrary plds4_dll, base 114 chrome/utility/importer/nss_decryptor_win.cc base::NativeLibrary nspr4_dll) { base 117 chrome/utility/importer/nss_decryptor_win.cc base::GetFunctionPointerFromNativeLibrary(nss3_dll_, "NSS_Init"); base 119 chrome/utility/importer/nss_decryptor_win.cc base::GetFunctionPointerFromNativeLibrary(nss3_dll_, "NSS_Shutdown"); base 121 chrome/utility/importer/nss_decryptor_win.cc base::GetFunctionPointerFromNativeLibrary(nss3_dll_, base 124 chrome/utility/importer/nss_decryptor_win.cc base::GetFunctionPointerFromNativeLibrary(nss3_dll_, "PK11_FreeSlot"); base 126 chrome/utility/importer/nss_decryptor_win.cc base::GetFunctionPointerFromNativeLibrary(nss3_dll_, "PK11_Authenticate"); base 128 chrome/utility/importer/nss_decryptor_win.cc base::GetFunctionPointerFromNativeLibrary(nss3_dll_, "PK11SDR_Decrypt"); base 130 chrome/utility/importer/nss_decryptor_win.cc base::GetFunctionPointerFromNativeLibrary(nss3_dll_, "SECITEM_FreeItem"); base 132 chrome/utility/importer/nss_decryptor_win.cc base::GetFunctionPointerFromNativeLibrary(plds4_dll, "PL_ArenaFinish"); base 134 chrome/utility/importer/nss_decryptor_win.cc base::GetFunctionPointerFromNativeLibrary(nspr4_dll, "PR_Cleanup"); base 145 chrome/utility/importer/nss_decryptor_win.cc SECStatus result = NSS_Init(base::SysWideToNativeMB(db_path.value()).c_str()); base 163 chrome/utility/importer/nss_decryptor_win.cc base::UnloadNativeLibrary(softokn3_dll_); base 165 chrome/utility/importer/nss_decryptor_win.cc base::UnloadNativeLibrary(nss3_dll_); base 120 chrome/utility/importer/nss_decryptor_win.h bool Init(const base::FilePath& dll_path, const base::FilePath& db_path); base 127 chrome/utility/importer/nss_decryptor_win.h base::string16 Decrypt(const std::string& crypt) const; base 138 chrome/utility/importer/nss_decryptor_win.h bool ReadAndParseSignons(const base::FilePath& sqlite_file, base 143 chrome/utility/importer/nss_decryptor_win.h bool InitNSS(const base::FilePath& db_path, base 144 chrome/utility/importer/nss_decryptor_win.h base::NativeLibrary plds4_dll, base 145 chrome/utility/importer/nss_decryptor_win.h base::NativeLibrary nspr4_dll); base 169 chrome/utility/importer/nss_decryptor_win.h base::NativeLibrary nss3_dll_; base 170 chrome/utility/importer/nss_decryptor_win.h base::NativeLibrary softokn3_dll_; base 40 chrome/utility/importer/safari_importer.h explicit SafariImporter(const base::FilePath& library_dir); base 66 chrome/utility/importer/safari_importer.h void ParseBookmarks(const base::string16& toolbar_name, base 76 chrome/utility/importer/safari_importer.h const std::vector<base::string16>& parent_path_elements, base 78 chrome/utility/importer/safari_importer.h const base::string16& toolbar_name, base 99 chrome/utility/importer/safari_importer.h base::FilePath library_dir_; base 80 chrome/utility/local_discovery/local_domain_resolver_unittest.cc void RunFor(base::TimeDelta time_period) { base 81 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::CancelableCallback<void()> callback(base::Bind( base 82 chrome/utility/local_discovery/local_domain_resolver_unittest.cc &base::MessageLoop::Quit, base 83 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Unretained(base::MessageLoop::current()))); base 84 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 87 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::MessageLoop::current()->Run(); base 98 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::MessageLoop message_loop_; base 104 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Bind(&LocalDomainResolverTest::AddressCallback, base 105 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Unretained(this)), &mdns_client_); base 119 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Bind(&LocalDomainResolverTest::AddressCallback, base 120 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Unretained(this)), &mdns_client_); base 134 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Bind(&LocalDomainResolverTest::AddressCallback, base 135 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Unretained(this)), &mdns_client_); base 145 chrome/utility/local_discovery/local_domain_resolver_unittest.cc RunFor(base::TimeDelta::FromMilliseconds(150)); base 152 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Bind(&LocalDomainResolverTest::AddressCallback, base 153 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Unretained(this)), &mdns_client_); base 169 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Bind(&LocalDomainResolverTest::AddressCallback, base 170 chrome/utility/local_discovery/local_domain_resolver_unittest.cc base::Unretained(this)), &mdns_client_); base 178 chrome/utility/local_discovery/local_domain_resolver_unittest.cc RunFor(base::TimeDelta::FromSeconds(4)); base 115 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Bind(&ServiceWatcherImpl::OnTransactionResponse, base 116 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Unretained(this), transaction)); base 220 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Bind(&ServiceWatcherImpl::ServiceListeners::OnSRVRecord, base 221 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Unretained(this))); base 273 chrome/utility/local_discovery/service_discovery_client_impl.cc base::MessageLoop::current()->PostTask( base 275 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Bind(&ServiceWatcherImpl::DeliverDeferredUpdate, AsWeakPtr(), base 329 chrome/utility/local_discovery/service_discovery_client_impl.cc base::MessageLoop::current()->PostDelayedTask( base 331 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Bind(&ServiceWatcherImpl::SendQuery, base 335 chrome/utility/local_discovery/service_discovery_client_impl.cc base::TimeDelta::FromSeconds(timeout_seconds)); base 374 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Bind(&ServiceResolverImpl::TxtRecordTransactionResponse, base 385 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Bind(&ServiceResolverImpl::ARecordTransactionResponse, base 395 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Bind(&ServiceResolverImpl::SrvRecordTransactionResponse, base 538 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Bind(&LocalDomainResolverImpl::OnTransactionComplete, base 539 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Unretained(this))); base 559 chrome/utility/local_discovery/service_discovery_client_impl.cc timeout_callback_.Reset(base::Bind( base 561 chrome/utility/local_discovery/service_discovery_client_impl.cc base::Unretained(this))); base 563 chrome/utility/local_discovery/service_discovery_client_impl.cc base::MessageLoop::current()->PostDelayedTask( base 566 chrome/utility/local_discovery/service_discovery_client_impl.cc base::TimeDelta::FromMilliseconds(kLocalDomainSecondAddressTimeoutMs)); base 50 chrome/utility/local_discovery/service_discovery_client_impl.h public base::SupportsWeakPtr<ServiceWatcherImpl> { base 159 chrome/utility/local_discovery/service_discovery_client_impl.h public base::SupportsWeakPtr<ServiceResolverImpl> { base 265 chrome/utility/local_discovery/service_discovery_client_impl.h base::CancelableCallback<void()> timeout_callback_; base 198 chrome/utility/local_discovery/service_discovery_client_unittest.cc return base::Bind(&MockServiceWatcherClient::OnServiceUpdated, base 199 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::Unretained(this)); base 214 chrome/utility/local_discovery/service_discovery_client_unittest.cc void RunFor(base::TimeDelta time_period) { base 215 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::CancelableCallback<void()> callback(base::Bind( base 216 chrome/utility/local_discovery/service_discovery_client_unittest.cc &ServiceDiscoveryTest::Stop, base::Unretained(this))); base 217 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 220 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->Run(); base 225 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->Quit(); base 231 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop loop_; base 253 chrome/utility/local_discovery/service_discovery_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(2)); base 271 chrome/utility/local_discovery/service_discovery_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(2)); base 289 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 311 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 329 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 339 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 357 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 367 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 391 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 402 chrome/utility/local_discovery/service_discovery_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(2)); base 404 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 425 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::Bind(&ServiceResolverTest::OnFinishedResolving, base 426 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::Unretained(this))); base 458 chrome/utility/local_discovery/service_discovery_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 500 chrome/utility/local_discovery/service_discovery_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(4)); base 513 chrome/utility/local_discovery/service_discovery_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(4)); base 103 chrome/utility/local_discovery/service_discovery_message_handler.cc base::LazyInstance<PreCreatedMDnsSocketFactory> base 204 chrome/utility/local_discovery/service_discovery_message_handler.cc utility_task_runner_ = base::MessageLoop::current()->message_loop_proxy(); base 205 chrome/utility/local_discovery/service_discovery_message_handler.cc discovery_thread_.reset(new base::Thread("ServiceDiscoveryThread")); base 206 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Thread::Options thread_options(base::MessageLoop::TYPE_IO, 0); base 210 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::InitializeMdns, base 211 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this))); base 243 chrome/utility/local_discovery/service_discovery_message_handler.cc const base::Closure& task) { base 264 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::StartWatcher, base 265 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id, service_type)); base 271 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::DiscoverServices, base 272 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id, force_update)); base 278 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind( base 280 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id, actively_refresh_services)); base 285 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::DestroyWatcher, base 286 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id)); base 293 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::ResolveService, base 294 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id, service_name)); base 299 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::DestroyResolver, base 300 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id)); base 307 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::ResolveLocalDomain, base 308 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id, domain, address_family)); base 313 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind( base 315 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id)); base 328 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::OnServiceUpdated, base 329 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id))); base 370 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::OnServiceResolved, base 371 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id))); base 394 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::OnLocalDomainResolved, base 395 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this), id))); base 413 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&ServiceDiscoveryMessageHandler::ShutdownOnIOThread, base 414 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Unretained(this))); base 471 chrome/utility/local_discovery/service_discovery_message_handler.cc base::Bind(&SendHostMessageOnUtilityThread, base 21 chrome/utility/local_discovery/service_discovery_message_handler.h namespace base { base 55 chrome/utility/local_discovery/service_discovery_message_handler.h const base::Closure& task); base 110 chrome/utility/local_discovery/service_discovery_message_handler.h scoped_refptr<base::TaskRunner> utility_task_runner_; base 111 chrome/utility/local_discovery/service_discovery_message_handler.h scoped_refptr<base::TaskRunner> discovery_task_runner_; base 112 chrome/utility/local_discovery/service_discovery_message_handler.h scoped_ptr<base::Thread> discovery_thread_; base 77 chrome/utility/media_galleries/iapps_xml_utils.cc return base::StringToUint64(value, result); base 80 chrome/utility/media_galleries/iapps_xml_utils.cc std::string ReadPlatformFileAsString(const base::PlatformFile file) { base 82 chrome/utility/media_galleries/iapps_xml_utils.cc if (file == base::kInvalidPlatformFileValue) base 88 chrome/utility/media_galleries/iapps_xml_utils.cc base::PlatformFileInfo file_info; base 89 chrome/utility/media_galleries/iapps_xml_utils.cc if (!base::GetPlatformFileInfo(file, &file_info) || base 91 chrome/utility/media_galleries/iapps_xml_utils.cc base::ClosePlatformFile(file); base 97 chrome/utility/media_galleries/iapps_xml_utils.cc base::ReadPlatformFile(file, 0, string_as_array(&result), file_info.size); base 101 chrome/utility/media_galleries/iapps_xml_utils.cc base::ClosePlatformFile(file); base 35 chrome/utility/media_galleries/iapps_xml_utils.h std::string ReadPlatformFileAsString(const base::PlatformFile file); base 15 chrome/utility/media_galleries/ipc_data_source.cc utility_task_runner_(base::MessageLoopProxy::current()), base 24 chrome/utility/media_galleries/ipc_data_source.cc void IPCDataSource::Stop(const base::Closure& callback) { base 34 chrome/utility/media_galleries/ipc_data_source.cc base::Bind(&IPCDataSource::ReadOnUtilityThread, base::Unretained(this), base 16 chrome/utility/media_galleries/ipc_data_source.h namespace base { base 35 chrome/utility/media_galleries/ipc_data_source.h virtual void Stop(const base::Closure& callback) OVERRIDE; base 62 chrome/utility/media_galleries/ipc_data_source.h scoped_refptr<base::TaskRunner> utility_task_runner_; base 66 chrome/utility/media_galleries/ipc_data_source.h base::ThreadChecker utility_thread_checker_; base 69 chrome/utility/media_galleries/ipc_data_source.h base::ThreadChecker data_source_thread_checker_; base 22 chrome/utility/media_galleries/iphoto_library_parser.cc base::FilePath location; base 23 chrome/utility/media_galleries/iphoto_library_parser.cc base::FilePath original_location; base 60 chrome/utility/media_galleries/iphoto_library_parser.cc result->location = base::FilePath(value); base 66 chrome/utility/media_galleries/iphoto_library_parser.cc result->original_location = base::FilePath(value); base 105 chrome/utility/media_galleries/iphoto_library_parser.cc if (!base::StringToUint64(photo_id, &id)) base 202 chrome/utility/media_galleries/iphoto_library_parser.cc bool id_valid = base::StringToUint64(key, &id); base 281 chrome/utility/media_galleries/iphoto_library_parser.cc base::ReplaceChars(album_info.name, "//", " ", &name); base 285 chrome/utility/media_galleries/iphoto_library_parser.cc library_.albums[name+"("+base::Uint64ToString(album_info.id)+")"] = base 167 chrome/utility/media_galleries/iphoto_library_parser_unittest.cc parser::Photo photo(id, base::FilePath::FromUTF8Unsafe(location), base 168 chrome/utility/media_galleries/iphoto_library_parser_unittest.cc base::FilePath::FromUTF8Unsafe("/original" + location)); base 25 chrome/utility/media_galleries/itunes_library_parser.cc base::FilePath location; base 77 chrome/utility/media_galleries/itunes_library_parser.cc base::string16 location(decoded_location.data(), base 80 chrome/utility/media_galleries/itunes_library_parser.cc base::string16 location16(decoded_location.data(), base 82 chrome/utility/media_galleries/itunes_library_parser.cc std::string location = "/" + base::UTF16ToUTF8(location16); base 84 chrome/utility/media_galleries/itunes_library_parser.cc result->location = base::FilePath(location); base 166 chrome/utility/media_galleries/itunes_library_parser.cc bool id_valid = base::StringToUint64(key, &id); base 99 chrome/utility/media_galleries/itunes_library_parser_unittest.cc parser::Track track(id, base::FilePath::FromUTF8Unsafe(os_location)); base 14 chrome/utility/media_galleries/itunes_pref_parser_win.cc base::FilePath::StringType FindLibraryLocationInPrefXml( base 17 chrome/utility/media_galleries/itunes_pref_parser_win.cc base::FilePath::StringType result; base 49 chrome/utility/media_galleries/itunes_pref_parser_win.cc if (!base::Base64Decode(base::CollapseWhitespaceASCII(pref_value, true), base 52 chrome/utility/media_galleries/itunes_pref_parser_win.cc return base::FilePath::StringType( base 28 chrome/utility/media_galleries/itunes_pref_parser_win.h base::FilePath::StringType FindLibraryLocationInPrefXml( base 89 chrome/utility/media_galleries/media_metadata_parser.cc media_thread_.reset(new base::Thread("media_thread")); base 91 chrome/utility/media_galleries/media_metadata_parser.cc base::PostTaskAndReplyWithResult( base 94 chrome/utility/media_galleries/media_metadata_parser.cc base::Bind(&ParseAudioVideoMetadata, source_, base::Passed(&metadata)), base 12 chrome/utility/media_galleries/media_metadata_parser.h namespace base { base 30 chrome/utility/media_galleries/media_metadata_parser.h typedef base::Callback<void(scoped_ptr<MediaMetadata>)> MetadataCallback; base 51 chrome/utility/media_galleries/media_metadata_parser.h scoped_ptr<base::Thread> media_thread_; base 21 chrome/utility/media_galleries/picasa_album_table_reader.cc base::Time TimeFromMicrosoftVariantTime(double variant_time) { base 22 chrome/utility/media_galleries/picasa_album_table_reader.cc base::TimeDelta variant_delta = base::TimeDelta::FromMicroseconds( base 23 chrome/utility/media_galleries/picasa_album_table_reader.cc static_cast<int64>(variant_time * base::Time::kMicrosecondsPerDay)); base 25 chrome/utility/media_galleries/picasa_album_table_reader.cc return base::Time::FromLocalExploded(kPmpVariantTimeEpoch) + variant_delta; base 90 chrome/utility/media_galleries/picasa_album_table_reader.cc base::Time timestamp = TimeFromMicrosoftVariantTime(date); base 99 chrome/utility/media_galleries/picasa_album_table_reader.cc albums_.push_back(AlbumInfo(name, timestamp, uid, base::FilePath())); base 105 chrome/utility/media_galleries/picasa_album_table_reader.cc base::FilePath path = base 106 chrome/utility/media_galleries/picasa_album_table_reader.cc base::FilePath(base::FilePath::FromUTF8Unsafe(filename)); base 16 chrome/utility/media_galleries/picasa_album_table_reader_unittest.cc base::ScopedTempDir temp_dir; base 34 chrome/utility/media_galleries/picasa_album_table_reader_unittest.cc base::FilePath test_folder_path = base 35 chrome/utility/media_galleries/picasa_album_table_reader_unittest.cc base::FilePath(base::FilePath::FromUTF8Unsafe("C:\\Pix4dalulz")); base 75 chrome/utility/media_galleries/picasa_album_table_reader_unittest.cc base::TimeDelta time_delta = albums[0].timestamp - folders[0].timestamp; base 24 chrome/utility/media_galleries/picasa_albums_indexer.cc class PicasaINIParser : public base::INIParser { base 27 chrome/utility/media_galleries/picasa_albums_indexer.cc const base::FilePath& folder_path, AlbumImagesMap* albums_images) base 45 chrome/utility/media_galleries/picasa_albums_indexer.cc base::SplitString(value, ',', &containing_albums); base 55 chrome/utility/media_galleries/picasa_albums_indexer.cc base::FilePath filename = base::FilePath::FromUTF8Unsafe(section); base 67 chrome/utility/media_galleries/picasa_albums_indexer.cc filename.InsertBeforeExtensionASCII(base::StringPrintf(" (%d)", i)) base 80 chrome/utility/media_galleries/picasa_albums_indexer.cc const base::FilePath folder_path_; base 38 chrome/utility/media_galleries/picasa_albums_indexer_unittest.cc folder_ini.folder_path = base::FilePath(FILE_PATH_LITERAL("/foo/baz")); base 67 chrome/utility/media_galleries/picasa_albums_indexer_unittest.cc folder_ini.folder_path = base::FilePath(FILE_PATH_LITERAL("/foo/baz")); base 72 chrome/utility/media_galleries/picasa_albums_indexer_unittest.cc folder_ini.folder_path = base::FilePath(FILE_PATH_LITERAL("/foo/second")); base 83 chrome/utility/media_galleries/picasa_albums_indexer_unittest.cc folder_ini.folder_path = base::FilePath(FILE_PATH_LITERAL("/foo/third")); base 128 chrome/utility/media_galleries/picasa_albums_indexer_unittest.cc folder_ini.folder_path = base::FilePath(FILE_PATH_LITERAL("/foo/baz")); base 30 chrome/utility/media_galleries/pmp_column_reader.cc bool PmpColumnReader::ReadFile(base::File* file, base 33 chrome/utility/media_galleries/pmp_column_reader.cc base::ThreadRestrictions::AssertIOAllowed(); base 38 chrome/utility/media_galleries/pmp_column_reader.cc base::File::Info info; base 15 chrome/utility/media_galleries/pmp_column_reader.h namespace base { base 30 chrome/utility/media_galleries/pmp_column_reader.h bool ReadFile(base::File* file, const PmpFieldType expected_type); base 24 chrome/utility/media_galleries/pmp_column_reader_unittest.cc base::ScopedTempDir temp_dir; base 28 chrome/utility/media_galleries/pmp_column_reader_unittest.cc base::FilePath temp_path; base 29 chrome/utility/media_galleries/pmp_column_reader_unittest.cc if (!base::CreateTemporaryFileInDir(temp_dir.path(), &temp_path)) base 33 chrome/utility/media_galleries/pmp_column_reader_unittest.cc size_t bytes_written = base::WriteFile(temp_path, &data[0], data.size()); base 37 chrome/utility/media_galleries/pmp_column_reader_unittest.cc base::File file(temp_path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 38 chrome/utility/profile_import_handler.cc const base::DictionaryValue& localized_strings) { base 42 chrome/utility/profile_import_handler.cc base::MessageLoopProxy::current().get()); base 53 chrome/utility/profile_import_handler.cc import_thread_.reset(new base::Thread("import_thread")); base 62 chrome/utility/profile_import_handler.cc FROM_HERE, base::Bind(&Importer::StartImport, importer_.get(), base 17 chrome/utility/profile_import_handler.h namespace base { base 41 chrome/utility/profile_import_handler.h const base::DictionaryValue& localized_strings); base 52 chrome/utility/profile_import_handler.h scoped_ptr<base::Thread> import_thread_; base 27 chrome/utility/web_resource_unpacker.cc scoped_ptr<base::Value> value; base 29 chrome/utility/web_resource_unpacker.cc value.reset(base::JSONReader::Read(resource_data_)); base 35 chrome/utility/web_resource_unpacker.cc if (!value->IsType(base::Value::TYPE_DICTIONARY)) { base 39 chrome/utility/web_resource_unpacker.cc parsed_json_.reset(static_cast<base::DictionaryValue*>(value.release())); base 20 chrome/utility/web_resource_unpacker.h namespace base { base 40 chrome/utility/web_resource_unpacker.h base::DictionaryValue* parsed_json() { base 49 chrome/utility/web_resource_unpacker.h scoped_ptr<base::DictionaryValue> parsed_json_; base 38 chrome_elf/blacklist/blacklist_interceptions.cc int DllMatch(const base::string16& module_name) { base 50 chrome_elf/blacklist/blacklist_interceptions.cc base::string16 GetBackingModuleFilePath(PVOID address) { base 81 chrome_elf/blacklist/blacklist_interceptions.cc return base::string16(section_string->Buffer, base 85 chrome_elf/blacklist/blacklist_interceptions.cc return base::string16(); base 89 chrome_elf/blacklist/blacklist_interceptions.cc PVOID *base, base 94 chrome_elf/blacklist/blacklist_interceptions.cc if (!section || !base || !view_size || offset) base 112 chrome_elf/blacklist/blacklist_interceptions.cc base::string16 ExtractLoadedModuleName(const base::string16& module_path) { base 114 chrome_elf/blacklist/blacklist_interceptions.cc return base::string16(); base 117 chrome_elf/blacklist/blacklist_interceptions.cc if (sep == base::string16::npos) base 125 chrome_elf/blacklist/blacklist_interceptions.cc void SafeGetImageInfo(const base::win::PEImage& pe, base 160 chrome_elf/blacklist/blacklist_interceptions.cc base::string16 GetImageInfoFromLoadedModule(HMODULE module, uint32* flags) { base 162 chrome_elf/blacklist/blacklist_interceptions.cc base::win::PEImage pe(module); base 164 chrome_elf/blacklist/blacklist_interceptions.cc return base::string16(out_name.begin(), out_name.end()); base 176 chrome_elf/blacklist/blacklist_interceptions.cc PVOID *base, base 184 chrome_elf/blacklist/blacklist_interceptions.cc NTSTATUS ret = orig_MapViewOfSection(section, process, base, zero_bits, base 189 chrome_elf/blacklist/blacklist_interceptions.cc !IsModuleValidImageSection(section, base, offset, view_size)) { base 193 chrome_elf/blacklist/blacklist_interceptions.cc HMODULE module = reinterpret_cast<HMODULE>(*base); base 197 chrome_elf/blacklist/blacklist_interceptions.cc base::string16 module_name(GetImageInfoFromLoadedModule( base 198 chrome_elf/blacklist/blacklist_interceptions.cc reinterpret_cast<HMODULE>(*base), &image_flags)); base 199 chrome_elf/blacklist/blacklist_interceptions.cc base::string16 file_name(GetBackingModuleFilePath(*base)); base 211 chrome_elf/blacklist/blacklist_interceptions.cc g_nt_unmap_view_of_section_func(process, *base); base 245 chrome_elf/blacklist/blacklist_interceptions.cc PVOID *base, base 257 chrome_elf/blacklist/blacklist_interceptions.cc base, zero_bits, commit_size, offset, base 268 chrome_elf/blacklist/blacklist_interceptions.cc HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, base 272 chrome_elf/blacklist/blacklist_interceptions.cc base, zero_bits, commit_size, offset, view_size, base 22 chrome_elf/blacklist/blacklist_interceptions.h PVOID *base, base 36 chrome_elf/blacklist/blacklist_interceptions.h HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, base 61 chrome_elf/blacklist/test/blacklist_test.cc base::win::RegKey blacklist_registry_key(HKEY_CURRENT_USER, base 98 chrome_elf/blacklist/test/blacklist_test.cc std::vector<base::string16> added_dlls; base 101 chrome_elf/blacklist/test/blacklist_test.cc added_dlls.push_back(base::IntToString16(i) + L".dll"); base 118 chrome_elf/blacklist/test/blacklist_test.cc base::string16 new_dll_name(base::IntToString16(i) + L".dll"); base 142 chrome_elf/blacklist/test/blacklist_test.cc base::FilePath current_dir; base 143 chrome_elf/blacklist/test/blacklist_test.cc ASSERT_TRUE(PathService::Get(base::DIR_EXE, ¤t_dir)); base 149 chrome_elf/blacklist/test/blacklist_test.cc base::ScopedNativeLibrary dll1(current_dir.Append(kTestDllName1)); base 169 chrome_elf/blacklist/test/blacklist_test.cc base::ScopedNativeLibrary dll_blacklisted( base 180 chrome_elf/blacklist/test/blacklist_test.cc EXPECT_EQ(test_data[i].dll_name, base::string16(blocked_dll)); base 185 chrome_elf/blacklist/test/blacklist_test.cc base::ScopedNativeLibrary dll(current_dir.Append(test_data[i].dll_name)); base 194 chrome_elf/blacklist/test/blacklist_test.cc base::string16 uppercase_name = base::i18n::ToUpper(test_data[i].dll_name); base 196 chrome_elf/blacklist/test/blacklist_test.cc base::ScopedNativeLibrary dll_blacklisted_different_case( base 12 chrome_elf/blacklist/test/blacklist_test_main.cc base::AtExitManager at_exit_manager; base 53 chrome_elf/breakpad.cc base::string16 GetUserSidString() { base 56 chrome_elf/breakpad.cc base::string16 user_sid; base 135 chrome_elf/breakpad.cc base::string16 pipe_name; base 149 chrome_elf/breakpad.cc base::string16 user_sid = IsSystemInstall(exe_path) ? kSystemPrincipalSid : base 36 chrome_elf/chrome_elf_util.cc base::string16* value_out) { base 40 chrome_elf/chrome_elf_util.cc base::string16 full_key_path(key_path); base 80 chrome_elf/chrome_elf_util.cc base::string16 guid, const wchar_t* value_to_read, base 85 chrome_elf/chrome_elf_util.cc base::string16 full_key_path(key_path); base 128 chrome_elf/chrome_elf_util.cc base::string16 args; base 134 chrome_elf/chrome_elf_util.cc return args.find(L"--multi-install") != base::string16::npos; base 145 chrome_elf/chrome_elf_util.cc base::string16 app_guid; base 88 chrome_elf/chrome_elf_util_unittest.cc base::string16 BuildKey(const wchar_t* path, const wchar_t* guid) { base 89 chrome_elf/chrome_elf_util_unittest.cc base::string16 full_key_path(path); base 96 chrome_elf/chrome_elf_util_unittest.cc LONG result = base::win::RegKey( base 105 chrome_elf/chrome_elf_util_unittest.cc base::win::RegKey key( base 236 chrome_elf/create_file/chrome_create_file.cc base::string16 filename_string(L"\\??\\"); base 80 chrome_elf/create_file/chrome_create_file_unittest.cc original_thread_ = base::PlatformThread::CurrentId(); base 84 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath user_data_dir; base 85 chrome_elf/create_file/chrome_create_file_unittest.cc PathService::Get(base::DIR_LOCAL_APP_DATA, &user_data_dir); base 112 chrome_elf/create_file/chrome_create_file_unittest.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) { base 141 chrome_elf/create_file/chrome_create_file_unittest.cc if (original_thread_ == base::PlatformThread::CurrentId()) { base 220 chrome_elf/create_file/chrome_create_file_unittest.cc void DoWriteCheck(const base::FilePath& path, DWORD flag, bool is_system) { base 221 chrome_elf/create_file/chrome_create_file_unittest.cc base::win::ScopedHandle file_handle; base 250 chrome_elf/create_file/chrome_create_file_unittest.cc void DoReadCheck(const base::FilePath& path, DWORD flag, bool is_system) { base 251 chrome_elf/create_file/chrome_create_file_unittest.cc base::win::ScopedHandle file_handle; base 283 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath junk_path_1 = temp_dir_.path().Append(L"junk_1.txt"); base 284 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath junk_path_2 = temp_dir_.path().Append(L"junk_2.txt"); base 295 chrome_elf/create_file/chrome_create_file_unittest.cc base::DeleteFile(junk_path_1, false); base 296 chrome_elf/create_file/chrome_create_file_unittest.cc base::DeleteFile(junk_path_2, false); base 303 chrome_elf/create_file/chrome_create_file_unittest.cc base::ScopedTempDir temp_dir_; base 304 chrome_elf/create_file/chrome_create_file_unittest.cc base::ScopedTempDir temp_dir2_; base 305 chrome_elf/create_file/chrome_create_file_unittest.cc base::win::IATPatchFunction patcher_; base 308 chrome_elf/create_file/chrome_create_file_unittest.cc base::PlatformThreadId original_thread_; base 365 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath local_path; base 366 chrome_elf/create_file/chrome_create_file_unittest.cc PathService::Get(base::DIR_LOCAL_APP_DATA, &local_path); base 368 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath local_prefs_path = local_path.Append(kAppDataDirName).Append( base 370 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath local_state_path = local_path.Append(kAppDataDirName).Append( base 372 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath local_junk_path = local_path.Append(kAppDataDirName).Append( base 375 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath desktop_path; base 376 chrome_elf/create_file/chrome_create_file_unittest.cc PathService::Get(base::DIR_USER_DESKTOP, &desktop_path); base 377 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath desktop_junk_path = base 379 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath desktop_prefs_path = base 397 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath file_name = temp_dir_.path().Append(L"some_file.txt"); base 403 chrome_elf/create_file/chrome_create_file_unittest.cc base::FilePath file_name = temp_dir_.path().Append(L"some_file.txt"); base 9 chrome_elf/dll_hash/dll_hash.cc uint32 data = base::Hash(dll_name); base 25 chrome_elf/elf_imports_unittest.cc static bool ImportsCallback(const base::win::PEImage &image, base 36 chrome_elf/elf_imports_unittest.cc void GetImports(const base::FilePath& module_path, base 40 chrome_elf/elf_imports_unittest.cc base::MemoryMappedFile module_mmap; base 43 chrome_elf/elf_imports_unittest.cc base::win::PEImageAsData pe_image_data( base 52 chrome_elf/elf_imports_unittest.cc base::FilePath dll; base 53 chrome_elf/elf_imports_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_EXE, &dll)); base 86 chrome_elf/elf_imports_unittest.cc base::FilePath exe; base 87 chrome_elf/elf_imports_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_EXE, &exe)); base 29 chrome_elf/ntdll_cache.cc bool EnumExportsCallback(const base::win::PEImage& image, base 49 chrome_elf/ntdll_cache.cc base::win::PEImage ntdll_image(ntdll_handle); base 23 chromeos/accelerometer/accelerometer_reader.cc const base::FilePath::CharType kAccelerometerTriggerPath[] = base 25 chromeos/accelerometer/accelerometer_reader.cc const base::FilePath::CharType kAccelerometerDevicePath[] = base 27 chromeos/accelerometer/accelerometer_reader.cc const base::FilePath::CharType kAccelerometerIioBasePath[] = base 32 chromeos/accelerometer/accelerometer_reader.cc const base::FilePath::CharType kAccelerometerBaseScaleName[] = base 34 chromeos/accelerometer/accelerometer_reader.cc const base::FilePath::CharType kAccelerometerLidScaleName[] = base 57 chromeos/accelerometer/accelerometer_reader.cc bool ReadFileToUint(const base::FilePath& path, unsigned int* value) { base 60 chromeos/accelerometer/accelerometer_reader.cc if (!base::ReadFileToString(path, &s, kMaxAsciiUintLength)) { base 64 chromeos/accelerometer/accelerometer_reader.cc base::TrimWhitespaceASCII(s, base::TRIM_ALL, &s); base 65 chromeos/accelerometer/accelerometer_reader.cc if (!base::StringToUint(s, value)) { base 76 chromeos/accelerometer/accelerometer_reader.cc base::FilePath device; base 77 chromeos/accelerometer/accelerometer_reader.cc if (!base::ReadSymbolicLink(base::FilePath(kAccelerometerDevicePath), base 82 chromeos/accelerometer/accelerometer_reader.cc if (!base::PathExists(base::FilePath(kAccelerometerTriggerPath))) { base 88 chromeos/accelerometer/accelerometer_reader.cc base::FilePath iio_path(base::FilePath(kAccelerometerIioBasePath).Append( base 104 chromeos/accelerometer/accelerometer_reader.cc std::string accelerometer_index_path = base::StringPrintf( base 126 chromeos/accelerometer/accelerometer_reader.cc int bytes_written = base::WriteFile( base 127 chromeos/accelerometer/accelerometer_reader.cc base::FilePath(kAccelerometerTriggerPath), "1\n", 2); base 134 chromeos/accelerometer/accelerometer_reader.cc int bytes_read = base::ReadFile(base::FilePath(kAccelerometerDevicePath), base 153 chromeos/accelerometer/accelerometer_reader.cc base::TaskRunner* task_runner, base 163 chromeos/accelerometer/accelerometer_reader.cc base::PostTaskAndReplyWithResult(task_runner_.get(), FROM_HERE, base 164 chromeos/accelerometer/accelerometer_reader.cc base::Bind(&DetectAndReadAccelerometerConfiguration, configuration_), base 165 chromeos/accelerometer/accelerometer_reader.cc base::Bind(&AccelerometerReader::OnInitialized, base 184 chromeos/accelerometer/accelerometer_reader.cc base::PostTaskAndReplyWithResult(task_runner_, FROM_HERE, base 185 chromeos/accelerometer/accelerometer_reader.cc base::Bind(&ReadAccelerometer, reading), base 186 chromeos/accelerometer/accelerometer_reader.cc base::Bind(&AccelerometerReader::OnDataRead, base 211 chromeos/accelerometer/accelerometer_reader.cc base::MessageLoop::current()->PostDelayedTask( base 213 chromeos/accelerometer/accelerometer_reader.cc base::Bind(&AccelerometerReader::TriggerRead, base 215 chromeos/accelerometer/accelerometer_reader.cc base::TimeDelta::FromMilliseconds(kDelayBetweenReadsMs)); base 16 chromeos/accelerometer/accelerometer_reader.h namespace base { base 38 chromeos/accelerometer/accelerometer_reader.h typedef base::RefCountedData<ConfigurationData> Configuration; base 39 chromeos/accelerometer/accelerometer_reader.h typedef base::RefCountedData<char[12]> Reading; base 44 chromeos/accelerometer/accelerometer_reader.h virtual void HandleAccelerometerReading(const gfx::Vector3dF& base, base 48 chromeos/accelerometer/accelerometer_reader.h AccelerometerReader(base::TaskRunner* blocking_task_runner, base 67 chromeos/accelerometer/accelerometer_reader.h scoped_refptr<base::TaskRunner> task_runner_; base 75 chromeos/accelerometer/accelerometer_reader.h base::WeakPtrFactory<AccelerometerReader> weak_factory_; base 29 chromeos/app_mode/kiosk_oem_manifest_parser.cc const base::FilePath& kiosk_oem_file, base 35 chromeos/app_mode/kiosk_oem_manifest_parser.cc scoped_ptr<base::Value> value( base 37 chromeos/app_mode/kiosk_oem_manifest_parser.cc base::DictionaryValue* dict = NULL; base 35 chromeos/app_mode/kiosk_oem_manifest_parser.h static bool Load(const base::FilePath& kiosk_oem_file, base 16 chromeos/app_mode/kiosk_oem_manifest_parser_unittest.cc base::FilePath test_data_dir; base 19 chromeos/app_mode/kiosk_oem_manifest_parser_unittest.cc base::FilePath kiosk_oem_file = base 25 chromeos/attestation/attestation_flow.cc void DBusBoolRedirectCallback(const base::Closure& on_true, base 26 chromeos/attestation/attestation_flow.cc const base::Closure& on_false, base 27 chromeos/attestation/attestation_flow.cc const base::Closure& on_fail, base 36 chromeos/attestation/attestation_flow.cc const base::Closure& task = value ? on_true : on_false; base 105 chromeos/attestation/attestation_flow.cc base::Closure do_cert_request = base::Bind( base 113 chromeos/attestation/attestation_flow.cc base::Closure on_enroll_failure = base::Bind(callback, false, ""); base 114 chromeos/attestation/attestation_flow.cc base::Closure do_enroll = base::Bind(&AttestationFlow::StartEnroll, base 118 chromeos/attestation/attestation_flow.cc cryptohome_client_->TpmAttestationIsEnrolled(base::Bind( base 125 chromeos/attestation/attestation_flow.cc void AttestationFlow::StartEnroll(const base::Closure& on_failure, base 126 chromeos/attestation/attestation_flow.cc const base::Closure& next_task) { base 130 chromeos/attestation/attestation_flow.cc base::Bind(&AttestationFlow::SendEnrollRequestToPCA, base 136 chromeos/attestation/attestation_flow.cc void AttestationFlow::SendEnrollRequestToPCA(const base::Closure& on_failure, base 137 chromeos/attestation/attestation_flow.cc const base::Closure& next_task, base 150 chromeos/attestation/attestation_flow.cc base::Bind(&AttestationFlow::SendEnrollResponseToDaemon, base 157 chromeos/attestation/attestation_flow.cc const base::Closure& on_failure, base 158 chromeos/attestation/attestation_flow.cc const base::Closure& next_task, base 172 chromeos/attestation/attestation_flow.cc base::Bind(&AttestationFlow::OnEnrollComplete, base 178 chromeos/attestation/attestation_flow.cc void AttestationFlow::OnEnrollComplete(const base::Closure& on_failure, base 179 chromeos/attestation/attestation_flow.cc const base::Closure& next_task, base 210 chromeos/attestation/attestation_flow.cc base::Bind(&AttestationFlow::SendCertificateRequestToPCA, base 218 chromeos/attestation/attestation_flow.cc base::Closure on_key_exists = base::Bind( base 227 chromeos/attestation/attestation_flow.cc base::Closure on_key_not_exists = base::Bind( base 239 chromeos/attestation/attestation_flow.cc base::Bind(&DBusBoolRedirectCallback, base 242 chromeos/attestation/attestation_flow.cc base::Bind(callback, false, ""))); base 263 chromeos/attestation/attestation_flow.cc base::Bind(&AttestationFlow::SendCertificateResponseToDaemon, base 290 chromeos/attestation/attestation_flow.cc base::Bind(callback)); base 302 chromeos/attestation/attestation_flow.cc base::Bind(&DBusDataMethodCallback, callback)); base 34 chromeos/attestation/attestation_flow.h typedef base::Callback<void(bool success, base 54 chromeos/attestation/attestation_flow.h typedef base::Callback<void(bool success, base 96 chromeos/attestation/attestation_flow.h void StartEnroll(const base::Closure& on_failure, base 97 chromeos/attestation/attestation_flow.h const base::Closure& next_task); base 108 chromeos/attestation/attestation_flow.h void SendEnrollRequestToPCA(const base::Closure& on_failure, base 109 chromeos/attestation/attestation_flow.h const base::Closure& next_task, base 122 chromeos/attestation/attestation_flow.h void SendEnrollResponseToDaemon(const base::Closure& on_failure, base 123 chromeos/attestation/attestation_flow.h const base::Closure& next_task, base 135 chromeos/attestation/attestation_flow.h void OnEnrollComplete(const base::Closure& on_failure, base 136 chromeos/attestation/attestation_flow.h const base::Closure& next_task, base 209 chromeos/attestation/attestation_flow.h base::WeakPtrFactory<AttestationFlow> weak_factory_; base 30 chromeos/attestation/attestation_flow_unittest.cc base::MessageLoop::current()->PostTask( base 31 chromeos/attestation/attestation_flow_unittest.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false)); base 35 chromeos/attestation/attestation_flow_unittest.cc base::MessageLoop::current()->PostTask( base 36 chromeos/attestation/attestation_flow_unittest.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 40 chromeos/attestation/attestation_flow_unittest.cc base::MessageLoop::current()->PostTask( base 41 chromeos/attestation/attestation_flow_unittest.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_FAILURE, false)); base 53 chromeos/attestation/attestation_flow_unittest.cc base::MessageLoop::current()->PostTask( base 55 chromeos/attestation/attestation_flow_unittest.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true, data_)); base 67 chromeos/attestation/attestation_flow_unittest.cc base::RunLoop run_loop; base 70 chromeos/attestation/attestation_flow_unittest.cc base::MessageLoop message_loop_; base 137 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 139 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 165 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 167 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 196 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 198 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 232 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 234 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 276 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 278 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 305 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 307 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 337 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 339 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 362 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 364 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 409 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 411 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 440 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 442 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 475 chromeos/attestation/attestation_flow_unittest.cc AttestationFlow::CertificateCallback mock_callback = base::Bind( base 477 chromeos/attestation/attestation_flow_unittest.cc base::Unretained(&observer)); base 108 chromeos/audio/audio_device.cc base::StringAppendF(&result, base 111 chromeos/audio/audio_device.cc base::StringAppendF(&result, base 114 chromeos/audio/audio_device.cc base::StringAppendF(&result, base 117 chromeos/audio/audio_device.cc base::StringAppendF(&result, base 120 chromeos/audio/audio_device.cc base::StringAppendF(&result, base 123 chromeos/audio/audio_device.cc base::StringAppendF(&result, base 126 chromeos/audio/audio_device.cc base::StringAppendF(&result, base 128 chromeos/audio/audio_device.cc base::Uint64ToString(plugged_time).c_str()); base 23 chromeos/audio/audio_devices_pref_handler.h : public base::RefCountedThreadSafe<AudioDevicesPrefHandler> { base 55 chromeos/audio/audio_devices_pref_handler.h friend class base::RefCountedThreadSafe<AudioDevicesPrefHandler>; base 501 chromeos/audio/cras_audio_handler.cc base::Bind(&CrasAudioHandler::HandleGetNodes, base 503 chromeos/audio/cras_audio_handler.cc base::Bind(&CrasAudioHandler::HandleGetNodesError, base 251 chromeos/audio/cras_audio_handler.h base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_; base 262 chromeos/audio/cras_audio_handler_unittest.cc base::MessageLoopForUI message_loop_; base 139 chromeos/cert_loader.cc pkcs11_id = base::HexEncode(sec_item->data, sec_item->len); base 160 chromeos/cert_loader.cc base::Bind(&CertLoader::UpdateCertificates, weak_factory_.GetWeakPtr())); base 127 chromeos/cert_loader.h base::ThreadChecker thread_checker_; base 129 chromeos/cert_loader.h base::WeakPtrFactory<CertLoader> weak_factory_; base 73 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 105 chromeos/cert_loader_unittest.cc base::Bind(&FailOnPrivateSlotCallback))); base 145 chromeos/cert_loader_unittest.cc base::FilePath pkcs12_file_path = base 147 chromeos/cert_loader_unittest.cc ASSERT_TRUE(base::ReadFileToString(pkcs12_file_path, &pkcs12_data)); base 154 chromeos/cert_loader_unittest.cc database->ImportFromPKCS12(module, pkcs12_data, base::string16(), false, base 167 chromeos/cert_loader_unittest.cc base::MessageLoop message_loop_; base 187 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 210 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 227 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 241 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 259 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 272 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 280 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 292 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 304 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 314 chromeos/cert_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 11 chromeos/chromeos_constants.cc const base::FilePath::CharType kDriveCacheDirname[] = FPL("GCache"); base 12 chromeos/chromeos_constants.cc const base::FilePath::CharType kNssCertDbPath[] = FPL(".pki/nssdb/cert9.db"); base 13 chromeos/chromeos_constants.cc const base::FilePath::CharType kNssDirPath[] = FPL(".pki"); base 14 chromeos/chromeos_constants.cc const base::FilePath::CharType kNssKeyDbPath[] = FPL(".pki/nssdb/key4.db"); base 15 chromeos/chromeos_constants.h CHROMEOS_EXPORT extern const base::FilePath::CharType kDriveCacheDirname[]; base 16 chromeos/chromeos_constants.h CHROMEOS_EXPORT extern const base::FilePath::CharType kNssCertDbPath[]; base 17 chromeos/chromeos_constants.h CHROMEOS_EXPORT extern const base::FilePath::CharType kNssDirPath[]; base 18 chromeos/chromeos_constants.h CHROMEOS_EXPORT extern const base::FilePath::CharType kNssKeyDbPath[]; base 14 chromeos/chromeos_paths.cc const base::FilePath::CharType kDefaultAppOrderFileName[] = base 21 chromeos/chromeos_paths.cc const base::FilePath::CharType kDefaultUserPolicyKeysDir[] = base 24 chromeos/chromeos_paths.cc const base::FilePath::CharType kOwnerKeyFileName[] = base 27 chromeos/chromeos_paths.cc const base::FilePath::CharType kInstallAttributesFileName[] = base 30 chromeos/chromeos_paths.cc const base::FilePath::CharType kUptimeFileName[] = base 33 chromeos/chromeos_paths.cc const base::FilePath::CharType kUpdateRebootNeededUptimeFile[] = base 36 chromeos/chromeos_paths.cc const base::FilePath::CharType kDeviceLocalAccountExtensionDir[] = base 39 chromeos/chromeos_paths.cc const base::FilePath::CharType kDeviceLocalAccountExternalDataDir[] = base 42 chromeos/chromeos_paths.cc bool PathProvider(int key, base::FilePath* result) { base 45 chromeos/chromeos_paths.cc *result = base::FilePath(kDefaultAppOrderFileName); base 48 chromeos/chromeos_paths.cc *result = base::FilePath(kDefaultUserPolicyKeysDir); base 51 chromeos/chromeos_paths.cc *result = base::FilePath(kOwnerKeyFileName); base 54 chromeos/chromeos_paths.cc *result = base::FilePath(kInstallAttributesFileName); base 57 chromeos/chromeos_paths.cc *result = base::FilePath(kUptimeFileName); base 60 chromeos/chromeos_paths.cc *result = base::FilePath(kUpdateRebootNeededUptimeFile); base 63 chromeos/chromeos_paths.cc *result = base::FilePath(kDeviceLocalAccountExtensionDir); base 66 chromeos/chromeos_paths.cc *result = base::FilePath(kDeviceLocalAccountExternalDataDir); base 16 chromeos/chromeos_test_utils.cc base::FilePath* data_dir) { base 17 chromeos/chromeos_test_utils.cc base::FilePath path; base 18 chromeos/chromeos_test_utils.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &path)) base 23 chromeos/chromeos_test_utils.cc if (!base::PathExists(path)) // We don't want to create this. base 10 chromeos/chromeos_test_utils.h namespace base { base 20 chromeos/chromeos_test_utils.h base::FilePath* data_dir); base 27 chromeos/cryptohome/async_method_caller.cc base::Bind(&AsyncMethodCallerImpl::HandleAsyncResponse, base 29 chromeos/cryptohome/async_method_caller.cc base::Bind(&AsyncMethodCallerImpl::HandleAsyncDataResponse, base 42 chromeos/cryptohome/async_method_caller.cc AsyncCheckKey(user_email, passhash, base::Bind( base 54 chromeos/cryptohome/async_method_caller.cc AsyncMigrateKey(user_email, old_hash, new_hash, base::Bind( base 66 chromeos/cryptohome/async_method_caller.cc AsyncMount(user_email, passhash, flags, base::Bind( base 78 chromeos/cryptohome/async_method_caller.cc AsyncAddKey(user_email, passhash, new_passhash, base::Bind( base 87 chromeos/cryptohome/async_method_caller.cc AsyncMountGuest(base::Bind( base 98 chromeos/cryptohome/async_method_caller.cc AsyncMountPublic(public_mount_id, flags, base::Bind( base 108 chromeos/cryptohome/async_method_caller.cc AsyncRemove(user_email, base::Bind( base 119 chromeos/cryptohome/async_method_caller.cc AsyncTpmAttestationCreateEnrollRequest(pca_type, base::Bind( base 131 chromeos/cryptohome/async_method_caller.cc AsyncTpmAttestationEnroll(pca_type, pca_response, base::Bind( base 150 chromeos/cryptohome/async_method_caller.cc base::Bind(&AsyncMethodCallerImpl::RegisterAsyncDataCallback, base 168 chromeos/cryptohome/async_method_caller.cc base::Bind( base 185 chromeos/cryptohome/async_method_caller.cc base::Bind( base 210 chromeos/cryptohome/async_method_caller.cc base::Bind( base 229 chromeos/cryptohome/async_method_caller.cc base::Bind( base 241 chromeos/cryptohome/async_method_caller.cc base::Bind( base 259 chromeos/cryptohome/async_method_caller.cc proxy(base::MessageLoopProxy::current()) { base 262 chromeos/cryptohome/async_method_caller.cc scoped_refptr<base::MessageLoopProxy> proxy; base 270 chromeos/cryptohome/async_method_caller.cc proxy(base::MessageLoopProxy::current()) { base 273 chromeos/cryptohome/async_method_caller.cc scoped_refptr<base::MessageLoopProxy> proxy; base 276 chromeos/cryptohome/async_method_caller.cc typedef base::hash_map<int, CallbackElement> CallbackMap; base 277 chromeos/cryptohome/async_method_caller.cc typedef base::hash_map<int, DataCallbackElement> DataCallbackMap; base 295 chromeos/cryptohome/async_method_caller.cc base::Bind(it->second.callback, base 311 chromeos/cryptohome/async_method_caller.cc base::Bind(it->second.data_callback, return_status, return_data)); base 341 chromeos/cryptohome/async_method_caller.cc base::WeakPtrFactory<AsyncMethodCallerImpl> weak_ptr_factory_; base 37 chromeos/cryptohome/async_method_caller.h typedef base::Callback<void(bool success, MountError return_code)> Callback; base 38 chromeos/cryptohome/async_method_caller.h typedef base::Callback<void(bool success, const std::string& data)> base 121 chromeos/cryptohome/homedir_methods.cc base::Bind(&HomedirMethodsImpl::OnBaseReplyCallback, base 150 chromeos/cryptohome/homedir_methods.cc base::Bind(&HomedirMethodsImpl::OnMountExCallback, base 173 chromeos/cryptohome/homedir_methods.cc base::Bind(&HomedirMethodsImpl::OnBaseReplyCallback, base 194 chromeos/cryptohome/homedir_methods.cc base::Bind(&HomedirMethodsImpl::OnBaseReplyCallback, base 217 chromeos/cryptohome/homedir_methods.cc base::Bind(&HomedirMethodsImpl::OnBaseReplyCallback, base 264 chromeos/cryptohome/homedir_methods.cc base::WeakPtrFactory<HomedirMethodsImpl> weak_ptr_factory_; base 24 chromeos/cryptohome/homedir_methods.h typedef base::Callback<void(bool success, MountError return_code)> Callback; base 25 chromeos/cryptohome/homedir_methods.h typedef base::Callback< base 31 chromeos/cryptohome/system_salt_getter.cc base::MessageLoopProxy::current()->PostTask( base 32 chromeos/cryptohome/system_salt_getter.cc FROM_HERE, base::Bind(callback, system_salt_)); base 37 chromeos/cryptohome/system_salt_getter.cc base::Bind(&SystemSaltGetter::DidWaitForServiceToBeAvailable, base 51 chromeos/cryptohome/system_salt_getter.cc base::Bind(&SystemSaltGetter::DidGetSystemSalt, base 97 chromeos/cryptohome/system_salt_getter.cc return StringToLowerASCII(base::HexEncode( base 22 chromeos/cryptohome/system_salt_getter.h typedef base::Callback<void(const std::string& system_salt)> base 52 chromeos/cryptohome/system_salt_getter.h base::WeakPtrFactory<SystemSaltGetter> weak_ptr_factory_; base 45 chromeos/cryptohome/system_salt_getter_unittest.cc base::MessageLoopForUI message_loop_; base 54 chromeos/cryptohome/system_salt_getter_unittest.cc base::Bind(&CopySystemSalt, &system_salt)); base 55 chromeos/cryptohome/system_salt_getter_unittest.cc base::RunLoop().RunUntilIdle(); base 60 chromeos/cryptohome/system_salt_getter_unittest.cc base::RunLoop().RunUntilIdle(); base 38 chromeos/dbus/audio_node.cc base::StringAppendF(&result, base 41 chromeos/dbus/audio_node.cc base::StringAppendF(&result, base 44 chromeos/dbus/audio_node.cc base::StringAppendF(&result, base 47 chromeos/dbus/audio_node.cc base::StringAppendF(&result, base 50 chromeos/dbus/audio_node.cc base::StringAppendF(&result, base 53 chromeos/dbus/audio_node.cc base::StringAppendF(&result, base 56 chromeos/dbus/audio_node.cc base::StringAppendF(&result, base 58 chromeos/dbus/audio_node.cc base::Uint64ToString(plugged_time).c_str()); base 22 chromeos/dbus/blocking_method_caller.cc base::ScopedClosureRunner* signaler, base 46 chromeos/dbus/blocking_method_caller.cc base::Closure signal_task( base 47 chromeos/dbus/blocking_method_caller.cc base::Bind(&base::WaitableEvent::Signal, base 48 chromeos/dbus/blocking_method_caller.cc base::Unretained(&on_blocking_method_call_))); base 49 chromeos/dbus/blocking_method_caller.cc base::ScopedClosureRunner* signaler = base 50 chromeos/dbus/blocking_method_caller.cc new base::ScopedClosureRunner(signal_task); base 55 chromeos/dbus/blocking_method_caller.cc base::Bind(&CallMethodAndBlockInternal, base 57 chromeos/dbus/blocking_method_caller.cc base::Owned(signaler), base 58 chromeos/dbus/blocking_method_caller.cc base::Unretained(proxy_), base 61 chromeos/dbus/blocking_method_caller.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 36 chromeos/dbus/blocking_method_caller.h base::WaitableEvent on_blocking_method_call_; base 26 chromeos/dbus/blocking_method_caller_unittest.cc class FakeTaskRunner : public base::TaskRunner { base 29 chromeos/dbus/blocking_method_caller_unittest.cc const base::Closure& task, base 30 chromeos/dbus/blocking_method_caller_unittest.cc base::TimeDelta delay) OVERRIDE { base 88 chromeos/dbus/bluetooth_adapter_client.cc base::Bind(&BluetoothAdapterClientImpl::OnPropertyChanged, base 105 chromeos/dbus/bluetooth_adapter_client.cc const base::Closure& callback, base 121 chromeos/dbus/bluetooth_adapter_client.cc base::Bind(&BluetoothAdapterClientImpl::OnSuccess, base 123 chromeos/dbus/bluetooth_adapter_client.cc base::Bind(&BluetoothAdapterClientImpl::OnError, base 129 chromeos/dbus/bluetooth_adapter_client.cc const base::Closure& callback, base 145 chromeos/dbus/bluetooth_adapter_client.cc base::Bind(&BluetoothAdapterClientImpl::OnSuccess, base 147 chromeos/dbus/bluetooth_adapter_client.cc base::Bind(&BluetoothAdapterClientImpl::OnError, base 154 chromeos/dbus/bluetooth_adapter_client.cc const base::Closure& callback, base 173 chromeos/dbus/bluetooth_adapter_client.cc base::Bind(&BluetoothAdapterClientImpl::OnSuccess, base 175 chromeos/dbus/bluetooth_adapter_client.cc base::Bind(&BluetoothAdapterClientImpl::OnError, base 216 chromeos/dbus/bluetooth_adapter_client.cc void OnSuccess(const base::Closure& callback, base 248 chromeos/dbus/bluetooth_adapter_client.cc base::WeakPtrFactory<BluetoothAdapterClientImpl> base 118 chromeos/dbus/bluetooth_adapter_client.h typedef base::Callback<void(const std::string& error_name, base 123 chromeos/dbus/bluetooth_adapter_client.h const base::Closure& callback, base 129 chromeos/dbus/bluetooth_adapter_client.h const base::Closure& callback, base 137 chromeos/dbus/bluetooth_adapter_client.h const base::Closure& callback, base 32 chromeos/dbus/bluetooth_agent_manager_client.cc const base::Closure& callback, base 45 chromeos/dbus/bluetooth_agent_manager_client.cc base::Bind(&BluetoothAgentManagerClientImpl::OnSuccess, base 47 chromeos/dbus/bluetooth_agent_manager_client.cc base::Bind(&BluetoothAgentManagerClientImpl::OnError, base 53 chromeos/dbus/bluetooth_agent_manager_client.cc const base::Closure& callback, base 65 chromeos/dbus/bluetooth_agent_manager_client.cc base::Bind(&BluetoothAgentManagerClientImpl::OnSuccess, base 67 chromeos/dbus/bluetooth_agent_manager_client.cc base::Bind(&BluetoothAgentManagerClientImpl::OnError, base 74 chromeos/dbus/bluetooth_agent_manager_client.cc const base::Closure& callback, base 87 chromeos/dbus/bluetooth_agent_manager_client.cc base::Bind(&BluetoothAgentManagerClientImpl::OnSuccess, base 89 chromeos/dbus/bluetooth_agent_manager_client.cc base::Bind(&BluetoothAgentManagerClientImpl::OnError, base 104 chromeos/dbus/bluetooth_agent_manager_client.cc void OnSuccess(const base::Closure& callback, base 133 chromeos/dbus/bluetooth_agent_manager_client.cc base::WeakPtrFactory<BluetoothAgentManagerClientImpl> base 28 chromeos/dbus/bluetooth_agent_manager_client.h typedef base::Callback<void(const std::string& error_name, base 38 chromeos/dbus/bluetooth_agent_manager_client.h const base::Closure& callback, base 44 chromeos/dbus/bluetooth_agent_manager_client.h const base::Closure& callback, base 50 chromeos/dbus/bluetooth_agent_manager_client.h const base::Closure& callback, base 30 chromeos/dbus/bluetooth_agent_service_provider.cc : origin_thread_id_(base::PlatformThread::CurrentId()), base 42 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::Release, base 44 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::OnExported, base 50 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::RequestPinCode, base 52 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::OnExported, base 58 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::DisplayPinCode, base 60 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::OnExported, base 66 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::RequestPasskey, base 68 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::OnExported, base 74 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::DisplayPasskey, base 76 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::OnExported, base 82 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::RequestConfirmation, base 84 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::OnExported, base 90 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::RequestAuthorization, base 92 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::OnExported, base 98 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::AuthorizeService, base 100 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::OnExported, base 106 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::Cancel, base 108 chromeos/dbus/bluetooth_agent_service_provider.cc base::Bind(&BluetoothAgentServiceProviderImpl::OnExported, base 122 chromeos/dbus/bluetooth_agent_service_provider.cc return base::PlatformThread::CurrentId() == origin_thread_id_; base 152 chromeos/dbus/bluetooth_agent_service_provider.cc Delegate::PinCodeCallback callback = base::Bind( base 199 chromeos/dbus/bluetooth_agent_service_provider.cc Delegate::PasskeyCallback callback = base::Bind( base 252 chromeos/dbus/bluetooth_agent_service_provider.cc Delegate::ConfirmationCallback callback = base::Bind( base 277 chromeos/dbus/bluetooth_agent_service_provider.cc Delegate::ConfirmationCallback callback = base::Bind( base 304 chromeos/dbus/bluetooth_agent_service_provider.cc Delegate::ConfirmationCallback callback = base::Bind( base 434 chromeos/dbus/bluetooth_agent_service_provider.cc base::PlatformThreadId origin_thread_id_; base 456 chromeos/dbus/bluetooth_agent_service_provider.cc base::WeakPtrFactory<BluetoothAgentServiceProviderImpl> weak_ptr_factory_; base 472 chromeos/dbus/bluetooth_agent_service_provider.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 52 chromeos/dbus/bluetooth_agent_service_provider.h typedef base::Callback<void(Status, const std::string&)> PinCodeCallback; base 58 chromeos/dbus/bluetooth_agent_service_provider.h typedef base::Callback<void(Status, uint32)> PasskeyCallback; base 63 chromeos/dbus/bluetooth_agent_service_provider.h typedef base::Callback<void(Status)> ConfirmationCallback; base 84 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnPropertyChanged, base 116 chromeos/dbus/bluetooth_device_client.cc const base::Closure& callback, base 133 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnSuccess, base 135 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnError, base 141 chromeos/dbus/bluetooth_device_client.cc const base::Closure& callback, base 157 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnSuccess, base 159 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnError, base 166 chromeos/dbus/bluetooth_device_client.cc const base::Closure& callback, base 186 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnSuccess, base 188 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnError, base 195 chromeos/dbus/bluetooth_device_client.cc const base::Closure& callback, base 215 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnSuccess, base 217 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnError, base 223 chromeos/dbus/bluetooth_device_client.cc const base::Closure& callback, base 240 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnSuccess, base 242 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnError, base 248 chromeos/dbus/bluetooth_device_client.cc const base::Closure& callback, base 264 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnSuccess, base 266 chromeos/dbus/bluetooth_device_client.cc base::Bind(&BluetoothDeviceClientImpl::OnError, base 307 chromeos/dbus/bluetooth_device_client.cc void OnSuccess(const base::Closure& callback, base 339 chromeos/dbus/bluetooth_device_client.cc base::WeakPtrFactory<BluetoothDeviceClientImpl> weak_ptr_factory_; base 127 chromeos/dbus/bluetooth_device_client.h typedef base::Callback<void(const std::string& error_name, base 135 chromeos/dbus/bluetooth_device_client.h const base::Closure& callback, base 141 chromeos/dbus/bluetooth_device_client.h const base::Closure& callback, base 149 chromeos/dbus/bluetooth_device_client.h const base::Closure& callback, base 156 chromeos/dbus/bluetooth_device_client.h const base::Closure& callback, base 163 chromeos/dbus/bluetooth_device_client.h const base::Closure& callback, base 169 chromeos/dbus/bluetooth_device_client.h const base::Closure& callback, base 85 chromeos/dbus/bluetooth_gatt_characteristic_client.cc base::Bind(&BluetoothGattCharacteristicClientImpl::OnPropertyChanged, base 141 chromeos/dbus/bluetooth_gatt_characteristic_client.cc base::WeakPtrFactory<BluetoothGattCharacteristicClientImpl> base 41 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc : origin_thread_id_(base::PlatformThread::CurrentId()), base 63 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::Get, base 65 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::OnExported, base 71 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::Set, base 73 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::OnExported, base 79 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::GetAll, base 81 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::OnExported, base 127 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc return base::PlatformThread::CurrentId() == origin_thread_id_; base 167 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::OnGet, base 170 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::OnFailure, base 272 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::OnSet, base 275 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::OnFailure, base 314 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::OnGetAll, base 317 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::Bind(&BluetoothGattCharacteristicServiceProviderImpl::OnFailure, base 414 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::PlatformThreadId origin_thread_id_; base 443 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc base::WeakPtrFactory<BluetoothGattCharacteristicServiceProviderImpl> base 467 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 42 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.h typedef base::Callback<void(const std::vector<uint8>&)> ValueCallback; base 45 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.h typedef base::Closure ErrorCallback; base 71 chromeos/dbus/bluetooth_gatt_characteristic_service_provider.h const base::Closure& callback, base 84 chromeos/dbus/bluetooth_gatt_descriptor_client.cc base::Bind(&BluetoothGattDescriptorClientImpl::OnPropertyChanged, base 140 chromeos/dbus/bluetooth_gatt_descriptor_client.cc base::WeakPtrFactory<BluetoothGattDescriptorClientImpl> weak_ptr_factory_; base 39 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc : origin_thread_id_(base::PlatformThread::CurrentId()), base 61 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::Get, base 63 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::OnExported, base 69 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::Set, base 71 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::OnExported, base 77 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::GetAll, base 79 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::OnExported, base 124 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc return base::PlatformThread::CurrentId() == origin_thread_id_; base 164 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::OnGet, base 167 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::OnFailure, base 269 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::OnSet, base 272 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::OnFailure, base 311 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::OnGetAll, base 314 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::Bind(&BluetoothGattDescriptorServiceProviderImpl::OnFailure, base 411 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::PlatformThreadId origin_thread_id_; base 440 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc base::WeakPtrFactory<BluetoothGattDescriptorServiceProviderImpl> base 463 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 42 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.h typedef base::Callback<void(const std::vector<uint8>&)> ValueCallback; base 45 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.h typedef base::Closure ErrorCallback; base 69 chromeos/dbus/bluetooth_gatt_descriptor_service_provider.h const base::Closure& callback, base 33 chromeos/dbus/bluetooth_gatt_manager_client.cc const base::Closure& callback, base 53 chromeos/dbus/bluetooth_gatt_manager_client.cc base::Bind(&BluetoothGattManagerClientImpl::OnSuccess, base 55 chromeos/dbus/bluetooth_gatt_manager_client.cc base::Bind(&BluetoothGattManagerClientImpl::OnError, base 61 chromeos/dbus/bluetooth_gatt_manager_client.cc const base::Closure& callback, base 74 chromeos/dbus/bluetooth_gatt_manager_client.cc base::Bind(&BluetoothGattManagerClientImpl::OnSuccess, base 76 chromeos/dbus/bluetooth_gatt_manager_client.cc base::Bind(&BluetoothGattManagerClientImpl::OnError, base 92 chromeos/dbus/bluetooth_gatt_manager_client.cc void OnSuccess(const base::Closure& callback, dbus::Response* response) { base 120 chromeos/dbus/bluetooth_gatt_manager_client.cc base::WeakPtrFactory<BluetoothGattManagerClientImpl> weak_ptr_factory_; base 32 chromeos/dbus/bluetooth_gatt_manager_client.h typedef base::Callback<void(const std::string& error_name, base 48 chromeos/dbus/bluetooth_gatt_manager_client.h const base::Closure& callback, base 54 chromeos/dbus/bluetooth_gatt_manager_client.h const base::Closure& callback, base 81 chromeos/dbus/bluetooth_gatt_service_client.cc base::Bind(&BluetoothGattServiceClientImpl::OnPropertyChanged, base 135 chromeos/dbus/bluetooth_gatt_service_client.cc base::WeakPtrFactory<BluetoothGattServiceClientImpl> weak_ptr_factory_; base 35 chromeos/dbus/bluetooth_gatt_service_service_provider.cc : origin_thread_id_(base::PlatformThread::CurrentId()), base 52 chromeos/dbus/bluetooth_gatt_service_service_provider.cc base::Bind(&BluetoothGattServiceServiceProviderImpl::Get, base 54 chromeos/dbus/bluetooth_gatt_service_service_provider.cc base::Bind(&BluetoothGattServiceServiceProviderImpl::OnExported, base 60 chromeos/dbus/bluetooth_gatt_service_service_provider.cc base::Bind(&BluetoothGattServiceServiceProviderImpl::Set, base 62 chromeos/dbus/bluetooth_gatt_service_service_provider.cc base::Bind(&BluetoothGattServiceServiceProviderImpl::OnExported, base 68 chromeos/dbus/bluetooth_gatt_service_service_provider.cc base::Bind(&BluetoothGattServiceServiceProviderImpl::GetAll, base 70 chromeos/dbus/bluetooth_gatt_service_service_provider.cc base::Bind(&BluetoothGattServiceServiceProviderImpl::OnExported, base 82 chromeos/dbus/bluetooth_gatt_service_service_provider.cc return base::PlatformThread::CurrentId() == origin_thread_id_; base 229 chromeos/dbus/bluetooth_gatt_service_service_provider.cc base::PlatformThreadId origin_thread_id_; base 253 chromeos/dbus/bluetooth_gatt_service_service_provider.cc base::WeakPtrFactory<BluetoothGattServiceServiceProviderImpl> base 272 chromeos/dbus/bluetooth_gatt_service_service_provider.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 66 chromeos/dbus/bluetooth_input_client.cc base::Bind(&BluetoothInputClientImpl::OnPropertyChanged, base 126 chromeos/dbus/bluetooth_input_client.cc base::WeakPtrFactory<BluetoothInputClientImpl> weak_ptr_factory_; base 44 chromeos/dbus/bluetooth_profile_manager_client.cc const base::Closure& callback, base 159 chromeos/dbus/bluetooth_profile_manager_client.cc base::Bind(&BluetoothProfileManagerClientImpl::OnSuccess, base 161 chromeos/dbus/bluetooth_profile_manager_client.cc base::Bind(&BluetoothProfileManagerClientImpl::OnError, base 167 chromeos/dbus/bluetooth_profile_manager_client.cc const base::Closure& callback, base 179 chromeos/dbus/bluetooth_profile_manager_client.cc base::Bind(&BluetoothProfileManagerClientImpl::OnSuccess, base 181 chromeos/dbus/bluetooth_profile_manager_client.cc base::Bind(&BluetoothProfileManagerClientImpl::OnError, base 196 chromeos/dbus/bluetooth_profile_manager_client.cc void OnSuccess(const base::Closure& callback, base 225 chromeos/dbus/bluetooth_profile_manager_client.cc base::WeakPtrFactory<BluetoothProfileManagerClientImpl> weak_ptr_factory_; base 76 chromeos/dbus/bluetooth_profile_manager_client.h typedef base::Callback<void(const std::string& error_name, base 86 chromeos/dbus/bluetooth_profile_manager_client.h const base::Closure& callback, base 92 chromeos/dbus/bluetooth_profile_manager_client.h const base::Closure& callback, base 30 chromeos/dbus/bluetooth_profile_service_provider.cc : origin_thread_id_(base::PlatformThread::CurrentId()), base 42 chromeos/dbus/bluetooth_profile_service_provider.cc base::Bind(&BluetoothProfileServiceProviderImpl::Release, base 44 chromeos/dbus/bluetooth_profile_service_provider.cc base::Bind(&BluetoothProfileServiceProviderImpl::OnExported, base 50 chromeos/dbus/bluetooth_profile_service_provider.cc base::Bind(&BluetoothProfileServiceProviderImpl::NewConnection, base 52 chromeos/dbus/bluetooth_profile_service_provider.cc base::Bind(&BluetoothProfileServiceProviderImpl::OnExported, base 58 chromeos/dbus/bluetooth_profile_service_provider.cc base::Bind(&BluetoothProfileServiceProviderImpl::RequestDisconnection, base 60 chromeos/dbus/bluetooth_profile_service_provider.cc base::Bind(&BluetoothProfileServiceProviderImpl::OnExported, base 66 chromeos/dbus/bluetooth_profile_service_provider.cc base::Bind(&BluetoothProfileServiceProviderImpl::Cancel, base 68 chromeos/dbus/bluetooth_profile_service_provider.cc base::Bind(&BluetoothProfileServiceProviderImpl::OnExported, base 82 chromeos/dbus/bluetooth_profile_service_provider.cc return base::PlatformThread::CurrentId() == origin_thread_id_; base 132 chromeos/dbus/bluetooth_profile_service_provider.cc Delegate::ConfirmationCallback callback = base::Bind( base 157 chromeos/dbus/bluetooth_profile_service_provider.cc Delegate::ConfirmationCallback callback = base::Bind( base 217 chromeos/dbus/bluetooth_profile_service_provider.cc base::PlatformThreadId origin_thread_id_; base 239 chromeos/dbus/bluetooth_profile_service_provider.cc base::WeakPtrFactory<BluetoothProfileServiceProviderImpl> weak_ptr_factory_; base 255 chromeos/dbus/bluetooth_profile_service_provider.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 64 chromeos/dbus/bluetooth_profile_service_provider.h typedef base::Callback<void(Status)> ConfirmationCallback; base 50 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::OnGetVolumeState, base 61 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::OnGetNodes, base 63 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::OnError, base 142 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::NameOwnerChangedReceived, base 149 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::OutputMuteChangedReceived, base 151 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::SignalConnected, base 158 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::InputMuteChangedReceived, base 160 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::SignalConnected, base 167 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::NodesChangedReceived, base 169 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::SignalConnected, base 176 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::ActiveOutputNodeChangedReceived, base 178 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::SignalConnected, base 185 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::ActiveInputNodeChangedReceived, base 187 chromeos/dbus/cras_audio_client.cc base::Bind(&CrasAudioClientImpl::SignalConnected, base 371 chromeos/dbus/cras_audio_client.cc base::WeakPtrFactory<CrasAudioClientImpl> weak_ptr_factory_; base 58 chromeos/dbus/cras_audio_client.h typedef base::Callback<void(const VolumeState&, bool)> GetVolumeStateCallback; base 63 chromeos/dbus/cras_audio_client.h typedef base::Callback<void(const AudioNodeList&, bool)> GetNodesCallback; base 68 chromeos/dbus/cras_audio_client.h typedef base::Callback<void(const std::string&, base 88 chromeos/dbus/cros_disks_client.cc const base::Closure& callback, base 89 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 99 chromeos/dbus/cros_disks_client.cc std::string mount_label_option = base::StringPrintf("%s=%s", base 106 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientImpl::OnMount, base 115 chromeos/dbus/cros_disks_client.cc const base::Closure& callback, base 116 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 130 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientImpl::OnUnmount, base 139 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 144 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientImpl::OnEnumerateAutoMountableDevices, base 154 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 161 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientImpl::OnFormatDevice, base 171 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 178 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientImpl::OnGetDeviceProperties, base 204 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientImpl::OnMountEvent, base 208 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientImpl::OnSignalConnected, base 214 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientImpl::OnMountCompleted, base 217 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientImpl::OnSignalConnected, base 237 chromeos/dbus/cros_disks_client.cc void OnMount(const base::Closure& callback, base 238 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback, base 248 chromeos/dbus/cros_disks_client.cc void OnUnmount(const base::Closure& callback, base 249 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback, base 279 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback, base 298 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback, base 318 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback, base 371 chromeos/dbus/cros_disks_client.cc base::WeakPtrFactory<CrosDisksClientImpl> weak_ptr_factory_; base 389 chromeos/dbus/cros_disks_client.cc const base::Closure& callback, base 390 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 394 chromeos/dbus/cros_disks_client.cc const base::FilePath mounted_path = GetArchiveMountPoint().Append( base 395 chromeos/dbus/cros_disks_client.cc base::FilePath::FromUTF8Unsafe(mount_label)); base 405 chromeos/dbus/cros_disks_client.cc base::PostTaskAndReplyWithResult( base 406 chromeos/dbus/cros_disks_client.cc base::WorkerPool::GetTaskRunner(true /* task_is_slow */).get(), base 408 chromeos/dbus/cros_disks_client.cc base::Bind(&PerformFakeMount, source_path, mounted_path), base 409 chromeos/dbus/cros_disks_client.cc base::Bind(&CrosDisksClientStubImpl::ContinueMount, base 419 chromeos/dbus/cros_disks_client.cc const base::Closure& callback, base 420 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 423 chromeos/dbus/cros_disks_client.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, error_callback); base 430 chromeos/dbus/cros_disks_client.cc base::WorkerPool::PostTaskAndReply( base 432 chromeos/dbus/cros_disks_client.cc base::Bind(base::IgnoreResult(&base::DeleteFile), base 433 chromeos/dbus/cros_disks_client.cc base::FilePath::FromUTF8Unsafe(device_path), base 441 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 443 chromeos/dbus/cros_disks_client.cc base::MessageLoopProxy::current()->PostTask( base 444 chromeos/dbus/cros_disks_client.cc FROM_HERE, base::Bind(callback, device_paths)); base 450 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 451 chromeos/dbus/cros_disks_client.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, error_callback); base 457 chromeos/dbus/cros_disks_client.cc const base::Closure& error_callback) OVERRIDE { base 458 chromeos/dbus/cros_disks_client.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, error_callback); base 471 chromeos/dbus/cros_disks_client.cc const base::FilePath& mounted_path) { base 473 chromeos/dbus/cros_disks_client.cc if (!base::PathExists(base::FilePath::FromUTF8Unsafe(source_path))) { base 479 chromeos/dbus/cros_disks_client.cc if (!base::CreateDirectory(mounted_path)) { base 485 chromeos/dbus/cros_disks_client.cc const base::FilePath dummy_file_path = base 488 chromeos/dbus/cros_disks_client.cc const int write_result = base::WriteFile( base 502 chromeos/dbus/cros_disks_client.cc const base::Closure& callback, base 503 chromeos/dbus/cros_disks_client.cc const base::FilePath& mounted_path, base 520 chromeos/dbus/cros_disks_client.cc const base::Closure& callback) { base 521 chromeos/dbus/cros_disks_client.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, callback); base 523 chromeos/dbus/cros_disks_client.cc base::MessageLoopProxy::current()->PostTask( base 525 chromeos/dbus/cros_disks_client.cc base::Bind(mount_completed_handler_, base 536 chromeos/dbus/cros_disks_client.cc base::WeakPtrFactory<CrosDisksClientStubImpl> weak_ptr_factory_; base 657 chromeos/dbus/cros_disks_client.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(&reader)); base 658 chromeos/dbus/cros_disks_client.cc base::DictionaryValue* properties = NULL; base 702 chromeos/dbus/cros_disks_client.cc base::ListValue* mount_paths = NULL; base 724 chromeos/dbus/cros_disks_client.cc base::FilePath CrosDisksClient::GetArchiveMountPoint() { base 725 chromeos/dbus/cros_disks_client.cc return base::FilePath(base::SysInfo::IsRunningOnChromeOS() ? base 731 chromeos/dbus/cros_disks_client.cc base::FilePath CrosDisksClient::GetRemovableDiskMountPoint() { base 732 chromeos/dbus/cros_disks_client.cc return base::FilePath(base::SysInfo::IsRunningOnChromeOS() ? base 17 chromeos/dbus/cros_disks_client.h namespace base { base 195 chromeos/dbus/cros_disks_client.h typedef base::Callback<void(const std::vector<std::string>& device_paths) base 200 chromeos/dbus/cros_disks_client.h typedef base::Callback<void(bool format_succeeded)> FormatDeviceCallback; base 204 chromeos/dbus/cros_disks_client.h typedef base::Callback<void(const DiskInfo& disk_info) base 212 chromeos/dbus/cros_disks_client.h typedef base::Callback<void(MountError error_code, base 221 chromeos/dbus/cros_disks_client.h typedef base::Callback<void(MountEventType event_type, base 239 chromeos/dbus/cros_disks_client.h const base::Closure& callback, base 240 chromeos/dbus/cros_disks_client.h const base::Closure& error_callback) = 0; base 246 chromeos/dbus/cros_disks_client.h const base::Closure& callback, base 247 chromeos/dbus/cros_disks_client.h const base::Closure& error_callback) = 0; base 253 chromeos/dbus/cros_disks_client.h const base::Closure& error_callback) = 0; base 260 chromeos/dbus/cros_disks_client.h const base::Closure& error_callback) = 0; base 266 chromeos/dbus/cros_disks_client.h const base::Closure& error_callback) = 0; base 280 chromeos/dbus/cros_disks_client.h static base::FilePath GetArchiveMountPoint(); base 283 chromeos/dbus/cros_disks_client.h static base::FilePath GetRemovableDiskMountPoint(); base 78 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 95 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 108 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 118 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnGetSystemSalt, base 132 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnStringMethod, base 172 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 189 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 199 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 215 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 249 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnStringMethod, base 326 chromeos/dbus/cryptohome_client.cc base::Bind( base 343 chromeos/dbus/cryptohome_client.cc base::Bind( base 445 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 464 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 485 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 509 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 546 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnDataMethod, base 566 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnDataMethod, base 586 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 618 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 641 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncMethodCall, base 661 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnDataMethod, base 718 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnBaseReplyMethod, base 738 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnBaseReplyMethod, base 758 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnBaseReplyMethod, base 779 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnBaseReplyMethod, base 798 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnBaseReplyMethod, base 813 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncCallStatus, base 815 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnSignalConnected, base 820 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnAsyncCallStatusWithData, base 822 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnSignalConnected, base 863 chromeos/dbus/cryptohome_client.cc base::Bind(&CryptohomeClientImpl::OnVoidMethod, base 892 chromeos/dbus/cryptohome_client.cc base::Bind( base 1058 chromeos/dbus/cryptohome_client.cc base::WeakPtrFactory<CryptohomeClientImpl> weak_ptr_factory_; base 39 chromeos/dbus/cryptohome_client.h typedef base::Callback<void(int async_id, base 44 chromeos/dbus/cryptohome_client.h typedef base::Callback<void(int async_id, base 49 chromeos/dbus/cryptohome_client.h typedef base::Callback<void(int async_id)> AsyncMethodCallback; base 51 chromeos/dbus/cryptohome_client.h typedef base::Callback<void( base 55 chromeos/dbus/cryptohome_client.h typedef base::Callback<void(bool service_is_ready)> base 65 chromeos/dbus/cryptohome_client.h typedef base::Callback<void( base 71 chromeos/dbus/cryptohome_client.h typedef base::Callback<void(DBusMethodCallStatus call_status, base 76 chromeos/dbus/cryptohome_client.h typedef base::Callback< base 19 chromeos/dbus/dbus_method_call_status.cc return base::Bind(&EmptyVoidDBusMethodCallbackBody); base 28 chromeos/dbus/dbus_method_call_status.h typedef base::Callback<void( base 32 chromeos/dbus/dbus_method_call_status.h typedef base::Callback<void(DBusMethodCallStatus call_status, base 36 chromeos/dbus/dbus_method_call_status.h typedef base::Callback<void( base 41 chromeos/dbus/dbus_method_call_status.h typedef base::Callback<void( base 46 chromeos/dbus/dbus_method_call_status.h typedef base::Callback<void( base 52 chromeos/dbus/dbus_method_call_status.h typedef base::Callback<void(const dbus::ObjectPath& result)> ObjectPathCallback; base 264 chromeos/dbus/dbus_thread_manager.cc base::Thread::Options thread_options; base 265 chromeos/dbus/dbus_thread_manager.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 266 chromeos/dbus/dbus_thread_manager.cc dbus_thread_.reset(new base::Thread("D-Bus thread")); base 464 chromeos/dbus/dbus_thread_manager.cc scoped_ptr<base::Thread> dbus_thread_; base 483 chromeos/dbus/dbus_thread_manager.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 15 chromeos/dbus/dbus_thread_manager.h namespace base { base 33 chromeos/dbus/debug_daemon_client.cc const scoped_refptr<base::RefCountedString>& unused_result) { base 48 chromeos/dbus/debug_daemon_client.cc virtual void GetDebugLogs(base::PlatformFile file, base 54 chromeos/dbus/debug_daemon_client.cc base::WorkerPool::PostTaskAndReply( base 56 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::CheckValidity, base 58 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnCheckValidityGetDebugLogs, base 60 chromeos/dbus/debug_daemon_client.cc base::Owned(file_descriptor), base 74 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnSetDebugMode, base 99 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetRoutes, base 111 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetNetworkStatus, base 123 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetModemStatus, base 135 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetWiMaxStatus, base 147 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetNetworkInterfaces, base 162 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetPerfData, base 173 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetAllLogs, base 185 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetAllLogs, base 197 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetUserLogFiles, base 213 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnStartMethod, base 225 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnIOComplete, base 240 chromeos/dbus/debug_daemon_client.cc base::WorkerPool::PostTaskAndReply( base 242 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::CheckValidity, base 244 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnCheckValidityRequestStopSystem, base 246 chromeos/dbus/debug_daemon_client.cc base::Owned(file_descriptor), base 262 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnTestICMP, base 295 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnTestICMP, base 306 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnStartMethod, base 336 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnGetDebugLogs, base 488 chromeos/dbus/debug_daemon_client.cc base::Bind(&DebugDaemonClientImpl::OnRequestStopSystemTracing, base 518 chromeos/dbus/debug_daemon_client.cc callback_.Run(base::RefCountedString::TakeString(&pipe_data)); base 525 chromeos/dbus/debug_daemon_client.cc base::WeakPtrFactory<DebugDaemonClientImpl> weak_ptr_factory_; base 539 chromeos/dbus/debug_daemon_client.cc return base::Bind(&EmptyStopSystemTracingCallbackBody); base 29 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(bool succeeded)> GetDebugLogsCallback; base 33 chromeos/dbus/debug_daemon_client.h virtual void GetDebugLogs(base::PlatformFile file, base 38 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(bool succeeded)> SetDebugModeCallback; base 47 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(bool succeeded, base 54 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(bool succeeded, const std::string& status)> base 61 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(bool succeeded, const std::string& status)> base 68 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(bool succeeded, const std::string& status)> base 78 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(bool succeeded, const std::string& status)> base 87 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(const std::vector<uint8>& data)> base 95 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(bool succeeded, base 113 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(const scoped_refptr<base::RefCountedString>& base 128 chromeos/dbus/debug_daemon_client.h typedef base::Callback<void(bool succeeded, const std::string& status)> base 81 chromeos/dbus/fake_bluetooth_adapter_client.cc properties_.reset(new Properties(base::Bind( base 82 chromeos/dbus/fake_bluetooth_adapter_client.cc &FakeBluetoothAdapterClient::OnPropertyChanged, base::Unretained(this)))); base 89 chromeos/dbus/fake_bluetooth_adapter_client.cc second_properties_.reset(new Properties(base::Bind( base 90 chromeos/dbus/fake_bluetooth_adapter_client.cc &FakeBluetoothAdapterClient::OnPropertyChanged, base::Unretained(this)))); base 133 chromeos/dbus/fake_bluetooth_adapter_client.cc const base::Closure& callback, base 136 chromeos/dbus/fake_bluetooth_adapter_client.cc PostDelayedTask(base::Bind(error_callback, kNoResponseError, "")); base 157 chromeos/dbus/fake_bluetooth_adapter_client.cc const base::Closure& callback, base 160 chromeos/dbus/fake_bluetooth_adapter_client.cc PostDelayedTask(base::Bind(error_callback, kNoResponseError, "")); base 166 chromeos/dbus/fake_bluetooth_adapter_client.cc PostDelayedTask(base::Bind(error_callback, kNoResponseError, "")); base 193 chromeos/dbus/fake_bluetooth_adapter_client.cc const base::Closure& callback, base 268 chromeos/dbus/fake_bluetooth_adapter_client.cc const base::Closure& callback) { base 269 chromeos/dbus/fake_bluetooth_adapter_client.cc base::MessageLoop::current()->PostDelayedTask( base 271 chromeos/dbus/fake_bluetooth_adapter_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 49 chromeos/dbus/fake_bluetooth_adapter_client.h const base::Closure& callback, base 52 chromeos/dbus/fake_bluetooth_adapter_client.h const base::Closure& callback, base 56 chromeos/dbus/fake_bluetooth_adapter_client.h const base::Closure& callback, base 81 chromeos/dbus/fake_bluetooth_adapter_client.h void PostDelayedTask(const base::Closure& callback); base 28 chromeos/dbus/fake_bluetooth_agent_manager_client.cc const base::Closure& callback, base 45 chromeos/dbus/fake_bluetooth_agent_manager_client.cc const base::Closure& callback, base 61 chromeos/dbus/fake_bluetooth_agent_manager_client.cc const base::Closure& callback, base 33 chromeos/dbus/fake_bluetooth_agent_manager_client.h const base::Closure& callback, base 36 chromeos/dbus/fake_bluetooth_agent_manager_client.h const base::Closure& callback, base 39 chromeos/dbus/fake_bluetooth_agent_manager_client.h const base::Closure& callback, base 224 chromeos/dbus/fake_bluetooth_device_client.cc Properties* properties = new Properties(base::Bind( base 226 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 283 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 325 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 350 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 390 chromeos/dbus/fake_bluetooth_device_client.cc base::WorkerPool::GetTaskRunner(false)->PostTask( base 392 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&SimulatedProfileSocket, base 404 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::ConnectionCallback, base 405 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 414 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 430 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::DisconnectionCallback, base 431 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 439 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 455 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 469 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 471 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::DiscoverySimulationTimer, base 472 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this)), base 473 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 488 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 490 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::IncomingPairingSimulationTimer, base 491 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this)), base 492 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(30 * simulation_interval_ms_)); base 512 chromeos/dbus/fake_bluetooth_device_client.cc Properties* properties = new Properties(base::Bind( base 514 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 685 chromeos/dbus/fake_bluetooth_device_client.cc base::RandInt(kMinRSSI, kMaxRSSI)); base 691 chromeos/dbus/fake_bluetooth_device_client.cc base::RandInt(kMinRSSI, kMaxRSSI)); base 699 chromeos/dbus/fake_bluetooth_device_client.cc base::RandInt(kMinRSSI, kMaxRSSI)); base 713 chromeos/dbus/fake_bluetooth_device_client.cc base::RandInt(kMinRSSI, kMaxRSSI)); base 719 chromeos/dbus/fake_bluetooth_device_client.cc base::RandInt(kMinRSSI, kMaxRSSI)); base 723 chromeos/dbus/fake_bluetooth_device_client.cc base::RandInt(kMinRSSI, kMaxRSSI)); base 729 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 731 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::DiscoverySimulationTimer, base 732 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this)), base 733 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 747 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&base::DoNothing), base 748 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&SimpleErrorCallback)); base 754 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&base::DoNothing), base 755 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&SimpleErrorCallback)); base 761 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&base::DoNothing), base 762 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&SimpleErrorCallback)); base 768 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&base::DoNothing), base 769 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&SimpleErrorCallback)); base 775 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&base::DoNothing), base 776 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&SimpleErrorCallback)); base 782 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&base::DoNothing), base 783 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&SimpleErrorCallback)); base 790 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 792 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::IncomingPairingSimulationTimer, base 793 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this)), base 794 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(45 * simulation_interval_ms_)); base 800 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 817 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 819 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CompleteSimulatedPairing, base 820 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 822 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(3 * simulation_interval_ms_)); base 829 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 831 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CompleteSimulatedPairing, base 832 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 834 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(7 * simulation_interval_ms_)); base 838 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 840 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::TimeoutSimulatedPairing, base 841 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 843 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(4 * simulation_interval_ms_)); base 850 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 852 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::SimulateKeypress, base 853 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 855 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 861 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::PinCodeCallback, base 862 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 871 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::ConfirmationCallback, base 872 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 881 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::PasskeyCallback, base 882 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 889 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 891 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::FailSimulatedPairing, base 892 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 894 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 900 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::ConfirmationCallback, base 901 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 909 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 911 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CompleteSimulatedPairing, base 912 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 914 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(3 * simulation_interval_ms_)); base 925 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 1006 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 1013 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1015 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CompleteSimulatedPairing, base 1016 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1018 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(3 * simulation_interval_ms_)); base 1021 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1023 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CancelSimulatedPairing, base 1024 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1026 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 1029 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1031 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::RejectSimulatedPairing, base 1032 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1034 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 1041 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 1048 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1050 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CompleteSimulatedPairing, base 1051 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1053 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(3 * simulation_interval_ms_)); base 1056 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1058 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CancelSimulatedPairing, base 1059 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1061 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 1064 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1066 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::RejectSimulatedPairing, base 1067 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1069 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 1076 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 1082 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1084 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CompleteSimulatedPairing, base 1085 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1087 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(3 * simulation_interval_ms_)); base 1090 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1092 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CancelSimulatedPairing, base 1093 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1095 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 1098 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1100 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::RejectSimulatedPairing, base 1101 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1103 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 1111 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 1129 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1131 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::SimulateKeypress, base 1132 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1134 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 1137 chromeos/dbus/fake_bluetooth_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 1139 chromeos/dbus/fake_bluetooth_device_client.cc base::Bind(&FakeBluetoothDeviceClient::CompleteSimulatedPairing, base 1140 chromeos/dbus/fake_bluetooth_device_client.cc base::Unretained(this), base 1142 chromeos/dbus/fake_bluetooth_device_client.cc base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); base 1149 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 1167 chromeos/dbus/fake_bluetooth_device_client.cc const base::Closure& callback, base 53 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 56 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 60 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 64 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 67 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 70 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 97 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 177 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 201 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 207 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 213 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 219 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 224 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 229 chromeos/dbus/fake_bluetooth_device_client.h const base::Closure& callback, base 141 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc heart_rate_measurement_properties_.reset(new Properties(base::Bind( base 158 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc body_sensor_location_properties_.reset(new Properties(base::Bind( base 177 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc heart_rate_control_point_properties_.reset(new Properties(base::Bind( base 281 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc base::MessageLoop::current()->PostDelayedTask( base 283 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc base::Bind(&FakeBluetoothGattCharacteristicClient:: base 286 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc base::TimeDelta::FromMilliseconds( base 315 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc value.bpm = static_cast<uint8>(base::RandInt(117, 153)); base 117 chromeos/dbus/fake_bluetooth_gatt_characteristic_client.h base::WeakPtrFactory<FakeBluetoothGattCharacteristicClient> base 85 chromeos/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc const base::Closure& callback, base 41 chromeos/dbus/fake_bluetooth_gatt_characteristic_service_provider.h const base::Closure& callback, base 94 chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc const base::Closure& callback, base 40 chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.h const base::Closure& callback, base 29 chromeos/dbus/fake_bluetooth_gatt_manager_client.cc const base::Closure& callback, base 57 chromeos/dbus/fake_bluetooth_gatt_manager_client.cc const base::Closure& callback, base 38 chromeos/dbus/fake_bluetooth_gatt_manager_client.h const base::Closure& callback, base 41 chromeos/dbus/fake_bluetooth_gatt_manager_client.h const base::Closure& callback, base 93 chromeos/dbus/fake_bluetooth_gatt_service_client.cc heart_rate_service_properties_.reset(new Properties(base::Bind( base 95 chromeos/dbus/fake_bluetooth_gatt_service_client.cc base::Unretained(this), base 83 chromeos/dbus/fake_bluetooth_input_client.cc Properties* properties = new Properties(base::Bind( base 85 chromeos/dbus/fake_bluetooth_input_client.cc base::Unretained(this), base 39 chromeos/dbus/fake_bluetooth_profile_manager_client.cc const base::Closure& callback, base 63 chromeos/dbus/fake_bluetooth_profile_manager_client.cc const base::Closure& callback, base 37 chromeos/dbus/fake_bluetooth_profile_manager_client.h const base::Closure& callback, base 40 chromeos/dbus/fake_bluetooth_profile_manager_client.h const base::Closure& callback, base 29 chromeos/dbus/fake_cros_disks_client.cc const base::Closure& callback, base 30 chromeos/dbus/fake_cros_disks_client.cc const base::Closure& error_callback) { base 35 chromeos/dbus/fake_cros_disks_client.cc const base::Closure& callback, base 36 chromeos/dbus/fake_cros_disks_client.cc const base::Closure& error_callback) { base 43 chromeos/dbus/fake_cros_disks_client.cc base::MessageLoopProxy::current()->PostTask( base 51 chromeos/dbus/fake_cros_disks_client.cc const base::Closure& error_callback) { base 57 chromeos/dbus/fake_cros_disks_client.cc const base::Closure& error_callback) { base 65 chromeos/dbus/fake_cros_disks_client.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 66 chromeos/dbus/fake_cros_disks_client.cc base::Bind(callback, true)); base 68 chromeos/dbus/fake_cros_disks_client.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, error_callback); base 75 chromeos/dbus/fake_cros_disks_client.cc const base::Closure& error_callback) { base 27 chromeos/dbus/fake_cros_disks_client.h const base::Closure& callback, base 28 chromeos/dbus/fake_cros_disks_client.h const base::Closure& error_callback) OVERRIDE; base 31 chromeos/dbus/fake_cros_disks_client.h const base::Closure& callback, base 32 chromeos/dbus/fake_cros_disks_client.h const base::Closure& error_callback) OVERRIDE; base 35 chromeos/dbus/fake_cros_disks_client.h const base::Closure& error_callback) OVERRIDE; base 39 chromeos/dbus/fake_cros_disks_client.h const base::Closure& error_callback) OVERRIDE; base 43 chromeos/dbus/fake_cros_disks_client.h const base::Closure& error_callback) OVERRIDE; base 78 chromeos/dbus/fake_cros_disks_client.h void set_unmount_listener(base::Closure listener) { base 113 chromeos/dbus/fake_cros_disks_client.h base::Closure unmount_listener_; base 46 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 47 chromeos/dbus/fake_cryptohome_client.cc base::Bind(callback, true)); base 55 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 56 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 87 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 89 chromeos/dbus/fake_cryptohome_client.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, system_salt_)); base 98 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 100 chromeos/dbus/fake_cryptohome_client.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, sanitized_username)); base 137 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 138 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 143 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 144 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 155 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 157 chromeos/dbus/fake_cryptohome_client.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, base 163 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 164 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 174 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 175 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 185 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 186 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS)); base 191 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 192 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS)); base 201 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 202 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 209 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 211 chromeos/dbus/fake_cryptohome_client.cc base::Bind(callback, base 254 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 255 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 271 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 272 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 277 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 278 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 317 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 318 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false)); base 326 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 328 chromeos/dbus/fake_cryptohome_client.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false, std::string())); base 336 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 338 chromeos/dbus/fake_cryptohome_client.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false, std::string())); base 375 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 377 chromeos/dbus/fake_cryptohome_client.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false, std::string())); base 386 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 387 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false)); base 395 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 396 chromeos/dbus/fake_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false)); base 464 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 466 chromeos/dbus/fake_cryptohome_client.cc base::Bind(callback, base 475 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 477 chromeos/dbus/fake_cryptohome_client.cc base::Bind(&FakeCryptohomeClient::ReturnAsyncMethodResultInternal, base 488 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 490 chromeos/dbus/fake_cryptohome_client.cc base::Bind(async_call_status_handler_, base 495 chromeos/dbus/fake_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 497 chromeos/dbus/fake_cryptohome_client.cc base::Bind(async_call_status_data_handler_, base 235 chromeos/dbus/fake_cryptohome_client.h base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; base 24 chromeos/dbus/fake_debug_daemon_client.cc void FakeDebugDaemonClient::GetDebugLogs(base::PlatformFile file, base 38 chromeos/dbus/fake_debug_daemon_client.cc callback.Run(base::RefCountedString::TakeString(&no_data)); base 46 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 47 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, false, empty)); base 52 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 53 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, false, "")); base 58 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 59 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, false, "")); base 64 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 65 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, false, "")); base 70 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 71 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, false, "")); base 77 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(callback, data)); base 83 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 84 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, false, sample)); base 90 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 91 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, false, sample)); base 98 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 99 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, true, user_logs)); base 104 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 105 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, false, "")); base 112 chromeos/dbus/fake_debug_daemon_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 113 chromeos/dbus/fake_debug_daemon_client.cc base::Bind(callback, false, "")); base 22 chromeos/dbus/fake_debug_daemon_client.h virtual void GetDebugLogs(base::PlatformFile file, base 56 chromeos/dbus/fake_gsm_sms_client.cc base::DictionaryValue* dictionary = NULL; base 61 chromeos/dbus/fake_gsm_sms_client.cc base::DictionaryValue empty_dictionary; base 81 chromeos/dbus/fake_gsm_sms_client.cc base::MessageLoop::current()->PostTask( base 83 chromeos/dbus/fake_gsm_sms_client.cc base::Bind(&FakeGsmSMSClient::PushTestMessageChain, base 94 chromeos/dbus/fake_gsm_sms_client.cc base::MessageLoop::current()->PostDelayedTask( base 96 chromeos/dbus/fake_gsm_sms_client.cc base::Bind(&FakeGsmSMSClient::PushTestMessageChain, base 98 chromeos/dbus/fake_gsm_sms_client.cc base::TimeDelta::FromSeconds(kSmsMessageDelaySeconds)); base 104 chromeos/dbus/fake_gsm_sms_client.cc base::DictionaryValue* message = new base::DictionaryValue; base 59 chromeos/dbus/fake_gsm_sms_client.h base::ListValue message_list_; base 64 chromeos/dbus/fake_gsm_sms_client.h base::WeakPtrFactory<FakeGsmSMSClient> weak_ptr_factory_; base 96 chromeos/dbus/fake_nfc_adapter_client.cc properties_.reset(new Properties(base::Bind( base 98 chromeos/dbus/fake_nfc_adapter_client.cc base::Unretained(this), base 102 chromeos/dbus/fake_nfc_adapter_client.cc second_properties_.reset(new Properties(base::Bind( base 104 chromeos/dbus/fake_nfc_adapter_client.cc base::Unretained(this), base 144 chromeos/dbus/fake_nfc_adapter_client.cc const base::Closure& callback, base 187 chromeos/dbus/fake_nfc_adapter_client.cc const base::Closure& callback, base 52 chromeos/dbus/fake_nfc_adapter_client.h const base::Closure& callback, base 56 chromeos/dbus/fake_nfc_adapter_client.h const base::Closure& callback, base 58 chromeos/dbus/fake_nfc_device_client.cc base::Bind(&FakeNfcDeviceClient::OnPropertyChanged, base 59 chromeos/dbus/fake_nfc_device_client.cc base::Unretained(this), base 95 chromeos/dbus/fake_nfc_device_client.cc const base::DictionaryValue& attributes, base 96 chromeos/dbus/fake_nfc_device_client.cc const base::Closure& callback, base 120 chromeos/dbus/fake_nfc_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 122 chromeos/dbus/fake_nfc_device_client.cc base::Bind(&FakeNfcDeviceClient::MakeDeviceVisible, base 123 chromeos/dbus/fake_nfc_device_client.cc base::Unretained(this), base 125 chromeos/dbus/fake_nfc_device_client.cc base::TimeDelta::FromMilliseconds(visibility_delay)); base 199 chromeos/dbus/fake_nfc_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 201 chromeos/dbus/fake_nfc_device_client.cc base::Bind(&FakeNfcDeviceClient::HandleSimulationTimeout, base 202 chromeos/dbus/fake_nfc_device_client.cc base::Unretained(this)), base 203 chromeos/dbus/fake_nfc_device_client.cc base::TimeDelta::FromMilliseconds(simulation_timeout_)); base 208 chromeos/dbus/fake_nfc_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 210 chromeos/dbus/fake_nfc_device_client.cc base::Bind(&FakeNfcDeviceClient::MakeRecordsVisible, base 211 chromeos/dbus/fake_nfc_device_client.cc base::Unretained(this)), base 212 chromeos/dbus/fake_nfc_device_client.cc base::TimeDelta::FromMilliseconds(record_push_delay)); base 229 chromeos/dbus/fake_nfc_device_client.cc base::MessageLoop::current()->PostDelayedTask( base 231 chromeos/dbus/fake_nfc_device_client.cc base::Bind(&FakeNfcDeviceClient::HandleSimulationTimeout, base 232 chromeos/dbus/fake_nfc_device_client.cc base::Unretained(this)), base 233 chromeos/dbus/fake_nfc_device_client.cc base::TimeDelta::FromMilliseconds(simulation_timeout_)); base 52 chromeos/dbus/fake_nfc_device_client.h const base::DictionaryValue& attributes, base 53 chromeos/dbus/fake_nfc_device_client.h const base::Closure& callback, base 43 chromeos/dbus/fake_nfc_manager_client.cc properties_.reset(new Properties(base::Bind( base 44 chromeos/dbus/fake_nfc_manager_client.cc &FakeNfcManagerClient::OnPropertyChanged, base::Unretained(this)))); base 19 chromeos/dbus/fake_nfc_record_client.cc std::string GetStringValue(const base::DictionaryValue& dictionary, base 32 chromeos/dbus/fake_nfc_record_client.cc double GetDoubleValue(const base::DictionaryValue& dictionary, base 86 chromeos/dbus/fake_nfc_record_client.cc base::Bind(&FakeNfcRecordClient::OnPropertyChanged, base 87 chromeos/dbus/fake_nfc_record_client.cc base::Unretained(this), base 90 chromeos/dbus/fake_nfc_record_client.cc base::Bind(&FakeNfcRecordClient::OnPropertiesReceived, base 91 chromeos/dbus/fake_nfc_record_client.cc base::Unretained(this), base 95 chromeos/dbus/fake_nfc_record_client.cc base::Bind(&FakeNfcRecordClient::OnPropertyChanged, base 96 chromeos/dbus/fake_nfc_record_client.cc base::Unretained(this), base 99 chromeos/dbus/fake_nfc_record_client.cc base::Bind(&FakeNfcRecordClient::OnPropertiesReceived, base 100 chromeos/dbus/fake_nfc_record_client.cc base::Unretained(this), base 104 chromeos/dbus/fake_nfc_record_client.cc base::Bind(&FakeNfcRecordClient::OnPropertyChanged, base 105 chromeos/dbus/fake_nfc_record_client.cc base::Unretained(this), base 108 chromeos/dbus/fake_nfc_record_client.cc base::Bind(&FakeNfcRecordClient::OnPropertiesReceived, base 109 chromeos/dbus/fake_nfc_record_client.cc base::Unretained(this), base 113 chromeos/dbus/fake_nfc_record_client.cc base::Bind(&FakeNfcRecordClient::OnPropertyChanged, base 114 chromeos/dbus/fake_nfc_record_client.cc base::Unretained(this), base 280 chromeos/dbus/fake_nfc_record_client.cc const base::DictionaryValue& attributes) { base 64 chromeos/dbus/fake_nfc_record_client.h bool WriteTagRecord(const base::DictionaryValue& attributes); base 56 chromeos/dbus/fake_nfc_tag_client.cc base::Bind(&FakeNfcTagClient::OnPropertyChanged, base 57 chromeos/dbus/fake_nfc_tag_client.cc base::Unretained(this), base 93 chromeos/dbus/fake_nfc_tag_client.cc const base::DictionaryValue& attributes, base 94 chromeos/dbus/fake_nfc_tag_client.cc const base::Closure& callback, base 126 chromeos/dbus/fake_nfc_tag_client.cc base::MessageLoop::current()->PostDelayedTask( base 128 chromeos/dbus/fake_nfc_tag_client.cc base::Bind(&FakeNfcTagClient::MakeTagVisible, base 129 chromeos/dbus/fake_nfc_tag_client.cc base::Unretained(this)), base 130 chromeos/dbus/fake_nfc_tag_client.cc base::TimeDelta::FromMilliseconds(visibility_delay)); base 211 chromeos/dbus/fake_nfc_tag_client.cc base::MessageLoop::current()->PostDelayedTask( base 213 chromeos/dbus/fake_nfc_tag_client.cc base::Bind(&FakeNfcTagClient::HandleSimulationTimeout, base 214 chromeos/dbus/fake_nfc_tag_client.cc base::Unretained(this)), base 215 chromeos/dbus/fake_nfc_tag_client.cc base::TimeDelta::FromMilliseconds(simulation_timeout_)); base 50 chromeos/dbus/fake_nfc_tag_client.h const base::DictionaryValue& attributes, base 51 chromeos/dbus/fake_nfc_tag_client.h const base::Closure& callback, base 54 chromeos/dbus/fake_power_manager_client.cc base::Closure FakePowerManagerClient::GetSuspendReadinessCallback() { base 55 chromeos/dbus/fake_power_manager_client.cc return base::Closure(); base 97 chromeos/dbus/fake_power_manager_client.cc base::Time wall_time = base 98 chromeos/dbus/fake_power_manager_client.cc base::Time::FromInternalValue(suspend_state.wall_time()); base 63 chromeos/dbus/fake_power_manager_client.h virtual base::Closure GetSuspendReadinessCallback() OVERRIDE; base 82 chromeos/dbus/fake_power_manager_client.h base::Time last_suspend_wall_time_; base 76 chromeos/dbus/fake_session_manager_client.cc base::MessageLoop::current()->PostTask( base 77 chromeos/dbus/fake_session_manager_client.cc FROM_HERE, base::Bind(callback, user_sessions_, true)); base 82 chromeos/dbus/fake_session_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 83 chromeos/dbus/fake_session_manager_client.cc base::Bind(callback, device_policy_)); base 89 chromeos/dbus/fake_session_manager_client.cc base::MessageLoop::current()->PostTask( base 90 chromeos/dbus/fake_session_manager_client.cc FROM_HERE, base::Bind(callback, user_policies_[username])); base 101 chromeos/dbus/fake_session_manager_client.cc base::MessageLoop::current()->PostTask( base 103 chromeos/dbus/fake_session_manager_client.cc base::Bind(callback, device_local_account_policy_[account_id])); base 110 chromeos/dbus/fake_session_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(callback, true)); base 120 chromeos/dbus/fake_session_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(callback, true)); base 128 chromeos/dbus/fake_session_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(callback, true)); base 149 chromeos/dbus/fake_session_manager_client.cc return it == user_policies_.end() ? base::EmptyString() : it->second; base 162 chromeos/dbus/fake_session_manager_client.cc : base::EmptyString(); base 36 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask( base 38 chromeos/dbus/fake_shill_device_client.cc base::Bind(error_callback, shill::kErrorResultNotFound, error_message)); base 72 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask( base 74 chromeos/dbus/fake_shill_device_client.cc base::Bind(&FakeShillDeviceClient::PassStubDeviceProperties, base 87 chromeos/dbus/fake_shill_device_client.cc const base::Value& value, base 88 chromeos/dbus/fake_shill_device_client.cc const base::Closure& callback, base 90 chromeos/dbus/fake_shill_device_client.cc base::DictionaryValue* device_properties = NULL; base 97 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask( base 99 chromeos/dbus/fake_shill_device_client.cc base::Bind(&FakeShillDeviceClient::NotifyObserversPropertyChanged, base 101 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 108 chromeos/dbus/fake_shill_device_client.cc base::DictionaryValue* device_properties = NULL; base 122 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 123 chromeos/dbus/fake_shill_device_client.cc base::Bind(callback, base 131 chromeos/dbus/fake_shill_device_client.cc const base::Closure& callback, base 137 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 142 chromeos/dbus/fake_shill_device_client.cc const base::Closure& callback, base 148 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 154 chromeos/dbus/fake_shill_device_client.cc const base::Closure& callback, base 160 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 166 chromeos/dbus/fake_shill_device_client.cc const base::Closure& callback, base 172 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 177 chromeos/dbus/fake_shill_device_client.cc const base::Closure& callback, base 183 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 188 chromeos/dbus/fake_shill_device_client.cc const base::Closure& callback, base 194 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 198 chromeos/dbus/fake_shill_device_client.cc const base::Closure& callback, base 204 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 220 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask( base 222 chromeos/dbus/fake_shill_device_client.cc base::Bind(error_callback, base 229 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 230 chromeos/dbus/fake_shill_device_client.cc base::Bind(callback, result)); base 245 chromeos/dbus/fake_shill_device_client.cc base::DictionaryValue* properties = GetDeviceProperties(device_path); base 247 chromeos/dbus/fake_shill_device_client.cc base::Value::CreateStringValue(type)); base 249 chromeos/dbus/fake_shill_device_client.cc shill::kDBusObjectProperty, base::Value::CreateStringValue(object_path)); base 252 chromeos/dbus/fake_shill_device_client.cc base::Value::CreateStringValue(modemmanager::kModemManager1)); base 255 chromeos/dbus/fake_shill_device_client.cc new base::FundamentalValue(false)); base 275 chromeos/dbus/fake_shill_device_client.cc const base::Value& value) { base 279 chromeos/dbus/fake_shill_device_client.cc base::Bind(&base::DoNothing), base 280 chromeos/dbus/fake_shill_device_client.cc base::Bind(&ErrorFunction, device_path)); base 285 chromeos/dbus/fake_shill_device_client.cc for (base::DictionaryValue::Iterator iter(stub_devices_); base 287 chromeos/dbus/fake_shill_device_client.cc const base::DictionaryValue* properties = NULL; base 303 chromeos/dbus/fake_shill_device_client.cc const base::DictionaryValue* device_properties = NULL; base 306 chromeos/dbus/fake_shill_device_client.cc base::DictionaryValue empty_dictionary; base 317 chromeos/dbus/fake_shill_device_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 318 chromeos/dbus/fake_shill_device_client.cc base::Bind(callback, status)); base 324 chromeos/dbus/fake_shill_device_client.cc base::DictionaryValue* dict = NULL; base 330 chromeos/dbus/fake_shill_device_client.cc base::Value* value = NULL; base 341 chromeos/dbus/fake_shill_device_client.cc base::DictionaryValue* FakeShillDeviceClient::GetDeviceProperties( base 343 chromeos/dbus/fake_shill_device_client.cc base::DictionaryValue* properties = NULL; base 346 chromeos/dbus/fake_shill_device_client.cc properties = new base::DictionaryValue; base 39 chromeos/dbus/fake_shill_device_client.h const base::Value& value, base 40 chromeos/dbus/fake_shill_device_client.h const base::Closure& callback, base 52 chromeos/dbus/fake_shill_device_client.h const base::Closure& callback, base 56 chromeos/dbus/fake_shill_device_client.h const base::Closure& callback, base 61 chromeos/dbus/fake_shill_device_client.h const base::Closure& callback, base 66 chromeos/dbus/fake_shill_device_client.h const base::Closure& callback, base 70 chromeos/dbus/fake_shill_device_client.h const base::Closure& callback, base 74 chromeos/dbus/fake_shill_device_client.h const base::Closure& callback, base 77 chromeos/dbus/fake_shill_device_client.h const base::Closure& callback, base 96 chromeos/dbus/fake_shill_device_client.h const base::Value& value) OVERRIDE; base 114 chromeos/dbus/fake_shill_device_client.h base::DictionaryValue* GetDeviceProperties(const std::string& device_path); base 118 chromeos/dbus/fake_shill_device_client.h base::DictionaryValue stub_devices_; base 126 chromeos/dbus/fake_shill_device_client.h base::WeakPtrFactory<FakeShillDeviceClient> weak_ptr_factory_; base 47 chromeos/dbus/fake_shill_ipconfig_client.cc const base::DictionaryValue* dict = NULL; base 51 chromeos/dbus/fake_shill_ipconfig_client.cc base::MessageLoop::current()->PostTask( base 52 chromeos/dbus/fake_shill_ipconfig_client.cc FROM_HERE, base::Bind(&FakeShillIPConfigClient::PassProperties, base 61 chromeos/dbus/fake_shill_ipconfig_client.cc const base::Value& value, base 63 chromeos/dbus/fake_shill_ipconfig_client.cc base::DictionaryValue* dict = NULL; base 70 chromeos/dbus/fake_shill_ipconfig_client.cc base::DictionaryValue* dvalue = new base::DictionaryValue; base 75 chromeos/dbus/fake_shill_ipconfig_client.cc base::MessageLoop::current()->PostTask( base 76 chromeos/dbus/fake_shill_ipconfig_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS)); base 83 chromeos/dbus/fake_shill_ipconfig_client.cc base::MessageLoop::current()->PostTask( base 84 chromeos/dbus/fake_shill_ipconfig_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS)); base 89 chromeos/dbus/fake_shill_ipconfig_client.cc base::MessageLoop::current()->PostTask( base 90 chromeos/dbus/fake_shill_ipconfig_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS)); base 94 chromeos/dbus/fake_shill_ipconfig_client.cc const base::DictionaryValue* values, base 36 chromeos/dbus/fake_shill_ipconfig_client.h const base::Value& value, base 46 chromeos/dbus/fake_shill_ipconfig_client.h void PassProperties(const base::DictionaryValue* values, base 50 chromeos/dbus/fake_shill_ipconfig_client.h base::DictionaryValue ipconfigs_; base 54 chromeos/dbus/fake_shill_ipconfig_client.h base::WeakPtrFactory<FakeShillIPConfigClient> weak_ptr_factory_; base 33 chromeos/dbus/fake_shill_manager_client.cc explicit ValueEquals(const base::Value* first) : first_(first) {} base 34 chromeos/dbus/fake_shill_manager_client.cc bool operator()(const base::Value* second) const { base 37 chromeos/dbus/fake_shill_manager_client.cc const base::Value* first_; base 44 chromeos/dbus/fake_shill_manager_client.cc const base::ListValue* service_list_in, base 50 chromeos/dbus/fake_shill_manager_client.cc for (base::ListValue::const_iterator iter = service_list_in->begin(); base 55 chromeos/dbus/fake_shill_manager_client.cc const base::DictionaryValue* properties = base 93 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(shill::kStatePortal)); base 126 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 127 chromeos/dbus/fake_shill_manager_client.cc FROM_HERE, base::Bind( base 135 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 136 chromeos/dbus/fake_shill_manager_client.cc FROM_HERE, base::Bind( base 143 chromeos/dbus/fake_shill_manager_client.cc const base::Value& value, base 144 chromeos/dbus/fake_shill_manager_client.cc const base::Closure& callback, base 148 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 152 chromeos/dbus/fake_shill_manager_client.cc const base::Closure& callback, base 163 chromeos/dbus/fake_shill_manager_client.cc device_path, shill::kScanningProperty, base::FundamentalValue(true)); base 165 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostDelayedTask( base 167 chromeos/dbus/fake_shill_manager_client.cc base::Bind(&FakeShillManagerClient::ScanCompleted, base 171 chromeos/dbus/fake_shill_manager_client.cc base::TimeDelta::FromSeconds(interactive_delay_)); base 176 chromeos/dbus/fake_shill_manager_client.cc const base::Closure& callback, base 178 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* enabled_list = NULL; base 181 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 182 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 184 chromeos/dbus/fake_shill_manager_client.cc base::Bind(error_callback, "StubError", "Property not found")); base 187 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostDelayedTask( base 189 chromeos/dbus/fake_shill_manager_client.cc base::Bind(&FakeShillManagerClient::SetTechnologyEnabled, base 194 chromeos/dbus/fake_shill_manager_client.cc base::TimeDelta::FromSeconds(interactive_delay_)); base 199 chromeos/dbus/fake_shill_manager_client.cc const base::Closure& callback, base 201 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* enabled_list = NULL; base 204 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 206 chromeos/dbus/fake_shill_manager_client.cc base::Bind(error_callback, "StubError", "Property not found")); base 209 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostDelayedTask( base 211 chromeos/dbus/fake_shill_manager_client.cc base::Bind(&FakeShillManagerClient::SetTechnologyEnabled, base 216 chromeos/dbus/fake_shill_manager_client.cc base::TimeDelta::FromSeconds(interactive_delay_)); base 220 chromeos/dbus/fake_shill_manager_client.cc const base::DictionaryValue& properties, base 233 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 234 chromeos/dbus/fake_shill_manager_client.cc FROM_HERE, base::Bind(callback, dbus::ObjectPath())); base 247 chromeos/dbus/fake_shill_manager_client.cc const base::DictionaryValue* existing_properties = base 259 chromeos/dbus/fake_shill_manager_client.cc scoped_ptr<base::DictionaryValue> merged_properties( base 264 chromeos/dbus/fake_shill_manager_client.cc for (base::DictionaryValue::Iterator iter(*merged_properties); base 278 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 279 chromeos/dbus/fake_shill_manager_client.cc FROM_HERE, base::Bind(callback, dbus::ObjectPath(service_path))); base 284 chromeos/dbus/fake_shill_manager_client.cc const base::DictionaryValue& properties, base 296 chromeos/dbus/fake_shill_manager_client.cc const base::DictionaryValue& properties, base 299 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 300 chromeos/dbus/fake_shill_manager_client.cc FROM_HERE, base::Bind(callback, dbus::ObjectPath())); base 307 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(callback, true)); base 315 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 316 chromeos/dbus/fake_shill_manager_client.cc FROM_HERE, base::Bind(callback, "encrypted_credentials")); base 324 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 325 chromeos/dbus/fake_shill_manager_client.cc FROM_HERE, base::Bind(callback, "encrypted_data")); base 329 chromeos/dbus/fake_shill_manager_client.cc const base::Closure& callback, base 341 chromeos/dbus/fake_shill_manager_client.cc base::Value::CreateStringValue(device_path))) { base 347 chromeos/dbus/fake_shill_manager_client.cc base::StringValue device_path_value(device_path); base 362 chromeos/dbus/fake_shill_manager_client.cc AppendIfNotPresent(base::Value::CreateStringValue(type))) { base 368 chromeos/dbus/fake_shill_manager_client.cc AppendIfNotPresent(base::Value::CreateStringValue(type))) { base 375 chromeos/dbus/fake_shill_manager_client.cc base::StringValue type_value(type); base 392 chromeos/dbus/fake_shill_manager_client.cc AppendIfNotPresent(base::Value::CreateStringValue(type))) { base 398 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(type), NULL)) { base 407 chromeos/dbus/fake_shill_manager_client.cc const base::DictionaryValue& network) { base 408 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* list_value = NULL; base 411 chromeos/dbus/fake_shill_manager_client.cc list_value = new base::ListValue; base 420 chromeos/dbus/fake_shill_manager_client.cc ->AppendIfNotPresent(new base::StringValue(profile_path))) { base 430 chromeos/dbus/fake_shill_manager_client.cc const base::Value& value) { base 432 chromeos/dbus/fake_shill_manager_client.cc base::Bind(&base::DoNothing), base::Bind(&LogErrorCallback)); base 440 chromeos/dbus/fake_shill_manager_client.cc base::Value::CreateStringValue(service_path)); base 444 chromeos/dbus/fake_shill_manager_client.cc base::Value::CreateStringValue(service_path))) { base 453 chromeos/dbus/fake_shill_manager_client.cc base::StringValue service_path_value(service_path); base 481 chromeos/dbus/fake_shill_manager_client.cc base::StringValue default_service_value(default_service_); base 494 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* service_list = GetListProperty(shill::kServicesProperty); base 498 chromeos/dbus/fake_shill_manager_client.cc base::StringValue empty_value(""); base 523 chromeos/dbus/fake_shill_manager_client.cc const base::DictionaryValue* properties = base 536 chromeos/dbus/fake_shill_manager_client.cc base::StringValue default_service_value(default_service_); base 597 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(shill::kSecurityWep)); base 607 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(shill::kSecurityPsk)); base 609 chromeos/dbus/fake_shill_manager_client.cc base::FundamentalValue strength_value(80); base 623 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(shill::kSecurityNone)); base 625 chromeos/dbus/fake_shill_manager_client.cc base::Bind(&UpdatePortaledWifiState, base 629 chromeos/dbus/fake_shill_manager_client.cc base::FundamentalValue(true)); base 647 chromeos/dbus/fake_shill_manager_client.cc "wimax1", shill::kConnectableProperty, base::FundamentalValue(true)); base 663 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(shill::kCarrierSprint)); base 670 chromeos/dbus/fake_shill_manager_client.cc base::StringValue technology_value(shill::kNetworkTechnologyGsm); base 678 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(shill::kActivationStateActivated)); base 681 chromeos/dbus/fake_shill_manager_client.cc base::FundamentalValue(true)); base 686 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(shill::kActivationStateNotActivated)); base 691 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(shill::kRoamingStateHome)); base 701 chromeos/dbus/fake_shill_manager_client.cc base::DictionaryValue provider_properties; base 733 chromeos/dbus/fake_shill_manager_client.cc base::StringValue(service_path), NULL); base 735 chromeos/dbus/fake_shill_manager_client.cc 0, base::Value::CreateStringValue(service_path)); base 742 chromeos/dbus/fake_shill_manager_client.cc scoped_ptr<base::DictionaryValue> stub_properties( base 765 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask( base 767 chromeos/dbus/fake_shill_manager_client.cc base::Bind(&FakeShillManagerClient::NotifyObserversPropertyChanged, base 776 chromeos/dbus/fake_shill_manager_client.cc scoped_ptr<base::ListValue> services(GetEnabledServiceList(property)); base 783 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* devices = NULL; base 792 chromeos/dbus/fake_shill_manager_client.cc base::Value* value = NULL; base 802 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* FakeShillManagerClient::GetListProperty( base 804 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* list_property = NULL; base 807 chromeos/dbus/fake_shill_manager_client.cc list_property = new base::ListValue; base 817 chromeos/dbus/fake_shill_manager_client.cc const base::ListValue* technologies; base 820 chromeos/dbus/fake_shill_manager_client.cc base::StringValue type_value(type); base 829 chromeos/dbus/fake_shill_manager_client.cc const base::Closure& callback, base 831 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* enabled_list = base 834 chromeos/dbus/fake_shill_manager_client.cc enabled_list->AppendIfNotPresent(new base::StringValue(type)); base 836 chromeos/dbus/fake_shill_manager_client.cc enabled_list->Remove(base::StringValue(type), NULL); base 839 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 845 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* FakeShillManagerClient::GetEnabledServiceList( base 847 chromeos/dbus/fake_shill_manager_client.cc base::ListValue* new_service_list = new base::ListValue; base 848 chromeos/dbus/fake_shill_manager_client.cc const base::ListValue* service_list; base 852 chromeos/dbus/fake_shill_manager_client.cc for (base::ListValue::const_iterator iter = service_list->begin(); base 857 chromeos/dbus/fake_shill_manager_client.cc const base::DictionaryValue* properties = base 875 chromeos/dbus/fake_shill_manager_client.cc const base::Closure& callback) { base 880 chromeos/dbus/fake_shill_manager_client.cc base::FundamentalValue(false)); base 884 chromeos/dbus/fake_shill_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 892 chromeos/dbus/fake_shill_manager_client.cc base::StringPairs string_pairs; base 893 chromeos/dbus/fake_shill_manager_client.cc base::SplitStringIntoKeyValuePairs(option_str, '=', ',', &string_pairs); base 894 chromeos/dbus/fake_shill_manager_client.cc for (base::StringPairs::iterator iter = string_pairs.begin(); base 912 chromeos/dbus/fake_shill_manager_client.cc base::StringToInt(arg1, &seconds); base 37 chromeos/dbus/fake_shill_manager_client.h const base::Value& value, base 38 chromeos/dbus/fake_shill_manager_client.h const base::Closure& callback, base 41 chromeos/dbus/fake_shill_manager_client.h const base::Closure& callback, base 45 chromeos/dbus/fake_shill_manager_client.h const base::Closure& callback, base 49 chromeos/dbus/fake_shill_manager_client.h const base::Closure& callback, base 52 chromeos/dbus/fake_shill_manager_client.h const base::DictionaryValue& properties, base 57 chromeos/dbus/fake_shill_manager_client.h const base::DictionaryValue& properties, base 61 chromeos/dbus/fake_shill_manager_client.h const base::DictionaryValue& properties, base 78 chromeos/dbus/fake_shill_manager_client.h const base::Closure& callback, base 91 chromeos/dbus/fake_shill_manager_client.h const base::DictionaryValue& network) OVERRIDE; base 95 chromeos/dbus/fake_shill_manager_client.h const base::Value& value) OVERRIDE; base 114 chromeos/dbus/fake_shill_manager_client.h base::ListValue* GetListProperty(const std::string& property); base 117 chromeos/dbus/fake_shill_manager_client.h const base::Closure& callback, base 119 chromeos/dbus/fake_shill_manager_client.h base::ListValue* GetEnabledServiceList(const std::string& property) const; base 121 chromeos/dbus/fake_shill_manager_client.h const base::Closure& callback); base 134 chromeos/dbus/fake_shill_manager_client.h base::DictionaryValue stub_properties_; base 137 chromeos/dbus/fake_shill_manager_client.h base::DictionaryValue stub_geo_networks_; base 149 chromeos/dbus/fake_shill_manager_client.h base::WeakPtrFactory<FakeShillManagerClient> weak_ptr_factory_; base 25 chromeos/dbus/fake_shill_profile_client.cc base::DictionaryValue entries; base 26 chromeos/dbus/fake_shill_profile_client.cc base::DictionaryValue properties; base 33 chromeos/dbus/fake_shill_profile_client.cc const base::DictionaryValue* dictionary) { base 67 chromeos/dbus/fake_shill_profile_client.cc scoped_ptr<base::DictionaryValue> properties(profile->properties.DeepCopy()); base 68 chromeos/dbus/fake_shill_profile_client.cc base::ListValue* entry_paths = new base::ListValue; base 70 chromeos/dbus/fake_shill_profile_client.cc for (base::DictionaryValue::Iterator it(profile->entries); !it.IsAtEnd(); base 75 chromeos/dbus/fake_shill_profile_client.cc base::MessageLoop::current()->PostTask( base 77 chromeos/dbus/fake_shill_profile_client.cc base::Bind(&PassDictionary, callback, base::Owned(properties.release()))); base 89 chromeos/dbus/fake_shill_profile_client.cc base::DictionaryValue* entry = NULL; base 96 chromeos/dbus/fake_shill_profile_client.cc base::MessageLoop::current()->PostTask( base 98 chromeos/dbus/fake_shill_profile_client.cc base::Bind(&PassDictionary, callback, base::Owned(entry->DeepCopy()))); base 103 chromeos/dbus/fake_shill_profile_client.cc const base::Closure& callback, base 114 chromeos/dbus/fake_shill_profile_client.cc base::StringValue profile_path_value(""); base 120 chromeos/dbus/fake_shill_profile_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 142 chromeos/dbus/fake_shill_profile_client.cc const base::DictionaryValue& properties) { base 163 chromeos/dbus/fake_shill_profile_client.cc const base::DictionaryValue* service_properties = base 178 chromeos/dbus/fake_shill_profile_client.cc base::StringValue profile_path_value(profile_path); base 44 chromeos/dbus/fake_shill_profile_client.h const base::Closure& callback, base 53 chromeos/dbus/fake_shill_profile_client.h const base::DictionaryValue& properties) OVERRIDE; base 28 chromeos/dbus/fake_shill_service_client.cc base::ListValue* value) { base 35 chromeos/dbus/fake_shill_service_client.cc const base::DictionaryValue* properties) { base 80 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* nested_dict = NULL; base 81 chromeos/dbus/fake_shill_service_client.cc scoped_ptr<base::DictionaryValue> result_properties; base 93 chromeos/dbus/fake_shill_service_client.cc result_properties.reset(new base::DictionaryValue); base 97 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask( base 99 chromeos/dbus/fake_shill_service_client.cc base::Bind(&PassStubServiceProperties, base 102 chromeos/dbus/fake_shill_service_client.cc base::Owned(result_properties.release()))); base 107 chromeos/dbus/fake_shill_service_client.cc const base::Value& value, base 108 chromeos/dbus/fake_shill_service_client.cc const base::Closure& callback, base 115 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 120 chromeos/dbus/fake_shill_service_client.cc const base::DictionaryValue& properties, base 121 chromeos/dbus/fake_shill_service_client.cc const base::Closure& callback, base 123 chromeos/dbus/fake_shill_service_client.cc for (base::DictionaryValue::Iterator iter(properties); base 131 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 137 chromeos/dbus/fake_shill_service_client.cc const base::Closure& callback, base 139 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* dict = NULL; base 147 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 155 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* dict = NULL; base 161 chromeos/dbus/fake_shill_service_client.cc scoped_ptr<base::ListValue> results(new base::ListValue); base 168 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask( base 170 chromeos/dbus/fake_shill_service_client.cc base::Bind(&PassStubListValue, base 171 chromeos/dbus/fake_shill_service_client.cc callback, base::Owned(results.release()))); base 175 chromeos/dbus/fake_shill_service_client.cc const base::Closure& callback, base 178 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* service_properties = NULL; base 192 chromeos/dbus/fake_shill_service_client.cc base::StringValue associating_value(shill::kStateAssociation); base 198 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostDelayedTask( base 200 chromeos/dbus/fake_shill_service_client.cc base::Bind(&FakeShillServiceClient::ContinueConnect, base 203 chromeos/dbus/fake_shill_service_client.cc base::TimeDelta::FromSeconds(GetInteractiveDelay())); base 209 chromeos/dbus/fake_shill_service_client.cc const base::Closure& callback, base 211 chromeos/dbus/fake_shill_service_client.cc base::Value* service; base 217 chromeos/dbus/fake_shill_service_client.cc base::StringValue idle_value(shill::kStateIdle); base 218 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostDelayedTask( base 220 chromeos/dbus/fake_shill_service_client.cc base::Bind(&FakeShillServiceClient::SetProperty, base 225 chromeos/dbus/fake_shill_service_client.cc base::Bind(&base::DoNothing), base 227 chromeos/dbus/fake_shill_service_client.cc base::TimeDelta::FromSeconds(GetInteractiveDelay())); base 232 chromeos/dbus/fake_shill_service_client.cc const base::Closure& callback, base 234 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 240 chromeos/dbus/fake_shill_service_client.cc const base::Closure& callback, base 242 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* service_properties = base 250 chromeos/dbus/fake_shill_service_client.cc base::StringValue(shill::kActivationStateActivating)); base 252 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostDelayedTask( base 254 chromeos/dbus/fake_shill_service_client.cc base::Bind(&FakeShillServiceClient::SetCellularActivated, base 258 chromeos/dbus/fake_shill_service_client.cc base::TimeDelta::FromSeconds(GetInteractiveDelay())); base 260 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 265 chromeos/dbus/fake_shill_service_client.cc const base::Closure& callback, base 267 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 275 chromeos/dbus/fake_shill_service_client.cc scoped_ptr<base::DictionaryValue> result_properties( base 276 chromeos/dbus/fake_shill_service_client.cc new base::DictionaryValue); base 277 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* service_properties = base 291 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask( base 293 chromeos/dbus/fake_shill_service_client.cc base::Bind(&PassStubServiceProperties, base 296 chromeos/dbus/fake_shill_service_client.cc base::Owned(result_properties.release()))); base 329 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* properties = base 335 chromeos/dbus/fake_shill_service_client.cc base::Value::CreateStringValue(name)); base 338 chromeos/dbus/fake_shill_service_client.cc base::Value::CreateStringValue(device_path)); base 341 chromeos/dbus/fake_shill_service_client.cc base::Value::CreateStringValue(type)); base 344 chromeos/dbus/fake_shill_service_client.cc base::Value::CreateStringValue(state)); base 348 chromeos/dbus/fake_shill_service_client.cc base::Value::CreateStringValue(ipconfig_path)); base 365 chromeos/dbus/fake_shill_service_client.cc const base::Value& value) { base 366 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* dict = NULL; base 373 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue new_properties; base 381 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* provider = new base::DictionaryValue; base 403 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask( base 404 chromeos/dbus/fake_shill_service_client.cc FROM_HERE, base::Bind(&CallSortManagerServices)); base 408 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask( base 410 chromeos/dbus/fake_shill_service_client.cc base::Bind(&FakeShillServiceClient::NotifyObserversPropertyChanged, base 416 chromeos/dbus/fake_shill_service_client.cc const base::DictionaryValue* FakeShillServiceClient::GetServiceProperties( base 418 chromeos/dbus/fake_shill_service_client.cc const base::DictionaryValue* properties = NULL; base 432 chromeos/dbus/fake_shill_service_client.cc const base::Closure& behavior) { base 439 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* dict = NULL; base 445 chromeos/dbus/fake_shill_service_client.cc base::Value* value = NULL; base 456 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* FakeShillServiceClient::GetModifiableServiceProperties( base 458 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* properties = NULL; base 462 chromeos/dbus/fake_shill_service_client.cc properties = new base::DictionaryValue; base 481 chromeos/dbus/fake_shill_service_client.cc const base::DictionaryValue* service_properties = GetServiceProperties( base 490 chromeos/dbus/fake_shill_service_client.cc for (base::DictionaryValue::Iterator iter(stub_services_); base 495 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* properties; base 505 chromeos/dbus/fake_shill_service_client.cc base::Value::CreateStringValue(shill::kStateIdle)); base 514 chromeos/dbus/fake_shill_service_client.cc base::StringValue(shill::kActivationStateActivated), base 515 chromeos/dbus/fake_shill_service_client.cc base::Bind(&base::DoNothing), base 519 chromeos/dbus/fake_shill_service_client.cc base::FundamentalValue(true), base 520 chromeos/dbus/fake_shill_service_client.cc base::Bind(&base::DoNothing), base 527 chromeos/dbus/fake_shill_service_client.cc base::DictionaryValue* service_properties = NULL; base 534 chromeos/dbus/fake_shill_service_client.cc const base::Closure& custom_connect_behavior = base 548 chromeos/dbus/fake_shill_service_client.cc base::StringValue(shill::kStateFailure)); base 549 chromeos/dbus/fake_shill_service_client.cc base::MessageLoop::current()->PostTask( base 551 chromeos/dbus/fake_shill_service_client.cc base::Bind( base 552 chromeos/dbus/fake_shill_service_client.cc base::IgnoreResult(&FakeShillServiceClient::SetServiceProperty), base 556 chromeos/dbus/fake_shill_service_client.cc base::StringValue(shill::kErrorBadPassphrase))); base 561 chromeos/dbus/fake_shill_service_client.cc base::StringValue(shill::kStateOnline)); base 40 chromeos/dbus/fake_shill_service_client.h const base::Value& value, base 41 chromeos/dbus/fake_shill_service_client.h const base::Closure& callback, base 44 chromeos/dbus/fake_shill_service_client.h const base::DictionaryValue& properties, base 45 chromeos/dbus/fake_shill_service_client.h const base::Closure& callback, base 49 chromeos/dbus/fake_shill_service_client.h const base::Closure& callback, base 56 chromeos/dbus/fake_shill_service_client.h const base::Closure& callback, base 59 chromeos/dbus/fake_shill_service_client.h const base::Closure& callback, base 62 chromeos/dbus/fake_shill_service_client.h const base::Closure& callback, base 67 chromeos/dbus/fake_shill_service_client.h const base::Closure& callback, base 71 chromeos/dbus/fake_shill_service_client.h const base::Closure& callback, base 95 chromeos/dbus/fake_shill_service_client.h const base::Value& value) OVERRIDE; base 96 chromeos/dbus/fake_shill_service_client.h virtual const base::DictionaryValue* GetServiceProperties( base 100 chromeos/dbus/fake_shill_service_client.h const base::Closure& behavior) OVERRIDE; base 107 chromeos/dbus/fake_shill_service_client.h base::DictionaryValue* GetModifiableServiceProperties( base 116 chromeos/dbus/fake_shill_service_client.h base::DictionaryValue stub_services_; base 121 chromeos/dbus/fake_shill_service_client.h std::map<std::string, base::Closure> connect_behavior_; base 128 chromeos/dbus/fake_shill_service_client.h base::WeakPtrFactory<FakeShillServiceClient> weak_ptr_factory_; base 34 chromeos/dbus/fake_sms_client.cc base::DictionaryValue* sms = new base::DictionaryValue(); base 42 chromeos/dbus/fake_sms_client.cc base::MessageLoop::current()->PostTask( base 44 chromeos/dbus/fake_sms_client.cc base::Bind(&FakeSMSClient::OnGetAll, base 46 chromeos/dbus/fake_sms_client.cc base::Owned(sms), base 50 chromeos/dbus/fake_sms_client.cc void FakeSMSClient::OnGetAll(base::DictionaryValue* sms, base 27 chromeos/dbus/fake_sms_client.h void OnGetAll(base::DictionaryValue* sms, const GetAllCallback& callback); base 29 chromeos/dbus/fake_sms_client.h base::WeakPtrFactory<FakeSMSClient> weak_ptr_factory_; base 44 chromeos/dbus/gsm_sms_client.cc base::Bind(&SMSProxy::OnSmsReceived, weak_ptr_factory_.GetWeakPtr()), base 45 chromeos/dbus/gsm_sms_client.cc base::Bind(&SMSProxy::OnSignalConnected, base 67 chromeos/dbus/gsm_sms_client.cc base::Bind(&SMSProxy::OnDelete, base 79 chromeos/dbus/gsm_sms_client.cc base::Bind(&SMSProxy::OnGet, base 89 chromeos/dbus/gsm_sms_client.cc base::Bind(&SMSProxy::OnList, base 129 chromeos/dbus/gsm_sms_client.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(&reader)); base 130 chromeos/dbus/gsm_sms_client.cc base::DictionaryValue* dictionary_value = NULL; base 143 chromeos/dbus/gsm_sms_client.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(&reader)); base 144 chromeos/dbus/gsm_sms_client.cc base::ListValue* list_value = NULL; base 157 chromeos/dbus/gsm_sms_client.cc base::WeakPtrFactory<SMSProxy> weak_ptr_factory_; base 15 chromeos/dbus/gsm_sms_client.h namespace base { base 32 chromeos/dbus/gsm_sms_client.h typedef base::Callback<void(uint32 index, bool complete)> SmsReceivedHandler; base 33 chromeos/dbus/gsm_sms_client.h typedef base::Callback<void()> DeleteCallback; base 34 chromeos/dbus/gsm_sms_client.h typedef base::Callback<void(const base::DictionaryValue& sms)> GetCallback; base 35 chromeos/dbus/gsm_sms_client.h typedef base::Callback<void(const base::ListValue& result)> ListCallback; base 42 chromeos/dbus/gsm_sms_client_unittest.cc MOCK_METHOD1(Run, void(const base::DictionaryValue& sms)); base 48 chromeos/dbus/gsm_sms_client_unittest.cc MOCK_METHOD1(Run, void(const base::ListValue& result)); base 123 chromeos/dbus/gsm_sms_client_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind(callback, response_)); base 139 chromeos/dbus/gsm_sms_client_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind(callback, response_)); base 152 chromeos/dbus/gsm_sms_client_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind(callback, response_)); base 156 chromeos/dbus/gsm_sms_client_unittest.cc void CheckResult(const base::Value& result) { base 164 chromeos/dbus/gsm_sms_client_unittest.cc base::MessageLoop message_loop_; base 176 chromeos/dbus/gsm_sms_client_unittest.cc base::Value* expected_result_; base 187 chromeos/dbus/gsm_sms_client_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind(on_connected_callback, base 202 chromeos/dbus/gsm_sms_client_unittest.cc base::Bind(&MockSmsReceivedHandler::Run, base 203 chromeos/dbus/gsm_sms_client_unittest.cc base::Unretained(&handler))); base 235 chromeos/dbus/gsm_sms_client_unittest.cc base::Bind(&MockDeleteCallback::Run, base 236 chromeos/dbus/gsm_sms_client_unittest.cc base::Unretained(&callback))); base 268 chromeos/dbus/gsm_sms_client_unittest.cc base::DictionaryValue expected_result; base 270 chromeos/dbus/gsm_sms_client_unittest.cc kNumberKey, base::Value::CreateStringValue(kExampleNumber)); base 272 chromeos/dbus/gsm_sms_client_unittest.cc kTextKey, base::Value::CreateStringValue(kExampleText)); base 276 chromeos/dbus/gsm_sms_client_unittest.cc base::Bind(&MockGetCallback::Run, base::Unretained(&callback))); base 309 chromeos/dbus/gsm_sms_client_unittest.cc base::ListValue expected_result; base 310 chromeos/dbus/gsm_sms_client_unittest.cc base::DictionaryValue* sms = new base::DictionaryValue; base 312 chromeos/dbus/gsm_sms_client_unittest.cc kNumberKey, base::Value::CreateStringValue(kExampleNumber)); base 314 chromeos/dbus/gsm_sms_client_unittest.cc kTextKey, base::Value::CreateStringValue(kExampleText)); base 319 chromeos/dbus/gsm_sms_client_unittest.cc base::Bind(&MockListCallback::Run, base 320 chromeos/dbus/gsm_sms_client_unittest.cc base::Unretained(&callback))); base 36 chromeos/dbus/image_burner_client.cc base::Bind(&ImageBurnerClientImpl::OnBurnImage, base 63 chromeos/dbus/image_burner_client.cc base::Bind(&ImageBurnerClientImpl::OnBurnFinished, base 65 chromeos/dbus/image_burner_client.cc base::Bind(&ImageBurnerClientImpl::OnSignalConnected, base 70 chromeos/dbus/image_burner_client.cc base::Bind(&ImageBurnerClientImpl::OnBurnProgressUpdate, base 72 chromeos/dbus/image_burner_client.cc base::Bind(&ImageBurnerClientImpl::OnSignalConnected, base 132 chromeos/dbus/image_burner_client.cc base::WeakPtrFactory<ImageBurnerClientImpl> weak_ptr_factory_; base 25 chromeos/dbus/image_burner_client.h typedef base::Callback<void()> ErrorCallback; base 28 chromeos/dbus/image_burner_client.h typedef base::Callback<void(const std::string& target_path, base 33 chromeos/dbus/image_burner_client.h typedef base::Callback<void(const std::string& target_path, base 52 chromeos/dbus/introspectable_client.cc base::Bind(&IntrospectableClientImpl::OnIntrospect, base 89 chromeos/dbus/introspectable_client.cc base::WeakPtrFactory<IntrospectableClientImpl> weak_ptr_factory_; base 30 chromeos/dbus/introspectable_client.h typedef base::Callback<void(const std::string&, const dbus::ObjectPath&, base 20 chromeos/dbus/mock_cryptohome_client.cc base::MessageLoop::current()->PostTask( base 21 chromeos/dbus/mock_cryptohome_client.cc FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); base 29 chromeos/dbus/mock_shill_manager_client.h const base::Value& value, base 30 chromeos/dbus/mock_shill_manager_client.h const base::Closure& callback, base 33 chromeos/dbus/mock_shill_manager_client.h const base::Closure& callback, base 36 chromeos/dbus/mock_shill_manager_client.h const base::Closure& callback, base 39 chromeos/dbus/mock_shill_manager_client.h const base::Closure& callback, base 41 chromeos/dbus/mock_shill_manager_client.h MOCK_METHOD3(ConfigureService, void(const base::DictionaryValue& properties, base 46 chromeos/dbus/mock_shill_manager_client.h const base::DictionaryValue& properties, base 49 chromeos/dbus/mock_shill_manager_client.h MOCK_METHOD3(GetService, void(const base::DictionaryValue& properties, base 67 chromeos/dbus/mock_shill_manager_client.h void(const base::Closure& callback, base 41 chromeos/dbus/mock_shill_profile_client.h const base::Closure& callback, base 32 chromeos/dbus/mock_shill_service_client.h const base::Value& value, base 33 chromeos/dbus/mock_shill_service_client.h const base::Closure& callback, base 36 chromeos/dbus/mock_shill_service_client.h const base::DictionaryValue& properties, base 37 chromeos/dbus/mock_shill_service_client.h const base::Closure& callback, base 41 chromeos/dbus/mock_shill_service_client.h const base::Closure& callback, base 48 chromeos/dbus/mock_shill_service_client.h const base::Closure& callback, base 51 chromeos/dbus/mock_shill_service_client.h const base::Closure& callback, base 54 chromeos/dbus/mock_shill_service_client.h const base::Closure& callback, base 59 chromeos/dbus/mock_shill_service_client.h const base::Closure& callback, base 63 chromeos/dbus/mock_shill_service_client.h const base::Closure& callback, base 41 chromeos/dbus/modem_messaging_client.cc base::Bind(&ModemMessagingProxy::OnSmsAdded, base 43 chromeos/dbus/modem_messaging_client.cc base::Bind(&ModemMessagingProxy::OnSignalConnected, base 67 chromeos/dbus/modem_messaging_client.cc base::Bind(&ModemMessagingProxy::OnDelete, base 77 chromeos/dbus/modem_messaging_client.cc base::Bind(&ModemMessagingProxy::OnList, base 131 chromeos/dbus/modem_messaging_client.cc base::WeakPtrFactory<ModemMessagingProxy> weak_ptr_factory_; base 28 chromeos/dbus/modem_messaging_client.h typedef base::Callback<void()> DeleteCallback; base 29 chromeos/dbus/modem_messaging_client.h typedef base::Callback<void(const dbus::ObjectPath& message_path, base 31 chromeos/dbus/modem_messaging_client.h typedef base::Callback<void(const std::vector<dbus::ObjectPath>& paths)> base 109 chromeos/dbus/modem_messaging_client_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind(callback, response_)); base 122 chromeos/dbus/modem_messaging_client_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind(callback, response_)); base 134 chromeos/dbus/modem_messaging_client_unittest.cc base::MessageLoop message_loop_; base 157 chromeos/dbus/modem_messaging_client_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind(on_connected_callback, base 172 chromeos/dbus/modem_messaging_client_unittest.cc base::Bind(&MockSmsReceivedHandler::Run, base 173 chromeos/dbus/modem_messaging_client_unittest.cc base::Unretained(&handler))); base 205 chromeos/dbus/modem_messaging_client_unittest.cc base::Bind(&MockDeleteCallback::Run, base 206 chromeos/dbus/modem_messaging_client_unittest.cc base::Unretained(&callback))); base 235 chromeos/dbus/modem_messaging_client_unittest.cc base::Bind(&MockListCallback::Run, base 236 chromeos/dbus/modem_messaging_client_unittest.cc base::Unretained(&callback))); base 83 chromeos/dbus/nfc_adapter_client.cc const base::Closure& callback, base 88 chromeos/dbus/nfc_adapter_client.cc base::StringPrintf("NFC adapter with object path \"%s\" does not " base 102 chromeos/dbus/nfc_adapter_client.cc base::Bind(&nfc_client_helpers::OnSuccess, callback), base 103 chromeos/dbus/nfc_adapter_client.cc base::Bind(&nfc_client_helpers::OnError, error_callback)); base 109 chromeos/dbus/nfc_adapter_client.cc const base::Closure& callback, base 114 chromeos/dbus/nfc_adapter_client.cc base::StringPrintf("NFC adapter with object path \"%s\" does not " base 126 chromeos/dbus/nfc_adapter_client.cc base::Bind(&nfc_client_helpers::OnSuccess, callback), base 127 chromeos/dbus/nfc_adapter_client.cc base::Bind(&nfc_client_helpers::OnError, error_callback)); base 167 chromeos/dbus/nfc_adapter_client.cc base::Bind(&NfcAdapterClientImpl::OnPropertyChanged, base 212 chromeos/dbus/nfc_adapter_client.cc base::WeakPtrFactory<NfcAdapterClientImpl> weak_ptr_factory_; base 105 chromeos/dbus/nfc_adapter_client.h const base::Closure& callback, base 111 chromeos/dbus/nfc_adapter_client.h const base::Closure& callback, base 16 chromeos/dbus/nfc_client_helpers.cc void OnSuccess(const base::Closure& callback, dbus::Response* response) { base 38 chromeos/dbus/nfc_client_helpers.cc const base::Value& value) { base 40 chromeos/dbus/nfc_client_helpers.cc case base::Value::TYPE_DICTIONARY: { base 41 chromeos/dbus/nfc_client_helpers.cc const base::DictionaryValue* dictionary = NULL; base 47 chromeos/dbus/nfc_client_helpers.cc for (base::DictionaryValue::Iterator iter(*dictionary); base 59 chromeos/dbus/nfc_client_helpers.cc case base::Value::TYPE_LIST: { base 60 chromeos/dbus/nfc_client_helpers.cc const base::ListValue* list = NULL; base 66 chromeos/dbus/nfc_client_helpers.cc for (base::ListValue::const_iterator iter = list->begin(); base 68 chromeos/dbus/nfc_client_helpers.cc const base::Value* value = *iter; base 75 chromeos/dbus/nfc_client_helpers.cc case base::Value::TYPE_BOOLEAN: base 76 chromeos/dbus/nfc_client_helpers.cc case base::Value::TYPE_INTEGER: base 77 chromeos/dbus/nfc_client_helpers.cc case base::Value::TYPE_DOUBLE: base 78 chromeos/dbus/nfc_client_helpers.cc case base::Value::TYPE_STRING: base 32 chromeos/dbus/nfc_client_helpers.h typedef base::Callback<void(const std::string& error_name, base 40 chromeos/dbus/nfc_client_helpers.h CHROMEOS_EXPORT void OnSuccess(const base::Closure& callback, base 52 chromeos/dbus/nfc_client_helpers.h const base::Value& value); base 349 chromeos/dbus/nfc_client_unittest.cc base::MessageLoop message_loop_; base 381 chromeos/dbus/nfc_client_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind(on_connected_callback, base 398 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base::Unretained(this)), base 399 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base::Unretained(this))); base 414 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base::Unretained(this)), base 415 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base::Unretained(this))); base 424 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base::Unretained(this)), base 425 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base::Unretained(this))); base 441 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base::Unretained(this)), base 442 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base::Unretained(this))); base 446 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base::Unretained(this)), base 447 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base::Unretained(this))); base 465 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base::Unretained(this)), base 466 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base::Unretained(this))); base 473 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base::Unretained(this)), base 474 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base::Unretained(this))); base 495 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base::Unretained(this)), base 496 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base::Unretained(this))); base 500 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base::Unretained(this)), base 501 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base::Unretained(this))); base 511 chromeos/dbus/nfc_client_unittest.cc base::DictionaryValue write_data; base 514 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 515 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 516 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 517 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 539 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 540 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 541 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 542 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 549 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 550 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 551 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 552 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 567 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 568 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 569 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 570 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 572 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 573 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 574 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 575 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 592 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 593 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 594 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 595 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 600 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 601 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 602 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 603 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 622 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 623 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 624 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 625 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 627 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 628 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 629 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 630 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 640 chromeos/dbus/nfc_client_unittest.cc base::DictionaryValue write_data; base 643 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 644 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 645 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 646 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 667 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 668 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 669 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 670 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 677 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 678 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 679 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 680 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 695 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 696 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 697 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 698 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 700 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 701 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 702 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 703 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 720 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 721 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 722 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 723 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 728 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 729 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 730 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 731 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 750 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 751 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 752 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 753 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 755 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::SuccessCallback, base 756 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this)), base 757 chromeos/dbus/nfc_client_unittest.cc base::Bind(&NfcClientTest::ErrorCallback, base 758 chromeos/dbus/nfc_client_unittest.cc base::Unretained(this))); base 82 chromeos/dbus/nfc_device_client.cc const base::DictionaryValue& attributes, base 83 chromeos/dbus/nfc_device_client.cc const base::Closure& callback, base 89 chromeos/dbus/nfc_device_client.cc base::StringPrintf( base 114 chromeos/dbus/nfc_device_client.cc for (base::DictionaryValue::Iterator iter(attributes); base 127 chromeos/dbus/nfc_device_client.cc base::Bind(&nfc_client_helpers::OnSuccess, callback), base 128 chromeos/dbus/nfc_device_client.cc base::Bind(&nfc_client_helpers::OnError, error_callback)); base 190 chromeos/dbus/nfc_device_client.cc base::Bind(&NfcDeviceClientImpl::OnPropertyChanged, base 235 chromeos/dbus/nfc_device_client.cc base::WeakPtrFactory<NfcDeviceClientImpl> weak_ptr_factory_; base 99 chromeos/dbus/nfc_device_client.h const base::DictionaryValue& attributes, base 100 chromeos/dbus/nfc_device_client.h const base::Closure& callback, base 70 chromeos/dbus/nfc_manager_client.cc base::Bind(&NfcManagerClientImpl::AdapterAddedReceived, base 72 chromeos/dbus/nfc_manager_client.cc base::Bind(&NfcManagerClientImpl::AdapterAddedConnected, base 78 chromeos/dbus/nfc_manager_client.cc base::Bind(&NfcManagerClientImpl::AdapterRemovedReceived, base 80 chromeos/dbus/nfc_manager_client.cc base::Bind(&NfcManagerClientImpl::AdapterRemovedConnected, base 86 chromeos/dbus/nfc_manager_client.cc base::Bind(&NfcManagerClientImpl::OnPropertyChanged, base 156 chromeos/dbus/nfc_manager_client.cc base::WeakPtrFactory<NfcManagerClientImpl> weak_ptr_factory_; base 25 chromeos/dbus/nfc_property_set.cc base::Bind(&dbus::PropertySet::ChangedReceived, GetWeakPtr()), base 26 chromeos/dbus/nfc_property_set.cc base::Bind(&dbus::PropertySet::ChangedConnected, GetWeakPtr())); base 30 chromeos/dbus/nfc_property_set.cc const base::Closure& callback) { base 44 chromeos/dbus/nfc_property_set.cc base::Bind(&dbus::PropertySet::OnGetAll, base 72 chromeos/dbus/nfc_property_set.cc base::Bind(&dbus::PropertySet::OnSet, base 33 chromeos/dbus/nfc_property_set.h void SetAllPropertiesReceivedCallback(const base::Closure& callback); base 46 chromeos/dbus/nfc_property_set.h const base::Closure& on_get_all_callback() { return on_get_all_callback_; } base 51 chromeos/dbus/nfc_property_set.h base::Closure on_get_all_callback_; base 205 chromeos/dbus/nfc_record_client.cc base::Bind(&NfcRecordClientImpl::OnPropertyChanged, base 209 chromeos/dbus/nfc_record_client.cc base::Bind(&NfcRecordClientImpl::OnPropertiesReceived, base 265 chromeos/dbus/nfc_record_client.cc base::WeakPtrFactory<NfcRecordClientImpl> weak_ptr_factory_; base 85 chromeos/dbus/nfc_tag_client.cc const base::DictionaryValue& attributes, base 86 chromeos/dbus/nfc_tag_client.cc const base::Closure& callback, base 92 chromeos/dbus/nfc_tag_client.cc base::StringPrintf("NFC tag with object path \"%s\" does not exist.", base 115 chromeos/dbus/nfc_tag_client.cc for (base::DictionaryValue::Iterator iter(attributes); base 128 chromeos/dbus/nfc_tag_client.cc base::Bind(&nfc_client_helpers::OnSuccess, callback), base 129 chromeos/dbus/nfc_tag_client.cc base::Bind(&nfc_client_helpers::OnError, error_callback)); base 197 chromeos/dbus/nfc_tag_client.cc base::Bind(&NfcTagClientImpl::OnPropertyChanged, base 201 chromeos/dbus/nfc_tag_client.cc base::Bind(&NfcTagClientImpl::OnPropertiesReceived, base 255 chromeos/dbus/nfc_tag_client.cc base::WeakPtrFactory<NfcTagClientImpl> weak_ptr_factory_; base 119 chromeos/dbus/nfc_tag_client.h const base::DictionaryValue& attributes, base 120 chromeos/dbus/nfc_tag_client.h const base::Closure& callback, base 37 chromeos/dbus/permission_broker_client.cc base::Bind(&PermissionBrokerClientImpl::OnResponse, base 52 chromeos/dbus/permission_broker_client.cc base::Bind(&PermissionBrokerClientImpl::OnResponse, base 85 chromeos/dbus/permission_broker_client.cc base::WeakPtrFactory<PermissionBrokerClientImpl> weak_ptr_factory_; base 29 chromeos/dbus/permission_broker_client.h typedef base::Callback<void(bool)> ResultCallback; base 41 chromeos/dbus/pipe_reader.cc base::PlatformFile data_file_ = pipe_fds[0]; base 45 chromeos/dbus/pipe_reader.cc base::PLATFORM_FILE_READ | base::PLATFORM_FILE_ASYNC, base 51 chromeos/dbus/pipe_reader.cc base::Bind(&PipeReader::OnDataReady, weak_ptr_factory_.GetWeakPtr())); base 71 chromeos/dbus/pipe_reader.cc base::Bind(&PipeReader::OnDataReady, weak_ptr_factory_.GetWeakPtr())); base 29 chromeos/dbus/pipe_reader.h typedef base::Callback<void(void)>IOCompleteCallback; base 62 chromeos/dbus/pipe_reader.h base::WeakPtrFactory<PipeReader> weak_ptr_factory_; base 47 chromeos/dbus/power_manager_client.cc : origin_thread_id_(base::PlatformThread::CurrentId()), base 133 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::OnGetScreenBrightnessPercent, base 144 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::OnGetPowerSupplyPropertiesMethod, base 212 chromeos/dbus/power_manager_client.cc virtual base::Closure GetSuspendReadinessCallback() OVERRIDE { base 216 chromeos/dbus/power_manager_client.cc return base::Bind(&PowerManagerClientImpl::HandleObserverSuspendReadiness, base 231 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::NameOwnerChangedReceived, base 240 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::BrightnessChangedReceived, base 242 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::SignalConnected, base 248 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::PeripheralBatteryStatusReceived, base 250 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::SignalConnected, base 256 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::PowerSupplyPollReceived, base 258 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::SignalConnected, base 264 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::InputEventReceived, base 266 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::SignalConnected, base 272 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::SuspendStateChangedReceived, base 274 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::SignalConnected, base 280 chromeos/dbus/power_manager_client.cc base::Bind( base 283 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::SignalConnected, base 289 chromeos/dbus/power_manager_client.cc base::Bind( base 292 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::SignalConnected, base 298 chromeos/dbus/power_manager_client.cc base::Bind( base 301 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientImpl::SignalConnected, base 310 chromeos/dbus/power_manager_client.cc return base::PlatformThread::CurrentId() == origin_thread_id_; base 493 chromeos/dbus/power_manager_client.cc base::TimeTicks timestamp = base 494 chromeos/dbus/power_manager_client.cc base::TimeTicks::FromInternalValue(proto.timestamp()); base 541 chromeos/dbus/power_manager_client.cc base::Time wall_time = base 542 chromeos/dbus/power_manager_client.cc base::Time::FromInternalValue(proto.wall_time()); base 569 chromeos/dbus/power_manager_client.cc base::TimeDelta timeout = base 570 chromeos/dbus/power_manager_client.cc base::TimeDelta::FromMilliseconds(kSuspendDelayTimeoutMs); base 582 chromeos/dbus/power_manager_client.cc base::Bind( base 630 chromeos/dbus/power_manager_client.cc base::PlatformThreadId origin_thread_id_; base 651 chromeos/dbus/power_manager_client.cc base::Time last_suspend_wall_time_; base 658 chromeos/dbus/power_manager_client.cc base::WeakPtrFactory<PowerManagerClientImpl> weak_ptr_factory_; base 685 chromeos/dbus/power_manager_client.cc if (power_cycle_delay_ != base::TimeDelta()) { base 736 chromeos/dbus/power_manager_client.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 737 chromeos/dbus/power_manager_client.cc base::Bind(&PowerManagerClientStubImpl::UpdateStatus, base 750 chromeos/dbus/power_manager_client.cc virtual base::Closure GetSuspendReadinessCallback() OVERRIDE { base 752 chromeos/dbus/power_manager_client.cc return base::Bind(&PowerManagerClientStubImpl::HandleSuspendReadiness, base 845 chromeos/dbus/power_manager_client.cc base::StringPairs string_pairs; base 846 chromeos/dbus/power_manager_client.cc base::SplitStringIntoKeyValuePairs(option_str, '=', ',', &string_pairs); base 847 chromeos/dbus/power_manager_client.cc for (base::StringPairs::iterator iter = string_pairs.begin(); base 857 chromeos/dbus/power_manager_client.cc base::StringToInt(arg1, &seconds); base 858 chromeos/dbus/power_manager_client.cc power_cycle_delay_ = base::TimeDelta::FromSeconds(seconds); base 862 chromeos/dbus/power_manager_client.cc base::TimeDelta power_cycle_delay_; // Time over which to cycle power state base 869 chromeos/dbus/power_manager_client.cc base::RepeatingTimer<PowerManagerClientStubImpl> update_timer_; base 878 chromeos/dbus/power_manager_client.cc base::WeakPtrFactory<PowerManagerClientStubImpl> weak_ptr_factory_; base 27 chromeos/dbus/power_manager_client.h typedef base::Callback<void(double)> GetScreenBrightnessPercentCallback; base 71 chromeos/dbus/power_manager_client.h const base::TimeTicks& timestamp) {} base 75 chromeos/dbus/power_manager_client.h const base::TimeTicks& timestamp) {} base 78 chromeos/dbus/power_manager_client.h virtual void SystemResumed(const base::TimeDelta& sleep_duration) {} base 144 chromeos/dbus/power_manager_client.h virtual base::Closure GetSuspendReadinessCallback() = 0; base 24 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf(name "=%" PRId64 " ", delays.field()); \ base 101 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("ac_idle=%d ", policy.ac_idle_action()); base 103 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("battery_idle=%d ", policy.battery_idle_action()); base 105 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("lid_closed=%d ", policy.lid_closed_action()); base 107 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("use_audio=%d ", policy.use_audio_activity()); base 109 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("use_video=%d ", policy.use_audio_activity()); base 111 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("ac_brightness_percent=%f ", base 115 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("battery_brightness_percent=%f ", base 119 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("presentation_screen_dim_delay_factor=%f ", base 123 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("user_activity_screen_dim_delay_factor=%f ", base 127 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("wait_for_initial_user_activity=%d ", base 131 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("reason=\"%s\" ", policy.reason().c_str()); base 132 chromeos/dbus/power_policy_controller.cc base::TrimWhitespace(str, base::TRIM_TRAILING, &str); base 70 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::OnRestartJob, base 83 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::OnStartSession, base 95 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::OnStopSession, base 105 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::OnDeviceWipe, base 132 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::OnRetrieveActiveSessions, base 145 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::OnRetrievePolicy, base 196 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::OnStorePolicy, base 249 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::OwnerKeySetReceived, base 251 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::SignalConnected, base 256 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::PropertyChangeCompleteReceived, base 258 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::SignalConnected, base 263 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::ScreenIsLockedReceived, base 265 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::SignalConnected, base 270 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::ScreenIsUnlockedReceived, base 272 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientImpl::SignalConnected, base 299 chromeos/dbus/session_manager_client.cc base::Bind( base 320 chromeos/dbus/session_manager_client.cc base::Bind( base 481 chromeos/dbus/session_manager_client.cc base::WeakPtrFactory<SessionManagerClientImpl> weak_ptr_factory_; base 496 chromeos/dbus/session_manager_client.cc base::FilePath user_policy_key_dir; base 499 chromeos/dbus/session_manager_client.cc base::WorkerPool::PostTask( base 501 chromeos/dbus/session_manager_client.cc base::Bind(base::IgnoreResult(&base::DeleteFile), base 576 chromeos/dbus/session_manager_client.cc base::FilePath key_path; base 586 chromeos/dbus/session_manager_client.cc base::WorkerPool::PostTaskAndReply( base 588 chromeos/dbus/session_manager_client.cc base::Bind(&SessionManagerClientStubImpl::StoreFileInBackground, base 590 chromeos/dbus/session_manager_client.cc base::Bind(callback, true), base 604 chromeos/dbus/session_manager_client.cc static void StoreFileInBackground(const base::FilePath& path, base 607 chromeos/dbus/session_manager_client.cc if (!base::CreateDirectory(path.DirName()) || base 608 chromeos/dbus/session_manager_client.cc base::WriteFile(path, data.data(), size) != size) { base 99 chromeos/dbus/session_manager_client.h typedef base::Callback<void(const ActiveSessionsMap& sessions, base 114 chromeos/dbus/session_manager_client.h typedef base::Callback<void(const std::string&)> RetrievePolicyCallback; base 145 chromeos/dbus/session_manager_client.h typedef base::Callback<void(bool)> StorePolicyCallback; base 24 chromeos/dbus/shill_client_helper.cc explicit RefHolder(base::WeakPtr<ShillClientHelper> helper) base 34 chromeos/dbus/shill_client_helper.cc base::WeakPtr<ShillClientHelper> helper_; base 135 chromeos/dbus/shill_client_helper.cc base::DictionaryValue result; base 140 chromeos/dbus/shill_client_helper.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(&reader)); base 141 chromeos/dbus/shill_client_helper.cc base::DictionaryValue* result = NULL; base 143 chromeos/dbus/shill_client_helper.cc base::DictionaryValue result; base 153 chromeos/dbus/shill_client_helper.cc const base::Closure& callback, base 166 chromeos/dbus/shill_client_helper.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(&reader)); base 167 chromeos/dbus/shill_client_helper.cc base::DictionaryValue* result = NULL; base 182 chromeos/dbus/shill_client_helper.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(&reader)); base 183 chromeos/dbus/shill_client_helper.cc base::ListValue* result = NULL; base 262 chromeos/dbus/shill_client_helper.cc base::Bind(&ShillClientHelper::OnPropertyChanged, base 264 chromeos/dbus/shill_client_helper.cc base::Bind(&ShillClientHelper::OnSignalConnected, base 274 chromeos/dbus/shill_client_helper.cc base::Bind(&OnVoidMethod, base 275 chromeos/dbus/shill_client_helper.cc base::Owned(new RefHolder(weak_ptr_factory_.GetWeakPtr())), base 285 chromeos/dbus/shill_client_helper.cc base::Bind(&OnObjectPathMethod, base 286 chromeos/dbus/shill_client_helper.cc base::Owned(new RefHolder(weak_ptr_factory_.GetWeakPtr())), base 299 chromeos/dbus/shill_client_helper.cc base::Bind(&OnObjectPathMethodWithoutStatus, base 300 chromeos/dbus/shill_client_helper.cc base::Owned(new RefHolder(weak_ptr_factory_.GetWeakPtr())), base 303 chromeos/dbus/shill_client_helper.cc base::Bind(&OnError, base 313 chromeos/dbus/shill_client_helper.cc base::Bind(&OnDictionaryValueMethod, base 314 chromeos/dbus/shill_client_helper.cc base::Owned(new RefHolder(weak_ptr_factory_.GetWeakPtr())), base 320 chromeos/dbus/shill_client_helper.cc const base::Closure& callback, base 326 chromeos/dbus/shill_client_helper.cc base::Bind(&OnVoidMethodWithErrorCallback, base 327 chromeos/dbus/shill_client_helper.cc base::Owned(new RefHolder(weak_ptr_factory_.GetWeakPtr())), base 329 chromeos/dbus/shill_client_helper.cc base::Bind(&OnError, base 341 chromeos/dbus/shill_client_helper.cc base::Bind(&OnBooleanMethodWithErrorCallback, base 342 chromeos/dbus/shill_client_helper.cc base::Owned(new RefHolder(weak_ptr_factory_.GetWeakPtr())), base 345 chromeos/dbus/shill_client_helper.cc base::Bind(&OnError, base 357 chromeos/dbus/shill_client_helper.cc base::Bind(&OnStringMethodWithErrorCallback, base 358 chromeos/dbus/shill_client_helper.cc base::Owned(new RefHolder(weak_ptr_factory_.GetWeakPtr())), base 361 chromeos/dbus/shill_client_helper.cc base::Bind(&OnError, base 373 chromeos/dbus/shill_client_helper.cc base::Bind(&OnDictionaryValueMethodWithErrorCallback, base 374 chromeos/dbus/shill_client_helper.cc base::Owned(new RefHolder(weak_ptr_factory_.GetWeakPtr())), base 377 chromeos/dbus/shill_client_helper.cc base::Bind(&OnError, base 389 chromeos/dbus/shill_client_helper.cc base::Bind(&OnListValueMethodWithErrorCallback, base 390 chromeos/dbus/shill_client_helper.cc base::Owned(new RefHolder(weak_ptr_factory_.GetWeakPtr())), base 393 chromeos/dbus/shill_client_helper.cc base::Bind(&OnError, base 399 chromeos/dbus/shill_client_helper.cc const base::Value& value) { base 402 chromeos/dbus/shill_client_helper.cc case base::Value::TYPE_DICTIONARY: { base 403 chromeos/dbus/shill_client_helper.cc const base::DictionaryValue* dictionary = NULL; base 409 chromeos/dbus/shill_client_helper.cc for (base::DictionaryValue::Iterator it(*dictionary); base 415 chromeos/dbus/shill_client_helper.cc const base::Value& value = it.value(); base 417 chromeos/dbus/shill_client_helper.cc DLOG_IF(ERROR, value.GetType() != base::Value::TYPE_STRING) base 427 chromeos/dbus/shill_client_helper.cc case base::Value::TYPE_LIST: { base 428 chromeos/dbus/shill_client_helper.cc const base::ListValue* list = NULL; base 434 chromeos/dbus/shill_client_helper.cc for (base::ListValue::const_iterator it = list->begin(); base 436 chromeos/dbus/shill_client_helper.cc const base::Value& value = **it; base 437 chromeos/dbus/shill_client_helper.cc LOG_IF(ERROR, value.GetType() != base::Value::TYPE_STRING) base 447 chromeos/dbus/shill_client_helper.cc case base::Value::TYPE_BOOLEAN: base 448 chromeos/dbus/shill_client_helper.cc case base::Value::TYPE_INTEGER: base 449 chromeos/dbus/shill_client_helper.cc case base::Value::TYPE_DOUBLE: base 450 chromeos/dbus/shill_client_helper.cc case base::Value::TYPE_STRING: base 462 chromeos/dbus/shill_client_helper.cc const base::DictionaryValue& dictionary) { base 465 chromeos/dbus/shill_client_helper.cc for (base::DictionaryValue::Iterator it(dictionary); base 484 chromeos/dbus/shill_client_helper.cc base::ResetAndReturn(&released_callback_).Run(this); // May delete this base 502 chromeos/dbus/shill_client_helper.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(&reader)); base 19 chromeos/dbus/shill_client_helper.h namespace base { base 47 chromeos/dbus/shill_client_helper.h typedef base::Callback<void(const std::string& name, base 48 chromeos/dbus/shill_client_helper.h const base::Value& value)> PropertyChangedHandler; base 51 chromeos/dbus/shill_client_helper.h typedef base::Callback<void( base 53 chromeos/dbus/shill_client_helper.h const base::DictionaryValue& result)> DictionaryValueCallback; base 57 chromeos/dbus/shill_client_helper.h typedef base::Callback<void(const base::DictionaryValue& result)> base 61 chromeos/dbus/shill_client_helper.h typedef base::Callback<void(const base::ListValue& result)> ListValueCallback; base 64 chromeos/dbus/shill_client_helper.h typedef base::Callback<void(const std::string& error_name, base 68 chromeos/dbus/shill_client_helper.h typedef base::Callback<void(const std::string& result)> StringCallback; base 71 chromeos/dbus/shill_client_helper.h typedef base::Callback<void(bool result)> BooleanCallback; base 74 chromeos/dbus/shill_client_helper.h typedef base::Callback<void(ShillClientHelper* helper)> ReleasedCallback; base 115 chromeos/dbus/shill_client_helper.h const base::Closure& callback, base 147 chromeos/dbus/shill_client_helper.h const base::Value& value); base 152 chromeos/dbus/shill_client_helper.h const base::DictionaryValue& dictionary); base 183 chromeos/dbus/shill_client_helper.h base::WeakPtrFactory<ShillClientHelper> weak_ptr_factory_; base 27 chromeos/dbus/shill_client_unittest_base.cc base::DictionaryValue* PopStringToStringDictionary( base 32 chromeos/dbus/shill_client_unittest_base.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 41 chromeos/dbus/shill_client_unittest_base.cc result->SetWithoutPathExpansion(key, base::Value::CreateStringValue(value)); base 48 chromeos/dbus/shill_client_unittest_base.cc ValueMatcher::ValueMatcher(const base::Value& value) base 51 chromeos/dbus/shill_client_unittest_base.cc bool ValueMatcher::MatchAndExplain(const base::Value& value, base 58 chromeos/dbus/shill_client_unittest_base.cc base::JSONWriter::WriteWithOptions(expected_value_.get(), base 59 chromeos/dbus/shill_client_unittest_base.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 66 chromeos/dbus/shill_client_unittest_base.cc base::JSONWriter::WriteWithOptions(expected_value_.get(), base 67 chromeos/dbus/shill_client_unittest_base.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 77 chromeos/dbus/shill_client_unittest_base.cc base::Closure ShillClientUnittestBase::MockClosure::GetCallback() { base 78 chromeos/dbus/shill_client_unittest_base.cc return base::Bind(&MockClosure::Run, base::Unretained(this)); base 88 chromeos/dbus/shill_client_unittest_base.cc return base::Bind(&MockListValueCallback::Run, base::Unretained(this)); base 104 chromeos/dbus/shill_client_unittest_base.cc return base::Bind(&MockErrorCallback::Run, base::Unretained(this)); base 187 chromeos/dbus/shill_client_unittest_base.cc const base::Value* expected_value, base 189 chromeos/dbus/shill_client_unittest_base.cc const base::Value& value) { base 221 chromeos/dbus/shill_client_unittest_base.cc const base::Value* expected_value, base 223 chromeos/dbus/shill_client_unittest_base.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(reader)); base 232 chromeos/dbus/shill_client_unittest_base.cc const base::Value* expected_value, base 237 chromeos/dbus/shill_client_unittest_base.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(reader)); base 245 chromeos/dbus/shill_client_unittest_base.cc const base::DictionaryValue* expected_dictionary, base 256 chromeos/dbus/shill_client_unittest_base.cc scoped_ptr<base::Value> value; base 272 chromeos/dbus/shill_client_unittest_base.cc const base::Value* expected_value = NULL; base 280 chromeos/dbus/shill_client_unittest_base.cc base::DictionaryValue* base 282 chromeos/dbus/shill_client_unittest_base.cc base::DictionaryValue* properties = new base::DictionaryValue; base 285 chromeos/dbus/shill_client_unittest_base.cc base::Value::CreateStringValue("00000000-0000-0000-0000-000000000000")); base 288 chromeos/dbus/shill_client_unittest_base.cc base::Value::CreateStringValue(shill::kModeManaged)); base 291 chromeos/dbus/shill_client_unittest_base.cc base::Value::CreateStringValue(shill::kTypeWifi)); base 295 chromeos/dbus/shill_client_unittest_base.cc base::Value::CreateStringValue(shill::kSecurityPsk)); base 338 chromeos/dbus/shill_client_unittest_base.cc const base::DictionaryValue* expected_result, base 339 chromeos/dbus/shill_client_unittest_base.cc const base::DictionaryValue& result) { base 341 chromeos/dbus/shill_client_unittest_base.cc base::JSONWriter::Write(expected_result, &expected_result_string); base 343 chromeos/dbus/shill_client_unittest_base.cc base::JSONWriter::Write(&result, &result_string); base 349 chromeos/dbus/shill_client_unittest_base.cc const base::DictionaryValue* expected_result, base 351 chromeos/dbus/shill_client_unittest_base.cc const base::DictionaryValue& result) { base 364 chromeos/dbus/shill_client_unittest_base.cc base::Bind(on_connected_callback, base 379 chromeos/dbus/shill_client_unittest_base.cc base::Bind(response_callback, response_)); base 26 chromeos/dbus/shill_client_unittest_base.h namespace base { base 42 chromeos/dbus/shill_client_unittest_base.h class ValueMatcher : public MatcherInterface<const base::Value&> { base 44 chromeos/dbus/shill_client_unittest_base.h explicit ValueMatcher(const base::Value& value); base 47 chromeos/dbus/shill_client_unittest_base.h virtual bool MatchAndExplain(const base::Value& value, base 53 chromeos/dbus/shill_client_unittest_base.h scoped_ptr<base::Value> expected_value_; base 56 chromeos/dbus/shill_client_unittest_base.h inline Matcher<const base::Value&> ValueEq(const base::Value& expected_value) { base 69 chromeos/dbus/shill_client_unittest_base.h base::Closure GetCallback(); base 76 chromeos/dbus/shill_client_unittest_base.h MOCK_METHOD1(Run, void(const base::ListValue& list)); base 97 chromeos/dbus/shill_client_unittest_base.h const base::Value& value)); base 109 chromeos/dbus/shill_client_unittest_base.h typedef base::Callback<void( base 122 chromeos/dbus/shill_client_unittest_base.h const base::Value* expected_value, base 124 chromeos/dbus/shill_client_unittest_base.h const base::Value& value); base 138 chromeos/dbus/shill_client_unittest_base.h static void ExpectValueArgument(const base::Value* expected_value, base 143 chromeos/dbus/shill_client_unittest_base.h const base::Value* expected_value, base 148 chromeos/dbus/shill_client_unittest_base.h const base::DictionaryValue* expected_dictionary, base 153 chromeos/dbus/shill_client_unittest_base.h static base::DictionaryValue* CreateExampleServiceProperties(); base 177 chromeos/dbus/shill_client_unittest_base.h const base::DictionaryValue* expected_result, base 179 chromeos/dbus/shill_client_unittest_base.h const base::DictionaryValue& result); base 183 chromeos/dbus/shill_client_unittest_base.h const base::DictionaryValue* expected_result, base 184 chromeos/dbus/shill_client_unittest_base.h const base::DictionaryValue& result); base 187 chromeos/dbus/shill_client_unittest_base.h base::MessageLoop message_loop_; base 73 chromeos/dbus/shill_device_client.cc const base::Value& value, base 74 chromeos/dbus/shill_device_client.cc const base::Closure& callback, base 110 chromeos/dbus/shill_device_client.cc const base::Closure& callback, base 123 chromeos/dbus/shill_device_client.cc const base::Closure& callback, base 136 chromeos/dbus/shill_device_client.cc const base::Closure& callback, base 150 chromeos/dbus/shill_device_client.cc const base::Closure& callback, base 163 chromeos/dbus/shill_device_client.cc const base::Closure& callback, base 175 chromeos/dbus/shill_device_client.cc const base::Closure& callback, base 186 chromeos/dbus/shill_device_client.cc const base::Closure& callback, base 16 chromeos/dbus/shill_device_client.h namespace base { base 54 chromeos/dbus/shill_device_client.h const base::Value& value) = 0; base 91 chromeos/dbus/shill_device_client.h const base::Value& value, base 92 chromeos/dbus/shill_device_client.h const base::Closure& callback, base 112 chromeos/dbus/shill_device_client.h const base::Closure& callback, base 119 chromeos/dbus/shill_device_client.h const base::Closure& callback, base 127 chromeos/dbus/shill_device_client.h const base::Closure& callback, base 135 chromeos/dbus/shill_device_client.h const base::Closure& callback, base 142 chromeos/dbus/shill_device_client.h const base::Closure& callback, base 149 chromeos/dbus/shill_device_client.h const base::Closure& callback, base 155 chromeos/dbus/shill_device_client.h const base::Closure& callback, base 86 chromeos/dbus/shill_device_client_unittest.cc const base::FundamentalValue value(kValue); base 128 chromeos/dbus/shill_device_client_unittest.cc base::DictionaryValue value; base 130 chromeos/dbus/shill_device_client_unittest.cc base::Value::CreateBooleanValue(kValue)); base 132 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectNoArgument), base 136 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectDictionaryValueResult, &value)); base 147 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectNoArgument), base 151 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectNoResultValue)); base 162 chromeos/dbus/shill_device_client_unittest.cc const base::FundamentalValue value(kValue); base 164 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectStringAndValueArguments, base 189 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectStringArgument, base 195 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectNoResultValue)); base 209 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectStringArgument, shill::kTypeDHCP), base 214 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectObjectPathResult, expected_result)); base 229 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectStringAndBoolArguments, base 254 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectStringArgument, base 279 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectTwoStringArguments, kPuk, kPin), base 304 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectTwoStringArguments, base 330 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectStringArgument, kNetworkId), base 353 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectStringArgument, kCarrier), base 373 chromeos/dbus/shill_device_client_unittest.cc base::Bind(&ExpectNoArgument), base 47 chromeos/dbus/shill_ipconfig_client.cc const base::Value& value, base 109 chromeos/dbus/shill_ipconfig_client.cc const base::Value& value, base 117 chromeos/dbus/shill_ipconfig_client.cc case base::Value::TYPE_LIST: { base 118 chromeos/dbus/shill_ipconfig_client.cc const base::ListValue* list_value = NULL; base 124 chromeos/dbus/shill_ipconfig_client.cc for (base::ListValue::const_iterator it = list_value->begin(); base 127 chromeos/dbus/shill_ipconfig_client.cc DLOG_IF(ERROR, (*it)->GetType() != base::Value::TYPE_STRING) base 136 chromeos/dbus/shill_ipconfig_client.cc case base::Value::TYPE_BOOLEAN: base 137 chromeos/dbus/shill_ipconfig_client.cc case base::Value::TYPE_INTEGER: base 138 chromeos/dbus/shill_ipconfig_client.cc case base::Value::TYPE_DOUBLE: base 139 chromeos/dbus/shill_ipconfig_client.cc case base::Value::TYPE_STRING: base 16 chromeos/dbus/shill_ipconfig_client.h namespace base { base 70 chromeos/dbus/shill_ipconfig_client.h const base::Value& value, base 52 chromeos/dbus/shill_ipconfig_client_unittest.cc const base::FundamentalValue kConnected(true); base 106 chromeos/dbus/shill_ipconfig_client_unittest.cc base::DictionaryValue value; base 108 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Value::CreateStringValue(kAddress)); base 110 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Value::CreateIntegerValue(kMtu)); base 114 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Bind(&ExpectNoArgument), base 118 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Bind(&ExpectDictionaryValueResult, &value)); base 130 chromeos/dbus/shill_ipconfig_client_unittest.cc base::StringValue value(kAddress); base 132 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Bind(&ExpectStringAndValueArguments, base 140 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Bind(&ExpectNoResultValue)); base 151 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Bind(&ExpectStringArgument, base 157 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Bind(&ExpectNoResultValue)); base 168 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Bind(&ExpectNoArgument), base 172 chromeos/dbus/shill_ipconfig_client_unittest.cc base::Bind(&ExpectNoResultValue)); base 54 chromeos/dbus/shill_manager_client.cc const base::Value& value, base 55 chromeos/dbus/shill_manager_client.cc const base::Closure& callback, base 68 chromeos/dbus/shill_manager_client.cc const base::Closure& callback, base 81 chromeos/dbus/shill_manager_client.cc const base::Closure& callback, base 94 chromeos/dbus/shill_manager_client.cc const base::Closure& callback, base 106 chromeos/dbus/shill_manager_client.cc const base::DictionaryValue& properties, base 120 chromeos/dbus/shill_manager_client.cc const base::DictionaryValue& properties, base 134 chromeos/dbus/shill_manager_client.cc const base::DictionaryValue& properties, base 204 chromeos/dbus/shill_manager_client.cc const base::Closure& callback, base 49 chromeos/dbus/shill_manager_client.h const base::DictionaryValue& network) = 0; base 62 chromeos/dbus/shill_manager_client.h const base::Value& value) = 0; base 151 chromeos/dbus/shill_manager_client.h const base::Value& value, base 152 chromeos/dbus/shill_manager_client.h const base::Closure& callback, base 158 chromeos/dbus/shill_manager_client.h const base::Closure& callback, base 164 chromeos/dbus/shill_manager_client.h const base::Closure& callback, base 170 chromeos/dbus/shill_manager_client.h const base::Closure& callback, base 175 chromeos/dbus/shill_manager_client.h virtual void ConfigureService(const base::DictionaryValue& properties, base 183 chromeos/dbus/shill_manager_client.h const base::DictionaryValue& properties, base 189 chromeos/dbus/shill_manager_client.h virtual void GetService(const base::DictionaryValue& properties, base 219 chromeos/dbus/shill_manager_client.h virtual void ConnectToBestServices(const base::Closure& callback, base 78 chromeos/dbus/shill_manager_client_unittest.cc base::FundamentalValue kOfflineMode(true); base 121 chromeos/dbus/shill_manager_client_unittest.cc base::DictionaryValue value; base 123 chromeos/dbus/shill_manager_client_unittest.cc base::Value::CreateBooleanValue(true)); base 126 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectNoArgument), base 129 chromeos/dbus/shill_manager_client_unittest.cc client_->GetProperties(base::Bind(&ExpectDictionaryValueResult, &value)); base 163 chromeos/dbus/shill_manager_client_unittest.cc base::DictionaryValue type_dict_value; base 164 chromeos/dbus/shill_manager_client_unittest.cc base::ListValue* type_entry_value = new base::ListValue; base 165 chromeos/dbus/shill_manager_client_unittest.cc base::DictionaryValue* property_dict_value = new base::DictionaryValue; base 168 chromeos/dbus/shill_manager_client_unittest.cc base::Value::CreateStringValue("01:23:45:67:89:AB")); base 174 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectNoArgument), base 177 chromeos/dbus/shill_manager_client_unittest.cc client_->GetNetworksForGeolocation(base::Bind(&ExpectDictionaryValueResult, base 188 chromeos/dbus/shill_manager_client_unittest.cc base::StringValue value("portal list"); base 190 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(ExpectStringAndValueArguments, base 213 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectStringArgument, shill::kTypeWifi), base 233 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectStringArgument, shill::kTypeWifi), base 253 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectStringArgument, shill::kTypeWifi), base 275 chromeos/dbus/shill_manager_client_unittest.cc scoped_ptr<base::DictionaryValue> arg(CreateExampleServiceProperties()); base 278 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectDictionaryValueArgument, arg.get()), base 283 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectObjectPathResultWithoutStatus, base 299 chromeos/dbus/shill_manager_client_unittest.cc scoped_ptr<base::DictionaryValue> arg(CreateExampleServiceProperties()); base 302 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectDictionaryValueArgument, arg.get()), base 307 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectObjectPathResultWithoutStatus, base 332 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectStringArguments, arguments), base 347 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectBoolResultWithoutStatus, expected), base 373 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectStringArgumentsFollowedByObjectPath, base 391 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectStringResultWithoutStatus, expected), base 416 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectStringArguments, arguments), base 432 chromeos/dbus/shill_manager_client_unittest.cc base::Bind(&ExpectStringResultWithoutStatus, expected), base 51 chromeos/dbus/shill_profile_client.cc const base::Closure& callback, base 122 chromeos/dbus/shill_profile_client.cc const base::Closure& callback, base 16 chromeos/dbus/shill_profile_client.h namespace base { base 58 chromeos/dbus/shill_profile_client.h const base::DictionaryValue& properties) = 0; base 110 chromeos/dbus/shill_profile_client.h const base::Closure& callback, base 68 chromeos/dbus/shill_profile_client_unittest.cc base::ListValue value; base 69 chromeos/dbus/shill_profile_client_unittest.cc value.Append(base::Value::CreateStringValue(kExampleEntryPath)); base 110 chromeos/dbus/shill_profile_client_unittest.cc base::ListValue* entries = new base::ListValue; base 111 chromeos/dbus/shill_profile_client_unittest.cc entries->Append(base::Value::CreateStringValue(kExampleEntryPath)); base 112 chromeos/dbus/shill_profile_client_unittest.cc base::DictionaryValue value; base 116 chromeos/dbus/shill_profile_client_unittest.cc base::Bind(&ExpectNoArgument), base 121 chromeos/dbus/shill_profile_client_unittest.cc base::Bind(&ExpectDictionaryValueResultWithoutStatus, base 144 chromeos/dbus/shill_profile_client_unittest.cc base::DictionaryValue value; base 147 chromeos/dbus/shill_profile_client_unittest.cc base::Value::CreateStringValue(shill::kTypeWifi)); base 150 chromeos/dbus/shill_profile_client_unittest.cc base::Bind(&ExpectStringArgument, kExampleEntryPath), base 156 chromeos/dbus/shill_profile_client_unittest.cc base::Bind(&ExpectDictionaryValueResultWithoutStatus, base 169 chromeos/dbus/shill_profile_client_unittest.cc base::DictionaryValue value; base 171 chromeos/dbus/shill_profile_client_unittest.cc base::Value::CreateBooleanValue(true)); base 174 chromeos/dbus/shill_profile_client_unittest.cc base::Bind(&ExpectStringArgument, kExampleEntryPath), base 10 chromeos/dbus/shill_property_changed_observer.h namespace base { base 21 chromeos/dbus/shill_property_changed_observer.h const base::Value& value) = 0; base 49 chromeos/dbus/shill_service_client.cc base::DictionaryValue empty_dictionary; base 67 chromeos/dbus/shill_service_client.cc base::Bind(&base::DoNothing)); base 90 chromeos/dbus/shill_service_client.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS), base 91 chromeos/dbus/shill_service_client.cc base::Bind(&OnGetDictionaryError, "GetProperties", base 97 chromeos/dbus/shill_service_client.cc const base::Value& value, base 98 chromeos/dbus/shill_service_client.cc const base::Closure& callback, base 111 chromeos/dbus/shill_service_client.cc const base::DictionaryValue& properties, base 112 chromeos/dbus/shill_service_client.cc const base::Closure& callback, base 125 chromeos/dbus/shill_service_client.cc const base::Closure& callback, base 152 chromeos/dbus/shill_service_client.cc const base::Closure& callback, base 161 chromeos/dbus/shill_service_client.cc const base::Closure& callback, base 171 chromeos/dbus/shill_service_client.cc const base::Closure& callback, base 183 chromeos/dbus/shill_service_client.cc const base::Closure& callback, base 196 chromeos/dbus/shill_service_client.cc const base::Closure& callback, base 213 chromeos/dbus/shill_service_client.cc base::Bind(callback, DBUS_METHOD_CALL_SUCCESS), base 214 chromeos/dbus/shill_service_client.cc base::Bind(&OnGetDictionaryError, "GetLoadableProfileEntries", base 242 chromeos/dbus/shill_service_client.cc base::Bind(&ShillServiceClientImpl::NotifyReleased, base 266 chromeos/dbus/shill_service_client.cc object_path, base::Bind(&base::DoNothing)); base 273 chromeos/dbus/shill_service_client.cc base::WeakPtrFactory<ShillServiceClientImpl> weak_ptr_factory_; base 16 chromeos/dbus/shill_service_client.h namespace base { base 67 chromeos/dbus/shill_service_client.h const base::Value& value) = 0; base 70 chromeos/dbus/shill_service_client.h virtual const base::DictionaryValue* GetServiceProperties( base 77 chromeos/dbus/shill_service_client.h const base::Closure& behavior) = 0; base 107 chromeos/dbus/shill_service_client.h const base::Value& value, base 108 chromeos/dbus/shill_service_client.h const base::Closure& callback, base 114 chromeos/dbus/shill_service_client.h const base::DictionaryValue& properties, base 115 chromeos/dbus/shill_service_client.h const base::Closure& callback, base 122 chromeos/dbus/shill_service_client.h const base::Closure& callback, base 135 chromeos/dbus/shill_service_client.h const base::Closure& callback, base 141 chromeos/dbus/shill_service_client.h const base::Closure& callback, base 147 chromeos/dbus/shill_service_client.h const base::Closure& callback, base 155 chromeos/dbus/shill_service_client.h const base::Closure& callback, base 162 chromeos/dbus/shill_service_client.h const base::Closure& callback, base 60 chromeos/dbus/shill_service_client_unittest.cc const base::FundamentalValue value(kValue); base 101 chromeos/dbus/shill_service_client_unittest.cc base::DictionaryValue value; base 103 chromeos/dbus/shill_service_client_unittest.cc base::Value::CreateIntegerValue(kValue)); base 105 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectNoArgument), base 109 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectDictionaryValueResult, &value)); base 120 chromeos/dbus/shill_service_client_unittest.cc const base::StringValue value(kValue); base 122 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectStringAndValueArguments, base 146 chromeos/dbus/shill_service_client_unittest.cc scoped_ptr<base::DictionaryValue> arg(CreateExampleServiceProperties()); base 148 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectDictionaryValueArgument, arg.get()), base 171 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectStringArgument, base 203 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectArrayOfStringsArgument, keys), base 227 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectNoArgument), base 245 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectNoArgument), base 266 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectNoArgument), base 288 chromeos/dbus/shill_service_client_unittest.cc base::Bind(&ExpectStringArgument, kCarrier), base 47 chromeos/dbus/sms_client.cc base::Bind(&SMSClientImpl::OnGetAll, base 62 chromeos/dbus/sms_client.cc base::DictionaryValue empty_dictionary; base 67 chromeos/dbus/sms_client.cc scoped_ptr<base::Value> value(dbus::PopDataAsValue(&reader)); base 68 chromeos/dbus/sms_client.cc base::DictionaryValue* dictionary_value = NULL; base 71 chromeos/dbus/sms_client.cc base::DictionaryValue empty_dictionary; base 82 chromeos/dbus/sms_client.cc base::WeakPtrFactory<SMSClientImpl> weak_ptr_factory_; base 15 chromeos/dbus/sms_client.h namespace base { base 31 chromeos/dbus/sms_client.h typedef base::Callback<void(const base::DictionaryValue& sms)> GetAllCallback; base 47 chromeos/dbus/system_clock_client.cc base::Bind(&SystemClockClientImpl::TimeUpdatedReceived, base 49 chromeos/dbus/system_clock_client.cc base::Bind(&SystemClockClientImpl::TimeUpdatedConnected, base 74 chromeos/dbus/system_clock_client.cc base::WeakPtrFactory<SystemClockClientImpl> weak_ptr_factory_; base 108 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::OnRequestUpdateCheck, base 122 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::OnRebootAfterUpdate, base 137 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::OnRollback, base 152 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::OnCanRollbackCheck, base 181 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::OnSetChannel, base 198 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::OnGetChannel, base 215 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::StatusUpdateReceived, base 217 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::StatusUpdateConnected, base 235 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::OnGetStatus, base 237 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientImpl::OnGetStatusError, base 388 chromeos/dbus/update_engine_client.cc base::WeakPtrFactory<UpdateEngineClientImpl> weak_ptr_factory_; base 463 chromeos/dbus/update_engine_client.cc base::MessageLoop::current()->PostDelayedTask( base 465 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientFakeImpl::StateTransition, base 467 chromeos/dbus/update_engine_client.cc base::TimeDelta::FromMilliseconds(kStateTransitionDefaultDelayMs)); base 508 chromeos/dbus/update_engine_client.cc base::MessageLoop::current()->PostDelayedTask( base 510 chromeos/dbus/update_engine_client.cc base::Bind(&UpdateEngineClientFakeImpl::StateTransition, base 512 chromeos/dbus/update_engine_client.cc base::TimeDelta::FromMilliseconds(delay_ms)); base 519 chromeos/dbus/update_engine_client.cc base::WeakPtrFactory<UpdateEngineClientFakeImpl> weak_factory_; base 533 chromeos/dbus/update_engine_client.cc return base::Bind(&EmptyUpdateCheckCallbackBody); base 79 chromeos/dbus/update_engine_client.h typedef base::Callback<void(UpdateCheckResult)> UpdateCheckCallback; base 92 chromeos/dbus/update_engine_client.h typedef base::Callback<void(bool can_rollback)> RollbackCheckCallback; base 100 chromeos/dbus/update_engine_client.h typedef base::Callback<void(const std::string& channel_name)> base 22 chromeos/dbus/volume_state.cc base::StringAppendF(&result, base 25 chromeos/dbus/volume_state.cc base::StringAppendF(&result, base 28 chromeos/dbus/volume_state.cc base::StringAppendF(&result, base 31 chromeos/dbus/volume_state.cc base::StringAppendF(&result, base 34 chromeos/dbus/volume_state.cc base::StringAppendF(&result, base 35 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnMountEvent, base 37 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnMountCompleted, base 74 chromeos/disks/disk_mount_manager.cc base::Bind(&base::DoNothing), base 75 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnMountCompleted, base 89 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnUnmountPath, base 94 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnUnmountPath, base 120 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnUnmountPathForFormat, base 176 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnUnmountDeviceRecursively, base 181 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnUnmountDeviceRecursively, base 192 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnRequestMountInfo, base 194 chromeos/disks/disk_mount_manager.cc base::Bind(&base::DoNothing)); base 394 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnFormatDevice, base 397 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnFormatDevice, base 460 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnGetDeviceProperties, base 462 chromeos/disks/disk_mount_manager.cc base::Bind(&base::DoNothing)); base 486 chromeos/disks/disk_mount_manager.cc base::Bind(&DiskMountManagerImpl::OnGetDeviceProperties, base 488 chromeos/disks/disk_mount_manager.cc base::Bind(&base::DoNothing)); base 591 chromeos/disks/disk_mount_manager.cc return base::EmptyString(); base 599 chromeos/disks/disk_mount_manager.cc return base::EmptyString(); base 615 chromeos/disks/disk_mount_manager.cc base::WeakPtrFactory<DiskMountManagerImpl> weak_ptr_factory_; base 196 chromeos/disks/disk_mount_manager.h typedef base::Callback<void(bool)> UnmountDeviceRecursivelyCallbackType; base 199 chromeos/disks/disk_mount_manager.h typedef base::Callback<void(MountError error_code)> UnmountPathCallback; base 204 chromeos/disks/disk_mount_manager_unittest.cc base::MessageLoopForUI message_loop_; base 357 chromeos/disks/disk_mount_manager_unittest.cc base::Bind(&FakeCrosDisksClient::MakeUnmountFail, base 358 chromeos/disks/disk_mount_manager_unittest.cc base::Unretained(fake_cros_disks_client_))); base 39 chromeos/ime/component_extension_ime_manager.h base::FilePath path; base 56 chromeos/ime/component_extension_ime_manager.h const base::FilePath& path) = 0; base 60 chromeos/ime/component_extension_ime_manager.h const base::FilePath& path) = 0; base 33 chromeos/ime/component_extension_ime_manager_unittest.cc ext1.path = base::FilePath("ext1_file_path"); base 61 chromeos/ime/component_extension_ime_manager_unittest.cc ext2.path = base::FilePath("ext2_file_path"); base 91 chromeos/ime/component_extension_ime_manager_unittest.cc ext3.path = base::FilePath("ext3_file_path"); base 35 chromeos/ime/composition_text.h const base::string16& text() const { return text_; } base 36 chromeos/ime/composition_text.h void set_text(const base::string16& text) { text_ = text; } base 59 chromeos/ime/composition_text.h base::string16 text_; base 14 chromeos/ime/composition_text_unittest.cc const base::string16 kSampleText = base::UTF8ToUTF16("Sample Text"); base 79 chromeos/ime/extension_ime_util.h base::AutoReset<bool> auto_reset_; base 21 chromeos/ime/fake_input_method_delegate.cc base::string16 FakeInputMethodDelegate::GetLocalizedString( base 25 chromeos/ime/fake_input_method_delegate.cc return base::string16(); base 28 chromeos/ime/fake_input_method_delegate.cc base::string16 FakeInputMethodDelegate::GetDisplayLanguageName( base 32 chromeos/ime/fake_input_method_delegate.cc return base::string16(); base 21 chromeos/ime/fake_input_method_delegate.h typedef base::Callback<base::string16 (const std::string& language_code)> base 23 chromeos/ime/fake_input_method_delegate.h typedef base::Callback<base::string16 (int resource_id)> base 31 chromeos/ime/fake_input_method_delegate.h virtual base::string16 GetLocalizedString(int resource_id) const OVERRIDE; base 34 chromeos/ime/fake_input_method_delegate.h virtual base::string16 GetDisplayLanguageName( base 26 chromeos/ime/input_method_delegate.h virtual base::string16 GetLocalizedString(int resource_id) const = 0; base 36 chromeos/ime/input_method_delegate.h virtual base::string16 GetDisplayLanguageName( base 28 chromeos/ime/mock_component_extension_ime_manager_delegate.cc const base::FilePath& path) { base 35 chromeos/ime/mock_component_extension_ime_manager_delegate.cc const base::FilePath& path) { base 23 chromeos/ime/mock_component_extension_ime_manager_delegate.h const base::FilePath& path) OVERRIDE; base 25 chromeos/ime/mock_component_extension_ime_manager_delegate.h const base::FilePath& path) OVERRIDE; base 35 chromeos/ime/mock_component_extension_ime_manager_delegate.h const base::FilePath& last_loaded_file_path() const { base 38 chromeos/ime/mock_component_extension_ime_manager_delegate.h const base::FilePath& last_unloaded_file_path() const { base 50 chromeos/ime/mock_component_extension_ime_manager_delegate.h base::FilePath last_loaded_file_path_; base 51 chromeos/ime/mock_component_extension_ime_manager_delegate.h base::FilePath last_unloaded_file_path_; base 34 chromeos/ime/xkeyboard.cc return base::MessagePumpForUI::GetDefaultXDisplay(); base 151 chromeos/ime/xkeyboard.cc void PollUntilChildFinish(const base::ProcessHandle handle); base 168 chromeos/ime/xkeyboard.cc base::ThreadChecker thread_checker_; base 170 chromeos/ime/xkeyboard.cc base::WeakPtrFactory<XKeyboardImpl> weak_factory_; base 176 chromeos/ime/xkeyboard.cc : is_running_on_chrome_os_(base::SysInfo::IsRunningOnChromeOS()), base 284 chromeos/ime/xkeyboard.cc base::ProcessHandle handle = base::kNullProcessHandle; base 291 chromeos/ime/xkeyboard.cc if (!base::LaunchProcess(argv, base::LaunchOptions(), &handle)) { base 300 chromeos/ime/xkeyboard.cc << layout_to_set << ": pid=" << base::GetProcId(handle); base 304 chromeos/ime/xkeyboard.cc void XKeyboardImpl::PollUntilChildFinish(const base::ProcessHandle handle) { base 306 chromeos/ime/xkeyboard.cc DVLOG(1) << "PollUntilChildFinish: poll for pid=" << base::GetProcId(handle); base 307 chromeos/ime/xkeyboard.cc switch (base::GetTerminationStatus(handle, &exit_code)) { base 308 chromeos/ime/xkeyboard.cc case base::TERMINATION_STATUS_STILL_RUNNING: base 310 chromeos/ime/xkeyboard.cc base::MessageLoop::current()->PostDelayedTask( base 312 chromeos/ime/xkeyboard.cc base::Bind(&XKeyboardImpl::PollUntilChildFinish, base 314 chromeos/ime/xkeyboard.cc base::TimeDelta::FromMilliseconds(kSetLayoutCommandCheckDelayMs)); base 317 chromeos/ime/xkeyboard.cc case base::TERMINATION_STATUS_NORMAL_TERMINATION: base 322 chromeos/ime/xkeyboard.cc case base::TERMINATION_STATUS_ABNORMAL_TERMINATION: base 38 chromeos/ime/xkeyboard_unittest.cc base::MessageLoopForUI message_loop_; base 43 chromeos/ime/xkeyboard_unittest.cc return (base::MessagePumpForUI::GetDefaultXDisplay() != NULL); base 20 chromeos/login/login_state.cc return !base::SysInfo::IsRunningOnChromeOS() && base 24 chromeos/network/certificate_pattern.cc bool GetAsListOfStrings(const base::Value& value, base 26 chromeos/network/certificate_pattern.cc const base::ListValue* list = NULL; base 40 chromeos/network/certificate_pattern.cc base::ListValue* CreateListFromStrings( base 42 chromeos/network/certificate_pattern.cc base::ListValue* new_list = new base::ListValue; base 45 chromeos/network/certificate_pattern.cc new_list->Append(new base::StringValue(*iter)); base 81 chromeos/network/certificate_pattern.cc base::DictionaryValue* IssuerSubjectPattern::CreateAsDictionary() const { base 82 chromeos/network/certificate_pattern.cc base::DictionaryValue* dict = new base::DictionaryValue; base 95 chromeos/network/certificate_pattern.cc const base::DictionaryValue& dict) { base 129 chromeos/network/certificate_pattern.cc base::DictionaryValue* CertificatePattern::CreateAsDictionary() const { base 130 chromeos/network/certificate_pattern.cc base::DictionaryValue* dict = new base::DictionaryValue; base 148 chromeos/network/certificate_pattern.cc bool CertificatePattern::CopyFromDictionary(const base::DictionaryValue &dict) { base 149 chromeos/network/certificate_pattern.cc const base::DictionaryValue* child_dict = NULL; base 150 chromeos/network/certificate_pattern.cc const base::ListValue* child_list = NULL; base 13 chromeos/network/certificate_pattern.h namespace base { base 60 chromeos/network/certificate_pattern.h base::DictionaryValue* CreateAsDictionary() const; base 62 chromeos/network/certificate_pattern.h bool CopyFromDictionary(const base::DictionaryValue& dictionary); base 105 chromeos/network/certificate_pattern.h base::DictionaryValue* CreateAsDictionary() const; base 110 chromeos/network/certificate_pattern.h bool CopyFromDictionary(const base::DictionaryValue& dictionary); base 199 chromeos/network/client_cert_resolver.cc const base::DictionaryValue& network_config) { base 202 chromeos/network/client_cert_resolver.cc const base::DictionaryValue* wifi = NULL; base 206 chromeos/network/client_cert_resolver.cc const base::DictionaryValue* eap = NULL; base 213 chromeos/network/client_cert_resolver.cc const base::DictionaryValue* vpn = NULL; base 216 chromeos/network/client_cert_resolver.cc const base::DictionaryValue* openvpn = NULL; base 221 chromeos/network/client_cert_resolver.cc const base::DictionaryValue* ipsec = NULL; base 229 chromeos/network/client_cert_resolver.cc const base::DictionaryValue* ethernet = NULL; base 233 chromeos/network/client_cert_resolver.cc const base::DictionaryValue* eap = NULL; base 298 chromeos/network/client_cert_resolver.cc const scoped_refptr<base::TaskRunner>& task_runner) { base 379 chromeos/network/client_cert_resolver.cc const base::DictionaryValue* policy = base 417 chromeos/network/client_cert_resolver.cc base::TaskRunner* task_runner = slow_task_runner_for_test_.get(); base 419 chromeos/network/client_cert_resolver.cc task_runner = base::WorkerPool::GetTaskRunner(true /* task is slow */); base 424 chromeos/network/client_cert_resolver.cc base::Bind(&FindCertificateMatches, base 426 chromeos/network/client_cert_resolver.cc base::Owned(networks_with_pattern.release()), base 428 chromeos/network/client_cert_resolver.cc base::Bind(&ClientCertResolver::ConfigureCertificates, base 430 chromeos/network/client_cert_resolver.cc base::Owned(matches))); base 438 chromeos/network/client_cert_resolver.cc base::DictionaryValue shill_properties; base 441 chromeos/network/client_cert_resolver.cc base::IntToString(cert_loader->TPMTokenSlotID()), base 448 chromeos/network/client_cert_resolver.cc base::Bind(&base::DoNothing), base 449 chromeos/network/client_cert_resolver.cc base::Bind(&LogError, it->service_path)); base 20 chromeos/network/client_cert_resolver.h namespace base { base 48 chromeos/network/client_cert_resolver.h const scoped_refptr<base::TaskRunner>& task_runner); base 83 chromeos/network/client_cert_resolver.h scoped_refptr<base::TaskRunner> slow_task_runner_for_test_; base 85 chromeos/network/client_cert_resolver.h base::WeakPtrFactory<ClientCertResolver> weak_ptr_factory_; base 60 chromeos/network/client_cert_resolver_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()); base 66 chromeos/network/client_cert_resolver_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); base 74 chromeos/network/client_cert_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 76 chromeos/network/client_cert_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 120 chromeos/network/client_cert_resolver_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 130 chromeos/network/client_cert_resolver_unittest.cc module, pkcs12_data, base::string16(), false, &client_cert_list)); base 166 chromeos/network/client_cert_resolver_unittest.cc kWifiStub, shill::kGuidProperty, base::StringValue(kWifiStub)); base 192 chromeos/network/client_cert_resolver_unittest.cc base::StringPrintf(kTestPolicyTemplate, test_ca_cert_pem_.c_str()); base 195 chromeos/network/client_cert_resolver_unittest.cc scoped_ptr<base::Value> policy_value(base::JSONReader::ReadAndReturnError( base 196 chromeos/network/client_cert_resolver_unittest.cc policy_json, base::JSON_ALLOW_TRAILING_COMMAS, NULL, &error)); base 199 chromeos/network/client_cert_resolver_unittest.cc base::ListValue* policy = NULL; base 206 chromeos/network/client_cert_resolver_unittest.cc base::DictionaryValue() /* no global network config */); base 211 chromeos/network/client_cert_resolver_unittest.cc const base::DictionaryValue* properties = base 224 chromeos/network/client_cert_resolver_unittest.cc base::MessageLoop message_loop_; base 255 chromeos/network/client_cert_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 258 chromeos/network/client_cert_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 270 chromeos/network/client_cert_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 273 chromeos/network/client_cert_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 285 chromeos/network/client_cert_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 289 chromeos/network/client_cert_resolver_unittest.cc base::RunLoop().RunUntilIdle(); base 96 chromeos/network/client_cert_util.cc std::string GetStringFromDictionary(const base::DictionaryValue& dict, base 205 chromeos/network/client_cert_util.cc base::DictionaryValue* properties) { base 250 chromeos/network/client_cert_util.cc const base::DictionaryValue& service_properties) { base 252 chromeos/network/client_cert_util.cc const base::DictionaryValue* provider_properties = NULL; base 14 chromeos/network/client_cert_util.h namespace base { base 58 chromeos/network/client_cert_util.h base::DictionaryValue* properties); base 62 chromeos/network/client_cert_util.h const base::DictionaryValue& service_properties); base 29 chromeos/network/device_state.cc const base::Value& value) { base 44 chromeos/network/device_state.cc const base::DictionaryValue* dict = NULL; base 55 chromeos/network/device_state.cc home_provider_id_ = base::StringPrintf( base 71 chromeos/network/device_state.cc const base::ListValue* list = NULL; base 80 chromeos/network/device_state.cc const base::DictionaryValue* dict = NULL; base 86 chromeos/network/device_state.cc const base::Value* out_value = NULL; base 126 chromeos/network/device_state.cc const base::DictionaryValue& properties) { base 25 chromeos/network/device_state.h const base::Value& value) OVERRIDE; base 27 chromeos/network/device_state.h const base::DictionaryValue& properties) OVERRIDE; base 50 chromeos/network/device_state.h const base::DictionaryValue& properties() const { return properties_; } base 86 chromeos/network/device_state.h base::DictionaryValue properties_; base 48 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc base::string16* utf16_text, base 53 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc base::PostTaskAndReplyWithResult( base 56 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc base::Bind(&GetPacUrlFromDefaultNetwork), base 57 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc base::Bind(&DhcpProxyScriptFetcherChromeos::ContinueFetch, base 77 chromeos/network/dhcp_proxy_script_fetcher_chromeos.cc base::string16* utf16_text, base 33 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h virtual int Fetch(base::string16* utf16_text, base 40 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h void ContinueFetch(base::string16* utf16_text, base 46 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h scoped_refptr<base::MessageLoopProxy> network_handler_message_loop_; base 47 chromeos/network/dhcp_proxy_script_fetcher_chromeos.h base::WeakPtrFactory<DhcpProxyScriptFetcherChromeos> weak_ptr_factory_; base 21 chromeos/network/fake_network_device_handler.cc const base::Value& value, base 22 chromeos/network/fake_network_device_handler.cc const base::Closure& callback, base 27 chromeos/network/fake_network_device_handler.cc const base::Closure& callback, base 32 chromeos/network/fake_network_device_handler.cc const base::Closure& callback, base 38 chromeos/network/fake_network_device_handler.cc const base::Closure& callback, base 44 chromeos/network/fake_network_device_handler.cc const base::Closure& callback, base 51 chromeos/network/fake_network_device_handler.cc const base::Closure& callback, base 57 chromeos/network/fake_network_device_handler.cc const base::Closure& callback, base 64 chromeos/network/fake_network_device_handler.cc const base::Closure& callback, base 71 chromeos/network/fake_network_device_handler.cc const base::Closure& callback, base 31 chromeos/network/fake_network_device_handler.h const base::Value& value, base 32 chromeos/network/fake_network_device_handler.h const base::Closure& callback, base 37 chromeos/network/fake_network_device_handler.h const base::Closure& callback, base 41 chromeos/network/fake_network_device_handler.h const base::Closure& callback, base 48 chromeos/network/fake_network_device_handler.h const base::Closure& callback, base 53 chromeos/network/fake_network_device_handler.h const base::Closure& callback, base 60 chromeos/network/fake_network_device_handler.h const base::Closure& callback, base 66 chromeos/network/fake_network_device_handler.h const base::Closure& callback, base 73 chromeos/network/fake_network_device_handler.h const base::Closure& callback, base 80 chromeos/network/fake_network_device_handler.h const base::Closure& callback, base 27 chromeos/network/favorite_state.cc const base::Value& value) { base 49 chromeos/network/favorite_state.cc scoped_ptr<base::DictionaryValue> onc_dict(new base::DictionaryValue); base 70 chromeos/network/favorite_state.cc scoped_ptr<base::DictionaryValue> proxy_config_dict( base 32 chromeos/network/favorite_state.h const base::Value& value) OVERRIDE; base 37 chromeos/network/favorite_state.h const base::DictionaryValue& proxy_config() const { return proxy_config_; } base 39 chromeos/network/favorite_state.h const base::DictionaryValue& properties() const { return properties_; } base 54 chromeos/network/favorite_state.h base::DictionaryValue proxy_config_; base 59 chromeos/network/favorite_state.h base::DictionaryValue properties_; base 32 chromeos/network/geolocation_handler.cc base::Bind(&GeolocationHandler::ManagerPropertiesCallback, base 49 chromeos/network/geolocation_handler.cc base::TimeDelta dtime = base::Time::Now() - geolocation_received_time_; base 56 chromeos/network/geolocation_handler.cc const base::Value& value) { base 65 chromeos/network/geolocation_handler.cc const base::DictionaryValue& properties) { base 66 chromeos/network/geolocation_handler.cc const base::Value* value = NULL; base 72 chromeos/network/geolocation_handler.cc const base::Value& value) { base 75 chromeos/network/geolocation_handler.cc const base::ListValue* technologies = NULL; base 80 chromeos/network/geolocation_handler.cc for (base::ListValue::const_iterator iter = technologies->begin(); base 95 chromeos/network/geolocation_handler.cc base::Bind(&GeolocationHandler::GeolocationCallback, base 101 chromeos/network/geolocation_handler.cc const base::DictionaryValue& properties) { base 111 chromeos/network/geolocation_handler.cc for (base::DictionaryValue::Iterator iter(properties); base 113 chromeos/network/geolocation_handler.cc const base::ListValue* entry_list = NULL; base 120 chromeos/network/geolocation_handler.cc const base::DictionaryValue* entry = NULL; base 131 chromeos/network/geolocation_handler.cc if (base::StringToInt64(age_str, &age_ms)) { base 133 chromeos/network/geolocation_handler.cc base::Time::Now() - base::TimeDelta::FromMilliseconds(age_ms); base 138 chromeos/network/geolocation_handler.cc base::StringToInt(strength_str, &wap.signal_strength); base 141 chromeos/network/geolocation_handler.cc base::StringToInt(signal_str, &wap.signal_to_noise); base 144 chromeos/network/geolocation_handler.cc base::StringToInt(channel_str, &wap.channel); base 148 chromeos/network/geolocation_handler.cc geolocation_received_time_ = base::Time::Now(); base 15 chromeos/network/geolocation_handler.h namespace base { base 46 chromeos/network/geolocation_handler.h const base::Value& value) OVERRIDE; base 57 chromeos/network/geolocation_handler.h const base::DictionaryValue& properties); base 60 chromeos/network/geolocation_handler.h void HandlePropertyChanged(const std::string& key, const base::Value& value); base 67 chromeos/network/geolocation_handler.h const base::DictionaryValue& properties); base 74 chromeos/network/geolocation_handler.h base::Time geolocation_received_time_; base 77 chromeos/network/geolocation_handler.h base::WeakPtrFactory<GeolocationHandler> weak_ptr_factory_; base 48 chromeos/network/geolocation_handler_unittest.cc base::DictionaryValue properties; base 50 chromeos/network/geolocation_handler_unittest.cc base::StringPrintf("%02X:%02X:%02X:%02X:%02X:%02X", base 52 chromeos/network/geolocation_handler_unittest.cc std::string channel = base::StringPrintf("%d", idx); base 53 chromeos/network/geolocation_handler_unittest.cc std::string strength = base::StringPrintf("%d", idx * 10); base 65 chromeos/network/geolocation_handler_unittest.cc base::MessageLoopForUI message_loop_; base 19 chromeos/network/managed_network_configuration_handler.h namespace base { base 81 chromeos/network/managed_network_configuration_handler.h const base::DictionaryValue& user_settings, base 82 chromeos/network/managed_network_configuration_handler.h const base::Closure& callback, base 92 chromeos/network/managed_network_configuration_handler.h const base::DictionaryValue& properties, base 101 chromeos/network/managed_network_configuration_handler.h const base::Closure& callback, base 113 chromeos/network/managed_network_configuration_handler.h const base::ListValue& network_configs_onc, base 114 chromeos/network/managed_network_configuration_handler.h const base::DictionaryValue& global_network_config) = 0; base 119 chromeos/network/managed_network_configuration_handler.h virtual const base::DictionaryValue* FindPolicyByGUID( base 126 chromeos/network/managed_network_configuration_handler.h virtual const base::DictionaryValue* GetGlobalConfigFromPolicy( base 131 chromeos/network/managed_network_configuration_handler.h virtual const base::DictionaryValue* FindPolicyByGuidAndProfile( base 42 chromeos/network/managed_network_configuration_handler_impl.cc typedef std::map<std::string, const base::DictionaryValue*> GuidToPolicyMap; base 71 chromeos/network/managed_network_configuration_handler_impl.cc scoped_ptr<base::DictionaryValue> error_data) { base 78 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* GetByGUID(const GuidToPolicyMap& policies, base 89 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue& shill_properties) { base 90 chromeos/network/managed_network_configuration_handler_impl.cc scoped_ptr<base::DictionaryValue> onc_network( base 103 chromeos/network/managed_network_configuration_handler_impl.cc base::DictionaryValue global_network_config; base 131 chromeos/network/managed_network_configuration_handler_impl.cc base::Bind( base 143 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue& shill_properties) { base 155 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* user_settings = NULL; base 156 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* shared_settings = NULL; base 172 chromeos/network/managed_network_configuration_handler_impl.cc scoped_ptr<base::DictionaryValue> active_settings( base 181 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* user_policy = NULL; base 182 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* device_policy = NULL; base 190 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* policy = base 201 chromeos/network/managed_network_configuration_handler_impl.cc scoped_ptr<base::DictionaryValue> augmented_properties = base 218 chromeos/network/managed_network_configuration_handler_impl.cc base::Bind(&TranslatePropertiesToOncAndRunCallback, callback), base 224 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue& user_settings, base 225 chromeos/network/managed_network_configuration_handler_impl.cc const base::Closure& callback, base 270 chromeos/network/managed_network_configuration_handler_impl.cc scoped_ptr<base::DictionaryValue> validated_user_settings = base 283 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* policy = base 287 chromeos/network/managed_network_configuration_handler_impl.cc scoped_ptr<base::DictionaryValue> shill_dictionary( base 297 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue& properties, base 325 chromeos/network/managed_network_configuration_handler_impl.cc std::string guid = base::GenerateGUID(); base 326 chromeos/network/managed_network_configuration_handler_impl.cc scoped_ptr<base::DictionaryValue> shill_dictionary( base 336 chromeos/network/managed_network_configuration_handler_impl.cc const base::Closure& callback, base 345 chromeos/network/managed_network_configuration_handler_impl.cc const base::ListValue& network_configs_onc, base 346 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue& global_network_config) { base 369 chromeos/network/managed_network_configuration_handler_impl.cc for (base::ListValue::const_iterator it = network_configs_onc.begin(); base 371 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* network = NULL; base 384 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* new_entry = network->DeepCopy(); base 387 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* old_entry = old_per_network_config[guid]; base 444 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue& shill_properties) { base 447 chromeos/network/managed_network_configuration_handler_impl.cc base::Bind( base 450 chromeos/network/managed_network_configuration_handler_impl.cc base::Bind(&LogErrorWithDict, FROM_HERE)); base 455 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue& existing_properties, base 456 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue& new_properties) { base 457 chromeos/network/managed_network_configuration_handler_impl.cc base::DictionaryValue shill_properties; base 482 chromeos/network/managed_network_configuration_handler_impl.cc base::Bind( base 485 chromeos/network/managed_network_configuration_handler_impl.cc base::Bind(&LogErrorWithDict, FROM_HERE)); base 494 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* base 504 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* policy = base 515 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* policy = base 526 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* base 535 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* base 21 chromeos/network/managed_network_configuration_handler_impl.h namespace base { base 56 chromeos/network/managed_network_configuration_handler_impl.h const base::DictionaryValue& user_settings, base 57 chromeos/network/managed_network_configuration_handler_impl.h const base::Closure& callback, base 62 chromeos/network/managed_network_configuration_handler_impl.h const base::DictionaryValue& properties, base 68 chromeos/network/managed_network_configuration_handler_impl.h const base::Closure& callback, base 74 chromeos/network/managed_network_configuration_handler_impl.h const base::ListValue& network_configs_onc, base 75 chromeos/network/managed_network_configuration_handler_impl.h const base::DictionaryValue& global_network_config) OVERRIDE; base 77 chromeos/network/managed_network_configuration_handler_impl.h virtual const base::DictionaryValue* FindPolicyByGUID( base 82 chromeos/network/managed_network_configuration_handler_impl.h virtual const base::DictionaryValue* GetGlobalConfigFromPolicy( base 85 chromeos/network/managed_network_configuration_handler_impl.h virtual const base::DictionaryValue* FindPolicyByGuidAndProfile( base 95 chromeos/network/managed_network_configuration_handler_impl.h const base::DictionaryValue& shill_properties) OVERRIDE; base 98 chromeos/network/managed_network_configuration_handler_impl.h const base::DictionaryValue& existing_properties, base 99 chromeos/network/managed_network_configuration_handler_impl.h const base::DictionaryValue& new_properties) OVERRIDE; base 121 chromeos/network/managed_network_configuration_handler_impl.h const base::DictionaryValue& shill_properties); base 139 chromeos/network/managed_network_configuration_handler_impl.h base::WeakPtrFactory<ManagedNetworkConfigurationHandlerImpl> base 45 chromeos/network/managed_network_configuration_handler_unittest.cc std::string ValueToString(const base::Value* value) { base 73 chromeos/network/managed_network_configuration_handler_unittest.cc base::DictionaryValue* profile = new base::DictionaryValue; base 80 chromeos/network/managed_network_configuration_handler_unittest.cc const base::DictionaryValue& entry) { base 81 chromeos/network/managed_network_configuration_handler_unittest.cc base::DictionaryValue* entries = NULL; base 85 chromeos/network/managed_network_configuration_handler_unittest.cc base::DictionaryValue* new_entry = entry.DeepCopy(); base 94 chromeos/network/managed_network_configuration_handler_unittest.cc base::DictionaryValue* entries = NULL; base 99 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 100 chromeos/network/managed_network_configuration_handler_unittest.cc base::ListValue* entry_paths = new base::ListValue; base 102 chromeos/network/managed_network_configuration_handler_unittest.cc for (base::DictionaryValue::Iterator it(*entries); !it.IsAtEnd(); base 118 chromeos/network/managed_network_configuration_handler_unittest.cc base::DictionaryValue* entries = NULL; base 123 chromeos/network/managed_network_configuration_handler_unittest.cc base::DictionaryValue* entry = NULL; base 130 chromeos/network/managed_network_configuration_handler_unittest.cc base::DictionaryValue profile_entries_; base 221 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> entry = base 229 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> policy; base 235 chromeos/network/managed_network_configuration_handler_unittest.cc base::ListValue empty_network_configs; base 236 chromeos/network/managed_network_configuration_handler_unittest.cc base::ListValue* network_configs = &empty_network_configs; base 240 chromeos/network/managed_network_configuration_handler_unittest.cc base::DictionaryValue empty_global_config; base 241 chromeos/network/managed_network_configuration_handler_unittest.cc base::DictionaryValue* global_network_config = &empty_global_config; base 271 chromeos/network/managed_network_configuration_handler_unittest.cc base::MessageLoop message_loop_; base 284 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 305 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 327 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 393 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 426 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 457 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 493 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 586 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 613 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 635 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> expected_shill_properties = base 665 chromeos/network/managed_network_configuration_handler_unittest.cc base::MessageLoop::current()->PostTask( base 667 chromeos/network/managed_network_configuration_handler_unittest.cc base::Bind(ManagedNetworkConfigurationHandlerShutdownTest:: base 674 chromeos/network/managed_network_configuration_handler_unittest.cc callback.Run(base::DictionaryValue()); base 76 chromeos/network/managed_state.cc const base::DictionaryValue& properties) { base 81 chromeos/network/managed_state.cc const base::Value& value) { base 91 chromeos/network/managed_state.cc const base::Value& value, base 105 chromeos/network/managed_state.cc const base::Value& value, base 119 chromeos/network/managed_state.cc const base::Value& value, base 133 chromeos/network/managed_state.cc const base::Value& value, base 14 chromeos/network/managed_state.h namespace base { base 57 chromeos/network/managed_state.h const base::Value& value) = 0; base 65 chromeos/network/managed_state.h const base::DictionaryValue& properties); base 87 chromeos/network/managed_state.h const base::Value& value); base 92 chromeos/network/managed_state.h const base::Value& value, base 95 chromeos/network/managed_state.h const base::Value& value, base 98 chromeos/network/managed_state.h const base::Value& value, base 101 chromeos/network/managed_state.h const base::Value& value, base 38 chromeos/network/mock_managed_network_configuration_handler.h const base::DictionaryValue& user_settings, base 39 chromeos/network/mock_managed_network_configuration_handler.h const base::Closure& callback, base 44 chromeos/network/mock_managed_network_configuration_handler.h const base::DictionaryValue& properties, base 50 chromeos/network/mock_managed_network_configuration_handler.h const base::Closure& callback, base 55 chromeos/network/mock_managed_network_configuration_handler.h const base::ListValue& network_configs_onc, base 56 chromeos/network/mock_managed_network_configuration_handler.h const base::DictionaryValue& global_network_config)); base 58 chromeos/network/mock_managed_network_configuration_handler.h const base::DictionaryValue*( base 63 chromeos/network/mock_managed_network_configuration_handler.h const base::DictionaryValue*(const std::string userhash)); base 66 chromeos/network/mock_managed_network_configuration_handler.h const base::DictionaryValue*(const std::string& guid, base 26 chromeos/network/network_activation_handler.cc const base::Closure& success_callback, base 34 chromeos/network/network_activation_handler.cc const base::Closure& success_callback, base 43 chromeos/network/network_activation_handler.cc const base::Closure& success_callback, base 49 chromeos/network/network_activation_handler.cc base::Bind(&NetworkActivationHandler::HandleShillSuccess, base 51 chromeos/network/network_activation_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 57 chromeos/network/network_activation_handler.cc const base::Closure& success_callback, base 62 chromeos/network/network_activation_handler.cc base::Bind(&NetworkActivationHandler::HandleShillSuccess, base 64 chromeos/network/network_activation_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 70 chromeos/network/network_activation_handler.cc const base::Closure& success_callback) { base 20 chromeos/network/network_activation_handler.h : public base::SupportsWeakPtr<NetworkActivationHandler> { base 38 chromeos/network/network_activation_handler.h const base::Closure& success_callback, base 48 chromeos/network/network_activation_handler.h const base::Closure& success_callback, base 59 chromeos/network/network_activation_handler.h const base::Closure& success_callback, base 65 chromeos/network/network_activation_handler.h const base::Closure& success_callback, base 71 chromeos/network/network_activation_handler.h const base::Closure& success_callback); base 54 chromeos/network/network_cert_migrator.cc : public base::RefCounted<MigrationTask> { base 57 chromeos/network/network_cert_migrator.cc const base::WeakPtr<NetworkCertMigrator>& cert_migrator) base 72 chromeos/network/network_cert_migrator.cc base::Bind(&network_handler::GetPropertiesCallback, base 73 chromeos/network/network_cert_migrator.cc base::Bind(&MigrationTask::MigrateNetwork, this), base 80 chromeos/network/network_cert_migrator.cc const base::DictionaryValue& properties) { base 87 chromeos/network/network_cert_migrator.cc const base::ListValue* pem_property = NULL; base 123 chromeos/network/network_cert_migrator.cc void GetNssAndPemProperties(const base::DictionaryValue& shill_properties, base 126 chromeos/network/network_cert_migrator.cc const base::ListValue** pem_property, base 144 chromeos/network/network_cert_migrator.cc const base::DictionaryValue* dict = &shill_properties; base 167 chromeos/network/network_cert_migrator.cc base::StringValue(std::string()), base 168 chromeos/network/network_cert_migrator.cc base::Bind( base 170 chromeos/network/network_cert_migrator.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 190 chromeos/network/network_cert_migrator.cc base::DictionaryValue new_properties; base 192 chromeos/network/network_cert_migrator.cc scoped_ptr<base::ListValue> ca_cert_pems(new base::ListValue); base 199 chromeos/network/network_cert_migrator.cc base::Bind( base 201 chromeos/network/network_cert_migrator.cc base::Bind(&MigrationTask::LogErrorAndNotifyNetworkStateHandler, base 233 chromeos/network/network_cert_migrator.cc base::WeakPtr<NetworkCertMigrator> cert_migrator_; base 43 chromeos/network/network_cert_migrator.h base::WeakPtrFactory<NetworkCertMigrator> weak_ptr_factory_; base 54 chromeos/network/network_cert_migrator_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); base 60 chromeos/network/network_cert_migrator_unittest.cc base::RunLoop().RunUntilIdle(); base 62 chromeos/network/network_cert_migrator_unittest.cc base::RunLoop().RunUntilIdle(); base 118 chromeos/network/network_cert_migrator_unittest.cc base::StringValue(kNSSNickname)); base 124 chromeos/network/network_cert_migrator_unittest.cc const base::DictionaryValue* properties = base 128 chromeos/network/network_cert_migrator_unittest.cc const base::ListValue* ca_pems = NULL; base 144 chromeos/network/network_cert_migrator_unittest.cc base::DictionaryValue provider; base 157 chromeos/network/network_cert_migrator_unittest.cc const base::DictionaryValue* properties = base 159 chromeos/network/network_cert_migrator_unittest.cc const base::DictionaryValue* provider = NULL; base 167 chromeos/network/network_cert_migrator_unittest.cc const base::ListValue* ca_pems = NULL; base 178 chromeos/network/network_cert_migrator_unittest.cc base::MessageLoop message_loop_; base 199 chromeos/network/network_cert_migrator_unittest.cc base::RunLoop().RunUntilIdle(); base 209 chromeos/network/network_cert_migrator_unittest.cc base::RunLoop().RunUntilIdle(); base 214 chromeos/network/network_cert_migrator_unittest.cc base::RunLoop().RunUntilIdle(); base 224 chromeos/network/network_cert_migrator_unittest.cc base::ListValue ca_pems; base 231 chromeos/network/network_cert_migrator_unittest.cc base::RunLoop().RunUntilIdle(); base 246 chromeos/network/network_cert_migrator_unittest.cc base::RunLoop().RunUntilIdle(); base 260 chromeos/network/network_cert_migrator_unittest.cc base::RunLoop().RunUntilIdle(); base 68 chromeos/network/network_change_notifier_chromeos.cc base::Bind(net::NetworkChangeNotifier::SetDnsConfig)); base 88 chromeos/network/network_change_notifier_chromeos.cc const base::TimeDelta& sleep_duration) { base 143 chromeos/network/network_change_notifier_chromeos.cc base::StringPrintf("%s -> %s", base 151 chromeos/network/network_change_notifier_chromeos.cc base::StringPrintf("%s -> %s", base 173 chromeos/network/network_change_notifier_chromeos.cc base::StringPrintf("%s%s", base 176 chromeos/network/network_change_notifier_chromeos.cc base::StringPrintf("%s -> %s", base 183 chromeos/network/network_change_notifier_chromeos.cc base::StringPrintf( base 231 chromeos/network/network_change_notifier_chromeos.cc params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(4000); base 232 chromeos/network/network_change_notifier_chromeos.cc params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(1000); base 234 chromeos/network/network_change_notifier_chromeos.cc base::TimeDelta::FromMilliseconds(500); base 235 chromeos/network/network_change_notifier_chromeos.cc params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500); base 39 chromeos/network/network_change_notifier_chromeos.h virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE; base 114 chromeos/network/network_change_notifier_chromeos_unittest.cc base::SplitString(notifier_state.dns_servers, ',', &dns_servers); base 123 chromeos/network/network_change_notifier_chromeos_unittest.cc base::SplitString(notifier_state.dns_servers, ',', &dns_servers); base 140 chromeos/network/network_change_notifier_chromeos_unittest.cc base::SplitString(default_network_state.dns_servers, ',', &dns_servers); base 55 chromeos/network/network_configuration_handler.cc const base::DictionaryValue& properties) { base 69 chromeos/network/network_configuration_handler.cc scoped_ptr<base::DictionaryValue> properties_copy(properties.DeepCopy()); base 91 chromeos/network/network_configuration_handler.cc const base::DictionaryValue& properties) { base 92 chromeos/network/network_configuration_handler.cc for (base::DictionaryValue::Iterator iter(properties); base 96 chromeos/network/network_configuration_handler.cc base::JSONWriter::Write(&iter.value(), &v); base 108 chromeos/network/network_configuration_handler.cc : public base::SupportsWeakPtr<ProfileEntryDeleter> { base 112 chromeos/network/network_configuration_handler.cc const base::Closure& callback, base 124 chromeos/network/network_configuration_handler.cc base::Bind(&ProfileEntryDeleter::GetProfileEntriesToDeleteCallback, base 131 chromeos/network/network_configuration_handler.cc const base::DictionaryValue& profile_entries) { base 139 chromeos/network/network_configuration_handler.cc for (base::DictionaryValue::Iterator iter(profile_entries); base 145 chromeos/network/network_configuration_handler.cc NET_LOG_ERROR("Failed to parse Profile Entry", base::StringPrintf( base 150 chromeos/network/network_configuration_handler.cc NET_LOG_ERROR("Multiple Profile Entries", base::StringPrintf( base 154 chromeos/network/network_configuration_handler.cc NET_LOG_DEBUG("Delete Profile Entry", base::StringPrintf( base 160 chromeos/network/network_configuration_handler.cc base::Bind(&ProfileEntryDeleter::ProfileEntryDeletedCallback, base 162 chromeos/network/network_configuration_handler.cc base::Bind(&ProfileEntryDeleter::ShillErrorCallback, base 169 chromeos/network/network_configuration_handler.cc NET_LOG_DEBUG("Profile Entry Deleted", base::StringPrintf( base 197 chromeos/network/network_configuration_handler.cc base::Closure callback_; base 214 chromeos/network/network_configuration_handler.cc base::Bind(&GetPropertiesCallback, base 220 chromeos/network/network_configuration_handler.cc const base::DictionaryValue& properties, base 221 chromeos/network/network_configuration_handler.cc const base::Closure& callback, base 234 chromeos/network/network_configuration_handler.cc base::Bind(&NetworkConfigurationHandler::SetPropertiesSuccessCallback, base 236 chromeos/network/network_configuration_handler.cc base::Bind(&NetworkConfigurationHandler::SetPropertiesErrorCallback, base 243 chromeos/network/network_configuration_handler.cc const base::Closure& callback, base 258 chromeos/network/network_configuration_handler.cc base::Bind(&NetworkConfigurationHandler::ClearPropertiesSuccessCallback, base 260 chromeos/network/network_configuration_handler.cc base::Bind(&NetworkConfigurationHandler::ClearPropertiesErrorCallback, base 265 chromeos/network/network_configuration_handler.cc const base::DictionaryValue& properties, base 292 chromeos/network/network_configuration_handler.cc base::Bind(&NetworkConfigurationHandler::RunCreateNetworkCallback, base 295 chromeos/network/network_configuration_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 303 chromeos/network/network_configuration_handler.cc const base::Closure& callback, base 322 chromeos/network/network_configuration_handler.cc const base::Closure& callback, base 325 chromeos/network/network_configuration_handler.cc base::StringValue profile_path_value(profile_path); base 331 chromeos/network/network_configuration_handler.cc base::Bind(&SetNetworkProfileErrorCallback, base 374 chromeos/network/network_configuration_handler.cc const base::Closure& callback) { base 396 chromeos/network/network_configuration_handler.cc const base::Closure& callback, base 398 chromeos/network/network_configuration_handler.cc const base::ListValue& result) { base 415 chromeos/network/network_configuration_handler.cc scoped_ptr<base::DictionaryValue> error_data( base 418 chromeos/network/network_configuration_handler.cc base::StringPrintf("Errors: %" PRIuS, result.GetSize()))); base 420 chromeos/network/network_configuration_handler.cc scoped_ptr<base::ListValue> name_list(new base::ListValue); base 22 chromeos/network/network_configuration_handler.h namespace base { base 53 chromeos/network/network_configuration_handler.h : public base::SupportsWeakPtr<NetworkConfigurationHandler> { base 70 chromeos/network/network_configuration_handler.h const base::DictionaryValue& properties, base 71 chromeos/network/network_configuration_handler.h const base::Closure& callback, base 82 chromeos/network/network_configuration_handler.h const base::Closure& callback, base 92 chromeos/network/network_configuration_handler.h const base::DictionaryValue& properties, base 100 chromeos/network/network_configuration_handler.h const base::Closure& callback, base 107 chromeos/network/network_configuration_handler.h const base::Closure& callback, base 138 chromeos/network/network_configuration_handler.h const base::Closure& callback); base 150 chromeos/network/network_configuration_handler.h const base::Closure& callback, base 152 chromeos/network/network_configuration_handler.h const base::ListValue& result); base 40 chromeos/network/network_configuration_handler_unittest.cc static std::string PrettyJson(const base::DictionaryValue& value) { base 42 chromeos/network/network_configuration_handler_unittest.cc base::JSONWriter::WriteWithOptions(&value, base 43 chromeos/network/network_configuration_handler_unittest.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 52 chromeos/network/network_configuration_handler_unittest.cc const base::DictionaryValue& dictionary) { base 61 chromeos/network/network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> error_data) { base 145 chromeos/network/network_configuration_handler_unittest.cc const base::DictionaryValue& properties, base 146 chromeos/network/network_configuration_handler_unittest.cc const base::Closure& callback, base 157 chromeos/network/network_configuration_handler_unittest.cc base::ListValue result; base 169 chromeos/network/network_configuration_handler_unittest.cc base::ListValue result; base 176 chromeos/network/network_configuration_handler_unittest.cc const base::DictionaryValue& properties, base 185 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue entries; base 193 chromeos/network/network_configuration_handler_unittest.cc const base::Closure& callback, base 210 chromeos/network/network_configuration_handler_unittest.cc base::MessageLoopForUI message_loop_; base 211 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue* dictionary_value_result_; base 219 chromeos/network/network_configuration_handler_unittest.cc scoped_ptr<base::StringValue> networkNameValue( base 220 chromeos/network/network_configuration_handler_unittest.cc base::Value::CreateStringValue(networkName)); base 222 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue value; base 223 chromeos/network/network_configuration_handler_unittest.cc value.Set(key, base::Value::CreateStringValue(networkName)); base 231 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&base::DoNothing), base 232 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&DBusErrorCallback)); base 242 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&DictionaryValueCallback, base 245 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 253 chromeos/network/network_configuration_handler_unittest.cc scoped_ptr<base::StringValue> networkNameValue( base 254 chromeos/network/network_configuration_handler_unittest.cc base::Value::CreateStringValue(networkName)); base 256 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue value; base 257 chromeos/network/network_configuration_handler_unittest.cc value.Set(key, base::Value::CreateStringValue(networkName)); base 266 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&base::DoNothing), base 267 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 275 chromeos/network/network_configuration_handler_unittest.cc scoped_ptr<base::StringValue> networkNameValue( base 276 chromeos/network/network_configuration_handler_unittest.cc base::Value::CreateStringValue(networkName)); base 279 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue value; base 280 chromeos/network/network_configuration_handler_unittest.cc value.Set(key, base::Value::CreateStringValue(networkName)); base 289 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&base::DoNothing), base 290 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 303 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&base::DoNothing), base 304 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 312 chromeos/network/network_configuration_handler_unittest.cc scoped_ptr<base::StringValue> networkNameValue( base 313 chromeos/network/network_configuration_handler_unittest.cc base::Value::CreateStringValue(networkName)); base 316 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue value; base 317 chromeos/network/network_configuration_handler_unittest.cc value.Set(key, base::Value::CreateStringValue(networkName)); base 326 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&base::DoNothing), base 327 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 341 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&base::DoNothing), base 342 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, true, service_path)); base 351 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue value; base 354 chromeos/network/network_configuration_handler_unittest.cc base::Value::CreateStringValue(type)); base 356 chromeos/network/network_configuration_handler_unittest.cc base::Value::CreateStringValue(profile)); base 364 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&StringResultCallback, std::string("/service/2")), base 365 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, std::string())); base 386 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&TestCallback::Run, base::Unretained(&test_callback)), base 387 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 464 chromeos/network/network_configuration_handler_unittest.cc const base::DictionaryValue& dictionary) { base 479 chromeos/network/network_configuration_handler_unittest.cc const base::DictionaryValue* properties = base 500 chromeos/network/network_configuration_handler_unittest.cc base::MessageLoopForUI message_loop_; base 503 chromeos/network/network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> get_properties_; base 514 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue properties_to_set; base 522 chromeos/network/network_configuration_handler_unittest.cc base::Bind( base 524 chromeos/network/network_configuration_handler_unittest.cc base::Unretained(this), "SetProperties"), base 525 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 545 chromeos/network/network_configuration_handler_unittest.cc base::Bind( base 547 chromeos/network/network_configuration_handler_unittest.cc base::Unretained(this), "ClearProperties"), base 548 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 566 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue properties_to_set; base 572 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&base::DoNothing), base 573 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 583 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&NetworkConfigurationHandlerStubTest::GetPropertiesCallback, base 584 chromeos/network/network_configuration_handler_unittest.cc base::Unretained(this)), base 585 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 597 chromeos/network/network_configuration_handler_unittest.cc base::DictionaryValue properties; base 610 chromeos/network/network_configuration_handler_unittest.cc base::Bind( base 612 chromeos/network/network_configuration_handler_unittest.cc base::Unretained(this)), base 613 chromeos/network/network_configuration_handler_unittest.cc base::Bind(&ErrorCallback, false, service_path)); base 52 chromeos/network/network_connection_handler.cc const base::DictionaryValue& provider_properties) { base 128 chromeos/network/network_connection_handler.cc const base::Closure& success, base 144 chromeos/network/network_connection_handler.cc base::Closure success_callback; base 171 chromeos/network/network_connection_handler.cc logged_in_time_ = base::TimeTicks::Now(); base 198 chromeos/network/network_connection_handler.cc logged_in_time_ = base::TimeTicks::Now(); base 217 chromeos/network/network_connection_handler.cc const base::Closure& success_callback, base 291 chromeos/network/network_connection_handler.cc base::Bind(&NetworkConnectionHandler::VerifyConfiguredAndConnect, base 293 chromeos/network/network_connection_handler.cc base::Bind(&NetworkConnectionHandler::HandleConfigurationFailure, base 299 chromeos/network/network_connection_handler.cc const base::Closure& success_callback, base 346 chromeos/network/network_connection_handler.cc const base::DictionaryValue& service_properties) { base 377 chromeos/network/network_connection_handler.cc const base::DictionaryValue* provider_properties = NULL; base 421 chromeos/network/network_connection_handler.cc base::DictionaryValue config_properties; base 469 chromeos/network/network_connection_handler.cc base::IntToString(cert_loader_->TPMTokenSlotID()), base 500 chromeos/network/network_connection_handler.cc base::Bind(&NetworkConnectionHandler::CallShillConnect, base 503 chromeos/network/network_connection_handler.cc base::Bind(&NetworkConnectionHandler::HandleConfigurationFailure, base 528 chromeos/network/network_connection_handler.cc base::TimeDelta dtime = base::TimeTicks::Now() - logged_in_time_; base 529 chromeos/network/network_connection_handler.cc if (dtime > base::TimeDelta::FromSeconds(kMaxCertLoadTimeSeconds)) { base 546 chromeos/network/network_connection_handler.cc base::MessageLoopProxy::current()->PostDelayedTask( base 548 chromeos/network/network_connection_handler.cc base::Bind(&NetworkConnectionHandler::CheckCertificatesLoaded, base 550 chromeos/network/network_connection_handler.cc base::TimeDelta::FromSeconds(kMaxCertLoadTimeSeconds) - dtime); base 574 chromeos/network/network_connection_handler.cc base::Closure success_callback = queued_connect_->success_callback; base 589 chromeos/network/network_connection_handler.cc base::Bind(&NetworkConnectionHandler::HandleShillConnectSuccess, base 591 chromeos/network/network_connection_handler.cc base::Bind(&NetworkConnectionHandler::HandleShillConnectFailure, base 598 chromeos/network/network_connection_handler.cc scoped_ptr<base::DictionaryValue> error_data) { base 666 chromeos/network/network_connection_handler.cc base::Bind(&base::DoNothing), base 742 chromeos/network/network_connection_handler.cc const base::Closure& success_callback, base 747 chromeos/network/network_connection_handler.cc base::Bind(&NetworkConnectionHandler::HandleShillDisconnectSuccess, base 749 chromeos/network/network_connection_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 755 chromeos/network/network_connection_handler.cc const base::Closure& success_callback) { base 49 chromeos/network/network_connection_handler.h public base::SupportsWeakPtr<NetworkConnectionHandler> { base 106 chromeos/network/network_connection_handler.h const base::Closure& success_callback, base 118 chromeos/network/network_connection_handler.h const base::Closure& success_callback, base 159 chromeos/network/network_connection_handler.h const base::DictionaryValue& properties); base 179 chromeos/network/network_connection_handler.h scoped_ptr<base::DictionaryValue> error_data); base 199 chromeos/network/network_connection_handler.h const base::Closure& success_callback, base 204 chromeos/network/network_connection_handler.h const base::Closure& success_callback); base 220 chromeos/network/network_connection_handler.h base::TimeTicks logged_in_time_; base 62 chromeos/network/network_connection_handler_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); base 73 chromeos/network/network_connection_handler_unittest.cc base::RunLoop().RunUntilIdle(); base 76 chromeos/network/network_connection_handler_unittest.cc base::RunLoop().RunUntilIdle(); base 100 chromeos/network/network_connection_handler_unittest.cc scoped_ptr<base::DictionaryValue> json_dict = base 108 chromeos/network/network_connection_handler_unittest.cc base::Bind(&ConfigureCallback), base 109 chromeos/network/network_connection_handler_unittest.cc base::Bind(&ConfigureErrorCallback)); base 110 chromeos/network/network_connection_handler_unittest.cc base::RunLoop().RunUntilIdle(); base 118 chromeos/network/network_connection_handler_unittest.cc base::Bind(&NetworkConnectionHandlerTest::SuccessCallback, base 119 chromeos/network/network_connection_handler_unittest.cc base::Unretained(this)), base 120 chromeos/network/network_connection_handler_unittest.cc base::Bind(&NetworkConnectionHandlerTest::ErrorCallback, base 121 chromeos/network/network_connection_handler_unittest.cc base::Unretained(this)), base 123 chromeos/network/network_connection_handler_unittest.cc base::RunLoop().RunUntilIdle(); base 129 chromeos/network/network_connection_handler_unittest.cc base::Bind(&NetworkConnectionHandlerTest::SuccessCallback, base 130 chromeos/network/network_connection_handler_unittest.cc base::Unretained(this)), base 131 chromeos/network/network_connection_handler_unittest.cc base::Bind(&NetworkConnectionHandlerTest::ErrorCallback, base 132 chromeos/network/network_connection_handler_unittest.cc base::Unretained(this))); base 133 chromeos/network/network_connection_handler_unittest.cc base::RunLoop().RunUntilIdle(); base 141 chromeos/network/network_connection_handler_unittest.cc scoped_ptr<base::DictionaryValue> error_data) { base 154 chromeos/network/network_connection_handler_unittest.cc const base::DictionaryValue* properties = base 164 chromeos/network/network_connection_handler_unittest.cc base::RunLoop().RunUntilIdle(); base 171 chromeos/network/network_connection_handler_unittest.cc base::FilePath pkcs12_path = base 173 chromeos/network/network_connection_handler_unittest.cc ASSERT_TRUE(base::ReadFileToString(pkcs12_path, &pkcs12_data)); base 179 chromeos/network/network_connection_handler_unittest.cc nssdb->ImportFromPKCS12(module, pkcs12_data, base::string16(), false, base 189 chromeos/network/network_connection_handler_unittest.cc base::MessageLoopForUI message_loop_; base 265 chromeos/network/network_connection_handler_unittest.cc base::StringPrintf(kConfigRequiresCertificateTemplate, "unknown"))); base 280 chromeos/network/network_connection_handler_unittest.cc base::StringPrintf(kConfigRequiresCertificateTemplate, base 295 chromeos/network/network_connection_handler_unittest.cc base::StringPrintf(kConfigRequiresCertificateTemplate, base 14 chromeos/network/network_device_handler.h namespace base { base 63 chromeos/network/network_device_handler.h const base::Value& value, base 64 chromeos/network/network_device_handler.h const base::Closure& callback, base 72 chromeos/network/network_device_handler.h const base::Closure& callback, base 87 chromeos/network/network_device_handler.h const base::Closure& callback, base 99 chromeos/network/network_device_handler.h const base::Closure& callback, base 114 chromeos/network/network_device_handler.h const base::Closure& callback, base 138 chromeos/network/network_device_handler.h const base::Closure& callback, base 154 chromeos/network/network_device_handler.h const base::Closure& callback, base 171 chromeos/network/network_device_handler.h const base::Closure& callback, base 189 chromeos/network/network_device_handler.h const base::Closure& callback, base 69 chromeos/network/network_device_handler_impl.cc base::StringPrintf("IPConfigs.Refresh Failed: %d", call_status), base 77 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 80 chromeos/network/network_device_handler_impl.cc const base::DictionaryValue& properties) { base 81 chromeos/network/network_device_handler_impl.cc const base::ListValue* ip_configs; base 99 chromeos/network/network_device_handler_impl.cc base::Bind(&IPConfigRefreshCallback, ipconfig_path)); base 111 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 119 chromeos/network/network_device_handler_impl.cc base::StringPrintf("DBus call failed: %d", call_status), ""); base 130 chromeos/network/network_device_handler_impl.cc const base::Value& value, base 131 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 138 chromeos/network/network_device_handler_impl.cc base::Bind(&HandleShillCallFailure, device_path, error_callback)); base 181 chromeos/network/network_device_handler_impl.cc base::TimeDelta request_delay; base 183 chromeos/network/network_device_handler_impl.cc request_delay = base::TimeDelta::FromMilliseconds(kRequestStatusDelayMs); base 185 chromeos/network/network_device_handler_impl.cc base::MessageLoopProxy::current()->PostDelayedTask( base 187 chromeos/network/network_device_handler_impl.cc base::Bind(&CallPerformTDLSOperation, base 206 chromeos/network/network_device_handler_impl.cc NET_LOG_EVENT(base::StringPrintf("TDLS Retry: %d", params.retry_count), base 209 chromeos/network/network_device_handler_impl.cc base::TimeDelta request_delay; base 211 chromeos/network/network_device_handler_impl.cc request_delay = base::TimeDelta::FromMilliseconds(kReRequestDelayMs); base 213 chromeos/network/network_device_handler_impl.cc base::MessageLoopProxy::current()->PostDelayedTask( base 215 chromeos/network/network_device_handler_impl.cc base::Bind(&CallPerformTDLSOperation, base 230 chromeos/network/network_device_handler_impl.cc scoped_ptr<base::DictionaryValue> error_data( base 247 chromeos/network/network_device_handler_impl.cc base::Bind(&TDLSSuccessCallback, base 249 chromeos/network/network_device_handler_impl.cc base::Bind(&TDLSErrorCallback, base 265 chromeos/network/network_device_handler_impl.cc base::Bind(&network_handler::GetPropertiesCallback, base 272 chromeos/network/network_device_handler_impl.cc const base::Value& value, base 273 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 296 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 299 chromeos/network/network_device_handler_impl.cc base::Bind(&RefreshIPConfigsCallback, base 306 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 310 chromeos/network/network_device_handler_impl.cc base::Bind(&ProposeScanCallback, device_path, callback, error_callback)); base 316 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 322 chromeos/network/network_device_handler_impl.cc base::Bind(&HandleShillCallFailure, device_path, error_callback)); base 328 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 334 chromeos/network/network_device_handler_impl.cc base::Bind(&HandleShillCallFailure, device_path, error_callback)); base 341 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 348 chromeos/network/network_device_handler_impl.cc base::Bind(&HandleShillCallFailure, device_path, error_callback)); base 354 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 360 chromeos/network/network_device_handler_impl.cc base::Bind(&HandleShillCallFailure, device_path, error_callback)); base 367 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 374 chromeos/network/network_device_handler_impl.cc base::Bind(&HandleShillCallFailure, device_path, error_callback)); base 381 chromeos/network/network_device_handler_impl.cc const base::Closure& callback, base 388 chromeos/network/network_device_handler_impl.cc base::Bind(&HandleShillCallFailure, device_path, error_callback)); base 407 chromeos/network/network_device_handler_impl.cc scoped_ptr<base::DictionaryValue> error_data(new base::DictionaryValue); base 429 chromeos/network/network_device_handler_impl.cc scoped_ptr<base::DictionaryValue> error_data(new base::DictionaryValue); base 489 chromeos/network/network_device_handler_impl.cc base::FundamentalValue(new_device_value), base 490 chromeos/network/network_device_handler_impl.cc base::Bind(&base::DoNothing), base 39 chromeos/network/network_device_handler_impl.h const base::Value& value, base 40 chromeos/network/network_device_handler_impl.h const base::Closure& callback, base 45 chromeos/network/network_device_handler_impl.h const base::Closure& callback, base 49 chromeos/network/network_device_handler_impl.h const base::Closure& callback, base 56 chromeos/network/network_device_handler_impl.h const base::Closure& callback, base 61 chromeos/network/network_device_handler_impl.h const base::Closure& callback, base 68 chromeos/network/network_device_handler_impl.h const base::Closure& callback, base 74 chromeos/network/network_device_handler_impl.h const base::Closure& callback, base 81 chromeos/network/network_device_handler_impl.h const base::Closure& callback, base 88 chromeos/network/network_device_handler_impl.h const base::Closure& callback, base 42 chromeos/network/network_device_handler_unittest.cc success_callback_ = base::Bind(&NetworkDeviceHandlerTest::SuccessCallback, base 43 chromeos/network/network_device_handler_unittest.cc base::Unretained(this)); base 45 chromeos/network/network_device_handler_unittest.cc base::Bind(&NetworkDeviceHandlerTest::PropertiesSuccessCallback, base 46 chromeos/network/network_device_handler_unittest.cc base::Unretained(this)); base 48 chromeos/network/network_device_handler_unittest.cc base::Bind(&NetworkDeviceHandlerTest::StringSuccessCallback, base 49 chromeos/network/network_device_handler_unittest.cc base::Unretained(this)); base 50 chromeos/network/network_device_handler_unittest.cc error_callback_ = base::Bind(&NetworkDeviceHandlerTest::ErrorCallback, base 51 chromeos/network/network_device_handler_unittest.cc base::Unretained(this)); base 65 chromeos/network/network_device_handler_unittest.cc base::ListValue test_ip_configs; base 80 chromeos/network/network_device_handler_unittest.cc scoped_ptr<base::DictionaryValue> error_data) { base 90 chromeos/network/network_device_handler_unittest.cc const base::DictionaryValue& properties) { base 106 chromeos/network/network_device_handler_unittest.cc base::MessageLoopForUI message_loop_; base 107 chromeos/network/network_device_handler_unittest.cc base::Closure success_callback_; base 111 chromeos/network/network_device_handler_unittest.cc scoped_ptr<base::DictionaryValue> properties_; base 132 chromeos/network/network_device_handler_unittest.cc base::FundamentalValue(1), base 152 chromeos/network/network_device_handler_unittest.cc base::FundamentalValue(2), base 170 chromeos/network/network_device_handler_unittest.cc base::FundamentalValue(1), base 181 chromeos/network/network_device_handler_unittest.cc base::FundamentalValue(true), base 195 chromeos/network/network_device_handler_unittest.cc base::FundamentalValue(false)); base 30 chromeos/network/network_event_log.cc std::string IcuFormattedString(const base::Time& time, base 43 chromeos/network/network_event_log.cc base::string16 formatted16(formatted.getBuffer(), base 45 chromeos/network/network_event_log.cc return base::UTF16ToUTF8(formatted16); base 48 chromeos/network/network_event_log.cc std::string DateAndTimeWithMicroseconds(const base::Time& time) { base 53 chromeos/network/network_event_log.cc return base::StringPrintf("%s.%06d", formatted.c_str(), usecs); base 56 chromeos/network/network_event_log.cc std::string TimeWithSeconds(const base::Time& time) { base 76 chromeos/network/network_event_log.cc void ToDictionary(base::DictionaryValue*) const; base 91 chromeos/network/network_event_log.cc base::Time time; base 105 chromeos/network/network_event_log.cc time(base::Time::Now()), base 114 chromeos/network/network_event_log.cc line += "[" + base::UTF16ToUTF8(base::TimeFormatTimeOfDay(time)) + "] "; base 117 chromeos/network/network_event_log.cc line += base::StringPrintf("%s:%d ", file.c_str(), file_line); base 121 chromeos/network/network_event_log.cc line += base::StringPrintf(" (%d)", count); base 125 chromeos/network/network_event_log.cc void LogEntry::ToDictionary(base::DictionaryValue* output) const { base 130 chromeos/network/network_event_log.cc base::StringPrintf("%s:%d ", file.c_str(), file_line)); base 136 chromeos/network/network_event_log.cc base::DictionaryValue entry; base 200 chromeos/network/network_event_log.cc base::StringTokenizer tokens(format_string, ","); base 250 chromeos/network/network_event_log.cc last.time = base::Time::Now(); base 288 chromeos/network/network_event_log.cc base::ListValue log_entries; base 387 chromeos/network/network_event_log.cc filestr = base::FilePath(std::string(file)).BaseName().value(); base 407 chromeos/network/network_event_log.cc std::string ValueAsString(const base::Value& value) { base 409 chromeos/network/network_event_log.cc base::JSONWriter::WriteWithOptions( base 410 chromeos/network/network_event_log.cc &value, base::JSONWriter::OPTIONS_OMIT_BINARY_VALUES, &vstr); base 16 chromeos/network/network_event_log.h namespace base { base 94 chromeos/network/network_event_log.h CHROMEOS_EXPORT std::string ValueAsString(const base::Value& value); base 42 chromeos/network/network_event_log_unittest.cc base::SplitString(input, '\n', &lines); base 113 chromeos/network/network_event_log_unittest.cc base::StringPrintf("event_%" PRIuS, i), ""); base 29 chromeos/network/network_handler.cc : message_loop_(base::MessageLoopProxy::current()) { base 49 chromeos/network/network_handler.h base::MessageLoopProxy* message_loop() { return message_loop_.get(); } base 71 chromeos/network/network_handler.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 25 chromeos/network/network_handler_callbacks.cc base::DictionaryValue* CreateErrorData(const std::string& path, base 42 chromeos/network/network_handler_callbacks.cc base::DictionaryValue* CreateDBusErrorData( base 48 chromeos/network/network_handler_callbacks.cc base::DictionaryValue* error_data(new base::DictionaryValue); base 73 chromeos/network/network_handler_callbacks.cc scoped_ptr<base::DictionaryValue> error_data( base 83 chromeos/network/network_handler_callbacks.cc const base::DictionaryValue& value) { base 86 chromeos/network/network_handler_callbacks.cc base::StringPrintf("GetProperties failed. Status: %d", call_status), base 16 chromeos/network/network_handler_callbacks.h namespace base { base 32 chromeos/network/network_handler_callbacks.h typedef base::Callback< base 34 chromeos/network/network_handler_callbacks.h scoped_ptr<base::DictionaryValue> error_data)> ErrorCallback; base 36 chromeos/network/network_handler_callbacks.h typedef base::Callback< base 38 chromeos/network/network_handler_callbacks.h const base::DictionaryValue& dictionary)> DictionaryResultCallback; base 40 chromeos/network/network_handler_callbacks.h typedef base::Callback< base 44 chromeos/network/network_handler_callbacks.h CHROMEOS_EXPORT base::DictionaryValue* CreateErrorData( base 56 chromeos/network/network_handler_callbacks.h CHROMEOS_EXPORT base::DictionaryValue* CreateDBusErrorData( base 84 chromeos/network/network_handler_callbacks.h const base::DictionaryValue& value); base 52 chromeos/network/network_ip_config.h typedef base::Callback<void(const NetworkIPConfigVector& ip_configs, base 14 chromeos/network/network_profile.cc return base::StringPrintf("NetworkProfile(SHARED, %s)", base 17 chromeos/network/network_profile.cc return base::StringPrintf("NetworkProfile(USER, %s, %s)", base 24 chromeos/network/network_profile_handler.cc bool ConvertListValueToStringVector(const base::ListValue& string_list, base 73 chromeos/network/network_profile_handler.cc const base::DictionaryValue& properties) { base 79 chromeos/network/network_profile_handler.cc const base::Value* profiles = NULL; base 90 chromeos/network/network_profile_handler.cc const base::Value& value) { base 94 chromeos/network/network_profile_handler.cc const base::ListValue* profiles_value = NULL; base 130 chromeos/network/network_profile_handler.cc base::Bind(&NetworkProfileHandler::GetProfilePropertiesCallback, base 133 chromeos/network/network_profile_handler.cc base::Bind(&LogProfileRequestError, *it)); base 144 chromeos/network/network_profile_handler.cc const base::DictionaryValue& properties) { base 215 chromeos/network/network_profile_handler.cc base::Bind(&NetworkProfileHandler::GetManagerPropertiesCallback, base 21 chromeos/network/network_profile_handler.h namespace base { base 41 chromeos/network/network_profile_handler.h const base::DictionaryValue& properties); base 45 chromeos/network/network_profile_handler.h const base::Value& value) OVERRIDE; base 48 chromeos/network/network_profile_handler.h const base::DictionaryValue& properties); base 80 chromeos/network/network_profile_handler.h base::WeakPtrFactory<NetworkProfileHandler> weak_ptr_factory_; base 63 chromeos/network/network_sms_handler.cc void ListCallback(const base::ListValue& message_list); base 65 chromeos/network/network_sms_handler.cc void GetCallback(uint32 index, const base::DictionaryValue& dictionary); base 67 chromeos/network/network_sms_handler.cc void MessageReceived(const base::DictionaryValue& dictionary); base 73 chromeos/network/network_sms_handler.cc base::WeakPtrFactory<ModemManagerNetworkSmsDeviceHandler> weak_ptr_factory_; base 92 chromeos/network/network_sms_handler.cc base::Bind(&ModemManagerNetworkSmsDeviceHandler::SmsReceivedCallback, base 98 chromeos/network/network_sms_handler.cc base::Bind(&NetworkSmsHandler:: base 109 chromeos/network/network_sms_handler.cc const base::ListValue& message_list) { base 112 chromeos/network/network_sms_handler.cc for (base::ListValue::const_iterator iter = message_list.begin(); base 114 chromeos/network/network_sms_handler.cc base::DictionaryValue* message = NULL; base 138 chromeos/network/network_sms_handler.cc base::Bind(&NetworkSmsHandler:: base 152 chromeos/network/network_sms_handler.cc base::Bind(&NetworkSmsHandler:: base 159 chromeos/network/network_sms_handler.cc const base::DictionaryValue& dictionary) { base 168 chromeos/network/network_sms_handler.cc const base::DictionaryValue& dictionary) { base 187 chromeos/network/network_sms_handler.cc void GetCallback(const base::DictionaryValue& dictionary); base 190 chromeos/network/network_sms_handler.cc void MessageReceived(const base::DictionaryValue& dictionary); base 197 chromeos/network/network_sms_handler.cc base::WeakPtrFactory<ModemManager1NetworkSmsDeviceHandler> weak_ptr_factory_; base 218 chromeos/network/network_sms_handler.cc base::Bind( base 226 chromeos/network/network_sms_handler.cc base::Bind(&NetworkSmsHandler:: base 236 chromeos/network/network_sms_handler.cc base::Bind(&NetworkSmsHandler:: base 266 chromeos/network/network_sms_handler.cc base::Bind(&NetworkSmsHandler:: base 285 chromeos/network/network_sms_handler.cc base::Bind(&NetworkSmsHandler:: base 304 chromeos/network/network_sms_handler.cc const base::DictionaryValue& dictionary) { base 311 chromeos/network/network_sms_handler.cc const base::DictionaryValue& dictionary) { base 315 chromeos/network/network_sms_handler.cc base::DictionaryValue new_dictionary; base 348 chromeos/network/network_sms_handler.cc base::Bind(&NetworkSmsHandler::ManagerPropertiesCallback, base 355 chromeos/network/network_sms_handler.cc for (ScopedVector<base::DictionaryValue>::iterator iter = base 358 chromeos/network/network_sms_handler.cc base::DictionaryValue* message = *iter; base 377 chromeos/network/network_sms_handler.cc const base::Value& value) { base 380 chromeos/network/network_sms_handler.cc const base::ListValue* devices = NULL; base 389 chromeos/network/network_sms_handler.cc const base::DictionaryValue& message) { base 390 chromeos/network/network_sms_handler.cc base::DictionaryValue* new_message = message.DeepCopy(); base 397 chromeos/network/network_sms_handler.cc const base::DictionaryValue& message) { base 401 chromeos/network/network_sms_handler.cc void NetworkSmsHandler::MessageReceived(const base::DictionaryValue& message) { base 408 chromeos/network/network_sms_handler.cc const base::DictionaryValue& properties) { base 413 chromeos/network/network_sms_handler.cc const base::Value* value; base 415 chromeos/network/network_sms_handler.cc value->GetType() != base::Value::TYPE_LIST) { base 420 chromeos/network/network_sms_handler.cc const base::ListValue* devices = static_cast<const base::ListValue*>(value); base 424 chromeos/network/network_sms_handler.cc void NetworkSmsHandler::UpdateDevices(const base::ListValue* devices) { base 425 chromeos/network/network_sms_handler.cc for (base::ListValue::const_iterator iter = devices->begin(); base 434 chromeos/network/network_sms_handler.cc base::Bind(&NetworkSmsHandler::DevicePropertiesCallback, base 444 chromeos/network/network_sms_handler.cc const base::DictionaryValue& properties) { base 17 chromeos/network/network_sms_handler.h namespace base { base 38 chromeos/network/network_sms_handler.h virtual void MessageReceived(const base::DictionaryValue& message) = 0; base 52 chromeos/network/network_sms_handler.h const base::Value& value) OVERRIDE; base 71 chromeos/network/network_sms_handler.h void AddReceivedMessage(const base::DictionaryValue& message); base 74 chromeos/network/network_sms_handler.h void NotifyMessageReceived(const base::DictionaryValue& message); base 77 chromeos/network/network_sms_handler.h void MessageReceived(const base::DictionaryValue& message); base 81 chromeos/network/network_sms_handler.h const base::DictionaryValue& properties); base 84 chromeos/network/network_sms_handler.h void UpdateDevices(const base::ListValue* devices); base 90 chromeos/network/network_sms_handler.h const base::DictionaryValue& properties); base 94 chromeos/network/network_sms_handler.h ScopedVector<base::DictionaryValue> received_messages_; base 95 chromeos/network/network_sms_handler.h base::WeakPtrFactory<NetworkSmsHandler> weak_ptr_factory_; base 29 chromeos/network/network_sms_handler_unittest.cc virtual void MessageReceived(const base::DictionaryValue& message) OVERRIDE { base 93 chromeos/network/network_sms_handler_unittest.cc base::MessageLoopForUI message_loop_; base 19 chromeos/network/network_state.cc bool ConvertListValueToStringVector(const base::ListValue& string_list, base 30 chromeos/network/network_state.cc bool IsCaCertNssSet(const base::DictionaryValue& properties) { base 38 chromeos/network/network_state.cc const base::DictionaryValue* provider = NULL; base 75 chromeos/network/network_state.cc const base::Value& value) { base 98 chromeos/network/network_state.cc const base::ListValue* dns_servers; base 158 chromeos/network/network_state.cc const base::DictionaryValue& properties) { base 173 chromeos/network/network_state.cc void NetworkState::GetProperties(base::DictionaryValue* dictionary) const { base 187 chromeos/network/network_state.cc base::DictionaryValue* ipconfig_properties = new base::DictionaryValue; base 192 chromeos/network/network_state.cc base::ListValue* name_servers = new base::ListValue; base 261 chromeos/network/network_state.cc bool NetworkState::UpdateName(const base::DictionaryValue& properties) { base 293 chromeos/network/network_state.cc return base::StringPrintf("%s.%s", shill::kIPConfigProperty, key); base 16 chromeos/network/network_state.h namespace base { base 36 chromeos/network/network_state.h const base::Value& value) OVERRIDE; base 38 chromeos/network/network_state.h const base::DictionaryValue& properties) OVERRIDE; base 42 chromeos/network/network_state.h void GetProperties(base::DictionaryValue* dictionary) const; base 116 chromeos/network/network_state.h bool UpdateName(const base::DictionaryValue& properties); base 53 chromeos/network/network_state_handler.cc return base::StringPrintf("%s (%s)", state->name().c_str(), base 132 chromeos/network/network_state_handler.cc base::StringPrintf("%s:%d", technology.c_str(), enabled)); base 333 chromeos/network/network_state_handler.cc const base::Closure& callback) { base 342 chromeos/network/network_state_handler.cc base::Bind(&internal::ShillPropertyHandler::ConnectToBestServices, base 390 chromeos/network/network_state_handler.cc base::StringPrintf("Unknown device %s of connected ethernet service %s", base 403 chromeos/network/network_state_handler.cc base::StringPrintf( base 414 chromeos/network/network_state_handler.cc base::DictionaryValue* dictionary) const { base 417 chromeos/network/network_state_handler.cc base::DictionaryValue* network_dict = new base::DictionaryValue; base 427 chromeos/network/network_state_handler.cc const base::ListValue& entries) { base 429 chromeos/network/network_state_handler.cc NET_LOG_DEBUG(base::StringPrintf("UpdateManagedList:%d", type), base 430 chromeos/network/network_state_handler.cc base::StringPrintf("%" PRIuS, entries.GetSize())); base 444 chromeos/network/network_state_handler.cc for (base::ListValue::const_iterator iter = entries.begin(); base 449 chromeos/network/network_state_handler.cc NET_LOG_ERROR(base::StringPrintf("Bad path in list:%d", type), path); base 485 chromeos/network/network_state_handler.cc const base::DictionaryValue& properties) { base 509 chromeos/network/network_state_handler.cc for (base::DictionaryValue::Iterator iter(properties); base 520 chromeos/network/network_state_handler.cc const base::DictionaryValue& properties) { base 524 chromeos/network/network_state_handler.cc for (base::DictionaryValue::Iterator iter(properties); base 543 chromeos/network/network_state_handler.cc const base::Value& value) { base 608 chromeos/network/network_state_handler.cc const base::Value& value) { base 655 chromeos/network/network_state_handler.cc base::StringPrintf("Size:%" PRIuS, network_list_.size())); base 662 chromeos/network/network_state_handler.cc base::StringPrintf("Size:%" PRIuS, favorite_list_.size())); base 720 chromeos/network/network_state_handler.cc base::StringPrintf("Size:%" PRIuS, device_list_.size())); base 803 chromeos/network/network_state_handler.cc base::StringPrintf("%s:%" PRIuS, type.c_str(), num_callbacks)); base 23 chromeos/network/network_state_handler.h namespace base { base 191 chromeos/network/network_state_handler.h void WaitForScan(const std::string& type, const base::Closure& callback); base 225 chromeos/network/network_state_handler.h base::DictionaryValue* dictionary) const; base 243 chromeos/network/network_state_handler.h const base::ListValue& entries) OVERRIDE; base 254 chromeos/network/network_state_handler.h const base::DictionaryValue& properties) OVERRIDE; base 260 chromeos/network/network_state_handler.h const base::Value& value) OVERRIDE; base 266 chromeos/network/network_state_handler.h const base::Value& value) OVERRIDE; base 293 chromeos/network/network_state_handler.h typedef std::list<base::Closure> ScanCallbackList; base 301 chromeos/network/network_state_handler.h const base::DictionaryValue& properties); base 216 chromeos/network/network_state_handler_unittest.cc base::MessageLoopForUI message_loop_; base 327 chromeos/network/network_state_handler_unittest.cc base::StringValue security_value("TestSecurity"); base 331 chromeos/network/network_state_handler_unittest.cc base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); base 341 chromeos/network/network_state_handler_unittest.cc base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); base 361 chromeos/network/network_state_handler_unittest.cc base::StringValue connection_state_idle_value(shill::kStateIdle); base 382 chromeos/network/network_state_handler_unittest.cc base::StringValue connection_state_idle_value(shill::kStateIdle); base 405 chromeos/network/network_state_handler_unittest.cc base::StringValue connection_state_idle_value(shill::kStateIdle); base 415 chromeos/network/network_state_handler_unittest.cc base::StringValue connection_state_ready_value(shill::kStateReady); base 433 chromeos/network/network_state_handler_unittest.cc base::StringValue wifi1_value(wifi1); base 442 chromeos/network/network_state_handler_unittest.cc base::StringValue connection_state_ready_value(shill::kStateReady); base 455 chromeos/network/network_state_handler_unittest.cc shill::kSecurityProperty, base::StringValue("TestSecurity"), base 456 chromeos/network/network_state_handler_unittest.cc base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); base 464 chromeos/network/network_state_handler_unittest.cc shill::kSignalStrengthProperty, base::FundamentalValue(32), base 465 chromeos/network/network_state_handler_unittest.cc base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); base 19 chromeos/network/network_state_unittest.cc class TestStringValue : public base::Value { base 22 chromeos/network/network_state_unittest.cc : base::Value(TYPE_STRING), base 40 chromeos/network/network_state_unittest.cc virtual bool Equals(const base::Value* other) const OVERRIDE { base 71 chromeos/network/network_state_unittest.cc base::DictionaryValue properties_; base 127 chromeos/network/network_state_unittest.cc base::HexEncode(wifi_latin1.c_str(), wifi_latin1.length()); base 140 chromeos/network/network_state_unittest.cc base::HexEncode(wifi_hex_result.c_str(), wifi_hex_result.length()); base 86 chromeos/network/network_ui_data.cc NetworkUIData::NetworkUIData(const base::DictionaryValue& dict) { base 97 chromeos/network/network_ui_data.cc const base::DictionaryValue* cert_dict = NULL; base 108 chromeos/network/network_ui_data.cc const base::DictionaryValue* user_settings = NULL; base 116 chromeos/network/network_ui_data.cc void NetworkUIData::set_user_settings(scoped_ptr<base::DictionaryValue> dict) { base 120 chromeos/network/network_ui_data.cc void NetworkUIData::FillDictionary(base::DictionaryValue* dict) const { base 162 chromeos/network/network_ui_data.cc void TranslateCertificatePattern(const base::DictionaryValue& onc_object, base 170 chromeos/network/network_ui_data.cc void TranslateEAP(const base::DictionaryValue& eap, base 179 chromeos/network/network_ui_data.cc void TranslateIPsec(const base::DictionaryValue& ipsec, base 188 chromeos/network/network_ui_data.cc void TranslateOpenVPN(const base::DictionaryValue& openvpn, base 198 chromeos/network/network_ui_data.cc const base::DictionaryValue& onc_object, base 210 chromeos/network/network_ui_data.cc for (base::DictionaryValue::Iterator it(onc_object); !it.IsAtEnd(); base 212 chromeos/network/network_ui_data.cc const base::DictionaryValue* inner_object; base 229 chromeos/network/network_ui_data.cc const base::DictionaryValue& onc_network) { base 16 chromeos/network/network_ui_data.h namespace base { base 42 chromeos/network/network_ui_data.h explicit NetworkUIData(const base::DictionaryValue& dict); base 64 chromeos/network/network_ui_data.h const base::DictionaryValue* user_settings() const { base 67 chromeos/network/network_ui_data.h void set_user_settings(scoped_ptr<base::DictionaryValue> dict); base 77 chromeos/network/network_ui_data.h void FillDictionary(base::DictionaryValue* dict) const; base 85 chromeos/network/network_ui_data.h const base::DictionaryValue& onc_network); base 103 chromeos/network/network_ui_data.h scoped_ptr<base::DictionaryValue> user_settings_; base 14 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue ui_data_dict; base 39 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue ui_data_dict; base 45 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue ui_data_dict; base 53 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue ui_data_dict; base 54 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue* pattern_dict = new base::DictionaryValue; base 55 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue* issuer_dict = new base::DictionaryValue; base 67 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue ui_data_dict; base 68 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue* pattern_dict = new base::DictionaryValue; base 69 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue* issuer_dict = new base::DictionaryValue; base 86 chromeos/network/network_ui_data_unittest.cc scoped_ptr<base::DictionaryValue> onc_network = base 89 chromeos/network/network_ui_data_unittest.cc scoped_ptr<base::DictionaryValue> expected_uidata = base 97 chromeos/network/network_ui_data_unittest.cc base::DictionaryValue actual_uidata_dict; base 47 chromeos/network/network_util.cc netmask += base::StringPrintf("%d", value); base 55 chromeos/network/network_util.cc base::StringTokenizer t(netmask, "."); base 96 chromeos/network/network_util.cc bool ParseCellularScanResults(const base::ListValue& list, base 100 chromeos/network/network_util.cc for (base::ListValue::const_iterator it = list.begin(); base 102 chromeos/network/network_util.cc if (!(*it)->IsType(base::Value::TYPE_DICTIONARY)) base 105 chromeos/network/network_util.cc const base::DictionaryValue* dict = base 106 chromeos/network/network_util.cc static_cast<const base::DictionaryValue*>(*it); base 30 chromeos/network/network_util.h base::Time timestamp; // Timestamp when this AP was detected. base 60 chromeos/network/network_util.h typedef base::Callback<void( base 80 chromeos/network/network_util.h const base::ListValue& list, std::vector<CellularScanResult>* scan_results); base 107 chromeos/network/network_util_unittest.cc base::ListValue list; base 119 chromeos/network/network_util_unittest.cc base::DictionaryValue* dict_value = new base::DictionaryValue(); base 126 chromeos/network/network_util_unittest.cc dict_value = new base::DictionaryValue(); base 132 chromeos/network/network_util_unittest.cc dict_value = new base::DictionaryValue(); base 21 chromeos/network/onc/mock_certificate_importer.h MOCK_METHOD3(ImportCertificates, bool(const base::ListValue&, base 13 chromeos/network/onc/onc_certificate_importer.h namespace base { base 33 chromeos/network/onc/onc_certificate_importer.h const base::ListValue& certificates, base 38 chromeos/network/onc/onc_certificate_importer_impl.cc const base::ListValue& certificates, base 58 chromeos/network/onc/onc_certificate_importer_impl.cc const base::ListValue& certificates, base 63 chromeos/network/onc/onc_certificate_importer_impl.cc const base::DictionaryValue* certificate = NULL; base 75 chromeos/network/onc/onc_certificate_importer_impl.cc base::StringPrintf("Cannot parse certificate at index %zu", i)); base 148 chromeos/network/onc/onc_certificate_importer_impl.cc const base::DictionaryValue& certificate, base 191 chromeos/network/onc/onc_certificate_importer_impl.cc const base::DictionaryValue& certificate, base 195 chromeos/network/onc/onc_certificate_importer_impl.cc const base::ListValue* trust_list = NULL; base 198 chromeos/network/onc/onc_certificate_importer_impl.cc for (base::ListValue::const_iterator it = trust_list->begin(); base 282 chromeos/network/onc/onc_certificate_importer_impl.cc base::StringPrintf("Error ( %s ) importing %s certificate", base 305 chromeos/network/onc/onc_certificate_importer_impl.cc const base::DictionaryValue& certificate) { base 315 chromeos/network/onc/onc_certificate_importer_impl.cc if (!base::Base64Decode(pkcs12_data, &decoded_pkcs12)) { base 330 chromeos/network/onc/onc_certificate_importer_impl.cc module.get(), decoded_pkcs12, base::string16(), false, &imported_certs); base 333 chromeos/network/onc/onc_certificate_importer_impl.cc base::StringPrintf("Unable to import client certificate (error %s)", base 19 chromeos/network/onc/onc_certificate_importer_impl.h namespace base { base 48 chromeos/network/onc/onc_certificate_importer_impl.h const base::ListValue& certificates, base 57 chromeos/network/onc/onc_certificate_importer_impl.h const base::ListValue& onc_certificates, base 77 chromeos/network/onc/onc_certificate_importer_impl.h const base::DictionaryValue& certificate, base 89 chromeos/network/onc/onc_certificate_importer_impl.h const base::DictionaryValue& certificate, base 94 chromeos/network/onc/onc_certificate_importer_impl.h const base::DictionaryValue& certificate); base 91 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc scoped_ptr<base::DictionaryValue> onc = base 93 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc scoped_ptr<base::Value> certificates_value; base 94 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc base::ListValue* certificates = NULL; base 128 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc base::DictionaryValue* certificate = NULL; base 142 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc scoped_ptr<base::ListValue> onc_certificates_; base 319 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc SCOPED_TRACE("Import certificate, iteration " + base::IntToString(i)); base 20 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::Value> Mapper::MapValue(const OncValueSignature& signature, base 21 chromeos/network/onc/onc_mapper.cc const base::Value& onc_value, base 23 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::Value> result_value; base 25 chromeos/network/onc/onc_mapper.cc case base::Value::TYPE_DICTIONARY: { base 26 chromeos/network/onc/onc_mapper.cc const base::DictionaryValue* dict = NULL; base 31 chromeos/network/onc/onc_mapper.cc case base::Value::TYPE_LIST: { base 32 chromeos/network/onc/onc_mapper.cc const base::ListValue* list = NULL; base 46 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::DictionaryValue> Mapper::MapObject( base 48 chromeos/network/onc/onc_mapper.cc const base::DictionaryValue& onc_object, base 50 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 59 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::Value> Mapper::MapPrimitive(const OncValueSignature& signature, base 60 chromeos/network/onc/onc_mapper.cc const base::Value& onc_primitive, base 66 chromeos/network/onc/onc_mapper.cc const base::DictionaryValue& onc_object, base 69 chromeos/network/onc/onc_mapper.cc base::DictionaryValue* result) { base 70 chromeos/network/onc/onc_mapper.cc for (base::DictionaryValue::Iterator it(onc_object); !it.IsAtEnd(); base 73 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::Value> result_value = MapField(it.key(), base 88 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::Value> Mapper::MapField( base 91 chromeos/network/onc/onc_mapper.cc const base::Value& onc_value, base 105 chromeos/network/onc/onc_mapper.cc return scoped_ptr<base::Value>(); base 109 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::ListValue> Mapper::MapArray( base 111 chromeos/network/onc/onc_mapper.cc const base::ListValue& onc_array, base 116 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::ListValue> result_array(new base::ListValue); base 118 chromeos/network/onc/onc_mapper.cc for (base::ListValue::const_iterator it = onc_array.begin(); base 120 chromeos/network/onc/onc_mapper.cc const base::Value* entry = *it; base 122 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::Value> result_entry; base 135 chromeos/network/onc/onc_mapper.cc scoped_ptr<base::Value> Mapper::MapEntry(int index, base 137 chromeos/network/onc/onc_mapper.cc const base::Value& onc_value, base 13 chromeos/network/onc/onc_mapper.h namespace base { base 46 chromeos/network/onc/onc_mapper.h virtual scoped_ptr<base::Value> MapValue(const OncValueSignature& signature, base 47 chromeos/network/onc/onc_mapper.h const base::Value& onc_value, base 54 chromeos/network/onc/onc_mapper.h virtual scoped_ptr<base::DictionaryValue> MapObject( base 56 chromeos/network/onc/onc_mapper.h const base::DictionaryValue& onc_object, base 62 chromeos/network/onc/onc_mapper.h virtual scoped_ptr<base::Value> MapPrimitive( base 64 chromeos/network/onc/onc_mapper.h const base::Value& onc_primitive, base 73 chromeos/network/onc/onc_mapper.h const base::DictionaryValue& onc_object, base 76 chromeos/network/onc/onc_mapper.h base::DictionaryValue* result); base 82 chromeos/network/onc/onc_mapper.h virtual scoped_ptr<base::Value> MapField( base 85 chromeos/network/onc/onc_mapper.h const base::Value& onc_value, base 94 chromeos/network/onc/onc_mapper.h virtual scoped_ptr<base::ListValue> MapArray( base 96 chromeos/network/onc/onc_mapper.h const base::ListValue& onc_array, base 101 chromeos/network/onc/onc_mapper.h virtual scoped_ptr<base::Value> MapEntry(int index, base 103 chromeos/network/onc/onc_mapper.h const base::Value& onc_value, base 21 chromeos/network/onc/onc_merger.cc typedef scoped_ptr<base::DictionaryValue> DictionaryPtr; base 25 chromeos/network/onc/onc_merger.cc void MarkRecommendedFieldnames(const base::DictionaryValue& policy, base 26 chromeos/network/onc/onc_merger.cc base::DictionaryValue* result) { base 27 chromeos/network/onc/onc_merger.cc const base::ListValue* recommended_value = NULL; base 31 chromeos/network/onc/onc_merger.cc for (base::ListValue::const_iterator it = recommended_value->begin(); base 41 chromeos/network/onc/onc_merger.cc DictionaryPtr GetEditableFlags(const base::DictionaryValue& policy) { base 42 chromeos/network/onc/onc_merger.cc DictionaryPtr result_editable(new base::DictionaryValue); base 46 chromeos/network/onc/onc_merger.cc for (base::DictionaryValue::Iterator it(policy); !it.IsAtEnd(); base 48 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* child_policy = NULL; base 64 chromeos/network/onc/onc_merger.cc typedef std::vector<const base::DictionaryValue*> DictPtrs; base 78 chromeos/network/onc/onc_merger.cc DictionaryPtr result(new base::DictionaryValue); base 85 chromeos/network/onc/onc_merger.cc for (base::DictionaryValue::Iterator field(**it_outer); !field.IsAtEnd(); base 91 chromeos/network/onc/onc_merger.cc scoped_ptr<base::Value> merged_value; base 92 chromeos/network/onc/onc_merger.cc if (field.value().IsType(base::Value::TYPE_DICTIONARY)) { base 96 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* nested_dict = NULL; base 105 chromeos/network/onc/onc_merger.cc std::vector<const base::Value*> values; base 108 chromeos/network/onc/onc_merger.cc const base::Value* value = NULL; base 128 chromeos/network/onc/onc_merger.cc virtual scoped_ptr<base::Value> MergeListOfValues( base 130 chromeos/network/onc/onc_merger.cc const std::vector<const base::Value*>& values) = 0; base 145 chromeos/network/onc/onc_merger.cc const base::Value* user_policy; base 146 chromeos/network/onc/onc_merger.cc const base::Value* device_policy; base 147 chromeos/network/onc/onc_merger.cc const base::Value* user_setting; base 148 chromeos/network/onc/onc_merger.cc const base::Value* shared_setting; base 149 chromeos/network/onc/onc_merger.cc const base::Value* active_setting; base 161 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* user_policy, base 162 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* device_policy, base 163 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* user_settings, base 164 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* shared_settings, base 165 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* active_settings) { base 177 chromeos/network/onc/onc_merger.cc std::vector<const base::DictionaryValue*> dicts(kLastIndex, NULL); base 192 chromeos/network/onc/onc_merger.cc virtual scoped_ptr<base::Value> MergeValues(const std::string& key, base 206 chromeos/network/onc/onc_merger.cc virtual scoped_ptr<base::Value> MergeListOfValues( base 208 chromeos/network/onc/onc_merger.cc const std::vector<const base::Value*>& values) OVERRIDE { base 261 chromeos/network/onc/onc_merger.cc scoped_ptr<base::Value> MergeValues(const std::string& key, base 264 chromeos/network/onc/onc_merger.cc const base::Value* result = NULL; base 290 chromeos/network/onc/onc_merger.cc return scoped_ptr<base::Value>(); base 294 chromeos/network/onc/onc_merger.cc virtual scoped_ptr<base::Value> MergeValues( base 314 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* user_policy, base 315 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* device_policy, base 316 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* user_settings, base 317 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* shared_settings, base 318 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* active_settings) { base 329 chromeos/network/onc/onc_merger.cc virtual scoped_ptr<base::Value> MergeValues( base 332 chromeos/network/onc/onc_merger.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 390 chromeos/network/onc/onc_merger.cc return result.PassAs<base::Value>(); base 423 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* user_policy, base 424 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* device_policy, base 425 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* user_settings, base 426 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* shared_settings) { base 434 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* user_policy, base 435 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* device_policy, base 436 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* user_settings, base 437 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* shared_settings, base 438 chromeos/network/onc/onc_merger.cc const base::DictionaryValue* active_settings) { base 11 chromeos/network/onc/onc_merger.h namespace base { base 29 chromeos/network/onc/onc_merger.h CHROMEOS_EXPORT scoped_ptr<base::DictionaryValue> base 31 chromeos/network/onc/onc_merger.h const base::DictionaryValue* user_policy, base 32 chromeos/network/onc/onc_merger.h const base::DictionaryValue* device_policy, base 33 chromeos/network/onc/onc_merger.h const base::DictionaryValue* user_settings, base 34 chromeos/network/onc/onc_merger.h const base::DictionaryValue* shared_settings); base 43 chromeos/network/onc/onc_merger.h CHROMEOS_EXPORT scoped_ptr<base::DictionaryValue> base 46 chromeos/network/onc/onc_merger.h const base::DictionaryValue* user_policy, base 47 chromeos/network/onc/onc_merger.h const base::DictionaryValue* device_policy, base 48 chromeos/network/onc/onc_merger.h const base::DictionaryValue* user_settings, base 49 chromeos/network/onc/onc_merger.h const base::DictionaryValue* shared_settings, base 50 chromeos/network/onc/onc_merger.h const base::DictionaryValue* active_settings); base 21 chromeos/network/onc/onc_merger_unittest.cc ::testing::AssertionResult HaveSameValueAt(const base::DictionaryValue& a, base 22 chromeos/network/onc/onc_merger_unittest.cc const base::DictionaryValue& b, base 24 chromeos/network/onc/onc_merger_unittest.cc const base::Value* a_value = NULL; base 30 chromeos/network/onc/onc_merger_unittest.cc const base::Value* b_value = NULL; base 36 chromeos/network/onc/onc_merger_unittest.cc if (base::Value::Equals(a_value, b_value)) { base 52 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<const base::DictionaryValue> user_; base 53 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<const base::DictionaryValue> policy_; base 54 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<const base::DictionaryValue> policy_without_recommended_; base 55 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<const base::DictionaryValue> device_policy_; base 67 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective( base 74 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective( base 81 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective( base 88 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective( base 94 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective( base 100 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective( base 102 chromeos/network/onc/onc_merger_unittest.cc const base::Value* value = NULL; base 107 chromeos/network/onc/onc_merger_unittest.cc base::DictionaryValue emptyDict; base 108 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged( base 114 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged( base 120 chromeos/network/onc/onc_merger_unittest.cc base::DictionaryValue emptyDict; base 121 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged; base 134 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective( base 140 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective( base 147 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> expected_augmented = base 149 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToAugmented( base 24 chromeos/network/onc/onc_normalizer.cc scoped_ptr<base::DictionaryValue> Normalizer::NormalizeObject( base 26 chromeos/network/onc/onc_normalizer.cc const base::DictionaryValue& onc_object) { base 29 chromeos/network/onc/onc_normalizer.cc scoped_ptr<base::DictionaryValue> result = base 35 chromeos/network/onc/onc_normalizer.cc scoped_ptr<base::DictionaryValue> Normalizer::MapObject( base 37 chromeos/network/onc/onc_normalizer.cc const base::DictionaryValue& onc_object, base 39 chromeos/network/onc/onc_normalizer.cc scoped_ptr<base::DictionaryValue> normalized = base 43 chromeos/network/onc/onc_normalizer.cc return scoped_ptr<base::DictionaryValue>(); base 72 chromeos/network/onc/onc_normalizer.cc void RemoveEntryUnless(base::DictionaryValue* dict, base 81 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeCertificate(base::DictionaryValue* cert) { base 95 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeEthernet(base::DictionaryValue* ethernet) { base 103 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeEAP(base::DictionaryValue* eap) { base 121 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeIPsec(base::DictionaryValue* ipsec) { base 148 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeNetworkConfiguration(base::DictionaryValue* network) { base 177 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeOpenVPN(base::DictionaryValue* openvpn) { base 189 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeProxySettings(base::DictionaryValue* proxy) { base 199 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeVPN(base::DictionaryValue* vpn) { base 209 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeWiFi(base::DictionaryValue* wifi) { base 28 chromeos/network/onc/onc_normalizer.h scoped_ptr<base::DictionaryValue> NormalizeObject( base 30 chromeos/network/onc/onc_normalizer.h const base::DictionaryValue& onc_object); base 34 chromeos/network/onc/onc_normalizer.h virtual scoped_ptr<base::DictionaryValue> MapObject( base 36 chromeos/network/onc/onc_normalizer.h const base::DictionaryValue& onc_object, base 39 chromeos/network/onc/onc_normalizer.h void NormalizeCertificate(base::DictionaryValue* cert); base 40 chromeos/network/onc/onc_normalizer.h void NormalizeEAP(base::DictionaryValue* eap); base 41 chromeos/network/onc/onc_normalizer.h void NormalizeEthernet(base::DictionaryValue* ethernet); base 42 chromeos/network/onc/onc_normalizer.h void NormalizeIPsec(base::DictionaryValue* ipsec); base 43 chromeos/network/onc/onc_normalizer.h void NormalizeNetworkConfiguration(base::DictionaryValue* network); base 44 chromeos/network/onc/onc_normalizer.h void NormalizeOpenVPN(base::DictionaryValue* openvpn); base 45 chromeos/network/onc/onc_normalizer.h void NormalizeProxySettings(base::DictionaryValue* proxy); base 46 chromeos/network/onc/onc_normalizer.h void NormalizeVPN(base::DictionaryValue* vpn); base 47 chromeos/network/onc/onc_normalizer.h void NormalizeWiFi(base::DictionaryValue* wifi); base 19 chromeos/network/onc/onc_normalizer_unittest.cc scoped_ptr<const base::DictionaryValue> data( base 22 chromeos/network/onc/onc_normalizer_unittest.cc const base::DictionaryValue* original = NULL; base 23 chromeos/network/onc/onc_normalizer_unittest.cc const base::DictionaryValue* expected_normalized = NULL; base 27 chromeos/network/onc/onc_normalizer_unittest.cc scoped_ptr<base::DictionaryValue> actual_normalized = base 10 chromeos/network/onc/onc_signature.cc using base::Value; base 17 chromeos/network/onc/onc_signature.cc base::Value::TYPE_BOOLEAN, NULL base 20 chromeos/network/onc/onc_signature.cc base::Value::TYPE_STRING, NULL base 23 chromeos/network/onc/onc_signature.cc base::Value::TYPE_INTEGER, NULL base 26 chromeos/network/onc/onc_signature.cc base::Value::TYPE_LIST, NULL, &kStringSignature base 29 chromeos/network/onc/onc_signature.cc base::Value::TYPE_LIST, NULL, &kIntegerSignature base 32 chromeos/network/onc/onc_signature.cc base::Value::TYPE_LIST, NULL, &kIPConfigSignature base 35 chromeos/network/onc/onc_signature.cc base::Value::TYPE_LIST, NULL, &kCellularApnSignature base 318 chromeos/network/onc/onc_signature.cc base::Value::TYPE_LIST, NULL, &kStringSignature base 321 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, eap_fields, NULL base 324 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, issuer_subject_pattern_fields, NULL base 327 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, certificate_pattern_fields, NULL base 330 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, ipsec_fields, NULL base 333 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, xauth_fields, NULL base 336 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, l2tp_fields, NULL base 339 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, openvpn_fields, NULL base 342 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, verify_x509_fields, NULL base 345 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, vpn_fields, NULL base 348 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, ethernet_fields, NULL base 351 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, ipconfig_fields, NULL base 354 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, proxy_location_fields, NULL base 357 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, proxy_manual_fields, NULL base 360 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, proxy_settings_fields, NULL base 363 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, wifi_fields, NULL base 366 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, certificate_fields, NULL base 369 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, network_configuration_fields, NULL base 372 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, global_network_configuration_fields, NULL base 375 chromeos/network/onc/onc_signature.cc base::Value::TYPE_LIST, NULL, &kCertificateSignature base 378 chromeos/network/onc/onc_signature.cc base::Value::TYPE_LIST, NULL, &kNetworkConfigurationSignature base 381 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, toplevel_configuration_fields, NULL base 386 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, network_with_state_fields, NULL, base 390 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, wifi_with_state_fields, NULL, &kWiFiSignature base 393 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, cellular_fields, NULL base 396 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, cellular_with_state_fields, NULL, base 400 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, cellular_provider_fields, NULL base 403 chromeos/network/onc/onc_signature.cc base::Value::TYPE_DICTIONARY, cellular_apn_fields, NULL base 24 chromeos/network/onc/onc_signature.h base::Value::Type onc_type; base 27 chromeos/network/onc/onc_test_utils.cc base::FilePath path; base 36 chromeos/network/onc/onc_test_utils.cc base::ReadFileToString(path, &result); base 40 chromeos/network/onc/onc_test_utils.cc scoped_ptr<base::DictionaryValue> ReadTestDictionary( base 42 chromeos/network/onc/onc_test_utils.cc base::DictionaryValue* dict = NULL; base 43 chromeos/network/onc/onc_test_utils.cc base::FilePath path; base 56 chromeos/network/onc/onc_test_utils.cc base::Value* content = serializer.Deserialize(NULL, &error_message); base 67 chromeos/network/onc/onc_test_utils.cc ::testing::AssertionResult Equals(const base::Value* expected, base 68 chromeos/network/onc/onc_test_utils.cc const base::Value* actual) { base 13 chromeos/network/onc/onc_test_utils.h namespace base { base 27 chromeos/network/onc/onc_test_utils.h scoped_ptr<base::DictionaryValue> ReadTestDictionary( base 33 chromeos/network/onc/onc_test_utils.h ::testing::AssertionResult Equals(const base::Value* expected, base 34 chromeos/network/onc/onc_test_utils.h const base::Value* actual); base 11 chromeos/network/onc/onc_translator.h namespace base { base 28 chromeos/network/onc/onc_translator.h scoped_ptr<base::DictionaryValue> TranslateONCObjectToShill( base 30 chromeos/network/onc/onc_translator.h const base::DictionaryValue& onc_object); base 41 chromeos/network/onc/onc_translator.h scoped_ptr<base::DictionaryValue> TranslateShillServiceToONCPart( base 42 chromeos/network/onc/onc_translator.h const base::DictionaryValue& shill_dictionary, base 30 chromeos/network/onc/onc_translator_onc_to_shill.cc scoped_ptr<base::StringValue> ConvertValueToString(const base::Value& value) { base 33 chromeos/network/onc/onc_translator_onc_to_shill.cc base::JSONWriter::Write(&value, &str); base 34 chromeos/network/onc/onc_translator_onc_to_shill.cc return make_scoped_ptr(base::Value::CreateStringValue(str)); base 45 chromeos/network/onc/onc_translator_onc_to_shill.cc const base::DictionaryValue& onc_object, base 46 chromeos/network/onc/onc_translator_onc_to_shill.cc base::DictionaryValue* shill_dictionary) base 71 chromeos/network/onc/onc_translator_onc_to_shill.cc scoped_ptr<base::Value> value); base 82 chromeos/network/onc/onc_translator_onc_to_shill.cc const base::DictionaryValue* onc_object_; base 83 chromeos/network/onc/onc_translator_onc_to_shill.cc base::DictionaryValue* shill_dictionary_; base 122 chromeos/network/onc/onc_translator_onc_to_shill.cc const base::ListValue* certKUs = NULL; base 131 chromeos/network/onc/onc_translator_onc_to_shill.cc for (base::DictionaryValue::Iterator it(*onc_object_); !it.IsAtEnd(); base 133 chromeos/network/onc/onc_translator_onc_to_shill.cc scoped_ptr<base::Value> translated; base 215 chromeos/network/onc/onc_translator_onc_to_shill.cc for (base::DictionaryValue::Iterator it(*onc_object_); !it.IsAtEnd(); base 224 chromeos/network/onc/onc_translator_onc_to_shill.cc scoped_ptr<base::Value> value) { base 259 chromeos/network/onc/onc_translator_onc_to_shill.cc const base::DictionaryValue& onc_object, base 260 chromeos/network/onc/onc_translator_onc_to_shill.cc base::DictionaryValue* shill_dictionary) { base 261 chromeos/network/onc/onc_translator_onc_to_shill.cc base::DictionaryValue* target_shill_dictionary = shill_dictionary; base 268 chromeos/network/onc/onc_translator_onc_to_shill.cc base::DictionaryValue* nested_shill_dict = NULL; base 272 chromeos/network/onc/onc_translator_onc_to_shill.cc nested_shill_dict = new base::DictionaryValue; base 282 chromeos/network/onc/onc_translator_onc_to_shill.cc for (base::DictionaryValue::Iterator it(onc_object); !it.IsAtEnd(); base 284 chromeos/network/onc/onc_translator_onc_to_shill.cc const base::DictionaryValue* inner_object = NULL; base 298 chromeos/network/onc/onc_translator_onc_to_shill.cc scoped_ptr<base::DictionaryValue> TranslateONCObjectToShill( base 300 chromeos/network/onc/onc_translator_onc_to_shill.cc const base::DictionaryValue& onc_object) { base 302 chromeos/network/onc/onc_translator_onc_to_shill.cc scoped_ptr<base::DictionaryValue> shill_dictionary(new base::DictionaryValue); base 28 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::Value> ConvertStringToValue(const std::string& str, base 29 chromeos/network/onc/onc_translator_shill_to_onc.cc base::Value::Type type) { base 30 chromeos/network/onc/onc_translator_shill_to_onc.cc base::Value* value; base 31 chromeos/network/onc/onc_translator_shill_to_onc.cc if (type == base::Value::TYPE_STRING) { base 32 chromeos/network/onc/onc_translator_shill_to_onc.cc value = base::Value::CreateStringValue(str); base 34 chromeos/network/onc/onc_translator_shill_to_onc.cc value = base::JSONReader::Read(str); base 50 chromeos/network/onc/onc_translator_shill_to_onc.cc ShillToONCTranslator(const base::DictionaryValue& shill_dictionary, base 59 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::DictionaryValue> CreateTranslatedONCObject(); base 74 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::DictionaryValue& dictionary); base 86 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::ListValue& list); base 109 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::DictionaryValue* shill_dictionary_; base 112 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::DictionaryValue> onc_object_; base 117 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::DictionaryValue> base 119 chromeos/network/onc/onc_translator_shill_to_onc.cc onc_object_.reset(new base::DictionaryValue); base 160 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::ListValue> certKUs(new base::ListValue); base 177 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::Value* shill_value = NULL; base 187 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::Value> translated; base 248 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::DictionaryValue* dictionary = NULL; base 257 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::ListValue* list = NULL; base 311 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::DictionaryValue& dictionary) { base 318 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::DictionaryValue> nested_object = base 327 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::ListValue& list) { base 330 chromeos/network/onc/onc_translator_shill_to_onc.cc if (field_signature->value_signature->onc_type != base::Value::TYPE_LIST) { base 337 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 338 chromeos/network/onc/onc_translator_shill_to_onc.cc for (base::ListValue::const_iterator it = list.begin(); base 340 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::DictionaryValue* shill_value = NULL; base 346 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::DictionaryValue> nested_object = base 377 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::Value* shill_value = NULL; base 421 chromeos/network/onc/onc_translator_shill_to_onc.cc scoped_ptr<base::DictionaryValue> TranslateShillServiceToONCPart( base 422 chromeos/network/onc/onc_translator_shill_to_onc.cc const base::DictionaryValue& shill_dictionary, base 26 chromeos/network/onc/onc_translator_unittest.cc scoped_ptr<const base::DictionaryValue> onc_network( base 29 chromeos/network/onc/onc_translator_unittest.cc scoped_ptr<const base::DictionaryValue> expected_shill_network( base 32 chromeos/network/onc/onc_translator_unittest.cc scoped_ptr<base::DictionaryValue> translation(TranslateONCObjectToShill( base 73 chromeos/network/onc/onc_translator_unittest.cc scoped_ptr<const base::DictionaryValue> shill_network( base 77 chromeos/network/onc/onc_translator_unittest.cc scoped_ptr<base::DictionaryValue> expected_onc_network( base 80 chromeos/network/onc/onc_translator_unittest.cc scoped_ptr<base::DictionaryValue> translation(TranslateShillServiceToONCPart( base 43 chromeos/network/onc/onc_utils.cc scoped_ptr<base::DictionaryValue> ReadDictionaryFromJson( base 46 chromeos/network/onc/onc_utils.cc base::Value* root = base::JSONReader::ReadAndReturnError( base 47 chromeos/network/onc/onc_utils.cc json, base::JSON_ALLOW_TRAILING_COMMAS, NULL, &error); base 49 chromeos/network/onc/onc_utils.cc base::DictionaryValue* dict_ptr = NULL; base 58 chromeos/network/onc/onc_utils.cc scoped_ptr<base::DictionaryValue> Decrypt(const std::string& passphrase, base 59 chromeos/network/onc/onc_utils.cc const base::DictionaryValue& root) { base 84 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 91 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 97 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 104 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 107 chromeos/network/onc/onc_utils.cc if (!base::Base64Decode(salt, &salt)) { base 109 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 119 chromeos/network/onc/onc_utils.cc if (!base::Base64Decode(initial_vector, &initial_vector)) { base 121 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 123 chromeos/network/onc/onc_utils.cc if (!base::Base64Decode(ciphertext, &ciphertext)) { base 125 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 127 chromeos/network/onc/onc_utils.cc if (!base::Base64Decode(hmac, &hmac)) { base 129 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 136 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 142 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 148 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 151 chromeos/network/onc/onc_utils.cc scoped_ptr<base::DictionaryValue> new_root = base 155 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::DictionaryValue>(); base 178 chromeos/network/onc/onc_utils.cc base::DictionaryValue* onc_object) { base 203 chromeos/network/onc/onc_utils.cc base::DictionaryValue* onc_object) { base 213 chromeos/network/onc/onc_utils.cc for (base::DictionaryValue::Iterator it(*onc_object); !it.IsAtEnd(); base 215 chromeos/network/onc/onc_utils.cc base::DictionaryValue* inner_object = NULL; base 230 chromeos/network/onc/onc_utils.cc base::ListValue* network_configs) { base 231 chromeos/network/onc/onc_utils.cc for (base::ListValue::iterator it = network_configs->begin(); base 233 chromeos/network/onc/onc_utils.cc base::DictionaryValue* network = NULL; base 245 chromeos/network/onc/onc_utils.cc static scoped_ptr<base::DictionaryValue> Mask( base 247 chromeos/network/onc/onc_utils.cc const base::DictionaryValue& onc_object, base 259 chromeos/network/onc/onc_utils.cc virtual scoped_ptr<base::Value> MapField( base 262 chromeos/network/onc/onc_utils.cc const base::Value& onc_value, base 266 chromeos/network/onc/onc_utils.cc return scoped_ptr<base::Value>(new base::StringValue(mask_)); base 279 chromeos/network/onc/onc_utils.cc scoped_ptr<base::DictionaryValue> MaskCredentialsInOncObject( base 281 chromeos/network/onc/onc_utils.cc const base::DictionaryValue& onc_object, base 307 chromeos/network/onc/onc_utils.cc if (!base::Base64Decode(pem_encoded, &decoded)) { base 316 chromeos/network/onc/onc_utils.cc const base::ListValue& certificates) { base 318 chromeos/network/onc/onc_utils.cc for (base::ListValue::const_iterator it = certificates.begin(); base 320 chromeos/network/onc/onc_utils.cc base::DictionaryValue* cert = NULL; base 352 chromeos/network/onc/onc_utils.cc base::ListValue* network_configs, base 353 chromeos/network/onc/onc_utils.cc base::DictionaryValue* global_network_config, base 354 chromeos/network/onc/onc_utils.cc base::ListValue* certificates) { base 361 chromeos/network/onc/onc_utils.cc scoped_ptr<base::DictionaryValue> toplevel_onc = base 415 chromeos/network/onc/onc_utils.cc base::ListValue* validated_certs = NULL; base 421 chromeos/network/onc/onc_utils.cc base::ListValue* validated_networks = NULL; base 437 chromeos/network/onc/onc_utils.cc base::DictionaryValue* validated_global_config = NULL; base 478 chromeos/network/onc/onc_utils.cc base::DictionaryValue* onc_object) { base 495 chromeos/network/onc/onc_utils.cc base::DictionaryValue* onc_object) { base 496 chromeos/network/onc/onc_utils.cc const base::ListValue* guid_ref_list = NULL; base 502 chromeos/network/onc/onc_utils.cc scoped_ptr<base::ListValue> pem_list(new base::ListValue); base 503 chromeos/network/onc/onc_utils.cc for (base::ListValue::const_iterator it = guid_ref_list->begin(); base 523 chromeos/network/onc/onc_utils.cc base::DictionaryValue* onc_object) { base 532 chromeos/network/onc/onc_utils.cc scoped_ptr<base::ListValue> pem_list(new base::ListValue); base 546 chromeos/network/onc/onc_utils.cc base::DictionaryValue* onc_object) { base 564 chromeos/network/onc/onc_utils.cc base::DictionaryValue* onc_object) { base 602 chromeos/network/onc/onc_utils.cc for (base::DictionaryValue::Iterator it(*onc_object); !it.IsAtEnd(); base 604 chromeos/network/onc/onc_utils.cc base::DictionaryValue* inner_object = NULL; base 625 chromeos/network/onc/onc_utils.cc base::ListValue* network_configs) { base 627 chromeos/network/onc/onc_utils.cc for (base::ListValue::iterator it = network_configs->begin(); base 629 chromeos/network/onc/onc_utils.cc base::DictionaryValue* network = NULL; base 648 chromeos/network/onc/onc_utils.cc base::DictionaryValue* network_config) { base 18 chromeos/network/onc/onc_utils.h namespace base { base 41 chromeos/network/onc/onc_utils.h CHROMEOS_EXPORT scoped_ptr<base::DictionaryValue> ReadDictionaryFromJson( base 47 chromeos/network/onc/onc_utils.h CHROMEOS_EXPORT scoped_ptr<base::DictionaryValue> Decrypt( base 49 chromeos/network/onc/onc_utils.h const base::DictionaryValue& onc); base 77 chromeos/network/onc/onc_utils.h base::DictionaryValue* onc_object); base 83 chromeos/network/onc/onc_utils.h base::ListValue* network_configs); base 88 chromeos/network/onc/onc_utils.h CHROMEOS_EXPORT scoped_ptr<base::DictionaryValue> MaskCredentialsInOncObject( base 90 chromeos/network/onc/onc_utils.h const base::DictionaryValue& onc_object, base 103 chromeos/network/onc/onc_utils.h base::ListValue* network_configs, base 104 chromeos/network/onc/onc_utils.h base::DictionaryValue* global_network_config, base 105 chromeos/network/onc/onc_utils.h base::ListValue* certificates); base 119 chromeos/network/onc/onc_utils.h base::ListValue* network_configs); base 126 chromeos/network/onc/onc_utils.h base::DictionaryValue* network_config); base 18 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> encrypted_onc = base 21 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> decrypted_onc = base 28 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> encrypted_onc = base 32 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> decrypted_onc = base 39 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> encrypted_onc = base 41 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> expected_decrypted_onc = base 45 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> actual_decrypted_onc = base 48 chromeos/network/onc/onc_utils_unittest.cc base::DictionaryValue emptyDict; base 78 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> vpn_onc = base 91 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> wifi_onc = base 104 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::DictionaryValue> test_cases = base 112 chromeos/network/onc/onc_utils_unittest.cc for (base::DictionaryValue::Iterator it(*test_cases); base 116 chromeos/network/onc/onc_utils_unittest.cc const base::DictionaryValue* test_case = NULL; base 119 chromeos/network/onc/onc_utils_unittest.cc const base::ListValue* networks_with_cert_refs = NULL; base 122 chromeos/network/onc/onc_utils_unittest.cc const base::ListValue* expected_resolved_onc = NULL; base 128 chromeos/network/onc/onc_utils_unittest.cc scoped_ptr<base::ListValue> actual_resolved_onc( base 25 chromeos/network/onc/onc_validator.cc std::string ValueTypeToString(base::Value::Type type) { base 54 chromeos/network/onc/onc_validator.cc scoped_ptr<base::DictionaryValue> Validator::ValidateAndRepairObject( base 56 chromeos/network/onc/onc_validator.cc const base::DictionaryValue& onc_object, base 62 chromeos/network/onc/onc_validator.cc scoped_ptr<base::Value> result_value = base 73 chromeos/network/onc/onc_validator.cc base::DictionaryValue* result_dict = NULL; base 82 chromeos/network/onc/onc_validator.cc scoped_ptr<base::Value> Validator::MapValue(const OncValueSignature& signature, base 83 chromeos/network/onc/onc_validator.cc const base::Value& onc_value, base 91 chromeos/network/onc/onc_validator.cc return scoped_ptr<base::Value>(); base 94 chromeos/network/onc/onc_validator.cc scoped_ptr<base::Value> repaired = base 101 chromeos/network/onc/onc_validator.cc scoped_ptr<base::DictionaryValue> Validator::MapObject( base 103 chromeos/network/onc/onc_validator.cc const base::DictionaryValue& onc_object, base 105 chromeos/network/onc/onc_validator.cc scoped_ptr<base::DictionaryValue> repaired(new base::DictionaryValue); base 144 chromeos/network/onc/onc_validator.cc return scoped_ptr<base::DictionaryValue>(); base 148 chromeos/network/onc/onc_validator.cc scoped_ptr<base::Value> Validator::MapField( base 151 chromeos/network/onc/onc_validator.cc const base::Value& onc_value, base 156 chromeos/network/onc/onc_validator.cc scoped_ptr<base::Value> result = Mapper::MapField( base 175 chromeos/network/onc/onc_validator.cc scoped_ptr<base::ListValue> Validator::MapArray( base 177 chromeos/network/onc/onc_validator.cc const base::ListValue& onc_array, base 180 chromeos/network/onc/onc_validator.cc scoped_ptr<base::ListValue> result = Mapper::MapArray( base 193 chromeos/network/onc/onc_validator.cc scoped_ptr<base::Value> Validator::MapEntry(int index, base 195 chromeos/network/onc/onc_validator.cc const base::Value& onc_value, base 197 chromeos/network/onc/onc_validator.cc std::string str = base::IntToString(index); base 199 chromeos/network/onc/onc_validator.cc scoped_ptr<base::Value> result = base 207 chromeos/network/onc/onc_validator.cc const base::DictionaryValue& onc_object, base 208 chromeos/network/onc/onc_validator.cc base::DictionaryValue* result) { base 227 chromeos/network/onc/onc_validator.cc base::DictionaryValue* result) { base 230 chromeos/network/onc/onc_validator.cc scoped_ptr<base::ListValue> recommended; base 231 chromeos/network/onc/onc_validator.cc scoped_ptr<base::Value> recommended_value; base 237 chromeos/network/onc/onc_validator.cc base::ListValue* recommended_list = NULL; base 251 chromeos/network/onc/onc_validator.cc scoped_ptr<base::ListValue> repaired_recommended(new base::ListValue); base 252 chromeos/network/onc/onc_validator.cc for (base::ListValue::iterator it = recommended->begin(); base 269 chromeos/network/onc/onc_validator.cc base::Value::TYPE_DICTIONARY) { base 309 chromeos/network/onc/onc_validator.cc const base::DictionaryValue& object, base 331 chromeos/network/onc/onc_validator.cc bool Validator::FieldExistsAndIsNotInRange(const base::DictionaryValue& object, base 349 chromeos/network/onc/onc_validator.cc bool Validator::FieldExistsAndIsEmpty(const base::DictionaryValue& object, base 351 chromeos/network/onc/onc_validator.cc const base::Value* value = NULL; base 356 chromeos/network/onc/onc_validator.cc const base::ListValue* list = NULL; base 376 chromeos/network/onc/onc_validator.cc bool Validator::RequireField(const base::DictionaryValue& dict, base 390 chromeos/network/onc/onc_validator.cc bool Validator::CheckGuidIsUniqueAndAddToSet(const base::DictionaryValue& dict, base 417 chromeos/network/onc/onc_validator.cc const base::DictionaryValue& onc_object) { base 428 chromeos/network/onc/onc_validator.cc bool Validator::ValidateToplevelConfiguration(base::DictionaryValue* result) { base 463 chromeos/network/onc/onc_validator.cc bool Validator::ValidateNetworkConfiguration(base::DictionaryValue* result) { base 519 chromeos/network/onc/onc_validator.cc bool Validator::ValidateEthernet(base::DictionaryValue* result) { base 537 chromeos/network/onc/onc_validator.cc bool Validator::ValidateIPConfig(base::DictionaryValue* result) { base 562 chromeos/network/onc/onc_validator.cc bool Validator::ValidateWiFi(base::DictionaryValue* result) { base 583 chromeos/network/onc/onc_validator.cc bool Validator::ValidateVPN(base::DictionaryValue* result) { base 606 chromeos/network/onc/onc_validator.cc bool Validator::ValidateIPsec(base::DictionaryValue* result) { base 668 chromeos/network/onc/onc_validator.cc bool Validator::ValidateOpenVPN(base::DictionaryValue* result) { base 712 chromeos/network/onc/onc_validator.cc bool Validator::ValidateVerifyX509(base::DictionaryValue* result) { base 726 chromeos/network/onc/onc_validator.cc bool Validator::ValidateCertificatePattern(base::DictionaryValue* result) { base 746 chromeos/network/onc/onc_validator.cc bool Validator::ValidateProxySettings(base::DictionaryValue* result) { base 764 chromeos/network/onc/onc_validator.cc bool Validator::ValidateProxyLocation(base::DictionaryValue* result) { base 773 chromeos/network/onc/onc_validator.cc bool Validator::ValidateEAP(base::DictionaryValue* result) { base 814 chromeos/network/onc/onc_validator.cc bool Validator::ValidateCertificate(base::DictionaryValue* result) { base 17 chromeos/network/onc/onc_validator.h namespace base { base 94 chromeos/network/onc/onc_validator.h scoped_ptr<base::DictionaryValue> ValidateAndRepairObject( base 96 chromeos/network/onc/onc_validator.h const base::DictionaryValue& onc_object, base 103 chromeos/network/onc/onc_validator.h virtual scoped_ptr<base::Value> MapValue(const OncValueSignature& signature, base 104 chromeos/network/onc/onc_validator.h const base::Value& onc_value, base 111 chromeos/network/onc/onc_validator.h virtual scoped_ptr<base::DictionaryValue> MapObject( base 113 chromeos/network/onc/onc_validator.h const base::DictionaryValue& onc_object, base 117 chromeos/network/onc/onc_validator.h virtual scoped_ptr<base::Value> MapField( base 120 chromeos/network/onc/onc_validator.h const base::Value& onc_value, base 126 chromeos/network/onc/onc_validator.h virtual scoped_ptr<base::ListValue> MapArray( base 128 chromeos/network/onc/onc_validator.h const base::ListValue& onc_array, base 132 chromeos/network/onc/onc_validator.h virtual scoped_ptr<base::Value> MapEntry(int index, base 134 chromeos/network/onc/onc_validator.h const base::Value& onc_value, base 141 chromeos/network/onc/onc_validator.h const base::DictionaryValue& onc_object, base 142 chromeos/network/onc/onc_validator.h base::DictionaryValue* result); base 147 chromeos/network/onc/onc_validator.h base::DictionaryValue* result); base 149 chromeos/network/onc/onc_validator.h bool ValidateToplevelConfiguration(base::DictionaryValue* result); base 150 chromeos/network/onc/onc_validator.h bool ValidateNetworkConfiguration(base::DictionaryValue* result); base 151 chromeos/network/onc/onc_validator.h bool ValidateEthernet(base::DictionaryValue* result); base 152 chromeos/network/onc/onc_validator.h bool ValidateIPConfig(base::DictionaryValue* result); base 153 chromeos/network/onc/onc_validator.h bool ValidateWiFi(base::DictionaryValue* result); base 154 chromeos/network/onc/onc_validator.h bool ValidateVPN(base::DictionaryValue* result); base 155 chromeos/network/onc/onc_validator.h bool ValidateIPsec(base::DictionaryValue* result); base 156 chromeos/network/onc/onc_validator.h bool ValidateOpenVPN(base::DictionaryValue* result); base 157 chromeos/network/onc/onc_validator.h bool ValidateVerifyX509(base::DictionaryValue* result); base 158 chromeos/network/onc/onc_validator.h bool ValidateCertificatePattern(base::DictionaryValue* result); base 159 chromeos/network/onc/onc_validator.h bool ValidateProxySettings(base::DictionaryValue* result); base 160 chromeos/network/onc/onc_validator.h bool ValidateProxyLocation(base::DictionaryValue* result); base 161 chromeos/network/onc/onc_validator.h bool ValidateEAP(base::DictionaryValue* result); base 162 chromeos/network/onc/onc_validator.h bool ValidateCertificate(base::DictionaryValue* result); base 164 chromeos/network/onc/onc_validator.h bool FieldExistsAndHasNoValidValue(const base::DictionaryValue& object, base 168 chromeos/network/onc/onc_validator.h bool FieldExistsAndIsNotInRange(const base::DictionaryValue& object, base 173 chromeos/network/onc/onc_validator.h bool FieldExistsAndIsEmpty(const base::DictionaryValue& object, base 176 chromeos/network/onc/onc_validator.h bool RequireField(const base::DictionaryValue& dict, const std::string& key); base 181 chromeos/network/onc/onc_validator.h bool CheckGuidIsUniqueAndAddToSet(const base::DictionaryValue& dict, base 191 chromeos/network/onc/onc_validator.h const base::DictionaryValue& onc_object); base 30 chromeos/network/onc/onc_validator_unittest.cc scoped_ptr<base::DictionaryValue> onc_object, base 56 chromeos/network/onc/onc_validator_unittest.cc const base::DictionaryValue& expected_repaired) { base 68 chromeos/network/onc/onc_validator_unittest.cc scoped_ptr<const base::DictionaryValue> original_object_; base 69 chromeos/network/onc/onc_validator_unittest.cc scoped_ptr<const base::DictionaryValue> repaired_object_; base 225 chromeos/network/onc/onc_validator_unittest.cc scoped_ptr<base::DictionaryValue> GetDictionaryFromTestFile( base 227 chromeos/network/onc/onc_validator_unittest.cc scoped_ptr<const base::DictionaryValue> dict( base 229 chromeos/network/onc/onc_validator_unittest.cc const base::DictionaryValue* onc_object = NULL; base 36 chromeos/network/policy_applicator.cc const base::DictionaryValue* GetByGUID( base 48 chromeos/network/policy_applicator.cc base::WeakPtr<ConfigurationHandler> handler, base 51 chromeos/network/policy_applicator.cc const base::DictionaryValue& global_network_config, base 65 chromeos/network/policy_applicator.cc base::Bind(&PolicyApplicator::GetProfilePropertiesCallback, this), base 66 chromeos/network/policy_applicator.cc base::Bind(&LogErrorMessage, FROM_HERE)); base 70 chromeos/network/policy_applicator.cc const base::DictionaryValue& profile_properties) { base 78 chromeos/network/policy_applicator.cc const base::ListValue* entries = NULL; base 87 chromeos/network/policy_applicator.cc for (base::ListValue::const_iterator it = entries->begin(); base 95 chromeos/network/policy_applicator.cc base::Bind(&PolicyApplicator::GetEntryCallback, this, entry), base 96 chromeos/network/policy_applicator.cc base::Bind(&LogErrorMessage, FROM_HERE)); base 102 chromeos/network/policy_applicator.cc const base::DictionaryValue& entry_properties) { base 112 chromeos/network/policy_applicator.cc scoped_ptr<base::DictionaryValue> onc_part( base 141 chromeos/network/policy_applicator.cc const base::DictionaryValue* new_policy = NULL; base 171 chromeos/network/policy_applicator.cc const base::DictionaryValue* user_settings = base 173 chromeos/network/policy_applicator.cc scoped_ptr<base::DictionaryValue> new_shill_properties = base 220 chromeos/network/policy_applicator.cc base::DictionaryValue shill_properties_to_update; base 238 chromeos/network/policy_applicator.cc base::Bind(&base::DoNothing), base 239 chromeos/network/policy_applicator.cc base::Bind(&LogErrorMessage, FROM_HERE)); base 243 chromeos/network/policy_applicator.cc const base::DictionaryValue& shill_dictionary, base 244 chromeos/network/policy_applicator.cc const base::DictionaryValue& policy, base 252 chromeos/network/policy_applicator.cc const base::DictionaryValue* ethernet = NULL; base 269 chromeos/network/policy_applicator.cc const base::DictionaryValue& entry_properties, base 270 chromeos/network/policy_applicator.cc base::DictionaryValue* properties_to_update) const { base 316 chromeos/network/policy_applicator.cc for (ScopedVector<base::DictionaryValue>::const_iterator it = base 333 chromeos/network/policy_applicator.cc const base::DictionaryValue* policy = GetByGUID(all_policies_, *it); base 339 chromeos/network/policy_applicator.cc scoped_ptr<base::DictionaryValue> shill_dictionary = base 25 chromeos/network/policy_applicator.h class PolicyApplicator : public base::RefCounted<PolicyApplicator> { base 35 chromeos/network/policy_applicator.h const base::DictionaryValue& shill_properties) = 0; base 38 chromeos/network/policy_applicator.h const base::DictionaryValue& existing_properties, base 39 chromeos/network/policy_applicator.h const base::DictionaryValue& new_properties) = 0; base 49 chromeos/network/policy_applicator.h typedef std::map<std::string, const base::DictionaryValue*> GuidToPolicyMap; base 52 chromeos/network/policy_applicator.h PolicyApplicator(base::WeakPtr<ConfigurationHandler> handler, base 55 chromeos/network/policy_applicator.h const base::DictionaryValue& global_network_config, base 61 chromeos/network/policy_applicator.h friend class base::RefCounted<PolicyApplicator>; base 66 chromeos/network/policy_applicator.h const base::DictionaryValue& profile_properties); base 72 chromeos/network/policy_applicator.h const base::DictionaryValue& entry_properties); base 79 chromeos/network/policy_applicator.h void WriteNewShillConfiguration(const base::DictionaryValue& shill_dictionary, base 80 chromeos/network/policy_applicator.h const base::DictionaryValue& policy, base 88 chromeos/network/policy_applicator.h const base::DictionaryValue& entry_properties, base 89 chromeos/network/policy_applicator.h base::DictionaryValue* properties_to_update) const; base 100 chromeos/network/policy_applicator.h base::WeakPtr<ConfigurationHandler> handler_; base 103 chromeos/network/policy_applicator.h base::DictionaryValue global_network_config_; base 104 chromeos/network/policy_applicator.h ScopedVector<base::DictionaryValue> new_shill_configurations_; base 35 chromeos/network/policy_util.cc base::DictionaryValue* onc_object) { base 36 chromeos/network/policy_util.cc base::DictionaryValue::Iterator it(*onc_object); base 38 chromeos/network/policy_util.cc base::Value* value = NULL; base 47 chromeos/network/policy_util.cc base::DictionaryValue* nested_object = NULL; base 78 chromeos/network/policy_util.cc bool IsPolicyMatching(const base::DictionaryValue& policy, base 79 chromeos/network/policy_util.cc const base::DictionaryValue& actual_network) { base 90 chromeos/network/policy_util.cc const base::DictionaryValue* policy_ethernet = NULL; base 93 chromeos/network/policy_util.cc const base::DictionaryValue* actual_ethernet = NULL; base 107 chromeos/network/policy_util.cc const base::DictionaryValue* policy_wifi = NULL; base 110 chromeos/network/policy_util.cc const base::DictionaryValue* actual_wifi = NULL; base 130 chromeos/network/policy_util.cc scoped_ptr<base::DictionaryValue> CreateShillConfiguration( base 133 chromeos/network/policy_util.cc const base::DictionaryValue* policy, base 134 chromeos/network/policy_util.cc const base::DictionaryValue* settings) { base 135 chromeos/network/policy_util.cc scoped_ptr<base::DictionaryValue> effective; base 174 chromeos/network/policy_util.cc scoped_ptr<base::DictionaryValue> shill_dictionary( base 195 chromeos/network/policy_util.cc scoped_ptr<base::DictionaryValue> sanitized_settings( base 209 chromeos/network/policy_util.cc const base::DictionaryValue* FindMatchingPolicy( base 211 chromeos/network/policy_util.cc const base::DictionaryValue& actual_network) { base 13 chromeos/network/policy_util.h namespace base { base 23 chromeos/network/policy_util.h typedef std::map<std::string, const base::DictionaryValue*> GuidToPolicyMap; base 30 chromeos/network/policy_util.h scoped_ptr<base::DictionaryValue> CreateShillConfiguration( base 33 chromeos/network/policy_util.h const base::DictionaryValue* policy, base 34 chromeos/network/policy_util.h const base::DictionaryValue* settings); base 39 chromeos/network/policy_util.h const base::DictionaryValue* FindMatchingPolicy( base 41 chromeos/network/policy_util.h const base::DictionaryValue& actual_network); base 30 chromeos/network/shill_property_handler.cc const base::ListValue* GetListValue(const std::string& key, base 31 chromeos/network/shill_property_handler.cc const base::Value& value) { base 32 chromeos/network/shill_property_handler.cc const base::ListValue* vlist = NULL; base 50 chromeos/network/shill_property_handler.cc typedef base::Callback<void(ManagedState::ManagedType type, base 53 chromeos/network/shill_property_handler.cc const base::Value& value)> Handler; base 86 chromeos/network/shill_property_handler.cc const base::Value& value) OVERRIDE { base 124 chromeos/network/shill_property_handler.cc base::Bind(&ShillPropertyHandler::ManagerPropertiesCallback, base 156 chromeos/network/shill_property_handler.cc base::Bind(&base::DoNothing), base 157 chromeos/network/shill_property_handler.cc base::Bind(&ShillPropertyHandler::EnableTechnologyFailed, base 165 chromeos/network/shill_property_handler.cc base::Bind(&base::DoNothing), base 166 chromeos/network/shill_property_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 174 chromeos/network/shill_property_handler.cc base::StringValue value(check_portal_list); base 178 chromeos/network/shill_property_handler.cc base::Bind(&base::DoNothing), base 179 chromeos/network/shill_property_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 187 chromeos/network/shill_property_handler.cc base::Bind(&base::DoNothing), base 188 chromeos/network/shill_property_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 196 chromeos/network/shill_property_handler.cc base::Bind(&base::DoNothing), base 197 chromeos/network/shill_property_handler.cc base::Bind(&network_handler::ShillErrorCallbackFunction, base 213 chromeos/network/shill_property_handler.cc base::Bind(&ShillPropertyHandler::GetPropertiesCallback, base 218 chromeos/network/shill_property_handler.cc base::Bind(&ShillPropertyHandler::GetPropertiesCallback, base 226 chromeos/network/shill_property_handler.cc const base::Value& value) { base 236 chromeos/network/shill_property_handler.cc const base::DictionaryValue& properties) { base 239 chromeos/network/shill_property_handler.cc base::StringPrintf("Failed: %d", call_status)); base 243 chromeos/network/shill_property_handler.cc const base::Value* update_service_value = NULL; base 244 chromeos/network/shill_property_handler.cc const base::Value* update_service_complete_value = NULL; base 245 chromeos/network/shill_property_handler.cc for (base::DictionaryValue::Iterator iter(properties); base 289 chromeos/network/shill_property_handler.cc const base::Value& value) { base 295 chromeos/network/shill_property_handler.cc const base::ListValue* vlist = GetListValue(key, value); base 306 chromeos/network/shill_property_handler.cc const base::ListValue* vlist = GetListValue(key, value); base 312 chromeos/network/shill_property_handler.cc const base::ListValue* vlist = GetListValue(key, value); base 319 chromeos/network/shill_property_handler.cc const base::ListValue* vlist = GetListValue(key, value); base 323 chromeos/network/shill_property_handler.cc const base::ListValue* vlist = GetListValue(key, value); base 327 chromeos/network/shill_property_handler.cc const base::ListValue* vlist = GetListValue(key, value); base 342 chromeos/network/shill_property_handler.cc const base::ListValue& entries) { base 348 chromeos/network/shill_property_handler.cc base::StringPrintf("UpdateProperties: %" PRIuS, entries.GetSize()), base 350 chromeos/network/shill_property_handler.cc for (base::ListValue::const_iterator iter = entries.begin(); base 372 chromeos/network/shill_property_handler.cc const base::ListValue& entries) { base 379 chromeos/network/shill_property_handler.cc for (base::ListValue::const_iterator iter1 = entries.begin(); base 391 chromeos/network/shill_property_handler.cc type, path, base::Bind( base 408 chromeos/network/shill_property_handler.cc const base::ListValue& technologies) { base 411 chromeos/network/shill_property_handler.cc base::StringPrintf("Size: %" PRIuS, technologies.GetSize())); base 412 chromeos/network/shill_property_handler.cc for (base::ListValue::const_iterator iter = technologies.begin(); base 423 chromeos/network/shill_property_handler.cc const base::ListValue& technologies) { base 426 chromeos/network/shill_property_handler.cc base::StringPrintf("Size: %" PRIuS, technologies.GetSize())); base 427 chromeos/network/shill_property_handler.cc for (base::ListValue::const_iterator iter = technologies.begin(); base 439 chromeos/network/shill_property_handler.cc const base::ListValue& technologies) { base 442 chromeos/network/shill_property_handler.cc base::StringPrintf("Size: %" PRIuS, technologies.GetSize())); base 443 chromeos/network/shill_property_handler.cc for (base::ListValue::const_iterator iter = technologies.begin(); base 469 chromeos/network/shill_property_handler.cc const base::DictionaryValue& properties) { base 477 chromeos/network/shill_property_handler.cc base::StringPrintf("%s: %d", path.c_str(), call_status)); base 499 chromeos/network/shill_property_handler.cc base::Bind(&ShillPropertyHandler::GetIPConfigCallback, base 520 chromeos/network/shill_property_handler.cc const base::Value& value) { base 532 chromeos/network/shill_property_handler.cc const base::Value& value) { base 541 chromeos/network/shill_property_handler.cc base::Bind(&ShillPropertyHandler::GetIPConfigCallback, base 551 chromeos/network/shill_property_handler.cc const base::DictionaryValue& properties) { base 554 chromeos/network/shill_property_handler.cc base::StringPrintf("%s: %d", base 568 chromeos/network/shill_property_handler.cc const base::DictionaryValue& properties, base 570 chromeos/network/shill_property_handler.cc const base::Value* value; base 583 chromeos/network/shill_property_handler.cc const base::Value& value) { base 19 chromeos/network/shill_property_handler.h namespace base { base 42 chromeos/network/shill_property_handler.h public base::SupportsWeakPtr<ShillPropertyHandler> { base 51 chromeos/network/shill_property_handler.h const base::ListValue& entries) = 0; base 57 chromeos/network/shill_property_handler.h const base::DictionaryValue& properties) = 0; base 66 chromeos/network/shill_property_handler.h const base::Value& value) = 0; base 72 chromeos/network/shill_property_handler.h const base::Value& value) = 0; base 133 chromeos/network/shill_property_handler.h const base::Value& value) OVERRIDE; base 141 chromeos/network/shill_property_handler.h const base::DictionaryValue& properties); base 150 chromeos/network/shill_property_handler.h const base::Value& value); base 160 chromeos/network/shill_property_handler.h const base::ListValue& entries); base 164 chromeos/network/shill_property_handler.h const base::ListValue& entries); base 168 chromeos/network/shill_property_handler.h void UpdateAvailableTechnologies(const base::ListValue& technologies); base 169 chromeos/network/shill_property_handler.h void UpdateEnabledTechnologies(const base::ListValue& technologies); base 170 chromeos/network/shill_property_handler.h void UpdateUninitializedTechnologies(const base::ListValue& technologies); base 182 chromeos/network/shill_property_handler.h const base::DictionaryValue& properties); base 189 chromeos/network/shill_property_handler.h const base::Value& value); base 192 chromeos/network/shill_property_handler.h const base::Value& value); base 199 chromeos/network/shill_property_handler.h const base::DictionaryValue& properties); base 201 chromeos/network/shill_property_handler.h const base::DictionaryValue& properties, base 206 chromeos/network/shill_property_handler.h const base::Value& value); base 44 chromeos/network/shill_property_handler_unittest.cc const base::ListValue& entries) OVERRIDE { base 51 chromeos/network/shill_property_handler_unittest.cc const base::DictionaryValue& properties) OVERRIDE { base 61 chromeos/network/shill_property_handler_unittest.cc const base::Value& value) OVERRIDE { base 68 chromeos/network/shill_property_handler_unittest.cc const base::Value& value) OVERRIDE { base 118 chromeos/network/shill_property_handler_unittest.cc void UpdateEntries(const std::string& type, const base::ListValue& entries) { base 122 chromeos/network/shill_property_handler_unittest.cc for (base::ListValue::const_iterator iter = entries.begin(); base 238 chromeos/network/shill_property_handler_unittest.cc base::DictionaryValue properties; // Empty entry base 283 chromeos/network/shill_property_handler_unittest.cc base::MessageLoopForUI message_loop_; base 330 chromeos/network/shill_property_handler_unittest.cc base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); base 381 chromeos/network/shill_property_handler_unittest.cc base::FundamentalValue scan_interval(3); base 386 chromeos/network/shill_property_handler_unittest.cc base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); base 407 chromeos/network/shill_property_handler_unittest.cc base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); base 428 chromeos/network/shill_property_handler_unittest.cc base::StringValue ip_address("192.168.1.1"); base 432 chromeos/network/shill_property_handler_unittest.cc base::Bind(&DoNothingWithCallStatus)); base 433 chromeos/network/shill_property_handler_unittest.cc base::ListValue dns_servers; base 434 chromeos/network/shill_property_handler_unittest.cc dns_servers.Append(base::Value::CreateStringValue("192.168.1.100")); base 435 chromeos/network/shill_property_handler_unittest.cc dns_servers.Append(base::Value::CreateStringValue("192.168.1.101")); base 439 chromeos/network/shill_property_handler_unittest.cc base::Bind(&DoNothingWithCallStatus)); base 440 chromeos/network/shill_property_handler_unittest.cc base::FundamentalValue prefixlen(8); base 444 chromeos/network/shill_property_handler_unittest.cc base::Bind(&DoNothingWithCallStatus)); base 445 chromeos/network/shill_property_handler_unittest.cc base::StringValue gateway("192.0.0.1"); base 449 chromeos/network/shill_property_handler_unittest.cc base::Bind(&DoNothingWithCallStatus)); base 463 chromeos/network/shill_property_handler_unittest.cc base::StringValue(kTestIPConfigPath), base 464 chromeos/network/shill_property_handler_unittest.cc base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); base 528 chromeos/network/shill_property_handler_unittest.cc base::FundamentalValue scan_interval(3); base 533 chromeos/network/shill_property_handler_unittest.cc base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction)); base 31 chromeos/network/shill_property_util.cc bool is_unicode_char = base::ReadUnicodeCharacter( base 35 chromeos/network/shill_property_util.cc base::WriteUnicodeCharacter(code_point_out, &result); base 40 chromeos/network/shill_property_util.cc base::WriteUnicodeCharacter(kReplacementChar, &result); base 48 chromeos/network/shill_property_util.cc bool CopyStringFromDictionary(const base::DictionaryValue& source, base 50 chromeos/network/shill_property_util.cc base::DictionaryValue* dest) { base 61 chromeos/network/shill_property_util.cc void SetSSID(const std::string ssid, base::DictionaryValue* properties) { base 62 chromeos/network/shill_property_util.cc std::string hex_ssid = base::HexEncode(ssid.c_str(), ssid.size()); base 66 chromeos/network/shill_property_util.cc std::string GetSSIDFromProperties(const base::DictionaryValue& properties, base 80 chromeos/network/shill_property_util.cc if (base::HexStringToBytes(hex_ssid, &raw_ssid_bytes)) { base 84 chromeos/network/shill_property_util.cc base::StringPrintf("%s, SSID: %s", hex_ssid.c_str(), ssid.c_str())); base 87 chromeos/network/shill_property_util.cc base::StringPrintf("Error processing: %s", hex_ssid.c_str())); base 96 chromeos/network/shill_property_util.cc if (!base::DetectEncoding(ssid, &encoding)) { base 105 chromeos/network/shill_property_util.cc base::ConvertToUtf8AndNormalize(ssid, encoding, &utf8_ssid)) { base 109 chromeos/network/shill_property_util.cc base::StringPrintf( base 119 chromeos/network/shill_property_util.cc base::StringPrintf("Unrecognized Encoding=%s", encoding.c_str())); base 124 chromeos/network/shill_property_util.cc const base::DictionaryValue& properties) { base 140 chromeos/network/shill_property_util.cc const base::DictionaryValue& properties) { base 147 chromeos/network/shill_property_util.cc base::StringPrintf("Validated name %s: UTF8: %s", base 174 chromeos/network/shill_property_util.cc base::StringPrintf("%s: SSID: %s, Name: %s", base 182 chromeos/network/shill_property_util.cc scoped_ptr<NetworkUIData> GetUIDataFromValue(const base::Value& ui_data_value) { base 188 chromeos/network/shill_property_util.cc scoped_ptr<base::DictionaryValue> ui_data_dict( base 196 chromeos/network/shill_property_util.cc const base::DictionaryValue& shill_dictionary) { base 197 chromeos/network/shill_property_util.cc const base::Value* ui_data_value = NULL; base 211 chromeos/network/shill_property_util.cc base::DictionaryValue* shill_dictionary) { base 212 chromeos/network/shill_property_util.cc base::DictionaryValue ui_data_dict; base 215 chromeos/network/shill_property_util.cc base::JSONWriter::Write(&ui_data_dict, &ui_data_blob); base 220 chromeos/network/shill_property_util.cc bool CopyIdentifyingProperties(const base::DictionaryValue& service_properties, base 221 chromeos/network/shill_property_util.cc base::DictionaryValue* dest) { base 243 chromeos/network/shill_property_util.cc const base::DictionaryValue* provider_properties = NULL; base 277 chromeos/network/shill_property_util.cc bool DoIdentifyingPropertiesMatch(const base::DictionaryValue& properties_a, base 278 chromeos/network/shill_property_util.cc const base::DictionaryValue& properties_b) { base 279 chromeos/network/shill_property_util.cc base::DictionaryValue identifying_a; base 282 chromeos/network/shill_property_util.cc base::DictionaryValue identifying_b; base 13 chromeos/network/shill_property_util.h namespace base { base 26 chromeos/network/shill_property_util.h base::DictionaryValue* properties); base 31 chromeos/network/shill_property_util.h const base::DictionaryValue& properties, base 37 chromeos/network/shill_property_util.h const base::DictionaryValue& properties); base 43 chromeos/network/shill_property_util.h const base::DictionaryValue& properties); base 47 chromeos/network/shill_property_util.h scoped_ptr<NetworkUIData> GetUIDataFromValue(const base::Value& value); base 53 chromeos/network/shill_property_util.h const base::DictionaryValue& shill_dictionary); base 58 chromeos/network/shill_property_util.h base::DictionaryValue* shill_dictionary); base 64 chromeos/network/shill_property_util.h bool CopyIdentifyingProperties(const base::DictionaryValue& service_properties, base 65 chromeos/network/shill_property_util.h base::DictionaryValue* dest); base 71 chromeos/network/shill_property_util.h bool DoIdentifyingPropertiesMatch(const base::DictionaryValue& properties_a, base 72 chromeos/network/shill_property_util.h const base::DictionaryValue& properties_b); base 27 chromeos/process_proxy/process_output_watcher.h typedef base::Callback<void(ProcessOutputType, const std::string&)> base 80 chromeos/process_proxy/process_output_watcher_unittest.cc base::Bind(&ProcessOutputWatcherTest::OnRead, base::Unretained(this))); base 99 chromeos/process_proxy/process_output_watcher_unittest.cc all_data_received_.reset(new base::WaitableEvent(true, false)); base 101 chromeos/process_proxy/process_output_watcher_unittest.cc base::Thread output_watch_thread("ProcessOutpuWatchThread"); base 109 chromeos/process_proxy/process_output_watcher_unittest.cc base::Bind(&ProcessOutputWatcherTest::StartWatch, base 110 chromeos/process_proxy/process_output_watcher_unittest.cc base::Unretained(this), base 121 chromeos/process_proxy/process_output_watcher_unittest.cc base::WriteFileDescriptor(pt_pipe[1], test_str.c_str(), base 128 chromeos/process_proxy/process_output_watcher_unittest.cc EXPECT_EQ(1, base::WriteFileDescriptor(stop_pipe[1], "q", 1)); base 136 chromeos/process_proxy/process_output_watcher_unittest.cc scoped_ptr<base::WaitableEvent> all_data_received_; base 69 chromeos/process_proxy/process_proxy.cc base::Thread* watch_thread, base 86 chromeos/process_proxy/process_proxy.cc callback_runner_ = base::MessageLoopProxy::current(); base 93 chromeos/process_proxy/process_proxy.cc base::Bind(&ProcessProxy::OnProcessOutput, base 101 chromeos/process_proxy/process_proxy.cc base::Bind(&ProcessOutputWatcher::Start, base 102 chromeos/process_proxy/process_proxy.cc base::Unretained(output_watcher))); base 114 chromeos/process_proxy/process_proxy.cc base::Bind(&ProcessProxy::CallOnProcessOutputCallback, base 135 chromeos/process_proxy/process_proxy.cc return base::WriteFileDescriptor(shutdown_pipe_[PIPE_END_WRITE], base 148 chromeos/process_proxy/process_proxy.cc base::KillProcess(pid_, 0, true /* wait */); base 163 chromeos/process_proxy/process_proxy.cc base::WriteFileDescriptor(pt_pair_[PT_MASTER_FD], base 221 chromeos/process_proxy/process_proxy.cc base::FileHandleMappingVector fds_mapping; base 225 chromeos/process_proxy/process_proxy.cc base::LaunchOptions options; base 231 chromeos/process_proxy/process_proxy.cc return base::LaunchProcess(CommandLine(base::FilePath(command)), options, base 17 chromeos/process_proxy/process_proxy.h namespace base { base 28 chromeos/process_proxy/process_proxy.h class ProcessProxy : public base::RefCountedThreadSafe<ProcessProxy> { base 38 chromeos/process_proxy/process_proxy.h bool StartWatchingOnThread(base::Thread* watch_thread, base 52 chromeos/process_proxy/process_proxy.h friend class base::RefCountedThreadSafe<ProcessProxy>; base 87 chromeos/process_proxy/process_proxy.h scoped_refptr<base::TaskRunner> callback_runner_; base 32 chromeos/process_proxy/process_proxy_registry.cc static base::LazyInstance<ProcessProxyRegistry> g_process_proxy_registry = base 76 chromeos/process_proxy/process_proxy_registry.cc scoped_ptr<base::Thread> watcher_thread(new base::Thread(kWatcherThreadName)); base 90 chromeos/process_proxy/process_proxy_registry.cc base::Bind(&ProcessProxyRegistry::OnProcessOutput, base 91 chromeos/process_proxy/process_proxy_registry.cc base::Unretained(this), *pid))) { base 21 chromeos/process_proxy/process_proxy_registry.h typedef base::Callback<void(pid_t, const std::string&, const std::string&)> base 26 chromeos/process_proxy/process_proxy_registry.h class CHROMEOS_EXPORT ProcessProxyRegistry : public base::NonThreadSafe { base 31 chromeos/process_proxy/process_proxy_registry.h scoped_ptr<base::Thread> watcher_thread; base 57 chromeos/process_proxy/process_proxy_registry.h friend struct ::base::DefaultLazyInstanceTraits<ProcessProxyRegistry>; base 79 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 80 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::QuitClosure()); base 135 chromeos/process_proxy/process_proxy_unittest.cc base::KillProcess(pid_, 0 , true); base 139 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 140 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::QuitClosure()); base 165 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 166 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::QuitClosure()); base 189 chromeos/process_proxy/process_proxy_unittest.cc base::Bind(&TestRunner::OnSomeRead, base 190 chromeos/process_proxy/process_proxy_unittest.cc base::Unretained(test_runner_.get())))); base 199 chromeos/process_proxy/process_proxy_unittest.cc base::TerminationStatus status = base::GetTerminationStatus(pid_, NULL); base 200 chromeos/process_proxy/process_proxy_unittest.cc EXPECT_NE(base::TERMINATION_STATUS_STILL_RUNNING, status); base 201 chromeos/process_proxy/process_proxy_unittest.cc if (status == base::TERMINATION_STATUS_STILL_RUNNING) base 202 chromeos/process_proxy/process_proxy_unittest.cc base::KillProcess(pid_, 0, true); base 204 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 205 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::QuitClosure()); base 209 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::current()->PostTask( base 211 chromeos/process_proxy/process_proxy_unittest.cc base::Bind(&ProcessProxyTest::InitRegistryTest, base 212 chromeos/process_proxy/process_proxy_unittest.cc base::Unretained(this))); base 216 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::current()->Run(); base 218 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::current()->PostTask( base 220 chromeos/process_proxy/process_proxy_unittest.cc base::Bind(&ProcessProxyTest::EndRegistryTest, base 221 chromeos/process_proxy/process_proxy_unittest.cc base::Unretained(this))); base 224 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop::current()->Run(); base 233 chromeos/process_proxy/process_proxy_unittest.cc base::MessageLoop message_loop_; base 24 chromeos/settings/cros_settings_provider.cc const base::Value& value) { base 13 chromeos/settings/cros_settings_provider.h namespace base { base 23 chromeos/settings/cros_settings_provider.h typedef base::Callback<void(const std::string&)> NotifyObserversCallback; base 45 chromeos/settings/cros_settings_provider.h void Set(const std::string& path, const base::Value& in_value); base 48 chromeos/settings/cros_settings_provider.h virtual const base::Value* Get(const std::string& path) const = 0; base 57 chromeos/settings/cros_settings_provider.h const base::Closure& callback) = 0; base 71 chromeos/settings/cros_settings_provider.h const base::Value& in_value) = 0; base 220 chromeos/settings/timezone_settings.cc base::FilePath timezone_symlink(kTimezoneSymlink); base 221 chromeos/settings/timezone_settings.cc base::FilePath timezone_symlink2(kTimezoneSymlink2); base 222 chromeos/settings/timezone_settings.cc base::FilePath timezone_file(kTimezoneFilesDir + id); base 225 chromeos/settings/timezone_settings.cc if (!base::PathExists(timezone_file)) { base 232 chromeos/settings/timezone_settings.cc base::DeleteFile(timezone_symlink2, false); base 243 chromeos/settings/timezone_settings.cc if (!base::ReplaceFile(timezone_symlink2, timezone_symlink, NULL)) { base 257 chromeos/settings/timezone_settings.cc virtual base::string16 GetCurrentTimezoneID() OVERRIDE; base 258 chromeos/settings/timezone_settings.cc virtual void SetTimezoneFromID(const base::string16& timezone_id) OVERRIDE; base 324 chromeos/settings/timezone_settings.cc base::string16 TimezoneSettingsBaseImpl::GetCurrentTimezoneID() { base 329 chromeos/settings/timezone_settings.cc const base::string16& timezone_id) { base 379 chromeos/settings/timezone_settings.cc std::string id = base::UTF16ToUTF8(GetTimezoneID(*known_timezone)); base 383 chromeos/settings/timezone_settings.cc base::WorkerPool::GetTaskRunner(true /* task is slow */)-> base 384 chromeos/settings/timezone_settings.cc PostTask(FROM_HERE, base::Bind(&SetTimezoneIDFromString, id)); base 450 chromeos/settings/timezone_settings.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 458 chromeos/settings/timezone_settings.cc base::string16 TimezoneSettings::GetTimezoneID(const icu::TimeZone& timezone) { base 461 chromeos/settings/timezone_settings.cc return base::string16(id.getBuffer(), id.length()); base 32 chromeos/settings/timezone_settings.h virtual base::string16 GetCurrentTimezoneID() = 0; base 36 chromeos/settings/timezone_settings.h virtual void SetTimezoneFromID(const base::string16& timezone_id) = 0; base 44 chromeos/settings/timezone_settings.h static base::string16 GetTimezoneID(const icu::TimeZone& timezone); base 21 chromeos/system/mock_statistics_provider.h const scoped_refptr<base::TaskRunner>&, base 28 chromeos/system/name_value_pairs_parser.cc if (!base::PathExists(base::FilePath(argv[0]))) { base 36 chromeos/system/name_value_pairs_parser.cc if (!base::GetAppOutput(args, &output)) { base 74 chromeos/system/name_value_pairs_parser.cc base::StringTokenizer pair_toks(in_string, delim); base 95 chromeos/system/name_value_pairs_parser.cc base::TrimString(pair.substr(0, eq_pos), kTrimChars, &key); base 96 chromeos/system/name_value_pairs_parser.cc base::TrimString(pair.substr(eq_pos + 1, value_size), kTrimChars, &value); base 117 chromeos/system/name_value_pairs_parser.cc base::TrimWhitespaceASCII(output_string, base::TRIM_ALL, &output_string); base 123 chromeos/system/name_value_pairs_parser.cc const base::FilePath& file_path, base 127 chromeos/system/name_value_pairs_parser.cc if (base::ReadFileToString(file_path, &contents)) { base 130 chromeos/system/name_value_pairs_parser.cc if (base::SysInfo::IsRunningOnChromeOS()) base 14 chromeos/system/name_value_pairs_parser.h namespace base { base 42 chromeos/system/name_value_pairs_parser.h bool GetNameValuePairsFromFile(const base::FilePath& file_path, base 92 chromeos/system/statistics_provider.cc const scoped_refptr<base::TaskRunner>& file_task_runner, base 116 chromeos/system/statistics_provider.cc void LoadOemManifestFromFile(const base::FilePath& file); base 121 chromeos/system/statistics_provider.cc base::CancellationFlag cancellation_flag_; base 123 chromeos/system/statistics_provider.cc base::WaitableEvent on_statistics_loaded_; base 137 chromeos/system/statistics_provider.cc base::Time start_time = base::Time::Now(); base 138 chromeos/system/statistics_provider.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 139 chromeos/system/statistics_provider.cc on_statistics_loaded_.TimedWait(base::TimeDelta::FromSeconds(kTimeoutSecs)); base 141 chromeos/system/statistics_provider.cc base::TimeDelta dtime = base::Time::Now() - start_time; base 163 chromeos/system/statistics_provider.cc if (base::SysInfo::IsRunningOnChromeOS() && base 183 chromeos/system/statistics_provider.cc if (base::SysInfo::IsRunningOnChromeOS() && base 208 chromeos/system/statistics_provider.cc const scoped_refptr<base::TaskRunner>& file_task_runner, base 218 chromeos/system/statistics_provider.cc base::Bind(&StatisticsProviderImpl::LoadMachineStatistics, base 219 chromeos/system/statistics_provider.cc base::Unretained(this), base 231 chromeos/system/statistics_provider.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 242 chromeos/system/statistics_provider.cc parser.GetNameValuePairsFromFile(base::FilePath(kMachineHardwareInfoFile), base 245 chromeos/system/statistics_provider.cc parser.GetNameValuePairsFromFile(base::FilePath(kEchoCouponFile), base 248 chromeos/system/statistics_provider.cc parser.GetNameValuePairsFromFile(base::FilePath(kVpdFile), base 266 chromeos/system/statistics_provider.cc } else if (base::SysInfo::IsRunningOnChromeOS()) { base 267 chromeos/system/statistics_provider.cc LoadOemManifestFromFile(base::FilePath(kOemManifestFilePath)); base 278 chromeos/system/statistics_provider.cc const base::FilePath& file) { base 13 chromeos/system/statistics_provider.h namespace base { base 61 chromeos/system/statistics_provider.h const scoped_refptr<base::TaskRunner>& file_task_runner, base 85 chromeos/tools/onc_validator/onc_validator.cc scoped_ptr<base::DictionaryValue> ReadDictionary(std::string filename) { base 86 chromeos/tools/onc_validator/onc_validator.cc base::FilePath path(filename); base 90 chromeos/tools/onc_validator/onc_validator.cc base::DictionaryValue* dict = NULL; base 93 chromeos/tools/onc_validator/onc_validator.cc base::Value* value = serializer.Deserialize(NULL, &json_error); base 119 chromeos/tools/onc_validator/onc_validator.cc scoped_ptr<base::DictionaryValue> onc_object = ReadDictionary(args[1]); base 28 chromeos/tpm_token_loader.cc base::TimeDelta GetNextRequestDelayMs(base::TimeDelta last_delay) { base 31 chromeos/tpm_token_loader.cc base::TimeDelta next_delay = last_delay * 2; base 34 chromeos/tpm_token_loader.cc const base::TimeDelta max_delay = base 35 chromeos/tpm_token_loader.cc base::TimeDelta::FromMilliseconds(kMaxRequestDelayMs); base 46 chromeos/tpm_token_loader.cc if (base::SysInfo::IsRunningOnChromeOS()) base 51 chromeos/tpm_token_loader.cc void PostResultToTaskRunner(scoped_refptr<base::SequencedTaskRunner> runner, base 52 chromeos/tpm_token_loader.cc const base::Callback<void(bool)>& callback, base 54 chromeos/tpm_token_loader.cc runner->PostTask(FROM_HERE, base::Bind(callback, success)); base 96 chromeos/tpm_token_loader.cc base::TimeDelta::FromMilliseconds(kInitialRequestDelayMs)), base 109 chromeos/tpm_token_loader.cc const scoped_refptr<base::SequencedTaskRunner>& crypto_task_runner) { base 150 chromeos/tpm_token_loader.cc if (!base::SysInfo::IsRunningOnChromeOS()) base 170 chromeos/tpm_token_loader.cc base::Bind(&CallOpenPersistentNSSDB), base 171 chromeos/tpm_token_loader.cc base::Bind(&TPMTokenLoader::OnPersistentNSSDBOpened, base 182 chromeos/tpm_token_loader.cc base::Bind(&TPMTokenLoader::OnTpmIsEnabled, base 193 chromeos/tpm_token_loader.cc base::Bind(&TPMTokenLoader::OnPkcs11IsTpmTokenReady, base 201 chromeos/tpm_token_loader.cc base::Bind(&TPMTokenLoader::OnPkcs11GetTpmTokenInfo, base 208 chromeos/tpm_token_loader.cc base::Bind( base 211 chromeos/tpm_token_loader.cc base::Bind(&PostResultToTaskRunner, base 212 chromeos/tpm_token_loader.cc base::MessageLoopProxy::current(), base 213 chromeos/tpm_token_loader.cc base::Bind(&TPMTokenLoader::OnTPMTokenInitialized, base 227 chromeos/tpm_token_loader.cc base::MessageLoopProxy::current()->PostDelayedTask( base 229 chromeos/tpm_token_loader.cc base::Bind(&TPMTokenLoader::ContinueTokenInitialization, base 20 chromeos/tpm_token_loader.h namespace base { base 64 chromeos/tpm_token_loader.h const scoped_refptr<base::SequencedTaskRunner>& crypto_task_runner); base 125 chromeos/tpm_token_loader.h base::TimeDelta tpm_request_delay_; base 132 chromeos/tpm_token_loader.h base::ThreadChecker thread_checker_; base 135 chromeos/tpm_token_loader.h scoped_refptr<base::SequencedTaskRunner> crypto_task_runner_; base 137 chromeos/tpm_token_loader.h base::WeakPtrFactory<TPMTokenLoader> weak_factory_; base 26 cloud_print/common/win/cloud_print_utils.cc base::string16 LoadLocalString(DWORD id) { base 36 cloud_print/common/win/cloud_print_utils.cc return base::string16(); base 37 cloud_print/common/win/cloud_print_utils.cc return base::string16(buffer, buffer + count); base 40 cloud_print/common/win/cloud_print_utils.cc base::string16 GetErrorMessage(HRESULT hr) { base 45 cloud_print/common/win/cloud_print_utils.cc base::string16 result(buffer); base 50 cloud_print/common/win/cloud_print_utils.cc void SetGoogleUpdateUsage(const base::string16& product_id) { base 52 cloud_print/common/win/cloud_print_utils.cc base::win::RegKey key; base 18 cloud_print/common/win/cloud_print_utils.h base::string16 GetErrorMessage(HRESULT hr); base 22 cloud_print/common/win/cloud_print_utils.h base::string16 LoadLocalString(DWORD id); base 25 cloud_print/common/win/cloud_print_utils.h void SetGoogleUpdateUsage(const base::string16& product_id); base 53 cloud_print/common/win/install_utils.cc void SetGoogleUpdateKeys(const base::string16& product_id, base 54 cloud_print/common/win/install_utils.cc const base::string16& product_name) { base 55 cloud_print/common/win/install_utils.cc base::win::RegKey key; base 63 cloud_print/common/win/install_utils.cc base::string16 version_string; base 83 cloud_print/common/win/install_utils.cc void SetGoogleUpdateError(const base::string16& product_id, base 84 cloud_print/common/win/install_utils.cc const base::string16& message) { base 86 cloud_print/common/win/install_utils.cc base::win::RegKey key; base 101 cloud_print/common/win/install_utils.cc void SetGoogleUpdateError(const base::string16& product_id, HRESULT hr) { base 103 cloud_print/common/win/install_utils.cc base::win::RegKey key; base 117 cloud_print/common/win/install_utils.cc void DeleteGoogleUpdateKeys(const base::string16& product_id) { base 118 cloud_print/common/win/install_utils.cc base::win::RegKey key; base 130 cloud_print/common/win/install_utils.cc void CreateUninstallKey(const base::string16& uninstall_id, base 131 cloud_print/common/win/install_utils.cc const base::string16& product_name, base 136 cloud_print/common/win/install_utils.cc base::win::RegKey key; base 144 cloud_print/common/win/install_utils.cc base::FilePath unstall_binary; base 145 cloud_print/common/win/install_utils.cc CHECK(PathService::Get(base::FILE_EXE, &unstall_binary)); base 173 cloud_print/common/win/install_utils.cc void DeleteUninstallKey(const base::string16& uninstall_id) { base 178 cloud_print/common/win/install_utils.cc base::FilePath GetInstallLocation(const base::string16& uninstall_id) { base 179 cloud_print/common/win/install_utils.cc base::win::RegKey key; base 184 cloud_print/common/win/install_utils.cc return base::FilePath(); base 186 cloud_print/common/win/install_utils.cc base::string16 install_path_value; base 188 cloud_print/common/win/install_utils.cc return base::FilePath(install_path_value); base 192 cloud_print/common/win/install_utils.cc base::FilePath installer_source; base 193 cloud_print/common/win/install_utils.cc if (!PathService::Get(base::FILE_EXE, &installer_source)) base 198 cloud_print/common/win/install_utils.cc base::FilePath temp_path; base 199 cloud_print/common/win/install_utils.cc if (!base::CreateTemporaryFile(&temp_path)) base 201 cloud_print/common/win/install_utils.cc base::CopyFile(installer_source, temp_path); base 202 cloud_print/common/win/install_utils.cc base::DeleteFileAfterReboot(temp_path); base 205 cloud_print/common/win/install_utils.cc base::LaunchOptions options; base 206 cloud_print/common/win/install_utils.cc base::ProcessHandle process_handle; base 207 cloud_print/common/win/install_utils.cc if (!base::LaunchProcess(command_line, options, &process_handle)) { base 212 cloud_print/common/win/install_utils.cc bool IsProgramsFilesParent(const base::FilePath& path) { base 213 cloud_print/common/win/install_utils.cc base::FilePath program_files; base 214 cloud_print/common/win/install_utils.cc if (!PathService::Get(base::DIR_PROGRAM_FILESX86, &program_files)) base 17 cloud_print/common/win/install_utils.h void SetGoogleUpdateKeys(const base::string16& product_id, base 18 cloud_print/common/win/install_utils.h const base::string16& product_name); base 21 cloud_print/common/win/install_utils.h void SetGoogleUpdateError(const base::string16& product_id, base 22 cloud_print/common/win/install_utils.h const base::string16& message); base 25 cloud_print/common/win/install_utils.h void SetGoogleUpdateError(const base::string16& product_id, HRESULT hr); base 28 cloud_print/common/win/install_utils.h void DeleteGoogleUpdateKeys(const base::string16& product_id); base 31 cloud_print/common/win/install_utils.h void CreateUninstallKey(const base::string16& uninstall_id, base 32 cloud_print/common/win/install_utils.h const base::string16& product_name, base 36 cloud_print/common/win/install_utils.h void DeleteUninstallKey(const base::string16& uninstall_id); base 39 cloud_print/common/win/install_utils.h base::FilePath GetInstallLocation(const base::string16& uninstall_id); base 45 cloud_print/common/win/install_utils.h bool IsProgramsFilesParent(const base::FilePath& path); base 18 cloud_print/gcp20/prototype/cloud_print_request.cc using base::MessageLoop; base 64 cloud_print/gcp20/prototype/cloud_print_request.cc fetcher_->AddExtraRequestHeader(base::StringPrintf( base 72 cloud_print/gcp20/prototype/cloud_print_request.cc base::Bind(&CloudPrintRequest::OnRequestTimeout, AsWeakPtr()), base 73 cloud_print/gcp20/prototype/cloud_print_request.cc base::TimeDelta::FromSeconds(kDefaultTimeout)); base 19 cloud_print/gcp20/prototype/cloud_print_request.h public base::SupportsWeakPtr<CloudPrintRequest> { base 80 cloud_print/gcp20/prototype/cloud_print_requester.cc base::DictionaryValue dictionary; base 81 cloud_print/gcp20/prototype/cloud_print_requester.cc scoped_ptr<base::DictionaryValue> current(new base::DictionaryValue); base 92 cloud_print/gcp20/prototype/cloud_print_requester.cc base::JSONWriter::Write(&dictionary, &local_settings); base 101 cloud_print/gcp20/prototype/cloud_print_requester.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 125 cloud_print/gcp20/prototype/cloud_print_requester.cc int r1 = base::RandInt(0, kint32max); base 126 cloud_print/gcp20/prototype/cloud_print_requester.cc int r2 = base::RandInt(0, kint32max); base 127 cloud_print/gcp20/prototype/cloud_print_requester.cc base::SStringPrintf(&mime_boundary, base 144 cloud_print/gcp20/prototype/cloud_print_requester.cc net::AddMultipartValueForUpload(kPrinterCapsHashValue, base::MD5String(cdd), base 177 cloud_print/gcp20/prototype/cloud_print_requester.cc base::Bind(&CloudPrintRequester::ParseRegisterStart, AsWeakPtr())); base 184 cloud_print/gcp20/prototype/cloud_print_requester.cc base::Bind(&CloudPrintRequester::ParseRegisterComplete, AsWeakPtr())); base 199 cloud_print/gcp20/prototype/cloud_print_requester.cc base::Bind(&CloudPrintRequester::ParseFetch, AsWeakPtr())); base 216 cloud_print/gcp20/prototype/cloud_print_requester.cc base::Bind(&CloudPrintRequester::ParsePrintJobInProgress, AsWeakPtr())); base 224 cloud_print/gcp20/prototype/cloud_print_requester.cc base::Bind(&CloudPrintRequester::ParsePrintJobDone, AsWeakPtr())); base 232 cloud_print/gcp20/prototype/cloud_print_requester.cc base::Bind(&CloudPrintRequester::ParseLocalSettings, AsWeakPtr())); base 242 cloud_print/gcp20/prototype/cloud_print_requester.cc std::string data = base::StringPrintf( base 250 cloud_print/gcp20/prototype/cloud_print_requester.cc base::Bind(&CloudPrintRequester::ParseLocalSettingUpdated, AsWeakPtr())); base 418 cloud_print/gcp20/prototype/cloud_print_requester.cc base::Bind(&CloudPrintRequester::ParseGetPrintJobData, AsWeakPtr())); base 441 cloud_print/gcp20/prototype/cloud_print_requester.cc base::Bind(&CloudPrintRequester::ParseGetPrintJobTicket, AsWeakPtr())); base 27 cloud_print/gcp20/prototype/cloud_print_requester.h class CloudPrintRequester : public base::SupportsWeakPtr<CloudPrintRequester>, base 94 cloud_print/gcp20/prototype/cloud_print_requester.h CloudPrintRequester(scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 134 cloud_print/gcp20/prototype/cloud_print_requester.h typedef base::Callback<void(const std::string&)> ParserCallback; base 25 cloud_print/gcp20/prototype/cloud_print_response_parser.cc bool GetJsonDictinaryAndCheckSuccess(base::Value* json, base 29 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue** dictionary) { base 30 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* response_dictionary = NULL; base 62 cloud_print/gcp20/prototype/cloud_print_response_parser.cc scoped_ptr<base::Value> json(base::JSONReader::Read(response)); base 63 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* response_dictionary = NULL; base 96 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::ListValue* list = NULL; base 102 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* printer = NULL; base 130 cloud_print/gcp20/prototype/cloud_print_response_parser.cc scoped_ptr<base::Value> json(base::JSONReader::Read(response)); base 131 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* response_dictionary = NULL; base 165 cloud_print/gcp20/prototype/cloud_print_response_parser.cc scoped_ptr<base::Value> json(base::JSONReader::Read(response)); base 166 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* response_dictionary = NULL; base 180 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::ListValue* jobs = NULL; base 189 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* job = NULL; base 200 cloud_print/gcp20/prototype/cloud_print_response_parser.cc if (!base::StringToInt64(create_time_str, &create_time_ms)) { base 205 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::Time::UnixEpoch() + base 206 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::TimeDelta::FromMilliseconds(create_time_ms); base 217 cloud_print/gcp20/prototype/cloud_print_response_parser.cc scoped_ptr<base::Value> json(base::JSONReader::Read(response)); base 218 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* response_dictionary = NULL; base 232 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::ListValue* list = NULL; base 238 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* printer = NULL; base 244 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* local_settings_dict = NULL; base 250 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* current = NULL; base 257 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* pending = NULL; base 258 cloud_print/gcp20/prototype/cloud_print_response_parser.cc base::DictionaryValue* settings_to_parse = NULL; base 15 cloud_print/gcp20/prototype/cloud_print_response_parser.h namespace base { base 28 cloud_print/gcp20/prototype/cloud_print_response_parser.h base::Time create_time; base 12 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) { base 33 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> base 18 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.h scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 23 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 29 cloud_print/gcp20/prototype/cloud_print_url_request_context_getter.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 43 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 143 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc delay += base::RandInt(0, delay*kRandomDelayPercentage); base 145 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc base::MessageLoop::current()->PostDelayedTask( base 147 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc base::Bind(&CloudPrintXmppListener::SendPing, AsWeakPtr()), base 148 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc base::TimeDelta::FromSeconds(delay)); base 160 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc base::MessageLoop::current()->PostDelayedTask( base 162 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc base::Bind(&CloudPrintXmppListener::OnPingTimeoutReached, AsWeakPtr()), base 163 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc base::TimeDelta::FromSeconds(kPingTimeout)); base 17 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.h namespace base { base 36 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.h : public base::SupportsWeakPtr<CloudPrintXmppListener>, base 65 cloud_print/gcp20/prototype/cloud_print_xmpp_listener.h scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 25 cloud_print/gcp20/prototype/command_line_reader.cc if (!base::StringToUint(http_port_string, &http_port)) base 40 cloud_print/gcp20/prototype/command_line_reader.cc if (!base::StringToUint( base 13 cloud_print/gcp20/prototype/dns_packet_parser.cc base::BigEndianReader reader(packet, length); base 28 cloud_print/gcp20/prototype/dns_packet_parser.cc base::BigEndianReader reader(packet_ + GetOffset() + consumed, base 64 cloud_print/gcp20/prototype/dns_response_builder.cc base::BigEndianWriter writer(reinterpret_cast<char*>(rdata.data()), base 140 cloud_print/gcp20/prototype/dns_response_builder.cc base::BigEndianWriter writer(message->data(), message->size()); base 66 cloud_print/gcp20/prototype/dns_sd_server.cc base::MessageLoop::current()->PostTask( base 68 cloud_print/gcp20/prototype/dns_sd_server.cc base::Bind(&DnsSdServer::OnDatagramReceived, AsWeakPtr())); base 109 cloud_print/gcp20/prototype/dns_sd_server.cc base::Bind(&DoNothingAfterSendToSocket)); base 189 cloud_print/gcp20/prototype/dns_sd_server.cc base::Bind(&DoNothingAfterSendToSocket)); base 257 cloud_print/gcp20/prototype/dns_sd_server.cc base::SStringPrintf(&log, "Unknown query type (%d)", query.qtype); base 269 cloud_print/gcp20/prototype/dns_sd_server.cc base::Bind(&DnsSdServer::DoLoop, AsWeakPtr())); base 302 cloud_print/gcp20/prototype/dns_sd_server.cc base::Bind(&DoNothingAfterSendToSocket)); base 307 cloud_print/gcp20/prototype/dns_sd_server.cc time_until_live_ = base::Time::Now() + base 308 cloud_print/gcp20/prototype/dns_sd_server.cc base::TimeDelta::FromSeconds(full_ttl_); base 311 cloud_print/gcp20/prototype/dns_sd_server.cc base::MessageLoop::current()->PostDelayedTask( base 313 cloud_print/gcp20/prototype/dns_sd_server.cc base::Bind(&DnsSdServer::Update, AsWeakPtr()), base 314 cloud_print/gcp20/prototype/dns_sd_server.cc base::TimeDelta::FromSeconds(static_cast<int64>( base 319 cloud_print/gcp20/prototype/dns_sd_server.cc uint32 current_ttl = (time_until_live_ - base::Time::Now()).InSeconds(); base 320 cloud_print/gcp20/prototype/dns_sd_server.cc if (time_until_live_ < base::Time::Now() || current_ttl == 0) { base 30 cloud_print/gcp20/prototype/dns_sd_server.h class DnsSdServer : public base::SupportsWeakPtr<DnsSdServer> { base 88 cloud_print/gcp20/prototype/dns_sd_server.h base::Time time_until_live_; base 52 cloud_print/gcp20/prototype/gcp20_device.cc base::RunLoop* g_runner = NULL; base 54 cloud_print/gcp20/prototype/gcp20_device.cc base::MessageLoop* g_message_loop; base 69 cloud_print/gcp20/prototype/gcp20_device.cc base::Bind(&Printer::Stop, base::Unretained(g_printer))); base 70 cloud_print/gcp20/prototype/gcp20_device.cc g_message_loop->PostTask(FROM_HERE, base::Bind(&StopLoop)); base 78 cloud_print/gcp20/prototype/gcp20_device.cc base::AtExitManager at_exit; base 94 cloud_print/gcp20/prototype/gcp20_device.cc base::MessageLoopForIO loop; base 96 cloud_print/gcp20/prototype/gcp20_device.cc g_message_loop->PostTask(FROM_HERE, base::Bind(&StartPrinter, &printer)); base 97 cloud_print/gcp20/prototype/gcp20_device.cc base::RunLoop runner; base 30 cloud_print/gcp20/prototype/print_job_handler.cc const base::FilePath::CharType kJobsPath[] = FILE_PATH_LITERAL("printjobs"); base 37 cloud_print/gcp20/prototype/print_job_handler.cc return StringToLowerASCII(base::GenerateGUID()); base 53 cloud_print/gcp20/prototype/print_job_handler.cc base::Time expiration; base 58 cloud_print/gcp20/prototype/print_job_handler.cc LocalPrintJobDraft(const std::string& ticket, const base::Time& expiration) base 64 cloud_print/gcp20/prototype/print_job_handler.cc base::Time expiration; base 67 cloud_print/gcp20/prototype/print_job_handler.cc using base::StringPrintf; base 88 cloud_print/gcp20/prototype/print_job_handler.cc if (base::RandDouble() <= kPaperJamProbability) { base 102 cloud_print/gcp20/prototype/print_job_handler.cc base::Time::Now() + base::TimeDelta::FromSeconds(kDraftExpirationSec)); base 103 cloud_print/gcp20/prototype/print_job_handler.cc base::MessageLoop::current()->PostDelayedTask( base 105 cloud_print/gcp20/prototype/print_job_handler.cc base::Bind(&PrintJobHandler::ForgetDraft, AsWeakPtr(), id), base 106 cloud_print/gcp20/prototype/print_job_handler.cc base::TimeDelta::FromSeconds(kDraftExpirationSec)); base 175 cloud_print/gcp20/prototype/print_job_handler.cc base::Time::Now(), base 190 cloud_print/gcp20/prototype/print_job_handler.cc using base::Time; base 211 cloud_print/gcp20/prototype/print_job_handler.cc const base::Time& create_time, base 216 cloud_print/gcp20/prototype/print_job_handler.cc base::FilePath directory(kJobsPath); base 218 cloud_print/gcp20/prototype/print_job_handler.cc if (!base::DirectoryExists(directory) && base 219 cloud_print/gcp20/prototype/print_job_handler.cc !base::CreateDirectory(directory)) { base 223 cloud_print/gcp20/prototype/print_job_handler.cc base::Time::Exploded create_time_exploded; base 225 cloud_print/gcp20/prototype/print_job_handler.cc base::FilePath::StringType job_prefix = base 233 cloud_print/gcp20/prototype/print_job_handler.cc if (!base::CreateTemporaryDirInDir(directory, job_prefix, &directory)) { base 238 cloud_print/gcp20/prototype/print_job_handler.cc int written = base::WriteFile(directory.AppendASCII("ticket.xml"), base 246 cloud_print/gcp20/prototype/print_job_handler.cc written = base::WriteFile( base 272 cloud_print/gcp20/prototype/print_job_handler.cc base::Time::Now() + base 273 cloud_print/gcp20/prototype/print_job_handler.cc base::TimeDelta::FromSeconds(kLocalPrintJobExpirationSec); base 274 cloud_print/gcp20/prototype/print_job_handler.cc base::MessageLoop::current()->PostDelayedTask( base 276 cloud_print/gcp20/prototype/print_job_handler.cc base::Bind(&PrintJobHandler::ForgetLocalJob, AsWeakPtr(), id), base 277 cloud_print/gcp20/prototype/print_job_handler.cc base::TimeDelta::FromSeconds(kLocalPrintJobExpirationSec)); base 294 cloud_print/gcp20/prototype/print_job_handler.cc base::TimeDelta PrintJobHandler::GetJobExpiration(const std::string& id) const { base 296 cloud_print/gcp20/prototype/print_job_handler.cc base::Time expiration = jobs.at(id).expiration; base 298 cloud_print/gcp20/prototype/print_job_handler.cc return base::TimeDelta::FromSeconds(kLocalPrintJobExpirationSec); base 299 cloud_print/gcp20/prototype/print_job_handler.cc return expiration - base::Time::Now(); base 17 cloud_print/gcp20/prototype/print_job_handler.h namespace base { base 24 cloud_print/gcp20/prototype/print_job_handler.h class PrintJobHandler : public base::SupportsWeakPtr<PrintJobHandler> { base 59 cloud_print/gcp20/prototype/print_job_handler.h const base::Time& create_time, base 85 cloud_print/gcp20/prototype/print_job_handler.h base::TimeDelta GetJobExpiration(const std::string& id) const; base 141 cloud_print/gcp20/prototype/printer.cc scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() { base 142 cloud_print/gcp20/prototype/printer.cc return base::MessageLoop::current()->message_loop_proxy(); base 173 cloud_print/gcp20/prototype/printer.cc starttime_ = base::Time::Now(); base 195 cloud_print/gcp20/prototype/printer.cc base::JSONWriter::WriteWithOptions(&GetCapabilities(), base 196 cloud_print/gcp20/prototype/printer.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 203 cloud_print/gcp20/prototype/printer.cc state_.access_token_update = base::Time(); base 240 cloud_print/gcp20/prototype/printer.cc base::Time valid_until = base::Time::Now() + base 241 cloud_print/gcp20/prototype/printer.cc base::TimeDelta::FromSeconds(kUserConfirmationTimeout); base 242 cloud_print/gcp20/prototype/printer.cc base::MessageLoop::current()->PostTask( base 244 cloud_print/gcp20/prototype/printer.cc base::Bind(&Printer::WaitUserConfirmation, AsWeakPtr(), valid_until)); base 353 cloud_print/gcp20/prototype/printer.cc info->uptime = static_cast<int>((base::Time::Now() - starttime_).InSeconds()); base 386 cloud_print/gcp20/prototype/printer.cc const base::DictionaryValue& Printer::GetCapabilities() { base 389 cloud_print/gcp20/prototype/printer.cc base::ReplaceChars(kCdd, "'", "\"", &cdd_string); base 390 cloud_print/gcp20/prototype/printer.cc scoped_ptr<base::Value> json_val(base::JSONReader::Read(cdd_string)); base 391 cloud_print/gcp20/prototype/printer.cc base::DictionaryValue* json = NULL; base 582 cloud_print/gcp20/prototype/printer.cc if (state_.access_token_update < base::Time::Now()) { base 614 cloud_print/gcp20/prototype/printer.cc if (state_.access_token_update < base::Time::Now()) { base 631 cloud_print/gcp20/prototype/printer.cc base::MessageLoop::current()->PostDelayedTask( base 633 cloud_print/gcp20/prototype/printer.cc base::Bind(&Printer::PostOnIdle, AsWeakPtr()), base 634 cloud_print/gcp20/prototype/printer.cc base::TimeDelta::FromMilliseconds(1000)); base 679 cloud_print/gcp20/prototype/printer.cc using base::Time; base 680 cloud_print/gcp20/prototype/printer.cc using base::TimeDelta; base 716 cloud_print/gcp20/prototype/printer.cc void Printer::WaitUserConfirmation(base::Time valid_until) { base 719 cloud_print/gcp20/prototype/printer.cc if (base::Time::Now() > valid_until) { base 737 cloud_print/gcp20/prototype/printer.cc base::MessageLoop::current()->PostDelayedTask( base 739 cloud_print/gcp20/prototype/printer.cc base::Bind(&Printer::WaitUserConfirmation, AsWeakPtr(), valid_until), base 740 cloud_print/gcp20/prototype/printer.cc base::TimeDelta::FromMilliseconds(100)); base 744 cloud_print/gcp20/prototype/printer.cc return "{" + base::GenerateGUID() +"}"; base 762 cloud_print/gcp20/prototype/printer.cc base::FilePath file_path; base 776 cloud_print/gcp20/prototype/printer.cc base::FilePath file_path; base 780 cloud_print/gcp20/prototype/printer.cc if (!base::PathExists(file_path)) { base 800 cloud_print/gcp20/prototype/printer.cc base::MessageLoop::current()->PostTask( base 802 cloud_print/gcp20/prototype/printer.cc base::Bind(&Printer::OnIdle, AsWeakPtr())); base 807 cloud_print/gcp20/prototype/printer.cc registration_expiration_ < base::Time::Now()) { base 815 cloud_print/gcp20/prototype/printer.cc base::Time::Now() + base::TimeDelta::FromSeconds(kRegistrationTimeout); base 819 cloud_print/gcp20/prototype/printer.cc registration_expiration_ = base::Time(); base 853 cloud_print/gcp20/prototype/printer.cc base::StringPrintf(kServiceDomainNameFormatDefault, base 854 cloud_print/gcp20/prototype/printer.cc base::RandInt(0, INT_MAX))); base 917 cloud_print/gcp20/prototype/printer.cc base::MessageLoop::current()->PostDelayedTask( base 919 cloud_print/gcp20/prototype/printer.cc base::Bind(&Printer::TryConnect, AsWeakPtr()), base 920 cloud_print/gcp20/prototype/printer.cc base::TimeDelta::FromSeconds(kReconnectTimeout)); base 929 cloud_print/gcp20/prototype/printer.cc VLOG(0) << base::StringPrintf( base 21 cloud_print/gcp20/prototype/printer.h extern const base::FilePath::CharType kPrinterStatePath[]; base 24 cloud_print/gcp20/prototype/printer.h class Printer : public base::SupportsWeakPtr<Printer>, base 73 cloud_print/gcp20/prototype/printer.h virtual const base::DictionaryValue& GetCapabilities() OVERRIDE; base 166 cloud_print/gcp20/prototype/printer.h void WaitUserConfirmation(base::Time valid_until); base 236 cloud_print/gcp20/prototype/printer.h base::Time starttime_; base 239 cloud_print/gcp20/prototype/printer.h base::Time registration_expiration_; base 44 cloud_print/gcp20/prototype/printer_state.cc bool SaveToFile(const base::FilePath& path, const PrinterState& state) { base 45 cloud_print/gcp20/prototype/printer_state.cc base::DictionaryValue json; base 56 cloud_print/gcp20/prototype/printer_state.cc scoped_ptr<base::DictionaryValue> local_settings(new base::DictionaryValue); base 74 cloud_print/gcp20/prototype/printer_state.cc base::JSONWriter::WriteWithOptions(&json, base 75 cloud_print/gcp20/prototype/printer_state.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 77 cloud_print/gcp20/prototype/printer_state.cc int size = base::checked_cast<int>(json_str.size()); base 78 cloud_print/gcp20/prototype/printer_state.cc return (base::WriteFile(path, json_str.data(), size) == size); base 81 cloud_print/gcp20/prototype/printer_state.cc bool LoadFromFile(const base::FilePath& path, PrinterState* state) { base 83 cloud_print/gcp20/prototype/printer_state.cc if (!base::ReadFileToString(path, &json_str)) { base 88 cloud_print/gcp20/prototype/printer_state.cc scoped_ptr<base::Value> json_val(base::JSONReader::Read(json_str)); base 89 cloud_print/gcp20/prototype/printer_state.cc base::DictionaryValue* json = NULL; base 141 cloud_print/gcp20/prototype/printer_state.cc base::DictionaryValue* settings_dict; base 158 cloud_print/gcp20/prototype/printer_state.cc base::DictionaryValue* cdd_dict = NULL; base 169 cloud_print/gcp20/prototype/printer_state.cc state->access_token_update = base::Time::FromTimeT(access_token_update); base 14 cloud_print/gcp20/prototype/printer_state.h namespace base { base 54 cloud_print/gcp20/prototype/printer_state.h linked_ptr<base::DictionaryValue> cdd; base 58 cloud_print/gcp20/prototype/printer_state.h base::Time access_token_update; base 67 cloud_print/gcp20/prototype/printer_state.h bool SaveToFile(const base::FilePath& path, const PrinterState& state); base 70 cloud_print/gcp20/prototype/printer_state.h bool LoadFromFile(const base::FilePath& path, PrinterState* state); base 17 cloud_print/gcp20/prototype/printer_unittest.cc scoped_ptr<base::Value> value( base 18 cloud_print/gcp20/prototype/printer_unittest.cc base::JSONReader::ReadAndReturnError(printer.GetRawCdd(), 0, base 22 cloud_print/gcp20/prototype/printer_unittest.cc base::DictionaryValue* dictionary_value = NULL; base 29 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> CreateError(const std::string& error_type) { base 30 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> error(new base::DictionaryValue); base 37 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> CreateErrorWithDescription( base 40 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> error(CreateError(error_type)); base 46 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> CreateErrorWithTimeout( base 49 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> error(CreateError(error_type)); base 206 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> json_response; base 229 cloud_print/gcp20/prototype/privet_http_server.cc base::JSONWriter::WriteWithOptions(json_response.get(), base 230 cloud_print/gcp20/prototype/privet_http_server.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 237 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> PrivetHttpServer::ProcessInfo( base 243 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue); base 258 cloud_print/gcp20/prototype/privet_http_server.cc base::ListValue api; base 263 cloud_print/gcp20/prototype/privet_http_server.cc base::ListValue type; base 272 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> PrivetHttpServer::ProcessCapabilities( base 276 cloud_print/gcp20/prototype/privet_http_server.cc return scoped_ptr<base::DictionaryValue>(); base 281 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> PrivetHttpServer::ProcessCreateJob( base 287 cloud_print/gcp20/prototype/privet_http_server.cc return scoped_ptr<base::DictionaryValue>(); base 301 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> response; base 305 cloud_print/gcp20/prototype/privet_http_server.cc response.reset(new base::DictionaryValue); base 317 cloud_print/gcp20/prototype/privet_http_server.cc return scoped_ptr<base::DictionaryValue>(); base 320 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> PrivetHttpServer::ProcessSubmitDoc( base 326 cloud_print/gcp20/prototype/privet_http_server.cc return scoped_ptr<base::DictionaryValue>(); base 357 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue); base 365 cloud_print/gcp20/prototype/privet_http_server.cc base::StringPrintf("%u", static_cast<uint32>(job.content.size()))); base 384 cloud_print/gcp20/prototype/privet_http_server.cc return scoped_ptr<base::DictionaryValue>(); base 388 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> PrivetHttpServer::ProcessJobState( base 393 cloud_print/gcp20/prototype/privet_http_server.cc return scoped_ptr<base::DictionaryValue>(); base 402 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue); base 409 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> PrivetHttpServer::ProcessRegister( base 414 cloud_print/gcp20/prototype/privet_http_server.cc return scoped_ptr<base::DictionaryValue>(); base 425 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue); base 462 cloud_print/gcp20/prototype/privet_http_server.cc scoped_ptr<base::DictionaryValue>* current_response) const { base 98 cloud_print/gcp20/prototype/privet_http_server.h virtual const base::DictionaryValue& GetCapabilities() = 0; base 172 cloud_print/gcp20/prototype/privet_http_server.h scoped_ptr<base::DictionaryValue> ProcessInfo( base 175 cloud_print/gcp20/prototype/privet_http_server.h scoped_ptr<base::DictionaryValue> ProcessCapabilities( base 178 cloud_print/gcp20/prototype/privet_http_server.h scoped_ptr<base::DictionaryValue> ProcessCreateJob( base 183 cloud_print/gcp20/prototype/privet_http_server.h scoped_ptr<base::DictionaryValue> ProcessSubmitDoc( base 188 cloud_print/gcp20/prototype/privet_http_server.h scoped_ptr<base::DictionaryValue> ProcessJobState( base 192 cloud_print/gcp20/prototype/privet_http_server.h scoped_ptr<base::DictionaryValue> ProcessRegister( base 200 cloud_print/gcp20/prototype/privet_http_server.h scoped_ptr<base::DictionaryValue>* current_response) const; base 23 cloud_print/gcp20/prototype/x_privet_token.cc using base::Time; base 24 cloud_print/gcp20/prototype/x_privet_token.cc using base::TimeDelta; base 31 cloud_print/gcp20/prototype/x_privet_token.cc const base::Time& gen_time) base 50 cloud_print/gcp20/prototype/x_privet_token.cc if (!base::StringToUint64(issue_time_str, &issue_time)) base 62 cloud_print/gcp20/prototype/x_privet_token.cc std::string issue_time_str = base::StringPrintf("%"PRIu64, issue_time); base 63 cloud_print/gcp20/prototype/x_privet_token.cc std::string hash = base::SHA1HashString(secret_ + base 66 cloud_print/gcp20/prototype/x_privet_token.cc base::Base64Encode(hash, &result); base 71 cloud_print/gcp20/prototype/x_privet_token.cc secret_ = base::GenerateGUID(); base 72 cloud_print/gcp20/prototype/x_privet_token.cc last_gen_time_ = base::Time::Now(); base 36 cloud_print/gcp20/prototype/x_privet_token.h XPrivetToken(const std::string& secret, const base::Time& gen_time); base 48 cloud_print/gcp20/prototype/x_privet_token.h base::Time last_gen_time_; base 24 cloud_print/gcp20/prototype/x_privet_token_unittest.cc XPrivetToken xtoken(secret, base::Time::FromTimeT(gen_time)); base 26 cloud_print/gcp20/prototype/x_privet_token_unittest.cc std::string issue_time_str = base::StringPrintf("%" PRIu64, issue_time); base 27 cloud_print/gcp20/prototype/x_privet_token_unittest.cc std::string sha1_val = base::SHA1HashString(secret + ":" + issue_time_str); base 30 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::HexEncode(sha1_val.data(), sha1_val.size()).c_str()); base 33 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode(sha1_val, &base64_val); base 43 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Time gen_time = base::Time::FromTimeT(1372444784); base 66 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Time gen_time = base::Time::FromTimeT(1372444784); base 74 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA1AD9CEEA1AD9CEEA1AD", &token); base 77 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:1AD9CEEA1AD9CEEA1AD", &token); base 80 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:1AD9CEEA1AD9:CEEA1AD", &token); base 83 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:123456", &token); base 86 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:", &token); base 89 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:1372444784", &token); base 54 cloud_print/service/service_state.cc base::MessageLoop::current()->Quit(); base 75 cloud_print/service/service_state.cc void SetNotEmptyJsonString(base::DictionaryValue* dictionary, base 102 cloud_print/service/service_state.cc scoped_ptr<base::Value> data(base::JSONReader::Read(json)); base 106 cloud_print/service/service_state.cc const base::DictionaryValue* services = NULL; base 110 cloud_print/service/service_state.cc const base::DictionaryValue* cloud_print = NULL; base 138 cloud_print/service/service_state.cc scoped_ptr<base::DictionaryValue> services(new base::DictionaryValue()); base 140 cloud_print/service/service_state.cc scoped_ptr<base::DictionaryValue> cloud_print(new base::DictionaryValue()); base 154 cloud_print/service/service_state.cc base::JSONWriter::WriteWithOptions(services.get(), base 155 cloud_print/service/service_state.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 163 cloud_print/service/service_state.cc base::MessageLoopForIO loop; base 194 cloud_print/service/service_state.cc base::MessageLoop::current()->PostDelayedTask( base 196 cloud_print/service/service_state.cc base::MessageLoop::QuitClosure(), base 197 cloud_print/service/service_state.cc base::TimeDelta::FromMilliseconds(kRequestTimeoutMs)); base 199 cloud_print/service/service_state.cc base::MessageLoop::current()->Run(); base 23 cloud_print/service/service_state_unittest.cc base::CollapseWhitespaceASCII(state.ToString(), true).c_str()); base 35 cloud_print/service/service_state_unittest.cc base::CollapseWhitespaceASCII(state.ToString(), true).c_str()); base 35 cloud_print/service/win/chrome_launcher.cc static const base::char16 kAutoRunKeyPath[] = base 45 cloud_print/service/win/chrome_launcher.cc base::KillProcess(process, 0, true); base 70 cloud_print/service/win/chrome_launcher.cc base::win::ScopedHandle* process_handle, base 83 cloud_print/service/win/chrome_launcher.cc base::win::ScopedProcessInformation process_info(temp_process_info); base 115 cloud_print/service/win/chrome_launcher.cc std::string ReadAndUpdateServiceState(const base::FilePath& directory, base 118 cloud_print/service/win/chrome_launcher.cc base::FilePath file_path = directory.Append(chrome::kServiceStateFileName); base 119 cloud_print/service/win/chrome_launcher.cc if (!base::ReadFileToString(file_path, &json)) { base 123 cloud_print/service/win/chrome_launcher.cc scoped_ptr<base::Value> service_state(base::JSONReader::Read(json)); base 124 cloud_print/service/win/chrome_launcher.cc base::DictionaryValue* dictionary = NULL; base 143 cloud_print/service/win/chrome_launcher.cc scoped_ptr<base::Value> cloud_print_root; base 152 cloud_print/service/win/chrome_launcher.cc base::JSONWriter::WriteWithOptions(dictionary, base 153 cloud_print/service/win/chrome_launcher.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 158 cloud_print/service/win/chrome_launcher.cc void DeleteAutorunKeys(const base::FilePath& user_data_dir) { base 159 cloud_print/service/win/chrome_launcher.cc base::win::RegKey key(HKEY_CURRENT_USER, kAutoRunKeyPath, KEY_SET_VALUE); base 162 cloud_print/service/win/chrome_launcher.cc std::vector<base::string16> to_delete; base 164 cloud_print/service/win/chrome_launcher.cc base::FilePath abs_user_data_dir = base::MakeAbsoluteFilePath(user_data_dir); base 167 cloud_print/service/win/chrome_launcher.cc base::win::RegistryValueIterator value(HKEY_CURRENT_USER, kAutoRunKeyPath); base 174 cloud_print/service/win/chrome_launcher.cc base::FilePath path_from_reg = base::MakeAbsoluteFilePath( base 191 cloud_print/service/win/chrome_launcher.cc ChromeLauncher::ChromeLauncher(const base::FilePath& user_data) base 202 cloud_print/service/win/chrome_launcher.cc thread_.reset(new base::DelegateSimpleThread(this, "chrome_launcher")); base 214 cloud_print/service/win/chrome_launcher.cc const base::TimeDelta default_time_out = base::TimeDelta::FromSeconds(1); base 215 cloud_print/service/win/chrome_launcher.cc const base::TimeDelta max_time_out = base::TimeDelta::FromHours(1); base 217 cloud_print/service/win/chrome_launcher.cc for (base::TimeDelta time_out = default_time_out;; base 219 cloud_print/service/win/chrome_launcher.cc base::FilePath chrome_path = chrome_launcher_support::GetAnyChromePath(); base 241 cloud_print/service/win/chrome_launcher.cc base::win::ScopedHandle chrome_handle; base 242 cloud_print/service/win/chrome_launcher.cc base::Time started = base::Time::Now(); base 261 cloud_print/service/win/chrome_launcher.cc if (base::Time::Now() - started > base::TimeDelta::FromHours(1)) { base 274 cloud_print/service/win/chrome_launcher.cc base::ScopedTempDir temp_user_data; base 280 cloud_print/service/win/chrome_launcher.cc base::FilePath chrome_path = chrome_launcher_support::GetAnyChromePath(); base 286 cloud_print/service/win/chrome_launcher.cc base::FilePath printers_file = temp_user_data.path().Append(L"printers.json"); base 288 cloud_print/service/win/chrome_launcher.cc base::ListValue printer_list; base 291 cloud_print/service/win/chrome_launcher.cc base::JSONWriter::Write(&printer_list, &printers_json); base 292 cloud_print/service/win/chrome_launcher.cc size_t written = base::WriteFile(printers_file, base 316 cloud_print/service/win/chrome_launcher.cc base::win::ScopedHandle chrome_handle; base 16 cloud_print/service/win/chrome_launcher.h class ChromeLauncher : public base::DelegateSimpleThread::Delegate { base 18 cloud_print/service/win/chrome_launcher.h explicit ChromeLauncher(const base::FilePath& user_data); base 32 cloud_print/service/win/chrome_launcher.h base::FilePath user_data_; base 33 cloud_print/service/win/chrome_launcher.h base::WaitableEvent stop_event_; base 34 cloud_print/service/win/chrome_launcher.h scoped_ptr<base::DelegateSimpleThread> thread_; base 40 cloud_print/service/win/cloud_print_service.cc base::FilePath service_path; base 41 cloud_print/service/win/cloud_print_service.cc CHECK(PathService::Get(base::FILE_EXE, &service_path)); base 83 cloud_print/service/win/cloud_print_service.cc base::string16 GetOption(int string_id, const base::string16& default, base 85 cloud_print/service/win/cloud_print_service.cc base::string16 prompt_format = cloud_print::LoadLocalString(string_id); base 86 cloud_print/service/win/cloud_print_service.cc std::vector<base::string16> substitutions(1, default); base 88 cloud_print/service/win/cloud_print_service.cc base::string16 tmp; base 113 cloud_print/service/win/cloud_print_service.cc base::string16 StateAsString(ServiceController::State state) { base 126 cloud_print/service/win/cloud_print_service.cc return string_id ? cloud_print::LoadLocalString(string_id) : base::string16(); base 208 cloud_print/service/win/cloud_print_service.cc user_data_dir_switch_ = base::MakeAbsoluteFilePath(user_data_dir_switch_); base 217 cloud_print/service/win/cloud_print_service.cc base::string16 run_as_user; base 218 cloud_print/service/win/cloud_print_service.cc base::string16 run_as_password; base 219 cloud_print/service/win/cloud_print_service.cc base::FilePath user_data_dir; base 265 cloud_print/service/win/cloud_print_service.cc HRESULT SelectWindowsAccount(base::string16* run_as_user, base 266 cloud_print/service/win/cloud_print_service.cc base::string16* run_as_password, base 267 cloud_print/service/win/cloud_print_service.cc base::FilePath* user_data_dir, base 284 cloud_print/service/win/cloud_print_service.cc base::ScopedClosureRunner scoped_uninstall( base 285 cloud_print/service/win/cloud_print_service.cc base::Bind(base::IgnoreResult(&ServiceController::UninstallService), base 286 cloud_print/service/win/cloud_print_service.cc base::Unretained(controller_.get()))); base 293 cloud_print/service/win/cloud_print_service.cc if (!setup.WaitResponce(base::TimeDelta::FromSeconds(30))) { base 330 cloud_print/service/win/cloud_print_service.cc HRESULT SetupServiceState(const base::FilePath& user_data_dir, base 332 cloud_print/service/win/cloud_print_service.cc base::FilePath file = user_data_dir.Append(chrome::kServiceStateFileName); base 337 cloud_print/service/win/cloud_print_service.cc bool is_valid = base::ReadFileToString(file, &contents) && base 343 cloud_print/service/win/cloud_print_service.cc base::string16 message = base 354 cloud_print/service/win/cloud_print_service.cc size_t written = base::WriteFile(file, new_contents.c_str(), base 381 cloud_print/service/win/cloud_print_service.cc base::FilePath GetUserDataDir() const { base 384 cloud_print/service/win/cloud_print_service.cc base::FilePath result; base 385 cloud_print/service/win/cloud_print_service.cc CHECK(PathService::Get(base::DIR_LOCAL_APP_DATA, &result)); base 392 cloud_print/service/win/cloud_print_service.cc base::FilePath user_data_dir_switch_; base 407 cloud_print/service/win/cloud_print_service.cc base::AtExitManager at_exit; base 30 cloud_print/service/win/cloud_print_service_config.cc class SetupDialog : public base::RefCounted<SetupDialog>, base 34 cloud_print/service/win/cloud_print_service_config.cc class Dispatcher : public base::MessagePumpDispatcher { base 77 cloud_print/service/win/cloud_print_service_config.cc void PostUITask(const base::Closure& task); base 78 cloud_print/service/win/cloud_print_service_config.cc void PostIOTask(const base::Closure& task); base 85 cloud_print/service/win/cloud_print_service_config.cc void SetState(ServiceController::State state, const base::string16& user, base 88 cloud_print/service/win/cloud_print_service_config.cc void ShowErrorMessageBox(const base::string16& error_message); base 91 cloud_print/service/win/cloud_print_service_config.cc base::string16 GetDlgItemText(int id) const; base 92 cloud_print/service/win/cloud_print_service_config.cc base::string16 GetUser() const; base 93 cloud_print/service/win/cloud_print_service_config.cc base::string16 GetPassword() const; base 101 cloud_print/service/win/cloud_print_service_config.cc void Install(const base::string16& user, const base::string16& password, base 114 cloud_print/service/win/cloud_print_service_config.cc void ShowError(const base::string16& error_message); base 119 cloud_print/service/win/cloud_print_service_config.cc base::Thread worker_; base 121 cloud_print/service/win/cloud_print_service_config.cc base::MessageLoop* ui_loop_; base 122 cloud_print/service/win/cloud_print_service_config.cc base::MessageLoop* io_loop_; base 130 cloud_print/service/win/cloud_print_service_config.cc ui_loop_ = base::MessageLoop::current(); base 131 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 134 cloud_print/service/win/cloud_print_service_config.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 136 cloud_print/service/win/cloud_print_service_config.cc DCHECK(io_loop_->IsType(base::MessageLoop::TYPE_IO)); base 139 cloud_print/service/win/cloud_print_service_config.cc void SetupDialog::PostUITask(const base::Closure& task) { base 143 cloud_print/service/win/cloud_print_service_config.cc void SetupDialog::PostIOTask(const base::Closure& task) { base 147 cloud_print/service/win/cloud_print_service_config.cc void SetupDialog::ShowErrorMessageBox(const base::string16& error_message) { base 148 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 155 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 162 cloud_print/service/win/cloud_print_service_config.cc const base::string16& user, base 164 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 230 cloud_print/service/win/cloud_print_service_config.cc PostIOTask(base::Bind(&SetupDialog::UpdateState, this)); base 248 cloud_print/service/win/cloud_print_service_config.cc PostIOTask(base::Bind(&SetupDialog::Stop, this)); base 250 cloud_print/service/win/cloud_print_service_config.cc PostIOTask(base::Bind(&SetupDialog::Start, this)); base 257 cloud_print/service/win/cloud_print_service_config.cc PostIOTask(base::Bind(&SetupDialog::Uninstall, this)); base 259 cloud_print/service/win/cloud_print_service_config.cc PostIOTask(base::Bind(&SetupDialog::Install, this, GetUser(), base 277 cloud_print/service/win/cloud_print_service_config.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 278 cloud_print/service/win/cloud_print_service_config.cc base::MessageLoop::QuitClosure()); base 290 cloud_print/service/win/cloud_print_service_config.cc base::string16 SetupDialog::GetDlgItemText(int id) const { base 293 cloud_print/service/win/cloud_print_service_config.cc base::string16 result(length + 1, L'\0'); base 298 cloud_print/service/win/cloud_print_service_config.cc base::string16 SetupDialog::GetUser() const { base 302 cloud_print/service/win/cloud_print_service_config.cc base::string16 SetupDialog::GetPassword() const { base 311 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForIO::IsCurrent()); base 313 cloud_print/service/win/cloud_print_service_config.cc PostUITask(base::Bind(&SetupDialog::SetState, this, controller_.state(), base 317 cloud_print/service/win/cloud_print_service_config.cc void SetupDialog::ShowError(const base::string16& error_message) { base 318 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForIO::IsCurrent()); base 319 cloud_print/service/win/cloud_print_service_config.cc PostUITask(base::Bind(&SetupDialog::SetState, base 324 cloud_print/service/win/cloud_print_service_config.cc PostUITask(base::Bind(&SetupDialog::ShowErrorMessageBox, this, base 337 cloud_print/service/win/cloud_print_service_config.cc void SetupDialog::Install(const base::string16& user, base 338 cloud_print/service/win/cloud_print_service_config.cc const base::string16& password, base 341 cloud_print/service/win/cloud_print_service_config.cc base::ScopedClosureRunner scoped_update_status( base 342 cloud_print/service/win/cloud_print_service_config.cc base::Bind(&SetupDialog::UpdateState, this)); base 344 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForIO::IsCurrent()); base 348 cloud_print/service/win/cloud_print_service_config.cc base::FilePath()); base 354 cloud_print/service/win/cloud_print_service_config.cc base::ScopedClosureRunner scoped_uninstall( base 355 cloud_print/service/win/cloud_print_service_config.cc base::Bind(base::IgnoreResult(&ServiceController::UninstallService), base 356 cloud_print/service/win/cloud_print_service_config.cc base::Unretained(&controller_))); base 362 cloud_print/service/win/cloud_print_service_config.cc if (!setup.WaitResponce(base::TimeDelta::FromSeconds(30))) base 375 cloud_print/service/win/cloud_print_service_config.cc base::FilePath file = setup.user_data_dir(); base 381 cloud_print/service/win/cloud_print_service_config.cc if (base::ReadFileToString(file, &contents)) { base 386 cloud_print/service/win/cloud_print_service_config.cc PostUITask(base::Bind(&SetupDialog::AskToCloseChrome, this)); base 392 cloud_print/service/win/cloud_print_service_config.cc size_t written = base::WriteFile(file, contents.c_str(), base 401 cloud_print/service/win/cloud_print_service_config.cc hr = controller_.InstallConnectorService(user, password, base::FilePath(), base 412 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForIO::IsCurrent()); base 420 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForIO::IsCurrent()); base 428 cloud_print/service/win/cloud_print_service_config.cc DCHECK(base::MessageLoopForIO::IsCurrent()); base 445 cloud_print/service/win/cloud_print_service_config.cc base::AtExitManager at_exit; base 448 cloud_print/service/win/cloud_print_service_config.cc base::MessageLoopForUI loop; base 453 cloud_print/service/win/cloud_print_service_config.cc base::RunLoop run_loop(&dispatcher); base 26 cloud_print/service/win/installer.cc base::FilePath GetShortcutPath(int dir_key, bool with_subdir) { base 27 cloud_print/service/win/installer.cc base::FilePath path; base 29 cloud_print/service/win/installer.cc return base::FilePath(); base 37 cloud_print/service/win/installer.cc base::win::ShortcutOperation operation) { base 38 cloud_print/service/win/installer.cc base::FilePath path = GetShortcutPath(dir_key, with_subdir); base 41 cloud_print/service/win/installer.cc base::CreateDirectory(path.DirName()); base 42 cloud_print/service/win/installer.cc base::win::ShortcutProperties properties; base 44 cloud_print/service/win/installer.cc base::FilePath exe_path; base 45 cloud_print/service/win/installer.cc if (!PathService::Get(base::FILE_EXE, &exe_path)) base 47 cloud_print/service/win/installer.cc exe_path = exe_path.DirName().Append(base::FilePath(kConfigBinaryName)); base 54 cloud_print/service/win/installer.cc base::win::ScopedCOMInitializer co_init; base 55 cloud_print/service/win/installer.cc base::win::ShortcutOperation operation = base 56 cloud_print/service/win/installer.cc create_always ? base::win::SHORTCUT_CREATE_ALWAYS : base 57 cloud_print/service/win/installer.cc base::win::SHORTCUT_REPLACE_EXISTING; base 58 cloud_print/service/win/installer.cc CreateShortcut(base::DIR_COMMON_START_MENU, true, operation); base 59 cloud_print/service/win/installer.cc CreateShortcut(base::DIR_COMMON_DESKTOP, false, operation); base 63 cloud_print/service/win/installer.cc base::FilePath path = GetShortcutPath(dir_key, with_subdir); base 67 cloud_print/service/win/installer.cc base::DeleteFile(path.DirName(), true); base 69 cloud_print/service/win/installer.cc base::DeleteFile(path, false); base 73 cloud_print/service/win/installer.cc DeleteShortcut(base::DIR_COMMON_START_MENU, true); base 74 cloud_print/service/win/installer.cc DeleteShortcut(base::DIR_COMMON_DESKTOP, false); base 83 cloud_print/service/win/installer.cc base::FilePath old_location = base 98 cloud_print/service/win/installer.cc base::DeleteFile(old_location, true); base 120 cloud_print/service/win/installer.cc base::FilePath delete_path = command_line.GetSwitchValuePath(kDeleteSwitch); base 123 cloud_print/service/win/installer.cc base::DeleteFile(delete_path, true); base 141 cloud_print/service/win/installer.cc base::AtExitManager at_exit; base 80 cloud_print/service/win/local_security_policy.cc const base::string16& username, base 81 cloud_print/service/win/local_security_policy.cc const base::string16& privilage) const { base 101 cloud_print/service/win/local_security_policy.cc bool LocalSecurityPolicy::SetPrivilege(const base::string16& username, base 102 cloud_print/service/win/local_security_policy.cc const base::string16& privilage) { base 110 cloud_print/service/win/local_security_policy.cc base::string16 privilage_copy(privilage); base 24 cloud_print/service/win/local_security_policy.h bool IsPrivilegeSet(const base::string16& username, base 25 cloud_print/service/win/local_security_policy.h const base::string16& privilage) const; base 26 cloud_print/service/win/local_security_policy.h bool SetPrivilege(const base::string16& username, base 27 cloud_print/service/win/local_security_policy.h const base::string16& privilage); base 50 cloud_print/service/win/service_controller.cc typedef base::win::GenericScopedHandle< base 51 cloud_print/service/win/service_controller.cc ServiceHandleTraits, base::win::DummyVerifierTraits> ServiceHandle; base 64 cloud_print/service/win/service_controller.cc HRESULT OpenService(const base::string16& name, DWORD access, base 125 cloud_print/service/win/service_controller.cc base::FilePath ServiceController::GetBinary() const { base 126 cloud_print/service/win/service_controller.cc base::FilePath service_path; base 127 cloud_print/service/win/service_controller.cc CHECK(PathService::Get(base::FILE_EXE, &service_path)); base 128 cloud_print/service/win/service_controller.cc return service_path.DirName().Append(base::FilePath(kServiceExeName)); base 132 cloud_print/service/win/service_controller.cc const base::string16& user, base 133 cloud_print/service/win/service_controller.cc const base::string16& password, base 134 cloud_print/service/win/service_controller.cc const base::FilePath& user_data_dir, base 141 cloud_print/service/win/service_controller.cc const base::string16& user, base 142 cloud_print/service/win/service_controller.cc const base::string16& password, base 143 cloud_print/service/win/service_controller.cc const base::FilePath& user_data_dir) { base 148 cloud_print/service/win/service_controller.cc HRESULT ServiceController::InstallService(const base::string16& user, base 149 cloud_print/service/win/service_controller.cc const base::string16& password, base 152 cloud_print/service/win/service_controller.cc const base::FilePath& user_data_dir, base 164 cloud_print/service/win/service_controller.cc base::FilePath service_path = GetBinary(); base 165 cloud_print/service/win/service_controller.cc if (!base::PathExists(service_path)) base 196 cloud_print/service/win/service_controller.cc base::string16 display_name = base 212 cloud_print/service/win/service_controller.cc base::string16 description_string = base 248 cloud_print/service/win/service_controller.cc base::FilePath service_path = GetBinary(); base 249 cloud_print/service/win/service_controller.cc if (!base::PathExists(service_path)) base 15 cloud_print/service/win/service_controller.h namespace base { base 35 cloud_print/service/win/service_controller.h HRESULT InstallCheckService(const base::string16& user, base 36 cloud_print/service/win/service_controller.h const base::string16& password, base 37 cloud_print/service/win/service_controller.h const base::FilePath& user_data_dir); base 40 cloud_print/service/win/service_controller.h HRESULT InstallConnectorService(const base::string16& user, base 41 cloud_print/service/win/service_controller.h const base::string16& password, base 42 cloud_print/service/win/service_controller.h const base::FilePath& user_data_dir, base 55 cloud_print/service/win/service_controller.h const base::string16& user() const { return user_; } base 58 cloud_print/service/win/service_controller.h base::FilePath GetBinary() const; base 61 cloud_print/service/win/service_controller.h HRESULT InstallService(const base::string16& user, base 62 cloud_print/service/win/service_controller.h const base::string16& password, base 65 cloud_print/service/win/service_controller.h const base::FilePath& user_data_dir, base 68 cloud_print/service/win/service_controller.h const base::string16 name_; base 70 cloud_print/service/win/service_controller.h base::string16 user_; base 72 cloud_print/service/win/service_controller.h base::CommandLine command_line_; base 15 cloud_print/service/win/service_ipc_unittest.cc ASSERT_FALSE(setup.WaitResponce(base::TimeDelta::FromSeconds(3))); base 19 cloud_print/service/win/service_ipc_unittest.cc base::ScopedTempDir temp_dir; base 23 cloud_print/service/win/service_ipc_unittest.cc ASSERT_TRUE(setup.WaitResponce(base::TimeDelta::FromSeconds(30))); base 29 cloud_print/service/win/service_ipc_unittest.cc base::ScopedTempDir temp_dir; base 32 cloud_print/service/win/service_ipc_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); base 34 cloud_print/service/win/service_ipc_unittest.cc ASSERT_TRUE(setup.WaitResponce(base::TimeDelta::FromSeconds(30))); base 40 cloud_print/service/win/service_ipc_unittest.cc base::ScopedTempDir temp_dir; base 44 cloud_print/service/win/service_ipc_unittest.cc ASSERT_FALSE(setup.WaitResponce(base::TimeDelta::FromSeconds(3))); base 22 cloud_print/service/win/service_listener.cc std::string GetEnvironment(const base::FilePath& user_data_dir) { base 27 cloud_print/service/win/service_listener.cc scoped_ptr<base::ListValue> printers(new base::ListValue()); base 32 cloud_print/service/win/service_listener.cc base::DictionaryValue environment; base 40 cloud_print/service/win/service_listener.cc if (base::CreateDirectory(user_data_dir)) { base 41 cloud_print/service/win/service_listener.cc base::FilePath temp_file; base 42 cloud_print/service/win/service_listener.cc if (base::CreateTemporaryFileInDir(user_data_dir, &temp_file)) { base 43 cloud_print/service/win/service_listener.cc DCHECK(base::PathExists(temp_file)); base 46 cloud_print/service/win/service_listener.cc base::DeleteFile(temp_file, false); base 51 cloud_print/service/win/service_listener.cc base::JSONWriter::Write(&environment, &result); base 57 cloud_print/service/win/service_listener.cc ServiceListener::ServiceListener(const base::FilePath& user_data_dir) base 58 cloud_print/service/win/service_listener.cc : ipc_thread_(new base::Thread("ipc_thread")), base 61 cloud_print/service/win/service_listener.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 63 cloud_print/service/win/service_listener.cc FROM_HERE, base::Bind(&ServiceListener::Connect, base::Unretained(this))); base 68 cloud_print/service/win/service_listener.cc base::Bind(&ServiceListener::Disconnect, base 69 cloud_print/service/win/service_listener.cc base::Unretained(this))); base 88 cloud_print/service/win/service_listener.cc base::win::ScopedHandle handle( base 100 cloud_print/service/win/service_listener.cc base::Bind(&ServiceListener::Connect, base::Unretained(this)), base 101 cloud_print/service/win/service_listener.cc base::TimeDelta::FromMilliseconds(500)); base 13 cloud_print/service/win/service_listener.h namespace base { base 25 cloud_print/service/win/service_listener.h explicit ServiceListener(const base::FilePath& user_data_dir); base 35 cloud_print/service/win/service_listener.h scoped_ptr<base::Thread> ipc_thread_; base 37 cloud_print/service/win/service_listener.h base::FilePath user_data_dir_; base 15 cloud_print/service/win/service_utils.cc base::string16 GetLocalComputerName() { base 17 cloud_print/service/win/service_utils.cc base::string16 result; base 23 cloud_print/service/win/service_utils.cc return base::string16(); base 28 cloud_print/service/win/service_utils.cc base::string16 ReplaceLocalHostInName(const base::string16& user_name) { base 37 cloud_print/service/win/service_utils.cc base::string16 GetCurrentUserName() { base 39 cloud_print/service/win/service_utils.cc base::string16 result; base 45 cloud_print/service/win/service_utils.cc return base::string16(); base 10 cloud_print/service/win/service_utils.h namespace base { base 14 cloud_print/service/win/service_utils.h base::string16 ReplaceLocalHostInName(const base::string16& user_name); base 15 cloud_print/service/win/service_utils.h base::string16 GetCurrentUserName(); base 16 cloud_print/service/win/service_utils.h void CopyChromeSwitchesFromCurrentProcess(base::CommandLine* destination); base 29 cloud_print/service/win/setup_listener.cc SetupListener::SetupListener(const base::string16& user) base 30 cloud_print/service/win/setup_listener.cc : done_event_(new base::WaitableEvent(true, false)), base 31 cloud_print/service/win/setup_listener.cc ipc_thread_(new base::Thread("ipc_thread")), base 35 cloud_print/service/win/setup_listener.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 38 cloud_print/service/win/setup_listener.cc base::Bind(&SetupListener::Connect, base::Unretained(this), user)); base 43 cloud_print/service/win/setup_listener.cc base::Bind(&SetupListener::Disconnect, base 44 cloud_print/service/win/setup_listener.cc base::Unretained(this))); base 53 cloud_print/service/win/setup_listener.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json_string)); base 54 cloud_print/service/win/setup_listener.cc const base::DictionaryValue* dictionary = NULL; base 60 cloud_print/service/win/setup_listener.cc const base::ListValue* printers = NULL; base 71 cloud_print/service/win/setup_listener.cc base::string16 chrome_path; base 73 cloud_print/service/win/setup_listener.cc chrome_path_ = base::FilePath(chrome_path); base 75 cloud_print/service/win/setup_listener.cc base::string16 user_data_dir; base 77 cloud_print/service/win/setup_listener.cc user_data_dir_ = base::FilePath(user_data_dir); base 88 cloud_print/service/win/setup_listener.cc bool SetupListener::WaitResponce(const base::TimeDelta& delta) { base 97 cloud_print/service/win/setup_listener.cc void SetupListener::Connect(const base::string16& user) { base 112 cloud_print/service/win/setup_listener.cc base::win::ScopedHandle pipe( base 17 cloud_print/service/win/setup_listener.h namespace base { base 38 cloud_print/service/win/setup_listener.h explicit SetupListener(const base::string16& user); base 44 cloud_print/service/win/setup_listener.h bool WaitResponce(const base::TimeDelta& delta); base 46 cloud_print/service/win/setup_listener.h const base::FilePath& chrome_path() const { base 50 cloud_print/service/win/setup_listener.h const base::FilePath& user_data_dir() const { base 54 cloud_print/service/win/setup_listener.h const base::string16& user_name() const { base 68 cloud_print/service/win/setup_listener.h void Connect(const base::string16& user); base 70 cloud_print/service/win/setup_listener.h base::FilePath chrome_path_; base 71 cloud_print/service/win/setup_listener.h base::FilePath user_data_dir_; base 72 cloud_print/service/win/setup_listener.h base::string16 user_name_; base 77 cloud_print/service/win/setup_listener.h scoped_ptr<base::WaitableEvent> done_event_; base 78 cloud_print/service/win/setup_listener.h scoped_ptr<base::Thread> ipc_thread_; base 65 cloud_print/virtual_driver/win/install/setup.cc base::FilePath GetSystemPath(const base::string16& binary) { base 66 cloud_print/virtual_driver/win/install/setup.cc base::FilePath path; base 67 cloud_print/virtual_driver/win/install/setup.cc if (!PathService::Get(base::DIR_SYSTEM, &path)) { base 74 cloud_print/virtual_driver/win/install/setup.cc base::FilePath GetNativeSystemPath(const base::string16& binary) { base 77 cloud_print/virtual_driver/win/install/setup.cc base::FilePath path; base 80 cloud_print/virtual_driver/win/install/setup.cc if (!PathService::Get(base::DIR_WINDOWS, &path)) { base 88 cloud_print/virtual_driver/win/install/setup.cc base::FilePath net_path = GetNativeSystemPath(L"net"); base 96 cloud_print/virtual_driver/win/install/setup.cc base::LaunchOptions options; base 100 cloud_print/virtual_driver/win/install/setup.cc base::LaunchProcess(command_line, options, NULL); base 103 cloud_print/virtual_driver/win/install/setup.cc HRESULT RegisterPortMonitor(bool install, const base::FilePath& install_path) { base 105 cloud_print/virtual_driver/win/install/setup.cc base::FilePath target_path = GetNativeSystemPath(GetPortMonitorDllName()); base 111 cloud_print/virtual_driver/win/install/setup.cc base::FilePath source_path = base 113 cloud_print/virtual_driver/win/install/setup.cc if (!base::CopyFile(source_path, target_path)) { base 118 cloud_print/virtual_driver/win/install/setup.cc } else if (!base::PathExists(target_path)) { base 123 cloud_print/virtual_driver/win/install/setup.cc base::FilePath regsvr32_path = GetNativeSystemPath(L"regsvr32.exe"); base 138 cloud_print/virtual_driver/win/install/setup.cc base::LaunchOptions options; base 141 cloud_print/virtual_driver/win/install/setup.cc base::win::ScopedHandle regsvr32_handle; base 142 cloud_print/virtual_driver/win/install/setup.cc if (!base::LaunchProcess(command_line.GetCommandLineString(), options, base 159 cloud_print/virtual_driver/win/install/setup.cc if (!base::DeleteFile(target_path, false)) { base 161 cloud_print/virtual_driver/win/install/setup.cc bool deleted = base::DeleteFile(target_path, false); base 192 cloud_print/virtual_driver/win/install/setup.cc const base::FilePath* temp_path( base 193 cloud_print/virtual_driver/win/install/setup.cc reinterpret_cast<const base::FilePath*>(data)); base 198 cloud_print/virtual_driver/win/install/setup.cc base::FilePath base_name(info->NameInCabinet); base 200 cloud_print/virtual_driver/win/install/setup.cc if (base::FilePath::CompareEqualIgnoreCase(base_name.value().c_str(), base 212 cloud_print/virtual_driver/win/install/setup.cc void ReadyDriverDependencies(const base::FilePath& destination) { base 213 cloud_print/virtual_driver/win/install/setup.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 225 cloud_print/virtual_driver/win/install/setup.cc &base::FilePath(destination)); base 228 cloud_print/virtual_driver/win/install/setup.cc base::FilePath package_path; base 229 cloud_print/virtual_driver/win/install/setup.cc PathService::Get(base::DIR_WINDOWS, &package_path); base 232 cloud_print/virtual_driver/win/install/setup.cc &base::FilePath(destination)); base 235 cloud_print/virtual_driver/win/install/setup.cc base::FilePath driver_cache_path; base 236 cloud_print/virtual_driver/win/install/setup.cc PathService::Get(base::DIR_WINDOWS, &driver_cache_path); base 239 cloud_print/virtual_driver/win/install/setup.cc base::FilePath dst_path = destination.Append(kDependencyList[i]); base 240 cloud_print/virtual_driver/win/install/setup.cc if (!base::PathExists(dst_path)) { base 241 cloud_print/virtual_driver/win/install/setup.cc base::FilePath src_path = driver_cache_path.Append(kDependencyList[i]); base 242 cloud_print/virtual_driver/win/install/setup.cc if (!base::PathExists(src_path)) base 244 cloud_print/virtual_driver/win/install/setup.cc base::CopyFile(src_path, dst_path); base 250 cloud_print/virtual_driver/win/install/setup.cc HRESULT InstallDriver(const base::FilePath& install_path) { base 251 cloud_print/virtual_driver/win/install/setup.cc base::ScopedTempDir temp_path; base 256 cloud_print/virtual_driver/win/install/setup.cc std::vector<base::string16> dependent_array; base 259 cloud_print/virtual_driver/win/install/setup.cc base::FilePath file_path = temp_path.path().Append(kDependencyList[i]); base 260 cloud_print/virtual_driver/win/install/setup.cc if (base::PathExists(file_path)) base 267 cloud_print/virtual_driver/win/install/setup.cc base::FilePath data_file = install_path.Append(kDataFileName); base 268 cloud_print/virtual_driver/win/install/setup.cc base::FilePath xps_path = temp_path.path().Append(kDriverName); base 269 cloud_print/virtual_driver/win/install/setup.cc base::FilePath ui_path = temp_path.path().Append(kUiDriverName); base 270 cloud_print/virtual_driver/win/install/setup.cc base::FilePath ui_help_path = temp_path.path().Append(kHelpName); base 272 cloud_print/virtual_driver/win/install/setup.cc if (!base::PathExists(xps_path)) { base 287 cloud_print/virtual_driver/win/install/setup.cc base::string16 dependent_files(JoinString(dependent_array, L'\n')); base 293 cloud_print/virtual_driver/win/install/setup.cc base::string16 manufacturer = LoadLocalString(IDS_GOOGLE); base 298 cloud_print/virtual_driver/win/install/setup.cc base::string16 driver_name = LoadLocalString(IDS_DRIVER_NAME); base 311 cloud_print/virtual_driver/win/install/setup.cc base::string16 driver_name = LoadLocalString(IDS_DRIVER_NAME); base 340 cloud_print/virtual_driver/win/install/setup.cc base::string16 driver_name = LoadLocalString(IDS_DRIVER_NAME); base 345 cloud_print/virtual_driver/win/install/setup.cc base::string16 port_name; base 363 cloud_print/virtual_driver/win/install/setup.cc base::string16 driver_name = LoadLocalString(IDS_DRIVER_NAME); base 383 cloud_print/virtual_driver/win/install/setup.cc base::win::Version version = base::win::GetVersion(); base 384 cloud_print/virtual_driver/win/install/setup.cc return (version > base::win::VERSION_XP) || base 385 cloud_print/virtual_driver/win/install/setup.cc ((version == base::win::VERSION_XP) && base 386 cloud_print/virtual_driver/win/install/setup.cc (base::win::OSInfo::GetInstance()->service_pack().major >= 3)); base 389 cloud_print/virtual_driver/win/install/setup.cc HRESULT RegisterVirtualDriver(const base::FilePath& install_path) { base 392 cloud_print/virtual_driver/win/install/setup.cc DCHECK(base::DirectoryExists(install_path)); base 432 cloud_print/virtual_driver/win/install/setup.cc result = RegisterPortMonitor(false, base::FilePath()); base 468 cloud_print/virtual_driver/win/install/setup.cc HRESULT DoRegister(const base::FilePath& install_path) { base 475 cloud_print/virtual_driver/win/install/setup.cc HRESULT DoDelete(const base::FilePath& install_path) { base 478 cloud_print/virtual_driver/win/install/setup.cc if (!base::DirectoryExists(install_path)) base 481 cloud_print/virtual_driver/win/install/setup.cc return base::DeleteFile(install_path, true) ? S_OK : E_FAIL; base 484 cloud_print/virtual_driver/win/install/setup.cc HRESULT DoInstall(const base::FilePath& install_path) { base 490 cloud_print/virtual_driver/win/install/setup.cc base::FilePath old_install_path = GetInstallLocation(kUninstallId); base 493 cloud_print/virtual_driver/win/install/setup.cc if (base::DirectoryExists(old_install_path)) base 494 cloud_print/virtual_driver/win/install/setup.cc base::DeleteFile(old_install_path, true); base 508 cloud_print/virtual_driver/win/install/setup.cc base::FilePath exe_path; base 509 cloud_print/virtual_driver/win/install/setup.cc if (FAILED(PathService::Get(base::DIR_EXE, &exe_path)) || base 510 cloud_print/virtual_driver/win/install/setup.cc !base::DirectoryExists(exe_path)) { base 539 cloud_print/virtual_driver/win/install/setup.cc base::AtExitManager at_exit_manager; base 50 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc scoped_ptr<base::AtExitManager> at_exit_manager; base 65 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::CloseFile(file); base 72 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath file_path; base 109 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath GetAppDataDir() { base 110 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath file_path; base 111 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::Version version = base::win::GetVersion(); base 112 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc int path_id = (version >= base::win::VERSION_VISTA) ? base 113 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::DIR_LOCAL_APP_DATA_LOW : base::DIR_LOCAL_APP_DATA; base 116 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc return base::FilePath(); base 122 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc void DeleteLeakedFiles(const base::FilePath& dir) { base 123 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::Time delete_before = base::Time::Now() - base::TimeDelta::FromDays(1); base 124 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FileEnumerator enumerator(dir, false, base::FileEnumerator::FILES); base 125 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc for (base::FilePath file_path = enumerator.Next(); !file_path.empty(); base 128 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::DeleteFile(file_path, false); base 138 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::string16 *title) { base 166 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc void HandlePortUi(HWND hwnd, const base::string16& caption) { base 182 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::ScopedHandle token_scoped(token); base 198 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc bool LaunchPrintDialog(const base::FilePath& xps_path, base 199 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc const base::string16& job_title) { base 205 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::ScopedHandle primary_token_scoped(token); base 207 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath chrome_path = GetChromeExePath(); base 215 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath chrome_profile = GetChromeProfilePath(); base 222 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::LaunchOptions options; base 224 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::LaunchProcess(command_line, options, NULL); base 240 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::ScopedHandle token_scoped(token); base 242 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath ie_path; base 243 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc PathService::Get(base::DIR_PROGRAM_FILESX86, &ie_path); base 248 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::LaunchOptions options; base 250 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::LaunchProcess(command_line, options, NULL); base 262 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::ScopedHandle token_scoped(token); base 264 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 282 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath ReadPathFromRegistry(HKEY root, const wchar_t* path_name) { base 283 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::RegKey gcp_key(HKEY_CURRENT_USER, kCloudPrintRegKey, KEY_READ); base 284 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::string16 data; base 286 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::PathExists(base::FilePath(data))) { base 287 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc return base::FilePath(data); base 289 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc return base::FilePath(); base 292 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath ReadPathFromAnyRegistry(const wchar_t* path_name) { base 293 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath result = ReadPathFromRegistry(HKEY_CURRENT_USER, path_name); base 299 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath GetChromeExePath() { base 300 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath path = ReadPathFromAnyRegistry(kChromeExePathRegValue); base 306 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath GetChromeProfilePath() { base 307 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath path = ReadPathFromAnyRegistry(kChromeProfilePathRegValue); base 308 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (!path.empty() && base::DirectoryExists(path)) base 310 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc return base::FilePath(); base 421 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath& file_path = port_data->file_path; base 422 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath app_data_dir = GetAppDataDir(); base 426 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (!base::CreateDirectory(app_data_dir) || base 427 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc !base::CreateTemporaryFileInDir(app_data_dir, &file_path)) { base 431 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc port_data->file = base::OpenFile(file_path, "wb+"); base 476 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::CloseFile(port_data->file); base 480 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::GetFileSize(port_data->file_path, &file_size); base 482 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::string16 job_title; base 495 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::DeleteFile(port_data->file_path, false); base 565 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::FilePath dll_path(GetPortMonitorDllName()); base 616 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc monitor_data->at_exit_manager.reset(new base::AtExitManager()); base 17 cloud_print/virtual_driver/win/port_monitor/port_monitor.h base::FilePath GetChromeExePath(); base 20 cloud_print/virtual_driver/win/port_monitor/port_monitor.h base::FilePath GetChromeProfilePath(); base 42 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc base::FilePath xps_path; base 47 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc if (!base::PathExists(xps_path)) { base 58 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 59 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc base::IntegrityLevel level = base::INTEGRITY_UNKNOWN; base 60 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc if (!GetProcessIntegrityLevel(base::GetCurrentProcessHandle(), &level)) { base 63 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc if (level != base::HIGH_INTEGRITY) { base 76 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc base::AtExitManager at_exit_manager; base 83 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc base::FilePath dll_path(cloud_print::GetPortMonitorDllName()); base 93 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc base::AtExitManager at_exit_manager; base 97 cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc base::FilePath dll_path(cloud_print::GetPortMonitorDllName()); base 38 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::win::RegKey key(HKEY_CURRENT_USER, base 42 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath path; base 43 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc PathService::Get(base::DIR_LOCAL_APP_DATA, &path); base 48 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath temp; base 49 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc PathService::Get(base::DIR_TEMP, &temp); base 57 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::win::RegKey key(HKEY_CURRENT_USER, base 65 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath path; base 66 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc PathService::Get(base::DIR_LOCAL_APP_DATA, &path); base 67 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath main_path = path.Append(kChromeExePath); base 68 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc ASSERT_TRUE(base::CreateDirectory(main_path)); base 69 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath alternate_path = path.Append(kAlternateChromeExePath); base 70 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc ASSERT_TRUE(base::CreateDirectory(alternate_path)); base 74 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath path; base 75 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc PathService::Get(base::DIR_LOCAL_APP_DATA, &path); base 76 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath main_path = path.Append(kChromeExePath); base 77 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc ASSERT_TRUE(base::DeleteFile(main_path, true)); base 78 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc PathService::Get(base::DIR_LOCAL_APP_DATA, &path); base 79 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath alternate_path = path.Append(kAlternateChromeExePath); base 80 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc ASSERT_TRUE(base::DeleteFile(alternate_path, true)); base 98 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath chrome_path = cloud_print::GetChromeExePath(); base 102 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc EXPECT_TRUE(base::PathExists(chrome_path)); base 111 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath data_path = cloud_print::GetChromeProfilePath(); base 113 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc base::FilePath temp; base 114 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc PathService::Get(base::DIR_TEMP, &temp); base 116 cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc EXPECT_TRUE(base::DirectoryExists(data_path)); base 21 cloud_print/virtual_driver/win/virtual_driver_helpers.cc const base::string16 &caption) { base 25 cloud_print/virtual_driver/win/virtual_driver_helpers.cc base::string16 GetPortMonitorDllName() { base 27 cloud_print/virtual_driver/win/virtual_driver_helpers.cc return base::string16(L"gcp_portmon64.dll"); base 29 cloud_print/virtual_driver/win/virtual_driver_helpers.cc return base::string16(L"gcp_portmon.dll"); base 33 cloud_print/virtual_driver/win/virtual_driver_helpers.cc HRESULT GetPrinterDriverDir(base::FilePath* path) { base 46 cloud_print/virtual_driver/win/virtual_driver_helpers.cc *path = base::FilePath(reinterpret_cast<wchar_t*>(driver_dir_buffer)); base 54 cloud_print/virtual_driver/win/virtual_driver_helpers.cc base::win::OSInfo::WindowsArchitecture arch = base 55 cloud_print/virtual_driver/win/virtual_driver_helpers.cc base::win::OSInfo::GetInstance()->architecture(); base 56 cloud_print/virtual_driver/win/virtual_driver_helpers.cc return (arch == base::win::OSInfo::X64_ARCHITECTURE) || base 57 cloud_print/virtual_driver/win/virtual_driver_helpers.cc (arch == base::win::OSInfo::IA64_ARCHITECTURE); base 12 cloud_print/virtual_driver/win/virtual_driver_helpers.h namespace base { base 23 cloud_print/virtual_driver/win/virtual_driver_helpers.h const base::string16 &caption); base 26 cloud_print/virtual_driver/win/virtual_driver_helpers.h base::string16 GetPortMonitorDllName(); base 29 cloud_print/virtual_driver/win/virtual_driver_helpers.h HRESULT GetPrinterDriverDir(base::FilePath* path); base 48 components/auto_login_parser/auto_login_parser.cc if (!base::SplitStringIntoKeyValuePairs(header, '=', '&', &pairs)) base 84 components/autofill/content/browser/content_autofill_driver.cc base::SequencedWorkerPool* ContentAutofillDriver::GetBlockingPool() { base 128 components/autofill/content/browser/content_autofill_driver.cc const base::string16& value) { base 137 components/autofill/content/browser/content_autofill_driver.cc const base::string16& username) { base 160 components/autofill/content/browser/content_autofill_driver.cc const base::string16& value) { base 167 components/autofill/content/browser/content_autofill_driver.cc const base::string16& value) { base 36 components/autofill/content/browser/content_autofill_driver.h public base::SupportsUserData::Data { base 48 components/autofill/content/browser/content_autofill_driver.h virtual base::SequencedWorkerPool* GetBlockingPool() OVERRIDE; base 56 components/autofill/content/browser/content_autofill_driver.h const base::string16& value) OVERRIDE; base 58 components/autofill/content/browser/content_autofill_driver.h const base::string16& username) OVERRIDE; base 62 components/autofill/content/browser/content_autofill_driver.h const base::string16& value) OVERRIDE; base 64 components/autofill/content/browser/content_autofill_driver.h const base::string16& value) OVERRIDE; base 153 components/autofill/content/browser/content_autofill_driver_unittest.cc bool GetString16FromMessageWithID(uint32 messageID, base::string16* value) { base 158 components/autofill/content/browser/content_autofill_driver_unittest.cc Tuple1<base::string16> autofill_param; base 290 components/autofill/content/browser/content_autofill_driver_unittest.cc base::string16 input_value(base::ASCIIToUTF16("barfoo")); base 291 components/autofill/content/browser/content_autofill_driver_unittest.cc base::string16 output_value; base 299 components/autofill/content/browser/content_autofill_driver_unittest.cc base::string16 input_value(base::ASCIIToUTF16("barbaz")); base 300 components/autofill/content/browser/content_autofill_driver_unittest.cc base::string16 output_value; base 318 components/autofill/content/browser/content_autofill_driver_unittest.cc base::string16 input_value(base::ASCIIToUTF16("barqux")); base 319 components/autofill/content/browser/content_autofill_driver_unittest.cc base::string16 output_value; base 328 components/autofill/content/browser/content_autofill_driver_unittest.cc base::string16 input_value(base::ASCIIToUTF16("barqux")); base 329 components/autofill/content/browser/content_autofill_driver_unittest.cc base::string16 output_value; base 32 components/autofill/content/browser/request_autocomplete_manager.cc base::Callback<void(const FormStructure*)> callback = base 33 components/autofill/content/browser/request_autocomplete_manager.cc base::Bind(&RequestAutocompleteManager::ReturnAutocompleteData, base 75 components/autofill/content/browser/request_autocomplete_manager.cc const base::Callback<void(const FormStructure*)>& callback) { base 46 components/autofill/content/browser/request_autocomplete_manager.h const base::Callback<void(const FormStructure*)>& callback); base 57 components/autofill/content/browser/request_autocomplete_manager.h base::WeakPtrFactory<RequestAutocompleteManager> weak_ptr_factory_; base 51 components/autofill/content/browser/request_autocomplete_manager_unittest.cc const base::Callback<void(const FormStructure*)>& callback) OVERRIDE { base 60 components/autofill/content/browser/risk/fingerprint.cc base::TimeDelta GetTimezoneOffset() { base 61 components/autofill/content/browser/risk/fingerprint.cc const base::Time utc = base::Time::Now(); base 63 components/autofill/content/browser/risk/fingerprint.cc base::Time::Exploded local; base 66 components/autofill/content/browser/risk/fingerprint.cc return base::Time::FromUTCExploded(local) - utc; base 72 components/autofill/content/browser/risk/fingerprint.cc return base::SysInfo::OperatingSystemName() + " " + base 73 components/autofill/content/browser/risk/fingerprint.cc base::SysInfo::OperatingSystemVersion(); base 77 components/autofill/content/browser/risk/fingerprint.cc void AddFontsToFingerprint(const base::ListValue& fonts, base 79 components/autofill/content/browser/risk/fingerprint.cc for (base::ListValue::const_iterator it = fonts.begin(); base 83 components/autofill/content/browser/risk/fingerprint.cc const base::ListValue* font_description = NULL; base 102 components/autofill/content/browser/risk/fingerprint.cc plugin->set_name(base::UTF16ToUTF8(it->name)); base 103 components/autofill/content/browser/risk/fingerprint.cc plugin->set_description(base::UTF16ToUTF8(it->desc)); base 109 components/autofill/content/browser/risk/fingerprint.cc plugin->set_version(base::UTF16ToUTF8(it->version)); base 118 components/autofill/content/browser/risk/fingerprint.cc base::SplitString(accept_languages_str, ',', &accept_languages); base 157 components/autofill/content/browser/risk/fingerprint.cc base::CPU cpu; base 189 components/autofill/content/browser/risk/fingerprint.cc const base::TimeDelta& timeout, base 190 components/autofill/content/browser/risk/fingerprint.cc const base::Callback<void(const content::Geoposition&)>& callback); base 199 components/autofill/content/browser/risk/fingerprint.cc const base::Callback<void(const content::Geoposition&)> callback_; base 206 components/autofill/content/browser/risk/fingerprint.cc base::OneShotTimer<GeopositionLoader> timeout_timer_; base 210 components/autofill/content/browser/risk/fingerprint.cc const base::TimeDelta& timeout, base 211 components/autofill/content/browser/risk/fingerprint.cc const base::Callback<void(const content::Geoposition&)>& callback) base 214 components/autofill/content/browser/risk/fingerprint.cc base::Bind(&GeopositionLoader::OnGotGeoposition, base 215 components/autofill/content/browser/risk/fingerprint.cc base::Unretained(this), base 219 components/autofill/content/browser/risk/fingerprint.cc base::Bind(&GeopositionLoader::OnGotGeoposition, base::Unretained(this)); base 227 components/autofill/content/browser/risk/fingerprint.cc base::Bind(callback_, geoposition)); base 245 components/autofill/content/browser/risk/fingerprint.cc const base::TimeDelta& timeout, base 246 components/autofill/content/browser/risk/fingerprint.cc const base::Callback<void(const content::Geoposition&)>& callback) { base 263 components/autofill/content/browser/risk/fingerprint.cc const base::Time& install_time, base 266 components/autofill/content/browser/risk/fingerprint.cc const base::TimeDelta& timeout, base 267 components/autofill/content/browser/risk/fingerprint.cc const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); base 276 components/autofill/content/browser/risk/fingerprint.cc void OnGotFonts(scoped_ptr<base::ListValue> fonts); base 306 components/autofill/content/browser/risk/fingerprint.cc const base::Time install_time_; base 309 components/autofill/content/browser/risk/fingerprint.cc scoped_ptr<base::ListValue> fonts_; base 316 components/autofill/content/browser/risk/fingerprint.cc base::OneShotTimer<FingerprintDataLoader> timeout_timer_; base 320 components/autofill/content/browser/risk/fingerprint.cc base::WeakPtrFactory<FingerprintDataLoader> weak_ptr_factory_; base 323 components/autofill/content/browser/risk/fingerprint.cc base::Callback<void(scoped_ptr<Fingerprint>)> callback_; base 336 components/autofill/content/browser/risk/fingerprint.cc const base::Time& install_time, base 339 components/autofill/content/browser/risk/fingerprint.cc const base::TimeDelta& timeout, base 340 components/autofill/content/browser/risk/fingerprint.cc const base::Callback<void(scoped_ptr<Fingerprint>)>& callback) base 359 components/autofill/content/browser/risk/fingerprint.cc base::Bind(&FingerprintDataLoader::MaybeFillFingerprint, base 372 components/autofill/content/browser/risk/fingerprint.cc base::Bind(&FingerprintDataLoader::OnGotPlugins, base 380 components/autofill/content/browser/risk/fingerprint.cc base::Bind(&FingerprintDataLoader::OnGotFonts, base 386 components/autofill/content/browser/risk/fingerprint.cc base::Bind(&LoadGeoposition, base 388 components/autofill/content/browser/risk/fingerprint.cc base::Bind(&FingerprintDataLoader::OnGotGeoposition, base 400 components/autofill/content/browser/risk/fingerprint.cc void FingerprintDataLoader::OnGotFonts(scoped_ptr<base::ListValue> fonts) { base 448 components/autofill/content/browser/risk/fingerprint.cc (install_time_ - base::Time::UnixEpoch()).InHours()); base 453 components/autofill/content/browser/risk/fingerprint.cc machine->set_ram(base::SysInfo::AmountOfPhysicalMemory()); base 492 components/autofill/content/browser/risk/fingerprint.cc (geoposition_.timestamp - base::Time::UnixEpoch()).InMilliseconds()); base 497 components/autofill/content/browser/risk/fingerprint.cc (base::Time::Now() - base::Time::UnixEpoch()).InMilliseconds()); base 516 components/autofill/content/browser/risk/fingerprint.cc const base::Time& install_time, base 519 components/autofill/content/browser/risk/fingerprint.cc const base::TimeDelta& timeout, base 520 components/autofill/content/browser/risk/fingerprint.cc const base::Callback<void(scoped_ptr<Fingerprint>)>& callback) { base 538 components/autofill/content/browser/risk/fingerprint.cc const base::Time& install_time, base 541 components/autofill/content/browser/risk/fingerprint.cc const base::Callback<void(scoped_ptr<Fingerprint>)>& callback) { base 554 components/autofill/content/browser/risk/fingerprint.cc base::TimeDelta::FromSeconds(kTimeoutSeconds), callback); base 24 components/autofill/content/browser/risk/fingerprint.h namespace base { base 60 components/autofill/content/browser/risk/fingerprint.h const base::Time& install_time, base 63 components/autofill/content/browser/risk/fingerprint.h const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); base 38 components/autofill/content/browser/risk/fingerprint_browsertest.cc const base::Time& install_time, base 41 components/autofill/content/browser/risk/fingerprint_browsertest.cc const base::TimeDelta& timeout, base 42 components/autofill/content/browser/risk/fingerprint_browsertest.cc const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); base 177 components/autofill/content/browser/risk/fingerprint_browsertest.cc base::MessageLoopForUI message_loop_; base 188 components/autofill/content/browser/risk/fingerprint_browsertest.cc base::Time::UnixEpoch() + base 189 components/autofill/content/browser/risk/fingerprint_browsertest.cc base::TimeDelta::FromMilliseconds(kGeolocationTime); base 203 components/autofill/content/browser/risk/fingerprint_browsertest.cc "25.0.0.123", kCharset, kAcceptLanguages, base::Time::Now(), kLocale, base 205 components/autofill/content/browser/risk/fingerprint_browsertest.cc base::TimeDelta::FromDays(1), // Ought to be longer than any test run. base 206 components/autofill/content/browser/risk/fingerprint_browsertest.cc base::Bind(&AutofillRiskFingerprintTest::GetFingerprintTestCallback, base 207 components/autofill/content/browser/risk/fingerprint_browsertest.cc base::Unretained(this))); base 99 components/autofill/content/browser/wallet/form_field_error.cc base::string16 FormFieldError::GetErrorMessage() const { base 102 components/autofill/content/browser/wallet/form_field_error.cc return base::ASCIIToUTF16("Not a valid phone number"); base 105 components/autofill/content/browser/wallet/form_field_error.cc return base::ASCIIToUTF16("Not a valid zip code"); base 108 components/autofill/content/browser/wallet/form_field_error.cc return base::ASCIIToUTF16("Zip code is not valid for the entered city"); base 111 components/autofill/content/browser/wallet/form_field_error.cc return base::ASCIIToUTF16("Zip code is not valid for the entered state"); base 114 components/autofill/content/browser/wallet/form_field_error.cc return base::ASCIIToUTF16("Not a valid street address"); base 117 components/autofill/content/browser/wallet/form_field_error.cc return base::ASCIIToUTF16("Not a valid CVN"); base 120 components/autofill/content/browser/wallet/form_field_error.cc return base::ASCIIToUTF16("Not a valid CC#"); base 123 components/autofill/content/browser/wallet/form_field_error.cc return base::ASCIIToUTF16("Required field is missing"); base 126 components/autofill/content/browser/wallet/form_field_error.cc return base::ASCIIToUTF16("An unknown error occurred"); base 130 components/autofill/content/browser/wallet/form_field_error.cc return base::string16(); base 135 components/autofill/content/browser/wallet/form_field_error.cc const base::DictionaryValue& dictionary) { base 11 components/autofill/content/browser/wallet/form_field_error.h namespace base { base 67 components/autofill/content/browser/wallet/form_field_error.h base::string16 GetErrorMessage() const; base 71 components/autofill/content/browser/wallet/form_field_error.h const base::DictionaryValue& dictionary); base 47 components/autofill/content/browser/wallet/full_wallet.cc FullWallet::CreateFullWallet(const base::DictionaryValue& dictionary) { base 48 components/autofill/content/browser/wallet/full_wallet.cc const base::ListValue* required_actions_list; base 100 components/autofill/content/browser/wallet/full_wallet.cc const base::DictionaryValue* billing_address_dict; base 113 components/autofill/content/browser/wallet/full_wallet.cc const base::DictionaryValue* shipping_address_dict; base 157 components/autofill/content/browser/wallet/full_wallet.cc base::string16 FullWallet::GetInfo(const std::string& app_locale, base 161 components/autofill/content/browser/wallet/full_wallet.cc return base::ASCIIToUTF16(GetPan()); base 167 components/autofill/content/browser/wallet/full_wallet.cc return base::ASCIIToUTF16(GetCvn()); base 171 components/autofill/content/browser/wallet/full_wallet.cc return base::string16(); base 172 components/autofill/content/browser/wallet/full_wallet.cc return base::IntToString16(expiration_month()); base 176 components/autofill/content/browser/wallet/full_wallet.cc return base::string16(); base 177 components/autofill/content/browser/wallet/full_wallet.cc return base::IntToString16(expiration_year()); base 181 components/autofill/content/browser/wallet/full_wallet.cc return base::string16(); base 182 components/autofill/content/browser/wallet/full_wallet.cc return base::IntToString16(expiration_year() % 100); base 186 components/autofill/content/browser/wallet/full_wallet.cc return base::string16(); base 187 components/autofill/content/browser/wallet/full_wallet.cc return base::IntToString16(expiration_month()) + base::ASCIIToUTF16("/") + base 188 components/autofill/content/browser/wallet/full_wallet.cc base::IntToString16(expiration_year() % 100); base 192 components/autofill/content/browser/wallet/full_wallet.cc return base::string16(); base 193 components/autofill/content/browser/wallet/full_wallet.cc return base::IntToString16(expiration_month()) + base::ASCIIToUTF16("/") + base 194 components/autofill/content/browser/wallet/full_wallet.cc base::IntToString16(expiration_year()); base 198 components/autofill/content/browser/wallet/full_wallet.cc CreditCard::GetCreditCardType(base::ASCIIToUTF16(GetPan())); base 200 components/autofill/content/browser/wallet/full_wallet.cc return base::string16(); base 228 components/autofill/content/browser/wallet/full_wallet.cc base::string16 FullWallet::TypeAndLastFourDigits() { base 230 components/autofill/content/browser/wallet/full_wallet.cc card.SetRawInfo(CREDIT_CARD_NUMBER, base::ASCIIToUTF16(GetPan())); base 288 components/autofill/content/browser/wallet/full_wallet.cc if (!base::HexStringToBytes(encrypted_rest_, &operating_data)) { base 304 components/autofill/content/browser/wallet/full_wallet.cc std::string hex_decrypted = base::HexEncode(&(results[0]), results.size()); base 307 components/autofill/content/browser/wallet/full_wallet.cc if (!base::HexStringToInt64(hex_decrypted, &decrypted)) { base 311 components/autofill/content/browser/wallet/full_wallet.cc std::string card_info = base::Int64ToString(decrypted); base 18 components/autofill/content/browser/wallet/full_wallet.h namespace base { base 42 components/autofill/content/browser/wallet/full_wallet.h CreateFullWallet(const base::DictionaryValue& dictionary); base 55 components/autofill/content/browser/wallet/full_wallet.h base::string16 GetInfo(const std::string& app_locale, base 63 components/autofill/content/browser/wallet/full_wallet.h base::string16 TypeAndLastFourDigits(); base 18 components/autofill/content/browser/wallet/full_wallet_unittest.cc using base::ASCIIToUTF16; base 364 components/autofill/content/browser/wallet/full_wallet_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 366 components/autofill/content/browser/wallet/full_wallet_unittest.cc ASSERT_TRUE(value->IsType(base::Value::TYPE_DICTIONARY)); base 367 components/autofill/content/browser/wallet/full_wallet_unittest.cc dict.reset(static_cast<base::DictionaryValue*>(value.release())); base 369 components/autofill/content/browser/wallet/full_wallet_unittest.cc scoped_ptr<base::DictionaryValue> dict; base 460 components/autofill/content/browser/wallet/full_wallet_unittest.cc EXPECT_TRUE(base::HexStringToBytes("5F04A8704183", &one_time_pad)); base 479 components/autofill/content/browser/wallet/full_wallet_unittest.cc EXPECT_TRUE(base::HexStringToBytes("063AD35324BF", &one_time_pad)); base 511 components/autofill/content/browser/wallet/full_wallet_unittest.cc EXPECT_TRUE(base::HexStringToBytes("075DA779F98B", &one_time_pad)); base 18 components/autofill/content/browser/wallet/gaia_account.cc const base::DictionaryValue& dictionary) { base 12 components/autofill/content/browser/wallet/gaia_account.h namespace base { base 26 components/autofill/content/browser/wallet/gaia_account.h const base::DictionaryValue& dictionary); base 60 components/autofill/content/browser/wallet/instrument.cc const base::string16& card_verification_number, base 71 components/autofill/content/browser/wallet/instrument.cc Instrument::Instrument(const base::string16& primary_account_number, base 72 components/autofill/content/browser/wallet/instrument.cc const base::string16& card_verification_number, base 99 components/autofill/content/browser/wallet/instrument.cc scoped_ptr<base::DictionaryValue> Instrument::ToDictionary() const { base 104 components/autofill/content/browser/wallet/instrument.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 13 components/autofill/content/browser/wallet/instrument.h namespace base { base 42 components/autofill/content/browser/wallet/instrument.h const base::string16& card_verification_number, base 45 components/autofill/content/browser/wallet/instrument.h Instrument(const base::string16& primary_account_number, base 46 components/autofill/content/browser/wallet/instrument.h const base::string16& card_verification_number, base 56 components/autofill/content/browser/wallet/instrument.h scoped_ptr<base::DictionaryValue> ToDictionary() const; base 58 components/autofill/content/browser/wallet/instrument.h const base::string16& primary_account_number() const { base 61 components/autofill/content/browser/wallet/instrument.h const base::string16& card_verification_number() const { base 68 components/autofill/content/browser/wallet/instrument.h const base::string16& last_four_digits() const { return last_four_digits_; } base 75 components/autofill/content/browser/wallet/instrument.h base::string16 primary_account_number_; base 78 components/autofill/content/browser/wallet/instrument.h base::string16 card_verification_number_; base 93 components/autofill/content/browser/wallet/instrument.h base::string16 last_four_digits_; base 12 components/autofill/content/browser/wallet/instrument_unittest.cc using base::ASCIIToUTF16; base 37 components/autofill/content/browser/wallet/instrument_unittest.cc base::DictionaryValue expected; base 56 components/autofill/content/browser/wallet/instrument_unittest.cc base::ListValue* address_lines = new base::ListValue(); base 38 components/autofill/content/browser/wallet/required_action.cc base::TrimWhitespaceASCII(StringToLowerASCII(str), base::TRIM_ALL, base 26 components/autofill/content/browser/wallet/wallet_address.cc Address* CreateAddressInternal(const base::DictionaryValue& dictionary, base 35 components/autofill/content/browser/wallet/wallet_address.cc base::string16 recipient_name; base 42 components/autofill/content/browser/wallet/wallet_address.cc base::string16 postal_code_number; base 50 components/autofill/content/browser/wallet/wallet_address.cc base::string16 sorting_code; base 56 components/autofill/content/browser/wallet/wallet_address.cc base::string16 phone_number; base 60 components/autofill/content/browser/wallet/wallet_address.cc std::vector<base::string16> street_address; base 61 components/autofill/content/browser/wallet/wallet_address.cc const base::ListValue* address_line_list; base 64 components/autofill/content/browser/wallet/wallet_address.cc base::string16 line; base 72 components/autofill/content/browser/wallet/wallet_address.cc base::string16 locality_name; base 78 components/autofill/content/browser/wallet/wallet_address.cc base::string16 dependent_locality_name; base 84 components/autofill/content/browser/wallet/wallet_address.cc base::string16 administrative_area_name; base 116 components/autofill/content/browser/wallet/wallet_address.cc base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY))), base 126 components/autofill/content/browser/wallet/wallet_address.cc base::SplitString( base 134 components/autofill/content/browser/wallet/wallet_address.cc const base::string16& recipient_name, base 135 components/autofill/content/browser/wallet/wallet_address.cc const std::vector<base::string16>& street_address, base 136 components/autofill/content/browser/wallet/wallet_address.cc const base::string16& locality_name, base 137 components/autofill/content/browser/wallet/wallet_address.cc const base::string16& dependent_locality_name, base 138 components/autofill/content/browser/wallet/wallet_address.cc const base::string16& administrative_area_name, base 139 components/autofill/content/browser/wallet/wallet_address.cc const base::string16& postal_code_number, base 140 components/autofill/content/browser/wallet/wallet_address.cc const base::string16& sorting_code, base 141 components/autofill/content/browser/wallet/wallet_address.cc const base::string16& phone_number, base 160 components/autofill/content/browser/wallet/wallet_address.cc const base::DictionaryValue& dictionary) { base 171 components/autofill/content/browser/wallet/wallet_address.cc const base::DictionaryValue& dictionary) { base 179 components/autofill/content/browser/wallet/wallet_address.cc const base::DictionaryValue& dictionary) { base 186 components/autofill/content/browser/wallet/wallet_address.cc base::string16 name; base 192 components/autofill/content/browser/wallet/wallet_address.cc base::string16 postal_code; base 198 components/autofill/content/browser/wallet/wallet_address.cc base::string16 sorting_code; base 203 components/autofill/content/browser/wallet/wallet_address.cc std::vector<base::string16> street_address; base 204 components/autofill/content/browser/wallet/wallet_address.cc base::string16 address1; base 210 components/autofill/content/browser/wallet/wallet_address.cc base::string16 address2; base 218 components/autofill/content/browser/wallet/wallet_address.cc base::string16 city; base 222 components/autofill/content/browser/wallet/wallet_address.cc base::string16 dependent_locality_name; base 228 components/autofill/content/browser/wallet/wallet_address.cc base::string16 state; base 232 components/autofill/content/browser/wallet/wallet_address.cc base::string16 phone_number; base 256 components/autofill/content/browser/wallet/wallet_address.cc scoped_ptr<base::DictionaryValue> Address::ToDictionaryWithID() const { base 257 components/autofill/content/browser/wallet/wallet_address.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 267 components/autofill/content/browser/wallet/wallet_address.cc scoped_ptr<base::DictionaryValue> Address::ToDictionaryWithoutID() const { base 268 components/autofill/content/browser/wallet/wallet_address.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 270 components/autofill/content/browser/wallet/wallet_address.cc scoped_ptr<base::ListValue> address_lines(new base::ListValue()); base 286 components/autofill/content/browser/wallet/wallet_address.cc base::string16 Address::DisplayName() const { base 292 components/autofill/content/browser/wallet/wallet_address.cc return recipient_name() + base::ASCIIToUTF16(", ") + GetStreetAddressLine(0); base 296 components/autofill/content/browser/wallet/wallet_address.cc base::string16 Address::DisplayNameDetail() const { base 301 components/autofill/content/browser/wallet/wallet_address.cc return base::string16(); base 305 components/autofill/content/browser/wallet/wallet_address.cc base::string16 Address::DisplayPhoneNumber() const { base 314 components/autofill/content/browser/wallet/wallet_address.cc base::string16 Address::GetInfo(const AutofillType& type, base 318 components/autofill/content/browser/wallet/wallet_address.cc return base::ASCIIToUTF16(country_name_code()); base 326 components/autofill/content/browser/wallet/wallet_address.cc return JoinString(street_address_, base::ASCIIToUTF16("\n")); base 361 components/autofill/content/browser/wallet/wallet_address.cc return base::string16(); base 365 components/autofill/content/browser/wallet/wallet_address.cc return base::string16(); base 369 components/autofill/content/browser/wallet/wallet_address.cc void Address::SetPhoneNumber(const base::string16& phone_number) { base 387 components/autofill/content/browser/wallet/wallet_address.cc base::string16 Address::GetStreetAddressLine(size_t line) const { base 389 components/autofill/content/browser/wallet/wallet_address.cc base::string16(); base 15 components/autofill/content/browser/wallet/wallet_address.h namespace base { base 47 components/autofill/content/browser/wallet/wallet_address.h const base::string16& recipient_name, base 48 components/autofill/content/browser/wallet/wallet_address.h const std::vector<base::string16>& street_address, base 49 components/autofill/content/browser/wallet/wallet_address.h const base::string16& locality_name, base 50 components/autofill/content/browser/wallet/wallet_address.h const base::string16& dependent_locality_name, base 51 components/autofill/content/browser/wallet/wallet_address.h const base::string16& administrative_area_name, base 52 components/autofill/content/browser/wallet/wallet_address.h const base::string16& postal_code_number, base 53 components/autofill/content/browser/wallet/wallet_address.h const base::string16& sorting_code, base 54 components/autofill/content/browser/wallet/wallet_address.h const base::string16& phone_number, base 63 components/autofill/content/browser/wallet/wallet_address.h const base::DictionaryValue& dictionary); base 71 components/autofill/content/browser/wallet/wallet_address.h const base::DictionaryValue& dictionary); base 76 components/autofill/content/browser/wallet/wallet_address.h const base::DictionaryValue& dictionary); base 81 components/autofill/content/browser/wallet/wallet_address.h scoped_ptr<base::DictionaryValue> ToDictionaryWithID() const; base 85 components/autofill/content/browser/wallet/wallet_address.h scoped_ptr<base::DictionaryValue> ToDictionaryWithoutID() const; base 89 components/autofill/content/browser/wallet/wallet_address.h base::string16 DisplayName() const; base 93 components/autofill/content/browser/wallet/wallet_address.h base::string16 DisplayNameDetail() const; base 97 components/autofill/content/browser/wallet/wallet_address.h base::string16 DisplayPhoneNumber() const; base 100 components/autofill/content/browser/wallet/wallet_address.h base::string16 GetInfo(const AutofillType& type, base 104 components/autofill/content/browser/wallet/wallet_address.h const base::string16& recipient_name() const { return recipient_name_; } base 105 components/autofill/content/browser/wallet/wallet_address.h const std::vector<base::string16>& street_address() const { base 108 components/autofill/content/browser/wallet/wallet_address.h const base::string16& locality_name() const { return locality_name_; } base 109 components/autofill/content/browser/wallet/wallet_address.h const base::string16& administrative_area_name() const { base 112 components/autofill/content/browser/wallet/wallet_address.h const base::string16& postal_code_number() const { base 115 components/autofill/content/browser/wallet/wallet_address.h const base::string16& phone_number() const { return phone_number_; } base 124 components/autofill/content/browser/wallet/wallet_address.h void set_recipient_name(const base::string16& recipient_name) { base 127 components/autofill/content/browser/wallet/wallet_address.h void set_street_address(const std::vector<base::string16>& street_address) { base 130 components/autofill/content/browser/wallet/wallet_address.h void set_locality_name(const base::string16& locality_name) { base 134 components/autofill/content/browser/wallet/wallet_address.h const base::string16& dependent_locality_name) { base 138 components/autofill/content/browser/wallet/wallet_address.h const base::string16& administrative_area_name) { base 141 components/autofill/content/browser/wallet/wallet_address.h void set_postal_code_number(const base::string16& postal_code_number) { base 144 components/autofill/content/browser/wallet/wallet_address.h void set_sorting_code(const base::string16& sorting_code) { base 147 components/autofill/content/browser/wallet/wallet_address.h void SetPhoneNumber(const base::string16& phone_number); base 164 components/autofill/content/browser/wallet/wallet_address.h base::string16 GetStreetAddressLine(size_t line) const; base 171 components/autofill/content/browser/wallet/wallet_address.h base::string16 recipient_name_; base 174 components/autofill/content/browser/wallet/wallet_address.h std::vector<base::string16> street_address_; base 179 components/autofill/content/browser/wallet/wallet_address.h base::string16 locality_name_; base 183 components/autofill/content/browser/wallet/wallet_address.h base::string16 dependent_locality_name_; base 188 components/autofill/content/browser/wallet/wallet_address.h base::string16 administrative_area_name_; base 192 components/autofill/content/browser/wallet/wallet_address.h base::string16 postal_code_number_; base 195 components/autofill/content/browser/wallet/wallet_address.h base::string16 sorting_code_; base 200 components/autofill/content/browser/wallet/wallet_address.h base::string16 phone_number_; base 16 components/autofill/content/browser/wallet/wallet_address_unittest.cc using base::ASCIIToUTF16; base 182 components/autofill/content/browser/wallet/wallet_address_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 184 components/autofill/content/browser/wallet/wallet_address_unittest.cc DCHECK(value->IsType(base::Value::TYPE_DICTIONARY)); base 185 components/autofill/content/browser/wallet/wallet_address_unittest.cc dict_.reset(static_cast<base::DictionaryValue*>(value.release())); base 188 components/autofill/content/browser/wallet/wallet_address_unittest.cc scoped_ptr<const base::DictionaryValue> dict_; base 346 components/autofill/content/browser/wallet/wallet_address_unittest.cc base::DictionaryValue expected; base 361 components/autofill/content/browser/wallet/wallet_address_unittest.cc base::ListValue* address_lines = new base::ListValue(); base 379 components/autofill/content/browser/wallet/wallet_address_unittest.cc base::DictionaryValue expected; base 396 components/autofill/content/browser/wallet/wallet_address_unittest.cc base::ListValue* address_lines = new base::ListValue(); base 442 components/autofill/content/browser/wallet/wallet_address_unittest.cc std::vector<base::string16> street_address = StreetAddress( base 485 components/autofill/content/browser/wallet/wallet_address_unittest.cc EXPECT_EQ(base::string16(), address3.GetInfo(type, "en-US")); base 68 components/autofill/content/browser/wallet/wallet_client.cc base::TrimWhitespaceASCII(error_type, base::TRIM_ALL, &trimmed); base 93 components/autofill/content/browser/wallet/wallet_client.cc base::TrimWhitespaceASCII(message_type_for_buyer, base::TRIM_ALL, &trimmed); base 105 components/autofill/content/browser/wallet/wallet_client.cc const base::DictionaryValue& dict, base 107 components/autofill/content/browser/wallet/wallet_client.cc const base::ListValue* required_action_list; base 126 components/autofill/content/browser/wallet/wallet_client.cc void GetFormFieldErrors(const base::DictionaryValue& dict, base 129 components/autofill/content/browser/wallet/wallet_client.cc const base::ListValue* form_errors_list; base 134 components/autofill/content/browser/wallet/wallet_client.cc const base::DictionaryValue* dictionary; base 286 components/autofill/content/browser/wallet/wallet_client.cc base::DictionaryValue request_dict; base 292 components/autofill/content/browser/wallet/wallet_client.cc base::JSONWriter::Write(&request_dict, &json_payload); base 297 components/autofill/content/browser/wallet/wallet_client.cc std::string post_body = base::StringPrintf( base 309 components/autofill/content/browser/wallet/wallet_client.cc base::DictionaryValue request_dict; base 326 components/autofill/content/browser/wallet/wallet_client.cc scoped_ptr<base::ListValue> risk_capabilities_list(new base::ListValue()); base 336 components/autofill/content/browser/wallet/wallet_client.cc base::JSONWriter::Write(&request_dict, &json_payload); base 344 components/autofill/content/browser/wallet/wallet_client.cc std::string post_body = base::StringPrintf( base 347 components/autofill/content/browser/wallet/wallet_client.cc base::HexEncode(&num_bits, 1).c_str(), base 348 components/autofill/content/browser/wallet/wallet_client.cc base::HexEncode(&(one_time_pad_[0]), one_time_pad_.size()).c_str()); base 363 components/autofill/content/browser/wallet/wallet_client.cc base::DictionaryValue request_dict; base 375 components/autofill/content/browser/wallet/wallet_client.cc base::UTF16ToUTF8(instrument->primary_account_number()), true); base 377 components/autofill/content/browser/wallet/wallet_client.cc base::UTF16ToUTF8(instrument->card_verification_number()), true); base 428 components/autofill/content/browser/wallet/wallet_client.cc base::JSONWriter::Write(&request_dict, &json_payload); base 433 components/autofill/content/browser/wallet/wallet_client.cc post_body = base::StringPrintf( base 439 components/autofill/content/browser/wallet/wallet_client.cc post_body = base::StringPrintf( base 457 components/autofill/content/browser/wallet/wallet_client.cc base::DictionaryValue request_dict; base 467 components/autofill/content/browser/wallet/wallet_client.cc base::JSONWriter::Write(&request_dict, &post_body); base 492 components/autofill/content/browser/wallet/wallet_client.cc base::DictionaryValue request_dict; base 497 components/autofill/content/browser/wallet/wallet_client.cc scoped_ptr<base::ListValue> docs_list(new base::ListValue()); base 506 components/autofill/content/browser/wallet/wallet_client.cc base::JSONWriter::Write(&request_dict, &post_body); base 530 components/autofill/content/browser/wallet/wallet_client.cc request_started_timestamp_ = base::Time::Now(); base 544 components/autofill/content/browser/wallet/wallet_client.cc base::Time::Now() - request_started_timestamp_); base 557 components/autofill/content/browser/wallet/wallet_client.cc scoped_ptr<base::DictionaryValue> response_dict; base 573 components/autofill/content/browser/wallet/wallet_client.cc scoped_ptr<base::Value> message_value(base::JSONReader::Read(data)); base 575 components/autofill/content/browser/wallet/wallet_client.cc message_value->IsType(base::Value::TYPE_DICTIONARY)) { base 577 components/autofill/content/browser/wallet/wallet_client.cc static_cast<base::DictionaryValue*>(message_value.release())); base 631 components/autofill/content/browser/wallet/wallet_client.cc base::TrimWhitespaceASCII(auth_result, base::TRIM_ALL, &trimmed); base 259 components/autofill/content/browser/wallet/wallet_client.h base::Time request_started_timestamp_; base 261 components/autofill/content/browser/wallet/wallet_client.h base::WeakPtrFactory<WalletClient> weak_ptr_factory_; base 598 components/autofill/content/browser/wallet/wallet_client_unittest.cc const base::TimeDelta& duration)); base 708 components/autofill/content/browser/wallet/wallet_client_unittest.cc base::MessageLoopProxy::current())) {} base 744 components/autofill/content/browser/wallet/wallet_client_unittest.cc base::RunLoop().RunUntilIdle(); base 764 components/autofill/content/browser/wallet/wallet_client_unittest.cc base::SplitStringIntoKeyValuePairs(upload_data, '=', '&', &tokens); base 846 components/autofill/content/browser/wallet/wallet_client_unittest.cc buyer_error = base::StringPrintf("\"message_type_for_buyer\":\"%s\",", base 849 components/autofill/content/browser/wallet/wallet_client_unittest.cc std::string response = base::StringPrintf(kResponseTemplate, base 865 components/autofill/content/browser/wallet/wallet_client_unittest.cc scoped_ptr<base::Value> root(base::JSONReader::Read(upload_data)); base 868 components/autofill/content/browser/wallet/wallet_client_unittest.cc if (!root || !root->IsType(base::Value::TYPE_DICTIONARY)) base 872 components/autofill/content/browser/wallet/wallet_client_unittest.cc base::DictionaryValue* dict = base 873 components/autofill/content/browser/wallet/wallet_client_unittest.cc static_cast<base::DictionaryValue*>(root.get()); base 876 components/autofill/content/browser/wallet/wallet_client_unittest.cc base::JSONWriter::Write(dict, &clean_upload_data); base 968 components/autofill/content/browser/wallet/wallet_client_unittest.cc base::StringPrintf( base 1111 components/autofill/content/browser/wallet/wallet_client_unittest.cc base::DictionaryValue document; base 86 components/autofill/content/browser/wallet/wallet_items.cc base::string16 DisplayStringFromType(WalletItems::MaskedInstrument::Type type) { base 104 components/autofill/content/browser/wallet/wallet_items.cc const base::string16& descriptive_name, base 106 components/autofill/content/browser/wallet/wallet_items.cc const base::string16& last_four_digits, base 127 components/autofill/content/browser/wallet/wallet_items.cc const base::DictionaryValue& dictionary) { base 137 components/autofill/content/browser/wallet/wallet_items.cc base::string16 last_four_digits; base 158 components/autofill/content/browser/wallet/wallet_items.cc const base::DictionaryValue* address_dict; base 178 components/autofill/content/browser/wallet/wallet_items.cc base::string16 descriptive_name; base 246 components/autofill/content/browser/wallet/wallet_items.cc bool WalletItems::SupportsCard(const base::string16& card_number, base 247 components/autofill/content/browser/wallet/wallet_items.cc base::string16* message) const { base 277 components/autofill/content/browser/wallet/wallet_items.cc base::string16 WalletItems::MaskedInstrument::DisplayName() const { base 286 components/autofill/content/browser/wallet/wallet_items.cc base::string16 WalletItems::MaskedInstrument::DisplayNameDetail() const { base 291 components/autofill/content/browser/wallet/wallet_items.cc return base::string16(); base 295 components/autofill/content/browser/wallet/wallet_items.cc base::string16 WalletItems::MaskedInstrument::TypeAndLastFourDigits() const { base 297 components/autofill/content/browser/wallet/wallet_items.cc return DisplayStringFromType(type_) + base::ASCIIToUTF16(" - ") + base 331 components/autofill/content/browser/wallet/wallet_items.cc base::string16 WalletItems::MaskedInstrument::GetInfo( base 345 components/autofill/content/browser/wallet/wallet_items.cc return base::IntToString16(expiration_year()); base 357 components/autofill/content/browser/wallet/wallet_items.cc return base::string16(); base 364 components/autofill/content/browser/wallet/wallet_items.cc const base::DictionaryValue& dictionary) { base 371 components/autofill/content/browser/wallet/wallet_items.cc base::string16 display_name; base 398 components/autofill/content/browser/wallet/wallet_items.cc const base::string16& display_name) base 404 components/autofill/content/browser/wallet/wallet_items.cc const base::string16& display_name) base 423 components/autofill/content/browser/wallet/wallet_items.cc WalletItems::CreateWalletItems(const base::DictionaryValue& dictionary) { base 425 components/autofill/content/browser/wallet/wallet_items.cc const base::ListValue* required_action_list; base 472 components/autofill/content/browser/wallet/wallet_items.cc const base::ListValue* gaia_profiles; base 475 components/autofill/content/browser/wallet/wallet_items.cc const base::DictionaryValue* account_dict; base 489 components/autofill/content/browser/wallet/wallet_items.cc const base::ListValue* legal_docs; base 492 components/autofill/content/browser/wallet/wallet_items.cc const base::DictionaryValue* legal_doc_dict; base 512 components/autofill/content/browser/wallet/wallet_items.cc const base::ListValue* instruments; base 515 components/autofill/content/browser/wallet/wallet_items.cc const base::DictionaryValue* instrument_dict; base 527 components/autofill/content/browser/wallet/wallet_items.cc const base::ListValue* addresses; base 530 components/autofill/content/browser/wallet/wallet_items.cc const base::DictionaryValue* address_dict; base 21 components/autofill/content/browser/wallet/wallet_items.h namespace base { base 85 components/autofill/content/browser/wallet/wallet_items.h CreateMaskedInstrument(const base::DictionaryValue& dictionary); base 95 components/autofill/content/browser/wallet/wallet_items.h base::string16 DisplayName() const; base 96 components/autofill/content/browser/wallet/wallet_items.h base::string16 DisplayNameDetail() const; base 99 components/autofill/content/browser/wallet/wallet_items.h base::string16 GetInfo(const AutofillType& type, base 103 components/autofill/content/browser/wallet/wallet_items.h base::string16 TypeAndLastFourDigits() const; base 105 components/autofill/content/browser/wallet/wallet_items.h const base::string16& descriptive_name() const { return descriptive_name_; } base 107 components/autofill/content/browser/wallet/wallet_items.h const base::string16& last_four_digits() const { return last_four_digits_; } base 128 components/autofill/content/browser/wallet/wallet_items.h MaskedInstrument(const base::string16& descriptive_name, base 130 components/autofill/content/browser/wallet/wallet_items.h const base::string16& last_four_digits, base 139 components/autofill/content/browser/wallet/wallet_items.h base::string16 descriptive_name_; base 145 components/autofill/content/browser/wallet/wallet_items.h base::string16 last_four_digits_; base 173 components/autofill/content/browser/wallet/wallet_items.h CreateLegalDocument(const base::DictionaryValue& dictionary); base 184 components/autofill/content/browser/wallet/wallet_items.h const base::string16& display_name() const { return display_name_; } base 193 components/autofill/content/browser/wallet/wallet_items.h const base::string16& display_name); base 195 components/autofill/content/browser/wallet/wallet_items.h const base::string16& display_name); base 203 components/autofill/content/browser/wallet/wallet_items.h base::string16 display_name_; base 213 components/autofill/content/browser/wallet/wallet_items.h CreateWalletItems(const base::DictionaryValue& dictionary); base 241 components/autofill/content/browser/wallet/wallet_items.h bool SupportsCard(const base::string16& card_number, base 242 components/autofill/content/browser/wallet/wallet_items.h base::string16* message) const; base 17 components/autofill/content/browser/wallet/wallet_items_unittest.cc using base::ASCIIToUTF16; base 377 components/autofill/content/browser/wallet/wallet_items_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 379 components/autofill/content/browser/wallet/wallet_items_unittest.cc ASSERT_TRUE(value->IsType(base::Value::TYPE_DICTIONARY)); base 380 components/autofill/content/browser/wallet/wallet_items_unittest.cc dict.reset(static_cast<base::DictionaryValue*>(value.release())); base 382 components/autofill/content/browser/wallet/wallet_items_unittest.cc scoped_ptr<base::DictionaryValue> dict; base 519 components/autofill/content/browser/wallet/wallet_items_unittest.cc base::string16 amex_number = ASCIIToUTF16("378282246310005"); base 520 components/autofill/content/browser/wallet/wallet_items_unittest.cc base::string16 message; base 71 components/autofill/content/browser/wallet/wallet_service_url.cc std::string path = base::StringPrintf("online/v2/u/%" PRIuS "/", user_index); base 96 components/autofill/content/browser/wallet/wallet_service_url.cc base::StringPrintf("online-secure/v2/u/%" PRIuS "/autocheckout/v1/", base 116 components/autofill/content/browser/wallet/wallet_service_url.cc base::StringPrintf("manage/w/%" PRIuS "/paymentMethods", user_index); base 122 components/autofill/content/browser/wallet/wallet_service_url.cc base::StringPrintf("manage/w/%" PRIuS "/settings/addresses", user_index); base 190 components/autofill/content/browser/wallet/wallet_service_url.cc base::StringToSizeT(query_str.substr(value.begin, value.len), user_index); base 201 components/autofill/content/browser/wallet/wallet_service_url.cc StartsWith(base::UTF8ToUTF16(url.GetOrigin().host()), base 202 components/autofill/content/browser/wallet/wallet_service_url.cc base::ASCIIToUTF16("accounts."), base 39 components/autofill/content/browser/wallet/wallet_signin_helper.cc const base::Callback<void(const std::string&)>& callback, base 56 components/autofill/content/browser/wallet/wallet_signin_helper.cc base::Bind(callback, wallet_cookie)); base 64 components/autofill/content/browser/wallet/wallet_signin_helper.cc const base::Callback<void(const std::string&)>& callback) { base 76 components/autofill/content/browser/wallet/wallet_signin_helper.cc base::Bind(callback, std::string())); base 85 components/autofill/content/browser/wallet/wallet_signin_helper.cc base::Bind(&GetGoogleCookiesCallback, callback)); base 119 components/autofill/content/browser/wallet/wallet_signin_helper.cc base::Callback<void(const std::string&)> callback = base::Bind( base 123 components/autofill/content/browser/wallet/wallet_signin_helper.cc base::Closure task = base::Bind(&GetGoogleCookies, request_context, callback); base 75 components/autofill/content/browser/wallet/wallet_signin_helper.h base::WeakPtrFactory<WalletSigninHelper> weak_ptr_factory_; base 54 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc base::MessageLoopProxy::current())) {} base 142 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc base::Time::Now(), base 151 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 164 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc base::Time::Now(), base 173 components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 20 components/autofill/content/browser/wallet/wallet_test_util.cc using base::ASCIIToUTF16; base 76 components/autofill/content/browser/wallet/wallet_test_util.cc std::vector<base::string16> StreetAddress(const std::string& line1, base 78 components/autofill/content/browser/wallet/wallet_test_util.cc std::vector<base::string16> street_address; base 118 components/autofill/content/browser/wallet/wallet_test_util.cc base::HexStringToBytes("5F04A8704183", &one_time_pad); base 132 components/autofill/content/browser/wallet/wallet_test_util.cc base::HexStringToBytes("5F04A8704183", &one_time_pad); base 147 components/autofill/content/browser/wallet/wallet_test_util.cc return make_scoped_ptr(new Instrument(base::string16(), base 148 components/autofill/content/browser/wallet/wallet_test_util.cc base::string16(), base 156 components/autofill/content/browser/wallet/wallet_test_util.cc return make_scoped_ptr(new Instrument(base::string16(), base 165 components/autofill/content/browser/wallet/wallet_test_util.cc return make_scoped_ptr(new Instrument(base::string16(), base 174 components/autofill/content/browser/wallet/wallet_test_util.cc base::DictionaryValue dict; base 22 components/autofill/content/browser/wallet/wallet_test_util.h std::vector<base::string16> StreetAddress(const std::string& line1, base 30 components/autofill/content/common/autofill_messages.h IPC_ENUM_TRAITS_MAX_VALUE(base::i18n::TextDirection, base 31 components/autofill/content/common/autofill_messages.h base::i18n::TEXT_DIRECTION_NUM_DIRECTIONS - 1) base 126 components/autofill/content/common/autofill_messages.h base::string16 /* value */) base 130 components/autofill/content/common/autofill_messages.h base::string16 /* value */) base 134 components/autofill/content/common/autofill_messages.h base::string16 /* accepted data list value */) base 139 components/autofill/content/common/autofill_messages.h base::string16 /* generated_password */) base 143 components/autofill/content/common/autofill_messages.h base::string16 /* username value*/) base 171 components/autofill/content/common/autofill_messages.h base::TimeTicks /* timestamp */, base 191 components/autofill/content/common/autofill_messages.h base::TimeTicks /* timestamp */) base 197 components/autofill/content/common/autofill_messages.h base::TimeTicks /* timestamp */) base 212 components/autofill/content/common/autofill_messages.h base::TimeTicks /* timestamp */) base 257 components/autofill/content/common/autofill_messages.h std::vector<base::string16> /* suggestions */, base 258 components/autofill/content/common/autofill_messages.h std::vector<base::string16> /* realms */) base 262 components/autofill/content/common/autofill_messages.h std::vector<base::string16> /* values */, base 263 components/autofill/content/common/autofill_messages.h std::vector<base::string16> /* labels */) base 71 components/autofill/content/renderer/autofill_agent.cc std::vector<base::string16>* values, base 72 components/autofill/content/renderer/autofill_agent.cc std::vector<base::string16>* labels) { base 77 components/autofill/content/renderer/autofill_agent.cc base::string16 prefix; base 82 components/autofill/content/renderer/autofill_agent.cc std::vector<base::string16> parts; base 83 components/autofill/content/renderer/autofill_agent.cc base::SplitStringDontTrim(prefix, ',', &parts); base 85 components/autofill/content/renderer/autofill_agent.cc base::TrimWhitespace(parts[parts.size() - 1], base::TRIM_LEADING, base 101 components/autofill/content/renderer/autofill_agent.cc labels->push_back(base::string16()); base 107 components/autofill/content/renderer/autofill_agent.cc void TrimStringVectorForIPC(std::vector<base::string16>* strings) { base 172 components/autofill/content/renderer/autofill_agent.cc forms_seen_timestamp_ = base::TimeTicks::Now(); base 225 components/autofill/content/renderer/autofill_agent.cc base::TimeTicks::Now())); base 337 components/autofill/content/renderer/autofill_agent.cc base::MessageLoop::current()->PostTask( base 339 components/autofill/content/renderer/autofill_agent.cc base::Bind(&AutofillAgent::TextFieldDidChangeImpl, base 373 components/autofill/content/renderer/autofill_agent.cc base::TimeTicks::Now())); base 394 components/autofill/content/renderer/autofill_agent.cc const base::string16& suggested_value) { base 397 components/autofill/content/renderer/autofill_agent.cc base::string16 new_value = suggested_value; base 402 components/autofill/content/renderer/autofill_agent.cc std::vector<base::string16> parts; base 404 components/autofill/content/renderer/autofill_agent.cc base::SplitStringDontTrim(input_element->editingValue(), ',', &parts); base 406 components/autofill/content/renderer/autofill_agent.cc parts.push_back(base::string16()); base 408 components/autofill/content/renderer/autofill_agent.cc base::string16 last_part = parts.back(); base 438 components/autofill/content/renderer/autofill_agent.cc base::TimeTicks::Now())); base 470 components/autofill/content/renderer/autofill_agent.cc void AutofillAgent::OnFillFieldWithValue(const base::string16& value) { base 476 components/autofill/content/renderer/autofill_agent.cc void AutofillAgent::OnPreviewFieldWithValue(const base::string16& value) { base 482 components/autofill/content/renderer/autofill_agent.cc void AutofillAgent::OnAcceptDataListSuggestion(const base::string16& value) { base 487 components/autofill/content/renderer/autofill_agent.cc const base::string16& username) { base 559 components/autofill/content/renderer/autofill_agent.cc const base::string16 autocomplete_attribute = base 607 components/autofill/content/renderer/autofill_agent.cc std::vector<base::string16> data_list_values; base 608 components/autofill/content/renderer/autofill_agent.cc std::vector<base::string16> data_list_labels; base 630 components/autofill/content/renderer/autofill_agent.cc void AutofillAgent::FillFieldWithValue(const base::string16& value, base 637 components/autofill/content/renderer/autofill_agent.cc void AutofillAgent::PreviewFieldWithValue(const base::string16& value, base 101 components/autofill/content/renderer/autofill_agent.h void OnFillFieldWithValue(const base::string16& value); base 102 components/autofill/content/renderer/autofill_agent.h void OnPreviewFieldWithValue(const base::string16& value); base 103 components/autofill/content/renderer/autofill_agent.h void OnAcceptDataListSuggestion(const base::string16& value); base 104 components/autofill/content/renderer/autofill_agent.h void OnAcceptPasswordAutofillSuggestion(const base::string16& username); base 146 components/autofill/content/renderer/autofill_agent.h void AcceptDataListSuggestion(const base::string16& suggested_value); base 156 components/autofill/content/renderer/autofill_agent.h void FillFieldWithValue(const base::string16& value, base 162 components/autofill/content/renderer/autofill_agent.h void PreviewFieldWithValue(const base::string16& value, base 217 components/autofill/content/renderer/autofill_agent.h base::TimeTicks forms_seen_timestamp_; base 219 components/autofill/content/renderer/autofill_agent.h base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; base 113 components/autofill/content/renderer/form_autofill_util.cc const base::string16 CombineAndCollapseWhitespace( base 114 components/autofill/content/renderer/form_autofill_util.cc const base::string16& prefix, base 115 components/autofill/content/renderer/form_autofill_util.cc const base::string16& suffix, base 117 components/autofill/content/renderer/form_autofill_util.cc base::string16 prefix_trimmed; base 118 components/autofill/content/renderer/form_autofill_util.cc base::TrimPositions prefix_trailing_whitespace = base 119 components/autofill/content/renderer/form_autofill_util.cc base::TrimWhitespace(prefix, base::TRIM_TRAILING, &prefix_trimmed); base 122 components/autofill/content/renderer/form_autofill_util.cc base::string16 suffix_trimmed; base 123 components/autofill/content/renderer/form_autofill_util.cc base::TrimPositions suffix_leading_whitespace = base 124 components/autofill/content/renderer/form_autofill_util.cc base::TrimWhitespace(suffix, base::TRIM_LEADING, &suffix_trimmed); base 128 components/autofill/content/renderer/form_autofill_util.cc return prefix_trimmed + base::ASCIIToUTF16(" ") + suffix_trimmed; base 136 components/autofill/content/renderer/form_autofill_util.cc base::string16 FindChildTextInner(const WebNode& node, int depth) { base 138 components/autofill/content/renderer/form_autofill_util.cc return base::string16(); base 146 components/autofill/content/renderer/form_autofill_util.cc return base::string16(); base 156 components/autofill/content/renderer/form_autofill_util.cc return base::string16(); base 161 components/autofill/content/renderer/form_autofill_util.cc base::string16 node_text = node.nodeValue(); base 165 components/autofill/content/renderer/form_autofill_util.cc base::string16 child_text = FindChildTextInner(node.firstChild(), depth - 1); base 171 components/autofill/content/renderer/form_autofill_util.cc base::string16 sibling_text = base 185 components/autofill/content/renderer/form_autofill_util.cc base::string16 FindChildText(const WebNode& node) { base 192 components/autofill/content/renderer/form_autofill_util.cc base::string16 node_text = FindChildTextInner(child, kChildSearchDepth); base 193 components/autofill/content/renderer/form_autofill_util.cc base::TrimWhitespace(node_text, base::TRIM_ALL, &node_text); base 205 components/autofill/content/renderer/form_autofill_util.cc base::string16 InferLabelFromPrevious(const WebFormControlElement& element) { base 206 components/autofill/content/renderer/form_autofill_util.cc base::string16 inferred_label; base 234 components/autofill/content/renderer/form_autofill_util.cc base::string16 value = FindChildText(previous); base 244 components/autofill/content/renderer/form_autofill_util.cc base::string16 trimmed_label; base 245 components/autofill/content/renderer/form_autofill_util.cc base::TrimWhitespace(inferred_label, base::TRIM_ALL, &trimmed_label); base 265 components/autofill/content/renderer/form_autofill_util.cc base::TrimWhitespace(inferred_label, base::TRIM_ALL, &inferred_label); base 272 components/autofill/content/renderer/form_autofill_util.cc base::string16 InferLabelFromListItem(const WebFormControlElement& element) { base 283 components/autofill/content/renderer/form_autofill_util.cc return base::string16(); base 292 components/autofill/content/renderer/form_autofill_util.cc base::string16 InferLabelFromTableColumn(const WebFormControlElement& element) { base 301 components/autofill/content/renderer/form_autofill_util.cc return base::string16(); base 305 components/autofill/content/renderer/form_autofill_util.cc base::string16 inferred_label; base 321 components/autofill/content/renderer/form_autofill_util.cc base::string16 InferLabelFromTableRow(const WebFormControlElement& element) { base 330 components/autofill/content/renderer/form_autofill_util.cc return base::string16(); base 334 components/autofill/content/renderer/form_autofill_util.cc base::string16 inferred_label; base 350 components/autofill/content/renderer/form_autofill_util.cc base::string16 InferLabelFromDivTable(const WebFormControlElement& element) { base 355 components/autofill/content/renderer/form_autofill_util.cc base::string16 inferred_label; base 387 components/autofill/content/renderer/form_autofill_util.cc base::string16 InferLabelFromDefinitionList( base 396 components/autofill/content/renderer/form_autofill_util.cc return base::string16(); base 405 components/autofill/content/renderer/form_autofill_util.cc return base::string16(); base 412 components/autofill/content/renderer/form_autofill_util.cc base::string16 InferLabelForElement(const WebFormControlElement& element) { base 413 components/autofill/content/renderer/form_autofill_util.cc base::string16 inferred_label = InferLabelFromPrevious(element); base 444 components/autofill/content/renderer/form_autofill_util.cc std::vector<base::string16>* option_values, base 445 components/autofill/content/renderer/form_autofill_util.cc std::vector<base::string16>* option_contents) { base 494 components/autofill/content/renderer/form_autofill_util.cc if (base::string16(element->nameForAutofill()) != data.fields[i].name) { base 539 components/autofill/content/renderer/form_autofill_util.cc base::string16 value = data.value; base 665 components/autofill/content/renderer/form_autofill_util.cc const base::string16 GetFormIdentifier(const WebFormElement& form) { base 666 components/autofill/content/renderer/form_autofill_util.cc base::string16 identifier = form.name(); base 754 components/autofill/content/renderer/form_autofill_util.cc field->form_control_type = base::UTF16ToUTF8(element.formControlType()); base 756 components/autofill/content/renderer/form_autofill_util.cc base::UTF16ToUTF8(element.getAttribute(kAutocomplete)); base 774 components/autofill/content/renderer/form_autofill_util.cc "rtl" ? base::i18n::RIGHT_TO_LEFT : base::i18n::LEFT_TO_RIGHT; base 797 components/autofill/content/renderer/form_autofill_util.cc base::string16 value = element.value(); base 855 components/autofill/content/renderer/form_autofill_util.cc std::map<base::string16, FormFieldData*> name_map; base 909 components/autofill/content/renderer/form_autofill_util.cc base::string16 element_name; base 922 components/autofill/content/renderer/form_autofill_util.cc std::map<base::string16, FormFieldData*>::iterator iter = base 925 components/autofill/content/renderer/form_autofill_util.cc base::string16 label_text = FindChildText(label); base 930 components/autofill/content/renderer/form_autofill_util.cc iter->second->label += base::ASCIIToUTF16(" "); base 1147 components/autofill/content/renderer/form_autofill_util.cc !base::ContainsOnlyChars(item.nodeValue().utf8(), base 1148 components/autofill/content/renderer/form_autofill_util.cc base::kWhitespaceASCII)) base 80 components/autofill/content/renderer/form_autofill_util.h const base::string16 GetFormIdentifier(const blink::WebFormElement& form); base 200 components/autofill/content/renderer/form_cache.cc input_element->setValue(base::string16(), true); base 209 components/autofill/content/renderer/form_cache.cc control_element.setValue(base::string16(), true); base 213 components/autofill/content/renderer/form_cache.cc std::map<const WebSelectElement, base::string16>::const_iterator base 256 components/autofill/content/renderer/form_cache.cc base::string16 element_name = GetFormIdentifier(form_element); base 280 components/autofill/content/renderer/form_cache.cc if (base::string16(element->nameForAutofill()) != base 288 components/autofill/content/renderer/form_cache.cc base::string16 title = l10n_util::GetStringFUTF16( base 290 components/autofill/content/renderer/form_cache.cc base::UTF8ToUTF16(form.fields[i].heuristic_type), base 291 components/autofill/content/renderer/form_cache.cc base::UTF8ToUTF16(form.fields[i].server_type), base 292 components/autofill/content/renderer/form_cache.cc base::UTF8ToUTF16(form.fields[i].signature), base 293 components/autofill/content/renderer/form_cache.cc base::UTF8ToUTF16(form.signature), base 294 components/autofill/content/renderer/form_cache.cc base::UTF8ToUTF16(form.experiment_id)); base 297 components/autofill/content/renderer/form_cache.cc WebString(base::UTF8ToUTF16(placeholder))); base 67 components/autofill/content/renderer/form_cache.h std::map<const blink::WebSelectElement, base::string16> base 42 components/autofill/content/renderer/password_autofill_agent.cc typedef std::map<base::string16, blink::WebInputElement> base 169 components/autofill/content/renderer/password_autofill_agent.cc bool DoUsernamesMatch(const base::string16& username1, base 170 components/autofill/content/renderer/password_autofill_agent.cc const base::string16& username2, base 296 components/autofill/content/renderer/password_autofill_agent.cc password.setValue(base::string16(), true); base 647 components/autofill/content/renderer/password_autofill_agent.cc const base::string16& input, base 648 components/autofill/content/renderer/password_autofill_agent.cc std::vector<base::string16>* suggestions, base 649 components/autofill/content/renderer/password_autofill_agent.cc std::vector<base::string16>* realms) { base 652 components/autofill/content/renderer/password_autofill_agent.cc realms->push_back(base::UTF8ToUTF16(fill_data.preferred_realm)); base 660 components/autofill/content/renderer/password_autofill_agent.cc realms->push_back(base::UTF8ToUTF16(iter->second.realm)); base 671 components/autofill/content/renderer/password_autofill_agent.cc realms->push_back(base::UTF8ToUTF16(iter->first.realm)); base 688 components/autofill/content/renderer/password_autofill_agent.cc std::vector<base::string16> suggestions; base 689 components/autofill/content/renderer/password_autofill_agent.cc std::vector<base::string16> realms; base 752 components/autofill/content/renderer/password_autofill_agent.cc base::string16 current_username = username_element->value(); base 754 components/autofill/content/renderer/password_autofill_agent.cc base::string16 username; base 755 components/autofill/content/renderer/password_autofill_agent.cc base::string16 password; base 133 components/autofill/content/renderer/password_autofill_agent.h const base::string16& input, base 134 components/autofill/content/renderer/password_autofill_agent.h std::vector<base::string16>* suggestions, base 135 components/autofill/content/renderer/password_autofill_agent.h std::vector<base::string16>* realms); base 192 components/autofill/content/renderer/password_autofill_agent.h base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_; base 58 components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("username"), password_form->username_element); base 59 components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("johnsmith"), password_form->username_value); base 60 components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("password"), password_form->password_element); base 61 components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("secret"), password_form->password_value); base 212 components/autofill/content/renderer/password_generation_agent.cc const base::string16& password) { base 58 components/autofill/content/renderer/password_generation_agent.h void OnPasswordAccepted(const base::string16& password); base 43 components/autofill/core/browser/address.cc base::string16 Address::GetRawInfo(ServerFieldType type) const { base 47 components/autofill/core/browser/address.cc return street_address_.size() > 0 ? street_address_[0] : base::string16(); base 50 components/autofill/core/browser/address.cc return street_address_.size() > 1 ? street_address_[1] : base::string16(); base 68 components/autofill/core/browser/address.cc return base::ASCIIToUTF16(country_code_); base 75 components/autofill/core/browser/address.cc return base::string16(); base 79 components/autofill/core/browser/address.cc void Address::SetRawInfo(ServerFieldType type, const base::string16& value) { base 111 components/autofill/core/browser/address.cc country_code_ = base::UTF16ToASCII(value); base 123 components/autofill/core/browser/address.cc base::SplitString(value, base::char16('\n'), &street_address_); base 131 components/autofill/core/browser/address.cc base::string16 Address::GetInfo(const AutofillType& type, base 134 components/autofill/core/browser/address.cc return base::ASCIIToUTF16(country_code_); base 144 components/autofill/core/browser/address.cc const base::string16& value, base 152 components/autofill/core/browser/address.cc country_code_ = StringToUpperASCII(base::UTF16ToASCII(value)); base 167 components/autofill/core/browser/address.cc value.find(base::char16('\n')) == base::string16::npos) { base 179 components/autofill/core/browser/address.cc base::string16()) != street_address_.end()) { base 187 components/autofill/core/browser/address.cc void Address::GetMatchingTypes(const base::string16& text, base 27 components/autofill/core/browser/address.h virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE; base 29 components/autofill/core/browser/address.h const base::string16& value) OVERRIDE; base 30 components/autofill/core/browser/address.h virtual base::string16 GetInfo(const AutofillType& type, base 33 components/autofill/core/browser/address.h const base::string16& value, base 36 components/autofill/core/browser/address.h const base::string16& text, base 49 components/autofill/core/browser/address.h std::vector<base::string16> street_address_; base 51 components/autofill/core/browser/address.h base::string16 dependent_locality_; base 52 components/autofill/core/browser/address.h base::string16 city_; base 53 components/autofill/core/browser/address.h base::string16 state_; base 54 components/autofill/core/browser/address.h base::string16 zip_code_; base 57 components/autofill/core/browser/address.h base::string16 sorting_code_; base 20 components/autofill/core/browser/address_field.cc using base::UTF8ToUTF16; base 32 components/autofill/core/browser/address_field.cc base::string16 attention_ignored = UTF8ToUTF16(autofill::kAttentionIgnoredRe); base 33 components/autofill/core/browser/address_field.cc base::string16 region_ignored = UTF8ToUTF16(autofill::kRegionIgnoredRe); base 145 components/autofill/core/browser/address_field.cc base::string16 pattern = UTF8ToUTF16(autofill::kAddressLine1Re); base 146 components/autofill/core/browser/address_field.cc base::string16 label_pattern = UTF8ToUTF16(autofill::kAddressLine1LabelRe); base 199 components/autofill/core/browser/address_field.cc base::string16 pattern = UTF8ToUTF16(autofill::kZipCodeRe); base 15 components/autofill/core/browser/address_field_unittest.cc using base::ASCIIToUTF16; base 75 components/autofill/core/browser/address_field_unittest.cc field.label = base::string16(); base 76 components/autofill/core/browser/address_field_unittest.cc field.name = base::string16(); base 238 components/autofill/core/browser/address_field_unittest.cc field.label = base::string16(); base 13 components/autofill/core/browser/address_unittest.cc using base::ASCIIToUTF16; base 21 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); base 24 components/autofill/core/browser/address_unittest.cc base::string16 country = base 26 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), country); base 53 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); base 59 components/autofill/core/browser/address_unittest.cc base::string16 country = base 89 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); base 90 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), country); base 110 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); base 111 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), country); base 147 components/autofill/core/browser/address_unittest.cc address.SetRawInfo(ADDRESS_HOME_COUNTRY, base::string16()); base 148 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_COUNTRY)); base 162 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetInfo(type, "en-US")); base 171 components/autofill/core/browser/address_unittest.cc address.SetRawInfo(ADDRESS_HOME_LINE1, base::string16()); base 199 components/autofill/core/browser/address_unittest.cc address.SetRawInfo(ADDRESS_HOME_LINE2, base::string16()); base 204 components/autofill/core/browser/address_unittest.cc address.SetRawInfo(ADDRESS_HOME_LINE1, base::string16()); base 205 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_STREET_ADDRESS)); base 210 components/autofill/core/browser/address_unittest.cc const base::string16 empty_street_address; base 211 components/autofill/core/browser/address_unittest.cc const base::string16 short_street_address = ASCIIToUTF16("456 Nowhere Ln."); base 212 components/autofill/core/browser/address_unittest.cc const base::string16 long_street_address = base 218 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE1)); base 219 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE2)); base 232 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE2)); base 237 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE1)); base 238 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE2)); base 246 components/autofill/core/browser/address_unittest.cc const base::string16 empty_street_address; base 247 components/autofill/core/browser/address_unittest.cc const base::string16 one_line_street_address = base 249 components/autofill/core/browser/address_unittest.cc const base::string16 multi_line_street_address = base 265 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE1)); base 266 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE2)); base 279 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE1)); base 280 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE2)); base 301 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE1)); base 302 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE2)); base 303 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_STREET_ADDRESS)); base 324 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE1)); base 325 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE2)); base 326 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_STREET_ADDRESS)); base 347 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE1)); base 348 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_LINE2)); base 349 components/autofill/core/browser/address_unittest.cc EXPECT_EQ(base::string16(), address.GetRawInfo(ADDRESS_HOME_STREET_ADDRESS)); base 20 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 SafeJavaStringToUTF16( base 23 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc return base::string16(); base 31 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc std::vector<base::string16>* string_vector) { base 33 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::android::AppendJavaStringArrayToStringVector(env, base 61 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetStreet() const { base 65 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetPostOfficeBox() const { base 69 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetNeighborhood() const { base 73 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetRegion() const { base 77 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetCity() const { base 81 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetPostalCode() const { base 85 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetCountry() const { base 90 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetFirstName() const { base 94 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetMiddleName() const { base 98 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetLastName() const { base 102 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc base::string16 AuxiliaryProfileLoaderAndroid::GetSuffix() const { base 108 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc std::vector<base::string16>* email_addresses) const { base 116 components/autofill/core/browser/android/auxiliary_profile_loader_android.cc std::vector<base::string16>* phone_numbers) const { base 33 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetStreet() const; base 35 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetPostOfficeBox() const; base 37 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetNeighborhood() const; base 40 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetRegion() const; base 42 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetCity() const; base 44 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetPostalCode() const; base 46 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetCountry() const; base 49 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetFirstName() const; base 51 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetMiddleName() const; base 53 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetLastName() const; base 55 components/autofill/core/browser/android/auxiliary_profile_loader_android.h virtual base::string16 GetSuffix() const; base 59 components/autofill/core/browser/android/auxiliary_profile_loader_android.h std::vector<base::string16>* email_addresses) const; base 63 components/autofill/core/browser/android/auxiliary_profile_loader_android.h std::vector<base::string16>* phone_numbers) const; base 69 components/autofill/core/browser/android/auxiliary_profile_loader_android.h base::android::ScopedJavaLocalRef<jobject> populator_; base 14 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc using base::ASCIIToUTF16; base 38 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 first_name = ASCIIToUTF16("John"); base 39 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 middle_name = ASCIIToUTF16("H."); base 40 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 last_name = ASCIIToUTF16("Waston"); base 56 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc EXPECT_EQ(profile->GetRawInfo(NAME_FIRST), base::string16()); base 57 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc EXPECT_EQ(profile->GetRawInfo(NAME_MIDDLE), base::string16()); base 58 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc EXPECT_EQ(profile->GetRawInfo(NAME_LAST), base::string16()); base 62 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc std::vector<base::string16> email_addresses; base 68 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc std::vector<base::string16> loaded_email_addresses; base 74 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc std::vector<base::string16> expected_email_addresses; base 75 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc expected_email_addresses.push_back(base::string16()); base 76 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc std::vector<base::string16> loaded_email_addresses; base 83 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc std::vector<base::string16> phone_numbers; base 87 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc std::vector<base::string16> loaded_phone_numbers; base 94 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc std::vector<base::string16> expected_phone_numbers; base 95 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc expected_phone_numbers.push_back(base::string16()); base 97 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc std::vector<base::string16> loaded_phone_numbers; base 112 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 street = ASCIIToUTF16("221 B Baker Street"); base 113 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 city = ASCIIToUTF16("London"); base 114 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 postal_code = ASCIIToUTF16("123456"); base 115 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 region = ASCIIToUTF16("Georgian Terrace"); base 116 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 country = ASCIIToUTF16("England"); base 132 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 post_office_box= ASCIIToUTF16("222"); base 133 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 neighborhood = ASCIIToUTF16("Doyle"); base 137 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc base::string16 expectedLine2= ASCIIToUTF16("222, Doyle"); base 156 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_LINE1), base::string16()); base 157 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_LINE2), base::string16()); base 158 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_CITY), base::string16()); base 159 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_ZIP), base::string16()); base 160 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_STATE), base::string16()); base 161 components/autofill/core/browser/android/auxiliary_profile_unittest_android.cc EXPECT_EQ(profile->GetRawInfo(ADDRESS_HOME_COUNTRY), base::string16()); base 40 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 CollapseAddress(const base::string16& post_office_box, base 41 components/autofill/core/browser/android/auxiliary_profiles_android.cc const base::string16& neighborhood) { base 42 components/autofill/core/browser/android/auxiliary_profiles_android.cc std::vector<base::string16> accumulator; base 48 components/autofill/core/browser/android/auxiliary_profiles_android.cc return JoinString(accumulator, base::ASCIIToUTF16(", ")); base 82 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 street = profile_loader_.GetStreet(); base 83 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 post_office_box = profile_loader_.GetPostOfficeBox(); base 84 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 neighborhood = profile_loader_.GetNeighborhood(); base 85 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 city = profile_loader_.GetCity(); base 86 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 postal_code = profile_loader_.GetPostalCode(); base 87 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 region = profile_loader_.GetRegion(); base 88 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 country = profile_loader_.GetCountry(); base 90 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 street2 = CollapseAddress(post_office_box, neighborhood); base 101 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 first_name = profile_loader_.GetFirstName(); base 102 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 middle_name = profile_loader_.GetMiddleName(); base 103 components/autofill/core/browser/android/auxiliary_profiles_android.cc base::string16 last_name = profile_loader_.GetLastName(); base 111 components/autofill/core/browser/android/auxiliary_profiles_android.cc std::vector<base::string16> emails; base 117 components/autofill/core/browser/android/auxiliary_profiles_android.cc std::vector<base::string16> phone_numbers; base 13 components/autofill/core/browser/android/component_jni_registrar.cc static base::android::RegistrationMethod kComponentRegisteredMethods[] = { base 16 components/autofill/core/browser/android/java/src/org/chromium/components/browser/autofill/PersonalAutofillPopulator.java import org.chromium.base.CalledByNative; base 17 components/autofill/core/browser/android/java/src/org/chromium/components/browser/autofill/PersonalAutofillPopulator.java import org.chromium.base.JNINamespace; base 17 components/autofill/core/browser/android/personal_data_manager_android.cc base::android::AttachCurrentThread(), base 18 components/autofill/core/browser/android/personal_data_manager_android.cc base::android::GetApplicationContext()); base 19 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetFirstName() const { base 23 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetMiddleName() const { base 27 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetLastName() const { base 31 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetSuffix() const { base 35 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetStreet() const { base 39 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetPostOfficeBox() const { base 43 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetCity() const { base 47 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetNeighborhood() const { base 51 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetRegion() const { base 55 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetPostalCode() const { base 59 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc base::string16 TestAuxiliaryProfileLoader::GetCountry() const { base 64 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc std::vector<base::string16>* email_addresses) const { base 69 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc std::vector<base::string16>* phone_numbers) const { base 74 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc const base::string16& first_name) { base 79 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc const base::string16& middle_name) { base 83 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc void TestAuxiliaryProfileLoader::SetLastName(const base::string16& last_name) { base 87 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc void TestAuxiliaryProfileLoader::SetSuffix(const base::string16& suffix) { base 91 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc void TestAuxiliaryProfileLoader::SetStreet(const base::string16& street) { base 96 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc const base::string16& post_office_box) { base 101 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc const base::string16& neighborhood) { base 105 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc void TestAuxiliaryProfileLoader::SetRegion(const base::string16& region) { base 109 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc void TestAuxiliaryProfileLoader::SetCity(const base::string16& city) { base 114 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc const base::string16& postal_code) { base 118 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc void TestAuxiliaryProfileLoader::SetCountry(const base::string16& country) { base 123 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc const std::vector<base::string16>& addresses) { base 128 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc const std::vector<base::string16>& phone_numbers) { base 22 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetFirstName() const OVERRIDE; base 23 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetMiddleName() const OVERRIDE; base 24 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetLastName() const OVERRIDE; base 25 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetSuffix() const OVERRIDE; base 27 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetStreet() const OVERRIDE; base 28 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetCity() const OVERRIDE; base 29 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetNeighborhood() const OVERRIDE; base 30 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetPostalCode() const OVERRIDE; base 31 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetRegion() const OVERRIDE; base 32 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetPostOfficeBox() const OVERRIDE; base 33 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h virtual base::string16 GetCountry() const OVERRIDE; base 36 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h std::vector<base::string16>* email_addresses) const OVERRIDE; base 38 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h std::vector<base::string16>* phone_numbers) const OVERRIDE; base 40 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetFirstName(const base::string16& first_name); base 41 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetMiddleName(const base::string16& middle_name); base 42 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetLastName(const base::string16& last_name); base 43 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetSuffix(const base::string16& suffix); base 45 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetStreet(const base::string16& street); base 46 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetPostOfficeBox(const base::string16& post_office_box); base 47 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetNeighborhood(const base::string16& neighborhood); base 48 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetRegion(const base::string16& region); base 49 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetCity(const base::string16& city); base 50 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetPostalCode(const base::string16& postal_code); base 51 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetCountry(const base::string16& country); base 53 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetEmailAddresses(const std::vector<base::string16>& email_addresses); base 54 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h void SetPhoneNumbers(const std::vector<base::string16>& phone_numbers); base 57 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 street_; base 58 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 post_office_box_; base 59 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 neighborhood_; base 60 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 region_; base 61 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 city_; base 62 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 postal_code_; base 63 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 country_; base 64 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 first_name_; base 65 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 middle_name_; base 66 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 last_name_; base 67 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h base::string16 suffix_; base 68 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h std::vector<base::string16> email_addresses_; base 69 components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h std::vector<base::string16> phone_numbers_; base 74 components/autofill/core/browser/autocomplete_history_manager.cc const WDResult<std::vector<base::string16> >* autofill_result = base 75 components/autofill/core/browser/autocomplete_history_manager.cc static_cast<const WDResult<std::vector<base::string16> >*>(result); base 76 components/autofill/core/browser/autocomplete_history_manager.cc std::vector<base::string16> suggestions = autofill_result->GetValue(); base 82 components/autofill/core/browser/autocomplete_history_manager.cc const base::string16& name, base 83 components/autofill/core/browser/autocomplete_history_manager.cc const base::string16& prefix, base 85 components/autofill/core/browser/autocomplete_history_manager.cc const std::vector<base::string16>& autofill_values, base 86 components/autofill/core/browser/autocomplete_history_manager.cc const std::vector<base::string16>& autofill_labels, base 87 components/autofill/core/browser/autocomplete_history_manager.cc const std::vector<base::string16>& autofill_icons, base 143 components/autofill/core/browser/autocomplete_history_manager.cc const base::string16& name, const base::string16& value) { base 162 components/autofill/core/browser/autocomplete_history_manager.cc const std::vector<base::string16>* suggestions) { base 177 components/autofill/core/browser/autocomplete_history_manager.cc autofill_labels_.push_back(base::string16()); base 178 components/autofill/core/browser/autocomplete_history_manager.cc autofill_icons_.push_back(base::string16()); base 40 components/autofill/core/browser/autocomplete_history_manager.h const base::string16& name, base 41 components/autofill/core/browser/autocomplete_history_manager.h const base::string16& prefix, base 43 components/autofill/core/browser/autocomplete_history_manager.h const std::vector<base::string16>& autofill_values, base 44 components/autofill/core/browser/autocomplete_history_manager.h const std::vector<base::string16>& autofill_labels, base 45 components/autofill/core/browser/autocomplete_history_manager.h const std::vector<base::string16>& autofill_icons, base 50 components/autofill/core/browser/autocomplete_history_manager.h void OnRemoveAutocompleteEntry(const base::string16& name, base 51 components/autofill/core/browser/autocomplete_history_manager.h const base::string16& value); base 60 components/autofill/core/browser/autocomplete_history_manager.h void SendSuggestions(const std::vector<base::string16>* suggestions); base 75 components/autofill/core/browser/autocomplete_history_manager.h std::vector<base::string16> autofill_values_; base 76 components/autofill/core/browser/autocomplete_history_manager.h std::vector<base::string16> autofill_labels_; base 77 components/autofill/core/browser/autocomplete_history_manager.h std::vector<base::string16> autofill_icons_; base 27 components/autofill/core/browser/autocomplete_history_manager_unittest.cc using base::ASCIIToUTF16; base 37 components/autofill/core/browser/autocomplete_history_manager_unittest.cc : AutofillWebDataService(base::MessageLoopProxy::current(), base 38 components/autofill/core/browser/autocomplete_history_manager_unittest.cc base::MessageLoopProxy::current()) {} base 85 components/autofill/core/browser/autocomplete_history_manager_unittest.cc base::MessageLoop message_loop_; base 188 components/autofill/core/browser/autocomplete_history_manager_unittest.cc const std::vector<base::string16>& autofill_values, base 189 components/autofill/core/browser/autocomplete_history_manager_unittest.cc const std::vector<base::string16>& autofill_labels, base 190 components/autofill/core/browser/autocomplete_history_manager_unittest.cc const std::vector<base::string16>& autofill_icons, base 255 components/autofill/core/browser/autocomplete_history_manager_unittest.cc std::vector<base::string16>(), base 256 components/autofill/core/browser/autocomplete_history_manager_unittest.cc std::vector<base::string16>(), base 257 components/autofill/core/browser/autocomplete_history_manager_unittest.cc std::vector<base::string16>(), base 264 components/autofill/core/browser/autocomplete_history_manager_unittest.cc std::vector<base::string16>(), base 265 components/autofill/core/browser/autocomplete_history_manager_unittest.cc std::vector<base::string16>(), base 266 components/autofill/core/browser/autocomplete_history_manager_unittest.cc std::vector<base::string16>(), base 846 components/autofill/core/browser/autofill_country.cc const std::string GetCountryCode(const base::string16& country, base 862 components/autofill/core/browser/autofill_country.cc const base::string16& country_name, base 874 components/autofill/core/browser/autofill_country.cc const base::string16& str, base 928 components/autofill/core/browser/autofill_country.cc const std::string CountryNames::GetCountryCode(const base::string16& country, base 931 components/autofill/core/browser/autofill_country.cc std::string country_utf8 = base::UTF16ToUTF8(StringToUpperASCII(country)); base 961 components/autofill/core/browser/autofill_country.cc base::string16 country_name = l10n_util::GetDisplayNameForCountry( base 975 components/autofill/core/browser/autofill_country.cc const base::string16& country_name, base 1021 components/autofill/core/browser/autofill_country.cc const base::string16& str, base 1096 components/autofill/core/browser/autofill_country.cc const std::string AutofillCountry::GetCountryCode(const base::string16& country, base 1102 components/autofill/core/browser/autofill_country.cc const base::string16& name, base 1103 components/autofill/core/browser/autofill_country.cc const base::string16& postal_code_label, base 1104 components/autofill/core/browser/autofill_country.cc const base::string16& state_label) base 61 components/autofill/core/browser/autofill_country.h static const std::string GetCountryCode(const base::string16& country, base 65 components/autofill/core/browser/autofill_country.h const base::string16 name() const { return name_; } base 66 components/autofill/core/browser/autofill_country.h const base::string16 postal_code_label() const { return postal_code_label_; } base 67 components/autofill/core/browser/autofill_country.h const base::string16 state_label() const { return state_label_; } base 86 components/autofill/core/browser/autofill_country.h const base::string16& name, base 87 components/autofill/core/browser/autofill_country.h const base::string16& postal_code_label, base 88 components/autofill/core/browser/autofill_country.h const base::string16& state_label); base 94 components/autofill/core/browser/autofill_country.h base::string16 name_; base 97 components/autofill/core/browser/autofill_country.h base::string16 postal_code_label_; base 100 components/autofill/core/browser/autofill_country.h base::string16 state_label_; base 12 components/autofill/core/browser/autofill_country_unittest.cc using base::ASCIIToUTF16; base 18 components/autofill/core/browser/autofill_data_model.cc base::string16 AutofillDataModel::GetInfoForVariant( base 29 components/autofill/core/browser/autofill_data_model.h virtual base::string16 GetInfoForVariant(const AutofillType& type, base 22 components/autofill/core/browser/autofill_data_model_unittest.cc virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE { base 23 components/autofill/core/browser/autofill_data_model_unittest.cc return base::string16(); base 26 components/autofill/core/browser/autofill_data_model_unittest.cc const base::string16& value) OVERRIDE {} base 66 components/autofill/core/browser/autofill_download.cc next_query_request_(base::Time::Now()), base 67 components/autofill/core/browser/autofill_download.cc next_upload_request_(base::Time::Now()), base 86 components/autofill/core/browser/autofill_download.cc if (next_query_request_ > base::Time::Now()) { base 121 components/autofill/core/browser/autofill_download.cc if (next_upload_request_ > base::Time::Now()) { base 132 components/autofill/core/browser/autofill_download.cc base::RandDouble() > upload_rate)) { base 289 components/autofill/core/browser/autofill_download.cc base::Time back_off_time(base::Time::Now() + source->GetBackoffDelay()); base 155 components/autofill/core/browser/autofill_download.h base::Time next_query_request_; base 156 components/autofill/core/browser/autofill_download.h base::Time next_upload_request_; base 26 components/autofill/core/browser/autofill_download_unittest.cc using base::ASCIIToUTF16; base 70 components/autofill/core/browser/autofill_download_unittest.cc base::MessageLoopProxy::current())), base 123 components/autofill/core/browser/autofill_download_unittest.cc base::MessageLoop message_loop_; base 169 components/autofill/core/browser/autofill_download_unittest.cc field.label = base::string16(); base 195 components/autofill/core/browser/autofill_download_unittest.cc field.label = base::string16(); base 12 components/autofill/core/browser/autofill_driver.h namespace base { base 48 components/autofill/core/browser/autofill_driver.h virtual base::SequencedWorkerPool* GetBlockingPool() = 0; base 69 components/autofill/core/browser/autofill_driver.h const base::string16& value) = 0; base 74 components/autofill/core/browser/autofill_driver.h const base::string16& username) = 0; base 84 components/autofill/core/browser/autofill_driver.h const base::string16& value) = 0; base 88 components/autofill/core/browser/autofill_driver.h const base::string16& value) = 0; base 47 components/autofill/core/browser/autofill_external_delegate.cc const std::vector<base::string16>& suggested_values, base 48 components/autofill/core/browser/autofill_external_delegate.cc const std::vector<base::string16>& suggested_labels, base 49 components/autofill/core/browser/autofill_external_delegate.cc const std::vector<base::string16>& suggested_icons, base 54 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16> values(suggested_values); base 55 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16> labels(suggested_labels); base 56 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16> icons(suggested_icons); base 63 components/autofill/core/browser/autofill_external_delegate.cc values.push_back(base::string16()); base 64 components/autofill/core/browser/autofill_external_delegate.cc labels.push_back(base::string16()); base 65 components/autofill/core/browser/autofill_external_delegate.cc icons.push_back(base::string16()); base 115 components/autofill/core/browser/autofill_external_delegate.cc const std::vector<base::string16>& suggestions, base 116 components/autofill/core/browser/autofill_external_delegate.cc const std::vector<base::string16>& realms, base 127 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16> empty(suggestions.size()); base 141 components/autofill/core/browser/autofill_external_delegate.cc const std::vector<base::string16>& data_list_values, base 142 components/autofill/core/browser/autofill_external_delegate.cc const std::vector<base::string16>& data_list_labels) { base 166 components/autofill/core/browser/autofill_external_delegate.cc const base::string16& value, base 177 components/autofill/core/browser/autofill_external_delegate.cc void AutofillExternalDelegate::DidAcceptSuggestion(const base::string16& value, base 201 components/autofill/core/browser/autofill_external_delegate.cc void AutofillExternalDelegate::RemoveSuggestion(const base::string16& value, base 231 components/autofill/core/browser/autofill_external_delegate.cc base::WeakPtr<AutofillExternalDelegate> AutofillExternalDelegate::GetWeakPtr() { base 255 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16>* values, base 256 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16>* labels, base 257 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16>* icons, base 267 components/autofill/core/browser/autofill_external_delegate.cc labels->assign(1, base::string16()); base 268 components/autofill/core/browser/autofill_external_delegate.cc icons->assign(1, base::string16()); base 298 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16>* values, base 299 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16>* labels, base 300 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16>* icons, base 307 components/autofill/core/browser/autofill_external_delegate.cc labels->push_back(base::string16()); base 308 components/autofill/core/browser/autofill_external_delegate.cc icons->push_back(base::string16()); base 314 components/autofill/core/browser/autofill_external_delegate.cc labels->push_back(base::string16()); base 315 components/autofill/core/browser/autofill_external_delegate.cc icons->push_back(base::string16()); base 320 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16>* values, base 321 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16>* labels, base 322 components/autofill/core/browser/autofill_external_delegate.cc std::vector<base::string16>* icons, base 330 components/autofill/core/browser/autofill_external_delegate.cc values->insert(values->begin(), base::string16()); base 331 components/autofill/core/browser/autofill_external_delegate.cc labels->insert(labels->begin(), base::string16()); base 332 components/autofill/core/browser/autofill_external_delegate.cc icons->insert(icons->begin(), base::string16()); base 347 components/autofill/core/browser/autofill_external_delegate.cc base::string16()); base 47 components/autofill/core/browser/autofill_external_delegate.h virtual void DidSelectSuggestion(const base::string16& value, base 49 components/autofill/core/browser/autofill_external_delegate.h virtual void DidAcceptSuggestion(const base::string16& value, base 51 components/autofill/core/browser/autofill_external_delegate.h virtual void RemoveSuggestion(const base::string16& value, base 72 components/autofill/core/browser/autofill_external_delegate.h const std::vector<base::string16>& values, base 73 components/autofill/core/browser/autofill_external_delegate.h const std::vector<base::string16>& labels, base 74 components/autofill/core/browser/autofill_external_delegate.h const std::vector<base::string16>& icons, base 78 components/autofill/core/browser/autofill_external_delegate.h void OnShowPasswordSuggestions(const std::vector<base::string16>& suggestions, base 79 components/autofill/core/browser/autofill_external_delegate.h const std::vector<base::string16>& realms, base 85 components/autofill/core/browser/autofill_external_delegate.h const std::vector<base::string16>& data_list_values, base 86 components/autofill/core/browser/autofill_external_delegate.h const std::vector<base::string16>& data_list_labels); base 101 components/autofill/core/browser/autofill_external_delegate.h base::WeakPtr<AutofillExternalDelegate> GetWeakPtr(); base 111 components/autofill/core/browser/autofill_external_delegate.h void ApplyAutofillWarnings(std::vector<base::string16>* values, base 112 components/autofill/core/browser/autofill_external_delegate.h std::vector<base::string16>* labels, base 113 components/autofill/core/browser/autofill_external_delegate.h std::vector<base::string16>* icons, base 119 components/autofill/core/browser/autofill_external_delegate.h void ApplyAutofillOptions(std::vector<base::string16>* values, base 120 components/autofill/core/browser/autofill_external_delegate.h std::vector<base::string16>* labels, base 121 components/autofill/core/browser/autofill_external_delegate.h std::vector<base::string16>* icons, base 126 components/autofill/core/browser/autofill_external_delegate.h void InsertDataListValues(std::vector<base::string16>* values, base 127 components/autofill/core/browser/autofill_external_delegate.h std::vector<base::string16>* labels, base 128 components/autofill/core/browser/autofill_external_delegate.h std::vector<base::string16>* icons, base 162 components/autofill/core/browser/autofill_external_delegate.h std::vector<base::string16> data_list_values_; base 163 components/autofill/core/browser/autofill_external_delegate.h std::vector<base::string16> data_list_labels_; base 165 components/autofill/core/browser/autofill_external_delegate.h base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; base 23 components/autofill/core/browser/autofill_external_delegate_unittest.cc using base::ASCIIToUTF16; base 41 components/autofill/core/browser/autofill_external_delegate_unittest.cc void(const base::string16&)); base 44 components/autofill/core/browser/autofill_external_delegate_unittest.cc MOCK_METHOD1(RendererShouldFillFieldWithValue, void(const base::string16&)); base 46 components/autofill/core/browser/autofill_external_delegate_unittest.cc void(const base::string16&)); base 59 components/autofill/core/browser/autofill_external_delegate_unittest.cc base::i18n::TextDirection text_direction, base 60 components/autofill/core/browser/autofill_external_delegate_unittest.cc const std::vector<base::string16>& values, base 61 components/autofill/core/browser/autofill_external_delegate_unittest.cc const std::vector<base::string16>& labels, base 62 components/autofill/core/browser/autofill_external_delegate_unittest.cc const std::vector<base::string16>& icons, base 64 components/autofill/core/browser/autofill_external_delegate_unittest.cc base::WeakPtr<AutofillPopupDelegate> delegate)); base 67 components/autofill/core/browser/autofill_external_delegate_unittest.cc void(const std::vector<base::string16>& values, base 68 components/autofill/core/browser/autofill_external_delegate_unittest.cc const std::vector<base::string16>& lables)); base 135 components/autofill/core/browser/autofill_external_delegate_unittest.cc base::MessageLoop message_loop_; base 157 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> autofill_item; base 158 components/autofill/core/browser/autofill_external_delegate_unittest.cc autofill_item.push_back(base::string16()); base 181 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> data_list_items; base 182 components/autofill/core/browser/autofill_external_delegate_unittest.cc data_list_items.push_back(base::string16()); base 204 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> autofill_item; base 205 components/autofill/core/browser/autofill_external_delegate_unittest.cc autofill_item.push_back(base::string16()); base 228 components/autofill/core/browser/autofill_external_delegate_unittest.cc autofill_item = std::vector<base::string16>(); base 246 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> data_list_items; base 247 components/autofill/core/browser/autofill_external_delegate_unittest.cc data_list_items.push_back(base::string16()); base 269 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> autofill_item; base 270 components/autofill/core/browser/autofill_external_delegate_unittest.cc autofill_item.push_back(base::string16()); base 284 components/autofill/core/browser/autofill_external_delegate_unittest.cc data_list_items.push_back(base::string16()); base 314 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> autofill_item; base 315 components/autofill/core/browser/autofill_external_delegate_unittest.cc autofill_item.push_back(base::string16()); base 342 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> autofill_item; base 343 components/autofill/core/browser/autofill_external_delegate_unittest.cc autofill_item.push_back(base::string16()); base 359 components/autofill/core/browser/autofill_external_delegate_unittest.cc external_delegate_->DidSelectSuggestion(base::string16(), -1); base 364 components/autofill/core/browser/autofill_external_delegate_unittest.cc external_delegate_->DidAcceptSuggestion(base::string16(), -1); base 403 components/autofill/core/browser/autofill_external_delegate_unittest.cc static const base::string16 kUsername = ASCIIToUTF16("username"); base 404 components/autofill/core/browser/autofill_external_delegate_unittest.cc static const base::string16 kSignonRealm = ASCIIToUTF16("http://foo.com/"); base 405 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> suggestions; base 407 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> realms; base 450 components/autofill/core/browser/autofill_external_delegate_unittest.cc base::string16 dummy_string(ASCIIToUTF16("baz qux")); base 463 components/autofill/core/browser/autofill_external_delegate_unittest.cc external_delegate_->DidAcceptSuggestion(base::string16(), base 477 components/autofill/core/browser/autofill_external_delegate_unittest.cc std::vector<base::string16> autofill_items; base 478 components/autofill/core/browser/autofill_external_delegate_unittest.cc autofill_items.push_back(base::string16()); base 495 components/autofill/core/browser/autofill_external_delegate_unittest.cc base::string16 dummy_string(ASCIIToUTF16("baz foo")); base 20 components/autofill/core/browser/autofill_field.cc using base::ASCIIToUTF16; base 21 components/autofill/core/browser/autofill_field.cc using base::StringToInt; base 40 components/autofill/core/browser/autofill_field.cc bool SetSelectControlValue(const base::string16& value, base 42 components/autofill/core/browser/autofill_field.cc base::string16 value_lowercase = StringToLowerASCII(value); base 45 components/autofill/core/browser/autofill_field.cc base::string16 best_match; base 86 components/autofill/core/browser/autofill_field.cc bool FillStateSelectControl(const base::string16& value, base 88 components/autofill/core/browser/autofill_field.cc base::string16 full, abbreviation; base 98 components/autofill/core/browser/autofill_field.cc bool FillCountrySelectControl(const base::string16& value, base 110 components/autofill/core/browser/autofill_field.cc base::string16 value = field_data->option_values[i]; base 111 components/autofill/core/browser/autofill_field.cc base::string16 contents = field_data->option_contents[i]; base 122 components/autofill/core/browser/autofill_field.cc bool FillExpirationMonthSelectControl(const base::string16& value, base 138 components/autofill/core/browser/autofill_field.cc bool LastTwoDigitsMatch(const base::string16& year, base 139 components/autofill/core/browser/autofill_field.cc const base::string16& str) { base 150 components/autofill/core/browser/autofill_field.cc bool FillYearSelectControl(const base::string16& value, base 169 components/autofill/core/browser/autofill_field.cc bool FillCreditCardTypeSelectControl(const base::string16& value, base 172 components/autofill/core/browser/autofill_field.cc base::string16 value_stripped; base 173 components/autofill/core/browser/autofill_field.cc base::RemoveChars(StringToLowerASCII(value), base::kWhitespaceUTF16, base 177 components/autofill/core/browser/autofill_field.cc base::string16 option_value_lowercase; base 178 components/autofill/core/browser/autofill_field.cc base::RemoveChars(StringToLowerASCII(field->option_values[i]), base 179 components/autofill/core/browser/autofill_field.cc base::kWhitespaceUTF16, &option_value_lowercase); base 180 components/autofill/core/browser/autofill_field.cc base::string16 option_contents_lowercase; base 181 components/autofill/core/browser/autofill_field.cc base::RemoveChars(StringToLowerASCII(field->option_contents[i]), base 182 components/autofill/core/browser/autofill_field.cc base::kWhitespaceUTF16, &option_contents_lowercase); base 204 components/autofill/core/browser/autofill_field.cc const base::string16& number, base 208 components/autofill/core/browser/autofill_field.cc base::string16 value = number; base 228 components/autofill/core/browser/autofill_field.cc const base::string16& value, base 264 components/autofill/core/browser/autofill_field.cc bool FillMonthControl(const base::string16& value, FormFieldData* field) { base 266 components/autofill/core/browser/autofill_field.cc std::vector<base::string16> pieces; base 267 components/autofill/core/browser/autofill_field.cc base::SplitString(value, base::char16('/'), &pieces); base 272 components/autofill/core/browser/autofill_field.cc base::string16 month = pieces[0]; base 273 components/autofill/core/browser/autofill_field.cc base::string16 year = pieces[1]; base 287 components/autofill/core/browser/autofill_field.cc void FillStreetAddress(const base::string16& value, base 294 components/autofill/core/browser/autofill_field.cc base::string16 one_line_value; base 295 components/autofill/core/browser/autofill_field.cc const base::char16 kNewline[] = { '\n', 0 }; base 296 components/autofill/core/browser/autofill_field.cc const base::string16 separator = base 298 components/autofill/core/browser/autofill_field.cc base::ReplaceChars(value, kNewline, separator, &one_line_value); base 303 components/autofill/core/browser/autofill_field.cc std::string hash_bin = base::SHA1HashString(str); base 311 components/autofill/core/browser/autofill_field.cc return base::UintToString(hash32); base 325 components/autofill/core/browser/autofill_field.cc const base::string16& unique_name) base 384 components/autofill/core/browser/autofill_field.cc std::string field_name = base::UTF16ToUTF8(name); base 395 components/autofill/core/browser/autofill_field.cc const base::string16& value, base 28 components/autofill/core/browser/autofill_field.h AutofillField(const FormFieldData& field, const base::string16& unique_name); base 31 components/autofill/core/browser/autofill_field.h const base::string16& unique_name() const { return unique_name_; } base 72 components/autofill/core/browser/autofill_field.h const base::string16& value, base 78 components/autofill/core/browser/autofill_field.h base::string16 unique_name_; base 14 components/autofill/core/browser/autofill_field_unittest.cc using base::ASCIIToUTF16; base 23 components/autofill/core/browser/autofill_field_unittest.cc std::vector<base::string16> options16(options_size); base 61 components/autofill/core/browser/autofill_field_unittest.cc ASSERT_EQ(base::string16(), field.value); base 73 components/autofill/core/browser/autofill_field_unittest.cc ASSERT_EQ(base::string16(), field.name); base 150 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 155 components/autofill/core/browser/autofill_field_unittest.cc field.option_contents[i] = ASCIIToUTF16(base::StringPrintf("%" PRIuS, i)); base 169 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 174 components/autofill/core/browser/autofill_field_unittest.cc field.option_values[i] = ASCIIToUTF16(base::StringPrintf("%" PRIuS, i)); base 188 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 201 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 214 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 227 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 241 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 265 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 279 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 292 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 304 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 318 components/autofill/core/browser/autofill_field_unittest.cc base::string16()); base 362 components/autofill/core/browser/autofill_field_unittest.cc base::string16 value = ASCIIToUTF16("123 Fake St.\n" base 373 components/autofill/core/browser/autofill_field_unittest.cc base::string16 value = ASCIIToUTF16("123 Fake St.\n" base 29 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc using base::win::RegKey; base 77 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc base::string16 ReadAndDecryptValue(const RegKey& key, base 83 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc return base::string16(); base 93 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc return base::string16( base 98 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc return base::string16(); base 159 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc base::string16 field_value = ReadAndDecryptValue(key, value_name.c_str()); base 188 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc base::string16 constructed_number; base 259 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc base::win::RegistryKeyIterator iterator_profiles(HKEY_CURRENT_USER, base 273 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc base::string16 password_hash; base 274 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc base::string16 salt; base 283 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc base::win::RegistryKeyIterator iterator_cc(HKEY_CURRENT_USER, base 294 components/autofill/core/browser/autofill_ie_toolbar_import_win.cc base::string16 cc_number = credit_card.GetRawInfo(CREDIT_CARD_NUMBER); base 16 components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc using base::win::RegKey; base 55 components/autofill/core/browser/autofill_manager.cc using base::TimeTicks; base 71 components/autofill/core/browser/autofill_manager.cc void RemoveDuplicateSuggestions(std::vector<base::string16>* values, base 72 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16>* labels, base 73 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16>* icons, base 79 components/autofill/core/browser/autofill_manager.cc std::set<std::pair<base::string16, base::string16> > seen_suggestions; base 80 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16> values_copy; base 81 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16> labels_copy; base 82 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16> icons_copy; base 86 components/autofill/core/browser/autofill_manager.cc const std::pair<base::string16, base::string16> suggestion( base 145 components/autofill/core/browser/autofill_manager.cc base::string16 value; base 146 components/autofill/core/browser/autofill_manager.cc base::TrimWhitespace(field->value, base::TRIM_ALL, &value); base 298 components/autofill/core/browser/autofill_manager.cc base::Bind(&DeterminePossibleFieldTypesForUpload, base 303 components/autofill/core/browser/autofill_manager.cc base::Bind(&AutofillManager::UploadFormDataAsyncCallback, base 305 components/autofill/core/browser/autofill_manager.cc base::Owned(submitted_form.release()), base 380 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16> values; base 381 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16> labels; base 382 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16> icons; base 422 components/autofill/core/browser/autofill_manager.cc labels.assign(1, base::string16()); base 423 components/autofill/core/browser/autofill_manager.cc icons.assign(1, base::string16()); base 434 components/autofill/core/browser/autofill_manager.cc labels.assign(labels.size(), base::string16()); base 435 components/autofill/core/browser/autofill_manager.cc icons.assign(icons.size(), base::string16()); base 492 components/autofill/core/browser/autofill_manager.cc base::string16 profile_full_name; base 504 components/autofill/core/browser/autofill_manager.cc base::string16 value = data_model->GetInfoForVariant( base 545 components/autofill/core/browser/autofill_manager.cc base::string16 value = data_model->GetInfoForVariant( base 639 components/autofill/core/browser/autofill_manager.cc void AutofillManager::RemoveAutocompleteEntry(const base::string16& name, base 640 components/autofill/core/browser/autofill_manager.cc const base::string16& value) { base 666 components/autofill/core/browser/autofill_manager.cc const std::vector<base::string16>& suggestions, base 667 components/autofill/core/browser/autofill_manager.cc const std::vector<base::string16>& realms) { base 679 components/autofill/core/browser/autofill_manager.cc void AutofillManager::OnSetDataList(const std::vector<base::string16>& values, base 680 components/autofill/core/browser/autofill_manager.cc const std::vector<base::string16>& labels) { base 722 components/autofill/core/browser/autofill_manager.cc base::Bind( base 723 components/autofill/core/browser/autofill_manager.cc base::IgnoreResult(&PersonalDataManager::SaveImportedCreditCard), base 724 components/autofill/core/browser/autofill_manager.cc base::Unretained(personal_data_), *imported_credit_card)); base 880 components/autofill/core/browser/autofill_manager.cc DCHECK(!base::IsValidGUID(credit_card_guid.first) || base 881 components/autofill/core/browser/autofill_manager.cc !base::IsValidGUID(profile_guid.first)); base 887 components/autofill/core/browser/autofill_manager.cc if (base::IsValidGUID(profile_guid.first)) { base 890 components/autofill/core/browser/autofill_manager.cc } else if (base::IsValidGUID(credit_card_guid.first)) { base 990 components/autofill/core/browser/autofill_manager.cc std::map<base::string16, const AutofillField*> cached_fields; base 998 components/autofill/core/browser/autofill_manager.cc std::map<base::string16, const AutofillField*>::iterator cached_field = base 1022 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16>* values, base 1023 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16>* labels, base 1024 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16>* icons, base 1034 components/autofill/core/browser/autofill_manager.cc base::Callback<bool(const AutofillProfile&)>(), base 1046 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16>* values, base 1047 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16>* labels, base 1048 components/autofill/core/browser/autofill_manager.cc std::vector<base::string16>* icons, base 1099 components/autofill/core/browser/autofill_manager.cc if (!base::IsValidGUID(guid.first)) base 95 components/autofill/core/browser/autofill_manager.h void OnDidFillAutofillFormData(const base::TimeTicks& timestamp); base 103 components/autofill/core/browser/autofill_manager.h void RemoveAutocompleteEntry(const base::string16& name, base 104 components/autofill/core/browser/autofill_manager.h const base::string16& value); base 122 components/autofill/core/browser/autofill_manager.h const base::TimeTicks& timestamp, base 129 components/autofill/core/browser/autofill_manager.h const base::TimeTicks& timestamp); base 133 components/autofill/core/browser/autofill_manager.h const base::TimeTicks& timestamp); base 149 components/autofill/core/browser/autofill_manager.h const std::vector<base::string16>& suggestions, base 150 components/autofill/core/browser/autofill_manager.h const std::vector<base::string16>& realms); base 151 components/autofill/core/browser/autofill_manager.h void OnSetDataList(const std::vector<base::string16>& values, base 152 components/autofill/core/browser/autofill_manager.h const std::vector<base::string16>& labels); base 183 components/autofill/core/browser/autofill_manager.h const base::TimeTicks& load_time, base 184 components/autofill/core/browser/autofill_manager.h const base::TimeTicks& interaction_time, base 185 components/autofill/core/browser/autofill_manager.h const base::TimeTicks& submission_time); base 256 components/autofill/core/browser/autofill_manager.h std::vector<base::string16>* values, base 257 components/autofill/core/browser/autofill_manager.h std::vector<base::string16>* labels, base 258 components/autofill/core/browser/autofill_manager.h std::vector<base::string16>* icons, base 265 components/autofill/core/browser/autofill_manager.h std::vector<base::string16>* values, base 266 components/autofill/core/browser/autofill_manager.h std::vector<base::string16>* labels, base 267 components/autofill/core/browser/autofill_manager.h std::vector<base::string16>* icons, base 280 components/autofill/core/browser/autofill_manager.h const base::TimeTicks& interaction_timestamp); base 324 components/autofill/core/browser/autofill_manager.h base::TimeTicks forms_loaded_timestamp_; base 327 components/autofill/core/browser/autofill_manager.h base::TimeTicks initial_interaction_timestamp_; base 343 components/autofill/core/browser/autofill_manager.h base::WeakPtrFactory<AutofillManager> weak_ptr_factory_; base 67 components/autofill/core/browser/autofill_manager_delegate.h const base::Closure& save_card_callback) = 0; base 73 components/autofill/core/browser/autofill_manager_delegate.h const base::Callback<void(const FormStructure*)>& callback) = 0; base 80 components/autofill/core/browser/autofill_manager_delegate.h base::i18n::TextDirection text_direction, base 81 components/autofill/core/browser/autofill_manager_delegate.h const std::vector<base::string16>& values, base 82 components/autofill/core/browser/autofill_manager_delegate.h const std::vector<base::string16>& labels, base 83 components/autofill/core/browser/autofill_manager_delegate.h const std::vector<base::string16>& icons, base 85 components/autofill/core/browser/autofill_manager_delegate.h base::WeakPtr<AutofillPopupDelegate> delegate) = 0; base 89 components/autofill/core/browser/autofill_manager_delegate.h const std::vector<base::string16>& values, base 90 components/autofill/core/browser/autofill_manager_delegate.h const std::vector<base::string16>& labels) = 0; base 105 components/autofill/core/browser/autofill_manager_delegate.h const base::string16& autofilled_value, base 106 components/autofill/core/browser/autofill_manager_delegate.h const base::string16& profile_full_name) = 0; base 45 components/autofill/core/browser/autofill_manager_unittest.cc using base::ASCIIToUTF16; base 46 components/autofill/core/browser/autofill_manager_unittest.cc using base::UTF8ToUTF16; base 409 components/autofill/core/browser/autofill_manager_unittest.cc const base::TimeTicks& load_time, base 410 components/autofill/core/browser/autofill_manager_unittest.cc const base::TimeTicks& interaction_time, base 411 components/autofill/core/browser/autofill_manager_unittest.cc const base::TimeTicks& submission_time) OVERRIDE { base 420 components/autofill/core/browser/autofill_manager_unittest.cc base::StringPrintf( base 422 components/autofill/core/browser/autofill_manager_unittest.cc base::UTF16ToUTF8(submitted_form->field(i)->value).c_str())); base 444 components/autofill/core/browser/autofill_manager_unittest.cc void ResetRunLoop() { run_loop_.reset(new base::RunLoop()); } base 475 components/autofill/core/browser/autofill_manager_unittest.cc base::StringPrintf("00000000-0000-0000-0000-%012d", credit_card_id); base 494 components/autofill/core/browser/autofill_manager_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 522 components/autofill/core/browser/autofill_manager_unittest.cc const std::vector<base::string16>& autofill_values, base 523 components/autofill/core/browser/autofill_manager_unittest.cc const std::vector<base::string16>& autofill_labels, base 524 components/autofill/core/browser/autofill_manager_unittest.cc const std::vector<base::string16>& autofill_icons, base 537 components/autofill/core/browser/autofill_manager_unittest.cc const base::string16 expected_values[], base 538 components/autofill/core/browser/autofill_manager_unittest.cc const base::string16 expected_labels[], base 539 components/autofill/core/browser/autofill_manager_unittest.cc const base::string16 expected_icons[], base 550 components/autofill/core/browser/autofill_manager_unittest.cc SCOPED_TRACE(base::StringPrintf("i: %" PRIuS, i)); base 578 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> autofill_values_; base 579 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> autofill_labels_; base 580 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> autofill_icons_; base 632 components/autofill/core/browser/autofill_manager_unittest.cc const std::vector<base::string16>& result) { base 637 components/autofill/core/browser/autofill_manager_unittest.cc autofill_manager_->OnFormsSeen(forms, base::TimeTicks(), base 642 components/autofill/core/browser/autofill_manager_unittest.cc autofill_manager_->OnFormsSeen(forms, base::TimeTicks(), base 647 components/autofill/core/browser/autofill_manager_unittest.cc autofill_manager_->OnFormsSeen(forms, base::TimeTicks(), base 653 components/autofill/core/browser/autofill_manager_unittest.cc if (autofill_manager_->OnFormSubmitted(form, base::TimeTicks::Now())) base 688 components/autofill/core/browser/autofill_manager_unittest.cc base::MessageLoop message_loop_; base 735 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 738 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 744 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base 748 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {base::string16(), base::string16()}; base 770 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 773 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = {ASCIIToUTF16("Elvis")}; base 774 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = {ASCIIToUTF16("3734 Elvis Presley Blvd.")}; base 775 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {base::string16()}; base 829 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 832 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 836 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base 840 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {base::string16(), base::string16()}; base 878 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 881 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 884 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = {base::string16()}; base 885 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {base::string16()}; base 896 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> suggestions; base 901 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values2[] = { base 906 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels2[] = { base::string16(), base::string16(), base 907 components/autofill/core/browser/autofill_manager_unittest.cc base::string16()}; base 908 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons2[] = { base::string16(), base::string16(), base 909 components/autofill/core/browser/autofill_manager_unittest.cc base::string16()}; base 935 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 938 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 942 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { ASCIIToUTF16("*3456"), base 944 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base 972 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 975 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = {ASCIIToUTF16("************3456")}; base 976 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = {ASCIIToUTF16("*3456")}; base 977 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {ASCIIToUTF16(kVisaCard)}; base 998 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1001 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1005 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { ASCIIToUTF16("*3456"), base 1007 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base 1034 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1037 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1040 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = {base::string16()}; base 1041 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {base::string16()}; base 1052 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> suggestions; base 1057 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values2[] = { base 1062 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels2[] = { base::string16(), base::string16(), base 1063 components/autofill/core/browser/autofill_manager_unittest.cc base::string16() }; base 1064 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons2[] = { base::string16(), base::string16(), base 1065 components/autofill/core/browser/autofill_manager_unittest.cc base::string16() }; base 1100 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1103 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1108 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base 1113 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base 1142 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1145 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1149 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base 1153 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {base::string16(), base::string16()}; base 1165 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1168 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values2[] = { base 1172 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels2[] = { ASCIIToUTF16("*3456"), base 1174 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons2[] = { base 1204 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1207 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1211 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base 1215 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {base::string16(), base::string16()}; base 1227 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1230 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values2[] = { base 1233 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels2[] = {base::string16()}; base 1234 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons2[] = {base::string16()}; base 1259 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> suggestions; base 1267 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1273 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base 1276 components/autofill/core/browser/autofill_manager_unittest.cc base::string16(), base 1277 components/autofill/core/browser/autofill_manager_unittest.cc base::string16() base 1279 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base::string16(), base::string16(), base 1280 components/autofill/core/browser/autofill_manager_unittest.cc base::string16(), base::string16()}; base 1303 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1306 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1310 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = {base::string16(), base::string16()}; base 1311 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {base::string16(), base::string16()}; base 1334 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> suggestions; base 1340 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1344 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = {base::string16(), base::string16()}; base 1345 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = {base::string16(), base::string16()}; base 1375 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1378 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { ASCIIToUTF16("Elvis") }; base 1379 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base::string16() }; base 1380 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base::string16() }; base 1401 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> multi_values(2); base 1417 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1420 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1424 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base 1428 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base::string16(), base::string16() }; base 1444 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1447 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { ASCIIToUTF16("Elena") }; base 1448 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { ASCIIToUTF16("me@x.com") }; base 1449 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base::string16() }; base 1469 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> multi_values(3); base 1484 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1487 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1492 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base::string16(), base::string16(), base 1493 components/autofill/core/browser/autofill_manager_unittest.cc base::string16() }; base 1494 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base::string16(), base::string16(), base 1495 components/autofill/core/browser/autofill_manager_unittest.cc base::string16() }; base 1511 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> multi_values(1); base 1523 components/autofill/core/browser/autofill_manager_unittest.cc AutocompleteSuggestionsReturned(std::vector<base::string16>()); base 1526 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 1533 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base 1538 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base::string16(), base::string16(), base 1539 components/autofill/core/browser/autofill_manager_unittest.cc base::string16()}; base 1757 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(base::string16(), response_data.fields[i].value); base 1782 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(base::string16(), response_data.fields[i].value); base 1791 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 name = secondSection.fields[i].name; base 1792 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 original_name = name.substr(0, name.size() - 1); base 2059 components/autofill/core/browser/autofill_manager_unittest.cc const base::string16 elvis_name = profile->GetRawInfo(NAME_FULL); base 2061 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> name_variants; base 2162 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(base::string16(), response_data1.fields[4].value); base 2177 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(base::string16(), response_data2.fields[4].value); base 2197 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(base::string16(), response_data3.fields[4].value); base 2212 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(base::string16(), response_data4.fields[4].value); base 2215 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> phone_variants; base 2235 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(base::string16(), response_data5.fields[4].value); base 2369 components/autofill/core/browser/autofill_manager_unittest.cc std::vector<base::string16> suggestions; base 2374 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_values[] = { base 2378 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_labels[] = { base::string16(), base::string16()}; base 2379 components/autofill/core/browser/autofill_manager_unittest.cc base::string16 expected_icons[] = { base::string16(), base::string16()}; base 2860 components/autofill/core/browser/autofill_manager_unittest.cc const base::Callback<void(const FormStructure*)>& callback) OVERRIDE { base 26 components/autofill/core/browser/autofill_merge_unittest.cc const base::FilePath::CharType kTestName[] = FILE_PATH_LITERAL("merge"); base 27 components/autofill/core/browser/autofill_merge_unittest.cc const base::FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("*.in"); base 48 components/autofill/core/browser/autofill_merge_unittest.cc const base::FilePath& GetTestDataDir() { base 49 components/autofill/core/browser/autofill_merge_unittest.cc CR_DEFINE_STATIC_LOCAL(base::FilePath, dir, ()); base 51 components/autofill/core/browser/autofill_merge_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &dir); base 67 components/autofill/core/browser/autofill_merge_unittest.cc std::vector<base::string16> values; base 72 components/autofill/core/browser/autofill_merge_unittest.cc result += base::UTF16ToUTF8(values[k]); base 187 components/autofill/core/browser/autofill_merge_unittest.cc form.name = base::ASCIIToUTF16("MyTestForm"); base 188 components/autofill/core/browser/autofill_merge_unittest.cc form.method = base::ASCIIToUTF16("POST"); base 203 components/autofill/core/browser/autofill_merge_unittest.cc base::string16 field_type = base 204 components/autofill/core/browser/autofill_merge_unittest.cc base::UTF8ToUTF16(line.substr(0, separator_pos)); base 205 components/autofill/core/browser/autofill_merge_unittest.cc base::string16 value = base 206 components/autofill/core/browser/autofill_merge_unittest.cc base::UTF8ToUTF16(line.substr(separator_pos + kFieldOffset)); base 227 components/autofill/core/browser/autofill_merge_unittest.cc StringToFieldType(base::UTF16ToUTF8(field->name)); base 184 components/autofill/core/browser/autofill_metrics.cc base::HistogramBase* histogram = base 185 components/autofill/core/browser/autofill_metrics.cc base::LinearHistogram::FactoryGet( base 190 components/autofill/core/browser/autofill_metrics.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 197 components/autofill/core/browser/autofill_metrics.cc const base::TimeDelta& duration) { base 199 components/autofill/core/browser/autofill_metrics.cc base::HistogramBase* histogram = base 200 components/autofill/core/browser/autofill_metrics.cc base::Histogram::FactoryTimeGet( base 202 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMilliseconds(1), base 203 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromSeconds(10), base 205 components/autofill/core/browser/autofill_metrics.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 212 components/autofill/core/browser/autofill_metrics.cc const base::TimeDelta& duration) { base 214 components/autofill/core/browser/autofill_metrics.cc base::HistogramBase* histogram = base 215 components/autofill/core/browser/autofill_metrics.cc base::Histogram::FactoryTimeGet( base 217 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMilliseconds(1), base 218 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromHours(1), base 220 components/autofill/core/browser/autofill_metrics.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 275 components/autofill/core/browser/autofill_metrics.cc const base::TimeDelta& duration) const { base 291 components/autofill/core/browser/autofill_metrics.cc const base::TimeDelta& duration, base 321 components/autofill/core/browser/autofill_metrics.cc const base::TimeDelta& duration) const { base 386 components/autofill/core/browser/autofill_metrics.cc const base::TimeDelta& duration) const { base 389 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMilliseconds(100), base 390 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMinutes(10), base 395 components/autofill/core/browser/autofill_metrics.cc const base::TimeDelta& duration) const { base 398 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMilliseconds(100), base 399 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMinutes(10), base 404 components/autofill/core/browser/autofill_metrics.cc const base::TimeDelta& duration) const { base 408 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMilliseconds(100), base 409 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMinutes(10), base 414 components/autofill/core/browser/autofill_metrics.cc const base::TimeDelta& duration) const { base 418 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMilliseconds(100), base 419 components/autofill/core/browser/autofill_metrics.cc base::TimeDelta::FromMinutes(10), base 15 components/autofill/core/browser/autofill_metrics.h namespace base { base 341 components/autofill/core/browser/autofill_metrics.h virtual void LogDialogLatencyToShow(const base::TimeDelta& duration) const; base 354 components/autofill/core/browser/autofill_metrics.h const base::TimeDelta& duration, base 366 components/autofill/core/browser/autofill_metrics.h const base::TimeDelta& duration) const; base 382 components/autofill/core/browser/autofill_metrics.h const base::TimeDelta& duration) const; base 388 components/autofill/core/browser/autofill_metrics.h const base::TimeDelta& duration) const; base 394 components/autofill/core/browser/autofill_metrics.h const base::TimeDelta& duration) const; base 400 components/autofill/core/browser/autofill_metrics.h const base::TimeDelta& duration) const; base 32 components/autofill/core/browser/autofill_metrics_unittest.cc using base::ASCIIToUTF16; base 33 components/autofill/core/browser/autofill_metrics_unittest.cc using base::TimeDelta; base 34 components/autofill/core/browser/autofill_metrics_unittest.cc using base::TimeTicks; base 193 components/autofill/core/browser/autofill_metrics_unittest.cc empty_form.fields[i].value = base::string16(); base 203 components/autofill/core/browser/autofill_metrics_unittest.cc run_loop_.reset(new base::RunLoop()); base 213 components/autofill/core/browser/autofill_metrics_unittest.cc const base::TimeTicks& load_time, base 214 components/autofill/core/browser/autofill_metrics_unittest.cc const base::TimeTicks& interaction_time, base 215 components/autofill/core/browser/autofill_metrics_unittest.cc const base::TimeTicks& submission_time) OVERRIDE { base 226 components/autofill/core/browser/autofill_metrics_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 241 components/autofill/core/browser/autofill_metrics_unittest.cc base::MessageLoop message_loop_; base 818 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields[2].value = base::string16(); base 32 components/autofill/core/browser/autofill_popup_delegate.h virtual void DidSelectSuggestion(const base::string16& value, base 36 components/autofill/core/browser/autofill_popup_delegate.h virtual void DidAcceptSuggestion(const base::string16& value, base 40 components/autofill/core/browser/autofill_popup_delegate.h virtual void RemoveSuggestion(const base::string16& value, base 30 components/autofill/core/browser/autofill_profile.cc using base::ASCIIToUTF16; base 31 components/autofill/core/browser/autofill_profile.cc using base::UTF16ToUTF8; base 113 components/autofill/core/browser/autofill_profile.cc const base::string16 MultiString(const AutofillProfile& p, base 115 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16> values; base 117 components/autofill/core/browser/autofill_profile.cc base::string16 accumulate; base 126 components/autofill/core/browser/autofill_profile.cc base::string16 GetFormGroupInfo(const FormGroup& form_group, base 136 components/autofill/core/browser/autofill_profile.cc const std::vector<base::string16>& values, base 152 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16>* values) { base 192 components/autofill/core/browser/autofill_profile.cc FindByPhone(const base::string16& phone, base 200 components/autofill/core/browser/autofill_profile.cc bool operator()(const base::string16& phone) { base 204 components/autofill/core/browser/autofill_profile.cc bool operator()(const base::string16* phone) { base 209 components/autofill/core/browser/autofill_profile.cc base::string16 phone_; base 216 components/autofill/core/browser/autofill_profile.cc : public std::binary_function<base::string16, base::string16, bool> base 218 components/autofill/core/browser/autofill_profile.cc bool operator()(const base::string16& x, const base::string16& y) const { base 235 components/autofill/core/browser/autofill_profile.cc : AutofillDataModel(base::GenerateGUID(), std::string()), base 270 components/autofill/core/browser/autofill_profile.cc const base::string16& text, base 278 components/autofill/core/browser/autofill_profile.cc base::string16 AutofillProfile::GetRawInfo(ServerFieldType type) const { base 281 components/autofill/core/browser/autofill_profile.cc return base::string16(); base 287 components/autofill/core/browser/autofill_profile.cc const base::string16& value) { base 293 components/autofill/core/browser/autofill_profile.cc base::string16 AutofillProfile::GetInfo(const AutofillType& type, base 297 components/autofill/core/browser/autofill_profile.cc return base::string16(); base 303 components/autofill/core/browser/autofill_profile.cc const base::string16& value, base 309 components/autofill/core/browser/autofill_profile.cc base::string16 trimmed_value; base 310 components/autofill/core/browser/autofill_profile.cc base::TrimWhitespace(value, base::TRIM_ALL, &trimmed_value); base 314 components/autofill/core/browser/autofill_profile.cc base::string16 AutofillProfile::GetInfoForVariant( base 318 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16> values; base 324 components/autofill/core/browser/autofill_profile.cc return base::string16(); base 332 components/autofill/core/browser/autofill_profile.cc const std::vector<base::string16>& values) { base 352 components/autofill/core/browser/autofill_profile.cc SetRawInfo(type, base::string16()); base 363 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16>* values) const { base 369 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16>* values) const { base 381 components/autofill/core/browser/autofill_profile.cc base::string16 data = GetRawInfo(type); base 432 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16> values_a; base 433 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16> values_b; base 460 components/autofill/core/browser/autofill_profile.cc const base::string16 AutofillProfile::PrimaryValue() const { base 485 components/autofill/core/browser/autofill_profile.cc base::UTF16ToASCII(GetRawInfo(ADDRESS_HOME_COUNTRY)), base 520 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16> new_values; base 522 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16> existing_values; base 531 components/autofill/core/browser/autofill_profile.cc for (std::vector<base::string16>::iterator value_iter = base 538 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16>::const_iterator existing_iter = base 548 components/autofill/core/browser/autofill_profile.cc base::string16 new_value = profile.GetRawInfo(*iter); base 570 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16>* labels) { base 583 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16>* labels) { base 591 components/autofill/core/browser/autofill_profile.cc std::map<base::string16, std::list<size_t> > labels_to_profiles; base 593 components/autofill/core/browser/autofill_profile.cc base::string16 label = base 600 components/autofill/core/browser/autofill_profile.cc for (std::map<base::string16, std::list<size_t> >::const_iterator it = base 605 components/autofill/core/browser/autofill_profile.cc base::string16 label = it->first; base 627 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16>* values) const { base 647 components/autofill/core/browser/autofill_profile.cc const base::string16& phone, base 649 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16>* existing_phones) { base 654 components/autofill/core/browser/autofill_profile.cc base::UTF16ToASCII(GetRawInfo(ADDRESS_HOME_COUNTRY)); base 662 components/autofill/core/browser/autofill_profile.cc base::string16 AutofillProfile::ConstructInferredLabel( base 665 components/autofill/core/browser/autofill_profile.cc const base::string16 separator = base 668 components/autofill/core/browser/autofill_profile.cc base::string16 label; base 674 components/autofill/core/browser/autofill_profile.cc base::string16 field = GetRawInfo(*it); base 686 components/autofill/core/browser/autofill_profile.cc const base::char16 kNewline[] = { '\n', 0 }; base 687 components/autofill/core/browser/autofill_profile.cc const base::string16 newline_separator = base 689 components/autofill/core/browser/autofill_profile.cc base::ReplaceChars(label, kNewline, newline_separator, &label); base 700 components/autofill/core/browser/autofill_profile.cc std::vector<base::string16>* labels) { base 704 components/autofill/core/browser/autofill_profile.cc std::map<base::string16, size_t> > field_text_frequencies_by_field; base 707 components/autofill/core/browser/autofill_profile.cc std::map<base::string16, size_t>& field_text_frequencies = base 713 components/autofill/core/browser/autofill_profile.cc base::string16 field_text = profile->GetRawInfo(*field); base 740 components/autofill/core/browser/autofill_profile.cc base::string16 field_text = profile->GetRawInfo(*field); base 744 components/autofill/core/browser/autofill_profile.cc std::map<base::string16, size_t>& field_text_frequencies = base 747 components/autofill/core/browser/autofill_profile.cc !field_text_frequencies.count(base::string16()) && base 44 components/autofill/core/browser/autofill_profile.h const base::string16& text, base 47 components/autofill/core/browser/autofill_profile.h virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE; base 49 components/autofill/core/browser/autofill_profile.h const base::string16& value) OVERRIDE; base 50 components/autofill/core/browser/autofill_profile.h virtual base::string16 GetInfo(const AutofillType& type, base 53 components/autofill/core/browser/autofill_profile.h const base::string16& value, base 57 components/autofill/core/browser/autofill_profile.h virtual base::string16 GetInfoForVariant( base 64 components/autofill/core/browser/autofill_profile.h const std::vector<base::string16>& values); base 66 components/autofill/core/browser/autofill_profile.h std::vector<base::string16>* values) const; base 69 components/autofill/core/browser/autofill_profile.h std::vector<base::string16>* values) const; base 95 components/autofill/core/browser/autofill_profile.h const base::string16 PrimaryValue() const; base 119 components/autofill/core/browser/autofill_profile.h std::vector<base::string16>* labels); base 133 components/autofill/core/browser/autofill_profile.h std::vector<base::string16>* labels); base 147 components/autofill/core/browser/autofill_profile.h std::vector<base::string16>* values) const; base 153 components/autofill/core/browser/autofill_profile.h void AddPhoneIfUnique(const base::string16& phone, base 155 components/autofill/core/browser/autofill_profile.h std::vector<base::string16>* existing_phones); base 160 components/autofill/core/browser/autofill_profile.h base::string16 ConstructInferredLabel( base 174 components/autofill/core/browser/autofill_profile.h std::vector<base::string16>* labels); base 19 components/autofill/core/browser/autofill_profile_unittest.cc using base::ASCIIToUTF16; base 25 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 GetLabel(AutofillProfile* profile) { base 28 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> labels; base 39 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile0(base::GenerateGUID(), "https://www.example.com/"); base 41 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary0 = GetLabel(&profile0); base 42 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(), summary0); base 46 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile00(base::GenerateGUID(), "https://www.example.com/"); base 50 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary00 = GetLabel(&profile00); base 54 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com/"); base 58 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary1 = GetLabel(&profile1); base 62 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile1a(base::GenerateGUID(), "https://www.example.com/"); base 66 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary1a = GetLabel(&profile1a); base 70 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile2(base::GenerateGUID(), "https://www.example.com/"); base 74 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary2 = GetLabel(&profile2); base 79 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile3(base::GenerateGUID(), "https://www.example.com/"); base 83 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary3 = GetLabel(&profile3); base 87 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile4(base::GenerateGUID(), "https://www.example.com/"); base 91 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary4 = GetLabel(&profile4); base 95 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile5(base::GenerateGUID(), "https://www.example.com/"); base 99 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary5 = GetLabel(&profile5); base 103 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile6(base::GenerateGUID(), "https://www.example.com/"); base 107 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary6 = GetLabel(&profile6); base 112 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile7(base::GenerateGUID(), "https://www.example.com/"); base 116 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary7 = GetLabel(&profile7); base 121 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile7a(base::GenerateGUID(), "https://www.example.com/"); base 128 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> labels; base 132 components/autofill/core/browser/autofill_profile_unittest.cc base::string16 summary7a = labels[1]; base 142 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 157 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "http://www.example.com/")); base 171 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> labels; base 178 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "Chrome settings")); base 206 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), std::string())); base 231 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 259 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 292 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 306 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 319 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> labels; base 371 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(), labels[0]); base 372 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(), labels[1]); base 391 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(ASCIIToUTF16("666 Erebus St.")), labels[0]); base 392 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(ASCIIToUTF16("123 Letha Shore.")), labels[1]); base 400 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 405 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 416 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> labels; base 436 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 441 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 452 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> labels; base 464 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 469 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 474 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 479 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> labels; base 503 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 513 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> labels; base 525 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 527 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 544 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 546 components/autofill/core/browser/autofill_profile_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com/")); base 557 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile a(base::GenerateGUID(), "https://www.example.com"); base 562 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> names; base 573 components/autofill/core/browser/autofill_profile_unittest.cc b.set_guid(base::GenerateGUID()); base 576 components/autofill/core/browser/autofill_profile_unittest.cc b.SetRawInfo(COMPANY_NAME, base::string16()); base 593 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile a(base::GenerateGUID(), "https://www.example.com/"); base 600 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile b(base::GenerateGUID(), "http://www.example.com/"); base 610 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile a(base::GenerateGUID(), "https://www.example.com/"); base 622 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile a(base::GenerateGUID(), std::string()); base 623 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile b(base::GenerateGUID(), std::string()); base 629 components/autofill/core/browser/autofill_profile_unittest.cc a.set_guid(base::GenerateGUID()); base 630 components/autofill/core/browser/autofill_profile_unittest.cc b.set_guid(base::GenerateGUID()); base 657 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile p(base::GenerateGUID(), "https://www.example.com/"); base 658 components/autofill/core/browser/autofill_profile_unittest.cc const base::string16 kJohnDoe(ASCIIToUTF16("John Doe")); base 659 components/autofill/core/browser/autofill_profile_unittest.cc const base::string16 kJohnPDoe(ASCIIToUTF16("John P. Doe")); base 660 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> set_values; base 669 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> get_values; base 678 components/autofill/core/browser/autofill_profile_unittest.cc const base::string16 kNoOne(ASCIIToUTF16("No One")); base 692 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(), get_values[0]); base 695 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(), p.GetRawInfo(NAME_FULL)); base 699 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile p(base::GenerateGUID(), "https://www.example.com/"); base 700 components/autofill/core/browser/autofill_profile_unittest.cc const base::string16 kJohnDoe(ASCIIToUTF16("john@doe.com")); base 701 components/autofill/core/browser/autofill_profile_unittest.cc const base::string16 kJohnPDoe(ASCIIToUTF16("john_p@doe.com")); base 702 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> set_values; base 711 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> get_values; base 720 components/autofill/core/browser/autofill_profile_unittest.cc const base::string16 kNoOne(ASCIIToUTF16("no@one.com")); base 734 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(), get_values[0]); base 737 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(), p.GetRawInfo(EMAIL_ADDRESS)); base 741 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile p(base::GenerateGUID(), "https://www.example.com/"); base 742 components/autofill/core/browser/autofill_profile_unittest.cc const base::string16 kJohnDoe(ASCIIToUTF16("4151112222")); base 743 components/autofill/core/browser/autofill_profile_unittest.cc const base::string16 kJohnPDoe(ASCIIToUTF16("4151113333")); base 744 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> set_values; base 753 components/autofill/core/browser/autofill_profile_unittest.cc std::vector<base::string16> get_values; base 762 components/autofill/core/browser/autofill_profile_unittest.cc const base::string16 kNoOne(ASCIIToUTF16("4152110000")); base 776 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(), get_values[0]); base 779 components/autofill/core/browser/autofill_profile_unittest.cc EXPECT_EQ(base::string16(), p.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); base 783 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); base 813 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); base 824 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); base 836 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); base 844 components/autofill/core/browser/autofill_profile_unittest.cc AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); base 25 components/autofill/core/browser/autofill_regexes.cc icu::RegexMatcher* GetMatcher(const base::string16& pattern); base 33 components/autofill/core/browser/autofill_regexes.cc std::map<base::string16, icu::RegexMatcher*> matchers_; base 51 components/autofill/core/browser/autofill_regexes.cc icu::RegexMatcher* AutofillRegexes::GetMatcher(const base::string16& pattern) { base 71 components/autofill/core/browser/autofill_regexes.cc bool MatchesPattern(const base::string16& input, base 72 components/autofill/core/browser/autofill_regexes.cc const base::string16& pattern) { base 15 components/autofill/core/browser/autofill_regexes.h bool MatchesPattern(const base::string16& input, base 16 components/autofill/core/browser/autofill_regexes.h const base::string16& pattern); base 12 components/autofill/core/browser/autofill_regexes_unittest.cc using base::ASCIIToUTF16; base 22 components/autofill/core/browser/autofill_test_utils.cc using base::ASCIIToUTF16; base 37 components/autofill/core/browser/autofill_test_utils.cc base::PrefServiceFactory factory; base 88 components/autofill/core/browser/autofill_test_utils.cc profile->SetRawInfo(type, base::UTF8ToUTF16(value)); base 92 components/autofill/core/browser/autofill_test_utils.cc AutofillProfile profile(base::GenerateGUID(), "http://www.example.com/"); base 109 components/autofill/core/browser/autofill_test_utils.cc AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); base 138 components/autofill/core/browser/autofill_test_utils.cc CreditCard credit_card(base::GenerateGUID(), "http://www.example.com"); base 145 components/autofill/core/browser/autofill_test_utils.cc CreditCard credit_card(base::GenerateGUID(), "https://www.example.com"); base 140 components/autofill/core/browser/autofill_xml_parser_unittest.cc base::IntToString(MAX_VALID_FIELD_TYPE) + "\"/></autofillqueryresponse>"; base 45 components/autofill/core/browser/contact_info.cc base::string16 NameInfo::GetRawInfo(ServerFieldType type) const { base 64 components/autofill/core/browser/contact_info.cc return base::string16(); base 68 components/autofill/core/browser/contact_info.cc void NameInfo::SetRawInfo(ServerFieldType type, const base::string16& value) { base 93 components/autofill/core/browser/contact_info.cc base::string16 NameInfo::FullName() const { base 94 components/autofill/core/browser/contact_info.cc std::vector<base::string16> full_name; base 107 components/autofill/core/browser/contact_info.cc base::string16 NameInfo::MiddleInitial() const { base 109 components/autofill/core/browser/contact_info.cc return base::string16(); base 111 components/autofill/core/browser/contact_info.cc base::string16 middle_name(middle()); base 112 components/autofill/core/browser/contact_info.cc base::string16 initial; base 117 components/autofill/core/browser/contact_info.cc void NameInfo::SetFullName(const base::string16& full) { base 119 components/autofill/core/browser/contact_info.cc first_ = base::string16(); base 120 components/autofill/core/browser/contact_info.cc middle_ = base::string16(); base 121 components/autofill/core/browser/contact_info.cc last_ = base::string16(); base 123 components/autofill/core/browser/contact_info.cc std::vector<base::string16> full_name_tokens; base 124 components/autofill/core/browser/contact_info.cc Tokenize(full, base::ASCIIToUTF16(" "), &full_name_tokens); base 161 components/autofill/core/browser/contact_info.cc base::string16 EmailInfo::GetRawInfo(ServerFieldType type) const { base 165 components/autofill/core/browser/contact_info.cc return base::string16(); base 168 components/autofill/core/browser/contact_info.cc void EmailInfo::SetRawInfo(ServerFieldType type, const base::string16& value) { base 193 components/autofill/core/browser/contact_info.cc base::string16 CompanyInfo::GetRawInfo(ServerFieldType type) const { base 197 components/autofill/core/browser/contact_info.cc return base::string16(); base 201 components/autofill/core/browser/contact_info.cc const base::string16& value) { base 27 components/autofill/core/browser/contact_info.h virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE; base 29 components/autofill/core/browser/contact_info.h const base::string16& value) OVERRIDE; base 38 components/autofill/core/browser/contact_info.h base::string16 FullName() const; base 42 components/autofill/core/browser/contact_info.h base::string16 MiddleInitial() const; base 44 components/autofill/core/browser/contact_info.h const base::string16& first() const { return first_; } base 45 components/autofill/core/browser/contact_info.h const base::string16& middle() const { return middle_; } base 46 components/autofill/core/browser/contact_info.h const base::string16& last() const { return last_; } base 50 components/autofill/core/browser/contact_info.h void SetFullName(const base::string16& full); base 52 components/autofill/core/browser/contact_info.h base::string16 first_; base 53 components/autofill/core/browser/contact_info.h base::string16 middle_; base 54 components/autofill/core/browser/contact_info.h base::string16 last_; base 66 components/autofill/core/browser/contact_info.h virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE; base 68 components/autofill/core/browser/contact_info.h const base::string16& value) OVERRIDE; base 75 components/autofill/core/browser/contact_info.h base::string16 email_; base 87 components/autofill/core/browser/contact_info.h virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE; base 89 components/autofill/core/browser/contact_info.h const base::string16& value) OVERRIDE; base 96 components/autofill/core/browser/contact_info.h base::string16 company_name_; base 14 components/autofill/core/browser/contact_info_unittest.cc using base::ASCIIToUTF16; base 22 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_MIDDLE), base::string16()); base 23 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_LAST), base::string16()); base 28 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_MIDDLE), base::string16()); base 51 components/autofill/core/browser/contact_info_unittest.cc name.SetRawInfo(NAME_MIDDLE, base::string16()); base 52 components/autofill/core/browser/contact_info_unittest.cc name.SetRawInfo(NAME_LAST, base::string16()); base 54 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_MIDDLE), base::string16()); base 55 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_LAST), base::string16()); base 58 components/autofill/core/browser/contact_info_unittest.cc name.SetRawInfo(NAME_FIRST, base::string16()); base 60 components/autofill/core/browser/contact_info_unittest.cc name.SetRawInfo(NAME_LAST, base::string16()); base 61 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_FIRST), base::string16()); base 63 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_LAST), base::string16()); base 66 components/autofill/core/browser/contact_info_unittest.cc name.SetRawInfo(NAME_FIRST, base::string16()); base 67 components/autofill/core/browser/contact_info_unittest.cc name.SetRawInfo(NAME_MIDDLE, base::string16()); base 69 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_FIRST), base::string16()); base 70 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_MIDDLE), base::string16()); base 76 components/autofill/core/browser/contact_info_unittest.cc name.SetRawInfo(NAME_LAST, base::string16()); base 79 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_LAST), base::string16()); base 83 components/autofill/core/browser/contact_info_unittest.cc name.SetRawInfo(NAME_MIDDLE, base::string16()); base 86 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_MIDDLE), base::string16()); base 90 components/autofill/core/browser/contact_info_unittest.cc name.SetRawInfo(NAME_FIRST, base::string16()); base 93 components/autofill/core/browser/contact_info_unittest.cc EXPECT_EQ(name.GetRawInfo(NAME_FIRST), base::string16()); base 37 components/autofill/core/browser/credit_card.cc const base::char16 kCreditCardObfuscationSymbol = '*'; base 44 components/autofill/core/browser/credit_card.cc bool ConvertYear(const base::string16& year, int* num) { base 52 components/autofill/core/browser/credit_card.cc if (base::StringToInt(year, num)) base 59 components/autofill/core/browser/credit_card.cc bool ConvertMonth(const base::string16& month, base 69 components/autofill/core/browser/credit_card.cc if (base::StringToInt(month, num)) base 78 components/autofill/core/browser/credit_card.cc base::string16 lowercased_month = StringToLowerASCII(month); base 89 components/autofill/core/browser/credit_card.cc const base::string16 icu_month = base::string16(months[i].getBuffer(), base 99 components/autofill/core/browser/credit_card.cc const base::string16 icu_month = base::string16(months[i].getBuffer(), base 121 components/autofill/core/browser/credit_card.cc : AutofillDataModel(base::GenerateGUID(), std::string()), base 135 components/autofill/core/browser/credit_card.cc const base::string16 CreditCard::StripSeparators(const base::string16& number) { base 136 components/autofill/core/browser/credit_card.cc const base::char16 kSeparators[] = {'-', ' ', '\0'}; base 137 components/autofill/core/browser/credit_card.cc base::string16 stripped; base 138 components/autofill/core/browser/credit_card.cc base::RemoveChars(number, kSeparators, &stripped); base 143 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::TypeForDisplay(const std::string& type) { base 162 components/autofill/core/browser/credit_card.cc return base::string16(); base 189 components/autofill/core/browser/credit_card.cc std::string CreditCard::GetCreditCardType(const base::string16& number) { base 225 components/autofill/core/browser/credit_card.cc if (!base::StringToInt(number.substr(0, 2), &first_two_digits)) base 250 components/autofill/core/browser/credit_card.cc if (!base::StringToInt(number.substr(0, 3), &first_three_digits)) base 264 components/autofill/core/browser/credit_card.cc if (!base::StringToInt(number.substr(0, 4), &first_four_digits)) base 279 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::GetRawInfo(ServerFieldType type) const { base 295 components/autofill/core/browser/credit_card.cc base::string16 month = ExpirationMonthAsString(); base 296 components/autofill/core/browser/credit_card.cc base::string16 year = Expiration2DigitYearAsString(); base 298 components/autofill/core/browser/credit_card.cc return month + base::ASCIIToUTF16("/") + year; base 299 components/autofill/core/browser/credit_card.cc return base::string16(); base 303 components/autofill/core/browser/credit_card.cc base::string16 month = ExpirationMonthAsString(); base 304 components/autofill/core/browser/credit_card.cc base::string16 year = Expiration4DigitYearAsString(); base 306 components/autofill/core/browser/credit_card.cc return month + base::ASCIIToUTF16("/") + year; base 307 components/autofill/core/browser/credit_card.cc return base::string16(); base 318 components/autofill/core/browser/credit_card.cc return base::string16(); base 322 components/autofill/core/browser/credit_card.cc return base::string16(); base 327 components/autofill/core/browser/credit_card.cc const base::string16& value) { base 375 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::GetInfo(const AutofillType& type, base 385 components/autofill/core/browser/credit_card.cc const base::string16& value, base 398 components/autofill/core/browser/credit_card.cc void CreditCard::GetMatchingTypes(const base::string16& text, base 403 components/autofill/core/browser/credit_card.cc base::string16 card_number = base 415 components/autofill/core/browser/credit_card.cc const base::string16 CreditCard::Label() const { base 416 components/autofill/core/browser/credit_card.cc base::string16 label; base 420 components/autofill/core/browser/credit_card.cc base::string16 obfuscated_cc_number = ObfuscatedNumber(); base 425 components/autofill/core/browser/credit_card.cc base::string16 formatted_date(ExpirationMonthAsString()); base 426 components/autofill/core/browser/credit_card.cc formatted_date.append(base::ASCIIToUTF16("/")); base 435 components/autofill/core/browser/credit_card.cc void CreditCard::SetInfoForMonthInputType(const base::string16& value) { base 438 components/autofill/core/browser/credit_card.cc base::UTF8ToUTF16("^[0-9]{4}-[0-9]{1,2}$"))) { base 442 components/autofill/core/browser/credit_card.cc std::vector<base::string16> year_month; base 443 components/autofill/core/browser/credit_card.cc base::SplitString(value, L'-', &year_month); base 447 components/autofill/core/browser/credit_card.cc converted = base::StringToInt(year_month[0], &num); base 450 components/autofill/core/browser/credit_card.cc converted = base::StringToInt(year_month[1], &num); base 455 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::ObfuscatedNumber() const { base 460 components/autofill/core/browser/credit_card.cc base::string16 number = StripSeparators(number_); base 464 components/autofill/core/browser/credit_card.cc base::string16 result(obfuscated_digits, kCreditCardObfuscationSymbol); base 468 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::LastFourDigits() const { base 471 components/autofill/core/browser/credit_card.cc base::string16 number = StripSeparators(number_); base 473 components/autofill/core/browser/credit_card.cc return base::string16(); base 478 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::TypeForDisplay() const { base 482 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::TypeAndLastFourDigits() const { base 483 components/autofill/core/browser/credit_card.cc base::string16 type = TypeForDisplay(); base 487 components/autofill/core/browser/credit_card.cc base::string16 digits = LastFourDigits(); base 492 components/autofill/core/browser/credit_card.cc return type + base::ASCIIToUTF16(" - ") + digits; base 583 components/autofill/core/browser/credit_card.cc expiration_year_, expiration_month_, base::Time::Now()); base 597 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::ExpirationMonthAsString() const { base 599 components/autofill/core/browser/credit_card.cc return base::string16(); base 601 components/autofill/core/browser/credit_card.cc base::string16 month = base::IntToString16(expiration_month_); base 605 components/autofill/core/browser/credit_card.cc base::string16 zero = base::ASCIIToUTF16("0"); base 610 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::Expiration4DigitYearAsString() const { base 612 components/autofill/core/browser/credit_card.cc return base::string16(); base 614 components/autofill/core/browser/credit_card.cc return base::IntToString16(Expiration4DigitYear()); base 617 components/autofill/core/browser/credit_card.cc base::string16 CreditCard::Expiration2DigitYearAsString() const { base 619 components/autofill/core/browser/credit_card.cc return base::string16(); base 621 components/autofill/core/browser/credit_card.cc return base::IntToString16(Expiration2DigitYear()); base 624 components/autofill/core/browser/credit_card.cc void CreditCard::SetExpirationMonthFromString(const base::string16& text, base 633 components/autofill/core/browser/credit_card.cc void CreditCard::SetExpirationYearFromString(const base::string16& text) { base 641 components/autofill/core/browser/credit_card.cc void CreditCard::SetNumber(const base::string16& number) { base 665 components/autofill/core/browser/credit_card.cc << base::UTF16ToUTF8(credit_card.Label()) base 671 components/autofill/core/browser/credit_card.cc << base::UTF16ToUTF8(credit_card.GetRawInfo(CREDIT_CARD_NAME)) base 673 components/autofill/core/browser/credit_card.cc << base::UTF16ToUTF8(credit_card.GetRawInfo(CREDIT_CARD_TYPE)) base 675 components/autofill/core/browser/credit_card.cc << base::UTF16ToUTF8(credit_card.GetRawInfo(CREDIT_CARD_NUMBER)) base 677 components/autofill/core/browser/credit_card.cc << base::UTF16ToUTF8(credit_card.GetRawInfo(CREDIT_CARD_EXP_MONTH)) base 679 components/autofill/core/browser/credit_card.cc << base::UTF16ToUTF8( base 31 components/autofill/core/browser/credit_card.h static const base::string16 StripSeparators(const base::string16& number); base 34 components/autofill/core/browser/credit_card.h static base::string16 TypeForDisplay(const std::string& type); base 46 components/autofill/core/browser/credit_card.h static std::string GetCreditCardType(const base::string16& number); base 50 components/autofill/core/browser/credit_card.h const base::string16& text, base 53 components/autofill/core/browser/credit_card.h virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE; base 55 components/autofill/core/browser/credit_card.h const base::string16& value) OVERRIDE; base 56 components/autofill/core/browser/credit_card.h virtual base::string16 GetInfo(const AutofillType& type, base 59 components/autofill/core/browser/credit_card.h const base::string16& value, base 63 components/autofill/core/browser/credit_card.h const base::string16 Label() const; base 66 components/autofill/core/browser/credit_card.h void SetInfoForMonthInputType(const base::string16& value); base 69 components/autofill/core/browser/credit_card.h base::string16 ObfuscatedNumber() const; base 71 components/autofill/core/browser/credit_card.h base::string16 LastFourDigits() const; base 73 components/autofill/core/browser/credit_card.h base::string16 TypeForDisplay() const; base 75 components/autofill/core/browser/credit_card.h base::string16 TypeAndLastFourDigits() const; base 115 components/autofill/core/browser/credit_card.h const base::string16& number() const { return number_; } base 125 components/autofill/core/browser/credit_card.h base::string16 ExpirationMonthAsString() const; base 126 components/autofill/core/browser/credit_card.h base::string16 Expiration4DigitYearAsString() const; base 127 components/autofill/core/browser/credit_card.h base::string16 Expiration2DigitYearAsString() const; base 130 components/autofill/core/browser/credit_card.h void SetExpirationMonthFromString(const base::string16& text, base 134 components/autofill/core/browser/credit_card.h void SetExpirationYearFromString(const base::string16& text); base 137 components/autofill/core/browser/credit_card.h void SetNumber(const base::string16& number); base 144 components/autofill/core/browser/credit_card.h base::string16 number_; // The credit card number. base 145 components/autofill/core/browser/credit_card.h base::string16 name_on_card_; // The cardholder's name. base 35 components/autofill/core/browser/credit_card_field.cc if (ParseField(scanner, base::UTF8ToUTF16(autofill::kGiftCardRe), NULL)) base 45 components/autofill/core/browser/credit_card_field.cc base::string16 name_pattern; base 48 components/autofill/core/browser/credit_card_field.cc name_pattern = base::UTF8ToUTF16(autofill::kNameOnCardRe); base 50 components/autofill/core/browser/credit_card_field.cc name_pattern = base::UTF8ToUTF16(autofill::kNameOnCardContextualRe); base 62 components/autofill/core/browser/credit_card_field.cc if (ParseField(scanner, base::ASCIIToUTF16("^cfnm"), &first) && base 63 components/autofill/core/browser/credit_card_field.cc ParseField(scanner, base::ASCIIToUTF16("^clnm"), base 72 components/autofill/core/browser/credit_card_field.cc base::string16 type_pattern = base::UTF8ToUTF16(autofill::kCardTypeRe); base 85 components/autofill/core/browser/credit_card_field.cc base::string16 pattern = base::UTF8ToUTF16(autofill::kCardCvcRe); base 91 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kCardNumberRe); base 103 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kExpirationMonthRe); base 107 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kExpirationYearRe); base 118 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kExpirationDate2DigitYearRe); base 128 components/autofill/core/browser/credit_card_field.cc pattern = base::UTF8ToUTF16(autofill::kExpirationDateRe); base 151 components/autofill/core/browser/credit_card_field.cc if (ParseField(scanner, base::UTF8ToUTF16(autofill::kCardIgnoredRe), NULL)) base 14 components/autofill/core/browser/credit_card_field_unittest.cc using base::ASCIIToUTF16; base 16 components/autofill/core/browser/credit_card_unittest.cc using base::ASCIIToUTF16; base 58 components/autofill/core/browser/credit_card_unittest.cc CreditCard credit_card0(base::GenerateGUID(), "https://www.example.com/"); base 59 components/autofill/core/browser/credit_card_unittest.cc base::string16 summary0 = credit_card0.Label(); base 60 components/autofill/core/browser/credit_card_unittest.cc EXPECT_EQ(base::string16(), summary0); base 61 components/autofill/core/browser/credit_card_unittest.cc base::string16 obfuscated0 = credit_card0.ObfuscatedNumber(); base 62 components/autofill/core/browser/credit_card_unittest.cc EXPECT_EQ(base::string16(), obfuscated0); base 65 components/autofill/core/browser/credit_card_unittest.cc CreditCard credit_card00(base::GenerateGUID(), "https://www.example.com/"); base 67 components/autofill/core/browser/credit_card_unittest.cc base::string16 summary00 = credit_card00.Label(); base 68 components/autofill/core/browser/credit_card_unittest.cc EXPECT_EQ(base::string16(ASCIIToUTF16("John Dillinger")), summary00); base 69 components/autofill/core/browser/credit_card_unittest.cc base::string16 obfuscated00 = credit_card00.ObfuscatedNumber(); base 70 components/autofill/core/browser/credit_card_unittest.cc EXPECT_EQ(base::string16(), obfuscated00); base 73 components/autofill/core/browser/credit_card_unittest.cc CreditCard credit_card1(base::GenerateGUID(), "https://www.example.com/"); base 75 components/autofill/core/browser/credit_card_unittest.cc base::string16 summary1 = credit_card1.Label(); base 76 components/autofill/core/browser/credit_card_unittest.cc EXPECT_EQ(base::string16(ASCIIToUTF16("John Dillinger")), summary1); base 77 components/autofill/core/browser/credit_card_unittest.cc base::string16 obfuscated1 = credit_card1.ObfuscatedNumber(); base 78 components/autofill/core/browser/credit_card_unittest.cc EXPECT_EQ(base::string16(), obfuscated1); base 81 components/autofill/core/browser/credit_card_unittest.cc CreditCard credit_card2(base::GenerateGUID(), "https://www.example.com/"); base 84 components/autofill/core/browser/credit_card_unittest.cc base::string16 summary2 = credit_card2.Label(); base 86 components/autofill/core/browser/credit_card_unittest.cc base::string16 obfuscated2 = credit_card2.ObfuscatedNumber(); base 90 components/autofill/core/browser/credit_card_unittest.cc CreditCard credit_card3(base::GenerateGUID(), "https://www.example.com/"); base 93 components/autofill/core/browser/credit_card_unittest.cc base::string16 summary3 = credit_card3.Label(); base 95 components/autofill/core/browser/credit_card_unittest.cc base::string16 obfuscated3 = credit_card3.ObfuscatedNumber(); base 99 components/autofill/core/browser/credit_card_unittest.cc CreditCard credit_card4(base::GenerateGUID(), "https://www.example.com/"); base 102 components/autofill/core/browser/credit_card_unittest.cc base::string16 summary4 = credit_card4.Label(); base 104 components/autofill/core/browser/credit_card_unittest.cc base::string16 obfuscated4 = credit_card4.ObfuscatedNumber(); base 108 components/autofill/core/browser/credit_card_unittest.cc CreditCard credit_card5(base::GenerateGUID(), "https://www.example.com/"); base 113 components/autofill/core/browser/credit_card_unittest.cc base::string16 summary5 = credit_card5.Label(); base 115 components/autofill/core/browser/credit_card_unittest.cc base::string16 obfuscated5 = credit_card5.ObfuscatedNumber(); base 120 components/autofill/core/browser/credit_card_unittest.cc CreditCard a(base::GenerateGUID(), "some origin"); base 124 components/autofill/core/browser/credit_card_unittest.cc CreditCard b(base::GenerateGUID(), "some other origin"); base 134 components/autofill/core/browser/credit_card_unittest.cc CreditCard a(base::GenerateGUID(), "https://www.example.com"); base 143 components/autofill/core/browser/credit_card_unittest.cc CreditCard a(base::GenerateGUID(), std::string()); base 144 components/autofill/core/browser/credit_card_unittest.cc CreditCard b(base::GenerateGUID(), std::string()); base 150 components/autofill/core/browser/credit_card_unittest.cc a.set_guid(base::GenerateGUID()); base 151 components/autofill/core/browser/credit_card_unittest.cc b.set_guid(base::GenerateGUID()); base 183 components/autofill/core/browser/credit_card_unittest.cc CreditCard original_card(base::GenerateGUID(), "https://www.example.com"); base 191 components/autofill/core/browser/credit_card_unittest.cc b.set_guid(base::GenerateGUID()); base 205 components/autofill/core/browser/credit_card_unittest.cc b.SetRawInfo(CREDIT_CARD_NAME, base::string16()); base 256 components/autofill/core/browser/credit_card_unittest.cc CreditCard card(base::GenerateGUID(), "https://www.example.com/"); base 298 components/autofill/core/browser/credit_card_unittest.cc CreditCard card(base::GenerateGUID(), "https://www.example.com/"); base 308 components/autofill/core/browser/credit_card_unittest.cc CreditCard card(base::GenerateGUID(), "https://www.example.com/"); base 318 components/autofill/core/browser/credit_card_unittest.cc CreditCard card(base::GenerateGUID(), "https://www.example.com/"); base 345 components/autofill/core/browser/credit_card_unittest.cc CreditCard card(base::GenerateGUID(), "https://www.example.com/"); base 349 components/autofill/core/browser/credit_card_unittest.cc EXPECT_EQ(base::string16(), card.GetRawInfo(CREDIT_CARD_TYPE)); base 357 components/autofill/core/browser/credit_card_unittest.cc CreditCard card(base::GenerateGUID(), "https://www.example.com/"); base 361 components/autofill/core/browser/credit_card_unittest.cc EXPECT_EQ(base::string16(), card.GetRawInfo(CREDIT_CARD_VERIFICATION_CODE)); base 522 components/autofill/core/browser/credit_card_unittest.cc base::string16 card_number = ASCIIToUTF16(test_cases[i].card_number); base 17 components/autofill/core/browser/data_driven_test.cc bool ReadFile(const base::FilePath& file, std::string* content) { base 18 components/autofill/core/browser/data_driven_test.cc if (!base::ReadFileToString(file, content)) base 26 components/autofill/core/browser/data_driven_test.cc bool WriteFile(const base::FilePath& file, const std::string& content) { base 27 components/autofill/core/browser/data_driven_test.cc int write_size = base::WriteFile(file, content.c_str(), base 35 components/autofill/core/browser/data_driven_test.cc const base::FilePath& input_directory, base 36 components/autofill/core/browser/data_driven_test.cc const base::FilePath& output_directory, base 37 components/autofill/core/browser/data_driven_test.cc const base::FilePath::StringType& file_name_pattern) { base 38 components/autofill/core/browser/data_driven_test.cc ASSERT_TRUE(base::DirectoryExists(input_directory)); base 39 components/autofill/core/browser/data_driven_test.cc ASSERT_TRUE(base::DirectoryExists(output_directory)); base 40 components/autofill/core/browser/data_driven_test.cc base::FileEnumerator input_files(input_directory, base 42 components/autofill/core/browser/data_driven_test.cc base::FileEnumerator::FILES, base 45 components/autofill/core/browser/data_driven_test.cc for (base::FilePath input_file = input_files.Next(); base 56 components/autofill/core/browser/data_driven_test.cc base::FilePath output_file = output_directory.Append( base 68 components/autofill/core/browser/data_driven_test.cc base::FilePath DataDrivenTest::GetInputDirectory( base 69 components/autofill/core/browser/data_driven_test.cc const base::FilePath::StringType& test_name) { base 70 components/autofill/core/browser/data_driven_test.cc base::FilePath dir; base 77 components/autofill/core/browser/data_driven_test.cc base::FilePath DataDrivenTest::GetOutputDirectory( base 78 components/autofill/core/browser/data_driven_test.cc const base::FilePath::StringType& test_name) { base 79 components/autofill/core/browser/data_driven_test.cc base::FilePath dir; base 86 components/autofill/core/browser/data_driven_test.cc DataDrivenTest::DataDrivenTest(const base::FilePath& test_data_directory) base 27 components/autofill/core/browser/data_driven_test.h void RunDataDrivenTest(const base::FilePath& input_directory, base 28 components/autofill/core/browser/data_driven_test.h const base::FilePath& output_directory, base 29 components/autofill/core/browser/data_driven_test.h const base::FilePath::StringType& file_name_pattern); base 40 components/autofill/core/browser/data_driven_test.h base::FilePath GetInputDirectory(const base::FilePath::StringType& test_name); base 41 components/autofill/core/browser/data_driven_test.h base::FilePath GetOutputDirectory( base 42 components/autofill/core/browser/data_driven_test.h const base::FilePath::StringType& test_name); base 45 components/autofill/core/browser/data_driven_test.h DataDrivenTest(const base::FilePath& test_data_directory); base 49 components/autofill/core/browser/data_driven_test.h base::FilePath test_data_directory_; base 17 components/autofill/core/browser/email_field.cc if (ParseFieldSpecifics(scanner, base::UTF8ToUTF16(autofill::kEmailRe), base 221 components/autofill/core/browser/field_types.h typedef std::map<base::string16, ServerFieldType> ServerFieldTypeMap; base 69 components/autofill/core/browser/form_field.cc const base::string16& pattern, base 76 components/autofill/core/browser/form_field.cc const base::string16& pattern, base 94 components/autofill/core/browser/form_field.cc base::ASCIIToUTF16("^$"), base 112 components/autofill/core/browser/form_field.cc const base::string16& pattern, base 128 components/autofill/core/browser/form_field.cc const base::string16& pattern, base 61 components/autofill/core/browser/form_field.h const base::string16& pattern, base 70 components/autofill/core/browser/form_field.h const base::string16& pattern, base 102 components/autofill/core/browser/form_field.h const base::string16& pattern, base 109 components/autofill/core/browser/form_field.h const base::string16& pattern, base 12 components/autofill/core/browser/form_field_unittest.cc using base::ASCIIToUTF16; base 20 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, base::string16(), base 25 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, base::string16(), base 29 components/autofill/core/browser/form_field_unittest.cc field.label = base::string16(); base 39 components/autofill/core/browser/form_field_unittest.cc field.label = base::string16(); base 120 components/autofill/core/browser/form_field_unittest.cc field.label = base::UTF8ToUTF16("cr" "\xC3\xAA" "pe"); base 11 components/autofill/core/browser/form_group.cc void FormGroup::GetMatchingTypes(const base::string16& text, base 39 components/autofill/core/browser/form_group.cc base::string16 FormGroup::GetInfo(const AutofillType& type, base 45 components/autofill/core/browser/form_group.cc const base::string16& value, base 26 components/autofill/core/browser/form_group.h virtual void GetMatchingTypes(const base::string16& text, base 37 components/autofill/core/browser/form_group.h virtual base::string16 GetRawInfo(ServerFieldType type) const = 0; base 43 components/autofill/core/browser/form_group.h const base::string16& value) = 0; base 47 components/autofill/core/browser/form_group.h virtual base::string16 GetInfo(const AutofillType& type, base 53 components/autofill/core/browser/form_group.h const base::string16& value, base 93 components/autofill/core/browser/form_structure.cc base::StringAppendF(&data_presence, "%02x", bit_field[i]); base 117 components/autofill/core/browser/form_structure.cc base::IntToString(*field_type)); base 146 components/autofill/core/browser/form_structure.cc base::IntToString(*field_type)); base 148 components/autofill/core/browser/form_structure.cc base::UTF16ToUTF8(field.name)); base 295 components/autofill/core/browser/form_structure.cc std::string StripDigitsIfRequired(const base::string16& input) { base 310 components/autofill/core/browser/form_structure.cc base::UTF16ToUTF8(replaced_string.getBuffer(), base 314 components/autofill/core/browser/form_structure.cc DVLOG(1) << "Couldn't strip digits in " << base::UTF16ToUTF8(input); base 315 components/autofill/core/browser/form_structure.cc return base::UTF16ToUTF8(input); base 332 components/autofill/core/browser/form_structure.cc std::map<base::string16, size_t> unique_names; base 352 components/autofill/core/browser/form_structure.cc base::string16 unique_name = field->name + base::ASCIIToUTF16("_") + base 353 components/autofill/core/browser/form_structure.cc base::IntToString16(unique_names[field->name]); base 357 components/autofill/core/browser/form_structure.cc std::string method = base::UTF16ToUTF8(form.method); base 612 components/autofill/core/browser/form_structure.cc base::ASCIIToUTF16((form_structure->method_ == POST) ? "POST" : "GET"); base 648 components/autofill/core/browser/form_structure.cc base::UTF16ToUTF8(form_name_) + base 719 components/autofill/core/browser/form_structure.cc field->value = base::string16(); base 742 components/autofill/core/browser/form_structure.cc const base::TimeTicks& load_time, base 743 components/autofill/core/browser/form_structure.cc const base::TimeTicks& interaction_time, base 744 components/autofill/core/browser/form_structure.cc const base::TimeTicks& submission_time) const { base 856 components/autofill/core/browser/form_structure.cc base::TimeDelta elapsed = submission_time - load_time; base 868 components/autofill/core/browser/form_structure.cc base::TimeDelta elapsed = submission_time - interaction_time; base 907 components/autofill/core/browser/form_structure.cc data.method = base::ASCIIToUTF16(method_ == POST ? "POST" : "GET"); base 935 components/autofill/core/browser/form_structure.cc std::string hash_bin = base::SHA1HashString(str); base 947 components/autofill/core/browser/form_structure.cc return base::Uint64ToString(hash64); base 1008 components/autofill/core/browser/form_structure.cc base::CollapseWhitespaceASCII(field->autocomplete_attribute, false); base 1098 components/autofill/core/browser/form_structure.cc const base::Callback<base::string16(const AutofillType&)>& get_info, base 1116 components/autofill/core/browser/form_structure.cc std::set<base::string16> FormStructure::PossibleValues(ServerFieldType type) { base 1117 components/autofill/core/browser/form_structure.cc std::set<base::string16> values; base 1129 components/autofill/core/browser/form_structure.cc return std::set<base::string16>(); base 1133 components/autofill/core/browser/form_structure.cc values.insert(base::i18n::ToUpper(field->option_values[i])); base 1138 components/autofill/core/browser/form_structure.cc values.insert(base::i18n::ToUpper(field->option_contents[i])); base 1151 components/autofill/core/browser/form_structure.cc base::string16 current_section = fields_.front()->unique_name(); base 1190 components/autofill/core/browser/form_structure.cc (*field)->set_section(base::UTF16ToUTF8(current_section)); base 34 components/autofill/core/browser/form_structure.h namespace base { base 128 components/autofill/core/browser/form_structure.h const base::TimeTicks& load_time, base 129 components/autofill/core/browser/form_structure.h const base::TimeTicks& interaction_time, base 130 components/autofill/core/browser/form_structure.h const base::TimeTicks& submission_time) const; base 143 components/autofill/core/browser/form_structure.h typedef base::Callback<bool(ServerFieldType type, base 152 components/autofill/core/browser/form_structure.h const base::Callback<base::string16(const AutofillType&)>& get_info, base 162 components/autofill/core/browser/form_structure.h std::set<base::string16> PossibleValues(ServerFieldType type); base 226 components/autofill/core/browser/form_structure.h base::string16 form_name_; base 16 components/autofill/core/browser/form_structure_unittest.cc using base::ASCIIToUTF16; base 36 components/autofill/core/browser/form_structure_unittest.cc os << base::UTF16ToUTF8(form.name) base 38 components/autofill/core/browser/form_structure_unittest.cc << base::UTF16ToUTF8(form.method) base 80 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 118 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 169 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 348 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 389 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 394 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 399 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 430 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 435 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 440 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 663 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); base 666 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); base 733 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 799 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 839 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); base 843 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); base 847 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); base 851 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); base 855 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); base 859 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); base 863 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); base 866 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 924 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 985 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 1404 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 2302 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 2334 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); base 2379 components/autofill/core/browser/form_structure_unittest.cc std::set<base::string16> possible_values = base 16 components/autofill/core/browser/name_field.cc using base::UTF8ToUTF16; base 14 components/autofill/core/browser/name_field_unittest.cc using base::ASCIIToUTF16; base 71 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 75 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 79 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 102 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 106 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 185 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 209 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 213 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 286 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 290 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 294 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); base 25 components/autofill/core/browser/password_autofill_manager.cc const base::string16& username) { base 52 components/autofill/core/browser/password_autofill_manager.cc const base::string16& current_username, base 32 components/autofill/core/browser/password_autofill_manager.h const base::string16& username); base 53 components/autofill/core/browser/password_autofill_manager.h const base::string16& current_username, base 27 components/autofill/core/browser/password_autofill_manager_unittest.cc void(const base::string16&)); base 41 components/autofill/core/browser/password_autofill_manager_unittest.cc base::string16 username1 = base::ASCIIToUTF16(kAliceUsername); base 42 components/autofill/core/browser/password_autofill_manager_unittest.cc base::string16 password1 = base::ASCIIToUTF16(kAlicePassword); base 44 components/autofill/core/browser/password_autofill_manager_unittest.cc username_field_.name = base::ASCIIToUTF16(kUsernameName); base 49 components/autofill/core/browser/password_autofill_manager_unittest.cc password_field.name = base::ASCIIToUTF16(kPasswordName); base 73 components/autofill/core/browser/password_autofill_manager_unittest.cc base::MessageLoop message_loop_; base 81 components/autofill/core/browser/password_autofill_manager_unittest.cc base::ASCIIToUTF16(kAliceUsername))); base 83 components/autofill/core/browser/password_autofill_manager_unittest.cc username_field(), base::ASCIIToUTF16(kAliceUsername))); base 87 components/autofill/core/browser/password_autofill_manager_unittest.cc base::ASCIIToUTF16(kInvalidUsername))).Times(0); base 89 components/autofill/core/browser/password_autofill_manager_unittest.cc username_field(), base::ASCIIToUTF16(kInvalidUsername))); base 92 components/autofill/core/browser/password_autofill_manager_unittest.cc invalid_username_field.name = base::ASCIIToUTF16(kInvalidUsername); base 95 components/autofill/core/browser/password_autofill_manager_unittest.cc invalid_username_field, base::ASCIIToUTF16(kAliceUsername))); base 99 components/autofill/core/browser/password_autofill_manager_unittest.cc username_field(), base::ASCIIToUTF16(kAliceUsername))); base 62 components/autofill/core/browser/password_generator.cc int probability = base::RandInt(0, num_left - 1); base 103 components/autofill/core/browser/password_generator.cc ret.push_back(static_cast<char>(base::RandInt(kMinUpper, kMaxUpper))); base 106 components/autofill/core/browser/password_generator.cc ret.push_back(static_cast<char>(base::RandInt(kMinLower, kMaxLower))); base 109 components/autofill/core/browser/password_generator.cc ret.push_back(static_cast<char>(base::RandInt(kMinDigit, kMaxDigit))); base 113 components/autofill/core/browser/password_generator.cc kOtherSymbols[base::RandInt(0, arraysize(kOtherSymbols) - 1)]); base 119 components/autofill/core/browser/password_generator.cc base::RandInt(0, alphanumeric_characters.size() - 1))); base 31 components/autofill/core/browser/personal_data_manager.cc const base::string16::value_type kCreditCardPrefix[] = {'*', 0}; base 92 components/autofill/core/browser/personal_data_manager.cc base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)); base 115 components/autofill/core/browser/personal_data_manager.cc const base::string16& value) { base 251 components/autofill/core/browser/personal_data_manager.cc base::string16 value; base 252 components/autofill/core/browser/personal_data_manager.cc base::TrimWhitespace(field->value, base::TRIM_ALL, &value); base 312 components/autofill/core/browser/personal_data_manager.cc base::string16 constructed_number; base 558 components/autofill/core/browser/personal_data_manager.cc const base::string16& field_contents, base 561 components/autofill/core/browser/personal_data_manager.cc const base::Callback<bool(const AutofillProfile&)>& filter, base 562 components/autofill/core/browser/personal_data_manager.cc std::vector<base::string16>* values, base 563 components/autofill/core/browser/personal_data_manager.cc std::vector<base::string16>* labels, base 564 components/autofill/core/browser/personal_data_manager.cc std::vector<base::string16>* icons, base 578 components/autofill/core/browser/personal_data_manager.cc std::vector<base::string16> multi_values; base 595 components/autofill/core/browser/personal_data_manager.cc base::string16 profile_value_lower_case( base 597 components/autofill/core/browser/personal_data_manager.cc base::string16 field_value_lower_case( base 605 components/autofill/core/browser/personal_data_manager.cc base::string16::npos) { base 642 components/autofill/core/browser/personal_data_manager.cc const base::string16& field_contents, base 643 components/autofill/core/browser/personal_data_manager.cc std::vector<base::string16>* values, base 644 components/autofill/core/browser/personal_data_manager.cc std::vector<base::string16>* labels, base 645 components/autofill/core/browser/personal_data_manager.cc std::vector<base::string16>* icons, base 658 components/autofill/core/browser/personal_data_manager.cc base::string16 creditcard_field_value = base 665 components/autofill/core/browser/personal_data_manager.cc base::string16 label; base 677 components/autofill/core/browser/personal_data_manager.cc icons->push_back(base::UTF8ToUTF16(credit_card->type())); base 689 components/autofill/core/browser/personal_data_manager.cc return base::CountryCodeForCurrentTimezone(); base 698 components/autofill/core/browser/personal_data_manager.cc base::Bind(&PersonalDataManager::EnabledPrefChanged, base 699 components/autofill/core/browser/personal_data_manager.cc base::Unretained(this))); base 710 components/autofill/core/browser/personal_data_manager.cc base::string16 email = profile.GetRawInfo(EMAIL_ADDRESS); base 773 components/autofill/core/browser/personal_data_manager.cc country_codes.push_back(StringToLowerASCII(base::UTF16ToASCII( base 1056 components/autofill/core/browser/personal_data_manager.cc std::string country_code = StringToUpperASCII(base::UTF16ToASCII( base 146 components/autofill/core/browser/personal_data_manager.h const base::string16& field_contents, base 149 components/autofill/core/browser/personal_data_manager.h const base::Callback<bool(const AutofillProfile&)>& filter, base 150 components/autofill/core/browser/personal_data_manager.h std::vector<base::string16>* values, base 151 components/autofill/core/browser/personal_data_manager.h std::vector<base::string16>* labels, base 152 components/autofill/core/browser/personal_data_manager.h std::vector<base::string16>* icons, base 160 components/autofill/core/browser/personal_data_manager.h const base::string16& field_contents, base 161 components/autofill/core/browser/personal_data_manager.h std::vector<base::string16>* values, base 162 components/autofill/core/browser/personal_data_manager.h std::vector<base::string16>* labels, base 163 components/autofill/core/browser/personal_data_manager.h std::vector<base::string16>* icons, base 217 components/autofill/core/browser/personal_data_manager.h friend struct base::DefaultDeleter<PersonalDataManager>; base 30 components/autofill/core/browser/personal_data_manager_unittest.cc using base::ASCIIToUTF16; base 37 components/autofill/core/browser/personal_data_manager_unittest.cc ACTION(QuitMainMessageLoop) { base::MessageLoop::current()->Quit(); } base 66 components/autofill/core/browser/personal_data_manager_unittest.cc base::FilePath path = temp_dir_.path().AppendASCII("TestWebDB"); base 68 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoopProxy::current(), base 69 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoopProxy::current()); base 75 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoopProxy::current(), base 76 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoopProxy::current(), base 106 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 109 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoopForUI message_loop_; base 113 components/autofill/core/browser/personal_data_manager_unittest.cc base::ScopedTempDir temp_dir_; base 134 components/autofill/core/browser/personal_data_manager_unittest.cc profile0a.set_guid(base::GenerateGUID()); base 147 components/autofill/core/browser/personal_data_manager_unittest.cc profile1.set_guid(base::GenerateGUID()); base 166 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile0(base::GenerateGUID(), "https://www.example.com"); base 172 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com"); base 178 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile2(base::GenerateGUID(), "https://www.example.com"); base 191 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 207 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 227 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card0(base::GenerateGUID(), "https://www.example.com"); base 231 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card1(base::GenerateGUID(), "https://www.example.com"); base 235 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card2(base::GenerateGUID(), "https://www.example.com"); base 246 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 262 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 283 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); base 290 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card(base::GenerateGUID(), "https://www.example.com/"); base 302 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 346 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 360 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile0(base::GenerateGUID(), "https://www.example.com"); base 366 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com"); base 372 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card0(base::GenerateGUID(), "https://www.example.com"); base 376 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card1(base::GenerateGUID(), "https://www.example.com"); base 387 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 401 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 421 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile0(base::GenerateGUID(), "https://www.example.com"); base 431 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 439 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com"); base 447 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 453 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(base::IsValidGUID(results3[0]->guid())); base 454 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_TRUE(base::IsValidGUID(results3[1]->guid())); base 458 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile0(base::GenerateGUID(), "https://www.example.com"); base 478 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card0(base::GenerateGUID(), "https://www.example.com"); base 497 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile0(base::GenerateGUID(), "https://www.example.com"); base 503 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com"); base 516 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 523 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile2(base::GenerateGUID(), "https://www.example.com"); base 536 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 561 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 599 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 601 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected(base::GenerateGUID(), "https://www.example.com"); base 844 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 846 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected(base::GenerateGUID(), "https://www.example.com"); base 891 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 893 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected(base::GenerateGUID(), "https://www.example.com"); base 903 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card0(base::GenerateGUID(), "https://www.example.com"); base 905 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card1(base::GenerateGUID(), "https://www.example.com"); base 907 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card2(base::GenerateGUID(), "https://www.example.com"); base 909 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card3(base::GenerateGUID(), "https://www.example.com"); base 911 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card4(base::GenerateGUID(), "https://www.example.com"); base 913 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card5(base::GenerateGUID(), "https://www.example.com"); base 971 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 973 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected(base::GenerateGUID(), "https://www.example.com"); base 1011 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1015 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected2(base::GenerateGUID(), "https://www.example.com"); base 1056 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1058 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected(base::GenerateGUID(), "https://www.example.com"); base 1095 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1100 components/autofill/core/browser/personal_data_manager_unittest.cc std::vector<base::string16> values; base 1149 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1151 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected(base::GenerateGUID(), "https://www.example.com"); base 1199 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1204 components/autofill/core/browser/personal_data_manager_unittest.cc std::vector<base::string16> values; base 1242 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1244 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected(base::GenerateGUID(), "https://www.example.com"); base 1282 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1286 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected2(base::GenerateGUID(), "https://www.example.com"); base 1329 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1331 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected(base::GenerateGUID(), "https://www.example.com"); base 1370 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1421 components/autofill/core/browser/personal_data_manager_unittest.cc new AutofillProfile(base::GenerateGUID(), "https://www.example.com"); base 1498 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1500 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected(base::GenerateGUID(), "https://www.example.com"); base 1530 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1532 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected2(base::GenerateGUID(), "https://www.example.com"); base 1567 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1569 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected(base::GenerateGUID(), "https://www.example.com"); base 1631 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1633 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected(base::GenerateGUID(), "https://www.example.com"); base 1663 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1667 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected2(base::GenerateGUID(), "https://www.example.com"); base 1702 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1704 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected(base::GenerateGUID(), "https://www.example.com"); base 1732 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected2(base::GenerateGUID(), "https://www.example.com"); base 1767 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1769 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected(base::GenerateGUID(), "https://www.example.com"); base 1799 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected2(base::GenerateGUID(), "https://www.example.com"); base 1827 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected3(base::GenerateGUID(), "https://www.example.com"); base 1838 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard saved_credit_card(base::GenerateGUID(), "https://www.example.com"); base 1846 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1878 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1882 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard expected2(base::GenerateGUID(), "https://www.example.com"); base 1895 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard saved_credit_card(base::GenerateGUID(), "https://www.example.com"); base 1903 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1944 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile(base::GenerateGUID(), "Chrome settings"); base 1957 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 1991 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2004 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card(base::GenerateGUID(), "Chrome settings"); base 2015 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2052 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile(base::GenerateGUID(), "https://www.example.com"); base 2065 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2068 components/autofill/core/browser/personal_data_manager_unittest.cc new_verified_profile.set_guid(base::GenerateGUID()); base 2078 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2091 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile(base::GenerateGUID(), "Chrome settings"); base 2104 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2107 components/autofill/core/browser/personal_data_manager_unittest.cc new_verified_profile.set_guid(base::GenerateGUID()); base 2109 components/autofill/core/browser/personal_data_manager_unittest.cc new_verified_profile.SetRawInfo(NAME_MIDDLE, base::string16()); base 2117 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2122 components/autofill/core/browser/personal_data_manager_unittest.cc std::vector<base::string16> names; base 2135 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card(base::GenerateGUID(), "Chrome settings"); base 2146 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2149 components/autofill/core/browser/personal_data_manager_unittest.cc new_verified_card.set_guid(base::GenerateGUID()); base 2158 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2173 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile0(base::GenerateGUID(), "https://www.example.com"); base 2184 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2205 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com"); base 2211 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile profile2(base::GenerateGUID(), "https://www.example.com"); base 2223 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2248 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard credit_card(base::GenerateGUID(), "https://www.example.com"); base 2257 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2327 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2329 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile expected(base::GenerateGUID(), "https://www.example.com"); base 2370 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2375 components/autofill/core/browser/personal_data_manager_unittest.cc std::vector<base::string16> values; base 2388 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile steve_jobs(base::GenerateGUID(), "https://www.example.com"); base 2394 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard bill_gates(base::GenerateGUID(), "https://www.example.com"); base 2411 components/autofill/core/browser/personal_data_manager_unittest.cc CreditCard larry_page(base::GenerateGUID(), "https://www.example.com"); base 2461 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile moose(base::GenerateGUID(), "Chrome settings"); base 2468 components/autofill/core/browser/personal_data_manager_unittest.cc base::MessageLoop::current()->Run(); base 2484 components/autofill/core/browser/personal_data_manager_unittest.cc EXPECT_EQ(base::UTF16ToUTF8(moose.GetRawInfo(ADDRESS_HOME_COUNTRY)), base 2489 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile moose(base::GenerateGUID(), "Chrome settings"); base 2498 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile armadillo(base::GenerateGUID(), "Chrome settings"); base 2502 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile armadillo2(base::GenerateGUID(), "Chrome settings"); base 2533 components/autofill/core/browser/personal_data_manager_unittest.cc AutofillProfile space_invader(base::GenerateGUID(), "Chrome settings"); base 21 components/autofill/core/browser/phone_field.cc base::string16 GetAreaRegex() { base 22 components/autofill/core/browser/phone_field.cc base::string16 area_code = base::UTF8ToUTF16(autofill::kAreaCodeRe); base 23 components/autofill/core/browser/phone_field.cc area_code.append(base::ASCIIToUTF16("|")); // Regexp separator. base 24 components/autofill/core/browser/phone_field.cc area_code.append(base::UTF8ToUTF16(autofill::kAreaCodeNotextRe)); base 185 components/autofill/core/browser/phone_field.cc if (!ParseField(scanner, base::UTF8ToUTF16(autofill::kPhoneSuffixRe), base 187 components/autofill/core/browser/phone_field.cc ParseField(scanner, base::UTF8ToUTF16(autofill::kPhoneSuffixSeparatorRe), base 193 components/autofill/core/browser/phone_field.cc ParseField(scanner, base::UTF8ToUTF16(autofill::kPhoneExtensionRe), base 249 components/autofill/core/browser/phone_field.cc base::string16 PhoneField::GetRegExp(RegexType regex_id) { base 252 components/autofill/core/browser/phone_field.cc return base::UTF8ToUTF16(autofill::kCountryCodeRe); base 256 components/autofill/core/browser/phone_field.cc return base::UTF8ToUTF16(autofill::kAreaCodeNotextRe); base 258 components/autofill/core/browser/phone_field.cc return base::UTF8ToUTF16(autofill::kPhoneRe); base 260 components/autofill/core/browser/phone_field.cc return base::UTF8ToUTF16(autofill::kPhonePrefixSeparatorRe); base 262 components/autofill/core/browser/phone_field.cc return base::UTF8ToUTF16(autofill::kPhonePrefixRe); base 264 components/autofill/core/browser/phone_field.cc return base::UTF8ToUTF16(autofill::kPhoneSuffixSeparatorRe); base 266 components/autofill/core/browser/phone_field.cc return base::UTF8ToUTF16(autofill::kPhoneSuffixRe); base 268 components/autofill/core/browser/phone_field.cc return base::UTF8ToUTF16(autofill::kPhoneExtensionRe); base 273 components/autofill/core/browser/phone_field.cc return base::string16(); base 82 components/autofill/core/browser/phone_field.h static base::string16 GetRegExp(RegexType regex_id); base 14 components/autofill/core/browser/phone_field_unittest.cc using base::ASCIIToUTF16; base 147 components/autofill/core/browser/phone_field_unittest.cc field.label = base::string16(); base 151 components/autofill/core/browser/phone_field_unittest.cc field.label = base::string16(); base 184 components/autofill/core/browser/phone_field_unittest.cc field.label = base::string16(); base 20 components/autofill/core/browser/phone_number.cc const base::char16 kPhoneNumberSeparators[] = { ' ', '.', '(', ')', '-', 0 }; base 22 components/autofill/core/browser/phone_number.cc void StripPunctuation(base::string16* number) { base 23 components/autofill/core/browser/phone_number.cc base::RemoveChars(*number, kPhoneNumberSeparators, number); base 32 components/autofill/core/browser/phone_number.cc base::string16 country_code = profile.GetRawInfo(ADDRESS_HOME_COUNTRY); base 34 components/autofill/core/browser/phone_number.cc return base::UTF16ToASCII(country_code); base 70 components/autofill/core/browser/phone_number.cc base::string16 PhoneNumber::GetRawInfo(ServerFieldType type) const { base 78 components/autofill/core/browser/phone_number.cc return base::string16(); base 82 components/autofill/core/browser/phone_number.cc const base::string16& value) { base 100 components/autofill/core/browser/phone_number.cc base::string16 PhoneNumber::GetInfo(const AutofillType& type, base 110 components/autofill/core/browser/phone_number.cc return base::string16(); base 131 components/autofill/core/browser/phone_number.cc return base::string16(); base 136 components/autofill/core/browser/phone_number.cc const base::string16& value, base 149 components/autofill/core/browser/phone_number.cc void PhoneNumber::GetMatchingTypes(const base::string16& text, base 152 components/autofill/core/browser/phone_number.cc base::string16 stripped_text = text; base 158 components/autofill/core/browser/phone_number.cc base::string16 number = GetInfo(AutofillType(PHONE_HOME_NUMBER), app_locale); base 161 components/autofill/core/browser/phone_number.cc base::string16 prefix = number.substr(kPrefixOffset, kPrefixLength); base 162 components/autofill/core/browser/phone_number.cc base::string16 suffix = number.substr(kSuffixOffset, kSuffixLength); base 167 components/autofill/core/browser/phone_number.cc base::string16 whole_number = base 170 components/autofill/core/browser/phone_number.cc base::string16 normalized_number = base 190 components/autofill/core/browser/phone_number.cc const base::string16& value) { base 223 components/autofill/core/browser/phone_number.cc base::string16* value) { base 33 components/autofill/core/browser/phone_number.h const base::string16& text, base 36 components/autofill/core/browser/phone_number.h virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE; base 38 components/autofill/core/browser/phone_number.h const base::string16& value) OVERRIDE; base 39 components/autofill/core/browser/phone_number.h virtual base::string16 GetInfo(const AutofillType& type, base 42 components/autofill/core/browser/phone_number.h const base::string16& value, base 59 components/autofill/core/browser/phone_number.h bool SetInfo(const AutofillType& type, const base::string16& value); base 67 components/autofill/core/browser/phone_number.h base::string16* value); base 73 components/autofill/core/browser/phone_number.h base::string16 country_; base 74 components/autofill/core/browser/phone_number.h base::string16 city_; base 75 components/autofill/core/browser/phone_number.h base::string16 phone_; base 76 components/autofill/core/browser/phone_number.h base::string16 whole_number_; base 89 components/autofill/core/browser/phone_number.h base::string16 number_; base 56 components/autofill/core/browser/phone_number_i18n.cc const base::string16& country_code, base 57 components/autofill/core/browser/phone_number_i18n.cc base::string16* formatted_number, base 58 components/autofill/core/browser/phone_number_i18n.cc base::string16* normalized_number) { base 69 components/autofill/core/browser/phone_number_i18n.cc *formatted_number = base::UTF8ToUTF16(processed_number); base 73 components/autofill/core/browser/phone_number_i18n.cc *normalized_number = base::UTF8ToUTF16(processed_number); base 84 components/autofill/core/browser/phone_number_i18n.cc bool ParsePhoneNumber(const base::string16& value, base 86 components/autofill/core/browser/phone_number_i18n.cc base::string16* country_code, base 87 components/autofill/core/browser/phone_number_i18n.cc base::string16* city_code, base 88 components/autofill/core/browser/phone_number_i18n.cc base::string16* number, base 96 components/autofill/core/browser/phone_number_i18n.cc std::string number_text(base::UTF16ToUTF8(value)); base 132 components/autofill/core/browser/phone_number_i18n.cc *number = base::UTF8ToUTF16(subscriber_number); base 133 components/autofill/core/browser/phone_number_i18n.cc *city_code = base::UTF8ToUTF16(area_code); base 134 components/autofill/core/browser/phone_number_i18n.cc *country_code = base::string16(); base 137 components/autofill/core/browser/phone_number_i18n.cc base::string16 normalized_number(base::UTF8ToUTF16(number_text)); base 142 components/autofill/core/browser/phone_number_i18n.cc *country_code = base::UTF8ToUTF16( base 143 components/autofill/core/browser/phone_number_i18n.cc base::StringPrintf("%d", i18n_number->country_code())); base 157 components/autofill/core/browser/phone_number_i18n.cc base::string16 NormalizePhoneNumber(const base::string16& value, base 160 components/autofill/core/browser/phone_number_i18n.cc base::string16 country_code, unused_city_code, unused_number; base 165 components/autofill/core/browser/phone_number_i18n.cc return base::string16(); // Parsing failed - do not store phone. base 168 components/autofill/core/browser/phone_number_i18n.cc base::string16 normalized_number; base 173 components/autofill/core/browser/phone_number_i18n.cc bool ConstructPhoneNumber(const base::string16& country_code, base 174 components/autofill/core/browser/phone_number_i18n.cc const base::string16& city_code, base 175 components/autofill/core/browser/phone_number_i18n.cc const base::string16& number, base 177 components/autofill/core/browser/phone_number_i18n.cc base::string16* whole_number) { base 181 components/autofill/core/browser/phone_number_i18n.cc base::string16 unused_country_code, unused_city_code, unused_number; base 194 components/autofill/core/browser/phone_number_i18n.cc bool PhoneNumbersMatch(const base::string16& number_a, base 195 components/autofill/core/browser/phone_number_i18n.cc const base::string16& number_b, base 206 components/autofill/core/browser/phone_number_i18n.cc base::UTF16ToUTF8(number_a), region.c_str(), &i18n_number1) != base 213 components/autofill/core/browser/phone_number_i18n.cc base::UTF16ToUTF8(number_b), region.c_str(), &i18n_number2) != base 233 components/autofill/core/browser/phone_number_i18n.cc PhoneObject::PhoneObject(const base::string16& number, base 261 components/autofill/core/browser/phone_number_i18n.cc const base::string16& PhoneObject::GetFormattedNumber() const { base 270 components/autofill/core/browser/phone_number_i18n.cc base::string16 PhoneObject::GetNationallyFormattedNumber() const { base 271 components/autofill/core/browser/phone_number_i18n.cc base::string16 formatted = whole_number_; base 273 components/autofill/core/browser/phone_number_i18n.cc FormatValidatedNumber(*i18n_number_, base::string16(), &formatted, NULL); base 278 components/autofill/core/browser/phone_number_i18n.cc const base::string16& PhoneObject::GetWholeNumber() const { base 37 components/autofill/core/browser/phone_number_i18n.h const base::string16& value, base 39 components/autofill/core/browser/phone_number_i18n.h base::string16* country_code, base 40 components/autofill/core/browser/phone_number_i18n.h base::string16* city_code, base 41 components/autofill/core/browser/phone_number_i18n.h base::string16* number, base 47 components/autofill/core/browser/phone_number_i18n.h base::string16 NormalizePhoneNumber(const base::string16& value, base 58 components/autofill/core/browser/phone_number_i18n.h bool ConstructPhoneNumber(const base::string16& country_code, base 59 components/autofill/core/browser/phone_number_i18n.h const base::string16& city_code, base 60 components/autofill/core/browser/phone_number_i18n.h const base::string16& number, base 62 components/autofill/core/browser/phone_number_i18n.h base::string16* whole_number) WARN_UNUSED_RESULT; base 66 components/autofill/core/browser/phone_number_i18n.h bool PhoneNumbersMatch(const base::string16& number_a, base 67 components/autofill/core/browser/phone_number_i18n.h const base::string16& number_b, base 74 components/autofill/core/browser/phone_number_i18n.h PhoneObject(const base::string16& number, base 82 components/autofill/core/browser/phone_number_i18n.h const base::string16& country_code() const { return country_code_; } base 83 components/autofill/core/browser/phone_number_i18n.h const base::string16& city_code() const { return city_code_; } base 84 components/autofill/core/browser/phone_number_i18n.h const base::string16& number() const { return number_; } base 86 components/autofill/core/browser/phone_number_i18n.h const base::string16& GetFormattedNumber() const; base 87 components/autofill/core/browser/phone_number_i18n.h base::string16 GetNationallyFormattedNumber() const; base 88 components/autofill/core/browser/phone_number_i18n.h const base::string16& GetWholeNumber() const; base 101 components/autofill/core/browser/phone_number_i18n.h base::string16 city_code_; base 102 components/autofill/core/browser/phone_number_i18n.h base::string16 country_code_; base 103 components/autofill/core/browser/phone_number_i18n.h base::string16 number_; base 107 components/autofill/core/browser/phone_number_i18n.h mutable base::string16 formatted_number_; base 111 components/autofill/core/browser/phone_number_i18n.h mutable base::string16 whole_number_; base 12 components/autofill/core/browser/phone_number_i18n_unittest.cc using base::ASCIIToUTF16; base 13 components/autofill/core/browser/phone_number_i18n_unittest.cc using base::UTF8ToUTF16; base 24 components/autofill/core/browser/phone_number_i18n_unittest.cc base::string16 phone1(UTF8ToUTF16( base 31 components/autofill/core/browser/phone_number_i18n_unittest.cc base::string16 phone2(UTF8ToUTF16( base 36 components/autofill/core/browser/phone_number_i18n_unittest.cc base::string16 phone3(UTF8ToUTF16("16503334\xef\xbc\x92\x35\xd9\xa5")); base 39 components/autofill/core/browser/phone_number_i18n_unittest.cc base::string16 phone4(UTF8ToUTF16("+1(650)2346789")); base 42 components/autofill/core/browser/phone_number_i18n_unittest.cc base::string16 phone5(UTF8ToUTF16("6502346789")); base 118 components/autofill/core/browser/phone_number_i18n_unittest.cc base::string16 country_code, city_code, number; base 137 components/autofill/core/browser/phone_number_i18n_unittest.cc base::string16 number; base 144 components/autofill/core/browser/phone_number_i18n_unittest.cc EXPECT_TRUE(ConstructPhoneNumber(base::string16(), base 151 components/autofill/core/browser/phone_number_i18n_unittest.cc base::string16(), base 156 components/autofill/core/browser/phone_number_i18n_unittest.cc EXPECT_TRUE(ConstructPhoneNumber(base::string16(), base 157 components/autofill/core/browser/phone_number_i18n_unittest.cc base::string16(), base 163 components/autofill/core/browser/phone_number_i18n_unittest.cc EXPECT_FALSE(ConstructPhoneNumber(base::string16(), base 168 components/autofill/core/browser/phone_number_i18n_unittest.cc EXPECT_EQ(number, base::string16()); base 176 components/autofill/core/browser/phone_number_i18n_unittest.cc EXPECT_TRUE(ConstructPhoneNumber(base::string16(), base 189 components/autofill/core/browser/phone_number_i18n_unittest.cc EXPECT_TRUE(ConstructPhoneNumber(base::string16(), base 14 components/autofill/core/browser/phone_number_unittest.cc using base::ASCIIToUTF16; base 22 components/autofill/core/browser/phone_number_unittest.cc base::string16 phone(ASCIIToUTF16("1 [650] 234-5678")); base 27 components/autofill/core/browser/phone_number_unittest.cc phone_number.GetMatchingTypes(base::string16(), "US", &matching_types); base 94 components/autofill/core/browser/phone_number_unittest.cc EXPECT_EQ(base::string16(), phone.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); base 118 components/autofill/core/browser/phone_number_unittest.cc EXPECT_EQ(base::string16(), phone.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)); base 139 components/autofill/core/browser/phone_number_unittest.cc EXPECT_EQ(base::string16(), base 163 components/autofill/core/browser/phone_number_unittest.cc base::string16 parsed_phone; base 183 components/autofill/core/browser/phone_number_unittest.cc EXPECT_EQ(base::string16(), parsed_phone); base 80 components/autofill/core/browser/state_names.cc base::string16 GetAbbreviationForName(const base::string16& name) { base 84 components/autofill/core/browser/state_names.cc return base::ASCIIToUTF16(state.abbreviation); base 86 components/autofill/core/browser/state_names.cc return base::string16(); base 89 components/autofill/core/browser/state_names.cc base::string16 GetNameForAbbreviation(const base::string16& abbreviation) { base 93 components/autofill/core/browser/state_names.cc return base::ASCIIToUTF16(state.name); base 95 components/autofill/core/browser/state_names.cc return base::string16(); base 98 components/autofill/core/browser/state_names.cc void GetNameAndAbbreviation(const base::string16& value, base 99 components/autofill/core/browser/state_names.cc base::string16* name, base 100 components/autofill/core/browser/state_names.cc base::string16* abbreviation) { base 101 components/autofill/core/browser/state_names.cc base::string16 full = GetNameForAbbreviation(value); base 102 components/autofill/core/browser/state_names.cc base::string16 abbr = value; base 15 components/autofill/core/browser/state_names.h base::string16 GetAbbreviationForName(const base::string16& name); base 19 components/autofill/core/browser/state_names.h base::string16 GetNameForAbbreviation(const base::string16& abbreviation); base 24 components/autofill/core/browser/state_names.h void GetNameAndAbbreviation(const base::string16& value, base 25 components/autofill/core/browser/state_names.h base::string16* name, base 26 components/autofill/core/browser/state_names.h base::string16* abbreviation); base 14 components/autofill/core/browser/test_autofill_driver.cc new base::SequencedWorkerPoolOwner(4, "TestAutofillDriver")), base 29 components/autofill/core/browser/test_autofill_driver.cc base::SequencedWorkerPool* TestAutofillDriver::GetBlockingPool() { base 47 components/autofill/core/browser/test_autofill_driver.cc const base::string16& value) { base 51 components/autofill/core/browser/test_autofill_driver.cc const base::string16& username) { base 66 components/autofill/core/browser/test_autofill_driver.cc const base::string16& value) { base 70 components/autofill/core/browser/test_autofill_driver.cc const base::string16& value) { base 13 components/autofill/core/browser/test_autofill_driver.h namespace base { base 30 components/autofill/core/browser/test_autofill_driver.h virtual base::SequencedWorkerPool* GetBlockingPool() OVERRIDE; base 38 components/autofill/core/browser/test_autofill_driver.h const base::string16& value) OVERRIDE; base 40 components/autofill/core/browser/test_autofill_driver.h const base::string16& username) OVERRIDE; base 44 components/autofill/core/browser/test_autofill_driver.h const base::string16& value) OVERRIDE; base 46 components/autofill/core/browser/test_autofill_driver.h const base::string16& value) OVERRIDE; base 55 components/autofill/core/browser/test_autofill_driver.h scoped_ptr<base::SequencedWorkerPoolOwner> blocking_pool_owner_; base 21 components/autofill/core/browser/test_autofill_external_delegate.cc std::vector<base::string16> autofill_item; base 22 components/autofill/core/browser/test_autofill_external_delegate.cc autofill_item.push_back(base::string16()); base 30 components/autofill/core/browser/test_autofill_manager_delegate.cc const base::Closure& save_card_callback) {} base 35 components/autofill/core/browser/test_autofill_manager_delegate.cc const base::Callback<void(const FormStructure*)>& callback) {} base 39 components/autofill/core/browser/test_autofill_manager_delegate.cc base::i18n::TextDirection text_direction, base 40 components/autofill/core/browser/test_autofill_manager_delegate.cc const std::vector<base::string16>& values, base 41 components/autofill/core/browser/test_autofill_manager_delegate.cc const std::vector<base::string16>& labels, base 42 components/autofill/core/browser/test_autofill_manager_delegate.cc const std::vector<base::string16>& icons, base 44 components/autofill/core/browser/test_autofill_manager_delegate.cc base::WeakPtr<AutofillPopupDelegate> delegate) {} base 47 components/autofill/core/browser/test_autofill_manager_delegate.cc const std::vector<base::string16>& values, base 48 components/autofill/core/browser/test_autofill_manager_delegate.cc const std::vector<base::string16>& labels) {} base 60 components/autofill/core/browser/test_autofill_manager_delegate.cc const base::string16& autofilled_value, base 61 components/autofill/core/browser/test_autofill_manager_delegate.cc const base::string16& profile_full_name) {} base 31 components/autofill/core/browser/test_autofill_manager_delegate.h const base::Closure& save_card_callback) OVERRIDE; base 35 components/autofill/core/browser/test_autofill_manager_delegate.h const base::Callback<void(const FormStructure*)>& callback) OVERRIDE; base 38 components/autofill/core/browser/test_autofill_manager_delegate.h base::i18n::TextDirection text_direction, base 39 components/autofill/core/browser/test_autofill_manager_delegate.h const std::vector<base::string16>& values, base 40 components/autofill/core/browser/test_autofill_manager_delegate.h const std::vector<base::string16>& labels, base 41 components/autofill/core/browser/test_autofill_manager_delegate.h const std::vector<base::string16>& icons, base 43 components/autofill/core/browser/test_autofill_manager_delegate.h base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; base 45 components/autofill/core/browser/test_autofill_manager_delegate.h const std::vector<base::string16>& values, base 46 components/autofill/core/browser/test_autofill_manager_delegate.h const std::vector<base::string16>& labels) OVERRIDE; base 54 components/autofill/core/browser/test_autofill_manager_delegate.h const base::string16& autofilled_value, base 55 components/autofill/core/browser/test_autofill_manager_delegate.h const base::string16& profile_full_name) OVERRIDE; base 16 components/autofill/core/browser/validation.cc using base::StringPiece16; base 21 components/autofill/core/browser/validation.cc const base::char16 kSSNSeparators[] = {' ', '-', 0}; base 27 components/autofill/core/browser/validation.cc bool IsValidCreditCardExpirationDate(const base::string16& year, base 28 components/autofill/core/browser/validation.cc const base::string16& month, base 29 components/autofill/core/browser/validation.cc const base::Time& now) { base 30 components/autofill/core/browser/validation.cc base::string16 year_cleaned, month_cleaned; base 31 components/autofill/core/browser/validation.cc base::TrimWhitespace(year, base::TRIM_ALL, &year_cleaned); base 32 components/autofill/core/browser/validation.cc base::TrimWhitespace(month, base::TRIM_ALL, &month_cleaned); base 37 components/autofill/core/browser/validation.cc if (!base::StringToInt(year_cleaned, &cc_year)) base 41 components/autofill/core/browser/validation.cc if (!base::StringToInt(month_cleaned, &cc_month)) base 49 components/autofill/core/browser/validation.cc const base::Time& now) { base 50 components/autofill/core/browser/validation.cc base::Time::Exploded now_exploded; base 62 components/autofill/core/browser/validation.cc bool IsValidCreditCardNumber(const base::string16& text) { base 63 components/autofill/core/browser/validation.cc base::string16 number = CreditCard::StripSeparators(text); base 97 components/autofill/core/browser/validation.cc for (base::string16::reverse_iterator iter = number.rbegin(); base 116 components/autofill/core/browser/validation.cc bool IsValidCreditCardSecurityCode(const base::string16& text) { base 120 components/autofill/core/browser/validation.cc for (base::string16::const_iterator iter = text.begin(); base 129 components/autofill/core/browser/validation.cc bool IsValidCreditCardSecurityCode(const base::string16& code, base 130 components/autofill/core/browser/validation.cc const base::string16& number) { base 139 components/autofill/core/browser/validation.cc bool IsValidEmailAddress(const base::string16& text) { base 141 components/autofill/core/browser/validation.cc const base::string16 kEmailPattern = base::ASCIIToUTF16( base 147 components/autofill/core/browser/validation.cc bool IsValidState(const base::string16& text) { base 152 components/autofill/core/browser/validation.cc bool IsValidZip(const base::string16& text) { base 153 components/autofill/core/browser/validation.cc const base::string16 kZipPattern = base::ASCIIToUTF16("^\\d{5}(-\\d{4})?$"); base 157 components/autofill/core/browser/validation.cc bool IsSSN(const base::string16& text) { base 158 components/autofill/core/browser/validation.cc base::string16 number_string; base 159 components/autofill/core/browser/validation.cc base::RemoveChars(text, kSSNSeparators, &number_string); base 189 components/autofill/core/browser/validation.cc if (!base::StringToInt(StringPiece16(number_string.begin(), base 201 components/autofill/core/browser/validation.cc if (!base::StringToInt(StringPiece16(number_string.begin() + 3, base 209 components/autofill/core/browser/validation.cc if (!base::StringToInt(StringPiece16(number_string.begin() + 5, base 10 components/autofill/core/browser/validation.h namespace base { base 18 components/autofill/core/browser/validation.h bool IsValidCreditCardExpirationDate(const base::string16& year, base 19 components/autofill/core/browser/validation.h const base::string16& month, base 20 components/autofill/core/browser/validation.h const base::Time& now); base 23 components/autofill/core/browser/validation.h const base::Time& now); base 27 components/autofill/core/browser/validation.h bool IsValidCreditCardNumber(const base::string16& text); base 30 components/autofill/core/browser/validation.h bool IsValidCreditCardSecurityCode(const base::string16& text); base 34 components/autofill/core/browser/validation.h bool IsValidCreditCardSecurityCode(const base::string16& code, base 35 components/autofill/core/browser/validation.h const base::string16& number); base 38 components/autofill/core/browser/validation.h bool IsValidEmailAddress(const base::string16& text); base 42 components/autofill/core/browser/validation.h bool IsValidState(const base::string16& text); base 46 components/autofill/core/browser/validation.h bool IsValidZip(const base::string16& text); base 49 components/autofill/core/browser/validation.h bool IsSSN(const base::string16& text); base 10 components/autofill/core/browser/validation_unittest.cc using base::ASCIIToUTF16; base 115 components/autofill/core/browser/validation_unittest.cc base::Time now; base 116 components/autofill/core/browser/validation_unittest.cc ASSERT_TRUE(base::Time::FromString(kCurrentDate, &now)); base 140 components/autofill/core/browser/validation_unittest.cc base::Time now; base 141 components/autofill/core/browser/validation_unittest.cc ASSERT_TRUE(base::Time::FromString(kCurrentDate, &now)); base 13 components/autofill/core/browser/webdata/autofill_entry.cc AutofillKey::AutofillKey(const base::string16& name, base 14 components/autofill/core/browser/webdata/autofill_entry.cc const base::string16& value) base 20 components/autofill/core/browser/webdata/autofill_entry.cc : name_(base::UTF8ToUTF16(name)), base 21 components/autofill/core/browser/webdata/autofill_entry.cc value_(base::UTF8ToUTF16(value)) { base 47 components/autofill/core/browser/webdata/autofill_entry.cc const base::Time& date_created, base 48 components/autofill/core/browser/webdata/autofill_entry.cc const base::Time& date_last_used) base 16 components/autofill/core/browser/webdata/autofill_entry.h AutofillKey(const base::string16& name, const base::string16& value); base 21 components/autofill/core/browser/webdata/autofill_entry.h const base::string16& name() const { return name_; } base 22 components/autofill/core/browser/webdata/autofill_entry.h const base::string16& value() const { return value_; } base 28 components/autofill/core/browser/webdata/autofill_entry.h base::string16 name_; base 29 components/autofill/core/browser/webdata/autofill_entry.h base::string16 value_; base 35 components/autofill/core/browser/webdata/autofill_entry.h const base::Time& date_created, base 36 components/autofill/core/browser/webdata/autofill_entry.h const base::Time& date_last_used); base 40 components/autofill/core/browser/webdata/autofill_entry.h const base::Time& date_created() const { return date_created_; } base 41 components/autofill/core/browser/webdata/autofill_entry.h const base::Time& date_last_used() const { return date_last_used_; } base 48 components/autofill/core/browser/webdata/autofill_entry.h base::Time date_created_; base 49 components/autofill/core/browser/webdata/autofill_entry.h base::Time date_last_used_; base 21 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc using base::ASCIIToUTF16; base 22 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc using base::UTF8ToUTF16; base 23 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc using base::UTF16ToUTF8; base 358 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc base::string16 country_name_or_code = base 387 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc DCHECK(base::IsValidGUID(profile.guid())); base 399 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc std::vector<base::string16> values; base 603 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc std::vector<base::string16> values; base 612 components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc base::string16 synced_value( base 50 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h : public base::SupportsUserData::Data, base 53 components/autofill/core/browser/webdata/autofill_profile_syncable_service.h public base::NonThreadSafe { base 24 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc using base::ASCIIToUTF16; base 136 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc std::vector<base::string16> names; base 141 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc std::vector<base::string16> emails; base 146 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc std::vector<base::string16> phones; base 253 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc base::MessageLoop message_loop_; base 599 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc std::vector<base::string16> values; base 633 components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc std::vector<base::string16> values; base 38 components/autofill/core/browser/webdata/autofill_table.cc using base::Time; base 54 components/autofill/core/browser/webdata/autofill_table.cc base::string16 name; base 55 components/autofill/core/browser/webdata/autofill_table.cc base::string16 value; base 64 components/autofill/core/browser/webdata/autofill_table.cc return base::checked_cast<int>(std::floor(f + 0.5f)); base 69 components/autofill/core/browser/webdata/autofill_table.cc base::string16 GetInfo(const AutofillDataModel& data_model, base 71 components/autofill/core/browser/webdata/autofill_table.cc base::string16 data = data_model.GetRawInfo(type); base 80 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(profile.guid())); base 101 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(profile->guid())); base 121 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(credit_card.guid())); base 144 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(credit_card->guid())); base 151 components/autofill/core/browser/webdata/autofill_table.cc base::string16 credit_card_number; base 179 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> first_names; base 180 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> middle_names; base 181 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> last_names; base 208 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> emails; base 231 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> numbers; base 245 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> first_names; base 247 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> middle_names; base 249 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> last_names; base 273 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> emails; base 294 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16> numbers; base 356 components/autofill/core/browser/webdata/autofill_table.cc time_t GetEndTime(const base::Time& end) { base 357 components/autofill/core/browser/webdata/autofill_table.cc if (end.is_null() || end == base::Time::Max()) base 461 components/autofill/core/browser/webdata/autofill_table.cc const base::string16& name, base 462 components/autofill/core/browser/webdata/autofill_table.cc const base::string16& prefix, base 463 components/autofill/core/browser/webdata/autofill_table.cc std::vector<base::string16>* values, base 477 components/autofill/core/browser/webdata/autofill_table.cc base::string16 prefix_lower = base::i18n::ToLower(prefix); base 478 components/autofill/core/browser/webdata/autofill_table.cc base::string16 next_prefix = prefix_lower; base 530 components/autofill/core/browser/webdata/autofill_table.cc base::string16 name = s.ColumnString16(0); base 531 components/autofill/core/browser/webdata/autofill_table.cc base::string16 value = s.ColumnString16(1); base 618 components/autofill/core/browser/webdata/autofill_table.cc base::Time expiration_time = base 619 components/autofill/core/browser/webdata/autofill_table.cc base::Time::Now() - base::TimeDelta::FromDays(kExpirationPeriodInDays); base 628 components/autofill/core/browser/webdata/autofill_table.cc base::string16 name = select_for_delete.ColumnString16(0); base 629 components/autofill/core/browser/webdata/autofill_table.cc base::string16 value = select_for_delete.ColumnString16(1); base 654 components/autofill/core/browser/webdata/autofill_table.cc std::set<base::string16> seen_names; base 673 components/autofill/core/browser/webdata/autofill_table.cc base::string16 name = s.ColumnString16(0); base 674 components/autofill/core/browser/webdata/autofill_table.cc base::string16 value = s.ColumnString16(1); base 684 components/autofill/core/browser/webdata/autofill_table.cc bool AutofillTable::GetAutofillTimestamps(const base::string16& name, base 685 components/autofill/core/browser/webdata/autofill_table.cc const base::string16& value, base 735 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(2, base::i18n::ToLower(entry.key().value())); base 774 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(2, base::i18n::ToLower(element.value)); base 790 components/autofill/core/browser/webdata/autofill_table.cc bool AutofillTable::RemoveFormElement(const base::string16& name, base 791 components/autofill/core/browser/webdata/autofill_table.cc const base::string16& value) { base 818 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(guid)); base 866 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(profile.guid())); base 905 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(guid)); base 969 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(guid)); base 1005 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(credit_card.guid())); base 1031 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(guid)); base 1555 components/autofill/core/browser/webdata/autofill_table.cc if (base::StringToInt(s.ColumnString(1), &id)) base 1661 components/autofill/core/browser/webdata/autofill_table.cc update_s.BindString(0, base::GenerateGUID()); base 1689 components/autofill/core/browser/webdata/autofill_table.cc update_s.BindString(0, base::GenerateGUID()); base 1824 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(profile.guid())); base 1926 components/autofill/core/browser/webdata/autofill_table.cc base::string16 country = s.ColumnString16(1); base 1984 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(base::IsValidGUID(profile->guid())); base 2062 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(index++, base::string16()); // This column is deprecated. base 2143 components/autofill/core/browser/webdata/autofill_table.cc base::string16 line1 = s.ColumnString16(1); base 2144 components/autofill/core/browser/webdata/autofill_table.cc base::string16 line2 = s.ColumnString16(2); base 2145 components/autofill/core/browser/webdata/autofill_table.cc base::string16 street_address = line1; base 2147 components/autofill/core/browser/webdata/autofill_table.cc street_address += base::ASCIIToUTF16("\n") + line2; base 18 components/autofill/core/browser/webdata/autofill_table.h namespace base { base 151 components/autofill/core/browser/webdata/autofill_table.h bool GetFormValuesForElementName(const base::string16& name, base 152 components/autofill/core/browser/webdata/autofill_table.h const base::string16& prefix, base 153 components/autofill/core/browser/webdata/autofill_table.h std::vector<base::string16>* values, base 167 components/autofill/core/browser/webdata/autofill_table.h bool RemoveFormElementsAddedBetween(const base::Time& delete_begin, base 168 components/autofill/core/browser/webdata/autofill_table.h const base::Time& delete_end, base 176 components/autofill/core/browser/webdata/autofill_table.h virtual bool RemoveFormElement(const base::string16& name, base 177 components/autofill/core/browser/webdata/autofill_table.h const base::string16& value); base 183 components/autofill/core/browser/webdata/autofill_table.h virtual bool GetAutofillTimestamps(const base::string16& name, base 184 components/autofill/core/browser/webdata/autofill_table.h const base::string16& value, base 185 components/autofill/core/browser/webdata/autofill_table.h base::Time* date_created, base 186 components/autofill/core/browser/webdata/autofill_table.h base::Time* date_last_used); base 234 components/autofill/core/browser/webdata/autofill_table.h const base::Time& delete_begin, base 235 components/autofill/core/browser/webdata/autofill_table.h const base::Time& delete_end, base 246 components/autofill/core/browser/webdata/autofill_table.h const base::Time& delete_begin, base 247 components/autofill/core/browser/webdata/autofill_table.h const base::Time& delete_end, base 326 components/autofill/core/browser/webdata/autofill_table.h base::Time time); base 329 components/autofill/core/browser/webdata/autofill_table.h base::Time time); base 27 components/autofill/core/browser/webdata/autofill_table_unittest.cc using base::ASCIIToUTF16; base 28 components/autofill/core/browser/webdata/autofill_table_unittest.cc using base::Time; base 29 components/autofill/core/browser/webdata/autofill_table_unittest.cc using base::TimeDelta; base 35 components/autofill/core/browser/webdata/autofill_table_unittest.cc return os << base::UTF16ToASCII(key.name()) << ", " base 36 components/autofill/core/browser/webdata/autofill_table_unittest.cc << base::UTF16ToASCII(key.value()); base 102 components/autofill/core/browser/webdata/autofill_table_unittest.cc int GetAutofillEntryCount(const base::string16& name, base 103 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16& value, base 134 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::FilePath file_; base 135 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::ScopedTempDir temp_dir_; base 152 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time now = base::Time::Now(); base 153 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::TimeDelta two_seconds = base::TimeDelta::FromSeconds(2); base 157 components/autofill/core/browser/webdata/autofill_table_unittest.cc std::vector<base::string16> v; base 192 components/autofill/core/browser/webdata/autofill_table_unittest.cc ASCIIToUTF16("Name"), base::string16(), &v, 6)); base 203 components/autofill/core/browser/webdata/autofill_table_unittest.cc ASCIIToUTF16("Name"), base::string16(), &v, 1)); base 247 components/autofill/core/browser/webdata/autofill_table_unittest.cc ASCIIToUTF16("Name"), base::string16(), &v, 6)); base 251 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kValue = ASCIIToUTF16(" toto "); base 253 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = base::string16(); base 269 components/autofill/core/browser/webdata/autofill_table_unittest.cc ASCIIToUTF16("blank"), base::string16(), &v, 10)); base 481 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(10))); base 483 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(20))); base 485 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(30))); base 487 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(40))); base 489 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(50))); base 494 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->RemoveFormElementsAddedBetween(base::Time::FromTimeT(51), base 495 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(60), base 509 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(50))); base 511 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(60))); base 513 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(70))); base 515 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(80))); base 517 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(90))); base 522 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->RemoveFormElementsAddedBetween(base::Time::FromTimeT(40), base 523 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(50), base 537 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(10))); base 539 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(20))); base 541 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(30))); base 543 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(40))); base 545 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(50))); base 550 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->RemoveFormElementsAddedBetween(base::Time::FromTimeT(10), base 551 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(51), base 568 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(10))); base 570 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(20))); base 572 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(30))); base 574 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(40))); base 576 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(50))); base 581 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->RemoveFormElementsAddedBetween(base::Time::FromTimeT(40), base 582 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(60), base 589 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time date_created, date_last_used; base 593 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(base::Time::FromTimeT(10), date_created); base 594 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(base::Time::FromTimeT(39), date_last_used); base 605 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(50))); base 607 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(60))); base 609 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(70))); base 611 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(80))); base 613 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(90))); base 618 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->RemoveFormElementsAddedBetween(base::Time::FromTimeT(40), base 619 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time::FromTimeT(80), base 626 components/autofill/core/browser/webdata/autofill_table_unittest.cc base::Time date_created, date_last_used; base 630 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(base::Time::FromTimeT(80), date_created); base 631 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(base::Time::FromTimeT(90), date_last_used); base 675 components/autofill/core/browser/webdata/autofill_table_unittest.cc billing_profile.set_guid(base::GenerateGUID()); base 760 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kJohnDoe(ASCIIToUTF16("John Doe")); base 761 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kJohnPDoe(ASCIIToUTF16("John P. Doe")); base 762 components/autofill/core/browser/webdata/autofill_table_unittest.cc std::vector<base::string16> set_values; base 776 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kNoOne(ASCIIToUTF16("No One")); base 792 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(base::string16(), db_profile->GetRawInfo(NAME_FULL)); base 798 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kJohnDoe(ASCIIToUTF16("john@doe.com")); base 799 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kJohnPDoe(ASCIIToUTF16("john_p@doe.com")); base 800 components/autofill/core/browser/webdata/autofill_table_unittest.cc std::vector<base::string16> set_values; base 814 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kNoOne(ASCIIToUTF16("no@one.com")); base 830 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(base::string16(), db_profile->GetRawInfo(EMAIL_ADDRESS)); base 836 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kJohnDoe(ASCIIToUTF16("4151112222")); base 837 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kJohnPDoe(ASCIIToUTF16("4151113333")); base 838 components/autofill/core/browser/webdata/autofill_table_unittest.cc std::vector<base::string16> set_values; base 852 components/autofill/core/browser/webdata/autofill_table_unittest.cc const base::string16 kNoOne(ASCIIToUTF16("4151110000")); base 868 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(base::string16(), db_profile->GetRawInfo(EMAIL_ADDRESS)); base 15 components/autofill/core/browser/webdata/autofill_webdata.h namespace base { base 45 components/autofill/core/browser/webdata/autofill_webdata.h const base::string16& name, base 46 components/autofill/core/browser/webdata/autofill_webdata.h const base::string16& prefix, base 56 components/autofill/core/browser/webdata/autofill_webdata.h const base::Time& delete_begin, const base::Time& delete_end) = 0; base 58 components/autofill/core/browser/webdata/autofill_webdata.h virtual void RemoveFormValueForElementName(const base::string16& name, base 59 components/autofill/core/browser/webdata/autofill_webdata.h const base::string16& value) = 0; base 97 components/autofill/core/browser/webdata/autofill_webdata.h const base::Time& delete_begin, const base::Time& delete_end) = 0; base 102 components/autofill/core/browser/webdata/autofill_webdata.h const base::Time& delete_begin, const base::Time& delete_end) = 0; base 22 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc using base::Bind; base 23 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc using base::Time; base 29 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 30 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc scoped_refptr<base::MessageLoopProxy> db_thread, base 31 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc const base::Closure& on_changed_callback) base 32 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc : base::RefCountedDeleteOnMessageLoop<AutofillWebDataBackendImpl>( base 72 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc base::SupportsUserData* AutofillWebDataBackendImpl::GetDBUserData() { base 105 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc const base::string16& name, const base::string16& prefix, int limit, base 108 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc std::vector<base::string16> values; base 112 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc new WDResult<std::vector<base::string16> >(AUTOFILL_VALUE_RESULT, base 125 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc const base::Time& delete_begin, base 126 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc const base::Time& delete_end, base 147 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc const base::string16& name, const base::string16& value, WebDatabase* db) { base 244 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc base::Bind(&AutofillWebDataBackendImpl::DestroyAutofillProfileResult, base 245 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc base::Unretained(this)))); base 297 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc base::Bind(&AutofillWebDataBackendImpl::DestroyAutofillCreditCardResult, base 298 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc base::Unretained(this)))); base 303 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc const base::Time& delete_begin, base 304 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc const base::Time& delete_end, base 329 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc const base::Time& delete_begin, base 330 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc const base::Time& delete_end, base 21 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h namespace base { base 41 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h : public base::RefCountedDeleteOnMessageLoop<AutofillWebDataBackendImpl>, base 52 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h scoped_refptr<base::MessageLoopProxy> ui_thread, base 53 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h scoped_refptr<base::MessageLoopProxy> db_thread, base 54 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::Closure& on_changed_callback); base 69 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h base::SupportsUserData* GetDBUserData(); base 80 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::string16& name, base 81 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::string16& prefix, base 90 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::Time& delete_begin, base 91 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::Time& delete_end, base 97 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h WebDatabase::State RemoveFormValueForElementName(const base::string16& name, base 98 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::string16& value, base 133 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::Time& delete_begin, base 134 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::Time& delete_end, base 140 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::Time& delete_begin, base 141 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h const base::Time& delete_end, base 148 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h friend class base::RefCountedDeleteOnMessageLoop<AutofillWebDataBackendImpl>; base 149 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h friend class base::DeleteHelper<AutofillWebDataBackendImpl>; base 155 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h class SupportsUserDataAggregatable : public base::SupportsUserData { base 164 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h scoped_refptr<base::MessageLoopProxy> ui_thread_; base 167 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h scoped_refptr<base::MessageLoopProxy> db_thread_; base 187 components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h base::Closure on_changed_callback_; base 23 components/autofill/core/browser/webdata/autofill_webdata_service.cc using base::Bind; base 24 components/autofill/core/browser/webdata/autofill_webdata_service.cc using base::Time; base 30 components/autofill/core/browser/webdata/autofill_webdata_service.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 31 components/autofill/core/browser/webdata/autofill_webdata_service.cc scoped_refptr<base::MessageLoopProxy> db_thread, base 39 components/autofill/core/browser/webdata/autofill_webdata_service.cc base::Closure on_changed_callback = Bind( base 48 components/autofill/core/browser/webdata/autofill_webdata_service.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 49 components/autofill/core/browser/webdata/autofill_webdata_service.cc scoped_refptr<base::MessageLoopProxy> db_thread) base 58 components/autofill/core/browser/webdata/autofill_webdata_service.cc base::Closure())) { base 76 components/autofill/core/browser/webdata/autofill_webdata_service.cc const base::string16& name, const base::string16& prefix, int limit, base 98 components/autofill/core/browser/webdata/autofill_webdata_service.cc const base::string16& name, const base::string16& value) { base 204 components/autofill/core/browser/webdata/autofill_webdata_service.cc base::SupportsUserData* AutofillWebDataService::GetDBUserData() { base 210 components/autofill/core/browser/webdata/autofill_webdata_service.cc const base::Callback<void(AutofillWebDataBackend*)>& callback) { base 211 components/autofill/core/browser/webdata/autofill_webdata_service.cc db_thread_->PostTask(FROM_HERE, base::Bind(callback, autofill_backend_)); base 23 components/autofill/core/browser/webdata/autofill_webdata_service.h namespace base { base 41 components/autofill/core/browser/webdata/autofill_webdata_service.h AutofillWebDataService(scoped_refptr<base::MessageLoopProxy> ui_thread, base 42 components/autofill/core/browser/webdata/autofill_webdata_service.h scoped_refptr<base::MessageLoopProxy> db_thread); base 44 components/autofill/core/browser/webdata/autofill_webdata_service.h scoped_refptr<base::MessageLoopProxy> ui_thread, base 45 components/autofill/core/browser/webdata/autofill_webdata_service.h scoped_refptr<base::MessageLoopProxy> db_thread, base 55 components/autofill/core/browser/webdata/autofill_webdata_service.h const base::string16& name, base 56 components/autofill/core/browser/webdata/autofill_webdata_service.h const base::string16& prefix, base 63 components/autofill/core/browser/webdata/autofill_webdata_service.h const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; base 65 components/autofill/core/browser/webdata/autofill_webdata_service.h const base::string16& name, base 66 components/autofill/core/browser/webdata/autofill_webdata_service.h const base::string16& value) OVERRIDE; base 78 components/autofill/core/browser/webdata/autofill_webdata_service.h const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; base 80 components/autofill/core/browser/webdata/autofill_webdata_service.h const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; base 92 components/autofill/core/browser/webdata/autofill_webdata_service.h base::SupportsUserData* GetDBUserData(); base 98 components/autofill/core/browser/webdata/autofill_webdata_service.h const base::Callback<void(AutofillWebDataBackend*)>& callback); base 105 components/autofill/core/browser/webdata/autofill_webdata_service.h base::WeakPtr<AutofillWebDataService> AsWeakPtr() { base 113 components/autofill/core/browser/webdata/autofill_webdata_service.h scoped_refptr<base::MessageLoopProxy> ui_thread_; base 116 components/autofill/core/browser/webdata/autofill_webdata_service.h scoped_refptr<base::MessageLoopProxy> db_thread_; base 120 components/autofill/core/browser/webdata/autofill_webdata_service.h base::WeakPtrFactory<AutofillWebDataService> weak_ptr_factory_; base 38 components/autofill/core/browser/webdata/web_data_service_unittest.cc using base::ASCIIToUTF16; base 39 components/autofill/core/browser/webdata/web_data_service_unittest.cc using base::Time; base 40 components/autofill/core/browser/webdata/web_data_service_unittest.cc using base::TimeDelta; base 41 components/autofill/core/browser/webdata/web_data_service_unittest.cc using base::WaitableEvent; base 63 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Quit(); base 103 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::FilePath path = temp_dir_.path().AppendASCII("TestWebDB"); base 106 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoopProxy::current(), base 113 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoopProxy::current(), base 126 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 127 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::QuitClosure()); base 128 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 133 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::WaitableEvent done(false, false); base 136 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&done))); base 140 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoopForUI message_loop_; base 141 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::Thread db_thread_; base 142 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::FilePath profile_dir_; base 145 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::ScopedTempDir temp_dir_; base 169 components/autofill/core/browser/webdata/web_data_service_unittest.cc FROM_HERE, base::Bind(add_observer_func, wds_, &observer_)); base 178 components/autofill/core/browser/webdata/web_data_service_unittest.cc FROM_HERE, base::Bind(remove_observer_func, wds_, &observer_)); base 184 components/autofill/core/browser/webdata/web_data_service_unittest.cc void AppendFormField(const base::string16& name, base 185 components/autofill/core/browser/webdata/web_data_service_unittest.cc const base::string16& value, base 193 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::string16 name1_; base 194 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::string16 name2_; base 195 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::string16 value1_; base 196 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::string16 value2_; base 223 components/autofill/core/browser/webdata/web_data_service_unittest.cc AutofillWebDataServiceConsumer<std::vector<base::string16> > consumer; base 227 components/autofill/core/browser/webdata/web_data_service_unittest.cc name1_, base::string16(), limit, &consumer); base 230 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 307 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 326 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 345 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 367 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 389 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 406 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 423 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 436 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 454 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 470 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 492 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 506 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 528 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 535 components/autofill/core/browser/webdata/web_data_service_unittest.cc base::MessageLoop::current()->Run(); base 24 components/autofill/core/common/autofill_data_validation.cc bool IsValidString16(const base::string16& str) { base 89 components/autofill/core/common/autofill_data_validation.cc bool IsValidString16Vector(const std::vector<base::string16>& v) { base 93 components/autofill/core/common/autofill_data_validation.cc for (std::vector<base::string16>::const_iterator it = v.begin(); base 35 components/autofill/core/common/autofill_data_validation.h bool IsValidString16(const base::string16& str); base 40 components/autofill/core/common/autofill_data_validation.h bool IsValidString16Vector(const std::vector<base::string16>& v); base 83 components/autofill/core/common/form_data.cc os << base::UTF16ToUTF8(form.name) << " " base 84 components/autofill/core/common/form_data.cc << base::UTF16ToUTF8(form.method) << " " base 27 components/autofill/core/common/form_data.h base::string16 name; base 29 components/autofill/core/common/form_data.h base::string16 method; base 15 components/autofill/core/common/form_data_unittest.cc data.name = base::ASCIIToUTF16("name"); base 16 components/autofill/core/common/form_data_unittest.cc data.method = base::ASCIIToUTF16("POST"); base 22 components/autofill/core/common/form_data_unittest.cc field_data.label = base::ASCIIToUTF16("label"); base 23 components/autofill/core/common/form_data_unittest.cc field_data.name = base::ASCIIToUTF16("name"); base 24 components/autofill/core/common/form_data_unittest.cc field_data.value = base::ASCIIToUTF16("value"); base 33 components/autofill/core/common/form_data_unittest.cc field_data.text_direction = base::i18n::RIGHT_TO_LEFT; base 34 components/autofill/core/common/form_data_unittest.cc field_data.option_values.push_back(base::ASCIIToUTF16("First")); base 35 components/autofill/core/common/form_data_unittest.cc field_data.option_values.push_back(base::ASCIIToUTF16("Second")); base 36 components/autofill/core/common/form_data_unittest.cc field_data.option_contents.push_back(base::ASCIIToUTF16("First")); base 37 components/autofill/core/common/form_data_unittest.cc field_data.option_contents.push_back(base::ASCIIToUTF16("Second")); base 43 components/autofill/core/common/form_data_unittest.cc field_data.option_values.push_back(base::ASCIIToUTF16("Third")); base 44 components/autofill/core/common/form_data_unittest.cc field_data.option_contents.push_back(base::ASCIIToUTF16("Third")); base 15 components/autofill/core/common/form_field_data.cc void AddVectorToPickle(std::vector<base::string16> strings, base 24 components/autofill/core/common/form_field_data.cc std::vector<base::string16>* strings) { base 29 components/autofill/core/common/form_field_data.cc base::string16 pickle_data; base 40 components/autofill/core/common/form_field_data.cc base::i18n::TextDirection* direction) { base 45 components/autofill/core/common/form_field_data.cc *direction = static_cast<base::i18n::TextDirection>(pickle_data); base 69 components/autofill/core/common/form_field_data.cc text_direction(base::i18n::UNKNOWN_DIRECTION) { base 154 components/autofill/core/common/form_field_data.cc << base::UTF16ToUTF8(field.label) base 156 components/autofill/core/common/form_field_data.cc << base::UTF16ToUTF8(field.name) base 158 components/autofill/core/common/form_field_data.cc << base::UTF16ToUTF8(field.value) base 32 components/autofill/core/common/form_field_data.h base::string16 label; base 33 components/autofill/core/common/form_field_data.h base::string16 name; base 34 components/autofill/core/common/form_field_data.h base::string16 value; base 43 components/autofill/core/common/form_field_data.h base::i18n::TextDirection text_direction; base 47 components/autofill/core/common/form_field_data.h std::vector<base::string16> option_values; base 48 components/autofill/core/common/form_field_data.h std::vector<base::string16> option_contents; base 16 components/autofill/core/common/form_field_data_unittest.cc data.label = base::ASCIIToUTF16("label"); base 17 components/autofill/core/common/form_field_data_unittest.cc data.name = base::ASCIIToUTF16("name"); base 18 components/autofill/core/common/form_field_data_unittest.cc data.value = base::ASCIIToUTF16("value"); base 27 components/autofill/core/common/form_field_data_unittest.cc data.text_direction = base::i18n::RIGHT_TO_LEFT; base 28 components/autofill/core/common/form_field_data_unittest.cc data.option_values.push_back(base::ASCIIToUTF16("First")); base 29 components/autofill/core/common/form_field_data_unittest.cc data.option_values.push_back(base::ASCIIToUTF16("Second")); base 30 components/autofill/core/common/form_field_data_unittest.cc data.option_contents.push_back(base::ASCIIToUTF16("First")); base 31 components/autofill/core/common/form_field_data_unittest.cc data.option_contents.push_back(base::ASCIIToUTF16("Second")); base 20 components/autofill/core/common/password_autofill_util.cc std::string group_name = base::FieldTrialList::FindFullName( base 63 components/autofill/core/common/password_form.cc << " submit_element: " << base::UTF16ToUTF8(form.submit_element) base 64 components/autofill/core/common/password_form.cc << " username_elem: " << base::UTF16ToUTF8(form.username_element) base 65 components/autofill/core/common/password_form.cc << " username_value: " << base::UTF16ToUTF8(form.username_value) base 66 components/autofill/core/common/password_form.cc << " password_elem: " << base::UTF16ToUTF8(form.password_element) base 67 components/autofill/core/common/password_form.cc << " password_value: " << base::UTF16ToUTF8(form.password_value) base 69 components/autofill/core/common/password_form.cc << base::UTF16ToUTF8(form.old_password_element) base 71 components/autofill/core/common/password_form.cc << base::UTF16ToUTF8(form.old_password_value) base 98 components/autofill/core/common/password_form.h base::string16 submit_element; base 103 components/autofill/core/common/password_form.h base::string16 username_element; base 109 components/autofill/core/common/password_form.h base::string16 username_value; base 116 components/autofill/core/common/password_form.h std::vector<base::string16> other_possible_usernames; base 121 components/autofill/core/common/password_form.h base::string16 password_element; base 126 components/autofill/core/common/password_form.h base::string16 password_value; base 134 components/autofill/core/common/password_form.h base::string16 old_password_element; base 137 components/autofill/core/common/password_form.h base::string16 old_password_value; base 160 components/autofill/core/common/password_form.h base::Time date_created; base 210 components/autofill/core/common/password_form.h typedef std::map<base::string16, PasswordForm*> PasswordFormMap; base 24 components/autofill/core/common/password_form_fill_data.h base::string16 username; base 25 components/autofill/core/common/password_form_fill_data.h base::string16 password; base 30 components/autofill/core/common/password_form_fill_data.h base::string16 password; base 38 components/autofill/core/common/password_form_fill_data.h typedef std::map<base::string16, PasswordAndRealm> LoginCollection; base 40 components/autofill/core/common/password_form_fill_data.h std::vector<base::string16> > UsernamesCollection; base 12 components/autofill/core/common/password_form_fill_data_unittest.cc using base::ASCIIToUTF16; base 49 components/autofill/core/common/password_generation_util.cc base::FieldTrialList::FindFullName("PasswordGeneration"); base 35 components/breakpad/app/breakpad_client.cc base::FilePath* crash_dir) { base 39 components/breakpad/app/breakpad_client.cc void BreakpadClient::GetProductNameAndVersion(const base::FilePath& exe_path, base 40 components/breakpad/app/breakpad_client.cc base::string16* product_name, base 41 components/breakpad/app/breakpad_client.cc base::string16* version, base 42 components/breakpad/app/breakpad_client.cc base::string16* special_build, base 43 components/breakpad/app/breakpad_client.cc base::string16* channel_name) { base 46 components/breakpad/app/breakpad_client.cc bool BreakpadClient::ShouldShowRestartDialog(base::string16* title, base 47 components/breakpad/app/breakpad_client.cc base::string16* message, base 60 components/breakpad/app/breakpad_client.cc bool BreakpadClient::GetIsPerUserInstall(const base::FilePath& exe_path) { base 84 components/breakpad/app/breakpad_client.cc base::FilePath BreakpadClient::GetReporterLogFilename() { base 85 components/breakpad/app/breakpad_client.cc return base::FilePath(); base 89 components/breakpad/app/breakpad_client.cc bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) { base 13 components/breakpad/app/breakpad_client.h namespace base { base 54 components/breakpad/app/breakpad_client.h virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir); base 58 components/breakpad/app/breakpad_client.h virtual void GetProductNameAndVersion(const base::FilePath& exe_path, base 59 components/breakpad/app/breakpad_client.h base::string16* product_name, base 60 components/breakpad/app/breakpad_client.h base::string16* version, base 61 components/breakpad/app/breakpad_client.h base::string16* special_build, base 62 components/breakpad/app/breakpad_client.h base::string16* channel_name); base 68 components/breakpad/app/breakpad_client.h virtual bool ShouldShowRestartDialog(base::string16* title, base 69 components/breakpad/app/breakpad_client.h base::string16* message, base 80 components/breakpad/app/breakpad_client.h virtual bool GetIsPerUserInstall(const base::FilePath& exe_path); base 102 components/breakpad/app/breakpad_client.h virtual base::FilePath GetReporterLogFilename(); base 107 components/breakpad/app/breakpad_client.h virtual bool GetCrashDumpLocation(base::FilePath* crash_dir); base 203 components/breakpad/app/breakpad_linux.cc size_t distro_len = std::min(my_strlen(base::g_linux_distro), kDistroSize); base 204 components/breakpad/app/breakpad_linux.cc memcpy(distro, base::g_linux_distro, distro_len); base 216 components/breakpad/app/breakpad_linux.cc base::SetLinuxDistro(switch_value.substr(separator + 1)); base 285 components/breakpad/app/breakpad_linux.cc void AddItem(const void* base, size_t size); base 290 components/breakpad/app/breakpad_linux.cc void AddItemWithoutTrailingSpaces(const void* base, size_t size); base 387 components/breakpad/app/breakpad_linux.cc void MimeWriter::AddItem(const void* base, size_t size) { base 392 components/breakpad/app/breakpad_linux.cc iov_[iov_index_].iov_base = const_cast<void*>(base); base 397 components/breakpad/app/breakpad_linux.cc void MimeWriter::AddItemWithoutTrailingSpaces(const void* base, size_t size) { base 398 components/breakpad/app/breakpad_linux.cc AddItem(base, LengthWithoutTrailingSpaces(static_cast<const char*>(base), base 543 components/breakpad/app/breakpad_linux.cc base::android::BuildInfo* android_build_info = base 544 components/breakpad/app/breakpad_linux.cc base::android::BuildInfo::GetInstance(); base 589 components/breakpad/app/breakpad_linux.cc info.distro = base::g_linux_distro; base 590 components/breakpad/app/breakpad_linux.cc info.distro_length = my_strlen(base::g_linux_distro); base 593 components/breakpad/app/breakpad_linux.cc info.oom_size = base::g_oom_size; base 635 components/breakpad/app/breakpad_linux.cc base::FilePath tmp_path("/tmp"); base 636 components/breakpad/app/breakpad_linux.cc PathService::Get(base::DIR_TEMP, &tmp_path); base 638 components/breakpad/app/breakpad_linux.cc base::FilePath dumps_path(tmp_path); base 640 components/breakpad/app/breakpad_linux.cc base::FilePath logfile = base 706 components/breakpad/app/breakpad_linux.cc base::android::BuildInfo* android_build_info = base 707 components/breakpad/app/breakpad_linux.cc base::android::BuildInfo::GetInstance(); base 732 components/breakpad/app/breakpad_linux.cc base::android::BuildInfo::GetInstance(); base 799 components/breakpad/app/breakpad_linux.cc iov[5].iov_base = &base::g_oom_size; base 800 components/breakpad/app/breakpad_linux.cc iov[5].iov_len = sizeof(base::g_oom_size); base 842 components/breakpad/app/breakpad_linux.cc const int fd = base::GlobalDescriptors::GetInstance()->Get(kCrashDumpSignal); base 858 components/breakpad/app/breakpad_linux.cc void SetCrashKeyValue(const base::StringPiece& key, base 859 components/breakpad/app/breakpad_linux.cc const base::StringPiece& value) { base 863 components/breakpad/app/breakpad_linux.cc void ClearCrashKey(const base::StringPiece& key) { base 871 components/breakpad/app/breakpad_linux.cc base::debug::SetCrashKeyReportingFunctions(&SetCrashKeyValue, &ClearCrashKey); base 880 components/breakpad/app/breakpad_linux.cc base::debug::SetDumpWithoutCrashingFunction(&DumpProcess); base 1236 components/breakpad/app/breakpad_linux.cc base::android::BuildInfo* android_build_info = base 1237 components/breakpad/app/breakpad_linux.cc base::android::BuildInfo::GetInstance(); base 1486 components/breakpad/app/breakpad_linux.cc base::android::BuildInfo::GetInstance(); base 1539 components/breakpad/app/breakpad_linux.cc int minidump_fd = base::GlobalDescriptors::GetInstance()->MaybeGet( base 1541 components/breakpad/app/breakpad_linux.cc if (minidump_fd == base::kInvalidPlatformFileValue) { base 175 components/breakpad/app/breakpad_win.cc base::wcslcpy((*g_custom_entries)[offset].value, base 176 components/breakpad/app/breakpad_win.cc base::StringPrintf(L"%d", value).c_str(), base 202 components/breakpad/app/breakpad_win.cc base::StringPrintf(L"plugin-path-chunk-%i", chunk_index + 1).c_str(), base 212 components/breakpad/app/breakpad_win.cc base::FilePath crash_dumps_dir_path; base 244 components/breakpad/app/breakpad_win.cc base::SStringPrintf(&profile_type, L"error %u", last_error); base 253 components/breakpad/app/breakpad_win.cc base::string16 version, product; base 254 components/breakpad/app/breakpad_win.cc base::string16 special_build; base 255 components/breakpad/app/breakpad_win.cc base::string16 channel_name; base 257 components/breakpad/app/breakpad_win.cc base::FilePath(exe_path), base 270 components/breakpad/app/breakpad_win.cc base::UTF16ToWide(version).c_str())); base 273 components/breakpad/app/breakpad_win.cc base::UTF16ToWide(product).c_str())); base 279 components/breakpad/app/breakpad_win.cc L"pid", base::StringPrintf(L"%d", ::GetCurrentProcessId()).c_str())); base 281 components/breakpad/app/breakpad_win.cc L"channel", base::UTF16ToWide(channel_name).c_str())); base 291 components/breakpad/app/breakpad_win.cc L"special", base::UTF16ToWide(special_build).c_str())); base 489 components/breakpad/app/breakpad_win.cc if (base::win::IsMetroProcess()) base 492 components/breakpad/app/breakpad_win.cc base::string16 message; base 493 components/breakpad/app/breakpad_win.cc base::string16 title; base 506 components/breakpad/app/breakpad_win.cc return WrapMessageBoxWithSEH(base::UTF16ToWide(message).c_str(), base 507 components/breakpad/app/breakpad_win.cc base::UTF16ToWide(title).c_str(), base 604 components/breakpad/app/breakpad_win.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 646 components/breakpad/app/breakpad_win.cc if (!base::win::GetUserSidString(&user_sid)) { base 656 components/breakpad/app/breakpad_win.cc env->SetVar(kPipeNameVar, base::UTF16ToASCII(pipe_name)); base 671 components/breakpad/app/breakpad_win.cc std::wstring process_type = base::ASCIIToWide(process_type_switch); base 680 components/breakpad/app/breakpad_win.cc GetBreakpadClient()->GetIsPerUserInstall(base::FilePath(exe_path)); base 702 components/breakpad/app/breakpad_win.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 713 components/breakpad/app/breakpad_win.cc std::wstring pipe_name = base::ASCIIToWide(pipe_name_ascii); base 751 components/breakpad/app/breakpad_win.cc base::debug::SetDumpWithoutCrashingFunction(&DumpProcessWithoutCrash); base 60 components/breakpad/app/hard_error_handler_win.cc base::string16 message; base 35 components/breakpad/browser/crash_dump_manager_android.cc CrashDumpManager::CrashDumpManager(const base::FilePath& crash_dump_dir) base 58 components/breakpad/browser/crash_dump_manager_android.cc base::File CrashDumpManager::CreateMinidumpFile(int child_process_id) { base 60 components/breakpad/browser/crash_dump_manager_android.cc base::FilePath minidump_path; base 61 components/breakpad/browser/crash_dump_manager_android.cc if (!base::CreateTemporaryFile(&minidump_path)) base 62 components/breakpad/browser/crash_dump_manager_android.cc return base::File(); base 66 components/breakpad/browser/crash_dump_manager_android.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 67 components/breakpad/browser/crash_dump_manager_android.cc base::File::FLAG_WRITE; base 68 components/breakpad/browser/crash_dump_manager_android.cc base::File minidump_file(minidump_path, flags); base 71 components/breakpad/browser/crash_dump_manager_android.cc return base::File(); base 75 components/breakpad/browser/crash_dump_manager_android.cc base::AutoLock auto_lock(child_process_id_to_minidump_path_lock_); base 83 components/breakpad/browser/crash_dump_manager_android.cc void CrashDumpManager::ProcessMinidump(const base::FilePath& minidump_path, base 84 components/breakpad/browser/crash_dump_manager_android.cc base::ProcessHandle pid) { base 87 components/breakpad/browser/crash_dump_manager_android.cc int r = base::GetFileSize(minidump_path, &file_size); base 93 components/breakpad/browser/crash_dump_manager_android.cc r = base::DeleteFile(minidump_path, false); base 105 components/breakpad/browser/crash_dump_manager_android.cc const uint64 rand = base::RandUint64(); base 107 components/breakpad/browser/crash_dump_manager_android.cc base::StringPrintf("chromium-renderer-minidump-%016" PRIx64 ".dmp%d", base 109 components/breakpad/browser/crash_dump_manager_android.cc base::FilePath dest_path = instance_->crash_dump_dir_.Append(filename); base 110 components/breakpad/browser/crash_dump_manager_android.cc r = base::Move(minidump_path, dest_path); base 114 components/breakpad/browser/crash_dump_manager_android.cc base::DeleteFile(minidump_path, false); base 152 components/breakpad/browser/crash_dump_manager_android.cc base::ProcessHandle pid) { base 153 components/breakpad/browser/crash_dump_manager_android.cc base::FilePath minidump_path; base 155 components/breakpad/browser/crash_dump_manager_android.cc base::AutoLock auto_lock(child_process_id_to_minidump_path_lock_); base 168 components/breakpad/browser/crash_dump_manager_android.cc base::Bind(&CrashDumpManager::ProcessMinidump, minidump_path, pid)); base 40 components/breakpad/browser/crash_dump_manager_android.h explicit CrashDumpManager(const base::FilePath& crash_dump_dir); base 46 components/breakpad/browser/crash_dump_manager_android.h base::File CreateMinidumpFile(int child_process_id); base 49 components/breakpad/browser/crash_dump_manager_android.h typedef std::map<int, base::FilePath> ChildProcessIDToMinidumpPath; base 51 components/breakpad/browser/crash_dump_manager_android.h static void ProcessMinidump(const base::FilePath& minidump_path, base 52 components/breakpad/browser/crash_dump_manager_android.h base::ProcessHandle pid); base 66 components/breakpad/browser/crash_dump_manager_android.h void OnChildExit(int child_process_id, base::ProcessHandle pid); base 72 components/breakpad/browser/crash_dump_manager_android.h base::Lock child_process_id_to_minidump_path_lock_; base 75 components/breakpad/browser/crash_dump_manager_android.h base::FilePath crash_dump_dir_; base 56 components/breakpad/browser/crash_handler_host_linux.cc base::DeleteFile(base::FilePath(info->filename), false); base 58 components/breakpad/browser/crash_handler_host_linux.cc base::DeleteFile(base::FilePath(info->log_filename), false); base 82 components/breakpad/browser/crash_handler_host_linux.cc const base::FilePath& dumps_path, base 107 components/breakpad/browser/crash_handler_host_linux.cc base::Bind(&CrashHandlerHostLinux::Init, base::Unretained(this))); base 117 components/breakpad/browser/crash_handler_host_linux.cc new base::Thread(std::string(process_type_ + "_crash_uploader").c_str())); base 122 components/breakpad/browser/crash_handler_host_linux.cc base::MessageLoopForIO* ml = base::MessageLoopForIO::current(); base 125 components/breakpad/browser/crash_handler_host_linux.cc base::MessageLoopForIO::WATCH_READ, base 274 components/breakpad/browser/crash_handler_host_linux.cc if (!base::FileDescriptorGetInode(&inode_number, partner_fd)) { base 283 components/breakpad/browser/crash_handler_host_linux.cc if (!base::FindProcessHoldingSocket(&actual_crashing_pid, inode_number)) { base 307 components/breakpad/browser/crash_handler_host_linux.cc base::StringAppendF(&expected_syscall_data, "%d 0x%x %p 0x1 ", base 311 components/breakpad/browser/crash_handler_host_linux.cc base::FindThreadIDWithSyscall(crashing_pid, base 361 components/breakpad/browser/crash_handler_host_linux.cc base::Bind(&CrashHandlerHostLinux::WriteDumpFile, base 362 components/breakpad/browser/crash_handler_host_linux.cc base::Unretained(this), base 376 components/breakpad/browser/crash_handler_host_linux.cc base::FilePath dumps_path("/tmp"); base 377 components/breakpad/browser/crash_handler_host_linux.cc PathService::Get(base::DIR_TEMP, &dumps_path); base 380 components/breakpad/browser/crash_handler_host_linux.cc const uint64 rand = base::RandUint64(); base 382 components/breakpad/browser/crash_handler_host_linux.cc base::StringPrintf("%s/chromium-%s-minidump-%016" PRIx64 ".dmp", base 398 components/breakpad/browser/crash_handler_host_linux.cc base::StringPrintf("%s/chromium-%s-minidump-%016" PRIx64 ".log", base 426 components/breakpad/browser/crash_handler_host_linux.cc base::Bind(&CrashHandlerHostLinux::QueueCrashDumpTask, base 427 components/breakpad/browser/crash_handler_host_linux.cc base::Unretained(this), base 449 components/breakpad/browser/crash_handler_host_linux.cc base::Bind(&CrashDumpTask, base::Unretained(this), info)); base 18 components/breakpad/browser/crash_handler_host_linux.h namespace base { base 33 components/breakpad/browser/crash_handler_host_linux.h class CrashHandlerHostLinux : public base::MessageLoopForIO::Watcher, base 34 components/breakpad/browser/crash_handler_host_linux.h public base::MessageLoop::DestructionObserver { base 37 components/breakpad/browser/crash_handler_host_linux.h const base::FilePath& dumps_path, base 74 components/breakpad/browser/crash_handler_host_linux.h base::FilePath dumps_path_; base 80 components/breakpad/browser/crash_handler_host_linux.h base::MessageLoopForIO::FileDescriptorWatcher file_descriptor_watcher_; base 81 components/breakpad/browser/crash_handler_host_linux.h scoped_ptr<base::Thread> uploader_thread_; base 86 components/breakpad/browser/crash_handler_host_linux.h base::SequencedWorkerPool::SequenceToken worker_pool_token_; base 164 components/breakpad/tools/crash_service.cc base::AutoLock lock(sending_); base 169 components/breakpad/tools/crash_service.cc bool CrashService::Initialize(const base::FilePath& operating_dir, base 170 components/breakpad/tools/crash_service.cc const base::FilePath& dumps_path) { base 179 components/breakpad/tools/crash_service.cc base::FilePath checkpoint_path = operating_dir.Append(kCheckPointFile); base 183 components/breakpad/tools/crash_service.cc base::FilePath dumps_path_to_use = dumps_path; base 187 components/breakpad/tools/crash_service.cc base::FilePath(cmd_line.GetSwitchValueNative(kDumpsDir)); base 211 components/breakpad/tools/crash_service.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 313 components/breakpad/tools/crash_service.cc base::AutoLock lock(self->sending_); base 347 components/breakpad/tools/crash_service.cc base::FilePath dump_location = base::FilePath(*file_path); base 350 components/breakpad/tools/crash_service.cc base::FilePath alternate_dump_location = base::FilePath(it->second); base 351 components/breakpad/tools/crash_service.cc base::CreateDirectoryW(alternate_dump_location); base 354 components/breakpad/tools/crash_service.cc base::Move(dump_location, alternate_dump_location); base 406 components/breakpad/tools/crash_service.cc base::AutoLock lock(info->self->sending_); base 40 components/breakpad/tools/crash_service.h bool Initialize(const base::FilePath& operating_dir, base 41 components/breakpad/tools/crash_service.h const base::FilePath& dumps_path); base 118 components/breakpad/tools/crash_service.h base::Lock sending_; base 23 components/cloud_devices/cloud_device_description.cc root_.reset(new base::DictionaryValue); base 28 components/cloud_devices/cloud_device_description.cc scoped_ptr<base::DictionaryValue> root) { base 39 components/cloud_devices/cloud_device_description.cc scoped_ptr<base::Value> parsed(base::JSONReader::Read(json)); base 40 components/cloud_devices/cloud_device_description.cc base::DictionaryValue* description = NULL; base 49 components/cloud_devices/cloud_device_description.cc base::JSONWriter::WriteWithOptions(root_.get(), base 50 components/cloud_devices/cloud_device_description.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 55 components/cloud_devices/cloud_device_description.cc const base::DictionaryValue* CloudDeviceDescription::GetItem( base 57 components/cloud_devices/cloud_device_description.cc const base::DictionaryValue* value = NULL; base 62 components/cloud_devices/cloud_device_description.cc base::DictionaryValue* CloudDeviceDescription::CreateItem( base 64 components/cloud_devices/cloud_device_description.cc base::DictionaryValue* value = new base::DictionaryValue; base 69 components/cloud_devices/cloud_device_description.cc const base::ListValue* CloudDeviceDescription::GetListItem( base 71 components/cloud_devices/cloud_device_description.cc const base::ListValue* value = NULL; base 76 components/cloud_devices/cloud_device_description.cc base::ListValue* CloudDeviceDescription::CreateListItem( base 78 components/cloud_devices/cloud_device_description.cc base::ListValue* value = new base::ListValue; base 12 components/cloud_devices/cloud_device_description.h namespace base { base 29 components/cloud_devices/cloud_device_description.h bool InitFromDictionary(scoped_ptr<base::DictionaryValue> root); base 36 components/cloud_devices/cloud_device_description.h const base::DictionaryValue* GetItem(const std::string& path) const; base 40 components/cloud_devices/cloud_device_description.h base::DictionaryValue* CreateItem(const std::string& path); base 44 components/cloud_devices/cloud_device_description.h const base::ListValue* GetListItem(const std::string& path) const; base 48 components/cloud_devices/cloud_device_description.h base::ListValue* CreateListItem(const std::string& path); base 51 components/cloud_devices/cloud_device_description.h scoped_ptr<base::DictionaryValue> root_; base 17 components/cloud_devices/description_items.h namespace base { base 136 components/cloud_devices/description_items.h default_idx_ = base::checked_cast<int>(size()); base 42 components/cloud_devices/description_items_inl.h const base::ListValue* options = base 47 components/cloud_devices/description_items_inl.h const base::DictionaryValue* option_value = NULL; base 62 components/cloud_devices/description_items_inl.h base::ListValue* options_list = base 65 components/cloud_devices/description_items_inl.h base::DictionaryValue* option_value = new base::DictionaryValue; base 87 components/cloud_devices/description_items_inl.h return default_idx_ >= 0 && default_idx_ < base::checked_cast<int>(size()); base 94 components/cloud_devices/description_items_inl.h const base::DictionaryValue* item = base 98 components/cloud_devices/description_items_inl.h const base::ListValue* options = NULL; base 102 components/cloud_devices/description_items_inl.h const base::DictionaryValue* option_value = NULL; base 122 components/cloud_devices/description_items_inl.h base::ListValue* options_list = new base::ListValue; base 126 components/cloud_devices/description_items_inl.h base::DictionaryValue* option_value = new base::DictionaryValue; base 128 components/cloud_devices/description_items_inl.h if (base::checked_cast<int>(i) == default_idx_) base 146 components/cloud_devices/description_items_inl.h const base::DictionaryValue* dict = base 158 components/cloud_devices/description_items_inl.h base::DictionaryValue* dict = base 193 components/cloud_devices/description_items_inl.h const base::DictionaryValue* option_value = base 228 components/cloud_devices/description_items_inl.h const base::DictionaryValue* option_value = base 524 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, ContentType* option) { base 528 components/cloud_devices/printer_description.cc static void Save(ContentType option, base::DictionaryValue* dict) { base 536 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, PwgRasterConfig* option) { base 554 components/cloud_devices/printer_description.cc static void Save(const PwgRasterConfig& option, base::DictionaryValue* dict) { base 573 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, Color* option) { base 584 components/cloud_devices/printer_description.cc static void Save(const Color& option, base::DictionaryValue* dict) { base 596 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, DuplexType* option) { base 602 components/cloud_devices/printer_description.cc static void Save(DuplexType option, base::DictionaryValue* dict) { base 610 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, OrientationType* option) { base 616 components/cloud_devices/printer_description.cc static void Save(OrientationType option, base::DictionaryValue* dict) { base 627 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, int32* option) { base 631 components/cloud_devices/printer_description.cc static void Save(int32 option, base::DictionaryValue* dict) { base 639 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, Margins* option) { base 652 components/cloud_devices/printer_description.cc static void Save(const Margins& option, base::DictionaryValue* dict) { base 667 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, Dpi* option) { base 675 components/cloud_devices/printer_description.cc static void Save(const Dpi& option, base::DictionaryValue* dict) { base 684 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, FitToPageType* option) { base 690 components/cloud_devices/printer_description.cc static void Save(FitToPageType option, base::DictionaryValue* dict) { base 706 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, PageRange* option) { base 707 components/cloud_devices/printer_description.cc const base::ListValue* list = NULL; base 711 components/cloud_devices/printer_description.cc const base::DictionaryValue* interval = NULL; base 722 components/cloud_devices/printer_description.cc static void Save(const PageRange& option, base::DictionaryValue* dict) { base 724 components/cloud_devices/printer_description.cc base::ListValue* list = new base::ListValue; base 727 components/cloud_devices/printer_description.cc base::DictionaryValue* interval = new base::DictionaryValue; base 743 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, Media* option) { base 757 components/cloud_devices/printer_description.cc static void Save(const Media& option, base::DictionaryValue* dict) { base 776 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, bool* option) { base 780 components/cloud_devices/printer_description.cc static void Save(bool option, base::DictionaryValue* dict) { base 790 components/cloud_devices/printer_description.cc static bool Load(const base::DictionaryValue& dict, bool* option) { base 794 components/cloud_devices/printer_description.cc static void Save(bool option, base::DictionaryValue* dict) { base 22 components/cloud_devices/printer_description_unittest.cc base::ReplaceChars(result, "'", "\"", &result); base 23 components/cloud_devices/printer_description_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(result)); base 25 components/cloud_devices/printer_description_unittest.cc base::JSONWriter::Write(value.get(), &result); base 16 components/dom_distiller/android/component_jni_registrar.cc static base::android::RegistrationMethod kDomDistillerRegisteredMethods[] = { base 21 components/dom_distiller/android/component_jni_registrar.cc return base::android::RegisterNativeMethods( base 7 components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java import org.chromium.base.JNINamespace; base 22 components/dom_distiller/content/distiller_page_web_contents.cc const base::WeakPtr<DistillerPage::Delegate>& delegate) const { base 29 components/dom_distiller/content/distiller_page_web_contents.cc const base::WeakPtr<Delegate>& delegate, base 54 components/dom_distiller/content/distiller_page_web_contents.cc frame->ExecuteJavaScript(base::UTF8ToUTF16(script), base 55 components/dom_distiller/content/distiller_page_web_contents.cc base::Bind(&DistillerPage::OnExecuteJavaScriptDone, base 56 components/dom_distiller/content/distiller_page_web_contents.cc base::Unretained(this), base 75 components/dom_distiller/content/distiller_page_web_contents.cc const base::string16& error_description, base 34 components/dom_distiller/content/distiller_page_web_contents.h const base::WeakPtr<DistillerPage::Delegate>& delegate) const OVERRIDE; base 44 components/dom_distiller/content/distiller_page_web_contents.h DistillerPageWebContents(const base::WeakPtr<Delegate>& delegate, base 56 components/dom_distiller/content/distiller_page_web_contents.h const base::string16& error_description, base 37 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc void DistillPage(const base::Closure& quit_closure, const std::string& url) { base 49 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc const base::Value* value) OVERRIDE { base 56 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::FilePath pak_file; base 57 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::FilePath pak_dir; base 58 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 65 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::FilePath path; base 66 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 74 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::Closure quit_closure_; base 75 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc const base::Value* value_; base 79 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::WeakPtrFactory<DistillerPage::Delegate> weak_factory(this); base 85 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::RunLoop run_loop; base 89 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc const base::ListValue* result_list = NULL; base 108 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::WeakPtrFactory<DistillerPage::Delegate> weak_factory(this); base 114 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::RunLoop run_loop; base 118 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc const base::ListValue* result_list = NULL; base 130 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::WeakPtrFactory<DistillerPage::Delegate> weak_factory(this); base 136 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc base::RunLoop run_loop; base 140 components/dom_distiller/content/distiller_page_web_contents_browsertest.cc const base::ListValue* result_list = NULL; base 38 components/dom_distiller/content/dom_distiller_viewer_source.cc base::StringPiece html_template = base 115 components/dom_distiller/content/dom_distiller_viewer_source.cc callback_.Run(base::RefCountedString::TakeString(&unsafe_page_html)); base 116 components/dom_distiller/content/dom_distiller_viewer_source.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 157 components/dom_distiller/content/dom_distiller_viewer_source.cc callback.Run(base::RefCountedString::TakeString(&css)); base 182 components/dom_distiller/content/dom_distiller_viewer_source.cc callback.Run(base::RefCountedString::TakeString(&html)); base 18 components/dom_distiller/core/article_distillation_update.h typedef base::RefCountedData<DistilledPageProto> RefCountedPageProto; base 130 components/dom_distiller/core/distiller.cc base::Bind(&DistillerImpl::OnPageDistillationFinished, base 148 components/dom_distiller/core/distiller.cc new base::RefCountedData<DistilledPageProto>(); base 171 components/dom_distiller/core/distiller.cc base::IntToString(page_num + 1) + "_" + base::IntToString(img_num); base 193 components/dom_distiller/core/distiller.cc base::Bind(&DistillerImpl::OnFetchImageDone, base 196 components/dom_distiller/core/distiller.cc base::Unretained(fetcher), base 217 components/dom_distiller/core/distiller.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, url_fetcher); base 290 components/dom_distiller/core/distiller.cc base::AutoReset<bool> dont_delete_this_in_callback(&destruction_allowed_, base 30 components/dom_distiller/core/distiller.h typedef base::Callback<void(scoped_ptr<DistilledArticleProto>)> base 32 components/dom_distiller/core/distiller.h typedef base::Callback<void(const ArticleDistillationUpdate&)> base 101 components/dom_distiller/core/distiller.h scoped_refptr<base::RefCountedData<DistilledPageProto> > base 170 components/dom_distiller/core/distiller.h base::hash_map<int, size_t> started_pages_index_; base 179 components/dom_distiller/core/distiller.h base::hash_set<std::string> seen_urls_; base 185 components/dom_distiller/core/distiller.h base::WeakPtrFactory<DistillerImpl> weak_factory_; base 15 components/dom_distiller/core/distiller_page.cc const base::WeakPtr<DistillerPage::Delegate>& delegate) base 52 components/dom_distiller/core/distiller_page.cc scoped_ptr<base::Value> empty(base::Value::CreateNullValue()); base 58 components/dom_distiller/core/distiller_page.cc const base::Value* value) { base 27 components/dom_distiller/core/distiller_page.h const base::Value* value) {} base 31 components/dom_distiller/core/distiller_page.h explicit DistillerPage(const base::WeakPtr<Delegate>& delegate); base 54 components/dom_distiller/core/distiller_page.h const base::Value* value); base 92 components/dom_distiller/core/distiller_page.h base::WeakPtr<Delegate> delegate_; base 102 components/dom_distiller/core/distiller_page.h const base::WeakPtr<DistillerPage::Delegate>& delegate) const = 0; base 42 components/dom_distiller/core/distiller_unittest.cc return base::IntToString(page_num) + "_" + base::IntToString(image_num); base 45 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::ListValue> CreateDistilledValueReturnedFromJS( base 51 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 84 components/dom_distiller/core/distiller_unittest.cc ScopedVector<base::Value> distilled_values; base 137 components/dom_distiller/core/distiller_unittest.cc result->page_urls.push_back(url_prefix + base::IntToString(page_num)); base 139 components/dom_distiller/core/distiller_unittest.cc base::IntToString(page_num)); base 142 components/dom_distiller/core/distiller_unittest.cc ? url_prefix + base::IntToString(page_num + 1) base 146 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::ListValue> distilled_value = base 203 components/dom_distiller/core/distiller_unittest.cc ASSERT_TRUE(base::MessageLoop::current()); base 204 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->PostTask( base 205 components/dom_distiller/core/distiller_unittest.cc FROM_HERE, base::Bind(callback_, responses_[url_])); base 241 components/dom_distiller/core/distiller_unittest.cc const base::WeakPtr<DistillerPage::Delegate>& delegate) base 249 components/dom_distiller/core/distiller_unittest.cc DistillerPage*(const base::WeakPtr<DistillerPage::Delegate>& delegate)); base 252 components/dom_distiller/core/distiller_unittest.cc const base::WeakPtr<DistillerPage::Delegate>& delegate) const OVERRIDE { base 270 components/dom_distiller/core/distiller_unittest.cc base::Bind(&DistillerTest::OnDistillArticleDone, base 271 components/dom_distiller/core/distiller_unittest.cc base::Unretained(this)), base 272 components/dom_distiller/core/distiller_unittest.cc base::Bind(&DistillerTest::OnDistillArticleUpdate, base 273 components/dom_distiller/core/distiller_unittest.cc base::Unretained(this))); base 289 components/dom_distiller/core/distiller_unittest.cc const base::WeakPtr<DistillerPage::Delegate>& delegate = arg0; base 303 components/dom_distiller/core/distiller_unittest.cc const base::WeakPtr<DistillerPage::Delegate>& delegate = arg0; base 318 components/dom_distiller/core/distiller_unittest.cc const base::WeakPtr<DistillerPage::Delegate>& delegate = arg0; base 339 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 340 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::ListValue> list = base 347 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 356 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 360 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::ListValue> list = base 367 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 381 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 405 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 411 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 414 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::ListValue> list = base 421 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 427 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 435 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::ListValue> last_page_data = base 454 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 461 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 476 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 483 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 485 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::Value> nullValue(base::Value::CreateNullValue()); base 491 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 497 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 509 components/dom_distiller/core/distiller_unittest.cc base::Value::CreateNullValue()); base 517 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 524 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 539 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 545 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 560 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 570 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 583 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 594 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 608 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 620 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 623 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::ListValue> distilled_value = base 635 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 641 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 645 components/dom_distiller/core/distiller_unittest.cc base::MessageLoopForUI loop; base 646 components/dom_distiller/core/distiller_unittest.cc scoped_ptr<base::ListValue> distilled_value = base 655 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 662 components/dom_distiller/core/distiller_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 39 components/dom_distiller/core/distiller_url_fetcher.h typedef base::Callback<void(const std::string& data)> URLFetcherCallback; base 48 components/dom_distiller/core/distiller_url_fetcher_unittest.cc base::MessageLoopForUI loop; base 51 components/dom_distiller/core/distiller_url_fetcher_unittest.cc base::Bind(&DistillerURLFetcherTest::FetcherCallback, base 52 components/dom_distiller/core/distiller_url_fetcher_unittest.cc base::Unretained(this))); base 21 components/dom_distiller/core/dom_distiller_database.cc using base::MessageLoop; base 22 components/dom_distiller/core/dom_distiller_database.cc using base::SequencedTaskRunner; base 32 components/dom_distiller/core/dom_distiller_database.cc bool DomDistillerDatabase::LevelDB::Init(const base::FilePath& database_dir) { base 44 components/dom_distiller/core/dom_distiller_database.cc base::DeleteFile(database_dir, true); base 125 components/dom_distiller/core/dom_distiller_database.cc const base::FilePath& database_dir, base 154 components/dom_distiller/core/dom_distiller_database.cc scoped_refptr<base::SequencedTaskRunner> task_runner) base 158 components/dom_distiller/core/dom_distiller_database.cc void DomDistillerDatabase::Init(const base::FilePath& database_dir, base 165 components/dom_distiller/core/dom_distiller_database.cc const base::FilePath& database_dir, base 174 components/dom_distiller/core/dom_distiller_database.cc base::Bind(InitFromTaskRunner, base 175 components/dom_distiller/core/dom_distiller_database.cc base::Unretained(db_.get()), base 178 components/dom_distiller/core/dom_distiller_database.cc base::Bind(RunInitCallback, callback, base::Owned(success))); base 189 components/dom_distiller/core/dom_distiller_database.cc base::Bind(UpdateEntriesFromTaskRunner, base 190 components/dom_distiller/core/dom_distiller_database.cc base::Unretained(db_.get()), base 191 components/dom_distiller/core/dom_distiller_database.cc base::Passed(&entries_to_save), base 192 components/dom_distiller/core/dom_distiller_database.cc base::Passed(&entries_to_remove), base 194 components/dom_distiller/core/dom_distiller_database.cc base::Bind(RunUpdateCallback, callback, base::Owned(success))); base 207 components/dom_distiller/core/dom_distiller_database.cc base::Bind(LoadEntriesFromTaskRunner, base 208 components/dom_distiller/core/dom_distiller_database.cc base::Unretained(db_.get()), base 211 components/dom_distiller/core/dom_distiller_database.cc base::Bind(RunLoadCallback, base 213 components/dom_distiller/core/dom_distiller_database.cc base::Owned(success), base 214 components/dom_distiller/core/dom_distiller_database.cc base::Passed(&entries))); base 21 components/dom_distiller/core/dom_distiller_database.h namespace base { base 38 components/dom_distiller/core/dom_distiller_database.h typedef base::Callback<void(bool success)> InitCallback; base 39 components/dom_distiller/core/dom_distiller_database.h typedef base::Callback<void(bool success)> UpdateCallback; base 40 components/dom_distiller/core/dom_distiller_database.h typedef base::Callback<void(bool success, scoped_ptr<EntryVector>)> base 47 components/dom_distiller/core/dom_distiller_database.h virtual void Init(const base::FilePath& database_dir, base 70 components/dom_distiller/core/dom_distiller_database.h virtual bool Init(const base::FilePath& database_dir) = 0; base 83 components/dom_distiller/core/dom_distiller_database.h virtual bool Init(const base::FilePath& database_dir) OVERRIDE; base 94 components/dom_distiller/core/dom_distiller_database.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 99 components/dom_distiller/core/dom_distiller_database.h virtual void Init(const base::FilePath& database_dir, base 108 components/dom_distiller/core/dom_distiller_database.h const base::FilePath& database_dir, base 112 components/dom_distiller/core/dom_distiller_database.h base::ThreadChecker thread_checker_; base 115 components/dom_distiller/core/dom_distiller_database.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 18 components/dom_distiller/core/dom_distiller_database_unittest.cc using base::MessageLoop; base 19 components/dom_distiller/core/dom_distiller_database_unittest.cc using base::ScopedTempDir; base 32 components/dom_distiller/core/dom_distiller_database_unittest.cc MOCK_METHOD1(Init, bool(const base::FilePath&)); base 96 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop().RunUntilIdle(); base 107 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/fake/path")); base 117 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath(path), base 118 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::InitCallback, base::Unretained(&caller))); base 120 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop().RunUntilIdle(); base 124 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/fake/path")); base 134 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath(path), base 135 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::InitCallback, base::Unretained(&caller))); base 137 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop().RunUntilIdle(); base 158 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/fake/path")); base 168 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath(path), base 169 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::InitCallback, base::Unretained(&caller))); base 175 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::LoadCallback, base::Unretained(&caller))); base 177 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop().RunUntilIdle(); base 181 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/fake/path")); base 190 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath(path), base 191 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::InitCallback, base::Unretained(&caller))); base 196 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::LoadCallback, base::Unretained(&caller))); base 198 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop().RunUntilIdle(); base 211 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/fake/path")); base 221 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath(path), base 222 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::InitCallback, base::Unretained(&caller))); base 235 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::SaveCallback, base::Unretained(&caller))); base 237 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop().RunUntilIdle(); base 241 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/fake/path")); base 252 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath(path), base 253 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::InitCallback, base::Unretained(&caller))); base 260 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::SaveCallback, base::Unretained(&caller))); base 262 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop().RunUntilIdle(); base 275 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/fake/path")); base 285 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath(path), base 286 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::InitCallback, base::Unretained(&caller))); base 299 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::SaveCallback, base::Unretained(&caller))); base 301 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop().RunUntilIdle(); base 305 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/fake/path")); base 316 components/dom_distiller/core/dom_distiller_database_unittest.cc base::FilePath(path), base 317 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::InitCallback, base::Unretained(&caller))); base 324 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::SaveCallback, base::Unretained(&caller))); base 326 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop().RunUntilIdle(); base 333 components/dom_distiller/core/dom_distiller_database_unittest.cc base::MessageLoop main_loop; base 338 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Thread db_thread("dbthread"); base 348 components/dom_distiller/core/dom_distiller_database_unittest.cc base::Bind(&MockDatabaseCaller::InitCallback, base::Unretained(&caller))); base 352 components/dom_distiller/core/dom_distiller_database_unittest.cc base::RunLoop run_loop; base 354 components/dom_distiller/core/dom_distiller_database_unittest.cc FROM_HERE, base::Bind(base::DoNothing), run_loop.QuitClosure()); base 106 components/dom_distiller/core/dom_distiller_model.cc typedef base::hash_set<std::string> StringSet; base 61 components/dom_distiller/core/dom_distiller_model.h typedef base::hash_map<KeyType, ArticleEntry> EntryMap; base 62 components/dom_distiller/core/dom_distiller_model.h typedef base::hash_map<std::string, KeyType> StringToKeyMap; base 20 components/dom_distiller/core/dom_distiller_service.cc skeleton.set_entry_id(base::GenerateGUID()); base 65 components/dom_distiller/core/dom_distiller_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 66 components/dom_distiller/core/dom_distiller_service.cc base::Bind(article_cb, true)); base 75 components/dom_distiller/core/dom_distiller_service.cc base::Bind(&RunArticleAvailableCallback, article_cb)); base 79 components/dom_distiller/core/dom_distiller_service.cc task_tracker->AddSaveCallback(base::Bind( base 80 components/dom_distiller/core/dom_distiller_service.cc &DomDistillerService::AddDistilledPageToList, base::Unretained(this))); base 179 components/dom_distiller/core/dom_distiller_service.cc base::Bind(&DomDistillerService::CancelTask, base::Unretained(this)); base 189 components/dom_distiller/core/dom_distiller_service.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, task); base 38 components/dom_distiller/core/dom_distiller_service.h typedef base::Callback<void(bool)> ArticleAvailableCallback; base 53 components/dom_distiller/core/dom_distiller_service_unittest.cc return base::Bind(&MockArticleAvailableCallback::DistillationCompleted, base 54 components/dom_distiller/core/dom_distiller_service_unittest.cc base::Unretained(callback)); base 60 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 80 components/dom_distiller/core/dom_distiller_service_unittest.cc main_loop_.reset(new base::MessageLoop()); base 93 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 104 components/dom_distiller/core/dom_distiller_service_unittest.cc scoped_ptr<base::MessageLoop> main_loop_; base 205 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 222 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 250 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 270 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 315 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 347 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 371 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 384 components/dom_distiller/core/dom_distiller_service_unittest.cc pages_url[page_num] = GURL(base_url + base::IntToString(page_num)); base 423 components/dom_distiller/core/dom_distiller_service_unittest.cc base::RunLoop().RunUntilIdle(); base 28 components/dom_distiller/core/dom_distiller_store.cc const base::FilePath& database_dir) base 33 components/dom_distiller/core/dom_distiller_store.cc base::Bind(&DomDistillerStore::OnDatabaseInit, base 40 components/dom_distiller/core/dom_distiller_store.cc const base::FilePath& database_dir) base 46 components/dom_distiller/core/dom_distiller_store.cc base::Bind(&DomDistillerStore::OnDatabaseInit, base 256 components/dom_distiller/core/dom_distiller_store.cc database_->LoadEntries(base::Bind(&DomDistillerStore::OnDatabaseLoad, base 329 components/dom_distiller/core/dom_distiller_store.cc base::Bind(&DomDistillerStore::OnDatabaseSave, base 26 components/dom_distiller/core/dom_distiller_store.h namespace base { base 82 components/dom_distiller/core/dom_distiller_store.h const base::FilePath& database_dir); base 89 components/dom_distiller/core/dom_distiller_store.h const base::FilePath& database_dir); base 154 components/dom_distiller/core/dom_distiller_store.h base::WeakPtrFactory<DomDistillerStore> weak_ptr_factory_; base 19 components/dom_distiller/core/dom_distiller_store_unittest.cc using base::Time; base 40 components/dom_distiller/core/dom_distiller_store_unittest.cc typedef base::hash_map<std::string, ArticleEntry> EntryMap; base 424 components/dom_distiller/core/dom_distiller_store_unittest.cc base::FilePath(FILE_PATH_LITERAL("/fake/other/path")))); base 16 components/dom_distiller/core/fake_db.cc void FakeDB::Init(const base::FilePath& database_dir, base 45 components/dom_distiller/core/fake_db.cc base::Bind(RunLoadCallback, callback, base::Passed(&entries)); base 48 components/dom_distiller/core/fake_db.cc base::FilePath& FakeDB::GetDirectory() { return dir_; } base 74 components/dom_distiller/core/fake_db.cc base::FilePath FakeDB::DirectoryForTestDB() { base 75 components/dom_distiller/core/fake_db.cc return base::FilePath(FILE_PATH_LITERAL("/fake/path")); base 16 components/dom_distiller/core/fake_db.h typedef base::Callback<void(bool)> Callback; base 19 components/dom_distiller/core/fake_db.h typedef base::hash_map<std::string, ArticleEntry> EntryMap; base 24 components/dom_distiller/core/fake_db.h virtual void Init(const base::FilePath& database_dir, base 35 components/dom_distiller/core/fake_db.h base::FilePath& GetDirectory(); base 43 components/dom_distiller/core/fake_db.h static base::FilePath DirectoryForTestDB(); base 51 components/dom_distiller/core/fake_db.h base::FilePath dir_; base 53 components/dom_distiller/core/fake_distiller.cc base::MessageLoop::current()->PostTask( base 55 components/dom_distiller/core/fake_distiller.cc base::Bind(&FakeDistiller::RunDistillerCallbackInternal, base 56 components/dom_distiller/core/fake_distiller.cc base::Unretained(this), base 57 components/dom_distiller/core/fake_distiller.cc base::Passed(&proto))); base 64 components/dom_distiller/core/fake_distiller.cc base::AutoReset<bool> dont_delete_this_in_callback(&destruction_allowed_, base 59 components/dom_distiller/core/page_distiller.cc const base::Value* value) { base 65 components/dom_distiller/core/page_distiller.cc const base::ListValue* result_list = NULL; base 68 components/dom_distiller/core/page_distiller.cc base::MessageLoop::current()->PostTask( base 70 components/dom_distiller/core/page_distiller.cc base::Bind(page_distiller_callback_, base::Passed(&page_info), false)); base 73 components/dom_distiller/core/page_distiller.cc for (base::ListValue::const_iterator iter = result_list->begin(); base 101 components/dom_distiller/core/page_distiller.cc base::MessageLoop::current()->PostTask( base 103 components/dom_distiller/core/page_distiller.cc base::Bind(page_distiller_callback_, base 104 components/dom_distiller/core/page_distiller.cc base::Passed(&page_info), base 38 components/dom_distiller/core/page_distiller.h typedef base::Callback<void(scoped_ptr<DistilledPageInfo> distilled_page, base 55 components/dom_distiller/core/page_distiller.h const base::Value* value) OVERRIDE; base 67 components/dom_distiller/core/page_distiller.h base::WeakPtrFactory<PageDistiller> weak_factory_; base 49 components/dom_distiller/core/task_tracker.cc base::Bind(&TaskTracker::OnDistillerFinished, base 51 components/dom_distiller/core/task_tracker.cc base::Bind(&TaskTracker::OnArticleDistillationUpdated, base 76 components/dom_distiller/core/task_tracker.cc base::MessageLoop::current()->PostTask( base 78 components/dom_distiller/core/task_tracker.cc base::Bind(&TaskTracker::NotifyViewer, base 82 components/dom_distiller/core/task_tracker.cc return scoped_ptr<ViewerHandle>(new ViewerHandle(base::Bind( base 114 components/dom_distiller/core/task_tracker.cc base::AutoReset<bool> dont_delete_this_in_callback(&destruction_allowed_, base 122 components/dom_distiller/core/task_tracker.cc base::MessageLoop::current()->PostTask( base 124 components/dom_distiller/core/task_tracker.cc base::Bind(&TaskTracker::DoSaveCallbacks, base 29 components/dom_distiller/core/task_tracker.h typedef base::Callback<void()> CancelCallback; base 73 components/dom_distiller/core/task_tracker.h typedef base::Callback<void(TaskTracker*)> CancelCallback; base 74 components/dom_distiller/core/task_tracker.h typedef base::Callback< base 133 components/dom_distiller/core/task_tracker.h base::WeakPtrFactory<TaskTracker> weak_ptr_factory_; base 32 components/dom_distiller/core/task_tracker_unittest.cc return base::Bind(&TestCancelCallback::Cancel, base::Unretained(this)); base 50 components/dom_distiller/core/task_tracker_unittest.cc message_loop_.reset(new base::MessageLoop()); base 67 components/dom_distiller/core/task_tracker_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 118 components/dom_distiller/core/task_tracker_unittest.cc base::Bind(&MockSaveCallback::Save, base::Unretained(&save_callback))); base 135 components/dom_distiller/core/task_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 140 components/dom_distiller/core/task_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 156 components/dom_distiller/core/task_tracker_unittest.cc base::Bind(&MockSaveCallback::Save, base::Unretained(&save_callback))); base 157 components/dom_distiller/core/task_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 162 components/dom_distiller/core/task_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 26 components/dom_distiller/core/url_utils.cc GURL url(scheme + "://" + base::GenerateGUID()); base 32 components/dom_distiller/core/url_utils.cc GURL url(scheme + "://" + base::GenerateGUID()); base 26 components/dom_distiller/core/url_utils_android.cc std::string scheme(base::android::ConvertJavaStringToUTF8(env, j_scheme)); base 27 components/dom_distiller/core/url_utils_android.cc GURL url(base::android::ConvertJavaStringToUTF8(env, j_url)); base 36 components/dom_distiller/core/url_utils_android.cc return base::android::ConvertUTF8ToJavaString(env, view_url.spec()).Release(); base 42 components/dom_distiller/core/url_utils_android.cc GURL url(base::android::ConvertJavaStringToUTF8(env, j_url)); base 52 components/dom_distiller/core/url_utils_android.cc return base::android::ConvertUTF8ToJavaString(env, original_url.spec()) base 60 components/dom_distiller/core/url_utils_android.cc std::string scheme(base::android::ConvertJavaStringToUTF8(env, j_scheme)); base 61 components/dom_distiller/core/url_utils_android.cc GURL url(base::android::ConvertJavaStringToUTF8(env, j_url)); base 37 components/dom_distiller/standalone/content_extractor.cc const base::FilePath& db_path) { base 38 components/dom_distiller/standalone/content_extractor.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner = base 62 components/dom_distiller/standalone/content_extractor.cc base::FilePath pak_file; base 63 components/dom_distiller/standalone/content_extractor.cc base::FilePath pak_dir; base 64 components/dom_distiller/standalone/content_extractor.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 87 components/dom_distiller/standalone/content_extractor.cc void Start(DomDistillerService* service, base::Closure finished_callback) { base 120 components/dom_distiller/standalone/content_extractor.cc base::MessageLoop::current()->PostTask( base 128 components/dom_distiller/standalone/content_extractor.cc base::Closure finished_callback_; base 156 components/dom_distiller/standalone/content_extractor.cc base::Bind(&ContentExtractor::Finish, base::Unretained(this))); base 180 components/dom_distiller/standalone/content_extractor.cc base::MessageLoop::current()->PostTask( base 181 components/dom_distiller/standalone/content_extractor.cc FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); base 184 components/dom_distiller/standalone/content_extractor.cc base::ScopedTempDir db_dir_; base 192 components/dom_distiller/standalone/content_extractor.cc base::RunLoop().Run(); base 24 components/dom_distiller/webui/dom_distiller_handler.cc const base::ListValue* args) { base 46 components/dom_distiller/webui/dom_distiller_handler.cc base::Bind(&DomDistillerHandler::HandleRequestEntries, base 47 components/dom_distiller/webui/dom_distiller_handler.cc base::Unretained(this))); base 50 components/dom_distiller/webui/dom_distiller_handler.cc base::Bind(&DomDistillerHandler::HandleAddArticle, base 51 components/dom_distiller/webui/dom_distiller_handler.cc base::Unretained(this))); base 54 components/dom_distiller/webui/dom_distiller_handler.cc base::Bind(&DomDistillerHandler::HandleSelectArticle, base 55 components/dom_distiller/webui/dom_distiller_handler.cc base::Unretained(this))); base 58 components/dom_distiller/webui/dom_distiller_handler.cc base::Bind(&DomDistillerHandler::HandleViewUrl, base::Unretained(this))); base 61 components/dom_distiller/webui/dom_distiller_handler.cc void DomDistillerHandler::HandleAddArticle(const base::ListValue* args) { base 68 components/dom_distiller/webui/dom_distiller_handler.cc base::Bind(base::Bind(&DomDistillerHandler::OnArticleAdded, base 69 components/dom_distiller/webui/dom_distiller_handler.cc base::Unretained(this)))); base 75 components/dom_distiller/webui/dom_distiller_handler.cc void DomDistillerHandler::HandleViewUrl(const base::ListValue* args) { base 88 components/dom_distiller/webui/dom_distiller_handler.cc void DomDistillerHandler::HandleSelectArticle(const base::ListValue* args) { base 101 components/dom_distiller/webui/dom_distiller_handler.cc void DomDistillerHandler::HandleRequestEntries(const base::ListValue* args) { base 102 components/dom_distiller/webui/dom_distiller_handler.cc base::ListValue entries; base 109 components/dom_distiller/webui/dom_distiller_handler.cc scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue()); base 31 components/dom_distiller/webui/dom_distiller_handler.h void HandleRequestEntries(const base::ListValue* args); base 35 components/dom_distiller/webui/dom_distiller_handler.h void HandleAddArticle(const base::ListValue* args); base 40 components/dom_distiller/webui/dom_distiller_handler.h void HandleSelectArticle(const base::ListValue* args); base 44 components/dom_distiller/webui/dom_distiller_handler.h void HandleViewUrl(const base::ListValue* args); base 57 components/dom_distiller/webui/dom_distiller_handler.h base::WeakPtrFactory<DomDistillerHandler> weak_ptr_factory_; base 12 components/domain_reliability/beacon.cc using base::Value; base 13 components/domain_reliability/beacon.cc using base::DictionaryValue; base 18 components/domain_reliability/beacon.cc Value* DomainReliabilityBeacon::ToValue(base::TimeTicks upload_time) const { base 13 components/domain_reliability/beacon.h namespace base { base 27 components/domain_reliability/beacon.h base::Value* ToValue(base::TimeTicks upload_time) const; base 38 components/domain_reliability/beacon.h base::TimeDelta elapsed; base 40 components/domain_reliability/beacon.h base::TimeTicks start_time; base 14 components/domain_reliability/config.cc bool ConvertURL(const base::StringPiece& string_piece, GURL* url) { base 41 components/domain_reliability/config.cc return base::RandDouble() < sample_rate; base 46 components/domain_reliability/config.cc base::JSONValueConverter<DomainReliabilityConfig::Resource>* converter) { base 61 components/domain_reliability/config.cc base::JSONValueConverter<DomainReliabilityConfig::Collector>* converter) { base 72 components/domain_reliability/config.cc const base::StringPiece& json) { base 73 components/domain_reliability/config.cc base::Value* value = base::JSONReader::Read(json); base 78 components/domain_reliability/config.cc base::JSONValueConverter<DomainReliabilityConfig> converter; base 99 components/domain_reliability/config.cc base::JSONValueConverter<DomainReliabilityConfig>* converter) { base 46 components/domain_reliability/config.h base::JSONValueConverter<Resource>* converter); base 74 components/domain_reliability/config.h base::JSONValueConverter<Collector>* converter); base 87 components/domain_reliability/config.h const base::StringPiece& json); base 96 components/domain_reliability/config.h base::JSONValueConverter<DomainReliabilityConfig>* converter); base 16 components/domain_reliability/context.cc using base::DictionaryValue; base 17 components/domain_reliability/context.cc using base::ListValue; base 18 components/domain_reliability/context.cc using base::Value; base 40 components/domain_reliability/context.cc base::Bind(&DomainReliabilityContext::ScheduleUpload, base 41 components/domain_reliability/context.cc base::Unretained(this))), base 113 components/domain_reliability/context.cc base::TimeTicks upload_time) const { base 142 components/domain_reliability/context.cc base::TimeTicks* oldest_start_out) const { base 166 components/domain_reliability/context.cc base::TimeDelta min_delay, base 167 components/domain_reliability/context.cc base::TimeDelta max_delay) { base 169 components/domain_reliability/context.cc base::Bind( base 179 components/domain_reliability/context.cc base::TimeTicks upload_time = time_->Now(); base 182 components/domain_reliability/context.cc base::JSONWriter::Write(report_value.get(), &report_json); base 191 components/domain_reliability/context.cc base::Bind( base 203 components/domain_reliability/context.cc base::TimeTicks upload_time) const { base 230 components/domain_reliability/context.cc base::TimeTicks min_time; base 233 components/domain_reliability/context.cc base::TimeTicks oldest; base 63 components/domain_reliability/context.h scoped_ptr<base::Value> ToValue(base::TimeTicks upload_time) const; base 74 components/domain_reliability/context.h bool GetOldestBeaconStart(base::TimeTicks* oldest_start_out) const; base 99 components/domain_reliability/context.h void ScheduleUpload(base::TimeDelta min_delay, base::TimeDelta max_delay); base 103 components/domain_reliability/context.h scoped_ptr<const base::Value> CreateReport(base::TimeTicks upload_time) const; base 128 components/domain_reliability/context.h base::WeakPtrFactory<DomainReliabilityContext> weak_factory_; base 32 components/domain_reliability/context_unittest.cc beacon.elapsed = base::TimeDelta::FromMilliseconds(250); base 44 components/domain_reliability/context_unittest.cc uploader_(base::Bind(&DomainReliabilityContextTest::OnUploadRequest, base 45 components/domain_reliability/context_unittest.cc base::Unretained(this))), base 108 components/domain_reliability/context_unittest.cc params.minimum_upload_delay = base::TimeDelta::FromSeconds(60); base 109 components/domain_reliability/context_unittest.cc params.maximum_upload_delay = base::TimeDelta::FromSeconds(300); base 110 components/domain_reliability/context_unittest.cc params.upload_retry_interval = base::TimeDelta::FromSeconds(15); base 24 components/domain_reliability/dispatcher.cc const base::Closure& closure, base 25 components/domain_reliability/dispatcher.cc base::TimeDelta min_delay, base 26 components/domain_reliability/dispatcher.cc base::TimeDelta max_delay) { base 59 components/domain_reliability/dispatcher.cc DomainReliabilityDispatcher::Task::Task(const base::Closure& closure, base 61 components/domain_reliability/dispatcher.cc base::TimeDelta min_delay, base 62 components/domain_reliability/dispatcher.cc base::TimeDelta max_delay) base 78 components/domain_reliability/dispatcher.cc base::Bind( base 80 components/domain_reliability/dispatcher.cc base::Unretained(this), base 93 components/domain_reliability/dispatcher.cc base::Bind( base 95 components/domain_reliability/dispatcher.cc base::Unretained(this), base 33 components/domain_reliability/dispatcher.h const base::Closure& task, base 34 components/domain_reliability/dispatcher.h base::TimeDelta min_delay, base 35 components/domain_reliability/dispatcher.h base::TimeDelta max_delay); base 41 components/domain_reliability/dispatcher.h Task(const base::Closure& closure_p, base 43 components/domain_reliability/dispatcher.h base::TimeDelta min_delay_p, base 44 components/domain_reliability/dispatcher.h base::TimeDelta max_delay_p); base 47 components/domain_reliability/dispatcher.h base::Closure closure; base 49 components/domain_reliability/dispatcher.h base::TimeDelta min_delay; base 50 components/domain_reliability/dispatcher.h base::TimeDelta max_delay; base 11 components/domain_reliability/dispatcher_unittest.cc using base::TimeDelta; base 12 components/domain_reliability/dispatcher_unittest.cc using base::TimeTicks; base 27 components/domain_reliability/monitor.cc const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner) base 36 components/domain_reliability/monitor.cc virtual scoped_refptr<base::SingleThreadTaskRunner> base 45 components/domain_reliability/monitor.cc const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 34 components/domain_reliability/monitor_unittest.cc base::MessageLoopProxy::current())), base 29 components/domain_reliability/scheduler.cc if (!base::FieldTrialList::TrialExists(field_trial_name)) base 32 components/domain_reliability/scheduler.cc std::string group_name = base::FieldTrialList::FindFullName(field_trial_name); base 34 components/domain_reliability/scheduler.cc if (!base::StringToInt(group_name, &value)) { base 52 components/domain_reliability/scheduler.cc params.minimum_upload_delay = base::TimeDelta::FromSeconds( base 55 components/domain_reliability/scheduler.cc params.maximum_upload_delay = base::TimeDelta::FromSeconds( base 58 components/domain_reliability/scheduler.cc params.upload_retry_interval = base::TimeDelta::FromSeconds( base 97 components/domain_reliability/scheduler.cc base::TimeTicks now = time_->Now(); base 98 components/domain_reliability/scheduler.cc base::TimeTicks min_upload_time; base 129 components/domain_reliability/scheduler.cc base::TimeDelta retry_interval = GetUploadRetryInterval(collector->failures); base 148 components/domain_reliability/scheduler.cc base::TimeTicks now = time_->Now(); base 150 components/domain_reliability/scheduler.cc base::TimeTicks min_by_deadline, max_by_deadline; base 155 components/domain_reliability/scheduler.cc base::TimeTicks min_by_backoff; base 159 components/domain_reliability/scheduler.cc base::TimeDelta min_delay = std::max(min_by_deadline, min_by_backoff) - now; base 160 components/domain_reliability/scheduler.cc base::TimeDelta max_delay = std::max(max_by_deadline, min_by_backoff) - now; base 172 components/domain_reliability/scheduler.cc base::TimeTicks now, base 173 components/domain_reliability/scheduler.cc base::TimeTicks* upload_time_out, base 178 components/domain_reliability/scheduler.cc base::TimeTicks min_time; base 201 components/domain_reliability/scheduler.cc base::TimeDelta DomainReliabilityScheduler::GetUploadRetryInterval( base 204 components/domain_reliability/scheduler.cc return base::TimeDelta::FromSeconds(0); base 34 components/domain_reliability/scheduler.h typedef base::Callback<void(base::TimeDelta, base::TimeDelta)> base 39 components/domain_reliability/scheduler.h base::TimeDelta minimum_upload_delay; base 40 components/domain_reliability/scheduler.h base::TimeDelta maximum_upload_delay; base 41 components/domain_reliability/scheduler.h base::TimeDelta upload_retry_interval; base 71 components/domain_reliability/scheduler.h base::TimeTicks next_upload; base 76 components/domain_reliability/scheduler.h void GetNextUploadTimeAndCollector(base::TimeTicks now, base 77 components/domain_reliability/scheduler.h base::TimeTicks* upload_time_out, base 79 components/domain_reliability/scheduler.h base::TimeDelta GetUploadRetryInterval(int failures); base 105 components/domain_reliability/scheduler.h base::TimeTicks first_beacon_time_; base 108 components/domain_reliability/scheduler.h base::TimeTicks old_first_beacon_time_; base 13 components/domain_reliability/scheduler_unittest.cc using base::TimeDelta; base 14 components/domain_reliability/scheduler_unittest.cc using base::TimeTicks; base 35 components/domain_reliability/scheduler_unittest.cc base::Bind(&DomainReliabilitySchedulerTest::ScheduleUploadCallback, base 36 components/domain_reliability/scheduler_unittest.cc base::Unretained(this)))); base 41 components/domain_reliability/scheduler_unittest.cc params.minimum_upload_delay = base::TimeDelta::FromSeconds(60); base 42 components/domain_reliability/scheduler_unittest.cc params.maximum_upload_delay = base::TimeDelta::FromSeconds(300); base 43 components/domain_reliability/scheduler_unittest.cc params.upload_retry_interval = base::TimeDelta::FromSeconds(15); base 101 components/domain_reliability/scheduler_unittest.cc TimeDelta zero_delta() const { return base::TimeDelta::FromMicroseconds(0); } base 28 components/domain_reliability/test_util.cc base::TimeDelta delay, base 29 components/domain_reliability/test_util.cc const base::Closure& user_task) OVERRIDE { base 37 components/domain_reliability/test_util.cc base::Bind(&MockTimer::OnDelayPassed, base 60 components/domain_reliability/test_util.cc base::Closure task_to_run = user_task_; base 68 components/domain_reliability/test_util.cc base::Closure user_task_; base 69 components/domain_reliability/test_util.cc base::WeakPtrFactory<MockTimer> weak_factory_; base 75 components/domain_reliability/test_util.cc : callback_(base::Bind(&TestCallback::OnCalled, base 76 components/domain_reliability/test_util.cc base::Unretained(this))), base 98 components/domain_reliability/test_util.cc : now_(base::TimeTicks::Now()), base 106 components/domain_reliability/test_util.cc base::TimeTicks MockTime::Now() { return now_; } base 112 components/domain_reliability/test_util.cc void MockTime::Advance(base::TimeDelta delta) { base 113 components/domain_reliability/test_util.cc base::TimeTicks target = now_ + delta; base 117 components/domain_reliability/test_util.cc base::Closure task = tasks_.begin()->second; base 133 components/domain_reliability/test_util.cc void MockTime::AddTask(base::TimeDelta delay, const base::Closure& task) { base 27 components/domain_reliability/test_util.h const base::Closure& callback() const { return callback_; } base 34 components/domain_reliability/test_util.h base::Closure callback_; base 40 components/domain_reliability/test_util.h typedef base::Callback<void(const std::string& report_json, base 66 components/domain_reliability/test_util.h virtual base::TimeTicks Now() OVERRIDE; base 72 components/domain_reliability/test_util.h void Advance(base::TimeDelta delta); base 76 components/domain_reliability/test_util.h void AddTask(base::TimeDelta delay, const base::Closure& task); base 82 components/domain_reliability/test_util.h TaskKey(base::TimeTicks time, int sequence_number) base 86 components/domain_reliability/test_util.h base::TimeTicks time; base 99 components/domain_reliability/test_util.h typedef std::map<TaskKey, base::Closure, TaskKeyCompare> TaskMap; base 103 components/domain_reliability/test_util.h base::TimeTicks now_; base 104 components/domain_reliability/test_util.h base::TimeTicks epoch_; base 24 components/domain_reliability/uploader.h typedef base::Callback<void(bool success)> UploadCallback; base 28 components/domain_reliability/uploader_unittest.cc base::MessageLoopProxy::current())), base 33 components/domain_reliability/uploader_unittest.cc return base::Bind(&DomainReliabilityUploaderTest::OnUploadComplete, base 34 components/domain_reliability/uploader_unittest.cc base::Unretained(this), base 27 components/domain_reliability/util.cc base::TimeDelta delay, base 28 components/domain_reliability/util.cc const base::Closure& user_task) OVERRIDE { base 41 components/domain_reliability/util.cc base::Timer base_timer_; base 86 components/domain_reliability/util.cc *beacon_status_out = base::StringPrintf("http.%d", http_response_code); base 113 components/domain_reliability/util.cc base::TimeTicks ActualTime::Now() { return base::TimeTicks::Now(); } base 38 components/domain_reliability/util.h base::TimeDelta delay, base 39 components/domain_reliability/util.h const base::Closure& user_task) = 0; base 50 components/domain_reliability/util.h virtual base::TimeTicks Now() = 0; base 69 components/domain_reliability/util.h virtual base::TimeTicks Now() OVERRIDE; base 11 components/domain_reliability/util_unittest.cc using base::TimeDelta; base 12 components/domain_reliability/util_unittest.cc using base::TimeTicks; base 109 components/domain_reliability/util_unittest.cc base::Bind( base 111 components/domain_reliability/util_unittest.cc base::Unretained(timer.get()), base 26 components/json_schema/json_schema_validator.cc double GetNumberValue(const base::Value* value) { base 51 components/json_schema/json_schema_validator.cc base::Value::Type type; base 61 components/json_schema/json_schema_validator.cc const base::Value* ExtractNameFromDictionary(const base::Value* value) { base 62 components/json_schema/json_schema_validator.cc const base::DictionaryValue* value_dict = NULL; base 63 components/json_schema/json_schema_validator.cc const base::Value* name_value = NULL; base 71 components/json_schema/json_schema_validator.cc bool IsValidSchema(const base::DictionaryValue* dict, base 78 components/json_schema/json_schema_validator.cc { schema::kRef, base::Value::TYPE_STRING }, base 79 components/json_schema/json_schema_validator.cc { schema::kSchema, base::Value::TYPE_STRING }, base 81 components/json_schema/json_schema_validator.cc { schema::kAdditionalProperties, base::Value::TYPE_DICTIONARY }, base 82 components/json_schema/json_schema_validator.cc { schema::kChoices, base::Value::TYPE_LIST }, base 83 components/json_schema/json_schema_validator.cc { schema::kDescription, base::Value::TYPE_STRING }, base 84 components/json_schema/json_schema_validator.cc { schema::kEnum, base::Value::TYPE_LIST }, base 85 components/json_schema/json_schema_validator.cc { schema::kId, base::Value::TYPE_STRING }, base 86 components/json_schema/json_schema_validator.cc { schema::kMaxItems, base::Value::TYPE_INTEGER }, base 87 components/json_schema/json_schema_validator.cc { schema::kMaxLength, base::Value::TYPE_INTEGER }, base 88 components/json_schema/json_schema_validator.cc { schema::kMaximum, base::Value::TYPE_DOUBLE }, base 89 components/json_schema/json_schema_validator.cc { schema::kMinItems, base::Value::TYPE_INTEGER }, base 90 components/json_schema/json_schema_validator.cc { schema::kMinLength, base::Value::TYPE_INTEGER }, base 91 components/json_schema/json_schema_validator.cc { schema::kMinimum, base::Value::TYPE_DOUBLE }, base 92 components/json_schema/json_schema_validator.cc { schema::kOptional, base::Value::TYPE_BOOLEAN }, base 93 components/json_schema/json_schema_validator.cc { schema::kPattern, base::Value::TYPE_STRING }, base 94 components/json_schema/json_schema_validator.cc { schema::kPatternProperties, base::Value::TYPE_DICTIONARY }, base 95 components/json_schema/json_schema_validator.cc { schema::kProperties, base::Value::TYPE_DICTIONARY }, base 96 components/json_schema/json_schema_validator.cc { schema::kTitle, base::Value::TYPE_STRING }, base 100 components/json_schema/json_schema_validator.cc const base::ListValue* list_value = NULL; base 101 components/json_schema/json_schema_validator.cc const base::DictionaryValue* dictionary_value = NULL; base 104 components/json_schema/json_schema_validator.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { base 108 components/json_schema/json_schema_validator.cc case base::Value::TYPE_STRING: base 115 components/json_schema/json_schema_validator.cc case base::Value::TYPE_LIST: base 143 components/json_schema/json_schema_validator.cc *error = base::StringPrintf( base 167 components/json_schema/json_schema_validator.cc *error = base::StringPrintf("Invalid attribute %s", it.key().c_str()); base 173 components/json_schema/json_schema_validator.cc (it.value().IsType(base::Value::TYPE_INTEGER) && base 174 components/json_schema/json_schema_validator.cc entry->type == base::Value::TYPE_DOUBLE))) { base 175 components/json_schema/json_schema_validator.cc *error = base::StringPrintf("Invalid value for %s attribute", base 182 components/json_schema/json_schema_validator.cc if (it.value().IsType(base::Value::TYPE_INTEGER)) { base 186 components/json_schema/json_schema_validator.cc *error = base::StringPrintf("Value of %s must be >= 0, got %d", base 195 components/json_schema/json_schema_validator.cc for (base::DictionaryValue::Iterator iter(*dictionary_value); base 214 components/json_schema/json_schema_validator.cc for (base::DictionaryValue::Iterator iter(*dictionary_value); base 240 components/json_schema/json_schema_validator.cc const base::Value* value = NULL; base 250 components/json_schema/json_schema_validator.cc case base::Value::TYPE_NULL: base 251 components/json_schema/json_schema_validator.cc case base::Value::TYPE_BOOLEAN: base 252 components/json_schema/json_schema_validator.cc case base::Value::TYPE_INTEGER: base 253 components/json_schema/json_schema_validator.cc case base::Value::TYPE_DOUBLE: base 254 components/json_schema/json_schema_validator.cc case base::Value::TYPE_STRING: base 341 components/json_schema/json_schema_validator.cc std::string JSONSchemaValidator::GetJSONSchemaType(const base::Value* value) { base 343 components/json_schema/json_schema_validator.cc case base::Value::TYPE_NULL: base 345 components/json_schema/json_schema_validator.cc case base::Value::TYPE_BOOLEAN: base 347 components/json_schema/json_schema_validator.cc case base::Value::TYPE_INTEGER: base 349 components/json_schema/json_schema_validator.cc case base::Value::TYPE_DOUBLE: { base 359 components/json_schema/json_schema_validator.cc case base::Value::TYPE_STRING: base 361 components/json_schema/json_schema_validator.cc case base::Value::TYPE_DICTIONARY: base 363 components/json_schema/json_schema_validator.cc case base::Value::TYPE_LIST: base 390 components/json_schema/json_schema_validator.cc scoped_ptr<base::DictionaryValue> JSONSchemaValidator::IsValidSchema( base 397 components/json_schema/json_schema_validator.cc scoped_ptr<base::DictionaryValue> JSONSchemaValidator::IsValidSchema( base 401 components/json_schema/json_schema_validator.cc base::JSONParserOptions json_options = base::JSON_PARSE_RFC; base 402 components/json_schema/json_schema_validator.cc scoped_ptr<base::Value> json( base 403 components/json_schema/json_schema_validator.cc base::JSONReader::ReadAndReturnError(schema, json_options, NULL, error)); base 405 components/json_schema/json_schema_validator.cc return scoped_ptr<base::DictionaryValue>(); base 406 components/json_schema/json_schema_validator.cc base::DictionaryValue* dict = NULL; base 409 components/json_schema/json_schema_validator.cc return scoped_ptr<base::DictionaryValue>(); base 412 components/json_schema/json_schema_validator.cc return scoped_ptr<base::DictionaryValue>(); base 417 components/json_schema/json_schema_validator.cc JSONSchemaValidator::JSONSchemaValidator(base::DictionaryValue* schema) base 421 components/json_schema/json_schema_validator.cc JSONSchemaValidator::JSONSchemaValidator(base::DictionaryValue* schema, base 422 components/json_schema/json_schema_validator.cc base::ListValue* types) base 428 components/json_schema/json_schema_validator.cc base::DictionaryValue* type = NULL; base 441 components/json_schema/json_schema_validator.cc bool JSONSchemaValidator::Validate(const base::Value* instance) { base 447 components/json_schema/json_schema_validator.cc void JSONSchemaValidator::Validate(const base::Value* instance, base 448 components/json_schema/json_schema_validator.cc const base::DictionaryValue* schema, base 476 components/json_schema/json_schema_validator.cc const base::ListValue* choices = NULL; base 484 components/json_schema/json_schema_validator.cc const base::ListValue* enumeration = NULL; base 499 components/json_schema/json_schema_validator.cc ValidateObject(static_cast<const base::DictionaryValue*>(instance), base 503 components/json_schema/json_schema_validator.cc ValidateArray(static_cast<const base::ListValue*>(instance), base 517 components/json_schema/json_schema_validator.cc void JSONSchemaValidator::ValidateChoices(const base::Value* instance, base 518 components/json_schema/json_schema_validator.cc const base::ListValue* choices, base 523 components/json_schema/json_schema_validator.cc const base::DictionaryValue* choice = NULL; base 540 components/json_schema/json_schema_validator.cc void JSONSchemaValidator::ValidateEnum(const base::Value* instance, base 541 components/json_schema/json_schema_validator.cc const base::ListValue* choices, base 544 components/json_schema/json_schema_validator.cc const base::Value* choice = NULL; base 553 components/json_schema/json_schema_validator.cc case base::Value::TYPE_NULL: base 554 components/json_schema/json_schema_validator.cc case base::Value::TYPE_BOOLEAN: base 555 components/json_schema/json_schema_validator.cc case base::Value::TYPE_STRING: base 560 components/json_schema/json_schema_validator.cc case base::Value::TYPE_INTEGER: base 561 components/json_schema/json_schema_validator.cc case base::Value::TYPE_DOUBLE: base 562 components/json_schema/json_schema_validator.cc if (instance->IsType(base::Value::TYPE_INTEGER) || base 563 components/json_schema/json_schema_validator.cc instance->IsType(base::Value::TYPE_DOUBLE)) { base 577 components/json_schema/json_schema_validator.cc void JSONSchemaValidator::ValidateObject(const base::DictionaryValue* instance, base 578 components/json_schema/json_schema_validator.cc const base::DictionaryValue* schema, base 580 components/json_schema/json_schema_validator.cc const base::DictionaryValue* properties = NULL; base 582 components/json_schema/json_schema_validator.cc for (base::DictionaryValue::Iterator it(*properties); !it.IsAtEnd(); base 585 components/json_schema/json_schema_validator.cc const base::DictionaryValue* prop_schema = NULL; base 588 components/json_schema/json_schema_validator.cc const base::Value* prop_value = NULL; base 603 components/json_schema/json_schema_validator.cc const base::DictionaryValue* additional_properties_schema = NULL; base 607 components/json_schema/json_schema_validator.cc const base::DictionaryValue* pattern_properties = NULL; base 609 components/json_schema/json_schema_validator.cc std::vector<const base::DictionaryValue*> pattern_properties_schema; base 612 components/json_schema/json_schema_validator.cc for (base::DictionaryValue::Iterator it(*pattern_properties); !it.IsAtEnd(); base 624 components/json_schema/json_schema_validator.cc const base::DictionaryValue* prop_schema = NULL; base 632 components/json_schema/json_schema_validator.cc for (base::DictionaryValue::Iterator it(*instance); !it.IsAtEnd(); base 658 components/json_schema/json_schema_validator.cc void JSONSchemaValidator::ValidateArray(const base::ListValue* instance, base 659 components/json_schema/json_schema_validator.cc const base::DictionaryValue* schema, base 661 components/json_schema/json_schema_validator.cc const base::DictionaryValue* single_type = NULL; base 669 components/json_schema/json_schema_validator.cc kArrayMinItems, base::IntToString(min_items)))); base 678 components/json_schema/json_schema_validator.cc kArrayMaxItems, base::IntToString(max_items)))); base 685 components/json_schema/json_schema_validator.cc const base::Value* item = NULL; base 687 components/json_schema/json_schema_validator.cc std::string i_str = base::Uint64ToString(i); base 700 components/json_schema/json_schema_validator.cc void JSONSchemaValidator::ValidateTuple(const base::ListValue* instance, base 701 components/json_schema/json_schema_validator.cc const base::DictionaryValue* schema, base 703 components/json_schema/json_schema_validator.cc const base::ListValue* tuple_type = NULL; base 708 components/json_schema/json_schema_validator.cc std::string i_str = base::Uint64ToString(i); base 710 components/json_schema/json_schema_validator.cc const base::DictionaryValue* item_schema = NULL; base 712 components/json_schema/json_schema_validator.cc const base::Value* item_value = NULL; base 714 components/json_schema/json_schema_validator.cc if (item_value && item_value->GetType() != base::Value::TYPE_NULL) { base 727 components/json_schema/json_schema_validator.cc const base::DictionaryValue* additional_properties_schema = NULL; base 736 components/json_schema/json_schema_validator.cc std::string i_str = base::Uint64ToString(i); base 738 components/json_schema/json_schema_validator.cc const base::Value* item_value = NULL; base 744 components/json_schema/json_schema_validator.cc kArrayMaxItems, base::Uint64ToString(tuple_size)))); base 748 components/json_schema/json_schema_validator.cc void JSONSchemaValidator::ValidateString(const base::Value* instance, base 749 components/json_schema/json_schema_validator.cc const base::DictionaryValue* schema, base 759 components/json_schema/json_schema_validator.cc kStringMinLength, base::IntToString(min_length)))); base 768 components/json_schema/json_schema_validator.cc kStringMaxLength, base::IntToString(max_length)))); base 788 components/json_schema/json_schema_validator.cc void JSONSchemaValidator::ValidateNumber(const base::Value* instance, base 789 components/json_schema/json_schema_validator.cc const base::DictionaryValue* schema, base 800 components/json_schema/json_schema_validator.cc kNumberMinimum, base::DoubleToString(minimum)))); base 807 components/json_schema/json_schema_validator.cc kNumberMaximum, base::DoubleToString(maximum)))); base 811 components/json_schema/json_schema_validator.cc bool JSONSchemaValidator::ValidateType(const base::Value* instance, base 830 components/json_schema/json_schema_validator.cc const base::DictionaryValue* schema, base 831 components/json_schema/json_schema_validator.cc const base::DictionaryValue** additional_properties_schema) { base 15 components/json_schema/json_schema_validator.h namespace base { base 99 components/json_schema/json_schema_validator.h static std::string GetJSONSchemaType(const base::Value* value); base 119 components/json_schema/json_schema_validator.h static scoped_ptr<base::DictionaryValue> IsValidSchema( base 125 components/json_schema/json_schema_validator.h static scoped_ptr<base::DictionaryValue> IsValidSchema( base 135 components/json_schema/json_schema_validator.h explicit JSONSchemaValidator(base::DictionaryValue* schema); base 145 components/json_schema/json_schema_validator.h JSONSchemaValidator(base::DictionaryValue* schema, base::ListValue* types); base 173 components/json_schema/json_schema_validator.h bool Validate(const base::Value* instance); base 176 components/json_schema/json_schema_validator.h typedef std::map<std::string, const base::DictionaryValue*> TypeMap; base 185 components/json_schema/json_schema_validator.h void Validate(const base::Value* instance, base 186 components/json_schema/json_schema_validator.h const base::DictionaryValue* schema, base 191 components/json_schema/json_schema_validator.h void ValidateChoices(const base::Value* instance, base 192 components/json_schema/json_schema_validator.h const base::ListValue* choices, base 196 components/json_schema/json_schema_validator.h void ValidateEnum(const base::Value* instance, base 197 components/json_schema/json_schema_validator.h const base::ListValue* choices, base 201 components/json_schema/json_schema_validator.h void ValidateObject(const base::DictionaryValue* instance, base 202 components/json_schema/json_schema_validator.h const base::DictionaryValue* schema, base 206 components/json_schema/json_schema_validator.h void ValidateArray(const base::ListValue* instance, base 207 components/json_schema/json_schema_validator.h const base::DictionaryValue* schema, base 213 components/json_schema/json_schema_validator.h void ValidateTuple(const base::ListValue* instance, base 214 components/json_schema/json_schema_validator.h const base::DictionaryValue* schema, base 218 components/json_schema/json_schema_validator.h void ValidateString(const base::Value* instance, base 219 components/json_schema/json_schema_validator.h const base::DictionaryValue* schema, base 223 components/json_schema/json_schema_validator.h void ValidateNumber(const base::Value* instance, base 224 components/json_schema/json_schema_validator.h const base::DictionaryValue* schema, base 228 components/json_schema/json_schema_validator.h bool ValidateType(const base::Value* instance, base 234 components/json_schema/json_schema_validator.h const base::DictionaryValue* schema, base 235 components/json_schema/json_schema_validator.h const base::DictionaryValue** addition_items_schema); base 238 components/json_schema/json_schema_validator.h base::DictionaryValue* schema_root_; base 16 components/json_schema/json_schema_validator_unittest.cc base::Value* instance, base 17 components/json_schema/json_schema_validator_unittest.cc base::DictionaryValue* schema, base 18 components/json_schema/json_schema_validator_unittest.cc base::ListValue* types) OVERRIDE { base 32 components/json_schema/json_schema_validator_unittest.cc base::Value* instance, base::DictionaryValue* schema, base 33 components/json_schema/json_schema_validator_unittest.cc base::ListValue* types, base 26 components/json_schema/json_schema_validator_unittest_base.cc #define TEST_SOURCE base::StringPrintf("%s:%i", __FILE__, __LINE__) base 28 components/json_schema/json_schema_validator_unittest_base.cc base::Value* LoadValue(const std::string& filename) { base 29 components/json_schema/json_schema_validator_unittest_base.cc base::FilePath path; base 30 components/json_schema/json_schema_validator_unittest_base.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 36 components/json_schema/json_schema_validator_unittest_base.cc EXPECT_TRUE(base::PathExists(path)); base 40 components/json_schema/json_schema_validator_unittest_base.cc base::Value* result = serializer.Deserialize(NULL, &error_message); base 46 components/json_schema/json_schema_validator_unittest_base.cc base::Value* LoadValue(const std::string& filename, base::Value::Type type) { base 47 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value> result(LoadValue(filename)); base 57 components/json_schema/json_schema_validator_unittest_base.cc base::ListValue* LoadList(const std::string& filename) { base 58 components/json_schema/json_schema_validator_unittest_base.cc return static_cast<base::ListValue*>( base 59 components/json_schema/json_schema_validator_unittest_base.cc LoadValue(filename, base::Value::TYPE_LIST)); base 62 components/json_schema/json_schema_validator_unittest_base.cc base::DictionaryValue* LoadDictionary(const std::string& filename) { base 63 components/json_schema/json_schema_validator_unittest_base.cc return static_cast<base::DictionaryValue*>( base 64 components/json_schema/json_schema_validator_unittest_base.cc LoadValue(filename, base::Value::TYPE_DICTIONARY)); base 90 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema( base 92 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::ListValue> instance(LoadList("complex_instance.json")); base 100 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::DictionaryValue()); base 108 components/json_schema/json_schema_validator_unittest_base.cc base::DictionaryValue* item = NULL; base 119 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema(new base::DictionaryValue()); base 124 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("foo")).get(), base 127 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("foooooo")).get(), base 130 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("bar")).get(), base 139 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema(LoadDictionary("enum_schema.json")); base 142 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("foo")).get(), base 145 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), base 148 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(false)).get(), base 152 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("42")).get(), base 158 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(base::Value::CreateNullValue()).get(), base 166 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema( base 170 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(base::Value::CreateNullValue()).get(), base 173 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), base 176 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> instance(new base::DictionaryValue()); base 181 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("foo")).get(), base 187 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::ListValue()).get(), base 207 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema(new base::DictionaryValue()); base 212 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> instance(new base::DictionaryValue()); base 270 components/json_schema/json_schema_validator_unittest_base.cc base::DictionaryValue* additional_properties = new base::DictionaryValue(); base 292 components/json_schema/json_schema_validator_unittest_base.cc base::DictionaryValue* properties = NULL; base 293 components/json_schema/json_schema_validator_unittest_base.cc base::DictionaryValue* bar_property = NULL; base 301 components/json_schema/json_schema_validator_unittest_base.cc instance->Set("bar", base::Value::CreateNullValue()); base 319 components/json_schema/json_schema_validator_unittest_base.cc instance.reset(new base::DictionaryValue()); base 328 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::ListValue> types(LoadList("reference_types.json")); base 331 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema(new base::DictionaryValue()); base 337 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema_inline(new base::DictionaryValue()); base 345 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> instance(new base::DictionaryValue()); base 350 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> instance_inline( base 351 components/json_schema/json_schema_validator_unittest_base.cc new base::DictionaryValue()); base 388 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema( base 392 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::ListValue> instance(new base::ListValue()); base 393 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::StringValue("42")); base 394 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::FundamentalValue(42)); base 398 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::StringValue("anything")); base 412 components/json_schema/json_schema_validator_unittest_base.cc instance->Set(0, new base::FundamentalValue(42)); base 413 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::FundamentalValue(42)); base 420 components/json_schema/json_schema_validator_unittest_base.cc base::DictionaryValue* additional_properties = new base::DictionaryValue(); base 423 components/json_schema/json_schema_validator_unittest_base.cc instance->Set(0, new base::StringValue("42")); base 424 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::StringValue("anything")); base 426 components/json_schema/json_schema_validator_unittest_base.cc instance->Set(2, new base::ListValue()); base 435 components/json_schema/json_schema_validator_unittest_base.cc instance->Set(2, new base::FundamentalValue(false)); base 438 components/json_schema/json_schema_validator_unittest_base.cc base::ListValue* items_schema = NULL; base 439 components/json_schema/json_schema_validator_unittest_base.cc base::DictionaryValue* item0_schema = NULL; base 447 components/json_schema/json_schema_validator_unittest_base.cc instance->Set(0, base::Value::CreateNullValue()); base 449 components/json_schema/json_schema_validator_unittest_base.cc instance->Set(0, new base::FundamentalValue(42)); base 458 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema(new base::DictionaryValue()); base 464 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::ListValue> instance(new base::ListValue()); base 465 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::StringValue("x")); base 466 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::StringValue("x")); base 469 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::StringValue("x")); base 472 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::StringValue("x")); base 492 components/json_schema/json_schema_validator_unittest_base.cc instance->Append(new base::FundamentalValue(42)); base 501 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema(new base::DictionaryValue()); base 507 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("x")).get(), base 510 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>( base 511 components/json_schema/json_schema_validator_unittest_base.cc new base::StringValue("xxxxxxxxxx")).get(), base 516 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue(std::string())).get(), base 524 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("xxxxxxxxxxx")).get(), base 533 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema(new base::DictionaryValue()); base 540 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(1)).get(), base 543 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(50)).get(), base 546 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(100)).get(), base 549 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(88.88)).get(), base 553 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(0.5)).get(), base 561 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(100.1)).get(), base 572 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>( base 573 components/json_schema/json_schema_validator_unittest_base.cc new base::FundamentalValue(true)).get())); base 576 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>( base 577 components/json_schema/json_schema_validator_unittest_base.cc new base::FundamentalValue(false)).get())); base 584 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get())); base 587 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(0)).get())); base 590 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get())); base 592 components/json_schema/json_schema_validator_unittest_base.cc JSONSchemaValidator::GetJSONSchemaType(scoped_ptr<base::Value>( base 593 components/json_schema/json_schema_validator_unittest_base.cc new base::FundamentalValue(pow(2.0, DBL_MANT_DIG))).get())); base 595 components/json_schema/json_schema_validator_unittest_base.cc JSONSchemaValidator::GetJSONSchemaType(scoped_ptr<base::Value>( base 596 components/json_schema/json_schema_validator_unittest_base.cc new base::FundamentalValue(pow(-2.0, DBL_MANT_DIG))).get())); base 602 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>( base 603 components/json_schema/json_schema_validator_unittest_base.cc new base::FundamentalValue(88.8)).get())); base 605 components/json_schema/json_schema_validator_unittest_base.cc JSONSchemaValidator::GetJSONSchemaType(scoped_ptr<base::Value>( base 606 components/json_schema/json_schema_validator_unittest_base.cc new base::FundamentalValue(pow(2.0, DBL_MANT_DIG) * 2)).get())); base 608 components/json_schema/json_schema_validator_unittest_base.cc JSONSchemaValidator::GetJSONSchemaType(scoped_ptr<base::Value>( base 609 components/json_schema/json_schema_validator_unittest_base.cc new base::FundamentalValue( base 614 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("foo")).get())); base 617 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::ListValue()).get())); base 620 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::DictionaryValue()).get())); base 623 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(base::Value::CreateNullValue()).get())); base 627 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::DictionaryValue> schema(new base::DictionaryValue()); base 632 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::DictionaryValue()).get(), base 636 components/json_schema/json_schema_validator_unittest_base.cc ExpectValid(TEST_SOURCE, scoped_ptr<base::Value>(new base::ListValue()).get(), base 641 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("foobar")).get(), base 646 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(88.8)).get(), base 649 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), base 652 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), base 655 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(0)).get(), base 660 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), base 663 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), base 666 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(0)).get(), base 669 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>( base 670 components/json_schema/json_schema_validator_unittest_base.cc new base::FundamentalValue(pow(2.0, DBL_MANT_DIG))).get(), base 673 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>( base 674 components/json_schema/json_schema_validator_unittest_base.cc new base::FundamentalValue(pow(-2.0, DBL_MANT_DIG))).get(), base 679 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(false)).get(), base 682 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(true)).get(), base 687 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(base::Value::CreateNullValue()).get(), base 694 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::ListValue()).get(), base 704 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(base::Value::CreateNullValue()).get(), base 714 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), base 724 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), base 735 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::StringValue("42")).get(), base 745 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(88.8)).get(), base 754 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(1)).get(), base 765 components/json_schema/json_schema_validator_unittest_base.cc scoped_ptr<base::Value>(new base::FundamentalValue(false)).get(), base 10 components/json_schema/json_schema_validator_unittest_base.h namespace base { base 29 components/json_schema/json_schema_validator_unittest_base.h base::Value* instance, base 30 components/json_schema/json_schema_validator_unittest_base.h base::DictionaryValue* schema, base 31 components/json_schema/json_schema_validator_unittest_base.h base::ListValue* types) = 0; base 34 components/json_schema/json_schema_validator_unittest_base.h base::Value* instance, base 35 components/json_schema/json_schema_validator_unittest_base.h base::DictionaryValue* schema, base 36 components/json_schema/json_schema_validator_unittest_base.h base::ListValue* types, base 173 components/keyed_service/content/browser_context_dependency_manager.cc base::FilePath dot_file = base 177 components/keyed_service/content/browser_context_dependency_manager.cc base::Bind(&BrowserContextKeyedBaseFactoryGetNodeName)); base 178 components/keyed_service/content/browser_context_dependency_manager.cc base::WriteFile(dot_file, contents.c_str(), contents.size()); base 34 components/keyed_service/content/browser_context_keyed_base_factory.h : public base::NonThreadSafe, base 37 components/keyed_service/content/refcounted_browser_context_keyed_service.h : public base::RefCountedThreadSafe< base 65 components/keyed_service/content/refcounted_browser_context_keyed_service.h friend class base::DeleteHelper<RefcountedBrowserContextKeyedService>; base 66 components/keyed_service/content/refcounted_browser_context_keyed_service.h friend class base::RefCountedThreadSafe< base 116 components/keyed_service/core/dependency_graph.cc const base::Callback<std::string(DependencyNode*)>& node_name_callback) base 44 components/keyed_service/core/dependency_graph.h const base::Callback<std::string(DependencyNode*)>& base 41 components/language_usage_metrics/language_usage_metrics.cc base::StringTokenizer parts(locale, "-_"); base 67 components/language_usage_metrics/language_usage_metrics.cc base::StringTokenizer locales(accept_languages, ","); base 20 components/metrics/metrics_hashes.cc return base::HostToNet64(value); base 28 components/metrics/metrics_hashes.cc base::MD5Context context; base 29 components/metrics/metrics_hashes.cc base::MD5Init(&context); base 30 components/metrics/metrics_hashes.cc base::MD5Update(&context, name); base 32 components/metrics/metrics_hashes.cc base::MD5Digest digest; base 33 components/metrics/metrics_hashes.cc base::MD5Final(&digest, &context); base 26 components/metrics/metrics_hashes_unittest.cc std::string hash_hex = base::StringPrintf("0x%016" PRIx64, hash); base 32 components/nacl/broker/nacl_broker_listener.cc : browser_handle_(base::kNullProcessHandle) { base 36 components/nacl/broker/nacl_broker_listener.cc base::CloseProcessHandle(browser_handle_); base 46 components/nacl/broker/nacl_broker_listener.cc base::MessageLoop::current()->Run(); base 65 components/nacl/broker/nacl_broker_listener.cc bool res = base::OpenPrivilegedProcessHandle(peer_pid, &browser_handle_); base 84 components/nacl/broker/nacl_broker_listener.cc base::MessageLoop::current()->Quit(); base 89 components/nacl/broker/nacl_broker_listener.cc base::ProcessHandle loader_process = 0; base 90 components/nacl/broker/nacl_broker_listener.cc base::ProcessHandle loader_handle_in_browser = 0; base 94 components/nacl/broker/nacl_broker_listener.cc base::FilePath exe_path; base 95 components/nacl/broker/nacl_broker_listener.cc PathService::Get(base::FILE_EXE, &exe_path); base 120 components/nacl/broker/nacl_broker_listener.cc base::CloseProcessHandle(loader_process); base 128 components/nacl/broker/nacl_broker_listener.cc int32 pid, base::ProcessHandle process_handle, base 132 components/nacl/broker/nacl_broker_listener.cc base::MessageLoopProxy::current(), base 133 components/nacl/broker/nacl_broker_listener.cc base::Bind(SendReply, channel_.get(), pid)); base 137 components/nacl/broker/nacl_broker_listener.cc base::MessageLoop::current()->Quit(); base 40 components/nacl/broker/nacl_broker_listener.h base::ProcessHandle process_handle, base 44 components/nacl/broker/nacl_broker_listener.h base::ProcessHandle browser_handle_; base 57 components/nacl/browser/nacl_broker_host_win.cc base::FilePath nacl_path; base 92 components/nacl/browser/nacl_broker_host_win.cc base::ProcessHandle handle) { base 97 components/nacl/browser/nacl_broker_host_win.cc int32 pid, base::ProcessHandle process_handle, base 99 components/nacl/browser/nacl_broker_host_win.cc base::ProcessHandle broker_process = process_->GetData().handle; base 100 components/nacl/browser/nacl_broker_host_win.cc base::ProcessHandle handle_in_broker_process; base 35 components/nacl/browser/nacl_broker_host_win.h base::ProcessHandle process_handle, base 49 components/nacl/browser/nacl_broker_host_win.h base::ProcessHandle handle); base 33 components/nacl/browser/nacl_broker_service_win.cc base::WeakPtr<nacl::NaClProcessHost> nacl_process_host, base 50 components/nacl/browser/nacl_broker_service_win.cc base::ProcessHandle handle) { base 73 components/nacl/browser/nacl_broker_service_win.cc base::WeakPtr<NaClProcessHost> nacl_process_host, int32 pid, base 74 components/nacl/browser/nacl_broker_service_win.cc base::ProcessHandle process_handle, const std::string& startup_info) { base 29 components/nacl/browser/nacl_broker_service_win.h bool LaunchLoader(base::WeakPtr<NaClProcessHost> client, base 34 components/nacl/browser/nacl_broker_service_win.h base::ProcessHandle handle); base 39 components/nacl/browser/nacl_broker_service_win.h bool LaunchDebugExceptionHandler(base::WeakPtr<NaClProcessHost> client, base 41 components/nacl/browser/nacl_broker_service_win.h base::ProcessHandle process_handle, base 49 components/nacl/browser/nacl_broker_service_win.h typedef std::map<std::string, base::WeakPtr<NaClProcessHost> > base 51 components/nacl/browser/nacl_broker_service_win.h typedef std::map<int, base::WeakPtr<NaClProcessHost> > base 25 components/nacl/browser/nacl_browser.cc const base::FilePath::CharType kValidationCacheFileName[] = base 46 components/nacl/browser/nacl_browser.cc const base::FilePath::StringType NaClIrtName() { base 47 components/nacl/browser/nacl_browser.cc base::FilePath::StringType irt_name(FILE_PATH_LITERAL("nacl_irt_")); base 53 components/nacl/browser/nacl_browser.cc bool is64 = (base::win::OSInfo::GetInstance()->wow64_status() == base 54 components/nacl/browser/nacl_browser.cc base::win::OSInfo::WOW64_ENABLED); base 83 components/nacl/browser/nacl_browser.cc void ReadCache(const base::FilePath& filename, std::string* data) { base 84 components/nacl/browser/nacl_browser.cc if (!base::ReadFileToString(filename, data)) { base 90 components/nacl/browser/nacl_browser.cc void WriteCache(const base::FilePath& filename, const Pickle* pickle) { base 91 components/nacl/browser/nacl_browser.cc base::WriteFile(filename, static_cast<const char*>(pickle->data()), base 95 components/nacl/browser/nacl_browser.cc void RemoveCache(const base::FilePath& filename, base 96 components/nacl/browser/nacl_browser.cc const base::Closure& callback) { base 97 components/nacl/browser/nacl_browser.cc base::DeleteFile(filename, false); base 119 components/nacl/browser/nacl_browser.cc base::File OpenNaClExecutableImpl(const base::FilePath& file_path) { base 124 components/nacl/browser/nacl_browser.cc base::File file(file_path, base 125 components/nacl/browser/nacl_browser.cc (base::File::FLAG_OPEN | base 126 components/nacl/browser/nacl_browser.cc base::File::FLAG_READ | base 127 components/nacl/browser/nacl_browser.cc base::File::FLAG_EXECUTE)); // Windows only flag. base 134 components/nacl/browser/nacl_browser.cc base::File::Info file_info; base 136 components/nacl/browser/nacl_browser.cc return base::File(); base 143 components/nacl/browser/nacl_browser.cc irt_platform_file_(base::kInvalidPlatformFileValue), base 175 components/nacl/browser/nacl_browser.cc if (irt_platform_file_ != base::kInvalidPlatformFileValue) base 176 components/nacl/browser/nacl_browser.cc base::ClosePlatformFile(irt_platform_file_); base 187 components/nacl/browser/nacl_browser.cc base::FilePath::StringType path_string( base 189 components/nacl/browser/nacl_browser.cc irt_filepath_ = base::FilePath(path_string); base 191 components/nacl/browser/nacl_browser.cc base::FilePath plugin_dir; base 202 components/nacl/browser/nacl_browser.cc bool NaClBrowser::GetNaCl64ExePath(base::FilePath* exe_path) { base 203 components/nacl/browser/nacl_browser.cc base::FilePath module_path; base 204 components/nacl/browser/nacl_browser.cc if (!PathService::Get(base::FILE_MODULE, &module_path)) { base 227 components/nacl/browser/nacl_browser.cc base::PlatformFile NaClBrowser::IrtFile() const { base 230 components/nacl/browser/nacl_browser.cc CHECK_NE(irt_platform_file_, base::kInvalidPlatformFileValue); base 246 components/nacl/browser/nacl_browser.cc if (!base::FileUtilProxy::CreateOrOpen( base 251 components/nacl/browser/nacl_browser.cc base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ, base 252 components/nacl/browser/nacl_browser.cc base::Bind(&NaClBrowser::OnIrtOpened, base 260 components/nacl/browser/nacl_browser.cc void NaClBrowser::OnIrtOpened(base::File::Error error_code, base 261 components/nacl/browser/nacl_browser.cc base::PassPlatformFile file, base 266 components/nacl/browser/nacl_browser.cc if (error_code == base::File::FILE_OK) { base 282 components/nacl/browser/nacl_browser.cc base::Bind(debug_stub_port_listener_, port)); base 290 components/nacl/browser/nacl_browser.cc base::Callback<void(int)> listener) { base 303 components/nacl/browser/nacl_browser.cc base::FilePath user_data_dir; base 309 components/nacl/browser/nacl_browser.cc base::FilePath cache_file_path; base 330 components/nacl/browser/nacl_browser.cc base::Bind(ReadCache, validation_cache_file_path_, data), base 331 components/nacl/browser/nacl_browser.cc base::Bind(&NaClBrowser::OnValidationCacheLoaded, base 333 components/nacl/browser/nacl_browser.cc base::Owned(data)))) { base 375 components/nacl/browser/nacl_browser.cc for (std::vector<base::Closure>::iterator iter = waiting_.begin(); base 377 components/nacl/browser/nacl_browser.cc base::MessageLoop::current()->PostTask(FROM_HERE, *iter); base 388 components/nacl/browser/nacl_browser.cc void NaClBrowser::WaitForResources(const base::Closure& reply) { base 394 components/nacl/browser/nacl_browser.cc const base::FilePath& NaClBrowser::GetIrtFilePath() { base 398 components/nacl/browser/nacl_browser.cc void NaClBrowser::PutFilePath(const base::FilePath& path, uint64* file_token_lo, base 402 components/nacl/browser/nacl_browser.cc uint64 file_token[2] = {base::RandUint64(), base::RandUint64()}; base 420 components/nacl/browser/nacl_browser.cc base::FilePath* path) { base 426 components/nacl/browser/nacl_browser.cc *path = base::FilePath(FILE_PATH_LITERAL("")); base 465 components/nacl/browser/nacl_browser.cc void NaClBrowser::ClearValidationCache(const base::Closure& callback) { base 489 components/nacl/browser/nacl_browser.cc base::Bind(RemoveCache, validation_cache_file_path_, callback)); base 508 components/nacl/browser/nacl_browser.cc base::MessageLoop::current()->PostDelayedTask( base 510 components/nacl/browser/nacl_browser.cc base::Bind(&NaClBrowser::PersistValidationCache, base 512 components/nacl/browser/nacl_browser.cc base::TimeDelta::FromMilliseconds(kValidationCacheCoalescingTimeMS)); base 534 components/nacl/browser/nacl_browser.cc base::Bind(WriteCache, validation_cache_file_path_, base 535 components/nacl/browser/nacl_browser.cc base::Owned(pickle))); base 545 components/nacl/browser/nacl_browser.cc base::Time time = base::Time::Now(); base 554 components/nacl/browser/nacl_browser.cc base::TimeDelta delta = base::Time::Now() - crash_times_.front(); base 28 components/nacl/browser/nacl_browser.h base::File OpenNaClExecutableImpl(const base::FilePath& file_path); base 47 components/nacl/browser/nacl_browser.h void WaitForResources(const base::Closure& reply); base 56 components/nacl/browser/nacl_browser.h const base::FilePath& GetIrtFilePath(); base 59 components/nacl/browser/nacl_browser.h base::PlatformFile IrtFile() const; base 68 components/nacl/browser/nacl_browser.h void SetGdbDebugStubPortListener(base::Callback<void(int)> listener); base 100 components/nacl/browser/nacl_browser.h void PutFilePath(const base::FilePath& path, uint64* file_token_lo, base 103 components/nacl/browser/nacl_browser.h base::FilePath* path); base 107 components/nacl/browser/nacl_browser.h void ClearValidationCache(const base::Closure& callback); base 111 components/nacl/browser/nacl_browser.h bool GetNaCl64ExePath(base::FilePath* exe_path); base 141 components/nacl/browser/nacl_browser.h void OnIrtOpened(base::File::Error error_code, base 142 components/nacl/browser/nacl_browser.h base::PassPlatformFile file, bool created); base 159 components/nacl/browser/nacl_browser.h base::WeakPtrFactory<NaClBrowser> weak_factory_; base 161 components/nacl/browser/nacl_browser.h base::PlatformFile irt_platform_file_; base 162 components/nacl/browser/nacl_browser.h base::FilePath irt_filepath_; base 166 components/nacl/browser/nacl_browser.h base::FilePath validation_cache_file_path_; base 170 components/nacl/browser/nacl_browser.h base::Callback<void(int)> debug_stub_port_listener_; base 172 components/nacl/browser/nacl_browser.h typedef base::HashingMRUCache<std::string, base::FilePath> PathCacheType; base 178 components/nacl/browser/nacl_browser.h std::vector<base::Closure> waiting_; base 182 components/nacl/browser/nacl_browser.h std::deque<base::Time> crash_times_; base 15 components/nacl/browser/nacl_browser_delegate.h namespace base { base 40 components/nacl/browser/nacl_browser_delegate.h virtual bool GetCacheDirectory(base::FilePath* cache_dir) = 0; base 44 components/nacl/browser/nacl_browser_delegate.h virtual bool GetPluginDirectory(base::FilePath* plugin_dir) = 0; base 48 components/nacl/browser/nacl_browser_delegate.h virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) = 0; base 51 components/nacl/browser/nacl_browser_delegate.h virtual bool GetUserDirectory(base::FilePath* user_dir) = 0; base 68 components/nacl/browser/nacl_browser_delegate.h base::FilePath* file_path) = 0; base 41 components/nacl/browser/nacl_file_host.cc base::File PnaclDoOpenFile(const base::FilePath& file_to_open) { base 42 components/nacl/browser/nacl_file_host.cc return base::File(file_to_open, base 43 components/nacl/browser/nacl_file_host.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 51 components/nacl/browser/nacl_file_host.cc base::FilePath full_filepath; base 54 components/nacl/browser/nacl_file_host.cc base::FilePath pnacl_dir; base 56 components/nacl/browser/nacl_file_host.cc !base::PathExists(pnacl_dir)) { base 67 components/nacl/browser/nacl_file_host.cc base::File file_to_open = PnaclDoOpenFile(full_filepath); base 89 components/nacl/browser/nacl_file_host.cc base::File file, base 90 components/nacl/browser/nacl_file_host.cc base::FilePath file_path, base 118 components/nacl/browser/nacl_file_host.cc base::FilePath file_path; base 125 components/nacl/browser/nacl_file_host.cc base::File file = nacl::OpenNaClExecutableImpl(file_path); base 131 components/nacl/browser/nacl_file_host.cc base::Bind( base 151 components/nacl/browser/nacl_file_host.cc base::Bind(&DoOpenPnaclFile, base 162 components/nacl/browser/nacl_file_host.cc base::FilePath* file_to_open) { base 180 components/nacl/browser/nacl_file_host.cc base::FilePath pnacl_dir; base 186 components/nacl/browser/nacl_file_host.cc base::FilePath full_path = pnacl_dir.AppendASCII( base 200 components/nacl/browser/nacl_file_host.cc base::Bind( base 229 components/nacl/browser/nacl_file_host.cc base::Bind( base 14 components/nacl/browser/nacl_file_host.h namespace base { base 39 components/nacl/browser/nacl_file_host.h base::FilePath* file_to_open); base 22 components/nacl/browser/nacl_file_host_unittest.cc virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE { base 27 components/nacl/browser/nacl_file_host_unittest.cc void SetPnaclDirectory(const base::FilePath& pnacl_dir) { base 32 components/nacl/browser/nacl_file_host_unittest.cc base::FilePath pnacl_path_; base 66 components/nacl/browser/nacl_file_host_unittest.cc base::ScopedTempDir scoped_tmp_dir; base 69 components/nacl/browser/nacl_file_host_unittest.cc base::FilePath kTestPnaclPath = scoped_tmp_dir.path(); base 76 components/nacl/browser/nacl_file_host_unittest.cc base::FilePath out_path; base 78 components/nacl/browser/nacl_file_host_unittest.cc base::FilePath expected_path = kTestPnaclPath.Append( base 23 components/nacl/browser/nacl_host_message_filter.cc const base::FilePath& profile_directory, base 88 components/nacl/browser/nacl_host_message_filter.cc base::FilePath manifest_path; base 112 components/nacl/browser/nacl_host_message_filter.cc base::File file) { base 126 components/nacl/browser/nacl_host_message_filter.cc base::Bind(&NaClHostMessageFilter::SyncReturnTemporaryFile, base 133 components/nacl/browser/nacl_host_message_filter.cc base::PlatformFile fd, base 144 components/nacl/browser/nacl_host_message_filter.cc *num_processors = base::SysInfo::NumberOfProcessors(); base 164 components/nacl/browser/nacl_host_message_filter.cc base::Bind(&NaClHostMessageFilter::AsyncReturnTemporaryFile, base 33 components/nacl/browser/nacl_host_message_filter.h const base::FilePath& profile_directory, base 47 components/nacl/browser/nacl_host_message_filter.h friend class base::DeleteHelper<NaClHostMessageFilter>; base 66 components/nacl/browser/nacl_host_message_filter.h base::File file); base 68 components/nacl/browser/nacl_host_message_filter.h base::PlatformFile fd, base 77 components/nacl/browser/nacl_host_message_filter.h base::FilePath profile_directory_; base 80 components/nacl/browser/nacl_host_message_filter.h base::WeakPtrFactory<NaClHostMessageFilter> weak_ptr_factory_; base 81 components/nacl/browser/nacl_process_host.cc void FindAddressSpace(base::ProcessHandle process, base 104 components/nacl/browser/nacl_process_host.cc base::SplitString(path_env_var, ';', &split); base 122 components/nacl/browser/nacl_process_host.cc void* AllocateAddressSpaceASLR(base::ProcessHandle process, size_t size) { base 128 components/nacl/browser/nacl_process_host.cc size_t offset = base::RandGenerator(avail_size - size); base 145 components/nacl/browser/nacl_process_host.cc return (base::win::OSInfo::GetInstance()->wow64_status() == base 146 components/nacl/browser/nacl_process_host.cc base::win::OSInfo::WOW64_ENABLED); base 163 components/nacl/browser/nacl_process_host.cc virtual void PostSpawnTarget(base::ProcessHandle process) { base 200 components/nacl/browser/nacl_process_host.cc base::ProcessHandle processh, base 267 components/nacl/browser/nacl_process_host.cc const base::FilePath& profile_directory) base 303 components/nacl/browser/nacl_process_host.cc if (process_->GetData().handle != base::kNullProcessHandle) { base 307 components/nacl/browser/nacl_process_host.cc base::StringPrintf("NaCl process exited with status %i (0x%x)", base 388 components/nacl/browser/nacl_process_host.cc const base::FilePath& manifest_path) { base 482 components/nacl/browser/nacl_process_host.cc void NaClProcessHost::OnProcessLaunchedByBroker(base::ProcessHandle handle) { base 503 components/nacl/browser/nacl_process_host.cc base::FilePath nacl_gdb = base 512 components/nacl/browser/nacl_process_host.cc base::SplitString(nacl_gdb, static_cast<CommandLine::CharType>(' '), &argv); base 516 components/nacl/browser/nacl_process_host.cc base::FilePath::StringType irt_path( base 525 components/nacl/browser/nacl_process_host.cc base::FilePath::StringType manifest_path_value(manifest_path_.value()); base 533 components/nacl/browser/nacl_process_host.cc base::FilePath script = CommandLine::ForCurrentProcess()->GetSwitchValuePath( base 539 components/nacl/browser/nacl_process_host.cc return base::LaunchProcess(cmd_line, base::LaunchOptions(), NULL); base 565 components/nacl/browser/nacl_process_host.cc base::FilePath exe_path = ChildProcessHost::GetChildPath(flags); base 584 components/nacl/browser/nacl_process_host.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 587 components/nacl/browser/nacl_process_host.cc base::FilePath module_path; base 588 components/nacl/browser/nacl_process_host.cc if (!PathService::Get(base::FILE_MODULE, &module_path)) { base 593 components/nacl/browser/nacl_process_host.cc base::WideToUTF8(module_path.DirName().Append(L"x64").value()); base 691 components/nacl/browser/nacl_process_host.cc if (!DuplicateHandle(base::GetCurrentProcessHandle(), base 718 components/nacl/browser/nacl_process_host.cc base::GetProcId(data.handle), base 806 components/nacl/browser/nacl_process_host.cc base::PlatformFile irt_file = nacl_browser->IrtFile(); base 807 components/nacl/browser/nacl_process_host.cc CHECK_NE(irt_file, base::kInvalidPlatformFileValue); base 818 components/nacl/browser/nacl_process_host.cc base::SharedMemory memory_buffer; base 819 components/nacl/browser/nacl_process_host.cc base::SharedMemoryCreateOptions options; base 870 components/nacl/browser/nacl_process_host.cc base::MessageLoopProxy::current().get())); base 928 components/nacl/browser/nacl_process_host.cc base::Bind(&NaClProcessHost::OnResourcesReady, base 949 components/nacl/browser/nacl_process_host.cc const base::FilePath& file_path, base 951 components/nacl/browser/nacl_process_host.cc base::File file) { base 964 components/nacl/browser/nacl_process_host.cc base::FilePath()); base 995 components/nacl/browser/nacl_process_host.cc base::FilePath file_path; base 1001 components/nacl/browser/nacl_process_host.cc base::FilePath()); base 1007 components/nacl/browser/nacl_process_host.cc if (!base::PostTaskAndReplyWithResult( base 1010 components/nacl/browser/nacl_process_host.cc base::Bind(OpenNaClExecutableImpl, file_path), base 1011 components/nacl/browser/nacl_process_host.cc base::Bind(&NaClProcessHost::FileResolved, base 1018 components/nacl/browser/nacl_process_host.cc base::FilePath()); base 1048 components/nacl/browser/nacl_process_host.cc base::ProcessId nacl_pid = base::GetProcId(process_->GetData().handle); base 1049 components/nacl/browser/nacl_process_host.cc base::ProcessHandle temp_handle; base 1058 components/nacl/browser/nacl_process_host.cc if (!base::OpenProcessHandleWithAccess( base 1060 components/nacl/browser/nacl_process_host.cc base::kProcessAccessQueryInformation | base 1061 components/nacl/browser/nacl_process_host.cc base::kProcessAccessSuspendResume | base 1062 components/nacl/browser/nacl_process_host.cc base::kProcessAccessTerminate | base 1063 components/nacl/browser/nacl_process_host.cc base::kProcessAccessVMOperation | base 1064 components/nacl/browser/nacl_process_host.cc base::kProcessAccessVMRead | base 1065 components/nacl/browser/nacl_process_host.cc base::kProcessAccessVMWrite | base 1066 components/nacl/browser/nacl_process_host.cc base::kProcessAccessDuplicateHandle | base 1067 components/nacl/browser/nacl_process_host.cc base::kProcessAccessWaitForTermination, base 1072 components/nacl/browser/nacl_process_host.cc base::win::ScopedHandle process_handle(temp_handle); base 1085 components/nacl/browser/nacl_process_host.cc base::MessageLoopProxy::current(), base 1086 components/nacl/browser/nacl_process_host.cc base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker, base 36 components/nacl/browser/nacl_process_host.h void* AllocateAddressSpaceASLR(base::ProcessHandle process, size_t size); base 71 components/nacl/browser/nacl_process_host.h const base::FilePath& profile_directory); base 86 components/nacl/browser/nacl_process_host.h const base::FilePath& manifest_path); base 91 components/nacl/browser/nacl_process_host.h void OnProcessLaunchedByBroker(base::ProcessHandle handle); base 154 components/nacl/browser/nacl_process_host.h void FileResolved(const base::FilePath& file_path, base 156 components/nacl/browser/nacl_process_host.h base::File file); base 196 components/nacl/browser/nacl_process_host.h base::FilePath manifest_path_; base 201 components/nacl/browser/nacl_process_host.h base::WeakPtrFactory<NaClProcessHost> weak_factory_; base 215 components/nacl/browser/nacl_process_host.h const base::FilePath profile_directory_; base 75 components/nacl/browser/nacl_validation_cache.cc validation_cache_key_ = base::RandBytesAsString(kValidationCacheKeySize); base 58 components/nacl/browser/nacl_validation_cache.h typedef base::HashingMRUCache<std::string, bool> ValidationCacheType; base 24 components/nacl/browser/pnacl_host.cc static const base::FilePath::CharType kTranslationCacheDirectoryName[] = base 29 components/nacl/browser/pnacl_host.cc void CloseBaseFile(base::File file) { base 53 components/nacl/browser/pnacl_host.cc : process_handle(base::kNullProcessHandle), base 55 components/nacl/browser/pnacl_host.cc nexe_fd(base::kInvalidPlatformFileValue), base 72 components/nacl/browser/pnacl_host.cc static base::FilePath GetCachePath() { base 78 components/nacl/browser/pnacl_host.cc base::FilePath user_data_dir; base 81 components/nacl/browser/pnacl_host.cc return base::FilePath(); base 84 components/nacl/browser/pnacl_host.cc base::FilePath cache_file_path; base 110 components/nacl/browser/pnacl_host.cc base::FilePath cache_path(GetCachePath()); base 117 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::OnCacheInitialized, weak_factory_.GetWeakPtr())); base 124 components/nacl/browser/pnacl_host.cc void PnaclHost::InitForTest(base::FilePath temp_dir, bool in_memory) { base 132 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::OnCacheInitialized, weak_factory_.GetWeakPtr())); base 136 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::OnCacheInitialized, weak_factory_.GetWeakPtr())); base 146 components/nacl/browser/pnacl_host.cc void PnaclHost::DoCreateTemporaryFile(base::FilePath temp_dir, base 150 components/nacl/browser/pnacl_host.cc base::FilePath file_path; base 151 components/nacl/browser/pnacl_host.cc base::File file; base 153 components/nacl/browser/pnacl_host.cc ? base::CreateTemporaryFile(&file_path) base 154 components/nacl/browser/pnacl_host.cc : base::CreateTemporaryFileInDir(temp_dir, &file_path); base 160 components/nacl/browser/pnacl_host.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_READ | base 161 components/nacl/browser/pnacl_host.cc base::File::FLAG_WRITE | base::File::FLAG_TEMPORARY | base 162 components/nacl/browser/pnacl_host.cc base::File::FLAG_DELETE_ON_CLOSE); base 168 components/nacl/browser/pnacl_host.cc BrowserThread::IO, FROM_HERE, base::Bind(cb, Passed(file.Pass()))); base 175 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::DoCreateTemporaryFile, temp_dir_, cb))) { base 177 components/nacl/browser/pnacl_host.cc cb.Run(base::File()); base 198 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::GetNexeFd, base 206 components/nacl/browser/pnacl_host.cc base::TimeDelta::FromMilliseconds( base 222 components/nacl/browser/pnacl_host.cc cb.Run(base::kInvalidPlatformFileValue, false); base 244 components/nacl/browser/pnacl_host.cc base::Bind( base 248 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::OnTempFileReturn, weak_factory_.GetWeakPtr(), id)); base 283 components/nacl/browser/pnacl_host.cc base::File file) { base 291 components/nacl/browser/pnacl_host.cc FROM_HERE, base::Bind(CloseBaseFile, Passed(file.Pass()))); base 299 components/nacl/browser/pnacl_host.cc entry->second.callback.Run(base::kInvalidPlatformFileValue, false); base 342 components/nacl/browser/pnacl_host.cc if (!base::PostTaskAndReplyWithResult( base 345 components/nacl/browser/pnacl_host.cc base::Bind( base 347 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::OnBufferCopiedToTempFile, base 350 components/nacl/browser/pnacl_host.cc pt->callback.Run(base::kInvalidPlatformFileValue, false); base 360 components/nacl/browser/pnacl_host.cc if (pt->nexe_fd == base::kInvalidPlatformFileValue) { base 370 components/nacl/browser/pnacl_host.cc base::PlatformFile fd) { base 371 components/nacl/browser/pnacl_host.cc base::PlatformFileInfo info; base 374 components/nacl/browser/pnacl_host.cc if (!base::GetPlatformFileInfo(fd, &info) || base 381 components/nacl/browser/pnacl_host.cc if (base::ReadPlatformFile(fd, 0, buffer->data(), buffer->size()) != base 390 components/nacl/browser/pnacl_host.cc base::ClosePlatformFile(fd); base 417 components/nacl/browser/pnacl_host.cc } else if (!base::PostTaskAndReplyWithResult( base 420 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::CopyFileToBuffer, base 422 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::StoreTranslatedNexe, base 433 components/nacl/browser/pnacl_host.cc base::Bind(base::IgnoreResult(base::ClosePlatformFile), base 464 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::OnTranslatedNexeStored, base 501 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::OnCacheQueryReturn, base 511 components/nacl/browser/pnacl_host.cc int PnaclHost::CopyBufferToFile(base::PlatformFile fd, base 513 components/nacl/browser/pnacl_host.cc int rv = base::WritePlatformFile(fd, 0, buffer->data(), buffer->size()); base 530 components/nacl/browser/pnacl_host.cc base::Bind(base::IgnoreResult(base::ClosePlatformFile), base 533 components/nacl/browser/pnacl_host.cc CreateTemporaryFile(base::Bind(&PnaclHost::OnTempFileReturn, base 538 components/nacl/browser/pnacl_host.cc base::PlatformFile fd = entry->second.nexe_fd; base 541 components/nacl/browser/pnacl_host.cc FROM_HERE, base::Bind(base::IgnoreResult(base::ClosePlatformFile), fd)); base 558 components/nacl/browser/pnacl_host.cc base::Bind(base::IgnoreResult(base::ClosePlatformFile), base 571 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::DeInitIfSafe, weak_factory_.GetWeakPtr())); base 576 components/nacl/browser/pnacl_host.cc base::Time initial_time, base 577 components/nacl/browser/pnacl_host.cc base::Time end_time, base 578 components/nacl/browser/pnacl_host.cc const base::Closure& callback) { base 588 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::ClearTranslationCacheEntriesBetween, base 593 components/nacl/browser/pnacl_host.cc base::TimeDelta::FromMilliseconds( base 601 components/nacl/browser/pnacl_host.cc base::Bind( base 607 components/nacl/browser/pnacl_host.cc void PnaclHost::OnEntriesDoomed(const base::Closure& callback, int net_error) { base 617 components/nacl/browser/pnacl_host.cc base::Bind(&PnaclHost::DeInitIfSafe, weak_factory_.GetWeakPtr())); base 34 components/nacl/browser/pnacl_host.h typedef base::Callback<void(base::File)> TempFileCallback; base 35 components/nacl/browser/pnacl_host.h typedef base::Callback<void(base::PlatformFile, bool is_hit)> NexeFdCallback; base 93 components/nacl/browser/pnacl_host.h void ClearTranslationCacheEntriesBetween(base::Time initial_time, base 94 components/nacl/browser/pnacl_host.h base::Time end_time, base 95 components/nacl/browser/pnacl_host.h const base::Closure& callback); base 116 components/nacl/browser/pnacl_host.h base::ProcessHandle process_handle; base 118 components/nacl/browser/pnacl_host.h base::PlatformFile nexe_fd; base 134 components/nacl/browser/pnacl_host.h void InitForTest(base::FilePath temp_dir, bool in_memory); base 137 components/nacl/browser/pnacl_host.h static void DoCreateTemporaryFile(base::FilePath temp_dir_, base 146 components/nacl/browser/pnacl_host.h void OnTempFileReturn(const TranslationID& id, base::File file); base 152 components/nacl/browser/pnacl_host.h base::PlatformFile fd); base 159 components/nacl/browser/pnacl_host.h static int CopyBufferToFile(base::PlatformFile fd, base 163 components/nacl/browser/pnacl_host.h void OnEntriesDoomed(const base::Closure& callback, int net_error); base 171 components/nacl/browser/pnacl_host.h base::FilePath temp_dir_; base 174 components/nacl/browser/pnacl_host.h base::ThreadChecker thread_checker_; base 175 components/nacl/browser/pnacl_host.h base::WeakPtrFactory<PnaclHost> weak_factory_; base 35 components/nacl/browser/pnacl_host_unittest.cc base::RunLoop().RunUntilIdle(); base 51 components/nacl/browser/pnacl_host_unittest.cc base::RunLoop().RunUntilIdle(); base 53 components/nacl/browser/pnacl_host_unittest.cc base::RunLoop().RunUntilIdle(); base 61 components/nacl/browser/pnacl_host_unittest.cc base::RunLoop().RunUntilIdle(); base 70 components/nacl/browser/pnacl_host_unittest.cc void CallbackExpectMiss(base::PlatformFile fd, bool is_hit) { base 72 components/nacl/browser/pnacl_host_unittest.cc ASSERT_FALSE(fd == base::kInvalidPlatformFileValue); base 73 components/nacl/browser/pnacl_host_unittest.cc base::PlatformFileInfo info; base 74 components/nacl/browser/pnacl_host_unittest.cc EXPECT_TRUE(base::GetPlatformFileInfo(fd, &info)); base 80 components/nacl/browser/pnacl_host_unittest.cc EXPECT_EQ(16, base::WritePlatformFile(fd, 0, str, 16)); base 83 components/nacl/browser/pnacl_host_unittest.cc void CallbackExpectHit(base::PlatformFile fd, bool is_hit) { base 85 components/nacl/browser/pnacl_host_unittest.cc ASSERT_FALSE(fd == base::kInvalidPlatformFileValue); base 86 components/nacl/browser/pnacl_host_unittest.cc base::PlatformFileInfo info; base 87 components/nacl/browser/pnacl_host_unittest.cc EXPECT_TRUE(base::GetPlatformFileInfo(fd, &info)); base 95 components/nacl/browser/pnacl_host_unittest.cc EXPECT_EQ(16, base::ReadPlatformFile(fd, 0, data, 16)); base 105 components/nacl/browser/pnacl_host_unittest.cc base::ScopedTempDir temp_dir_; base 126 components/nacl/browser/pnacl_host_unittest.cc base::Bind(expect_hit ? &PnaclHostTest::CallbackExpectHit \ base 128 components/nacl/browser/pnacl_host_unittest.cc base::Unretained(this))); \ base 423 components/nacl/browser/pnacl_host_unittest.cc base::Time(), base::Time(), base::Bind(cb.callback(), 0)); base 452 components/nacl/browser/pnacl_host_unittest.cc base::RunLoop().RunUntilIdle(); base 20 components/nacl/browser/pnacl_translation_cache.cc using base::IntToString; base 42 components/nacl/browser/pnacl_translation_cache.cc : public base::RefCounted<PnaclTranslationCacheEntry> { base 45 components/nacl/browser/pnacl_translation_cache.cc base::WeakPtr<PnaclTranslationCache> cache, base 49 components/nacl/browser/pnacl_translation_cache.cc base::WeakPtr<PnaclTranslationCache> cache, base 77 components/nacl/browser/pnacl_translation_cache.cc PnaclTranslationCacheEntry(base::WeakPtr<PnaclTranslationCache> cache, base 99 components/nacl/browser/pnacl_translation_cache.cc base::WeakPtr<PnaclTranslationCache> cache_; base 107 components/nacl/browser/pnacl_translation_cache.cc base::ThreadChecker thread_checker_; base 113 components/nacl/browser/pnacl_translation_cache.cc base::WeakPtr<PnaclTranslationCache> cache, base 124 components/nacl/browser/pnacl_translation_cache.cc base::WeakPtr<PnaclTranslationCache> cache, base 136 components/nacl/browser/pnacl_translation_cache.cc base::WeakPtr<PnaclTranslationCache> cache, base 152 components/nacl/browser/pnacl_translation_cache.cc base::Bind(read_callback_, base 159 components/nacl/browser/pnacl_translation_cache.cc base::Bind(write_callback_, net::ERR_ABORTED)); base 176 components/nacl/browser/pnacl_translation_cache.cc base::Bind(&PnaclTranslationCacheEntry::DispatchNext, this)); base 185 components/nacl/browser/pnacl_translation_cache.cc base::Bind(&PnaclTranslationCacheEntry::DispatchNext, this)); base 197 components/nacl/browser/pnacl_translation_cache.cc base::Bind(&PnaclTranslationCacheEntry::DispatchNext, this), base 209 components/nacl/browser/pnacl_translation_cache.cc base::Bind(&PnaclTranslationCacheEntry::DispatchNext, this)); base 221 components/nacl/browser/pnacl_translation_cache.cc BrowserThread::IO, FROM_HERE, base::Bind(&CloseDiskCacheEntry, entry_)); base 231 components/nacl/browser/pnacl_translation_cache.cc base::Bind(read_callback_, rv, io_buf_)); base 236 components/nacl/browser/pnacl_translation_cache.cc BrowserThread::IO, FROM_HERE, base::Bind(write_callback_, rv)); base 334 components/nacl/browser/pnacl_translation_cache.cc const base::FilePath& cache_dir, base 346 components/nacl/browser/pnacl_translation_cache.cc base::Bind(&PnaclTranslationCache::OnCreateBackendComplete, AsWeakPtr())); base 360 components/nacl/browser/pnacl_translation_cache.cc BrowserThread::IO, FROM_HERE, base::Bind(init_callback_, rv)); base 384 components/nacl/browser/pnacl_translation_cache.cc int PnaclTranslationCache::InitOnDisk(const base::FilePath& cache_directory, base 392 components/nacl/browser/pnacl_translation_cache.cc return Init(net::MEMORY_CACHE, base::FilePath(), kMaxMemCacheSize, callback); base 422 components/nacl/browser/pnacl_translation_cache.cc base::Time::Exploded exploded; base 440 components/nacl/browser/pnacl_translation_cache.cc base::Time initial, base 441 components/nacl/browser/pnacl_translation_cache.cc base::Time end, base 16 components/nacl/browser/pnacl_translation_cache.h namespace base { base 33 components/nacl/browser/pnacl_translation_cache.h typedef base::Callback<void(int)> CompletionCallback; base 34 components/nacl/browser/pnacl_translation_cache.h typedef base::Callback<void(int, scoped_refptr<net::DrainableIOBuffer>)> base 40 components/nacl/browser/pnacl_translation_cache.h : public base::SupportsWeakPtr<PnaclTranslationCache> { base 48 components/nacl/browser/pnacl_translation_cache.h int InitOnDisk(const base::FilePath& cache_dir, base 78 components/nacl/browser/pnacl_translation_cache.h int DoomEntriesBetween(base::Time initial, base::Time end, base 90 components/nacl/browser/pnacl_translation_cache.h const base::FilePath& directory, base 19 components/nacl/browser/pnacl_translation_cache_unittest.cc using base::FilePath; base 37 components/nacl/browser/pnacl_translation_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 47 components/nacl/browser/pnacl_translation_cache_unittest.cc base::ScopedTempDir temp_dir_; base 87 components/nacl/browser/pnacl_translation_cache_unittest.cc cb_(base::Bind(&TestNexeCallback::SetResult, base::Unretained(this))) {} base 91 components/nacl/browser/pnacl_translation_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 132 components/nacl/browser/pnacl_translation_cache_unittest.cc base::Time::FromString(test_time.c_str(), &info.last_modified); base 188 components/nacl/browser/pnacl_translation_cache_unittest.cc info.last_modified = base::Time(); base 194 components/nacl/browser/pnacl_translation_cache_unittest.cc base::Time::FromString(test_time.c_str(), &info.last_modified); base 231 components/nacl/browser/pnacl_translation_cache_unittest.cc base::RunLoop().RunUntilIdle(); // Ensure the entry is closed. base 18 components/nacl/browser/test_nacl_browser_delegate.cc bool TestNaClBrowserDelegate::GetCacheDirectory(base::FilePath* cache_dir) { base 22 components/nacl/browser/test_nacl_browser_delegate.cc bool TestNaClBrowserDelegate::GetPluginDirectory(base::FilePath* plugin_dir) { base 26 components/nacl/browser/test_nacl_browser_delegate.cc bool TestNaClBrowserDelegate::GetPnaclDirectory(base::FilePath* pnacl_dir) { base 30 components/nacl/browser/test_nacl_browser_delegate.cc bool TestNaClBrowserDelegate::GetUserDirectory(base::FilePath* user_dir) { base 45 components/nacl/browser/test_nacl_browser_delegate.cc base::FilePath* file_path) { base 28 components/nacl/browser/test_nacl_browser_delegate.h virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE; base 29 components/nacl/browser/test_nacl_browser_delegate.h virtual bool GetPluginDirectory(base::FilePath* plugin_dir) OVERRIDE; base 30 components/nacl/browser/test_nacl_browser_delegate.h virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE; base 31 components/nacl/browser/test_nacl_browser_delegate.h virtual bool GetUserDirectory(base::FilePath* user_dir) OVERRIDE; base 37 components/nacl/browser/test_nacl_browser_delegate.h base::FilePath* file_path) OVERRIDE; base 8 components/nacl/common/nacl_cmd_line.h namespace base { base 16 components/nacl/common/nacl_cmd_line.h void CopyNaClCommandLineArguments(base::CommandLine* cmd_line); base 14 components/nacl/common/nacl_debug_exception_handler_win.cc class DebugExceptionHandler : public base::PlatformThread::Delegate { base 16 components/nacl/common/nacl_debug_exception_handler_win.cc DebugExceptionHandler(base::ProcessHandle nacl_process, base 18 components/nacl/common/nacl_debug_exception_handler_win.cc base::MessageLoopProxy* message_loop, base 19 components/nacl/common/nacl_debug_exception_handler_win.cc const base::Callback<void(bool)>& on_connected) base 43 components/nacl/common/nacl_debug_exception_handler_win.cc message_loop_->PostTask(FROM_HERE, base::Bind(on_connected_, attached)); base 55 components/nacl/common/nacl_debug_exception_handler_win.cc base::win::ScopedHandle nacl_process_; base 57 components/nacl/common/nacl_debug_exception_handler_win.cc base::MessageLoopProxy* message_loop_; base 58 components/nacl/common/nacl_debug_exception_handler_win.cc base::Callback<void(bool)> on_connected_; base 66 components/nacl/common/nacl_debug_exception_handler_win.cc base::ProcessHandle nacl_process, base 68 components/nacl/common/nacl_debug_exception_handler_win.cc base::MessageLoopProxy* message_loop, base 69 components/nacl/common/nacl_debug_exception_handler_win.cc const base::Callback<void(bool)>& on_connected) { base 74 components/nacl/common/nacl_debug_exception_handler_win.cc if (!base::PlatformThread::CreateNonJoinable(0, handler)) { base 13 components/nacl/common/nacl_debug_exception_handler_win.h base::ProcessHandle nacl_process, base 15 components/nacl/common/nacl_debug_exception_handler_win.h base::MessageLoopProxy* message_loop, base 16 components/nacl/common/nacl_debug_exception_handler_win.h const base::Callback<void(bool)>& on_connected); base 44 components/nacl/common/nacl_messages.h base::ProcessHandle /* loader process handle */) base 50 components/nacl/common/nacl_messages.h base::ProcessHandle /* handle of the NaCl process */, base 89 components/nacl/common/nacl_messages.h base::FilePath /* Path opened to get fd */) base 14 components/nacl/common/nacl_paths.cc const base::FilePath::CharType kInternalNaClHelperFileName[] = base 16 components/nacl/common/nacl_paths.cc const base::FilePath::CharType kInternalNaClHelperBootstrapFileName[] = base 24 components/nacl/common/nacl_paths.cc bool PathProvider(int key, base::FilePath* result) { base 25 components/nacl/common/nacl_paths.cc base::FilePath cur; base 29 components/nacl/common/nacl_paths.cc if (!PathService::Get(base::DIR_MODULE, &cur)) base 34 components/nacl/common/nacl_paths.cc if (!PathService::Get(base::DIR_MODULE, &cur)) base 66 components/nacl/common/nacl_types.cc plugin_pid(base::kNullProcessId), base 74 components/nacl/common/nacl_types.cc base::ProcessId plugin_pid, base 33 components/nacl/common/nacl_types.h typedef base::FileDescriptor FileDescriptor; base 95 components/nacl/common/nacl_types.h base::ProcessId plugin_pid, base 108 components/nacl/common/nacl_types.h base::ProcessId plugin_pid; base 27 components/nacl/common/pnacl_types.h base::Time last_modified; base 61 components/nacl/loader/nacl_helper_linux.cc base::GlobalDescriptors::GetInstance()->Set( base 65 components/nacl/loader/nacl_helper_linux.cc base::MessageLoopForIO main_message_loop; base 179 components/nacl/loader/nacl_helper_linux.cc base::TerminationStatus status; base 181 components/nacl/loader/nacl_helper_linux.cc status = base::GetKnownDeadTerminationStatus(child_to_wait, &exit_code); base 183 components/nacl/loader/nacl_helper_linux.cc status = base::GetTerminationStatus(child_to_wait, &exit_code); base 360 components/nacl/loader/nacl_helper_linux.cc base::AtExitManager exit_manager; base 361 components/nacl/loader/nacl_helper_linux.cc base::RandUint64(); // acquire /dev/urandom fd before sandbox is raised base 30 components/nacl/loader/nacl_helper_win_64.cc base::MessageLoopForIO main_message_loop; base 31 components/nacl/loader/nacl_helper_win_64.cc base::PlatformThread::SetName("CrNaClBrokerMain"); base 33 components/nacl/loader/nacl_helper_win_64.cc scoped_ptr<base::PowerMonitorSource> power_monitor_source( base 34 components/nacl/loader/nacl_helper_win_64.cc new base::PowerMonitorDeviceSource()); base 35 components/nacl/loader/nacl_helper_win_64.cc base::PowerMonitor power_monitor(power_monitor_source.Pass()); base 36 components/nacl/loader/nacl_helper_win_64.cc base::HighResolutionTimerManager hi_res_timer_manager; base 57 components/nacl/loader/nacl_helper_win_64.cc base::EnableTerminationOnHeapCorruption(); base 58 components/nacl/loader/nacl_helper_win_64.cc base::EnableTerminationOnOutOfMemory(); base 63 components/nacl/loader/nacl_helper_win_64.cc base::RouteStdioToConsole(); base 108 components/nacl/loader/nacl_ipc_adapter.cc struct NaClDescQuotaInterface base NACL_IS_REFCOUNT_SUBCLASS; base 164 components/nacl/loader/nacl_ipc_adapter.cc if (quota_interface && NaClDescQuotaInterfaceCtor("a_interface->base)) { base 165 components/nacl/loader/nacl_ipc_adapter.cc quota_interface->base.base.vtbl = base 175 components/nacl/loader/nacl_ipc_adapter.cc "a_interface->base)) { base 176 components/nacl/loader/nacl_ipc_adapter.cc return &desc->base; base 183 components/nacl/loader/nacl_ipc_adapter.cc NaClDescQuotaInterfaceUnref("a_interface->base); base 235 components/nacl/loader/nacl_ipc_adapter.cc : public base::RefCounted<RewrittenMessage> { base 285 components/nacl/loader/nacl_ipc_adapter.cc char* dest_buffer = static_cast<char*>(msg->iov[0].base); base 327 components/nacl/loader/nacl_ipc_adapter.cc base::TaskRunner* runner) base 342 components/nacl/loader/nacl_ipc_adapter.cc base::TaskRunner* runner) base 352 components/nacl/loader/nacl_ipc_adapter.cc base::Bind(&NaClIPCAdapter::ConnectChannelOnIOThread, this)); base 361 components/nacl/loader/nacl_ipc_adapter.cc base::AutoLock lock(lock_); base 363 components/nacl/loader/nacl_ipc_adapter.cc const char* input_data = static_cast<char*>(msg->iov[0].base); base 431 components/nacl/loader/nacl_ipc_adapter.cc base::AutoLock lock(lock_); base 448 components/nacl/loader/nacl_ipc_adapter.cc base::AutoLock lock(lock_); base 454 components/nacl/loader/nacl_ipc_adapter.cc base::Bind(&NaClIPCAdapter::CloseChannelOnIOThread, this)); base 469 components/nacl/loader/nacl_ipc_adapter.cc base::AutoLock lock(lock_); base 487 components/nacl/loader/nacl_ipc_adapter.cc const base::SharedMemoryHandle& shm_handle = iter->shmem(); base 557 components/nacl/loader/nacl_ipc_adapter.cc base::Bind(&DeleteChannel, io_thread_data_.channel_.release())); base 627 components/nacl/loader/nacl_ipc_adapter.cc base::Bind(&NaClIPCAdapter::SendMessageOnIOThread, this, base 628 components/nacl/loader/nacl_ipc_adapter.cc base::Passed(&msg))); base 54 components/nacl/loader/nacl_ipc_adapter.h class NaClIPCAdapter : public base::RefCountedThreadSafe<NaClIPCAdapter>, base 79 components/nacl/loader/nacl_ipc_adapter.h NaClIPCAdapter(const IPC::ChannelHandle& handle, base::TaskRunner* runner); base 83 components/nacl/loader/nacl_ipc_adapter.h NaClIPCAdapter(scoped_ptr<IPC::Channel> channel, base::TaskRunner* runner); base 116 components/nacl/loader/nacl_ipc_adapter.h friend class base::RefCountedThreadSafe<NaClIPCAdapter>; base 175 components/nacl/loader/nacl_ipc_adapter.h base::Lock lock_; base 176 components/nacl/loader/nacl_ipc_adapter.h base::ConditionVariable cond_var_; base 178 components/nacl/loader/nacl_ipc_adapter.h scoped_refptr<base::TaskRunner> task_runner_; base 34 components/nacl/loader/nacl_ipc_adapter_unittest.cc base::MessageLoopProxy::current().get()); base 58 components/nacl/loader/nacl_ipc_adapter_unittest.cc base::MessageLoop message_loop_; base 277 components/nacl/loader/nacl_ipc_adapter_unittest.cc class MyThread : public base::SimpleThread { base 283 components/nacl/loader/nacl_ipc_adapter_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); base 57 components/nacl/loader/nacl_listener.cc base::subtle::Atomic32 g_shm_fd = -1; base 61 components/nacl/loader/nacl_listener.cc int result_fd = base::subtle::NoBarrier_AtomicExchange(&g_shm_fd, -1); base 119 components/nacl/loader/nacl_listener.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy, base 127 components/nacl/loader/nacl_listener.cc base::FileDescriptor(ipc_adapter->TakeClientFileDescriptor(), true); base 171 components/nacl/loader/nacl_listener.cc base::FilePath ipc_path; base 181 components/nacl/loader/nacl_listener.cc base::PlatformFile handle = base 212 components/nacl/loader/nacl_listener.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 229 components/nacl/loader/nacl_listener.cc if (base::MessageLoop::current() == main_loop_) { base 247 components/nacl/loader/nacl_listener.cc main_loop_ = base::MessageLoop::current(); base 265 components/nacl/loader/nacl_listener.cc int urandom_fd = dup(base::GetUrandomFD()); base 318 components/nacl/loader/nacl_listener.cc base::FileDescriptor(browser_client_ppapi_fd, true); base 320 components/nacl/loader/nacl_listener.cc base::FileDescriptor(renderer_client_ppapi_fd, true); base 344 components/nacl/loader/nacl_listener.cc trusted_renderer_handle.socket = base::FileDescriptor( base 57 components/nacl/loader/nacl_listener.h base::WaitableEvent shutdown_event_; base 58 components/nacl/loader/nacl_listener.h base::Thread io_thread_; base 76 components/nacl/loader/nacl_listener.h base::MessageLoop* main_loop_; base 22 components/nacl/loader/nacl_main.cc base::MessageLoopForIO main_message_loop; base 23 components/nacl/loader/nacl_main.cc base::PlatformThread::SetName("CrNaClMain"); base 25 components/nacl/loader/nacl_main.cc scoped_ptr<base::PowerMonitorSource> power_monitor_source( base 26 components/nacl/loader/nacl_main.cc new base::PowerMonitorDeviceSource()); base 27 components/nacl/loader/nacl_main.cc base::PowerMonitor power_monitor(power_monitor_source.Pass()); base 28 components/nacl/loader/nacl_main.cc base::HighResolutionTimerManager hi_res_timer_manager; base 9 components/nacl/loader/nacl_trusted_listener.cc base::MessageLoopProxy* message_loop_proxy, base 10 components/nacl/loader/nacl_trusted_listener.cc base::WaitableEvent* shutdown_event) { base 15 components/nacl/loader/nacl_trusted_listener.h class NaClTrustedListener : public base::RefCounted<NaClTrustedListener>, base 19 components/nacl/loader/nacl_trusted_listener.h base::MessageLoopProxy* message_loop_proxy, base 20 components/nacl/loader/nacl_trusted_listener.h base::WaitableEvent* shutdown_event); base 34 components/nacl/loader/nacl_trusted_listener.h friend class base::RefCounted<NaClTrustedListener>; base 72 components/nacl/loader/nacl_validation_query.cc CHECK(hasher_.Sign(base::StringPiece(data, length), base 82 components/nacl/loader/nacl_validation_query.cc void NaClValidationQuery::AddData(const base::StringPiece& data) { base 111 components/nacl/loader/nacl_validation_query.cc CHECK(hasher_.Sign(base::StringPiece(buffer_, buffer_length_), temp, base 51 components/nacl/loader/nacl_validation_query.h void AddData(const base::StringPiece& data); base 74 components/nacl/loader/nonsfi/elf_loader.cc << base::HexEncode(&ehdr.e_machine, sizeof(ehdr.e_machine)); base 80 components/nacl/loader/nonsfi/elf_loader.cc << base::HexEncode(&ehdr.e_version, sizeof(ehdr.e_version)); base 30 components/nacl/loader/nonsfi/nonsfi_main.cc class PluginMainDelegate : public base::PlatformThread::Delegate { base 40 components/nacl/loader/nonsfi/nonsfi_main.cc base::PlatformThread::SetName("NaClMainThread"); base 44 components/nacl/loader/nonsfi/nonsfi_main.cc base::ThreadRestrictions::SetSingletonAllowed(true); base 92 components/nacl/loader/nonsfi/nonsfi_main.cc if (!base::PlatformThread::CreateNonJoinable( base 46 components/nacl/renderer/nexe_load_manager.cc base::HistogramBase* counter = base 47 components/nacl/renderer/nexe_load_manager.cc base::LinearHistogram::FactoryGet( base 52 components/nacl/renderer/nexe_load_manager.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 105 components/nacl/renderer/nexe_load_manager.cc base::HistogramBase* counter = base::Histogram::FactoryTimeGet( base 107 components/nacl/renderer/nexe_load_manager.cc base::TimeDelta::FromMilliseconds(10), base 108 components/nacl/renderer/nexe_load_manager.cc base::TimeDelta::FromMilliseconds(200000), base 110 components/nacl/renderer/nexe_load_manager.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 112 components/nacl/renderer/nexe_load_manager.cc counter->AddTime(base::TimeDelta::FromMilliseconds(sample)); base 117 components/nacl/renderer/nexe_load_manager.cc base::HistogramBase* counter = base::Histogram::FactoryTimeGet( base 119 components/nacl/renderer/nexe_load_manager.cc base::TimeDelta::FromMilliseconds(100), base 120 components/nacl/renderer/nexe_load_manager.cc base::TimeDelta::FromMilliseconds(2000000), base 122 components/nacl/renderer/nexe_load_manager.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 124 components/nacl/renderer/nexe_load_manager.cc counter->AddTime(base::TimeDelta::FromMilliseconds(sample)); base 177 components/nacl/renderer/nexe_load_manager.cc base::TimeDelta uptime = base::Time::Now() - ready_time_; base 194 components/nacl/renderer/nexe_load_manager.cc base::Bind(&NexeLoadManager::DispatchEvent, base 202 components/nacl/renderer/nexe_load_manager.cc base::Bind(&NexeLoadManager::DispatchEvent, base 235 components/nacl/renderer/nexe_load_manager.cc base::Bind(&NexeLoadManager::DispatchEvent, base 241 components/nacl/renderer/nexe_load_manager.cc base::Bind(&NexeLoadManager::DispatchEvent, base 264 components/nacl/renderer/nexe_load_manager.cc base::Bind(&NexeLoadManager::DispatchEvent, base 270 components/nacl/renderer/nexe_load_manager.cc base::Bind(&NexeLoadManager::DispatchEvent, base 396 components/nacl/renderer/nexe_load_manager.cc base::TimeDelta uptime = base::Time::Now() - ready_time_; base 405 components/nacl/renderer/nexe_load_manager.cc base::Bind(&NexeLoadManager::DispatchEvent, base 415 components/nacl/renderer/nexe_load_manager.cc base::StringTokenizer t(crash_log, "\n"); base 82 components/nacl/renderer/nexe_load_manager.h void set_ready_time() { ready_time_ = base::Time::Now(); } base 111 components/nacl/renderer/nexe_load_manager.h base::Time ready_time_; base 122 components/nacl/renderer/nexe_load_manager.h base::WeakPtrFactory<NexeLoadManager> weak_factory_; base 23 components/nacl/renderer/pnacl_translation_resource_host.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop) base 68 components/nacl/renderer/pnacl_translation_resource_host.cc base::Bind(&PnaclTranslationResourceHost::SendRequestNexeFd, base 91 components/nacl/renderer/pnacl_translation_resource_host.cc base::Bind(&TrackedCallback::Run, base 107 components/nacl/renderer/pnacl_translation_resource_host.cc base::Bind(&PnaclTranslationResourceHost::SendReportTranslationFinished, base 147 components/nacl/renderer/pnacl_translation_resource_host.cc base::Bind(&TrackedCallback::Run, it->second.callback, status)); base 153 components/nacl/renderer/pnacl_translation_resource_host.cc base::ClosePlatformFile(IPC::PlatformFileForTransitToPlatformFile(file)); base 28 components/nacl/renderer/pnacl_translation_resource_host.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop); base 76 components/nacl/renderer/pnacl_translation_resource_host.h scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 38 components/nacl/renderer/ppb_nacl_private_impl.cc base::LazyInstance<scoped_refptr<PnaclTranslationResourceHost> > base 55 components/nacl/renderer/ppb_nacl_private_impl.cc InstanceInfo() : plugin_pid(base::kNullProcessId), plugin_child_id(0) {} base 58 components/nacl/renderer/ppb_nacl_private_impl.cc base::ProcessId plugin_pid; base 65 components/nacl/renderer/ppb_nacl_private_impl.cc base::LazyInstance<InstanceInfoMap> g_instance_info = base 68 components/nacl/renderer/ppb_nacl_private_impl.cc typedef base::ScopedPtrHashMap<PP_Instance, nacl::NexeLoadManager> base 71 components/nacl/renderer/ppb_nacl_private_impl.cc base::LazyInstance<NexeLoadManagerMap> g_load_manager_map = base 137 components/nacl/renderer/ppb_nacl_private_impl.cc base::Bind(callback.func, callback.user_data, base 170 components/nacl/renderer/ppb_nacl_private_impl.cc base::Bind(callback.func, callback.user_data, base 178 components/nacl/renderer/ppb_nacl_private_impl.cc base::Bind(callback.func, callback.user_data, base 201 components/nacl/renderer/ppb_nacl_private_impl.cc base::Callback<void(int32_t)> completion_callback = base 202 components/nacl/renderer/ppb_nacl_private_impl.cc base::Bind(callback.func, callback.user_data); base 238 components/nacl/renderer/ppb_nacl_private_impl.cc base::FilePath().AppendASCII(instance_info.url.spec()), base 247 components/nacl/renderer/ppb_nacl_private_impl.cc return base::GetUrandomFD(); base 279 components/nacl/renderer/ppb_nacl_private_impl.cc return base::kInvalidPlatformFileValue; base 282 components/nacl/renderer/ppb_nacl_private_impl.cc return base::kInvalidPlatformFileValue; base 284 components/nacl/renderer/ppb_nacl_private_impl.cc base::PlatformFile handle = base 295 components/nacl/renderer/ppb_nacl_private_impl.cc return base::kInvalidPlatformFileValue; base 299 components/nacl/renderer/ppb_nacl_private_impl.cc return base::kInvalidPlatformFileValue; base 302 components/nacl/renderer/ppb_nacl_private_impl.cc base::PlatformFile handle = IPC::PlatformFileForTransitToPlatformFile( base 346 components/nacl/renderer/ppb_nacl_private_impl.cc base::Time last_modified_time; base 349 components/nacl/renderer/ppb_nacl_private_impl.cc base::Time::FromString(last_modified, &last_modified_time); base 389 components/nacl/renderer/ppb_nacl_private_impl.cc base::FilePath file_path; base 396 components/nacl/renderer/ppb_nacl_private_impl.cc return base::kInvalidPlatformFileValue; base 400 components/nacl/renderer/ppb_nacl_private_impl.cc return base::kInvalidPlatformFileValue; base 403 components/nacl/renderer/ppb_nacl_private_impl.cc base::PlatformFile handle = base 423 components/nacl/renderer/ppb_nacl_private_impl.cc base::Bind(&DispatchEventOnMainThread, base 22 components/nacl/renderer/sandbox_arch.cc if (base::win::OSInfo::GetInstance()->architecture() == base 23 components/nacl/renderer/sandbox_arch.cc base::win::OSInfo::X64_ARCHITECTURE) base 17 components/nacl/renderer/trusted_plugin_channel.cc const base::Callback<void(int32_t)>& connected_callback, base 18 components/nacl/renderer/trusted_plugin_channel.cc base::WaitableEvent* waitable_event) base 28 components/nacl/renderer/trusted_plugin_channel.cc base::ResetAndReturn(&connected_callback_).Run(PP_ERROR_FAILED); base 41 components/nacl/renderer/trusted_plugin_channel.cc base::ResetAndReturn(&connected_callback_).Run(PP_OK); base 46 components/nacl/renderer/trusted_plugin_channel.cc base::ResetAndReturn(&connected_callback_).Run(PP_ERROR_FAILED); base 12 components/nacl/renderer/trusted_plugin_channel.h namespace base { base 28 components/nacl/renderer/trusted_plugin_channel.h const base::Callback<void(int32_t)>& connected_callback, base 29 components/nacl/renderer/trusted_plugin_channel.h base::WaitableEvent* waitable_event); base 40 components/nacl/renderer/trusted_plugin_channel.h base::Callback<void(int32_t)> connected_callback_; base 43 components/nacl/zygote/nacl_fork_delegate_linux.cc base::CPU cpuid; base 118 components/nacl/zygote/nacl_fork_delegate_linux.cc base::GlobalDescriptors::kBaseDescriptor + kSandboxIPCChannel; base 123 components/nacl/zygote/nacl_fork_delegate_linux.cc base::FileHandleMappingVector fds_to_map; base 147 components/nacl/zygote/nacl_fork_delegate_linux.cc base::FilePath helper_exe; base 148 components/nacl/zygote/nacl_fork_delegate_linux.cc base::FilePath helper_bootstrap_exe; base 191 components/nacl/zygote/nacl_fork_delegate_linux.cc base::LaunchOptions options; base 205 components/nacl/zygote/nacl_fork_delegate_linux.cc if (!base::LaunchProcess(argv_to_launch, options, NULL)) base 317 components/nacl/zygote/nacl_fork_delegate_linux.cc base::TerminationStatus* status, base 344 components/nacl/zygote/nacl_fork_delegate_linux.cc termination_status >= base::TERMINATION_STATUS_MAX_ENUM) { base 355 components/nacl/zygote/nacl_fork_delegate_linux.cc *status = static_cast<base::TerminationStatus>(termination_status); base 36 components/nacl/zygote/nacl_fork_delegate_linux.h base::TerminationStatus* status, base 7 components/navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java import org.chromium.base.CalledByNative; base 7 components/navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java import org.chromium.base.CalledByNative; base 14 components/navigation_interception/component_jni_registrar.cc static base::android::RegistrationMethod kComponentRegisteredMethods[] = { base 19 components/navigation_interception/intercept_navigation_delegate.cc using base::android::ConvertUTF8ToJavaString; base 20 components/navigation_interception/intercept_navigation_delegate.cc using base::android::ScopedJavaLocalRef; base 67 components/navigation_interception/intercept_navigation_delegate.cc request, base::Bind(&CheckIfShouldIgnoreNavigationOnUIThread)); base 83 components/navigation_interception/intercept_navigation_delegate.cc JNIEnv* env = base::android::AttachCurrentThread(); base 39 components/navigation_interception/intercept_navigation_delegate.h class InterceptNavigationDelegate : public base::SupportsUserData::Data { base 37 components/navigation_interception/intercept_navigation_resource_throttle.cc base::Callback<void(bool)> callback) { base 58 components/navigation_interception/intercept_navigation_resource_throttle.cc base::Bind(callback, should_ignore_navigation)); base 122 components/navigation_interception/intercept_navigation_resource_throttle.cc base::Bind( base 128 components/navigation_interception/intercept_navigation_resource_throttle.cc base::Bind( base 32 components/navigation_interception/intercept_navigation_resource_throttle.h typedef base::Callback<bool( base 56 components/navigation_interception/intercept_navigation_resource_throttle.h base::WeakPtrFactory<InterceptNavigationResourceThrottle> weak_ptr_factory_; base 141 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind(&MockInterceptCallbackReceiver::ShouldIgnoreNavigation, base 142 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(callback_receiver)))); base 250 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind( base 253 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(this), base 259 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(defer))); base 262 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::RunLoop().RunUntilIdle(); base 266 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::WaitableEvent io_thread_work_done(true, false); base 270 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind( base 271 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc &base::WaitableEvent::Signal, base 272 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(&io_thread_work_done))); base 315 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind( base 318 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(this), base 324 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(&defer))); base 329 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind( base 331 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(this))); base 335 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::RunLoop().RunUntilIdle(); base 349 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind( base 352 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(this), base 358 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(&defer))); base 361 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::RunLoop().RunUntilIdle(); base 380 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind( base 383 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(this), base 389 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(&defer))); base 392 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::RunLoop().RunUntilIdle(); base 408 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind( base 411 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(this), base 417 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(&defer))); base 420 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::RunLoop().RunUntilIdle(); base 436 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind( base 439 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(this), base 445 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(&defer))); base 448 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::RunLoop().RunUntilIdle(); base 464 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Bind( base 467 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(this), base 473 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::Unretained(&defer))); base 476 components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc base::RunLoop().RunUntilIdle(); base 10 components/navigation_interception/navigation_params_android.cc using base::android::ConvertUTF8ToJavaString; base 14 components/navigation_interception/navigation_params_android.cc base::android::ScopedJavaLocalRef<jobject> CreateJavaNavigationParams( base 14 components/navigation_interception/navigation_params_android.h base::android::ScopedJavaLocalRef<jobject> CreateJavaNavigationParams( base 97 components/os_crypt/ie7_password_win.cc std::string hash_bin = base::SHA1HashString(url_buffer); base 108 components/os_crypt/ie7_password_win.cc url_hash += base::StringPrintf(L"%2.2X", static_cast<unsigned>(hash_byte)); base 110 components/os_crypt/ie7_password_win.cc url_hash += base::StringPrintf(L"%2.2X", checksum); base 25 components/os_crypt/ie7_password_win.h base::Time date_created; base 19 components/os_crypt/os_crypt.h static bool EncryptString16(const base::string16& plaintext, base 26 components/os_crypt/os_crypt.h base::string16* plaintext); base 57 components/os_crypt/os_crypt_posix.cc bool OSCrypt::EncryptString16(const base::string16& plaintext, base 59 components/os_crypt/os_crypt_posix.cc return EncryptString(base::UTF16ToUTF8(plaintext), ciphertext); base 63 components/os_crypt/os_crypt_posix.cc base::string16* plaintext) { base 68 components/os_crypt/os_crypt_posix.cc *plaintext = base::UTF8ToUTF16(utf8); base 31 components/os_crypt/os_crypt_unittest.cc base::string16 plaintext; base 32 components/os_crypt/os_crypt_unittest.cc base::string16 result; base 43 components/os_crypt/os_crypt_unittest.cc plaintext = base::ASCIIToUTF16("hello"); base 50 components/os_crypt/os_crypt_unittest.cc plaintext = base::ASCIIToUTF16("1234567890123456"); base 56 components/os_crypt/os_crypt_unittest.cc base::char16 wchars[] = { 0xdbeb, 0xdf1b, 0x4e03, 0x6708, 0x8849, base 63 components/os_crypt/os_crypt_unittest.cc utf8_plaintext = base::UTF16ToUTF8(plaintext); base 64 components/os_crypt/os_crypt_unittest.cc EXPECT_EQ(plaintext, base::UTF8ToUTF16(utf8_plaintext)); base 69 components/os_crypt/os_crypt_unittest.cc EXPECT_EQ(utf8_plaintext, base::UTF16ToUTF8(result)); base 75 components/os_crypt/os_crypt_unittest.cc EXPECT_EQ(utf8_plaintext, base::UTF16ToUTF8(result)); base 14 components/os_crypt/os_crypt_win.cc bool OSCrypt::EncryptString16(const base::string16& plaintext, base 16 components/os_crypt/os_crypt_win.cc return EncryptString(base::UTF16ToUTF8(plaintext), ciphertext); base 20 components/os_crypt/os_crypt_win.cc base::string16* plaintext) { base 25 components/os_crypt/os_crypt_win.cc *plaintext = base::UTF8ToUTF16(utf8); base 58 components/password_manager/core/browser/login_database.cc bool LoginDatabase::Init(const base::FilePath& db_path) { base 357 components/password_manager/core/browser/login_database.cc bool LoginDatabase::RemoveLoginsCreatedBetween(const base::Time delete_begin, base 358 components/password_manager/core/browser/login_database.cc const base::Time delete_end) { base 374 components/password_manager/core/browser/login_database.cc base::string16 decrypted_password; base 393 components/password_manager/core/browser/login_database.cc form->date_created = base::Time::FromTimeT( base 451 components/password_manager/core/browser/login_database.cc base::ReplaceChars(registered_domain, ".", "\\.", ®istered_domain); base 456 components/password_manager/core/browser/login_database.cc base::ReplaceChars(scheme, ".", "\\.", &scheme); base 509 components/password_manager/core/browser/login_database.cc const base::Time begin, base 510 components/password_manager/core/browser/login_database.cc const base::Time end, base 585 components/password_manager/core/browser/login_database.cc const std::vector<base::string16>& vec) const { base 593 components/password_manager/core/browser/login_database.cc std::vector<base::string16> LoginDatabase::DeserializeVector( base 595 components/password_manager/core/browser/login_database.cc std::vector<base::string16> ret; base 596 components/password_manager/core/browser/login_database.cc base::string16 str; base 32 components/password_manager/core/browser/login_database.h bool Init(const base::FilePath& db_path); base 50 components/password_manager/core/browser/login_database.h bool RemoveLoginsCreatedBetween(const base::Time delete_begin, base 51 components/password_manager/core/browser/login_database.h const base::Time delete_end); base 63 components/password_manager/core/browser/login_database.h const base::Time begin, base 64 components/password_manager/core/browser/login_database.h const base::Time end, base 104 components/password_manager/core/browser/login_database.h EncryptionResult EncryptedString(const base::string16& plain_text, base 112 components/password_manager/core/browser/login_database.h base::string16* plain_text) const; base 130 components/password_manager/core/browser/login_database.h Pickle SerializeVector(const std::vector<base::string16>& vec) const; base 131 components/password_manager/core/browser/login_database.h std::vector<base::string16> DeserializeVector(const Pickle& pickle) const; base 133 components/password_manager/core/browser/login_database.h base::FilePath db_path_; base 12 components/password_manager/core/browser/login_database_mac.cc const base::string16& plain_text, base 20 components/password_manager/core/browser/login_database_mac.cc base::string16* plain_text) const { base 21 components/password_manager/core/browser/login_database_mac.cc *plain_text = base::string16(); base 12 components/password_manager/core/browser/login_database_posix.cc const base::string16& plain_text, base 14 components/password_manager/core/browser/login_database_posix.cc *cipher_text = base::UTF16ToUTF8(plain_text); base 20 components/password_manager/core/browser/login_database_posix.cc base::string16* plain_text) const { base 21 components/password_manager/core/browser/login_database_posix.cc *plain_text = base::UTF8ToUTF16(cipher_text); base 21 components/password_manager/core/browser/login_database_unittest.cc using base::ASCIIToUTF16; base 33 components/password_manager/core/browser/login_database_unittest.cc Pickle SerializeVector(const std::vector<base::string16>& vec) const { base 37 components/password_manager/core/browser/login_database_unittest.cc std::vector<base::string16> DeserializeVector(const Pickle& pickle) const { base 50 components/password_manager/core/browser/login_database_unittest.cc base::ScopedTempDir temp_dir_; base 51 components/password_manager/core/browser/login_database_unittest.cc base::FilePath file_; base 181 components/password_manager/core/browser/login_database_unittest.cc EXPECT_EQ(base::string16(), result[0]->password_value); base 514 components/password_manager/core/browser/login_database_unittest.cc const base::Time& time) { base 541 components/password_manager/core/browser/login_database_unittest.cc base::Time now = base::Time::Now(); base 542 components/password_manager/core/browser/login_database_unittest.cc base::TimeDelta one_day = base::TimeDelta::FromDays(1); base 545 components/password_manager/core/browser/login_database_unittest.cc EXPECT_TRUE(AddTimestampedLogin(&db_, "1", "foo1", base::Time())); base 557 components/password_manager/core/browser/login_database_unittest.cc EXPECT_TRUE(db_.GetLoginsCreatedBetween(now, base::Time(), &result)); base 562 components/password_manager/core/browser/login_database_unittest.cc db_.RemoveLoginsCreatedBetween(now, base::Time()); base 570 components/password_manager/core/browser/login_database_unittest.cc db_.RemoveLoginsCreatedBetween(base::Time(), base::Time()); base 615 components/password_manager/core/browser/login_database_unittest.cc std::vector<base::string16> vec; base 617 components/password_manager/core/browser/login_database_unittest.cc std::vector<base::string16> output = DeserializeVector(temp); base 764 components/password_manager/core/browser/login_database_unittest.cc int mode = base::FILE_PERMISSION_MASK; base 765 components/password_manager/core/browser/login_database_unittest.cc EXPECT_TRUE(base::GetPosixFilePermissions(file_, &mode)); base 766 components/password_manager/core/browser/login_database_unittest.cc EXPECT_EQ((mode & base::FILE_PERMISSION_USER_MASK), mode); base 11 components/password_manager/core/browser/login_database_win.cc const base::string16& plain_text, base 20 components/password_manager/core/browser/login_database_win.cc base::string16* plain_text) const { base 16 components/password_manager/core/browser/login_model.h virtual void OnAutofillDataAvailable(const base::string16& username, base 17 components/password_manager/core/browser/login_model.h const base::string16& password) = 0; base 9 components/password_manager/core/browser/mock_password_store.cc base::MessageLoopProxy::current(), base 10 components/password_manager/core/browser/mock_password_store.cc base::MessageLoopProxy::current()) { base 36 components/password_manager/core/browser/mock_password_store.h PasswordStoreChangeList(const base::Time&, const base::Time&)); base 17 components/password_manager/core/browser/password_form_data.cc form->date_created = base::Time::FromDoubleT(form_data.creation_time); base 25 components/password_manager/core/browser/password_form_data.cc form->submit_element = base::WideToUTF16(form_data.submit_element); base 27 components/password_manager/core/browser/password_form_data.cc form->username_element = base::WideToUTF16(form_data.username_element); base 29 components/password_manager/core/browser/password_form_data.cc form->password_element = base::WideToUTF16(form_data.password_element); base 31 components/password_manager/core/browser/password_form_data.cc form->username_value = base::WideToUTF16(form_data.username_value); base 33 components/password_manager/core/browser/password_form_data.cc form->password_value = base::WideToUTF16(form_data.password_value); base 24 components/password_manager/core/browser/password_form_manager.cc using base::Time; base 74 components/password_manager/core/browser/password_form_manager.cc base::SplitString(observed_form_.origin.path(), '/', &form_path_tokens_); base 493 components/password_manager/core/browser/password_form_manager.cc std::set<base::string16> set; base 494 components/password_manager/core/browser/password_form_manager.cc for (std::vector<base::string16>::iterator it = base 501 components/password_manager/core/browser/password_form_manager.cc std::vector<base::string16> temp(set.begin(), set.end()); base 587 components/password_manager/core/browser/password_form_manager.cc const base::string16& username) { base 655 components/password_manager/core/browser/password_form_manager.cc base::SplitString(candidate.origin.path(), '/', &candidate_path_tokens); base 138 components/password_manager/core/browser/password_form_manager.h const base::string16& associated_username() const { base 240 components/password_manager/core/browser/password_form_manager.h const base::string16& username); base 278 components/password_manager/core/browser/password_form_manager.h base::string16 selected_username_; base 26 components/password_manager/core/browser/password_form_manager_unittest.cc using base::ASCIIToUTF16; base 39 components/password_manager/core/browser/password_form_manager_unittest.cc base::RunLoop run_loop; base 40 components/password_manager/core/browser/password_form_manager_unittest.cc base::MessageLoop::current()->PostTask( base 41 components/password_manager/core/browser/password_form_manager_unittest.cc FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); base 236 components/password_manager/core/browser/password_form_manager_unittest.cc base::string16 new_user = ASCIIToUTF16("newuser"); base 237 components/password_manager/core/browser/password_form_manager_unittest.cc base::string16 new_pass = ASCIIToUTF16("newpass"); base 272 components/password_manager/core/browser/password_form_manager_unittest.cc base::string16 new_pass = ASCIIToUTF16("newpassword"); base 388 components/password_manager/core/browser/password_form_manager_unittest.cc base::MessageLoop message_loop; base 432 components/password_manager/core/browser/password_form_manager_unittest.cc base::string16 new_username = saved_match()->other_possible_usernames[0]; base 521 components/password_manager/core/browser/password_form_manager_unittest.cc base::MessageLoop message_loop; base 566 components/password_manager/core/browser/password_form_manager_unittest.cc base::MessageLoop message_loop; base 619 components/password_manager/core/browser/password_form_manager_unittest.cc std::vector<base::string16> expected; base 23 components/password_manager/core/browser/password_generation_manager_unittest.cc using base::ASCIIToUTF16; base 36 components/password_manager/core/browser/password_manager.cc static base::PlatformThreadId initial_thread_id = base 37 components/password_manager/core/browser/password_manager.cc base::PlatformThread::CurrentId(); base 38 components/password_manager/core/browser/password_manager.cc DCHECK(initial_thread_id == base::PlatformThread::CurrentId()); base 313 components/password_manager/core/browser/password_manager.cc if (base::FieldTrialList::Find(kOtherPossibleUsernamesExperiment)) base 328 components/password_manager/core/browser/password_manager.cc const base::FieldTrial::Probability kDivisor = 100; base 329 components/password_manager/core/browser/password_manager.cc scoped_refptr<base::FieldTrial> trial( base 330 components/password_manager/core/browser/password_manager.cc base::FieldTrialList::FactoryGetFieldTrial( base 335 components/password_manager/core/browser/password_manager.cc base::FieldTrial::ONE_TIME_RANDOMIZED, base 337 components/password_manager/core/browser/password_manager.cc base::FieldTrial::Probability enabled_probability = base 343 components/password_manager/core/browser/password_manager.cc return base::FieldTrialList::FindFullName( base 50 components/password_manager/core/browser/password_manager.h typedef base::Callback<void(const autofill::PasswordForm&)> base 7 components/password_manager/core/browser/password_manager_client.cc base::FieldTrial::Probability base 50 components/password_manager/core/browser/password_manager_client.h virtual base::FieldTrial::Probability GetProbabilityForExperiment( base 20 components/password_manager/core/browser/password_manager_metrics_util.cc using base::ListValue; base 21 components/password_manager/core/browser/password_manager_metrics_util.cc using base::FundamentalValue; base 60 components/password_manager/core/browser/password_manager_metrics_util.cc const base::ListValue* group_indices = base 68 components/password_manager/core/browser/password_manager_metrics_util.cc base::checked_cast<int>(base::RandGenerator(kGroupsPerDomain)); base 71 components/password_manager/core/browser/password_manager_metrics_util.cc return base::checked_cast<size_t>(result); base 92 components/password_manager/core/browser/password_manager_metrics_util.cc base::HistogramBase* histogram = base 93 components/password_manager/core/browser/password_manager_metrics_util.cc base::LinearHistogram::FactoryGet( base 98 components/password_manager/core/browser/password_manager_metrics_util.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 104 components/password_manager/core/browser/password_manager_metrics_util.cc base::HistogramBase* histogram = base 105 components/password_manager/core/browser/password_manager_metrics_util.cc base::BooleanHistogram::FactoryGet( base 107 components/password_manager/core/browser/password_manager_metrics_util.cc base::Histogram::kNoFlags); base 114 components/password_manager/core/browser/password_manager_metrics_util.cc return "group_" + base::IntToString(group_id); base 25 components/password_manager/core/browser/password_manager_unittest.cc using base::ASCIIToUTF16; base 46 components/password_manager/core/browser/password_manager_unittest.cc base::FieldTrial::Probability(const std::string&)); base 198 components/password_manager/core/browser/password_manager_unittest.cc return base::Bind(&PasswordManagerTest::FormSubmitted, base 199 components/password_manager/core/browser/password_manager_unittest.cc base::Unretained(this)); base 497 components/password_manager/core/browser/password_manager_unittest.cc base::Value::CreateBooleanValue(true)); base 500 components/password_manager/core/browser/password_manager_unittest.cc base::Value::CreateBooleanValue(false)); base 511 components/password_manager/core/browser/password_manager_unittest.cc base::Value::CreateBooleanValue(false)); base 28 components/password_manager/core/browser/password_store.cc void MaybeCallConsumerCallback(base::WeakPtr<PasswordStoreConsumer> consumer, base 43 components/password_manager/core/browser/password_store.cc origin_loop_ = base::MessageLoopProxy::current(); base 66 components/password_manager/core/browser/password_store.cc base::Bind(&MaybeCallConsumerCallback, base 68 components/password_manager/core/browser/password_store.cc base::Passed(result_.Pass()))); base 72 components/password_manager/core/browser/password_store.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 73 components/password_manager/core/browser/password_store.cc scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner) base 82 components/password_manager/core/browser/password_store.cc ScheduleTask(base::Bind(&PasswordStore::InitSyncableService, this, flare)); base 89 components/password_manager/core/browser/password_store.cc base::Bind(&PasswordStore::WrapModificationTask, this, base 90 components/password_manager/core/browser/password_store.cc base::Bind(&PasswordStore::AddLoginImpl, this, form))); base 95 components/password_manager/core/browser/password_store.cc base::Bind(&PasswordStore::WrapModificationTask, this, base 96 components/password_manager/core/browser/password_store.cc base::Bind(&PasswordStore::UpdateLoginImpl, this, form))); base 101 components/password_manager/core/browser/password_store.cc base::Bind(&PasswordStore::WrapModificationTask, this, base 102 components/password_manager/core/browser/password_store.cc base::Bind(&PasswordStore::RemoveLoginImpl, this, form))); base 105 components/password_manager/core/browser/password_store.cc void PasswordStore::RemoveLoginsCreatedBetween(const base::Time& delete_begin, base 106 components/password_manager/core/browser/password_store.cc const base::Time& delete_end) { base 108 components/password_manager/core/browser/password_store.cc base::Bind(&PasswordStore::WrapModificationTask, this, base 109 components/password_manager/core/browser/password_store.cc base::Bind(&PasswordStore::RemoveLoginsCreatedBetweenImpl, base 124 components/password_manager/core/browser/password_store.cc base::Time ignore_logins_cutoff; // the null time base 130 components/password_manager/core/browser/password_store.cc static const base::Time::Exploded exploded_cutoff = base 132 components/password_manager/core/browser/password_store.cc ignore_logins_cutoff = base::Time::FromUTCExploded(exploded_cutoff); base 138 components/password_manager/core/browser/password_store.cc base::Bind(&PasswordStore::CopyAndForwardLoginsResult, base 139 components/password_manager/core/browser/password_store.cc this, base::Owned(request)); base 140 components/password_manager/core/browser/password_store.cc ScheduleTask(base::Bind(&PasswordStore::GetLoginsImpl, base 153 components/password_manager/core/browser/password_store.cc ScheduleTask(base::Bind(&PasswordStore::ReportMetricsImpl, this)); base 166 components/password_manager/core/browser/password_store.cc ScheduleTask(base::Bind(&PasswordStore::DestroySyncableService, this)); base 172 components/password_manager/core/browser/password_store.cc base::WeakPtr<syncer::SyncableService> base 182 components/password_manager/core/browser/password_store.cc bool PasswordStore::ScheduleTask(const base::Closure& task) { base 183 components/password_manager/core/browser/password_store.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner( base 190 components/password_manager/core/browser/password_store.cc scoped_refptr<base::SingleThreadTaskRunner> base 222 components/password_manager/core/browser/password_store.cc base::Bind(func, this, base::Owned(request))); base 50 components/password_manager/core/browser/password_store.h class PasswordStore : public base::RefCountedThreadSafe<PasswordStore> { base 67 components/password_manager/core/browser/password_store.h void set_ignore_logins_cutoff(const base::Time& cutoff) { base 83 components/password_manager/core/browser/password_store.h base::Time ignore_logins_cutoff_; base 85 components/password_manager/core/browser/password_store.h base::WeakPtr<PasswordStoreConsumer> consumer_weak_; base 93 components/password_manager/core/browser/password_store.h base::ThreadChecker thread_checker_; base 94 components/password_manager/core/browser/password_store.h scoped_refptr<base::MessageLoopProxy> origin_loop_; base 113 components/password_manager/core/browser/password_store.h scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 114 components/password_manager/core/browser/password_store.h scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner); base 129 components/password_manager/core/browser/password_store.h virtual void RemoveLoginsCreatedBetween(const base::Time& delete_begin, base 130 components/password_manager/core/browser/password_store.h const base::Time& delete_end); base 168 components/password_manager/core/browser/password_store.h base::WeakPtr<syncer::SyncableService> GetPasswordSyncableService(); base 172 components/password_manager/core/browser/password_store.h friend class base::RefCountedThreadSafe<PasswordStore>; base 190 components/password_manager/core/browser/password_store.h typedef base::Callback<PasswordStoreChangeList(void)> ModificationTask; base 195 components/password_manager/core/browser/password_store.h bool ScheduleTask(const base::Closure& task); base 200 components/password_manager/core/browser/password_store.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetBackgroundTaskRunner(); base 216 components/password_manager/core/browser/password_store.h const base::Time& delete_begin, const base::Time& delete_end) = 0; base 218 components/password_manager/core/browser/password_store.h typedef base::Callback<void(const std::vector<autofill::PasswordForm*>&)> base 251 components/password_manager/core/browser/password_store.h scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner_; base 255 components/password_manager/core/browser/password_store.h scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner_; base 33 components/password_manager/core/browser/password_store_consumer.h base::CancelableTaskTracker* cancelable_task_tracker() { base 37 components/password_manager/core/browser/password_store_consumer.h base::WeakPtr<PasswordStoreConsumer> GetWeakPtr() { base 45 components/password_manager/core/browser/password_store_consumer.h base::CancelableTaskTracker cancelable_task_tracker_; base 46 components/password_manager/core/browser/password_store_consumer.h base::WeakPtrFactory<PasswordStoreConsumer> weak_ptr_factory_; base 17 components/password_manager/core/browser/password_store_default.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 18 components/password_manager/core/browser/password_store_default.cc scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, base 57 components/password_manager/core/browser/password_store_default.cc const base::Time& delete_begin, const base::Time& delete_end) { base 20 components/password_manager/core/browser/password_store_default.h scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, base 21 components/password_manager/core/browser/password_store_default.h scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, base 36 components/password_manager/core/browser/password_store_default.h const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; base 23 components/password_manager/core/browser/password_store_default_unittest.cc using base::WaitableEvent; base 60 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoopForUI message_loop_; base 62 components/password_manager/core/browser/password_store_default_unittest.cc base::ScopedTempDir temp_dir_; base 71 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoopProxy::current(), base 72 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoopProxy::current(), base 98 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 108 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 112 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 117 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoopProxy::current(), base 118 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoopProxy::current(), base 148 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 151 components/password_manager/core/browser/password_store_default_unittest.cc form->password_value = base::ASCIIToUTF16("a different password"); base 163 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 175 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 179 components/password_manager/core/browser/password_store_default_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 19 components/password_manager/core/browser/password_store_unittest.cc using base::WaitableEvent; base 55 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoopForUI message_loop_; base 57 components/password_manager/core/browser/password_store_unittest.cc base::ScopedTempDir temp_dir_; base 66 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoopProxy::current(), base 67 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoopProxy::current(), base 140 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 187 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 191 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 196 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoopProxy::current(), base 197 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoopProxy::current(), base 200 components/password_manager/core/browser/password_store_unittest.cc store->Init(base::Bind(&StartSyncFlareMock::StartSyncFlare, base 201 components/password_manager/core/browser/password_store_unittest.cc base::Unretained(&mock))); base 206 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 209 components/password_manager/core/browser/password_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 38 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password_form.username_element) == base 40 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password_form.password_element) == base 42 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password_form.username_value) == base 44 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password_form.password_value) == base 55 components/password_manager/core/browser/password_syncable_service.cc if (base::Time::FromInternalValue(password_specifics.date_created()) <= base 79 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password.username_element), base 80 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password.username_value), base 81 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password.password_element), base 122 components/password_manager/core/browser/password_syncable_service.cc base::AutoReset<bool> processing_changes(&is_processing_sync_changes_, true); base 213 components/password_manager/core/browser/password_syncable_service.cc base::AutoReset<bool> processing_changes(&is_processing_sync_changes_, true); base 431 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password_form.username_element)); base 433 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password_form.password_element)); base 435 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password_form.username_value)); base 437 components/password_manager/core/browser/password_syncable_service.cc base::UTF16ToUTF8(password_form.password_value)); base 456 components/password_manager/core/browser/password_syncable_service.cc base::UTF8ToUTF16(password.username_element()); base 458 components/password_manager/core/browser/password_syncable_service.cc base::UTF8ToUTF16(password.password_element()); base 459 components/password_manager/core/browser/password_syncable_service.cc new_password->username_value = base::UTF8ToUTF16(password.username_value()); base 460 components/password_manager/core/browser/password_syncable_service.cc new_password->password_value = base::UTF8ToUTF16(password.password_value()); base 464 components/password_manager/core/browser/password_syncable_service.cc base::Time::FromInternalValue(password.date_created()); base 36 components/password_manager/core/browser/password_syncable_service.h public base::NonThreadSafe { base 449 components/password_manager/core/browser/password_syncable_service_unittest.cc form1->date_created = base::Time::Now(); base 516 components/password_manager/core/browser/password_syncable_service_unittest.cc form2->date_created = base::Time::Now(); base 524 components/password_manager/core/browser/password_syncable_service_unittest.cc updated_form.date_created = base::Time::Now(); base 628 components/password_manager/core/browser/password_syncable_service_unittest.cc base::Bind(&MockPasswordSyncableService::StartSyncFlare, base 629 components/password_manager/core/browser/password_syncable_service_unittest.cc base::Unretained(service()))); base 70 components/password_manager/core/browser/psl_matching_helper.cc if (base::FieldTrialList::FindFullName(kPSLMatchingDesktopFieldTrialName) == base 10 components/password_manager/core/browser/test_password_store.cc : PasswordStore(base::MessageLoopProxy::current(), base 11 components/password_manager/core/browser/test_password_store.cc base::MessageLoopProxy::current()) { base 94 components/password_manager/core/browser/test_password_store.cc const base::Time& begin, const base::Time& end) { base 56 components/password_manager/core/browser/test_password_store.h const base::Time& begin, const base::Time& end) OVERRIDE; base 41 components/plugins/renderer/mobile_youtube_plugin.cc base::StringPiece template_html) { base 42 components/plugins/renderer/mobile_youtube_plugin.cc base::DictionaryValue values; base 79 components/plugins/renderer/mobile_youtube_plugin.cc base::StringPiece& template_html, base 22 components/plugins/renderer/mobile_youtube_plugin.h base::StringPiece& template_html, base 28 components/plugins/renderer/plugin_placeholder.cc using base::UserMetricsAction; base 129 components/plugins/renderer/plugin_placeholder.cc base::TrimWhitespace(width_str, base::TRIM_TRAILING, &width_str); base 136 components/plugins/renderer/plugin_placeholder.cc base::TrimWhitespace(height_str, base::TRIM_TRAILING, &height_str); base 154 components/plugins/renderer/plugin_placeholder.cc void PluginPlaceholder::SetMessage(const base::string16& message) { base 164 components/plugins/renderer/plugin_placeholder.cc "window.setMessage(" + base::GetQuotedJSONString(message_) + ")"; base 166 components/plugins/renderer/plugin_placeholder.cc WebScriptSource(base::ASCIIToUTF16(script))); base 51 components/plugins/renderer/plugin_placeholder.h void SetMessage(const base::string16& message); base 99 components/plugins/renderer/plugin_placeholder.h base::string16 message_; base 78 components/plugins/renderer/webview_plugin.cc it->c_str(), base::checked_cast<int, size_t>(it->length())); base 83 components/plugins/renderer/webview_plugin.cc (base::checked_cast<int, size_t>(total_bytes / 1024))); base 86 components/plugins/renderer/webview_plugin.cc (base::checked_cast<int, size_t>(data_.size()))); base 120 components/plugins/renderer/webview_plugin.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 135 components/plugins/renderer/webview_plugin.h friend class base::DeleteHelper<WebViewPlugin>; base 17 components/policy/core/browser/autofill_policy_handler.cc base::Value::TYPE_BOOLEAN) {} base 24 components/policy/core/browser/autofill_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 28 components/policy/core/browser/autofill_policy_handler.cc base::Value::CreateBooleanValue(false)); base 31 components/policy/core/browser/autofill_policy_handler_unittest.cc base::Value::CreateBooleanValue(true), base 46 components/policy/core/browser/autofill_policy_handler_unittest.cc base::Value::CreateBooleanValue(false), base 53 components/policy/core/browser/autofill_policy_handler_unittest.cc const base::Value* value = NULL; base 43 components/policy/core/browser/browser_policy_connector.cc bool MatchDomain(const base::string16& domain, const base::string16& pattern) { base 100 components/policy/core/browser/browser_policy_connector.cc base::Bind(&GetChromePolicyDetails), base 104 components/policy/core/browser/browser_policy_connector.cc base::MessageLoop::current()->message_loop_proxy())); base 200 components/policy/core/browser/browser_policy_connector.cc const base::string16 domain = base::UTF8ToUTF16( base 203 components/policy/core/browser/browser_policy_connector.cc base::string16 pattern = base::WideToUTF16(kNonManagedDomainPatterns[i]); base 16 components/policy/core/browser/browser_policy_connector_ios.h namespace base { base 28 components/policy/core/browser/browser_policy_connector_ios.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 111 components/policy/core/browser/cloud/message_util.cc base::string16 FormatDeviceManagementStatus(DeviceManagementStatus status) { base 115 components/policy/core/browser/cloud/message_util.cc base::string16 FormatValidationStatus( base 121 components/policy/core/browser/cloud/message_util.cc base::string16 FormatStoreStatus( base 17 components/policy/core/browser/cloud/message_util.h POLICY_EXPORT base::string16 FormatDeviceManagementStatus( base 21 components/policy/core/browser/cloud/message_util.h POLICY_EXPORT base::string16 FormatValidationStatus( base 27 components/policy/core/browser/cloud/message_util.h POLICY_EXPORT base::string16 FormatStoreStatus( base 27 components/policy/core/browser/configuration_policy_handler.cc base::Value::Type type) { base 68 components/policy/core/browser/configuration_policy_handler.cc base::Value::Type value_type) base 82 components/policy/core/browser/configuration_policy_handler.cc const base::Value* value = NULL; base 88 components/policy/core/browser/configuration_policy_handler.cc const base::Value** value) { base 107 components/policy/core/browser/configuration_policy_handler.cc : TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_INTEGER), base 115 components/policy/core/browser/configuration_policy_handler.cc const base::Value* value; base 123 components/policy/core/browser/configuration_policy_handler.cc bool IntRangePolicyHandlerBase::EnsureInRange(const base::Value* input, base 139 components/policy/core/browser/configuration_policy_handler.cc base::IntToString(value)); base 161 components/policy/core/browser/configuration_policy_handler.cc : TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), base 169 components/policy/core/browser/configuration_policy_handler.cc const base::Value* value; base 179 components/policy/core/browser/configuration_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 180 components/policy/core/browser/configuration_policy_handler.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 185 components/policy/core/browser/configuration_policy_handler.cc bool StringToIntEnumListPolicyHandler::Convert(const base::Value* input, base 186 components/policy/core/browser/configuration_policy_handler.cc base::ListValue* output, base 191 components/policy/core/browser/configuration_policy_handler.cc const base::ListValue* list_value = NULL; base 197 components/policy/core/browser/configuration_policy_handler.cc for (base::ListValue::const_iterator entry(list_value->begin()); base 205 components/policy/core/browser/configuration_policy_handler.cc ValueTypeToString(base::Value::TYPE_STRING)); base 250 components/policy/core/browser/configuration_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 254 components/policy/core/browser/configuration_policy_handler.cc base::Value::CreateIntegerValue(value_in_range)); base 279 components/policy/core/browser/configuration_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 282 components/policy/core/browser/configuration_policy_handler.cc prefs->SetValue(pref_path_, base::Value::CreateDoubleValue( base 293 components/policy/core/browser/configuration_policy_handler.cc base::Value::Type value_type) base 305 components/policy/core/browser/configuration_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 331 components/policy/core/browser/configuration_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 351 components/policy/core/browser/configuration_policy_handler.cc scoped_ptr<base::Value>* output) { base 352 components/policy/core/browser/configuration_policy_handler.cc const base::Value* value = policies.GetValue(policy_name()); base 31 components/policy/core/browser/configuration_policy_handler.h const base::Value::Type value_type; base 38 components/policy/core/browser/configuration_policy_handler.h static std::string ValueTypeToString(base::Value::Type type); base 79 components/policy/core/browser/configuration_policy_handler.h base::Value::Type value_type); base 92 components/policy/core/browser/configuration_policy_handler.h const base::Value** value); base 99 components/policy/core/browser/configuration_policy_handler.h base::Value::Type value_type_; base 125 components/policy/core/browser/configuration_policy_handler.h bool EnsureInRange(const base::Value* input, base 148 components/policy/core/browser/configuration_policy_handler.h base::Value::Type value_type); base 186 components/policy/core/browser/configuration_policy_handler.h bool Convert(const base::Value* input, base 187 components/policy/core/browser/configuration_policy_handler.h base::ListValue* output, base 266 components/policy/core/browser/configuration_policy_handler.h scoped_ptr<base::Value>* output); base 32 components/policy/core/browser/configuration_policy_handler_list.h typedef base::Callback<void(PolicyHandlerParameters*)> base 63 components/policy/core/browser/configuration_policy_handler_list.h typedef base::Callback<scoped_ptr<ConfigurationPolicyHandlerList>( base 41 components/policy/core/browser/configuration_policy_handler_unittest.cc scoped_ptr<base::Value>* value) { base 50 components/policy/core/browser/configuration_policy_handler_unittest.cc base::ListValue list; base 82 components/policy/core/browser/configuration_policy_handler_unittest.cc base::Value::CreateStringValue("no list"), NULL); base 90 components/policy/core/browser/configuration_policy_handler_unittest.cc base::ListValue list; base 91 components/policy/core/browser/configuration_policy_handler_unittest.cc base::ListValue expected; base 94 components/policy/core/browser/configuration_policy_handler_unittest.cc base::Value* value; base 105 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 113 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 120 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(&expected, value)); base 133 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); base 139 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); base 145 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); base 153 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL); base 159 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(15), NULL); base 168 components/policy/core/browser/configuration_policy_handler_unittest.cc base::Value::CreateStringValue("invalid"), NULL); base 184 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); base 190 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); base 196 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); base 204 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL); base 210 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(15), NULL); base 218 components/policy/core/browser/configuration_policy_handler_unittest.cc base::Value::CreateStringValue("invalid"), NULL); base 227 components/policy/core/browser/configuration_policy_handler_unittest.cc scoped_ptr<base::Value> expected; base 228 components/policy/core/browser/configuration_policy_handler_unittest.cc const base::Value* value; base 236 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); base 239 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateIntegerValue(0)); base 241 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 244 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); base 247 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateIntegerValue(5)); base 249 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 252 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); base 255 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateIntegerValue(10)); base 257 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 262 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL); base 265 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateIntegerValue(0)); base 267 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 270 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(15), NULL); base 273 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateIntegerValue(10)); base 275 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 281 components/policy/core/browser/configuration_policy_handler_unittest.cc scoped_ptr<base::Value> expected; base 282 components/policy/core/browser/configuration_policy_handler_unittest.cc const base::Value* value; base 290 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); base 293 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateIntegerValue(0)); base 295 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 298 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); base 301 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateIntegerValue(5)); base 303 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 306 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); base 309 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateIntegerValue(10)); base 311 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 325 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); base 331 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); base 337 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); base 345 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL); base 351 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(15), NULL); base 359 components/policy/core/browser/configuration_policy_handler_unittest.cc base::Value::CreateStringValue("invalid"), NULL); base 376 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); base 382 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); base 388 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); base 396 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL); base 402 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(15), NULL); base 410 components/policy/core/browser/configuration_policy_handler_unittest.cc base::Value::CreateStringValue("invalid"), NULL); base 419 components/policy/core/browser/configuration_policy_handler_unittest.cc scoped_ptr<base::Value> expected; base 420 components/policy/core/browser/configuration_policy_handler_unittest.cc const base::Value* value; base 429 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); base 432 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateDoubleValue(0.0)); base 434 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 437 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); base 440 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateDoubleValue(0.05)); base 442 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 445 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); base 448 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateDoubleValue(0.1)); base 450 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 455 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL); base 458 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateDoubleValue(0.0)); base 460 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 463 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(15), NULL); base 466 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateDoubleValue(0.1)); base 468 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 474 components/policy/core/browser/configuration_policy_handler_unittest.cc scoped_ptr<base::Value> expected; base 475 components/policy/core/browser/configuration_policy_handler_unittest.cc const base::Value* value; base 484 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); base 487 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateDoubleValue(0.0)); base 489 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 492 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); base 495 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateDoubleValue(0.05)); base 497 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 500 components/policy/core/browser/configuration_policy_handler_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); base 503 components/policy/core/browser/configuration_policy_handler_unittest.cc expected.reset(base::Value::CreateDoubleValue(0.1)); base 505 components/policy/core/browser/configuration_policy_handler_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), value)); base 535 components/policy/core/browser/configuration_policy_handler_unittest.cc scoped_ptr<base::Value> policy_map_value(base::JSONReader::ReadAndReturnError( base 536 components/policy/core/browser/configuration_policy_handler_unittest.cc kPolicyMapJson, base::JSON_PARSE_RFC, NULL, &error)); base 539 components/policy/core/browser/configuration_policy_handler_unittest.cc const base::DictionaryValue* policy_map_dict = NULL; base 547 components/policy/core/browser/configuration_policy_handler_unittest.cc scoped_ptr<base::Value> output_value; base 551 components/policy/core/browser/configuration_policy_handler_unittest.cc base::DictionaryValue* dict = NULL; base 29 components/policy/core/browser/configuration_policy_pref_store.cc base::string16 policy = base::ASCIIToUTF16(iter->first); base 66 components/policy/core/browser/configuration_policy_pref_store.cc const base::Value** value) const { base 67 components/policy/core/browser/configuration_policy_pref_store.cc const base::Value* stored_value = NULL; base 127 components/policy/core/browser/configuration_policy_pref_store.cc base::MessageLoop::current()->PostTask( base 128 components/policy/core/browser/configuration_policy_pref_store.cc FROM_HERE, base::Bind(&LogErrors, base::Owned(errors.release()))); base 46 components/policy/core/browser/configuration_policy_pref_store.h const base::Value** result) const OVERRIDE; base 25 components/policy/core/browser/configuration_policy_pref_store_test.cc : handler_list_(base::Bind(&ConfigurationPolicyPrefStoreTest:: base 27 components/policy/core/browser/configuration_policy_pref_store_test.cc base::Unretained(this)), base 50 components/policy/core/browser/configuration_policy_pref_store_test.cc base::RunLoop loop; base 41 components/policy/core/browser/configuration_policy_pref_store_test.h base::MessageLoop loop_; base 45 components/policy/core/browser/configuration_policy_pref_store_unittest.cc kTestPolicy, kTestPref, base::Value::TYPE_LIST))); base 54 components/policy/core/browser/configuration_policy_pref_store_unittest.cc base::ListValue* in_value = new base::ListValue(); base 55 components/policy/core/browser/configuration_policy_pref_store_unittest.cc in_value->Append(base::Value::CreateStringValue("test1")); base 56 components/policy/core/browser/configuration_policy_pref_store_unittest.cc in_value->Append(base::Value::CreateStringValue("test2,")); base 61 components/policy/core/browser/configuration_policy_pref_store_unittest.cc const base::Value* value = NULL; base 73 components/policy/core/browser/configuration_policy_pref_store_unittest.cc kTestPolicy, kTestPref, base::Value::TYPE_STRING))); base 85 components/policy/core/browser/configuration_policy_pref_store_unittest.cc base::Value::CreateStringValue("http://chromium.org"), NULL); base 87 components/policy/core/browser/configuration_policy_pref_store_unittest.cc const base::Value* value = NULL; base 90 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(base::StringValue("http://chromium.org").Equals(value)); base 99 components/policy/core/browser/configuration_policy_pref_store_unittest.cc kTestPolicy, kTestPref, base::Value::TYPE_BOOLEAN))); base 110 components/policy/core/browser/configuration_policy_pref_store_unittest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(false), NULL); base 112 components/policy/core/browser/configuration_policy_pref_store_unittest.cc const base::Value* value = NULL; base 121 components/policy/core/browser/configuration_policy_pref_store_unittest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 137 components/policy/core/browser/configuration_policy_pref_store_unittest.cc kTestPolicy, kTestPref, base::Value::TYPE_INTEGER))); base 148 components/policy/core/browser/configuration_policy_pref_store_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(2), NULL); base 150 components/policy/core/browser/configuration_policy_pref_store_unittest.cc const base::Value* value = NULL; base 152 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(2).Equals(value)); base 164 components/policy/core/browser/configuration_policy_pref_store_unittest.cc kTestPolicy, kTestPref, base::Value::TYPE_STRING))); base 176 components/policy/core/browser/configuration_policy_pref_store_unittest.cc const base::Value* value = NULL; base 183 components/policy/core/browser/configuration_policy_pref_store_unittest.cc base::Value::CreateStringValue("http://www.chromium.org"), base 188 components/policy/core/browser/configuration_policy_pref_store_unittest.cc EXPECT_TRUE(base::StringValue("http://www.chromium.org").Equals(value)); base 26 components/policy/core/browser/policy_error_map.cc virtual base::string16 GetMessage() const = 0; base 46 components/policy/core/browser/policy_error_map.cc virtual base::string16 GetMessage() const OVERRIDE { base 51 components/policy/core/browser/policy_error_map.cc base::ASCIIToUTF16(replacement_)); base 53 components/policy/core/browser/policy_error_map.cc return base::ASCIIToUTF16(replacement_); base 73 components/policy/core/browser/policy_error_map.cc virtual base::string16 GetMessage() const OVERRIDE { base 75 components/policy/core/browser/policy_error_map.cc base::ASCIIToUTF16(subkey_), base 95 components/policy/core/browser/policy_error_map.cc virtual base::string16 GetMessage() const OVERRIDE { base 97 components/policy/core/browser/policy_error_map.cc base::IntToString16(index_), base 116 components/policy/core/browser/policy_error_map.cc virtual base::string16 GetMessage() const OVERRIDE { base 118 components/policy/core/browser/policy_error_map.cc base::ASCIIToUTF16(error_path_), base 183 components/policy/core/browser/policy_error_map.cc base::string16 PolicyErrorMap::GetErrors(const std::string& policy) { base 186 components/policy/core/browser/policy_error_map.cc std::vector<base::string16> list; base 22 components/policy/core/browser/policy_error_map.h typedef std::multimap<std::string, base::string16> PolicyMapType; base 82 components/policy/core/browser/policy_error_map.h base::string16 GetErrors(const std::string& policy); base 41 components/policy/core/browser/url_blacklist_manager.cc scoped_ptr<base::ListValue> block, base 42 components/policy/core/browser/url_blacklist_manager.cc scoped_ptr<base::ListValue> allow, base 70 components/policy/core/browser/url_blacklist_manager.cc const base::ListValue* list) { base 95 components/policy/core/browser/url_blacklist_manager.cc void URLBlacklist::Block(const base::ListValue* filters) { base 99 components/policy/core/browser/url_blacklist_manager.cc void URLBlacklist::Allow(const base::ListValue* filters) { base 139 components/policy/core/browser/url_blacklist_manager.cc base::FilePath file_path; base 192 components/policy/core/browser/url_blacklist_manager.cc if (!base::StringToInt(filter.substr(parsed.port.begin, parsed.port.len), base 269 components/policy/core/browser/url_blacklist_manager.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 270 components/policy/core/browser/url_blacklist_manager.cc const scoped_refptr<base::SequencedTaskRunner>& io_task_runner, base 280 components/policy/core/browser/url_blacklist_manager.cc ui_task_runner_(base::MessageLoopProxy::current()), base 283 components/policy/core/browser/url_blacklist_manager.cc base::Closure callback = base::Bind(&URLBlacklistManager::ScheduleUpdate, base 284 components/policy/core/browser/url_blacklist_manager.cc base::Unretained(this)); base 312 components/policy/core/browser/url_blacklist_manager.cc base::Bind(&URLBlacklistManager::Update, base 320 components/policy/core/browser/url_blacklist_manager.cc scoped_ptr<base::ListValue> block( base 322 components/policy/core/browser/url_blacklist_manager.cc scoped_ptr<base::ListValue> allow( base 329 components/policy/core/browser/url_blacklist_manager.cc base::Bind(&URLBlacklistManager::UpdateOnIO, base 330 components/policy/core/browser/url_blacklist_manager.cc base::Unretained(this), base 331 components/policy/core/browser/url_blacklist_manager.cc base::Passed(&block), base 332 components/policy/core/browser/url_blacklist_manager.cc base::Passed(&allow))); base 335 components/policy/core/browser/url_blacklist_manager.cc void URLBlacklistManager::UpdateOnIO(scoped_ptr<base::ListValue> block, base 336 components/policy/core/browser/url_blacklist_manager.cc scoped_ptr<base::ListValue> allow) { base 340 components/policy/core/browser/url_blacklist_manager.cc base::PostTaskAndReplyWithResult( base 343 components/policy/core/browser/url_blacklist_manager.cc base::Bind(&BuildBlacklist, base 344 components/policy/core/browser/url_blacklist_manager.cc base::Passed(&block), base 345 components/policy/core/browser/url_blacklist_manager.cc base::Passed(&allow), base 347 components/policy/core/browser/url_blacklist_manager.cc base::Bind(&URLBlacklistManager::SetBlacklist, base 25 components/policy/core/browser/url_blacklist_manager.h namespace base { base 53 components/policy/core/browser/url_blacklist_manager.h void AddFilters(bool allow, const base::ListValue* filters); base 58 components/policy/core/browser/url_blacklist_manager.h void Block(const base::ListValue* filters); base 62 components/policy/core/browser/url_blacklist_manager.h void Allow(const base::ListValue* filters); base 136 components/policy/core/browser/url_blacklist_manager.h typedef base::Callback<bool(const GURL&, bool*)> OverrideBlacklistCallback; base 145 components/policy/core/browser/url_blacklist_manager.h const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 146 components/policy/core/browser/url_blacklist_manager.h const scoped_refptr<base::SequencedTaskRunner>& io_task_runner, base 183 components/policy/core/browser/url_blacklist_manager.h void UpdateOnIO(scoped_ptr<base::ListValue> block, base 184 components/policy/core/browser/url_blacklist_manager.h scoped_ptr<base::ListValue> allow); base 192 components/policy/core/browser/url_blacklist_manager.h base::WeakPtrFactory<URLBlacklistManager> ui_weak_ptr_factory_; base 199 components/policy/core/browser/url_blacklist_manager.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 202 components/policy/core/browser/url_blacklist_manager.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 215 components/policy/core/browser/url_blacklist_manager.h base::WeakPtrFactory<URLBlacklistManager> io_weak_ptr_factory_; base 218 components/policy/core/browser/url_blacklist_manager.h scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; base 24 components/policy/core/browser/url_blacklist_policy_handler.cc const base::Value* disabled_schemes = base 26 components/policy/core/browser/url_blacklist_policy_handler.cc const base::Value* url_blacklist = policies.GetValue(key::kURLBlacklist); base 28 components/policy/core/browser/url_blacklist_policy_handler.cc if (disabled_schemes && !disabled_schemes->IsType(base::Value::TYPE_LIST)) { base 31 components/policy/core/browser/url_blacklist_policy_handler.cc ValueTypeToString(base::Value::TYPE_LIST)); base 34 components/policy/core/browser/url_blacklist_policy_handler.cc if (url_blacklist && !url_blacklist->IsType(base::Value::TYPE_LIST)) { base 37 components/policy/core/browser/url_blacklist_policy_handler.cc ValueTypeToString(base::Value::TYPE_LIST)); base 45 components/policy/core/browser/url_blacklist_policy_handler.cc const base::Value* url_blacklist_policy = base 47 components/policy/core/browser/url_blacklist_policy_handler.cc const base::ListValue* url_blacklist = NULL; base 50 components/policy/core/browser/url_blacklist_policy_handler.cc const base::Value* disabled_schemes_policy = base 52 components/policy/core/browser/url_blacklist_policy_handler.cc const base::ListValue* disabled_schemes = NULL; base 56 components/policy/core/browser/url_blacklist_policy_handler.cc scoped_ptr<base::ListValue> merged_url_blacklist(new base::ListValue()); base 61 components/policy/core/browser/url_blacklist_policy_handler.cc for (base::ListValue::const_iterator entry(disabled_schemes->begin()); base 72 components/policy/core/browser/url_blacklist_policy_handler.cc for (base::ListValue::const_iterator entry(url_blacklist->begin()); base 74 components/policy/core/browser/url_blacklist_policy_handler.cc if ((*entry)->IsType(base::Value::TYPE_STRING)) base 31 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc void SetPolicy(const std::string& key, base::Value* value) { base 34 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc bool CheckPolicy(const std::string& key, base::Value* value) { base 50 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc EXPECT_TRUE(CheckPolicy(key::kURLBlacklist, new base::ListValue)); base 56 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc EXPECT_TRUE(CheckPolicy(key::kDisabledSchemes, new base::ListValue)); base 64 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::Value::CreateBooleanValue(false))); base 75 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::Value::CreateBooleanValue(false))); base 90 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc SetPolicy(key::kDisabledSchemes, base::Value::CreateBooleanValue(false)); base 98 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc SetPolicy(key::kURLBlacklist, base::Value::CreateBooleanValue(false)); base 105 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc SetPolicy(key::kDisabledSchemes, new base::ListValue); base 107 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::Value* out; base 109 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::ListValue* out_list; base 116 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc SetPolicy(key::kURLBlacklist, new base::ListValue); base 118 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::Value* out; base 120 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::ListValue* out_list; base 128 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc scoped_ptr<base::ListValue> in(new base::ListValue); base 134 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::Value* out; base 136 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::ListValue* out_list; base 144 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc scoped_ptr<base::ListValue> in(new base::ListValue); base 150 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::Value* out; base 152 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::ListValue* out_list; base 159 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc scoped_ptr<base::ListValue> in_disabled_schemes(new base::ListValue); base 164 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::Value* out; base 166 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::ListValue* out_list; base 177 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc scoped_ptr<base::ListValue> in_url_blacklist(new base::ListValue); base 182 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::Value* out; base 184 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::ListValue* out_list; base 194 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc scoped_ptr<base::ListValue> in_disabled_schemes(new base::ListValue); base 198 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc scoped_ptr<base::ListValue> in_url_blacklist(new base::ListValue); base 204 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::Value* out; base 206 components/policy/core/browser/url_blacklist_policy_handler_unittest.cc base::ListValue* out_list; base 12 components/policy/core/common/async_policy_loader.cc using base::Time; base 13 components/policy/core/common/async_policy_loader.cc using base::TimeDelta; base 31 components/policy/core/common/async_policy_loader.cc scoped_refptr<base::SequencedTaskRunner> task_runner) base 107 components/policy/core/common/async_policy_loader.cc base::Bind(&AsyncPolicyLoader::Reload, base 16 components/policy/core/common/async_policy_loader.h namespace base { base 37 components/policy/core/common/async_policy_loader.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 41 components/policy/core/common/async_policy_loader.h base::SequencedTaskRunner* task_runner() const { return task_runner_.get(); } base 54 components/policy/core/common/async_policy_loader.h virtual base::Time LastModificationTime(); base 78 components/policy/core/common/async_policy_loader.h typedef base::Callback<void(scoped_ptr<PolicyBundle>)> UpdateCallback; base 89 components/policy/core/common/async_policy_loader.h void ScheduleNextReload(base::TimeDelta delay); base 94 components/policy/core/common/async_policy_loader.h bool IsSafeToReload(const base::Time& now, base::TimeDelta* delay); base 97 components/policy/core/common/async_policy_loader.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 103 components/policy/core/common/async_policy_loader.h base::WeakPtrFactory<AsyncPolicyLoader> weak_factory_; base 106 components/policy/core/common/async_policy_loader.h base::Time last_modification_time_; base 112 components/policy/core/common/async_policy_loader.h base::Time last_modification_clock_; base 42 components/policy/core/common/async_policy_provider.cc base::Bind(&AsyncPolicyProvider::LoaderUpdateCallback, base 43 components/policy/core/common/async_policy_provider.cc base::MessageLoopProxy::current(), base 47 components/policy/core/common/async_policy_provider.cc base::Bind(&AsyncPolicyLoader::Init, base 48 components/policy/core/common/async_policy_provider.cc base::Unretained(loader_), base 86 components/policy/core/common/async_policy_provider.cc base::Bind(&AsyncPolicyProvider::ReloadAfterRefreshSync, base 90 components/policy/core/common/async_policy_provider.cc base::Bind(base::DoNothing), base 110 components/policy/core/common/async_policy_provider.cc base::Bind(&AsyncPolicyLoader::RefreshPolicies, base 111 components/policy/core/common/async_policy_provider.cc base::Unretained(loader_), base 125 components/policy/core/common/async_policy_provider.cc scoped_refptr<base::MessageLoopProxy> loop, base 126 components/policy/core/common/async_policy_provider.cc base::WeakPtr<AsyncPolicyProvider> weak_this, base 129 components/policy/core/common/async_policy_provider.cc base::Bind(&AsyncPolicyProvider::OnLoaderReloaded, base 131 components/policy/core/common/async_policy_provider.cc base::Passed(&bundle))); base 16 components/policy/core/common/async_policy_provider.h namespace base { base 30 components/policy/core/common/async_policy_provider.h public base::NonThreadSafe { base 55 components/policy/core/common/async_policy_provider.h static void LoaderUpdateCallback(scoped_refptr<base::MessageLoopProxy> loop, base 56 components/policy/core/common/async_policy_provider.h base::WeakPtr<AsyncPolicyProvider> weak_this, base 65 components/policy/core/common/async_policy_provider.h base::WeakPtrFactory<AsyncPolicyProvider> weak_factory_; base 69 components/policy/core/common/async_policy_provider.h base::CancelableClosure refresh_callback_; base 36 components/policy/core/common/async_policy_provider_unittest.cc base::Value::CreateStringValue(value), base 43 components/policy/core/common/async_policy_provider_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner); base 54 components/policy/core/common/async_policy_provider_unittest.cc MOCK_METHOD0(LastModificationTime, base::Time()); base 61 components/policy/core/common/async_policy_provider_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) base 86 components/policy/core/common/async_policy_provider_unittest.cc base::MessageLoop loop_; base 104 components/policy/core/common/async_policy_provider_unittest.cc .WillRepeatedly(Return(base::Time())); base 118 components/policy/core/common/async_policy_provider_unittest.cc .WillRepeatedly(Return(base::Time())); base 68 components/policy/core/common/cloud/cloud_external_data_manager.h base::WeakPtrFactory<CloudExternalDataManager> weak_factory_; base 106 components/policy/core/common/cloud/cloud_policy_client.cc client_id_ = base::GenerateGUID(); base 134 components/policy/core/common/cloud/cloud_policy_client.cc base::Bind(&CloudPolicyClient::OnRetryRegister, base::Unretained(this))); base 136 components/policy/core/common/cloud/cloud_policy_client.cc request_job_->Start(base::Bind(&CloudPolicyClient::OnRegisterCompleted, base 137 components/policy/core/common/cloud/cloud_policy_client.cc base::Unretained(this))); base 182 components/policy/core/common/cloud/cloud_policy_client.cc base::TimeDelta timestamp( base 183 components/policy/core/common/cloud/cloud_policy_client.cc last_policy_timestamp_ - base::Time::UnixEpoch()); base 222 components/policy/core/common/cloud/cloud_policy_client.cc request_job_->Start(base::Bind(&CloudPolicyClient::OnPolicyFetchCompleted, base 223 components/policy/core/common/cloud/cloud_policy_client.cc base::Unretained(this))); base 246 components/policy/core/common/cloud/cloud_policy_client.cc base::Bind(&CloudPolicyClient::OnFetchRobotAuthCodesCompleted, base 247 components/policy/core/common/cloud/cloud_policy_client.cc base::Unretained(this))); base 258 components/policy/core/common/cloud/cloud_policy_client.cc request_job_->Start(base::Bind(&CloudPolicyClient::OnUnregisterCompleted, base 259 components/policy/core/common/cloud/cloud_policy_client.cc base::Unretained(this))); base 276 components/policy/core/common/cloud/cloud_policy_client.cc DeviceManagementRequestJob::Callback job_callback = base::Bind( base 278 components/policy/core/common/cloud/cloud_policy_client.cc base::Unretained(this), base 47 components/policy/core/common/cloud/cloud_policy_client.h typedef base::Callback<void(bool status)> StatusCallback; base 158 components/policy/core/common/cloud/cloud_policy_client.h void set_last_policy_timestamp(const base::Time& timestamp) { base 277 components/policy/core/common/cloud/cloud_policy_client.h base::Time last_policy_timestamp_; base 35 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc typedef base::Callback<void(const std::string&)> StringCallback; base 55 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const base::Time& expiration_time) OVERRIDE; base 87 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const base::Time& expiration_time) { base 117 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const base::Time& expiration_time) OVERRIDE; base 150 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const base::Time& expiration_time) { base 182 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const base::Closure& callback) { base 192 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc base::Bind(&CloudPolicyClientRegistrationHelper::OnTokenFetched, base 193 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc base::Unretained(this))); base 199 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const base::Closure& callback) { base 210 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc base::Bind(&CloudPolicyClientRegistrationHelper::OnTokenFetched, base 211 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc base::Unretained(this))); base 246 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const base::DictionaryValue* data) { base 47 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h const base::Closure& callback); base 54 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h const base::Closure& callback); base 67 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h const base::DictionaryValue* response) OVERRIDE; base 103 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h base::Closure callback_; base 199 components/policy/core/common/cloud/cloud_policy_client_unittest.cc base::MessageLoop loop_; base 346 components/policy/core/common/cloud/cloud_policy_client_unittest.cc const base::Time timestamp( base 347 components/policy/core/common/cloud/cloud_policy_client_unittest.cc base::Time::UnixEpoch() + base::TimeDelta::FromDays(20)); base 355 components/policy/core/common/cloud/cloud_policy_client_unittest.cc (timestamp - base::Time::UnixEpoch()).InMilliseconds()); base 553 components/policy/core/common/cloud/cloud_policy_client_unittest.cc CloudPolicyClient::StatusCallback callback = base::Bind( base 555 components/policy/core/common/cloud/cloud_policy_client_unittest.cc base::Unretained(&upload_certificate_observer_)); base 566 components/policy/core/common/cloud/cloud_policy_client_unittest.cc CloudPolicyClient::StatusCallback callback = base::Bind( base 568 components/policy/core/common/cloud/cloud_policy_client_unittest.cc base::Unretained(&upload_certificate_observer_)); base 583 components/policy/core/common/cloud/cloud_policy_client_unittest.cc CloudPolicyClient::StatusCallback callback = base::Bind( base 585 components/policy/core/common/cloud/cloud_policy_client_unittest.cc base::Unretained(&upload_certificate_observer_)); base 22 components/policy/core/common/cloud/cloud_policy_core.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner) base 66 components/policy/core/common/cloud/cloud_policy_core.cc base::Bind(&CloudPolicyCore::UpdateRefreshDelayFromPref, base 67 components/policy/core/common/cloud/cloud_policy_core.cc base::Unretained(this))); base 20 components/policy/core/common/cloud/cloud_policy_core.h namespace base { base 57 components/policy/core/common/cloud/cloud_policy_core.h const scoped_refptr<base::SequencedTaskRunner>& task_runner); base 106 components/policy/core/common/cloud/cloud_policy_core.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 66 components/policy/core/common/cloud/cloud_policy_core_unittest.cc base::MessageLoop loop_; base 28 components/policy/core/common/cloud/cloud_policy_manager.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 29 components/policy/core/common/cloud/cloud_policy_manager.cc const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 30 components/policy/core/common/cloud/cloud_policy_manager.cc const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) base 68 components/policy/core/common/cloud/cloud_policy_manager.cc base::Bind(&CloudPolicyManager::OnRefreshComplete, base 69 components/policy/core/common/cloud/cloud_policy_manager.cc base::Unretained(this))); base 105 components/policy/core/common/cloud/cloud_policy_manager.cc const base::FilePath& policy_cache_path, base 22 components/policy/core/common/cloud/cloud_policy_manager.h namespace base { base 53 components/policy/core/common/cloud/cloud_policy_manager.h const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 54 components/policy/core/common/cloud/cloud_policy_manager.h const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 55 components/policy/core/common/cloud/cloud_policy_manager.h const scoped_refptr<base::SequencedTaskRunner>& io_task_runner); base 79 components/policy/core/common/cloud/cloud_policy_manager.h const base::FilePath& policy_cache_path, base 106 components/policy/core/common/cloud/cloud_policy_manager.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 107 components/policy/core/common/cloud/cloud_policy_manager.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 40 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) OVERRIDE; base 51 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc const base::ListValue* policy_value) OVERRIDE; base 54 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc const base::DictionaryValue* policy_value) OVERRIDE; base 75 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 93 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc base::Value::CreateStringValue(policy_value), NULL); base 99 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc base::Value::CreateIntegerValue(policy_value), NULL); base 105 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc base::Value::CreateBooleanValue(policy_value), NULL); base 109 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc const base::ListValue* policy_value) { base 116 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc const base::DictionaryValue* policy_value) { base 142 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner) base 174 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc base::Value::CreateStringValue("value"), NULL); base 195 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc base::MessageLoop loop_; base 70 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner) base 77 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta::FromHours(1), base 78 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::Bind(&CloudPolicyRefreshScheduler::RefreshNow, base 79 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::Unretained(this)), base 81 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc scoped_ptr<base::TickClock>(new base::DefaultTickClock())), base 83 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc creation_time_(base::Time::NowFromSystemTime()) { base 111 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta elapsed = base::Time::NowFromSystemTime() - creation_time_; base 114 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc creation_time_ = base::Time(); base 132 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc last_refresh_ = base::Time::NowFromSystemTime(); base 149 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc last_refresh_ = base::Time::NowFromSystemTime(); base 190 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc last_refresh_ = base::Time::NowFromSystemTime(); base 218 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::Time::UnixEpoch() + base 219 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta::FromMilliseconds(store_->policy()->timestamp()); base 228 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::Time::UnixEpoch() + base 229 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta::FromMilliseconds(store_->policy()->timestamp()); base 235 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc last_refresh_ = base::Time(); base 294 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc last_refresh_ = base::Time::NowFromSystemTime(); base 308 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta delta(base::TimeDelta::FromMilliseconds(delta_ms)); base 312 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta delay = base 313 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc std::max((last_refresh_ + delta) - base::Time::NowFromSystemTime(), base 314 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta()); base 316 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::Bind(&CloudPolicyRefreshScheduler::PerformRefresh, base 317 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::Unretained(this))); base 18 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h namespace base { base 46 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h const scoped_refptr<base::SequencedTaskRunner>& task_runner); base 49 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h base::Time last_refresh() const { return last_refresh_; } base 110 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h const scoped_refptr<base::SequencedTaskRunner> task_runner_; base 113 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h base::CancelableClosure refresh_callback_; base 116 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h base::Time last_refresh_; base 133 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h base::Time creation_time_; base 35 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc : task_runner_(new base::TestSimpleTaskRunner()), base 45 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::Time now = base::Time::NowFromSystemTime(); base 46 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::TimeDelta initial_age = base 47 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::TimeDelta::FromMinutes(kInitialCacheAgeMinutes); base 49 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc ((now - initial_age) - base::Time::UnixEpoch()).InMilliseconds()); base 51 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::Time::UnixEpoch() + base 52 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(store_.policy_->timestamp()); base 68 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::TimeDelta GetLastDelay() const { base 69 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc const std::deque<base::TestPendingTask>& pending_tasks = base 72 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc pending_tasks.empty() ? base::TimeDelta() : pending_tasks.back().delay; base 76 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc CheckTimingWithAge(base::TimeDelta::FromMilliseconds(expected_delay_ms), base 77 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::TimeDelta()); base 83 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc void CheckTimingWithAge(const base::TimeDelta& offset_from_last_refresh, base 84 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc const base::TimeDelta& cache_age) const { base 86 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::Time now(base::Time::NowFromSystemTime()); base 126 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::TimeDelta rate = base::TimeDelta::FromMilliseconds( base 131 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::TimeDelta::FromMinutes(kInitialCacheAgeMinutes)); base 134 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc EXPECT_EQ(base::TimeDelta(), GetLastDelay()); base 138 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::MessageLoop loop_; base 141 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 145 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::Time last_update_; base 152 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc EXPECT_EQ(GetLastDelay(), base::TimeDelta()); base 174 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc last_update_ = base::Time::NowFromSystemTime(); base 231 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc last_update_ = base::Time::NowFromSystemTime(); base 260 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc last_update_ = base::Time::NowFromSystemTime(); base 277 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc last_update_ = base::Time::NowFromSystemTime(); base 304 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc last_update_ = base::Time::NowFromSystemTime(); base 329 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc last_update_ = base::Time::NowFromSystemTime(); base 345 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc EXPECT_EQ(GetLastDelay(), base::TimeDelta()); base 384 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc EXPECT_EQ(GetLastDelay(), base::TimeDelta()); base 441 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc last_update_ = base::Time::NowFromSystemTime(); base 448 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc EXPECT_EQ(base::TimeDelta(), GetLastDelay()); base 90 components/policy/core/common/cloud/cloud_policy_service.cc base::Time policy_timestamp; base 93 components/policy/core/common/cloud/cloud_policy_service.cc base::Time::UnixEpoch() + base 94 components/policy/core/common/cloud/cloud_policy_service.cc base::TimeDelta::FromMilliseconds(policy->timestamp()); base 30 components/policy/core/common/cloud/cloud_policy_service.h typedef base::Callback<void(bool)> RefreshPolicyCallback; base 80 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_EQ(base::Time::UnixEpoch() + base::TimeDelta::FromMilliseconds(32), base 101 components/policy/core/common/cloud/cloud_policy_service_unittest.cc service_.RefreshPolicy(base::Bind(&CloudPolicyServiceTest::OnPolicyRefresh, base 102 components/policy/core/common/cloud/cloud_policy_service_unittest.cc base::Unretained(this))); base 128 components/policy/core/common/cloud/cloud_policy_service_unittest.cc service_.RefreshPolicy(base::Bind(&CloudPolicyServiceTest::OnPolicyRefresh, base 129 components/policy/core/common/cloud/cloud_policy_service_unittest.cc base::Unretained(this))); base 140 components/policy/core/common/cloud/cloud_policy_service_unittest.cc service_.RefreshPolicy(base::Bind(&CloudPolicyServiceTest::OnPolicyRefresh, base 141 components/policy/core/common/cloud/cloud_policy_service_unittest.cc base::Unretained(this))); base 157 components/policy/core/common/cloud/cloud_policy_service_unittest.cc service_.RefreshPolicy(base::Bind(&CloudPolicyServiceTest::OnPolicyRefresh, base 158 components/policy/core/common/cloud/cloud_policy_service_unittest.cc base::Unretained(this))); base 180 components/policy/core/common/cloud/cloud_policy_service_unittest.cc service_.RefreshPolicy(base::Bind(&CloudPolicyServiceTest::OnPolicyRefresh, base 181 components/policy/core/common/cloud/cloud_policy_service_unittest.cc base::Unretained(this))); base 185 components/policy/core/common/cloud/cloud_policy_service_unittest.cc service_.RefreshPolicy(base::Bind(&CloudPolicyServiceTest::OnPolicyRefresh, base 186 components/policy/core/common/cloud/cloud_policy_service_unittest.cc base::Unretained(this))); base 197 components/policy/core/common/cloud/cloud_policy_service_unittest.cc service_.RefreshPolicy(base::Bind(&CloudPolicyServiceTest::OnPolicyRefresh, base 198 components/policy/core/common/cloud/cloud_policy_service_unittest.cc base::Unretained(this))); base 56 components/policy/core/common/cloud/cloud_policy_store.cc base::WeakPtr<CloudExternalDataManager> external_data_manager) { base 64 components/policy/core/common/cloud/cloud_policy_store.h base::WeakPtr<CloudExternalDataManager> external_data_manager() const { base 120 components/policy/core/common/cloud/cloud_policy_store.h base::WeakPtr<CloudExternalDataManager> external_data_manager); base 136 components/policy/core/common/cloud/cloud_policy_store.h base::WeakPtr<CloudExternalDataManager> external_data_manager_; base 66 components/policy/core/common/cloud/cloud_policy_validator.cc base::Time not_before, base 67 components/policy/core/common/cloud/cloud_policy_validator.cc base::Time now, base 73 components/policy/core/common/cloud/cloud_policy_validator.cc (not_before - base::Time::UnixEpoch()).InMilliseconds(); base 75 components/policy/core/common/cloud/cloud_policy_validator.cc ((now + base::TimeDelta::FromSeconds(kTimestampGraceIntervalSeconds)) - base 76 components/policy/core/common/cloud/cloud_policy_validator.cc base::Time::UnixEpoch()).InMillisecondsRoundedUp(); base 152 components/policy/core/common/cloud/cloud_policy_validator.cc base::Time last_policy_timestamp; base 156 components/policy/core/common/cloud/cloud_policy_validator.cc base::Time::UnixEpoch() + base 157 components/policy/core/common/cloud/cloud_policy_validator.cc base::TimeDelta::FromMilliseconds(policy_data->timestamp()); base 160 components/policy/core/common/cloud/cloud_policy_validator.cc ValidateTimestamp(last_policy_timestamp, base::Time::NowFromSystemTime(), base 168 components/policy/core/common/cloud/cloud_policy_validator.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 182 components/policy/core/common/cloud/cloud_policy_validator.cc const base::Closure& completion_callback) { base 185 components/policy/core/common/cloud/cloud_policy_validator.cc base::Bind(&CloudPolicyValidatorBase::PerformValidation, base 186 components/policy/core/common/cloud/cloud_policy_validator.cc base::Passed(scoped_ptr<CloudPolicyValidatorBase>(this)), base 187 components/policy/core/common/cloud/cloud_policy_validator.cc base::MessageLoop::current()->message_loop_proxy(), base 194 components/policy/core/common/cloud/cloud_policy_validator.cc scoped_refptr<base::MessageLoopProxy> message_loop, base 195 components/policy/core/common/cloud/cloud_policy_validator.cc const base::Closure& completion_callback) { base 202 components/policy/core/common/cloud/cloud_policy_validator.cc base::Bind(&CloudPolicyValidatorBase::ReportCompletion, base 203 components/policy/core/common/cloud/cloud_policy_validator.cc base::Passed(&self), base 210 components/policy/core/common/cloud/cloud_policy_validator.cc const base::Closure& completion_callback) { base 25 components/policy/core/common/cloud/cloud_policy_validator.h namespace base { base 124 components/policy/core/common/cloud/cloud_policy_validator.h void ValidateTimestamp(base::Time not_before, base 125 components/policy/core/common/cloud/cloud_policy_validator.h base::Time not_after, base 200 components/policy/core/common/cloud/cloud_policy_validator.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 204 components/policy/core/common/cloud/cloud_policy_validator.h void PostValidationTask(const base::Closure& completion_callback); base 229 components/policy/core/common/cloud/cloud_policy_validator.h scoped_refptr<base::MessageLoopProxy> message_loop, base 230 components/policy/core/common/cloud/cloud_policy_validator.h const base::Closure& completion_callback); base 234 components/policy/core/common/cloud/cloud_policy_validator.h const base::Closure& completion_callback); base 300 components/policy/core/common/cloud/cloud_policy_validator.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 310 components/policy/core/common/cloud/cloud_policy_validator.h typedef base::Callback<void(CloudPolicyValidator<PayloadProto>*)> base 320 components/policy/core/common/cloud/cloud_policy_validator.h scoped_refptr<base::SequencedTaskRunner> background_task_runner) { base 336 components/policy/core/common/cloud/cloud_policy_validator.h PostValidationTask(base::Bind(completion_callback, this)); base 343 components/policy/core/common/cloud/cloud_policy_validator.h scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 38 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc : timestamp_(base::Time::UnixEpoch() + base 39 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc base::TimeDelta::FromMilliseconds( base 66 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc base::Bind(&CloudPolicyValidatorTest::ValidationCompletion, base 67 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc base::Unretained(this))); base 86 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_response.Pass(), base::MessageLoopProxy::current()); base 119 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc base::MessageLoopForUI loop_; base 120 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc base::Time timestamp_; base 190 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc base::Time timestamp(timestamp_ - base::TimeDelta::FromMinutes(5)); base 192 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc (timestamp - base::Time::UnixEpoch()).InMilliseconds()); base 197 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc base::Time timestamp(timestamp_ + base::TimeDelta::FromMinutes(5)); base 199 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc (timestamp - base::Time::UnixEpoch()).InMilliseconds()); base 204 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc base::Time timestamp(timestamp_ + base::TimeDelta::FromMinutes(5)); base 208 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc (timestamp - base::Time::UnixEpoch()).InMilliseconds()); base 66 components/policy/core/common/cloud/component_cloud_policy_service.cc Backend(base::WeakPtr<ComponentCloudPolicyService> service, base 67 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 68 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_refptr<base::SequencedTaskRunner> service_task_runner, base 97 components/policy/core/common/cloud/component_cloud_policy_service.cc base::WeakPtr<ComponentCloudPolicyService> service_; base 100 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_refptr<base::SequencedTaskRunner> task_runner_; base 104 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_refptr<base::SequencedTaskRunner> service_task_runner_; base 116 components/policy/core/common/cloud/component_cloud_policy_service.cc base::WeakPtr<ComponentCloudPolicyService> service, base 117 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 118 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_refptr<base::SequencedTaskRunner> service_task_runner, base 164 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Bind(&ComponentCloudPolicyService::OnBackendInitialized, base 166 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Passed(&bundle))); base 186 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Bind(&ComponentCloudPolicyService::OnPolicyUpdated, base 188 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Passed(&bundle))); base 199 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Bind(&NotInSchemaMap, schema_map, domain->first)); base 218 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 219 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner) base 237 components/policy/core/common/cloud/component_cloud_policy_service.cc base::MessageLoopProxy::current(), base 276 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Bind(&Backend::SetCredentials, base 277 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Unretained(backend_.get()), base 359 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Bind(&Backend::SetCredentials, base 360 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Unretained(backend_.get()), base 413 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Bind(&Backend::UpdateExternalPolicy, base 414 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Unretained(backend_.get()), base 415 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Passed(&response))); base 441 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Bind(&Backend::Init, base 442 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Unretained(backend_.get()), base 502 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Bind(&Backend::OnSchemasUpdated, base 503 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Unretained(backend_.get()), base 505 components/policy/core/common/cloud/component_cloud_policy_service.cc base::Passed(&removed))); base 22 components/policy/core/common/cloud/component_cloud_policy_service.h namespace base { base 45 components/policy/core/common/cloud/component_cloud_policy_service.h public base::NonThreadSafe { base 83 components/policy/core/common/cloud/component_cloud_policy_service.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 84 components/policy/core/common/cloud/component_cloud_policy_service.h scoped_refptr<base::SequencedTaskRunner> io_task_runner); base 131 components/policy/core/common/cloud/component_cloud_policy_service.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner_; base 132 components/policy/core/common/cloud/component_cloud_policy_service.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 172 components/policy/core/common/cloud/component_cloud_policy_service.h base::WeakPtrFactory<ComponentCloudPolicyService> weak_ptr_factory_; base 19 components/policy/core/common/cloud/component_cloud_policy_service_stub.cc scoped_refptr<base::SequencedTaskRunner> backend_task_runner, base 20 components/policy/core/common/cloud/component_cloud_policy_service_stub.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner) base 90 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) base 95 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc virtual scoped_refptr<base::SingleThreadTaskRunner> base 103 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 138 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc base::Value::CreateStringValue("disabled"), NULL); base 140 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc base::Value::CreateStringValue("maybe"), NULL); base 150 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc base::RunLoop().RunUntilIdle(); base 229 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc base::MessageLoop loop_; base 230 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc base::ScopedTempDir temp_dir_; base 550 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc base::Value::CreateStringValue("published"), base 107 components/policy/core/common/cloud/component_cloud_policy_store.cc return it == cached_hashes_.end() ? base::EmptyString() : it->second; base 281 components/policy/core/common/cloud/component_cloud_policy_store.cc proto.Pass(), scoped_refptr<base::SequencedTaskRunner>())); base 326 components/policy/core/common/cloud/component_cloud_policy_store.cc scoped_ptr<base::Value> json(base::JSONReader::Read( base 327 components/policy/core/common/cloud/component_cloud_policy_store.cc data, base::JSON_PARSE_RFC | base::JSON_DETACHABLE_CHILDREN)); base 328 components/policy/core/common/cloud/component_cloud_policy_store.cc base::DictionaryValue* dict = NULL; base 337 components/policy/core/common/cloud/component_cloud_policy_store.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { base 338 components/policy/core/common/cloud/component_cloud_policy_store.cc base::DictionaryValue* description = NULL; base 342 components/policy/core/common/cloud/component_cloud_policy_store.cc scoped_ptr<base::Value> value; base 29 components/policy/core/common/cloud/component_cloud_policy_store.h class POLICY_EXPORT ComponentCloudPolicyStore : public base::NonThreadSafe { base 75 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc make_scoped_refptr(new base::TestSimpleTaskRunner))); base 89 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc base::Value::CreateStringValue("disabled"), NULL); base 91 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc base::Value::CreateStringValue("maybe"), NULL); base 109 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc base::ScopedTempDir temp_dir_; base 295 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc base::Bind(&NotEqual, kTestExtension)); base 311 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc store_->Purge(POLICY_DOMAIN_EXTENSIONS, base::Bind(&True)); base 35 components/policy/core/common/cloud/component_cloud_policy_updater.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 91 components/policy/core/common/cloud/component_cloud_policy_updater.cc base::Bind(&ComponentCloudPolicyStore::Store, base::Unretained(store_), base 104 components/policy/core/common/cloud/component_cloud_policy_updater.cc const std::string domain = base::IntToString(ns.domain); base 105 components/policy/core/common/cloud/component_cloud_policy_updater.cc const std::string size = base::IntToString(domain.size()); base 17 components/policy/core/common/cloud/component_cloud_policy_updater.h namespace base { base 41 components/policy/core/common/cloud/component_cloud_policy_updater.h scoped_refptr<base::SequencedTaskRunner> task_runner, base 74 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 75 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc base::ScopedTempDir temp_dir_; base 88 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc task_runner_ = new base::TestSimpleTaskRunner(); base 112 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc base::Value::CreateStringValue("disabled"), NULL); base 114 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc base::Value::CreateStringValue("maybe"), NULL); base 428 components/policy/core/common/cloud/device_management_service.cc base::MessageLoop::current()->PostDelayedTask( base 430 components/policy/core/common/cloud/device_management_service.cc base::Bind(&DeviceManagementService::Initialize, base 432 components/policy/core/common/cloud/device_management_service.cc base::TimeDelta::FromMilliseconds(delay_milliseconds)); base 47 components/policy/core/common/cloud/device_management_service.h typedef base::Callback< base 51 components/policy/core/common/cloud/device_management_service.h typedef base::Callback<void(DeviceManagementRequestJob*)> RetryCallback; base 185 components/policy/core/common/cloud/device_management_service.h base::WeakPtrFactory<DeviceManagementService> weak_ptr_factory_; base 61 components/policy/core/common/cloud/device_management_service_unittest.cc base::RunLoop().RunUntilIdle(); base 72 components/policy/core/common/cloud/device_management_service_unittest.cc base::RunLoop().RunUntilIdle(); base 87 components/policy/core/common/cloud/device_management_service_unittest.cc job->SetRetryCallback(base::Bind( base 88 components/policy/core/common/cloud/device_management_service_unittest.cc &DeviceManagementServiceTestBase::OnJobRetry, base::Unretained(this))); base 89 components/policy/core/common/cloud/device_management_service_unittest.cc job->Start(base::Bind(&DeviceManagementServiceTestBase::OnJobDone, base 90 components/policy/core/common/cloud/device_management_service_unittest.cc base::Unretained(this))); base 102 components/policy/core/common/cloud/device_management_service_unittest.cc job->SetRetryCallback(base::Bind( base 103 components/policy/core/common/cloud/device_management_service_unittest.cc &DeviceManagementServiceTestBase::OnJobRetry, base::Unretained(this))); base 104 components/policy/core/common/cloud/device_management_service_unittest.cc job->Start(base::Bind(&DeviceManagementServiceTestBase::OnJobDone, base 105 components/policy/core/common/cloud/device_management_service_unittest.cc base::Unretained(this))); base 116 components/policy/core/common/cloud/device_management_service_unittest.cc job->SetRetryCallback(base::Bind( base 117 components/policy/core/common/cloud/device_management_service_unittest.cc &DeviceManagementServiceTestBase::OnJobRetry, base::Unretained(this))); base 118 components/policy/core/common/cloud/device_management_service_unittest.cc job->Start(base::Bind(&DeviceManagementServiceTestBase::OnJobDone, base 119 components/policy/core/common/cloud/device_management_service_unittest.cc base::Unretained(this))); base 133 components/policy/core/common/cloud/device_management_service_unittest.cc job->SetRetryCallback(base::Bind( base 134 components/policy/core/common/cloud/device_management_service_unittest.cc &DeviceManagementServiceTestBase::OnJobRetry, base::Unretained(this))); base 135 components/policy/core/common/cloud/device_management_service_unittest.cc job->Start(base::Bind(&DeviceManagementServiceTestBase::OnJobDone, base 136 components/policy/core/common/cloud/device_management_service_unittest.cc base::Unretained(this))); base 149 components/policy/core/common/cloud/device_management_service_unittest.cc job->SetRetryCallback(base::Bind( base 150 components/policy/core/common/cloud/device_management_service_unittest.cc &DeviceManagementServiceTestBase::OnJobRetry, base::Unretained(this))); base 151 components/policy/core/common/cloud/device_management_service_unittest.cc job->Start(base::Bind(&DeviceManagementServiceTestBase::OnJobDone, base 152 components/policy/core/common/cloud/device_management_service_unittest.cc base::Unretained(this))); base 172 components/policy/core/common/cloud/device_management_service_unittest.cc base::MessageLoop loop_; base 332 components/policy/core/common/cloud/device_management_service_unittest.cc base::SplitStringIntoKeyValuePairs(query, '=', '&', ¶ms_); base 27 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 33 components/policy/core/common/cloud/external_policy_data_fetcher.cc base::Bind(callback, job, result, base::Passed(&data))); base 40 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 41 components/policy/core/common/cloud/external_policy_data_fetcher.cc const base::Closure& callback) { base 78 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 79 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 80 components/policy/core/common/cloud/external_policy_data_fetcher.cc const base::WeakPtr<ExternalPolicyDataFetcherBackend>& backend) base 100 components/policy/core/common/cloud/external_policy_data_fetcher.cc base::Bind(&ForwardJobFinished, base 102 components/policy/core/common/cloud/external_policy_data_fetcher.cc base::Bind(&ExternalPolicyDataFetcher::OnJobFinished, base 108 components/policy/core/common/cloud/external_policy_data_fetcher.cc base::Bind(&ExternalPolicyDataFetcherBackend::StartJob, backend_, job)); base 124 components/policy/core/common/cloud/external_policy_data_fetcher.cc base::Bind(&ExternalPolicyDataFetcherBackend::CancelJob, base 127 components/policy/core/common/cloud/external_policy_data_fetcher.cc base::Bind(&ForwardJobCanceled, base 129 components/policy/core/common/cloud/external_policy_data_fetcher.cc base::Bind(&DoNothing, base::Owned(job))))); base 150 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 165 components/policy/core/common/cloud/external_policy_data_fetcher.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 187 components/policy/core/common/cloud/external_policy_data_fetcher.cc const base::Closure& callback) { base 22 components/policy/core/common/cloud/external_policy_data_fetcher.h namespace base { base 69 components/policy/core/common/cloud/external_policy_data_fetcher.h typedef base::Callback<void(Result, scoped_ptr<std::string>)> FetchCallback; base 75 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_refptr<base::SequencedTaskRunner> task_runner, base 76 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 77 components/policy/core/common/cloud/external_policy_data_fetcher.h const base::WeakPtr<ExternalPolicyDataFetcherBackend>& backend); base 101 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 105 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 109 components/policy/core/common/cloud/external_policy_data_fetcher.h base::WeakPtr<ExternalPolicyDataFetcherBackend> backend_; base 115 components/policy/core/common/cloud/external_policy_data_fetcher.h base::WeakPtrFactory<ExternalPolicyDataFetcher> weak_factory_; base 133 components/policy/core/common/cloud/external_policy_data_fetcher.h typedef base::Callback<void(ExternalPolicyDataFetcher::Job*, base 140 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_refptr<base::SequencedTaskRunner> io_task_runner, base 147 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 156 components/policy/core/common/cloud/external_policy_data_fetcher.h const base::Closure& callback); base 165 components/policy/core/common/cloud/external_policy_data_fetcher.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 176 components/policy/core/common/cloud/external_policy_data_fetcher.h base::WeakPtrFactory<ExternalPolicyDataFetcherBackend> weak_factory_; base 52 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> owner_task_runner_; base 53 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> io_task_runner_; base 76 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc io_task_runner_ = new base::TestSimpleTaskRunner(); base 77 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc owner_task_runner_ = new base::TestSimpleTaskRunner(); base 89 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc base::Bind(&ExternalPolicyDataFetcherTest::OnJobFinished, base 90 components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc base::Unretained(this), index)); base 113 components/policy/core/common/cloud/external_policy_data_updater.cc : public base::SupportsWeakPtr<FetchJob> { base 214 components/policy/core/common/cloud/external_policy_data_updater.cc base::Bind(&ExternalPolicyDataUpdater::FetchJob::OnFetchFinished, base 215 components/policy/core/common/cloud/external_policy_data_updater.cc base::Unretained(this))); base 283 components/policy/core/common/cloud/external_policy_data_updater.cc base::Bind(&FetchJob::Reschedule, AsWeakPtr()), base 295 components/policy/core/common/cloud/external_policy_data_updater.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 19 components/policy/core/common/cloud/external_policy_data_updater.h namespace base { base 60 components/policy/core/common/cloud/external_policy_data_updater.h typedef base::Callback<bool(const std::string&)> FetchSuccessCallback; base 66 components/policy/core/common/cloud/external_policy_data_updater.h scoped_refptr<base::SequencedTaskRunner> task_runner, base 101 components/policy/core/common/cloud/external_policy_data_updater.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 112 components/policy/core/common/cloud/external_policy_data_updater.h std::queue<base::WeakPtr<FetchJob> > job_queue_; base 53 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc return base::Bind(&MockFetchSuccessCallbackListener::OnFetchSuccess, base 54 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc base::Unretained(this), base 72 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> backend_task_runner_; base 73 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> io_task_runner_; base 80 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc backend_task_runner_ = new base::TestSimpleTaskRunner(); base 81 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc io_task_runner_ = new base::TestSimpleTaskRunner(); base 325 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc base::TimeDelta expected_delay = base::TimeDelta::FromSeconds(60); base 326 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc const base::TimeDelta delay_cap = base::TimeDelta::FromHours(12); base 352 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc const base::TestPendingTask& task = base 355 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc base::TimeDelta::FromMilliseconds( base 52 components/policy/core/common/cloud/mock_device_management_service.cc return base::EmptyString(); base 10 components/policy/core/common/cloud/mock_user_cloud_policy_store.cc : UserCloudPolicyStore(base::FilePath(), base 11 components/policy/core/common/cloud/mock_user_cloud_policy_store.cc base::FilePath(), base 13 components/policy/core/common/cloud/mock_user_cloud_policy_store.cc scoped_refptr<base::SequencedTaskRunner>()) {} base 24 components/policy/core/common/cloud/policy_header_io_helper.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner) base 49 components/policy/core/common/cloud/policy_header_io_helper.cc base::Bind(&PolicyHeaderIOHelper::UpdateHeaderOnIOThread, base 50 components/policy/core/common/cloud/policy_header_io_helper.cc base::Unretained(this), new_header)); base 31 components/policy/core/common/cloud/policy_header_io_helper.h const scoped_refptr<base::SequencedTaskRunner>& task_runner); base 52 components/policy/core/common/cloud/policy_header_io_helper.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 21 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc task_runner_ = make_scoped_refptr(new base::TestSimpleTaskRunner()); base 43 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc base::MessageLoop loop_; base 46 components/policy/core/common/cloud/policy_header_io_helper_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 43 components/policy/core/common/cloud/policy_header_service.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 65 components/policy/core/common/cloud/policy_header_service.cc base::DictionaryValue value; base 77 components/policy/core/common/cloud/policy_header_service.cc base::JSONWriter::Write(&value, &json); base 82 components/policy/core/common/cloud/policy_header_service.cc base::Base64Encode(json, &encoded); base 16 components/policy/core/common/cloud/policy_header_service.h namespace base { base 44 components/policy/core/common/cloud/policy_header_service.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 36 components/policy/core/common/cloud/policy_header_service_unittest.cc task_runner_ = make_scoped_refptr(new base::TestSimpleTaskRunner()); base 66 components/policy/core/common/cloud/policy_header_service_unittest.cc base::Base64Decode(header, &decoded); base 68 components/policy/core/common/cloud/policy_header_service_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(decoded)); base 70 components/policy/core/common/cloud/policy_header_service_unittest.cc base::DictionaryValue* dict; base 82 components/policy/core/common/cloud/policy_header_service_unittest.cc base::MessageLoop loop_; base 87 components/policy/core/common/cloud/policy_header_service_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 17 components/policy/core/common/cloud/rate_limiter.cc const base::TimeDelta& duration, base 18 components/policy/core/common/cloud/rate_limiter.cc const base::Closure& callback, base 19 components/policy/core/common/cloud/rate_limiter.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 20 components/policy/core/common/cloud/rate_limiter.cc scoped_ptr<base::TickClock> clock) base 34 components/policy/core/common/cloud/rate_limiter.cc const base::TimeTicks now = clock_->NowTicks(); base 35 components/policy/core/common/cloud/rate_limiter.cc const base::TimeTicks period_start = now - duration_; base 49 components/policy/core/common/cloud/rate_limiter.cc const base::TimeDelta time_until_next_callback = base 52 components/policy/core/common/cloud/rate_limiter.cc base::Bind(&RateLimiter::PostRequest, base::Unretained(this))); base 19 components/policy/core/common/cloud/rate_limiter.h namespace base { base 27 components/policy/core/common/cloud/rate_limiter.h class POLICY_EXPORT RateLimiter : public base::NonThreadSafe { base 33 components/policy/core/common/cloud/rate_limiter.h const base::TimeDelta& duration, base 34 components/policy/core/common/cloud/rate_limiter.h const base::Closure& callback, base 35 components/policy/core/common/cloud/rate_limiter.h scoped_refptr<base::SequencedTaskRunner> task_runner, base 36 components/policy/core/common/cloud/rate_limiter.h scoped_ptr<base::TickClock> clock); base 47 components/policy/core/common/cloud/rate_limiter.h const base::TimeDelta duration_; base 48 components/policy/core/common/cloud/rate_limiter.h base::Closure callback_; base 49 components/policy/core/common/cloud/rate_limiter.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 50 components/policy/core/common/cloud/rate_limiter.h scoped_ptr<base::TickClock> clock_; base 52 components/policy/core/common/cloud/rate_limiter.h std::queue<base::TimeTicks> invocation_times_; base 53 components/policy/core/common/cloud/rate_limiter.h base::CancelableClosure delayed_callback_; base 19 components/policy/core/common/cloud/rate_limiter_unittest.cc : task_runner_(new base::TestSimpleTaskRunner()), base 20 components/policy/core/common/cloud/rate_limiter_unittest.cc clock_(new base::SimpleTestTickClock()), base 23 components/policy/core/common/cloud/rate_limiter_unittest.cc duration_(base::TimeDelta::FromHours(1)), base 24 components/policy/core/common/cloud/rate_limiter_unittest.cc small_delta_(base::TimeDelta::FromMinutes(1)), base 27 components/policy/core/common/cloud/rate_limiter_unittest.cc base::Bind(&RateLimiterTest::Callback, base::Unretained(this)), base 29 components/policy/core/common/cloud/rate_limiter_unittest.cc scoped_ptr<base::TickClock>(clock_).Pass()) {} base 37 components/policy/core/common/cloud/rate_limiter_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 38 components/policy/core/common/cloud/rate_limiter_unittest.cc base::SimpleTestTickClock* clock_; base 41 components/policy/core/common/cloud/rate_limiter_unittest.cc const base::TimeDelta duration_; base 42 components/policy/core/common/cloud/rate_limiter_unittest.cc const base::TimeDelta small_delta_; base 73 components/policy/core/common/cloud/rate_limiter_unittest.cc const base::TimeDelta delta = duration_ / 2; base 87 components/policy/core/common/cloud/rate_limiter_unittest.cc base::TimeDelta total_delta; base 26 components/policy/core/common/cloud/resource_cache.cc base::Base64Encode(value, encoded); base 27 components/policy/core/common/cloud/resource_cache.cc base::ReplaceChars(*encoded, "+", "-", encoded); base 28 components/policy/core/common/cloud/resource_cache.cc base::ReplaceChars(*encoded, "/", "_", encoded); base 53 components/policy/core/common/cloud/resource_cache.cc base::ReplaceChars(encoded, "-", "+", &buffer); base 54 components/policy/core/common/cloud/resource_cache.cc base::ReplaceChars(buffer, "_", "/", &buffer); base 55 components/policy/core/common/cloud/resource_cache.cc return base::Base64Decode(buffer, value) && !value->empty(); base 61 components/policy/core/common/cloud/resource_cache.cc const base::FilePath& cache_dir, base 62 components/policy/core/common/cloud/resource_cache.cc scoped_refptr<base::SequencedTaskRunner> task_runner) base 75 components/policy/core/common/cloud/resource_cache.cc base::FilePath subkey_path; base 85 components/policy/core/common/cloud/resource_cache.cc int size = base::checked_cast<int>(data.size()); base 87 components/policy/core/common/cloud/resource_cache.cc base::DeleteFile(subkey_path, false) && base 88 components/policy/core/common/cloud/resource_cache.cc (base::WriteFile(subkey_path, data.data(), size) == size); base 95 components/policy/core/common/cloud/resource_cache.cc base::FilePath subkey_path; base 98 components/policy/core/common/cloud/resource_cache.cc base::IsLink(subkey_path)) { base 102 components/policy/core/common/cloud/resource_cache.cc return base::ReadFileToString(subkey_path, data); base 110 components/policy/core/common/cloud/resource_cache.cc base::FilePath key_path; base 114 components/policy/core/common/cloud/resource_cache.cc base::FileEnumerator enumerator(key_path, false, base::FileEnumerator::FILES); base 115 components/policy/core/common/cloud/resource_cache.cc for (base::FilePath path = enumerator.Next(); !path.empty(); base 122 components/policy/core/common/cloud/resource_cache.cc if (!base::IsLink(path) && base 124 components/policy/core/common/cloud/resource_cache.cc base::ReadFileToString(path, &data)) { base 132 components/policy/core/common/cloud/resource_cache.cc base::FilePath subkey_path; base 134 components/policy/core/common/cloud/resource_cache.cc base::DeleteFile(subkey_path, false); base 138 components/policy/core/common/cloud/resource_cache.cc base::DeleteFile(subkey_path.DirName(), false); base 143 components/policy/core/common/cloud/resource_cache.cc base::FilePath key_path; base 145 components/policy/core/common/cloud/resource_cache.cc base::DeleteFile(key_path, true); base 152 components/policy/core/common/cloud/resource_cache.cc base::FilePath key_path; base 156 components/policy/core/common/cloud/resource_cache.cc base::FileEnumerator enumerator(key_path, false, base::FileEnumerator::FILES); base 157 components/policy/core/common/cloud/resource_cache.cc for (base::FilePath subkey_path = enumerator.Next(); base 164 components/policy/core/common/cloud/resource_cache.cc base::DeleteFile(subkey_path, true); base 171 components/policy/core/common/cloud/resource_cache.cc base::DeleteFile(key_path, false); base 180 components/policy/core/common/cloud/resource_cache.cc base::FileEnumerator enumerator( base 181 components/policy/core/common/cloud/resource_cache.cc cache_dir_, false, base::FileEnumerator::DIRECTORIES); base 182 components/policy/core/common/cloud/resource_cache.cc for (base::FilePath path = enumerator.Next(); !path.empty(); base 186 components/policy/core/common/cloud/resource_cache.cc base::DeleteFile(path, true); base 194 components/policy/core/common/cloud/resource_cache.cc base::FilePath key_path; base 202 components/policy/core/common/cloud/resource_cache.cc base::FileEnumerator enumerator(key_path, false, base::FileEnumerator::FILES); base 203 components/policy/core/common/cloud/resource_cache.cc for (base::FilePath path = enumerator.Next(); !path.empty(); base 207 components/policy/core/common/cloud/resource_cache.cc base::DeleteFile(path, false); base 212 components/policy/core/common/cloud/resource_cache.cc base::DeleteFile(key_path, false); base 217 components/policy/core/common/cloud/resource_cache.cc base::FilePath* path) { base 222 components/policy/core/common/cloud/resource_cache.cc return allow_create ? base::CreateDirectory(*path) : base 223 components/policy/core/common/cloud/resource_cache.cc base::DirectoryExists(*path); base 229 components/policy/core/common/cloud/resource_cache.cc base::FilePath* path) { base 230 components/policy/core/common/cloud/resource_cache.cc base::FilePath key_path; base 18 components/policy/core/common/cloud/resource_cache.h namespace base { base 32 components/policy/core/common/cloud/resource_cache.h explicit ResourceCache(const base::FilePath& cache_path, base 33 components/policy/core/common/cloud/resource_cache.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 60 components/policy/core/common/cloud/resource_cache.h typedef base::Callback<bool(const std::string&)> SubkeyFilter; base 76 components/policy/core/common/cloud/resource_cache.h base::FilePath* path); base 85 components/policy/core/common/cloud/resource_cache.h base::FilePath* subkey_path); base 87 components/policy/core/common/cloud/resource_cache.h base::FilePath cache_dir_; base 90 components/policy/core/common/cloud/resource_cache.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 37 components/policy/core/common/cloud/resource_cache_unittest.cc base::ScopedTempDir temp_dir; base 40 components/policy/core/common/cloud/resource_cache_unittest.cc make_scoped_refptr(new base::TestSimpleTaskRunner)); base 119 components/policy/core/common/cloud/resource_cache_unittest.cc base::ScopedTempDir temp_dir; base 122 components/policy/core/common/cloud/resource_cache_unittest.cc make_scoped_refptr(new base::TestSimpleTaskRunner)); base 142 components/policy/core/common/cloud/resource_cache_unittest.cc cache.FilterSubkeys(kKey1, base::Bind(&Matches, kSubA)); base 67 components/policy/core/common/cloud/system_policy_request_context.cc scoped_refptr<base::SingleThreadTaskRunner> base 28 components/policy/core/common/cloud/system_policy_request_context.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 24 components/policy/core/common/cloud/user_cloud_policy_manager.cc const base::FilePath& component_policy_cache_path, base 26 components/policy/core/common/cloud/user_cloud_policy_manager.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 27 components/policy/core/common/cloud/user_cloud_policy_manager.cc const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 28 components/policy/core/common/cloud/user_cloud_policy_manager.cc const scoped_refptr<base::SequencedTaskRunner>& io_task_runner) base 20 components/policy/core/common/cloud/user_cloud_policy_manager.h namespace base { base 44 components/policy/core/common/cloud/user_cloud_policy_manager.h const base::FilePath& component_policy_cache_path, base 46 components/policy/core/common/cloud/user_cloud_policy_manager.h const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 47 components/policy/core/common/cloud/user_cloud_policy_manager.h const scoped_refptr<base::SequencedTaskRunner>& file_task_runner, base 48 components/policy/core/common/cloud/user_cloud_policy_manager.h const scoped_refptr<base::SequencedTaskRunner>& io_task_runner); base 88 components/policy/core/common/cloud/user_cloud_policy_manager.h base::FilePath component_policy_cache_path_; base 37 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc base::Value::CreateStringValue("value"), NULL); base 54 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc base::FilePath(), base 65 components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc base::MessageLoop loop_; base 44 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath::CharType kPolicyDir[] = FILE_PATH_LITERAL("Policy"); base 46 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath::CharType kPolicyCacheFile[] = base 50 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath::CharType kKeyCacheFile[] = base 63 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath& policy_path, base 64 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath& key_path) { base 69 components/policy/core/common/cloud/user_cloud_policy_store.cc if (!base::PathExists(policy_path)) { base 75 components/policy/core/common/cloud/user_cloud_policy_store.cc if (!base::ReadFileToString(policy_path, &data, kPolicySizeLimit) || base 83 components/policy/core/common/cloud/user_cloud_policy_store.cc if (!base::ReadFileToString(key_path, &data, kKeySizeLimit) || base 103 components/policy/core/common/cloud/user_cloud_policy_store.cc bool WriteStringToFile(const base::FilePath path, const std::string& data) { base 104 components/policy/core/common/cloud/user_cloud_policy_store.cc if (!base::CreateDirectory(path.DirName())) { base 110 components/policy/core/common/cloud/user_cloud_policy_store.cc if (base::WriteFile(path, data.c_str(), size) != size) { base 121 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath& policy_path, base 122 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath& key_path, base 155 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath& policy_path, base 156 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath& key_path, base 158 components/policy/core/common/cloud/user_cloud_policy_store.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 169 components/policy/core/common/cloud/user_cloud_policy_store.cc const base::FilePath& profile_path, base 171 components/policy/core/common/cloud/user_cloud_policy_store.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) { base 172 components/policy/core/common/cloud/user_cloud_policy_store.cc base::FilePath policy_path = base 174 components/policy/core/common/cloud/user_cloud_policy_store.cc base::FilePath key_path = base 197 components/policy/core/common/cloud/user_cloud_policy_store.cc base::Bind(base::IgnoreResult(&base::DeleteFile), policy_path_, false)); base 200 components/policy/core/common/cloud/user_cloud_policy_store.cc base::Bind(base::IgnoreResult(&base::DeleteFile), key_path_, false)); base 214 components/policy/core/common/cloud/user_cloud_policy_store.cc base::PostTaskAndReplyWithResult( base 217 components/policy/core/common/cloud/user_cloud_policy_store.cc base::Bind(&LoadPolicyFromDisk, policy_path_, key_path_), base 218 components/policy/core/common/cloud/user_cloud_policy_store.cc base::Bind(&UserCloudPolicyStore::PolicyLoaded, base 260 components/policy/core/common/cloud/user_cloud_policy_store.cc base::Bind( base 314 components/policy/core/common/cloud/user_cloud_policy_store.cc base::Bind(&UserCloudPolicyStore::StorePolicyAfterValidation, base 431 components/policy/core/common/cloud/user_cloud_policy_store.cc base::Bind(&StorePolicyToDiskOnBackgroundThread, base 18 components/policy/core/common/cloud/user_cloud_policy_store.h namespace base { base 32 components/policy/core/common/cloud/user_cloud_policy_store.h const base::FilePath& policy_file, base 33 components/policy/core/common/cloud/user_cloud_policy_store.h const base::FilePath& key_file, base 35 components/policy/core/common/cloud/user_cloud_policy_store.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 41 components/policy/core/common/cloud/user_cloud_policy_store.h const base::FilePath& profile_path, base 43 components/policy/core/common/cloud/user_cloud_policy_store.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 95 components/policy/core/common/cloud/user_cloud_policy_store.h base::WeakPtrFactory<UserCloudPolicyStore> weak_factory_; base 101 components/policy/core/common/cloud/user_cloud_policy_store.h base::FilePath policy_path_; base 104 components/policy/core/common/cloud/user_cloud_policy_store.h base::FilePath key_path_; base 17 components/policy/core/common/cloud/user_cloud_policy_store_base.cc base::WeakPtr<CloudExternalDataManager> external_data_manager, base 21 components/policy/core/common/cloud/user_cloud_policy_store_base.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner) base 18 components/policy/core/common/cloud/user_cloud_policy_store_base.h namespace base { base 29 components/policy/core/common/cloud/user_cloud_policy_store_base.h scoped_refptr<base::SequencedTaskRunner> background_task_runner); base 44 components/policy/core/common/cloud/user_cloud_policy_store_base.h scoped_refptr<base::SequencedTaskRunner> background_task_runner() const { base 50 components/policy/core/common/cloud/user_cloud_policy_store_base.h scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 33 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc base::RunLoop run_loop; base 37 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc bool WriteStringToFile(const base::FilePath path, const std::string& data) { base 38 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc if (!base::CreateDirectory(path.DirName())) { base 44 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc if (base::WriteFile(path, data.c_str(), size) != size) { base 93 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc base::FilePath policy_file() { base 97 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc base::FilePath key_file() { base 107 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(base::FundamentalValue(true).Equals(entry->value)); base 139 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc base::MessageLoopForUI loop_; base 141 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc base::ScopedTempDir tmp_dir_; base 165 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(base::CreateDirectory(policy_file().DirName())); base 168 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_EQ(size, base::WriteFile(policy_file(), base 197 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(base::CreateDirectory(policy_file().DirName())); base 200 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_EQ(size, base::WriteFile(policy_file(), base 222 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(base::CreateDirectory(policy_file().DirName())); base 224 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_EQ(size, base::WriteFile(policy_file(), data.c_str(), size)); base 240 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(base::PathExists(key_file())); base 247 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(base::PathExists(key_file())); base 275 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(base::PathExists(policy_file())); base 284 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(!base::PathExists(policy_file())); base 494 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(base::ReadFileToString(key_file(), &key_data)); base 523 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(base::ReadFileToString(key_file(), &key_data)); base 25 components/policy/core/common/cloud/user_info_fetcher.cc return base::StringPrintf(kAuthorizationHeaderFormat, auth_token.c_str()); base 78 components/policy/core/common/cloud/user_info_fetcher.cc scoped_ptr<base::Value> parsed_value(base::JSONReader::Read(unparsed_data)); base 79 components/policy/core/common/cloud/user_info_fetcher.cc base::DictionaryValue* dict; base 15 components/policy/core/common/cloud/user_info_fetcher.h namespace base { base 36 components/policy/core/common/cloud/user_info_fetcher.h const base::DictionaryValue* response) = 0; base 32 components/policy/core/common/cloud/user_info_fetcher_unittest.cc MOCK_METHOD1(OnGetUserInfoSuccess, void(const base::DictionaryValue* result)); base 65 components/policy/core/common/cloud/user_info_fetcher_unittest.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 57 components/policy/core/common/cloud/user_policy_request_context.cc scoped_refptr<base::SingleThreadTaskRunner> base 29 components/policy/core/common/cloud/user_policy_request_context.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 28 components/policy/core/common/config_dir_policy_loader.cc const base::FilePath::CharType kMandatoryConfigDir[] = base 30 components/policy/core/common/config_dir_policy_loader.cc const base::FilePath::CharType kRecommendedConfigDir[] = base 41 components/policy/core/common/config_dir_policy_loader.cc case base::JSONReader::JSON_INVALID_ESCAPE: base 42 components/policy/core/common/config_dir_policy_loader.cc case base::JSONReader::JSON_SYNTAX_ERROR: base 43 components/policy/core/common/config_dir_policy_loader.cc case base::JSONReader::JSON_UNEXPECTED_TOKEN: base 44 components/policy/core/common/config_dir_policy_loader.cc case base::JSONReader::JSON_TRAILING_COMMA: base 45 components/policy/core/common/config_dir_policy_loader.cc case base::JSONReader::JSON_TOO_MUCH_NESTING: base 46 components/policy/core/common/config_dir_policy_loader.cc case base::JSONReader::JSON_UNEXPECTED_DATA_AFTER_ROOT: base 47 components/policy/core/common/config_dir_policy_loader.cc case base::JSONReader::JSON_UNSUPPORTED_ENCODING: base 48 components/policy/core/common/config_dir_policy_loader.cc case base::JSONReader::JSON_UNQUOTED_DICTIONARY_KEY: base 50 components/policy/core/common/config_dir_policy_loader.cc case base::JSONReader::JSON_NO_ERROR: base 61 components/policy/core/common/config_dir_policy_loader.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 62 components/policy/core/common/config_dir_policy_loader.cc const base::FilePath& config_dir, base 69 components/policy/core/common/config_dir_policy_loader.cc base::FilePathWatcher::Callback callback = base 70 components/policy/core/common/config_dir_policy_loader.cc base::Bind(&ConfigDirPolicyLoader::OnFileUpdated, base::Unretained(this)); base 88 components/policy/core/common/config_dir_policy_loader.cc base::Time ConfigDirPolicyLoader::LastModificationTime() { base 89 components/policy/core/common/config_dir_policy_loader.cc static const base::FilePath::CharType* kConfigDirSuffixes[] = { base 94 components/policy/core/common/config_dir_policy_loader.cc base::Time last_modification = base::Time(); base 95 components/policy/core/common/config_dir_policy_loader.cc base::File::Info info; base 98 components/policy/core/common/config_dir_policy_loader.cc base::FilePath path(config_dir_.Append(kConfigDirSuffixes[i])); base 101 components/policy/core/common/config_dir_policy_loader.cc if (!base::GetFileInfo(path, &info) || !info.is_directory) base 105 components/policy/core/common/config_dir_policy_loader.cc base::FileEnumerator file_enumerator(path, false, base 106 components/policy/core/common/config_dir_policy_loader.cc base::FileEnumerator::FILES); base 107 components/policy/core/common/config_dir_policy_loader.cc for (base::FilePath config_file = file_enumerator.Next(); base 110 components/policy/core/common/config_dir_policy_loader.cc if (base::GetFileInfo(config_file, &info) && !info.is_directory) base 118 components/policy/core/common/config_dir_policy_loader.cc void ConfigDirPolicyLoader::LoadFromPath(const base::FilePath& path, base 122 components/policy/core/common/config_dir_policy_loader.cc std::set<base::FilePath> files; base 123 components/policy/core/common/config_dir_policy_loader.cc base::FileEnumerator file_enumerator(path, false, base 124 components/policy/core/common/config_dir_policy_loader.cc base::FileEnumerator::FILES); base 125 components/policy/core/common/config_dir_policy_loader.cc for (base::FilePath config_file_path = file_enumerator.Next(); base 139 components/policy/core/common/config_dir_policy_loader.cc for (std::set<base::FilePath>::reverse_iterator config_file_iter = base 146 components/policy/core/common/config_dir_policy_loader.cc scoped_ptr<base::Value> value( base 154 components/policy/core/common/config_dir_policy_loader.cc base::DictionaryValue* dictionary_value = NULL; base 163 components/policy/core/common/config_dir_policy_loader.cc scoped_ptr<base::Value> third_party; base 176 components/policy/core/common/config_dir_policy_loader.cc const base::Value* policies, base 183 components/policy/core/common/config_dir_policy_loader.cc const base::DictionaryValue* domains_dictionary; base 193 components/policy/core/common/config_dir_policy_loader.cc for (base::DictionaryValue::Iterator domains_it(*domains_dictionary); base 201 components/policy/core/common/config_dir_policy_loader.cc const base::DictionaryValue* components_dictionary; base 209 components/policy/core/common/config_dir_policy_loader.cc for (base::DictionaryValue::Iterator components_it(*components_dictionary); base 211 components/policy/core/common/config_dir_policy_loader.cc const base::DictionaryValue* policy_dictionary; base 226 components/policy/core/common/config_dir_policy_loader.cc void ConfigDirPolicyLoader::OnFileUpdated(const base::FilePath& path, base 14 components/policy/core/common/config_dir_policy_loader.h namespace base { base 27 components/policy/core/common/config_dir_policy_loader.h ConfigDirPolicyLoader(scoped_refptr<base::SequencedTaskRunner> task_runner, base 28 components/policy/core/common/config_dir_policy_loader.h const base::FilePath& config_dir, base 35 components/policy/core/common/config_dir_policy_loader.h virtual base::Time LastModificationTime() OVERRIDE; base 39 components/policy/core/common/config_dir_policy_loader.h void LoadFromPath(const base::FilePath& path, base 44 components/policy/core/common/config_dir_policy_loader.h void Merge3rdPartyPolicy(const base::Value* policies, base 49 components/policy/core/common/config_dir_policy_loader.h void OnFileUpdated(const base::FilePath& path, bool error); base 52 components/policy/core/common/config_dir_policy_loader.h base::FilePath config_dir_; base 59 components/policy/core/common/config_dir_policy_loader.h base::FilePathWatcher mandatory_watcher_; base 60 components/policy/core/common/config_dir_policy_loader.h base::FilePathWatcher recommended_watcher_; base 26 components/policy/core/common/config_dir_policy_loader_unittest.cc const base::FilePath::CharType kMandatoryPath[] = FILE_PATH_LITERAL("managed"); base 37 components/policy/core/common/config_dir_policy_loader_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) OVERRIDE; base 48 components/policy/core/common/config_dir_policy_loader_unittest.cc const base::ListValue* policy_value) OVERRIDE; base 51 components/policy/core/common/config_dir_policy_loader_unittest.cc const base::DictionaryValue* policy_value) OVERRIDE; base 53 components/policy/core/common/config_dir_policy_loader_unittest.cc const base::DictionaryValue* policies) OVERRIDE; base 55 components/policy/core/common/config_dir_policy_loader_unittest.cc const base::FilePath& test_dir() { return test_dir_.path(); } base 58 components/policy/core/common/config_dir_policy_loader_unittest.cc void WriteConfigFile(const base::DictionaryValue& dict, base 68 components/policy/core/common/config_dir_policy_loader_unittest.cc base::ScopedTempDir test_dir_; base 86 components/policy/core/common/config_dir_policy_loader_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 93 components/policy/core/common/config_dir_policy_loader_unittest.cc base::DictionaryValue dict; base 99 components/policy/core/common/config_dir_policy_loader_unittest.cc base::DictionaryValue dict; base 106 components/policy/core/common/config_dir_policy_loader_unittest.cc base::DictionaryValue dict; base 113 components/policy/core/common/config_dir_policy_loader_unittest.cc base::DictionaryValue dict; base 119 components/policy/core/common/config_dir_policy_loader_unittest.cc const base::ListValue* policy_value) { base 120 components/policy/core/common/config_dir_policy_loader_unittest.cc base::DictionaryValue dict; base 127 components/policy/core/common/config_dir_policy_loader_unittest.cc const base::DictionaryValue* policy_value) { base 128 components/policy/core/common/config_dir_policy_loader_unittest.cc base::DictionaryValue dict; base 133 components/policy/core/common/config_dir_policy_loader_unittest.cc void TestHarness::Install3rdPartyPolicy(const base::DictionaryValue* policies) { base 134 components/policy/core/common/config_dir_policy_loader_unittest.cc base::DictionaryValue dict; base 139 components/policy/core/common/config_dir_policy_loader_unittest.cc void TestHarness::WriteConfigFile(const base::DictionaryValue& dict, base 144 components/policy/core/common/config_dir_policy_loader_unittest.cc const base::FilePath mandatory_dir(test_dir().Append(kMandatoryPath)); base 145 components/policy/core/common/config_dir_policy_loader_unittest.cc ASSERT_TRUE(base::CreateDirectory(mandatory_dir)); base 146 components/policy/core/common/config_dir_policy_loader_unittest.cc const base::FilePath file_path(mandatory_dir.AppendASCII(file_name)); base 148 components/policy/core/common/config_dir_policy_loader_unittest.cc base::WriteFile(file_path, data.c_str(), data.size())); base 153 components/policy/core/common/config_dir_policy_loader_unittest.cc return std::string("policy") + base::IntToString(next_policy_file_index_++); base 200 components/policy/core/common/config_dir_policy_loader_unittest.cc base::FilePath non_existent_dir( base 216 components/policy/core/common/config_dir_policy_loader_unittest.cc base::DictionaryValue test_dict_bar; base 219 components/policy/core/common/config_dir_policy_loader_unittest.cc harness_.WriteConfigFile(test_dict_bar, base::IntToString(i)); base 220 components/policy/core/common/config_dir_policy_loader_unittest.cc base::DictionaryValue test_dict_foo; base 224 components/policy/core/common/config_dir_policy_loader_unittest.cc harness_.WriteConfigFile(test_dict_bar, base::IntToString(i)); base 164 components/policy/core/common/configuration_policy_provider_test.cc const base::DictionaryValue* policies) { base 217 components/policy/core/common/configuration_policy_provider_test.cc const base::Value& expected_value, base 218 components/policy/core/common/configuration_policy_provider_test.cc base::Closure install_value) { base 244 components/policy/core/common/configuration_policy_provider_test.cc base::StringValue expected_value(kTestString); base 247 components/policy/core/common/configuration_policy_provider_test.cc base::Bind(&PolicyProviderTestHarness::InstallStringPolicy, base 248 components/policy/core/common/configuration_policy_provider_test.cc base::Unretained(test_harness_.get()), base 254 components/policy/core/common/configuration_policy_provider_test.cc base::FundamentalValue expected_value(true); base 257 components/policy/core/common/configuration_policy_provider_test.cc base::Bind(&PolicyProviderTestHarness::InstallBooleanPolicy, base 258 components/policy/core/common/configuration_policy_provider_test.cc base::Unretained(test_harness_.get()), base 264 components/policy/core/common/configuration_policy_provider_test.cc base::FundamentalValue expected_value(42); base 267 components/policy/core/common/configuration_policy_provider_test.cc base::Bind(&PolicyProviderTestHarness::InstallIntegerPolicy, base 268 components/policy/core/common/configuration_policy_provider_test.cc base::Unretained(test_harness_.get()), base 274 components/policy/core/common/configuration_policy_provider_test.cc base::ListValue expected_value; base 275 components/policy/core/common/configuration_policy_provider_test.cc expected_value.Set(0U, base::Value::CreateStringValue("first")); base 276 components/policy/core/common/configuration_policy_provider_test.cc expected_value.Set(1U, base::Value::CreateStringValue("second")); base 279 components/policy/core/common/configuration_policy_provider_test.cc base::Bind(&PolicyProviderTestHarness::InstallStringListPolicy, base 280 components/policy/core/common/configuration_policy_provider_test.cc base::Unretained(test_harness_.get()), base 286 components/policy/core/common/configuration_policy_provider_test.cc base::DictionaryValue expected_value; base 292 components/policy/core/common/configuration_policy_provider_test.cc base::ListValue* list = new base::ListValue(); base 293 components/policy/core/common/configuration_policy_provider_test.cc list->Set(0U, base::Value::CreateStringValue("first")); base 294 components/policy/core/common/configuration_policy_provider_test.cc list->Set(1U, base::Value::CreateStringValue("second")); base 297 components/policy/core/common/configuration_policy_provider_test.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 299 components/policy/core/common/configuration_policy_provider_test.cc list = new base::ListValue(); base 300 components/policy/core/common/configuration_policy_provider_test.cc base::DictionaryValue* sub = new base::DictionaryValue(); base 304 components/policy/core/common/configuration_policy_provider_test.cc sub = new base::DictionaryValue(); base 313 components/policy/core/common/configuration_policy_provider_test.cc base::Bind(&PolicyProviderTestHarness::InstallDictionaryPolicy, base 314 components/policy/core/common/configuration_policy_provider_test.cc base::Unretained(test_harness_.get()), base 344 components/policy/core/common/configuration_policy_provider_test.cc base::Value::CreateStringValue("value"), base 357 components/policy/core/common/configuration_policy_provider_test.cc base::DictionaryValue policy_dict; base 363 components/policy/core/common/configuration_policy_provider_test.cc base::ListValue* list = new base::ListValue(); base 365 components/policy/core/common/configuration_policy_provider_test.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 377 components/policy/core/common/configuration_policy_provider_test.cc base::DictionaryValue policy_3rdparty; base 386 components/policy/core/common/configuration_policy_provider_test.cc base::Value::CreateStringValue("invalid-value")); base 20 components/policy/core/common/configuration_policy_provider_test.h namespace base { base 57 components/policy/core/common/configuration_policy_provider_test.h base::MessageLoopForIO loop_; base 79 components/policy/core/common/configuration_policy_provider_test.h scoped_refptr<base::SequencedTaskRunner> task_runner) = 0; base 94 components/policy/core/common/configuration_policy_provider_test.h const base::ListValue* policy_value) = 0; base 97 components/policy/core/common/configuration_policy_provider_test.h const base::DictionaryValue* policy_value) = 0; base 101 components/policy/core/common/configuration_policy_provider_test.h virtual void Install3rdPartyPolicy(const base::DictionaryValue* policies); base 129 components/policy/core/common/configuration_policy_provider_test.h const base::Value& expected_value, base 130 components/policy/core/common/configuration_policy_provider_test.h base::Closure install_value); base 13 components/policy/core/common/external_data_fetcher.cc base::WeakPtr<ExternalDataManager> manager, base 23 components/policy/core/common/external_data_fetcher.h typedef base::Callback<void(scoped_ptr<std::string>)> FetchCallback; base 27 components/policy/core/common/external_data_fetcher.h ExternalDataFetcher(base::WeakPtr<ExternalDataManager> manager, base 47 components/policy/core/common/external_data_fetcher.h base::WeakPtr<ExternalDataManager> manager_; base 63 components/policy/core/common/forwarding_policy_provider_unittest.cc base::Value::CreateStringValue("value"), NULL); base 70 components/policy/core/common/forwarding_policy_provider_unittest.cc base::Value::CreateStringValue("not forwarded"), NULL); base 98 components/policy/core/common/forwarding_policy_provider_unittest.cc base::Value::CreateStringValue("omg"), NULL); base 144 components/policy/core/common/forwarding_policy_provider_unittest.cc base::Value::CreateStringValue("omg"), NULL); base 184 components/policy/core/common/forwarding_policy_provider_unittest.cc base::Value::CreateStringValue("omg"), NULL); base 23 components/policy/core/common/generate_policy_source_unittest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 33 components/policy/core/common/generate_policy_source_unittest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, subschema.type()); base 37 components/policy/core/common/generate_policy_source_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, subschema.type()); base 41 components/policy/core/common/generate_policy_source_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, subschema.type()); base 45 components/policy/core/common/generate_policy_source_unittest.cc EXPECT_EQ(base::Value::TYPE_LIST, subschema.type()); base 47 components/policy/core/common/generate_policy_source_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, subschema.GetItems().type()); base 51 components/policy/core/common/generate_policy_source_unittest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, subschema.type()); base 83 components/policy/core/common/generate_policy_source_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, it.schema().type()); base 13 components/policy/core/common/mac_util.cc using base::mac::CFCast; base 24 components/policy/core/common/mac_util.cc scoped_ptr<base::Value> converted = base 27 components/policy/core/common/mac_util.cc const std::string string = base::SysCFStringRefToUTF8(cf_key); base 28 components/policy/core/common/mac_util.cc static_cast<base::DictionaryValue*>(context)->Set( base 38 components/policy/core/common/mac_util.cc scoped_ptr<base::Value> converted = base 41 components/policy/core/common/mac_util.cc static_cast<base::ListValue *>(context)->Append(converted.release()); base 46 components/policy/core/common/mac_util.cc scoped_ptr<base::Value> PropertyToValue(CFPropertyListRef property) { base 48 components/policy/core/common/mac_util.cc return scoped_ptr<base::Value>(base::Value::CreateNullValue()); base 51 components/policy/core/common/mac_util.cc return scoped_ptr<base::Value>( base 52 components/policy/core/common/mac_util.cc base::Value::CreateBooleanValue(CFBooleanGetValue(boolean))); base 61 components/policy/core/common/mac_util.cc return scoped_ptr<base::Value>( base 62 components/policy/core/common/mac_util.cc base::Value::CreateDoubleValue(double_value)); base 67 components/policy/core/common/mac_util.cc return scoped_ptr<base::Value>( base 68 components/policy/core/common/mac_util.cc base::Value::CreateIntegerValue(int_value)); base 74 components/policy/core/common/mac_util.cc return scoped_ptr<base::Value>( base 75 components/policy/core/common/mac_util.cc base::Value::CreateStringValue(base::SysCFStringRefToUTF8(string))); base 79 components/policy/core/common/mac_util.cc scoped_ptr<base::DictionaryValue> dict_value(new base::DictionaryValue()); base 81 components/policy/core/common/mac_util.cc return dict_value.PassAs<base::Value>(); base 85 components/policy/core/common/mac_util.cc scoped_ptr<base::ListValue> list_value(new base::ListValue()); base 90 components/policy/core/common/mac_util.cc return list_value.PassAs<base::Value>(); base 93 components/policy/core/common/mac_util.cc return scoped_ptr<base::Value>(); base 15 components/policy/core/common/mac_util.h namespace base { base 27 components/policy/core/common/mac_util.h POLICY_EXPORT scoped_ptr<base::Value> PropertyToValue( base 17 components/policy/core/common/mac_util_unittest.cc base::DictionaryValue root; base 20 components/policy/core/common/mac_util_unittest.cc root.Set("null", base::Value::CreateNullValue()); base 39 components/policy/core/common/mac_util_unittest.cc base::ListValue list; base 41 components/policy/core/common/mac_util_unittest.cc for (base::DictionaryValue::Iterator it(root); !it.IsAtEnd(); it.Advance()) base 48 components/policy/core/common/mac_util_unittest.cc base::DictionaryValue dict; base 53 components/policy/core/common/mac_util_unittest.cc base::ScopedCFTypeRef<CFPropertyListRef> property(ValueToProperty(&root)); base 55 components/policy/core/common/mac_util_unittest.cc scoped_ptr<base::Value> value = PropertyToValue(property); base 28 components/policy/core/common/mock_configuration_policy_provider.cc if (base::MessageLoop::current()) base 29 components/policy/core/common/mock_configuration_policy_provider.cc base::RunLoop().RunUntilIdle(); base 34 components/policy/core/common/mock_policy_service.h MOCK_METHOD1(RefreshPolicies, void(const base::Closure&)); base 31 components/policy/core/common/policy_bundle_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(123), NULL); base 33 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateStringValue("omg"), NULL); base 35 components/policy/core/common/policy_bundle_unittest.cc POLICY_SCOPE_USER, base::Value::CreateBooleanValue(true), NULL); base 36 components/policy/core/common/policy_bundle_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 54 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(value), NULL); base 56 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(value), NULL); base 58 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(value), NULL); base 186 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(0), NULL); base 188 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(1), NULL); base 190 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(0), NULL); base 192 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(1), NULL); base 194 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(2), NULL); base 236 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(123), base 245 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(123), base 256 components/policy/core/common/policy_bundle_unittest.cc base::Value::CreateIntegerValue(123), NULL); base 38 components/policy/core/common/policy_details.h typedef base::Callback<const PolicyDetails*(const std::string&)> base 20 components/policy/core/common/policy_load_status.cc : histogram_(base::LinearHistogram::FactoryGet( base 23 components/policy/core/common/policy_load_status.cc base::Histogram::kUmaTargetedHistogramFlag)) { base 13 components/policy/core/common/policy_load_status.h namespace base { base 60 components/policy/core/common/policy_load_status.h base::HistogramBase* histogram_; base 22 components/policy/core/common/policy_loader_ios.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 28 components/policy/core/common/policy_loader_ios.h virtual base::Time LastModificationTime() OVERRIDE; base 38 components/policy/core/common/policy_loader_ios.h base::scoped_nsobject<id> notification_observer_; base 42 components/policy/core/common/policy_loader_ios.h base::Time last_notification_time_; base 46 components/policy/core/common/policy_loader_ios.h base::WeakPtrFactory<PolicyLoaderIOS> weak_factory_; base 27 components/policy/core/common/policy_loader_mac.cc using base::ScopedCFTypeRef; base 32 components/policy/core/common/policy_loader_mac.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 33 components/policy/core/common/policy_loader_mac.cc const base::FilePath& managed_policy_path, base 45 components/policy/core/common/policy_loader_mac.cc base::Bind(&PolicyLoaderMac::OnFileUpdated, base::Unretained(this))); base 63 components/policy/core/common/policy_loader_mac.cc base::ScopedCFTypeRef<CFStringRef> name( base 64 components/policy/core/common/policy_loader_mac.cc base::SysUTF8ToCFStringRef(it.key())); base 65 components/policy/core/common/policy_loader_mac.cc base::ScopedCFTypeRef<CFPropertyListRef> value( base 75 components/policy/core/common/policy_loader_mac.cc scoped_ptr<base::Value> policy = PropertyToValue(value); base 93 components/policy/core/common/policy_loader_mac.cc base::Time PolicyLoaderMac::LastModificationTime() { base 94 components/policy/core/common/policy_loader_mac.cc base::File::Info file_info; base 95 components/policy/core/common/policy_loader_mac.cc if (!base::GetFileInfo(managed_policy_path_, &file_info) || base 97 components/policy/core/common/policy_loader_mac.cc return base::Time(); base 107 components/policy/core/common/policy_loader_mac.cc std::string id_prefix(base::mac::BaseBundleID()); base 133 components/policy/core/common/policy_loader_mac.cc base::ScopedCFTypeRef<CFStringRef> bundle_id( base 134 components/policy/core/common/policy_loader_mac.cc base::SysUTF8ToCFStringRef(bundle_id_string)); base 139 components/policy/core/common/policy_loader_mac.cc base::ScopedCFTypeRef<CFStringRef> pref_name( base 140 components/policy/core/common/policy_loader_mac.cc base::SysUTF8ToCFStringRef(it.key())); base 141 components/policy/core/common/policy_loader_mac.cc base::ScopedCFTypeRef<CFPropertyListRef> value( base 149 components/policy/core/common/policy_loader_mac.cc scoped_ptr<base::Value> policy_value = PropertyToValue(value); base 157 components/policy/core/common/policy_loader_mac.cc void PolicyLoaderMac::OnFileUpdated(const base::FilePath& path, bool error) { base 19 components/policy/core/common/policy_loader_mac.h namespace base { base 33 components/policy/core/common/policy_loader_mac.h PolicyLoaderMac(scoped_refptr<base::SequencedTaskRunner> task_runner, base 34 components/policy/core/common/policy_loader_mac.h const base::FilePath& managed_policy_path, base 41 components/policy/core/common/policy_loader_mac.h virtual base::Time LastModificationTime() OVERRIDE; base 45 components/policy/core/common/policy_loader_mac.h void OnFileUpdated(const base::FilePath& path, bool error); base 64 components/policy/core/common/policy_loader_mac.h base::FilePath managed_policy_path_; base 67 components/policy/core/common/policy_loader_mac.h base::FilePathWatcher watcher_; base 23 components/policy/core/common/policy_loader_mac_unittest.cc using base::ScopedCFTypeRef; base 38 components/policy/core/common/policy_loader_mac_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) OVERRIDE; base 49 components/policy/core/common/policy_loader_mac_unittest.cc const base::ListValue* policy_value) OVERRIDE; base 52 components/policy/core/common/policy_loader_mac_unittest.cc const base::DictionaryValue* policy_value) OVERRIDE; base 71 components/policy/core/common/policy_loader_mac_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 74 components/policy/core/common/policy_loader_mac_unittest.cc new PolicyLoaderMac(task_runner, base::FilePath(), prefs_)); base 82 components/policy/core/common/policy_loader_mac_unittest.cc ScopedCFTypeRef<CFStringRef> name(base::SysUTF8ToCFStringRef(policy_name)); base 83 components/policy/core/common/policy_loader_mac_unittest.cc ScopedCFTypeRef<CFStringRef> value(base::SysUTF8ToCFStringRef(policy_value)); base 89 components/policy/core/common/policy_loader_mac_unittest.cc ScopedCFTypeRef<CFStringRef> name(base::SysUTF8ToCFStringRef(policy_name)); base 97 components/policy/core/common/policy_loader_mac_unittest.cc ScopedCFTypeRef<CFStringRef> name(base::SysUTF8ToCFStringRef(policy_name)); base 104 components/policy/core/common/policy_loader_mac_unittest.cc const base::ListValue* policy_value) { base 105 components/policy/core/common/policy_loader_mac_unittest.cc ScopedCFTypeRef<CFStringRef> name(base::SysUTF8ToCFStringRef(policy_name)); base 113 components/policy/core/common/policy_loader_mac_unittest.cc const base::DictionaryValue* policy_value) { base 114 components/policy/core/common/policy_loader_mac_unittest.cc ScopedCFTypeRef<CFStringRef> name(base::SysUTF8ToCFStringRef(policy_name)); base 146 components/policy/core/common/policy_loader_mac_unittest.cc loop_.message_loop_proxy(), base::FilePath(), prefs_)); base 162 components/policy/core/common/policy_loader_mac_unittest.cc base::SysUTF8ToCFStringRef(test_keys::kKeyString)); base 181 components/policy/core/common/policy_loader_mac_unittest.cc base::SysUTF8ToCFStringRef(test_keys::kKeyString)); base 183 components/policy/core/common/policy_loader_mac_unittest.cc base::SysUTF8ToCFStringRef("string value")); base 195 components/policy/core/common/policy_loader_mac_unittest.cc base::Value::CreateStringValue("string value"), base 90 components/policy/core/common/policy_loader_win.cc base::JSONParserOptions options = base::JSON_PARSE_RFC; base 91 components/policy/core/common/policy_loader_win.cc scoped_ptr<base::Value> json(base::JSONReader::Read(schema, options)); base 92 components/policy/core/common/policy_loader_win.cc base::DictionaryValue* dict = NULL; base 93 components/policy/core/common/policy_loader_win.cc base::DictionaryValue* properties = NULL; base 100 components/policy/core/common/policy_loader_win.cc for (base::DictionaryValue::Iterator it(*properties); base 102 components/policy/core/common/policy_loader_win.cc base::DictionaryValue* policy_schema = NULL; base 108 components/policy/core/common/policy_loader_win.cc scoped_ptr<base::DictionaryValue> items(new base::DictionaryValue()); base 115 components/policy/core/common/policy_loader_win.cc base::JSONWriter::Write(json.get(), &serialized); base 122 components/policy/core/common/policy_loader_win.cc if (base::win::IsEnrolledToDomain()) base 129 components/policy/core/common/policy_loader_win.cc const base::ListValue* policy_list_value = NULL; base 133 components/policy/core/common/policy_loader_win.cc scoped_ptr<base::ListValue> filtered_values(new base::ListValue); base 134 components/policy/core/common/policy_loader_win.cc for (base::ListValue::const_iterator list_entry(policy_list_value->begin()); base 163 components/policy/core/common/policy_loader_win.cc : kernel32_lib_(base::FilePath(L"kernel32")), base 207 components/policy/core/common/policy_loader_win.cc base::ScopedNativeLibrary kernel32_lib_; base 217 components/policy/core/common/policy_loader_win.cc static base::LazyInstance<Wow64Functions> g_wow_64_functions = base 270 components/policy/core/common/policy_loader_win.cc static base::LazyInstance<WinGPOListProvider> g_win_gpo_list_provider = base 283 components/policy/core/common/policy_loader_win.cc scoped_ptr<base::Value> policy_value(gpo_dict->ConvertToJSON(schema)); base 284 components/policy/core/common/policy_loader_win.cc const base::DictionaryValue* policy_dict = NULL; base 298 components/policy/core/common/policy_loader_win.cc base::win::OSInfo::GetInstance()->version_type(), base 299 components/policy/core/common/policy_loader_win.cc base::win::SUITE_LAST); base 331 components/policy/core/common/policy_loader_win.cc const base::FilePath::CharType PolicyLoaderWin::kPRegFileName[] = base 335 components/policy/core/common/policy_loader_win.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 336 components/policy/core/common/policy_loader_win.cc const base::string16& chrome_policy_key, base 369 components/policy/core/common/policy_loader_win.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 370 components/policy/core/common/policy_loader_win.cc const base::string16& chrome_policy_key) { base 398 components/policy/core/common/policy_loader_win.cc bool is_enterprise = base::win::IsEnrolledToDomain(); base 453 components/policy/core/common/policy_loader_win.cc bool PolicyLoaderWin::ReadPRegFile(const base::FilePath& preg_file, base 462 components/policy/core/common/policy_loader_win.cc if (base::PathExists(preg_file)) { base 467 components/policy/core/common/policy_loader_win.cc if (redirection_disable.is_active() && base::PathExists(preg_file)) { base 499 components/policy/core/common/policy_loader_win.cc base::FilePath preg_file_path( base 500 components/policy/core/common/policy_loader_win.cc base::FilePath(policy_object->lpFileSysPath).Append(kPRegFileName)); base 605 components/policy/core/common/policy_loader_win.cc const base::Value* value = component->second->GetValue(kKeySchema); base 22 components/policy/core/common/policy_loader_win.h namespace base { base 49 components/policy/core/common/policy_loader_win.h public base::win::ObjectWatcher::Delegate { base 52 components/policy/core/common/policy_loader_win.h static const base::FilePath::CharType kPRegFileName[]; base 54 components/policy/core/common/policy_loader_win.h PolicyLoaderWin(scoped_refptr<base::SequencedTaskRunner> task_runner, base 55 components/policy/core/common/policy_loader_win.h const base::string16& chrome_policy_key, base 61 components/policy/core/common/policy_loader_win.h scoped_refptr<base::SequencedTaskRunner> task_runner, base 62 components/policy/core/common/policy_loader_win.h const base::string16& chrome_policy_key); base 71 components/policy/core/common/policy_loader_win.h bool ReadPRegFile(const base::FilePath& preg_file, base 110 components/policy/core/common/policy_loader_win.h const base::string16 chrome_policy_key_; base 113 components/policy/core/common/policy_loader_win.h base::WaitableEvent user_policy_changed_event_; base 114 components/policy/core/common/policy_loader_win.h base::WaitableEvent machine_policy_changed_event_; base 115 components/policy/core/common/policy_loader_win.h base::win::ObjectWatcher user_policy_watcher_; base 116 components/policy/core/common/policy_loader_win.h base::win::ObjectWatcher machine_policy_watcher_; base 41 components/policy/core/common/policy_loader_win_unittest.cc using base::UTF8ToUTF16; base 42 components/policy/core/common/policy_loader_win_unittest.cc using base::UTF16ToUTF8; base 43 components/policy/core/common/policy_loader_win_unittest.cc using base::win::RegKey; base 62 components/policy/core/common/policy_loader_win_unittest.cc bool InstallValue(const base::Value& value, base 64 components/policy/core/common/policy_loader_win_unittest.cc const base::string16& path, base 65 components/policy/core/common/policy_loader_win_unittest.cc const base::string16& name) { base 70 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_NULL: base 73 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_BOOLEAN: { base 80 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_INTEGER: { base 87 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_DOUBLE: { base 91 components/policy/core/common/policy_loader_win_unittest.cc base::string16 str_value = base 92 components/policy/core/common/policy_loader_win_unittest.cc UTF8ToUTF16(base::DoubleToString(double_value)); base 96 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_STRING: { base 97 components/policy/core/common/policy_loader_win_unittest.cc base::string16 str_value; base 103 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_DICTIONARY: { base 104 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* sub_dict = NULL; base 107 components/policy/core/common/policy_loader_win_unittest.cc for (base::DictionaryValue::Iterator it(*sub_dict); base 117 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_LIST: { base 118 components/policy/core/common/policy_loader_win_unittest.cc const base::ListValue* list = NULL; base 122 components/policy/core/common/policy_loader_win_unittest.cc const base::Value* item; base 126 components/policy/core/common/policy_loader_win_unittest.cc base::UintToString16(i + 1))) { base 133 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_BINARY: base 180 components/policy/core/common/policy_loader_win_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) OVERRIDE; base 191 components/policy/core/common/policy_loader_win_unittest.cc const base::ListValue* policy_value) OVERRIDE; base 194 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* policy_value) OVERRIDE; base 196 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* policies) OVERRIDE; base 231 components/policy/core/common/policy_loader_win_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) OVERRIDE; base 242 components/policy/core/common/policy_loader_win_unittest.cc const base::ListValue* policy_value) OVERRIDE; base 245 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* policy_value) OVERRIDE; base 247 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* policies) OVERRIDE; base 263 components/policy/core/common/policy_loader_win_unittest.cc const base::string16& chars); base 266 components/policy/core/common/policy_loader_win_unittest.cc void AppendRecordToPRegFile(const base::string16& path, base 273 components/policy/core/common/policy_loader_win_unittest.cc void AppendDWORDToPRegFile(const base::string16& path, base 278 components/policy/core/common/policy_loader_win_unittest.cc void AppendStringToPRegFile(const base::string16& path, base 284 components/policy/core/common/policy_loader_win_unittest.cc void AppendPolicyToPRegFile(const base::string16& path, base 286 components/policy/core/common/policy_loader_win_unittest.cc const base::Value* value); base 288 components/policy/core/common/policy_loader_win_unittest.cc base::ScopedTempDir temp_dir_; base 289 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath preg_file_path_; base 299 components/policy/core/common/policy_loader_win_unittest.cc key_name_ = base::ASCIIToWide(base::StringPrintf( base 301 components/policy/core/common/policy_loader_win_unittest.cc base::Process::Current().pid())); base 349 components/policy/core/common/policy_loader_win_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 350 components/policy/core/common/policy_loader_win_unittest.cc base::win::SetDomainStateForTesting(true); base 387 components/policy/core/common/policy_loader_win_unittest.cc const base::ListValue* policy_value) { base 389 components/policy/core/common/policy_loader_win_unittest.cc (base::string16(kTestPolicyKey) + base::ASCIIToUTF16("\\") + base 394 components/policy/core/common/policy_loader_win_unittest.cc for (base::ListValue::const_iterator element(policy_value->begin()); base 400 components/policy/core/common/policy_loader_win_unittest.cc std::string name(base::IntToString(index++)); base 408 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* policy_value) { base 410 components/policy/core/common/policy_loader_win_unittest.cc base::JSONWriter::Write(policy_value, &json); base 418 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* policies) { base 421 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 kPathPrefix = base 422 components/policy/core/common/policy_loader_win_unittest.cc base::string16(kTestPolicyKey) + kPathSep + kThirdParty + kPathSep; base 423 components/policy/core/common/policy_loader_win_unittest.cc for (base::DictionaryValue::Iterator domain(*policies); base 425 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* components = NULL; base 430 components/policy/core/common/policy_loader_win_unittest.cc for (base::DictionaryValue::Iterator component(*components); base 432 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 path = kPathPrefix + base 468 components/policy/core/common/policy_loader_win_unittest.cc base::win::SetDomainStateForTesting(false); base 471 components/policy/core/common/policy_loader_win_unittest.cc ASSERT_TRUE(base::WriteFile(preg_file_path_, base 481 components/policy/core/common/policy_loader_win_unittest.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 506 components/policy/core/common/policy_loader_win_unittest.cc const base::ListValue* policy_value) { base 512 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* policy_value) { base 514 components/policy/core/common/policy_loader_win_unittest.cc base::JSONWriter::Write(policy_value, &json); base 519 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* policies) { base 522 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 kPathPrefix = base 523 components/policy/core/common/policy_loader_win_unittest.cc base::string16(kTestPolicyKey) + kPathSep + kThirdParty + kPathSep; base 524 components/policy/core/common/policy_loader_win_unittest.cc for (base::DictionaryValue::Iterator domain(*policies); base 526 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* components = NULL; base 531 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 domain_path = kPathPrefix + UTF8ToUTF16(domain.key()); base 532 components/policy/core/common/policy_loader_win_unittest.cc for (base::DictionaryValue::Iterator component(*components); base 534 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 component_path = base 562 components/policy/core/common/policy_loader_win_unittest.cc const base::string16& chars) { base 563 components/policy/core/common/policy_loader_win_unittest.cc for (base::string16::const_iterator c(chars.begin()); c != chars.end(); ++c) { base 569 components/policy/core/common/policy_loader_win_unittest.cc void PRegTestHarness::AppendRecordToPRegFile(const base::string16& path, base 577 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, base::string16(L"\0;", 2)); base 579 components/policy/core/common/policy_loader_win_unittest.cc AppendChars(&buffer, base::string16(L"\0;", 2)); base 580 components/policy/core/common/policy_loader_win_unittest.cc type = base::ByteSwapToLE32(type); base 584 components/policy/core/common/policy_loader_win_unittest.cc size = base::ByteSwapToLE32(size); base 592 components/policy/core/common/policy_loader_win_unittest.cc base::AppendToFile( base 598 components/policy/core/common/policy_loader_win_unittest.cc void PRegTestHarness::AppendDWORDToPRegFile(const base::string16& path, base 601 components/policy/core/common/policy_loader_win_unittest.cc value = base::ByteSwapToLE32(value); base 606 components/policy/core/common/policy_loader_win_unittest.cc void PRegTestHarness::AppendStringToPRegFile(const base::string16& path, base 609 components/policy/core/common/policy_loader_win_unittest.cc base::string16 string16_value(UTF8ToUTF16(value)); base 610 components/policy/core/common/policy_loader_win_unittest.cc std::vector<base::char16> data; base 612 components/policy/core/common/policy_loader_win_unittest.cc std::back_inserter(data), std::ptr_fun(base::ByteSwapToLE16)); base 613 components/policy/core/common/policy_loader_win_unittest.cc data.push_back(base::ByteSwapToLE16(L'\0')); base 615 components/policy/core/common/policy_loader_win_unittest.cc AppendRecordToPRegFile(path, key, REG_SZ, data.size() * sizeof(base::char16), base 619 components/policy/core/common/policy_loader_win_unittest.cc void PRegTestHarness::AppendPolicyToPRegFile(const base::string16& path, base 621 components/policy/core/common/policy_loader_win_unittest.cc const base::Value* value) { base 623 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_BOOLEAN: { base 629 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_INTEGER: { base 635 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_DOUBLE: { base 638 components/policy/core/common/policy_loader_win_unittest.cc AppendStringToPRegFile(path, key, base::DoubleToString(double_value)); base 641 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_STRING: { base 647 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_DICTIONARY: { base 648 components/policy/core/common/policy_loader_win_unittest.cc base::string16 subpath = path + kPathSep + UTF8ToUTF16(key); base 649 components/policy/core/common/policy_loader_win_unittest.cc const base::DictionaryValue* dict = NULL; base 651 components/policy/core/common/policy_loader_win_unittest.cc for (base::DictionaryValue::Iterator entry(*dict); !entry.IsAtEnd(); base 657 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_LIST: { base 658 components/policy/core/common/policy_loader_win_unittest.cc base::string16 subpath = path + kPathSep + UTF8ToUTF16(key); base 659 components/policy/core/common/policy_loader_win_unittest.cc const base::ListValue* list = NULL; base 662 components/policy/core/common/policy_loader_win_unittest.cc const base::Value* entry = NULL; base 664 components/policy/core/common/policy_loader_win_unittest.cc AppendPolicyToPRegFile(subpath, base::IntToString(i + 1), entry); base 668 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_BINARY: base 669 components/policy/core/common/policy_loader_win_unittest.cc case base::Value::TYPE_NULL: { base 700 components/policy/core/common/policy_loader_win_unittest.cc static const base::char16 kTestPolicyKey[]; base 708 components/policy/core/common/policy_loader_win_unittest.cc base::win::SetDomainStateForTesting(false); base 711 components/policy/core/common/policy_loader_win_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &test_data_dir_)); base 734 components/policy/core/common/policy_loader_win_unittest.cc const base::FilePath& path, base 760 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue expected_policy; base 769 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue expected_policy; base 773 components/policy/core/common/policy_loader_win_unittest.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 787 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath test_data_dir_; base 790 components/policy/core/common/policy_loader_win_unittest.cc const base::char16 PolicyLoaderWinTest::kTestPolicyKey[] = base 808 components/policy/core/common/policy_loader_win_unittest.cc base::Value::CreateStringValue("hklm"), NULL); base 828 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 kPathSuffix = base 829 components/policy/core/common/policy_loader_win_unittest.cc kTestPolicyKey + base::ASCIIToUTF16("\\3rdparty\\extensions\\merge"); base 836 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; base 859 components/policy/core/common/policy_loader_win_unittest.cc base::Value::CreateStringValue(kMachineMandatory), NULL); base 861 components/policy/core/common/policy_loader_win_unittest.cc base::Value::CreateStringValue(kUserMandatory), NULL); base 863 components/policy/core/common/policy_loader_win_unittest.cc base::Value::CreateStringValue(kMachineRecommended), base 866 components/policy/core/common/policy_loader_win_unittest.cc base::Value::CreateStringValue(kUserRecommended), NULL); base 892 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; base 893 components/policy/core/common/policy_loader_win_unittest.cc policy.Set("null", base::Value::CreateNullValue()); base 897 components/policy/core/common/policy_loader_win_unittest.cc base::ListValue list; base 903 components/policy/core/common/policy_loader_win_unittest.cc base::JSONWriter::Write(&policy, &encoded_dict); base 907 components/policy/core/common/policy_loader_win_unittest.cc base::JSONWriter::Write(&list, &encoded_list); base 909 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue encoded_policy; base 917 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 kPathSuffix = base 918 components/policy/core/common/policy_loader_win_unittest.cc kTestPolicyKey + base::ASCIIToUTF16("\\3rdparty\\extensions\\string"); base 940 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue encoded_policy; base 945 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 kPathSuffix = base 946 components/policy/core/common/policy_loader_win_unittest.cc kTestPolicyKey + base::ASCIIToUTF16("\\3rdparty\\extensions\\int"); base 950 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; base 981 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; base 989 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue all_policies; base 992 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 kPathSuffix = base 993 components/policy/core/common/policy_loader_win_unittest.cc kTestPolicyKey + base::ASCIIToUTF16("\\3rdparty\\extensions\\test"); base 997 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue expected_policy; base 1002 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue expected_policies; base 1021 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo_dir(test_data_dir_.AppendASCII("empty")); base 1032 components/policy/core/common/policy_loader_win_unittest.cc base::win::SetDomainStateForTesting(true); base 1034 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo_dir(test_data_dir_.AppendASCII("empty")); base 1056 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo_dir(test_data_dir_.AppendASCII("bad")); base 1067 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo_dir(test_data_dir_.AppendASCII("test1")); base 1078 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo1_dir(test_data_dir_.AppendASCII("test2")); base 1079 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo2_dir(test_data_dir_.AppendASCII("test1")); base 1092 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo1_dir(test_data_dir_.AppendASCII("test1")); base 1093 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo2_dir(test_data_dir_.AppendASCII("test2")); base 1106 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo1_dir(test_data_dir_.AppendASCII("test1")); base 1107 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo2_dir(test_data_dir_.AppendASCII("test2")); base 1120 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo_dir(test_data_dir_.AppendASCII("test1")); base 1121 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath unc_path(L"\\\\some_share\\GPO"); base 1133 components/policy/core/common/policy_loader_win_unittest.cc base::FilePath gpo_dir( base 1156 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue expected_a; base 1161 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue expected_b; base 1182 components/policy/core/common/policy_loader_win_unittest.cc const base::string16 kPathSuffix = base 1183 components/policy/core/common/policy_loader_win_unittest.cc kTestPolicyKey + base::ASCIIToUTF16("\\3rdparty\\extensions"); base 1185 components/policy/core/common/policy_loader_win_unittest.cc base::ListValue list; base 1187 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; base 1190 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue root; base 1191 components/policy/core/common/policy_loader_win_unittest.cc root.Set(base::UTF16ToUTF8(kMandatory), policy.DeepCopy()); base 1194 components/policy/core/common/policy_loader_win_unittest.cc kPathSuffix, base::ASCIIToUTF16(ns.component_id))); base 1200 components/policy/core/common/policy_loader_win_unittest.cc new base::StringValue("c:\\legacy\\browser.exe"), NULL); base 51 components/policy/core/common/policy_map.cc base::Value::Equals(value, other.value) && base 68 components/policy/core/common/policy_map.cc const base::Value* PolicyMap::GetValue(const std::string& policy) const { base 76 components/policy/core/common/policy_map.cc base::Value* value, base 127 components/policy/core/common/policy_map.cc const base::DictionaryValue* policies, base 130 components/policy/core/common/policy_map.cc for (base::DictionaryValue::Iterator it(*policies); base 28 components/policy/core/common/policy_map.h base::Value* value; base 59 components/policy/core/common/policy_map.h const base::Value* GetValue(const std::string& policy) const; base 66 components/policy/core/common/policy_map.h base::Value* value, base 90 components/policy/core/common/policy_map.h void LoadFrom(const base::DictionaryValue* policies, base 27 components/policy/core/common/policy_map_unittest.cc void SetPolicy(PolicyMap* map, const char* name, base::Value* value) { base 49 components/policy/core/common/policy_map_unittest.cc new ExternalDataFetcher(base::WeakPtr<ExternalDataManager>(), policy)); base 54 components/policy/core/common/policy_map_unittest.cc SetPolicy(&map, kTestPolicyName1, base::Value::CreateStringValue("aaa")); base 55 components/policy/core/common/policy_map_unittest.cc base::StringValue expected("aaa"); base 57 components/policy/core/common/policy_map_unittest.cc SetPolicy(&map, kTestPolicyName1, base::Value::CreateStringValue("bbb")); base 58 components/policy/core/common/policy_map_unittest.cc base::StringValue expected_b("bbb"); base 81 components/policy/core/common/policy_map_unittest.cc SetPolicy(&a, kTestPolicyName1, base::Value::CreateStringValue("aaa")); base 83 components/policy/core/common/policy_map_unittest.cc SetPolicy(&a2, kTestPolicyName1, base::Value::CreateStringValue("aaa")); base 85 components/policy/core/common/policy_map_unittest.cc SetPolicy(&b, kTestPolicyName1, base::Value::CreateStringValue("bbb")); base 87 components/policy/core/common/policy_map_unittest.cc SetPolicy(&c, kTestPolicyName1, base::Value::CreateStringValue("aaa")); base 88 components/policy/core/common/policy_map_unittest.cc SetPolicy(&c, kTestPolicyName2, base::Value::CreateBooleanValue(true)); base 132 components/policy/core/common/policy_map_unittest.cc SetPolicy(&a, kTestPolicyName1, base::Value::CreateStringValue("aaa")); base 136 components/policy/core/common/policy_map_unittest.cc SetPolicy(&b, kTestPolicyName1, base::Value::CreateStringValue("bbb")); base 137 components/policy/core/common/policy_map_unittest.cc SetPolicy(&b, kTestPolicyName3, base::Value::CreateBooleanValue(true)); base 140 components/policy/core/common/policy_map_unittest.cc base::StringValue expected("bbb"); base 142 components/policy/core/common/policy_map_unittest.cc base::FundamentalValue expected_bool(true); base 146 components/policy/core/common/policy_map_unittest.cc base::StringValue expected_a("aaa"); base 165 components/policy/core/common/policy_map_unittest.cc base::Value::CreateStringValue("google.com"), NULL); base 167 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(true), NULL); base 172 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 175 components/policy/core/common/policy_map_unittest.cc base::Value::CreateStringValue("google.com/q={x}"), NULL); base 179 components/policy/core/common/policy_map_unittest.cc base::Value::CreateStringValue("chromium.org"), NULL); base 181 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 186 components/policy/core/common/policy_map_unittest.cc POLICY_SCOPE_MACHINE, base::Value::CreateBooleanValue(true), NULL); base 190 components/policy/core/common/policy_map_unittest.cc base::Value::CreateStringValue(std::string()), base 195 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(true), base 203 components/policy/core/common/policy_map_unittest.cc base::Value::CreateStringValue("chromium.org"), NULL); base 206 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(true), NULL); base 212 components/policy/core/common/policy_map_unittest.cc POLICY_SCOPE_MACHINE, base::Value::CreateBooleanValue(true), NULL); base 217 components/policy/core/common/policy_map_unittest.cc base::Value::CreateStringValue(std::string()), base 221 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(true), NULL); base 229 components/policy/core/common/policy_map_unittest.cc base::Value::CreateStringValue("google.com"), NULL); base 234 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(true), NULL); base 239 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 242 components/policy/core/common/policy_map_unittest.cc base::Value::CreateStringValue("google.com/q={x}"), NULL); base 244 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(true), NULL); base 248 components/policy/core/common/policy_map_unittest.cc base::Value::CreateStringValue("google.com"), NULL); base 253 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 258 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 260 components/policy/core/common/policy_map_unittest.cc POLICY_SCOPE_USER, base::Value::CreateStringValue("google.com/q={x}"), base 263 components/policy/core/common/policy_map_unittest.cc base::Value::CreateBooleanValue(true), NULL); base 23 components/policy/core/common/policy_provider_android_unittest.cc base::Value::CreateStringValue(value), base 35 components/policy/core/common/policy_service.cc const base::Value* prev = previous.GetValue(it->first); base 36 components/policy/core/common/policy_service.cc const base::Value* cur = current.GetValue(it->first); base 37 components/policy/core/common/policy_service.cc if (!base::Value::Equals(prev, cur)) base 74 components/policy/core/common/policy_service.h virtual void RefreshPolicies(const base::Closure& callback) = 0; base 81 components/policy/core/common/policy_service.h typedef base::Callback<void(const base::Value*, base 82 components/policy/core/common/policy_service.h const base::Value*)> UpdateCallback; base 42 components/policy/core/common/policy_service_impl.cc scoped_ptr<base::DictionaryValue> proxy_settings(new base::DictionaryValue); base 128 components/policy/core/common/policy_service_impl.cc void PolicyServiceImpl::RefreshPolicies(const base::Closure& callback) { base 136 components/policy/core/common/policy_service_impl.cc base::MessageLoop::current()->PostTask( base 138 components/policy/core/common/policy_service_impl.cc base::Bind(&PolicyServiceImpl::MergeAndTriggerUpdates, base 163 components/policy/core/common/policy_service_impl.cc base::MessageLoop::current()->PostTask( base 165 components/policy/core/common/policy_service_impl.cc base::Bind(&PolicyServiceImpl::MergeAndTriggerUpdates, base 264 components/policy/core/common/policy_service_impl.cc std::vector<base::Closure> callbacks; base 266 components/policy/core/common/policy_service_impl.cc std::vector<base::Closure>::iterator it; base 48 components/policy/core/common/policy_service_impl.h virtual void RefreshPolicies(const base::Closure& callback) OVERRIDE; base 92 components/policy/core/common/policy_service_impl.h std::vector<base::Closure> refresh_callbacks_; base 96 components/policy/core/common/policy_service_impl.h base::WeakPtrFactory<PolicyServiceImpl> update_task_ptr_factory_; base 42 components/policy/core/common/policy_service_impl_unittest.cc return base::Value::Equals(arg, expected); base 53 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateStringValue(value), NULL); base 55 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateStringValue(value), NULL); base 59 components/policy/core/common/policy_service_impl_unittest.cc POLICY_SCOPE_USER, base::Value::CreateStringValue(value), base 62 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateStringValue(value), NULL); base 78 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(14), NULL); base 108 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(13), NULL); base 124 components/policy/core/common/policy_service_impl_unittest.cc MOCK_METHOD2(OnPolicyValueUpdated, void(const base::Value*, base 125 components/policy/core/common/policy_service_impl_unittest.cc const base::Value*)); base 136 components/policy/core/common/policy_service_impl_unittest.cc base::RunLoop loop; base 141 components/policy/core/common/policy_service_impl_unittest.cc base::MessageLoop loop_; base 157 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(13), NULL); base 168 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(13), NULL); base 173 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(123), NULL); base 175 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(123), NULL); base 193 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(456), NULL); base 195 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(456), NULL); base 217 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(789), NULL); base 219 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(789), NULL); base 249 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(13), NULL); base 253 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateStringValue("value"), NULL); base 292 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateStringValue("another value"), NULL); base 328 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(123), NULL); base 330 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(1234), NULL); base 340 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(13), NULL); base 342 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(0), NULL); base 344 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(0), NULL); base 346 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(1), NULL); base 348 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(2), NULL); base 356 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(1), NULL); base 363 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(2), NULL); base 365 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(1), NULL); base 378 components/policy/core/common/policy_service_impl_unittest.cc registrar->Observe("pre", base::Bind( base 380 components/policy/core/common/policy_service_impl_unittest.cc base::Unretained(this))); base 381 components/policy/core/common/policy_service_impl_unittest.cc registrar->Observe("aaa", base::Bind( base 383 components/policy/core/common/policy_service_impl_unittest.cc base::Unretained(this))); base 388 components/policy/core/common/policy_service_impl_unittest.cc base::FundamentalValue kValue0(0); base 403 components/policy/core/common/policy_service_impl_unittest.cc base::FundamentalValue kValue1(1); base 434 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RefreshPolicies(base::Bind( base 436 components/policy/core/common/policy_service_impl_unittest.cc base::Unretained(this))); base 442 components/policy/core/common/policy_service_impl_unittest.cc base::FundamentalValue kValue0(0); base 449 components/policy/core/common/policy_service_impl_unittest.cc base::FundamentalValue kValue1(1); base 467 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RefreshPolicies(base::Bind( base 469 components/policy/core/common/policy_service_impl_unittest.cc base::Unretained(this))); base 481 components/policy/core/common/policy_service_impl_unittest.cc base::FundamentalValue kValue2(2); base 490 components/policy/core/common/policy_service_impl_unittest.cc EXPECT_TRUE(base::Value::Equals(&kValue2, policies.GetValue("aaa"))); base 491 components/policy/core/common/policy_service_impl_unittest.cc EXPECT_TRUE(base::Value::Equals(&kValue0, policies.GetValue("bbb"))); base 515 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateStringValue("bundle0"), NULL); base 519 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateStringValue("bundle2"), NULL); base 615 components/policy/core/common/policy_service_impl_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(3), NULL); base 620 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateStringValue("pac_script"), NULL); base 622 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateStringValue("http://example.com/wpad.dat"), base 628 components/policy/core/common/policy_service_impl_unittest.cc base::Value::CreateIntegerValue(3), NULL); base 632 components/policy/core/common/policy_service_impl_unittest.cc scoped_ptr<base::DictionaryValue> expected_value(new base::DictionaryValue); base 640 components/policy/core/common/policy_service_impl_unittest.cc POLICY_SCOPE_USER, base::Value::CreateIntegerValue(3), base 30 components/policy/core/common/policy_service_stub.cc void PolicyServiceStub::RefreshPolicies(const base::Closure& callback) { base 33 components/policy/core/common/policy_service_stub.h virtual void RefreshPolicies(const base::Closure& callback) OVERRIDE; base 31 components/policy/core/common/policy_statistics_collector.cc const scoped_refptr<base::TaskRunner>& task_runner) base 43 components/policy/core/common/policy_statistics_collector.cc using base::Time; base 44 components/policy/core/common/policy_statistics_collector.cc using base::TimeDelta; base 83 components/policy/core/common/policy_statistics_collector.cc base::Time::Now().ToInternalValue()); base 84 components/policy/core/common/policy_statistics_collector.cc ScheduleUpdate(base::TimeDelta::FromMilliseconds(kStatisticsUpdateRate)); base 87 components/policy/core/common/policy_statistics_collector.cc void PolicyStatisticsCollector::ScheduleUpdate(base::TimeDelta delay) { base 88 components/policy/core/common/policy_statistics_collector.cc update_callback_.Reset(base::Bind( base 90 components/policy/core/common/policy_statistics_collector.cc base::Unretained(this))); base 19 components/policy/core/common/policy_statistics_collector.h namespace base { base 39 components/policy/core/common/policy_statistics_collector.h const scoped_refptr<base::TaskRunner>& task_runner); base 53 components/policy/core/common/policy_statistics_collector.h void ScheduleUpdate(base::TimeDelta delay); base 60 components/policy/core/common/policy_statistics_collector.h base::CancelableClosure update_callback_; base 62 components/policy/core/common/policy_statistics_collector.h const scoped_refptr<base::TaskRunner> task_runner_; base 60 components/policy/core/common/policy_statistics_collector_unittest.cc const scoped_refptr<base::TaskRunner>& task_runner) base 75 components/policy/core/common/policy_statistics_collector_unittest.cc : update_delay_(base::TimeDelta::FromMilliseconds( base 77 components/policy/core/common/policy_statistics_collector_unittest.cc task_runner_(new base::TestSimpleTaskRunner()) { base 98 components/policy/core/common/policy_statistics_collector_unittest.cc last_delay_ = base::TimeDelta::FromDays(-1); base 110 components/policy/core/common/policy_statistics_collector_unittest.cc base::Value::CreateBooleanValue(true), NULL); base 113 components/policy/core/common/policy_statistics_collector_unittest.cc base::TimeDelta GetFirstDelay() const { base 116 components/policy/core/common/policy_statistics_collector_unittest.cc return base::TimeDelta(); base 121 components/policy/core/common/policy_statistics_collector_unittest.cc const base::TimeDelta update_delay_; base 123 components/policy/core/common/policy_statistics_collector_unittest.cc base::TimeDelta last_delay_; base 131 components/policy/core/common/policy_statistics_collector_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 139 components/policy/core/common/policy_statistics_collector_unittest.cc (base::Time::Now() - update_delay_).ToInternalValue()); base 154 components/policy/core/common/policy_statistics_collector_unittest.cc base::Time::FromDoubleT(1.0).ToInternalValue()); base 168 components/policy/core/common/policy_statistics_collector_unittest.cc (base::Time::Now() - update_delay_ / 2).ToInternalValue()); base 180 components/policy/core/common/policy_statistics_collector_unittest.cc (base::Time::Now() - update_delay_).ToInternalValue()); base 31 components/policy/core/common/policy_test_utils.cc return base::Bind(&PolicyDetailsMap::Lookup, base::Unretained(this)); base 48 components/policy/core/common/policy_test_utils.cc base::DictionaryValue dict; base 57 components/policy/core/common/policy_test_utils.cc CFPropertyListRef ValueToProperty(const base::Value* value) { base 59 components/policy/core/common/policy_test_utils.cc case base::Value::TYPE_NULL: base 62 components/policy/core/common/policy_test_utils.cc case base::Value::TYPE_BOOLEAN: { base 69 components/policy/core/common/policy_test_utils.cc case base::Value::TYPE_INTEGER: { base 78 components/policy/core/common/policy_test_utils.cc case base::Value::TYPE_DOUBLE: { base 87 components/policy/core/common/policy_test_utils.cc case base::Value::TYPE_STRING: { base 90 components/policy/core/common/policy_test_utils.cc return base::SysUTF8ToCFStringRef(string_value); base 94 components/policy/core/common/policy_test_utils.cc case base::Value::TYPE_DICTIONARY: { base 95 components/policy/core/common/policy_test_utils.cc const base::DictionaryValue* dict_value; base 103 components/policy/core/common/policy_test_utils.cc for (base::DictionaryValue::Iterator iterator(*dict_value); base 107 components/policy/core/common/policy_test_utils.cc base::ScopedCFTypeRef<CFStringRef> key( base 108 components/policy/core/common/policy_test_utils.cc base::SysUTF8ToCFStringRef(iterator.key())); base 109 components/policy/core/common/policy_test_utils.cc base::ScopedCFTypeRef<CFPropertyListRef> cf_value( base 119 components/policy/core/common/policy_test_utils.cc case base::Value::TYPE_LIST: { base 120 components/policy/core/common/policy_test_utils.cc const base::ListValue* list; base 124 components/policy/core/common/policy_test_utils.cc for (base::ListValue::const_iterator it(list->begin()); base 128 components/policy/core/common/policy_test_utils.cc base::ScopedCFTypeRef<CFPropertyListRef> cf_value( base 138 components/policy/core/common/policy_test_utils.cc case base::Value::TYPE_BINARY: base 225 components/policy/core/common/policy_test_utils.cc base::JSONWriter::WriteWithOptions(e.value, base 226 components/policy/core/common/policy_test_utils.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 54 components/policy/core/common/policy_test_utils.h CFPropertyListRef ValueToProperty(const base::Value* value); base 30 components/policy/core/common/preferences_mock_mac.h base::ScopedCFTypeRef<CFMutableDictionaryRef> values_; base 31 components/policy/core/common/preferences_mock_mac.h base::ScopedCFTypeRef<CFMutableSetRef> forced_; base 36 components/policy/core/common/preg_parser_win.cc const base::char16 kDelimBracketOpen = L'['; base 37 components/policy/core/common/preg_parser_win.cc const base::char16 kDelimBracketClose = L']'; base 38 components/policy/core/common/preg_parser_win.cc const base::char16 kDelimSemicolon = L';'; base 41 components/policy/core/common/preg_parser_win.cc const base::char16 kRegistryPathSeparator[] = L"\\"; base 56 components/policy/core/common/preg_parser_win.cc if (*cursor + sizeof(base::char16) > end) base 60 components/policy/core/common/preg_parser_win.cc *cursor += sizeof(base::char16); base 86 components/policy/core/common/preg_parser_win.cc *data = base::ByteSwapToLE32(value); base 93 components/policy/core/common/preg_parser_win.cc base::string16* str) { base 102 components/policy/core/common/preg_parser_win.cc size_t len = data.size() / sizeof(base::char16); base 106 components/policy/core/common/preg_parser_win.cc const base::char16* chars = base 107 components/policy/core/common/preg_parser_win.cc reinterpret_cast<const base::char16*>(vector_as_array(&data)); base 108 components/policy/core/common/preg_parser_win.cc base::string16 result; base 110 components/policy/core/common/preg_parser_win.cc std::ptr_fun(base::ByteSwapToLE16)); base 111 components/policy/core/common/preg_parser_win.cc return base::UTF16ToUTF8(result); base 117 components/policy/core/common/preg_parser_win.cc scoped_ptr<base::Value>* value) { base 121 components/policy/core/common/preg_parser_win.cc value->reset(base::Value::CreateStringValue(DecodePRegStringValue(data))); base 128 components/policy/core/common/preg_parser_win.cc val = base::NetToHost32(val); base 130 components/policy/core/common/preg_parser_win.cc val = base::ByteSwapToLE32(val); base 131 components/policy/core/common/preg_parser_win.cc value->reset(base::Value::CreateIntegerValue(static_cast<int>(val))); base 153 components/policy/core/common/preg_parser_win.cc void HandleRecord(const base::string16& key_name, base 154 components/policy/core/common/preg_parser_win.cc const base::string16& value, base 159 components/policy/core/common/preg_parser_win.cc std::vector<base::string16> path; base 162 components/policy/core/common/preg_parser_win.cc for (std::vector<base::string16>::const_iterator entry(path.begin()); base 166 components/policy/core/common/preg_parser_win.cc const std::string name = base::UTF16ToUTF8(*entry); base 178 components/policy/core/common/preg_parser_win.cc std::string value_name(base::UTF16ToUTF8(value)); base 180 components/policy/core/common/preg_parser_win.cc scoped_ptr<base::Value> value; base 217 components/policy/core/common/preg_parser_win.cc bool ReadFile(const base::FilePath& file_path, base 218 components/policy/core/common/preg_parser_win.cc const base::string16& root, base 221 components/policy/core/common/preg_parser_win.cc base::MemoryMappedFile mapped_file; base 257 components/policy/core/common/preg_parser_win.cc base::string16 key_name; base 258 components/policy/core/common/preg_parser_win.cc base::string16 value; base 19 components/policy/core/common/preg_parser_win.h namespace base { base 36 components/policy/core/common/preg_parser_win.h POLICY_EXPORT bool ReadFile(const base::FilePath& file_path, base 37 components/policy/core/common/preg_parser_win.h const base::string16& root, base 44 components/policy/core/common/preg_parser_win_unittest.cc !base::Value::Equals(iter_value_a->second, iter_value_b->second)) { base 60 components/policy/core/common/preg_parser_win_unittest.cc make_scoped_ptr<base::Value>(new base::FundamentalValue(value))); base 68 components/policy/core/common/preg_parser_win_unittest.cc make_scoped_ptr<base::Value>(new base::StringValue(value))); base 72 components/policy/core/common/preg_parser_win_unittest.cc base::FilePath test_data_dir; base 73 components/policy/core/common/preg_parser_win_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &test_data_dir)); base 92 components/policy/core/common/preg_parser_win_unittest.cc base::FilePath test_file( base 57 components/policy/core/common/proxy_policy_provider_unittest.cc base::Value::CreateStringValue("value"), base 71 components/policy/core/common/proxy_policy_provider_unittest.cc base::Value::CreateStringValue("new value"), base 17 components/policy/core/common/registry_dict_win.cc using base::win::RegistryKeyIterator; base 18 components/policy/core/common/registry_dict_win.cc using base::win::RegistryValueIterator; base 27 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> ConvertValue(const base::Value& value, base 35 components/policy/core/common/registry_dict_win.cc const base::DictionaryValue* dict = NULL; base 36 components/policy/core/common/registry_dict_win.cc const base::ListValue* list = NULL; base 38 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 39 components/policy/core/common/registry_dict_win.cc for (base::DictionaryValue::Iterator entry(*dict); !entry.IsAtEnd(); base 41 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> converted = base 48 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 49 components/policy/core/common/registry_dict_win.cc for (base::ListValue::const_iterator entry(list->begin()); base 51 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> converted = base 65 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_NULL: { base 66 components/policy/core/common/registry_dict_win.cc return make_scoped_ptr(base::Value::CreateNullValue()); base 68 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_BOOLEAN: { base 72 components/policy/core/common/registry_dict_win.cc base::StringToInt(string_value, &int_value))) { base 73 components/policy/core/common/registry_dict_win.cc return make_scoped_ptr(base::Value::CreateBooleanValue(int_value != 0)); base 77 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_INTEGER: { base 80 components/policy/core/common/registry_dict_win.cc base::StringToInt(string_value, &int_value)) { base 81 components/policy/core/common/registry_dict_win.cc return make_scoped_ptr(base::Value::CreateIntegerValue(int_value)); base 85 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_DOUBLE: { base 89 components/policy/core/common/registry_dict_win.cc return make_scoped_ptr(base::Value::CreateDoubleValue(int_value)); base 91 components/policy/core/common/registry_dict_win.cc base::StringToDouble(string_value, &double_value)) { base 92 components/policy/core/common/registry_dict_win.cc return make_scoped_ptr(base::Value::CreateDoubleValue(double_value)); base 96 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_LIST: { base 98 components/policy/core/common/registry_dict_win.cc const base::DictionaryValue* dict = NULL; base 100 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 102 components/policy/core/common/registry_dict_win.cc const base::Value* entry = NULL; base 103 components/policy/core/common/registry_dict_win.cc if (!dict->Get(base::IntToString(i), &entry)) base 105 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> converted = base 114 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_DICTIONARY: { base 117 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> result(base::JSONReader::Read(string_value)); base 123 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_STRING: base 124 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_BINARY: base 131 components/policy/core/common/registry_dict_win.cc return scoped_ptr<base::Value>(); base 138 components/policy/core/common/registry_dict_win.cc return base::strcasecmp(a.c_str(), b.c_str()) < 0; base 184 components/policy/core/common/registry_dict_win.cc base::Value* RegistryDict::GetValue(const std::string& name) { base 189 components/policy/core/common/registry_dict_win.cc const base::Value* RegistryDict::GetValue(const std::string& name) const { base 195 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> dict) { base 201 components/policy/core/common/registry_dict_win.cc base::Value*& entry = values_[name]; base 206 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> RegistryDict::RemoveValue(const std::string& name) { base 207 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> result; base 240 components/policy/core/common/registry_dict_win.cc void RegistryDict::ReadRegistry(HKEY hive, const base::string16& root) { base 246 components/policy/core/common/registry_dict_win.cc const std::string name = base::UTF16ToUTF8(it.Name()); base 253 components/policy/core/common/registry_dict_win.cc new base::StringValue(base::UTF16ToUTF8(it.Value())))); base 260 components/policy/core/common/registry_dict_win.cc dword_value = base::NetToHost32(dword_value); base 262 components/policy/core/common/registry_dict_win.cc dword_value = base::ByteSwapToLE32(dword_value); base 265 components/policy/core/common/registry_dict_win.cc make_scoped_ptr(base::Value::CreateIntegerValue(dword_value))); base 286 components/policy/core/common/registry_dict_win.cc std::string name(base::UTF16ToUTF8(it.Name())); base 293 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> RegistryDict::ConvertToJSON( base 295 components/policy/core/common/registry_dict_win.cc base::Value::Type type = base 296 components/policy/core/common/registry_dict_win.cc schema.valid() ? schema.type() : base::Value::TYPE_DICTIONARY; base 298 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_DICTIONARY: { base 299 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 304 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> converted = base 313 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> converted = base 320 components/policy/core/common/registry_dict_win.cc case base::Value::TYPE_LIST: { base 321 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 324 components/policy/core/common/registry_dict_win.cc const std::string name(base::IntToString(i)); base 327 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> converted = key->ConvertToJSON(item_schema); base 332 components/policy/core/common/registry_dict_win.cc const base::Value* value = GetValue(name); base 334 components/policy/core/common/registry_dict_win.cc scoped_ptr<base::Value> converted = ConvertValue(*value, item_schema); base 347 components/policy/core/common/registry_dict_win.cc return scoped_ptr<base::Value>(); base 18 components/policy/core/common/registry_dict_win.h namespace base { base 38 components/policy/core/common/registry_dict_win.h typedef std::map<std::string, base::Value*, base 55 components/policy/core/common/registry_dict_win.h base::Value* GetValue(const std::string& name); base 56 components/policy/core/common/registry_dict_win.h const base::Value* GetValue(const std::string& name) const; base 58 components/policy/core/common/registry_dict_win.h void SetValue(const std::string& name, scoped_ptr<base::Value> value); base 60 components/policy/core/common/registry_dict_win.h scoped_ptr<base::Value> RemoveValue(const std::string& name); base 71 components/policy/core/common/registry_dict_win.h void ReadRegistry(HKEY hive, const base::string16& root); base 77 components/policy/core/common/registry_dict_win.h scoped_ptr<base::Value> ConvertToJSON(const Schema& schema) const; base 19 components/policy/core/common/registry_dict_win_unittest.cc base::FundamentalValue int_value(42); base 20 components/policy/core/common/registry_dict_win_unittest.cc base::StringValue string_value("fortytwo"); base 24 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, test_dict.GetValue("one"))); base 29 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, test_dict.GetValue("one"))); base 30 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&string_value, test_dict.GetValue("two"))); base 32 components/policy/core/common/registry_dict_win_unittest.cc scoped_ptr<base::Value> one(test_dict.RemoveValue("one")); base 34 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, one.get())); base 36 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&string_value, test_dict.GetValue("two"))); base 47 components/policy/core/common/registry_dict_win_unittest.cc base::FundamentalValue int_value(42); base 48 components/policy/core/common/registry_dict_win_unittest.cc base::StringValue string_value("fortytwo"); base 52 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, test_dict.GetValue("oNe"))); base 60 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&string_value, test_dict.GetValue("one"))); base 62 components/policy/core/common/registry_dict_win_unittest.cc scoped_ptr<base::Value> removed_value(test_dict.RemoveValue("onE")); base 63 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&string_value, removed_value.get())); base 70 components/policy/core/common/registry_dict_win_unittest.cc base::FundamentalValue int_value(42); base 71 components/policy/core/common/registry_dict_win_unittest.cc base::StringValue string_value("fortytwo"); base 79 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, actual_subdict->GetValue("one"))); base 87 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, actual_subdict->GetValue("one"))); base 90 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&string_value, base 102 components/policy/core/common/registry_dict_win_unittest.cc base::FundamentalValue int_value(42); base 120 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, base 125 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, base 134 components/policy/core/common/registry_dict_win_unittest.cc base::FundamentalValue int_value(42); base 135 components/policy/core/common/registry_dict_win_unittest.cc base::StringValue string_value("fortytwo"); base 152 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, dict_a.GetValue("one"))); base 153 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&string_value, dict_b.GetValue("four"))); base 156 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, actual_subdict->GetValue("two"))); base 159 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, base 167 components/policy/core/common/registry_dict_win_unittest.cc base::FundamentalValue int_value(42); base 168 components/policy/core/common/registry_dict_win_unittest.cc base::StringValue string_value("fortytwo"); base 176 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, dict_b.GetValue("one"))); base 180 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&string_value, dict_a.GetValue("three"))); base 188 components/policy/core/common/registry_dict_win_unittest.cc base::FundamentalValue int_value(42); base 189 components/policy/core/common/registry_dict_win_unittest.cc base::StringValue string_value("fortytwo"); base 190 components/policy/core/common/registry_dict_win_unittest.cc base::StringValue string_zero("0"); base 191 components/policy/core/common/registry_dict_win_unittest.cc base::StringValue string_dict("{ \"key\": [ \"value\" ] }"); base 227 components/policy/core/common/registry_dict_win_unittest.cc scoped_ptr<base::Value> actual(test_dict.ConvertToJSON(schema)); base 229 components/policy/core/common/registry_dict_win_unittest.cc base::DictionaryValue expected; base 231 components/policy/core/common/registry_dict_win_unittest.cc scoped_ptr<base::DictionaryValue> expected_subdict( base 232 components/policy/core/common/registry_dict_win_unittest.cc new base::DictionaryValue()); base 235 components/policy/core/common/registry_dict_win_unittest.cc scoped_ptr<base::ListValue> expected_list(new base::ListValue()); base 238 components/policy/core/common/registry_dict_win_unittest.cc expected.Set("int-to-bool", new base::FundamentalValue(true)); base 239 components/policy/core/common/registry_dict_win_unittest.cc expected.Set("int-to-double", new base::FundamentalValue(42.0)); base 240 components/policy/core/common/registry_dict_win_unittest.cc expected.Set("string-to-bool", new base::FundamentalValue(false)); base 241 components/policy/core/common/registry_dict_win_unittest.cc expected.Set("string-to-double", new base::FundamentalValue(0.0)); base 242 components/policy/core/common/registry_dict_win_unittest.cc expected.Set("string-to-int", new base::FundamentalValue((int) 0)); base 243 components/policy/core/common/registry_dict_win_unittest.cc expected_list.reset(new base::ListValue()); base 244 components/policy/core/common/registry_dict_win_unittest.cc expected_list->Append(new base::StringValue("value")); base 245 components/policy/core/common/registry_dict_win_unittest.cc expected_subdict.reset(new base::DictionaryValue()); base 249 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(actual.get(), &expected)); base 255 components/policy/core/common/registry_dict_win_unittest.cc base::FundamentalValue int_value(42); base 256 components/policy/core/common/registry_dict_win_unittest.cc base::StringValue string_value("fortytwo"); base 263 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&int_value, test_dict.GetValue("one"))); base 266 components/policy/core/common/registry_dict_win_unittest.cc EXPECT_TRUE(base::Value::Equals(&string_value, base 63 components/policy/core/common/schema.cc base::Value::Type* type) { base 67 components/policy/core/common/schema.cc base::Value::Type value_type; base 69 components/policy/core/common/schema.cc { schema::kArray, base::Value::TYPE_LIST }, base 70 components/policy/core/common/schema.cc { schema::kBoolean, base::Value::TYPE_BOOLEAN }, base 71 components/policy/core/common/schema.cc { schema::kInteger, base::Value::TYPE_INTEGER }, base 72 components/policy/core/common/schema.cc { schema::kNull, base::Value::TYPE_NULL }, base 73 components/policy/core/common/schema.cc { schema::kNumber, base::Value::TYPE_DOUBLE }, base 74 components/policy/core/common/schema.cc { schema::kObject, base::Value::TYPE_DICTIONARY }, base 75 components/policy/core/common/schema.cc { schema::kString, base::Value::TYPE_STRING }, base 119 components/policy/core/common/schema.cc *path = base::StringPrintf("items[%d]", index); base 121 components/policy/core/common/schema.cc *path = base::StringPrintf("items[%d].", index) + *path; base 140 components/policy/core/common/schema.cc : public base::RefCountedThreadSafe<InternalStorage> { base 145 components/policy/core/common/schema.cc const base::DictionaryValue& schema, base 186 components/policy/core/common/schema.cc static void DetermineStorageSizes(const base::DictionaryValue& schema, base 200 components/policy/core/common/schema.cc bool Parse(const base::DictionaryValue& schema, base 208 components/policy/core/common/schema.cc bool ParseDictionary(const base::DictionaryValue& schema, base 216 components/policy/core/common/schema.cc bool ParseList(const base::DictionaryValue& schema, base 222 components/policy/core/common/schema.cc bool ParseEnum(const base::DictionaryValue& schema, base 223 components/policy/core/common/schema.cc base::Value::Type type, base 227 components/policy/core/common/schema.cc bool ParseRangedInt(const base::DictionaryValue& schema, base 269 components/policy/core/common/schema.cc Schema::InternalStorage::ParseSchema(const base::DictionaryValue& schema, base 329 components/policy/core/common/schema.cc const base::DictionaryValue& schema, base 338 components/policy/core/common/schema.cc base::Value::Type type = base::Value::TYPE_NULL; base 347 components/policy/core/common/schema.cc if (type == base::Value::TYPE_LIST) { base 348 components/policy/core/common/schema.cc const base::DictionaryValue* items = NULL; base 351 components/policy/core/common/schema.cc } else if (type == base::Value::TYPE_DICTIONARY) { base 354 components/policy/core/common/schema.cc const base::DictionaryValue* dict = NULL; base 358 components/policy/core/common/schema.cc const base::DictionaryValue* properties = NULL; base 360 components/policy/core/common/schema.cc for (base::DictionaryValue::Iterator it(*properties); base 370 components/policy/core/common/schema.cc const base::ListValue* possible_values = NULL; base 372 components/policy/core/common/schema.cc if (type == base::Value::TYPE_INTEGER) { base 374 components/policy/core/common/schema.cc } else if (type == base::Value::TYPE_STRING) { base 380 components/policy/core/common/schema.cc } else if (type == base::Value::TYPE_INTEGER) { base 386 components/policy/core/common/schema.cc bool Schema::InternalStorage::Parse(const base::DictionaryValue& schema, base 408 components/policy/core/common/schema.cc base::Value::Type type = base::Value::TYPE_NULL; base 420 components/policy/core/common/schema.cc if (type == base::Value::TYPE_DICTIONARY) { base 423 components/policy/core/common/schema.cc } else if (type == base::Value::TYPE_LIST) { base 431 components/policy/core/common/schema.cc if (type != base::Value::TYPE_INTEGER) { base 451 components/policy/core/common/schema.cc const base::DictionaryValue& schema, base 463 components/policy/core/common/schema.cc const base::DictionaryValue* dict = NULL; base 471 components/policy/core/common/schema.cc const base::DictionaryValue* properties = NULL; base 480 components/policy/core/common/schema.cc for (base::DictionaryValue::Iterator it(*properties); base 499 components/policy/core/common/schema.cc bool Schema::InternalStorage::ParseList(const base::DictionaryValue& schema, base 504 components/policy/core/common/schema.cc const base::DictionaryValue* dict = NULL; base 512 components/policy/core/common/schema.cc bool Schema::InternalStorage::ParseEnum(const base::DictionaryValue& schema, base 513 components/policy/core/common/schema.cc base::Value::Type type, base 516 components/policy/core/common/schema.cc const base::ListValue *possible_values = NULL; base 527 components/policy/core/common/schema.cc if (type == base::Value::TYPE_INTEGER) { base 530 components/policy/core/common/schema.cc for (base::ListValue::const_iterator it = possible_values->begin(); base 539 components/policy/core/common/schema.cc } else if (type == base::Value::TYPE_STRING) { base 542 components/policy/core/common/schema.cc for (base::ListValue::const_iterator it = possible_values->begin(); base 564 components/policy/core/common/schema.cc const base::DictionaryValue& schema, base 661 components/policy/core/common/schema.cc bool Schema::Validate(const base::Value& value, base 673 components/policy/core/common/schema.cc if (value.IsType(base::Value::TYPE_INTEGER) && base 674 components/policy/core/common/schema.cc type() == base::Value::TYPE_DOUBLE) { base 683 components/policy/core/common/schema.cc const base::DictionaryValue* dict = NULL; base 684 components/policy/core/common/schema.cc const base::ListValue* list = NULL; base 688 components/policy/core/common/schema.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); base 707 components/policy/core/common/schema.cc for (base::ListValue::const_iterator it = list->begin(); it != list->end(); base 737 components/policy/core/common/schema.cc bool Schema::Normalize(base::Value* value, base 750 components/policy/core/common/schema.cc if (value->IsType(base::Value::TYPE_INTEGER) && base 751 components/policy/core/common/schema.cc type() == base::Value::TYPE_DOUBLE) { base 760 components/policy/core/common/schema.cc base::DictionaryValue* dict = NULL; base 761 components/policy/core/common/schema.cc base::ListValue* list = NULL; base 764 components/policy/core/common/schema.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); base 775 components/policy/core/common/schema.cc base::Value* sub_value = NULL; base 802 components/policy/core/common/schema.cc base::Value* sub_value = NULL; base 833 components/policy/core/common/schema.cc scoped_ptr<base::DictionaryValue> dict = JSONSchemaValidator::IsValidSchema( base 862 components/policy/core/common/schema.cc base::Value::Type Schema::type() const { base 869 components/policy/core/common/schema.cc CHECK_EQ(base::Value::TYPE_DICTIONARY, type()); base 883 components/policy/core/common/schema.cc CHECK_EQ(base::Value::TYPE_DICTIONARY, type()); base 895 components/policy/core/common/schema.cc CHECK_EQ(base::Value::TYPE_DICTIONARY, type()); base 909 components/policy/core/common/schema.cc CHECK_EQ(base::Value::TYPE_LIST, type()); base 84 components/policy/core/common/schema.h base::Value::Type type() const; base 94 components/policy/core/common/schema.h bool Validate(const base::Value& value, base 106 components/policy/core/common/schema.h bool Normalize(base::Value* value, base 21 components/policy/core/common/schema_internal.h base::Value::Type type; base 64 components/policy/core/common/schema_map.cc const base::Value* policy_value = it_map->second.value; base 26 components/policy/core/common/schema_map.h class POLICY_EXPORT SchemaMap : public base::RefCountedThreadSafe<SchemaMap> { base 51 components/policy/core/common/schema_map.h friend class base::RefCountedThreadSafe<SchemaMap>; base 144 components/policy/core/common/schema_map_unittest.cc base::Value::CreateStringValue("value"), base 154 components/policy/core/common/schema_map_unittest.cc base::Value::CreateStringValue("value"), base 161 components/policy/core/common/schema_map_unittest.cc base::ListValue list; base 167 components/policy/core/common/schema_map_unittest.cc base::Value::CreateBooleanValue(true), NULL); base 169 components/policy/core/common/schema_map_unittest.cc base::Value::CreateIntegerValue(1), NULL); base 171 components/policy/core/common/schema_map_unittest.cc base::Value::CreateNullValue(), NULL); base 173 components/policy/core/common/schema_map_unittest.cc base::Value::CreateDoubleValue(1.2), NULL); base 174 components/policy/core/common/schema_map_unittest.cc base::DictionaryValue dict; base 180 components/policy/core/common/schema_map_unittest.cc base::Value::CreateStringValue("value"), NULL); base 186 components/policy/core/common/schema_map_unittest.cc base::Value::CreateStringValue("to-be-removed"), base 196 components/policy/core/common/schema_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 198 components/policy/core/common/schema_map_unittest.cc base::Value::CreateIntegerValue(0), NULL); base 200 components/policy/core/common/schema_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 202 components/policy/core/common/schema_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 204 components/policy/core/common/schema_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 206 components/policy/core/common/schema_map_unittest.cc base::Value::CreateBooleanValue(false), NULL); base 209 components/policy/core/common/schema_map_unittest.cc new ExternalDataFetcher(base::WeakPtr<ExternalDataManager>(), base 240 components/policy/core/common/schema_map_unittest.cc base::Value::CreateStringValue("value 1"), base 248 components/policy/core/common/schema_map_unittest.cc base::Value::CreateStringValue("value 2"), base 256 components/policy/core/common/schema_map_unittest.cc base::Value::CreateStringValue("value 3"), base 266 components/policy/core/common/schema_map_unittest.cc base::Value::CreateStringValue("value 4"), base 274 components/policy/core/common/schema_map_unittest.cc base::Value::CreateStringValue("value 5"), base 28 components/policy/core/common/schema_registry.h class POLICY_EXPORT SchemaRegistry : public base::NonThreadSafe { base 116 components/policy/core/common/schema_unittest.cc const base::Value& value, base 130 components/policy/core/common/schema_unittest.cc scoped_ptr<base::Value> cloned_value(value.DeepCopy()); base 150 components/policy/core/common/schema_unittest.cc const base::Value& value, base 242 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 246 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 259 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, schema.type()); base 269 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 274 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, sub.type()); base 278 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, sub.type()); base 282 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_NULL, sub.type()); base 286 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_DOUBLE, sub.type()); base 290 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, sub.type()); base 294 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, sub.type()); base 297 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, sub.type()); base 301 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, sub.type()); base 304 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, sub.type()); base 307 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, subsub.type()); base 310 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, subsub.type()); base 316 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, sub.type()); base 319 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, sub.type()); base 322 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, sub.type()); base 326 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, sub.type()); base 329 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, subsub.type()); base 332 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_INTEGER, subsub.type()); base 335 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, subsub.type()); base 339 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_INTEGER, sub.type()); base 343 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_INTEGER, sub.type()); base 347 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_STRING, sub.type()); base 351 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_INTEGER, sub.type()); base 355 components/policy/core/common/schema_unittest.cc base::Value::Type expected_type; base 357 components/policy/core/common/schema_unittest.cc { "Array", base::Value::TYPE_LIST }, base 358 components/policy/core/common/schema_unittest.cc { "ArrayOfArray", base::Value::TYPE_LIST }, base 359 components/policy/core/common/schema_unittest.cc { "ArrayOfObjectOfArray", base::Value::TYPE_LIST }, base 360 components/policy/core/common/schema_unittest.cc { "ArrayOfObjects", base::Value::TYPE_LIST }, base 361 components/policy/core/common/schema_unittest.cc { "Boolean", base::Value::TYPE_BOOLEAN }, base 362 components/policy/core/common/schema_unittest.cc { "Integer", base::Value::TYPE_INTEGER }, base 363 components/policy/core/common/schema_unittest.cc { "IntegerWithEnums", base::Value::TYPE_INTEGER }, base 364 components/policy/core/common/schema_unittest.cc { "IntegerWithEnumsGaps", base::Value::TYPE_INTEGER }, base 365 components/policy/core/common/schema_unittest.cc { "IntegerWithRange", base::Value::TYPE_INTEGER }, base 366 components/policy/core/common/schema_unittest.cc { "Null", base::Value::TYPE_NULL }, base 367 components/policy/core/common/schema_unittest.cc { "Number", base::Value::TYPE_DOUBLE }, base 368 components/policy/core/common/schema_unittest.cc { "Object", base::Value::TYPE_DICTIONARY }, base 369 components/policy/core/common/schema_unittest.cc { "ObjectOfArray", base::Value::TYPE_DICTIONARY }, base 370 components/policy/core/common/schema_unittest.cc { "ObjectOfObject", base::Value::TYPE_DICTIONARY }, base 371 components/policy/core/common/schema_unittest.cc { "String", base::Value::TYPE_STRING }, base 372 components/policy/core/common/schema_unittest.cc { "StringWithEnums", base::Value::TYPE_STRING }, base 390 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 405 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 423 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 430 components/policy/core/common/schema_unittest.cc base::Value::Type expected_type; base 432 components/policy/core/common/schema_unittest.cc { "aa", base::Value::TYPE_BOOLEAN }, base 433 components/policy/core/common/schema_unittest.cc { "ab", base::Value::TYPE_DOUBLE }, base 434 components/policy/core/common/schema_unittest.cc { "aba", base::Value::TYPE_INTEGER }, base 435 components/policy/core/common/schema_unittest.cc { "abab", base::Value::TYPE_STRING }, base 436 components/policy/core/common/schema_unittest.cc { "bb", base::Value::TYPE_NULL }, base 447 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_DICTIONARY, 0 }, // 0: root node base 448 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_BOOLEAN, -1 }, // 1 base 449 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_INTEGER, -1 }, // 2 base 450 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_DOUBLE, -1 }, // 3 base 451 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_STRING, -1 }, // 4 base 452 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_LIST, 4 }, // 5: list of strings. base 453 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_LIST, 5 }, // 6: list of lists of strings. base 454 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_INTEGER, 0 }, // 7: integer enumerations. base 455 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_INTEGER, 1 }, // 8: ranged integers. base 456 components/policy/core/common/schema_unittest.cc { base::Value::TYPE_STRING, 2 }, // 9: string enumerations. base 501 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 505 components/policy/core/common/schema_unittest.cc base::Value::Type type; base 507 components/policy/core/common/schema_unittest.cc { "Boolean", base::Value::TYPE_BOOLEAN }, base 508 components/policy/core/common/schema_unittest.cc { "Integer", base::Value::TYPE_INTEGER }, base 509 components/policy/core/common/schema_unittest.cc { "Number", base::Value::TYPE_DOUBLE }, base 510 components/policy/core/common/schema_unittest.cc { "String", base::Value::TYPE_STRING }, base 511 components/policy/core/common/schema_unittest.cc { "List", base::Value::TYPE_LIST }, base 512 components/policy/core/common/schema_unittest.cc { "IntEnum", base::Value::TYPE_INTEGER }, base 513 components/policy/core/common/schema_unittest.cc { "RangedInt", base::Value::TYPE_INTEGER }, base 514 components/policy/core/common/schema_unittest.cc { "StrEnum", base::Value::TYPE_STRING } base 525 components/policy/core/common/schema_unittest.cc if (sub.type() == base::Value::TYPE_LIST) { base 528 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_STRING, items.type()); base 537 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, sub.type()); base 540 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, subsub.type()); base 543 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_STRING, subsubsub.type()); base 551 components/policy/core/common/schema_unittest.cc base::DictionaryValue bundle; base 561 components/policy/core/common/schema_unittest.cc base::ListValue list; base 570 components/policy/core/common/schema_unittest.cc base::DictionaryValue dict; base 585 components/policy/core/common/schema_unittest.cc bundle.Set("Null", base::Value::CreateNullValue()); base 586 components/policy/core/common/schema_unittest.cc bundle.Set("Number", base::Value::CreateDoubleValue(3.14)); base 590 components/policy/core/common/schema_unittest.cc base::ListValue list; base 597 components/policy/core/common/schema_unittest.cc base::DictionaryValue dict; base 600 components/policy/core/common/schema_unittest.cc base::ListValue list; base 607 components/policy/core/common/schema_unittest.cc base::ListValue list; base 610 components/policy/core/common/schema_unittest.cc base::ListValue listlist; base 617 components/policy/core/common/schema_unittest.cc base::DictionaryValue dict; base 686 components/policy/core/common/schema_unittest.cc base::DictionaryValue root; base 713 components/policy/core/common/schema_unittest.cc base::ListValue root; base 716 components/policy/core/common/schema_unittest.cc base::DictionaryValue* dict_value = new base::DictionaryValue(); base 728 components/policy/core/common/schema_unittest.cc dict_value = new base::DictionaryValue(); base 744 components/policy/core/common/schema_unittest.cc base::DictionaryValue root; base 746 components/policy/core/common/schema_unittest.cc base::ListValue* list_value = new base::ListValue(); base 750 components/policy/core/common/schema_unittest.cc list_value->Append(new base::FundamentalValue(12345)); base 758 components/policy/core/common/schema_unittest.cc list_value->Append(new base::StringValue("blabla")); base 771 components/policy/core/common/schema_unittest.cc base::ListValue root; base 773 components/policy/core/common/schema_unittest.cc base::ListValue* list_value = new base::ListValue(); base 774 components/policy/core/common/schema_unittest.cc base::DictionaryValue* dict_value = new base::DictionaryValue(); base 779 components/policy/core/common/schema_unittest.cc list_value->Append(new base::StringValue("blabla")); base 787 components/policy/core/common/schema_unittest.cc list_value->Append(new base::FundamentalValue(12345)); base 877 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 881 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, parent.type()); base 887 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, items.type()); base 891 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_STRING, prop.type()); base 895 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_STRING, prop.type()); base 899 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, prop.type()); base 927 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 932 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, sub.type()) << c; base 956 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 960 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, policy.type()); base 964 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, foo.type()); base 968 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, additional.type()); base 972 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, x.type()); base 993 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); base 997 components/policy/core/common/schema_unittest.cc EXPECT_EQ(base::Value::TYPE_BOOLEAN, foo.type()); base 1001 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_LIST, list.type()); base 1005 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_BOOLEAN, items.type()); base 35 components/precache/content/precache_manager.cc base::FilePath db_path(browser_context_->GetPath().Append( base 36 components/precache/content/precache_manager.cc base::FilePath(FILE_PATH_LITERAL("PrecacheDatabase")))); base 40 components/precache/content/precache_manager.cc base::Bind(base::IgnoreResult(&PrecacheDatabase::Init), base 48 components/precache/content/precache_manager.cc return base::FieldTrialList::FindFullName(kPrecacheFieldTrialName) == base 67 components/precache/content/precache_manager.cc base::Bind(&PrecacheDatabase::DeleteExpiredPrecacheHistory, base 68 components/precache/content/precache_manager.cc precache_database_, base::Time::Now())); base 73 components/precache/content/precache_manager.cc base::Bind(&PrecacheManager::OnURLsReceived, AsWeakPtr())); base 98 components/precache/content/precache_manager.cc const base::Time& fetch_time, base 116 components/precache/content/precache_manager.cc base::Bind(&PrecacheDatabase::RecordURLPrecached, precache_database_, base 125 components/precache/content/precache_manager.cc base::Bind(&PrecacheDatabase::RecordURLFetched, precache_database_, url, base 19 components/precache/content/precache_manager.h namespace base { base 41 components/precache/content/precache_manager.h public base::SupportsWeakPtr<PrecacheManager> { base 43 components/precache/content/precache_manager.h typedef base::Closure PrecacheCompletionCallback; base 68 components/precache/content/precache_manager.h const base::Time& fetch_time, base 37 components/precache/content/precache_manager_unittest.cc typedef std::map<std::string, base::HistogramBase::Count> HistogramCountMap; base 42 components/precache/content/precache_manager_unittest.cc base::HistogramBase::Count GetHistogramTotalCount(const char* histogram_name) { base 43 components/precache/content/precache_manager_unittest.cc base::HistogramBase* histogram = base 44 components/precache/content/precache_manager_unittest.cc base::StatisticsRecorder::FindHistogram(histogram_name); base 99 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 100 components/precache/content/precache_manager_unittest.cc base::Bind(callback, urls_)); base 123 components/precache/content/precache_manager_unittest.cc return base::Bind(&TestPrecacheCompletionCallback::OnDone, base 124 components/precache/content/precache_manager_unittest.cc base::Unretained(this)); base 139 components/precache/content/precache_manager_unittest.cc factory_(NULL, base::Bind(&TestURLFetcherCallback::CreateURLFetcher, base 140 components/precache/content/precache_manager_unittest.cc base::Unretained(&url_callback_))) {} base 144 components/precache/content/precache_manager_unittest.cc base::StatisticsRecorder::Initialize(); base 176 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 199 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 224 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 240 components/precache/content/precache_manager_unittest.cc precache_manager_.RecordStatsForFetch(GURL("http://url.com"), base::Time(), 0, base 242 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 246 components/precache/content/precache_manager_unittest.cc precache_manager_.RecordStatsForFetch(GURL("ftp://ftp.com"), base::Time(), base 248 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 252 components/precache/content/precache_manager_unittest.cc precache_manager_.RecordStatsForFetch(GURL(), base::Time(), 1000, false); base 253 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 265 components/precache/content/precache_manager_unittest.cc precache_manager_.RecordStatsForFetch(GURL("http://url.com"), base::Time(), base 270 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 279 components/precache/content/precache_manager_unittest.cc base::Time(), 1000, false); base 280 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 290 components/precache/content/precache_manager_unittest.cc base::Time(), 1000, false); base 291 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 299 components/precache/content/precache_manager_unittest.cc const base::Time kCurrentTime = base::Time::Now(); base 310 components/precache/content/precache_manager_unittest.cc kCurrentTime - base::TimeDelta::FromDays(61), 1000, false); base 313 components/precache/content/precache_manager_unittest.cc kCurrentTime - base::TimeDelta::FromDays(59), 1000, false); base 316 components/precache/content/precache_manager_unittest.cc kCurrentTime - base::TimeDelta::FromDays(1), 1000, false); base 320 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 329 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 339 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 352 components/precache/content/precache_manager_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 38 components/precache/core/precache_database.cc bool PrecacheDatabase::Init(const base::FilePath& db_path) { base 62 components/precache/core/precache_database.cc const base::Time& current_time) { base 69 components/precache/core/precache_database.cc base::Time delete_end = current_time - base::TimeDelta::FromDays( base 72 components/precache/core/precache_database.cc base::Bind(&PrecacheURLTable::DeleteAllPrecachedBefore, base 73 components/precache/core/precache_database.cc base::Unretained(&precache_url_table_), delete_end)); base 79 components/precache/core/precache_database.cc const base::Time& fetch_time, base 110 components/precache/core/precache_database.cc base::Bind(&PrecacheURLTable::AddURL, base 111 components/precache/core/precache_database.cc base::Unretained(&precache_url_table_), url, fetch_time)); base 117 components/precache/core/precache_database.cc const base::Time& fetch_time, base 160 components/precache/core/precache_database.cc base::Bind(&PrecacheURLTable::DeleteURL, base 161 components/precache/core/precache_database.cc base::Unretained(&precache_url_table_), url)); base 184 components/precache/core/precache_database.cc for (std::vector<base::Closure>::const_iterator it = base 216 components/precache/core/precache_database.cc DCHECK(base::MessageLoop::current()); base 220 components/precache/core/precache_database.cc base::MessageLoop::current()->PostDelayedTask( base 221 components/precache/core/precache_database.cc FROM_HERE, base::Bind(&PrecacheDatabase::PostedFlush, base 223 components/precache/core/precache_database.cc base::TimeDelta::FromSeconds(1)); base 21 components/precache/core/precache_database.h namespace base { base 35 components/precache/core/precache_database.h class PrecacheDatabase : public base::RefCountedThreadSafe<PrecacheDatabase> { base 42 components/precache/core/precache_database.h bool Init(const base::FilePath& db_path); base 46 components/precache/core/precache_database.h void DeleteExpiredPrecacheHistory(const base::Time& current_time); base 50 components/precache/core/precache_database.h void RecordURLPrecached(const GURL& url, const base::Time& fetch_time, base 56 components/precache/core/precache_database.h void RecordURLFetched(const GURL& url, const base::Time& fetch_time, base 61 components/precache/core/precache_database.h friend class base::RefCountedThreadSafe<PrecacheDatabase>; base 90 components/precache/core/precache_database.h std::vector<base::Closure> buffered_writes_; base 94 components/precache/core/precache_database.h base::hash_set<std::string> buffered_urls_; base 102 components/precache/core/precache_database.h base::ThreadChecker thread_checker_; base 23 components/precache/core/precache_database_unittest.cc const base::Time kFetchTime = base::Time() + base::TimeDelta::FromHours(1000); base 24 components/precache/core/precache_database_unittest.cc const base::Time kOldFetchTime = kFetchTime - base::TimeDelta::FromDays(1); base 33 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> GetHistogramSamples( base 35 components/precache/core/precache_database_unittest.cc base::HistogramBase* histogram = base 36 components/precache/core/precache_database_unittest.cc base::StatisticsRecorder::FindHistogram(histogram_name); base 38 components/precache/core/precache_database_unittest.cc EXPECT_NE(static_cast<base::HistogramBase*>(NULL), histogram); base 43 components/precache/core/precache_database_unittest.cc std::map<GURL, base::Time> BuildURLTableMap(const GURL& url, base 44 components/precache/core/precache_database_unittest.cc const base::Time& precache_time) { base 45 components/precache/core/precache_database_unittest.cc std::map<GURL, base::Time> url_table_map; base 61 components/precache/core/precache_database_unittest.cc base::StatisticsRecorder::Initialize(); base 65 components/precache/core/precache_database_unittest.cc base::FilePath db_path = scoped_temp_dir_.path().Append( base 66 components/precache/core/precache_database_unittest.cc base::FilePath(FILE_PATH_LITERAL("precache_database"))); base 86 components/precache/core/precache_database_unittest.cc std::map<GURL, base::Time> GetActualURLTableMap() { base 90 components/precache/core/precache_database_unittest.cc std::map<GURL, base::Time> url_table_map; base 99 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> GetHistogramSamplesDelta( base 101 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> delta_samples( base 109 components/precache/core/precache_database_unittest.cc base::HistogramBase::Sample sample) { base 110 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> delta_samples( base 117 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> delta_samples( base 124 components/precache/core/precache_database_unittest.cc void RecordPrecacheFromNetwork(const GURL& url, const base::Time& fetch_time, base 126 components/precache/core/precache_database_unittest.cc void RecordPrecacheFromCache(const GURL& url, const base::Time& fetch_time, base 128 components/precache/core/precache_database_unittest.cc void RecordFetchFromNetwork(const GURL& url, const base::Time& fetch_time, base 131 components/precache/core/precache_database_unittest.cc const base::Time& fetch_time, int64 size); base 132 components/precache/core/precache_database_unittest.cc void RecordFetchFromCache(const GURL& url, const base::Time& fetch_time, base 135 components/precache/core/precache_database_unittest.cc const base::Time& fetch_time, int64 size); base 139 components/precache/core/precache_database_unittest.cc base::MessageLoopForUI loop_; base 142 components/precache/core/precache_database_unittest.cc base::ScopedTempDir scoped_temp_dir_; base 143 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> initial_histogram_samples_ base 145 components/precache/core/precache_database_unittest.cc std::map<std::string, base::HistogramSamples*> initial_histogram_samples_map_; base 149 components/precache/core/precache_database_unittest.cc const GURL& url, const base::Time& fetch_time, int64 size) { base 155 components/precache/core/precache_database_unittest.cc const base::Time& fetch_time, base 162 components/precache/core/precache_database_unittest.cc const base::Time& fetch_time, base 170 components/precache/core/precache_database_unittest.cc const GURL& url, const base::Time& fetch_time, int64 size) { base 177 components/precache/core/precache_database_unittest.cc const base::Time& fetch_time, base 185 components/precache/core/precache_database_unittest.cc const GURL& url, const base::Time& fetch_time, int64 size) { base 311 components/precache/core/precache_database_unittest.cc const base::Time kToday = base::Time() + base::TimeDelta::FromDays(1000); base 312 components/precache/core/precache_database_unittest.cc const base::Time k59DaysAgo = kToday - base::TimeDelta::FromDays(59); base 313 components/precache/core/precache_database_unittest.cc const base::Time k61DaysAgo = kToday - base::TimeDelta::FromDays(61); base 357 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> downloaded_precache_motivated_bytes( base 365 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> downloaded_non_precache_bytes( base 371 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> downloaded_non_precache_bytes_cellular( base 377 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> saved_bytes( base 383 components/precache/core/precache_database_unittest.cc scoped_ptr<base::HistogramSamples> saved_bytes_cellular( base 107 components/precache/core/precache_fetcher.cc const base::Callback<void(const URLFetcher&)>& callback); base 112 components/precache/core/precache_fetcher.cc const base::Callback<void(const URLFetcher&)> callback_; base 120 components/precache/core/precache_fetcher.cc const base::Callback<void(const URLFetcher&)>& callback) base 159 components/precache/core/precache_fetcher.cc base::Bind(&PrecacheFetcher::OnConfigFetchComplete, base 160 components/precache/core/precache_fetcher.cc base::Unretained(this)))); base 168 components/precache/core/precache_fetcher.cc base::Bind(&PrecacheFetcher::OnResourceFetchComplete, base 169 components/precache/core/precache_fetcher.cc base::Unretained(this)))); base 179 components/precache/core/precache_fetcher.cc base::Bind(&PrecacheFetcher::OnManifestFetchComplete, base 180 components/precache/core/precache_fetcher.cc base::Unretained(this)))); base 199 components/precache/core/precache_fetcher.cc base::hash_set<std::string> unique_starting_urls; base 79 components/precache/core/precache_fetcher_unittest.cc base::MessageLoopProxy::current())), base 80 components/precache/core/precache_fetcher_unittest.cc factory_(NULL, base::Bind(&TestURLFetcherCallback::CreateURLFetcher, base 81 components/precache/core/precache_fetcher_unittest.cc base::Unretained(&url_callback_))) {} base 84 components/precache/core/precache_fetcher_unittest.cc base::MessageLoopForUI loop_; base 152 components/precache/core/precache_fetcher_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 182 components/precache/core/precache_fetcher_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 204 components/precache/core/precache_fetcher_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 233 components/precache/core/precache_fetcher_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 260 components/precache/core/precache_fetcher_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 296 components/precache/core/precache_fetcher_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 38 components/precache/core/precache_url_table.cc const base::Time& precache_time) { base 64 components/precache/core/precache_url_table.cc void PrecacheURLTable::DeleteAllPrecachedBefore(const base::Time& delete_end) { base 72 components/precache/core/precache_url_table.cc void PrecacheURLTable::GetAllDataForTesting(std::map<GURL, base::Time>* map) { base 80 components/precache/core/precache_url_table.cc (*map)[url] = base::Time::FromInternalValue(statement.ColumnInt64(1)); base 36 components/precache/core/precache_url_table.h void AddURL(const GURL& url, const base::Time& precache_time); base 45 components/precache/core/precache_url_table.h void DeleteAllPrecachedBefore(const base::Time& delete_end); base 48 components/precache/core/precache_url_table.h void GetAllDataForTesting(std::map<GURL, base::Time>* map); base 37 components/precache/core/precache_url_table_unittest.cc const base::Time kTime = base::Time::FromInternalValue(100); base 40 components/precache/core/precache_url_table_unittest.cc std::map<GURL, base::Time> expected_map; base 43 components/precache/core/precache_url_table_unittest.cc std::map<GURL, base::Time> actual_map; base 49 components/precache/core/precache_url_table_unittest.cc const base::Time kOldTime = base::Time::FromInternalValue(50); base 50 components/precache/core/precache_url_table_unittest.cc const base::Time kNewTime = base::Time::FromInternalValue(100); base 54 components/precache/core/precache_url_table_unittest.cc std::map<GURL, base::Time> expected_map; base 57 components/precache/core/precache_url_table_unittest.cc std::map<GURL, base::Time> actual_map; base 63 components/precache/core/precache_url_table_unittest.cc const base::Time kStaysTime = base::Time::FromInternalValue(50); base 64 components/precache/core/precache_url_table_unittest.cc const base::Time kDeletedTime = base::Time::FromInternalValue(100); base 71 components/precache/core/precache_url_table_unittest.cc std::map<GURL, base::Time> expected_map; base 74 components/precache/core/precache_url_table_unittest.cc std::map<GURL, base::Time> actual_map; base 83 components/precache/core/precache_url_table_unittest.cc base::Time::FromInternalValue(100)); base 93 components/precache/core/precache_url_table_unittest.cc const base::Time kOldTime = base::Time::FromInternalValue(10); base 94 components/precache/core/precache_url_table_unittest.cc const base::Time kBeforeTime = base::Time::FromInternalValue(20); base 95 components/precache/core/precache_url_table_unittest.cc const base::Time kEndTime = base::Time::FromInternalValue(30); base 96 components/precache/core/precache_url_table_unittest.cc const base::Time kAfterTime = base::Time::FromInternalValue(40); base 105 components/precache/core/precache_url_table_unittest.cc std::map<GURL, base::Time> expected_map; base 109 components/precache/core/precache_url_table_unittest.cc std::map<GURL, base::Time> actual_map; base 18 components/precache/core/url_list_provider.h typedef base::Callback<void(const std::list<GURL>&)> GetURLsCallback; base 19 components/rappor/byte_vector_utils.cc base::StringPiece ByteVectorAsStringPiece(const ByteVector& lhs) { base 20 components/rappor/byte_vector_utils.cc return base::StringPiece(reinterpret_cast<const char *>(&lhs[0]), lhs.size()); base 183 components/rappor/byte_vector_utils.cc return base::RandBytesAsString(kEntropyInputSize); base 23 components/rappor/byte_vector_utils_unittest.cc base::HexStringToBytes(hex, &bv); base 48 components/rappor/log_uploader.cc upload_interval_(base::TimeDelta::FromSeconds( base 64 components/rappor/log_uploader.cc void LogUploader::ScheduleNextUpload(base::TimeDelta interval) { base 88 components/rappor/log_uploader.cc base::TimeDelta LogUploader::BackOffUploadInterval(base::TimeDelta interval) { base 90 components/rappor/log_uploader.cc interval = base::TimeDelta::FromMicroseconds(static_cast<int64>( base 93 components/rappor/log_uploader.cc base::TimeDelta max_interval = base 94 components/rappor/log_uploader.cc base::TimeDelta::FromSeconds(kMaxBackoffIntervalSeconds); base 143 components/rappor/log_uploader.cc upload_interval_ = base::TimeDelta::FromSeconds(kUnsentLogsIntervalSeconds); base 55 components/rappor/log_uploader.h virtual void ScheduleNextUpload(base::TimeDelta interval); base 62 components/rappor/log_uploader.h static base::TimeDelta BackOffUploadInterval(base::TimeDelta); base 88 components/rappor/log_uploader.h base::OneShotTimer<LogUploader> upload_timer_; base 95 components/rappor/log_uploader.h base::TimeDelta upload_interval_; base 26 components/rappor/log_uploader_unittest.cc base::TimeDelta last_interval_set() const { return last_interval_set_; }; base 29 components/rappor/log_uploader_unittest.cc last_interval_set_ = base::TimeDelta(); base 33 components/rappor/log_uploader_unittest.cc static base::TimeDelta BackOff(base::TimeDelta t) { base 39 components/rappor/log_uploader_unittest.cc return last_interval_set() != base::TimeDelta(); base 44 components/rappor/log_uploader_unittest.cc virtual void ScheduleNextUpload(base::TimeDelta interval) OVERRIDE { base 45 components/rappor/log_uploader_unittest.cc EXPECT_EQ(last_interval_set(), base::TimeDelta()); base 49 components/rappor/log_uploader_unittest.cc base::TimeDelta last_interval_set_; base 60 components/rappor/log_uploader_unittest.cc base::MessageLoopProxy::current())), base 65 components/rappor/log_uploader_unittest.cc base::MessageLoopForUI loop_; base 81 components/rappor/log_uploader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 83 components/rappor/log_uploader_unittest.cc EXPECT_EQ(uploader.last_interval_set(), base::TimeDelta()); base 95 components/rappor/log_uploader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 97 components/rappor/log_uploader_unittest.cc EXPECT_EQ(uploader.last_interval_set(), base::TimeDelta()); base 109 components/rappor/log_uploader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 111 components/rappor/log_uploader_unittest.cc base::TimeDelta error_interval = uploader.last_interval_set(); base 112 components/rappor/log_uploader_unittest.cc EXPECT_GT(error_interval, base::TimeDelta()); base 121 components/rappor/log_uploader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 132 components/rappor/log_uploader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 138 components/rappor/log_uploader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 139 components/rappor/log_uploader_unittest.cc EXPECT_EQ(uploader.last_interval_set(), base::TimeDelta()); base 143 components/rappor/log_uploader_unittest.cc base::TimeDelta current = base::TimeDelta(); base 144 components/rappor/log_uploader_unittest.cc base::TimeDelta next = base::TimeDelta::FromSeconds(1); base 51 components/rappor/rappor_metric_unittest.cc metric.AddSample(base::StringPrintf("%d", i)); base 12 components/rappor/rappor_parameters.cc return base::StringPrintf("{ %d, %d, %d, %d, %d, %d }", base 76 components/rappor/rappor_service.cc base::TimeDelta::FromSeconds(kInitialLogIntervalSeconds), base 91 components/rappor/rappor_service.cc base::TimeDelta::FromSeconds(kLogIntervalSeconds), base 111 components/rappor/rappor_service.cc cohort_ = base::RandGenerator(kNumCohorts); base 119 components/rappor/rappor_service.cc bool decoded = base::Base64Decode(secret_base64, &secret_); base 128 components/rappor/rappor_service.cc base::Base64Encode(secret_, &secret_base64); base 105 components/rappor/rappor_service.h base::OneShotTimer<RapporService> log_rotation_timer_; base 74 components/sessions/serialized_navigation_entry.cc navigation.title_ = base::UTF8ToUTF16(sync_data.title()); base 145 components/sessions/serialized_navigation_entry.cc navigation.timestamp_ = base::Time(); base 146 components/sessions/serialized_navigation_entry.cc navigation.search_terms_ = base::UTF8ToUTF16(sync_data.search_terms()); base 191 components/sessions/serialized_navigation_entry.cc const base::string16& str) { base 192 components/sessions/serialized_navigation_entry.cc int num_bytes = str.size() * sizeof(base::char16); base 197 components/sessions/serialized_navigation_entry.cc pickle->WriteString16(base::string16()); base 321 components/sessions/serialized_navigation_entry.cc timestamp_ = base::Time::FromInternalValue(timestamp_internal_value); base 323 components/sessions/serialized_navigation_entry.cc timestamp_ = base::Time(); base 381 components/sessions/serialized_navigation_entry.cc sync_data.set_title(base::UTF16ToUTF8(title_)); base 462 components/sessions/serialized_navigation_entry.cc sync_data.set_search_terms(base::UTF16ToUTF8(search_terms_)); base 99 components/sessions/serialized_navigation_entry.h const base::string16& title() const { return title_; } base 101 components/sessions/serialized_navigation_entry.h const base::string16& search_terms() const { return search_terms_; } base 112 components/sessions/serialized_navigation_entry.h base::Time timestamp() const { return timestamp_; } base 147 components/sessions/serialized_navigation_entry.h base::string16 title_; base 154 components/sessions/serialized_navigation_entry.h base::Time timestamp_; base 155 components/sessions/serialized_navigation_entry.h base::string16 search_terms_; base 42 components/sessions/serialized_navigation_entry_test_helper.cc navigation.title_ = base::UTF8ToUTF16(title); base 45 components/sessions/serialized_navigation_entry_test_helper.cc navigation.timestamp_ = base::Time::Now(); base 80 components/sessions/serialized_navigation_entry_test_helper.cc base::Time timestamp, base 15 components/sessions/serialized_navigation_entry_test_helper.h namespace base { base 54 components/sessions/serialized_navigation_entry_test_helper.h static void SetTimestamp(base::Time timestamp, base 36 components/sessions/serialized_navigation_entry_unittest.cc const base::string16 kTitle = base::ASCIIToUTF16("title"); base 48 components/sessions/serialized_navigation_entry_unittest.cc const base::Time kTimestamp = syncer::ProtoTimeToTime(100); base 49 components/sessions/serialized_navigation_entry_unittest.cc const base::string16 kSearchTerms = base::ASCIIToUTF16("my search terms"); base 82 components/sessions/serialized_navigation_entry_unittest.cc sync_data.set_title(base::UTF16ToUTF8(kTitle)); base 90 components/sessions/serialized_navigation_entry_unittest.cc sync_data.set_search_terms(base::UTF16ToUTF8(kSearchTerms)); base 234 components/sessions/serialized_navigation_entry_unittest.cc base::string16 search_terms; base 254 components/sessions/serialized_navigation_entry_unittest.cc EXPECT_EQ(kTitle, base::ASCIIToUTF16(sync_data.title())); base 20 components/signin/core/browser/about_signin_internals.cc using base::Time; base 25 components/signin/core/browser/about_signin_internals.cc std::string GetTimeStr(base::Time time) { base 26 components/signin/core/browser/about_signin_internals.cc return base::UTF16ToUTF8(base::TimeFormatShortDateAndTime(time)); base 29 components/signin/core/browser/about_signin_internals.cc base::ListValue* AddSection(base::ListValue* parent_list, base 31 components/signin/core/browser/about_signin_internals.cc scoped_ptr<base::DictionaryValue> section(new base::DictionaryValue()); base 32 components/signin/core/browser/about_signin_internals.cc base::ListValue* section_contents = new base::ListValue(); base 40 components/signin/core/browser/about_signin_internals.cc void AddSectionEntry(base::ListValue* section_list, base 43 components/signin/core/browser/about_signin_internals.cc scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue()); base 135 components/signin/core/browser/about_signin_internals.cc base::UTF16ToUTF8(base::TimeFormatFriendlyDate(now)); base 202 components/signin/core/browser/about_signin_internals.cc scoped_ptr<base::DictionaryValue> AboutSigninInternals::GetSigninStatus() { base 226 components/signin/core/browser/about_signin_internals.cc base::Time expiration_time) { base 233 components/signin/core/browser/about_signin_internals.cc token->receive_time = base::Time::Now(); base 257 components/signin/core/browser/about_signin_internals.cc request_time(base::Time::Now()), base 270 components/signin/core/browser/about_signin_internals.cc base::DictionaryValue* AboutSigninInternals::TokenInfo::ToValue() const { base 271 components/signin/core/browser/about_signin_internals.cc scoped_ptr<base::DictionaryValue> token_info(new base::DictionaryValue()); base 287 components/signin/core/browser/about_signin_internals.cc bool token_expired = expiration_time < base::Time::Now(); base 291 components/signin/core/browser/about_signin_internals.cc base::StringAppendF(&status_str, base 296 components/signin/core/browser/about_signin_internals.cc base::StringAppendF(&status_str, "</p>"); base 301 components/signin/core/browser/about_signin_internals.cc base::StringPrintf("Failure: %s", error.ToString().c_str())); base 334 components/signin/core/browser/about_signin_internals.cc scoped_ptr<base::DictionaryValue> AboutSigninInternals::SigninStatus::ToValue( base 336 components/signin/core/browser/about_signin_internals.cc scoped_ptr<base::DictionaryValue> signin_status(new base::DictionaryValue()); base 337 components/signin/core/browser/about_signin_internals.cc base::ListValue* signin_info = new base::ListValue(); base 341 components/signin/core/browser/about_signin_internals.cc base::ListValue* basic_info = AddSection(signin_info, "Basic Information"); base 357 components/signin/core/browser/about_signin_internals.cc base::ListValue* detailed_info = base 374 components/signin/core/browser/about_signin_internals.cc base::ListValue* token_info = new base::ListValue(); base 379 components/signin/core/browser/about_signin_internals.cc base::ListValue* token_details = AddSection(token_info, it->first); base 384 components/signin/core/browser/about_signin_internals.cc base::DictionaryValue* token_info = tokens[i]->ToValue(); base 39 components/signin/core/browser/about_signin_internals.h scoped_ptr<base::DictionaryValue> info) = 0; base 82 components/signin/core/browser/about_signin_internals.h scoped_ptr<base::DictionaryValue> GetSigninStatus(); base 94 components/signin/core/browser/about_signin_internals.h base::Time expiration_time) OVERRIDE; base 105 components/signin/core/browser/about_signin_internals.h base::DictionaryValue* ToValue() const; base 114 components/signin/core/browser/about_signin_internals.h base::Time request_time; base 115 components/signin/core/browser/about_signin_internals.h base::Time receive_time; base 116 components/signin/core/browser/about_signin_internals.h base::Time expiration_time; base 156 components/signin/core/browser/about_signin_internals.h scoped_ptr<base::DictionaryValue> ToValue(std::string product_version); base 61 components/signin/core/browser/account_reconcilor.cc base::IntToString(session_index), base 257 components/signin/core/browser/account_reconcilor.cc base::Bind(&AccountReconcilor::OnCookieChanged, base::Unretained(this))); base 300 components/signin/core/browser/account_reconcilor.cc base::TimeDelta::FromSeconds(300), base 367 components/signin/core/browser/account_reconcilor.cc GetAccountsFromCookie(base::Bind(&AccountReconcilor::FinishRemoveAction, base 368 components/signin/core/browser/account_reconcilor.cc base::Unretained(this), base 417 components/signin/core/browser/account_reconcilor.cc GetAccountsFromCookie(base::Bind( base 419 components/signin/core/browser/account_reconcilor.cc base::Unretained(this))); base 535 components/signin/core/browser/account_reconcilor.cc const base::Time& expiration_time) { base 666 components/signin/core/browser/account_reconcilor.cc base::MessageLoop::current()->PostTask( base 668 components/signin/core/browser/account_reconcilor.cc base::Bind(&AccountReconcilor::StartReconcile, base::Unretained(this))); base 103 components/signin/core/browser/account_reconcilor.h typedef base::Callback< base 192 components/signin/core/browser/account_reconcilor.h const base::Time& expiration_time) OVERRIDE; base 217 components/signin/core/browser/account_reconcilor.h base::RepeatingTimer<AccountReconcilor> reconciliation_timer_; base 140 components/signin/core/browser/mutable_profile_oauth2_token_service.h base::ThreadChecker thread_checker_; base 49 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 109 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc base::MessageLoop message_loop_; base 131 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 156 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 213 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 227 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 292 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 311 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 333 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 27 components/signin/core/browser/signin_account_id_helper.cc const base::Time& expiration_time) OVERRIDE; base 75 components/signin/core/browser/signin_account_id_helper.cc const base::Time& expiration_time) { base 24 components/signin/core/browser/signin_client.h typedef base::Callback<void(const net::CanonicalCookie* cookie)> base 71 components/signin/core/browser/signin_internals_util.cc return StringToLowerASCII(base::HexEncode(&hash_val[0], kTruncateSize)); base 225 components/signin/core/browser/signin_manager.cc base::Bind(&SigninManager::OnGoogleServicesUsernamePatternChanged, base 230 components/signin/core/browser/signin_manager.cc base::Bind(&SigninManager::OnSigninAllowedPrefChanged, base 231 components/signin/core/browser/signin_manager.cc base::Unretained(this))); base 283 components/signin/core/browser/signin_manager.cc base::string16 pattern = base::UTF8ToUTF16(policy); base 297 components/signin/core/browser/signin_manager.cc base::string16 username16 = base::UTF8ToUTF16(username); base 52 components/signin/core/browser/signin_manager.h typedef base::Callback<void(const std::string&)> OAuthTokenFetchedCallback; base 193 components/signin/core/browser/signin_manager.h base::WeakPtrFactory<SigninManager> weak_pointer_factory_; base 151 components/signin/core/browser/signin_manager_base.h base::WeakPtrFactory<SigninManagerBase> weak_pointer_factory_; base 16 components/signin/core/browser/signin_manager_cookie_helper.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 17 components/signin/core/browser/signin_manager_cookie_helper.cc scoped_refptr<base::MessageLoopProxy> io_thread) base 28 components/signin/core/browser/signin_manager_cookie_helper.cc const base::Callback<void(const net::CookieList& cookies)>& callback) { base 35 components/signin/core/browser/signin_manager_cookie_helper.cc const base::Callback<void(const net::CookieList& cookies)>& callback) { base 42 components/signin/core/browser/signin_manager_cookie_helper.cc base::Bind(&SigninManagerCookieHelper::FetchCookiesOnIOThread, base 55 components/signin/core/browser/signin_manager_cookie_helper.cc url, base::Bind(&SigninManagerCookieHelper::OnCookiesFetched, this)); base 65 components/signin/core/browser/signin_manager_cookie_helper.cc base::Bind(&SigninManagerCookieHelper::NotifyOnUIThread, this, cookies)); base 71 components/signin/core/browser/signin_manager_cookie_helper.cc base::ResetAndReturn(&completion_callback_).Run(cookies); base 13 components/signin/core/browser/signin_manager_cookie_helper.h namespace base { base 24 components/signin/core/browser/signin_manager_cookie_helper.h : public base::RefCountedThreadSafe<SigninManagerCookieHelper> { base 28 components/signin/core/browser/signin_manager_cookie_helper.h scoped_refptr<base::MessageLoopProxy> ui_thread, base 29 components/signin/core/browser/signin_manager_cookie_helper.h scoped_refptr<base::MessageLoopProxy> io_thread); base 34 components/signin/core/browser/signin_manager_cookie_helper.h const base::Callback<void(const net::CookieList& cookies)>& callback); base 40 components/signin/core/browser/signin_manager_cookie_helper.h const base::Callback<void(const net::CookieList& cookies)>& callback); base 43 components/signin/core/browser/signin_manager_cookie_helper.h friend class base::RefCountedThreadSafe<SigninManagerCookieHelper>; base 57 components/signin/core/browser/signin_manager_cookie_helper.h base::Callback<void(const net::CookieList& cookies)> completion_callback_; base 60 components/signin/core/browser/signin_manager_cookie_helper.h scoped_refptr<base::MessageLoopProxy> ui_thread_; base 62 components/signin/core/browser/signin_manager_cookie_helper.h scoped_refptr<base::MessageLoopProxy> io_thread_; base 14 components/signin/core/browser/test_signin_client.cc base::MessageLoopProxy::current())) { base 36 components/signin/core/browser/test_signin_client.cc base::FilePath path = temp_dir_.path().AppendASCII("TestWebDB"); base 39 components/signin/core/browser/test_signin_client.cc base::MessageLoopProxy::current(), base 40 components/signin/core/browser/test_signin_client.cc base::MessageLoopProxy::current()); base 44 components/signin/core/browser/test_signin_client.cc base::MessageLoopProxy::current(), base 45 components/signin/core/browser/test_signin_client.cc base::MessageLoopProxy::current(), base 53 components/signin/core/browser/test_signin_client.h base::ScopedTempDir temp_dir_; base 13 components/signin/core/browser/webdata/token_service_table_unittest.cc using base::Time; base 31 components/signin/core/browser/webdata/token_service_table_unittest.cc base::FilePath file_; base 32 components/signin/core/browser/webdata/token_service_table_unittest.cc base::ScopedTempDir temp_dir_; base 14 components/signin/core/browser/webdata/token_web_data.cc using base::Bind; base 15 components/signin/core/browser/webdata/token_web_data.cc using base::Time; base 18 components/signin/core/browser/webdata/token_web_data.cc : public base::RefCountedDeleteOnMessageLoop<TokenWebDataBackend> { base 21 components/signin/core/browser/webdata/token_web_data.cc TokenWebDataBackend(scoped_refptr<base::MessageLoopProxy> db_thread) base 22 components/signin/core/browser/webdata/token_web_data.cc : base::RefCountedDeleteOnMessageLoop<TokenWebDataBackend>(db_thread) { base 67 components/signin/core/browser/webdata/token_web_data.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 68 components/signin/core/browser/webdata/token_web_data.cc scoped_refptr<base::MessageLoopProxy> db_thread, base 99 components/signin/core/browser/webdata/token_web_data.cc TokenWebData::TokenWebData(scoped_refptr<base::MessageLoopProxy> ui_thread, base 100 components/signin/core/browser/webdata/token_web_data.cc scoped_refptr<base::MessageLoopProxy> db_thread) base 25 components/signin/core/browser/webdata/token_web_data.h namespace base { base 38 components/signin/core/browser/webdata/token_web_data.h scoped_refptr<base::MessageLoopProxy> ui_thread, base 39 components/signin/core/browser/webdata/token_web_data.h scoped_refptr<base::MessageLoopProxy> db_thread, base 42 components/signin/core/browser/webdata/token_web_data.h TokenWebData(scoped_refptr<base::MessageLoopProxy> ui_thread, base 43 components/signin/core/browser/webdata/token_web_data.h scoped_refptr<base::MessageLoopProxy> db_thread); base 25 components/startup_metric_utils/startup_metric_utils.cc base::Time* MainEntryPointTimeInternal() { base 26 components/startup_metric_utils/startup_metric_utils.cc static base::Time main_start_time = base::Time::Now(); base 30 components/startup_metric_utils/startup_metric_utils.cc typedef base::hash_map<std::string,base::TimeDelta> SubsystemStartupTimeHash; base 38 components/startup_metric_utils/startup_metric_utils.cc base::Lock* GetSubsystemStartupTimeHashLock() { base 39 components/startup_metric_utils/startup_metric_utils.cc static base::Lock* slow_startup_time_hash_lock = new base::Lock; base 49 components/startup_metric_utils/startup_metric_utils.cc base::TimeDelta browser_main_entry_time_absolute = base 50 components/startup_metric_utils/startup_metric_utils.cc base::TimeDelta::FromMilliseconds( base 56 components/startup_metric_utils/startup_metric_utils.cc base::TimeDelta browser_main_entry_time_raw_ms_high_word = base 57 components/startup_metric_utils/startup_metric_utils.cc base::TimeDelta::FromMilliseconds( base 60 components/startup_metric_utils/startup_metric_utils.cc base::TimeDelta browser_main_entry_time_raw_ms_low_word = base 61 components/startup_metric_utils/startup_metric_utils.cc base::TimeDelta::FromMilliseconds( base 99 components/startup_metric_utils/startup_metric_utils.cc base::Int64ToString(base::Time::Now().ToInternalValue()); base 100 components/startup_metric_utils/startup_metric_utils.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 105 components/startup_metric_utils/startup_metric_utils.cc void RecordSavedMainEntryPointTime(const base::Time& entry_point_time) { base 113 components/startup_metric_utils/startup_metric_utils.cc const base::Time MainEntryStartTime() { base 124 components/startup_metric_utils/startup_metric_utils.cc base::TimeDelta::FromMinutes(7).InMilliseconds(); base 125 components/startup_metric_utils/startup_metric_utils.cc if (base::SysInfo::Uptime() < kSevenMinutesInMilliseconds) { base 138 components/startup_metric_utils/startup_metric_utils.cc base::TimeDelta startup_time_from_main_entry = base 139 components/startup_metric_utils/startup_metric_utils.cc base::Time::Now() - MainEntryStartTime(); base 155 components/startup_metric_utils/startup_metric_utils.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 160 components/startup_metric_utils/startup_metric_utils.cc if (base::StringToInt64(chrome_main_entry_time_string, base 162 components/startup_metric_utils/startup_metric_utils.cc base::Time process_create_time = base::CurrentProcessInfo::CreationTime(); base 163 components/startup_metric_utils/startup_metric_utils.cc base::Time exe_main_time = base 164 components/startup_metric_utils/startup_metric_utils.cc base::Time::FromInternalValue(chrome_main_entry_time_int); base 165 components/startup_metric_utils/startup_metric_utils.cc base::Time dll_main_time = MainEntryStartTime(); base 183 components/startup_metric_utils/startup_metric_utils.cc const base::TimeDelta kTenSeconds = base::TimeDelta::FromSeconds(10); base 199 components/startup_metric_utils/startup_metric_utils.cc const base::TimeDelta kStartupTimeMin( base 200 components/startup_metric_utils/startup_metric_utils.cc base::TimeDelta::FromMilliseconds(1)); base 201 components/startup_metric_utils/startup_metric_utils.cc const base::TimeDelta kStartupTimeMax(base::TimeDelta::FromMinutes(5)); base 206 components/startup_metric_utils/startup_metric_utils.cc base::HistogramBase* histogram = base 207 components/startup_metric_utils/startup_metric_utils.cc base::StatisticsRecorder::FindHistogram("Startup.SlowStartupNSSInit"); base 209 components/startup_metric_utils/startup_metric_utils.cc histogram->SetFlags(base::HistogramBase::kUmaTargetedHistogramFlag); base 213 components/startup_metric_utils/startup_metric_utils.cc base::AutoLock locker(*GetSubsystemStartupTimeHashLock()); base 219 components/startup_metric_utils/startup_metric_utils.cc base::HistogramBase* counter = base::Histogram::FactoryTimeGet( base 224 components/startup_metric_utils/startup_metric_utils.cc base::Histogram::kUmaTargetedHistogramFlag); base 235 components/startup_metric_utils/startup_metric_utils.cc base::AutoLock locker(*GetSubsystemStartupTimeHashLock()); base 242 components/startup_metric_utils/startup_metric_utils.cc base::TimeTicks::Now() - start_time_; base 43 components/startup_metric_utils/startup_metric_utils.h void RecordSavedMainEntryPointTime(const base::Time& entry_point_time); base 61 components/startup_metric_utils/startup_metric_utils.h : start_time_(base::TimeTicks::Now()), base 67 components/startup_metric_utils/startup_metric_utils.h const base::TimeTicks start_time_; base 39 components/storage_monitor/image_capture_device.h const base::File::Info& info) = 0; base 48 components/storage_monitor/image_capture_device.h base::File::Error error) = 0; base 65 components/storage_monitor/image_capture_device.h base::scoped_nsobject<ICCameraDevice> camera_; base 66 components/storage_monitor/image_capture_device.h base::WeakPtr<storage_monitor::ImageCaptureDeviceListener> listener_; base 72 components/storage_monitor/image_capture_device.h (base::WeakPtr<storage_monitor::ImageCaptureDeviceListener>)listener; base 82 components/storage_monitor/image_capture_device.h localPath:(const base::FilePath&)localPath; base 44 components/storage_monitor/image_capture_device_manager.h base::Callback<void(StorageMonitor::EjectStatus)> callback); base 47 components/storage_monitor/image_capture_device_manager.h base::scoped_nsobject<ImageCaptureDeviceManagerImpl> device_browser_; base 44 components/storage_monitor/media_storage_util.cc base::FilePath::StringType FindRemovableStorageLocationById( base 54 components/storage_monitor/media_storage_util.cc return base::FilePath::StringType(); base 75 components/storage_monitor/media_storage_util.cc if (!base::PathExists(base::FilePath::FromUTF8Unsafe(unique_id))) base 95 components/storage_monitor/media_storage_util.cc bool MediaStorageUtil::HasDcim(const base::FilePath& mount_point) { base 98 components/storage_monitor/media_storage_util.cc base::FilePath::StringType dcim_dir(kDCIMDirectoryName); base 99 components/storage_monitor/media_storage_util.cc if (!base::DirectoryExists(mount_point.Append(dcim_dir))) { base 101 components/storage_monitor/media_storage_util.cc base::FilePath dcim_path_lower( base 103 components/storage_monitor/media_storage_util.cc if (!base::DirectoryExists(dcim_path_lower)) base 111 components/storage_monitor/media_storage_util.cc const base::FilePath& path) { base 124 components/storage_monitor/media_storage_util.cc const base::Closure& done) { base 132 components/storage_monitor/media_storage_util.cc base::Bind(&FilterAttachedDevicesOnFileThread, base 138 components/storage_monitor/media_storage_util.cc bool MediaStorageUtil::GetDeviceInfoFromPath(const base::FilePath& path, base 140 components/storage_monitor/media_storage_util.cc base::FilePath* relative_path) { base 152 components/storage_monitor/media_storage_util.cc base::FilePath sub_folder_path; base 153 components/storage_monitor/media_storage_util.cc base::FilePath device_path(info.location()); base 181 components/storage_monitor/media_storage_util.cc *relative_path = base::FilePath(); base 186 components/storage_monitor/media_storage_util.cc base::FilePath MediaStorageUtil::FindDevicePathById( base 191 components/storage_monitor/media_storage_util.cc return base::FilePath(); base 198 components/storage_monitor/media_storage_util.cc return base::FilePath::FromUTF8Unsafe(unique_id); base 205 components/storage_monitor/media_storage_util.cc return base::FilePath(kRootPath + device_id); base 212 components/storage_monitor/media_storage_util.cc return base::FilePath(FindRemovableStorageLocationById(device_id)); base 219 components/storage_monitor/media_storage_util.cc const base::string16& device_label) { base 32 components/storage_monitor/media_storage_util.h static bool HasDcim(const base::FilePath& mount_point); base 36 components/storage_monitor/media_storage_util.h const base::FilePath& path); base 40 components/storage_monitor/media_storage_util.h const base::Closure& done); base 44 components/storage_monitor/media_storage_util.h static bool GetDeviceInfoFromPath(const base::FilePath& path, base 46 components/storage_monitor/media_storage_util.h base::FilePath* relative_path); base 51 components/storage_monitor/media_storage_util.h static base::FilePath FindDevicePathById(const std::string& device_id); base 58 components/storage_monitor/media_storage_util.h const base::string16& device_label); base 37 components/storage_monitor/media_storage_util_unittest.cc void CheckDCIMDeviceType(const base::FilePath& mount_point) { base 41 components/storage_monitor/media_storage_util_unittest.cc void CheckNonDCIMDeviceType(const base::FilePath& mount_point) { base 46 components/storage_monitor/media_storage_util_unittest.cc const base::FilePath::StringType& location) { base 47 components/storage_monitor/media_storage_util_unittest.cc StorageInfo info(id, location, base::string16(), base::string16(), base 48 components/storage_monitor/media_storage_util_unittest.cc base::string16(), 0); base 54 components/storage_monitor/media_storage_util_unittest.cc base::FilePath CreateMountPoint(bool create_dcim_dir) { base 55 components/storage_monitor/media_storage_util_unittest.cc base::FilePath path(scoped_temp_dir_.path()); base 58 components/storage_monitor/media_storage_util_unittest.cc if (!base::CreateDirectory(path)) base 59 components/storage_monitor/media_storage_util_unittest.cc return base::FilePath(); base 76 components/storage_monitor/media_storage_util_unittest.cc base::MessageLoop::QuitClosure()); base 82 components/storage_monitor/media_storage_util_unittest.cc base::Bind(&PostQuitToUIThread)); base 83 components/storage_monitor/media_storage_util_unittest.cc base::MessageLoop::current()->Run(); base 89 components/storage_monitor/media_storage_util_unittest.cc base::ScopedTempDir scoped_temp_dir_; base 96 components/storage_monitor/media_storage_util_unittest.cc base::FilePath mount_point(CreateMountPoint(true)); base 100 components/storage_monitor/media_storage_util_unittest.cc base::Bind(&MediaStorageUtilTest::CheckDCIMDeviceType, base 101 components/storage_monitor/media_storage_util_unittest.cc base::Unretained(this), mount_point)); base 102 components/storage_monitor/media_storage_util_unittest.cc base::RunLoop().RunUntilIdle(); base 109 components/storage_monitor/media_storage_util_unittest.cc base::FilePath mount_point(CreateMountPoint(false)); base 113 components/storage_monitor/media_storage_util_unittest.cc base::Bind(&MediaStorageUtilTest::CheckNonDCIMDeviceType, base 114 components/storage_monitor/media_storage_util_unittest.cc base::Unretained(this), mount_point)); base 115 components/storage_monitor/media_storage_util_unittest.cc base::RunLoop().RunUntilIdle(); base 120 components/storage_monitor/media_storage_util_unittest.cc base::FilePath())); base 122 components/storage_monitor/media_storage_util_unittest.cc "dcim:xyz", base::FilePath())); base 124 components/storage_monitor/media_storage_util_unittest.cc "dcim:xyz", base::FilePath(FILE_PATH_LITERAL("relative")))); base 126 components/storage_monitor/media_storage_util_unittest.cc "dcim:xyz", base::FilePath(FILE_PATH_LITERAL("../refparent")))); base 133 components/storage_monitor/media_storage_util_unittest.cc base::WaitableEvent event(true, false); base 134 components/storage_monitor/media_storage_util_unittest.cc base::Closure signal_event = base 135 components/storage_monitor/media_storage_util_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&event)); base 140 components/storage_monitor/media_storage_util_unittest.cc base::Bind(&MediaStorageUtil::FilterAttachedDevices, base 141 components/storage_monitor/media_storage_util_unittest.cc base::Unretained(&devices), signal_event)); base 149 components/storage_monitor/media_storage_util_unittest.cc base::Bind(&MediaStorageUtil::FilterAttachedDevices, base 150 components/storage_monitor/media_storage_util_unittest.cc base::Unretained(&devices), signal_event)); base 40 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc base::SplitString(storage_name, ':', &name_parts); base 53 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc const std::string vendor_id = base::UintToString(storage_info.vendor_id()); base 54 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc const std::string model_id = base::UintToString(storage_info.product_id()); base 68 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc base::string16 GetDeviceLabelFromStorageInfo( base 93 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc return base::UTF8ToUTF16(device_label); base 101 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc base::string16* label, base 145 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc const base::FilePath& path, base 152 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc std::vector<base::FilePath::StringType> path_components; base 171 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc base::Callback<void(StorageMonitor::EjectStatus)> callback) { base 193 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc base::string16 storage_label; base 208 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc base::string16(), base::string16(), 0); base 15 components/storage_monitor/media_transfer_protocol_device_observer_linux.h namespace base { base 27 components/storage_monitor/media_transfer_protocol_device_observer_linux.h base::string16* name, base 42 components/storage_monitor/media_transfer_protocol_device_observer_linux.h bool GetStorageInfoForPath(const base::FilePath& path, base 46 components/storage_monitor/media_transfer_protocol_device_observer_linux.h base::Callback<void(StorageMonitor::EjectStatus)> callback); base 43 components/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc base::string16* label, base 51 components/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc *label = base::ASCIIToUTF16(kStorageLabel); base 69 components/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc base::RunLoop().RunUntilIdle(); base 76 components/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc base::RunLoop().RunUntilIdle(); base 36 components/storage_monitor/mtab_watcher_linux.cc MtabWatcherLinux::MtabWatcherLinux(const base::FilePath& mtab_path, base 37 components/storage_monitor/mtab_watcher_linux.cc base::WeakPtr<Delegate> delegate) base 44 components/storage_monitor/mtab_watcher_linux.cc base::Bind(&MtabWatcherLinux::OnFilePathChanged, base 75 components/storage_monitor/mtab_watcher_linux.cc device_map[base::FilePath(entry.mnt_dir)] = base 76 components/storage_monitor/mtab_watcher_linux.cc base::FilePath(entry.mnt_fsname); base 85 components/storage_monitor/mtab_watcher_linux.cc base::Bind(&Delegate::UpdateMtab, delegate_, device_map)); base 89 components/storage_monitor/mtab_watcher_linux.cc const base::FilePath& path, bool error) { base 30 components/storage_monitor/mtab_watcher_linux.h typedef std::map<base::FilePath, base::FilePath> MountPointDeviceMap; base 40 components/storage_monitor/mtab_watcher_linux.h MtabWatcherLinux(const base::FilePath& mtab_path, base 41 components/storage_monitor/mtab_watcher_linux.h base::WeakPtr<Delegate> delegate); base 49 components/storage_monitor/mtab_watcher_linux.h void OnFilePathChanged(const base::FilePath& path, bool error); base 52 components/storage_monitor/mtab_watcher_linux.h const base::FilePath mtab_path_; base 55 components/storage_monitor/mtab_watcher_linux.h base::FilePathWatcher file_watcher_; base 57 components/storage_monitor/mtab_watcher_linux.h base::WeakPtr<Delegate> delegate_; base 59 components/storage_monitor/mtab_watcher_linux.h base::WeakPtrFactory<MtabWatcherLinux> weak_ptr_factory_; base 33 components/storage_monitor/portable_device_watcher_win.cc const base::char16 kClientName[] = L"Chromium"; base 56 components/storage_monitor/portable_device_watcher_win.cc base::string16 GetPnpDeviceId(LPARAM data) { base 60 components/storage_monitor/portable_device_watcher_win.cc return base::string16(); base 61 components/storage_monitor/portable_device_watcher_win.cc base::string16 device_id(dev_interface->dbcc_name); base 68 components/storage_monitor/portable_device_watcher_win.cc bool GetFriendlyName(const base::string16& pnp_device_id, base 70 components/storage_monitor/portable_device_watcher_win.cc base::string16* name) { base 86 components/storage_monitor/portable_device_watcher_win.cc bool GetManufacturerName(const base::string16& pnp_device_id, base 88 components/storage_monitor/portable_device_watcher_win.cc base::string16* name) { base 105 components/storage_monitor/portable_device_watcher_win.cc bool GetDeviceDescription(const base::string16& pnp_device_id, base 107 components/storage_monitor/portable_device_watcher_win.cc base::string16* description) { base 126 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceValues>* client_info) { base 149 components/storage_monitor/portable_device_watcher_win.cc bool SetUp(const base::string16& pnp_device_id, base 150 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDevice>* device) { base 151 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceValues> client_info; base 173 components/storage_monitor/portable_device_watcher_win.cc REFPROPERTYKEY GetUniqueIdPropertyKey(const base::string16& object_id) { base 181 components/storage_monitor/portable_device_watcher_win.cc const base::string16& object_id, base 182 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceKeyCollection>* properties_to_read) { base 197 components/storage_monitor/portable_device_watcher_win.cc base::string16* value) { base 200 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedCoMem<base::char16> buffer; base 204 components/storage_monitor/portable_device_watcher_win.cc *value = static_cast<const base::char16*>(buffer); base 211 components/storage_monitor/portable_device_watcher_win.cc const base::string16& object_id, base 212 components/storage_monitor/portable_device_watcher_win.cc base::string16* unique_id) { base 215 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceContent> content; base 222 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceProperties> properties; base 229 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceKeyCollection> properties_to_read; base 233 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceValues> properties_values; base 246 components/storage_monitor/portable_device_watcher_win.cc bool ConstructDeviceStorageUniqueId(const base::string16& device_serial_num, base 247 components/storage_monitor/portable_device_watcher_win.cc const base::string16& storage_id, base 255 components/storage_monitor/portable_device_watcher_win.cc base::UTF16ToUTF8(storage_id + L':' + device_serial_num)); base 266 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceCapabilities> capabilities; base 273 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDevicePropVariantCollection> storage_ids; base 287 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedPropVariant object_id; base 300 components/storage_monitor/portable_device_watcher_win.cc bool IsMassStoragePortableDevice(const base::string16& pnp_device_id, base 301 components/storage_monitor/portable_device_watcher_win.cc const base::string16& device_name) { base 315 components/storage_monitor/portable_device_watcher_win.cc base::string16 GetDeviceNameOnBlockingThread( base 317 components/storage_monitor/portable_device_watcher_win.cc const base::string16& pnp_device_id) { base 320 components/storage_monitor/portable_device_watcher_win.cc base::string16 name; base 330 components/storage_monitor/portable_device_watcher_win.cc const base::string16& pnp_device_id, base 334 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDevice> device; base 338 components/storage_monitor/portable_device_watcher_win.cc base::string16 device_serial_num; base 349 components/storage_monitor/portable_device_watcher_win.cc base::string16 storage_persistent_id; base 368 components/storage_monitor/portable_device_watcher_win.cc const base::string16& pnp_device_id, base 388 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceManager>* portable_device_mgr) { base 408 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceManager> portable_device_mgr; base 418 components/storage_monitor/portable_device_watcher_win.cc scoped_ptr<base::char16*[]> pnp_device_ids( base 419 components/storage_monitor/portable_device_watcher_win.cc new base::char16*[pnp_device_count]); base 439 components/storage_monitor/portable_device_watcher_win.cc const base::string16& pnp_device_id, base 443 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDeviceManager> portable_device_mgr; base 475 components/storage_monitor/portable_device_watcher_win.cc const base::string16& temporary_id, base 494 components/storage_monitor/portable_device_watcher_win.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 497 components/storage_monitor/portable_device_watcher_win.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 506 components/storage_monitor/portable_device_watcher_win.cc base::string16 device_id = GetPnpDeviceId(data); base 515 components/storage_monitor/portable_device_watcher_win.cc base::string16* device_location, base 516 components/storage_monitor/portable_device_watcher_win.cc base::string16* storage_object_id) const { base 543 components/storage_monitor/portable_device_watcher_win.cc base::string16 PortableDeviceWatcherWin::GetStoragePathFromStorageId( base 548 components/storage_monitor/portable_device_watcher_win.cc return base::UTF8ToUTF16("\\\\" + storage_unique_id); base 558 components/storage_monitor/portable_device_watcher_win.cc base::Callback<void(StorageMonitor::EjectStatus)> callback) { base 562 components/storage_monitor/portable_device_watcher_win.cc base::string16 device_location; // The device_map_ key. base 563 components/storage_monitor/portable_device_watcher_win.cc base::string16 storage_object_id; base 578 components/storage_monitor/portable_device_watcher_win.cc base::PostTaskAndReplyWithResult( base 581 components/storage_monitor/portable_device_watcher_win.cc base::Bind(&EnumerateAttachedDevicesOnBlockingThread, devices), base 582 components/storage_monitor/portable_device_watcher_win.cc base::Bind(&PortableDeviceWatcherWin::OnDidEnumerateAttachedDevices, base 583 components/storage_monitor/portable_device_watcher_win.cc weak_ptr_factory_.GetWeakPtr(), base::Owned(devices))); base 599 components/storage_monitor/portable_device_watcher_win.cc const base::string16& pnp_device_id) { base 603 components/storage_monitor/portable_device_watcher_win.cc base::PostTaskAndReplyWithResult( base 606 components/storage_monitor/portable_device_watcher_win.cc base::Bind(&HandleDeviceAttachedEventOnBlockingThread, pnp_device_id, base 608 components/storage_monitor/portable_device_watcher_win.cc base::Bind(&PortableDeviceWatcherWin::OnDidHandleDeviceAttachEvent, base 609 components/storage_monitor/portable_device_watcher_win.cc weak_ptr_factory_.GetWeakPtr(), base::Owned(device_details))); base 620 components/storage_monitor/portable_device_watcher_win.cc const base::string16& name = device_details->name; base 621 components/storage_monitor/portable_device_watcher_win.cc const base::string16& location = device_details->location; base 636 components/storage_monitor/portable_device_watcher_win.cc base::string16 model_name(name + L" (" + base 638 components/storage_monitor/portable_device_watcher_win.cc StorageInfo info(storage_id, location, base::string16(), base::string16(), base 650 components/storage_monitor/portable_device_watcher_win.cc const base::string16& pnp_device_id) { base 19 components/storage_monitor/portable_device_watcher_win.h namespace base { base 34 components/storage_monitor/portable_device_watcher_win.h typedef std::vector<base::string16> StorageObjectIDs; base 37 components/storage_monitor/portable_device_watcher_win.h DeviceStorageObject(const base::string16& temporary_id, base 44 components/storage_monitor/portable_device_watcher_win.h base::string16 object_temporary_id; base 55 components/storage_monitor/portable_device_watcher_win.h base::string16 name; base 58 components/storage_monitor/portable_device_watcher_win.h base::string16 location; base 84 components/storage_monitor/portable_device_watcher_win.h base::string16* device_location, base 85 components/storage_monitor/portable_device_watcher_win.h base::string16* storage_object_id) const; base 88 components/storage_monitor/portable_device_watcher_win.h static base::string16 GetStoragePathFromStorageId( base 96 components/storage_monitor/portable_device_watcher_win.h base::Callback<void(StorageMonitor::EjectStatus)> callback); base 107 components/storage_monitor/portable_device_watcher_win.h typedef std::map<base::string16, StorageObjects> MTPDeviceMap; base 115 components/storage_monitor/portable_device_watcher_win.h virtual void HandleDeviceAttachEvent(const base::string16& pnp_device_id); base 120 components/storage_monitor/portable_device_watcher_win.h void HandleDeviceDetachEvent(const base::string16& pnp_device_id); base 133 components/storage_monitor/portable_device_watcher_win.h scoped_refptr<base::SequencedTaskRunner> media_task_runner_; base 136 components/storage_monitor/portable_device_watcher_win.h base::WeakPtrFactory<PortableDeviceWatcherWin> weak_ptr_factory_; base 17 components/storage_monitor/removable_device_constants.cc const base::char16 kWPDDevInterfaceGUID[] = base 21 components/storage_monitor/removable_device_constants.cc const base::FilePath::CharType kDCIMDirectoryName[] = FILE_PATH_LITERAL("DCIM"); base 24 components/storage_monitor/removable_device_constants.h extern const base::char16 kWPDDevInterfaceGUID[]; base 27 components/storage_monitor/removable_device_constants.h extern const base::FilePath::CharType kDCIMDirectoryName[]; base 25 components/storage_monitor/storage_info.cc base::string16 GetDisplayNameForDevice(uint64 storage_size_in_bytes, base 26 components/storage_monitor/storage_info.cc const base::string16& name) { base 30 components/storage_monitor/storage_info.cc ui::FormatBytes(storage_size_in_bytes) + base::ASCIIToUTF16(" ") + name; base 33 components/storage_monitor/storage_info.cc base::string16 GetFullProductName(const base::string16& vendor_name, base 34 components/storage_monitor/storage_info.cc const base::string16& model_name) { base 36 components/storage_monitor/storage_info.cc return base::string16(); base 38 components/storage_monitor/storage_info.cc base::string16 product_name; base 44 components/storage_monitor/storage_info.cc product_name = vendor_name + base::UTF8ToUTF16(", ") + model_name; base 57 components/storage_monitor/storage_info.cc const base::FilePath::StringType& device_location, base 58 components/storage_monitor/storage_info.cc const base::string16& label, base 59 components/storage_monitor/storage_info.cc const base::string16& vendor, base 60 components/storage_monitor/storage_info.cc const base::string16& model, base 183 components/storage_monitor/storage_info.cc base::string16 StorageInfo::GetDisplayName(bool with_size) const { base 184 components/storage_monitor/storage_info.cc return GetDisplayNameWithOverride(base::string16(), with_size); base 187 components/storage_monitor/storage_info.cc base::string16 StorageInfo::GetDisplayNameWithOverride( base 188 components/storage_monitor/storage_info.cc const base::string16& override_display_name, bool with_size) const { base 192 components/storage_monitor/storage_info.cc return base::FilePath(location_).LossyDisplayName(); base 195 components/storage_monitor/storage_info.cc base::string16 name = override_display_name; base 201 components/storage_monitor/storage_info.cc name = base::ASCIIToUTF16("Unlabeled device"); base 37 components/storage_monitor/storage_info.h const base::FilePath::StringType& device_location, base 38 components/storage_monitor/storage_info.h const base::string16& label, base 39 components/storage_monitor/storage_info.h const base::string16& vendor, base 40 components/storage_monitor/storage_info.h const base::string16& model, base 74 components/storage_monitor/storage_info.h base::string16 GetDisplayName(bool with_size) const; base 77 components/storage_monitor/storage_info.h base::string16 GetDisplayNameWithOverride( base 78 components/storage_monitor/storage_info.h const base::string16& override_display_name, bool with_size) const; base 81 components/storage_monitor/storage_info.h const base::FilePath::StringType& location() const { return location_; } base 82 components/storage_monitor/storage_info.h const base::string16& storage_label() const { return storage_label_; } base 83 components/storage_monitor/storage_info.h const base::string16& vendor_name() const { return vendor_name_; } base 84 components/storage_monitor/storage_info.h const base::string16& model_name() const { return model_name_; } base 88 components/storage_monitor/storage_info.h void set_location(const base::FilePath::StringType& location) { base 100 components/storage_monitor/storage_info.h base::FilePath::StringType location_; base 104 components/storage_monitor/storage_info.h base::string16 storage_label_; base 108 components/storage_monitor/storage_info.h base::string16 vendor_name_; base 112 components/storage_monitor/storage_info.h base::string16 model_name_; base 77 components/storage_monitor/storage_monitor.cc base::AutoLock lock(storage_lock_); base 86 components/storage_monitor/storage_monitor.cc void StorageMonitor::EnsureInitialized(base::Closure callback) { base 130 components/storage_monitor/storage_monitor.cc base::Callback<void(EjectStatus)> callback) { base 153 components/storage_monitor/storage_monitor.cc for (std::vector<base::Closure>::iterator iter = base 163 components/storage_monitor/storage_monitor.cc base::AutoLock lock(storage_lock_); base 182 components/storage_monitor/storage_monitor.cc base::AutoLock lock(storage_lock_); base 96 components/storage_monitor/storage_monitor.h void EnsureInitialized(base::Closure callback); base 105 components/storage_monitor/storage_monitor.h const base::FilePath& path, base 118 components/storage_monitor/storage_monitor.h base::string16* device_location, base 119 components/storage_monitor/storage_monitor.h base::string16* storage_object_id) const = 0; base 139 components/storage_monitor/storage_monitor.h base::Callback<void(EjectStatus)> callback); base 177 components/storage_monitor/storage_monitor.h base::ThreadChecker thread_checker_; base 181 components/storage_monitor/storage_monitor.h std::vector<base::Closure> on_initialize_callbacks_; base 184 components/storage_monitor/storage_monitor.h mutable base::Lock storage_lock_; base 61 components/storage_monitor/storage_monitor_chromeos.cc base::string16 device_label = base::UTF8ToUTF16(disk->device_label()); base 73 components/storage_monitor/storage_monitor_chromeos.cc base::UTF8ToUTF16(disk->vendor_name()), base 74 components/storage_monitor/storage_monitor_chromeos.cc base::UTF8ToUTF16(disk->product_name()), base 83 components/storage_monitor/storage_monitor_chromeos.cc return MediaStorageUtil::HasDcim(base::FilePath(mount_info.mount_path)); base 107 components/storage_monitor/storage_monitor_chromeos.cc scoped_refptr<base::MessageLoopProxy> loop_proxy; base 125 components/storage_monitor/storage_monitor_chromeos.cc base::Bind(&CheckMountedPathOnFileThread, it->second), base 126 components/storage_monitor/storage_monitor_chromeos.cc base::Bind(&StorageMonitorCros::AddMountedPath, base 136 components/storage_monitor/storage_monitor_chromeos.cc base::Bind(&base::DoNothing), base 137 components/storage_monitor/storage_monitor_chromeos.cc base::Bind(&StorageMonitorCros::MarkInitialized, base 171 components/storage_monitor/storage_monitor_chromeos.cc base::Bind(&CheckMountedPathOnFileThread, mount_info), base 172 components/storage_monitor/storage_monitor_chromeos.cc base::Bind(&StorageMonitorCros::AddMountedPath, base 199 components/storage_monitor/storage_monitor_chromeos.cc const base::FilePath& path, base 211 components/storage_monitor/storage_monitor_chromeos.cc base::FilePath current = path; base 228 components/storage_monitor/storage_monitor_chromeos.cc base::Callback<void(StorageMonitor::EjectStatus)> callback, base 238 components/storage_monitor/storage_monitor_chromeos.cc base::Callback<void(EjectStatus)> callback) { base 269 components/storage_monitor/storage_monitor_chromeos.cc base::Bind(NotifyUnmountResult, callback)); base 64 components/storage_monitor/storage_monitor_chromeos.h virtual bool GetStorageInfoForPath(const base::FilePath& path, base 68 components/storage_monitor/storage_monitor_chromeos.h base::Callback<void(EjectStatus)> callback) OVERRIDE; base 95 components/storage_monitor/storage_monitor_chromeos.h base::WeakPtrFactory<StorageMonitorCros> weak_ptr_factory_; base 76 components/storage_monitor/storage_monitor_chromeos_unittest.cc virtual bool GetStorageInfoForPath(const base::FilePath& path, base 82 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::Callback<void(EjectStatus)> callback) OVERRIDE { base 122 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath CreateMountPoint(const std::string& dir, bool with_dcim_dir); base 142 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::ScopedTempDir scoped_temp_dir_; base 226 components/storage_monitor/storage_monitor_chromeos_unittest.cc if (!monitor_->GetStorageInfoForPath(base::FilePath(device_location), &info)) base 232 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath StorageMonitorCrosTest::CreateMountPoint( base 234 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath return_path(scoped_temp_dir_.path()); base 236 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath path(return_path); base 239 components/storage_monitor/storage_monitor_chromeos_unittest.cc if (!base::CreateDirectory(path)) base 240 components/storage_monitor/storage_monitor_chromeos_unittest.cc return base::FilePath(); base 247 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::MessageLoop::QuitClosure()); base 253 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::Bind(&PostQuitToUIThread)); base 254 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::MessageLoop::current()->Run(); base 263 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath mount_path1 = CreateMountPoint(kMountPointA, true); base 290 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath mount_path2 = CreateMountPoint(kMountPointB, true); base 321 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath mount_path = CreateMountPoint(kMountPointA, false); base 349 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath mount_path = CreateMountPoint(kMountPointA, true); base 400 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath mount_path1 = CreateMountPoint(kSDCardMountPoint1, true); base 427 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath mount_path2 = CreateMountPoint(kSDCardMountPoint2, true); base 456 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath mount_path1 = CreateMountPoint(kMountPointA, true); base 485 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath mount_path1 = CreateMountPoint(kMountPointA, true); base 521 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::FilePath mount_path1 = CreateMountPoint(kMountPointA, true); base 544 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::Bind(&StorageMonitorCrosTest::EjectNotify, base 545 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::Unretained(this))); base 546 components/storage_monitor/storage_monitor_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 98 components/storage_monitor/storage_monitor_linux.cc uint64 GetDeviceStorageSize(const base::FilePath& device_path, base 111 components/storage_monitor/storage_monitor_linux.cc if (!base::StringToUint64(partition_size, &total_size_in_bytes)) base 118 components/storage_monitor/storage_monitor_linux.cc scoped_ptr<StorageInfo> GetDeviceInfo(const base::FilePath& device_path, base 119 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mount_point) { base 149 components/storage_monitor/storage_monitor_linux.cc base::string16 volume_label = base 150 components/storage_monitor/storage_monitor_linux.cc base::UTF8ToUTF16(GetUdevDevicePropertyValue(device.get(), kLabel)); base 151 components/storage_monitor/storage_monitor_linux.cc base::string16 vendor_name = base 152 components/storage_monitor/storage_monitor_linux.cc base::UTF8ToUTF16(GetUdevDevicePropertyValue(device.get(), kVendor)); base 153 components/storage_monitor/storage_monitor_linux.cc base::string16 model_name = base 154 components/storage_monitor/storage_monitor_linux.cc base::UTF8ToUTF16(GetUdevDevicePropertyValue(device.get(), kModel)); base 195 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mtab_path, base 196 components/storage_monitor/storage_monitor_linux.cc base::WeakPtr<MtabWatcherLinux::Delegate> delegate) { base 203 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& path, base 204 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& device) { base 213 components/storage_monitor/storage_monitor_linux.cc base::LaunchOptions options; base 214 components/storage_monitor/storage_monitor_linux.cc base::ProcessHandle handle; base 215 components/storage_monitor/storage_monitor_linux.cc if (!base::LaunchProcess(command, options, &handle)) base 219 components/storage_monitor/storage_monitor_linux.cc if (!base::WaitForExitCodeWithTimeout(handle, &exit_code, base 220 components/storage_monitor/storage_monitor_linux.cc base::TimeDelta::FromMilliseconds(3000))) { base 221 components/storage_monitor/storage_monitor_linux.cc base::KillProcess(handle, -1, false); base 222 components/storage_monitor/storage_monitor_linux.cc base::EnsureProcessTerminated(handle); base 239 components/storage_monitor/storage_monitor_linux.cc StorageMonitorLinux::StorageMonitorLinux(const base::FilePath& path) base 241 components/storage_monitor/storage_monitor_linux.cc get_device_info_callback_(base::Bind(&GetDeviceInfo)), base 255 components/storage_monitor/storage_monitor_linux.cc base::Bind(&CreateMtabWatcherLinuxOnFileThread, base 258 components/storage_monitor/storage_monitor_linux.cc base::Bind(&StorageMonitorLinux::OnMtabWatcherCreated, base 262 components/storage_monitor/storage_monitor_linux.cc scoped_refptr<base::MessageLoopProxy> loop_proxy = base 274 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& path, base 290 components/storage_monitor/storage_monitor_linux.cc base::FilePath current = path; base 319 components/storage_monitor/storage_monitor_linux.cc base::Callback<void(EjectStatus)> callback) { base 332 components/storage_monitor/storage_monitor_linux.cc base::FilePath path; base 333 components/storage_monitor/storage_monitor_linux.cc base::FilePath device; base 353 components/storage_monitor/storage_monitor_linux.cc base::Bind(&EjectPathOnFileThread, path, device), base 367 components/storage_monitor/storage_monitor_linux.cc std::list<base::FilePath> mount_points_to_erase; base 368 components/storage_monitor/storage_monitor_linux.cc std::list<base::FilePath> multiple_mounted_devices_needing_reattachment; base 371 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mount_point = old_iter->first; base 372 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mount_device = old_iter->second.mount_device; base 401 components/storage_monitor/storage_monitor_linux.cc for (std::list<base::FilePath>::const_iterator it = base 411 components/storage_monitor/storage_monitor_linux.cc for (std::list<base::FilePath>::const_iterator it = base 417 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mount_point = first_mount_point_info->first; base 429 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mount_point = new_iter->first; base 430 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mount_device = new_iter->second; base 441 components/storage_monitor/storage_monitor_linux.cc base::Bind(get_device_info_callback_, mount_device, mount_point), base 442 components/storage_monitor/storage_monitor_linux.cc base::Bind(&StorageMonitorLinux::AddNewMount, base 456 components/storage_monitor/storage_monitor_linux.cc base::Bind(&base::DoNothing), base 457 components/storage_monitor/storage_monitor_linux.cc base::Bind(&StorageMonitorLinux::MarkInitialized, base 463 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mount_device) const { base 469 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mount_device, base 470 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& mount_point) { base 475 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& other_mount_point = priority->second.begin()->first; base 481 components/storage_monitor/storage_monitor_linux.cc void StorageMonitorLinux::AddNewMount(const base::FilePath& mount_device, base 491 components/storage_monitor/storage_monitor_linux.cc const base::FilePath mount_point(storage_info->location()); base 502 components/storage_monitor/storage_monitor_linux.cc const base::FilePath kDefaultMtabPath("/etc/mtab"); base 41 components/storage_monitor/storage_monitor_linux.h explicit StorageMonitorLinux(const base::FilePath& mtab_file_path); base 49 components/storage_monitor/storage_monitor_linux.h typedef base::Callback<scoped_ptr<StorageInfo>( base 50 components/storage_monitor/storage_monitor_linux.h const base::FilePath& device_path, base 51 components/storage_monitor/storage_monitor_linux.h const base::FilePath& mount_point)> GetDeviceInfoCallback; base 67 components/storage_monitor/storage_monitor_linux.h base::FilePath mount_device; base 80 components/storage_monitor/storage_monitor_linux.h typedef std::map<base::FilePath, MountPointInfo> MountMap; base 85 components/storage_monitor/storage_monitor_linux.h typedef std::map<base::FilePath, bool> ReferencedMountPoint; base 90 components/storage_monitor/storage_monitor_linux.h typedef std::map<base::FilePath, ReferencedMountPoint> MountPriorityMap; base 93 components/storage_monitor/storage_monitor_linux.h virtual bool GetStorageInfoForPath(const base::FilePath& path, base 96 components/storage_monitor/storage_monitor_linux.h base::Callback<void(EjectStatus)> callback) OVERRIDE; base 103 components/storage_monitor/storage_monitor_linux.h bool IsDeviceAlreadyMounted(const base::FilePath& mount_device) const; base 107 components/storage_monitor/storage_monitor_linux.h void HandleDeviceMountedMultipleTimes(const base::FilePath& mount_device, base 108 components/storage_monitor/storage_monitor_linux.h const base::FilePath& mount_point); base 111 components/storage_monitor/storage_monitor_linux.h void AddNewMount(const base::FilePath& mount_device, base 115 components/storage_monitor/storage_monitor_linux.h const base::FilePath mtab_path_; base 139 components/storage_monitor/storage_monitor_linux.h base::WeakPtrFactory<StorageMonitorLinux> weak_ptr_factory_; base 71 components/storage_monitor/storage_monitor_linux_unittest.cc scoped_ptr<StorageInfo> GetDeviceInfo(const base::FilePath& device_path, base 72 components/storage_monitor/storage_monitor_linux_unittest.cc const base::FilePath& mount_point) { base 92 components/storage_monitor/storage_monitor_linux_unittest.cc base::ASCIIToUTF16("volume label"), base 93 components/storage_monitor/storage_monitor_linux_unittest.cc base::ASCIIToUTF16("vendor name"), base 94 components/storage_monitor/storage_monitor_linux_unittest.cc base::ASCIIToUTF16("model name"), base 123 components/storage_monitor/storage_monitor_linux_unittest.cc explicit TestStorageMonitorLinux(const base::FilePath& path) base 127 components/storage_monitor/storage_monitor_linux_unittest.cc SetGetDeviceInfoCallbackForTest(base::Bind(&GetDeviceInfo)); base 135 components/storage_monitor/storage_monitor_linux_unittest.cc base::MessageLoopProxy::current()->PostTask( base 136 components/storage_monitor/storage_monitor_linux_unittest.cc FROM_HERE, base::MessageLoop::QuitClosure()); base 166 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_dir = scoped_temp_dir_.path().AppendASCII("test_etc"); base 167 components/storage_monitor/storage_monitor_linux_unittest.cc ASSERT_TRUE(base::CreateDirectory(test_dir)); base 182 components/storage_monitor/storage_monitor_linux_unittest.cc base::RunLoop().RunUntilIdle(); base 186 components/storage_monitor/storage_monitor_linux_unittest.cc base::RunLoop().RunUntilIdle(); base 188 components/storage_monitor/storage_monitor_linux_unittest.cc base::RunLoop().RunUntilIdle(); base 198 components/storage_monitor/storage_monitor_linux_unittest.cc base::RunLoop().Run(); base 205 components/storage_monitor/storage_monitor_linux_unittest.cc base::RunLoop().Run(); base 218 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath CreateMountPointWithDCIMDir(const std::string& dir) { base 225 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath CreateMountPointWithoutDCIMDir(const std::string& dir) { base 230 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath dcim = base 232 components/storage_monitor/storage_monitor_linux_unittest.cc base::DeleteFile(dcim, false); base 243 components/storage_monitor/storage_monitor_linux_unittest.cc uint64 GetStorageSize(const base::FilePath& path) { base 257 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath CreateMountPoint(const std::string& dir, bool with_dcim_dir) { base 258 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath return_path(scoped_temp_dir_.path()); base 260 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath path(return_path); base 263 components/storage_monitor/storage_monitor_linux_unittest.cc if (!base::CreateDirectory(path)) base 264 components/storage_monitor/storage_monitor_linux_unittest.cc return base::FilePath(); base 306 components/storage_monitor/storage_monitor_linux_unittest.cc base::ScopedTempDir scoped_temp_dir_; base 308 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath mtab_file_; base 317 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path = CreateMountPointWithDCIMDir(kMountPointA); base 341 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_a = CreateMountPointWithDCIMDir(kMountPointA); base 355 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_b = CreateMountPointWithoutDCIMDir(kMountPointB); base 389 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_a = CreateMountPointWithDCIMDir(kMountPointA); base 390 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_b = CreateMountPointWithDCIMDir(kMountPointB); base 426 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_a = CreateMountPointWithDCIMDir(kMountPointA); base 427 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_b = CreateMountPointWithDCIMDir(kMountPointB); base 493 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_a = CreateMountPointWithDCIMDir(kMountPointA); base 494 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_b = CreateMountPointWithDCIMDir(kMountPointB); base 549 components/storage_monitor/storage_monitor_linux_unittest.cc base::DeleteFile(test_path_b.Append(kDCIMDirectoryName), false); base 579 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_a = CreateMountPointWithDCIMDir(kMountPointA); base 580 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_b = CreateMountPointWithoutDCIMDir(kMountPointB); base 581 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_c = CreateMountPointWithoutDCIMDir(kMountPointC); base 605 components/storage_monitor/storage_monitor_linux_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("volume label"), device_info.storage_label()); base 606 components/storage_monitor/storage_monitor_linux_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("vendor name"), device_info.vendor_name()); base 607 components/storage_monitor/storage_monitor_linux_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("model name"), device_info.model_name()); base 618 components/storage_monitor/storage_monitor_linux_unittest.cc EXPECT_FALSE(notifier()->GetStorageInfoForPath(base::FilePath(kInvalidPath), base 653 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_a = CreateMountPointWithDCIMDir(kMountPointA); base 654 components/storage_monitor/storage_monitor_linux_unittest.cc base::FilePath test_path_b = CreateMountPointWithoutDCIMDir(kMountPointB); base 672 components/storage_monitor/storage_monitor_linux_unittest.cc GetStorageSize(base::FilePath(kInvalidPath))); base 22 components/storage_monitor/storage_monitor_mac.h public base::SupportsWeakPtr<StorageMonitorMac> { base 42 components/storage_monitor/storage_monitor_mac.h const base::FilePath& path, base 47 components/storage_monitor/storage_monitor_mac.h base::Callback<void(EjectStatus)> callback) OVERRIDE; base 58 components/storage_monitor/storage_monitor_mac.h bool FindDiskWithMountPoint(const base::FilePath& mount_point, base 61 components/storage_monitor/storage_monitor_mac.h base::ScopedCFTypeRef<DASessionRef> session_; base 29 components/storage_monitor/storage_monitor_unittest.cc monitor.EnsureInitialized(base::Bind(&SetLatch, &initialized)); base 38 components/storage_monitor/storage_monitor_unittest.cc base::MessageLoop message_loop; base 47 components/storage_monitor/storage_monitor_unittest.cc StorageInfo info(kDeviceId1, FILE_PATH_LITERAL("path"), base::string16(), base 48 components/storage_monitor/storage_monitor_unittest.cc base::string16(), base::string16(), 0); base 81 components/storage_monitor/storage_monitor_unittest.cc base::MessageLoop message_loop; base 89 components/storage_monitor/storage_monitor_unittest.cc base::MessageLoop message_loop; base 92 components/storage_monitor/storage_monitor_unittest.cc const base::FilePath kDevicePath1(FILE_PATH_LITERAL("/testfoo")); base 93 components/storage_monitor/storage_monitor_unittest.cc StorageInfo info1(kDeviceId1, kDevicePath1.value(), base::string16(), base 94 components/storage_monitor/storage_monitor_unittest.cc base::string16(), base::string16(), 0); base 103 components/storage_monitor/storage_monitor_unittest.cc const base::FilePath kDevicePath2(FILE_PATH_LITERAL("/testbar")); base 104 components/storage_monitor/storage_monitor_unittest.cc StorageInfo info2(kDeviceId2, kDevicePath2.value(), base::string16(), base 105 components/storage_monitor/storage_monitor_unittest.cc base::string16(), base::string16(), 0); base 48 components/storage_monitor/storage_monitor_win.cc base::win::InitializeWindowClass( base 50 components/storage_monitor/storage_monitor_win.cc &base::win::WrappedWindowProc<StorageMonitorWin::WndProcThunk>, base 64 components/storage_monitor/storage_monitor_win.cc bool StorageMonitorWin::GetStorageInfoForPath(const base::FilePath& path, base 77 components/storage_monitor/storage_monitor_win.cc base::FilePath relative; base 78 components/storage_monitor/storage_monitor_win.cc if (base::FilePath(attached_devices[i].location()).AppendRelativePath( base 99 components/storage_monitor/storage_monitor_win.cc base::Callback<void(EjectStatus)> callback) { base 116 components/storage_monitor/storage_monitor_win.cc base::string16* device_location, base 117 components/storage_monitor/storage_monitor_win.cc base::string16* storage_object_id) const { base 148 components/storage_monitor/storage_monitor_win.cc bool StorageMonitorWin::GetDeviceInfo(const base::FilePath& device_path, base 13 components/storage_monitor/storage_monitor_win.h namespace base { base 38 components/storage_monitor/storage_monitor_win.h virtual bool GetStorageInfoForPath(const base::FilePath& path, base 42 components/storage_monitor/storage_monitor_win.h base::string16* device_location, base 43 components/storage_monitor/storage_monitor_win.h base::string16* storage_object_id) const OVERRIDE; base 47 components/storage_monitor/storage_monitor_win.h base::Callback<void(EjectStatus)> callback) OVERRIDE; base 55 components/storage_monitor/storage_monitor_win.h bool GetDeviceInfo(const base::FilePath& device_path, base 30 components/storage_monitor/storage_monitor_win_unittest.cc using base::ASCIIToUTF16; base 59 components/storage_monitor/storage_monitor_win_unittest.cc void DoMTPDeviceTest(const base::string16& pnp_device_id, bool test_attach); base 65 components/storage_monitor/storage_monitor_win_unittest.cc base::string16* pnp_device_id, base 66 components/storage_monitor/storage_monitor_win_unittest.cc base::string16* storage_object_id); base 113 components/storage_monitor/storage_monitor_win_unittest.cc std::vector<base::FilePath> initial_devices = base 115 components/storage_monitor/storage_monitor_win_unittest.cc for (std::vector<base::FilePath>::const_iterator it = initial_devices.begin(); base 137 components/storage_monitor/storage_monitor_win_unittest.cc std::vector<base::FilePath> checked_devices = base 147 components/storage_monitor/storage_monitor_win_unittest.cc base::RunLoop().RunUntilIdle(); base 205 components/storage_monitor/storage_monitor_win_unittest.cc void StorageMonitorWinTest::DoMTPDeviceTest(const base::string16& pnp_device_id, base 212 components/storage_monitor/storage_monitor_win_unittest.cc size_t device_id_size = pnp_device_id.size() * sizeof(base::char16); base 214 components/storage_monitor/storage_monitor_win_unittest.cc scoped_ptr<DEV_BROADCAST_DEVICEINTERFACE, base::FreeDeleter> base 232 components/storage_monitor/storage_monitor_win_unittest.cc base::string16 name; base 233 components/storage_monitor/storage_monitor_win_unittest.cc base::string16 location; base 254 components/storage_monitor/storage_monitor_win_unittest.cc base::string16* pnp_device_id, base 255 components/storage_monitor/storage_monitor_win_unittest.cc base::string16* storage_object_id) { base 276 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\")), &info)); base 283 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("G:\\")), &info)); base 285 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\")), &info)); base 288 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\subdir")), &info1)); base 291 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\subdir\\sub")), &info2)); base 302 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(FILE_PATH_LITERAL("F:\\mount1")), base 305 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(FILE_PATH_LITERAL("F:\\mount1\\subdir")), base 308 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(FILE_PATH_LITERAL("F:\\mount2")), base 315 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\dir")), &info)); base 318 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\mount1")), &info)); base 321 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\mount1\\dir")), &info)); base 324 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\mount2\\dir")), &info)); base 327 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\mount1\\subdir")), &info)); base 330 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\mount1\\subdir\\dir")), &info)); base 333 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath(ASCIIToUTF16("F:\\mount1\\subdir\\dir\\dir")), &info)); base 411 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath kAttachedDevicePath = base 440 components/storage_monitor/storage_monitor_win_unittest.cc const std::vector<base::FilePath>& checked_devices = base 462 components/storage_monitor/storage_monitor_win_unittest.cc EXPECT_FALSE(monitor_->GetStorageInfoForPath(base::FilePath(L"COM1:\\"), base 466 components/storage_monitor/storage_monitor_win_unittest.cc EXPECT_FALSE(monitor_->GetStorageInfoForPath(base::FilePath(L"E:\\"), base 470 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath removable_device(L"F:\\"); base 482 components/storage_monitor/storage_monitor_win_unittest.cc base::FilePath fixed_device(L"N:\\"); base 535 components/storage_monitor/storage_monitor_win_unittest.cc base::string16 pnp_device_id; base 536 components/storage_monitor/storage_monitor_win_unittest.cc base::string16 storage_object_id; base 539 components/storage_monitor/storage_monitor_win_unittest.cc base::string16 expected( base 18 components/storage_monitor/test_portable_device_watcher_win.cc const base::char16 kMTPDeviceFriendlyName[] = L"Camera V1.1"; base 19 components/storage_monitor/test_portable_device_watcher_win.cc const base::char16 kStorageLabelA[] = L"Camera V1.1 (s10001)"; base 20 components/storage_monitor/test_portable_device_watcher_win.cc const base::char16 kStorageLabelB[] = L"Camera V1.1 (s20001)"; base 21 components/storage_monitor/test_portable_device_watcher_win.cc const base::char16 kStorageObjectIdA[] = L"s10001"; base 22 components/storage_monitor/test_portable_device_watcher_win.cc const base::char16 kStorageObjectIdB[] = L"s20001"; base 29 components/storage_monitor/test_portable_device_watcher_win.cc base::string16 GetMTPStorageName(const base::string16& pnp_device_id, base 30 components/storage_monitor/test_portable_device_watcher_win.cc const base::string16& storage_object_id) { base 32 components/storage_monitor/test_portable_device_watcher_win.cc return base::string16(); base 37 components/storage_monitor/test_portable_device_watcher_win.cc kStorageLabelB : base::string16(); base 45 components/storage_monitor/test_portable_device_watcher_win.cc const base::char16 base 48 components/storage_monitor/test_portable_device_watcher_win.cc const base::char16 TestPortableDeviceWatcherWin::kMTPDeviceWithInvalidInfo[] = base 50 components/storage_monitor/test_portable_device_watcher_win.cc const base::char16 TestPortableDeviceWatcherWin::kMTPDeviceWithValidInfo[] = base 64 components/storage_monitor/test_portable_device_watcher_win.cc const base::string16& pnp_device_id, base 65 components/storage_monitor/test_portable_device_watcher_win.cc const base::string16& storage_object_id) { base 75 components/storage_monitor/test_portable_device_watcher_win.cc const base::string16& pnp_device_id) { base 85 components/storage_monitor/test_portable_device_watcher_win.cc const base::string16& pnp_device_id, base 86 components/storage_monitor/test_portable_device_watcher_win.cc const base::string16& storage_object_id, base 87 components/storage_monitor/test_portable_device_watcher_win.cc base::string16* device_location, base 89 components/storage_monitor/test_portable_device_watcher_win.cc base::string16* name) { base 93 components/storage_monitor/test_portable_device_watcher_win.cc *device_location = base::UTF8ToUTF16("\\\\" + storage_unique_id); base 105 components/storage_monitor/test_portable_device_watcher_win.cc const base::string16& pnp_device_id) { base 122 components/storage_monitor/test_portable_device_watcher_win.cc const base::string16& pnp_device_id) { base 125 components/storage_monitor/test_portable_device_watcher_win.cc kMTPDeviceFriendlyName : base::string16(), base 134 components/storage_monitor/test_portable_device_watcher_win.cc base::string16* device_location, base 135 components/storage_monitor/test_portable_device_watcher_win.cc base::string16* storage_object_id) const { base 21 components/storage_monitor/test_portable_device_watcher_win.h static const base::char16 kMTPDeviceWithMultipleStorages[]; base 22 components/storage_monitor/test_portable_device_watcher_win.h static const base::char16 kMTPDeviceWithInvalidInfo[]; base 23 components/storage_monitor/test_portable_device_watcher_win.h static const base::char16 kMTPDeviceWithValidInfo[]; base 35 components/storage_monitor/test_portable_device_watcher_win.h const base::string16& pnp_device_id, base 36 components/storage_monitor/test_portable_device_watcher_win.h const base::string16& storage_object_id); base 41 components/storage_monitor/test_portable_device_watcher_win.h const base::string16& pnp_device_id); base 45 components/storage_monitor/test_portable_device_watcher_win.h static void GetMTPStorageDetails(const base::string16& pnp_device_id, base 46 components/storage_monitor/test_portable_device_watcher_win.h const base::string16& storage_object_id, base 47 components/storage_monitor/test_portable_device_watcher_win.h base::string16* device_location, base 49 components/storage_monitor/test_portable_device_watcher_win.h base::string16* name); base 54 components/storage_monitor/test_portable_device_watcher_win.h const base::string16& pnp_device_id); base 65 components/storage_monitor/test_portable_device_watcher_win.h const base::string16& pnp_device_id) OVERRIDE; base 68 components/storage_monitor/test_portable_device_watcher_win.h base::string16* device_location, base 69 components/storage_monitor/test_portable_device_watcher_win.h base::string16* storage_object_id) const OVERRIDE; base 62 components/storage_monitor/test_storage_monitor.cc base::WaitableEvent event(true, false); base 63 components/storage_monitor/test_storage_monitor.cc monitor->EnsureInitialized(base::Bind(&base::WaitableEvent::Signal, base 64 components/storage_monitor/test_storage_monitor.cc base::Unretained(&event))); base 66 components/storage_monitor/test_storage_monitor.cc base::RunLoop().RunUntilIdle(); base 80 components/storage_monitor/test_storage_monitor.cc const base::FilePath& path, base 90 components/storage_monitor/test_storage_monitor.cc StorageInfo(device_id, path.value(), base::string16(), base::string16(), base 91 components/storage_monitor/test_storage_monitor.cc base::string16(), 0); base 98 components/storage_monitor/test_storage_monitor.cc base::string16* device_location, base 99 components/storage_monitor/test_storage_monitor.cc base::string16* storage_object_id) const { base 117 components/storage_monitor/test_storage_monitor.cc base::Callback<void(EjectStatus)> callback) { base 38 components/storage_monitor/test_storage_monitor.h const base::FilePath& path, base 44 components/storage_monitor/test_storage_monitor.h base::string16* device_location, base 45 components/storage_monitor/test_storage_monitor.h base::string16* storage_object_id) const OVERRIDE; base 57 components/storage_monitor/test_storage_monitor.h base::Callback<void(StorageMonitor::EjectStatus)> callback) base 19 components/storage_monitor/test_volume_mount_watcher_win.cc base::FilePath GetTempRoot() { base 20 components/storage_monitor/test_volume_mount_watcher_win.cc base::ScopedTempDir temp_dir; base 22 components/storage_monitor/test_volume_mount_watcher_win.cc base::FilePath temp_root = temp_dir.path(); base 28 components/storage_monitor/test_volume_mount_watcher_win.cc std::vector<base::FilePath> FakeGetSingleAttachedDevice() { base 29 components/storage_monitor/test_volume_mount_watcher_win.cc std::vector<base::FilePath> result; base 34 components/storage_monitor/test_volume_mount_watcher_win.cc base::FilePath temp_root = GetTempRoot(); base 41 components/storage_monitor/test_volume_mount_watcher_win.cc std::vector<base::FilePath> FakeGetAttachedDevices() { base 42 components/storage_monitor/test_volume_mount_watcher_win.cc std::vector<base::FilePath> result; base 57 components/storage_monitor/test_volume_mount_watcher_win.cc bool GetMassStorageDeviceDetails(const base::FilePath& device_path, base 62 components/storage_monitor/test_volume_mount_watcher_win.cc base::FilePath path(device_path); base 64 components/storage_monitor/test_volume_mount_watcher_win.cc path = base::FilePath(device_path.value().substr(0, 3)); base 69 components/storage_monitor/test_volume_mount_watcher_win.cc if (path.value() != base::ASCIIToUTF16("N:\\") && base 70 components/storage_monitor/test_volume_mount_watcher_win.cc path.value() != base::ASCIIToUTF16("C:\\") && base 78 components/storage_monitor/test_volume_mount_watcher_win.cc base::string16 storage_label = path.Append(L" Drive").LossyDisplayName(); base 79 components/storage_monitor/test_volume_mount_watcher_win.cc *info = StorageInfo(device_id, path.value(), storage_label, base::string16(), base 80 components/storage_monitor/test_volume_mount_watcher_win.cc base::string16(), 1000000); base 96 components/storage_monitor/test_volume_mount_watcher_win.cc const base::FilePath& device_path, base 98 components/storage_monitor/test_volume_mount_watcher_win.cc const base::string16& storage_label, base 101 components/storage_monitor/test_volume_mount_watcher_win.cc base::string16(), base::string16(), total_size_in_bytes); base 114 components/storage_monitor/test_volume_mount_watcher_win.cc const base::FilePath& device_path) { base 122 components/storage_monitor/test_volume_mount_watcher_win.cc device_check_complete_event_.reset(new base::WaitableEvent(false, false)); base 132 components/storage_monitor/test_volume_mount_watcher_win.cc const base::FilePath& device_path, base 142 components/storage_monitor/test_volume_mount_watcher_win.cc return base::Bind(&GetMassStorageDeviceDetails); base 148 components/storage_monitor/test_volume_mount_watcher_win.cc return base::Bind(&FakeGetAttachedDevices); base 149 components/storage_monitor/test_volume_mount_watcher_win.cc return base::Bind(&FakeGetSingleAttachedDevice); base 18 components/storage_monitor/test_volume_mount_watcher_win.h namespace base { base 29 components/storage_monitor/test_volume_mount_watcher_win.h static bool GetDeviceRemovable(const base::FilePath& device_path, base 32 components/storage_monitor/test_volume_mount_watcher_win.h void AddDeviceForTesting(const base::FilePath& device_path, base 34 components/storage_monitor/test_volume_mount_watcher_win.h const base::string16& device_name, base 41 components/storage_monitor/test_volume_mount_watcher_win.h virtual void DeviceCheckComplete(const base::FilePath& device_path); base 43 components/storage_monitor/test_volume_mount_watcher_win.h const std::vector<base::FilePath>& devices_checked() const { base 62 components/storage_monitor/test_volume_mount_watcher_win.h std::vector<base::FilePath> devices_checked_; base 63 components/storage_monitor/test_volume_mount_watcher_win.h scoped_ptr<base::WaitableEvent> device_check_complete_event_; base 27 components/storage_monitor/transient_device_ids.cc transient_id = base::GenerateGUID(); base 42 components/storage_monitor/transient_device_ids.h base::ThreadChecker thread_checker_; base 25 components/storage_monitor/udev_util_linux.cc bool GetUdevDevicePropertyValueByPath(const base::FilePath& device_path, base 14 components/storage_monitor/udev_util_linux.h namespace base { base 40 components/storage_monitor/udev_util_linux.h bool GetUdevDevicePropertyValueByPath(const base::FilePath& device_path, base 58 components/storage_monitor/volume_mount_watcher_win.cc DeviceType GetDeviceType(const base::string16& mount_point) { base 69 components/storage_monitor/volume_mount_watcher_win.cc base::string16 device = mount_point; base 72 components/storage_monitor/volume_mount_watcher_win.cc base::string16 device_path; base 73 components/storage_monitor/volume_mount_watcher_win.cc base::string16 device_path_slash; base 76 components/storage_monitor/volume_mount_watcher_win.cc base::string16 device_slash = base::string16(L"\\\\.\\"); base 83 components/storage_monitor/volume_mount_watcher_win.cc if (device_path.find(L"Floppy") != base::string16::npos || base 84 components/storage_monitor/volume_mount_watcher_win.cc device_path_slash.find(L"Floppy") != base::string16::npos) { base 109 components/storage_monitor/volume_mount_watcher_win.cc uint64 GetVolumeSize(const base::string16& mount_point) { base 121 components/storage_monitor/volume_mount_watcher_win.cc bool GetDeviceDetails(const base::FilePath& device_path, StorageInfo* info) { base 124 components/storage_monitor/volume_mount_watcher_win.cc base::string16 mount_point; base 134 components/storage_monitor/volume_mount_watcher_win.cc base::string16 guid; base 153 components/storage_monitor/volume_mount_watcher_win.cc StorageInfo::FIXED_MASS_STORAGE, base::UTF16ToUTF8(guid))); base 160 components/storage_monitor/volume_mount_watcher_win.cc if (MediaStorageUtil::HasDcim(base::FilePath(mount_point))) base 166 components/storage_monitor/volume_mount_watcher_win.cc base::string16 volume_label; base 173 components/storage_monitor/volume_mount_watcher_win.cc StorageInfo::MakeDeviceId(type, base::UTF16ToUTF8(guid)); base 177 components/storage_monitor/volume_mount_watcher_win.cc *info = StorageInfo(device_id, mount_point, volume_label, base::string16(), base 178 components/storage_monitor/volume_mount_watcher_win.cc base::string16(), total_size_in_bytes); base 184 components/storage_monitor/volume_mount_watcher_win.cc std::vector<base::FilePath> GetAttachedDevices() { base 185 components/storage_monitor/volume_mount_watcher_win.cc std::vector<base::FilePath> result; base 186 components/storage_monitor/volume_mount_watcher_win.cc base::string16 volume_name; base 193 components/storage_monitor/volume_mount_watcher_win.cc base::string16 volume_path; base 198 components/storage_monitor/volume_mount_watcher_win.cc result.push_back(base::FilePath(volume_path)); base 219 components/storage_monitor/volume_mount_watcher_win.cc const base::FilePath& device, base 220 components/storage_monitor/volume_mount_watcher_win.cc base::Callback<void(StorageMonitor::EjectStatus)> callback, base 221 components/storage_monitor/volume_mount_watcher_win.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 223 components/storage_monitor/volume_mount_watcher_win.cc base::FilePath::StringType volume_name; base 224 components/storage_monitor/volume_mount_watcher_win.cc base::FilePath::CharType drive_letter = device.value()[0]; base 232 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(callback, StorageMonitor::EJECT_FAILURE)); base 235 components/storage_monitor/volume_mount_watcher_win.cc base::SStringPrintf(&volume_name, L"\\\\.\\%lc:", drive_letter); base 237 components/storage_monitor/volume_mount_watcher_win.cc base::win::ScopedHandle volume_handle(CreateFile( base 245 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(callback, StorageMonitor::EJECT_FAILURE)); base 264 components/storage_monitor/volume_mount_watcher_win.cc const base::TimeDelta kLockRetryInterval = base 265 components/storage_monitor/volume_mount_watcher_win.cc base::TimeDelta::FromMilliseconds(500); base 272 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(&EjectDeviceInThreadPool, base 279 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(callback, StorageMonitor::EJECT_IN_USE)); base 295 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(callback, StorageMonitor::EJECT_OK)); base 307 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(callback, StorageMonitor::EJECT_FAILURE)); base 316 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(callback, StorageMonitor::EJECT_FAILURE)); base 321 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(callback, StorageMonitor::EJECT_OK)); base 330 components/storage_monitor/volume_mount_watcher_win.cc : device_info_worker_pool_(new base::SequencedWorkerPool( base 337 components/storage_monitor/volume_mount_watcher_win.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 341 components/storage_monitor/volume_mount_watcher_win.cc base::FilePath VolumeMountWatcherWin::DriveNumberToFilePath(int drive_number) { base 343 components/storage_monitor/volume_mount_watcher_win.cc return base::FilePath(); base 344 components/storage_monitor/volume_mount_watcher_win.cc base::string16 path(L"_:\\"); base 346 components/storage_monitor/volume_mount_watcher_win.cc return base::FilePath(path); base 362 components/storage_monitor/volume_mount_watcher_win.cc base::PostTaskAndReplyWithResult(task_runner_, FROM_HERE, base 364 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(&VolumeMountWatcherWin::AddDevicesOnUIThread, base 369 components/storage_monitor/volume_mount_watcher_win.cc std::vector<base::FilePath> removable_devices) { base 378 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(&VolumeMountWatcherWin::RetrieveInfoForDeviceAndAdd, base 386 components/storage_monitor/volume_mount_watcher_win.cc const base::FilePath& device_path, base 388 components/storage_monitor/volume_mount_watcher_win.cc base::WeakPtr<VolumeMountWatcherWin> volume_watcher) { base 393 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(&VolumeMountWatcherWin::DeviceCheckComplete, base 400 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(&VolumeMountWatcherWin::HandleDeviceAttachEventOnUIThread, base 405 components/storage_monitor/volume_mount_watcher_win.cc const base::FilePath& device_path) { base 417 components/storage_monitor/volume_mount_watcher_win.cc return base::Bind(&GetAttachedDevices); base 422 components/storage_monitor/volume_mount_watcher_win.cc return base::Bind(&GetDeviceDetails); base 425 components/storage_monitor/volume_mount_watcher_win.cc bool VolumeMountWatcherWin::GetDeviceInfo(const base::FilePath& device_path, base 429 components/storage_monitor/volume_mount_watcher_win.cc base::FilePath path(device_path); base 450 components/storage_monitor/volume_mount_watcher_win.cc std::vector<base::FilePath> paths; base 485 components/storage_monitor/volume_mount_watcher_win.cc const base::FilePath& device_path, base 498 components/storage_monitor/volume_mount_watcher_win.cc const base::string16& device_location) { base 502 components/storage_monitor/volume_mount_watcher_win.cc device_metadata_.find(base::FilePath(device_location)); base 514 components/storage_monitor/volume_mount_watcher_win.cc base::Callback<void(StorageMonitor::EjectStatus)> callback) { base 516 components/storage_monitor/volume_mount_watcher_win.cc base::FilePath device = MediaStorageUtil::FindDevicePathById(device_id); base 528 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(&EjectDeviceInThreadPool, device, callback, task_runner_, 0)); base 38 components/storage_monitor/volume_mount_watcher_win.h static base::FilePath DriveNumberToFilePath(int drive_number); base 45 components/storage_monitor/volume_mount_watcher_win.h bool GetDeviceInfo(const base::FilePath& device_path, base 57 components/storage_monitor/volume_mount_watcher_win.h base::Callback<void(StorageMonitor::EjectStatus)> callback); base 60 components/storage_monitor/volume_mount_watcher_win.h typedef base::Callback<bool(const base::FilePath&, base 63 components/storage_monitor/volume_mount_watcher_win.h typedef base::Callback<std::vector<base::FilePath>(void)> base 68 components/storage_monitor/volume_mount_watcher_win.h const base::FilePath& device_path, base 72 components/storage_monitor/volume_mount_watcher_win.h void HandleDeviceDetachEventOnUIThread(const base::string16& device_location); base 75 components/storage_monitor/volume_mount_watcher_win.h void AddDevicesOnUIThread(std::vector<base::FilePath> removable_devices); base 80 components/storage_monitor/volume_mount_watcher_win.h const base::FilePath& device_path, base 82 components/storage_monitor/volume_mount_watcher_win.h base::WeakPtr<VolumeMountWatcherWin> volume_watcher); base 85 components/storage_monitor/volume_mount_watcher_win.h virtual void DeviceCheckComplete(const base::FilePath& device_path); base 93 components/storage_monitor/volume_mount_watcher_win.h scoped_refptr<base::SequencedWorkerPool> device_info_worker_pool_; base 94 components/storage_monitor/volume_mount_watcher_win.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 101 components/storage_monitor/volume_mount_watcher_win.h typedef std::map<base::FilePath, StorageInfo> MountPointDeviceMetadataMap; base 106 components/storage_monitor/volume_mount_watcher_win.h std::set<base::FilePath> pending_device_checks_; base 112 components/storage_monitor/volume_mount_watcher_win.h base::WeakPtrFactory<VolumeMountWatcherWin> weak_factory_; base 50 components/sync_driver/backend_data_type_configurer.h const base::Callback<void(syncer::ModelTypeSet, base 52 components/sync_driver/backend_data_type_configurer.h const base::Callback<void()>& retry_callback) = 0; base 12 components/sync_driver/data_type_controller.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 13 components/sync_driver/data_type_controller.cc const base::Closure& error_callback) base 14 components/sync_driver/data_type_controller.cc : base::RefCountedDeleteOnMessageLoop<DataTypeController>(ui_thread), base 31 components/sync_driver/data_type_controller.h : public base::RefCountedDeleteOnMessageLoop<DataTypeController>, base 64 components/sync_driver/data_type_controller.h typedef base::Callback<void(StartResult, base 68 components/sync_driver/data_type_controller.h typedef base::Callback<void(syncer::ModelType, base 121 components/sync_driver/data_type_controller.h friend class base::RefCountedDeleteOnMessageLoop<DataTypeController>; base 122 components/sync_driver/data_type_controller.h friend class base::DeleteHelper<DataTypeController>; base 124 components/sync_driver/data_type_controller.h DataTypeController(scoped_refptr<base::MessageLoopProxy> ui_thread, base 125 components/sync_driver/data_type_controller.h const base::Closure& error_callback); base 143 components/sync_driver/data_type_controller.h base::Closure error_callback_; base 14 components/sync_driver/fake_data_type_controller.cc : DataTypeController(base::MessageLoopProxy::current(), base::Closure()), base 74 components/sync_driver/model_association_manager.cc const base::TimeDelta& association_wait_time, base 75 components/sync_driver/model_association_manager.cc const base::TimeDelta& association_time) { base 182 components/sync_driver/model_association_manager.cc dtc->LoadModels(base::Bind(&ModelAssociationManager::ModelLoadCallback, base 193 components/sync_driver/model_association_manager.cc association_start_time_ = base::TimeTicks::Now(); base 218 components/sync_driver/model_association_manager.cc base::TimeDelta::FromSeconds(kAssociationTimeOutInSeconds), base 238 components/sync_driver/model_association_manager.cc base::Bind(&ModelAssociationManager::TypeStartCallback, base 240 components/sync_driver/model_association_manager.cc type, base::TimeTicks::Now())); base 314 components/sync_driver/model_association_manager.cc base::TimeTicks::Now(), base 325 components/sync_driver/model_association_manager.cc base::Bind(&ModelAssociationManager::TypeStartCallback, base 327 components/sync_driver/model_association_manager.cc type, base::TimeTicks::Now())); base 333 components/sync_driver/model_association_manager.cc base::TimeTicks type_start_time, base 383 components/sync_driver/model_association_manager.cc base::TimeDelta association_wait_time = base 384 components/sync_driver/model_association_manager.cc std::max(base::TimeDelta(), type_start_time - association_start_time_); base 385 components/sync_driver/model_association_manager.cc base::TimeDelta association_time = base 386 components/sync_driver/model_association_manager.cc base::TimeTicks::Now() - type_start_time;; base 451 components/sync_driver/model_association_manager.cc base::OneShotTimer<ModelAssociationManager>* base 65 components/sync_driver/model_association_manager.h base::OneShotTimer<ModelAssociationManager>* GetTimerForTesting(); base 90 components/sync_driver/model_association_manager.h base::TimeTicks type_start_time, base 140 components/sync_driver/model_association_manager.h base::TimeTicks association_start_time_; base 149 components/sync_driver/model_association_manager.h base::OneShotTimer<ModelAssociationManager> timer_; base 151 components/sync_driver/model_association_manager.h base::WeakPtrFactory<ModelAssociationManager> weak_ptr_factory_; base 64 components/sync_driver/model_association_manager_unittest.cc base::MessageLoopForUI ui_loop_; base 10 components/sync_driver/proxy_data_type_controller.cc scoped_refptr<base::MessageLoopProxy> ui_thread, base 12 components/sync_driver/proxy_data_type_controller.cc : DataTypeController(ui_thread, base::Closure()), base 20 components/sync_driver/proxy_data_type_controller.h scoped_refptr<base::MessageLoopProxy> ui_thread, base 29 components/sync_driver/sync_prefs.cc base::Bind(&SyncPrefs::OnSyncManagedPrefChanged, base::Unretained(this))); base 192 components/sync_driver/sync_prefs.cc base::Time SyncPrefs::GetLastSyncedTime() const { base 194 components/sync_driver/sync_prefs.cc return base::Time::FromInternalValue( base 198 components/sync_driver/sync_prefs.cc void SyncPrefs::SetLastSyncedTime(base::Time time) { base 363 components/sync_driver/sync_prefs.cc scoped_ptr<base::ListValue> value( base 50 components/sync_driver/sync_prefs.h class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe), base 51 components/sync_driver/sync_prefs.h public base::SupportsWeakPtr<SyncPrefs> { base 78 components/sync_driver/sync_prefs.h base::Time GetLastSyncedTime() const; base 79 components/sync_driver/sync_prefs.h void SetLastSyncedTime(base::Time time); base 38 components/sync_driver/sync_prefs_unittest.cc base::Bind(&TestingPrefServiceBase< base 91 components/sync_driver/sync_prefs_unittest.cc base::MessageLoop loop_; base 107 components/sync_driver/sync_prefs_unittest.cc EXPECT_EQ(base::Time(), sync_prefs.GetLastSyncedTime()); base 108 components/sync_driver/sync_prefs_unittest.cc const base::Time& now = base::Time::Now(); base 273 components/sync_driver/sync_prefs_unittest.cc EXPECT_EQ(base::Time(), sync_prefs.GetLastSyncedTime()); base 277 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetLastSyncedTime(base::Time::Now()); base 281 components/sync_driver/sync_prefs_unittest.cc EXPECT_NE(base::Time(), sync_prefs.GetLastSyncedTime()); base 287 components/sync_driver/sync_prefs_unittest.cc EXPECT_EQ(base::Time(), sync_prefs.GetLastSyncedTime()); base 31 components/test/run_all_unittests.cc class ComponentsTestSuite : public base::TestSuite { base 33 components/test/run_all_unittests.cc ComponentsTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {} base 37 components/test/run_all_unittests.cc base::TestSuite::Initialize(); base 43 components/test/run_all_unittests.cc JNIEnv* env = base::android::AttachCurrentThread(); base 50 components/test/run_all_unittests.cc base::FilePath path; base 51 components/test/run_all_unittests.cc PathService::Get(base::DIR_EXE, &path); base 65 components/test/run_all_unittests.cc base::mac::SetOverrideFrameworkBundlePath(path); base 73 components/test/run_all_unittests.cc base::FilePath resources_pack_path; base 74 components/test/run_all_unittests.cc PathService::Get(base::DIR_MODULE, &resources_pack_path); base 84 components/test/run_all_unittests.cc base::mac::SetOverrideFrameworkBundle(NULL); base 87 components/test/run_all_unittests.cc base::TestSuite::Shutdown(); base 123 components/test/run_all_unittests.cc return base::LaunchUnitTests( base 124 components/test/run_all_unittests.cc argc, argv, base::Bind(&base::TestSuite::Run, base 125 components/test/run_all_unittests.cc base::Unretained(&test_suite))); base 11 components/tracing/child_trace_message_filter.cc using base::debug::TraceLog; base 16 components/tracing/child_trace_message_filter.cc base::MessageLoopProxy* ipc_message_loop) base 51 components/tracing/child_trace_message_filter.cc base::TimeTicks browser_time, base 57 components/tracing/child_trace_message_filter.cc base::TimeDelta time_offset = base::TimeTicks::NowFromSystemTraceTime() - base 63 components/tracing/child_trace_message_filter.cc base::debug::CategoryFilter(category_filter_str), base 64 components/tracing/child_trace_message_filter.cc base::debug::TraceLog::RECORDING_MODE, base 65 components/tracing/child_trace_message_filter.cc static_cast<base::debug::TraceLog::Options>(options)); base 76 components/tracing/child_trace_message_filter.cc base::Bind(&ChildTraceMessageFilter::OnTraceDataCollected, this)); base 81 components/tracing/child_trace_message_filter.cc base::TimeTicks browser_time, base 84 components/tracing/child_trace_message_filter.cc base::debug::CategoryFilter(category_filter_str), base 85 components/tracing/child_trace_message_filter.cc base::debug::TraceLog::MONITORING_MODE, base 86 components/tracing/child_trace_message_filter.cc static_cast<base::debug::TraceLog::Options>(options)); base 100 components/tracing/child_trace_message_filter.cc base::Bind(&ChildTraceMessageFilter::OnMonitoringTraceDataCollected, base 114 components/tracing/child_trace_message_filter.cc base::Bind(&ChildTraceMessageFilter::OnWatchEventMatched, this)); base 124 components/tracing/child_trace_message_filter.cc base::Bind(&ChildTraceMessageFilter::OnWatchEventMatched, this)); base 131 components/tracing/child_trace_message_filter.cc const scoped_refptr<base::RefCountedString>& events_str_ptr, base 135 components/tracing/child_trace_message_filter.cc base::Bind(&ChildTraceMessageFilter::OnTraceDataCollected, this, base 151 components/tracing/child_trace_message_filter.cc const scoped_refptr<base::RefCountedString>& events_str_ptr, base 155 components/tracing/child_trace_message_filter.cc base::Bind(&ChildTraceMessageFilter:: base 12 components/tracing/child_trace_message_filter.h namespace base { base 21 components/tracing/child_trace_message_filter.h explicit ChildTraceMessageFilter(base::MessageLoopProxy* ipc_message_loop); base 34 components/tracing/child_trace_message_filter.h base::TimeTicks browser_time, base 38 components/tracing/child_trace_message_filter.h base::TimeTicks browser_time, base 50 components/tracing/child_trace_message_filter.h const scoped_refptr<base::RefCountedString>& events_str_ptr, base 54 components/tracing/child_trace_message_filter.h const scoped_refptr<base::RefCountedString>& events_str_ptr, base 58 components/tracing/child_trace_message_filter.h base::MessageLoopProxy* ipc_message_loop_; base 21 components/tracing/tracing_messages.h base::TimeTicks /* browser_time */, base 30 components/tracing/tracing_messages.h base::TimeTicks /* browser_time */, base 25 components/translate/core/browser/translate_accept_languages.cc base::Bind(&TranslateAcceptLanguages::InitAcceptLanguages, base 26 components/translate/core/browser/translate_accept_languages.cc base::Unretained(this), base 66 components/translate/core/browser/translate_accept_languages.cc base::SplitString(accept_langs_str, ',', &accept_langs_list); base 15 components/translate/core/browser/translate_browser_metrics_unittest.cc using base::HistogramBase; base 16 components/translate/core/browser/translate_browser_metrics_unittest.cc using base::HistogramSamples; base 17 components/translate/core/browser/translate_browser_metrics_unittest.cc using base::StatisticsRecorder; base 68 components/translate/core/browser/translate_download_manager.cc base::Time TranslateDownloadManager::GetSupportedLanguagesLastUpdated() { base 72 components/translate/core/browser/translate_download_manager.cc return base::Time(); base 61 components/translate/core/browser/translate_download_manager.h static base::Time GetSupportedLanguagesLastUpdated(); base 14 components/translate/core/browser/translate_error_details.h base::Time time; base 13 components/translate/core/browser/translate_event_details.cc time = base::Time::Now(); base 18 components/translate/core/browser/translate_event_details.h base::Time time; base 193 components/translate/core/browser/translate_language_list.cc std::string message = base::StringPrintf( base 200 components/translate/core/browser/translate_language_list.cc base::Bind(&TranslateLanguageList::OnLanguageListFetchComplete, base 201 components/translate/core/browser/translate_language_list.cc base::Unretained(this))); base 247 components/translate/core/browser/translate_language_list.cc last_updated_ = base::Time::Now(); base 279 components/translate/core/browser/translate_language_list.cc scoped_ptr<base::Value> json_value( base 280 components/translate/core/browser/translate_language_list.cc base::JSONReader::Read(languages_json, base::JSON_ALLOW_TRAILING_COMMAS)); base 281 components/translate/core/browser/translate_language_list.cc if (json_value == NULL || !json_value->IsType(base::Value::TYPE_DICTIONARY)) { base 288 components/translate/core/browser/translate_language_list.cc base::DictionaryValue* language_dict = base 289 components/translate/core/browser/translate_language_list.cc static_cast<base::DictionaryValue*>(json_value.get()); base 290 components/translate/core/browser/translate_language_list.cc base::DictionaryValue* target_languages = NULL; base 305 components/translate/core/browser/translate_language_list.cc for (base::DictionaryValue::Iterator iter(*target_languages); base 322 components/translate/core/browser/translate_language_list.cc base::DictionaryValue* alpha_languages = NULL; base 332 components/translate/core/browser/translate_language_list.cc for (base::DictionaryValue::Iterator iter(*alpha_languages); base 31 components/translate/core/browser/translate_language_list.h base::Time last_updated() { return last_updated_; } base 58 components/translate/core/browser/translate_language_list.h typedef base::Callback<void(const TranslateEventDetails&)> EventCallback; base 59 components/translate/core/browser/translate_language_list.h typedef base::CallbackList<void(const TranslateEventDetails&)> base 111 components/translate/core/browser/translate_language_list.h base::Time last_updated_; base 39 components/translate/core/browser/translate_prefs.cc const base::ListValue* list = prefs->GetList(key); base 40 components/translate/core/browser/translate_prefs.cc for (base::ListValue::const_iterator it = list->begin(); base 68 components/translate/core/browser/translate_prefs.cc base::SplitString(language, '-', &tokens); base 155 components/translate/core/browser/translate_prefs.cc const base::DictionaryValue* dict = base 169 components/translate/core/browser/translate_prefs.cc base::DictionaryValue* dict = update.Get(); base 181 components/translate/core/browser/translate_prefs.cc base::DictionaryValue* dict = update.Get(); base 215 components/translate/core/browser/translate_prefs.cc const base::DictionaryValue* dict = base 224 components/translate/core/browser/translate_prefs.cc base::DictionaryValue* dict = update.Get(); base 237 components/translate/core/browser/translate_prefs.cc const base::DictionaryValue* dict = base 246 components/translate/core/browser/translate_prefs.cc base::DictionaryValue* dict = update.Get(); base 269 components/translate/core/browser/translate_prefs.cc base::SplitString(languages_str, ',', languages); base 311 components/translate/core/browser/translate_prefs.cc const base::DictionaryValue* dict = base 360 components/translate/core/browser/translate_prefs.cc base::DictionaryValue* dict = update.Get(); base 362 components/translate/core/browser/translate_prefs.cc base::DictionaryValue::Iterator iter(*dict); base 364 components/translate/core/browser/translate_prefs.cc const base::ListValue* list = NULL; base 397 components/translate/core/browser/translate_prefs.cc base::SplitString(accept_languages_str, ',', &accept_languages); base 405 components/translate/core/browser/translate_prefs.cc base::ListValue blocked_languages_list; base 409 components/translate/core/browser/translate_prefs.cc blocked_languages_list.Append(new base::StringValue(*it)); base 412 components/translate/core/browser/translate_prefs.cc base::ListValue* list = update.Get(); base 477 components/translate/core/browser/translate_prefs.cc base::SplitString(lang, '-', &tokens); base 491 components/translate/core/browser/translate_prefs.cc bool TranslatePrefs::IsValueInList(const base::ListValue* list, base 503 components/translate/core/browser/translate_prefs.cc const base::ListValue* blacklist = prefs_->GetList(pref_id); base 511 components/translate/core/browser/translate_prefs.cc base::ListValue* blacklist = update.Get(); base 516 components/translate/core/browser/translate_prefs.cc blacklist->Append(new base::StringValue(value)); base 523 components/translate/core/browser/translate_prefs.cc base::ListValue* blacklist = update.Get(); base 528 components/translate/core/browser/translate_prefs.cc base::StringValue string_value(value); base 533 components/translate/core/browser/translate_prefs.cc const base::ListValue* blacklist = prefs_->GetList(pref_id); base 538 components/translate/core/browser/translate_prefs.cc const base::DictionaryValue* dict = prefs_->GetDictionary(pref_id); base 18 components/translate/core/browser/translate_prefs.h namespace base { base 128 components/translate/core/browser/translate_prefs.h bool IsValueInList(const base::ListValue* list, base 143 components/translate/core/browser/translate_prefs.h base::DictionaryValue* GetTranslationDeniedCountDictionary(); base 147 components/translate/core/browser/translate_prefs.h base::DictionaryValue* GetTranslationAcceptedCountDictionary() const; base 47 components/translate/core/browser/translate_script.cc : expiration_delay_(base::TimeDelta::FromDays(kExpirationDelayDays)), base 113 components/translate/core/browser/translate_script.cc base::Bind(&TranslateScript::OnScriptFetchComplete, base 114 components/translate/core/browser/translate_script.cc base::Unretained(this))); base 127 components/translate/core/browser/translate_script.cc data_ = base::StringPrintf("var translateApiKey = '%s';\n", base 131 components/translate/core/browser/translate_script.cc base::StringAppendF( base 135 components/translate/core/browser/translate_script.cc base::StringPiece str = ResourceBundle::GetSharedInstance(). base 143 components/translate/core/browser/translate_script.cc base::MessageLoop::current()->PostDelayedTask( base 145 components/translate/core/browser/translate_script.cc base::Bind(&TranslateScript::Clear, base 22 components/translate/core/browser/translate_script.h typedef base::Callback<void(bool, const std::string&)> RequestCallback; base 36 components/translate/core/browser/translate_script.h expiration_delay_ = base::TimeDelta::FromMilliseconds(delay_ms); base 82 components/translate/core/browser/translate_script.h base::TimeDelta expiration_delay_; base 88 components/translate/core/browser/translate_script.h base::WeakPtrFactory<TranslateScript> weak_method_factory_; base 36 components/translate/core/browser/translate_script_unittest.cc base::Bind(&TranslateScriptTest::OnComplete, base::Unretained(this))); base 71 components/translate/core/browser/translate_script_unittest.cc base::StringPrintf("%s\r\n\r\n", TranslateScript::kRequestHeader); base 18 components/translate/core/browser/translate_url_fetcher.h typedef base::Callback<void(int, bool, const std::string&)> Callback; base 19 components/translate/core/common/language_detection_details.h base::Time time; base 40 components/translate/core/common/language_detection_details.h base::string16 contents; base 85 components/translate/core/common/translate_metrics.cc base::TimeDelta::FromMicroseconds(time_in_msec * 1000.0)); base 91 components/translate/core/common/translate_metrics.cc base::TimeDelta::FromMicroseconds(time_in_msec * 1000.0)); base 97 components/translate/core/common/translate_metrics.cc base::TimeDelta::FromMicroseconds(time_in_msec * 1000.0)); base 100 components/translate/core/common/translate_metrics.cc void ReportUserActionDuration(base::TimeTicks begin, base::TimeTicks end) { base 113 components/translate/core/common/translate_metrics.cc void ReportLanguageDetectionTime(base::TimeTicks begin, base::TimeTicks end) { base 87 components/translate/core/common/translate_metrics.h void ReportUserActionDuration(base::TimeTicks begin, base::TimeTicks end); base 93 components/translate/core/common/translate_metrics.h void ReportLanguageDetectionTime(base::TimeTicks begin, base::TimeTicks end); base 15 components/translate/core/common/translate_metrics_unittest.cc using base::HistogramBase; base 16 components/translate/core/common/translate_metrics_unittest.cc using base::HistogramSamples; base 17 components/translate/core/common/translate_metrics_unittest.cc using base::SampleCountIterator; base 18 components/translate/core/common/translate_metrics_unittest.cc using base::StatisticsRecorder; base 19 components/translate/core/common/translate_metrics_unittest.cc using base::TimeTicks; base 243 components/translate/core/common/translate_metrics_unittest.cc TimeTicks end = begin + base::TimeDelta::FromSeconds(3776); base 280 components/translate/core/common/translate_metrics_unittest.cc TimeTicks end = begin + base::TimeDelta::FromMicroseconds(9009); base 25 components/translate/core/common/translate_util.cc base::SplitString(language, '-', &chunks); base 75 components/translate/language_detection/language_detection_util.cc std::string group_name = base::FieldTrialList::FindFullName("CLD1VsCLD2"); base 88 components/translate/language_detection/language_detection_util.cc std::string DetermineTextLanguage(const base::string16& text, base 113 components/translate/language_detection/language_detection_util.cc std::string utf8_text(base::UTF16ToUTF8(text)); base 200 components/translate/language_detection/language_detection_util.cc const base::string16& contents, base 203 components/translate/language_detection/language_detection_util.cc base::TimeTicks begin_time = base::TimeTicks::Now(); base 206 components/translate/language_detection/language_detection_util.cc translate::ReportLanguageDetectionTime(begin_time, base::TimeTicks::Now()); base 284 components/translate/language_detection/language_detection_util.cc base::TrimWhitespaceASCII(*code, base::TRIM_ALL, code); base 305 components/translate/language_detection/language_detection_util.cc base::SplitString(code, '-', &chunks); base 342 components/translate/language_detection/language_detection_util.cc base::SplitString(page_language, '-', &chunks); base 347 components/translate/language_detection/language_detection_util.cc base::SplitString(cld_language, '-', &chunks); base 17 components/translate/language_detection/language_detection_util.h const base::string16& contents, base 97 components/translate/language_detection/language_detection_util_unittest.cc base::string16 contents = base::ASCIIToUTF16( base 117 components/translate/language_detection/language_detection_util_unittest.cc base::string16 contents = base::ASCIIToUTF16( base 138 components/translate/language_detection/language_detection_util_unittest.cc base::string16 contents = base::ASCIIToUTF16( base 158 components/translate/language_detection/language_detection_util_unittest.cc base::string16 contents = base::ASCIIToUTF16( base 755 components/url_matcher/url_matcher.cc base::STLSetDifference<std::vector<const StringPattern*> >( base 761 components/url_matcher/url_matcher.cc base::STLSetDifference<std::vector<const StringPattern*> >( base 20 components/url_matcher/url_matcher.h namespace base { base 255 components/url_matcher/url_matcher.h : public base::RefCounted<URLMatcherConditionSet> { base 278 components/url_matcher/url_matcher.h friend class base::RefCounted<URLMatcherConditionSet>; base 98 components/url_matcher/url_matcher_factory.cc static base::LazyInstance<URLMatcherConditionFactoryMethods> base 107 components/url_matcher/url_matcher_factory.cc const base::DictionaryValue* url_filter_dict, base 114 components/url_matcher/url_matcher_factory.cc for (base::DictionaryValue::Iterator iter(*url_filter_dict); base 117 components/url_matcher/url_matcher_factory.cc const base::Value& condition_attribute_value = iter.value(); base 143 components/url_matcher/url_matcher_factory.cc *error = base::StringPrintf(kUnknownURLFilterAttribute, base 185 components/url_matcher/url_matcher_factory.cc const base::Value* value, base 189 components/url_matcher/url_matcher_factory.cc *error = base::StringPrintf(kAttributeExpectedString, base 198 components/url_matcher/url_matcher_factory.cc *error = base::StringPrintf(kLowerCaseExpected, "Host"); base 208 components/url_matcher/url_matcher_factory.cc *error = base::StringPrintf( base 219 components/url_matcher/url_matcher_factory.cc const base::Value* value, base 223 components/url_matcher/url_matcher_factory.cc *error = base::StringPrintf(kVectorOfStringsExpected, keys::kSchemesKey); base 229 components/url_matcher/url_matcher_factory.cc *error = base::StringPrintf(kLowerCaseExpected, "Scheme"); base 239 components/url_matcher/url_matcher_factory.cc const base::Value* value, base 242 components/url_matcher/url_matcher_factory.cc const base::ListValue* value_list = NULL; base 248 components/url_matcher/url_matcher_factory.cc for (base::ListValue::const_iterator i = value_list->begin(); base 250 components/url_matcher/url_matcher_factory.cc base::Value* entry = *i; base 252 components/url_matcher/url_matcher_factory.cc base::ListValue* range = NULL; base 14 components/url_matcher/url_matcher_factory.h namespace base { base 35 components/url_matcher/url_matcher_factory.h const base::DictionaryValue* url_filter_dict, base 49 components/url_matcher/url_matcher_factory.h const base::Value* value, base 53 components/url_matcher/url_matcher_factory.h const base::Value* value, std::string* error); base 56 components/url_matcher/url_matcher_factory.h const base::Value* value, std::string* error); base 26 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue invalid_condition; base 30 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue invalid_condition2; base 31 components/url_matcher/url_matcher_factory_unittest.cc invalid_condition2.Set(keys::kHostSuffixKey, new base::ListValue); base 34 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue invalid_condition3; base 38 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue invalid_condition4; base 50 components/url_matcher/url_matcher_factory_unittest.cc base::ListValue* port_range = new base::ListValue(); base 51 components/url_matcher/url_matcher_factory_unittest.cc port_range->Append(base::Value::CreateIntegerValue(1000)); base 52 components/url_matcher/url_matcher_factory_unittest.cc port_range->Append(base::Value::CreateIntegerValue(1010)); base 53 components/url_matcher/url_matcher_factory_unittest.cc base::ListValue* port_ranges = new base::ListValue(); base 54 components/url_matcher/url_matcher_factory_unittest.cc port_ranges->Append(base::Value::CreateIntegerValue(80)); base 57 components/url_matcher/url_matcher_factory_unittest.cc base::ListValue* scheme_list = new base::ListValue(); base 58 components/url_matcher/url_matcher_factory_unittest.cc scheme_list->Append(base::Value::CreateStringValue("http")); base 60 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue valid_condition; base 123 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue invalid_condition1; base 127 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue invalid_condition2; base 131 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue invalid_condition3; base 135 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue invalid_condition4; base 139 components/url_matcher/url_matcher_factory_unittest.cc base::ListValue* scheme_list = new base::ListValue(); base 140 components/url_matcher/url_matcher_factory_unittest.cc scheme_list->Append(base::Value::CreateStringValue("HTTP")); base 141 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue invalid_condition5; base 144 components/url_matcher/url_matcher_factory_unittest.cc const base::DictionaryValue* invalid_conditions[] = { base 230 components/url_matcher/url_matcher_factory_unittest.cc base::DictionaryValue condition; base 232 components/url_matcher/url_matcher_factory_unittest.cc base::ListValue* list = new base::ListValue(); base 233 components/url_matcher/url_matcher_factory_unittest.cc list->Append(base::Value::CreateStringValue(value)); base 334 components/url_matcher/url_matcher_factory_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration: %" PRIuS, i)); base 14 components/url_matcher/url_matcher_helpers.cc bool GetAsStringVector(const base::Value* value, base 16 components/url_matcher/url_matcher_helpers.cc const base::ListValue* value_as_list = 0; base 13 components/url_matcher/url_matcher_helpers.h namespace base { base 22 components/url_matcher/url_matcher_helpers.h bool GetAsStringVector(const base::Value* value, std::vector<std::string>* out); base 21 components/user_prefs/pref_registry_syncable.cc base::Value* CreateLocaleDefaultValue(base::Value::Type type, base 26 components/user_prefs/pref_registry_syncable.cc case base::Value::TYPE_BOOLEAN: { base 28 components/user_prefs/pref_registry_syncable.cc return base::Value::CreateBooleanValue(true); base 30 components/user_prefs/pref_registry_syncable.cc return base::Value::CreateBooleanValue(false); base 34 components/user_prefs/pref_registry_syncable.cc case base::Value::TYPE_INTEGER: { base 36 components/user_prefs/pref_registry_syncable.cc base::StringToInt(resource_string, &val); base 37 components/user_prefs/pref_registry_syncable.cc return base::Value::CreateIntegerValue(val); base 40 components/user_prefs/pref_registry_syncable.cc case base::Value::TYPE_DOUBLE: { base 42 components/user_prefs/pref_registry_syncable.cc base::StringToDouble(resource_string, &val); base 43 components/user_prefs/pref_registry_syncable.cc return base::Value::CreateDoubleValue(val); base 46 components/user_prefs/pref_registry_syncable.cc case base::Value::TYPE_STRING: { base 47 components/user_prefs/pref_registry_syncable.cc return base::Value::CreateStringValue(resource_string); base 56 components/user_prefs/pref_registry_syncable.cc return base::Value::CreateNullValue(); base 81 components/user_prefs/pref_registry_syncable.cc base::Value::CreateBooleanValue(default_value), base 89 components/user_prefs/pref_registry_syncable.cc base::Value::CreateIntegerValue(default_value), base 97 components/user_prefs/pref_registry_syncable.cc base::Value::CreateDoubleValue(default_value), base 105 components/user_prefs/pref_registry_syncable.cc base::Value::CreateStringValue(default_value), base 111 components/user_prefs/pref_registry_syncable.cc const base::FilePath& default_value, base 114 components/user_prefs/pref_registry_syncable.cc base::Value::CreateStringValue( base 121 components/user_prefs/pref_registry_syncable.cc RegisterSyncablePreference(path, new base::ListValue(), sync_status); base 125 components/user_prefs/pref_registry_syncable.cc base::ListValue* default_value, base 132 components/user_prefs/pref_registry_syncable.cc RegisterSyncablePreference(path, new base::DictionaryValue(), sync_status); base 137 components/user_prefs/pref_registry_syncable.cc base::DictionaryValue* default_value, base 148 components/user_prefs/pref_registry_syncable.cc CreateLocaleDefaultValue(base::Value::TYPE_BOOLEAN, base 159 components/user_prefs/pref_registry_syncable.cc CreateLocaleDefaultValue(base::Value::TYPE_INTEGER, base 170 components/user_prefs/pref_registry_syncable.cc CreateLocaleDefaultValue(base::Value::TYPE_DOUBLE, base 181 components/user_prefs/pref_registry_syncable.cc CreateLocaleDefaultValue(base::Value::TYPE_STRING, base 192 components/user_prefs/pref_registry_syncable.cc base::Value::CreateStringValue(base::Int64ToString(default_value)), base 202 components/user_prefs/pref_registry_syncable.cc base::Value::CreateStringValue(base::Uint64ToString(default_value)), base 208 components/user_prefs/pref_registry_syncable.cc base::Value* default_value, base 15 components/user_prefs/pref_registry_syncable.h namespace base { base 48 components/user_prefs/pref_registry_syncable.h base::Callback<void(const char* path, const PrefSyncStatus sync_status)> base 80 components/user_prefs/pref_registry_syncable.h const base::FilePath& default_value, base 87 components/user_prefs/pref_registry_syncable.h base::ListValue* default_value, base 90 components/user_prefs/pref_registry_syncable.h base::DictionaryValue* default_value, base 119 components/user_prefs/pref_registry_syncable.h base::Value* default_value, base 26 components/user_prefs/user_prefs.h class USER_PREFS_EXPORT UserPrefs : public base::SupportsUserData::Data { base 91 components/variations/entropy_provider.cc unsigned char sha1_hash[base::kSHA1Length]; base 92 components/variations/entropy_provider.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(input.c_str()), base 99 components/variations/entropy_provider.cc bits = base::ByteSwapToLE64(bits); base 101 components/variations/entropy_provider.cc return base::BitsToOpenEndedUnitInterval(bits); base 45 components/variations/entropy_provider.h class SHA1EntropyProvider : public base::FieldTrial::EntropyProvider { base 68 components/variations/entropy_provider.h class PermutedEntropyProvider : public base::FieldTrial::EntropyProvider { base 90 components/variations/entropy_provider_unittest.cc static_cast<uint16>(base::RandInt(0, kMaxLowEntropySize - 1)); base 92 components/variations/entropy_provider_unittest.cc base::GenerateGUID() + base::IntToString(low_entropy_source); base 121 components/variations/entropy_provider_unittest.cc static_cast<uint16>(base::RandInt(0, kMaxLowEntropySize - 1)); base 192 components/variations/entropy_provider_unittest.cc base::FieldTrialList field_trial_list(new SHA1EntropyProvider("client_id")); base 193 components/variations/entropy_provider_unittest.cc const int kNoExpirationYear = base::FieldTrialList::kNoExpirationYear; base 194 components/variations/entropy_provider_unittest.cc scoped_refptr<base::FieldTrial> trials[] = { base 195 components/variations/entropy_provider_unittest.cc base::FieldTrialList::FactoryGetFieldTrial( base 197 components/variations/entropy_provider_unittest.cc base::FieldTrial::ONE_TIME_RANDOMIZED, NULL), base 198 components/variations/entropy_provider_unittest.cc base::FieldTrialList::FactoryGetFieldTrial( base 200 components/variations/entropy_provider_unittest.cc base::FieldTrial::ONE_TIME_RANDOMIZED, NULL), base 221 components/variations/entropy_provider_unittest.cc base::FieldTrialList field_trial_list( base 223 components/variations/entropy_provider_unittest.cc const int kNoExpirationYear = base::FieldTrialList::kNoExpirationYear; base 224 components/variations/entropy_provider_unittest.cc scoped_refptr<base::FieldTrial> trials[] = { base 225 components/variations/entropy_provider_unittest.cc base::FieldTrialList::FactoryGetFieldTrial( base 227 components/variations/entropy_provider_unittest.cc base::FieldTrial::ONE_TIME_RANDOMIZED, NULL), base 228 components/variations/entropy_provider_unittest.cc base::FieldTrialList::FactoryGetFieldTrial( base 230 components/variations/entropy_provider_unittest.cc base::FieldTrial::ONE_TIME_RANDOMIZED, NULL), base 247 components/variations/entropy_provider_unittest.cc base::FieldTrialList field_trial_list( base 249 components/variations/entropy_provider_unittest.cc const int kNoExpirationYear = base::FieldTrialList::kNoExpirationYear; base 251 components/variations/entropy_provider_unittest.cc scoped_refptr<base::FieldTrial> trials[] = { base 252 components/variations/entropy_provider_unittest.cc base::FieldTrialList::FactoryGetFieldTrialWithRandomizationSeed( base 254 components/variations/entropy_provider_unittest.cc base::FieldTrial::ONE_TIME_RANDOMIZED, kCustomSeed, NULL), base 255 components/variations/entropy_provider_unittest.cc base::FieldTrialList::FactoryGetFieldTrialWithRandomizationSeed( base 257 components/variations/entropy_provider_unittest.cc base::FieldTrial::ONE_TIME_RANDOMIZED, kCustomSeed, NULL), base 15 components/variations/metrics_util.cc unsigned char sha1_hash[base::kSHA1Length]; base 16 components/variations/metrics_util.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(name.c_str()), base 24 components/variations/metrics_util.cc return base::ByteSwapToLE32(bits); base 19 components/variations/processed_study.cc base::FieldTrial::Probability* total_probability) { base 39 components/variations/processed_study.cc base::FieldTrial::Probability divisor = 0; base 84 components/variations/processed_study.cc base::FieldTrial::Probability total_probability = 0; base 27 components/variations/processed_study.h base::FieldTrial::Probability total_probability() const { base 43 components/variations/processed_study.h base::FieldTrial::Probability total_probability_; base 46 components/variations/variations_associated_data.cc base::AutoLock scoped_lock(lock_); base 56 components/variations/variations_associated_data.cc base::AutoLock scoped_lock(lock_); base 65 components/variations/variations_associated_data.cc base::AutoLock scoped_lock(lock_); base 87 components/variations/variations_associated_data.cc base::Lock lock_; base 108 components/variations/variations_associated_data.cc base::AutoLock scoped_lock(lock_); base 123 components/variations/variations_associated_data.cc base::AutoLock scoped_lock(lock_); base 126 components/variations/variations_associated_data.cc base::FieldTrialList::FindFullName(trial_name); base 136 components/variations/variations_associated_data.cc base::AutoLock scoped_lock(lock_); base 149 components/variations/variations_associated_data.cc base::FieldTrial::ActiveGroups active_groups; base 150 components/variations/variations_associated_data.cc base::FieldTrialList::GetActiveFieldTrialGroups(&active_groups); base 158 components/variations/variations_associated_data.cc base::Lock lock_; base 20 components/variations/variations_associated_data_unittest.cc VariationID GetIDForTrial(IDCollectionKey key, base::FieldTrial* trial) { base 26 components/variations/variations_associated_data_unittest.cc base::FieldTrial::ActiveGroups active_groups; base 27 components/variations/variations_associated_data_unittest.cc base::FieldTrialList::GetActiveFieldTrialGroups(&active_groups); base 36 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> CreateFieldTrial( base 41 components/variations/variations_associated_data_unittest.cc return base::FieldTrialList::FactoryGetFieldTrial( base 43 components/variations/variations_associated_data_unittest.cc base::FieldTrialList::kNoExpirationYear, 1, 1, base 44 components/variations/variations_associated_data_unittest.cc base::FieldTrial::SESSION_RANDOMIZED, default_group_number); base 62 components/variations/variations_associated_data_unittest.cc base::FieldTrialList field_trial_list_; base 71 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> trial( base 85 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> trial( base 101 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> trial_true( base 118 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> trial_false( base 137 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> no_id_trial( base 172 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> trial_true( base 212 components/variations/variations_associated_data_unittest.cc base::FieldTrialList::CreateFieldTrial(kTrialName, "B"); base 234 components/variations/variations_associated_data_unittest.cc base::FieldTrialList::CreateFieldTrial(kTrialName, kGroupName); base 241 components/variations/variations_associated_data_unittest.cc base::FieldTrialList::CreateFieldTrial(kTrialName, "A"); base 242 components/variations/variations_associated_data_unittest.cc ASSERT_EQ("A", base::FieldTrialList::FindFullName(kTrialName)); base 255 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> trial( base 277 components/variations/variations_associated_data_unittest.cc base::FieldTrialList::CreateFieldTrial(kTrialName, "A"); base 289 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> trial( base 302 components/variations/variations_associated_data_unittest.cc scoped_refptr<base::FieldTrial> trial( base 43 components/variations/variations_seed_processor.cc base::Time ConvertStudyDateToBaseTime(int64 date_time) { base 44 components/variations/variations_seed_processor.cc return base::Time::UnixEpoch() + base::TimeDelta::FromSeconds(date_time); base 92 components/variations/variations_seed_processor.cc const base::Time& reference_date, base 93 components/variations/variations_seed_processor.cc const base::Version& version, base 107 components/variations/variations_seed_processor.cc const base::Time& reference_date, base 108 components/variations/variations_seed_processor.cc const base::Version& version, base 200 components/variations/variations_seed_processor.cc const base::Time& date_time) { base 202 components/variations/variations_seed_processor.cc const base::Time start_date = base 212 components/variations/variations_seed_processor.cc const base::Version& version) { base 237 components/variations/variations_seed_processor.cc scoped_refptr<base::FieldTrial> trial( base 238 components/variations/variations_seed_processor.cc base::FieldTrialList::CreateFieldTrial(study.name(), base 252 components/variations/variations_seed_processor.cc base::FieldTrial::RandomizationType randomization_type = base 253 components/variations/variations_seed_processor.cc base::FieldTrial::SESSION_RANDOMIZED; base 256 components/variations/variations_seed_processor.cc randomization_type = base::FieldTrial::ONE_TIME_RANDOMIZED; base 264 components/variations/variations_seed_processor.cc scoped_refptr<base::FieldTrial> trial( base 265 components/variations/variations_seed_processor.cc base::FieldTrialList::FactoryGetFieldTrialWithRandomizationSeed( base 268 components/variations/variations_seed_processor.cc base::FieldTrialList::kNoExpirationYear, 1, 1, randomization_type, base 294 components/variations/variations_seed_processor.cc const base::Time& date_time) { base 296 components/variations/variations_seed_processor.cc const base::Time expiry_date = base 307 components/variations/variations_seed_processor.cc const base::Time& reference_date, base 308 components/variations/variations_seed_processor.cc const base::Version& version, base 33 components/variations/variations_seed_processor.h const base::Time& reference_date, base 34 components/variations/variations_seed_processor.h const base::Version& version, base 76 components/variations/variations_seed_processor.h const base::Time& reference_date, base 77 components/variations/variations_seed_processor.h const base::Version& version, base 104 components/variations/variations_seed_processor.h const base::Time& date_time); base 108 components/variations/variations_seed_processor.h const base::Version& version); base 115 components/variations/variations_seed_processor.h bool IsStudyExpired(const Study& study, const base::Time& date_time); base 123 components/variations/variations_seed_processor.h const base::Time& reference_date, base 124 components/variations/variations_seed_processor.h const base::Version& version, base 131 components/variations/variations_seed_processor.h base::FieldTrial::Probability* total_probability); base 20 components/variations/variations_seed_processor_unittest.cc int64 TimeToProtoTime(const base::Time& time) { base 21 components/variations/variations_seed_processor_unittest.cc return (time - base::Time::UnixEpoch()).InSeconds(); base 68 components/variations/variations_seed_processor_unittest.cc base::FieldTrial::ActiveGroups active_groups; base 69 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList::GetActiveFieldTrialGroups(&active_groups); base 107 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 114 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList::FindFullName(kFlagStudyName)); base 238 components/variations/variations_seed_processor_unittest.cc base::SplitString(test_cases[i].filter_locales, ',', &filter_locales); base 305 components/variations/variations_seed_processor_unittest.cc const base::Time now = base::Time::Now(); base 306 components/variations/variations_seed_processor_unittest.cc const base::TimeDelta delta = base::TimeDelta::FromHours(1); base 308 components/variations/variations_seed_processor_unittest.cc const base::Time start_date; base 376 components/variations/variations_seed_processor_unittest.cc EXPECT_TRUE(seed_processor.CheckStudyVersion(filter, base::Version("1.2.3"))); base 445 components/variations/variations_seed_processor_unittest.cc seed, "en-CA", base::Time::Now(), base::Version("20.0.0.0"), base 459 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 464 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList::FindFullName(kFlagStudyName)); base 471 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 476 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList::FindFullName(kFlagStudyName)); base 484 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 489 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList::FindFullName(kFlagStudyName)); base 493 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 501 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList::FindFullName(kFlagStudyName)); base 507 components/variations/variations_seed_processor_unittest.cc const base::Time now = base::Time::Now(); base 508 components/variations/variations_seed_processor_unittest.cc const base::TimeDelta delta = base::TimeDelta::FromHours(1); base 510 components/variations/variations_seed_processor_unittest.cc const base::Time expiry_date; base 548 components/variations/variations_seed_processor_unittest.cc const base::Time year_ago = base 549 components/variations/variations_seed_processor_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(365); base 551 components/variations/variations_seed_processor_unittest.cc const base::Version version("20.0.0.0"); base 554 components/variations/variations_seed_processor_unittest.cc ASSERT_EQ(std::string(), base::FieldTrialList::FindFullName(kTrialName)); base 556 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 558 components/variations/variations_seed_processor_unittest.cc seed_processor.CreateTrialsFromSeed(seed, "en-CA", base::Time::Now(), base 561 components/variations/variations_seed_processor_unittest.cc EXPECT_EQ(kGroup1Name, base::FieldTrialList::FindFullName(kTrialName)); base 565 components/variations/variations_seed_processor_unittest.cc ASSERT_EQ(std::string(), base::FieldTrialList::FindFullName(kTrialName)); base 567 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 570 components/variations/variations_seed_processor_unittest.cc seed_processor.CreateTrialsFromSeed(seed, "en-CA", base::Time::Now(), base 573 components/variations/variations_seed_processor_unittest.cc EXPECT_EQ(kGroup1Name, base::FieldTrialList::FindFullName(kTrialName)); base 622 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 653 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 655 components/variations/variations_seed_processor_unittest.cc EXPECT_EQ(kFlagGroup1Name, base::FieldTrialList::FindFullName(study.name())); base 660 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 684 components/variations/variations_seed_processor_unittest.cc seed_processor.CreateTrialsFromSeed(seed, "en-CA", base::Time::Now(), base 685 components/variations/variations_seed_processor_unittest.cc base::Version("20.0.0.0"), base 695 components/variations/variations_seed_processor_unittest.cc EXPECT_EQ("AA", base::FieldTrialList::FindFullName("A")); base 696 components/variations/variations_seed_processor_unittest.cc EXPECT_EQ("BB", base::FieldTrialList::FindFullName("B")); base 697 components/variations/variations_seed_processor_unittest.cc EXPECT_EQ("CC", base::FieldTrialList::FindFullName("C")); base 708 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList field_trial_list(NULL); base 717 components/variations/variations_seed_processor_unittest.cc base::FieldTrialList::FindFullName(kFlagStudyName)); base 21 components/variations/variations_seed_simulator.cc base::FieldTrial::ActiveGroups trial_groups; base 22 components/variations/variations_seed_simulator.cc base::FieldTrialList::GetActiveFieldTrialGroups(&trial_groups); base 31 components/variations/variations_seed_simulator.cc const base::FieldTrial::EntropyProvider& entropy_provider, base 39 components/variations/variations_seed_simulator.cc scoped_refptr<base::FieldTrial> trial( base 40 components/variations/variations_seed_simulator.cc base::FieldTrial::CreateSimulatedFieldTrial( base 94 components/variations/variations_seed_simulator.cc const base::FieldTrial::EntropyProvider& entropy_provider) base 25 components/variations/variations_seed_simulator.h const base::FieldTrial::EntropyProvider& provider); base 50 components/variations/variations_seed_simulator.h const base::FieldTrial::EntropyProvider& entropy_provider_; base 20 components/variations/variations_seed_simulator_unittest.cc class TestEntropyProvider : public base::FieldTrial::EntropyProvider { base 43 components/variations/variations_seed_simulator_unittest.cc base::FieldTrialList::CreateFieldTrial(trial_name, group_name); base 46 components/variations/variations_seed_simulator_unittest.cc base::FieldTrialList::FindFullName(trial_name); base 101 components/variations/variations_seed_simulator_unittest.cc base::FieldTrialList field_trial_list_; base 22 components/visitedlink/browser/visitedlink_delegate.h class URLEnumerator : public base::RefCountedThreadSafe<URLEnumerator> { base 36 components/visitedlink/browser/visitedlink_delegate.h friend class base::RefCountedThreadSafe<URLEnumerator>; base 15 components/visitedlink/browser/visitedlink_event_listener.cc using base::Time; base 16 components/visitedlink/browser/visitedlink_event_listener.cc using base::TimeDelta; base 47 components/visitedlink/browser/visitedlink_event_listener.cc void SendVisitedLinkTable(base::SharedMemory* table_memory) { base 52 components/visitedlink/browser/visitedlink_event_listener.cc base::SharedMemoryHandle handle_for_process; base 54 components/visitedlink/browser/visitedlink_event_listener.cc if (base::SharedMemory::IsHandleValid(handle_for_process)) base 130 components/visitedlink/browser/visitedlink_event_listener.cc void VisitedLinkEventListener::NewTable(base::SharedMemory* table_memory) { base 16 components/visitedlink/browser/visitedlink_event_listener.h namespace base { base 38 components/visitedlink/browser/visitedlink_event_listener.h virtual void NewTable(base::SharedMemory* table_memory) OVERRIDE; base 50 components/visitedlink/browser/visitedlink_event_listener.h base::OneShotTimer<VisitedLinkEventListener> coalesce_timer_; base 63 components/visitedlink/browser/visitedlink_master.cc uint64 randval = base::RandUint64(); base 68 components/visitedlink/browser/visitedlink_master.cc void AsyncOpen(FILE** file, const base::FilePath& filename) { base 69 components/visitedlink/browser/visitedlink_master.cc *file = base::OpenFile(filename, "wb+"); base 106 components/visitedlink/browser/visitedlink_master.cc base::IgnoreResult(base::TruncateFile(*file)); base 114 components/visitedlink/browser/visitedlink_master.cc base::IgnoreResult(fclose(*file)); base 193 components/visitedlink/browser/visitedlink_master.cc const base::FilePath& filename, base 238 components/visitedlink/browser/visitedlink_master.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 285 components/visitedlink/browser/visitedlink_master.cc const base::Closure& task) { base 471 components/visitedlink/browser/visitedlink_master.cc base::StackVector<Fingerprint, 32> shuffled_fingerprints; base 515 components/visitedlink/browser/visitedlink_master.cc base::FilePath filename; base 517 components/visitedlink/browser/visitedlink_master.cc PostIOTask(FROM_HERE, base::Bind(&AsyncOpen, file_, filename)); base 534 components/visitedlink/browser/visitedlink_master.cc PostIOTask(FROM_HERE, base::Bind(&AsyncTruncate, file_)); base 541 components/visitedlink/browser/visitedlink_master.cc base::FilePath filename; base 543 components/visitedlink/browser/visitedlink_master.cc base::ScopedFILE file_closer(base::OpenFile(filename, "rb+")); base 652 components/visitedlink/browser/visitedlink_master.cc bool VisitedLinkMaster::GetDatabaseFileName(base::FilePath* filename) { base 662 components/visitedlink/browser/visitedlink_master.cc base::FilePath profile_dir = browser_context_->GetPath(); base 674 components/visitedlink/browser/visitedlink_master.cc shared_memory_ = new base::SharedMemory(); base 703 components/visitedlink/browser/visitedlink_master.cc base::SharedMemory *old_shared_memory = shared_memory_; base 728 components/visitedlink/browser/visitedlink_master.cc PostIOTask(FROM_HERE, base::Bind(&AsyncClose, file_)); base 765 components/visitedlink/browser/visitedlink_master.cc base::SharedMemory* old_shared_memory = shared_memory_; base 848 components/visitedlink/browser/visitedlink_master.cc base::SharedMemory* old_shared_memory = shared_memory_; base 896 components/visitedlink/browser/visitedlink_master.cc base::Bind(&AsyncWrite, file, offset, base 979 components/visitedlink/browser/visitedlink_master.cc base::Bind(&TableBuilder::OnCompleteMainThread, this)); base 52 components/visitedlink/browser/visitedlink_master.h virtual void NewTable(base::SharedMemory*) = 0; base 86 components/visitedlink/browser/visitedlink_master.h const base::FilePath& filename, base 95 components/visitedlink/browser/visitedlink_master.h base::SharedMemory* shared_memory() { return shared_memory_; } base 136 components/visitedlink/browser/visitedlink_master.h void set_rebuild_complete_task(const base::Closure& task) { base 204 components/visitedlink/browser/visitedlink_master.h const base::Closure& task); base 225 components/visitedlink/browser/visitedlink_master.h bool GetDatabaseFileName(base::FilePath* filename); base 361 components/visitedlink/browser/visitedlink_master.h base::SequencedWorkerPool::SequenceToken sequence_token_; base 394 components/visitedlink/browser/visitedlink_master.h base::SharedMemory *shared_memory_; base 412 components/visitedlink/browser/visitedlink_master.h base::FilePath database_name_override_; base 419 components/visitedlink/browser/visitedlink_master.h base::Closure rebuild_complete_task_; base 84 components/visitedlink/common/visitedlink_common.cc base::MD5Context ctx; base 85 components/visitedlink/common/visitedlink_common.cc base::MD5Init(&ctx); base 86 components/visitedlink/common/visitedlink_common.cc base::MD5Update(&ctx, base::StringPiece(reinterpret_cast<const char*>(salt), base 88 components/visitedlink/common/visitedlink_common.cc base::MD5Update(&ctx, base::StringPiece(canonical_url, url_len)); base 90 components/visitedlink/common/visitedlink_common.cc base::MD5Digest digest; base 91 components/visitedlink/common/visitedlink_common.cc base::MD5Final(&digest, &ctx); base 19 components/visitedlink/common/visitedlink_messages.h base::SharedMemoryHandle) base 36 components/visitedlink/renderer/visitedlink_slave.cc void VisitedLinkSlave::OnUpdateVisitedLinks(base::SharedMemoryHandle table) { base 37 components/visitedlink/renderer/visitedlink_slave.cc DCHECK(base::SharedMemory::IsHandleValid(table)) << "Bad table handle"; base 44 components/visitedlink/renderer/visitedlink_slave.cc shared_memory_ = new base::SharedMemory(table, true); base 27 components/visitedlink/renderer/visitedlink_slave.h void OnUpdateVisitedLinks(base::SharedMemoryHandle table); base 35 components/visitedlink/renderer/visitedlink_slave.h base::SharedMemory* shared_memory_; base 21 components/visitedlink/test/visitedlink_perftest.cc using base::TimeDelta; base 35 components/visitedlink/test/visitedlink_perftest.cc return GURL(base::StringPrintf("%s%d", prefix, i)); base 42 components/visitedlink/test/visitedlink_perftest.cc virtual void NewTable(base::SharedMemory* table) OVERRIDE {} base 66 components/visitedlink/test/visitedlink_perftest.cc base::FilePath db_path_; base 68 components/visitedlink/test/visitedlink_perftest.cc ASSERT_TRUE(base::CreateTemporaryFile(&db_path_)); base 71 components/visitedlink/test/visitedlink_perftest.cc base::DeleteFile(db_path_, false); base 88 components/visitedlink/test/visitedlink_perftest.cc base::PerfTimeLogger timer("Visited_link_add_and_query"); base 113 components/visitedlink/test/visitedlink_perftest.cc base::PerfTimeLogger table_initialization_timer("Table_initialization"); base 119 components/visitedlink/test/visitedlink_perftest.cc base::PerfTimeLogger initTimer("Empty_visited_link_init"); base 131 components/visitedlink/test/visitedlink_perftest.cc base::PerfTimeLogger flushTimer("Visited_link_database_flush"); base 147 components/visitedlink/test/visitedlink_perftest.cc base::EvictFileFromSystemCache(db_path_); base 151 components/visitedlink/test/visitedlink_perftest.cc base::ElapsedTimer cold_timer; base 168 components/visitedlink/test/visitedlink_perftest.cc base::ElapsedTimer hot_timer; base 195 components/visitedlink/test/visitedlink_perftest.cc base::LogPerfResult( base 197 components/visitedlink/test/visitedlink_perftest.cc base::LogPerfResult( base 49 components/visitedlink/test/visitedlink_unittest.cc return GURL(base::StringPrintf("%s%d", g_test_prefix, i)); base 112 components/visitedlink/test/visitedlink_unittest.cc virtual void NewTable(base::SharedMemory* table) OVERRIDE { base 116 components/visitedlink/test/visitedlink_unittest.cc base::SharedMemoryHandle new_handle = base::SharedMemory::NULLHandle(); base 117 components/visitedlink/test/visitedlink_unittest.cc table->ShareToProcess(base::GetCurrentProcessHandle(), &new_handle); base 181 components/visitedlink/test/visitedlink_unittest.cc base::SharedMemoryHandle new_handle = base::SharedMemory::NULLHandle(); base 183 components/visitedlink/test/visitedlink_unittest.cc base::GetCurrentProcessHandle(), &new_handle); base 213 components/visitedlink/test/visitedlink_unittest.cc ASSERT_TRUE(base::CreateDirectory(history_dir_)); base 222 components/visitedlink/test/visitedlink_unittest.cc base::ScopedTempDir temp_dir_; base 225 components/visitedlink/test/visitedlink_unittest.cc base::FilePath history_dir_; base 226 components/visitedlink/test/visitedlink_unittest.cc base::FilePath visited_file_; base 314 components/visitedlink/test/visitedlink_unittest.cc base::SharedMemoryHandle new_handle = base::SharedMemory::NULLHandle(); base 316 components/visitedlink/test/visitedlink_unittest.cc base::GetCurrentProcessHandle(), &new_handle); base 361 components/visitedlink/test/visitedlink_unittest.cc base::SharedMemoryHandle new_handle = base::SharedMemory::NULLHandle(); base 363 components/visitedlink/test/visitedlink_unittest.cc base::GetCurrentProcessHandle(), &new_handle); base 437 components/visitedlink/test/visitedlink_unittest.cc base::RunLoop run_loop; base 458 components/visitedlink/test/visitedlink_unittest.cc base::RunLoop run_loop; base 618 components/visitedlink/test/visitedlink_unittest.cc base::RunLoop run_loop; base 619 components/visitedlink/test/visitedlink_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 622 components/visitedlink/test/visitedlink_unittest.cc base::TimeDelta::FromMilliseconds(110)); base 687 components/visitedlink/test/visitedlink_unittest.cc RenderViewHostTester::For(rvh())->CreateRenderView(base::string16(), base 712 components/visitedlink/test/visitedlink_unittest.cc RenderViewHostTester::For(rvh())->CreateRenderView(base::string16(), base 9 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java import org.chromium.base.CalledByNative; base 10 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java import org.chromium.base.JNINamespace; base 17 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java import org.chromium.base.ApiCompatibilityUtils; base 18 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java import org.chromium.base.CalledByNative; base 9 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java import org.chromium.base.CalledByNative; base 10 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java import org.chromium.base.JNINamespace; base 15 components/web_contents_delegate_android/color_chooser_android.cc using base::android::ConvertUTF16ToJavaString; base 15 components/web_contents_delegate_android/color_chooser_android.h using base::android::AttachCurrentThread; base 16 components/web_contents_delegate_android/color_chooser_android.h using base::android::ScopedJavaLocalRef; base 40 components/web_contents_delegate_android/color_chooser_android.h base::android::ScopedJavaGlobalRef<jobject> j_color_chooser_; base 15 components/web_contents_delegate_android/component_jni_registrar.cc static base::android::RegistrationMethod kComponentRegisteredMethods[] = { base 14 components/web_contents_delegate_android/validation_message_bubble_android.cc using base::android::ConvertUTF16ToJavaString; base 33 components/web_contents_delegate_android/validation_message_bubble_android.cc const base::string16& main_text, base 34 components/web_contents_delegate_android/validation_message_bubble_android.cc const base::string16& sub_text) { base 35 components/web_contents_delegate_android/validation_message_bubble_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 49 components/web_contents_delegate_android/validation_message_bubble_android.cc Java_ValidationMessageBubble_close(base::android::AttachCurrentThread(), base 56 components/web_contents_delegate_android/validation_message_bubble_android.cc base::android::AttachCurrentThread(), base 29 components/web_contents_delegate_android/validation_message_bubble_android.h const base::string16& main_text, base 30 components/web_contents_delegate_android/validation_message_bubble_android.h const base::string16& sub_text); base 39 components/web_contents_delegate_android/validation_message_bubble_android.h base::android::ScopedJavaGlobalRef<jobject> java_validation_message_bubble_; base 28 components/web_contents_delegate_android/web_contents_delegate_android.cc using base::android::AttachCurrentThread; base 29 components/web_contents_delegate_android/web_contents_delegate_android.cc using base::android::ConvertUTF8ToJavaString; base 30 components/web_contents_delegate_android/web_contents_delegate_android.cc using base::android::ConvertUTF16ToJavaString; base 31 components/web_contents_delegate_android/web_contents_delegate_android.cc using base::android::ScopedJavaLocalRef; base 98 components/web_contents_delegate_android/web_contents_delegate_android.cc post_data = base::android::ToJavaByteArray( base 200 components/web_contents_delegate_android/web_contents_delegate_android.cc const base::string16& message, base 202 components/web_contents_delegate_android/web_contents_delegate_android.cc const base::string16& source_id) { base 319 components/web_contents_delegate_android/web_contents_delegate_android.cc const base::string16& main_text, base 320 components/web_contents_delegate_android/web_contents_delegate_android.cc const base::string16& sub_text) { base 76 components/web_contents_delegate_android/web_contents_delegate_android.h const base::string16& message, base 78 components/web_contents_delegate_android/web_contents_delegate_android.h const base::string16& source_id) OVERRIDE; base 94 components/web_contents_delegate_android/web_contents_delegate_android.h const base::string16& main_text, base 95 components/web_contents_delegate_android/web_contents_delegate_android.h const base::string16& sub_text) OVERRIDE; base 103 components/web_contents_delegate_android/web_contents_delegate_android.h base::android::ScopedJavaLocalRef<jobject> GetJavaDelegate(JNIEnv* env) const; base 21 components/webdata/common/web_data_request_manager.cc message_loop_ = base::MessageLoop::current(); base 42 components/webdata/common/web_data_request_manager.cc base::MessageLoop* WebDataRequest::GetMessageLoop() const { base 47 components/webdata/common/web_data_request_manager.cc base::AutoLock l(cancel_lock_); base 52 components/webdata/common/web_data_request_manager.cc base::AutoLock l(cancel_lock_); base 81 components/webdata/common/web_data_request_manager.cc base::AutoLock l(pending_lock_); base 90 components/webdata/common/web_data_request_manager.cc base::AutoLock l(pending_lock_); base 95 components/webdata/common/web_data_request_manager.cc base::AutoLock l(pending_lock_); base 100 components/webdata/common/web_data_request_manager.cc base::AutoLock l(pending_lock_); base 112 components/webdata/common/web_data_request_manager.cc base::MessageLoop* loop = request->GetMessageLoop(); base 114 components/webdata/common/web_data_request_manager.cc base::Bind(&WebDataRequestManager::RequestCompletedOnThread, base 116 components/webdata/common/web_data_request_manager.cc base::Passed(&request))); base 124 components/webdata/common/web_data_request_manager.cc base::AutoLock l(pending_lock_); base 25 components/webdata/common/web_data_request_manager.h namespace base { base 49 components/webdata/common/web_data_request_manager.h base::MessageLoop* GetMessageLoop() const; base 74 components/webdata/common/web_data_request_manager.h base::MessageLoop* message_loop_; base 81 components/webdata/common/web_data_request_manager.h mutable base::Lock cancel_lock_; base 101 components/webdata/common/web_data_request_manager.h : public base::RefCountedThreadSafe<WebDataRequestManager> { base 118 components/webdata/common/web_data_request_manager.h friend class base::RefCountedThreadSafe<WebDataRequestManager>; base 127 components/webdata/common/web_data_request_manager.h base::Lock pending_lock_; base 37 components/webdata/common/web_data_results.h typedef base::Callback<void(const WDTypedResult*)> DestroyCallback; base 13 components/webdata/common/web_data_service_backend.cc using base::Bind; base 14 components/webdata/common/web_data_service_backend.cc using base::FilePath; base 19 components/webdata/common/web_data_service_backend.cc const scoped_refptr<base::MessageLoopProxy>& db_thread) base 20 components/webdata/common/web_data_service_backend.cc : base::RefCountedDeleteOnMessageLoop<WebDataServiceBackend>(db_thread), base 35 components/webdata/common/web_data_service_backend.h : public base::RefCountedDeleteOnMessageLoop<WebDataServiceBackend> { base 45 components/webdata/common/web_data_service_backend.h WebDataServiceBackend(const base::FilePath& path, base 47 components/webdata/common/web_data_service_backend.h const scoped_refptr<base::MessageLoopProxy>& db_thread); base 88 components/webdata/common/web_data_service_backend.h friend class base::RefCountedDeleteOnMessageLoop<WebDataServiceBackend>; base 89 components/webdata/common/web_data_service_backend.h friend class base::DeleteHelper<WebDataServiceBackend>; base 98 components/webdata/common/web_data_service_backend.h base::FilePath db_path_; base 19 components/webdata/common/web_data_service_base.cc using base::Bind; base 20 components/webdata/common/web_data_service_base.cc using base::Time; base 25 components/webdata/common/web_data_service_base.cc const scoped_refptr<base::MessageLoopProxy>& ui_thread) base 26 components/webdata/common/web_data_service_base.cc : base::RefCountedDeleteOnMessageLoop<WebDataServiceBase>(ui_thread), base 20 components/webdata/common/web_data_service_base.h namespace base { base 27 components/webdata/common/web_data_service_base.h : public base::RefCountedDeleteOnMessageLoop<WebDataServiceBase> { base 37 components/webdata/common/web_data_service_base.h typedef base::Callback<void(sql::InitStatus)> ProfileErrorCallback; base 39 components/webdata/common/web_data_service_base.h typedef base::Closure DBLoadedCallback; base 52 components/webdata/common/web_data_service_base.h const scoped_refptr<base::MessageLoopProxy>& ui_thread); base 85 components/webdata/common/web_data_service_base.h friend class base::RefCountedDeleteOnMessageLoop<WebDataServiceBase>; base 86 components/webdata/common/web_data_service_base.h friend class base::DeleteHelper<WebDataServiceBase>; base 71 components/webdata/common/web_database.cc sql::InitStatus WebDatabase::Init(const base::FilePath& db_name) { base 17 components/webdata/common/web_database.h namespace base { base 48 components/webdata/common/web_database.h sql::InitStatus Init(const base::FilePath& db_name); base 38 components/webdata/common/web_database_migration_unittest.cc using base::ASCIIToUTF16; base 39 components/webdata/common/web_database_migration_unittest.cc using base::Time; base 45 components/webdata/common/web_database_migration_unittest.cc base::string16* label, base 70 components/webdata/common/web_database_migration_unittest.cc EXPECT_TRUE(base::IsValidGUID(profile->guid())); base 79 components/webdata/common/web_database_migration_unittest.cc EXPECT_TRUE(base::IsValidGUID(profile->guid())); base 94 components/webdata/common/web_database_migration_unittest.cc base::string16* label, base 117 components/webdata/common/web_database_migration_unittest.cc EXPECT_TRUE(base::IsValidGUID(credit_card->guid())); base 128 components/webdata/common/web_database_migration_unittest.cc EXPECT_TRUE(base::IsValidGUID(credit_card->guid())); base 163 components/webdata/common/web_database_migration_unittest.cc base::RemoveChars(has_quotes, kQuotes, &no_quotes); base 215 components/webdata/common/web_database_migration_unittest.cc base::FilePath GetDatabasePath() { base 216 components/webdata/common/web_database_migration_unittest.cc const base::FilePath::CharType kWebDatabaseFilename[] = base 218 components/webdata/common/web_database_migration_unittest.cc return temp_dir_.path().Append(base::FilePath(kWebDatabaseFilename)); base 224 components/webdata/common/web_database_migration_unittest.cc bool GetWebDatabaseData(const base::FilePath& file, std::string* contents) { base 225 components/webdata/common/web_database_migration_unittest.cc base::FilePath source_path; base 226 components/webdata/common/web_database_migration_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &source_path); base 232 components/webdata/common/web_database_migration_unittest.cc return base::PathExists(source_path) && base 233 components/webdata/common/web_database_migration_unittest.cc base::ReadFileToString(source_path, contents); base 252 components/webdata/common/web_database_migration_unittest.cc void LoadDatabase(const base::FilePath::StringType& file); base 255 components/webdata/common/web_database_migration_unittest.cc base::ScopedTempDir temp_dir_; base 263 components/webdata/common/web_database_migration_unittest.cc const base::FilePath::StringType& file) { base 265 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(GetWebDatabaseData(base::FilePath(file), &contents)); base 282 components/webdata/common/web_database_migration_unittest.cc const base::FilePath& file_name = base::FilePath::FromUTF8Unsafe( base 283 components/webdata/common/web_database_migration_unittest.cc "version_" + base::IntToString(i) + ".sql"); base 386 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_autofill.ColumnString16(1)); base 387 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_autofill.ColumnString16(2)); base 411 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_autofill.ColumnString16(1)); base 412 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_autofill.ColumnString16(2)); base 887 components/webdata/common/web_database_migration_unittest.cc EXPECT_TRUE(base::IsValidGUID(guid1)); base 891 components/webdata/common/web_database_migration_unittest.cc EXPECT_TRUE(base::IsValidGUID(guid2)); base 906 components/webdata/common/web_database_migration_unittest.cc base::string16 profile_label; base 910 components/webdata/common/web_database_migration_unittest.cc base::string16 cc_label; base 1026 components/webdata/common/web_database_migration_unittest.cc base::string16 cc_label_a; base 1160 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s1.ColumnString16(1)); base 1171 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s1.ColumnString16(1)); base 1185 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s1.ColumnString16(1)); base 1205 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s2.ColumnString16(2)); base 1220 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s2.ColumnString16(2)); base 1227 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s2.ColumnString16(2)); base 1236 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s2.ColumnString16(1)); base 1237 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s2.ColumnString16(2)); base 1238 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s2.ColumnString16(3)); base 1260 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s3.ColumnString16(1)); base 1265 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s3.ColumnString16(1)); base 1273 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s3.ColumnString16(1)); base 1302 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s4.ColumnString16(1)); base 1311 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s4.ColumnString16(2)); base 1321 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s4.ColumnString16(1)); base 2370 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(3)); base 2374 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(7)); base 2386 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(3)); base 2390 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(7)); base 2399 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(1)); base 2401 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(3)); base 2402 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(4)); base 2403 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(5)); base 2404 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(6)); base 2405 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(7)); base 2406 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(8)); base 2414 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(1)); base 2415 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(2)); base 2416 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(3)); base 2417 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(4)); base 2419 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(6)); base 2420 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(7)); base 2421 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_profiles.ColumnString16(8)); base 2443 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_phones.ColumnString16(1)); base 2451 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(base::string16(), s_phones.ColumnString16(1)); base 14 components/webdata/common/web_database_service.cc using base::Bind; base 15 components/webdata/common/web_database_service.cc using base::FilePath; base 23 components/webdata/common/web_database_service.cc const base::WeakPtr<WebDatabaseService>& web_database_service) base 25 components/webdata/common/web_database_service.cc callback_thread_(base::MessageLoopProxy::current()) { base 31 components/webdata/common/web_database_service.cc base::Bind(&WebDatabaseService::OnDatabaseLoadDone, base 36 components/webdata/common/web_database_service.cc const base::WeakPtr<WebDatabaseService> web_database_service_; base 37 components/webdata/common/web_database_service.cc scoped_refptr<base::MessageLoopProxy> callback_thread_; base 41 components/webdata/common/web_database_service.cc const base::FilePath& path, base 42 components/webdata/common/web_database_service.cc const scoped_refptr<base::MessageLoopProxy>& ui_thread, base 43 components/webdata/common/web_database_service.cc const scoped_refptr<base::MessageLoopProxy>& db_thread) base 44 components/webdata/common/web_database_service.cc : base::RefCountedDeleteOnMessageLoop<WebDatabaseService>(ui_thread), base 102 components/webdata/common/web_database_service.cc wds_backend_, task, base::Passed(&request))); base 116 components/webdata/common/web_database_service.cc wds_backend_, task, base::Passed(&request))); base 50 components/webdata/common/web_database_service.h : public base::RefCountedDeleteOnMessageLoop<WebDatabaseService> { base 52 components/webdata/common/web_database_service.h typedef base::Callback<scoped_ptr<WDTypedResult>(WebDatabase*)> ReadTask; base 53 components/webdata/common/web_database_service.h typedef base::Callback<WebDatabase::State(WebDatabase*)> WriteTask; base 56 components/webdata/common/web_database_service.h typedef base::Closure DBLoadedCallback; base 57 components/webdata/common/web_database_service.h typedef base::Callback<void(sql::InitStatus)> DBLoadErrorCallback; base 61 components/webdata/common/web_database_service.h WebDatabaseService(const base::FilePath& path, base 62 components/webdata/common/web_database_service.h const scoped_refptr<base::MessageLoopProxy>& ui_thread, base 63 components/webdata/common/web_database_service.h const scoped_refptr<base::MessageLoopProxy>& db_thread); base 118 components/webdata/common/web_database_service.h friend class base::RefCountedDeleteOnMessageLoop<WebDatabaseService>; base 119 components/webdata/common/web_database_service.h friend class base::DeleteHelper<WebDatabaseService>; base 128 components/webdata/common/web_database_service.h base::FilePath path_; base 143 components/webdata/common/web_database_service.h scoped_refptr<base::MessageLoopProxy> db_thread_; base 146 components/webdata/common/web_database_service.h base::WeakPtrFactory<WebDatabaseService> weak_ptr_factory_; base 7 components/webdata/common/webdata_constants.cc const base::FilePath::CharType kWebDataFilename[] = base 11 components/webdata/common/webdata_constants.h WEBDATA_EXPORT extern const base::FilePath::CharType kWebDataFilename[]; base 86 components/wifi/fake_wifi_service.cc scoped_refptr<base::SequencedTaskRunner> task_runner) OVERRIDE {} base 91 components/wifi/fake_wifi_service.cc base::DictionaryValue* properties, base 102 components/wifi/fake_wifi_service.cc base::DictionaryValue* managed_properties, base 155 components/wifi/fake_wifi_service.cc scoped_ptr<base::DictionaryValue> properties_value( base 156 components/wifi/fake_wifi_service.cc reinterpret_cast<base::DictionaryValue*>( base 157 components/wifi/fake_wifi_service.cc base::JSONReader::Read(network_properties))); base 162 components/wifi/fake_wifi_service.cc base::DictionaryValue* properties, base 181 components/wifi/fake_wifi_service.cc scoped_ptr<base::DictionaryValue> properties_value( base 182 components/wifi/fake_wifi_service.cc reinterpret_cast<base::DictionaryValue*>( base 183 components/wifi/fake_wifi_service.cc base::JSONReader::Read(network_state))); base 188 components/wifi/fake_wifi_service.cc scoped_ptr<base::DictionaryValue> properties, base 198 components/wifi/fake_wifi_service.cc scoped_ptr<base::DictionaryValue> properties, base 212 components/wifi/fake_wifi_service.cc base::ListValue* network_list) OVERRIDE { base 219 components/wifi/fake_wifi_service.cc scoped_ptr<base::DictionaryValue> network(it->ToValue(true)); base 264 components/wifi/fake_wifi_service.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy, base 308 components/wifi/fake_wifi_service.cc base::Bind(network_list_changed_observer_, current_networks)); base 315 components/wifi/fake_wifi_service.cc base::Bind(networks_changed_observer_, changed_networks)); base 319 components/wifi/fake_wifi_service.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 23 components/wifi/wifi_service.cc scoped_ptr<base::DictionaryValue> WiFiService::NetworkProperties::ToValue( base 25 components/wifi/wifi_service.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 33 components/wifi/wifi_service.cc scoped_ptr<base::DictionaryValue> wifi(new base::DictionaryValue()); base 41 components/wifi/wifi_service.cc scoped_ptr<base::ListValue> frequency_list(new base::ListValue()); base 57 components/wifi/wifi_service.cc base::Value* value_extra = base::JSONReader::Read(json_extra); base 65 components/wifi/wifi_service.cc const base::DictionaryValue& value) { base 66 components/wifi/wifi_service.cc const base::DictionaryValue* wifi = NULL; base 89 components/wifi/wifi_service.cc return base::StringPrintf(kMacFormatString, base 30 components/wifi/wifi_service.h typedef base::Callback< base 37 components/wifi/wifi_service.h scoped_refptr<base::SequencedTaskRunner> task_runner) = 0; base 50 components/wifi/wifi_service.h base::DictionaryValue* properties, base 58 components/wifi/wifi_service.h base::DictionaryValue* managed_properties, base 67 components/wifi/wifi_service.h base::DictionaryValue* properties, base 73 components/wifi/wifi_service.h scoped_ptr<base::DictionaryValue> properties, base 81 components/wifi/wifi_service.h scoped_ptr<base::DictionaryValue> properties, base 88 components/wifi/wifi_service.h base::ListValue* network_list) = 0; base 114 components/wifi/wifi_service.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy, base 159 components/wifi/wifi_service.h scoped_ptr<base::DictionaryValue> ToValue(bool network_list) const; base 161 components/wifi/wifi_service.h bool UpdateFromValue(const base::DictionaryValue& value); base 19 components/wifi/wifi_service_test.cc scoped_ptr<base::DictionaryValue> error_data) { base 25 components/wifi/wifi_service_test.cc scoped_ptr<base::DictionaryValue> error_data) { base 31 components/wifi/wifi_service_test.cc const base::DictionaryValue& dictionary) {} base 44 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::WaitForConnect, base::Unretained(this)), base 45 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::TestError, base::Unretained(this))); base 51 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::OnNetworksChangedEventWaitingForConnect, base 52 components/wifi/wifi_service_test.cc base::Unretained(this))); base 53 components/wifi/wifi_service_test.cc base::MessageLoop::current()->PostDelayedTask( base 55 components/wifi/wifi_service_test.cc base::MessageLoop::QuitClosure(), base 56 components/wifi/wifi_service_test.cc base::TimeDelta::FromSeconds(10)); base 78 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::WaitForDisconnect, base::Unretained(this)), base 79 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::TestError, base::Unretained(this))); base 83 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::OnNetworkConnectStarted, base 84 components/wifi/wifi_service_test.cc base::Unretained(this)), base 85 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::TestError, base::Unretained(this))); base 105 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::OnNetworkDisconnectStarted, base 106 components/wifi/wifi_service_test.cc base::Unretained(this)), base 107 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::TestError, base::Unretained(this))); base 115 components/wifi/wifi_service_test.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 116 components/wifi/wifi_service_test.cc base::MessageLoop::QuitClosure()); base 125 components/wifi/wifi_service_test.cc base::MessageLoop loop_; base 131 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::OnVisibleNetworks, base::Unretained(this)), base 132 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::LogError, base::Unretained(this))); base 138 components/wifi/wifi_service_test.cc base::RunLoop run_loop; base 140 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::FindConnectedNetwork, base 141 components/wifi/wifi_service_test.cc base::Unretained(this)), base 142 components/wifi/wifi_service_test.cc base::Bind(&WiFiServiceTest::LogError, base::Unretained(this))); base 188 components/wifi/wifi_service_win.cc scoped_refptr<base::SequencedTaskRunner> task_runner) OVERRIDE; base 193 components/wifi/wifi_service_win.cc base::DictionaryValue* properties, base 197 components/wifi/wifi_service_win.cc base::DictionaryValue* managed_properties, base 201 components/wifi/wifi_service_win.cc base::DictionaryValue* properties, base 205 components/wifi/wifi_service_win.cc scoped_ptr<base::DictionaryValue> properties, base 209 components/wifi/wifi_service_win.cc scoped_ptr<base::DictionaryValue> properties, base 214 components/wifi/wifi_service_win.cc base::ListValue* network_list) OVERRIDE; base 229 components/wifi/wifi_service_win.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy, base 308 components/wifi/wifi_service_win.cc base::string16 ProfileNameFromGUID(const std::string& network_guid) const { base 309 components/wifi/wifi_service_win.cc return base::UTF8ToUTF16(network_guid); base 449 components/wifi/wifi_service_win.cc base::DictionaryValue connect_properties_; base 456 components/wifi/wifi_service_win.cc base::DictionaryValue created_profiles_; base 464 components/wifi/wifi_service_win.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 466 components/wifi/wifi_service_win.cc scoped_refptr<base::SequencedTaskRunner> task_runner_; base 498 components/wifi/wifi_service_win.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 511 components/wifi/wifi_service_win.cc base::DictionaryValue* properties, base 535 components/wifi/wifi_service_win.cc base::DictionaryValue* managed_properties, base 541 components/wifi/wifi_service_win.cc base::DictionaryValue* properties, base 548 components/wifi/wifi_service_win.cc scoped_ptr<base::DictionaryValue> properties, base 564 components/wifi/wifi_service_win.cc scoped_ptr<base::DictionaryValue> properties, base 602 components/wifi/wifi_service_win.cc scoped_ptr<base::DictionaryValue> tkip_profile(new base::DictionaryValue()); base 613 components/wifi/wifi_service_win.cc base::ListValue* network_list) { base 629 components/wifi/wifi_service_win.cc scoped_ptr<base::DictionaryValue> network(it->ToValue(true)); base 751 components/wifi/wifi_service_win.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy, base 804 components/wifi/wifi_service_win.cc base::Bind(&WiFiServiceImpl::NotifyNetworkChanged, base 805 components/wifi/wifi_service_win.cc base::Unretained(this), base 812 components/wifi/wifi_service_win.cc base::Bind(&WiFiServiceImpl::OnNetworkScanCompleteOnMainThread, base 813 components/wifi/wifi_service_win.cc base::Unretained(this))); base 836 components/wifi/wifi_service_win.cc base::DictionaryValue* created_profile = NULL; base 895 components/wifi/wifi_service_win.cc base::Bind(&WiFiServiceImpl::WaitForNetworkConnect, base 896 components/wifi/wifi_service_win.cc base::Unretained(this), base 899 components/wifi/wifi_service_win.cc base::TimeDelta::FromMilliseconds(kAttemptDelayMs)); base 948 components/wifi/wifi_service_win.cc base::FilePath path; base 949 components/wifi/wifi_service_win.cc if (!PathService::Get(base::DIR_SYSTEM, &path)) { base 1089 components/wifi/wifi_service_win.cc base::string16 guid_string; base 1115 components/wifi/wifi_service_win.cc base::win::RegKey nw_category_wizard; base 1144 components/wifi/wifi_service_win.cc base::win::RegKey nw_category_wizard; base 1437 components/wifi/wifi_service_win.cc const base::DictionaryValue* properties; base 1438 components/wifi/wifi_service_win.cc const base::DictionaryValue* wifi; base 1552 components/wifi/wifi_service_win.cc base::string16 profile_name = ProfileNameFromGUID(network_guid); base 1596 components/wifi/wifi_service_win.cc base::string16 profile_name = ProfileNameFromGUID(network_guid); base 1623 components/wifi/wifi_service_win.cc base::string16 profile_name = ProfileNameFromGUID(network_guid); base 1635 components/wifi/wifi_service_win.cc *profile_xml = base::UTF16ToUTF8(str_profile_xml); base 1650 components/wifi/wifi_service_win.cc base::string16 profile_xml16(base::UTF8ToUTF16(profile_xml)); base 1672 components/wifi/wifi_service_win.cc base::DictionaryValue* created_profile = NULL; base 1678 components/wifi/wifi_service_win.cc base::string16 profile_name = ProfileNameFromGUID(network_guid); base 1789 components/wifi/wifi_service_win.cc base::Bind(network_list_changed_observer_, current_networks)); base 1798 components/wifi/wifi_service_win.cc base::Bind(networks_changed_observer_, changed_networks)); base 51 components/wifi/wifi_test.cc if (base::MessageLoop::current()) base 52 components/wifi/wifi_test.cc base::MessageLoop::current()->Quit(); base 57 components/wifi/wifi_test.cc base::mac::ScopedNSAutoreleasePool scoped_pool_; base 61 components/wifi/wifi_test.cc base::AtExitManager exit_manager_; base 83 components/wifi/wifi_test.cc base::MessageLoopForIO loop; base 103 components/wifi/wifi_test.cc network_guid = base::UTF16ToASCII(parsed_command_line.GetArgs()[0]); base 123 components/wifi/wifi_test.cc base::ListValue network_list; base 131 components/wifi/wifi_test.cc base::DictionaryValue properties; base 140 components/wifi/wifi_test.cc scoped_ptr<base::DictionaryValue> properties(new base::DictionaryValue()); base 144 components/wifi/wifi_test.cc if (base::StringToInt(frequency, &value)) { base 14 content/app/android/app_jni_registrar.cc base::android::RegistrationMethod kContentRegisteredMethods[] = { base 25 content/app/android/child_process_service.cc using base::android::AttachCurrentThread; base 26 content/app/android/child_process_service.cc using base::android::CheckException; base 27 content/app/android/child_process_service.cc using base::android::JavaIntArrayToIntVector; base 40 content/app/android/child_process_service.cc const base::android::ScopedJavaLocalRef<jobject>& service) base 53 content/app/android/child_process_service.cc base::ProcessHandle pid, base 57 content/app/android/child_process_service.cc JNIEnv* env = base::android::AttachCurrentThread(); base 67 content/app/android/child_process_service.cc JNIEnv* env = base::android::AttachCurrentThread(); base 85 content/app/android/child_process_service.cc JNIEnv* env = base::android::AttachCurrentThread(); base 101 content/app/android/child_process_service.cc base::android::ScopedJavaGlobalRef<jobject> service_; base 116 content/app/android/child_process_service.cc base::android::ScopedJavaLocalRef<jobject> service(env, service_in); base 125 content/app/android/child_process_service.cc base::GlobalDescriptors::GetInstance()->Set(file_ids[i], file_fds[i]); base 133 content/app/android/child_process_service.cc base::android::MemoryPressureListenerAndroid::RegisterSystemCallback(env); base 158 content/app/android/child_process_service.cc base::android::LibraryLoaderExitHook(); base 18 content/app/android/content_main.cc using base::LazyInstance; base 32 content/app/android/content_main.cc base::android::ScopedJavaLocalRef<jobject> scoped_context(env, context); base 33 content/app/android/content_main.cc base::android::InitApplicationContext(env, scoped_context); base 38 content/app/android/library_loader_hooks.cc if (!base::android::RegisterJni(env)) base 76 content/app/android/library_loader_hooks.cc base::android::InitNativeCommandLineFromJavaArray(env, init_command_line); base 81 content/app/android/library_loader_hooks.cc base::debug::CategoryFilter category_filter( base 83 content/app/android/library_loader_hooks.cc base::debug::TraceLog::GetInstance()->SetEnabled(category_filter, base 84 content/app/android/library_loader_hooks.cc base::debug::TraceLog::RECORDING_MODE, base 85 content/app/android/library_loader_hooks.cc base::debug::TraceLog::RECORD_UNTIL_FULL); base 91 content/app/android/library_loader_hooks.cc base::debug::TraceLog::GetInstance()->SetProcessName("Browser"); base 92 content/app/android/library_loader_hooks.cc base::debug::TraceLog::GetInstance()->SetProcessSortIndex( base 180 content/app/content_main_runner.cc base::LazyInstance<ContentBrowserClient> base 183 content/app/content_main_runner.cc base::LazyInstance<ContentPluginClient> base 185 content/app/content_main_runner.cc base::LazyInstance<ContentRendererClient> base 187 content/app/content_main_runner.cc base::LazyInstance<ContentUtilityClient> base 245 content/app/content_main_runner.cc static base::ProcessId GetBrowserPid(const CommandLine& command_line) { base 246 content/app/content_main_runner.cc base::ProcessId browser_pid = base::GetCurrentProcId(); base 254 content/app/content_main_runner.cc base::StringToInt(channel_name, &browser_pid_int); base 255 content/app/content_main_runner.cc browser_pid = static_cast<base::ProcessId>(browser_pid_int); base 271 content/app/content_main_runner.cc base::GetParentProcessId( base 272 content/app/content_main_runner.cc base::GetParentProcessId(base::GetCurrentProcId())); base 289 content/app/content_main_runner.cc base::StringPrintf("%s-%u", kStatsFilename, base 291 content/app/content_main_runner.cc base::StatsTable* stats_table = new base::StatsTable(statsfile, base 293 content/app/content_main_runner.cc base::StatsTable::set_current(stats_table); base 368 content/app/content_main_runner.cc base::FilePath media_path; base 559 content/app/content_main_runner.cc base::type_profiler::InterceptFunctions::SetFunctions( base 560 content/app/content_main_runner.cc base::type_profiler::NewInterceptForTCMalloc, base 561 content/app/content_main_runner.cc base::type_profiler::DeleteInterceptForTCMalloc); base 568 content/app/content_main_runner.cc base::allocator::SetGetAllocatorWasteSizeFunction( base 570 content/app/content_main_runner.cc base::allocator::SetGetStatsFunction(GetStatsThunk); base 571 content/app/content_main_runner.cc base::allocator::SetReleaseFreeMemoryFunction(ReleaseFreeMemoryThunk); base 598 content/app/content_main_runner.cc base::GlobalDescriptors* g_fds = base::GlobalDescriptors::GetInstance(); base 600 content/app/content_main_runner.cc kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor); base 605 content/app/content_main_runner.cc kCrashDumpSignal + base::GlobalDescriptors::kBaseDescriptor); base 613 content/app/content_main_runner.cc base::EnableTerminationOnHeapCorruption(); base 614 content/app/content_main_runner.cc base::EnableTerminationOnOutOfMemory(); base 626 content/app/content_main_runner.cc exit_manager_.reset(new base::AtExitManager); base 635 content/app/content_main_runner.cc autorelease_pool_.reset(new base::mac::ScopedNSAutoreleasePool()); base 680 content/app/content_main_runner.cc base::RouteStdioToConsole(); base 686 content/app/content_main_runner.cc base::debug::CategoryFilter category_filter( base 688 content/app/content_main_runner.cc base::debug::TraceLog::GetInstance()->SetEnabled( base 690 content/app/content_main_runner.cc base::debug::TraceLog::RECORDING_MODE, base 691 content/app/content_main_runner.cc base::debug::TraceLog::RECORD_UNTIL_FULL); base 708 content/app/content_main_runner.cc base::PowerMonitorDeviceSource::AllocateSystemIOPorts(); base 717 content/app/content_main_runner.cc base::TimeTicks::SetNowIsHighResNowIfSupported(); base 738 content/app/content_main_runner.cc if (!base::debug::BeingDebugged()) base 751 content/app/content_main_runner.cc CHECK(base::i18n::InitializeICU()); base 853 content/app/content_main_runner.cc scoped_ptr<base::AtExitManager> exit_manager_; base 857 content/app/content_main_runner.cc scoped_ptr<base::mac::ScopedNSAutoreleasePool> autorelease_pool_; base 860 content/app/content_main_runner.cc base::Closure* ui_task_; base 44 content/browser/accessibility/accessibility_mode_helper.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8 && base 50 content/browser/accessibility/accessibility_tree_formatter.cc scoped_ptr<base::DictionaryValue> base 52 content/browser/accessibility/accessibility_tree_formatter.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue); base 58 content/browser/accessibility/accessibility_tree_formatter.cc base::string16* contents) { base 59 content/browser/accessibility/accessibility_tree_formatter.cc scoped_ptr<base::DictionaryValue> dict = BuildAccessibilityTree(); base 64 content/browser/accessibility/accessibility_tree_formatter.cc const BrowserAccessibility& node, base::DictionaryValue* dict) { base 67 content/browser/accessibility/accessibility_tree_formatter.cc base::ListValue* children = new base::ListValue; base 72 content/browser/accessibility/accessibility_tree_formatter.cc base::DictionaryValue* child_dict = new base::DictionaryValue; base 79 content/browser/accessibility/accessibility_tree_formatter.cc const base::DictionaryValue& dict, base::string16* contents, int depth) { base 80 content/browser/accessibility/accessibility_tree_formatter.cc base::string16 line = base 81 content/browser/accessibility/accessibility_tree_formatter.cc ToString(dict, base::string16(depth * kIndentSpaces, ' ')); base 82 content/browser/accessibility/accessibility_tree_formatter.cc if (line.find(base::ASCIIToUTF16(kSkipString)) != base::string16::npos) base 86 content/browser/accessibility/accessibility_tree_formatter.cc const base::ListValue* children; base 88 content/browser/accessibility/accessibility_tree_formatter.cc const base::DictionaryValue* child_dict; base 98 content/browser/accessibility/accessibility_tree_formatter.cc base::DictionaryValue* dict) { base 102 content/browser/accessibility/accessibility_tree_formatter.cc base::string16 AccessibilityTreeFormatter::ToString( base 103 content/browser/accessibility/accessibility_tree_formatter.cc const base::DictionaryValue& node, base 104 content/browser/accessibility/accessibility_tree_formatter.cc const base::string16& indent) { base 107 content/browser/accessibility/accessibility_tree_formatter.cc return indent + base::IntToString16(id_value) + base 108 content/browser/accessibility/accessibility_tree_formatter.cc base::ASCIIToUTF16("\n"); base 114 content/browser/accessibility/accessibility_tree_formatter.cc const base::FilePath::StringType base 116 content/browser/accessibility/accessibility_tree_formatter.cc return base::FilePath::StringType(); base 120 content/browser/accessibility/accessibility_tree_formatter.cc const base::FilePath::StringType base 122 content/browser/accessibility/accessibility_tree_formatter.cc return base::FilePath::StringType(); base 147 content/browser/accessibility/accessibility_tree_formatter.cc const base::string16& text, bool default_result) const { base 155 content/browser/accessibility/accessibility_tree_formatter.cc allow = (!MatchPattern(text, base::UTF8ToUTF16("*=''"))); base 163 content/browser/accessibility/accessibility_tree_formatter.cc base::string16 AccessibilityTreeFormatter::FormatCoordinates( base 165 content/browser/accessibility/accessibility_tree_formatter.cc const base::DictionaryValue& value) { base 169 content/browser/accessibility/accessibility_tree_formatter.cc std::string xy_str(base::StringPrintf("%s=(%d, %d)", name, x, y)); base 171 content/browser/accessibility/accessibility_tree_formatter.cc return base::UTF8ToUTF16(xy_str); base 175 content/browser/accessibility/accessibility_tree_formatter.cc bool include_by_default, const std::string& attr, base::string16* line) { base 176 content/browser/accessibility/accessibility_tree_formatter.cc WriteAttribute(include_by_default, base::UTF8ToUTF16(attr), line); base 180 content/browser/accessibility/accessibility_tree_formatter.cc bool include_by_default, const base::string16& attr, base::string16* line) { base 186 content/browser/accessibility/accessibility_tree_formatter.cc *line += base::ASCIIToUTF16(" "); base 52 content/browser/accessibility/accessibility_tree_formatter.h scoped_ptr<base::DictionaryValue> BuildAccessibilityTree(); base 55 content/browser/accessibility/accessibility_tree_formatter.h void FormatAccessibilityTree(base::string16* contents); base 65 content/browser/accessibility/accessibility_tree_formatter.h base::string16 match_str; base 68 content/browser/accessibility/accessibility_tree_formatter.h Filter(base::string16 match_str, Type type) base 81 content/browser/accessibility/accessibility_tree_formatter.h static const base::FilePath::StringType GetActualFileSuffix(); base 82 content/browser/accessibility/accessibility_tree_formatter.h static const base::FilePath::StringType GetExpectedFileSuffix(); base 103 content/browser/accessibility/accessibility_tree_formatter.h base::string16* contents, base 106 content/browser/accessibility/accessibility_tree_formatter.h base::DictionaryValue* tree_node); base 107 content/browser/accessibility/accessibility_tree_formatter.h void RecursiveFormatAccessibilityTree(const base::DictionaryValue& tree_node, base 108 content/browser/accessibility/accessibility_tree_formatter.h base::string16* contents, base 114 content/browser/accessibility/accessibility_tree_formatter.h base::DictionaryValue* dict); base 116 content/browser/accessibility/accessibility_tree_formatter.h base::string16 FormatCoordinates(const char* name, base 119 content/browser/accessibility/accessibility_tree_formatter.h const base::DictionaryValue& value); base 124 content/browser/accessibility/accessibility_tree_formatter.h base::string16 ToString(const base::DictionaryValue& node, base 125 content/browser/accessibility/accessibility_tree_formatter.h const base::string16& indent); base 129 content/browser/accessibility/accessibility_tree_formatter.h bool MatchesFilters(const base::string16& text, bool default_result) const; base 133 content/browser/accessibility/accessibility_tree_formatter.h const base::string16& attr, base 134 content/browser/accessibility/accessibility_tree_formatter.h base::string16* line); base 137 content/browser/accessibility/accessibility_tree_formatter.h base::string16* line); base 18 content/browser/accessibility/accessibility_tree_formatter_android.cc using base::StringPrintf; base 70 content/browser/accessibility/accessibility_tree_formatter_android.cc const BrowserAccessibility& node, base::DictionaryValue* dict) { base 117 content/browser/accessibility/accessibility_tree_formatter_android.cc base::string16 AccessibilityTreeFormatter::ToString( base 118 content/browser/accessibility/accessibility_tree_formatter_android.cc const base::DictionaryValue& dict, base 119 content/browser/accessibility/accessibility_tree_formatter_android.cc const base::string16& indent) { base 120 content/browser/accessibility/accessibility_tree_formatter_android.cc base::string16 line; base 122 content/browser/accessibility/accessibility_tree_formatter_android.cc base::string16 class_value; base 124 content/browser/accessibility/accessibility_tree_formatter_android.cc WriteAttribute(true, base::UTF16ToUTF8(class_value), &line); base 153 content/browser/accessibility/accessibility_tree_formatter_android.cc return indent + line + base::ASCIIToUTF16("\n"); base 157 content/browser/accessibility/accessibility_tree_formatter_android.cc const base::FilePath::StringType base 163 content/browser/accessibility/accessibility_tree_formatter_android.cc const base::FilePath::StringType base 19 content/browser/accessibility/accessibility_tree_formatter_gtk.cc base::DictionaryValue* dict) { base 30 content/browser/accessibility/accessibility_tree_formatter_gtk.cc base::ListValue* states = new base::ListValue; base 40 content/browser/accessibility/accessibility_tree_formatter_gtk.cc base::string16 AccessibilityTreeFormatter::ToString( base 41 content/browser/accessibility/accessibility_tree_formatter_gtk.cc const base::DictionaryValue& node, base 42 content/browser/accessibility/accessibility_tree_formatter_gtk.cc const base::string16& indent) { base 43 content/browser/accessibility/accessibility_tree_formatter_gtk.cc base::string16 line; base 47 content/browser/accessibility/accessibility_tree_formatter_gtk.cc WriteAttribute(true, base::StringPrintf("[%s]", role_value.c_str()), &line); base 51 content/browser/accessibility/accessibility_tree_formatter_gtk.cc WriteAttribute(true, base::StringPrintf("name='%s'", name_value.c_str()), base 57 content/browser/accessibility/accessibility_tree_formatter_gtk.cc base::StringPrintf("description='%s'", base 61 content/browser/accessibility/accessibility_tree_formatter_gtk.cc const base::ListValue* states_value; base 63 content/browser/accessibility/accessibility_tree_formatter_gtk.cc for (base::ListValue::const_iterator it = states_value->begin(); base 74 content/browser/accessibility/accessibility_tree_formatter_gtk.cc base::StringPrintf("id=%d", id_value), base 77 content/browser/accessibility/accessibility_tree_formatter_gtk.cc return indent + line + base::ASCIIToUTF16("\n"); base 83 content/browser/accessibility/accessibility_tree_formatter_gtk.cc const base::FilePath::StringType base 89 content/browser/accessibility/accessibility_tree_formatter_gtk.cc const base::FilePath::StringType base 23 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::map<int32, base::string16> ia_role_string_map; base 24 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::map<int32, base::string16> ia2_role_string_map; base 25 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::map<int32, base::string16> ia_state_string_map; base 26 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::map<int32, base::string16> ia2_state_string_map; base 223 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc base::string16 IAccessibleRoleToString(int32 ia_role) { base 227 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc base::string16 IAccessible2RoleToString(int32 ia_role) { base 232 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::vector<base::string16>* result) { base 233 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc const std::map<int32, base::string16>& state_string_map = base 235 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::map<int32, base::string16>::const_iterator it; base 242 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc base::string16 IAccessibleStateToString(int32 ia_state) { base 243 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::vector<base::string16> strings; base 249 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::vector<base::string16>* result) { base 250 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc const std::map<int32, base::string16>& state_string_map = base 252 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::map<int32, base::string16>::const_iterator it; base 259 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc base::string16 IAccessible2StateToString(int32 ia2_state) { base 260 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc std::vector<base::string16> strings; base 16 content/browser/accessibility/accessibility_tree_formatter_utils_win.h CONTENT_EXPORT base::string16 IAccessibleRoleToString(int32 ia_role); base 17 content/browser/accessibility/accessibility_tree_formatter_utils_win.h CONTENT_EXPORT base::string16 IAccessible2RoleToString(int32 ia_role); base 18 content/browser/accessibility/accessibility_tree_formatter_utils_win.h CONTENT_EXPORT base::string16 IAccessibleStateToString(int32 ia_state); base 20 content/browser/accessibility/accessibility_tree_formatter_utils_win.h int32 ia_state, std::vector<base::string16>* result); base 21 content/browser/accessibility/accessibility_tree_formatter_utils_win.h CONTENT_EXPORT base::string16 IAccessible2StateToString(int32 ia2_state); base 23 content/browser/accessibility/accessibility_tree_formatter_utils_win.h int32 ia_state, std::vector<base::string16>* result); base 21 content/browser/accessibility/accessibility_tree_formatter_win.cc using base::StringPrintf; base 60 content/browser/accessibility/accessibility_tree_formatter_win.cc const BrowserAccessibility& node, base::DictionaryValue* dict) { base 78 content/browser/accessibility/accessibility_tree_formatter_win.cc std::vector<base::string16> state_strings; base 88 content/browser/accessibility/accessibility_tree_formatter_win.cc base::ListValue* states = new base::ListValue; base 89 content/browser/accessibility/accessibility_tree_formatter_win.cc for (std::vector<base::string16>::const_iterator it = state_strings.begin(); base 92 content/browser/accessibility/accessibility_tree_formatter_win.cc states->AppendString(base::UTF16ToUTF8(*it)); base 96 content/browser/accessibility/accessibility_tree_formatter_win.cc const std::vector<base::string16>& ia2_attributes = acc_obj->ia2_attributes(); base 97 content/browser/accessibility/accessibility_tree_formatter_win.cc base::ListValue* attributes = new base::ListValue; base 98 content/browser/accessibility/accessibility_tree_formatter_win.cc for (std::vector<base::string16>::const_iterator it = ia2_attributes.begin(); base 101 content/browser/accessibility/accessibility_tree_formatter_win.cc attributes->AppendString(base::UTF16ToUTF8(*it)); base 143 content/browser/accessibility/accessibility_tree_formatter_win.cc base::DictionaryValue* location = new base::DictionaryValue; base 148 content/browser/accessibility/accessibility_tree_formatter_win.cc base::DictionaryValue* size = new base::DictionaryValue; base 201 content/browser/accessibility/accessibility_tree_formatter_win.cc base::string16 AccessibilityTreeFormatter::ToString( base 202 content/browser/accessibility/accessibility_tree_formatter_win.cc const base::DictionaryValue& dict, base 203 content/browser/accessibility/accessibility_tree_formatter_win.cc const base::string16& indent) { base 204 content/browser/accessibility/accessibility_tree_formatter_win.cc base::string16 line; base 206 content/browser/accessibility/accessibility_tree_formatter_win.cc base::string16 role_value; base 208 content/browser/accessibility/accessibility_tree_formatter_win.cc WriteAttribute(true, base::UTF16ToUTF8(role_value), &line); base 210 content/browser/accessibility/accessibility_tree_formatter_win.cc base::string16 name_value; base 212 content/browser/accessibility/accessibility_tree_formatter_win.cc WriteAttribute(true, base::StringPrintf(L"name='%ls'", name_value.c_str()), base 217 content/browser/accessibility/accessibility_tree_formatter_win.cc const base::Value* value; base 222 content/browser/accessibility/accessibility_tree_formatter_win.cc case base::Value::TYPE_STRING: { base 223 content/browser/accessibility/accessibility_tree_formatter_win.cc base::string16 string_value; base 227 content/browser/accessibility/accessibility_tree_formatter_win.cc base::UTF8ToUTF16(attribute_name).c_str(), base 232 content/browser/accessibility/accessibility_tree_formatter_win.cc case base::Value::TYPE_INTEGER: { base 236 content/browser/accessibility/accessibility_tree_formatter_win.cc base::StringPrintf(L"%ls=%d", base 237 content/browser/accessibility/accessibility_tree_formatter_win.cc base::UTF8ToUTF16( base 243 content/browser/accessibility/accessibility_tree_formatter_win.cc case base::Value::TYPE_DOUBLE: { base 247 content/browser/accessibility/accessibility_tree_formatter_win.cc base::StringPrintf(L"%ls=%.2f", base 248 content/browser/accessibility/accessibility_tree_formatter_win.cc base::UTF8ToUTF16( base 254 content/browser/accessibility/accessibility_tree_formatter_win.cc case base::Value::TYPE_LIST: { base 257 content/browser/accessibility/accessibility_tree_formatter_win.cc const base::ListValue* list_value; base 259 content/browser/accessibility/accessibility_tree_formatter_win.cc for (base::ListValue::const_iterator it = list_value->begin(); base 262 content/browser/accessibility/accessibility_tree_formatter_win.cc base::string16 string_value; base 268 content/browser/accessibility/accessibility_tree_formatter_win.cc case base::Value::TYPE_DICTIONARY: { base 271 content/browser/accessibility/accessibility_tree_formatter_win.cc const base::DictionaryValue* dict_value; base 291 content/browser/accessibility/accessibility_tree_formatter_win.cc return indent + line + base::ASCIIToUTF16("\n"); base 295 content/browser/accessibility/accessibility_tree_formatter_win.cc const base::FilePath::StringType base 301 content/browser/accessibility/accessibility_tree_formatter_win.cc const base::FilePath::StringType base 45 content/browser/accessibility/accessibility_ui.cc base::DictionaryValue* BuildTargetDescriptor( base 52 content/browser/accessibility/accessibility_ui.cc base::ProcessHandle handle = base::kNullProcessHandle) { base 53 content/browser/accessibility/accessibility_ui.cc base::DictionaryValue* target_data = new base::DictionaryValue(); base 58 content/browser/accessibility/accessibility_ui.cc target_data->SetInteger(kPidField, base::GetProcId(handle)); base 65 content/browser/accessibility/accessibility_ui.cc base::DictionaryValue* BuildTargetDescriptor(RenderViewHost* rvh) { base 77 content/browser/accessibility/accessibility_ui.cc title = base::UTF16ToUTF8(web_contents->GetTitle()); base 94 content/browser/accessibility/accessibility_ui.cc scoped_ptr<base::ListValue> rvh_list(new base::ListValue()); base 109 content/browser/accessibility/accessibility_ui.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 111 content/browser/accessibility/accessibility_ui.cc scoped_ptr<base::FundamentalValue> a11y_mode(base::Value::CreateIntegerValue( base 116 content/browser/accessibility/accessibility_ui.cc base::JSONWriter::Write(data.get(), &json_string); base 118 content/browser/accessibility/accessibility_ui.cc callback.Run(base::RefCountedString::TakeString(&json_string)); base 142 content/browser/accessibility/accessibility_ui.cc base::Bind(&AccessibilityUI::ToggleAccessibility, base 143 content/browser/accessibility/accessibility_ui.cc base::Unretained(this))); base 146 content/browser/accessibility/accessibility_ui.cc base::Bind(&AccessibilityUI::ToggleGlobalAccessibility, base 147 content/browser/accessibility/accessibility_ui.cc base::Unretained(this))); base 150 content/browser/accessibility/accessibility_ui.cc base::Bind(&AccessibilityUI::RequestAccessibilityTree, base 151 content/browser/accessibility/accessibility_ui.cc base::Unretained(this))); base 158 content/browser/accessibility/accessibility_ui.cc html_source->SetRequestFilter(base::Bind(&HandleRequestCallback)); base 168 content/browser/accessibility/accessibility_ui.cc void AccessibilityUI::ToggleAccessibility(const base::ListValue* args) { base 176 content/browser/accessibility/accessibility_ui.cc CHECK(base::StringToInt(process_id_str, &process_id)); base 177 content/browser/accessibility/accessibility_ui.cc CHECK(base::StringToInt(route_id_str, &route_id)); base 192 content/browser/accessibility/accessibility_ui.cc void AccessibilityUI::ToggleGlobalAccessibility(const base::ListValue* args) { base 202 content/browser/accessibility/accessibility_ui.cc void AccessibilityUI::RequestAccessibilityTree(const base::ListValue* args) { base 210 content/browser/accessibility/accessibility_ui.cc CHECK(base::StringToInt(process_id_str, &process_id)); base 211 content/browser/accessibility/accessibility_ui.cc CHECK(base::StringToInt(route_id_str, &route_id)); base 215 content/browser/accessibility/accessibility_ui.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 218 content/browser/accessibility/accessibility_ui.cc result->Set("error", new base::StringValue("Renderer no longer exists.")); base 223 content/browser/accessibility/accessibility_ui.cc scoped_ptr<base::DictionaryValue> result(BuildTargetDescriptor(rvh)); base 228 content/browser/accessibility/accessibility_ui.cc new base::StringValue("Could not get accessibility tree.")); base 234 content/browser/accessibility/accessibility_ui.cc base::string16 accessibility_contents_utf16; base 239 content/browser/accessibility/accessibility_ui.cc new base::StringValue("Could not get accessibility tree.")); base 245 content/browser/accessibility/accessibility_ui.cc base::ASCIIToUTF16("*"), base 251 content/browser/accessibility/accessibility_ui.cc new base::StringValue( base 252 content/browser/accessibility/accessibility_ui.cc base::UTF16ToUTF8(accessibility_contents_utf16))); base 10 content/browser/accessibility/accessibility_ui.h namespace base { base 22 content/browser/accessibility/accessibility_ui.h void ToggleAccessibility(const base::ListValue* args); base 23 content/browser/accessibility/accessibility_ui.h void ToggleGlobalAccessibility(const base::ListValue* args); base 24 content/browser/accessibility/accessibility_ui.h void RequestAccessibilityTree(const base::ListValue* args); base 41 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IAccessible> GetAccessibleFromResultVariant( base 44 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IAccessible> ptr; base 54 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IDispatch> dispatch; base 68 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IServiceProvider> service_provider; base 82 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedBstr name_bstr; base 83 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 86 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant role; base 94 content/browser/accessibility/accessibility_win_browsertest.cc printf("role=%d name=%s\n", V_I4(&role), base::WideToUTF8(name).c_str()); base 113 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IAccessible> child_accessible( base 228 content/browser/accessibility/accessibility_win_browsertest.cc base::string16 RoleVariantToString(const base::win::ScopedVariant& role); base 234 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant role_; base 289 content/browser/accessibility/accessibility_win_browsertest.cc base::UTF16ToUTF8(RoleVariantToString(role_))); base 307 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedBstr name; base 308 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 322 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant role; base 323 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 332 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IAccessible2> accessible2; base 347 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant role; base 348 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 355 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedBstr value; base 367 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant state; base 368 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 399 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IAccessible> child_accessible( base 406 content/browser/accessibility/accessibility_win_browsertest.cc base::string16 AccessibleChecker::RoleVariantToString( base 407 content/browser/accessibility/accessibility_win_browsertest.cc const base::win::ScopedVariant& role) { base 411 content/browser/accessibility/accessibility_win_browsertest.cc return base::string16(V_BSTR(&role), SysStringLen(V_BSTR(&role))); base 412 content/browser/accessibility/accessibility_win_browsertest.cc return base::string16(); base 457 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IAccessible> document_accessible( base 460 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IDispatch> parent_dispatch; base 471 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedBstr name; base 472 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 653 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IAccessible> document_accessible( base 656 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 713 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IAccessible> browser_accessible; base 808 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IAccessible> document_accessible( base 813 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<IServiceProvider> service_provider; base 819 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<ISimpleDOMNode> document_isimpledomnode; base 825 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedBstr node_name; base 827 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedBstr node_value; base 840 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<ISimpleDOMNode> body_isimpledomnode; base 854 content/browser/accessibility/accessibility_win_browsertest.cc base::win::ScopedComPtr<ISimpleDOMNode> checkbox_isimpledomnode; base 513 content/browser/accessibility/browser_accessibility.cc base::string16 BrowserAccessibility::GetString16Attribute( base 517 content/browser/accessibility/browser_accessibility.cc return base::string16(); base 518 content/browser/accessibility/browser_accessibility.cc return base::UTF8ToUTF16(value_utf8); base 523 content/browser/accessibility/browser_accessibility.cc base::string16* value) const { base 527 content/browser/accessibility/browser_accessibility.cc *value = base::UTF8ToUTF16(value_utf8); base 591 content/browser/accessibility/browser_accessibility.cc const char* html_attr, base::string16* value) const { base 595 content/browser/accessibility/browser_accessibility.cc *value = base::UTF8ToUTF16(value_utf8); base 606 content/browser/accessibility/browser_accessibility.cc base::string16 value; base 219 content/browser/accessibility/browser_accessibility.h base::string16* value) const; base 220 content/browser/accessibility/browser_accessibility.h base::string16 GetString16Attribute( base 234 content/browser/accessibility/browser_accessibility.h bool GetHtmlAttribute(const char* attr, base::string16* value) const; base 74 content/browser/accessibility/browser_accessibility_android.cc base::string16 name = GetText(); base 264 content/browser/accessibility/browser_accessibility_android.cc base::string16 BrowserAccessibilityAndroid::GetText() const { base 267 content/browser/accessibility/browser_accessibility_android.cc return base::string16(); base 270 content/browser/accessibility/browser_accessibility_android.cc base::string16 description = GetString16Attribute( base 272 content/browser/accessibility/browser_accessibility_android.cc base::string16 text; base 274 content/browser/accessibility/browser_accessibility_android.cc text = base::UTF8ToUTF16(name()); base 278 content/browser/accessibility/browser_accessibility_android.cc text = base::UTF8ToUTF16(value()); base 293 content/browser/accessibility/browser_accessibility_android.cc text += base::ASCIIToUTF16(" Heading"); base 411 content/browser/accessibility/browser_accessibility_android.cc base::string16 BrowserAccessibilityAndroid::GetTextChangeBeforeText() const { base 563 content/browser/accessibility/browser_accessibility_android.cc base::string16 html_tag = GetString16Attribute( base 565 content/browser/accessibility/browser_accessibility_android.cc return html_tag == base::ASCIIToUTF16("iframe"); base 572 content/browser/accessibility/browser_accessibility_android.cc if (base::UTF8ToUTF16(value()) != new_value_) { base 574 content/browser/accessibility/browser_accessibility_android.cc new_value_ = base::UTF8ToUTF16(value()); base 581 content/browser/accessibility/browser_accessibility_android.cc base::string16 live; base 591 content/browser/accessibility/browser_accessibility_android.cc base::string16& aria_live) { base 596 content/browser/accessibility/browser_accessibility_android.cc base::string16 text = GetText(); base 44 content/browser/accessibility/browser_accessibility_android.h base::string16 GetText() const; base 57 content/browser/accessibility/browser_accessibility_android.h base::string16 GetTextChangeBeforeText() const; base 89 content/browser/accessibility/browser_accessibility_android.h void NotifyLiveRegionUpdate(base::string16& aria_live); base 93 content/browser/accessibility/browser_accessibility_android.h base::string16 cached_text_; base 95 content/browser/accessibility/browser_accessibility_android.h base::string16 old_value_; base 96 content/browser/accessibility/browser_accessibility_android.h base::string16 new_value_; base 21 content/browser/accessibility/browser_accessibility_cocoa.h base::scoped_nsobject<NSMutableArray> children_; base 82 content/browser/accessibility/browser_accessibility_manager.cc base::hash_map<int32, BrowserAccessibility*>::iterator iter = base 239 content/browser/accessibility/browser_accessibility_manager.h base::hash_map<int32, BrowserAccessibility*> renderer_id_map_; base 18 content/browser/accessibility/browser_accessibility_manager_android.cc using base::android::AttachCurrentThread; base 19 content/browser/accessibility/browser_accessibility_manager_android.cc using base::android::ScopedJavaLocalRef; base 43 content/browser/accessibility/browser_accessibility_manager_android.cc AndroidHtmlElementType HtmlElementTypeFromString(base::string16 element_type) { base 44 content/browser/accessibility/browser_accessibility_manager_android.cc if (element_type == base::ASCIIToUTF16("SECTION")) base 46 content/browser/accessibility/browser_accessibility_manager_android.cc else if (element_type == base::ASCIIToUTF16("LIST")) base 48 content/browser/accessibility/browser_accessibility_manager_android.cc else if (element_type == base::ASCIIToUTF16("CONTROL")) base 164 content/browser/accessibility/browser_accessibility_manager_android.cc base::android::ConvertUTF16ToJavaString( base 247 content/browser/accessibility/browser_accessibility_manager_android.cc base::android::ConvertUTF8ToJavaString(env, node->GetClassName()).obj()); base 250 content/browser/accessibility/browser_accessibility_manager_android.cc base::android::ConvertUTF16ToJavaString(env, node->GetText()).obj(), base 319 content/browser/accessibility/browser_accessibility_manager_android.cc base::android::ConvertUTF8ToJavaString(env, node->GetClassName()).obj()); base 338 content/browser/accessibility/browser_accessibility_manager_android.cc base::android::ConvertUTF16ToJavaString( base 340 content/browser/accessibility/browser_accessibility_manager_android.cc base::android::ConvertUTF16ToJavaString(env, node->GetText()).obj()); base 348 content/browser/accessibility/browser_accessibility_manager_android.cc base::android::ConvertUTF16ToJavaString(env, node->GetText()).obj()); base 475 content/browser/accessibility/browser_accessibility_manager_android.cc base::android::ConvertJavaStringToUTF16(env, element_type_str)); base 23 content/browser/accessibility/browser_accessibility_manager_android.h base::android::ScopedJavaLocalRef<jobject> content_view_core, base 33 content/browser/accessibility/browser_accessibility_manager_android.h base::android::ScopedJavaLocalRef<jobject> content_view_core); base 235 content/browser/accessibility/browser_accessibility_manager_win.cc base::hash_map<LONG, int32>::iterator iter = base 83 content/browser/accessibility/browser_accessibility_manager_win.h base::hash_map<long, int32> unique_id_to_renderer_id_map_; base 58 content/browser/accessibility/browser_accessibility_state_impl.cc base::Bind(&BrowserAccessibilityStateImpl::UpdateHistograms, this), base 59 content/browser/accessibility/browser_accessibility_state_impl.cc base::TimeDelta::FromSeconds(kAccessibilityHistogramDelaySecs)); base 86 content/browser/accessibility/browser_accessibility_state_impl.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8 && base 124 content/browser/accessibility/browser_accessibility_state_impl.cc base::Closure callback) { base 36 content/browser/accessibility/browser_accessibility_state_impl.h : public base::RefCountedThreadSafe<BrowserAccessibilityStateImpl>, base 48 content/browser/accessibility/browser_accessibility_state_impl.h virtual void AddHistogramCallback(base::Closure callback) OVERRIDE; base 64 content/browser/accessibility/browser_accessibility_state_impl.h friend class base::RefCountedThreadSafe<BrowserAccessibilityStateImpl>; base 85 content/browser/accessibility/browser_accessibility_state_impl.h std::vector<base::Closure> histogram_callbacks_; base 60 content/browser/accessibility/browser_accessibility_state_impl_win.cc base::string16 module_name(base::FilePath(filename).BaseName().value()); base 37 content/browser/accessibility/browser_accessibility_win.cc const base::char16 BrowserAccessibilityWin::kEmbeddedCharacter[] = L"\xfffc"; base 41 content/browser/accessibility/browser_accessibility_win.cc base::win::kFirstBrowserAccessibilityManagerAccessibilityId; base 61 content/browser/accessibility/browser_accessibility_win.cc const base::string16& type); base 78 content/browser/accessibility/browser_accessibility_win.cc base::string16 type_; base 79 content/browser/accessibility/browser_accessibility_win.cc base::win::ScopedComPtr<BrowserAccessibilityWin> owner_; base 84 content/browser/accessibility/browser_accessibility_win.cc const base::string16& type) { base 206 content/browser/accessibility/browser_accessibility_win.cc base::win::kLastBrowserAccessibilityManagerAccessibilityId) { base 208 content/browser/accessibility/browser_accessibility_win.cc base::win::kFirstBrowserAccessibilityManagerAccessibilityId; base 483 content/browser/accessibility/browser_accessibility_win.cc *name = SysAllocString(base::UTF8ToUTF16(name_str).c_str()); base 576 content/browser/accessibility/browser_accessibility_win.cc base::string16 value_text = target->GetValueText(); base 590 content/browser/accessibility/browser_accessibility_win.cc base::string16 value_text; base 591 content/browser/accessibility/browser_accessibility_win.cc value_text = base::IntToString16((r * 100) / 255) + L"% red " + base 592 content/browser/accessibility/browser_accessibility_win.cc base::IntToString16((g * 100) / 255) + L"% green " + base 593 content/browser/accessibility/browser_accessibility_win.cc base::IntToString16((b * 100) / 255) + L"% blue"; base 599 content/browser/accessibility/browser_accessibility_win.cc *value = SysAllocString(base::UTF8ToUTF16(target->value()).c_str()); base 640 content/browser/accessibility/browser_accessibility_win.cc base::win::EnumVariant* enum_variant = base 641 content/browser/accessibility/browser_accessibility_win.cc new base::win::EnumVariant(selected_count); base 654 content/browser/accessibility/browser_accessibility_win.cc static_cast<base::win::IUnknownImpl*>(enum_variant)); base 696 content/browser/accessibility/browser_accessibility_win.cc base::string16 str; base 909 content/browser/accessibility/browser_accessibility_win.cc base::SplitString(GetContentClient()->GetProduct(), '/', &product_components); base 913 content/browser/accessibility/browser_accessibility_win.cc *app_name = SysAllocString(base::UTF8ToUTF16(product_components[0]).c_str()); base 928 content/browser/accessibility/browser_accessibility_win.cc base::SplitString(GetContentClient()->GetProduct(), '/', &product_components); base 933 content/browser/accessibility/browser_accessibility_win.cc SysAllocString(base::UTF8ToUTF16(product_components[1]).c_str()); base 962 content/browser/accessibility/browser_accessibility_win.cc *toolkit_version = SysAllocString(base::UTF8ToUTF16(user_agent).c_str()); base 1146 content/browser/accessibility/browser_accessibility_win.cc base::string16 cell_name = cell->GetString16Attribute( base 1333 content/browser/accessibility/browser_accessibility_win.cc base::string16 cell_name = cell->GetString16Attribute( base 1936 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2017 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2038 content/browser/accessibility/browser_accessibility_win.cc base::string16 substr = text_str.substr(start_offset, base 2069 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2099 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2128 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2143 content/browser/accessibility/browser_accessibility_win.cc base::string16 text = TextForIAccessibleText(); base 2204 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2227 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2242 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2437 content/browser/accessibility/browser_accessibility_win.cc base::string16 tag; base 2444 content/browser/accessibility/browser_accessibility_win.cc *node_value = SysAllocString(base::UTF8ToUTF16(value()).c_str()); base 2478 content/browser/accessibility/browser_accessibility_win.cc base::UTF8ToUTF16(html_attributes()[i].first).c_str()); base 2481 content/browser/accessibility/browser_accessibility_win.cc base::UTF8ToUTF16(html_attributes()[i].second).c_str()); base 2500 content/browser/accessibility/browser_accessibility_win.cc std::string name = base::UTF16ToUTF8((LPCWSTR)attrib_names[i]); base 2504 content/browser/accessibility/browser_accessibility_win.cc base::UTF8ToUTF16(html_attributes()[j].second).c_str()); base 2530 content/browser/accessibility/browser_accessibility_win.cc base::string16 display; base 2558 content/browser/accessibility/browser_accessibility_win.cc base::string16 name = (LPCWSTR)style_properties[i]; base 2561 content/browser/accessibility/browser_accessibility_win.cc base::string16 display = GetString16Attribute( base 2721 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2743 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 2805 content/browser/accessibility/browser_accessibility_win.cc base::win::GetVersion() >= base::win::VERSION_WIN8) { base 2827 content/browser/accessibility/browser_accessibility_win.cc base::win::UIATextProvider::CreateTextProvider(true, provider); base 2918 content/browser/accessibility/browser_accessibility_win.cc L"setsize:" + base::IntToString16(parent()->PlatformChildCount())); base 2920 content/browser/accessibility/browser_accessibility_win.cc L"setsize:" + base::IntToString16(index_in_parent() + 1)); base 2963 content/browser/accessibility/browser_accessibility_win.cc base::string16(L"table-cell-index:") + base::IntToString16(i)); base 3090 content/browser/accessibility/browser_accessibility_win.cc hypertext_ += base::UTF8ToUTF16(child->name()); base 3104 content/browser/accessibility/browser_accessibility_win.cc base::string16 text = TextForIAccessibleText(); base 3206 content/browser/accessibility/browser_accessibility_win.cc base::string16 str; base 3223 content/browser/accessibility/browser_accessibility_win.cc base::string16 value; base 3225 content/browser/accessibility/browser_accessibility_win.cc ia2_attributes_.push_back(base::ASCIIToUTF16(ia2_attr) + L":" + value); base 3233 content/browser/accessibility/browser_accessibility_win.cc ia2_attributes_.push_back((base::ASCIIToUTF16(ia2_attr) + L":") + base 3243 content/browser/accessibility/browser_accessibility_win.cc ia2_attributes_.push_back(base::ASCIIToUTF16(ia2_attr) + L":" + base 3244 content/browser/accessibility/browser_accessibility_win.cc base::IntToString16(value)); base 3248 content/browser/accessibility/browser_accessibility_win.cc base::string16 BrowserAccessibilityWin::GetValueText() { base 3250 content/browser/accessibility/browser_accessibility_win.cc base::string16 value = base::UTF8ToUTF16(this->value()); base 3254 content/browser/accessibility/browser_accessibility_win.cc value = base::UTF8ToUTF16(base::DoubleToString(fval)); base 3259 content/browser/accessibility/browser_accessibility_win.cc base::string16 BrowserAccessibilityWin::TextForIAccessibleText() { base 3261 content/browser/accessibility/browser_accessibility_win.cc return base::UTF8ToUTF16(value()); base 3263 content/browser/accessibility/browser_accessibility_win.cc base::UTF8ToUTF16(name()) : hypertext_; base 3267 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text, base 3291 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text, base 3368 content/browser/accessibility/browser_accessibility_win.cc base::string16 invalid; base 3378 content/browser/accessibility/browser_accessibility_win.cc base::string16 html_tag = GetString16Attribute( base 3492 content/browser/accessibility/browser_accessibility_win.cc base::string16 aria_role = GetString16Attribute( base 3690 content/browser/accessibility/browser_accessibility_win.cc base::string16 aria_role = GetString16Attribute( base 85 content/browser/accessibility/browser_accessibility_win.h CONTENT_EXPORT static const base::char16 kEmbeddedCharacter[]; base 89 content/browser/accessibility/browser_accessibility_win.h static std::map<int32, base::string16> role_string_map; base 90 content/browser/accessibility/browser_accessibility_win.h static std::map<int32, base::string16> state_string_map; base 768 content/browser/accessibility/browser_accessibility_win.h const base::string16& role_name() const { return role_name_; } base 771 content/browser/accessibility/browser_accessibility_win.h const std::vector<base::string16>& ia2_attributes() const { base 820 content/browser/accessibility/browser_accessibility_win.h base::string16 GetValueText(); base 824 content/browser/accessibility/browser_accessibility_win.h base::string16 TextForIAccessibleText(); base 828 content/browser/accessibility/browser_accessibility_win.h void HandleSpecialTextOffset(const base::string16& text, LONG* offset); base 836 content/browser/accessibility/browser_accessibility_win.h LONG FindBoundary(const base::string16& text, base 853 content/browser/accessibility/browser_accessibility_win.h base::string16 role_name_; base 860 content/browser/accessibility/browser_accessibility_win.h std::vector<base::string16> ia2_attributes_; base 867 content/browser/accessibility/browser_accessibility_win.h base::string16 previous_text_; base 872 content/browser/accessibility/browser_accessibility_win.h base::string16 old_text_; base 881 content/browser/accessibility/browser_accessibility_win.h base::string16 hypertext_; base 162 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 165 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedVariant one(1); base 210 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedVariant one(1); base 211 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedComPtr<IDispatch> text_dispatch; base 216 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedComPtr<IAccessible> text_accessible; base 220 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 221 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedBstr name; base 224 content/browser/accessibility/browser_accessibility_win_unittest.cc EXPECT_EQ(L"old text", base::string16(name)); base 255 content/browser/accessibility/browser_accessibility_win_unittest.cc EXPECT_EQ(L"new text", base::string16(name)); base 357 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedBstr text; base 359 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_EQ(text1_value, base::UTF16ToUTF8(base::string16(text))); base 455 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedBstr text; base 457 content/browser/accessibility/browser_accessibility_win_unittest.cc EXPECT_EQ(text1_name + text2_name, base::UTF16ToUTF8(base::string16(text))); base 463 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedComPtr<IAccessibleHyperlink> hyperlink; base 548 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedBstr text; base 550 content/browser/accessibility/browser_accessibility_win_unittest.cc const std::string embed = base::UTF16ToUTF8( base 553 content/browser/accessibility/browser_accessibility_win_unittest.cc base::UTF16ToUTF8(base::string16(text))); base 560 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedComPtr<IAccessibleHyperlink> hyperlink; base 561 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedComPtr<IAccessibleText> hypertext; base 571 content/browser/accessibility/browser_accessibility_win_unittest.cc base::UTF16ToUTF8(base::string16(text)).c_str()); base 581 content/browser/accessibility/browser_accessibility_win_unittest.cc base::UTF16ToUTF8(base::string16(text)).c_str()); base 689 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedComPtr<IAccessible> desktop_hwnd_iaccessible; base 52 content/browser/accessibility/cross_platform_accessibility_browsertest.cc const ui::AXNode* node, base::hash_set<int>* ids) { base 73 content/browser/accessibility/cross_platform_accessibility_browsertest.cc scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_; base 82 content/browser/accessibility/cross_platform_accessibility_browsertest.cc com_initializer_.reset(new base::win::ScopedCOMInitializer()); base 328 content/browser/accessibility/cross_platform_accessibility_browsertest.cc base::hash_set<int> ids; base 401 content/browser/accessibility/cross_platform_accessibility_browsertest.cc base::hash_set<int> ids; base 91 content/browser/accessibility/dump_accessibility_tree_browsertest.cc filters->push_back(Filter(base::ASCIIToUTF16("FOCUSABLE"), Filter::ALLOW)); base 92 content/browser/accessibility/dump_accessibility_tree_browsertest.cc filters->push_back(Filter(base::ASCIIToUTF16("READONLY"), Filter::ALLOW)); base 93 content/browser/accessibility/dump_accessibility_tree_browsertest.cc filters->push_back(Filter(base::ASCIIToUTF16("*=''"), Filter::DENY)); base 99 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::SplitString(test_html, '\n', &lines); base 112 content/browser/accessibility/dump_accessibility_tree_browsertest.cc Filter(base::UTF8ToUTF16(line.substr(allow_empty_str.size())), base 115 content/browser/accessibility/dump_accessibility_tree_browsertest.cc filters->push_back(Filter(base::UTF8ToUTF16( base 119 content/browser/accessibility/dump_accessibility_tree_browsertest.cc filters->push_back(Filter(base::UTF8ToUTF16( base 133 content/browser/accessibility/dump_accessibility_tree_browsertest.cc void RunTest(const base::FilePath::CharType* file_path); base 137 content/browser/accessibility/dump_accessibility_tree_browsertest.cc const base::FilePath::CharType* file_path) { base 141 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::FilePath dir_test_data; base 143 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::FilePath test_path( base 145 content/browser/accessibility/dump_accessibility_tree_browsertest.cc ASSERT_TRUE(base::PathExists(test_path)) base 148 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::FilePath html_file = test_path.Append(base::FilePath(file_path)); base 154 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::ReadFileToString(html_file, &html_contents); base 158 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::FilePath expected_file = base 159 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::FilePath(html_file.RemoveExtension().value() + base 161 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::ReadFileToString(expected_file, &expected_contents_raw); base 166 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::RemoveChars(expected_contents_raw, "\r", &expected_contents); base 174 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::string16 html_contents16; base 175 content/browser/accessibility/dump_accessibility_tree_browsertest.cc html_contents16 = base::UTF8ToUTF16(html_contents); base 196 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::string16 actual_contents_utf16; base 198 content/browser/accessibility/dump_accessibility_tree_browsertest.cc std::string actual_contents = base::UTF16ToUTF8(actual_contents_utf16); base 231 content/browser/accessibility/dump_accessibility_tree_browsertest.cc if (!base::PathExists(expected_file)) { base 232 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::FilePath actual_file = base 233 content/browser/accessibility/dump_accessibility_tree_browsertest.cc base::FilePath(html_file.RemoveExtension().value() + base 236 content/browser/accessibility/dump_accessibility_tree_browsertest.cc EXPECT_TRUE(base::WriteFile( base 43 content/browser/android/browser_jni_registrar.cc base::android::RegistrationMethod kContentRegisteredMethods[] = { base 16 content/browser/android/browser_startup_controller.cc JNIEnv* env = base::android::AttachCurrentThread(); base 21 content/browser/android/browser_startup_controller.cc JNIEnv* env = base::android::AttachCurrentThread(); base 36 content/browser/android/browser_startup_controller.cc : base::android::ConvertJavaStringToUTF8(env, plugin_descriptor)); base 21 content/browser/android/child_process_launcher_android.cc using base::android::AttachCurrentThread; base 22 content/browser/android/child_process_launcher_android.cc using base::android::ToJavaArrayOfStrings; base 23 content/browser/android/child_process_launcher_android.cc using base::android::ScopedJavaGlobalRef; base 24 content/browser/android/child_process_launcher_android.cc using base::android::ScopedJavaLocalRef; base 34 content/browser/android/child_process_launcher_android.cc const base::android::JavaRef<jobject>& surface, base 35 content/browser/android/child_process_launcher_android.cc base::ProcessHandle render_process_handle, base 78 content/browser/android/child_process_launcher_android.cc callback->Run(static_cast<base::ProcessHandle>(handle)); base 97 content/browser/android/child_process_launcher_android.cc base::android::CheckException(env); base 99 content/browser/android/child_process_launcher_android.cc base::android::CheckException(env); base 101 content/browser/android/child_process_launcher_android.cc base::android::CheckException(env); base 103 content/browser/android/child_process_launcher_android.cc base::android::CheckException(env); base 106 content/browser/android/child_process_launcher_android.cc base::android::CheckException(env); base 109 content/browser/android/child_process_launcher_android.cc base::android::CheckException(env); base 121 content/browser/android/child_process_launcher_android.cc base::android::GetApplicationContext(), base 130 content/browser/android/child_process_launcher_android.cc void StopChildProcess(base::ProcessHandle handle) { base 136 content/browser/android/child_process_launcher_android.cc bool IsChildProcessOomProtected(base::ProcessHandle handle) { base 152 content/browser/android/child_process_launcher_android.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 18 content/browser/android/child_process_launcher_android.h typedef base::Callback<void(base::ProcessHandle)> StartChildProcessCallback; base 24 content/browser/android/child_process_launcher_android.h const base::CommandLine::StringVector& argv, base 31 content/browser/android/child_process_launcher_android.h void StopChildProcess(base::ProcessHandle handle); base 33 content/browser/android/child_process_launcher_android.h bool IsChildProcessOomProtected(base::ProcessHandle handle); base 25 content/browser/android/content_settings.cc JNIEnv* env = base::android::AttachCurrentThread(); base 36 content/browser/android/content_startup_flags.cc if (base::StringToInt(limit, &value)) { base 17 content/browser/android/content_video_view.cc using base::android::AttachCurrentThread; base 18 content/browser/android/content_video_view.cc using base::android::CheckException; base 19 content/browser/android/content_video_view.cc using base::android::ScopedJavaGlobalRef; base 188 content/browser/android/content_video_view.cc base::MessageLoop::current()->PostTask( base 190 content/browser/android/content_video_view.cc base::Bind(&ContentVideoView::UpdateMediaMetadata, base 76 content/browser/android/content_video_view.h base::android::ScopedJavaLocalRef<jobject> GetJavaObject(JNIEnv* env); base 103 content/browser/android/content_video_view.h base::WeakPtrFactory<ContentVideoView> weak_factory_; base 67 content/browser/android/content_view_core_impl.cc using base::android::AttachCurrentThread; base 68 content/browser/android/content_view_core_impl.cc using base::android::ConvertJavaStringToUTF16; base 69 content/browser/android/content_view_core_impl.cc using base::android::ConvertJavaStringToUTF8; base 70 content/browser/android/content_view_core_impl.cc using base::android::ConvertUTF16ToJavaString; base 71 content/browser/android/content_view_core_impl.cc using base::android::ConvertUTF8ToJavaString; base 72 content/browser/android/content_view_core_impl.cc using base::android::ScopedJavaGlobalRef; base 73 content/browser/android/content_view_core_impl.cc using base::android::ScopedJavaLocalRef; base 180 content/browser/android/content_view_core_impl.cc : public base::SupportsUserData::Data { base 235 content/browser/android/content_view_core_impl.cc vsync_interval_(base::TimeDelta::FromMicroseconds( base 237 content/browser/android/content_view_core_impl.cc expected_browser_composite_time_(base::TimeDelta::FromMicroseconds( base 261 content/browser/android/content_view_core_impl.cc JNIEnv* env = base::android::AttachCurrentThread(); base 273 content/browser/android/content_view_core_impl.cc base::android::ScopedJavaLocalRef<jobject> base 436 content/browser/android/content_view_core_impl.cc base::Bind(&GeolocationDispatcherHost::PauseOrResume, base 500 content/browser/android/content_view_core_impl.cc void ContentViewCoreImpl::SetTitle(const base::string16& title) { base 506 content/browser/android/content_view_core_impl.cc ConvertUTF8ToJavaString(env, base::UTF16ToUTF8(title)); base 549 content/browser/android/content_view_core_impl.cc std::vector<base::string16> labels; base 560 content/browser/android/content_view_core_impl.cc base::android::ToJavaArrayOfStrings(env, labels)); base 713 content/browser/android/content_view_core_impl.cc const base::Callback<void(bool, const SkBitmap&)>& result_callback) { base 957 content/browser/android/content_view_core_impl.cc base::android::JavaByteArrayToByteVector(env, post_data, &http_body_vector); base 959 content/browser/android/content_view_core_impl.cc base::RefCountedBytes::TakeVector(&http_body_vector); base 1395 content/browser/android/content_view_core_impl.cc base::TimeTicks::FromInternalValue(timebase_micros), base 1396 content/browser/android/content_view_core_impl.cc base::TimeDelta::FromMicroseconds(interval_micros)); base 1399 content/browser/android/content_view_core_impl.cc base::TimeDelta::FromMicroseconds(interval_micros); base 1406 content/browser/android/content_view_core_impl.cc base::TimeTicks frame_time = base 1407 content/browser/android/content_view_core_impl.cc base::TimeTicks::FromInternalValue(frame_time_micros); base 1411 content/browser/android/content_view_core_impl.cc void ContentViewCoreImpl::SendBeginFrame(base::TimeTicks frame_time) { base 1416 content/browser/android/content_view_core_impl.cc base::TimeTicks display_time = frame_time + vsync_interval_; base 1417 content/browser/android/content_view_core_impl.cc base::TimeTicks deadline = display_time - expected_browser_composite_time_; base 1429 content/browser/android/content_view_core_impl.cc return view->Animate(base::TimeTicks::FromInternalValue(frame_time_micros)); base 1440 content/browser/android/content_view_core_impl.cc GURL url(base::android::ConvertJavaStringToUTF8(env, jurl)); base 1575 content/browser/android/content_view_core_impl.cc const base::Value* result) { base 1576 content/browser/android/content_view_core_impl.cc JNIEnv* env = base::android::AttachCurrentThread(); base 1578 content/browser/android/content_view_core_impl.cc base::JSONWriter::Write(result, &json); base 1613 content/browser/android/content_view_core_impl.cc base::Bind(&JavaScriptResultCallback, j_callback); base 1769 content/browser/android/content_view_core_impl.cc const base::string16& result) { base 52 content/browser/android/content_view_core_impl.h virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() OVERRIDE; base 63 content/browser/android/content_view_core_impl.h const base::Callback<void(bool, const SkBitmap&)>& result_callback) base 73 content/browser/android/content_view_core_impl.h base::android::ScopedJavaLocalRef<jobject> GetWebContentsAndroid(JNIEnv* env, base 93 content/browser/android/content_view_core_impl.h base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const; base 94 content/browser/android/content_view_core_impl.h base::android::ScopedJavaLocalRef<jstring> GetTitle( base 204 content/browser/android/content_view_core_impl.h base::android::ScopedJavaLocalRef<jstring> base 241 content/browser/android/content_view_core_impl.h void OnSmartClipDataExtracted(const base::string16& result); base 268 content/browser/android/content_view_core_impl.h void SetTitle(const base::string16& title); base 291 content/browser/android/content_view_core_impl.h base::android::ScopedJavaLocalRef<jobject> CreateTouchEventSynthesizer(); base 293 content/browser/android/content_view_core_impl.h base::android::ScopedJavaLocalRef<jobject> GetContentVideoViewClient(); base 297 content/browser/android/content_view_core_impl.h base::android::ScopedJavaLocalRef<jobject> GetContext(); base 348 content/browser/android/content_view_core_impl.h void SendBeginFrame(base::TimeTicks frame_time); base 386 content/browser/android/content_view_core_impl.h base::TimeDelta vsync_interval_; base 387 content/browser/android/content_view_core_impl.h base::TimeDelta expected_browser_composite_time_; base 25 content/browser/android/content_view_render_view.cc using base::android::ScopedJavaLocalRef; base 114 content/browser/android/content_view_render_view.cc JNIEnv* env = base::android::AttachCurrentThread(); base 123 content/browser/android/content_view_render_view.cc JNIEnv* env = base::android::AttachCurrentThread(); base 51 content/browser/android/content_view_render_view.h base::android::ScopedJavaGlobalRef<jobject> java_obj_; base 21 content/browser/android/content_view_statics.cc using base::android::ConvertJavaStringToUTF16; base 22 content/browser/android/content_view_statics.cc using base::android::ConvertUTF16ToJavaString; base 44 content/browser/android/content_view_statics.cc base::ProcessHandle handle, base 45 content/browser/android/content_view_statics.cc base::TerminationStatus status, base 97 content/browser/android/content_view_statics.cc base::LazyInstance<SuspendedProcessWatcher> g_suspended_processes_watcher = base 104 content/browser/android/content_view_statics.cc base::string16 content_16 = ConvertJavaStringToUTF16(env, addr); base 105 content/browser/android/content_view_statics.cc base::string16 result_16; base 18 content/browser/android/date_time_chooser_android.cc using base::android::AttachCurrentThread; base 19 content/browser/android/date_time_chooser_android.cc using base::android::ConvertJavaStringToUTF16; base 20 content/browser/android/date_time_chooser_android.cc using base::android::ConvertUTF8ToJavaString; base 21 content/browser/android/date_time_chooser_android.cc using base::android::ConvertUTF16ToJavaString; base 26 content/browser/android/date_time_chooser_android.cc base::string16 SanitizeSuggestionString(const base::string16& string) { base 27 content/browser/android/date_time_chooser_android.cc base::string16 trimmed = string.substr(0, 255); base 29 content/browser/android/date_time_chooser_android.cc base::i18n::UTF16CharIterator sanitized_iterator(&trimmed); base 36 content/browser/android/date_time_chooser_android.cc return base::string16(sanitized.getBuffer(), base 55 content/browser/android/date_time_chooser_android.h base::android::ScopedJavaGlobalRef<jobject> j_date_time_chooser_; base 36 content/browser/android/download_controller_android_impl.cc using base::android::ConvertUTF8ToJavaString; base 37 content/browser/android/download_controller_android_impl.cc using base::android::ScopedJavaLocalRef; base 74 content/browser/android/download_controller_android_impl.cc JNIEnv* env = base::android::AttachCurrentThread(); base 77 content/browser/android/download_controller_android_impl.cc base::android::CheckException(env); base 95 content/browser/android/download_controller_android_impl.cc GetDownloadInfoCB cb = base::Bind( base 97 content/browser/android/download_controller_android_impl.cc base::Unretained(this), render_process_id, base 102 content/browser/android/download_controller_android_impl.cc base::Bind(&DownloadControllerAndroidImpl::StartDownloadOnUIThread, base 103 content/browser/android/download_controller_android_impl.cc base::Unretained(this), cb)); base 126 content/browser/android/download_controller_android_impl.cc base::Bind(&DownloadControllerAndroidImpl::CheckPolicyAndLoadCookies, base 127 content/browser/android/download_controller_android_impl.cc base::Unretained(this), info_android, callback, base 175 content/browser/android/download_controller_android_impl.cc base::Bind(&DownloadControllerAndroidImpl::OnCookieResponse, base 176 content/browser/android/download_controller_android_impl.cc base::Unretained(this), info, callback)); base 194 content/browser/android/download_controller_android_impl.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, info)); base 201 content/browser/android/download_controller_android_impl.cc JNIEnv* env = base::android::AttachCurrentThread(); base 243 content/browser/android/download_controller_android_impl.cc JNIEnv* env = base::android::AttachCurrentThread(); base 268 content/browser/android/download_controller_android_impl.cc JNIEnv* env = base::android::AttachCurrentThread(); base 280 content/browser/android/download_controller_android_impl.cc base::TimeDelta time_delta; base 284 content/browser/android/download_controller_android_impl.cc base::android::GetApplicationContext(), jurl.obj(), jmime_type.obj(), base 297 content/browser/android/download_controller_android_impl.cc base::android::GetApplicationContext(), jurl.obj(), jmime_type.obj(), base 309 content/browser/android/download_controller_android_impl.cc base::android::GetApplicationContext(), jurl.obj(), jmime_type.obj(), base 319 content/browser/android/download_controller_android_impl.cc JNIEnv* env = base::android::AttachCurrentThread(); base 362 content/browser/android/download_controller_android_impl.cc JNIEnv* env = base::android::AttachCurrentThread(); base 90 content/browser/android/download_controller_android_impl.h typedef base::Callback<void(const DownloadInfoAndroid&)> base 113 content/browser/android/download_controller_android_impl.h base::android::ScopedJavaLocalRef<jobject> GetContentViewCoreFromWebContents( base 116 content/browser/android/download_controller_android_impl.h base::android::ScopedJavaLocalRef<jobject> GetContentView( base 158 content/browser/android/edge_effect.cc void EdgeEffect::Pull(base::TimeTicks current_time, float delta_distance) { base 168 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(kPullTime); base 200 content/browser/android/edge_effect.cc void EdgeEffect::Release(base::TimeTicks current_time) { base 218 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(kRecedeTime); base 221 content/browser/android/edge_effect.cc void EdgeEffect::Absorb(base::TimeTicks current_time, float velocity) { base 228 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(0.15f + (velocity * 0.02f)); base 258 content/browser/android/edge_effect.cc bool EdgeEffect::Update(base::TimeTicks current_time) { base 276 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(kRecedeTime); base 292 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(kPullDecayTime); base 38 content/browser/android/edge_effect.h void Pull(base::TimeTicks current_time, float delta_distance); base 39 content/browser/android/edge_effect.h void Absorb(base::TimeTicks current_time, float velocity); base 40 content/browser/android/edge_effect.h bool Update(base::TimeTicks current_time); base 41 content/browser/android/edge_effect.h void Release(base::TimeTicks current_time); base 75 content/browser/android/edge_effect.h base::TimeTicks start_time_; base 76 content/browser/android/edge_effect.h base::TimeDelta duration_; base 108 content/browser/android/in_process/synchronous_compositor_factory_impl.cc scoped_refptr<base::MessageLoopProxy> base 154 content/browser/android/in_process/synchronous_compositor_factory_impl.cc base::AutoLock lock(offscreen_context_for_compositor_thread_lock_); base 193 content/browser/android/in_process/synchronous_compositor_factory_impl.cc base::Bind( base 195 content/browser/android/in_process/synchronous_compositor_factory_impl.cc base::Unretained(this)), base 201 content/browser/android/in_process/synchronous_compositor_factory_impl.cc base::AutoLock lock(num_hardware_compositor_lock_); base 206 content/browser/android/in_process/synchronous_compositor_factory_impl.cc base::AutoLock lock(num_hardware_compositor_lock_); base 212 content/browser/android/in_process/synchronous_compositor_factory_impl.cc base::AutoLock lock(num_hardware_compositor_lock_); base 37 content/browser/android/in_process/synchronous_compositor_factory_impl.h virtual scoped_refptr<base::MessageLoopProxy> GetCompositorMessageLoop() base 77 content/browser/android/in_process/synchronous_compositor_factory_impl.h base::Lock offscreen_context_for_compositor_thread_lock_; base 91 content/browser/android/in_process/synchronous_compositor_factory_impl.h base::Lock num_hardware_compositor_lock_; base 39 content/browser/android/in_process/synchronous_compositor_impl.cc base::LazyInstance<SynchronousCompositorFactoryImpl>::Leaky g_factory = base 111 content/browser/android/in_process/synchronous_compositor_output_surface.cc base::Bind(&DidActivatePendingTree, routing_id_)); base 155 content/browser/android/in_process/synchronous_compositor_output_surface.cc base::Bind(&SynchronousCompositorOutputSurface::UpdateFrameMetaData, base 210 content/browser/android/in_process/synchronous_compositor_output_surface.cc base::AutoReset<SkCanvas*> canvas_resetter(¤t_sw_canvas_, canvas); base 234 content/browser/android/in_process/synchronous_compositor_output_surface.cc base::AutoReset<bool> invoking_composite_resetter(&invoking_composite_, true); base 108 content/browser/android/in_process/synchronous_compositor_output_surface.h base::WeakPtrFactory<SynchronousCompositorOutputSurface> weak_ptr_factory_; base 38 content/browser/android/in_process/synchronous_input_event_filter.cc base::Bind(&SynchronousInputEventFilter::SetBoundHandlerOnUIThread, base 39 content/browser/android/in_process/synchronous_input_event_filter.cc base::Unretained(this), handler)); base 13 content/browser/android/interstitial_page_delegate_android.cc using base::android::AttachCurrentThread; base 14 content/browser/android/interstitial_page_delegate_android.cc using base::android::ScopedJavaLocalRef; base 77 content/browser/android/interstitial_page_delegate_android.cc base::android::ConvertUTF8ToJavaString(env, sanitized_command).obj()); base 90 content/browser/android/interstitial_page_delegate_android.cc env, obj, base::android::ConvertJavaStringToUTF8(env, html_content)); base 41 content/browser/android/load_url_params.cc GURL url(base::android::ConvertJavaStringToUTF8(env, jurl)); base 25 content/browser/android/overscroll_glow.cc base::android::ScopedJavaLocalRef<jobject> jobj = base 61 content/browser/android/overscroll_glow.cc base::LazyInstance<OverscrollResources>::Leaky g_overscroll_resources = base 94 content/browser/android/overscroll_glow.cc base::WorkerPool::PostTask(FROM_HERE, base::Bind(EnsureResources), true); base 125 content/browser/android/overscroll_glow.cc base::TimeTicks current_time, base 189 content/browser/android/overscroll_glow.cc bool OverscrollGlow::Animate(base::TimeTicks current_time) { base 270 content/browser/android/overscroll_glow.cc void OverscrollGlow::Pull(base::TimeTicks current_time, base 296 content/browser/android/overscroll_glow.cc void OverscrollGlow::Absorb(base::TimeTicks current_time, base 321 content/browser/android/overscroll_glow.cc void OverscrollGlow::Release(base::TimeTicks current_time) { base 329 content/browser/android/overscroll_glow.cc void OverscrollGlow::ReleaseAxis(Axis axis, base::TimeTicks current_time) { base 50 content/browser/android/overscroll_glow.h base::TimeTicks current_time, base 56 content/browser/android/overscroll_glow.h bool Animate(base::TimeTicks current_time); base 81 content/browser/android/overscroll_glow.h void Pull(base::TimeTicks current_time, base 83 content/browser/android/overscroll_glow.h void Absorb(base::TimeTicks current_time, base 87 content/browser/android/overscroll_glow.h void Release(base::TimeTicks current_time); base 88 content/browser/android/overscroll_glow.h void ReleaseAxis(Axis axis, base::TimeTicks current_time); base 22 content/browser/android/surface_texture_peer_browser_impl.cc base::ProcessHandle render_process_handle, base 59 content/browser/android/surface_texture_peer_browser_impl.cc base::ProcessHandle render_process_handle, base 66 content/browser/android/surface_texture_peer_browser_impl.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 26 content/browser/android/surface_texture_peer_browser_impl.h base::ProcessHandle render_process_handle, base 36 content/browser/android/tracing_controller_android.cc file_path_ = base::FilePath( base 37 content/browser/android/tracing_controller_android.cc base::android::ConvertJavaStringToUTF8(env, jfilename)); base 39 content/browser/android/tracing_controller_android.cc base::android::ConvertJavaStringToUTF8(env, jcategories); base 54 content/browser/android/tracing_controller_android.cc base::Bind(&TracingControllerAndroid::OnTracingStopped, base 62 content/browser/android/tracing_controller_android.cc const base::FilePath& file_path) { base 63 content/browser/android/tracing_controller_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 64 content/browser/android/tracing_controller_android.cc base::android::ScopedJavaLocalRef<jobject> obj = weak_java_object_.get(env); base 70 content/browser/android/tracing_controller_android.cc return base::android::ConvertUTF8ToJavaString(env, base 71 content/browser/android/tracing_controller_android.cc base::debug::CategoryFilter::kDefaultCategoryFilterString).Release(); base 29 content/browser/android/tracing_controller_android.h void OnTracingStopped(const base::FilePath& file_path); base 32 content/browser/android/tracing_controller_android.h base::FilePath file_path_; base 33 content/browser/android/tracing_controller_android.h base::WeakPtrFactory<TracingControllerAndroid> weak_factory_; base 21 content/browser/android/web_contents_observer_android.cc using base::android::AttachCurrentThread; base 22 content/browser/android/web_contents_observer_android.cc using base::android::ScopedJavaLocalRef; base 23 content/browser/android/web_contents_observer_android.cc using base::android::ConvertUTF8ToJavaString; base 24 content/browser/android/web_contents_observer_android.cc using base::android::ConvertUTF16ToJavaString; base 64 content/browser/android/web_contents_observer_android.cc base::TerminationStatus termination_status) { base 70 content/browser/android/web_contents_observer_android.cc termination_status == base::TERMINATION_STATUS_OOM_PROTECTED; base 101 content/browser/android/web_contents_observer_android.cc const base::string16& frame_unique_name, base 105 content/browser/android/web_contents_observer_android.cc const base::string16& error_description, base 116 content/browser/android/web_contents_observer_android.cc const base::string16& error_description, base 185 content/browser/android/web_contents_observer_android.cc const base::string16& frame_unique_name, base 261 content/browser/android/web_contents_observer_android.cc const base::string16& description, base 36 content/browser/android/web_contents_observer_android.h base::TerminationStatus termination_status) OVERRIDE; base 41 content/browser/android/web_contents_observer_android.h const base::string16& frame_unique_name, base 45 content/browser/android/web_contents_observer_android.h const base::string16& error_description, base 51 content/browser/android/web_contents_observer_android.h const base::string16& error_description, base 68 content/browser/android/web_contents_observer_android.h const base::string16& frame_unique_name, base 87 content/browser/android/web_contents_observer_android.h const base::string16& description, base 29 content/browser/appcache/appcache_dispatcher_host.cc base::Bind(&AppCacheDispatcherHost::GetStatusCallback, base 30 content/browser/appcache/appcache_dispatcher_host.cc base::Unretained(this)); base 32 content/browser/appcache/appcache_dispatcher_host.cc base::Bind(&AppCacheDispatcherHost::StartUpdateCallback, base 33 content/browser/appcache/appcache_dispatcher_host.cc base::Unretained(this)); base 35 content/browser/appcache/appcache_dispatcher_host.cc base::Bind(&AppCacheDispatcherHost::SwapCacheCallback, base 36 content/browser/appcache/appcache_dispatcher_host.cc base::Unretained(this)); base 67 content/browser/appcache/appcache_dispatcher_host.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_ACDH")); base 64 content/browser/appcache/appcache_storage_impl_unittest.cc const base::Time kZeroTime; base 159 content/browser/appcache/appcache_storage_impl_unittest.cc class IOThread : public base::Thread { base 162 content/browser/appcache/appcache_storage_impl_unittest.cc : base::Thread(name) { base 194 content/browser/appcache/appcache_storage_impl_unittest.cc scoped_ptr<base::Thread> db_thread; base 281 content/browser/appcache/appcache_storage_impl_unittest.cc base::FilePath(), base 293 content/browser/appcache/appcache_storage_impl_unittest.cc base::MessageLoop::current()->PostTask( base 295 content/browser/appcache/appcache_storage_impl_unittest.cc base::Bind(&MockQuotaManager::CallCallback, base 296 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this), base 353 content/browser/appcache/appcache_storage_impl_unittest.cc base::SequencedTaskRunner* original_task_runner, base 385 content/browser/appcache/appcache_storage_impl_unittest.cc base::MessageLoop::current()->PostTask( base 387 content/browser/appcache/appcache_storage_impl_unittest.cc base::Bind(&AppCacheStorageImplTest::RunMethod<Method>, base 388 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this), base 395 content/browser/appcache/appcache_storage_impl_unittest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 398 content/browser/appcache/appcache_storage_impl_unittest.cc db_thread.reset(new base::Thread("AppCacheTest::DBThread")); base 414 content/browser/appcache/appcache_storage_impl_unittest.cc test_finished_event_ .reset(new base::WaitableEvent(false, false)); base 416 content/browser/appcache/appcache_storage_impl_unittest.cc FROM_HERE, base::Bind(&AppCacheStorageImplTest::MethodWrapper<Method>, base 417 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this), method)); base 422 content/browser/appcache/appcache_storage_impl_unittest.cc DCHECK(base::MessageLoop::current() == io_thread->message_loop()); base 425 content/browser/appcache/appcache_storage_impl_unittest.cc base::FilePath(), db_thread->message_loop_proxy().get(), NULL); base 432 content/browser/appcache/appcache_storage_impl_unittest.cc DCHECK(base::MessageLoop::current() == io_thread->message_loop()); base 446 content/browser/appcache/appcache_storage_impl_unittest.cc DCHECK(base::MessageLoop::current() == io_thread->message_loop()); base 447 content/browser/appcache/appcache_storage_impl_unittest.cc base::MessageLoop::current()->PostTask( base 449 content/browser/appcache/appcache_storage_impl_unittest.cc base::Bind(&AppCacheStorageImplTest::TestFinishedUnwound, base 450 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 458 content/browser/appcache/appcache_storage_impl_unittest.cc void PushNextTask(const base::Closure& task) { base 463 content/browser/appcache/appcache_storage_impl_unittest.cc DCHECK(base::MessageLoop::current() == io_thread->message_loop()); base 467 content/browser/appcache/appcache_storage_impl_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, task_stack_.top()); base 471 content/browser/appcache/appcache_storage_impl_unittest.cc static void SignalEvent(base::WaitableEvent* event) { base 478 content/browser/appcache/appcache_storage_impl_unittest.cc base::WaitableEvent event(false, false); base 480 content/browser/appcache/appcache_storage_impl_unittest.cc FROM_HERE, base::Bind(&AppCacheStorageImplTest::SignalEvent, &event)); base 489 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_LoadCache_Miss, base 490 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 540 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_CreateGroup, base 541 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 574 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_LoadCache_Far_Hit, base 575 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 605 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_LoadGroup_Far_Hit, base 606 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 626 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_StoreNewGroup, base 627 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 672 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_StoreExistingGroup, base 673 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 728 content/browser/appcache/appcache_storage_impl_unittest.cc base::Time now = base::Time::Now(); base 732 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 734 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this), now)); base 743 content/browser/appcache/appcache_storage_impl_unittest.cc base::Time expected_update_time) { base 779 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_FailStoreGroup, base 780 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 818 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_MakeGroupObsolete, base 819 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 920 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 922 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 965 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_FindNoMainResponse, base 966 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 996 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 998 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1046 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1048 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1118 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1120 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1230 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1232 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1249 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1251 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1316 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1318 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1335 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1337 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1357 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1359 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1428 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1430 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1446 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1448 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1464 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1466 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1485 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1487 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this))); base 1559 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind(&AppCacheStorageImplTest::Verify_ExclusionNotFound, base 1560 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this), kEntryUrl, 1)); base 1578 content/browser/appcache/appcache_storage_impl_unittest.cc base::Bind(&AppCacheStorageImplTest::Verify_ExclusionNotFound, base 1579 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this), kOnlineNamespace, 2)); base 1587 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1589 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this), kOnlineNamespaceWithinFallback, 3)); base 1681 content/browser/appcache/appcache_storage_impl_unittest.cc base::FilePath disk_cache_directory = base 1683 content/browser/appcache/appcache_storage_impl_unittest.cc ASSERT_TRUE(base::CreateDirectory(disk_cache_directory)); base 1684 content/browser/appcache/appcache_storage_impl_unittest.cc base::FilePath index_file = disk_cache_directory.AppendASCII("index"); base 1686 content/browser/appcache/appcache_storage_impl_unittest.cc base::WriteFile( base 1735 content/browser/appcache/appcache_storage_impl_unittest.cc base::MessageLoop::current()->PostTask( base 1737 content/browser/appcache/appcache_storage_impl_unittest.cc base::Bind(&AppCacheStorageImplTest::Continue_Reinitialize, base 1738 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this), base 1782 content/browser/appcache/appcache_storage_impl_unittest.cc PushNextTask(base::Bind( base 1784 content/browser/appcache/appcache_storage_impl_unittest.cc base::Unretained(this), base 1884 content/browser/appcache/appcache_storage_impl_unittest.cc scoped_ptr<base::WaitableEvent> test_finished_event_; base 1885 content/browser/appcache/appcache_storage_impl_unittest.cc std::stack<base::Closure> task_stack_; base 1894 content/browser/appcache/appcache_storage_impl_unittest.cc base::ScopedTempDir temp_directory_; base 25 content/browser/appcache/chrome_appcache_service.cc const base::FilePath& cache_path, base 16 content/browser/appcache/chrome_appcache_service.h namespace base { base 41 content/browser/appcache/chrome_appcache_service.h : public base::RefCountedThreadSafe<ChromeAppCacheService, base 50 content/browser/appcache/chrome_appcache_service.h const base::FilePath& cache_path, base 65 content/browser/appcache/chrome_appcache_service.h friend class base::DeleteHelper<ChromeAppCacheService>; base 66 content/browser/appcache/chrome_appcache_service.h friend class base::RefCountedThreadSafe<ChromeAppCacheService, base 73 content/browser/appcache/chrome_appcache_service.h base::FilePath cache_path_; base 25 content/browser/appcache/chrome_appcache_service_unittest.cc const base::FilePath::CharType kTestingAppCacheDirname[] = base 38 content/browser/appcache/chrome_appcache_service_unittest.cc base::MessageLoopProxy* message_loop_proxy) base 46 content/browser/appcache/chrome_appcache_service_unittest.cc virtual scoped_refptr<base::SingleThreadTaskRunner> base 56 content/browser/appcache/chrome_appcache_service_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> message_loop_proxy_; base 75 content/browser/appcache/chrome_appcache_service_unittest.cc const base::FilePath& appcache_path, base 79 content/browser/appcache/chrome_appcache_service_unittest.cc base::MessageLoopForIO message_loop_; base 80 content/browser/appcache/chrome_appcache_service_unittest.cc base::ScopedTempDir temp_dir_; base 95 content/browser/appcache/chrome_appcache_service_unittest.cc const base::FilePath& appcache_path, base 110 content/browser/appcache/chrome_appcache_service_unittest.cc base::Bind(&ChromeAppCacheService::InitializeOnIOThread, base 148 content/browser/appcache/chrome_appcache_service_unittest.cc base::FilePath appcache_path = base 154 content/browser/appcache/chrome_appcache_service_unittest.cc ASSERT_TRUE(base::PathExists(appcache_path)); base 155 content/browser/appcache/chrome_appcache_service_unittest.cc ASSERT_TRUE(base::PathExists(appcache_path.AppendASCII("Index"))); base 166 content/browser/appcache/chrome_appcache_service_unittest.cc ASSERT_TRUE(base::PathExists(appcache_path)); base 185 content/browser/appcache/chrome_appcache_service_unittest.cc base::FilePath appcache_path = base 191 content/browser/appcache/chrome_appcache_service_unittest.cc ASSERT_TRUE(base::PathExists(appcache_path)); base 192 content/browser/appcache/chrome_appcache_service_unittest.cc ASSERT_TRUE(base::PathExists(appcache_path.AppendASCII("Index"))); base 206 content/browser/appcache/chrome_appcache_service_unittest.cc ASSERT_TRUE(base::PathExists(appcache_path)); base 124 content/browser/appcache/view_appcache_internals_job.cc base::Base64Encode(info->manifest_url.spec(), &manifest_url_base64); base 144 content/browser/appcache/view_appcache_internals_job.cc base::UTF16ToUTF8(FormatBytesUnlocalized(info->size)), base 148 content/browser/appcache/view_appcache_internals_job.cc base::UTF16ToUTF8(TimeFormatFriendlyDateAndTime(info->creation_time)), base 152 content/browser/appcache/view_appcache_internals_job.cc base::UTF16ToUTF8(TimeFormatFriendlyDateAndTime(info->last_update_time)), base 156 content/browser/appcache/view_appcache_internals_job.cc base::UTF16ToUTF8(TimeFormatFriendlyDateAndTime(info->last_access_time)), base 212 content/browser/appcache/view_appcache_internals_job.cc base::Base64Encode(manifest_url.spec(), &manifest_url_base64); base 213 content/browser/appcache/view_appcache_internals_job.cc base::Base64Encode(entry_url.spec(), &entry_url_base64); base 214 content/browser/appcache/view_appcache_internals_job.cc response_id_string = base::Int64ToString(response_id); base 215 content/browser/appcache/view_appcache_internals_job.cc group_id_string = base::Int64ToString(group_id); base 258 content/browser/appcache/view_appcache_internals_job.cc EmitTableData(base::UTF16ToUTF8(FormatBytesUnlocalized(iter->size)), base 284 content/browser/appcache/view_appcache_internals_job.cc base::StringAppendF(out, "Showing %d of %d bytes\n\n", base 294 content/browser/appcache/view_appcache_internals_job.cc base::Base64Decode(base64, &url); base 367 content/browser/appcache/view_appcache_internals_job.cc base::Bind(&MainPageJob::OnGotInfoComplete, base 413 content/browser/appcache/view_appcache_internals_job.cc base::WeakPtrFactory<MainPageJob> weak_factory_; base 460 content/browser/appcache/view_appcache_internals_job.cc manifest_url_,base::Bind(&RemoveAppCacheJob::OnDeleteAppCacheComplete, base 472 content/browser/appcache/view_appcache_internals_job.cc base::WeakPtrFactory<RemoveAppCacheJob> weak_factory_; base 533 content/browser/appcache/view_appcache_internals_job.cc appcache_info_.last_access_time = base::Time::Now(); base 626 content/browser/appcache/view_appcache_internals_job.cc base::Bind(&ViewEntryJob::OnReadComplete, base::Unretained(this))); base 672 content/browser/appcache/view_appcache_internals_job.cc base::StringToInt64(tokens[2], &response_id) && base 673 content/browser/appcache/view_appcache_internals_job.cc base::StringToInt64(tokens[3], &group_id)) { base 39 content/browser/browser_child_process_host_impl.cc static base::LazyInstance<BrowserChildProcessHostImpl::BrowserChildProcessList> base 42 content/browser/browser_child_process_host_impl.cc base::LazyInstance<ObserverList<BrowserChildProcessObserver> > base 69 content/browser/browser_child_process_host_impl.cc base::ProcessMetrics::PortProvider* BrowserChildProcessHost::GetPortProvider() { base 171 content/browser/browser_child_process_host_impl.cc base::ProcessHandle BrowserChildProcessHostImpl::GetHandle() const { base 185 content/browser/browser_child_process_host_impl.cc void BrowserChildProcessHostImpl::SetName(const base::string16& name) { base 190 content/browser/browser_child_process_host_impl.cc void BrowserChildProcessHostImpl::SetHandle(base::ProcessHandle handle) { base 222 content/browser/browser_child_process_host_impl.cc base::TerminationStatus BrowserChildProcessHostImpl::GetTerminationStatus( base 226 content/browser/browser_child_process_host_impl.cc return base::GetTerminationStatus(data_.handle, exit_code); base 246 content/browser/browser_child_process_host_impl.cc base::Bind(&NotifyProcessHostConnected, data_)); base 262 content/browser/browser_child_process_host_impl.cc DCHECK(data_.handle != base::kNullProcessHandle); base 264 content/browser/browser_child_process_host_impl.cc base::TerminationStatus status = GetTerminationStatus( base 267 content/browser/browser_child_process_host_impl.cc case base::TERMINATION_STATUS_PROCESS_CRASHED: base 268 content/browser/browser_child_process_host_impl.cc case base::TERMINATION_STATUS_ABNORMAL_TERMINATION: { base 271 content/browser/browser_child_process_host_impl.cc base::Bind(&NotifyProcessCrashed, data_)); base 277 content/browser/browser_child_process_host_impl.cc case base::TERMINATION_STATUS_PROCESS_WAS_KILLED: { base 285 content/browser/browser_child_process_host_impl.cc case base::TERMINATION_STATUS_STILL_RUNNING: { base 298 content/browser/browser_child_process_host_impl.cc base::Bind(&NotifyProcessHostDisconnected, data_)); base 312 content/browser/browser_child_process_host_impl.cc base::ProcessHandle handle = child_process_->GetHandle(); base 325 content/browser/browser_child_process_host_impl.cc new base::WaitableEvent(handle), base 326 content/browser/browser_child_process_host_impl.cc base::Bind(&BrowserChildProcessHostImpl::OnProcessExitedEarly, base 327 content/browser/browser_child_process_host_impl.cc base::Unretained(this))); base 337 content/browser/browser_child_process_host_impl.cc base::WaitableEvent* event) { base 349 content/browser/browser_child_process_host_impl.cc base::WaitableEvent* event) { base 20 content/browser/browser_child_process_host_impl.h namespace base { base 51 content/browser/browser_child_process_host_impl.h base::CommandLine* cmd_line) OVERRIDE; base 54 content/browser/browser_child_process_host_impl.h virtual base::TerminationStatus GetTerminationStatus( base 57 content/browser/browser_child_process_host_impl.h virtual void SetName(const base::string16& name) OVERRIDE; base 58 content/browser/browser_child_process_host_impl.h virtual void SetHandle(base::ProcessHandle handle) OVERRIDE; base 63 content/browser/browser_child_process_host_impl.h virtual base::ProcessHandle GetHandle() const OVERRIDE; base 101 content/browser/browser_child_process_host_impl.h void DeleteProcessWaitableEvent(base::WaitableEvent* event); base 102 content/browser/browser_child_process_host_impl.h void OnProcessExitedEarly(base::WaitableEvent* event); base 117 content/browser/browser_child_process_host_impl.h base::WaitableEventWatcher early_exit_watcher_; base 26 content/browser/browser_context.cc using base::UserDataAdapter; base 90 content/browser/browser_context.cc const base::Closure& on_gc_required) { base 98 content/browser/browser_context.cc scoped_ptr<base::hash_set<base::FilePath> > active_paths, base 99 content/browser/browser_context.cc const base::Closure& done) { base 220 content/browser/browser_context.cc base::Bind( base 238 content/browser/browser_context.cc base::Bind(&SaveSessionStateOnIndexedDBThread, base 40 content/browser/browser_ipc_logging.cc base::Bind(EnableIPCLoggingForChildProcesses, enable)); base 16 content/browser/browser_main.cc base::debug::TraceLog::GetInstance()->SetProcessName("Browser"); base 17 content/browser/browser_main.cc base::debug::TraceLog::GetInstance()->SetProcessSortIndex( base 137 content/browser/browser_main_loop.cc base::FilePath sandbox_binary; base 146 content/browser/browser_main_loop.cc base::FilePath exe_dir; base 147 content/browser/browser_main_loop.cc if (PathService::Get(base::DIR_EXE, &exe_dir)) { base 148 content/browser/browser_main_loop.cc base::FilePath sandbox_candidate = exe_dir.AppendASCII("chrome-sandbox"); base 149 content/browser/browser_main_loop.cc if (base::PathExists(sandbox_candidate)) base 157 content/browser/browser_main_loop.cc stat(base::kProcSelfExe, &st) == 0 && st.st_uid == getuid()) { base 161 content/browser/browser_main_loop.cc sandbox_binary = base::FilePath(devel_sandbox_path); base 290 content/browser/browser_main_loop.cc class BrowserMainLoop::MemoryObserver : public base::MessageLoop::TaskObserver { base 295 content/browser/browser_main_loop.cc virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 298 content/browser/browser_main_loop.cc virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 300 content/browser/browser_main_loop.cc scoped_ptr<base::ProcessMetrics> process_metrics( base 301 content/browser/browser_main_loop.cc base::ProcessMetrics::CreateProcessMetrics( base 303 content/browser/browser_main_loop.cc base::GetCurrentProcessHandle(), NULL)); base 305 content/browser/browser_main_loop.cc base::GetCurrentProcessHandle())); base 411 content/browser/browser_main_loop.cc if (base::StringToSizeT(limit_string, &process_limit)) { base 439 content/browser/browser_main_loop.cc if (!base::MessageLoop::current()) base 440 content/browser/browser_main_loop.cc main_message_loop_.reset(new base::MessageLoopForUI); base 446 content/browser/browser_main_loop.cc system_monitor_.reset(new base::SystemMonitor); base 450 content/browser/browser_main_loop.cc scoped_ptr<base::PowerMonitorSource> power_monitor_source( base 451 content/browser/browser_main_loop.cc new base::PowerMonitorDeviceSource()); base 452 content/browser/browser_main_loop.cc power_monitor_.reset(new base::PowerMonitor(power_monitor_source.Pass())); base 456 content/browser/browser_main_loop.cc hi_res_timer_manager_.reset(new base::HighResolutionTimerManager); base 493 content/browser/browser_main_loop.cc system_stats_monitor_.reset(new base::debug::TraceEventSystemStatsMonitor( base 494 content/browser/browser_main_loop.cc base::ThreadTaskRunnerHandle::Get())); base 525 content/browser/browser_main_loop.cc base::MessageLoop::current()->AddTaskObserver(memory_observer_.get()); base 529 content/browser/browser_main_loop.cc trace_memory_controller_.reset(new base::debug::TraceMemoryController( base 530 content/browser/browser_main_loop.cc base::MessageLoop::current()->message_loop_proxy(), base 572 content/browser/browser_main_loop.cc base::Bind(&BrowserStartupComplete), base 573 content/browser/browser_main_loop.cc base::MessageLoop::current()->message_loop_proxy())); base 576 content/browser/browser_main_loop.cc base::Callback<void(int)>(), base 577 content/browser/browser_main_loop.cc base::MessageLoop::current()->message_loop_proxy())); base 580 content/browser/browser_main_loop.cc base::Bind(&BrowserMainLoop::PreCreateThreads, base::Unretained(this)); base 584 content/browser/browser_main_loop.cc base::Bind(&BrowserMainLoop::CreateThreads, base::Unretained(this)); base 587 content/browser/browser_main_loop.cc StartupTask browser_thread_started = base::Bind( base 588 content/browser/browser_main_loop.cc &BrowserMainLoop::BrowserThreadsStarted, base::Unretained(this)); base 591 content/browser/browser_main_loop.cc StartupTask pre_main_message_loop_run = base::Bind( base 592 content/browser/browser_main_loop.cc &BrowserMainLoop::PreMainMessageLoopRun, base::Unretained(this)); base 618 content/browser/browser_main_loop.cc base::Thread::Options default_options; base 619 content/browser/browser_main_loop.cc base::Thread::Options io_message_loop_options; base 620 content/browser/browser_main_loop.cc io_message_loop_options.message_loop_type = base::MessageLoop::TYPE_IO; base 621 content/browser/browser_main_loop.cc base::Thread::Options ui_message_loop_options; base 622 content/browser/browser_main_loop.cc ui_message_loop_options.message_loop_type = base::MessageLoop::TYPE_UI; base 633 content/browser/browser_main_loop.cc base::Thread::Options* options = &default_options; base 714 content/browser/browser_main_loop.cc base::ThreadRestrictions::SetIOAllowed(false); base 715 content/browser/browser_main_loop.cc base::ThreadRestrictions::DisallowWaiting(); base 741 content/browser/browser_main_loop.cc base::ThreadRestrictions::SetIOAllowed(true); base 744 content/browser/browser_main_loop.cc base::Bind(base::IgnoreResult(&base::ThreadRestrictions::SetIOAllowed), base 918 content/browser/browser_main_loop.cc base::PlatformThread::SetName(kThreadName); base 924 content/browser/browser_main_loop.cc new BrowserThreadImpl(BrowserThread::UI, base::MessageLoop::current())); base 931 content/browser/browser_main_loop.cc indexed_db_thread_.reset(new base::Thread("IndexedDB")); base 938 content/browser/browser_main_loop.cc io_thread_->SetPriority(base::kThreadPriority_Display); base 939 content/browser/browser_main_loop.cc base::PlatformThread::SetThreadPriority( base 940 content/browser/browser_main_loop.cc base::PlatformThread::CurrentHandle(), base 941 content/browser/browser_main_loop.cc base::kThreadPriority_Display); base 1016 content/browser/browser_main_loop.cc std::vector<base::PlatformThreadId> allowed_clipboard_threads; base 1018 content/browser/browser_main_loop.cc allowed_clipboard_threads.push_back(base::PlatformThread::CurrentId()); base 1037 content/browser/browser_main_loop.cc BrowserThread::IO, FROM_HERE, base::Bind( base 1038 content/browser/browser_main_loop.cc base::IgnoreResult(&GpuProcessHost::Get), base 1084 content/browser/browser_main_loop.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 1086 content/browser/browser_main_loop.cc base::MessageLoopForUI::current()->PostTask(FROM_HERE, base 1089 content/browser/browser_main_loop.cc base::RunLoop run_loop; base 1097 content/browser/browser_main_loop.cc base::FilePath trace_file = command_line.GetSwitchValuePath( base 1102 content/browser/browser_main_loop.cc if (trace_file == base::FilePath().AppendASCII("none")) base 1107 content/browser/browser_main_loop.cc trace_file = base::FilePath().AppendASCII("chrometrace.log"); base 1113 content/browser/browser_main_loop.cc if (!delay_str.empty() && !base::StringToInt(delay_str, &delay_secs)) { base 1121 content/browser/browser_main_loop.cc base::Bind(&BrowserMainLoop::EndStartupTracing, base 1122 content/browser/browser_main_loop.cc base::Unretained(this), trace_file), base 1123 content/browser/browser_main_loop.cc base::TimeDelta::FromSeconds(delay_secs)); base 1126 content/browser/browser_main_loop.cc void BrowserMainLoop::EndStartupTracing(const base::FilePath& trace_file) { base 14 content/browser/browser_main_loop.h namespace base { base 99 content/browser/browser_main_loop.h base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); } base 129 content/browser/browser_main_loop.h void InitStartupTracing(const base::CommandLine& command_line); base 130 content/browser/browser_main_loop.h void EndStartupTracing(const base::FilePath& trace_file); base 134 content/browser/browser_main_loop.h const base::CommandLine& parsed_command_line_; base 140 content/browser/browser_main_loop.h scoped_ptr<base::MessageLoop> main_message_loop_; base 141 content/browser/browser_main_loop.h scoped_ptr<base::SystemMonitor> system_monitor_; base 142 content/browser/browser_main_loop.h scoped_ptr<base::PowerMonitor> power_monitor_; base 143 content/browser/browser_main_loop.h scoped_ptr<base::HighResolutionTimerManager> hi_res_timer_manager_; base 182 content/browser/browser_main_loop.h scoped_ptr<base::Thread> indexed_db_thread_; base 184 content/browser/browser_main_loop.h scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; base 185 content/browser/browser_main_loop.h scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_; base 52 content/browser/browser_main_runner.cc base::debug::WaitForDebugger(60, true); base 56 content/browser/browser_main_runner.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 69 content/browser/browser_main_runner.cc base::StatisticsRecorder::Initialize(); base 101 content/browser/browser_main_runner.cc base::allocator::SetupSubprocessAllocator(); base 77 content/browser/browser_plugin/browser_plugin_embedder.cc GetBrowserPluginGuestManager()->ForEachGuest(GetWebContents(), base::Bind( base 79 content/browser/browser_plugin/browser_plugin_embedder.cc base::Unretained(this))); base 97 content/browser/browser_plugin/browser_plugin_embedder.cc base::Bind(&BrowserPluginEmbedder::UnlockMouseIfNecessaryCallback, base 98 content/browser/browser_plugin/browser_plugin_embedder.cc base::Unretained(this), base 111 content/browser/browser_plugin/browser_plugin_embedder.cc GetBrowserPluginGuestManager()->ForEachGuest(GetWebContents(), base::Bind( base 113 content/browser/browser_plugin/browser_plugin_embedder.cc base::Unretained(this), base 175 content/browser/browser_plugin/browser_plugin_embedder.cc const base::DictionaryValue& extra_params) { base 198 content/browser/browser_plugin/browser_plugin_embedder.cc scoped_ptr<base::DictionaryValue> copy_extra_params(extra_params.DeepCopy()); base 105 content/browser/browser_plugin/browser_plugin_embedder.h const base::DictionaryValue& extra_params); base 118 content/browser/browser_plugin/browser_plugin_embedder.h base::WeakPtr<BrowserPluginGuest> guest_dragging_over_; base 122 content/browser/browser_plugin/browser_plugin_embedder.h base::WeakPtr<BrowserPluginGuest> guest_started_drag_; base 29 content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc base::Callback<void(bool)> callback) { base 33 content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc base::Bind( base 71 content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc base::Bind( base 29 content/browser/browser_plugin/browser_plugin_geolocation_permission_context.h base::Callback<void(bool)> callback) OVERRIDE; base 66 content/browser/browser_plugin/browser_plugin_guest.cc public base::RefCounted<BrowserPluginGuest::PermissionRequest> { base 77 content/browser/browser_plugin/browser_plugin_guest.cc explicit PermissionRequest(const base::WeakPtr<BrowserPluginGuest>& guest) base 80 content/browser/browser_plugin/browser_plugin_guest.cc base::UserMetricsAction("BrowserPlugin.Guest.PermissionRequest")); base 89 content/browser/browser_plugin/browser_plugin_guest.cc base::WeakPtr<BrowserPluginGuest> guest_; base 94 content/browser/browser_plugin/browser_plugin_guest.cc DownloadRequest(const base::WeakPtr<BrowserPluginGuest>& guest, base 95 content/browser/browser_plugin/browser_plugin_guest.cc const base::Callback<void(bool)>& callback) base 99 content/browser/browser_plugin/browser_plugin_guest.cc base::UserMetricsAction("BrowserPlugin.Guest.PermissionRequest.Download")); base 108 content/browser/browser_plugin/browser_plugin_guest.cc base::Callback<void(bool)> callback_; base 113 content/browser/browser_plugin/browser_plugin_guest.cc GeolocationRequest(const base::WeakPtr<BrowserPluginGuest>& guest, base 120 content/browser/browser_plugin/browser_plugin_guest.cc base::UserMetricsAction("BrowserPlugin.Guest.PermissionRequest.Geolocation")); base 134 content/browser/browser_plugin/browser_plugin_guest.cc base::Callback<void(bool)> geolocation_callback = base::Bind( base 158 content/browser/browser_plugin/browser_plugin_guest.cc base::Callback<void(bool)> callback_; base 164 content/browser/browser_plugin/browser_plugin_guest.cc MediaRequest(const base::WeakPtr<BrowserPluginGuest>& guest, base 171 content/browser/browser_plugin/browser_plugin_guest.cc base::UserMetricsAction("BrowserPlugin.Guest.PermissionRequest.Media")); base 197 content/browser/browser_plugin/browser_plugin_guest.cc NewWindowRequest(const base::WeakPtr<BrowserPluginGuest>& guest, base 202 content/browser/browser_plugin/browser_plugin_guest.cc base::UserMetricsAction("BrowserPlugin.Guest.PermissionRequest.NewWindow")); base 229 content/browser/browser_plugin/browser_plugin_guest.cc JavaScriptDialogRequest(const base::WeakPtr<BrowserPluginGuest>& guest, base 234 content/browser/browser_plugin/browser_plugin_guest.cc base::UserMetricsAction("BrowserPlugin.Guest.PermissionRequest.JSDialog")); base 239 content/browser/browser_plugin/browser_plugin_guest.cc callback_.Run(should_allow, base::UTF8ToUTF16(user_input)); base 249 content/browser/browser_plugin/browser_plugin_guest.cc explicit PointerLockRequest(const base::WeakPtr<BrowserPluginGuest>& guest) base 252 content/browser/browser_plugin/browser_plugin_guest.cc base::UserMetricsAction("BrowserPlugin.Guest.PermissionRequest.PointerLock")); base 363 content/browser/browser_plugin/browser_plugin_guest.cc base::TimeDelta::FromMilliseconds(kHungRendererDelayMs)), base 388 content/browser/browser_plugin/browser_plugin_guest.cc const base::string16& message, base 390 content/browser/browser_plugin/browser_plugin_guest.cc const base::string16& source_id) { base 444 content/browser/browser_plugin/browser_plugin_guest.cc const base::DictionaryValue& request_info) { base 450 content/browser/browser_plugin/browser_plugin_guest.cc base::MessageLoop::current()->PostTask( base 452 content/browser/browser_plugin/browser_plugin_guest.cc base::Bind(&BrowserPluginGuest::PermissionRequest::Respond, base 461 content/browser/browser_plugin/browser_plugin_guest.cc base::Bind(&BrowserPluginGuest::RespondToPermissionRequest, base 494 content/browser/browser_plugin/browser_plugin_guest.cc scoped_ptr<base::DictionaryValue> extra_params( base 513 content/browser/browser_plugin/browser_plugin_guest.cc base::WeakPtr<BrowserPluginGuest> BrowserPluginGuest::AsWeakPtr() { base 685 content/browser/browser_plugin/browser_plugin_guest.cc scoped_ptr<base::DictionaryValue> extra_params) { base 686 content/browser/browser_plugin/browser_plugin_guest.cc RecordAction(base::UserMetricsAction("BrowserPlugin.Guest.Create")); base 716 content/browser/browser_plugin/browser_plugin_guest.cc scoped_ptr<base::DictionaryValue>()); base 734 content/browser/browser_plugin/browser_plugin_guest.cc const base::Callback<void(bool, const SkBitmap&)>& callback) { base 769 content/browser/browser_plugin/browser_plugin_guest.cc const base::Callback<void(bool)>& callback) { base 772 content/browser/browser_plugin/browser_plugin_guest.cc base::Bind(&RetrieveDownloadURLFromRequestId, base 774 content/browser/browser_plugin/browser_plugin_guest.cc base::Bind(&BrowserPluginGuest::DidRetrieveDownloadURLFromRequestId, base 887 content/browser/browser_plugin/browser_plugin_guest.cc const base::string16& frame_name, base 894 content/browser/browser_plugin/browser_plugin_guest.cc std::string guest_name = base::UTF16ToUTF8(frame_name); base 904 content/browser/browser_plugin/browser_plugin_guest.cc RecordAction(base::UserMetricsAction("BrowserPlugin.Guest.Hung")); base 911 content/browser/browser_plugin/browser_plugin_guest.cc RecordAction(base::UserMetricsAction("BrowserPlugin.Guest.Responsive")); base 938 content/browser/browser_plugin/browser_plugin_guest.cc base::SharedMemory* BrowserPluginGuest::GetDamageBufferFromEmbedder( base 945 content/browser/browser_plugin/browser_plugin_guest.cc base::ProcessHandle handle = base 947 content/browser/browser_plugin/browser_plugin_guest.cc scoped_ptr<base::SharedMemory> shared_buf( base 948 content/browser/browser_plugin/browser_plugin_guest.cc new base::SharedMemory(params.damage_buffer_handle, false, handle)); base 950 content/browser/browser_plugin/browser_plugin_guest.cc scoped_ptr<base::SharedMemory> shared_buf( base 951 content/browser/browser_plugin/browser_plugin_guest.cc new base::SharedMemory(params.damage_buffer_handle, false)); base 996 content/browser/browser_plugin/browser_plugin_guest.cc base::DictionaryValue request_info; base 998 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateIntegerValue(initial_bounds.height())); base 1000 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateIntegerValue(initial_bounds.width())); base 1002 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue(new_window_info.url.spec())); base 1004 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue(new_window_info.name)); base 1006 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateIntegerValue(guest->instance_id())); base 1008 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue( base 1061 content/browser/browser_plugin/browser_plugin_guest.cc base::DictionaryValue request_info; base 1063 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue(requesting_frame.spec())); base 1116 content/browser/browser_plugin/browser_plugin_guest.cc const base::string16& frame_unique_name, base 1121 content/browser/browser_plugin/browser_plugin_guest.cc RecordAction(base::UserMetricsAction("BrowserPlugin.Guest.DidNavigate")); base 1134 content/browser/browser_plugin/browser_plugin_guest.cc base::ASCIIToUTF16(script)); base 1158 content/browser/browser_plugin/browser_plugin_guest.cc void BrowserPluginGuest::RenderProcessGone(base::TerminationStatus status) { base 1161 content/browser/browser_plugin/browser_plugin_guest.cc case base::TERMINATION_STATUS_PROCESS_WAS_KILLED: base 1162 content/browser/browser_plugin/browser_plugin_guest.cc RecordAction(base::UserMetricsAction("BrowserPlugin.Guest.Killed")); base 1164 content/browser/browser_plugin/browser_plugin_guest.cc case base::TERMINATION_STATUS_PROCESS_CRASHED: base 1165 content/browser/browser_plugin/browser_plugin_guest.cc RecordAction(base::UserMetricsAction("BrowserPlugin.Guest.Crashed")); base 1167 content/browser/browser_plugin/browser_plugin_guest.cc case base::TERMINATION_STATUS_ABNORMAL_TERMINATION: base 1169 content/browser/browser_plugin/browser_plugin_guest.cc base::UserMetricsAction("BrowserPlugin.Guest.AbnormalDeath")); base 1261 content/browser/browser_plugin/browser_plugin_guest.cc const base::DictionaryValue& extra_params) { base 1310 content/browser/browser_plugin/browser_plugin_guest.cc RecordAction(base::UserMetricsAction("BrowserPlugin.Guest.Attached")); base 1362 content/browser/browser_plugin/browser_plugin_guest.cc base::UTF8ToUTF16(text), underlines, base 1371 content/browser/browser_plugin/browser_plugin_guest.cc base::UTF8ToUTF16(text), base 1460 content/browser/browser_plugin/browser_plugin_guest.cc base::DictionaryValue request_info; base 1462 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateBooleanValue(user_gesture)); base 1464 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateBooleanValue(last_unlocked_by_target)); base 1466 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue( base 1498 content/browser/browser_plugin/browser_plugin_guest.cc base::RemoveChars(net::ErrorToString(net::ERR_ABORTED), "net::", base 1547 content/browser/browser_plugin/browser_plugin_guest.cc if (base::SharedMemory::IsHandleValid(params.damage_buffer_handle)) base 1591 content/browser/browser_plugin/browser_plugin_guest.cc base::UserMetricsAction("BrowserPlugin.Guest.EnableAutoResize")); base 1750 content/browser/browser_plugin/browser_plugin_guest.cc base::DictionaryValue request_info; base 1753 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue(request.security_origin.spec())); base 1774 content/browser/browser_plugin/browser_plugin_guest.cc const base::string16& message_text, base 1775 content/browser/browser_plugin/browser_plugin_guest.cc const base::string16& default_prompt_text, base 1778 content/browser/browser_plugin/browser_plugin_guest.cc base::DictionaryValue request_info; base 1781 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue(base::UTF16ToUTF8(default_prompt_text))); base 1784 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue(base::UTF16ToUTF8(message_text))); base 1787 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue( base 1791 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue(origin_url.spec())); base 1801 content/browser/browser_plugin/browser_plugin_guest.cc const base::string16& message_text, base 1806 content/browser/browser_plugin/browser_plugin_guest.cc callback.Run(true, base::string16()); base 1812 content/browser/browser_plugin/browser_plugin_guest.cc const base::string16* prompt_override) { base 1917 content/browser/browser_plugin/browser_plugin_guest.cc const base::Callback<void(bool)>& callback, base 1924 content/browser/browser_plugin/browser_plugin_guest.cc base::DictionaryValue request_info; base 1926 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateStringValue(request_method)); base 1927 content/browser/browser_plugin/browser_plugin_guest.cc request_info.Set(browser_plugin::kURL, base::Value::CreateStringValue(url)); base 100 content/browser/browser_plugin/browser_plugin_guest.h typedef base::Callback<void(bool)> GeolocationCallback; base 114 content/browser/browser_plugin/browser_plugin_guest.h scoped_ptr<base::DictionaryValue> extra_params); base 123 content/browser/browser_plugin/browser_plugin_guest.h base::WeakPtr<BrowserPluginGuest> AsWeakPtr(); base 168 content/browser/browser_plugin/browser_plugin_guest.h const base::Callback<void(bool, const SkBitmap&)>& callback); base 173 content/browser/browser_plugin/browser_plugin_guest.h const base::string16& frame_unique_name, base 181 content/browser/browser_plugin/browser_plugin_guest.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 187 content/browser/browser_plugin/browser_plugin_guest.h const base::string16& message, base 189 content/browser/browser_plugin/browser_plugin_guest.h const base::string16& source_id) OVERRIDE; base 202 content/browser/browser_plugin/browser_plugin_guest.h const base::Callback<void(bool)>& callback) OVERRIDE; base 225 content/browser/browser_plugin/browser_plugin_guest.h const base::string16& frame_name, base 247 content/browser/browser_plugin/browser_plugin_guest.h const base::string16& message_text, base 248 content/browser/browser_plugin/browser_plugin_guest.h const base::string16& default_prompt_text, base 253 content/browser/browser_plugin/browser_plugin_guest.h const base::string16& message_text, base 259 content/browser/browser_plugin/browser_plugin_guest.h const base::string16* prompt_override) OVERRIDE; base 290 content/browser/browser_plugin/browser_plugin_guest.h const base::DictionaryValue& extra_params); base 384 content/browser/browser_plugin/browser_plugin_guest.h const base::DictionaryValue& request_info); base 390 content/browser/browser_plugin/browser_plugin_guest.h base::SharedMemory* damage_buffer() const { return damage_buffer_.get(); } base 396 content/browser/browser_plugin/browser_plugin_guest.h base::SharedMemory* GetDamageBufferFromEmbedder( base 536 content/browser/browser_plugin/browser_plugin_guest.h const base::Callback<void(bool)>& callback, base 557 content/browser/browser_plugin/browser_plugin_guest.h scoped_ptr<base::SharedMemory> damage_buffer_; base 566 content/browser/browser_plugin/browser_plugin_guest.h base::TimeDelta guest_hang_timeout_; base 581 content/browser/browser_plugin/browser_plugin_guest.h typedef base::Callback<void(bool, const SkBitmap&)> CopyRequestCallback; base 587 content/browser/browser_plugin/browser_plugin_guest.h base::WeakPtr<BrowserPluginGuest> opener_; base 621 content/browser/browser_plugin/browser_plugin_guest.h scoped_ptr<base::DictionaryValue> extra_attach_params_; base 625 content/browser/browser_plugin/browser_plugin_guest.h base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; base 44 content/browser/browser_plugin/browser_plugin_guest_manager.cc scoped_ptr<base::DictionaryValue> extra_params) { base 53 content/browser/browser_plugin/browser_plugin_guest_manager.cc base::UserMetricsAction("BadMessageTerminate_BPGM")); base 54 content/browser/browser_plugin/browser_plugin_guest_manager.cc base::KillProcess( base 76 content/browser/browser_plugin/browser_plugin_guest_manager.cc GURL guest_site(base::StringPrintf("%s://%s/%s?%s", base 134 content/browser/browser_plugin/browser_plugin_guest_manager.cc base::UserMetricsAction("BadMessageTerminate_BPGM")); base 135 content/browser/browser_plugin/browser_plugin_guest_manager.cc base::KillProcess( base 45 content/browser/browser_plugin/browser_plugin_guest_manager.h public base::SupportsUserData::Data { base 68 content/browser/browser_plugin/browser_plugin_guest_manager.h scoped_ptr<base::DictionaryValue> extra_params); base 89 content/browser/browser_plugin/browser_plugin_guest_manager.h typedef base::Callback<bool(BrowserPluginGuest*)> GuestCallback; base 45 content/browser/browser_plugin/browser_plugin_host_browsertest.cc using base::ASCIIToUTF16; base 274 content/browser/browser_plugin/browser_plugin_host_browsertest.cc scoped_ptr<base::Value> value = base 309 content/browser/browser_plugin/browser_plugin_host_browsertest.cc rfh, base::StringPrintf("SetSrc('%s');", test_url.spec().c_str())); base 312 content/browser/browser_plugin/browser_plugin_host_browsertest.cc rfh, base::StringPrintf("SetSrc('%s');", guest_url.c_str())); base 361 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const std::string embedder_code = base::StringPrintf( base 400 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::FilePath(FILE_PATH_LITERAL("content/test/data"))); base 444 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const base::string16 expected_title = ASCIIToUTF16("done"); base 448 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 525 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const base::string16 expected_title = ASCIIToUTF16("modified"); base 530 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::StringPrintf("SetTitle('%s');", "modified")); base 532 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 539 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const base::string16 expected_title = ASCIIToUTF16("embedder"); base 544 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 549 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::StringPrintf("SetSrc('%s');", kHTMLForGuest)); base 586 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::ListValue *start, *end; base 587 content/browser/browser_plugin/browser_plugin_host_browsertest.cc scoped_ptr<base::Value> value = base 608 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const base::string16 expected_title = ASCIIToUTF16("DROPPED"); base 618 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 639 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const base::string16 expected_title = ASCIIToUTF16("main guest"); base 646 content/browser/browser_plugin/browser_plugin_host_browsertest.cc rfh, base::StringPrintf("PostMessage('%s, false');", kTesting)); base 650 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 666 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const base::string16 expected_title = ASCIIToUTF16("main guest"); base 671 content/browser/browser_plugin/browser_plugin_host_browsertest.cc rfh, base::StringPrintf("PostMessage('%s, false');", kTesting)); base 675 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 688 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::StringPrintf( base 691 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = ready_watcher.WaitAndGetTitle(); base 697 content/browser/browser_plugin/browser_plugin_host_browsertest.cc rfh, base::StringPrintf("PostMessage('%s', true);", kTesting)); base 727 content/browser/browser_plugin/browser_plugin_host_browsertest.cc scoped_ptr<base::Value> value = base 765 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::StringPrintf("SetSrc('%s');", kValidSchemeWithEmptyURL)); base 777 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::StringPrintf("SetSrc('%s://abc123');", kGuestScheme)); base 857 content/browser/browser_plugin/browser_plugin_host_browsertest.cc static void CompareSkBitmapAndRun(const base::Closure& callback, base 894 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::RunLoop loop; base 898 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::Bind(&CompareSkBitmapAndRun, base 942 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 expected_title = base::UTF8ToUTF16(kTitles[i]); base 948 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 984 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 expected_title = base::UTF8ToUTF16("InputTest123"); base 993 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 998 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 expected_title = base::UTF8ToUTF16("InputTest456"); base 1007 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 1015 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 composition = base::UTF8ToUTF16("InputTest789"); base 1024 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 1031 content/browser/browser_plugin/browser_plugin_host_browsertest.cc scoped_ptr<base::Value> value = base 1036 content/browser/browser_plugin/browser_plugin_host_browsertest.cc EXPECT_EQ(base::UTF16ToUTF8(composition), result); base 1047 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 expected_value = base::UTF8ToUTF16("InputABC"); base 1055 content/browser/browser_plugin/browser_plugin_host_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 1057 content/browser/browser_plugin/browser_plugin_host_browsertest.cc scoped_ptr<base::Value> value = base 1062 content/browser/browser_plugin/browser_plugin_host_browsertest.cc EXPECT_EQ(base::UTF16ToUTF8(expected_value), actual_value); base 31 content/browser/browser_plugin/browser_plugin_message_filter.h friend class base::DeleteHelper<BrowserPluginMessageFilter>; base 83 content/browser/browser_plugin/test_browser_plugin_guest.cc void TestBrowserPluginGuest::RenderProcessGone(base::TerminationStatus status) { base 85 content/browser/browser_plugin/test_browser_plugin_guest.cc if (status != base::TERMINATION_STATUS_NORMAL_TERMINATION && base 86 content/browser/browser_plugin/test_browser_plugin_guest.cc status != base::TERMINATION_STATUS_STILL_RUNNING) base 31 content/browser/browser_plugin/test_browser_plugin_guest.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 71 content/browser/browser_plugin/test_browser_plugin_guest.h void set_guest_hang_timeout(const base::TimeDelta& timeout) { base 23 content/browser/browser_plugin/test_browser_plugin_guest_delegate.cc const base::string16& message, base 25 content/browser/browser_plugin/test_browser_plugin_guest_delegate.cc const base::string16& source_id) { base 32 content/browser/browser_plugin/test_browser_plugin_guest_delegate.cc base::TerminationStatus status) { base 55 content/browser/browser_plugin/test_browser_plugin_guest_delegate.cc const base::DictionaryValue& request_info, base 25 content/browser/browser_plugin/test_browser_plugin_guest_delegate.h const base::string16& message, base 27 content/browser/browser_plugin/test_browser_plugin_guest_delegate.h const base::string16& source_id) OVERRIDE; base 29 content/browser/browser_plugin/test_browser_plugin_guest_delegate.h virtual void GuestProcessGone(base::TerminationStatus status) OVERRIDE; base 39 content/browser/browser_plugin/test_browser_plugin_guest_delegate.h const base::DictionaryValue& request_info, base 31 content/browser/browser_process_sub_thread.cc com_initializer_.reset(new base::win::ScopedCOMInitializer()); base 42 content/browser/browser_process_sub_thread.cc base::ThreadRestrictions::SetIOAllowed(false); base 43 content/browser/browser_process_sub_thread.cc base::ThreadRestrictions::DisallowWaiting(); base 13 content/browser/browser_process_sub_thread.h namespace base { base 50 content/browser/browser_process_sub_thread.h scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_; base 31 content/browser/browser_shutdown_profile_dumper.cc const base::FilePath& file_name) { base 37 content/browser/browser_shutdown_profile_dumper.cc base::debug::TraceLog::GetInstance()->GetBufferPercentFull() << base 40 content/browser/browser_shutdown_profile_dumper.cc dump_file_ = base::OpenFile(file_name, "w+"); base 52 content/browser/browser_shutdown_profile_dumper.cc base::WaitableEvent flush_complete_event(false, false); base 53 content/browser/browser_shutdown_profile_dumper.cc base::Thread flush_thread("browser_shutdown_trace_event_flush"); base 57 content/browser/browser_shutdown_profile_dumper.cc base::Bind(&BrowserShutdownProfileDumper::EndTraceAndFlush, base 58 content/browser/browser_shutdown_profile_dumper.cc base::Unretained(this), base 59 content/browser/browser_shutdown_profile_dumper.cc base::Unretained(&flush_complete_event))); base 61 content/browser/browser_shutdown_profile_dumper.cc bool original_wait_allowed = base::ThreadRestrictions::SetWaitAllowed(true); base 63 content/browser/browser_shutdown_profile_dumper.cc base::ThreadRestrictions::SetWaitAllowed(original_wait_allowed); base 67 content/browser/browser_shutdown_profile_dumper.cc base::WaitableEvent* flush_complete_event) { base 68 content/browser/browser_shutdown_profile_dumper.cc base::debug::TraceLog::GetInstance()->SetDisabled(); base 69 content/browser/browser_shutdown_profile_dumper.cc base::debug::TraceLog::GetInstance()->Flush( base 70 content/browser/browser_shutdown_profile_dumper.cc base::Bind(&BrowserShutdownProfileDumper::WriteTraceDataCollected, base 71 content/browser/browser_shutdown_profile_dumper.cc base::Unretained(this), base 72 content/browser/browser_shutdown_profile_dumper.cc base::Unretained(flush_complete_event))); base 75 content/browser/browser_shutdown_profile_dumper.cc base::FilePath BrowserShutdownProfileDumper::GetFileName() { base 77 content/browser/browser_shutdown_profile_dumper.cc base::FilePath trace_file = base 84 content/browser/browser_shutdown_profile_dumper.cc return base::FilePath().AppendASCII("chrometrace.log"); base 88 content/browser/browser_shutdown_profile_dumper.cc base::WaitableEvent* flush_complete_event, base 89 content/browser/browser_shutdown_profile_dumper.cc const scoped_refptr<base::RefCountedString>& events_str, base 134 content/browser/browser_shutdown_profile_dumper.cc base::CloseFile(dump_file_); base 15 content/browser/browser_shutdown_profile_dumper.h namespace base { base 38 content/browser/browser_shutdown_profile_dumper.h void WriteTracesToDisc(const base::FilePath& file_name); base 40 content/browser/browser_shutdown_profile_dumper.h void EndTraceAndFlush(base::WaitableEvent* flush_complete_event); base 43 content/browser/browser_shutdown_profile_dumper.h base::FilePath GetFileName(); base 48 content/browser/browser_shutdown_profile_dumper.h base::WaitableEvent* flush_complete_event, base 49 content/browser/browser_shutdown_profile_dumper.h const scoped_refptr<base::RefCountedString>& events_str, base 36 content/browser/browser_thread_impl.cc : blocking_pool(new base::SequencedWorkerPool(3, "BrowserBlocking")) { base 44 content/browser/browser_thread_impl.cc base::Lock lock; base 56 content/browser/browser_thread_impl.cc const scoped_refptr<base::SequencedWorkerPool> blocking_pool; base 59 content/browser/browser_thread_impl.cc base::LazyInstance<BrowserThreadGlobals>::Leaky base 71 content/browser/browser_thread_impl.cc base::MessageLoop* message_loop) base 99 content/browser/browser_thread_impl.cc using base::subtle::AtomicWord; base 102 content/browser/browser_thread_impl.cc AtomicWord stored_pointer = base::subtle::NoBarrier_Load(storage); base 108 content/browser/browser_thread_impl.cc base::Bind(&BrowserThreadDelegate::InitAsync, base 111 content/browser/browser_thread_impl.cc base::Unretained(delegate))); base 120 content/browser/browser_thread_impl.cc NOINLINE void BrowserThreadImpl::UIThreadRun(base::MessageLoop* message_loop) { base 126 content/browser/browser_thread_impl.cc NOINLINE void BrowserThreadImpl::DBThreadRun(base::MessageLoop* message_loop) { base 133 content/browser/browser_thread_impl.cc base::MessageLoop* message_loop) { base 140 content/browser/browser_thread_impl.cc base::MessageLoop* message_loop) { base 147 content/browser/browser_thread_impl.cc base::MessageLoop* message_loop) { base 154 content/browser/browser_thread_impl.cc base::MessageLoop* message_loop) { base 160 content/browser/browser_thread_impl.cc NOINLINE void BrowserThreadImpl::IOThreadRun(base::MessageLoop* message_loop) { base 169 content/browser/browser_thread_impl.cc void BrowserThreadImpl::Run(base::MessageLoop* message_loop) { base 199 content/browser/browser_thread_impl.cc using base::subtle::AtomicWord; base 202 content/browser/browser_thread_impl.cc AtomicWord stored_pointer = base::subtle::NoBarrier_Load(storage); base 213 content/browser/browser_thread_impl.cc base::AutoLock lock(globals.lock); base 226 content/browser/browser_thread_impl.cc base::AutoLock lock(globals.lock); base 241 content/browser/browser_thread_impl.cc const base::Closure& task, base 242 content/browser/browser_thread_impl.cc base::TimeDelta delay, base 260 content/browser/browser_thread_impl.cc base::MessageLoop* message_loop = base 279 content/browser/browser_thread_impl.cc class BrowserThreadMessageLoopProxy : public base::MessageLoopProxy { base 288 content/browser/browser_thread_impl.cc const base::Closure& task, base::TimeDelta delay) OVERRIDE { base 294 content/browser/browser_thread_impl.cc const base::Closure& task, base 295 content/browser/browser_thread_impl.cc base::TimeDelta delay) OVERRIDE { base 315 content/browser/browser_thread_impl.cc const base::Closure& task) { base 322 content/browser/browser_thread_impl.cc const base::Closure& task, base 323 content/browser/browser_thread_impl.cc const base::Closure& reply) { base 332 content/browser/browser_thread_impl.cc const base::Closure& task) { base 338 content/browser/browser_thread_impl.cc base::SequencedWorkerPool* BrowserThread::GetBlockingPool() { base 348 content/browser/browser_thread_impl.cc base::AutoLock lock(globals.lock); base 359 content/browser/browser_thread_impl.cc base::ThreadRestrictions::ScopedAllowSingleton allow_singleton; base 361 content/browser/browser_thread_impl.cc base::AutoLock lock(globals.lock); base 365 content/browser/browser_thread_impl.cc base::MessageLoop::current(); base 379 content/browser/browser_thread_impl.cc base::MessageLoop::current()->thread_name(); base 401 content/browser/browser_thread_impl.cc base::AutoLock lock(globals.lock); base 410 content/browser/browser_thread_impl.cc const base::Closure& task) { base 412 content/browser/browser_thread_impl.cc identifier, from_here, task, base::TimeDelta(), true); base 418 content/browser/browser_thread_impl.cc const base::Closure& task, base 419 content/browser/browser_thread_impl.cc base::TimeDelta delay) { base 428 content/browser/browser_thread_impl.cc const base::Closure& task) { base 430 content/browser/browser_thread_impl.cc identifier, from_here, task, base::TimeDelta(), false); base 437 content/browser/browser_thread_impl.cc const base::Closure& task, base 438 content/browser/browser_thread_impl.cc base::TimeDelta delay) { base 447 content/browser/browser_thread_impl.cc const base::Closure& task, base 448 content/browser/browser_thread_impl.cc const base::Closure& reply) { base 463 content/browser/browser_thread_impl.cc base::ThreadRestrictions::ScopedAllowSingleton allow_singleton; base 464 content/browser/browser_thread_impl.cc base::MessageLoop* cur_message_loop = base::MessageLoop::current(); base 478 content/browser/browser_thread_impl.cc scoped_refptr<base::MessageLoopProxy> base 484 content/browser/browser_thread_impl.cc base::MessageLoop* BrowserThread::UnsafeGetMessageLoopForThread(ID identifier) { base 489 content/browser/browser_thread_impl.cc base::AutoLock lock(globals.lock); base 490 content/browser/browser_thread_impl.cc base::Thread* thread = globals.threads[identifier]; base 492 content/browser/browser_thread_impl.cc base::MessageLoop* loop = thread->message_loop(); base 499 content/browser/browser_thread_impl.cc using base::subtle::AtomicWord; base 503 content/browser/browser_thread_impl.cc AtomicWord old_pointer = base::subtle::NoBarrier_AtomicExchange( base 15 content/browser/browser_thread_impl.h public base::Thread { base 25 content/browser/browser_thread_impl.h base::MessageLoop* message_loop); base 32 content/browser/browser_thread_impl.h virtual void Run(base::MessageLoop* message_loop) OVERRIDE; base 43 content/browser/browser_thread_impl.h void UIThreadRun(base::MessageLoop* message_loop); base 44 content/browser/browser_thread_impl.h void DBThreadRun(base::MessageLoop* message_loop); base 45 content/browser/browser_thread_impl.h void FileThreadRun(base::MessageLoop* message_loop); base 46 content/browser/browser_thread_impl.h void FileUserBlockingThreadRun(base::MessageLoop* message_loop); base 47 content/browser/browser_thread_impl.h void ProcessLauncherThreadRun(base::MessageLoop* message_loop); base 48 content/browser/browser_thread_impl.h void CacheThreadRun(base::MessageLoop* message_loop); base 49 content/browser/browser_thread_impl.h void IOThreadRun(base::MessageLoop* message_loop); base 54 content/browser/browser_thread_impl.h const base::Closure& task, base 55 content/browser/browser_thread_impl.h base::TimeDelta delay, base 22 content/browser/browser_thread_unittest.cc loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 38 content/browser/browser_thread_unittest.cc static void BasicFunction(base::MessageLoop* message_loop) { base 40 content/browser/browser_thread_unittest.cc message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 44 content/browser/browser_thread_unittest.cc : public base::RefCountedThreadSafe< base 47 content/browser/browser_thread_unittest.cc explicit DeletedOnFile(base::MessageLoop* message_loop) base 56 content/browser/browser_thread_unittest.cc message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 59 content/browser/browser_thread_unittest.cc base::MessageLoop* message_loop_; base 67 content/browser/browser_thread_unittest.cc mutable base::MessageLoop loop_; base 74 content/browser/browser_thread_unittest.cc base::Bind(&BasicFunction, base::MessageLoop::current())); base 75 content/browser/browser_thread_unittest.cc base::MessageLoop::current()->Run(); base 80 content/browser/browser_thread_unittest.cc base::MessageLoop::current()->Run(); base 86 content/browser/browser_thread_unittest.cc new DeletedOnFile(base::MessageLoop::current())); base 88 content/browser/browser_thread_unittest.cc base::MessageLoop::current()->Run(); base 92 content/browser/browser_thread_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy = base 95 content/browser/browser_thread_unittest.cc FROM_HERE, base::Bind(&BasicFunction, base::MessageLoop::current())); base 96 content/browser/browser_thread_unittest.cc base::MessageLoop::current()->Run(); base 100 content/browser/browser_thread_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy = base 103 content/browser/browser_thread_unittest.cc base::MessageLoop::current()->Run(); base 112 content/browser/browser_thread_unittest.cc base::Bind(&base::DoNothing), base 113 content/browser/browser_thread_unittest.cc base::Bind(&base::MessageLoop::Quit, base 114 content/browser/browser_thread_unittest.cc base::Unretained(base::MessageLoop::current()->current())))); base 115 content/browser/browser_thread_unittest.cc base::MessageLoop::current()->Run(); base 55 content/browser/browsing_instance.h : public base::RefCounted<BrowsingInstance> { base 85 content/browser/browsing_instance.h friend class base::RefCounted<BrowsingInstance>; base 92 content/browser/browsing_instance.h typedef base::hash_map<std::string, SiteInstance*> SiteInstanceMap; base 30 content/browser/byte_stream.cc struct LifetimeFlag : public base::RefCountedThreadSafe<LifetimeFlag> { base 48 content/browser/byte_stream.cc ByteStreamWriterImpl(scoped_refptr<base::SequencedTaskRunner> task_runner, base 55 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> peer_task_runner, base 63 content/browser/byte_stream.cc virtual void RegisterCallback(const base::Closure& source_callback) OVERRIDE; base 81 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> my_task_runner_; base 86 content/browser/byte_stream.cc base::Closure space_available_callback_; base 92 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> peer_task_runner_; base 108 content/browser/byte_stream.cc ByteStreamReaderImpl(scoped_refptr<base::SequencedTaskRunner> task_runner, base 115 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> peer_task_runner, base 122 content/browser/byte_stream.cc virtual void RegisterCallback(const base::Closure& sink_callback) OVERRIDE; base 150 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> my_task_runner_; base 160 content/browser/byte_stream.cc base::Closure data_available_callback_; base 164 content/browser/byte_stream.cc base::Time last_non_full_time_; base 168 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> peer_task_runner_; base 183 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 205 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> peer_task_runner, base 250 content/browser/byte_stream.cc const base::Closure& source_callback) { base 303 content/browser/byte_stream.cc FROM_HERE, base::Bind( base 307 content/browser/byte_stream.cc base::Passed(&transfer_buffer), base 314 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 337 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> peer_task_runner, base 371 content/browser/byte_stream.cc const base::Closure& sink_callback) { base 431 content/browser/byte_stream.cc FROM_HERE, base::Bind( base 449 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> input_task_runner, base 450 content/browser/byte_stream.cc scoped_refptr<base::SequencedTaskRunner> output_task_runner, base 14 content/browser/byte_stream.h namespace base { base 155 content/browser/byte_stream.h virtual void RegisterCallback(const base::Closure& source_callback) = 0; base 191 content/browser/byte_stream.h virtual void RegisterCallback(const base::Closure& sink_callback) = 0; base 195 content/browser/byte_stream.h scoped_refptr<base::SequencedTaskRunner> input_task_runner, base 196 content/browser/byte_stream.h scoped_refptr<base::SequencedTaskRunner> output_task_runner, base 89 content/browser/byte_stream_unittest.cc base::MessageLoop message_loop_; base 317 content/browser/byte_stream_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner( base 318 content/browser/byte_stream_unittest.cc new base::TestSimpleTaskRunner()); base 339 content/browser/byte_stream_unittest.cc base::Bind(CountCallbacks, &num_callbacks)); base 369 content/browser/byte_stream_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner( base 370 content/browser/byte_stream_unittest.cc new base::TestSimpleTaskRunner()); base 392 content/browser/byte_stream_unittest.cc base::Bind(CountCallbacks, &num_callbacks)); base 431 content/browser/byte_stream_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner( base 432 content/browser/byte_stream_unittest.cc new base::TestSimpleTaskRunner()); base 442 content/browser/byte_stream_unittest.cc base::Closure intermediate_callback; base 447 content/browser/byte_stream_unittest.cc base::Bind(CountCallbacks, &num_callbacks)); base 461 content/browser/byte_stream_unittest.cc base::Bind(CountCallbacks, &num_alt_callbacks)); base 478 content/browser/byte_stream_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner( base 479 content/browser/byte_stream_unittest.cc new base::TestSimpleTaskRunner()); base 489 content/browser/byte_stream_unittest.cc base::Closure intermediate_callback; base 494 content/browser/byte_stream_unittest.cc base::Bind(CountCallbacks, &num_callbacks)); base 514 content/browser/byte_stream_unittest.cc base::Bind(CountCallbacks, &num_alt_callbacks)); base 530 content/browser/byte_stream_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner( base 531 content/browser/byte_stream_unittest.cc new base::TestSimpleTaskRunner()); base 539 content/browser/byte_stream_unittest.cc base::Closure intermediate_callback; base 544 content/browser/byte_stream_unittest.cc base::Bind(CountCallbacks, &num_callbacks)); base 54 content/browser/child_process_launcher.cc : public base::RefCountedThreadSafe<ChildProcessLauncher::Context> { base 59 content/browser/child_process_launcher.cc termination_status_(base::TERMINATION_STATUS_NORMAL_TERMINATION), base 91 content/browser/child_process_launcher.cc base::Bind( base 105 content/browser/child_process_launcher.cc const base::TimeTicks begin_launch_time, base 106 content/browser/child_process_launcher.cc base::ProcessHandle handle) { base 115 content/browser/child_process_launcher.cc base::Bind( base 142 content/browser/child_process_launcher.cc static void RecordHistograms(const base::TimeTicks begin_launch_time) { base 143 content/browser/child_process_launcher.cc base::TimeDelta launch_time = base::TimeTicks::Now() - begin_launch_time; base 149 content/browser/child_process_launcher.cc base::Bind(&ChildProcessLauncher::Context::RecordLaunchHistograms, base 154 content/browser/child_process_launcher.cc static void RecordLaunchHistograms(const base::TimeDelta launch_time) { base 179 content/browser/child_process_launcher.cc base::EnvironmentMap env = delegate->GetEnvironment(); base 183 content/browser/child_process_launcher.cc base::EnvironmentMap env = delegate->GetEnvironment(); base 187 content/browser/child_process_launcher.cc base::TimeTicks begin_launch_time = base::TimeTicks::Now(); base 190 content/browser/child_process_launcher.cc base::ProcessHandle handle = base::kNullProcessHandle; base 192 content/browser/child_process_launcher.cc base::LaunchOptions options; base 194 content/browser/child_process_launcher.cc base::LaunchElevatedProcess(*cmd_line, options, &handle); base 204 content/browser/child_process_launcher.cc base::FileDescriptor(ipcfd, false))); base 205 content/browser/child_process_launcher.cc base::StatsTable* stats_table = base::StatsTable::current(); base 207 content/browser/child_process_launcher.cc base::SharedMemory::IsHandleValid( base 225 content/browser/child_process_launcher.cc base::Bind(&ChildProcessLauncher::Context::OnChildProcessStarted, base 229 content/browser/child_process_launcher.cc base::ProcessHandle handle = base::kNullProcessHandle; base 232 content/browser/child_process_launcher.cc base::ScopedFD ipcfd_closer(ipcfd); base 247 content/browser/child_process_launcher.cc base::FileHandleMappingVector fds_to_map; base 252 content/browser/child_process_launcher.cc base::GlobalDescriptors::kBaseDescriptor)); base 266 content/browser/child_process_launcher.cc base::LaunchOptions options; base 286 content/browser/child_process_launcher.cc bool launched = base::LaunchProcess(*cmd_line, options, &handle); base 298 content/browser/child_process_launcher.cc handle = base::kNullProcessHandle; base 306 content/browser/child_process_launcher.cc base::Bind( base 320 content/browser/child_process_launcher.cc base::ProcessHandle handle) { base 323 content/browser/child_process_launcher.cc base::ScopedFD ipcfd_closer(ipcfd_); base 355 content/browser/child_process_launcher.cc base::Bind( base 361 content/browser/child_process_launcher.cc process_.set_handle(base::kNullProcessHandle); base 364 content/browser/child_process_launcher.cc static void SetProcessBackgrounded(base::ProcessHandle handle, base 366 content/browser/child_process_launcher.cc base::Process process(handle); base 374 content/browser/child_process_launcher.cc base::ProcessHandle handle) { base 379 content/browser/child_process_launcher.cc base::Process process(handle); base 393 content/browser/child_process_launcher.cc base::EnsureProcessTerminated(handle); base 402 content/browser/child_process_launcher.cc base::Process process_; base 403 content/browser/child_process_launcher.cc base::TerminationStatus termination_status_; base 439 content/browser/child_process_launcher.cc base::ProcessHandle ChildProcessLauncher::GetHandle() { base 444 content/browser/child_process_launcher.cc base::TerminationStatus ChildProcessLauncher::GetChildTerminationStatus( base 447 content/browser/child_process_launcher.cc base::ProcessHandle handle = context_->process_.handle(); base 448 content/browser/child_process_launcher.cc if (handle == base::kNullProcessHandle) { base 460 content/browser/child_process_launcher.cc base::GetKnownDeadTerminationStatus(handle, &context_->exit_code_); base 465 content/browser/child_process_launcher.cc base::GetKnownDeadTerminationStatus(handle, &context_->exit_code_); base 469 content/browser/child_process_launcher.cc context_->termination_status_ = base::TERMINATION_STATUS_OOM_PROTECTED; base 475 content/browser/child_process_launcher.cc base::GetTerminationStatus(handle, &context_->exit_code_); base 487 content/browser/child_process_launcher.cc if (context_->termination_status_ != base::TERMINATION_STATUS_STILL_RUNNING) base 496 content/browser/child_process_launcher.cc base::Bind( base 14 content/browser/child_process_launcher.h namespace base { base 45 content/browser/child_process_launcher.h base::CommandLine* cmd_line, base 54 content/browser/child_process_launcher.h base::ProcessHandle GetHandle(); base 67 content/browser/child_process_launcher.h base::TerminationStatus GetChildTerminationStatus(bool known_dead, base 51 content/browser/child_process_security_policy_browsertest.cc base::KillProcess(web_contents->GetRenderProcessHost()->GetHandle(), base 102 content/browser/child_process_security_policy_impl.cc void GrantPermissionsForFile(const base::FilePath& file, int permissions) { base 103 content/browser/child_process_security_policy_impl.cc base::FilePath stripped = file.StripTrailingSeparators(); base 110 content/browser/child_process_security_policy_impl.cc void GrantRequestOfSpecificFile(const base::FilePath &file) { base 115 content/browser/child_process_security_policy_impl.cc void RevokeAllPermissionsForFile(const base::FilePath& file) { base 116 content/browser/child_process_security_policy_impl.cc base::FilePath stripped = file.StripTrailingSeparators(); base 140 content/browser/child_process_security_policy_impl.cc bool HasPermissionsForContentUri(const base::FilePath& file, base 146 content/browser/child_process_security_policy_impl.cc base::FilePath file_path = file.StripTrailingSeparators(); base 180 content/browser/child_process_security_policy_impl.cc base::FilePath path; base 189 content/browser/child_process_security_policy_impl.cc bool HasPermissionsForFile(const base::FilePath& file, int permissions) { base 196 content/browser/child_process_security_policy_impl.cc base::FilePath current_path = file.StripTrailingSeparators(); base 197 content/browser/child_process_security_policy_impl.cc base::FilePath last_path; base 200 content/browser/child_process_security_policy_impl.cc base::FilePath base_name = current_path.BaseName(); base 201 content/browser/child_process_security_policy_impl.cc if (base_name.value() == base::FilePath::kParentDirectory) { base 204 content/browser/child_process_security_policy_impl.cc if (base_name.value() != base::FilePath::kCurrentDirectory) base 278 content/browser/child_process_security_policy_impl.cc typedef std::map<base::FilePath, FilePermissionFlags> FileMap; base 280 content/browser/child_process_security_policy_impl.cc typedef std::set<base::FilePath> FileSet; base 343 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 349 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 355 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 367 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 377 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 384 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 394 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 423 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 441 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 448 content/browser/child_process_security_policy_impl.cc base::FilePath path; base 455 content/browser/child_process_security_policy_impl.cc const base::FilePath& file) { base 460 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file) { base 465 content/browser/child_process_security_policy_impl.cc const base::FilePath& dir) { base 470 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& dir) { base 475 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file, int permissions) { base 476 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 486 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file) { base 487 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 528 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 539 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 549 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 565 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 575 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 636 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 649 content/browser/child_process_security_policy_impl.cc const base::FilePath& file) { base 655 content/browser/child_process_security_policy_impl.cc const base::FilePath& file) { base 683 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file, int permissions) { base 684 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 778 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 788 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 807 content/browser/child_process_security_policy_impl.cc int child_id, const base::FilePath& file, int permissions) { base 816 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 836 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 847 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 857 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 869 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 880 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 885 content/browser/child_process_security_policy_impl.cc base::AutoLock lock(lock_); base 23 content/browser/child_process_security_policy_impl.h namespace base { base 45 content/browser/child_process_security_policy_impl.h virtual void GrantReadFile(int child_id, const base::FilePath& file) OVERRIDE; base 47 content/browser/child_process_security_policy_impl.h const base::FilePath& file) OVERRIDE; base 48 content/browser/child_process_security_policy_impl.h virtual void GrantCopyInto(int child_id, const base::FilePath& dir) OVERRIDE; base 50 content/browser/child_process_security_policy_impl.h const base::FilePath& dir) OVERRIDE; base 70 content/browser/child_process_security_policy_impl.h virtual bool CanReadFile(int child_id, const base::FilePath& file) OVERRIDE; base 72 content/browser/child_process_security_policy_impl.h const base::FilePath& file) OVERRIDE; base 118 content/browser/child_process_security_policy_impl.h void RevokeAllPermissionsForFile(int child_id, const base::FilePath& file); base 216 content/browser/child_process_security_policy_impl.h const base::FilePath& file, base 222 content/browser/child_process_security_policy_impl.h const base::FilePath& file, base 238 content/browser/child_process_security_policy_impl.h const base::FilePath& file, base 256 content/browser/child_process_security_policy_impl.h base::Lock lock_; base 87 content/browser/child_process_security_policy_unittest.cc const base::FilePath& file, base 101 content/browser/child_process_security_policy_unittest.cc const base::FilePath& file, base 315 content/browser/child_process_security_policy_unittest.cc base::FilePath()); base 319 content/browser/child_process_security_policy_unittest.cc base::FilePath()); base 323 content/browser/child_process_security_policy_unittest.cc base::FilePath()); base 327 content/browser/child_process_security_policy_unittest.cc base::FilePath()); base 392 content/browser/child_process_security_policy_unittest.cc base::FilePath file(TEST_PATH("/dir/testfile")); base 447 content/browser/child_process_security_policy_unittest.cc base::FilePath granted_file = base::FilePath(TEST_PATH("/home/joe")); base 448 content/browser/child_process_security_policy_unittest.cc base::FilePath sibling_file = base::FilePath(TEST_PATH("/home/bob")); base 449 content/browser/child_process_security_policy_unittest.cc base::FilePath child_file = base::FilePath(TEST_PATH("/home/joe/file")); base 450 content/browser/child_process_security_policy_unittest.cc base::FilePath parent_file = base::FilePath(TEST_PATH("/home")); base 451 content/browser/child_process_security_policy_unittest.cc base::FilePath parent_slash_file = base::FilePath(TEST_PATH("/home/")); base 452 content/browser/child_process_security_policy_unittest.cc base::FilePath child_traversal1 = base 453 content/browser/child_process_security_policy_unittest.cc base::FilePath(TEST_PATH("/home/joe/././file")); base 454 content/browser/child_process_security_policy_unittest.cc base::FilePath child_traversal2 = base::FilePath( base 456 content/browser/child_process_security_policy_unittest.cc base::FilePath evil_traversal1 = base 457 content/browser/child_process_security_policy_unittest.cc base::FilePath(TEST_PATH("/home/joe/../../etc/passwd")); base 458 content/browser/child_process_security_policy_unittest.cc base::FilePath evil_traversal2 = base::FilePath( base 460 content/browser/child_process_security_policy_unittest.cc base::FilePath self_traversal = base 461 content/browser/child_process_security_policy_unittest.cc base::FilePath(TEST_PATH("/home/joe/../joe/file")); base 462 content/browser/child_process_security_policy_unittest.cc base::FilePath relative_file = base::FilePath(FILE_PATH_LITERAL("home/joe")); base 470 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN)); base 473 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 474 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN_TRUNCATED | base 475 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ | base 476 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_WRITE); base 478 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 479 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN_TRUNCATED | base 480 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ | base 481 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_WRITE)); base 483 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 484 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 486 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_CREATE)); base 489 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_CREATE | base 490 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN_TRUNCATED | base 491 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ | base 492 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_WRITE)); base 494 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 495 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 497 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 498 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 500 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 501 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 503 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 504 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 506 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 507 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 509 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 510 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 512 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 513 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 516 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 517 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 523 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN)); base 525 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 526 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ); base 528 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN)); base 530 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ | base 531 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_WRITE)); base 537 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN)); base 539 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 540 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ); base 542 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN)); base 544 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ | base 545 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_WRITE)); base 550 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_TEMPORARY); base 552 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN)); base 554 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_TEMPORARY)); base 560 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 561 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 563 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_TEMPORARY)); base 570 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 571 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ); base 573 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 574 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 576 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_WRITE)); base 579 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 580 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 582 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_WRITE)); base 585 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN | base 586 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_READ)); base 591 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN); base 593 content/browser/child_process_security_policy_unittest.cc base::PLATFORM_FILE_OPEN)); base 619 content/browser/child_process_security_policy_unittest.cc base::FilePath file(TEST_PATH("/etc/passwd")); base 78 content/browser/compositor/browser_compositor_output_surface.cc base::TimeTicks timebase, base 79 content/browser/compositor/browser_compositor_output_surface.cc base::TimeDelta interval) { base 86 content/browser/compositor/browser_compositor_output_surface.cc base::TimeTicks timebase, base 87 content/browser/compositor/browser_compositor_output_surface.cc base::TimeDelta interval) { base 26 content/browser/compositor/browser_compositor_output_surface.h public base::NonThreadSafe { base 35 content/browser/compositor/browser_compositor_output_surface.h virtual void OnUpdateVSyncParameters(base::TimeTicks timebase, base 36 content/browser/compositor/browser_compositor_output_surface.h base::TimeDelta interval) OVERRIDE; base 38 content/browser/compositor/browser_compositor_output_surface.h void OnUpdateVSyncParametersFromGpu(base::TimeTicks tiembase, base 39 content/browser/compositor/browser_compositor_output_surface.h base::TimeDelta interval); base 22 content/browser/compositor/browser_compositor_output_surface_proxy.cc base::SingleThreadTaskRunner* compositor_thread_task_runner) { base 34 content/browser/compositor/browser_compositor_output_surface_proxy.cc base::Bind(&BrowserCompositorOutputSurfaceProxy:: base 52 content/browser/compositor/browser_compositor_output_surface_proxy.cc base::TimeTicks timebase, base 53 content/browser/compositor/browser_compositor_output_surface_proxy.cc base::TimeDelta interval) { base 13 content/browser/compositor/browser_compositor_output_surface_proxy.h namespace base { class SingleThreadTaskRunner; } base 22 content/browser/compositor/browser_compositor_output_surface_proxy.h : public base::RefCountedThreadSafe<BrowserCompositorOutputSurfaceProxy> { base 30 content/browser/compositor/browser_compositor_output_surface_proxy.h base::SingleThreadTaskRunner* compositor_thread_task_runner); base 33 content/browser/compositor/browser_compositor_output_surface_proxy.h friend class base::RefCountedThreadSafe<BrowserCompositorOutputSurfaceProxy>; base 40 content/browser/compositor/browser_compositor_output_surface_proxy.h base::TimeTicks timebase, base 41 content/browser/compositor/browser_compositor_output_surface_proxy.h base::TimeDelta interval); base 241 content/browser/compositor/gpu_process_transport_factory.cc scoped_refptr<base::SingleThreadTaskRunner> compositor_thread_task_runner = base 244 content/browser/compositor/gpu_process_transport_factory.cc compositor_thread_task_runner = base::MessageLoopProxy::current(); base 408 content/browser/compositor/gpu_process_transport_factory.cc base::Bind(&GpuProcessTransportFactory:: base 471 content/browser/compositor/gpu_process_transport_factory.cc base::MessageLoop::current()->PostTask( base 473 content/browser/compositor/gpu_process_transport_factory.cc base::Bind(&GpuProcessTransportFactory::OnLostMainThreadSharedContext, base 82 content/browser/compositor/gpu_process_transport_factory.h base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; base 47 content/browser/compositor/image_transport_factory_browsertest.cc base::RunLoop run_loop; base 49 content/browser/compositor/image_transport_factory_browsertest.cc .WillOnce(testing::InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 20 content/browser/compositor/owned_mailbox.h class CONTENT_EXPORT OwnedMailbox : public base::RefCounted<OwnedMailbox>, base 39 content/browser/compositor/owned_mailbox.h friend class base::RefCounted<OwnedMailbox>; base 27 content/browser/compositor/reflector_impl.cc main_message_loop_(base::MessageLoopProxy::current()), base 31 content/browser/compositor/reflector_impl.cc base::Bind(&ReflectorImpl::InitOnImplThread, this)); base 52 content/browser/compositor/reflector_impl.cc base::Bind(&ReflectorImpl::FullRedrawContentOnMainThread, base 65 content/browser/compositor/reflector_impl.cc base::AutoLock lock(texture_lock_); base 71 content/browser/compositor/reflector_impl.cc base::Bind(&ReflectorImpl::ShutdownOnImplThread, this)); base 84 content/browser/compositor/reflector_impl.cc base::Bind(&ReflectorImpl::DeleteOnMainThread, base 92 content/browser/compositor/reflector_impl.cc base::Bind(&ReflectorImpl::AttachToOutputSurfaceOnImplThread, base 109 content/browser/compositor/reflector_impl.cc base::AutoLock lock(texture_lock_); base 117 content/browser/compositor/reflector_impl.cc base::Bind(&ReflectorImpl::UpdateTextureSizeOnMainThread, base 124 content/browser/compositor/reflector_impl.cc base::AutoLock lock(texture_lock_); base 132 content/browser/compositor/reflector_impl.cc base::Bind(&ReflectorImpl::FullRedrawOnMainThread, base 139 content/browser/compositor/reflector_impl.cc base::AutoLock lock(texture_lock_); base 147 content/browser/compositor/reflector_impl.cc base::Bind(&ReflectorImpl::UpdateSubBufferOnMainThread, base 155 content/browser/compositor/reflector_impl.cc base::AutoLock lock(texture_lock_); base 170 content/browser/compositor/reflector_impl.cc base::MessageLoopProxy::current().get()); base 182 content/browser/compositor/reflector_impl.cc base::Bind(&ReflectorImpl::CreateSharedTextureOnMainThread, base 16 content/browser/compositor/reflector_impl.h namespace base { class MessageLoopProxy; } base 32 content/browser/compositor/reflector_impl.h public base::SupportsWeakPtr<ReflectorImpl>, base 111 content/browser/compositor/reflector_impl.h base::Lock texture_lock_; base 123 content/browser/compositor/reflector_impl.h scoped_refptr<base::MessageLoopProxy> impl_message_loop_; base 124 content/browser/compositor/reflector_impl.h scoped_refptr<base::MessageLoopProxy> main_message_loop_; base 40 content/browser/compositor/software_browser_compositor_output_surface.cc base::MessageLoop::current()->PostTask( base 42 content/browser/compositor/software_browser_compositor_output_surface.cc base::Bind( base 49 content/browser/compositor/software_browser_compositor_output_surface.cc base::Bind(&BrowserCompositorOutputSurfaceProxy:: base 29 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc void set_timebase(base::TimeTicks timebase) { timebase_ = timebase; } base 30 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc void set_interval(base::TimeDelta interval) { interval_ = interval; } base 33 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc base::TimeTicks timebase_; base 34 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc base::TimeDelta interval_; base 72 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 85 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc message_loop_.reset(new base::MessageLoopForUI); base 85 content/browser/compositor/software_output_device_ozone_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 93 content/browser/compositor/software_output_device_ozone_unittest.cc message_loop_.reset(new base::MessageLoopForUI); base 13 content/browser/cross_site_request_manager.cc base::AutoLock lock(lock_); base 23 content/browser/cross_site_request_manager.cc base::AutoLock lock(lock_); base 52 content/browser/cross_site_request_manager.h base::Lock lock_; base 65 content/browser/cross_site_transfer_browsertest.cc run_loop_.reset(new base::RunLoop()); base 69 content/browser/cross_site_transfer_browsertest.cc base::Bind( base 71 content/browser/cross_site_transfer_browsertest.cc base::Unretained(this), base 135 content/browser/cross_site_transfer_browsertest.cc scoped_ptr<base::RunLoop> run_loop_; base 181 content/browser/cross_site_transfer_browsertest.cc base::Bind( base 183 content/browser/cross_site_transfer_browsertest.cc base::Unretained(this))); base 189 content/browser/cross_site_transfer_browsertest.cc base::Bind( base 191 content/browser/cross_site_transfer_browsertest.cc base::Unretained(this))); base 201 content/browser/cross_site_transfer_browsertest.cc script = base::StringPrintf("location.replace('%s')", url.spec().c_str()); base 203 content/browser/cross_site_transfer_browsertest.cc script = base::StringPrintf("location.href = '%s'", url.spec().c_str()); base 52 content/browser/database_browsertest.cc "updateRecord(" + base::IntToString(index) + ", '" + data + "')", base 58 content/browser/database_browsertest.cc shell, "deleteRecord(" + base::IntToString(index) + ")", "done"); base 133 content/browser/database_browsertest.cc std::string item = base::IntToString(i); base 143 content/browser/database_browsertest.cc std::string item = base::IntToString(i * i); base 35 content/browser/device_monitor_mac.h void NotifyDeviceChanged(base::SystemMonitor::DeviceType type); base 42 content/browser/device_monitor_mac.h base::ThreadChecker thread_checker_; base 20 content/browser/device_monitor_udev.cc base::SystemMonitor::DeviceType device_type; base 30 content/browser/device_monitor_udev.cc { base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE, kAudioSubsystem, NULL }, base 31 content/browser/device_monitor_udev.cc { base::SystemMonitor::DEVTYPE_VIDEO_CAPTURE, kVideoSubsystem, NULL }, base 42 content/browser/device_monitor_udev.cc base::Bind(&DeviceMonitorLinux::Initialize, base::Unretained(this))); base 52 content/browser/device_monitor_udev.cc base::MessageLoop::current()->AddDestructionObserver(this); base 60 content/browser/device_monitor_udev.cc base::Bind(&DeviceMonitorLinux::OnDevicesChanged, base 61 content/browser/device_monitor_udev.cc base::Unretained(this)))); base 73 content/browser/device_monitor_udev.cc base::SystemMonitor::DeviceType device_type = base 74 content/browser/device_monitor_udev.cc base::SystemMonitor::DEVTYPE_UNKNOWN; base 82 content/browser/device_monitor_udev.cc DCHECK_NE(device_type, base::SystemMonitor::DEVTYPE_UNKNOWN); base 84 content/browser/device_monitor_udev.cc base::SystemMonitor::Get()->ProcessDevicesChanged(device_type); base 23 content/browser/device_monitor_udev.h class DeviceMonitorLinux : public base::MessageLoop::DestructionObserver { base 56 content/browser/device_orientation/data_fetcher_shared_memory.h base::win::ScopedComPtr<ISensor> sensor_inclinometer_; base 57 content/browser/device_orientation/data_fetcher_shared_memory.h base::win::ScopedComPtr<ISensor> sensor_accelerometer_; base 58 content/browser/device_orientation/data_fetcher_shared_memory.h base::win::ScopedComPtr<ISensor> sensor_gyrometer_; base 33 content/browser/device_orientation/data_fetcher_shared_memory_base.cc class DataFetcherSharedMemoryBase::PollingThread : public base::Thread { base 50 content/browser/device_orientation/data_fetcher_shared_memory_base.cc scoped_ptr<base::RepeatingTimer<PollingThread> > timer_; base 59 content/browser/device_orientation/data_fetcher_shared_memory_base.cc : base::Thread(name), base 76 content/browser/device_orientation/data_fetcher_shared_memory_base.cc timer_.reset(new base::RepeatingTimer<PollingThread>()); base 133 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::Bind(&PollingThread::AddConsumer, base 134 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::Unretained(polling_thread_.get()), base 154 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::Bind(&PollingThread::RemoveConsumer, base 155 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::Unretained(polling_thread_.get()), base 167 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::SharedMemoryHandle base 169 content/browser/device_orientation/data_fetcher_shared_memory_base.cc ConsumerType consumer_type, base::ProcessHandle process) { base 172 content/browser/device_orientation/data_fetcher_shared_memory_base.cc return base::SharedMemory::NULLHandle(); base 174 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::SharedMemoryHandle renderer_handle; base 202 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::TimeDelta DataFetcherSharedMemoryBase::GetInterval() const { base 203 content/browser/device_orientation/data_fetcher_shared_memory_base.cc return base::TimeDelta::FromMilliseconds(kInertialSensorIntervalMillis); base 206 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::SharedMemory* DataFetcherSharedMemoryBase::GetSharedMemory( base 216 content/browser/device_orientation/data_fetcher_shared_memory_base.cc scoped_ptr<base::SharedMemory> new_shared_mem(new base::SharedMemory); base 220 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::SharedMemory* shared_mem = new_shared_mem.release(); base 231 content/browser/device_orientation/data_fetcher_shared_memory_base.cc if (base::SharedMemory* shared_memory = GetSharedMemory(consumer_type)) base 236 content/browser/device_orientation/data_fetcher_shared_memory_base.cc base::MessageLoop* DataFetcherSharedMemoryBase::GetPollingMessageLoop() const { base 39 content/browser/device_orientation/data_fetcher_shared_memory_base.h base::SharedMemoryHandle GetSharedMemoryHandleForProcess( base 40 content/browser/device_orientation/data_fetcher_shared_memory_base.h ConsumerType consumer_type, base::ProcessHandle process); base 59 content/browser/device_orientation/data_fetcher_shared_memory_base.h base::MessageLoop* GetPollingMessageLoop() const; base 71 content/browser/device_orientation/data_fetcher_shared_memory_base.h virtual base::TimeDelta GetInterval() const; base 83 content/browser/device_orientation/data_fetcher_shared_memory_base.h base::SharedMemory* GetSharedMemory(ConsumerType consumer_type); base 91 content/browser/device_orientation/data_fetcher_shared_memory_base.h typedef std::map<ConsumerType, base::SharedMemory*> SharedMemoryMap; base 110 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc base::WaitableEvent start_motion_; base 111 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc base::WaitableEvent start_orientation_; base 112 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc base::WaitableEvent stop_motion_; base 113 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc base::WaitableEvent stop_orientation_; base 114 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc base::WaitableEvent updated_motion_; base 115 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc base::WaitableEvent updated_orientation_; base 180 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_TRUE(base::MessageLoop::current() == GetPollingMessageLoop()); base 197 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_TRUE(base::MessageLoop::current() == GetPollingMessageLoop()); base 213 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_TRUE(base::MessageLoop::current() == GetPollingMessageLoop()); base 238 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_TRUE(base::MessageLoop::current() == GetPollingMessageLoop()); base 255 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_TRUE(base::MessageLoop::current() == GetPollingMessageLoop()); base 357 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc base::SharedMemoryHandle handle_orientation = base 359 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc CONSUMER_TYPE_ORIENTATION, base::GetCurrentProcessHandle()); base 360 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_TRUE(base::SharedMemory::IsHandleValid(handle_orientation)); base 364 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc base::SharedMemoryHandle handle_motion = base 366 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc CONSUMER_TYPE_MOTION, base::GetCurrentProcessHandle()); base 367 content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc EXPECT_TRUE(base::SharedMemory::IsHandleValid(handle_motion)); base 101 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc DCHECK(base::MessageLoop::current() == GetPollingMessageLoop()); base 117 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc DCHECK(base::MessageLoop::current() == GetPollingMessageLoop()); base 161 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc DCHECK(base::MessageLoop::current() == GetPollingMessageLoop()); base 27 content/browser/device_orientation/data_fetcher_shared_memory_win.cc : public ISensorEvents, public base::win::IUnknownImpl { base 308 content/browser/device_orientation/data_fetcher_shared_memory_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 311 content/browser/device_orientation/data_fetcher_shared_memory_win.cc base::win::ScopedComPtr<ISensorManager> sensor_manager; base 316 content/browser/device_orientation/data_fetcher_shared_memory_win.cc base::win::ScopedComPtr<ISensorCollection> sensor_collection; base 332 content/browser/device_orientation/data_fetcher_shared_memory_win.cc base::win::ScopedComPtr<IPortableDeviceValues> device_values; base 337 content/browser/device_orientation/data_fetcher_shared_memory_win.cc base::win::ScopedComPtr<IPortableDeviceValues> return_values; base 342 content/browser/device_orientation/data_fetcher_shared_memory_win.cc base::win::ScopedComPtr<ISensorEvents> sensor_events; base 145 content/browser/device_orientation/device_inertial_sensor_browsertest.cc base::WaitableEvent started_orientation_; base 146 content/browser/device_orientation/device_inertial_sensor_browsertest.cc base::WaitableEvent stopped_orientation_; base 147 content/browser/device_orientation/device_inertial_sensor_browsertest.cc base::WaitableEvent started_motion_; base 148 content/browser/device_orientation/device_inertial_sensor_browsertest.cc base::WaitableEvent stopped_motion_; base 167 content/browser/device_orientation/device_inertial_sensor_browsertest.cc base::Bind(&DeviceInertialSensorBrowserTest::SetUpOnIOThread, this)); base 178 content/browser/device_orientation/device_inertial_sensor_browsertest.cc void DelayAndQuit(base::TimeDelta delay) { base 179 content/browser/device_orientation/device_inertial_sensor_browsertest.cc base::PlatformThread::Sleep(delay); base 180 content/browser/device_orientation/device_inertial_sensor_browsertest.cc base::MessageLoop::current()->QuitWhenIdle(); base 183 content/browser/device_orientation/device_inertial_sensor_browsertest.cc void WaitForAlertDialogAndQuitAfterDelay(base::TimeDelta delay) { base 190 content/browser/device_orientation/device_inertial_sensor_browsertest.cc base::Bind(&DeviceInertialSensorBrowserTest::DelayAndQuit, this, base 198 content/browser/device_orientation/device_inertial_sensor_browsertest.cc base::WaitableEvent io_loop_finished_event_; base 244 content/browser/device_orientation/device_inertial_sensor_browsertest.cc WaitForAlertDialogAndQuitAfterDelay(base::TimeDelta::FromMilliseconds(1000)); base 268 content/browser/device_orientation/device_inertial_sensor_browsertest.cc WaitForAlertDialogAndQuitAfterDelay(base::TimeDelta::FromMilliseconds(1000)); base 82 content/browser/device_orientation/device_inertial_sensor_service.cc base::SharedMemoryHandle base 84 content/browser/device_orientation/device_inertial_sensor_service.cc ConsumerType consumer_type, base::ProcessHandle handle) { base 41 content/browser/device_orientation/device_inertial_sensor_service.h base::SharedMemoryHandle GetSharedMemoryHandleForProcess( base 42 content/browser/device_orientation/device_inertial_sensor_service.h ConsumerType consumer_type, base::ProcessHandle handle); base 65 content/browser/device_orientation/device_inertial_sensor_service.h base::ThreadChecker thread_checker_; base 15 content/browser/device_orientation/sensor_manager_android.cc using base::android::AttachCurrentThread; base 37 content/browser/device_orientation/sensor_manager_android.cc base::android::GetApplicationContext())); base 54 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(orientation_buffer_lock_); base 76 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(motion_buffer_lock_); base 98 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(motion_buffer_lock_); base 120 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(motion_buffer_lock_); base 170 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(motion_buffer_lock_); base 181 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(motion_buffer_lock_); base 190 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(motion_buffer_lock_); base 247 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(orientation_buffer_lock_); base 253 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(orientation_buffer_lock_); base 268 content/browser/device_orientation/sensor_manager_android.cc base::AutoLock autolock(orientation_buffer_lock_); base 83 content/browser/device_orientation/sensor_manager_android.h base::android::ScopedJavaGlobalRef<jobject> device_orientation_; base 91 content/browser/device_orientation/sensor_manager_android.h base::Lock motion_buffer_lock_; base 92 content/browser/device_orientation/sensor_manager_android.h base::Lock orientation_buffer_lock_; base 54 content/browser/device_orientation/sensor_manager_android_unittest.cc FakeSensorManagerAndroid::Register(base::android::AttachCurrentThread()); base 94 content/browser/device_orientation/sensor_manager_android_unittest.cc FakeSensorManagerAndroid::Register(base::android::AttachCurrentThread()); base 113 content/browser/device_orientation/sensor_manager_android_unittest.cc FakeSensorManagerAndroid::Register(base::android::AttachCurrentThread()); base 126 content/browser/device_orientation/sensor_manager_android_unittest.cc FakeSensorManagerAndroid::Register(base::android::AttachCurrentThread()); base 19 content/browser/devtools/devtools_agent_host_impl.cc base::LazyInstance<Instances>::Leaky g_instances = LAZY_INSTANCE_INITIALIZER; base 24 content/browser/devtools/devtools_agent_host_impl.cc id_(base::GenerateGUID()) { base 18 content/browser/devtools/devtools_browser_target.cc base::MessageLoopProxy* message_loop_proxy, base 36 content/browser/devtools/devtools_browser_target.cc handler->SetNotifier(base::Bind(&DevToolsBrowserTarget::RespondFromUIThread, base 39 content/browser/devtools/devtools_browser_target.cc handler->SetNotifier(base::Bind(&DevToolsBrowserTarget::Respond, base 40 content/browser/devtools/devtools_browser_target.cc base::Unretained(this))); base 77 content/browser/devtools/devtools_browser_target.cc base::Bind(&DevToolsBrowserTarget::HandleCommandOnUIThread, base 100 content/browser/devtools/devtools_browser_target.cc base::Bind(&DevToolsBrowserTarget::DeleteHandlersOnUIThread, base 138 content/browser/devtools/devtools_browser_target.cc base::Bind(&DevToolsBrowserTarget::Respond, this, message)); base 19 content/browser/devtools/devtools_browser_target.h namespace base { base 33 content/browser/devtools/devtools_browser_target.h : public base::RefCountedThreadSafe<DevToolsBrowserTarget> { base 35 content/browser/devtools/devtools_browser_target.h DevToolsBrowserTarget(base::MessageLoopProxy* message_loop_proxy, base 51 content/browser/devtools/devtools_browser_target.h friend class base::RefCountedThreadSafe<DevToolsBrowserTarget>; base 64 content/browser/devtools/devtools_browser_target.h base::MessageLoopProxy* message_loop_proxy_; base 72 content/browser/devtools/devtools_browser_target.h base::WeakPtrFactory<DevToolsBrowserTarget> weak_factory_; base 74 content/browser/devtools/devtools_frontend_host.cc base::TerminationStatus status) { base 76 content/browser/devtools/devtools_frontend_host.cc case base::TERMINATION_STATUS_ABNORMAL_TERMINATION: base 77 content/browser/devtools/devtools_frontend_host.cc case base::TERMINATION_STATUS_PROCESS_WAS_KILLED: base 78 content/browser/devtools/devtools_frontend_host.cc case base::TERMINATION_STATUS_PROCESS_CRASHED: base 40 content/browser/devtools/devtools_frontend_host.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 72 content/browser/devtools/devtools_http_handler_impl.cc DevToolsClientHostImpl(base::MessageLoop* message_loop, base 89 content/browser/devtools/devtools_http_handler_impl.cc base::DictionaryValue notification; base 97 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::SendOverWebSocket, base 104 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::Close, server_, connection_id_)); base 110 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::SendOverWebSocket, base 121 content/browser/devtools/devtools_http_handler_impl.cc base::MessageLoop* message_loop_; base 174 content/browser/devtools/devtools_http_handler_impl.cc thread_.reset(new base::Thread(kDevToolsHandlerThreadName)); base 177 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::StartHandlerThread, this)); base 182 content/browser/devtools/devtools_http_handler_impl.cc base::Thread::Options options; base 183 content/browser/devtools/devtools_http_handler_impl.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 187 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::ResetHandlerThread, this)); base 193 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::Init, this)); base 210 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::StopHandlerThread, this), base 211 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::ResetHandlerThreadAndRelease, this)); base 251 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::OnJsonRequestUI, base 268 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::OnThumbnailRequestUI, base 280 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::OnDiscoveryPageRequestUI, base 294 content/browser/devtools/devtools_http_handler_impl.cc base::FilePath frontend_dir = delegate_->GetDebugFrontendDir(); base 296 content/browser/devtools/devtools_http_handler_impl.cc base::FilePath path = frontend_dir.AppendASCII(filename); base 298 content/browser/devtools/devtools_http_handler_impl.cc base::ReadFileToString(path, &data); base 305 content/browser/devtools/devtools_http_handler_impl.cc base::StringPiece data = GetContentClient()->GetDataResource( base 346 content/browser/devtools/devtools_http_handler_impl.cc base::Bind( base 364 content/browser/devtools/devtools_http_handler_impl.cc base::Bind( base 381 content/browser/devtools/devtools_http_handler_impl.cc base::Bind( base 390 content/browser/devtools/devtools_http_handler_impl.cc return base::StringPrintf( base 453 content/browser/devtools/devtools_http_handler_impl.cc base::DictionaryValue version; base 460 content/browser/devtools/devtools_http_handler_impl.cc base::android::BuildInfo::GetInstance()->package_name()); base 470 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::OnTargetListReceived, base 489 content/browser/devtools/devtools_http_handler_impl.cc scoped_ptr<base::DictionaryValue> dictionary( base 546 content/browser/devtools/devtools_http_handler_impl.cc base::ListValue list_value; base 670 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&DevToolsHttpHandlerImpl::Teardown, this)); base 677 content/browser/devtools/devtools_http_handler_impl.cc base::Value* value, base 685 content/browser/devtools/devtools_http_handler_impl.cc base::JSONWriter::WriteWithOptions(value, base 686 content/browser/devtools/devtools_http_handler_impl.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 690 content/browser/devtools/devtools_http_handler_impl.cc scoped_ptr<base::Value> message_object(new base::StringValue(message)); base 691 content/browser/devtools/devtools_http_handler_impl.cc base::JSONWriter::Write(message_object.get(), &json_message); base 698 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::SendResponse, base 711 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::Send200, base 723 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::Send404, server_.get(), connection_id)); base 732 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::Send500, server_.get(), connection_id, base 743 content/browser/devtools/devtools_http_handler_impl.cc base::Bind(&net::HttpServer::AcceptWebSocket, server_.get(), base 747 content/browser/devtools/devtools_http_handler_impl.cc base::DictionaryValue* DevToolsHttpHandlerImpl::SerializeTarget( base 750 content/browser/devtools/devtools_http_handler_impl.cc base::DictionaryValue* dictionary = new base::DictionaryValue; base 773 content/browser/devtools/devtools_http_handler_impl.cc base::StringPrintf("ws://%s%s%s", base 21 content/browser/devtools/devtools_http_handler_impl.h namespace base { base 40 content/browser/devtools/devtools_http_handler_impl.h public base::RefCountedThreadSafe<DevToolsHttpHandlerImpl>, base 43 content/browser/devtools/devtools_http_handler_impl.h friend class base::RefCountedThreadSafe<DevToolsHttpHandlerImpl>; base 95 content/browser/devtools/devtools_http_handler_impl.h base::Value* value, base 110 content/browser/devtools/devtools_http_handler_impl.h base::DictionaryValue* SerializeTarget(const DevToolsTarget& target, base 114 content/browser/devtools/devtools_http_handler_impl.h scoped_ptr<base::Thread> thread_; base 40 content/browser/devtools/devtools_http_handler_unittest.cc base::Closure quit_closure_1, base::Closure quit_closure_2) base 54 content/browser/devtools/devtools_http_handler_unittest.cc base::Closure quit_closure_1_; base 55 content/browser/devtools/devtools_http_handler_unittest.cc base::Closure quit_closure_2_; base 62 content/browser/devtools/devtools_http_handler_unittest.cc virtual base::FilePath GetDebugFrontendDir() OVERRIDE { base 63 content/browser/devtools/devtools_http_handler_unittest.cc return base::FilePath(); base 97 content/browser/devtools/devtools_http_handler_unittest.cc base::MessageLoopForIO message_loop_; base 103 content/browser/devtools/devtools_http_handler_unittest.cc base::RunLoop run_loop, run_loop_2; base 130 content/browser/devtools/devtools_manager_impl.cc base::Bind(&DevToolsNetLogObserver::Attach)); base 153 content/browser/devtools/devtools_manager_impl.cc base::Bind(&DevToolsNetLogObserver::Detach)); base 22 content/browser/devtools/devtools_manager_unittest.cc using base::TimeDelta; base 153 content/browser/devtools/devtools_manager_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 155 content/browser/devtools/devtools_manager_unittest.cc base::MessageLoop::QuitClosure(), base 157 content/browser/devtools/devtools_manager_unittest.cc base::MessageLoop::current()->Run(); base 165 content/browser/devtools/devtools_manager_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 167 content/browser/devtools/devtools_manager_unittest.cc base::MessageLoop::QuitClosure(), base 169 content/browser/devtools/devtools_manager_unittest.cc base::MessageLoop::current()->Run(); base 57 content/browser/devtools/devtools_netlog_observer.cc scoped_ptr<base::Value> event_param(entry.ParametersToValue()); base 88 content/browser/devtools/devtools_netlog_observer.cc scoped_ptr<base::Value> event_params(entry.ParametersToValue()); base 110 content/browser/devtools/devtools_netlog_observer.cc scoped_ptr<base::Value> event_params(entry.ParametersToValue()); base 130 content/browser/devtools/devtools_netlog_observer.cc scoped_ptr<base::Value> event_params(entry.ParametersToValue()); base 53 content/browser/devtools/devtools_netlog_observer.h typedef base::hash_map<uint32, scoped_refptr<ResourceInfo> > RequestToInfoMap; base 16 content/browser/devtools/devtools_power_handler.cc base::Bind(&DevToolsPowerHandler::OnStart, base 17 content/browser/devtools/devtools_power_handler.cc base::Unretained(this))); base 19 content/browser/devtools/devtools_power_handler.cc base::Bind(&DevToolsPowerHandler::OnEnd, base 20 content/browser/devtools/devtools_power_handler.cc base::Unretained(this))); base 22 content/browser/devtools/devtools_power_handler.cc base::Bind(&DevToolsPowerHandler::OnCanProfilePower, base 23 content/browser/devtools/devtools_power_handler.cc base::Unretained(this))); base 30 content/browser/devtools/devtools_power_handler.cc base::DictionaryValue* params = new base::DictionaryValue(); base 31 content/browser/devtools/devtools_power_handler.cc base::ListValue* event_list = new base::ListValue(); base 35 content/browser/devtools/devtools_power_handler.cc base::DictionaryValue* event_body = new base::DictionaryValue(); base 42 content/browser/devtools/devtools_power_handler.cc static_cast<double>(base::Time::kMicrosecondsPerMillisecond)); base 75 content/browser/devtools/devtools_power_handler.cc base::DictionaryValue* result = new base::DictionaryValue(); base 35 content/browser/devtools/devtools_protocol.cc using base::Value; base 41 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* params) base 53 content/browser/devtools/devtools_protocol.cc base::DictionaryValue command; base 60 content/browser/devtools/devtools_protocol.cc base::JSONWriter::Write(&command, &json_command); base 65 content/browser/devtools/devtools_protocol.cc DevToolsProtocol::Command::SuccessResponse(base::DictionaryValue* result) { base 77 content/browser/devtools/devtools_protocol.cc base::StringPrintf("Missing or invalid '%s' parameter", param.c_str()); base 96 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* params) base 105 content/browser/devtools/devtools_protocol.cc base::DictionaryValue response; base 111 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* error_object = new base::DictionaryValue(); base 121 content/browser/devtools/devtools_protocol.cc base::JSONWriter::Write(&response, &json_response); base 125 content/browser/devtools/devtools_protocol.cc DevToolsProtocol::Response::Response(int id, base::DictionaryValue* result) base 142 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* params) base 150 content/browser/devtools/devtools_protocol.cc base::DictionaryValue notification; base 156 content/browser/devtools/devtools_protocol.cc base::JSONWriter::Write(¬ification, &json_notification); base 187 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* params) { base 203 content/browser/devtools/devtools_protocol.cc static bool ParseMethod(base::DictionaryValue* command, base 217 content/browser/devtools/devtools_protocol.cc scoped_ptr<base::DictionaryValue> command_dict( base 233 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* params = NULL; base 243 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* params) { base 250 content/browser/devtools/devtools_protocol.cc scoped_ptr<base::DictionaryValue> dict(ParseMessage(json, NULL)); base 259 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* params = NULL; base 268 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* params) { base 273 content/browser/devtools/devtools_protocol.cc base::DictionaryValue* DevToolsProtocol::ParseMessage( base 278 content/browser/devtools/devtools_protocol.cc scoped_ptr<base::Value> message( base 279 content/browser/devtools/devtools_protocol.cc base::JSONReader::ReadAndReturnError( base 282 content/browser/devtools/devtools_protocol.cc if (!message || !message->IsType(base::Value::TYPE_DICTIONARY)) { base 290 content/browser/devtools/devtools_protocol.cc return static_cast<base::DictionaryValue*>(message.release()); base 24 content/browser/devtools/devtools_protocol.h typedef base::Callback<void(const std::string& message)> Notifier; base 28 content/browser/devtools/devtools_protocol.h class Message : public base::RefCountedThreadSafe<Message> { base 32 content/browser/devtools/devtools_protocol.h base::DictionaryValue* params() { return params_.get(); } base 36 content/browser/devtools/devtools_protocol.h friend class base::RefCountedThreadSafe<Message>; base 39 content/browser/devtools/devtools_protocol.h base::DictionaryValue* params); base 43 content/browser/devtools/devtools_protocol.h scoped_ptr<base::DictionaryValue> params_; base 56 content/browser/devtools/devtools_protocol.h scoped_refptr<Response> SuccessResponse(base::DictionaryValue* result); base 76 content/browser/devtools/devtools_protocol.h base::DictionaryValue* params); base 83 content/browser/devtools/devtools_protocol.h class Response : public base::RefCountedThreadSafe<Response> { base 90 content/browser/devtools/devtools_protocol.h friend class base::RefCountedThreadSafe<Response>; base 95 content/browser/devtools/devtools_protocol.h Response(int id, base::DictionaryValue* result); base 99 content/browser/devtools/devtools_protocol.h scoped_ptr<base::DictionaryValue> result_; base 118 content/browser/devtools/devtools_protocol.h base::DictionaryValue* params); base 125 content/browser/devtools/devtools_protocol.h typedef base::Callback<scoped_refptr<DevToolsProtocol::Response>( base 143 content/browser/devtools/devtools_protocol.h base::DictionaryValue* params); base 167 content/browser/devtools/devtools_protocol.h base::DictionaryValue* params); base 173 content/browser/devtools/devtools_protocol.h const std::string& method, base::DictionaryValue* params); base 176 content/browser/devtools/devtools_protocol.h static base::DictionaryValue* ParseMessage(const std::string& json, base 32 content/browser/devtools/devtools_system_info_handler.cc AuxGPUInfoEnumerator(base::DictionaryValue* dictionary) base 57 content/browser/devtools/devtools_system_info_handler.cc const base::TimeDelta& value) OVERRIDE { base 77 content/browser/devtools/devtools_system_info_handler.cc base::DictionaryValue* dictionary_; base 81 content/browser/devtools/devtools_system_info_handler.cc base::DictionaryValue* GPUDeviceToDictionary( base 83 content/browser/devtools/devtools_system_info_handler.cc base::DictionaryValue* result = new base::DictionaryValue; base 95 content/browser/devtools/devtools_system_info_handler.cc base::Bind(&DevToolsSystemInfoHandler::OnGetInfo, base 96 content/browser/devtools/devtools_system_info_handler.cc base::Unretained(this))); base 106 content/browser/devtools/devtools_system_info_handler.cc base::DictionaryValue* gpu_dict = new base::DictionaryValue; base 108 content/browser/devtools/devtools_system_info_handler.cc base::ListValue* devices = new base::ListValue; base 115 content/browser/devtools/devtools_system_info_handler.cc base::DictionaryValue* aux_attributes = new base::DictionaryValue; base 124 content/browser/devtools/devtools_system_info_handler.cc base::DictionaryValue* system_dict = new base::DictionaryValue; base 31 content/browser/devtools/devtools_tracing_handler.cc const base::FilePath& path, base 32 content/browser/devtools/devtools_tracing_handler.cc const base::Callback<void(const scoped_refptr<base::RefCountedString>&)> base 35 content/browser/devtools/devtools_tracing_handler.cc if (!base::ReadFileToString(path, &trace_data)) base 37 content/browser/devtools/devtools_tracing_handler.cc base::DeleteFile(path, false); base 39 content/browser/devtools/devtools_tracing_handler.cc base::Bind(callback, make_scoped_refptr( base 40 content/browser/devtools/devtools_tracing_handler.cc base::RefCountedString::TakeString(&trace_data)))); base 48 content/browser/devtools/devtools_tracing_handler.cc base::Bind(&DevToolsTracingHandler::OnStart, base 49 content/browser/devtools/devtools_tracing_handler.cc base::Unretained(this))); base 51 content/browser/devtools/devtools_tracing_handler.cc base::Bind(&DevToolsTracingHandler::OnEnd, base 52 content/browser/devtools/devtools_tracing_handler.cc base::Unretained(this))); base 59 content/browser/devtools/devtools_tracing_handler.cc const base::FilePath& path) { base 62 content/browser/devtools/devtools_tracing_handler.cc base::Bind(&ReadFile, path, base 63 content/browser/devtools/devtools_tracing_handler.cc base::Bind(&DevToolsTracingHandler::ReadRecordingResult, base 68 content/browser/devtools/devtools_tracing_handler.cc const scoped_refptr<base::RefCountedString>& trace_data) { base 70 content/browser/devtools/devtools_tracing_handler.cc scoped_ptr<base::Value> trace_value(base::JSONReader::Read( base 72 content/browser/devtools/devtools_tracing_handler.cc base::DictionaryValue* dictionary = NULL; base 75 content/browser/devtools/devtools_tracing_handler.cc base::ListValue* list = NULL; base 81 content/browser/devtools/devtools_tracing_handler.cc base::Value* item_value; base 83 content/browser/devtools/devtools_tracing_handler.cc base::JSONWriter::Write(item_value, &item); base 103 content/browser/devtools/devtools_tracing_handler.cc std::string message = base::StringPrintf( base 117 content/browser/devtools/devtools_tracing_handler.cc base::SplitString(options, ',', &split); base 134 content/browser/devtools/devtools_tracing_handler.cc base::DictionaryValue* params = command->params(); base 147 content/browser/devtools/devtools_tracing_handler.cc base::Bind(&DevToolsTracingHandler::OnTracingStarted, base 162 content/browser/devtools/devtools_tracing_handler.cc base::FilePath(), base 163 content/browser/devtools/devtools_tracing_handler.cc base::Bind(&DevToolsTracingHandler::BeginReadingRecordingResult, base 12 content/browser/devtools/devtools_tracing_handler.h namespace base { base 26 content/browser/devtools/devtools_tracing_handler.h void BeginReadingRecordingResult(const base::FilePath& path); base 27 content/browser/devtools/devtools_tracing_handler.h void ReadRecordingResult(const scoped_refptr<base::RefCountedString>& result); base 38 content/browser/devtools/devtools_tracing_handler.h base::WeakPtrFactory<DevToolsTracingHandler> weak_factory_; base 37 content/browser/devtools/render_view_devtools_agent_host.cc base::LazyInstance<Instances>::Leaky g_instances = LAZY_INSTANCE_INITIALIZER; base 171 content/browser/devtools/render_view_devtools_agent_host.cc DevToolsProtocol::Notifier notifier(base::Bind( base 173 content/browser/devtools/render_view_devtools_agent_host.cc base::Unretained(this))); base 288 content/browser/devtools/render_view_devtools_agent_host.cc base::TERMINATION_STATUS_STILL_RUNNING) base 317 content/browser/devtools/render_view_devtools_agent_host.cc base::TerminationStatus status) { base 319 content/browser/devtools/render_view_devtools_agent_host.cc case base::TERMINATION_STATUS_ABNORMAL_TERMINATION: base 320 content/browser/devtools/render_view_devtools_agent_host.cc case base::TERMINATION_STATUS_PROCESS_WAS_KILLED: base 321 content/browser/devtools/render_view_devtools_agent_host.cc case base::TERMINATION_STATUS_PROCESS_CRASHED: base 323 content/browser/devtools/render_view_devtools_agent_host.cc case base::TERMINATION_STATUS_OOM_PROTECTED: base 73 content/browser/devtools/render_view_devtools_agent_host.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 64 content/browser/devtools/renderer_overrides_handler.cc void ParseGenericInputParams(base::DictionaryValue* params, base 91 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 93 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 96 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 97 content/browser/devtools/renderer_overrides_handler.cc &RendererOverridesHandler::PageDisable, base::Unretained(this))); base 100 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 102 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 105 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 107 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 110 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 112 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 115 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 117 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 120 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 122 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 125 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 127 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 130 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 132 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 135 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 137 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 140 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 142 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 145 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 147 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 150 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 152 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 155 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 157 content/browser/devtools/renderer_overrides_handler.cc base::Unretained(this))); base 181 content/browser/devtools/renderer_overrides_handler.cc if ((base::TimeTicks::Now() - last_frame_time_).InMilliseconds() < base 190 content/browser/devtools/renderer_overrides_handler.cc last_frame_time_ = base::TimeTicks::Now(); base 205 content/browser/devtools/renderer_overrides_handler.cc base::Bind(&RendererOverridesHandler::ScreencastFrameCaptured, base 220 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* params = command->params(); base 250 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* RendererOverridesHandler::CreateScreenshotResponse( base 253 content/browser/devtools/renderer_overrides_handler.cc base::Base64Encode( base 254 content/browser/devtools/renderer_overrides_handler.cc base::StringPiece(reinterpret_cast<const char*>(&png_data[0]), base 258 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* response = new base::DictionaryValue(); base 269 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* params = command->params(); base 270 content/browser/devtools/renderer_overrides_handler.cc base::ListValue* file_list = NULL; base 280 content/browser/devtools/renderer_overrides_handler.cc base::FilePath::StringType file; base 284 content/browser/devtools/renderer_overrides_handler.cc host->GetProcess()->GetID(), base::FilePath(file)); base 302 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* params = command->params(); base 308 content/browser/devtools/renderer_overrides_handler.cc base::string16 prompt_override; base 309 content/browser/devtools/renderer_overrides_handler.cc base::string16* prompt_override_ptr = &prompt_override; base 324 content/browser/devtools/renderer_overrides_handler.cc return command->SuccessResponse(new base::DictionaryValue()); base 334 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* params = command->params(); base 349 content/browser/devtools/renderer_overrides_handler.cc return command->SuccessResponse(new base::DictionaryValue()); base 380 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* result = new base::DictionaryValue(); base 385 content/browser/devtools/renderer_overrides_handler.cc base::ListValue* entries = new base::ListValue(); base 388 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* entry_value = new base::DictionaryValue(); base 414 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* params = command->params(); base 428 content/browser/devtools/renderer_overrides_handler.cc return command->SuccessResponse(new base::DictionaryValue()); base 461 content/browser/devtools/renderer_overrides_handler.cc base::ThreadTaskRunnerHandle::Get(), base 462 content/browser/devtools/renderer_overrides_handler.cc base::Bind(&RendererOverridesHandler::ScreenshotCaptured, base 469 content/browser/devtools/renderer_overrides_handler.cc scoped_refptr<base::RefCountedBytes> png_data) { base 482 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* result = new base::DictionaryValue(); base 507 content/browser/devtools/renderer_overrides_handler.cc last_frame_time_ = base::TimeTicks(); base 521 content/browser/devtools/renderer_overrides_handler.cc base::MessageLoop::current()->PostDelayedTask( base 523 content/browser/devtools/renderer_overrides_handler.cc base::Bind(&RendererOverridesHandler::InnerSwapCompositorFrame, base 525 content/browser/devtools/renderer_overrides_handler.cc base::TimeDelta::FromMilliseconds(kFrameRateThresholdMs)); base 556 content/browser/devtools/renderer_overrides_handler.cc base::Base64Encode( base 557 content/browser/devtools/renderer_overrides_handler.cc base::StringPiece(reinterpret_cast<char*>(&data[0]), data.size()), base 560 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* response = new base::DictionaryValue(); base 566 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* response_metadata = new base::DictionaryValue(); base 587 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* viewport = new base::DictionaryValue(); base 610 content/browser/devtools/renderer_overrides_handler.cc typedef base::Callback<void(scoped_ptr<base::DictionaryValue>)> base 614 content/browser/devtools/renderer_overrides_handler.cc scoped_ptr<base::DictionaryValue> quota, base 615 content/browser/devtools/renderer_overrides_handler.cc scoped_ptr<base::DictionaryValue> usage, base 618 content/browser/devtools/renderer_overrides_handler.cc scoped_ptr<base::DictionaryValue> response_data(new base::DictionaryValue); base 626 content/browser/devtools/renderer_overrides_handler.cc base::Bind(callback, base::Passed(&response_data))); base 630 content/browser/devtools/renderer_overrides_handler.cc base::ListValue* list, base 632 content/browser/devtools/renderer_overrides_handler.cc const base::Closure& barrier, base 634 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* usage_item = new base::DictionaryValue; base 642 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* dictionary, base 644 content/browser/devtools/renderer_overrides_handler.cc const base::Closure& barrier, base 653 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* quota, base 655 content/browser/devtools/renderer_overrides_handler.cc const base::Closure& barrier, base 699 content/browser/devtools/renderer_overrides_handler.cc scoped_ptr<base::DictionaryValue> quota(new base::DictionaryValue); base 700 content/browser/devtools/renderer_overrides_handler.cc scoped_ptr<base::DictionaryValue> usage(new base::DictionaryValue); base 710 content/browser/devtools/renderer_overrides_handler.cc std::map<quota::StorageType, base::ListValue*> storage_type_lists; base 716 content/browser/devtools/renderer_overrides_handler.cc storage_type_lists[type] = new base::ListValue; base 722 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* quota_raw_ptr = quota.get(); base 725 content/browser/devtools/renderer_overrides_handler.cc base::Closure barrier = BarrierClosure( base 727 content/browser/devtools/renderer_overrides_handler.cc base::Bind(&QueryUsageAndQuotaCompletedOnIOThread, base 728 content/browser/devtools/renderer_overrides_handler.cc base::Passed("a), base 729 content/browser/devtools/renderer_overrides_handler.cc base::Passed(&usage), base 736 content/browser/devtools/renderer_overrides_handler.cc base::Bind(&DidGetUsageAndQuotaForWebApps, quota_raw_ptr, base 741 content/browser/devtools/renderer_overrides_handler.cc base::Bind(&DidGetQuotaValue, quota_raw_ptr, base 746 content/browser/devtools/renderer_overrides_handler.cc std::map<quota::StorageType, base::ListValue*>::const_iterator iter; base 756 content/browser/devtools/renderer_overrides_handler.cc base::Bind(&DidGetHostUsage, (*iter).second, base 768 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* params = command->params(); base 777 content/browser/devtools/renderer_overrides_handler.cc ResponseCallback callback = base::Bind( base 788 content/browser/devtools/renderer_overrides_handler.cc base::Bind( base 799 content/browser/devtools/renderer_overrides_handler.cc scoped_ptr<base::DictionaryValue> response_data) { base 806 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* params = new base::DictionaryValue(); base 818 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* params = command->params(); base 895 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* params = command->params(); base 47 content/browser/devtools/renderer_overrides_handler.h base::DictionaryValue* CreateScreenshotResponse( base 81 content/browser/devtools/renderer_overrides_handler.h scoped_refptr<base::RefCountedBytes> png_data); base 92 content/browser/devtools/renderer_overrides_handler.h scoped_ptr<base::DictionaryValue> response_data); base 105 content/browser/devtools/renderer_overrides_handler.h base::TimeTicks last_frame_time_; base 107 content/browser/devtools/renderer_overrides_handler.h base::WeakPtrFactory<RendererOverridesHandler> weak_factory_; base 21 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::DictionaryValue* params) { base 29 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::DictionaryValue* params) { base 36 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::MessageLoop::current()->Run(); base 40 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::Value* value = 0; base 47 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::ListValue* list; base 52 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::DictionaryValue* item; base 64 content/browser/devtools/renderer_overrides_handler_browsertest.cc scoped_ptr<base::DictionaryValue> result_; base 72 content/browser/devtools/renderer_overrides_handler_browsertest.cc handler->SetNotifier(base::Bind( base 73 content/browser/devtools/renderer_overrides_handler_browsertest.cc &RendererOverridesHandlerTest::OnMessageSent, base::Unretained(this))); base 78 content/browser/devtools/renderer_overrides_handler_browsertest.cc scoped_ptr<base::DictionaryValue> root( base 79 content/browser/devtools/renderer_overrides_handler_browsertest.cc static_cast<base::DictionaryValue*>(base::JSONReader::Read(message))); base 80 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::DictionaryValue* result; base 83 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::MessageLoop::current()->QuitNow(); base 88 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::DictionaryValue* params = new base::DictionaryValue(); base 75 content/browser/devtools/shared_worker_devtools_manager.h typedef base::ScopedPtrHashMap<WorkerId, WorkerInfo> WorkerInfoMap; base 90 content/browser/devtools/shared_worker_devtools_manager_unittest.cc base::MessageLoopForIO message_loop_; base 101 content/browser/devtools/shared_worker_devtools_manager_unittest.cc base::string16(), base 102 content/browser/devtools/shared_worker_devtools_manager_unittest.cc base::string16(), base 181 content/browser/devtools/shared_worker_devtools_manager_unittest.cc base::string16(), base 182 content/browser/devtools/shared_worker_devtools_manager_unittest.cc base::string16(), base 187 content/browser/devtools/shared_worker_devtools_manager_unittest.cc base::string16(), base 188 content/browser/devtools/shared_worker_devtools_manager_unittest.cc base::string16(), base 76 content/browser/devtools/tethering_handler.cc base::Bind(&SocketPump::OnClientRead, base::Unretained(this))); base 108 content/browser/devtools/tethering_handler.cc base::Bind(&SocketPump::OnClientRead, base::Unretained(this))); base 135 content/browser/devtools/tethering_handler.cc base::Bind(&SocketPump::OnClientWrite, base::Unretained(this))); base 214 content/browser/devtools/tethering_handler.cc base::Bind(&BoundSocket::OnAccepted, base::Unretained(this))); base 248 content/browser/devtools/tethering_handler.cc base::Bind(&TetheringHandler::OnBind, base 249 content/browser/devtools/tethering_handler.cc base::Unretained(this))); base 251 content/browser/devtools/tethering_handler.cc base::Bind(&TetheringHandler::OnUnbind, base 252 content/browser/devtools/tethering_handler.cc base::Unretained(this))); base 261 content/browser/devtools/tethering_handler.cc base::DictionaryValue* params = new base::DictionaryValue(); base 268 content/browser/devtools/tethering_handler.cc base::DictionaryValue* params = command->params(); base 44 content/browser/devtools/worker_devtools_manager.cc base::LazyInstance<AgentHosts>::Leaky g_agent_map = LAZY_INSTANCE_INITIALIZER; base 45 content/browser/devtools/worker_devtools_manager.cc base::LazyInstance<AgentHosts>::Leaky g_orphan_map = LAZY_INSTANCE_INITIALIZER; base 52 content/browser/devtools/worker_devtools_manager.cc const base::string16& name) base 58 content/browser/devtools/worker_devtools_manager.cc base::string16 worker_name; base 80 content/browser/devtools/worker_devtools_manager.cc base::Bind( base 130 content/browser/devtools/worker_devtools_manager.cc base::Bind( base 134 content/browser/devtools/worker_devtools_manager.cc base::Owned(message))); base 188 content/browser/devtools/worker_devtools_manager.cc base::Bind(&RemoveInspectedWorkerDataOnIOThread, id)); base 202 content/browser/devtools/worker_devtools_manager.cc const base::string16& name) base 210 content/browser/devtools/worker_devtools_manager.cc base::string16 worker_name; base 272 content/browser/devtools/worker_devtools_manager.cc base::Bind(&DetachedClientHosts::WorkerDestroyed, worker_id)); base 284 content/browser/devtools/worker_devtools_manager.cc base::Bind( base 361 content/browser/devtools/worker_devtools_manager.cc base::Bind( base 373 content/browser/devtools/worker_devtools_manager.cc base::Bind( base 425 content/browser/devtools/worker_devtools_manager.cc base::Bind( base 37 content/browser/dom_storage/dom_storage_area.cc const base::FilePath::CharType DOMStorageArea::kDatabaseFileExtension[] = base 41 content/browser/dom_storage/dom_storage_area.cc base::FilePath DOMStorageArea::DatabaseFileNameFromOrigin(const GURL& origin) { base 46 content/browser/dom_storage/dom_storage_area.cc return base::FilePath().Append(kDatabaseFileExtension). base 51 content/browser/dom_storage/dom_storage_area.cc GURL DOMStorageArea::OriginFromDatabaseFileName(const base::FilePath& name) { base 59 content/browser/dom_storage/dom_storage_area.cc const GURL& origin, const base::FilePath& directory, base 70 content/browser/dom_storage/dom_storage_area.cc base::FilePath path = directory.Append(DatabaseFileNameFromOrigin(origin_)); base 117 content/browser/dom_storage/dom_storage_area.cc base::NullableString16 DOMStorageArea::Key(unsigned index) { base 119 content/browser/dom_storage/dom_storage_area.cc return base::NullableString16(); base 124 content/browser/dom_storage/dom_storage_area.cc base::NullableString16 DOMStorageArea::GetItem(const base::string16& key) { base 126 content/browser/dom_storage/dom_storage_area.cc return base::NullableString16(); base 131 content/browser/dom_storage/dom_storage_area.cc bool DOMStorageArea::SetItem(const base::string16& key, base 132 content/browser/dom_storage/dom_storage_area.cc const base::string16& value, base 133 content/browser/dom_storage/dom_storage_area.cc base::NullableString16* old_value) { base 142 content/browser/dom_storage/dom_storage_area.cc commit_batch->changed_values[key] = base::NullableString16(value, false); base 147 content/browser/dom_storage/dom_storage_area.cc bool DOMStorageArea::RemoveItem(const base::string16& key, base 148 content/browser/dom_storage/dom_storage_area.cc base::string16* old_value) { base 157 content/browser/dom_storage/dom_storage_area.cc commit_batch->changed_values[key] = base::NullableString16(); base 279 content/browser/dom_storage/dom_storage_area.cc base::Bind(&DOMStorageArea::ShutdownInCommitSequence, this)); base 289 content/browser/dom_storage/dom_storage_area.cc base::TimeTicks before = base::TimeTicks::Now(); base 294 content/browser/dom_storage/dom_storage_area.cc base::TimeDelta time_to_import = base::TimeTicks::Now() - before; base 331 content/browser/dom_storage/dom_storage_area.cc base::Bind(&DOMStorageArea::OnCommitTimer, this), base 332 content/browser/dom_storage/dom_storage_area.cc base::TimeDelta::FromSeconds(kCommitTimerSeconds)); base 355 content/browser/dom_storage/dom_storage_area.cc base::Bind(&DOMStorageArea::CommitChanges, this, base 356 content/browser/dom_storage/dom_storage_area.cc base::Owned(commit_batch_.release()))); base 370 content/browser/dom_storage/dom_storage_area.cc base::Bind(&DOMStorageArea::OnCommitComplete, this)); base 383 content/browser/dom_storage/dom_storage_area.cc base::Bind(&DOMStorageArea::OnCommitTimer, this), base 384 content/browser/dom_storage/dom_storage_area.cc base::TimeDelta::FromSeconds(kCommitTimerSeconds)); base 29 content/browser/dom_storage/dom_storage_area.h : public base::RefCountedThreadSafe<DOMStorageArea> { base 32 content/browser/dom_storage/dom_storage_area.h static const base::FilePath::CharType kDatabaseFileExtension[]; base 33 content/browser/dom_storage/dom_storage_area.h static base::FilePath DatabaseFileNameFromOrigin(const GURL& origin); base 34 content/browser/dom_storage/dom_storage_area.h static GURL OriginFromDatabaseFileName(const base::FilePath& file_name); base 38 content/browser/dom_storage/dom_storage_area.h const base::FilePath& directory, base 55 content/browser/dom_storage/dom_storage_area.h base::NullableString16 Key(unsigned index); base 56 content/browser/dom_storage/dom_storage_area.h base::NullableString16 GetItem(const base::string16& key); base 57 content/browser/dom_storage/dom_storage_area.h bool SetItem(const base::string16& key, const base::string16& value, base 58 content/browser/dom_storage/dom_storage_area.h base::NullableString16* old_value); base 59 content/browser/dom_storage/dom_storage_area.h bool RemoveItem(const base::string16& key, base::string16* old_value); base 96 content/browser/dom_storage/dom_storage_area.h friend class base::RefCountedThreadSafe<DOMStorageArea>; base 125 content/browser/dom_storage/dom_storage_area.h base::FilePath directory_; base 21 content/browser/dom_storage/dom_storage_area_unittest.cc using base::ASCIIToUTF16; base 36 content/browser/dom_storage/dom_storage_area_unittest.cc const base::string16 kKey; base 37 content/browser/dom_storage/dom_storage_area_unittest.cc const base::string16 kValue; base 38 content/browser/dom_storage/dom_storage_area_unittest.cc const base::string16 kKey2; base 39 content/browser/dom_storage/dom_storage_area_unittest.cc const base::string16 kValue2; base 50 content/browser/dom_storage/dom_storage_area_unittest.cc base::NullableString16 old_value; base 62 content/browser/dom_storage/dom_storage_area_unittest.cc const base::string16 kKey(ASCIIToUTF16("key")); base 63 content/browser/dom_storage/dom_storage_area_unittest.cc const base::string16 kValue(ASCIIToUTF16("value")); base 72 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop message_loop_; base 78 content/browser/dom_storage/dom_storage_area_unittest.cc base::string16 old_value; base 79 content/browser/dom_storage/dom_storage_area_unittest.cc base::NullableString16 old_nullable_value; base 128 content/browser/dom_storage/dom_storage_area_unittest.cc base::ScopedTempDir temp_dir; base 130 content/browser/dom_storage/dom_storage_area_unittest.cc const base::FilePath kExpectedOriginFilePath = temp_dir.path().Append( base 136 content/browser/dom_storage/dom_storage_area_unittest.cc new DOMStorageArea(kOrigin, base::FilePath(), NULL)); base 139 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_FALSE(base::PathExists(kExpectedOriginFilePath)); base 151 content/browser/dom_storage/dom_storage_area_unittest.cc base::NullableString16 old_value; base 157 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_FALSE(base::PathExists(kExpectedOriginFilePath)); base 165 content/browser/dom_storage/dom_storage_area_unittest.cc new MockDOMStorageTaskRunner(base::MessageLoopProxy::current().get()))); base 180 content/browser/dom_storage/dom_storage_area_unittest.cc base::NullableString16 old_value; base 187 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 206 content/browser/dom_storage/dom_storage_area_unittest.cc base::ScopedTempDir temp_dir; base 212 content/browser/dom_storage/dom_storage_area_unittest.cc new MockDOMStorageTaskRunner(base::MessageLoopProxy::current().get()))); base 223 content/browser/dom_storage/dom_storage_area_unittest.cc base::NullableString16 old_value; base 236 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 252 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 268 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->PostTask( base 270 content/browser/dom_storage/dom_storage_area_unittest.cc base::Bind(&DOMStorageAreaTest::InjectedCommitSequencingTask, base 271 content/browser/dom_storage/dom_storage_area_unittest.cc base::Unretained(this), base 273 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 285 content/browser/dom_storage/dom_storage_area_unittest.cc base::ScopedTempDir temp_dir; base 290 content/browser/dom_storage/dom_storage_area_unittest.cc new MockDOMStorageTaskRunner(base::MessageLoopProxy::current().get()))); base 298 content/browser/dom_storage/dom_storage_area_unittest.cc base::NullableString16 old_value; base 304 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 312 content/browser/dom_storage/dom_storage_area_unittest.cc base::ScopedTempDir temp_dir; base 317 content/browser/dom_storage/dom_storage_area_unittest.cc new MockDOMStorageTaskRunner(base::MessageLoopProxy::current().get()))); base 320 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath db_file_path = static_cast<LocalStorageDatabaseAdapter*>( base 322 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath db_journal_file_path = base 327 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_FALSE(base::PathExists(db_file_path)); base 330 content/browser/dom_storage/dom_storage_area_unittest.cc base::NullableString16 old_value; base 332 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 333 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_TRUE(base::PathExists(db_file_path)); base 336 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_FALSE(base::PathExists(db_file_path)); base 337 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_FALSE(base::PathExists(db_journal_file_path)); base 347 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 349 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_FALSE(base::PathExists(db_file_path)); base 354 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 355 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_TRUE(base::PathExists(db_file_path)); base 362 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 366 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_TRUE(base::PathExists(db_file_path)); base 368 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 369 content/browser/dom_storage/dom_storage_area_unittest.cc EXPECT_FALSE(base::PathExists(db_file_path)); base 373 content/browser/dom_storage/dom_storage_area_unittest.cc base::ScopedTempDir temp_dir; base 378 content/browser/dom_storage/dom_storage_area_unittest.cc new MockDOMStorageTaskRunner(base::MessageLoopProxy::current().get()))); base 399 content/browser/dom_storage/dom_storage_area_unittest.cc base::NullableString16 old_value; base 412 content/browser/dom_storage/dom_storage_area_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 448 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath file_name = base 449 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath().AppendASCII(kCases[i].file_name); base 450 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath journal_file_name = base 451 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath().AppendASCII(kCases[i].journal_file_name); base 462 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath parent = base::FilePath().AppendASCII("a").AppendASCII("b"); base 467 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath().AppendASCII("-journal"), base 468 content/browser/dom_storage/dom_storage_area_unittest.cc DOMStorageDatabase::GetJournalFilePath(base::FilePath())); base 470 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath().AppendASCII(".extensiononly-journal"), base 472 content/browser/dom_storage/dom_storage_area_unittest.cc base::FilePath().AppendASCII(".extensiononly"))); base 30 content/browser/dom_storage/dom_storage_context_impl.cc const base::FilePath& localstorage_directory, base 31 content/browser/dom_storage/dom_storage_context_impl.cc const base::FilePath& sessionstorage_directory, base 58 content/browser/dom_storage/dom_storage_context_impl.cc base::Bind(&SessionStorageDatabase::Release, base 59 content/browser/dom_storage/dom_storage_context_impl.cc base::Unretained(to_release))); base 71 content/browser/dom_storage/dom_storage_context_impl.cc if (!base::CreateDirectory(localstorage_directory_)) { base 74 content/browser/dom_storage/dom_storage_context_impl.cc localstorage_directory_ = base::FilePath(); base 92 content/browser/dom_storage/dom_storage_context_impl.cc base::FileEnumerator enumerator(localstorage_directory_, false, base 93 content/browser/dom_storage/dom_storage_context_impl.cc base::FileEnumerator::FILES); base 94 content/browser/dom_storage/dom_storage_context_impl.cc for (base::FilePath path = enumerator.Next(); !path.empty(); base 100 content/browser/dom_storage/dom_storage_context_impl.cc base::FileEnumerator::FileInfo find_info = enumerator.GetInfo(); base 188 content/browser/dom_storage/dom_storage_context_impl.cc base::Bind(&DOMStorageContextImpl::ClearSessionOnlyOrigins, this)); base 203 content/browser/dom_storage/dom_storage_context_impl.cc const base::string16& key, base 204 content/browser/dom_storage/dom_storage_context_impl.cc const base::string16& new_value, base 205 content/browser/dom_storage/dom_storage_context_impl.cc const base::NullableString16& old_value, base 214 content/browser/dom_storage/dom_storage_context_impl.cc const base::string16& key, base 215 content/browser/dom_storage/dom_storage_context_impl.cc const base::string16& old_value, base 241 content/browser/dom_storage/dom_storage_context_impl.cc std::string guid = base::GenerateGUID(); base 297 content/browser/dom_storage/dom_storage_context_impl.cc base::Bind( base 298 content/browser/dom_storage/dom_storage_context_impl.cc base::IgnoreResult(&SessionStorageDatabase::DeleteNamespace), base 355 content/browser/dom_storage/dom_storage_context_impl.cc base::FilePath database_file_path = localstorage_directory_.Append( base 386 content/browser/dom_storage/dom_storage_context_impl.cc FROM_HERE, base::Bind(&DOMStorageContextImpl::FindUnusedNamespaces, base 388 content/browser/dom_storage/dom_storage_context_impl.cc base::TimeDelta::FromSeconds(kSessionStoraceScavengingSeconds)); base 405 content/browser/dom_storage/dom_storage_context_impl.cc base::Bind( base 429 content/browser/dom_storage/dom_storage_context_impl.cc FROM_HERE, base::Bind( base 432 content/browser/dom_storage/dom_storage_context_impl.cc base::TimeDelta::FromSeconds(kSessionStoraceScavengingSeconds)); base 441 content/browser/dom_storage/dom_storage_context_impl.cc base::Bind( base 454 content/browser/dom_storage/dom_storage_context_impl.cc FROM_HERE, base::Bind( base 457 content/browser/dom_storage/dom_storage_context_impl.cc base::TimeDelta::FromSeconds(kSessionStoraceScavengingSeconds)); base 24 content/browser/dom_storage/dom_storage_context_impl.h namespace base { base 63 content/browser/dom_storage/dom_storage_context_impl.h : public base::RefCountedThreadSafe<DOMStorageContextImpl> { base 72 content/browser/dom_storage/dom_storage_context_impl.h const base::string16& key, base 73 content/browser/dom_storage/dom_storage_context_impl.h const base::string16& new_value, base 74 content/browser/dom_storage/dom_storage_context_impl.h const base::NullableString16& old_value, base 78 content/browser/dom_storage/dom_storage_context_impl.h const base::string16& key, base 79 content/browser/dom_storage/dom_storage_context_impl.h const base::string16& old_value, base 95 content/browser/dom_storage/dom_storage_context_impl.h const base::FilePath& localstorage_directory, base 96 content/browser/dom_storage/dom_storage_context_impl.h const base::FilePath& sessionstorage_directory, base 102 content/browser/dom_storage/dom_storage_context_impl.h const base::FilePath& localstorage_directory() { base 108 content/browser/dom_storage/dom_storage_context_impl.h const base::FilePath& sessionstorage_directory() { base 142 content/browser/dom_storage/dom_storage_context_impl.h const base::string16& key, base 143 content/browser/dom_storage/dom_storage_context_impl.h const base::string16& new_value, base 144 content/browser/dom_storage/dom_storage_context_impl.h const base::NullableString16& old_value, base 148 content/browser/dom_storage/dom_storage_context_impl.h const base::string16& key, base 149 content/browser/dom_storage/dom_storage_context_impl.h const base::string16& old_value, base 193 content/browser/dom_storage/dom_storage_context_impl.h friend class base::RefCountedThreadSafe<DOMStorageContextImpl>; base 215 content/browser/dom_storage/dom_storage_context_impl.h base::FilePath localstorage_directory_; base 220 content/browser/dom_storage/dom_storage_context_impl.h base::FilePath sessionstorage_directory_; base 230 content/browser/dom_storage/dom_storage_context_impl.h base::AtomicSequenceNumber session_id_sequence_; base 23 content/browser/dom_storage/dom_storage_context_impl_unittest.cc using base::ASCIIToUTF16; base 38 content/browser/dom_storage/dom_storage_context_impl_unittest.cc const base::string16 kKey; base 39 content/browser/dom_storage/dom_storage_context_impl_unittest.cc const base::string16 kValue; base 47 content/browser/dom_storage/dom_storage_context_impl_unittest.cc new MockDOMStorageTaskRunner(base::MessageLoopProxy::current().get()); base 49 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::FilePath(), base 55 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 61 content/browser/dom_storage/dom_storage_context_impl_unittest.cc new DOMStorageContextImpl(temp_dir_.path(), base::FilePath(), base 70 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::MessageLoop message_loop_; base 71 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::ScopedTempDir temp_dir_; base 83 content/browser/dom_storage/dom_storage_context_impl_unittest.cc EXPECT_EQ(base::FilePath(), context_->sessionstorage_directory()); base 106 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::NullableString16 old_value; base 111 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 115 content/browser/dom_storage/dom_storage_context_impl_unittest.cc context_ = new DOMStorageContextImpl(temp_dir_.path(), base::FilePath(), base 121 content/browser/dom_storage/dom_storage_context_impl_unittest.cc EXPECT_EQ(base::Time(), infos[0].last_modified); base 127 content/browser/dom_storage/dom_storage_context_impl_unittest.cc EXPECT_NE(base::Time(), infos[0].last_modified); base 137 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::NullableString16 old_value; base 144 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 156 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::NullableString16 old_value; base 162 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 213 content/browser/dom_storage/dom_storage_context_impl_unittest.cc const base::string16 kKey(ASCIIToUTF16("foo")); base 214 content/browser/dom_storage/dom_storage_context_impl_unittest.cc const base::string16 kValue(ASCIIToUTF16("bar")); base 215 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::NullableString16 old_nullable_value; base 222 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 233 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::NullableString16 read_value; base 246 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 262 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 274 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::NullableString16 old_value; base 277 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::NullableString16 read_value = area1->GetItem(kKey); base 296 content/browser/dom_storage/dom_storage_context_impl_unittest.cc const base::string16 kValue2(ASCIIToUTF16("value2")); base 325 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::NullableString16 old_value; base 326 content/browser/dom_storage/dom_storage_context_impl_unittest.cc const base::string16 kKey2(ASCIIToUTF16("key2")); base 327 content/browser/dom_storage/dom_storage_context_impl_unittest.cc const base::string16 kKey2Value(ASCIIToUTF16("key2value")); base 349 content/browser/dom_storage/dom_storage_context_impl_unittest.cc const base::string16 kValue2(ASCIIToUTF16("value2")); base 353 content/browser/dom_storage/dom_storage_context_impl_unittest.cc txn.value = base::NullableString16(kValue2, false); base 369 content/browser/dom_storage/dom_storage_context_impl_unittest.cc base::NullableString16 read_value = target_ns_area->GetItem(kKey); base 32 content/browser/dom_storage/dom_storage_context_wrapper.cc base::MessageLoopProxy* reply_loop, base 40 content/browser/dom_storage/dom_storage_context_wrapper.cc base::Bind(&InvokeLocalStorageUsageCallbackHelper, base 41 content/browser/dom_storage/dom_storage_context_wrapper.cc callback, base::Owned(infos))); base 51 content/browser/dom_storage/dom_storage_context_wrapper.cc base::MessageLoopProxy* reply_loop, base 59 content/browser/dom_storage/dom_storage_context_wrapper.cc base::Bind(&InvokeSessionStorageUsageCallbackHelper, base 60 content/browser/dom_storage/dom_storage_context_wrapper.cc callback, base::Owned(infos))); base 66 content/browser/dom_storage/dom_storage_context_wrapper.cc const base::FilePath& data_path, base 68 content/browser/dom_storage/dom_storage_context_wrapper.cc base::SequencedWorkerPool* worker_pool = BrowserThread::GetBlockingPool(); base 92 content/browser/dom_storage/dom_storage_context_wrapper.cc base::Bind(&GetLocalStorageUsageHelper, base 93 content/browser/dom_storage/dom_storage_context_wrapper.cc base::MessageLoopProxy::current(), base 104 content/browser/dom_storage/dom_storage_context_wrapper.cc base::Bind(&GetSessionStorageUsageHelper, base 105 content/browser/dom_storage/dom_storage_context_wrapper.cc base::MessageLoopProxy::current(), base 115 content/browser/dom_storage/dom_storage_context_wrapper.cc base::Bind(&DOMStorageContextImpl::DeleteLocalStorage, context_, origin)); base 124 content/browser/dom_storage/dom_storage_context_wrapper.cc base::Bind(&DOMStorageContextImpl::DeleteSessionStorage, base 145 content/browser/dom_storage/dom_storage_context_wrapper.cc base::Bind(&DOMStorageContextImpl::StartScavengingUnusedSessionStorage, base 154 content/browser/dom_storage/dom_storage_context_wrapper.cc base::Bind(&DOMStorageContextImpl::SetForceKeepSessionState, context_)); base 162 content/browser/dom_storage/dom_storage_context_wrapper.cc base::Bind(&DOMStorageContextImpl::Shutdown, context_)); base 12 content/browser/dom_storage/dom_storage_context_wrapper.h namespace base { base 28 content/browser/dom_storage/dom_storage_context_wrapper.h public base::RefCountedThreadSafe<DOMStorageContextWrapper> { base 31 content/browser/dom_storage/dom_storage_context_wrapper.h DOMStorageContextWrapper(const base::FilePath& data_path, base 59 content/browser/dom_storage/dom_storage_context_wrapper.h friend class base::RefCountedThreadSafe<DOMStorageContextWrapper>; base 16 content/browser/dom_storage/dom_storage_database.cc const base::FilePath::CharType kJournal[] = FILE_PATH_LITERAL("-journal"); base 23 content/browser/dom_storage/dom_storage_database.cc base::FilePath DOMStorageDatabase::GetJournalFilePath( base 24 content/browser/dom_storage/dom_storage_database.cc const base::FilePath& database_path) { base 25 content/browser/dom_storage/dom_storage_database.cc base::FilePath::StringType journal_file_name = base 30 content/browser/dom_storage/dom_storage_database.cc DOMStorageDatabase::DOMStorageDatabase(const base::FilePath& file_path) base 65 content/browser/dom_storage/dom_storage_database.cc base::string16 key = statement.ColumnString16(0); base 66 content/browser/dom_storage/dom_storage_database.cc base::string16 value; base 68 content/browser/dom_storage/dom_storage_database.cc (*result)[key] = base::NullableString16(value, false); base 79 content/browser/dom_storage/dom_storage_database.cc !base::PathExists(file_path_); base 98 content/browser/dom_storage/dom_storage_database.cc base::string16 key = it->first; base 99 content/browser/dom_storage/dom_storage_database.cc base::NullableString16 value = it->second; base 110 content/browser/dom_storage/dom_storage_database.cc value.string().length() * sizeof(base::char16)); base 141 content/browser/dom_storage/dom_storage_database.cc bool database_exists = base::PathExists(file_path_); base 245 content/browser/dom_storage/dom_storage_database.cc DCHECK(base::PathExists(file_path_)); base 254 content/browser/dom_storage/dom_storage_database.cc if (!base::DirectoryExists(file_path_) && base 276 content/browser/dom_storage/dom_storage_database.cc base::string16 key = statement.ColumnString16(0); base 277 content/browser/dom_storage/dom_storage_database.cc base::NullableString16 value(statement.ColumnString16(1), false); base 25 content/browser/dom_storage/dom_storage_database.h static base::FilePath GetJournalFilePath(const base::FilePath& database_path); base 27 content/browser/dom_storage/dom_storage_database.h explicit DOMStorageDatabase(const base::FilePath& file_path); base 44 content/browser/dom_storage/dom_storage_database.h const base::FilePath& file_path() const { return file_path_; } base 110 content/browser/dom_storage/dom_storage_database.h const base::FilePath file_path_; base 17 content/browser/dom_storage/dom_storage_database_unittest.cc using base::ASCIIToUTF16; base 61 content/browser/dom_storage/dom_storage_database_unittest.cc const base::string16& key, base 62 content/browser/dom_storage/dom_storage_database_unittest.cc const base::string16& value) { base 79 content/browser/dom_storage/dom_storage_database_unittest.cc base::string16 key = it->first; base 80 content/browser/dom_storage/dom_storage_database_unittest.cc base::NullableString16 value = it->second; base 81 content/browser/dom_storage/dom_storage_database_unittest.cc base::NullableString16 expected_value = expected.find(key)->second; base 88 content/browser/dom_storage/dom_storage_database_unittest.cc base::string16 kCannedKeys[] = { base 94 content/browser/dom_storage/dom_storage_database_unittest.cc base::NullableString16 kCannedValues[] = { base 95 content/browser/dom_storage/dom_storage_database_unittest.cc base::NullableString16(ASCIIToUTF16("123"), false), base 96 content/browser/dom_storage/dom_storage_database_unittest.cc base::NullableString16(ASCIIToUTF16("Google"), false), base 97 content/browser/dom_storage/dom_storage_database_unittest.cc base::NullableString16(ASCIIToUTF16("18-01-2012"), false), base 98 content/browser/dom_storage/dom_storage_database_unittest.cc base::NullableString16(base::string16(), false) base 115 content/browser/dom_storage/dom_storage_database_unittest.cc base::ScopedTempDir temp_dir; base 117 content/browser/dom_storage/dom_storage_database_unittest.cc base::FilePath file_name = base 129 content/browser/dom_storage/dom_storage_database_unittest.cc EXPECT_TRUE(base::PathExists(file_name)); base 140 content/browser/dom_storage/dom_storage_database_unittest.cc EXPECT_TRUE(base::PathExists(file_name)); base 147 content/browser/dom_storage/dom_storage_database_unittest.cc EXPECT_FALSE(base::PathExists(file_name)); base 157 content/browser/dom_storage/dom_storage_database_unittest.cc EXPECT_TRUE(base::PathExists(file_name)); base 164 content/browser/dom_storage/dom_storage_database_unittest.cc it->second = base::NullableString16(); base 167 content/browser/dom_storage/dom_storage_database_unittest.cc EXPECT_FALSE(base::PathExists(file_name)); base 173 content/browser/dom_storage/dom_storage_database_unittest.cc base::ScopedTempDir temp_dir; base 175 content/browser/dom_storage/dom_storage_database_unittest.cc base::FilePath file_name = base 186 content/browser/dom_storage/dom_storage_database_unittest.cc base::NullableString16(ASCIIToUTF16("value"), false); base 222 content/browser/dom_storage/dom_storage_database_unittest.cc base::ScopedTempDir temp_dir; base 224 content/browser/dom_storage/dom_storage_database_unittest.cc base::FilePath file_name = base 259 content/browser/dom_storage/dom_storage_database_unittest.cc base::NullableString16(ASCIIToUTF16("test"), false); base 270 content/browser/dom_storage/dom_storage_database_unittest.cc const base::string16 kCannedKey = ASCIIToUTF16("foo"); base 271 content/browser/dom_storage/dom_storage_database_unittest.cc const base::NullableString16 kCannedValue(ASCIIToUTF16("bar"), false); base 292 content/browser/dom_storage/dom_storage_database_unittest.cc const base::string16 kCannedKey = ASCIIToUTF16("test"); base 293 content/browser/dom_storage/dom_storage_database_unittest.cc const base::NullableString16 kCannedValue(ASCIIToUTF16("data"), false); base 304 content/browser/dom_storage/dom_storage_database_unittest.cc values[kCannedKey] = base::NullableString16(); base 312 content/browser/dom_storage/dom_storage_database_unittest.cc base::FilePath webcore_database; base 313 content/browser/dom_storage/dom_storage_database_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &webcore_database); base 320 content/browser/dom_storage/dom_storage_database_unittest.cc ASSERT_TRUE(base::PathExists(webcore_database)); base 343 content/browser/dom_storage/dom_storage_database_unittest.cc base::ScopedTempDir temp_dir; base 345 content/browser/dom_storage/dom_storage_database_unittest.cc base::FilePath file_name = base 349 content/browser/dom_storage/dom_storage_database_unittest.cc base::WriteFile(file_name, kData, strlen(kData)); base 389 content/browser/dom_storage/dom_storage_database_unittest.cc EXPECT_TRUE(base::PathExists(temp_dir.path())); base 81 content/browser/dom_storage/dom_storage_host.cc base::NullableString16 DOMStorageHost::GetAreaKey(int connection_id, base 85 content/browser/dom_storage/dom_storage_host.cc return base::NullableString16(); base 89 content/browser/dom_storage/dom_storage_host.cc base::NullableString16 DOMStorageHost::GetAreaItem(int connection_id, base 90 content/browser/dom_storage/dom_storage_host.cc const base::string16& key) { base 93 content/browser/dom_storage/dom_storage_host.cc return base::NullableString16(); base 98 content/browser/dom_storage/dom_storage_host.cc int connection_id, const base::string16& key, base 99 content/browser/dom_storage/dom_storage_host.cc const base::string16& value, const GURL& page_url, base 100 content/browser/dom_storage/dom_storage_host.cc base::NullableString16* old_value) { base 111 content/browser/dom_storage/dom_storage_host.cc base::NullableString16(value, false)); base 116 content/browser/dom_storage/dom_storage_host.cc int connection_id, const base::string16& key, base 117 content/browser/dom_storage/dom_storage_host.cc const base::NullableString16& value) { base 127 content/browser/dom_storage/dom_storage_host.cc int connection_id, const base::string16& key, const GURL& page_url, base 128 content/browser/dom_storage/dom_storage_host.cc base::string16* old_value) { base 137 content/browser/dom_storage/dom_storage_host.cc area->origin(), page_url, key, base::NullableString16()); base 150 content/browser/dom_storage/dom_storage_host.cc area->origin(), page_url, base::string16(), base 151 content/browser/dom_storage/dom_storage_host.cc base::NullableString16()); base 201 content/browser/dom_storage/dom_storage_host.cc const base::string16& key, base 202 content/browser/dom_storage/dom_storage_host.cc const base::NullableString16& value) { base 42 content/browser/dom_storage/dom_storage_host.h base::NullableString16 GetAreaKey(int connection_id, unsigned index); base 43 content/browser/dom_storage/dom_storage_host.h base::NullableString16 GetAreaItem(int connection_id, base 44 content/browser/dom_storage/dom_storage_host.h const base::string16& key); base 45 content/browser/dom_storage/dom_storage_host.h bool SetAreaItem(int connection_id, const base::string16& key, base 46 content/browser/dom_storage/dom_storage_host.h const base::string16& value, const GURL& page_url, base 47 content/browser/dom_storage/dom_storage_host.h base::NullableString16* old_value); base 48 content/browser/dom_storage/dom_storage_host.h void LogGetAreaItem(int connection_id, const base::string16& key, base 49 content/browser/dom_storage/dom_storage_host.h const base::NullableString16& value); base 50 content/browser/dom_storage/dom_storage_host.h bool RemoveAreaItem(int connection_id, const base::string16& key, base 52 content/browser/dom_storage/dom_storage_host.h base::string16* old_value); base 78 content/browser/dom_storage/dom_storage_host.h const base::string16& key, base 79 content/browser/dom_storage/dom_storage_host.h const base::NullableString16& value); base 54 content/browser/dom_storage/dom_storage_message_filter.cc base::Bind(&DOMStorageMessageFilter::InitializeInSequence, this)); base 61 content/browser/dom_storage/dom_storage_message_filter.cc base::Bind(&DOMStorageMessageFilter::UninitializeInSequence, this)); base 64 content/browser/dom_storage/dom_storage_message_filter.cc base::TaskRunner* DOMStorageMessageFilter::OverrideTaskRunnerForMessage( base 98 content/browser/dom_storage/dom_storage_message_filter.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_DSMF_1")); base 113 content/browser/dom_storage/dom_storage_message_filter.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_DSMF_2")); base 120 content/browser/dom_storage/dom_storage_message_filter.cc int connection_id, const base::string16& key, base 121 content/browser/dom_storage/dom_storage_message_filter.cc const base::string16& value, const GURL& page_url) { base 124 content/browser/dom_storage/dom_storage_message_filter.cc base::AutoReset<int> auto_reset(&connection_dispatching_message_for_, base 126 content/browser/dom_storage/dom_storage_message_filter.cc base::NullableString16 not_used; base 133 content/browser/dom_storage/dom_storage_message_filter.cc int connection_id, const base::string16& key, base 134 content/browser/dom_storage/dom_storage_message_filter.cc const base::NullableString16& value) { base 140 content/browser/dom_storage/dom_storage_message_filter.cc int connection_id, const base::string16& key, base 144 content/browser/dom_storage/dom_storage_message_filter.cc base::AutoReset<int> auto_reset(&connection_dispatching_message_for_, base 146 content/browser/dom_storage/dom_storage_message_filter.cc base::string16 not_used; base 155 content/browser/dom_storage/dom_storage_message_filter.cc base::AutoReset<int> auto_reset(&connection_dispatching_message_for_, base 167 content/browser/dom_storage/dom_storage_message_filter.cc const base::string16& key, base 168 content/browser/dom_storage/dom_storage_message_filter.cc const base::string16& new_value, base 169 content/browser/dom_storage/dom_storage_message_filter.cc const base::NullableString16& old_value, base 172 content/browser/dom_storage/dom_storage_message_filter.cc base::NullableString16(key, false), base 173 content/browser/dom_storage/dom_storage_message_filter.cc base::NullableString16(new_value, false), base 179 content/browser/dom_storage/dom_storage_message_filter.cc const base::string16& key, base 180 content/browser/dom_storage/dom_storage_message_filter.cc const base::string16& old_value, base 183 content/browser/dom_storage/dom_storage_message_filter.cc base::NullableString16(key, false), base 184 content/browser/dom_storage/dom_storage_message_filter.cc base::NullableString16(), base 185 content/browser/dom_storage/dom_storage_message_filter.cc base::NullableString16(old_value, false)); base 192 content/browser/dom_storage/dom_storage_message_filter.cc base::NullableString16(), base 193 content/browser/dom_storage/dom_storage_message_filter.cc base::NullableString16(), base 194 content/browser/dom_storage/dom_storage_message_filter.cc base::NullableString16()); base 205 content/browser/dom_storage/dom_storage_message_filter.cc const base::NullableString16& key, base 206 content/browser/dom_storage/dom_storage_message_filter.cc const base::NullableString16& new_value, base 207 content/browser/dom_storage/dom_storage_message_filter.cc const base::NullableString16& old_value) { base 16 content/browser/dom_storage/dom_storage_message_filter.h namespace base { base 45 content/browser/dom_storage/dom_storage_message_filter.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 56 content/browser/dom_storage/dom_storage_message_filter.h void OnSetItem(int connection_id, const base::string16& key, base 57 content/browser/dom_storage/dom_storage_message_filter.h const base::string16& value, const GURL& page_url); base 58 content/browser/dom_storage/dom_storage_message_filter.h void OnLogGetItem(int connection_id, const base::string16& key, base 59 content/browser/dom_storage/dom_storage_message_filter.h const base::NullableString16& value); base 60 content/browser/dom_storage/dom_storage_message_filter.h void OnRemoveItem(int connection_id, const base::string16& key, base 69 content/browser/dom_storage/dom_storage_message_filter.h const base::string16& key, base 70 content/browser/dom_storage/dom_storage_message_filter.h const base::string16& new_value, base 71 content/browser/dom_storage/dom_storage_message_filter.h const base::NullableString16& old_value, base 75 content/browser/dom_storage/dom_storage_message_filter.h const base::string16& key, base 76 content/browser/dom_storage/dom_storage_message_filter.h const base::string16& old_value, base 86 content/browser/dom_storage/dom_storage_message_filter.h const base::NullableString16& key, base 87 content/browser/dom_storage/dom_storage_message_filter.h const base::NullableString16& new_value, base 88 content/browser/dom_storage/dom_storage_message_filter.h const base::NullableString16& old_value); base 31 content/browser/dom_storage/dom_storage_namespace.cc const base::FilePath& directory, base 134 content/browser/dom_storage/dom_storage_namespace.cc base::Bind(base::IgnoreResult(&SessionStorageDatabase::CloneNamespace), base 285 content/browser/dom_storage/dom_storage_namespace.cc typedef std::pair<GURL, base::string16> OriginKey; base 308 content/browser/dom_storage/dom_storage_namespace.cc base::NullableString16 other_value = area->GetItem(transaction.key); base 332 content/browser/dom_storage/dom_storage_namespace.cc base::string16 old_value; base 340 content/browser/dom_storage/dom_storage_namespace.cc base::NullableString16 old_value; base 341 content/browser/dom_storage/dom_storage_namespace.cc area->SetItem(transaction.key, base::string16(transaction.value.string()), base 29 content/browser/dom_storage/dom_storage_namespace.h : public base::RefCountedThreadSafe<DOMStorageNamespace> { base 43 content/browser/dom_storage/dom_storage_namespace.h DOMStorageNamespace(const base::FilePath& directory, // may be empty base 116 content/browser/dom_storage/dom_storage_namespace.h base::string16 key; base 117 content/browser/dom_storage/dom_storage_namespace.h base::NullableString16 value; base 129 content/browser/dom_storage/dom_storage_namespace.h friend class base::RefCountedThreadSafe<DOMStorageNamespace>; base 160 content/browser/dom_storage/dom_storage_namespace.h base::FilePath directory_; base 27 content/browser/dom_storage/dom_storage_session.cc const base::Callback<SessionStorageNamespace::MergeResult(void)>& task, base 28 content/browser/dom_storage/dom_storage_session.cc scoped_refptr<base::SingleThreadTaskRunner> result_loop, base 32 content/browser/dom_storage/dom_storage_session.cc FROM_HERE, base::Bind(&PostMergeTaskResult, callback, result)); base 44 content/browser/dom_storage/dom_storage_session.cc base::Bind(&DOMStorageContextImpl::CreateSessionNamespace, base 56 content/browser/dom_storage/dom_storage_session.cc base::Bind(&DOMStorageContextImpl::CreateSessionNamespace, base 69 content/browser/dom_storage/dom_storage_session.cc base::Bind(&DOMStorageContextImpl::CreateAliasSessionNamespace, base 99 content/browser/dom_storage/dom_storage_session.cc base::Bind(&DOMStorageContextImpl::CloneSessionNamespace, base 117 content/browser/dom_storage/dom_storage_session.cc base::Bind(&DOMStorageContextImpl::DeleteSessionNamespace, base 124 content/browser/dom_storage/dom_storage_session.cc base::Bind(&DOMStorageContextImpl::AddTransactionLogProcessId, base 131 content/browser/dom_storage/dom_storage_session.cc base::Bind(&DOMStorageContextImpl::RemoveTransactionLogProcessId, base 140 content/browser/dom_storage/dom_storage_session.cc scoped_refptr<base::SingleThreadTaskRunner> current_loop( base 141 content/browser/dom_storage/dom_storage_session.cc base::ThreadTaskRunnerHandle::Get()); base 143 content/browser/dom_storage/dom_storage_session.cc base::Bind(&DOMStorageSession::ProcessMergeResult, base 150 content/browser/dom_storage/dom_storage_session.cc base::Bind(&RunMergeTaskAndPostResult, base 151 content/browser/dom_storage/dom_storage_session.cc base::Bind(&DOMStorageContextImpl::MergeSessionStorage, base 24 content/browser/dom_storage/dom_storage_session.h : public base::RefCountedThreadSafe<DOMStorageSession> { base 60 content/browser/dom_storage/dom_storage_session.h friend class base::RefCountedThreadSafe<DOMStorageSession>; base 23 content/browser/dom_storage/dom_storage_task_runner.cc base::SequencedWorkerPool* sequenced_worker_pool, base 24 content/browser/dom_storage/dom_storage_task_runner.cc base::SequencedWorkerPool::SequenceToken primary_sequence_token, base 25 content/browser/dom_storage/dom_storage_task_runner.cc base::SequencedWorkerPool::SequenceToken commit_sequence_token, base 26 content/browser/dom_storage/dom_storage_task_runner.cc base::MessageLoopProxy* delayed_task_loop) base 38 content/browser/dom_storage/dom_storage_task_runner.cc const base::Closure& task, base 39 content/browser/dom_storage/dom_storage_task_runner.cc base::TimeDelta delay) { base 43 content/browser/dom_storage/dom_storage_task_runner.cc if (delay == base::TimeDelta()) { base 46 content/browser/dom_storage/dom_storage_task_runner.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 51 content/browser/dom_storage/dom_storage_task_runner.cc base::Bind(base::IgnoreResult(&DOMStorageWorkerPoolTaskRunner::PostTask), base 59 content/browser/dom_storage/dom_storage_task_runner.cc const base::Closure& task) { base 62 content/browser/dom_storage/dom_storage_task_runner.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 71 content/browser/dom_storage/dom_storage_task_runner.cc base::SequencedWorkerPool::SequenceToken base 82 content/browser/dom_storage/dom_storage_task_runner.cc base::MessageLoopProxy* message_loop) base 91 content/browser/dom_storage/dom_storage_task_runner.cc const base::Closure& task, base 92 content/browser/dom_storage/dom_storage_task_runner.cc base::TimeDelta delay) { base 99 content/browser/dom_storage/dom_storage_task_runner.cc const base::Closure& task) { base 14 content/browser/dom_storage/dom_storage_task_runner.h namespace base { base 30 content/browser/dom_storage/dom_storage_task_runner.h : public base::TaskRunner { base 41 content/browser/dom_storage/dom_storage_task_runner.h const base::Closure& task, base 42 content/browser/dom_storage/dom_storage_task_runner.h base::TimeDelta delay) = 0; base 48 content/browser/dom_storage/dom_storage_task_runner.h const base::Closure& task) = 0; base 74 content/browser/dom_storage/dom_storage_task_runner.h base::SequencedWorkerPool* sequenced_worker_pool, base 75 content/browser/dom_storage/dom_storage_task_runner.h base::SequencedWorkerPool::SequenceToken primary_sequence_token, base 76 content/browser/dom_storage/dom_storage_task_runner.h base::SequencedWorkerPool::SequenceToken commit_sequence_token, base 77 content/browser/dom_storage/dom_storage_task_runner.h base::MessageLoopProxy* delayed_task_loop); base 81 content/browser/dom_storage/dom_storage_task_runner.h const base::Closure& task, base 82 content/browser/dom_storage/dom_storage_task_runner.h base::TimeDelta delay) OVERRIDE; base 87 content/browser/dom_storage/dom_storage_task_runner.h const base::Closure& task) OVERRIDE; base 96 content/browser/dom_storage/dom_storage_task_runner.h base::SequencedWorkerPool::SequenceToken IDtoToken(SequenceID id) const; base 98 content/browser/dom_storage/dom_storage_task_runner.h const scoped_refptr<base::MessageLoopProxy> message_loop_; base 99 content/browser/dom_storage/dom_storage_task_runner.h const scoped_refptr<base::SequencedWorkerPool> sequenced_worker_pool_; base 100 content/browser/dom_storage/dom_storage_task_runner.h base::SequencedWorkerPool::SequenceToken primary_sequence_token_; base 101 content/browser/dom_storage/dom_storage_task_runner.h base::SequencedWorkerPool::SequenceToken commit_sequence_token_; base 112 content/browser/dom_storage/dom_storage_task_runner.h explicit MockDOMStorageTaskRunner(base::MessageLoopProxy* message_loop); base 116 content/browser/dom_storage/dom_storage_task_runner.h const base::Closure& task, base 117 content/browser/dom_storage/dom_storage_task_runner.h base::TimeDelta delay) OVERRIDE; base 122 content/browser/dom_storage/dom_storage_task_runner.h const base::Closure& task) OVERRIDE; base 130 content/browser/dom_storage/dom_storage_task_runner.h const scoped_refptr<base::MessageLoopProxy> message_loop_; base 13 content/browser/dom_storage/local_storage_database_adapter.cc const base::FilePath& path) base 13 content/browser/dom_storage/local_storage_database_adapter.h namespace base { base 24 content/browser/dom_storage/local_storage_database_adapter.h explicit LocalStorageDatabaseAdapter(const base::FilePath& path); base 65 content/browser/dom_storage/session_storage_database.cc base::AutoLock auto_lock(session_storage_database_->db_lock_); base 70 content/browser/dom_storage/session_storage_database.cc base::AutoLock auto_lock(session_storage_database_->db_lock_); base 80 content/browser/dom_storage/session_storage_database.cc base::WideToUTF8(session_storage_database_->file_path_.value()), base 95 content/browser/dom_storage/session_storage_database.cc SessionStorageDatabase::SessionStorageDatabase(const base::FilePath& file_path) base 323 content/browser/dom_storage/session_storage_database.cc base::AutoLock auto_lock(db_lock_); base 332 content/browser/dom_storage/session_storage_database.cc (!base::PathExists(file_path_) || base::IsDirectoryEmpty(file_path_))) { base 348 content/browser/dom_storage/session_storage_database.cc base::DeleteFile(file_path_, true); base 380 content/browser/dom_storage/session_storage_database.cc return leveldb::DB::Open(options, base::WideToUTF8(file_path_.value()), db); base 398 content/browser/dom_storage/session_storage_database.cc base::AutoLock auto_lock(db_lock_); base 410 content/browser/dom_storage/session_storage_database.cc base::AutoLock auto_lock(db_lock_); base 541 content/browser/dom_storage/session_storage_database.cc bool conversion_ok = base::StringToInt64(*map_id, &next_map_id); base 545 content/browser/dom_storage/session_storage_database.cc batch->Put(next_map_id_key, base::Int64ToString(++next_map_id)); base 574 content/browser/dom_storage/session_storage_database.cc base::string16 key16 = base 575 content/browser/dom_storage/session_storage_database.cc base::UTF8ToUTF16(key.substr(map_start_key.length())); base 577 content/browser/dom_storage/session_storage_database.cc (*result)[key16] = base::NullableString16(); base 581 content/browser/dom_storage/session_storage_database.cc size_t len = it->value().size() / sizeof(base::char16); base 582 content/browser/dom_storage/session_storage_database.cc const base::char16* data_ptr = base 583 content/browser/dom_storage/session_storage_database.cc reinterpret_cast<const base::char16*>(it->value().data()); base 585 content/browser/dom_storage/session_storage_database.cc base::NullableString16(base::string16(data_ptr, len), false); base 597 content/browser/dom_storage/session_storage_database.cc base::NullableString16 value = it->second; base 598 content/browser/dom_storage/session_storage_database.cc std::string key = MapKey(map_id, base::UTF16ToUTF8(it->first)); base 618 content/browser/dom_storage/session_storage_database.cc bool conversion_ok = base::StringToInt64(ref_count_string, ref_count); base 628 content/browser/dom_storage/session_storage_database.cc batch->Put(MapRefCountKey(map_id), base::Int64ToString(++old_ref_count)); base 643 content/browser/dom_storage/session_storage_database.cc batch->Put(MapRefCountKey(map_id), base::Int64ToString(ref_count)); base 660 content/browser/dom_storage/session_storage_database.cc batch->Delete(MapKey(map_id, base::UTF16ToUTF8(it->first))); base 703 content/browser/dom_storage/session_storage_database.cc return base::StringPrintf("namespace-%s-", namespace_id.c_str()); base 708 content/browser/dom_storage/session_storage_database.cc return base::StringPrintf("namespace-%s-%s", namespace_id.c_str(), base 717 content/browser/dom_storage/session_storage_database.cc return base::StringPrintf("map-%s-", map_id.c_str()); base 722 content/browser/dom_storage/session_storage_database.cc return base::StringPrintf("map-%s-%s", map_id.c_str(), key.c_str()); base 37 content/browser/dom_storage/session_storage_database.h public base::RefCountedThreadSafe<SessionStorageDatabase> { base 39 content/browser/dom_storage/session_storage_database.h explicit SessionStorageDatabase(const base::FilePath& file_path); base 76 content/browser/dom_storage/session_storage_database.h friend class base::RefCountedThreadSafe<SessionStorageDatabase>; base 192 content/browser/dom_storage/session_storage_database.h base::FilePath file_path_; base 195 content/browser/dom_storage/session_storage_database.h base::Lock db_lock_; base 63 content/browser/dom_storage/session_storage_database_unittest.cc base::ScopedTempDir temp_dir_; base 72 content/browser/dom_storage/session_storage_database_unittest.cc const base::string16 kKey1; base 73 content/browser/dom_storage/session_storage_database_unittest.cc const base::string16 kKey2; base 74 content/browser/dom_storage/session_storage_database_unittest.cc const base::string16 kKey3; base 75 content/browser/dom_storage/session_storage_database_unittest.cc const base::NullableString16 kValue1; base 76 content/browser/dom_storage/session_storage_database_unittest.cc const base::NullableString16 kValue2; base 77 content/browser/dom_storage/session_storage_database_unittest.cc const base::NullableString16 kValue3; base 78 content/browser/dom_storage/session_storage_database_unittest.cc const base::NullableString16 kValue4; base 79 content/browser/dom_storage/session_storage_database_unittest.cc const base::NullableString16 kValueNull; base 90 content/browser/dom_storage/session_storage_database_unittest.cc kKey1(base::ASCIIToUTF16("key1")), base 91 content/browser/dom_storage/session_storage_database_unittest.cc kKey2(base::ASCIIToUTF16("key2")), base 92 content/browser/dom_storage/session_storage_database_unittest.cc kKey3(base::ASCIIToUTF16("key3")), base 93 content/browser/dom_storage/session_storage_database_unittest.cc kValue1(base::ASCIIToUTF16("value1"), false), base 94 content/browser/dom_storage/session_storage_database_unittest.cc kValue2(base::ASCIIToUTF16("value2"), false), base 95 content/browser/dom_storage/session_storage_database_unittest.cc kValue3(base::ASCIIToUTF16("value3"), false), base 96 content/browser/dom_storage/session_storage_database_unittest.cc kValue4(base::ASCIIToUTF16("value4"), false) { } base 161 content/browser/dom_storage/session_storage_database_unittest.cc bool conversion_ok = base::StringToInt64(map_id_str, map_id); base 178 content/browser/dom_storage/session_storage_database_unittest.cc bool conversion_ok = base::StringToInt64(map_id_str, map_id); base 233 content/browser/dom_storage/session_storage_database_unittest.cc bool conversion_ok = base::StringToInt64(it->second, &map_id); base 250 content/browser/dom_storage/session_storage_database_unittest.cc base::StringToInt64(data[next_map_id_key], &next_map_id); base 261 content/browser/dom_storage/session_storage_database_unittest.cc bool conversion_ok = base::StringToInt64(it->second, &ref_count); base 305 content/browser/dom_storage/session_storage_database_unittest.cc base::string16 value; base 306 content/browser/dom_storage/session_storage_database_unittest.cc size_t len = it->value().size() / sizeof(base::char16); base 309 content/browser/dom_storage/session_storage_database_unittest.cc reinterpret_cast<const base::char16*>(it->value().data()), len); base 332 content/browser/dom_storage/session_storage_database_unittest.cc base::string16 key = it->first; base 334 content/browser/dom_storage/session_storage_database_unittest.cc base::NullableString16 val1 = it->second; base 335 content/browser/dom_storage/session_storage_database_unittest.cc base::NullableString16 val2 = map2.find(key)->second; base 702 content/browser/dom_storage/session_storage_database_unittest.cc base::string16 string_with_raw_data; base 703 content/browser/dom_storage/session_storage_database_unittest.cc string_with_raw_data.assign(reinterpret_cast<base::char16*>(raw_data), 5); base 704 content/browser/dom_storage/session_storage_database_unittest.cc changes[kKey1] = base::NullableString16(string_with_raw_data, false); base 28 content/browser/download/base_file.cc BaseFile::BaseFile(const base::FilePath& full_path, base 34 content/browser/download/base_file.cc base::File file, base 41 content/browser/download/base_file.cc start_tick_(base::TimeTicks::Now()), base 66 content/browser/download/base_file.cc const base::FilePath& default_directory) { base 71 content/browser/download/base_file.cc base::FilePath initial_directory(default_directory); base 72 content/browser/download/base_file.cc base::FilePath temp_file; base 80 content/browser/download/base_file.cc !base::CreateTemporaryFileInDir(initial_directory, &temp_file)) && base 81 content/browser/download/base_file.cc !base::CreateTemporaryFile(&temp_file)) { base 139 content/browser/download/base_file.cc DownloadInterruptReason BaseFile::Rename(const base::FilePath& new_path) { base 154 content/browser/download/base_file.cc base::Bind(&FileRenamedNetLogCallback, &full_path_, &new_path)); base 156 content/browser/download/base_file.cc base::CreateDirectory(new_path.DirName()); base 189 content/browser/download/base_file.cc base::DeleteFile(full_path_, false); base 239 content/browser/download/base_file.cc return base::StringPrintf("{ source_url_ = \"%s\"" base 256 content/browser/download/base_file.cc base::Bind(&FileOpenedNetLogCallback, &full_path_, bytes_so_far_)); base 261 content/browser/download/base_file.cc full_path_, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); base 270 content/browser/download/base_file.cc int64 file_size = file_.Seek(base::File::FROM_END, 0); base 280 content/browser/download/base_file.cc file_.Seek(base::File::FROM_BEGIN, bytes_so_far_) != bytes_so_far_) { base 320 content/browser/download/base_file.cc base::Bind(&FileErrorNetLogCallback, operation, error)); base 341 content/browser/download/base_file.cc base::Bind(&FileInterruptedNetLogCallback, operation, os_error, reason)); base 36 content/browser/download/base_file.h BaseFile(const base::FilePath& full_path, base 42 content/browser/download/base_file.h base::File file, base 52 content/browser/download/base_file.h DownloadInterruptReason Initialize(const base::FilePath& default_directory); base 60 content/browser/download/base_file.h virtual DownloadInterruptReason Rename(const base::FilePath& full_path); base 82 content/browser/download/base_file.h base::FilePath full_path() const { return full_path_; } base 117 content/browser/download/base_file.h const base::FilePath& new_path); base 120 content/browser/download/base_file.h int64 CurrentSpeedAtTime(base::TimeTicks current_time) const; base 140 content/browser/download/base_file.h base::FilePath full_path_; base 151 content/browser/download/base_file.h base::File file_; base 157 content/browser/download/base_file.h base::TimeTicks start_tick_; base 13 content/browser/download/base_file_posix.cc const base::FilePath& new_path) { base 20 content/browser/download/base_file_posix.cc if (!base::PathExists(new_path)) { base 21 content/browser/download/base_file_posix.cc int write_error = base::WriteFile(new_path, "", 0); base 32 content/browser/download/base_file_posix.cc if (!base::Move(full_path_, new_path)) base 32 content/browser/download/base_file_unittest.cc const base::TimeDelta kElapsedTimeDelta = base::TimeDelta::FromSeconds( base 51 content/browser/download/base_file_unittest.cc base_file_.reset(new BaseFile(base::FilePath(), base 57 content/browser/download/base_file_unittest.cc base::File(), base 68 content/browser/download/base_file_unittest.cc base::FilePath full_path = base_file_->full_path(); base 73 content/browser/download/base_file_unittest.cc EXPECT_TRUE(base::ReadFileToString(full_path, &disk_data)); base 81 content/browser/download/base_file_unittest.cc EXPECT_EQ(expect_file_survives_, base::PathExists(full_path)); base 102 content/browser/download/base_file_unittest.cc base_file_.reset(new BaseFile(base::FilePath(), base 108 content/browser/download/base_file_unittest.cc base::File(), base 140 content/browser/download/base_file_unittest.cc base::FilePath CreateTestFile() { base 141 content/browser/download/base_file_unittest.cc base::FilePath file_name; base 142 content/browser/download/base_file_unittest.cc BaseFile file(base::FilePath(), base 148 content/browser/download/base_file_unittest.cc base::File(), base 154 content/browser/download/base_file_unittest.cc EXPECT_NE(base::FilePath::StringType(), file_name.value()); base 166 content/browser/download/base_file_unittest.cc void CreateFileWithName(const base::FilePath& file_name) { base 167 content/browser/download/base_file_unittest.cc EXPECT_NE(base::FilePath::StringType(), file_name.value()); base 174 content/browser/download/base_file_unittest.cc base::File(), base 184 content/browser/download/base_file_unittest.cc int64 CurrentSpeedAtTime(base::TimeTicks current_time) { base 189 content/browser/download/base_file_unittest.cc base::TimeTicks StartTick() { base 203 content/browser/download/base_file_unittest.cc base::ScopedTempDir temp_dir_; base 222 content/browser/download/base_file_unittest.cc base::MessageLoop message_loop_; base 233 content/browser/download/base_file_unittest.cc EXPECT_EQ(base::FilePath().value(), base_file_->full_path().value()); base 239 content/browser/download/base_file_unittest.cc EXPECT_TRUE(base::PathExists(base_file_->full_path())); base 241 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base::PathExists(base_file_->full_path())); base 242 content/browser/download/base_file_unittest.cc EXPECT_NE(base::FilePath().value(), base_file_->full_path().value()); base 262 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); base 273 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); base 283 content/browser/download/base_file_unittest.cc base::FilePath initial_path(base_file_->full_path()); base 284 content/browser/download/base_file_unittest.cc EXPECT_TRUE(base::PathExists(initial_path)); base 285 content/browser/download/base_file_unittest.cc base::FilePath new_path(temp_dir_.path().AppendASCII("NewFile")); base 286 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base::PathExists(new_path)); base 291 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base::PathExists(initial_path)); base 292 content/browser/download/base_file_unittest.cc EXPECT_TRUE(base::PathExists(new_path)); base 324 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); base 336 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); base 348 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); base 363 content/browser/download/base_file_unittest.cc EXPECT_EQ(expected_hash_hex, base::HexEncode(hash.data(), hash.size())); base 376 content/browser/download/base_file_unittest.cc base::HexEncode(expected_hash.data(), expected_hash.size()); base 389 content/browser/download/base_file_unittest.cc base::FilePath new_file_path(temp_dir_.path().Append( base 390 content/browser/download/base_file_unittest.cc base::FilePath(FILE_PATH_LITERAL("second_file")))); base 392 content/browser/download/base_file_unittest.cc ASSERT_TRUE(base::CopyFile(base_file_->full_path(), new_file_path)); base 401 content/browser/download/base_file_unittest.cc base::File(), base 404 content/browser/download/base_file_unittest.cc second_file.Initialize(base::FilePath())); base 414 content/browser/download/base_file_unittest.cc base::HexEncode(hash.data(), hash.size()).c_str()); base 421 content/browser/download/base_file_unittest.cc base::FilePath initial_path(base_file_->full_path()); base 422 content/browser/download/base_file_unittest.cc EXPECT_TRUE(base::PathExists(initial_path)); base 423 content/browser/download/base_file_unittest.cc base::FilePath new_path(temp_dir_.path().AppendASCII("NewFile")); base 424 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base::PathExists(new_path)); base 430 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base::PathExists(initial_path)); base 431 content/browser/download/base_file_unittest.cc EXPECT_TRUE(base::PathExists(new_path)); base 440 content/browser/download/base_file_unittest.cc base::FilePath initial_path(base_file_->full_path()); base 441 content/browser/download/base_file_unittest.cc EXPECT_TRUE(base::PathExists(initial_path)); base 442 content/browser/download/base_file_unittest.cc base::FilePath new_path(temp_dir_.path().AppendASCII("NewFile")); base 443 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base::PathExists(new_path)); base 449 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base::PathExists(initial_path)); base 450 content/browser/download/base_file_unittest.cc EXPECT_TRUE(base::PathExists(new_path)); base 463 content/browser/download/base_file_unittest.cc base::FilePath test_dir(temp_dir_.path().AppendASCII("TestDir")); base 464 content/browser/download/base_file_unittest.cc ASSERT_TRUE(base::CreateDirectory(test_dir)); base 466 content/browser/download/base_file_unittest.cc base::FilePath new_path(test_dir.AppendASCII("TestFile")); base 467 content/browser/download/base_file_unittest.cc EXPECT_FALSE(base::PathExists(new_path)); base 481 content/browser/download/base_file_unittest.cc base::FilePath path; base 482 content/browser/download/base_file_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&path)); base 486 content/browser/download/base_file_unittest.cc base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); base 528 content/browser/download/base_file_unittest.cc base::FilePath existing_file_name = CreateTestFile(); base 539 content/browser/download/base_file_unittest.cc base::File(), base 544 content/browser/download/base_file_unittest.cc const base::FilePath file_name = base_file_->full_path(); base 545 content/browser/download/base_file_unittest.cc EXPECT_NE(base::FilePath::StringType(), file_name.value()); base 558 content/browser/download/base_file_unittest.cc base::FilePath readonly_file_name = CreateTestFile(); base 573 content/browser/download/base_file_unittest.cc base::File(), base 580 content/browser/download/base_file_unittest.cc const base::FilePath file_name = base_file_->full_path(); base 581 content/browser/download/base_file_unittest.cc EXPECT_NE(base::FilePath::StringType(), file_name.value()); base 614 content/browser/download/base_file_unittest.cc base::FilePath temp_file; base 615 content/browser/download/base_file_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file)); base 240 content/browser/download/base_file_win.cc base::CustomHistogram::ArrayToCustomRanges( base 248 content/browser/download/base_file_win.cc base::CustomHistogram::ArrayToCustomRanges( base 296 content/browser/download/base_file_win.cc const base::FilePath& new_path) { base 297 content/browser/download/base_file_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 300 content/browser/download/base_file_win.cc base::FilePath::StringType source = full_path_.value(); base 301 content/browser/download/base_file_win.cc base::FilePath::StringType target = new_path.value(); base 334 content/browser/download/base_file_win.cc if (base::IsValidGUID(client_guid_)) { base 336 content/browser/download/base_file_win.cc base::UTF8ToUTF16(braces_guid).c_str(), &guid); base 354 content/browser/download/base_file_win.cc if (!base::PathExists(full_path_)) { base 107 content/browser/download/download_browsertest.cc const base::FilePath& default_download_directory, base 114 content/browser/download/download_browsertest.cc base::WeakPtr<DownloadDestinationObserver> observer, base 115 content/browser/download/download_browsertest.cc base::WeakPtr<DownloadFileWithDelayFactory> owner); base 123 content/browser/download/download_browsertest.cc const base::FilePath& full_path, base 126 content/browser/download/download_browsertest.cc const base::FilePath& full_path, base 131 content/browser/download/download_browsertest.cc const base::WeakPtr<DownloadFileWithDelayFactory>& factory, base 134 content/browser/download/download_browsertest.cc const base::FilePath& path); base 141 content/browser/download/download_browsertest.cc base::WeakPtr<DownloadFileWithDelayFactory> owner_; base 155 content/browser/download/download_browsertest.cc const base::FilePath& default_download_directory, base 161 content/browser/download/download_browsertest.cc base::WeakPtr<DownloadDestinationObserver> observer) OVERRIDE; base 163 content/browser/download/download_browsertest.cc void AddRenameCallback(base::Closure callback); base 164 content/browser/download/download_browsertest.cc void GetAllRenameCallbacks(std::vector<base::Closure>* results); base 170 content/browser/download/download_browsertest.cc base::WeakPtrFactory<DownloadFileWithDelayFactory> weak_ptr_factory_; base 171 content/browser/download/download_browsertest.cc std::vector<base::Closure> rename_callbacks_; base 179 content/browser/download/download_browsertest.cc const base::FilePath& default_download_directory, base 186 content/browser/download/download_browsertest.cc base::WeakPtr<DownloadDestinationObserver> observer, base 187 content/browser/download/download_browsertest.cc base::WeakPtr<DownloadFileWithDelayFactory> owner) base 197 content/browser/download/download_browsertest.cc const base::FilePath& full_path, base 201 content/browser/download/download_browsertest.cc full_path, base::Bind(DownloadFileWithDelay::RenameCallbackWrapper, base 206 content/browser/download/download_browsertest.cc const base::FilePath& full_path, const RenameCompletionCallback& callback) { base 209 content/browser/download/download_browsertest.cc full_path, base::Bind(DownloadFileWithDelay::RenameCallbackWrapper, base 215 content/browser/download/download_browsertest.cc const base::WeakPtr<DownloadFileWithDelayFactory>& factory, base 218 content/browser/download/download_browsertest.cc const base::FilePath& path) { base 222 content/browser/download/download_browsertest.cc factory->AddRenameCallback(base::Bind(original_callback, reason, path)); base 232 content/browser/download/download_browsertest.cc const base::FilePath& default_download_directory, base 238 content/browser/download/download_browsertest.cc base::WeakPtr<DownloadDestinationObserver> observer) { base 249 content/browser/download/download_browsertest.cc void DownloadFileWithDelayFactory::AddRenameCallback(base::Closure callback) { base 253 content/browser/download/download_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 257 content/browser/download/download_browsertest.cc std::vector<base::Closure>* results) { base 276 content/browser/download/download_browsertest.cc const base::FilePath& default_downloads_directory, base 283 content/browser/download/download_browsertest.cc base::WeakPtr<DownloadDestinationObserver> observer) base 312 content/browser/download/download_browsertest.cc base::Bind(&CountingDownloadFile::GetNumberActiveFiles, &result), base 313 content/browser/download/download_browsertest.cc base::MessageLoop::current()->QuitClosure()); base 314 content/browser/download/download_browsertest.cc base::MessageLoop::current()->Run(); base 333 content/browser/download/download_browsertest.cc const base::FilePath& default_downloads_directory, base 339 content/browser/download/download_browsertest.cc base::WeakPtr<DownloadDestinationObserver> observer) OVERRIDE { base 468 content/browser/download/download_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 535 content/browser/download/download_browsertest.cc base::Bind(&URLRequestSlowDownloadJob::AddUrlHandler)); base 536 content/browser/download/download_browsertest.cc base::FilePath mock_base(GetTestFilePath("download", "")); base 539 content/browser/download/download_browsertest.cc base::Bind(&URLRequestMockHTTPJob::AddUrlHandler, mock_base)); base 581 content/browser/download/download_browsertest.cc base::Bind(&EnsureNoPendingDownloadJobsOnIO, &result)); base 582 content/browser/download/download_browsertest.cc base::MessageLoop::current()->Run(); base 597 content/browser/download/download_browsertest.cc bool VerifyFile(const base::FilePath& path, base 602 content/browser/download/download_browsertest.cc bool read = base::ReadFileToString(path, &file_contents); base 641 content/browser/download/download_browsertest.cc download, base::Bind(&DataReceivedFilter, size)); base 663 content/browser/download/download_browsertest.cc const base::FilePath& expected_filename) { base 672 content/browser/download/download_browsertest.cc base::PathExists(download->GetFullPath()))); base 676 content/browser/download/download_browsertest.cc EXPECT_TRUE(base::ReadFileToString( base 696 content/browser/download/download_browsertest.cc BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure()); base 700 content/browser/download/download_browsertest.cc base::ScopedTempDir downloads_directory_; base 748 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); base 776 content/browser/download/download_browsertest.cc base::FilePath file1(download1->GetTargetFilePath()); base 782 content/browser/download/download_browsertest.cc base::FilePath file2(download2->GetTargetFilePath()); base 783 content/browser/download/download_browsertest.cc ASSERT_TRUE(base::ContentsEqual( base 791 content/browser/download/download_browsertest.cc const base::FilePath::CharType kTestFilePath[] = base 798 content/browser/download/download_browsertest.cc plugin_info.name = base::ASCIIToUTF16(kTestPluginName); base 804 content/browser/download/download_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(base::FilePath(kTestFilePath))); base 820 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); base 825 content/browser/download/download_browsertest.cc std::vector<base::Closure> callbacks; base 869 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); base 874 content/browser/download/download_browsertest.cc std::vector<base::Closure> callbacks; base 955 content/browser/download/download_browsertest.cc base::Bind(&base::PlatformThread::Sleep, base 956 content/browser/download/download_browsertest.cc base::TimeDelta::FromMilliseconds(25))); base 959 content/browser/download/download_browsertest.cc base::Bind(&base::PlatformThread::Sleep, base 960 content/browser/download/download_browsertest.cc base::TimeDelta::FromMilliseconds(25))); base 979 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); base 984 content/browser/download/download_browsertest.cc std::vector<base::Closure> callbacks; base 1026 content/browser/download/download_browsertest.cc base::StringPrintf("rangereset?size=%d&rst_boundary=%d", base 1045 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset.crdownload"))); base 1052 content/browser/download/download_browsertest.cc download, base::Bind(&InitialSizeFilter, &initial_size)); base 1065 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset.crdownload"))); base 1069 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); base 1075 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset"))); base 1094 content/browser/download/download_browsertest.cc base::StringPrintf( base 1109 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset.crdownload"))); base 1112 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); base 1118 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset"))); base 1141 content/browser/download/download_browsertest.cc GURL url = test_server()->GetURL(base::StringPrintf( base 1157 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset.crdownload"))); base 1161 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); base 1167 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset"))); base 1194 content/browser/download/download_browsertest.cc base::StringPrintf( base 1209 content/browser/download/download_browsertest.cc base::FilePath()); base 1212 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); base 1218 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset"))); base 1238 content/browser/download/download_browsertest.cc base::StringPrintf( base 1253 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset.crdownload"))); base 1256 content/browser/download/download_browsertest.cc base::DeleteFile(download->GetFullPath(), false); base 1259 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); base 1265 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset"))); base 1286 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); base 1327 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); base 1337 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); base 1380 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); base 1389 content/browser/download/download_browsertest.cc base::FilePath file(FILE_PATH_LITERAL("download-test.lib")); base 1431 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); base 1445 content/browser/download/download_browsertest.cc base::StringPrintf("rangereset?size=%d&rst_boundary=%d", base 1454 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset.crdownload"))); base 1456 content/browser/download/download_browsertest.cc base::FilePath intermediate_path(download->GetFullPath()); base 1458 content/browser/download/download_browsertest.cc EXPECT_TRUE(base::PathExists(intermediate_path)); base 1465 content/browser/download/download_browsertest.cc EXPECT_FALSE(base::PathExists(intermediate_path)); base 1478 content/browser/download/download_browsertest.cc base::StringPrintf("rangereset?size=%d&rst_boundary=%d", base 1486 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset.crdownload"))); base 1488 content/browser/download/download_browsertest.cc base::FilePath intermediate_path(download->GetFullPath()); base 1490 content/browser/download/download_browsertest.cc EXPECT_TRUE(base::PathExists(intermediate_path)); base 1497 content/browser/download/download_browsertest.cc EXPECT_FALSE(base::PathExists(intermediate_path)); base 1504 content/browser/download/download_browsertest.cc base::FilePath file2(FILE_PATH_LITERAL("download-test.lib")); base 1512 content/browser/download/download_browsertest.cc base::FilePath target_path(download->GetTargetFilePath()); base 1513 content/browser/download/download_browsertest.cc EXPECT_TRUE(base::PathExists(target_path)); base 1519 content/browser/download/download_browsertest.cc EXPECT_TRUE(base::PathExists(target_path)); base 1530 content/browser/download/download_browsertest.cc base::StringPrintf("rangereset?size=%d&rst_boundary=%d", base 1544 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset.crdownload"))); base 1546 content/browser/download/download_browsertest.cc base::FilePath intermediate_path(download->GetFullPath()); base 1548 content/browser/download/download_browsertest.cc EXPECT_TRUE(base::PathExists(intermediate_path)); base 1559 content/browser/download/download_browsertest.cc EXPECT_FALSE(base::PathExists(intermediate_path)); base 1577 content/browser/download/download_browsertest.cc base::StringPrintf("rangereset?size=%d&rst_boundary=%d", base 1591 content/browser/download/download_browsertest.cc base::FilePath(FILE_PATH_LITERAL("rangereset.crdownload"))); base 1593 content/browser/download/download_browsertest.cc base::FilePath intermediate_path(download->GetFullPath()); base 1595 content/browser/download/download_browsertest.cc EXPECT_TRUE(base::PathExists(intermediate_path)); base 1606 content/browser/download/download_browsertest.cc EXPECT_FALSE(base::PathExists(intermediate_path)); base 1630 content/browser/download/download_browsertest.cc std::string download(base::StringPrintf( base 14 content/browser/download/download_create_info.cc DownloadCreateInfo::DownloadCreateInfo(const base::Time& start_time, base 40 content/browser/download/download_create_info.cc return base::StringPrintf("{" base 27 content/browser/download/download_create_info.h DownloadCreateInfo(const base::Time& start_time, base 55 content/browser/download/download_create_info.h base::Time start_time; base 29 content/browser/download/download_file.h typedef base::Callback<void(DownloadInterruptReason reason)> base 36 content/browser/download/download_file.h typedef base::Callback<void(DownloadInterruptReason reason, base 37 content/browser/download/download_file.h const base::FilePath& path)> base 50 content/browser/download/download_file.h virtual void RenameAndUniquify(const base::FilePath& full_path, base 56 content/browser/download/download_file.h virtual void RenameAndAnnotate(const base::FilePath& full_path, base 65 content/browser/download/download_file.h virtual base::FilePath FullPath() const = 0; base 16 content/browser/download/download_file_factory.cc const base::FilePath& default_downloads_directory, base 22 content/browser/download/download_file_factory.cc base::WeakPtr<DownloadDestinationObserver> observer) { base 33 content/browser/download/download_file_factory.h const base::FilePath& default_downloads_directory, base 39 content/browser/download/download_file_factory.h base::WeakPtr<DownloadDestinationObserver> observer); base 33 content/browser/download/download_file_impl.cc const base::FilePath& default_download_directory, base 40 content/browser/download/download_file_impl.cc base::WeakPtr<DownloadDestinationObserver> observer) base 66 content/browser/download/download_file_impl.cc update_timer_.reset(new base::RepeatingTimer<DownloadFileImpl>()); base 71 content/browser/download/download_file_impl.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, result)); base 76 content/browser/download/download_file_impl.cc base::Bind(&DownloadFileImpl::StreamActive, weak_factory_.GetWeakPtr())); base 78 content/browser/download/download_file_impl.cc download_start_ = base::TimeTicks::Now(); base 87 content/browser/download/download_file_impl.cc BrowserThread::UI, FROM_HERE, base::Bind( base 99 content/browser/download/download_file_impl.cc base::TimeDelta::FromMilliseconds(kUpdatePeriodMs), base 107 content/browser/download/download_file_impl.cc const base::FilePath& full_path, base 111 content/browser/download/download_file_impl.cc base::FilePath new_path(full_path); base 113 content/browser/download/download_file_impl.cc int uniquifier = base::GetUniquePathNumber( base 114 content/browser/download/download_file_impl.cc new_path, base::FilePath::StringType()); base 117 content/browser/download/download_file_impl.cc base::StringPrintf(" (%d)", uniquifier)); base 127 content/browser/download/download_file_impl.cc stream_reader_->RegisterCallback(base::Closure()); base 134 content/browser/download/download_file_impl.cc base::Bind(callback, reason, new_path)); base 138 content/browser/download/download_file_impl.cc const base::FilePath& full_path, base 142 content/browser/download/download_file_impl.cc base::FilePath new_path(full_path); base 165 content/browser/download/download_file_impl.cc stream_reader_->RegisterCallback(base::Closure()); base 172 content/browser/download/download_file_impl.cc base::Bind(callback, reason, new_path)); base 183 content/browser/download/download_file_impl.cc base::FilePath DownloadFileImpl::FullPath() const { base 208 content/browser/download/download_file_impl.cc base::TimeTicks start(base::TimeTicks::Now()); base 209 content/browser/download/download_file_impl.cc base::TimeTicks now; base 216 content/browser/download/download_file_impl.cc base::TimeDelta delta( base 217 content/browser/download/download_file_impl.cc base::TimeDelta::FromMilliseconds(kMaxTimeBlockingFileThreadMs)); base 229 content/browser/download/download_file_impl.cc base::TimeTicks write_start(base::TimeTicks::Now()); base 232 content/browser/download/download_file_impl.cc disk_writes_time_ += (base::TimeTicks::Now() - write_start); base 242 content/browser/download/download_file_impl.cc base::TimeTicks close_start(base::TimeTicks::Now()); base 244 content/browser/download/download_file_impl.cc base::TimeTicks now(base::TimeTicks::Now()); base 255 content/browser/download/download_file_impl.cc now = base::TimeTicks::Now(); base 265 content/browser/download/download_file_impl.cc base::Bind(&DownloadFileImpl::StreamActive, base 279 content/browser/download/download_file_impl.cc stream_reader_->RegisterCallback(base::Closure()); base 284 content/browser/download/download_file_impl.cc base::Bind(&DownloadDestinationObserver::DestinationError, base 288 content/browser/download/download_file_impl.cc stream_reader_->RegisterCallback(base::Closure()); base 296 content/browser/download/download_file_impl.cc base::Bind( base 303 content/browser/download/download_file_impl.cc base::Bind(&FileStreamDrainedNetLogCallback, total_incoming_data_size, base 311 content/browser/download/download_file_impl.cc base::Bind(&DownloadDestinationObserver::DestinationUpdate, base 40 content/browser/download/download_file_impl.h const base::FilePath& default_downloads_directory, base 47 content/browser/download/download_file_impl.h base::WeakPtr<DownloadDestinationObserver> observer); base 54 content/browser/download/download_file_impl.h const base::FilePath& full_path, base 57 content/browser/download/download_file_impl.h const base::FilePath& full_path, base 61 content/browser/download/download_file_impl.h virtual base::FilePath FullPath() const OVERRIDE; base 85 content/browser/download/download_file_impl.h base::FilePath default_download_directory_; base 94 content/browser/download/download_file_impl.h scoped_ptr<base::RepeatingTimer<DownloadFileImpl> > update_timer_; base 98 content/browser/download/download_file_impl.h base::TimeDelta disk_writes_time_; base 99 content/browser/download/download_file_impl.h base::TimeTicks download_start_; base 104 content/browser/download/download_file_impl.h base::WeakPtr<DownloadDestinationObserver> observer_; base 106 content/browser/download/download_file_impl.h base::WeakPtrFactory<DownloadFileImpl> weak_factory_; base 45 content/browser/download/download_file_unittest.cc MOCK_METHOD1(RegisterCallback, void(const base::Closure&)); base 108 content/browser/download/download_file_unittest.cc void RegisterCallback(base::Closure sink_callback) { base 134 content/browser/download/download_file_unittest.cc base::FilePath(), base 149 content/browser/download/download_file_unittest.cc base::WeakPtrFactory<DownloadFileTest> weak_ptr_factory(this); base 152 content/browser/download/download_file_unittest.cc download_file_->Initialize(base::Bind( base 167 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::ReadFileToString(download_file_->FullPath(), &disk_data)); base 198 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::GetFileSize(download_file_->FullPath(), &size)); base 246 content/browser/download/download_file_unittest.cc const base::FilePath& full_path, base 247 content/browser/download/download_file_unittest.cc base::FilePath* result_path_p) { base 248 content/browser/download/download_file_unittest.cc base::WeakPtrFactory<DownloadFileTest> weak_ptr_factory(this); base 251 content/browser/download/download_file_unittest.cc base::FilePath result_path; base 254 content/browser/download/download_file_unittest.cc full_path, base::Bind(&DownloadFileTest::SetRenameResult, base 265 content/browser/download/download_file_unittest.cc const base::FilePath& full_path, base 266 content/browser/download/download_file_unittest.cc base::FilePath* result_path_p) { base 267 content/browser/download/download_file_unittest.cc base::WeakPtrFactory<DownloadFileTest> weak_ptr_factory(this); base 270 content/browser/download/download_file_unittest.cc base::FilePath result_path; base 273 content/browser/download/download_file_unittest.cc full_path, base::Bind(&DownloadFileTest::SetRenameResult, base 285 content/browser/download/download_file_unittest.cc base::WeakPtrFactory<DownloadDestinationObserver> observer_factory_; base 295 content/browser/download/download_file_unittest.cc base::Closure sink_callback_; base 302 content/browser/download/download_file_unittest.cc base::MessageLoop loop_; base 307 content/browser/download/download_file_unittest.cc base::FilePath* result_path_p, base 309 content/browser/download/download_file_unittest.cc const base::FilePath& result_path) { base 342 content/browser/download/download_file_unittest.cc base::FilePath initial_path(download_file_->FullPath()); base 343 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(initial_path)); base 344 content/browser/download/download_file_unittest.cc base::FilePath path_1(initial_path.InsertBeforeExtensionASCII("_1")); base 345 content/browser/download/download_file_unittest.cc base::FilePath path_2(initial_path.InsertBeforeExtensionASCII("_2")); base 346 content/browser/download/download_file_unittest.cc base::FilePath path_3(initial_path.InsertBeforeExtensionASCII("_3")); base 347 content/browser/download/download_file_unittest.cc base::FilePath path_4(initial_path.InsertBeforeExtensionASCII("_4")); base 348 content/browser/download/download_file_unittest.cc base::FilePath path_5(initial_path.InsertBeforeExtensionASCII("_5")); base 349 content/browser/download/download_file_unittest.cc base::FilePath output_path; base 354 content/browser/download/download_file_unittest.cc base::FilePath renamed_path = download_file_->FullPath(); base 359 content/browser/download/download_file_unittest.cc EXPECT_FALSE(base::PathExists(initial_path)); base 360 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(path_1)); base 374 content/browser/download/download_file_unittest.cc EXPECT_FALSE(base::PathExists(path_1)); base 375 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(path_2)); base 388 content/browser/download/download_file_unittest.cc EXPECT_FALSE(base::PathExists(path_2)); base 389 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(path_3)); base 405 content/browser/download/download_file_unittest.cc EXPECT_FALSE(base::PathExists(path_3)); base 406 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(path_4)); base 410 content/browser/download/download_file_unittest.cc EXPECT_EQ(kDataHash, base::HexEncode(hash.data(), hash.size())); base 414 content/browser/download/download_file_unittest.cc ASSERT_FALSE(base::PathExists(path_5)); base 417 content/browser/download/download_file_unittest.cc base::WriteFile(path_5, file_data, sizeof(file_data) - 1)); base 418 content/browser/download/download_file_unittest.cc ASSERT_TRUE(base::PathExists(path_5)); base 419 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::ReadFileToString(path_5, &file_contents)); base 427 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::ReadFileToString(path_5, &file_contents)); base 437 content/browser/download/download_file_unittest.cc base::FilePath initial_path(download_file_->FullPath()); base 438 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(initial_path)); base 439 content/browser/download/download_file_unittest.cc base::FilePath path_1(initial_path.InsertBeforeExtensionASCII("_1")); base 440 content/browser/download/download_file_unittest.cc base::FilePath path_1_suffixed(path_1.InsertBeforeExtensionASCII(" (1)")); base 442 content/browser/download/download_file_unittest.cc ASSERT_FALSE(base::PathExists(path_1)); base 445 content/browser/download/download_file_unittest.cc base::WriteFile(path_1, file_data, sizeof(file_data))); base 446 content/browser/download/download_file_unittest.cc ASSERT_TRUE(base::PathExists(path_1)); base 449 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(path_1_suffixed)); base 459 content/browser/download/download_file_unittest.cc base::FilePath initial_path(download_file_->FullPath()); base 462 content/browser/download/download_file_unittest.cc base::FilePath tempdir( base 464 content/browser/download/download_file_unittest.cc ASSERT_TRUE(base::CreateDirectory(tempdir)); base 465 content/browser/download/download_file_unittest.cc base::FilePath target_path(tempdir.Append(initial_path.BaseName())); base 468 content/browser/download/download_file_unittest.cc base::FilePath target_path_suffixed( base 470 content/browser/download/download_file_unittest.cc ASSERT_FALSE(base::PathExists(target_path)); base 471 content/browser/download/download_file_unittest.cc ASSERT_FALSE(base::PathExists(target_path_suffixed)); base 482 content/browser/download/download_file_unittest.cc EXPECT_FALSE(base::PathExists(target_path_suffixed)); base 493 content/browser/download/download_file_unittest.cc base::FilePath initial_path(download_file_->FullPath()); base 494 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(initial_path)); base 511 content/browser/download/download_file_unittest.cc base::FilePath initial_path(download_file_->FullPath()); base 512 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(initial_path)); base 538 content/browser/download/download_file_unittest.cc base::FilePath initial_path(download_file_->FullPath()); base 539 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(initial_path)); base 554 content/browser/download/download_file_unittest.cc base::FilePath initial_path(download_file_->FullPath()); base 555 content/browser/download/download_file_unittest.cc EXPECT_TRUE(base::PathExists(initial_path)); base 593 content/browser/download/download_file_unittest.cc base::MessageLoop::QuitClosure(), base 594 content/browser/download/download_file_unittest.cc base::TimeDelta::FromMilliseconds(750)); base 20 content/browser/download/download_item_factory.h namespace base { base 43 content/browser/download/download_item_factory.h const base::FilePath& current_path, base 44 content/browser/download/download_item_factory.h const base::FilePath& target_path, base 47 content/browser/download/download_item_factory.h const base::Time& start_time, base 48 content/browser/download/download_item_factory.h const base::Time& end_time, base 68 content/browser/download/download_item_factory.h const base::FilePath& path, base 60 content/browser/download/download_item_impl.cc bool DeleteDownloadedFile(const base::FilePath& path) { base 64 content/browser/download/download_item_impl.cc if (base::DirectoryExists(path)) base 66 content/browser/download/download_item_impl.cc return base::DeleteFile(path, false); base 70 content/browser/download/download_item_impl.cc base::WeakPtr<DownloadItemImpl> item, base 71 content/browser/download/download_item_impl.cc const base::Callback<void(bool)>& callback, base 82 content/browser/download/download_item_impl.cc static base::FilePath DownloadFileDetach( base 85 content/browser/download/download_item_impl.cc base::FilePath full_path = download_file->FullPath(); base 112 content/browser/download/download_item_impl.cc const base::FilePath& current_path, base 113 content/browser/download/download_item_impl.cc const base::FilePath& target_path, base 116 content/browser/download/download_item_impl.cc const base::Time& start_time, base 117 content/browser/download/download_item_impl.cc const base::Time& end_time, base 142 content/browser/download/download_item_impl.cc start_tick_(base::TimeTicks()), base 180 content/browser/download/download_item_impl.cc suggested_filename_(base::UTF16ToUTF8(info.save_info->suggested_name)), base 194 content/browser/download/download_item_impl.cc start_tick_(base::TimeTicks::Now()), base 228 content/browser/download/download_item_impl.cc const base::FilePath& path, base 249 content/browser/download/download_item_impl.cc start_tick_(base::TimeTicks::Now()), base 252 content/browser/download/download_item_impl.cc start_time_(base::Time::Now()), base 317 content/browser/download/download_item_impl.cc base::Bind(&ItemCheckedNetLogCallback, GetDangerType())); base 333 content/browser/download/download_item_impl.cc base::Bind(&DownloadFileDetach, base::Passed(&download_file_)), base 425 content/browser/download/download_item_impl.cc base::Bind(base::IgnoreResult(&DeleteDownloadedFile), current_path_)); base 603 content/browser/download/download_item_impl.cc const base::FilePath& DownloadItemImpl::GetFullPath() const { base 607 content/browser/download/download_item_impl.cc const base::FilePath& DownloadItemImpl::GetTargetFilePath() const { base 611 content/browser/download/download_item_impl.cc const base::FilePath& DownloadItemImpl::GetForcedFilePath() const { base 617 content/browser/download/download_item_impl.cc base::FilePath DownloadItemImpl::GetFileNameToReportUser() const { base 639 content/browser/download/download_item_impl.cc void DownloadItemImpl::DeleteFile(const base::Callback<void(bool)>& callback) { base 645 content/browser/download/download_item_impl.cc base::Bind(&DeleteDownloadedFileDone, base 646 content/browser/download/download_item_impl.cc base::WeakPtr<DownloadItemImpl>(), callback, false)); base 653 content/browser/download/download_item_impl.cc base::Bind(&DeleteDownloadedFileDone, base 654 content/browser/download/download_item_impl.cc base::WeakPtr<DownloadItemImpl>(), callback, true)); base 659 content/browser/download/download_item_impl.cc base::Bind(&DeleteDownloadedFile, current_path_), base 660 content/browser/download/download_item_impl.cc base::Bind(&DeleteDownloadedFileDone, base 684 content/browser/download/download_item_impl.cc bool DownloadItemImpl::TimeRemaining(base::TimeDelta* remaining) const { base 692 content/browser/download/download_item_impl.cc *remaining = base::TimeDelta::FromSeconds( base 724 content/browser/download/download_item_impl.cc base::Time DownloadItemImpl::GetStartTime() const { base 728 content/browser/download/download_item_impl.cc base::Time DownloadItemImpl::GetEndTime() const { base 798 content/browser/download/download_item_impl.cc void DownloadItemImpl::SetDisplayName(const base::FilePath& name) { base 804 content/browser/download/download_item_impl.cc base::StringPrintf("{ id = %d" base 824 content/browser/download/download_item_impl.cc description += base::StringPrintf( base 854 content/browser/download/download_item_impl.cc description += base::StringPrintf(" url = \"%s\"", url_list.c_str()); base 987 content/browser/download/download_item_impl.cc base::WeakPtr<DownloadDestinationObserver> base 1019 content/browser/download/download_item_impl.cc end_time_ = base::Time::Now(); base 1102 content/browser/download/download_item_impl.cc base::Callback<base::Value*(net::NetLog::LogLevel)> active_data = base::Bind( base 1139 content/browser/download/download_item_impl.cc base::Bind(&DownloadFile::Initialize, base 1141 content/browser/download/download_item_impl.cc base::Unretained(download_file_.get()), base 1142 content/browser/download/download_item_impl.cc base::Bind(&DownloadItemImpl::OnDownloadFileInitialized, base 1163 content/browser/download/download_item_impl.cc this, base::Bind(&DownloadItemImpl::OnDownloadTargetDetermined, base 1170 content/browser/download/download_item_impl.cc const base::FilePath& target_path, base 1173 content/browser/download/download_item_impl.cc const base::FilePath& intermediate_path) { base 1224 content/browser/download/download_item_impl.cc base::Bind(&DownloadItemImpl::OnDownloadRenamedToIntermediateName, base 1228 content/browser/download/download_item_impl.cc base::Bind(&DownloadFile::RenameAndUniquify, base 1230 content/browser/download/download_item_impl.cc base::Unretained(download_file_.get()), base 1236 content/browser/download/download_item_impl.cc const base::FilePath& full_path) { base 1275 content/browser/download/download_item_impl.cc base::Bind(&DownloadItemImpl::MaybeCompleteDownload, base 1320 content/browser/download/download_item_impl.cc base::Bind(&DownloadItemImpl::OnDownloadRenamedToFinalName, base 1324 content/browser/download/download_item_impl.cc base::Bind(&DownloadFile::RenameAndAnnotate, base 1325 content/browser/download/download_item_impl.cc base::Unretained(download_file_.get()), base 1331 content/browser/download/download_item_impl.cc const base::FilePath& full_path) { base 1373 content/browser/download/download_item_impl.cc this, base::Bind(&DownloadItemImpl::DelayedDownloadOpened, base 1395 content/browser/download/download_item_impl.cc end_time_ = base::Time::Now(); base 1501 content/browser/download/download_item_impl.cc base::Bind(&DownloadFileCancel, base::Passed(&download_file_))); base 1509 content/browser/download/download_item_impl.cc base::Bind(base::IgnoreResult(&DownloadFileDetach), base 1511 content/browser/download/download_item_impl.cc base::Passed(&download_file_))); base 1520 content/browser/download/download_item_impl.cc const base::Closure& state_change_notification) { base 1568 content/browser/download/download_item_impl.cc base::Bind(&ItemCompletingNetLogCallback, received_bytes_, &hash_)); base 1573 content/browser/download/download_item_impl.cc base::Bind(&ItemFinishedNetLogCallback, auto_opened_)); base 1578 content/browser/download/download_item_impl.cc base::Bind(&ItemInterruptedNetLogCallback, last_reason_, base 1585 content/browser/download/download_item_impl.cc base::Bind(&ItemResumingNetLogCallback, base 1592 content/browser/download/download_item_impl.cc base::Bind(&ItemCanceledNetLogCallback, received_bytes_, base 1615 content/browser/download/download_item_impl.cc base::Bind(&ItemActivatedNetLogCallback, base 1628 content/browser/download/download_item_impl.cc base::Bind(&ItemCheckedNetLogCallback, danger_type)); base 1645 content/browser/download/download_item_impl.cc void DownloadItemImpl::SetFullPath(const base::FilePath& new_path) { base 1654 content/browser/download/download_item_impl.cc base::Bind(&ItemRenamedNetLogCallback, ¤t_path_, &new_path)); base 1714 content/browser/download/download_item_impl.cc base::Bind(&DownloadItemImpl::OnResumeRequestStarted, base 55 content/browser/download/download_item_impl.h const base::FilePath& current_path, base 56 content/browser/download/download_item_impl.h const base::FilePath& target_path, base 59 content/browser/download/download_item_impl.h const base::Time& start_time, base 60 content/browser/download/download_item_impl.h const base::Time& end_time, base 82 content/browser/download/download_item_impl.h const base::FilePath& path, base 126 content/browser/download/download_item_impl.h virtual const base::FilePath& GetFullPath() const OVERRIDE; base 127 content/browser/download/download_item_impl.h virtual const base::FilePath& GetTargetFilePath() const OVERRIDE; base 128 content/browser/download/download_item_impl.h virtual const base::FilePath& GetForcedFilePath() const OVERRIDE; base 129 content/browser/download/download_item_impl.h virtual base::FilePath GetFileNameToReportUser() const OVERRIDE; base 134 content/browser/download/download_item_impl.h virtual void DeleteFile(const base::Callback<void(bool)>& callback) OVERRIDE; base 137 content/browser/download/download_item_impl.h virtual bool TimeRemaining(base::TimeDelta* remaining) const OVERRIDE; base 143 content/browser/download/download_item_impl.h virtual base::Time GetStartTime() const OVERRIDE; base 144 content/browser/download/download_item_impl.h virtual base::Time GetEndTime() const OVERRIDE; base 157 content/browser/download/download_item_impl.h virtual void SetDisplayName(const base::FilePath& name) OVERRIDE; base 193 content/browser/download/download_item_impl.h virtual base::WeakPtr<DownloadDestinationObserver> base 312 content/browser/download/download_item_impl.h const base::FilePath& target_path, base 315 content/browser/download/download_item_impl.h const base::FilePath& intermediate_path); base 321 content/browser/download/download_item_impl.h DownloadInterruptReason reason, const base::FilePath& full_path); base 334 content/browser/download/download_item_impl.h const base::FilePath& full_path); base 362 content/browser/download/download_item_impl.h bool IsDownloadReadyForCompletion(const base::Closure& state_change_notify); base 373 content/browser/download/download_item_impl.h void SetFullPath(const base::FilePath& new_path); base 400 content/browser/download/download_item_impl.h base::FilePath display_name_; base 406 content/browser/download/download_item_impl.h base::FilePath current_path_; base 411 content/browser/download/download_item_impl.h base::FilePath target_path_; base 435 content/browser/download/download_item_impl.h base::FilePath forced_file_path_; base 487 content/browser/download/download_item_impl.h base::TimeTicks start_tick_; base 499 content/browser/download/download_item_impl.h base::Time start_time_; base 502 content/browser/download/download_item_impl.h base::Time end_time_; base 553 content/browser/download/download_item_impl.h base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; base 33 content/browser/download/download_item_impl_delegate.cc base::FilePath target_path(download->GetForcedFilePath()); base 42 content/browser/download/download_item_impl_delegate.cc const base::Closure& complete_callback) { base 52 content/browser/download/download_item_impl_delegate.cc const base::FilePath& path) { base 25 content/browser/download/download_item_impl_delegate.h typedef base::Callback<void( base 26 content/browser/download/download_item_impl_delegate.h const base::FilePath&, // Target path base 29 content/browser/download/download_item_impl_delegate.h const base::FilePath& // Intermediate file path base 34 content/browser/download/download_item_impl_delegate.h typedef base::Callback<void(bool)> ShouldOpenDownloadCallback; base 53 content/browser/download/download_item_impl_delegate.h const base::Closure& complete_callback); base 61 content/browser/download/download_item_impl_delegate.h virtual bool ShouldOpenFileBasedOnExtension(const base::FilePath& path); base 35 content/browser/download/download_item_impl_unittest.cc const base::FilePath::CharType kDummyPath[] = FILE_PATH_LITERAL("/testpath"); base 50 content/browser/download/download_item_impl_unittest.cc bool(DownloadItemImpl*, const base::Closure&)); base 53 content/browser/download/download_item_impl_unittest.cc MOCK_METHOD1(ShouldOpenFileBasedOnExtension, bool(const base::FilePath&)); base 104 content/browser/download/download_item_impl_unittest.cc base::Bind(arg1, interrupt_reason, new_path)); base 280 content/browser/download/download_item_impl_unittest.cc base::FilePath target_path(kDummyPath); base 281 content/browser/download/download_item_impl_unittest.cc base::FilePath intermediate_path( base 320 content/browser/download/download_item_impl_unittest.cc void OnDownloadFileAcquired(base::FilePath* return_path, base 321 content/browser/download/download_item_impl_unittest.cc const base::FilePath& path) { base 326 content/browser/download/download_item_impl_unittest.cc base::MessageLoopForUI loop_; base 423 content/browser/download/download_item_impl_unittest.cc .WillOnce(Return(base::FilePath())); base 476 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*download_file, RenameAndAnnotate(base::FilePath(kDummyPath), _)) base 478 content/browser/download/download_item_impl_unittest.cc base::FilePath(kDummyPath))); base 498 content/browser/download/download_item_impl_unittest.cc base::WeakPtr<DownloadDestinationObserver> as_observer( base 518 content/browser/download/download_item_impl_unittest.cc .WillByDefault(Return(base::FilePath())); base 534 content/browser/download/download_item_impl_unittest.cc base::FilePath target_path(kDummyPath); base 535 content/browser/download/download_item_impl_unittest.cc base::FilePath intermediate_path( base 616 content/browser/download/download_item_impl_unittest.cc base::FilePath target_path(kDummyPath); base 617 content/browser/download/download_item_impl_unittest.cc base::FilePath intermediate_path(target_path.InsertBeforeExtensionASCII("x")); base 618 content/browser/download/download_item_impl_unittest.cc base::FilePath new_intermediate_path( base 666 content/browser/download/download_item_impl_unittest.cc base::FilePath target_path(base::FilePath(kDummyPath).AppendASCII("foo.bar")); base 667 content/browser/download/download_item_impl_unittest.cc base::FilePath intermediate_path(target_path.InsertBeforeExtensionASCII("x")); base 678 content/browser/download/download_item_impl_unittest.cc item->SetDisplayName(base::FilePath(FILE_PATH_LITERAL("new.name"))); base 705 content/browser/download/download_item_impl_unittest.cc base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar")); base 706 content/browser/download/download_item_impl_unittest.cc base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x")); base 707 content/browser/download/download_item_impl_unittest.cc base::FilePath new_intermediate_path( base 726 content/browser/download/download_item_impl_unittest.cc .WillOnce(Return(base::FilePath())); base 741 content/browser/download/download_item_impl_unittest.cc base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar")); base 742 content/browser/download/download_item_impl_unittest.cc base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x")); base 743 content/browser/download/download_item_impl_unittest.cc base::FilePath new_intermediate_path( base 791 content/browser/download/download_item_impl_unittest.cc base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar")); base 792 content/browser/download/download_item_impl_unittest.cc base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x")); base 793 content/browser/download/download_item_impl_unittest.cc base::FilePath new_intermediate_path( base 826 content/browser/download/download_item_impl_unittest.cc base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar")); base 827 content/browser/download/download_item_impl_unittest.cc base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x")); base 828 content/browser/download/download_item_impl_unittest.cc base::FilePath new_intermediate_path( base 834 content/browser/download/download_item_impl_unittest.cc .WillOnce(Return(base::FilePath(new_intermediate_path))); base 861 content/browser/download/download_item_impl_unittest.cc base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar")); base 862 content/browser/download/download_item_impl_unittest.cc base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x")); base 863 content/browser/download/download_item_impl_unittest.cc base::FilePath new_intermediate_path( base 903 content/browser/download/download_item_impl_unittest.cc base::WeakPtr<DownloadDestinationObserver> as_observer( base 934 content/browser/download/download_item_impl_unittest.cc base::WeakPtr<DownloadDestinationObserver> as_observer( base 954 content/browser/download/download_item_impl_unittest.cc base::WeakPtr<DownloadDestinationObserver> as_observer( base 995 content/browser/download/download_item_impl_unittest.cc base::FilePath(kDummyPath))); base 999 content/browser/download/download_item_impl_unittest.cc .WillOnce(Return(base::FilePath())); base 1027 content/browser/download/download_item_impl_unittest.cc base::FilePath(kDummyPath))); base 1029 content/browser/download/download_item_impl_unittest.cc .WillOnce(Return(base::FilePath())); base 1087 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*download_file, RenameAndAnnotate(base::FilePath(kDummyPath), _)) base 1089 content/browser/download/download_item_impl_unittest.cc base::FilePath(kDummyPath))); base 1093 content/browser/download/download_item_impl_unittest.cc .WillOnce(Return(base::FilePath())); base 1108 content/browser/download/download_item_impl_unittest.cc base::Closure delegate_callback; base 1109 content/browser/download/download_item_impl_unittest.cc base::Closure copy_delegate_callback; base 1125 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*download_file, RenameAndAnnotate(base::FilePath(kDummyPath), _)) base 1127 content/browser/download/download_item_impl_unittest.cc base::FilePath(kDummyPath))); base 1131 content/browser/download/download_item_impl_unittest.cc .WillOnce(Return(base::FilePath())); base 1146 content/browser/download/download_item_impl_unittest.cc base::Closure delegate_callback; base 1147 content/browser/download/download_item_impl_unittest.cc base::Closure copy_delegate_callback; base 1166 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*download_file, RenameAndAnnotate(base::FilePath(kDummyPath), _)) base 1168 content/browser/download/download_item_impl_unittest.cc base::FilePath(kDummyPath))); base 1172 content/browser/download/download_item_impl_unittest.cc .WillOnce(Return(base::FilePath())); base 1193 content/browser/download/download_item_impl_unittest.cc base::Closure delegate_callback; base 1194 content/browser/download/download_item_impl_unittest.cc base::Closure copy_delegate_callback; base 1217 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*download_file, RenameAndAnnotate(base::FilePath(kDummyPath), _)) base 1219 content/browser/download/download_item_impl_unittest.cc base::FilePath(kDummyPath))); base 1223 content/browser/download/download_item_impl_unittest.cc .WillOnce(Return(base::FilePath())); base 1234 content/browser/download/download_item_impl_unittest.cc base::FilePath full_path(FILE_PATH_LITERAL("foo.txt")); base 1235 content/browser/download/download_item_impl_unittest.cc base::FilePath returned_path; base 1241 content/browser/download/download_item_impl_unittest.cc base::WeakPtrFactory<DownloadItemTest> weak_ptr_factory(this); base 1243 content/browser/download/download_item_impl_unittest.cc base::Bind(&DownloadItemTest::OnDownloadFileAcquired, base 1245 content/browser/download/download_item_impl_unittest.cc base::Unretained(&returned_path))); base 1253 content/browser/download/download_item_impl_unittest.cc base::FilePath returned_path; base 1257 content/browser/download/download_item_impl_unittest.cc base::FilePath full_path = item->GetFullPath(); base 1267 content/browser/download/download_item_impl_unittest.cc base::WeakPtrFactory<DownloadItemTest> weak_ptr_factory(this); base 1269 content/browser/download/download_item_impl_unittest.cc base::Bind(&DownloadItemTest::OnDownloadFileAcquired, base 1271 content/browser/download/download_item_impl_unittest.cc base::Unretained(&returned_path))); base 1279 content/browser/download/download_item_impl_unittest.cc base::FilePath returned_path; base 1289 content/browser/download/download_item_impl_unittest.cc base::WeakPtrFactory<DownloadItemTest> weak_ptr_factory(this); base 1291 content/browser/download/download_item_impl_unittest.cc base::Bind(&DownloadItemTest::OnDownloadFileAcquired, base 1293 content/browser/download/download_item_impl_unittest.cc base::Unretained(&returned_path))); base 94 content/browser/download/download_manager_impl.cc base::StringPrintf("bytes=%" PRId64 "-", params->offset()), base 139 content/browser/download/download_manager_impl.cc base::hash_map<int64, DownloadItem*>::const_iterator iter) base 156 content/browser/download/download_manager_impl.cc base::hash_map<int64, DownloadItem*>::const_iterator iter_; base 168 content/browser/download/download_manager_impl.cc const base::FilePath& current_path, base 169 content/browser/download/download_manager_impl.cc const base::FilePath& target_path, base 172 content/browser/download/download_manager_impl.cc const base::Time& start_time, base 173 content/browser/download/download_manager_impl.cc const base::Time& end_time, base 214 content/browser/download/download_manager_impl.cc const base::FilePath& path, base 275 content/browser/download/download_manager_impl.cc base::FilePath target_path = item->GetForcedFilePath(); base 285 content/browser/download/download_manager_impl.cc DownloadItemImpl* item, const base::Closure& complete_callback) { base 296 content/browser/download/download_manager_impl.cc const base::FilePath& path) { base 361 content/browser/download/download_manager_impl.cc base::Callback<void(uint32)> got_id(base::Bind( base 364 content/browser/download/download_manager_impl.cc base::Passed(info.Pass()), base 365 content/browser/download/download_manager_impl.cc base::Passed(stream.Pass()), base 404 content/browser/download/download_manager_impl.cc base::FilePath default_download_directory; base 406 content/browser/download/download_manager_impl.cc base::FilePath website_save_directory; // Unused base 459 content/browser/download/download_manager_impl.cc base::Bind(&DownloadManagerImpl::OnFileExistenceChecked, base 478 content/browser/download/download_manager_impl.cc const base::FilePath& main_file_path, base 484 content/browser/download/download_manager_impl.cc GetNextId(base::Bind( base 490 content/browser/download/download_manager_impl.cc base::Passed(request_handle.Pass()), base 495 content/browser/download/download_manager_impl.cc const base::FilePath& main_file_path, base 537 content/browser/download/download_manager_impl.cc base::Bind(&BeginDownload, base::Passed(¶ms), id)); base 564 content/browser/download/download_manager_impl.cc int DownloadManagerImpl::RemoveDownloadsBetween(base::Time remove_begin, base 565 content/browser/download/download_manager_impl.cc base::Time remove_end) { base 585 content/browser/download/download_manager_impl.cc int DownloadManagerImpl::RemoveDownloads(base::Time remove_begin) { base 586 content/browser/download/download_manager_impl.cc return RemoveDownloadsBetween(remove_begin, base::Time()); base 591 content/browser/download/download_manager_impl.cc int num_deleted = RemoveDownloadsBetween(base::Time(), base::Time()); base 603 content/browser/download/download_manager_impl.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 604 content/browser/download/download_manager_impl.cc &BeginDownload, base::Passed(¶ms), base 618 content/browser/download/download_manager_impl.cc const base::FilePath& current_path, base 619 content/browser/download/download_manager_impl.cc const base::FilePath& target_path, base 622 content/browser/download/download_manager_impl.cc const base::Time& start_time, base 623 content/browser/download/download_manager_impl.cc const base::Time& end_time, base 37 content/browser/download/download_manager_impl.h typedef base::Callback<void(DownloadItemImpl*)> DownloadItemImplCreated; base 50 content/browser/download/download_manager_impl.h const base::FilePath& main_file_path, base 68 content/browser/download/download_manager_impl.h virtual int RemoveDownloadsBetween(base::Time remove_begin, base 69 content/browser/download/download_manager_impl.h base::Time remove_end) OVERRIDE; base 70 content/browser/download/download_manager_impl.h virtual int RemoveDownloads(base::Time remove_begin) OVERRIDE; base 77 content/browser/download/download_manager_impl.h const base::FilePath& current_path, base 78 content/browser/download/download_manager_impl.h const base::FilePath& target_path, base 81 content/browser/download/download_manager_impl.h const base::Time& start_time, base 82 content/browser/download/download_manager_impl.h const base::Time& end_time, base 106 content/browser/download/download_manager_impl.h typedef base::hash_map<uint32, DownloadItemImpl*> DownloadMap; base 121 content/browser/download/download_manager_impl.h const base::FilePath& main_file_path, base 147 content/browser/download/download_manager_impl.h DownloadItemImpl* item, const base::Closure& complete_callback) OVERRIDE; base 149 content/browser/download/download_manager_impl.h const base::FilePath& path) OVERRIDE; base 189 content/browser/download/download_manager_impl.h base::WeakPtrFactory<DownloadManagerImpl> weak_factory_; base 75 content/browser/download/download_manager_impl_unittest.cc base::FilePath(), base 76 content/browser/download/download_manager_impl_unittest.cc base::FilePath(), base 79 content/browser/download/download_manager_impl_unittest.cc base::Time(), base 80 content/browser/download/download_manager_impl_unittest.cc base::Time(), base 93 content/browser/download/download_manager_impl_unittest.cc void(const base::FilePath&, TargetDisposition, base 94 content/browser/download/download_manager_impl_unittest.cc DownloadDangerType, const base::FilePath&)); base 119 content/browser/download/download_manager_impl_unittest.cc MOCK_CONST_METHOD1(TimeRemaining, bool(base::TimeDelta*)); base 123 content/browser/download/download_manager_impl_unittest.cc MOCK_CONST_METHOD1(MatchesQuery, bool(const base::string16& query)); base 125 content/browser/download/download_manager_impl_unittest.cc MOCK_CONST_METHOD0(GetFullPath, const base::FilePath&()); base 126 content/browser/download/download_manager_impl_unittest.cc MOCK_CONST_METHOD0(GetTargetFilePath, const base::FilePath&()); base 148 content/browser/download/download_manager_impl_unittest.cc MOCK_CONST_METHOD0(GetStartTime, base::Time()); base 149 content/browser/download/download_manager_impl_unittest.cc MOCK_CONST_METHOD0(GetEndTime, base::Time()); base 158 content/browser/download/download_manager_impl_unittest.cc MOCK_CONST_METHOD0(GetForcedFilePath, const base::FilePath&()); base 170 content/browser/download/download_manager_impl_unittest.cc MOCK_CONST_METHOD0(GetFileNameToReportUser, base::FilePath()); base 171 content/browser/download/download_manager_impl_unittest.cc MOCK_METHOD1(SetDisplayName, void(const base::FilePath&)); base 189 content/browser/download/download_manager_impl_unittest.cc MOCK_METHOD1(ShouldOpenFileBasedOnExtension, bool(const base::FilePath&)); base 191 content/browser/download/download_manager_impl_unittest.cc bool(DownloadItem*, const base::Closure&)); base 196 content/browser/download/download_manager_impl_unittest.cc base::FilePath*, base::FilePath*, bool*)); base 198 content/browser/download/download_manager_impl_unittest.cc WebContents*, const base::FilePath&, const base::FilePath::StringType&, base 209 content/browser/download/download_manager_impl_unittest.cc public base::SupportsWeakPtr<MockDownloadItemFactory> { base 233 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& current_path, base 234 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& target_path, base 237 content/browser/download/download_manager_impl_unittest.cc const base::Time& start_time, base 238 content/browser/download/download_manager_impl_unittest.cc const base::Time& end_time, base 256 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& path, base 298 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& current_path, base 299 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& target_path, base 302 content/browser/download/download_manager_impl_unittest.cc const base::Time& start_time, base 303 content/browser/download/download_manager_impl_unittest.cc const base::Time& end_time, base 345 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& path, base 363 content/browser/download/download_manager_impl_unittest.cc public base::SupportsWeakPtr<MockDownloadFileFactory> { base 371 content/browser/download/download_manager_impl_unittest.cc const base::FilePath&, base 375 content/browser/download/download_manager_impl_unittest.cc base::WeakPtr<DownloadDestinationObserver>)); base 379 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& default_download_directory, base 385 content/browser/download/download_manager_impl_unittest.cc base::WeakPtr<DownloadDestinationObserver> observer) { base 397 content/browser/download/download_manager_impl_unittest.cc MOCK_CONST_METHOD0(GetPath, base::FilePath()); base 408 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& partition_path, bool in_memory)); base 556 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& target_path, base 559 content/browser/download/download_manager_impl_unittest.cc const base::FilePath& intermediate_path) { base 569 content/browser/download/download_manager_impl_unittest.cc item, base::Bind( base 571 content/browser/download/download_manager_impl_unittest.cc base::Unretained(this))); base 577 content/browser/download/download_manager_impl_unittest.cc base::WeakPtr<MockDownloadFileFactory> mock_download_file_factory_; base 581 content/browser/download/download_manager_impl_unittest.cc base::FilePath target_path_; base 584 content/browser/download/download_manager_impl_unittest.cc base::FilePath intermediate_path_; base 587 content/browser/download/download_manager_impl_unittest.cc base::MessageLoopForUI message_loop_; base 590 content/browser/download/download_manager_impl_unittest.cc base::WeakPtr<MockDownloadItemFactory> mock_download_item_factory_; base 604 content/browser/download/download_manager_impl_unittest.cc base::FilePath download_path(FILE_PATH_LITERAL("download/path")); base 652 content/browser/download/download_manager_impl_unittest.cc base::FilePath path(FILE_PATH_LITERAL("random_filepath.txt")); base 671 content/browser/download/download_manager_impl_unittest.cc base::Time now(base::Time::Now()); base 45 content/browser/download/download_net_log_parameters.cc base::Value* ItemActivatedNetLogCallback( base 50 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 53 content/browser/download/download_net_log_parameters.cc dict->SetString("id", base::Int64ToString(download_item->GetId())); base 60 content/browser/download/download_net_log_parameters.cc base::Int64ToString(download_item->GetReceivedBytes())); base 66 content/browser/download/download_net_log_parameters.cc base::Value* ItemCheckedNetLogCallback( base 69 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 76 content/browser/download/download_net_log_parameters.cc base::Value* ItemRenamedNetLogCallback(const base::FilePath* old_filename, base 77 content/browser/download/download_net_log_parameters.cc const base::FilePath* new_filename, base 79 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 87 content/browser/download/download_net_log_parameters.cc base::Value* ItemInterruptedNetLogCallback(DownloadInterruptReason reason, base 91 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 94 content/browser/download/download_net_log_parameters.cc dict->SetString("bytes_so_far", base::Int64ToString(bytes_so_far)); base 96 content/browser/download/download_net_log_parameters.cc base::HexEncode(hash_state->data(), hash_state->size())); base 101 content/browser/download/download_net_log_parameters.cc base::Value* ItemResumingNetLogCallback(bool user_initiated, base 106 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 110 content/browser/download/download_net_log_parameters.cc dict->SetString("bytes_so_far", base::Int64ToString(bytes_so_far)); base 112 content/browser/download/download_net_log_parameters.cc base::HexEncode(hash_state->data(), hash_state->size())); base 117 content/browser/download/download_net_log_parameters.cc base::Value* ItemCompletingNetLogCallback(int64 bytes_so_far, base 120 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 122 content/browser/download/download_net_log_parameters.cc dict->SetString("bytes_so_far", base::Int64ToString(bytes_so_far)); base 124 content/browser/download/download_net_log_parameters.cc base::HexEncode(final_hash->data(), final_hash->size())); base 129 content/browser/download/download_net_log_parameters.cc base::Value* ItemFinishedNetLogCallback(bool auto_opened, base 131 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 138 content/browser/download/download_net_log_parameters.cc base::Value* ItemCanceledNetLogCallback(int64 bytes_so_far, base 141 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 143 content/browser/download/download_net_log_parameters.cc dict->SetString("bytes_so_far", base::Int64ToString(bytes_so_far)); base 145 content/browser/download/download_net_log_parameters.cc base::HexEncode(hash_state->data(), hash_state->size())); base 150 content/browser/download/download_net_log_parameters.cc base::Value* FileOpenedNetLogCallback(const base::FilePath* file_name, base 153 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 156 content/browser/download/download_net_log_parameters.cc dict->SetString("start_offset", base::Int64ToString(start_offset)); base 161 content/browser/download/download_net_log_parameters.cc base::Value* FileStreamDrainedNetLogCallback(size_t stream_size, base 164 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 172 content/browser/download/download_net_log_parameters.cc base::Value* FileRenamedNetLogCallback(const base::FilePath* old_filename, base 173 content/browser/download/download_net_log_parameters.cc const base::FilePath* new_filename, base 175 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 183 content/browser/download/download_net_log_parameters.cc base::Value* FileErrorNetLogCallback(const char* operation, base 186 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 194 content/browser/download/download_net_log_parameters.cc base::Value* FileInterruptedNetLogCallback(const char* operation, base 198 content/browser/download/download_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 16 content/browser/download/download_net_log_parameters.h namespace base { base 29 content/browser/download/download_net_log_parameters.h base::Value* ItemActivatedNetLogCallback( base 36 content/browser/download/download_net_log_parameters.h base::Value* ItemCheckedNetLogCallback( base 41 content/browser/download/download_net_log_parameters.h base::Value* ItemRenamedNetLogCallback(const base::FilePath* old_filename, base 42 content/browser/download/download_net_log_parameters.h const base::FilePath* new_filename, base 46 content/browser/download/download_net_log_parameters.h base::Value* ItemInterruptedNetLogCallback(DownloadInterruptReason reason, base 52 content/browser/download/download_net_log_parameters.h base::Value* ItemResumingNetLogCallback(bool user_initiated, base 59 content/browser/download/download_net_log_parameters.h base::Value* ItemCompletingNetLogCallback(int64 bytes_so_far, base 64 content/browser/download/download_net_log_parameters.h base::Value* ItemFinishedNetLogCallback(bool auto_opened, base 68 content/browser/download/download_net_log_parameters.h base::Value* ItemCanceledNetLogCallback(int64 bytes_so_far, base 73 content/browser/download/download_net_log_parameters.h base::Value* FileOpenedNetLogCallback(const base::FilePath* file_name, base 78 content/browser/download/download_net_log_parameters.h base::Value* FileStreamDrainedNetLogCallback(size_t stream_size, base 83 content/browser/download/download_net_log_parameters.h base::Value* FileRenamedNetLogCallback(const base::FilePath* old_filename, base 84 content/browser/download/download_net_log_parameters.h const base::FilePath* new_filename, base 88 content/browser/download/download_net_log_parameters.h base::Value* FileErrorNetLogCallback(const char* operation, base 93 content/browser/download/download_net_log_parameters.h base::Value* FileInterruptedNetLogCallback(const char* operation, base 26 content/browser/download/download_request_handle.cc const base::WeakPtr<DownloadResourceHandler>& handler, base 63 content/browser/download/download_request_handle.cc base::Bind(&DownloadResourceHandler::PauseRequest, handler_)); base 69 content/browser/download/download_request_handle.cc base::Bind(&DownloadResourceHandler::ResumeRequest, handler_)); base 75 content/browser/download/download_request_handle.cc base::Bind(&DownloadResourceHandler::CancelRequest, handler_)); base 79 content/browser/download/download_request_handle.cc return base::StringPrintf("{" base 60 content/browser/download/download_request_handle.h DownloadRequestHandle(const base::WeakPtr<DownloadResourceHandler>& handler, base 74 content/browser/download/download_request_handle.h base::WeakPtr<DownloadResourceHandler> handler_; base 126 content/browser/download/download_resource_handler.cc base::Bind(&InitializeDownloadTabInfoOnUIThread, base 163 content/browser/download/download_resource_handler.cc download_start_time_ = base::TimeTicks::Now(); base 182 content/browser/download/download_resource_handler.cc new DownloadCreateInfo(base::Time::Now(), base 192 content/browser/download/download_resource_handler.cc base::MessageLoopProxy::current(), base 196 content/browser/download/download_resource_handler.cc base::Bind(&DownloadResourceHandler::ResumeRequest, AsWeakPtr())); base 240 content/browser/download/download_resource_handler.cc base::Bind(&StartOnUIThread, base 241 content/browser/download/download_resource_handler.cc base::Passed(&info), base 242 content/browser/download/download_resource_handler.cc base::Owned(tab_info_), base 243 content/browser/download/download_resource_handler.cc base::Passed(&stream_reader), base 265 content/browser/download/download_resource_handler.cc base::Bind( base 305 content/browser/download/download_resource_handler.cc base::TimeTicks now(base::TimeTicks::Now()); base 435 content/browser/download/download_resource_handler.cc RecordNetworkBlockage(base::TimeTicks::Now() - download_start_time_, base 482 content/browser/download/download_resource_handler.cc total_pause_time_ += (base::TimeTicks::Now() - last_stream_pause_time_); base 483 content/browser/download/download_resource_handler.cc last_stream_pause_time_ = base::TimeTicks(); base 501 content/browser/download/download_resource_handler.cc return base::StringPrintf("{" base 527 content/browser/download/download_resource_handler.cc stream_writer_->RegisterCallback(base::Closure()); base 535 content/browser/download/download_resource_handler.cc base::TimeTicks::Now() - download_start_time_); base 33 content/browser/download/download_resource_handler.h public base::SupportsWeakPtr<DownloadResourceHandler> { base 125 content/browser/download/download_resource_handler.h base::TimeTicks download_start_time_; base 126 content/browser/download/download_resource_handler.h base::TimeTicks last_read_time_; base 127 content/browser/download/download_resource_handler.h base::TimeTicks last_stream_pause_time_; base 128 content/browser/download/download_resource_handler.h base::TimeDelta total_pause_time_; base 72 content/browser/download/download_stats.cc const base::FilePath::CharType* kDangerousFileTypes[] = { base 200 content/browser/download/download_stats.cc int GetDangerousFileType(const base::FilePath& file_path) { base 220 content/browser/download/download_stats.cc void RecordDownloadCompleted(const base::TimeTicks& start, int64 download_len) { base 222 content/browser/download/download_stats.cc UMA_HISTOGRAM_LONG_TIMES("Download.Time", (base::TimeTicks::Now() - start)); base 239 content/browser/download/download_stats.cc base::CustomHistogram::ArrayToCustomRanges( base 266 content/browser/download/download_stats.cc base::CustomHistogram::ArrayToCustomRanges( base 294 content/browser/download/download_stats.cc const base::FilePath& file_path) { base 307 content/browser/download/download_stats.cc const base::FilePath& file_path) { base 550 content/browser/download/download_stats.cc void RecordOpen(const base::Time& end, bool first) { base 552 content/browser/download/download_stats.cc UMA_HISTOGRAM_LONG_TIMES("Download.OpenTime", (base::Time::Now() - end)); base 555 content/browser/download/download_stats.cc (base::Time::Now() - end)); base 576 content/browser/download/download_stats.cc void RecordContiguousWriteTime(base::TimeDelta time_blocked) { base 581 content/browser/download/download_stats.cc void RecordNetworkBlockage(base::TimeDelta resource_handler_lifetime, base 582 content/browser/download/download_stats.cc base::TimeDelta resource_handler_blocked_time) { base 585 content/browser/download/download_stats.cc if (resource_handler_blocked_time != base::TimeDelta()) { base 595 content/browser/download/download_stats.cc base::TimeDelta disk_write_time, base 596 content/browser/download/download_stats.cc base::TimeDelta elapsed_time) { base 17 content/browser/download/download_stats.h namespace base { base 130 content/browser/download/download_stats.h void RecordDownloadCompleted(const base::TimeTicks& start, int64 download_len); base 143 content/browser/download/download_stats.h const base::FilePath& file_path); base 149 content/browser/download/download_stats.h const base::FilePath& file_path); base 173 content/browser/download/download_stats.h void RecordOpen(const base::Time& end, bool first); base 190 content/browser/download/download_stats.h void RecordContiguousWriteTime(base::TimeDelta time_blocked); base 195 content/browser/download/download_stats.h void RecordNetworkBlockage(base::TimeDelta resource_handler_lifetime, base 196 content/browser/download/download_stats.h base::TimeDelta resource_handler_blocked_time); base 200 content/browser/download/download_stats.h base::TimeDelta disk_write_time, base 201 content/browser/download/download_stats.h base::TimeDelta elapsed_time); base 22 content/browser/download/drag_download_file.cc typedef base::Callback<void(bool)> OnCompleted; base 39 content/browser/download/drag_download_file.cc base::MessageLoop* on_completed_loop, base 56 content/browser/download/drag_download_file.cc void InitiateDownload(base::File file, base 57 content/browser/download/drag_download_file.cc const base::FilePath& file_path) { base 67 content/browser/download/drag_download_file.cc params->set_callback(base::Bind(&DragDownloadFileUI::OnDownloadStarted, base 97 content/browser/download/drag_download_file.cc on_completed_loop_->PostTask(FROM_HERE, base::Bind(on_completed_, false)); base 114 content/browser/download/drag_download_file.cc on_completed_loop_->PostTask(FROM_HERE, base::Bind( base 130 content/browser/download/drag_download_file.cc on_completed_loop_->PostTask(FROM_HERE, base::Bind( base 138 content/browser/download/drag_download_file.cc base::MessageLoop* on_completed_loop_; base 147 content/browser/download/drag_download_file.cc base::WeakPtrFactory<DragDownloadFileUI> weak_ptr_factory_; base 152 content/browser/download/drag_download_file.cc DragDownloadFile::DragDownloadFile(const base::FilePath& file_path, base 153 content/browser/download/drag_download_file.cc base::File file, base 160 content/browser/download/drag_download_file.cc drag_message_loop_(base::MessageLoop::current()), base 170 content/browser/download/drag_download_file.cc base::Bind(&DragDownloadFile::DownloadCompleted, base 182 content/browser/download/drag_download_file.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 183 content/browser/download/drag_download_file.cc &DragDownloadFileUI::Delete, base::Unretained(drag_ui_))); base 198 content/browser/download/drag_download_file.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 199 content/browser/download/drag_download_file.cc &DragDownloadFileUI::InitiateDownload, base::Unretained(drag_ui_), base 200 content/browser/download/drag_download_file.cc base::Passed(&file_), file_path_)); base 213 content/browser/download/drag_download_file.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 214 content/browser/download/drag_download_file.cc &DragDownloadFileUI::Cancel, base::Unretained(drag_ui_))); base 237 content/browser/download/drag_download_file.cc DCHECK(drag_message_loop_ == base::MessageLoop::current()); base 37 content/browser/download/drag_download_file.h DragDownloadFile(const base::FilePath& file_path, base 38 content/browser/download/drag_download_file.h base::File file, base 58 content/browser/download/drag_download_file.h base::FilePath file_path_; base 59 content/browser/download/drag_download_file.h base::File file_; base 60 content/browser/download/drag_download_file.h base::MessageLoop* drag_message_loop_; base 63 content/browser/download/drag_download_file.h base::RunLoop nested_loop_; base 65 content/browser/download/drag_download_file.h base::WeakPtrFactory<DragDownloadFile> weak_ptr_factory_; base 39 content/browser/download/drag_download_file_browsertest.cc MOCK_METHOD1(OnDownloadCompleted, void(const base::FilePath& file_path)); base 56 content/browser/download/drag_download_file_browsertest.cc base::MessageLoopForUI::current()->QuitClosure()); base 74 content/browser/download/drag_download_file_browsertest.cc base::FilePath mock_base(GetTestFilePath("download", "")); base 77 content/browser/download/drag_download_file_browsertest.cc base::Bind(&URLRequestMockHTTPJob::AddUrlHandler, mock_base)); base 80 content/browser/download/drag_download_file_browsertest.cc const base::FilePath& downloads_directory() const { base 85 content/browser/download/drag_download_file_browsertest.cc base::ScopedTempDir downloads_directory_; base 91 content/browser/download/drag_download_file_browsertest.cc base::FilePath name(downloads_directory().AppendASCII( base 93 content/browser/download/drag_download_file_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(base::FilePath(FILE_PATH_LITERAL( base 98 content/browser/download/drag_download_file_browsertest.cc new DragDownloadFile(name, base::File(), url, referrer, base 111 content/browser/download/drag_download_file_browsertest.cc base::FilePath name(downloads_directory().AppendASCII( base 113 content/browser/download/drag_download_file_browsertest.cc GURL url(URLRequestMockHTTPJob::GetMockUrl(base::FilePath(FILE_PATH_LITERAL( base 119 content/browser/download/drag_download_file_browsertest.cc name, base::File(), url, referrer, base 22 content/browser/download/drag_download_util.cc bool ParseDownloadMetadata(const base::string16& metadata, base 23 content/browser/download/drag_download_util.cc base::string16* mime_type, base 24 content/browser/download/drag_download_util.cc base::FilePath* file_name, base 26 content/browser/download/drag_download_util.cc const base::char16 separator = L':'; base 29 content/browser/download/drag_download_util.cc if (mime_type_end_pos == base::string16::npos) base 33 content/browser/download/drag_download_util.cc if (file_name_end_pos == base::string16::npos) base 43 content/browser/download/drag_download_util.cc base::string16 file_name_str = metadata.substr( base 46 content/browser/download/drag_download_util.cc *file_name = base::FilePath(file_name_str); base 48 content/browser/download/drag_download_util.cc *file_name = base::FilePath(base::UTF16ToUTF8(file_name_str)); base 57 content/browser/download/drag_download_util.cc base::File CreateFileForDrop(base::FilePath* file_path) { base 62 content/browser/download/drag_download_util.cc base::FilePath new_file_path; base 67 content/browser/download/drag_download_util.cc base::string16 suffix = base 68 content/browser/download/drag_download_util.cc base::ASCIIToUTF16("-") + base::IntToString16(seq); base 70 content/browser/download/drag_download_util.cc std::string suffix = std::string("-") + base::IntToString(seq); base 76 content/browser/download/drag_download_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 78 content/browser/download/drag_download_util.cc base::File file( base 79 content/browser/download/drag_download_util.cc new_file_path, base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 86 content/browser/download/drag_download_util.cc return base::File(); base 95 content/browser/download/drag_download_util.cc const base::FilePath& file_path) { base 98 content/browser/download/drag_download_util.cc base::Bind(&PromiseFileFinalizer::Cleanup, this)); base 104 content/browser/download/drag_download_util.cc base::Bind(&PromiseFileFinalizer::Cleanup, this)); base 17 content/browser/download/drag_download_util.h namespace base { base 32 content/browser/download/drag_download_util.h bool ParseDownloadMetadata(const base::string16& metadata, base 33 content/browser/download/drag_download_util.h base::string16* mime_type, base 34 content/browser/download/drag_download_util.h base::FilePath* file_name, base 40 content/browser/download/drag_download_util.h CONTENT_EXPORT base::File CreateFileForDrop(base::FilePath* file_path); base 48 content/browser/download/drag_download_util.h virtual void OnDownloadCompleted(const base::FilePath& file_path) OVERRIDE; base 30 content/browser/download/file_metadata_linux.cc void AddOriginMetadataToFile(const base::FilePath& file, const GURL& source, base 32 content/browser/download/file_metadata_linux.cc DCHECK(base::PathIsWritable(file)); base 12 content/browser/download/file_metadata_linux.h namespace base { base 28 content/browser/download/file_metadata_linux.h CONTENT_EXPORT void AddOriginMetadataToFile(const base::FilePath& file, base 10 content/browser/download/file_metadata_mac.h namespace base { base 19 content/browser/download/file_metadata_mac.h void AddOriginMetadataToFile(const base::FilePath& file, const GURL& source, base 26 content/browser/download/file_metadata_mac.h void AddQuarantineMetadataToFile(const base::FilePath& file, const GURL& source, base 36 content/browser/download/file_metadata_unittest_linux.cc const base::FilePath& test_file() const { base 55 content/browser/download/file_metadata_unittest_linux.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &test_file_)); base 86 content/browser/download/file_metadata_unittest_linux.cc base::SplitString(string(buffer, len), '\0', attr_names); base 107 content/browser/download/file_metadata_unittest_linux.cc base::ScopedTempDir temp_dir_; base 108 content/browser/download/file_metadata_unittest_linux.cc base::FilePath test_file_; base 27 content/browser/download/mhtml_generation_browsertest.cc base::MessageLoopForUI::current()->Quit(); base 39 content/browser/download/mhtml_generation_browsertest.cc base::ScopedTempDir temp_dir_; base 53 content/browser/download/mhtml_generation_browsertest.cc base::FilePath path(temp_dir_.path()); base 59 content/browser/download/mhtml_generation_browsertest.cc path, base::Bind(&MHTMLGenerationTest::MHTMLGenerated, this)); base 69 content/browser/download/mhtml_generation_browsertest.cc ASSERT_TRUE(base::GetFileSize(path, &file_size)); base 26 content/browser/download/mhtml_generation_manager.cc base::File browser_file() { return browser_file_.Pass(); } base 27 content/browser/download/mhtml_generation_manager.cc void set_browser_file(base::File file) { browser_file_ = file.Pass(); } base 37 content/browser/download/mhtml_generation_manager.cc base::ProcessHandle handle, base 38 content/browser/download/mhtml_generation_manager.cc base::TerminationStatus status, base 45 content/browser/download/mhtml_generation_manager.cc base::File browser_file_; base 79 content/browser/download/mhtml_generation_manager.cc base::ProcessHandle handle, base 80 content/browser/download/mhtml_generation_manager.cc base::TerminationStatus status, base 102 content/browser/download/mhtml_generation_manager.cc const base::FilePath& file, base 108 content/browser/download/mhtml_generation_manager.cc base::ProcessHandle renderer_process = base 111 content/browser/download/mhtml_generation_manager.cc base::Bind(&MHTMLGenerationManager::CreateFile, base::Unretained(this), base 117 content/browser/download/mhtml_generation_manager.cc base::File browser_file, base 123 content/browser/download/mhtml_generation_manager.cc base::ProcessHandle renderer_process = base 138 content/browser/download/mhtml_generation_manager.cc int job_id, const base::FilePath& file_path, base 139 content/browser/download/mhtml_generation_manager.cc base::ProcessHandle renderer_process) { base 141 content/browser/download/mhtml_generation_manager.cc base::File browser_file( base 142 content/browser/download/mhtml_generation_manager.cc file_path, base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); base 155 content/browser/download/mhtml_generation_manager.cc base::Bind(&MHTMLGenerationManager::FileAvailable, base 156 content/browser/download/mhtml_generation_manager.cc base::Unretained(this), base 158 content/browser/download/mhtml_generation_manager.cc base::Passed(&browser_file), base 164 content/browser/download/mhtml_generation_manager.cc base::File browser_file, base 206 content/browser/download/mhtml_generation_manager.cc base::Bind(&MHTMLGenerationManager::CloseFile, base::Unretained(this), base 207 content/browser/download/mhtml_generation_manager.cc base::Passed(job->browser_file()))); base 213 content/browser/download/mhtml_generation_manager.cc void MHTMLGenerationManager::CloseFile(base::File file) { base 15 content/browser/download/mhtml_generation_manager.h namespace base { base 27 content/browser/download/mhtml_generation_manager.h typedef base::Callback<void(int64 /* size of the file */)> base 33 content/browser/download/mhtml_generation_manager.h const base::FilePath& file, base 39 content/browser/download/mhtml_generation_manager.h base::File file, base 56 content/browser/download/mhtml_generation_manager.h const base::FilePath& file, base 57 content/browser/download/mhtml_generation_manager.h base::ProcessHandle renderer_process); base 63 content/browser/download/mhtml_generation_manager.h base::File browser_file, base 67 content/browser/download/mhtml_generation_manager.h void CloseFile(base::File file); base 31 content/browser/download/mock_download_file.h const base::FilePath& full_path)); base 33 content/browser/download/mock_download_file.h void(const base::FilePath& full_path, base 36 content/browser/download/mock_download_file.h void(const base::FilePath& full_path, base 41 content/browser/download/mock_download_file.h MOCK_CONST_METHOD0(FullPath, base::FilePath()); base 9 content/browser/download/rate_estimator.cc using base::TimeDelta; base 10 content/browser/download/rate_estimator.cc using base::TimeTicks; base 24 content/browser/download/rate_estimator.h RateEstimator(base::TimeDelta bucket_time, base 26 content/browser/download/rate_estimator.h base::TimeTicks now); base 32 content/browser/download/rate_estimator.h void Increment(uint32 count, base::TimeTicks now); base 37 content/browser/download/rate_estimator.h uint64 GetCountPerSecond(base::TimeTicks now) const; base 40 content/browser/download/rate_estimator.h void ClearOldBuckets(base::TimeTicks now); base 41 content/browser/download/rate_estimator.h void ResetBuckets(base::TimeTicks now); base 44 content/browser/download/rate_estimator.h base::TimeDelta bucket_time_; base 47 content/browser/download/rate_estimator.h base::TimeTicks oldest_time_; base 9 content/browser/download/rate_estimator_unittest.cc using base::TimeDelta; base 14 content/browser/download/rate_estimator_unittest.cc base::TimeTicks now; base 54 content/browser/download/rate_estimator_unittest.cc now = base::TimeTicks(); base 17 content/browser/download/save_file.cc : file_(base::FilePath(), base 23 content/browser/download/save_file.cc base::File(), base 37 content/browser/download/save_file.cc return file_.Initialize(base::FilePath()); base 45 content/browser/download/save_file.cc DownloadInterruptReason SaveFile::Rename(const base::FilePath& full_path) { base 67 content/browser/download/save_file.cc base::FilePath SaveFile::FullPath() const { base 30 content/browser/download/save_file.h DownloadInterruptReason Rename(const base::FilePath& full_path); base 35 content/browser/download/save_file.h base::FilePath FullPath() const; base 41 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::OnShutdown, this)); base 121 content/browser/download/save_file_manager.cc const base::FilePath& file_full_path, base 133 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::OnSaveURL, this, url, referrer, base 148 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::OnRequireSaveJobFromOtherSource, base 192 content/browser/download/save_file_manager.cc void SaveFileManager::DeleteDirectoryOrFile(const base::FilePath& full_path, base 197 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::OnDeleteDirectoryOrFile, base 206 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::CancelSave, this, save_id)); base 229 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::OnStartSave, this, info)); base 248 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::OnUpdateSaveProgress, base 285 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::OnSaveFinished, this, save_id, base 295 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::OnErrorFinished, this, save_url, base 386 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::StartSave, this, info)); base 413 content/browser/download/save_file_manager.cc base::DeleteFile(save_file->FullPath(), false); base 422 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::ExecuteCancelSaveRequest, this, base 452 content/browser/download/save_file_manager.cc base::FilePath file_path; base 461 content/browser/download/save_file_manager.cc bool success = base::CopyFile(file_path, save_file->FullPath()); base 463 content/browser/download/save_file_manager.cc base::DeleteFile(save_file->FullPath(), false); base 467 content/browser/download/save_file_manager.cc void SaveFileManager::OnDeleteDirectoryOrFile(const base::FilePath& full_path, base 472 content/browser/download/save_file_manager.cc base::DeleteFile(full_path, is_dir); base 477 content/browser/download/save_file_manager.cc const base::FilePath& resource_dir, base 483 content/browser/download/save_file_manager.cc if (!resource_dir.empty() && !base::PathExists(resource_dir)) base 484 content/browser/download/save_file_manager.cc base::CreateDirectory(resource_dir); base 500 content/browser/download/save_file_manager.cc base::Bind(&SaveFileManager::OnFinishSavePageJob, this, base 526 content/browser/download/save_file_manager.cc base::DeleteFile(save_file->FullPath(), false); base 71 content/browser/download/save_file_manager.h namespace base { base 85 content/browser/download/save_file_manager.h class SaveFileManager : public base::RefCountedThreadSafe<SaveFileManager> { base 104 content/browser/download/save_file_manager.h const base::FilePath& file_full_path, base 126 content/browser/download/save_file_manager.h void DeleteDirectoryOrFile(const base::FilePath& full_path, bool is_dir); base 139 content/browser/download/save_file_manager.h const base::FilePath& resource_dir, base 149 content/browser/download/save_file_manager.h friend class base::RefCountedThreadSafe<SaveFileManager>; base 204 content/browser/download/save_file_manager.h void OnDeleteDirectoryOrFile(const base::FilePath& full_path, bool is_dir); base 224 content/browser/download/save_file_manager.h typedef base::hash_map<int, SaveFile*> SaveFileMap; base 229 content/browser/download/save_file_manager.h typedef base::hash_map<int, SavePackage*> SavePackageMap; base 242 content/browser/download/save_file_manager.h typedef base::hash_map<std::string, SavePackage*> StartingRequestsMap; base 243 content/browser/download/save_file_manager.h typedef base::hash_map<int, StartingRequestsMap> base 67 content/browser/download/save_file_resource_handler.cc base::Bind(&SaveFileManager::StartSave, save_manager_, info)); base 104 content/browser/download/save_file_resource_handler.cc base::Bind(&SaveFileManager::UpdateSaveProgress, base 116 content/browser/download/save_file_resource_handler.cc base::Bind(&SaveFileManager::SaveFinished, save_manager_, save_id_, url_, base 129 content/browser/download/save_file_resource_handler.cc base::StringToInt64(content_length, &content_length_); base 116 content/browser/download/save_item.cc void SaveItem::Rename(const base::FilePath& full_path) { base 51 content/browser/download/save_item.h void Rename(const base::FilePath& full_path); base 59 content/browser/download/save_item.h const base::FilePath& full_path() const { return full_path_; } base 60 content/browser/download/save_item.h const base::FilePath& file_name() const { return file_name_; } base 81 content/browser/download/save_item.h base::FilePath full_path_; base 84 content/browser/download/save_item.h base::FilePath file_name_; base 48 content/browser/download/save_package.cc using base::Time; base 82 content/browser/download/save_package.cc base::FilePath::StringType StripOrdinalNumber( base 83 content/browser/download/save_package.cc const base::FilePath::StringType& pure_file_name) { base 84 content/browser/download/save_package.cc base::FilePath::StringType::size_type r_paren_index = base 86 content/browser/download/save_package.cc base::FilePath::StringType::size_type l_paren_index = base 91 content/browser/download/save_package.cc for (base::FilePath::StringType::size_type i = l_paren_index + 1; base 112 content/browser/download/save_package.cc SavePackageRequestHandle(base::WeakPtr<SavePackage> save_package) base 130 content/browser/download/save_package.cc base::WeakPtr<SavePackage> save_package_; base 135 content/browser/download/save_package.cc const base::FilePath::CharType SavePackage::kDefaultHtmlExtension[] = base 144 content/browser/download/save_package.cc const base::FilePath& file_full_path, base 145 content/browser/download/save_package.cc const base::FilePath& directory_full_path) base 154 content/browser/download/save_package.cc start_tick_(base::TimeTicks::Now()), base 161 content/browser/download/save_package.cc file_name_set_(&base::FilePath::CompareLessIgnoreCase), base 185 content/browser/download/save_package.cc start_tick_(base::TimeTicks::Now()), base 192 content/browser/download/save_package.cc file_name_set_(&base::FilePath::CompareLessIgnoreCase), base 206 content/browser/download/save_package.cc const base::FilePath& file_full_path, base 207 content/browser/download/save_package.cc const base::FilePath& directory_full_path) base 214 content/browser/download/save_package.cc start_tick_(base::TimeTicks::Now()), base 221 content/browser/download/save_package.cc file_name_set_(&base::FilePath::CompareLessIgnoreCase), base 323 content/browser/download/save_package.cc base::Bind(&SavePackage::InitWithDownloadItem, AsWeakPtr(), base 345 content/browser/download/save_package.cc web_contents()->GenerateMHTML(saved_main_file_path_, base::Bind( base 391 content/browser/download/save_package.cc download_, base::Bind(&SavePackage::Finish, this))) { base 400 content/browser/download/save_package.cc const base::FilePath& base_dir) { base 428 content/browser/download/save_package.cc const base::FilePath& dir_path, base 429 content/browser/download/save_package.cc const base::FilePath::StringType& file_name_ext, base 431 content/browser/download/save_package.cc base::FilePath::StringType* pure_file_name) { base 459 content/browser/download/save_package.cc base::FilePath::StringType* generated_name) { base 462 content/browser/download/save_package.cc base::FilePath file_path = net::GenerateFileName(url, base 470 content/browser/download/save_package.cc base::FilePath::StringType pure_file_name = base 472 content/browser/download/save_package.cc base::FilePath::StringType file_name_ext = file_path.Extension(); base 488 content/browser/download/save_package.cc base::FilePath::StringType file_name = pure_file_name + file_name_ext; base 497 content/browser/download/save_package.cc base::FilePath(*iter).RemoveExtension().BaseName().value(); base 498 content/browser/download/save_package.cc base::FilePath::StringType base_file_name = base 521 content/browser/download/save_package.cc base::FilePath temp_file; base 522 content/browser/download/save_package.cc base::CreateTemporaryFile(&temp_file); base 526 content/browser/download/save_package.cc base::FilePath::StringType(), base 531 content/browser/download/save_package.cc base::FilePath::StringType new_name = base_file_name + base 532 content/browser/download/save_package.cc base::StringPrintf(FILE_PATH_LITERAL("(%d)"), i) + file_name_ext; base 573 content/browser/download/save_package.cc base::FilePath::StringType generated_name; base 604 content/browser/download/save_package.cc base::FilePath final_name = base 617 content/browser/download/save_package.cc base::Bind(&SaveFileManager::SaveLocalFile, base 723 content/browser/download/save_package.cc base::Bind(&SaveFileManager::RemoveSavedFileFromFileMap, base 741 content/browser/download/save_package.cc base::FilePath dir = (save_type_ == SAVE_PAGE_TYPE_AS_COMPLETE_HTML && base 743 content/browser/download/save_package.cc saved_main_directory_path_ : base::FilePath(); base 756 content/browser/download/save_package.cc base::Bind(&SaveFileManager::RenameAllFiles, base 795 content/browser/download/save_package.cc base::Bind(&SaveFileManager::RemoveSavedFileFromFileMap, base 913 content/browser/download/save_package.cc base::Bind(&SaveFileManager::CancelSave, base 960 content/browser/download/save_package.cc base::TimeDelta diff = base::TimeTicks::Now() - start_tick_; base 1026 content/browser/download/save_package.cc std::vector<base::FilePath> saved_file_paths; base 1057 content/browser/download/save_package.cc base::FilePath relative_dir_name = saved_main_directory_path_.BaseName(); base 1085 content/browser/download/save_package.cc base::Bind(&SaveFileManager::SaveFinished, base 1123 content/browser/download/save_package.cc base::Bind(&SaveFileManager::UpdateSaveProgress, base 1137 content/browser/download/save_package.cc base::Bind(&SaveFileManager::SaveFinished, base 1208 content/browser/download/save_package.cc base::FilePath SavePackage::GetSuggestedNameForSaveAs( base 1212 content/browser/download/save_package.cc base::FilePath name_with_proper_ext = base::FilePath::FromUTF16Unsafe(title_); base 1227 content/browser/download/save_package.cc base::SplitString(page_url_.path(), '/', &url_parts); base 1240 content/browser/download/save_package.cc name_with_proper_ext = base::FilePath::FromUTF8Unsafe(url_path); base 1250 content/browser/download/save_package.cc base::FilePath::StringType file_name = name_with_proper_ext.value(); base 1252 content/browser/download/save_package.cc return base::FilePath(file_name); base 1255 content/browser/download/save_package.cc base::FilePath SavePackage::EnsureHtmlExtension(const base::FilePath& name) { base 1258 content/browser/download/save_package.cc base::FilePath::StringType ext = name.Extension(); base 1264 content/browser/download/save_package.cc return base::FilePath(name.value() + FILE_PATH_LITERAL(".") + base 1270 content/browser/download/save_package.cc base::FilePath SavePackage::EnsureMimeExtension(const base::FilePath& name, base 1273 content/browser/download/save_package.cc base::FilePath::StringType ext = name.Extension().length() ? base 1275 content/browser/download/save_package.cc base::FilePath::StringType suggested_extension = base 1281 content/browser/download/save_package.cc return base::FilePath(name.value() + FILE_PATH_LITERAL(".") + base 1287 content/browser/download/save_package.cc const base::FilePath::CharType* SavePackage::ExtensionForMimeType( base 1290 content/browser/download/save_package.cc const base::FilePath::CharType *mime_type; base 1291 content/browser/download/save_package.cc const base::FilePath::CharType *suggested_extension; base 1300 content/browser/download/save_package.cc base::FilePath::StringType mime_type(contents_mime_type); base 1302 content/browser/download/save_package.cc base::FilePath::StringType mime_type(base::UTF8ToWide(contents_mime_type)); base 1318 content/browser/download/save_package.cc base::FilePath website_save_dir, download_save_dir; base 1333 content/browser/download/save_package.cc base::Bind(&SavePackage::CreateDirectoryOnFileThread, this, base 1339 content/browser/download/save_package.cc const base::FilePath& website_save_dir, base 1340 content/browser/download/save_package.cc const base::FilePath& download_save_dir, base 1344 content/browser/download/save_package.cc base::FilePath save_dir; base 1347 content/browser/download/save_package.cc if (!skip_dir_check && !base::DirectoryExists(website_save_dir)) { base 1349 content/browser/download/save_package.cc if (!base::DirectoryExists(download_save_dir)) { base 1350 content/browser/download/save_package.cc bool res = base::CreateDirectory(download_save_dir); base 1360 content/browser/download/save_package.cc base::FilePath suggested_filename = GetSuggestedNameForSaveAs( base 1362 content/browser/download/save_package.cc base::FilePath::StringType pure_file_name = base 1364 content/browser/download/save_package.cc base::FilePath::StringType file_name_ext = suggested_filename.Extension(); base 1381 content/browser/download/save_package.cc base::Bind(&SavePackage::ContinueGetSaveInfo, this, save_dir, base 1385 content/browser/download/save_package.cc void SavePackage::ContinueGetSaveInfo(const base::FilePath& suggested_path, base 1394 content/browser/download/save_package.cc base::FilePath::StringType default_extension; base 1403 content/browser/download/save_package.cc base::Bind(&SavePackage::OnPathPicked, AsWeakPtr())); base 1407 content/browser/download/save_package.cc const base::FilePath& final_name, base 55 content/browser/download/save_package.h : public base::RefCountedThreadSafe<SavePackage>, base 58 content/browser/download/save_package.h public base::SupportsWeakPtr<SavePackage> { base 77 content/browser/download/save_package.h static const base::FilePath::CharType kDefaultHtmlExtension[]; base 89 content/browser/download/save_package.h const base::FilePath& file_full_path, base 90 content/browser/download/save_package.h const base::FilePath& directory_full_path); base 125 content/browser/download/save_package.h friend class base::RefCountedThreadSafe<SavePackage>; base 136 content/browser/download/save_package.h const base::FilePath& file_full_path, base 137 content/browser/download/save_package.h const base::FilePath& directory_full_path); base 165 content/browser/download/save_package.h static uint32 GetMaxPathLengthForDirectory(const base::FilePath& base_dir); base 168 content/browser/download/save_package.h const base::FilePath& dir_path, base 169 content/browser/download/save_package.h const base::FilePath::StringType& file_name_ext, base 171 content/browser/download/save_package.h base::FilePath::StringType* pure_file_name); base 177 content/browser/download/save_package.h base::FilePath::StringType* generated_name); base 195 content/browser/download/save_package.h void CreateDirectoryOnFileThread(const base::FilePath& website_save_dir, base 196 content/browser/download/save_package.h const base::FilePath& download_save_dir, base 200 content/browser/download/save_package.h void ContinueGetSaveInfo(const base::FilePath& suggested_path, base 203 content/browser/download/save_package.h const base::FilePath& final_name, base 215 content/browser/download/save_package.h typedef base::hash_map<std::string, SaveItem*> SaveUrlItemMap; base 242 content/browser/download/save_package.h base::FilePath GetSuggestedNameForSaveAs( base 249 content/browser/download/save_package.h static base::FilePath EnsureHtmlExtension(const base::FilePath& name); base 253 content/browser/download/save_package.h static base::FilePath EnsureMimeExtension(const base::FilePath& name, base 258 content/browser/download/save_package.h static const base::FilePath::CharType* ExtensionForMimeType( base 265 content/browser/download/save_package.h typedef base::hash_map<int32, SaveItem*> SavedItemMap; base 278 content/browser/download/save_package.h base::FilePath saved_main_file_path_; base 279 content/browser/download/save_package.h base::FilePath saved_main_directory_path_; base 282 content/browser/download/save_package.h base::string16 title_; base 285 content/browser/download/save_package.h base::TimeTicks start_tick_; base 305 content/browser/download/save_package.h typedef std::set<base::FilePath::StringType, base 306 content/browser/download/save_package.h bool (*)(const base::FilePath::StringType&, base 307 content/browser/download/save_package.h const base::FilePath::StringType&)> FileNameSet; base 311 content/browser/download/save_package.h typedef base::hash_map<base::FilePath::StringType, uint32> FileNameCountMap; base 24 content/browser/download/save_package_browsertest.cc base::FilePath* full_file_name, base 25 content/browser/download/save_package_browsertest.cc base::FilePath* dir) { base 31 content/browser/download/save_package_browsertest.cc base::ScopedTempDir save_dir_; base 40 content/browser/download/save_package_browsertest.cc base::FilePath full_file_name, dir; base 54 content/browser/download/save_package_browsertest.cc base::FilePath full_file_name, dir; base 49 content/browser/download/save_package_unittest.cc bool HasOrdinalNumber(const base::FilePath::StringType& filename) { base 50 content/browser/download/save_package_unittest.cc base::FilePath::StringType::size_type r_paren_index = base 52 content/browser/download/save_package_unittest.cc base::FilePath::StringType::size_type l_paren_index = base 57 content/browser/download/save_package_unittest.cc for (base::FilePath::StringType::size_type i = l_paren_index + 1; base 74 content/browser/download/save_package_unittest.cc base::FilePath::StringType* generated_name) { base 84 content/browser/download/save_package_unittest.cc base::FilePath EnsureHtmlExtension(const base::FilePath& name) { base 88 content/browser/download/save_package_unittest.cc base::FilePath EnsureMimeExtension(const base::FilePath& name, base 127 content/browser/download/save_package_unittest.cc base::ScopedTempDir temp_dir_; base 133 content/browser/download/save_package_unittest.cc const base::FilePath::CharType* expected_name; base 180 content/browser/download/save_package_unittest.cc base::FilePath::StringType file_name; base 193 content/browser/download/save_package_unittest.cc base::FilePath::StringType file_name; base 214 content/browser/download/save_package_unittest.cc base::FilePath::StringType filename; base 228 content/browser/download/save_package_unittest.cc base::FilePath::StringType filename2; base 243 content/browser/download/save_package_unittest.cc const base::FilePath save_dir(FPL("test_dir")); base 244 content/browser/download/save_package_unittest.cc const base::FilePath::StringType ext(FPL_HTML_EXTENSION); base 245 content/browser/download/save_package_unittest.cc base::FilePath::StringType filename = base 247 content/browser/download/save_package_unittest.cc base::ASCIIToWide(long_file_name); base 260 content/browser/download/save_package_unittest.cc const base::FilePath::CharType* page_title; base 261 content/browser/download/save_package_unittest.cc const base::FilePath::CharType* expected_name; base 286 content/browser/download/save_package_unittest.cc base::FilePath original = base::FilePath(kExtensionTestCases[i].page_title); base 287 content/browser/download/save_package_unittest.cc base::FilePath expected = base 288 content/browser/download/save_package_unittest.cc base::FilePath(kExtensionTestCases[i].expected_name); base 289 content/browser/download/save_package_unittest.cc base::FilePath actual = EnsureHtmlExtension(original); base 303 content/browser/download/save_package_unittest.cc const base::FilePath::CharType* page_title; base 304 content/browser/download/save_package_unittest.cc const base::FilePath::CharType* expected_name; base 331 content/browser/download/save_package_unittest.cc base::FilePath original = base::FilePath(kExtensionTests[i].page_title); base 332 content/browser/download/save_package_unittest.cc base::FilePath expected = base::FilePath(kExtensionTests[i].expected_name); base 334 content/browser/download/save_package_unittest.cc base::FilePath actual = EnsureMimeExtension(original, mime_type); base 349 content/browser/download/save_package_unittest.cc const base::string16 page_title; base 350 content/browser/download/save_package_unittest.cc const base::FilePath::CharType* expected_name; base 355 content/browser/download/save_package_unittest.cc base::ASCIIToUTF16("A page title"), base 361 content/browser/download/save_package_unittest.cc base::ASCIIToUTF16("A page title with.ext"), base 367 content/browser/download/save_package_unittest.cc base::ASCIIToUTF16("foo.com/bar"), base 374 content/browser/download/save_package_unittest.cc base::ASCIIToUTF16("foo.com"), base 380 content/browser/download/save_package_unittest.cc base::ASCIIToUTF16("foo.com/bar"), base 386 content/browser/download/save_package_unittest.cc base::ASCIIToUTF16("http://www.foo.com/path/title.txt"), base 401 content/browser/download/save_package_unittest.cc new SavePackage(contents(), base::FilePath(), base::FilePath())); base 405 content/browser/download/save_package_unittest.cc base::FilePath save_name = save_package->GetSuggestedNameForSaveAs( base 413 content/browser/download/save_package_unittest.cc static const base::FilePath::CharType* kTestDir = base 418 content/browser/download/save_package_unittest.cc base::FilePath file_name(FILE_PATH_LITERAL("a.htm")); base 420 content/browser/download/save_package_unittest.cc base::FilePath(kTestDir).Append(file_name)); base 430 content/browser/download/save_package_unittest.cc base::FilePath file_name(FILE_PATH_LITERAL("a.htm")); base 432 content/browser/download/save_package_unittest.cc base::FilePath(kTestDir).Append(file_name)); base 434 content/browser/download/save_package_unittest.cc base::FilePath(kTestDir).Append(file_name)); base 9 content/browser/download/save_types.cc SaveFileCreateInfo::SaveFileCreateInfo(const base::FilePath& path, base 17 content/browser/download/save_types.h typedef std::vector<std::pair<int, base::FilePath> > FinalNameList; base 36 content/browser/download/save_types.h SaveFileCreateInfo(const base::FilePath& path, base 47 content/browser/download/save_types.h base::FilePath path; base 114 content/browser/fileapi/blob_url_request_job_unittest.cc base::MessageLoop::current()->Quit(); base 135 content/browser/fileapi/blob_url_request_job_unittest.cc base::MessageLoopProxy::current().get()); base 151 content/browser/fileapi/blob_url_request_job_unittest.cc base::WriteFile(temp_file1_, kTestFileData1, base 153 content/browser/fileapi/blob_url_request_job_unittest.cc base::File::Info file_info1; base 154 content/browser/fileapi/blob_url_request_job_unittest.cc base::GetFileInfo(temp_file1_, &file_info1); base 159 content/browser/fileapi/blob_url_request_job_unittest.cc base::WriteFile(temp_file2_, kTestFileData2, base 161 content/browser/fileapi/blob_url_request_job_unittest.cc base::File::Info file_info2; base 162 content/browser/fileapi/blob_url_request_job_unittest.cc base::GetFileInfo(temp_file2_, &file_info2); base 182 content/browser/fileapi/blob_url_request_job_unittest.cc base::Bind(&BlobURLRequestJobTest::OnValidateFileSystem, base 183 content/browser/fileapi/blob_url_request_job_unittest.cc base::Unretained(this))); base 184 content/browser/fileapi/blob_url_request_job_unittest.cc base::RunLoop().RunUntilIdle(); base 206 content/browser/fileapi/blob_url_request_job_unittest.cc base::Time* modification_time) { base 211 content/browser/fileapi/blob_url_request_job_unittest.cc base::FilePath().AppendASCII(filename)); base 213 content/browser/fileapi/blob_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 217 content/browser/fileapi/blob_url_request_job_unittest.cc base::File::Info file_info; base 218 content/browser/fileapi/blob_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 227 content/browser/fileapi/blob_url_request_job_unittest.cc base::File::Error result) { base 228 content/browser/fileapi/blob_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); base 257 content/browser/fileapi/blob_url_request_job_unittest.cc base::MessageLoop::current()->Run(); base 290 content/browser/fileapi/blob_url_request_job_unittest.cc int64 length = base::checked_cast<int64>(it->length()); base 298 content/browser/fileapi/blob_url_request_job_unittest.cc base::ScopedTempDir temp_dir_; base 299 content/browser/fileapi/blob_url_request_job_unittest.cc base::FilePath temp_file1_; base 300 content/browser/fileapi/blob_url_request_job_unittest.cc base::FilePath temp_file2_; base 301 content/browser/fileapi/blob_url_request_job_unittest.cc base::Time temp_file_modification_time1_; base 302 content/browser/fileapi/blob_url_request_job_unittest.cc base::Time temp_file_modification_time2_; base 306 content/browser/fileapi/blob_url_request_job_unittest.cc base::Time temp_file_system_file_modification_time1_; base 307 content/browser/fileapi/blob_url_request_job_unittest.cc base::Time temp_file_system_file_modification_time2_; base 309 content/browser/fileapi/blob_url_request_job_unittest.cc base::MessageLoopForIO message_loop_; base 327 content/browser/fileapi/blob_url_request_job_unittest.cc blob_data_->AppendFile(temp_file1_, 0, -1, base::Time()); base 332 content/browser/fileapi/blob_url_request_job_unittest.cc base::FilePath large_temp_file = base 339 content/browser/fileapi/blob_url_request_job_unittest.cc base::WriteFile(large_temp_file, large_data.data(), base 341 content/browser/fileapi/blob_url_request_job_unittest.cc blob_data_->AppendFile(large_temp_file, 0, -1, base::Time()); base 346 content/browser/fileapi/blob_url_request_job_unittest.cc base::FilePath non_existent_file = base 348 content/browser/fileapi/blob_url_request_job_unittest.cc blob_data_->AppendFile(non_existent_file, 0, -1, base::Time()); base 353 content/browser/fileapi/blob_url_request_job_unittest.cc base::Time old_time = base 354 content/browser/fileapi/blob_url_request_job_unittest.cc temp_file_modification_time1_ - base::TimeDelta::FromSeconds(10); base 368 content/browser/fileapi/blob_url_request_job_unittest.cc base::Time()); base 384 content/browser/fileapi/blob_url_request_job_unittest.cc base::Time()); base 391 content/browser/fileapi/blob_url_request_job_unittest.cc blob_data_->AppendFileSystemFile(non_existent_file, 0, -1, base::Time()); base 397 content/browser/fileapi/blob_url_request_job_unittest.cc base::Time old_time = base 399 content/browser/fileapi/blob_url_request_job_unittest.cc base::TimeDelta::FromSeconds(10); base 53 content/browser/fileapi/browser_file_system_helper.cc const base::FilePath& profile_path, base 57 content/browser/fileapi/browser_file_system_helper.cc base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); base 58 content/browser/fileapi/browser_file_system_helper.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner = base 61 content/browser/fileapi/browser_file_system_helper.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 112 content/browser/fileapi/browser_file_system_helper.cc base::FilePath* platform_path) { base 116 content/browser/fileapi/browser_file_system_helper.cc *platform_path = base::FilePath(); base 27 content/browser/fileapi/browser_file_system_helper.h const base::FilePath& profile_path, base 40 content/browser/fileapi/browser_file_system_helper.h base::FilePath* platform_path); base 12 content/browser/fileapi/chrome_blob_storage_context.cc using base::UserDataAdapter; base 33 content/browser/fileapi/chrome_blob_storage_context.cc base::Bind(&ChromeBlobStorageContext::InitializeOnIOThread, blob)); base 29 content/browser/fileapi/chrome_blob_storage_context.h : public base::RefCountedThreadSafe<ChromeBlobStorageContext, base 47 content/browser/fileapi/chrome_blob_storage_context.h friend class base::DeleteHelper<ChromeBlobStorageContext>; base 48 content/browser/fileapi/chrome_blob_storage_context.h friend class base::RefCountedThreadSafe<ChromeBlobStorageContext, base 39 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error error) { base 40 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 55 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::RunLoop().RunUntilIdle(); base 60 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::FilePath base_dir = base_.path(); base 74 content/browser/fileapi/copy_or_move_file_validator_unittest.cc FileSystemURL::CreateForTest(origin_, src_type_, base::FilePath()), base 76 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::Bind(&ExpectOk)); base 77 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::RunLoop().RunUntilIdle(); base 78 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, CreateDirectory(SourceURL(""))); base 82 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, CreateDirectory(DestURL(""))); base 89 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, CreateFile(copy_src_, 10)); base 90 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, CreateFile(move_src_, 10)); base 105 content/browser/fileapi/copy_or_move_file_validator_unittest.cc void CopyTest(base::File::Error expected) { base 114 content/browser/fileapi/copy_or_move_file_validator_unittest.cc if (expected == base::File::FILE_OK) base 120 content/browser/fileapi/copy_or_move_file_validator_unittest.cc void MoveTest(base::File::Error expected) { base 128 content/browser/fileapi/copy_or_move_file_validator_unittest.cc if (expected == base::File::FILE_OK) { base 141 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::FilePath().AppendASCII("src").AppendASCII(path)); base 147 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::FilePath().AppendASCII("dest").AppendASCII(path)); base 150 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error CreateFile(const FileSystemURL& url, size_t size) { base 151 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error result = base 153 content/browser/fileapi/copy_or_move_file_validator_unittest.cc if (result != base::File::FILE_OK) base 159 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error CreateDirectory(const FileSystemURL& url) { base 169 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::ScopedTempDir base_; base 178 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::MessageLoop message_loop_; base 207 content/browser/fileapi/copy_or_move_file_validator_unittest.cc const base::FilePath& /*platform_path*/) OVERRIDE { base 216 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::FILE_OK : base 217 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::FILE_ERROR_SECURITY), base 219 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::FILE_OK : base 220 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::FILE_ERROR_SECURITY) { base 227 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::MessageLoop::current()->PostTask( base 228 content/browser/fileapi/copy_or_move_file_validator_unittest.cc FROM_HERE, base::Bind(result_callback, result_)); base 232 content/browser/fileapi/copy_or_move_file_validator_unittest.cc const base::FilePath& dest_platform_path, base 235 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::MessageLoop::current()->PostTask( base 236 content/browser/fileapi/copy_or_move_file_validator_unittest.cc FROM_HERE, base::Bind(result_callback, write_result_)); base 240 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error result_; base 241 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error write_result_; base 260 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_OK); base 261 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_OK); base 271 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_ERROR_SECURITY); base 272 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_ERROR_SECURITY); base 284 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_OK); base 285 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_OK); base 297 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_ERROR_SECURITY); base 298 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_ERROR_SECURITY); base 315 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_ERROR_SECURITY); base 316 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_ERROR_SECURITY); base 328 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_ERROR_SECURITY); base 329 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_ERROR_SECURITY); base 48 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error error) { base 49 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 60 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc const base::FilePath& /*platform_path*/) OVERRIDE { base 71 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc : result_(pre_copy_valid ? base::File::FILE_OK : base 72 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::FILE_ERROR_SECURITY), base 73 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc write_result_(post_copy_valid ? base::File::FILE_OK : base 74 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::FILE_ERROR_SECURITY), base 82 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::MessageLoop::current()->PostTask( base 83 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc FROM_HERE, base::Bind(result_callback, result_)); base 87 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc const base::FilePath& dest_platform_path, base 89 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result = write_result_; base 92 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc result = base::File::FILE_ERROR_SECURITY; base 95 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::MessageLoop::current()->PostTask( base 96 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc FROM_HERE, base::Bind(result_callback, result)); base 100 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result_; base 101 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error write_result_; base 134 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc void AssignAndQuit(base::RunLoop* run_loop, base 135 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error* result_out, base 136 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result) { base 143 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ScopedThreadStopper(base::Thread* thread) : thread_(thread) { base 149 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::RunLoop run_loop; base 151 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc FROM_HERE, base::Bind(&base::DoNothing), run_loop.QuitClosure()); base 160 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Thread* thread_; base 181 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 195 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::FilePath base_dir = base_.path(); base 199 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::MessageLoopProxy::current().get(), base 200 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::MessageLoopProxy::current().get(), base 203 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc quota_manager_.get(), base::MessageLoopProxy::current().get()); base 211 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc FileSystemURL::CreateForTest(origin_, src_type_, base::FilePath()), base 213 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Bind(&ExpectOk)); base 226 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc FileSystemURL::CreateForTest(origin_, dest_type_, base::FilePath()), base 228 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Bind(&ExpectOk)); base 229 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 256 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc origin_, src_type_, base::FilePath::FromUTF8Unsafe(path)); base 261 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc origin_, dest_type_, base::FilePath::FromUTF8Unsafe(path)); base 264 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error Copy(const FileSystemURL& src, base 269 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error CopyWithProgress( base 277 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error Move(const FileSystemURL& src, base 282 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error SetUpTestCaseFiles( base 286 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 297 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result) << url.DebugString(); base 298 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc if (result != base::File::FILE_OK) base 308 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc std::map<base::FilePath, const FileSystemTestCaseRecord*> test_case_map; base 311 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::FilePath(test_cases[i].path).NormalizePathSeparators()] = base 321 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, ReadDirectory(dir, &entries)); base 327 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::FilePath relative; base 342 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc std::map<base::FilePath, base 349 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error ReadDirectory(const FileSystemURL& url, base 355 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error CreateDirectory(const FileSystemURL& url) { base 360 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error CreateFile(const FileSystemURL& url, size_t size) { base 361 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result = base 363 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc if (result != base::File::FILE_OK) base 387 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::ScopedTempDir base_; base 393 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::MessageLoopForIO message_loop_; base 413 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateFile(src, 10)); base 417 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Copy(src, dest)); base 442 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateFile(src, 10)); base 446 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Move(src, dest)); base 471 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); base 475 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Copy(src, dest)); base 500 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); base 504 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Move(src, dest)); base 529 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); base 530 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 537 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 569 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); base 570 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 577 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Move(src, dest)); base 605 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); base 606 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 638 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateFile(src, 10)); base 643 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_SECURITY, helper.Copy(src, dest)); base 656 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); base 657 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 663 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 665 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Bind(&RecordProgressCallback, base 666 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Unretained(&records)))); base 673 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc std::string("a/") + base::FilePath(test_case.path).AsUTF8Unsafe()); base 675 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc std::string("b/") + base::FilePath(test_case.path).AsUTF8Unsafe()); base 718 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::ScopedTempDir temp_dir; base 720 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::FilePath source_path = temp_dir.path().AppendASCII("source"); base 721 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::FilePath dest_path = temp_dir.path().AppendASCII("dest"); base 723 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::WriteFile(source_path, kTestData, base 726 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::MessageLoopForIO message_loop; base 727 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Thread file_thread("file_thread"); base 732 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc scoped_refptr<base::MessageLoopProxy> task_runner = base 737 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc task_runner.get(), source_path, 0, base::Time())); base 747 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Bind(&RecordFileProgressCallback, base::Unretained(&progress)), base 748 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::TimeDelta()); // For testing, we need all the progress. base 750 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 751 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::RunLoop run_loop; base 752 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc helper.Run(base::Bind(&AssignAndQuit, &run_loop, &error)); base 755 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 764 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_TRUE(base::ReadFileToString(dest_path, &content)); base 773 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::ScopedTempDir temp_dir; base 775 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::FilePath source_path = temp_dir.path().AppendASCII("source"); base 776 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::FilePath dest_path = temp_dir.path().AppendASCII("dest"); base 778 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::WriteFile(source_path, kTestData, base 782 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::MessageLoopForIO message_loop; base 783 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Thread file_thread("file_thread"); base 788 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc scoped_refptr<base::MessageLoopProxy> task_runner = base 793 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc task_runner.get(), source_path, 0, base::Time())); base 803 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Bind(&RecordFileProgressCallback, base::Unretained(&progress)), base 804 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::TimeDelta()); // For testing, we need all the progress. base 806 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 807 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::RunLoop run_loop; base 808 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc helper.Run(base::Bind(&AssignAndQuit, &run_loop, &error)); base 811 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 820 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_TRUE(base::ReadFileToString(dest_path, &content)); base 825 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::ScopedTempDir temp_dir; base 827 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::FilePath source_path = temp_dir.path().AppendASCII("source"); base 828 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::FilePath dest_path = temp_dir.path().AppendASCII("dest"); base 830 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::WriteFile(source_path, kTestData, base 833 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::MessageLoopForIO message_loop; base 834 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Thread file_thread("file_thread"); base 839 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc scoped_refptr<base::MessageLoopProxy> task_runner = base 844 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc task_runner.get(), source_path, 0, base::Time())); base 854 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Bind(&RecordFileProgressCallback, base::Unretained(&progress)), base 855 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::TimeDelta()); // For testing, we need all the progress. base 858 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::MessageLoopProxy::current()->PostTask( base 860 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Bind(&CopyOrMoveOperationDelegate::StreamCopyHelper::Cancel, base 861 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::Unretained(&helper))); base 863 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 864 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::RunLoop run_loop; base 865 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc helper.Run(base::Bind(&AssignAndQuit, &run_loop, &error)); base 868 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_ABORT, error); base 45 content/browser/fileapi/dragged_file_util_unittest.cc static const base::FilePath::CharType* kRootPaths[] = { base 51 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath GetTopLevelPath(const base::FilePath& path) { base 52 content/browser/fileapi/dragged_file_util_unittest.cc std::vector<base::FilePath::StringType> components; base 54 content/browser/fileapi/dragged_file_util_unittest.cc return base::FilePath(components[0]); base 59 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 66 content/browser/fileapi/dragged_file_util_unittest.cc const base::FilePath::StringType& name) { base 73 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath GetRelativeVirtualPath(const FileSystemURL& root, base 77 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath relative; base 124 content/browser/fileapi/dragged_file_util_unittest.cc const base::FilePath& root_path() const { base 133 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath GetTestCasePlatformPath( base 134 content/browser/fileapi/dragged_file_util_unittest.cc const base::FilePath::StringType& path) { base 135 content/browser/fileapi/dragged_file_util_unittest.cc return toplevel_root_map_[GetTopLevelPath(base::FilePath(path))] base 139 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath GetTestCaseLocalPath(const base::FilePath& path) { base 140 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath relative; base 146 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL GetFileSystemURL(const base::FilePath& path) const { base 147 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath virtual_path = isolated_context()->CreateVirtualRootPath( base 155 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL GetOtherFileSystemURL(const base::FilePath& path) const { base 159 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath().AppendASCII("dest").Append(path)); base 165 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info1; base 166 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 169 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath platform_path1; base 170 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 175 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info2; base 176 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 179 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath platform_path2; base 180 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 191 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_TRUE(base::ReadFileToString(platform_path1, &content1)); base 192 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_TRUE(base::ReadFileToString(platform_path2, &content2)); base 198 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath root_path1 = root1.path(); base 199 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath root_path2 = root2.path(); base 205 content/browser/fileapi/dragged_file_util_unittest.cc std::set<base::FilePath> file_set1; base 210 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 229 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 243 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath relative = GetRelativeVirtualPath(root2, url2); base 264 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath path(test_case.path); base 265 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath toplevel = GetTopLevelPath(path); base 270 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath root = root_path().Append( base 283 content/browser/fileapi/dragged_file_util_unittest.cc base::ScopedTempDir data_dir_; base 284 content/browser/fileapi/dragged_file_util_unittest.cc base::ScopedTempDir partition_dir_; base 285 content/browser/fileapi/dragged_file_util_unittest.cc base::MessageLoopForIO message_loop_; base 288 content/browser/fileapi/dragged_file_util_unittest.cc std::map<base::FilePath, base::FilePath> toplevel_root_map_; base 299 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL url = GetFileSystemURL(base::FilePath(test_case.path)); base 304 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info; base 305 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath platform_path; base 307 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 336 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info; base 337 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_TRUE(base::GetFileInfo(root_path().Append(test_case.path), &info)); base 346 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL url = GetFileSystemURL(base::FilePath(test_case.path)); base 364 content/browser/fileapi/dragged_file_util_unittest.cc typedef std::map<base::FilePath::StringType, fileapi::DirectoryEntry> base 368 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath dir_path = GetTestCasePlatformPath(test_case.path); base 369 content/browser/fileapi/dragged_file_util_unittest.cc base::FileEnumerator file_enum( base 371 content/browser/fileapi/dragged_file_util_unittest.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); base 372 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath current; base 374 content/browser/fileapi/dragged_file_util_unittest.cc base::FileEnumerator::FileInfo file_info = file_enum.GetInfo(); base 386 content/browser/fileapi/dragged_file_util_unittest.cc base::CreateSymbolicLink( base 394 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL url = GetFileSystemURL(base::FilePath(test_case.path)); base 396 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 418 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL url = GetFileSystemURL(base::FilePath(test_case.path)); base 422 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath local_file_path; base 423 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 431 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL src_root = GetFileSystemURL(base::FilePath()); base 432 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL dest_root = GetOtherFileSystemURL(base::FilePath()); base 438 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 445 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 455 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 463 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 472 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL src_root = GetFileSystemURL(base::FilePath()); base 473 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL dest_root = GetOtherFileSystemURL(base::FilePath()); base 475 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 480 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 492 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 506 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL url = GetFileSystemURL(base::FilePath(test_case.path)); base 508 content/browser/fileapi/dragged_file_util_unittest.cc base::Time last_access_time = base::Time::FromTimeT(1000); base 509 content/browser/fileapi/dragged_file_util_unittest.cc base::Time last_modified_time = base::Time::FromTimeT(2000); base 511 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 517 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info; base 518 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath platform_path; base 519 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 535 content/browser/fileapi/dragged_file_util_unittest.cc FileSystemURL url = GetFileSystemURL(base::FilePath(test_case.path)); base 538 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info; base 539 content/browser/fileapi/dragged_file_util_unittest.cc base::FilePath platform_path; base 540 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 542 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 548 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 550 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 68 content/browser/fileapi/file_system_browsertest.cc base::Bind(&FileSystemBrowserTestWithLowQuota::SetTempQuota, bytes, base 75 content/browser/fileapi/file_system_browsertest.cc scoped_refptr<base::ThreadTestHelper> helper(new base::ThreadTestHelper( base 42 content/browser/fileapi/file_system_context_unittest.cc std::string url_str = base::StringPrintf( base 61 content/browser/fileapi/file_system_context_unittest.cc base::MessageLoopProxy::current().get(), base 62 content/browser/fileapi/file_system_context_unittest.cc base::MessageLoopProxy::current().get(), base 70 content/browser/fileapi/file_system_context_unittest.cc base::MessageLoopProxy::current().get(), base 71 content/browser/fileapi/file_system_context_unittest.cc base::MessageLoopProxy::current().get(), base 86 content/browser/fileapi/file_system_context_unittest.cc const base::FilePath& expect_path, base 87 content/browser/fileapi/file_system_context_unittest.cc const base::FilePath& expect_virtual_path, base 100 content/browser/fileapi/file_system_context_unittest.cc base::ScopedTempDir data_dir_; base 101 content/browser/fileapi/file_system_context_unittest.cc base::MessageLoop message_loop_; base 118 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/isolated/root")), base 125 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/sys/")))); base 135 content/browser/fileapi/file_system_context_unittest.cc base::FilePath( base 137 content/browser/fileapi/file_system_context_unittest.cc base::FilePath::FromUTF8Unsafe(isolated_id).Append(FPL("root/file")). base 149 content/browser/fileapi/file_system_context_unittest.cc base::FilePath( base 151 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(FPL("system/root/file")).NormalizePathSeparators(), base 169 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/sys/")))); base 187 content/browser/fileapi/file_system_context_unittest.cc base::FilePath( base 189 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(FPL("system/root/file")).NormalizePathSeparators(), base 207 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/isolated/root")), base 214 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/sys/")))); base 219 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/ext")))); base 226 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/system/isolated")))); base 233 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/local/ext/")))); base 236 content/browser/fileapi/file_system_context_unittest.cc const base::FilePath kVirtualPathNoRoot = base::FilePath(FPL("root/file")); base 247 content/browser/fileapi/file_system_context_unittest.cc const base::FilePath::CharType* expect_path; base 311 content/browser/fileapi/file_system_context_unittest.cc const base::FilePath virtual_path = base 312 content/browser/fileapi/file_system_context_unittest.cc base::FilePath::FromUTF8Unsafe( base 331 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(kTestCases[i].expect_path).NormalizePathSeparators(), base 337 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/isolated/root"))); base 361 content/browser/fileapi/file_system_context_unittest.cc base::FilePath(DRIVE FPL("/test/isolated/root")), base 373 content/browser/fileapi/file_system_context_unittest.cc base::FilePath())); base 56 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc const base::Callback<void(base::File::Error result)>& callback) { base 60 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc std::vector<base::FilePath::StringType> components; base 62 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc std::string mount_point = base::FilePath(components[0]).AsUTF8Unsafe(); base 67 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc fileapi::FileSystemMountOption(), base::FilePath()); base 68 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc callback.Run(base::File::FILE_OK); base 70 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 93 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::Bind(&FileSystemDirURLRequestJobTest::OnOpenFileSystem, base 95 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::RunLoop().RunUntilIdle(); base 110 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc void SetUpAutoMountContext(base::FilePath* mnt_point) { base 112 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_TRUE(base::CreateDirectory(*mnt_point)); base 116 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::MessageLoopProxy::current().get(), *mnt_point)); base 119 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc handlers.push_back(base::Bind(&TestAutoMountForURLRequest)); base 127 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::File::Error result) { base 128 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); base 143 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::MessageLoop::current()->Run(); base 159 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc FileSystemURL CreateURL(const base::FilePath& file_path) { base 173 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc void CreateDirectory(const base::StringPiece& dir_name) { base 174 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::FilePath path = base::FilePath().AppendASCII(dir_name); base 176 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_util()->CreateDirectory( base 183 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc void EnsureFileExists(const base::StringPiece file_name) { base 184 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::FilePath path = base::FilePath().AppendASCII(file_name); base 186 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_util()->EnsureFileExists( base 190 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc void TruncateFile(const base::StringPiece file_name, int64 length) { base 191 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::FilePath path = base::FilePath().AppendASCII(file_name); base 193 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_util()->Truncate( base 197 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::File::Error GetFileInfo(const base::FilePath& path, base 198 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::File::Info* file_info, base 199 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::FilePath* platform_file_path) { base 232 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::Time date; base 235 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::UTF16ToUTF8(date_ustr.getBuffer(), date_ustr.length(), &date_str); base 236 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc EXPECT_TRUE(base::Time::FromString(date_str.c_str(), &date)); base 268 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::MessageLoopForIO message_loop_; base 270 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::ScopedTempDir temp_dir_; base 276 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::WeakPtrFactory<FileSystemDirURLRequestJobTest> weak_factory_; base 345 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, request_.release()); base 346 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::RunLoop().RunUntilIdle(); base 374 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::FilePath mnt_point; base 376 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_TRUE(base::CreateDirectory(mnt_point)); base 377 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_TRUE(base::CreateDirectory(mnt_point.AppendASCII("foo"))); base 379 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::WriteFile(mnt_point.AppendASCII("bar"), "1234567890", 10)); base 408 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::FilePath mnt_point; base 422 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::FilePath mnt_point; base 80 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::Bind(&OnOpenFileSystem)); base 81 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 88 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 95 content/browser/fileapi/file_system_file_stream_reader_unittest.cc const base::Time& expected_modification_time) { base 102 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::Time test_file_modification_time() const { base 109 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::Time* modification_time) { base 112 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 116 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::File::Info file_info; base 117 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 127 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::File::Error result) { base 128 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); base 135 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::FilePath().AppendASCII(file_name)); base 138 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::MessageLoopForIO message_loop_; base 139 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::ScopedTempDir temp_dir_; base 141 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::Time test_file_modification_time_; base 147 content/browser/fileapi/file_system_file_stream_reader_unittest.cc CreateFileReader(kFileName, 0, base::Time())); base 160 content/browser/fileapi/file_system_file_stream_reader_unittest.cc CreateFileReader(kFileName, 0, base::Time())); base 186 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::Time fake_expected_modification_time = base 187 content/browser/fileapi/file_system_file_stream_reader_unittest.cc test_file_modification_time() - base::TimeDelta::FromSeconds(10); base 198 content/browser/fileapi/file_system_file_stream_reader_unittest.cc reader.reset(CreateFileReader(kTestFileName, 0, base::Time())); base 207 content/browser/fileapi/file_system_file_stream_reader_unittest.cc CreateFileReader(kTestFileName, 3, base::Time())); base 228 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::Time fake_expected_modification_time = base 229 content/browser/fileapi/file_system_file_stream_reader_unittest.cc test_file_modification_time() - base::TimeDelta::FromSeconds(10); base 241 content/browser/fileapi/file_system_file_stream_reader_unittest.cc reader.reset(CreateFileReader(kTestFileName, 0, base::Time())); base 249 content/browser/fileapi/file_system_file_stream_reader_unittest.cc CreateFileReader(kTestFileName, 3, base::Time())); base 259 content/browser/fileapi/file_system_file_stream_reader_unittest.cc CreateFileReader(kTestFileName, 0, base::Time())); base 264 content/browser/fileapi/file_system_file_stream_reader_unittest.cc int rv = reader->Read(buf.get(), buf->size(), base::Bind(&NeverCalled)); base 48 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Error expected, base 49 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Error actual) { base 69 content/browser/fileapi/file_system_operation_impl_unittest.cc base::FilePath base_dir = base_.path().AppendASCII("filesystem"); base 73 content/browser/fileapi/file_system_operation_impl_unittest.cc base::MessageLoopProxy::current().get(), base 74 content/browser/fileapi/file_system_operation_impl_unittest.cc base::MessageLoopProxy::current().get(), base 77 content/browser/fileapi/file_system_operation_impl_unittest.cc quota_manager(), base::MessageLoopProxy::current().get()); base 95 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::File::Info& info() const { return info_; } base 96 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::FilePath& path() const { return path_; } base 134 content/browser/fileapi/file_system_operation_impl_unittest.cc base::FilePath PlatformPath(const std::string& path) { base 136 content/browser/fileapi/file_system_operation_impl_unittest.cc base::FilePath::FromUTF8Unsafe(path)); base 153 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 162 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 169 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Info info; base 170 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_TRUE(base::GetFileInfo(PlatformPath(path), &info)); base 176 content/browser/fileapi/file_system_operation_impl_unittest.cc return base::Bind(&FileSystemOperationImplTest::DidFinish, base 182 content/browser/fileapi/file_system_operation_impl_unittest.cc return base::Bind(&FileSystemOperationImplTest::DidReadDirectory, base 187 content/browser/fileapi/file_system_operation_impl_unittest.cc return base::Bind(&FileSystemOperationImplTest::DidGetMetadata, base 192 content/browser/fileapi/file_system_operation_impl_unittest.cc return base::Bind(&FileSystemOperationImplTest::DidCreateSnapshotFile, base 196 content/browser/fileapi/file_system_operation_impl_unittest.cc void DidFinish(base::File::Error status) { base 201 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Error status, base 208 content/browser/fileapi/file_system_operation_impl_unittest.cc void DidGetMetadata(base::File::Error status, base 209 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::File::Info& info) { base 215 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Error status, base 216 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::File::Info& info, base 217 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::FilePath& platform_path, base 237 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 248 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base 249 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::FILE_OK)); base 250 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 281 content/browser/fileapi/file_system_operation_impl_unittest.cc base::MessageLoop message_loop_; base 286 content/browser/fileapi/file_system_operation_impl_unittest.cc base::ScopedTempDir base_; base 292 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Info info_; base 293 content/browser/fileapi/file_system_operation_impl_unittest.cc base::FilePath path_; base 300 content/browser/fileapi/file_system_operation_impl_unittest.cc base::WeakPtrFactory<FileSystemOperationImplTest> weak_factory_; base 310 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 311 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 322 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 323 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); base 336 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 337 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); base 351 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 352 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, status()); base 365 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 366 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); base 376 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 377 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 388 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 389 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 405 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 406 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 421 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 422 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 441 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 442 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 461 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 462 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 481 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 482 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 498 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 499 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 511 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 512 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); base 526 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 527 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); base 542 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 543 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, status()); base 556 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 557 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); base 569 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 570 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 579 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 580 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 592 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 593 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, status()); base 605 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 606 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 621 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 622 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 638 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 639 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 659 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 660 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 679 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 681 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 703 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 705 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 716 content/browser/fileapi/file_system_operation_impl_unittest.cc base::FilePath src_local_disk_file_path; base 717 content/browser/fileapi/file_system_operation_impl_unittest.cc base::CreateTemporaryFile(&src_local_disk_file_path); base 720 content/browser/fileapi/file_system_operation_impl_unittest.cc base::WriteFile(src_local_disk_file_path, test_data, data_size); base 731 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 734 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 742 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(data_size, base::ReadFile(PlatformPath("dest/file"), base 749 content/browser/fileapi/file_system_operation_impl_unittest.cc base::FilePath src_local_disk_file_path; base 750 content/browser/fileapi/file_system_operation_impl_unittest.cc base::CreateTemporaryFile(&src_local_disk_file_path); base 752 content/browser/fileapi/file_system_operation_impl_unittest.cc base::WriteFile(src_local_disk_file_path, test_data, base 761 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 765 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, status()); base 772 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 773 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, status()); base 781 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 782 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 793 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 794 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 803 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 804 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 814 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 815 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 824 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 825 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, status()); base 834 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 835 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, status()); base 844 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 845 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 851 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 852 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 861 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 862 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 871 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 872 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 876 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 877 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 881 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 882 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 892 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 893 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 897 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 898 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 903 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 904 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 908 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 909 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 921 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 922 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_FILE, status()); base 926 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 927 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, status()); base 934 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 935 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 940 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 941 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, status()); base 955 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 956 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 973 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 974 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 988 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 989 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, status()); base 998 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 999 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 1017 content/browser/fileapi/file_system_operation_impl_unittest.cc CreateFile(base::StringPrintf("dir/file-%d", i)); base 1020 content/browser/fileapi/file_system_operation_impl_unittest.cc CreateFile(base::StringPrintf("dir/child_dir/file-%d", i)); base 1024 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1025 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 1035 content/browser/fileapi/file_system_operation_impl_unittest.cc base::FilePath platform_path = PlatformPath("file"); base 1040 content/browser/fileapi/file_system_operation_impl_unittest.cc base::WriteFile(platform_path, test_data, data_size)); base 1044 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1045 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 1052 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1053 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 1062 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(length, base::ReadFile(platform_path, data, length)); base 1073 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1074 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 1081 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(length, base::ReadFile(platform_path, data, length)); base 1098 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1099 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 1106 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1107 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, status()); base 1115 content/browser/fileapi/file_system_operation_impl_unittest.cc base::FilePath platform_path = PlatformPath("file"); base 1117 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Info info; base 1118 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_TRUE(base::GetFileInfo(platform_path, &info)); base 1121 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::Time last_modified = info.last_modified; base 1122 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::Time last_accessed = info.last_accessed; base 1124 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::Time new_modified_time = base::Time::UnixEpoch(); base 1125 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::Time new_accessed_time = new_modified_time + base 1126 content/browser/fileapi/file_system_operation_impl_unittest.cc base::TimeDelta::FromHours(77); base 1132 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1133 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 1136 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_TRUE(base::GetFileInfo(platform_path, &info)); base 1151 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1152 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 1159 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1160 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 1187 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1190 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1193 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1196 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1197 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1205 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1206 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1240 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1243 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1246 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1249 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1250 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1265 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1266 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1281 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); base 1282 content/browser/fileapi/file_system_operation_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 46 content/browser/fileapi/file_system_operation_impl_write_unittest.cc void AssertStatusEq(base::File::Error expected, base 47 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error actual) { base 57 content/browser/fileapi/file_system_operation_impl_write_unittest.cc : status_(base::File::FILE_OK), base 58 content/browser/fileapi/file_system_operation_impl_write_unittest.cc cancel_status_(base::File::FILE_ERROR_FAILED), base 72 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoopProxy::current().get(), base 73 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoopProxy::current().get(), base 75 content/browser/fileapi/file_system_operation_impl_write_unittest.cc virtual_path_ = base::FilePath(FILE_PATH_LITERAL("temporary file")); base 84 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::Bind(&AssertStatusEq, base::File::FILE_OK)); base 94 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::RunLoop().RunUntilIdle(); base 97 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error status() const { return status_; } base 98 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error cancel_status() const { return cancel_status_; } base 116 content/browser/fileapi/file_system_operation_impl_write_unittest.cc FileSystemURL URLForPath(const base::FilePath& path) const { base 123 content/browser/fileapi/file_system_operation_impl_write_unittest.cc return base::Bind(&FileSystemOperationImplWriteTest::DidWrite, base 128 content/browser/fileapi/file_system_operation_impl_write_unittest.cc return base::Bind(&FileSystemOperationImplWriteTest::DidCancel, base 132 content/browser/fileapi/file_system_operation_impl_write_unittest.cc void DidWrite(base::File::Error status, int64 bytes, bool complete) { base 133 content/browser/fileapi/file_system_operation_impl_write_unittest.cc if (status == base::File::FILE_OK) { base 136 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoop::current()->Quit(); base 139 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(status_, base::File::FILE_OK); base 142 content/browser/fileapi/file_system_operation_impl_write_unittest.cc if (base::MessageLoop::current()->is_running()) base 143 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoop::current()->Quit(); base 147 content/browser/fileapi/file_system_operation_impl_write_unittest.cc void DidCancel(base::File::Error status) { base 158 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoopForIO loop_; base 160 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::ScopedTempDir dir_; base 161 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::FilePath virtual_path_; base 164 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error status_; base 165 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error cancel_status_; base 174 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::WeakPtrFactory<FileSystemOperationImplWriteTest> weak_factory_; base 187 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoop::current()->Run(); base 190 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 201 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoop::current()->Run(); base 204 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); base 216 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoop::current()->Run(); base 219 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_FAILED, status()); base 230 content/browser/fileapi/file_system_operation_impl_write_unittest.cc URLForPath(base::FilePath(FILE_PATH_LITERAL("nonexist"))), base 232 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoop::current()->Run(); base 235 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); base 242 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::FilePath virtual_dir_path(FILE_PATH_LITERAL("d")); base 246 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::Bind(&AssertStatusEq, base::File::FILE_OK)); base 253 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoop::current()->Run(); base 258 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_TRUE(status() == base::File::FILE_ERROR_NOT_A_FILE || base 259 content/browser/fileapi/file_system_operation_impl_write_unittest.cc status() == base::File::FILE_ERROR_ACCESS_DENIED || base 260 content/browser/fileapi/file_system_operation_impl_write_unittest.cc status() == base::File::FILE_ERROR_FAILED); base 274 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::MessageLoop::current()->Run(); base 277 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, status()); base 294 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::RunLoop().RunUntilIdle(); base 299 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_ABORT, status()); base 300 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_OK, cancel_status()); base 312 content/browser/fileapi/file_system_operation_impl_write_unittest.cc URLForPath(base::FilePath(FILE_PATH_LITERAL("nonexist"))), base 318 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::RunLoop().RunUntilIdle(); base 323 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_ABORT, status()); base 324 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_OK, cancel_status()); base 23 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error *status_out, base 24 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status) { base 32 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error *status_out, base 33 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status) { base 48 content/browser/fileapi/file_system_operation_runner_unittest.cc base::FilePath base_dir = base_.path(); base 55 content/browser/fileapi/file_system_operation_runner_unittest.cc base::RunLoop().RunUntilIdle(); base 61 content/browser/fileapi/file_system_operation_runner_unittest.cc base::FilePath::FromUTF8Unsafe(path)); base 69 content/browser/fileapi/file_system_operation_runner_unittest.cc base::ScopedTempDir base_; base 70 content/browser/fileapi/file_system_operation_runner_unittest.cc base::MessageLoop message_loop_; base 78 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status = base::File::FILE_ERROR_FAILED; base 82 content/browser/fileapi/file_system_operation_runner_unittest.cc base::Bind(&GetStatus, &done, &status)); base 84 content/browser/fileapi/file_system_operation_runner_unittest.cc base::RunLoop().RunUntilIdle(); base 86 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, status); base 91 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status = base::File::FILE_ERROR_FAILED; base 95 content/browser/fileapi/file_system_operation_runner_unittest.cc base::Bind(&GetStatus, &done, &status)); base 99 content/browser/fileapi/file_system_operation_runner_unittest.cc base::RunLoop().RunUntilIdle(); base 101 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_URL, status); base 107 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status = base::File::FILE_ERROR_FAILED; base 108 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error cancel_status = base::File::FILE_ERROR_FAILED; base 114 content/browser/fileapi/file_system_operation_runner_unittest.cc base::Bind(&GetStatus, &done, &status)); base 115 content/browser/fileapi/file_system_operation_runner_unittest.cc operation_runner()->Cancel(id, base::Bind(&GetCancelStatus, base 121 content/browser/fileapi/file_system_operation_runner_unittest.cc base::RunLoop().RunUntilIdle(); base 125 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, status); base 126 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, cancel_status); base 132 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status = base::File::FILE_ERROR_FAILED; base 133 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error cancel_status = base::File::FILE_ERROR_FAILED; base 139 content/browser/fileapi/file_system_operation_runner_unittest.cc base::Bind(&GetStatus, &done, &status)); base 140 content/browser/fileapi/file_system_operation_runner_unittest.cc operation_runner()->Cancel(id, base::Bind(&GetCancelStatus, base 146 content/browser/fileapi/file_system_operation_runner_unittest.cc base::RunLoop().RunUntilIdle(); base 150 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_URL, status); base 151 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, cancel_status); base 158 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error cancel_status = base::File::FILE_ERROR_FAILED; base 159 content/browser/fileapi/file_system_operation_runner_unittest.cc operation_runner()->Cancel(kInvalidId, base::Bind(&GetCancelStatus, base 164 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, cancel_status); base 74 content/browser/fileapi/file_system_quota_client_unittest.cc base::Bind(&FileSystemQuotaClientTest::OnGetUsage, base 82 content/browser/fileapi/file_system_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 92 content/browser/fileapi/file_system_quota_client_unittest.cc base::Bind(&FileSystemQuotaClientTest::OnGetOrigins, base 94 content/browser/fileapi/file_system_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 105 content/browser/fileapi/file_system_quota_client_unittest.cc base::Bind(&FileSystemQuotaClientTest::OnGetOrigins, base 107 content/browser/fileapi/file_system_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 117 content/browser/fileapi/file_system_quota_client_unittest.cc base::Bind(&FileSystemQuotaClientTest::OnGetAdditionalUsage, base 121 content/browser/fileapi/file_system_quota_client_unittest.cc bool CreateFileSystemDirectory(const base::FilePath& file_path, base 129 content/browser/fileapi/file_system_quota_client_unittest.cc base::File::Error result = base 131 content/browser/fileapi/file_system_quota_client_unittest.cc return result == base::File::FILE_OK; base 134 content/browser/fileapi/file_system_quota_client_unittest.cc bool CreateFileSystemFile(const base::FilePath& file_path, base 146 content/browser/fileapi/file_system_quota_client_unittest.cc base::File::Error result = base 148 content/browser/fileapi/file_system_quota_client_unittest.cc if (result != base::File::FILE_OK) base 153 content/browser/fileapi/file_system_quota_client_unittest.cc return result == base::File::FILE_OK; base 160 content/browser/fileapi/file_system_quota_client_unittest.cc base::FilePath path = base::FilePath().AppendASCII(files[i].name); base 192 content/browser/fileapi/file_system_quota_client_unittest.cc base::FilePath path = base::FilePath().AppendASCII(files[i].name); base 208 content/browser/fileapi/file_system_quota_client_unittest.cc base::Bind(&FileSystemQuotaClientTest::OnDeleteOrigin, base 236 content/browser/fileapi/file_system_quota_client_unittest.cc base::ScopedTempDir data_dir_; base 237 content/browser/fileapi/file_system_quota_client_unittest.cc base::MessageLoop message_loop_; base 239 content/browser/fileapi/file_system_quota_client_unittest.cc base::WeakPtrFactory<FileSystemQuotaClientTest> weak_factory_; base 421 content/browser/fileapi/file_system_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 430 content/browser/fileapi/file_system_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 532 content/browser/fileapi/file_system_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 536 content/browser/fileapi/file_system_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 540 content/browser/fileapi/file_system_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 55 content/browser/fileapi/file_system_url_request_job_unittest.cc base::RandBytes(buffer, len); base 66 content/browser/fileapi/file_system_url_request_job_unittest.cc const base::Callback<void(base::File::Error result)>& callback) { base 69 content/browser/fileapi/file_system_url_request_job_unittest.cc std::vector<base::FilePath::StringType> components; base 71 content/browser/fileapi/file_system_url_request_job_unittest.cc std::string mount_point = base::FilePath(components[0]).AsUTF8Unsafe(); base 76 content/browser/fileapi/file_system_url_request_job_unittest.cc fileapi::FileSystemMountOption(), base::FilePath()); base 77 content/browser/fileapi/file_system_url_request_job_unittest.cc callback.Run(base::File::FILE_OK); base 79 content/browser/fileapi/file_system_url_request_job_unittest.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 102 content/browser/fileapi/file_system_url_request_job_unittest.cc base::Bind(&FileSystemURLRequestJobTest::OnOpenFileSystem, base 104 content/browser/fileapi/file_system_url_request_job_unittest.cc base::RunLoop().RunUntilIdle(); base 118 content/browser/fileapi/file_system_url_request_job_unittest.cc base::RunLoop().RunUntilIdle(); base 122 content/browser/fileapi/file_system_url_request_job_unittest.cc base::FilePath mnt_point = temp_dir_.path().AppendASCII("auto_mount_dir"); base 123 content/browser/fileapi/file_system_url_request_job_unittest.cc ASSERT_TRUE(base::CreateDirectory(mnt_point)); base 127 content/browser/fileapi/file_system_url_request_job_unittest.cc base::MessageLoopProxy::current().get(), mnt_point)); base 130 content/browser/fileapi/file_system_url_request_job_unittest.cc handlers.push_back(base::Bind(&TestAutoMountForURLRequest)); base 136 content/browser/fileapi/file_system_url_request_job_unittest.cc base::WriteFile(mnt_point.AppendASCII("foo"), kTestFileData, base 142 content/browser/fileapi/file_system_url_request_job_unittest.cc base::File::Error result) { base 143 content/browser/fileapi/file_system_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); base 166 content/browser/fileapi/file_system_url_request_job_unittest.cc base::MessageLoop::current()->Run(); base 187 content/browser/fileapi/file_system_url_request_job_unittest.cc void CreateDirectory(const base::StringPiece& dir_name) { base 191 content/browser/fileapi/file_system_url_request_job_unittest.cc base::FilePath().AppendASCII(dir_name)); base 192 content/browser/fileapi/file_system_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, AsyncFileTestHelper::CreateDirectory( base 196 content/browser/fileapi/file_system_url_request_job_unittest.cc void WriteFile(const base::StringPiece& file_name, base 201 content/browser/fileapi/file_system_url_request_job_unittest.cc base::FilePath().AppendASCII(file_name)); base 202 content/browser/fileapi/file_system_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 229 content/browser/fileapi/file_system_url_request_job_unittest.cc base::MessageLoopForIO message_loop_; base 231 content/browser/fileapi/file_system_url_request_job_unittest.cc base::ScopedTempDir temp_dir_; base 233 content/browser/fileapi/file_system_url_request_job_unittest.cc base::WeakPtrFactory<FileSystemURLRequestJobTest> weak_factory_; base 345 content/browser/fileapi/file_system_url_request_job_unittest.cc base::MessageLoop::current()->Run(); base 374 content/browser/fileapi/file_system_url_request_job_unittest.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, request_.release()); base 375 content/browser/fileapi/file_system_url_request_job_unittest.cc base::RunLoop().RunUntilIdle(); base 383 content/browser/fileapi/file_system_url_request_job_unittest.cc base::FilePath::StringType extension = base 384 content/browser/fileapi/file_system_url_request_job_unittest.cc base::FilePath().AppendASCII(kFilename).Extension(); base 46 content/browser/fileapi/file_writer_delegate_unittest.cc : status_(base::File::FILE_OK), base 50 content/browser/fileapi/file_writer_delegate_unittest.cc base::File::Error status() const { return status_; } base 56 content/browser/fileapi/file_writer_delegate_unittest.cc void DidWrite(base::File::Error status, int64 bytes, base 59 content/browser/fileapi/file_writer_delegate_unittest.cc if (status == base::File::FILE_OK) { base 62 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Quit(); base 64 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, status_); base 66 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Quit(); base 72 content/browser/fileapi/file_writer_delegate_unittest.cc base::File::Error status_; base 95 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->PostTask( base 96 content/browser/fileapi/file_writer_delegate_unittest.cc FROM_HERE, base::Bind(&base::DoNothing)); base 97 content/browser/fileapi/file_writer_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 100 content/browser/fileapi/file_writer_delegate_unittest.cc base::File::Info file_info; base 101 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 109 content/browser/fileapi/file_writer_delegate_unittest.cc kOrigin, kFileSystemType, base::FilePath().FromUTF8Unsafe(file_name)); base 128 content/browser/fileapi/file_writer_delegate_unittest.cc return base::Bind(&Result::DidWrite, base::Unretained(result)); base 146 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoopForIO loop_; base 154 content/browser/fileapi/file_writer_delegate_unittest.cc base::ScopedTempDir dir_; base 177 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->PostTask( base 179 content/browser/fileapi/file_writer_delegate_unittest.cc base::Bind(&FileWriterDelegateTestJob::NotifyHeadersComplete, this)); base 226 content/browser/fileapi/file_writer_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 235 content/browser/fileapi/file_writer_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 247 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 255 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); base 267 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 275 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); base 287 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 295 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, result.status()); base 308 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 316 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); base 324 content/browser/fileapi/file_writer_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 343 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 346 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 357 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); base 359 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result2.status()); base 376 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 383 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); base 394 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 398 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); base 411 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 418 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); base 430 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 437 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); base 450 content/browser/fileapi/file_writer_delegate_unittest.cc base::MessageLoop::current()->Run(); base 457 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, result.status()); base 61 content/browser/fileapi/fileapi_message_filter.cc void RevokeFilePermission(int child_id, const base::FilePath& path) { base 131 content/browser/fileapi/fileapi_message_filter.cc for (base::hash_set<std::string>::const_iterator iter = stream_urls_.begin(); base 142 content/browser/fileapi/fileapi_message_filter.cc base::TaskRunner* FileAPIMessageFilter::OverrideTaskRunnerForMessage( base 204 content/browser/fileapi/fileapi_message_filter.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_FAMF")); base 213 content/browser/fileapi/fileapi_message_filter.cc RecordAction(base::UserMetricsAction("OpenFileSystemTemporary")); base 215 content/browser/fileapi/fileapi_message_filter.cc RecordAction(base::UserMetricsAction("OpenFileSystemPersistent")); base 219 content/browser/fileapi/fileapi_message_filter.cc context_->OpenFileSystem(origin_url, type, mode, base::Bind( base 232 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 236 content/browser/fileapi/fileapi_message_filter.cc context_->ResolveURL(url, base::Bind( base 245 content/browser/fileapi/fileapi_message_filter.cc context_->DeleteFileSystem(origin_url, type, base::Bind( base 262 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 269 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 284 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 292 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 303 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 309 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 320 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 325 content/browser/fileapi/fileapi_message_filter.cc url, base::Bind(&FileAPIMessageFilter::DidGetMetadata, this, request_id)); base 337 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 344 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 348 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 360 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 367 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 371 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 383 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 388 content/browser/fileapi/fileapi_message_filter.cc url, base::Bind(&FileAPIMessageFilter::DidReadDirectory, base 409 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 418 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidWrite, this, request_id)); base 430 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 436 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 442 content/browser/fileapi/fileapi_message_filter.cc const base::Time& last_access_time, base 443 content/browser/fileapi/fileapi_message_filter.cc const base::Time& last_modified_time) { base 450 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 456 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 470 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id)); base 474 content/browser/fileapi/fileapi_message_filter.cc request_id, base::File::FILE_ERROR_INVALID_OPERATION)); base 479 content/browser/fileapi/fileapi_message_filter.cc const GURL& path, base::FilePath* platform_path) { base 495 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 503 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidGetMetadataForStreaming, base 508 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&FileAPIMessageFilter::DidCreateSnapshot, base 548 content/browser/fileapi/fileapi_message_filter.cc base::SharedMemoryHandle handle, base 550 content/browser/fileapi/fileapi_message_filter.cc DCHECK(base::SharedMemory::IsHandleValid(handle)); base 556 content/browser/fileapi/fileapi_message_filter.cc base::SharedMemory shared_memory(handle, true, PeerHandle()); base 558 content/browser/fileapi/fileapi_message_filter.cc base::SharedMemory shared_memory(handle, true); base 636 content/browser/fileapi/fileapi_message_filter.cc const GURL& url, base::SharedMemoryHandle handle, size_t buffer_size) { base 637 content/browser/fileapi/fileapi_message_filter.cc DCHECK(base::SharedMemory::IsHandleValid(handle)); base 643 content/browser/fileapi/fileapi_message_filter.cc base::SharedMemory shared_memory(handle, true, PeerHandle()); base 645 content/browser/fileapi/fileapi_message_filter.cc base::SharedMemory shared_memory(handle, true); base 696 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result) { base 697 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) base 706 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, base 707 content/browser/fileapi/fileapi_message_filter.cc const base::File::Info& info) { base 708 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) base 717 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, base 718 content/browser/fileapi/fileapi_message_filter.cc const base::File::Info& info) { base 719 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { base 723 content/browser/fileapi/fileapi_message_filter.cc base::FilePath())); base 732 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, base 735 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { base 747 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, base 750 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { base 763 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result) { base 765 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { base 776 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, base 778 content/browser/fileapi/fileapi_message_filter.cc const base::FilePath& file_path, base 781 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { base 793 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result) { base 794 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) base 805 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, base 806 content/browser/fileapi/fileapi_message_filter.cc const base::File::Info& info, base 807 content/browser/fileapi/fileapi_message_filter.cc const base::FilePath& platform_path, base 812 content/browser/fileapi/fileapi_message_filter.cc if (result != base::File::FILE_OK) { base 838 content/browser/fileapi/fileapi_message_filter.cc base::Bind(&RevokeFilePermission, process_id_)); base 855 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_INVALID_URL)); base 864 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); base 29 content/browser/fileapi/fileapi_message_filter.h namespace base { base 78 content/browser/fileapi/fileapi_message_filter.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 121 content/browser/fileapi/fileapi_message_filter.h const base::Time& last_access_time, base 122 content/browser/fileapi/fileapi_message_filter.h const base::Time& last_modified_time); base 125 content/browser/fileapi/fileapi_message_filter.h base::FilePath* platform_path); base 136 content/browser/fileapi/fileapi_message_filter.h base::SharedMemoryHandle handle, base 157 content/browser/fileapi/fileapi_message_filter.h const GURL& url, base::SharedMemoryHandle handle, size_t buffer_size); base 164 content/browser/fileapi/fileapi_message_filter.h void DidFinish(int request_id, base::File::Error result); base 166 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, base 167 content/browser/fileapi/fileapi_message_filter.h const base::File::Info& info); base 169 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, base 170 content/browser/fileapi/fileapi_message_filter.h const base::File::Info& info); base 172 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, base 176 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, base 182 content/browser/fileapi/fileapi_message_filter.h base::File::Error result); base 184 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, base 186 content/browser/fileapi/fileapi_message_filter.h const base::FilePath& file_path, base 189 content/browser/fileapi/fileapi_message_filter.h base::File::Error result); base 193 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, base 194 content/browser/fileapi/fileapi_message_filter.h const base::File::Info& info, base 195 content/browser/fileapi/fileapi_message_filter.h const base::FilePath& platform_path, base 236 content/browser/fileapi/fileapi_message_filter.h base::hash_set<std::string> stream_urls_; base 53 content/browser/fileapi/fileapi_message_filter_unittest.cc CreateFileSystemContextForTesting(NULL, base::FilePath()); base 85 content/browser/fileapi/fileapi_message_filter_unittest.cc base::MessageLoop message_loop_; base 248 content/browser/fileapi/fileapi_message_filter_unittest.cc filter_->set_peer_pid_for_testing(base::Process::Current().pid()); base 255 content/browser/fileapi/fileapi_message_filter_unittest.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory); base 56 content/browser/fileapi/local_file_util_unittest.cc base::RunLoop().RunUntilIdle(); base 76 content/browser/fileapi/local_file_util_unittest.cc kOrigin, kFileSystemType, base::FilePath().FromUTF8Unsafe(file_name)); base 79 content/browser/fileapi/local_file_util_unittest.cc base::FilePath LocalPath(const char *file_name) { base 80 content/browser/fileapi/local_file_util_unittest.cc base::FilePath path; base 87 content/browser/fileapi/local_file_util_unittest.cc return base::PathExists(LocalPath(file_name)) && base 88 content/browser/fileapi/local_file_util_unittest.cc !base::DirectoryExists(LocalPath(file_name)); base 92 content/browser/fileapi/local_file_util_unittest.cc return base::DirectoryExists(LocalPath(file_name)); base 96 content/browser/fileapi/local_file_util_unittest.cc base::File::Info info; base 97 content/browser/fileapi/local_file_util_unittest.cc base::GetFileInfo(LocalPath(file_name), &info); base 101 content/browser/fileapi/local_file_util_unittest.cc base::File::Error CreateFile(const char* file_name, base 102 content/browser/fileapi/local_file_util_unittest.cc base::PlatformFile* file_handle, base 104 content/browser/fileapi/local_file_util_unittest.cc int file_flags = base::PLATFORM_FILE_CREATE | base 105 content/browser/fileapi/local_file_util_unittest.cc base::PLATFORM_FILE_WRITE | base::PLATFORM_FILE_ASYNC; base 114 content/browser/fileapi/local_file_util_unittest.cc base::File::Error EnsureFileExists(const char* file_name, base 127 content/browser/fileapi/local_file_util_unittest.cc base::MessageLoop message_loop_; base 129 content/browser/fileapi/local_file_util_unittest.cc base::ScopedTempDir data_dir_; base 136 content/browser/fileapi/local_file_util_unittest.cc base::PlatformFile file_handle; base 138 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 146 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 155 content/browser/fileapi/local_file_util_unittest.cc base::PlatformFile target_handle; base 157 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 160 content/browser/fileapi/local_file_util_unittest.cc base::FilePath target_path = LocalPath(target_name); base 164 content/browser/fileapi/local_file_util_unittest.cc base::FilePath symlink_path = LocalPath(symlink_name); base 165 content/browser/fileapi/local_file_util_unittest.cc ASSERT_TRUE(base::CreateSymbolicLink(target_path, symlink_path)); base 171 content/browser/fileapi/local_file_util_unittest.cc int file_flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ; base 172 content/browser/fileapi/local_file_util_unittest.cc base::PlatformFile file_handle; base 174 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 184 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(file_name, &created)); base 190 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(file_name, &created)); base 196 content/browser/fileapi/local_file_util_unittest.cc base::PlatformFile file_handle; base 198 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 204 content/browser/fileapi/local_file_util_unittest.cc base::File::Info info; base 205 content/browser/fileapi/local_file_util_unittest.cc ASSERT_TRUE(base::GetFileInfo(LocalPath(file_name), &info)); base 206 content/browser/fileapi/local_file_util_unittest.cc const base::Time new_accessed = base 207 content/browser/fileapi/local_file_util_unittest.cc info.last_accessed + base::TimeDelta::FromHours(10); base 208 content/browser/fileapi/local_file_util_unittest.cc const base::Time new_modified = base 209 content/browser/fileapi/local_file_util_unittest.cc info.last_modified + base::TimeDelta::FromHours(5); base 211 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 215 content/browser/fileapi/local_file_util_unittest.cc ASSERT_TRUE(base::GetFileInfo(LocalPath(file_name), &info)); base 219 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 226 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 232 content/browser/fileapi/local_file_util_unittest.cc base::File::Info info; base 233 content/browser/fileapi/local_file_util_unittest.cc ASSERT_TRUE(base::GetFileInfo(LocalPath(dir_name), &info)); base 234 content/browser/fileapi/local_file_util_unittest.cc const base::Time new_accessed = base 235 content/browser/fileapi/local_file_util_unittest.cc info.last_accessed + base::TimeDelta::FromHours(10); base 236 content/browser/fileapi/local_file_util_unittest.cc const base::Time new_modified = base 237 content/browser/fileapi/local_file_util_unittest.cc info.last_modified + base::TimeDelta::FromHours(5); base 239 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 243 content/browser/fileapi/local_file_util_unittest.cc ASSERT_TRUE(base::GetFileInfo(LocalPath(dir_name), &info)); base 251 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(file_name, &created)); base 257 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 269 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created)); base 274 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 280 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 286 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 308 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 311 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created)); base 315 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 324 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 340 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created)); base 345 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 352 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 371 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 374 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created)); base 378 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 387 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 23 content/browser/fileapi/mock_file_change_observer.cc return list.AddObserver(observer, base::MessageLoopProxy::current().get()); base 54 content/browser/fileapi/obfuscated_file_util_unittest.cc bool FileExists(const base::FilePath& path) { base 55 content/browser/fileapi/obfuscated_file_util_unittest.cc return base::PathExists(path) && !base::DirectoryExists(path); base 58 content/browser/fileapi/obfuscated_file_util_unittest.cc int64 GetSize(const base::FilePath& path) { base 60 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::GetFileSize(path, &size)); base 111 content/browser/fileapi/obfuscated_file_util_unittest.cc const FileSystemURL& url, const base::FilePath::StringType& child) { base 121 content/browser/fileapi/obfuscated_file_util_unittest.cc url.virtual_path().Append(base::FilePath::FromUTF8Unsafe(child))); base 165 content/browser/fileapi/obfuscated_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 166 content/browser/fileapi/obfuscated_file_util_unittest.cc base::MessageLoopProxy::current().get(), base 240 content/browser/fileapi/obfuscated_file_util_unittest.cc base::MessageLoopProxy::current().get())); base 247 content/browser/fileapi/obfuscated_file_util_unittest.cc const base::FilePath& test_directory() const { base 289 content/browser/fileapi/obfuscated_file_util_unittest.cc base::RunLoop().RunUntilIdle(); base 297 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 298 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath platform_path; base 299 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Error error = ofu()->GetFileInfo( base 301 content/browser/fileapi/obfuscated_file_util_unittest.cc return error == base::File::FILE_OK; base 321 content/browser/fileapi/obfuscated_file_util_unittest.cc FileSystemURL CreateURL(const base::FilePath& path) { base 326 content/browser/fileapi/obfuscated_file_util_unittest.cc const FileSystemURL& url, base::PlatformFile file_handle) { base 328 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 329 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 332 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info0; base 333 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath data_path; base 334 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 343 content/browser/fileapi/obfuscated_file_util_unittest.cc if (base::kInvalidPlatformFileValue == file_handle) { base 344 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File file(data_path, base 345 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_WRITE); base 350 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(length, base::WritePlatformFile(file_handle, 0, data, length)); base 351 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::ClosePlatformFile(file_handle)); base 353 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info1; base 356 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 369 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 374 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 381 content/browser/fileapi/obfuscated_file_util_unittest.cc const std::set<base::FilePath::StringType>& files, base 382 content/browser/fileapi/obfuscated_file_util_unittest.cc const std::set<base::FilePath::StringType>& directories) { base 384 content/browser/fileapi/obfuscated_file_util_unittest.cc std::set<base::FilePath::StringType>::const_iterator iter; base 388 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 411 content/browser/fileapi/obfuscated_file_util_unittest.cc base::RunLoop().RunUntilIdle(); base 445 content/browser/fileapi/obfuscated_file_util_unittest.cc std::set<base::FilePath::StringType>* files, base 446 content/browser/fileapi/obfuscated_file_util_unittest.cc std::set<base::FilePath::StringType>* directories) { base 449 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 462 content/browser/fileapi/obfuscated_file_util_unittest.cc std::set<base::FilePath::StringType>::iterator iter; base 466 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 476 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 485 content/browser/fileapi/obfuscated_file_util_unittest.cc std::set<base::FilePath::StringType> files; base 486 content/browser/fileapi/obfuscated_file_util_unittest.cc std::set<base::FilePath::StringType> directories; base 492 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 501 content/browser/fileapi/obfuscated_file_util_unittest.cc std::set<base::FilePath::StringType>::iterator iter = base 516 content/browser/fileapi/obfuscated_file_util_unittest.cc base::Time last_access_time = base::Time::Now(); base 517 content/browser/fileapi/obfuscated_file_util_unittest.cc base::Time last_modified_time = base::Time::Now(); base 520 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 525 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 526 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 528 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->GetFileInfo( base 536 content/browser/fileapi/obfuscated_file_util_unittest.cc last_modified_time += base::TimeDelta::FromHours(1); base 537 content/browser/fileapi/obfuscated_file_util_unittest.cc last_access_time += base::TimeDelta::FromHours(14); base 538 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 543 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 551 content/browser/fileapi/obfuscated_file_util_unittest.cc base::ScopedTempDir source_dir; base 553 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath root_file_path = source_dir.path(); base 554 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath src_file_path = root_file_path.AppendASCII("file_name"); base 558 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File file(src_file_path, base 559 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 570 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 585 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, base 592 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 600 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 601 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath data_path; base 602 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 609 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 615 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 616 content/browser/fileapi/obfuscated_file_util_unittest.cc ofu()->Touch(context.get(), url, base::Time(), base::Time())); base 617 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(url)); base 620 content/browser/fileapi/obfuscated_file_util_unittest.cc base::Time GetModifiedTime(const FileSystemURL& url) { base 622 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath data_path; base 623 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 625 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 646 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 649 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 654 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 658 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 666 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 672 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(src_dir_url)); base 674 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::Time(), GetModifiedTime(src_dir_url)); base 675 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::Time(), GetModifiedTime(dest_dir_url)); base 687 content/browser/fileapi/obfuscated_file_util_unittest.cc base::RunLoop().RunUntilIdle(); base 703 content/browser/fileapi/obfuscated_file_util_unittest.cc base::RunLoop().RunUntilIdle(); base 711 content/browser/fileapi/obfuscated_file_util_unittest.cc origin_, kFileSystemTypePersistent, base::FilePath()); base 729 content/browser/fileapi/obfuscated_file_util_unittest.cc origin_, kFileSystemTypePersistent, base::FilePath()); base 748 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath old_directory_db_path; base 757 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath( base 759 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath path; base 765 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(old_directory_db_path)); base 767 content/browser/fileapi/obfuscated_file_util_unittest.cc base::WriteFile(old_directory_db_path.AppendASCII("dummy"), base 775 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 776 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath origin_directory = file_util->GetDirectoryForOrigin( base 778 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 781 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::DirectoryExists(origin_directory)); base 782 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_FALSE(base::DirectoryExists(old_directory_db_path)); base 786 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::PathExists(origin_directory.AppendASCII("dummy"))); base 787 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::ReadFileToString( base 801 content/browser/fileapi/obfuscated_file_util_unittest.cc const base::FilePath& data_dir_path() const { base 806 content/browser/fileapi/obfuscated_file_util_unittest.cc base::ScopedTempDir data_dir_; base 807 content/browser/fileapi/obfuscated_file_util_unittest.cc base::MessageLoop message_loop_; base 813 content/browser/fileapi/obfuscated_file_util_unittest.cc base::WeakPtrFactory<ObfuscatedFileUtilTest> weak_factory_; base 825 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PlatformFile file_handle = base::kInvalidPlatformFileValue; base 829 content/browser/fileapi/obfuscated_file_util_unittest.cc int file_flags = base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_WRITE; base 831 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 836 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 847 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NO_SPACE, base 854 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 859 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::kInvalidPlatformFileValue, file_handle); base 864 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 865 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 867 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::PathExists(local_path)); base 873 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->DeleteFile(context.get(), url)); base 875 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_FALSE(base::PathExists(local_path)); base 885 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 892 content/browser/fileapi/obfuscated_file_util_unittest.cc file_handle = base::kInvalidPlatformFileValue; base 893 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 898 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::kInvalidPlatformFileValue, file_handle); base 903 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 905 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::PathExists(local_path)); base 908 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->DeleteFile(context.get(), url)); base 910 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_FALSE(base::PathExists(local_path)); base 921 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 925 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 931 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 932 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 937 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->Truncate(context.get(), url, 10)); base 942 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->Truncate(context.get(), url, 1)); base 957 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 964 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 968 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 972 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, base 977 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 981 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 990 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 996 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 997 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1001 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_TRUE(base::DeleteFile(local_path, false)); base 1003 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1012 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1022 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NO_SPACE, base 1030 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1035 content/browser/fileapi/obfuscated_file_util_unittest.cc CheckFileAndCloseHandle(url, base::kInvalidPlatformFileValue); base 1038 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1048 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1055 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1069 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1073 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1085 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1102 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, base 1107 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 1108 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 1109 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1117 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1124 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, base 1132 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->DeleteDirectory(context.get(), url)); base 1144 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1153 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, base 1160 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1170 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, base 1178 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, base 1190 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1200 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, base 1210 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1228 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1233 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, base 1244 content/browser/fileapi/obfuscated_file_util_unittest.cc base::Time last_access_time = base::Time::Now(); base 1245 content/browser/fileapi/obfuscated_file_util_unittest.cc base::Time last_modified_time = base::Time::Now(); base 1248 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1255 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1265 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1277 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, base 1281 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1291 content/browser/fileapi/obfuscated_file_util_unittest.cc std::vector<base::FilePath::StringType> components; base 1294 content/browser/fileapi/obfuscated_file_util_unittest.cc typedef std::vector<base::FilePath::StringType>::iterator iterator; base 1298 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath(*iter)); base 1302 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1313 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1320 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1329 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1335 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1342 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1372 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1377 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1384 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1388 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1394 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1398 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1403 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1409 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 1410 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 1412 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1416 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1419 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 1420 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 1422 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1426 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 1427 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 1428 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1433 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1443 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1450 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, base 1456 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1463 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1473 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1482 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, base 1489 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1494 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1500 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1509 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1516 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1528 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1535 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1539 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1558 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1562 content/browser/fileapi/obfuscated_file_util_unittest.cc std::set<base::FilePath::StringType> files; base 1563 content/browser/fileapi/obfuscated_file_util_unittest.cc std::set<base::FilePath::StringType> directories; base 1569 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1577 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1612 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1625 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1681 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath file_path(test_case.path); base 1686 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1691 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1695 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 1723 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PlatformFile file; base 1724 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 1725 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath data_path; base 1730 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1734 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1737 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1748 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1752 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1759 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1768 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1769 content/browser/fileapi/obfuscated_file_util_unittest.cc ofu()->Touch(context.get(), kPath1, base::Time::Now(), base 1770 content/browser/fileapi/obfuscated_file_util_unittest.cc base::Time::Now())); base 1771 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1777 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1784 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1787 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PLATFORM_FILE_READ | base::PLATFORM_FILE_CREATE, base 1791 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File base_file(file); base 1802 content/browser/fileapi/obfuscated_file_util_unittest.cc const FileSystemURL empty_path = CreateURL(base::FilePath()); base 1808 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1814 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1819 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath local_path; base 1820 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1822 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::DeleteFile(local_path, false)); base 1825 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1836 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1845 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1848 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::Time(), GetModifiedTime(dir_url)); base 1854 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1857 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(dir_url)); base 1862 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1867 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_FILE, base 1869 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(dir_url)); base 1873 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PlatformFile file_handle = base::kInvalidPlatformFileValue; base 1877 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1880 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_WRITE, base 1882 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::kInvalidPlatformFileValue, file_handle); base 1884 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::ClosePlatformFile(file_handle)); base 1885 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::Time(), GetModifiedTime(dir_url)); base 1888 content/browser/fileapi/obfuscated_file_util_unittest.cc file_handle = base::kInvalidPlatformFileValue; base 1892 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1895 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_WRITE, base 1897 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::kInvalidPlatformFileValue, file_handle); base 1899 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::ClosePlatformFile(file_handle)); base 1900 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(dir_url)); base 1903 content/browser/fileapi/obfuscated_file_util_unittest.cc file_handle = base::kInvalidPlatformFileValue; base 1906 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, base 1909 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_WRITE, base 1911 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::kInvalidPlatformFileValue, file_handle); base 1912 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(dir_url)); base 1920 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1923 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::Time(), GetModifiedTime(dir_url)); base 1931 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1934 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(dir_url)); base 1935 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::Time(), GetModifiedTime(url)); base 1941 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, base 1944 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(dir_url)); base 1951 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1954 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath src_local_path; base 1956 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1961 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1965 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::Time(), GetModifiedTime(dir_url)); base 1973 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1981 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1987 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 1989 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::Time(), GetModifiedTime(dir_url)); base 1994 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 1996 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(dir_url)); base 2002 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 2006 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 2012 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, base 2014 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::Time(), GetModifiedTime(dir_url)); base 2018 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 2023 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->DeleteDirectory(context.get(), url)); base 2024 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_NE(base::Time(), GetModifiedTime(dir_url)); base 2044 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 2049 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 2054 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 2057 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath file_path; base 2059 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 2064 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 2066 content/browser/fileapi/obfuscated_file_util_unittest.cc base::Time::Now() + base::TimeDelta::FromHours(1), base 2067 content/browser/fileapi/obfuscated_file_util_unittest.cc base::Time())); base 2074 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath file_path_each; base 2077 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; base 2078 content/browser/fileapi/obfuscated_file_util_unittest.cc base::FilePath file_path; base 2079 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 2108 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2115 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2124 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2132 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2140 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2149 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NO_SPACE, base 2160 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2172 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2188 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2205 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2214 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2222 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2231 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2238 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2247 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2255 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2265 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2274 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2283 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2296 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2312 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2319 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2325 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2332 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2339 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2345 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2351 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2357 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2363 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2371 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PlatformFile file_handle; base 2375 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2383 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2386 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_WRITE, base 2389 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::ClosePlatformFile(file_handle)); base 2392 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2398 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2401 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_WRITE, base 2404 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::ClosePlatformFile(file_handle)); base 2407 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2413 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2416 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PLATFORM_FILE_OPEN_TRUNCATED | base::PLATFORM_FILE_WRITE, base 2419 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_TRUE(base::ClosePlatformFile(file_handle)); base 2447 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2452 content/browser/fileapi/obfuscated_file_util_unittest.cc base::PlatformFile file_handle = base::kInvalidPlatformFileValue; base 2453 content/browser/fileapi/obfuscated_file_util_unittest.cc int file_flags = base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_WRITE; base 2454 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, base 2461 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::kInvalidPlatformFileValue, file_handle); base 2463 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, base 2477 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 2481 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, base 2486 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, base 37 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc void DidOpenFileSystem(base::File::Error* error_out, base 38 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::File::Error error) { base 44 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc kType, kRootName, base::FilePath()); base 70 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc const base::FilePath& base_path() const { return backend()->base_path(); } base 72 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::ScopedTempDir data_dir_; base 73 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::MessageLoop message_loop_; base 80 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 84 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::Bind(&DidOpenFileSystem, &error)); base 85 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::RunLoop().RunUntilIdle(); base 86 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 90 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc error = base::File::FILE_ERROR_FAILED; base 94 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::Bind(&DidOpenFileSystem, &error)); base 95 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::RunLoop().RunUntilIdle(); base 96 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 102 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::FilePath platform_path; base 103 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 105 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 115 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 119 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::Bind(&DidOpenFileSystem, &error)); base 120 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::RunLoop().RunUntilIdle(); base 121 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 124 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc error = base::File::FILE_ERROR_FAILED; base 128 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::Bind(&DidOpenFileSystem, &error)); base 129 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::RunLoop().RunUntilIdle(); base 130 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 137 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::FilePath platform_path; base 138 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 67 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::Bind(&LoggingRecursiveOperation::DidGetMetadata, base 74 content/browser/fileapi/recursive_operation_delegate_unittest.cc callback.Run(base::File::FILE_OK); base 80 content/browser/fileapi/recursive_operation_delegate_unittest.cc callback.Run(base::File::FILE_OK); base 92 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error result, base 93 content/browser/fileapi/recursive_operation_delegate_unittest.cc const base::File::Info& file_info) { base 94 content/browser/fileapi/recursive_operation_delegate_unittest.cc if (result != base::File::FILE_OK) { base 100 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::FILE_ERROR_NOT_A_FILE : base 101 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::FILE_OK); base 108 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::WeakPtrFactory<LoggingRecursiveOperation> weak_factory_; base 112 content/browser/fileapi/recursive_operation_delegate_unittest.cc void ReportStatus(base::File::Error* out_error, base 113 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error error) { base 123 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::MessageLoopProxy::current()->PostTask( base 125 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::Bind(&CallCancelLater, base::Unretained(operation), counter - 1)); base 164 content/browser/fileapi/recursive_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 173 content/browser/fileapi/recursive_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 180 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::MessageLoop message_loop_; base 183 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::ScopedTempDir base_; base 190 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 195 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::Bind(&ReportStatus, &error))); base 197 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 198 content/browser/fileapi/recursive_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 215 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 220 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::Bind(&ReportStatus, &error))); base 222 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 223 content/browser/fileapi/recursive_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 271 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 276 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::Bind(&ReportStatus, &error))); base 281 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::RunLoop().RunUntilIdle(); base 282 content/browser/fileapi/recursive_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_ABORT, error); base 28 content/browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc base::FilePath::FromUTF8Unsafe(path)); base 39 content/browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc base::MessageLoopProxy::current().get(), base 49 content/browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc base::ScopedTempDir data_dir_; base 50 content/browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc base::MessageLoop message_loop_; base 65 content/browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc base::FilePath::FromUTF8Unsafe("foo")))); base 73 content/browser/fileapi/sandbox_file_system_backend_unittest.cc void DidOpenFileSystem(base::File::Error* error_out, base 76 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::File::Error error) { base 92 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::MessageLoopProxy::current().get(), base 110 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath target = delegate_-> base 113 content/browser/fileapi/sandbox_file_system_backend_unittest.cc ASSERT_TRUE(base::DirectoryExists(target)); base 119 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath* root_path) { base 120 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::File::Error error = base::File::FILE_OK; base 122 content/browser/fileapi/sandbox_file_system_backend_unittest.cc FileSystemURL::CreateForTest(origin_url, type, base::FilePath()), base 124 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::Bind(&DidOpenFileSystem, &error)); base 125 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::RunLoop().RunUntilIdle(); base 126 content/browser/fileapi/sandbox_file_system_backend_unittest.cc if (error != base::File::FILE_OK) base 128 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath returned_root_path = base 136 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath file_system_path() const { base 141 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::ScopedTempDir data_dir_; base 142 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::MessageLoop message_loop_; base 204 content/browser/fileapi/sandbox_file_system_backend_unittest.cc std::vector<base::FilePath> returned_root_path( base 213 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath root_path; base 219 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath expected = file_system_path().AppendASCII( base 222 content/browser/fileapi/sandbox_file_system_backend_unittest.cc EXPECT_TRUE(base::DirectoryExists(root_path)); base 233 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath root_path; base 245 content/browser/fileapi/sandbox_file_system_backend_unittest.cc std::vector<base::FilePath> returned_root_path( base 251 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath root_path1; base 257 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath root_path2; base 312 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath root_path; base 317 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::FilePath expected = file_system_path().AppendASCII( base 320 content/browser/fileapi/sandbox_file_system_backend_unittest.cc EXPECT_TRUE(base::DirectoryExists(root_path)); base 31 content/browser/fileapi/transient_file_util_unittest.cc NULL, base::FilePath(FILE_PATH_LITERAL("dummy"))); base 39 content/browser/fileapi/transient_file_util_unittest.cc base::RunLoop().RunUntilIdle(); base 44 content/browser/fileapi/transient_file_util_unittest.cc base::FilePath* file_path) { base 45 content/browser/fileapi/transient_file_util_unittest.cc EXPECT_TRUE(base::CreateTemporaryFileInDir(data_dir_.path(), file_path)); base 54 content/browser/fileapi/transient_file_util_unittest.cc base::FilePath virtual_path = isolated_context->CreateVirtualRootPath( base 72 content/browser/fileapi/transient_file_util_unittest.cc base::MessageLoop message_loop_; base 73 content/browser/fileapi/transient_file_util_unittest.cc base::ScopedTempDir data_dir_; base 82 content/browser/fileapi/transient_file_util_unittest.cc base::FilePath temp_path; base 86 content/browser/fileapi/transient_file_util_unittest.cc base::File::Error error; base 87 content/browser/fileapi/transient_file_util_unittest.cc base::File::Info file_info; base 88 content/browser/fileapi/transient_file_util_unittest.cc base::FilePath path; base 92 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_TRUE(base::PathExists(temp_path)); base 93 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_FALSE(base::DirectoryExists(temp_path)); base 103 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 108 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_TRUE(base::PathExists(temp_path)); base 109 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 117 content/browser/fileapi/transient_file_util_unittest.cc base::RunLoop().RunUntilIdle(); base 120 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_FALSE(base::PathExists(temp_path)); base 121 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 22 content/browser/fileapi/upload_file_system_file_element_reader.cc const base::Time& expected_modification_time) base 52 content/browser/fileapi/upload_file_system_file_element_reader.cc base::Bind(&UploadFileSystemFileElementReader::OnGetLength, base 87 content/browser/fileapi/upload_file_system_file_element_reader.cc base::Bind(&UploadFileSystemFileElementReader::OnRead, base 33 content/browser/fileapi/upload_file_system_file_element_reader.h const base::Time& expected_modification_time); base 52 content/browser/fileapi/upload_file_system_file_element_reader.h const base::Time expected_modification_time_; base 59 content/browser/fileapi/upload_file_system_file_element_reader.h base::WeakPtrFactory<UploadFileSystemFileElementReader> weak_ptr_factory_; base 49 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::Bind(&UploadFileSystemFileElementReaderTest::OnOpenFileSystem, base 50 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::Unretained(this))); base 51 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 79 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 90 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::Time* modification_time) { base 95 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::FilePath().AppendASCII(filename)); base 97 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 101 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::File::Info file_info; base 102 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 110 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::File::Error result) { base 111 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); base 116 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::MessageLoopForIO message_loop_; base 117 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::ScopedTempDir temp_dir_; base 122 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::Time file_modification_time_; base 243 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc file_system_context_.get(), file_url_, kOffset, kLength, base::Time())); base 261 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc const base::Time expected_modification_time = base 262 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc file_modification_time_ - base::TimeDelta::FromSeconds(1); base 277 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc file_system_context_.get(), wrong_url, 0, kuint64max, base::Time())); base 18 content/browser/font_list_async.cc const base::Callback<void(scoped_ptr<base::ListValue>)>& callback, base 19 content/browser/font_list_async.cc scoped_ptr<base::ListValue> result) { base 25 content/browser/font_list_async.cc const base::Callback<void(scoped_ptr<base::ListValue>)>& callback) { base 26 content/browser/font_list_async.cc scoped_ptr<base::ListValue> result(GetFontList_SlowBlocking()); base 28 content/browser/font_list_async.cc base::Bind(&ReturnFontListToOriginalThread, callback, base 29 content/browser/font_list_async.cc base::Passed(&result))); base 35 content/browser/font_list_async.cc const base::Callback<void(scoped_ptr<base::ListValue>)>& callback) { base 44 content/browser/font_list_async.cc base::Bind(&GetFontListInBlockingPool, id, callback)); base 37 content/browser/frame_host/cross_site_transferring_request.cc base::Bind(&CancelRequestOnIOThread, global_request_id_)); base 28 content/browser/frame_host/debug_urls.cc base::UTF8ToUTF16(kFlashPluginName), &hosts); base 76 content/browser/frame_host/debug_urls.cc base::Bind(&HandlePpapiFlashDebugURL, url)); base 83 content/browser/frame_host/frame_tree.cc ForEach(base::Bind(&FrameTreeNodeForId, frame_tree_node_id, &node)); base 90 content/browser/frame_host/frame_tree.cc base::Bind(&FrameTreeNodeForRoutingId, routing_id, process_id, &node)); base 95 content/browser/frame_host/frame_tree.cc const base::Callback<bool(FrameTreeNode*)>& on_node) const { base 152 content/browser/frame_host/frame_tree.cc ForEach(base::Bind(&ResetNodesForNewProcess, render_view_host)); base 168 content/browser/frame_host/frame_tree.cc const base::Callback<void(RenderViewHostImpl*, int)>& on_frame_removed) { base 66 content/browser/frame_host/frame_tree.h void ForEach(const base::Callback<bool(FrameTreeNode*)>& on_node) const; base 102 content/browser/frame_host/frame_tree.h const base::Callback<void(RenderViewHostImpl*, int)>& on_frame_removed); base 125 content/browser/frame_host/frame_tree.h typedef base::hash_map<int, RenderViewHostImpl*> RenderViewHostMap; base 156 content/browser/frame_host/frame_tree.h base::Callback<void(RenderViewHostImpl*, int)> on_frame_removed_; base 34 content/browser/frame_host/frame_tree_unittest.cc result->append(base::Int64ToString( base 293 content/browser/frame_host/interstitial_page_impl.cc base::MessageLoop::current()->PostNonNestableTask( base 295 content/browser/frame_host/interstitial_page_impl.cc base::Bind(&InterstitialPageImpl::Shutdown, base 385 content/browser/frame_host/interstitial_page_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RVD")); base 410 content/browser/frame_host/interstitial_page_impl.cc base::TerminationStatus status, base 467 content/browser/frame_host/interstitial_page_impl.cc const base::string16& title, base 468 content/browser/frame_host/interstitial_page_impl.cc base::i18n::TextDirection title_direction) { base 579 content/browser/frame_host/interstitial_page_impl.cc render_view_host_->CreateRenderView(base::string16(), base 823 content/browser/frame_host/interstitial_page_impl.cc base::Bind( base 124 content/browser/frame_host/interstitial_page_impl.h base::TerminationStatus status, base 128 content/browser/frame_host/interstitial_page_impl.h const base::string16& title, base 129 content/browser/frame_host/interstitial_page_impl.h base::i18n::TextDirection title_direction) OVERRIDE; base 271 content/browser/frame_host/interstitial_page_impl.h base::string16 original_web_contents_title_; base 283 content/browser/frame_host/interstitial_page_impl.h base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; base 11 content/browser/frame_host/navigation_controller_android.cc using base::android::AttachCurrentThread; base 33 content/browser/frame_host/navigation_controller_android.cc base::android::ScopedJavaLocalRef<jobject> base 35 content/browser/frame_host/navigation_controller_android.cc return base::android::ScopedJavaLocalRef<jobject>(obj_); base 34 content/browser/frame_host/navigation_controller_android.h base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); base 46 content/browser/frame_host/navigation_controller_android.h base::android::ScopedJavaGlobalRef<jobject> obj_; base 167 content/browser/frame_host/navigation_controller_impl.cc base::string16(), base 182 content/browser/frame_host/navigation_controller_impl.cc base::Time NavigationControllerImpl::TimeSmoother::GetSmoothedTime( base 183 content/browser/frame_host/navigation_controller_impl.cc base::Time t) { base 188 content/browser/frame_host/navigation_controller_impl.cc high_water_mark_ += base::TimeDelta::FromMicroseconds(1); base 213 content/browser/frame_host/navigation_controller_impl.cc get_timestamp_callback_(base::Bind(&base::Time::Now)), base 363 content/browser/frame_host/navigation_controller_impl.cc pending_entry_->SetTitle(base::string16()); base 813 content/browser/frame_host/navigation_controller_impl.cc base::Time timestamp = base 918 content/browser/frame_host/navigation_controller_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_NC")); base 924 content/browser/frame_host/navigation_controller_impl.cc temp.append(base::IntToString(params.page_id)); base 926 content/browser/frame_host/navigation_controller_impl.cc temp.append(base::IntToString(delegate_->GetMaxPageID())); base 928 content/browser/frame_host/navigation_controller_impl.cc temp.append(base::IntToString(rfh->GetRoutingID())); base 935 content/browser/frame_host/navigation_controller_impl.cc temp.append(base::IntToString(entries_[i]->GetPageID())); base 938 content/browser/frame_host/navigation_controller_impl.cc temp.append(base::IntToString(entries_[i]->site_instance()->GetId())); base 1740 content/browser/frame_host/navigation_controller_impl.cc const base::Callback<base::Time()>& get_timestamp_callback) { base 195 content/browser/frame_host/navigation_controller_impl.h const base::Callback<base::Time()>& get_timestamp_callback); base 225 content/browser/frame_host/navigation_controller_impl.h base::Time GetSmoothedTime(base::Time t); base 230 content/browser/frame_host/navigation_controller_impl.h base::Time low_water_mark_; base 231 content/browser/frame_host/navigation_controller_impl.h base::Time high_water_mark_; base 323 content/browser/frame_host/navigation_controller_impl.h bool IsLikelyAutoNavigation(base::TimeTicks now); base 406 content/browser/frame_host/navigation_controller_impl.h base::Callback<base::Time()> get_timestamp_callback_; base 40 content/browser/frame_host/navigation_controller_impl_unittest.cc using base::Time; base 132 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time t = base::Time::FromInternalValue(i); base 141 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time t = base::Time::FromInternalValue(1); base 144 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time expected_t = base::Time::FromInternalValue(i + 1); base 145 content/browser/frame_host/navigation_controller_impl_unittest.cc t = base::Time::FromInternalValue(i); base 155 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time t = base::Time::FromInternalValue(1); base 157 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time expected_t = base::Time::FromInternalValue(i + 1); base 161 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time expected_t = base 162 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time::FromInternalValue(i + kNumDuplicates); base 163 content/browser/frame_host/navigation_controller_impl_unittest.cc t = base::Time::FromInternalValue(i); base 173 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time t = base::Time::FromInternalValue(1000); base 175 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time expected_t = base::Time::FromInternalValue(i + 1000); base 178 content/browser/frame_host/navigation_controller_impl_unittest.cc t = base::Time::FromInternalValue(500); base 278 content/browser/frame_host/navigation_controller_impl_unittest.cc urls[i] = GURL(base::StringPrintf("http://www.a.com/%d", i)); base 429 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Time GetFixedTime(base::Time time) { base 442 content/browser/frame_host/navigation_controller_impl_unittest.cc base::Bind(&GetFixedTime, base::Time::FromInternalValue(1))); base 557 content/browser/frame_host/navigation_controller_impl_unittest.cc scoped_refptr<base::RefCountedBytes> data = base 558 content/browser/frame_host/navigation_controller_impl_unittest.cc base::RefCountedBytes::TakeVector(&post_data_vector); base 587 content/browser/frame_host/navigation_controller_impl_unittest.cc const base::Time timestamp = controller.GetVisibleEntry()->GetTimestamp(); base 665 content/browser/frame_host/navigation_controller_impl_unittest.cc const base::Time timestamp = controller.GetVisibleEntry()->GetTimestamp(); base 961 content/browser/frame_host/navigation_controller_impl_unittest.cc params.error_description = base::string16(); base 1037 content/browser/frame_host/navigation_controller_impl_unittest.cc params.error_description = base::string16(); base 1137 content/browser/frame_host/navigation_controller_impl_unittest.cc controller.GetVisibleEntry()->SetTitle(base::ASCIIToUTF16("Title")); base 1141 content/browser/frame_host/navigation_controller_impl_unittest.cc const base::Time timestamp = controller.GetVisibleEntry()->GetTimestamp(); base 1262 content/browser/frame_host/navigation_controller_impl_unittest.cc controller.GetVisibleEntry()->SetTitle(base::ASCIIToUTF16("Title")); base 1310 content/browser/frame_host/navigation_controller_impl_unittest.cc scoped_refptr<base::RefCountedBytes> post_data = base 1311 content/browser/frame_host/navigation_controller_impl_unittest.cc base::RefCountedBytes::TakeVector(&post_data_vector); base 2271 content/browser/frame_host/navigation_controller_impl_unittest.cc GURL url(base::StringPrintf("http://www.a.com/%d", url_index)); base 2283 content/browser/frame_host/navigation_controller_impl_unittest.cc GURL url(base::StringPrintf("http://www.a.com/%d", url_index)); base 2301 content/browser/frame_host/navigation_controller_impl_unittest.cc url = GURL(base::StringPrintf("http:////www.a.com/%d", url_index)); base 2325 content/browser/frame_host/navigation_controller_impl_unittest.cc entry->SetTitle(base::ASCIIToUTF16("Title")); base 2327 content/browser/frame_host/navigation_controller_impl_unittest.cc const base::Time timestamp = base::Time::Now(); base 2405 content/browser/frame_host/navigation_controller_impl_unittest.cc entry->SetTitle(base::ASCIIToUTF16("Title")); base 2440 content/browser/frame_host/navigation_controller_impl_unittest.cc fail_load_params.error_description = base::string16(); base 2997 content/browser/frame_host/navigation_controller_impl_unittest.cc const base::string16 title(base::ASCIIToUTF16("Title")); base 3022 content/browser/frame_host/navigation_controller_impl_unittest.cc const base::string16 title(base::ASCIIToUTF16("Title")); base 3917 content/browser/frame_host/navigation_controller_impl_unittest.cc const GURL url(base::StringPrintf("http://foo%d/", i)); base 63 content/browser/frame_host/navigation_entry_impl.cc const base::string16& title, base 133 content/browser/frame_host/navigation_entry_impl.cc void NavigationEntryImpl::SetTitle(const base::string16& title) { base 138 content/browser/frame_host/navigation_entry_impl.cc const base::string16& NavigationEntryImpl::GetTitle() const { base 169 content/browser/frame_host/navigation_entry_impl.cc const base::string16& NavigationEntryImpl::GetTitleForDisplay( base 182 content/browser/frame_host/navigation_entry_impl.cc base::string16 title; base 191 content/browser/frame_host/navigation_entry_impl.cc base::string16::size_type slashpos = title.rfind('/'); base 192 content/browser/frame_host/navigation_entry_impl.cc if (slashpos != base::string16::npos) base 234 content/browser/frame_host/navigation_entry_impl.cc const base::RefCountedMemory* data) { base 238 content/browser/frame_host/navigation_entry_impl.cc const base::RefCountedMemory* base 276 content/browser/frame_host/navigation_entry_impl.cc void NavigationEntryImpl::SetTimestamp(base::Time timestamp) { base 280 content/browser/frame_host/navigation_entry_impl.cc base::Time NavigationEntryImpl::GetTimestamp() const { base 313 content/browser/frame_host/navigation_entry_impl.cc const base::string16& data) { base 318 content/browser/frame_host/navigation_entry_impl.cc base::string16* data) const { base 319 content/browser/frame_host/navigation_entry_impl.cc std::map<std::string, base::string16>::const_iterator iter = base 344 content/browser/frame_host/navigation_entry_impl.cc scoped_refptr<base::RefCountedBytes> png_data) { base 32 content/browser/frame_host/navigation_entry_impl.h const base::string16& title, base 48 content/browser/frame_host/navigation_entry_impl.h virtual void SetTitle(const base::string16& title) OVERRIDE; base 49 content/browser/frame_host/navigation_entry_impl.h virtual const base::string16& GetTitle() const OVERRIDE; base 54 content/browser/frame_host/navigation_entry_impl.h virtual const base::string16& GetTitleForDisplay( base 65 content/browser/frame_host/navigation_entry_impl.h const base::RefCountedMemory* data) OVERRIDE; base 66 content/browser/frame_host/navigation_entry_impl.h virtual const base::RefCountedMemory* base 76 content/browser/frame_host/navigation_entry_impl.h virtual void SetTimestamp(base::Time timestamp) OVERRIDE; base 77 content/browser/frame_host/navigation_entry_impl.h virtual base::Time GetTimestamp() const OVERRIDE; base 83 content/browser/frame_host/navigation_entry_impl.h const base::string16& data) OVERRIDE; base 85 content/browser/frame_host/navigation_entry_impl.h base::string16* data) const OVERRIDE; base 206 content/browser/frame_host/navigation_entry_impl.h void SetScreenshotPNGData(scoped_refptr<base::RefCountedBytes> png_data); base 207 content/browser/frame_host/navigation_entry_impl.h const scoped_refptr<base::RefCountedBytes> screenshot() const { base 247 content/browser/frame_host/navigation_entry_impl.h base::string16 title_; base 259 content/browser/frame_host/navigation_entry_impl.h base::Time timestamp_; base 267 content/browser/frame_host/navigation_entry_impl.h scoped_refptr<const base::RefCountedMemory> browser_initiated_post_data_; base 276 content/browser/frame_host/navigation_entry_impl.h scoped_refptr<base::RefCountedBytes> screenshot_; base 294 content/browser/frame_host/navigation_entry_impl.h mutable base::string16 cached_display_title_; base 346 content/browser/frame_host/navigation_entry_impl.h std::map<std::string, base::string16> extra_data_; base 14 content/browser/frame_host/navigation_entry_impl_unittest.cc using base::ASCIIToUTF16; base 141 content/browser/frame_host/navigation_entry_impl_unittest.cc EXPECT_EQ(base::string16(), entry1_->GetTitle()); base 206 content/browser/frame_host/navigation_entry_impl_unittest.cc scoped_refptr<base::RefCountedBytes> post_data = base 207 content/browser/frame_host/navigation_entry_impl_unittest.cc base::RefCountedBytes::TakeVector(&post_data_vector); base 219 content/browser/frame_host/navigation_entry_impl_unittest.cc EXPECT_EQ(base::Time(), entry1_->GetTimestamp()); base 220 content/browser/frame_host/navigation_entry_impl_unittest.cc const base::Time now = base::Time::Now(); base 227 content/browser/frame_host/navigation_entry_impl_unittest.cc base::string16 test_data = ASCIIToUTF16("my search terms"); base 228 content/browser/frame_host/navigation_entry_impl_unittest.cc base::string16 output; base 241 content/browser/frame_host/navigation_entry_impl_unittest.cc base::string16 output2; base 30 content/browser/frame_host/navigation_entry_screenshot_manager.cc class ScreenshotData : public base::RefCountedThreadSafe<ScreenshotData> { base 35 content/browser/frame_host/navigation_entry_screenshot_manager.cc void EncodeScreenshot(const SkBitmap& bitmap, base::Closure callback) { base 36 content/browser/frame_host/navigation_entry_screenshot_manager.cc if (!base::WorkerPool::PostTaskAndReply(FROM_HERE, base 37 content/browser/frame_host/navigation_entry_screenshot_manager.cc base::Bind(&ScreenshotData::EncodeOnWorker, base 46 content/browser/frame_host/navigation_entry_screenshot_manager.cc scoped_refptr<base::RefCountedBytes> data() const { return data_; } base 70 content/browser/frame_host/navigation_entry_screenshot_manager.cc data_ = new base::RefCountedBytes(data); base 73 content/browser/frame_host/navigation_entry_screenshot_manager.cc scoped_refptr<base::RefCountedBytes> data_; base 110 content/browser/frame_host/navigation_entry_screenshot_manager.cc base::Time now = base::Time::Now(); base 112 content/browser/frame_host/navigation_entry_screenshot_manager.cc base::TimeDelta::FromMilliseconds(min_screenshot_interval_ms_)) { base 141 content/browser/frame_host/navigation_entry_screenshot_manager.cc base::Bind(&NavigationEntryScreenshotManager::OnScreenshotTaken, base 180 content/browser/frame_host/navigation_entry_screenshot_manager.cc base::Bind(&NavigationEntryScreenshotManager::OnScreenshotEncodeComplete, base 80 content/browser/frame_host/navigation_entry_screenshot_manager.h base::WeakPtrFactory<NavigationEntryScreenshotManager> screenshot_factory_; base 82 content/browser/frame_host/navigation_entry_screenshot_manager.h base::Time last_screenshot_time_; base 17 content/browser/frame_host/navigator.cc base::TimeTicks Navigator::GetCurrentLoadStart() { base 18 content/browser/frame_host/navigator.cc return base::TimeTicks::Now(); base 17 content/browser/frame_host/navigator.h namespace base { base 35 content/browser/frame_host/navigator.h class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> { base 52 content/browser/frame_host/navigator.h const base::string16& error_description) {} base 88 content/browser/frame_host/navigator.h virtual base::TimeTicks GetCurrentLoadStart(); base 114 content/browser/frame_host/navigator.h friend class base::RefCounted<Navigator>; base 47 content/browser/frame_host/navigator_delegate.h const base::string16& error_description) {} base 57 content/browser/frame_host/navigator_delegate.h const base::string16& frame_unique_name, base 94 content/browser/frame_host/navigator_impl.cc params->request_time = base::Time::Now(); base 253 content/browser/frame_host/navigator_impl.cc const base::string16& error_description) { base 332 content/browser/frame_host/navigator_impl.cc current_load_start_ = base::TimeTicks::Now(); base 371 content/browser/frame_host/navigator_impl.cc base::TimeTicks NavigatorImpl::GetCurrentLoadStart() { base 38 content/browser/frame_host/navigator_impl.h const base::string16& error_description) OVERRIDE; base 51 content/browser/frame_host/navigator_impl.h virtual base::TimeTicks GetCurrentLoadStart() OVERRIDE; base 92 content/browser/frame_host/navigator_impl.h base::TimeTicks current_load_start_; base 24 content/browser/frame_host/render_frame_host_delegate.cc int32 level, const base::string16& message, int32 line_no, base 25 content/browser/frame_host/render_frame_host_delegate.cc const base::string16& source_id) { base 36 content/browser/frame_host/render_frame_host_delegate.h const base::string16& message, base 38 content/browser/frame_host/render_frame_host_delegate.h const base::string16& source_id); base 33 content/browser/frame_host/render_frame_host_impl.cc using base::TimeDelta; base 39 content/browser/frame_host/render_frame_host_impl.cc typedef base::hash_map<RenderFrameHostID, RenderFrameHostImpl*> base 41 content/browser/frame_host/render_frame_host_impl.cc static base::LazyInstance<RoutingIDFrameMap> g_routing_id_frame_map = base 145 content/browser/frame_host/render_frame_host_impl.cc base::TimeTicks now = base::TimeTicks::Now(); base 174 content/browser/frame_host/render_frame_host_impl.cc send_before_unload_start_time_ = base::TimeTicks::Now(); base 191 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("Undo")); base 196 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("Redo")); base 201 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("Cut")); base 206 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("Copy")); base 213 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("CopyToFindPboard")); base 219 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("Paste")); base 224 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("PasteAndMatchStyle")); base 229 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("DeleteSelection")); base 234 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("SelectAll")); base 239 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("Unselect")); base 247 content/browser/frame_host/render_frame_host_impl.cc const base::string16& javascript) { base 254 content/browser/frame_host/render_frame_host_impl.cc const base::string16& javascript, base 334 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RFH")); base 347 content/browser/frame_host/render_frame_host_impl.cc const base::string16& message, base 349 content/browser/frame_host/render_frame_host_impl.cc const base::string16& source_id) { base 404 content/browser/frame_host/render_frame_host_impl.cc const base::string16& error_description) { base 447 content/browser/frame_host/render_frame_host_impl.cc base::TimeTicks::Now()); base 467 content/browser/frame_host/render_frame_host_impl.cc RecordAction(base::UserMetricsAction("CanCommitURL_BlockedAndKilled")); base 531 content/browser/frame_host/render_frame_host_impl.cc base::TimeDelta::FromMilliseconds( base 555 content/browser/frame_host/render_frame_host_impl.cc const base::TimeTicks& renderer_before_unload_start_time, base 556 content/browser/frame_host/render_frame_host_impl.cc const base::TimeTicks& renderer_before_unload_end_time) { base 575 content/browser/frame_host/render_frame_host_impl.cc base::TimeTicks before_unload_end_time; base 585 content/browser/frame_host/render_frame_host_impl.cc LocalTimeTicks::FromTimeTicks(base::TimeTicks::Now()), base 632 content/browser/frame_host/render_frame_host_impl.cc int id, const base::ListValue& result) { base 633 content/browser/frame_host/render_frame_host_impl.cc const base::Value* result_value; base 650 content/browser/frame_host/render_frame_host_impl.cc void RenderFrameHostImpl::SetPendingShutdown(const base::Closure& on_swap_out) { base 24 content/browser/frame_host/render_frame_host_impl.h namespace base { base 78 content/browser/frame_host/render_frame_host_impl.h const base::string16& javascript) OVERRIDE; base 80 content/browser/frame_host/render_frame_host_impl.h const base::string16& javascript, base 144 content/browser/frame_host/render_frame_host_impl.h void SetPendingShutdown(const base::Closure& on_swap_out); base 190 content/browser/frame_host/render_frame_host_impl.h const base::string16& message, base 192 content/browser/frame_host/render_frame_host_impl.h const base::string16& source_id); base 203 content/browser/frame_host/render_frame_host_impl.h const base::string16& error_description); base 211 content/browser/frame_host/render_frame_host_impl.h const base::TimeTicks& renderer_before_unload_start_time, base 212 content/browser/frame_host/render_frame_host_impl.h const base::TimeTicks& renderer_before_unload_end_time); base 215 content/browser/frame_host/render_frame_host_impl.h void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); base 260 content/browser/frame_host/render_frame_host_impl.h base::TimeTicks send_before_unload_start_time_; base 157 content/browser/frame_host/render_frame_host_manager.cc base::UserMetricsAction("ProcessSwapBindingsMismatch_RVHM")); base 265 content/browser/frame_host/render_frame_host_manager.cc false, base::TimeTicks::Now()); base 274 content/browser/frame_host/render_frame_host_manager.cc const base::TimeTicks& proceed_time) { base 562 content/browser/frame_host/render_frame_host_manager.cc swapped_out_rfh->SetPendingShutdown(base::Bind( base 1045 content/browser/frame_host/render_frame_host_manager.cc old_render_frame_host->render_view_host()->WasSwappedOut(base::Bind( base 1155 content/browser/frame_host/render_frame_host_manager.cc tree->ForEach(base::Bind( base 1267 content/browser/frame_host/render_frame_host_manager.cc true, base::TimeTicks()); base 68 content/browser/frame_host/render_frame_host_manager.h bool proceed, const base::TimeTicks& proceed_time, base 204 content/browser/frame_host/render_frame_host_manager.h const base::TimeTicks& proceed_time); base 448 content/browser/frame_host/render_frame_host_manager.h base::WeakPtr<WebUIImpl> pending_and_current_web_ui_; base 452 content/browser/frame_host/render_frame_host_manager.h typedef base::hash_map<int32, RenderFrameHostImpl*> RenderFrameHostMap; base 456 content/browser/frame_host/render_frame_host_manager.h typedef base::hash_map<int32, linked_ptr<RenderFrameHostImpl> > base 473 content/browser/frame_host/render_frame_host_manager.h base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; base 36 content/browser/frame_host/render_frame_host_manager_browsertest.cc using base::ASCIIToUTF16; base 577 content/browser/frame_host/render_frame_host_manager_browsertest.cc base::string16 expected_title = ASCIIToUTF16("msg"); base 684 content/browser/frame_host/render_frame_host_manager_browsertest.cc base::string16 expected_title = ASCIIToUTF16("msg-back-via-port"); base 931 content/browser/frame_host/render_frame_host_manager_browsertest.cc base::string16 expected_title = ASCIIToUTF16("Modified Title"); base 1295 content/browser/frame_host/render_frame_host_manager_browsertest.cc base::string16 expected_title = ASCIIToUTF16("msg"); base 140 content/browser/frame_host/render_frame_host_manager_unittest.cc virtual void PluginCrashed(const base::FilePath& plugin_path, base 141 content/browser/frame_host/render_frame_host_manager_unittest.cc base::ProcessId plugin_pid) OVERRIDE { base 366 content/browser/frame_host/render_frame_host_manager_unittest.cc const base::string16 ntp_title = base::ASCIIToUTF16("NTP Title"); base 389 content/browser/frame_host/render_frame_host_manager_unittest.cc const base::string16 dest_title = base::ASCIIToUTF16("Google"); base 418 content/browser/frame_host/render_frame_host_manager_unittest.cc main_rfh()->GetRoutingID(), base::FilePath(), 0))); base 429 content/browser/frame_host/render_frame_host_manager_unittest.cc const base::string16 msg = base::ASCIIToUTF16("Message"); base 431 content/browser/frame_host/render_frame_host_manager_unittest.cc base::string16 unused; base 648 content/browser/frame_host/render_frame_host_manager_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 736 content/browser/frame_host/render_frame_host_manager_unittest.cc base::string16() /* title */, PAGE_TRANSITION_TYPED, base 758 content/browser/frame_host/render_frame_host_manager_unittest.cc base::string16() /* title */, PAGE_TRANSITION_LINK, base 778 content/browser/frame_host/render_frame_host_manager_unittest.cc base::string16() /* title */, PAGE_TRANSITION_LINK, base 828 content/browser/frame_host/render_frame_host_manager_unittest.cc Referrer(), base::string16() /* title */, base 856 content/browser/frame_host/render_frame_host_manager_unittest.cc base::string16() /* title */, PAGE_TRANSITION_TYPED, base 906 content/browser/frame_host/render_frame_host_manager_unittest.cc Referrer(), base::string16() /* title */, base 971 content/browser/frame_host/render_frame_host_manager_unittest.cc Referrer(), base::string16() /* title */, base 1018 content/browser/frame_host/render_frame_host_manager_unittest.cc manager1->current_host()->CreateRenderView(base::string16(), -1, -1); base 1023 content/browser/frame_host/render_frame_host_manager_unittest.cc Referrer(), base::string16() /* title */, base 1053 content/browser/frame_host/render_frame_host_manager_unittest.cc manager2->current_host()->CreateRenderView(base::string16(), -1, -1); base 1057 content/browser/frame_host/render_frame_host_manager_unittest.cc Referrer(), base::string16() /* title */, base 1255 content/browser/frame_host/render_frame_host_manager_unittest.cc opener1_manager->current_host()->CreateRenderView(base::string16(), -1, -1); base 1267 content/browser/frame_host/render_frame_host_manager_unittest.cc base::TERMINATION_STATUS_PROCESS_CRASHED, base 1353 content/browser/frame_host/render_frame_host_manager_unittest.cc base::string16() /* title */, PAGE_TRANSITION_TYPED, base 1376 content/browser/frame_host/render_frame_host_manager_unittest.cc base::string16() /* title */, PAGE_TRANSITION_LINK, base 1418 content/browser/frame_host/render_frame_host_manager_unittest.cc Referrer(), base::string16() /* title */, base 1445 content/browser/frame_host/render_frame_host_manager_unittest.cc base::string16() /* title */, PAGE_TRANSITION_TYPED, base 1460 content/browser/frame_host/render_frame_host_manager_unittest.cc manager->OnBeforeUnloadACK(false, true, base::TimeTicks()); base 1483 content/browser/frame_host/render_frame_host_manager_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1538 content/browser/frame_host/render_frame_host_manager_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1588 content/browser/frame_host/render_frame_host_manager_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1643 content/browser/frame_host/render_frame_host_manager_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1700 content/browser/frame_host/render_frame_host_manager_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 60 content/browser/frame_host/render_frame_message_filter.cc base::Bind(&CreateChildFrameOnUI, render_process_id_, base 166 content/browser/frame_host/render_widget_host_view_child_frame.cc base::TerminationStatus status, base 181 content/browser/frame_host/render_widget_host_view_child_frame.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 185 content/browser/frame_host/render_widget_host_view_child_frame.cc const base::string16& tooltip_text) { base 189 content/browser/frame_host/render_widget_host_view_child_frame.cc const base::string16& text, base 323 content/browser/frame_host/render_widget_host_view_child_frame.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 331 content/browser/frame_host/render_widget_host_view_child_frame.cc const base::Callback<void(bool)>& callback) { base 83 content/browser/frame_host/render_widget_host_view_child_frame.h virtual void RenderProcessGone(base::TerminationStatus status, base 86 content/browser/frame_host/render_widget_host_view_child_frame.h virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; base 87 content/browser/frame_host/render_widget_host_view_child_frame.h virtual void SelectionChanged(const base::string16& text, base 100 content/browser/frame_host/render_widget_host_view_child_frame.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 105 content/browser/frame_host/render_widget_host_view_child_frame.h const base::Callback<void(bool)>& callback) OVERRIDE; base 51 content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc base::MessageLoopForUI message_loop_; base 51 content/browser/frame_host/render_widget_host_view_guest.cc guest_(guest ? guest->AsWeakPtr() : base::WeakPtr<BrowserPluginGuest>()), base 134 content/browser/frame_host/render_widget_host_view_guest.cc base::TerminationStatus status, base 153 content/browser/frame_host/render_widget_host_view_guest.cc base::string16 RenderWidgetHostViewGuest::GetSelectedText() const { base 158 content/browser/frame_host/render_widget_host_view_guest.cc const base::string16& tooltip_text) { base 203 content/browser/frame_host/render_widget_host_view_guest.cc base::SharedMemory shared_memory(frame_data->handle, true, base 206 content/browser/frame_host/render_widget_host_view_guest.cc base::SharedMemory shared_memory(frame_data->handle, true); base 211 content/browser/frame_host/render_widget_host_view_guest.cc base::ProcessHandle embedder_pid = base 349 content/browser/frame_host/render_widget_host_view_guest.cc void RenderWidgetHostViewGuest::SelectionChanged(const base::string16& text, base 388 content/browser/frame_host/render_widget_host_view_guest.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 521 content/browser/frame_host/render_widget_host_view_guest.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 62 content/browser/frame_host/render_widget_host_view_guest.h virtual base::string16 GetSelectedText() const OVERRIDE; base 90 content/browser/frame_host/render_widget_host_view_guest.h virtual void RenderProcessGone(base::TerminationStatus status, base 93 content/browser/frame_host/render_widget_host_view_guest.h virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; base 94 content/browser/frame_host/render_widget_host_view_guest.h virtual void SelectionChanged(const base::string16& text, base 105 content/browser/frame_host/render_widget_host_view_guest.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 185 content/browser/frame_host/render_widget_host_view_guest.h base::WeakPtr<BrowserPluginGuest> guest_; base 52 content/browser/frame_host/render_widget_host_view_guest_unittest.cc base::MessageLoopForUI message_loop_; base 51 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc base::StringPiece str(&node_path[base_len], strlen(node_path) - base_len); base 52 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc if (!base::StringToInt(str, &tmp_idx)) base 79 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc base::Bind(&GamepadPlatformDataFetcherLinux::RefreshDevice, base 80 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc base::Unretained(this)))); base 153 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc std::string name_string = base::StringPrintf("%s", name); base 178 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc name_string = base::StringPrintf("%s %s", manufacturer, product); base 184 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc std::string id = name_string + base::StringPrintf( base 189 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc base::TruncateUTF8ToByteSize(id, WebGamepad::idLengthCap - 1, &id); base 190 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc base::string16 tmp16 = base::UTF8ToUTF16(id); base 196 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc base::TruncateUTF8ToByteSize(mapping, WebGamepad::mappingLengthCap - 1, base 198 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc tmp16 = base::UTF8ToUTF16(mapping); base 41 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h base::ScopedCFTypeRef<IOHIDManagerRef> hid_manager_ref_; base 56 content/browser/gamepad/gamepad_platform_data_fetcher_win.cc : xinput_dll_(base::FilePath(FILE_PATH_LITERAL("xinput1_3.dll"))), base 137 content/browser/gamepad/gamepad_platform_data_fetcher_win.cc std::string vendor = base::StringPrintf("%04x", gamepad->vendor_id); base 138 content/browser/gamepad/gamepad_platform_data_fetcher_win.cc std::string product = base::StringPrintf("%04x", gamepad->product_id); base 69 content/browser/gamepad/gamepad_platform_data_fetcher_win.h base::ScopedNativeLibrary xinput_dll_; base 25 content/browser/gamepad/gamepad_provider.cc const base::Closure& c, base 26 content/browser/gamepad/gamepad_provider.cc const scoped_refptr<base::MessageLoopProxy>& m) base 49 content/browser/gamepad/gamepad_provider.cc base::SystemMonitor* monitor = base::SystemMonitor::Get(); base 59 content/browser/gamepad/gamepad_provider.cc base::SharedMemoryHandle GamepadProvider::GetSharedMemoryHandleForProcess( base 60 content/browser/gamepad/gamepad_provider.cc base::ProcessHandle process) { base 61 content/browser/gamepad/gamepad_provider.cc base::SharedMemoryHandle renderer_handle; base 68 content/browser/gamepad/gamepad_provider.cc base::AutoLock lock(is_paused_lock_); base 71 content/browser/gamepad/gamepad_provider.cc base::MessageLoop* polling_loop = polling_thread_->message_loop(); base 74 content/browser/gamepad/gamepad_provider.cc base::Bind(&GamepadProvider::SendPauseHint, Unretained(this), true)); base 79 content/browser/gamepad/gamepad_provider.cc base::AutoLock lock(is_paused_lock_); base 85 content/browser/gamepad/gamepad_provider.cc base::MessageLoop* polling_loop = polling_thread_->message_loop(); base 88 content/browser/gamepad/gamepad_provider.cc base::Bind(&GamepadProvider::SendPauseHint, Unretained(this), false)); base 91 content/browser/gamepad/gamepad_provider.cc base::Bind(&GamepadProvider::ScheduleDoPoll, Unretained(this))); base 94 content/browser/gamepad/gamepad_provider.cc void GamepadProvider::RegisterForUserGesture(const base::Closure& closure) { base 95 content/browser/gamepad/gamepad_provider.cc base::AutoLock lock(user_gesture_lock_); base 97 content/browser/gamepad/gamepad_provider.cc closure, base::MessageLoop::current()->message_loop_proxy())); base 100 content/browser/gamepad/gamepad_provider.cc void GamepadProvider::OnDevicesChanged(base::SystemMonitor::DeviceType type) { base 101 content/browser/gamepad/gamepad_provider.cc base::AutoLock lock(devices_changed_lock_); base 107 content/browser/gamepad/gamepad_provider.cc base::SystemMonitor* monitor = base::SystemMonitor::Get(); base 115 content/browser/gamepad/gamepad_provider.cc polling_thread_.reset(new base::Thread("Gamepad polling thread")); base 119 content/browser/gamepad/gamepad_provider.cc const base::MessageLoop::Type kMessageLoopType = base::MessageLoop::TYPE_IO; base 124 content/browser/gamepad/gamepad_provider.cc const base::MessageLoop::Type kMessageLoopType = base::MessageLoop::TYPE_UI; base 126 content/browser/gamepad/gamepad_provider.cc polling_thread_->StartWithOptions(base::Thread::Options(kMessageLoopType, 0)); base 130 content/browser/gamepad/gamepad_provider.cc base::Bind(&GamepadProvider::DoInitializePollingThread, base 131 content/browser/gamepad/gamepad_provider.cc base::Unretained(this), base 132 content/browser/gamepad/gamepad_provider.cc base::Passed(&fetcher))); base 137 content/browser/gamepad/gamepad_provider.cc DCHECK(base::MessageLoop::current() == polling_thread_->message_loop()); base 146 content/browser/gamepad/gamepad_provider.cc DCHECK(base::MessageLoop::current() == polling_thread_->message_loop()); base 152 content/browser/gamepad/gamepad_provider.cc DCHECK(base::MessageLoop::current() == polling_thread_->message_loop()); base 165 content/browser/gamepad/gamepad_provider.cc base::AutoLock lock(devices_changed_lock_); base 183 content/browser/gamepad/gamepad_provider.cc DCHECK(base::MessageLoop::current() == polling_thread_->message_loop()); base 188 content/browser/gamepad/gamepad_provider.cc base::AutoLock lock(is_paused_lock_); base 193 content/browser/gamepad/gamepad_provider.cc base::MessageLoop::current()->PostDelayedTask( base 195 content/browser/gamepad/gamepad_provider.cc base::Bind(&GamepadProvider::DoPoll, Unretained(this)), base 196 content/browser/gamepad/gamepad_provider.cc base::TimeDelta::FromMilliseconds(kDesiredSamplingIntervalMs)); base 207 content/browser/gamepad/gamepad_provider.cc base::AutoLock lock(user_gesture_lock_); base 21 content/browser/gamepad/gamepad_provider.h namespace base { base 32 content/browser/gamepad/gamepad_provider.h public base::SystemMonitor::DevicesChangedObserver { base 43 content/browser/gamepad/gamepad_provider.h base::SharedMemoryHandle GetSharedMemoryHandleForProcess( base 44 content/browser/gamepad/gamepad_provider.h base::ProcessHandle renderer_process); base 53 content/browser/gamepad/gamepad_provider.h void RegisterForUserGesture(const base::Closure& closure); base 56 content/browser/gamepad/gamepad_provider.h virtual void OnDevicesChanged(base::SystemMonitor::DeviceType type) OVERRIDE; base 82 content/browser/gamepad/gamepad_provider.h base::Lock is_paused_lock_; base 95 content/browser/gamepad/gamepad_provider.h base::Lock user_gesture_lock_; base 97 content/browser/gamepad/gamepad_provider.h ClosureAndThread(const base::Closure& c, base 98 content/browser/gamepad/gamepad_provider.h const scoped_refptr<base::MessageLoopProxy>& m); base 101 content/browser/gamepad/gamepad_provider.h base::Closure closure; base 102 content/browser/gamepad/gamepad_provider.h scoped_refptr<base::MessageLoopProxy> message_loop; base 112 content/browser/gamepad/gamepad_provider.h base::Lock devices_changed_lock_; base 118 content/browser/gamepad/gamepad_provider.h base::SharedMemory gamepad_shared_memory_; base 121 content/browser/gamepad/gamepad_provider.h scoped_ptr<base::Thread> polling_thread_; base 28 content/browser/gamepad/gamepad_provider_unittest.cc base::Closure GetClosure() { base 29 content/browser/gamepad/gamepad_provider_unittest.cc return base::Bind(&UserGestureListener::GotUserGesture, base 40 content/browser/gamepad/gamepad_provider_unittest.cc base::WeakPtrFactory<UserGestureListener> weak_factory_; base 87 content/browser/gamepad/gamepad_provider_unittest.cc base::SharedMemoryHandle handle = provider->GetSharedMemoryHandleForProcess( base 88 content/browser/gamepad/gamepad_provider_unittest.cc base::GetCurrentProcessHandle()); base 89 content/browser/gamepad/gamepad_provider_unittest.cc scoped_ptr<base::SharedMemory> shared_memory( base 90 content/browser/gamepad/gamepad_provider_unittest.cc new base::SharedMemory(handle, true)); base 98 content/browser/gamepad/gamepad_provider_unittest.cc base::subtle::Atomic32 version; base 53 content/browser/gamepad/gamepad_service.cc void GamepadService::RegisterForUserGesture(const base::Closure& closure) { base 63 content/browser/gamepad/gamepad_service.cc base::SharedMemoryHandle GamepadService::GetSharedMemoryHandleForProcess( base 64 content/browser/gamepad/gamepad_service.cc base::ProcessHandle handle) { base 45 content/browser/gamepad/gamepad_service.h void RegisterForUserGesture(const base::Closure& closure); base 49 content/browser/gamepad/gamepad_service.h base::SharedMemoryHandle GetSharedMemoryHandleForProcess( base 50 content/browser/gamepad/gamepad_service.h base::ProcessHandle handle); base 70 content/browser/gamepad/gamepad_service.h base::ThreadChecker thread_checker_; base 18 content/browser/gamepad/gamepad_standard_mappings.h const base::StringPiece& vendor_id, base 19 content/browser/gamepad/gamepad_standard_mappings.h const base::StringPiece& product_id); base 198 content/browser/gamepad/gamepad_standard_mappings_linux.cc const base::StringPiece& vendor_id, base 199 content/browser/gamepad/gamepad_standard_mappings_linux.cc const base::StringPiece& product_id) { base 120 content/browser/gamepad/gamepad_standard_mappings_win.cc const base::StringPiece& vendor_id, base 121 content/browser/gamepad/gamepad_standard_mappings_win.cc const base::StringPiece& product_id) { base 23 content/browser/gamepad/gamepad_test_helpers.cc base::AutoLock lock(lock_); base 34 content/browser/gamepad/gamepad_test_helpers.cc base::AutoLock lock(lock_); base 40 content/browser/gamepad/gamepad_test_helpers.h base::Lock lock_; base 42 content/browser/gamepad/gamepad_test_helpers.h base::WaitableEvent read_data_; base 53 content/browser/gamepad/gamepad_test_helpers.h base::MessageLoop& message_loop() { return message_loop_; } base 57 content/browser/gamepad/gamepad_test_helpers.h base::MessageLoop message_loop_; base 34 content/browser/gamepad/raw_input_data_fetcher_win.cc : hid_dll_(base::FilePath(FILE_PATH_LITERAL("hid.dll"))) base 65 content/browser/gamepad/raw_input_data_fetcher_win.cc window_.reset(new base::win::MessageWindow()); base 66 content/browser/gamepad/raw_input_data_fetcher_win.cc if (!window_->Create(base::Bind(&RawInputDataFetcher::HandleMessage, base 67 content/browser/gamepad/raw_input_data_fetcher_win.cc base::Unretained(this)))) { base 87 content/browser/gamepad/raw_input_data_fetcher_win.cc base::MessageLoop::current()->AddDestructionObserver(this); base 111 content/browser/gamepad/raw_input_data_fetcher_win.cc base::MessageLoop::current()->RemoveDestructionObserver(this); base 55 content/browser/gamepad/raw_input_data_fetcher_win.h : public base::SupportsWeakPtr<RawInputDataFetcher>, base 56 content/browser/gamepad/raw_input_data_fetcher_win.h public base::MessageLoop::DestructionObserver { base 116 content/browser/gamepad/raw_input_data_fetcher_win.h base::ScopedNativeLibrary hid_dll_; base 117 content/browser/gamepad/raw_input_data_fetcher_win.h scoped_ptr<base::win::MessageWindow> window_; base 270 content/browser/gamepad/xbox_data_fetcher_mac.cc base::mac::ScopedIOPluginInterface<IOCFPlugInInterface> plugin_ref(plugin); base 347 content/browser/gamepad/xbox_data_fetcher_mac.cc base::mac::ScopedIOObject<io_iterator_t> iter_ref(iter); base 367 content/browser/gamepad/xbox_data_fetcher_mac.cc base::mac::ScopedIOPluginInterface<IOCFPlugInInterface> interface_ref( base 643 content/browser/gamepad/xbox_data_fetcher_mac.cc base::mac::ScopedIOObject<io_service_t> scoped_ref(ref); base 658 content/browser/gamepad/xbox_data_fetcher_mac.cc base::mac::ScopedIOObject<io_service_t> scoped_ref(ref); base 659 content/browser/gamepad/xbox_data_fetcher_mac.cc base::ScopedCFTypeRef<CFNumberRef> number( base 660 content/browser/gamepad/xbox_data_fetcher_mac.cc base::mac::CFCastStrict<CFNumberRef>( base 702 content/browser/gamepad/xbox_data_fetcher_mac.cc base::mac::ScopedIOObject<io_iterator_t>* added_iter, base 703 content/browser/gamepad/xbox_data_fetcher_mac.cc base::mac::ScopedIOObject<io_iterator_t>* removed_iter) { base 704 content/browser/gamepad/xbox_data_fetcher_mac.cc base::ScopedCFTypeRef<CFNumberRef> vendor_cf(CFNumberCreate( base 706 content/browser/gamepad/xbox_data_fetcher_mac.cc base::ScopedCFTypeRef<CFNumberRef> product_cf(CFNumberCreate( base 708 content/browser/gamepad/xbox_data_fetcher_mac.cc base::ScopedCFTypeRef<CFMutableDictionaryRef> matching_dict( base 102 content/browser/gamepad/xbox_data_fetcher_mac.h base::mac::ScopedIOPluginInterface<struct IOUSBDeviceStruct320> device_; base 106 content/browser/gamepad/xbox_data_fetcher_mac.h base::mac::ScopedIOPluginInterface<struct IOUSBInterfaceStruct300> interface_; base 111 content/browser/gamepad/xbox_data_fetcher_mac.h base::ScopedCFTypeRef<CFRunLoopSourceRef> source_; base 154 content/browser/gamepad/xbox_data_fetcher_mac.h base::mac::ScopedIOObject<io_iterator_t>* added_iter, base 155 content/browser/gamepad/xbox_data_fetcher_mac.h base::mac::ScopedIOObject<io_iterator_t>* removed_iter); base 180 content/browser/gamepad/xbox_data_fetcher_mac.h base::mac::ScopedIOObject<io_iterator_t> xbox_360_device_added_iter_; base 181 content/browser/gamepad/xbox_data_fetcher_mac.h base::mac::ScopedIOObject<io_iterator_t> xbox_360_device_removed_iter_; base 182 content/browser/gamepad/xbox_data_fetcher_mac.h base::mac::ScopedIOObject<io_iterator_t> xbox_one_device_added_iter_; base 183 content/browser/gamepad/xbox_data_fetcher_mac.h base::mac::ScopedIOObject<io_iterator_t> xbox_one_device_removed_iter_; base 12 content/browser/geolocation/fake_access_token_store.cc using base::MessageLoopProxy; base 33 content/browser/geolocation/fake_access_token_store.cc base::Bind(&FakeAccessTokenStore::NotifyDelegateTokensLoaded, this)); base 48 content/browser/geolocation/fake_access_token_store.cc const GURL& server_url, const base::string16& access_token) { base 27 content/browser/geolocation/fake_access_token_store.h const base::string16& access_token)); base 32 content/browser/geolocation/fake_access_token_store.h const base::string16& access_token); base 45 content/browser/geolocation/fake_access_token_store.h base::MessageLoopProxy* originating_message_loop_; base 44 content/browser/geolocation/geolocation_dispatcher_host.cc base::Bind(&NotifyGeolocationProviderPermissionGranted)); base 118 content/browser/geolocation/geolocation_dispatcher_host.cc callback_ = base::Bind( base 119 content/browser/geolocation/geolocation_dispatcher_host.cc &GeolocationDispatcherHostImpl::OnLocationUpdate, base::Unretained(this)); base 172 content/browser/geolocation/geolocation_dispatcher_host.cc base::Bind(&SendGeolocationPermissionResponse, base 179 content/browser/geolocation/geolocation_dispatcher_host.cc base::Bind(&SendGeolocationPermissionResponse, render_process_id_, base 22 content/browser/geolocation/geolocation_provider_impl.cc const base::Closure& completion_callback, base 23 content/browser/geolocation/geolocation_provider_impl.cc scoped_refptr<base::MessageLoopProxy> callback_loop) { base 36 content/browser/geolocation/geolocation_provider_impl.cc const base::Closure& completion_callback) { base 37 content/browser/geolocation/geolocation_provider_impl.cc base::Closure closure = base::Bind(&OverrideLocationForTestingOnIOThread, base 40 content/browser/geolocation/geolocation_provider_impl.cc base::MessageLoopProxy::current()); base 106 content/browser/geolocation/geolocation_provider_impl.cc base::Bind(&GeolocationProviderImpl::NotifyClients, base 107 content/browser/geolocation/geolocation_provider_impl.cc base::Unretained(this), position)); base 124 content/browser/geolocation/geolocation_provider_impl.cc : base::Thread("Geolocation"), base 139 content/browser/geolocation/geolocation_provider_impl.cc return base::MessageLoop::current() == message_loop(); base 144 content/browser/geolocation/geolocation_provider_impl.cc base::Closure task; base 150 content/browser/geolocation/geolocation_provider_impl.cc task = base::Bind(&GeolocationProviderImpl::StopProviders, base 151 content/browser/geolocation/geolocation_provider_impl.cc base::Unretained(this)); base 169 content/browser/geolocation/geolocation_provider_impl.cc task = base::Bind(&GeolocationProviderImpl::StartProviders, base 170 content/browser/geolocation/geolocation_provider_impl.cc base::Unretained(this), base 194 content/browser/geolocation/geolocation_provider_impl.cc base::Bind(&GeolocationProviderImpl::InformProvidersPermissionGranted, base 195 content/browser/geolocation/geolocation_provider_impl.cc base::Unretained(this))); base 231 content/browser/geolocation/geolocation_provider_impl.cc LocationArbitratorImpl::LocationUpdateCallback callback = base::Bind( base 232 content/browser/geolocation/geolocation_provider_impl.cc &GeolocationProviderImpl::OnLocationUpdate, base::Unretained(this)); base 36 content/browser/geolocation/geolocation_provider_impl.h public base::Thread { base 66 content/browser/geolocation/geolocation_provider_unittest.cc base::MessageLoop::current()->Quit(); base 133 content/browser/geolocation/geolocation_provider_unittest.cc base::MessageLoop message_loop_; base 141 content/browser/geolocation/geolocation_provider_unittest.cc DCHECK(base::MessageLoop::current() == &message_loop_); base 145 content/browser/geolocation/geolocation_provider_unittest.cc base::Bind(&GeolocationProviderTest::GetProvidersStarted, base 146 content/browser/geolocation/geolocation_provider_unittest.cc base::Unretained(this), base 148 content/browser/geolocation/geolocation_provider_unittest.cc base::MessageLoop::QuitClosure()); base 154 content/browser/geolocation/geolocation_provider_unittest.cc DCHECK(base::MessageLoop::current() == provider_->message_loop()); base 160 content/browser/geolocation/geolocation_provider_unittest.cc DCHECK(base::MessageLoop::current() == &message_loop_); base 163 content/browser/geolocation/geolocation_provider_unittest.cc base::Bind(&GeolocationProviderImpl::OnLocationUpdate, base 164 content/browser/geolocation/geolocation_provider_unittest.cc base::Unretained(provider_.get()), base 192 content/browser/geolocation/geolocation_provider_unittest.cc first_position.timestamp = base::Time::Now(); base 195 content/browser/geolocation/geolocation_provider_unittest.cc GeolocationProviderImpl::LocationUpdateCallback first_callback = base::Bind( base 197 content/browser/geolocation/geolocation_provider_unittest.cc base::Unretained(&first_observer)); base 201 content/browser/geolocation/geolocation_provider_unittest.cc base::MessageLoop::current()->Run(); base 209 content/browser/geolocation/geolocation_provider_unittest.cc second_position.timestamp = base::Time::Now(); base 216 content/browser/geolocation/geolocation_provider_unittest.cc GeolocationProviderImpl::LocationUpdateCallback second_callback = base::Bind( base 218 content/browser/geolocation/geolocation_provider_unittest.cc base::Unretained(&second_observer)); base 220 content/browser/geolocation/geolocation_provider_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 226 content/browser/geolocation/geolocation_provider_unittest.cc base::MessageLoop::current()->Run(); base 240 content/browser/geolocation/geolocation_provider_unittest.cc GeolocationProviderImpl::LocationUpdateCallback callback = base::Bind( base 242 content/browser/geolocation/geolocation_provider_unittest.cc base::Unretained(&mock_observer)); base 14 content/browser/geolocation/location_api_adapter_android.cc using base::android::AttachCurrentThread; base 15 content/browser/geolocation/location_api_adapter_android.cc using base::android::CheckException; base 16 content/browser/geolocation/location_api_adapter_android.cc using base::android::ClearException; base 56 content/browser/geolocation/location_api_adapter_android.cc base::AutoLock lock(lock_); base 58 content/browser/geolocation/location_api_adapter_android.cc message_loop_ = base::MessageLoopProxy::current(); base 80 content/browser/geolocation/location_api_adapter_android.cc base::AutoLock lock(lock_); base 112 content/browser/geolocation/location_api_adapter_android.cc position.timestamp = base::Time::FromDoubleT(time_stamp); base 130 content/browser/geolocation/location_api_adapter_android.cc base::android::ConvertJavaStringToUTF8(env, message); base 148 content/browser/geolocation/location_api_adapter_android.cc base::android::GetApplicationContext())); base 154 content/browser/geolocation/location_api_adapter_android.cc base::AutoLock lock(lock_); base 159 content/browser/geolocation/location_api_adapter_android.cc base::Bind( base 69 content/browser/geolocation/location_api_adapter_android.h base::android::ScopedJavaGlobalRef<jobject> base 75 content/browser/geolocation/location_api_adapter_android.h base::Lock lock_; base 76 content/browser/geolocation/location_api_adapter_android.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 27 content/browser/geolocation/location_arbitrator_impl.cc 11 * base::Time::kMillisecondsPerSecond; base 33 content/browser/geolocation/location_arbitrator_impl.cc base::Bind(&LocationArbitratorImpl::LocationUpdateAvailable, base 34 content/browser/geolocation/location_arbitrator_impl.cc base::Unretained(this))), base 62 content/browser/geolocation/location_arbitrator_impl.cc base::Bind(&LocationArbitratorImpl::OnAccessTokenStoresLoaded, base 63 content/browser/geolocation/location_arbitrator_impl.cc base::Unretained(this))); base 152 content/browser/geolocation/location_arbitrator_impl.cc const base::string16& access_token) { base 170 content/browser/geolocation/location_arbitrator_impl.cc base::Time LocationArbitratorImpl::GetTimeNow() const { base 171 content/browser/geolocation/location_arbitrator_impl.cc return base::Time::Now(); base 37 content/browser/geolocation/location_arbitrator_impl.h typedef base::Callback<void(const Geoposition&)> LocationUpdateCallback; base 60 content/browser/geolocation/location_arbitrator_impl.h const base::string16& access_token); base 62 content/browser/geolocation/location_arbitrator_impl.h virtual base::Time GetTimeNow() const; base 37 content/browser/geolocation/location_arbitrator_impl_unittest.cc base::Time GetTimeNowForTest() { base 38 content/browser/geolocation/location_arbitrator_impl_unittest.cc return base::Time::FromDoubleT(g_fake_time_now_secs); base 41 content/browser/geolocation/location_arbitrator_impl_unittest.cc void AdvanceTimeNow(const base::TimeDelta& delta) { base 76 content/browser/geolocation/location_arbitrator_impl_unittest.cc virtual base::Time GetTimeNow() const OVERRIDE { base 88 content/browser/geolocation/location_arbitrator_impl_unittest.cc const base::string16& access_token) OVERRIDE { base 114 content/browser/geolocation/location_arbitrator_impl_unittest.cc base::Bind(&MockLocationObserver::OnLocationUpdate, base 115 content/browser/geolocation/location_arbitrator_impl_unittest.cc base::Unretained(observer_.get())); base 134 content/browser/geolocation/location_arbitrator_impl_unittest.cc base::TimeDelta SwitchOnFreshnessCliff() { base 136 content/browser/geolocation/location_arbitrator_impl_unittest.cc return base::TimeDelta::FromMilliseconds( base 151 content/browser/geolocation/location_arbitrator_impl_unittest.cc base::MessageLoop loop_; base 256 content/browser/geolocation/location_arbitrator_impl_unittest.cc AdvanceTimeNow(base::TimeDelta::FromSeconds(15)); base 261 content/browser/geolocation/location_arbitrator_impl_unittest.cc AdvanceTimeNow(base::TimeDelta::FromMinutes(5)); base 267 content/browser/geolocation/location_arbitrator_impl_unittest.cc AdvanceTimeNow(base::TimeDelta::FromMinutes(5)); base 272 content/browser/geolocation/location_arbitrator_impl_unittest.cc AdvanceTimeNow(base::TimeDelta::FromMinutes(14)); base 278 content/browser/geolocation/location_arbitrator_impl_unittest.cc AdvanceTimeNow(base::TimeDelta::FromSeconds(7)); base 283 content/browser/geolocation/location_arbitrator_impl_unittest.cc AdvanceTimeNow(base::TimeDelta::FromMinutes(1)); base 291 content/browser/geolocation/location_arbitrator_impl_unittest.cc AdvanceTimeNow(base::TimeDelta::FromMinutes(2)); base 320 content/browser/geolocation/location_arbitrator_impl_unittest.cc AdvanceTimeNow(base::TimeDelta::FromMilliseconds(5)); base 25 content/browser/geolocation/mock_location_provider.cc provider_loop_(base::MessageLoopProxy::current()) { base 45 content/browser/geolocation/mock_location_provider.cc base::Bind(&MockLocationProvider::HandlePositionChanged, base 46 content/browser/geolocation/mock_location_provider.cc base::Unretained(this), position)); base 84 content/browser/geolocation/mock_location_provider.cc position_.timestamp = base::Time::Now(); base 107 content/browser/geolocation/mock_location_provider.cc base::MessageLoop::current()->PostTask( base 109 content/browser/geolocation/mock_location_provider.cc base::Bind(&MockLocationProvider::HandlePositionChanged, base 115 content/browser/geolocation/mock_location_provider.cc base::WeakPtrFactory<MockLocationProvider> weak_factory_; base 39 content/browser/geolocation/mock_location_provider.h scoped_refptr<base::MessageLoopProxy> provider_loop_; base 30 content/browser/geolocation/network_location_provider.cc base::string16 key; base 60 content/browser/geolocation/network_location_provider.cc base::string16 key; base 74 content/browser/geolocation/network_location_provider.cc base::string16* key) { base 80 content/browser/geolocation/network_location_provider.cc const base::string16 separator(base::ASCIIToUTF16("|")); base 99 content/browser/geolocation/network_location_provider.cc const base::string16& access_token) { base 109 content/browser/geolocation/network_location_provider.cc const base::string16& access_token) base 113 content/browser/geolocation/network_location_provider.cc base::Bind(&NetworkLocationProvider::WifiDataUpdateAvailable, base 114 content/browser/geolocation/network_location_provider.cc base::Unretained(this))), base 124 content/browser/geolocation/network_location_provider.cc base::Bind(&NetworkLocationProvider::LocationResponseAvailable, base 125 content/browser/geolocation/network_location_provider.cc base::Unretained(this)); base 166 content/browser/geolocation/network_location_provider.cc const base::string16& access_token, base 201 content/browser/geolocation/network_location_provider.cc base::MessageLoop::current()->PostDelayedTask( base 203 content/browser/geolocation/network_location_provider.cc base::Bind(&NetworkLocationProvider::RequestPosition, base 205 content/browser/geolocation/network_location_provider.cc base::TimeDelta::FromSeconds(kDataCompleteWaitSeconds)); base 215 content/browser/geolocation/network_location_provider.cc wifi_data_updated_timestamp_ = base::Time::Now(); base 29 content/browser/geolocation/network_location_provider.h : public base::NonThreadSafe, base 57 content/browser/geolocation/network_location_provider.h base::string16* key); base 62 content/browser/geolocation/network_location_provider.h typedef std::map<base::string16, Geoposition> CacheMap; base 71 content/browser/geolocation/network_location_provider.h const base::string16& access_token); base 95 content/browser/geolocation/network_location_provider.h const base::string16& access_token, base 110 content/browser/geolocation/network_location_provider.h base::Time wifi_data_updated_timestamp_; base 114 content/browser/geolocation/network_location_provider.h base::string16 access_token_; base 130 content/browser/geolocation/network_location_provider.h base::WeakPtrFactory<NetworkLocationProvider> weak_factory_; base 141 content/browser/geolocation/network_location_provider.h const base::string16& access_token); base 33 content/browser/geolocation/network_location_provider_unittest.cc : client_message_loop_(base::MessageLoop::current()), base 40 content/browser/geolocation/network_location_provider_unittest.cc EXPECT_EQ(client_message_loop_, base::MessageLoop::current()); base 45 content/browser/geolocation/network_location_provider_unittest.cc base::MessageLoop* client_message_loop_; base 165 content/browser/geolocation/network_location_provider_unittest.cc base::ASCIIToUTF16(base::StringPrintf("%02d-34-56-78-54-32", i)); base 169 content/browser/geolocation/network_location_provider_unittest.cc ap.ssid = base::ASCIIToUTF16("Some nice+network|name\\"); base 176 content/browser/geolocation/network_location_provider_unittest.cc int ap_count, int start_index, base::ListValue* wifi_access_point_list) { base 179 content/browser/geolocation/network_location_provider_unittest.cc base::DictionaryValue* ap = new base::DictionaryValue(); base 180 content/browser/geolocation/network_location_provider_unittest.cc ap->SetString("macAddress", base::StringPrintf("%02d-34-56-78-54-32", i)); base 194 content/browser/geolocation/network_location_provider_unittest.cc pos.timestamp = base::Time::Now(); base 198 content/browser/geolocation/network_location_provider_unittest.cc static std::string PrettyJson(const base::Value& value) { base 200 content/browser/geolocation/network_location_provider_unittest.cc base::JSONWriter::WriteWithOptions( base 201 content/browser/geolocation/network_location_provider_unittest.cc &value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &pretty); base 207 content/browser/geolocation/network_location_provider_unittest.cc const base::DictionaryValue& dict, base 208 content/browser/geolocation/network_location_provider_unittest.cc const base::ListValue** output_list) { base 217 content/browser/geolocation/network_location_provider_unittest.cc const base::DictionaryValue& expected, base 218 content/browser/geolocation/network_location_provider_unittest.cc const base::DictionaryValue& actual) { base 219 content/browser/geolocation/network_location_provider_unittest.cc const base::Value* expected_value; base 220 content/browser/geolocation/network_location_provider_unittest.cc const base::Value* actual_value; base 268 content/browser/geolocation/network_location_provider_unittest.cc scoped_ptr<base::Value> parsed_json( base 269 content/browser/geolocation/network_location_provider_unittest.cc base::JSONReader::ReadAndReturnError( base 271 content/browser/geolocation/network_location_provider_unittest.cc base::JSON_PARSE_RFC, base 277 content/browser/geolocation/network_location_provider_unittest.cc const base::DictionaryValue* request_json; base 291 content/browser/geolocation/network_location_provider_unittest.cc base::ListValue expected_wifi_aps_json; base 298 content/browser/geolocation/network_location_provider_unittest.cc const base::ListValue* wifi_aps_json; base 302 content/browser/geolocation/network_location_provider_unittest.cc const base::DictionaryValue* expected_json; base 304 content/browser/geolocation/network_location_provider_unittest.cc const base::DictionaryValue* actual_json; base 321 content/browser/geolocation/network_location_provider_unittest.cc base::MessageLoop main_message_loop_; base 329 content/browser/geolocation/network_location_provider_unittest.cc EXPECT_EQ(&main_message_loop_, base::MessageLoop::current()); base 424 content/browser/geolocation/network_location_provider_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(REFERENCE_ACCESS_TOKEN), base 477 content/browser/geolocation/network_location_provider_unittest.cc base::Bind(&MessageLoopQuitListener::LocationUpdateAvailable, base 478 content/browser/geolocation/network_location_provider_unittest.cc base::Unretained(&listener))); base 520 content/browser/geolocation/network_location_provider_unittest.cc base::UTF8ToUTF16(REFERENCE_ACCESS_TOKEN); base 74 content/browser/geolocation/network_location_request.cc const base::Time& timestamp, base 75 content/browser/geolocation/network_location_request.cc const base::string16& access_token, base 83 content/browser/geolocation/network_location_request.cc const base::Time& timestamp, base 86 content/browser/geolocation/network_location_request.cc base::string16* access_token); base 92 content/browser/geolocation/network_location_request.cc const base::Time& timestamp, base 94 content/browser/geolocation/network_location_request.cc base::string16* access_token); base 97 content/browser/geolocation/network_location_request.cc base::DictionaryValue* request); base 114 content/browser/geolocation/network_location_request.cc bool NetworkLocationRequest::MakeRequest(const base::string16& access_token, base 116 content/browser/geolocation/network_location_request.cc const base::Time& timestamp) { base 139 content/browser/geolocation/network_location_request.cc start_time_ = base::TimeTicks::Now(); base 153 content/browser/geolocation/network_location_request.cc base::string16 access_token; base 168 content/browser/geolocation/network_location_request.cc const base::TimeDelta request_time = base::TimeTicks::Now() - start_time_; base 173 content/browser/geolocation/network_location_request.cc base::TimeDelta::FromMilliseconds(1), base 174 content/browser/geolocation/network_location_request.cc base::TimeDelta::FromSeconds(10), base 209 content/browser/geolocation/network_location_request.cc const base::Time& timestamp, base 210 content/browser/geolocation/network_location_request.cc const base::string16& access_token, base 215 content/browser/geolocation/network_location_request.cc int64 delta_ms = (base::Time::Now() - timestamp).InMilliseconds(); base 220 content/browser/geolocation/network_location_request.cc base::DictionaryValue request; base 224 content/browser/geolocation/network_location_request.cc base::JSONWriter::Write(&request, upload_data); base 228 content/browser/geolocation/network_location_request.cc base::DictionaryValue* dict) { base 235 content/browser/geolocation/network_location_request.cc base::DictionaryValue* dict) { base 243 content/browser/geolocation/network_location_request.cc base::DictionaryValue* request) { base 259 content/browser/geolocation/network_location_request.cc base::ListValue* wifi_access_point_list = new base::ListValue(); base 264 content/browser/geolocation/network_location_request.cc base::DictionaryValue* wifi_dict = new base::DictionaryValue(); base 265 content/browser/geolocation/network_location_request.cc AddString("macAddress", base::UTF16ToUTF8((*iter)->mac_address), wifi_dict); base 291 content/browser/geolocation/network_location_request.cc const base::Time& timestamp, base 294 content/browser/geolocation/network_location_request.cc base::string16* access_token) { base 307 content/browser/geolocation/network_location_request.cc message += base::IntToString(status_code); base 335 content/browser/geolocation/network_location_request.cc bool GetAsDouble(const base::DictionaryValue& object, base 339 content/browser/geolocation/network_location_request.cc const base::Value* value = NULL; base 352 content/browser/geolocation/network_location_request.cc const base::Time& timestamp, base 354 content/browser/geolocation/network_location_request.cc base::string16* access_token) { base 369 content/browser/geolocation/network_location_request.cc scoped_ptr<base::Value> response_value(base::JSONReader::ReadAndReturnError( base 370 content/browser/geolocation/network_location_request.cc response_body, base::JSON_PARSE_RFC, NULL, &error_msg)); base 377 content/browser/geolocation/network_location_request.cc if (!response_value->IsType(base::Value::TYPE_DICTIONARY)) { base 382 content/browser/geolocation/network_location_request.cc const base::DictionaryValue* response_object = base 383 content/browser/geolocation/network_location_request.cc static_cast<base::DictionaryValue*>(response_value.get()); base 389 content/browser/geolocation/network_location_request.cc const base::Value* location_value = NULL; base 398 content/browser/geolocation/network_location_request.cc if (!location_value->IsType(base::Value::TYPE_DICTIONARY)) { base 399 content/browser/geolocation/network_location_request.cc if (!location_value->IsType(base::Value::TYPE_NULL)) { base 408 content/browser/geolocation/network_location_request.cc const base::DictionaryValue* location_object = base 409 content/browser/geolocation/network_location_request.cc static_cast<const base::DictionaryValue*>(location_value); base 34 content/browser/geolocation/network_location_request.h typedef base::Callback<void(const Geoposition& /* position */, base 36 content/browser/geolocation/network_location_request.h const base::string16& /* access_token */, base 48 content/browser/geolocation/network_location_request.h bool MakeRequest(const base::string16& access_token, base 50 content/browser/geolocation/network_location_request.h const base::Time& timestamp); base 67 content/browser/geolocation/network_location_request.h base::Time timestamp_; // Timestamp of the above data, not of the request. base 70 content/browser/geolocation/network_location_request.h base::TimeTicks start_time_; base 22 content/browser/geolocation/wifi_data.h base::string16 mac_address; base 26 content/browser/geolocation/wifi_data.h base::string16 ssid; // Network identifier base 62 content/browser/geolocation/wifi_data_provider.cc client_loop_(base::MessageLoop::current()) { base 87 content/browser/geolocation/wifi_data_provider.cc client_loop_->PostTask(FROM_HERE, base::Bind( base 93 content/browser/geolocation/wifi_data_provider.cc return base::MessageLoop::current() == this->client_loop_; base 96 content/browser/geolocation/wifi_data_provider.cc base::MessageLoop* WifiDataProviderImplBase::client_loop() const { base 42 content/browser/geolocation/wifi_data_provider.h : public base::RefCountedThreadSafe<WifiDataProviderImplBase> { base 63 content/browser/geolocation/wifi_data_provider.h typedef base::Callback<void(WifiDataProvider*)> WifiDataUpdateCallback; base 72 content/browser/geolocation/wifi_data_provider.h friend class base::RefCountedThreadSafe<WifiDataProviderImplBase>; base 83 content/browser/geolocation/wifi_data_provider.h base::MessageLoop* client_loop() const; base 92 content/browser/geolocation/wifi_data_provider.h base::MessageLoop* client_loop_; base 116 content/browser/geolocation/wifi_data_provider.h typedef base::Callback<void(WifiDataProvider*)> WifiDataUpdateCallback; base 76 content/browser/geolocation/wifi_data_provider_chromeos.cc base::Bind(&WifiDataProviderChromeOs::DidWifiScanTask, this, new_data)); base 80 content/browser/geolocation/wifi_data_provider_chromeos.cc base::Bind(&WifiDataProviderChromeOs::DidWifiScanTaskNoResults, this)); base 115 content/browser/geolocation/wifi_data_provider_chromeos.cc base::Bind(&WifiDataProviderChromeOs::DoWifiScanTaskOnUIThread, this), base 116 content/browser/geolocation/wifi_data_provider_chromeos.cc base::TimeDelta::FromMilliseconds(interval)); base 134 content/browser/geolocation/wifi_data_provider_chromeos.cc base::Bind(&WifiDataProviderChromeOs::DoStartTaskOnUIThread, this)); base 154 content/browser/geolocation/wifi_data_provider_chromeos.cc ap_data.mac_address = base::ASCIIToUTF16(i->mac_address); base 158 content/browser/geolocation/wifi_data_provider_chromeos.cc ap_data.ssid = base::UTF8ToUTF16(i->ssid); base 45 content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc base::DictionaryValue properties; base 47 content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc base::StringPrintf("%02X:%02X:%02X:%02X:%02X:%02X", base 49 content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc std::string channel = base::StringPrintf("%d", i * 10 + j); base 50 content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc std::string strength = base::StringPrintf("%d", i * 100 + j); base 63 content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc base::MessageLoopForUI message_loop_; base 88 content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc base::UTF16ToUTF8(ap_data_.begin()->mac_address)); base 13 content/browser/geolocation/wifi_data_provider_common.cc base::string16 MacAddressAsString16(const uint8 mac_as_int[6]) { base 18 content/browser/geolocation/wifi_data_provider_common.cc return base::ASCIIToUTF16(base::StringPrintf(kMacFormatString, base 85 content/browser/geolocation/wifi_data_provider_common.cc base::Bind(&WifiDataProviderCommon::DoWifiScanTask, base 87 content/browser/geolocation/wifi_data_provider_common.cc base::TimeDelta::FromMilliseconds(interval)); base 21 content/browser/geolocation/wifi_data_provider_common.h base::string16 MacAddressAsString16(const uint8 mac_as_int[6]); base 74 content/browser/geolocation/wifi_data_provider_common.h base::WeakPtrFactory<WifiDataProviderCommon> weak_factory_; base 63 content/browser/geolocation/wifi_data_provider_common_unittest.cc explicit MessageLoopQuitter(base::MessageLoop* message_loop) base 65 content/browser/geolocation/wifi_data_provider_common_unittest.cc callback_(base::Bind(&MessageLoopQuitter::WifiDataUpdateAvailable, base 66 content/browser/geolocation/wifi_data_provider_common_unittest.cc base::Unretained(this))) { base 72 content/browser/geolocation/wifi_data_provider_common_unittest.cc EXPECT_EQ(base::MessageLoop::current(), message_loop_to_quit_); base 75 content/browser/geolocation/wifi_data_provider_common_unittest.cc base::MessageLoop* message_loop_to_quit_; base 128 content/browser/geolocation/wifi_data_provider_common_unittest.cc base::MessageLoop main_message_loop_; base 137 content/browser/geolocation/wifi_data_provider_common_unittest.cc EXPECT_EQ(&main_message_loop_, base::MessageLoop::current()); base 176 content/browser/geolocation/wifi_data_provider_common_unittest.cc single_access_point.ssid = base::ASCIIToUTF16("foossid"); base 207 content/browser/geolocation/wifi_data_provider_common_unittest.cc single_access_point.ssid = base::ASCIIToUTF16("foossid"); base 22 content/browser/geolocation/wifi_data_provider_common_win.cc base::UTF8ToUTF16(reinterpret_cast<const char*>(data.Ssid.Ssid), base 257 content/browser/geolocation/wifi_data_provider_linux.cc access_point_data.ssid = base::UTF8ToUTF16(ssid); base 275 content/browser/geolocation/wifi_data_provider_linux.cc if (!base::HexStringToBytes(mac, &mac_bytes) || mac_bytes.size() != 6) { base 278 content/browser/geolocation/wifi_data_provider_linux.cc access_point_data.mac_address = base::UTF8ToUTF16(mac); base 108 content/browser/geolocation/wifi_data_provider_linux_unittest.cc base::MessageLoop message_loop_; base 225 content/browser/geolocation/wifi_data_provider_linux_unittest.cc EXPECT_EQ("test", base::UTF16ToUTF8(access_point_data.ssid)); base 227 content/browser/geolocation/wifi_data_provider_linux_unittest.cc base::UTF16ToUTF8(access_point_data.mac_address)); base 143 content/browser/geolocation/wifi_data_provider_mac.cc if (!base::UTF8ToUTF16(reinterpret_cast<const char*>( base 15 content/browser/geolocation/wifi_data_provider_unittest_win.cc base::MessageLoop dummy_loop; base 130 content/browser/geolocation/wifi_data_provider_win.cc std::vector<base::string16>* interface_service_names_out); base 133 content/browser/geolocation/wifi_data_provider_win.cc explicit WindowsNdisApi(std::vector<base::string16>* interface_service_names); base 138 content/browser/geolocation/wifi_data_provider_win.cc std::vector<base::string16> interface_service_names_; base 147 content/browser/geolocation/wifi_data_provider_win.cc bool UndefineDosDevice(const base::string16& device_name); base 148 content/browser/geolocation/wifi_data_provider_win.cc bool DefineDosDeviceIfNotExists(const base::string16& device_name); base 149 content/browser/geolocation/wifi_data_provider_win.cc HANDLE GetFileHandle(const base::string16& device_name); base 156 content/browser/geolocation/wifi_data_provider_win.cc scoped_ptr<BYTE, base::FreeDeleter>* buffer); base 159 content/browser/geolocation/wifi_data_provider_win.cc bool GetSystemDirectory(base::string16* path); base 203 content/browser/geolocation/wifi_data_provider_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 206 content/browser/geolocation/wifi_data_provider_win.cc base::string16 system_directory; base 211 content/browser/geolocation/wifi_data_provider_win.cc base::string16 dll_path = system_directory + L"wlanapi.dll"; base 318 content/browser/geolocation/wifi_data_provider_win.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 337 content/browser/geolocation/wifi_data_provider_win.cc const base::TimeDelta duration = base::TimeTicks::Now() - start_time; base 342 content/browser/geolocation/wifi_data_provider_win.cc base::TimeDelta::FromMilliseconds(1), base 343 content/browser/geolocation/wifi_data_provider_win.cc base::TimeDelta::FromMinutes(1), base 363 content/browser/geolocation/wifi_data_provider_win.cc std::vector<base::string16>* interface_service_names) base 373 content/browser/geolocation/wifi_data_provider_win.cc std::vector<base::string16> interface_service_names; base 416 content/browser/geolocation/wifi_data_provider_win.cc std::vector<base::string16>* interface_service_names_out) { base 472 content/browser/geolocation/wifi_data_provider_win.cc scoped_ptr<BYTE, base::FreeDeleter> buffer( base 524 content/browser/geolocation/wifi_data_provider_win.cc base::UTF8ToUTF16(reinterpret_cast<const char*>(bss_entry.dot11Ssid.ucSSID), base 534 content/browser/geolocation/wifi_data_provider_win.cc bool UndefineDosDevice(const base::string16& device_name) { base 536 content/browser/geolocation/wifi_data_provider_win.cc base::string16 target_path = L"\\Device\\" + device_name; base 543 content/browser/geolocation/wifi_data_provider_win.cc bool DefineDosDeviceIfNotExists(const base::string16& device_name) { base 545 content/browser/geolocation/wifi_data_provider_win.cc base::string16 target_path = L"\\Device\\" + device_name; base 569 content/browser/geolocation/wifi_data_provider_win.cc HANDLE GetFileHandle(const base::string16& device_name) { base 572 content/browser/geolocation/wifi_data_provider_win.cc base::string16 formatted_device_name = L"\\\\.\\" + device_name; base 602 content/browser/geolocation/wifi_data_provider_win.cc scoped_ptr<BYTE, base::FreeDeleter>* buffer) { base 615 content/browser/geolocation/wifi_data_provider_win.cc bool GetSystemDirectory(base::string16* path) { base 622 content/browser/geolocation/wifi_data_provider_win.cc scoped_ptr<base::char16[]> buffer(new base::char16[buffer_size]); base 44 content/browser/gpu/browser_gpu_channel_host_factory.cc main_loop_(base::MessageLoopProxy::current()) { base 45 content/browser/gpu/browser_gpu_channel_host_factory.cc scoped_refptr<base::MessageLoopProxy> loop = base 49 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Bind(&BrowserGpuChannelHostFactory::EstablishRequest::EstablishOnIO, base 84 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Bind( base 109 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Bind(&BrowserGpuChannelHostFactory::EstablishRequest::FinishOnMain, base 131 content/browser/gpu/browser_gpu_channel_host_factory.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 160 content/browser/gpu/browser_gpu_channel_host_factory.cc shutdown_event_(new base::WaitableEvent(true, false)), base 181 content/browser/gpu/browser_gpu_channel_host_factory.cc base::MessageLoop* BrowserGpuChannelHostFactory::GetMainLoop() { base 185 content/browser/gpu/browser_gpu_channel_host_factory.cc scoped_refptr<base::MessageLoopProxy> base 190 content/browser/gpu/browser_gpu_channel_host_factory.cc scoped_ptr<base::SharedMemory> base 192 content/browser/gpu/browser_gpu_channel_host_factory.cc scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); base 194 content/browser/gpu/browser_gpu_channel_host_factory.cc return scoped_ptr<base::SharedMemory>(); base 216 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Bind(&BrowserGpuChannelHostFactory::CommandBufferCreatedOnIO, base 231 content/browser/gpu/browser_gpu_channel_host_factory.cc GetIOLoopProxy()->PostTask(FROM_HERE, base::Bind( base 233 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Unretained(this), base 243 content/browser/gpu/browser_gpu_channel_host_factory.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 262 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Bind(&BrowserGpuChannelHostFactory::ImageCreatedOnIO, callback)); base 271 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Bind(&BrowserGpuChannelHostFactory::OnImageCreated, base 286 content/browser/gpu/browser_gpu_channel_host_factory.cc GetIOLoopProxy()->PostTask(FROM_HERE, base::Bind( base 288 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Unretained(this), base 307 content/browser/gpu/browser_gpu_channel_host_factory.cc GetIOLoopProxy()->PostTask(FROM_HERE, base::Bind( base 309 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Unretained(this), base 316 content/browser/gpu/browser_gpu_channel_host_factory.cc EstablishGpuChannel(cause_for_gpu_launch, base::Closure()); base 326 content/browser/gpu/browser_gpu_channel_host_factory.cc const base::Closure& callback) { base 384 content/browser/gpu/browser_gpu_channel_host_factory.cc scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); base 410 content/browser/gpu/browser_gpu_channel_host_factory.cc const base::Callback<void(const IPC::Message&)>& handler, base 411 content/browser/gpu/browser_gpu_channel_host_factory.cc base::TaskRunner* target_task_runner) { base 425 content/browser/gpu/browser_gpu_channel_host_factory.cc base::Bind(&BrowserGpuChannelHostFactory::AddFilterOnIO, base 28 content/browser/gpu/browser_gpu_channel_host_factory.h virtual base::MessageLoop* GetMainLoop() OVERRIDE; base 29 content/browser/gpu/browser_gpu_channel_host_factory.h virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; base 30 content/browser/gpu/browser_gpu_channel_host_factory.h virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( base 51 content/browser/gpu/browser_gpu_channel_host_factory.h const base::Callback<void(const IPC::Message&)>& handler, base 52 content/browser/gpu/browser_gpu_channel_host_factory.h base::TaskRunner* target_task_runner); base 57 content/browser/gpu/browser_gpu_channel_host_factory.h const base::Closure& callback); base 68 content/browser/gpu/browser_gpu_channel_host_factory.h base::WaitableEvent event; base 73 content/browser/gpu/browser_gpu_channel_host_factory.h class EstablishRequest : public base::RefCountedThreadSafe<EstablishRequest> { base 86 content/browser/gpu/browser_gpu_channel_host_factory.h friend class base::RefCountedThreadSafe<EstablishRequest>; base 94 content/browser/gpu/browser_gpu_channel_host_factory.h base::WaitableEvent event_; base 102 content/browser/gpu/browser_gpu_channel_host_factory.h scoped_refptr<base::MessageLoopProxy> main_loop_; base 128 content/browser/gpu/browser_gpu_channel_host_factory.h scoped_ptr<base::WaitableEvent> shutdown_event_; base 132 content/browser/gpu/browser_gpu_channel_host_factory.h std::vector<base::Closure> established_callbacks_; base 308 content/browser/gpu/compositor_util.cc base::Value* GetFeatureStatus() { base 315 content/browser/gpu/compositor_util.cc base::DictionaryValue* feature_status_dict = new base::DictionaryValue(); base 379 content/browser/gpu/compositor_util.cc base::Value* GetProblems() { base 385 content/browser/gpu/compositor_util.cc base::ListValue* problem_list = new base::ListValue(); base 389 content/browser/gpu/compositor_util.cc base::DictionaryValue* problem = new base::DictionaryValue(); base 392 content/browser/gpu/compositor_util.cc problem->Set("crBugs", new base::ListValue()); base 393 content/browser/gpu/compositor_util.cc problem->Set("webkitBugs", new base::ListValue()); base 394 content/browser/gpu/compositor_util.cc base::ListValue* disabled_features = new base::ListValue(); base 405 content/browser/gpu/compositor_util.cc base::DictionaryValue* problem = new base::DictionaryValue(); base 408 content/browser/gpu/compositor_util.cc problem->Set("crBugs", new base::ListValue()); base 409 content/browser/gpu/compositor_util.cc problem->Set("webkitBugs", new base::ListValue()); base 410 content/browser/gpu/compositor_util.cc base::ListValue* disabled_features = new base::ListValue(); base 420 content/browser/gpu/compositor_util.cc base::Value* GetDriverBugWorkarounds() { base 421 content/browser/gpu/compositor_util.cc base::ListValue* workaround_list = new base::ListValue(); base 35 content/browser/gpu/compositor_util.h CONTENT_EXPORT base::Value* GetFeatureStatus(); base 36 content/browser/gpu/compositor_util.h CONTENT_EXPORT base::Value* GetProblems(); base 37 content/browser/gpu/compositor_util.h CONTENT_EXPORT base::Value* GetDriverBugWorkarounds(); base 37 content/browser/gpu/compositor_util_browsertest.cc if (base::mac::IsOSLionOrEarlier()) base 40 content/browser/gpu/compositor_util_browsertest.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) base 23 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 28 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 33 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 38 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 44 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 49 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 54 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 59 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 64 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 69 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 74 content/browser/gpu/gpu_data_manager_impl.cc const base::FilePath& path) { base 75 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 81 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 87 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 92 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 97 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 104 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 111 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 116 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 121 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 126 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 131 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 137 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 142 content/browser/gpu/gpu_data_manager_impl.cc base::CommandLine* command_line) const { base 143 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 148 content/browser/gpu/gpu_data_manager_impl.cc base::CommandLine* command_line) const { base 149 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 154 content/browser/gpu/gpu_data_manager_impl.cc base::CommandLine* command_line) const { base 155 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 161 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 166 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 171 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 175 content/browser/gpu/gpu_data_manager_impl.cc void GpuDataManagerImpl::GetBlacklistReasons(base::ListValue* reasons) const { base 176 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 181 content/browser/gpu/gpu_data_manager_impl.cc base::ListValue* workarounds) const { base 182 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 189 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 194 content/browser/gpu/gpu_data_manager_impl.cc base::TerminationStatus exit_code) { base 195 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 199 content/browser/gpu/gpu_data_manager_impl.cc base::ListValue* GpuDataManagerImpl::GetLogMessages() const { base 200 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 205 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 211 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 219 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 225 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 230 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 235 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 240 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 248 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 254 content/browser/gpu/gpu_data_manager_impl.cc base::AutoLock auto_lock(lock_); base 28 content/browser/gpu/gpu_data_manager_impl.h namespace base { base 73 content/browser/gpu/gpu_data_manager_impl.h virtual void RegisterSwiftShaderPath(const base::FilePath& path) OVERRIDE; base 101 content/browser/gpu/gpu_data_manager_impl.h void AppendRendererCommandLine(base::CommandLine* command_line) const; base 104 content/browser/gpu/gpu_data_manager_impl.h void AppendGpuCommandLine(base::CommandLine* command_line) const; base 108 content/browser/gpu/gpu_data_manager_impl.h void AppendPluginCommandLine(base::CommandLine* command_line) const; base 119 content/browser/gpu/gpu_data_manager_impl.h void GetBlacklistReasons(base::ListValue* reasons) const; base 123 content/browser/gpu/gpu_data_manager_impl.h void GetDriverBugWorkarounds(base::ListValue* workarounds) const; base 129 content/browser/gpu/gpu_data_manager_impl.h void ProcessCrashed(base::TerminationStatus exit_code); base 133 content/browser/gpu/gpu_data_manager_impl.h base::ListValue* GetLogMessages() const; base 206 content/browser/gpu/gpu_data_manager_impl.h mutable base::Lock lock_; base 74 content/browser/gpu/gpu_data_manager_impl_private.cc std::string version_str = base::SysInfo::OperatingSystemVersion(); base 178 content/browser/gpu/gpu_data_manager_impl_private.cc base::HistogramBase* histogram_pointer = base::LinearHistogram::FactoryGet( base 181 content/browser/gpu/gpu_data_manager_impl_private.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 184 content/browser/gpu/gpu_data_manager_impl_private.cc histogram_pointer = base::LinearHistogram::FactoryGet( base 188 content/browser/gpu/gpu_data_manager_impl_private.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 204 content/browser/gpu/gpu_data_manager_impl_private.cc rt += base::IntToString(*it); base 464 content/browser/gpu/gpu_data_manager_impl_private.cc const base::FilePath& path) { base 664 content/browser/gpu/gpu_data_manager_impl_private.cc base::FilePath swiftshader_path = base 715 content/browser/gpu/gpu_data_manager_impl_private.cc base::StringPrintf("0x%04x", gpu_info_.gpu.vendor_id)); base 717 content/browser/gpu/gpu_data_manager_impl_private.cc base::StringPrintf("0x%04x", gpu_info_.gpu.device_id)); base 830 content/browser/gpu/gpu_data_manager_impl_private.cc base::ListValue* reasons) const { base 838 content/browser/gpu/gpu_data_manager_impl_private.cc base::ListValue* workarounds) const { base 853 content/browser/gpu/gpu_data_manager_impl_private.cc base::TerminationStatus exit_code) { base 860 content/browser/gpu/gpu_data_manager_impl_private.cc base::Bind(&GpuDataManagerImpl::ProcessCrashed, base 861 content/browser/gpu/gpu_data_manager_impl_private.cc base::Unretained(owner_), base 872 content/browser/gpu/gpu_data_manager_impl_private.cc base::ListValue* GpuDataManagerImplPrivate::GetLogMessages() const { base 873 content/browser/gpu/gpu_data_manager_impl_private.cc base::ListValue* value = new base::ListValue; base 875 content/browser/gpu/gpu_data_manager_impl_private.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 923 content/browser/gpu/gpu_data_manager_impl_private.cc BlockDomainFrom3DAPIsAtTime(url, guilt, base::Time::Now()); base 930 content/browser/gpu/gpu_data_manager_impl_private.cc bool blocked = Are3DAPIsBlockedAtTime(url, base::Time::Now()) != base 937 content/browser/gpu/gpu_data_manager_impl_private.cc base::Bind(&GpuDataManagerImpl::Notify3DAPIBlocked, base 938 content/browser/gpu/gpu_data_manager_impl_private.cc base::Unretained(owner_), url, render_process_id, base 1104 content/browser/gpu/gpu_data_manager_impl_private.cc base::Time at_time) { base 1117 content/browser/gpu/gpu_data_manager_impl_private.cc const GURL& url, base::Time at_time) const { base 1146 content/browser/gpu/gpu_data_manager_impl_private.cc std::list<base::Time>::iterator iter = timestamps_of_gpu_resets_.begin(); base 1149 content/browser/gpu/gpu_data_manager_impl_private.cc base::Time time = *iter; base 1150 content/browser/gpu/gpu_data_manager_impl_private.cc base::TimeDelta delta_t = at_time - time; base 21 content/browser/gpu/gpu_data_manager_impl_private.h namespace base { base 44 content/browser/gpu/gpu_data_manager_impl_private.h void RegisterSwiftShaderPath(const base::FilePath& path); base 64 content/browser/gpu/gpu_data_manager_impl_private.h void AppendRendererCommandLine(base::CommandLine* command_line) const; base 66 content/browser/gpu/gpu_data_manager_impl_private.h void AppendGpuCommandLine(base::CommandLine* command_line) const; base 68 content/browser/gpu/gpu_data_manager_impl_private.h void AppendPluginCommandLine(base::CommandLine* command_line) const; base 75 content/browser/gpu/gpu_data_manager_impl_private.h void GetBlacklistReasons(base::ListValue* reasons) const; base 77 content/browser/gpu/gpu_data_manager_impl_private.h void GetDriverBugWorkarounds(base::ListValue* workarounds) const; base 83 content/browser/gpu/gpu_data_manager_impl_private.h void ProcessCrashed(base::TerminationStatus exit_code); base 85 content/browser/gpu/gpu_data_manager_impl_private.h base::ListValue* GetLogMessages() const; base 209 content/browser/gpu/gpu_data_manager_impl_private.h base::Time at_time); base 211 content/browser/gpu/gpu_data_manager_impl_private.h const GURL& url, base::Time at_time) const; base 232 content/browser/gpu/gpu_data_manager_impl_private.h base::FilePath swiftshader_path_; base 246 content/browser/gpu/gpu_data_manager_impl_private.h mutable std::list<base::Time> timestamps_of_gpu_resets_; base 49 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc static base::Time GetTimeForTesting() { base 50 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc return base::Time::FromDoubleT(1000); base 119 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::Time JustBeforeExpiration(const GpuDataManagerImplPrivate* manager); base 120 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::Time JustAfterExpiration(const GpuDataManagerImplPrivate* manager); base 126 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::MessageLoop message_loop_; base 258 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc const base::FilePath test_path(FILE_PATH_LITERAL("AnyPath")); base 274 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc const base::FilePath test_path(FILE_PATH_LITERAL("AnyPath")); base 295 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::RunLoop run_loop; base 303 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::RunLoop run_loop; base 313 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc const base::FilePath test_path(FILE_PATH_LITERAL("AnyPath")); base 319 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::RunLoop run_loop; base 326 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::RunLoop run_loop; base 334 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::RunLoop run_loop; base 347 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::RunLoop run_loop; base 355 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::RunLoop run_loop; base 361 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::Time GpuDataManagerImplPrivateTest::JustBeforeExpiration( base 363 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc return GetTimeForTesting() + base::TimeDelta::FromMilliseconds( base 365 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::TimeDelta::FromMilliseconds(3); base 368 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::Time GpuDataManagerImplPrivateTest::JustAfterExpiration( base 370 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc return GetTimeForTesting() + base::TimeDelta::FromMilliseconds( base 372 content/browser/gpu/gpu_data_manager_impl_private_unittest.cc base::TimeDelta::FromMilliseconds(3); base 49 content/browser/gpu/gpu_internals_ui.cc base::DictionaryValue* NewDescriptionValuePair(const std::string& desc, base 51 content/browser/gpu/gpu_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 57 content/browser/gpu/gpu_internals_ui.cc base::DictionaryValue* NewDescriptionValuePair(const std::string& desc, base 58 content/browser/gpu/gpu_internals_ui.cc base::Value* value) { base 59 content/browser/gpu/gpu_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 67 content/browser/gpu/gpu_internals_ui.cc base::ListValue* DxDiagNodeToList(const gpu::DxDiagNode& node) { base 68 content/browser/gpu/gpu_internals_ui.cc base::ListValue* list = new base::ListValue(); base 80 content/browser/gpu/gpu_internals_ui.cc base::ListValue* sublist = DxDiagNodeToList(it->second); base 88 content/browser/gpu/gpu_internals_ui.cc std::string vendor = base::StringPrintf("0x%04x", gpu.vendor_id); base 91 content/browser/gpu/gpu_internals_ui.cc std::string device = base::StringPrintf("0x%04x", gpu.device_id); base 94 content/browser/gpu/gpu_internals_ui.cc return base::StringPrintf("VENDOR = %s, DEVICE= %s%s", base 98 content/browser/gpu/gpu_internals_ui.cc base::DictionaryValue* GpuInfoAsDictionaryValue() { base 100 content/browser/gpu/gpu_internals_ui.cc base::ListValue* basic_info = new base::ListValue(); base 103 content/browser/gpu/gpu_internals_ui.cc base::Int64ToString(gpu_info.initialization_time.InMilliseconds()))); base 105 content/browser/gpu/gpu_internals_ui.cc "Sandboxed", new base::FundamentalValue(gpu_info.sandboxed))); base 110 content/browser/gpu/gpu_internals_ui.cc base::StringPrintf("GPU%d", static_cast<int>(i + 1)), base 114 content/browser/gpu/gpu_internals_ui.cc "Optimus", new base::FundamentalValue(gpu_info.optimus))); base 116 content/browser/gpu/gpu_internals_ui.cc "AMD switchable", new base::FundamentalValue(gpu_info.amd_switchable))); base 119 content/browser/gpu/gpu_internals_ui.cc "Lenovo dCute", new base::FundamentalValue(true))); base 165 content/browser/gpu/gpu_internals_ui.cc base::StringPrintf("0x%04x", gpu_info.gl_reset_notification_strategy); base 169 content/browser/gpu/gpu_internals_ui.cc base::DictionaryValue* info = new base::DictionaryValue(); base 173 content/browser/gpu/gpu_internals_ui.cc base::ListValue* perf_info = new base::ListValue(); base 176 content/browser/gpu/gpu_internals_ui.cc base::StringPrintf("%.1f", gpu_info.performance_stats.graphics))); base 179 content/browser/gpu/gpu_internals_ui.cc base::StringPrintf("%.1f", gpu_info.performance_stats.gaming))); base 182 content/browser/gpu/gpu_internals_ui.cc base::StringPrintf("%.1f", gpu_info.performance_stats.overall))); base 185 content/browser/gpu/gpu_internals_ui.cc base::Value* dx_info = gpu_info.dx_diagnostics.children.size() ? base 187 content/browser/gpu/gpu_internals_ui.cc base::Value::CreateNullValue(); base 199 content/browser/gpu/gpu_internals_ui.cc public base::SupportsWeakPtr<GpuMessageHandler>, base 213 content/browser/gpu/gpu_internals_ui.cc void OnBrowserBridgeInitialized(const base::ListValue* list); base 214 content/browser/gpu/gpu_internals_ui.cc void OnCallAsync(const base::ListValue* list); base 217 content/browser/gpu/gpu_internals_ui.cc base::Value* OnRequestClientInfo(const base::ListValue* list); base 218 content/browser/gpu/gpu_internals_ui.cc base::Value* OnRequestLogMessages(const base::ListValue* list); base 247 content/browser/gpu/gpu_internals_ui.cc base::Bind(&GpuMessageHandler::OnBrowserBridgeInitialized, base 248 content/browser/gpu/gpu_internals_ui.cc base::Unretained(this))); base 250 content/browser/gpu/gpu_internals_ui.cc base::Bind(&GpuMessageHandler::OnCallAsync, base 251 content/browser/gpu/gpu_internals_ui.cc base::Unretained(this))); base 254 content/browser/gpu/gpu_internals_ui.cc void GpuMessageHandler::OnCallAsync(const base::ListValue* args) { base 258 content/browser/gpu/gpu_internals_ui.cc const base::Value* requestId; base 266 content/browser/gpu/gpu_internals_ui.cc base::ListValue* submessageArgs = new base::ListValue(); base 268 content/browser/gpu/gpu_internals_ui.cc const base::Value* arg; base 272 content/browser/gpu/gpu_internals_ui.cc base::Value* argCopy = arg->DeepCopy(); base 277 content/browser/gpu/gpu_internals_ui.cc base::Value* ret = NULL; base 302 content/browser/gpu/gpu_internals_ui.cc const base::ListValue* args) { base 319 content/browser/gpu/gpu_internals_ui.cc base::Value* GpuMessageHandler::OnRequestClientInfo( base 320 content/browser/gpu/gpu_internals_ui.cc const base::ListValue* list) { base 323 content/browser/gpu/gpu_internals_ui.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 329 content/browser/gpu/gpu_internals_ui.cc base::SysInfo::OperatingSystemName() + " " + base 330 content/browser/gpu/gpu_internals_ui.cc base::SysInfo::OperatingSystemVersion()); base 341 content/browser/gpu/gpu_internals_ui.cc base::Value* GpuMessageHandler::OnRequestLogMessages(const base::ListValue*) { base 349 content/browser/gpu/gpu_internals_ui.cc scoped_ptr<base::DictionaryValue> gpu_info_val(GpuInfoAsDictionaryValue()); base 352 content/browser/gpu/gpu_internals_ui.cc base::DictionaryValue* feature_status = new base::DictionaryValue; base 90 content/browser/gpu/gpu_ipc_browsertests.cc void OnContextLost(const base::Closure callback, int* counter) { base 105 content/browser/gpu/gpu_ipc_browsertests.cc base::RunLoop run_loop; base 143 content/browser/gpu/gpu_ipc_browsertests.cc base::RunLoop run_loop; base 162 content/browser/gpu/gpu_ipc_browsertests.cc base::Bind(&BrowserGpuChannelHostFactoryTest::Signal, &event)); base 177 content/browser/gpu/gpu_ipc_browsertests.cc base::RunLoop run_loop; base 180 content/browser/gpu/gpu_ipc_browsertests.cc base::Bind(&BrowserGpuChannelHostFactoryTest::OnContextLost, base 181 content/browser/gpu/gpu_ipc_browsertests.cc base::Unretained(this), run_loop.QuitClosure(), &counter)); base 91 content/browser/gpu/gpu_process_host.cc base::TimeTicks vsync_timebase, base 92 content/browser/gpu/gpu_process_host.cc base::TimeDelta vsync_interval) { base 97 content/browser/gpu/gpu_process_host.cc base::Bind(&AcceleratedSurfaceBuffersSwappedCompletedForGPU, base 128 content/browser/gpu/gpu_process_host.cc base::TimeTicks timebase, base 129 content/browser/gpu/gpu_process_host.cc base::TimeDelta interval, base 135 content/browser/gpu/gpu_process_host.cc base::Bind(&AcceleratedSurfaceBuffersSwappedCompletedForRenderer, base 152 content/browser/gpu/gpu_process_host.cc if (interval != base::TimeDelta()) base 164 content/browser/gpu/gpu_process_host.cc base::TimeTicks timebase, base 165 content/browser/gpu/gpu_process_host.cc base::TimeDelta interval, base 198 content/browser/gpu/gpu_process_host.cc base::FilePath* exposed_dir) OVERRIDE { base 208 content/browser/gpu/gpu_process_host.cc if (base::win::GetVersion() > base::win::VERSION_XP) { base 269 content/browser/gpu/gpu_process_host.cc base::string16 log_file_path = logging::GetLogFileFullPath(); base 354 content/browser/gpu/gpu_process_host.cc base::Bind(&GpuProcessHost::GetProcessHandles, callback)); base 357 content/browser/gpu/gpu_process_host.cc std::list<base::ProcessHandle> handles; base 366 content/browser/gpu/gpu_process_host.cc base::Bind(callback, handles)); base 375 content/browser/gpu/gpu_process_host.cc base::Bind( base 429 content/browser/gpu/gpu_process_host.cc base::Bind(base::IgnoreResult(&GpuProcessHostUIShim::Create), host_id)); base 447 content/browser/gpu/gpu_process_host.cc static base::Time last_gpu_crash_time; base 479 content/browser/gpu/gpu_process_host.cc base::Time current_time = base::Time::Now(); base 541 content/browser/gpu/gpu_process_host.cc base::TerminationStatus status = process_->GetTerminationStatus( base 545 content/browser/gpu/gpu_process_host.cc base::TERMINATION_STATUS_MAX_ENUM); base 547 content/browser/gpu/gpu_process_host.cc if (status == base::TERMINATION_STATUS_NORMAL_TERMINATION || base 548 content/browser/gpu/gpu_process_host.cc status == base::TERMINATION_STATUS_ABNORMAL_TERMINATION) { base 555 content/browser/gpu/gpu_process_host.cc case base::TERMINATION_STATUS_NORMAL_TERMINATION: base 558 content/browser/gpu/gpu_process_host.cc case base::TERMINATION_STATUS_ABNORMAL_TERMINATION: base 559 content/browser/gpu/gpu_process_host.cc message = base::StringPrintf( base 563 content/browser/gpu/gpu_process_host.cc case base::TERMINATION_STATUS_PROCESS_WAS_KILLED: base 566 content/browser/gpu/gpu_process_host.cc case base::TERMINATION_STATUS_PROCESS_CRASHED: base 576 content/browser/gpu/gpu_process_host.cc base::Bind(&GpuProcessHostUIShim::Destroy, base 582 content/browser/gpu/gpu_process_host.cc init_start_time_ = base::TimeTicks::Now(); base 617 content/browser/gpu/gpu_process_host.cc base::Bind(&RouteToGpuProcessHostUIShimTask, host_id_, message)); base 909 content/browser/gpu/gpu_process_host.cc base::ScopedClosureRunner scoped_completion_runner( base 910 content/browser/gpu/gpu_process_host.cc base::Bind(&AcceleratedSurfaceBuffersSwappedCompletedForGPU, base 912 content/browser/gpu/gpu_process_host.cc true /* alive */, base::TimeTicks(), base::TimeDelta())); base 954 content/browser/gpu/gpu_process_host.cc base::ScopedClosureRunner scoped_completion_runner( base 955 content/browser/gpu/gpu_process_host.cc base::Bind(&AcceleratedSurfaceBuffersSwappedCompleted, base 957 content/browser/gpu/gpu_process_host.cc true, base::TimeTicks(), base::TimeDelta(), base 984 content/browser/gpu/gpu_process_host.cc base::TimeTicks(), base 985 content/browser/gpu/gpu_process_host.cc base::TimeDelta(), base 1032 content/browser/gpu/gpu_process_host.cc base::TimeTicks::Now() - init_start_time_); base 1056 content/browser/gpu/gpu_process_host.cc base::WeakPtr<RenderWidgetHostViewFrameSubscriber> subscriber) { base 1084 content/browser/gpu/gpu_process_host.cc base::FilePath exe_path = ChildProcessHost::GetChildPath(child_flags); base 1202 content/browser/gpu/gpu_process_host.cc base::Base64Encode(base::SHA1HashString(in_str), &shader_prefix_key_); base 47 content/browser/gpu/gpu_process_host.h typedef base::Thread* (*GpuMainThreadFactoryFunction)(const std::string& id); base 51 content/browser/gpu/gpu_process_host.h public base::NonThreadSafe { base 59 content/browser/gpu/gpu_process_host.h typedef base::Callback<void(const IPC::ChannelHandle&, const gpu::GPUInfo&)> base 62 content/browser/gpu/gpu_process_host.h typedef base::Callback<void(int32)> CreateCommandBufferCallback; base 64 content/browser/gpu/gpu_process_host.h typedef base::Callback<void(const gfx::Size)> CreateImageCallback; base 134 content/browser/gpu/gpu_process_host.h base::WeakPtr<RenderWidgetHostViewFrameSubscriber> subscriber); base 222 content/browser/gpu/gpu_process_host.h scoped_ptr<base::Thread> in_process_gpu_thread_; base 231 content/browser/gpu/gpu_process_host.h base::TimeTicks init_start_time_; base 255 content/browser/gpu/gpu_process_host.h typedef base::hash_map<int, base 256 content/browser/gpu/gpu_process_host.h base::WeakPtr<RenderWidgetHostViewFrameSubscriber> > base 34 content/browser/gpu/gpu_process_host_ui_shim.cc base::LazyInstance<IDMap<GpuProcessHostUIShim> > g_hosts_by_id = base 57 content/browser/gpu/gpu_process_host_ui_shim.cc base::Bind(&SendOnIOThreadTask, base 142 content/browser/gpu/gpu_process_host_ui_shim.cc base::Bind(&SendOnIOThreadTask, base 208 content/browser/gpu/gpu_process_host_ui_shim.cc base::TimeTicks timebase, base 209 content/browser/gpu/gpu_process_host_ui_shim.cc base::TimeDelta interval) { base 48 content/browser/gpu/gpu_process_host_ui_shim.h public base::NonThreadSafe { base 107 content/browser/gpu/gpu_process_host_ui_shim.h base::TimeTicks timebase, base 108 content/browser/gpu/gpu_process_host_ui_shim.h base::TimeDelta interval); base 57 content/browser/gpu/gpu_surface_tracker.cc base::Bind(&ReleasePermanentXIDDispatcher, base 79 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 89 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 103 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 111 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 119 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 133 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 143 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 151 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 167 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 176 content/browser/gpu/gpu_surface_tracker.cc base::AutoLock lock(lock_); base 42 content/browser/gpu/gpu_surface_tracker.h class SurfaceRef : public base::RefCountedThreadSafe<SurfaceRef> { base 48 content/browser/gpu/gpu_surface_tracker.h friend class base::RefCountedThreadSafe<SurfaceRef>; base 129 content/browser/gpu/gpu_surface_tracker.h base::Lock lock_; base 19 content/browser/gpu/shader_disk_cache.cc static const base::FilePath::CharType kGpuCachePath[] = base 31 content/browser/gpu/shader_disk_cache.cc : public base::ThreadChecker, base 32 content/browser/gpu/shader_disk_cache.cc public base::RefCounted<ShaderDiskCacheEntry> { base 34 content/browser/gpu/shader_disk_cache.cc ShaderDiskCacheEntry(base::WeakPtr<ShaderDiskCache> cache, base 57 content/browser/gpu/shader_disk_cache.cc base::WeakPtr<ShaderDiskCache> cache_; base 69 content/browser/gpu/shader_disk_cache.cc : public base::ThreadChecker, base 70 content/browser/gpu/shader_disk_cache.cc public base::RefCounted<ShaderDiskReadHelper> { base 72 content/browser/gpu/shader_disk_cache.cc ShaderDiskReadHelper(base::WeakPtr<ShaderDiskCache> cache, int host_id); base 96 content/browser/gpu/shader_disk_cache.cc base::WeakPtr<ShaderDiskCache> cache_; base 107 content/browser/gpu/shader_disk_cache.cc : public base::RefCounted<ShaderClearHelper>, base 108 content/browser/gpu/shader_disk_cache.cc public base::SupportsWeakPtr<ShaderClearHelper> { base 111 content/browser/gpu/shader_disk_cache.cc const base::FilePath& path, base 112 content/browser/gpu/shader_disk_cache.cc const base::Time& delete_begin, base 113 content/browser/gpu/shader_disk_cache.cc const base::Time& delete_end, base 114 content/browser/gpu/shader_disk_cache.cc const base::Closure& callback); base 132 content/browser/gpu/shader_disk_cache.cc base::FilePath path_; base 133 content/browser/gpu/shader_disk_cache.cc base::Time delete_begin_; base 134 content/browser/gpu/shader_disk_cache.cc base::Time delete_end_; base 135 content/browser/gpu/shader_disk_cache.cc base::Closure callback_; base 140 content/browser/gpu/shader_disk_cache.cc ShaderDiskCacheEntry::ShaderDiskCacheEntry(base::WeakPtr<ShaderDiskCache> cache, base 153 content/browser/gpu/shader_disk_cache.cc base::Bind(&EntryCloser, entry_)); base 164 content/browser/gpu/shader_disk_cache.cc base::Bind(&ShaderDiskCacheEntry::OnOpComplete, this)); base 209 content/browser/gpu/shader_disk_cache.cc base::Bind(&ShaderDiskCacheEntry::OnOpComplete, this)); base 229 content/browser/gpu/shader_disk_cache.cc base::Bind(&ShaderDiskCacheEntry::OnOpComplete, this), base 242 content/browser/gpu/shader_disk_cache.cc base::WeakPtr<ShaderDiskCache> cache, base 297 content/browser/gpu/shader_disk_cache.cc base::Bind(&ShaderDiskReadHelper::OnOpComplete, this)); base 318 content/browser/gpu/shader_disk_cache.cc base::Bind(&ShaderDiskReadHelper::OnOpComplete, this)); base 351 content/browser/gpu/shader_disk_cache.cc base::Bind(&EntryCloser, entry_)); base 355 content/browser/gpu/shader_disk_cache.cc const base::FilePath& path, base 356 content/browser/gpu/shader_disk_cache.cc const base::Time& delete_begin, base 357 content/browser/gpu/shader_disk_cache.cc const base::Time& delete_end, base 358 content/browser/gpu/shader_disk_cache.cc const base::Closure& callback) base 387 content/browser/gpu/shader_disk_cache.cc base::Bind(&ShaderClearHelper::DoClearShaderCache, AsWeakPtr())); base 393 content/browser/gpu/shader_disk_cache.cc base::Bind(&ShaderClearHelper::DoClearShaderCache, AsWeakPtr())); base 422 content/browser/gpu/shader_disk_cache.cc const base::FilePath& path) { base 439 content/browser/gpu/shader_disk_cache.cc const base::FilePath& path) { base 449 content/browser/gpu/shader_disk_cache.cc void ShaderCacheFactory::AddToCache(const base::FilePath& key, base 454 content/browser/gpu/shader_disk_cache.cc void ShaderCacheFactory::RemoveFromCache(const base::FilePath& key) { base 458 content/browser/gpu/shader_disk_cache.cc void ShaderCacheFactory::ClearByPath(const base::FilePath& path, base 459 content/browser/gpu/shader_disk_cache.cc const base::Time& delete_begin, base 460 content/browser/gpu/shader_disk_cache.cc const base::Time& delete_end, base 461 content/browser/gpu/shader_disk_cache.cc const base::Closure& callback) { base 480 content/browser/gpu/shader_disk_cache.cc std::pair<base::FilePath, ShaderClearQueue>(path, ShaderClearQueue())); base 485 content/browser/gpu/shader_disk_cache.cc void ShaderCacheFactory::CacheCleared(const base::FilePath& path) { base 506 content/browser/gpu/shader_disk_cache.cc ShaderDiskCache::ShaderDiskCache(const base::FilePath& cache_path) base 534 content/browser/gpu/shader_disk_cache.cc base::Bind(&ShaderDiskCache::CacheCreatedCallback, this)); base 552 content/browser/gpu/shader_disk_cache.cc const base::Time begin_time, const base::Time end_time, base 31 content/browser/gpu/shader_disk_cache.h : public base::RefCounted<ShaderDiskCache>, base 32 content/browser/gpu/shader_disk_cache.h public base::SupportsWeakPtr<ShaderDiskCache> { base 47 content/browser/gpu/shader_disk_cache.h const base::Time begin_time, base 48 content/browser/gpu/shader_disk_cache.h const base::Time end_time, base 68 content/browser/gpu/shader_disk_cache.h friend class base::RefCounted<ShaderDiskCache>; base 73 content/browser/gpu/shader_disk_cache.h explicit ShaderDiskCache(const base::FilePath& cache_path); base 85 content/browser/gpu/shader_disk_cache.h base::FilePath cache_path_; base 108 content/browser/gpu/shader_disk_cache.h void ClearByPath(const base::FilePath& path, base 109 content/browser/gpu/shader_disk_cache.h const base::Time& begin_time, base 110 content/browser/gpu/shader_disk_cache.h const base::Time& end_time, base 111 content/browser/gpu/shader_disk_cache.h const base::Closure& callback); base 117 content/browser/gpu/shader_disk_cache.h void SetCacheInfo(int32 client_id, const base::FilePath& path); base 123 content/browser/gpu/shader_disk_cache.h void AddToCache(const base::FilePath& path, ShaderDiskCache* cache); base 126 content/browser/gpu/shader_disk_cache.h void RemoveFromCache(const base::FilePath& path); base 135 content/browser/gpu/shader_disk_cache.h scoped_refptr<ShaderDiskCache> GetByPath(const base::FilePath& path); base 136 content/browser/gpu/shader_disk_cache.h void CacheCleared(const base::FilePath& path); base 138 content/browser/gpu/shader_disk_cache.h typedef std::map<base::FilePath, ShaderDiskCache*> ShaderCacheMap; base 141 content/browser/gpu/shader_disk_cache.h typedef std::map<int32, base::FilePath> ClientIdToPathMap; base 145 content/browser/gpu/shader_disk_cache.h typedef std::map<base::FilePath, ShaderClearQueue> ShaderClearMap; base 30 content/browser/gpu/shader_disk_cache_unittest.cc const base::FilePath& cache_path() { return temp_dir_.path(); } base 43 content/browser/gpu/shader_disk_cache_unittest.cc base::ScopedTempDir temp_dir_; base 68 content/browser/gpu/shader_disk_cache_unittest.cc base::Time time; base 43 content/browser/histogram_controller.cc base::Bind(&HistogramController::OnHistogramDataCollected, base 44 content/browser/histogram_controller.cc base::Unretained(this), base 91 content/browser/histogram_controller.cc base::Bind( base 93 content/browser/histogram_controller.cc base::Unretained(this), base 116 content/browser/histogram_controller.cc base::Bind(&HistogramController::GetHistogramDataFromChildProcesses, base 117 content/browser/histogram_controller.cc base::Unretained(this), base 55 content/browser/histogram_internals_request_job.cc base::StatisticsRecorder::WriteHTMLGraph(unescaped_query, data); base 56 content/browser/histogram_message_filter.cc base::HistogramBase* histogram = base 57 content/browser/histogram_message_filter.cc base::StatisticsRecorder::FindHistogram(name); base 20 content/browser/histogram_synchronizer.cc using base::Time; base 21 content/browser/histogram_synchronizer.cc using base::TimeDelta; base 22 content/browser/histogram_synchronizer.cc using base::TimeTicks; base 44 content/browser/histogram_synchronizer.cc RequestContext(const base::Closure& callback, int sequence_number) base 81 content/browser/histogram_synchronizer.cc static void Register(const base::Closure& callback, int sequence_number) { base 141 content/browser/histogram_synchronizer.cc base::Closure callback_; base 156 content/browser/histogram_synchronizer.cc static base::LazyInstance<RequestContextMap>::Leaky outstanding_requests_; base 160 content/browser/histogram_synchronizer.cc base::LazyInstance base 177 content/browser/histogram_synchronizer.cc SetCallbackTaskAndThread(NULL, base::Closure()); base 190 content/browser/histogram_synchronizer.cc base::Bind(&HistogramSynchronizer::FetchHistograms)); base 202 content/browser/histogram_synchronizer.cc base::TimeDelta::FromMinutes(1)); base 205 content/browser/histogram_synchronizer.cc void FetchHistogramsAsynchronously(base::MessageLoop* callback_thread, base 206 content/browser/histogram_synchronizer.cc const base::Closure& callback, base 207 content/browser/histogram_synchronizer.cc base::TimeDelta wait_time) { base 214 content/browser/histogram_synchronizer.cc base::MessageLoop* callback_thread, base 215 content/browser/histogram_synchronizer.cc const base::Closure& callback, base 216 content/browser/histogram_synchronizer.cc base::TimeDelta wait_time) { base 231 content/browser/histogram_synchronizer.cc base::TimeDelta wait_time) { base 236 content/browser/histogram_synchronizer.cc base::Closure callback = base::Bind( base 238 content/browser/histogram_synchronizer.cc base::Unretained(this), base 250 content/browser/histogram_synchronizer.cc base::Bind(&RequestContext::Unregister, sequence_number), base 272 content/browser/histogram_synchronizer.cc base::HistogramDeltaSerialization::DeserializeAndAddSamples( base 285 content/browser/histogram_synchronizer.cc base::MessageLoop* callback_thread, base 286 content/browser/histogram_synchronizer.cc const base::Closure& callback) { base 287 content/browser/histogram_synchronizer.cc base::Closure old_callback; base 288 content/browser/histogram_synchronizer.cc base::MessageLoop* old_thread = NULL; base 290 content/browser/histogram_synchronizer.cc base::AutoLock auto_lock(lock_); base 304 content/browser/histogram_synchronizer.cc base::Closure callback; base 305 content/browser/histogram_synchronizer.cc base::MessageLoop* thread = NULL; base 307 content/browser/histogram_synchronizer.cc base::AutoLock lock(lock_); base 318 content/browser/histogram_synchronizer.cc void HistogramSynchronizer::InternalPostTask(base::MessageLoop* thread, base 319 content/browser/histogram_synchronizer.cc const base::Closure& callback) { base 327 content/browser/histogram_synchronizer.cc base::AutoLock auto_lock(lock_); base 18 content/browser/histogram_synchronizer.h namespace base { base 73 content/browser/histogram_synchronizer.h static void FetchHistogramsAsynchronously(base::MessageLoop* callback_thread, base 74 content/browser/histogram_synchronizer.h const base::Closure& callback, base 75 content/browser/histogram_synchronizer.h base::TimeDelta wait_time); base 90 content/browser/histogram_synchronizer.h base::TimeDelta wait_time); base 114 content/browser/histogram_synchronizer.h void SetCallbackTaskAndThread(base::MessageLoop* callback_thread, base 115 content/browser/histogram_synchronizer.h const base::Closure& callback); base 120 content/browser/histogram_synchronizer.h void InternalPostTask(base::MessageLoop* thread, base 121 content/browser/histogram_synchronizer.h const base::Closure& callback); base 127 content/browser/histogram_synchronizer.h base::Lock lock_; base 132 content/browser/histogram_synchronizer.h base::Closure callback_; base 133 content/browser/histogram_synchronizer.h base::MessageLoop* callback_thread_; base 51 content/browser/host_zoom_map_impl.cc base::AutoLock auto_lock(lock_); base 52 content/browser/host_zoom_map_impl.cc base::AutoLock copy_auto_lock(copy->lock_); base 66 content/browser/host_zoom_map_impl.cc base::AutoLock auto_lock(lock_); base 75 content/browser/host_zoom_map_impl.cc base::AutoLock auto_lock(lock_); base 90 content/browser/host_zoom_map_impl.cc base::AutoLock auto_lock(lock_); base 128 content/browser/host_zoom_map_impl.cc base::AutoLock auto_lock(lock_); base 159 content/browser/host_zoom_map_impl.cc base::AutoLock auto_lock(lock_); base 199 content/browser/host_zoom_map_impl.cc base::AutoLock auto_lock(lock_); base 215 content/browser/host_zoom_map_impl.cc base::AutoLock auto_lock(lock_); base 250 content/browser/host_zoom_map_impl.cc base::AutoLock auto_lock(lock_); base 26 content/browser/host_zoom_map_impl.h public base::SupportsUserData::Data { base 77 content/browser/host_zoom_map_impl.h base::CallbackList<void(const ZoomLevelChange&)> base 97 content/browser/host_zoom_map_impl.h mutable base::Lock lock_; base 21 content/browser/host_zoom_map_impl_unittest.cc base::MessageLoop message_loop_; base 110 content/browser/indexed_db/indexed_db_active_blob_registry.cc scoped_refptr<base::TaskRunner> task_runner, base 111 content/browser/indexed_db/indexed_db_active_blob_registry.cc base::WeakPtr<IndexedDBActiveBlobRegistry> weak_ptr, base 114 content/browser/indexed_db/indexed_db_active_blob_registry.cc const base::FilePath& unused) { base 116 content/browser/indexed_db/indexed_db_active_blob_registry.cc base::Bind(&IndexedDBActiveBlobRegistry::ReleaseBlobRef, base 125 content/browser/indexed_db/indexed_db_active_blob_registry.cc return base::Bind( base 127 content/browser/indexed_db/indexed_db_active_blob_registry.cc scoped_refptr<base::TaskRunner>(backing_store_->task_runner()), base 133 content/browser/indexed_db/indexed_db_active_blob_registry.cc base::Closure IndexedDBActiveBlobRegistry::GetAddBlobRefCallback( base 136 content/browser/indexed_db/indexed_db_active_blob_registry.cc return base::Bind(&IndexedDBActiveBlobRegistry::AddBlobRef, base 38 content/browser/indexed_db/indexed_db_active_blob_registry.h base::Closure GetAddBlobRefCallback(int64 database_id, int64 blob_key); base 48 content/browser/indexed_db/indexed_db_active_blob_registry.h scoped_refptr<base::TaskRunner> task_runner, base 49 content/browser/indexed_db/indexed_db_active_blob_registry.h base::WeakPtr<IndexedDBActiveBlobRegistry> weak_ptr, base 52 content/browser/indexed_db/indexed_db_active_blob_registry.h const base::FilePath& unused); base 67 content/browser/indexed_db/indexed_db_active_blob_registry.h base::WeakPtrFactory<IndexedDBActiveBlobRegistry> weak_factory_; base 56 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc MockIDBBackingStore(IndexedDBFactory* factory, base::TaskRunner* task_runner) base 88 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc : task_runner_(new base::TestSimpleTaskRunner), base 107 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 130 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc base::Closure add_ref = base 140 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc release.Run(base::FilePath()); base 151 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc base::Closure add_ref = base 168 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc release.Run(base::FilePath()); base 179 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc base::Closure add_ref_00 = base 183 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc base::Closure add_ref_01 = base 187 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc base::Closure add_ref_10 = base 191 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc base::Closure add_ref_11 = base 203 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc release_00.Run(base::FilePath()); base 217 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc release_01.Run(base::FilePath()); base 218 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc release_11.Run(base::FilePath()); base 224 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc release_10.Run(base::FilePath()); base 235 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc base::Closure add_ref_0 = base 239 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc base::Closure add_ref_1 = base 259 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc release_0.Run(base::FilePath()); base 260 content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc release_1.Run(base::FilePath()); base 32 content/browser/indexed_db/indexed_db_backing_store.cc using base::StringPiece; base 42 content/browser/indexed_db/indexed_db_backing_store.cc static base::FilePath ComputeFileName(const GURL& origin_url) { base 43 content/browser/indexed_db/indexed_db_backing_store.cc return base::FilePath() base 48 content/browser/indexed_db/indexed_db_backing_store.cc static base::FilePath ComputeCorruptionFileName(const GURL& origin_url) { base 88 content/browser/indexed_db/indexed_db_backing_store.cc base::Histogram::FactoryGet(name, base 92 content/browser/indexed_db/indexed_db_backing_store.cc base::HistogramBase::kUmaTargetedHistogramFlag) base 202 content/browser/indexed_db/indexed_db_backing_store.cc base::string16* found_string, base 219 content/browser/indexed_db/indexed_db_backing_store.cc const base::string16& value) { base 412 content/browser/indexed_db/indexed_db_backing_store.cc virtual leveldb::Status OpenLevelDB(const base::FilePath& file_name, base 418 content/browser/indexed_db/indexed_db_backing_store.cc virtual leveldb::Status DestroyLevelDB(const base::FilePath& file_name) base 429 content/browser/indexed_db/indexed_db_backing_store.cc base::TaskRunner* task_runner) base 480 content/browser/indexed_db/indexed_db_backing_store.cc const base::FilePath& path_base, base 484 content/browser/indexed_db/indexed_db_backing_store.cc base::TaskRunner* task_runner) { base 514 content/browser/indexed_db/indexed_db_backing_store.cc base::LinearHistogram::FactoryGet( base 519 content/browser/indexed_db/indexed_db_backing_store.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(result); base 523 content/browser/indexed_db/indexed_db_backing_store.cc static bool IsPathTooLong(const base::FilePath& leveldb_dir) { base 524 content/browser/indexed_db/indexed_db_backing_store.cc int limit = base::GetMaximumPathComponentLength(leveldb_dir.DirName()); base 554 content/browser/indexed_db/indexed_db_backing_store.cc const base::FilePath& path_base, base 556 content/browser/indexed_db/indexed_db_backing_store.cc const base::FilePath file_path = base 562 content/browser/indexed_db/indexed_db_backing_store.cc bool IndexedDBBackingStore::ReadCorruptionInfo(const base::FilePath& path_base, base 566 content/browser/indexed_db/indexed_db_backing_store.cc const base::FilePath info_path = base 582 content/browser/indexed_db/indexed_db_backing_store.cc base::PlatformFileError error(base::PLATFORM_FILE_OK); base 583 content/browser/indexed_db/indexed_db_backing_store.cc base::PlatformFile file = base::CreatePlatformFile( base 585 content/browser/indexed_db/indexed_db_backing_store.cc base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ, base 591 content/browser/indexed_db/indexed_db_backing_store.cc if (file_size == base::ReadPlatformFile(file, 0, &bytes[0], file_size)) { base 593 content/browser/indexed_db/indexed_db_backing_store.cc base::JSONReader reader; base 594 content/browser/indexed_db/indexed_db_backing_store.cc scoped_ptr<base::Value> val(reader.ReadToValue(input_js)); base 595 content/browser/indexed_db/indexed_db_backing_store.cc if (val && val->GetType() == base::Value::TYPE_DICTIONARY) { base 596 content/browser/indexed_db/indexed_db_backing_store.cc base::DictionaryValue* dict_val = base 597 content/browser/indexed_db/indexed_db_backing_store.cc static_cast<base::DictionaryValue*>(val.get()); base 601 content/browser/indexed_db/indexed_db_backing_store.cc base::ClosePlatformFile(file); base 604 content/browser/indexed_db/indexed_db_backing_store.cc base::DeleteFile(info_path, false); base 610 content/browser/indexed_db/indexed_db_backing_store.cc const base::FilePath& path_base, base 613 content/browser/indexed_db/indexed_db_backing_store.cc const base::FilePath info_path = base 618 content/browser/indexed_db/indexed_db_backing_store.cc base::DictionaryValue root_dict; base 621 content/browser/indexed_db/indexed_db_backing_store.cc base::JSONWriter::Write(&root_dict, &output_js); base 624 content/browser/indexed_db/indexed_db_backing_store.cc base::PlatformFileError error(base::PLATFORM_FILE_OK); base 625 content/browser/indexed_db/indexed_db_backing_store.cc base::PlatformFile file = base::CreatePlatformFile( base 627 content/browser/indexed_db/indexed_db_backing_store.cc base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_WRITE, base 633 content/browser/indexed_db/indexed_db_backing_store.cc base::WritePlatformFile(file, 0, output_js.c_str(), output_js.length()); base 634 content/browser/indexed_db/indexed_db_backing_store.cc base::ClosePlatformFile(file); base 642 content/browser/indexed_db/indexed_db_backing_store.cc const base::FilePath& path_base, base 647 content/browser/indexed_db/indexed_db_backing_store.cc base::TaskRunner* task_runner) { base 660 content/browser/indexed_db/indexed_db_backing_store.cc if (!base::CreateDirectory(path_base)) { base 668 content/browser/indexed_db/indexed_db_backing_store.cc const base::FilePath file_path = base 773 content/browser/indexed_db/indexed_db_backing_store.cc base::TaskRunner* task_runner) { base 783 content/browser/indexed_db/indexed_db_backing_store.cc base::TaskRunner* task_runner) { base 810 content/browser/indexed_db/indexed_db_backing_store.cc base::TaskRunner* task_runner) { base 826 content/browser/indexed_db/indexed_db_backing_store.cc std::vector<base::string16> IndexedDBBackingStore::GetDatabaseNames() { base 827 content/browser/indexed_db/indexed_db_backing_store.cc std::vector<base::string16> found_names; base 851 content/browser/indexed_db/indexed_db_backing_store.cc const base::string16& name, base 929 content/browser/indexed_db/indexed_db_backing_store.cc const base::string16& name, base 930 content/browser/indexed_db/indexed_db_backing_store.cc const base::string16& version, base 985 content/browser/indexed_db/indexed_db_backing_store.cc const base::string16& name) { base 1071 content/browser/indexed_db/indexed_db_backing_store.cc base::string16 object_store_name; base 1229 content/browser/indexed_db/indexed_db_backing_store.cc const base::string16& name, base 1285 content/browser/indexed_db/indexed_db_backing_store.cc base::string16 object_store_name; base 1657 content/browser/indexed_db/indexed_db_backing_store.cc base::string16 index_name; base 1739 content/browser/indexed_db/indexed_db_backing_store.cc const base::string16& name, base 29 content/browser/indexed_db/indexed_db_backing_store.h namespace base { base 43 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status OpenLevelDB(const base::FilePath& file_name, base 47 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status DestroyLevelDB(const base::FilePath& file_name) = 0; base 51 content/browser/indexed_db/indexed_db_backing_store.h : public base::RefCounted<IndexedDBBackingStore> { base 57 content/browser/indexed_db/indexed_db_backing_store.h virtual int Compare(const base::StringPiece& a, base 58 content/browser/indexed_db/indexed_db_backing_store.h const base::StringPiece& b) const OVERRIDE; base 64 content/browser/indexed_db/indexed_db_backing_store.h base::TaskRunner* task_runner() const { return task_runner_; } base 65 content/browser/indexed_db/indexed_db_backing_store.h base::OneShotTimer<IndexedDBBackingStore>* close_timer() { base 75 content/browser/indexed_db/indexed_db_backing_store.h const base::FilePath& path_base, base 79 content/browser/indexed_db/indexed_db_backing_store.h base::TaskRunner* task_runner); base 84 content/browser/indexed_db/indexed_db_backing_store.h const base::FilePath& path_base, base 89 content/browser/indexed_db/indexed_db_backing_store.h base::TaskRunner* task_runner); base 92 content/browser/indexed_db/indexed_db_backing_store.h base::TaskRunner* task_runner); base 96 content/browser/indexed_db/indexed_db_backing_store.h base::TaskRunner* task_runner); base 100 content/browser/indexed_db/indexed_db_backing_store.h virtual std::vector<base::string16> GetDatabaseNames(); base 102 content/browser/indexed_db/indexed_db_backing_store.h const base::string16& name, base 106 content/browser/indexed_db/indexed_db_backing_store.h const base::string16& name, base 107 content/browser/indexed_db/indexed_db_backing_store.h const base::string16& version, base 114 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status DeleteDatabase(const base::string16& name); base 117 content/browser/indexed_db/indexed_db_backing_store.h static leveldb::Status DestroyBackingStore(const base::FilePath& path_base, base 119 content/browser/indexed_db/indexed_db_backing_store.h static bool RecordCorruptionInfo(const base::FilePath& path_base, base 129 content/browser/indexed_db/indexed_db_backing_store.h const base::string16& name, base 204 content/browser/indexed_db/indexed_db_backing_store.h const base::string16& name, base 349 content/browser/indexed_db/indexed_db_backing_store.h base::TaskRunner* task_runner); base 351 content/browser/indexed_db/indexed_db_backing_store.h friend class base::RefCounted<IndexedDBBackingStore>; base 359 content/browser/indexed_db/indexed_db_backing_store.h base::TaskRunner* task_runner); base 361 content/browser/indexed_db/indexed_db_backing_store.h static bool ReadCorruptionInfo(const base::FilePath& path_base, base 388 content/browser/indexed_db/indexed_db_backing_store.h base::TaskRunner* task_runner_; base 395 content/browser/indexed_db/indexed_db_backing_store.h base::OneShotTimer<IndexedDBBackingStore> close_timer_; base 15 content/browser/indexed_db/indexed_db_backing_store_unittest.cc using base::ASCIIToUTF16; base 240 content/browser/indexed_db/indexed_db_backing_store_unittest.cc const base::string16 database_name(ASCIIToUTF16("db1")); base 242 content/browser/indexed_db/indexed_db_backing_store_unittest.cc const base::string16 version(ASCIIToUTF16("old_string_version")); base 246 content/browser/indexed_db/indexed_db_backing_store_unittest.cc const base::string16 object_store_name(ASCIIToUTF16("object_store1")); base 252 content/browser/indexed_db/indexed_db_backing_store_unittest.cc const base::string16 index_name(ASCIIToUTF16("index1")); base 20 content/browser/indexed_db/indexed_db_blob_info.cc const base::string16& type, base 28 content/browser/indexed_db/indexed_db_blob_info.cc IndexedDBBlobInfo::IndexedDBBlobInfo(const base::string16& type, base 33 content/browser/indexed_db/indexed_db_blob_info.cc IndexedDBBlobInfo::IndexedDBBlobInfo(const base::FilePath& file_path, base 34 content/browser/indexed_db/indexed_db_blob_info.cc const base::string16& file_name, base 35 content/browser/indexed_db/indexed_db_blob_info.cc const base::string16& type) base 44 content/browser/indexed_db/indexed_db_blob_info.cc const base::string16& type, base 45 content/browser/indexed_db/indexed_db_blob_info.cc const base::string16& file_name) base 63 content/browser/indexed_db/indexed_db_blob_info.cc void IndexedDBBlobInfo::set_file_path(const base::FilePath& file_path) { base 68 content/browser/indexed_db/indexed_db_blob_info.cc void IndexedDBBlobInfo::set_last_modified(const base::Time& time) { base 69 content/browser/indexed_db/indexed_db_blob_info.cc DCHECK(base::Time().is_null()); base 80 content/browser/indexed_db/indexed_db_blob_info.cc const base::Closure& mark_used_callback) { base 24 content/browser/indexed_db/indexed_db_blob_info.h const base::string16& type, base 26 content/browser/indexed_db/indexed_db_blob_info.h IndexedDBBlobInfo(const base::string16& type, int64 size, int64 key); base 28 content/browser/indexed_db/indexed_db_blob_info.h IndexedDBBlobInfo(const base::FilePath& file_path, base 29 content/browser/indexed_db/indexed_db_blob_info.h const base::string16& file_name, base 30 content/browser/indexed_db/indexed_db_blob_info.h const base::string16& type); base 32 content/browser/indexed_db/indexed_db_blob_info.h const base::string16& type, base 33 content/browser/indexed_db/indexed_db_blob_info.h const base::string16& file_name); base 37 content/browser/indexed_db/indexed_db_blob_info.h const base::string16& type() const { return type_; } base 39 content/browser/indexed_db/indexed_db_blob_info.h const base::string16& file_name() const { return file_name_; } base 41 content/browser/indexed_db/indexed_db_blob_info.h const base::FilePath& file_path() const { return file_path_; } base 42 content/browser/indexed_db/indexed_db_blob_info.h const base::Time& last_modified() const { return last_modified_; } base 43 content/browser/indexed_db/indexed_db_blob_info.h const base::Closure& mark_used_callback() const { base 50 content/browser/indexed_db/indexed_db_blob_info.h void set_file_path(const base::FilePath& file_path); base 51 content/browser/indexed_db/indexed_db_blob_info.h void set_last_modified(const base::Time& time); base 53 content/browser/indexed_db/indexed_db_blob_info.h void set_mark_used_callback(const base::Closure& mark_used_callback); base 59 content/browser/indexed_db/indexed_db_blob_info.h base::string16 type_; // Mime type. base 61 content/browser/indexed_db/indexed_db_blob_info.h base::string16 file_name_; // Only for File. base 62 content/browser/indexed_db/indexed_db_blob_info.h base::FilePath file_path_; // Only for File. base 63 content/browser/indexed_db/indexed_db_blob_info.h base::Time last_modified_; // Only for File; valid only if size is. base 67 content/browser/indexed_db/indexed_db_blob_info.h base::Closure mark_used_callback_; base 36 content/browser/indexed_db/indexed_db_browsertest.cc using base::ASCIIToUTF16; base 76 content/browser/indexed_db/indexed_db_browsertest.cc base::string16 expected_title16(ASCIIToUTF16(expected_string)); base 101 content/browser/indexed_db/indexed_db_browsertest.cc base::Bind(&IndexedDBBrowserTest::SetTempQuota, bytes, qm)); base 107 content/browser/indexed_db/indexed_db_browsertest.cc scoped_refptr<base::ThreadTestHelper> helper(new base::ThreadTestHelper( base 116 content/browser/indexed_db/indexed_db_browsertest.cc base::Bind(&IndexedDBContext::GetOriginDiskUsage, base 119 content/browser/indexed_db/indexed_db_browsertest.cc base::Bind(&IndexedDBBrowserTest::DidGetDiskUsage, this)); base 120 content/browser/indexed_db/indexed_db_browsertest.cc scoped_refptr<base::ThreadTestHelper> helper(new base::ThreadTestHelper( base 125 content/browser/indexed_db/indexed_db_browsertest.cc base::MessageLoop::current()->RunUntilIdle(); base 237 content/browser/indexed_db/indexed_db_browsertest.cc base::FilePath leveldb_dir(FILE_PATH_LITERAL("file__0.indexeddb.leveldb")); base 238 content/browser/indexed_db/indexed_db_browsertest.cc base::FilePath test_data_dir = base 240 content/browser/indexed_db/indexed_db_browsertest.cc base::FilePath dest = context->data_path().Append(leveldb_dir); base 244 content/browser/indexed_db/indexed_db_browsertest.cc ASSERT_TRUE(base::CreateDirectory(dest)); base 246 content/browser/indexed_db/indexed_db_browsertest.cc ASSERT_TRUE(base::CopyDirectory(test_data_dir, base 257 content/browser/indexed_db/indexed_db_browsertest.cc base::Bind( base 259 content/browser/indexed_db/indexed_db_browsertest.cc scoped_refptr<base::ThreadTestHelper> helper(new base::ThreadTestHelper( base 347 content/browser/indexed_db/indexed_db_browsertest.cc base::FilePath leveldb_dir(FILE_PATH_LITERAL("file__0.indexeddb.leveldb")); base 348 content/browser/indexed_db/indexed_db_browsertest.cc base::FilePath log_file(FILE_PATH_LITERAL("LOG")); base 349 content/browser/indexed_db/indexed_db_browsertest.cc base::FilePath log_file_path = base 352 content/browser/indexed_db/indexed_db_browsertest.cc EXPECT_TRUE(base::GetFileSize(log_file_path, &size)); base 389 content/browser/indexed_db/indexed_db_browsertest.cc base::WaitableEvent* signal_when_finished) { base 395 content/browser/indexed_db/indexed_db_browsertest.cc base::FilePath idb_data_path = context->GetFilePath(origin_url); base 397 content/browser/indexed_db/indexed_db_browsertest.cc base::FileEnumerator enumerator( base 398 content/browser/indexed_db/indexed_db_browsertest.cc idb_data_path, recursive, base::FileEnumerator::FILES); base 399 content/browser/indexed_db/indexed_db_browsertest.cc for (base::FilePath idb_file = enumerator.Next(); !idb_file.empty(); base 406 content/browser/indexed_db/indexed_db_browsertest.cc base::PlatformFile f = base::CreatePlatformFile( base 408 content/browser/indexed_db/indexed_db_browsertest.cc base::PLATFORM_FILE_WRITE | base::PLATFORM_FILE_OPEN_TRUNCATED, base 414 content/browser/indexed_db/indexed_db_browsertest.cc base::TruncatePlatformFile(f, size); base 415 content/browser/indexed_db/indexed_db_browsertest.cc if (!base::ClosePlatformFile(f)) base 452 content/browser/indexed_db/indexed_db_browsertest.cc base::WaitableEvent signal_when_finished(false, false); base 454 content/browser/indexed_db/indexed_db_browsertest.cc base::Bind(&CorruptIndexedDBDatabase, base 455 content/browser/indexed_db/indexed_db_browsertest.cc base::ConstRef(context), base 467 content/browser/indexed_db/indexed_db_browsertest.cc base::FilePath resourcePath = base 473 content/browser/indexed_db/indexed_db_browsertest.cc if (!base::ReadFileToString(resourcePath, &file_contents)) base 486 content/browser/indexed_db/indexed_db_browsertest.cc base::Bind(&CorruptDBRequestHandler, base 487 content/browser/indexed_db/indexed_db_browsertest.cc base::ConstRef(GetContext()), base 568 content/browser/indexed_db/indexed_db_browsertest.cc base::string16 expected_title16(ASCIIToUTF16("setVersion(3) complete")); base 571 content/browser/indexed_db/indexed_db_browsertest.cc base::KillProcess( base 586 content/browser/indexed_db/indexed_db_browsertest.cc base::Bind(&IndexedDBContextImpl::DeleteForOrigin, base 590 content/browser/indexed_db/indexed_db_browsertest.cc base::string16 expected_title16(ASCIIToUTF16("connection closed")); base 78 content/browser/indexed_db/indexed_db_callbacks.cc void IndexedDBCallbacks::OnSuccess(const std::vector<base::string16>& value) { base 87 content/browser/indexed_db/indexed_db_callbacks.cc std::vector<base::string16> list; base 31 content/browser/indexed_db/indexed_db_callbacks.h : public base::RefCounted<IndexedDBCallbacks> { base 55 content/browser/indexed_db/indexed_db_callbacks.h virtual void OnSuccess(const std::vector<base::string16>& string); base 111 content/browser/indexed_db/indexed_db_callbacks.h friend class base::RefCounted<IndexedDBCallbacks>; base 17 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc using base::StringPiece; base 37 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc const base::FilePath& file_name, base 41 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc virtual leveldb::Status Get(const base::StringPiece& key, base 53 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc const base::FilePath& file_name, base 60 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc virtual leveldb::Status DestroyLevelDB(const base::FilePath& file_name) base 75 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc base::ScopedTempDir temp_directory; base 77 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc const base::FilePath path = temp_directory.path(); base 83 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc base::TaskRunner* task_runner = NULL; base 105 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc const base::FilePath& file_name, base 112 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc virtual leveldb::Status DestroyLevelDB(const base::FilePath& file_name) base 131 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc base::ScopedTempDir temp_directory; base 133 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc const base::FilePath path = temp_directory.path(); base 138 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc base::TaskRunner* task_runner = NULL; base 151 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc MockErrorLevelDBFactory<base::File::Error> mock_leveldb_factory2( base 152 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc base::File::FILE_ERROR_NO_MEMORY, false); base 174 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc MockErrorLevelDBFactory<base::File::Error> mock_leveldb_factory4( base 175 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc base::File::FILE_ERROR_FAILED, false); base 38 content/browser/indexed_db/indexed_db_context_impl.cc using base::DictionaryValue; base 39 content/browser/indexed_db/indexed_db_context_impl.cc using base::ListValue; base 43 content/browser/indexed_db/indexed_db_context_impl.cc const base::FilePath::CharType IndexedDBContextImpl::kIndexedDBDirectory[] = base 46 content/browser/indexed_db/indexed_db_context_impl.cc static const base::FilePath::CharType kIndexedDBExtension[] = base 49 content/browser/indexed_db/indexed_db_context_impl.cc static const base::FilePath::CharType kLevelDBExtension[] = base 55 content/browser/indexed_db/indexed_db_context_impl.cc void GetAllOriginsAndPaths(const base::FilePath& indexeddb_path, base 57 content/browser/indexed_db/indexed_db_context_impl.cc std::vector<base::FilePath>* file_paths) { base 62 content/browser/indexed_db/indexed_db_context_impl.cc base::FileEnumerator file_enumerator( base 63 content/browser/indexed_db/indexed_db_context_impl.cc indexeddb_path, false, base::FileEnumerator::DIRECTORIES); base 64 content/browser/indexed_db/indexed_db_context_impl.cc for (base::FilePath file_path = file_enumerator.Next(); !file_path.empty(); base 79 content/browser/indexed_db/indexed_db_context_impl.cc const base::FilePath& indexeddb_path, base 84 content/browser/indexed_db/indexed_db_context_impl.cc std::vector<base::FilePath> file_paths; base 87 content/browser/indexed_db/indexed_db_context_impl.cc std::vector<base::FilePath>::const_iterator file_path_iter = base 96 content/browser/indexed_db/indexed_db_context_impl.cc base::DeleteFile(*file_path_iter, true); base 103 content/browser/indexed_db/indexed_db_context_impl.cc const base::FilePath& data_path, base 106 content/browser/indexed_db/indexed_db_context_impl.cc base::SequencedTaskRunner* task_runner) base 151 content/browser/indexed_db/indexed_db_context_impl.cc base::FilePath idb_directory = GetFilePath(origin_url); base 166 content/browser/indexed_db/indexed_db_context_impl.cc base::ListValue* IndexedDBContextImpl::GetAllOriginsDetails() { base 172 content/browser/indexed_db/indexed_db_context_impl.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 178 content/browser/indexed_db/indexed_db_context_impl.cc scoped_ptr<base::DictionaryValue> info(new base::DictionaryValue()); base 195 content/browser/indexed_db/indexed_db_context_impl.cc scoped_ptr<base::ListValue> database_list(new base::ListValue()); base 202 content/browser/indexed_db/indexed_db_context_impl.cc scoped_ptr<base::DictionaryValue> db_info(new base::DictionaryValue()); base 213 content/browser/indexed_db/indexed_db_context_impl.cc scoped_ptr<base::ListValue> transaction_list(new base::ListValue()); base 222 content/browser/indexed_db/indexed_db_context_impl.cc scoped_ptr<base::DictionaryValue> transaction_info( base 223 content/browser/indexed_db/indexed_db_context_impl.cc new base::DictionaryValue()); base 252 content/browser/indexed_db/indexed_db_context_impl.cc (base::Time::Now() - transaction->diagnostics().creation_time) base 256 content/browser/indexed_db/indexed_db_context_impl.cc (base::Time::Now() - transaction->diagnostics().start_time) base 263 content/browser/indexed_db/indexed_db_context_impl.cc scoped_ptr<base::ListValue> scope(new base::ListValue()); base 297 content/browser/indexed_db/indexed_db_context_impl.cc base::Time IndexedDBContextImpl::GetOriginLastModified(const GURL& origin_url) { base 300 content/browser/indexed_db/indexed_db_context_impl.cc return base::Time(); base 301 content/browser/indexed_db/indexed_db_context_impl.cc base::FilePath idb_directory = GetFilePath(origin_url); base 302 content/browser/indexed_db/indexed_db_context_impl.cc base::File::Info file_info; base 303 content/browser/indexed_db/indexed_db_context_impl.cc if (!base::GetFileInfo(idb_directory, &file_info)) base 304 content/browser/indexed_db/indexed_db_context_impl.cc return base::Time(); base 314 content/browser/indexed_db/indexed_db_context_impl.cc base::FilePath idb_directory = GetFilePath(origin_url); base 325 content/browser/indexed_db/indexed_db_context_impl.cc base::DeleteFile(idb_directory, kNonRecursive); base 362 content/browser/indexed_db/indexed_db_context_impl.cc base::FilePath IndexedDBContextImpl::GetFilePath(const GURL& origin_url) const { base 367 content/browser/indexed_db/indexed_db_context_impl.cc base::FilePath IndexedDBContextImpl::GetFilePathForTesting( base 373 content/browser/indexed_db/indexed_db_context_impl.cc base::SequencedTaskRunner* task_runner) { base 443 content/browser/indexed_db/indexed_db_context_impl.cc FROM_HERE, base::Bind(&IndexedDBFactory::ContextDestroyed, factory_)); base 463 content/browser/indexed_db/indexed_db_context_impl.cc base::Bind( base 467 content/browser/indexed_db/indexed_db_context_impl.cc base::FilePath IndexedDBContextImpl::GetIndexedDBFilePath( base 477 content/browser/indexed_db/indexed_db_context_impl.cc base::FilePath file_path = GetFilePath(origin_url); base 478 content/browser/indexed_db/indexed_db_context_impl.cc return base::ComputeDirectorySize(file_path); base 517 content/browser/indexed_db/indexed_db_context_impl.cc base::Bind(&IndexedDBContextImpl::GotUpdatedQuota, base 538 content/browser/indexed_db/indexed_db_context_impl.cc base::Bind( base 549 content/browser/indexed_db/indexed_db_context_impl.cc base::Bind(&IndexedDBContextImpl::GotUsageAndQuota, this, origin_url)); base 572 content/browser/indexed_db/indexed_db_context_impl.cc base::TaskRunner* IndexedDBContextImpl::TaskRunner() const { base 24 content/browser/indexed_db/indexed_db_context_impl.h namespace base { base 43 content/browser/indexed_db/indexed_db_context_impl.h IndexedDBContextImpl(const base::FilePath& data_path, base 46 content/browser/indexed_db/indexed_db_context_impl.h base::SequencedTaskRunner* task_runner); base 51 content/browser/indexed_db/indexed_db_context_impl.h static const base::FilePath::CharType kIndexedDBDirectory[]; base 57 content/browser/indexed_db/indexed_db_context_impl.h virtual base::TaskRunner* TaskRunner() const OVERRIDE; base 61 content/browser/indexed_db/indexed_db_context_impl.h virtual base::FilePath GetFilePathForTesting( base 63 content/browser/indexed_db/indexed_db_context_impl.h virtual void SetTaskRunnerForTesting(base::SequencedTaskRunner* task_runner) base 77 content/browser/indexed_db/indexed_db_context_impl.h base::Time GetOriginLastModified(const GURL& origin_url); base 78 content/browser/indexed_db/indexed_db_context_impl.h base::ListValue* GetAllOriginsDetails(); base 92 content/browser/indexed_db/indexed_db_context_impl.h base::FilePath GetFilePath(const GURL& origin_url) const; base 93 content/browser/indexed_db/indexed_db_context_impl.h base::FilePath data_path() const { return data_path_; } base 101 content/browser/indexed_db/indexed_db_context_impl.h void set_data_path_for_testing(const base::FilePath& data_path) { base 118 content/browser/indexed_db/indexed_db_context_impl.h base::FilePath GetIndexedDBFilePath(const std::string& origin_id) const; base 141 content/browser/indexed_db/indexed_db_context_impl.h base::FilePath data_path_; base 146 content/browser/indexed_db/indexed_db_context_impl.h base::SequencedTaskRunner* task_runner_; base 41 content/browser/indexed_db/indexed_db_cursor.cc base::Bind(&IndexedDBCursor::CursorIterationOperation, base 43 content/browser/indexed_db/indexed_db_cursor.cc base::Passed(&key), base 44 content/browser/indexed_db/indexed_db_cursor.cc base::Passed(&primary_key), base 54 content/browser/indexed_db/indexed_db_cursor.cc base::Bind( base 96 content/browser/indexed_db/indexed_db_cursor.cc base::Bind(&IndexedDBCursor::CursorPrefetchIterationOperation, base 22 content/browser/indexed_db/indexed_db_cursor.h : NON_EXPORTED_BASE(public base::RefCounted<IndexedDBCursor>) { base 58 content/browser/indexed_db/indexed_db_cursor.h friend class base::RefCounted<IndexedDBCursor>; base 29 content/browser/indexed_db/indexed_db_database.cc using base::ASCIIToUTF16; base 30 content/browser/indexed_db/indexed_db_database.cc using base::Int64ToString16; base 92 content/browser/indexed_db/indexed_db_database.cc const base::string16& name, base 104 content/browser/indexed_db/indexed_db_database.cc const base::string16::value_type kNoStringVersion[] = {0}; base 107 content/browser/indexed_db/indexed_db_database.cc IndexedDBDatabase::IndexedDBDatabase(const base::string16& name, base 262 content/browser/indexed_db/indexed_db_database.cc const base::string16& name, base 284 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::CreateObjectStoreOperation, base 287 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::CreateObjectStoreAbortOperation, base 333 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::DeleteObjectStoreOperation, base 336 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::DeleteObjectStoreAbortOperation, base 345 content/browser/indexed_db/indexed_db_database.cc const base::string16& name, base 361 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::CreateIndexOperation, base 365 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::CreateIndexAbortOperation, base 386 content/browser/indexed_db/indexed_db_database.cc base::string16 error_string = base 419 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::DeleteIndexOperation, base 423 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::DeleteIndexAbortOperation, base 442 content/browser/indexed_db/indexed_db_database.cc base::string16 error_string = base 504 content/browser/indexed_db/indexed_db_database.cc transaction->ScheduleTask(base::Bind( base 738 content/browser/indexed_db/indexed_db_database.cc transaction->ScheduleTask(base::Bind( base 739 content/browser/indexed_db/indexed_db_database.cc &IndexedDBDatabase::PutOperation, this, base::Passed(¶ms))); base 801 content/browser/indexed_db/indexed_db_database.cc base::string16 error_message; base 915 content/browser/indexed_db/indexed_db_database.cc base::string16 error_message; base 964 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::SetIndexesReadyOperation, base 1017 content/browser/indexed_db/indexed_db_database.cc transaction->ScheduleTask(base::Bind( base 1018 content/browser/indexed_db/indexed_db_database.cc &IndexedDBDatabase::OpenCursorOperation, this, base::Passed(¶ms))); base 1099 content/browser/indexed_db/indexed_db_database.cc transaction->ScheduleTask(base::Bind(&IndexedDBDatabase::CountOperation, base 1103 content/browser/indexed_db/indexed_db_database.cc base::Passed(&key_range), base 1159 content/browser/indexed_db/indexed_db_database.cc transaction->ScheduleTask(base::Bind(&IndexedDBDatabase::DeleteRangeOperation, base 1162 content/browser/indexed_db/indexed_db_database.cc base::Passed(&key_range), base 1210 content/browser/indexed_db/indexed_db_database.cc transaction->ScheduleTask(base::Bind( base 1239 content/browser/indexed_db/indexed_db_database.cc base::string16 error_string = base 1436 content/browser/indexed_db/indexed_db_database.cc base::string16 message; base 1555 content/browser/indexed_db/indexed_db_database.cc ->ScheduleTask(base::Bind(&IndexedDBDatabase::VersionChangeOperation, base 1559 content/browser/indexed_db/indexed_db_database.cc base::Passed(&connection)), base 1560 content/browser/indexed_db/indexed_db_database.cc base::Bind(&IndexedDBDatabase::VersionChangeAbortOperation, base 1692 content/browser/indexed_db/indexed_db_database.cc const base::string16& previous_version, base 37 content/browser/indexed_db/indexed_db_database.h : NON_EXPORTED_BASE(public base::RefCounted<IndexedDBDatabase>) { base 54 content/browser/indexed_db/indexed_db_database.h typedef std::pair<GURL, base::string16> Identifier; base 60 content/browser/indexed_db/indexed_db_database.h const base::string16& name, base 69 content/browser/indexed_db/indexed_db_database.h const base::string16& name() const { return metadata_.name; } base 85 content/browser/indexed_db/indexed_db_database.h const base::string16& name, base 103 content/browser/indexed_db/indexed_db_database.h const base::string16& name, base 190 content/browser/indexed_db/indexed_db_database.h void VersionChangeAbortOperation(const base::string16& previous_version, base 233 content/browser/indexed_db/indexed_db_database.h friend class base::RefCounted<IndexedDBDatabase>; base 235 content/browser/indexed_db/indexed_db_database.h IndexedDBDatabase(const base::string16& name, base 17 content/browser/indexed_db/indexed_db_database_callbacks.h : public base::RefCounted<IndexedDBDatabaseCallbacks> { base 34 content/browser/indexed_db/indexed_db_database_callbacks.h friend class base::RefCounted<IndexedDBDatabaseCallbacks>; base 19 content/browser/indexed_db/indexed_db_database_error.h : code_(code), message_(base::ASCIIToUTF16(message)) {} base 20 content/browser/indexed_db/indexed_db_database_error.h IndexedDBDatabaseError(uint16 code, const base::string16& message) base 25 content/browser/indexed_db/indexed_db_database_error.h const base::string16& message() const { return message_; } base 29 content/browser/indexed_db/indexed_db_database_error.h const base::string16 message_; base 24 content/browser/indexed_db/indexed_db_database_unittest.cc using base::ASCIIToUTF16; base 53 content/browser/indexed_db/indexed_db_dispatcher_host.cc base::Bind(&IndexedDBDispatcherHost::ResetDispatcherHosts, this)); base 83 content/browser/indexed_db/indexed_db_dispatcher_host.cc base::TaskRunner* IndexedDBDispatcherHost::OverrideTaskRunnerForMessage( base 149 content/browser/indexed_db/indexed_db_dispatcher_host.cc base::ProcessId pid = peer_pid(); base 151 content/browser/indexed_db/indexed_db_dispatcher_host.cc COMPILE_ASSERT(sizeof(base::ProcessId) <= sizeof(int32), base 243 content/browser/indexed_db/indexed_db_dispatcher_host.cc base::FilePath indexed_db_path = indexed_db_context_->data_path(); base 258 content/browser/indexed_db/indexed_db_dispatcher_host.cc base::FilePath indexed_db_path = indexed_db_context_->data_path(); base 291 content/browser/indexed_db/indexed_db_dispatcher_host.cc base::FilePath indexed_db_path = indexed_db_context_->data_path(); base 339 content/browser/indexed_db/indexed_db_dispatcher_host.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_IDBMF")); base 354 content/browser/indexed_db/indexed_db_dispatcher_host.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_IDBMF")); base 53 content/browser/indexed_db/indexed_db_dispatcher_host.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 92 content/browser/indexed_db/indexed_db_dispatcher_host.h friend class base::DeleteHelper<IndexedDBDispatcherHost>; base 18 content/browser/indexed_db/indexed_db_factory.cc using base::ASCIIToUTF16; base 89 content/browser/indexed_db/indexed_db_factory.cc base::TimeDelta::FromMilliseconds(kBackingStoreGracePeriodMs), base 90 content/browser/indexed_db/indexed_db_factory.cc base::Bind(&IndexedDBFactory::MaybeCloseBackingStore, this, origin_url)); base 174 content/browser/indexed_db/indexed_db_factory.cc const base::FilePath& data_directory) { base 200 content/browser/indexed_db/indexed_db_factory.cc const base::string16& name, base 203 content/browser/indexed_db/indexed_db_factory.cc const base::FilePath& data_directory) { base 276 content/browser/indexed_db/indexed_db_factory.cc base::FilePath path_base = context_->data_path(); base 278 content/browser/indexed_db/indexed_db_factory.cc path_base, saved_origin_url, base::UTF16ToUTF8(error.message())); base 288 content/browser/indexed_db/indexed_db_factory.cc const base::string16& name) const { base 308 content/browser/indexed_db/indexed_db_factory.cc const base::FilePath& data_directory, base 350 content/browser/indexed_db/indexed_db_factory.cc void IndexedDBFactory::Open(const base::string16& name, base 353 content/browser/indexed_db/indexed_db_factory.cc const base::FilePath& data_directory) { base 28 content/browser/indexed_db/indexed_db_factory.h : NON_EXPORTED_BASE(public base::RefCountedThreadSafe<IndexedDBFactory>) { base 41 content/browser/indexed_db/indexed_db_factory.h const base::FilePath& data_directory); base 42 content/browser/indexed_db/indexed_db_factory.h void Open(const base::string16& name, base 45 content/browser/indexed_db/indexed_db_factory.h const base::FilePath& data_directory); base 47 content/browser/indexed_db/indexed_db_factory.h void DeleteDatabase(const base::string16& name, base 50 content/browser/indexed_db/indexed_db_factory.h const base::FilePath& data_directory); base 74 content/browser/indexed_db/indexed_db_factory.h friend class base::RefCountedThreadSafe<IndexedDBFactory>; base 80 content/browser/indexed_db/indexed_db_factory.h const base::FilePath& data_directory, base 110 content/browser/indexed_db/indexed_db_factory.h const base::string16& name) const; base 23 content/browser/indexed_db/indexed_db_factory_unittest.cc using base::ASCIIToUTF16; base 34 content/browser/indexed_db/indexed_db_factory_unittest.cc const base::FilePath& data_directory) { base 67 content/browser/indexed_db/indexed_db_factory_unittest.cc task_runner_ = new base::TestSimpleTaskRunner(); base 68 content/browser/indexed_db/indexed_db_factory_unittest.cc context_ = new IndexedDBContextImpl(base::FilePath(), base 77 content/browser/indexed_db/indexed_db_factory_unittest.cc base::MessageLoop loop_; base 84 content/browser/indexed_db/indexed_db_factory_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 95 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 121 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 151 content/browser/indexed_db/indexed_db_factory_unittest.cc factory()->TestOpenBackingStore(origin1, base::FilePath()); base 154 content/browser/indexed_db/indexed_db_factory_unittest.cc factory()->TestOpenBackingStore(origin1, base::FilePath()); base 158 content/browser/indexed_db/indexed_db_factory_unittest.cc factory()->TestOpenBackingStore(origin2, base::FilePath()); base 177 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 179 content/browser/indexed_db/indexed_db_factory_unittest.cc const base::FilePath base_path = temp_directory.path(); base 181 content/browser/indexed_db/indexed_db_factory_unittest.cc int limit = base::GetMaximumPathComponentLength(base_path); base 204 content/browser/indexed_db/indexed_db_factory_unittest.cc const base::FilePath& data_directory, base 229 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 237 content/browser/indexed_db/indexed_db_factory_unittest.cc const base::string16 name(ASCIIToUTF16("name")); base 249 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 279 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 320 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 344 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 367 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 438 content/browser/indexed_db/indexed_db_factory_unittest.cc base::ScopedTempDir temp_directory; base 441 content/browser/indexed_db/indexed_db_factory_unittest.cc const base::string16 db_name(ASCIIToUTF16("db")); base 460 content/browser/indexed_db/indexed_db_factory_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 20 content/browser/indexed_db/indexed_db_fake_backing_store.cc base::TaskRunner* task_runner) base 29 content/browser/indexed_db/indexed_db_fake_backing_store.cc std::vector<base::string16> IndexedDBFakeBackingStore::GetDatabaseNames() { base 30 content/browser/indexed_db/indexed_db_fake_backing_store.cc return std::vector<base::string16>(); base 33 content/browser/indexed_db/indexed_db_fake_backing_store.cc const base::string16& name, base 40 content/browser/indexed_db/indexed_db_fake_backing_store.cc const base::string16& name, base 41 content/browser/indexed_db/indexed_db_fake_backing_store.cc const base::string16& version, base 52 content/browser/indexed_db/indexed_db_fake_backing_store.cc const base::string16& name) { base 60 content/browser/indexed_db/indexed_db_fake_backing_store.cc const base::string16& name, base 109 content/browser/indexed_db/indexed_db_fake_backing_store.cc const base::string16& name, base 12 content/browser/indexed_db/indexed_db_fake_backing_store.h namespace base { base 24 content/browser/indexed_db/indexed_db_fake_backing_store.h base::TaskRunner* task_runner); base 25 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual std::vector<base::string16> GetDatabaseNames() OVERRIDE; base 26 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status GetIDBDatabaseMetaData(const base::string16& name, base 30 content/browser/indexed_db/indexed_db_fake_backing_store.h const base::string16& name, base 31 content/browser/indexed_db/indexed_db_fake_backing_store.h const base::string16& version, base 37 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status DeleteDatabase(const base::string16& name) OVERRIDE; base 42 content/browser/indexed_db/indexed_db_fake_backing_store.h const base::string16& name, base 76 content/browser/indexed_db/indexed_db_fake_backing_store.h const base::string16& name, base 132 content/browser/indexed_db/indexed_db_fake_backing_store.h friend class base::RefCounted<IndexedDBFakeBackingStore>; base 16 content/browser/indexed_db/indexed_db_index_writer.cc using base::ASCIIToUTF16; base 39 content/browser/indexed_db/indexed_db_index_writer.cc base::string16* error_message) const { base 130 content/browser/indexed_db/indexed_db_index_writer.cc base::string16* error_message, base 37 content/browser/indexed_db/indexed_db_index_writer.h base::string16* error_message) const WARN_UNUSED_RESULT; base 70 content/browser/indexed_db/indexed_db_index_writer.h base::string16* error_message, base 34 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::GetAllOrigins, base::Unretained(this))); base 38 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::DownloadOriginData, base 39 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this))); base 42 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::ForceCloseOrigin, base 43 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this))); base 67 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::GetAllOriginsOnIndexedDBThread, base 68 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this), base 73 content/browser/indexed_db/indexed_db_internals_ui.cc void IndexedDBInternalsUI::GetAllOrigins(const base::ListValue* args) { base 80 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::AddContextFromStoragePartition, base 81 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this)); base 87 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath& context_path) { base 90 content/browser/indexed_db/indexed_db_internals_ui.cc scoped_ptr<base::ListValue> info_list(static_cast<IndexedDBContextImpl*>( base 95 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::OnOriginsReady, base 96 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this), base 97 content/browser/indexed_db/indexed_db_internals_ui.cc base::Passed(&info_list), base 101 content/browser/indexed_db/indexed_db_internals_ui.cc void IndexedDBInternalsUI::OnOriginsReady(scoped_ptr<base::ListValue> origins, base 102 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath& path) { base 105 content/browser/indexed_db/indexed_db_internals_ui.cc "indexeddb.onOriginsReady", *origins, base::StringValue(path.value())); base 108 content/browser/indexed_db/indexed_db_internals_ui.cc static void FindContext(const base::FilePath& partition_path, base 120 content/browser/indexed_db/indexed_db_internals_ui.cc const base::ListValue* args, base 121 content/browser/indexed_db/indexed_db_internals_ui.cc base::FilePath* partition_path, base 124 content/browser/indexed_db/indexed_db_internals_ui.cc base::FilePath::StringType path_string; base 127 content/browser/indexed_db/indexed_db_internals_ui.cc *partition_path = base::FilePath(path_string); base 139 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath& path, base 148 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&FindContext, path, &result_partition, context); base 157 content/browser/indexed_db/indexed_db_internals_ui.cc void IndexedDBInternalsUI::DownloadOriginData(const base::ListValue* args) { base 160 content/browser/indexed_db/indexed_db_internals_ui.cc base::FilePath partition_path; base 169 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::DownloadOriginDataOnIndexedDBThread, base 170 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this), base 176 content/browser/indexed_db/indexed_db_internals_ui.cc void IndexedDBInternalsUI::ForceCloseOrigin(const base::ListValue* args) { base 179 content/browser/indexed_db/indexed_db_internals_ui.cc base::FilePath partition_path; base 187 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::ForceCloseOriginOnIndexedDBThread, base 188 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this), base 195 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath& partition_path, base 208 content/browser/indexed_db/indexed_db_internals_ui.cc base::ScopedTempDir temp_dir; base 214 content/browser/indexed_db/indexed_db_internals_ui.cc base::FilePath temp_path = temp_dir.Take(); base 217 content/browser/indexed_db/indexed_db_internals_ui.cc base::FilePath zip_path = base 227 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::OnDownloadDataReady, base 228 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this), base 237 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath& partition_path, base 252 content/browser/indexed_db/indexed_db_internals_ui.cc base::Bind(&IndexedDBInternalsUI::OnForcedClose, base 253 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this), base 259 content/browser/indexed_db/indexed_db_internals_ui.cc void IndexedDBInternalsUI::OnForcedClose(const base::FilePath& partition_path, base 264 content/browser/indexed_db/indexed_db_internals_ui.cc base::StringValue(partition_path.value()), base 265 content/browser/indexed_db/indexed_db_internals_ui.cc base::StringValue(origin_url.spec()), base 266 content/browser/indexed_db/indexed_db_internals_ui.cc base::FundamentalValue(double(connection_count))); base 270 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath& partition_path, base 272 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath temp_path, base 273 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath zip_path, base 290 content/browser/indexed_db/indexed_db_internals_ui.cc dl_params->set_callback(base::Bind(&IndexedDBInternalsUI::OnDownloadStarted, base 291 content/browser/indexed_db/indexed_db_internals_ui.cc base::Unretained(this), base 303 content/browser/indexed_db/indexed_db_internals_ui.cc explicit FileDeleter(const base::FilePath& temp_dir) : temp_dir_(temp_dir) {} base 312 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath temp_dir_; base 332 content/browser/indexed_db/indexed_db_internals_ui.cc base::ScopedTempDir path; base 338 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath& partition_path, base 340 content/browser/indexed_db/indexed_db_internals_ui.cc const base::FilePath& temp_path, base 354 content/browser/indexed_db/indexed_db_internals_ui.cc base::StringValue(partition_path.value()), base 355 content/browser/indexed_db/indexed_db_internals_ui.cc base::StringValue(origin_url.spec()), base 356 content/browser/indexed_db/indexed_db_internals_ui.cc base::FundamentalValue(double(connection_count))); base 16 content/browser/indexed_db/indexed_db_internals_ui.h namespace base { base 33 content/browser/indexed_db/indexed_db_internals_ui.h void GetAllOrigins(const base::ListValue* args); base 35 content/browser/indexed_db/indexed_db_internals_ui.h const base::FilePath& context_path); base 36 content/browser/indexed_db/indexed_db_internals_ui.h void OnOriginsReady(scoped_ptr<base::ListValue> origins, base 37 content/browser/indexed_db/indexed_db_internals_ui.h const base::FilePath& path); base 41 content/browser/indexed_db/indexed_db_internals_ui.h void DownloadOriginData(const base::ListValue* args); base 43 content/browser/indexed_db/indexed_db_internals_ui.h const base::FilePath& partition_path, base 46 content/browser/indexed_db/indexed_db_internals_ui.h void OnDownloadDataReady(const base::FilePath& partition_path, base 48 content/browser/indexed_db/indexed_db_internals_ui.h const base::FilePath temp_path, base 49 content/browser/indexed_db/indexed_db_internals_ui.h const base::FilePath zip_path, base 51 content/browser/indexed_db/indexed_db_internals_ui.h void OnDownloadStarted(const base::FilePath& partition_path, base 53 content/browser/indexed_db/indexed_db_internals_ui.h const base::FilePath& temp_path, base 58 content/browser/indexed_db/indexed_db_internals_ui.h void ForceCloseOrigin(const base::ListValue* args); base 60 content/browser/indexed_db/indexed_db_internals_ui.h const base::FilePath& partition_path, base 63 content/browser/indexed_db/indexed_db_internals_ui.h void OnForcedClose(const base::FilePath& partition_path, base 66 content/browser/indexed_db/indexed_db_internals_ui.h bool GetOriginContext(const base::FilePath& path, base 69 content/browser/indexed_db/indexed_db_internals_ui.h bool GetOriginData(const base::ListValue* args, base 70 content/browser/indexed_db/indexed_db_internals_ui.h base::FilePath* path, base 163 content/browser/indexed_db/indexed_db_leveldb_coding.cc using base::StringPiece; base 277 content/browser/indexed_db/indexed_db_leveldb_coding.cc void EncodeString(const base::string16& value, std::string* into) { base 283 content/browser/indexed_db/indexed_db_leveldb_coding.cc into->resize(into->size() + length * sizeof(base::char16)); base 285 content/browser/indexed_db/indexed_db_leveldb_coding.cc const base::char16* src = value.c_str(); base 286 content/browser/indexed_db/indexed_db_leveldb_coding.cc base::char16* dst = base 287 content/browser/indexed_db/indexed_db_leveldb_coding.cc reinterpret_cast<base::char16*>(&*into->begin() + current); base 298 content/browser/indexed_db/indexed_db_leveldb_coding.cc void EncodeStringWithLength(const base::string16& value, std::string* into) { base 367 content/browser/indexed_db/indexed_db_leveldb_coding.cc const std::vector<base::string16>& array = value.array(); base 433 content/browser/indexed_db/indexed_db_leveldb_coding.cc bool DecodeString(StringPiece* slice, base::string16* value) { base 440 content/browser/indexed_db/indexed_db_leveldb_coding.cc DCHECK(!(slice->size() % sizeof(base::char16))); base 441 content/browser/indexed_db/indexed_db_leveldb_coding.cc size_t length = slice->size() / sizeof(base::char16); base 442 content/browser/indexed_db/indexed_db_leveldb_coding.cc base::string16 decoded; base 444 content/browser/indexed_db/indexed_db_leveldb_coding.cc const base::char16* encoded = base 445 content/browser/indexed_db/indexed_db_leveldb_coding.cc reinterpret_cast<const base::char16*>(slice->begin()); base 450 content/browser/indexed_db/indexed_db_leveldb_coding.cc slice->remove_prefix(length * sizeof(base::char16)); base 454 content/browser/indexed_db/indexed_db_leveldb_coding.cc bool DecodeStringWithLength(StringPiece* slice, base::string16* value) { base 461 content/browser/indexed_db/indexed_db_leveldb_coding.cc size_t bytes = length * sizeof(base::char16); base 523 content/browser/indexed_db/indexed_db_leveldb_coding.cc base::string16 s; base 564 content/browser/indexed_db/indexed_db_leveldb_coding.cc base::string16 s; base 582 content/browser/indexed_db/indexed_db_leveldb_coding.cc base::string16 string; base 590 content/browser/indexed_db/indexed_db_leveldb_coding.cc std::vector<base::string16> array; base 596 content/browser/indexed_db/indexed_db_leveldb_coding.cc base::string16 string; base 641 content/browser/indexed_db/indexed_db_leveldb_coding.cc if (slice->size() < static_cast<size_t>(length) * sizeof(base::char16)) base 643 content/browser/indexed_db/indexed_db_leveldb_coding.cc slice->remove_prefix(length * sizeof(base::char16)); base 703 content/browser/indexed_db/indexed_db_leveldb_coding.cc DCHECK_GE(slice1->size(), len1 * sizeof(base::char16)); base 704 content/browser/indexed_db/indexed_db_leveldb_coding.cc DCHECK_GE(slice2->size(), len2 * sizeof(base::char16)); base 705 content/browser/indexed_db/indexed_db_leveldb_coding.cc if (slice1->size() < len1 * sizeof(base::char16) || base 706 content/browser/indexed_db/indexed_db_leveldb_coding.cc slice2->size() < len2 * sizeof(base::char16)) { base 712 content/browser/indexed_db/indexed_db_leveldb_coding.cc StringPiece string1(slice1->begin(), len1 * sizeof(base::char16)); base 713 content/browser/indexed_db/indexed_db_leveldb_coding.cc StringPiece string2(slice2->begin(), len2 * sizeof(base::char16)); base 714 content/browser/indexed_db/indexed_db_leveldb_coding.cc slice1->remove_prefix(len1 * sizeof(base::char16)); base 715 content/browser/indexed_db/indexed_db_leveldb_coding.cc slice2->remove_prefix(len2 * sizeof(base::char16)); base 1367 content/browser/indexed_db/indexed_db_leveldb_coding.cc const base::string16& database_name) { base 1370 content/browser/indexed_db/indexed_db_leveldb_coding.cc EncodeStringWithLength(base::ASCIIToUTF16(origin_identifier), &ret); base 1377 content/browser/indexed_db/indexed_db_leveldb_coding.cc return Encode(origin_identifier, base::string16()); base 1657 content/browser/indexed_db/indexed_db_leveldb_coding.cc const base::string16& object_store_name) { base 1693 content/browser/indexed_db/indexed_db_leveldb_coding.cc const base::string16& index_name) { base 30 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT void EncodeString(const base::string16& value, base 32 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT void EncodeStringWithLength(const base::string16& value, base 40 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeByte(base::StringPiece* slice, base 42 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeBool(base::StringPiece* slice, base 44 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeInt(base::StringPiece* slice, base 46 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeVarInt(base::StringPiece* slice, base 48 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeString(base::StringPiece* slice, base 49 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16* value); base 51 content/browser/indexed_db/indexed_db_leveldb_coding.h base::StringPiece* slice, base 52 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16* value); base 53 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeBinary(base::StringPiece* slice, base 55 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeDouble(base::StringPiece* slice, base 58 content/browser/indexed_db/indexed_db_leveldb_coding.h base::StringPiece* slice, base 61 content/browser/indexed_db/indexed_db_leveldb_coding.h base::StringPiece* slice, base 64 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT int CompareEncodedStringsWithLength(base::StringPiece* slice1, base 65 content/browser/indexed_db/indexed_db_leveldb_coding.h base::StringPiece* slice2, base 69 content/browser/indexed_db/indexed_db_leveldb_coding.h base::StringPiece* slice, base 72 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT int CompareEncodedIDBKeys(base::StringPiece* slice1, base 73 content/browser/indexed_db/indexed_db_leveldb_coding.h base::StringPiece* slice2, base 76 content/browser/indexed_db/indexed_db_leveldb_coding.h CONTENT_EXPORT int Compare(const base::StringPiece& a, base 77 content/browser/indexed_db/indexed_db_leveldb_coding.h const base::StringPiece& b, base 90 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, KeyPrefix* result); base 191 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, DatabaseFreeListKey* result); base 203 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, DatabaseNameKey* result); base 205 content/browser/indexed_db/indexed_db_leveldb_coding.h const base::string16& database_name); base 210 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16 origin() const { return origin_; } base 211 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16 database_name() const { return database_name_; } base 215 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16 origin_; // TODO(jsbell): Store encoded strings, or just base 217 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16 database_name_; base 256 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, ObjectStoreMetaDataKey* result); base 282 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, IndexMetaDataKey* result); base 305 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, ObjectStoreFreeListKey* result); base 319 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, IndexFreeListKey* result); base 339 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, ObjectStoreNamesKey* result); base 342 content/browser/indexed_db/indexed_db_leveldb_coding.h const base::string16& object_store_name); base 344 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16 object_store_name() const { return object_store_name_; } base 348 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16 object_store_name_; base 356 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, IndexNamesKey* result); base 359 content/browser/indexed_db/indexed_db_leveldb_coding.h const base::string16& index_name); base 361 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16 index_name() const { return index_name_; } base 365 content/browser/indexed_db/indexed_db_leveldb_coding.h base::string16 index_name_; base 370 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, ObjectStoreDataKey* result); base 391 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, ExistsEntryKey* result); base 410 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, BlobEntryKey* result); base 411 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool FromObjectStoreDataKey(base::StringPiece* slice, base 413 content/browser/indexed_db/indexed_db_leveldb_coding.h static std::string ReencodeToObjectStoreDataKey(base::StringPiece* slice); base 442 content/browser/indexed_db/indexed_db_leveldb_coding.h static bool Decode(base::StringPiece* slice, IndexDataKey* result); base 18 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc using base::ASCIIToUTF16; base 19 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc using base::StringPiece; base 311 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc static std::string WrappedEncodeString(base::string16 value) { base 318 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_a[] = {'f', 'o', 'o', '\0'}; base 319 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_b[] = {0xdead, 0xbeef, '\0'}; base 324 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(6u, WrappedEncodeString(base::string16(test_string_a)).size()); base 325 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(4u, WrappedEncodeString(base::string16(test_string_b)).size()); base 329 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_a[] = {'f', 'o', 'o', '\0'}; base 330 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_b[] = {0xdead, 0xbeef, '\0'}; base 332 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::vector<base::string16> test_cases; base 333 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16()); base 340 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::string16& test_case = test_cases[i]; base 348 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc base::string16 result; base 362 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc static std::string WrappedEncodeStringWithLength(base::string16 value) { base 369 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_a[] = {'f', 'o', 'o', '\0'}; base 370 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_b[] = {0xdead, 0xbeef, '\0'}; base 372 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(1u, WrappedEncodeStringWithLength(base::string16()).size()); base 375 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc 7u, WrappedEncodeStringWithLength(base::string16(test_string_a)).size()); base 377 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc 5u, WrappedEncodeStringWithLength(base::string16(test_string_b)).size()); base 381 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_a[] = {'f', 'o', 'o', '\0'}; base 382 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_b[] = {0xdead, 0xbeef, '\0'}; base 385 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc base::char16 long_string[kLongStringLen + 1]; base 390 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::vector<base::string16> test_cases; base 394 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16(test_string_a)); base 395 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16(test_string_b)); base 396 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16(long_string)); base 399 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc base::string16 s = test_cases[i]; base 403 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc base::string16 res; base 437 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_a[] = {0x1000, 0x1000, '\0'}; base 438 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_b[] = {0x1000, 0x1000, 0x1000, '\0'}; base 439 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_c[] = {0x1000, 0x1000, 0x1001, '\0'}; base 440 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_d[] = {0x1001, 0x1000, 0x1000, '\0'}; base 441 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_e[] = {0xd834, 0xdd1e, '\0'}; base 442 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc const base::char16 test_string_f[] = {0xfffd, '\0'}; base 444 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::vector<base::string16> test_cases; base 451 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16(test_string_a)); base 452 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16(test_string_b)); base 453 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16(test_string_c)); base 454 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16(test_string_d)); base 455 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16(test_string_e)); base 456 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc test_cases.push_back(base::string16(test_string_f)); base 459 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc base::string16 a = test_cases[i]; base 460 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc base::string16 b = test_cases[i + 1]; base 630 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc key_paths.push_back(IndexedDBKeyPath(base::string16())); base 661 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::vector<base::string16> array; base 662 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc array.push_back(base::string16()); base 700 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc key_paths.push_back(IndexedDBKeyPath(base::string16())); base 10 content/browser/indexed_db/indexed_db_metadata.cc const base::string16& name, base 27 content/browser/indexed_db/indexed_db_metadata.cc const base::string16& name, base 29 content/browser/indexed_db/indexed_db_metadata.cc const base::string16& version, base 18 content/browser/indexed_db/indexed_db_metadata.h IndexedDBIndexMetadata(const base::string16& name, base 28 content/browser/indexed_db/indexed_db_metadata.h base::string16 name; base 39 content/browser/indexed_db/indexed_db_metadata.h IndexedDBObjectStoreMetadata(const base::string16& name, base 45 content/browser/indexed_db/indexed_db_metadata.h base::string16 name; base 67 content/browser/indexed_db/indexed_db_metadata.h IndexedDBDatabaseMetadata(const base::string16& name, base 69 content/browser/indexed_db/indexed_db_metadata.h const base::string16& version, base 74 content/browser/indexed_db/indexed_db_metadata.h base::string16 name; base 76 content/browser/indexed_db/indexed_db_metadata.h base::string16 version; base 92 content/browser/indexed_db/indexed_db_quota_client.cc base::PostTaskAndReplyWithResult( base 95 content/browser/indexed_db/indexed_db_quota_client.cc base::Bind( base 121 content/browser/indexed_db/indexed_db_quota_client.cc base::Bind(&GetAllOriginsOnIndexedDBThread, base 123 content/browser/indexed_db/indexed_db_quota_client.cc base::Unretained(origins_to_return)), base 124 content/browser/indexed_db/indexed_db_quota_client.cc base::Bind(&DidGetOrigins, callback, base::Owned(origins_to_return))); base 149 content/browser/indexed_db/indexed_db_quota_client.cc base::Bind(&GetOriginsForHostOnIndexedDBThread, base 152 content/browser/indexed_db/indexed_db_quota_client.cc base::Unretained(origins_to_return)), base 153 content/browser/indexed_db/indexed_db_quota_client.cc base::Bind(&DidGetOrigins, callback, base::Owned(origins_to_return))); base 170 content/browser/indexed_db/indexed_db_quota_client.cc base::PostTaskAndReplyWithResult( base 173 content/browser/indexed_db/indexed_db_quota_client.cc base::Bind( base 42 content/browser/indexed_db/indexed_db_quota_client_unittest.cc task_runner_(new base::TestSimpleTaskRunner), base 50 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::MessageLoop::current()->message_loop_proxy(), base 51 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::MessageLoop::current()->message_loop_proxy(), base 59 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 67 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::FilePath indexeddb_dir = base 69 content/browser/indexed_db/indexed_db_quota_client_unittest.cc ASSERT_TRUE(base::CreateDirectory(indexeddb_dir)); base 77 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 87 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::Bind(&IndexedDBQuotaClientTest::OnGetOriginUsageComplete, base 90 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 100 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::Bind(&IndexedDBQuotaClientTest::OnGetOriginsComplete, base 103 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 114 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::Bind(&IndexedDBQuotaClientTest::OnGetOriginsComplete, base 117 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 127 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::Bind(&IndexedDBQuotaClientTest::OnDeleteOriginComplete, base 130 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 136 content/browser/indexed_db/indexed_db_quota_client_unittest.cc void SetFileSizeTo(const base::FilePath& path, int size) { base 138 content/browser/indexed_db/indexed_db_quota_client_unittest.cc ASSERT_EQ(size, base::WriteFile(path, junk.c_str(), size)); base 142 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::FilePath file_path_origin = idb_context()->GetFilePathForTesting( base 144 content/browser/indexed_db/indexed_db_quota_client_unittest.cc if (!base::CreateDirectory(file_path_origin)) { base 164 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::ScopedTempDir temp_dir_; base 167 content/browser/indexed_db/indexed_db_quota_client_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 172 content/browser/indexed_db/indexed_db_quota_client_unittest.cc base::WeakPtrFactory<IndexedDBQuotaClientTest> weak_factory_; base 76 content/browser/indexed_db/indexed_db_transaction.cc diagnostics_.creation_time = base::Time::Now(); base 128 content/browser/indexed_db/indexed_db_transaction.cc base::MessageLoop::current()->PostTask( base 129 content/browser/indexed_db/indexed_db_transaction.cc FROM_HERE, base::Bind(&IndexedDBTransaction::ProcessTaskQueue, this)); base 205 content/browser/indexed_db/indexed_db_transaction.cc diagnostics_.start_time = base::Time::Now(); base 326 content/browser/indexed_db/indexed_db_transaction.cc base::TimeDelta::FromSeconds(kInactivityTimeoutPeriodSeconds), base 327 content/browser/indexed_db/indexed_db_transaction.cc base::Bind(&IndexedDBTransaction::Timeout, this)); base 334 content/browser/indexed_db/indexed_db_transaction.cc base::ASCIIToUTF16("Transaction timed out due to inactivity."))); base 27 content/browser/indexed_db/indexed_db_transaction.h : public NON_EXPORTED_BASE(base::RefCounted<IndexedDBTransaction>) { base 29 content/browser/indexed_db/indexed_db_transaction.h typedef base::Callback<void(IndexedDBTransaction*)> Operation; base 79 content/browser/indexed_db/indexed_db_transaction.h base::Time creation_time; base 80 content/browser/indexed_db/indexed_db_transaction.h base::Time start_time; base 88 content/browser/indexed_db/indexed_db_transaction.h friend class base::RefCounted<IndexedDBTransaction>; base 151 content/browser/indexed_db/indexed_db_transaction.h base::OneShotTimer<IndexedDBTransaction> timeout_timer_; base 24 content/browser/indexed_db/indexed_db_transaction_unittest.cc db_ = IndexedDBDatabase::Create(base::ASCIIToUTF16("db"), base 38 content/browser/indexed_db/indexed_db_transaction_unittest.cc base::MessageLoop message_loop_; base 69 content/browser/indexed_db/indexed_db_transaction_unittest.cc transaction->ScheduleTask(base::Bind( base 70 content/browser/indexed_db/indexed_db_transaction_unittest.cc &IndexedDBTransactionTest::DummyOperation, base::Unretained(this))); base 82 content/browser/indexed_db/indexed_db_transaction_unittest.cc transaction->ScheduleTask(base::Bind( base 83 content/browser/indexed_db/indexed_db_transaction_unittest.cc &IndexedDBTransactionTest::DummyOperation, base::Unretained(this))); base 106 content/browser/indexed_db/indexed_db_transaction_unittest.cc transaction->ScheduleTask(base::Bind( base 107 content/browser/indexed_db/indexed_db_transaction_unittest.cc &IndexedDBTransactionTest::DummyOperation, base::Unretained(this))); base 150 content/browser/indexed_db/indexed_db_transaction_unittest.cc base::Bind(&IndexedDBTransactionTest::DummyOperation, base 151 content/browser/indexed_db/indexed_db_transaction_unittest.cc base::Unretained(this)), base 152 content/browser/indexed_db/indexed_db_transaction_unittest.cc base::Bind(&AbortObserver::AbortTask, base::Unretained(&observer))); base 156 content/browser/indexed_db/indexed_db_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 33 content/browser/indexed_db/indexed_db_unittest.cc task_runner_(new base::TestSimpleTaskRunner), base 43 content/browser/indexed_db/indexed_db_unittest.cc base::MessageLoopForIO message_loop_; base 44 content/browser/indexed_db/indexed_db_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner_; base 55 content/browser/indexed_db/indexed_db_unittest.cc base::ScopedTempDir temp_dir; base 58 content/browser/indexed_db/indexed_db_unittest.cc base::FilePath normal_path; base 59 content/browser/indexed_db/indexed_db_unittest.cc base::FilePath session_only_path; base 71 content/browser/indexed_db/indexed_db_unittest.cc ASSERT_TRUE(base::CreateDirectory(normal_path)); base 72 content/browser/indexed_db/indexed_db_unittest.cc ASSERT_TRUE(base::CreateDirectory(session_only_path)); base 80 content/browser/indexed_db/indexed_db_unittest.cc EXPECT_TRUE(base::DirectoryExists(normal_path)); base 81 content/browser/indexed_db/indexed_db_unittest.cc EXPECT_FALSE(base::DirectoryExists(session_only_path)); base 85 content/browser/indexed_db/indexed_db_unittest.cc base::ScopedTempDir temp_dir; base 88 content/browser/indexed_db/indexed_db_unittest.cc base::FilePath normal_path; base 89 content/browser/indexed_db/indexed_db_unittest.cc base::FilePath session_only_path; base 105 content/browser/indexed_db/indexed_db_unittest.cc ASSERT_TRUE(base::CreateDirectory(normal_path)); base 106 content/browser/indexed_db/indexed_db_unittest.cc ASSERT_TRUE(base::CreateDirectory(session_only_path)); base 114 content/browser/indexed_db/indexed_db_unittest.cc EXPECT_TRUE(base::DirectoryExists(normal_path)); base 115 content/browser/indexed_db/indexed_db_unittest.cc EXPECT_TRUE(base::DirectoryExists(session_only_path)); base 127 content/browser/indexed_db/indexed_db_unittest.cc virtual void OnSuccess(const std::vector<base::string16>&) OVERRIDE {} base 147 content/browser/indexed_db/indexed_db_unittest.cc base::ScopedTempDir temp_dir; base 155 content/browser/indexed_db/indexed_db_unittest.cc base::FilePath test_path; base 182 content/browser/indexed_db/indexed_db_unittest.cc factory->Open(base::ASCIIToUTF16("opendb"), base 191 content/browser/indexed_db/indexed_db_unittest.cc factory->Open(base::ASCIIToUTF16("closeddb"), base 200 content/browser/indexed_db/indexed_db_unittest.cc base::Bind( base 211 content/browser/indexed_db/indexed_db_unittest.cc EXPECT_FALSE(base::DirectoryExists(test_path)); base 215 content/browser/indexed_db/indexed_db_unittest.cc base::ScopedTempDir temp_dir; base 222 content/browser/indexed_db/indexed_db_unittest.cc base::FilePath test_path = idb_context->GetFilePathForTesting( base 224 content/browser/indexed_db/indexed_db_unittest.cc ASSERT_TRUE(base::CreateDirectory(test_path)); base 232 content/browser/indexed_db/indexed_db_unittest.cc base::Bind( base 236 content/browser/indexed_db/indexed_db_unittest.cc EXPECT_TRUE(base::DirectoryExists(test_path)); base 242 content/browser/indexed_db/indexed_db_unittest.cc base::ScopedTempDir temp_dir; base 261 content/browser/indexed_db/indexed_db_unittest.cc base::ASCIIToUTF16("db"), connection, kTestOrigin, temp_dir.path()); base 16 content/browser/indexed_db/leveldb/leveldb_comparator.h virtual int Compare(const base::StringPiece& a, base 17 content/browser/indexed_db/leveldb/leveldb_comparator.h const base::StringPiece& b) const = 0; base 29 content/browser/indexed_db/leveldb/leveldb_database.cc using base::StringPiece; base 94 content/browser/indexed_db/leveldb/leveldb_database.cc const base::FilePath& path, base 111 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Status LevelDBDatabase::Destroy(const base::FilePath& file_name) { base 131 content/browser/indexed_db/leveldb/leveldb_database.cc const base::FilePath& file_name) { base 133 content/browser/indexed_db/leveldb/leveldb_database.cc base::FilePath lock_path = file_name.AppendASCII("LOCK"); base 143 content/browser/indexed_db/leveldb/leveldb_database.cc const base::FilePath& file_name) { base 147 content/browser/indexed_db/leveldb/leveldb_database.cc base::SysInfo::AmountOfFreeDiskSpace(file_name) / 1024; base 149 content/browser/indexed_db/leveldb/leveldb_database.cc base::Histogram::FactoryGet( base 154 content/browser/indexed_db/leveldb/leveldb_database.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(1 /*sample*/); base 162 content/browser/indexed_db/leveldb/leveldb_database.cc base::Histogram::FactoryGet(name, base 166 content/browser/indexed_db/leveldb/leveldb_database.cc base::HistogramBase::kUmaTargetedHistogramFlag) base 181 content/browser/indexed_db/leveldb/leveldb_database.cc base::LinearHistogram::FactoryGet( base 186 content/browser/indexed_db/leveldb/leveldb_database.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(method); base 194 content/browser/indexed_db/leveldb/leveldb_database.cc base::LinearHistogram::FactoryGet( base 197 content/browser/indexed_db/leveldb/leveldb_database.cc -base::File::FILE_ERROR_MAX, base 198 content/browser/indexed_db/leveldb/leveldb_database.cc -base::File::FILE_ERROR_MAX + 1, base 199 content/browser/indexed_db/leveldb/leveldb_database.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(-error); base 203 content/browser/indexed_db/leveldb/leveldb_database.cc base::LinearHistogram::FactoryGet( base 208 content/browser/indexed_db/leveldb/leveldb_database.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(error); base 220 content/browser/indexed_db/leveldb/leveldb_database.cc base::LinearHistogram::FactoryGet( base 225 content/browser/indexed_db/leveldb/leveldb_database.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(error); base 248 content/browser/indexed_db/leveldb/leveldb_database.cc base::Histogram::FactoryGet(histogram_name, base 252 content/browser/indexed_db/leveldb/leveldb_database.cc base::HistogramBase::kUmaTargetedHistogramFlag) base 260 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Status LevelDBDatabase::Open(const base::FilePath& file_name, base 302 content/browser/indexed_db/leveldb/leveldb_database.cc comparator_adapter.get(), in_memory_env.get(), base::FilePath(), &db); base 455 content/browser/indexed_db/leveldb/leveldb_database.cc void LevelDBDatabase::Compact(const base::StringPiece& start, base 456 content/browser/indexed_db/leveldb/leveldb_database.cc const base::StringPiece& stop) { base 69 content/browser/indexed_db/leveldb/leveldb_database.h static leveldb::Status Open(const base::FilePath& file_name, base 75 content/browser/indexed_db/leveldb/leveldb_database.h static leveldb::Status Destroy(const base::FilePath& file_name); base 77 content/browser/indexed_db/leveldb/leveldb_database.h const base::FilePath& file_name); base 80 content/browser/indexed_db/leveldb/leveldb_database.h leveldb::Status Put(const base::StringPiece& key, std::string* value); base 81 content/browser/indexed_db/leveldb/leveldb_database.h leveldb::Status Remove(const base::StringPiece& key); base 82 content/browser/indexed_db/leveldb/leveldb_database.h virtual leveldb::Status Get(const base::StringPiece& key, base 89 content/browser/indexed_db/leveldb/leveldb_database.h void Compact(const base::StringPiece& start, const base::StringPiece& stop); base 17 content/browser/indexed_db/leveldb/leveldb_iterator.h virtual void Seek(const base::StringPiece& target) = 0; base 20 content/browser/indexed_db/leveldb/leveldb_iterator.h virtual base::StringPiece Key() const = 0; base 21 content/browser/indexed_db/leveldb/leveldb_iterator.h virtual base::StringPiece Value() const = 0; base 12 content/browser/indexed_db/leveldb/leveldb_transaction.cc using base::StringPiece; base 24 content/browser/indexed_db/leveldb/leveldb_transaction.h : public base::RefCounted<LevelDBTransaction> { base 28 content/browser/indexed_db/leveldb/leveldb_transaction.h void Put(const base::StringPiece& key, std::string* value); base 29 content/browser/indexed_db/leveldb/leveldb_transaction.h void Remove(const base::StringPiece& key); base 30 content/browser/indexed_db/leveldb/leveldb_transaction.h leveldb::Status Get(const base::StringPiece& key, base 40 content/browser/indexed_db/leveldb/leveldb_transaction.h friend class base::RefCounted<LevelDBTransaction>; base 54 content/browser/indexed_db/leveldb/leveldb_transaction.h bool operator()(const base::StringPiece& a, base 55 content/browser/indexed_db/leveldb/leveldb_transaction.h const base::StringPiece& b) const { base 63 content/browser/indexed_db/leveldb/leveldb_transaction.h typedef std::map<base::StringPiece, Record*, Comparator> DataType; base 72 content/browser/indexed_db/leveldb/leveldb_transaction.h virtual void Seek(const base::StringPiece& slice) OVERRIDE; base 75 content/browser/indexed_db/leveldb/leveldb_transaction.h virtual base::StringPiece Key() const OVERRIDE; base 76 content/browser/indexed_db/leveldb/leveldb_transaction.h virtual base::StringPiece Value() const OVERRIDE; base 93 content/browser/indexed_db/leveldb/leveldb_transaction.h virtual void Seek(const base::StringPiece& target) OVERRIDE; base 96 content/browser/indexed_db/leveldb/leveldb_transaction.h virtual base::StringPiece Key() const OVERRIDE; base 97 content/browser/indexed_db/leveldb/leveldb_transaction.h virtual base::StringPiece Value() const OVERRIDE; base 123 content/browser/indexed_db/leveldb/leveldb_transaction.h void Set(const base::StringPiece& key, std::string* value, bool deleted); base 145 content/browser/indexed_db/leveldb/leveldb_transaction.h void Put(const base::StringPiece& key, const std::string* value); base 146 content/browser/indexed_db/leveldb/leveldb_transaction.h leveldb::Status Get(const base::StringPiece& key, base 149 content/browser/indexed_db/leveldb/leveldb_transaction.h void Remove(const base::StringPiece& key); base 28 content/browser/indexed_db/leveldb/leveldb_unittest.cc virtual int Compare(const base::StringPiece& a, base 29 content/browser/indexed_db/leveldb/leveldb_unittest.cc const base::StringPiece& b) const OVERRIDE { base 37 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::ScopedTempDir temp_directory; base 65 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::FilePath file_path = temp_directory.path().AppendASCII("CURRENT"); base 66 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_WRITE); base 86 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::ScopedTempDir temp_directory; base 150 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::ScopedTempDir temp_directory; base 197 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::ScopedTempDir temp_directory; base 242 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::ScopedTempDir temp_directory; base 246 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::FilePath file = temp_directory.path().AppendASCII("LOCK"); base 22 content/browser/indexed_db/leveldb/leveldb_write_batch.cc static leveldb::Slice MakeSlice(const base::StringPiece& s) { base 26 content/browser/indexed_db/leveldb/leveldb_write_batch.cc void LevelDBWriteBatch::Put(const base::StringPiece& key, base 27 content/browser/indexed_db/leveldb/leveldb_write_batch.cc const base::StringPiece& value) { base 31 content/browser/indexed_db/leveldb/leveldb_write_batch.cc void LevelDBWriteBatch::Remove(const base::StringPiece& key) { base 24 content/browser/indexed_db/leveldb/leveldb_write_batch.h void Put(const base::StringPiece& key, const base::StringPiece& value); base 25 content/browser/indexed_db/leveldb/leveldb_write_batch.h void Remove(const base::StringPiece& key); // Add remove operation to the base 189 content/browser/indexed_db/list_set_unittest.cc class RefCounted : public base::RefCounted<RefCounted<T> > { base 22 content/browser/indexed_db/mock_indexed_db_callbacks.cc void MockIndexedDBCallbacks::OnSuccess(const std::vector<base::string16>&) {} base 19 content/browser/indexed_db/mock_indexed_db_callbacks.h virtual void OnSuccess(const std::vector<base::string16>&) OVERRIDE; base 34 content/browser/loader/async_resource_handler.cc using base::TimeTicks; base 47 content/browser/loader/async_resource_handler.cc base::StringToInt(value, result); base 283 content/browser/loader/async_resource_handler.cc base::SharedMemoryHandle handle; base 341 content/browser/loader/async_resource_handler.cc base::strlcpy(url_buf, request()->url().spec().c_str(), arraysize(url_buf)); base 342 content/browser/loader/async_resource_handler.cc base::debug::Alias(url_buf); base 41 content/browser/loader/buffered_resource_handler.cc static base::HistogramBase* nosniff_usage(NULL); base 43 content/browser/loader/buffered_resource_handler.cc nosniff_usage = base::BooleanHistogram::FactoryGet( base 44 content/browser/loader/buffered_resource_handler.cc "nosniff.usage", base::HistogramBase::kUmaTargetedHistogramFlag); base 48 content/browser/loader/buffered_resource_handler.cc static base::HistogramBase* nosniff_otherwise(NULL); base 50 content/browser/loader/buffered_resource_handler.cc nosniff_otherwise = base::BooleanHistogram::FactoryGet( base 51 content/browser/loader/buffered_resource_handler.cc "nosniff.otherwise", base::HistogramBase::kUmaTargetedHistogramFlag); base 54 content/browser/loader/buffered_resource_handler.cc static base::HistogramBase* nosniff_empty_mime_type(NULL); base 56 content/browser/loader/buffered_resource_handler.cc nosniff_empty_mime_type = base::BooleanHistogram::FactoryGet( base 58 content/browser/loader/buffered_resource_handler.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 207 content/browser/loader/buffered_resource_handler.cc base::MessageLoop::current()->PostTask( base 209 content/browser/loader/buffered_resource_handler.cc base::Bind(&BufferedResourceHandler::CallReplayReadCompleted, base 335 content/browser/loader/buffered_resource_handler.cc base::Bind(&BufferedResourceHandler::OnPluginsLoaded, base 106 content/browser/loader/buffered_resource_handler.h base::WeakPtrFactory<BufferedResourceHandler> weak_ptr_factory_; base 318 content/browser/loader/cross_site_resource_handler.cc base::Bind( base 44 content/browser/loader/detachable_resource_handler.cc base::TimeDelta cancel_delay, base 125 content/browser/loader/detachable_resource_handler.cc detached_timer_.reset(new base::OneShotTimer<DetachableResourceHandler>()); base 40 content/browser/loader/detachable_resource_handler.h base::TimeDelta cancel_delay, base 47 content/browser/loader/detachable_resource_handler.h void set_cancel_delay(base::TimeDelta cancel_delay) { base 90 content/browser/loader/detachable_resource_handler.h scoped_ptr<base::OneShotTimer<DetachableResourceHandler> > detached_timer_; base 91 content/browser/loader/detachable_resource_handler.h base::TimeDelta cancel_delay_; base 98 content/browser/loader/detachable_resource_handler.h base::ElapsedTimer time_since_start_; base 26 content/browser/loader/power_save_block_resource_throttle.cc base::TimeDelta::FromSeconds(kPowerSaveBlockDelaySeconds), base 32 content/browser/loader/power_save_block_resource_throttle.h base::OneShotTimer<PowerSaveBlockResourceThrottle> timer_; base 72 content/browser/loader/redirect_to_file_resource_handler.cc const base::FilePath& path() const { return deletable_file_->path(); } base 79 content/browser/loader/redirect_to_file_resource_handler.cc base::Bind(&Writer::DidWriteToFile, base::Unretained(this))); base 108 content/browser/loader/redirect_to_file_resource_handler.cc int result = file_stream_->Close(base::Bind(&Writer::DidClose, base 109 content/browser/loader/redirect_to_file_resource_handler.cc base::Unretained(this))); base 182 content/browser/loader/redirect_to_file_resource_handler.cc base::Bind(&RedirectToFileResourceHandler::DidCreateTemporaryFile, base 186 content/browser/loader/redirect_to_file_resource_handler.cc base::Bind(&RedirectToFileResourceHandler::DidCreateTemporaryFile, base 253 content/browser/loader/redirect_to_file_resource_handler.cc base::File::Error error_code, base 257 content/browser/loader/redirect_to_file_resource_handler.cc if (error_code != base::File::FILE_OK) { base 43 content/browser/loader/redirect_to_file_resource_handler.h typedef base::Callback<void(const CreateTemporaryFileStreamCallback&)> base 80 content/browser/loader/redirect_to_file_resource_handler.h base::File::Error error_code, base 124 content/browser/loader/redirect_to_file_resource_handler.h base::WeakPtrFactory<RedirectToFileResourceHandler> weak_factory_; base 65 content/browser/loader/resource_buffer.cc base::ProcessHandle process_handle, base 66 content/browser/loader/resource_buffer.cc base::SharedMemoryHandle* shared_memory_handle, base 59 content/browser/loader/resource_buffer.h : public base::RefCountedThreadSafe<ResourceBuffer> { base 78 content/browser/loader/resource_buffer.h bool ShareToProcess(base::ProcessHandle process_handle, base 79 content/browser/loader/resource_buffer.h base::SharedMemoryHandle* shared_memory_handle, base 103 content/browser/loader/resource_buffer.h friend class base::RefCountedThreadSafe<ResourceBuffer>; base 106 content/browser/loader/resource_buffer.h base::SharedMemory shared_mem_; base 28 content/browser/loader/resource_dispatcher_host_browsertest.cc using base::ASCIIToUTF16; base 39 content/browser/loader/resource_dispatcher_host_browsertest.cc base::FilePath path = GetTestFilePath("", ""); base 42 content/browser/loader/resource_dispatcher_host_browsertest.cc base::Bind(&URLRequestMockHTTPJob::AddUrlHandler, path)); base 45 content/browser/loader/resource_dispatcher_host_browsertest.cc base::Bind(&URLRequestFailedJob::AddUrlHandler)); base 57 content/browser/loader/resource_dispatcher_host_browsertest.cc base::FilePath().AppendASCII(file)); base 62 content/browser/loader/resource_dispatcher_host_browsertest.cc base::string16 expected_title16(ASCIIToUTF16(expected_title)); base 68 content/browser/loader/resource_dispatcher_host_browsertest.cc bool GetPopupTitle(const GURL& url, base::string16* title) { base 99 content/browser/loader/resource_dispatcher_host_browsertest.cc base::string16 title; base 111 content/browser/loader/resource_dispatcher_host_browsertest.cc base::string16 title; base 287 content/browser/loader/resource_dispatcher_host_browsertest.cc base::Bind(&NoContentResponseHandler, kNoContentPath)); base 370 content/browser/loader/resource_dispatcher_host_browsertest.cc base::string16 expected_title16(ASCIIToUTF16("Title Of Awesomeness")); base 458 content/browser/loader/resource_dispatcher_host_browsertest.cc base::Bind(&HandleRedirectRequest, "/redirect?")); base 460 content/browser/loader/resource_dispatcher_host_browsertest.cc std::string set_cookie_url(base::StringPrintf( base 100 content/browser/loader/resource_dispatcher_host_impl.cc using base::Time; base 101 content/browser/loader/resource_dispatcher_host_impl.cc using base::TimeDelta; base 102 content/browser/loader/resource_dispatcher_host_impl.cc using base::TimeTicks; base 166 content/browser/loader/resource_dispatcher_host_impl.cc request_complete_data.completion_time = base::TimeTicks(); base 246 content/browser/loader/resource_dispatcher_host_impl.cc const base::FilePath& path) { base 269 content/browser/loader/resource_dispatcher_host_impl.cc base::Bind( base 325 content/browser/loader/resource_dispatcher_host_impl.cc max_num_in_flight_requests_(base::SharedMemory::GetHandleLimit()), base 346 content/browser/loader/resource_dispatcher_host_impl.cc base::Bind(&ResourceDispatcherHostImpl::OnInit, base 347 content/browser/loader/resource_dispatcher_host_impl.cc base::Unretained(this))); base 350 content/browser/loader/resource_dispatcher_host_impl.cc new base::RepeatingTimer<ResourceDispatcherHostImpl>()); base 492 content/browser/loader/resource_dispatcher_host_impl.cc base::strlcpy(url_buf, url.spec().c_str(), arraysize(url_buf)); base 493 content/browser/loader/resource_dispatcher_host_impl.cc base::debug::Alias(url_buf); base 576 content/browser/loader/resource_dispatcher_host_impl.cc base::Bind(&ResourceDispatcherHostImpl::OnShutdown, base 577 content/browser/loader/resource_dispatcher_host_impl.cc base::Unretained(this))); base 689 content/browser/loader/resource_dispatcher_host_impl.cc last_user_gesture_time_ = base::TimeTicks(); base 717 content/browser/loader/resource_dispatcher_host_impl.cc base::Bind( base 719 content/browser/loader/resource_dispatcher_host_impl.cc render_process_id, render_frame_host, base::Passed(&detail))); base 757 content/browser/loader/resource_dispatcher_host_impl.cc base::Bind( base 759 content/browser/loader/resource_dispatcher_host_impl.cc render_process_id, render_frame_host, base::Passed(&detail))); base 988 content/browser/loader/resource_dispatcher_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RDH")); base 996 content/browser/loader/resource_dispatcher_host_impl.cc base::strlcpy(url_buf, request_data.url.spec().c_str(), arraysize(url_buf)); base 997 content/browser/loader/resource_dispatcher_host_impl.cc base::debug::Alias(url_buf); base 1015 content/browser/loader/resource_dispatcher_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RDH")); base 1174 content/browser/loader/resource_dispatcher_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RDH")); base 1194 content/browser/loader/resource_dispatcher_host_impl.cc base::TimeDelta::FromMilliseconds(kDefaultDetachableCancelDelayMs), base 1250 content/browser/loader/resource_dispatcher_host_impl.cc int child_id, int request_id, const base::FilePath& file_path) { base 1268 content/browser/loader/resource_dispatcher_host_impl.cc base::Bind(&RemoveDownloadFileFromChildSecurityPolicy, base 1343 content/browser/loader/resource_dispatcher_host_impl.cc base::WeakPtr<ResourceMessageFilter>(), // filter base 1372 content/browser/loader/resource_dispatcher_host_impl.cc base::strlcpy(url_buf, url.spec().c_str(), arraysize(url_buf)); base 1373 content/browser/loader/resource_dispatcher_host_impl.cc base::debug::Alias(url_buf); base 1866 content/browser/loader/resource_dispatcher_host_impl.cc base::Bind(&LoadInfoUpdateCallback, info_map)); base 189 content/browser/loader/resource_dispatcher_host_impl.h const base::FilePath& file_path); base 434 content/browser/loader/resource_dispatcher_host_impl.h scoped_ptr<base::RepeatingTimer<ResourceDispatcherHostImpl> > base 489 content/browser/loader/resource_dispatcher_host_impl.h base::TimeTicks last_user_gesture_time_; base 130 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 187 content/browser/loader/resource_dispatcher_host_unittest.cc base::Bind(&ForwardingFilter::GetContexts, base 188 content/browser/loader/resource_dispatcher_host_unittest.cc base::Unretained(this))), base 192 content/browser/loader/resource_dispatcher_host_unittest.cc set_peer_pid_for_testing(base::GetCurrentProcId()); base 393 content/browser/loader/resource_dispatcher_host_unittest.cc base::SplitString(url.path(), ',', &parts); base 399 content/browser/loader/resource_dispatcher_host_unittest.cc return base::StringToInt(parts[1], count); base 404 content/browser/loader/resource_dispatcher_host_unittest.cc class TestUserData : public base::SupportsUserData::Data { base 523 content/browser/loader/resource_dispatcher_host_unittest.cc void set_url_request_user_data(base::SupportsUserData::Data* user_data) { base 567 content/browser/loader/resource_dispatcher_host_unittest.cc scoped_ptr<base::SupportsUserData::Data> user_data_; base 573 content/browser/loader/resource_dispatcher_host_unittest.cc ShareableFileReleaseWaiter(const base::FilePath& path) { base 577 content/browser/loader/resource_dispatcher_host_unittest.cc base::Bind(&ShareableFileReleaseWaiter::Released, base 578 content/browser/loader/resource_dispatcher_host_unittest.cc base::Unretained(this))); base 586 content/browser/loader/resource_dispatcher_host_unittest.cc void Released(const base::FilePath& path) { base 590 content/browser/loader/resource_dispatcher_host_unittest.cc base::RunLoop loop_; base 604 content/browser/loader/resource_dispatcher_host_unittest.cc base::RunLoop().RunUntilIdle(); base 674 content/browser/loader/resource_dispatcher_host_unittest.cc base::RunLoop().RunUntilIdle(); base 806 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->PostTask( base 808 content/browser/loader/resource_dispatcher_host_unittest.cc base::Bind(&GenerateIPCMessage, filter_, base::Passed(&ack))); base 821 content/browser/loader/resource_dispatcher_host_unittest.cc wait_for_request_complete_loop_.reset(new base::RunLoop); base 838 content/browser/loader/resource_dispatcher_host_unittest.cc scoped_ptr<base::RunLoop> wait_for_request_complete_loop_; base 942 content/browser/loader/resource_dispatcher_host_unittest.cc base::SharedMemoryHandle shm_handle; base 959 content/browser/loader/resource_dispatcher_host_unittest.cc base::SharedMemory shared_mem(shm_handle, true); // read only base 1011 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1055 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1096 content/browser/loader/resource_dispatcher_host_unittest.cc base::TimeDelta::FromMilliseconds(200)); base 1097 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1115 content/browser/loader/resource_dispatcher_host_unittest.cc base::OneShotTimer<base::MessageLoop> timer; base 1116 content/browser/loader/resource_dispatcher_host_unittest.cc timer.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(210), base 1117 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current(), &base::MessageLoop::QuitWhenIdle); base 1118 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->Run(); base 1172 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1222 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1249 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1276 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1287 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1305 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1330 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1356 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1384 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1411 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1479 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1537 content/browser/loader/resource_dispatcher_host_unittest.cc base::TimeDelta::FromMilliseconds(200)); base 1538 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1546 content/browser/loader/resource_dispatcher_host_unittest.cc base::OneShotTimer<base::MessageLoop> timer; base 1547 content/browser/loader/resource_dispatcher_host_unittest.cc timer.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(210), base 1548 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current(), &base::MessageLoop::QuitWhenIdle); base 1549 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->Run(); base 1556 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1828 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1897 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2246 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2271 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2321 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2346 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2394 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2403 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2436 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2478 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2490 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2528 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2682 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2736 content/browser/loader/resource_dispatcher_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2748 content/browser/loader/resource_dispatcher_host_unittest.cc base::FilePath file_path; base 2749 content/browser/loader/resource_dispatcher_host_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&file_path)); base 2783 content/browser/loader/resource_dispatcher_host_unittest.cc base::RunLoop().RunUntilIdle(); base 2788 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_FALSE(base::PathExists(file_path)); base 2797 content/browser/loader/resource_dispatcher_host_unittest.cc base::FilePath file_path; base 2798 content/browser/loader/resource_dispatcher_host_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&file_path)); base 2816 content/browser/loader/resource_dispatcher_host_unittest.cc base::RunLoop().RunUntilIdle(); base 2821 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_FALSE(base::PathExists(file_path)); base 2839 content/browser/loader/resource_dispatcher_host_unittest.cc base::RunLoop().RunUntilIdle(); base 2875 content/browser/loader/resource_dispatcher_host_unittest.cc ASSERT_TRUE(base::ReadFileToString(response_head.download_file_path, base 2893 content/browser/loader/resource_dispatcher_host_unittest.cc base::RunLoop().RunUntilIdle(); base 2895 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_FALSE(base::PathExists(response_head.download_file_path)); base 40 content/browser/loader/resource_handler.h : public NON_EXPORTED_BASE(base::NonThreadSafe) { base 34 content/browser/loader/resource_loader.cc using base::TimeDelta; base 35 content/browser/loader/resource_loader.cc using base::TimeTicks; base 415 content/browser/loader/resource_loader.cc base::MessageLoop::current()->PostTask( base 417 content/browser/loader/resource_loader.cc base::Bind(&ResourceLoader::ResumeReading, base 422 content/browser/loader/resource_loader.cc base::MessageLoop::current()->PostTask( base 424 content/browser/loader/resource_loader.cc base::Bind(&ResourceLoader::CallDidFinishLoading, base 483 content/browser/loader/resource_loader.cc base::MessageLoop::current()->PostTask( base 485 content/browser/loader/resource_loader.cc base::Bind(&ResourceLoader::ResponseCompleted, base 541 content/browser/loader/resource_loader.cc read_deferral_start_time_ = base::TimeTicks::Now(); base 559 content/browser/loader/resource_loader.cc base::MessageLoop::current()->PostTask( base 561 content/browser/loader/resource_loader.cc base::Bind(&ResourceLoader::OnReadCompleted, base 573 content/browser/loader/resource_loader.cc base::TimeTicks::Now() - read_deferral_start_time_); base 574 content/browser/loader/resource_loader.cc read_deferral_start_time_ = base::TimeTicks(); base 662 content/browser/loader/resource_loader.cc TimeDelta total_time = base::TimeTicks::Now() - request_->creation_time(); base 138 content/browser/loader/resource_loader.h base::TimeTicks last_upload_ticks_; base 139 content/browser/loader/resource_loader.h base::TimeTicks read_deferral_start_time_; base 146 content/browser/loader/resource_loader.h base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; base 67 content/browser/loader/resource_loader_unittest.cc const base::Closure& callback) OVERRIDE { base 197 content/browser/loader/resource_loader_unittest.cc const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE { base 234 content/browser/loader/resource_loader_unittest.cc base::File::Error error, base 236 content/browser/loader/resource_loader_unittest.cc base::MessageLoop::current()->PostTask( base 238 content/browser/loader/resource_loader_unittest.cc base::Bind(callback, error, base::Passed(scoped_ptr<net::FileStream>()), base 332 content/browser/loader/resource_loader_unittest.cc new net::X509Certificate("test", "test", base::Time(), base::Time()))); base 356 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 388 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 414 content/browser/loader/resource_loader_unittest.cc base::FilePath temp_path() const { return temp_path_; } base 433 content/browser/loader/resource_loader_unittest.cc CHECK(base::CreateTemporaryFile(&temp_path_)); base 434 content/browser/loader/resource_loader_unittest.cc int flags = base::File::FLAG_WRITE | base::File::FLAG_TEMPORARY | base 435 content/browser/loader/resource_loader_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_ASYNC; base 436 content/browser/loader/resource_loader_unittest.cc base::File file(temp_path_, flags); base 442 content/browser/loader/resource_loader_unittest.cc base::MessageLoopProxy::current())); base 456 content/browser/loader/resource_loader_unittest.cc base::Bind(&ResourceLoaderRedirectToFileTest::PostCallback, base 457 content/browser/loader/resource_loader_unittest.cc base::Unretained(this), base 458 content/browser/loader/resource_loader_unittest.cc base::Passed(file_stream.PassAs<net::FileStream>()))); base 466 content/browser/loader/resource_loader_unittest.cc base::MessageLoop::current()->PostTask( base 468 content/browser/loader/resource_loader_unittest.cc base::Bind(callback, base::File::FILE_OK, base 469 content/browser/loader/resource_loader_unittest.cc base::Passed(&file_stream), deletable_file_)); base 472 content/browser/loader/resource_loader_unittest.cc base::FilePath temp_path_; base 484 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 498 content/browser/loader/resource_loader_unittest.cc ASSERT_TRUE(base::ReadFileToString(temp_path(), &contents)); base 504 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 505 content/browser/loader/resource_loader_unittest.cc EXPECT_FALSE(base::PathExists(temp_path())); base 514 content/browser/loader/resource_loader_unittest.cc base::Bind(&CreateTemporaryError, base::File::FILE_ERROR_FAILED)); base 518 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 533 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 547 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 548 content/browser/loader/resource_loader_unittest.cc EXPECT_FALSE(base::PathExists(temp_path())); base 557 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 571 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 572 content/browser/loader/resource_loader_unittest.cc EXPECT_FALSE(base::PathExists(temp_path())); base 585 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 601 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 611 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 612 content/browser/loader/resource_loader_unittest.cc EXPECT_FALSE(base::PathExists(temp_path())); base 623 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 633 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 647 content/browser/loader/resource_loader_unittest.cc ASSERT_TRUE(base::ReadFileToString(temp_path(), &contents)); base 652 content/browser/loader/resource_loader_unittest.cc base::RunLoop().RunUntilIdle(); base 653 content/browser/loader/resource_loader_unittest.cc EXPECT_FALSE(base::PathExists(temp_path())); base 58 content/browser/loader/resource_message_filter.cc base::WeakPtr<ResourceMessageFilter> ResourceMessageFilter::GetWeakPtr() { base 39 content/browser/loader/resource_message_filter.h typedef base::Callback<void(const ResourceHostMsg_Request&, base 86 content/browser/loader/resource_message_filter.h base::WeakPtr<ResourceMessageFilter> GetWeakPtr(); base 106 content/browser/loader/resource_message_filter.h base::WeakPtrFactory<ResourceMessageFilter> weak_ptr_factory_; base 55 content/browser/loader/resource_request_info_impl.cc base::WeakPtr<ResourceMessageFilter>(), // filter base 109 content/browser/loader/resource_request_info_impl.cc base::WeakPtr<ResourceMessageFilter> filter, base 263 content/browser/loader/resource_request_info_impl.cc base::WeakPtr<ResourceMessageFilter> filter) { base 32 content/browser/loader/resource_request_info_impl.h public base::SupportsUserData::Data { base 62 content/browser/loader/resource_request_info_impl.h base::WeakPtr<ResourceMessageFilter> filter, base 108 content/browser/loader/resource_request_info_impl.h base::WeakPtr<ResourceMessageFilter> filter); base 187 content/browser/loader/resource_request_info_impl.h base::WeakPtr<ResourceMessageFilter> filter_; base 53 content/browser/loader/resource_scheduler.h class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe { base 107 content/browser/loader/resource_scheduler_unittest.cc base::Bind(&FakeResourceMessageFilter::GetContexts, base 108 content/browser/loader/resource_scheduler_unittest.cc base::Unretained(this))) { base 164 content/browser/loader/resource_scheduler_unittest.cc base::WeakPtr<ResourceMessageFilter>(), // filter base 205 content/browser/loader/resource_scheduler_unittest.cc base::MessageLoopForIO message_loop_; base 327 content/browser/loader/resource_scheduler_unittest.cc string url = "http://host/low" + base::IntToString(i); base 350 content/browser/loader/resource_scheduler_unittest.cc string url = "http://host" + base::IntToString(i) + "/low"; base 389 content/browser/loader/resource_scheduler_unittest.cc string url = "http://host/low" + base::IntToString(i); base 418 content/browser/loader/resource_scheduler_unittest.cc string url = "http://host" + base::IntToString(i) + "/low"; base 440 content/browser/loader/resource_scheduler_unittest.cc string url = "http://host/low" + base::IntToString(i); base 26 content/browser/loader/stream_resource_handler.cc base::GenerateGUID()); base 23 content/browser/loader/temporary_file_stream.cc base::File::Error error_code, base 24 content/browser/loader/temporary_file_stream.cc base::PassPlatformFile file_handle, base 25 content/browser/loader/temporary_file_stream.cc const base::FilePath& file_path) { base 28 content/browser/loader/temporary_file_stream.cc if (error_code != base::File::FILE_OK) { base 43 content/browser/loader/temporary_file_stream.cc base::PLATFORM_FILE_WRITE | base::PLATFORM_FILE_ASYNC, base 55 content/browser/loader/temporary_file_stream.cc base::FileUtilProxy::CreateTemporary( base 57 content/browser/loader/temporary_file_stream.cc base::PLATFORM_FILE_ASYNC, base 58 content/browser/loader/temporary_file_stream.cc base::Bind(&DidCreateTemporaryFile, callback)); base 24 content/browser/loader/temporary_file_stream.h typedef base::Callback<void(base::File::Error, base 35 content/browser/loader/temporary_file_stream_unittest.cc base::File::Error error() const { return error_; } base 41 content/browser/loader/temporary_file_stream_unittest.cc void OnFileStreamCreated(base::File::Error error, base 59 content/browser/loader/temporary_file_stream_unittest.cc base::RunLoop loop_; base 60 content/browser/loader/temporary_file_stream_unittest.cc base::File::Error error_; base 72 content/browser/loader/temporary_file_stream_unittest.cc CreateTemporaryFileStream(base::Bind(&WaitForFileStream::OnFileStreamCreated, base 73 content/browser/loader/temporary_file_stream_unittest.cc base::Unretained(&file_stream_waiter))); base 77 content/browser/loader/temporary_file_stream_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_stream_waiter.error()); base 78 content/browser/loader/temporary_file_stream_unittest.cc base::FilePath file_path = file_stream_waiter.deletable_file()->path(); base 79 content/browser/loader/temporary_file_stream_unittest.cc EXPECT_TRUE(base::PathExists(file_path)); base 102 content/browser/loader/temporary_file_stream_unittest.cc ASSERT_TRUE(base::ReadFileToString(file_path, &contents)); base 114 content/browser/loader/temporary_file_stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 117 content/browser/loader/temporary_file_stream_unittest.cc EXPECT_FALSE(base::PathExists(file_path)); base 47 content/browser/loader/upload_data_stream_builder.cc base::TaskRunner* task_runner, base 101 content/browser/loader/upload_data_stream_builder.cc base::TaskRunner* file_task_runner) { base 11 content/browser/loader/upload_data_stream_builder.h namespace base { base 47 content/browser/loader/upload_data_stream_builder.h base::TaskRunner* file_task_runner); base 59 content/browser/loader/upload_data_stream_builder_unittest.cc base::MessageLoop message_loop; base 63 content/browser/loader/upload_data_stream_builder_unittest.cc const base::FilePath::StringType kFilePath = FILE_PATH_LITERAL("abc"); base 66 content/browser/loader/upload_data_stream_builder_unittest.cc const base::Time kFileTime = base::Time::FromDoubleT(999); base 70 content/browser/loader/upload_data_stream_builder_unittest.cc request_body->AppendFileRange(base::FilePath(kFilePath), base 75 content/browser/loader/upload_data_stream_builder_unittest.cc request_body.get(), NULL, NULL, base::MessageLoopProxy::current().get())); base 95 content/browser/loader/upload_data_stream_builder_unittest.cc base::MessageLoop message_loop; base 97 content/browser/loader/upload_data_stream_builder_unittest.cc base::Time time1, time2; base 98 content/browser/loader/upload_data_stream_builder_unittest.cc base::Time::FromString("Tue, 15 Nov 1994, 12:45:26 GMT", &time1); base 99 content/browser/loader/upload_data_stream_builder_unittest.cc base::Time::FromString("Mon, 14 Nov 1994, 11:30:49 GMT", &time2); base 112 content/browser/loader/upload_data_stream_builder_unittest.cc base::FilePath(FILE_PATH_LITERAL("BlobFile.txt")), 0, 20, time1); base 131 content/browser/loader/upload_data_stream_builder_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo1.txt")), 0, 20, time2); base 145 content/browser/loader/upload_data_stream_builder_unittest.cc base::MessageLoopProxy::current().get())); base 159 content/browser/loader/upload_data_stream_builder_unittest.cc base::MessageLoopProxy::current().get()); base 170 content/browser/loader/upload_data_stream_builder_unittest.cc base::MessageLoopProxy::current().get()); base 188 content/browser/loader/upload_data_stream_builder_unittest.cc base::MessageLoopProxy::current().get()); base 208 content/browser/loader/upload_data_stream_builder_unittest.cc base::MessageLoopProxy::current().get()); base 228 content/browser/loader/upload_data_stream_builder_unittest.cc base::MessageLoopProxy::current().get()); base 250 content/browser/loader/upload_data_stream_builder_unittest.cc base::MessageLoopProxy::current().get()); base 37 content/browser/mach_broker_mac.h class CONTENT_EXPORT MachBroker : public base::ProcessMetrics::PortProvider, base 53 content/browser/mach_broker_mac.h base::Lock& GetLock(); base 64 content/browser/mach_broker_mac.h void AddPlaceholderForPid(base::ProcessHandle pid); base 67 content/browser/mach_broker_mac.h virtual mach_port_t TaskForPid(base::ProcessHandle process) const OVERRIDE; base 91 content/browser/mach_broker_mac.h void FinalizePid(base::ProcessHandle pid, mach_port_t task_port); base 94 content/browser/mach_broker_mac.h void InvalidatePid(base::ProcessHandle pid); base 110 content/browser/mach_broker_mac.h typedef std::map<base::ProcessHandle, mach_port_t> MachMap; base 114 content/browser/mach_broker_mac.h mutable base::Lock lock_; base 15 content/browser/mach_broker_mac_unittest.cc void AddPlaceholderForPid(base::ProcessHandle pid) { base 16 content/browser/mach_broker_mac_unittest.cc base::AutoLock lock(broker_.GetLock()); base 20 content/browser/mach_broker_mac_unittest.cc void InvalidatePid(base::ProcessHandle pid) { base 25 content/browser/mach_broker_mac_unittest.cc void FinalizePid(base::ProcessHandle pid, base 27 content/browser/mach_broker_mac_unittest.cc base::AutoLock lock(broker_.GetLock()); base 37 content/browser/mach_broker_mac_unittest.cc base::AutoLock lock(broker_.GetLock()); base 41 content/browser/media/android/browser_demuxer_android.cc const base::TimeDelta& time_to_seek, base 134 content/browser/media/android/browser_demuxer_android.cc const base::TimeDelta& actual_browser_seek_time) { base 142 content/browser/media/android/browser_demuxer_android.cc const base::TimeDelta& duration) { base 35 content/browser/media/android/browser_demuxer_android.h friend class base::RefCountedThreadSafe<BrowserDemuxerAndroid>; base 53 content/browser/media/android/browser_demuxer_android.h const base::TimeDelta& actual_browser_seek_time); base 55 content/browser/media/android/browser_demuxer_android.h const base::TimeDelta& duration); base 87 content/browser/media/android/browser_media_player_manager.cc base::Bind(&BrowserMediaPlayerManager::OnMediaResourcesRequested, base 89 content/browser/media/android/browser_media_player_manager.cc base::Bind(&BrowserMediaPlayerManager::OnMediaResourcesReleased, base 102 content/browser/media/android/browser_media_player_manager.cc player_id, base::TimeDelta(), 0, 0, false); base 113 content/browser/media/android/browser_media_player_manager.cc base::Bind(&BrowserMediaPlayerManager::OnMediaResourcesRequested, base 115 content/browser/media/android/browser_media_player_manager.cc base::Bind(&BrowserMediaPlayerManager::OnMediaResourcesReleased, base 196 content/browser/media/android/browser_media_player_manager.cc base::TimeDelta::FromMilliseconds(msec)); base 226 content/browser/media/android/browser_media_player_manager.cc base::TimeDelta current_time) { base 258 content/browser/media/android/browser_media_player_manager.cc int player_id, base::TimeDelta duration, int width, int height, base 288 content/browser/media/android/browser_media_player_manager.cc const base::TimeDelta& time_to_seek) { base 294 content/browser/media/android/browser_media_player_manager.cc const base::TimeDelta& current_time) { base 456 content/browser/media/android/browser_media_player_manager.cc base::Bind(&BrowserMediaPlayerManager::AttachExternalVideoSurface, base 457 content/browser/media/android/browser_media_player_manager.cc base::Unretained(this)), base 458 content/browser/media/android/browser_media_player_manager.cc base::Bind(&BrowserMediaPlayerManager::DetachExternalVideoSurface, base 459 content/browser/media/android/browser_media_player_manager.cc base::Unretained(this))); base 544 content/browser/media/android/browser_media_player_manager.cc const base::TimeDelta& time) { base 655 content/browser/media/android/browser_media_player_manager.cc base::Bind(&BrowserMediaPlayerManager::CreateSessionIfPermitted, base 68 content/browser/media/android/browser_media_player_manager.h void OnSeekRequest(int player_id, const base::TimeDelta& time_to_seek); base 72 content/browser/media/android/browser_media_player_manager.h int player_id, base::TimeDelta current_time) OVERRIDE; base 75 content/browser/media/android/browser_media_player_manager.h base::TimeDelta duration, base 84 content/browser/media/android/browser_media_player_manager.h const base::TimeDelta& current_time) OVERRIDE; base 131 content/browser/media/android/browser_media_player_manager.h virtual void OnSeek(int player_id, const base::TimeDelta& time); base 248 content/browser/media/android/browser_media_player_manager.h base::WeakPtrFactory<BrowserMediaPlayerManager> weak_ptr_factory_; base 19 content/browser/media/android/media_drm_credential_manager.cc using base::android::ScopedJavaGlobalRef; base 26 content/browser/media/android/media_drm_credential_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 55 content/browser/media/android/media_drm_credential_manager.cc base::ResetAndReturn(&reset_credentials_cb_).Run(false); base 72 content/browser/media/android/media_drm_credential_manager.cc base::Bind(&MediaDrmCredentialManagerCallback, base 86 content/browser/media/android/media_drm_credential_manager.cc base::ResetAndReturn(&reset_credentials_cb_).Run(success); base 98 content/browser/media/android/media_drm_credential_manager.cc base::Bind(&MediaDrmCredentialManager::OnResetCredentialsCompleted, base 99 content/browser/media/android/media_drm_credential_manager.cc base::Unretained(this), security_level); base 103 content/browser/media/android/media_drm_credential_manager.cc base::MessageLoopProxy::current()->PostTask( base 104 content/browser/media/android/media_drm_credential_manager.cc FROM_HERE, base::Bind(reset_credentials_cb, true)); base 22 content/browser/media/android/media_drm_credential_manager.h typedef base::Callback<void(bool)> ResetCredentialsCB; base 29 content/browser/media/android/media_resource_getter_impl.cc using base::android::ConvertUTF8ToJavaString; base 30 content/browser/media/android/media_resource_getter_impl.cc using base::android::ScopedJavaLocalRef; base 35 content/browser/media/android/media_resource_getter_impl.cc const base::Callback<void(const std::string&)>& callback, base 38 content/browser/media/android/media_resource_getter_impl.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, result)); base 44 content/browser/media/android/media_resource_getter_impl.cc const base::Callback<void(const std::string&)>& callback) { base 63 content/browser/media/android/media_resource_getter_impl.cc const base::Callback<void(const std::string&)>& callback) { base 65 content/browser/media/android/media_resource_getter_impl.cc base::FilePath platform_path; base 70 content/browser/media/android/media_resource_getter_impl.cc base::FilePath data_storage_path; base 71 content/browser/media/android/media_resource_getter_impl.cc PathService::Get(base::DIR_ANDROID_APP_DATA, &data_storage_path); base 84 content/browser/media/android/media_resource_getter_impl.cc JNIEnv* env = base::android::AttachCurrentThread(); base 88 content/browser/media/android/media_resource_getter_impl.cc jobject j_context = base::android::GetApplicationContext(); base 99 content/browser/media/android/media_resource_getter_impl.cc base::Bind(callback, base::TimeDelta::FromMilliseconds( base 111 content/browser/media/android/media_resource_getter_impl.cc : public base::RefCountedThreadSafe<CookieGetterTask> { base 175 content/browser/media/android/media_resource_getter_impl.cc cookie_monster->GetAllCookiesForURLAsync(url, base::Bind( base 220 content/browser/media/android/media_resource_getter_impl.cc GetCookieCB cb = base::Bind(&MediaResourceGetterImpl::GetCookiesCallback, base 226 content/browser/media/android/media_resource_getter_impl.cc base::Bind(&CookieGetterTask::RequestCookies, base 228 content/browser/media/android/media_resource_getter_impl.cc base::Bind(&ReturnResultOnUIThread, cb))); base 243 content/browser/media/android/media_resource_getter_impl.cc base::Bind(&MediaResourceGetterImpl::GetPlatformPathCallback, base 251 content/browser/media/android/media_resource_getter_impl.cc base::Bind(&RequestPlatformPathFromBlobURL, url, browser_context_, cb)); base 259 content/browser/media/android/media_resource_getter_impl.cc base::Bind(&RequestPlaformPathFromFileSystemURL, url, renderer_id_, base 273 content/browser/media/android/media_resource_getter_impl.cc base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); base 276 content/browser/media/android/media_resource_getter_impl.cc base::Bind(&GetMediaMetadata, url, cookies, user_agent, callback)); base 79 content/browser/media/android/media_resource_getter_impl.h base::WeakPtrFactory<MediaResourceGetterImpl> weak_factory_; base 104 content/browser/media/capture/audio_mirroring_manager_unittest.cc base::MessageLoopForIO message_loop_; base 63 content/browser/media/capture/content_video_capture_device_core.cc base::TimeTicks event_time, base 66 content/browser/media/capture/content_video_capture_device_core.cc base::AutoLock guard(lock_); base 120 content/browser/media/capture/content_video_capture_device_core.cc base::SharedMemory::NULLHandle(), base 121 content/browser/media/capture/content_video_capture_device_core.cc base::TimeDelta(), base 122 content/browser/media/capture/content_video_capture_device_core.cc base::Closure()); base 123 content/browser/media/capture/content_video_capture_device_core.cc *callback = base::Bind(&ThreadSafeCaptureOracle::DidCaptureFrame, base 132 content/browser/media/capture/content_video_capture_device_core.cc base::AutoLock guard(lock_); base 137 content/browser/media/capture/content_video_capture_device_core.cc base::AutoLock guard(lock_); base 160 content/browser/media/capture/content_video_capture_device_core.cc base::AutoLock guard(lock_); base 165 content/browser/media/capture/content_video_capture_device_core.cc base::AutoLock guard(lock_); base 174 content/browser/media/capture/content_video_capture_device_core.cc base::TimeTicks timestamp, base 176 content/browser/media/capture/content_video_capture_device_core.cc base::AutoLock guard(lock_); base 207 content/browser/media/capture/content_video_capture_device_core.cc std::string error_msg = base::StringPrintf( base 223 content/browser/media/capture/content_video_capture_device_core.cc base::TimeDelta capture_period = base::TimeDelta::FromMicroseconds( base 235 content/browser/media/capture/content_video_capture_device_core.cc base::Bind(&VideoCaptureMachine::Start, base 236 content/browser/media/capture/content_video_capture_device_core.cc base::Unretained(capture_machine_.get()), base 238 content/browser/media/capture/content_video_capture_device_core.cc base::Bind(&ContentVideoCaptureDeviceCore::CaptureStarted, base 257 content/browser/media/capture/content_video_capture_device_core.cc BrowserThread::UI, FROM_HERE, base::Bind( base 259 content/browser/media/capture/content_video_capture_device_core.cc base::Unretained(capture_machine_.get()), base 260 content/browser/media/capture/content_video_capture_device_core.cc base::Bind(&base::DoNothing))); base 284 content/browser/media/capture/content_video_capture_device_core.cc base::Bind(&VideoCaptureMachine::Stop, base 285 content/browser/media/capture/content_video_capture_device_core.cc base::Unretained(capture_machine_ptr), base 286 content/browser/media/capture/content_video_capture_device_core.cc base::Bind(&DeleteCaptureMachineOnUIThread, base 287 content/browser/media/capture/content_video_capture_device_core.cc base::Passed(&capture_machine_)))); base 48 content/browser/media/capture/content_video_capture_device_core.h : public base::RefCountedThreadSafe<ThreadSafeCaptureOracle> { base 58 content/browser/media/capture/content_video_capture_device_core.h typedef base::Callback<void(base::TimeTicks timestamp, bool success)> base 62 content/browser/media/capture/content_video_capture_device_core.h base::TimeTicks event_time, base 66 content/browser/media/capture/content_video_capture_device_core.h base::TimeDelta capture_period() const { base 84 content/browser/media/capture/content_video_capture_device_core.h friend class base::RefCountedThreadSafe<ThreadSafeCaptureOracle>; base 92 content/browser/media/capture/content_video_capture_device_core.h base::TimeTicks timestamp, base 96 content/browser/media/capture/content_video_capture_device_core.h mutable base::Lock lock_; base 132 content/browser/media/capture/content_video_capture_device_core.h virtual void Stop(const base::Closure& callback) = 0; base 152 content/browser/media/capture/content_video_capture_device_core.h : public base::SupportsWeakPtr<ContentVideoCaptureDeviceCore> { base 181 content/browser/media/capture/content_video_capture_device_core.h base::ThreadChecker thread_checker_; base 49 content/browser/media/capture/desktop_capture_device.cc : public base::RefCountedThreadSafe<Core>, base 52 content/browser/media/capture/desktop_capture_device.cc Core(scoped_refptr<base::SequencedTaskRunner> task_runner, base 94 content/browser/media/capture/desktop_capture_device.cc scoped_refptr<base::SequencedTaskRunner> task_runner_; base 132 content/browser/media/capture/desktop_capture_device.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 150 content/browser/media/capture/desktop_capture_device.cc base::Bind( base 151 content/browser/media/capture/desktop_capture_device.cc &Core::DoAllocateAndStart, this, params, base::Passed(&client))); base 156 content/browser/media/capture/desktop_capture_device.cc base::Bind(&Core::DoStopAndDeAllocate, this)); base 162 content/browser/media/capture/desktop_capture_device.cc FROM_HERE, base::Bind(&Core::DoSetNotificationWindowId, this, window_id)); base 246 content/browser/media/capture/desktop_capture_device.cc output_data, output_bytes, capture_format_, 0, base::TimeTicks::Now()); base 333 content/browser/media/capture/desktop_capture_device.cc base::TimeTicks started_time = base::TimeTicks::Now(); base 335 content/browser/media/capture/desktop_capture_device.cc base::TimeDelta last_capture_duration = base::TimeTicks::Now() - started_time; base 338 content/browser/media/capture/desktop_capture_device.cc base::TimeDelta capture_period = std::max( base 340 content/browser/media/capture/desktop_capture_device.cc base::TimeDelta::FromSeconds(1) / capture_format_.frame_rate); base 345 content/browser/media/capture/desktop_capture_device.cc FROM_HERE, base::Bind(&Core::OnCaptureTimer, this), base 371 content/browser/media/capture/desktop_capture_device.cc scoped_refptr<base::SequencedWorkerPool> blocking_pool = base 373 content/browser/media/capture/desktop_capture_device.cc scoped_refptr<base::SequencedTaskRunner> task_runner = base 421 content/browser/media/capture/desktop_capture_device.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 14 content/browser/media/capture/desktop_capture_device.h namespace base { base 37 content/browser/media/capture/desktop_capture_device.h DesktopCaptureDevice(scoped_refptr<base::SequencedTaskRunner> task_runner, base 92 content/browser/media/capture/desktop_capture_device_aura.cc public base::SupportsWeakPtr<DesktopVideoCaptureMachine> { base 100 content/browser/media/capture/desktop_capture_device_aura.cc virtual void Stop(const base::Closure& callback) OVERRIDE; base 111 content/browser/media/capture/desktop_capture_device_aura.cc base::TimeTicks start_time) OVERRIDE {} base 128 content/browser/media/capture/desktop_capture_device_aura.cc base::TimeTicks start_time, base 147 content/browser/media/capture/desktop_capture_device_aura.cc base::Timer timer_; base 206 content/browser/media/capture/desktop_capture_device_aura.cc base::Bind(&DesktopVideoCaptureMachine::Capture, AsWeakPtr(), base 213 content/browser/media/capture/desktop_capture_device_aura.cc void DesktopVideoCaptureMachine::Stop(const base::Closure& callback) { base 257 content/browser/media/capture/desktop_capture_device_aura.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 265 content/browser/media/capture/desktop_capture_device_aura.cc base::Bind(&DesktopVideoCaptureMachine::DidCopyOutput, base 277 content/browser/media/capture/desktop_capture_device_aura.cc base::TimeTicks start_time, base 292 content/browser/media/capture/desktop_capture_device_aura.cc base::TimeTicks start_time, base 346 content/browser/media/capture/desktop_capture_device_aura.cc base::Bind(&CopyOutputFinishedForVideo, base 352 content/browser/media/capture/desktop_capture_device_aura.cc base::Passed(&release_callback))); base 403 content/browser/media/capture/desktop_capture_device_aura.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 410 content/browser/media/capture/desktop_capture_device_aura.cc Stop(base::Bind(&base::DoNothing)); base 417 content/browser/media/capture/desktop_capture_device_aura.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 46 content/browser/media/capture/desktop_capture_device_aura_unittest.cc base::TimeTicks timestamp)); base 51 content/browser/media/capture/desktop_capture_device_aura_unittest.cc base::TimeTicks timestamp)); base 94 content/browser/media/capture/desktop_capture_device_aura_unittest.cc base::MessageLoopForUI message_loop_; base 52 content/browser/media/capture/desktop_capture_device_unittest.cc base::TimeTicks timestamp)); base 57 content/browser/media/capture/desktop_capture_device_unittest.cc base::TimeTicks timestamp)); base 138 content/browser/media/capture/desktop_capture_device_unittest.cc worker_pool_ = new base::SequencedWorkerPool(3, "TestCaptureThread"); base 142 content/browser/media/capture/desktop_capture_device_unittest.cc scoped_refptr<base::SequencedWorkerPool> worker_pool_; base 162 content/browser/media/capture/desktop_capture_device_unittest.cc base::WaitableEvent done_event(false, false); base 170 content/browser/media/capture/desktop_capture_device_unittest.cc InvokeWithoutArgs(&done_event, &base::WaitableEvent::Signal))); base 201 content/browser/media/capture/desktop_capture_device_unittest.cc base::WaitableEvent done_event(false, false); base 209 content/browser/media/capture/desktop_capture_device_unittest.cc InvokeWithoutArgs(&done_event, &base::WaitableEvent::Signal))); base 248 content/browser/media/capture/desktop_capture_device_unittest.cc base::WaitableEvent done_event(false, false); base 254 content/browser/media/capture/desktop_capture_device_unittest.cc InvokeWithoutArgs(&done_event, &base::WaitableEvent::Signal))); base 26 content/browser/media/capture/video_capture_oracle.cc VideoCaptureOracle::VideoCaptureOracle(base::TimeDelta capture_period, base 37 content/browser/media/capture/video_capture_oracle.cc base::TimeTicks event_time) { base 57 content/browser/media/capture/video_capture_oracle.cc base::TimeTicks timestamp) { base 79 content/browser/media/capture/video_capture_oracle.cc SmoothEventSampler::SmoothEventSampler(base::TimeDelta capture_period, base 92 content/browser/media/capture/video_capture_oracle.cc base::TimeTicks event_time) { base 109 content/browser/media/capture/video_capture_oracle.cc if (token_bucket_ < base::TimeDelta()) base 110 content/browser/media/capture/video_capture_oracle.cc token_bucket_ = base::TimeDelta(); base 143 content/browser/media/capture/video_capture_oracle.cc bool SmoothEventSampler::IsOverdueForSamplingAt(base::TimeTicks event_time) base 161 content/browser/media/capture/video_capture_oracle.cc base::TimeDelta dirty_interval = event_time - last_sample_; base 18 content/browser/media/capture/video_capture_oracle.h explicit SmoothEventSampler(base::TimeDelta capture_period, base 25 content/browser/media/capture/video_capture_oracle.h bool AddEventAndConsiderSampling(base::TimeTicks event_time); base 34 content/browser/media/capture/video_capture_oracle.h bool IsOverdueForSamplingAt(base::TimeTicks event_time) const; base 42 content/browser/media/capture/video_capture_oracle.h const base::TimeDelta capture_period_; base 44 content/browser/media/capture/video_capture_oracle.h const base::TimeDelta token_bucket_capacity_; base 46 content/browser/media/capture/video_capture_oracle.h base::TimeTicks current_event_; base 47 content/browser/media/capture/video_capture_oracle.h base::TimeTicks last_sample_; base 49 content/browser/media/capture/video_capture_oracle.h base::TimeDelta token_bucket_; base 66 content/browser/media/capture/video_capture_oracle.h VideoCaptureOracle(base::TimeDelta capture_period, base 73 content/browser/media/capture/video_capture_oracle.h bool ObserveEventAndDecideCapture(Event event, base::TimeTicks event_time); base 81 content/browser/media/capture/video_capture_oracle.h bool CompleteCapture(int frame_number, base::TimeTicks timestamp); base 83 content/browser/media/capture/video_capture_oracle.h base::TimeDelta capture_period() const { return capture_period_; } base 88 content/browser/media/capture/video_capture_oracle.h const base::TimeDelta capture_period_; base 97 content/browser/media/capture/video_capture_oracle.h base::TimeTicks last_delivered_frame_timestamp_; base 14 content/browser/media/capture/video_capture_oracle_unittest.cc void SteadyStateSampleAndAdvance(base::TimeDelta vsync, base 16 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks* t) { base 26 content/browser/media/capture/video_capture_oracle_unittest.cc void SteadyStateNoSampleAndAdvance(base::TimeDelta vsync, base 28 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks* t) { base 36 content/browser/media/capture/video_capture_oracle_unittest.cc void TimeTicksFromString(const char* string, base::TimeTicks* t) { base 37 content/browser/media/capture/video_capture_oracle_unittest.cc base::Time time; base 38 content/browser/media/capture/video_capture_oracle_unittest.cc ASSERT_TRUE(base::Time::FromString(string, &time)); base 39 content/browser/media/capture/video_capture_oracle_unittest.cc *t = base::TimeTicks::UnixEpoch() + (time - base::Time::UnixEpoch()); base 42 content/browser/media/capture/video_capture_oracle_unittest.cc void TestRedundantCaptureStrategy(base::TimeDelta capture_period, base 45 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks* t) { base 61 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 75 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; base 77 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 60; base 80 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks t; base 88 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 96 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 107 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 115 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; base 117 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 50; base 120 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks t; base 129 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 140 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 150 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 161 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; base 163 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 75; base 166 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks t; base 177 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 188 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 200 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 211 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; base 213 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 30; base 216 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks t; base 224 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 231 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 240 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 247 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; base 249 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 24; base 252 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks t; base 260 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 267 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 276 content/browser/media/capture/video_capture_oracle_unittest.cc SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); base 282 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; base 283 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta overdue_period = base::TimeDelta::FromSeconds(1); base 286 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks t; base 307 content/browser/media/capture/video_capture_oracle_unittest.cc const base::TimeDelta timer_interval = base::TimeDelta::FromSeconds(1) / 30; base 311 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks t; base 367 content/browser/media/capture/video_capture_oracle_unittest.cc base::TimeTicks t; base 370 content/browser/media/capture/video_capture_oracle_unittest.cc t += base::TimeDelta::FromMicroseconds( base 404 content/browser/media/capture/video_capture_oracle_unittest.cc SmoothEventSampler sampler(base::TimeDelta::FromSeconds(1) / 30, true, 3); base 440 content/browser/media/capture/video_capture_oracle_unittest.cc SmoothEventSampler sampler(base::TimeDelta::FromSeconds(1) / 30, true, 3); base 482 content/browser/media/capture/video_capture_oracle_unittest.cc SmoothEventSampler sampler(base::TimeDelta::FromSeconds(1) / 30, true, 3); base 24 content/browser/media/capture/web_contents_audio_input_stream.cc : public base::RefCountedThreadSafe<WebContentsAudioInputStream::Impl>, base 102 content/browser/media/capture/web_contents_audio_input_stream.cc base::ThreadChecker thread_checker_; base 142 content/browser/media/capture/web_contents_audio_input_stream.cc base::Bind(&Impl::OnTargetChanged, this)); base 217 content/browser/media/capture/web_contents_audio_input_stream.cc base::Bind(&AudioMirroringManager::StartMirroring, base 218 content/browser/media/capture/web_contents_audio_input_stream.cc base::Unretained(mirroring_manager_), base 229 content/browser/media/capture/web_contents_audio_input_stream.cc base::Bind(&AudioMirroringManager::StopMirroring, base 230 content/browser/media/capture/web_contents_audio_input_stream.cc base::Unretained(mirroring_manager_), base 243 content/browser/media/capture/web_contents_audio_input_stream.cc base::Bind(&Impl::ReleaseInput, this)); base 284 content/browser/media/capture/web_contents_audio_input_stream.cc const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner, base 25 content/browser/media/capture/web_contents_audio_input_stream.h namespace base { base 64 content/browser/media/capture/web_contents_audio_input_stream.h const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner, base 92 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc const scoped_refptr<base::MessageLoopProxy>& worker_loop) base 96 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc base::Bind(&MockVirtualAudioInputStream::OnRealStreamHasClosed, base 97 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc base::Unretained(this))), base 243 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc InvokeWithoutArgs(&on_data_event_, &base::WaitableEvent::Signal)); base 270 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc base::WaitableEvent done(false, false); base 272 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc BrowserThread::IO, FROM_HERE, base::Bind( base 273 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc &base::WaitableEvent::Signal, base::Unretained(&done))); base 356 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc void RunOnAudioThread(const base::Closure& closure) { base 370 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc base::Thread audio_thread_; base 401 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc base::WaitableEvent on_data_event_; base 407 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc RunOnAudioThread(base::Bind(&WebContentsAudioInputStreamTest::method, \ base 408 content/browser/media/capture/web_contents_audio_input_stream_unittest.cc base::Unretained(this))) base 51 content/browser/media/capture/web_contents_capture_util.cc const base::StringPiece component1(device_id.data(), sep_pos); base 52 content/browser/media/capture/web_contents_capture_util.cc const base::StringPiece component2(device_id.data() + sep_pos + 1, base 55 content/browser/media/capture/web_contents_capture_util.cc return (base::StringToInt(component1, render_process_id) && base 56 content/browser/media/capture/web_contents_capture_util.cc base::StringToInt(component2, render_view_id)); base 25 content/browser/media/capture/web_contents_tracker.cc message_loop_ = base::MessageLoopProxy::current(); base 31 content/browser/media/capture/web_contents_tracker.cc base::Bind(&WebContentsTracker::LookUpAndObserveWebContents, this, base 42 content/browser/media/capture/web_contents_tracker.cc base::Bind(&WebContentsTracker::Observe, this, base 57 content/browser/media/capture/web_contents_tracker.cc base::Bind(&WebContentsTracker::MaybeDoCallback, this, base 23 content/browser/media/capture/web_contents_tracker.h namespace base { base 30 content/browser/media/capture/web_contents_tracker.h : public base::RefCountedThreadSafe<WebContentsTracker>, base 39 content/browser/media/capture/web_contents_tracker.h typedef base::Callback<void(int render_process_id, int render_view_id)> base 53 content/browser/media/capture/web_contents_tracker.h friend class base::RefCountedThreadSafe<WebContentsTracker>; base 78 content/browser/media/capture/web_contents_tracker.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 107 content/browser/media/capture/web_contents_video_capture_device.cc base::TimeTicks timestamp, base 112 content/browser/media/capture/web_contents_video_capture_device.cc void DeleteOnWorkerThread(scoped_ptr<base::Thread> render_thread, base 113 content/browser/media/capture/web_contents_video_capture_device.cc const base::Closure& callback) { base 126 content/browser/media/capture/web_contents_video_capture_device.cc void ChronicleFrameDelivery(base::TimeTicks frame_time); base 131 content/browser/media/capture/web_contents_video_capture_device.cc base::TimeTicks last_frame_rate_log_time_; base 149 content/browser/media/capture/web_contents_video_capture_device.cc base::TimeTicks present_time, base 177 content/browser/media/capture/web_contents_video_capture_device.cc typedef base::Callback< base 178 content/browser/media/capture/web_contents_video_capture_device.cc void(const base::TimeTicks&, base 208 content/browser/media/capture/web_contents_video_capture_device.cc base::Timer timer_; base 224 content/browser/media/capture/web_contents_video_capture_device.cc const base::Callback<void(bool)>& done_cb); base 243 content/browser/media/capture/web_contents_video_capture_device.cc virtual void Stop(const base::Closure& callback) OVERRIDE; base 250 content/browser/media/capture/web_contents_video_capture_device.cc void Capture(const base::TimeTicks& start_time, base 292 content/browser/media/capture/web_contents_video_capture_device.cc const base::TimeTicks& start_time, base 301 content/browser/media/capture/web_contents_video_capture_device.cc const base::TimeTicks& start_time, base 317 content/browser/media/capture/web_contents_video_capture_device.cc scoped_ptr<base::Thread> render_thread_; base 335 content/browser/media/capture/web_contents_video_capture_device.cc base::WeakPtrFactory<WebContentsCaptureMachine> weak_ptr_factory_; base 341 content/browser/media/capture/web_contents_video_capture_device.cc base::TimeTicks present_time, base 351 content/browser/media/capture/web_contents_video_capture_device.cc *deliver_frame_cb = base::Bind(&InvokeCaptureFrameCallback, capture_frame_cb); base 393 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(&ContentCaptureSubscription::OnTimer, base 394 content/browser/media/capture/web_contents_video_capture_device.cc base::Unretained(this))); base 438 content/browser/media/capture/web_contents_video_capture_device.cc base::Closure copy_done_callback; base 441 content/browser/media/capture/web_contents_video_capture_device.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 449 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(capture_callback_, start_time, frame, deliver_frame_cb)); base 460 content/browser/media/capture/web_contents_video_capture_device.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 470 content/browser/media/capture/web_contents_video_capture_device.cc const base::Callback<void(bool)>& done_cb) { base 471 content/browser/media/capture/web_contents_video_capture_device.cc base::ScopedClosureRunner failure_handler(base::Bind(done_cb, false)); base 542 content/browser/media/capture/web_contents_video_capture_device.cc void VideoFrameDeliveryLog::ChronicleFrameDelivery(base::TimeTicks frame_time) { base 544 content/browser/media/capture/web_contents_video_capture_device.cc static const base::TimeDelta kFrameRateLogInterval = base 545 content/browser/media/capture/web_contents_video_capture_device.cc base::TimeDelta::FromSeconds(10); base 551 content/browser/media/capture/web_contents_video_capture_device.cc const base::TimeDelta elapsed = frame_time - last_frame_rate_log_time_; base 576 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(&DeleteOnWorkerThread, base::Passed(&render_thread_), base 577 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(&base::DoNothing))); base 588 content/browser/media/capture/web_contents_video_capture_device.cc render_thread_.reset(new base::Thread("WebContentsVideo_RenderThread")); base 605 content/browser/media/capture/web_contents_video_capture_device.cc void WebContentsCaptureMachine::Stop(const base::Closure& callback) { base 621 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(&DeleteOnWorkerThread, base::Passed(&render_thread_), base 628 content/browser/media/capture/web_contents_video_capture_device.cc const base::TimeTicks& start_time, base 638 content/browser/media/capture/web_contents_video_capture_device.cc deliver_frame_cb.Run(base::TimeTicks(), false); base 662 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(&WebContentsCaptureMachine::DidCopyFromBackingStore, base 669 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(&WebContentsCaptureMachine:: base 677 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(&WebContentsCaptureMachine::DidCopyFromBackingStore, base 743 content/browser/media/capture/web_contents_video_capture_device.cc const base::TimeTicks& start_time, base 751 content/browser/media/capture/web_contents_video_capture_device.cc base::TimeTicks now = base::TimeTicks::Now(); base 757 content/browser/media/capture/web_contents_video_capture_device.cc render_thread_->message_loop_proxy()->PostTask(FROM_HERE, base::Bind( base 759 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(deliver_frame_cb, start_time))); base 768 content/browser/media/capture/web_contents_video_capture_device.cc const base::TimeTicks& start_time, base 773 content/browser/media/capture/web_contents_video_capture_device.cc base::TimeTicks now = base::TimeTicks::Now(); base 795 content/browser/media/capture/web_contents_video_capture_device.cc base::Bind(&WebContentsCaptureMachine::Capture, base 45 content/browser/media/capture/web_contents_video_capture_device_unittest.cc void DeadlineExceeded(base::Closure quit_closure) { base 46 content/browser/media/capture/web_contents_video_capture_device_unittest.cc if (!base::debug::BeingDebugged()) { base 56 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Timer deadline(false, false); base 57 content/browser/media/capture/web_contents_video_capture_device_unittest.cc deadline.Start(FROM_HERE, TestTimeouts::action_max_timeout(), base::Bind( base 58 content/browser/media/capture/web_contents_video_capture_device_unittest.cc &DeadlineExceeded, base::MessageLoop::current()->QuitClosure())); base 59 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::MessageLoop::current()->Run(); base 84 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 89 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 94 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 99 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 105 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 113 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 118 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 123 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 128 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 134 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 135 content/browser/media/capture/web_contents_video_capture_device_unittest.cc copy_done_ = base::MessageLoop::current()->QuitClosure(); base 142 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Lock lock_; // Guards changes to all members. base 147 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Closure copy_done_; base 177 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const base::Callback<void(bool)>& callback) OVERRIDE { base 196 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const base::TimeTicks present_time = base::TimeTicks::Now(); base 206 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Bind(callback, present_time, true)); base 251 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 312 content/browser/media/capture/web_contents_video_capture_device_unittest.cc StubClient(const base::Callback<void(SkColor)>& color_callback, base 313 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const base::Closure& error_callback) base 343 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::TimeTicks timestamp) OVERRIDE { base 351 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::TimeTicks timestamp) OVERRIDE { base 383 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Callback<void(SkColor)> color_callback_; base 384 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Closure error_callback_; base 395 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Bind(&StubClientObserver::OnColor, base::Unretained(this)), base 396 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Bind(&StubClientObserver::OnError, base::Unretained(this)))); base 406 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 408 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::MessageLoop::current()->Quit(); base 413 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 419 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 426 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 432 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 438 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 444 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::AutoLock guard(lock_); base 447 content/browser/media/capture/web_contents_video_capture_device_unittest.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 449 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Unretained(this), base 454 content/browser/media/capture/web_contents_video_capture_device_unittest.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 456 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Unretained(this), base 461 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Lock lock_; base 509 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::StringPrintf("%d:%d", rwh->GetProcess()->GetID(), base 514 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 528 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 534 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 619 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 624 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Bind(&WebContentsVideoCaptureDeviceTest::ResetWebContents, base 625 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Unretained(this))); base 647 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 661 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 669 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 680 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 695 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 742 content/browser/media/capture/web_contents_video_capture_device_unittest.cc SCOPED_TRACE(base::StringPrintf("Using %s path, iteration #%d", name, i)); base 772 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Bind(&media::VideoCaptureDevice::AllocateAndStart, base 773 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Unretained(device()), base 775 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Passed(client_observer()->PassClient()))); base 780 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Bind(&media::VideoCaptureDevice::StopAndDeAllocate, base 781 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Unretained(device()))); base 782 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::RunLoop().RunUntilIdle(); base 40 content/browser/media/encrypted_media_browsertest.cc if (base::android::BuildInfo::GetInstance()->sdk_int() < 16) { base 119 content/browser/media/encrypted_media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kEmeNotSupportedError)); base 120 content/browser/media/encrypted_media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kEmeKeyError)); base 170 content/browser/media/encrypted_media_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 36 content/browser/media/media_browsertest.cc query = base::StringPrintf("%s=%s", itr->first, itr->second); base 39 content/browser/media/media_browsertest.cc query.append(base::StringPrintf("&%s=%s", itr->first, itr->second)); base 45 content/browser/media/media_browsertest.cc base::StringPrintf("files/media/%s?%s", html_page, query.c_str())); base 47 content/browser/media/media_browsertest.cc base::FilePath test_file_path = GetTestFilePath("media", html_page); base 54 content/browser/media/media_browsertest.cc const base::string16 expected_title = base::ASCIIToUTF16(expected); base 60 content/browser/media/media_browsertest.cc base::string16 final_title = title_watcher.WaitAndGetTitle(); base 65 content/browser/media/media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kEnded)); base 66 content/browser/media/media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kError)); base 67 content/browser/media/media_browsertest.cc title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kFailed)); base 89 content/browser/media/media_browsertest.cc base::FilePath test_file_path = GetTestFilePath("media", "blackwhite.html"); base 18 content/browser/media/media_internals.cc static base::LazyInstance<content::MediaInternals>::Leaky g_media_internals = base 21 content/browser/media/media_internals.cc base::string16 SerializeUpdate(const std::string& function, base 22 content/browser/media/media_internals.cc const base::Value* value) { base 24 content/browser/media/media_internals.cc function, std::vector<const base::Value*>(1, value)); base 53 content/browser/media/media_internals.cc ret += base::IntToString(effects); base 86 content/browser/media/media_internals.cc void StoreComponentMetadata(int component_id, base::DictionaryValue* dict); base 108 content/browser/media/media_internals.cc base::DictionaryValue dict; base 134 content/browser/media/media_internals.cc base::DictionaryValue dict; base 146 content/browser/media/media_internals.cc base::DictionaryValue dict; base 154 content/browser/media/media_internals.cc return base::StringPrintf("%d:%d:%d", owner_id_, component_, component_id); base 160 content/browser/media/media_internals.cc base::DictionaryValue dict; base 168 content/browser/media/media_internals.cc base::DictionaryValue* dict) { base 187 content/browser/media/media_internals.cc base::DictionaryValue dict; base 195 content/browser/media/media_internals.cc const double ticks_millis = ticks / base::Time::kMicrosecondsPerMillisecond; base 219 content/browser/media/media_internals.cc base::string16 everything_update; base 221 content/browser/media/media_internals.cc base::AutoLock auto_lock(lock_); base 228 content/browser/media/media_internals.cc void MediaInternals::SendUpdate(const base::string16& update) { base 233 content/browser/media/media_internals.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 234 content/browser/media/media_internals.cc &MediaInternals::SendUpdate, base::Unretained(this), update)); base 244 content/browser/media/media_internals.cc base::AutoLock auto_lock(lock_); base 251 content/browser/media/media_internals.cc const base::DictionaryValue* value) { base 254 content/browser/media/media_internals.cc base::AutoLock auto_lock(lock_); base 260 content/browser/media/media_internals.cc base::DictionaryValue* existing_dict = NULL; base 268 content/browser/media/media_internals.cc const base::DictionaryValue* value) { base 271 content/browser/media/media_internals.cc base::AutoLock auto_lock(lock_); base 272 content/browser/media/media_internals.cc scoped_ptr<base::Value> out_value; base 40 content/browser/media/media_internals.h typedef base::Callback<void(const base::string16&)> UpdateCallback; base 56 content/browser/media/media_internals.h friend struct base::DefaultLazyInstanceTraits<MediaInternals>; base 62 content/browser/media/media_internals.h void SendUpdate(const base::string16& update); base 70 content/browser/media/media_internals.h const base::DictionaryValue* value); base 73 content/browser/media/media_internals.h const base::DictionaryValue* value); base 78 content/browser/media/media_internals.h base::Lock lock_; base 79 content/browser/media/media_internals.h base::DictionaryValue cached_data_; base 31 content/browser/media/media_internals_handler.cc base::Bind(&MediaInternalsMessageHandler::OnGetEverything, base 32 content/browser/media/media_internals_handler.cc base::Unretained(this))); base 36 content/browser/media/media_internals_handler.cc const base::ListValue* list) { base 41 content/browser/media/media_internals_handler.cc void MediaInternalsMessageHandler::OnUpdate(const base::string16& update) { base 12 content/browser/media/media_internals_handler.h namespace base { base 30 content/browser/media/media_internals_handler.h void OnGetEverything(const base::ListValue* list); base 33 content/browser/media/media_internals_handler.h void OnUpdate(const base::string16& update); base 40 content/browser/media/media_internals_proxy.cc new base::FundamentalValue(process->GetID())); base 48 content/browser/media/media_internals_proxy.cc base::Bind(&MediaInternalsProxy::ObserveMediaInternalsOnIOThread, this)); base 56 content/browser/media/media_internals_proxy.cc base::Bind( base 66 content/browser/media/media_internals_proxy.cc base::Bind(&MediaInternalsProxy::GetEverythingOnIOThread, this)); base 72 content/browser/media/media_internals_proxy.cc void MediaInternalsProxy::OnUpdate(const base::string16& update) { base 76 content/browser/media/media_internals_proxy.cc base::Bind(&MediaInternalsProxy::UpdateUIOnUIThread, this, update)); base 93 content/browser/media/media_internals_proxy.cc base::Bind(&MediaInternalsProxy::AddNetEventOnUIThread, this, base 99 content/browser/media/media_internals_proxy.cc base::Value* MediaInternalsProxy::GetConstants() { base 100 content/browser/media/media_internals_proxy.cc base::DictionaryValue* event_phases = new base::DictionaryValue(); base 111 content/browser/media/media_internals_proxy.cc base::DictionaryValue* constants = new base::DictionaryValue(); base 120 content/browser/media/media_internals_proxy.cc update_callback_ = base::Bind(&MediaInternalsProxy::OnUpdate, base 121 content/browser/media/media_internals_proxy.cc base::Unretained(this)); base 143 content/browser/media/media_internals_proxy.cc void MediaInternalsProxy::UpdateUIOnUIThread(const base::string16& update) { base 150 content/browser/media/media_internals_proxy.cc void MediaInternalsProxy::AddNetEventOnUIThread(base::Value* entry) { base 156 content/browser/media/media_internals_proxy.cc pending_net_updates_.reset(new base::ListValue()); base 157 content/browser/media/media_internals_proxy.cc base::MessageLoop::current()->PostDelayedTask( base 159 content/browser/media/media_internals_proxy.cc base::Bind(&MediaInternalsProxy::SendNetEventsOnUIThread, this), base 160 content/browser/media/media_internals_proxy.cc base::TimeDelta::FromMilliseconds( base 173 content/browser/media/media_internals_proxy.cc const std::string& function, base::Value* args) { base 175 content/browser/media/media_internals_proxy.cc scoped_ptr<base::Value> args_value(args); base 176 content/browser/media/media_internals_proxy.cc std::vector<const base::Value*> args_vector; base 178 content/browser/media/media_internals_proxy.cc base::string16 update = WebUI::GetJavascriptCall(function, args_vector); base 16 content/browser/media/media_internals_proxy.h namespace base { base 29 content/browser/media/media_internals_proxy.h : public base::RefCountedThreadSafe< base 52 content/browser/media/media_internals_proxy.h void OnUpdate(const base::string16& update); base 59 content/browser/media/media_internals_proxy.h friend class base::DeleteHelper<MediaInternalsProxy>; base 63 content/browser/media/media_internals_proxy.h base::Value* GetConstants(); base 68 content/browser/media/media_internals_proxy.h void UpdateUIOnUIThread(const base::string16& update); base 71 content/browser/media/media_internals_proxy.h void AddNetEventOnUIThread(base::Value* entry); base 78 content/browser/media/media_internals_proxy.h base::Value* args); base 81 content/browser/media/media_internals_proxy.h scoped_ptr<base::ListValue> pending_net_updates_; base 29 content/browser/media/media_internals_unittest.cc update_cb_(base::Bind(&MediaInternalsTest::UpdateCallbackImpl, base 30 content/browser/media/media_internals_unittest.cc base::Unretained(this))), base 50 content/browser/media/media_internals_unittest.cc void UpdateCallbackImpl(const base::string16& update) { base 53 content/browser/media/media_internals_unittest.cc std::string utf8_update = base::UTF16ToUTF8(update); base 56 content/browser/media/media_internals_unittest.cc scoped_ptr<base::Value> output_value(base::JSONReader::Read( base 60 content/browser/media/media_internals_unittest.cc base::DictionaryValue* output_dict = NULL; base 84 content/browser/media/media_internals_unittest.cc base::DictionaryValue update_data_; base 93 content/browser/media/media_internals_unittest.cc base::RunLoop().RunUntilIdle(); base 109 content/browser/media/media_internals_unittest.cc base::RunLoop().RunUntilIdle(); base 114 content/browser/media/media_internals_unittest.cc base::RunLoop().RunUntilIdle(); base 122 content/browser/media/media_internals_unittest.cc base::RunLoop().RunUntilIdle(); base 127 content/browser/media/media_internals_unittest.cc base::RunLoop().RunUntilIdle(); base 134 content/browser/media/media_internals_unittest.cc base::RunLoop().RunUntilIdle(); base 138 content/browser/media/media_internals_unittest.cc base::RunLoop().RunUntilIdle(); base 25 content/browser/media/media_source_browsertest.cc if (base::android::BuildInfo::GetInstance()->sdk_int() < 16) { base 51 content/browser/media/webrtc_aecdump_browsertest.cc base::ScopedTempDir temp_dir_; base 52 content/browser/media/webrtc_aecdump_browsertest.cc base::FilePath dump_file_; base 87 content/browser/media/webrtc_aecdump_browsertest.cc EXPECT_TRUE(base::PathExists(dump_file_)); base 89 content/browser/media/webrtc_aecdump_browsertest.cc EXPECT_TRUE(base::GetFileSize(dump_file_, &file_size)); base 356 content/browser/media/webrtc_browsertest.cc base::FilePath dump_file; base 368 content/browser/media/webrtc_browsertest.cc EXPECT_TRUE(base::PathExists(dump_file)); base 370 content/browser/media/webrtc_browsertest.cc EXPECT_TRUE(base::GetFileSize(dump_file, &file_size)); base 373 content/browser/media/webrtc_browsertest.cc base::DeleteFile(dump_file, false); base 392 content/browser/media/webrtc_browsertest.cc base::FilePath dump_file; base 405 content/browser/media/webrtc_browsertest.cc EXPECT_TRUE(base::PathExists(dump_file)); base 407 content/browser/media/webrtc_browsertest.cc EXPECT_TRUE(base::GetFileSize(dump_file, &file_size)); base 410 content/browser/media/webrtc_browsertest.cc base::DeleteFile(dump_file, false); base 94 content/browser/media/webrtc_getusermedia_browsertest.cc trace_log_ = base::debug::TraceLog::GetInstance(); base 95 content/browser/media/webrtc_getusermedia_browsertest.cc trace_log_->SetEnabled(base::debug::CategoryFilter("video"), base 96 content/browser/media/webrtc_getusermedia_browsertest.cc base::debug::TraceLog::RECORDING_MODE, base 97 content/browser/media/webrtc_getusermedia_browsertest.cc base::debug::TraceLog::ENABLE_SAMPLING); base 106 content/browser/media/webrtc_getusermedia_browsertest.cc trace_log_->Flush(base::Bind( base 108 content/browser/media/webrtc_getusermedia_browsertest.cc base::Unretained(this))); base 113 content/browser/media/webrtc_getusermedia_browsertest.cc const scoped_refptr<base::RefCountedString>& events_str_ptr, base 135 content/browser/media/webrtc_getusermedia_browsertest.cc base::StringPrintf("%s({video: true});", base 143 content/browser/media/webrtc_getusermedia_browsertest.cc base::StringPrintf("waitAndStopVideoTrack(%d);", time_to_sample_secs)); base 163 content/browser/media/webrtc_getusermedia_browsertest.cc base::StringPrintf("%d,", static_cast<int>(events[i]->duration))); base 168 content/browser/media/webrtc_getusermedia_browsertest.cc interarrival_us.append(base::StringPrintf("%d,", base 170 content/browser/media/webrtc_getusermedia_browsertest.cc base::Time::kNanosecondsPerMicrosecond))); base 191 content/browser/media/webrtc_getusermedia_browsertest.cc scoped_ptr<base::Value> value( base 192 content/browser/media/webrtc_getusermedia_browsertest.cc base::JSONReader::ReadAndReturnError(sources_as_json, base 193 content/browser/media/webrtc_getusermedia_browsertest.cc base::JSON_ALLOW_TRAILING_COMMAS, base 198 content/browser/media/webrtc_getusermedia_browsertest.cc EXPECT_EQ(value->GetType(), base::Value::TYPE_LIST); base 200 content/browser/media/webrtc_getusermedia_browsertest.cc base::ListValue* values; base 203 content/browser/media/webrtc_getusermedia_browsertest.cc for (base::ListValue::iterator it = values->begin(); base 205 content/browser/media/webrtc_getusermedia_browsertest.cc const base::DictionaryValue* dict; base 224 content/browser/media/webrtc_getusermedia_browsertest.cc base::debug::TraceLog* trace_log_; base 225 content/browser/media/webrtc_getusermedia_browsertest.cc scoped_refptr<base::RefCountedString> recorded_trace_data_; base 244 content/browser/media/webrtc_getusermedia_browsertest.cc base::StringPrintf("%s({video: true});", kGetUserMediaAndStop)); base 255 content/browser/media/webrtc_getusermedia_browsertest.cc base::StringPrintf("%s({video: true});", base 268 content/browser/media/webrtc_getusermedia_browsertest.cc base::StringPrintf("%s({video: true});", base 280 content/browser/media/webrtc_getusermedia_browsertest.cc base::StringPrintf("%s({video: true});", base 292 content/browser/media/webrtc_getusermedia_browsertest.cc base::StringPrintf("%s({video: true});", base 303 content/browser/media/webrtc_getusermedia_browsertest.cc ExecuteJavascriptAndWaitForOk(base::StringPrintf( base 37 content/browser/media/webrtc_identity_store.cc base::TimeDelta validity_period, base 40 content/browser/media/webrtc_identity_store.cc int serial_number = base::RandInt(0, std::numeric_limits<int>::max()); base 43 content/browser/media/webrtc_identity_store.cc base::Time now = base::Time::Now(); base 163 content/browser/media/webrtc_identity_store.cc base::ResetAndReturn(&callback_).Run(error, certificate, private_key); base 173 content/browser/media/webrtc_identity_store.cc WebRTCIdentityStore::WebRTCIdentityStore(const base::FilePath& path, base 175 content/browser/media/webrtc_identity_store.cc : validity_period_(base::TimeDelta::FromDays(30)), base 176 content/browser/media/webrtc_identity_store.cc task_runner_(base::WorkerPool::GetTaskRunner(true)), base 182 content/browser/media/webrtc_identity_store.cc base::Closure WebRTCIdentityStore::RequestIdentity( base 199 content/browser/media/webrtc_identity_store.cc base::Bind( base 203 content/browser/media/webrtc_identity_store.cc return base::Closure(); base 213 content/browser/media/webrtc_identity_store.cc base::Bind(&WebRTCIdentityRequestHandle::OnRequestComplete, base 214 content/browser/media/webrtc_identity_store.cc base::Owned(handle))); base 216 content/browser/media/webrtc_identity_store.cc return base::Bind(&WebRTCIdentityRequestHandle::Cancel, base 217 content/browser/media/webrtc_identity_store.cc base::Unretained(handle)); base 220 content/browser/media/webrtc_identity_store.cc void WebRTCIdentityStore::DeleteBetween(base::Time delete_begin, base 221 content/browser/media/webrtc_identity_store.cc base::Time delete_end, base 222 content/browser/media/webrtc_identity_store.cc const base::Closure& callback) { base 228 content/browser/media/webrtc_identity_store.cc base::TimeDelta validity_period) { base 235 content/browser/media/webrtc_identity_store.cc const scoped_refptr<base::TaskRunner>& task_runner) { base 256 content/browser/media/webrtc_identity_store.cc base::Bind(&GenerateIdentityWorker, base 260 content/browser/media/webrtc_identity_store.cc base::Bind(&WebRTCIdentityStore::GenerateIdentityCallback, base 263 content/browser/media/webrtc_identity_store.cc base::Owned(result)))) { base 17 content/browser/media/webrtc_identity_store.h namespace base { base 37 content/browser/media/webrtc_identity_store.h : public base::RefCountedThreadSafe<WebRTCIdentityStore> { base 39 content/browser/media/webrtc_identity_store.h typedef base::Callback<void(int error, base 45 content/browser/media/webrtc_identity_store.h WebRTCIdentityStore(const base::FilePath& path, base 67 content/browser/media/webrtc_identity_store.h virtual base::Closure RequestIdentity(const GURL& origin, base 74 content/browser/media/webrtc_identity_store.h void DeleteBetween(base::Time delete_begin, base 75 content/browser/media/webrtc_identity_store.h base::Time delete_end, base 76 content/browser/media/webrtc_identity_store.h const base::Closure& callback); base 83 content/browser/media/webrtc_identity_store.h friend class base::RefCountedThreadSafe<WebRTCIdentityStore>; base 86 content/browser/media/webrtc_identity_store.h void SetValidityPeriodForTesting(base::TimeDelta validity_period); base 88 content/browser/media/webrtc_identity_store.h const scoped_refptr<base::TaskRunner>& task_runner); base 103 content/browser/media/webrtc_identity_store.h base::TimeDelta validity_period_; base 106 content/browser/media/webrtc_identity_store.h scoped_refptr<base::TaskRunner> task_runner_; base 21 content/browser/media/webrtc_identity_store_backend.cc static const base::FilePath::CharType kWebRTCIdentityStoreDirectory[] = base 69 content/browser/media/webrtc_identity_store_backend.cc creation_time(base::Time::Now().ToInternalValue()) {} base 108 content/browser/media/webrtc_identity_store_backend.cc : public base::RefCountedThreadSafe<SqlLiteStorage> { base 110 content/browser/media/webrtc_identity_store_backend.cc SqlLiteStorage(base::TimeDelta validity_period, base 111 content/browser/media/webrtc_identity_store_backend.cc const base::FilePath& path, base 126 content/browser/media/webrtc_identity_store_backend.cc void DeleteBetween(base::Time delete_begin, base::Time delete_end); base 128 content/browser/media/webrtc_identity_store_backend.cc void SetValidityPeriodForTesting(base::TimeDelta validity_period) { base 166 content/browser/media/webrtc_identity_store_backend.cc base::TimeDelta validity_period_; base 168 content/browser/media/webrtc_identity_store_backend.cc base::FilePath path_; base 178 content/browser/media/webrtc_identity_store_backend.cc const base::FilePath& path, base 180 content/browser/media/webrtc_identity_store_backend.cc base::TimeDelta validity_period) base 205 content/browser/media/webrtc_identity_store_backend.cc base::Closure task( base 206 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&SqlLiteStorage::Load, sql_lite_storage_, out_map.get())); base 212 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&WebRTCIdentityStoreBackend::OnLoaded, base 214 content/browser/media/webrtc_identity_store_backend.cc base::Passed(&out_map)))) { base 224 content/browser/media/webrtc_identity_store_backend.cc base::TimeDelta age = base::Time::Now() - base::Time::FromInternalValue( base 230 content/browser/media/webrtc_identity_store_backend.cc base::Bind(callback, base 243 content/browser/media/webrtc_identity_store_backend.cc base::Bind(callback, net::ERR_FILE_NOT_FOUND, "", "")); base 263 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&SqlLiteStorage::DeleteIdentity, base 274 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&SqlLiteStorage::AddIdentity, base 286 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&WebRTCIdentityStoreBackend::Close, this)); base 297 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&SqlLiteStorage::Close, sql_lite_storage_)); base 300 content/browser/media/webrtc_identity_store_backend.cc void WebRTCIdentityStoreBackend::DeleteBetween(base::Time delete_begin, base 301 content/browser/media/webrtc_identity_store_backend.cc base::Time delete_end, base 302 content/browser/media/webrtc_identity_store_backend.cc const base::Closure& callback) { base 319 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&SqlLiteStorage::DeleteBetween, base 327 content/browser/media/webrtc_identity_store_backend.cc base::TimeDelta validity_period) { base 333 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&SqlLiteStorage::SetValidityPeriodForTesting, base 371 content/browser/media/webrtc_identity_store_backend.cc const base::FilePath dir = path_.DirName(); base 372 content/browser/media/webrtc_identity_store_backend.cc if (!base::PathExists(dir) && !base::CreateDirectory(dir)) { base 379 content/browser/media/webrtc_identity_store_backend.cc db_->set_error_callback(base::Bind(&SqlLiteStorage::OnDatabaseError, this)); base 396 content/browser/media/webrtc_identity_store_backend.cc DeleteBetween(base::Time(), base::Time::Now() - validity_period_); base 453 content/browser/media/webrtc_identity_store_backend.cc base::Time delete_begin, base 454 content/browser/media/webrtc_identity_store_backend.cc base::Time delete_end) { base 497 content/browser/media/webrtc_identity_store_backend.cc static const base::TimeDelta kCommitInterval( base 498 content/browser/media/webrtc_identity_store_backend.cc base::TimeDelta::FromSeconds(30)); base 512 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&SqlLiteStorage::Commit, this), base 518 content/browser/media/webrtc_identity_store_backend.cc base::Bind(&SqlLiteStorage::Commit, this)); base 17 content/browser/media/webrtc_identity_store_backend.h namespace base { base 31 content/browser/media/webrtc_identity_store_backend.h : public base::RefCountedThreadSafe<WebRTCIdentityStoreBackend> { base 33 content/browser/media/webrtc_identity_store_backend.h typedef base::Callback<void(int error, base 40 content/browser/media/webrtc_identity_store_backend.h WebRTCIdentityStoreBackend(const base::FilePath& path, base 42 content/browser/media/webrtc_identity_store_backend.h base::TimeDelta validity_period); base 78 content/browser/media/webrtc_identity_store_backend.h void DeleteBetween(base::Time delete_begin, base 79 content/browser/media/webrtc_identity_store_backend.h base::Time delete_end, base 80 content/browser/media/webrtc_identity_store_backend.h const base::Closure& callback); base 84 content/browser/media/webrtc_identity_store_backend.h void SetValidityPeriodForTesting(base::TimeDelta validity_period); base 87 content/browser/media/webrtc_identity_store_backend.h friend class base::RefCountedThreadSafe<WebRTCIdentityStoreBackend>; base 106 content/browser/media/webrtc_identity_store_backend.h base::TimeDelta validity_period_; base 44 content/browser/media/webrtc_identity_store_unittest.cc new base::SequencedWorkerPoolOwner(3, "WebRTCIdentityStoreTest")), base 46 content/browser/media/webrtc_identity_store_unittest.cc new WebRTCIdentityStore(base::FilePath(), NULL)) { base 54 content/browser/media/webrtc_identity_store_unittest.cc void SetValidityPeriod(base::TimeDelta validity_period) { base 62 content/browser/media/webrtc_identity_store_unittest.cc base::RunLoop().RunUntilIdle(); base 65 content/browser/media/webrtc_identity_store_unittest.cc base::Closure RequestIdentityAndRunUtilIdle(const std::string& origin, base 71 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback = webrtc_identity_store_->RequestIdentity( base 75 content/browser/media/webrtc_identity_store_unittest.cc base::Bind(&OnRequestCompleted, completed, certificate, private_key)); base 81 content/browser/media/webrtc_identity_store_unittest.cc void Restart(const base::FilePath& path) { base 88 content/browser/media/webrtc_identity_store_unittest.cc scoped_ptr<base::SequencedWorkerPoolOwner> pool_owner_; base 95 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback = base 108 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback = webrtc_identity_store_->RequestIdentity( base 112 content/browser/media/webrtc_identity_store_unittest.cc base::Bind(&OnRequestCompleted, &completed, &dummy, &dummy)); base 124 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_1 = webrtc_identity_store_->RequestIdentity( base 128 content/browser/media/webrtc_identity_store_unittest.cc base::Bind(&OnRequestCompleted, &completed_1, &dummy, &dummy)); base 131 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_2 = webrtc_identity_store_->RequestIdentity( base 135 content/browser/media/webrtc_identity_store_unittest.cc base::Bind(&OnRequestCompleted, &completed_2, &dummy, &dummy)); base 148 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_1 = base 156 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_2 = base 175 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_1 = base 183 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_2 = base 202 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_1 = webrtc_identity_store_->RequestIdentity( base 206 content/browser/media/webrtc_identity_store_unittest.cc base::Bind(&OnRequestCompleted, &completed_1, &cert_1, &key_1)); base 209 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_2 = webrtc_identity_store_->RequestIdentity( base 213 content/browser/media/webrtc_identity_store_unittest.cc base::Bind(&OnRequestCompleted, &completed_2, &cert_2, &key_2)); base 228 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_1 = webrtc_identity_store_->RequestIdentity( base 232 content/browser/media/webrtc_identity_store_unittest.cc base::Bind(&OnRequestCompleted, &completed_1, &cert_1, &key_1)); base 235 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_2 = webrtc_identity_store_->RequestIdentity( base 239 content/browser/media/webrtc_identity_store_unittest.cc base::Bind(&OnRequestCompleted, &completed_2, &cert_2, &key_2)); base 255 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_1 = base 265 content/browser/media/webrtc_identity_store_unittest.cc base::Time(), base::Time::Now(), base::Bind(&base::DoNothing)); base 268 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_2 = base 284 content/browser/media/webrtc_identity_store_unittest.cc SetValidityPeriod(base::TimeDelta::FromMilliseconds(0)); base 290 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_1 = base 300 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_2 = base 313 content/browser/media/webrtc_identity_store_unittest.cc base::ScopedTempDir temp_dir; base 322 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_1 = base 334 content/browser/media/webrtc_identity_store_unittest.cc base::Closure cancel_callback_2 = base 17 content/browser/media/webrtc_internals.cc using base::ProcessId; base 24 content/browser/media/webrtc_internals.cc static base::ListValue* EnsureLogList(base::DictionaryValue* dict) { base 25 content/browser/media/webrtc_internals.cc base::ListValue* log = NULL; base 27 content/browser/media/webrtc_internals.cc log = new base::ListValue(); base 51 content/browser/media/webrtc_internals.cc base::FilePath(FILE_PATH_LITERAL("/tmp/audio.aecdump")); base 54 content/browser/media/webrtc_internals.cc base::FilePath(FILE_PATH_LITERAL("/sdcard/audio.aecdump")); base 56 content/browser/media/webrtc_internals.cc aec_dump_file_path_ = base::FilePath(FILE_PATH_LITERAL("audio.aecdump")); base 77 content/browser/media/webrtc_internals.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 96 content/browser/media/webrtc_internals.cc base::DictionaryValue* dict = NULL; base 110 content/browser/media/webrtc_internals.cc base::DictionaryValue id; base 124 content/browser/media/webrtc_internals.cc base::DictionaryValue* record = NULL; base 135 content/browser/media/webrtc_internals.cc base::ListValue* log = EnsureLogList(record); base 139 content/browser/media/webrtc_internals.cc base::DictionaryValue* log_entry = new base::DictionaryValue(); base 148 content/browser/media/webrtc_internals.cc base::DictionaryValue update; base 160 content/browser/media/webrtc_internals.cc void WebRTCInternals::OnAddStats(base::ProcessId pid, int lid, base 161 content/browser/media/webrtc_internals.cc const base::ListValue& value) { base 165 content/browser/media/webrtc_internals.cc base::DictionaryValue dict; base 169 content/browser/media/webrtc_internals.cc base::ListValue* list = value.DeepCopy(); base 179 content/browser/media/webrtc_internals.cc base::ProcessId pid, base 187 content/browser/media/webrtc_internals.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 222 content/browser/media/webrtc_internals.cc for (base::ListValue::iterator it = get_user_media_requests_.begin(); base 237 content/browser/media/webrtc_internals.cc base::string16(), base 267 content/browser/media/webrtc_internals.cc void WebRTCInternals::SendUpdate(const string& command, base::Value* value) { base 283 content/browser/media/webrtc_internals.cc void WebRTCInternals::FileSelected(const base::FilePath& path, base 302 content/browser/media/webrtc_internals.cc base::DictionaryValue* record = NULL; base 314 content/browser/media/webrtc_internals.cc base::DictionaryValue update; base 327 content/browser/media/webrtc_internals.cc base::DictionaryValue* record = NULL; base 340 content/browser/media/webrtc_internals.cc base::DictionaryValue update; base 40 content/browser/media/webrtc_internals.h base::ProcessId pid, base 48 content/browser/media/webrtc_internals.h void OnRemovePeerConnection(base::ProcessId pid, int lid); base 53 content/browser/media/webrtc_internals.h void OnUpdatePeerConnection(base::ProcessId pid, base 61 content/browser/media/webrtc_internals.h void OnAddStats(base::ProcessId pid, int lid, const base::ListValue& value); base 72 content/browser/media/webrtc_internals.h base::ProcessId pid, base 94 content/browser/media/webrtc_internals.h base::FilePath aec_dump_file_path() { base 111 content/browser/media/webrtc_internals.h void SendUpdate(const std::string& command, base::Value* value); base 119 content/browser/media/webrtc_internals.h virtual void FileSelected(const base::FilePath& path, base 147 content/browser/media/webrtc_internals.h base::ListValue peer_connection_data_; base 156 content/browser/media/webrtc_internals.h base::ListValue get_user_media_requests_; base 165 content/browser/media/webrtc_internals.h base::FilePath aec_dump_file_path_; base 168 content/browser/media/webrtc_internals_browsertest.cc base::string16 expected_title16(base::ASCIIToUTF16(expected_title)); base 236 content/browser/media/webrtc_internals_browsertest.cc scoped_ptr<base::Value> value_requests; base 237 content/browser/media/webrtc_internals_browsertest.cc value_requests.reset(base::JSONReader::Read(json_requests)); base 239 content/browser/media/webrtc_internals_browsertest.cc EXPECT_EQ(base::Value::TYPE_LIST, value_requests->GetType()); base 241 content/browser/media/webrtc_internals_browsertest.cc base::ListValue* list_request = base 242 content/browser/media/webrtc_internals_browsertest.cc static_cast<base::ListValue*>(value_requests.get()); base 246 content/browser/media/webrtc_internals_browsertest.cc base::DictionaryValue* dict = NULL; base 417 content/browser/media/webrtc_internals_browsertest.cc void VerifyPageDumpStructure(base::Value* dump, base 421 content/browser/media/webrtc_internals_browsertest.cc EXPECT_NE((base::Value*)NULL, dump); base 422 content/browser/media/webrtc_internals_browsertest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, dump->GetType()); base 424 content/browser/media/webrtc_internals_browsertest.cc base::DictionaryValue* dict_dump = base 425 content/browser/media/webrtc_internals_browsertest.cc static_cast<base::DictionaryValue*>(dump); base 428 content/browser/media/webrtc_internals_browsertest.cc base::DictionaryValue::Iterator it(*dict_dump); base 430 content/browser/media/webrtc_internals_browsertest.cc base::Value* value = NULL; base 432 content/browser/media/webrtc_internals_browsertest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, value->GetType()); base 433 content/browser/media/webrtc_internals_browsertest.cc base::DictionaryValue* pc_dump = base 434 content/browser/media/webrtc_internals_browsertest.cc static_cast<base::DictionaryValue*>(value); base 440 content/browser/media/webrtc_internals_browsertest.cc EXPECT_EQ(base::Value::TYPE_LIST, value->GetType()); base 441 content/browser/media/webrtc_internals_browsertest.cc base::ListValue* list = static_cast<base::ListValue*>(value); base 446 content/browser/media/webrtc_internals_browsertest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, value->GetType()); base 447 content/browser/media/webrtc_internals_browsertest.cc base::DictionaryValue* dict = static_cast<base::DictionaryValue*>(value); base 454 content/browser/media/webrtc_internals_browsertest.cc void VerifyStatsDump(base::Value* dump, base 459 content/browser/media/webrtc_internals_browsertest.cc EXPECT_NE((base::Value*)NULL, dump); base 460 content/browser/media/webrtc_internals_browsertest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, dump->GetType()); base 462 content/browser/media/webrtc_internals_browsertest.cc base::DictionaryValue* dict_dump = base 463 content/browser/media/webrtc_internals_browsertest.cc static_cast<base::DictionaryValue*>(dump); base 464 content/browser/media/webrtc_internals_browsertest.cc base::Value* value = NULL; base 466 content/browser/media/webrtc_internals_browsertest.cc base::DictionaryValue* pc_dump = static_cast<base::DictionaryValue*>(value); base 471 content/browser/media/webrtc_internals_browsertest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, value->GetType()); base 473 content/browser/media/webrtc_internals_browsertest.cc base::DictionaryValue* dataSeries = base 474 content/browser/media/webrtc_internals_browsertest.cc static_cast<base::DictionaryValue*>(value); base 768 content/browser/media/webrtc_internals_browsertest.cc scoped_ptr<base::Value> dump; base 769 content/browser/media/webrtc_internals_browsertest.cc dump.reset(base::JSONReader::Read(dump_json)); base 788 content/browser/media/webrtc_internals_browsertest.cc dump.reset(base::JSONReader::Read(dump_json)); base 27 content/browser/media/webrtc_internals_message_handler.cc base::Bind(&WebRTCInternalsMessageHandler::OnGetAllStats, base 28 content/browser/media/webrtc_internals_message_handler.cc base::Unretained(this))); base 31 content/browser/media/webrtc_internals_message_handler.cc base::Bind(&WebRTCInternalsMessageHandler::OnSetAecRecordingEnabled, base 32 content/browser/media/webrtc_internals_message_handler.cc base::Unretained(this), true)); base 35 content/browser/media/webrtc_internals_message_handler.cc base::Bind(&WebRTCInternalsMessageHandler::OnSetAecRecordingEnabled, base 36 content/browser/media/webrtc_internals_message_handler.cc base::Unretained(this), false)); base 39 content/browser/media/webrtc_internals_message_handler.cc base::Bind(&WebRTCInternalsMessageHandler::OnDOMLoadDone, base 40 content/browser/media/webrtc_internals_message_handler.cc base::Unretained(this))); base 44 content/browser/media/webrtc_internals_message_handler.cc const base::ListValue* /* unused_list */) { base 53 content/browser/media/webrtc_internals_message_handler.cc bool enable, const base::ListValue* /* unused_list */) { base 61 content/browser/media/webrtc_internals_message_handler.cc const base::ListValue* /* unused_list */) { base 65 content/browser/media/webrtc_internals_message_handler.cc std::vector<const base::Value*> args_vector; base 66 content/browser/media/webrtc_internals_message_handler.cc base::string16 script = WebUI::GetJavascriptCall("setAecRecordingEnabled", base 75 content/browser/media/webrtc_internals_message_handler.cc const base::Value* args) { base 77 content/browser/media/webrtc_internals_message_handler.cc std::vector<const base::Value*> args_vector; base 80 content/browser/media/webrtc_internals_message_handler.cc base::string16 update = WebUI::GetJavascriptCall(command, args_vector); base 12 content/browser/media/webrtc_internals_message_handler.h namespace base { base 31 content/browser/media/webrtc_internals_message_handler.h const base::Value* args) OVERRIDE; base 35 content/browser/media/webrtc_internals_message_handler.h void OnGetAllStats(const base::ListValue* list); base 36 content/browser/media/webrtc_internals_message_handler.h void OnSetAecRecordingEnabled(bool enable, const base::ListValue* list); base 37 content/browser/media/webrtc_internals_message_handler.h void OnDOMLoadDone(const base::ListValue* list); base 10 content/browser/media/webrtc_internals_ui_observer.h namespace base { base 24 content/browser/media/webrtc_internals_ui_observer.h const base::Value* args) = 0; base 24 content/browser/media/webrtc_internals_unittest.cc const base::Value* value) OVERRIDE { base 34 content/browser/media/webrtc_internals_unittest.cc base::Value* value() { base 40 content/browser/media/webrtc_internals_unittest.cc scoped_ptr<base::Value> value_; base 50 content/browser/media/webrtc_internals_unittest.cc void VerifyString(const base::DictionaryValue* dict, base 58 content/browser/media/webrtc_internals_unittest.cc void VerifyInt(const base::DictionaryValue* dict, base 66 content/browser/media/webrtc_internals_unittest.cc void VerifyList(const base::DictionaryValue* dict, base 68 content/browser/media/webrtc_internals_unittest.cc const base::ListValue& expected) { base 69 content/browser/media/webrtc_internals_unittest.cc const base::ListValue* actual = NULL; base 74 content/browser/media/webrtc_internals_unittest.cc void VerifyGetUserMediaData(base::Value* actual_data, base 80 content/browser/media/webrtc_internals_unittest.cc base::DictionaryValue* dict = NULL; base 90 content/browser/media/webrtc_internals_unittest.cc base::MessageLoop io_loop_; base 116 content/browser/media/webrtc_internals_unittest.cc base::DictionaryValue* dict = NULL; base 138 content/browser/media/webrtc_internals_unittest.cc base::DictionaryValue* dict = NULL; base 161 content/browser/media/webrtc_internals_unittest.cc base::DictionaryValue* dict = NULL; base 230 content/browser/media/webrtc_internals_unittest.cc base::ListValue* list = NULL; base 234 content/browser/media/webrtc_internals_unittest.cc base::DictionaryValue* dict = NULL; base 244 content/browser/media/webrtc_internals_unittest.cc base::ListValue* log = NULL; base 260 content/browser/media/webrtc_internals_unittest.cc base::ListValue list; base 266 content/browser/media/webrtc_internals_unittest.cc base::DictionaryValue* dict = NULL; base 18 content/browser/message_port_message_filter.h typedef base::Callback<int(void)> NextRoutingIDCallback; base 38 content/browser/message_port_message_filter.h friend class base::DeleteHelper<MessagePortMessageFilter>; base 111 content/browser/message_port_service.cc const base::string16& message, base 133 content/browser/message_port_service.cc const base::string16& message, base 22 content/browser/message_port_service.h typedef std::vector<std::pair<base::string16, std::vector<int> > > base 35 content/browser/message_port_service.h const base::string16& message, base 60 content/browser/message_port_service.h const base::string16& message, base 40 content/browser/mime_registry_message_filter.cc const base::FilePath::StringType& ext, std::string* mime_type) { base 45 content/browser/mime_registry_message_filter.cc const base::FilePath& file_path, std::string* mime_type) { base 26 content/browser/mime_registry_message_filter.h void OnGetMimeTypeFromExtension(const base::FilePath::StringType& ext, base 28 content/browser/mime_registry_message_filter.h void OnGetMimeTypeFromFile(const base::FilePath& file_path, base 45 content/browser/net/sqlite_persistent_cookie_store.cc using base::Time; base 72 content/browser/net/sqlite_persistent_cookie_store.cc : public base::RefCountedThreadSafe<SQLitePersistentCookieStore::Backend> { base 75 content/browser/net/sqlite_persistent_cookie_store.cc const base::FilePath& path, base 76 content/browser/net/sqlite_persistent_cookie_store.cc const scoped_refptr<base::SequencedTaskRunner>& client_task_runner, base 77 content/browser/net/sqlite_persistent_cookie_store.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 112 content/browser/net/sqlite_persistent_cookie_store.cc void Flush(const base::Closure& callback); base 154 content/browser/net/sqlite_persistent_cookie_store.cc const base::Time& posted_at); base 159 content/browser/net/sqlite_persistent_cookie_store.cc const base::Time& posted_at); base 212 content/browser/net/sqlite_persistent_cookie_store.cc const base::Closure& task); base 214 content/browser/net/sqlite_persistent_cookie_store.cc const base::Closure& task); base 216 content/browser/net/sqlite_persistent_cookie_store.cc base::FilePath path_; base 226 content/browser/net/sqlite_persistent_cookie_store.cc base::Lock lock_; base 256 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta cookie_load_duration_; base 262 content/browser/net/sqlite_persistent_cookie_store.cc scoped_refptr<base::SequencedTaskRunner> client_task_runner_; base 263 content/browser/net/sqlite_persistent_cookie_store.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner_; base 267 content/browser/net/sqlite_persistent_cookie_store.cc base::Lock metrics_lock_; base 272 content/browser/net/sqlite_persistent_cookie_store.cc base::Time current_priority_wait_start_; base 275 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta priority_wait_duration_; base 356 content/browser/net/sqlite_persistent_cookie_store.cc explicit IncrementTimeDelta(base::TimeDelta* delta) : base 359 content/browser/net/sqlite_persistent_cookie_store.cc start_(base::Time::Now()) {} base 362 content/browser/net/sqlite_persistent_cookie_store.cc *delta_ = original_value_ + base::Time::Now() - start_; base 366 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta* delta_; base 367 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta original_value_; base 368 content/browser/net/sqlite_persistent_cookie_store.cc base::Time start_; base 376 content/browser/net/sqlite_persistent_cookie_store.cc std::string stmt(base::StringPrintf( base 413 content/browser/net/sqlite_persistent_cookie_store.cc PostBackgroundTask(FROM_HERE, base::Bind( base 415 content/browser/net/sqlite_persistent_cookie_store.cc loaded_callback, base::Time::Now())); base 422 content/browser/net/sqlite_persistent_cookie_store.cc base::AutoLock locked(metrics_lock_); base 424 content/browser/net/sqlite_persistent_cookie_store.cc current_priority_wait_start_ = base::Time::Now(); base 429 content/browser/net/sqlite_persistent_cookie_store.cc PostBackgroundTask(FROM_HERE, base::Bind( base 431 content/browser/net/sqlite_persistent_cookie_store.cc this, key, loaded_callback, base::Time::Now())); base 435 content/browser/net/sqlite_persistent_cookie_store.cc const LoadedCallback& loaded_callback, const base::Time& posted_at) { base 441 content/browser/net/sqlite_persistent_cookie_store.cc base::Time::Now() - posted_at, base 442 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 446 content/browser/net/sqlite_persistent_cookie_store.cc PostClientTask(FROM_HERE, base::Bind( base 456 content/browser/net/sqlite_persistent_cookie_store.cc const base::Time& posted_at) { base 462 content/browser/net/sqlite_persistent_cookie_store.cc base::Time::Now() - posted_at, base 463 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 478 content/browser/net/sqlite_persistent_cookie_store.cc PostClientTask(FROM_HERE, base::Bind( base 491 content/browser/net/sqlite_persistent_cookie_store.cc base::AutoLock locked(metrics_lock_); base 495 content/browser/net/sqlite_persistent_cookie_store.cc base::Time::Now() - current_priority_wait_start_; base 505 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 510 content/browser/net/sqlite_persistent_cookie_store.cc PostBackgroundTask(FROM_HERE, base::Bind( base 514 content/browser/net/sqlite_persistent_cookie_store.cc base::AutoLock locked(metrics_lock_); base 518 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 546 content/browser/net/sqlite_persistent_cookie_store.cc base::AutoLock locked(lock_); base 562 content/browser/net/sqlite_persistent_cookie_store.cc base::Time start = base::Time::Now(); base 564 content/browser/net/sqlite_persistent_cookie_store.cc const base::FilePath dir = path_.DirName(); base 565 content/browser/net/sqlite_persistent_cookie_store.cc if (!base::PathExists(dir) && !base::CreateDirectory(dir)) { base 570 content/browser/net/sqlite_persistent_cookie_store.cc if (base::GetFileSize(path_, &db_size)) base 578 content/browser/net/sqlite_persistent_cookie_store.cc base::Bind(&SQLitePersistentCookieStore::Backend::DatabaseErrorCallback, base 579 content/browser/net/sqlite_persistent_cookie_store.cc base::Unretained(this))); base 601 content/browser/net/sqlite_persistent_cookie_store.cc base::Time::Now() - start, base 602 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 605 content/browser/net/sqlite_persistent_cookie_store.cc start = base::Time::Now(); base 625 content/browser/net/sqlite_persistent_cookie_store.cc base::Time::Now() - start, base 626 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 629 content/browser/net/sqlite_persistent_cookie_store.cc base::Time start_parse = base::Time::Now(); base 644 content/browser/net/sqlite_persistent_cookie_store.cc base::Time::Now() - start_parse, base 645 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 650 content/browser/net/sqlite_persistent_cookie_store.cc base::Time::Now() - start, base 651 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 680 content/browser/net/sqlite_persistent_cookie_store.cc PostBackgroundTask(FROM_HERE, base::Bind( base 683 content/browser/net/sqlite_persistent_cookie_store.cc PostClientTask(FROM_HERE, base::Bind( base 753 content/browser/net/sqlite_persistent_cookie_store.cc base::AutoLock locked(lock_); base 824 content/browser/net/sqlite_persistent_cookie_store.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 841 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeTicks::Now() - start_time); base 845 content/browser/net/sqlite_persistent_cookie_store.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 850 content/browser/net/sqlite_persistent_cookie_store.cc std::string stmt(base::StringPrintf( base 863 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeTicks::Now() - start_time); base 867 content/browser/net/sqlite_persistent_cookie_store.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 883 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeTicks::Now() - start_time); base 893 content/browser/net/sqlite_persistent_cookie_store.cc if (!base::DeleteFile(path_, false) || base 937 content/browser/net/sqlite_persistent_cookie_store.cc base::AutoLock locked(lock_); base 945 content/browser/net/sqlite_persistent_cookie_store.cc FROM_HERE, base::Bind(&Backend::Commit, this), base 946 content/browser/net/sqlite_persistent_cookie_store.cc base::TimeDelta::FromMilliseconds(kCommitIntervalMs))) { base 951 content/browser/net/sqlite_persistent_cookie_store.cc PostBackgroundTask(FROM_HERE, base::Bind(&Backend::Commit, this)); base 960 content/browser/net/sqlite_persistent_cookie_store.cc base::AutoLock locked(lock_); base 1057 content/browser/net/sqlite_persistent_cookie_store.cc const base::Closure& callback) { base 1059 content/browser/net/sqlite_persistent_cookie_store.cc PostBackgroundTask(FROM_HERE, base::Bind(&Backend::Commit, this)); base 1078 content/browser/net/sqlite_persistent_cookie_store.cc base::Bind(&Backend::InternalBackgroundClose, this)); base 1160 content/browser/net/sqlite_persistent_cookie_store.cc PostBackgroundTask(FROM_HERE, base::Bind(&Backend::KillDatabase, this)); base 1177 content/browser/net/sqlite_persistent_cookie_store.cc base::AutoLock locked(lock_); base 1188 content/browser/net/sqlite_persistent_cookie_store.cc const tracked_objects::Location& origin, const base::Closure& task) { base 1196 content/browser/net/sqlite_persistent_cookie_store.cc const tracked_objects::Location& origin, const base::Closure& task) { base 1204 content/browser/net/sqlite_persistent_cookie_store.cc const base::FilePath& path, base 1205 content/browser/net/sqlite_persistent_cookie_store.cc const scoped_refptr<base::SequencedTaskRunner>& client_task_runner, base 1206 content/browser/net/sqlite_persistent_cookie_store.cc const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 1245 content/browser/net/sqlite_persistent_cookie_store.cc void SQLitePersistentCookieStore::Flush(const base::Closure& callback) { base 1262 content/browser/net/sqlite_persistent_cookie_store.cc const base::FilePath& path, base 1284 content/browser/net/sqlite_persistent_cookie_store.cc scoped_refptr<base::SequencedTaskRunner> client_task_runner = base 1286 content/browser/net/sqlite_persistent_cookie_store.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner = base 21 content/browser/net/sqlite_persistent_cookie_store.h namespace base { base 49 content/browser/net/sqlite_persistent_cookie_store.h const base::FilePath& path, base 50 content/browser/net/sqlite_persistent_cookie_store.h const scoped_refptr<base::SequencedTaskRunner>& client_task_runner, base 51 content/browser/net/sqlite_persistent_cookie_store.h const scoped_refptr<base::SequencedTaskRunner>& background_task_runner, base 64 content/browser/net/sqlite_persistent_cookie_store.h virtual void Flush(const base::Closure& callback) OVERRIDE; base 26 content/browser/net/sqlite_persistent_cookie_store_perftest.cc const base::FilePath::CharType cookie_filename[] = FILE_PATH_LITERAL("Cookies"); base 33 content/browser/net/sqlite_persistent_cookie_store_perftest.cc : pool_owner_(new base::SequencedWorkerPoolOwner(1, "Background Pool")), base 49 content/browser/net/sqlite_persistent_cookie_store_perftest.cc store_->Load(base::Bind(&SQLitePersistentCookieStorePerfTest::OnLoaded, base 50 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::Unretained(this))); base 54 content/browser/net/sqlite_persistent_cookie_store_perftest.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner() { base 59 content/browser/net/sqlite_persistent_cookie_store_perftest.cc scoped_refptr<base::SequencedTaskRunner> client_task_runner() { base 75 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::Time t = base::Time::Now(); base 77 content/browser/net/sqlite_persistent_cookie_store_perftest.cc std::string domain_name(base::StringPrintf(".domain_%d.com", domain_num)); base 80 content/browser/net/sqlite_persistent_cookie_store_perftest.cc t += base::TimeDelta::FromInternalValue(10); base 83 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::StringPrintf("Cookie_%d", cookie_num), "1", base 95 content/browser/net/sqlite_persistent_cookie_store_perftest.cc pool_owner_.reset(new base::SequencedWorkerPoolOwner(1, "pool")); base 110 content/browser/net/sqlite_persistent_cookie_store_perftest.cc scoped_ptr<base::SequencedWorkerPoolOwner> pool_owner_; base 111 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::WaitableEvent loaded_event_; base 112 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::WaitableEvent key_loaded_event_; base 114 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::ScopedTempDir temp_dir_; base 121 content/browser/net/sqlite_persistent_cookie_store_perftest.cc std::string domain_name(base::StringPrintf("domain_%d.com", domain_num)); base 122 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::PerfTimeLogger timer( base 125 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::Bind(&SQLitePersistentCookieStorePerfTest::OnKeyLoaded, base 126 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::Unretained(this))); base 136 content/browser/net/sqlite_persistent_cookie_store_perftest.cc base::PerfTimeLogger timer("Load all cookies"); base 38 content/browser/net/sqlite_persistent_cookie_store_unittest.cc const base::FilePath::CharType kCookieFilename[] = FILE_PATH_LITERAL("Cookies"); base 77 content/browser/net/sqlite_persistent_cookie_store_unittest.cc : pool_owner_(new base::SequencedWorkerPoolOwner(3, "Background Pool")), base 95 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->Load(base::Bind(&SQLitePersistentCookieStoreTest::OnLoaded, base 96 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Unretained(this))); base 102 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::WaitableEvent event(false, false); base 103 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->Flush(base::Bind(&base::WaitableEvent::Signal, base 104 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Unretained(&event))); base 108 content/browser/net/sqlite_persistent_cookie_store_unittest.cc scoped_refptr<base::SequencedTaskRunner> background_task_runner() { base 113 content/browser/net/sqlite_persistent_cookie_store_unittest.cc scoped_refptr<base::SequencedTaskRunner> client_task_runner() { base 125 content/browser/net/sqlite_persistent_cookie_store_unittest.cc pool_owner_.reset(new base::SequencedWorkerPoolOwner(3, "Background Pool")); base 161 content/browser/net/sqlite_persistent_cookie_store_unittest.cc const base::Time& creation) { base 170 content/browser/net/sqlite_persistent_cookie_store_unittest.cc if (!base::ReadFileToString(temp_dir_.path().Append(kCookieFilename), base 186 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::MessageLoop main_loop_; base 187 content/browser/net/sqlite_persistent_cookie_store_unittest.cc scoped_ptr<base::SequencedWorkerPoolOwner> pool_owner_; base 188 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::WaitableEvent loaded_event_; base 189 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::WaitableEvent key_loaded_event_; base 190 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::WaitableEvent db_thread_event_; base 192 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::ScopedTempDir temp_dir_; base 199 content/browser/net/sqlite_persistent_cookie_store_unittest.cc AddCookie("A", "B", "foo.bar", "/", base::Time::Now()); base 227 content/browser/net/sqlite_persistent_cookie_store_unittest.cc AddCookie("X", "Y", "foo.bar", "/", base::Time::Now()); base 240 content/browser/net/sqlite_persistent_cookie_store_unittest.cc AddCookie("A", "B", "foo.bar", "/", base::Time::Now()); base 267 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time t = base::Time::Now(); base 269 content/browser/net/sqlite_persistent_cookie_store_unittest.cc t += base::TimeDelta::FromInternalValue(10); base 271 content/browser/net/sqlite_persistent_cookie_store_unittest.cc t += base::TimeDelta::FromInternalValue(10); base 273 content/browser/net/sqlite_persistent_cookie_store_unittest.cc t += base::TimeDelta::FromInternalValue(10); base 287 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Bind(&SQLitePersistentCookieStoreTest::WaitOnDBEvent, base 288 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Unretained(this))); base 289 content/browser/net/sqlite_persistent_cookie_store_unittest.cc store_->Load(base::Bind(&SQLitePersistentCookieStoreTest::OnLoaded, base 290 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Unretained(this))); base 292 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Bind(&SQLitePersistentCookieStoreTest::OnKeyLoaded, base 293 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Unretained(this))); base 296 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Bind(&SQLitePersistentCookieStoreTest::WaitOnDBEvent, base 297 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Unretained(this))); base 340 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::FilePath path = temp_dir_.path().Append(kCookieFilename); base 341 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::File::Info info; base 342 content/browser/net/sqlite_persistent_cookie_store_unittest.cc ASSERT_TRUE(base::GetFileInfo(path, &info)); base 348 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time t = base::Time::Now() + base::TimeDelta::FromMicroseconds(c); base 357 content/browser/net/sqlite_persistent_cookie_store_unittest.cc ASSERT_TRUE(base::GetFileInfo(path, &info)); base 368 content/browser/net/sqlite_persistent_cookie_store_unittest.cc GURL(), "C", "D", "sessioncookie.com", "/", base::Time::Now(), base 369 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time(), base::Time::Now(), false, false, base 396 content/browser/net/sqlite_persistent_cookie_store_unittest.cc GURL(), "C", "D", "sessioncookie.com", "/", base::Time::Now(), base 397 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time(), base::Time::Now(), false, false, base 428 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now(), base::Time(), base::Time::Now(), false, false, base 434 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(1), base 435 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1), base 436 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now(), false, false, base 481 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now() - base::TimeDelta::FromMinutes(1), base 482 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1), base 483 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now(), false, false, base 490 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now() - base::TimeDelta::FromMinutes(2), base 491 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1), base 492 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now(), false, false, base 499 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now() - base::TimeDelta::FromMinutes(3), base 500 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1), base 501 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now(), false, false, base 543 content/browser/net/sqlite_persistent_cookie_store_unittest.cc AddCookie("name", "value123XYZ", "foo.bar", "/", base::Time::Now()); base 562 content/browser/net/sqlite_persistent_cookie_store_unittest.cc AddCookie("name", "encrypted_value123XYZ", "foo.bar", "/", base::Time::Now()); base 564 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::Time::Now() + base::TimeDelta::FromInternalValue(10)); base 32 content/browser/net/view_http_cache_job_factory.cc callback_(base::Bind(&ViewHttpCacheJob::OnStartCompleted, base 33 content/browser/net/view_http_cache_job_factory.cc base::Unretained(this))) { base 51 content/browser/net/view_http_cache_job_factory.cc class Core : public base::RefCounted<Core> { base 55 content/browser/net/view_http_cache_job_factory.cc callback_(base::Bind(&Core::OnIOComplete, this)) { base 58 content/browser/net/view_http_cache_job_factory.cc int Start(const net::URLRequest& request, const base::Closure& callback); base 81 content/browser/net/view_http_cache_job_factory.cc base::Closure user_callback_; base 92 content/browser/net/view_http_cache_job_factory.cc base::WeakPtrFactory<ViewHttpCacheJob> weak_factory_; base 93 content/browser/net/view_http_cache_job_factory.cc base::Closure callback_; base 99 content/browser/net/view_http_cache_job_factory.cc base::MessageLoop::current()->PostTask( base 101 content/browser/net/view_http_cache_job_factory.cc base::Bind(&ViewHttpCacheJob::StartAsync, weak_factory_.GetWeakPtr())); base 131 content/browser/net/view_http_cache_job_factory.cc const base::Closure& callback) { base 16 content/browser/notification_service_impl.cc base::LazyInstance<base::ThreadLocalPointer<NotificationServiceImpl> > base 26 content/browser/pepper_flash_settings_helper_impl.cc const base::FilePath& path, base 45 content/browser/pepper_flash_settings_helper_impl.cc base::ProcessHandle* renderer_handle, base 47 content/browser/pepper_flash_settings_helper_impl.cc *renderer_handle = base::kNullProcessHandle; base 53 content/browser/pepper_flash_settings_helper_impl.cc base::ProcessId /* plugin_pid */, base 23 content/browser/pepper_flash_settings_helper_impl.h const base::FilePath& path, base 27 content/browser/pepper_flash_settings_helper_impl.h virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, base 30 content/browser/pepper_flash_settings_helper_impl.h base::ProcessId plugin_pid, base 36 content/browser/plugin_browsertest.cc using base::ASCIIToUTF16; base 41 content/browser/plugin_browsertest.cc void SetUrlRequestMock(const base::FilePath& path) { base 61 content/browser/plugin_browsertest.cc base::win::RegKey regkey; base 72 content/browser/plugin_browsertest.cc base::FilePath plugin_dir; base 73 content/browser/plugin_browsertest.cc PathService::Get(base::DIR_MODULE, &plugin_dir); base 82 content/browser/plugin_browsertest.cc base::FilePath path = GetTestFilePath("", ""); base 84 content/browser/plugin_browsertest.cc BrowserThread::IO, FROM_HERE, base::Bind(&SetUrlRequestMock, path)); base 88 content/browser/plugin_browsertest.cc base::string16 expected_title(ASCIIToUTF16("OK")); base 93 content/browser/plugin_browsertest.cc base::string16 title = title_watcher.WaitAndGetTitle(); base 118 content/browser/plugin_browsertest.cc base::FilePath path = GetTestFilePath("plugin", filename); base 119 content/browser/plugin_browsertest.cc if (!base::PathExists(path)) { base 175 content/browser/plugin_browsertest.cc base::string16 expected_title(ASCIIToUTF16("OK")); base 193 content/browser/plugin_browsertest.cc base::FilePath().AppendASCII("npapi"). base 206 content/browser/plugin_browsertest.cc base::string16 expected_title(ASCIIToUTF16("OK")); base 377 content/browser/plugin_browsertest.cc base::FilePath().AppendASCII("npapi"). base 400 content/browser/plugin_browsertest.cc base::FilePath().AppendASCII("npapi"). base 413 content/browser/plugin_browsertest.cc base::string16 expected_title(ASCIIToUTF16("OK")); base 523 content/browser/plugin_browsertest.cc base::Bind(&TestResourceDispatcherHostDelegate::GotCookie, base 524 content/browser/plugin_browsertest.cc base::Unretained(this), found_cookie)); base 63 content/browser/plugin_data_remover_impl.cc public base::RefCountedThreadSafe<Context, base 66 content/browser/plugin_data_remover_impl.cc Context(base::Time begin_time, BrowserContext* browser_context) base 67 content/browser/plugin_data_remover_impl.cc : event_(new base::WaitableEvent(true, false)), base 79 content/browser/plugin_data_remover_impl.cc base::Bind(&Context::InitOnIOThread, this, mime_type)); base 83 content/browser/plugin_data_remover_impl.cc base::Bind(&Context::OnTimeout, this), base 84 content/browser/plugin_data_remover_impl.cc base::TimeDelta::FromMilliseconds(kRemovalTimeoutMs)); base 94 content/browser/plugin_data_remover_impl.cc base::FilePath plugin_path; base 99 content/browser/plugin_data_remover_impl.cc remove_start_time_ = base::Time::Now(); base 158 content/browser/plugin_data_remover_impl.cc virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, base 160 content/browser/plugin_data_remover_impl.cc *renderer_handle = base::kNullProcessHandle; base 166 content/browser/plugin_data_remover_impl.cc base::ProcessId /* peer_pid */, base 195 content/browser/plugin_data_remover_impl.cc base::WaitableEvent* event() { return event_.get(); } base 203 content/browser/plugin_data_remover_impl.cc base::FilePath profile_path = base 210 content/browser/plugin_data_remover_impl.cc base::FilePath plugin_data_path = base 211 content/browser/plugin_data_remover_impl.cc profile_path.Append(base::FilePath(base::UTF8ToUTF16(plugin_name_))); base 213 content/browser/plugin_data_remover_impl.cc base::FilePath plugin_data_path = base 214 content/browser/plugin_data_remover_impl.cc profile_path.Append(base::FilePath(plugin_name_)); base 238 content/browser/plugin_data_remover_impl.cc (base::Time::Now() - begin_time_).InSeconds(); base 265 content/browser/plugin_data_remover_impl.cc base::Time::Now() - remove_start_time_); base 279 content/browser/plugin_data_remover_impl.cc scoped_ptr<base::WaitableEvent> event_; base 281 content/browser/plugin_data_remover_impl.cc base::Time remove_start_time_; base 283 content/browser/plugin_data_remover_impl.cc base::Time begin_time_; base 288 content/browser/plugin_data_remover_impl.cc base::FilePath browser_context_path_; base 310 content/browser/plugin_data_remover_impl.cc base::WaitableEvent* PluginDataRemoverImpl::StartRemoving( base 311 content/browser/plugin_data_remover_impl.cc base::Time begin_time) { base 23 content/browser/plugin_data_remover_impl.h virtual base::WaitableEvent* StartRemoving(base::Time begin_time) OVERRIDE; base 27 content/browser/plugin_data_remover_impl_browsertest.cc void OnWaitableEventSignaled(base::WaitableEvent* waitable_event) { base 28 content/browser/plugin_data_remover_impl_browsertest.cc base::MessageLoop::current()->Quit(); base 33 content/browser/plugin_data_remover_impl_browsertest.cc base::FilePath browser_directory; base 34 content/browser/plugin_data_remover_impl_browsertest.cc PathService::Get(base::DIR_MODULE, &browser_directory); base 51 content/browser/plugin_data_remover_impl_browsertest.cc base::WaitableEventWatcher watcher; base 52 content/browser/plugin_data_remover_impl_browsertest.cc base::WaitableEvent* event = base 53 content/browser/plugin_data_remover_impl_browsertest.cc plugin_data_remover.StartRemoving(base::Time()); base 56 content/browser/plugin_data_remover_impl_browsertest.cc base::Bind(&PluginDataRemoverTest::OnWaitableEventSignaled, this)); base 32 content/browser/plugin_loader_posix.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 33 content/browser/plugin_loader_posix.cc base::Bind(callback, cached_plugins)); base 44 content/browser/plugin_loader_posix.cc base::Bind(&PluginLoaderPosix::GetPluginsToLoad, base 52 content/browser/plugin_loader_posix.cc callbacks_.push_back(base::Bind(&PluginLoaderPosix::GetPluginsWrapper, base 69 content/browser/plugin_loader_posix.cc base::UserMetricsAction("PluginLoaderPosix.UtilityProcessCrashed")); base 96 content/browser/plugin_loader_posix.cc base::TimeTicks start_time(base::TimeTicks::Now()); base 110 content/browser/plugin_loader_posix.cc base::Bind(&PluginLoaderPosix::LoadPluginsInternal, base 114 content/browser/plugin_loader_posix.cc (base::TimeTicks::Now() - start_time) * base 115 content/browser/plugin_loader_posix.cc base::Time::kMicrosecondsPerMillisecond); base 127 content/browser/plugin_loader_posix.cc base::UserMetricsAction("PluginLoaderPosix.LaunchUtilityProcess")); base 130 content/browser/plugin_loader_posix.cc load_start_time_ = base::TimeTicks::Now(); base 171 content/browser/plugin_loader_posix.cc const base::FilePath& plugin_path) { base 185 content/browser/plugin_loader_posix.cc const base::FilePath& plugin_path) { base 207 content/browser/plugin_loader_posix.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 208 content/browser/plugin_loader_posix.cc base::Bind(*it, loaded_plugins_)); base 213 content/browser/plugin_loader_posix.cc (base::TimeTicks::Now() - load_start_time_) base 214 content/browser/plugin_loader_posix.cc * base::Time::kMicrosecondsPerMillisecond); base 215 content/browser/plugin_loader_posix.cc load_start_time_ = base::TimeTicks(); base 19 content/browser/plugin_loader_posix.h namespace base { base 81 content/browser/plugin_loader_posix.h void OnPluginLoadFailed(uint32 index, const base::FilePath& plugin_path); base 85 content/browser/plugin_loader_posix.h bool MaybeAddInternalPlugin(const base::FilePath& plugin_path); base 93 content/browser/plugin_loader_posix.h base::WeakPtr<UtilityProcessHost> process_host_; base 97 content/browser/plugin_loader_posix.h std::vector<base::FilePath> canonical_list_; base 114 content/browser/plugin_loader_posix.h base::TimeTicks load_start_time_; base 18 content/browser/plugin_loader_posix_unittest.cc using base::ASCIIToUTF16; base 30 content/browser/plugin_loader_posix_unittest.cc std::vector<base::FilePath>* canonical_list() { base 54 content/browser/plugin_loader_posix_unittest.cc void TestOnPluginLoadFailed(uint32 index, const base::FilePath& path) { base 69 content/browser/plugin_loader_posix_unittest.cc : plugin1_(ASCIIToUTF16("plugin1"), base::FilePath("/tmp/one.plugin"), base 70 content/browser/plugin_loader_posix_unittest.cc ASCIIToUTF16("1.0"), base::string16()), base 71 content/browser/plugin_loader_posix_unittest.cc plugin2_(ASCIIToUTF16("plugin2"), base::FilePath("/tmp/two.plugin"), base 72 content/browser/plugin_loader_posix_unittest.cc ASCIIToUTF16("2.0"), base::string16()), base 73 content/browser/plugin_loader_posix_unittest.cc plugin3_(ASCIIToUTF16("plugin3"), base::FilePath("/tmp/three.plugin"), base 74 content/browser/plugin_loader_posix_unittest.cc ASCIIToUTF16("3.0"), base::string16()), base 84 content/browser/plugin_loader_posix_unittest.cc base::MessageLoop* message_loop() { return &message_loop_; } base 101 content/browser/plugin_loader_posix_unittest.cc base::ShadowingAtExitManager at_exit_manager_; base 103 content/browser/plugin_loader_posix_unittest.cc base::MessageLoopForIO message_loop_; base 113 content/browser/plugin_loader_posix_unittest.cc base::Bind(&VerifyCallback, base::Unretained(&did_callback)); base 134 content/browser/plugin_loader_posix_unittest.cc base::Bind(&VerifyCallback, base::Unretained(&did_callback)); base 169 content/browser/plugin_loader_posix_unittest.cc base::Bind(&VerifyCallback, base::Unretained(&did_callback)); base 209 content/browser/plugin_loader_posix_unittest.cc base::Bind(&VerifyCallback, base::Unretained(&did_callback)); base 251 content/browser/plugin_loader_posix_unittest.cc base::Bind(&VerifyCallback, base::Unretained(&did_callback)); base 289 content/browser/plugin_loader_posix_unittest.cc base::Bind(&VerifyCallback, base::Unretained(&did_callback)); base 321 content/browser/plugin_loader_posix_unittest.cc base::Bind(&VerifyCallback, base::Unretained(&did_callback)); base 328 content/browser/plugin_loader_posix_unittest.cc plugin2_.path = base::FilePath("/internal/plugin.plugin"); base 369 content/browser/plugin_loader_posix_unittest.cc base::Bind(&VerifyCallback, base::Unretained(&did_callback)); base 151 content/browser/plugin_process_host.cc base::Bind(base::mac::ReleaseFullScreen, base 152 content/browser/plugin_process_host.cc base::mac::kFullScreenModeHideAll)); base 157 content/browser/plugin_process_host.cc base::Bind(base::mac::SetCursorVisibility, true)); base 194 content/browser/plugin_process_host.cc base::FilePath exe_path = ChildProcessHost::GetChildPath(flags); base 246 content/browser/plugin_process_host.cc base::EnvironmentMap env; base 275 content/browser/plugin_process_host.cc base::Bind(&PluginProcessHost::GetContexts, base 276 content/browser/plugin_process_host.cc base::Unretained(this))); base 359 content/browser/plugin_process_host.cc base::Bind(&BrowserChildProcessHostImpl::NotifyProcessInstanceCreated, base 50 content/browser/plugin_process_host_mac.cc base::Bind(base::mac::RequestFullScreen, base 51 content/browser/plugin_process_host_mac.cc base::mac::kFullScreenModeHideAll)); base 61 content/browser/plugin_process_host_mac.cc base::mac::ActivateProcess(base::GetCurrentProcId()); base 62 content/browser/plugin_process_host_mac.cc base::mac::ReleaseFullScreen(base::mac::kFullScreenModeHideAll); base 64 content/browser/plugin_process_host_mac.cc base::mac::ActivateProcess(plugin_pid); base 83 content/browser/plugin_process_host_mac.cc base::Bind(ReleasePluginFullScreen, plugin_pid)); base 89 content/browser/plugin_process_host_mac.cc base::Bind(base::mac::ActivateProcess, base::GetCurrentProcId())); base 101 content/browser/plugin_process_host_mac.cc base::Bind(base::mac::ActivateProcess, process_->GetData().handle)); base 109 content/browser/plugin_process_host_mac.cc base::Bind(base::mac::SetCursorVisibility, base 44 content/browser/plugin_service_impl.cc using ::base::FilePathWatcher; base 82 content/browser/plugin_service_impl.cc base::SequencedWorkerPool::SequenceToken token) { base 101 content/browser/plugin_service_impl.cc void NotifyPluginDirChanged(const base::FilePath& path, bool error) { base 113 content/browser/plugin_service_impl.cc base::Bind(&PluginService::PurgePluginListCache, base 118 content/browser/plugin_service_impl.cc void ForwardCallback(base::MessageLoopProxy* target_loop, base 121 content/browser/plugin_service_impl.cc target_loop->PostTask(FROM_HERE, base::Bind(callback, plugins)); base 176 content/browser/plugin_service_impl.cc base::Bind(&WillLoadPluginsCallback, plugin_list_token_)); base 182 content/browser/plugin_service_impl.cc base::FilePath path = base 203 content/browser/plugin_service_impl.cc hkcu_event_.reset(new base::WaitableEvent(hkcu_key_.watch_event())); base 204 content/browser/plugin_service_impl.cc base::WaitableEventWatcher::EventCallback callback = base 205 content/browser/plugin_service_impl.cc base::Bind(&PluginServiceImpl::OnWaitableEventSignaled, base 206 content/browser/plugin_service_impl.cc base::Unretained(this)); base 214 content/browser/plugin_service_impl.cc hklm_event_.reset(new base::WaitableEvent(hklm_key_.watch_event())); base 215 content/browser/plugin_service_impl.cc base::WaitableEventWatcher::EventCallback callback = base 216 content/browser/plugin_service_impl.cc base::Bind(&PluginServiceImpl::OnWaitableEventSignaled, base 217 content/browser/plugin_service_impl.cc base::Unretained(this)); base 228 content/browser/plugin_service_impl.cc std::vector<base::FilePath> plugin_dirs; base 243 content/browser/plugin_service_impl.cc base::Bind(&PluginServiceImpl::RegisterFilePathWatcher, watcher, base 251 content/browser/plugin_service_impl.cc const base::FilePath& plugin_path) { base 261 content/browser/plugin_service_impl.cc const base::FilePath& plugin_path, base 262 content/browser/plugin_service_impl.cc const base::FilePath& profile_data_directory) { base 273 content/browser/plugin_service_impl.cc const base::FilePath& broker_path) { base 284 content/browser/plugin_service_impl.cc const base::FilePath& plugin_path) { base 301 content/browser/plugin_service_impl.cc if (!counted && base::UTF16ToUTF8(info.name) == kFlashPluginName) { base 324 content/browser/plugin_service_impl.cc const base::FilePath& plugin_path, base 325 content/browser/plugin_service_impl.cc const base::FilePath& profile_data_directory) { base 368 content/browser/plugin_service_impl.cc const base::FilePath& plugin_path) { base 408 content/browser/plugin_service_impl.cc GetPlugins(base::Bind( base 410 content/browser/plugin_service_impl.cc base::Unretained(this), params, url, mime_type, client)); base 415 content/browser/plugin_service_impl.cc const base::FilePath& plugin_path, base 416 content/browser/plugin_service_impl.cc const base::FilePath& profile_data_directory, base 424 content/browser/plugin_service_impl.cc client->OnPpapiChannelOpened(IPC::ChannelHandle(), base::kNullProcessId, 0); base 430 content/browser/plugin_service_impl.cc const base::FilePath& path, base 438 content/browser/plugin_service_impl.cc client->OnPpapiChannelOpened(IPC::ChannelHandle(), base::kNullProcessId, 0); base 474 content/browser/plugin_service_impl.cc base::FilePath plugin_path; base 481 content/browser/plugin_service_impl.cc base::Bind(&PluginServiceImpl::FinishOpenChannelToPlugin, base 482 content/browser/plugin_service_impl.cc base::Unretained(this), base 490 content/browser/plugin_service_impl.cc const base::FilePath& plugin_path, base 555 content/browser/plugin_service_impl.cc bool PluginServiceImpl::GetPluginInfoByPath(const base::FilePath& plugin_path, base 572 content/browser/plugin_service_impl.cc base::string16 PluginServiceImpl::GetPluginDisplayNameByPath( base 573 content/browser/plugin_service_impl.cc const base::FilePath& path) { base 574 content/browser/plugin_service_impl.cc base::string16 plugin_name = path.LossyDisplayName(); base 583 content/browser/plugin_service_impl.cc if (EndsWith(plugin_name, base::ASCIIToUTF16(kPluginExtension), true)) base 591 content/browser/plugin_service_impl.cc scoped_refptr<base::MessageLoopProxy> target_loop( base 592 content/browser/plugin_service_impl.cc base::MessageLoop::current()->message_loop_proxy()); base 599 content/browser/plugin_service_impl.cc base::Bind(&PluginServiceImpl::GetPluginsInternal, base 600 content/browser/plugin_service_impl.cc base::Unretained(this), base 602 content/browser/plugin_service_impl.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); base 607 content/browser/plugin_service_impl.cc base::Bind(&PluginServiceImpl::GetPluginsOnIOThread, base 608 content/browser/plugin_service_impl.cc base::Unretained(this), target_loop, callback)); base 615 content/browser/plugin_service_impl.cc base::MessageLoopProxy* target_loop, base 624 content/browser/plugin_service_impl.cc base::Bind(callback, plugins)); base 629 content/browser/plugin_service_impl.cc base::MessageLoopProxy* target_loop, base 640 content/browser/plugin_service_impl.cc base::Bind(&ForwardCallback, make_scoped_refptr(target_loop), callback)); base 645 content/browser/plugin_service_impl.cc base::WaitableEvent* waitable_event) { base 670 content/browser/plugin_service_impl.cc const base::FilePath& plugin_path) { base 698 content/browser/plugin_service_impl.cc const base::FilePath& path) { base 700 content/browser/plugin_service_impl.cc base::Bind(&NotifyPluginDirChanged)); base 713 content/browser/plugin_service_impl.cc void PluginServiceImpl::ForcePluginShutdown(const base::FilePath& plugin_path) { base 717 content/browser/plugin_service_impl.cc base::Bind(&PluginServiceImpl::ForcePluginShutdown, base 718 content/browser/plugin_service_impl.cc base::Unretained(this), plugin_path)); base 730 content/browser/plugin_service_impl.cc void PluginServiceImpl::RegisterPluginCrash(const base::FilePath& path) { base 732 content/browser/plugin_service_impl.cc std::map<base::FilePath, std::vector<base::Time> >::iterator i = base 735 content/browser/plugin_service_impl.cc crash_times_[path] = std::vector<base::Time>(); base 741 content/browser/plugin_service_impl.cc base::Time time = base::Time::Now(); base 745 content/browser/plugin_service_impl.cc bool PluginServiceImpl::IsPluginUnstable(const base::FilePath& path) { base 747 content/browser/plugin_service_impl.cc std::map<base::FilePath, std::vector<base::Time> >::const_iterator i = base 755 content/browser/plugin_service_impl.cc base::TimeDelta delta = base::Time::Now() - i->second[0]; base 763 content/browser/plugin_service_impl.cc void PluginServiceImpl::AddExtraPluginPath(const base::FilePath& path) { base 773 content/browser/plugin_service_impl.cc void PluginServiceImpl::RemoveExtraPluginPath(const base::FilePath& path) { base 777 content/browser/plugin_service_impl.cc void PluginServiceImpl::AddExtraPluginDir(const base::FilePath& path) { base 792 content/browser/plugin_service_impl.cc void PluginServiceImpl::UnregisterInternalPlugin(const base::FilePath& path) { base 817 content/browser/plugin_service_impl.cc base::Bind(&NotifyPluginsOfActivation)); base 823 content/browser/plugin_service_impl.cc base::string16* plugin_property) { base 839 content/browser/plugin_service_impl.cc base::string16* plugin_name, base 840 content/browser/plugin_service_impl.cc base::string16* plugin_version) { base 852 content/browser/plugin_service_impl.cc return gfx::GetClassName(window) == base::string16(kNativeWindowClassName); base 40 content/browser/plugin_service_impl.h namespace base { base 86 content/browser/plugin_service_impl.h virtual bool GetPluginInfoByPath(const base::FilePath& plugin_path, base 88 content/browser/plugin_service_impl.h virtual base::string16 GetPluginDisplayNameByPath( base 89 content/browser/plugin_service_impl.h const base::FilePath& path) OVERRIDE; base 92 content/browser/plugin_service_impl.h const base::FilePath& plugin_path) OVERRIDE; base 95 content/browser/plugin_service_impl.h virtual void ForcePluginShutdown(const base::FilePath& plugin_path) OVERRIDE; base 96 content/browser/plugin_service_impl.h virtual bool IsPluginUnstable(const base::FilePath& plugin_path) OVERRIDE; base 98 content/browser/plugin_service_impl.h virtual void AddExtraPluginPath(const base::FilePath& path) OVERRIDE; base 99 content/browser/plugin_service_impl.h virtual void RemoveExtraPluginPath(const base::FilePath& path) OVERRIDE; base 100 content/browser/plugin_service_impl.h virtual void AddExtraPluginDir(const base::FilePath& path) OVERRIDE; base 103 content/browser/plugin_service_impl.h virtual void UnregisterInternalPlugin(const base::FilePath& path) OVERRIDE; base 112 content/browser/plugin_service_impl.h base::string16* plugin_name, base 113 content/browser/plugin_service_impl.h base::string16* plugin_version) OVERRIDE; base 125 content/browser/plugin_service_impl.h int render_process_id, const base::FilePath& plugin_path); base 128 content/browser/plugin_service_impl.h const base::FilePath& plugin_path, base 129 content/browser/plugin_service_impl.h const base::FilePath& profile_data_directory); base 131 content/browser/plugin_service_impl.h int render_process_id, const base::FilePath& plugin_path); base 143 content/browser/plugin_service_impl.h const base::FilePath& plugin_path, base 144 content/browser/plugin_service_impl.h const base::FilePath& profile_data_directory, base 147 content/browser/plugin_service_impl.h const base::FilePath& path, base 154 content/browser/plugin_service_impl.h void RegisterPluginCrash(const base::FilePath& plugin_path); base 164 content/browser/plugin_service_impl.h void OnWaitableEventSignaled(base::WaitableEvent* waitable_event); base 169 content/browser/plugin_service_impl.h PluginProcessHost* FindNpapiPluginProcess(const base::FilePath& plugin_path); base 171 content/browser/plugin_service_impl.h const base::FilePath& plugin_path, base 172 content/browser/plugin_service_impl.h const base::FilePath& profile_data_directory); base 174 content/browser/plugin_service_impl.h const base::FilePath& broker_path); base 179 content/browser/plugin_service_impl.h void GetPluginsInternal(base::MessageLoopProxy* target_loop, base 184 content/browser/plugin_service_impl.h base::MessageLoopProxy* target_loop, base 209 content/browser/plugin_service_impl.h const base::FilePath& plugin_path, base 214 content/browser/plugin_service_impl.h static void RegisterFilePathWatcher(base::FilePathWatcher* watcher, base 215 content/browser/plugin_service_impl.h const base::FilePath& path); base 220 content/browser/plugin_service_impl.h base::win::RegKey hkcu_key_; base 221 content/browser/plugin_service_impl.h base::win::RegKey hklm_key_; base 222 content/browser/plugin_service_impl.h scoped_ptr<base::WaitableEvent> hkcu_event_; base 223 content/browser/plugin_service_impl.h scoped_ptr<base::WaitableEvent> hklm_event_; base 224 content/browser/plugin_service_impl.h base::WaitableEventWatcher hkcu_watcher_; base 225 content/browser/plugin_service_impl.h base::WaitableEventWatcher hklm_watcher_; base 229 content/browser/plugin_service_impl.h ScopedVector<base::FilePathWatcher> file_watchers_; base 240 content/browser/plugin_service_impl.h base::SequencedWorkerPool::SequenceToken plugin_list_token_; base 247 content/browser/plugin_service_impl.h std::map<base::FilePath, std::vector<base::Time> > crash_times_; base 108 content/browser/plugin_service_impl_browsertest.cc BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure()); base 132 content/browser/plugin_service_impl_browsertest.cc const base::FilePath& path) OVERRIDE { return false; } base 145 content/browser/plugin_service_impl_browsertest.cc base::FilePath browser_directory; base 146 content/browser/plugin_service_impl_browsertest.cc PathService::Get(base::DIR_MODULE, &browser_directory); base 167 content/browser/plugin_service_impl_browsertest.cc base::Bind(&OpenChannel, &mock_client)); base 179 content/browser/plugin_service_impl_browsertest.cc base::Bind(&OpenChannel, &mock_client)); base 220 content/browser/plugin_service_impl_browsertest.cc BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure()); base 233 content/browser/plugin_service_impl_browsertest.cc base::Bind(&base::DoNothing), base 234 content/browser/plugin_service_impl_browsertest.cc base::Bind(&QuitUIMessageLoopFromIOThread)); base 242 content/browser/plugin_service_impl_browsertest.cc base::Bind(OpenChannelAndThenCancel, &mock_client)); base 272 content/browser/plugin_service_impl_browsertest.cc base::MessageLoop::current()->PostTask( base 274 content/browser/plugin_service_impl_browsertest.cc base::Bind(&PluginProcessHost::CancelPendingRequest, base 275 content/browser/plugin_service_impl_browsertest.cc base::Unretained(host), base 277 content/browser/plugin_service_impl_browsertest.cc base::MessageLoop::current()->PostTask( base 278 content/browser/plugin_service_impl_browsertest.cc FROM_HERE, base::Bind(&QuitUIMessageLoopFromIOThread)); base 315 content/browser/plugin_service_impl_browsertest.cc base::Bind(&OpenChannel, &mock_client)); base 347 content/browser/plugin_service_impl_browsertest.cc BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure()); base 369 content/browser/plugin_service_impl_browsertest.cc base::Bind(&OpenChannel, &mock_client)); base 16 content/browser/power_monitor_message_broadcaster.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 22 content/browser/power_monitor_message_broadcaster.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 21 content/browser/power_monitor_message_broadcaster.h : public base::PowerObserver { base 52 content/browser/power_monitor_message_broadcaster_unittest.cc power_monitor_source_ = new base::PowerMonitorTestSource(); base 53 content/browser/power_monitor_message_broadcaster_unittest.cc power_monitor_.reset(new base::PowerMonitor( base 54 content/browser/power_monitor_message_broadcaster_unittest.cc scoped_ptr<base::PowerMonitorSource>(power_monitor_source_))); base 58 content/browser/power_monitor_message_broadcaster_unittest.cc base::PowerMonitorTestSource* source() { return power_monitor_source_; } base 59 content/browser/power_monitor_message_broadcaster_unittest.cc base::PowerMonitor* monitor() { return power_monitor_.get(); } base 62 content/browser/power_monitor_message_broadcaster_unittest.cc base::PowerMonitorTestSource* power_monitor_source_; base 63 content/browser/power_monitor_message_broadcaster_unittest.cc scoped_ptr<base::PowerMonitor> power_monitor_; base 51 content/browser/power_profiler/power_data_provider_ia_win.cc event.time = base::TimeTicks::Now(); base 27 content/browser/power_profiler/power_event.h base::TimeTicks time; // Time that power data was read. base 24 content/browser/power_profiler/power_profiler_service.cc sample_period_(base::TimeDelta::FromMilliseconds(kDefaultSamplePeriodMs)), base 39 content/browser/power_profiler/power_profiler_service.cc scoped_refptr<base::TaskRunner> task_runner, base 40 content/browser/power_profiler/power_profiler_service.cc const base::TimeDelta& sample_period) base 98 content/browser/power_profiler/power_profiler_service.cc FROM_HERE, base::Bind(&PowerProfilerService::QueryDataOnTaskRunner, base 99 content/browser/power_profiler/power_profiler_service.cc base::Unretained(this))); base 113 content/browser/power_profiler/power_profiler_service.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 114 content/browser/power_profiler/power_profiler_service.cc &PowerProfilerService::Notify, base::Unretained(this), events)); base 45 content/browser/power_profiler/power_profiler_service.h scoped_refptr<base::TaskRunner> task_runner, base 46 content/browser/power_profiler/power_profiler_service.h const base::TimeDelta& sample_period); base 61 content/browser/power_profiler/power_profiler_service.h base::RepeatingTimer<PowerProfilerService> query_power_timer_; base 62 content/browser/power_profiler/power_profiler_service.h scoped_refptr<base::TaskRunner> task_runner_; base 67 content/browser/power_profiler/power_profiler_service.h const base::TimeDelta sample_period_; base 30 content/browser/power_profiler/power_profiler_service_unittest.cc event.time = base::TimeTicks::Now(); base 62 content/browser/power_profiler/power_profiler_service_unittest.cc void set_quit_closure(base::Closure closure) { quit_closure_ = closure; } base 73 content/browser/power_profiler/power_profiler_service_unittest.cc base::Closure quit_closure_; base 87 content/browser/power_profiler/power_profiler_service_unittest.cc base::TimeDelta::FromMilliseconds(1))); base 109 content/browser/power_profiler/power_profiler_service_unittest.cc void RegisterQuitClosure(base::Closure closure) { base 118 content/browser/power_profiler/power_profiler_service_unittest.cc base::MessageLoopForUI message_loop_; base 127 content/browser/power_profiler/power_profiler_service_unittest.cc base::RunLoop run_loop; base 16 content/browser/power_save_blocker_android.cc using base::android::AttachCurrentThread; base 17 content/browser/power_save_blocker_android.cc using base::android::ScopedJavaLocalRef; base 23 content/browser/power_save_blocker_android.cc : public base::RefCountedThreadSafe<PowerSaveBlockerImpl::Delegate> { base 68 content/browser/power_save_blocker_android.cc base::Bind(&Delegate::RemoveBlock, delegate_)); base 80 content/browser/power_save_blocker_android.cc base::Bind(&Delegate::ApplyBlock, delegate_)); base 21 content/browser/power_save_blocker_chromeos.cc : public base::RefCountedThreadSafe<PowerSaveBlockerImpl::Delegate> { base 73 content/browser/power_save_blocker_chromeos.cc base::Bind(&Delegate::ApplyBlock, delegate_)); base 78 content/browser/power_save_blocker_chromeos.cc base::Bind(&Delegate::RemoveBlock, delegate_)); base 29 content/browser/power_save_blocker_mac.cc static base::Thread* New(void* instance) { base 30 content/browser/power_save_blocker_mac.cc base::Thread* thread = new (instance) base::Thread("PowerSaveBlocker"); base 34 content/browser/power_save_blocker_mac.cc static void Delete(base::Thread* instance) { } base 36 content/browser/power_save_blocker_mac.cc base::LazyInstance<base::Thread, PowerSaveBlockerLazyInstanceTraits> base 42 content/browser/power_save_blocker_mac.cc : public base::RefCountedThreadSafe<PowerSaveBlockerImpl::Delegate> { base 60 content/browser/power_save_blocker_mac.cc DCHECK_EQ(base::PlatformThread::CurrentId(), base 78 content/browser/power_save_blocker_mac.cc base::ScopedCFTypeRef<CFStringRef> cf_reason( base 79 content/browser/power_save_blocker_mac.cc base::SysUTF8ToCFStringRef(reason_)); base 90 content/browser/power_save_blocker_mac.cc DCHECK_EQ(base::PlatformThread::CurrentId(), base 105 content/browser/power_save_blocker_mac.cc base::Bind(&Delegate::ApplyBlock, delegate_)); base 111 content/browser/power_save_blocker_mac.cc base::Bind(&Delegate::RemoveBlock, delegate_)); base 15 content/browser/power_save_blocker_ozone.cc : public base::RefCountedThreadSafe<PowerSaveBlockerImpl::Delegate> { base 25 content/browser/power_save_blocker_win.cc base::win::GetVersion() < base::win::VERSION_WIN8) { base 42 content/browser/power_save_blocker_win.cc base::string16 wide_reason = base::ASCIIToUTF16(reason); base 48 content/browser/power_save_blocker_win.cc base::win::ScopedHandle handle(PowerCreateRequestFn(&context)); base 61 content/browser/power_save_blocker_win.cc base::win::ScopedHandle request_handle(handle); base 66 content/browser/power_save_blocker_win.cc base::win::GetVersion() < base::win::VERSION_WIN8) { base 111 content/browser/power_save_blocker_win.cc : public base::RefCountedThreadSafe<PowerSaveBlockerImpl::Delegate> { base 129 content/browser/power_save_blocker_win.cc base::win::ScopedHandle handle_; base 136 content/browser/power_save_blocker_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 144 content/browser/power_save_blocker_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 154 content/browser/power_save_blocker_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) base 165 content/browser/power_save_blocker_win.cc base::Bind(&Delegate::ApplyBlock, delegate_)); base 171 content/browser/power_save_blocker_win.cc base::Bind(&Delegate::RemoveBlock, delegate_)); base 73 content/browser/power_save_blocker_x11.cc : public base::RefCountedThreadSafe<PowerSaveBlockerImpl::Delegate> { base 122 content/browser/power_save_blocker_x11.cc base::Lock lock_; base 145 content/browser/power_save_blocker_x11.cc base::AutoLock lock(lock_); base 149 content/browser/power_save_blocker_x11.cc base::Bind(&Delegate::InitOnUIThread, this)); base 153 content/browser/power_save_blocker_x11.cc base::AutoLock lock(lock_); base 161 content/browser/power_save_blocker_x11.cc base::Bind(&Delegate::RemoveBlock, this, api_)); base 167 content/browser/power_save_blocker_x11.cc base::AutoLock lock(lock_); base 174 content/browser/power_save_blocker_x11.cc base::Bind(&Delegate::ApplyBlock, this, api_)); base 302 content/browser/power_save_blocker_x11.cc XDisplay* display = base::MessagePumpForUI::GetDefaultXDisplay(); base 314 content/browser/power_save_blocker_x11.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 315 content/browser/power_save_blocker_x11.cc switch (base::nix::GetDesktopEnvironment(env.get())) { base 316 content/browser/power_save_blocker_x11.cc case base::nix::DESKTOP_ENVIRONMENT_GNOME: base 317 content/browser/power_save_blocker_x11.cc case base::nix::DESKTOP_ENVIRONMENT_UNITY: base 321 content/browser/power_save_blocker_x11.cc case base::nix::DESKTOP_ENVIRONMENT_XFCE: base 322 content/browser/power_save_blocker_x11.cc case base::nix::DESKTOP_ENVIRONMENT_KDE4: base 326 content/browser/power_save_blocker_x11.cc case base::nix::DESKTOP_ENVIRONMENT_KDE3: base 327 content/browser/power_save_blocker_x11.cc case base::nix::DESKTOP_ENVIRONMENT_OTHER: base 139 content/browser/ppapi_plugin_process_host.cc const base::FilePath& profile_data_directory) { base 204 content/browser/ppapi_plugin_process_host.cc const base::string16& name, base 231 content/browser/ppapi_plugin_process_host.cc const base::FilePath& profile_data_directory) base 267 content/browser/ppapi_plugin_process_host.cc std::string(), base::FilePath(), base 268 content/browser/ppapi_plugin_process_host.cc base::FilePath(), base 278 content/browser/ppapi_plugin_process_host.cc process_->SetName(base::UTF8ToUTF16(info.name)); base 297 content/browser/ppapi_plugin_process_host.cc base::FilePath exe_path = ChildProcessHost::GetChildPath(flags); base 332 content/browser/ppapi_plugin_process_host.cc base::FieldTrialList::FindFullName(kFlashHwVideoDecodeFieldTrialName); base 370 content/browser/ppapi_plugin_process_host.cc base::ProcessHandle process_handle; base 374 content/browser/ppapi_plugin_process_host.cc base::ProcessId process_id = (process_handle == base::kNullProcessHandle) ? base 375 content/browser/ppapi_plugin_process_host.cc 0 : base::GetProcId(process_handle); base 385 content/browser/ppapi_plugin_process_host.cc client->OnPpapiChannelOpened(IPC::ChannelHandle(), base::kNullProcessId, 0); base 440 content/browser/ppapi_plugin_process_host.cc base::kNullProcessId, 0); base 446 content/browser/ppapi_plugin_process_host.cc base::kNullProcessId, 0); base 463 content/browser/ppapi_plugin_process_host.cc client->OnPpapiChannelOpened(channel_handle, base::GetProcId(data.handle), base 37 content/browser/ppapi_plugin_process_host.h virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, base 47 content/browser/ppapi_plugin_process_host.h base::ProcessId plugin_pid, base 75 content/browser/ppapi_plugin_process_host.h const base::FilePath& profile_data_directory); base 95 content/browser/ppapi_plugin_process_host.h static void FindByName(const base::string16& name, base 107 content/browser/ppapi_plugin_process_host.h const base::FilePath& plugin_path() const { return plugin_path_; } base 108 content/browser/ppapi_plugin_process_host.h const base::FilePath& profile_data_directory() const { base 120 content/browser/ppapi_plugin_process_host.h const base::FilePath& profile_data_directory); base 159 content/browser/ppapi_plugin_process_host.h base::FilePath plugin_path_; base 162 content/browser/ppapi_plugin_process_host.h base::FilePath profile_data_directory_; base 49 content/browser/profiler_controller_impl.cc base::Bind(&ProfilerControllerImpl::OnProfilerDataCollected, base 50 content/browser/profiler_controller_impl.cc base::Unretained(this), base 96 content/browser/profiler_controller_impl.cc base::Bind( base 98 content/browser/profiler_controller_impl.cc base::Unretained(this), base 121 content/browser/profiler_controller_impl.cc base::Bind(&ProfilerControllerImpl::GetProfilerDataFromChildProcesses, base 122 content/browser/profiler_controller_impl.cc base::Unretained(this), base 28 content/browser/quota_dispatcher_host.cc RequestDispatcher(base::WeakPtr<QuotaDispatcherHost> dispatcher_host, base 58 content/browser/quota_dispatcher_host.cc base::WeakPtr<QuotaDispatcherHost> dispatcher_host_; base 67 content/browser/quota_dispatcher_host.cc base::WeakPtr<QuotaDispatcherHost> dispatcher_host, base 76 content/browser/quota_dispatcher_host.cc base::Bind(&QueryUsageAndQuotaDispatcher::DidQueryStorageUsageAndQuota, base 94 content/browser/quota_dispatcher_host.cc base::WeakPtrFactory<QueryUsageAndQuotaDispatcher> weak_factory_; base 102 content/browser/quota_dispatcher_host.cc RequestQuotaDispatcher(base::WeakPtr<QuotaDispatcherHost> dispatcher_host, base 113 content/browser/quota_dispatcher_host.cc requested_quota_ = base::saturated_cast<int64>(params_.requested_size); base 126 content/browser/quota_dispatcher_host.cc base::Bind(&self_type::DidGetPersistentUsageAndQuota, base 131 content/browser/quota_dispatcher_host.cc base::Bind(&self_type::DidGetTemporaryUsageAndQuota, base 161 content/browser/quota_dispatcher_host.cc base::Bind(&self_type::DidGetPermissionResponse, base 183 content/browser/quota_dispatcher_host.cc base::Bind(&self_type::DidSetHostQuota, weak_factory_.GetWeakPtr())); base 209 content/browser/quota_dispatcher_host.cc base::WeakPtrFactory<self_type> weak_factory_; base 59 content/browser/quota_dispatcher_host.h base::WeakPtrFactory<QuotaDispatcherHost> weak_factory_; base 44 content/browser/renderer_data_memoizing_store.h base::AutoLock auto_lock(lock_); base 87 content/browser/renderer_data_memoizing_store.h base::Bind(&RendererDataMemoizingStore::StartObservingProcess, base 88 content/browser/renderer_data_memoizing_store.h base::Unretained(this), base 101 content/browser/renderer_data_memoizing_store.h base::AutoLock auto_lock(lock_); base 163 content/browser/renderer_data_memoizing_store.h base::AutoLock auto_lock(lock_); base 210 content/browser/renderer_data_memoizing_store.h base::Lock lock_; base 62 content/browser/renderer_host/backing_store.h const base::Closure& completion_callback, base 97 content/browser/renderer_host/backing_store_aura.cc const base::Closure& completion_callback, base 47 content/browser/renderer_host/backing_store_aura.h const base::Closure& completion_callback, base 91 content/browser/renderer_host/backing_store_gtk.cc const base::Closure& completion_callback); base 100 content/browser/renderer_host/backing_store_gtk.cc const base::Closure& c) base 119 content/browser/renderer_host/backing_store_gtk.cc base::Closure closure; base 148 content/browser/renderer_host/backing_store_gtk.cc const base::Closure& completion_callback) { base 350 content/browser/renderer_host/backing_store_gtk.cc const base::Closure& completion_callback, base 518 content/browser/renderer_host/backing_store_gtk.cc base::TimeTicks begin_time = base::TimeTicks::Now(); base 621 content/browser/renderer_host/backing_store_gtk.cc base::TimeTicks::Now() - begin_time); base 65 content/browser/renderer_host/backing_store_gtk.h const base::Closure& completion_callback, base 42 content/browser/renderer_host/backing_store_mac.h const base::Closure& completion_callback, base 65 content/browser/renderer_host/backing_store_mac.h base::ScopedCFTypeRef<CGContextRef> cg_bitmap_; base 66 content/browser/renderer_host/backing_store_mac.h base::ScopedCFTypeRef<CGLayerRef> cg_layer_; base 23 content/browser/renderer_host/backing_store_manager.cc typedef base::OwningMRUCache<RenderWidgetHost*, BackingStore*> base 64 content/browser/renderer_host/backing_store_manager.cc return std::min(5, 2 + (base::SysInfo::AmountOfPhysicalMemoryMB() / 256)); base 86 content/browser/renderer_host/backing_store_manager.cc BackingStoreCache::iterator entry = --cache->rbegin().base(); base 201 content/browser/renderer_host/backing_store_manager.cc const base::Closure& completion_callback, base 60 content/browser/renderer_host/backing_store_manager.h const base::Closure& completion_callback, base 110 content/browser/renderer_host/clipboard_message_filter.cc base::SharedMemoryHandle bitmap_handle) { base 111 content/browser/renderer_host/clipboard_message_filter.cc DCHECK(base::SharedMemory::IsHandleValid(bitmap_handle)) base 134 content/browser/renderer_host/clipboard_message_filter.cc base::Bind(&ClipboardMessageFilter::WriteObjectsOnUIThread, base 135 content/browser/renderer_host/clipboard_message_filter.cc base::Owned(long_living_objects.release()))); base 165 content/browser/renderer_host/clipboard_message_filter.cc base::Bind( base 166 content/browser/renderer_host/clipboard_message_filter.cc &WriteObjectsOnUIThread, base::Owned(sanitized_objects.release()))); base 180 content/browser/renderer_host/clipboard_message_filter.cc std::vector<base::string16>* types, base 219 content/browser/renderer_host/clipboard_message_filter.cc base::string16* result) { base 227 content/browser/renderer_host/clipboard_message_filter.cc *result = base::ASCIIToUTF16(ascii); base 234 content/browser/renderer_host/clipboard_message_filter.cc base::string16* markup, base 256 content/browser/renderer_host/clipboard_message_filter.cc base::Bind( base 265 content/browser/renderer_host/clipboard_message_filter.cc base::SharedMemoryHandle image_handle = base::SharedMemory::NULLHandle(); base 270 content/browser/renderer_host/clipboard_message_filter.cc base::SharedMemory buffer; base 285 content/browser/renderer_host/clipboard_message_filter.cc const base::string16& type, base 286 content/browser/renderer_host/clipboard_message_filter.cc base::string16* result) { base 34 content/browser/renderer_host/clipboard_message_filter.h base::SharedMemoryHandle bitmap_handle); base 44 content/browser/renderer_host/clipboard_message_filter.h std::vector<base::string16>* types, base 46 content/browser/renderer_host/clipboard_message_filter.h void OnReadText(ui::ClipboardType type, base::string16* result); base 48 content/browser/renderer_host/clipboard_message_filter.h base::string16* markup, base 56 content/browser/renderer_host/clipboard_message_filter.h const base::string16& type, base 57 content/browser/renderer_host/clipboard_message_filter.h base::string16* result); base 62 content/browser/renderer_host/clipboard_message_filter.h void OnFindPboardWriteString(const base::string16& text); base 30 content/browser/renderer_host/compositing_iosurface_context_mac.h : public base::RefCounted<CompositingIOSurfaceContext> { base 62 content/browser/renderer_host/compositing_iosurface_context_mac.h friend class base::RefCounted<CompositingIOSurfaceContext>; base 67 content/browser/renderer_host/compositing_iosurface_context_mac.h base::ScopedTypeRef<CGLContextObj> clg_context_strong, base 74 content/browser/renderer_host/compositing_iosurface_context_mac.h base::scoped_nsobject<NSOpenGLContext> nsgl_context_; base 75 content/browser/renderer_host/compositing_iosurface_context_mac.h base::ScopedTypeRef<CGLContextObj> cgl_context_strong_; base 86 content/browser/renderer_host/compositing_iosurface_context_mac.h static base::LazyInstance<WindowMap> window_map_; base 79 content/browser/renderer_host/compositing_iosurface_mac.h const base::Callback<void(bool, const SkBitmap&)>& callback); base 86 content/browser/renderer_host/compositing_iosurface_mac.h const base::Callback<void(bool)>& callback); base 192 content/browser/renderer_host/compositing_iosurface_mac.h base::Callback<bool(const void*, int)> map_buffer_callback; base 193 content/browser/renderer_host/compositing_iosurface_mac.h base::Callback<void(bool)> done_callback; base 220 content/browser/renderer_host/compositing_iosurface_mac.h base::Closure CopyToVideoFrameWithinContext( base 224 content/browser/renderer_host/compositing_iosurface_mac.h const base::Callback<void(bool)>& callback); base 229 content/browser/renderer_host/compositing_iosurface_mac.h base::Closure CopyToSelectedOutputWithinContext( base 235 content/browser/renderer_host/compositing_iosurface_mac.h const base::Callback<void(bool)>& done_callback); base 256 content/browser/renderer_host/compositing_iosurface_mac.h std::vector<base::Closure>* done_callbacks); base 277 content/browser/renderer_host/compositing_iosurface_mac.h base::ScopedCFTypeRef<CFTypeRef> io_surface_; base 299 content/browser/renderer_host/compositing_iosurface_mac.h base::Timer finish_copy_timer_; base 338 content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc base::ListValue workarounds; base 340 content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc base::ListValue::const_iterator it = workarounds.Find( base 341 content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc base::StringValue(gpu::GpuDriverBugWorkaroundTypeToString( base 150 content/browser/renderer_host/compositor_impl_android.cc base::AutoLock lock(surface_textures_lock_); base 163 content/browser/renderer_host/compositor_impl_android.cc base::AutoLock lock(surface_textures_lock_); base 173 content/browser/renderer_host/compositor_impl_android.cc base::AutoLock lock(surface_textures_lock_); base 183 content/browser/renderer_host/compositor_impl_android.cc base::android::ScopedJavaLocalRef<jobject> GetSurface( base 186 content/browser/renderer_host/compositor_impl_android.cc base::AutoLock lock(surface_textures_lock_); base 190 content/browser/renderer_host/compositor_impl_android.cc ? base::android::ScopedJavaLocalRef<jobject>() base 191 content/browser/renderer_host/compositor_impl_android.cc : base::android::ScopedJavaLocalRef<jobject>( base 205 content/browser/renderer_host/compositor_impl_android.cc typedef base::ScopedPtrHashMap<SurfaceTextureMapKey, SurfaceTextureInfo> base 208 content/browser/renderer_host/compositor_impl_android.cc mutable base::Lock surface_textures_lock_; base 210 content/browser/renderer_host/compositor_impl_android.cc base::ThreadChecker thread_checker_; base 212 content/browser/renderer_host/compositor_impl_android.cc base::LazyInstance<SurfaceTextureTrackerImpl> g_surface_texture_tracker = base 221 content/browser/renderer_host/compositor_impl_android.cc typedef std::map<int, base::android::ScopedJavaGlobalRef<jobject> > base 223 content/browser/renderer_host/compositor_impl_android.cc static base::LazyInstance<SurfaceMap> base 225 content/browser/renderer_host/compositor_impl_android.cc static base::LazyInstance<base::Lock> g_surface_map_lock; base 248 content/browser/renderer_host/compositor_impl_android.cc base::android::ScopedJavaLocalRef<jobject> CompositorImpl::GetSurface( base 250 content/browser/renderer_host/compositor_impl_android.cc base::AutoLock lock(g_surface_map_lock.Get()); base 253 content/browser/renderer_host/compositor_impl_android.cc base::android::ScopedJavaLocalRef<jobject> jsurface( base 255 content/browser/renderer_host/compositor_impl_android.cc ? base::android::ScopedJavaLocalRef<jobject>() base 256 content/browser/renderer_host/compositor_impl_android.cc : base::android::ScopedJavaLocalRef<jobject>(it->second)); base 264 content/browser/renderer_host/compositor_impl_android.cc base::android::ScopedJavaLocalRef<jobject> base 267 content/browser/renderer_host/compositor_impl_android.cc base::android::ScopedJavaLocalRef<jobject> jsurface( base 350 content/browser/renderer_host/compositor_impl_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 351 content/browser/renderer_host/compositor_impl_android.cc base::android::ScopedJavaLocalRef<jobject> j_surface(env, surface); base 357 content/browser/renderer_host/compositor_impl_android.cc base::AutoLock lock(g_surface_map_lock.Get()); base 370 content/browser/renderer_host/compositor_impl_android.cc base::AutoLock lock(g_surface_map_lock.Get()); base 51 content/browser/renderer_host/compositor_impl_android.h static base::android::ScopedJavaLocalRef<jobject> GetSurface(int surface_id); base 54 content/browser/renderer_host/compositor_impl_android.h static base::android::ScopedJavaLocalRef<jobject> GetSurfaceTextureSurface( base 87 content/browser/renderer_host/compositor_impl_android.h virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE {} base 132 content/browser/renderer_host/compositor_impl_android.h typedef base::ScopedPtrHashMap<cc::UIResourceId, cc::UIResourceClient> base 19 content/browser/renderer_host/compositor_resize_lock_aura.cc const base::TimeDelta& timeout) base 33 content/browser/renderer_host/compositor_resize_lock_aura.cc base::Bind(&CompositorResizeLock::CancelLock, base 28 content/browser/renderer_host/compositor_resize_lock_aura.h const base::TimeDelta& timeout); base 41 content/browser/renderer_host/compositor_resize_lock_aura.h base::WeakPtrFactory<CompositorResizeLock> weak_ptr_factory_; base 55 content/browser/renderer_host/database_message_filter.cc base::Bind(&DatabaseMessageFilter::RemoveObserver, this)); base 86 content/browser/renderer_host/database_message_filter.cc base::Bind(&DatabaseMessageFilter::AddObserver, this)); base 118 content/browser/renderer_host/database_message_filter.cc const base::string16& vfs_file_name, base 122 content/browser/renderer_host/database_message_filter.cc base::File file; base 123 content/browser/renderer_host/database_message_filter.cc base::PlatformFile file_handle = base::kInvalidPlatformFileValue; base 125 content/browser/renderer_host/database_message_filter.cc base::string16 database_name; base 139 content/browser/renderer_host/database_message_filter.cc base::FilePath db_file = DatabaseUtil::GetFullFilePathForVfsFile( base 144 content/browser/renderer_host/database_message_filter.cc if (file_handle == base::kInvalidPlatformFileValue) { base 175 content/browser/renderer_host/database_message_filter.cc const base::string16& vfs_file_name, base 182 content/browser/renderer_host/database_message_filter.cc const base::string16& vfs_file_name, base 191 content/browser/renderer_host/database_message_filter.cc base::FilePath db_file = base 197 content/browser/renderer_host/database_message_filter.cc const base::string16 wal_suffix(base::ASCIIToUTF16("-wal")); base 198 content/browser/renderer_host/database_message_filter.cc base::string16 sqlite_suffix; base 217 content/browser/renderer_host/database_message_filter.cc base::Bind(&DatabaseMessageFilter::DatabaseDeleteFile, this, base 219 content/browser/renderer_host/database_message_filter.cc base::TimeDelta::FromMilliseconds(kDelayDeleteRetryMs)); base 229 content/browser/renderer_host/database_message_filter.cc const base::string16& vfs_file_name, base 233 content/browser/renderer_host/database_message_filter.cc base::FilePath db_file = base 244 content/browser/renderer_host/database_message_filter.cc const base::string16& vfs_file_name, IPC::Message* reply_msg) { base 247 content/browser/renderer_host/database_message_filter.cc base::FilePath db_file = base 274 content/browser/renderer_host/database_message_filter.cc base::Bind(&DatabaseMessageFilter::OnDatabaseGetUsageAndQuota, base 292 content/browser/renderer_host/database_message_filter.cc const base::string16& database_name, base 293 content/browser/renderer_host/database_message_filter.cc const base::string16& description, base 298 content/browser/renderer_host/database_message_filter.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_DBMF")); base 313 content/browser/renderer_host/database_message_filter.cc const base::string16& database_name) { base 317 content/browser/renderer_host/database_message_filter.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_DBMF")); base 327 content/browser/renderer_host/database_message_filter.cc const base::string16& database_name) { base 331 content/browser/renderer_host/database_message_filter.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_DBMF")); base 342 content/browser/renderer_host/database_message_filter.cc const base::string16& database_name, base 346 content/browser/renderer_host/database_message_filter.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_DBMF")); base 356 content/browser/renderer_host/database_message_filter.cc const base::string16& database_name, base 367 content/browser/renderer_host/database_message_filter.cc const base::string16& database_name) { base 44 content/browser/renderer_host/database_message_filter.h void OnDatabaseOpenFile(const base::string16& vfs_file_name, base 47 content/browser/renderer_host/database_message_filter.h void OnDatabaseDeleteFile(const base::string16& vfs_file_name, base 50 content/browser/renderer_host/database_message_filter.h void OnDatabaseGetFileAttributes(const base::string16& vfs_file_name, base 52 content/browser/renderer_host/database_message_filter.h void OnDatabaseGetFileSize(const base::string16& vfs_file_name, base 65 content/browser/renderer_host/database_message_filter.h const base::string16& database_name, base 66 content/browser/renderer_host/database_message_filter.h const base::string16& description, base 69 content/browser/renderer_host/database_message_filter.h const base::string16& database_name); base 71 content/browser/renderer_host/database_message_filter.h const base::string16& database_name); base 73 content/browser/renderer_host/database_message_filter.h const base::string16& database_name, base 78 content/browser/renderer_host/database_message_filter.h const base::string16& database_name, base 82 content/browser/renderer_host/database_message_filter.h const base::string16& database_name) OVERRIDE; base 84 content/browser/renderer_host/database_message_filter.h void DatabaseDeleteFile(const base::string16& vfs_file_name, base 37 content/browser/renderer_host/display_link_mac.cc base::ScopedTypeRef<CVDisplayLinkRef> display_link; base 63 content/browser/renderer_host/display_link_mac.cc base::ScopedTypeRef<CVDisplayLinkRef> display_link) base 67 content/browser/renderer_host/display_link_mac.cc FROM_HERE, base::TimeDelta::FromSeconds(1), base 85 content/browser/renderer_host/display_link_mac.cc base::TimeTicks* timebase, base::TimeDelta* interval) { base 88 content/browser/renderer_host/display_link_mac.cc base::AutoLock lock(lock_); base 99 content/browser/renderer_host/display_link_mac.cc base::AutoLock lock(lock_); base 112 content/browser/renderer_host/display_link_mac.cc timebase_ = base::TimeTicks::FromInternalValue( base 114 content/browser/renderer_host/display_link_mac.cc interval_ = base::TimeDelta::FromMicroseconds( base 156 content/browser/renderer_host/display_link_mac.cc base::LazyInstance<DisplayLinkMac::DisplayMap> base 20 content/browser/renderer_host/display_link_mac.h class DisplayLinkMac : public base::RefCounted<DisplayLinkMac> { base 27 content/browser/renderer_host/display_link_mac.h base::TimeTicks* timebase, base 28 content/browser/renderer_host/display_link_mac.h base::TimeDelta* interval); base 31 content/browser/renderer_host/display_link_mac.h friend class base::RefCounted<DisplayLinkMac>; base 35 content/browser/renderer_host/display_link_mac.h base::ScopedTypeRef<CVDisplayLinkRef> display_link); base 54 content/browser/renderer_host/display_link_mac.h base::ScopedTypeRef<CVDisplayLinkRef> display_link_; base 58 content/browser/renderer_host/display_link_mac.h base::DelayTimer<DisplayLinkMac> stop_timer_; base 62 content/browser/renderer_host/display_link_mac.h base::TimeTicks timebase_; base 63 content/browser/renderer_host/display_link_mac.h base::TimeDelta interval_; base 66 content/browser/renderer_host/display_link_mac.h base::Lock lock_; base 71 content/browser/renderer_host/display_link_mac.h static base::LazyInstance<DisplayMap> display_map_; base 39 content/browser/renderer_host/file_utilities_message_filter.cc const base::FilePath& path, base 40 content/browser/renderer_host/file_utilities_message_filter.cc base::File::Info* result, base 41 content/browser/renderer_host/file_utilities_message_filter.cc base::File::Error* status) { base 42 content/browser/renderer_host/file_utilities_message_filter.cc *result = base::File::Info(); base 43 content/browser/renderer_host/file_utilities_message_filter.cc *status = base::File::FILE_OK; base 52 content/browser/renderer_host/file_utilities_message_filter.cc if (!base::GetFileInfo(path, result)) base 53 content/browser/renderer_host/file_utilities_message_filter.cc *status = base::File::FILE_ERROR_FAILED; base 33 content/browser/renderer_host/file_utilities_message_filter.h const base::File::Info& file_info); base 35 content/browser/renderer_host/file_utilities_message_filter.h void OnGetFileInfo(const base::FilePath& path, base 36 content/browser/renderer_host/file_utilities_message_filter.h base::File::Info* result, base 37 content/browser/renderer_host/file_utilities_message_filter.h base::File::Error* status); base 38 content/browser/renderer_host/gamepad_browser_message_filter.cc base::SharedMemoryHandle* renderer_handle) { base 28 content/browser/renderer_host/gamepad_browser_message_filter.h void OnGamepadStartPolling(base::SharedMemoryHandle* renderer_handle); base 52 content/browser/renderer_host/gpu_message_filter.cc base::WeakPtrFactory<RenderWidgetHostViewFrameSubscriber> factory; base 153 content/browser/renderer_host/gpu_message_filter.cc base::Bind(&GpuMessageFilter::EstablishChannelCallback, base 155 content/browser/renderer_host/gpu_message_filter.cc base::Passed(&reply))); base 200 content/browser/renderer_host/gpu_message_filter.cc base::Bind(&GpuMessageFilter::CreateCommandBufferCallback, base 202 content/browser/renderer_host/gpu_message_filter.cc base::Passed(&reply))); base 51 content/browser/renderer_host/gpu_message_filter.h friend class base::DeleteHelper<GpuMessageFilter>; base 84 content/browser/renderer_host/gpu_message_filter.h base::WeakPtrFactory<GpuMessageFilter> weak_ptr_factory_; base 433 content/browser/renderer_host/gtk_im_context_wrapper.cc base::Time::Now().ToDoubleT()); base 480 content/browser/renderer_host/gtk_im_context_wrapper.cc base::string16(), gfx::Range::InvalidRange(), false); base 488 content/browser/renderer_host/gtk_im_context_wrapper.cc void GtkIMContextWrapper::HandleCommit(const base::string16& text) { base 626 content/browser/renderer_host/gtk_im_context_wrapper.cc self->HandleCommit(base::UTF8ToUTF16(text)); base 78 content/browser/renderer_host/gtk_im_context_wrapper.h void HandleCommit(const base::string16& text); base 183 content/browser/renderer_host/gtk_im_context_wrapper.h base::string16 commit_text_; base 34 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc base::FilePath gtkrc; base 37 content/browser/renderer_host/gtk_key_bindings_handler_unittest.cc EXPECT_TRUE(base::PathExists(gtkrc)); base 20 content/browser/renderer_host/image_transport_factory_android.cc base::LazyInstance<ObserverList<ImageTransportFactoryAndroidObserver> >::Leaky base 97 content/browser/renderer_host/image_transport_factory_android.cc base::StringPrintf("CmdBufferImageTransportFactory-%p", base 185 content/browser/renderer_host/image_transport_factory_android.cc base::MessageLoop::current()->PostTask( base 187 content/browser/renderer_host/image_transport_factory_android.cc base::Bind(&GLContextLostListener::DidLoseContext)); base 29 content/browser/renderer_host/ime_adapter_android.cc using base::android::AttachCurrentThread; base 30 content/browser/renderer_host/ime_adapter_android.cc using base::android::ConvertJavaStringToUTF16; base 95 content/browser/renderer_host/ime_adapter_android.cc base::android::ScopedJavaLocalRef<jobject> obj = java_ime_adapter_.get(env); base 146 content/browser/renderer_host/ime_adapter_android.cc base::string16 text16 = ConvertJavaStringToUTF16(env, text); base 165 content/browser/renderer_host/ime_adapter_android.cc base::string16 text16 = ConvertJavaStringToUTF16(env, text); base 174 content/browser/renderer_host/ime_adapter_android.cc rwhi->ImeConfirmComposition(base::string16(), gfx::Range::InvalidRange(), base 183 content/browser/renderer_host/ime_adapter_android.cc base::android::ScopedJavaLocalRef<jobject> obj = base 190 content/browser/renderer_host/ime_adapter_android.cc base::android::ScopedJavaLocalRef<jobject> obj = base 77 content/browser/renderer_host/input/gesture_event_queue.cc base::TimeDelta::FromMilliseconds(debounce_interval_time_ms_), base 215 content/browser/renderer_host/input/gesture_event_queue.h base::OneShotTimer<GestureEventQueue> debounce_deferring_timer_; base 19 content/browser/renderer_host/input/gesture_event_queue_unittest.cc using base::TimeDelta; base 121 content/browser/renderer_host/input/gesture_event_queue_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 202 content/browser/renderer_host/input/gesture_event_queue_unittest.cc base::MessageLoopForUI message_loop_; base 902 content/browser/renderer_host/input/gesture_event_queue_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 904 content/browser/renderer_host/input/gesture_event_queue_unittest.cc base::MessageLoop::QuitClosure(), base 906 content/browser/renderer_host/input/gesture_event_queue_unittest.cc base::MessageLoop::current()->Run(); base 39 content/browser/renderer_host/input/input_router_impl.cc using base::Time; base 40 content/browser/renderer_host/input/input_router_impl.cc using base::TimeDelta; base 41 content/browser/renderer_host/input/input_router_impl.cc using base::TimeTicks; base 55 content/browser/renderer_host/input/input_router_impl.cc bool GetTouchAckTimeoutDelay(base::TimeDelta* touch_ack_timeout_delay) { base 63 content/browser/renderer_host/input/input_router_impl.cc if (!base::StringToSizeT(timeout_string, &timeout_ms)) base 66 content/browser/renderer_host/input/input_router_impl.cc *touch_ack_timeout_delay = base::TimeDelta::FromMilliseconds(timeout_ms); base 617 content/browser/renderer_host/input/input_router_impl.cc base::AutoReset<AckSource> auto_reset_current_ack_source( base 810 content/browser/renderer_host/input/input_router_impl.cc touch_event_queue_.SetAckTimeoutEnabled(false, base::TimeDelta()); base 241 content/browser/renderer_host/input/input_router_impl.h base::TimeTicks input_event_start_time_; base 245 content/browser/renderer_host/input/input_router_impl.h base::TimeDelta touch_ack_timeout_delay_; base 20 content/browser/renderer_host/input/input_router_impl_perftest.cc using base::TimeDelta; base 179 content/browser/renderer_host/input/input_router_impl_perftest.cc start_(base::TimeTicks::Now()) {} base 186 content/browser/renderer_host/input/input_router_impl_perftest.cc static_cast<size_t>(((base::TimeTicks::Now() - start_) / event_count_) base 195 content/browser/renderer_host/input/input_router_impl_perftest.cc base::TimeTicks start_; base 223 content/browser/renderer_host/input/input_router_impl_perftest.cc base::MessageLoop::current()->RunUntilIdle(); base 341 content/browser/renderer_host/input/input_router_impl_perftest.cc base::MessageLoopForUI message_loop_; base 32 content/browser/renderer_host/input/input_router_impl_unittest.cc using base::TimeDelta; base 135 content/browser/renderer_host/input/input_router_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 230 content/browser/renderer_host/input/input_router_impl_unittest.cc void SetTouchTimestamp(base::TimeDelta timestamp) { base 303 content/browser/renderer_host/input/input_router_impl_unittest.cc static void RunTasksAndWait(base::TimeDelta delay) { base 304 content/browser/renderer_host/input/input_router_impl_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 305 content/browser/renderer_host/input/input_router_impl_unittest.cc FROM_HERE, base::MessageLoop::QuitClosure(), delay); base 306 content/browser/renderer_host/input/input_router_impl_unittest.cc base::MessageLoop::current()->Run(); base 315 content/browser/renderer_host/input/input_router_impl_unittest.cc base::MessageLoopForUI message_loop_; base 500 content/browser/renderer_host/input/input_router_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 509 content/browser/renderer_host/input/input_router_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 518 content/browser/renderer_host/input/input_router_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 531 content/browser/renderer_host/input/input_router_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 636 content/browser/renderer_host/input/input_router_impl_unittest.cc base::TimeDelta timestamp = base::Time::NowFromSystemTime() - base::Time(); base 637 content/browser/renderer_host/input/input_router_impl_unittest.cc timestamp -= base::TimeDelta::FromSeconds(600); base 648 content/browser/renderer_host/input/input_router_impl_unittest.cc timestamp += base::TimeDelta::FromSeconds(10); base 657 content/browser/renderer_host/input/input_router_impl_unittest.cc timestamp += base::TimeDelta::FromSeconds(10); base 666 content/browser/renderer_host/input/input_router_impl_unittest.cc timestamp += base::TimeDelta::FromSeconds(10); base 1038 content/browser/renderer_host/input/input_router_impl_unittest.cc RunTasksAndWait(base::TimeDelta::FromMilliseconds(2)); base 1137 content/browser/renderer_host/input/input_router_impl_unittest.cc RunTasksAndWait(base::TimeDelta::FromMilliseconds(2)); base 1163 content/browser/renderer_host/input/input_router_impl_unittest.cc RunTasksAndWait(base::TimeDelta::FromMilliseconds(2)); base 10 content/browser/renderer_host/input/mock_input_ack_handler.cc using base::TimeDelta; base 11 content/browser/renderer_host/input/mock_input_router_client.cc using base::TimeDelta; base 10 content/browser/renderer_host/input/motion_event_android.cc using base::android::AttachCurrentThread; base 57 content/browser/renderer_host/input/motion_event_android.cc int64 ToAndroidTime(base::TimeTicks time) { base 58 content/browser/renderer_host/input/motion_event_android.cc return (time - base::TimeTicks()).InMilliseconds(); base 61 content/browser/renderer_host/input/motion_event_android.cc base::TimeTicks FromAndroidTime(int64 time_ms) { base 62 content/browser/renderer_host/input/motion_event_android.cc return base::TimeTicks() + base::TimeDelta::FromMilliseconds(time_ms); base 202 content/browser/renderer_host/input/motion_event_android.cc base::TimeTicks MotionEventAndroid::GetEventTime() const { base 210 content/browser/renderer_host/input/motion_event_android.cc base::TimeTicks MotionEventAndroid::GetHistoricalEventTime( base 258 content/browser/renderer_host/input/motion_event_android.cc base::TimeTicks MotionEventAndroid::GetDownTime() const { base 269 content/browser/renderer_host/input/motion_event_android.cc base::android::ScopedJavaLocalRef<jobject> MotionEventAndroid::Obtain( base 276 content/browser/renderer_host/input/motion_event_android.cc base::android::ScopedJavaLocalRef<jobject> MotionEventAndroid::Obtain( base 277 content/browser/renderer_host/input/motion_event_android.cc base::TimeTicks down_time, base 278 content/browser/renderer_host/input/motion_event_android.cc base::TimeTicks event_time, base 50 content/browser/renderer_host/input/motion_event_android.h virtual base::TimeTicks GetEventTime() const OVERRIDE; base 52 content/browser/renderer_host/input/motion_event_android.h virtual base::TimeTicks GetHistoricalEventTime( base 70 content/browser/renderer_host/input/motion_event_android.h base::TimeTicks GetDownTime() const; base 74 content/browser/renderer_host/input/motion_event_android.h static base::android::ScopedJavaLocalRef<jobject> Obtain( base 76 content/browser/renderer_host/input/motion_event_android.h static base::android::ScopedJavaLocalRef<jobject> Obtain( base 77 content/browser/renderer_host/input/motion_event_android.h base::TimeTicks down_time, base 78 content/browser/renderer_host/input/motion_event_android.h base::TimeTicks event_time, base 95 content/browser/renderer_host/input/motion_event_android.h base::android::ScopedJavaGlobalRef<jobject> event_; base 97 content/browser/renderer_host/input/motion_event_android.h base::TimeTicks cached_time_; base 110 content/browser/renderer_host/input/motion_event_web.cc base::TimeTicks MotionEventWeb::GetEventTime() const { base 111 content/browser/renderer_host/input/motion_event_web.cc return base::TimeTicks() + base 112 content/browser/renderer_host/input/motion_event_web.cc base::TimeDelta::FromMicroseconds(event_.timeStampSeconds * base 113 content/browser/renderer_host/input/motion_event_web.cc base::Time::kMicrosecondsPerSecond); base 118 content/browser/renderer_host/input/motion_event_web.cc base::TimeTicks MotionEventWeb::GetHistoricalEventTime( base 121 content/browser/renderer_host/input/motion_event_web.cc return base::TimeTicks(); base 29 content/browser/renderer_host/input/motion_event_web.h virtual base::TimeTicks GetEventTime() const OVERRIDE; base 31 content/browser/renderer_host/input/motion_event_web.h virtual base::TimeTicks GetHistoricalEventTime( base 48 content/browser/renderer_host/input/synthetic_gesture.cc const base::TimeTicks& timestamp) { base 49 content/browser/renderer_host/input/synthetic_gesture.cc return (timestamp - base::TimeTicks()).InSecondsF(); base 48 content/browser/renderer_host/input/synthetic_gesture.h const base::TimeTicks& timestamp, SyntheticGestureTarget* target) = 0; base 51 content/browser/renderer_host/input/synthetic_gesture.h static double ConvertTimestampToSeconds(const base::TimeTicks& timestamp); base 34 content/browser/renderer_host/input/synthetic_gesture_controller.cc void SyntheticGestureController::Flush(base::TimeTicks timestamp) { base 32 content/browser/renderer_host/input/synthetic_gesture_controller.h typedef base::Callback<void(SyntheticGesture::Result)> base 39 content/browser/renderer_host/input/synthetic_gesture_controller.h void Flush(base::TimeTicks timestamp); base 51 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc virtual Result ForwardInputEvents(const base::TimeTicks& timestamp, base 97 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc virtual base::TimeDelta PointerAssumedStoppedTime() const OVERRIDE { base 98 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc return base::TimeDelta::FromMilliseconds(pointer_assumed_stopped_time_ms_); base 270 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::TimeDelta GetDuration() const { return stop_time_ - start_time_; } base 280 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::TimeDelta start_time_; base 281 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::TimeDelta stop_time_; base 300 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc start_time_ = base::TimeDelta::FromMilliseconds( base 307 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc stop_time_ = base::TimeDelta::FromMilliseconds( base 334 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc start_time_ = base::TimeDelta::FromMilliseconds( base 343 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc stop_time_ = base::TimeDelta::FromMilliseconds( base 368 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc start_time_ = base::TimeTicks::Now(); base 377 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc time_ = base::TimeTicks(); base 382 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::Bind(&SyntheticGestureControllerTest::OnSyntheticGestureCompleted, base 383 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::Unretained(this))); base 390 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc time_ += base::TimeDelta::FromMilliseconds(kFlushInputRateInMs); base 405 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::TimeDelta GetTotalTime() const { return time_ - start_time_; } base 409 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::TimeTicks start_time_; base 410 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::TimeTicks time_; base 503 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc time_ += base::TimeDelta::FromMilliseconds(kFlushInputRateInMs); base 512 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc time_ += base::TimeDelta::FromMilliseconds(kFlushInputRateInMs); base 973 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::TimeDelta::FromMilliseconds(params.duration_ms)); base 996 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc base::TimeDelta::FromMilliseconds(params.duration_ms)); base 45 content/browser/renderer_host/input/synthetic_gesture_target.h virtual base::TimeDelta PointerAssumedStoppedTime() const = 0; base 20 content/browser/renderer_host/input/synthetic_gesture_target_android.cc base::android::ScopedJavaLocalRef<jobject> touch_event_synthesizer) base 50 content/browser/renderer_host/input/synthetic_gesture_target_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 20 content/browser/renderer_host/input/synthetic_gesture_target_android.h base::android::ScopedJavaLocalRef<jobject> touch_event_synthesizer); base 52 content/browser/renderer_host/input/synthetic_gesture_target_android.h base::android::ScopedJavaGlobalRef<jobject> touch_event_synthesizer_; base 111 content/browser/renderer_host/input/synthetic_gesture_target_base.cc base::TimeDelta SyntheticGestureTargetBase::PointerAssumedStoppedTime() base 113 content/browser/renderer_host/input/synthetic_gesture_target_base.cc return base::TimeDelta::FromMilliseconds(kPointerAssumedStoppedTimeMs); base 54 content/browser/renderer_host/input/synthetic_gesture_target_base.h virtual base::TimeDelta PointerAssumedStoppedTime() const OVERRIDE; base 27 content/browser/renderer_host/input/synthetic_pinch_gesture.cc const base::TimeTicks& timestamp, SyntheticGestureTarget* target) { base 51 content/browser/renderer_host/input/synthetic_pinch_gesture.cc const base::TimeTicks& timestamp, SyntheticGestureTarget* target) { base 64 content/browser/renderer_host/input/synthetic_pinch_gesture.cc base::TimeTicks event_timestamp = ClampTimestamp(timestamp); base 80 content/browser/renderer_host/input/synthetic_pinch_gesture.cc const base::TimeTicks& timestamp) { base 88 content/browser/renderer_host/input/synthetic_pinch_gesture.cc const base::TimeTicks& timestamp) { base 104 content/browser/renderer_host/input/synthetic_pinch_gesture.cc SyntheticGestureTarget* target, const base::TimeTicks& timestamp) { base 111 content/browser/renderer_host/input/synthetic_pinch_gesture.cc SyntheticGestureTarget* target, const base::TimeTicks& timestamp) { base 139 content/browser/renderer_host/input/synthetic_pinch_gesture.cc start_time_ + base::TimeDelta::FromMicroseconds(total_duration_in_us); base 143 content/browser/renderer_host/input/synthetic_pinch_gesture.cc const base::TimeTicks& timestamp) const { base 158 content/browser/renderer_host/input/synthetic_pinch_gesture.cc base::TimeTicks SyntheticPinchGesture::ClampTimestamp( base 159 content/browser/renderer_host/input/synthetic_pinch_gesture.cc const base::TimeTicks& timestamp) const { base 163 content/browser/renderer_host/input/synthetic_pinch_gesture.cc bool SyntheticPinchGesture::HasReachedTarget(const base::TimeTicks& timestamp) base 24 content/browser/renderer_host/input/synthetic_pinch_gesture.h const base::TimeTicks& timestamp, base 35 content/browser/renderer_host/input/synthetic_pinch_gesture.h void ForwardTouchInputEvents(const base::TimeTicks& timestamp, base 38 content/browser/renderer_host/input/synthetic_pinch_gesture.h void UpdateTouchPoints(const base::TimeTicks& timestamp); base 40 content/browser/renderer_host/input/synthetic_pinch_gesture.h const base::TimeTicks& timestamp); base 42 content/browser/renderer_host/input/synthetic_pinch_gesture.h const base::TimeTicks& timestamp); base 44 content/browser/renderer_host/input/synthetic_pinch_gesture.h const base::TimeTicks& timestamp); base 46 content/browser/renderer_host/input/synthetic_pinch_gesture.h const base::TimeTicks& timestamp); base 49 content/browser/renderer_host/input/synthetic_pinch_gesture.h float GetDeltaForPointer0AtTime(const base::TimeTicks& timestamp) const; base 50 content/browser/renderer_host/input/synthetic_pinch_gesture.h base::TimeTicks ClampTimestamp(const base::TimeTicks& timestamp) const; base 51 content/browser/renderer_host/input/synthetic_pinch_gesture.h bool HasReachedTarget(const base::TimeTicks& timestamp) const; base 59 content/browser/renderer_host/input/synthetic_pinch_gesture.h base::TimeTicks start_time_; base 60 content/browser/renderer_host/input/synthetic_pinch_gesture.h base::TimeTicks stop_time_; base 41 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const base::TimeTicks& timestamp, SyntheticGestureTarget* target) { base 68 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const base::TimeTicks& timestamp, SyntheticGestureTarget* target) { base 69 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc base::TimeTicks event_timestamp = timestamp; base 130 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const base::TimeTicks& timestamp, SyntheticGestureTarget* target) { base 146 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc base::TimeTicks event_timestamp = ClampTimestamp(timestamp); base 178 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc SyntheticGestureTarget* target, const base::TimeTicks& timestamp) { base 187 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const base::TimeTicks& timestamp) const { base 200 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc SyntheticGestureTarget* target, const base::TimeTicks& timestamp) { base 209 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const base::TimeTicks& timestamp) { base 219 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc SyntheticGestureTarget* target, const base::TimeTicks& timestamp) { base 236 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const base::TimeTicks& timestamp) const { base 260 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc base::TimeDelta::FromMicroseconds(total_duration_in_us); base 263 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc base::TimeTicks SyntheticSmoothScrollGesture::ClampTimestamp( base 264 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const base::TimeTicks& timestamp) const { base 269 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const base::TimeTicks& timestamp) const { base 34 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const base::TimeTicks& timestamp, base 47 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const base::TimeTicks& timestamp, SyntheticGestureTarget* target); base 49 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const base::TimeTicks& timestamp, SyntheticGestureTarget* target); base 52 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const base::TimeTicks& timestamp); base 55 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const base::TimeTicks& timestamp) const; base 58 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const base::TimeTicks& timestamp); base 61 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const base::TimeTicks& timestamp); base 63 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const base::TimeTicks& timestamp); base 66 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h gfx::Vector2dF GetPositionDeltaAtTime(const base::TimeTicks& timestamp) base 69 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h base::TimeTicks ClampTimestamp(const base::TimeTicks& timestamp) const; base 70 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h bool FinishedCurrentScrollSegment(const base::TimeTicks& timestamp) const; base 83 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h base::TimeTicks current_scroll_segment_start_time_; base 84 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h base::TimeTicks current_scroll_segment_stop_time_; base 24 content/browser/renderer_host/input/synthetic_tap_gesture.cc const base::TimeTicks& timestamp, SyntheticGestureTarget* target) { base 48 content/browser/renderer_host/input/synthetic_tap_gesture.cc const base::TimeTicks& timestamp, SyntheticGestureTarget* target) { base 75 content/browser/renderer_host/input/synthetic_tap_gesture.cc const base::TimeTicks& timestamp) { base 95 content/browser/renderer_host/input/synthetic_tap_gesture.cc const base::TimeTicks& timestamp) { base 114 content/browser/renderer_host/input/synthetic_tap_gesture.cc base::TimeDelta SyntheticTapGesture::GetDuration() const { base 115 content/browser/renderer_host/input/synthetic_tap_gesture.cc return base::TimeDelta::FromMilliseconds(params_.duration_ms); base 22 content/browser/renderer_host/input/synthetic_tap_gesture.h const base::TimeTicks& timestamp, base 33 content/browser/renderer_host/input/synthetic_tap_gesture.h void ForwardTouchOrMouseInputEvents(const base::TimeTicks& timestamp, base 36 content/browser/renderer_host/input/synthetic_tap_gesture.h void Press(SyntheticGestureTarget* target, const base::TimeTicks& timestamp); base 38 content/browser/renderer_host/input/synthetic_tap_gesture.h const base::TimeTicks& timestamp); base 40 content/browser/renderer_host/input/synthetic_tap_gesture.h base::TimeDelta GetDuration() const; base 43 content/browser/renderer_host/input/synthetic_tap_gesture.h base::TimeTicks start_time_; base 34 content/browser/renderer_host/input/tap_suppression_controller.cc base::TimeTicks event_time = Now(); base 58 content/browser/renderer_host/input/tap_suppression_controller.cc base::TimeTicks event_time = Now(); base 65 content/browser/renderer_host/input/tap_suppression_controller.cc base::TimeDelta::FromMilliseconds(client_->MaxTapGapTimeInMs())); base 76 content/browser/renderer_host/input/tap_suppression_controller.cc base::TimeDelta::FromMilliseconds(client_->MaxTapGapTimeInMs())); base 103 content/browser/renderer_host/input/tap_suppression_controller.cc base::TimeTicks TapSuppressionController::Now() { base 104 content/browser/renderer_host/input/tap_suppression_controller.cc return base::TimeTicks::Now(); base 107 content/browser/renderer_host/input/tap_suppression_controller.cc void TapSuppressionController::StartTapDownTimer(const base::TimeDelta& delay) { base 43 content/browser/renderer_host/input/tap_suppression_controller.h virtual base::TimeTicks Now(); base 44 content/browser/renderer_host/input/tap_suppression_controller.h virtual void StartTapDownTimer(const base::TimeDelta& delay); base 60 content/browser/renderer_host/input/tap_suppression_controller.h base::OneShotTimer<TapSuppressionController> tap_down_timer_; base 66 content/browser/renderer_host/input/tap_suppression_controller.h base::TimeTicks fling_cancel_time_; base 11 content/browser/renderer_host/input/tap_suppression_controller_unittest.cc using base::TimeDelta; base 80 content/browser/renderer_host/input/tap_suppression_controller_unittest.cc void AdvanceTime(const base::TimeDelta& delta) { base 102 content/browser/renderer_host/input/tap_suppression_controller_unittest.cc virtual base::TimeTicks Now() OVERRIDE { base 106 content/browser/renderer_host/input/tap_suppression_controller_unittest.cc virtual void StartTapDownTimer(const base::TimeDelta& delay) OVERRIDE { base 144 content/browser/renderer_host/input/tap_suppression_controller_unittest.cc base::TimeTicks time_; base 146 content/browser/renderer_host/input/tap_suppression_controller_unittest.cc base::TimeTicks timer_expiry_time_; base 7 content/browser/renderer_host/input/timeout_monitor.cc using base::Time; base 8 content/browser/renderer_host/input/timeout_monitor.cc using base::TimeDelta; base 19 content/browser/renderer_host/input/timeout_monitor.h typedef base::Closure TimeoutHandler; base 27 content/browser/renderer_host/input/timeout_monitor.h void Start(base::TimeDelta delay); base 29 content/browser/renderer_host/input/timeout_monitor.h void Restart(base::TimeDelta delay); base 40 content/browser/renderer_host/input/timeout_monitor.h base::Time time_when_considered_timed_out_; base 43 content/browser/renderer_host/input/timeout_monitor.h base::OneShotTimer<TimeoutMonitor> timeout_timer_; base 94 content/browser/renderer_host/input/touch_action_browsertest.cc base::string16 ready_title(base::ASCIIToUTF16("ready")); base 142 content/browser/renderer_host/input/touch_action_browsertest.cc base::Bind(&TouchActionBrowserTest::OnSyntheticGestureCompleted, base 143 content/browser/renderer_host/input/touch_action_browsertest.cc base::Unretained(this))); base 48 content/browser/renderer_host/input/touch_event_queue.cc base::TimeDelta timeout_delay) base 52 content/browser/renderer_host/input/touch_event_queue.cc timeout_monitor_(base::Bind(&TouchTimeoutHandler::OnTimeOut, base 53 content/browser/renderer_host/input/touch_event_queue.cc base::Unretained(this))) {} base 100 content/browser/renderer_host/input/touch_event_queue.cc void set_timeout_delay(base::TimeDelta timeout_delay) { base 156 content/browser/renderer_host/input/touch_event_queue.cc base::TimeDelta timeout_delay_; base 410 content/browser/renderer_host/input/touch_event_queue.cc base::AutoReset<bool> dispatching_touch(&dispatching_touch_, true); base 506 content/browser/renderer_host/input/touch_event_queue.cc base::TimeDelta ack_timeout_delay) { base 560 content/browser/renderer_host/input/touch_event_queue.cc base::AutoReset<CoalescedWebTouchEvent*> base 99 content/browser/renderer_host/input/touch_event_queue.h void SetAckTimeoutEnabled(bool enabled, base::TimeDelta ack_timeout_delay); base 22 content/browser/renderer_host/input/touch_event_queue_unittest.cc base::TimeDelta DefaultTouchTimeoutDelay() { base 23 content/browser/renderer_host/input/touch_event_queue_unittest.cc return base::TimeDelta::FromMilliseconds(1); base 84 content/browser/renderer_host/input/touch_event_queue_unittest.cc void SetUpForTimeoutTesting(base::TimeDelta timeout_delay) { base 180 content/browser/renderer_host/input/touch_event_queue_unittest.cc queue_->SetAckTimeoutEnabled(false, base::TimeDelta()); base 211 content/browser/renderer_host/input/touch_event_queue_unittest.cc static void RunTasksAndWait(base::TimeDelta delay) { base 212 content/browser/renderer_host/input/touch_event_queue_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 213 content/browser/renderer_host/input/touch_event_queue_unittest.cc FROM_HERE, base::MessageLoop::QuitClosure(), delay); base 214 content/browser/renderer_host/input/touch_event_queue_unittest.cc base::MessageLoop::current()->Run(); base 241 content/browser/renderer_host/input/touch_event_queue_unittest.cc base::MessageLoopForUI message_loop_; base 28 content/browser/renderer_host/input/touch_input_browsertest.cc base::RunLoop run_loop; base 29 content/browser/renderer_host/input/touch_input_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 32 content/browser/renderer_host/input/touch_input_browsertest.cc base::TimeDelta::FromMilliseconds(10)); base 90 content/browser/renderer_host/input/touch_input_browsertest.cc base::RunLoop run_loop; base 91 content/browser/renderer_host/input/touch_input_browsertest.cc base::AutoReset<base::Closure> reset_quit(&quit_, run_loop.QuitClosure()); base 92 content/browser/renderer_host/input/touch_input_browsertest.cc base::AutoReset<WebInputEvent::Type> reset_type(&type_, type); base 118 content/browser/renderer_host/input/touch_input_browsertest.cc base::Bind(&InputEventMessageFilter::ReceivedEventAck, base 124 content/browser/renderer_host/input/touch_input_browsertest.cc base::Closure quit_; base 208 content/browser/renderer_host/input/web_input_event_util.cc base::strlcpy(event->keyIdentifier, id, sizeof(event->keyIdentifier) - 1); base 210 content/browser/renderer_host/input/web_input_event_util.cc base::snprintf(event->keyIdentifier, sizeof(event->keyIdentifier), "U+%04X", base 211 content/browser/renderer_host/input/web_input_event_util.cc base::ToUpperASCII(static_cast<int>(windows_key_code))); base 224 content/browser/renderer_host/input/web_input_event_util.cc (event.GetEventTime() - base::TimeTicks()).InSecondsF(); base 243 content/browser/renderer_host/input/web_input_event_util.cc gesture.timeStampSeconds = (data.time - base::TimeTicks()).InSecondsF(); base 19 content/browser/renderer_host/java/java_bound_object.cc using base::StringPrintf; base 20 content/browser/renderer_host/java/java_bound_object.cc using base::android::AttachCurrentThread; base 21 content/browser/renderer_host/java/java_bound_object.cc using base::android::ConvertUTF8ToJavaString; base 22 content/browser/renderer_host/java/java_bound_object.cc using base::android::GetClass; base 23 content/browser/renderer_host/java/java_bound_object.cc using base::android::JavaRef; base 24 content/browser/renderer_host/java/java_bound_object.cc using base::android::ScopedJavaGlobalRef; base 25 content/browser/renderer_host/java/java_bound_object.cc using base::android::ScopedJavaLocalRef; base 137 content/browser/renderer_host/java/java_bound_object.cc *count = base::saturated_cast<uint32_t>(method_names.size()); base 157 content/browser/renderer_host/java/java_bound_object.cc const base::WeakPtr<JavaBridgeDispatcherHostManager>& manager, base 206 content/browser/renderer_host/java/java_bound_object.cc if (base::android::ClearException(env)) { base 217 content/browser/renderer_host/java/java_bound_object.cc base::android::ConvertJavaStringToUTF8(scoped_java_string); base 231 content/browser/renderer_host/java/java_bound_object.cc if (base::android::ClearException(env)) { base 247 content/browser/renderer_host/java/java_bound_object.cc return !base::android::ClearException(env); base 343 content/browser/renderer_host/java/java_bound_object.cc base::StringPrintf("%.6lg", NPVARIANT_TO_DOUBLE(variant)) : base 344 content/browser/renderer_host/java/java_bound_object.cc base::Int64ToString(NPVARIANT_TO_INT32(variant))).Release() : base 422 content/browser/renderer_host/java/java_bound_object.cc base::StringPiece(NPVARIANT_TO_STRING(variant).UTF8Characters, base 552 content/browser/renderer_host/java/java_bound_object.cc base::android::CheckException(env); base 805 content/browser/renderer_host/java/java_bound_object.cc const base::WeakPtr<JavaBridgeDispatcherHostManager>& manager, base 822 content/browser/renderer_host/java/java_bound_object.cc const base::WeakPtr<JavaBridgeDispatcherHostManager>& manager, base 832 content/browser/renderer_host/java/java_bound_object.cc base::Bind(&JavaBridgeDispatcherHostManager::JavaBoundObjectCreated, base 834 content/browser/renderer_host/java/java_bound_object.cc base::android::ScopedJavaGlobalRef<jobject>(object))); base 844 content/browser/renderer_host/java/java_bound_object.cc base::Bind(&JavaBridgeDispatcherHostManager::JavaBoundObjectDestroyed, base 846 content/browser/renderer_host/java/java_bound_object.cc base::android::ScopedJavaGlobalRef<jobject>( base 912 content/browser/renderer_host/java/java_bound_object.cc base::Bind(&JavaBoundObject::ThrowSecurityException, base 996 content/browser/renderer_host/java/java_bound_object.cc base::android::ScopedJavaLocalRef<jclass> clazz( base 38 content/browser/renderer_host/java/java_bound_object.h const base::android::JavaRef<jobject>& object, base 39 content/browser/renderer_host/java/java_bound_object.h const base::android::JavaRef<jclass>& safe_annotation_clazz, base 40 content/browser/renderer_host/java/java_bound_object.h const base::WeakPtr<JavaBridgeDispatcherHostManager>& manager, base 48 content/browser/renderer_host/java/java_bound_object.h static base::android::ScopedJavaLocalRef<jobject> GetJavaObject( base 60 content/browser/renderer_host/java/java_bound_object.h const base::android::JavaRef<jobject>& object, base 61 content/browser/renderer_host/java/java_bound_object.h const base::android::JavaRef<jclass>& safe_annotation_clazz, base 62 content/browser/renderer_host/java/java_bound_object.h const base::WeakPtr<JavaBridgeDispatcherHostManager>& manager, base 77 content/browser/renderer_host/java/java_bound_object.h base::WeakPtr<JavaBridgeDispatcherHostManager> manager_; base 88 content/browser/renderer_host/java/java_bound_object.h base::android::ScopedJavaGlobalRef<jclass> safe_annotation_clazz_; base 13 content/browser/renderer_host/java/java_bridge_channel_host.cc using base::WaitableEvent; base 18 content/browser/renderer_host/java/java_bridge_channel_host.cc : public base::DefaultLazyInstanceTraits<WaitableEvent> { base 25 content/browser/renderer_host/java/java_bridge_channel_host.cc base::LazyInstance<WaitableEvent, WaitableEventLazyInstanceTraits> dummy_event = base 28 content/browser/renderer_host/java/java_bridge_channel_host.cc base::subtle::AtomicWord g_last_id = 0; base 41 content/browser/renderer_host/java/java_bridge_channel_host.cc base::MessageLoopProxy* ipc_message_loop) { base 42 content/browser/renderer_host/java/java_bridge_channel_host.cc std::string channel_name(base::StringPrintf("r%d.javabridge", renderer_id)); base 57 content/browser/renderer_host/java/java_bridge_channel_host.cc return base::subtle::NoBarrier_AtomicIncrement(&g_last_id, 1); base 64 content/browser/renderer_host/java/java_bridge_channel_host.cc bool JavaBridgeChannelHost::Init(base::MessageLoopProxy* ipc_message_loop, base 16 content/browser/renderer_host/java/java_bridge_channel_host.h base::MessageLoopProxy* ipc_message_loop); base 27 content/browser/renderer_host/java/java_bridge_channel_host.h virtual bool Init(base::MessageLoopProxy* ipc_message_loop, base 29 content/browser/renderer_host/java/java_bridge_channel_host.h base::WaitableEvent* shutdown_event) OVERRIDE; base 37 content/browser/renderer_host/java/java_bridge_channel_host.h friend class base::RefCountedThreadSafe<JavaBridgeChannelHost>; base 29 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc class JavaBridgeThread : public base::android::JavaHandlerThread { base 31 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc JavaBridgeThread() : base::android::JavaHandlerThread("JavaBridge") { base 39 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc void CleanUpStubs(const std::vector<base::WeakPtr<NPObjectStub> > & stubs) { base 47 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc base::LazyInstance<JavaBridgeThread> g_background_thread = base 59 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc base::Bind(&CleanUpStubs, stubs_)); base 62 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc void JavaBridgeDispatcherHost::AddNamedObject(const base::string16& name, base 71 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc void JavaBridgeDispatcherHost::RemoveNamedObject(const base::string16& name) { base 88 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc base::Bind(&JavaBridgeDispatcherHost::GetChannelHandle, this, reply_msg)); base 111 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc base::Bind(&JavaBridgeDispatcherHost::Send, this, reply_msg)); base 134 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc base::Bind(&JavaBridgeDispatcherHost::CreateObjectStub, this, object, base 142 content/browser/renderer_host/java/java_bridge_dispatcher_host.cc base::MessageLoop::current()); base 31 content/browser/renderer_host/java/java_bridge_dispatcher_host.h : public base::RefCountedThreadSafe<JavaBridgeDispatcherHost> { base 45 content/browser/renderer_host/java/java_bridge_dispatcher_host.h void AddNamedObject(const base::string16& name, NPObject* object); base 46 content/browser/renderer_host/java/java_bridge_dispatcher_host.h void RemoveNamedObject(const base::string16& name); base 54 content/browser/renderer_host/java/java_bridge_dispatcher_host.h friend class base::RefCountedThreadSafe<JavaBridgeDispatcherHost>; base 65 content/browser/renderer_host/java/java_bridge_dispatcher_host.h std::vector<base::WeakPtr<NPObjectStub> > stubs_; base 36 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc void JavaBridgeDispatcherHostManager::AddNamedObject(const base::string16& name, base 60 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 61 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc base::android::ScopedJavaLocalRef<jobject> new_retained_object_set = base 63 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc base::android::ScopedJavaLocalRef<jobject> current_retained_object_set = base 73 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc const base::string16& name) { base 119 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 120 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc base::android::ScopedJavaLocalRef<jobject> retained_object_set = base 136 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc const base::android::JavaRef<jobject>& object) { base 139 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 140 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc base::android::ScopedJavaLocalRef<jobject> retained_object_set = base 148 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc const base::android::JavaRef<jobject>& object) { base 151 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 152 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc base::android::ScopedJavaLocalRef<jobject> retained_object_set = base 29 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h public base::SupportsWeakPtr<JavaBridgeDispatcherHostManager> { base 37 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h void AddNamedObject(const base::string16& name, NPObject* object); base 38 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h void RemoveNamedObject(const base::string16& name); base 56 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h void JavaBoundObjectCreated(const base::android::JavaRef<jobject>& object); base 57 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h void JavaBoundObjectDestroyed(const base::android::JavaRef<jobject>& object); base 68 content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h typedef std::map<base::string16, NPObject*> ObjectMap; base 14 content/browser/renderer_host/java/java_method.cc using base::android::AttachCurrentThread; base 15 content/browser/renderer_host/java/java_method.cc using base::android::ConvertJavaStringToUTF8; base 16 content/browser/renderer_host/java/java_method.cc using base::android::GetClass; base 17 content/browser/renderer_host/java/java_method.cc using base::android::MethodID; base 18 content/browser/renderer_host/java/java_method.cc using base::android::ScopedJavaGlobalRef; base 19 content/browser/renderer_host/java/java_method.cc using base::android::ScopedJavaLocalRef; base 40 content/browser/renderer_host/java/java_method.cc public base::internal::LeakyLazyInstanceTraits<ScopedJavaGlobalRef< base 50 content/browser/renderer_host/java/java_method.cc base::LazyInstance<ScopedJavaGlobalRef<jclass>, ModifierClassTraits> base 94 content/browser/renderer_host/java/java_method.cc JavaMethod::JavaMethod(const base::android::JavaRef<jobject>& method) base 21 content/browser/renderer_host/java/java_method.h explicit JavaMethod(const base::android::JavaRef<jobject>& method); base 35 content/browser/renderer_host/java/java_method.h mutable base::android::ScopedJavaGlobalRef<jobject> java_method_; base 43 content/browser/renderer_host/java/jni_helper.cc const base::subtle::AtomicWord kUnlocked = 0; base 44 content/browser/renderer_host/java/jni_helper.cc const base::subtle::AtomicWord kLocked = 1; base 45 content/browser/renderer_host/java/jni_helper.cc base::subtle::AtomicWord g_method_id_map_lock = kUnlocked; base 47 content/browser/renderer_host/java/jni_helper.cc base::LazyInstance<MethodIDMap> g_method_id_map = LAZY_INSTANCE_INITIALIZER; base 63 content/browser/renderer_host/java/jni_helper.cc while (base::subtle::Acquire_CompareAndSwap(&g_method_id_map_lock, base 66 content/browser/renderer_host/java/jni_helper.cc base::PlatformThread::YieldCurrentThread(); base 72 content/browser/renderer_host/java/jni_helper.cc base::subtle::Release_Store(&g_method_id_map_lock, kUnlocked); base 79 content/browser/renderer_host/java/jni_helper.cc base::android::ScopedJavaLocalRef<jclass> clazz( base 81 content/browser/renderer_host/java/jni_helper.cc jmethodID id = base::android::MethodID::Get< base 82 content/browser/renderer_host/java/jni_helper.cc base::android::MethodID::TYPE_INSTANCE>( base 85 content/browser/renderer_host/java/jni_helper.cc while (base::subtle::Acquire_CompareAndSwap(&g_method_id_map_lock, base 88 content/browser/renderer_host/java/jni_helper.cc base::PlatformThread::YieldCurrentThread(); base 94 content/browser/renderer_host/java/jni_helper.cc base::subtle::Release_Store(&g_method_id_map_lock, kUnlocked); base 42 content/browser/renderer_host/java/jni_helper_unittest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 50 content/browser/renderer_host/java/jni_helper_unittest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 62 content/browser/renderer_host/java/jni_helper_unittest.cc base::ShadowingAtExitManager exit_manager; base 69 content/browser/renderer_host/java/jni_helper_unittest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 95 content/browser/renderer_host/legacy_render_widget_host_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7 && base 125 content/browser/renderer_host/legacy_render_widget_host_win.cc base::win::ScopedComPtr<IAccessible> root( base 140 content/browser/renderer_host/legacy_render_widget_host_win.h base::win::ScopedComPtr<IAccessible> window_accessible_; base 58 content/browser/renderer_host/media/audio_input_device_manager.cc const scoped_refptr<base::SingleThreadTaskRunner>& device_task_runner) { base 77 content/browser/renderer_host/media/audio_input_device_manager.cc base::Bind(&AudioInputDeviceManager::EnumerateOnDeviceThread, base 87 content/browser/renderer_host/media/audio_input_device_manager.cc base::Bind(&AudioInputDeviceManager::OpenOnDeviceThread, base 107 content/browser/renderer_host/media/audio_input_device_manager.cc base::Bind(&AudioInputDeviceManager::ClosedOnIOThread, base 162 content/browser/renderer_host/media/audio_input_device_manager.cc base::Bind(&AudioInputDeviceManager::DevicesEnumeratedOnIOThread, base 163 content/browser/renderer_host/media/audio_input_device_manager.cc this, stream_type, base::Passed(&devices))); base 211 content/browser/renderer_host/media/audio_input_device_manager.cc base::Bind(&AudioInputDeviceManager::OpenedOnIOThread, base 48 content/browser/renderer_host/media/audio_input_device_manager.h const scoped_refptr<base::SingleThreadTaskRunner>& base 94 content/browser/renderer_host/media/audio_input_device_manager.h scoped_refptr<base::SingleThreadTaskRunner> device_task_runner_; base 65 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc message_loop_.reset(new base::MessageLoopForIO); base 71 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc base::WaitableEvent event(false, false); base 72 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc audio_manager_->GetTaskRunner()->PostTask(FROM_HERE, base::Bind( base 73 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc &base::WaitableEvent::Signal, base::Unretained(&event))); base 96 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 35 content/browser/renderer_host/media/audio_input_renderer_host.cc base::SharedMemory shared_memory; base 85 content/browser/renderer_host/media/audio_input_renderer_host.cc base::Bind( base 96 content/browser/renderer_host/media/audio_input_renderer_host.cc base::Bind( base 107 content/browser/renderer_host/media/audio_input_renderer_host.cc base::Bind( base 142 content/browser/renderer_host/media/audio_input_renderer_host.cc base::SharedMemoryHandle foreign_memory_handle; base 155 content/browser/renderer_host/media/audio_input_renderer_host.cc base::SyncSocket::Handle foreign_socket_handle; base 157 content/browser/renderer_host/media/audio_input_renderer_host.cc base::FileDescriptor foreign_socket_handle; base 186 content/browser/renderer_host/media/audio_input_renderer_host.cc base::StringPrintf("AudioInputController error: %d", error_code)); base 263 content/browser/renderer_host/media/audio_input_renderer_host.cc base::CheckedNumeric<uint32> size = segment_size; base 366 content/browser/renderer_host/media/audio_input_renderer_host.cc base::StringPrintf("AudioInputRendererHost error: %d", error_code)); base 384 content/browser/renderer_host/media/audio_input_renderer_host.cc entry->controller->Close(base::Bind(&AudioInputRendererHost::DeleteEntry, base 128 content/browser/renderer_host/media/audio_input_renderer_host.h friend class base::DeleteHelper<AudioInputRendererHost>; base 17 content/browser/renderer_host/media/audio_input_sync_writer.cc base::SharedMemory* shared_memory, base 22 content/browser/renderer_host/media/audio_input_sync_writer.cc creation_time_(base::Time::Now()) { base 43 content/browser/renderer_host/media/audio_input_sync_writer.cc base::TimeDelta interval = base::Time::Now() - creation_time_; base 47 content/browser/renderer_host/media/audio_input_sync_writer.cc base::TimeDelta interval = base::Time::Now() - last_write_time_; base 56 content/browser/renderer_host/media/audio_input_sync_writer.cc last_write_time_ = base::Time::Now(); base 78 content/browser/renderer_host/media/audio_input_sync_writer.cc socket_.reset(new base::CancelableSyncSocket()); base 79 content/browser/renderer_host/media/audio_input_sync_writer.cc foreign_socket_.reset(new base::CancelableSyncSocket()); base 80 content/browser/renderer_host/media/audio_input_sync_writer.cc return base::CancelableSyncSocket::CreatePair(socket_.get(), base 87 content/browser/renderer_host/media/audio_input_sync_writer.cc base::ProcessHandle process_handle, base 88 content/browser/renderer_host/media/audio_input_sync_writer.cc base::SyncSocket::Handle* foreign_handle) { base 98 content/browser/renderer_host/media/audio_input_sync_writer.cc base::ProcessHandle process_handle, base 99 content/browser/renderer_host/media/audio_input_sync_writer.cc base::FileDescriptor* foreign_handle) { base 17 content/browser/renderer_host/media/audio_input_sync_writer.h namespace base { base 28 content/browser/renderer_host/media/audio_input_sync_writer.h explicit AudioInputSyncWriter(base::SharedMemory* shared_memory, base 42 content/browser/renderer_host/media/audio_input_sync_writer.h bool PrepareForeignSocketHandle(base::ProcessHandle process_handle, base 44 content/browser/renderer_host/media/audio_input_sync_writer.h base::SyncSocket::Handle* foreign_handle); base 46 content/browser/renderer_host/media/audio_input_sync_writer.h base::FileDescriptor* foreign_handle); base 50 content/browser/renderer_host/media/audio_input_sync_writer.h base::SharedMemory* shared_memory_; base 56 content/browser/renderer_host/media/audio_input_sync_writer.h scoped_ptr<base::CancelableSyncSocket> socket_; base 60 content/browser/renderer_host/media/audio_input_sync_writer.h scoped_ptr<base::CancelableSyncSocket> foreign_socket_; base 63 content/browser/renderer_host/media/audio_input_sync_writer.h base::Time creation_time_; base 66 content/browser/renderer_host/media/audio_input_sync_writer.h base::Time last_write_time_; base 40 content/browser/renderer_host/media/audio_renderer_host.cc scoped_ptr<base::SharedMemory> shared_memory, base 56 content/browser/renderer_host/media/audio_renderer_host.cc base::SharedMemory* shared_memory() { base 81 content/browser/renderer_host/media/audio_renderer_host.cc const scoped_ptr<base::SharedMemory> shared_memory_; base 97 content/browser/renderer_host/media/audio_renderer_host.cc scoped_ptr<base::SharedMemory> shared_memory, base 145 content/browser/renderer_host/media/audio_renderer_host.cc base::Bind(&AudioRendererHost::DoGetOutputControllers, this, base 166 content/browser/renderer_host/media/audio_renderer_host.cc base::Bind(&AudioRendererHost::DoCompleteCreation, host_, stream_id_)); base 173 content/browser/renderer_host/media/audio_renderer_host.cc base::Bind(&AudioRendererHost::DoNotifyStreamStateChanged, base 183 content/browser/renderer_host/media/audio_renderer_host.cc base::Bind(&AudioRendererHost::DoNotifyStreamStateChanged, base 193 content/browser/renderer_host/media/audio_renderer_host.cc base::Bind(&AudioRendererHost::ReportErrorAndClose, host_, stream_id_)); base 201 content/browser/renderer_host/media/audio_renderer_host.cc base::Bind(base::IgnoreResult(&AudioRendererHost::Send), host_, base 223 content/browser/renderer_host/media/audio_renderer_host.cc base::SharedMemoryHandle foreign_memory_handle; base 235 content/browser/renderer_host/media/audio_renderer_host.cc base::SyncSocket::Handle foreign_socket_handle; base 237 content/browser/renderer_host/media/audio_renderer_host.cc base::FileDescriptor foreign_socket_handle; base 276 content/browser/renderer_host/media/audio_renderer_host.cc base::Bind(&media::AudioOutputController::ReadCurrentPowerAndClip, base 349 content/browser/renderer_host/media/audio_renderer_host.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory()); base 448 content/browser/renderer_host/media/audio_renderer_host.cc base::Bind(&AudioRendererHost::DeleteEntry, this, base::Passed(&entry))); base 91 content/browser/renderer_host/media/audio_renderer_host.h friend class base::DeleteHelper<AudioRendererHost>; base 103 content/browser/renderer_host/media/audio_renderer_host_unittest.cc base::SharedMemoryHandle handle, base 105 content/browser/renderer_host/media/audio_renderer_host_unittest.cc base::SyncSocket::Handle socket_handle, base 107 content/browser/renderer_host/media/audio_renderer_host_unittest.cc base::FileDescriptor socket_descriptor, base 111 content/browser/renderer_host/media/audio_renderer_host_unittest.cc shared_memory_.reset(new base::SharedMemory(handle, false)); base 117 content/browser/renderer_host/media/audio_renderer_host_unittest.cc base::SyncSocket::Handle sync_socket_handle; base 123 content/browser/renderer_host/media/audio_renderer_host_unittest.cc sync_socket_.reset(new base::SyncSocket(sync_socket_handle)); base 148 content/browser/renderer_host/media/audio_renderer_host_unittest.cc scoped_ptr<base::SharedMemory> shared_memory_; base 149 content/browser/renderer_host/media/audio_renderer_host_unittest.cc scoped_ptr<base::SyncSocket> sync_socket_; base 167 content/browser/renderer_host/media/audio_renderer_host_unittest.cc host_->set_peer_pid_for_testing(base::GetCurrentProcId()); base 267 content/browser/renderer_host/media/audio_renderer_host_unittest.cc base::RunLoop().RunUntilIdle(); base 269 content/browser/renderer_host/media/audio_renderer_host_unittest.cc base::RunLoop run_loop; base 20 content/browser/renderer_host/media/audio_sync_reader.cc AudioSyncReader::AudioSyncReader(base::SharedMemory* shared_memory, base 32 content/browser/renderer_host/media/audio_sync_reader.cc maximum_wait_time_(base::TimeDelta::FromMilliseconds(20)), base 80 content/browser/renderer_host/media/audio_sync_reader.cc socket_.reset(new base::CancelableSyncSocket()); base 81 content/browser/renderer_host/media/audio_sync_reader.cc foreign_socket_.reset(new base::CancelableSyncSocket()); base 82 content/browser/renderer_host/media/audio_sync_reader.cc return base::CancelableSyncSocket::CreatePair(socket_.get(), base 88 content/browser/renderer_host/media/audio_sync_reader.cc base::ProcessHandle process_handle, base 89 content/browser/renderer_host/media/audio_sync_reader.cc base::SyncSocket::Handle* foreign_handle) { base 97 content/browser/renderer_host/media/audio_sync_reader.cc base::ProcessHandle process_handle, base 98 content/browser/renderer_host/media/audio_sync_reader.cc base::FileDescriptor* foreign_handle) { base 106 content/browser/renderer_host/media/audio_sync_reader.cc base::TimeDelta timeout = maximum_wait_time_; base 107 content/browser/renderer_host/media/audio_sync_reader.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 108 content/browser/renderer_host/media/audio_sync_reader.cc const base::TimeTicks finish_time = start_time + timeout; base 136 content/browser/renderer_host/media/audio_sync_reader.cc timeout = finish_time - base::TimeTicks::Now(); base 144 content/browser/renderer_host/media/audio_sync_reader.cc base::TimeDelta time_since_start = base::TimeTicks::Now() - start_time; base 147 content/browser/renderer_host/media/audio_sync_reader.cc base::TimeDelta::FromMilliseconds(1), base 148 content/browser/renderer_host/media/audio_sync_reader.cc base::TimeDelta::FromMilliseconds(1000), base 19 content/browser/renderer_host/media/audio_sync_reader.h namespace base { base 31 content/browser/renderer_host/media/audio_sync_reader.h AudioSyncReader(base::SharedMemory* shared_memory, base 43 content/browser/renderer_host/media/audio_sync_reader.h bool PrepareForeignSocketHandle(base::ProcessHandle process_handle, base 45 content/browser/renderer_host/media/audio_sync_reader.h base::SyncSocket::Handle* foreign_handle); base 47 content/browser/renderer_host/media/audio_sync_reader.h base::FileDescriptor* foreign_handle); base 55 content/browser/renderer_host/media/audio_sync_reader.h const base::SharedMemory* const shared_memory_; base 62 content/browser/renderer_host/media/audio_sync_reader.h scoped_ptr<base::CancelableSyncSocket> socket_; base 66 content/browser/renderer_host/media/audio_sync_reader.h scoped_ptr<base::CancelableSyncSocket> foreign_socket_; base 81 content/browser/renderer_host/media/audio_sync_reader.h const base::TimeDelta maximum_wait_time_; base 137 content/browser/renderer_host/media/device_request_message_filter_unittest.cc message_loop_.reset(new base::MessageLoopForIO); base 156 content/browser/renderer_host/media/device_request_message_filter_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 165 content/browser/renderer_host/media/device_request_message_filter_unittest.cc "/dev/audio/" + base::IntToString(next_device_id_), base 166 content/browser/renderer_host/media/device_request_message_filter_unittest.cc "Audio Device" + base::IntToString(next_device_id_))); base 176 content/browser/renderer_host/media/device_request_message_filter_unittest.cc "/dev/video/" + base::IntToString(next_device_id_), base 177 content/browser/renderer_host/media/device_request_message_filter_unittest.cc "Video Device" + base::IntToString(next_device_id_))); base 19 content/browser/renderer_host/media/media_capture_devices_impl.cc base::Bind(&MediaStreamManager::EnsureDeviceMonitorStarted, base 20 content/browser/renderer_host/media/media_capture_devices_impl.cc base::Unretained( base 61 content/browser/renderer_host/media/media_capture_devices_impl.cc base::Bind(&MediaCaptureDevicesImpl::UpdateAudioDevicesOnUIThread, base 62 content/browser/renderer_host/media/media_capture_devices_impl.cc base::Unretained(this), devices)); base 73 content/browser/renderer_host/media/media_capture_devices_impl.cc base::Bind(&MediaCaptureDevicesImpl::UpdateVideoDevicesOnUIThread, base 74 content/browser/renderer_host/media/media_capture_devices_impl.cc base::Unretained(this), devices)); base 48 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const scoped_refptr<base::MessageLoopProxy>& message_loop, base 68 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const base::Closure& quit_closure) { base 84 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const base::Closure& quit_closure) { base 94 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const base::Closure& quit_closure) { base 144 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::Closure quit_closure = quit_closures_.front(); base 146 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc message_loop_->PostTask(FROM_HERE, base::ResetAndReturn(&quit_closure)); base 159 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::Closure quit_closure = quit_closures_.front(); base 161 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc message_loop_->PostTask(FROM_HERE, base::ResetAndReturn(&quit_closure)); base 182 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::Closure quit_closure = quit_closures_.front(); base 184 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc message_loop_->PostTask(FROM_HERE, base::ResetAndReturn(&quit_closure)); base 192 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::Closure quit_closure = quit_closures_.front(); base 194 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc message_loop_->PostTask(FROM_HERE, base::ResetAndReturn(&quit_closure)); base 198 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_; base 200 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc std::queue<base::Closure> quit_closures_; base 207 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc void(const base::Closure& stop, base 218 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc new media::MockAudioManager(base::MessageLoopProxy::current())); base 226 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::MessageLoopProxy::current(), base 263 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop run_loop; base 287 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop run_loop; base 300 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop run_loop; base 312 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop run_loop; base 535 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop run_loop1; base 536 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop run_loop2; base 760 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop run_loop1; base 775 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop run_loop; base 801 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop().RunUntilIdle(); base 807 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::Closure close_callback; base 821 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop().RunUntilIdle(); base 836 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::RunLoop run_loop; base 838 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc .WillOnce(testing::InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 840 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc base::SystemMonitor::DEVTYPE_VIDEO_CAPTURE); base 67 content/browser/renderer_host/media/media_stream_manager.cc int random_char = base::RandGenerator(sizeof(kAlphabet) - 1); base 132 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::AddLogMessageOnIOThread, base 133 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(content::BrowserMainLoop::GetInstance() base 144 content/browser/renderer_host/media/media_stream_manager.cc base::StringPrintf("Getting devices for stream type %d:\n", stream_type); base 360 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::InitializeDeviceManagersOnIOThread, base 361 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this))); base 364 content/browser/renderer_host/media/media_stream_manager.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 376 content/browser/renderer_host/media/media_stream_manager.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 414 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&ReturnEmptySalt)); base 426 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::SetupRequest, base 427 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this), label)); base 465 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::SetupRequest, base 466 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this), label)); base 661 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::DoEnumerateDevices, base 662 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this), label)); base 737 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::SetupRequest, base 738 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this), label)); base 812 content/browser/renderer_host/media/media_stream_manager.cc if (!base::SystemMonitor::Get()) base 816 content/browser/renderer_host/media/media_stream_manager.cc base::SystemMonitor::Get()->AddDevicesChangedObserver(this); base 828 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::StartMonitoringOnUIThread, base 829 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this))); base 843 content/browser/renderer_host/media/media_stream_manager.cc DCHECK_EQ(base::MessageLoop::current(), io_loop_); base 845 content/browser/renderer_host/media/media_stream_manager.cc base::SystemMonitor::Get()->RemoveDevicesChangedObserver(this); base 950 content/browser/renderer_host/media/media_stream_manager.cc DCHECK_EQ(base::MessageLoop::current(), io_loop_); base 956 content/browser/renderer_host/media/media_stream_manager.cc DCHECK_EQ(base::MessageLoop::current(), io_loop_); base 1071 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::HandleAccessRequestResponse, base 1072 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this), label)); base 1435 content/browser/renderer_host/media/media_stream_manager.cc io_loop_ = base::MessageLoop::current(); base 1508 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::StopMediaStreamFromBrowser, base 1509 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this), base 1511 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::OnMediaStreamUIWindowId, base 1512 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this), base 1611 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(DoAddLogMessage, message)); base 1642 content/browser/renderer_host/media/media_stream_manager.cc base::Bind(&MediaStreamManager::AddLogMessageOnUIThread, base 1643 content/browser/renderer_host/media/media_stream_manager.cc base::Unretained(this), base 1808 content/browser/renderer_host/media/media_stream_manager.cc DCHECK_EQ(base::MessageLoop::current(), io_loop_); base 1886 content/browser/renderer_host/media/media_stream_manager.cc base::SystemMonitor::DeviceType device_type) { base 1893 content/browser/renderer_host/media/media_stream_manager.cc if (device_type == base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE) { base 1895 content/browser/renderer_host/media/media_stream_manager.cc } else if (device_type == base::SystemMonitor::DEVTYPE_VIDEO_CAPTURE) { base 60 content/browser/renderer_host/media/media_stream_manager.h public base::MessageLoop::DestructionObserver, base 61 content/browser/renderer_host/media/media_stream_manager.h public base::PowerObserver, base 62 content/browser/renderer_host/media/media_stream_manager.h public base::SystemMonitor::DevicesChangedObserver { base 65 content/browser/renderer_host/media/media_stream_manager.h typedef base::Callback<void(const MediaStreamDevices& devices, base 162 content/browser/renderer_host/media/media_stream_manager.h base::SystemMonitor::DeviceType device_type) OVERRIDE; base 357 content/browser/renderer_host/media/media_stream_manager.h scoped_refptr<base::SingleThreadTaskRunner> device_task_runner_; base 380 content/browser/renderer_host/media/media_stream_manager.h base::MessageLoop* io_loop_; base 77 content/browser/renderer_host/media/media_stream_manager_unittest.cc message_loop_(base::MessageLoopProxy::current()) { base 104 content/browser/renderer_host/media/media_stream_manager_unittest.cc base::Bind(&MediaStreamManagerTest::ResponseCallback, base 105 content/browser/renderer_host/media/media_stream_manager_unittest.cc base::Unretained(this), index); base 118 content/browser/renderer_host/media/media_stream_manager_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_; base 119 content/browser/renderer_host/media/media_stream_manager_unittest.cc base::RunLoop run_loop_; base 152 content/browser/renderer_host/media/media_stream_manager_unittest.cc base::Bind(&MediaStreamManagerTest::ResponseCallback, base 153 content/browser/renderer_host/media/media_stream_manager_unittest.cc base::Unretained(this), 1); base 22 content/browser/renderer_host/media/media_stream_provider.h namespace base { base 59 content/browser/renderer_host/media/media_stream_provider.h : public base::RefCountedThreadSafe<MediaStreamProvider> { base 63 content/browser/renderer_host/media/media_stream_provider.h const scoped_refptr<base::SingleThreadTaskRunner>& base 82 content/browser/renderer_host/media/media_stream_provider.h friend class base::RefCountedThreadSafe<MediaStreamProvider>; base 14 content/browser/renderer_host/media/media_stream_track_metrics_host.cc base::TimeDelta::FromMilliseconds(100), \ base 15 content/browser/renderer_host/media/media_stream_track_metrics_host.cc base::TimeDelta::FromHours(16), \ base 56 content/browser/renderer_host/media/media_stream_track_metrics_host.cc TrackInfo info = {is_audio, is_remote, base::TimeTicks::Now()}; base 69 content/browser/renderer_host/media/media_stream_track_metrics_host.cc base::TimeDelta duration = base::TimeTicks::Now() - info.timestamp; base 52 content/browser/renderer_host/media/media_stream_track_metrics_host.h base::TimeTicks timestamp; base 46 content/browser/renderer_host/media/media_stream_ui_controller_unittest.cc message_loop_.reset(new base::MessageLoopForIO); base 72 content/browser/renderer_host/media/media_stream_ui_controller_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 16 content/browser/renderer_host/media/media_stream_ui_proxy.cc explicit Core(const base::WeakPtr<MediaStreamUIProxy>& proxy, base 29 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::WeakPtr<MediaStreamUIProxy> proxy_; base 36 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::WeakPtrFactory<Core> weak_factory_; base 41 content/browser/renderer_host/media/media_stream_ui_proxy.cc MediaStreamUIProxy::Core::Core(const base::WeakPtr<MediaStreamUIProxy>& proxy, base 77 content/browser/renderer_host/media/media_stream_ui_proxy.cc request, base::Bind(&Core::ProcessAccessRequestResponse, base 85 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::Bind(&Core::ProcessStopRequestFromUI, base::Unretained(this))); base 98 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::Bind(&MediaStreamUIProxy::ProcessAccessRequestResponse, base 107 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::Bind(&MediaStreamUIProxy::ProcessStopRequestFromUI, proxy_)); base 142 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::Bind(&Core::RequestAccess, base::Unretained(core_.get()), request)); base 145 content/browser/renderer_host/media/media_stream_ui_proxy.cc void MediaStreamUIProxy::OnStarted(const base::Closure& stop_callback, base 157 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::Bind(&Core::OnStarted, base::Unretained(core_.get()), window_id), base 158 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::Bind(&MediaStreamUIProxy::OnWindowId, base 161 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::Owned(window_id))); base 186 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::Closure cb = stop_callback_; base 242 content/browser/renderer_host/media/media_stream_ui_proxy.cc base::Bind(&MediaStreamUIProxy::ProcessAccessRequestResponse, base 251 content/browser/renderer_host/media/media_stream_ui_proxy.cc const base::Closure& stop_callback, base 23 content/browser/renderer_host/media/media_stream_ui_proxy.h typedef base::Callback< base 28 content/browser/renderer_host/media/media_stream_ui_proxy.h typedef base::Callback<void(gfx::NativeViewId window_id)> WindowIdCallback; base 48 content/browser/renderer_host/media/media_stream_ui_proxy.h virtual void OnStarted(const base::Closure& stop_callback, base 70 content/browser/renderer_host/media/media_stream_ui_proxy.h base::Closure stop_callback_; base 72 content/browser/renderer_host/media/media_stream_ui_proxy.h base::WeakPtrFactory<MediaStreamUIProxy> weak_factory_; base 88 content/browser/renderer_host/media/media_stream_ui_proxy.h virtual void OnStarted(const base::Closure& stop_callback, base 49 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc MOCK_METHOD1(OnStarted, gfx::NativeViewId(const base::Closure& stop)); base 75 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::MessageLoop message_loop_; base 104 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc request, base::Bind(&MockResponseCallback::OnAccessRequestResponse, base 105 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Unretained(&response_callback_))); base 130 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc request, base::Bind(&MockResponseCallback::OnAccessRequestResponse, base 131 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Unretained(&response_callback_))); base 152 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc proxy_->OnStarted(base::Closure(), MediaStreamUIProxy::WindowIdCallback()); base 164 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc request, base::Bind(&MockResponseCallback::OnAccessRequestResponse, base 165 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Unretained(&response_callback_))); base 186 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc request, base::Bind(&MockResponseCallback::OnAccessRequestResponse, base 187 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Unretained(&response_callback_))); base 194 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Closure stop_callback; base 212 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc proxy_->OnStarted(base::Bind(&MockStopStreamHandler::OnStop, base 213 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Unretained(&stop_handler)), base 236 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Bind(&MockResponseCallback::OnAccessRequestResponse, base 237 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Unretained(&response_callback_))); base 255 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Bind(&MockStopStreamHandler::OnStop, base::Unretained(&handler)), base 256 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Bind(&MockStopStreamHandler::OnWindowId, base 257 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc base::Unretained(&handler))); base 58 content/browser/renderer_host/media/midi_dispatcher_host.cc base::Bind(&MidiDispatcherHost::WasSysExPermissionGranted, base 59 content/browser/renderer_host/media/midi_dispatcher_host.cc base::Unretained(this), base 123 content/browser/renderer_host/media/midi_host.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_MIDI")); base 132 content/browser/renderer_host/media/midi_host.cc base::AutoLock auto_lock(in_flight_lock_); base 177 content/browser/renderer_host/media/midi_host.cc base::AutoLock auto_lock(in_flight_lock_); base 55 content/browser/renderer_host/media/midi_host.h friend class base::DeleteHelper<MidiHost>; base 92 content/browser/renderer_host/media/midi_host.h base::Lock in_flight_lock_; base 67 content/browser/renderer_host/media/peer_connection_tracker_host.cc const base::ListValue& value) { base 12 content/browser/renderer_host/media/peer_connection_tracker_host.h namespace base { base 40 content/browser/renderer_host/media/peer_connection_tracker_host.h void OnAddStats(int lid, const base::ListValue& value); base 28 content/browser/renderer_host/media/video_capture_buffer_pool.cc base::SharedMemoryHandle VideoCaptureBufferPool::ShareToProcess( base 30 content/browser/renderer_host/media/video_capture_buffer_pool.cc base::ProcessHandle process_handle, base 32 content/browser/renderer_host/media/video_capture_buffer_pool.cc base::AutoLock lock(lock_); base 37 content/browser/renderer_host/media/video_capture_buffer_pool.cc return base::SharedMemory::NULLHandle(); base 39 content/browser/renderer_host/media/video_capture_buffer_pool.cc base::SharedMemoryHandle remote_handle; base 48 content/browser/renderer_host/media/video_capture_buffer_pool.cc base::AutoLock lock(lock_); base 64 content/browser/renderer_host/media/video_capture_buffer_pool.cc base::AutoLock lock(lock_); base 69 content/browser/renderer_host/media/video_capture_buffer_pool.cc base::AutoLock lock(lock_); base 82 content/browser/renderer_host/media/video_capture_buffer_pool.cc base::AutoLock lock(lock_); base 99 content/browser/renderer_host/media/video_capture_buffer_pool.cc base::AutoLock lock(lock_); base 47 content/browser/renderer_host/media/video_capture_buffer_pool.h : public base::RefCountedThreadSafe<VideoCaptureBufferPool> { base 55 content/browser/renderer_host/media/video_capture_buffer_pool.h base::SharedMemoryHandle ShareToProcess(int buffer_id, base 56 content/browser/renderer_host/media/video_capture_buffer_pool.h base::ProcessHandle process_handle, base 96 content/browser/renderer_host/media/video_capture_buffer_pool.h friend class base::RefCountedThreadSafe<VideoCaptureBufferPool>; base 103 content/browser/renderer_host/media/video_capture_buffer_pool.h base::SharedMemory shared_memory; base 124 content/browser/renderer_host/media/video_capture_buffer_pool.h base::Lock lock_; base 77 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc base::TimeDelta()); base 64 content/browser/renderer_host/media/video_capture_controller.cc base::ProcessHandle render_process, base 81 content/browser/renderer_host/media/video_capture_controller.cc const base::ProcessHandle render_process_handle; base 118 content/browser/renderer_host/media/video_capture_controller.cc const base::WeakPtr<VideoCaptureController>& controller, base 130 content/browser/renderer_host/media/video_capture_controller.cc base::TimeTicks timestamp) OVERRIDE; base 135 content/browser/renderer_host/media/video_capture_controller.cc base::TimeTicks timestamp) OVERRIDE; base 143 content/browser/renderer_host/media/video_capture_controller.cc const base::WeakPtr<VideoCaptureController> controller_; base 158 content/browser/renderer_host/media/video_capture_controller.cc const base::WeakPtr<VideoCaptureController>& controller, base 164 content/browser/renderer_host/media/video_capture_controller.cc base::WeakPtr<VideoCaptureController> VideoCaptureController::GetWeakPtr() { base 178 content/browser/renderer_host/media/video_capture_controller.cc base::ProcessHandle render_process, base 294 content/browser/renderer_host/media/video_capture_controller.cc base::TimeTicks timestamp) { base 431 content/browser/renderer_host/media/video_capture_controller.cc base::SharedMemory::NULLHandle(), base 432 content/browser/renderer_host/media/video_capture_controller.cc base::TimeDelta(), base 433 content/browser/renderer_host/media/video_capture_controller.cc base::Closure()); base 438 content/browser/renderer_host/media/video_capture_controller.cc base::Bind( base 468 content/browser/renderer_host/media/video_capture_controller.cc base::TimeTicks timestamp) { base 472 content/browser/renderer_host/media/video_capture_controller.cc base::Bind( base 487 content/browser/renderer_host/media/video_capture_controller.cc base::Bind(&VideoCaptureController::DoErrorOnIOThread, controller_)); base 520 content/browser/renderer_host/media/video_capture_controller.cc base::Bind(&VideoCaptureController::DoBufferDestroyedOnIOThread, base 536 content/browser/renderer_host/media/video_capture_controller.cc base::TimeTicks timestamp) { base 559 content/browser/renderer_host/media/video_capture_controller.cc base::SharedMemoryHandle remote_handle = buffer_pool_->ShareToProcess( base 73 content/browser/renderer_host/media/video_capture_controller.h base::WeakPtr<VideoCaptureController> GetWeakPtr(); base 84 content/browser/renderer_host/media/video_capture_controller.h base::ProcessHandle render_process, base 124 content/browser/renderer_host/media/video_capture_controller.h base::TimeTicks timestamp); base 152 content/browser/renderer_host/media/video_capture_controller.h base::WeakPtrFactory<VideoCaptureController> weak_ptr_factory_; base 42 content/browser/renderer_host/media/video_capture_controller_event_handler.h base::SharedMemoryHandle handle, base 54 content/browser/renderer_host/media/video_capture_controller_event_handler.h base::TimeTicks timestamp) = 0; base 61 content/browser/renderer_host/media/video_capture_controller_event_handler.h base::TimeTicks timestamp) = 0; base 53 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::SharedMemoryHandle handle, base 64 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks timestamp) OVERRIDE { base 66 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::MessageLoop::current()->PostTask( base 68 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::Bind(&VideoCaptureController::ReturnBuffer, base 69 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::Unretained(controller_), base 79 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks timestamp) OVERRIDE { base 83 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::MessageLoop::current()->PostTask( base 85 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::Bind(&VideoCaptureController::ReturnBuffer, base 86 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::Unretained(controller_), base 95 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 96 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::Bind(base::IgnoreResult(&VideoCaptureController::RemoveClient), base 97 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::Unretained(controller_), id, this)); base 122 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 135 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::SharedMemory::NULLHandle(), base 136 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeDelta(), base 137 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::Closure()); base 151 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeDelta(), base 189 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::kNullProcessHandle, base 197 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::kNullProcessHandle, base 205 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::kNullProcessHandle, base 228 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::kNullProcessHandle, base 239 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 299 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::kNullProcessHandle, base 304 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::kNullProcessHandle, base 309 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::kNullProcessHandle, base 343 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks()); base 346 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 363 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks()); base 370 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 377 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::kNullProcessHandle, base 394 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks()); base 413 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 434 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks()); base 452 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks()); base 457 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 480 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks()); base 499 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::Bind(&CacheSyncPoint, &mailbox_syncpoints_new[i]), base 501 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks()); base 513 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 536 content/browser/renderer_host/media/video_capture_controller_unittest.cc route_id, client_a_.get(), base::kNullProcessHandle, 100, session_100); base 539 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 546 content/browser/renderer_host/media/video_capture_controller_unittest.cc route_id, client_b_.get(), base::kNullProcessHandle, 200, session_200); base 547 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 559 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks()); base 562 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 578 content/browser/renderer_host/media/video_capture_controller_unittest.cc route_id, client_a_.get(), base::kNullProcessHandle, 100, session_100); base 585 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 599 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::TimeTicks()); base 603 content/browser/renderer_host/media/video_capture_controller_unittest.cc base::RunLoop().RunUntilIdle(); base 610 content/browser/renderer_host/media/video_capture_controller_unittest.cc route_id, client_b_.get(), base::kNullProcessHandle, 200, session_200); base 26 content/browser/renderer_host/media/video_capture_host.cc const base::WeakPtr<VideoCaptureController>& controller = it->second; base 52 content/browser/renderer_host/media/video_capture_host.cc base::Bind(&VideoCaptureHost::DoHandleErrorOnIOThread, base 58 content/browser/renderer_host/media/video_capture_host.cc base::SharedMemoryHandle handle, base 63 content/browser/renderer_host/media/video_capture_host.cc base::Bind(&VideoCaptureHost::DoSendNewBufferOnIOThread, base 72 content/browser/renderer_host/media/video_capture_host.cc base::Bind(&VideoCaptureHost::DoSendFreeBufferOnIOThread, base 80 content/browser/renderer_host/media/video_capture_host.cc base::TimeTicks timestamp) { base 84 content/browser/renderer_host/media/video_capture_host.cc base::Bind(&VideoCaptureHost::DoSendFilledBufferOnIOThread, base 97 content/browser/renderer_host/media/video_capture_host.cc base::TimeTicks timestamp) { base 101 content/browser/renderer_host/media/video_capture_host.cc base::Bind(&VideoCaptureHost::DoSendFilledMailboxBufferOnIOThread, base 114 content/browser/renderer_host/media/video_capture_host.cc base::Bind(&VideoCaptureHost::DoEndedOnIOThread, this, controller_id)); base 119 content/browser/renderer_host/media/video_capture_host.cc base::SharedMemoryHandle handle, base 146 content/browser/renderer_host/media/video_capture_host.cc base::TimeTicks timestamp) { base 161 content/browser/renderer_host/media/video_capture_host.cc base::TimeTicks timestamp) { base 233 content/browser/renderer_host/media/video_capture_host.cc entries_[controller_id] = base::WeakPtr<VideoCaptureController>(); base 240 content/browser/renderer_host/media/video_capture_host.cc base::Bind(&VideoCaptureHost::OnControllerAdded, this, device_id)); base 245 content/browser/renderer_host/media/video_capture_host.cc const base::WeakPtr<VideoCaptureController>& controller) { base 249 content/browser/renderer_host/media/video_capture_host.cc base::Bind(&VideoCaptureHost::DoControllerAddedOnIOThread, base 257 content/browser/renderer_host/media/video_capture_host.cc const base::WeakPtr<VideoCaptureController>& controller) { base 306 content/browser/renderer_host/media/video_capture_host.cc const base::WeakPtr<VideoCaptureController>& controller = it->second; base 82 content/browser/renderer_host/media/video_capture_host.h base::SharedMemoryHandle handle, base 90 content/browser/renderer_host/media/video_capture_host.h base::TimeTicks timestamp) OVERRIDE; base 95 content/browser/renderer_host/media/video_capture_host.h base::TimeTicks timestamp) OVERRIDE; base 100 content/browser/renderer_host/media/video_capture_host.h friend class base::DeleteHelper<VideoCaptureHost>; base 115 content/browser/renderer_host/media/video_capture_host.h const base::WeakPtr<VideoCaptureController>& controller); base 118 content/browser/renderer_host/media/video_capture_host.h const base::WeakPtr<VideoCaptureController>& controller); base 146 content/browser/renderer_host/media/video_capture_host.h base::SharedMemoryHandle handle, base 159 content/browser/renderer_host/media/video_capture_host.h base::TimeTicks timestamp); base 167 content/browser/renderer_host/media/video_capture_host.h base::TimeTicks timestamp); base 180 content/browser/renderer_host/media/video_capture_host.h base::WeakPtr<VideoCaptureController> > EntryMap; base 62 content/browser/renderer_host/media/video_capture_host_unittest.cc base::FilePath file_name = base::FilePath(base::StringPrintf( base 64 content/browser/renderer_host/media/video_capture_host_unittest.cc file_.reset(base::OpenFile(file_name, "wb")); base 75 content/browser/renderer_host/media/video_capture_host_unittest.cc base::ScopedFILE file_; base 121 content/browser/renderer_host/media/video_capture_host_unittest.cc base::SharedMemoryHandle handle, base 130 content/browser/renderer_host/media/video_capture_host_unittest.cc base::TimeTicks timestamp)); base 136 content/browser/renderer_host/media/video_capture_host_unittest.cc base::TimeTicks timestamp)); base 160 content/browser/renderer_host/media/video_capture_host_unittest.cc std::map<int, base::SharedMemory*>::iterator it = filled_dib_.begin(); base 200 content/browser/renderer_host/media/video_capture_host_unittest.cc base::SharedMemoryHandle handle, base 204 content/browser/renderer_host/media/video_capture_host_unittest.cc base::SharedMemory* dib = new base::SharedMemory(handle, false); base 212 content/browser/renderer_host/media/video_capture_host_unittest.cc std::map<int, base::SharedMemory*>::iterator it = base 222 content/browser/renderer_host/media/video_capture_host_unittest.cc base::TimeTicks timestamp) { base 223 content/browser/renderer_host/media/video_capture_host_unittest.cc base::SharedMemory* dib = filled_dib_[buffer_id]; base 248 content/browser/renderer_host/media/video_capture_host_unittest.cc base::TimeTicks timestamp) { base 261 content/browser/renderer_host/media/video_capture_host_unittest.cc std::map<int, base::SharedMemory*> filled_dib_; base 279 content/browser/renderer_host/media/video_capture_host_unittest.cc message_loop_(base::MessageLoopProxy::current()), base 294 content/browser/renderer_host/media/video_capture_host_unittest.cc host_->OnChannelConnected(base::GetCurrentProcId()); base 326 content/browser/renderer_host/media/video_capture_host_unittest.cc base::RunLoop run_loop; base 351 content/browser/renderer_host/media/video_capture_host_unittest.cc base::RunLoop run_loop; base 390 content/browser/renderer_host/media/video_capture_host_unittest.cc base::RunLoop run_loop; base 406 content/browser/renderer_host/media/video_capture_host_unittest.cc base::RunLoop run_loop; base 422 content/browser/renderer_host/media/video_capture_host_unittest.cc base::RunLoop run_loop; base 437 content/browser/renderer_host/media/video_capture_host_unittest.cc base::RunLoop run_loop; base 453 content/browser/renderer_host/media/video_capture_host_unittest.cc base::RunLoop run_loop; base 472 content/browser/renderer_host/media/video_capture_host_unittest.cc base::RunLoop().RunUntilIdle(); base 484 content/browser/renderer_host/media/video_capture_host_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_; base 499 content/browser/renderer_host/media/video_capture_host_unittest.cc base::RunLoop().RunUntilIdle(); base 526 content/browser/renderer_host/media/video_capture_host_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); base 110 content/browser/renderer_host/media/video_capture_manager.cc const scoped_refptr<base::SingleThreadTaskRunner>& device_task_runner) { base 127 content/browser/renderer_host/media/video_capture_manager.cc base::PostTaskAndReplyWithResult( base 129 content/browser/renderer_host/media/video_capture_manager.cc base::Bind(&VideoCaptureManager::GetAvailableDevicesInfoOnDeviceThread, base 131 content/browser/renderer_host/media/video_capture_manager.cc base::Bind(&VideoCaptureManager::OnDevicesInfoEnumerated, this, base 152 content/browser/renderer_host/media/video_capture_manager.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 153 content/browser/renderer_host/media/video_capture_manager.cc base::Bind(&VideoCaptureManager::OnOpened, this, base 183 content/browser/renderer_host/media/video_capture_manager.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 184 content/browser/renderer_host/media/video_capture_manager.cc base::Bind(&VideoCaptureManager::OnClosed, this, session_it->second.type, base 274 content/browser/renderer_host/media/video_capture_manager.cc base::ProcessHandle client_render_process, base 285 content/browser/renderer_host/media/video_capture_manager.cc done_cb.Run(base::WeakPtr<VideoCaptureController>()); base 298 content/browser/renderer_host/media/video_capture_manager.cc base::Bind( base 304 content/browser/renderer_host/media/video_capture_manager.cc base::Passed(entry->video_capture_controller->NewDeviceClient()))); base 388 content/browser/renderer_host/media/video_capture_manager.cc base::Bind( base 410 content/browser/renderer_host/media/video_capture_manager.cc base::Bind(&VideoCaptureManager::SetDesktopCaptureWindowIdOnDeviceThread, base 596 content/browser/renderer_host/media/video_capture_manager.cc base::Bind(&VideoCaptureManager::DoStopDeviceOnDeviceThread, this, base 597 content/browser/renderer_host/media/video_capture_manager.cc base::Owned(entry))); base 37 content/browser/renderer_host/media/video_capture_manager.h typedef base::Callback< base 38 content/browser/renderer_host/media/video_capture_manager.h void(const base::WeakPtr<VideoCaptureController>&)> DoneCB; base 44 content/browser/renderer_host/media/video_capture_manager.h const scoped_refptr<base::SingleThreadTaskRunner>& base 74 content/browser/renderer_host/media/video_capture_manager.h base::ProcessHandle client_render_process, base 184 content/browser/renderer_host/media/video_capture_manager.h scoped_refptr<base::SingleThreadTaskRunner> device_task_runner_; base 52 content/browser/renderer_host/media/video_capture_manager_unittest.cc base::SharedMemoryHandle handle, base 59 content/browser/renderer_host/media/video_capture_manager_unittest.cc base::TimeTicks timestamp) OVERRIDE {} base 64 content/browser/renderer_host/media/video_capture_manager_unittest.cc base::TimeTicks timestamp) OVERRIDE {} base 79 content/browser/renderer_host/media/video_capture_manager_unittest.cc message_loop_.reset(new base::MessageLoopForIO); base 92 content/browser/renderer_host/media/video_capture_manager_unittest.cc base::Closure quit_closure, base 94 content/browser/renderer_host/media/video_capture_manager_unittest.cc const base::WeakPtr<VideoCaptureController>& controller) { base 111 content/browser/renderer_host/media/video_capture_manager_unittest.cc base::RunLoop run_loop; base 115 content/browser/renderer_host/media/video_capture_manager_unittest.cc base::kNullProcessHandle, base 118 content/browser/renderer_host/media/video_capture_manager_unittest.cc base::Bind(&VideoCaptureManagerTest::OnGotControllerCallback, base 119 content/browser/renderer_host/media/video_capture_manager_unittest.cc base::Unretained(this), base 138 content/browser/renderer_host/media/video_capture_manager_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 64 content/browser/renderer_host/media/webrtc_identity_service_host.cc base::Bind(&WebRTCIdentityServiceHost::OnComplete, base 76 content/browser/renderer_host/media/webrtc_identity_service_host.cc base::ResetAndReturn(&cancel_callback_).Run(); base 62 content/browser/renderer_host/media/webrtc_identity_service_host.h base::Closure cancel_callback_; base 64 content/browser/renderer_host/media/webrtc_identity_service_host.h base::WeakPtrFactory<WebRTCIdentityServiceHost> weak_factory_; base 30 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc MockWebRTCIdentityStore() : WebRTCIdentityStore(base::FilePath(), NULL) {} base 32 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc virtual base::Closure RequestIdentity( base 40 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc return base::Bind(&MockWebRTCIdentityStore::OnCancel, base 41 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc base::Unretained(this)); base 15 content/browser/renderer_host/native_web_keyboard_event_android.cc return base::android::AttachCurrentThread()->NewGlobalRef(key_event); base 20 content/browser/renderer_host/native_web_keyboard_event_android.cc base::android::AttachCurrentThread()->DeleteGlobalRef(key_event); base 29 content/browser/renderer_host/p2p/socket_dispatcher_host.cc typedef base::Callback<void(const net::IPAddressList&)> DoneCallback; base 60 content/browser/renderer_host/p2p/socket_dispatcher_host.cc base::Bind(&P2PSocketDispatcherHost::DnsRequest::OnDone, base 61 content/browser/renderer_host/p2p/socket_dispatcher_host.cc base::Unretained(this)), base 146 content/browser/renderer_host/p2p/socket_dispatcher_host.cc BrowserThread::FILE, FROM_HERE, base::Bind( base 171 content/browser/renderer_host/p2p/socket_dispatcher_host.cc BrowserThread::FILE, FROM_HERE, base::Bind( base 188 content/browser/renderer_host/p2p/socket_dispatcher_host.cc request->Resolve(host_name, base::Bind( base 190 content/browser/renderer_host/p2p/socket_dispatcher_host.cc base::Unretained(this), request)); base 282 content/browser/renderer_host/p2p/socket_dispatcher_host.cc BrowserThread::IO, FROM_HERE, base::Bind( base 54 content/browser/renderer_host/p2p/socket_dispatcher_host.h friend class base::DeleteHelper<P2PSocketDispatcherHost>; base 107 content/browser/renderer_host/p2p/socket_host.cc (base::TimeTicks::HighResNow() - base::TimeTicks()).InMicroseconds(); base 110 content/browser/renderer_host/p2p/socket_host.cc ((now_us << 18) / base::Time::kMicrosecondsPerSecond) & 0x00FFFFFF; base 151 content/browser/renderer_host/p2p/socket_host.cc if (!hmac.Sign(base::StringPiece(rtp, auth_required_length), base 409 content/browser/renderer_host/p2p/socket_host.cc uint32 cookie = base::NetToHost32(*reinterpret_cast<const uint32*>(data + 4)); base 413 content/browser/renderer_host/p2p/socket_host.cc uint16 length = base::NetToHost16(*reinterpret_cast<const uint16*>(data + 2)); base 417 content/browser/renderer_host/p2p/socket_host.cc int message_type = base::NetToHost16(*reinterpret_cast<const uint16*>(data)); base 99 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Bind(&P2PSocketHostTcpBase::OnConnected, base 100 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Unretained(this))); base 106 content/browser/renderer_host/p2p/socket_host_tcp.cc base::MessageLoop* message_loop = base::MessageLoop::current(); base 110 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Bind(&P2PSocketHostTcpBase::OnConnected, base 111 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Unretained(this), status)); base 146 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Bind(&P2PSocketHostTcpBase::ProcessTlsSslConnectDone, base 147 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Unretained(this))); base 188 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Bind(&P2PSocketHostTcpBase::ProcessTlsSslConnectDone, base 189 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Unretained(this))); base 260 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Bind(&P2PSocketHostTcp::OnRead, base::Unretained(this))); base 289 content/browser/renderer_host/p2p/socket_host_tcp.cc id_, remote_address_.ip_address, data, base::TimeTicks::Now())); base 341 content/browser/renderer_host/p2p/socket_host_tcp.cc base::Bind(&P2PSocketHostTcp::OnWritten, base::Unretained(this))); base 441 content/browser/renderer_host/p2p/socket_host_tcp.cc int packet_size = base::NetToHost16(*reinterpret_cast<uint16*>(input)); base 459 content/browser/renderer_host/p2p/socket_host_tcp.cc *reinterpret_cast<uint16*>(buffer->data()) = base::HostToNet16(data.size()); base 548 content/browser/renderer_host/p2p/socket_host_tcp.cc int packet_size = base::NetToHost16(*reinterpret_cast<const uint16*>( base 552 content/browser/renderer_host/p2p/socket_host_tcp.cc uint16 msg_type = base::NetToHost16(*reinterpret_cast<const uint16*>(data)); base 29 content/browser/renderer_host/p2p/socket_host_tcp_server.cc base::Bind(&P2PSocketHostTcpServer::OnAccepted, base 30 content/browser/renderer_host/p2p/socket_host_tcp_server.cc base::Unretained(this))) { base 56 content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc uint16 size16 = base::HostToNet16(size); base 212 content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc base::MessageLoop message_loop; base 263 content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc *reinterpret_cast<uint16*>(&*packet.begin()) = base::HostToNet16(0x8000); base 364 content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc base::MessageLoop message_loop; base 81 content/browser/renderer_host/p2p/socket_host_test_utils.cc base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, base::Bind( base 82 content/browser/renderer_host/p2p/socket_host_test_utils.cc &FakeSocket::DoAsyncWrite, base::Unretained(this), base 188 content/browser/renderer_host/p2p/socket_host_test_utils.cc *reinterpret_cast<uint16*>(&*packet->begin()) = base::HostToNet16(type); base 190 content/browser/renderer_host/p2p/socket_host_test_utils.cc base::HostToNet16(packet->size() - kStunHeaderSize); base 192 content/browser/renderer_host/p2p/socket_host_test_utils.cc base::HostToNet32(kStunMagicCookie); base 140 content/browser/renderer_host/p2p/socket_host_udp.cc base::Bind(&P2PSocketHostUdp::OnRecv, base::Unretained(this))); base 174 content/browser/renderer_host/p2p/socket_host_udp.cc id_, recv_address_, data, base::TimeTicks::Now())); base 244 content/browser/renderer_host/p2p/socket_host_udp.cc base::Bind(&P2PSocketHostUdp::OnSend, base::Unretained(this), packet.id)); base 254 content/browser/renderer_host/p2p/socket_host_udp.cc base::Bind(&P2PSocketHostUdp::OnSend, base::Unretained(this), base 21 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc base::ProcessHandle plugin_child_process, base 25 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc const base::FilePath& profile_directory) { base 29 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc base::FilePath(), profile_directory, base 47 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc const base::FilePath& plugin_path, base 48 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc const base::FilePath& profile_data_directory, base 52 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc plugin_process_handle_(base::kNullProcessHandle), base 78 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc base::ProcessHandle BrowserPpapiHostImpl::GetPluginProcessHandle() const { base 80 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc DCHECK(in_process_ || plugin_process_handle_ != base::kNullProcessHandle); base 108 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc const base::FilePath& BrowserPpapiHostImpl::GetPluginPath() { base 112 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc const base::FilePath& BrowserPpapiHostImpl::GetProfileDataDirectory() { base 38 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h const base::FilePath& plugin_path, base 39 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h const base::FilePath& profile_data_directory, base 46 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h virtual base::ProcessHandle GetPluginProcessHandle() const OVERRIDE; base 53 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h virtual const base::FilePath& GetPluginPath() OVERRIDE; base 54 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h virtual const base::FilePath& GetProfileDataDirectory() OVERRIDE; base 60 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h void set_plugin_process_handle(base::ProcessHandle handle) { base 112 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h base::ProcessHandle plugin_process_handle_; base 114 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h base::FilePath plugin_path_; base 115 content/browser/renderer_host/pepper/browser_ppapi_host_impl.h base::FilePath profile_data_directory_; base 17 content/browser/renderer_host/pepper/browser_ppapi_host_test.cc base::FilePath(), base 18 content/browser/renderer_host/pepper/browser_ppapi_host_test.cc base::FilePath(), base 21 content/browser/renderer_host/pepper/browser_ppapi_host_test.cc ppapi_host_->set_plugin_process_handle(base::GetCurrentProcessHandle()); base 26 content/browser/renderer_host/pepper/pepper_browser_font_singleton_host.cc virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 47 content/browser/renderer_host/pepper/pepper_browser_font_singleton_host.cc scoped_refptr<base::TaskRunner> FontMessageFilter::OverrideTaskRunnerForMessage( base 52 content/browser/renderer_host/pepper/pepper_browser_font_singleton_host.cc base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); base 71 content/browser/renderer_host/pepper/pepper_browser_font_singleton_host.cc scoped_ptr<base::ListValue> list(GetFontList_SlowBlocking()); base 75 content/browser/renderer_host/pepper/pepper_browser_font_singleton_host.cc base::ListValue* cur_font; base 23 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc const base::FilePath& path) : host_(host), base 46 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc base::FileUtilProxy::Touch( base 51 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc base::Bind(&PepperExternalFileRefBackend::DidFinish, base 73 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc bool ok = base::FileUtilProxy::GetFileInfo( base 76 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc base::Bind(&PepperExternalFileRefBackend::GetMetadataComplete, base 103 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc base::FilePath PepperExternalFileRefBackend::GetExternalFilePath() const { base 136 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc base::File::Error error) { base 143 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc const base::File::Error error, base 144 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc const base::File::Info& file_info) { base 148 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc if (error == base::File::FILE_OK) { base 27 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h const base::FilePath& path); base 45 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h virtual base::FilePath GetExternalFilePath() const OVERRIDE; base 56 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h base::File::Error error); base 61 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h base::File::Error error, base 62 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h const base::File::Info& file_info); base 65 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h base::FilePath path_; base 68 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h scoped_refptr<base::TaskRunner> task_runner_; base 70 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h base::WeakPtrFactory<PepperExternalFileRefBackend> weak_factory_; base 50 content/browser/renderer_host/pepper/pepper_file_io_host.cc stuff.resolved_render_process_id = base::GetProcId(host->GetHandle()); base 58 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::ProcessId GetResolvedRenderProcessId(int render_process_id) { base 62 content/browser/renderer_host/pepper/pepper_file_io_host.cc return base::kNullProcessId; base 63 content/browser/renderer_host/pepper/pepper_file_io_host.cc return base::GetProcId(host->GetHandle()); base 89 content/browser/renderer_host/pepper/pepper_file_io_host.cc file_(base::kInvalidPlatformFileValue), base 129 content/browser/renderer_host/pepper/pepper_file_io_host.cc resolved_render_process_id = base::kNullProcessId; base 174 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&GetUIThreadStuffForInternalFileSystems, base 176 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::GotUIThreadStuffForInternalFileSystems, base 181 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::FilePath path = file_ref_host->GetExternalFilePath(); base 187 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&GetResolvedRenderProcessId, render_process_id_), base 188 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::GotResolvedRenderProcessId, base 205 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (resolved_render_process_id_ == base::kNullProcessId || base 223 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::DidOpenInternalFile, base 230 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::File::Error result, base 231 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::PlatformFile file, base 232 content/browser/renderer_host/pepper/pepper_file_io_host.cc const base::Closure& on_close_callback) { base 233 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (result == base::File::FILE_OK) { base 241 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::DidOpenQuotaFile, base 250 content/browser/renderer_host/pepper/pepper_file_io_host.cc reply_context, result, base::PassPlatformFile(&file), true); base 255 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::FilePath path, base 257 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::ProcessId resolved_render_process_id) { base 260 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::FileUtilProxy::CreateOrOpen( base 264 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::ExecutePlatformOpenFileCallback, base 278 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (!base::FileUtilProxy::Touch( base 283 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::ExecutePlatformGeneralCallback, base 305 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (!base::FileUtilProxy::Truncate( base 309 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::ExecutePlatformGeneralCallback, base 325 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (!base::FileUtilProxy::Flush( base 328 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::ExecutePlatformGeneralCallback, base 345 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (file_ != base::kInvalidPlatformFileValue) { base 346 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::FileUtilProxy::Close( base 349 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::DidCloseFile, base 351 content/browser/renderer_host/pepper/pepper_file_io_host.cc file_ = base::kInvalidPlatformFileValue; base 358 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::PlatformFile file, base 363 content/browser/renderer_host/pepper/pepper_file_io_host.cc reply_context, base::File::FILE_OK, base::PassPlatformFile(&file), base 367 content/browser/renderer_host/pepper/pepper_file_io_host.cc void PepperFileIOHost::DidCloseFile(base::File::Error error) { base 385 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&GetPluginAllowedToCallRequestOSFileHandle, base 388 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::Bind(&PepperFileIOHost::GotPluginAllowedToCallRequestOSFileHandle, base 412 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::File::Error error_code) { base 421 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::File::Error error_code, base 422 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::PassPlatformFile file, base 425 content/browser/renderer_host/pepper/pepper_file_io_host.cc DCHECK(file_ == base::kInvalidPlatformFileValue); base 428 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (file_ != base::kInvalidPlatformFileValue && base 455 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::ProcessId plugin_process_id = base 456 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::GetProcId(browser_ppapi_host_->GetPluginProcessHandle()); base 457 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (plugin_process_id == base::kNullProcessId) base 34 content/browser/renderer_host/pepper/pepper_file_io_host.h public base::SupportsWeakPtr<PepperFileIOHost> { base 36 content/browser/renderer_host/pepper/pepper_file_io_host.h typedef base::Callback<void (base::File::Error)> base 52 content/browser/renderer_host/pepper/pepper_file_io_host.h base::ProcessId resolved_render_process_id; base 80 content/browser/renderer_host/pepper/pepper_file_io_host.h base::File::Error error_code); base 83 content/browser/renderer_host/pepper/pepper_file_io_host.h base::File::Error error_code, base 84 content/browser/renderer_host/pepper/pepper_file_io_host.h base::PassPlatformFile file, base 93 content/browser/renderer_host/pepper/pepper_file_io_host.h base::File::Error result, base 94 content/browser/renderer_host/pepper/pepper_file_io_host.h base::PlatformFile file, base 95 content/browser/renderer_host/pepper/pepper_file_io_host.h const base::Closure& on_close_callback); base 98 content/browser/renderer_host/pepper/pepper_file_io_host.h base::FilePath path, base 100 content/browser/renderer_host/pepper/pepper_file_io_host.h base::ProcessId resolved_render_process_id); base 103 content/browser/renderer_host/pepper/pepper_file_io_host.h base::PlatformFile file, base 108 content/browser/renderer_host/pepper/pepper_file_io_host.h void DidCloseFile(base::File::Error error); base 121 content/browser/renderer_host/pepper/pepper_file_io_host.h base::ProcessId resolved_render_process_id_; base 123 content/browser/renderer_host/pepper/pepper_file_io_host.h base::PlatformFile file_; base 130 content/browser/renderer_host/pepper/pepper_file_io_host.h base::WeakPtr<PepperFileSystemBrowserHost> file_system_host_; base 135 content/browser/renderer_host/pepper/pepper_file_io_host.h base::Closure on_close_callback_; base 141 content/browser/renderer_host/pepper/pepper_file_io_host.h scoped_refptr<base::MessageLoopProxy> file_message_loop_; base 143 content/browser/renderer_host/pepper/pepper_file_io_host.h base::WeakPtrFactory<PepperFileIOHost> weak_factory_; base 82 content/browser/renderer_host/pepper/pepper_file_ref_host.cc const base::FilePath& external_path) base 119 content/browser/renderer_host/pepper/pepper_file_ref_host.cc base::FilePath PepperFileRefHost::GetExternalFilePath() const { base 122 content/browser/renderer_host/pepper/pepper_file_ref_host.cc return base::FilePath(); base 125 content/browser/renderer_host/pepper/pepper_file_ref_host.cc base::WeakPtr<PepperFileSystemBrowserHost> base 45 content/browser/renderer_host/pepper/pepper_file_ref_host.h virtual base::FilePath GetExternalFilePath() const = 0; base 56 content/browser/renderer_host/pepper/pepper_file_ref_host.h public base::SupportsWeakPtr<PepperFileRefHost> { base 67 content/browser/renderer_host/pepper/pepper_file_ref_host.h const base::FilePath& external_path); base 82 content/browser/renderer_host/pepper/pepper_file_ref_host.h base::FilePath GetExternalFilePath() const; base 83 content/browser/renderer_host/pepper/pepper_file_ref_host.h base::WeakPtr<PepperFileSystemBrowserHost> GetFileSystemHost() const; base 105 content/browser/renderer_host/pepper/pepper_file_ref_host.h base::WeakPtr<PepperFileSystemBrowserHost> file_system_host_; base 72 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&QuotaReservation::OnClientCrash, quota_reservation_)); base 82 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc const base::Closure& callback) { base 96 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&GetFileSystemContextFromRenderId, render_process_id), base 97 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&PepperFileSystemBrowserHost::OpenExistingFileSystem, base 130 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::PostTaskAndReplyWithResult( base 133 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&QuotaReservation::OpenFile, base 157 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&QuotaReservation::CloseFile, base 190 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&GetFileSystemContextFromRenderId, render_process_id), base 191 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&PepperFileSystemBrowserHost::OpenFileSystem, base 199 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc const base::Closure& callback, base 223 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc reply_context, GURL(), std::string(), base::File::FILE_ERROR_FAILED); base 233 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&PepperFileSystemBrowserHost::OpenFileSystemComplete, base 242 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::File::Error error) { base 250 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&PepperFileSystemBrowserHost::SendReplyForFileSystem, base 314 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind( base 322 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::File::Error error) { base 358 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&GetFileSystemContextFromRenderId, render_process_id), base 359 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&PepperFileSystemBrowserHost::OpenIsolatedFileSystem, base 380 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&QuotaReservation::ReserveQuota, base 384 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&PepperFileSystemBrowserHost::GotReservedQuota, base 437 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc const base::Closure& callback) { base 439 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::PostTaskAndReplyWithResult( base 442 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&QuotaReservation::Create, base 446 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::Bind(&PepperFileSystemBrowserHost::GotQuotaReservation, base 452 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc const base::Closure& callback, base 473 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::FilePath plugin_path = browser_ppapi_host_->GetPluginPath(); base 32 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h public base::SupportsWeakPtr<PepperFileSystemBrowserHost> { base 46 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h void OpenExisting(const GURL& root_url, const base::Closure& callback); base 70 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h typedef base::Callback<void(int64_t)> OpenQuotaFileCallback; base 83 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h const base::Closure& callback, base 93 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h base::File::Error error); base 106 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h base::File::Error error); base 132 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h void CreateQuotaReservation(const base::Closure& callback); base 134 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h const base::Closure& callback, base 174 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h base::WeakPtrFactory<PepperFileSystemBrowserHost> weak_factory_; base 30 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc bool CanRead(int process_id, const base::FilePath& path) { base 35 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc bool CanCreateReadWrite(int process_id, const base::FilePath& path) { base 48 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath profile_data_directory = host->GetProfileDataDirectory(); base 59 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath::FromUTF8Unsafe(plugin_name)); base 67 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath PepperFlashFileMessageFilter::GetDataDirName( base 68 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc const base::FilePath& profile_path) { base 72 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc scoped_refptr<base::TaskRunner> base 83 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc return scoped_refptr<base::TaskRunner>(BrowserThread::GetBlockingPool()); base 113 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath full_path = ValidateAndConvertPepperFilePath( base 115 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::Bind(&CanOpenWithPepperFlags, pp_open_flags)); base 118 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); base 124 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc return base::File::FILE_ERROR_FAILED; base 127 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File file(full_path, platform_file_flags); base 134 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::Info info; base 138 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); base 155 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath from_full_path = ValidateAndConvertPepperFilePath( base 156 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc from_path, base::Bind(&CanCreateReadWrite)); base 157 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath to_full_path = ValidateAndConvertPepperFilePath( base 158 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc to_path, base::Bind(&CanCreateReadWrite)); base 161 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); base 164 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc bool result = base::Move(from_full_path, to_full_path); base 166 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_OK : base::File::FILE_ERROR_ACCESS_DENIED); base 173 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath full_path = ValidateAndConvertPepperFilePath( base 174 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc path, base::Bind(&CanCreateReadWrite)); base 177 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); base 180 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc bool result = base::DeleteFile(full_path, recursive); base 182 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_OK : base::File::FILE_ERROR_ACCESS_DENIED); base 187 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath full_path = ValidateAndConvertPepperFilePath( base 188 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc path, base::Bind(&CanCreateReadWrite)); base 191 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); base 194 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc bool result = base::CreateDirectory(full_path); base 196 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_OK : base::File::FILE_ERROR_ACCESS_DENIED); base 202 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath full_path = ValidateAndConvertPepperFilePath( base 203 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc path, base::Bind(&CanRead)); base 206 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); base 209 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::Info info; base 210 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc bool result = base::GetFileInfo(full_path, &info); base 213 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_OK : base::File::FILE_ERROR_ACCESS_DENIED); base 219 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath full_path = ValidateAndConvertPepperFilePath( base 220 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc path, base::Bind(&CanRead)); base 223 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); base 227 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FileEnumerator enumerator(full_path, false, base 228 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FileEnumerator::FILES | base 229 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FileEnumerator::DIRECTORIES | base 230 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FileEnumerator::INCLUDE_DOT_DOT); base 233 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FileEnumerator::FileInfo info = enumerator.GetInfo(); base 248 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc ppapi::PepperFilePath::DOMAIN_MODULE_LOCAL, base::FilePath()); base 249 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath validated_dir_path = ValidateAndConvertPepperFilePath( base 250 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc dir_path, base::Bind(&CanCreateReadWrite)); base 252 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc (!base::DirectoryExists(validated_dir_path) && base 253 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc !base::CreateDirectory(validated_dir_path))) { base 255 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); base 258 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath file_path; base 259 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc if (!base::CreateTemporaryFileInDir(validated_dir_path, &file_path)) { base 261 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_FAILED); base 264 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File file(file_path, base 265 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_READ | base 266 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FLAG_WRITE | base::File::FLAG_TEMPORARY | base 267 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FLAG_DELETE_ON_CLOSE); base 282 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath PepperFlashFileMessageFilter::ValidateAndConvertPepperFilePath( base 285 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::FilePath file_path; // Empty path returned on error. base 41 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.h static base::FilePath GetDataDirName(const base::FilePath& profile_path); base 44 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.h typedef base::Callback<bool(int, const base::FilePath&)> base 50 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 73 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.h base::FilePath ValidateAndConvertPepperFilePath( base 77 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.h base::FilePath plugin_data_directory_; base 79 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.h base::ProcessHandle plugin_process_handle_; base 67 content/browser/renderer_host/pepper/pepper_gamepad_host.cc base::Bind(&PepperGamepadHost::GotUserGesture, base 75 content/browser/renderer_host/pepper/pepper_gamepad_host.cc base::SharedMemoryHandle handle = base 54 content/browser/renderer_host/pepper/pepper_gamepad_host.h base::WeakPtrFactory<PepperGamepadHost> weak_factory_; base 181 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc base::SharedMemoryHandle reply_handle; base 185 content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc base::SharedMemory shared_memory(reply_handle, true); base 103 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc scoped_refptr<base::TaskRunner> base 148 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc base::Bind(&PepperHostResolverMessageFilter::DoResolve, this, base 182 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc base::Bind(&PepperHostResolverMessageFilter::OnLookupFinished, this)); base 52 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 49 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::WeakPtr<PepperFileSystemBrowserHost> fs_host, base 74 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::FilePath PepperInternalFileRefBackend::GetExternalFilePath() const { base 75 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc return base::FilePath(); base 88 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::File::Error error) { base 103 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::Bind(&PepperInternalFileRefBackend::DidFinish, base 121 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::Bind(&PepperInternalFileRefBackend::DidFinish, base 136 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::Bind(&PepperInternalFileRefBackend::DidFinish, base 159 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::Bind(&PepperInternalFileRefBackend::DidFinish, base 173 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::Bind(&PepperInternalFileRefBackend::GetMetadataComplete, base 181 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::File::Error error, base 182 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc const base::File::Info& file_info) { base 186 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc if (error == base::File::FILE_OK) base 204 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::Bind(&PepperInternalFileRefBackend::ReadDirectoryComplete, base 207 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::Owned(accumulated_file_list))); base 214 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::File::Error error, base 226 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc if (error == base::File::FILE_OK && fs_host_.get()) { base 243 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc dir_path + fileapi::FilePathToString(base::FilePath(it->name)); base 29 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h base::WeakPtr<PepperFileSystemBrowserHost> fs_host, base 48 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h virtual base::FilePath GetExternalFilePath() const OVERRIDE; base 59 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h base::File::Error error); base 64 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h base::File::Error error, base 65 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h const base::File::Info& file_info); base 69 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h base::File::Error error, base 77 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h base::WeakPtr<PepperFileSystemBrowserHost> fs_host_; base 83 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h base::WeakPtrFactory<PepperInternalFileRefBackend> weak_factory_; base 20 content/browser/renderer_host/pepper/pepper_lookup_request.h typedef base::Callback<void(int, const net::AddressList&, const T&)> base 41 content/browser/renderer_host/pepper/pepper_lookup_request.h base::Bind(&PepperLookupRequest<T>::OnLookupFinished, base 42 content/browser/renderer_host/pepper/pepper_lookup_request.h base::Unretained(this)), base 55 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc base::Bind(&CanUseNetworkMonitor, host->external_plugin(), base 57 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc base::Bind(&PepperNetworkMonitorHost::OnPermissionCheckResult, base 85 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc base::PostTaskAndReplyWithResult( base 87 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc base::Bind(&GetNetworkList), base 88 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc base::Bind(&PepperNetworkMonitorHost::SendNetworkList, base 43 content/browser/renderer_host/pepper/pepper_network_monitor_host.h base::WeakPtrFactory<PepperNetworkMonitorHost> weak_factory_; base 39 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc base::Bind(&GetUIThreadDataOnUIThread, base 43 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc base::Bind(&PepperNetworkProxyHost::DidGetUIThreadData, base 145 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc base::Callback<void (int)> callback = base 146 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc base::Bind(&PepperNetworkProxyHost::OnResolveProxyCompleted, base 149 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc base::Owned(proxy_info)); base 97 content/browser/renderer_host/pepper/pepper_network_proxy_host.h base::WeakPtrFactory<PepperNetworkProxyHost> weak_factory_; base 98 content/browser/renderer_host/pepper/pepper_print_settings_manager.cc base::Bind(ComputeDefaultPrintSettings), callback); base 19 content/browser/renderer_host/pepper/pepper_print_settings_manager.h typedef base::Callback<void(Result)> Callback; base 43 content/browser/renderer_host/pepper/pepper_printing_host.cc base::Bind(&PepperPrintingHost::PrintSettingsCallback, base 42 content/browser/renderer_host/pepper/pepper_printing_host.h base::WeakPtrFactory<PepperPrintingHost> weak_factory_; base 38 content/browser/renderer_host/pepper/pepper_renderer_connection.cc : public base::RefCounted<PendingHostCreator> { base 102 content/browser/renderer_host/pepper/pepper_renderer_connection.cc base::FilePath(), base 103 content/browser/renderer_host/pepper/pepper_renderer_connection.cc base::FilePath(), base 182 content/browser/renderer_host/pepper/pepper_renderer_connection.cc base::FilePath external_path; base 207 content/browser/renderer_host/pepper/pepper_renderer_connection.cc base::Bind( base 211 content/browser/renderer_host/pepper/pepper_renderer_connection.cc base::Passed(&resource_host))); base 65 content/browser/renderer_host/pepper/pepper_security_helper.cc const base::FilePath& file) { base 18 content/browser/renderer_host/pepper/pepper_security_helper.h const base::FilePath& file); base 76 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(issuer.common_name)); base 78 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(issuer.locality_name)); base 80 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(issuer.state_or_province_name)); base 82 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(issuer.country_name)); base 84 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(JoinString(issuer.organization_names, '\n'))); base 86 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(JoinString(issuer.organization_unit_names, '\n'))); base 90 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(subject.common_name)); base 92 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(subject.locality_name)); base 94 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(subject.state_or_province_name)); base 96 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(subject.country_name)); base 98 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(JoinString(subject.organization_names, '\n'))); base 100 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::StringValue(JoinString(subject.organization_unit_names, '\n'))); base 104 content/browser/renderer_host/pepper/pepper_socket_utils.cc base::BinaryValue::CreateWithCopiedBuffer(serial_number.data(), base 107 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::FundamentalValue(cert.valid_start().ToDoubleT())); base 109 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::FundamentalValue(cert.valid_expiry().ToDoubleT())); base 113 content/browser/renderer_host/pepper/pepper_socket_utils.cc base::BinaryValue::CreateWithCopiedBuffer(der.data(), der.length())); base 72 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc scoped_refptr<base::TaskRunner> base 119 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc base::Bind(&PepperTCPServerSocketMessageFilter::DoListen, this, base 138 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc base::Bind(&PepperTCPServerSocketMessageFilter::OnAcceptCompleted, base 139 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc base::Unretained(this), reply_context)); base 57 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 96 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::Bind(&PepperTCPSocket::OnResolveCompleted, base::Unretained(this)), base 163 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::Bind(&PepperTCPSocket::OnSSLHandshakeCompleted, base 164 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::Unretained(this))); base 192 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::Bind(&PepperTCPSocket::OnReadCompleted, base::Unretained(this))); base 289 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::Bind(&PepperTCPSocket::OnConnectCompleted, base 290 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::Unretained(this))); base 308 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(issuer.common_name)); base 310 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(issuer.locality_name)); base 312 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(issuer.state_or_province_name)); base 314 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(issuer.country_name)); base 316 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(JoinString(issuer.organization_names, '\n'))); base 318 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(JoinString(issuer.organization_unit_names, '\n'))); base 322 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(subject.common_name)); base 324 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(subject.locality_name)); base 326 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(subject.state_or_province_name)); base 328 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(subject.country_name)); base 330 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(JoinString(subject.organization_names, '\n'))); base 332 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::StringValue(JoinString(subject.organization_unit_names, '\n'))); base 336 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::BinaryValue::CreateWithCopiedBuffer(serial_number.data(), base 339 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::FundamentalValue(cert.valid_start().ToDoubleT())); base 341 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::FundamentalValue(cert.valid_expiry().ToDoubleT())); base 345 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::BinaryValue::CreateWithCopiedBuffer(der.data(), der.length())); base 523 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::Bind(&PepperTCPSocket::OnWriteCompleted, base::Unretained(this))); base 122 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc scoped_refptr<base::TaskRunner> base 192 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::DoBind, this, base 228 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::DoConnect, this, base 250 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::DoConnectWithNetAddress, this, base 299 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::OnSSLHandshakeCompleted, base 300 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Unretained(this), reply_context)); base 329 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::OnReadCompleted, base 330 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Unretained(this), reply_context)); base 336 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::OnReadCompleted, base 337 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Unretained(this), reply_context)); base 390 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::DoListen, this, base 410 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::OnAcceptCompleted, base 411 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Unretained(this), reply_context)); base 564 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::OnResolveCompleted, base 565 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Unretained(this), context), base 613 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::OnWriteCompleted, base 614 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Unretained(this), context)); base 620 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::OnWriteCompleted, base 621 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Unretained(this), context)); base 679 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Bind(&PepperTCPSocketMessageFilter::OnConnectCompleted, base 680 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc base::Unretained(this), context)); base 71 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 30 content/browser/renderer_host/pepper/pepper_truetype_font_list_host.cc virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 53 content/browser/renderer_host/pepper/pepper_truetype_font_list_host.cc scoped_refptr<base::TaskRunner> FontMessageFilter::OverrideTaskRunnerForMessage( base 58 content/browser/renderer_host/pepper/pepper_truetype_font_list_host.cc base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); base 87 content/browser/renderer_host/pepper/pepper_truetype_font_list_host.cc return base::checked_cast<int32_t>(font_families.size()); base 100 content/browser/renderer_host/pepper/pepper_truetype_font_list_host.cc return base::checked_cast<int32_t>(fonts_in_family.size()); base 30 content/browser/renderer_host/pepper/pepper_truetype_font_list_win.cc std::string face_name(base::UTF16ToUTF8(lf.lfFaceName)); base 47 content/browser/renderer_host/pepper/pepper_truetype_font_list_win.cc desc.family = base::UTF16ToUTF8(lf.lfFaceName); base 66 content/browser/renderer_host/pepper/pepper_truetype_font_list_win.cc base::win::ScopedCreateDC hdc(::CreateCompatibleDC(NULL)); base 76 content/browser/renderer_host/pepper/pepper_truetype_font_list_win.cc base::string16 family16 = base::UTF8ToUTF16(family); base 78 content/browser/renderer_host/pepper/pepper_truetype_font_list_win.cc base::win::ScopedCreateDC hdc(::CreateCompatibleDC(NULL)); base 73 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc scoped_refptr<base::TaskRunner> base 184 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc base::Bind(&PepperUDPSocketMessageFilter::DoBind, this, base 221 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc base::Bind(&PepperUDPSocketMessageFilter::OnRecvFromCompleted, base 222 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc base::Unretained(this), base 247 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc base::Bind(&PepperUDPSocketMessageFilter::DoSendTo, this, base 356 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc base::Bind(&PepperUDPSocketMessageFilter::OnSendToCompleted, base 357 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc base::Unretained(this), base 60 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 54 content/browser/renderer_host/pepper/quota_reservation.cc base::FilePath platform_file_path; base 56 content/browser/renderer_host/pepper/quota_reservation.cc base::File::Error error = base 59 content/browser/renderer_host/pepper/quota_reservation.cc if (error != base::File::FILE_OK) { base 112 content/browser/renderer_host/pepper/quota_reservation.cc base::Bind(&QuotaReservation::GotReservedQuota, base 123 content/browser/renderer_host/pepper/quota_reservation.cc base::File::Error error) { base 132 content/browser/renderer_host/pepper/quota_reservation.cc base::Bind(callback, base 35 content/browser/renderer_host/pepper/quota_reservation.h : public base::RefCountedThreadSafe<QuotaReservation, base 51 content/browser/renderer_host/pepper/quota_reservation.h typedef base::Callback<void(int64_t, const ppapi::FileSizeMap&)> base 62 content/browser/renderer_host/pepper/quota_reservation.h friend class base::RefCountedThreadSafe<QuotaReservation, base 64 content/browser/renderer_host/pepper/quota_reservation.h friend class base::DeleteHelper<QuotaReservation>; base 83 content/browser/renderer_host/pepper/quota_reservation.h base::File::Error error); base 27 content/browser/renderer_host/pepper/quota_reservation_unittest.cc const base::FilePath::StringType file1_name = FILE_PATH_LITERAL("file1"); base 28 content/browser/renderer_host/pepper/quota_reservation_unittest.cc const base::FilePath::StringType file2_name = FILE_PATH_LITERAL("file2"); base 29 content/browser/renderer_host/pepper/quota_reservation_unittest.cc const base::FilePath::StringType file3_name = FILE_PATH_LITERAL("file3"); base 44 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::MessageLoopProxy::current()->PostTask( base 46 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::Bind(base::IgnoreResult(callback), base::File::FILE_OK, delta)); base 84 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::RunLoop().RunUntilIdle(); base 87 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::FilePath MakeFilePath(const base::FilePath::StringType& file_name) { base 92 content/browser/renderer_host/pepper/quota_reservation_unittest.cc const base::FilePath::StringType& file_name) { base 106 content/browser/renderer_host/pepper/quota_reservation_unittest.cc void SetFileSize(const base::FilePath::StringType& file_name, int64 size) { base 107 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::File file(MakeFilePath(file_name), base 108 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); base 118 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::MessageLoop message_loop_; base 119 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::ScopedTempDir work_dir_; base 145 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::Bind(&GotReservedQuota, base 148 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::RunLoop().RunUntilIdle(); base 20 content/browser/renderer_host/pepper/ssl_context_helper.h class SSLContextHelper : public base::RefCounted<SSLContextHelper> { base 29 content/browser/renderer_host/pepper/ssl_context_helper.h friend class base::RefCounted<SSLContextHelper>; base 119 content/browser/renderer_host/render_message_filter.cc base::LazyInstance<gfx::ColorProfile>::Leaky g_color_profile = base 162 content/browser/renderer_host/render_message_filter.cc virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, base 169 content/browser/renderer_host/render_message_filter.cc base::ProcessId plugin_pid, base 199 content/browser/renderer_host/render_message_filter.cc virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, base 206 content/browser/renderer_host/render_message_filter.cc base::ProcessId plugin_pid, base 234 content/browser/renderer_host/render_message_filter.cc base::ScopedCFTypeRef<CFNumberRef> number( base 385 content/browser/renderer_host/render_message_filter.cc base::ProcessHandle handle = PeerHandle(); base 387 content/browser/renderer_host/render_message_filter.cc process_metrics_.reset(base::ProcessMetrics::CreateProcessMetrics(handle, base 390 content/browser/renderer_host/render_message_filter.cc process_metrics_.reset(base::ProcessMetrics::CreateProcessMetrics(handle)); base 393 content/browser/renderer_host/render_message_filter.cc cpu_usage_sample_time_ = base::TimeTicks::Now(); base 479 content/browser/renderer_host/render_message_filter.cc base::TaskRunner* RenderMessageFilter::OverrideTaskRunnerForMessage( base 573 content/browser/renderer_host/render_message_filter.cc using base::ProcessMetrics; base 621 content/browser/renderer_host/render_message_filter.cc base::strlcpy(url_buf, url.spec().c_str(), arraysize(url_buf)); base 622 content/browser/renderer_host/render_message_filter.cc base::debug::Alias(url_buf); base 626 content/browser/renderer_host/render_message_filter.cc url, base::Bind(&RenderMessageFilter::CheckPolicyForCookies, this, base 652 content/browser/renderer_host/render_message_filter.cc url, base::Bind(&RenderMessageFilter::SendGetRawCookiesResponse, base 664 content/browser/renderer_host/render_message_filter.cc cookie_store->DeleteCookieAsync(url, cookie_name, base::Closure()); base 686 content/browser/renderer_host/render_message_filter.cc base::Bind(&FontLoader::LoadFont, font, result), base 687 content/browser/renderer_host/render_message_filter.cc base::Bind(&RenderMessageFilter::SendLoadFontReply, this, reply_msg, base 688 content/browser/renderer_host/render_message_filter.cc base::Owned(result))); base 693 content/browser/renderer_host/render_message_filter.cc base::SharedMemoryHandle handle; base 697 content/browser/renderer_host/render_message_filter.cc handle = base::SharedMemory::NULLHandle(); base 699 content/browser/renderer_host/render_message_filter.cc result->font_data.GiveToProcess(base::GetCurrentProcessHandle(), &handle); base 718 content/browser/renderer_host/render_message_filter.cc const base::TimeDelta threshold = base::TimeDelta::FromSeconds( base 720 content/browser/renderer_host/render_message_filter.cc const base::TimeTicks now = base::TimeTicks::Now(); base 729 content/browser/renderer_host/render_message_filter.cc base::Bind(&RenderMessageFilter::GetPluginsCallback, this, reply_msg)); base 788 content/browser/renderer_host/render_message_filter.cc const base::FilePath& path, base 842 content/browser/renderer_host/render_message_filter.cc const base::FilePath& path) { base 855 content/browser/renderer_host/render_message_filter.cc base::TimeTicks now = base::TimeTicks::Now(); base 895 content/browser/renderer_host/render_message_filter.cc const base::string16& suggested_name) { base 936 content/browser/renderer_host/render_message_filter.cc base::SharedMemoryHandle* handle) { base 944 content/browser/renderer_host/render_message_filter.cc base::SharedMemoryHandle* handle) { base 951 content/browser/renderer_host/render_message_filter.cc const base::SharedMemoryHandle& handle, base 1031 content/browser/renderer_host/render_message_filter.cc base::Time::FromDoubleT(expected_response_time), base 1061 content/browser/renderer_host/render_message_filter.cc base::Bind( base 1070 content/browser/renderer_host/render_message_filter.cc if (!base::WorkerPool::PostTask( base 1072 content/browser/renderer_host/render_message_filter.cc base::Bind(&RenderMessageFilter::OnKeygenOnWorkerThread, base 1074 content/browser/renderer_host/render_message_filter.cc base::Passed(&keygen_handler), base 1116 content/browser/renderer_host/render_message_filter.cc base::Bind(&RenderMessageFilter::SendGetCookiesResponse, base 1207 content/browser/renderer_host/render_message_filter.cc const base::string16& str) { base 1239 content/browser/renderer_host/render_message_filter.cc base::SharedMemoryHandle encoded_data_handle, base 1240 content/browser/renderer_host/render_message_filter.cc base::FileDescriptor pcm_output, base 1245 content/browser/renderer_host/render_message_filter.cc base::WorkerPool::PostTask( base 1247 content/browser/renderer_host/render_message_filter.cc base::Bind(&media::WebAudioMediaCodecBridge::RunWebAudioMediaCodec, base 1267 content/browser/renderer_host/render_message_filter.cc base::ScopedCFTypeRef<CFMutableDictionaryRef> properties; base 1292 content/browser/renderer_host/render_message_filter.cc base::ScopedCFTypeRef<CFTypeRef> io_surface( base 49 content/browser/renderer_host/render_message_filter.h namespace base { base 106 content/browser/renderer_host/render_message_filter.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 120 content/browser/renderer_host/render_message_filter.h friend class base::DeleteHelper<RenderMessageFilter>; base 164 content/browser/renderer_host/render_message_filter.h const base::string16& characters); base 182 content/browser/renderer_host/render_message_filter.h void OnOpenChannelToPepperPlugin(const base::FilePath& path, base 193 content/browser/renderer_host/render_message_filter.h const base::FilePath& path); base 198 content/browser/renderer_host/render_message_filter.h const base::string16& suggested_name); base 216 content/browser/renderer_host/render_message_filter.h base::SharedMemoryHandle* handle); base 219 content/browser/renderer_host/render_message_filter.h base::SharedMemoryHandle* handle); base 221 content/browser/renderer_host/render_message_filter.h const base::SharedMemoryHandle& handle, base 271 content/browser/renderer_host/render_message_filter.h void OnWebAudioMediaCodec(base::SharedMemoryHandle encoded_data_handle, base 272 content/browser/renderer_host/render_message_filter.h base::FileDescriptor pcm_output, base 286 content/browser/renderer_host/render_message_filter.h base::FilePath profile_data_directory_; base 301 content/browser/renderer_host/render_message_filter.h base::TimeTicks last_plugin_refresh_time_; base 312 content/browser/renderer_host/render_message_filter.h base::TimeTicks cpu_usage_sample_time_; base 316 content/browser/renderer_host/render_message_filter.h scoped_ptr<base::ProcessMetrics> process_metrics_; base 322 content/browser/renderer_host/render_message_filter.h base::ScopedCFTypeRef<CFTypeRef> last_io_surface_; base 40 content/browser/renderer_host/render_process_host_browsertest.cc base::ProcessHandle handle, base 41 content/browser/renderer_host/render_process_host_browsertest.cc base::TerminationStatus status, base 118 content/browser/renderer_host/render_process_host_browsertest.cc base::ProcessHandle handle, base 119 content/browser/renderer_host/render_process_host_browsertest.cc base::TerminationStatus status, base 143 content/browser/renderer_host/render_process_host_browsertest.cc base::ProcessHandle handle, base 144 content/browser/renderer_host/render_process_host_browsertest.cc base::TerminationStatus status, base 174 content/browser/renderer_host/render_process_host_impl.cc void CacheShaderInfo(int32 id, base::FilePath path) { base 211 content/browser/renderer_host/render_process_host_impl.cc base::FilePath file_path, base 212 content/browser/renderer_host/render_process_host_impl.cc base::ProcessHandle process) { base 214 content/browser/renderer_host/render_process_host_impl.cc base::File dump_file(file_path, base 215 content/browser/renderer_host/render_process_host_impl.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_APPEND); base 231 content/browser/renderer_host/render_process_host_impl.cc base::LazyInstance<IDMap<RenderProcessHost> >::Leaky base 234 content/browser/renderer_host/render_process_host_impl.cc base::LazyInstance<scoped_refptr<BrowserPluginGeolocationPermissionContext> > base 239 content/browser/renderer_host/render_process_host_impl.cc class SiteProcessMap : public base::SupportsUserData::Data { base 241 content/browser/renderer_host/render_process_host_impl.cc typedef base::hash_map<std::string, RenderProcessHost*> SiteToProcessMap; base 338 content/browser/renderer_host/render_process_host_impl.cc base::MessageLoop* g_in_process_thread; base 340 content/browser/renderer_host/render_process_host_impl.cc base::MessageLoop* base 378 content/browser/renderer_host/render_process_host_impl.cc max_count = base::SysInfo::AmountOfPhysicalMemoryMB() / 2; base 410 content/browser/renderer_host/render_process_host_impl.cc base::TimeDelta::FromSeconds(5), base 443 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&CacheShaderInfo, GetID(), base 508 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&RemoveShaderInfo, GetID())); base 540 content/browser/renderer_host/render_process_host_impl.cc base::FilePath renderer_path = ChildProcessHost::GetChildPath(flags); base 569 content/browser/renderer_host/render_process_host_impl.cc base::Thread::Options options; base 572 content/browser/renderer_host/render_process_host_impl.cc options.message_loop_type = base::MessageLoop::TYPE_UI; base 576 content/browser/renderer_host/render_process_host_impl.cc options.message_loop_type = base::MessageLoop::TYPE_DEFAULT; base 654 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&GetContexts, browser_context->GetResourceContext(), base 755 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&GetRequestContext, request_context, base 765 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&GetRequestContext, request_context, base 772 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&RenderWidgetHelper::GetNextRoutingID, base 773 content/browser/renderer_host/render_process_host_impl.cc base::Unretained(widget_helper_.get()))); base 895 content/browser/renderer_host/render_process_host_impl.cc const base::TimeDelta& max_delay, base 918 content/browser/renderer_host/render_process_host_impl.cc base::KillProcess(GetHandle(), RESULT_CODE_KILLED_BAD_MESSAGE, base 999 content/browser/renderer_host/render_process_host_impl.cc base::FieldTrialList::StatesToString(&field_trial_states); base 1236 content/browser/renderer_host/render_process_host_impl.cc base::ProcessHandle RenderProcessHostImpl::GetHandle() const { base 1238 content/browser/renderer_host/render_process_host_impl.cc return base::Process::Current().handle(); base 1241 content/browser/renderer_host/render_process_host_impl.cc return base::kNullProcessHandle; base 1268 content/browser/renderer_host/render_process_host_impl.cc survive_for_worker_start_time_ = base::TimeTicks::Now(); base 1414 content/browser/renderer_host/render_process_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_BRPH")); base 1498 content/browser/renderer_host/render_process_host_impl.cc survive_for_worker_start_time_ = base::TimeTicks::Now(); base 1506 content/browser/renderer_host/render_process_host_impl.cc base::TimeTicks::Now() - survive_for_worker_start_time_); base 1524 content/browser/renderer_host/render_process_host_impl.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 1560 content/browser/renderer_host/render_process_host_impl.cc base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { base 1561 content/browser/renderer_host/render_process_host_impl.cc return base::TimeTicks::Now() - child_process_activity_time_; base 1573 content/browser/renderer_host/render_process_host_impl.cc void RenderProcessHostImpl::EnableAecDump(const base::FilePath& file) { base 1577 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&CreateAecDumpFileForProcess, file, GetHandle()), base 1578 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&RenderProcessHostImpl::SendAecDumpFileToRenderer, base 1589 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&DisableAecDumpOnFileThread), base 1590 content/browser/renderer_host/render_process_host_impl.cc base::Bind(&RenderProcessHostImpl::SendDisableAecDumpToRenderer, base 1595 content/browser/renderer_host/render_process_host_impl.cc base::Callback<void(const std::string&)> callback) { base 1660 content/browser/renderer_host/render_process_host_impl.cc RecordAction(base::UserMetricsAction("FilterURLTermiate_Invalid")); base 1668 content/browser/renderer_host/render_process_host_impl.cc RecordAction(base::UserMetricsAction("FilterURLTermiate_About")); base 1682 content/browser/renderer_host/render_process_host_impl.cc RecordAction(base::UserMetricsAction("FilterURLTermiate_Blocked")); base 1809 content/browser/renderer_host/render_process_host_impl.cc int random_index = base::RandInt(0, suitable_count - 1); base 1859 content/browser/renderer_host/render_process_host_impl.cc base::UserMetricsAction("BindingsMismatch_GetProcessHostPerSite")); base 1901 content/browser/renderer_host/render_process_host_impl.cc base::TerminationStatus status = base 1905 content/browser/renderer_host/render_process_host_impl.cc base::TERMINATION_STATUS_NORMAL_TERMINATION; base 1968 content/browser/renderer_host/render_process_host_impl.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 1971 content/browser/renderer_host/render_process_host_impl.cc route_id, base::Passed(&subscriber))); base 1977 content/browser/renderer_host/render_process_host_impl.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 32 content/browser/renderer_host/render_process_host_impl.h namespace base { base 100 content/browser/renderer_host/render_process_host_impl.h const base::TimeDelta& max_delay, base 110 content/browser/renderer_host/render_process_host_impl.h virtual base::ProcessHandle GetHandle() const OVERRIDE; base 129 content/browser/renderer_host/render_process_host_impl.h virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; base 133 content/browser/renderer_host/render_process_host_impl.h virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; base 136 content/browser/renderer_host/render_process_host_impl.h base::Callback<void(const std::string&)> callback) OVERRIDE; base 158 content/browser/renderer_host/render_process_host_impl.h child_process_activity_time_ = base::TimeTicks::Now(); base 219 content/browser/renderer_host/render_process_host_impl.h static base::MessageLoop* GetInProcessRendererThreadForTesting(); base 289 content/browser/renderer_host/render_process_host_impl.h void AppendRendererCommandLine(base::CommandLine* command_line) const; base 295 content/browser/renderer_host/render_process_host_impl.h const base::CommandLine& browser_cmd, base 296 content/browser/renderer_host/render_process_host_impl.h base::CommandLine* renderer_cmd) const; base 349 content/browser/renderer_host/render_process_host_impl.h base::DelayTimer<RenderProcessHostImpl> cached_dibs_cleaner_; base 352 content/browser/renderer_host/render_process_host_impl.h scoped_ptr<base::Thread> in_process_renderer_; base 391 content/browser/renderer_host/render_process_host_impl.h base::TimeTicks child_process_activity_time_; base 430 content/browser/renderer_host/render_process_host_impl.h base::Callback<void(const std::string&)> webrtc_log_message_callback_; base 439 content/browser/renderer_host/render_process_host_impl.h base::TimeTicks survive_for_worker_start_time_; base 445 content/browser/renderer_host/render_process_host_impl.h base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; base 18 content/browser/renderer_host/render_process_host_mojo_impl.cc base::PlatformFile PlatformFileFromScopedPlatformHandle( base 46 content/browser/renderer_host/render_process_host_mojo_impl.cc base::ProcessHandle process = host_->GetHandle(); base 47 content/browser/renderer_host/render_process_host_mojo_impl.cc if (process != base::kNullProcessHandle) { base 71 content/browser/renderer_host/render_process_host_mojo_impl.cc base::ProcessHandle process_handle) { base 82 content/browser/renderer_host/render_process_host_mojo_impl.cc base::PlatformFile client_file = base 35 content/browser/renderer_host/render_process_host_mojo_impl.h void CreateMojoChannel(base::ProcessHandle process_handle); base 71 content/browser/renderer_host/render_sandbox_host_linux.cc sandbox_cmd_.push_back(base::kFindInodeSwitch); base 351 content/browser/renderer_host/render_sandbox_host_linux.cc base::ProcessId pid = 0; base 355 content/browser/renderer_host/render_sandbox_host_linux.cc sandbox_cmd.push_back(base::Int64ToString(inode)); base 357 content/browser/renderer_host/render_sandbox_host_linux.cc if (base::GetAppOutput(get_inode_cmd, &inode_output)) base 358 content/browser/renderer_host/render_sandbox_host_linux.cc base::StringToInt(inode_output, &pid); base 374 content/browser/renderer_host/render_sandbox_host_linux.cc base::SharedMemoryCreateOptions options; base 382 content/browser/renderer_host/render_sandbox_host_linux.cc base::SharedMemory shm; base 752 content/browser/renderer_host/render_sandbox_host_linux.cc DCHECK_EQ(1, base::GetNumberOfThreads(base::GetCurrentProcessHandle())); base 89 content/browser/renderer_host/render_view_host_browsertest.cc base::FilePath content_test_data_dir; base 31 content/browser/renderer_host/render_view_host_delegate.h namespace base { base 105 content/browser/renderer_host/render_view_host_delegate.h base::TerminationStatus status, base 120 content/browser/renderer_host/render_view_host_delegate.h const base::string16& title, base 121 content/browser/renderer_host/render_view_host_delegate.h base::i18n::TextDirection title_direction) {} base 172 content/browser/renderer_host/render_view_host_delegate.h const base::string16& message, base 173 content/browser/renderer_host/render_view_host_delegate.h const base::string16& default_prompt, base 180 content/browser/renderer_host/render_view_host_delegate.h const base::string16& message, base 97 content/browser/renderer_host/render_view_host_impl.cc using base::TimeDelta; base 110 content/browser/renderer_host/render_view_host_impl.cc base::i18n::TextDirection WebTextDirectionToChromeTextDirection( base 114 content/browser/renderer_host/render_view_host_impl.cc return base::i18n::LEFT_TO_RIGHT; base 116 content/browser/renderer_host/render_view_host_impl.cc return base::i18n::RIGHT_TO_LEFT; base 119 content/browser/renderer_host/render_view_host_impl.cc return base::i18n::UNKNOWN_DIRECTION; base 132 content/browser/renderer_host/render_view_host_impl.cc if (!base::win::DismissVirtualKeyboard()) { base 136 content/browser/renderer_host/render_view_host_impl.cc base::Bind(base::IgnoreResult(&DismissVirtualKeyboardTask)), base 215 content/browser/renderer_host/render_view_host_impl.cc render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING), base 233 content/browser/renderer_host/render_view_host_impl.cc base::Bind(&ResourceDispatcherHostImpl::OnRenderViewHostCreated, base 234 content/browser/renderer_host/render_view_host_impl.cc base::Unretained(ResourceDispatcherHostImpl::Get()), base 242 content/browser/renderer_host/render_view_host_impl.cc unload_event_monitor_timeout_.reset(new TimeoutMonitor(base::Bind( base 250 content/browser/renderer_host/render_view_host_impl.cc base::Bind(&ResourceDispatcherHostImpl::OnRenderViewHostDeleted, base 251 content/browser/renderer_host/render_view_host_impl.cc base::Unretained(ResourceDispatcherHostImpl::Get()), base 276 content/browser/renderer_host/render_view_host_impl.cc const base::string16& frame_name, base 499 content/browser/renderer_host/render_view_host_impl.cc prefs.number_of_cpu_cores = base::SysInfo::NumberOfProcessors(); base 543 content/browser/renderer_host/render_view_host_impl.cc const base::TimeTicks& proceed_time) { base 579 content/browser/renderer_host/render_view_host_impl.cc base::ProcessHandle process_handle = GetProcess()->GetHandle(); base 632 content/browser/renderer_host/render_view_host_impl.cc const base::Closure& pending_delete_on_swap_out) { base 651 content/browser/renderer_host/render_view_host_impl.cc void RenderViewHostImpl::SetPendingShutdown(const base::Closure& on_swap_out) { base 772 content/browser/renderer_host/render_view_host_impl.cc iter->display_name = base::FilePath::FromUTF8Unsafe(name); base 799 content/browser/renderer_host/render_view_host_impl.cc filtered_data.filesystem_id = base::UTF8ToUTF16(filesystem_id); base 840 content/browser/renderer_host/render_view_host_impl.cc const base::string16& message) { base 858 content/browser/renderer_host/render_view_host_impl.cc const base::string16& user_input) { base 948 content/browser/renderer_host/render_view_host_impl.cc base::UserMetricsAction("BindingsMismatchTerminate_RVH_WebUI")); base 949 content/browser/renderer_host/render_view_host_impl.cc base::KillProcess( base 995 content/browser/renderer_host/render_view_host_impl.cc const std::vector<base::FilePath>& files) { base 997 content/browser/renderer_host/render_view_host_impl.cc for (std::vector<base::FilePath>::const_iterator file = files.begin(); base 1126 content/browser/renderer_host/render_view_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RVH")); base 1213 content/browser/renderer_host/render_view_host_impl.cc RecordAction(base::UserMetricsAction("ShowModalDialog")); base 1229 content/browser/renderer_host/render_view_host_impl.cc render_view_termination_status_ = base::TERMINATION_STATUS_STILL_RUNNING; base 1239 content/browser/renderer_host/render_view_host_impl.cc static_cast<base::TerminationStatus>(status); base 1248 content/browser/renderer_host/render_view_host_impl.cc static_cast<base::TerminationStatus>(status), base 1265 content/browser/renderer_host/render_view_host_impl.cc const base::string16& title, base 1383 content/browser/renderer_host/render_view_host_impl.cc const base::string16& message, base 1384 content/browser/renderer_host/render_view_host_impl.cc const base::string16& default_prompt, base 1398 content/browser/renderer_host/render_view_host_impl.cc const base::string16& message, base 1476 content/browser/renderer_host/render_view_host_impl.cc base::Bind(base::IgnoreResult(&DismissVirtualKeyboardTask)), base 1627 content/browser/renderer_host/render_view_host_impl.cc const base::Callback<void(ui::AXEvent)>& callback) { base 1790 content/browser/renderer_host/render_view_host_impl.cc virtual_keyboard_requested_ = base::win::DisplayVirtualKeyboard(); base 1793 content/browser/renderer_host/render_view_host_impl.cc base::win::DismissVirtualKeyboard(); base 1846 content/browser/renderer_host/render_view_host_impl.cc const std::vector<base::FilePath>& file_paths = state.GetReferencedFiles(); base 1847 content/browser/renderer_host/render_view_host_impl.cc for (std::vector<base::FilePath>::const_iterator file = file_paths.begin(); base 43 content/browser/renderer_host/render_view_host_impl.h namespace base { base 167 content/browser/renderer_host/render_view_host_impl.h const base::string16& message) OVERRIDE; base 173 content/browser/renderer_host/render_view_host_impl.h const std::vector<base::FilePath>& files) OVERRIDE; base 247 content/browser/renderer_host/render_view_host_impl.h virtual bool CreateRenderView(const base::string16& frame_name, base 251 content/browser/renderer_host/render_view_host_impl.h base::TerminationStatus render_view_termination_status() const { base 291 content/browser/renderer_host/render_view_host_impl.h const base::TimeTicks& proceed_time); base 326 content/browser/renderer_host/render_view_host_impl.h void WasSwappedOut(const base::Closure& pending_delete_on_swap_out); base 330 content/browser/renderer_host/render_view_host_impl.h void SetPendingShutdown(const base::Closure& on_swap_out); base 352 content/browser/renderer_host/render_view_host_impl.h const base::string16& user_input); base 366 content/browser/renderer_host/render_view_host_impl.h const std::vector<base::FilePath>& local_paths, base 367 content/browser/renderer_host/render_view_host_impl.h const base::FilePath& local_directory_name); base 439 content/browser/renderer_host/render_view_host_impl.h const base::Callback<void(ui::AXEvent)>& callback); base 452 content/browser/renderer_host/render_view_host_impl.h const base::Closure& callback); base 454 content/browser/renderer_host/render_view_host_impl.h const base::Closure& callback); base 456 content/browser/renderer_host/render_view_host_impl.h const base::Closure& callback); base 513 content/browser/renderer_host/render_view_host_impl.h const base::string16& title, base 537 content/browser/renderer_host/render_view_host_impl.h void OnRunJavaScriptMessage(const base::string16& message, base 538 content/browser/renderer_host/render_view_host_impl.h const base::string16& default_prompt, base 543 content/browser/renderer_host/render_view_host_impl.h const base::string16& message, base 669 content/browser/renderer_host/render_view_host_impl.h base::Callback<void(ui::AXEvent)> accessibility_testing_callback_; base 678 content/browser/renderer_host/render_view_host_impl.h base::TerminationStatus render_view_termination_status_; base 697 content/browser/renderer_host/render_view_host_impl.h base::Closure pending_shutdown_on_swap_out_; base 699 content/browser/renderer_host/render_view_host_impl.h base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; base 186 content/browser/renderer_host/render_view_host_unittest.cc base::FilePath highlighted_file_path(FILE_PATH_LITERAL("//tmp/foo.html")); base 187 content/browser/renderer_host/render_view_host_unittest.cc base::FilePath dragged_file_path(FILE_PATH_LITERAL("//tmp/image.jpg")); base 188 content/browser/renderer_host/render_view_host_unittest.cc base::FilePath sensitive_file_path(FILE_PATH_LITERAL("//etc/passwd")); base 194 content/browser/renderer_host/render_view_host_unittest.cc ui::FileInfo(dragged_file_path, base::FilePath())); base 254 content/browser/renderer_host/render_view_host_unittest.cc base::FilePath file_path; base 255 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_TEMP, &file_path)); base 269 content/browser/renderer_host/render_view_host_unittest.cc base::FilePath file_path; base 270 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_TEMP, &file_path)); base 24 content/browser/renderer_host/render_widget_helper.cc base::LazyInstance<WidgetHelperMap> g_widget_helpers = base 113 content/browser/renderer_host/render_widget_helper.cc base::Bind(&AddWidgetHelper, base 134 content/browser/renderer_host/render_widget_helper.cc base::Bind(&RenderWidgetHelper::OnResumeDeferredNavigation, base 140 content/browser/renderer_host/render_widget_helper.cc int render_widget_id, const base::TimeDelta& max_delay, IPC::Message* msg) { base 141 content/browser/renderer_host/render_widget_helper.cc base::TimeTicks time_start = base::TimeTicks::Now(); base 146 content/browser/renderer_host/render_widget_helper.cc base::AutoLock lock(pending_paints_lock_); base 172 content/browser/renderer_host/render_widget_helper.cc base::TimeDelta max_sleep_time = base 173 content/browser/renderer_host/render_widget_helper.cc max_delay - (base::TimeTicks::Now() - time_start); base 174 content/browser/renderer_host/render_widget_helper.cc if (max_sleep_time <= base::TimeDelta::FromMilliseconds(0)) base 177 content/browser/renderer_host/render_widget_helper.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 190 content/browser/renderer_host/render_widget_helper.cc base::Bind(&RenderWidgetHelper::OnResumeRequestsForView, base 200 content/browser/renderer_host/render_widget_helper.cc base::AutoLock lock(pending_paints_lock_); base 211 content/browser/renderer_host/render_widget_helper.cc base::Bind(&BackingStoreMsgProxy::Run, base::Owned(proxy))); base 219 content/browser/renderer_host/render_widget_helper.cc base::AutoLock lock(pending_paints_lock_); base 251 content/browser/renderer_host/render_widget_helper.cc base::ProcessHandle render_process, base 280 content/browser/renderer_host/render_widget_helper.cc base::Bind(&RenderWidgetHelper::OnCreateWindowOnUI, base 311 content/browser/renderer_host/render_widget_helper.cc base::Bind( base 324 content/browser/renderer_host/render_widget_helper.cc base::Bind( base 347 content/browser/renderer_host/render_widget_helper.cc base::AutoLock locked(allocated_dibs_lock_); base 354 content/browser/renderer_host/render_widget_helper.cc base::FileDescriptor fd(dup(i->second), true); base 361 content/browser/renderer_host/render_widget_helper.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory()); base 372 content/browser/renderer_host/render_widget_helper.cc base::AutoLock locked(allocated_dibs_lock_); base 378 content/browser/renderer_host/render_widget_helper.cc base::AutoLock locked(allocated_dibs_lock_); base 29 content/browser/renderer_host/render_widget_helper.h namespace base { base 106 content/browser/renderer_host/render_widget_helper.h : public base::RefCountedThreadSafe<RenderWidgetHelper, base 131 content/browser/renderer_host/render_widget_helper.h const base::TimeDelta& max_delay, base 150 content/browser/renderer_host/render_widget_helper.h base::ProcessHandle render_process, base 180 content/browser/renderer_host/render_widget_helper.h friend class base::RefCountedThreadSafe<RenderWidgetHelper>; base 182 content/browser/renderer_host/render_widget_helper.h friend class base::DeleteHelper<RenderWidgetHelper>; base 186 content/browser/renderer_host/render_widget_helper.h typedef base::hash_map<int, BackingStoreMsgProxyQueue > base 225 content/browser/renderer_host/render_widget_helper.h base::Lock allocated_dibs_lock_; base 234 content/browser/renderer_host/render_widget_helper.h base::Lock pending_paints_lock_; base 239 content/browser/renderer_host/render_widget_helper.h base::WaitableEvent event_; base 242 content/browser/renderer_host/render_widget_helper.h base::AtomicSequenceNumber next_routing_id_; base 26 content/browser/renderer_host/render_widget_host_browsertest.cc void GetSnapshotFromRendererCallback(const base::Closure& quit_closure, base 46 content/browser/renderer_host/render_widget_host_browsertest.cc base::FilePath test_dir_; base 58 content/browser/renderer_host/render_widget_host_browsertest.cc base::RunLoop run_loop; base 65 content/browser/renderer_host/render_widget_host_browsertest.cc rwh->GetSnapshotFromRenderer(gfx::Rect(), base::Bind( base 67 content/browser/renderer_host/render_widget_host_browsertest.cc base::Unretained(this), base 80 content/browser/renderer_host/render_widget_host_impl.cc using base::Time; base 81 content/browser/renderer_host/render_widget_host_impl.cc using base::TimeDelta; base 82 content/browser/renderer_host/render_widget_host_impl.cc using base::TimeTicks; base 102 content/browser/renderer_host/render_widget_host_impl.cc typedef base::hash_map<RenderWidgetHostID, RenderWidgetHostImpl*> base 104 content/browser/renderer_host/render_widget_host_impl.cc base::LazyInstance<RoutingIDWidgetMap> g_routing_id_widget_map = base 255 content/browser/renderer_host/render_widget_host_impl.cc base::Bind(&RenderWidgetHostImpl::RendererIsUnresponsive, base 421 content/browser/renderer_host/render_widget_host_impl.cc synthetic_gesture_controller_->Flush(base::TimeTicks::Now()); base 525 content/browser/renderer_host/render_widget_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RWH")); base 717 content/browser/renderer_host/render_widget_host_impl.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 840 content/browser/renderer_host/render_widget_host_impl.cc "width", base::IntToString(view_size.width()), base 841 content/browser/renderer_host/render_widget_host_impl.cc "height", base::IntToString(view_size.height())); base 853 content/browser/renderer_host/render_widget_host_impl.cc base::AutoReset<bool> auto_reset_in_get_backing_store( base 940 content/browser/renderer_host/render_widget_host_impl.cc void RenderWidgetHostImpl::StartHangMonitorTimeout(base::TimeDelta delay) { base 948 content/browser/renderer_host/render_widget_host_impl.cc base::TimeDelta::FromMilliseconds(hung_renderer_delay_ms_)); base 1149 content/browser/renderer_host/render_widget_host_impl.cc const base::Callback<void(SyntheticGesture::Result)>& on_complete) { base 1253 content/browser/renderer_host/render_widget_host_impl.cc const base::Callback<void(bool, const SkBitmap&)>& callback) { base 1269 content/browser/renderer_host/render_widget_host_impl.cc void RenderWidgetHostImpl::OnSelectionChanged(const base::string16& text, base 1291 content/browser/renderer_host/render_widget_host_impl.cc base::Callback<void(bool, const SkBitmap&)> callback = base 1303 content/browser/renderer_host/render_widget_host_impl.cc void RenderWidgetHostImpl::UpdateVSyncParameters(base::TimeTicks timebase, base 1304 content/browser/renderer_host/render_widget_host_impl.cc base::TimeDelta interval) { base 1308 content/browser/renderer_host/render_widget_host_impl.cc void RenderWidgetHostImpl::RendererExited(base::TerminationStatus status, base 1383 content/browser/renderer_host/render_widget_host_impl.cc const base::string16& text, base 1392 content/browser/renderer_host/render_widget_host_impl.cc const base::string16& text, base 1400 content/browser/renderer_host/render_widget_host_impl.cc Send(new ViewMsg_ImeSetComposition(GetRoutingID(), base::string16(), base 1486 content/browser/renderer_host/render_widget_host_impl.cc const base::string16& tooltip_text, base 1501 content/browser/renderer_host/render_widget_host_impl.cc base::string16 wrapped_tooltip_text = tooltip_text; base 1506 content/browser/renderer_host/render_widget_host_impl.cc base::i18n::GetDisplayStringInLTRDirectionality(wrapped_tooltip_text); base 1508 content/browser/renderer_host/render_widget_host_impl.cc !base::i18n::IsRTL()) { base 1510 content/browser/renderer_host/render_widget_host_impl.cc base::i18n::WrapStringWithRTLFormatting(&wrapped_tooltip_text); base 1663 content/browser/renderer_host/render_widget_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RWH1")); base 1682 content/browser/renderer_host/render_widget_host_impl.cc base::Bind(&RenderWidgetHostImpl::DidUpdateBackingStore, base 1695 content/browser/renderer_host/render_widget_host_impl.cc base::MessageLoop::current()->PostTask( base 1697 content/browser/renderer_host/render_widget_host_impl.cc base::Bind(&RenderWidgetHostImpl::DelayedAutoResized, base 1791 content/browser/renderer_host/render_widget_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RWH7")); base 1798 content/browser/renderer_host/render_widget_host_impl.cc base::Bind(&RenderWidgetHostImpl::OnSyntheticGestureCompleted, base 1804 content/browser/renderer_host/render_widget_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RWH4")); base 1810 content/browser/renderer_host/render_widget_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RWH5")); base 1886 content/browser/renderer_host/render_widget_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RWH6")); base 1955 content/browser/renderer_host/render_widget_host_impl.cc const base::Closure& completion_callback) { base 2159 content/browser/renderer_host/render_widget_host_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RWH2")); base 2374 content/browser/renderer_host/render_widget_host_impl.cc base::TimeDelta ui_delta = base 2387 content/browser/renderer_host/render_widget_host_impl.cc base::TimeDelta acked_delta = base 2426 content/browser/renderer_host/render_widget_host_impl.cc base::TimeDelta delta = base 2447 content/browser/renderer_host/render_widget_host_impl.cc scoped_refptr<base::RefCountedBytes> png_data) { base 2460 content/browser/renderer_host/render_widget_host_impl.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 2487 content/browser/renderer_host/render_widget_host_impl.cc base::ThreadTaskRunnerHandle::Get(), base 2488 content/browser/renderer_host/render_widget_host_impl.cc base::Bind(&RenderWidgetHostImpl::WindowSnapshotAsyncCallback, base 48 content/browser/renderer_host/render_widget_host_impl.h namespace base { base 120 content/browser/renderer_host/render_widget_host_impl.h void set_hung_renderer_delay_ms(const base::TimeDelta& timeout) { base 133 content/browser/renderer_host/render_widget_host_impl.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 180 content/browser/renderer_host/render_widget_host_impl.h const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; base 293 content/browser/renderer_host/render_widget_host_impl.h void StartHangMonitorTimeout(base::TimeDelta delay); base 319 content/browser/renderer_host/render_widget_host_impl.h const base::Callback<void(SyntheticGesture::Result)>& on_complete); base 355 content/browser/renderer_host/render_widget_host_impl.h const base::string16& text, base 366 content/browser/renderer_host/render_widget_host_impl.h void ImeConfirmComposition(const base::string16& text, base 454 content/browser/renderer_host/render_widget_host_impl.h virtual void UpdateVSyncParameters(base::TimeTicks timebase, base 455 content/browser/renderer_host/render_widget_host_impl.h base::TimeDelta interval); base 542 content/browser/renderer_host/render_widget_host_impl.h scoped_refptr<base::RefCountedBytes> png_data); base 563 content/browser/renderer_host/render_widget_host_impl.h void RendererExited(base::TerminationStatus status, int exit_code); base 655 content/browser/renderer_host/render_widget_host_impl.h void OnSetTooltipText(const base::string16& tooltip_text, base 694 content/browser/renderer_host/render_widget_host_impl.h void OnSelectionChanged(const base::string16& text, base 705 content/browser/renderer_host/render_widget_host_impl.h const base::TimeTicks& paint_start); base 716 content/browser/renderer_host/render_widget_host_impl.h const base::Closure& completion_callback); base 852 content/browser/renderer_host/render_widget_host_impl.h base::Time time_when_considered_hung_; base 859 content/browser/renderer_host/render_widget_host_impl.h base::OneShotTimer<RenderWidgetHostImpl> hung_renderer_timer_; base 872 content/browser/renderer_host/render_widget_host_impl.h base::TimeTicks repaint_start_time_; base 915 content/browser/renderer_host/render_widget_host_impl.h base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; base 931 content/browser/renderer_host/render_widget_host_impl.h std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; base 47 content/browser/renderer_host/render_widget_host_unittest.cc using base::TimeDelta; base 366 content/browser/renderer_host/render_widget_host_unittest.cc const base::TimeDelta& max_delay, base 402 content/browser/renderer_host/render_widget_host_unittest.cc const base::TimeDelta& max_delay, base 630 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 745 content/browser/renderer_host/render_widget_host_unittest.cc void SetTouchTimestamp(base::TimeDelta timestamp) { base 778 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoopForUI message_loop_; base 931 content/browser/renderer_host/render_widget_host_unittest.cc host_->RendererExited(base::TERMINATION_STATUS_PROCESS_CRASHED, -1); base 1071 content/browser/renderer_host/render_widget_host_unittest.cc BrowserThreadImpl ui_thread(BrowserThread::UI, base::MessageLoop::current()); base 1224 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 1226 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::QuitClosure(), base 1228 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->Run(); base 1244 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 1246 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::QuitClosure(), base 1248 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->Run(); base 1263 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 1265 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::QuitClosure(), base 1267 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->Run(); base 1286 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 1288 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::QuitClosure(), base 1290 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->Run(); base 1853 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 1855 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::QuitClosure(), base 1857 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->Run(); base 1986 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 1988 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::QuitClosure(), base 1990 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->Run(); base 2052 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 2054 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::QuitClosure(), base 2056 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->Run(); base 2115 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 2117 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::QuitClosure(), base 2119 content/browser/renderer_host/render_widget_host_unittest.cc base::MessageLoop::current()->Run(); base 2418 content/browser/renderer_host/render_widget_host_unittest.cc host_->Send(new InputMsg_Replace(host_->GetRoutingID(), base::string16())); base 2425 content/browser/renderer_host/render_widget_host_unittest.cc base::string16())); base 2455 content/browser/renderer_host/render_widget_host_unittest.cc base::Bind(&RenderWidgetHostTest::KeyPressEventCallback, base 2456 content/browser/renderer_host/render_widget_host_unittest.cc base::Unretained(this))); base 2467 content/browser/renderer_host/render_widget_host_unittest.cc base::Bind(&RenderWidgetHostTest::KeyPressEventCallback, base 2468 content/browser/renderer_host/render_widget_host_unittest.cc base::Unretained(this))); base 2496 content/browser/renderer_host/render_widget_host_unittest.cc base::Bind(&RenderWidgetHostTest::MouseEventCallback, base 2497 content/browser/renderer_host/render_widget_host_unittest.cc base::Unretained(this))); base 78 content/browser/renderer_host/render_widget_host_view_android.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 81 content/browser/renderer_host/render_widget_host_view_android.cc const base::TimeTicks& start_time, base 87 content/browser/renderer_host/render_widget_host_view_android.cc base::TimeTicks::Now() - start_time); base 96 content/browser/renderer_host/render_widget_host_view_android.cc event.timeStampSeconds * base::Time::kMicrosecondsPerSecond); base 101 content/browser/renderer_host/render_widget_host_view_android.cc base::TimeTicks() + base::TimeDelta::FromMicroseconds(time_micros), base 232 content/browser/renderer_host/render_widget_host_view_android.cc const base::Callback<void(bool, const SkBitmap&)>& result_callback) { base 431 content/browser/renderer_host/render_widget_host_view_android.cc base::ScopedClosureRunner ack_caller; base 433 content/browser/renderer_host/render_widget_host_view_android.cc ack_caller.Reset(base::Bind(&SendImeEventAck, host_)); base 495 content/browser/renderer_host/render_widget_host_view_android.cc const base::string16& result) { base 521 content/browser/renderer_host/render_widget_host_view_android.cc base::TerminationStatus status, int error_code) { base 536 content/browser/renderer_host/render_widget_host_view_android.cc const base::string16& tooltip_text) { base 540 content/browser/renderer_host/render_widget_host_view_android.cc void RenderWidgetHostViewAndroid::SelectionChanged(const base::string16& text, base 556 content/browser/renderer_host/render_widget_host_view_android.cc std::string utf8_selection = base::UTF16ToUTF8(text.substr(pos, n)); base 592 content/browser/renderer_host/render_widget_host_view_android.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 598 content/browser/renderer_host/render_widget_host_view_android.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 615 content/browser/renderer_host/render_widget_host_view_android.cc base::TimeTicks::Now() - start_time); base 638 content/browser/renderer_host/render_widget_host_view_android.cc base::Bind(&RenderWidgetHostViewAndroid:: base 652 content/browser/renderer_host/render_widget_host_view_android.cc const base::Callback<void(bool)>& callback) { base 764 content/browser/renderer_host/render_widget_host_view_android.cc base::Closure ack_callback = base 765 content/browser/renderer_host/render_widget_host_view_android.cc base::Bind(&RenderWidgetHostViewAndroid::SendDelegatedFrameAck, base 842 content/browser/renderer_host/render_widget_host_view_android.cc base::Closure ack_callback = base 843 content/browser/renderer_host/render_widget_host_view_android.cc base::Bind(&RenderWidgetHostViewAndroid::SendDelegatedFrameAck, base 868 content/browser/renderer_host/render_widget_host_view_android.cc base::Bind(&RenderViewDevToolsAgentHost::SynchronousSwapCompositorFrame, base 881 content/browser/renderer_host/render_widget_host_view_android.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 954 content/browser/renderer_host/render_widget_host_view_android.cc bool RenderWidgetHostViewAndroid::Animate(base::TimeTicks frame_time) { base 1085 content/browser/renderer_host/render_widget_host_view_android.cc base::android::ScopedJavaLocalRef<jobject> obj; base 1208 content/browser/renderer_host/render_widget_host_view_android.cc base::TimeTicks::Now(), base 1238 content/browser/renderer_host/render_widget_host_view_android.cc base::android::ScopedJavaLocalRef<jobject> obj; base 1285 content/browser/renderer_host/render_widget_host_view_android.cc const base::TimeTicks& start_time, base 1287 content/browser/renderer_host/render_widget_host_view_android.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 1298 content/browser/renderer_host/render_widget_host_view_android.cc const base::TimeTicks& start_time, base 1299 content/browser/renderer_host/render_widget_host_view_android.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 1301 content/browser/renderer_host/render_widget_host_view_android.cc base::ScopedClosureRunner scoped_callback_runner( base 1302 content/browser/renderer_host/render_widget_host_view_android.cc base::Bind(callback, false, SkBitmap())); base 1343 content/browser/renderer_host/render_widget_host_view_android.cc base::Bind(&CopyFromCompositingSurfaceFinished, base 1345 content/browser/renderer_host/render_widget_host_view_android.cc base::Passed(&release_callback), base 1346 content/browser/renderer_host/render_widget_host_view_android.cc base::Passed(&bitmap), base 1348 content/browser/renderer_host/render_widget_host_view_android.cc base::Passed(&bitmap_pixels_lock))); base 1365 content/browser/renderer_host/render_widget_host_view_android.cc if (base::android::SysUtils::IsLowEndDevice()) { base 111 content/browser/renderer_host/render_widget_host_view_android.h virtual void RenderProcessGone(base::TerminationStatus status, base 114 content/browser/renderer_host/render_widget_host_view_android.h virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; base 115 content/browser/renderer_host/render_widget_host_view_android.h virtual void SelectionChanged(const base::string16& text, base 139 content/browser/renderer_host/render_widget_host_view_android.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 144 content/browser/renderer_host/render_widget_host_view_android.h const base::Callback<void(bool)>& callback) OVERRIDE; base 221 content/browser/renderer_host/render_widget_host_view_android.h void OnSmartClipDataExtracted(const base::string16& result); base 231 content/browser/renderer_host/render_widget_host_view_android.h const base::Callback<void(bool, const SkBitmap&)>& result_callback); base 239 content/browser/renderer_host/render_widget_host_view_android.h bool Animate(base::TimeTicks frame_time); base 271 content/browser/renderer_host/render_widget_host_view_android.h const base::TimeTicks& start_time, base 272 content/browser/renderer_host/render_widget_host_view_android.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 277 content/browser/renderer_host/render_widget_host_view_android.h const base::TimeTicks& start_time, base 279 content/browser/renderer_host/render_widget_host_view_android.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 286 content/browser/renderer_host/render_widget_host_view_android.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 333 content/browser/renderer_host/render_widget_host_view_android.h base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; base 335 content/browser/renderer_host/render_widget_host_view_android.h std::queue<base::Closure> ack_callbacks_; base 757 content/browser/renderer_host/render_widget_host_view_aura.cc base::TimeDelta::FromMilliseconds(kResizeLockTimeoutMs))); base 1034 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::RenderProcessGone(base::TerminationStatus status, base 1049 content/browser/renderer_host/render_widget_host_view_aura.cc const base::string16& tooltip_text) { base 1061 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::SelectionChanged(const base::string16& text, base 1122 content/browser/renderer_host/render_widget_host_view_aura.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 1139 content/browser/renderer_host/render_widget_host_view_aura.cc cc::CopyOutputRequest::CreateRequest(base::Bind( base 1153 content/browser/renderer_host/render_widget_host_view_aura.cc const base::Callback<void(bool)>& callback) { base 1174 content/browser/renderer_host/render_widget_host_view_aura.cc cc::CopyOutputRequest::CreateRequest(base::Bind( base 1365 content/browser/renderer_host/render_widget_host_view_aura.cc base::Bind(ack_callback, false, texture_to_return)); base 1373 content/browser/renderer_host/render_widget_host_view_aura.cc const base::TimeTicks present_time = base::TimeTicks::Now(); base 1381 content/browser/renderer_host/render_widget_host_view_aura.cc base::Bind(callback, present_time)); base 1420 content/browser/renderer_host/render_widget_host_view_aura.cc BufferPresentedCallback ack_callback = base::Bind( base 1532 content/browser/renderer_host/render_widget_host_view_aura.cc base::Bind(&RenderWidgetHostViewAura::SendDelegatedFrameAck, base 1597 content/browser/renderer_host/render_widget_host_view_aura.cc base::UserMetricsAction("BadMessageTerminate_SharedMemoryAura")); base 1605 content/browser/renderer_host/render_widget_host_view_aura.cc BufferPresentedCallback ack_callback = base::Bind( base 1723 content/browser/renderer_host/render_widget_host_view_aura.cc base::Bind(&AcknowledgeBufferForGpu, base 1746 content/browser/renderer_host/render_widget_host_view_aura.cc base::Bind(&RenderWidgetHostViewAura::SetSurfaceNotInUseByCompositor, base 1772 content/browser/renderer_host/render_widget_host_view_aura.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 1792 content/browser/renderer_host/render_widget_host_view_aura.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 1814 content/browser/renderer_host/render_widget_host_view_aura.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 1817 content/browser/renderer_host/render_widget_host_view_aura.cc base::ScopedClosureRunner scoped_callback_runner( base 1818 content/browser/renderer_host/render_widget_host_view_aura.cc base::Bind(callback, false, SkBitmap())); base 1853 content/browser/renderer_host/render_widget_host_view_aura.cc base::Bind(&CopyFromCompositingSurfaceFinished, base 1855 content/browser/renderer_host/render_widget_host_view_aura.cc base::Passed(&release_callback), base 1856 content/browser/renderer_host/render_widget_host_view_aura.cc base::Passed(&bitmap), base 1857 content/browser/renderer_host/render_widget_host_view_aura.cc base::Passed(&bitmap_pixels_lock))); base 1864 content/browser/renderer_host/render_widget_host_view_aura.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 1872 content/browser/renderer_host/render_widget_host_view_aura.cc base::ScopedClosureRunner scoped_callback_runner( base 1873 content/browser/renderer_host/render_widget_host_view_aura.cc base::Bind(callback, false, SkBitmap())); base 1892 content/browser/renderer_host/render_widget_host_view_aura.cc base::WeakPtr<RenderWidgetHostViewAura> rwhva, base 1911 content/browser/renderer_host/render_widget_host_view_aura.cc base::WeakPtr<RenderWidgetHostViewAura> rwhva, base 1912 content/browser/renderer_host/render_widget_host_view_aura.cc const base::Callback<void(bool)>& callback, base 1935 content/browser/renderer_host/render_widget_host_view_aura.cc base::WeakPtr<RenderWidgetHostViewAura> rwhva, base 1938 content/browser/renderer_host/render_widget_host_view_aura.cc const base::Callback<void(bool)>& callback, base 1940 content/browser/renderer_host/render_widget_host_view_aura.cc base::ScopedClosureRunner scoped_callback_runner(base::Bind(callback, false)); base 1941 content/browser/renderer_host/render_widget_host_view_aura.cc base::ScopedClosureRunner scoped_return_subscriber_texture( base 1942 content/browser/renderer_host/render_widget_host_view_aura.cc base::Bind(&ReturnSubscriberTexture, rwhva, subscriber_texture, 0)); base 2048 content/browser/renderer_host/render_widget_host_view_aura.cc base::Callback<void(bool result)> finished_callback = base::Bind( base 2053 content/browser/renderer_host/render_widget_host_view_aura.cc base::Passed(&release_callback)); base 2254 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ImeConfirmComposition(base::string16(), gfx::Range::InvalidRange(), base 2266 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::InsertText(const base::string16& text) { base 2273 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::InsertChar(base::char16 ch, int flags) { base 2401 content/browser/renderer_host/render_widget_host_view_aura.cc base::string16* text) const { base 2432 content/browser/renderer_host/render_widget_host_view_aura.cc base::i18n::TextDirection direction) { base 2436 content/browser/renderer_host/render_widget_host_view_aura.cc direction == base::i18n::RIGHT_TO_LEFT ? base 2507 content/browser/renderer_host/render_widget_host_view_aura.cc base::AutoReset<bool> in_bounds_changed(&in_bounds_changed_, true); base 2838 content/browser/renderer_host/render_widget_host_view_aura.cc RecordAction(base::UserMetricsAction("TrackpadScroll")); base 2845 content/browser/renderer_host/render_widget_host_view_aura.cc RecordAction(base::UserMetricsAction("TrackpadScrollFling")); base 2913 content/browser/renderer_host/render_widget_host_view_aura.cc RecordAction(base::UserMetricsAction("TouchscreenScroll")); base 2915 content/browser/renderer_host/render_widget_host_view_aura.cc RecordAction(base::UserMetricsAction("TouchscreenScrollFling")); base 3070 content/browser/renderer_host/render_widget_host_view_aura.cc ui::Compositor* compositor, base::TimeTicks start_time) { base 3092 content/browser/renderer_host/render_widget_host_view_aura.cc base::TimeTicks timebase, base 3093 content/browser/renderer_host/render_widget_host_view_aura.cc base::TimeDelta interval) { base 3264 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ImeConfirmComposition(base::string16(), gfx::Range::InvalidRange(), base 3340 content/browser/renderer_host/render_widget_host_view_aura.cc for (std::vector<base::Closure>::const_iterator base 3349 content/browser/renderer_host/render_widget_host_view_aura.cc const base::Closure& callback) { base 103 content/browser/renderer_host/render_widget_host_view_aura.h public base::SupportsWeakPtr<RenderWidgetHostViewAura>, base 187 content/browser/renderer_host/render_widget_host_view_aura.h virtual void RenderProcessGone(base::TerminationStatus status, base 190 content/browser/renderer_host/render_widget_host_view_aura.h virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; base 191 content/browser/renderer_host/render_widget_host_view_aura.h virtual void SelectionChanged(const base::string16& text, base 201 content/browser/renderer_host/render_widget_host_view_aura.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 206 content/browser/renderer_host/render_widget_host_view_aura.h const base::Callback<void(bool)>& callback) OVERRIDE; base 255 content/browser/renderer_host/render_widget_host_view_aura.h virtual void InsertText(const base::string16& text) OVERRIDE; base 256 content/browser/renderer_host/render_widget_host_view_aura.h virtual void InsertChar(base::char16 ch, int flags) OVERRIDE; base 271 content/browser/renderer_host/render_widget_host_view_aura.h base::string16* text) const OVERRIDE; base 274 content/browser/renderer_host/render_widget_host_view_aura.h base::i18n::TextDirection direction) OVERRIDE; base 375 content/browser/renderer_host/render_widget_host_view_aura.h base::TimeTicks start_time) OVERRIDE; base 382 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnUpdateVSyncParameters(base::TimeTicks timebase, base 383 content/browser/renderer_host/render_widget_host_view_aura.h base::TimeDelta interval) OVERRIDE; base 471 content/browser/renderer_host/render_widget_host_view_aura.h void AddOnCommitCallbackAndDisableLocks(const base::Closure& callback); base 488 content/browser/renderer_host/render_widget_host_view_aura.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 493 content/browser/renderer_host/render_widget_host_view_aura.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 498 content/browser/renderer_host/render_widget_host_view_aura.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 501 content/browser/renderer_host/render_widget_host_view_aura.h base::WeakPtr<RenderWidgetHostViewAura> rwhva, base 504 content/browser/renderer_host/render_widget_host_view_aura.h const base::Callback<void(bool)>& callback, base 507 content/browser/renderer_host/render_widget_host_view_aura.h base::WeakPtr<RenderWidgetHostViewAura> rwhva, base 508 content/browser/renderer_host/render_widget_host_view_aura.h const base::Callback<void(bool)>& callback, base 513 content/browser/renderer_host/render_widget_host_view_aura.h base::WeakPtr<RenderWidgetHostViewAura> rwhva, base 537 content/browser/renderer_host/render_widget_host_view_aura.h typedef base::Callback<void(bool, const scoped_refptr<ui::Texture>&)> base 639 content/browser/renderer_host/render_widget_host_view_aura.h base::string16 tooltip_; base 641 content/browser/renderer_host/render_widget_host_view_aura.h std::vector<base::Closure> on_compositing_did_commit_callbacks_; base 756 content/browser/renderer_host/render_widget_host_view_aura.h base::TimeTicks last_draw_ended_; base 775 content/browser/renderer_host/render_widget_host_view_aura.h base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; base 124 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc FakeFrameSubscriber(gfx::Size size, base::Callback<void(bool)> callback) base 127 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc virtual bool ShouldCaptureFrame(base::TimeTicks present_time, base 134 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::TimeDelta()); base 135 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc *callback = base::Bind(&FakeFrameSubscriber::CallbackMethod, callback_); base 139 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc static void CallbackMethod(base::Callback<void(bool)> callback, base 140 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::TimeTicks timestamp, base 147 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::Callback<void(bool)> callback_; base 256 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::MessageLoopForUI message_loop_; base 471 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc composition_text.text = base::ASCIIToUTF16("|a|b"); base 593 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::Time::NowFromSystemTime() - base::Time()); base 602 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::Time::NowFromSystemTime() - base::Time()); base 872 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::SharedMemory shm; base 874 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc shm.GiveToProcess(base::GetCurrentProcessHandle(), base 1361 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc void CallbackMethod(const base::Closure& quit_closure, bool result) { base 1375 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::RunLoop run_loop; base 1390 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::Bind(&RenderWidgetHostViewAuraCopyRequestTest::CallbackMethod, base 1391 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc base::Unretained(this), base 76 content/browser/renderer_host/render_widget_host_view_base.cc if (base::GetProcId(iter.GetData().handle) == plugin_process_id) { base 87 content/browser/renderer_host/render_widget_host_view_base.cc base::MessageLoop::current()->PostDelayedTask( base 89 content/browser/renderer_host/render_widget_host_view_base.cc base::Bind(&NotifyPluginProcessHostHelper, window, parent, tries - 1), base 90 content/browser/renderer_host/render_widget_host_view_base.cc base::TimeDelta::FromMilliseconds(kTryDelayMs)); base 122 content/browser/renderer_host/render_widget_host_view_base.cc base::string16(kWrapperNativeWindowClassName); base 131 content/browser/renderer_host/render_widget_host_view_base.cc base::win::InitializeWindowClass( base 133 content/browser/renderer_host/render_widget_host_view_base.cc &base::win::WrappedWindowProc<PluginWrapperWindowProc>, base 162 content/browser/renderer_host/render_widget_host_view_base.cc base::Bind(&NotifyPluginProcessHostHelper, window, new_parent, base 426 content/browser/renderer_host/render_widget_host_view_base.cc void RenderWidgetHostViewBase::SelectionChanged(const base::string16& text, base 444 content/browser/renderer_host/render_widget_host_view_base.cc base::string16 RenderWidgetHostViewBase::GetSelectedText() const { base 446 content/browser/renderer_host/render_widget_host_view_base.cc return base::string16(); base 477 content/browser/renderer_host/render_widget_host_view_base.cc base::TimeDelta::FromMicroseconds(kFlushInputRateInUs), base 50 content/browser/renderer_host/render_widget_host_view_base.h virtual void SelectionChanged(const base::string16& text, base 59 content/browser/renderer_host/render_widget_host_view_base.h virtual base::string16 GetSelectedText() const OVERRIDE; base 150 content/browser/renderer_host/render_widget_host_view_base.h base::string16 selection_text_; base 177 content/browser/renderer_host/render_widget_host_view_base.h base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; base 97 content/browser/renderer_host/render_widget_host_view_browsertest.cc const base::FilePath& test_dir() const { base 123 content/browser/renderer_host/render_widget_host_view_browsertest.cc void FinishCopyFromBackingStore(const base::Closure& quit_closure, base 136 content/browser/renderer_host/render_widget_host_view_browsertest.cc void FinishCopyFromCompositingSurface(const base::Closure& quit_closure, base 146 content/browser/renderer_host/render_widget_host_view_browsertest.cc void FrameDelivered(const scoped_refptr<base::MessageLoopProxy>& loop, base 147 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Closure quit_closure, base 148 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::TimeTicks timestamp, base 167 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::RunLoop run_loop; base 171 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Bind( base 173 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Unretained(this), base 198 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::RunLoop run_loop; base 199 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::MessageLoop::current()->PostDelayedTask( base 202 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::TimeDelta::FromMilliseconds(10)); base 208 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::FilePath test_dir_; base 330 content/browser/renderer_host/render_widget_host_view_browsertest.cc virtual bool ShouldCaptureFrame(base::TimeTicks present_time, base 374 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::RunLoop run_loop; base 378 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Bind(&RenderWidgetHostViewBrowserTest::FinishCopyFromBackingStore, base 379 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Unretained(this), base 412 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::RunLoop run_loop; base 416 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(view->GetViewBounds().size()), dest, base::Bind( base 418 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Unretained(this), run_loop.QuitClosure())); base 446 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::RunLoop run_loop; base 449 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Bind(&RenderWidgetHostViewBrowserTest::FrameDelivered, base 450 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Unretained(this), base 451 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::MessageLoopProxy::current(), base 472 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::RunLoop run_loop; base 482 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Bind(&RenderWidgetHostViewBrowserTest::FrameDelivered, base 483 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Unretained(this), base 484 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::MessageLoopProxy::current(), base 485 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Closure(), base 486 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::TimeTicks::Now())); base 490 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Bind(&RenderWidgetHostViewBrowserTest::FrameDelivered, base 491 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Unretained(this), base 492 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::MessageLoopProxy::current(), base 494 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::TimeTicks::Now())); base 514 content/browser/renderer_host/render_widget_host_view_browsertest.cc void CopyFromCompositingSurfaceCallback(base::Closure quit_callback, base 575 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Closure quit_callback, base 633 content/browser/renderer_host/render_widget_host_view_browsertest.cc SetTestUrl(base::StringPrintf( base 693 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::RunLoop run_loop; base 706 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::TimeDelta()); base 708 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Callback<void(bool success)> callback = base 709 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Bind(&CompositingRenderWidgetHostViewBrowserTestTabCapture:: base 711 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Unretained(this), base 729 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Callback<void(bool, const SkBitmap&)> callback = base 730 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Bind(&CompositingRenderWidgetHostViewBrowserTestTabCapture:: base 732 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::Unretained(this), base 880 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::StringPrintf("%f", scale())); base 697 content/browser/renderer_host/render_widget_host_view_gtk.cc web_contents_switch_paint_time_ = base::TimeTicks::Now(); base 710 content/browser/renderer_host/render_widget_host_view_gtk.cc web_contents_switch_paint_time_ = base::TimeTicks(); base 884 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::RenderProcessGone(base::TerminationStatus status, base 930 content/browser/renderer_host/render_widget_host_view_gtk.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 934 content/browser/renderer_host/render_widget_host_view_gtk.cc const base::string16& tooltip_text) { base 941 content/browser/renderer_host/render_widget_host_view_gtk.cc const base::string16 clamped_tooltip = base 948 content/browser/renderer_host/render_widget_host_view_gtk.cc base::UTF16ToUTF8(clamped_tooltip).c_str()); base 952 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::SelectionChanged(const base::string16& text, base 1050 content/browser/renderer_host/render_widget_host_view_gtk.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 1064 content/browser/renderer_host/render_widget_host_view_gtk.cc const base::Callback<void(bool)>& callback) { base 1207 content/browser/renderer_host/render_widget_host_view_gtk.cc base::TimeDelta whiteout_duration = base::TimeTicks::Now() - base 1213 content/browser/renderer_host/render_widget_host_view_gtk.cc whiteout_start_time_ = base::TimeTicks(); base 1216 content/browser/renderer_host/render_widget_host_view_gtk.cc base::TimeDelta web_contents_switch_paint_duration = base 1217 content/browser/renderer_host/render_widget_host_view_gtk.cc base::TimeTicks::Now() - web_contents_switch_paint_time_; base 1222 content/browser/renderer_host/render_widget_host_view_gtk.cc web_contents_switch_paint_time_ = base::TimeTicks(); base 1235 content/browser/renderer_host/render_widget_host_view_gtk.cc whiteout_start_time_ = base::TimeTicks::Now(); base 1360 content/browser/renderer_host/render_widget_host_view_gtk.cc SetTooltipText(base::string16()); base 1424 content/browser/renderer_host/render_widget_host_view_gtk.cc *text = base::UTF16ToUTF8(selection_text_); base 1429 content/browser/renderer_host/render_widget_host_view_gtk.cc *text = base::UTF16ToUTF8AndAdjustOffset( base 1430 content/browser/renderer_host/render_widget_host_view_gtk.cc base::StringPiece16(selection_text_), &offset); base 1431 content/browser/renderer_host/render_widget_host_view_gtk.cc if (offset == base::string16::npos) { base 92 content/browser/renderer_host/render_widget_host_view_gtk.h virtual void RenderProcessGone(base::TerminationStatus status, base 96 content/browser/renderer_host/render_widget_host_view_gtk.h virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; base 97 content/browser/renderer_host/render_widget_host_view_gtk.h virtual void SelectionChanged(const base::string16& text, base 107 content/browser/renderer_host/render_widget_host_view_gtk.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 112 content/browser/renderer_host/render_widget_host_view_gtk.h const base::Callback<void(bool)>& callback) OVERRIDE; base 248 content/browser/renderer_host/render_widget_host_view_gtk.h base::TimeTicks whiteout_start_time_; base 251 content/browser/renderer_host/render_widget_host_view_gtk.h base::TimeTicks web_contents_switch_paint_time_; base 59 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<NSObject<RenderWidgetHostViewMacDelegate>> base 71 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<NSString> toolTip_; base 79 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<NSCursor> currentCursor_; base 93 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<NSArray> validAttributesForMarkedText_; base 115 content/browser/renderer_host/render_widget_host_view_mac.h base::string16 textToBeInserted_; base 118 content/browser/renderer_host/render_widget_host_view_mac.h base::string16 markedText_; base 284 content/browser/renderer_host/render_widget_host_view_mac.h virtual void RenderProcessGone(base::TerminationStatus status, base 287 content/browser/renderer_host/render_widget_host_view_mac.h virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; base 288 content/browser/renderer_host/render_widget_host_view_mac.h virtual void SelectionChanged(const base::string16& text, base 298 content/browser/renderer_host/render_widget_host_view_mac.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 303 content/browser/renderer_host/render_widget_host_view_mac.h const base::Callback<void(bool)>& callback) OVERRIDE; base 358 content/browser/renderer_host/render_widget_host_view_mac.h void PluginImeCompositionCompleted(const base::string16& text, int plugin_id); base 425 content/browser/renderer_host/render_widget_host_view_mac.h base::TimeTicks whiteout_start_time_; base 428 content/browser/renderer_host/render_widget_host_view_mac.h base::TimeTicks web_contents_switch_paint_time_; base 436 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<CALayer> background_layer_; base 440 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<SoftwareLayer> software_layer_; base 444 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<CompositingIOSurfaceLayer> compositing_iosurface_layer_; base 450 content/browser/renderer_host/render_widget_host_view_mac.h base::DelayTimer<RenderWidgetHostViewMac> base 470 content/browser/renderer_host/render_widget_host_view_mac.h base::WeakPtrFactory<RenderWidgetHostViewMac> base 592 content/browser/renderer_host/render_widget_host_view_mac.h base::string16 tooltip_text_; base 595 content/browser/renderer_host/render_widget_host_view_mac.h base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; base 601 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<NSWindow> popup_window_; base 604 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<NSWindow> pepper_fullscreen_window_; base 605 content/browser/renderer_host/render_widget_host_view_mac.h base::scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_; base 612 content/browser/renderer_host/render_widget_host_view_mac.h base::WeakPtr<RenderWidgetHostViewMac> overlay_view_; base 620 content/browser/renderer_host/render_widget_host_view_mac.h base::WeakPtr<RenderWidgetHostViewMac> underlay_view_; base 627 content/browser/renderer_host/render_widget_host_view_mac.h base::WeakPtrFactory<RenderWidgetHostViewMac> base 643 content/browser/renderer_host/render_widget_host_view_mac.h base::WeakPtrFactory<RenderWidgetHostViewMac> base 67 content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper.h base::hash_set<std::string> edit_command_set_; base 67 content/browser/renderer_host/renderer_frame_manager.cc std::min(5, 2 + (base::SysInfo::AmountOfPhysicalMemoryMB() / 256)); base 35 content/browser/renderer_host/socket_stream_dispatcher_host.h typedef base::Callback<net::URLRequestContext*(ResourceType::Type)> base 92 content/browser/renderer_host/socket_stream_dispatcher_host.h base::WeakPtrFactory<SocketStreamDispatcherHost> weak_ptr_factory_; base 27 content/browser/renderer_host/software_frame_manager.cc class CONTENT_EXPORT SoftwareFrame : public base::RefCounted<SoftwareFrame> { base 33 content/browser/renderer_host/software_frame_manager.cc base::WeakPtr<SoftwareFrameManagerClient> frame_manager_client, base 38 content/browser/renderer_host/software_frame_manager.cc scoped_ptr<base::SharedMemory> shared_memory); base 41 content/browser/renderer_host/software_frame_manager.cc base::WeakPtr<SoftwareFrameManagerClient> frame_manager_client_; base 46 content/browser/renderer_host/software_frame_manager.cc scoped_ptr<base::SharedMemory> shared_memory_; base 52 content/browser/renderer_host/software_frame_manager.cc base::WeakPtr<SoftwareFrameManagerClient> frame_manager_client, base 57 content/browser/renderer_host/software_frame_manager.cc scoped_ptr<base::SharedMemory> shared_memory) base 76 content/browser/renderer_host/software_frame_manager.cc base::WeakPtr<SoftwareFrameManagerClient> client) base 87 content/browser/renderer_host/software_frame_manager.cc base::ProcessHandle process_handle) { base 90 content/browser/renderer_host/software_frame_manager.cc scoped_ptr<base::SharedMemory> shared_memory( base 91 content/browser/renderer_host/software_frame_manager.cc new base::SharedMemory(frame_data->handle, true, base 94 content/browser/renderer_host/software_frame_manager.cc scoped_ptr<base::SharedMemory> shared_memory( base 95 content/browser/renderer_host/software_frame_manager.cc new base::SharedMemory(frame_data->handle, true)); base 99 content/browser/renderer_host/software_frame_manager.cc if (base::SharedMemory::IsHandleValid(shared_memory->handle())) { base 107 content/browser/renderer_host/software_frame_manager.cc base::UserMetricsAction("BadMessageTerminate_SharedMemoryManager1")); base 114 content/browser/renderer_host/software_frame_manager.cc base::UserMetricsAction("BadMessageTerminate_SharedMemoryManager2")); base 121 content/browser/renderer_host/software_frame_manager.cc base::UserMetricsAction("BadMessageTerminate_SharedMemoryManager1")); base 176 content/browser/renderer_host/software_frame_manager.cc base::Bind(ReleaseMailbox, current_frame_)); base 181 content/browser/renderer_host/software_frame_manager.cc DCHECK(base::SharedMemory::IsHandleValid( base 41 content/browser/renderer_host/software_frame_manager.h base::WeakPtr<SoftwareFrameManagerClient> client); base 50 content/browser/renderer_host/software_frame_manager.h base::ProcessHandle process_handle); base 69 content/browser/renderer_host/software_frame_manager.h base::WeakPtr<SoftwareFrameManagerClient> client_; base 35 content/browser/renderer_host/software_frame_manager_unittest.cc frame.handle = base::SharedMemory::NULLHandle(); base 37 content/browser/renderer_host/software_frame_manager_unittest.cc output_surface, &frame, 1.0, base::GetCurrentProcessHandle()); base 51 content/browser/renderer_host/software_frame_manager_unittest.cc base::WeakPtrFactory<FakeSoftwareFrameManagerClient> base 100 content/browser/renderer_host/text_input_client_mac.h base::scoped_nsobject<NSAttributedString> substring_; base 102 content/browser/renderer_host/text_input_client_mac.h base::Lock lock_; base 103 content/browser/renderer_host/text_input_client_mac.h base::ConditionVariable condition_; base 105 content/browser/renderer_host/text_input_client_mac.h base::mac::ScopedBlock<void(^)(NSAttributedString*, NSPoint)> replyHandler_; base 117 content/browser/renderer_host/ui_events_helper.cc base::TimeDelta timestamp = base::TimeDelta::FromMicroseconds( base 66 content/browser/renderer_host/web_input_event_aura.cc base::NativeEvent native_event); base 68 content/browser/renderer_host/web_input_event_aura.cc base::NativeEvent native_event); base 70 content/browser/renderer_host/web_input_event_aura.cc base::NativeEvent native_event); base 72 content/browser/renderer_host/web_input_event_aura.cc base::NativeEvent native_event); base 79 content/browser/renderer_host/web_input_event_aura.cc const base::NativeEvent& native_event = event->native_event(); base 17 content/browser/renderer_host/web_input_event_aurawin.cc base::NativeEvent native_event) { base 25 content/browser/renderer_host/web_input_event_aurawin.cc base::NativeEvent native_event) { base 33 content/browser/renderer_host/web_input_event_aurawin.cc base::NativeEvent native_event) { base 41 content/browser/renderer_host/web_input_event_aurawin.cc base::NativeEvent native_event) { base 94 content/browser/renderer_host/web_input_event_aurax11.cc const base::NativeEvent& native_event = event->native_event(); base 25 content/browser/renderer_host/webmenurunner_mac.h base::scoped_nsobject<NSMenu> menu_; base 34 content/browser/renderer_host/websocket_dispatcher_host.cc base::Bind(&WebSocketDispatcherHost::CreateWebSocketHost, base 35 content/browser/renderer_host/websocket_dispatcher_host.cc base::Unretained(this))) {} base 33 content/browser/renderer_host/websocket_dispatcher_host.h typedef base::Callback<net::URLRequestContext*()> GetRequestContextCallback; base 37 content/browser/renderer_host/websocket_dispatcher_host.h typedef base::Callback<WebSocketHost*(int)> WebSocketHostFactory; // NOLINT base 116 content/browser/renderer_host/websocket_dispatcher_host.h typedef base::hash_map<int, WebSocketHost*> WebSocketHostTable; base 48 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc base::Bind(&WebSocketDispatcherHostTest::OnGetRequestContext, base 49 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc base::Unretained(this)), base 50 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc base::Bind(&WebSocketDispatcherHostTest::CreateWebSocketHost, base 51 content/browser/renderer_host/websocket_dispatcher_host_unittest.cc base::Unretained(this))); base 195 content/browser/renderer_host/websocket_host.cc base::StringPrintf("GET %s HTTP/1.1\r\n", base 96 content/browser/resolve_proxy_msg_helper.cc base::Bind(&ResolveProxyMsgHelper::OnResolveProxyCompleted, base 97 content/browser/resolve_proxy_msg_helper.cc base::Unretained(this)), base 99 content/browser/resolve_proxy_msg_helper_unittest.cc base::MessageLoopForIO message_loop_; base 19 content/browser/resource_context_impl.cc using base::UserDataAdapter; base 31 content/browser/resource_context_impl.cc class NonOwningZoomData : public base::SupportsUserData::Data { base 65 content/browser/resource_context_impl.cc return base::Bind(&ReturnEmptySalt); base 76 content/browser/resource_context_impl.cc const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) { base 28 content/browser/safe_util_win.cc bool SetInternetZoneIdentifierDirectly(const base::FilePath& full_path) { base 54 content/browser/safe_util_win.cc HRESULT AVScanFile(const base::FilePath& full_path, base 57 content/browser/safe_util_win.cc base::win::ScopedComPtr<IAttachmentExecute> attachment_services; base 84 content/browser/safe_util_win.cc hr = attachment_services->SetSource(base::UTF8ToWide(source_url).c_str()); base 13 content/browser/safe_util_win.h namespace base { base 48 content/browser/safe_util_win.h HRESULT AVScanFile(const base::FilePath& full_path, base 27 content/browser/screen_orientation/screen_orientation_provider_android.cc base::android::AttachCurrentThread())); base 31 content/browser/screen_orientation/screen_orientation_provider_android.cc base::android::AttachCurrentThread(), base 42 content/browser/screen_orientation/screen_orientation_provider_android.cc base::android::AttachCurrentThread(), base 27 content/browser/screen_orientation/screen_orientation_provider_android.h base::android::ScopedJavaGlobalRef<jobject> j_screen_orientation_provider_; base 26 content/browser/service_worker/embedded_worker_instance_unittest.cc context_.reset(new ServiceWorkerContextCore(base::FilePath(), NULL)); base 71 content/browser/service_worker/embedded_worker_instance_unittest.cc base::RunLoop().RunUntilIdle(); base 80 content/browser/service_worker/embedded_worker_instance_unittest.cc base::RunLoop().RunUntilIdle(); base 114 content/browser/service_worker/embedded_worker_instance_unittest.cc base::RunLoop().RunUntilIdle(); base 18 content/browser/service_worker/embedded_worker_registry.cc base::WeakPtr<ServiceWorkerContextCore> context) base 36 content/browser/service_worker/embedded_worker_registry.h : public NON_EXPORTED_BASE(base::RefCounted<EmbeddedWorkerRegistry>) { base 39 content/browser/service_worker/embedded_worker_registry.h base::WeakPtr<ServiceWorkerContextCore> context); base 71 content/browser/service_worker/embedded_worker_registry.h friend class base::RefCounted<EmbeddedWorkerRegistry>; base 84 content/browser/service_worker/embedded_worker_registry.h base::WeakPtr<ServiceWorkerContextCore> context_; base 154 content/browser/service_worker/embedded_worker_test_helper.cc base::MessageLoopProxy::current()->PostTask( base 156 content/browser/service_worker/embedded_worker_test_helper.cc base::Bind(&EmbeddedWorkerTestHelper::OnStartWorker, base 166 content/browser/service_worker/embedded_worker_test_helper.cc base::MessageLoopProxy::current()->PostTask( base 168 content/browser/service_worker/embedded_worker_test_helper.cc base::Bind(&EmbeddedWorkerTestHelper::OnStopWorker, base 181 content/browser/service_worker/embedded_worker_test_helper.cc base::MessageLoopProxy::current()->PostTask( base 183 content/browser/service_worker/embedded_worker_test_helper.cc base::Bind( base 184 content/browser/service_worker/embedded_worker_test_helper.cc base::IgnoreResult(&EmbeddedWorkerTestHelper::OnSendMessageToWorker), base 193 content/browser/service_worker/embedded_worker_test_helper.cc base::MessageLoopProxy::current()->PostTask( base 195 content/browser/service_worker/embedded_worker_test_helper.cc base::Bind(&EmbeddedWorkerTestHelper::OnActivateEvent, base 202 content/browser/service_worker/embedded_worker_test_helper.cc base::MessageLoopProxy::current()->PostTask( base 204 content/browser/service_worker/embedded_worker_test_helper.cc base::Bind(&EmbeddedWorkerTestHelper::OnInstallEvent, base 213 content/browser/service_worker/embedded_worker_test_helper.cc base::MessageLoopProxy::current()->PostTask( base 215 content/browser/service_worker/embedded_worker_test_helper.cc base::Bind(&EmbeddedWorkerTestHelper::OnFetchEvent, base 116 content/browser/service_worker/embedded_worker_test_helper.h base::WeakPtr<ServiceWorkerContextCore> context_; base 127 content/browser/service_worker/embedded_worker_test_helper.h base::WeakPtrFactory<EmbeddedWorkerTestHelper> weak_factory_; base 40 content/browser/service_worker/service_worker_browsertest.cc void RunAndQuit(const base::Closure& closure, base 41 content/browser/service_worker/service_worker_browsertest.cc const base::Closure& quit, base 42 content/browser/service_worker/service_worker_browsertest.cc base::MessageLoopProxy* original_message_loop) { base 47 content/browser/service_worker/service_worker_browsertest.cc void RunOnIOThread(const base::Closure& closure) { base 48 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop run_loop; base 51 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&RunAndQuit, closure, run_loop.QuitClosure(), base 52 content/browser/service_worker/service_worker_browsertest.cc base::MessageLoopProxy::current())); base 57 content/browser/service_worker/service_worker_browsertest.cc const base::Callback<void(const base::Closure& continuation)>& closure) { base 58 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop run_loop; base 59 content/browser/service_worker/service_worker_browsertest.cc base::Closure quit_on_original_thread = base 60 content/browser/service_worker/service_worker_browsertest.cc base::Bind(base::IgnoreResult(&base::MessageLoopProxy::PostTask), base 61 content/browser/service_worker/service_worker_browsertest.cc base::MessageLoopProxy::current().get(), base 66 content/browser/service_worker/service_worker_browsertest.cc base::Bind(closure, quit_on_original_thread)); base 74 content/browser/service_worker/service_worker_browsertest.cc const base::Closure& quit, base 88 content/browser/service_worker/service_worker_browsertest.cc const base::Closure& quit, base 90 content/browser/service_worker/service_worker_browsertest.cc return base::Bind(&ReceiveFetchResult, run_quit_thread, quit, result); base 116 content/browser/service_worker/service_worker_browsertest.cc RunOnIOThread(base::Bind(&self::SetUpOnIOThread, this)); base 120 content/browser/service_worker/service_worker_browsertest.cc RunOnIOThread(base::Bind(&self::TearDownOnIOThread, this)); base 215 content/browser/service_worker/service_worker_browsertest.cc base::Closure done_closure_; base 238 content/browser/service_worker/service_worker_browsertest.cc RunOnIOThread(base::Bind(&self::SetUpRegistrationOnIOThread, this, base 243 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop install_run_loop; base 245 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::InstallOnIOThread, this, base 253 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop stop_run_loop; base 255 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::StopOnIOThread, this, base 266 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::SetUpRegistrationOnIOThread, this, worker_url)); base 269 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop run_loop; base 273 content/browser/service_worker/service_worker_browsertest.cc base::Bind( base 283 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop fetch_run_loop; base 286 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::FetchOnIOThread, base 300 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::SetUpRegistrationOnIOThread, this, worker_url)); base 319 content/browser/service_worker/service_worker_browsertest.cc void StartOnIOThread(const base::Closure& done, base 325 content/browser/service_worker/service_worker_browsertest.cc void InstallOnIOThread(const base::Closure& done, base 332 content/browser/service_worker/service_worker_browsertest.cc void ActivateOnIOThread(const base::Closure& done, base 340 content/browser/service_worker/service_worker_browsertest.cc void FetchOnIOThread(const base::Closure& done, FetchResult* result) { base 351 content/browser/service_worker/service_worker_browsertest.cc void StopOnIOThread(const base::Closure& done, base 357 content/browser/service_worker/service_worker_browsertest.cc void SyncEventOnIOThread(const base::Closure& done, base 372 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop start_run_loop; base 375 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::StartOnIOThread, this)); base 381 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop stop_run_loop; base 384 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::StopOnIOThread, this)); base 391 content/browser/service_worker/service_worker_browsertest.cc RunOnIOThread(base::Bind(&self::SetUpRegistrationOnIOThread, this, base 396 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop start_run_loop; base 398 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::StartOnIOThread, this, base 406 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop stop_run_loop; base 408 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::StopOnIOThread, this, base 416 content/browser/service_worker/service_worker_browsertest.cc RunOnIOThread(base::Bind(&self::SetUpRegistrationOnIOThread, this, base 421 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop start_run_loop; base 423 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::StartOnIOThread, this, base 486 content/browser/service_worker/service_worker_browsertest.cc RunOnIOThread(base::Bind(&self::SetUpRegistrationOnIOThread, this, base 497 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop sync_run_loop; base 499 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&self::SyncEventOnIOThread, this, base 515 content/browser/service_worker/service_worker_browsertest.cc const base::Closure& continuation, base 528 content/browser/service_worker/service_worker_browsertest.cc const base::Closure& continuation) { base 531 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&ServiceWorkerBlackBoxBrowserTest::FindRegistrationOnIO2, base 541 content/browser/service_worker/service_worker_browsertest.cc const base::Closure& continuation, base 557 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop run_loop; base 562 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&ServiceWorkerBlackBoxBrowserTest::ExpectResultAndRun, base 571 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&ServiceWorkerBlackBoxBrowserTest::FindRegistrationOnIO, base 580 content/browser/service_worker/service_worker_browsertest.cc base::RunLoop run_loop; base 584 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&ServiceWorkerBlackBoxBrowserTest::ExpectResultAndRun, base 593 content/browser/service_worker/service_worker_browsertest.cc base::Bind(&ServiceWorkerBlackBoxBrowserTest::FindRegistrationOnIO, base 22 content/browser/service_worker/service_worker_context_core.cc const base::FilePath& path, base 79 content/browser/service_worker/service_worker_context_core.cc base::Bind(&ServiceWorkerContextCore::RegistrationComplete, base 24 content/browser/service_worker/service_worker_context_core.h namespace base { base 47 content/browser/service_worker/service_worker_context_core.h public base::SupportsWeakPtr<ServiceWorkerContextCore>) { base 49 content/browser/service_worker/service_worker_context_core.h typedef base::Callback<void(ServiceWorkerStatusCode status, base 51 content/browser/service_worker/service_worker_context_core.h typedef base::Callback< base 57 content/browser/service_worker/service_worker_context_core.h ServiceWorkerContextCore(const base::FilePath& user_data_directory, base 36 content/browser/service_worker/service_worker_context_unittest.cc return base::Bind(&SaveResponseCallback, called, store_result); base 45 content/browser/service_worker/service_worker_context_unittest.cc return base::Bind(&CallCompletedCallback, called); base 75 content/browser/service_worker/service_worker_context_unittest.cc context_.reset(new ServiceWorkerContextCore(base::FilePath(), NULL)); base 103 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 113 content/browser/service_worker/service_worker_context_unittest.cc base::Bind(&ExpectRegisteredWorkers, base 116 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 151 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 161 content/browser/service_worker/service_worker_context_unittest.cc base::Bind(&ExpectRegisteredWorkers, base 164 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 181 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 195 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 217 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 225 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 243 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 255 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 276 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 288 content/browser/service_worker/service_worker_context_unittest.cc base::RunLoop().RunUntilIdle(); base 21 content/browser/service_worker/service_worker_context_wrapper.cc const base::FilePath& user_data_directory, base 26 content/browser/service_worker/service_worker_context_wrapper.cc base::Bind(&ServiceWorkerContextWrapper::Init, this, base 41 content/browser/service_worker/service_worker_context_wrapper.cc base::Bind(&ServiceWorkerContextWrapper::Shutdown, this)); base 60 content/browser/service_worker/service_worker_context_wrapper.cc base::Bind(continuation, status == SERVICE_WORKER_OK)); base 72 content/browser/service_worker/service_worker_context_wrapper.cc base::Bind(&ServiceWorkerContextWrapper::RegisterServiceWorker, base 85 content/browser/service_worker/service_worker_context_wrapper.cc base::Bind(&FinishRegistrationOnIO, continuation)); base 95 content/browser/service_worker/service_worker_context_wrapper.cc base::Bind(continuation, status == SERVICE_WORKER_OK)); base 106 content/browser/service_worker/service_worker_context_wrapper.cc base::Bind(&ServiceWorkerContextWrapper::UnregisterServiceWorker, base 117 content/browser/service_worker/service_worker_context_wrapper.cc base::Bind(&FinishUnregistrationOnIO, continuation)); base 15 content/browser/service_worker/service_worker_context_wrapper.h namespace base { base 33 content/browser/service_worker/service_worker_context_wrapper.h public base::RefCountedThreadSafe<ServiceWorkerContextWrapper> { base 39 content/browser/service_worker/service_worker_context_wrapper.h void Init(const base::FilePath& user_data_directory, base 59 content/browser/service_worker/service_worker_context_wrapper.h friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>; base 60 content/browser/service_worker/service_worker_dispatcher_host.cc base::Bind(&ServiceWorkerDispatcherHost::Init, base 116 content/browser/service_worker/service_worker_dispatcher_host.cc base::ASCIIToUTF16(kDisabledErrorMessage))); base 128 content/browser/service_worker/service_worker_dispatcher_host.cc base::ASCIIToUTF16(kDomainMismatchErrorMessage))); base 136 content/browser/service_worker/service_worker_dispatcher_host.cc base::Bind(&ServiceWorkerDispatcherHost::RegistrationComplete, base 154 content/browser/service_worker/service_worker_dispatcher_host.cc base::ASCIIToUTF16(kDisabledErrorMessage))); base 161 content/browser/service_worker/service_worker_dispatcher_host.cc base::Bind(&ServiceWorkerDispatcherHost::UnregistrationComplete, base 169 content/browser/service_worker/service_worker_dispatcher_host.cc const base::string16& message, base 185 content/browser/service_worker/service_worker_dispatcher_host.cc base::Bind(&ServiceWorkerDispatcherHost::PostMessageFoundRegistration, base 197 content/browser/service_worker/service_worker_dispatcher_host.cc const base::string16& message, base 212 content/browser/service_worker/service_worker_dispatcher_host.cc base::Bind(&NoOpStatusCallback)); base 327 content/browser/service_worker/service_worker_dispatcher_host.cc base::string16 error_message; base 40 content/browser/service_worker/service_worker_dispatcher_host.h friend class base::DeleteHelper<ServiceWorkerDispatcherHost>; base 63 content/browser/service_worker/service_worker_dispatcher_host.h const base::string16& message, base 67 content/browser/service_worker/service_worker_dispatcher_host.h const base::string16& message, base 90 content/browser/service_worker/service_worker_dispatcher_host.h base::WeakPtr<ServiceWorkerContextCore> context_; base 33 content/browser/service_worker/service_worker_dispatcher_host_unittest.cc context_wrapper_->Init(base::FilePath(), NULL); base 122 content/browser/service_worker/service_worker_dispatcher_host_unittest.cc base::RunLoop().RunUntilIdle(); base 36 content/browser/service_worker/service_worker_fetch_dispatcher.cc base::Bind(&ServiceWorkerFetchDispatcher::DidWaitActivation, base 65 content/browser/service_worker/service_worker_fetch_dispatcher.cc base::Bind(&ServiceWorkerFetchDispatcher::DidFinish, base 25 content/browser/service_worker/service_worker_fetch_dispatcher.h typedef base::Callback<void(ServiceWorkerStatusCode, base 50 content/browser/service_worker/service_worker_fetch_dispatcher.h base::WeakPtrFactory<ServiceWorkerFetchDispatcher> weak_factory_; base 25 content/browser/service_worker/service_worker_internals_ui.cc using base::DictionaryValue; base 26 content/browser/service_worker/service_worker_internals_ui.cc using base::FundamentalValue; base 27 content/browser/service_worker/service_worker_internals_ui.cc using base::ListValue; base 28 content/browser/service_worker/service_worker_internals_ui.cc using base::StringValue; base 29 content/browser/service_worker/service_worker_internals_ui.cc using base::Value; base 30 content/browser/service_worker/service_worker_internals_ui.cc using base::WeakPtr; base 37 content/browser/service_worker/service_worker_internals_ui.cc : public base::RefCountedThreadSafe< base 45 content/browser/service_worker/service_worker_internals_ui.cc const base::FilePath& context_path); base 60 content/browser/service_worker/service_worker_internals_ui.cc const base::FilePath& context_path, base 99 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::GetAllRegistrations, base 100 content/browser/service_worker/service_worker_internals_ui.cc base::Unretained(this))); base 103 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::StartWorker, base 104 content/browser/service_worker/service_worker_internals_ui.cc base::Unretained(this))); base 107 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::StopWorker, base 108 content/browser/service_worker/service_worker_internals_ui.cc base::Unretained(this))); base 111 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::Unregister, base 112 content/browser/service_worker/service_worker_internals_ui.cc base::Unretained(this))); base 115 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::DispatchSyncEventToWorker, base 116 content/browser/service_worker/service_worker_internals_ui.cc base::Unretained(this))); base 130 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::AddContextFromStoragePartition, base 131 content/browser/service_worker/service_worker_internals_ui.cc base::Unretained(this)); base 143 content/browser/service_worker/service_worker_internals_ui.cc base::Bind( base 151 content/browser/service_worker/service_worker_internals_ui.cc void FindContext(const base::FilePath& partition_path, base 165 content/browser/service_worker/service_worker_internals_ui.cc base::FilePath* partition_path, base 168 content/browser/service_worker/service_worker_internals_ui.cc base::FilePath::StringType path_string; base 171 content/browser/service_worker/service_worker_internals_ui.cc *partition_path = base::FilePath(path_string); base 183 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&FindContext, *partition_path, &result_partition, context); base 195 content/browser/service_worker/service_worker_internals_ui.cc base::FilePath partition_path; base 205 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::OperationProxy:: base 214 content/browser/service_worker/service_worker_internals_ui.cc base::FilePath partition_path; base 224 content/browser/service_worker/service_worker_internals_ui.cc base::Bind( base 233 content/browser/service_worker/service_worker_internals_ui.cc base::FilePath partition_path; base 243 content/browser/service_worker/service_worker_internals_ui.cc base::Bind( base 252 content/browser/service_worker/service_worker_internals_ui.cc base::FilePath partition_path; base 262 content/browser/service_worker/service_worker_internals_ui.cc base::Bind( base 271 content/browser/service_worker/service_worker_internals_ui.cc const base::FilePath& context_path) { base 275 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::OperationProxy::OnHaveRegistrations, base 287 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::OperationProxy::OperationComplete, base 299 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::OperationProxy::StartActiveWorker, base 311 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::OperationProxy::StopActiveWorker, base 322 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::OperationProxy:: base 372 content/browser/service_worker/service_worker_internals_ui.cc const base::FilePath& context_path, base 378 content/browser/service_worker/service_worker_internals_ui.cc base::Bind( base 425 content/browser/service_worker/service_worker_internals_ui.cc base::Bind(&ServiceWorkerInternalsUI::OperationProxy::OperationComplete, base 445 content/browser/service_worker/service_worker_internals_ui.cc registration->active_version()->StartWorker(base::Bind( base 458 content/browser/service_worker/service_worker_internals_ui.cc registration->active_version()->StopWorker(base::Bind( base 473 content/browser/service_worker/service_worker_internals_ui.cc registration->active_version()->DispatchSyncEvent(base::Bind( base 15 content/browser/service_worker/service_worker_internals_ui.h namespace base { base 29 content/browser/service_worker/service_worker_internals_ui.h public base::SupportsWeakPtr<ServiceWorkerInternalsUI> { base 40 content/browser/service_worker/service_worker_internals_ui.h void GetAllRegistrations(const base::ListValue* args); base 41 content/browser/service_worker/service_worker_internals_ui.h void StartWorker(const base::ListValue* args); base 42 content/browser/service_worker/service_worker_internals_ui.h void StopWorker(const base::ListValue* args); base 43 content/browser/service_worker/service_worker_internals_ui.h void DispatchSyncEventToWorker(const base::ListValue* args); base 44 content/browser/service_worker/service_worker_internals_ui.h void Unregister(const base::ListValue* args); base 47 content/browser/service_worker/service_worker_internals_ui.h const base::ListValue* args, base 48 content/browser/service_worker/service_worker_internals_ui.h base::FilePath* partition_path, base 45 content/browser/service_worker/service_worker_job_coordinator.cc base::WeakPtr<ServiceWorkerContextCore> context) base 26 content/browser/service_worker/service_worker_job_coordinator.h base::WeakPtr<ServiceWorkerContextCore> context); base 67 content/browser/service_worker/service_worker_job_coordinator.h base::WeakPtr<ServiceWorkerContextCore> context_; base 56 content/browser/service_worker/service_worker_job_unittest.cc return base::Bind( base 65 content/browser/service_worker/service_worker_job_unittest.cc return base::Bind(&SaveFoundRegistrationCallback, base 82 content/browser/service_worker/service_worker_job_unittest.cc return base::Bind(&SaveUnregistrationCallback, expected_status, called); base 94 content/browser/service_worker/service_worker_job_unittest.cc context_.reset(new ServiceWorkerContextCore(base::FilePath(), NULL)); base 126 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 142 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 159 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 170 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 178 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 203 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 218 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 236 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 255 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 263 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 274 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 294 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 304 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 318 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 332 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 353 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 362 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 375 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 389 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 424 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 452 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 464 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 497 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 508 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 542 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 555 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 578 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 592 content/browser/service_worker/service_worker_job_unittest.cc base::RunLoop().RunUntilIdle(); base 16 content/browser/service_worker/service_worker_provider_host.cc base::WeakPtr<ServiceWorkerContextCore> context) base 26 content/browser/service_worker/service_worker_provider_host.h : public base::SupportsWeakPtr<ServiceWorkerProviderHost> { base 30 content/browser/service_worker/service_worker_provider_host.h base::WeakPtr<ServiceWorkerContextCore> context); base 75 content/browser/service_worker/service_worker_provider_host.h base::WeakPtr<ServiceWorkerContextCore> context_; base 19 content/browser/service_worker/service_worker_register_job.cc base::WeakPtr<ServiceWorkerContextCore> context, base 45 content/browser/service_worker/service_worker_register_job.cc base::Bind( base 106 content/browser/service_worker/service_worker_register_job.cc base::Bind(&ServiceWorkerRegisterJob::RegisterAndContinue, base 125 content/browser/service_worker/service_worker_register_job.cc base::Bind(&ServiceWorkerRegisterJob::UpdateAndContinue, base 157 content/browser/service_worker/service_worker_register_job.cc base::Bind(&ServiceWorkerRegisterJob::OnStartWorkerFinished, base 187 content/browser/service_worker/service_worker_register_job.cc base::Bind(&ServiceWorkerRegisterJob::OnInstallFinished, base 36 content/browser/service_worker/service_worker_register_job.h typedef base::Callback<void(ServiceWorkerStatusCode status, base 40 content/browser/service_worker/service_worker_register_job.h ServiceWorkerRegisterJob(base::WeakPtr<ServiceWorkerContextCore> context, base 71 content/browser/service_worker/service_worker_register_job.h base::WeakPtr<ServiceWorkerContextCore> context_; base 78 content/browser/service_worker/service_worker_register_job.h base::WeakPtrFactory<ServiceWorkerRegisterJob> weak_factory_; base 17 content/browser/service_worker/service_worker_registration.cc base::WeakPtr<ServiceWorkerContextCore> context) base 36 content/browser/service_worker/service_worker_registration.h : NON_EXPORTED_BASE(public base::RefCounted<ServiceWorkerRegistration>) { base 41 content/browser/service_worker/service_worker_registration.h base::WeakPtr<ServiceWorkerContextCore> context); base 82 content/browser/service_worker/service_worker_registration.h friend class base::RefCounted<ServiceWorkerRegistration>; base 92 content/browser/service_worker/service_worker_registration.h base::WeakPtr<ServiceWorkerContextCore> context_; base 17 content/browser/service_worker/service_worker_registration_status.cc base::string16* message) { base 19 content/browser/service_worker/service_worker_registration_status.cc *message = base::ASCIIToUTF16(ServiceWorkerStatusToString(status)); base 18 content/browser/service_worker/service_worker_registration_status.h base::string16* message); base 24 content/browser/service_worker/service_worker_registration_unittest.cc context_.reset(new ServiceWorkerContextCore(base::FilePath(), NULL)); base 30 content/browser/service_worker/service_worker_registration_unittest.cc base::WeakPtr<ServiceWorkerContextCore> context_ptr_; base 31 content/browser/service_worker/service_worker_registration_unittest.cc base::MessageLoopForIO message_loop_; base 132 content/browser/service_worker/service_worker_request_handler.cc base::WeakPtr<ServiceWorkerContextCore> context, base 133 content/browser/service_worker/service_worker_request_handler.cc base::WeakPtr<ServiceWorkerProviderHost> provider_host, base 149 content/browser/service_worker/service_worker_request_handler.cc base::Bind(&self::DidLookupRegistrationForMainResource, base 32 content/browser/service_worker/service_worker_request_handler.h : public base::SupportsUserData::Data { base 67 content/browser/service_worker/service_worker_request_handler.h base::WeakPtr<ServiceWorkerContextCore> context, base 68 content/browser/service_worker/service_worker_request_handler.h base::WeakPtr<ServiceWorkerProviderHost> provider_host, base 80 content/browser/service_worker/service_worker_request_handler.h base::WeakPtr<ServiceWorkerContextCore> context_; base 81 content/browser/service_worker/service_worker_request_handler.h base::WeakPtr<ServiceWorkerProviderHost> provider_host_; base 85 content/browser/service_worker/service_worker_request_handler.h base::WeakPtrFactory<ServiceWorkerRequestHandler> weak_factory_; base 19 content/browser/service_worker/service_worker_storage.cc void RunSoon(const base::Closure& closure) { base 20 content/browser/service_worker/service_worker_storage.cc base::MessageLoop::current()->PostTask(FROM_HERE, closure); base 23 content/browser/service_worker/service_worker_storage.cc const base::FilePath::CharType kServiceWorkerDirectory[] = base 29 content/browser/service_worker/service_worker_storage.cc const base::FilePath& path, base 62 content/browser/service_worker/service_worker_storage.cc RunSoon(base::Bind(callback, status, found)); base 84 content/browser/service_worker/service_worker_storage.cc RunSoon(base::Bind(callback, status, found)); base 99 content/browser/service_worker/service_worker_storage.cc BrowserThread::IO, FROM_HERE, base::Bind(callback, registrations)); base 117 content/browser/service_worker/service_worker_storage.cc RunSoon(base::Bind(callback, status, found)); base 129 content/browser/service_worker/service_worker_storage.cc RunSoon(base::Bind(callback, SERVICE_WORKER_ERROR_EXISTS)); base 136 content/browser/service_worker/service_worker_storage.cc RunSoon(base::Bind(callback, SERVICE_WORKER_OK)); base 145 content/browser/service_worker/service_worker_storage.cc RunSoon(base::Bind(callback, SERVICE_WORKER_ERROR_NOT_FOUND)); base 149 content/browser/service_worker/service_worker_storage.cc RunSoon(base::Bind(callback, SERVICE_WORKER_OK)); base 32 content/browser/service_worker/service_worker_storage.h typedef base::Callback<void(ServiceWorkerStatusCode status)> StatusCallback; base 33 content/browser/service_worker/service_worker_storage.h typedef base::Callback<void(ServiceWorkerStatusCode status, base 37 content/browser/service_worker/service_worker_storage.h ServiceWorkerStorage(const base::FilePath& path, base 52 content/browser/service_worker/service_worker_storage.h typedef base::Callback< base 88 content/browser/service_worker/service_worker_storage.h base::FilePath path_; base 19 content/browser/service_worker/service_worker_storage_unittest.cc storage_.reset(new ServiceWorkerStorage(base::FilePath(), NULL)); base 16 content/browser/service_worker/service_worker_test_utils.h const base::Closure& quit, base 23 content/browser/service_worker/service_worker_test_utils.h template <typename Arg> base::Callback<void(Arg)> base 25 content/browser/service_worker/service_worker_test_utils.h const base::Closure& quit, Arg* out) { base 26 content/browser/service_worker/service_worker_test_utils.h return base::Bind(&ReceiveResult<Arg>, run_quit_thread, quit, out); base 29 content/browser/service_worker/service_worker_test_utils.h template <typename Arg> base::Callback<void(Arg)> base 33 content/browser/service_worker/service_worker_test_utils.h return base::Bind(&ReceiveResult<Arg>, id, base::Closure(), out); base 17 content/browser/service_worker/service_worker_unregister_job.cc base::WeakPtr<ServiceWorkerContextCore> context, base 33 content/browser/service_worker/service_worker_unregister_job.cc base::Bind(&ServiceWorkerUnregisterJob::DeleteExistingRegistration, base 54 content/browser/service_worker/service_worker_unregister_job.cc base::Bind(&ServiceWorkerUnregisterJob::Complete, base 30 content/browser/service_worker/service_worker_unregister_job.h typedef base::Callback<void(ServiceWorkerStatusCode status)> base 33 content/browser/service_worker/service_worker_unregister_job.h ServiceWorkerUnregisterJob(base::WeakPtr<ServiceWorkerContextCore> context, base 53 content/browser/service_worker/service_worker_unregister_job.h base::WeakPtr<ServiceWorkerContextCore> context_; base 56 content/browser/service_worker/service_worker_unregister_job.h base::WeakPtrFactory<ServiceWorkerUnregisterJob> weak_factory_; base 21 content/browser/service_worker/service_worker_url_request_job.cc base::WeakPtr<ServiceWorkerProviderHost> provider_host) base 120 content/browser/service_worker/service_worker_url_request_job.cc base::MessageLoop::current()->PostTask( base 122 content/browser/service_worker/service_worker_url_request_job.cc base::Bind(&ServiceWorkerURLRequestJob::StartRequest, base 148 content/browser/service_worker/service_worker_url_request_job.cc base::Bind(&ServiceWorkerURLRequestJob::DidDispatchFetchEvent, base 196 content/browser/service_worker/service_worker_url_request_job.cc std::string status_line(base::StringPrintf("HTTP/1.1 %d %s", base 27 content/browser/service_worker/service_worker_url_request_job.h base::WeakPtr<ServiceWorkerProviderHost> provider_host); base 78 content/browser/service_worker/service_worker_url_request_job.h base::WeakPtr<ServiceWorkerProviderHost> provider_host_; base 90 content/browser/service_worker/service_worker_url_request_job.h base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; base 61 content/browser/service_worker/service_worker_url_request_job_unittest.cc base::Closure on_complete_; base 66 content/browser/service_worker/service_worker_url_request_job_unittest.cc MockProtocolHandler(base::WeakPtr<ServiceWorkerProviderHost> provider_host) base 80 content/browser/service_worker/service_worker_url_request_job_unittest.cc base::WeakPtr<ServiceWorkerProviderHost> provider_host_; base 92 content/browser/service_worker/service_worker_url_request_job_unittest.cc context_.reset(new ServiceWorkerContextCore(base::FilePath(), NULL)); base 133 content/browser/service_worker/service_worker_url_request_job_unittest.cc base::RunLoop().RunUntilIdle(); base 22 content/browser/service_worker/service_worker_version.cc typedef base::Callback<bool(const IPC::Message* message, base 30 content/browser/service_worker/service_worker_version.cc base::WeakPtr<ServiceWorkerVersion> version, base 46 content/browser/service_worker/service_worker_version.cc base::WeakPtr<ServiceWorkerVersion> version; base 55 content/browser/service_worker/service_worker_version.cc void RunSoon(const base::Closure& callback) { base 57 content/browser/service_worker/service_worker_version.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 74 content/browser/service_worker/service_worker_version.cc base::WeakPtr<ServiceWorkerVersion> version, base 76 content/browser/service_worker/service_worker_version.cc const base::Closure& task, base 168 content/browser/service_worker/service_worker_version.cc base::WeakPtr<ServiceWorkerContextCore> context) base 200 content/browser/service_worker/service_worker_version.cc std::vector<base::Closure> callbacks; base 202 content/browser/service_worker/service_worker_version.cc for (std::vector<base::Closure>::const_iterator i = callbacks.begin(); base 209 content/browser/service_worker/service_worker_version.cc const base::Closure& callback) { base 226 content/browser/service_worker/service_worker_version.cc RunSoon(base::Bind(callback, SERVICE_WORKER_OK)); base 230 content/browser/service_worker/service_worker_version.cc RunSoon(base::Bind(callback, SERVICE_WORKER_ERROR_START_WORKER_FAILED)); base 238 content/browser/service_worker/service_worker_version.cc RunSoon(base::Bind(callback, status)); base 249 content/browser/service_worker/service_worker_version.cc RunSoon(base::Bind(callback, SERVICE_WORKER_OK)); base 255 content/browser/service_worker/service_worker_version.cc RunSoon(base::Bind(callback, status)); base 268 content/browser/service_worker/service_worker_version.cc StartWorker(base::Bind(&RunTaskAfterStartWorker, base 270 content/browser/service_worker/service_worker_version.cc base::Bind(&self::SendMessage, base 278 content/browser/service_worker/service_worker_version.cc RunSoon(base::Bind(callback, status)); base 287 content/browser/service_worker/service_worker_version.cc StartWorker(base::Bind(&RunTaskAfterStartWorker, base 289 content/browser/service_worker/service_worker_version.cc base::Bind(&RunEmptyMessageCallback, callback), base 290 content/browser/service_worker/service_worker_version.cc base::Bind(&self::SendMessageAndRegisterCallback, base 301 content/browser/service_worker/service_worker_version.cc RunSoon(base::Bind(callback, status, IPC::Message())); base 314 content/browser/service_worker/service_worker_version.cc base::Bind(&ServiceWorkerHostMsg_InstallEventFinished::Read), base 321 content/browser/service_worker/service_worker_version.cc base::Bind(&HandleInstallPhaseEventFinished, params)); base 333 content/browser/service_worker/service_worker_version.cc base::Bind(&ServiceWorkerHostMsg_ActivateEventFinished::Read), base 340 content/browser/service_worker/service_worker_version.cc base::Bind(&HandleInstallPhaseEventFinished, params)); base 349 content/browser/service_worker/service_worker_version.cc base::Bind(&HandleFetchResponse, callback)); base 356 content/browser/service_worker/service_worker_version.cc base::Bind(&HandleSyncEventFinished, callback)); base 40 content/browser/service_worker/service_worker_version.h : NON_EXPORTED_BASE(public base::RefCounted<ServiceWorkerVersion>), base 43 content/browser/service_worker/service_worker_version.h typedef base::Callback<void(ServiceWorkerStatusCode)> StatusCallback; base 44 content/browser/service_worker/service_worker_version.h typedef base::Callback<void(ServiceWorkerStatusCode, base 46 content/browser/service_worker/service_worker_version.h typedef base::Callback<void(ServiceWorkerStatusCode, base 73 content/browser/service_worker/service_worker_version.h base::WeakPtr<ServiceWorkerContextCore> context); base 95 content/browser/service_worker/service_worker_version.h void RegisterStatusChangeCallback(const base::Closure& callback); base 177 content/browser/service_worker/service_worker_version.h friend class base::RefCounted<ServiceWorkerVersion>; base 188 content/browser/service_worker/service_worker_version.h std::vector<base::Closure> status_change_callbacks_; base 190 content/browser/service_worker/service_worker_version.h base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; base 191 content/browser/service_worker/service_worker_version.h base::WeakPtr<ServiceWorkerContextCore> context_; base 97 content/browser/service_worker/service_worker_version_unittest.cc base::Bind(&ObserveStatusChanges, make_scoped_refptr(version), statuses)); base 108 content/browser/service_worker/service_worker_version_unittest.cc context_.reset(new ServiceWorkerContextCore(base::FilePath(), NULL)); base 150 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 155 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 173 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 189 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 201 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 215 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 225 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 235 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 248 content/browser/service_worker/service_worker_version_unittest.cc base::Bind(&ReceiveResponse, &status1, &value1)); base 251 content/browser/service_worker/service_worker_version_unittest.cc base::Bind(&ReceiveResponse, &status2, &value2)); base 252 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 271 content/browser/service_worker/service_worker_version_unittest.cc base::Bind(&VerifyCalled, &status_change_called)); base 273 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 294 content/browser/service_worker/service_worker_version_unittest.cc base::Bind(&VerifyCalled, &status_change_called)); base 296 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 311 content/browser/service_worker/service_worker_version_unittest.cc base::Bind(&ObserveStatusChanges, version_, &statuses)); base 316 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 321 content/browser/service_worker/service_worker_version_unittest.cc base::RunLoop().RunUntilIdle(); base 38 content/browser/session_history_browsertest.cc base::StringPrintf( base 53 content/browser/session_history_browsertest.cc base::Bind(&HandleEchoTitleRequest, "/echotitle")); base 88 content/browser/session_history_browsertest.cc return base::UTF16ToASCII(shell()->web_contents()->GetTitle()); base 102 content/browser/session_history_browsertest.cc base::string16 expected_title16(base::ASCIIToUTF16(expected_title)); base 329 content/browser/session_history_browsertest.cc base::Bind(&HandleEchoTitleRequest, "/echotitle")); base 57 content/browser/shared_worker/shared_worker_host.cc creation_time_(base::TimeTicks::Now()) { base 64 content/browser/shared_worker/shared_worker_host.cc base::TimeTicks::Now() - creation_time_); base 75 content/browser/shared_worker/shared_worker_host.cc base::Bind(&WorkerCrashCallback, base 83 content/browser/shared_worker/shared_worker_host.cc base::Bind( base 167 content/browser/shared_worker/shared_worker_host.cc base::TimeTicks::Now() - creation_time_); base 171 content/browser/shared_worker/shared_worker_host.cc base::Bind( base 177 content/browser/shared_worker/shared_worker_host.cc base::TimeTicks::Now() - creation_time_); base 200 content/browser/shared_worker/shared_worker_host.cc const base::string16& name, base 201 content/browser/shared_worker/shared_worker_host.cc const base::string16& display_name, base 224 content/browser/shared_worker/shared_worker_host.cc const base::string16& name, base 62 content/browser/shared_worker/shared_worker_host.h const base::string16& name, base 63 content/browser/shared_worker/shared_worker_host.h const base::string16& display_name, base 68 content/browser/shared_worker/shared_worker_host.h const base::string16& name, base 129 content/browser/shared_worker/shared_worker_host.h const base::TimeTicks creation_time_; base 13 content/browser/shared_worker/shared_worker_instance.cc const base::string16& name, base 14 content/browser/shared_worker/shared_worker_instance.cc const base::string16& content_security_policy, base 38 content/browser/shared_worker/shared_worker_instance.cc const base::string16& match_name, base 24 content/browser/shared_worker/shared_worker_instance.h const base::string16& name, base 25 content/browser/shared_worker/shared_worker_instance.h const base::string16& content_security_policy, base 40 content/browser/shared_worker/shared_worker_instance.h const base::string16& name, base 47 content/browser/shared_worker/shared_worker_instance.h const base::string16 name() const { return name_; } base 48 content/browser/shared_worker/shared_worker_instance.h const base::string16 content_security_policy() const { base 63 content/browser/shared_worker/shared_worker_instance.h const base::string16 name_; base 64 content/browser/shared_worker/shared_worker_instance.h const base::string16 content_security_policy_; base 27 content/browser/shared_worker/shared_worker_instance_unittest.cc const base::StringPiece& name) { base 29 content/browser/shared_worker/shared_worker_instance_unittest.cc base::ASCIIToUTF16(name), base 42 content/browser/shared_worker/shared_worker_instance_unittest.cc base::string16(), base 43 content/browser/shared_worker/shared_worker_instance_unittest.cc base::string16(), base 57 content/browser/shared_worker/shared_worker_instance_unittest.cc base::ASCIIToUTF16("name"), base 58 content/browser/shared_worker/shared_worker_instance_unittest.cc base::string16(), base 129 content/browser/shared_worker/shared_worker_message_filter.cc const base::string16& name, base 130 content/browser/shared_worker/shared_worker_message_filter.cc const base::string16& display_name, base 153 content/browser/shared_worker/shared_worker_message_filter.cc const base::string16& name, base 57 content/browser/shared_worker/shared_worker_message_filter.h const base::string16& name, base 58 content/browser/shared_worker/shared_worker_message_filter.h const base::string16& display_name, base 66 content/browser/shared_worker/shared_worker_message_filter.h const base::string16& name, base 62 content/browser/shared_worker/shared_worker_service_impl.cc base::Bind(&UpdateWorkerDependencyOnUI, added_ids, removed_ids)); base 82 content/browser/shared_worker/shared_worker_service_impl.cc base::Bind(&WorkerCreatedResultCallbackOnIO, base 213 content/browser/shared_worker/shared_worker_service_impl.cc base::Bind(&NotifyWorkerCreatedOnUI, base 228 content/browser/shared_worker/shared_worker_service_impl.cc const base::string16 name = host->instance()->name(); base 310 content/browser/shared_worker/shared_worker_service_impl.cc const base::string16& name, base 311 content/browser/shared_worker/shared_worker_service_impl.cc const base::string16& display_name, base 331 content/browser/shared_worker/shared_worker_service_impl.cc const base::string16& name, base 373 content/browser/shared_worker/shared_worker_service_impl.cc const base::string16& name, base 72 content/browser/shared_worker/shared_worker_service_impl.h const base::string16& name, base 73 content/browser/shared_worker/shared_worker_service_impl.h const base::string16& display_name, base 83 content/browser/shared_worker/shared_worker_service_impl.h const base::string16& name, base 108 content/browser/shared_worker/shared_worker_service_impl.h typedef base::ScopedPtrHashMap<ProcessRouteIdPair, SharedWorkerHost> base 123 content/browser/shared_worker/shared_worker_service_impl.h const base::string16& name, base 93 content/browser/shared_worker/shared_worker_service_impl_unittest.cc base::Bind(&base::AtomicSequenceNumber::GetNext, base 94 content/browser/shared_worker/shared_worker_service_impl_unittest.cc base::Unretained(&next_routing_id_)), base 137 content/browser/shared_worker/shared_worker_service_impl_unittest.cc base::AtomicSequenceNumber next_routing_id_; base 165 content/browser/shared_worker/shared_worker_service_impl_unittest.cc params.name = base::ASCIIToUTF16(name); base 166 content/browser/shared_worker/shared_worker_service_impl_unittest.cc params.content_security_policy = base::string16(); base 207 content/browser/shared_worker/shared_worker_service_impl_unittest.cc local_port_id_, base::ASCIIToUTF16(data), empty_ids))); base 248 content/browser/shared_worker/shared_worker_service_impl_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(expected_name), param.a.name); base 285 content/browser/shared_worker/shared_worker_service_impl_unittest.cc base::string16 data; base 290 content/browser/shared_worker/shared_worker_service_impl_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(expected_data), data); base 425 content/browser/shared_worker/shared_worker_service_impl_unittest.cc base::ASCIIToUTF16("test2"), base 513 content/browser/shared_worker/shared_worker_service_impl_unittest.cc base::ASCIIToUTF16("test2"), base 586 content/browser/shared_worker/shared_worker_service_impl_unittest.cc base::ASCIIToUTF16("test4"), base 128 content/browser/site_instance_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 133 content/browser/site_instance_impl_unittest.cc base::MessageLoopForUI message_loop_; base 207 content/browser/site_instance_impl_unittest.cc instance, 0, url, Referrer(), base::string16(), PAGE_TRANSITION_LINK, base 216 content/browser/site_instance_impl_unittest.cc instance, 0, url, Referrer(), base::string16(), PAGE_TRANSITION_LINK, base 269 content/browser/site_instance_impl_unittest.cc instance1, 0, url, Referrer(), base::string16(), PAGE_TRANSITION_LINK, base 45 content/browser/site_per_process_browsertest.cc const base::string16& frame_unique_name, base 49 content/browser/site_per_process_browsertest.cc const base::string16& error_description, base 57 content/browser/site_per_process_browsertest.cc const base::string16& frame_unique_name, base 180 content/browser/site_per_process_browsertest.cc std::string script = base::StringPrintf( base 287 content/browser/site_per_process_browsertest.cc base::KillProcess(child_process->GetHandle(), 0, false); base 301 content/browser/site_per_process_browsertest.cc base::KillProcess(root_process->GetHandle(), 0, false); base 318 content/browser/site_per_process_browsertest.cc base::FilePath(FILE_PATH_LITERAL("content/test/data"))); base 444 content/browser/site_per_process_browsertest.cc base::FilePath(FILE_PATH_LITERAL("content/test/data"))); base 19 content/browser/speech/audio_buffer.h public base::RefCountedThreadSafe<AudioChunk> { base 34 content/browser/speech/audio_buffer.h friend class base::RefCountedThreadSafe<AudioChunk>; base 61 content/browser/speech/audio_encoder.cc base::IntToString(sampling_rate), base 130 content/browser/speech/audio_encoder.cc base::IntToString(sampling_rate), base 10 content/browser/speech/endpointer/endpointer.cc using base::Time; base 50 content/browser/speech/google_one_shot_remote_engine.cc scoped_ptr<base::Value> response_value(base::JSONReader::ReadAndReturnError( base 51 content/browser/speech/google_one_shot_remote_engine.cc response_body, base::JSON_PARSE_RFC, NULL, &error_msg)); base 57 content/browser/speech/google_one_shot_remote_engine.cc if (!response_value->IsType(base::Value::TYPE_DICTIONARY)) { base 62 content/browser/speech/google_one_shot_remote_engine.cc const base::DictionaryValue* response_object = base 63 content/browser/speech/google_one_shot_remote_engine.cc static_cast<const base::DictionaryValue*>(response_value.get()); base 91 content/browser/speech/google_one_shot_remote_engine.cc const base::Value* hypotheses_value = NULL; base 98 content/browser/speech/google_one_shot_remote_engine.cc if (!hypotheses_value->IsType(base::Value::TYPE_LIST)) { base 104 content/browser/speech/google_one_shot_remote_engine.cc const base::ListValue* hypotheses_list = base 105 content/browser/speech/google_one_shot_remote_engine.cc static_cast<const base::ListValue*>(hypotheses_value); base 111 content/browser/speech/google_one_shot_remote_engine.cc const base::Value* hypothesis = NULL; base 117 content/browser/speech/google_one_shot_remote_engine.cc if (!hypothesis->IsType(base::Value::TYPE_DICTIONARY)) { base 123 content/browser/speech/google_one_shot_remote_engine.cc const base::DictionaryValue* hypothesis_value = base 124 content/browser/speech/google_one_shot_remote_engine.cc static_cast<const base::DictionaryValue*>(hypothesis); base 125 content/browser/speech/google_one_shot_remote_engine.cc base::string16 utterance; base 201 content/browser/speech/google_one_shot_remote_engine.cc parts.push_back("maxresults=" + base::UintToString(config_.max_hypotheses)); base 46 content/browser/speech/google_one_shot_remote_engine_unittest.cc base::MessageLoop message_loop_; base 86 content/browser/speech/google_one_shot_remote_engine_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("123456"), result().hypotheses[0].utterance); base 96 content/browser/speech/google_one_shot_remote_engine_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("hello"), result().hypotheses[0].utterance); base 98 content/browser/speech/google_one_shot_remote_engine_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("123456"), result().hypotheses[1].utterance); base 335 content/browser/speech/google_streaming_remote_engine.cc base::UintToString(max_alternatives)); base 443 content/browser/speech/google_streaming_remote_engine.cc hypothesis.utterance = base::UTF8ToUTF16(ws_alternative.transcript()); base 571 content/browser/speech/google_streaming_remote_engine.cc int64 key = (base::Time::Now().ToInternalValue() & kKeepLowBytes) | base 572 content/browser/speech/google_streaming_remote_engine.cc (base::RandUint64() & kKeepHighBytes); base 573 content/browser/speech/google_streaming_remote_engine.cc return base::HexEncode(reinterpret_cast<void*>(&key), sizeof(key)); base 50 content/browser/speech/google_streaming_remote_engine.h public NON_EXPORTED_BASE(base::NonThreadSafe) { base 22 content/browser/speech/google_streaming_remote_engine_unittest.cc using base::HostToNet32; base 23 content/browser/speech/google_streaming_remote_engine_unittest.cc using base::checked_cast; base 85 content/browser/speech/google_streaming_remote_engine_unittest.cc base::MessageLoop message_loop_; base 115 content/browser/speech/google_streaming_remote_engine_unittest.cc SpeechRecognitionHypothesis(base::UTF8ToUTF16("hypothesis 1"), 0.1F)); base 117 content/browser/speech/google_streaming_remote_engine_unittest.cc SpeechRecognitionHypothesis(base::UTF8ToUTF16("hypothesis 2"), 0.2F)); base 146 content/browser/speech/google_streaming_remote_engine_unittest.cc base::UTF8ToUTF16("hypothesis"), confidence)); base 164 content/browser/speech/google_streaming_remote_engine_unittest.cc SpeechRecognitionHypothesis(base::UTF8ToUTF16("The final result"), 1.0F)); base 191 content/browser/speech/google_streaming_remote_engine_unittest.cc SpeechRecognitionHypothesis(base::UTF8ToUTF16("hypothesis"), 1.0F)); base 231 content/browser/speech/google_streaming_remote_engine_unittest.cc SpeechRecognitionHypothesis(base::UTF8ToUTF16("The final result"), 0.0F)); base 308 content/browser/speech/google_streaming_remote_engine_unittest.cc SpeechRecognitionHypothesis(base::UTF8ToUTF16("foo"), 0.5)); base 428 content/browser/speech/google_streaming_remote_engine_unittest.cc proto_alternative->set_transcript(base::UTF16ToUTF8(hypothesis.utterance)); base 44 content/browser/speech/input_tag_speech_dispatcher_host.cc base::WeakPtr<InputTagSpeechDispatcherHost> base 118 content/browser/speech/input_tag_speech_dispatcher_host.cc base::Bind( base 36 content/browser/speech/input_tag_speech_dispatcher_host.h base::WeakPtr<InputTagSpeechDispatcherHost> AsWeakPtr(); base 86 content/browser/speech/input_tag_speech_dispatcher_host.h base::WeakPtrFactory<InputTagSpeechDispatcherHost> weak_factory_; base 27 content/browser/speech/speech_recognition_browsertest.cc using base::RunLoop; base 164 content/browser/speech/speech_recognition_browsertest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 175 content/browser/speech/speech_recognition_browsertest.cc base::UTF8ToUTF16("Pictures of the moon"), 1.0F)); base 42 content/browser/speech/speech_recognition_dispatcher_host.cc base::WeakPtr<SpeechRecognitionDispatcherHost> base 119 content/browser/speech/speech_recognition_dispatcher_host.cc base::Bind(&SpeechRecognitionDispatcherHost::OnStartRequestOnIO, base 35 content/browser/speech/speech_recognition_dispatcher_host.h base::WeakPtr<SpeechRecognitionDispatcherHost> AsWeakPtr(); base 84 content/browser/speech/speech_recognition_dispatcher_host.h base::WeakPtrFactory<SpeechRecognitionDispatcherHost> weak_factory_; base 31 content/browser/speech/speech_recognition_manager_impl.cc using base::Callback; base 175 content/browser/speech/speech_recognition_manager_impl.cc base::Bind(&SpeechRecognitionManagerImpl::RecognitionAllowedCallback, base 203 content/browser/speech/speech_recognition_manager_impl.cc base::Bind( base 210 content/browser/speech/speech_recognition_manager_impl.cc base::MessageLoop::current()->PostTask( base 212 content/browser/speech/speech_recognition_manager_impl.cc base::Bind(&SpeechRecognitionManagerImpl::DispatchEvent, base 219 content/browser/speech/speech_recognition_manager_impl.cc base::MessageLoop::current()->PostTask( base 221 content/browser/speech/speech_recognition_manager_impl.cc base::Bind(&SpeechRecognitionManagerImpl::DispatchEvent, base 267 content/browser/speech/speech_recognition_manager_impl.cc base::MessageLoop::current()->PostTask( base 269 content/browser/speech/speech_recognition_manager_impl.cc base::Bind(&SpeechRecognitionManagerImpl::DispatchEvent, base 283 content/browser/speech/speech_recognition_manager_impl.cc base::MessageLoop::current()->PostTask( base 285 content/browser/speech/speech_recognition_manager_impl.cc base::Bind(&SpeechRecognitionManagerImpl::DispatchEvent, base 304 content/browser/speech/speech_recognition_manager_impl.cc iter->second->ui->OnStarted(base::Closure(), base 372 content/browser/speech/speech_recognition_manager_impl.cc base::MessageLoop::current()->PostTask( base 374 content/browser/speech/speech_recognition_manager_impl.cc base::Bind(&SpeechRecognitionManagerImpl::DispatchEvent, base 425 content/browser/speech/speech_recognition_manager_impl.cc base::MessageLoop::current()->PostTask( base 427 content/browser/speech/speech_recognition_manager_impl.cc base::Bind(&SpeechRecognitionManagerImpl::DispatchEvent, base 679 content/browser/speech/speech_recognition_manager_impl.cc base::string16 SpeechRecognitionManagerImpl::GetAudioInputDeviceModel() { base 687 content/browser/speech/speech_recognition_manager_impl.cc base::Bind(&ShowAudioInputSettingsOnFileThread, base 77 content/browser/speech/speech_recognition_manager_impl.h virtual base::string16 GetAudioInputDeviceModel() OVERRIDE; base 101 content/browser/speech/speech_recognition_manager_impl.h friend struct base::DefaultDeleter<SpeechRecognitionManagerImpl>; base 188 content/browser/speech/speech_recognition_manager_impl.h base::WeakPtrFactory<SpeechRecognitionManagerImpl> weak_factory_; base 18 content/browser/speech/speech_recognizer.h : public base::RefCountedThreadSafe<SpeechRecognizer> { base 33 content/browser/speech/speech_recognizer.h friend class base::RefCountedThreadSafe<SpeechRecognizer>; base 48 content/browser/speech/speech_recognizer_impl.cc base::TimeDelta buffer_delay) OVERRIDE; base 157 content/browser/speech/speech_recognizer_impl.cc AudioBus* dest, base::TimeDelta buffer_delay) { base 192 content/browser/speech/speech_recognizer_impl.cc base::Time::kMicrosecondsPerSecond / 2); base 194 content/browser/speech/speech_recognizer_impl.cc base::Time::kMicrosecondsPerSecond); base 195 content/browser/speech/speech_recognizer_impl.cc endpointer_.set_long_speech_length(3 * base::Time::kMicrosecondsPerSecond); base 199 content/browser/speech/speech_recognizer_impl.cc const int64 cont_timeout_us = base::Time::kMicrosecondsPerSecond * 15; base 219 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, base 225 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, base 231 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, base 260 content/browser/speech/speech_recognizer_impl.cc base::Bind(&KeepAudioControllerRefcountedForDtor, audio_controller_)); base 269 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, base 283 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, base 294 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, base 303 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, base 775 content/browser/speech/speech_recognizer_impl.cc audio_controller_->Close(base::Bind(&SpeechRecognizerImpl::OnAudioClosed, base 21 content/browser/speech/speech_recognizer_impl_android.cc using base::android::AppendJavaStringArrayToStringVector; base 22 content/browser/speech/speech_recognizer_impl_android.cc using base::android::AttachCurrentThread; base 23 content/browser/speech/speech_recognizer_impl_android.cc using base::android::ConvertUTF8ToJavaString; base 24 content/browser/speech/speech_recognizer_impl_android.cc using base::android::GetApplicationContext; base 25 content/browser/speech/speech_recognizer_impl_android.cc using base::android::JavaFloatArrayToFloatVector; base 42 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 44 content/browser/speech/speech_recognizer_impl_android.cc base::Unretained(listener()), base 48 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 67 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 79 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 101 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 113 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 124 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 135 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 149 content/browser/speech/speech_recognizer_impl_android.cc std::vector<base::string16> options; base 163 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 177 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 191 content/browser/speech/speech_recognizer_impl_android.cc BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( base 58 content/browser/speech/speech_recognizer_impl_android.h base::android::ScopedJavaGlobalRef<jobject> j_recognition_; base 21 content/browser/speech/speech_recognizer_impl_unittest.cc using base::MessageLoopProxy; base 60 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->message_loop_proxy().get())); base 166 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoopForIO message_loop_; base 189 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 202 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 214 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 227 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 234 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 253 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 263 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 269 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 271 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 284 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 290 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 295 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 311 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 322 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 328 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 333 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 348 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 358 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 364 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 376 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 384 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 397 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 409 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 423 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 445 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 451 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 461 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 476 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 482 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 488 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 496 content/browser/speech/speech_recognizer_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 15 content/browser/ssl/ssl_cert_error_handler.cc const base::WeakPtr<Delegate>& delegate, base 22 content/browser/ssl/ssl_cert_error_handler.h SSLCertErrorHandler(const base::WeakPtr<Delegate>& delegate, base 49 content/browser/ssl/ssl_client_auth_handler.cc base::Bind(&SSLClientAuthHandler::DidGetClientCerts, this)); base 61 content/browser/ssl/ssl_client_auth_handler.cc base::Bind( base 95 content/browser/ssl/ssl_client_auth_handler.cc base::Bind( base 122 content/browser/ssl/ssl_client_auth_handler.cc base::Bind(&SSLClientAuthHandler::CertificateSelected, this)); base 31 content/browser/ssl/ssl_client_auth_handler.h : public base::RefCountedThreadSafe< base 55 content/browser/ssl/ssl_client_auth_handler.h friend class base::RefCountedThreadSafe< base 58 content/browser/ssl/ssl_client_auth_handler.h friend class base::DeleteHelper<SSLClientAuthHandler>; base 21 content/browser/ssl/ssl_error_handler.cc SSLErrorHandler::SSLErrorHandler(const base::WeakPtr<Delegate>& delegate, base 88 content/browser/ssl/ssl_error_handler.cc base::Bind( base 98 content/browser/ssl/ssl_error_handler.cc base::Bind( base 109 content/browser/ssl/ssl_error_handler.cc base::Bind(&SSLErrorHandler::CompleteContinueRequest, this)); base 118 content/browser/ssl/ssl_error_handler.cc base::Bind(&SSLErrorHandler::CompleteTakeNoAction, this)); base 43 content/browser/ssl/ssl_error_handler.h class SSLErrorHandler : public base::RefCountedThreadSafe<SSLErrorHandler> { base 107 content/browser/ssl/ssl_error_handler.h friend class base::RefCountedThreadSafe<SSLErrorHandler>; base 110 content/browser/ssl/ssl_error_handler.h SSLErrorHandler(const base::WeakPtr<Delegate>& delegate, base 133 content/browser/ssl/ssl_error_handler.h base::WeakPtr<Delegate> delegate_; base 32 content/browser/ssl/ssl_host_state.h : NON_EXPORTED_BASE(base::SupportsUserData::Data), base 33 content/browser/ssl/ssl_host_state.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 34 content/browser/ssl/ssl_manager.cc class SSLManagerSet : public base::SupportsUserData::Data { base 51 content/browser/ssl/ssl_manager.cc const base::WeakPtr<SSLErrorHandler::Delegate>& delegate, base 71 content/browser/ssl/ssl_manager.cc base::Bind(&SSLCertErrorHandler::Dispatch, base 52 content/browser/ssl/ssl_manager.h const base::WeakPtr<SSLErrorHandler::Delegate>& delegate, base 198 content/browser/ssl/ssl_policy.cc base::Bind(&SSLPolicy::OnAllowCertificate, base::Unretained(this), base 20 content/browser/ssl/ssl_request_info.h class SSLRequestInfo : public base::RefCounted<SSLRequestInfo> { base 35 content/browser/ssl/ssl_request_info.h friend class base::RefCounted<SSLRequestInfo>; base 14 content/browser/startup_task_runner.cc base::Callback<void(int)> const startup_complete_callback, base 15 content/browser/startup_task_runner.cc scoped_refptr<base::SingleThreadTaskRunner> proxy) base 34 content/browser/startup_task_runner.cc const base::Closure next_task = base 35 content/browser/startup_task_runner.cc base::Bind(&StartupTaskRunner::WrappedTask, base::Unretained(this)); base 76 content/browser/startup_task_runner.cc const base::Closure next_task = base 77 content/browser/startup_task_runner.cc base::Bind(&StartupTaskRunner::WrappedTask, base::Unretained(this)); base 22 content/browser/startup_task_runner.h typedef base::Callback<int(void)> StartupTask; base 39 content/browser/startup_task_runner.h StartupTaskRunner(base::Callback<void(int)> startup_complete_callback, base 40 content/browser/startup_task_runner.h scoped_refptr<base::SingleThreadTaskRunner> proxy); base 54 content/browser/startup_task_runner.h friend class base::RefCounted<StartupTaskRunner>; base 59 content/browser/startup_task_runner.h base::Callback<void(int)> startup_complete_callback_; base 60 content/browser/startup_task_runner.h scoped_refptr<base::SingleThreadTaskRunner> proxy_; base 20 content/browser/startup_task_runner_unittest.cc using base::Closure; base 29 content/browser/startup_task_runner_unittest.cc base::Closure task; base 90 content/browser/startup_task_runner_unittest.cc bool(const tracked_objects::Location&, const Closure&, base::TimeDelta)); base 93 content/browser/startup_task_runner_unittest.cc bool(const tracked_objects::Location&, const Closure&, base::TimeDelta)); base 96 content/browser/startup_task_runner_unittest.cc class TaskRunnerProxy : public base::SingleThreadTaskRunner { base 102 content/browser/startup_task_runner_unittest.cc base::TimeDelta delta) OVERRIDE { base 108 content/browser/startup_task_runner_unittest.cc base::TimeDelta delta) OVERRIDE { base 124 content/browser/startup_task_runner_unittest.cc StartupTaskRunner runner(base::Bind(&Observer), proxy); base 127 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::Task1, base::Unretained(this)); base 131 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::Task2, base::Unretained(this)); base 162 content/browser/startup_task_runner_unittest.cc StartupTaskRunner runner(base::Callback<void(int)>(), proxy); base 165 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::Task1, base::Unretained(this)); base 169 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::Task2, base::Unretained(this)); base 197 content/browser/startup_task_runner_unittest.cc StartupTaskRunner runner(base::Bind(&Observer), proxy); base 200 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::FailingTask, base::Unretained(this)); base 204 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::Task2, base::Unretained(this)); base 235 content/browser/startup_task_runner_unittest.cc PostNonNestableDelayedTask(_, _, base::TimeDelta::FromMilliseconds(0))) base 239 content/browser/startup_task_runner_unittest.cc StartupTaskRunner runner(base::Bind(&Observer), proxy); base 242 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::Task1, base::Unretained(this)); base 245 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::Task2, base::Unretained(this)); base 282 content/browser/startup_task_runner_unittest.cc PostNonNestableDelayedTask(_, _, base::TimeDelta::FromMilliseconds(0))) base 286 content/browser/startup_task_runner_unittest.cc StartupTaskRunner runner(base::Bind(&Observer), proxy); base 289 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::FailingTask, base::Unretained(this)); base 292 content/browser/startup_task_runner_unittest.cc base::Bind(&StartupTaskRunnerTest::Task2, base::Unretained(this)); base 31 content/browser/storage_partition_impl.cc void OnClearedCookies(const base::Closure& callback, int num_deleted) { base 36 content/browser/storage_partition_impl.cc base::Bind(&OnClearedCookies, callback, num_deleted)); base 45 content/browser/storage_partition_impl.cc const base::Time begin, base 46 content/browser/storage_partition_impl.cc const base::Time end, base 48 content/browser/storage_partition_impl.cc const base::Closure& callback) { base 56 content/browser/storage_partition_impl.cc base::Bind(&OnClearedCookies, callback)); base 61 content/browser/storage_partition_impl.cc storage_origin, base::Bind(&OnClearedCookies, callback)); base 66 content/browser/storage_partition_impl.cc const base::Closure& callback) { base 77 content/browser/storage_partition_impl.cc const base::Closure& callback, base 90 content/browser/storage_partition_impl.cc void ClearedShaderCache(const base::Closure& callback) { base 94 content/browser/storage_partition_impl.cc base::Bind(&ClearedShaderCache, callback)); base 100 content/browser/storage_partition_impl.cc void ClearShaderCacheOnIOThread(const base::FilePath& path, base 101 content/browser/storage_partition_impl.cc const base::Time begin, base 102 content/browser/storage_partition_impl.cc const base::Time end, base 103 content/browser/storage_partition_impl.cc const base::Closure& callback) { base 106 content/browser/storage_partition_impl.cc path, begin, end, base::Bind(&ClearedShaderCache, callback)); base 113 content/browser/storage_partition_impl.cc const base::Time delete_begin, base 114 content/browser/storage_partition_impl.cc const base::Time delete_end, base 115 content/browser/storage_partition_impl.cc const base::Closure& callback, base 137 content/browser/storage_partition_impl.cc const base::Closure& callback, base 157 content/browser/storage_partition_impl.cc const base::Time begin, base 158 content/browser/storage_partition_impl.cc const base::Time end, base 159 content/browser/storage_partition_impl.cc const base::Closure& callback) { base 174 content/browser/storage_partition_impl.cc base::Bind(&OnLocalStorageUsageInfo, base 183 content/browser/storage_partition_impl.cc const base::Closure& callback) { base 187 content/browser/storage_partition_impl.cc base::Bind(&OnSessionStorageUsageInfo, dom_storage_context, base 217 content/browser/storage_partition_impl.cc const base::Closure& callback) base 230 content/browser/storage_partition_impl.cc const base::Time begin, base 238 content/browser/storage_partition_impl.cc const base::Closure& callback, base 246 content/browser/storage_partition_impl.cc const base::Closure callback; base 263 content/browser/storage_partition_impl.cc const base::Closure& callback) base 275 content/browser/storage_partition_impl.cc const base::FilePath& path, base 281 content/browser/storage_partition_impl.cc const base::Time begin, base 282 content/browser/storage_partition_impl.cc const base::Time end); base 286 content/browser/storage_partition_impl.cc const base::Time begin, base 290 content/browser/storage_partition_impl.cc const base::Closure& callback); base 296 content/browser/storage_partition_impl.cc const base::Closure callback; base 303 content/browser/storage_partition_impl.cc const base::Time begin, base 307 content/browser/storage_partition_impl.cc const base::Closure& callback) { base 321 content/browser/storage_partition_impl.cc const base::FilePath& partition_path, base 348 content/browser/storage_partition_impl.cc base::Bind(&webkit_database::DatabaseTracker::Shutdown, base 367 content/browser/storage_partition_impl.cc const base::FilePath& partition_path) { base 400 content/browser/storage_partition_impl.cc base::FilePath path = in_memory ? base::FilePath() : partition_path; base 406 content/browser/storage_partition_impl.cc base::SequencedTaskRunner* idb_task_runner = base 443 content/browser/storage_partition_impl.cc base::FilePath StoragePartitionImpl::GetPath() { base 490 content/browser/storage_partition_impl.cc const base::Time begin, base 491 content/browser/storage_partition_impl.cc const base::Time end, base 492 content/browser/storage_partition_impl.cc const base::Closure& callback) { base 525 content/browser/storage_partition_impl.cc const base::Time begin, base 529 content/browser/storage_partition_impl.cc base::Closure decrement_callback = base::Bind( base 531 content/browser/storage_partition_impl.cc base::Unretained(this)); base 540 content/browser/storage_partition_impl.cc base::Bind(&QuotaManagedDataDeletionHelper::ClearOriginsOnIOThread, base 541 content/browser/storage_partition_impl.cc base::Unretained(this), base 553 content/browser/storage_partition_impl.cc base::Bind(&QuotaManagedDataDeletionHelper::ClearOriginsOnIOThread, base 554 content/browser/storage_partition_impl.cc base::Unretained(this), base 566 content/browser/storage_partition_impl.cc base::Bind(&QuotaManagedDataDeletionHelper::ClearOriginsOnIOThread, base 567 content/browser/storage_partition_impl.cc base::Unretained(this), base 583 content/browser/storage_partition_impl.cc const base::Closure& callback, base 612 content/browser/storage_partition_impl.cc base::Bind(&OnQuotaManagedOriginDeleted, base 630 content/browser/storage_partition_impl.cc base::Bind(&DataDeletionHelper::DecrementTaskCountOnUI, base 631 content/browser/storage_partition_impl.cc base::Unretained(this))); base 645 content/browser/storage_partition_impl.cc const base::FilePath& path, base 651 content/browser/storage_partition_impl.cc const base::Time begin, base 652 content/browser/storage_partition_impl.cc const base::Time end) { base 657 content/browser/storage_partition_impl.cc base::Closure decrement_callback = base::Bind( base 658 content/browser/storage_partition_impl.cc &DataDeletionHelper::DecrementTaskCountOnUI, base::Unretained(this)); base 665 content/browser/storage_partition_impl.cc base::Bind(&ClearCookiesOnIOThread, base 677 content/browser/storage_partition_impl.cc base::Bind(&DataDeletionHelper::ClearQuotaManagedDataOnIOThread, base 678 content/browser/storage_partition_impl.cc base::Unretained(this), base 713 content/browser/storage_partition_impl.cc base::Bind(&ClearShaderCacheOnIOThread, base 722 content/browser/storage_partition_impl.cc base::Bind(&WebRTCIdentityStore::DeleteBetween, base 741 content/browser/storage_partition_impl.cc base::Time(), base::Time::Max(), base::Bind(&base::DoNothing)); base 749 content/browser/storage_partition_impl.cc const base::Time begin, base 750 content/browser/storage_partition_impl.cc const base::Time end, base 751 content/browser/storage_partition_impl.cc const base::Closure& callback) { base 36 content/browser/storage_partition_impl.h virtual base::FilePath GetPath() OVERRIDE; base 56 content/browser/storage_partition_impl.h const base::Time begin, base 57 content/browser/storage_partition_impl.h const base::Time end, base 58 content/browser/storage_partition_impl.h const base::Closure& callback) OVERRIDE; base 107 content/browser/storage_partition_impl.h const base::FilePath& profile_path); base 110 content/browser/storage_partition_impl.h const base::FilePath& partition_path, base 126 content/browser/storage_partition_impl.h const base::Time begin, base 127 content/browser/storage_partition_impl.h const base::Time end, base 128 content/browser/storage_partition_impl.h const base::Closure& callback); base 147 content/browser/storage_partition_impl.h base::FilePath partition_path_; base 111 content/browser/storage_partition_impl_map.cc const base::FilePath::CharType kStoragePartitionDirname[] = base 113 content/browser/storage_partition_impl_map.cc const base::FilePath::CharType kExtensionsDirname[] = base 115 content/browser/storage_partition_impl_map.cc const base::FilePath::CharType kDefaultPartitionDirname[] = base 117 content/browser/storage_partition_impl_map.cc const base::FilePath::CharType kTrashDirname[] = base 152 content/browser/storage_partition_impl_map.cc const int kAllFileTypes = base::FileEnumerator::FILES | base 153 content/browser/storage_partition_impl_map.cc base::FileEnumerator::DIRECTORIES | base 154 content/browser/storage_partition_impl_map.cc base::FileEnumerator::SHOW_SYM_LINKS; base 156 content/browser/storage_partition_impl_map.cc const int kAllFileTypes = base::FileEnumerator::FILES | base 157 content/browser/storage_partition_impl_map.cc base::FileEnumerator::DIRECTORIES; base 160 content/browser/storage_partition_impl_map.cc base::FilePath GetStoragePartitionDomainPath( base 164 content/browser/storage_partition_impl_map.cc return base::FilePath(kStoragePartitionDirname).Append(kExtensionsDirname) base 165 content/browser/storage_partition_impl_map.cc .Append(base::FilePath::FromUTF8Unsafe(partition_domain)); base 173 content/browser/storage_partition_impl_map.cc void ObliterateOneDirectory(const base::FilePath& current_dir, base 174 content/browser/storage_partition_impl_map.cc const std::vector<base::FilePath>& paths_to_keep, base 175 content/browser/storage_partition_impl_map.cc std::vector<base::FilePath>* paths_to_consider) { base 178 content/browser/storage_partition_impl_map.cc base::FileEnumerator enumerator(current_dir, false, kAllFileTypes); base 179 content/browser/storage_partition_impl_map.cc for (base::FilePath to_delete = enumerator.Next(); !to_delete.empty(); base 184 content/browser/storage_partition_impl_map.cc for (std::vector<base::FilePath>::const_iterator to_keep = base 201 content/browser/storage_partition_impl_map.cc base::DeleteFile(to_delete, true); base 219 content/browser/storage_partition_impl_map.cc const base::FilePath& unnormalized_browser_context_root, base 220 content/browser/storage_partition_impl_map.cc const base::FilePath& unnormalized_root, base 221 content/browser/storage_partition_impl_map.cc const std::vector<base::FilePath>& paths_to_keep, base 222 content/browser/storage_partition_impl_map.cc const scoped_refptr<base::TaskRunner>& closure_runner, base 223 content/browser/storage_partition_impl_map.cc const base::Closure& on_gc_required) { base 227 content/browser/storage_partition_impl_map.cc if (!base::PathExists(unnormalized_root)) { base 233 content/browser/storage_partition_impl_map.cc base::FilePath root = base::MakeAbsoluteFilePath(unnormalized_root); base 234 content/browser/storage_partition_impl_map.cc base::FilePath browser_context_root = base 235 content/browser/storage_partition_impl_map.cc base::MakeAbsoluteFilePath(unnormalized_browser_context_root); base 241 content/browser/storage_partition_impl_map.cc std::vector<base::FilePath> valid_paths_to_keep; base 242 content/browser/storage_partition_impl_map.cc for (std::vector<base::FilePath>::const_iterator it = paths_to_keep.begin(); base 245 content/browser/storage_partition_impl_map.cc if (root.IsParent(*it) && base::PathExists(*it)) base 253 content/browser/storage_partition_impl_map.cc base::DeleteFile(root, true); base 260 content/browser/storage_partition_impl_map.cc std::vector<base::FilePath> paths_to_consider; base 263 content/browser/storage_partition_impl_map.cc base::FilePath path = paths_to_consider.back(); base 287 content/browser/storage_partition_impl_map.cc const base::FilePath& storage_root, base 288 content/browser/storage_partition_impl_map.cc const scoped_refptr<base::TaskRunner>& file_access_runner, base 289 content/browser/storage_partition_impl_map.cc scoped_ptr<base::hash_set<base::FilePath> > active_paths) { base 292 content/browser/storage_partition_impl_map.cc base::FileEnumerator enumerator(storage_root, false, kAllFileTypes); base 293 content/browser/storage_partition_impl_map.cc base::FilePath trash_directory; base 294 content/browser/storage_partition_impl_map.cc if (!base::CreateTemporaryDirInDir(storage_root, kTrashDirname, base 299 content/browser/storage_partition_impl_map.cc for (base::FilePath path = enumerator.Next(); !path.empty(); base 305 content/browser/storage_partition_impl_map.cc base::Move(path, trash_directory.Append(path.BaseName())); base 311 content/browser/storage_partition_impl_map.cc base::Bind(base::IgnoreResult(&base::DeleteFile), trash_directory, true)); base 317 content/browser/storage_partition_impl_map.cc base::FilePath StoragePartitionImplMap::GetStoragePartitionPath( base 321 content/browser/storage_partition_impl_map.cc return base::FilePath(); base 323 content/browser/storage_partition_impl_map.cc base::FilePath path = GetStoragePartitionDomainPath(partition_domain); base 335 content/browser/storage_partition_impl_map.cc return path.AppendASCII(base::HexEncode(buffer, sizeof(buffer))); base 346 content/browser/storage_partition_impl_map.cc base::SequencedWorkerPool* blocking_pool = BrowserThread::GetBlockingPool(); base 368 content/browser/storage_partition_impl_map.cc base::FilePath partition_path = base 449 content/browser/storage_partition_impl_map.cc const base::Closure& on_gc_required) { base 467 content/browser/storage_partition_impl_map.cc std::vector<base::FilePath> paths_to_keep; base 480 content/browser/storage_partition_impl_map.cc base::Time(), base::Time::Max(), base 481 content/browser/storage_partition_impl_map.cc base::Bind(&base::DoNothing)); base 492 content/browser/storage_partition_impl_map.cc base::FilePath domain_root = browser_context_->GetPath().Append( base 497 content/browser/storage_partition_impl_map.cc base::Bind(&BlockingObliteratePath, browser_context_->GetPath(), base 499 content/browser/storage_partition_impl_map.cc base::MessageLoopProxy::current(), on_gc_required)); base 503 content/browser/storage_partition_impl_map.cc scoped_ptr<base::hash_set<base::FilePath> > active_paths, base 504 content/browser/storage_partition_impl_map.cc const base::Closure& done) { base 517 content/browser/storage_partition_impl_map.cc base::FilePath storage_root = browser_context_->GetPath().Append( base 521 content/browser/storage_partition_impl_map.cc base::Bind(&BlockingGarbageCollect, storage_root, base 523 content/browser/storage_partition_impl_map.cc base::Passed(&active_paths)), base 553 content/browser/storage_partition_impl_map.cc base::Bind(&ChromeAppCacheService::InitializeOnIOThread, base 555 content/browser/storage_partition_impl_map.cc in_memory ? base::FilePath() : base 18 content/browser/storage_partition_impl_map.h namespace base { base 28 content/browser/storage_partition_impl_map.h class StoragePartitionImplMap : public base::SupportsUserData::Data { base 45 content/browser/storage_partition_impl_map.h void AsyncObliterate(const GURL& site, const base::Closure& on_gc_required); base 53 content/browser/storage_partition_impl_map.h void GarbageCollect(scoped_ptr<base::hash_set<base::FilePath> > active_paths, base 54 content/browser/storage_partition_impl_map.h const base::Closure& done); base 108 content/browser/storage_partition_impl_map.h static base::FilePath GetStoragePartitionPath( base 122 content/browser/storage_partition_impl_map.h scoped_refptr<base::SequencedTaskRunner> file_access_runner_; base 43 content/browser/storage_partition_impl_unittest.cc const base::FilePath::CharType kDomStorageOrigin1[] = base 46 content/browser/storage_partition_impl_unittest.cc const base::FilePath::CharType kDomStorageOrigin2[] = base 49 content/browser/storage_partition_impl_unittest.cc const base::FilePath::CharType kDomStorageOrigin3[] = base 72 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->Run(); base 82 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->Quit(); base 112 content/browser/storage_partition_impl_unittest.cc base::Bind(&RemoveCookieTester::GetCookieCallback, base 113 content/browser/storage_partition_impl_unittest.cc base::Unretained(this))); base 121 content/browser/storage_partition_impl_unittest.cc base::Bind(&RemoveCookieTester::SetCookieCallback, base 122 content/browser/storage_partition_impl_unittest.cc base::Unretained(this))); base 177 content/browser/storage_partition_impl_unittest.cc base::FilePath storage_path = base 179 content/browser/storage_partition_impl_unittest.cc base::CreateDirectory(storage_path); base 182 content/browser/storage_partition_impl_unittest.cc base::WriteFile(storage_path.Append(kDomStorageOrigin1), NULL, 0); base 183 content/browser/storage_partition_impl_unittest.cc base::WriteFile(storage_path.Append(kDomStorageOrigin2), NULL, 0); base 184 content/browser/storage_partition_impl_unittest.cc base::WriteFile(storage_path.Append(kDomStorageOrigin3), NULL, 0); base 187 content/browser/storage_partition_impl_unittest.cc base::Time now = base::Time::Now(); base 188 content/browser/storage_partition_impl_unittest.cc base::TouchFile(storage_path.Append(kDomStorageOrigin1), now, now); base 190 content/browser/storage_partition_impl_unittest.cc base::Time one_day_ago = now - base::TimeDelta::FromDays(1); base 191 content/browser/storage_partition_impl_unittest.cc base::TouchFile(storage_path.Append(kDomStorageOrigin2), base 194 content/browser/storage_partition_impl_unittest.cc base::Time sixty_days_ago = now - base::TimeDelta::FromDays(60); base 195 content/browser/storage_partition_impl_unittest.cc base::TouchFile(storage_path.Append(kDomStorageOrigin3), base 202 content/browser/storage_partition_impl_unittest.cc base::Bind(&RemoveLocalStorageTester::OnGotLocalStorageUsage, base 203 content/browser/storage_partition_impl_unittest.cc base::Unretained(this))); base 248 content/browser/storage_partition_impl_unittest.cc base::RunLoop* loop_to_quit) { base 253 content/browser/storage_partition_impl_unittest.cc base::Time(), base::Time::Max(), loop_to_quit->QuitClosure()); base 260 content/browser/storage_partition_impl_unittest.cc const base::Time delete_begin, base 261 content/browser/storage_partition_impl_unittest.cc base::RunLoop* loop_to_quit) { base 265 content/browser/storage_partition_impl_unittest.cc base::Time::Max(), loop_to_quit->QuitClosure()); base 271 content/browser/storage_partition_impl_unittest.cc const base::Time delete_begin, base 272 content/browser/storage_partition_impl_unittest.cc base::RunLoop* loop_to_quit) { base 281 content/browser/storage_partition_impl_unittest.cc const base::Time delete_begin, base 282 content/browser/storage_partition_impl_unittest.cc base::RunLoop* loop_to_quit) { base 289 content/browser/storage_partition_impl_unittest.cc delete_begin, base::Time::Max(), loop_to_quit->QuitClosure()); base 293 content/browser/storage_partition_impl_unittest.cc const base::Time delete_begin, base 294 content/browser/storage_partition_impl_unittest.cc const base::Time delete_end, base 295 content/browser/storage_partition_impl_unittest.cc base::RunLoop* run_loop) { base 305 content/browser/storage_partition_impl_unittest.cc const base::Time delete_begin, base 306 content/browser/storage_partition_impl_unittest.cc const base::Time delete_end, base 308 content/browser/storage_partition_impl_unittest.cc base::RunLoop* run_loop) { base 316 content/browser/storage_partition_impl_unittest.cc base::RunLoop* run_loop) { base 317 content/browser/storage_partition_impl_unittest.cc base::Time time; base 408 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 409 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 410 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind( base 443 content/browser/storage_partition_impl_unittest.cc manager->AddOrigin(kOrigin2, kPersistent, kClientFile, base::Time()); base 445 content/browser/storage_partition_impl_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(1)); base 453 content/browser/storage_partition_impl_unittest.cc manager->AddOrigin(kOrigin1, kTemporary, kClientFile, base::Time::Now()); base 455 content/browser/storage_partition_impl_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(1)); base 472 content/browser/storage_partition_impl_unittest.cc manager->AddOrigin(kOriginDevTools, kTemporary, kClientFile, base::Time()); base 473 content/browser/storage_partition_impl_unittest.cc manager->AddOrigin(kOriginDevTools, kPersistent, kClientFile, base::Time()); base 484 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 485 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 486 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaData, partition, &run_loop)); base 511 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 512 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 513 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaData, partition, &run_loop)); base 538 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 539 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 540 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaData, partition, &run_loop)); base 563 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 564 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 565 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaData, partition, &run_loop)); base 590 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 591 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 592 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaDataForOrigin, base 593 content/browser/storage_partition_impl_unittest.cc partition, kOrigin1, base::Time(), base 619 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 620 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 621 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaDataForOrigin, base 623 content/browser/storage_partition_impl_unittest.cc base::Time::Now() - base::TimeDelta::FromHours(1), base 644 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 649 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 650 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaDataForNonPersistent, base 652 content/browser/storage_partition_impl_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(7), base 684 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 685 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 686 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaDataWithOriginMatcher, base 688 content/browser/storage_partition_impl_unittest.cc base::Bind(&DoesOriginMatchForUnprotectedWeb), base 689 content/browser/storage_partition_impl_unittest.cc base::Time(), &run_loop)); base 721 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 722 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 723 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaDataWithOriginMatcher, base 725 content/browser/storage_partition_impl_unittest.cc base::Bind(&DoesOriginMatchForUnprotectedWeb), base 726 content/browser/storage_partition_impl_unittest.cc base::Time(), &run_loop)); base 752 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 758 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 760 content/browser/storage_partition_impl_unittest.cc base::Bind(&ClearQuotaDataWithOriginMatcher, base 762 content/browser/storage_partition_impl_unittest.cc base::Bind(&DoesOriginMatchForBothProtectedAndUnprotectedWeb), base 763 content/browser/storage_partition_impl_unittest.cc base::Time(), &run_loop)); base 783 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 788 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 789 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearQuotaDataWithOriginMatcher, base 791 content/browser/storage_partition_impl_unittest.cc base::Bind(&DoesOriginMatchUnprotected), base 792 content/browser/storage_partition_impl_unittest.cc base::Time(), &run_loop)); base 812 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 813 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 814 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearCookies, base 815 content/browser/storage_partition_impl_unittest.cc partition, base::Time(), base::Time::Max(), base 830 content/browser/storage_partition_impl_unittest.cc base::Time an_hour_ago = base::Time::Now() - base::TimeDelta::FromHours(1); base 833 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 834 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 835 content/browser/storage_partition_impl_unittest.cc FROM_HERE, base::Bind(&ClearCookies, base 836 content/browser/storage_partition_impl_unittest.cc partition, an_hour_ago, base::Time::Max(), base 860 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 861 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 863 content/browser/storage_partition_impl_unittest.cc base::Bind(&ClearStuff, base 865 content/browser/storage_partition_impl_unittest.cc partition, base::Time(), base::Time::Max(), base 866 content/browser/storage_partition_impl_unittest.cc base::Bind(&DoesOriginMatchForUnprotectedWeb), base 892 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 893 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 895 content/browser/storage_partition_impl_unittest.cc base::Bind(&ClearStuff, base 897 content/browser/storage_partition_impl_unittest.cc partition, base::Time(), base::Time::Max(), base 898 content/browser/storage_partition_impl_unittest.cc base::Bind(&DoesOriginMatchForBothProtectedAndUnprotectedWeb), base 919 content/browser/storage_partition_impl_unittest.cc base::Time a_week_ago = base::Time::Now() - base::TimeDelta::FromDays(7); base 921 content/browser/storage_partition_impl_unittest.cc base::RunLoop run_loop; base 922 content/browser/storage_partition_impl_unittest.cc base::MessageLoop::current()->PostTask( base 924 content/browser/storage_partition_impl_unittest.cc base::Bind(&ClearStuff, base 926 content/browser/storage_partition_impl_unittest.cc partition, a_week_ago, base::Time::Max(), base 927 content/browser/storage_partition_impl_unittest.cc base::Bind(&DoesOriginMatchForBothProtectedAndUnprotectedWeb), base 38 content/browser/streams/stream.cc CreateByteStream(base::MessageLoopProxy::current(), base 39 content/browser/streams/stream.cc base::MessageLoopProxy::current(), base 45 content/browser/streams/stream.cc writer_->RegisterCallback(base::Bind(&Stream::OnSpaceAvailable, base 47 content/browser/streams/stream.cc reader_->RegisterCallback(base::Bind(&Stream::OnDataAvailable, base 119 content/browser/streams/stream.cc base::MessageLoopProxy::current()->PostTask( base 121 content/browser/streams/stream.cc base::Bind(&Stream::OnDataAvailable, weak_ptr_factory_.GetWeakPtr())); base 34 content/browser/streams/stream.h class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> { base 98 content/browser/streams/stream.h friend class base::RefCountedThreadSafe<Stream>; base 134 content/browser/streams/stream.h base::WeakPtrFactory<Stream> weak_ptr_factory_; base 12 content/browser/streams/stream_context.cc using base::UserDataAdapter; base 31 content/browser/streams/stream_context.cc base::Bind(&StreamContext::InitializeOnIOThread, stream)); base 26 content/browser/streams/stream_context.h : public base::RefCountedThreadSafe<StreamContext, base 41 content/browser/streams/stream_context.h friend class base::DeleteHelper<StreamContext>; base 42 content/browser/streams/stream_context.h friend class base::RefCountedThreadSafe<StreamContext, base 16 content/browser/streams/stream_handle_impl.cc const base::WeakPtr<Stream>& stream, base 25 content/browser/streams/stream_handle_impl.cc stream_message_loop_(base::MessageLoopProxy::current().get()) {} base 29 content/browser/streams/stream_handle_impl.cc base::Bind(&Stream::CloseHandle, stream_)); base 12 content/browser/streams/stream_handle_impl.h namespace base { base 22 content/browser/streams/stream_handle_impl.h StreamHandleImpl(const base::WeakPtr<Stream>& stream, base 35 content/browser/streams/stream_handle_impl.h base::WeakPtr<Stream> stream_; base 40 content/browser/streams/stream_handle_impl.h base::MessageLoopProxy* stream_message_loop_; base 21 content/browser/streams/stream_registry.h class CONTENT_EXPORT StreamRegistry : public base::NonThreadSafe { base 35 content/browser/streams/stream_unittest.cc base::MessageLoop message_loop_; base 162 content/browser/streams/stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 189 content/browser/streams/stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 275 content/browser/streams/stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 304 content/browser/streams/stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 83 content/browser/streams/stream_url_request_job.cc base::MessageLoop::current()->PostTask( base 85 content/browser/streams/stream_url_request_job.cc base::Bind(&StreamURLRequestJob::DidStart, weak_factory_.GetWeakPtr())); base 220 content/browser/streams/stream_url_request_job.cc status.append(base::IntToString(status_code)); base 50 content/browser/streams/stream_url_request_job.h base::WeakPtrFactory<StreamURLRequestJob> weak_factory_; base 85 content/browser/streams/stream_url_request_job_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 96 content/browser/streams/stream_url_request_job_unittest.cc base::MessageLoopForIO message_loop_; base 141 content/browser/streams/stream_url_request_job_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 22 content/browser/system_message_window_win.cc const base::SystemMonitor::DeviceType device_type; base 24 content/browser/system_message_window_win.cc { KSCATEGORY_AUDIO, base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE }, base 25 content/browser/system_message_window_win.cc { KSCATEGORY_VIDEO, base::SystemMonitor::DEVTYPE_VIDEO_CAPTURE }, base 83 content/browser/system_message_window_win.cc base::win::InitializeWindowClass( base 85 content/browser/system_message_window_win.cc &base::win::WrappedWindowProc<SystemMessageWindowWin::WndProcThunk>, base 106 content/browser/system_message_window_win.cc base::SystemMonitor* monitor = base::SystemMonitor::Get(); base 107 content/browser/system_message_window_win.cc base::SystemMonitor::DeviceType device_type = base 108 content/browser/system_message_window_win.cc base::SystemMonitor::DEVTYPE_UNKNOWN; base 136 content/browser/system_message_window_win.cc if (device_type == base::SystemMonitor::DEVTYPE_UNKNOWN) base 28 content/browser/system_message_window_win_unittest.cc base::MessageLoop message_loop_; base 29 content/browser/system_message_window_win_unittest.cc base::SystemMonitor system_monitor_; base 30 content/browser/system_message_window_win_unittest.cc base::MockDevicesChangedObserver observer_; base 27 content/browser/tcmalloc_internals_request_job.cc base::ProcessId pid, int process_type, base 30 content/browser/tcmalloc_internals_request_job.cc base::StringAppendF(&header, " PID %d", static_cast<int>(pid)); base 93 content/browser/tcmalloc_internals_request_job.cc base::allocator::GetStats(buffer, sizeof(buffer)); base 101 content/browser/tcmalloc_internals_request_job.cc BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( base 30 content/browser/tcmalloc_internals_request_job.h void OnStatsForChildProcess(base::ProcessId pid, base 24 content/browser/tracing/etw_system_event_consumer_win.cc return base::StringPrintf("%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X", base 49 content/browser/tracing/etw_system_event_consumer_win.cc base::Bind(&EtwSystemEventConsumer::TraceAndConsumeOnThread, base 50 content/browser/tracing/etw_system_event_consumer_win.cc base::Unretained(this))); base 63 content/browser/tracing/etw_system_event_consumer_win.cc base::Bind(&EtwSystemEventConsumer::OnStopSystemTracingDone, base 64 content/browser/tracing/etw_system_event_consumer_win.cc base::Unretained(this), base 67 content/browser/tracing/etw_system_event_consumer_win.cc base::Bind(&EtwSystemEventConsumer::FlushOnThread, base 68 content/browser/tracing/etw_system_event_consumer_win.cc base::Unretained(this), on_stop_system_tracing_done_callback)); base 73 content/browser/tracing/etw_system_event_consumer_win.cc const scoped_refptr<base::RefCountedString>& result) { base 97 content/browser/tracing/etw_system_event_consumer_win.cc HRESULT hr = base::win::EtwTraceController::Start( base 108 content/browser/tracing/etw_system_event_consumer_win.cc HRESULT hr = base::win::EtwTraceController::Stop( base 125 content/browser/tracing/etw_system_event_consumer_win.cc base::Time walltime = base::Time::NowFromSystemTime(); base 126 content/browser/tracing/etw_system_event_consumer_win.cc base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); base 134 content/browser/tracing/etw_system_event_consumer_win.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 135 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("guid", new base::StringValue("ClockSync")); base 136 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("walltime", new base::StringValue( base 137 content/browser/tracing/etw_system_event_consumer_win.cc base::StringPrintf("%08X%08X", base 140 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("tick", new base::StringValue( base 141 content/browser/tracing/etw_system_event_consumer_win.cc base::StringPrintf("%08X%08X", base 150 content/browser/tracing/etw_system_event_consumer_win.cc using base::FundamentalValue; base 152 content/browser/tracing/etw_system_event_consumer_win.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 157 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("ts", new base::StringValue( base 158 content/browser/tracing/etw_system_event_consumer_win.cc base::StringPrintf("%08X%08X", ts_us.HighPart, ts_us.LowPart))); base 160 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("guid", new base::StringValue(GuidToString(event->Header.Guid))); base 171 content/browser/tracing/etw_system_event_consumer_win.cc base::StringPiece buffer(static_cast<const char*>(event->MofData), base 174 content/browser/tracing/etw_system_event_consumer_win.cc base::Base64Encode(buffer, &payload); base 175 content/browser/tracing/etw_system_event_consumer_win.cc value->Set("payload", new base::StringValue(payload)); base 183 content/browser/tracing/etw_system_event_consumer_win.cc events_.reset(new base::ListValue()); base 197 content/browser/tracing/etw_system_event_consumer_win.cc scoped_ptr<base::DictionaryValue> header(new base::DictionaryValue()); base 198 content/browser/tracing/etw_system_event_consumer_win.cc header->Set("name", base::Value::CreateStringValue("ETW")); base 209 content/browser/tracing/etw_system_event_consumer_win.cc scoped_refptr<base::RefCountedString> result = base 210 content/browser/tracing/etw_system_event_consumer_win.cc base::RefCountedString::TakeString(&output); base 212 content/browser/tracing/etw_system_event_consumer_win.cc base::Bind(callback, result)); base 21 content/browser/tracing/etw_system_event_consumer_win.h public base::win::EtwTraceConsumerBase<EtwSystemEventConsumer> { base 23 content/browser/tracing/etw_system_event_consumer_win.h typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&)> base 46 content/browser/tracing/etw_system_event_consumer_win.h friend class base::win::EtwTraceConsumerBase<EtwSystemEventConsumer>; base 60 content/browser/tracing/etw_system_event_consumer_win.h const scoped_refptr<base::RefCountedString>& result); base 65 content/browser/tracing/etw_system_event_consumer_win.h scoped_ptr<base::ListValue> events_; base 66 content/browser/tracing/etw_system_event_consumer_win.h base::Thread thread_; base 68 content/browser/tracing/etw_system_event_consumer_win.h base::win::EtwTraceProperties properties_; base 62 content/browser/tracing/trace_message_filter.cc base::debug::TraceLog::Options options) { base 65 content/browser/tracing/trace_message_filter.cc base::TimeTicks::NowFromSystemTraceTime(), base 78 content/browser/tracing/trace_message_filter.cc base::debug::TraceLog::Options options) { base 81 content/browser/tracing/trace_message_filter.cc base::TimeTicks::NowFromSystemTraceTime(), base 144 content/browser/tracing/trace_message_filter.cc scoped_refptr<base::RefCountedString> data_ptr(new base::RefCountedString()); base 151 content/browser/tracing/trace_message_filter.cc scoped_refptr<base::RefCountedString> data_ptr(new base::RefCountedString()); base 29 content/browser/tracing/trace_message_filter.h base::debug::TraceLog::Options options); base 32 content/browser/tracing/trace_message_filter.h base::debug::TraceLog::Options options); base 37 content/browser/tracing/tracing_controller_browsertest.cc void GetCategoriesDoneCallbackTest(base::Closure quit_callback, base 44 content/browser/tracing/tracing_controller_browsertest.cc void EnableRecordingDoneCallbackTest(base::Closure quit_callback) { base 49 content/browser/tracing/tracing_controller_browsertest.cc void DisableRecordingDoneCallbackTest(base::Closure quit_callback, base 50 content/browser/tracing/tracing_controller_browsertest.cc const base::FilePath& file_path) { base 54 content/browser/tracing/tracing_controller_browsertest.cc base::GetFileSize(file_path, &file_size); base 60 content/browser/tracing/tracing_controller_browsertest.cc void EnableMonitoringDoneCallbackTest(base::Closure quit_callback) { base 65 content/browser/tracing/tracing_controller_browsertest.cc void DisableMonitoringDoneCallbackTest(base::Closure quit_callback) { base 71 content/browser/tracing/tracing_controller_browsertest.cc base::Closure quit_callback, const base::FilePath& file_path) { base 75 content/browser/tracing/tracing_controller_browsertest.cc base::GetFileSize(file_path, &file_size); base 105 content/browser/tracing/tracing_controller_browsertest.cc base::FilePath last_actual_recording_file_path() const { base 109 content/browser/tracing/tracing_controller_browsertest.cc base::FilePath last_actual_monitoring_file_path() const { base 113 content/browser/tracing/tracing_controller_browsertest.cc void TestEnableAndDisableRecording(const base::FilePath& result_file_path) { base 119 content/browser/tracing/tracing_controller_browsertest.cc base::RunLoop run_loop; base 121 content/browser/tracing/tracing_controller_browsertest.cc base::Bind(&TracingControllerTest::EnableRecordingDoneCallbackTest, base 122 content/browser/tracing/tracing_controller_browsertest.cc base::Unretained(this), base 132 content/browser/tracing/tracing_controller_browsertest.cc base::RunLoop run_loop; base 134 content/browser/tracing/tracing_controller_browsertest.cc base::Bind(&TracingControllerTest::DisableRecordingDoneCallbackTest, base 135 content/browser/tracing/tracing_controller_browsertest.cc base::Unretained(this), base 145 content/browser/tracing/tracing_controller_browsertest.cc const base::FilePath& result_file_path) { base 165 content/browser/tracing/tracing_controller_browsertest.cc base::RunLoop run_loop; base 167 content/browser/tracing/tracing_controller_browsertest.cc base::Bind(&TracingControllerTest::EnableMonitoringDoneCallbackTest, base 168 content/browser/tracing/tracing_controller_browsertest.cc base::Unretained(this), base 192 content/browser/tracing/tracing_controller_browsertest.cc base::RunLoop run_loop; base 194 content/browser/tracing/tracing_controller_browsertest.cc base::Bind(&TracingControllerTest:: base 196 content/browser/tracing/tracing_controller_browsertest.cc base::Unretained(this), base 205 content/browser/tracing/tracing_controller_browsertest.cc base::RunLoop run_loop; base 207 content/browser/tracing/tracing_controller_browsertest.cc base::Bind(&TracingControllerTest::DisableMonitoringDoneCallbackTest, base 208 content/browser/tracing/tracing_controller_browsertest.cc base::Unretained(this), base 238 content/browser/tracing/tracing_controller_browsertest.cc base::FilePath last_actual_recording_file_path_; base 239 content/browser/tracing/tracing_controller_browsertest.cc base::FilePath last_actual_monitoring_file_path_; base 247 content/browser/tracing/tracing_controller_browsertest.cc base::RunLoop run_loop; base 249 content/browser/tracing/tracing_controller_browsertest.cc base::Bind(&TracingControllerTest::GetCategoriesDoneCallbackTest, base 250 content/browser/tracing/tracing_controller_browsertest.cc base::Unretained(this), base 258 content/browser/tracing/tracing_controller_browsertest.cc TestEnableAndDisableRecording(base::FilePath()); base 263 content/browser/tracing/tracing_controller_browsertest.cc base::FilePath file_path; base 264 content/browser/tracing/tracing_controller_browsertest.cc base::CreateTemporaryFile(&file_path); base 278 content/browser/tracing/tracing_controller_browsertest.cc base::FilePath(), TracingController::TracingFileResultCallback())); base 279 content/browser/tracing/tracing_controller_browsertest.cc base::RunLoop().RunUntilIdle(); base 284 content/browser/tracing/tracing_controller_browsertest.cc TestEnableCaptureAndDisableMonitoring(base::FilePath()); base 289 content/browser/tracing/tracing_controller_browsertest.cc base::FilePath file_path; base 290 content/browser/tracing/tracing_controller_browsertest.cc base::CreateTemporaryFile(&file_path); base 305 content/browser/tracing/tracing_controller_browsertest.cc base::FilePath(), TracingController::TracingFileResultCallback()); base 306 content/browser/tracing/tracing_controller_browsertest.cc base::RunLoop().RunUntilIdle(); base 309 content/browser/tracing/tracing_controller_browsertest.cc base::RunLoop().RunUntilIdle(); base 26 content/browser/tracing/tracing_controller_impl.cc using base::debug::TraceLog; base 32 content/browser/tracing/tracing_controller_impl.cc base::LazyInstance<TracingControllerImpl>::Leaky g_controller = base 43 content/browser/tracing/tracing_controller_impl.cc explicit ResultFile(const base::FilePath& path); base 44 content/browser/tracing/tracing_controller_impl.cc void Write(const scoped_refptr<base::RefCountedString>& events_str_ptr) { base 46 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::ResultFile::WriteTask, base 47 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), events_str_ptr)); base 49 content/browser/tracing/tracing_controller_impl.cc void Close(const base::Closure& callback) { base 51 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::ResultFile::CloseTask, base 52 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), callback)); base 55 content/browser/tracing/tracing_controller_impl.cc const scoped_refptr<base::RefCountedString>& events_str_ptr) { base 59 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::ResultFile::WriteSystemTraceTask, base 60 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), events_str_ptr)); base 63 content/browser/tracing/tracing_controller_impl.cc const base::FilePath& path() const { return path_; } base 67 content/browser/tracing/tracing_controller_impl.cc void WriteTask(const scoped_refptr<base::RefCountedString>& events_str_ptr); base 69 content/browser/tracing/tracing_controller_impl.cc const scoped_refptr<base::RefCountedString>& events_str_ptr); base 70 content/browser/tracing/tracing_controller_impl.cc void CloseTask(const base::Closure& callback); base 73 content/browser/tracing/tracing_controller_impl.cc base::FilePath path_; base 75 content/browser/tracing/tracing_controller_impl.cc scoped_refptr<base::RefCountedString> system_trace_; base 80 content/browser/tracing/tracing_controller_impl.cc TracingControllerImpl::ResultFile::ResultFile(const base::FilePath& path) base 85 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::ResultFile::OpenTask, base 86 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 91 content/browser/tracing/tracing_controller_impl.cc base::CreateTemporaryFile(&path_); base 92 content/browser/tracing/tracing_controller_impl.cc file_ = base::OpenFile(path_, "w"); base 103 content/browser/tracing/tracing_controller_impl.cc const scoped_refptr<base::RefCountedString>& events_str_ptr) { base 121 content/browser/tracing/tracing_controller_impl.cc const scoped_refptr<base::RefCountedString>& events_str_ptr) { base 126 content/browser/tracing/tracing_controller_impl.cc const base::Closure& callback) { base 140 content/browser/tracing/tracing_controller_impl.cc std::string json_string = base::GetQuotedJSONString(system_trace_->data()); base 156 content/browser/tracing/tracing_controller_impl.cc base::CloseFile(file_); base 200 content/browser/tracing/tracing_controller_impl.cc bool ok = DisableRecording(base::FilePath(), TracingFileResultCallback()); base 209 content/browser/tracing/tracing_controller_impl.cc const base::Closure& callback) { base 213 content/browser/tracing/tracing_controller_impl.cc base::debug::CategoryFilter(category_filter), base 220 content/browser/tracing/tracing_controller_impl.cc const base::Closure& callback) { base 263 content/browser/tracing/tracing_controller_impl.cc base::Closure on_enable_recording_done_callback = base 264 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnEnableRecordingDone, base 265 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 268 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::SetEnabledOnFileThread, base 269 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 271 content/browser/tracing/tracing_controller_impl.cc base::debug::TraceLog::RECORDING_MODE, base 295 content/browser/tracing/tracing_controller_impl.cc const base::FilePath& result_file_path, base 305 content/browser/tracing/tracing_controller_impl.cc base::Closure on_disable_recording_done_callback = base 306 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnDisableRecordingDone, base 307 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 310 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::SetDisabledOnFileThread, base 311 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 317 content/browser/tracing/tracing_controller_impl.cc const base::FilePath& result_file_path, base 342 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnLocalTraceDataCollected, base 343 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 372 content/browser/tracing/tracing_controller_impl.cc base::Closure on_enable_monitoring_done_callback = base 373 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnEnableMonitoringDone, base 374 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 377 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::SetEnabledOnFileThread, base 378 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 380 content/browser/tracing/tracing_controller_impl.cc base::debug::TraceLog::MONITORING_MODE, base 411 content/browser/tracing/tracing_controller_impl.cc base::Closure on_disable_monitoring_done_callback = base 412 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnDisableMonitoringDone, base 413 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), callback); base 415 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::SetDisabledOnFileThread, base 416 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 448 content/browser/tracing/tracing_controller_impl.cc const base::FilePath& result_file_path, base 473 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnLocalMonitoringTraceDataCollected, base 474 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 509 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnTraceBufferPercentFullReply, base 510 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 537 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnWatchEventMatched, base 538 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 566 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::AddTraceMessageFilter, base 567 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 593 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::RemoveTraceMessageFilter, base 594 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 607 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnDisableRecordingAcked, base 608 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 618 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnCaptureMonitoringSnapshotAcked, base 619 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 628 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnTraceBufferPercentFullReply, base 629 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 643 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnDisableRecordingAcked, base 644 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 668 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnLocalTraceDataCollected, base 669 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 697 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnEndSystemTracingAcked, base 698 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 709 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnEndSystemTracingAcked, base 710 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 721 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnResultFileClosed, base 722 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 741 content/browser/tracing/tracing_controller_impl.cc const scoped_refptr<base::RefCountedString>& events_str_ptr) { base 756 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnCaptureMonitoringSnapshotAcked, base 757 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 776 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnLocalMonitoringTraceDataCollected, base 777 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 786 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnMonitoringSnapshotFileClosed, base 787 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 806 content/browser/tracing/tracing_controller_impl.cc const scoped_refptr<base::RefCountedString>& events_str_ptr) { base 811 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnTraceDataCollected, base 812 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), events_str_ptr)); base 821 content/browser/tracing/tracing_controller_impl.cc const scoped_refptr<base::RefCountedString>& events_str_ptr) { base 824 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnMonitoringTraceDataCollected, base 825 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), events_str_ptr)); base 834 content/browser/tracing/tracing_controller_impl.cc const scoped_refptr<base::RefCountedString>& events_str_ptr, base 849 content/browser/tracing/tracing_controller_impl.cc const scoped_refptr<base::RefCountedString>& events_str_ptr, base 866 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnTraceBufferPercentFullReply, base 867 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this), base 896 content/browser/tracing/tracing_controller_impl.cc base::Bind(&TracingControllerImpl::OnWatchEventMatched, base 897 content/browser/tracing/tracing_controller_impl.cc base::Unretained(this))); base 16 content/browser/tracing/tracing_controller_impl.h namespace base { base 37 content/browser/tracing/tracing_controller_impl.h const base::FilePath& result_file_path, base 49 content/browser/tracing/tracing_controller_impl.h const base::FilePath& result_file_path, base 65 content/browser/tracing/tracing_controller_impl.h friend struct base::DefaultLazyInstanceTraits<TracingControllerImpl>; base 100 content/browser/tracing/tracing_controller_impl.h const scoped_refptr<base::RefCountedString>& events_str_ptr); base 102 content/browser/tracing/tracing_controller_impl.h const scoped_refptr<base::RefCountedString>& events_str_ptr); base 106 content/browser/tracing/tracing_controller_impl.h const scoped_refptr<base::RefCountedString>& events_str_ptr, base 110 content/browser/tracing/tracing_controller_impl.h const scoped_refptr<base::RefCountedString>& events_str_ptr, base 121 content/browser/tracing/tracing_controller_impl.h const scoped_refptr<base::RefCountedString>& events_str_ptr); base 137 content/browser/tracing/tracing_controller_impl.h const base::Closure& callback); base 138 content/browser/tracing/tracing_controller_impl.h void SetDisabledOnFileThread(const base::Closure& callback); base 142 content/browser/tracing/tracing_controller_impl.h void OnDisableRecordingDone(const base::FilePath& result_file_path, base 34 content/browser/tracing/tracing_ui.cc scoped_ptr<base::ListValue> category_list(new base::ListValue()); base 40 content/browser/tracing/tracing_ui.cc base::RefCountedString* res = new base::RefCountedString(); base 41 content/browser/tracing/tracing_ui.cc base::JSONWriter::Write(category_list.get(), &res->data()); base 49 content/browser/tracing/tracing_ui.cc if (!base::Base64Decode(data64, &data)) { base 54 content/browser/tracing/tracing_ui.cc scoped_ptr<base::Value> optionsRaw(base::JSONReader::Read(data)); base 59 content/browser/tracing/tracing_ui.cc base::DictionaryValue* options; base 102 content/browser/tracing/tracing_ui.cc base::Bind(&OnRecordingEnabledAck, callback)); base 106 content/browser/tracing/tracing_ui.cc base::RefCountedString* res = new base::RefCountedString(); base 112 content/browser/tracing/tracing_ui.cc std::string str = base::DoubleToString(result); base 113 content/browser/tracing/tracing_ui.cc callback.Run(base::RefCountedString::TakeString(&str)); base 117 content/browser/tracing/tracing_ui.cc const base::FilePath& path) { base 119 content/browser/tracing/tracing_ui.cc if (!base::ReadFileToString(path, &tmp)) base 121 content/browser/tracing/tracing_ui.cc base::DeleteFile(path, false); base 122 content/browser/tracing/tracing_ui.cc callback.Run(base::RefCountedString::TakeString(&tmp)); base 127 content/browser/tracing/tracing_ui.cc const base::FilePath& path) { base 130 content/browser/tracing/tracing_ui.cc base::Bind(ReadRecordingResult, callback, path)); base 145 content/browser/tracing/tracing_ui.cc base::Bind(OnMonitoringEnabledAck, callback)); base 149 content/browser/tracing/tracing_ui.cc base::RefCountedString* res = new base::RefCountedString(); base 154 content/browser/tracing/tracing_ui.cc base::RefCountedString* res = new base::RefCountedString(); base 165 content/browser/tracing/tracing_ui.cc scoped_ptr<base::DictionaryValue> base 166 content/browser/tracing/tracing_ui.cc monitoring_options(new base::DictionaryValue()); base 177 content/browser/tracing/tracing_ui.cc base::JSONWriter::Write(monitoring_options.get(), &monitoring_options_json); base 179 content/browser/tracing/tracing_ui.cc base::RefCountedString* monitoring_options_base64 = base 180 content/browser/tracing/tracing_ui.cc new base::RefCountedString(); base 181 content/browser/tracing/tracing_ui.cc base::Base64Encode(monitoring_options_json, base 187 content/browser/tracing/tracing_ui.cc const base::FilePath& path) { base 189 content/browser/tracing/tracing_ui.cc if (!base::ReadFileToString(path, &tmp)) base 191 content/browser/tracing/tracing_ui.cc base::DeleteFile(path, false); base 192 content/browser/tracing/tracing_ui.cc callback.Run(base::RefCountedString::TakeString(&tmp)); base 197 content/browser/tracing/tracing_ui.cc const base::FilePath& path) { base 200 content/browser/tracing/tracing_ui.cc base::Bind(ReadMonitoringSnapshot, callback, path)); base 207 content/browser/tracing/tracing_ui.cc base::Bind(OnGotCategories, callback)); base 217 content/browser/tracing/tracing_ui.cc base::Bind(OnTraceBufferPercentFullResult, callback)); base 221 content/browser/tracing/tracing_ui.cc base::FilePath(), base::Bind(BeginReadingRecordingResult, callback)); base 231 content/browser/tracing/tracing_ui.cc base::Bind(OnMonitoringDisabled, callback)); base 235 content/browser/tracing/tracing_ui.cc base::FilePath(), base::Bind(OnMonitoringSnapshotCaptured, callback)); base 252 content/browser/tracing/tracing_ui.cc callback.Run(base::RefCountedString::TakeString(&error)); base 277 content/browser/tracing/tracing_ui.cc source->SetRequestFilter(base::Bind(OnTracingRequest)); base 288 content/browser/tracing/tracing_ui.cc "onMonitoringStateChanged", base::FundamentalValue(is_monitoring)); base 35 content/browser/udev_linux.cc bool success = base::MessageLoopForIO::current()->WatchFileDescriptor( base 38 content/browser/udev_linux.cc base::MessageLoopForIO::WATCH_READ, base 54 content/browser/udev_linux.h class UdevLinux : public base::MessagePumpLibevent::Watcher { base 56 content/browser/udev_linux.h typedef base::Callback<void(udev_device*)> UdevNotificationCallback; base 89 content/browser/udev_linux.h base::MessagePumpLibevent::FileDescriptorWatcher monitor_watcher_; base 15 content/browser/user_metrics.cc void RecordAction(const base::UserMetricsAction& action) { base 20 content/browser/user_metrics.cc base::Bind(&RecordAction, action)); base 24 content/browser/user_metrics.cc base::RecordAction(action); base 32 content/browser/user_metrics.cc base::Bind(&RecordComputedAction, action)); base 36 content/browser/user_metrics.cc base::RecordComputedAction(action); base 36 content/browser/utility_process_host_impl.cc UtilitySandboxedProcessLauncherDelegate(const base::FilePath& exposed_dir, base 38 content/browser/utility_process_host_impl.cc base::EnvironmentMap& env, base 57 content/browser/utility_process_host_impl.cc base::FilePath* exposed_dir) OVERRIDE { base 65 content/browser/utility_process_host_impl.cc virtual base::EnvironmentMap GetEnvironment() OVERRIDE { base 75 content/browser/utility_process_host_impl.cc base::FilePath exposed_dir_; base 80 content/browser/utility_process_host_impl.cc base::EnvironmentMap env_; base 90 content/browser/utility_process_host_impl.cc base::SequencedTaskRunner* client_task_runner) { base 101 content/browser/utility_process_host_impl.cc base::SequencedTaskRunner* client_task_runner) base 142 content/browser/utility_process_host_impl.cc void UtilityProcessHostImpl::SetExposedDir(const base::FilePath& dir) { base 167 content/browser/utility_process_host_impl.cc void UtilityProcessHostImpl::SetEnv(const base::EnvironmentMap& env) { base 184 content/browser/utility_process_host_impl.cc process_->SetName(base::ASCIIToUTF16("utility process")); base 213 content/browser/utility_process_host_impl.cc base::FilePath exe_path = ChildProcessHost::GetChildPath(child_flags); base 272 content/browser/utility_process_host_impl.cc base::Bind(base::IgnoreResult( base 281 content/browser/utility_process_host_impl.cc base::Bind(&UtilityProcessHostClient::OnProcessLaunchFailed, base 288 content/browser/utility_process_host_impl.cc base::Bind(&UtilityProcessHostClient::OnProcessCrashed, client_.get(), base 20 content/browser/utility_process_host_impl.h namespace base { base 33 content/browser/utility_process_host_impl.h base::SequencedTaskRunner* client_task_runner); base 40 content/browser/utility_process_host_impl.h virtual void SetExposedDir(const base::FilePath& dir) OVERRIDE; base 48 content/browser/utility_process_host_impl.h virtual void SetEnv(const base::EnvironmentMap& env) OVERRIDE; base 65 content/browser/utility_process_host_impl.h scoped_refptr<base::SequencedTaskRunner> client_task_runner_; base 70 content/browser/utility_process_host_impl.h base::FilePath exposed_dir_; base 85 content/browser/utility_process_host_impl.h base::EnvironmentMap env_; base 92 content/browser/utility_process_host_impl.h scoped_ptr<base::Thread> in_process_thread_; base 52 content/browser/vibration/vibration_message_filter.cc base::checked_cast<int64>(blink::kVibrationDurationMax))); base 14 content/browser/vibration/vibration_provider_android.cc using base::android::AttachCurrentThread; base 34 content/browser/vibration/vibration_provider_android.cc base::android::GetApplicationContext())); base 25 content/browser/vibration/vibration_provider_android.h base::android::ScopedJavaGlobalRef<jobject> j_vibration_provider_; base 34 content/browser/web_contents/aura/gesture_nav_simple.cc return mode == (base::i18n::IsRTL() ? OVERSCROLL_EAST : OVERSCROLL_WEST) && base 40 content/browser/web_contents/aura/gesture_nav_simple.cc return mode == (base::i18n::IsRTL() ? OVERSCROLL_WEST : OVERSCROLL_EAST) && base 103 content/browser/web_contents/aura/gesture_nav_simple.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 104 content/browser/web_contents/aura/gesture_nav_simple.cc return base::Closure(); base 57 content/browser/web_contents/aura/overscroll_navigation_overlay.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 58 content/browser/web_contents/aura/overscroll_navigation_overlay.cc return base::Closure(); base 40 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc scoped_refptr<base::RefCountedBytes> png_bytes = base 41 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc base::RefCountedBytes::TakeVector(&png_data); base 57 content/browser/web_contents/aura/shadow_layer_delegate.cc base::Closure ShadowLayerDelegate::PrepareForLayerBoundsChange() { base 58 content/browser/web_contents/aura/shadow_layer_delegate.cc return base::Bind(&base::DoNothing); base 37 content/browser/web_contents/aura/shadow_layer_delegate.h virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE; base 26 content/browser/web_contents/aura/window_slider.cc CallbackAnimationObserver(const base::Closure& closure) base 37 content/browser/web_contents/aura/window_slider.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 40 content/browser/web_contents/aura/window_slider.cc const base::Closure closure_; base 178 content/browser/web_contents/aura/window_slider.cc base::Bind(&WindowSlider::SlideAnimationCompleted, base 180 content/browser/web_contents/aura/window_slider.cc base::Passed(&slider_), base 181 content/browser/web_contents/aura/window_slider.cc base::Passed(&shadow_)))); base 216 content/browser/web_contents/aura/window_slider.cc base::Bind(&WindowSlider::ResetSlideAnimationCompleted, base 218 content/browser/web_contents/aura/window_slider.cc base::Passed(&slider_), base 219 content/browser/web_contents/aura/window_slider.cc base::Passed(&shadow_)))); base 142 content/browser/web_contents/aura/window_slider.h base::WeakPtrFactory<WindowSlider> weak_factory_; base 225 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 227 content/browser/web_contents/aura/window_slider_unittest.cc base::Bind(&ConfirmSlideDuringScrollCallback, slider)); base 242 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 244 content/browser/web_contents/aura/window_slider_unittest.cc base::Bind(&ConfirmSlideDuringScrollCallback, slider)); base 258 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 260 content/browser/web_contents/aura/window_slider_unittest.cc base::Bind(&ConfirmNoSlideDuringScrollCallback, slider)); base 274 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 276 content/browser/web_contents/aura/window_slider_unittest.cc base::Bind(&ConfirmSlideDuringScrollCallback, slider)); base 317 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 319 content/browser/web_contents/aura/window_slider_unittest.cc base::Bind(&DispatchEventDuringScrollCallback, base 321 content/browser/web_contents/aura/window_slider_unittest.cc base::Owned(events[i]))); base 429 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta duration = settings.GetTransitionDuration(); base 461 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 463 content/browser/web_contents/aura/window_slider_unittest.cc base::Bind(&ChangeSliderOwnerDuringScrollCallback, base 464 content/browser/web_contents/aura/window_slider_unittest.cc base::Unretained(&window), base 495 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 497 content/browser/web_contents/aura/window_slider_unittest.cc base::Bind(&ConfirmNoSlideDuringScrollCallback, slider)); base 511 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 513 content/browser/web_contents/aura/window_slider_unittest.cc base::Bind(&ConfirmSlideDuringScrollCallback, slider)); base 541 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 571 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 609 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 618 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta duration = settings.GetTransitionDuration(); base 620 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeTicks start_time1 = gfx::FrameTime::Now(); base 630 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeDelta::FromMilliseconds(10), base 641 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeTicks start_time2 = gfx::FrameTime::Now(); base 315 content/browser/web_contents/touch_editable_impl_aura.cc base::string16 result; base 65 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc selection_changed_wait_run_loop_.reset(new base::RunLoop()); base 73 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc gesture_ack_wait_run_loop_.reset(new base::RunLoop()); base 85 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc scoped_ptr<base::RunLoop> selection_changed_wait_run_loop_; base 86 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc scoped_ptr<base::RunLoop> gesture_ack_wait_run_loop_; base 127 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc scoped_ptr<base::Value> value = base 168 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc scoped_ptr<base::Value> value = base 182 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc base::TimeDelta::FromMilliseconds(20), base 230 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc scoped_ptr<base::Value> value = base 272 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc scoped_ptr<base::Value> value = base 337 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc scoped_ptr<base::Value> value = base 347 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc base::TimeDelta::FromMilliseconds(20), base 13 content/browser/web_contents/web_contents_android.cc using base::android::AttachCurrentThread; base 53 content/browser/web_contents/web_contents_android.cc base::android::ScopedJavaLocalRef<jobject> base 55 content/browser/web_contents/web_contents_android.cc return base::android::ScopedJavaLocalRef<jobject>(obj_); base 25 content/browser/web_contents/web_contents_android.h : public base::SupportsUserData::Data { base 34 content/browser/web_contents/web_contents_android.h base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); base 39 content/browser/web_contents/web_contents_android.h base::android::ScopedJavaGlobalRef<jobject> obj_; base 171 content/browser/web_contents/web_contents_impl.cc base::LazyInstance<std::vector<WebContentsImpl::CreatedCallback> > base 204 content/browser/web_contents/web_contents_impl.cc const base::Callback<void(RenderFrameHost*)>& on_frame, base 211 content/browser/web_contents/web_contents_impl.cc const base::Callback<void(RenderFrameHost*)>& on_frame, base 318 content/browser/web_contents/web_contents_impl.cc crashed_status_(base::TERMINATION_STATUS_STILL_RUNNING), base 321 content/browser/web_contents/web_contents_impl.cc load_state_(net::LOAD_STATE_IDLE, base::string16()), base 331 content/browser/web_contents/web_contents_impl.cc last_active_time_(base::TimeTicks::Now()), base 345 content/browser/web_contents/web_contents_impl.cc base::Bind(&WebContentsImpl::OnFrameRemoved, base 346 content/browser/web_contents/web_contents_impl.cc base::Unretained(this))); base 355 content/browser/web_contents/web_contents_impl.cc base::Bind(&RenderFrameHostManager::ClearRFHsPendingShutdown)); base 380 content/browser/web_contents/web_contents_impl.cc base::Callback<void(RenderFrameHost*)> run_render_frame_deleted_callback = base 381 content/browser/web_contents/web_contents_impl.cc base::Bind(&RunRenderFrameDeleted, base::Unretained(&observers_)); base 382 content/browser/web_contents/web_contents_impl.cc frame_tree_.ForEach(base::Bind(&ForEachPendingFrameInternal, base 424 content/browser/web_contents/web_contents_impl.cc scoped_ptr<base::DictionaryValue> extra_params) { base 543 content/browser/web_contents/web_contents_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RVD")); base 622 content/browser/web_contents/web_contents_impl.cc const base::Callback<void(RenderFrameHost*)>& on_frame) { base 623 content/browser/web_contents/web_contents_impl.cc frame_tree_.ForEach(base::Bind(&ForEachFrameInternal, on_frame)); base 627 content/browser/web_contents/web_contents_impl.cc ForEachFrame(base::Bind(&SendToAllFramesInternal, message)); base 741 content/browser/web_contents/web_contents_impl.cc const base::string16& WebContentsImpl::GetTitle() const { base 758 content/browser/web_contents/web_contents_impl.cc const base::string16& title = our_web_ui->GetOverriddenTitle(); base 846 content/browser/web_contents/web_contents_impl.cc const base::string16& WebContentsImpl::GetLoadStateHost() const { base 860 content/browser/web_contents/web_contents_impl.cc frame_tree_.ForEach(base::Bind(&CollectSites, base 861 content/browser/web_contents/web_contents_impl.cc base::Unretained(GetBrowserContext()), base 862 content/browser/web_contents/web_contents_impl.cc base::Unretained(&sites))); base 914 content/browser/web_contents/web_contents_impl.cc return (crashed_status_ == base::TERMINATION_STATUS_PROCESS_CRASHED || base 915 content/browser/web_contents/web_contents_impl.cc crashed_status_ == base::TERMINATION_STATUS_ABNORMAL_TERMINATION || base 916 content/browser/web_contents/web_contents_impl.cc crashed_status_ == base::TERMINATION_STATUS_PROCESS_WAS_KILLED); base 919 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::SetIsCrashed(base::TerminationStatus status, base 929 content/browser/web_contents/web_contents_impl.cc base::TerminationStatus WebContentsImpl::GetCrashedStatus() const { base 942 content/browser/web_contents/web_contents_impl.cc base::TimeTicks WebContentsImpl::GetLastActiveTime() const { base 957 content/browser/web_contents/web_contents_impl.cc last_active_time_ = base::TimeTicks::Now(); base 1350 content/browser/web_contents/web_contents_impl.cc base::ProcessHandle process_handle = base 1352 content/browser/web_contents/web_contents_impl.cc if (process_handle != base::kNullProcessHandle) { base 1354 content/browser/web_contents/web_contents_impl.cc base::UserMetricsAction("Terminate_ProcessMismatch_CreateNewWindow")); base 1355 content/browser/web_contents/web_contents_impl.cc base::KillProcess(process_handle, content::RESULT_CODE_KILLED, false); base 1490 content/browser/web_contents/web_contents_impl.cc base::ProcessHandle process_handle = base 1492 content/browser/web_contents/web_contents_impl.cc if (process_handle != base::kNullProcessHandle) { base 1494 content/browser/web_contents/web_contents_impl.cc base::UserMetricsAction("Terminate_ProcessMismatch_CreateNewWidget")); base 1495 content/browser/web_contents/web_contents_impl.cc base::KillProcess(process_handle, content::RESULT_CODE_KILLED, false); base 1518 content/browser/web_contents/web_contents_impl.cc base::mac::NSObjectRetain(widget_view->GetNativeView()); base 1581 content/browser/web_contents/web_contents_impl.cc base::mac::NSObjectRelease(widget_host_view->GetNativeView()); base 1659 content/browser/web_contents/web_contents_impl.cc const base::string16& main_text, base 1660 content/browser/web_contents/web_contents_impl.cc const base::string16& sub_text) { base 1786 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::Replace(const base::string16& word) { base 1794 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::ReplaceMisspelling(const base::string16& word) { base 1849 content/browser/web_contents/web_contents_impl.cc bool WebContentsImpl::SavePage(const base::FilePath& main_file, base 1850 content/browser/web_contents/web_contents_impl.cc const base::FilePath& dir_path, base 1887 content/browser/web_contents/web_contents_impl.cc const base::FilePath& file, base 1888 content/browser/web_contents/web_contents_impl.cc const base::Callback<void(int64)>& callback) { base 2096 content/browser/web_contents/web_contents_impl.cc const base::string16& search_text, base 2168 content/browser/web_contents/web_contents_impl.cc const base::string16& error_description) { base 2233 content/browser/web_contents/web_contents_impl.cc const base::string16& frame_unique_name, base 2327 content/browser/web_contents/web_contents_impl.cc base::StatsCounter cache("WebKit.CacheHit"); base 2359 content/browser/web_contents/web_contents_impl.cc base::Bind(&NotifyCacheOnIO, request_context, url, http_method)); base 2364 content/browser/web_contents/web_contents_impl.cc RecordAction(base::UserMetricsAction("SSL.DisplayedInsecureContent")); base 2374 content/browser/web_contents/web_contents_impl.cc RecordAction(base::UserMetricsAction("SSL.RanInsecureContent")); base 2376 content/browser/web_contents/web_contents_impl.cc RecordAction(base::UserMetricsAction("SSL.RanInsecureContentGoogle")); base 2399 content/browser/web_contents/web_contents_impl.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_RVD2")); base 2433 content/browser/web_contents/web_contents_impl.cc const base::FilePath& path) { base 2445 content/browser/web_contents/web_contents_impl.cc const base::string16& title, base 2498 content/browser/web_contents/web_contents_impl.cc const base::FilePath& path, base 2506 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::OnPluginCrashed(const base::FilePath& plugin_path, base 2507 content/browser/web_contents/web_contents_impl.cc base::ProcessId plugin_pid) { base 2559 content/browser/web_contents/web_contents_impl.cc const base::ListValue& args) { base 2567 content/browser/web_contents/web_contents_impl.cc const base::FilePath& plugin_path) { base 2575 content/browser/web_contents/web_contents_impl.cc base::Bind(&WebContentsImpl::OnPpapiBrokerPermissionResult, base 2576 content/browser/web_contents/web_contents_impl.cc base::Unretained(this), routing_id))) { base 2693 content/browser/web_contents/web_contents_impl.cc base::string16()); base 2745 content/browser/web_contents/web_contents_impl.cc const base::string16& title) { base 2749 content/browser/web_contents/web_contents_impl.cc base::string16 final_title; base 2752 content/browser/web_contents/web_contents_impl.cc final_title = base::UTF8ToUTF16(entry->GetURL().ExtractFileName()); base 2755 content/browser/web_contents/web_contents_impl.cc base::TrimWhitespace(title, base::TRIM_ALL, &final_title); base 2949 content/browser/web_contents/web_contents_impl.cc SetIsCrashed(base::TERMINATION_STATUS_STILL_RUNNING, 0); base 2962 content/browser/web_contents/web_contents_impl.cc base::TerminationStatus status, base 3028 content/browser/web_contents/web_contents_impl.cc const base::string16& title, base 3029 content/browser/web_contents/web_contents_impl.cc base::i18n::TextDirection title_direction) { base 3111 content/browser/web_contents/web_contents_impl.cc base::TimeDelta elapsed = base 3112 content/browser/web_contents/web_contents_impl.cc base::TimeTicks::Now() - navigator->GetCurrentLoadStart(); base 3256 content/browser/web_contents/web_contents_impl.cc const base::string16& message, base 3257 content/browser/web_contents/web_contents_impl.cc const base::string16& default_prompt, base 3283 content/browser/web_contents/web_contents_impl.cc base::Bind(&WebContentsImpl::OnDialogClosed, base 3284 content/browser/web_contents/web_contents_impl.cc base::Unretained(this), base 3295 content/browser/web_contents/web_contents_impl.cc OnDialogClosed(rvh, reply_msg, false, base::string16()); base 3303 content/browser/web_contents/web_contents_impl.cc const base::string16& message, base 3317 content/browser/web_contents/web_contents_impl.cc rvhi->JavaScriptDialogClosed(reply_msg, true, base::string16()); base 3325 content/browser/web_contents/web_contents_impl.cc base::Bind(&WebContentsImpl::OnDialogClosed, base::Unretained(this), rvh, base 3330 content/browser/web_contents/web_contents_impl.cc const base::string16& message, base 3332 content/browser/web_contents/web_contents_impl.cc const base::string16& source_id) { base 3439 content/browser/web_contents/web_contents_impl.cc bool proceed, const base::TimeTicks& proceed_time, base 3450 content/browser/web_contents/web_contents_impl.cc DCHECK(crashed_status_ != base::TERMINATION_STATUS_STILL_RUNNING); base 3564 content/browser/web_contents/web_contents_impl.cc render_view_host)->CreateRenderView(base::string16(), base 3583 content/browser/web_contents/web_contents_impl.cc base::android::ScopedJavaLocalRef<jobject> base 3606 content/browser/web_contents/web_contents_impl.cc const base::string16& user_input) { base 108 content/browser/web_contents/web_contents_impl.h scoped_ptr<base::DictionaryValue> extra_params); base 191 content/browser/web_contents/web_contents_impl.h const base::Callback<void(RenderFrameHost*)>& on_frame) OVERRIDE; base 210 content/browser/web_contents/web_contents_impl.h virtual const base::string16& GetTitle() const OVERRIDE; base 219 content/browser/web_contents/web_contents_impl.h virtual const base::string16& GetLoadStateHost() const OVERRIDE; base 229 content/browser/web_contents/web_contents_impl.h virtual void SetIsCrashed(base::TerminationStatus status, base 231 content/browser/web_contents/web_contents_impl.h virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; base 234 content/browser/web_contents/web_contents_impl.h virtual base::TimeTicks GetLastActiveTime() const OVERRIDE; base 241 content/browser/web_contents/web_contents_impl.h virtual void Replace(const base::string16& word) OVERRIDE; base 242 content/browser/web_contents/web_contents_impl.h virtual void ReplaceMisspelling(const base::string16& word) OVERRIDE; base 248 content/browser/web_contents/web_contents_impl.h virtual bool SavePage(const base::FilePath& main_file, base 249 content/browser/web_contents/web_contents_impl.h const base::FilePath& dir_path, base 254 content/browser/web_contents/web_contents_impl.h const base::FilePath& file, base 255 content/browser/web_contents/web_contents_impl.h const base::Callback<void(int64)>& callback) base 288 content/browser/web_contents/web_contents_impl.h const base::string16& search_text, base 293 content/browser/web_contents/web_contents_impl.h virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() base 329 content/browser/web_contents/web_contents_impl.h base::TerminationStatus status, base 337 content/browser/web_contents/web_contents_impl.h const base::string16& title, base 338 content/browser/web_contents/web_contents_impl.h base::i18n::TextDirection title_direction) OVERRIDE; base 358 content/browser/web_contents/web_contents_impl.h const base::string16& message, base 359 content/browser/web_contents/web_contents_impl.h const base::string16& default_prompt, base 365 content/browser/web_contents/web_contents_impl.h const base::string16& message, base 369 content/browser/web_contents/web_contents_impl.h const base::string16& message, base 371 content/browser/web_contents/web_contents_impl.h const base::string16& source_id) OVERRIDE; base 446 content/browser/web_contents/web_contents_impl.h const base::string16& error_description) OVERRIDE; base 452 content/browser/web_contents/web_contents_impl.h const base::string16& frame_unique_name, base 505 content/browser/web_contents/web_contents_impl.h bool proceed, const base::TimeTicks& proceed_time, base 599 content/browser/web_contents/web_contents_impl.h typedef base::Callback<void(WebContents*)> CreatedCallback; base 652 content/browser/web_contents/web_contents_impl.h const base::string16& user_input); base 677 content/browser/web_contents/web_contents_impl.h void OnEnumerateDirectory(int request_id, const base::FilePath& path); base 681 content/browser/web_contents/web_contents_impl.h const base::string16& title, base 698 content/browser/web_contents/web_contents_impl.h const base::FilePath& path, base 700 content/browser/web_contents/web_contents_impl.h void OnPluginCrashed(const base::FilePath& plugin_path, base 701 content/browser/web_contents/web_contents_impl.h base::ProcessId plugin_pid); base 712 content/browser/web_contents/web_contents_impl.h const base::ListValue& args); base 715 content/browser/web_contents/web_contents_impl.h const base::FilePath& plugin_path); base 730 content/browser/web_contents/web_contents_impl.h const base::string16& main_text, base 731 content/browser/web_contents/web_contents_impl.h const base::string16& sub_text); base 765 content/browser/web_contents/web_contents_impl.h const base::string16& title); base 910 content/browser/web_contents/web_contents_impl.h base::TerminationStatus crashed_status_; base 925 content/browser/web_contents/web_contents_impl.h base::string16 load_state_host_; base 934 content/browser/web_contents/web_contents_impl.h base::string16 page_title_when_no_navigation_entry_; base 979 content/browser/web_contents/web_contents_impl.h base::TimeTicks last_active_time_; base 278 content/browser/web_contents/web_contents_impl_browsertest.cc base::FilePath(FILE_PATH_LITERAL("content/test/data"))); base 426 content/browser/web_contents/web_contents_impl_browsertest.cc base::ASCIIToUTF16("pushState")); base 429 content/browser/web_contents/web_contents_impl_browsertest.cc base::string16 title = title_watcher.WaitAndGetTitle(); base 430 content/browser/web_contents/web_contents_impl_browsertest.cc ASSERT_EQ(title, base::ASCIIToUTF16("pushState")); base 162 content/browser/web_contents/web_contents_impl_unittest.cc void TestRenderViewTerminated(base::TerminationStatus status, base 285 content/browser/web_contents/web_contents_impl_unittest.cc const base::string16& error_description, base 334 content/browser/web_contents/web_contents_impl_unittest.cc base::ASCIIToUTF16(" Lots O' Whitespace\n"), base 335 content/browser/web_contents/web_contents_impl_unittest.cc base::i18n::LEFT_TO_RIGHT); base 336 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Lots O' Whitespace"), contents()->GetTitle()); base 343 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(base::string16(), contents()->GetTitle()); base 348 content/browser/web_contents/web_contents_impl_unittest.cc const base::string16 title = base::ASCIIToUTF16("My Title"); base 380 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(kUrl), contents()->GetTitle()); base 849 content/browser/web_contents/web_contents_impl_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 860 content/browser/web_contents/web_contents_impl_unittest.cc now = base::TimeTicks::Now(); base 901 content/browser/web_contents/web_contents_impl_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 947 content/browser/web_contents/web_contents_impl_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 997 content/browser/web_contents/web_contents_impl_unittest.cc now = base::TimeTicks::Now(); base 1047 content/browser/web_contents/web_contents_impl_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1112 content/browser/web_contents/web_contents_impl_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1170 content/browser/web_contents/web_contents_impl_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1380 content/browser/web_contents/web_contents_impl_unittest.cc 0, base::TERMINATION_STATUS_PROCESS_CRASHED, -1)); base 1786 content/browser/web_contents/web_contents_impl_unittest.cc 0, base::TERMINATION_STATUS_PROCESS_CRASHED, -1)); base 1825 content/browser/web_contents/web_contents_impl_unittest.cc 0, base::TERMINATION_STATUS_PROCESS_CRASHED, -1)); base 2112 content/browser/web_contents/web_contents_impl_unittest.cc base::TERMINATION_STATUS_PROCESS_CRASHED, -1); base 2125 content/browser/web_contents/web_contents_impl_unittest.cc base::TERMINATION_STATUS_PROCESS_CRASHED, -1); base 2206 content/browser/web_contents/web_contents_impl_unittest.cc base::ASCIIToUTF16("This is an informative message"), base 2207 content/browser/web_contents/web_contents_impl_unittest.cc base::ASCIIToUTF16("OK"), base 2323 content/browser/web_contents/web_contents_impl_unittest.cc url_from_ipc, 1, base::string16()); base 2388 content/browser/web_contents/web_contents_impl_unittest.cc contents()->last_active_time_ = base::TimeTicks(); base 75 content/browser/web_contents/web_contents_view_android.cc void WebContentsViewAndroid::SetPageTitle(const base::string16& title) { base 80 content/browser/web_contents/web_contents_view_android.cc void WebContentsViewAndroid::OnTabCrashed(base::TerminationStatus status, base 37 content/browser/web_contents/web_contents_view_android.h virtual void OnTabCrashed(base::TerminationStatus status, base 54 content/browser/web_contents/web_contents_view_android.h virtual void SetPageTitle(const base::string16& title) OVERRIDE; base 91 content/browser/web_contents/web_contents_view_aura.cc return mode == (base::i18n::IsRTL() ? OVERSCROLL_EAST : OVERSCROLL_WEST) && base 97 content/browser/web_contents/web_contents_view_aura.cc return mode == (base::i18n::IsRTL() ? OVERSCROLL_WEST : OVERSCROLL_EAST) && base 222 content/browser/web_contents/web_contents_view_aura.cc base::FilePath file_name = base 223 content/browser/web_contents/web_contents_view_aura.cc base::FilePath::FromUTF16Unsafe(drop_data.file_description_filename); base 227 content/browser/web_contents/web_contents_view_aura.cc const base::FilePath::StringType extension = file_name.Extension(); base 245 content/browser/web_contents/web_contents_view_aura.cc base::string16 mime_type; base 246 content/browser/web_contents/web_contents_view_aura.cc base::FilePath file_name; base 257 content/browser/web_contents/web_contents_view_aura.cc base::FilePath generated_download_file_name = base 261 content/browser/web_contents/web_contents_view_aura.cc base::UTF16ToUTF8(file_name.value()), base 262 content/browser/web_contents/web_contents_view_aura.cc base::UTF16ToUTF8(mime_type), base 266 content/browser/web_contents/web_contents_view_aura.cc base::ThreadRestrictions::ScopedAllowIO allow_file_operations; base 268 content/browser/web_contents/web_contents_view_aura.cc base::FilePath temp_dir_path; base 269 content/browser/web_contents/web_contents_view_aura.cc if (!base::CreateNewTempDirectory(FILE_PATH_LITERAL("chrome_drag"), base 273 content/browser/web_contents/web_contents_view_aura.cc base::FilePath download_path = base 278 content/browser/web_contents/web_contents_view_aura.cc base::DeleteFileAfterReboot(download_path); base 279 content/browser/web_contents/web_contents_view_aura.cc base::DeleteFileAfterReboot(temp_dir_path); base 286 content/browser/web_contents/web_contents_view_aura.cc base::File(), base 291 content/browser/web_contents/web_contents_view_aura.cc ui::OSExchangeData::DownloadFileInfo file_download(base::FilePath(), base 335 content/browser/web_contents/web_contents_view_aura.cc base::string16 plain_text; base 338 content/browser/web_contents/web_contents_view_aura.cc drop_data->text = base::NullableString16(plain_text, false); base 341 content/browser/web_contents/web_contents_view_aura.cc base::string16 url_title; base 349 content/browser/web_contents/web_contents_view_aura.cc base::string16 html; base 353 content/browser/web_contents/web_contents_view_aura.cc drop_data->html = base::NullableString16(html, false); base 730 content/browser/web_contents/web_contents_view_aura.cc base::AutoReset<OverscrollMode> reset_state(¤t_overscroll_gesture_, base 754 content/browser/web_contents/web_contents_view_aura.cc bounds.Offset(base::i18n::IsRTL() ? -bounds.width() : bounds.width(), 0); base 880 content/browser/web_contents/web_contents_view_aura.cc if (base::i18n::IsRTL()) base 924 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::OnTabCrashed(base::TerminationStatus status, base 1072 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::SetPageTitle(const base::string16& title) { base 1147 content/browser/web_contents/web_contents_view_aura.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 1148 content/browser/web_contents/web_contents_view_aura.cc base::MessageLoop::current()); base 108 content/browser/web_contents/web_contents_view_aura.h virtual void OnTabCrashed(base::TerminationStatus status, base 125 content/browser/web_contents/web_contents_view_aura.h virtual void SetPageTitle(const base::string16& title) OVERRIDE; base 109 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::MessageLoop::current()->Run(); base 117 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::MessageLoop::current()->Quit(); base 135 content/browser/web_contents/web_contents_view_aura_browsertest.cc scoped_ptr<base::Value> value = base 169 content/browser/web_contents/web_contents_view_aura_browsertest.cc scoped_ptr<base::Value> value = base 193 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 expected_title = base::ASCIIToUTF16("Title: #1"); base 198 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::TimeDelta::FromMilliseconds(kScrollDurationMs), base 200 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 211 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 expected_title = base::ASCIIToUTF16("Title:"); base 216 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::TimeDelta::FromMilliseconds(kScrollDurationMs), base 218 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 229 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 expected_title = base::ASCIIToUTF16("Title: #1"); base 234 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::TimeDelta::FromMilliseconds(kScrollDurationMs), base 236 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 251 content/browser/web_contents/web_contents_view_aura_browsertest.cc scoped_ptr<base::Value> value; base 326 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::TimeDelta timestamp; base 334 content/browser/web_contents/web_contents_view_aura_browsertest.cc timestamp += base::TimeDelta::FromMilliseconds(10); base 346 content/browser/web_contents/web_contents_view_aura_browsertest.cc timestamp += base::TimeDelta::FromMilliseconds(10); base 356 content/browser/web_contents/web_contents_view_aura_browsertest.cc timestamp += base::TimeDelta::FromMilliseconds(10); base 366 content/browser/web_contents/web_contents_view_aura_browsertest.cc timestamp += base::TimeDelta::FromMilliseconds(10); base 392 content/browser/web_contents/web_contents_view_aura_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 443 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 expected_title = base::ASCIIToUTF16("Title: #2"); base 451 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::TimeDelta::FromMilliseconds(20), base 453 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 474 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 expected_title = base::ASCIIToUTF16("Title: #3"); base 477 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 505 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::FilePath(FILE_PATH_LITERAL("content/test/data"))); base 591 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::TimeDelta::FromMilliseconds(20), base 613 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::TimeDelta::FromMilliseconds(20), base 643 content/browser/web_contents/web_contents_view_aura_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16("Title: #1"), web_contents->GetTitle()); base 653 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 expected_title = base::ASCIIToUTF16("Title: #2"); base 660 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::TimeDelta::FromMilliseconds(2000), base 667 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::TimeDelta::FromMilliseconds(2000), base 669 content/browser/web_contents/web_contents_view_aura_browsertest.cc base::string16 actual_title = title_watcher.WaitAndGetTitle(); base 147 content/browser/web_contents/web_contents_view_gtk.cc void WebContentsViewGtk::OnTabCrashed(base::TerminationStatus status, base 249 content/browser/web_contents/web_contents_view_gtk.cc void WebContentsViewGtk::SetPageTitle(const base::string16& title) { base 256 content/browser/web_contents/web_contents_view_gtk.cc gdk_window_set_title(content_window, base::UTF16ToUTF8(title).c_str()); base 52 content/browser/web_contents/web_contents_view_gtk.h virtual void OnTabCrashed(base::TerminationStatus status, base 69 content/browser/web_contents/web_contents_view_gtk.h virtual void SetPageTitle(const base::string16& title) OVERRIDE; base 150 content/browser/web_contents/web_contents_view_guest.cc void WebContentsViewGuest::SetPageTitle(const base::string16& title) { base 182 content/browser/web_contents/web_contents_view_guest.cc void WebContentsViewGuest::OnTabCrashed(base::TerminationStatus status, base 256 content/browser/web_contents/web_contents_view_guest.cc RecordAction(base::UserMetricsAction("BrowserPlugin.Guest.StartDrag")); base 47 content/browser/web_contents/web_contents_view_guest.h virtual void OnTabCrashed(base::TerminationStatus status, base 71 content/browser/web_contents/web_contents_view_guest.h virtual void SetPageTitle(const base::string16& title) OVERRIDE; base 42 content/browser/web_contents/web_contents_view_mac.h base::scoped_nsobject<WebDragSource> dragSource_; base 43 content/browser/web_contents/web_contents_view_mac.h base::scoped_nsobject<WebDragDest> dragDest_; base 73 content/browser/web_contents/web_contents_view_mac.h virtual void OnTabCrashed(base::TerminationStatus status, base 95 content/browser/web_contents/web_contents_view_mac.h virtual void SetPageTitle(const base::string16& title) OVERRIDE; base 137 content/browser/web_contents/web_contents_view_mac.h base::scoped_nsobject<WebContentsViewCocoa> cocoa_view_; base 141 content/browser/web_contents/web_contents_view_mac.h base::scoped_nsobject<FocusTracker> focus_tracker_; base 193 content/browser/web_contents/web_drag_dest_gtk.cc drop_data_->text = base::NullableString16( base 194 content/browser/web_contents/web_drag_dest_gtk.cc base::UTF8ToUTF16(std::string(reinterpret_cast<const char*>(text))), base 208 content/browser/web_contents/web_drag_dest_gtk.cc base::FilePath file_path; base 212 content/browser/web_contents/web_drag_dest_gtk.cc ui::FileInfo(file_path, base::FilePath())); base 216 content/browser/web_contents/web_drag_dest_gtk.cc drop_data_->text = base::NullableString16(); base 226 content/browser/web_contents/web_drag_dest_gtk.cc drop_data_->html = base::NullableString16( base 227 content/browser/web_contents/web_drag_dest_gtk.cc base::UTF8ToUTF16(std::string(reinterpret_cast<const char*>(raw_data), base 239 content/browser/web_contents/web_drag_dest_gtk.cc base::UTF8ToUTF16(netscape_url.substr(split + 1)); base 315 content/browser/web_contents/web_drag_dest_gtk.cc base::MessageLoop::current()->PostTask( base 317 content/browser/web_contents/web_drag_dest_gtk.cc base::Bind(&WebDragDestGtk::DragLeave, method_factory_.GetWeakPtr())); base 107 content/browser/web_contents/web_drag_dest_gtk.h base::WeakPtrFactory<WebDragDestGtk> method_factory_; base 118 content/browser/web_contents/web_drag_source_gtk.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 120 content/browser/web_contents/web_drag_source_gtk.cc base::nix::GetDataMimeType(drop_data.file_contents).c_str(), FALSE); base 161 content/browser/web_contents/web_drag_source_gtk.cc std::string utf8_text = base::UTF16ToUTF8(drop_data_->text.string()); base 170 content/browser/web_contents/web_drag_source_gtk.cc std::string utf8_text = base::UTF16ToUTF8(drop_data_->html.string()); base 219 content/browser/web_contents/web_drag_source_gtk.cc base::FilePath file_path; base 222 content/browser/web_contents/web_drag_source_gtk.cc base::File file(CreateFileForDrop(&file_path)); base 304 content/browser/web_contents/web_drag_source_gtk.cc base::FilePath generated_download_file_name = base 309 content/browser/web_contents/web_drag_source_gtk.cc base::UTF16ToUTF8(wide_download_mime_type_), base 89 content/browser/web_contents/web_drag_source_gtk.h base::string16 wide_download_mime_type_; base 92 content/browser/web_contents/web_drag_source_gtk.h base::FilePath download_file_name_; base 34 content/browser/web_contents/web_drag_source_mac.h base::scoped_nsobject<NSImage> dragImage_; base 40 content/browser/web_contents/web_drag_source_mac.h base::scoped_nsobject<NSPasteboard> pasteboard_; base 46 content/browser/web_contents/web_drag_source_mac.h base::FilePath downloadFileName_; base 52 content/browser/web_contents/web_drag_source_mac.h base::ScopedCFTypeRef<CFStringRef> fileUTI_; base 25 content/browser/webui/generic_handler.cc base::Bind(&GenericHandler::HandleNavigateToUrl, base::Unretained(this))); base 28 content/browser/webui/generic_handler.cc void GenericHandler::HandleNavigateToUrl(const base::ListValue* args) { base 11 content/browser/webui/generic_handler.h namespace base { base 27 content/browser/webui/generic_handler.h void HandleNavigateToUrl(const base::ListValue* args); base 76 content/browser/webui/shared_resources_data_source.cc scoped_refptr<base::RefCountedStaticMemory> bytes( base 87 content/browser/webui/shared_resources_data_source.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 89 content/browser/webui/shared_resources_data_source.cc net::GetMimeTypeFromFile(base::FilePath().AppendASCII(path), &mime_type); base 28 content/browser/webui/url_data_manager.cc base::LazyInstance<base::Lock>::Leaky g_delete_lock = LAZY_INSTANCE_INITIALIZER; base 63 content/browser/webui/url_data_manager.cc base::Bind(&AddDataSourceOnIOThread, base 73 content/browser/webui/url_data_manager.cc base::AutoLock lock(g_delete_lock.Get()); base 95 content/browser/webui/url_data_manager.cc base::AutoLock lock(g_delete_lock.Get()); base 105 content/browser/webui/url_data_manager.cc base::Bind(&URLDataManager::DeleteDataSources)); base 126 content/browser/webui/url_data_manager.cc base::AutoLock lock(g_delete_lock.Get()); base 26 content/browser/webui/url_data_manager.h class CONTENT_EXPORT URLDataManager : public base::SupportsUserData::Data { base 101 content/browser/webui/url_data_manager_backend.cc public base::SupportsWeakPtr<URLRequestChromeJob> { base 124 content/browser/webui/url_data_manager_backend.cc void DataAvailable(base::RefCountedMemory* bytes); base 172 content/browser/webui/url_data_manager_backend.cc const base::WeakPtr<URLRequestChromeJob>& job); base 179 content/browser/webui/url_data_manager_backend.cc scoped_refptr<base::RefCountedMemory> data_; base 212 content/browser/webui/url_data_manager_backend.cc base::WeakPtrFactory<URLRequestChromeJob> weak_factory_; base 249 content/browser/webui/url_data_manager_backend.cc base::Bind(&URLRequestChromeJob::CheckStoragePartitionMatches, base 279 content/browser/webui/url_data_manager_backend.cc std::string base = kChromeURLContentSecurityPolicyHeaderBase; base 280 content/browser/webui/url_data_manager_backend.cc base.append(content_security_policy_object_source_); base 281 content/browser/webui/url_data_manager_backend.cc base.append(content_security_policy_frame_source_); base 282 content/browser/webui/url_data_manager_backend.cc info->headers->AddHeader(base); base 293 content/browser/webui/url_data_manager_backend.cc base::StringPrintf("%s:%s", net::HttpRequestHeaders::kContentType, base 304 content/browser/webui/url_data_manager_backend.cc void URLRequestChromeJob::DataAvailable(base::RefCountedMemory* bytes) { base 357 content/browser/webui/url_data_manager_backend.cc const base::WeakPtr<URLRequestChromeJob>& job) { base 386 content/browser/webui/url_data_manager_backend.cc base::Bind(&URLRequestChromeJob::StartAsync, job, allowed)); base 407 content/browser/webui/url_data_manager_backend.cc const base::WeakPtr<URLRequestChromeJob>& job) { base 412 content/browser/webui/url_data_manager_backend.cc base::Bind(&URLRequestChromeJob::MimeTypeAvailable, job, mime_type)); base 585 content/browser/webui/url_data_manager_backend.cc base::MessageLoop* target_message_loop = base 597 content/browser/webui/url_data_manager_backend.cc base::Bind(&URLDataSourceImpl::SendResponse, source, request_id)); base 605 content/browser/webui/url_data_manager_backend.cc base::Bind(&GetMimeTypeOnUI, base 613 content/browser/webui/url_data_manager_backend.cc base::Bind(&URLDataManagerBackend::CallStartRequest, base 657 content/browser/webui/url_data_manager_backend.cc base::Bind(&URLDataSourceImpl::SendResponse, source, request_id)); base 674 content/browser/webui/url_data_manager_backend.cc base::RefCountedMemory* bytes) { base 25 content/browser/webui/url_data_manager_backend.h namespace base { base 39 content/browser/webui/url_data_manager_backend.h class URLDataManagerBackend : public base::SupportsUserData::Data { base 58 content/browser/webui/url_data_manager_backend.h void DataAvailable(RequestID request_id, base::RefCountedMemory* bytes); base 28 content/browser/webui/url_data_source_impl.cc base::RefCountedMemory* bytes) { base 30 content/browser/webui/url_data_source_impl.cc scoped_refptr<base::RefCountedMemory> bytes_ptr(bytes); base 47 content/browser/webui/url_data_source_impl.cc base::Bind(&URLDataSourceImpl::SendResponseOnIOThread, this, request_id, base 53 content/browser/webui/url_data_source_impl.cc scoped_refptr<base::RefCountedMemory> bytes) { base 14 content/browser/webui/url_data_source_impl.h namespace base { base 48 content/browser/webui/url_data_source_impl.h class URLDataSourceImpl : public base::RefCountedThreadSafe< base 59 content/browser/webui/url_data_source_impl.h virtual void SendResponse(int request_id, base::RefCountedMemory* bytes); base 70 content/browser/webui/url_data_source_impl.h friend class base::DeleteHelper<URLDataSourceImpl>; base 76 content/browser/webui/url_data_source_impl.h scoped_refptr<base::RefCountedMemory> bytes); base 14 content/browser/webui/web_ui_controller_factory_registry.cc base::LazyInstance<std::vector<WebUIControllerFactory*> > g_factories = base 128 content/browser/webui/web_ui_data_source_impl.cc const base::string16& value) { base 144 content/browser/webui/web_ui_data_source_impl.cc const base::DictionaryValue& localized_strings) { base 253 content/browser/webui/web_ui_data_source_impl.cc callback.Run(base::RefCountedString::TakeString(&template_data)); base 258 content/browser/webui/web_ui_data_source_impl.cc scoped_refptr<base::RefCountedStaticMemory> response( base 31 content/browser/webui/web_ui_data_source_impl.h const base::string16& value) OVERRIDE; base 36 content/browser/webui/web_ui_data_source_impl.h const base::DictionaryValue& localized_strings) OVERRIDE; base 94 content/browser/webui/web_ui_data_source_impl.h base::DictionaryValue localized_strings_; base 28 content/browser/webui/web_ui_data_source_unittest.cc virtual base::string16 GetLocalizedString(int message_id) const OVERRIDE { base 30 content/browser/webui/web_ui_data_source_unittest.cc return base::UTF8ToUTF16(kDummyString); base 31 content/browser/webui/web_ui_data_source_unittest.cc return base::string16(); base 35 content/browser/webui/web_ui_data_source_unittest.cc virtual base::RefCountedStaticMemory* GetDataResourceBytes( base 37 content/browser/webui/web_ui_data_source_unittest.cc base::RefCountedStaticMemory* bytes = NULL; base 39 content/browser/webui/web_ui_data_source_unittest.cc bytes = new base::RefCountedStaticMemory( base 42 content/browser/webui/web_ui_data_source_unittest.cc bytes = new base::RefCountedStaticMemory( base 61 content/browser/webui/web_ui_data_source_unittest.cc base::Bind(&WebUIDataSourceTest::SendResult, base 62 content/browser/webui/web_ui_data_source_unittest.cc base::Unretained(this))); base 69 content/browser/webui/web_ui_data_source_unittest.cc scoped_refptr<base::RefCountedMemory> result_data_; base 82 content/browser/webui/web_ui_data_source_unittest.cc void SendResult(base::RefCountedMemory* data) { base 100 content/browser/webui/web_ui_data_source_unittest.cc source()->AddString("planet", base::ASCIIToUTF16("pluto")); base 30 content/browser/webui/web_ui_impl.cc base::string16 WebUI::GetJavascriptCall( base 32 content/browser/webui/web_ui_impl.cc const std::vector<const base::Value*>& arg_list) { base 33 content/browser/webui/web_ui_impl.cc base::string16 parameters; base 37 content/browser/webui/web_ui_impl.cc parameters += base::char16(','); base 39 content/browser/webui/web_ui_impl.cc base::JSONWriter::Write(arg_list[i], &json); base 40 content/browser/webui/web_ui_impl.cc parameters += base::UTF8ToUTF16(json); base 42 content/browser/webui/web_ui_impl.cc return base::ASCIIToUTF16(function_name) + base 43 content/browser/webui/web_ui_impl.cc base::char16('(') + parameters + base::char16(')') + base::char16(';'); base 72 content/browser/webui/web_ui_impl.cc const base::ListValue& args) { base 107 content/browser/webui/web_ui_impl.cc const base::string16& WebUIImpl::GetOverriddenTitle() const { base 111 content/browser/webui/web_ui_impl.cc void WebUIImpl::OverrideTitle(const base::string16& title) { base 145 content/browser/webui/web_ui_impl.cc base::string16 javascript = base::ASCIIToUTF16(function_name + "();"); base 150 content/browser/webui/web_ui_impl.cc const base::Value& arg) { base 152 content/browser/webui/web_ui_impl.cc std::vector<const base::Value*> args; base 159 content/browser/webui/web_ui_impl.cc const base::Value& arg1, const base::Value& arg2) { base 161 content/browser/webui/web_ui_impl.cc std::vector<const base::Value*> args; base 169 content/browser/webui/web_ui_impl.cc const base::Value& arg1, const base::Value& arg2, const base::Value& arg3) { base 171 content/browser/webui/web_ui_impl.cc std::vector<const base::Value*> args; base 180 content/browser/webui/web_ui_impl.cc const base::Value& arg1, base 181 content/browser/webui/web_ui_impl.cc const base::Value& arg2, base 182 content/browser/webui/web_ui_impl.cc const base::Value& arg3, base 183 content/browser/webui/web_ui_impl.cc const base::Value& arg4) { base 185 content/browser/webui/web_ui_impl.cc std::vector<const base::Value*> args; base 195 content/browser/webui/web_ui_impl.cc const std::vector<const base::Value*>& args) { base 207 content/browser/webui/web_ui_impl.cc const base::ListValue& args) { base 231 content/browser/webui/web_ui_impl.cc void WebUIImpl::ExecuteJavascript(const base::string16& javascript) { base 242 content/browser/webui/web_ui_impl.cc web_contents_->ForEachFrame(base::Bind(&WebUIImpl::AddToSetIfFrameNameMatches, base 243 content/browser/webui/web_ui_impl.cc base::Unretained(this), base 23 content/browser/webui/web_ui_impl.h public base::SupportsWeakPtr<WebUIImpl> { base 38 content/browser/webui/web_ui_impl.h virtual const base::string16& GetOverriddenTitle() const OVERRIDE; base 39 content/browser/webui/web_ui_impl.h virtual void OverrideTitle(const base::string16& title) OVERRIDE; base 46 content/browser/webui/web_ui_impl.h typedef base::Callback<void(const base::ListValue*)> MessageCallback; base 52 content/browser/webui/web_ui_impl.h const base::ListValue& args) OVERRIDE; base 56 content/browser/webui/web_ui_impl.h const base::Value& arg) OVERRIDE; base 58 content/browser/webui/web_ui_impl.h const base::Value& arg1, base 59 content/browser/webui/web_ui_impl.h const base::Value& arg2) OVERRIDE; base 61 content/browser/webui/web_ui_impl.h const base::Value& arg1, base 62 content/browser/webui/web_ui_impl.h const base::Value& arg2, base 63 content/browser/webui/web_ui_impl.h const base::Value& arg3) OVERRIDE; base 65 content/browser/webui/web_ui_impl.h const base::Value& arg1, base 66 content/browser/webui/web_ui_impl.h const base::Value& arg2, base 67 content/browser/webui/web_ui_impl.h const base::Value& arg3, base 68 content/browser/webui/web_ui_impl.h const base::Value& arg4) OVERRIDE; base 71 content/browser/webui/web_ui_impl.h const std::vector<const base::Value*>& args) OVERRIDE; base 80 content/browser/webui/web_ui_impl.h const base::ListValue& args); base 83 content/browser/webui/web_ui_impl.h void ExecuteJavascript(const base::string16& javascript); base 101 content/browser/webui/web_ui_impl.h base::string16 overridden_title_; // Defaults to empty string. base 14 content/browser/webui/web_ui_message_handler.cc bool WebUIMessageHandler::ExtractIntegerValue(const base::ListValue* value, base 18 content/browser/webui/web_ui_message_handler.cc return base::StringToInt(string_value, out_int); base 28 content/browser/webui/web_ui_message_handler.cc bool WebUIMessageHandler::ExtractDoubleValue(const base::ListValue* value, base 32 content/browser/webui/web_ui_message_handler.cc return base::StringToDouble(string_value, out_value); base 39 content/browser/webui/web_ui_message_handler.cc base::string16 WebUIMessageHandler::ExtractStringValue( base 40 content/browser/webui/web_ui_message_handler.cc const base::ListValue* value) { base 41 content/browser/webui/web_ui_message_handler.cc base::string16 string16_value; base 45 content/browser/webui/web_ui_message_handler.cc return base::string16(); base 15 content/browser/webui/web_ui_message_handler_unittest.cc base::ListValue list; base 17 content/browser/webui/web_ui_message_handler_unittest.cc base::string16 zero_string(base::UTF8ToUTF16("0")); base 18 content/browser/webui/web_ui_message_handler_unittest.cc base::string16 neg_string(base::UTF8ToUTF16("-1234")); base 19 content/browser/webui/web_ui_message_handler_unittest.cc base::string16 pos_string(base::UTF8ToUTF16("1234")); base 21 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::FundamentalValue(zero_value)); base 26 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::FundamentalValue(neg_value)); base 31 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::FundamentalValue(pos_value)); base 36 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::StringValue(zero_string)); base 41 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::StringValue(neg_string)); base 46 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::StringValue(pos_string)); base 52 content/browser/webui/web_ui_message_handler_unittest.cc base::ListValue list; base 54 content/browser/webui/web_ui_message_handler_unittest.cc base::string16 zero_string(base::UTF8ToUTF16("0")); base 55 content/browser/webui/web_ui_message_handler_unittest.cc base::string16 neg_string(base::UTF8ToUTF16("-1234.5")); base 56 content/browser/webui/web_ui_message_handler_unittest.cc base::string16 pos_string(base::UTF8ToUTF16("1234.5")); base 58 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::FundamentalValue(zero_value)); base 63 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::FundamentalValue(neg_value)); base 68 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::FundamentalValue(pos_value)); base 73 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::StringValue(zero_string)); base 78 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::StringValue(neg_string)); base 83 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::StringValue(pos_string)); base 89 content/browser/webui/web_ui_message_handler_unittest.cc base::ListValue list; base 90 content/browser/webui/web_ui_message_handler_unittest.cc base::string16 in_string(base::UTF8ToUTF16( base 92 content/browser/webui/web_ui_message_handler_unittest.cc list.Append(new base::StringValue(in_string)); base 93 content/browser/webui/web_ui_message_handler_unittest.cc base::string16 out_string = WebUIMessageHandler::ExtractStringValue(&list); base 34 content/browser/webui/web_ui_mojo_browsertest.cc base::FilePath GetFilePathForJSResource(const std::string& path) { base 38 content/browser/webui/web_ui_mojo_browsertest.cc base::ReplaceChars(binding_path, "//", "\\", &tmp); base 41 content/browser/webui/web_ui_mojo_browsertest.cc base::FilePath file_path; base 58 content/browser/webui/web_ui_mojo_browsertest.cc CHECK(base::ReadFileToString(GetFilePathForJSResource(id), &contents, base 60 content/browser/webui/web_ui_mojo_browsertest.cc base::RefCountedString* ref_contents = new base::RefCountedString; base 71 content/browser/webui/web_ui_mojo_browsertest.cc base::RunLoop* run_loop) base 87 content/browser/webui/web_ui_mojo_browsertest.cc base::RunLoop* run_loop_; base 96 content/browser/webui/web_ui_mojo_browsertest.cc explicit TestWebUIController(WebUI* web_ui, base::RunLoop* run_loop) base 102 content/browser/webui/web_ui_mojo_browsertest.cc data_source->SetRequestFilter(base::Bind(&GetResource)); base 115 content/browser/webui/web_ui_mojo_browsertest.cc base::RunLoop* run_loop_; base 127 content/browser/webui/web_ui_mojo_browsertest.cc void set_run_loop(base::RunLoop* run_loop) { run_loop_ = run_loop; } base 147 content/browser/webui/web_ui_mojo_browsertest.cc base::RunLoop* run_loop_; base 177 content/browser/webui/web_ui_mojo_browsertest.cc const base::FilePath test_file_path( base 180 content/browser/webui/web_ui_mojo_browsertest.cc if (!base::PathExists(test_file_path)) { base 187 content/browser/webui/web_ui_mojo_browsertest.cc base::RunLoop run_loop; base 36 content/browser/worker_host/test/worker_browsertest.cc base::FilePath test_file_path = GetTestFilePath( base 45 content/browser/worker_host/test/worker_browsertest.cc const base::string16 expected_title = base::ASCIIToUTF16("OK"); base 48 content/browser/worker_host/test/worker_browsertest.cc base::string16 final_title = title_watcher.WaitAndGetTitle(); base 61 content/browser/worker_host/test/worker_browsertest.cc BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure()); base 69 content/browser/worker_host/test/worker_browsertest.cc base::Bind(&CountWorkerProcesses, &cur_process_count)); base 77 content/browser/worker_host/test/worker_browsertest.cc base::PlatformThread::Sleep(TestTimeouts::action_max_timeout() / 100); base 84 content/browser/worker_host/test/worker_browsertest.cc static void QuitUIMessageLoop(base::Callback<void()> callback) { base 94 content/browser/worker_host/test/worker_browsertest.cc base::Bind(&QuitUIMessageLoop, runner->QuitClosure())); base 152 content/browser/worker_host/test/worker_browsertest.cc std::string query = base::StringPrintf("?count=%d", max_workers_per_tab + 1); base 168 content/browser/worker_host/test/worker_browsertest.cc if (base::SysInfo::AmountOfPhysicalMemoryMB() < 8192) { base 176 content/browser/worker_host/test/worker_browsertest.cc std::string query = base::StringPrintf("?count=%d", max_workers_per_tab); base 179 content/browser/worker_host/test/worker_browsertest.cc GURL(url.spec() + base::StringPrintf("&client_id=0"))); base 186 content/browser/worker_host/test/worker_browsertest.cc GURL(url.spec() + base::StringPrintf("&client_id=%d", i))); base 212 content/browser/worker_host/test/worker_browsertest.cc std::string query = base::StringPrintf("?count=%d", max_workers_per_tab); base 224 content/browser/worker_host/test/worker_browsertest.cc std::string query = base::StringPrintf("?count=%d", max_workers_per_tab + 1); base 247 content/browser/worker_host/test/worker_browsertest.cc std::string query = base::StringPrintf("?count=%d", max_workers_per_tab + 1); base 255 content/browser/worker_host/test/worker_browsertest.cc query = base::StringPrintf("?id=%d", max_workers_per_tab); base 278 content/browser/worker_host/test/worker_browsertest.cc const base::string16 expected_title = base::ASCIIToUTF16("OK"); base 281 content/browser/worker_host/test/worker_browsertest.cc base::string16 final_title = title_watcher.WaitAndGetTitle(); base 20 content/browser/worker_host/worker_document_set.h class WorkerDocumentSet : public base::RefCounted<WorkerDocumentSet> { base 88 content/browser/worker_host/worker_document_set.h friend class base::RefCounted<WorkerDocumentSet>; base 160 content/browser/worker_host/worker_process_host.cc base::Bind(&WorkerCrashCallback, parent_iter->render_process_id(), base 187 content/browser/worker_host/worker_process_host.cc base::FilePath exe_path = ChildProcessHost::GetChildPath(flags); base 253 content/browser/worker_host/worker_process_host.cc base::Bind(&WorkerCreatedCallback, base 270 content/browser/worker_host/worker_process_host.cc base::Bind(&WorkerProcessHost::GetContexts, base 271 content/browser/worker_host/worker_process_host.cc base::Unretained(this))); base 284 content/browser/worker_host/worker_process_host.cc base::Bind(&WorkerServiceImpl::next_worker_route_id, base 285 content/browser/worker_host/worker_process_host.cc base::Unretained(WorkerServiceImpl::GetInstance()))); base 311 content/browser/worker_host/worker_process_host.cc base::Bind(&WorkerProcessHost::GetRequestContext, base 312 content/browser/worker_host/worker_process_host.cc base::Unretained(this))); base 396 content/browser/worker_host/worker_process_host.cc RecordAction(base::UserMetricsAction("BadMessageTerminate_WPH")); base 397 content/browser/worker_host/worker_process_host.cc base::KillProcess( base 449 content/browser/worker_host/worker_process_host.cc base::KillProcess( base 471 content/browser/worker_host/worker_process_host.cc const base::string16& name, base 472 content/browser/worker_host/worker_process_host.cc const base::string16& display_name, base 489 content/browser/worker_host/worker_process_host.cc const base::string16& name, base 498 content/browser/worker_host/worker_process_host.cc base::KillProcess( base 501 content/browser/worker_host/worker_process_host.cc RecordAction(base::UserMetricsAction("WorkerProcess_BadProcessToKill")); base 575 content/browser/worker_host/worker_process_host.cc base::Bind(&WorkerTerminatedCallback, base 623 content/browser/worker_host/worker_process_host.cc process_->SetName(base::UTF8ToUTF16(display_title)); base 644 content/browser/worker_host/worker_process_host.cc base::Bind(&WorkerTerminatedCallback, base 703 content/browser/worker_host/worker_process_host.cc const base::string16& name, base 704 content/browser/worker_host/worker_process_host.cc const base::string16& content_security_policy, base 746 content/browser/worker_host/worker_process_host.cc const base::string16& match_name, base 62 content/browser/worker_host/worker_process_host.h const base::string16& name, base 63 content/browser/worker_host/worker_process_host.h const base::string16& content_security_policy, base 108 content/browser/worker_host/worker_process_host.h const base::string16& name, base 123 content/browser/worker_host/worker_process_host.h const base::string16 name() const { return name_; } base 124 content/browser/worker_host/worker_process_host.h const base::string16 content_security_policy() const { base 148 content/browser/worker_host/worker_process_host.h base::string16 name_; base 149 content/browser/worker_host/worker_process_host.h base::string16 content_security_policy_; base 223 content/browser/worker_host/worker_process_host.h const base::string16& name, base 224 content/browser/worker_host/worker_process_host.h const base::string16& display_name, base 232 content/browser/worker_host/worker_process_host.h const base::string16& name, base 50 content/browser/worker_host/worker_service_impl.cc public base::RefCountedThreadSafe<WorkerPrioritySetter, base 104 content/browser/worker_host/worker_service_impl.cc base::Bind(&WorkerPrioritySetter::RegisterObserver, this)); base 114 content/browser/worker_host/worker_service_impl.cc base::Bind( base 141 content/browser/worker_host/worker_service_impl.cc base::Bind(&AddRenderFrameID, visible_frame_ids)); base 146 content/browser/worker_host/worker_service_impl.cc base::Bind(&WorkerPrioritySetter::UpdateWorkerPrioritiesFromVisibleSet, base 147 content/browser/worker_host/worker_service_impl.cc this, base::Owned(visible_frame_ids))); base 222 content/browser/worker_host/worker_service_impl.cc base::Bind(&WorkerPrioritySetter::OnRenderWidgetVisibilityChanged, base 585 content/browser/worker_host/worker_service_impl.cc const base::string16& name, base 104 content/browser/worker_host/worker_service_impl.h const base::string16& name, base 78 content/browser/zygote_host/zygote_host_impl_linux.cc base::FilePath chrome_path; base 79 content/browser/zygote_host/zygote_host_impl_linux.cc CHECK(PathService::Get(base::FILE_EXE, &chrome_path)); base 93 content/browser/zygote_host/zygote_host_impl_linux.cc base::FileHandleMappingVector fds_to_map; base 166 content/browser/zygote_host/zygote_host_impl_linux.cc base::ProcessHandle process = -1; base 167 content/browser/zygote_host/zygote_host_impl_linux.cc base::LaunchOptions options; base 169 content/browser/zygote_host/zygote_host_impl_linux.cc base::LaunchProcess(cmd_line.argv(), options, &process); base 190 content/browser/zygote_host/zygote_host_impl_linux.cc if (base::FileDescriptorGetInode(&inode, dummy_fd)) { base 194 content/browser/zygote_host/zygote_host_impl_linux.cc get_inode_cmdline.push_back(base::kFindInodeSwitch); base 195 content/browser/zygote_host/zygote_host_impl_linux.cc get_inode_cmdline.push_back(base::Int64ToString(inode)); base 197 content/browser/zygote_host/zygote_host_impl_linux.cc if (base::GetAppOutput(get_inode_cmd, &inode_output)) { base 198 content/browser/zygote_host/zygote_host_impl_linux.cc base::StringToInt(inode_output, &pid_); base 206 content/browser/zygote_host/zygote_host_impl_linux.cc base::EnsureProcessGetsReaped(process); base 226 content/browser/zygote_host/zygote_host_impl_linux.cc base::AutoLock lock(child_tracking_lock_); base 237 content/browser/zygote_host/zygote_host_impl_linux.cc base::AutoLock lock(control_lock_); base 250 content/browser/zygote_host/zygote_host_impl_linux.cc base::AutoLock lock(child_tracking_lock_); base 259 content/browser/zygote_host/zygote_host_impl_linux.cc base::AutoLock lock(child_tracking_lock_); base 322 content/browser/zygote_host/zygote_host_impl_linux.cc std::vector<linked_ptr<base::ScopedFD> > autodelete_fds; base 330 content/browser/zygote_host/zygote_host_impl_linux.cc linked_ptr<base::ScopedFD> ptr(new base::ScopedFD(fds.back())); base 337 content/browser/zygote_host/zygote_host_impl_linux.cc base::AutoLock lock(control_lock_); base 339 content/browser/zygote_host/zygote_host_impl_linux.cc return base::kNullProcessHandle; base 349 content/browser/zygote_host/zygote_host_impl_linux.cc return base::kNullProcessHandle; base 365 content/browser/zygote_host/zygote_host_impl_linux.cc static base::HistogramBase* uma_histogram; base 367 content/browser/zygote_host/zygote_host_impl_linux.cc uma_histogram = base::LinearHistogram::FactoryGet( base 371 content/browser/zygote_host/zygote_host_impl_linux.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 377 content/browser/zygote_host/zygote_host_impl_linux.cc return base::kNullProcessHandle; base 395 content/browser/zygote_host/zygote_host_impl_linux.cc void ZygoteHostImpl::AdjustRendererOOMScore(base::ProcessHandle pid, base 427 content/browser/zygote_host/zygote_host_impl_linux.cc const base::FilePath kSelinuxPath("/selinux"); base 428 content/browser/zygote_host/zygote_host_impl_linux.cc base::FileEnumerator en(kSelinuxPath, false, base::FileEnumerator::FILES); base 447 content/browser/zygote_host/zygote_host_impl_linux.cc adj_oom_score_cmdline.push_back(base::Int64ToString(pid)); base 448 content/browser/zygote_host/zygote_host_impl_linux.cc adj_oom_score_cmdline.push_back(base::IntToString(score)); base 450 content/browser/zygote_host/zygote_host_impl_linux.cc base::ProcessHandle sandbox_helper_process; base 451 content/browser/zygote_host/zygote_host_impl_linux.cc if (base::LaunchProcess(adj_oom_score_cmdline, base::LaunchOptions(), base 453 content/browser/zygote_host/zygote_host_impl_linux.cc base::EnsureProcessGetsReaped(sandbox_helper_process); base 456 content/browser/zygote_host/zygote_host_impl_linux.cc if (!base::AdjustOOMScore(pid, score)) base 473 content/browser/zygote_host/zygote_host_impl_linux.cc base::TerminationStatus ZygoteHostImpl::GetTerminationStatus( base 474 content/browser/zygote_host/zygote_host_impl_linux.cc base::ProcessHandle handle, base 487 content/browser/zygote_host/zygote_host_impl_linux.cc base::AutoLock lock(control_lock_); base 496 content/browser/zygote_host/zygote_host_impl_linux.cc int status = base::TERMINATION_STATUS_NORMAL_TERMINATION; base 517 content/browser/zygote_host/zygote_host_impl_linux.cc if (status != base::TERMINATION_STATUS_STILL_RUNNING) { base 520 content/browser/zygote_host/zygote_host_impl_linux.cc return static_cast<base::TerminationStatus>(status); base 52 content/browser/zygote_host/zygote_host_impl_linux.h base::TerminationStatus GetTerminationStatus(base::ProcessHandle handle, base 60 content/browser/zygote_host/zygote_host_impl_linux.h virtual void AdjustRendererOOMScore(base::ProcessHandle process_handle, base 90 content/browser/zygote_host/zygote_host_impl_linux.h base::Lock control_lock_; base 99 content/browser/zygote_host/zygote_host_impl_linux.h base::Lock child_tracking_lock_; base 96 content/child/appcache/web_application_cache_host_impl.cc std::string message = base::StringPrintf(kFormatString, base 130 content/child/appcache/web_application_cache_host_impl.cc std::string message = base::StringPrintf(kFormatString, num_complete, base 143 content/child/appcache/web_application_cache_host_impl.cc base::StringPrintf(kFormatString, details.message.c_str()); base 12 content/child/blink_glue.cc void FileInfoToWebFileInfo(const base::File::Info& file_info, base 18 content/child/blink_glue.h CONTENT_EXPORT void FileInfoToWebFileInfo(const base::File::Info& file_info, base 77 content/child/blink_platform_impl.cc WebWaitableEventImpl() : impl_(new base::WaitableEvent(false, false)) {} base 83 content/child/blink_platform_impl.cc base::WaitableEvent* impl() { base 88 content/child/blink_platform_impl.cc scoped_ptr<base::WaitableEvent> impl_; base 105 content/child/blink_platform_impl.cc cache_valid_time_ = base::TimeDelta::FromSeconds(kCacheSeconds); base 111 content/child/blink_platform_impl.cc base::AutoLock scoped_lock(lock_); base 114 content/child/blink_platform_impl.cc if (base::Time::Now() - last_updated_time_ > cache_valid_time_) base 122 content/child/blink_platform_impl.cc base::AutoLock scoped_lock(lock_); base 124 content/child/blink_platform_impl.cc last_updated_time_ = base::Time::Now(); base 132 content/child/blink_platform_impl.cc base::TimeDelta cache_valid_time_; base 135 content/child/blink_platform_impl.cc base::Time last_updated_time_; base 137 content/child/blink_platform_impl.cc base::Lock lock_; base 377 content/child/blink_platform_impl.cc : main_loop_(base::MessageLoop::current()), base 432 content/child/blink_platform_impl.cc scoped_refptr<base::MessageLoopProxy> message_loop = base 433 content/child/blink_platform_impl.cc base::MessageLoopProxy::current(); base 448 content/child/blink_platform_impl.cc std::vector<base::WaitableEvent*> events; base 451 content/child/blink_platform_impl.cc size_t idx = base::WaitableEvent::WaitMany( base 458 content/child/blink_platform_impl.cc base::StatsCounter(name).Decrement(); base 462 content/child/blink_platform_impl.cc base::StatsCounter(name).Increment(); base 469 content/child/blink_platform_impl.cc base::HistogramBase* counter = base 470 content/child/blink_platform_impl.cc base::Histogram::FactoryGet(name, min, max, bucket_count, base 471 content/child/blink_platform_impl.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 480 content/child/blink_platform_impl.cc base::HistogramBase* counter = base 481 content/child/blink_platform_impl.cc base::LinearHistogram::FactoryGet(name, 1, boundary_value, base 482 content/child/blink_platform_impl.cc boundary_value + 1, base::HistogramBase::kUmaTargetedHistogramFlag); base 515 content/child/blink_platform_impl.cc sizeof(base::debug::TraceEventHandle), base 528 content/child/blink_platform_impl.cc base::debug::TraceEventHandle handle = TRACE_EVENT_API_ADD_TRACE_EVENT( base 540 content/child/blink_platform_impl.cc base::debug::TraceEventHandle traceEventHandle; base 551 content/child/blink_platform_impl.cc base::StringPiece resource = GetContentClient()->GetDataResource( base 595 content/child/blink_platform_impl.cc base::StringPiece resource = GetContentClient()->GetDataResource( base 726 content/child/blink_platform_impl.cc base::StringPiece resource = GetContentClient()->GetDataResource( base 746 content/child/blink_platform_impl.cc return queryLocalizedString(name, base::IntToString16(numeric_value)); base 765 content/child/blink_platform_impl.cc std::vector<base::string16> values; base 774 content/child/blink_platform_impl.cc return base::Time::Now().ToDoubleT(); base 778 content/child/blink_platform_impl.cc return base::TimeTicks::Now().ToInternalValue() / base 779 content/child/blink_platform_impl.cc static_cast<double>(base::Time::kMicrosecondsPerSecond); base 784 content/child/blink_platform_impl.cc base::RandBytes(buffer, length); base 810 content/child/blink_platform_impl.cc ceil(interval_seconds * base::Time::kMillisecondsPerSecond) base 811 content/child/blink_platform_impl.cc * base::Time::kMicrosecondsPerMillisecond); base 817 content/child/blink_platform_impl.cc shared_timer_.Start(FROM_HERE, base::TimeDelta::FromMicroseconds(interval), base 819 content/child/blink_platform_impl.cc OnStartSharedTimer(base::TimeDelta::FromMicroseconds(interval)); base 828 content/child/blink_platform_impl.cc main_loop_->PostTask(FROM_HERE, base::Bind(func, context)); base 876 content/child/blink_platform_impl.cc base::PlatformFile BlinkPlatformImpl::databaseOpenFile( base 878 content/child/blink_platform_impl.cc return base::kInvalidPlatformFileValue; base 908 content/child/blink_platform_impl.cc static scoped_ptr<base::ProcessMetrics> CurrentProcessMetrics() { base 909 content/child/blink_platform_impl.cc using base::ProcessMetrics; base 914 content/child/blink_platform_impl.cc ProcessMetrics::CreateProcessMetrics(base::GetCurrentProcessHandle(), base 918 content/child/blink_platform_impl.cc ProcessMetrics::CreateProcessMetrics(base::GetCurrentProcessHandle())); base 943 content/child/blink_platform_impl.cc return static_cast<size_t>(base::SysInfo::AmountOfPhysicalMemoryMB()); base 947 content/child/blink_platform_impl.cc return static_cast<size_t>(base::SysInfo::NumberOfProcessors()); base 989 content/child/blink_platform_impl.cc return base::allocator::GetAllocatorWasteSize(size); base 994 content/child/blink_platform_impl.cc base::DiscardableMemoryType type = base 995 content/child/blink_platform_impl.cc base::DiscardableMemory::GetPreferredType(); base 996 content/child/blink_platform_impl.cc if (type == base::DISCARDABLE_MEMORY_TYPE_EMULATED) base 1003 content/child/blink_platform_impl.cc if (base::android::SysUtils::IsLowEndDevice()) { base 1015 content/child/blink_platform_impl.cc return base::SysInfo::AmountOfPhysicalMemory() / 25; base 30 content/child/blink_platform_impl.h namespace base { base 47 content/child/blink_platform_impl.h virtual base::PlatformFile databaseOpenFile( base 146 content/child/blink_platform_impl.h virtual void OnStartSharedTimer(base::TimeDelta delay) {} base 158 content/child/blink_platform_impl.h base::MessageLoop* main_loop_; base 159 content/child/blink_platform_impl.h base::OneShotTimer<BlinkPlatformImpl> shared_timer_; base 165 content/child/blink_platform_impl.h base::ThreadLocalStorage::Slot current_thread_slot_; base 24 content/child/blink_platform_unittest.cc virtual void OnStartSharedTimer(base::TimeDelta delay) OVERRIDE { base 28 content/child/blink_platform_unittest.cc base::TimeDelta shared_timer_delay() { return shared_timer_delay_; } base 35 content/child/blink_platform_unittest.cc base::TimeDelta shared_timer_delay_; base 42 content/child/blink_platform_unittest.cc base::MessageLoop message_loop; base 54 content/child/blink_platform_unittest.cc base::RunLoop().RunUntilIdle(); base 57 content/child/blink_platform_unittest.cc double new_time = base::Time::Now().ToDoubleT() + 1; base 64 content/child/blink_platform_unittest.cc EXPECT_TRUE(base::TimeDelta() == platform_impl.shared_timer_delay()); base 46 content/child/browser_font_resource_trusted.cc base::string16 GetFontFromMap( base 53 content/child/browser_font_resource_trusted.cc return base::string16(); base 68 content/child/browser_font_resource_trusted.cc text_ = base::UTF8ToUTF16(text_string->value()); base 88 content/child/browser_font_resource_trusted.cc const base::string16& text() const { return text_; } base 97 content/child/browser_font_resource_trusted.cc return WebTextRun(base::string16(&text_[*run_start], *run_len), base 113 content/child/browser_font_resource_trusted.cc base::string16 text_; base 130 content/child/browser_font_resource_trusted.cc *run = WebTextRun(base::UTF8ToUTF16(text_string->value()), base 170 content/child/browser_font_resource_trusted.cc base::string16 resolved_family; base 194 content/child/browser_font_resource_trusted.cc resolved_family = base::UTF8ToUTF16(face_name->value()); base 277 content/child/browser_font_resource_trusted.cc StringVar::StringToPPVar(base::UTF16ToUTF8(web_desc.family)); base 46 content/child/child_histogram_message_filter.cc FROM_HERE, base::Bind(&ChildHistogramMessageFilter::UploadAllHistograms, base 57 content/child/child_histogram_message_filter.cc new base::HistogramDeltaSerialization("ChildProcess")); base 14 content/child/child_histogram_message_filter.h namespace base { base 46 content/child/child_histogram_message_filter.h scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 49 content/child/child_histogram_message_filter.h scoped_ptr<base::HistogramDeltaSerialization> histogram_delta_serialization_; base 21 content/child/child_message_filter.cc scoped_refptr<base::TaskRunner> runner = base 26 content/child/child_message_filter.cc base::Bind( base 27 content/child/child_message_filter.cc base::IgnoreResult(&ChildMessageFilter::OnMessageReceived), base 47 content/child/child_message_filter.cc base::TaskRunner* ChildMessageFilter::OverrideTaskRunnerForMessage( base 10 content/child/child_message_filter.h namespace base { base 21 content/child/child_message_filter.h : public base::RefCountedThreadSafe<ChildMessageFilter>, base 30 content/child/child_message_filter.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 53 content/child/child_message_filter.h friend class base::RefCountedThreadSafe<ChildMessageFilter>; base 33 content/child/child_process.cc base::LazyInstance<base::ThreadLocalPointer<ChildProcess> > g_lazy_tls = base 44 content/child/child_process.cc base::StatisticsRecorder::Initialize(); base 48 content/child/child_process.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 51 content/child/child_process.cc io_thread_.SetPriority(base::kThreadPriority_Display); base 84 content/child/child_process.cc base::MessageLoop::current() == main_thread_->message_loop()); base 90 content/child/child_process.cc base::MessageLoop::current() == main_thread_->message_loop()); base 103 content/child/child_process.cc base::WaitableEvent* ChildProcess::GetShutDownEvent() { base 118 content/child/child_process.cc message += base::IntToString(base::GetCurrentProcId()); base 119 content/child/child_process.cc ::MessageBox(NULL, base::UTF8ToWide(message).c_str(), base 120 content/child/child_process.cc base::UTF8ToWide(title).c_str(), base 126 content/child/child_process.cc base::debug::WaitForDebugger(24 * 60 * 60, false); base 33 content/child/child_process.h base::MessageLoop* io_message_loop() { return io_thread_.message_loop(); } base 34 content/child/child_process.h base::MessageLoopProxy* io_message_loop_proxy() { base 47 content/child/child_process.h base::WaitableEvent* GetShutDownEvent(); base 65 content/child/child_process.h base::WaitableEvent shutdown_event_; base 68 content/child/child_process.h base::Thread io_thread_; base 17 content/child/child_resource_message_filter.cc : main_thread_task_runner_(base::ThreadTaskRunnerHandle::Get()), base 27 content/child/child_resource_message_filter.cc main_thread_task_runner_->PostTask(FROM_HERE, base::Bind( base 29 content/child/child_resource_message_filter.cc base::Unretained(resource_dispatcher_), base 30 content/child/child_resource_message_filter.cc base::TimeTicks::Now())); base 11 content/child/child_resource_message_filter.h namespace base { base 40 content/child/child_resource_message_filter.h scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; base 31 content/child/child_shared_bitmap_manager.cc scoped_ptr<base::SharedMemory> memory; base 33 content/child/child_shared_bitmap_manager.cc base::SharedMemoryHandle handle; base 36 content/child/child_shared_bitmap_manager.cc memory = make_scoped_ptr(new base::SharedMemory(handle, false)); base 41 content/child/child_shared_bitmap_manager.cc base::SharedMemoryHandle handle_to_send = memory->handle(); base 50 content/child/child_shared_bitmap_manager.cc base::Bind(&ChildSharedBitmapManager::FreeSharedMemory, base 51 content/child/child_shared_bitmap_manager.cc base::Unretained(this)))); base 62 content/child/child_shared_bitmap_manager.cc base::SharedMemory* mem) { base 64 content/child/child_shared_bitmap_manager.cc base::SharedMemoryHandle handle_to_send = mem->handle(); base 66 content/child/child_shared_bitmap_manager.cc if (!mem->ShareToProcess(base::GetCurrentProcessHandle(), &handle_to_send)) base 76 content/child/child_shared_bitmap_manager.cc base::Bind(&ChildSharedBitmapManager::ReleaseSharedBitmap, base 77 content/child/child_shared_bitmap_manager.cc base::Unretained(this)))); base 27 content/child/child_shared_bitmap_manager.h base::SharedMemory* mem) OVERRIDE; base 65 content/child/child_thread.cc base::LazyInstance<base::ThreadLocalPointer<ChildThread> > g_lazy_tls = base 77 content/child/child_thread.cc class WaitAndExitDelegate : public base::PlatformThread::Delegate { base 79 content/child/child_thread.cc explicit WaitAndExitDelegate(base::TimeDelta duration) base 84 content/child/child_thread.cc base::PlatformThread::Sleep(duration_); base 89 content/child/child_thread.cc const base::TimeDelta duration_; base 93 content/child/child_thread.cc bool CreateWaitAndExitThread(base::TimeDelta duration) { base 97 content/child/child_thread.cc base::PlatformThread::CreateNonJoinable(0, delegate.get()); base 135 content/child/child_thread.cc CHECK(CreateWaitAndExitThread(base::TimeDelta::FromSeconds(60))); base 156 content/child/child_thread.cc base::LazyInstance<base::Lock> g_lazy_child_thread_lock = base 168 content/child/child_thread.cc static base::ConditionVariable* New(void* instance) { base 169 content/child/child_thread.cc return new (instance) base::ConditionVariable( base 172 content/child/child_thread.cc static void Delete(base::ConditionVariable* instance) { base 179 content/child/child_thread.cc base::LazyInstance<base::ConditionVariable, CondVarLazyInstanceTraits> base 183 content/child/child_thread.cc base::MessageLoop::current()->Quit(); base 218 content/child/child_thread.cc message_loop_ = base::MessageLoop::current(); base 240 content/child/child_thread.cc base::MessageLoopProxy::current().get(), sync_message_filter_.get()); base 270 content/child/child_thread.cc if (!base::PowerMonitor::Get()) { base 275 content/child/child_thread.cc power_monitor_.reset(new base::PowerMonitor( base 276 content/child/child_thread.cc power_monitor_source.PassAs<base::PowerMonitorSource>())); base 286 content/child/child_thread.cc base::MessageLoop::current()->PostDelayedTask( base 288 content/child/child_thread.cc base::Bind(&ChildThread::EnsureConnected, base 290 content/child/child_thread.cc base::TimeDelta::FromSeconds(kConnectionTimeoutS)); base 294 content/child/child_thread.cc base::AutoLock lock(g_lazy_child_thread_lock.Get()); base 303 content/child/child_thread.cc trace_memory_controller_.reset(new base::debug::TraceMemoryController( base 347 content/child/child_thread.cc base::MessageLoop::current()->Quit(); base 351 content/child/child_thread.cc DCHECK(base::MessageLoop::current() == message_loop()); base 361 content/child/child_thread.cc DCHECK(base::MessageLoop::current() == message_loop()); base 370 content/child/child_thread.cc base::SharedMemory* ChildThread::AllocateSharedMemory(size_t buf_size) { base 375 content/child/child_thread.cc base::SharedMemory* ChildThread::AllocateSharedMemory( base 378 content/child/child_thread.cc scoped_ptr<base::SharedMemory> shared_buf; base 380 content/child/child_thread.cc shared_buf.reset(new base::SharedMemory); base 388 content/child/child_thread.cc base::SharedMemoryHandle shared_mem_handle; base 391 content/child/child_thread.cc if (base::SharedMemory::IsHandleValid(shared_mem_handle)) { base 392 content/child/child_thread.cc shared_buf.reset(new base::SharedMemory(shared_mem_handle, false)); base 452 content/child/child_thread.cc base::MessageLoop::current()->Quit(); base 493 content/child/child_thread.cc base::allocator::GetStats(buffer, sizeof(buffer)); base 510 content/child/child_thread.cc base::AutoLock lock(g_lazy_child_thread_lock.Get()); base 514 content/child/child_thread.cc DCHECK_NE(base::MessageLoop::current(), g_child_thread->message_loop()); base 516 content/child/child_thread.cc FROM_HERE, base::Bind(&QuitMainThreadMessageLoop)); base 522 content/child/child_thread.cc base::MessageLoop::current()->Quit(); base 537 content/child/child_thread.cc base::KillProcess(base::GetCurrentProcessHandle(), 0, false); base 20 content/child/child_thread.h namespace base { base 87 content/child/child_thread.h base::SharedMemory* AllocateSharedMemory(size_t buf_size); base 91 content/child/child_thread.h static base::SharedMemory* AllocateSharedMemory(size_t buf_size, base 145 content/child/child_thread.h base::MessageLoop* message_loop() const { return message_loop_; } base 223 content/child/child_thread.h base::MessageLoop* message_loop_; base 241 content/child/child_thread.h base::WeakPtrFactory<ChildThread> channel_connected_factory_; base 245 content/child/child_thread.h scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; base 247 content/child/child_thread.h scoped_ptr<base::PowerMonitor> power_monitor_; base 37 content/child/content_child_helpers.cc scoped_ptr<base::ProcessMetrics> process_metrics( base 40 content/child/content_child_helpers.cc base::ProcessMetrics::CreateProcessMetrics( base 41 content/child/content_child_helpers.cc base::GetCurrentProcessHandle(), NULL)); base 46 content/child/content_child_helpers.cc scoped_ptr<base::ProcessMetrics> process_metrics( base 47 content/child/content_child_helpers.cc base::ProcessMetrics::CreateProcessMetrics( base 48 content/child/content_child_helpers.cc base::GetCurrentProcessHandle())); base 34 content/child/db_message_filter.cc const base::string16& database_name, base 55 content/child/db_message_filter.cc const base::string16& database_name) { base 26 content/child/db_message_filter.h const base::string16& database_name, base 32 content/child/db_message_filter.h const base::string16& database_name); base 80 content/child/fileapi/file_system_dispatcher.cc status_callback_.Run(base::File::FILE_OK); base 83 content/child/fileapi/file_system_dispatcher.cc void DidFail(base::File::Error error_code) { base 88 content/child/fileapi/file_system_dispatcher.cc const base::File::Info& file_info) { base 93 content/child/fileapi/file_system_dispatcher.cc const base::File::Info& file_info, base 94 content/child/fileapi/file_system_dispatcher.cc const base::FilePath& platform_path, base 111 content/child/fileapi/file_system_dispatcher.cc const base::FilePath& file_path, base 120 content/child/fileapi/file_system_dispatcher.cc void DidOpenFile(base::PlatformFile file, base 153 content/child/fileapi/file_system_dispatcher.cc dispatcher->DidFail(base::File::FILE_ERROR_ABORT); base 321 content/child/fileapi/file_system_dispatcher.cc const base::Time& last_access_time, base 322 content/child/fileapi/file_system_dispatcher.cc const base::Time& last_modified_time, base 353 content/child/fileapi/file_system_dispatcher.cc const base::FilePath& file_path, base 370 content/child/fileapi/file_system_dispatcher.cc int request_id, const base::File::Info& file_info) { base 378 content/child/fileapi/file_system_dispatcher.cc int request_id, const base::File::Info& file_info, base 379 content/child/fileapi/file_system_dispatcher.cc const base::FilePath& platform_path) { base 398 content/child/fileapi/file_system_dispatcher.cc int request_id, base::File::Error error_code) { base 20 content/child/fileapi/file_system_dispatcher.h namespace base { base 38 content/child/fileapi/file_system_dispatcher.h typedef base::Callback<void(base::File::Error error)> StatusCallback; base 39 content/child/fileapi/file_system_dispatcher.h typedef base::Callback<void( base 40 content/child/fileapi/file_system_dispatcher.h const base::File::Info& file_info)> MetadataCallback; base 41 content/child/fileapi/file_system_dispatcher.h typedef base::Callback<void( base 42 content/child/fileapi/file_system_dispatcher.h const base::File::Info& file_info, base 43 content/child/fileapi/file_system_dispatcher.h const base::FilePath& platform_path, base 45 content/child/fileapi/file_system_dispatcher.h typedef base::Callback<void( base 48 content/child/fileapi/file_system_dispatcher.h typedef base::Callback<void( base 51 content/child/fileapi/file_system_dispatcher.h typedef base::Callback<void( base 53 content/child/fileapi/file_system_dispatcher.h const base::FilePath& file_path, base 55 content/child/fileapi/file_system_dispatcher.h typedef base::Callback<void( base 58 content/child/fileapi/file_system_dispatcher.h typedef base::Callback<void( base 59 content/child/fileapi/file_system_dispatcher.h base::PlatformFile file, base 117 content/child/fileapi/file_system_dispatcher.h const base::Time& last_access_time, base 118 content/child/fileapi/file_system_dispatcher.h const base::Time& last_modified_time, base 137 content/child/fileapi/file_system_dispatcher.h const base::FilePath& file_path, base 141 content/child/fileapi/file_system_dispatcher.h const base::File::Info& file_info); base 143 content/child/fileapi/file_system_dispatcher.h const base::File::Info& file_info, base 144 content/child/fileapi/file_system_dispatcher.h const base::FilePath& platform_path); base 148 content/child/fileapi/file_system_dispatcher.h void OnDidFail(int request_id, base::File::Error error_code); base 39 content/child/fileapi/webfilesystem_impl.cc : public base::RefCountedThreadSafe<WaitableCallbackResults> { base 45 content/child/fileapi/webfilesystem_impl.cc void AddResultsAndSignal(const base::Closure& results_closure) { base 46 content/child/fileapi/webfilesystem_impl.cc base::AutoLock lock(lock_); base 60 content/child/fileapi/webfilesystem_impl.cc std::vector<base::Closure> closures; base 62 content/child/fileapi/webfilesystem_impl.cc base::AutoLock lock(lock_); base 75 content/child/fileapi/webfilesystem_impl.cc base::Lock lock_; base 76 content/child/fileapi/webfilesystem_impl.cc base::WaitableEvent results_available_event_; base 77 content/child/fileapi/webfilesystem_impl.cc std::vector<base::Closure> results_closures_; base 85 content/child/fileapi/webfilesystem_impl.cc base::LazyInstance<base::ThreadLocalPointer<WebFileSystemImpl> >::Leaky base 100 content/child/fileapi/webfilesystem_impl.cc base::MessageLoopProxy* loop, base 105 content/child/fileapi/webfilesystem_impl.cc base::Bind(&CallDispatcherOnMainThread<Method, Params>, base 142 content/child/fileapi/webfilesystem_impl.cc const base::Closure& results_closure) { base 150 content/child/fileapi/webfilesystem_impl.cc base::Bind(&WaitableCallbackResults::Run, base 168 content/child/fileapi/webfilesystem_impl.cc base::Bind(&RunCallbacks<Method, Params>, callbacks_id, method, params, base 184 content/child/fileapi/webfilesystem_impl.cc MakeTuple(base::UTF8ToUTF16(name), root), base 192 content/child/fileapi/webfilesystem_impl.cc const base::FilePath& file_path, bool is_directory) { base 193 content/child/fileapi/webfilesystem_impl.cc base::FilePath normalized_path( base 198 content/child/fileapi/webfilesystem_impl.cc MakeTuple(base::UTF8ToUTF16(info.name), info.root_url, base 206 content/child/fileapi/webfilesystem_impl.cc base::File::Error error) { base 207 content/child/fileapi/webfilesystem_impl.cc if (error == base::File::FILE_OK) { base 223 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info) { base 240 content/child/fileapi/webfilesystem_impl.cc base::FilePath(entries[i].name).AsUTF16Unsafe(); base 254 content/child/fileapi/webfilesystem_impl.cc base::MessageLoopProxy* main_thread_loop, base 255 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info) { base 279 content/child/fileapi/webfilesystem_impl.cc base::MessageLoopProxy* main_thread_loop, base 282 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info) { base 285 content/child/fileapi/webfilesystem_impl.cc base::Bind(&DidCreateFileWriter, callbacks_id, path, client, base 291 content/child/fileapi/webfilesystem_impl.cc base::MessageLoopProxy* main_thread_loop, base 292 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info, base 293 content/child/fileapi/webfilesystem_impl.cc const base::FilePath& platform_path, base 311 content/child/fileapi/webfilesystem_impl.cc FROM_HERE, base::Bind(&DidReceiveSnapshotFile, request_id)); base 317 content/child/fileapi/webfilesystem_impl.cc base::MessageLoopProxy* main_thread_loop, base 318 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info, base 319 content/child/fileapi/webfilesystem_impl.cc const base::FilePath& platform_path, base 323 content/child/fileapi/webfilesystem_impl.cc base::Bind(&DidCreateSnapshotFile, callbacks_id, base 334 content/child/fileapi/webfilesystem_impl.cc base::MessageLoopProxy* main_thread_loop) { base 349 content/child/fileapi/webfilesystem_impl.cc WebFileSystemImpl::WebFileSystemImpl(base::MessageLoopProxy* main_thread_loop) base 375 content/child/fileapi/webfilesystem_impl.cc base::Bind(&OpenFileSystemCallbackAdapter, base 377 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 392 content/child/fileapi/webfilesystem_impl.cc base::Bind(&ResolveURLCallbackAdapter, base 394 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 411 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 427 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 443 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 458 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 473 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 488 content/child/fileapi/webfilesystem_impl.cc base::Bind(&ReadMetadataCallbackAdapter, base 490 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 506 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 522 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 537 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 552 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 567 content/child/fileapi/webfilesystem_impl.cc base::Bind(&ReadDirectoryCallbackAdapter, base 569 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 586 content/child/fileapi/webfilesystem_impl.cc base::Bind(&CreateFileWriterCallbackAdapter, base 589 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 604 content/child/fileapi/webfilesystem_impl.cc base::Bind(&CreateSnapshotFileCallbackAdapter, base 607 content/child/fileapi/webfilesystem_impl.cc base::Bind(&StatusCallbackAdapter, base 17 content/child/fileapi/webfilesystem_impl.h namespace base { base 32 content/child/fileapi/webfilesystem_impl.h public base::NonThreadSafe { base 40 content/child/fileapi/webfilesystem_impl.h base::MessageLoopProxy* main_thread_loop); base 47 content/child/fileapi/webfilesystem_impl.h explicit WebFileSystemImpl(base::MessageLoopProxy* main_thread_loop); base 120 content/child/fileapi/webfilesystem_impl.h scoped_refptr<base::MessageLoopProxy> main_thread_loop_; base 66 content/child/fileapi/webfilewriter_base.cc void WebFileWriterBase::DidFinish(base::File::Error error_code) { base 67 content/child/fileapi/webfilewriter_base.cc if (error_code == base::File::FILE_OK) base 120 content/child/fileapi/webfilewriter_base.cc void WebFileWriterBase::DidFail(base::File::Error error_code) { base 33 content/child/fileapi/webfilewriter_base.h void DidFinish(base::File::Error error_code); base 37 content/child/fileapi/webfilewriter_base.h void DidFail(base::File::Error error_code); base 76 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_NOT_FOUND); base 83 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_NOT_FOUND); // truncate completion base 101 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_NOT_FOUND); base 111 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_FAILED); // write completion base 119 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_FAILED); // cancel completion base 31 content/child/fileapi/webfilewriter_impl.cc : public base::RefCountedThreadSafe<WriterBridge> { base 38 content/child/fileapi/webfilewriter_impl.cc waitable_event_.reset(new base::WaitableEvent(false, false)); base 48 content/child/fileapi/webfilewriter_impl.cc base::Bind(&WriterBridge::DidFinish, this)); base 60 content/child/fileapi/webfilewriter_impl.cc base::Bind(&WriterBridge::DidWrite, this), base 61 content/child/fileapi/webfilewriter_impl.cc base::Bind(&WriterBridge::DidFinish, this)); base 70 content/child/fileapi/webfilewriter_impl.cc base::Bind(&WriterBridge::DidFinish, this)); base 73 content/child/fileapi/webfilewriter_impl.cc base::WaitableEvent* waitable_event() { base 91 content/child/fileapi/webfilewriter_impl.cc PostTaskToWorker(base::Bind(write_callback_, written_bytes_, complete)); base 94 content/child/fileapi/webfilewriter_impl.cc void DidFinish(base::File::Error status) { base 95 content/child/fileapi/webfilewriter_impl.cc PostTaskToWorker(base::Bind(status_callback_, status)); base 98 content/child/fileapi/webfilewriter_impl.cc void PostTaskToWorker(const base::Closure& closure) { base 118 content/child/fileapi/webfilewriter_impl.cc scoped_ptr<base::WaitableEvent> waitable_event_; base 119 content/child/fileapi/webfilewriter_impl.cc base::Closure results_closure_; base 125 content/child/fileapi/webfilewriter_impl.cc base::MessageLoopProxy* main_thread_loop) base 135 content/child/fileapi/webfilewriter_impl.cc RunOnMainThread(base::Bind(&WriterBridge::Truncate, bridge_, base 137 content/child/fileapi/webfilewriter_impl.cc base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr()))); base 142 content/child/fileapi/webfilewriter_impl.cc RunOnMainThread(base::Bind(&WriterBridge::Write, bridge_, base 144 content/child/fileapi/webfilewriter_impl.cc base::Bind(&WebFileWriterImpl::DidWrite, AsWeakPtr()), base 145 content/child/fileapi/webfilewriter_impl.cc base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr()))); base 149 content/child/fileapi/webfilewriter_impl.cc RunOnMainThread(base::Bind(&WriterBridge::Cancel, bridge_, base 150 content/child/fileapi/webfilewriter_impl.cc base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr()))); base 153 content/child/fileapi/webfilewriter_impl.cc void WebFileWriterImpl::RunOnMainThread(const base::Closure& closure) { base 19 content/child/fileapi/webfilewriter_impl.h public base::SupportsWeakPtr<WebFileWriterImpl> { base 29 content/child/fileapi/webfilewriter_impl.h base::MessageLoopProxy* main_thread_loop); base 42 content/child/fileapi/webfilewriter_impl.h void RunOnMainThread(const base::Closure& closure); base 44 content/child/fileapi/webfilewriter_impl.h scoped_refptr<base::MessageLoopProxy> main_thread_loop_; base 22 content/child/fling_curve_configuration.cc base::AutoLock scoped_lock(lock_); base 34 content/child/fling_curve_configuration.cc base::AutoLock scoped_lock(lock_); base 49 content/child/fling_curve_configuration.h base::Lock lock_; base 34 content/child/ftp_directory_listing_response_delegate.cc base::string16 ConvertPathToUTF16(const std::string& path) { base 38 content/child/ftp_directory_listing_response_delegate.cc return base::UTF8ToUTF16(path); base 43 content/child/ftp_directory_listing_response_delegate.cc if (base::DetectEncoding(path, &encoding) && !encoding.empty()) { base 44 content/child/ftp_directory_listing_response_delegate.cc base::string16 path_utf16; base 45 content/child/ftp_directory_listing_response_delegate.cc if (base::CodepageToUTF16(path, encoding.c_str(), base 46 content/child/ftp_directory_listing_response_delegate.cc base::OnStringConversionError::SUBSTITUTE, base 53 content/child/ftp_directory_listing_response_delegate.cc return base::WideToUTF16Hack(base::SysNativeMBToWide(path)); base 82 content/child/ftp_directory_listing_response_delegate.cc int rv = net::ParseFtpDirectoryListing(buffer_, base::Time::Now(), &entries); base 116 content/child/ftp_directory_listing_response_delegate.cc base::ASCIIToUTF16(".."), std::string(), false, 0, base::Time())); base 34 content/child/indexed_db/indexed_db_dispatcher.cc using base::ThreadLocalPointer; base 37 content/child/indexed_db/indexed_db_dispatcher.cc static base::LazyInstance<ThreadLocalPointer<IndexedDBDispatcher> >::Leaky base 222 content/child/indexed_db/indexed_db_dispatcher.cc const base::string16& name, base 257 content/child/indexed_db/indexed_db_dispatcher.cc const base::string16& name, base 336 content/child/indexed_db/indexed_db_dispatcher.cc WebString::fromUTF8(base::StringPrintf( base 495 content/child/indexed_db/indexed_db_dispatcher.cc const std::vector<base::string16>& value) { base 666 content/child/indexed_db/indexed_db_dispatcher.cc const base::string16& message) { base 683 content/child/indexed_db/indexed_db_dispatcher.cc const base::string16& message) { base 75 content/child/indexed_db/indexed_db_dispatcher.h const base::string16& name, base 82 content/child/indexed_db/indexed_db_dispatcher.h void RequestIDBFactoryDeleteDatabase(const base::string16& name, base 206 content/child/indexed_db/indexed_db_dispatcher.h const std::vector<base::string16>& value); base 222 content/child/indexed_db/indexed_db_dispatcher.h const base::string16& message); base 231 content/child/indexed_db/indexed_db_dispatcher.h const base::string16& message); base 57 content/child/indexed_db/indexed_db_dispatcher_unittest.cc : message_loop_proxy_(base::MessageLoopProxy::current()), base 63 content/child/indexed_db/indexed_db_dispatcher_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 100 content/child/indexed_db/indexed_db_dispatcher_unittest.cc base::string16(kKeySize / sizeof(base::string16::value_type), 'x')); base 33 content/child/indexed_db/indexed_db_key_builders.cc static std::vector<base::string16> CopyArray( base 35 content/child/indexed_db/indexed_db_key_builders.cc std::vector<base::string16> copy(array.size()); base 18 content/child/indexed_db/indexed_db_message_filter.cc : main_thread_loop_(base::MessageLoopProxy::current()), base 23 content/child/indexed_db/indexed_db_message_filter.cc base::TaskRunner* IndexedDBMessageFilter::OverrideTaskRunnerForMessage( base 13 content/child/indexed_db/indexed_db_message_filter.h namespace base { base 30 content/child/indexed_db/indexed_db_message_filter.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 42 content/child/indexed_db/indexed_db_message_filter.h scoped_refptr<base::MessageLoopProxy> main_thread_loop_; base 118 content/child/indexed_db/webidbcursor_impl_unittest.cc base::MessageLoopProxy::current(), sync_message_filter_.get()); base 24 content/child/npapi/np_channel_base.cc typedef base::hash_map<std::string, scoped_refptr<NPChannelBase> > ChannelMap; base 37 content/child/npapi/np_channel_base.cc base::LazyInstance<base::ThreadLocalPointer<ChannelGlobals> >::Leaky base 51 content/child/npapi/np_channel_base.cc base::LazyInstance<ChannelGlobals>::Leaky g_channels_globals = base 66 content/child/npapi/np_channel_base.cc ChannelFactory factory, base::MessageLoopProxy* ipc_message_loop, base 67 content/child/npapi/np_channel_base.cc bool create_pipe_now, base::WaitableEvent* shutdown_event) { base 72 content/child/npapi/np_channel_base.cc base::ScopedFD fd(channel_handle.socket.auto_close ? base 167 content/child/npapi/np_channel_base.cc base::WaitableEvent* NPChannelBase::GetModalDialogEvent(int render_view_id) { base 171 content/child/npapi/np_channel_base.cc bool NPChannelBase::Init(base::MessageLoopProxy* ipc_message_loop, base 173 content/child/npapi/np_channel_base.cc base::WaitableEvent* shutdown_event) { base 220 content/child/npapi/np_channel_base.cc base::AutoReset<scoped_refptr<NPChannelBase> > keep_alive( base 283 content/child/npapi/np_channel_base.cc base::AutoReset<bool> auto_reset_in_remove_route(&in_remove_route_, true); base 20 content/child/npapi/np_channel_base.h namespace base { base 59 content/child/npapi/np_channel_base.h public base::RefCountedThreadSafe<NPChannelBase> { base 89 content/child/npapi/np_channel_base.h base::ProcessId peer_pid() { return channel_->peer_pid(); } base 117 content/child/npapi/np_channel_base.h virtual base::WaitableEvent* GetModalDialogEvent(int render_view_id); base 122 content/child/npapi/np_channel_base.h friend class base::RefCountedThreadSafe<NPChannelBase>; base 133 content/child/npapi/np_channel_base.h ChannelFactory factory, base::MessageLoopProxy* ipc_message_loop, base 134 content/child/npapi/np_channel_base.h bool create_pipe_now, base::WaitableEvent* shutdown_event); base 156 content/child/npapi/np_channel_base.h virtual bool Init(base::MessageLoopProxy* ipc_message_loop, base 158 content/child/npapi/np_channel_base.h base::WaitableEvent* shutdown_event); base 176 content/child/npapi/np_channel_base.h typedef base::hash_map<int, NPObjectBase*> ListenerMap; base 179 content/child/npapi/np_channel_base.h typedef base::hash_map<int, NPObject*> ProxyMap; base 182 content/child/npapi/np_channel_base.h typedef base::hash_map<NPObject*, int> StubMap; base 185 content/child/npapi/np_channel_base.h typedef base::hash_map<struct _NPP*, int> OwnerToRouteMap; base 188 content/child/npapi/np_channel_base.h typedef base::hash_map<int, struct _NPP*> RouteToOwnerMap; base 60 content/child/npapi/npobject_stub.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 259 content/child/npapi/npobject_stub.cc static base::FilePath plugin_path = base 32 content/child/npapi/npobject_stub.h public base::SupportsWeakPtr<NPObjectStub>, base 266 content/child/npapi/plugin_host.cc base::TrimWhitespace(value, base::TRIM_ALL, &value); base 278 content/child/npapi/plugin_host.cc base::TrimWhitespace(name, base::TRIM_ALL, &name); base 468 content/child/npapi/plugin_host.cc base::FilePath file_path; base 475 content/child/npapi/plugin_host.cc file_path = base::FilePath::FromUTF8Unsafe(file_path_ascii); base 478 content/child/npapi/plugin_host.cc base::File::Info post_file_info; base 479 content/child/npapi/plugin_host.cc if (!base::GetFileInfo(file_path, &post_file_info) || base 483 content/child/npapi/plugin_host.cc if (!base::ReadFileToString(file_path, &post_file_contents)) base 993 content/child/npapi/plugin_host.cc base::strlcpy(*value, result.c_str(), result.length() + 1); base 26 content/child/npapi/plugin_host.h class PluginHost : public base::RefCounted<PluginHost> { base 48 content/child/npapi/plugin_host.h friend class base::RefCounted<PluginHost>; base 56 content/child/npapi/plugin_instance.cc message_loop_(base::MessageLoop::current()), base 181 content/child/npapi/plugin_instance.cc bool PluginInstance::GetFormValue(base::string16* value) { base 189 content/child/npapi/plugin_instance.cc *value = base::UTF8ToUTF16(plugin_value); base 249 content/child/npapi/plugin_instance.cc base::DeleteFile(files_created_[file_index], false); base 324 content/child/npapi/plugin_instance.cc base::FilePath file_name = base::FilePath::FromUTF8Unsafe(fname); base 441 content/child/npapi/plugin_instance.cc FROM_HERE, base::Bind(&PluginInstance::OnPluginThreadAsyncCall, this, base 468 content/child/npapi/plugin_instance.cc base::MessageLoop::current()->PostDelayedTask( base 470 content/child/npapi/plugin_instance.cc base::Bind(&PluginInstance::OnTimerCall, this, func, npp_, timer_id), base 471 content/child/npapi/plugin_instance.cc base::TimeDelta::FromMilliseconds(interval)); base 510 content/child/npapi/plugin_instance.cc base::MessageLoop::current()->PostDelayedTask( base 512 content/child/npapi/plugin_instance.cc base::Bind(&PluginInstance::OnTimerCall, this, func, npp_, timer_id), base 513 content/child/npapi/plugin_instance.cc base::TimeDelta::FromMilliseconds(info.interval)); base 531 content/child/npapi/plugin_instance.cc range_info += base::IntToString(range_list->offset); base 534 content/child/npapi/plugin_instance.cc base::IntToString(range_list->offset + range_list->length - 1); base 26 content/child/npapi/plugin_instance.h namespace base { base 45 content/child/npapi/plugin_instance.h class PluginInstance : public base::RefCountedThreadSafe<PluginInstance> { base 156 content/child/npapi/plugin_instance.h bool GetFormValue(base::string16* value); base 247 content/child/npapi/plugin_instance.h friend class base::RefCountedThreadSafe<PluginInstance>; base 308 content/child/npapi/plugin_instance.h base::MessageLoop* message_loop_; base 324 content/child/npapi/plugin_instance.h std::vector<base::FilePath> files_created_; base 24 content/child/npapi/plugin_lib.cc PluginLib* PluginLib::CreatePluginLib(const base::FilePath& filename) { base 74 content/child/npapi/plugin_lib.cc base::StatsCounter(kPluginLibrariesLoadedCounter).Increment(); base 82 content/child/npapi/plugin_lib.cc base::StatsCounter(kPluginLibrariesLoadedCounter).Decrement(); base 154 content/child/npapi/plugin_lib.cc base::StatsCounter(kPluginInstancesActiveCounter).Increment(); base 160 content/child/npapi/plugin_lib.cc base::StatsCounter(kPluginInstancesActiveCounter).Decrement(); base 173 content/child/npapi/plugin_lib.cc base::NativeLibrary library = 0; base 174 content/child/npapi/plugin_lib.cc base::NativeLibraryLoadError error; base 185 content/child/npapi/plugin_lib.cc library = base::LoadNativeLibraryDynamically(web_plugin_info_.path); base 187 content/child/npapi/plugin_lib.cc library = base::LoadNativeLibrary(web_plugin_info_.path, &error); base 190 content/child/npapi/plugin_lib.cc library = base::LoadNativeLibrary(web_plugin_info_.path, &error); base 210 content/child/npapi/plugin_lib.cc (NP_InitializeFunc)base::GetFunctionPointerFromNativeLibrary(library, base 217 content/child/npapi/plugin_lib.cc (NP_GetEntryPointsFunc)base::GetFunctionPointerFromNativeLibrary( base 224 content/child/npapi/plugin_lib.cc (NP_ShutdownFunc)base::GetFunctionPointerFromNativeLibrary(library, base 249 content/child/npapi/plugin_lib.cc base::UnloadNativeLibrary(library); base 257 content/child/npapi/plugin_lib.cc void FreePluginLibraryHelper(const base::FilePath& path, base 258 content/child/npapi/plugin_lib.cc base::NativeLibrary library, base 279 content/child/npapi/plugin_lib.cc base::UnloadNativeLibrary(library); base 300 content/child/npapi/plugin_lib.cc base::MessageLoop::current()->PostTask( base 302 content/child/npapi/plugin_lib.cc base::Bind(&FreePluginLibraryHelper, base 311 content/child/npapi/plugin_lib.cc base::UnloadNativeLibrary(library_); base 20 content/child/npapi/plugin_lib.h namespace base { base 42 content/child/npapi/plugin_lib.h class CONTENT_EXPORT PluginLib : public base::RefCounted<PluginLib> { base 44 content/child/npapi/plugin_lib.h static PluginLib* CreatePluginLib(const base::FilePath& filename); base 96 content/child/npapi/plugin_lib.h friend class base::RefCounted<PluginLib>; base 115 content/child/npapi/plugin_lib.h base::NativeLibrary library_; // The opened library reference. base 29 content/child/npapi/plugin_lib_unittest.cc PluginLibTest::CreatePluginLib(base::FilePath())); base 37 content/child/npapi/plugin_lib_unittest.cc PluginLibTest::CreatePluginLib(base::FilePath())); base 46 content/child/npapi/plugin_lib_unittest.cc PluginLibTest::CreatePluginLib(base::FilePath())); base 56 content/child/npapi/plugin_lib_unittest.cc PluginLibTest::CreatePluginLib(base::FilePath())); base 37 content/child/npapi/plugin_stream.cc stream_.url = base::strdup(url); base 78 content/child/npapi/plugin_stream.cc base::FilePath path = base::FilePath::FromUTF8Unsafe(gurl.path()); base 166 content/child/npapi/plugin_stream.cc base::MessageLoop::current()->PostTask( base 167 content/child/npapi/plugin_stream.cc FROM_HERE, base::Bind(&PluginStream::OnDelayDelivery, this)); base 23 content/child/npapi/plugin_stream.h class PluginStream : public base::RefCounted<PluginStream> { base 77 content/child/npapi/plugin_stream.h friend class base::RefCounted<PluginStream>; base 137 content/child/npapi/plugin_stream.h base::FilePath temp_file_path_; base 21 content/child/npapi/plugin_stream_posix.cc temp_file_path_ = base::FilePath(); base 36 content/child/npapi/plugin_stream_posix.cc if (base::CreateTemporaryFile(&temp_file_path_)) base 37 content/child/npapi/plugin_stream_posix.cc temp_file_ = base::OpenFile(temp_file_path_, "a"); base 40 content/child/npapi/plugin_stream_posix.cc base::DeleteFile(temp_file_path_, false); base 51 content/child/npapi/plugin_stream_posix.cc base::CloseFile(temp_file_); base 213 content/child/npapi/plugin_stream_url.cc stream()->url = base::strdup(url); base 292 content/child/npapi/plugin_url_fetcher.cc base::Time temp; base 301 content/child/npapi/plugin_url_fetcher.cc headers = base::StringPrintf("HTTP %d ", response_code); base 366 content/child/npapi/plugin_url_fetcher.cc const base::TimeTicks& completion_time, base 73 content/child/npapi/plugin_url_fetcher.h const base::TimeTicks& completion_time, base 87 content/child/npapi/webplugin_delegate.h virtual bool GetFormValue(base::string16* value) = 0; base 28 content/child/npapi/webplugin_delegate_impl.cc const base::FilePath& filename, base 44 content/child/npapi/webplugin_delegate_impl.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 56 content/child/npapi/webplugin_delegate_impl.cc base::ASCIIToUTF16("QuickTime Plug-in")) != std::wstring::npos) { base 192 content/child/npapi/webplugin_delegate_impl.cc bool WebPluginDelegateImpl::GetFormValue(base::string16* value) { base 210 content/child/npapi/webplugin_delegate_impl.cc return base::GetCurrentProcId(); base 246 content/child/npapi/webplugin_delegate_impl.cc base::FilePath WebPluginDelegateImpl::GetPluginPath() { base 29 content/child/npapi/webplugin_delegate_impl.h namespace base { base 83 content/child/npapi/webplugin_delegate_impl.h const base::FilePath& filename, base 100 content/child/npapi/webplugin_delegate_impl.h virtual bool GetFormValue(base::string16* value) OVERRIDE; base 143 content/child/npapi/webplugin_delegate_impl.h base::FilePath GetPluginPath(); base 153 content/child/npapi/webplugin_delegate_impl.h void ImeCompositionUpdated(const base::string16& text, base 160 content/child/npapi/webplugin_delegate_impl.h void ImeCompositionCompleted(const base::string16& text); base 187 content/child/npapi/webplugin_delegate_impl.h void ImeCompositionCompleted(const base::string16& text); base 208 content/child/npapi/webplugin_delegate_impl.h friend class base::DeleteHelper<WebPluginDelegateImpl>; base 429 content/child/npapi/webplugin_delegate_impl.h scoped_ptr<base::RepeatingTimer<WebPluginDelegateImpl> > redraw_timer_; base 473 content/child/npapi/webplugin_delegate_impl.h base::WeakPtrFactory<WebPluginDelegateImpl> user_gesture_msg_factory_; base 430 content/child/npapi/webplugin_delegate_impl_gtk.cc base::StatsRate plugin_paint("Plugin.Paint"); base 431 content/child/npapi/webplugin_delegate_impl_gtk.cc base::StatsScope<base::StatsRate> scope(plugin_paint); base 460 content/child/npapi/webplugin_delegate_impl_gtk.cc base::StatsRate plugin_paint("Plugin.Paint"); base 461 content/child/npapi/webplugin_delegate_impl_gtk.cc base::StatsScope<base::StatsRate> scope(plugin_paint); base 70 content/child/npapi/webplugin_delegate_impl_win.cc base::LazyInstance<ThrottleQueue> g_throttle_queue = LAZY_INSTANCE_INITIALIZER; base 72 content/child/npapi/webplugin_delegate_impl_win.cc base::LazyInstance<std::map<HWND, WNDPROC> > g_window_handle_proc_map = base 76 content/child/npapi/webplugin_delegate_impl_win.cc base::LazyInstance<base::win::IATPatchFunction> g_iat_patch_track_popup_menu = base 80 content/child/npapi/webplugin_delegate_impl_win.cc base::LazyInstance<base::win::IATPatchFunction> g_iat_patch_set_cursor = base 84 content/child/npapi/webplugin_delegate_impl_win.cc base::LazyInstance<base::win::IATPatchFunction> g_iat_patch_reg_enum_key_ex_w = base 88 content/child/npapi/webplugin_delegate_impl_win.cc base::LazyInstance<base::win::IATPatchFunction> g_iat_patch_get_proc_address = base 91 content/child/npapi/webplugin_delegate_impl_win.cc base::LazyInstance<base::win::IATPatchFunction> g_iat_patch_window_from_point = base 400 content/child/npapi/webplugin_delegate_impl_win.cc base::win::GetVersion() == base::win::VERSION_XP && base 401 content/child/npapi/webplugin_delegate_impl_win.cc (base::win::RegKey().Open(HKEY_LOCAL_MACHINE, base 518 content/child/npapi/webplugin_delegate_impl_win.cc base::string16 plugin_version = plugin_lib->plugin_info().version; base 616 content/child/npapi/webplugin_delegate_impl_win.cc base::MessageLoop::current()->PostDelayedTask( base 618 content/child/npapi/webplugin_delegate_impl_win.cc base::Bind(&WebPluginDelegateImpl::OnThrottleMessage), base 619 content/child/npapi/webplugin_delegate_impl_win.cc base::TimeDelta::FromMilliseconds(kFlashWMUSERMessageThrottleDelayMs)); base 640 content/child/npapi/webplugin_delegate_impl_win.cc base::MessageLoop::current()->PostDelayedTask( base 642 content/child/npapi/webplugin_delegate_impl_win.cc base::Bind(&WebPluginDelegateImpl::OnThrottleMessage), base 643 content/child/npapi/webplugin_delegate_impl_win.cc base::TimeDelta::FromMilliseconds(kFlashWMUSERMessageThrottleDelayMs)); base 1000 content/child/npapi/webplugin_delegate_impl_win.cc base::MessageLoop::current()->PostDelayedTask( base 1002 content/child/npapi/webplugin_delegate_impl_win.cc base::Bind(&WebPluginDelegateImpl::OnUserGestureEnd, base 1004 content/child/npapi/webplugin_delegate_impl_win.cc base::TimeDelta::FromMilliseconds(kWindowedPluginPopupTimerMs)); base 1093 content/child/npapi/webplugin_delegate_impl_win.cc base::StatsRate plugin_paint("Plugin.Paint"); base 1094 content/child/npapi/webplugin_delegate_impl_win.cc base::StatsScope<base::StatsRate> scope(plugin_paint); base 1287 content/child/npapi/webplugin_delegate_impl_win.cc base::MessageLoop::current()->NestableTasksAllowed(); base 1345 content/child/npapi/webplugin_delegate_impl_win.cc base::MessageLoop::current()->SetNestableTasksAllowed( base 1347 content/child/npapi/webplugin_delegate_impl_win.cc base::MessageLoop::current()->set_os_modal_loop(false); base 1377 content/child/npapi/webplugin_delegate_impl_win.cc base::MessageLoop::current()->SetNestableTasksAllowed(true); base 1378 content/child/npapi/webplugin_delegate_impl_win.cc base::MessageLoop::current()->set_os_modal_loop(true); base 1455 content/child/npapi/webplugin_delegate_impl_win.cc const base::string16& text, base 1467 content/child/npapi/webplugin_delegate_impl_win.cc const base::string16& text) { base 1503 content/child/npapi/webplugin_delegate_impl_win.cc if (gfx::GetClassName(window) != base::string16(kNativeWindowClassName)) base 24 content/child/npapi/webplugin_ime_win.cc base::LazyInstance<base::Lock>::Leaky base 42 content/child/npapi/webplugin_ime_win.cc void WebPluginIMEWin::CompositionUpdated(const base::string16& text, base 90 content/child/npapi/webplugin_ime_win.cc void WebPluginIMEWin::CompositionCompleted(const base::string16& text) { base 96 content/child/npapi/webplugin_ime_win.h void CompositionUpdated(const base::string16& text, base 100 content/child/npapi/webplugin_ime_win.h void CompositionCompleted(const base::string16& text); base 143 content/child/npapi/webplugin_ime_win.h base::string16 composition_text_; base 146 content/child/npapi/webplugin_ime_win.h base::string16 result_text_; base 114 content/child/plugin_messages.h base::string16 /* value */, base 200 content/child/plugin_messages.h base::string16 /* text */, base 206 content/child/plugin_messages.h base::string16 /* text */) base 225 content/child/plugin_messages.h base::string16 /* text */) base 97 content/child/plugin_param_traits.cc base::StringPrintf("NPVariant_Param(%d, ", static_cast<int>(p.type))); base 131 content/child/plugin_param_traits.cc l->append(base::IntToString( base 16 content/child/power_monitor_broadcast_source.cc scoped_refptr<base::MessageLoopProxy> message_loop) base 43 content/child/power_monitor_broadcast_source.cc base::Bind(&PowerMessageFilter::NotifySourcePowerStateChange, this, base 48 content/child/power_monitor_broadcast_source.cc base::Bind(&PowerMessageFilter::NotifySourceSuspend, this)); base 52 content/child/power_monitor_broadcast_source.cc base::Bind(&PowerMessageFilter::NotifySourceResume, this)); base 71 content/child/power_monitor_broadcast_source.cc scoped_refptr<base::MessageLoopProxy> message_loop_; base 79 content/child/power_monitor_broadcast_source.cc base::MessageLoopProxy::current()); base 20 content/child/power_monitor_broadcast_source.h public base::PowerMonitorSource { base 17 content/child/power_monitor_broadcast_source_unittest.cc power_monitor_.reset(new base::PowerMonitor( base 18 content/child/power_monitor_broadcast_source_unittest.cc scoped_ptr<base::PowerMonitorSource>(power_monitor_source_))); base 23 content/child/power_monitor_broadcast_source_unittest.cc base::PowerMonitor* monitor() { return power_monitor_.get(); } base 25 content/child/power_monitor_broadcast_source_unittest.cc base::MessageLoop message_loop_; base 29 content/child/power_monitor_broadcast_source_unittest.cc scoped_ptr<base::PowerMonitor> power_monitor_; base 38 content/child/power_monitor_broadcast_source_unittest.cc base::PowerMonitorTestObserver observer; base 27 content/child/quota_dispatcher.cc static base::LazyInstance<base::ThreadLocalPointer<QuotaDispatcher> >::Leaky base 17 content/child/quota_message_filter.cc : main_thread_loop_proxy_(base::MessageLoopProxy::current()), base 25 content/child/quota_message_filter.cc base::AutoLock lock(request_id_map_lock_); base 31 content/child/quota_message_filter.cc base::AutoLock lock(request_id_map_lock_); base 41 content/child/quota_message_filter.cc base::TaskRunner* QuotaMessageFilter::OverrideTaskRunnerForMessage( base 51 content/child/quota_message_filter.cc base::AutoLock lock(request_id_map_lock_); base 13 content/child/quota_message_filter.h namespace base { base 38 content/child/quota_message_filter.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 44 content/child/quota_message_filter.h scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_; base 47 content/child/quota_message_filter.h base::Lock request_id_map_lock_; base 45 content/child/resource_dispatcher.cc base::TimeTicks* time) { base 56 content/child/resource_dispatcher.cc base::debug::Alias(&last_err); base 270 content/child/resource_dispatcher.cc io_timestamp_(base::TimeTicks()) { base 379 content/child/resource_dispatcher.cc base::SharedMemoryHandle shm_handle, base 381 content/child/resource_dispatcher.cc base::ProcessId renderer_pid) { base 387 content/child/resource_dispatcher.cc bool shm_valid = base::SharedMemory::IsHandleValid(shm_handle); base 391 content/child/resource_dispatcher.cc new base::SharedMemory(shm_handle, true)); // read only base 396 content/child/resource_dispatcher.cc base::ProcessId renderer_pid_copy = renderer_pid; base 397 content/child/resource_dispatcher.cc base::debug::Alias(&renderer_pid_copy); base 399 content/child/resource_dispatcher.cc base::SharedMemoryHandle shm_handle_copy = shm_handle; base 400 content/child/resource_dispatcher.cc base::debug::Alias(&shm_handle_copy); base 417 content/child/resource_dispatcher.cc CHECK(base::SharedMemory::IsHandleValid(request_info->buffer->handle())); base 423 content/child/resource_dispatcher.cc linked_ptr<base::SharedMemory> retain_buffer(request_info->buffer); base 425 content/child/resource_dispatcher.cc base::TimeTicks time_start = base::TimeTicks::Now(); base 456 content/child/resource_dispatcher.cc base::TimeTicks::Now() - time_start); base 545 content/child/resource_dispatcher.cc base::TimeTicks renderer_completion_time = ToRendererCompletionTime( base 608 content/child/resource_dispatcher.cc base::MessageLoop::current()->PostTask( base 610 content/child/resource_dispatcher.cc base::Bind(&ResourceDispatcher::FlushDeferredMessages, base 644 content/child/resource_dispatcher.cc request_start(base::TimeTicks::Now()), base 732 content/child/resource_dispatcher.cc base::TimeTicks ResourceDispatcher::ToRendererCompletionTime( base 734 content/child/resource_dispatcher.cc const base::TimeTicks& browser_completion_time) const { base 746 content/child/resource_dispatcher.cc return base::TimeTicks::FromInternalValue(result); base 749 content/child/resource_dispatcher.cc base::TimeTicks ResourceDispatcher::ConsumeIOTimestamp() { base 750 content/child/resource_dispatcher.cc if (io_timestamp_ == base::TimeTicks()) base 751 content/child/resource_dispatcher.cc return base::TimeTicks::Now(); base 752 content/child/resource_dispatcher.cc base::TimeTicks result = io_timestamp_; base 753 content/child/resource_dispatcher.cc io_timestamp_ = base::TimeTicks(); base 791 content/child/resource_dispatcher.cc base::SharedMemoryHandle shm_handle; base 792 content/child/resource_dispatcher.cc if (IPC::ParamTraits<base::SharedMemoryHandle>::Read(&message, base 795 content/child/resource_dispatcher.cc if (base::SharedMemory::IsHandleValid(shm_handle)) base 796 content/child/resource_dispatcher.cc base::SharedMemory::CloseHandle(shm_handle); base 88 content/child/resource_dispatcher.h void set_io_timestamp(base::TimeTicks io_timestamp) { base 122 content/child/resource_dispatcher.h base::TimeTicks request_start; base 123 content/child/resource_dispatcher.h base::TimeTicks response_start; base 124 content/child/resource_dispatcher.h base::TimeTicks completion_time; base 125 content/child/resource_dispatcher.h linked_ptr<base::SharedMemory> buffer; base 130 content/child/resource_dispatcher.h typedef base::hash_map<int, PendingRequestInfo> PendingRequestList; base 152 content/child/resource_dispatcher.h base::SharedMemoryHandle shm_handle, base 154 content/child/resource_dispatcher.h base::ProcessId renderer_pid); base 180 content/child/resource_dispatcher.h base::TimeTicks ToRendererCompletionTime( base 182 content/child/resource_dispatcher.h const base::TimeTicks& browser_completion_time) const; base 187 content/child/resource_dispatcher.h base::TimeTicks ConsumeIOTimestamp(); base 208 content/child/resource_dispatcher.h base::WeakPtrFactory<ResourceDispatcher> weak_factory_; base 213 content/child/resource_dispatcher.h base::TimeTicks io_timestamp_; base 77 content/child/resource_dispatcher_unittest.cc const base::TimeTicks& completion_time, base 133 content/child/resource_dispatcher_unittest.cc base::SharedMemory shared_mem; base 137 content/child/resource_dispatcher_unittest.cc base::SharedMemoryHandle dup_handle; base 139 content/child/resource_dispatcher_unittest.cc base::Process::Current().handle(), &dup_handle)); base 256 content/child/resource_dispatcher_unittest.cc base::SharedMemoryHandle duplicated_handle; base 257 content/child/resource_dispatcher_unittest.cc EXPECT_TRUE(shared_handle_.ShareToProcess(base::GetCurrentProcessHandle(), base 300 content/child/resource_dispatcher_unittest.cc const base::TimeTicks& completion_time, base 326 content/child/resource_dispatcher_unittest.cc base::SharedMemory shared_handle_; base 330 content/child/resource_dispatcher_unittest.cc base::MessageLoopForIO message_loop; base 387 content/child/resource_dispatcher_unittest.cc const base::TimeTicks& completion_time, base 401 content/child/resource_dispatcher_unittest.cc response_head.request_start = base::TimeTicks::FromInternalValue(5); base 402 content/child/resource_dispatcher_unittest.cc response_head.response_start = base::TimeTicks::FromInternalValue(15); base 403 content/child/resource_dispatcher_unittest.cc response_head.load_timing.request_start_time = base::Time::Now(); base 405 content/child/resource_dispatcher_unittest.cc base::TimeTicks::FromInternalValue(10); base 407 content/child/resource_dispatcher_unittest.cc base::TimeTicks::FromInternalValue(13); base 411 content/child/resource_dispatcher_unittest.cc EXPECT_LT(base::TimeTicks(), response_info().load_timing.request_start); base 412 content/child/resource_dispatcher_unittest.cc EXPECT_EQ(base::TimeTicks(), base 421 content/child/resource_dispatcher_unittest.cc response_head.request_start = base::TimeTicks::FromInternalValue(5); base 422 content/child/resource_dispatcher_unittest.cc response_head.response_start = base::TimeTicks::FromInternalValue(15); base 426 content/child/resource_dispatcher_unittest.cc EXPECT_EQ(base::TimeTicks(), response_info().load_timing.request_start); base 427 content/child/resource_dispatcher_unittest.cc EXPECT_EQ(base::TimeTicks(), base 437 content/child/resource_dispatcher_unittest.cc EXPECT_EQ(base::TimeTicks(), response_info().load_timing.request_start); base 438 content/child/resource_dispatcher_unittest.cc EXPECT_EQ(base::TimeTicks(), base 8 content/child/runtime_features.h namespace base { base 15 content/child/runtime_features.h const base::CommandLine& command_line); base 24 content/child/scoped_child_process_reference.cc const base::TimeDelta& delay) { base 26 content/child/scoped_child_process_reference.cc base::MessageLoop::current()->PostDelayedTask( base 28 content/child/scoped_child_process_reference.cc base::Bind(&ChildProcess::ReleaseProcess, base 29 content/child/scoped_child_process_reference.cc base::Unretained(ChildProcess::current())), base 10 content/child/scoped_child_process_reference.h namespace base { base 28 content/child/scoped_child_process_reference.h void ReleaseWithDelay(const base::TimeDelta& delay); base 16 content/child/service_worker/service_worker_dispatcher.cc using base::ThreadLocalPointer; base 22 content/child/service_worker/service_worker_dispatcher.cc base::LazyInstance<ThreadLocalPointer<ServiceWorkerDispatcher> >::Leaky base 153 content/child/service_worker/service_worker_dispatcher.cc const base::string16& message) { base 78 content/child/service_worker/service_worker_dispatcher.h const base::string16& message); base 16 content/child/service_worker/service_worker_message_filter.cc : main_thread_loop_proxy_(base::MessageLoopProxy::current()), base 21 content/child/service_worker/service_worker_message_filter.cc base::TaskRunner* ServiceWorkerMessageFilter::OverrideTaskRunnerForMessage( base 11 content/child/service_worker/service_worker_message_filter.h namespace base { base 29 content/child/service_worker/service_worker_message_filter.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 33 content/child/service_worker/service_worker_message_filter.h scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_; base 19 content/child/service_worker/service_worker_network_provider.cc static base::StaticAtomicSequenceNumber sequence; base 26 content/child/service_worker/service_worker_network_provider.cc base::SupportsUserData* datasource_userdata, base 32 content/child/service_worker/service_worker_network_provider.cc base::SupportsUserData* datasource_userdata) { base 26 content/child/service_worker/service_worker_network_provider.h : public base::SupportsUserData::Data { base 30 content/child/service_worker/service_worker_network_provider.h base::SupportsUserData* document_state, base 34 content/child/service_worker/service_worker_network_provider.h base::SupportsUserData* document_state); base 21 content/child/simple_webmimeregistry_impl.cc return IsStringASCII(string) ? base::UTF16ToASCII(string) : std::string(); base 79 content/child/simple_webmimeregistry_impl.cc base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type); base 87 content/child/simple_webmimeregistry_impl.cc base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type); base 94 content/child/simple_webmimeregistry_impl.cc net::GetMimeTypeFromFile(base::FilePath::FromUTF16Unsafe(file_path), base 18 content/child/site_isolation_policy.cc using base::StringPiece; base 58 content/child/site_isolation_policy.cc if (offset == base::StringPiece::npos) base 79 content/child/site_isolation_policy.cc base::HistogramBase* histogram_pointer = base::Histogram::FactoryGet( base 80 content/child/site_isolation_policy.cc name, 1, 100000, 50, base::HistogramBase::kUmaTargetedHistogramFlag); base 88 content/child/site_isolation_policy.cc base::HistogramBase* histogram_pointer = base::LinearHistogram::FactoryGet( base 93 content/child/site_isolation_policy.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 436 content/child/site_isolation_policy.cc if (offset == base::StringPiece::npos) base 446 content/child/site_isolation_policy.cc bool SiteIsolationPolicy::SniffForXML(base::StringPiece data) { base 458 content/child/site_isolation_policy.cc bool SiteIsolationPolicy::SniffForJSON(base::StringPiece data) { base 511 content/child/site_isolation_policy.cc return data.find("var ") != base::StringPiece::npos; base 136 content/child/site_isolation_policy.h static bool SniffForHTML(base::StringPiece data); base 137 content/child/site_isolation_policy.h static bool SniffForXML(base::StringPiece data); base 138 content/child/site_isolation_policy.h static bool SniffForJSON(base::StringPiece data); base 142 content/child/site_isolation_policy.h static bool SniffForJS(base::StringPiece data); base 27 content/child/site_isolation_policy_browsertest.cc base::FilePath(FILE_PATH_LITERAL("content/test/data"))); base 13 content/child/site_isolation_policy_unittest.cc using base::StringPiece; base 62 content/child/socket_stream_dispatcher.cc static base::LazyInstance<IDMap<IPCWebSocketStreamHandleBridge> >::Leaky base 67 content/child/socket_stream_dispatcher.cc base::LazyInstance<IDMap<IPCWebSocketStreamHandleBridge> >::Leaky base 170 content/child/socket_stream_dispatcher.cc delegate_->DidFail(handle_, error_code, base::ASCIIToUTF16(error_msg)); base 13 content/child/thread_safe_sender.cc ThreadSafeSender::ThreadSafeSender(base::MessageLoopProxy* main_loop, base 13 content/child/thread_safe_sender.h namespace base { base 27 content/child/thread_safe_sender.h public base::RefCountedThreadSafe<ThreadSafeSender> { base 35 content/child/thread_safe_sender.h friend class base::RefCountedThreadSafe<ThreadSafeSender>; base 37 content/child/thread_safe_sender.h ThreadSafeSender(base::MessageLoopProxy* main_loop, base 41 content/child/thread_safe_sender.h scoped_refptr<base::MessageLoopProxy> main_loop_; base 14 content/child/web_discardable_memory_impl.cc scoped_ptr<base::DiscardableMemory> memory( base 15 content/child/web_discardable_memory_impl.cc base::DiscardableMemory::CreateLockedMemory(size)); base 22 content/child/web_discardable_memory_impl.cc base::DiscardableMemoryLockStatus status = discardable_->Lock(); base 24 content/child/web_discardable_memory_impl.cc case base::DISCARDABLE_MEMORY_LOCK_STATUS_SUCCESS: base 26 content/child/web_discardable_memory_impl.cc case base::DISCARDABLE_MEMORY_LOCK_STATUS_PURGED: base 44 content/child/web_discardable_memory_impl.cc scoped_ptr<base::DiscardableMemory> memory) base 33 content/child/web_discardable_memory_impl.h WebDiscardableMemoryImpl(scoped_ptr<base::DiscardableMemory> memory); base 35 content/child/web_discardable_memory_impl.h scoped_ptr<base::DiscardableMemory> discardable_; base 18 content/child/web_socket_stream_handle_bridge.h : public base::RefCountedThreadSafe<WebSocketStreamHandleBridge> { base 27 content/child/web_socket_stream_handle_bridge.h friend class base::RefCountedThreadSafe<WebSocketStreamHandleBridge>; base 36 content/child/web_socket_stream_handle_delegate.h const base::string16& error_msg) {} base 36 content/child/web_socket_stream_handle_impl.cc : public base::RefCounted<Context>, base 63 content/child/web_socket_stream_handle_impl.cc const base::string16&) OVERRIDE; base 159 content/child/web_socket_stream_handle_impl.cc const base::string16& error_msg) { base 14 content/child/web_socket_stream_handle_impl.h class WebSocketStreamHandleImpl : public base::SupportsUserData, base 43 content/child/web_url_loader_impl.cc using base::Time; base 44 content/child/web_url_loader_impl.cc using base::TimeTicks; base 224 content/child/web_url_loader_impl.cc class WebURLLoaderImpl::Context : public base::RefCounted<Context>, base 256 content/child/web_url_loader_impl.cc const base::TimeTicks& completion_time, base 328 content/child/web_url_loader_impl.cc base::MessageLoop::current()->PostTask( base 329 content/child/web_url_loader_impl.cc FROM_HERE, base::Bind(&Context::HandleDataURL, this)); base 424 content/child/web_url_loader_impl.cc base::FilePath::FromUTF16Unsafe(element.filePath), base 425 content/child/web_url_loader_impl.cc 0, kuint64max, base::Time()); base 428 content/child/web_url_loader_impl.cc base::FilePath::FromUTF16Unsafe(element.filePath), base 431 content/child/web_url_loader_impl.cc base::Time::FromDoubleT(element.modificationTime)); base 441 content/child/web_url_loader_impl.cc base::Time::FromDoubleT(element.modificationTime)); base 561 content/child/web_url_loader_impl.cc base::TrimString(boundary, " \"", &boundary); base 612 content/child/web_url_loader_impl.cc const base::TimeTicks& completion_time, base 687 content/child/web_url_loader_impl.cc base::TimeTicks::Now(), 0); base 61 content/child/webblobregistry_impl.cc base::FilePath::FromUTF16Unsafe(data_item.filePath), base 64 content/child/webblobregistry_impl.cc base::Time::FromDoubleT(data_item.expectedModificationTime)); base 89 content/child/webblobregistry_impl.cc base::Time::FromDoubleT(data_item.expectedModificationTime)); base 133 content/child/webblobregistry_impl.cc scoped_ptr<base::SharedMemory> shared_memory( base 179 content/child/webblobregistry_impl.cc scoped_ptr<base::SharedMemory> shared_memory( base 179 content/child/webcrypto/jwk.cc base::LazyInstance<JwkAlgorithmRegistry> jwk_alg_registry = base 207 content/child/webcrypto/jwk.cc Status GetJwkString(base::DictionaryValue* dict, base 210 content/child/webcrypto/jwk.cc base::Value* value = NULL; base 222 content/child/webcrypto/jwk.cc Status GetOptionalJwkString(base::DictionaryValue* dict, base 227 content/child/webcrypto/jwk.cc base::Value* value = NULL; base 242 content/child/webcrypto/jwk.cc Status GetOptionalJwkList(base::DictionaryValue* dict, base 244 content/child/webcrypto/jwk.cc base::ListValue** result, base 247 content/child/webcrypto/jwk.cc base::Value* value = NULL; base 261 content/child/webcrypto/jwk.cc Status GetJwkBytes(base::DictionaryValue* dict, base 279 content/child/webcrypto/jwk.cc Status GetOptionalJwkBool(base::DictionaryValue* dict, base 284 content/child/webcrypto/jwk.cc base::Value* value = NULL; base 303 content/child/webcrypto/jwk.cc base::DictionaryValue* jwk_dict) { base 312 content/child/webcrypto/jwk.cc const base::StringPiece key_str(static_cast<const char*>(raw_key.data()), base 320 content/child/webcrypto/jwk.cc base::DictionaryValue* jwk_dict) { base 331 content/child/webcrypto/jwk.cc base::DictionaryValue* jwk_dict) { base 336 content/child/webcrypto/jwk.cc void WriteExt(bool extractable, base::DictionaryValue* jwk_dict) { base 342 content/child/webcrypto/jwk.cc base::DictionaryValue* jwk_dict) { base 379 content/child/webcrypto/jwk.cc base::StringPrintf("%s%s", aes_prefix, aes_suffix)); base 634 content/child/webcrypto/jwk.cc base::StringPiece json_string(reinterpret_cast<const char*>(key_data.bytes()), base 636 content/child/webcrypto/jwk.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json_string)); base 638 content/child/webcrypto/jwk.cc base::DictionaryValue* dict_value = NULL; base 692 content/child/webcrypto/jwk.cc base::ListValue* jwk_key_ops_value = NULL; base 796 content/child/webcrypto/jwk.cc base::DictionaryValue jwk_dict; base 837 content/child/webcrypto/jwk.cc base::JSONWriter::Write(&jwk_dict, &json); base 90 content/child/webcrypto/platform_crypto_nss.cc friend struct base::DefaultLazyInstanceTraits<AesGcmSupport>; base 114 content/child/webcrypto/platform_crypto_nss.cc base::LazyInstance<AesGcmSupport>::Leaky g_aes_gcm_support = base 156 content/child/webcrypto/shared_crypto_unittest.cc base::HexStringToBytes(hex, &bytes); base 163 content/child/webcrypto/shared_crypto_unittest.cc if (base::HexEncode(webcrypto::Uint8VectorStart(expected), expected.size()) == base 164 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(actual.data(), actual.byteLength())) base 173 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(actual.bytes(), actual.byte_length()).c_str()); base 184 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(webcrypto::Uint8VectorStart(expected), expected.size()), base 185 content/child/webcrypto/shared_crypto_unittest.cc base::HexEncode(webcrypto::Uint8VectorStart(actual), actual.size())); base 192 content/child/webcrypto/shared_crypto_unittest.cc std::vector<uint8> MakeJsonVector(const base::DictionaryValue& dict) { base 194 content/child/webcrypto/shared_crypto_unittest.cc base::JSONWriter::Write(&dict, &json); base 205 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::Value>* value) { base 206 content/child/webcrypto/shared_crypto_unittest.cc base::FilePath test_data_dir; base 210 content/child/webcrypto/shared_crypto_unittest.cc base::FilePath file_path = base 214 content/child/webcrypto/shared_crypto_unittest.cc if (!base::ReadFileToString(file_path, &file_contents)) { base 224 content/child/webcrypto/shared_crypto_unittest.cc value->reset(base::JSONReader::Read(file_contents)); base 236 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue>* list) { base 238 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::Value> json; base 244 content/child/webcrypto/shared_crypto_unittest.cc base::ListValue* list_value = NULL; base 259 content/child/webcrypto/shared_crypto_unittest.cc std::vector<uint8> GetBytesFromHexString(base::DictionaryValue* dict, base 272 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoAlgorithm GetDigestAlgorithm(base::DictionaryValue* dict, base 298 content/child/webcrypto/shared_crypto_unittest.cc void RestoreJwkOctDictionary(base::DictionaryValue* dict) { base 309 content/child/webcrypto/shared_crypto_unittest.cc void RestoreJwkRsaDictionary(base::DictionaryValue* dict) { base 532 content/child/webcrypto/shared_crypto_unittest.cc Status ImportKeyJwkFromDict(const base::DictionaryValue& dict, base 545 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::DictionaryValue> GetJwkDictionary( base 547 content/child/webcrypto/shared_crypto_unittest.cc base::StringPiece json_string(reinterpret_cast<const char*>(json.data()), base 549 content/child/webcrypto/shared_crypto_unittest.cc base::Value* value = base::JSONReader::Read(json_string); base 551 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* dict_value = NULL; base 553 content/child/webcrypto/shared_crypto_unittest.cc return scoped_ptr<base::DictionaryValue>(dict_value); base 559 content/child/webcrypto/shared_crypto_unittest.cc const scoped_ptr<base::DictionaryValue>& dict, base 591 content/child/webcrypto/shared_crypto_unittest.cc base::ListValue* key_ops; base 613 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::DictionaryValue> dict = GetJwkDictionary(json); base 624 content/child/webcrypto/shared_crypto_unittest.cc if (!LowerCaseEqualsASCII(base::HexEncode(k_value.data(), k_value.size()), base 642 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::DictionaryValue> dict = GetJwkDictionary(json); base 653 content/child/webcrypto/shared_crypto_unittest.cc if (base::HexEncode(n_value.data(), n_value.size()) != n_expected_hex) { base 665 content/child/webcrypto/shared_crypto_unittest.cc if (!LowerCaseEqualsASCII(base::HexEncode(e_value.data(), e_value.size()), base 699 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 704 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 720 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 725 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 758 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 763 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 923 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 928 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 1107 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue dict; base 1119 content/child/webcrypto/shared_crypto_unittest.cc base::ListValue* key_ops = new base::ListValue; base 1247 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue dict; base 1318 content/child/webcrypto/shared_crypto_unittest.cc base::ListValue* key_ops = new base::ListValue; base 1328 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue dict; base 1458 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue dict; base 1521 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue dict; base 1639 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue dict; base 2150 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::Value> json; base 2152 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test = NULL; base 2417 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 2443 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 2552 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 2554 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 2596 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 2601 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 2660 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 2662 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 2713 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 2715 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 2811 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::ListValue> tests; base 2817 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test; base 2921 content/child/webcrypto/shared_crypto_unittest.cc scoped_ptr<base::Value> json; base 2923 content/child/webcrypto/shared_crypto_unittest.cc base::DictionaryValue* test = NULL; base 56 content/child/webcrypto/webcrypto_util.cc return base::Base64Decode(base64EncodedText, output); base 61 content/child/webcrypto/webcrypto_util.cc std::string Base64EncodeUrlSafe(const base::StringPiece& input) { base 63 content/child/webcrypto/webcrypto_util.cc base::Base64Encode(input, &output); base 71 content/child/webcrypto/webcrypto_util.cc const base::StringPiece string_piece( base 105 content/child/webcrypto/webcrypto_util.cc const base::ListValue* jwk_key_ops_value, base 112 content/child/webcrypto/webcrypto_util.cc base::StringPrintf("key_ops[%d]", static_cast<int>(i)), "string"); base 122 content/child/webcrypto/webcrypto_util.cc base::ListValue* CreateJwkKeyOpsFromWebCryptoUsages( base 124 content/child/webcrypto/webcrypto_util.cc base::ListValue* jwk_key_ops = new base::ListValue(); base 46 content/child/webcrypto/webcrypto_util.h std::string Base64EncodeUrlSafe(const base::StringPiece& input); base 51 content/child/webcrypto/webcrypto_util.h const base::ListValue* jwk_key_ops_value, base 55 content/child/webcrypto/webcrypto_util.h base::ListValue* CreateJwkKeyOpsFromWebCryptoUsages( base 34 content/child/webfileutilities_impl.cc base::File::Info file_info; base 35 content/child/webfileutilities_impl.cc if (!base::GetFileInfo(base::FilePath::FromUTF16Unsafe(path), base 36 content/child/webfileutilities_impl.cc reinterpret_cast<base::File::Info*>(&file_info))) base 45 content/child/webfileutilities_impl.cc return base::FilePath::FromUTF16Unsafe(path).DirName().AsUTF16Unsafe(); base 49 content/child/webfileutilities_impl.cc return base::FilePath::FromUTF16Unsafe(path).BaseName().AsUTF16Unsafe(); base 53 content/child/webfileutilities_impl.cc return net::FilePathToFileURL(base::FilePath::FromUTF16Unsafe(path)); base 23 content/child/webmessageportchannel_impl.cc base::MessageLoopProxy* child_thread_loop) base 35 content/child/webmessageportchannel_impl.cc base::MessageLoopProxy* child_thread_loop) base 83 content/child/webmessageportchannel_impl.cc base::AutoLock auto_lock(lock_); base 110 content/child/webmessageportchannel_impl.cc base::Bind( base 118 content/child/webmessageportchannel_impl.cc const base::string16& message, base 128 content/child/webmessageportchannel_impl.cc base::AutoLock auto_lock(lock_); base 148 content/child/webmessageportchannel_impl.cc FROM_HERE, base::Bind(&WebMessagePortChannelImpl::Init, this)); base 166 content/child/webmessageportchannel_impl.cc base::Bind(&WebMessagePortChannelImpl::Entangle, this, channel)); base 177 content/child/webmessageportchannel_impl.cc FROM_HERE, base::Bind(&WebMessagePortChannelImpl::QueueMessages, this)); base 198 content/child/webmessageportchannel_impl.cc base::Bind(&WebMessagePortChannelImpl::Send, this, message)); base 216 content/child/webmessageportchannel_impl.cc const base::string16& message, base 219 content/child/webmessageportchannel_impl.cc base::AutoLock auto_lock(lock_); base 241 content/child/webmessageportchannel_impl.cc base::AutoLock auto_lock(lock_); base 244 content/child/webmessageportchannel_impl.cc base::string16 message = message_queue_.front().message; base 18 content/child/webmessageportchannel_impl.h namespace base { base 29 content/child/webmessageportchannel_impl.h public base::RefCountedThreadSafe<WebMessagePortChannelImpl> { base 31 content/child/webmessageportchannel_impl.h explicit WebMessagePortChannelImpl(base::MessageLoopProxy* child_thread_loop); base 34 content/child/webmessageportchannel_impl.h base::MessageLoopProxy* child_thread_loop); base 47 content/child/webmessageportchannel_impl.h friend class base::RefCountedThreadSafe<WebMessagePortChannelImpl>; base 62 content/child/webmessageportchannel_impl.h void PostMessage(const base::string16& message, base 68 content/child/webmessageportchannel_impl.h void OnMessage(const base::string16& message, base 77 content/child/webmessageportchannel_impl.h base::string16 message; base 85 content/child/webmessageportchannel_impl.h base::Lock lock_; // Locks access to above. base 89 content/child/webmessageportchannel_impl.h scoped_refptr<base::MessageLoopProxy> child_thread_loop_; base 22 content/child/webthread_impl.cc : public base::MessageLoop::TaskObserver { base 27 content/child/webthread_impl.cc virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 31 content/child/webthread_impl.cc virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 45 content/child/webthread_impl.cc base::MessageLoop::current()->AddTaskObserver(result.first->second); base 53 content/child/webthread_impl.cc base::MessageLoop::current()->RemoveTaskObserver(iter->second); base 59 content/child/webthread_impl.cc : thread_(new base::Thread(name)) { base 65 content/child/webthread_impl.cc FROM_HERE, base::Bind(&blink::WebThread::Task::run, base::Owned(task))); base 71 content/child/webthread_impl.cc base::Bind(&blink::WebThread::Task::run, base::Owned(task)), base 72 content/child/webthread_impl.cc base::TimeDelta::FromMilliseconds(delay_ms)); base 88 content/child/webthread_impl.cc return thread_->thread_id() == base::PlatformThread::CurrentId(); base 96 content/child/webthread_impl.cc base::MessageLoopProxy* message_loop) base 101 content/child/webthread_impl.cc FROM_HERE, base::Bind(&blink::WebThread::Task::run, base::Owned(task))); base 108 content/child/webthread_impl.cc base::Bind(&blink::WebThread::Task::run, base::Owned(task)), base 109 content/child/webthread_impl.cc base::TimeDelta::FromMilliseconds(delay_ms)); base 115 content/child/webthread_impl.cc CHECK(!base::MessageLoop::current()->is_running()); base 116 content/child/webthread_impl.cc base::MessageLoop::current()->Run(); base 121 content/child/webthread_impl.cc CHECK(base::MessageLoop::current()->is_running()); base 122 content/child/webthread_impl.cc base::MessageLoop::current()->Quit(); base 47 content/child/webthread_impl.h base::MessageLoop* message_loop() const { return thread_->message_loop(); } base 51 content/child/webthread_impl.h scoped_ptr<base::Thread> thread_; base 57 content/child/webthread_impl.h base::MessageLoopProxy* message_loop); base 68 content/child/webthread_impl.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 21 content/child/worker_task_runner.cc RunClosureTask(const base::Closure& task) : task_(task) {} base 27 content/child/worker_task_runner.cc base::Closure task_; base 48 content/child/worker_task_runner.cc int id, const base::Closure& closure) { base 50 content/child/worker_task_runner.cc base::AutoLock locker(loop_map_lock_); base 57 content/child/worker_task_runner.cc int WorkerTaskRunner::PostTaskToAllThreads(const base::Closure& closure) { base 58 content/child/worker_task_runner.cc base::AutoLock locker(loop_map_lock_); base 72 content/child/worker_task_runner.cc static base::LazyInstance<WorkerTaskRunner>::Leaky base 95 content/child/worker_task_runner.cc base::AutoLock locker_(loop_map_lock_); base 104 content/child/worker_task_runner.cc base::AutoLock locker(loop_map_lock_); base 23 content/child/worker_task_runner.h bool PostTask(int id, const base::Closure& task); base 24 content/child/worker_task_runner.h int PostTaskToAllThreads(const base::Closure& task); base 50 content/child/worker_task_runner.h base::ThreadLocalPointer<ThreadLocalState> current_tls_; base 52 content/child/worker_task_runner.h base::AtomicSequenceNumber id_sequence_; base 54 content/child/worker_task_runner.h base::Lock loop_map_lock_; base 25 content/child/worker_thread_task_runner.cc const base::Closure& task, base 26 content/child/worker_thread_task_runner.cc base::TimeDelta delay) { base 16 content/child/worker_thread_task_runner.h class WorkerThreadTaskRunner : public base::TaskRunner { base 26 content/child/worker_thread_task_runner.h const base::Closure& task, base 27 content/child/worker_thread_task_runner.h base::TimeDelta delay) OVERRIDE; base 35 content/common/android/address_parser.cc const base::char16 kNewlineDelimiters[] = { base 51 content/common/android/address_parser.cc bool FindAddress(const base::string16& text, base::string16* address) { base 61 content/common/android/address_parser.cc bool FindAddress(const base::string16::const_iterator& begin, base 62 content/common/android/address_parser.cc const base::string16::const_iterator& end, base 73 content/common/android/address_parser.cc const base::string16 newline_delimiters = kNewlineDelimiters; base 74 content/common/android/address_parser.cc const base::string16 delimiters = base::kWhitespaceUTF16 + newline_delimiters; base 75 content/common/android/address_parser.cc for (base::string16::const_iterator it = begin; it != end; ) { base 104 content/common/android/address_parser.cc *tokenizer.token_begin()) != base::string16::npos) { base 20 content/common/android/address_parser.h bool FindAddress(const base::string16& text, base::string16* address); base 26 content/common/android/address_parser.h CONTENT_EXPORT bool FindAddress(const base::string16::const_iterator& begin, base 27 content/common/android/address_parser.h const base::string16::const_iterator& end, base 23 content/common/android/address_parser_internal.cc base::char16 SafePreviousChar(const base::string16::const_iterator& it, base 24 content/common/android/address_parser_internal.cc const base::string16::const_iterator& begin) { base 30 content/common/android/address_parser_internal.cc base::char16 SafeNextChar(const base::string16::const_iterator& it, base 31 content/common/android/address_parser_internal.cc const base::string16::const_iterator& end) { base 37 content/common/android/address_parser_internal.cc bool WordLowerCaseEqualsASCII(base::string16::const_iterator word_begin, base 38 content/common/android/address_parser_internal.cc base::string16::const_iterator word_end, const char* ascii_to_match) { base 39 content/common/android/address_parser_internal.cc for (base::string16::const_iterator it = word_begin; it != word_end; base 41 content/common/android/address_parser_internal.cc if (!*ascii_to_match || base::ToLowerASCII(*it) != *ascii_to_match) base 47 content/common/android/address_parser_internal.cc bool LowerCaseEqualsASCIIWithPlural(base::string16::const_iterator word_begin, base 48 content/common/android/address_parser_internal.cc base::string16::const_iterator word_end, const char* ascii_to_match, base 50 content/common/android/address_parser_internal.cc for (base::string16::const_iterator it = word_begin; it != word_end; base 55 content/common/android/address_parser_internal.cc if (!*ascii_to_match || base::ToLowerASCII(*it) != *ascii_to_match) base 69 content/common/android/address_parser_internal.cc Word::Word(const base::string16::const_iterator& begin, base 70 content/common/android/address_parser_internal.cc const base::string16::const_iterator& end) base 76 content/common/android/address_parser_internal.cc bool HouseNumberParser::IsPreDelimiter(base::char16 character) { base 80 content/common/android/address_parser_internal.cc bool HouseNumberParser::IsPostDelimiter(base::char16 character) { base 118 content/common/android/address_parser_internal.cc const base::string16::const_iterator& begin, base 119 content/common/android/address_parser_internal.cc const base::string16::const_iterator& end, Word* word) { base 164 content/common/android/address_parser_internal.cc base::char16 previous = SafePreviousChar(it_, begin_); base 167 content/common/android/address_parser_internal.cc base::char16 next = SafeNextChar(it_, end_); base 175 content/common/android/address_parser_internal.cc base::char16 last_digit = previous; base 176 content/common/android/address_parser_internal.cc base::char16 first_letter = base::ToLowerASCII(*it_); base 177 content/common/android/address_parser_internal.cc base::char16 second_letter = base::ToLowerASCII(next); base 351 content/common/android/address_parser_internal.cc base::char16 first_letter = base::ToLowerASCII(*first_word.begin); base 360 content/common/android/address_parser_internal.cc base::char16 second_letter = base::ToLowerASCII(*(first_word.begin + 1)); base 420 content/common/android/address_parser_internal.cc for (base::string16::const_iterator it = word.begin; it != word.end; ++it) { base 599 content/common/android/address_parser_internal.cc base::char16 first_letter = base::ToLowerASCII(*word.begin); base 22 content/common/android/address_parser_internal.h base::string16::const_iterator begin; base 23 content/common/android/address_parser_internal.h base::string16::const_iterator end; base 26 content/common/android/address_parser_internal.h Word(const base::string16::const_iterator& begin, base 27 content/common/android/address_parser_internal.h const base::string16::const_iterator& end); base 35 content/common/android/address_parser_internal.h bool Parse(const base::string16::const_iterator& begin, base 36 content/common/android/address_parser_internal.h const base::string16::const_iterator& end, base 40 content/common/android/address_parser_internal.h static inline bool IsPreDelimiter(base::char16 character); base 41 content/common/android/address_parser_internal.h static inline bool IsPostDelimiter(base::char16 character); base 51 content/common/android/address_parser_internal.h base::string16::const_iterator begin_; base 52 content/common/android/address_parser_internal.h base::string16::const_iterator it_; base 53 content/common/android/address_parser_internal.h base::string16::const_iterator end_; base 66 content/common/android/address_parser_internal.h typedef base::StringTokenizerT<base::string16, base::string16::const_iterator> base 19 content/common/android/address_parser_unittest.cc void TokenizeWords(const base::string16& content, WordList* words) const { base 21 content/common/android/address_parser_unittest.cc base::kWhitespaceUTF16); base 28 content/common/android/address_parser_unittest.cc base::string16 content_16 = base::UTF8ToUTF16(content); base 29 content/common/android/address_parser_unittest.cc base::string16 result; base 34 content/common/android/address_parser_unittest.cc result = base::string16(word.begin, word.end); base 35 content/common/android/address_parser_unittest.cc return base::UTF16ToUTF8(result); base 43 content/common/android/address_parser_unittest.cc base::string16 state_16 = base::UTF8ToUTF16(state); base 45 content/common/android/address_parser_unittest.cc base::kWhitespaceUTF16); base 65 content/common/android/address_parser_unittest.cc base::string16 zip_16 = base::UTF8ToUTF16(zip); base 73 content/common/android/address_parser_unittest.cc base::string16 street_16 = base::UTF8ToUTF16(street); base 81 content/common/android/address_parser_unittest.cc base::string16 content_16 = base::UTF8ToUTF16(content); base 82 content/common/android/address_parser_unittest.cc base::string16 result_16; base 86 content/common/android/address_parser_unittest.cc return base::UTF16ToUTF8(result_16); base 13 content/common/android/common_jni_registrar.cc base::android::RegistrationMethod kContentRegisteredMethods[] = { base 12 content/common/android/device_telephony_info.cc using base::android::AttachCurrentThread; base 13 content/common/android/device_telephony_info.cc using base::android::ConvertJavaStringToUTF8; base 14 content/common/android/device_telephony_info.cc using base::android::ScopedJavaLocalRef; base 21 content/common/android/device_telephony_info.cc base::android::GetApplicationContext())); base 30 content/common/android/device_telephony_info.h base::android::ScopedJavaGlobalRef<jobject> j_device_info_; base 14 content/common/android/hash_set.cc const base::android::JavaRef<jobject>& hash_set, base 15 content/common/android/hash_set.cc const base::android::JavaRef<jobject>& object) { base 20 content/common/android/hash_set.cc const base::android::JavaRef<jobject>& hash_set, base 21 content/common/android/hash_set.cc const base::android::JavaRef<jobject>& object) { base 26 content/common/android/hash_set.cc const base::android::JavaRef<jobject>& hash_set) { base 14 content/common/android/hash_set.h const base::android::JavaRef<jobject>& hash_set, base 15 content/common/android/hash_set.h const base::android::JavaRef<jobject>& object); base 18 content/common/android/hash_set.h const base::android::JavaRef<jobject>& hash_set, base 19 content/common/android/hash_set.h const base::android::JavaRef<jobject>& object); base 22 content/common/android/hash_set.h const base::android::JavaRef<jobject>& hash_set); base 22 content/common/android/surface_texture_peer.h base::ProcessHandle pid, base 56 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(base::SharedMemoryHandle, damage_buffer_handle) base 192 content/common/browser_plugin/browser_plugin_messages.h base::DictionaryValue /* extra_params */) base 36 content/common/cc_messages_perftest.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 37 content/common/cc_messages_perftest.cc base::TimeTicks end = base 38 content/common/cc_messages_perftest.cc start + base::TimeDelta::FromMilliseconds(kTimeLimitMillis); base 39 content/common/cc_messages_perftest.cc base::TimeDelta min_time; base 48 content/common/cc_messages_perftest.cc base::TimeTicks now = base::TimeTicks::HighResNow(); base 49 content/common/cc_messages_perftest.cc if (now - start < min_time || min_time == base::TimeDelta()) base 51 content/common/cc_messages_perftest.cc start = base::TimeTicks::HighResNow(); base 757 content/common/cc_messages_unittest.cc frame_in.handle = reinterpret_cast<base::SharedMemoryHandle>(23); base 759 content/common/cc_messages_unittest.cc frame_in.handle = base::FileDescriptor(23, true); base 783 content/common/cc_messages_unittest.cc frame_in.handle = reinterpret_cast<base::SharedMemoryHandle>(23); base 785 content/common/cc_messages_unittest.cc frame_in.handle = base::FileDescriptor(23, true); base 42 content/common/child_process_host_impl.cc base::FilePath TransformPathForFeature(const base::FilePath& path, base 46 content/common/child_process_host_impl.cc base::FilePath macos_path = path.DirName(); base 50 content/common/child_process_host_impl.cc base::FilePath contents_path = macos_path.DirName(); base 54 content/common/child_process_host_impl.cc base::FilePath helper_app_path = contents_path.DirName(); base 60 content/common/child_process_host_impl.cc base::FilePath root_path = helper_app_path.DirName(); base 68 content/common/child_process_host_impl.cc base::FilePath new_path = root_path.Append(new_basename_app) base 78 content/common/child_process_host_impl.cc base::StaticAtomicSequenceNumber g_unique_id; base 92 content/common/child_process_host_impl.cc base::FilePath ChildProcessHost::GetChildPath(int flags) { base 93 content/common/child_process_host_impl.cc base::FilePath child_path; base 105 content/common/child_process_host_impl.cc child_path = base::FilePath(base::kProcSelfExe); base 137 content/common/child_process_host_impl.cc peer_handle_(base::kNullProcessHandle), base 150 content/common/child_process_host_impl.cc base::CloseProcessHandle(peer_handle_); base 204 content/common/child_process_host_impl.cc size_t buffer_size, base::ProcessHandle child_process_handle, base 205 content/common/child_process_host_impl.cc base::SharedMemoryHandle* shared_memory_handle) { base 206 content/common/child_process_host_impl.cc base::SharedMemory shared_buf; base 208 content/common/child_process_host_impl.cc *shared_memory_handle = base::SharedMemory::NULLHandle(); base 274 content/common/child_process_host_impl.cc !base::OpenPrivilegedProcessHandle(peer_pid, &peer_handle_) && base 297 content/common/child_process_host_impl.cc base::SharedMemoryHandle* handle) { base 21 content/common/child_process_host_impl.h namespace base { base 42 content/common/child_process_host_impl.h size_t buffer_size, base::ProcessHandle child_process, base 43 content/common/child_process_host_impl.h base::SharedMemoryHandle* handle); base 79 content/common/child_process_host_impl.h base::SharedMemoryHandle* handle); base 86 content/common/child_process_host_impl.h base::ProcessHandle peer_handle_; base 158 content/common/child_process_messages.h base::SharedMemoryHandle) base 165 content/common/child_process_messages.h base::SharedMemoryHandle) base 170 content/common/child_process_messages.h base::SharedMemoryHandle, base 124 content/common/child_process_sandbox_support_impl_linux.cc data_length = base::checked_cast<size_t>(st.st_size); base 133 content/common/child_process_sandbox_support_impl_linux.cc num_tables = base::NetToHost16(num_tables); base 141 content/common/child_process_sandbox_support_impl_linux.cc if (n != base::checked_cast<ssize_t>(directory_size)) base 150 content/common/child_process_sandbox_support_impl_linux.cc base::NetToHost32(*reinterpret_cast<uint32_t*>(entry + 8)); base 152 content/common/child_process_sandbox_support_impl_linux.cc base::NetToHost32(*reinterpret_cast<uint32_t*>(entry + 12)); base 162 content/common/child_process_sandbox_support_impl_linux.cc offset = std::min(offset, base::checked_cast<off_t>(data_length)); base 176 content/common/child_process_sandbox_support_impl_linux.cc if (n != base::checked_cast<ssize_t>(data_length)) base 34 content/common/child_process_sandbox_support_impl_linux.h return kSandboxIPCChannel + base::GlobalDescriptors::kBaseDescriptor; base 32 content/common/clipboard_messages.h base::SharedMemoryHandle /* bitmap handle */) base 44 content/common/clipboard_messages.h std::vector<base::string16> /* types */, base 48 content/common/clipboard_messages.h base::string16 /* result */) base 51 content/common/clipboard_messages.h base::string16 /* markup */, base 60 content/common/clipboard_messages.h base::SharedMemoryHandle /* PNG-encoded image */, base 64 content/common/clipboard_messages.h base::string16 /* type */, base 65 content/common/clipboard_messages.h base::string16 /* result */) base 69 content/common/clipboard_messages.h base::string16 /* text */) base 126 content/common/common_param_traits_unittest.cc base::ListValue input; base 127 content/common/common_param_traits_unittest.cc input.Set(0, new base::FundamentalValue(42.42)); base 128 content/common/common_param_traits_unittest.cc input.Set(1, new base::StringValue("forty")); base 129 content/common/common_param_traits_unittest.cc input.Set(2, base::Value::CreateNullValue()); base 134 content/common/common_param_traits_unittest.cc base::ListValue output; base 148 content/common/common_param_traits_unittest.cc base::DictionaryValue input; base 149 content/common/common_param_traits_unittest.cc input.Set("null", base::Value::CreateNullValue()); base 150 content/common/common_param_traits_unittest.cc input.Set("bool", new base::FundamentalValue(true)); base 151 content/common/common_param_traits_unittest.cc input.Set("int", new base::FundamentalValue(42)); base 153 content/common/common_param_traits_unittest.cc scoped_ptr<base::DictionaryValue> subdict(new base::DictionaryValue()); base 154 content/common/common_param_traits_unittest.cc subdict->Set("str", new base::StringValue("forty two")); base 155 content/common/common_param_traits_unittest.cc subdict->Set("bool", new base::FundamentalValue(false)); base 157 content/common/common_param_traits_unittest.cc scoped_ptr<base::ListValue> sublist(new base::ListValue()); base 158 content/common/common_param_traits_unittest.cc sublist->Set(0, new base::FundamentalValue(42.42)); base 159 content/common/common_param_traits_unittest.cc sublist->Set(1, new base::StringValue("forty")); base 160 content/common/common_param_traits_unittest.cc sublist->Set(2, new base::StringValue("two")); base 168 content/common/common_param_traits_unittest.cc base::DictionaryValue output; base 24 content/common/content_ipc_logging.cc base::LazyInstance<base::hash_map<uint32, LogFunction> >::Leaky base 31 content/common/content_param_traits.cc l->append(base::StringPrintf("(%" PRIuS ", %" PRIuS ")", r.start(), r.end())); base 13 content/common/content_paths.cc bool PathProvider(int key, base::FilePath* result) { base 16 content/common/content_paths.cc return PathService::Get(base::FILE_EXE, result); base 18 content/common/content_paths.cc base::FilePath cur; base 19 content/common/content_paths.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur)) base 24 content/common/content_paths.cc if (!base::PathExists(cur)) // we don't want to create this base 32 content/common/content_paths.cc *result = base::mac::FrameworkBundlePath(); base 36 content/common/content_paths.cc return PathService::Get(base::DIR_MODULE, result); base 24 content/common/content_switches_internal.cc return base::win::GetVersion() >= base::win::VERSION_WIN8; base 18 content/common/database_messages.h base::string16 /* the database name */, base 33 content/common/database_messages.h base::string16 /* the database name */) base 39 content/common/database_messages.h base::string16 /* vfs file name */, base 45 content/common/database_messages.h base::string16 /* vfs file name */, base 51 content/common/database_messages.h base::string16 /* vfs file name */, base 56 content/common/database_messages.h base::string16 /* vfs file name */, base 67 content/common/database_messages.h base::string16 /* database name */, base 68 content/common/database_messages.h base::string16 /* database description */, base 74 content/common/database_messages.h base::string16 /* database name */) base 79 content/common/database_messages.h base::string16 /* database name */) base 84 content/common/database_messages.h base::string16 /* database name */, base 24 content/common/date_time_suggestion.h base::string16 localized_value; base 26 content/common/date_time_suggestion.h base::string16 label; base 34 content/common/desktop_notification_messages.h base::string16 /* message */) base 23 content/common/device_orientation/device_motion_messages.h base::SharedMemoryHandle /* handle */) base 21 content/common/device_orientation/device_orientation_messages.h base::SharedMemoryHandle /* handle */) base 13 content/common/dom_storage/dom_storage_map.cc size_t size_of_item(const base::string16& key, const base::string16& value) { base 14 content/common/dom_storage/dom_storage_map.cc return (key.length() + value.length()) * sizeof(base::char16); base 42 content/common/dom_storage/dom_storage_map.cc base::NullableString16 DOMStorageMap::Key(unsigned index) { base 44 content/common/dom_storage/dom_storage_map.cc return base::NullableString16(); base 54 content/common/dom_storage/dom_storage_map.cc return base::NullableString16(key_iterator_->first, false); base 57 content/common/dom_storage/dom_storage_map.cc base::NullableString16 DOMStorageMap::GetItem(const base::string16& key) const { base 60 content/common/dom_storage/dom_storage_map.cc return base::NullableString16(); base 65 content/common/dom_storage/dom_storage_map.cc const base::string16& key, const base::string16& value, base 66 content/common/dom_storage/dom_storage_map.cc base::NullableString16* old_value) { base 69 content/common/dom_storage/dom_storage_map.cc *old_value = base::NullableString16(); base 83 content/common/dom_storage/dom_storage_map.cc values_[key] = base::NullableString16(value, false); base 90 content/common/dom_storage/dom_storage_map.cc const base::string16& key, base 91 content/common/dom_storage/dom_storage_map.cc base::string16* old_value) { base 22 content/common/dom_storage/dom_storage_map.h : public base::RefCountedThreadSafe<DOMStorageMap> { base 27 content/common/dom_storage/dom_storage_map.h base::NullableString16 Key(unsigned index); base 28 content/common/dom_storage/dom_storage_map.h base::NullableString16 GetItem(const base::string16& key) const; base 29 content/common/dom_storage/dom_storage_map.h bool SetItem(const base::string16& key, const base::string16& value, base 30 content/common/dom_storage/dom_storage_map.h base::NullableString16* old_value); base 31 content/common/dom_storage/dom_storage_map.h bool RemoveItem(const base::string16& key, base::string16* old_value); base 50 content/common/dom_storage/dom_storage_map.h friend class base::RefCountedThreadSafe<DOMStorageMap>; base 9 content/common/dom_storage/dom_storage_map_unittest.cc using base::ASCIIToUTF16; base 14 content/common/dom_storage/dom_storage_map_unittest.cc const base::string16 kKey(ASCIIToUTF16("key")); base 15 content/common/dom_storage/dom_storage_map_unittest.cc const base::string16 kValue(ASCIIToUTF16("value")); base 16 content/common/dom_storage/dom_storage_map_unittest.cc const size_t kValueBytes = kValue.size() * sizeof(base::char16); base 18 content/common/dom_storage/dom_storage_map_unittest.cc (kKey.size() + kValue.size()) * sizeof(base::char16); base 19 content/common/dom_storage/dom_storage_map_unittest.cc const base::string16 kKey2(ASCIIToUTF16("key2")); base 20 content/common/dom_storage/dom_storage_map_unittest.cc const size_t kKey2Bytes = kKey2.size() * sizeof(base::char16); base 21 content/common/dom_storage/dom_storage_map_unittest.cc const base::string16 kValue2(ASCIIToUTF16("value2")); base 23 content/common/dom_storage/dom_storage_map_unittest.cc (kKey2.size() + kValue2.size()) * sizeof(base::char16); base 27 content/common/dom_storage/dom_storage_map_unittest.cc base::string16 old_value; base 28 content/common/dom_storage/dom_storage_map_unittest.cc base::NullableString16 old_nullable_value; base 88 content/common/dom_storage/dom_storage_map_unittest.cc const base::string16 kKey = ASCIIToUTF16("test_key"); base 89 content/common/dom_storage/dom_storage_map_unittest.cc const base::string16 kValue = ASCIIToUTF16("test_value"); base 90 content/common/dom_storage/dom_storage_map_unittest.cc const base::string16 kKey2 = ASCIIToUTF16("test_key_2"); base 96 content/common/dom_storage/dom_storage_map_unittest.cc base::string16 old_value; base 97 content/common/dom_storage/dom_storage_map_unittest.cc base::NullableString16 old_nullable_value; base 112 content/common/dom_storage/dom_storage_map_unittest.cc swap[kKey] = base::NullableString16(kValue, false); base 113 content/common/dom_storage/dom_storage_map_unittest.cc swap[kKey2] = base::NullableString16(kValue, false); base 120 content/common/dom_storage/dom_storage_map_unittest.cc EXPECT_FALSE(map->SetItem(kKey, base::string16(kValue + kValue), base 122 content/common/dom_storage/dom_storage_map_unittest.cc EXPECT_TRUE(map->SetItem(kKey, base::string16(), &old_nullable_value)); base 21 content/common/dom_storage/dom_storage_messages.h IPC_STRUCT_MEMBER(base::NullableString16, key) base 24 content/common/dom_storage/dom_storage_messages.h IPC_STRUCT_MEMBER(base::NullableString16, old_value) base 27 content/common/dom_storage/dom_storage_messages.h IPC_STRUCT_MEMBER(base::NullableString16, new_value) base 87 content/common/dom_storage/dom_storage_messages.h base::string16 /* key */, base 88 content/common/dom_storage/dom_storage_messages.h base::string16 /* value */, base 94 content/common/dom_storage/dom_storage_messages.h base::string16 /* key */, base 95 content/common/dom_storage/dom_storage_messages.h base::NullableString16 /* value */) base 101 content/common/dom_storage/dom_storage_messages.h base::string16 /* key */, base 18 content/common/dom_storage/dom_storage_types.h typedef std::map<base::string16, base::NullableString16> DOMStorageValuesMap; base 17 content/common/file_utilities_messages.h base::FilePath /* path */, base 18 content/common/file_utilities_messages.h base::File::Info /* result */, base 19 content/common/file_utilities_messages.h base::File::Error /* status */) base 46 content/common/fileapi/file_system_messages.h base::FilePath /* file_path */, base 52 content/common/fileapi/file_system_messages.h base::File::Info) base 55 content/common/fileapi/file_system_messages.h base::File::Info, base 56 content/common/fileapi/file_system_messages.h base::FilePath /* true platform path */) base 72 content/common/fileapi/file_system_messages.h base::File::Error /* error_code */) base 152 content/common/fileapi/file_system_messages.h base::Time /* last_access_time */, base 153 content/common/fileapi/file_system_messages.h base::Time /* last_modified_time */) base 174 content/common/fileapi/file_system_messages.h base::FilePath /* platform_path */) base 26 content/common/fileapi/webblob_messages.h base::SharedMemoryHandle, base 57 content/common/fileapi/webblob_messages.h base::SharedMemoryHandle, base 16 content/common/font_cache_dispatcher_win.cc typedef std::vector<base::string16> FontNameVector; base 26 content/common/font_cache_dispatcher_win.cc typedef std::map<base::string16, FontCache::CacheElement> FontNameToElement; base 28 content/common/font_cache_dispatcher_win.cc base::AutoLock lock(mutex_); base 44 content/common/font_cache_dispatcher_win.cc base::string16 font_name = font.lfFaceName; base 71 content/common/font_cache_dispatcher_win.cc typedef std::map<base::string16, FontCache::CacheElement> FontNameToElement; base 73 content/common/font_cache_dispatcher_win.cc base::AutoLock lock(mutex_); base 128 content/common/font_cache_dispatcher_win.cc std::map<base::string16, CacheElement> cache_; base 130 content/common/font_cache_dispatcher_win.cc base::Lock mutex_; base 10 content/common/font_list.h namespace base { base 34 content/common/font_list.h scoped_ptr<base::ListValue> GetFontList_SlowBlocking(); base 11 content/common/font_list_android.cc scoped_ptr<base::ListValue> GetFontList_SlowBlocking() { base 12 content/common/font_list_android.cc return scoped_ptr<base::ListValue>(new base::ListValue); base 11 content/common/font_list_ozone.cc scoped_ptr<base::ListValue> GetFontList_SlowBlocking() { base 12 content/common/font_list_ozone.cc return scoped_ptr<base::ListValue>(new base::ListValue); base 17 content/common/font_list_pango.cc scoped_ptr<base::ListValue> GetFontList_SlowBlocking() { base 18 content/common/font_list_pango.cc scoped_ptr<base::ListValue> font_list(new base::ListValue); base 33 content/common/font_list_pango.cc base::ListValue* font_item = new base::ListValue(); base 34 content/common/font_list_pango.cc font_item->Append(new base::StringValue(*iter)); base 35 content/common/font_list_pango.cc font_item->Append(new base::StringValue(*iter)); // localized name. base 20 content/common/font_list_win.cc std::set<base::string16>* font_names = base 21 content/common/font_list_win.cc reinterpret_cast<std::set<base::string16>*>(lparam); base 25 content/common/font_list_win.cc base::string16 face_name(lf.lfFaceName); base 32 content/common/font_list_win.cc scoped_ptr<base::ListValue> GetFontList_SlowBlocking() { base 33 content/common/font_list_win.cc std::set<base::string16> font_names; base 44 content/common/font_list_win.cc scoped_ptr<base::ListValue> font_list(new base::ListValue); base 45 content/common/font_list_win.cc std::set<base::string16>::iterator iter; base 47 content/common/font_list_win.cc base::ListValue* font_item = new base::ListValue(); base 48 content/common/font_list_win.cc font_item->Append(new base::StringValue(*iter)); base 49 content/common/font_list_win.cc font_item->Append(new base::StringValue(*iter)); base 77 content/common/frame_messages.h IPC_STRUCT_MEMBER(base::string16, frame_unique_name) base 82 content/common/frame_messages.h IPC_STRUCT_MEMBER(base::string16, error_description) base 110 content/common/frame_messages.h IPC_STRUCT_MEMBER(base::string16, frame_unique_name) base 207 content/common/frame_messages.h IPC_STRUCT_MEMBER(base::Time, request_time) base 240 content/common/frame_messages.h IPC_STRUCT_MEMBER(base::TimeTicks, browser_navigation_start) base 314 content/common/frame_messages.h base::string16, /* javascript */ base 349 content/common/frame_messages.h base::string16, /* msg */ base 351 content/common/frame_messages.h base::string16 /* source id */ ) base 396 content/common/frame_messages.h base::string16 /* error_description */) base 432 content/common/frame_messages.h base::FilePath /* path */, base 441 content/common/frame_messages.h base::FilePath /* plugin_path */, base 442 content/common/frame_messages.h base::ProcessId /* plugin_pid */) base 488 content/common/frame_messages.h base::TimeTicks /* before_unload_start_time */, base 489 content/common/frame_messages.h base::TimeTicks /* before_unload_end_time */) base 522 content/common/frame_messages.h base::ListValue /* result */) base 21 content/common/gamepad_messages.h base::SharedMemoryHandle /* handle */) base 29 content/common/gamepad_seqlock_unittest.cc base::subtle::Atomic32* ready) { base 41 content/common/gamepad_seqlock_unittest.cc base::subtle::Atomic32 version; base 57 content/common/gamepad_seqlock_unittest.cc base::AtomicRefCount* ready_; base 65 content/common/gamepad_seqlock_unittest.cc base::AtomicRefCount ready = 0; base 88 content/common/gamepad_seqlock_unittest.cc base::AtomicRefCountIncN(&ready, kNumReaderThreads); base 80 content/common/gpu/client/command_buffer_proxy_impl.cc base::Closure callback = echo_tasks_.front(); base 120 content/common/gpu/client/command_buffer_proxy_impl.cc base::Closure callback = it->second; base 126 content/common/gpu/client/command_buffer_proxy_impl.cc const base::Closure& callback) { base 144 content/common/gpu/client/command_buffer_proxy_impl.cc base::SharedMemoryHandle handle = base 146 content/common/gpu/client/command_buffer_proxy_impl.cc if (!base::SharedMemory::IsHandleValid(handle)) base 265 content/common/gpu/client/command_buffer_proxy_impl.cc scoped_ptr<base::SharedMemory> shared_memory( base 277 content/common/gpu/client/command_buffer_proxy_impl.cc base::SharedMemoryHandle handle = base 279 content/common/gpu/client/command_buffer_proxy_impl.cc if (!base::SharedMemory::IsHandleValid(handle)) base 369 content/common/gpu/client/command_buffer_proxy_impl.cc void CommandBufferProxyImpl::Echo(const base::Closure& callback) { base 402 content/common/gpu/client/command_buffer_proxy_impl.cc const base::Closure& callback) { base 417 content/common/gpu/client/command_buffer_proxy_impl.cc const base::Closure& callback) { base 27 content/common/gpu/client/command_buffer_proxy_impl.h namespace base { base 53 content/common/gpu/client/command_buffer_proxy_impl.h public base::SupportsWeakPtr<CommandBufferProxyImpl> { base 64 content/common/gpu/client/command_buffer_proxy_impl.h typedef base::Callback<void( base 113 content/common/gpu/client/command_buffer_proxy_impl.h const base::Closure& callback) OVERRIDE; base 115 content/common/gpu/client/command_buffer_proxy_impl.h const base::Closure& callback) OVERRIDE; base 119 content/common/gpu/client/command_buffer_proxy_impl.h virtual void Echo(const base::Closure& callback) OVERRIDE; base 124 content/common/gpu/client/command_buffer_proxy_impl.h void SetChannelErrorCallback(const base::Closure& callback); base 126 content/common/gpu/client/command_buffer_proxy_impl.h typedef base::Callback<void(const gpu::MemoryAllocation&)> base 150 content/common/gpu/client/command_buffer_proxy_impl.h typedef base::hash_map<uint32, base::Closure> SignalTaskMap; base 179 content/common/gpu/client/command_buffer_proxy_impl.h scoped_ptr<base::SharedMemory> shared_state_shm_; base 189 content/common/gpu/client/command_buffer_proxy_impl.h std::queue<base::Closure> echo_tasks_; base 191 content/common/gpu/client/command_buffer_proxy_impl.h base::Closure channel_error_callback_; base 64 content/common/gpu/client/context_provider_command_buffer.cc base::AutoLock lock(main_thread_lock_); base 108 content/common/gpu/client/context_provider_command_buffer.cc base::StringPrintf("%s-%p", debug_name_.c_str(), context3d_.get()); base 113 content/common/gpu/client/context_provider_command_buffer.cc base::Bind(&ContextProviderCommandBuffer::OnMemoryAllocationChanged, base 114 content/common/gpu/client/context_provider_command_buffer.cc base::Unretained(this))); base 168 content/common/gpu/client/context_provider_command_buffer.cc base::AutoLock lock(main_thread_lock_); base 174 content/common/gpu/client/context_provider_command_buffer.cc base::ResetAndReturn(&lost_context_callback_).Run(); base 208 content/common/gpu/client/context_provider_command_buffer.cc base::AutoLock lock(main_thread_lock_); base 37 content/common/gpu/client/context_provider_command_buffer.h base::AutoLock lock(main_thread_lock_); base 71 content/common/gpu/client/context_provider_command_buffer.h base::ThreadChecker main_thread_checker_; base 72 content/common/gpu/client/context_provider_command_buffer.h base::ThreadChecker context_thread_checker_; base 83 content/common/gpu/client/context_provider_command_buffer.h base::Lock main_thread_lock_; base 112 content/common/gpu/client/gl_helper.cc : public base::SupportsWeakPtr<GLHelper::CopyTextureToImpl> { base 145 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback, base 157 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback); base 167 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback); base 175 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback); base 211 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback_) base 226 content/common/gpu/client/gl_helper.cc base::Callback<void(bool)> callback; base 249 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) base 287 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) base 417 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) { base 466 content/common/gpu/client/gl_helper.cc base::Bind(&CopyTextureToImpl::ReadbackDone, AsWeakPtr(), base 476 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback, base 559 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) { base 686 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) { base 707 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) { base 729 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) { base 909 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) { base 999 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback, base 1008 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) { base 1036 content/common/gpu/client/gl_helper.cc base::Bind(&nullcallback)); base 1043 content/common/gpu/client/gl_helper.cc base::Bind(&nullcallback)); base 1051 content/common/gpu/client/gl_helper.cc base::Bind(&CallbackKeepingVideoFrameAlive, target, callback)); base 1132 content/common/gpu/client/gl_helper.cc const base::Callback<void(bool)>& callback) { base 1174 content/common/gpu/client/gl_helper.cc base::Bind(&nullcallback)); base 1181 content/common/gpu/client/gl_helper.cc base::Bind(&nullcallback)); base 1189 content/common/gpu/client/gl_helper.cc base::Bind(&CallbackKeepingVideoFrameAlive, target, callback)); base 176 content/common/gpu/client/gl_helper.h const base::Callback<void(bool)>& callback); base 195 content/common/gpu/client/gl_helper.h const base::Callback<void(bool)>& callback); base 211 content/common/gpu/client/gl_helper.h const base::Callback<void(bool)>& callback); base 363 content/common/gpu/client/gl_helper.h const base::Callback<void(bool)>& callback) = 0; base 85 content/common/gpu/client/gl_helper_benchmark.cc void LoadPngFileToSkBitmap(const base::FilePath& filename, base 88 content/common/gpu/client/gl_helper_benchmark.cc base::ReadFileToString(base::MakeAbsoluteFilePath(filename), &compressed); base 96 content/common/gpu/client/gl_helper_benchmark.cc void SaveToFile(SkBitmap* bitmap, const base::FilePath& filename) { base 107 content/common/gpu/client/gl_helper_benchmark.cc FILE* f = base::OpenFile(filename, "wb"); base 111 content/common/gpu/client/gl_helper_benchmark.cc base::CloseFile(f); base 196 content/common/gpu/client/gl_helper_benchmark.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 198 content/common/gpu/client/gl_helper_benchmark.cc base::TimeTicks end_time; base 206 content/common/gpu/client/gl_helper_benchmark.cc end_time = base::TimeTicks::Now(); base 219 content/common/gpu/client/gl_helper_benchmark.cc name = base::StringPrintf("scale_%dx%d_to_%dx%d_%s", base 255 content/common/gpu/client/gl_helper_benchmark.cc LoadPngFileToSkBitmap(base::FilePath( base 299 content/common/gpu/client/gl_helper_benchmark.cc std::string filename = base::StringPrintf("testoutput_%s_%d.ppm", base 303 content/common/gpu/client/gl_helper_benchmark.cc SaveToFile(&output_pixels, base::FilePath::FromUTF8Unsafe(filename)); base 316 content/common/gpu/client/gl_helper_benchmark.cc base::TestSuite* suite = new content::ContentTestSuite(argc, argv); base 318 content/common/gpu/client/gl_helper_benchmark.cc base::mac::ScopedNSAutoreleasePool pool; base 38 content/common/gpu/client/gl_helper_scaling.cc class ShaderProgram : public base::RefCounted<ShaderProgram> { base 82 content/common/gpu/client/gl_helper_unittest.cc base::debug::TraceLog::GetInstance()->SetEnabled( base 83 content/common/gpu/client/gl_helper_unittest.cc base::debug::CategoryFilter(filter), base 84 content/common/gpu/client/gl_helper_unittest.cc base::debug::TraceLog::RECORDING_MODE, base 85 content/common/gpu/client/gl_helper_unittest.cc base::debug::TraceLog::RECORD_UNTIL_FULL); base 89 content/common/gpu/client/gl_helper_unittest.cc const base::Callback<void()>& callback, base 91 content/common/gpu/client/gl_helper_unittest.cc const scoped_refptr<base::RefCountedString>& json_events_str, base 106 content/common/gpu/client/gl_helper_unittest.cc base::debug::TraceLog::GetInstance()->SetDisabled(); base 107 content/common/gpu/client/gl_helper_unittest.cc base::RunLoop run_loop; base 108 content/common/gpu/client/gl_helper_unittest.cc base::debug::TraceLog::GetInstance()->Flush( base 109 content/common/gpu/client/gl_helper_unittest.cc base::Bind(&GLHelperTest::TraceDataCB, base 111 content/common/gpu/client/gl_helper_unittest.cc base::Unretained(&json_data))); base 115 content/common/gpu/client/gl_helper_unittest.cc scoped_ptr<base::Value> trace_data(base::JSONReader::Read(json_data)); base 116 content/common/gpu/client/gl_helper_unittest.cc base::ListValue* list; base 119 content/common/gpu/client/gl_helper_unittest.cc base::Value* item = NULL; base 121 content/common/gpu/client/gl_helper_unittest.cc base::DictionaryValue* dict; base 172 content/common/gpu/client/gl_helper_unittest.cc formatted.append(base::StringPrintf("%3d, ", Channel(pixels, x, y, c))); base 183 content/common/gpu/client/gl_helper_unittest.cc ret.append(base::StringPrintf("%dx%d -> %dx%d ", base 630 content/common/gpu/client/gl_helper_unittest.cc std::string message = base::StringPrintf( base 717 content/common/gpu/client/gl_helper_unittest.cc base::StringPrintf( base 796 content/common/gpu/client/gl_helper_unittest.cc static void callcallback(const base::Callback<void()>& callback, base 805 content/common/gpu/client/gl_helper_unittest.cc formatted.append(base::StringPrintf("%3d, ", plane[y * stride + x])); base 986 content/common/gpu/client/gl_helper_unittest.cc base::RunLoop run_loop; base 991 content/common/gpu/client/gl_helper_unittest.cc base::Bind(&callcallback, base 1138 content/common/gpu/client/gl_helper_unittest.cc std::string message = base::StringPrintf( base 1168 content/common/gpu/client/gl_helper_unittest.cc base::TimeDelta::FromSeconds(0)); base 1175 content/common/gpu/client/gl_helper_unittest.cc base::TimeDelta::FromSeconds(0)); base 1177 content/common/gpu/client/gl_helper_unittest.cc base::RunLoop run_loop; base 1181 content/common/gpu/client/gl_helper_unittest.cc base::Bind(&callcallback, run_loop.QuitClosure())); base 1670 content/common/gpu/client/gl_helper_unittest.cc base::TestSuite* suite = new content::ContentTestSuite(argc, argv); base 1672 content/common/gpu/client/gl_helper_unittest.cc base::mac::ScopedNSAutoreleasePool pool; base 1680 content/common/gpu/client/gl_helper_unittest.cc base::MessageLoop message_loop; base 24 content/common/gpu/client/gpu_channel_host.cc using base::AutoLock; base 25 content/common/gpu/client/gpu_channel_host.cc using base::MessageLoopProxy; base 38 content/common/gpu/client/gpu_channel_host.cc base::WaitableEvent* shutdown_event) { base 71 content/common/gpu/client/gpu_channel_host.cc base::WaitableEvent* shutdown_event) { base 74 content/common/gpu/client/gpu_channel_host.cc scoped_refptr<base::MessageLoopProxy> io_loop = factory_->GetIOLoopProxy(); base 111 content/common/gpu/client/gpu_channel_host.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 116 content/common/gpu/client/gpu_channel_host.cc } else if (base::MessageLoop::current()) { base 227 content/common/gpu/client/gpu_channel_host.cc int route_id, base::WeakPtr<IPC::Listener> listener) { base 230 content/common/gpu/client/gpu_channel_host.cc scoped_refptr<base::MessageLoopProxy> io_loop = factory_->GetIOLoopProxy(); base 232 content/common/gpu/client/gpu_channel_host.cc base::Bind(&GpuChannelHost::MessageFilter::AddRoute, base 238 content/common/gpu/client/gpu_channel_host.cc scoped_refptr<base::MessageLoopProxy> io_loop = factory_->GetIOLoopProxy(); base 240 content/common/gpu/client/gpu_channel_host.cc base::Bind(&GpuChannelHost::MessageFilter::RemoveRoute, base 244 content/common/gpu/client/gpu_channel_host.cc base::SharedMemoryHandle GpuChannelHost::ShareToGpuProcess( base 245 content/common/gpu/client/gpu_channel_host.cc base::SharedMemoryHandle source_handle) { base 247 content/common/gpu/client/gpu_channel_host.cc return base::SharedMemory::NULLHandle(); base 251 content/common/gpu/client/gpu_channel_host.cc base::SharedMemoryHandle target_handle; base 257 content/common/gpu/client/gpu_channel_host.cc return base::SharedMemory::NULLHandle(); base 264 content/common/gpu/client/gpu_channel_host.cc return base::SharedMemory::NULLHandle(); base 266 content/common/gpu/client/gpu_channel_host.cc return base::FileDescriptor(duped_handle, true); base 316 content/common/gpu/client/gpu_channel_host.cc base::WeakPtr<IPC::Listener> listener, base 344 content/common/gpu/client/gpu_channel_host.cc base::Bind( base 345 content/common/gpu/client/gpu_channel_host.cc base::IgnoreResult(&IPC::Listener::OnMessageReceived), base 368 content/common/gpu/client/gpu_channel_host.cc base::Bind(&IPC::Listener::OnChannelError, info.listener)); base 34 content/common/gpu/client/gpu_channel_host.h namespace base { base 57 content/common/gpu/client/gpu_channel_host.h base::WeakPtr<IPC::Listener> listener; base 58 content/common/gpu/client/gpu_channel_host.h scoped_refptr<base::MessageLoopProxy> loop; base 63 content/common/gpu/client/gpu_channel_host.h typedef base::Callback<void(const gfx::Size)> CreateImageCallback; base 68 content/common/gpu/client/gpu_channel_host.h virtual base::MessageLoop* GetMainLoop() = 0; base 69 content/common/gpu/client/gpu_channel_host.h virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() = 0; base 70 content/common/gpu/client/gpu_channel_host.h virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) = 0; base 89 content/common/gpu/client/gpu_channel_host.h public base::RefCountedThreadSafe<GpuChannelHost> { base 96 content/common/gpu/client/gpu_channel_host.h base::WaitableEvent* shutdown_event); base 141 content/common/gpu/client/gpu_channel_host.h void AddRoute(int route_id, base::WeakPtr<IPC::Listener> listener); base 149 content/common/gpu/client/gpu_channel_host.h base::SharedMemoryHandle ShareToGpuProcess( base 150 content/common/gpu/client/gpu_channel_host.h base::SharedMemoryHandle source_handle); base 165 content/common/gpu/client/gpu_channel_host.h friend class base::RefCountedThreadSafe<GpuChannelHost>; base 170 content/common/gpu/client/gpu_channel_host.h base::WaitableEvent* shutdown_event); base 181 content/common/gpu/client/gpu_channel_host.h base::WeakPtr<IPC::Listener> listener, base 182 content/common/gpu/client/gpu_channel_host.h scoped_refptr<base::MessageLoopProxy> loop); base 201 content/common/gpu/client/gpu_channel_host.h typedef base::hash_map<int, GpuListenerInfo> ListenerMap; base 205 content/common/gpu/client/gpu_channel_host.h mutable base::Lock lock_; base 227 content/common/gpu/client/gpu_channel_host.h base::AtomicSequenceNumber next_transfer_buffer_id_; base 230 content/common/gpu/client/gpu_channel_host.h base::AtomicSequenceNumber next_gpu_memory_buffer_id_; base 233 content/common/gpu/client/gpu_channel_host.h mutable base::Lock context_lock_; base 235 content/common/gpu/client/gpu_channel_host.h typedef base::hash_map<int, CommandBufferProxyImpl*> ProxyMap; base 18 content/common/gpu/client/gpu_context_tests.h static void RunOnlyOnce(base::Closure cb, int* tmp) { base 26 content/common/gpu/client/gpu_context_tests.h base::RunLoop run_loop; base 33 content/common/gpu/client/gpu_context_tests.h base::RunLoop run_loop; base 36 content/common/gpu/client/gpu_context_tests.h base::Bind( base 37 content/common/gpu/client/gpu_context_tests.h &RunOnlyOnce, run_loop.QuitClosure(), base::Owned(new int(0)))); base 35 content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h base::ScopedCFTypeRef<CFTypeRef> io_surface_; base 18 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc if (!base::SharedMemory::IsHandleValid(handle.handle)) base 20 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc shared_memory_.reset(new base::SharedMemory(handle.handle, false)); base 26 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc scoped_ptr<base::SharedMemory> shared_memory) { base 20 content/common/gpu/client/gpu_memory_buffer_impl_shm.h bool InitializeFromSharedMemory(scoped_ptr<base::SharedMemory> shared_memory); base 28 content/common/gpu/client/gpu_memory_buffer_impl_shm.h scoped_ptr<base::SharedMemory> shared_memory_; base 110 content/common/gpu/client/gpu_video_decode_accelerator_host.cc base::SharedMemoryHandle handle = channel_->ShareToGpuProcess( base 112 content/common/gpu/client/gpu_video_decode_accelerator_host.cc if (!base::SharedMemory::IsHandleValid(handle)) { base 187 content/common/gpu/client/gpu_video_decode_accelerator_host.cc base::MessageLoopProxy::current()->PostTask( base 189 content/common/gpu/client/gpu_video_decode_accelerator_host.cc base::Bind(&GpuVideoDecodeAcceleratorHost::OnNotifyError, base 26 content/common/gpu/client/gpu_video_decode_accelerator_host.h public base::NonThreadSafe { base 92 content/common/gpu/client/gpu_video_decode_accelerator_host.h base::WeakPtrFactory<GpuVideoDecodeAcceleratorHost> weak_this_factory_; base 111 content/common/gpu/client/gpu_video_encode_accelerator_host.cc if (!base::SharedMemory::IsHandleValid(frame->shared_memory_handle())) { base 116 content/common/gpu/client/gpu_video_encode_accelerator_host.cc base::SharedMemoryHandle handle = base 118 content/common/gpu/client/gpu_video_encode_accelerator_host.cc if (!base::SharedMemory::IsHandleValid(handle)) { base 149 content/common/gpu/client/gpu_video_encode_accelerator_host.cc base::SharedMemoryHandle handle = base 151 content/common/gpu/client/gpu_video_encode_accelerator_host.cc if (!base::SharedMemory::IsHandleValid(handle)) { base 192 content/common/gpu/client/gpu_video_encode_accelerator_host.cc base::MessageLoopProxy::current()->PostTask( base 194 content/common/gpu/client/gpu_video_encode_accelerator_host.cc base::Bind(&GpuVideoEncodeAcceleratorHost::OnNotifyError, base 40 content/common/gpu/client/gpu_video_encode_accelerator_host.h public base::NonThreadSafe { base 110 content/common/gpu/client/gpu_video_encode_accelerator_host.h typedef base::hash_map<int32, scoped_refptr<media::VideoFrame> > FrameMap; base 117 content/common/gpu/client/gpu_video_encode_accelerator_host.h base::WeakPtrFactory<GpuVideoEncodeAcceleratorHost> weak_this_factory_; base 44 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc static base::LazyInstance<base::Lock>::Leaky base 50 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc static base::LazyInstance<ShareGroupMap> g_default_share_groups = base 55 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc base::AutoLock lock(g_default_share_groups_lock.Get()); base 69 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc static base::subtle::Atomic32 flush_id = 0; base 71 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc base::subtle::Atomic32 my_id = base::subtle::Barrier_AtomicIncrement( base 93 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc base::LazyInstance<GLES2Initializer> g_gles2_initializer = base 293 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc base::Bind(&WebGraphicsContext3DCommandBufferImpl::OnGpuChannelLost, base 297 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc base::Bind(&WebGraphicsContext3DCommandBufferImpl::OnErrorMessage, base 396 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc scoped_ptr<base::AutoLock> share_group_lock; base 401 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc share_group_lock.reset(new base::AutoLock(share_group_->lock())); base 1395 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc base::AutoLock lock(g_default_share_groups_lock.Get()); base 77 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h class ShareGroup : public base::RefCountedThreadSafe<ShareGroup> { base 97 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h base::AutoLock auto_lock(lock_); base 103 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h base::AutoLock auto_lock(lock_); base 107 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h base::Lock& lock() { base 112 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h friend class base::RefCountedThreadSafe<ShareGroup>; base 116 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h base::Lock lock_; base 761 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h base::WeakPtrFactory<WebGraphicsContext3DCommandBufferImpl> weak_ptr_factory_; base 13 content/common/gpu/devtools_gpu_agent.h using base::TimeTicks; base 24 content/common/gpu/devtools_gpu_agent.h class DevToolsGpuAgent : public base::NonThreadSafe { base 40 content/common/gpu/devtools_gpu_instrumentation.cc TimeTicks timestamp = base::TimeTicks::NowFromSystemTraceTime(); base 18 content/common/gpu/devtools_gpu_instrumentation.h class GpuEventsDispatcher : public base::NonThreadSafe { base 75 content/common/gpu/gpu_channel.cc GpuChannelMessageFilter(base::WeakPtr<GpuChannel>* gpu_channel, base 77 content/common/gpu/gpu_channel.cc scoped_refptr<base::MessageLoopProxy> message_loop) base 121 content/common/gpu/gpu_channel.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 157 content/common/gpu/gpu_channel.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 182 content/common/gpu/gpu_channel.cc base::TimeDelta max_preemption_time_; base 186 content/common/gpu/gpu_channel.cc base::TimeTicks time_received; base 190 content/common/gpu/gpu_channel.cc time_received(base::TimeTicks::Now()) { base 206 content/common/gpu/gpu_channel.cc base::TimeDelta time_elapsed = base 207 content/common/gpu/gpu_channel.cc base::TimeTicks::Now() - pending_messages_.front().time_received; base 212 content/common/gpu/gpu_channel.cc base::TimeDelta::FromMilliseconds(kPreemptWaitTimeMs) - base 250 content/common/gpu/gpu_channel.cc base::TimeDelta time_elapsed = base 251 content/common/gpu/gpu_channel.cc base::TimeTicks::Now() - pending_messages_.front().time_received; base 277 content/common/gpu/gpu_channel.cc base::TimeDelta::FromMilliseconds(kPreemptWaitTimeMs), base 286 content/common/gpu/gpu_channel.cc max_preemption_time_ = base::TimeDelta::FromMilliseconds(kMaxPreemptTimeMs); base 325 content/common/gpu/gpu_channel.cc max_preemption_time_ = timer_.desired_run_time() - base::TimeTicks::Now(); base 326 content/common/gpu/gpu_channel.cc if (max_preemption_time_ < base::TimeDelta()) { base 340 content/common/gpu/gpu_channel.cc base::WeakPtr<GpuChannel>* gpu_channel, base 365 content/common/gpu/gpu_channel.cc base::WeakPtr<GpuChannel>* gpu_channel) { base 372 content/common/gpu/gpu_channel.cc base::WeakPtr<GpuChannel>* gpu_channel_; base 375 content/common/gpu/gpu_channel.cc scoped_refptr<base::MessageLoopProxy> message_loop_; base 383 content/common/gpu/gpu_channel.cc base::OneShotTimer<GpuChannelMessageFilter> timer_; base 416 content/common/gpu/gpu_channel.cc void GpuChannel::Init(base::MessageLoopProxy* io_message_loop, base 417 content/common/gpu/gpu_channel.cc base::WaitableEvent* shutdown_event) { base 429 content/common/gpu/gpu_channel.cc base::WeakPtr<GpuChannel>* weak_ptr(new base::WeakPtr<GpuChannel>( base 435 content/common/gpu/gpu_channel.cc base::MessageLoopProxy::current()); base 529 content/common/gpu/gpu_channel.cc base::MessageLoop::current()->PostTask( base 531 content/common/gpu/gpu_channel.cc base::Bind(&GpuChannel::HandleMessage, weak_factory_.GetWeakPtr())); base 550 content/common/gpu/gpu_channel.cc base::Bind(&GpuChannelMessageFilter::UpdateStubSchedulingState, base 651 content/common/gpu/gpu_channel.cc base::MessageLoop::current()->PostTask( base 652 content/common/gpu/gpu_channel.cc FROM_HERE, base::Bind(&GpuChannel::OnDestroy, this)); base 672 content/common/gpu/gpu_channel.cc FROM_HERE, base::Bind( base 853 content/common/gpu/gpu_channel.cc base::Bind(&GpuChannelMessageFilter::MessageProcessed, base 29 content/common/gpu/gpu_channel.h namespace base { base 51 content/common/gpu/gpu_channel.h public base::RefCountedThreadSafe<GpuChannel> { base 61 content/common/gpu/gpu_channel.h void Init(base::MessageLoopProxy* io_message_loop, base 62 content/common/gpu/gpu_channel.h base::WaitableEvent* shutdown_event); base 76 content/common/gpu/gpu_channel.h base::ProcessId renderer_pid() const { return channel_->peer_pid(); } base 80 content/common/gpu/gpu_channel.h scoped_refptr<base::MessageLoopProxy> io_message_loop() const { base 157 content/common/gpu/gpu_channel.h friend class base::RefCountedThreadSafe<GpuChannel>; base 224 content/common/gpu/gpu_channel.h base::WeakPtrFactory<GpuChannel> weak_factory_; base 227 content/common/gpu/gpu_channel.h scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 25 content/common/gpu/gpu_channel_manager.cc int32 sync_point, base::Closure callback) base 35 content/common/gpu/gpu_channel_manager.cc base::MessageLoopProxy* io_message_loop, base 36 content/common/gpu/gpu_channel_manager.cc base::WaitableEvent* shutdown_event) base 152 content/common/gpu/gpu_channel_manager.cc channel_handle.socket = base::FileDescriptor(renderer_fd, true); base 206 content/common/gpu/gpu_channel_manager.cc new ImageOperation(0, base::Bind(&GpuChannelManager::CreateImage, base 207 content/common/gpu/gpu_channel_manager.cc base::Unretained(this), base 230 content/common/gpu/gpu_channel_manager.cc base::Bind(&GpuChannelManager::DeleteImage, base 231 content/common/gpu/gpu_channel_manager.cc base::Unretained(this), base 237 content/common/gpu/gpu_channel_manager.cc base::Bind(&GpuChannelManager::OnDeleteImageSyncPointRetired, base 238 content/common/gpu/gpu_channel_manager.cc base::Unretained(this), base 290 content/common/gpu/gpu_channel_manager.cc base::MessageLoop::current()->PostTask( base 292 content/common/gpu/gpu_channel_manager.cc base::Bind(&GpuChannelManager::OnLoseAllContexts, base 25 content/common/gpu/gpu_channel_manager.h namespace base { base 61 content/common/gpu/gpu_channel_manager.h base::MessageLoopProxy* io_message_loop, base 62 content/common/gpu/gpu_channel_manager.h base::WaitableEvent* shutdown_event); base 79 content/common/gpu/gpu_channel_manager.h base::WeakPtrFactory<GpuChannelManager> weak_factory_; base 102 content/common/gpu/gpu_channel_manager.h ImageOperation(int32 sync_point, base::Closure callback); base 106 content/common/gpu/gpu_channel_manager.h base::Closure callback; base 108 content/common/gpu/gpu_channel_manager.h typedef base::hash_map<int, scoped_refptr<GpuChannel> > GpuChannelMap; base 132 content/common/gpu/gpu_channel_manager.h scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 133 content/common/gpu/gpu_channel_manager.h base::WaitableEvent* shutdown_event_; base 141 content/common/gpu/gpu_command_buffer_stub.cc active_url_hash_ = base::Hash(active_url.possibly_invalid_spec()); base 277 content/common/gpu/gpu_command_buffer_stub.cc base::TimeDelta time_since_idle = base::TimeTicks::Now() - base 279 content/common/gpu/gpu_command_buffer_stub.cc base::TimeDelta max_time_since_idle = base 280 content/common/gpu/gpu_command_buffer_stub.cc base::TimeDelta::FromMilliseconds(kMaxTimeSinceIdleMs); base 288 content/common/gpu/gpu_command_buffer_stub.cc last_idle_time_ = base::TimeTicks::Now(); base 307 content/common/gpu/gpu_command_buffer_stub.cc last_idle_time_ = base::TimeTicks(); base 320 content/common/gpu/gpu_command_buffer_stub.cc last_idle_time_ = base::TimeTicks::Now(); base 334 content/common/gpu/gpu_command_buffer_stub.cc base::MessageLoop::current()->PostDelayedTask( base 336 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::PollWork, AsWeakPtr()), base 337 content/common/gpu/gpu_command_buffer_stub.cc base::TimeDelta::FromMilliseconds(delay)); base 401 content/common/gpu/gpu_command_buffer_stub.cc base::SharedMemoryHandle shared_state_handle, base 406 content/common/gpu/gpu_command_buffer_stub.cc scoped_ptr<base::SharedMemory> shared_state_shm( base 407 content/common/gpu/gpu_command_buffer_stub.cc new base::SharedMemory(shared_state_handle, false)); base 529 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::SendConsoleMessage, base 530 content/common/gpu/gpu_command_buffer_stub.cc base::Unretained(this))); base 532 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::SendCachedShader, base 533 content/common/gpu/gpu_command_buffer_stub.cc base::Unretained(this))); base 535 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::OnWaitSyncPoint, base 536 content/common/gpu/gpu_command_buffer_stub.cc base::Unretained(this))); base 539 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::PutChanged, base::Unretained(this))); base 541 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&gpu::GpuScheduler::SetGetBuffer, base 542 content/common/gpu/gpu_command_buffer_stub.cc base::Unretained(scheduler_.get()))); base 544 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::OnParseError, base::Unretained(this))); base 546 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuChannel::StubSchedulingChanged, base 547 content/common/gpu/gpu_command_buffer_stub.cc base::Unretained(channel_))); base 551 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::OnCommandProcessed, base 552 content/common/gpu/gpu_command_buffer_stub.cc base::Unretained(this))); base 697 content/common/gpu/gpu_command_buffer_stub.cc base::SharedMemoryHandle transfer_buffer, base 703 content/common/gpu/gpu_command_buffer_stub.cc scoped_ptr<base::SharedMemory> shared_memory( base 704 content/common/gpu/gpu_command_buffer_stub.cc new base::SharedMemory(transfer_buffer, false)); base 803 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::OnSyncPointRetired, base 821 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::OnSignalSyncPointAck, base 838 content/common/gpu/gpu_command_buffer_stub.cc base::Bind(&GpuCommandBufferStub::OnSignalSyncPointAck, base 54 content/common/gpu/gpu_command_buffer_stub.h public base::SupportsWeakPtr<GpuCommandBufferStub> { base 65 content/common/gpu/gpu_command_buffer_stub.h typedef base::Callback<void(const std::vector<ui::LatencyInfo>&)> base 158 content/common/gpu/gpu_command_buffer_stub.h void OnInitialize(base::SharedMemoryHandle shared_state_shm, base 168 content/common/gpu/gpu_command_buffer_stub.h base::SharedMemoryHandle transfer_buffer, base 263 content/common/gpu/gpu_command_buffer_stub.h base::TimeTicks last_idle_time_; base 95 content/common/gpu/gpu_memory_manager.cc base::StringToUint64( base 224 content/common/gpu/gpu_memory_manager.cc base::MessageLoop::current()->PostTask( base 225 content/common/gpu/gpu_memory_manager.cc FROM_HERE, base::Bind(&GpuMemoryManager::Manage, AsWeakPtr())); base 232 content/common/gpu/gpu_memory_manager.cc delayed_manage_callback_.Reset(base::Bind(&GpuMemoryManager::Manage, base 234 content/common/gpu/gpu_memory_manager.cc base::MessageLoop::current()->PostDelayedTask( base 237 content/common/gpu/gpu_memory_manager.cc base::TimeDelta::FromMilliseconds(kDelayedScheduleManageTimeoutMs)); base 354 content/common/gpu/gpu_memory_manager.cc base::ProcessId pid, gpu::gles2::MemoryTracker* memory_tracker) { base 382 content/common/gpu/gpu_memory_manager.cc base::GetCurrentProcId()].video_memory = GetCurrentUsage(); base 384 content/common/gpu/gpu_memory_manager.cc base::GetCurrentProcId()].has_duplicates = true; base 29 content/common/gpu/gpu_memory_manager.h public base::SupportsWeakPtr<GpuMemoryManager> { base 63 content/common/gpu/gpu_memory_manager.h base::ProcessId pid, gpu::gles2::MemoryTracker* memory_tracker); base 225 content/common/gpu/gpu_memory_manager.h base::CancelableClosure delayed_manage_callback_; base 51 content/common/gpu/gpu_memory_manager_unittest.cc typedef base::hash_map<GpuMemoryManagerClient*, ClientMemoryStat> base 12 content/common/gpu/gpu_memory_tracking.cc base::ProcessId pid, base 27 content/common/gpu/gpu_memory_tracking.h base::ProcessId GetPid() const { base 40 content/common/gpu/gpu_memory_tracking.h GpuMemoryTrackingGroup(base::ProcessId pid, base 44 content/common/gpu/gpu_memory_tracking.h base::ProcessId pid_; base 104 content/common/gpu/gpu_messages.h IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) base 105 content/common/gpu/gpu_messages.h IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) base 427 content/common/gpu/gpu_messages.h base::TimeTicks /* timebase */, base 428 content/common/gpu/gpu_messages.h base::TimeDelta /* interval */) base 510 content/common/gpu/gpu_messages.h base::SharedMemoryHandle /* shared_state */, base 557 content/common/gpu/gpu_messages.h base::SharedMemoryHandle /* transfer_buffer */, base 665 content/common/gpu/gpu_messages.h base::SharedMemoryHandle, /* input_buffer_handle */ base 734 content/common/gpu/gpu_messages.h base::SharedMemoryHandle /* buffer_handle */, base 742 content/common/gpu/gpu_messages.h base::SharedMemoryHandle /* buffer_handle */, base 58 content/common/gpu/image_transport_surface.cc base::Callback<void(const std::vector<ui::LatencyInfo>&)>()); base 70 content/common/gpu/image_transport_surface.cc base::Bind(&ImageTransportHelper::Resize, base::Unretained(this))); base 73 content/common/gpu/image_transport_surface.cc base::Bind(&ImageTransportHelper::SetLatencyInfo, base 74 content/common/gpu/image_transport_surface.cc base::Unretained(this))); base 128 content/common/gpu/image_transport_surface.cc base::TimeTicks timebase, base::TimeDelta interval) { base 147 content/common/gpu/image_transport_surface.cc void ImageTransportHelper::DeferToFence(base::Closure task) { base 374 content/common/gpu/image_transport_surface.cc base::Bind(&ImageTransportHelper::SendUpdateVSyncParameters, base 102 content/common/gpu/image_transport_surface.h public base::SupportsWeakPtr<ImageTransportHelper> { base 126 content/common/gpu/image_transport_surface.h base::TimeTicks timebase, base::TimeDelta interval); base 133 content/common/gpu/image_transport_surface.h void DeferToFence(base::Closure task); base 168 content/common/gpu/image_transport_surface.h base::WeakPtr<GpuCommandBufferStub> stub_; base 30 content/common/gpu/image_transport_surface_android.cc g_last_gpu_access_ticks = base::TimeTicks::Now().ToInternalValue(); base 35 content/common/gpu/image_transport_surface_android.cc public base::SupportsWeakPtr<ImageTransportSurfaceAndroid> { base 56 content/common/gpu/image_transport_surface_android.cc base::TimeTicks begin_wake_up_time_; base 115 content/common/gpu/image_transport_surface_android.cc begin_wake_up_time_ = base::TimeTicks::Now(); base 120 content/common/gpu/image_transport_surface_android.cc base::TimeTicks now = base::TimeTicks::Now(); base 121 content/common/gpu/image_transport_surface_android.cc base::TimeTicks last_access_time = base 122 content/common/gpu/image_transport_surface_android.cc base::TimeTicks::FromInternalValue(g_last_gpu_access_ticks); base 127 content/common/gpu/image_transport_surface_android.cc base::TimeDelta::FromMilliseconds(kMaxGpuIdleTimeMs)) base 130 content/common/gpu/image_transport_surface_android.cc base::TimeDelta::FromMilliseconds(kMaxKeepAliveTimeMs)) base 135 content/common/gpu/image_transport_surface_android.cc base::MessageLoop::current()->PostDelayedTask( base 137 content/common/gpu/image_transport_surface_android.cc base::Bind(&ImageTransportSurfaceAndroid::ScheduleWakeUp, AsWeakPtr()), base 138 content/common/gpu/image_transport_surface_android.cc base::TimeDelta::FromMilliseconds(kMaxGpuIdleTimeMs)); base 88 content/common/gpu/image_transport_surface_mac.cc base::ScopedCFTypeRef<CFTypeRef> io_surface_; base 126 content/common/gpu/image_transport_surface_mac.cc base::ScopedCFTypeRef<CFNumberRef> number( base 443 content/common/gpu/image_transport_surface_mac.cc base::ScopedCFTypeRef<CFMutableDictionaryRef> properties; base 28 content/common/gpu/media/android_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( \ base 30 content/common/gpu/media/android_video_decode_accelerator.cc base::Bind(&AndroidVideoDecodeAccelerator::NotifyError, \ base 53 content/common/gpu/media/android_video_decode_accelerator.cc static inline const base::TimeDelta DecodePollDelay() { base 62 content/common/gpu/media/android_video_decode_accelerator.cc return base::TimeDelta::FromMilliseconds(10); base 65 content/common/gpu/media/android_video_decode_accelerator.cc static inline const base::TimeDelta NoWaitTimeOut() { base 66 content/common/gpu/media/android_video_decode_accelerator.cc return base::TimeDelta::FromMicroseconds(0); base 70 content/common/gpu/media/android_video_decode_accelerator.cc const base::WeakPtr<gpu::gles2::GLES2Decoder> decoder, base 71 content/common/gpu/media/android_video_decode_accelerator.cc const base::Callback<bool(void)>& make_context_current) base 164 content/common/gpu/media/android_video_decode_accelerator.cc base::Time queued_time = pending_bitstream_buffers_.front().second; base 166 content/common/gpu/media/android_video_decode_accelerator.cc base::Time::Now() - queued_time); base 179 content/common/gpu/media/android_video_decode_accelerator.cc base::TimeDelta timestamp = base 180 content/common/gpu/media/android_video_decode_accelerator.cc base::TimeDelta::FromMicroseconds(bitstream_buffer.id()); base 182 content/common/gpu/media/android_video_decode_accelerator.cc scoped_ptr<base::SharedMemory> shm( base 183 content/common/gpu/media/android_video_decode_accelerator.cc new base::SharedMemory(bitstream_buffer.handle(), true)); base 205 content/common/gpu/media/android_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 207 content/common/gpu/media/android_video_decode_accelerator.cc base::Bind(&AndroidVideoDecodeAccelerator::NotifyEndOfBitstreamBuffer, base 224 content/common/gpu/media/android_video_decode_accelerator.cc base::TimeDelta timestamp; base 244 content/common/gpu/media/android_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 246 content/common/gpu/media/android_video_decode_accelerator.cc base::Bind(&AndroidVideoDecodeAccelerator::RequestPictureBuffers, base 294 content/common/gpu/media/android_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 296 content/common/gpu/media/android_video_decode_accelerator.cc base::Bind(&AndroidVideoDecodeAccelerator::NotifyFlushDone, base 365 content/common/gpu/media/android_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 367 content/common/gpu/media/android_video_decode_accelerator.cc base::Bind(&AndroidVideoDecodeAccelerator::NotifyPictureReady, base 376 content/common/gpu/media/android_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 378 content/common/gpu/media/android_video_decode_accelerator.cc base::Bind(&AndroidVideoDecodeAccelerator::NotifyEndOfBitstreamBuffer, base 385 content/common/gpu/media/android_video_decode_accelerator.cc std::make_pair(bitstream_buffer, base::Time::Now())); base 435 content/common/gpu/media/android_video_decode_accelerator.cc Decode(media::BitstreamBuffer(-1, base::SharedMemoryHandle(), 0)); base 466 content/common/gpu/media/android_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 468 content/common/gpu/media/android_video_decode_accelerator.cc base::Bind(&AndroidVideoDecodeAccelerator::NotifyEndOfBitstreamBuffer, base 496 content/common/gpu/media/android_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 498 content/common/gpu/media/android_video_decode_accelerator.cc base::Bind(&AndroidVideoDecodeAccelerator::NotifyResetDone, base 37 content/common/gpu/media/android_video_decode_accelerator.h const base::WeakPtr<gpu::gles2::GLES2Decoder> decoder, base 38 content/common/gpu/media/android_video_decode_accelerator.h const base::Callback<bool(void)>& make_context_current); base 57 content/common/gpu/media/android_video_decode_accelerator.h static const base::TimeDelta kDecodePollDelay; base 100 content/common/gpu/media/android_video_decode_accelerator.h base::ThreadChecker thread_checker_; base 106 content/common/gpu/media/android_video_decode_accelerator.h base::Callback<bool(void)> make_context_current_; base 147 content/common/gpu/media/android_video_decode_accelerator.h typedef std::queue<std::pair<media::BitstreamBuffer, base::Time> > base 156 content/common/gpu/media/android_video_decode_accelerator.h base::WeakPtr<gpu::gles2::GLES2Decoder> gl_decoder_; base 162 content/common/gpu/media/android_video_decode_accelerator.h base::RepeatingTimer<AndroidVideoDecodeAccelerator> io_timer_; base 165 content/common/gpu/media/android_video_decode_accelerator.h base::WeakPtrFactory<AndroidVideoDecodeAccelerator> weak_this_factory_; base 59 content/common/gpu/media/android_video_decode_accelerator_unittest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 68 content/common/gpu/media/android_video_decode_accelerator_unittest.cc decoder->AsWeakPtr(), base::Bind(&MockMakeContextCurrent))); base 54 content/common/gpu/media/android_video_encode_accelerator.cc static inline const base::TimeDelta EncodePollDelay() { base 63 content/common/gpu/media/android_video_encode_accelerator.cc return base::TimeDelta::FromMilliseconds(10); base 66 content/common/gpu/media/android_video_encode_accelerator.cc static inline const base::TimeDelta NoWaitTimeOut() { base 67 content/common/gpu/media/android_video_encode_accelerator.cc return base::TimeDelta::FromMicroseconds(0); base 128 content/common/gpu/media/android_video_encode_accelerator.cc client_ptr_factory_.reset(new base::WeakPtrFactory<Client>(client)); base 166 content/common/gpu/media/android_video_encode_accelerator.cc base::MessageLoop::current()->PostTask( base 168 content/common/gpu/media/android_video_encode_accelerator.cc base::Bind(&VideoEncodeAccelerator::Client::RequireBitstreamBuffers, base 214 content/common/gpu/media/android_video_encode_accelerator.cc pending_frames_.push(MakeTuple(frame, force_keyframe, base::Time::Now())); base 322 content/common/gpu/media/android_video_encode_accelerator.cc fake_input_timestamp_ += base::TimeDelta::FromMicroseconds(1); base 325 content/common/gpu/media/android_video_encode_accelerator.cc UMA_HISTOGRAM_TIMES("Media.AVEA.InputQueueTime", base::Time::Now() - input.c); base 389 content/common/gpu/media/android_video_encode_accelerator.cc scoped_ptr<base::SharedMemory> shm( base 390 content/common/gpu/media/android_video_encode_accelerator.cc new base::SharedMemory(bitstream_buffer.handle(), false)); base 404 content/common/gpu/media/android_video_encode_accelerator.cc base::MessageLoop::current()->PostTask( base 406 content/common/gpu/media/android_video_encode_accelerator.cc base::Bind(&VideoEncodeAccelerator::Client::BitstreamBufferReady, base 76 content/common/gpu/media/android_video_encode_accelerator.h base::ThreadChecker thread_checker_; base 80 content/common/gpu/media/android_video_encode_accelerator.h scoped_ptr<base::WeakPtrFactory<Client> > client_ptr_factory_; base 90 content/common/gpu/media/android_video_encode_accelerator.h Tuple3<scoped_refptr<media::VideoFrame>, bool, base::Time> > base 95 content/common/gpu/media/android_video_encode_accelerator.h base::RepeatingTimer<AndroidVideoEncodeAccelerator> io_timer_; base 102 content/common/gpu/media/android_video_encode_accelerator.h base::TimeDelta fake_input_timestamp_; base 72 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFSample> sample; base 83 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFSample> sample; base 86 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFMediaBuffer> buffer; base 114 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFSample> sample; base 119 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFMediaBuffer> buffer; base 146 content/common/gpu/media/dxva_video_decode_accelerator.cc base::SharedMemory shm(bitstream_buffer.handle(), true); base 196 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IDirect3DTexture9> decoding_texture_; base 328 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IDirect3DSurface9> d3d_surface; base 426 content/common/gpu/media/dxva_video_decode_accelerator.cc const base::Callback<bool(void)>& make_context_current) base 513 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFSample> sample; base 611 content/common/gpu/media/dxva_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 613 content/common/gpu/media/dxva_video_decode_accelerator.cc base::Bind(&DXVAVideoDecodeAccelerator::NotifyResetDone, base 646 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IClassFactory> factory; base 691 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFAttributes> attributes; base 711 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFMediaType> media_type; base 734 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFMediaType> out_media_type; base 850 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFMediaBuffer> output_buffer; base 854 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IDirect3DSurface9> surface; base 887 content/common/gpu/media/dxva_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 889 content/common/gpu/media/dxva_video_decode_accelerator.cc base::Bind(&DXVAVideoDecodeAccelerator::RequestPictureBuffers, base 911 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IMFMediaBuffer> output_buffer; base 917 content/common/gpu/media/dxva_video_decode_accelerator.cc base::win::ScopedComPtr<IDirect3DSurface9> surface; base 944 content/common/gpu/media/dxva_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 946 content/common/gpu/media/dxva_video_decode_accelerator.cc base::Bind(&DXVAVideoDecodeAccelerator::NotifyPictureReady, base 956 content/common/gpu/media/dxva_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 958 content/common/gpu/media/dxva_video_decode_accelerator.cc base::Bind(&DXVAVideoDecodeAccelerator::DecodePendingInputBuffers, base 1062 content/common/gpu/media/dxva_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 1064 content/common/gpu/media/dxva_video_decode_accelerator.cc base::Bind(&DXVAVideoDecodeAccelerator::NotifyFlushDone, base 1071 content/common/gpu/media/dxva_video_decode_accelerator.cc const base::win::ScopedComPtr<IMFSample>& sample) { base 1115 content/common/gpu/media/dxva_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 1117 content/common/gpu/media/dxva_video_decode_accelerator.cc base::Bind(&DXVAVideoDecodeAccelerator::DecodePendingInputBuffers, base 1145 content/common/gpu/media/dxva_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 1147 content/common/gpu/media/dxva_video_decode_accelerator.cc base::Bind(&DXVAVideoDecodeAccelerator::NotifyInputBufferRead, base 1154 content/common/gpu/media/dxva_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 1156 content/common/gpu/media/dxva_video_decode_accelerator.cc base::Bind(&DXVAVideoDecodeAccelerator::DismissStaleBuffers, base 1160 content/common/gpu/media/dxva_video_decode_accelerator.cc base::MessageLoop::current()->PostTask( base 1162 content/common/gpu/media/dxva_video_decode_accelerator.cc base::Bind(&DXVAVideoDecodeAccelerator::RequestPictureBuffers, base 35 content/common/gpu/media/dxva_video_decode_accelerator.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 47 content/common/gpu/media/dxva_video_decode_accelerator.h const base::Callback<bool(void)>& make_context_current); base 140 content/common/gpu/media/dxva_video_decode_accelerator.h void DecodeInternal(const base::win::ScopedComPtr<IMFSample>& input_sample); base 154 content/common/gpu/media/dxva_video_decode_accelerator.h base::win::ScopedComPtr<IMFTransform> decoder_; base 156 content/common/gpu/media/dxva_video_decode_accelerator.h base::win::ScopedComPtr<IDirect3D9Ex> d3d9_; base 157 content/common/gpu/media/dxva_video_decode_accelerator.h base::win::ScopedComPtr<IDirect3DDevice9Ex> device_; base 158 content/common/gpu/media/dxva_video_decode_accelerator.h base::win::ScopedComPtr<IDirect3DDeviceManager9> device_manager_; base 159 content/common/gpu/media/dxva_video_decode_accelerator.h base::win::ScopedComPtr<IDirect3DQuery9> query_; base 182 content/common/gpu/media/dxva_video_decode_accelerator.h base::win::ScopedComPtr<IMFSample> output_sample; base 202 content/common/gpu/media/dxva_video_decode_accelerator.h typedef std::list<base::win::ScopedComPtr<IMFSample>> PendingInputs; base 206 content/common/gpu/media/dxva_video_decode_accelerator.h base::Callback<bool(void)> make_context_current_; base 209 content/common/gpu/media/dxva_video_decode_accelerator.h base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_; base 129 content/common/gpu/media/exynos_v4l2_video_device.cc scoped_ptr<base::ScopedFD[]> dmabuf_fds(new base::ScopedFD[planes_count]); base 60 content/common/gpu/media/exynos_video_encode_accelerator.cc BitstreamBufferRef(int32 id, scoped_ptr<base::SharedMemory> shm, size_t size) base 63 content/common/gpu/media/exynos_video_encode_accelerator.cc const scoped_ptr<base::SharedMemory> shm; base 83 content/common/gpu/media/exynos_video_encode_accelerator.cc : child_message_loop_proxy_(base::MessageLoopProxy::current()), base 138 content/common/gpu/media/exynos_video_encode_accelerator.cc client_ptr_factory_.reset(new base::WeakPtrFactory<Client>(client)); base 272 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind(&Client::RequireBitstreamBuffers, base 288 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind(&ExynosVideoEncodeAccelerator::EncodeTask, base 289 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Unretained(this), base 304 content/common/gpu/media/exynos_video_encode_accelerator.cc scoped_ptr<base::SharedMemory> shm( base 305 content/common/gpu/media/exynos_video_encode_accelerator.cc new base::SharedMemory(buffer.handle(), false)); base 315 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind(&ExynosVideoEncodeAccelerator::UseOutputBitstreamBufferTask, base 316 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Unretained(this), base 317 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Passed(&buffer_ref))); base 329 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind( base 331 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Unretained(this), base 347 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind(&ExynosVideoEncodeAccelerator::DestroyTask, base 348 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Unretained(this))); base 391 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 423 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 454 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 492 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind(&ExynosVideoEncodeAccelerator::DevicePollTask, base 493 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Unretained(this), base 516 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 565 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 629 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 672 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 760 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind(&Client::BitstreamBufferReady, base 910 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 923 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind(&ExynosVideoEncodeAccelerator::DevicePollTask, base 924 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Unretained(this), base 1046 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(device_poll_thread_.message_loop(), base::MessageLoop::current()); base 1087 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind(&ExynosVideoEncodeAccelerator::ServiceDeviceTask, base 1088 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Unretained(this))); base 1097 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind( base 1114 content/common/gpu/media/exynos_video_encode_accelerator.cc encoder_thread_.message_loop() != base::MessageLoop::current()) { base 1117 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Bind(&ExynosVideoEncodeAccelerator::SetEncoderState, base 1118 content/common/gpu/media/exynos_video_encode_accelerator.cc base::Unretained(this), base 1130 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 1387 content/common/gpu/media/exynos_video_encode_accelerator.cc DCHECK_EQ(encoder_thread_.message_loop(), base::MessageLoop::current()); base 18 content/common/gpu/media/exynos_video_encode_accelerator.h namespace base { base 192 content/common/gpu/media/exynos_video_encode_accelerator.h const scoped_refptr<base::MessageLoopProxy> child_message_loop_proxy_; base 200 content/common/gpu/media/exynos_video_encode_accelerator.h base::WeakPtrFactory<ExynosVideoEncodeAccelerator> weak_this_ptr_factory_; base 201 content/common/gpu/media/exynos_video_encode_accelerator.h base::WeakPtr<ExynosVideoEncodeAccelerator> weak_this_; base 206 content/common/gpu/media/exynos_video_encode_accelerator.h scoped_ptr<base::WeakPtrFactory<Client> > client_ptr_factory_; base 207 content/common/gpu/media/exynos_video_encode_accelerator.h base::WeakPtr<Client> client_; base 218 content/common/gpu/media/exynos_video_encode_accelerator.h base::Thread encoder_thread_; base 298 content/common/gpu/media/exynos_video_encode_accelerator.h base::Thread device_poll_thread_; base 44 content/common/gpu/media/gpu_video_decode_accelerator.cc const base::WeakPtr<GpuCommandBufferStub> stub) { base 61 content/common/gpu/media/gpu_video_decode_accelerator.cc typedef base::AutoLock DebugAutoLock; base 65 content/common/gpu/media/gpu_video_decode_accelerator.cc explicit DebugAutoLock(base::Lock&) {} base 122 content/common/gpu/media/gpu_video_decode_accelerator.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop) base 132 content/common/gpu/media/gpu_video_decode_accelerator.cc child_message_loop_ = base::MessageLoopProxy::current(); base 134 content/common/gpu/media/gpu_video_decode_accelerator.cc base::Bind(&MakeDecoderContextCurrent, stub_->AsWeakPtr()); base 241 content/common/gpu/media/gpu_video_decode_accelerator.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) { base 299 content/common/gpu/media/gpu_video_decode_accelerator.cc base::SharedMemoryHandle handle, int32 id, uint32 size) { base 308 content/common/gpu/media/gpu_video_decode_accelerator.cc base::Bind(&GpuVideoDecodeAccelerator::NotifyError, base 309 content/common/gpu/media/gpu_video_decode_accelerator.cc base::Unretained(this), base 23 content/common/gpu/media/gpu_video_decode_accelerator.h namespace base { base 41 content/common/gpu/media/gpu_video_decode_accelerator.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop); base 75 content/common/gpu/media/gpu_video_decode_accelerator.h void OnDecode(base::SharedMemoryHandle handle, int32 id, uint32 size); base 105 content/common/gpu/media/gpu_video_decode_accelerator.h base::Callback<bool(void)> make_context_current_; base 118 content/common/gpu/media/gpu_video_decode_accelerator.h base::WaitableEvent filter_removed_; base 121 content/common/gpu/media/gpu_video_decode_accelerator.h scoped_refptr<base::MessageLoopProxy> child_message_loop_; base 124 content/common/gpu/media/gpu_video_decode_accelerator.h scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 127 content/common/gpu/media/gpu_video_decode_accelerator.h base::WeakPtrFactory<Client> weak_factory_for_io_; base 132 content/common/gpu/media/gpu_video_decode_accelerator.h base::Lock debug_uncleared_textures_lock_; base 27 content/common/gpu/media/gpu_video_encode_accelerator.cc const base::WeakPtr<GpuCommandBufferStub> stub) { base 51 content/common/gpu/media/gpu_video_encode_accelerator.cc base::Bind(&MakeDecoderContextCurrent, stub_->AsWeakPtr()); base 178 content/common/gpu/media/gpu_video_encode_accelerator.cc base::SharedMemoryHandle buffer_handle, base 193 content/common/gpu/media/gpu_video_encode_accelerator.cc scoped_ptr<base::SharedMemory> shm( base 194 content/common/gpu/media/gpu_video_encode_accelerator.cc new base::SharedMemory(buffer_handle, true)); base 212 content/common/gpu/media/gpu_video_encode_accelerator.cc base::TimeDelta(), base 214 content/common/gpu/media/gpu_video_encode_accelerator.cc base::Bind(base::IgnoreResult(&base::MessageLoopProxy::PostTask), base 215 content/common/gpu/media/gpu_video_encode_accelerator.cc base::MessageLoopProxy::current(), base 217 content/common/gpu/media/gpu_video_encode_accelerator.cc base::Bind(&GpuVideoEncodeAccelerator::EncodeFrameFinished, base 220 content/common/gpu/media/gpu_video_encode_accelerator.cc base::Passed(&shm)))); base 234 content/common/gpu/media/gpu_video_encode_accelerator.cc base::SharedMemoryHandle buffer_handle, base 275 content/common/gpu/media/gpu_video_encode_accelerator.cc scoped_ptr<base::SharedMemory> shm) { base 17 content/common/gpu/media/gpu_video_encode_accelerator.h namespace base { base 71 content/common/gpu/media/gpu_video_encode_accelerator.h base::SharedMemoryHandle buffer_handle, base 75 content/common/gpu/media/gpu_video_encode_accelerator.h base::SharedMemoryHandle buffer_handle, base 81 content/common/gpu/media/gpu_video_encode_accelerator.h void EncodeFrameFinished(int32 frame_id, scoped_ptr<base::SharedMemory> shm); base 97 content/common/gpu/media/gpu_video_encode_accelerator.h base::Callback<bool(void)> make_context_current_; base 106 content/common/gpu/media/gpu_video_encode_accelerator.h base::WeakPtrFactory<GpuVideoEncodeAccelerator> weak_this_factory_; base 93 content/common/gpu/media/rendering_helper.cc base::WaitableEvent* done) { base 97 content/common/gpu/media/rendering_helper.cc base::WaitableEvent done(false, false); base 111 content/common/gpu/media/rendering_helper.cc message_loop_ = base::MessageLoop::current(); base 115 content/common/gpu/media/rendering_helper.cc x_display_ = base::MessagePumpForUI::GetDefaultXDisplay(); base 147 content/common/gpu/media/rendering_helper.cc x_display_ = base::MessagePumpForUI::GetDefaultXDisplay(); base 357 content/common/gpu/media/rendering_helper.cc void RenderingHelper::UnInitialize(base::WaitableEvent* done) { base 358 content/common/gpu/media/rendering_helper.cc CHECK_EQ(base::MessageLoop::current(), message_loop_); base 381 content/common/gpu/media/rendering_helper.cc base::WaitableEvent* done) { base 382 content/common/gpu/media/rendering_helper.cc if (base::MessageLoop::current() != message_loop_) { base 385 content/common/gpu/media/rendering_helper.cc base::Bind(&RenderingHelper::CreateTexture, base::Unretained(this), base 416 content/common/gpu/media/rendering_helper.cc CHECK_EQ(base::MessageLoop::current(), message_loop_); base 532 content/common/gpu/media/rendering_helper.cc base::WaitableEvent* done) { base 15 content/common/gpu/media/rendering_helper.h namespace base { base 60 content/common/gpu/media/rendering_helper.h base::WaitableEvent* done); base 63 content/common/gpu/media/rendering_helper.h void UnInitialize(base::WaitableEvent* done); base 70 content/common/gpu/media/rendering_helper.h base::WaitableEvent* done); base 88 content/common/gpu/media/rendering_helper.h base::WaitableEvent* done); base 97 content/common/gpu/media/rendering_helper.h base::MessageLoop* message_loop_; base 89 content/common/gpu/media/tegra_v4l2_video_device.cc base::LazyInstance<TegraFunctionSymbolFinder> g_tegra_function_symbol_finder_ = base 63 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::WeakPtr<Client>& client, base 64 content/common/gpu/media/v4l2_video_decode_accelerator.cc scoped_refptr<base::MessageLoopProxy>& client_message_loop_proxy, base 65 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::SharedMemory* shm, base 69 content/common/gpu/media/v4l2_video_decode_accelerator.cc const base::WeakPtr<Client> client; base 70 content/common/gpu/media/v4l2_video_decode_accelerator.cc const scoped_refptr<base::MessageLoopProxy> client_message_loop_proxy; base 71 content/common/gpu/media/v4l2_video_decode_accelerator.cc const scoped_ptr<base::SharedMemory> shm; base 92 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::WeakPtr<Client>& client, base 93 content/common/gpu/media/v4l2_video_decode_accelerator.cc scoped_refptr<base::MessageLoopProxy>& client_message_loop_proxy, base 94 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::SharedMemory* shm, size_t size, int32 input_id) base 105 content/common/gpu/media/v4l2_video_decode_accelerator.cc client_message_loop_proxy->PostTask(FROM_HERE, base::Bind( base 155 content/common/gpu/media/v4l2_video_decode_accelerator.cc const base::WeakPtr<Client>& io_client, base 156 content/common/gpu/media/v4l2_video_decode_accelerator.cc const base::Callback<bool(void)>& make_context_current, base 158 content/common/gpu/media/v4l2_video_decode_accelerator.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy) base 159 content/common/gpu/media/v4l2_video_decode_accelerator.cc : child_message_loop_proxy_(base::MessageLoopProxy::current()), base 209 content/common/gpu/media/v4l2_video_decode_accelerator.cc client_ptr_factory_.reset(new base::WeakPtrFactory<Client>(client)); base 295 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Bind( base 296 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::IgnoreResult(&V4L2VideoDecodeAccelerator::StartDevicePoll), base 297 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Unretained(this))); base 310 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 311 content/common/gpu/media/v4l2_video_decode_accelerator.cc &V4L2VideoDecodeAccelerator::DecodeTask, base::Unretained(this), base 395 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 397 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Unretained(this), picture_buffer_id, base::Passed(&egl_sync_ref))); base 403 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 404 content/common/gpu/media/v4l2_video_decode_accelerator.cc &V4L2VideoDecodeAccelerator::FlushTask, base::Unretained(this))); base 410 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 411 content/common/gpu/media/v4l2_video_decode_accelerator.cc &V4L2VideoDecodeAccelerator::ResetTask, base::Unretained(this))); base 424 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 425 content/common/gpu/media/v4l2_video_decode_accelerator.cc &V4L2VideoDecodeAccelerator::DestroyTask, base::Unretained(this))); base 445 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 452 content/common/gpu/media/v4l2_video_decode_accelerator.cc new base::SharedMemory(bitstream_buffer.handle(), true), base 482 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 531 content/common/gpu/media/v4l2_video_decode_accelerator.cc static_cast<base::SharedMemory*>(NULL)); base 682 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 690 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 692 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Unretained(this))); base 699 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 755 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 767 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 833 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 871 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 913 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Bind(&V4L2VideoDecodeAccelerator::DevicePollTask, base 914 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Unretained(this), base 934 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 984 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1005 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1168 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1219 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1227 content/common/gpu/media/v4l2_video_decode_accelerator.cc FROM_HERE, base::Bind(&Client::NotifyFlushDone, client_)); base 1285 content/common/gpu/media/v4l2_video_decode_accelerator.cc FROM_HERE, base::Bind(&Client::NotifyFlushDone, client_)); base 1293 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1330 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 1331 content/common/gpu/media/v4l2_video_decode_accelerator.cc &V4L2VideoDecodeAccelerator::ResetDoneTask, base::Unretained(this))); base 1336 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1371 content/common/gpu/media/v4l2_video_decode_accelerator.cc child_message_loop_proxy_->PostTask(FROM_HERE, base::Bind( base 1402 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1410 content/common/gpu/media/v4l2_video_decode_accelerator.cc device_poll_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 1412 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Unretained(this), base 1421 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1488 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1507 content/common/gpu/media/v4l2_video_decode_accelerator.cc child_message_loop_proxy_->PostTask(FROM_HERE, base::Bind( base 1513 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1554 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(device_poll_thread_.message_loop(), base::MessageLoop::current()); base 1566 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 1568 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Unretained(this), event_pending)); base 1575 content/common/gpu/media/v4l2_video_decode_accelerator.cc child_message_loop_proxy_->PostTask(FROM_HERE, base::Bind( base 1592 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop() != base::MessageLoop::current()) { base 1593 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 1595 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Unretained(this), state)); base 1603 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1625 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1734 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Bind(&Client::ProvidePictureBuffers, base 1811 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Bind( base 1843 content/common/gpu/media/v4l2_video_decode_accelerator.cc decoder_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 1845 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Unretained(this))); base 1850 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1860 content/common/gpu/media/v4l2_video_decode_accelerator.cc FROM_HERE, base::Bind(&Client::PictureReady, io_client_, picture)); base 1874 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Bind(&Client::PictureReady, client_, picture), base 1877 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Bind(&V4L2VideoDecodeAccelerator::PictureCleared, base 1878 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::Unretained(this))); base 1892 content/common/gpu/media/v4l2_video_decode_accelerator.cc DCHECK_EQ(decoder_thread_.message_loop(), base::MessageLoop::current()); base 1917 content/common/gpu/media/v4l2_video_decode_accelerator.cc gfx::Size new_size(base::checked_cast<int>(format.fmt.pix_mp.width), base 1918 content/common/gpu/media/v4l2_video_decode_accelerator.cc base::checked_cast<int>(format.fmt.pix_mp.height)); base 29 content/common/gpu/media/v4l2_video_decode_accelerator.h namespace base { base 80 content/common/gpu/media/v4l2_video_decode_accelerator.h const base::WeakPtr<Client>& io_client_, base 81 content/common/gpu/media/v4l2_video_decode_accelerator.h const base::Callback<bool(void)>& make_context_current, base 83 content/common/gpu/media/v4l2_video_decode_accelerator.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy); base 303 content/common/gpu/media/v4l2_video_decode_accelerator.h scoped_refptr<base::MessageLoopProxy> child_message_loop_proxy_; base 306 content/common/gpu/media/v4l2_video_decode_accelerator.h scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 314 content/common/gpu/media/v4l2_video_decode_accelerator.h base::WeakPtr<V4L2VideoDecodeAccelerator> weak_this_; base 319 content/common/gpu/media/v4l2_video_decode_accelerator.h scoped_ptr<base::WeakPtrFactory<Client> > client_ptr_factory_; base 320 content/common/gpu/media/v4l2_video_decode_accelerator.h base::WeakPtr<Client> client_; base 322 content/common/gpu/media/v4l2_video_decode_accelerator.h base::WeakPtr<Client> io_client_; base 333 content/common/gpu/media/v4l2_video_decode_accelerator.h base::Thread decoder_thread_; base 412 content/common/gpu/media/v4l2_video_decode_accelerator.h base::WaitableEvent pictures_assigned_; base 422 content/common/gpu/media/v4l2_video_decode_accelerator.h base::Thread device_poll_thread_; base 429 content/common/gpu/media/v4l2_video_decode_accelerator.h base::Callback<bool(void)> make_context_current_; base 438 content/common/gpu/media/v4l2_video_decode_accelerator.h base::WeakPtrFactory<V4L2VideoDecodeAccelerator> weak_this_factory_; base 81 content/common/gpu/media/va_surface.h class CONTENT_EXPORT VASurface : public base::RefCountedThreadSafe<VASurface> { base 85 content/common/gpu/media/va_surface.h typedef base::Callback<void(VASurfaceID)> ReleaseCB; base 94 content/common/gpu/media/va_surface.h friend class base::RefCountedThreadSafe<VASurface>; base 1408 content/common/gpu/media/vaapi_h264_decoder.cc base::checked_cast<size_t>(sps->max_num_reorder_frames); base 42 content/common/gpu/media/vaapi_h264_decoder.h typedef base::Callback< base 56 content/common/gpu/media/vaapi_h264_decoder.h typedef base::Callback<void(VAVDAH264DecoderFailure error)> base 31 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::FilePath g_input_file; base 32 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::FilePath g_output_file; base 36 content/common/gpu/media/vaapi_h264_decoder_unittest.cc const base::FilePath::CharType* kDefaultInputFile = base 57 content/common/gpu/media/vaapi_h264_decoder_unittest.cc bool Initialize(base::FilePath input_file, base::FilePath output_file); base 87 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::FilePath output_file_; // output data is written to this file base 95 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::MD5Context md5_context_; base 100 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::MD5Init(&md5_context_); base 119 content/common/gpu/media/vaapi_h264_decoder_unittest.cc bool VaapiH264DecoderLoop::Initialize(base::FilePath input_file, base 120 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::FilePath output_file) { base 128 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::Closure report_error_cb = base 129 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::Bind(&LogOnError, VaapiH264Decoder::VAAPI_ERROR); base 138 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::Bind(&VaapiH264DecoderLoop::OutputPicture, base::Unretained(this)), base 139 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::Bind(&LogOnError))); base 141 content/common/gpu/media/vaapi_h264_decoder_unittest.cc if (!base::ReadFileToString(input_file, &data_)) { base 153 content/common/gpu/media/vaapi_h264_decoder_unittest.cc if (base::WriteFile(output_file, NULL, 0) != 0) { base 189 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::MD5Digest digest; base 190 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::MD5Final(&digest, &md5_context_); base 209 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::TimeDelta()); base 251 content/common/gpu/media/vaapi_h264_decoder_unittest.cc int written = base::AppendToFile(output_file_, buf, to_write); base 297 content/common/gpu/media/vaapi_h264_decoder_unittest.cc VASurface::ReleaseCB release_cb = base::Bind( base 298 content/common/gpu/media/vaapi_h264_decoder_unittest.cc &VaapiH264DecoderLoop::RecycleSurface, base::Unretained(this)); base 319 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::FilePath input_file = g_input_file; base 320 content/common/gpu/media/vaapi_h264_decoder_unittest.cc base::FilePath output_file = g_output_file; base 325 content/common/gpu/media/vaapi_h264_decoder_unittest.cc input_file = base::FilePath(kDefaultInputFile); base 368 content/common/gpu/media/vaapi_h264_decoder_unittest.cc content::g_input_file = base::FilePath(it->second); base 372 content/common/gpu/media/vaapi_h264_decoder_unittest.cc content::g_output_file = base::FilePath(it->second); base 46 content/common/gpu/media/vaapi_video_decode_accelerator.cc if (message_loop_ != base::MessageLoop::current()) { base 48 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 54 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 71 content/common/gpu/media/vaapi_video_decode_accelerator.cc class VaapiVideoDecodeAccelerator::TFPPicture : public base::NonThreadSafe { base 76 content/common/gpu/media/vaapi_video_decode_accelerator.cc const base::Callback<bool(void)>& make_context_current, base 99 content/common/gpu/media/vaapi_video_decode_accelerator.cc TFPPicture(const base::Callback<bool(void)>& make_context_current, base 107 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::Callback<bool(void)> make_context_current_; base 125 content/common/gpu/media/vaapi_video_decode_accelerator.cc const base::Callback<bool(void)>& make_context_current, base 142 content/common/gpu/media/vaapi_video_decode_accelerator.cc const base::Callback<bool(void)>& make_context_current, base 231 content/common/gpu/media/vaapi_video_decode_accelerator.cc const base::Callback<bool(void)>& make_context_current) base 237 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_(base::MessageLoop::current()), base 247 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::Bind(&VaapiVideoDecodeAccelerator::RecycleVASurfaceID, weak_this_)); base 251 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 285 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 287 content/common/gpu/media/vaapi_video_decode_accelerator.cc client_ptr_factory_.reset(new base::WeakPtrFactory<Client>(client)); base 290 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 304 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::Bind(&ReportToUMA, content::VaapiH264Decoder::VAAPI_ERROR)); base 314 content/common/gpu/media/vaapi_video_decode_accelerator.cc media::BindToCurrentLoop(base::Bind( base 316 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::Bind(&ReportToUMA))); base 328 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 336 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::Bind(&VaapiVideoDecodeAccelerator::OutputPicture, base 346 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 377 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 401 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 408 content/common/gpu/media/vaapi_video_decode_accelerator.cc scoped_ptr<base::SharedMemory> shm( base 409 content/common/gpu/media/vaapi_video_decode_accelerator.cc new base::SharedMemory(bitstream_buffer.handle(), true)); base 413 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 482 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 515 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 535 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoUnlock auto_unlock(lock_); base 542 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 571 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 590 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 604 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 626 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 633 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 641 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 645 content/common/gpu/media/vaapi_video_decode_accelerator.cc decoder_thread_proxy_->PostTask(FROM_HERE, base::Bind( base 647 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::Unretained(this))); base 668 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 669 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 677 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 679 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 723 content/common/gpu/media/vaapi_video_decode_accelerator.cc decoder_thread_proxy_->PostTask(FROM_HERE, base::Bind( base 724 content/common/gpu/media/vaapi_video_decode_accelerator.cc &VaapiVideoDecodeAccelerator::DecodeTask, base::Unretained(this))); base 728 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 752 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 757 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 760 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 763 content/common/gpu/media/vaapi_video_decode_accelerator.cc decoder_thread_proxy_->PostTask(FROM_HERE, base::Bind( base 764 content/common/gpu/media/vaapi_video_decode_accelerator.cc &VaapiVideoDecodeAccelerator::FlushTask, base::Unretained(this))); base 771 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 775 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 790 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 805 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 812 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 817 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 821 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 827 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 833 content/common/gpu/media/vaapi_video_decode_accelerator.cc decoder_thread_proxy_->PostTask(FROM_HERE, base::Bind( base 834 content/common/gpu/media/vaapi_video_decode_accelerator.cc &VaapiVideoDecodeAccelerator::ResetTask, base::Unretained(this))); base 841 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 843 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 858 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 866 content/common/gpu/media/vaapi_video_decode_accelerator.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 877 content/common/gpu/media/vaapi_video_decode_accelerator.cc decoder_thread_proxy_->PostTask(FROM_HERE, base::Bind( base 879 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::Unretained(this))); base 886 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 892 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoLock auto_lock(lock_); base 899 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::AutoUnlock auto_unlock(lock_); base 901 content/common/gpu/media/vaapi_video_decode_accelerator.cc base::WaitableEvent waiter(false, false); base 902 content/common/gpu/media/vaapi_video_decode_accelerator.cc decoder_thread_proxy_->PostTask(FROM_HERE, base::Bind( base 903 content/common/gpu/media/vaapi_video_decode_accelerator.cc &base::WaitableEvent::Signal, base::Unretained(&waiter))); base 914 content/common/gpu/media/vaapi_video_decode_accelerator.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 49 content/common/gpu/media/vaapi_video_decode_accelerator.h const base::Callback<bool(void)>& make_context_current); base 153 content/common/gpu/media/vaapi_video_decode_accelerator.h base::Callback<bool(void)> make_context_current_; base 173 content/common/gpu/media/vaapi_video_decode_accelerator.h base::Lock lock_; base 183 content/common/gpu/media/vaapi_video_decode_accelerator.h scoped_ptr<base::SharedMemory> shm; base 190 content/common/gpu/media/vaapi_video_decode_accelerator.h base::ConditionVariable input_ready_; base 212 content/common/gpu/media/vaapi_video_decode_accelerator.h base::ConditionVariable surfaces_available_; base 223 content/common/gpu/media/vaapi_video_decode_accelerator.h typedef base::Callback<void(TFPPicture*)> OutputCB; base 227 content/common/gpu/media/vaapi_video_decode_accelerator.h base::MessageLoop* message_loop_; base 235 content/common/gpu/media/vaapi_video_decode_accelerator.h base::WeakPtr<VaapiVideoDecodeAccelerator> weak_this_; base 242 content/common/gpu/media/vaapi_video_decode_accelerator.h scoped_ptr<base::WeakPtrFactory<Client> > client_ptr_factory_; base 243 content/common/gpu/media/vaapi_video_decode_accelerator.h base::WeakPtr<Client> client_; base 250 content/common/gpu/media/vaapi_video_decode_accelerator.h base::Thread decoder_thread_; base 254 content/common/gpu/media/vaapi_video_decode_accelerator.h scoped_refptr<base::MessageLoopProxy> decoder_thread_proxy_; base 272 content/common/gpu/media/vaapi_video_decode_accelerator.h base::WeakPtrFactory<VaapiVideoDecodeAccelerator> weak_this_factory_; base 20 content/common/gpu/media/vaapi_wrapper.cc static const base::FilePath::CharType kVaLib[] = base 116 content/common/gpu/media/vaapi_wrapper.cc const base::Closure& report_error_to_uma_cb) { base 139 content/common/gpu/media/vaapi_wrapper.cc const base::Closure& report_error_to_uma_cb) { base 148 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 168 content/common/gpu/media/vaapi_wrapper.cc base::checked_cast<size_t>(max_profiles)); base 179 content/common/gpu/media/vaapi_wrapper.cc supported_profiles.resize(base::checked_cast<size_t>(num_supported_profiles)); base 208 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 232 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 270 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 291 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 314 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 331 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 369 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 389 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 411 content/common/gpu/media/vaapi_wrapper.cc base::AutoLock auto_lock(va_lock_); base 41 content/common/gpu/media/vaapi_wrapper.h const base::Closure& report_error_to_uma_cb); base 100 content/common/gpu/media/vaapi_wrapper.h const base::Closure& report_error__to_uma_cb); base 118 content/common/gpu/media/vaapi_wrapper.h base::Lock va_lock_; base 140 content/common/gpu/media/vaapi_wrapper.h base::Closure report_error_to_uma_cb_; base 33 content/common/gpu/media/video_accelerator_unittest_helpers.h base::Lock lock_; base 34 content/common/gpu/media/video_accelerator_unittest_helpers.h base::ConditionVariable cv_; base 46 content/common/gpu/media/video_accelerator_unittest_helpers.h base::AutoLock auto_lock(lock_); base 53 content/common/gpu/media/video_accelerator_unittest_helpers.h base::AutoLock auto_lock(lock_); base 92 content/common/gpu/media/video_decode_accelerator_unittest.cc const base::FilePath::CharType* g_test_video_data = base 99 content/common/gpu/media/video_decode_accelerator_unittest.cc const base::FilePath::CharType* g_output_log = NULL; base 119 content/common/gpu/media/video_decode_accelerator_unittest.cc const base::TimeDelta kReuseDelay = base::TimeDelta::FromSeconds(1); base 124 content/common/gpu/media/video_decode_accelerator_unittest.cc explicit TestVideoFile(base::FilePath::StringType file_name) base 136 content/common/gpu/media/video_decode_accelerator_unittest.cc base::FilePath::StringType file_name; base 159 content/common/gpu/media/video_decode_accelerator_unittest.cc base::FilePath filepath(video_file->file_name); base 162 content/common/gpu/media/video_decode_accelerator_unittest.cc base::ReadFileToString(filepath, &all_md5s); base 163 content/common/gpu/media/video_decode_accelerator_unittest.cc base::SplitString(all_md5s, '\n', md5_strings); base 202 content/common/gpu/media/video_decode_accelerator_unittest.cc public base::SupportsWeakPtr<ThrottlingVDAClient> { base 206 content/common/gpu/media/video_decode_accelerator_unittest.cc typedef base::Callback<void(int32 picture_buffer_id)> ReusePictureCB; base 232 content/common/gpu/media/video_decode_accelerator_unittest.cc base::TimeTicks next_frame_delivered_time_; base 233 content/common/gpu/media/video_decode_accelerator_unittest.cc base::TimeDelta frame_duration_; base 251 content/common/gpu/media/video_decode_accelerator_unittest.cc frame_duration_ = base::TimeDelta::FromSeconds(1) / fps; base 271 content/common/gpu/media/video_decode_accelerator_unittest.cc base::TimeDelta delay = base 273 content/common/gpu/media/video_decode_accelerator_unittest.cc ? base::TimeDelta() base 274 content/common/gpu/media/video_decode_accelerator_unittest.cc : next_frame_delivered_time_ - base::TimeTicks::Now(); base 275 content/common/gpu/media/video_decode_accelerator_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 277 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&ThrottlingVDAClient::CallClientPictureReady, base 290 content/common/gpu/media/video_decode_accelerator_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 305 content/common/gpu/media/video_decode_accelerator_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 307 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&ThrottlingVDAClient::CallClientPictureReady, base 310 content/common/gpu/media/video_decode_accelerator_unittest.cc next_frame_delivered_time_ - base::TimeTicks::Now()); base 321 content/common/gpu/media/video_decode_accelerator_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 323 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&ThrottlingVDAClient::NotifyFlushDone, base 324 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Unretained(this)), base 325 content/common/gpu/media/video_decode_accelerator_unittest.cc next_frame_delivered_time_ - base::TimeTicks::Now()); base 337 content/common/gpu/media/video_decode_accelerator_unittest.cc next_frame_delivered_time_ = base::TimeTicks(); base 349 content/common/gpu/media/video_decode_accelerator_unittest.cc public base::SupportsWeakPtr<GLRenderingVDAClient> { base 400 content/common/gpu/media/video_decode_accelerator_unittest.cc void OutputFrameDeliveryTimes(base::File* output); base 447 content/common/gpu/media/video_decode_accelerator_unittest.cc scoped_ptr<base::WeakPtrFactory<VideoDecodeAccelerator> > base 459 content/common/gpu/media/video_decode_accelerator_unittest.cc base::TimeTicks initialize_done_ticks_; base 463 content/common/gpu/media/video_decode_accelerator_unittest.cc std::vector<base::TimeTicks> frame_delivery_times_; base 467 content/common/gpu/media/video_decode_accelerator_unittest.cc std::map<int, base::TimeTicks> decode_start_time_; base 469 content/common/gpu/media/video_decode_accelerator_unittest.cc std::vector<base::TimeDelta> decode_time_; base 528 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&GLRenderingVDAClient::NotifyFrameDropped, base 529 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Unretained(this)))); base 546 content/common/gpu/media/video_decode_accelerator_unittest.cc base::WeakPtr<VideoDecodeAccelerator::Client> weak_client = AsWeakPtr(); base 553 content/common/gpu/media/video_decode_accelerator_unittest.cc new DXVAVideoDecodeAccelerator(base::Bind(&DoNothingReturnTrue))); base 565 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&DoNothingReturnTrue), base 567 content/common/gpu/media/video_decode_accelerator_unittest.cc base::MessageLoopProxy::current())); base 573 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&DoNothingReturnTrue))); base 577 content/common/gpu/media/video_decode_accelerator_unittest.cc new base::WeakPtrFactory<VideoDecodeAccelerator>(decoder_.get())); base 598 content/common/gpu/media/video_decode_accelerator_unittest.cc base::WaitableEvent done(false, false); base 628 content/common/gpu/media/video_decode_accelerator_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 631 content/common/gpu/media/video_decode_accelerator_unittest.cc std::map<int, base::TimeTicks>::iterator it = base 660 content/common/gpu/media/video_decode_accelerator_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 662 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&VideoDecodeAccelerator::ReusePictureBuffer, base 725 content/common/gpu/media/video_decode_accelerator_unittest.cc void GLRenderingVDAClient::OutputFrameDeliveryTimes(base::File* output) { base 726 content/common/gpu/media/video_decode_accelerator_unittest.cc std::string s = base::StringPrintf("frame count: %" PRIuS "\n", base 729 content/common/gpu/media/video_decode_accelerator_unittest.cc base::TimeTicks t0 = initialize_done_ticks_; base 731 content/common/gpu/media/video_decode_accelerator_unittest.cc s = base::StringPrintf("frame %04" PRIuS ": %" PRId64 " us\n", base 759 content/common/gpu/media/video_decode_accelerator_unittest.cc initialize_done_ticks_ = base::TimeTicks::Now(); base 907 content/common/gpu/media/video_decode_accelerator_unittest.cc base::SharedMemory shm; base 910 content/common/gpu/media/video_decode_accelerator_unittest.cc base::SharedMemoryHandle dup_handle; base 911 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(shm.ShareToProcess(base::Process::Current().handle(), &dup_handle)); base 914 content/common/gpu/media/video_decode_accelerator_unittest.cc decode_start_time_[next_bitstream_buffer_id_] = base::TimeTicks::Now(); base 934 content/common/gpu/media/video_decode_accelerator_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 936 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&GLRenderingVDAClient::DecodeNextFragment, AsWeakPtr()), base 937 content/common/gpu/media/video_decode_accelerator_unittest.cc base::TimeDelta::FromSeconds(1) / decode_calls_per_second_); base 947 content/common/gpu/media/video_decode_accelerator_unittest.cc base::TimeDelta delta = frame_delivery_times_.back() - initialize_done_ticks_; base 973 content/common/gpu/media/video_decode_accelerator_unittest.cc void ParseAndReadTestVideoData(base::FilePath::StringType data, base 989 content/common/gpu/media/video_decode_accelerator_unittest.cc void OutputLogFile(const base::FilePath::CharType* log_path, base 994 content/common/gpu/media/video_decode_accelerator_unittest.cc scoped_refptr<base::MessageLoopProxy> rendering_loop_proxy_; base 997 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Thread rendering_thread_; base 999 content/common/gpu/media/video_decode_accelerator_unittest.cc base::ShadowingAtExitManager at_exit_manager_; base 1011 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Thread::Options options; base 1012 content/common/gpu/media/video_decode_accelerator_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_DEFAULT; base 1016 content/common/gpu/media/video_decode_accelerator_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_UI; base 1026 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&STLDeleteElements<std::vector<TestVideoFile*> >, base 1029 content/common/gpu/media/video_decode_accelerator_unittest.cc base::WaitableEvent done(false, false); base 1032 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&RenderingHelper::UnInitialize, base 1033 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Unretained(&rendering_helper_), base 1041 content/common/gpu/media/video_decode_accelerator_unittest.cc base::FilePath::StringType data, base 1043 content/common/gpu/media/video_decode_accelerator_unittest.cc std::vector<base::FilePath::StringType> entries; base 1044 content/common/gpu/media/video_decode_accelerator_unittest.cc base::SplitString(data, ';', &entries); base 1047 content/common/gpu/media/video_decode_accelerator_unittest.cc std::vector<base::FilePath::StringType> fields; base 1048 content/common/gpu/media/video_decode_accelerator_unittest.cc base::SplitString(entries[index], ':', &fields); base 1053 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::StringToInt(fields[1], &video_file->width)); base 1055 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::StringToInt(fields[2], &video_file->height)); base 1057 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::StringToInt(fields[3], &video_file->num_frames)); base 1059 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::StringToInt(fields[4], &video_file->num_fragments)); base 1061 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::StringToInt(fields[5], &video_file->min_fps_render)); base 1063 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::StringToInt(fields[6], &video_file->min_fps_no_render)); base 1066 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::StringToInt(fields[7], &profile)); base 1070 content/common/gpu/media/video_decode_accelerator_unittest.cc base::FilePath filepath(video_file->file_name); base 1071 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::ReadFileToString(filepath, &video_file->data_str)) base 1105 content/common/gpu/media/video_decode_accelerator_unittest.cc base::WaitableEvent done(false, false); base 1108 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&RenderingHelper::Initialize, base 1109 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Unretained(&rendering_helper_), base 1120 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&GLRenderingVDAClient::CreateAndStartDecoder, base 1121 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Unretained(client))); base 1134 content/common/gpu/media/video_decode_accelerator_unittest.cc base::WaitableEvent done(false, false); base 1137 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&done))); base 1142 content/common/gpu/media/video_decode_accelerator_unittest.cc const base::FilePath::CharType* log_path, base 1144 content/common/gpu/media/video_decode_accelerator_unittest.cc base::File file(base::FilePath(log_path), base 1145 content/common/gpu/media/video_decode_accelerator_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); base 1341 content/common/gpu/media/video_decode_accelerator_unittest.cc base::WaitableEvent done(false, false); base 1344 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&RenderingHelper::GetThumbnailsAsRGB, base 1345 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Unretained(&rendering_helper_), base 1350 content/common/gpu/media/video_decode_accelerator_unittest.cc std::string md5_string = base::MD5String( base 1351 content/common/gpu/media/video_decode_accelerator_unittest.cc base::StringPiece(reinterpret_cast<char*>(&rgb[0]), rgb.size())); base 1368 content/common/gpu/media/video_decode_accelerator_unittest.cc base::FilePath filepath(test_video_files_[0]->file_name); base 1371 content/common/gpu/media/video_decode_accelerator_unittest.cc int num_bytes = base::WriteFile(filepath, base 1384 content/common/gpu/media/video_decode_accelerator_unittest.cc base::File output_file( base 1385 content/common/gpu/media/video_decode_accelerator_unittest.cc base::FilePath(g_output_log), base 1386 content/common/gpu/media/video_decode_accelerator_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); base 1394 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&STLDeleteElements<std::vector<GLRenderingVDAClient*> >, base 1398 content/common/gpu/media/video_decode_accelerator_unittest.cc base::Bind(&STLDeleteElements< base 1514 content/common/gpu/media/video_decode_accelerator_unittest.cc base::StringPrintf("Decode time median: %d ms", decode_time_median); base 1564 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::StringToDouble(input, &content::g_rendering_fps)); base 1576 content/common/gpu/media/video_decode_accelerator_unittest.cc base::ShadowingAtExitManager at_exit_manager; base 57 content/common/gpu/media/video_encode_accelerator_unittest.cc base::FilePath::StringType* g_test_stream_data; base 64 content/common/gpu/media/video_encode_accelerator_unittest.cc base::MemoryMappedFile input_file; base 70 content/common/gpu/media/video_encode_accelerator_unittest.cc static void ParseAndReadTestStreamData(const base::FilePath::StringType& data, base 72 content/common/gpu/media/video_encode_accelerator_unittest.cc std::vector<base::FilePath::StringType> fields; base 73 content/common/gpu/media/video_encode_accelerator_unittest.cc base::SplitString(data, ':', &fields); base 77 content/common/gpu/media/video_encode_accelerator_unittest.cc base::FilePath::StringType filename = fields[0]; base 79 content/common/gpu/media/video_encode_accelerator_unittest.cc CHECK(base::StringToInt(fields[1], &width)); base 80 content/common/gpu/media/video_encode_accelerator_unittest.cc CHECK(base::StringToInt(fields[2], &height)); base 84 content/common/gpu/media/video_encode_accelerator_unittest.cc CHECK(base::StringToInt(fields[3], &profile)); base 92 content/common/gpu/media/video_encode_accelerator_unittest.cc CHECK(base::StringToUint(fields[5], &test_stream->requested_bitrate)); base 94 content/common/gpu/media/video_encode_accelerator_unittest.cc CHECK(test_stream->input_file.Initialize(base::FilePath(filename))); base 117 content/common/gpu/media/video_encode_accelerator_unittest.cc typedef base::Callback<bool(bool)> FrameFoundCallback; base 272 content/common/gpu/media/video_encode_accelerator_unittest.cc void FeedEncoderWithOutput(base::SharedMemory* shm); base 303 content/common/gpu/media/video_encode_accelerator_unittest.cc typedef std::map<int32, base::SharedMemory*> IdToSHM; base 304 content/common/gpu/media/video_encode_accelerator_unittest.cc ScopedVector<base::SharedMemory> output_shms_; base 343 content/common/gpu/media/video_encode_accelerator_unittest.cc base::ThreadChecker thread_checker_; base 373 content/common/gpu/media/video_encode_accelerator_unittest.cc base::Bind(&VEAClient::HandleEncodedFrame, base::Unretained(this))); base 379 content/common/gpu/media/video_encode_accelerator_unittest.cc base::FilePath out_filename(test_stream_.out_filename); base 382 content/common/gpu/media/video_encode_accelerator_unittest.cc EXPECT_EQ(0, base::WriteFile(out_filename, NULL, 0)); base 466 content/common/gpu/media/video_encode_accelerator_unittest.cc base::SharedMemory* shm = new base::SharedMemory(); base 483 content/common/gpu/media/video_encode_accelerator_unittest.cc base::SharedMemory* shm = it->second; base 499 content/common/gpu/media/video_encode_accelerator_unittest.cc int size = base::checked_cast<int>(payload_size); base 500 content/common/gpu/media/video_encode_accelerator_unittest.cc EXPECT_EQ(base::AppendToFile( base 501 content/common/gpu/media/video_encode_accelerator_unittest.cc base::FilePath::FromUTF8Unsafe(test_stream_.out_filename), base 553 content/common/gpu/media/video_encode_accelerator_unittest.cc base::TimeDelta(), base 555 content/common/gpu/media/video_encode_accelerator_unittest.cc base::Bind(&VEAClient::InputNoLongerNeededCallback, base 556 content/common/gpu/media/video_encode_accelerator_unittest.cc base::Unretained(this), base 595 content/common/gpu/media/video_encode_accelerator_unittest.cc void VEAClient::FeedEncoderWithOutput(base::SharedMemory* shm) { base 602 content/common/gpu/media/video_encode_accelerator_unittest.cc base::SharedMemoryHandle dup_handle; base 603 content/common/gpu/media/video_encode_accelerator_unittest.cc CHECK(shm->ShareToProcess(base::Process::Current().handle(), &dup_handle)); base 692 content/common/gpu/media/video_encode_accelerator_unittest.cc base::Thread encoder_thread("EncoderThread"); base 704 content/common/gpu/media/video_encode_accelerator_unittest.cc base::Bind(&VEAClient::CreateEncoder, base::Unretained(client.get()))); base 714 content/common/gpu/media/video_encode_accelerator_unittest.cc base::Bind(&VEAClient::DestroyEncoder, base::Unretained(client.get()))); base 746 content/common/gpu/media/video_encode_accelerator_unittest.cc base::ShadowingAtExitManager at_exit_manager; base 747 content/common/gpu/media/video_encode_accelerator_unittest.cc scoped_ptr<base::FilePath::StringType> test_stream_data( base 748 content/common/gpu/media/video_encode_accelerator_unittest.cc new base::FilePath::StringType( base 79 content/common/gpu/stream_texture_android.cc surface_texture_->SetFrameAvailableCallback(base::Bind( base 192 content/common/gpu/stream_texture_android.cc base::ProcessHandle process = owner_stub_->channel()->renderer_pid(); base 76 content/common/gpu/stream_texture_android.h base::WeakPtrFactory<StreamTexture> weak_factory_; base 19 content/common/gpu/sync_point_manager.cc base::AutoLock lock(lock_); base 36 content/common/gpu/sync_point_manager.cc base::AutoLock lock(lock_); base 47 content/common/gpu/sync_point_manager.cc const base::Closure& callback) { base 50 content/common/gpu/sync_point_manager.cc base::AutoLock lock(lock_); base 63 content/common/gpu/sync_point_manager.cc base::AutoLock lock(lock_); base 20 content/common/gpu/sync_point_manager.h class SyncPointManager : public base::RefCountedThreadSafe<SyncPointManager> { base 36 content/common/gpu/sync_point_manager.h void AddSyncPointCallback(uint32 sync_point, const base::Closure& callback); base 41 content/common/gpu/sync_point_manager.h friend class base::RefCountedThreadSafe<SyncPointManager>; base 42 content/common/gpu/sync_point_manager.h typedef std::vector<base::Closure> ClosureList; base 43 content/common/gpu/sync_point_manager.h typedef base::hash_map<uint32, ClosureList > SyncPointMap; base 47 content/common/gpu/sync_point_manager.h base::ThreadChecker thread_checker_; base 51 content/common/gpu/sync_point_manager.h base::Lock lock_; base 300 content/common/gpu/texture_image_transport_surface.cc base::Bind(&TextureImageTransportSurface::BufferPresentedImpl, base 19 content/common/handle_enumerator_win.cc using base::ASCIIToUTF16; base 24 content/common/handle_enumerator_win.cc typedef std::map<const base::string16, HandleType> HandleTypeMap; base 57 content/common/handle_enumerator_win.cc base::string16 output = ASCIIToUTF16(process_type); base 83 content/common/handle_enumerator_win.cc HandleType StringToHandleType(const base::string16& type) { base 89 content/common/handle_enumerator_win.cc base::string16 GetAccessString(HandleType handle_type, base 91 content/common/handle_enumerator_win.cc base::string16 output; base 34 content/common/handle_enumerator_win.h static HandleType StringToHandleType(const base::string16& type); base 36 content/common/handle_enumerator_win.h static base::string16 GetAccessString(HandleType handle_type, base 39 content/common/handle_enumerator_win.h class HandleEnumerator : public base::RefCountedThreadSafe<HandleEnumerator> { base 14 content/common/host_shared_bitmap_manager.cc class BitmapData : public base::RefCountedThreadSafe<BitmapData> { base 16 content/common/host_shared_bitmap_manager.cc BitmapData(base::ProcessHandle process_handle, base 17 content/common/host_shared_bitmap_manager.cc base::SharedMemoryHandle memory_handle, base 22 content/common/host_shared_bitmap_manager.cc base::ProcessHandle process_handle; base 23 content/common/host_shared_bitmap_manager.cc base::SharedMemoryHandle memory_handle; base 24 content/common/host_shared_bitmap_manager.cc scoped_ptr<base::SharedMemory> memory; base 37 content/common/host_shared_bitmap_manager.cc base::LazyInstance<HostSharedBitmapManager> g_shared_memory_manager = base 57 content/common/host_shared_bitmap_manager.cc base::AutoLock lock(lock_); base 78 content/common/host_shared_bitmap_manager.cc data->memory.get(), id, base::Bind(&FreeSharedMemory, it->second))); base 84 content/common/host_shared_bitmap_manager.cc base::SharedMemory*) { base 90 content/common/host_shared_bitmap_manager.cc const base::SharedMemoryHandle& handle, base 91 content/common/host_shared_bitmap_manager.cc base::ProcessHandle process_handle, base 93 content/common/host_shared_bitmap_manager.cc base::AutoLock lock(lock_); base 103 content/common/host_shared_bitmap_manager.cc new base::SharedMemory(data->memory_handle, false, data->process_handle)); base 106 content/common/host_shared_bitmap_manager.cc make_scoped_ptr(new base::SharedMemory(data->memory_handle, false)); base 111 content/common/host_shared_bitmap_manager.cc base::ProcessHandle process_handle, base 114 content/common/host_shared_bitmap_manager.cc base::SharedMemoryHandle* shared_memory_handle) { base 115 content/common/host_shared_bitmap_manager.cc base::AutoLock lock(lock_); base 117 content/common/host_shared_bitmap_manager.cc *shared_memory_handle = base::SharedMemory::NULLHandle(); base 120 content/common/host_shared_bitmap_manager.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory); base 123 content/common/host_shared_bitmap_manager.cc *shared_memory_handle = base::SharedMemory::NULLHandle(); base 135 content/common/host_shared_bitmap_manager.cc *shared_memory_handle = base::SharedMemory::NULLHandle(); base 142 content/common/host_shared_bitmap_manager.cc base::AutoLock lock(lock_); base 146 content/common/host_shared_bitmap_manager.cc base::hash_set<cc::SharedBitmapId>& res = base 153 content/common/host_shared_bitmap_manager.cc base::ProcessHandle process_handle) { base 154 content/common/host_shared_bitmap_manager.cc base::AutoLock lock(lock_); base 158 content/common/host_shared_bitmap_manager.cc base::hash_set<cc::SharedBitmapId>& res = proc_it->second; base 160 content/common/host_shared_bitmap_manager.cc for (base::hash_set<cc::SharedBitmapId>::iterator it = res.begin(); base 27 content/common/host_shared_bitmap_manager.h return base::Hash(reinterpret_cast<const char*>(id.name), sizeof(id.name)); base 32 content/common/host_shared_bitmap_manager.h return base::Hash(reinterpret_cast<const char*>(id.name), sizeof(id.name)); base 54 content/common/host_shared_bitmap_manager.h base::SharedMemory*) OVERRIDE; base 57 content/common/host_shared_bitmap_manager.h base::ProcessHandle process_handle, base 60 content/common/host_shared_bitmap_manager.h base::SharedMemoryHandle* shared_memory_handle); base 62 content/common/host_shared_bitmap_manager.h const base::SharedMemoryHandle& handle, base 63 content/common/host_shared_bitmap_manager.h base::ProcessHandle process_handle, base 66 content/common/host_shared_bitmap_manager.h void ProcessRemoved(base::ProcessHandle process_handle); base 69 content/common/host_shared_bitmap_manager.h base::Lock lock_; base 71 content/common/host_shared_bitmap_manager.h typedef base::hash_map<cc::SharedBitmapId, scoped_refptr<BitmapData> > base 75 content/common/host_shared_bitmap_manager.h typedef base::hash_map<base::ProcessHandle, base 76 content/common/host_shared_bitmap_manager.h base::hash_set<cc::SharedBitmapId> > ProcessMap; base 21 content/common/host_shared_bitmap_manager_unittest.cc scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory()); base 26 content/common/host_shared_bitmap_manager_unittest.cc base::SharedMemoryHandle handle; base 27 content/common/host_shared_bitmap_manager_unittest.cc bitmap->ShareToProcess(base::GetCurrentProcessHandle(), &handle); base 29 content/common/host_shared_bitmap_manager_unittest.cc size_in_bytes, handle, base::GetCurrentProcessHandle(), id); base 81 content/common/host_shared_bitmap_manager_unittest.cc base::SharedMemoryHandle handle; base 83 content/common/host_shared_bitmap_manager_unittest.cc base::GetCurrentProcessHandle(), size_in_bytes, id, &handle); base 85 content/common/host_shared_bitmap_manager_unittest.cc EXPECT_TRUE(base::SharedMemory::IsHandleValid(handle)); base 86 content/common/host_shared_bitmap_manager_unittest.cc scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory(handle, false)); base 101 content/common/host_shared_bitmap_manager_unittest.cc scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory()); base 106 content/common/host_shared_bitmap_manager_unittest.cc base::SharedMemoryHandle handle; base 107 content/common/host_shared_bitmap_manager_unittest.cc bitmap->ShareToProcess(base::GetCurrentProcessHandle(), &handle); base 109 content/common/host_shared_bitmap_manager_unittest.cc size_in_bytes, handle, base::GetCurrentProcessHandle(), id); base 111 content/common/host_shared_bitmap_manager_unittest.cc manager_->ProcessRemoved(base::kNullProcessHandle); base 117 content/common/host_shared_bitmap_manager_unittest.cc manager_->ProcessRemoved(base::GetCurrentProcessHandle()); base 135 content/common/host_shared_bitmap_manager_unittest.cc scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory()); base 140 content/common/host_shared_bitmap_manager_unittest.cc base::SharedMemoryHandle handle; base 141 content/common/host_shared_bitmap_manager_unittest.cc bitmap->ShareToProcess(base::GetCurrentProcessHandle(), &handle); base 143 content/common/host_shared_bitmap_manager_unittest.cc size_in_bytes, handle, base::GetCurrentProcessHandle(), id); base 145 content/common/host_shared_bitmap_manager_unittest.cc scoped_ptr<base::SharedMemory> bitmap2(new base::SharedMemory()); base 150 content/common/host_shared_bitmap_manager_unittest.cc size_in_bytes, bitmap2->handle(), base::GetCurrentProcessHandle(), id); base 89 content/common/indexed_db/indexed_db_key.cc IndexedDBKey::IndexedDBKey(const base::string16& string) base 93 content/common/indexed_db/indexed_db_key.cc (string.length() * sizeof(base::string16::value_type))) {} base 30 content/common/indexed_db/indexed_db_key.h explicit IndexedDBKey(const base::string16& string); base 46 content/common/indexed_db/indexed_db_key.h const base::string16& string() const { return string_; } base 58 content/common/indexed_db/indexed_db_key.h base::string16 string_; base 17 content/common/indexed_db/indexed_db_key_path.cc IndexedDBKeyPath::IndexedDBKeyPath(const base::string16& string) base 20 content/common/indexed_db/indexed_db_key_path.cc IndexedDBKeyPath::IndexedDBKeyPath(const std::vector<base::string16>& array) base 25 content/common/indexed_db/indexed_db_key_path.cc const std::vector<base::string16>& IndexedDBKeyPath::array() const { base 30 content/common/indexed_db/indexed_db_key_path.cc const base::string16& IndexedDBKeyPath::string() const { base 20 content/common/indexed_db/indexed_db_key_path.h explicit IndexedDBKeyPath(const base::string16&); base 21 content/common/indexed_db/indexed_db_key_path.h explicit IndexedDBKeyPath(const std::vector<base::string16>&); base 28 content/common/indexed_db/indexed_db_key_path.h const std::vector<base::string16>& array() const; base 29 content/common/indexed_db/indexed_db_key_path.h const base::string16& string() const; base 33 content/common/indexed_db/indexed_db_key_path.h base::string16 string_; base 34 content/common/indexed_db/indexed_db_key_path.h std::vector<base::string16> array_; base 35 content/common/indexed_db/indexed_db_key_unittest.cc const base::string16 string(1024, static_cast<base::char16>('X')); base 58 content/common/indexed_db/indexed_db_messages.h IPC_STRUCT_MEMBER(base::string16, name) base 73 content/common/indexed_db/indexed_db_messages.h IPC_STRUCT_MEMBER(base::string16, name) base 99 content/common/indexed_db/indexed_db_messages.h IPC_STRUCT_MEMBER(base::string16, name) base 225 content/common/indexed_db/indexed_db_messages.h IPC_STRUCT_MEMBER(base::string16, name) base 263 content/common/indexed_db/indexed_db_messages.h IPC_STRUCT_MEMBER(base::string16, name) base 271 content/common/indexed_db/indexed_db_messages.h IPC_STRUCT_MEMBER(base::string16, name) base 280 content/common/indexed_db/indexed_db_messages.h IPC_STRUCT_MEMBER(base::string16, name) base 281 content/common/indexed_db/indexed_db_messages.h IPC_STRUCT_MEMBER(base::string16, version) base 347 content/common/indexed_db/indexed_db_messages.h std::vector<base::string16> /* dom_string_list */) base 352 content/common/indexed_db/indexed_db_messages.h base::string16 /* message */) base 377 content/common/indexed_db/indexed_db_messages.h base::string16) /* message */ base 85 content/common/indexed_db/indexed_db_param_traits.cc base::string16 string; base 159 content/common/indexed_db/indexed_db_param_traits.cc std::vector<base::string16> array; base 166 content/common/indexed_db/indexed_db_param_traits.cc base::string16 string; base 188 content/common/indexed_db/indexed_db_param_traits.cc std::vector<base::string16>::const_iterator it = p.array().begin(); base 197 content/common/input/synthetic_web_input_event_builders.cc void SyntheticWebTouchEvent::SetTimestamp(base::TimeDelta timestamp) { base 74 content/common/input/synthetic_web_input_event_builders.h void SetTimestamp(base::TimeDelta timestamp); base 145 content/common/input_messages.h base::string16) base 148 content/common/input_messages.h base::string16) base 92 content/common/inter_process_time_ticks_converter.h static LocalTimeTicks FromTimeTicks(const base::TimeTicks& value) { base 96 content/common/inter_process_time_ticks_converter.h base::TimeTicks ToTimeTicks() { base 97 content/common/inter_process_time_ticks_converter.h return base::TimeTicks::FromInternalValue(value_); base 129 content/common/inter_process_time_ticks_converter.h static RemoteTimeTicks FromTimeTicks(const base::TimeTicks& ticks) { base 10 content/common/inter_process_time_ticks_converter_unittest.cc using base::TimeTicks; base 21 content/common/java_bridge_messages.h base::string16 /* name */, base 26 content/common/java_bridge_messages.h base::string16 /* name */) base 65 content/common/mac/attributed_string_coder.h explicit EncodedString(base::string16 string); base 70 content/common/mac/attributed_string_coder.h base::string16 string() const { return string_; } base 78 content/common/mac/attributed_string_coder.h base::string16 string_; base 20 content/common/mac/font_descriptor.h FontDescriptor(base::string16 name, float size); base 28 content/common/mac/font_descriptor.h base::string16 font_name; base 34 content/common/mac/font_loader.h base::SharedMemory font_data; base 63 content/common/mac/font_loader.h static bool CGFontRefFromBuffer(base::SharedMemoryHandle font_data, base 45 content/common/media/audio_messages.h base::SharedMemoryHandle /* handle */, base 46 content/common/media/audio_messages.h base::SyncSocket::Handle /* socket handle */, base 51 content/common/media/audio_messages.h base::SharedMemoryHandle /* handle */, base 52 content/common/media/audio_messages.h base::FileDescriptor /* socket handle */, base 62 content/common/media/audio_messages.h base::SharedMemoryHandle /* handle */, base 63 content/common/media/audio_messages.h base::SyncSocket::Handle /* socket handle */, base 69 content/common/media/audio_messages.h base::SharedMemoryHandle /* handle */, base 70 content/common/media/audio_messages.h base::FileDescriptor /* socket handle */, base 58 content/common/media/media_param_traits.cc l->append(base::StringPrintf("<AudioParameters>")); base 90 content/common/media/media_param_traits.cc l->append(base::StringPrintf("<VideoCaptureFormat>")); base 121 content/common/media/media_player_messages_android.h base::TimeDelta /* duration */, base 129 content/common/media/media_player_messages_android.h base::TimeDelta /* time_to_seek_to */) base 134 content/common/media/media_player_messages_android.h base::TimeDelta /* current_time */) base 145 content/common/media/media_player_messages_android.h base::TimeDelta /* current_time */) base 170 content/common/media/media_player_messages_android.h base::TimeDelta /* time_to_seek */, base 232 content/common/media/media_player_messages_android.h base::TimeDelta /* time */) base 261 content/common/media/media_player_messages_android.h base::TimeDelta /* actual_browser_seek_time */) base 276 content/common/media/media_player_messages_android.h base::TimeDelta /* duration */) base 31 content/common/media/peer_connection_tracker_messages.h base::ListValue /* value */) base 37 content/common/media/video_capture_messages.h base::SharedMemoryHandle /* handle */, base 52 content/common/media/video_capture_messages.h base::TimeTicks /* timestamp */) base 61 content/common/media/video_capture_messages.h base::TimeTicks /* timestamp */) base 28 content/common/message_port_messages.h typedef std::pair<base::string16, std::vector<int> > QueuedMessage; base 38 content/common/message_port_messages.h base::string16 /* message */, base 65 content/common/message_port_messages.h base::string16 /* message */, base 18 content/common/mime_registry_messages.h base::FilePath::StringType /* extension */, base 21 content/common/mime_registry_messages.h base::FilePath /* file_path */, base 23 content/common/mojo/mojo_channel_init.cc base::Bind(&mojo::embedder::DestroyChannelOnIOThread, channel_info_)); base 28 content/common/mojo/mojo_channel_init.cc base::PlatformFile file, base 29 content/common/mojo/mojo_channel_init.cc scoped_refptr<base::TaskRunner> io_thread_task_runner) { base 36 content/common/mojo/mojo_channel_init.cc base::Bind(&MojoChannelInit::OnCreatedChannel, weak_factory_.GetWeakPtr(), base 38 content/common/mojo/mojo_channel_init.cc base::MessageLoop::current()->message_loop_proxy()).Pass(); base 43 content/common/mojo/mojo_channel_init.cc base::WeakPtr<MojoChannelInit> host, base 44 content/common/mojo/mojo_channel_init.cc scoped_refptr<base::TaskRunner> io_thread, base 51 content/common/mojo/mojo_channel_init.cc base::Bind(&mojo::embedder::DestroyChannelOnIOThread, channel)); base 14 content/common/mojo/mojo_channel_init.h namespace base { base 35 content/common/mojo/mojo_channel_init.h void Init(base::PlatformFile file, base 36 content/common/mojo/mojo_channel_init.h scoped_refptr<base::TaskRunner> io_thread_task_runner); base 47 content/common/mojo/mojo_channel_init.h base::WeakPtr<MojoChannelInit> host, base 48 content/common/mojo/mojo_channel_init.h scoped_refptr<base::TaskRunner> io_thread, base 51 content/common/mojo/mojo_channel_init.h scoped_refptr<base::TaskRunner> io_thread_task_runner_; base 59 content/common/mojo/mojo_channel_init.h base::WeakPtrFactory<MojoChannelInit> weak_factory_; base 15 content/common/net/url_fetcher.cc base::SupportsUserData::Data* CreateURLRequestUserData( base 30 content/common/net/url_fetcher.cc base::Bind(&CreateURLRequestUserData, base 14 content/common/net/url_request_user_data.h class URLRequestUserData : public base::SupportsUserData::Data { base 13 content/common/one_writer_seqlock.cc base::subtle::Atomic32 OneWriterSeqLock::ReadBegin() { base 14 content/common/one_writer_seqlock.cc base::subtle::Atomic32 version; base 16 content/common/one_writer_seqlock.cc version = base::subtle::NoBarrier_Load(&sequence_); base 24 content/common/one_writer_seqlock.cc base::PlatformThread::YieldCurrentThread(); base 29 content/common/one_writer_seqlock.cc bool OneWriterSeqLock::ReadRetry(base::subtle::Atomic32 version) { base 32 content/common/one_writer_seqlock.cc return base::subtle::Release_Load(&sequence_) != version; base 38 content/common/one_writer_seqlock.cc base::subtle::Barrier_AtomicIncrement(&sequence_, 1); base 46 content/common/one_writer_seqlock.cc base::subtle::Barrier_AtomicIncrement(&sequence_, 1); base 34 content/common/one_writer_seqlock.h base::subtle::Atomic32 ReadBegin(); base 35 content/common/one_writer_seqlock.h bool ReadRetry(base::subtle::Atomic32 version); base 40 content/common/one_writer_seqlock.h base::subtle::Atomic32 sequence_; base 76 content/common/p2p_messages.h base::TimeTicks /* timestamp */ ) base 34 content/common/page_state_serialization.cc const base::NullableString16& file_path, base 73 content/common/page_state_serialization.cc std::vector<base::NullableString16>* referenced_files) { base 81 content/common/page_state_serialization.cc const std::vector<base::NullableString16>& document_state, base 82 content/common/page_state_serialization.cc std::vector<base::NullableString16>* referenced_files) { base 102 content/common/page_state_serialization.cc if (!base::StringToSizeT(document_state[index++].string(), &item_count)) base 110 content/common/page_state_serialization.cc const base::NullableString16& type = document_state[index++]; base 116 content/common/page_state_serialization.cc if (!base::StringToSizeT(document_state[index++].string(), &value_size)) base 139 content/common/page_state_serialization.cc std::vector<base::NullableString16>* referenced_files) { base 317 content/common/page_state_serialization.cc void WriteString(const base::NullableString16& str, SerializeObject* obj) { base 321 content/common/page_state_serialization.cc const base::char16* data = str.string().data(); base 322 content/common/page_state_serialization.cc size_t length_in_bytes = str.string().length() * sizeof(base::char16); base 333 content/common/page_state_serialization.cc const base::char16* ReadStringNoCopy(SerializeObject* obj, int* num_chars) { base 350 content/common/page_state_serialization.cc *num_chars = length_in_bytes / sizeof(base::char16); base 351 content/common/page_state_serialization.cc return reinterpret_cast<const base::char16*>(data); base 354 content/common/page_state_serialization.cc base::NullableString16 ReadString(SerializeObject* obj) { base 356 content/common/page_state_serialization.cc const base::char16* chars = ReadStringNoCopy(obj, &num_chars); base 358 content/common/page_state_serialization.cc base::NullableString16(base::string16(chars, num_chars), false) : base 359 content/common/page_state_serialization.cc base::NullableString16(); base 363 content/common/page_state_serialization.cc const base::char16* unused ALLOW_UNUSED = ReadStringNoCopy(obj, NULL); base 393 content/common/page_state_serialization.cc const std::vector<base::NullableString16>& data, SerializeObject* obj) { base 401 content/common/page_state_serialization.cc std::vector<base::NullableString16>* result) { base 403 content/common/page_state_serialization.cc ReadAndValidateVectorSize(obj, sizeof(base::NullableString16)); base 463 content/common/page_state_serialization.cc base::NullableString16 file_path = ReadString(obj); base 634 content/common/page_state_serialization.cc base::NullableString16( base 635 content/common/page_state_serialization.cc base::UTF8ToUTF16(url.possibly_invalid_spec()), false); base 22 content/common/page_state_serialization.h base::NullableString16 file_path; base 34 content/common/page_state_serialization.h base::NullableString16 http_content_type; base 45 content/common/page_state_serialization.h base::NullableString16 url_string; base 46 content/common/page_state_serialization.h base::NullableString16 referrer; base 47 content/common/page_state_serialization.h base::NullableString16 target; base 48 content/common/page_state_serialization.h base::NullableString16 state_object; base 49 content/common/page_state_serialization.h std::vector<base::NullableString16> document_state; base 63 content/common/page_state_serialization.h std::vector<base::NullableString16> referenced_files; base 25 content/common/page_state_serialization_unittest.cc base::NullableString16 NS16(const char* s) { base 26 content/common/page_state_serialization_unittest.cc return s ? base::NullableString16(base::ASCIIToUTF16(s), false) : base 27 content/common/page_state_serialization_unittest.cc base::NullableString16(); base 110 content/common/page_state_serialization_unittest.cc std::vector<base::NullableString16>* referenced_files) { base 196 content/common/page_state_serialization_unittest.cc base::FilePath path; base 199 content/common/page_state_serialization_unittest.cc base::StringPrintf("serialized_v%d%s.dat", version, suffix)); base 202 content/common/page_state_serialization_unittest.cc if (!base::ReadFileToString(path, &file_contents)) { base 208 content/common/page_state_serialization_unittest.cc EXPECT_TRUE(base::RemoveChars(file_contents, "\r\n", &trimmed_contents)); base 211 content/common/page_state_serialization_unittest.cc EXPECT_TRUE(base::Base64Decode(trimmed_contents, &encoded)); base 371 content/common/page_state_serialization_unittest.cc base::Base64Encode(encoded, &base64); base 373 content/common/page_state_serialization_unittest.cc base::FilePath path; base 374 content/common/page_state_serialization_unittest.cc PathService::Get(base::DIR_TEMP, &path); base 377 content/common/page_state_serialization_unittest.cc FILE* fp = base::OpenFile(path, "wb"); base 22 content/common/pepper_messages.h base::Time /* t */, base 55 content/common/pepper_plugin_list.cc base::SplitString(value, ',', &modules); base 67 content/common/pepper_plugin_list.cc base::SplitString(modules[i], ';', &parts); base 74 content/common/pepper_plugin_list.cc base::SplitString(parts[0], '#', &name_parts); base 82 content/common/pepper_plugin_list.cc plugin.path = base::FilePath(base::ASCIIToUTF16(name_parts[0])); base 84 content/common/pepper_plugin_list.cc plugin.path = base::FilePath(name_parts[0]); base 89 content/common/pepper_plugin_list.cc if (base::PathExists(plugin.path)) { base 113 content/common/pepper_plugin_list.cc base::UTF16ToUTF8(plugin.path.BaseName().LossyDisplayName()); base 136 content/common/pepper_plugin_list.cc pepper_info->path = base::FilePath(webplugin_info.path); base 137 content/common/pepper_plugin_list.cc pepper_info->name = base::UTF16ToASCII(webplugin_info.name); base 138 content/common/pepper_plugin_list.cc pepper_info->description = base::UTF16ToASCII(webplugin_info.desc); base 139 content/common/pepper_plugin_list.cc pepper_info->version = base::UTF16ToASCII(webplugin_info.version); base 9 content/common/plugin_constants_win.cc const base::char16 kNativeWindowClassName[] = L"NativeWindowClass"; base 10 content/common/plugin_constants_win.cc const base::char16 kWrapperNativeWindowClassName[] = base 12 content/common/plugin_constants_win.cc const base::char16 kPluginNameAtomProperty[] = L"PluginNameAtom"; base 13 content/common/plugin_constants_win.cc const base::char16 kPluginVersionAtomProperty[] = L"PluginVersionAtom"; base 14 content/common/plugin_constants_win.cc const base::char16 kDummyActivationWindowName[] = L"DummyWindowForActivation"; base 15 content/common/plugin_constants_win.cc const base::char16 kPaintMessageName[] = L"Chrome_CustomPaintil"; base 16 content/common/plugin_constants_win.cc const base::char16 kRegistryMozillaPlugins[] = L"SOFTWARE\\MozillaPlugins"; base 17 content/common/plugin_constants_win.cc const base::char16 kMozillaActiveXPlugin[] = L"npmozax.dll"; base 18 content/common/plugin_constants_win.cc const base::char16 kNewWMPPlugin[] = L"np-mswmp.dll"; base 19 content/common/plugin_constants_win.cc const base::char16 kOldWMPPlugin[] = L"npdsplay.dll"; base 20 content/common/plugin_constants_win.cc const base::char16 kYahooApplicationStatePlugin[] = L"npystate.dll"; base 21 content/common/plugin_constants_win.cc const base::char16 kWanWangProtocolHandlerPlugin[] = L"npww.dll"; base 22 content/common/plugin_constants_win.cc const base::char16 kFlashPlugin[] = L"npswf32.dll"; base 23 content/common/plugin_constants_win.cc const base::char16 kAcrobatReaderPlugin[] = L"nppdf32.dll"; base 24 content/common/plugin_constants_win.cc const base::char16 kRealPlayerPlugin[] = L"nppl3260.dll"; base 25 content/common/plugin_constants_win.cc const base::char16 kSilverlightPlugin[] = L"npctrl.dll"; base 26 content/common/plugin_constants_win.cc const base::char16 kJavaPlugin1[] = L"npjp2.dll"; base 27 content/common/plugin_constants_win.cc const base::char16 kJavaPlugin2[] = L"npdeploytk.dll"; base 29 content/common/plugin_constants_win.cc const base::char16 kPluginDummyParentProperty[] = L"NPAPIPluginDummyParent"; base 17 content/common/plugin_constants_win.h extern const base::char16 kNativeWindowClassName[]; base 22 content/common/plugin_constants_win.h extern const base::char16 kWrapperNativeWindowClassName[]; base 24 content/common/plugin_constants_win.h extern const base::char16 kPluginNameAtomProperty[]; base 25 content/common/plugin_constants_win.h extern const base::char16 kPluginVersionAtomProperty[]; base 26 content/common/plugin_constants_win.h extern const base::char16 kDummyActivationWindowName[]; base 30 content/common/plugin_constants_win.h extern const base::char16 kPaintMessageName[]; base 33 content/common/plugin_constants_win.h extern const base::char16 kRegistryMozillaPlugins[]; base 35 content/common/plugin_constants_win.h extern const base::char16 kMozillaActiveXPlugin[]; base 36 content/common/plugin_constants_win.h extern const base::char16 kNewWMPPlugin[]; base 37 content/common/plugin_constants_win.h extern const base::char16 kOldWMPPlugin[]; base 38 content/common/plugin_constants_win.h extern const base::char16 kYahooApplicationStatePlugin[]; base 39 content/common/plugin_constants_win.h extern const base::char16 kWanWangProtocolHandlerPlugin[]; base 40 content/common/plugin_constants_win.h extern const base::char16 kFlashPlugin[]; base 41 content/common/plugin_constants_win.h extern const base::char16 kAcrobatReaderPlugin[]; base 42 content/common/plugin_constants_win.h extern const base::char16 kRealPlayerPlugin[]; base 43 content/common/plugin_constants_win.h extern const base::char16 kSilverlightPlugin[]; base 44 content/common/plugin_constants_win.h extern const base::char16 kJavaPlugin1[]; base 45 content/common/plugin_constants_win.h extern const base::char16 kJavaPlugin2[]; base 49 content/common/plugin_constants_win.h extern const base::char16 kPluginDummyParentProperty[]; base 28 content/common/plugin_list.cc base::LazyInstance<PluginList> g_singleton = LAZY_INSTANCE_INITIALIZER; base 48 content/common/plugin_list.cc base::AutoLock lock(lock_); base 52 content/common/plugin_list.cc void PluginList::AddExtraPluginPath(const base::FilePath& plugin_path) { base 55 content/common/plugin_list.cc base::AutoLock lock(lock_); base 60 content/common/plugin_list.cc void PluginList::RemoveExtraPluginPath(const base::FilePath& plugin_path) { base 61 content/common/plugin_list.cc base::AutoLock lock(lock_); base 65 content/common/plugin_list.cc void PluginList::AddExtraPluginDir(const base::FilePath& plugin_dir) { base 68 content/common/plugin_list.cc base::AutoLock lock(lock_); base 75 content/common/plugin_list.cc base::AutoLock lock(lock_); base 87 content/common/plugin_list.cc void PluginList::UnregisterInternalPlugin(const base::FilePath& path) { base 88 content/common/plugin_list.cc base::AutoLock lock(lock_); base 103 content/common/plugin_list.cc base::AutoLock lock(lock_); base 112 content/common/plugin_list.cc bool PluginList::ReadPluginInfo(const base::FilePath& filename, base 115 content/common/plugin_list.cc base::AutoLock lock(lock_); base 131 content/common/plugin_list.cc const base::string16& mime_type_descriptions_str, base 134 content/common/plugin_list.cc std::vector<base::string16> descriptions; base 135 content/common/plugin_list.cc base::SplitString(mime_types_str, '|', &mime_types); base 136 content/common/plugin_list.cc base::SplitString(file_extensions_str, '|', &file_extensions); base 137 content/common/plugin_list.cc base::SplitString(mime_type_descriptions_str, '|', &descriptions); base 148 content/common/plugin_list.cc base::SplitString(file_extensions[i], ',', &mime_type.file_extensions); base 156 content/common/plugin_list.cc size_t ext = mime_type.description.find(base::ASCIIToUTF16("(*")); base 157 content/common/plugin_list.cc if (ext != base::string16::npos) { base 177 content/common/plugin_list.cc base::AutoLock lock(lock_); base 190 content/common/plugin_list.cc base::Closure will_load_callback; base 192 content/common/plugin_list.cc base::AutoLock lock(lock_); base 198 content/common/plugin_list.cc std::vector<base::FilePath> plugin_paths; base 201 content/common/plugin_list.cc for (std::vector<base::FilePath>::const_iterator it = plugin_paths.begin(); base 212 content/common/plugin_list.cc const base::FilePath& path, base 240 content/common/plugin_list.cc void PluginList::GetPluginPathsToLoad(std::vector<base::FilePath>* plugin_paths, base 244 content/common/plugin_list.cc std::vector<base::FilePath> extra_plugin_paths; base 245 content/common/plugin_list.cc std::vector<base::FilePath> extra_plugin_dirs; base 247 content/common/plugin_list.cc base::AutoLock lock(lock_); base 253 content/common/plugin_list.cc const base::FilePath& path = extra_plugin_paths[i]; base 267 content/common/plugin_list.cc std::vector<base::FilePath> directories_to_scan; base 279 content/common/plugin_list.cc base::AutoLock lock(lock_); base 289 content/common/plugin_list.cc void PluginList::set_will_load_plugins_callback(const base::Closure& callback) { base 290 content/common/plugin_list.cc base::AutoLock lock(lock_); base 297 content/common/plugin_list.cc base::AutoLock lock(lock_); base 302 content/common/plugin_list.cc base::AutoLock lock(lock_); base 321 content/common/plugin_list.cc base::AutoLock lock(lock_); base 328 content/common/plugin_list.cc std::set<base::FilePath> visited_plugins; base 333 content/common/plugin_list.cc base::FilePath path = plugins_list_[i].path; base 355 content/common/plugin_list.cc base::FilePath path = plugins_list_[i].path; base 401 content/common/plugin_list.cc const base::FilePath& plugin_path) { base 403 content/common/plugin_list.cc std::vector<base::FilePath>::iterator it = base 61 content/common/plugin_list.h void AddExtraPluginPath(const base::FilePath& plugin_path); base 62 content/common/plugin_list.h void RemoveExtraPluginPath(const base::FilePath& plugin_path); base 65 content/common/plugin_list.h void AddExtraPluginDir(const base::FilePath& plugin_dir); base 68 content/common/plugin_list.h void GetPluginDirectories(std::vector<base::FilePath>* plugin_dirs); base 80 content/common/plugin_list.h void UnregisterInternalPlugin(const base::FilePath& path); base 88 content/common/plugin_list.h bool ReadPluginInfo(const base::FilePath& filename, base 98 content/common/plugin_list.h const base::string16& mime_type_descriptions, base 131 content/common/plugin_list.h bool LoadPluginIntoPluginList(const base::FilePath& filename, base 139 content/common/plugin_list.h void GetPluginPathsToLoad(std::vector<base::FilePath>* plugin_paths, base 152 content/common/plugin_list.h void set_will_load_plugins_callback(const base::Closure& callback); base 159 content/common/plugin_list.h static bool ReadWebPluginInfo(const base::FilePath& filename, base 182 content/common/plugin_list.h friend struct base::DefaultLazyInstanceTraits<PluginList>; base 191 content/common/plugin_list.h void GetPluginsInDir(const base::FilePath& path, base 192 content/common/plugin_list.h std::vector<base::FilePath>* plugins); base 210 content/common/plugin_list.h void RemoveExtraPluginPathLocked(const base::FilePath& plugin_path); base 219 content/common/plugin_list.h void GetPluginPathsFromRegistry(std::vector<base::FilePath>* plugins); base 232 content/common/plugin_list.h std::vector<base::FilePath> extra_plugin_paths_; base 235 content/common/plugin_list.h std::vector<base::FilePath> extra_plugin_dirs_; base 244 content/common/plugin_list.h base::Closure will_load_plugins_callback_; base 248 content/common/plugin_list.h base::Lock lock_; base 39 content/common/plugin_list_posix.cc typedef std::pair<base::FilePath, base::Time> FileAndTime; base 76 content/common/plugin_list_posix.cc base::CPU cpu; base 88 content/common/plugin_list_posix.cc bool IsBlacklistedBySha1sumAndQuirks(const base::FilePath& path) { base 107 content/common/plugin_list_posix.cc if (!base::GetFileSize(path, &size)) base 114 content/common/plugin_list_posix.cc if (!base::ReadFileToString(path, &file_content)) base 116 content/common/plugin_list_posix.cc std::string sha1 = base::SHA1HashString(file_content); base 119 content/common/plugin_list_posix.cc base::StringAppendF(&sha1_readable, "%02x", sha1[j] & 0xFF); base 148 content/common/plugin_list_posix.cc bool IsBlacklistedPlugin(const base::FilePath& path) { base 164 content/common/plugin_list_posix.cc bool ELFMatchesCurrentArchitecture(const base::FilePath& filename) { base 179 content/common/plugin_list_posix.cc if (!base::ReadFile(filename, buffer, kELFBufferSize)) base 213 content/common/plugin_list_posix.cc void UnwrapNSPluginWrapper(void **dl, base::FilePath* unwrapped_path) { base 229 content/common/plugin_list_posix.cc base::FilePath path = base::FilePath( base 239 content/common/plugin_list_posix.cc base::NativeLibraryLoadError error; base 240 content/common/plugin_list_posix.cc void* newdl = base::LoadNativeLibrary(path, &error); base 255 content/common/plugin_list_posix.cc base::UnloadNativeLibrary(*dl); base 262 content/common/plugin_list_posix.cc bool PluginList::ReadWebPluginInfo(const base::FilePath& filename, base 275 content/common/plugin_list_posix.cc base::NativeLibraryLoadError error; base 276 content/common/plugin_list_posix.cc void* dl = base::LoadNativeLibrary(filename, &error); base 320 content/common/plugin_list_posix.cc info->name = base::UTF8ToUTF16(name); base 327 content/common/plugin_list_posix.cc info->desc = base::UTF8ToUTF16(description); base 334 content/common/plugin_list_posix.cc << " Name = \"" << base::UTF16ToUTF8(info->name) base 335 content/common/plugin_list_posix.cc << "\", Description = \"" << base::UTF16ToUTF8(info->desc) base 336 content/common/plugin_list_posix.cc << "\", Version = \"" << base::UTF16ToUTF8(info->version) base 375 content/common/plugin_list_posix.cc base::SplitString(extensions, ',', &mime_type.file_extensions); base 383 content/common/plugin_list_posix.cc base::UTF8ToUTF16(description.substr(ofs, end - ofs)); base 385 content/common/plugin_list_posix.cc mime_type.description = base::UTF8ToUTF16(description.substr(ofs)); base 423 content/common/plugin_list_posix.cc info->version = base::UTF8ToUTF16(version); base 427 content/common/plugin_list_posix.cc void PluginList::GetPluginDirectories(std::vector<base::FilePath>* plugin_dirs) { base 441 content/common/plugin_list_posix.cc base::FilePath dir; base 442 content/common/plugin_list_posix.cc PathService::Get(base::DIR_EXE, &dir); base 456 content/common/plugin_list_posix.cc base::SplitString(moz_plugin_path, ':', &paths); base 458 content/common/plugin_list_posix.cc plugin_dirs->push_back(base::FilePath(paths[i])); base 464 content/common/plugin_list_posix.cc base::FilePath home = base::GetHomeDir(); base 470 content/common/plugin_list_posix.cc plugin_dirs->push_back(base::FilePath("/usr/lib/browser-plugins")); base 471 content/common/plugin_list_posix.cc plugin_dirs->push_back(base::FilePath("/usr/lib/mozilla/plugins")); base 472 content/common/plugin_list_posix.cc plugin_dirs->push_back(base::FilePath("/usr/lib/firefox/plugins")); base 473 content/common/plugin_list_posix.cc plugin_dirs->push_back(base::FilePath("/usr/lib/xulrunner-addons/plugins")); base 478 content/common/plugin_list_posix.cc plugin_dirs->push_back(base::FilePath("/usr/lib64/browser-plugins")); base 479 content/common/plugin_list_posix.cc plugin_dirs->push_back(base::FilePath("/usr/lib64/mozilla/plugins")); base 480 content/common/plugin_list_posix.cc plugin_dirs->push_back(base::FilePath("/usr/lib64/firefox/plugins")); base 481 content/common/plugin_list_posix.cc plugin_dirs->push_back(base::FilePath("/usr/lib64/xulrunner-addons/plugins")); base 487 content/common/plugin_list_posix.cc const base::FilePath& dir_path, std::vector<base::FilePath>* plugins) { base 494 content/common/plugin_list_posix.cc base::FileEnumerator enumerator(dir_path, base 496 content/common/plugin_list_posix.cc base::FileEnumerator::FILES); base 497 content/common/plugin_list_posix.cc for (base::FilePath path = enumerator.Next(); !path.value().empty(); base 507 content/common/plugin_list_posix.cc base::FilePath orig_path = path; base 508 content/common/plugin_list_posix.cc path = base::MakeAbsoluteFilePath(path); base 544 content/common/plugin_list_posix.cc base::File::Info info; base 545 content/common/plugin_list_posix.cc if (!base::GetFileInfo(path, &info)) base 16 content/common/plugin_list_unittest.cc base::FilePath::CharType kFooPath[] = FILE_PATH_LITERAL("/plugins/foo.plugin"); base 17 content/common/plugin_list_unittest.cc base::FilePath::CharType kBarPath[] = FILE_PATH_LITERAL("/plugins/bar.plugin"); base 44 content/common/plugin_list_unittest.cc : foo_plugin_(base::ASCIIToUTF16(kFooName), base 45 content/common/plugin_list_unittest.cc base::FilePath(kFooPath), base 46 content/common/plugin_list_unittest.cc base::ASCIIToUTF16("1.2.3"), base 47 content/common/plugin_list_unittest.cc base::ASCIIToUTF16("foo")), base 48 content/common/plugin_list_unittest.cc bar_plugin_(base::ASCIIToUTF16("Bar Plugin"), base 49 content/common/plugin_list_unittest.cc base::FilePath(kBarPath), base 50 content/common/plugin_list_unittest.cc base::ASCIIToUTF16("2.3.4"), base 51 content/common/plugin_list_unittest.cc base::ASCIIToUTF16("bar")) { base 78 content/common/plugin_list_unittest.cc base::string16(), base::FilePath(FILE_PATH_LITERAL("/myplugin.3.0.43")), base 79 content/common/plugin_list_unittest.cc base::string16(), base::string16()); base 152 content/common/plugin_list_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("RealAudio document"), type.description); base 173 content/common/plugin_list_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("QuickTime image"), type.description); base 202 content/common/plugin_list_unittest.cc EXPECT_EQ(base::string16(), types[0].description); base 225 content/common/plugin_list_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("IcedTea"), types[i].description); base 236 content/common/plugin_list_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("10.1 r102"), info.version); base 238 content/common/plugin_list_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("1.6.0_22"), info.version); base 245 content/common/plugin_list_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("1.2"), info.version); base 29 content/common/plugin_list_win.cc const base::char16 kRegistryApps[] = base 31 content/common/plugin_list_win.cc const base::char16 kRegistryFirefox[] = L"firefox.exe"; base 32 content/common/plugin_list_win.cc const base::char16 kRegistryAcrobat[] = L"Acrobat.exe"; base 33 content/common/plugin_list_win.cc const base::char16 kRegistryAcrobatReader[] = L"AcroRd32.exe"; base 34 content/common/plugin_list_win.cc const base::char16 kRegistryWindowsMedia[] = L"wmplayer.exe"; base 35 content/common/plugin_list_win.cc const base::char16 kRegistryQuickTime[] = L"QuickTimePlayer.exe"; base 36 content/common/plugin_list_win.cc const base::char16 kRegistryPath[] = L"Path"; base 37 content/common/plugin_list_win.cc const base::char16 kRegistryFirefoxInstalled[] = base 39 content/common/plugin_list_win.cc const base::char16 kRegistryJava[] = base 41 content/common/plugin_list_win.cc const base::char16 kRegistryBrowserJavaVersion[] = L"BrowserJavaVersion"; base 42 content/common/plugin_list_win.cc const base::char16 kRegistryCurrentJavaVersion[] = L"CurrentVersion"; base 43 content/common/plugin_list_win.cc const base::char16 kRegistryJavaHome[] = L"JavaHome"; base 44 content/common/plugin_list_win.cc const base::char16 kJavaDeploy1[] = L"npdeploytk.dll"; base 45 content/common/plugin_list_win.cc const base::char16 kJavaDeploy2[] = L"npdeployjava1.dll"; base 47 content/common/plugin_list_win.cc base::FilePath AppendPluginsDir(const base::FilePath& path) { base 55 content/common/plugin_list_win.cc void GetAppDirectory(std::set<base::FilePath>* plugin_dirs) { base 56 content/common/plugin_list_win.cc base::FilePath app_path; base 57 content/common/plugin_list_win.cc if (!PathService::Get(base::DIR_MODULE, &app_path)) base 64 content/common/plugin_list_win.cc void GetExeDirectory(std::set<base::FilePath>* plugin_dirs) { base 65 content/common/plugin_list_win.cc base::FilePath exe_path; base 66 content/common/plugin_list_win.cc if (!PathService::Get(base::DIR_EXE, &exe_path)) base 72 content/common/plugin_list_win.cc bool GetInstalledPath(const base::char16* app, base::FilePath* out) { base 73 content/common/plugin_list_win.cc base::string16 reg_path(kRegistryApps); base 77 content/common/plugin_list_win.cc base::win::RegKey hkcu_key(HKEY_CURRENT_USER, reg_path.c_str(), KEY_READ); base 78 content/common/plugin_list_win.cc base::string16 path; base 80 content/common/plugin_list_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7 && base 82 content/common/plugin_list_win.cc *out = base::FilePath(path); base 85 content/common/plugin_list_win.cc base::win::RegKey hklm_key(HKEY_LOCAL_MACHINE, reg_path.c_str(), KEY_READ); base 87 content/common/plugin_list_win.cc *out = base::FilePath(path); base 98 content/common/plugin_list_win.cc const base::string16& registry_folder, base 99 content/common/plugin_list_win.cc std::set<base::FilePath>* plugin_dirs) { base 100 content/common/plugin_list_win.cc for (base::win::RegistryKeyIterator iter(root_key, registry_folder.c_str()); base 103 content/common/plugin_list_win.cc base::string16 reg_path = registry_folder; base 106 content/common/plugin_list_win.cc base::win::RegKey key(root_key, reg_path.c_str(), KEY_READ); base 108 content/common/plugin_list_win.cc base::string16 path; base 110 content/common/plugin_list_win.cc plugin_dirs->insert(base::FilePath(path)); base 116 content/common/plugin_list_win.cc void GetFirefoxInstalledPaths(std::vector<base::FilePath>* out) { base 117 content/common/plugin_list_win.cc base::win::RegistryKeyIterator it(HKEY_LOCAL_MACHINE, base 120 content/common/plugin_list_win.cc base::string16 full_path = base::string16(kRegistryFirefoxInstalled) + base 122 content/common/plugin_list_win.cc base::win::RegKey key(HKEY_LOCAL_MACHINE, full_path.c_str(), KEY_READ); base 123 content/common/plugin_list_win.cc base::string16 install_dir; base 126 content/common/plugin_list_win.cc out->push_back(base::FilePath(install_dir)); base 134 content/common/plugin_list_win.cc void GetFirefoxDirectory(std::set<base::FilePath>* plugin_dirs) { base 135 content/common/plugin_list_win.cc std::vector<base::FilePath> paths; base 141 content/common/plugin_list_win.cc base::FilePath firefox_app_data_plugin_path; base 142 content/common/plugin_list_win.cc if (PathService::Get(base::DIR_APP_DATA, &firefox_app_data_plugin_path)) { base 150 content/common/plugin_list_win.cc void GetAcrobatDirectory(std::set<base::FilePath>* plugin_dirs) { base 151 content/common/plugin_list_win.cc base::FilePath path; base 161 content/common/plugin_list_win.cc void GetQuicktimeDirectory(std::set<base::FilePath>* plugin_dirs) { base 162 content/common/plugin_list_win.cc base::FilePath path; base 168 content/common/plugin_list_win.cc void GetWindowsMediaDirectory(std::set<base::FilePath>* plugin_dirs) { base 169 content/common/plugin_list_win.cc base::FilePath path; base 175 content/common/plugin_list_win.cc void GetJavaDirectory(std::set<base::FilePath>* plugin_dirs) { base 178 content/common/plugin_list_win.cc base::win::RegKey java_key(HKEY_LOCAL_MACHINE, kRegistryJava, base 182 content/common/plugin_list_win.cc base::string16 java_version; base 193 content/common/plugin_list_win.cc base::string16 java_plugin_directory; base 203 content/common/plugin_list_win.cc plugin_dirs->insert(base::FilePath(java_plugin_directory)); base 208 content/common/plugin_list_win.cc bool IsValid32BitImage(const base::FilePath& path) { base 209 content/common/plugin_list_win.cc base::MemoryMappedFile plugin_image; base 214 content/common/plugin_list_win.cc base::win::PEImage image(plugin_image.data()); base 237 content/common/plugin_list_win.cc bool IsNewerVersion(const base::string16& a, const base::string16& b) { base 238 content/common/plugin_list_win.cc std::vector<base::string16> a_ver, b_ver; base 239 content/common/plugin_list_win.cc base::SplitString(a, ',', &a_ver); base 240 content/common/plugin_list_win.cc base::SplitString(b, ',', &b_ver); base 242 content/common/plugin_list_win.cc base::SplitString(a, '.', &a_ver); base 243 content/common/plugin_list_win.cc base::SplitString(b, '.', &b_ver); base 249 content/common/plugin_list_win.cc base::StringToInt(a_ver[i], &cur_a); base 250 content/common/plugin_list_win.cc base::StringToInt(b_ver[i], &cur_b); base 262 content/common/plugin_list_win.cc bool PluginList::ReadWebPluginInfo(const base::FilePath& filename, base 288 content/common/plugin_list_win.cc base::UTF16ToASCII(version_info_win->GetStringValue(L"MIMEType")), base 289 content/common/plugin_list_win.cc base::UTF16ToASCII(version_info_win->GetStringValue(L"FileExtents")), base 301 content/common/plugin_list_win.cc std::vector<base::FilePath>* plugin_dirs) { base 306 content/common/plugin_list_win.cc std::set<base::FilePath> dirs; base 327 content/common/plugin_list_win.cc for (std::set<base::FilePath>::iterator i = dirs.begin(); i != dirs.end(); ++i) base 332 content/common/plugin_list_win.cc const base::FilePath& path, std::vector<base::FilePath>* plugins) { base 336 content/common/plugin_list_win.cc base::string16 dir = path.value(); base 346 content/common/plugin_list_win.cc base::FilePath filename = path.Append(find_file_data.cFileName); base 356 content/common/plugin_list_win.cc std::vector<base::FilePath>* plugins) { base 360 content/common/plugin_list_win.cc std::set<base::FilePath> plugin_dirs; base 367 content/common/plugin_list_win.cc for (std::set<base::FilePath>::iterator i = plugin_dirs.begin(); base 378 content/common/plugin_list_win.cc base::AutoLock lock(lock_); base 386 content/common/plugin_list_win.cc base::FilePath::StringType plugin1 = base 388 content/common/plugin_list_win.cc base::FilePath::StringType plugin2 = base 406 content/common/plugin_list_win.cc base::AutoLock lock(lock_); base 415 content/common/plugin_list_win.cc base::FilePath::StringType filename = base 437 content/common/plugin_list_win.cc std::vector<base::FilePath::StringType> ver; base 438 content/common/plugin_list_win.cc base::SplitString(info.version, '.', &ver); base 441 content/common/plugin_list_win.cc base::StringToInt(ver[0], &major) && base 442 content/common/plugin_list_win.cc base::StringToInt(ver[1], &minor) && base 443 content/common/plugin_list_win.cc base::StringToInt(ver[2], &update)) { base 468 content/common/plugin_list_win.cc base::FilePath plugin_path(info.path); base 469 content/common/plugin_list_win.cc if (!IsValid32BitImage(base::MakeAbsoluteFilePath(plugin_path))) base 84 content/common/resource_messages.cc base::FilePath file_path; base 86 content/common/resource_messages.cc base::Time expected_modification_time; base 102 content/common/resource_messages.cc base::Time expected_modification_time; base 231 content/common/resource_messages.h IPC_STRUCT_MEMBER(base::TimeTicks, completion_time) base 276 content/common/resource_messages.h base::SharedMemoryHandle /* shm_handle */, base 278 content/common/resource_messages.h base::ProcessId /* renderer_pid */) base 21 content/common/resource_request_body.cc const base::FilePath& file_path, base 23 content/common/resource_request_body.cc const base::Time& expected_modification_time) { base 36 content/common/resource_request_body.cc const base::Time& expected_modification_time) { base 17 content/common/resource_request_body.h namespace base { base 26 content/common/resource_request_body.h : public base::RefCounted<ResourceRequestBody>, base 27 content/common/resource_request_body.h public base::SupportsUserData { base 34 content/common/resource_request_body.h void AppendFileRange(const base::FilePath& file_path, base 36 content/common/resource_request_body.h const base::Time& expected_modification_time); base 39 content/common/resource_request_body.h const base::Time& expected_modification_time); base 54 content/common/resource_request_body.h friend class base::RefCounted<ResourceRequestBody>; base 15 content/common/sandbox_init_mac.cc bool InitializeSandbox(int sandbox_type, const base::FilePath& allowed_dir) { base 27 content/common/sandbox_init_mac.cc base::FilePath* allowed_dir) { base 32 content/common/sandbox_init_mac.cc *allowed_dir = base::FilePath(); // Empty by default. base 73 content/common/sandbox_init_mac.cc base::FilePath allowed_dir; base 173 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc base::Bind(&SandboxSeccompBPF::StartSandboxWithExternalPolicy, base 174 content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc base::Passed(scoped_ptr<sandbox::SandboxBPFPolicy>( base 149 content/common/sandbox_linux/bpf_gpu_policy_linux.cc const base::Callback<bool(void)>& broker_sandboxer_callback) { base 201 content/common/sandbox_linux/bpf_gpu_policy_linux.cc base::Bind(&SandboxSeccompBPF::StartSandboxWithExternalPolicy, base 202 content/common/sandbox_linux/bpf_gpu_policy_linux.cc base::Passed(scoped_ptr<sandbox::SandboxBPFPolicy>( base 229 content/common/sandbox_linux/bpf_gpu_policy_linux.cc const base::Callback<bool(void)>& broker_sandboxer_callback, base 258 content/common/sandbox_linux/bpf_gpu_policy_linux.cc CHECK(broker_process_->Init(base::Bind(&UpdateProcessTypeAndEnableSandbox, base 38 content/common/sandbox_linux/bpf_gpu_policy_linux.h const base::Callback<bool(void)>& broker_sandboxer_callback, base 142 content/common/sandbox_linux/sandbox_linux.cc base::debug::EnableInProcessStackDumpingForSandbox(); base 171 content/common/sandbox_linux/sandbox_linux.cc void LinuxSandbox::StopThread(base::Thread* thread) { base 209 content/common/sandbox_linux/sandbox_linux.cc base::ScopedFD proc_self_task(OpenProcTaskFd(proc_fd_)); base 263 content/common/sandbox_linux/sandbox_linux.cc base::ScopedClosureRunner sandbox_sealer( base 264 content/common/sandbox_linux/sandbox_linux.cc base::Bind(&LinuxSandbox::SealSandbox, base::Unretained(this))); base 267 content/common/sandbox_linux/sandbox_linux.cc base::ScopedClosureRunner sandbox_promise_keeper( base 268 content/common/sandbox_linux/sandbox_linux.cc base::Bind(&LinuxSandbox::CheckForBrokenPromises, base 269 content/common/sandbox_linux/sandbox_linux.cc base::Unretained(this), base 318 content/common/sandbox_linux/sandbox_linux.cc void LinuxSandbox::StopThreadImpl(base::Thread* thread) { base 395 content/common/sandbox_linux/sandbox_linux.cc void LinuxSandbox::StopThreadAndEnsureNotCounted(base::Thread* thread) const { base 397 content/common/sandbox_linux/sandbox_linux.cc base::ScopedFD proc_self_task(OpenProcTaskFd(proc_fd_)); base 15 content/common/sandbox_linux/sandbox_linux.h namespace base { base 55 content/common/sandbox_linux/sandbox_linux.h static void StopThread(base::Thread* thread); base 91 content/common/sandbox_linux/sandbox_linux.h void StopThreadImpl(base::Thread* thread); base 106 content/common/sandbox_linux/sandbox_linux.h void StopThreadAndEnsureNotCounted(base::Thread* thread) const; base 16 content/common/sandbox_mac.h namespace base { base 60 content/common/sandbox_mac.h typedef base::hash_map<std::string, SandboxSubstring> base 78 content/common/sandbox_mac.h const base::FilePath& allowed_dir); base 96 content/common/sandbox_mac.h const base::FilePath& allowed_dir, base 133 content/common/sandbox_mac.h static NSString* AllowMetadataForPath(const base::FilePath& allowed_path); base 158 content/common/sandbox_mac.h static base::FilePath GetCanonicalSandboxPath(const base::FilePath& path); base 44 content/common/sandbox_mac_unittest_helper.h class MacSandboxTest : public base::MultiProcessTest { base 16 content/common/sandbox_util.cc base::PlatformFile handle, base 17 content/common/sandbox_util.cc base::ProcessId target_process_id, base 38 content/common/sandbox_util.cc out_handle = base::FileDescriptor(fd, true); base 20 content/common/sandbox_util.h base::PlatformFile handle, base 21 content/common/sandbox_util.h base::ProcessId target_process_id, base 115 content/common/sandbox_win.cc base::FilePath directory; base 120 content/common/sandbox_win.cc directory = base::MakeAbsoluteFilePath(directory.Append(sub_dir)); base 171 content/common/sandbox_win.cc base::FilePath fname(path); base 223 content/common/sandbox_win.cc base::string16 PrependWindowsSessionPath(const base::char16* object) { base 239 content/common/sandbox_win.cc return base::StringPrintf(L"\\Sessions\\%d%ls", s_session_id, object); base 249 content/common/sandbox_win.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) base 314 content/common/sandbox_win.cc base::FilePath app_dir; base 315 content/common/sandbox_win.cc if (!PathService::Get(base::DIR_MODULE, &app_dir)) base 325 content/common/sandbox_win.cc base::FilePath debug_message(long_path_buf); base 349 content/common/sandbox_win.cc if (base::win::GetVersion() > base::win::VERSION_XP) { base 404 content/common/sandbox_win.cc base::win::IATPatchFunction g_iat_patch_duplicate_handle; base 482 content/common/sandbox_win.cc base::win::ScopedHandle process(temp_handle); base 496 content/common/sandbox_win.cc base::win::ScopedHandle handle(temp_handle); base 522 content/common/sandbox_win.cc base::string16 object_path = PrependWindowsSessionPath( base 542 content/common/sandbox_win.cc if (!base::debug::IsBinaryInstrumented() && base 581 content/common/sandbox_win.cc base::win::GetVersion() >= base::win::VERSION_WIN7; base 584 content/common/sandbox_win.cc base::ProcessHandle StartSandboxedProcess( base 614 content/common/sandbox_win.cc cmd_line->AppendArg(base::StringPrintf("/prefetch:%d", base::Hash(type_str))); base 617 content/common/sandbox_win.cc base::ProcessHandle process = 0; base 618 content/common/sandbox_win.cc base::LaunchProcess(*cmd_line, base::LaunchOptions(), &process); base 643 content/common/sandbox_win.cc base::FilePath exposed_dir; base 652 content/common/sandbox_win.cc AddDirectory(base::DIR_WINDOWS_FONTS, base 673 content/common/sandbox_win.cc base::FilePath exposed_files = exposed_dir.AppendASCII("*"); base 708 content/common/sandbox_win.cc base::win::ScopedProcessInformation target(temp_process_info); base 728 content/common/sandbox_win.cc base::debug::SpawnDebuggerOnProcess(target.process_id()); base 755 content/common/sandbox_win.cc base::win::ScopedHandle target_process; base 10 content/common/sandbox_win.h namespace base { base 24 content/common/sandbox_win.h void SetJobLevel(const base::CommandLine& cmd_line, base 59 content/common/service_worker/service_worker_messages.h base::string16 /* message */, base 121 content/common/service_worker/service_worker_messages.h base::string16 /* message */) base 134 content/common/service_worker/service_worker_messages.h base::string16 /* message */, base 45 content/common/set_process_title.cc DCHECK_EQ(base::PlatformThread::CurrentId(), getpid()); base 54 content/common/set_process_title.cc base::FilePath target; base 55 content/common/set_process_title.cc base::FilePath self_exe(base::kProcSelfExe); base 56 content/common/set_process_title.cc if (base::ReadSymbolicLink(self_exe, &target)) { base 69 content/common/set_process_title.cc prctl(PR_SET_NAME, base::FilePath(title).BaseName().value().c_str()); base 14 content/common/socket_stream_handle_data.h class SocketStreamHandleData : public base::SupportsUserData::Data { base 69 content/common/url_schemes.cc base::strdup(additional_savable_schemes[i].c_str()); base 30 content/common/user_agent.cc return base::SysInfo::GetDeviceName(); base 37 content/common/user_agent.cc return base::StringPrintf("%d.%d (%s)", base 63 content/common/user_agent.cc base::SysInfo::OperatingSystemVersionNumbers(&os_major_version, base 85 content/common/user_agent.cc base::win::OSInfo* os_info = base::win::OSInfo::GetInstance(); base 86 content/common/user_agent.cc if (os_info->wow64_status() == base::win::OSInfo::WOW64_ENABLED) { base 89 content/common/user_agent.cc base::win::OSInfo::WindowsArchitecture windows_architecture = base 91 content/common/user_agent.cc if (windows_architecture == base::win::OSInfo::X64_ARCHITECTURE) base 93 content/common/user_agent.cc else if (windows_architecture == base::win::OSInfo::IA64_ARCHITECTURE) base 100 content/common/user_agent.cc base::StringAppendF( base 103 content/common/user_agent.cc base::StringAppendF(&android_version_str, ".%d", os_bugfix_version); base 109 content/common/user_agent.cc std::string android_build_codename = base::SysInfo::GetAndroidBuildCodename(); base 117 content/common/user_agent.cc std::string android_build_id = base::SysInfo::GetAndroidBuildID(); base 126 content/common/user_agent.cc base::StringAppendF( base 174 content/common/user_agent.cc base::StringAppendF( base 185 content/common/user_agent.cc base::StringAppendF( base 34 content/common/utility_messages.h std::vector<base::FilePath> /* plugin paths */) base 46 content/common/utility_messages.h base::FilePath /* path of plugin */) base 266 content/common/view_messages.h IPC_STRUCT_MEMBER(base::string16, frame_name) base 301 content/common/view_messages.h IPC_STRUCT_MEMBER(std::vector<base::string16>, additional_features) base 309 content/common/view_messages.h IPC_STRUCT_MEMBER(base::string16, name) base 312 content/common/view_messages.h IPC_STRUCT_MEMBER(base::string16, content_security_policy) base 484 content/common/view_messages.h IPC_STRUCT_MEMBER(base::string16, frame_name) base 510 content/common/view_messages.h IPC_STRUCT_MEMBER(base::string16, data) base 518 content/common/view_messages.h IPC_STRUCT_MEMBER(base::string16, source_origin) base 521 content/common/view_messages.h IPC_STRUCT_MEMBER(base::string16, target_origin) base 542 content/common/view_messages.h std::vector<base::FilePath> /* paths of local copy */, base 543 content/common/view_messages.h base::FilePath /* local directory path */) base 559 content/common/view_messages.h base::TimeTicks /* timebase */, base 560 content/common/view_messages.h base::TimeDelta /* interval */) base 669 content/common/view_messages.h base::string16 /* search_text */, base 774 content/common/view_messages.h base::string16, /* text */ base 781 content/common/view_messages.h base::string16 /* text */, base 801 content/common/view_messages.h std::vector<base::FilePath> /* files_in_directory */) base 900 content/common/view_messages.h base::ProcessId /* broker_pid */, base 1018 content/common/view_messages.h base::string16 /* text */, base 1183 content/common/view_messages.h base::string16 /* title */, base 1348 content/common/view_messages.h base::string16 /* suggested_name */) base 1365 content/common/view_messages.h base::string16 /* in - alert message */, base 1366 content/common/view_messages.h base::string16 /* in - default prompt */, base 1370 content/common/view_messages.h base::string16 /* out - user_input field */) base 1405 content/common/view_messages.h base::ListValue /* args */) base 1418 content/common/view_messages.h base::FilePath /* path */, base 1420 content/common/view_messages.h base::ProcessId /* plugin_pid */, base 1469 content/common/view_messages.h base::FilePath /* path */) base 1478 content/common/view_messages.h base::FilePath /* plugin_path */) base 1496 content/common/view_messages.h base::string16 /* tooltip text string */, base 1507 content/common/view_messages.h base::string16 /* text covers the selection range */, base 1546 content/common/view_messages.h base::FilePath /* file_path */) base 1574 content/common/view_messages.h base::string16 /* in - alert message */, base 1577 content/common/view_messages.h base::string16 /* out - This is ignored.*/) base 1670 content/common/view_messages.h base::string16 /* title */, base 1784 content/common/view_messages.h base::string16 /* validation message */, base 1785 content/common/view_messages.h base::string16 /* supplemental text */) base 1827 content/common/view_messages.h base::SharedMemoryHandle /* encoded_data_handle */, base 1828 content/common/view_messages.h base::FileDescriptor /* pcm_output */, base 1842 content/common/view_messages.h IPC_MESSAGE_ROUTED1(ViewHostMsg_SmartClipDataExtracted, base::string16) base 1849 content/common/view_messages.h base::SharedMemoryHandle /* font data */, base 1866 content/common/view_messages.h base::string16 /* characters */) base 36 content/common/webplugininfo_unittest.cc base::ASCIIToUTF16(versions[i][0]), &version); base 38 content/common/websocket.h base::Time request_time; base 58 content/common/websocket.h base::Time response_time; base 34 content/common/worker_messages.h IPC_STRUCT_MEMBER(base::string16, message) base 36 content/common/worker_messages.h IPC_STRUCT_MEMBER(base::string16, source_url) base 42 content/common/worker_messages.h IPC_STRUCT_MEMBER(base::string16, name) base 43 content/common/worker_messages.h IPC_STRUCT_MEMBER(base::string16, content_security_policy) base 64 content/common/worker_messages.h base::string16 /* database name */, base 65 content/common/worker_messages.h base::string16 /* database display name */, base 79 content/common/worker_messages.h base::string16 /* database name */, base 22 content/common/zygote_commands_linux.h kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor; base 25 content/gpu/gpu_child_thread.cc static base::LazyInstance<scoped_refptr<ThreadSafeSender> > base 87 content/gpu/gpu_child_thread.cc void GpuChildThread::Init(const base::Time& process_start_time) { base 124 content/gpu/gpu_child_thread.cc gpu_info_.initialization_time = base::Time::Now() - process_start_time_; base 133 content/gpu/gpu_child_thread.cc base::MessageLoop::current()->Quit(); base 138 content/gpu/gpu_child_thread.cc base::PlatformThread::SetThreadPriority( base 139 content/gpu/gpu_child_thread.cc base::PlatformThread::CurrentHandle(), base 140 content/gpu/gpu_child_thread.cc base::kThreadPriority_Display); base 201 content/gpu/gpu_child_thread.cc base::MessageLoop::current()->Quit(); base 52 content/gpu/gpu_child_thread.h void Init(const base::Time& process_start_time); base 78 content/gpu/gpu_child_thread.h base::Time process_start_time_; base 67 content/gpu/gpu_main.cc base::LazyInstance<GpuChildThread::DeferredMessages> deferred_messages = base 86 content/gpu/gpu_main.cc base::debug::TraceLog::GetInstance()->SetProcessName("GPU Process"); base 87 content/gpu/gpu_main.cc base::debug::TraceLog::GetInstance()->SetProcessSortIndex( base 95 content/gpu/gpu_main.cc base::Time start_time = base::Time::Now(); base 132 content/gpu/gpu_main.cc base::MessageLoop::Type message_loop_type = base::MessageLoop::TYPE_IO; base 140 content/gpu/gpu_main.cc message_loop_type = base::MessageLoop::TYPE_UI; base 143 content/gpu/gpu_main.cc message_loop_type = base::MessageLoop::TYPE_GPU; base 145 content/gpu/gpu_main.cc message_loop_type = base::MessageLoop::TYPE_DEFAULT; base 148 content/gpu/gpu_main.cc base::MessageLoop main_message_loop(message_loop_type); base 149 content/gpu/gpu_main.cc base::PlatformThread::SetName("CrGpuMain"); base 187 content/gpu/gpu_main.cc bool success = base::HexStringToUInt( base 191 content/gpu/gpu_main.cc success = base::HexStringToUInt( base 201 content/gpu/gpu_main.cc base::TimeDelta collect_context_time; base 202 content/gpu/gpu_main.cc base::TimeDelta initialize_one_off_time; base 222 content/gpu/gpu_main.cc base::TimeTicks before_initialize_one_off = base::TimeTicks::Now(); base 253 content/gpu/gpu_main.cc base::TimeTicks before_collect_context_graphics_info = base 254 content/gpu/gpu_main.cc base::TimeTicks::Now(); base 285 content/gpu/gpu_main.cc base::ThreadRestrictions::AssertIOAllowed(); base 295 content/gpu/gpu_main.cc base::TimeTicks::Now() - before_collect_context_graphics_info; base 302 content/gpu/gpu_main.cc base::TimeTicks::Now() - before_initialize_one_off; base 399 content/gpu/gpu_main.cc (void) base::RandUint64(); base 26 content/gpu/gpu_watchdog_thread.cc const base::FilePath::CharType base 32 content/gpu/gpu_watchdog_thread.cc : base::Thread("Watchdog"), base 33 content/gpu/gpu_watchdog_thread.cc watched_message_loop_(base::MessageLoop::current()), base 34 content/gpu/gpu_watchdog_thread.cc timeout_(base::TimeDelta::FromMilliseconds(timeout)), base 60 content/gpu/gpu_watchdog_thread.cc tty_file_ = base::OpenFile(base::FilePath(kTtyFilePath), "r"); base 70 content/gpu/gpu_watchdog_thread.cc base::Bind(&GpuWatchdogThread::OnAcknowledge, this)); base 99 content/gpu/gpu_watchdog_thread.cc const base::PendingTask& pending_task) { base 104 content/gpu/gpu_watchdog_thread.cc const base::PendingTask& pending_task) { base 117 content/gpu/gpu_watchdog_thread.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 130 content/gpu/gpu_watchdog_thread.cc CHECK(base::PlatformThread::CurrentId() == thread_id()); base 148 content/gpu/gpu_watchdog_thread.cc bool was_suspended = (base::Time::Now() > suspension_timeout_); base 153 content/gpu/gpu_watchdog_thread.cc base::Bind(&GpuWatchdogThread::OnCheck, weak_factory_.GetWeakPtr(), base 155 content/gpu/gpu_watchdog_thread.cc base::TimeDelta::FromMilliseconds(kCheckPeriodMs)); base 159 content/gpu/gpu_watchdog_thread.cc CHECK(base::PlatformThread::CurrentId() == thread_id()); base 177 content/gpu/gpu_watchdog_thread.cc base::TimeDelta timeout = timeout_ * (after_suspend ? 3 : 1); base 178 content/gpu/gpu_watchdog_thread.cc suspension_timeout_ = base::Time::Now() + timeout * 2; base 185 content/gpu/gpu_watchdog_thread.cc base::Bind(&base::DoNothing)); base 191 content/gpu/gpu_watchdog_thread.cc base::Bind( base 205 content/gpu/gpu_watchdog_thread.cc base::TimeDelta time_since_arm = GetWatchedThreadTime() - arm_cpu_time_; base 209 content/gpu/gpu_watchdog_thread.cc base::Bind( base 221 content/gpu/gpu_watchdog_thread.cc if (base::Time::Now() > suspension_timeout_) { base 265 content/gpu/gpu_watchdog_thread.cc base::Bind(&GpuWatchdogThread::OnAddPowerObserver, this)); base 269 content/gpu/gpu_watchdog_thread.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 291 content/gpu/gpu_watchdog_thread.cc base::TimeDelta GpuWatchdogThread::GetWatchedThreadTime() { base 318 content/gpu/gpu_watchdog_thread.cc return base::TimeDelta::FromMilliseconds(static_cast<int64>( base 20 content/gpu/gpu_watchdog_thread.h class GpuWatchdogThread : public base::Thread, base 22 content/gpu/gpu_watchdog_thread.h public base::PowerObserver, base 23 content/gpu/gpu_watchdog_thread.h public base::RefCountedThreadSafe<GpuWatchdogThread> { base 43 content/gpu/gpu_watchdog_thread.h friend class base::RefCountedThreadSafe<GpuWatchdogThread>; base 47 content/gpu/gpu_watchdog_thread.h class GpuWatchdogTaskObserver : public base::MessageLoop::TaskObserver { base 54 content/gpu/gpu_watchdog_thread.h const base::PendingTask& pending_task) OVERRIDE; base 55 content/gpu/gpu_watchdog_thread.h virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE; base 74 content/gpu/gpu_watchdog_thread.h base::TimeDelta GetWatchedThreadTime(); base 77 content/gpu/gpu_watchdog_thread.h base::MessageLoop* watched_message_loop_; base 78 content/gpu/gpu_watchdog_thread.h base::TimeDelta timeout_; base 84 content/gpu/gpu_watchdog_thread.h base::TimeDelta arm_cpu_time_; base 89 content/gpu/gpu_watchdog_thread.h base::Time suspension_timeout_; base 91 content/gpu/gpu_watchdog_thread.h base::WeakPtrFactory<GpuWatchdogThread> weak_factory_; base 13 content/gpu/in_process_gpu_thread.cc : base::Thread("Chrome_InProcGpuThread"), base 33 content/gpu/in_process_gpu_thread.cc base::Thread* CreateInProcessGpuThread(const std::string& channel_id) { base 17 content/gpu/in_process_gpu_thread.h class InProcessGpuThread : public base::Thread { base 34 content/gpu/in_process_gpu_thread.h CONTENT_EXPORT base::Thread* CreateInProcessGpuThread( base 47 content/plugin/plugin_channel.cc base::WaitableEvent* GetModalDialogEvent(int render_view_id) { base 48 content/plugin/plugin_channel.cc base::AutoLock auto_lock(modal_dialog_event_map_lock_); base 60 content/plugin/plugin_channel.cc base::AutoLock auto_lock(modal_dialog_event_map_lock_); base 70 content/plugin/plugin_channel.cc base::MessageLoop::current()->DeleteSoon( base 108 content/plugin/plugin_channel.cc base::AutoLock auto_lock(modal_dialog_event_map_lock_); base 115 content/plugin/plugin_channel.cc wrapper.event = new base::WaitableEvent(true, false); base 121 content/plugin/plugin_channel.cc base::AutoLock auto_lock(modal_dialog_event_map_lock_); base 127 content/plugin/plugin_channel.cc base::AutoLock auto_lock(modal_dialog_event_map_lock_); base 133 content/plugin/plugin_channel.cc base::WaitableEvent* event; base 138 content/plugin/plugin_channel.cc base::Lock modal_dialog_event_map_lock_; base 144 content/plugin/plugin_channel.cc int renderer_id, base::MessageLoopProxy* ipc_message_loop) { base 146 content/plugin/plugin_channel.cc std::string channel_key = base::StringPrintf( base 147 content/plugin/plugin_channel.cc "%d.r%d", base::GetCurrentProcId(), renderer_id); base 198 content/plugin/plugin_channel.cc base::WaitableEvent* PluginChannel::GetModalDialogEvent(int render_view_id) { base 206 content/plugin/plugin_channel.cc base::TimeDelta::FromMinutes(kPluginReleaseTimeMinutes)); base 230 content/plugin/plugin_channel.cc bool PluginChannel::Init(base::MessageLoopProxy* ipc_message_loop, base 232 content/plugin/plugin_channel.cc base::WaitableEvent* shutdown_event) { base 299 content/plugin/plugin_channel.cc base::MessageLoop::current()->PostNonNestableTask( base 301 content/plugin/plugin_channel.cc base::Bind(&MessageFilter::ReleaseModalDialogEvent, base 320 content/plugin/plugin_channel.cc base::FilePath path = command_line->GetSwitchValuePath(switches::kPluginPath); base 329 content/plugin/plugin_channel.cc : base::StringPrintf("\"%s\"", site_str); base 17 content/plugin/plugin_channel.h namespace base { base 31 content/plugin/plugin_channel.h int renderer_id, base::MessageLoopProxy* ipc_message_loop); base 47 content/plugin/plugin_channel.h virtual base::WaitableEvent* GetModalDialogEvent(int render_view_id) OVERRIDE; base 65 content/plugin/plugin_channel.h virtual bool Init(base::MessageLoopProxy* ipc_message_loop, base 67 content/plugin/plugin_channel.h base::WaitableEvent* shutdown_event) OVERRIDE; base 55 content/plugin/plugin_main.cc base::MessageLoopForUI main_message_loop; base 56 content/plugin/plugin_main.cc base::PlatformThread::SetName("CrPluginMain"); base 57 content/plugin/plugin_main.cc base::debug::TraceLog::GetInstance()->SetProcessName("Plugin Process"); base 58 content/plugin/plugin_main.cc base::debug::TraceLog::GetInstance()->SetProcessSortIndex( base 70 content/plugin/plugin_main.cc base::win::ScopedCOMInitializer com_initializer; base 80 content/plugin/plugin_main.cc base::HighResolutionTimerManager hi_res_timer_manager; base 81 content/plugin/plugin_main.cc base::MessageLoop::current()->Run(); base 56 content/plugin/plugin_thread.cc const base::TimeDelta kPluginProcessTerminateTimeout = base 57 content/plugin/plugin_thread.cc base::TimeDelta::FromSeconds(3); base 61 content/plugin/plugin_thread.cc base::MessageLoop::current()->PostDelayedTask( base 63 content/plugin/plugin_thread.cc base::Bind(&EnsureTerminateMessageFilter::Terminate, this), base 69 content/plugin/plugin_thread.cc base::KillProcess(base::GetCurrentProcessHandle(), 0, false); base 75 content/plugin/plugin_thread.cc static base::LazyInstance<base::ThreadLocalPointer<PluginThread> > lazy_tls = base 81 content/plugin/plugin_thread.cc base::FilePath plugin_path = base 115 content/plugin/plugin_thread.cc preloaded_plugin_module_ = base::LoadNativeLibrary(plugin_path, NULL); base 126 content/plugin/plugin_thread.cc plugin.get() ? plugin->plugin_info().name : base::string16()); base 146 content/plugin/plugin_thread.cc base::UnloadNativeLibrary(preloaded_plugin_module_); base 153 content/plugin/plugin_thread.cc base::KillProcess(base::GetCurrentProcessHandle(), 0, /* wait= */ false); base 183 content/plugin/plugin_thread.cc base::FileDescriptor(channel->TakeRendererFileDescriptor(), true); base 51 content/plugin/plugin_thread.h base::NativeLibrary preloaded_plugin_module_; base 35 content/plugin/webplugin_delegate_stub.cc base::WeakPtr<NPObjectStub> scriptable_object, base 77 content/plugin/webplugin_delegate_stub.cc base::MessageLoop::current()->PostNonNestableTask( base 79 content/plugin/webplugin_delegate_stub.cc base::Bind(&DestroyWebPluginAndDelegate, base 179 content/plugin/webplugin_delegate_stub.cc base::FilePath path = base 320 content/plugin/webplugin_delegate_stub.cc void WebPluginDelegateStub::OnGetFormValue(base::string16* value, base 342 content/plugin/webplugin_delegate_stub.cc const base::string16& text, base 352 content/plugin/webplugin_delegate_stub.cc const base::string16& text) { base 386 content/plugin/webplugin_delegate_stub.cc const base::string16& text) { base 39 content/plugin/webplugin_delegate_stub.h public base::RefCounted<WebPluginDelegateStub> { base 55 content/plugin/webplugin_delegate_stub.h friend class base::RefCounted<WebPluginDelegateStub>; base 82 content/plugin/webplugin_delegate_stub.h void OnGetFormValue(base::string16* value, bool* success); base 86 content/plugin/webplugin_delegate_stub.h void OnImeCompositionUpdated(const base::string16& text, base 90 content/plugin/webplugin_delegate_stub.h void OnImeCompositionCompleted(const base::string16& text); base 99 content/plugin/webplugin_delegate_stub.h void OnImeCompositionCompleted(const base::string16& text); base 119 content/plugin/webplugin_delegate_stub.h base::WeakPtr<NPObjectStub> plugin_scriptable_object_; base 199 content/plugin/webplugin_proxy.cc base::MessageLoop::current()->PostTask( base 201 content/plugin/webplugin_proxy.cc base::Bind(&WebPluginProxy::OnPaint, base 318 content/plugin/webplugin_proxy.cc if (!target && (0 == base::strcasecmp(method, "GET"))) { base 501 content/plugin/webplugin_proxy.cc base::ScopedCFTypeRef<CGContextRef>* cg_context_out) { base 513 content/plugin/webplugin_proxy.cc base::mac::GetSystemColorSpace(), base 149 content/plugin/webplugin_proxy.h class SharedTransportDIB : public base::RefCounted<SharedTransportDIB> { base 154 content/plugin/webplugin_proxy.h friend class base::RefCounted<SharedTransportDIB>; base 172 content/plugin/webplugin_proxy.h base::ScopedCFTypeRef<CGContextRef>* cg_context_out); base 208 content/plugin/webplugin_proxy.h typedef base::hash_map<int, WebPluginResourceClient*> ResourceClientMap; base 229 content/plugin/webplugin_proxy.h base::ScopedCFTypeRef<CGContextRef> windowless_contexts_[2]; base 247 content/plugin/webplugin_proxy.h base::WeakPtrFactory<WebPluginProxy> weak_factory_; base 21 content/port/browser/location_provider.h typedef base::Callback<void(const LocationProvider*, const Geoposition&)> base 43 content/port/browser/render_widget_host_view_frame_subscriber.h typedef base::Callback<void(base::TimeTicks /* timestamp */, base 63 content/port/browser/render_widget_host_view_frame_subscriber.h virtual bool ShouldCaptureFrame(base::TimeTicks present_time, base 144 content/port/browser/render_widget_host_view_port.h virtual void RenderProcessGone(base::TerminationStatus status, base 152 content/port/browser/render_widget_host_view_port.h virtual void SetTooltipText(const base::string16& tooltip_text) = 0; base 155 content/port/browser/render_widget_host_view_port.h virtual void SelectionChanged(const base::string16& text, base 189 content/port/browser/render_widget_host_view_port.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 206 content/port/browser/render_widget_host_view_port.h const base::Callback<void(bool)>& callback) = 0; base 38 content/port/browser/web_contents_view_port.h virtual void SetPageTitle(const base::string16& title) = 0; base 22 content/ppapi_plugin/broker_process_dispatcher.cc std::string ConvertPluginDataPath(const base::FilePath& plugin_data_path) { base 25 content/ppapi_plugin/broker_process_dispatcher.cc return base::WideToUTF8(plugin_data_path.value()); base 33 content/ppapi_plugin/broker_process_dispatcher.cc const base::WeakPtr<BrokerProcessDispatcher> in_dispatcher, base 39 content/ppapi_plugin/broker_process_dispatcher.cc base::WeakPtr<BrokerProcessDispatcher> dispatcher; base 107 content/ppapi_plugin/broker_process_dispatcher.cc base::TimeDelta::FromSeconds(kBrokerReleaseTimeSeconds)); base 135 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path) { base 143 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path, base 153 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path) { base 160 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path, base 190 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path, base 202 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path, base 210 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path, base 227 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path, base 256 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path) { base 273 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path, base 295 content/ppapi_plugin/broker_process_dispatcher.cc const base::FilePath& plugin_data_path, base 22 content/ppapi_plugin/broker_process_dispatcher.h public base::SupportsWeakPtr<BrokerProcessDispatcher> { base 39 content/ppapi_plugin/broker_process_dispatcher.h const base::FilePath& plugin_data_path); base 41 content/ppapi_plugin/broker_process_dispatcher.h const base::FilePath& plugin_data_path, base 46 content/ppapi_plugin/broker_process_dispatcher.h const base::FilePath& plugin_data_path); base 49 content/ppapi_plugin/broker_process_dispatcher.h const base::FilePath& plugin_data_path, base 53 content/ppapi_plugin/broker_process_dispatcher.h const base::FilePath& plugin_data_path, base 59 content/ppapi_plugin/broker_process_dispatcher.h const base::FilePath& plugin_data_path, base 64 content/ppapi_plugin/broker_process_dispatcher.h void GetSitesWithData(const base::FilePath& plugin_data_path, base 68 content/ppapi_plugin/broker_process_dispatcher.h bool ClearSiteData(const base::FilePath& plugin_data_path, base 73 content/ppapi_plugin/broker_process_dispatcher.h bool DeauthorizeContentLicenses(const base::FilePath& plugin_data_path); base 74 content/ppapi_plugin/broker_process_dispatcher.h bool SetDefaultPermission(const base::FilePath& plugin_data_path, base 78 content/ppapi_plugin/broker_process_dispatcher.h bool SetSitePermission(const base::FilePath& plugin_data_path, base 35 content/ppapi_plugin/plugin_process_dispatcher.cc base::TimeDelta::FromSeconds(kPluginReleaseTimeSeconds)); base 23 content/ppapi_plugin/ppapi_broker_main.cc base::MessageLoop main_message_loop; base 24 content/ppapi_plugin/ppapi_broker_main.cc base::PlatformThread::SetName("CrPPAPIBrokerMain"); base 25 content/ppapi_plugin/ppapi_broker_main.cc base::debug::TraceLog::GetInstance()->SetProcessName("PPAPI Broker Process"); base 26 content/ppapi_plugin/ppapi_broker_main.cc base::debug::TraceLog::GetInstance()->SetProcessSortIndex( base 74 content/ppapi_plugin/ppapi_plugin_main.cc base::debug::WaitForDebugger(2*60, false); base 84 content/ppapi_plugin/ppapi_plugin_main.cc base::i18n::SetICUDefaultLocale(locale); base 104 content/ppapi_plugin/ppapi_plugin_main.cc setenv("HOME", base::GetHomeDir().value().c_str(), 1); base 107 content/ppapi_plugin/ppapi_plugin_main.cc base::MessageLoop main_message_loop; base 108 content/ppapi_plugin/ppapi_plugin_main.cc base::PlatformThread::SetName("CrPPAPIMain"); base 109 content/ppapi_plugin/ppapi_plugin_main.cc base::debug::TraceLog::GetInstance()->SetProcessName("PPAPI Process"); base 110 content/ppapi_plugin/ppapi_plugin_main.cc base::debug::TraceLog::GetInstance()->SetProcessSortIndex( base 81 content/ppapi_plugin/ppapi_thread.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 109 content/ppapi_plugin/ppapi_thread.cc base::RandInt(0, std::numeric_limits<PP_Module>::max())), base 139 content/ppapi_plugin/ppapi_thread.cc if (base::MessageLoop::current() == message_loop()) base 169 content/ppapi_plugin/ppapi_thread.cc base::MessageLoopProxy* PpapiThread::GetIPCMessageLoop() { base 173 content/ppapi_plugin/ppapi_thread.cc base::WaitableEvent* PpapiThread::GetShutdownEvent() { base 178 content/ppapi_plugin/ppapi_thread.cc base::PlatformFile handle, base 179 content/ppapi_plugin/ppapi_thread.cc base::ProcessId peer_pid, base 189 content/ppapi_plugin/ppapi_thread.cc DCHECK(peer_pid != base::kNullProcessId); base 249 content/ppapi_plugin/ppapi_thread.cc void PpapiThread::OnLoadPlugin(const base::FilePath& path, base 253 content/ppapi_plugin/ppapi_thread.cc base::debug::SetCrashKeyValue("ppapi_path", path.MaybeAsASCII()); base 275 content/ppapi_plugin/ppapi_thread.cc base::ScopedNativeLibrary library; base 278 content/ppapi_plugin/ppapi_thread.cc base::NativeLibraryLoadError error; base 279 content/ppapi_plugin/ppapi_thread.cc library.Reset(base::LoadNativeLibrary(path, &error)); base 293 content/ppapi_plugin/ppapi_thread.cc CHECK(base::PathExists(path)); base 295 content/ppapi_plugin/ppapi_thread.cc base::PathExists(path.DirName().AppendASCII(kWidevineCdmFileName))); base 335 content/ppapi_plugin/ppapi_thread.cc base::win::SetAbortBehaviorForCrashReporting(); base 343 content/ppapi_plugin/ppapi_thread.cc if (base::win::OSInfo::GetInstance()->version() >= base 344 content/ppapi_plugin/ppapi_thread.cc base::win::VERSION_VISTA) { base 348 content/ppapi_plugin/ppapi_thread.cc if (base::win::OSInfo::GetInstance()->version() >= base 349 content/ppapi_plugin/ppapi_thread.cc base::win::VERSION_WIN7) { base 350 content/ppapi_plugin/ppapi_thread.cc base::CPU cpu; base 418 content/ppapi_plugin/ppapi_thread.cc void PpapiThread::OnCreateChannel(base::ProcessId renderer_pid, base 454 content/ppapi_plugin/ppapi_thread.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); base 457 content/ppapi_plugin/ppapi_thread.cc bool PpapiThread::SetupRendererChannel(base::ProcessId renderer_pid, base 464 content/ppapi_plugin/ppapi_thread.cc base::StringPrintf( base 465 content/ppapi_plugin/ppapi_thread.cc "%d.r%d", base::GetCurrentProcId(), renderer_child_id)); base 500 content/ppapi_plugin/ppapi_thread.cc handle->socket = base::FileDescriptor(dispatcher->TakeRendererFD(), true); base 510 content/ppapi_plugin/ppapi_thread.cc void PpapiThread::SavePluginName(const base::FilePath& path) { base 522 content/ppapi_plugin/ppapi_thread.cc void PpapiThread::ReportLoadResult(const base::FilePath& path, base 530 content/ppapi_plugin/ppapi_thread.cc base::HistogramBase* histogram = base 531 content/ppapi_plugin/ppapi_thread.cc base::LinearHistogram::FactoryGet( base 536 content/ppapi_plugin/ppapi_thread.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 542 content/ppapi_plugin/ppapi_thread.cc const base::FilePath& path, base 543 content/ppapi_plugin/ppapi_thread.cc const base::NativeLibraryLoadError& error) { base 30 content/ppapi_plugin/ppapi_thread.h namespace base { base 47 content/ppapi_plugin/ppapi_thread.h PpapiThread(const base::CommandLine& command_line, bool is_broker); base 70 content/ppapi_plugin/ppapi_thread.h virtual base::MessageLoopProxy* GetIPCMessageLoop() OVERRIDE; base 71 content/ppapi_plugin/ppapi_thread.h virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; base 73 content/ppapi_plugin/ppapi_thread.h base::PlatformFile handle, base 74 content/ppapi_plugin/ppapi_thread.h base::ProcessId peer_pid, base 94 content/ppapi_plugin/ppapi_thread.h void OnLoadPlugin(const base::FilePath& path, base 96 content/ppapi_plugin/ppapi_thread.h void OnCreateChannel(base::ProcessId renderer_pid, base 105 content/ppapi_plugin/ppapi_thread.h bool SetupRendererChannel(base::ProcessId renderer_pid, base 111 content/ppapi_plugin/ppapi_thread.h void SavePluginName(const base::FilePath& path); base 113 content/ppapi_plugin/ppapi_thread.h void ReportLoadResult(const base::FilePath& path, LoadResult result); base 116 content/ppapi_plugin/ppapi_thread.h void ReportLoadErrorCode(const base::FilePath& path, base 117 content/ppapi_plugin/ppapi_thread.h const base::NativeLibraryLoadError& error); base 122 content/ppapi_plugin/ppapi_thread.h base::ScopedNativeLibrary library_; base 156 content/ppapi_plugin/ppapi_thread.h base::win::ScopedHandle peer_handle_; base 68 content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc base::PlatformThreadId creation_thread_; base 105 content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc : creation_thread_(base::PlatformThread::CurrentId()) { base 115 content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc CHECK_EQ(creation_thread_, base::PlatformThread::CurrentId()); base 19 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java import org.chromium.base.CalledByNative; base 20 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java import org.chromium.base.JNINamespace; base 21 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java import org.chromium.base.library_loader.LibraryLoader; base 22 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java import org.chromium.base.library_loader.Linker; base 23 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java import org.chromium.base.library_loader.ProcessInitException; base 10 content/public/android/java/src/org/chromium/content/app/ContentApplication.java import org.chromium.base.BaseChromiumApplication; base 11 content/public/android/java/src/org/chromium/content/app/ContentApplication.java import org.chromium.base.library_loader.LibraryLoader; base 9 content/public/android/java/src/org/chromium/content/app/ContentMain.java import org.chromium.base.JNINamespace; base 12 content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java import org.chromium.base.SysUtils; base 13 content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java import org.chromium.base.ThreadUtils; base 13 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java import org.chromium.base.CalledByNative; base 14 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java import org.chromium.base.JNINamespace; base 15 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java import org.chromium.base.ThreadUtils; base 16 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java import org.chromium.base.library_loader.LibraryLoader; base 17 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java import org.chromium.base.library_loader.LoaderErrors; base 18 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java import org.chromium.base.library_loader.ProcessInitException; base 16 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java import org.chromium.base.CpuFeatures; base 17 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java import org.chromium.base.ThreadUtils; base 18 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java import org.chromium.base.TraceEvent; base 19 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java import org.chromium.base.library_loader.Linker; base 13 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java import org.chromium.base.CalledByNative; base 14 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java import org.chromium.base.JNINamespace; base 15 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java import org.chromium.base.ThreadUtils; base 16 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java import org.chromium.base.library_loader.Linker; base 7 content/public/android/java/src/org/chromium/content/browser/ContentSettings.java import org.chromium.base.CalledByNative; base 8 content/public/android/java/src/org/chromium/content/browser/ContentSettings.java import org.chromium.base.JNINamespace; base 9 content/public/android/java/src/org/chromium/content/browser/ContentSettings.java import org.chromium.base.ThreadUtils; base 24 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java import org.chromium.base.CalledByNative; base 25 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java import org.chromium.base.JNINamespace; base 26 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java import org.chromium.base.ThreadUtils; base 27 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java import org.chromium.ui.base.ViewAndroid; base 28 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java import org.chromium.ui.base.ViewAndroidDelegate; base 29 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java import org.chromium.ui.base.WindowAndroid; base 24 content/public/android/java/src/org/chromium/content/browser/ContentView.java import org.chromium.base.TraceEvent; base 25 content/public/android/java/src/org/chromium/content/browser/ContentView.java import org.chromium.ui.base.WindowAndroid; base 51 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.base.CalledByNative; base 52 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.base.CommandLine; base 53 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.base.JNINamespace; base 54 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.base.ObserverList; base 55 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.base.ObserverList.RewindableIterator; base 56 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.base.TraceEvent; base 73 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.ui.base.ViewAndroid; base 74 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.ui.base.ViewAndroidDelegate; base 75 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.ui.base.WindowAndroid; base 19 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java import org.chromium.base.CalledByNative; base 20 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java import org.chromium.base.JNINamespace; base 21 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java import org.chromium.base.ObserverList; base 22 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java import org.chromium.base.ObserverList.RewindableIterator; base 23 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java import org.chromium.base.TraceEvent; base 24 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java import org.chromium.ui.base.WindowAndroid; base 18 content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java import org.chromium.base.CalledByNative; base 19 content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java import org.chromium.base.CollectionUtil; base 20 content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java import org.chromium.base.JNINamespace; base 21 content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java import org.chromium.base.ThreadUtils; base 9 content/public/android/java/src/org/chromium/content/browser/DeviceUtils.java import org.chromium.base.CommandLine; base 9 content/public/android/java/src/org/chromium/content/browser/DownloadController.java import org.chromium.base.CalledByNative; base 10 content/public/android/java/src/org/chromium/content/browser/DownloadController.java import org.chromium.base.JNINamespace; base 7 content/public/android/java/src/org/chromium/content/browser/InterstitialPageDelegateAndroid.java import org.chromium.base.CalledByNative; base 8 content/public/android/java/src/org/chromium/content/browser/InterstitialPageDelegateAndroid.java import org.chromium.base.JNINamespace; base 12 content/public/android/java/src/org/chromium/content/browser/JellyBeanContentView.java import org.chromium.ui.base.WindowAndroid; base 7 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java import org.chromium.base.CalledByNative; base 8 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java import org.chromium.base.JNINamespace; base 11 content/public/android/java/src/org/chromium/content/browser/LocationProviderAdapter.java import org.chromium.base.CalledByNative; base 12 content/public/android/java/src/org/chromium/content/browser/LocationProviderAdapter.java import org.chromium.base.ThreadUtils; base 17 content/public/android/java/src/org/chromium/content/browser/LocationProviderFactory.java import org.chromium.base.ThreadUtils; base 7 content/public/android/java/src/org/chromium/content/browser/MediaDrmCredentialManager.java import org.chromium.base.CalledByNative; base 8 content/public/android/java/src/org/chromium/content/browser/MediaDrmCredentialManager.java import org.chromium.base.JNINamespace; base 16 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java import org.chromium.base.CalledByNative; base 17 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java import org.chromium.base.JNINamespace; base 18 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java import org.chromium.base.PathUtils; base 7 content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java import org.chromium.base.CalledByNative; base 8 content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java import org.chromium.ui.base.ViewAndroid; base 16 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java import org.chromium.base.PathUtils; base 17 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java import org.chromium.ui.base.LocalizationUtils; base 20 content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java import org.chromium.base.ObserverList; base 21 content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java import org.chromium.base.ThreadUtils; base 13 content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java import org.chromium.base.ApplicationStatus; base 14 content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java import org.chromium.base.CalledByNative; base 15 content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java import org.chromium.base.JNINamespace; base 20 content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java import org.chromium.base.CalledByNative; base 21 content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java import org.chromium.base.JNINamespace; base 11 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java import org.chromium.base.CalledByNative; base 12 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java import org.chromium.base.JNINamespace; base 16 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java import org.chromium.base.CalledByNative; base 17 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java import org.chromium.base.JNINamespace; base 18 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java import org.chromium.base.TraceEvent; base 13 content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java import org.chromium.base.TraceEvent; base 13 content/public/android/java/src/org/chromium/content/browser/VibrationProvider.java import org.chromium.base.CalledByNative; base 14 content/public/android/java/src/org/chromium/content/browser/VibrationProvider.java import org.chromium.base.JNINamespace; base 7 content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java import org.chromium.base.CalledByNative; base 8 content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java import org.chromium.base.JNINamespace; base 24 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java import org.chromium.base.CommandLine; base 21 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java import org.chromium.base.CalledByNative; base 22 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java import org.chromium.base.JNINamespace; base 11 content/public/android/java/src/org/chromium/content/browser/accessibility/JellyBeanBrowserAccessibilityManager.java import org.chromium.base.JNINamespace; base 10 content/public/android/java/src/org/chromium/content/browser/accessibility/KitKatBrowserAccessibilityManager.java import org.chromium.base.JNINamespace; base 7 content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java import org.chromium.base.CalledByNative; base 8 content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java import org.chromium.base.JNINamespace; base 9 content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java import org.chromium.base.CalledByNative; base 10 content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java import org.chromium.base.JNINamespace; base 18 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java import org.chromium.base.CalledByNative; base 19 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java import org.chromium.base.JNINamespace; base 7 content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java import org.chromium.base.CalledByNative; base 8 content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java import org.chromium.base.JNINamespace; base 12 content/public/android/java/src/org/chromium/content/common/CleanupReference.java import org.chromium.base.ThreadUtils; base 13 content/public/android/java/src/org/chromium/content/common/CleanupReference.java import org.chromium.base.TraceEvent; base 10 content/public/android/java/src/org/chromium/content/common/DeviceTelephonyInfo.java import org.chromium.base.CalledByNative; base 9 content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java import org.chromium.base.test.util.Feature; base 11 content/public/android/javatests/src/org/chromium/content/browser/BindingManagerImplTest.java import org.chromium.base.test.util.Feature; base 11 content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java import org.chromium.base.ThreadUtils; base 12 content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java import org.chromium.base.library_loader.LoaderErrors; base 13 content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java import org.chromium.base.library_loader.ProcessInitException; base 14 content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java import org.chromium.base.test.util.AdvancedMockContext; base 9 content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java import org.chromium.base.test.util.Feature; base 14 content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java import org.chromium.base.ThreadUtils; base 15 content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java import org.chromium.base.test.util.Feature; base 16 content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java import org.chromium.base.test.util.UrlUtils; base 10 content/public/android/javatests/src/org/chromium/content/browser/ContentCommandLineTest.java import org.chromium.base.CommandLine; base 11 content/public/android/javatests/src/org/chromium/content/browser/ContentCommandLineTest.java import org.chromium.base.library_loader.LibraryLoader; base 12 content/public/android/javatests/src/org/chromium/content/browser/ContentCommandLineTest.java import org.chromium.base.library_loader.ProcessInitException; base 13 content/public/android/javatests/src/org/chromium/content/browser/ContentCommandLineTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 11 content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java import org.chromium.base.test.util.UrlUtils; base 9 content/public/android/javatests/src/org/chromium/content/browser/ContentViewLocationTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java import org.chromium.base.test.util.DisabledTest; base 10 content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java import org.chromium.base.test.util.UrlUtils; base 15 content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java import org.chromium.base.test.util.Feature; base 16 content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java import org.chromium.base.test.util.UrlUtils; base 9 content/public/android/javatests/src/org/chromium/content/browser/ContentViewTestBase.java import org.chromium.base.test.util.UrlUtils; base 10 content/public/android/javatests/src/org/chromium/content/browser/DownloadInfoTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/EmailAddressDetectionTest.java import org.chromium.base.test.util.Feature; base 10 content/public/android/javatests/src/org/chromium/content/browser/EncodeHtmlDataUriTest.java import org.chromium.base.test.util.UrlUtils; base 9 content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 11 content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java import org.chromium.base.test.util.DisabledTest; base 12 content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java import org.chromium.base.test.util.UrlUtils; base 10 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java import org.chromium.base.ImportantFileWriterAndroid; base 11 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java import org.chromium.base.library_loader.LibraryLoader; base 12 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java import org.chromium.base.library_loader.ProcessInitException; base 13 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java import org.chromium.base.ThreadUtils; base 10 content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java import org.chromium.base.test.util.Feature; base 11 content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java import org.chromium.base.test.util.UrlUtils; base 9 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeArrayCoercionTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeArrayTest.java import org.chromium.base.test.util.Feature; base 11 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java import org.chromium.base.test.util.DisabledTest; base 12 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeChildFrameTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeCoercionTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeFieldsTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeReturnValuesTest.java import org.chromium.base.test.util.Feature; base 12 content/public/android/javatests/src/org/chromium/content/browser/LocationProviderTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/NavigationTest.java import org.chromium.base.test.util.Feature; base 10 content/public/android/javatests/src/org/chromium/content/browser/NavigationTest.java import org.chromium.base.test.util.UrlUtils; base 9 content/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java import org.chromium.base.test.util.Feature; base 17 content/public/android/javatests/src/org/chromium/content/browser/PopupZoomerTest.java import org.chromium.base.test.util.Feature; base 9 content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationIntegrationTest.java import org.chromium.base.test.util.Feature; base 10 content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationIntegrationTest.java import org.chromium.base.test.util.UrlUtils; base 12 content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationListenerTest.java import org.chromium.base.test.util.Feature; base 13 content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationListenerTest.java import org.chromium.base.test.util.UrlUtils; base 10 content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java import org.chromium.base.test.util.Feature; base 11 content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java import org.chromium.base.test.util.UrlUtils; base 9 content/public/android/javatests/src/org/chromium/content/browser/TestsJavaScriptEvalTest.java import org.chromium.base.test.util.Feature; base 10 content/public/android/javatests/src/org/chromium/content/browser/TestsJavaScriptEvalTest.java import org.chromium.base.test.util.UrlUtils; base 7 content/public/android/javatests/src/org/chromium/content/browser/TracingControllerAndroidTest.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 12 content/public/android/javatests/src/org/chromium/content/browser/TracingControllerAndroidTest.java import org.chromium.base.ThreadUtils; base 13 content/public/android/javatests/src/org/chromium/content/browser/TracingControllerAndroidTest.java import org.chromium.base.test.util.Feature; base 12 content/public/android/javatests/src/org/chromium/content/browser/VSyncMonitorTest.java import org.chromium.base.ThreadUtils; base 11 content/public/android/javatests/src/org/chromium/content/browser/ViewportTest.java import org.chromium.base.test.util.DisabledTest; base 15 content/public/android/javatests/src/org/chromium/content/browser/input/AdapterInputConnectionTest.java import org.chromium.base.test.util.Feature; base 19 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java import org.chromium.base.ThreadUtils; base 20 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java import org.chromium.base.test.util.Feature; base 21 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java import org.chromium.base.test.util.UrlUtils; base 11 content/public/android/javatests/src/org/chromium/content/browser/input/InputDialogContainerTest.java import org.chromium.base.test.util.Feature; base 16 content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java import org.chromium.base.test.util.DisabledTest; base 17 content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java import org.chromium.base.test.util.Feature; base 18 content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java import org.chromium.base.test.util.UrlUtils; base 7 content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 11 content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java import org.chromium.base.test.util.Feature; base 12 content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java import org.chromium.base.test.util.UrlUtils; base 17 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java import org.chromium.base.ThreadUtils; base 18 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java import org.chromium.base.test.util.Feature; base 19 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java import org.chromium.base.test.util.UrlUtils; base 10 content/public/android/javatests/src/org/chromium/content/common/CleanupReferenceTest.java import org.chromium.base.test.util.Feature; base 53 content/public/app/content_main.h base::Closure* ui_task; base 8 content/public/app/startup_helper_win.h namespace base { base 33 content/public/app/startup_helper_win.h void SetupCRT(const base::CommandLine& command_line); base 33 content/public/browser/access_token_store.h class AccessTokenStore : public base::RefCountedThreadSafe<AccessTokenStore> { base 36 content/public/browser/access_token_store.h typedef std::map<GURL, base::string16> AccessTokenSet; base 37 content/public/browser/access_token_store.h typedef base::Callback<void(AccessTokenSet, net::URLRequestContextGetter*)> base 50 content/public/browser/access_token_store.h const GURL& server_url, const base::string16& access_token) = 0; base 53 content/public/browser/access_token_store.h friend class base::RefCountedThreadSafe<AccessTokenStore>; base 46 content/public/browser/android/content_view_core.h virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0; base 60 content/public/browser/android/content_view_core.h const base::Callback<void(bool, const SkBitmap&)>& result_callback) = 0; base 66 content/public/browser/android/content_view_core.h typedef base::Callback<void( base 23 content/public/browser/android/external_video_surface_container.h typedef base::Callback<void(int, jobject)> SurfaceCreatedCB; base 24 content/public/browser/android/external_video_surface_container.h typedef base::Callback<void(int)> SurfaceDestroyedCB; base 46 content/public/browser/browser_accessibility_state.h virtual void AddHistogramCallback(base::Closure callback) = 0; base 18 content/public/browser/browser_child_process_host.h namespace base { base 47 content/public/browser/browser_child_process_host.h base::CommandLine* cmd_line) = 0; base 61 content/public/browser/browser_child_process_host.h virtual base::TerminationStatus GetTerminationStatus( base 65 content/public/browser/browser_child_process_host.h virtual void SetName(const base::string16& name) = 0; base 72 content/public/browser/browser_child_process_host.h virtual void SetHandle(base::ProcessHandle handle) = 0; base 79 content/public/browser/browser_child_process_host.h static base::ProcessMetrics::PortProvider* GetPortProvider(); base 16 content/public/browser/browser_context.h namespace base { base 45 content/public/browser/browser_context.h class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { base 58 content/public/browser/browser_context.h typedef base::Callback<void(StoragePartition*)> StoragePartitionCallback; base 65 content/public/browser/browser_context.h const base::Closure& on_gc_required); base 71 content/public/browser/browser_context.h scoped_ptr<base::hash_set<base::FilePath> > active_paths, base 72 content/public/browser/browser_context.h const base::Closure& done); base 93 content/public/browser/browser_context.h virtual base::FilePath GetPath() const = 0; base 122 content/public/browser/browser_context.h const base::FilePath& partition_path, base 125 content/public/browser/browser_context.h typedef base::Callback<void(bool)> MidiSysExPermissionCallback; base 144 content/public/browser/browser_context.h typedef base::Callback<void(bool)> ProtectedMediaIdentifierPermissionCallback; base 55 content/public/browser/browser_message_filter.cc scoped_refptr<base::TaskRunner> runner = base 60 content/public/browser/browser_message_filter.cc base::Bind( base 61 content/public/browser/browser_message_filter.cc base::IgnoreResult(&Internal::DispatchMessage), this, message)); base 74 content/public/browser/browser_message_filter.cc base::Bind( base 75 content/public/browser/browser_message_filter.cc base::IgnoreResult(&Internal::DispatchMessage), this, message)); base 95 content/public/browser/browser_message_filter.cc base::UserMetricsAction("BadMessageTerminate_BMF")); base 111 content/public/browser/browser_message_filter.cc peer_handle_(base::kNullProcessHandle), base 113 content/public/browser/browser_message_filter.cc peer_pid_(base::kNullProcessId), base 122 content/public/browser/browser_message_filter.cc peer_handle_(base::kNullProcessHandle), base 124 content/public/browser/browser_message_filter.cc peer_pid_(base::kNullProcessId), base 131 content/public/browser/browser_message_filter.cc base::ProcessHandle BrowserMessageFilter::PeerHandle() { base 133 content/public/browser/browser_message_filter.cc base::AutoLock lock(peer_handle_lock_); base 134 content/public/browser/browser_message_filter.cc if (peer_handle_ == base::kNullProcessHandle) base 135 content/public/browser/browser_message_filter.cc base::OpenPrivilegedProcessHandle(peer_pid_, &peer_handle_); base 139 content/public/browser/browser_message_filter.cc base::ProcessHandle result = base::kNullProcessHandle; base 140 content/public/browser/browser_message_filter.cc base::OpenPrivilegedProcessHandle(peer_pid_, &result); base 164 content/public/browser/browser_message_filter.cc base::Bind(base::IgnoreResult(&BrowserMessageFilter::Send), this, base 176 content/public/browser/browser_message_filter.cc base::TaskRunner* BrowserMessageFilter::OverrideTaskRunnerForMessage( base 210 content/public/browser/browser_message_filter.cc base::KillProcess(PeerHandle(), content::RESULT_CODE_KILLED_BAD_MESSAGE, base 217 content/public/browser/browser_message_filter.cc if (peer_handle_ != base::kNullProcessHandle) base 218 content/public/browser/browser_message_filter.cc base::CloseProcessHandle(peer_handle_); base 18 content/public/browser/browser_message_filter.h namespace base { base 28 content/public/browser/browser_message_filter.h : public base::RefCountedThreadSafe< base 67 content/public/browser/browser_message_filter.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 78 content/public/browser/browser_message_filter.h base::ProcessHandle PeerHandle(); base 81 content/public/browser/browser_message_filter.h base::ProcessId peer_pid() const { return peer_pid_; } base 83 content/public/browser/browser_message_filter.h void set_peer_pid_for_testing(base::ProcessId peer_pid) { base 104 content/public/browser/browser_message_filter.h friend class base::RefCountedThreadSafe<BrowserMessageFilter, base 124 content/public/browser/browser_message_filter.h base::ProcessId peer_pid_; base 129 content/public/browser/browser_message_filter.h base::Lock peer_handle_lock_; base 130 content/public/browser/browser_message_filter.h base::ProcessHandle peer_handle_; base 24 content/public/browser/browser_plugin_guest_delegate.cc const base::DictionaryValue& request_info, base 30 content/public/browser/browser_plugin_guest_delegate.h const base::string16& message, base 32 content/public/browser/browser_plugin_guest_delegate.h const base::string16& source_id) {} base 44 content/public/browser/browser_plugin_guest_delegate.h virtual void GuestProcessGone(base::TerminationStatus status) {} base 83 content/public/browser/browser_plugin_guest_delegate.h typedef base::Callback<void(bool /* allow */, base 93 content/public/browser/browser_plugin_guest_delegate.h const base::DictionaryValue& request_info, base 43 content/public/browser/browser_ppapi_host.h typedef base::Callback< base 45 content/public/browser/browser_ppapi_host.h const base::FilePath& profile_data_directory)> base 53 content/public/browser/browser_ppapi_host.h base::ProcessHandle plugin_child_process, base 57 content/public/browser/browser_ppapi_host.h const base::FilePath& profile_directory); base 65 content/public/browser/browser_ppapi_host.h virtual base::ProcessHandle GetPluginProcessHandle() const = 0; base 87 content/public/browser/browser_ppapi_host.h virtual const base::FilePath& GetPluginPath() = 0; base 90 content/public/browser/browser_ppapi_host.h virtual const base::FilePath& GetProfileDataDirectory() = 0; base 19 content/public/browser/browser_thread.h namespace base { base 105 content/public/browser/browser_thread.h const base::Closure& task); base 108 content/public/browser/browser_thread.h const base::Closure& task, base 109 content/public/browser/browser_thread.h base::TimeDelta delay); base 112 content/public/browser/browser_thread.h const base::Closure& task); base 116 content/public/browser/browser_thread.h const base::Closure& task, base 117 content/public/browser/browser_thread.h base::TimeDelta delay); base 122 content/public/browser/browser_thread.h const base::Closure& task, base 123 content/public/browser/browser_thread.h const base::Closure& reply); base 129 content/public/browser/browser_thread.h const base::Callback<ReturnType(void)>& task, base 130 content/public/browser/browser_thread.h const base::Callback<void(ReplyArgType)>& reply) { base 131 content/public/browser/browser_thread.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy = base 133 content/public/browser/browser_thread.h return base::PostTaskAndReplyWithResult( base 175 content/public/browser/browser_thread.h const base::Closure& task); base 178 content/public/browser/browser_thread.h const base::Closure& task, base 179 content/public/browser/browser_thread.h const base::Closure& reply); base 183 content/public/browser/browser_thread.h const base::Closure& task); base 188 content/public/browser/browser_thread.h static base::SequencedWorkerPool* GetBlockingPool(); base 209 content/public/browser/browser_thread.h static scoped_refptr<base::MessageLoopProxy> GetMessageLoopProxyForThread( base 220 content/public/browser/browser_thread.h static base::MessageLoop* UnsafeGetMessageLoopForThread(ID identifier); base 21 content/public/browser/child_process_data.h base::string16 name; base 29 content/public/browser/child_process_data.h base::ProcessHandle handle; base 34 content/public/browser/child_process_data.h : process_type(process_type), id(0), handle(base::kNullProcessHandle), base 13 content/public/browser/child_process_security_policy.h namespace base { base 47 content/public/browser/child_process_security_policy.h virtual void GrantReadFile(int child_id, const base::FilePath& file) = 0; base 52 content/public/browser/child_process_security_policy.h const base::FilePath& file) = 0; base 55 content/public/browser/child_process_security_policy.h virtual void GrantCopyInto(int child_id, const base::FilePath& dir) = 0; base 58 content/public/browser/child_process_security_policy.h virtual void GrantDeleteFrom(int child_id, const base::FilePath& dir) = 0; base 66 content/public/browser/child_process_security_policy.h virtual bool CanReadFile(int child_id, const base::FilePath& file) = 0; base 68 content/public/browser/child_process_security_policy.h const base::FilePath& file) = 0; base 49 content/public/browser/content_browser_client.cc const base::FilePath& partition_path, base 146 content/public/browser/content_browser_client.cc const base::string16& name, base 147 content/public/browser/content_browser_client.cc const base::string16& display_name, base 163 content/public/browser/content_browser_client.cc const base::string16& name, base 258 content/public/browser/content_browser_client.cc base::FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { base 259 content/public/browser/content_browser_client.cc return base::FilePath(); base 41 content/public/browser/content_browser_client.h namespace base { base 164 content/public/browser/content_browser_client.h scoped_ptr<base::DictionaryValue> extra_params) {} base 174 content/public/browser/content_browser_client.h const base::DictionaryValue& extra_params) {} base 220 content/public/browser/content_browser_client.h const base::FilePath& partition_path, base 291 content/public/browser/content_browser_client.h virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, base 339 content/public/browser/content_browser_client.h const base::string16& name, base 340 content/public/browser/content_browser_client.h const base::string16& display_name, base 358 content/public/browser/content_browser_client.h const base::string16& name, base 422 content/public/browser/content_browser_client.h const base::Callback<void(bool)>& callback, base 432 content/public/browser/content_browser_client.h const base::Callback<void(net::X509Certificate*)>& callback) {} base 547 content/public/browser/content_browser_client.h virtual base::FilePath GetDefaultDownloadDirectory(); base 597 content/public/browser/content_browser_client.h const base::FilePath& storage_partition_path, base 618 content/public/browser/content_browser_client.h const base::CommandLine& command_line, base 12 content/public/browser/cookie_store_factory.h namespace base { base 57 content/public/browser/cookie_store_factory.h CookieStoreConfig(const base::FilePath& path, base 63 content/public/browser/cookie_store_factory.h const base::FilePath path; base 82 content/public/browser/cookie_store_factory.h scoped_refptr<base::SequencedTaskRunner> client_task_runner; base 89 content/public/browser/cookie_store_factory.h scoped_refptr<base::SequencedTaskRunner> background_task_runner; base 100 content/public/browser/desktop_media_id.cc base::SplitString(str, ':', &parts); base 117 content/public/browser/desktop_media_id.cc if (!base::StringToInt64(parts[1], &id)) base 142 content/public/browser/desktop_media_id.cc prefix.append(base::Int64ToString(id)); base 22 content/public/browser/devtools_agent_host.h : public base::RefCounted<DevToolsAgentHost> { base 70 content/public/browser/devtools_agent_host.h friend class base::RefCounted<DevToolsAgentHost>; base 33 content/public/browser/devtools_http_handler_delegate.h virtual base::FilePath GetDebugFrontendDir() = 0; base 43 content/public/browser/devtools_http_handler_delegate.h typedef base::Callback<void(const TargetList&)> TargetCallback; base 57 content/public/browser/devtools_manager.h typedef base::Callback<void(DevToolsAgentHost*, bool attached)> Callback; base 47 content/public/browser/devtools_target.h virtual base::TimeTicks GetLastActivityTime() const = 0; base 25 content/public/browser/dom_storage_context.h typedef base::Callback< base 29 content/public/browser/dom_storage_context.h typedef base::Callback< base 34 content/public/browser/download_item.h namespace base { base 51 content/public/browser/download_item.h class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { base 79 content/public/browser/download_item.h typedef base::Callback<void(const base::FilePath&)> AcquireFileCallback; base 210 content/public/browser/download_item.h virtual const base::FilePath& GetFullPath() const = 0; base 216 content/public/browser/download_item.h virtual const base::FilePath& GetTargetFilePath() const = 0; base 220 content/public/browser/download_item.h virtual const base::FilePath& GetForcedFilePath() const = 0; base 225 content/public/browser/download_item.h virtual base::FilePath GetFileNameToReportUser() const = 0; base 250 content/public/browser/download_item.h virtual void DeleteFile(const base::Callback<void(bool)>& callback) = 0; base 266 content/public/browser/download_item.h virtual bool TimeRemaining(base::TimeDelta* remaining) const = 0; base 280 content/public/browser/download_item.h virtual base::Time GetStartTime() const = 0; base 281 content/public/browser/download_item.h virtual base::Time GetEndTime() const = 0; base 330 content/public/browser/download_item.h virtual void SetDisplayName(const base::FilePath& name) = 0; base 57 content/public/browser/download_manager.h class CONTENT_EXPORT DownloadManager : public base::SupportsUserData::Data { base 116 content/public/browser/download_manager.h virtual int RemoveDownloadsBetween(base::Time remove_begin, base 117 content/public/browser/download_manager.h base::Time remove_end) = 0; base 122 content/public/browser/download_manager.h virtual int RemoveDownloads(base::Time remove_begin) = 0; base 141 content/public/browser/download_manager.h const base::FilePath& current_path, base 142 content/public/browser/download_manager.h const base::FilePath& target_path, base 145 content/public/browser/download_manager.h const base::Time& start_time, base 146 content/public/browser/download_manager.h const base::Time& end_time, base 22 content/public/browser/download_manager_delegate.cc const base::FilePath& path) { base 28 content/public/browser/download_manager_delegate.cc const base::Closure& callback) { base 24 content/public/browser/download_manager_delegate.h typedef base::Callback<void(DownloadItem*)> base 31 content/public/browser/download_manager_delegate.h typedef base::Callback<void(const base::FilePath&, base 42 content/public/browser/download_manager_delegate.h typedef base::Callback<void( base 43 content/public/browser/download_manager_delegate.h const base::FilePath& target_path, base 46 content/public/browser/download_manager_delegate.h const base::FilePath& intermediate_path)> DownloadTargetCallback; base 49 content/public/browser/download_manager_delegate.h typedef base::Callback<void(bool)> DownloadOpenDelayedCallback; base 52 content/public/browser/download_manager_delegate.h typedef base::Callback<void(bool result)> CheckForFileExistenceCallback; base 54 content/public/browser/download_manager_delegate.h typedef base::Callback<void(uint32)> DownloadIdCallback; base 83 content/public/browser/download_manager_delegate.h virtual bool ShouldOpenFileBasedOnExtension(const base::FilePath& path); base 93 content/public/browser/download_manager_delegate.h const base::Closure& complete_callback); base 107 content/public/browser/download_manager_delegate.h base::FilePath* website_save_dir, base 108 content/public/browser/download_manager_delegate.h base::FilePath* download_save_dir, base 115 content/public/browser/download_manager_delegate.h const base::FilePath& suggested_path, base 116 content/public/browser/download_manager_delegate.h const base::FilePath::StringType& default_extension, base 25 content/public/browser/download_save_info.h base::FilePath file_path; base 29 content/public/browser/download_save_info.h base::string16 suggested_name; base 32 content/public/browser/download_save_info.h base::File file; base 42 content/public/browser/download_url_parameters.h typedef base::Callback<void(DownloadItem*, DownloadInterruptReason)> base 90 content/public/browser/download_url_parameters.h void set_file_path(const base::FilePath& file_path) { base 93 content/public/browser/download_url_parameters.h void set_suggested_name(const base::string16& suggested_name) { base 101 content/public/browser/download_url_parameters.h void set_file(base::File file) { base 129 content/public/browser/download_url_parameters.h const base::FilePath& file_path() const { return save_info_.file_path; } base 130 content/public/browser/download_url_parameters.h const base::string16& suggested_name() const { base 140 content/public/browser/download_url_parameters.h base::File GetFile() { return save_info_.file.Pass(); } base 18 content/public/browser/file_descriptor_info.h FileDescriptorInfo(int id, const base::FileDescriptor& file_descriptor) base 24 content/public/browser/file_descriptor_info.h base::FileDescriptor fd; base 12 content/public/browser/font_list_async.h namespace base { base 26 content/public/browser/font_list_async.h const base::Callback<void(scoped_ptr<base::ListValue>)>& callback); base 20 content/public/browser/geolocation_permission_context.h : public base::RefCountedThreadSafe<GeolocationPermissionContext> { base 30 content/public/browser/geolocation_permission_context.h base::Callback<void(bool)> callback) = 0; base 43 content/public/browser/geolocation_permission_context.h friend class base::RefCountedThreadSafe<GeolocationPermissionContext>; base 20 content/public/browser/geolocation_provider.h typedef base::Callback<void(const Geoposition&)> LocationUpdateCallback; base 56 content/public/browser/geolocation_provider.h const base::Closure& completion_callback); base 17 content/public/browser/gpu_data_manager.h namespace base { base 33 content/public/browser/gpu_data_manager.h typedef base::Callback<void(const std::list<base::ProcessHandle>&)> base 73 content/public/browser/gpu_data_manager.h virtual void RegisterSwiftShaderPath(const base::FilePath& path) = 0; base 36 content/public/browser/gpu_data_manager_observer.h virtual void OnGpuProcessCrashed(base::TerminationStatus exit_code) {} base 13 content/public/browser/histogram_fetcher.h namespace base { base 27 content/public/browser/histogram_fetcher.h base::MessageLoop* callback_thread, base 28 content/public/browser/histogram_fetcher.h const base::Closure& callback, base 29 content/public/browser/histogram_fetcher.h base::TimeDelta wait_time); base 99 content/public/browser/host_zoom_map.h typedef base::Callback<void(const ZoomLevelChange&)> ZoomLevelChangedCallback; base 100 content/public/browser/host_zoom_map.h typedef base::CallbackList<void(const ZoomLevelChange&)>::Subscription base 16 content/public/browser/indexed_db_context.h namespace base { base 25 content/public/browser/indexed_db_context.h class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> { base 28 content/public/browser/indexed_db_context.h virtual base::TaskRunner* TaskRunner() const = 0; base 38 content/public/browser/indexed_db_context.h virtual base::FilePath GetFilePathForTesting( base 42 content/public/browser/indexed_db_context.h base::SequencedTaskRunner* task_runner) = 0; base 45 content/public/browser/indexed_db_context.h friend class base::RefCountedThreadSafe<IndexedDBContext>; base 11 content/public/browser/indexed_db_info.cc const base::Time& last_modified, base 12 content/public/browser/indexed_db_info.cc const base::FilePath& path, base 19 content/public/browser/indexed_db_info.h const base::Time& last_modified, base 20 content/public/browser/indexed_db_info.h const base::FilePath& path, base 25 content/public/browser/indexed_db_info.h base::Time last_modified_; base 26 content/public/browser/indexed_db_info.h base::FilePath path_; base 12 content/public/browser/javascript_dialog_manager.cc const base::string16* prompt_override) { base 25 content/public/browser/javascript_dialog_manager.h typedef base::Callback<void(bool /* success */, base 26 content/public/browser/javascript_dialog_manager.h const base::string16& /* user_input */)> base 36 content/public/browser/javascript_dialog_manager.h const base::string16& message_text, base 37 content/public/browser/javascript_dialog_manager.h const base::string16& default_prompt_text, base 43 content/public/browser/javascript_dialog_manager.h const base::string16& message_text, base 53 content/public/browser/javascript_dialog_manager.h const base::string16* prompt_override); base 21 content/public/browser/load_notification_details.h base::TimeDelta load_time, base 34 content/public/browser/load_notification_details.h base::TimeDelta load_time; base 18 content/public/browser/local_storage_usage_info.h base::Time last_modified; base 25 content/public/browser/media_device_id.cc return StringToLowerASCII(base::HexEncode(&digest[0], digest.size())); base 45 content/public/browser/media_observer.h typedef base::Callback<std::pair<float, bool>()> ReadPowerAndClipCallback; base 20 content/public/browser/navigation_controller.h namespace base { base 156 content/public/browser/navigation_controller.h scoped_refptr<base::RefCountedMemory> browser_initiated_post_data; base 76 content/public/browser/navigation_entry.h virtual void SetTitle(const base::string16& title) = 0; base 77 content/public/browser/navigation_entry.h virtual const base::string16& GetTitle() const = 0; base 102 content/public/browser/navigation_entry.h virtual const base::string16& GetTitleForDisplay( base 150 content/public/browser/navigation_entry.h const base::RefCountedMemory* data) = 0; base 151 content/public/browser/navigation_entry.h virtual const base::RefCountedMemory* GetBrowserInitiatedPostData() const = 0; base 179 content/public/browser/navigation_entry.h virtual void SetTimestamp(base::Time timestamp) = 0; base 180 content/public/browser/navigation_entry.h virtual base::Time GetTimestamp() const = 0; base 196 content/public/browser/navigation_entry.h const base::string16& data) = 0; base 199 content/public/browser/navigation_entry.h base::string16* data) const = 0; base 27 content/public/browser/notification_registrar.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 55 content/public/browser/page_navigator.h scoped_refptr<base::RefCountedMemory> browser_initiated_post_data; base 12 content/public/browser/pepper_flash_settings_helper.h namespace base { base 24 content/public/browser/pepper_flash_settings_helper.h : public base::RefCounted<PepperFlashSettingsHelper> { base 31 content/public/browser/pepper_flash_settings_helper.h typedef base::Callback<void(bool /* success */, base 34 content/public/browser/pepper_flash_settings_helper.h virtual void OpenChannelToBroker(const base::FilePath& path, base 38 content/public/browser/pepper_flash_settings_helper.h friend class base::RefCounted<PepperFlashSettingsHelper>; base 13 content/public/browser/plugin_data_remover.h namespace base { base 28 content/public/browser/plugin_data_remover.h virtual base::WaitableEvent* StartRemoving(base::Time begin_time) = 0; base 17 content/public/browser/plugin_service.h namespace base { base 36 content/public/browser/plugin_service.h typedef base::Callback<void(const std::vector<WebPluginInfo>&)> base 86 content/public/browser/plugin_service.h virtual bool GetPluginInfoByPath(const base::FilePath& plugin_path, base 92 content/public/browser/plugin_service.h virtual base::string16 GetPluginDisplayNameByPath( base 93 content/public/browser/plugin_service.h const base::FilePath& plugin_path) = 0; base 103 content/public/browser/plugin_service.h const base::FilePath& plugin_path) = 0; base 109 content/public/browser/plugin_service.h virtual void ForcePluginShutdown(const base::FilePath& plugin_path) = 0; base 113 content/public/browser/plugin_service.h virtual bool IsPluginUnstable(const base::FilePath& plugin_path) = 0; base 121 content/public/browser/plugin_service.h virtual void AddExtraPluginPath(const base::FilePath& path) = 0; base 122 content/public/browser/plugin_service.h virtual void RemoveExtraPluginPath(const base::FilePath& path) = 0; base 125 content/public/browser/plugin_service.h virtual void AddExtraPluginDir(const base::FilePath& path) = 0; base 137 content/public/browser/plugin_service.h virtual void UnregisterInternalPlugin(const base::FilePath& path) = 0; base 159 content/public/browser/plugin_service.h base::string16* plugin_name, base 160 content/public/browser/plugin_service.h base::string16* plugin_version) = 0; base 10 content/public/browser/plugin_service_filter.h namespace base { base 35 content/public/browser/plugin_service_filter.h const base::FilePath& path) = 0; base 15 content/public/browser/profiler_controller.h namespace base { base 18 content/public/browser/quota_permission_context.h : public base::RefCountedThreadSafe<QuotaPermissionContext> { base 27 content/public/browser/quota_permission_context.h typedef base::Callback<void(QuotaPermissionResponse)> PermissionCallback; base 35 content/public/browser/quota_permission_context.h friend class base::RefCountedThreadSafe<QuotaPermissionContext>; base 17 content/public/browser/render_frame_host.h namespace base { base 109 content/public/browser/render_frame_host.h typedef base::Callback<void(const base::Value*)> JavaScriptResultCallback; base 110 content/public/browser/render_frame_host.h virtual void ExecuteJavaScript(const base::string16& javascript) = 0; base 111 content/public/browser/render_frame_host.h virtual void ExecuteJavaScript(const base::string16& javascript, base 22 content/public/browser/render_process_host.h namespace base { base 34 content/public/browser/render_process_host.h typedef base::Thread* (*RendererMainThreadFactoryFunction)( base 42 content/public/browser/render_process_host.h public base::SupportsUserData { base 48 content/public/browser/render_process_host.h RendererClosedDetails(base::ProcessHandle handle, base 49 content/public/browser/render_process_host.h base::TerminationStatus status, base 55 content/public/browser/render_process_host.h base::ProcessHandle handle; base 56 content/public/browser/render_process_host.h base::TerminationStatus status; base 90 content/public/browser/render_process_host.h const base::TimeDelta& max_delay, base 132 content/public/browser/render_process_host.h virtual base::ProcessHandle GetHandle() const = 0; base 205 content/public/browser/render_process_host.h virtual base::TimeDelta GetChildProcessIdleTime() const = 0; base 217 content/public/browser/render_process_host.h virtual void EnableAecDump(const base::FilePath& file) = 0; base 224 content/public/browser/render_process_host.h base::Callback<void(const std::string&)> callback) = 0; base 26 content/public/browser/render_process_host_observer.h base::ProcessHandle handle, base 27 content/public/browser/render_process_host_observer.h base::TerminationStatus status, base 28 content/public/browser/render_view_host.h namespace base { base 102 content/public/browser/render_view_host.h const base::string16& message) = 0; base 110 content/public/browser/render_view_host.h const std::vector<base::FilePath>& files) = 0; base 216 content/public/browser/render_view_host.h typedef base::Callback<void(const AudioOutputControllerList&)> base 188 content/public/browser/render_widget_host.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 292 content/public/browser/render_widget_host.h typedef base::Callback<bool(const NativeWebKeyboardEvent&)> base 300 content/public/browser/render_widget_host.h typedef base::Callback<bool(const blink::WebMouseEvent&)> MouseEventCallback; base 315 content/public/browser/render_widget_host.h const base::Callback<void(bool, const SkBitmap&)>& callback) = 0; base 108 content/public/browser/render_widget_host_view.h virtual base::string16 GetSelectedText() const = 0; base 35 content/public/browser/resource_context.h class CONTENT_EXPORT ResourceContext : public base::SupportsUserData { base 59 content/public/browser/resource_context.h const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback); base 92 content/public/browser/resource_context.h typedef base::Callback<std::string()> SaltCallback; base 26 content/public/browser/resource_dispatcher_host.h typedef base::Callback<void(DownloadItem*, DownloadInterruptReason)> base 20 content/public/browser/resource_dispatcher_host_login_delegate.h : public base::RefCountedThreadSafe<ResourceDispatcherHostLoginDelegate> { base 27 content/public/browser/resource_dispatcher_host_login_delegate.h friend class base::RefCountedThreadSafe<ResourceDispatcherHostLoginDelegate>; base 22 content/public/browser/service_worker_context.h typedef base::Callback<void(bool success)> ResultCallback; base 19 content/public/browser/session_storage_namespace.h : public base::RefCountedThreadSafe<SessionStorageNamespace> { base 60 content/public/browser/session_storage_namespace.h typedef base::Callback<void(MergeResult)> MergeResultCallback; base 78 content/public/browser/session_storage_namespace.h friend class base::RefCountedThreadSafe<SessionStorageNamespace>; base 64 content/public/browser/site_instance.h class CONTENT_EXPORT SiteInstance : public base::RefCounted<SiteInstance> { base 143 content/public/browser/site_instance.h friend class base::RefCounted<SiteInstance>; base 83 content/public/browser/speech_recognition_manager.h virtual base::string16 GetAudioInputDeviceModel() = 0; base 33 content/public/browser/speech_recognition_manager_delegate.h base::Callback<void(bool ask_user, bool is_allowed)> callback) = 0; base 35 content/public/browser/speech_recognition_session_config.h base::WeakPtr<SpeechRecognitionEventListener> event_listener; base 51 content/public/browser/storage_partition.h virtual base::FilePath GetPath() = 0; base 106 content/public/browser/storage_partition.h typedef base::Callback<bool(const GURL&, base 120 content/public/browser/storage_partition.h const base::Time begin, base 121 content/public/browser/storage_partition.h const base::Time end, base 122 content/public/browser/storage_partition.h const base::Closure& callback) = 0; base 14 content/public/browser/tracing_controller.h namespace base { base 43 content/public/browser/tracing_controller.h typedef base::Callback<void(const std::set<std::string>&)> base 66 content/public/browser/tracing_controller.h typedef base::Callback<void()> EnableRecordingDoneCallback; base 90 content/public/browser/tracing_controller.h typedef base::Callback<void(const base::FilePath&)> TracingFileResultCallback; base 91 content/public/browser/tracing_controller.h virtual bool DisableRecording(const base::FilePath& result_file_path, base 106 content/public/browser/tracing_controller.h typedef base::Callback<void()> EnableMonitoringDoneCallback; base 116 content/public/browser/tracing_controller.h typedef base::Callback<void()> DisableMonitoringDoneCallback; base 143 content/public/browser/tracing_controller.h const base::FilePath& result_file_path, base 149 content/public/browser/tracing_controller.h typedef base::Callback<void(float)> GetTraceBufferPercentFullCallback; base 155 content/public/browser/tracing_controller.h typedef base::Callback<void()> WatchEventCallback; base 19 content/public/browser/url_data_source.cc base::MessageLoop* URLDataSource::MessageLoopForRequestPath( base 13 content/public/browser/url_data_source.h namespace base { base 48 content/public/browser/url_data_source.h typedef base::Callback<void(base::RefCountedMemory*)> GotDataCallback; base 73 content/public/browser/url_data_source.h virtual base::MessageLoop* MessageLoopForRequestPath( base 20 content/public/browser/user_metrics.h CONTENT_EXPORT void RecordAction(const base::UserMetricsAction& action); base 14 content/public/browser/utility_process_host.h namespace base { base 23 content/public/browser/utility_process_host.h typedef base::Thread* (*UtilityMainThreadFactoryFunction)( base 38 content/public/browser/utility_process_host.h public base::SupportsWeakPtr<UtilityProcessHost> { base 43 content/public/browser/utility_process_host.h base::SequencedTaskRunner* client_task_runner); base 56 content/public/browser/utility_process_host.h virtual void SetExposedDir(const base::FilePath& dir) = 0; base 73 content/public/browser/utility_process_host.h virtual void SetEnv(const base::EnvironmentMap& env) = 0; base 21 content/public/browser/utility_process_host_client.h : public base::RefCountedThreadSafe<UtilityProcessHostClient> { base 33 content/public/browser/utility_process_host_client.h friend class base::RefCountedThreadSafe<UtilityProcessHostClient>; base 32 content/public/browser/web_contents.h namespace base { base 85 content/public/browser/web_contents.h public base::SupportsUserData { base 182 content/public/browser/web_contents.h const base::Callback<void(RenderFrameHost*)>& on_frame) = 0; base 239 content/public/browser/web_contents.h virtual const base::string16& GetTitle() const = 0; base 267 content/public/browser/web_contents.h virtual const base::string16& GetLoadStateHost() const = 0; base 297 content/public/browser/web_contents.h virtual void SetIsCrashed(base::TerminationStatus status, int error_code) = 0; base 299 content/public/browser/web_contents.h virtual base::TerminationStatus GetCrashedStatus() const = 0; base 310 content/public/browser/web_contents.h virtual base::TimeTicks GetLastActiveTime() const = 0; base 337 content/public/browser/web_contents.h virtual void Replace(const base::string16& word) = 0; base 340 content/public/browser/web_contents.h virtual void ReplaceMisspelling(const base::string16& word) = 0; base 370 content/public/browser/web_contents.h virtual bool SavePage(const base::FilePath& main_file, base 371 content/public/browser/web_contents.h const base::FilePath& dir_path, base 380 content/public/browser/web_contents.h const base::FilePath& file, base 381 content/public/browser/web_contents.h const base::Callback<void( base 466 content/public/browser/web_contents.h typedef base::Callback<void( base 503 content/public/browser/web_contents.h const base::string16& search_text, base 513 content/public/browser/web_contents.h virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0; base 42 content/public/browser/web_contents_delegate.cc const base::string16& message, base 44 content/public/browser/web_contents_delegate.cc const base::string16& source_id) { base 74 content/public/browser/web_contents_delegate.cc const base::Callback<void(bool)>& callback) { base 132 content/public/browser/web_contents_delegate.cc const base::string16& frame_name, base 171 content/public/browser/web_contents_delegate.cc const base::FilePath& plugin_path, base 172 content/public/browser/web_contents_delegate.cc const base::Callback<void(bool)>& callback) { base 27 content/public/browser/web_contents_delegate.h namespace base { base 181 content/public/browser/web_contents_delegate.h const base::string16& message, base 183 content/public/browser/web_contents_delegate.h const base::string16& source_id); base 226 content/public/browser/web_contents_delegate.h const base::Callback<void(bool)>& callback); base 303 content/public/browser/web_contents_delegate.h const base::string16& frame_name, base 312 content/public/browser/web_contents_delegate.h const base::string16& frame_name, base 355 content/public/browser/web_contents_delegate.h const base::FilePath& path) {} base 375 content/public/browser/web_contents_delegate.h const base::string16& title, base 409 content/public/browser/web_contents_delegate.h const base::ListValue& args) {} base 437 content/public/browser/web_contents_delegate.h const base::FilePath& plugin_path, base 438 content/public/browser/web_contents_delegate.h const base::Callback<void(bool)>& callback); base 452 content/public/browser/web_contents_delegate.h const base::string16& main_text, base 453 content/public/browser/web_contents_delegate.h const base::string16& sub_text) {} base 82 content/public/browser/web_contents_observer.h virtual void RenderProcessGone(base::TerminationStatus status) {} base 143 content/public/browser/web_contents_observer.h const base::string16& frame_unique_name, base 151 content/public/browser/web_contents_observer.h const base::string16& frame_unique_name, base 155 content/public/browser/web_contents_observer.h const base::string16& error_description, base 201 content/public/browser/web_contents_observer.h const base::string16& error_description, base 278 content/public/browser/web_contents_observer.h virtual void PluginCrashed(const base::FilePath& plugin_path, base 279 content/public/browser/web_contents_observer.h base::ProcessId plugin_pid) {} base 288 content/public/browser/web_contents_observer.h const base::FilePath& plugin_path, base 326 content/public/browser/web_contents_observer.h virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) {} base 31 content/public/browser/web_contents_user_data.h class WebContentsUserData : public base::SupportsUserData::Data { base 52 content/public/browser/web_contents_view.h virtual void OnTabCrashed(base::TerminationStatus status, int error_code) = 0; base 47 content/public/browser/web_drag_dest_delegate.h const base::string16& title) = 0; base 19 content/public/browser/web_ui.h namespace base { base 44 content/public/browser/web_ui.h static base::string16 GetJavascriptCall( base 46 content/public/browser/web_ui.h const std::vector<const base::Value*>& arg_list); base 63 content/public/browser/web_ui.h virtual const base::string16& GetOverriddenTitle() const = 0; base 64 content/public/browser/web_ui.h virtual void OverrideTitle(const base::string16& title) = 0; base 87 content/public/browser/web_ui.h typedef base::Callback<void(const base::ListValue*)> MessageCallback; base 95 content/public/browser/web_ui.h const base::ListValue& args) = 0; base 105 content/public/browser/web_ui.h const base::Value& arg) = 0; base 107 content/public/browser/web_ui.h const base::Value& arg1, base 108 content/public/browser/web_ui.h const base::Value& arg2) = 0; base 110 content/public/browser/web_ui.h const base::Value& arg1, base 111 content/public/browser/web_ui.h const base::Value& arg2, base 112 content/public/browser/web_ui.h const base::Value& arg3) = 0; base 114 content/public/browser/web_ui.h const base::Value& arg1, base 115 content/public/browser/web_ui.h const base::Value& arg2, base 116 content/public/browser/web_ui.h const base::Value& arg3, base 117 content/public/browser/web_ui.h const base::Value& arg4) = 0; base 120 content/public/browser/web_ui.h const std::vector<const base::Value*>& args) = 0; base 11 content/public/browser/web_ui_controller.cc const base::ListValue& args) { base 14 content/public/browser/web_ui_controller.h namespace base { base 34 content/public/browser/web_ui_controller.h const base::ListValue& args); base 12 content/public/browser/web_ui_data_source.h namespace base { base 42 content/public/browser/web_ui_data_source.h const base::string16& value) = 0; base 53 content/public/browser/web_ui_data_source.h const base::DictionaryValue& localized_strings) = 0; base 74 content/public/browser/web_ui_data_source.h typedef base::Callback<void(base::RefCountedMemory*)> GotDataCallback; base 80 content/public/browser/web_ui_data_source.h typedef base::Callback<bool(const std::string&, const GotDataCallback&)> base 16 content/public/browser/web_ui_message_handler.h namespace base { base 42 content/public/browser/web_ui_message_handler.h static bool ExtractIntegerValue(const base::ListValue* value, int* out_int); base 45 content/public/browser/web_ui_message_handler.h static bool ExtractDoubleValue(const base::ListValue* value, base 49 content/public/browser/web_ui_message_handler.h static base::string16 ExtractStringValue(const base::ListValue* value); base 37 content/public/browser/worker_service.h base::string16 name; base 40 content/public/browser/worker_service.h base::ProcessHandle handle; base 18 content/public/browser/worker_service_observer.h const base::string16& name, base 39 content/public/browser/zygote_host_linux.h virtual void AdjustRendererOOMScore(base::ProcessHandle process_handle, base 15 content/public/child/request_peer.h namespace base { base 83 content/public/child/request_peer.h const base::TimeTicks& completion_time, base 12 content/public/common/child_process_host.h namespace base { base 79 content/public/common/child_process_host.h static base::FilePath GetChildPath(int flags); base 33 content/public/common/child_process_host_delegate.h virtual base::ProcessHandle GetHandle() const = 0; base 25 content/public/common/color_suggestion.h base::string16 label; base 197 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%d, %d)", p.x(), p.y())); base 218 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%f, %f)", v.x(), v.y())); base 243 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%d, %d)", p.width(), p.height())); base 264 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%f, %f)", p.width(), p.height())); base 285 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%d, %d)", v.x(), v.y())); base 306 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%f, %f)", v.x(), v.y())); base 328 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%d, %d, %d, %d)", p.x(), p.y(), base 349 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%f, %f, %f, %f)", p.x(), p.y(), base 85 content/public/common/content_client.cc base::string16 ContentClient::GetLocalizedString(int message_id) const { base 86 content/public/common/content_client.cc return base::string16(); base 89 content/public/common/content_client.cc base::StringPiece ContentClient::GetDataResource( base 92 content/public/common/content_client.cc return base::StringPiece(); base 95 content/public/common/content_client.cc base::RefCountedStaticMemory* ContentClient::GetDataResourceBytes( base 20 content/public/common/content_client.h namespace base { base 110 content/public/common/content_client.h virtual base::string16 GetLocalizedString(int message_id) const; base 113 content/public/common/content_client.h virtual base::StringPiece GetDataResource( base 118 content/public/common/content_client.h virtual base::RefCountedStaticMemory* GetDataResourceBytes( base 9 content/public/common/content_constants.cc const base::FilePath::CharType kAppCacheDirname[] = base 11 content/public/common/content_constants.cc const base::FilePath::CharType kPepperDataDirname[] = base 19 content/public/common/content_constants.h CONTENT_EXPORT extern const base::FilePath::CharType kAppCacheDirname[]; base 22 content/public/common/content_constants.h CONTENT_EXPORT extern const base::FilePath::CharType kPepperDataDirname[]; base 65 content/public/common/context_menu_params.h base::string16 link_text; base 99 content/public/common/context_menu_params.h base::string16 selection_text; base 103 content/public/common/context_menu_params.h base::string16 misspelled_word; base 113 content/public/common/context_menu_params.h std::vector<base::string16> dictionary_suggestions; base 33 content/public/common/drop_data.h base::string16 url_title; // The title associated with |url|. base 36 content/public/common/drop_data.h base::string16 download_metadata; base 48 content/public/common/drop_data.h base::string16 filesystem_id; base 51 content/public/common/drop_data.h base::NullableString16 text; base 56 content/public/common/drop_data.h base::NullableString16 html; base 60 content/public/common/drop_data.h base::string16 file_description_filename; base 63 content/public/common/drop_data.h std::map<base::string16, base::string16> custom_data; base 40 content/public/common/file_chooser_params.h base::string16 title; base 43 content/public/common/file_chooser_params.h base::FilePath default_file_name; base 47 content/public/common/file_chooser_params.h std::vector<base::string16> accept_types; base 57 content/public/common/geoposition.h base::Time timestamp; base 35 content/public/common/gpu_memory_stats.h typedef std::map<base::ProcessId, ProcessStats> ProcessMap; base 20 content/public/common/main_function_params.h namespace base { base 30 content/public/common/main_function_params.h explicit MainFunctionParams(const base::CommandLine& cl) base 40 content/public/common/main_function_params.h const base::CommandLine& command_line; base 45 content/public/common/main_function_params.h base::mac::ScopedNSAutoreleasePool* autorelease_pool; base 50 content/public/common/main_function_params.h base::Closure* ui_task; base 243 content/public/common/media_stream_request.h virtual gfx::NativeViewId OnStarted(const base::Closure& stop) = 0; base 247 content/public/common/media_stream_request.h typedef base::Callback<void( base 31 content/public/common/menu_item.h base::string16 label; base 32 content/public/common/menu_item.h base::string16 tool_tip; base 14 content/public/common/page_state.cc base::NullableString16 ToNullableString16(const std::string& utf8) { base 15 content/public/common/page_state.cc return base::NullableString16(base::UTF8ToUTF16(utf8), false); base 18 content/public/common/page_state.cc base::FilePath ToFilePath(const base::NullableString16& s) { base 19 content/public/common/page_state.cc return base::FilePath::FromUTF16Unsafe(s.string()); base 22 content/public/common/page_state.cc void ToFilePathVector(const std::vector<base::NullableString16>& input, base 23 content/public/common/page_state.cc std::vector<base::FilePath>* output) { base 48 content/public/common/page_state.cc state->referrer = base::NullableString16(); base 78 content/public/common/page_state.cc const base::FilePath* optional_body_file_path) { base 121 content/public/common/page_state.cc std::vector<base::FilePath> PageState::GetReferencedFiles() const { base 122 content/public/common/page_state.cc std::vector<base::FilePath> results; base 15 content/public/common/page_state.h namespace base { base 38 content/public/common/page_state.h const base::FilePath* optional_body_file_path); base 46 content/public/common/page_state.h std::vector<base::FilePath> GetReferencedFiles() const; base 37 content/public/common/pepper_plugin_info.cc path.BaseName().LossyDisplayName() : base::UTF8ToUTF16(name); base 39 content/public/common/pepper_plugin_info.cc info.version = base::ASCIIToUTF16(version); base 40 content/public/common/pepper_plugin_info.cc info.desc = base::ASCIIToUTF16(description); base 51 content/public/common/pepper_plugin_info.h base::FilePath path; // Internal plugins have "internal-[name]" as path. base 26 content/public/common/resource_response.h base::TimeTicks request_start; base 28 content/public/common/resource_response.h base::TimeTicks response_start; base 43 content/public/common/resource_response.h : public base::RefCounted<ResourceResponse> { base 48 content/public/common/resource_response.h friend class base::RefCounted<ResourceResponse>; base 13 content/public/common/sandbox_init.h namespace base { base 59 content/public/common/sandbox_init.h CONTENT_EXPORT base::ProcessHandle StartSandboxedProcess( base 61 content/public/common/sandbox_init.h base::CommandLine* cmd_line); base 80 content/public/common/sandbox_init.h const base::FilePath& allowed_path); base 23 content/public/common/sandboxed_process_launcher_delegate.cc base::EnvironmentMap SandboxedProcessLauncherDelegate::GetEnvironment() { base 24 content/public/common/sandboxed_process_launcher_delegate.cc return base::EnvironmentMap(); base 13 content/public/common/sandboxed_process_launcher_delegate.h namespace base { base 46 content/public/common/sandboxed_process_launcher_delegate.h base::FilePath* exposed_dir) {} base 53 content/public/common/sandboxed_process_launcher_delegate.h virtual void PostSpawnTarget(base::ProcessHandle process) {} base 60 content/public/common/sandboxed_process_launcher_delegate.h virtual base::EnvironmentMap GetEnvironment(); base 24 content/public/common/show_desktop_notification_params.h base::string16 title; base 25 content/public/common/show_desktop_notification_params.h base::string16 body; base 32 content/public/common/show_desktop_notification_params.h base::string16 replace_id; base 17 content/public/common/speech_recognition_result.h base::string16 utterance; base 22 content/public/common/speech_recognition_result.h SpeechRecognitionHypothesis(const base::string16& utterance_value, base 24 content/public/common/webplugininfo.cc description(base::ASCIIToUTF16(d)) { base 58 content/public/common/webplugininfo.cc WebPluginInfo::WebPluginInfo(const base::string16& fake_name, base 59 content/public/common/webplugininfo.cc const base::FilePath& fake_path, base 60 content/public/common/webplugininfo.cc const base::string16& fake_version, base 61 content/public/common/webplugininfo.cc const base::string16& fake_desc) base 72 content/public/common/webplugininfo.cc const base::string16& version_string, base 73 content/public/common/webplugininfo.cc base::Version* parsed_version) { base 76 content/public/common/webplugininfo.cc std::string version = base::UTF16ToASCII(version_string); base 77 content/public/common/webplugininfo.cc base::RemoveChars(version, ") ", &version); base 87 content/public/common/webplugininfo.cc base::SplitString(version, '.', &numbers); base 15 content/public/common/webplugininfo.h namespace base { base 37 content/public/common/webplugininfo.h base::string16 description; base 40 content/public/common/webplugininfo.h std::vector<base::string16> additional_param_names; base 41 content/public/common/webplugininfo.h std::vector<base::string16> additional_param_values; base 59 content/public/common/webplugininfo.h WebPluginInfo(const base::string16& fake_name, base 60 content/public/common/webplugininfo.h const base::FilePath& fake_path, base 61 content/public/common/webplugininfo.h const base::string16& fake_version, base 62 content/public/common/webplugininfo.h const base::string16& fake_desc); base 72 content/public/common/webplugininfo.h static void CreateVersionFromString(const base::string16& version_string, base 73 content/public/common/webplugininfo.h base::Version* parsed_version); base 76 content/public/common/webplugininfo.h base::string16 name; base 79 content/public/common/webplugininfo.h base::FilePath path; base 82 content/public/common/webplugininfo.h base::string16 version; base 85 content/public/common/webplugininfo.h base::string16 desc; base 78 content/public/common/zygote_fork_delegate_linux.h base::TerminationStatus* status, base 23 content/public/plugin/content_plugin_client.h virtual void PluginProcessStarted(const base::string16& plugin_name) {} base 31 content/public/renderer/content_renderer_client.cc const base::FilePath& plugin_path) { base 46 content/public/renderer/content_renderer_client.cc const base::Closure& closure) { base 171 content/public/renderer/content_renderer_client.cc const base::string16& source) const { base 24 content/public/renderer/content_renderer_client.h namespace base { base 101 content/public/renderer/content_renderer_client.h const base::FilePath& plugin_path); base 129 content/public/renderer/content_renderer_client.h base::string16* error_description) {} base 135 content/public/renderer/content_renderer_client.h const base::Closure& closure); base 252 content/public/renderer/content_renderer_client.h const base::string16& source) const; base 26 content/public/renderer/document_state.h public base::SupportsUserData { base 51 content/public/renderer/document_state.h const base::Time& request_time() const { base 54 content/public/renderer/document_state.h void set_request_time(const base::Time& value) { base 60 content/public/renderer/document_state.h const base::Time& start_load_time() const { base 63 content/public/renderer/document_state.h void set_start_load_time(const base::Time& value) { base 71 content/public/renderer/document_state.h const base::Time& commit_load_time() const { base 74 content/public/renderer/document_state.h void set_commit_load_time(const base::Time& value) { base 79 content/public/renderer/document_state.h const base::Time& finish_document_load_time() const { base 82 content/public/renderer/document_state.h void set_finish_document_load_time(const base::Time& value) { base 94 content/public/renderer/document_state.h const base::Time& finish_load_time() const { return finish_load_time_; } base 95 content/public/renderer/document_state.h void set_finish_load_time(const base::Time& value) { base 104 content/public/renderer/document_state.h const base::Time& first_paint_time() const { return first_paint_time_; } base 105 content/public/renderer/document_state.h void set_first_paint_time(const base::Time& value) { base 110 content/public/renderer/document_state.h const base::Time& first_paint_after_load_time() const { base 113 content/public/renderer/document_state.h void set_first_paint_after_load_time(const base::Time& value) { base 192 content/public/renderer/document_state.h base::Time request_time_; base 193 content/public/renderer/document_state.h base::Time start_load_time_; base 194 content/public/renderer/document_state.h base::Time commit_load_time_; base 195 content/public/renderer/document_state.h base::Time finish_document_load_time_; base 196 content/public/renderer/document_state.h base::Time finish_load_time_; base 197 content/public/renderer/document_state.h base::Time first_paint_time_; base 198 content/public/renderer/document_state.h base::Time first_paint_after_load_time_; base 26 content/public/renderer/history_item_serialization.cc std::vector<base::NullableString16>* output) { base 18 content/public/renderer/pepper_plugin_instance.h namespace base { base 65 content/public/renderer/pepper_plugin_instance.h virtual base::FilePath GetModulePath() = 0; base 73 content/public/renderer/pepper_plugin_instance.h const base::FilePath& file_path, base 76 content/public/renderer/pepper_plugin_instance.h base::ProcessId plugin_pid, base 103 content/public/renderer/pepper_plugin_instance.h virtual int MakePendingFileRefRendererHost(const base::FilePath& path) = 0; base 109 content/public/renderer/pepper_plugin_instance.h virtual void SetSelectedText(const base::string16& selected_text) = 0; base 87 content/public/renderer/render_frame.h virtual void ExecuteJavaScript(const base::string16& javascript) = 0; base 58 content/public/renderer/render_frame_observer.h virtual void DetailedConsoleMessageAdded(const base::string16& message, base 59 content/public/renderer/render_frame_observer.h const base::string16& source, base 60 content/public/renderer/render_frame_observer.h const base::string16& stack_trace, base 55 content/public/renderer/render_frame_observer_tracker.h static base::LazyInstance<std::map<const RenderFrame*, T*> > base 62 content/public/renderer/render_frame_observer_tracker.h base::LazyInstance<std::map<const RenderFrame*, T*> > base 14 content/public/renderer/render_thread.cc static base::LazyInstance<base::ThreadLocalPointer<RenderThread> > lazy_tls = base 22 content/public/renderer/render_thread.h namespace base { base 51 content/public/renderer/render_thread.h virtual base::MessageLoop* GetMessageLoop() = 0; base 55 content/public/renderer/render_thread.h virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() = 0; base 91 content/public/renderer/render_thread.h virtual void RecordAction(const base::UserMetricsAction& action) = 0; base 100 content/public/renderer/render_thread.h virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( base 120 content/public/renderer/render_thread.h virtual int PostTaskToAllWebWorkers(const base::Closure& closure) = 0; base 128 content/public/renderer/render_thread.h virtual base::WaitableEvent* GetShutdownEvent() = 0; base 106 content/public/renderer/render_view_observer.h virtual void DetailedConsoleMessageAdded(const base::string16& message, base 107 content/public/renderer/render_view_observer.h const base::string16& source, base 108 content/public/renderer/render_view_observer.h const base::string16& stack_trace, base 55 content/public/renderer/render_view_observer_tracker.h static base::LazyInstance<std::map<const RenderView*, T*> > base 62 content/public/renderer/render_view_observer_tracker.h base::LazyInstance<std::map<const RenderView*, T*> > base 19 content/public/renderer/renderer_ppapi_host.h namespace base { base 91 content/public/renderer/renderer_ppapi_host.h virtual base::ProcessId GetPluginPID() const = 0; base 120 content/public/renderer/renderer_ppapi_host.h base::PlatformFile handle, base 136 content/public/renderer/renderer_ppapi_host.h const base::Callback<void(const std::vector<int>&)>& callback) const = 0; base 16 content/public/renderer/resource_fetcher.h namespace base { base 36 content/public/renderer/resource_fetcher.h typedef base::Callback<void(const blink::WebURLResponse& response, base 59 content/public/renderer/resource_fetcher.h virtual void SetTimeout(const base::TimeDelta& timeout) = 0; base 11 content/public/renderer/v8_value_converter.h namespace base { base 34 content/public/renderer/v8_value_converter.h base::Value** out, base 39 content/public/renderer/v8_value_converter.h base::Value** out, base 80 content/public/renderer/v8_value_converter.h const base::Value* value, base 92 content/public/renderer/v8_value_converter.h virtual base::Value* FromV8Value(v8::Handle<v8::Value> value, base 25 content/public/renderer/video_encode_accelerator.cc scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner = base 27 content/public/renderer/video_encode_accelerator.cc base::PostTaskAndReplyWithResult( base 30 content/public/renderer/video_encode_accelerator.cc base::Bind( base 33 content/public/renderer/video_encode_accelerator.cc base::Bind(callback, encode_task_runner)); base 19 content/public/renderer/video_encode_accelerator.h typedef base::Callback< base 20 content/public/renderer/video_encode_accelerator.h void (scoped_refptr<base::SingleThreadTaskRunner> encoder_task_runner, base 12 content/public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java import org.chromium.base.CalledByNative; base 13 content/public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java import org.chromium.base.JNINamespace; base 7 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 7 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CriteriaHelper.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 7 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/HistoryUtils.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 11 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/HistoryUtils.java import org.chromium.base.test.util.InstrumentationUtils; base 9 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/JavaScriptUtils.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 11 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/JavaScriptUtils.java import org.chromium.base.ThreadUtils; base 12 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/UiUtils.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 24 content/public/test/async_file_test_helper.cc void AssignAndQuit(base::RunLoop* run_loop, base 25 content/public/test/async_file_test_helper.cc base::File::Error* result_out, base 26 content/public/test/async_file_test_helper.cc base::File::Error result) { base 31 content/public/test/async_file_test_helper.cc base::Callback<void(base::File::Error)> base 32 content/public/test/async_file_test_helper.cc AssignAndQuitCallback(base::RunLoop* run_loop, base 33 content/public/test/async_file_test_helper.cc base::File::Error* result) { base 34 content/public/test/async_file_test_helper.cc return base::Bind(&AssignAndQuit, run_loop, base::Unretained(result)); base 37 content/public/test/async_file_test_helper.cc void GetMetadataCallback(base::RunLoop* run_loop, base 38 content/public/test/async_file_test_helper.cc base::File::Error* result_out, base 39 content/public/test/async_file_test_helper.cc base::File::Info* file_info_out, base 40 content/public/test/async_file_test_helper.cc base::File::Error result, base 41 content/public/test/async_file_test_helper.cc const base::File::Info& file_info) { base 49 content/public/test/async_file_test_helper.cc base::RunLoop* run_loop, base 50 content/public/test/async_file_test_helper.cc base::File::Error* result_out, base 51 content/public/test/async_file_test_helper.cc base::FilePath* platform_path_out, base 52 content/public/test/async_file_test_helper.cc base::File::Error result, base 53 content/public/test/async_file_test_helper.cc const base::File::Info& file_info, base 54 content/public/test/async_file_test_helper.cc const base::FilePath& platform_path, base 63 content/public/test/async_file_test_helper.cc void ReadDirectoryCallback(base::RunLoop* run_loop, base 64 content/public/test/async_file_test_helper.cc base::File::Error* result_out, base 66 content/public/test/async_file_test_helper.cc base::File::Error result, base 71 content/public/test/async_file_test_helper.cc if (result != base::File::FILE_OK || !has_more) base 93 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::Copy( base 100 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::CopyWithProgress( base 105 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 106 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 114 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::Move( base 118 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 119 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 127 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::Remove( base 131 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 132 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 139 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::ReadDirectory( base 143 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 146 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 148 content/public/test/async_file_test_helper.cc url, base::Bind(&ReadDirectoryCallback, &run_loop, &result, entries)); base 153 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::CreateDirectory( base 156 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 157 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 167 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::CreateFile( base 170 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 171 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 179 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::CreateFileWithData( base 184 content/public/test/async_file_test_helper.cc base::ScopedTempDir dir; base 186 content/public/test/async_file_test_helper.cc return base::File::FILE_ERROR_FAILED; base 187 content/public/test/async_file_test_helper.cc base::FilePath local_path = dir.path().AppendASCII("tmp"); base 188 content/public/test/async_file_test_helper.cc if (buf_size != base::WriteFile(local_path, buf, buf_size)) base 189 content/public/test/async_file_test_helper.cc return base::File::FILE_ERROR_FAILED; base 190 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 191 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 198 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::TruncateFile( base 202 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 203 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 210 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::GetMetadata( base 213 content/public/test/async_file_test_helper.cc base::File::Info* file_info) { base 214 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 215 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 217 content/public/test/async_file_test_helper.cc url, base::Bind(&GetMetadataCallback, &run_loop, &result, base 223 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::GetPlatformPath( base 226 content/public/test/async_file_test_helper.cc base::FilePath* platform_path) { base 227 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; base 228 content/public/test/async_file_test_helper.cc base::RunLoop run_loop; base 230 content/public/test/async_file_test_helper.cc url, base::Bind(&CreateSnapshotFileCallback, &run_loop, &result, base 240 content/public/test/async_file_test_helper.cc base::File::Info file_info; base 241 content/public/test/async_file_test_helper.cc base::File::Error result = GetMetadata(context, url, &file_info); base 242 content/public/test/async_file_test_helper.cc if (result != base::File::FILE_OK || file_info.is_directory) base 250 content/public/test/async_file_test_helper.cc base::File::Info file_info; base 251 content/public/test/async_file_test_helper.cc base::File::Error result = GetMetadata(context, url, &file_info); base 252 content/public/test/async_file_test_helper.cc return (result == base::File::FILE_OK) && file_info.is_directory; base 265 content/public/test/async_file_test_helper.cc base::Bind(&DidGetUsageAndQuota, &status, usage, quota)); base 266 content/public/test/async_file_test_helper.cc base::RunLoop().RunUntilIdle(); base 34 content/public/test/async_file_test_helper.h static base::File::Error Copy(fileapi::FileSystemContext* context, base 39 content/public/test/async_file_test_helper.h static base::File::Error CopyWithProgress( base 46 content/public/test/async_file_test_helper.h static base::File::Error Move(fileapi::FileSystemContext* context, base 51 content/public/test/async_file_test_helper.h static base::File::Error Remove(fileapi::FileSystemContext* context, base 56 content/public/test/async_file_test_helper.h static base::File::Error ReadDirectory(fileapi::FileSystemContext* context, base 61 content/public/test/async_file_test_helper.h static base::File::Error CreateDirectory(fileapi::FileSystemContext* context, base 65 content/public/test/async_file_test_helper.h static base::File::Error CreateFile(fileapi::FileSystemContext* context, base 69 content/public/test/async_file_test_helper.h static base::File::Error CreateFileWithData( base 76 content/public/test/async_file_test_helper.h static base::File::Error TruncateFile(fileapi::FileSystemContext* context, base 81 content/public/test/async_file_test_helper.h static base::File::Error GetMetadata(fileapi::FileSystemContext* context, base 83 content/public/test/async_file_test_helper.h base::File::Info* file_info); base 86 content/public/test/async_file_test_helper.h static base::File::Error GetPlatformPath(fileapi::FileSystemContext* context, base 88 content/public/test/async_file_test_helper.h base::FilePath* platform_path); base 57 content/public/test/browser_test_base.cc if (g_browser_process_pid == base::GetCurrentProcId()) { base 61 content/public/test/browser_test_base.cc base::debug::StackTrace().Print(); base 67 content/public/test/browser_test_base.cc void RunTaskOnRendererThread(const base::Closure& task, base 68 content/public/test/browser_test_base.cc const base::Closure& quit_task) { base 125 content/public/test/browser_test_base.cc base::mac::SetOverrideAmIBundled(true); base 135 content/public/test/browser_test_base.cc base::i18n::AllowMultipleInitializeCallsForTesting(); base 143 content/public/test/browser_test_base.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 210 content/public/test/browser_test_base.cc if (base::SysInfo::IsRunningOnChromeOS()) base 233 content/public/test/browser_test_base.cc base::Closure* ui_task = base 234 content/public/test/browser_test_base.cc new base::Closure( base 235 content/public/test/browser_test_base.cc base::Bind(&BrowserTestBase::ProxyRunTestOnMainThreadLoop, this)); base 243 content/public/test/browser_test_base.cc base::ThreadRestrictions::SetIOAllowed(true); base 246 content/public/test/browser_test_base.cc base::Bind(base::IgnoreResult(&base::ThreadRestrictions::SetIOAllowed), base 261 content/public/test/browser_test_base.cc g_browser_process_pid = base::GetCurrentProcId(); base 268 content/public/test/browser_test_base.cc void BrowserTestBase::CreateTestServer(const base::FilePath& test_server_base) { base 277 content/public/test/browser_test_base.cc const base::Closure& task) { base 282 content/public/test/browser_test_base.cc base::MessageLoop* renderer_loop = base 288 content/public/test/browser_test_base.cc base::Bind(&RunTaskOnRendererThread, task, runner->QuitClosure())); base 14 content/public/test/browser_test_base.h namespace base { base 55 content/public/test/browser_test_base.h virtual void SetUpCommandLine(base::CommandLine* command_line) {} base 113 content/public/test/browser_test_base.h void CreateTestServer(const base::FilePath& test_server_base); base 118 content/public/test/browser_test_base.h void PostTaskToInProcessRendererAndWait(const base::Closure& task); base 63 content/public/test/browser_test_utils.cc virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE { base 86 content/public/test/browser_test_utils.cc scoped_ptr<base::Value>* result) WARN_UNUSED_RESULT; base 93 content/public/test/browser_test_utils.cc scoped_ptr<base::Value>* result) { base 99 content/public/test/browser_test_utils.cc render_frame_host->ExecuteJavaScript(base::UTF8ToUTF16(script)); base 110 content/public/test/browser_test_utils.cc base::JSONReader reader(base::JSON_ALLOW_TRAILING_COMMAS); base 131 content/public/test/browser_test_utils.cc event->timeStampSeconds = base::Time::Now().ToDoubleT(); base 152 content/public/test/browser_test_utils.cc base::WaitableEvent* event, base 160 content/public/test/browser_test_utils.cc base::WaitableEvent* event, base 166 content/public/test/browser_test_utils.cc base::Bind(&GetCookiesCallback, cookies, event)); base 170 content/public/test/browser_test_utils.cc base::WaitableEvent* event, base 179 content/public/test/browser_test_utils.cc base::WaitableEvent* event, base 185 content/public/test/browser_test_utils.cc base::Bind(&SetCookieCallback, result, event)); base 191 content/public/test/browser_test_utils.cc GURL GetFileUrlWithQuery(const base::FilePath& path, base 217 content/public/test/browser_test_utils.cc base::KillProcess(rph->GetHandle(), 0, false); base 415 content/public/test/browser_test_utils.cc scoped_ptr<base::Value> value; base 427 content/public/test/browser_test_utils.cc scoped_ptr<base::Value> value; base 440 content/public/test/browser_test_utils.cc scoped_ptr<base::Value> value; base 452 content/public/test/browser_test_utils.cc const base::Callback<bool(RenderFrameHost*)>& predicate, base 461 content/public/test/browser_test_utils.cc const base::Callback<bool(RenderFrameHost*)>& predicate) { base 464 content/public/test/browser_test_utils.cc base::Bind(&AddToSetIfFrameMatchesPredicate, &frame_set, predicate)); base 515 content/public/test/browser_test_utils.cc base::WaitableEvent event(true, false); base 521 content/public/test/browser_test_utils.cc base::Bind(&GetCookiesOnIOThread, url, base 531 content/public/test/browser_test_utils.cc base::WaitableEvent event(true, false); base 537 content/public/test/browser_test_utils.cc base::Bind(&SetCookieOnIOThread, url, value, base 544 content/public/test/browser_test_utils.cc const base::string16& expected_title) base 551 content/public/test/browser_test_utils.cc void TitleWatcher::AlsoWaitForTitle(const base::string16& expected_title) { base 558 content/public/test/browser_test_utils.cc const base::string16& TitleWatcher::WaitAndGetTitle() { base 577 content/public/test/browser_test_utils.cc std::vector<base::string16>::const_iterator it = base 634 content/public/test/browser_test_utils.cc base::ProcessHandle handle, base 635 content/public/test/browser_test_utils.cc base::TerminationStatus status, base 30 content/public/test/browser_test_utils.h namespace base { base 53 content/public/test/browser_test_utils.h GURL GetFileUrlWithQuery(const base::FilePath& path, base 158 content/public/test/browser_test_utils.h const base::Callback<bool(RenderFrameHost*)>& predicate); base 188 content/public/test/browser_test_utils.h const base::string16& expected_title); base 192 content/public/test/browser_test_utils.h void AlsoWaitForTitle(const base::string16& expected_title); base 197 content/public/test/browser_test_utils.h const base::string16& WaitAndGetTitle() WARN_UNUSED_RESULT; base 206 content/public/test/browser_test_utils.h std::vector<base::string16> expected_titles_; base 210 content/public/test/browser_test_utils.h base::string16 observed_title_; base 253 content/public/test/browser_test_utils.h base::ProcessHandle handle, base 254 content/public/test/browser_test_utils.h base::TerminationStatus status, base 42 content/public/test/content_browser_test.cc base::FilePath content_shell_path; base 43 content/public/test/content_browser_test.cc CHECK(PathService::Get(base::FILE_EXE, &content_shell_path)); base 47 content/public/test/content_browser_test.cc CHECK(PathService::Override(base::FILE_EXE, content_shell_path)); base 49 content/public/test/content_browser_test.cc base::FilePath content_test_data(FILE_PATH_LITERAL("content/test/data")); base 51 content/public/test/content_browser_test.cc base::FilePath content_test_data_absolute; base 52 content/public/test/content_browser_test.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &content_test_data_absolute)); base 83 content/public/test/content_browser_test.cc base::FilePath subprocess_path; base 84 content/public/test/content_browser_test.cc PathService::Get(base::FILE_EXE, &subprocess_path); base 130 content/public/test/content_browser_test.cc base::mac::ScopedNSAutoreleasePool pool; base 134 content/public/test/content_browser_test.cc base::MessageLoopForUI::current()->RunUntilIdle(); base 24 content/public/test/content_browser_test_utils.cc base::FilePath GetTestFilePath(const char* dir, const char* file) { base 25 content/public/test/content_browser_test_utils.cc base::FilePath path; base 27 content/public/test/content_browser_test_utils.cc return path.Append(base::FilePath().AppendASCII(dir).Append( base 28 content/public/test/content_browser_test_utils.cc base::FilePath().AppendASCII(file))); base 63 content/public/test/content_browser_test_utils.cc base::Bind(&ShellAddedObserver::ShellCreated, base::Unretained(this))); base 12 content/public/test/content_browser_test_utils.h namespace base { base 34 content/public/test/content_browser_test_utils.h base::FilePath GetTestFilePath(const char* dir, const char* file); base 50 content/public/test/content_test_suite_base.cc : base::TestSuite(argc, argv) { base 54 content/public/test/content_test_suite_base.cc base::TestSuite::Initialize(); base 58 content/public/test/content_test_suite_base.cc JNIEnv* env = base::android::AttachCurrentThread(); base 18 content/public/test/content_test_suite_base.h class ContentTestSuiteBase : public base::TestSuite { base 52 content/public/test/download_test_observer.cc base::MessageLoopForUI::current()->Quit(); base 60 content/public/test/download_test_observer.cc base::MessageLoopForUI::current()->Quit(); base 153 content/public/test/download_test_observer.cc base::Bind(&DownloadTestObserver::AcceptDangerousDownload, base 163 content/public/test/download_test_observer.cc base::Bind(&DownloadTestObserver::DenyDangerousDownload, base 219 content/public/test/download_test_observer.cc base::MessageLoopForUI::current()->Quit(); base 392 content/public/test/download_test_observer.cc base::Bind(&DownloadTestFlushObserver::PingFileThread, this, 2)); base 400 content/public/test/download_test_observer.cc base::Bind(&DownloadTestFlushObserver::PingIOThread, this, cycle)); base 407 content/public/test/download_test_observer.cc base::Bind(&DownloadTestFlushObserver::PingFileThread, this, cycle)); base 410 content/public/test/download_test_observer.cc BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure()); base 446 content/public/test/download_test_observer.cc base::MessageLoopForUI::current()->Quit(); base 451 content/public/test/download_test_observer.cc return base::Bind( base 25 content/public/test/download_test_observer.h typedef base::Callback<bool(DownloadItem*)> EventFilter; base 166 content/public/test/download_test_observer.h base::WeakPtrFactory<DownloadTestObserver> weak_factory_; base 236 content/public/test/download_test_observer.h public base::RefCountedThreadSafe<DownloadTestFlushObserver> { base 252 content/public/test/download_test_observer.h friend class base::RefCountedThreadSafe<DownloadTestFlushObserver>; base 278 content/public/test/download_test_observer.h : public base::RefCountedThreadSafe<DownloadTestItemCreationObserver> { base 294 content/public/test/download_test_observer.h friend class base::RefCountedThreadSafe<DownloadTestItemCreationObserver>; base 18 content/public/test/fake_speech_recognition_manager.cc void RunCallback(const base::Closure recognition_started_closure) { base 69 content/public/test/fake_speech_recognition_manager.cc base::MessageLoop::current()->PostTask( base 71 content/public/test/fake_speech_recognition_manager.cc base::Bind( base 78 content/public/test/fake_speech_recognition_manager.cc base::Unretained(this))); base 84 content/public/test/fake_speech_recognition_manager.cc base::Bind(&RunCallback, recognition_started_closure_)); base 116 content/public/test/fake_speech_recognition_manager.cc base::string16 FakeSpeechRecognitionManager::GetAudioInputDeviceModel() { base 117 content/public/test/fake_speech_recognition_manager.cc return base::string16(); base 148 content/public/test/fake_speech_recognition_manager.cc base::ASCIIToUTF16(kTestResult), 1.0)); base 54 content/public/test/fake_speech_recognition_manager.h virtual base::string16 GetAudioInputDeviceModel() OVERRIDE; base 75 content/public/test/fake_speech_recognition_manager.h base::Closure recognition_started_closure_; base 39 content/public/test/layouttest_support.h void EnableWebTestProxyCreation(const base::Callback< base 22 content/public/test/mock_blob_url_request_context.cc base::MessageLoopProxy::current())); base 57 content/public/test/mock_download_item.h MOCK_CONST_METHOD0(GetFullPath, const base::FilePath&()); base 58 content/public/test/mock_download_item.h MOCK_CONST_METHOD0(GetTargetFilePath, const base::FilePath&()); base 59 content/public/test/mock_download_item.h MOCK_CONST_METHOD0(GetForcedFilePath, const base::FilePath&()); base 60 content/public/test/mock_download_item.h MOCK_CONST_METHOD0(GetFileNameToReportUser, base::FilePath()); base 65 content/public/test/mock_download_item.h MOCK_METHOD1(DeleteFile, void(const base::Callback<void(bool)>&)); base 68 content/public/test/mock_download_item.h MOCK_CONST_METHOD1(TimeRemaining, bool(base::TimeDelta*)); base 74 content/public/test/mock_download_item.h MOCK_CONST_METHOD0(GetStartTime, base::Time()); base 75 content/public/test/mock_download_item.h MOCK_CONST_METHOD0(GetEndTime, base::Time()); base 88 content/public/test/mock_download_item.h MOCK_METHOD1(SetDisplayName, void(const base::FilePath&)); base 14 content/public/test/mock_download_manager.cc const base::FilePath& current_path, base 15 content/public/test/mock_download_manager.cc const base::FilePath& target_path, base 18 content/public/test/mock_download_manager.cc const base::Time& start_time, base 19 content/public/test/mock_download_manager.cc const base::Time& end_time, base 94 content/public/test/mock_download_manager.cc const base::FilePath& current_path, base 95 content/public/test/mock_download_manager.cc const base::FilePath& target_path, base 98 content/public/test/mock_download_manager.cc const base::Time& start_time, base 99 content/public/test/mock_download_manager.cc const base::Time& end_time, base 30 content/public/test/mock_download_manager.h base::FilePath current_path; base 31 content/public/test/mock_download_manager.h base::FilePath target_path; base 34 content/public/test/mock_download_manager.h base::Time start_time; base 35 content/public/test/mock_download_manager.h base::Time end_time; base 47 content/public/test/mock_download_manager.h const base::FilePath& current_path, base 48 content/public/test/mock_download_manager.h const base::FilePath& target_path, base 51 content/public/test/mock_download_manager.h const base::Time& start_time, base 52 content/public/test/mock_download_manager.h const base::Time& end_time, base 86 content/public/test/mock_download_manager.h MOCK_METHOD2(RemoveDownloadsBetween, int(base::Time remove_begin, base 87 content/public/test/mock_download_manager.h base::Time remove_end)); base 88 content/public/test/mock_download_manager.h MOCK_METHOD1(RemoveDownloads, int(base::Time remove_begin)); base 100 content/public/test/mock_download_manager.h const base::FilePath& current_path, base 101 content/public/test/mock_download_manager.h const base::FilePath& target_path, base 104 content/public/test/mock_download_manager.h const base::Time& start_time, base 105 content/public/test/mock_download_manager.h const base::Time& end_time, base 87 content/public/test/mock_render_process_host.cc const base::TimeDelta& max_delay, base 114 content/public/test/mock_render_process_host.cc void MockRenderProcessHost::AddWord(const base::string16& word) { base 131 content/public/test/mock_render_process_host.cc base::ProcessHandle MockRenderProcessHost::GetHandle() const { base 134 content/public/test/mock_render_process_host.cc return base::Process::Current().handle(); base 194 content/public/test/mock_render_process_host.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 248 content/public/test/mock_render_process_host.cc base::TimeDelta MockRenderProcessHost::GetChildProcessIdleTime() const { base 249 content/public/test/mock_render_process_host.cc return base::TimeDelta::FromMilliseconds(0); base 263 content/public/test/mock_render_process_host.cc void MockRenderProcessHost::EnableAecDump(const base::FilePath& file) { base 270 content/public/test/mock_render_process_host.cc base::Callback<void(const std::string&)> callback) { base 45 content/public/test/mock_render_process_host.h const base::TimeDelta& max_delay, base 53 content/public/test/mock_render_process_host.h virtual void AddWord(const base::string16& word); base 57 content/public/test/mock_render_process_host.h virtual base::ProcessHandle GetHandle() const OVERRIDE; base 75 content/public/test/mock_render_process_host.h virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; base 79 content/public/test/mock_render_process_host.h virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; base 82 content/public/test/mock_render_process_host.h base::Callback<void(const std::string&)> callback) OVERRIDE; base 37 content/public/test/mock_render_thread.cc const base::string16& expected_alert_message) { base 75 content/public/test/mock_render_thread.cc base::MessageLoop* MockRenderThread::GetMessageLoop() { base 91 content/public/test/mock_render_thread.cc scoped_refptr<base::MessageLoopProxy> base 93 content/public/test/mock_render_thread.cc return scoped_refptr<base::MessageLoopProxy>(); base 141 content/public/test/mock_render_thread.cc void MockRenderThread::RecordAction(const base::UserMetricsAction& action) { base 147 content/public/test/mock_render_thread.cc scoped_ptr<base::SharedMemory> base 150 content/public/test/mock_render_thread.cc scoped_ptr<base::SharedMemory> shared_buf(new base::SharedMemory); base 153 content/public/test/mock_render_thread.cc return scoped_ptr<base::SharedMemory>(); base 156 content/public/test/mock_render_thread.cc return scoped_ptr<base::SharedMemory>(shared_buf.release()); base 180 content/public/test/mock_render_thread.cc int MockRenderThread::PostTaskToAllWebWorkers(const base::Closure& closure) { base 188 content/public/test/mock_render_thread.cc base::WaitableEvent* MockRenderThread::GetShutdownEvent() { base 263 content/public/test/mock_render_thread.cc base::SharedMemoryHandle renderer_handle, base 264 content/public/test/mock_render_thread.cc base::SharedMemoryHandle* browser_handle) { base 39 content/public/test/mock_render_thread.h const base::string16& expected_alert_message); base 43 content/public/test/mock_render_thread.h virtual base::MessageLoop* GetMessageLoop() OVERRIDE; base 47 content/public/test/mock_render_thread.h virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() base 59 content/public/test/mock_render_thread.h virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; base 61 content/public/test/mock_render_thread.h virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( base 70 content/public/test/mock_render_thread.h virtual int PostTaskToAllWebWorkers(const base::Closure& closure) OVERRIDE; base 72 content/public/test/mock_render_thread.h virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; base 140 content/public/test/mock_render_thread.h void OnDuplicateSection(base::SharedMemoryHandle renderer_handle, base 141 content/public/test/mock_render_thread.h base::SharedMemoryHandle* browser_handle); base 18 content/public/test/nested_message_pump_android.cc base::LazyInstance<base::android::ScopedJavaGlobalRef<jobject> > base 27 content/public/test/nested_message_pump_android.cc RunState(base::MessagePump::Delegate* delegate, int run_depth) base 34 content/public/test/nested_message_pump_android.cc base::MessagePump::Delegate* delegate; base 43 content/public/test/nested_message_pump_android.cc base::WaitableEvent waitable_event; base 46 content/public/test/nested_message_pump_android.cc base::TimeTicks delayed_work_time; base 61 content/public/test/nested_message_pump_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 67 content/public/test/nested_message_pump_android.cc base::TimeDelta max_delay = base::TimeDelta::FromMilliseconds(100); base 99 content/public/test/nested_message_pump_android.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 103 content/public/test/nested_message_pump_android.cc base::TimeDelta delay = base 104 content/public/test/nested_message_pump_android.cc state_->delayed_work_time - base::TimeTicks::Now(); base 107 content/public/test/nested_message_pump_android.cc if (delay > base::TimeDelta()) { base 112 content/public/test/nested_message_pump_android.cc state_->delayed_work_time = base::TimeTicks(); base 121 content/public/test/nested_message_pump_android.cc base::MessagePump::Delegate* delegate) { base 122 content/public/test/nested_message_pump_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 127 content/public/test/nested_message_pump_android.cc base::MessagePumpForUI::Start(delegate); base 136 content/public/test/nested_message_pump_android.cc base::MessagePumpForUI::Quit(); base 145 content/public/test/nested_message_pump_android.cc base::MessagePumpForUI::ScheduleWork(); base 149 content/public/test/nested_message_pump_android.cc const base::TimeTicks& delayed_work_time) { base 158 content/public/test/nested_message_pump_android.cc base::MessagePumpForUI::ScheduleDelayedWork(delayed_work_time); base 16 content/public/test/nested_message_pump_android.h class NestedMessagePumpAndroid : public base::MessagePumpForUI { base 24 content/public/test/nested_message_pump_android.h const base::TimeTicks& delayed_work_time) OVERRIDE; base 88 content/public/test/render_view_test.cc msg_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 101 content/public/test/render_view_test.cc const base::string16& script, base 153 content/public/test/render_view_test.cc autorelease_pool_.reset(new base::mac::ScopedNSAutoreleasePool()); base 188 content/public/test/render_view_test.cc base::string16(), base 219 content/public/test/render_view_test.cc base::RunLoop().RunUntilIdle(); base 409 content/public/test/render_view_test.cc navigate_params.request_time = base::Time::Now(); base 72 content/public/test/render_view_test.h bool ExecuteJavaScriptAndReturnIntValue(const base::string16& script, base 137 content/public/test/render_view_test.h base::MessageLoop msg_loop_; base 151 content/public/test/render_view_test.h scoped_ptr<base::CommandLine> command_line_; base 154 content/public/test/render_view_test.h scoped_ptr<base::mac::ScopedNSAutoreleasePool> autorelease_pool_; base 45 content/public/test/sandbox_file_system_test_helper.cc void SandboxFileSystemTestHelper::SetUp(const base::FilePath& base_dir) { base 57 content/public/test/sandbox_file_system_test_helper.cc const base::FilePath& base_dir, base 67 content/public/test/sandbox_file_system_test_helper.cc base::RunLoop().RunUntilIdle(); base 70 content/public/test/sandbox_file_system_test_helper.cc base::FilePath SandboxFileSystemTestHelper::GetOriginRootPath() { base 75 content/public/test/sandbox_file_system_test_helper.cc base::FilePath SandboxFileSystemTestHelper::GetLocalPath( base 76 content/public/test/sandbox_file_system_test_helper.cc const base::FilePath& path) { base 78 content/public/test/sandbox_file_system_test_helper.cc base::FilePath local_path; base 84 content/public/test/sandbox_file_system_test_helper.cc base::FilePath SandboxFileSystemTestHelper::GetLocalPathFromASCII( base 86 content/public/test/sandbox_file_system_test_helper.cc return GetLocalPath(base::FilePath().AppendASCII(path)); base 89 content/public/test/sandbox_file_system_test_helper.cc base::FilePath SandboxFileSystemTestHelper::GetUsageCachePath() const { base 95 content/public/test/sandbox_file_system_test_helper.cc const base::FilePath& path) const { base 107 content/public/test/sandbox_file_system_test_helper.cc int64 size = base::ComputeDirectorySize(GetOriginRootPath()); base 108 content/public/test/sandbox_file_system_test_helper.cc if (base::PathExists(GetUsageCachePath())) base 115 content/public/test/sandbox_file_system_test_helper.cc return base::ComputeDirectorySize( base 155 content/public/test/sandbox_file_system_test_helper.cc base::FilePath usage_cache_path = GetUsageCachePath(); base 20 content/public/test/sandbox_file_system_test_helper.h namespace base { base 46 content/public/test/sandbox_file_system_test_helper.h void SetUp(const base::FilePath& base_dir); base 52 content/public/test/sandbox_file_system_test_helper.h void SetUp(const base::FilePath& base_dir, base 56 content/public/test/sandbox_file_system_test_helper.h base::FilePath GetOriginRootPath(); base 57 content/public/test/sandbox_file_system_test_helper.h base::FilePath GetLocalPath(const base::FilePath& path); base 58 content/public/test/sandbox_file_system_test_helper.h base::FilePath GetLocalPathFromASCII(const std::string& path); base 61 content/public/test/sandbox_file_system_test_helper.h base::FilePath GetUsageCachePath() const; base 63 content/public/test/sandbox_file_system_test_helper.h fileapi::FileSystemURL CreateURL(const base::FilePath& path) const; base 65 content/public/test/sandbox_file_system_test_helper.h return CreateURL(base::FilePath::FromUTF8Unsafe(utf8)); base 21 content/public/test/test_browser_context.cc : null_task_runner_(new base::NullTaskRunner) { base 28 content/public/test/test_browser_context.cc virtual scoped_refptr<base::SingleThreadTaskRunner> base 37 content/public/test/test_browser_context.cc scoped_refptr<base::SingleThreadTaskRunner> null_task_runner_; base 51 content/public/test/test_browser_context.cc base::FilePath TestBrowserContext::TakePath() { base 60 content/public/test/test_browser_context.cc base::FilePath TestBrowserContext::GetPath() const { base 96 content/public/test/test_browser_context.cc const base::FilePath& partition_path, base 26 content/public/test/test_browser_context.h base::FilePath TakePath(); base 30 content/public/test/test_browser_context.h virtual base::FilePath GetPath() const OVERRIDE; base 41 content/public/test/test_browser_context.h const base::FilePath& partition_path, base 75 content/public/test/test_browser_context.h base::ScopedTempDir browser_context_dir_; base 22 content/public/test/test_browser_thread.cc base::MessageLoop* message_loop) base 52 content/public/test/test_browser_thread.cc base::MessageLoop* message_loop) base 64 content/public/test/test_browser_thread.cc base::Thread::Options options; base 65 content/public/test/test_browser_thread.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 77 content/public/test/test_browser_thread.cc base::Thread* TestBrowserThread::DeprecatedGetThreadObject() { base 12 content/public/test/test_browser_thread.h namespace base { base 28 content/public/test/test_browser_thread.h base::MessageLoop* message_loop); base 50 content/public/test/test_browser_thread.h base::Thread* DeprecatedGetThreadObject(); base 26 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 33 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 35 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 37 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 39 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 41 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 43 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 45 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 50 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 52 content/public/test/test_browser_thread_bundle.cc base::RunLoop().RunUntilIdle(); base 57 content/public/test/test_browser_thread_bundle.cc message_loop_.reset(new base::MessageLoopForIO()); base 59 content/public/test/test_browser_thread_bundle.cc message_loop_.reset(new base::MessageLoopForUI()); base 38 content/public/test/test_browser_thread_bundle.h namespace base { base 70 content/public/test/test_browser_thread_bundle.h scoped_ptr<base::MessageLoop> message_loop_; base 28 content/public/test/test_file_error_injector.cc typedef base::Callback<void(const GURL& url)> ConstructionCallback; base 29 content/public/test/test_file_error_injector.cc typedef base::Callback<void(const GURL& url)> DestructionCallback; base 33 content/public/test/test_file_error_injector.cc const base::FilePath& default_download_directory, base 40 content/public/test/test_file_error_injector.cc base::WeakPtr<DownloadDestinationObserver> observer, base 53 content/public/test/test_file_error_injector.cc const base::FilePath& full_path, base 56 content/public/test/test_file_error_injector.cc const base::FilePath& full_path, base 99 content/public/test/test_file_error_injector.cc const base::FilePath& path_result) { base 103 content/public/test/test_file_error_injector.cc path_result : base::FilePath()); base 108 content/public/test/test_file_error_injector.cc const base::FilePath& default_download_directory, base 115 content/public/test/test_file_error_injector.cc base::WeakPtr<DownloadDestinationObserver> observer, base 135 content/public/test/test_file_error_injector.cc base::Bind(ctor_callback, source_url_)); base 156 content/public/test/test_file_error_injector.cc BrowserThread::UI, FROM_HERE, base::Bind( base 162 content/public/test/test_file_error_injector.cc callback_to_use = base::Bind(&InitializeErrorCallback, callback, base 177 content/public/test/test_file_error_injector.cc const base::FilePath& full_path, base 190 content/public/test/test_file_error_injector.cc BrowserThread::UI, FROM_HERE, base::Bind( base 191 content/public/test/test_file_error_injector.cc callback, error_to_return, base::FilePath())); base 196 content/public/test/test_file_error_injector.cc callback_to_use = base::Bind(&RenameErrorCallback, callback, base 204 content/public/test/test_file_error_injector.cc const base::FilePath& full_path, base 217 content/public/test/test_file_error_injector.cc BrowserThread::UI, FROM_HERE, base::Bind( base 218 content/public/test/test_file_error_injector.cc callback, error_to_return, base::FilePath())); base 223 content/public/test/test_file_error_injector.cc callback_to_use = base::Bind(&RenameErrorCallback, callback, base 266 content/public/test/test_file_error_injector.cc const base::FilePath& default_download_directory, base 272 content/public/test/test_file_error_injector.cc base::WeakPtr<DownloadDestinationObserver> observer) OVERRIDE; base 300 content/public/test/test_file_error_injector.cc const base::FilePath& default_download_directory, base 306 content/public/test/test_file_error_injector.cc base::WeakPtr<DownloadDestinationObserver> observer) { base 359 content/public/test/test_file_error_injector.cc base::Bind(&TestFileErrorInjector::RecordDownloadFileConstruction, base 361 content/public/test/test_file_error_injector.cc base::Bind(&TestFileErrorInjector::RecordDownloadFileDestruction, base 448 content/public/test/test_file_error_injector.cc base::Bind(&TestFileErrorInjector::DownloadFileCreated, this, url)); base 453 content/public/test/test_file_error_injector.cc base::Bind(&TestFileErrorInjector::DestroyingDownloadFile, this, url)); base 52 content/public/test/test_file_error_injector.h : public base::RefCountedThreadSafe<TestFileErrorInjector> { base 110 content/public/test/test_file_error_injector.h friend class base::RefCountedThreadSafe<TestFileErrorInjector>; base 38 content/public/test/test_file_system_backend.cc explicit TestFileUtil(const base::FilePath& base_path) base 43 content/public/test/test_file_system_backend.cc virtual base::File::Error GetLocalFilePath( base 46 content/public/test/test_file_system_backend.cc base::FilePath* local_file_path) OVERRIDE { base 48 content/public/test/test_file_system_backend.cc return base::File::FILE_OK; base 52 content/public/test/test_file_system_backend.cc base::FilePath base_path_; base 62 content/public/test/test_file_system_backend.cc explicit QuotaUtil(base::SequencedTaskRunner* task_runner) base 70 content/public/test/test_file_system_backend.cc virtual base::File::Error DeleteOriginDataOnFileTaskRunner( base 76 content/public/test/test_file_system_backend.cc return base::File::FILE_OK; base 110 content/public/test/test_file_system_backend.cc base::SequencedTaskRunner* task_runner) OVERRIDE { base 117 content/public/test/test_file_system_backend.cc base::SequencedTaskRunner* task_runner) OVERRIDE { base 124 content/public/test/test_file_system_backend.cc base::SequencedTaskRunner* task_runner) OVERRIDE { base 150 content/public/test/test_file_system_backend.cc base::SequencedTaskRunner* task_runner() { return task_runner_.get(); } base 155 content/public/test/test_file_system_backend.cc scoped_refptr<base::SequencedTaskRunner> task_runner_; base 162 content/public/test/test_file_system_backend.cc base::SequencedTaskRunner* task_runner, base 163 content/public/test/test_file_system_backend.cc const base::FilePath& base_path) base 186 content/public/test/test_file_system_backend.cc base::File::FILE_OK); base 196 content/public/test/test_file_system_backend.cc FileSystemType type, base::File::Error* error_code) { base 198 content/public/test/test_file_system_backend.cc *error_code = base::File::FILE_OK; base 201 content/public/test/test_file_system_backend.cc *error_code = base::File::FILE_ERROR_SECURITY; base 216 content/public/test/test_file_system_backend.cc base::File::Error* error_code) const { base 234 content/public/test/test_file_system_backend.cc const base::Time& expected_modification_time, base 15 content/public/test/test_file_system_backend.h namespace base { base 32 content/public/test/test_file_system_backend.h base::SequencedTaskRunner* task_runner, base 33 content/public/test/test_file_system_backend.h const base::FilePath& base_path); base 47 content/public/test/test_file_system_backend.h base::File::Error* error_code) OVERRIDE; base 51 content/public/test/test_file_system_backend.h base::File::Error* error_code) const OVERRIDE; base 57 content/public/test/test_file_system_backend.h const base::Time& expected_modification_time, base 84 content/public/test/test_file_system_backend.h base::FilePath base_path_; base 85 content/public/test/test_file_system_backend.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 19 content/public/test/test_file_system_context.cc const base::FilePath& base_path) { base 22 content/public/test/test_file_system_context.cc base::MessageLoopProxy::current().get(), base_path)); base 31 content/public/test/test_file_system_context.cc const base::FilePath& base_path) { base 33 content/public/test/test_file_system_context.cc base::MessageLoopProxy::current().get(), base 34 content/public/test/test_file_system_context.cc base::MessageLoopProxy::current().get(), base 49 content/public/test/test_file_system_context.cc const base::FilePath& base_path) { base 51 content/public/test/test_file_system_context.cc base::MessageLoopProxy::current().get(), base 52 content/public/test/test_file_system_context.cc base::MessageLoopProxy::current().get(), base 64 content/public/test/test_file_system_context.cc const base::FilePath& base_path) { base 67 content/public/test/test_file_system_context.cc base::MessageLoopProxy::current().get(), base 68 content/public/test/test_file_system_context.cc base::MessageLoopProxy::current().get(), base 25 content/public/test/test_file_system_context.h const base::FilePath& base_path); base 33 content/public/test/test_file_system_context.h const base::FilePath& base_path); base 40 content/public/test/test_file_system_context.h const base::FilePath& base_path); base 44 content/public/test/test_file_system_context.h const base::FilePath& base_path); base 113 content/public/test/test_launcher.cc class WrapperTestLauncherDelegate : public base::TestLauncherDelegate { base 124 content/public/test/test_launcher.cc virtual size_t RunTests(base::TestLauncher* test_launcher, base 127 content/public/test/test_launcher.cc base::TestLauncher* test_launcher, base 131 content/public/test/test_launcher.cc void DoRunTest(base::TestLauncher* test_launcher, base 136 content/public/test/test_launcher.cc void RunDependentTest(base::TestLauncher* test_launcher, base 138 content/public/test/test_launcher.cc const base::TestResult& pre_test_result); base 142 content/public/test/test_launcher.cc base::TestLauncher* test_launcher, base 145 content/public/test/test_launcher.cc const base::TimeDelta& elapsed_time, base 162 content/public/test/test_launcher.cc typedef std::map<std::string, base::FilePath> UserDataDirMap; base 169 content/public/test/test_launcher.cc base::ScopedTempDir temp_dir_; base 203 content/public/test/test_launcher.cc base::TestLauncher* test_launcher, base 238 content/public/test/test_launcher.cc base::FilePath temp_dir; base 239 content/public/test/test_launcher.cc CHECK(base::CreateTemporaryDirInDir(temp_dir_.path(), base 255 content/public/test/test_launcher.cc base::TestLauncher* test_launcher, base 279 content/public/test/test_launcher.cc if (!base::DeleteFile(i->second, true)) { base 294 content/public/test/test_launcher.cc base::FilePath temp_dir; base 295 content/public/test/test_launcher.cc CHECK(base::CreateTemporaryDirInDir(temp_dir_.path(), base 316 content/public/test/test_launcher.cc void WrapperTestLauncherDelegate::DoRunTest(base::TestLauncher* test_launcher, base 329 content/public/test/test_launcher.cc switches.erase(base::kGTestOutputFlag); base 348 content/public/test/test_launcher.cc base::Bind(&WrapperTestLauncherDelegate::GTestCallback, base 349 content/public/test/test_launcher.cc base::Unretained(this), base 355 content/public/test/test_launcher.cc base::TestLauncher* test_launcher, base 357 content/public/test/test_launcher.cc const base::TestResult& pre_test_result) { base 358 content/public/test/test_launcher.cc if (pre_test_result.status == base::TestResult::TEST_SUCCESS) { base 363 content/public/test/test_launcher.cc base::TestResult test_result; base 365 content/public/test/test_launcher.cc test_result.status = base::TestResult::TEST_SKIPPED; base 377 content/public/test/test_launcher.cc base::TestLauncher* test_launcher, base 380 content/public/test/test_launcher.cc const base::TimeDelta& elapsed_time, base 383 content/public/test/test_launcher.cc base::TestResult result; base 388 content/public/test/test_launcher.cc result.status = base::TestResult::TEST_SUCCESS; base 390 content/public/test/test_launcher.cc result.status = base::TestResult::TEST_TIMEOUT; base 392 content/public/test/test_launcher.cc result.status = base::TestResult::TEST_FAILURE; base 405 content/public/test/test_launcher.cc if (!base::DeleteFile(user_data_dir_map_[test_name_no_pre], true)) { base 463 content/public/test/test_launcher.cc command_line->HasSwitch(base::kGTestFilterFlag)) || base 464 content/public/test/test_launcher.cc command_line->HasSwitch(base::kGTestListTestsFlag) || base 465 content/public/test/test_launcher.cc command_line->HasSwitch(base::kGTestHelpFlag)) { base 477 content/public/test/test_launcher.cc base::AtExitManager at_exit; base 489 content/public/test/test_launcher.cc base::MessageLoopForIO message_loop; base 495 content/public/test/test_launcher.cc base::TestLauncher launcher(&delegate, default_jobs); base 13 content/public/test/test_launcher.h namespace base { base 36 content/public/test/test_launcher.h base::CommandLine* command_line, base 37 content/public/test/test_launcher.h const base::FilePath& temp_data_dir) = 0; base 38 content/public/test/test_launcher.h virtual void PreRunMessageLoop(base::RunLoop* run_loop) {} base 58 content/public/test/test_navigation_observer.cc base::Bind( base 60 content/public/test/test_navigation_observer.cc base::Unretained(this))) { base 72 content/public/test/test_navigation_observer.cc base::Bind( base 74 content/public/test/test_navigation_observer.cc base::Unretained(this))) { base 71 content/public/test/test_navigation_observer.h base::Callback<void(WebContents*)> web_contents_created_callback_; base 175 content/public/test/test_renderer_host.cc new aura::test::AuraTestHelper(base::MessageLoopForUI::current())); base 193 content/public/test/test_renderer_host.cc base::RunLoop().RunUntilIdle(); base 73 content/public/test/test_renderer_host.h virtual bool CreateRenderView(const base::string16& frame_name, base 35 content/public/test/test_utils.cc static void DeferredQuitRunLoop(const base::Closure& quit_task, base 40 content/public/test/test_utils.cc base::MessageLoop::current()->PostTask( base 42 content/public/test/test_utils.cc base::Bind(&DeferredQuitRunLoop, quit_task, num_quit_deferrals - 1)); base 47 content/public/test/test_utils.cc const base::Closure& quit_task) { base 57 content/public/test/test_utils.cc void ResultCallback(const base::Value* result); base 59 content/public/test/test_utils.cc scoped_ptr<base::Value> result() { return result_.Pass(); } base 62 content/public/test/test_utils.cc scoped_ptr<base::Value> result_; base 67 content/public/test/test_utils.cc void ScriptCallback::ResultCallback(const base::Value* result) { base 70 content/public/test/test_utils.cc base::MessageLoop::current()->Quit(); base 87 content/public/test/test_utils.cc base::RunLoop run_loop; base 91 content/public/test/test_utils.cc void RunThisRunLoop(base::RunLoop* run_loop) { base 92 content/public/test/test_utils.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 93 content/public/test/test_utils.cc base::MessageLoop::current()); base 109 content/public/test/test_utils.cc base::MessageLoop::current()->PostTask( base 110 content/public/test/test_utils.cc FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); base 125 content/public/test/test_utils.cc base::RunLoop run_loop; base 127 content/public/test/test_utils.cc base::Bind(&RunAllPendingMessageAndSendQuit, current_thread_id, base 132 content/public/test/test_utils.cc base::Closure GetQuitTaskForRunLoop(base::RunLoop* run_loop) { base 133 content/public/test/test_utils.cc return base::Bind(&DeferredQuitRunLoop, run_loop->QuitClosure(), base 137 content/public/test/test_utils.cc scoped_ptr<base::Value> ExecuteScriptAndGetValue( base 142 content/public/test/test_utils.cc base::UTF8ToUTF16(script), base 143 content/public/test/test_utils.cc base::Bind(&ScriptCallback::ResultCallback, base::Unretained(&observer))); base 144 content/public/test/test_utils.cc base::MessageLoop* loop = base::MessageLoop::current(); base 168 content/public/test/test_utils.cc base::Closure MessageLoopRunner::QuitClosure() { base 169 content/public/test/test_utils.cc return base::Bind(&MessageLoopRunner::Quit, this); base 206 content/public/test/test_utils.cc callback_(base::Bind(&IgnoreSourceAndDetails, callback)), base 19 content/public/test/test_utils.h namespace base { base 35 content/public/test/test_utils.h void RunThisRunLoop(base::RunLoop* run_loop); base 49 content/public/test/test_utils.h base::Closure GetQuitTaskForRunLoop(base::RunLoop* run_loop); base 55 content/public/test/test_utils.h scoped_ptr<base::Value> ExecuteScriptAndGetValue( base 61 content/public/test/test_utils.h class MessageLoopRunner : public base::RefCounted<MessageLoopRunner> { base 77 content/public/test/test_utils.h base::Closure QuitClosure(); base 80 content/public/test/test_utils.h friend class base::RefCounted<MessageLoopRunner>; base 89 content/public/test/test_utils.h base::RunLoop run_loop_; base 123 content/public/test/test_utils.h typedef base::Callback<bool(const NotificationSource&, base 126 content/public/test/test_utils.h typedef base::Callback<bool(void)> base 24 content/public/test/unittest_test_suite.cc base::RandBytes(buffer, length); base 35 content/public/test/unittest_test_suite.cc UnitTestTestSuite::UnitTestTestSuite(base::TestSuite* test_suite) base 11 content/public/test/unittest_test_suite.h namespace base { base 25 content/public/test/unittest_test_suite.h explicit UnitTestTestSuite(base::TestSuite* test_suite); base 31 content/public/test/unittest_test_suite.h scoped_ptr<base::TestSuite> test_suite_; base 14 content/public/utility/utility_thread.cc static base::LazyInstance<base::ThreadLocalPointer<UtilityThread> >::Leaky base 29 content/renderer/accessibility/blink_ax_tree_source.cc using base::ASCIIToUTF16; base 30 content/renderer/accessibility/blink_ax_tree_source.cc using base::UTF16ToUTF8; base 146 content/renderer/accessibility/renderer_accessibility_complete.cc base::MessageLoop::current()->PostTask( base 148 content/renderer/accessibility/renderer_accessibility_complete.cc base::Bind(&RendererAccessibilityComplete:: base 229 content/renderer/accessibility/renderer_accessibility_complete.cc base::hash_map<int, gfx::Rect> new_locations; base 239 content/renderer/accessibility/renderer_accessibility_complete.cc base::hash_map<int, gfx::Rect>::iterator iter = locations_.find(id); base 86 content/renderer/accessibility/renderer_accessibility_complete.h base::WeakPtrFactory<RendererAccessibilityComplete> weak_factory_; base 99 content/renderer/accessibility/renderer_accessibility_complete.h base::hash_map<int, gfx::Rect> locations_; base 39 content/renderer/android/address_detector.cc std::string AddressDetector::GetContentText(const base::string16& text) { base 41 content/renderer/android/address_detector.cc base::string16 address_16 = base::CollapseWhitespace(text, false); base 43 content/renderer/android/address_detector.cc static_cast<base::char16>(0x2022), static_cast<base::char16>(',')); base 44 content/renderer/android/address_detector.cc return base::UTF16ToUTF8(address_16); base 48 content/renderer/android/address_detector.cc const base::string16::const_iterator& begin, base 49 content/renderer/android/address_detector.cc const base::string16::const_iterator& end, base 55 content/renderer/android/address_detector.cc GetContentText(base::string16(begin + *start_pos, begin + *end_pos))); base 22 content/renderer/android/address_detector.h virtual bool FindContent(const base::string16::const_iterator& begin, base 23 content/renderer/android/address_detector.h const base::string16::const_iterator& end, base 30 content/renderer/android/address_detector.h std::string GetContentText(const base::string16& text); base 55 content/renderer/android/content_detector.cc base::string16 content = surrounding_text.textContent(); base 47 content/renderer/android/content_detector.h virtual bool FindContent(const base::string16::const_iterator& begin, base 48 content/renderer/android/content_detector.h const base::string16::const_iterator& end, base 45 content/renderer/android/email_detector.cc bool EmailDetector::FindContent(const base::string16::const_iterator& begin, base 46 content/renderer/android/email_detector.cc const base::string16::const_iterator& end, base 50 content/renderer/android/email_detector.cc base::string16 utf16_input = base::string16(begin, end); base 66 content/renderer/android/email_detector.cc base::UTF16ToUTF8(content_ustr.getBuffer(), content_ustr.length(), base 26 content/renderer/android/email_detector.h virtual bool FindContent(const base::string16::const_iterator& begin, base 27 content/renderer/android/email_detector.h const base::string16::const_iterator& end, base 16 content/renderer/android/email_detector_unittest.cc base::string16 content_16 = base::UTF8ToUTF16(content); base 17 content/renderer/android/email_detector_unittest.cc base::string16 result_16; base 25 content/renderer/android/email_detector_unittest.cc EXPECT_EQ(expected, base::UTF16ToUTF8(result_16)); base 58 content/renderer/android/phone_number_detector.cc const base::string16::const_iterator& begin, base 59 content/renderer/android/phone_number_detector.cc const base::string16::const_iterator& end, base 63 content/renderer/android/phone_number_detector.cc base::string16 utf16_input = base::string16(begin, end); base 64 content/renderer/android/phone_number_detector.cc std::string utf8_input = base::UTF16ToUTF8(utf16_input); base 82 content/renderer/android/phone_number_detector.cc base::UTF8ToUTF16(utf8_input.substr(0, match.start())).length(); base 83 content/renderer/android/phone_number_detector.cc *end_pos = *start_pos + base::UTF8ToUTF16(match.raw_string()).length(); base 27 content/renderer/android/phone_number_detector.h virtual bool FindContent(const base::string16::const_iterator& begin, base 28 content/renderer/android/phone_number_detector.h const base::string16::const_iterator& end, base 16 content/renderer/android/phone_number_detector_unittest.cc base::string16 content_16 = base::UTF8ToUTF16(content); base 17 content/renderer/android/phone_number_detector_unittest.cc base::string16 result_16; base 24 content/renderer/android/phone_number_detector_unittest.cc return base::UTF16ToUTF8(result_16); base 29 content/renderer/android/phone_number_detector_unittest.cc base::string16 content_16 = base::UTF8ToUTF16(content); base 30 content/renderer/android/phone_number_detector_unittest.cc base::string16 result_16; base 11 content/renderer/android/synchronous_compositor_factory.h namespace base { base 42 content/renderer/android/synchronous_compositor_factory.h virtual scoped_refptr<base::MessageLoopProxy> base 59 content/renderer/browser_plugin/browser_plugin.cc return base::StringPrintf("-internal-%s", event_name); base 64 content/renderer/browser_plugin/browser_plugin.cc static base::LazyInstance<PluginContainerMap> g_plugin_container_map = base 198 content/renderer/browser_plugin/browser_plugin.cc base::StringToInt(GetDOMAttributeValue(browser_plugin::kAttributeMaxHeight), base 205 content/renderer/browser_plugin/browser_plugin.cc base::StringToInt(GetDOMAttributeValue(browser_plugin::kAttributeMaxWidth), base 212 content/renderer/browser_plugin/browser_plugin.cc base::StringToInt(GetDOMAttributeValue(browser_plugin::kAttributeMinHeight), base 219 content/renderer/browser_plugin/browser_plugin.cc base::StringToInt(GetDOMAttributeValue(browser_plugin::kAttributeMinWidth), base 383 content/renderer/browser_plugin/browser_plugin.cc std::map<std::string, base::Value*> props; base 385 content/renderer/browser_plugin/browser_plugin.cc new base::FundamentalValue(guest_instance_id); base 389 content/renderer/browser_plugin/browser_plugin.cc void BrowserPlugin::Attach(scoped_ptr<base::DictionaryValue> extra_params) { base 498 content/renderer/browser_plugin/browser_plugin.cc base::MessageLoop::current()->PostTask( base 500 content/renderer/browser_plugin/browser_plugin.cc base::Bind(&BrowserPlugin::ShowSadGraphic, base 823 content/renderer/browser_plugin/browser_plugin.cc std::map<std::string, base::Value*>* props) { base 837 content/renderer/browser_plugin/browser_plugin.cc base::DictionaryValue dict; base 838 content/renderer/browser_plugin/browser_plugin.cc for (std::map<std::string, base::Value*>::iterator iter = props->begin(), base 959 content/renderer/browser_plugin/browser_plugin.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 1144 content/renderer/browser_plugin/browser_plugin.cc base::SharedMemory* BrowserPlugin::CreateDamageBuffer( base 1146 content/renderer/browser_plugin/browser_plugin.cc base::SharedMemoryHandle* damage_buffer_handle) { base 1147 content/renderer/browser_plugin/browser_plugin.cc scoped_ptr<base::SharedMemory> shared_buf( base 1155 content/renderer/browser_plugin/browser_plugin.cc shared_buf->ShareToProcess(base::GetCurrentProcessHandle(), base 1164 content/renderer/browser_plugin/browser_plugin.cc base::SharedMemory* BrowserPlugin::CreateDamageBuffer( base 1166 content/renderer/browser_plugin/browser_plugin.cc base::SharedMemoryHandle* damage_buffer_handle) { base 1167 content/renderer/browser_plugin/browser_plugin.cc scoped_ptr<base::SharedMemory> shared_buf(new base::SharedMemory()); base 1176 content/renderer/browser_plugin/browser_plugin.cc if (shared_buf->ShareToProcess(base::GetCurrentProcessHandle(), base 134 content/renderer/browser_plugin/browser_plugin.h void Attach(scoped_ptr<base::DictionaryValue> extra_params); base 204 content/renderer/browser_plugin/browser_plugin.h friend class base::DeleteHelper<BrowserPlugin>; base 245 content/renderer/browser_plugin/browser_plugin.h std::map<std::string, base::Value*>* props); base 248 content/renderer/browser_plugin/browser_plugin.h virtual base::SharedMemory* CreateDamageBuffer( base 250 content/renderer/browser_plugin/browser_plugin.h base::SharedMemoryHandle* shared_memory_handle); base 313 content/renderer/browser_plugin/browser_plugin.h base::WeakPtr<RenderViewImpl> render_view_; base 321 content/renderer/browser_plugin/browser_plugin.h scoped_ptr<base::SharedMemory> current_damage_buffer_; base 322 content/renderer/browser_plugin/browser_plugin.h scoped_ptr<base::SharedMemory> pending_damage_buffer_; base 368 content/renderer/browser_plugin/browser_plugin.h base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; base 79 content/renderer/browser_plugin/browser_plugin_bindings.cc base::StringToInt(StringFromNPVariant(variant), &value); base 246 content/renderer/browser_plugin/browser_plugin_bindings.cc scoped_ptr<base::Value> value( base 252 content/renderer/browser_plugin/browser_plugin_bindings.cc if (!value->IsType(base::Value::TYPE_DICTIONARY)) base 255 content/renderer/browser_plugin/browser_plugin_bindings.cc scoped_ptr<base::DictionaryValue> extra_params( base 256 content/renderer/browser_plugin/browser_plugin_bindings.cc static_cast<base::DictionaryValue*>(value.release())); base 426 content/renderer/browser_plugin/browser_plugin_bindings.cc UpdateDOMAttribute(bindings, base::IntToString(new_value)); base 457 content/renderer/browser_plugin/browser_plugin_bindings.cc UpdateDOMAttribute(bindings, base::IntToString(new_value)); base 488 content/renderer/browser_plugin/browser_plugin_bindings.cc UpdateDOMAttribute(bindings, base::IntToString(new_value)); base 519 content/renderer/browser_plugin/browser_plugin_bindings.cc UpdateDOMAttribute(bindings, base::IntToString(new_value)); base 29 content/renderer/browser_plugin/browser_plugin_bindings.h base::WeakPtr<BrowserPluginBindings> message_channel; base 64 content/renderer/browser_plugin/browser_plugin_bindings.h base::WeakPtrFactory<BrowserPluginBindings> weak_ptr_factory_; base 54 content/renderer/browser_plugin/browser_plugin_browsertest.cc return base::StringPrintf(kHTMLForBrowserPluginObject, base 230 content/renderer/browser_plugin/browser_plugin_browsertest.cc std::string html = base::StringPrintf(kHTMLForBrowserPluginWithAllAttributes, base 413 content/renderer/browser_plugin/browser_plugin_browsertest.cc std::string html = base::StringPrintf(kHTMLForSourcelessPluginObject, base 428 content/renderer/browser_plugin/browser_plugin_browsertest.cc std::string html = base::StringPrintf(kHTMLForPartitionedPluginObject, base 435 content/renderer/browser_plugin/browser_plugin_browsertest.cc html = base::StringPrintf(kHTMLForPartitionedPersistedPluginObject, base 455 content/renderer/browser_plugin/browser_plugin_browsertest.cc html = base::StringPrintf(kHTMLForSourcelessPluginObject, base 472 content/renderer/browser_plugin/browser_plugin_browsertest.cc std::string html = base::StringPrintf(kHTMLForInvalidPartitionedPluginObject, base 518 content/renderer/browser_plugin/browser_plugin_browsertest.cc std::string html = base::StringPrintf(kHTMLForSourcelessPluginObject, base 564 content/renderer/browser_plugin/browser_plugin_browsertest.cc std::string html = base::StringPrintf(kHTMLForSourcelessPluginObject, base 30 content/renderer/browser_plugin/browser_plugin_manager.h public base::RefCounted<BrowserPluginManager> { base 54 content/renderer/browser_plugin/browser_plugin_manager.h const base::WeakPtr<BrowserPlugin>& browser_plugin) = 0; base 76 content/renderer/browser_plugin/browser_plugin_manager.h friend class base::RefCounted<BrowserPluginManager>; base 84 content/renderer/browser_plugin/browser_plugin_manager.h base::WeakPtr<RenderViewImpl> render_view_; base 32 content/renderer/browser_plugin/browser_plugin_manager_impl.cc const base::WeakPtr<BrowserPlugin>& browser_plugin) { base 84 content/renderer/browser_plugin/browser_plugin_manager_impl.cc const base::WeakPtr<BrowserPlugin> plugin(it->second); base 28 content/renderer/browser_plugin/browser_plugin_manager_impl.h const base::WeakPtr<BrowserPlugin>& browser_plugin) OVERRIDE; base 45 content/renderer/browser_plugin/browser_plugin_manager_impl.h typedef std::map<int, const base::WeakPtr<BrowserPlugin> > InstanceIDMap; base 29 content/renderer/browser_plugin/mock_browser_plugin_manager.cc const base::WeakPtr<BrowserPlugin>& browser_plugin) { base 31 content/renderer/browser_plugin/mock_browser_plugin_manager.cc base::MessageLoop::current()->PostTask( base 33 content/renderer/browser_plugin/mock_browser_plugin_manager.cc base::Bind(&MockBrowserPluginManager::AllocateInstanceIDACK, base 43 content/renderer/browser_plugin/mock_browser_plugin_manager.cc scoped_ptr<base::DictionaryValue> extra_params(new base::DictionaryValue()); base 24 content/renderer/browser_plugin/mock_browser_plugin_manager.h const base::WeakPtr<BrowserPlugin>& browser_plugin) OVERRIDE; base 58 content/renderer/browser_render_view_browsertest.cc base::string16* error_description) OVERRIDE { base 95 content/renderer/browser_render_view_browsertest.cc void CallOnUIThreadValidatingReturn(const base::Closure& callback, base 105 content/renderer/browser_render_view_browsertest.cc const base::Closure& callback, base 110 content/renderer/browser_render_view_browsertest.cc base::Bind(&CallOnUIThreadValidatingReturn, callback)); base 116 content/renderer/browser_render_view_browsertest.cc const base::Closure& callback) { base 126 content/renderer/browser_render_view_browsertest.cc base::Bind(&BackendClearCache, base::Passed(backend.Pass()), callback)); base 163 content/renderer/browser_render_view_browsertest.cc shell()->web_contents(), base::ASCIIToUTF16(expected_title)); base 168 content/renderer/browser_render_view_browsertest.cc EXPECT_EQ(base::ASCIIToUTF16(expected_title), base 181 content/renderer/browser_render_view_browsertest.cc base::Bind(&RenderViewBrowserTest::GetLatestErrorFromRendererClient0, base 215 content/renderer/browser_render_view_browsertest.cc base::Bind(&InterceptNetworkTransactions, url_request_context_getter, base 231 content/renderer/browser_render_view_browsertest.cc base::Bind(&ClearCache, url_request_context_getter, base 43 content/renderer/child_frame_compositing_helper.cc const base::WeakPtr<BrowserPlugin>& browser_plugin) { base 54 content/renderer/child_frame_compositing_helper.cc base::WeakPtr<BrowserPlugin>(), frame, render_frame, host_routing_id); base 58 content/renderer/child_frame_compositing_helper.cc const base::WeakPtr<BrowserPlugin>& browser_plugin, base 144 content/renderer/child_frame_compositing_helper.cc cc::CopyOutputRequest::CreateBitmapRequest(base::Bind( base 360 content/renderer/child_frame_compositing_helper.cc base::Bind(&ChildFrameCompositingHelper::MailboxReleased, base 424 content/renderer/child_frame_compositing_helper.cc scoped_ptr<base::SharedMemory> shared_memory( base 425 content/renderer/child_frame_compositing_helper.cc new base::SharedMemory(frame_data->handle, true)); base 18 content/renderer/child_frame_compositing_helper.h namespace base { base 55 content/renderer/child_frame_compositing_helper.h : public base::RefCounted<ChildFrameCompositingHelper>, base 59 content/renderer/child_frame_compositing_helper.h const base::WeakPtr<BrowserPlugin>& browser_plugin); base 89 content/renderer/child_frame_compositing_helper.h friend class base::RefCounted<ChildFrameCompositingHelper>; base 93 content/renderer/child_frame_compositing_helper.h const base::WeakPtr<BrowserPlugin>& browser_plugin, base 113 content/renderer/child_frame_compositing_helper.h base::SharedMemory* shared_memory; base 157 content/renderer/child_frame_compositing_helper.h base::WeakPtr<BrowserPlugin> browser_plugin_; base 48 content/renderer/clipboard_client.h std::vector<base::string16>* types, base 54 content/renderer/clipboard_client.h base::string16* result) = 0; base 58 content/renderer/clipboard_client.h base::string16* markup, base 71 content/renderer/clipboard_client.h const base::string16& type, base 72 content/renderer/clipboard_client.h base::string16* data) = 0; base 20 content/renderer/clipboard_utils.cc markup.append(net::EscapeForHTML(base::UTF16ToUTF8(title))); base 32 content/renderer/clipboard_utils.cc markup.append(net::EscapeForHTML(base::UTF16ToUTF8(title))); base 47 content/renderer/device_orientation/device_motion_event_pump.cc bool DeviceMotionEventPump::InitializeReader(base::SharedMemoryHandle handle) { base 37 content/renderer/device_orientation/device_motion_event_pump.h virtual bool InitializeReader(base::SharedMemoryHandle handle) OVERRIDE; base 43 content/renderer/device_orientation/device_motion_event_pump_unittest.cc void OnDidStart(base::SharedMemoryHandle renderer_handle) { base 51 content/renderer/device_orientation/device_motion_event_pump_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 70 content/renderer/device_orientation/device_motion_event_pump_unittest.cc ASSERT_TRUE(shared_memory_.ShareToProcess(base::GetCurrentProcessHandle(), base 87 content/renderer/device_orientation/device_motion_event_pump_unittest.cc base::SharedMemoryHandle handle_; base 88 content/renderer/device_orientation/device_motion_event_pump_unittest.cc base::SharedMemory shared_memory_; base 93 content/renderer/device_orientation/device_motion_event_pump_unittest.cc base::MessageLoopForUI loop; base 100 content/renderer/device_orientation/device_motion_event_pump_unittest.cc base::MessageLoop::current()->Run(); base 120 content/renderer/device_orientation/device_motion_event_pump_unittest.cc base::MessageLoopForUI loop; base 127 content/renderer/device_orientation/device_motion_event_pump_unittest.cc base::MessageLoop::current()->Run(); base 80 content/renderer/device_orientation/device_orientation_event_pump.cc base::SharedMemoryHandle handle) { base 41 content/renderer/device_orientation/device_orientation_event_pump.h virtual bool InitializeReader(base::SharedMemoryHandle handle) OVERRIDE; base 48 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc void OnDidStart(base::SharedMemoryHandle renderer_handle) { base 56 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 74 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc shared_memory_.ShareToProcess(base::kNullProcessHandle, &handle_); base 95 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::SharedMemoryHandle handle_; base 96 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::SharedMemory shared_memory_; base 107 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop loop; base 113 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop::current()->Run(); base 133 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop loop; base 139 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop::current()->Run(); base 159 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop loop; base 165 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop::current()->Run(); base 181 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 182 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::Bind(&DeviceOrientationEventPumpForTesting::FireEvent, base 183 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::Unretained(orientation_pump_.get()))); base 184 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop::current()->Run(); base 199 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 200 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::Bind(&DeviceOrientationEventPumpForTesting::FireEvent, base 201 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::Unretained(orientation_pump_.get()))); base 202 content/renderer/device_orientation/device_orientation_event_pump_unittest.cc base::MessageLoop::current()->Run(); base 72 content/renderer/device_orientation/device_sensor_event_pump.cc void DeviceSensorEventPump::OnDidStart(base::SharedMemoryHandle handle) { base 81 content/renderer/device_orientation/device_sensor_event_pump.cc timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(GetDelayMillis()), base 45 content/renderer/device_orientation/device_sensor_event_pump.h void OnDidStart(base::SharedMemoryHandle handle); base 49 content/renderer/device_orientation/device_sensor_event_pump.h virtual bool InitializeReader(base::SharedMemoryHandle handle) = 0; base 55 content/renderer/device_orientation/device_sensor_event_pump.h base::RepeatingTimer<DeviceSensorEventPump> timer_; base 46 content/renderer/devtools/devtools_agent.cc using base::debug::TraceLog; base 50 content/renderer/devtools/devtools_agent.cc base::subtle::AtomicWord DevToolsAgent::event_callback_; base 57 content/renderer/devtools/devtools_agent.cc WebKitClientMessageLoopImpl() : message_loop_(base::MessageLoop::current()) {} base 60 content/renderer/devtools/devtools_agent.cc base::MessageLoop::ScopedNestableTaskAllower allow(message_loop_); base 67 content/renderer/devtools/devtools_agent.cc base::MessageLoop* message_loop_; base 71 content/renderer/devtools/devtools_agent.cc base::LazyInstance<IdToAgentMap>::Leaky base 85 content/renderer/devtools/devtools_agent.cc base::Process::Current().pid()); base 148 content/renderer/devtools/devtools_agent.cc base::subtle::NoBarrier_Store(&event_callback_, 0); base 154 content/renderer/devtools/devtools_agent.cc base::subtle::NoBarrier_Store(&event_callback_, base 155 content/renderer/devtools/devtools_agent.cc reinterpret_cast<base::subtle::AtomicWord>(cb)); base 157 content/renderer/devtools/devtools_agent.cc trace_log->SetEventCallbackEnabled(base::debug::CategoryFilter( base 166 content/renderer/devtools/devtools_agent.cc base::TimeTicks timestamp, base 178 content/renderer/devtools/devtools_agent.cc base::subtle::NoBarrier_Load(&event_callback_)); base 180 content/renderer/devtools/devtools_agent.cc double timestamp_seconds = (timestamp - base::TimeTicks()).InSecondsF(); base 33 content/renderer/devtools/devtools_agent.h public base::SupportsWeakPtr<DevToolsAgent>, base 92 content/renderer/devtools/devtools_agent.h base::TimeTicks timestamp, base 107 content/renderer/devtools/devtools_agent.h static base::subtle::AtomicWord /* TraceEventCallback */ event_callback_; base 45 content/renderer/devtools/devtools_agent_filter.cc render_thread_loop_(base::MessageLoop::current()), base 79 content/renderer/devtools/devtools_agent_filter.cc FROM_HERE, base::Bind(&WebDevToolsAgent::processPendingMessages)); base 85 content/renderer/devtools/devtools_agent_filter.cc base::Bind(&DevToolsAgentFilter::AddSharedWorkerRoute, this, routing_id)); base 92 content/renderer/devtools/devtools_agent_filter.cc base::Bind( base 15 content/renderer/devtools/devtools_agent_filter.h namespace base { base 52 content/renderer/devtools/devtools_agent_filter.h base::MessageLoop* render_thread_loop_; base 54 content/renderer/devtools/devtools_agent_filter.h scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 32 content/renderer/devtools/devtools_client.cc base::ASCIIToUTF16( base 67 content/renderer/dom_automation_controller.cc scoped_ptr<base::Value> value; base 152 content/renderer/dom_serializer_browsertest.cc LoadObserver(RenderView* render_view, const base::Closure& quit_closure) base 162 content/renderer/dom_serializer_browsertest.cc base::Closure quit_closure_; base 278 content/renderer/dom_serializer_browsertest.cc base::FilePath(FILE_PATH_LITERAL("c:\\dummy.htm")).AsUTF16Unsafe(); base 471 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = GetTestFilePath( base 527 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = GetTestFilePath( base 584 content/renderer/dom_serializer_browsertest.cc ASSERT_TRUE(base::UTF16ToWide(value) == parsed_value); base 585 content/renderer/dom_serializer_browsertest.cc ASSERT_TRUE(base::UTF16ToWide(body_element.innerText()) == parsed_value); base 690 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = GetTestFilePath( base 766 content/renderer/dom_serializer_browsertest.cc typedef base::hash_map<std::string, std::string> SerializedFrameContentMap; base 769 content/renderer/dom_serializer_browsertest.cc typedef base::hash_map<std::string, bool> SerializationFinishStatusMap; base 775 content/renderer/dom_serializer_browsertest.cc const base::FilePath local_directory_name_; base 781 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = base 789 content/renderer/dom_serializer_browsertest.cc base::Bind(&DomSerializerTests::SerializeHTMLDOMWithDocTypeOnRenderer, base 790 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), file_url)); base 796 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = base 804 content/renderer/dom_serializer_browsertest.cc base::Bind( base 806 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), file_url)); base 818 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = base 820 content/renderer/dom_serializer_browsertest.cc base::FilePath xml_file_path = GetTestFilePath("dom_serializer", "note.xml"); base 823 content/renderer/dom_serializer_browsertest.cc ASSERT_TRUE(base::ReadFileToString(xml_file_path, &original_contents)); base 832 content/renderer/dom_serializer_browsertest.cc base::Bind( base 834 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), xml_file_url, original_contents)); base 839 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = base 843 content/renderer/dom_serializer_browsertest.cc ASSERT_TRUE(base::ReadFileToString(page_file_path, &original_contents)); base 852 content/renderer/dom_serializer_browsertest.cc base::Bind( base 854 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), file_url, original_contents)); base 863 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = base 872 content/renderer/dom_serializer_browsertest.cc base::Bind( base 875 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), file_url)); base 884 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = base 893 content/renderer/dom_serializer_browsertest.cc base::Bind( base 896 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), file_url)); base 907 content/renderer/dom_serializer_browsertest.cc base::Bind( base 909 content/renderer/dom_serializer_browsertest.cc base::Unretained(this))); base 927 content/renderer/dom_serializer_browsertest.cc base::Bind( base 930 content/renderer/dom_serializer_browsertest.cc base::Unretained(this))); base 938 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = GetTestFilePath( base 944 content/renderer/dom_serializer_browsertest.cc base::Bind( base 947 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), file_url)); base 960 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = GetTestFilePath( base 964 content/renderer/dom_serializer_browsertest.cc base::FilePath dir_name = page_file_path.DirName(); base 966 content/renderer/dom_serializer_browsertest.cc base::FilePath::StringType(base::FilePath::kSeparators[0], 1)); base 976 content/renderer/dom_serializer_browsertest.cc base::Bind( base 978 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), file_url, path_dir_url)); base 989 content/renderer/dom_serializer_browsertest.cc base::Bind(&DomSerializerTests::SerializeHTMLDOMWithEmptyHeadOnRenderer, base 990 content/renderer/dom_serializer_browsertest.cc base::Unretained(this))); base 997 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = GetTestFilePath( base 1005 content/renderer/dom_serializer_browsertest.cc base::Bind( base 1008 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), file_url)); base 1013 content/renderer/dom_serializer_browsertest.cc base::FilePath page_file_path = GetTestFilePath( base 1019 content/renderer/dom_serializer_browsertest.cc base::Bind( base 1022 content/renderer/dom_serializer_browsertest.cc base::Unretained(this), file_url)); base 38 content/renderer/dom_storage/dom_storage_cached_area.cc base::NullableString16 DOMStorageCachedArea::GetKey(int connection_id, base 44 content/renderer/dom_storage/dom_storage_cached_area.cc base::NullableString16 DOMStorageCachedArea::GetItem( base 46 content/renderer/dom_storage/dom_storage_cached_area.cc const base::string16& key) { base 48 content/renderer/dom_storage/dom_storage_cached_area.cc base::NullableString16 result = map_->GetItem(key); base 57 content/renderer/dom_storage/dom_storage_cached_area.cc const base::string16& key, base 58 content/renderer/dom_storage/dom_storage_cached_area.cc const base::string16& value, base 66 content/renderer/dom_storage/dom_storage_cached_area.cc base::NullableString16 unused; base 74 content/renderer/dom_storage/dom_storage_cached_area.cc base::Bind(&DOMStorageCachedArea::OnSetItemComplete, base 80 content/renderer/dom_storage/dom_storage_cached_area.cc const base::string16& key, base 83 content/renderer/dom_storage/dom_storage_cached_area.cc base::string16 unused; base 91 content/renderer/dom_storage/dom_storage_cached_area.cc base::Bind(&DOMStorageCachedArea::OnRemoveItemComplete, base 104 content/renderer/dom_storage/dom_storage_cached_area.cc base::Bind(&DOMStorageCachedArea::OnClearComplete, base 109 content/renderer/dom_storage/dom_storage_cached_area.cc const base::NullableString16& key, base 110 content/renderer/dom_storage/dom_storage_cached_area.cc const base::NullableString16& new_value) { base 121 content/renderer/dom_storage/dom_storage_cached_area.cc std::map<base::string16, int>::iterator iter = base 124 content/renderer/dom_storage/dom_storage_cached_area.cc base::NullableString16 value = old->GetItem(iter->first); base 126 content/renderer/dom_storage/dom_storage_cached_area.cc base::NullableString16 unused; base 140 content/renderer/dom_storage/dom_storage_cached_area.cc base::string16 unused; base 148 content/renderer/dom_storage/dom_storage_cached_area.cc base::NullableString16 unused; base 171 content/renderer/dom_storage/dom_storage_cached_area.cc base::TimeTicks before = base::TimeTicks::Now(); base 175 content/renderer/dom_storage/dom_storage_cached_area.cc base::Bind(&DOMStorageCachedArea::OnLoadComplete, base 177 content/renderer/dom_storage/dom_storage_cached_area.cc base::TimeDelta time_to_prime = base::TimeTicks::Now() - before; base 222 content/renderer/dom_storage/dom_storage_cached_area.cc void DOMStorageCachedArea::OnSetItemComplete(const base::string16& key, base 228 content/renderer/dom_storage/dom_storage_cached_area.cc std::map<base::string16, int>::iterator found = base 235 content/renderer/dom_storage/dom_storage_cached_area.cc void DOMStorageCachedArea::OnRemoveItemComplete(const base::string16& key, base 238 content/renderer/dom_storage/dom_storage_cached_area.cc std::map<base::string16, int>::iterator found = base 28 content/renderer/dom_storage/dom_storage_cached_area.h : public base::RefCounted<DOMStorageCachedArea> { base 38 content/renderer/dom_storage/dom_storage_cached_area.h base::NullableString16 GetKey(int connection_id, unsigned index); base 39 content/renderer/dom_storage/dom_storage_cached_area.h base::NullableString16 GetItem(int connection_id, const base::string16& key); base 41 content/renderer/dom_storage/dom_storage_cached_area.h const base::string16& key, base 42 content/renderer/dom_storage/dom_storage_cached_area.h const base::string16& value, base 45 content/renderer/dom_storage/dom_storage_cached_area.h const base::string16& key, base 49 content/renderer/dom_storage/dom_storage_cached_area.h void ApplyMutation(const base::NullableString16& key, base 50 content/renderer/dom_storage/dom_storage_cached_area.h const base::NullableString16& new_value); base 59 content/renderer/dom_storage/dom_storage_cached_area.h friend class base::RefCounted<DOMStorageCachedArea>; base 74 content/renderer/dom_storage/dom_storage_cached_area.h void OnSetItemComplete(const base::string16& key, bool success); base 76 content/renderer/dom_storage/dom_storage_cached_area.h void OnRemoveItemComplete(const base::string16& key, bool success); base 78 content/renderer/dom_storage/dom_storage_cached_area.h bool should_ignore_key_mutation(const base::string16& key) const { base 83 content/renderer/dom_storage/dom_storage_cached_area.h std::map<base::string16, int> ignore_key_mutations_; base 94 content/renderer/dom_storage/dom_storage_cached_area.h base::WeakPtrFactory<DOMStorageCachedArea> weak_factory_; base 38 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc const base::string16& key, base 39 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc const base::string16& value, base 51 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc const base::string16& key, base 52 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc const base::NullableString16& value) OVERRIDE { base 56 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc const base::string16& key, base 108 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc base::string16 observed_key_; base 109 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc base::string16 observed_value_; base 123 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc kKey(base::ASCIIToUTF16("key")), base 124 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc kValue(base::ASCIIToUTF16("value")), base 130 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc const base::string16 kKey; base 131 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc const base::string16 kValue; base 147 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc const base::string16& key) { base 172 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc cached_area->ApplyMutation(base::NullableString16(kKey, false), base 173 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc base::NullableString16(kValue, false)); base 268 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc base::NullableString16(kValue, false); base 289 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc cached_area->ApplyMutation(base::NullableString16(kKey, false), base 290 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc base::NullableString16(kValue, false)); base 298 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc cached_area->ApplyMutation(base::NullableString16(kKey, false), base 299 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc base::NullableString16(kValue, false)); base 335 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc cached_area->ApplyMutation(base::NullableString16(kKey, false), base 336 content/renderer/dom_storage/dom_storage_cached_area_unittest.cc base::NullableString16()); base 49 content/renderer/dom_storage/dom_storage_dispatcher.cc base::AutoLock locker(lock_); base 54 content/renderer/dom_storage/dom_storage_dispatcher.cc base::Lock lock_; base 114 content/renderer/dom_storage/dom_storage_dispatcher.cc virtual void SetItem(int connection_id, const base::string16& key, base 115 content/renderer/dom_storage/dom_storage_dispatcher.cc const base::string16& value, const GURL& page_url, base 117 content/renderer/dom_storage/dom_storage_dispatcher.cc virtual void LogGetItem(int connection_id, const base::string16& key, base 118 content/renderer/dom_storage/dom_storage_dispatcher.cc const base::NullableString16& value) OVERRIDE; base 119 content/renderer/dom_storage/dom_storage_dispatcher.cc virtual void RemoveItem(int connection_id, const base::string16& key, base 161 content/renderer/dom_storage/dom_storage_dispatcher.cc return base::Int64ToString(namespace_id) + origin.spec(); base 247 content/renderer/dom_storage/dom_storage_dispatcher.cc int connection_id, const base::string16& key, base 248 content/renderer/dom_storage/dom_storage_dispatcher.cc const base::string16& value, const GURL& page_url, base 256 content/renderer/dom_storage/dom_storage_dispatcher.cc int connection_id, const base::string16& key, base 257 content/renderer/dom_storage/dom_storage_dispatcher.cc const base::NullableString16& value) { base 262 content/renderer/dom_storage/dom_storage_dispatcher.cc int connection_id, const base::string16& key, const GURL& page_url, base 18 content/renderer/dom_storage/dom_storage_proxy.h class DOMStorageProxy : public base::RefCounted<DOMStorageProxy> { base 20 content/renderer/dom_storage/dom_storage_proxy.h typedef base::Callback<void(bool)> CompletionCallback; base 28 content/renderer/dom_storage/dom_storage_proxy.h const base::string16& key, base 29 content/renderer/dom_storage/dom_storage_proxy.h const base::string16& value, base 34 content/renderer/dom_storage/dom_storage_proxy.h const base::string16& key, base 35 content/renderer/dom_storage/dom_storage_proxy.h const base::NullableString16& value) = 0; base 38 content/renderer/dom_storage/dom_storage_proxy.h const base::string16& key, base 47 content/renderer/dom_storage/dom_storage_proxy.h friend class base::RefCounted<DOMStorageProxy>; base 24 content/renderer/dom_storage/webstoragearea_impl.cc base::LazyInstance<AreaImplMap>::Leaky base 30 content/renderer/drop_data_builder.cc result.text = base::NullableString16(item.stringData, false); base 43 content/renderer/drop_data_builder.cc result.html = base::NullableString16(item.stringData, false); base 59 content/renderer/drop_data_builder.cc base::FilePath::FromUTF16Unsafe(item.filenameData), base 60 content/renderer/drop_data_builder.cc base::FilePath::FromUTF16Unsafe(item.displayNameData))); base 60 content/renderer/external_popup_menu_browsertest.cc base::string16 script(base::ASCIIToUTF16(kSelectID)); base 61 content/renderer/external_popup_menu_browsertest.cc script.append(base::ASCIIToUTF16(".selectedIndex")); base 36 content/renderer/fetchers/image_resource_fetcher.cc base::Bind(&ImageResourceFetcher::OnURLFetchComplete, base 37 content/renderer/fetchers/image_resource_fetcher.cc base::Unretained(this))); base 40 content/renderer/fetchers/image_resource_fetcher.cc base::debug::SetCrashKeyValue("subresource_url", image_url.spec()); base 30 content/renderer/fetchers/image_resource_fetcher.h typedef base::Callback<void(ImageResourceFetcher*, const SkBitmap&)> Callback; base 35 content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc base::Bind(&MultiResolutionImageResourceFetcher::OnURLFetchComplete, base 36 content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc base::Unretained(this))); base 32 content/renderer/fetchers/multi_resolution_image_resource_fetcher.h typedef base::Callback<void(MultiResolutionImageResourceFetcher*, base 21 content/renderer/fetchers/resource_fetcher_impl.cc using base::TimeDelta; base 103 content/renderer/fetchers/resource_fetcher_impl.cc void ResourceFetcherImpl::SetTimeout(const base::TimeDelta& timeout) { base 41 content/renderer/fetchers/resource_fetcher_impl.h virtual void SetTimeout(const base::TimeDelta& timeout) OVERRIDE; base 99 content/renderer/fetchers/resource_fetcher_impl.h base::OneShotTimer<ResourceFetcherImpl> timeout_timer_; base 24 content/renderer/gamepad_shared_memory_reader.cc bool valid_handle = base::SharedMemory::IsHandleValid( base 30 content/renderer/gamepad_shared_memory_reader.cc new base::SharedMemory(renderer_shared_memory_handle_, true)); base 48 content/renderer/gamepad_shared_memory_reader.cc if (!base::SharedMemory::IsHandleValid(renderer_shared_memory_handle_)) base 57 content/renderer/gamepad_shared_memory_reader.cc base::subtle::Atomic32 version; base 23 content/renderer/gamepad_shared_memory_reader.h base::SharedMemoryHandle renderer_shared_memory_handle_; base 24 content/renderer/gamepad_shared_memory_reader.h scoped_ptr<base::SharedMemory> renderer_shared_memory_; base 90 content/renderer/geolocation_dispatcher.cc base::string16 origin = permissionRequest.securityOrigin().toString(); base 102 content/renderer/geolocation_dispatcher.cc base::string16 origin = permissionRequest.securityOrigin().toString(); base 35 content/renderer/gpu/compositor_output_surface.cc base::TaskRunner* target_task_runner) base 66 content/renderer/gpu/compositor_output_surface.cc main_thread_handle_(base::PlatformThreadHandle()) base 68 content/renderer/gpu/compositor_output_surface.cc main_thread_handle_(base::PlatformThread::CurrentHandle()) base 100 content/renderer/gpu/compositor_output_surface.cc base::Bind(&CompositorOutputSurfaceProxy::OnMessageReceived, base 152 content/renderer/gpu/compositor_output_surface.cc base::TimeTicks timebase, base 153 content/renderer/gpu/compositor_output_surface.cc base::TimeDelta interval) { base 198 content/renderer/gpu/compositor_output_surface.cc void SetThreadPriorityToIdle(base::PlatformThreadHandle handle) { base 199 content/renderer/gpu/compositor_output_surface.cc base::PlatformThread::SetThreadPriority( base 200 content/renderer/gpu/compositor_output_surface.cc handle, base::kThreadPriority_Background); base 202 content/renderer/gpu/compositor_output_surface.cc void SetThreadPriorityToDefault(base::PlatformThreadHandle handle) { base 203 content/renderer/gpu/compositor_output_surface.cc base::PlatformThread::SetThreadPriority( base 204 content/renderer/gpu/compositor_output_surface.cc handle, base::kThreadPriority_Normal); base 207 content/renderer/gpu/compositor_output_surface.cc void SetThreadPriorityToIdle(base::PlatformThreadHandle handle) {} base 208 content/renderer/gpu/compositor_output_surface.cc void SetThreadPriorityToDefault(base::PlatformThreadHandle handle) {} base 217 content/renderer/gpu/compositor_output_surface.cc base::PlatformThreadId g_last_thread = base::PlatformThread::CurrentId(); base 218 content/renderer/gpu/compositor_output_surface.cc DCHECK_EQ(g_last_thread, base::PlatformThread::CurrentId()); base 19 content/renderer/gpu/compositor_output_surface.h namespace base { base 40 content/renderer/gpu/compositor_output_surface.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 43 content/renderer/gpu/compositor_output_surface.h base::TaskRunner* target_task_runner); base 73 content/renderer/gpu/compositor_output_surface.h public base::RefCountedThreadSafe<CompositorOutputSurfaceProxy> { base 85 content/renderer/gpu/compositor_output_surface.h friend class base::RefCountedThreadSafe<CompositorOutputSurfaceProxy>; base 93 content/renderer/gpu/compositor_output_surface.h void OnUpdateVSyncParametersFromBrowser(base::TimeTicks timebase, base 94 content/renderer/gpu/compositor_output_surface.h base::TimeDelta interval); base 107 content/renderer/gpu/compositor_output_surface.h base::PlatformThreadHandle main_thread_handle_; base 19 content/renderer/gpu/compositor_software_output_device.cc unsigned id, scoped_ptr<base::SharedMemory> mem) base 81 content/renderer/gpu/compositor_software_output_device.cc scoped_ptr<base::SharedMemory> mem = base 24 content/renderer/gpu/compositor_software_output_device.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 45 content/renderer/gpu/compositor_software_output_device.h explicit Buffer(unsigned id, scoped_ptr<base::SharedMemory> mem); base 51 content/renderer/gpu/compositor_software_output_device.h base::SharedMemoryHandle handle() const { return mem_->handle(); } base 52 content/renderer/gpu/compositor_software_output_device.h base::SharedMemory* shared_memory() const { return mem_.get(); } base 64 content/renderer/gpu/compositor_software_output_device.h scoped_ptr<base::SharedMemory> mem_; base 65 content/renderer/gpu/gpu_benchmarking_extension.cc explicit SkPictureSerializer(const base::FilePath& dirpath) base 90 content/renderer/gpu/gpu_benchmarking_extension.cc std::string filename = "layer_" + base::IntToString(layer_id_++) + ".skp"; base 99 content/renderer/gpu/gpu_benchmarking_extension.cc base::FilePath dirpath_; base 109 content/renderer/gpu/gpu_benchmarking_extension.cc class CallbackAndContext : public base::RefCounted<CallbackAndContext> { base 399 content/renderer/gpu/gpu_benchmarking_extension.cc base::FilePath dirpath( base 400 content/renderer/gpu/gpu_benchmarking_extension.cc base::FilePath::StringType(*dirname, *dirname + dirname.length())); base 401 content/renderer/gpu/gpu_benchmarking_extension.cc if (!base::CreateDirectory(dirpath) || base 402 content/renderer/gpu/gpu_benchmarking_extension.cc !base::PathIsWritable(dirpath)) { base 525 content/renderer/gpu/gpu_benchmarking_extension.cc base::Bind(&OnSyntheticGestureCompleted, base 619 content/renderer/gpu/gpu_benchmarking_extension.cc base::Bind(&OnSyntheticGestureCompleted, base 672 content/renderer/gpu/gpu_benchmarking_extension.cc base::Bind(&OnSyntheticGestureCompleted, base 730 content/renderer/gpu/gpu_benchmarking_extension.cc base::Bind(&OnSyntheticGestureCompleted, base 758 content/renderer/gpu/gpu_benchmarking_extension.cc base::Base64Encode(base::StringPiece( base 801 content/renderer/gpu/gpu_benchmarking_extension.cc base::Bind(&OnSnapshotCompleted, callback_and_context)); base 811 content/renderer/gpu/gpu_benchmarking_extension.cc scoped_ptr<base::Value> result) { base 858 content/renderer/gpu/gpu_benchmarking_extension.cc scoped_ptr<base::Value> value = base 866 content/renderer/gpu/gpu_benchmarking_extension.cc base::Bind(&OnMicroBenchmarkCompleted, callback_and_context))); base 63 content/renderer/gpu/render_widget_compositor.cc if (base::StringToInt(string_value, &int_value) && base 154 content/renderer/gpu/render_widget_compositor.cc if (base::StringToDouble(controls_height_str, &controls_height) && base 170 content/renderer/gpu/render_widget_compositor.cc if (base::StringToDouble(top_threshold_str, &show_threshold) && base 179 content/renderer/gpu/render_widget_compositor.cc if (base::StringToDouble(top_threshold_str, &hide_threshold) && base 267 content/renderer/gpu/render_widget_compositor.cc base::android::SysUtils::IsLowEndDevice() && base 271 content/renderer/gpu/render_widget_compositor.cc } else if (base::android::SysUtils::IsLowEndDevice()) { base 310 content/renderer/gpu/render_widget_compositor.cc const base::WeakPtr<cc::InputHandler>& base 332 content/renderer/gpu/render_widget_compositor.cc void RenderWidgetCompositor::UpdateAnimations(base::TimeTicks time) { base 336 content/renderer/gpu/render_widget_compositor.cc void RenderWidgetCompositor::Composite(base::TimeTicks frame_begin_time) { base 395 content/renderer/gpu/render_widget_compositor.cc scoped_ptr<base::Value> value, base 396 content/renderer/gpu/render_widget_compositor.cc const base::Callback<void(scoped_ptr<base::Value>)>& callback) { base 401 content/renderer/gpu/render_widget_compositor.cc scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy = base 483 content/renderer/gpu/render_widget_compositor.cc base::TimeDelta duration = base::TimeDelta::FromMicroseconds( base 484 content/renderer/gpu/render_widget_compositor.cc duration_sec * base::Time::kMicrosecondsPerSecond); base 586 content/renderer/gpu/render_widget_compositor.cc void RenderWidgetCompositor::Animate(base::TimeTicks frame_begin_time) { base 588 content/renderer/gpu/render_widget_compositor.cc (frame_begin_time - base::TimeTicks()).InSecondsF()); base 45 content/renderer/gpu/render_widget_compositor.h const base::WeakPtr<cc::InputHandler>& GetInputHandler(); base 48 content/renderer/gpu/render_widget_compositor.h void UpdateAnimations(base::TimeTicks time); base 49 content/renderer/gpu/render_widget_compositor.h void Composite(base::TimeTicks frame_begin_time); base 72 content/renderer/gpu/render_widget_compositor.h scoped_ptr<base::Value> value, base 73 content/renderer/gpu/render_widget_compositor.h const base::Callback<void(scoped_ptr<base::Value>)>& callback); base 120 content/renderer/gpu/render_widget_compositor.h virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE; base 52 content/renderer/gpu/stream_texture_host_android.h base::WeakPtrFactory<StreamTextureHost> weak_ptr_factory_; base 30 content/renderer/ico_image_decoder_unittest.cc base::FilePath multisize_icon_path(data_dir().AppendASCII("yahoo.ico")); base 31 content/renderer/ico_image_decoder_unittest.cc const base::FilePath md5_sum_path( base 146 content/renderer/image_loading_helper.cc base::Bind(&ImageLoadingHelper::DidDownloadImage, base 147 content/renderer/image_loading_helper.cc base::Unretained(this), base 176 content/renderer/image_loading_helper.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, fetcher); base 41 content/renderer/in_process_renderer_thread.cc base::Thread* CreateInProcessRendererThread(const std::string& channel_id) { base 18 content/renderer/in_process_renderer_thread.h class InProcessRendererThread : public base::Thread { base 34 content/renderer/in_process_renderer_thread.h CONTENT_EXPORT base::Thread* CreateInProcessRendererThread( base 41 content/renderer/input/input_event_filter.cc const scoped_refptr<base::MessageLoopProxy>& target_loop) base 42 content/renderer/input/input_event_filter.cc : main_loop_(base::MessageLoopProxy::current()), base 60 content/renderer/input/input_event_filter.cc base::AutoLock locked(routes_lock_); base 65 content/renderer/input/input_event_filter.cc base::AutoLock locked(routes_lock_); base 85 content/renderer/input/input_event_filter.cc io_loop_ = base::MessageLoopProxy::current(); base 113 content/renderer/input/input_event_filter.cc base::AutoLock locked(routes_lock_); base 120 content/renderer/input/input_event_filter.cc base::Bind(&InputEventFilter::ForwardToHandler, this, message)); base 144 content/renderer/input/input_event_filter.cc base::Bind(&InputEventFilter::ForwardToMainListener, base 169 content/renderer/input/input_event_filter.cc base::Bind(&InputEventFilter::ForwardToMainListener, base 191 content/renderer/input/input_event_filter.cc base::Bind(&InputEventFilter::SendMessageOnIOThread, this, message)); base 34 content/renderer/input/input_event_filter.h const scoped_refptr<base::MessageLoopProxy>& target_loop); base 73 content/renderer/input/input_event_filter.h scoped_refptr<base::MessageLoopProxy> main_loop_; base 77 content/renderer/input/input_event_filter.h scoped_refptr<base::MessageLoopProxy> io_loop_; base 81 content/renderer/input/input_event_filter.h scoped_refptr<base::MessageLoopProxy> target_loop_; base 85 content/renderer/input/input_event_filter.h base::Lock routes_lock_; base 106 content/renderer/input/input_event_filter_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 131 content/renderer/input/input_event_filter_unittest.cc base::Bind(&InputEventRecorder::HandleInputEvent, base 132 content/renderer/input/input_event_filter_unittest.cc base::Unretained(&event_recorder_))); base 141 content/renderer/input/input_event_filter_unittest.cc base::MessageLoop message_loop_; base 279 content/renderer/input/input_event_filter_unittest.cc messages.push_back(InputMsg_Replace(kTestRoutingID, base::string16())); base 281 content/renderer/input/input_event_filter_unittest.cc base::string16())); base 38 content/renderer/input/input_handler_manager.cc const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy, base 43 content/renderer/input/input_handler_manager.cc client_->SetBoundHandler(base::Bind(&InputHandlerManager::HandleInputEvent, base 44 content/renderer/input/input_handler_manager.cc base::Unretained(this))); base 53 content/renderer/input/input_handler_manager.cc const base::WeakPtr<cc::InputHandler>& input_handler, base 54 content/renderer/input/input_handler_manager.cc const base::WeakPtr<RenderViewImpl>& render_view_impl) { base 57 content/renderer/input/input_handler_manager.cc base::MessageLoopProxy::current(), base 63 content/renderer/input/input_handler_manager.cc base::Bind(&InputHandlerManager::AddInputHandlerOnCompositorThread, base 64 content/renderer/input/input_handler_manager.cc base::Unretained(this), base 66 content/renderer/input/input_handler_manager.cc base::MessageLoopProxy::current(), base 74 content/renderer/input/input_handler_manager.cc const scoped_refptr<base::MessageLoopProxy>& main_loop, base 75 content/renderer/input/input_handler_manager.cc const base::WeakPtr<cc::InputHandler>& input_handler, base 76 content/renderer/input/input_handler_manager.cc const base::WeakPtr<RenderViewImpl>& render_view_impl) { base 14 content/renderer/input/input_handler_manager.h namespace base { base 39 content/renderer/input/input_handler_manager.h const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy, base 46 content/renderer/input/input_handler_manager.h const base::WeakPtr<cc::InputHandler>& input_handler, base 47 content/renderer/input/input_handler_manager.h const base::WeakPtr<RenderViewImpl>& render_view_impl); base 67 content/renderer/input/input_handler_manager.h const scoped_refptr<base::MessageLoopProxy>& main_loop, base 68 content/renderer/input/input_handler_manager.h const base::WeakPtr<cc::InputHandler>& input_handler, base 69 content/renderer/input/input_handler_manager.h const base::WeakPtr<RenderViewImpl>& render_view_impl); base 71 content/renderer/input/input_handler_manager.h typedef base::ScopedPtrHashMap<int, // routing_id base 75 content/renderer/input/input_handler_manager.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 36 content/renderer/input/input_handler_manager_client.h typedef base::Callback< base 35 content/renderer/input/input_handler_proxy.cc double InSecondsF(const base::TimeTicks& time) { base 36 content/renderer/input/input_handler_proxy.cc return (time - base::TimeTicks()).InSecondsF(); base 53 content/renderer/input/input_handler_proxy.cc base::TimeDelta delta = base::TimeTicks::HighResNow() - it->second.event_time; base 347 content/renderer/input/input_handler_proxy.cc void InputHandlerProxy::Animate(base::TimeTicks time) { base 47 content/renderer/input/input_handler_proxy.h virtual void Animate(base::TimeTicks time) OVERRIDE; base 69 content/renderer/input/input_handler_proxy_unittest.cc base::TimeDelta duration) OVERRIDE {} base 506 content/renderer/input/input_handler_proxy_unittest.cc base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); base 520 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 557 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 569 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 614 content/renderer/input/input_handler_proxy_unittest.cc base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); base 628 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 666 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 678 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 720 content/renderer/input/input_handler_proxy_unittest.cc time = base::TimeTicks() + base::TimeDelta::FromSeconds(30); base 734 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 763 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 899 content/renderer/input/input_handler_proxy_unittest.cc base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); base 910 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 936 content/renderer/input/input_handler_proxy_unittest.cc base::TimeDelta startTimeOffset = base::TimeDelta::FromMilliseconds(10); base 967 content/renderer/input/input_handler_proxy_unittest.cc base::TimeTicks time = base::TimeTicks() + 2 * startTimeOffset; base 1027 content/renderer/input/input_handler_proxy_unittest.cc base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); base 1038 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 1072 content/renderer/input/input_handler_proxy_unittest.cc base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); base 1085 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 1113 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(100); base 1144 content/renderer/input/input_handler_proxy_unittest.cc base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); base 1154 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(10); base 1179 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(10); base 1202 content/renderer/input/input_handler_proxy_unittest.cc time += base::TimeDelta::FromMilliseconds(10); base 17 content/renderer/input/input_handler_wrapper.cc const scoped_refptr<base::MessageLoopProxy>& main_loop, base 18 content/renderer/input/input_handler_wrapper.cc const base::WeakPtr<cc::InputHandler>& input_handler, base 19 content/renderer/input/input_handler_wrapper.cc const base::WeakPtr<RenderViewImpl>& render_view_impl) base 37 content/renderer/input/input_handler_wrapper.cc base::Bind(&RenderViewImpl::TransferActiveWheelFlingAnimation, base 20 content/renderer/input/input_handler_wrapper.h const scoped_refptr<base::MessageLoopProxy>& main_loop, base 21 content/renderer/input/input_handler_wrapper.h const base::WeakPtr<cc::InputHandler>& input_handler, base 22 content/renderer/input/input_handler_wrapper.h const base::WeakPtr<RenderViewImpl>& render_view_impl); base 43 content/renderer/input/input_handler_wrapper.h scoped_refptr<base::MessageLoopProxy> main_loop_; base 46 content/renderer/input/input_handler_wrapper.h base::WeakPtr<RenderViewImpl> render_view_impl_; base 63 content/renderer/input_tag_speech_dispatcher.cc params.grammar = base::UTF16ToUTF8(grammar); base 64 content/renderer/input_tag_speech_dispatcher.cc params.language = base::UTF16ToUTF8(language); base 65 content/renderer/input_tag_speech_dispatcher.cc params.origin_url = base::UTF16ToUTF8(origin.toString()); base 24 content/renderer/internal_document_state_data.h class InternalDocumentStateData : public base::SupportsUserData::Data { base 16 content/renderer/java/java_bridge_channel.cc base::MessageLoopProxy* ipc_message_loop) { base 19 content/renderer/java/java_bridge_channel.h base::MessageLoopProxy* ipc_message_loop); base 69 content/renderer/java/java_bridge_dispatcher.cc const base::string16& name, base 99 content/renderer/java/java_bridge_dispatcher.cc void JavaBridgeDispatcher::OnRemoveNamedObject(const base::string16& name) { base 37 content/renderer/java/java_bridge_dispatcher.h void OnAddNamedObject(const base::string16& name, base 39 content/renderer/java/java_bridge_dispatcher.h void OnRemoveNamedObject(const base::string16& name); base 45 content/renderer/java/java_bridge_dispatcher.h typedef std::map<base::string16, NPVariant> ObjectMap; base 58 content/renderer/load_progress_tracker.cc base::TimeDelta min_delay = base 59 content/renderer/load_progress_tracker.cc base::TimeDelta::FromMilliseconds(kMinimumDelayBetweenUpdatesMS); base 61 content/renderer/load_progress_tracker.cc base::TimeTicks::Now() - last_time_progress_sent_ > min_delay) { base 73 content/renderer/load_progress_tracker.cc base::MessageLoop::current()->PostDelayedTask( base 75 content/renderer/load_progress_tracker.cc base::Bind(&LoadProgressTracker::SendChangeLoadProgress, base 81 content/renderer/load_progress_tracker.cc last_time_progress_sent_ = base::TimeTicks::Now(); base 107 content/renderer/load_progress_tracker.cc last_time_progress_sent_ = base::TimeTicks(); base 35 content/renderer/load_progress_tracker.h typedef base::hash_map<int, double> ProgressMap; base 39 content/renderer/load_progress_tracker.h base::TimeTicks last_time_progress_sent_; base 41 content/renderer/load_progress_tracker.h base::WeakPtrFactory<LoadProgressTracker> weak_factory_; base 30 content/renderer/media/android/audio_decoder_android.cc bool ShareEncodedToProcess(base::SharedMemoryHandle* handle); base 41 content/renderer/media/android/audio_decoder_android.cc base::SharedMemory encoded_shared_memory_; base 91 content/renderer/media/android/audio_decoder_android.cc bool AudioDecoderIO::ShareEncodedToProcess(base::SharedMemoryHandle* handle) { base 93 content/renderer/media/android/audio_decoder_android.cc base::Process::Current().handle(), base 520 content/renderer/media/android/audio_decoder_android.cc base::SharedMemoryHandle encoded_data_handle; base 522 content/renderer/media/android/audio_decoder_android.cc base::FileDescriptor fd(audio_decoder.write_fd(), true); base 43 content/renderer/media/android/media_info_loader.cc start_time_ = base::TimeTicks::Now(); base 187 content/renderer/media/android/media_info_loader.cc base::TimeTicks::Now() - start_time_); base 190 content/renderer/media/android/media_info_loader.cc base::ResetAndReturn(&ready_cb_).Run(status); base 51 content/renderer/media/android/media_info_loader.h typedef base::Callback<void(Status)> ReadyCB; base 118 content/renderer/media/android/media_info_loader.h base::TimeTicks start_time_; base 57 content/renderer/media/android/media_info_loader_unittest.cc base::Bind(&MediaInfoLoaderTest::ReadyCallback, base 58 content/renderer/media/android/media_info_loader_unittest.cc base::Unretained(this)))); base 84 content/renderer/media/android/media_info_loader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 117 content/renderer/media/android/media_info_loader_unittest.cc base::MessageLoop message_loop_; base 51 content/renderer/media/android/media_source_delegate.cc const scoped_refptr<base::MessageLoopProxy>& media_loop, base 65 content/renderer/media/android/media_source_delegate.cc main_loop_(base::MessageLoopProxy::current()), base 107 content/renderer/media/android/media_source_delegate.cc base::Bind(&MediaSourceDelegate::StopDemuxer, base 108 content/renderer/media/android/media_source_delegate.cc base::Unretained(this))); base 113 content/renderer/media/android/media_source_delegate.cc base::AutoLock auto_lock(is_video_encrypted_lock_); base 136 content/renderer/media/android/media_source_delegate.cc chunk_demuxer_->Stop(base::Bind(&MediaSourceDelegate::OnDemuxerStopDone, base 137 content/renderer/media/android/media_source_delegate.cc base::Unretained(this))); base 157 content/renderer/media/android/media_source_delegate.cc base::Bind(&MediaSourceDelegate::OnDemuxerOpened, main_weak_this_)), base 159 content/renderer/media/android/media_source_delegate.cc base::Bind(&MediaSourceDelegate::OnNeedKey, main_weak_this_)), base 160 content/renderer/media/android/media_source_delegate.cc base::Bind(&LogMediaSourceError, media_log_), base 166 content/renderer/media/android/media_source_delegate.cc base::Bind(&MediaSourceDelegate::InitializeDemuxer, base 167 content/renderer/media/android/media_source_delegate.cc base::Unretained(this))); base 174 content/renderer/media/android/media_source_delegate.cc base::Bind(&MediaSourceDelegate::OnDemuxerInitDone, base 201 content/renderer/media/android/media_source_delegate.cc void MediaSourceDelegate::CancelPendingSeek(const base::TimeDelta& seek_time) { base 212 content/renderer/media/android/media_source_delegate.cc base::AutoLock auto_lock(seeking_lock_); base 225 content/renderer/media/android/media_source_delegate.cc const base::TimeDelta& seek_time) { base 237 content/renderer/media/android/media_source_delegate.cc base::AutoLock auto_lock(seeking_lock_); base 253 content/renderer/media/android/media_source_delegate.cc const base::TimeDelta& seek_time, bool is_browser_seek) { base 259 content/renderer/media/android/media_source_delegate.cc base::TimeDelta internal_seek_time = seek_time; base 261 content/renderer/media/android/media_source_delegate.cc base::AutoLock auto_lock(seeking_lock_); base 295 content/renderer/media/android/media_source_delegate.cc void MediaSourceDelegate::SeekInternal(const base::TimeDelta& seek_time) { base 298 content/renderer/media/android/media_source_delegate.cc chunk_demuxer_->Seek(seek_time, base::Bind( base 303 content/renderer/media/android/media_source_delegate.cc void MediaSourceDelegate::AddBufferedTimeRange(base::TimeDelta start, base 304 content/renderer/media/android/media_source_delegate.cc base::TimeDelta end) { base 308 content/renderer/media/android/media_source_delegate.cc void MediaSourceDelegate::SetDuration(base::TimeDelta duration) { base 315 content/renderer/media/android/media_source_delegate.cc main_loop_->PostTask(FROM_HERE, base::Bind( base 319 content/renderer/media/android/media_source_delegate.cc void MediaSourceDelegate::OnDurationChanged(const base::TimeDelta& duration) { base 349 content/renderer/media/android/media_source_delegate.cc stream->Read(base::Bind( base 351 content/renderer/media/android/media_source_delegate.cc media_weak_factory_.GetWeakPtr(), type, base::Passed(&data), index)); base 522 content/renderer/media/android/media_source_delegate.cc base::Bind(&MediaSourceDelegate::OnAudioDecryptingDemuxerStreamInitDone, base 535 content/renderer/media/android/media_source_delegate.cc base::Bind(&MediaSourceDelegate::OnVideoDecryptingDemuxerStreamInitDone, base 597 content/renderer/media/android/media_source_delegate.cc base::Bind(&MediaSourceDelegate::ResetVideoDecryptingDemuxerStream, base 609 content/renderer/media/android/media_source_delegate.cc video_decrypting_demuxer_stream_->Reset(base::Bind( base 622 content/renderer/media/android/media_source_delegate.cc base::AutoLock auto_lock(seeking_lock_); base 634 content/renderer/media/android/media_source_delegate.cc base::Bind(&MediaSourceDelegate::DeleteSelf, base::Unretained(this))); base 685 content/renderer/media/android/media_source_delegate.cc base::AutoLock auto_lock(is_video_encrypted_lock_); base 709 content/renderer/media/android/media_source_delegate.cc chunk_demuxer_.get(), base::Bind(&LogMediaSourceError, media_log_))); base 722 content/renderer/media/android/media_source_delegate.cc base::AutoLock auto_lock(seeking_lock_); base 726 content/renderer/media/android/media_source_delegate.cc base::TimeDelta MediaSourceDelegate::FindBufferedBrowserSeekTime_Locked( base 727 content/renderer/media/android/media_source_delegate.cc const base::TimeDelta& seek_time) const { base 733 content/renderer/media/android/media_source_delegate.cc media::Ranges<base::TimeDelta> buffered = base 737 content/renderer/media/android/media_source_delegate.cc base::TimeDelta range_start = buffered.start(i); base 738 content/renderer/media/android/media_source_delegate.cc base::TimeDelta range_end = buffered.end(i); base 747 content/renderer/media/android/media_source_delegate.cc if ((range_start - seek_time) > base::TimeDelta::FromMilliseconds(100)) base 41 content/renderer/media/android/media_source_delegate.h typedef base::Callback<void(blink::WebMediaSource*)> base 43 content/renderer/media/android/media_source_delegate.h typedef base::Callback<void(blink::WebMediaPlayer::NetworkState)> base 45 content/renderer/media/android/media_source_delegate.h typedef base::Callback<void(const base::TimeDelta&)> DurationChangeCB; base 58 content/renderer/media/android/media_source_delegate.h const scoped_refptr<base::MessageLoopProxy>& media_loop, base 79 content/renderer/media/android/media_source_delegate.h void CancelPendingSeek(const base::TimeDelta& seek_time); base 86 content/renderer/media/android/media_source_delegate.h void StartWaitingForSeek(const base::TimeDelta& seek_time); base 95 content/renderer/media/android/media_source_delegate.h void Seek(const base::TimeDelta& seek_time, bool is_browser_seek); base 114 content/renderer/media/android/media_source_delegate.h virtual void AddBufferedTimeRange(base::TimeDelta start, base 115 content/renderer/media/android/media_source_delegate.h base::TimeDelta end) OVERRIDE; base 116 content/renderer/media/android/media_source_delegate.h virtual void SetDuration(base::TimeDelta duration) OVERRIDE; base 123 content/renderer/media/android/media_source_delegate.h void OnDurationChanged(const base::TimeDelta& duration); base 158 content/renderer/media/android/media_source_delegate.h void SeekInternal(const base::TimeDelta& seek_time); base 180 content/renderer/media/android/media_source_delegate.h base::TimeDelta FindBufferedBrowserSeekTime_Locked( base 181 content/renderer/media/android/media_source_delegate.h const base::TimeDelta& seek_time) const; base 202 content/renderer/media/android/media_source_delegate.h media::Ranges<base::TimeDelta> buffered_time_ranges_; base 214 content/renderer/media/android/media_source_delegate.h mutable base::Lock seeking_lock_; base 218 content/renderer/media/android/media_source_delegate.h mutable base::Lock is_video_encrypted_lock_; base 227 content/renderer/media/android/media_source_delegate.h base::TimeDelta browser_seek_time_; base 233 content/renderer/media/android/media_source_delegate.h const scoped_refptr<base::MessageLoopProxy> main_loop_; base 234 content/renderer/media/android/media_source_delegate.h const scoped_refptr<base::MessageLoopProxy> media_loop_; base 237 content/renderer/media/android/media_source_delegate.h base::WeakPtrFactory<MediaSourceDelegate> main_weak_factory_; base 238 content/renderer/media/android/media_source_delegate.h base::WeakPtrFactory<MediaSourceDelegate> media_weak_factory_; base 239 content/renderer/media/android/media_source_delegate.h base::WeakPtr<MediaSourceDelegate> main_weak_this_; base 46 content/renderer/media/android/renderer_demuxer_android.cc media_message_loop_->PostTask(FROM_HERE, base::Bind( base 69 content/renderer/media/android/renderer_demuxer_android.cc const base::TimeDelta& actual_browser_seek_time) { base 75 content/renderer/media/android/renderer_demuxer_android.cc const base::TimeDelta& duration) { base 98 content/renderer/media/android/renderer_demuxer_android.cc const base::TimeDelta& time_to_seek, base 55 content/renderer/media/android/renderer_demuxer_android.h const base::TimeDelta& actual_browser_seek_time); base 56 content/renderer/media/android/renderer_demuxer_android.h void DurationChanged(int demuxer_client_id, const base::TimeDelta& duration); base 59 content/renderer/media/android/renderer_demuxer_android.h friend class base::RefCountedThreadSafe<RendererDemuxerAndroid>; base 67 content/renderer/media/android/renderer_demuxer_android.h const base::TimeDelta& time_to_seek, base 71 content/renderer/media/android/renderer_demuxer_android.h base::AtomicSequenceNumber next_demuxer_client_id_; base 75 content/renderer/media/android/renderer_demuxer_android.h scoped_refptr<base::MessageLoopProxy> media_message_loop_; base 102 content/renderer/media/android/renderer_media_player_manager.cc const base::TimeDelta& time) { base 124 content/renderer/media/android/renderer_media_player_manager.cc base::TimeDelta duration, base 148 content/renderer/media/android/renderer_media_player_manager.cc const base::TimeDelta& time_to_seek) { base 156 content/renderer/media/android/renderer_media_player_manager.cc const base::TimeDelta& current_time) { base 177 content/renderer/media/android/renderer_media_player_manager.cc base::TimeDelta current_time) { base 65 content/renderer/media/android/renderer_media_player_manager.h void Seek(int player_id, const base::TimeDelta& time); base 154 content/renderer/media/android/renderer_media_player_manager.h base::TimeDelta duration, base 160 content/renderer/media/android/renderer_media_player_manager.h void OnSeekRequest(int player_id, const base::TimeDelta& time_to_seek); base 161 content/renderer/media/android/renderer_media_player_manager.h void OnSeekCompleted(int player_id, const base::TimeDelta& current_time); base 164 content/renderer/media/android/renderer_media_player_manager.h void OnTimeUpdate(int player_id, base::TimeDelta current_time); base 48 content/renderer/media/android/stream_texture_factory.h class StreamTextureFactory : public base::RefCounted<StreamTextureFactory> { base 73 content/renderer/media/android/stream_texture_factory.h friend class base::RefCounted<StreamTextureFactory>; base 35 content/renderer/media/android/stream_texture_factory_impl.cc scoped_refptr<base::MessageLoopProxy> loop_; base 37 content/renderer/media/android/stream_texture_factory_impl.cc base::Lock client_lock_; base 50 content/renderer/media/android/stream_texture_factory_impl.cc if (loop_.get() && loop_.get() != base::MessageLoopProxy::current()) base 57 content/renderer/media/android/stream_texture_factory_impl.cc base::AutoLock lock(client_lock_); base 62 content/renderer/media/android/stream_texture_factory_impl.cc loop_ = base::MessageLoopProxy::current(); base 67 content/renderer/media/android/stream_texture_factory_impl.cc base::AutoLock lock(client_lock_); base 73 content/renderer/media/android/stream_texture_factory_impl.cc base::AutoLock lock(client_lock_); base 42 content/renderer/media/android/stream_texture_factory_impl.h friend class base::RefCounted<StreamTextureFactoryImpl>; base 30 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc public base::SupportsWeakPtr<StreamTextureProxyImpl> { base 45 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc scoped_refptr<base::MessageLoopProxy> loop_; base 46 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc base::Lock client_lock_; base 48 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc base::Closure callback_; base 79 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc base::AutoLock lock(client_lock_); base 91 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc base::Bind(&StreamTextureProxyImpl::BindOnCompositorThread, base 104 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc base::Bind(&StreamTextureProxyImpl::OnFrameAvailable, AsWeakPtr()); base 119 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc base::AutoLock lock(client_lock_); base 128 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc base::AutoLock lock(client_lock_); base 168 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc base::Process::Current().handle(), base 27 content/renderer/media/android/stream_texture_factory_synchronous_impl.h class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> { base 35 content/renderer/media/android/stream_texture_factory_synchronous_impl.h friend class base::RefCountedThreadSafe<ContextProvider>; base 39 content/renderer/media/android/stream_texture_factory_synchronous_impl.h typedef base::Callback<scoped_refptr<ContextProvider>(void)> base 56 content/renderer/media/android/stream_texture_factory_synchronous_impl.h friend class base::RefCounted<StreamTextureFactorySynchronousImpl>; base 86 content/renderer/media/android/webmediaplayer_android.cc base::WeakPtr<WebMediaPlayerDelegate> delegate, base 89 content/renderer/media/android/webmediaplayer_android.cc const scoped_refptr<base::MessageLoopProxy>& media_loop, base 155 content/renderer/media/android/webmediaplayer_android.cc base::AutoLock auto_lock(current_frame_lock_); base 198 content/renderer/media/android/webmediaplayer_android.cc base::Bind(&WebMediaPlayerAndroid::SetDecryptorReadyCB, base 202 content/renderer/media/android/webmediaplayer_android.cc base::Bind(&WebMediaPlayerAndroid::OnMediaSourceOpened, base 204 content/renderer/media/android/webmediaplayer_android.cc base::Bind(&WebMediaPlayerAndroid::OnNeedKey, base 207 content/renderer/media/android/webmediaplayer_android.cc base::Bind(&WebMediaPlayerAndroid::UpdateNetworkState, base 209 content/renderer/media/android/webmediaplayer_android.cc base::Bind(&WebMediaPlayerAndroid::OnDurationChanged, base 217 content/renderer/media/android/webmediaplayer_android.cc base::Bind(&WebMediaPlayerAndroid::DidLoadMediaInfo, base 283 content/renderer/media/android/webmediaplayer_android.cc base::TimeDelta new_seek_time = ConvertSecondsToTimestamp(seconds); base 351 content/renderer/media/android/webmediaplayer_android.cc if (!net::GetMimeTypeFromFile(base::FilePath(url_.path()), &mime)) base 360 content/renderer/media/android/webmediaplayer_android.cc if (!net::GetMimeTypeFromFile(base::FilePath(url_.path()), &mime)) base 457 content/renderer/media/android/webmediaplayer_android.cc base::AutoLock auto_lock(current_frame_lock_); base 563 content/renderer/media/android/webmediaplayer_android.cc const base::TimeDelta& duration, int width, int height, bool success) { base 615 content/renderer/media/android/webmediaplayer_android.cc if (seeking_ && seek_time_ == base::TimeDelta()) base 624 content/renderer/media/android/webmediaplayer_android.cc void WebMediaPlayerAndroid::OnSeekRequest(const base::TimeDelta& time_to_seek) { base 630 content/renderer/media/android/webmediaplayer_android.cc const base::TimeDelta& current_time) { base 716 content/renderer/media/android/webmediaplayer_android.cc void WebMediaPlayerAndroid::OnTimeUpdate(const base::TimeDelta& current_time) { base 782 content/renderer/media/android/webmediaplayer_android.cc void WebMediaPlayerAndroid::OnDurationChanged(const base::TimeDelta& duration) { base 871 content/renderer/media/android/webmediaplayer_android.cc base::AutoLock auto_lock(current_frame_lock_); base 997 content/renderer/media/android/webmediaplayer_android.cc media::BindToCurrentLoop(base::Bind(&OnReleaseTexture, base 1003 content/renderer/media/android/webmediaplayer_android.cc base::TimeDelta() /* timestamp */, base 1035 content/renderer/media/android/webmediaplayer_android.cc media::BindToCurrentLoop(base::Bind( base 1040 content/renderer/media/android/webmediaplayer_android.cc base::TimeDelta(), base 1061 content/renderer/media/android/webmediaplayer_android.cc base::AutoLock auto_lock(current_frame_lock_); base 1068 content/renderer/media/android/webmediaplayer_android.cc base::AutoLock auto_lock(current_frame_lock_); base 1176 content/renderer/media/android/webmediaplayer_android.cc return IsStringASCII(string) ? base::UTF16ToASCII(string) : std::string(); base 1189 content/renderer/media/android/webmediaplayer_android.cc base::LinearHistogram::FactoryGet( base 1192 content/renderer/media/android/webmediaplayer_android.cc base::Histogram::kUmaTargetedHistogramFlag)->Add(sample); base 1199 content/renderer/media/android/webmediaplayer_android.cc base::Histogram::FactoryGet( base 1201 content/renderer/media/android/webmediaplayer_android.cc 1, 1000000, 50, base::Histogram::kUmaTargetedHistogramFlag)->Add(sample); base 1249 content/renderer/media/android/webmediaplayer_android.cc DVLOG(1) << "generateKeyRequest: " << base::string16(key_system) << ": " base 1289 content/renderer/media/android/webmediaplayer_android.cc base::Bind(&WebMediaPlayerAndroid::OnKeyAdded, base 1291 content/renderer/media/android/webmediaplayer_android.cc base::Bind(&WebMediaPlayerAndroid::OnKeyError, base 1293 content/renderer/media/android/webmediaplayer_android.cc base::Bind(&WebMediaPlayerAndroid::OnKeyMessage, base 1302 content/renderer/media/android/webmediaplayer_android.cc base::ResetAndReturn(&decryptor_ready_cb_) base 1335 content/renderer/media/android/webmediaplayer_android.cc DVLOG(1) << "addKey: " << base::string16(key_system) << ": " base 1340 content/renderer/media/android/webmediaplayer_android.cc << base::string16(session_id) << "]"; base 1380 content/renderer/media/android/webmediaplayer_android.cc DVLOG(1) << "cancelKeyRequest: " << base::string16(key_system) << ": " base 1381 content/renderer/media/android/webmediaplayer_android.cc << " [" << base::string16(session_id) << "]"; base 1419 content/renderer/media/android/webmediaplayer_android.cc base::ResetAndReturn(&decryptor_ready_cb_).Run(web_cdm_->GetDecryptor()); base 1501 content/renderer/media/android/webmediaplayer_android.cc base::ResetAndReturn(&decryptor_ready_cb_).Run(NULL); base 34 content/renderer/media/android/webmediaplayer_android.h namespace base { base 77 content/renderer/media/android/webmediaplayer_android.h base::WeakPtr<WebMediaPlayerDelegate> delegate, base 80 content/renderer/media/android/webmediaplayer_android.h const scoped_refptr<base::MessageLoopProxy>& media_loop, base 160 content/renderer/media/android/webmediaplayer_android.h void OnMediaMetadataChanged(const base::TimeDelta& duration, int width, base 164 content/renderer/media/android/webmediaplayer_android.h void OnSeekRequest(const base::TimeDelta& time_to_seek); base 165 content/renderer/media/android/webmediaplayer_android.h void OnSeekComplete(const base::TimeDelta& current_time); base 168 content/renderer/media/android/webmediaplayer_android.h void OnDurationChanged(const base::TimeDelta& duration); base 171 content/renderer/media/android/webmediaplayer_android.h void OnTimeUpdate(const base::TimeDelta& current_time); base 292 content/renderer/media/android/webmediaplayer_android.h base::WeakPtr<WebMediaPlayerDelegate> delegate_; base 305 content/renderer/media/android/webmediaplayer_android.h base::Lock current_frame_lock_; base 307 content/renderer/media/android/webmediaplayer_android.h base::ThreadChecker main_thread_checker_; base 310 content/renderer/media/android/webmediaplayer_android.h const scoped_refptr<base::MessageLoopProxy> media_loop_; base 316 content/renderer/media/android/webmediaplayer_android.h base::TimeDelta duration_; base 326 content/renderer/media/android/webmediaplayer_android.h base::TimeDelta pending_seek_time_; base 330 content/renderer/media/android/webmediaplayer_android.h base::TimeDelta seek_time_; base 441 content/renderer/media/android/webmediaplayer_android.h base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; base 46 content/renderer/media/audio_input_message_filter.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop) base 118 content/renderer/media/audio_input_message_filter.cc base::SharedMemoryHandle handle, base 120 content/renderer/media/audio_input_message_filter.cc base::SyncSocket::Handle socket_handle, base 122 content/renderer/media/audio_input_message_filter.cc base::FileDescriptor socket_descriptor, base 128 content/renderer/media/audio_input_message_filter.cc WebRtcLogMessage(base::StringPrintf( base 133 content/renderer/media/audio_input_message_filter.cc base::SyncSocket::Handle socket_handle = socket_descriptor.fd; base 139 content/renderer/media/audio_input_message_filter.cc base::SharedMemory::CloseHandle(handle); base 140 content/renderer/media/audio_input_message_filter.cc base::SyncSocket socket(socket_handle); base 16 content/renderer/media/audio_input_message_filter.h namespace base { base 30 content/renderer/media/audio_input_message_filter.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop); base 42 content/renderer/media/audio_input_message_filter.h scoped_refptr<base::MessageLoopProxy> io_message_loop() const { base 64 content/renderer/media/audio_input_message_filter.h base::SharedMemoryHandle handle, base 66 content/renderer/media/audio_input_message_filter.h base::SyncSocket::Handle socket_handle, base 68 content/renderer/media/audio_input_message_filter.h base::FileDescriptor socket_descriptor, base 88 content/renderer/media/audio_input_message_filter.h const scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 48 content/renderer/media/audio_message_filter.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop) base 170 content/renderer/media/audio_message_filter.cc base::SharedMemoryHandle handle, base 172 content/renderer/media/audio_message_filter.cc base::SyncSocket::Handle socket_handle, base 174 content/renderer/media/audio_message_filter.cc base::FileDescriptor socket_descriptor, base 179 content/renderer/media/audio_message_filter.cc WebRtcLogMessage(base::StringPrintf( base 184 content/renderer/media/audio_message_filter.cc base::SyncSocket::Handle socket_handle = socket_descriptor.fd; base 191 content/renderer/media/audio_message_filter.cc base::SharedMemory::CloseHandle(handle); base 192 content/renderer/media/audio_message_filter.cc base::SyncSocket socket(socket_handle); base 214 content/renderer/media/audio_message_filter.cc base::AutoLock auto_lock(lock_); base 216 content/renderer/media/audio_message_filter.cc WebRtcLogMessage(base::StringPrintf( base 247 content/renderer/media/audio_message_filter.cc base::AutoLock auto_lock(lock_); base 19 content/renderer/media/audio_message_filter.h namespace base { base 33 content/renderer/media/audio_message_filter.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop); base 54 content/renderer/media/audio_message_filter.h scoped_refptr<base::MessageLoopProxy> io_message_loop() const { base 79 content/renderer/media/audio_message_filter.h void OnStreamCreated(int stream_id, base::SharedMemoryHandle handle, base 81 content/renderer/media/audio_message_filter.h base::SyncSocket::Handle socket_handle, base 83 content/renderer/media/audio_message_filter.h base::FileDescriptor socket_descriptor, base 105 content/renderer/media/audio_message_filter.h base::Lock lock_; base 109 content/renderer/media/audio_message_filter.h const scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 29 content/renderer/media/audio_message_filter_unittest.cc virtual void OnStreamCreated(base::SharedMemoryHandle handle, base 30 content/renderer/media/audio_message_filter_unittest.cc base::SyncSocket::Handle, base 44 content/renderer/media/audio_message_filter_unittest.cc handle_ = base::SharedMemory::NULLHandle(); base 55 content/renderer/media/audio_message_filter_unittest.cc base::SharedMemoryHandle handle() { return handle_; } base 63 content/renderer/media/audio_message_filter_unittest.cc base::SharedMemoryHandle handle_; base 75 content/renderer/media/audio_message_filter_unittest.cc base::MessageLoopForIO message_loop; base 90 content/renderer/media/audio_message_filter_unittest.cc base::SyncSocket::Handle socket_handle; base 92 content/renderer/media/audio_message_filter_unittest.cc base::FileDescriptor socket_handle; base 98 content/renderer/media/audio_message_filter_unittest.cc kStreamId, base::SharedMemory::NULLHandle(), base 101 content/renderer/media/audio_message_filter_unittest.cc EXPECT_FALSE(base::SharedMemory::IsHandleValid(delegate.handle())); base 122 content/renderer/media/audio_message_filter_unittest.cc base::MessageLoopForIO message_loop; base 30 content/renderer/media/audio_renderer_mixer_manager.cc base::Bind( base 31 content/renderer/media/audio_renderer_mixer_manager.cc &AudioRendererMixerManager::GetMixer, base::Unretained(this), base 34 content/renderer/media/audio_renderer_mixer_manager.cc base::Bind( base 35 content/renderer/media/audio_renderer_mixer_manager.cc &AudioRendererMixerManager::RemoveMixer, base::Unretained(this), base 49 content/renderer/media/audio_renderer_mixer_manager.cc base::AutoLock auto_lock(mixers_lock_); base 96 content/renderer/media/audio_renderer_mixer_manager.cc base::AutoLock auto_lock(mixers_lock_); base 88 content/renderer/media/audio_renderer_mixer_manager.h base::Lock mixers_lock_; base 77 content/renderer/media/buffered_data_source.cc base::ResetAndReturn(&read_op->callback_).Run(result); base 81 content/renderer/media/buffered_data_source.cc const scoped_refptr<base::MessageLoopProxy>& render_loop, base 155 content/renderer/media/buffered_data_source.cc base::WeakPtr<BufferedDataSource> weak_this = weak_factory_.GetWeakPtr(); base 157 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::StartCallback, weak_this), base 158 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::LoadingStateChangedCallback, weak_this), base 159 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::ProgressCallback, weak_this), base 182 content/renderer/media/buffered_data_source.cc base::AutoLock auto_lock(lock_); base 213 content/renderer/media/buffered_data_source.cc void BufferedDataSource::Stop(const base::Closure& closure) { base 215 content/renderer/media/buffered_data_source.cc base::AutoLock auto_lock(lock_); base 222 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::StopLoader, weak_factory_.GetWeakPtr())); base 227 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::SetBitrateTask, base 239 content/renderer/media/buffered_data_source.cc base::AutoLock auto_lock(lock_); base 252 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::ReadTask, weak_factory_.GetWeakPtr())); base 312 content/renderer/media/buffered_data_source.cc base::AutoLock auto_lock(lock_); base 330 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::ReadCallback, base 344 content/renderer/media/buffered_data_source.cc base::AutoLock auto_lock(lock_); base 372 content/renderer/media/buffered_data_source.cc base::AutoLock auto_lock(lock_); base 390 content/renderer/media/buffered_data_source.cc base::ResetAndReturn(&init_cb_).Run(success); base 410 content/renderer/media/buffered_data_source.cc base::AutoLock auto_lock(lock_); base 423 content/renderer/media/buffered_data_source.cc base::AutoLock auto_lock(lock_); base 440 content/renderer/media/buffered_data_source.cc base::WeakPtr<BufferedDataSource> weak_this = weak_factory_.GetWeakPtr(); base 442 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::PartialReadStartCallback, weak_this), base 443 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::LoadingStateChangedCallback, base 445 content/renderer/media/buffered_data_source.cc base::Bind(&BufferedDataSource::ProgressCallback, weak_this), base 508 content/renderer/media/buffered_data_source.cc base::AutoLock auto_lock(lock_); base 20 content/renderer/media/buffered_data_source.h namespace base { base 37 content/renderer/media/buffered_data_source.h typedef base::Callback<void(bool)> DownloadingCB; base 43 content/renderer/media/buffered_data_source.h BufferedDataSource(const scoped_refptr<base::MessageLoopProxy>& render_loop, base 54 content/renderer/media/buffered_data_source.h typedef base::Callback<void(bool)> InitializeCB; base 87 content/renderer/media/buffered_data_source.h virtual void Stop(const base::Closure& closure) OVERRIDE; base 184 content/renderer/media/buffered_data_source.h const scoped_refptr<base::MessageLoopProxy> render_loop_; base 187 content/renderer/media/buffered_data_source.h base::Lock lock_; base 214 content/renderer/media/buffered_data_source.h base::WeakPtrFactory<BufferedDataSource> weak_factory_; base 39 content/renderer/media/buffered_data_source_unittest.cc const scoped_refptr<base::MessageLoopProxy>& message_loop, base 43 content/renderer/media/buffered_data_source_unittest.cc base::Bind(&MockBufferedDataSource::set_downloading, base 44 content/renderer/media/buffered_data_source_unittest.cc base::Unretained(this))), base 117 content/renderer/media/buffered_data_source_unittest.cc gurl, BufferedResourceLoader::kUnspecified, base::Bind( base 118 content/renderer/media/buffered_data_source_unittest.cc &BufferedDataSourceTest::OnInitialize, base::Unretained(this))); base 186 content/renderer/media/buffered_data_source_unittest.cc base::Bind(&BufferedDataSourceTest::ReadCallback, base 187 content/renderer/media/buffered_data_source_unittest.cc base::Unretained(this))); base 216 content/renderer/media/buffered_data_source_unittest.cc base::MessageLoop message_loop_; base 495 content/renderer/media/buffered_data_source_unittest.cc data_source_->Stop(base::Bind(&SetTrue, &stop_done_called)); base 506 content/renderer/media/buffered_data_source_unittest.cc data_source_->Read(0, arraysize(buffer), buffer, base::Bind( base 507 content/renderer/media/buffered_data_source_unittest.cc &BufferedDataSourceTest::ReadCallback, base::Unretained(this))); base 374 content/renderer/media/buffered_resource_loader.cc int max_enum = base::bits::Log2Ceiling(kMaxReason); base 705 content/renderer/media/buffered_resource_loader.cc if (!base::StringToInt64(range_spec.substr(0, dash_offset), base 707 content/renderer/media/buffered_resource_loader.cc !base::StringToInt64(range_spec.substr(dash_offset + 1, base 716 content/renderer/media/buffered_resource_loader.cc if (!base::StringToInt64(range_spec.substr(slash_offset + 1), base 765 content/renderer/media/buffered_resource_loader.cc base::ResetAndReturn(&read_cb_).Run(status, bytes_read); base 770 content/renderer/media/buffered_resource_loader.cc base::ResetAndReturn(&start_cb_).Run(status); base 103 content/renderer/media/buffered_resource_loader.h typedef base::Callback<void(Status)> StartCB; base 104 content/renderer/media/buffered_resource_loader.h typedef base::Callback<void(LoadingState)> LoadingStateChangedCB; base 105 content/renderer/media/buffered_resource_loader.h typedef base::Callback<void(int64)> ProgressCB; base 125 content/renderer/media/buffered_resource_loader.h typedef base::Callback<void(Status, int)> ReadCB; base 109 content/renderer/media/buffered_resource_loader_unittest.cc base::Bind(&BufferedResourceLoaderTest::StartCallback, base 110 content/renderer/media/buffered_resource_loader_unittest.cc base::Unretained(this)), base 111 content/renderer/media/buffered_resource_loader_unittest.cc base::Bind(&BufferedResourceLoaderTest::LoadingCallback, base 112 content/renderer/media/buffered_resource_loader_unittest.cc base::Unretained(this)), base 113 content/renderer/media/buffered_resource_loader_unittest.cc base::Bind(&BufferedResourceLoaderTest::ProgressCallback, base 114 content/renderer/media/buffered_resource_loader_unittest.cc base::Unretained(this)), base 128 content/renderer/media/buffered_resource_loader_unittest.cc WebString::fromUTF8(base::StringPrintf("%" base 153 content/renderer/media/buffered_resource_loader_unittest.cc WebString::fromUTF8(base::StringPrintf("bytes " base 197 content/renderer/media/buffered_resource_loader_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 236 content/renderer/media/buffered_resource_loader_unittest.cc base::Bind(&BufferedResourceLoaderTest::ReadCallback, base 237 content/renderer/media/buffered_resource_loader_unittest.cc base::Unretained(this))); base 302 content/renderer/media/buffered_resource_loader_unittest.cc base::MessageLoop message_loop_; base 384 content/renderer/media/buffered_resource_loader_unittest.cc WebString::fromUTF8(base::StringPrintf("bytes " base 18 content/renderer/media/cache_util.cc using base::Time; base 19 content/renderer/media/cache_util.cc using base::TimeDelta; base 66 content/renderer/media/cache_util.cc base::StringToInt64( base 67 content/renderer/media/cache_util.cc base::StringPiece(cache_control_header.begin() + kMaxAgePrefixLen, base 88 content/renderer/media/cache_util_unittest.cc SCOPED_TRACE(base::StringPrintf("case: %" PRIuS base 36 content/renderer/media/cdm_session_adapter.cc base::WeakPtr<CdmSessionAdapter> weak_this = weak_ptr_factory_.GetWeakPtr(); base 47 content/renderer/media/cdm_session_adapter.cc base::Bind(&CdmSessionAdapter::OnSessionCreated, weak_this), base 48 content/renderer/media/cdm_session_adapter.cc base::Bind(&CdmSessionAdapter::OnSessionMessage, weak_this), base 49 content/renderer/media/cdm_session_adapter.cc base::Bind(&CdmSessionAdapter::OnSessionReady, weak_this), base 50 content/renderer/media/cdm_session_adapter.cc base::Bind(&CdmSessionAdapter::OnSessionClosed, weak_this), base 51 content/renderer/media/cdm_session_adapter.cc base::Bind(&CdmSessionAdapter::OnSessionError, weak_this)); base 30 content/renderer/media/cdm_session_adapter.h class CdmSessionAdapter : public base::RefCounted<CdmSessionAdapter> { base 78 content/renderer/media/cdm_session_adapter.h friend class base::RefCounted<CdmSessionAdapter>; base 109 content/renderer/media/cdm_session_adapter.h base::WeakPtrFactory<CdmSessionAdapter> weak_ptr_factory_; base 84 content/renderer/media/crypto/key_systems.cc friend struct base::DefaultLazyInstanceTraits<KeySystems>; base 86 content/renderer/media/crypto/key_systems.cc typedef base::hash_set<std::string> CodecSet; base 126 content/renderer/media/crypto/key_systems.cc static base::LazyInstance<KeySystems> g_key_systems = LAZY_INSTANCE_INITIALIZER; base 51 content/renderer/media/crypto/key_systems_support_uma.h typedef base::ScopedPtrHashMap<std::string, Reporter> Reporters; base 36 content/renderer/media/crypto/pepper_cdm_wrapper.h typedef base::Callback<scoped_ptr<PepperCdmWrapper>( base 67 content/renderer/media/crypto/ppapi_decryptor.cc render_loop_proxy_(base::MessageLoopProxy::current()), base 76 content/renderer/media/crypto/ppapi_decryptor.cc base::WeakPtr<PpapiDecryptor> weak_this = weak_ptr_factory_.GetWeakPtr(); base 79 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::OnSessionCreated, weak_this), base 80 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::OnSessionMessage, weak_this), base 81 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::OnSessionReady, weak_this), base 82 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::OnSessionClosed, weak_this), base 83 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::OnSessionError, weak_this), base 84 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::OnFatalPluginError, weak_this)); base 152 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::RegisterNewKeyCB, base 178 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::Decrypt, base 196 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::CancelDecrypt, base 213 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::InitializeAudioDecoder, base 227 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::OnDecoderInitialized, base 230 content/renderer/media/crypto/ppapi_decryptor.cc base::ResetAndReturn(&audio_decoder_init_cb_).Run(false); base 241 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::InitializeVideoDecoder, base 255 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::OnDecoderInitialized, base 258 content/renderer/media/crypto/ppapi_decryptor.cc base::ResetAndReturn(&video_decoder_init_cb_).Run(false); base 269 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::DecryptAndDecodeAudio, base 289 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::DecryptAndDecodeVideo, base 306 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::ResetDecoder, base 321 content/renderer/media/crypto/ppapi_decryptor.cc base::Bind(&PpapiDecryptor::DeinitializeDecoder, base 344 content/renderer/media/crypto/ppapi_decryptor.cc base::ResetAndReturn(&audio_decoder_init_cb_).Run(success); base 348 content/renderer/media/crypto/ppapi_decryptor.cc base::ResetAndReturn(&video_decoder_init_cb_).Run(success); base 19 content/renderer/media/crypto/ppapi_decryptor.h namespace base { base 118 content/renderer/media/crypto/ppapi_decryptor.h scoped_refptr<base::MessageLoopProxy> render_loop_proxy_; base 126 content/renderer/media/crypto/ppapi_decryptor.h base::WeakPtrFactory<PpapiDecryptor> weak_ptr_factory_; base 202 content/renderer/media/crypto/proxy_decryptor.cc base::Bind(&ProxyDecryptor::OnSessionCreated, base 204 content/renderer/media/crypto/proxy_decryptor.cc base::Bind(&ProxyDecryptor::OnSessionMessage, base 206 content/renderer/media/crypto/proxy_decryptor.cc base::Bind(&ProxyDecryptor::OnSessionReady, base 208 content/renderer/media/crypto/proxy_decryptor.cc base::Bind(&ProxyDecryptor::OnSessionClosed, base 210 content/renderer/media/crypto/proxy_decryptor.cc base::Bind(&ProxyDecryptor::OnSessionError, base 274 content/renderer/media/crypto/proxy_decryptor.cc return (it != sessions_.end()) ? it->second : base::EmptyString(); base 49 content/renderer/media/crypto/proxy_decryptor.h typedef base::Callback<void(const std::string& session_id)> KeyAddedCB; base 50 content/renderer/media/crypto/proxy_decryptor.h typedef base::Callback<void(const std::string& session_id, base 53 content/renderer/media/crypto/proxy_decryptor.h typedef base::Callback<void(const std::string& session_id, base 146 content/renderer/media/crypto/proxy_decryptor.h base::WeakPtrFactory<ProxyDecryptor> weak_ptr_factory_; base 29 content/renderer/media/media_stream.h typedef base::Callback<void(const std::string& label)> StreamStopCallback; base 32 content/renderer/media/media_stream_audio_level_calculator.h base::ThreadChecker thread_checker_; base 133 content/renderer/media/media_stream_audio_processor.cc base::TimeDelta buffer_delay) OVERRIDE { base 146 content/renderer/media/media_stream_audio_processor.cc base::ThreadChecker thread_checker_; base 207 content/renderer/media/media_stream_audio_processor.cc base::TimeDelta capture_delay, int volume, bool key_pressed, base 231 content/renderer/media/media_stream_audio_processor.cc const base::PlatformFile& aec_dump_file) { base 253 content/renderer/media/media_stream_audio_processor.cc std::numeric_limits<base::subtle::Atomic32>::max()); base 254 content/renderer/media/media_stream_audio_processor.cc base::subtle::Release_Store(&render_delay_ms_, audio_delay_milliseconds); base 274 content/renderer/media/media_stream_audio_processor.cc (base::subtle::Acquire_Load(&typing_detected_) != false); base 449 content/renderer/media/media_stream_audio_processor.cc base::TimeDelta capture_delay, base 464 content/renderer/media/media_stream_audio_processor.cc base::subtle::Atomic32 render_delay_ms = base 465 content/renderer/media/media_stream_audio_processor.cc base::subtle::Acquire_Load(&render_delay_ms_); base 468 content/renderer/media/media_stream_audio_processor.cc std::numeric_limits<base::subtle::Atomic32>::max()); base 491 content/renderer/media/media_stream_audio_processor.cc base::subtle::Release_Store(&typing_detected_, typing_detected); base 514 content/renderer/media/media_stream_audio_processor.cc base::FieldTrialList::FindFullName("MediaStreamAudioTrackProcessing"); base 82 content/renderer/media/media_stream_audio_processor.h bool ProcessAndConsumeData(base::TimeDelta capture_delay, base 102 content/renderer/media/media_stream_audio_processor.h void StartAecDump(const base::PlatformFile& aec_dump_file); base 106 content/renderer/media/media_stream_audio_processor.h friend class base::RefCountedThreadSafe<MediaStreamAudioProcessor>; base 141 content/renderer/media/media_stream_audio_processor.h base::TimeDelta capture_delay, base 150 content/renderer/media/media_stream_audio_processor.h base::subtle::Atomic32 render_delay_ms_; base 177 content/renderer/media/media_stream_audio_processor.h base::ThreadChecker main_thread_checker_; base 180 content/renderer/media/media_stream_audio_processor.h base::ThreadChecker capture_thread_checker_; base 183 content/renderer/media/media_stream_audio_processor.h base::ThreadChecker render_thread_checker_; base 194 content/renderer/media/media_stream_audio_processor.h base::subtle::Atomic32 typing_detected_; base 148 content/renderer/media/media_stream_audio_processor_options.cc const base::PlatformFile& aec_dump_file) { base 149 content/renderer/media/media_stream_audio_processor_options.cc DCHECK_NE(aec_dump_file, base::kInvalidPlatformFileValue); base 151 content/renderer/media/media_stream_audio_processor_options.cc FILE* stream = base::FdopenPlatformFile(aec_dump_file, "w"); base 75 content/renderer/media/media_stream_audio_processor_options.h const base::PlatformFile& aec_dump_file); base 42 content/renderer/media/media_stream_audio_processor_unittest.cc base::FilePath file; base 43 content/renderer/media/media_stream_audio_processor_unittest.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &file)); base 48 content/renderer/media/media_stream_audio_processor_unittest.cc DCHECK(base::PathExists(file)); base 50 content/renderer/media/media_stream_audio_processor_unittest.cc DCHECK(base::GetFileSize(file, &data_file_size64)); base 51 content/renderer/media/media_stream_audio_processor_unittest.cc EXPECT_EQ(length, base::ReadFile(file, data, length)); base 101 content/renderer/media/media_stream_audio_processor_unittest.cc base::TimeDelta::FromMilliseconds(10), 255, false, &new_volume, base 14 content/renderer/media/media_stream_audio_renderer.h : public base::RefCountedThreadSafe<MediaStreamAudioRenderer> { base 34 content/renderer/media/media_stream_audio_renderer.h virtual base::TimeDelta GetCurrentRenderTime() const = 0; base 41 content/renderer/media/media_stream_audio_renderer.h friend class base::RefCountedThreadSafe<MediaStreamAudioRenderer>; base 25 content/renderer/media/media_stream_audio_sink_owner.cc base::AutoLock lock(lock_); base 40 content/renderer/media/media_stream_audio_sink_owner.cc base::AutoLock lock(lock_); base 47 content/renderer/media/media_stream_audio_sink_owner.cc base::AutoLock lock(lock_); base 53 content/renderer/media/media_stream_audio_sink_owner.cc base::AutoLock lock(lock_); base 60 content/renderer/media/media_stream_audio_sink_owner.cc base::AutoLock lock(lock_); base 43 content/renderer/media/media_stream_audio_sink_owner.h mutable base::Lock lock_; base 22 content/renderer/media/media_stream_audio_track_sink.h : public base::RefCountedThreadSafe<MediaStreamAudioTrackSink> { base 67 content/renderer/media/media_stream_audio_track_sink.h friend class base::RefCountedThreadSafe<MediaStreamAudioTrackSink>; base 27 content/renderer/media/media_stream_client.h const base::Closure& error_cb, base 170 content/renderer/media/media_stream_dependency_factory.cc aec_dump_file_(base::kInvalidPlatformFileValue) { base 175 content/renderer/media/media_stream_dependency_factory.cc if (aec_dump_file_ != base::kInvalidPlatformFileValue) base 176 content/renderer/media/media_stream_dependency_factory.cc base::ClosePlatformFile(aec_dump_file_); base 341 content/renderer/media/media_stream_dependency_factory.cc blink::WebString webkit_track_id(base::UTF8ToUTF16(track_id)); base 407 content/renderer/media/media_stream_dependency_factory.cc base::WaitableEvent start_worker_event(true, false); base 408 content/renderer/media/media_stream_dependency_factory.cc chrome_worker_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 410 content/renderer/media/media_stream_dependency_factory.cc base::Unretained(this), base 416 content/renderer/media/media_stream_dependency_factory.cc base::WaitableEvent create_network_manager_event(true, false); base 417 content/renderer/media/media_stream_dependency_factory.cc chrome_worker_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 419 content/renderer/media/media_stream_dependency_factory.cc base::Unretained(this), base 477 content/renderer/media/media_stream_dependency_factory.cc if (aec_dump_file_ != base::kInvalidPlatformFileValue) { base 479 content/renderer/media/media_stream_dependency_factory.cc aec_dump_file_ = base::kInvalidPlatformFileValue; base 661 content/renderer/media/media_stream_dependency_factory.cc base::WaitableEvent* event) { base 669 content/renderer/media/media_stream_dependency_factory.cc base::WaitableEvent* event) { base 670 content/renderer/media/media_stream_dependency_factory.cc DCHECK_EQ(base::MessageLoop::current(), chrome_worker_thread_.message_loop()); base 676 content/renderer/media/media_stream_dependency_factory.cc DCHECK_EQ(base::MessageLoop::current(), chrome_worker_thread_.message_loop()); base 687 content/renderer/media/media_stream_dependency_factory.cc chrome_worker_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 689 content/renderer/media/media_stream_dependency_factory.cc base::Unretained(this))); base 749 content/renderer/media/media_stream_dependency_factory.cc DCHECK_EQ(aec_dump_file_, base::kInvalidPlatformFileValue); base 750 content/renderer/media/media_stream_dependency_factory.cc base::PlatformFile file = base 752 content/renderer/media/media_stream_dependency_factory.cc DCHECK_NE(file, base::kInvalidPlatformFileValue); base 778 content/renderer/media/media_stream_dependency_factory.cc if (aec_dump_file_ != base::kInvalidPlatformFileValue) base 779 content/renderer/media/media_stream_dependency_factory.cc base::ClosePlatformFile(aec_dump_file_); base 780 content/renderer/media/media_stream_dependency_factory.cc aec_dump_file_ = base::kInvalidPlatformFileValue; base 784 content/renderer/media/media_stream_dependency_factory.cc const base::PlatformFile& aec_dump_file) { base 21 content/renderer/media/media_stream_dependency_factory.h namespace base { base 58 content/renderer/media/media_stream_dependency_factory.h : NON_EXPORTED_BASE(public base::NonThreadSafe), base 62 content/renderer/media/media_stream_dependency_factory.h typedef base::Callback<void(blink::WebMediaStream* web_stream, base 195 content/renderer/media/media_stream_dependency_factory.h base::WaitableEvent* event); base 197 content/renderer/media/media_stream_dependency_factory.h void CreateIpcNetworkManagerOnWorkerThread(base::WaitableEvent* event); base 207 content/renderer/media/media_stream_dependency_factory.h void StartAecDump(const base::PlatformFile& aec_dump_file); base 226 content/renderer/media/media_stream_dependency_factory.h base::Thread chrome_worker_thread_; base 228 content/renderer/media/media_stream_dependency_factory.h base::PlatformFile aec_dump_file_; base 40 content/renderer/media/media_stream_dispatcher.cc Request(const base::WeakPtr<MediaStreamDispatcherEventHandler>& handler, base 49 content/renderer/media/media_stream_dispatcher.cc const base::WeakPtr<MediaStreamDispatcherEventHandler>& handler1) { base 52 content/renderer/media/media_stream_dispatcher.cc base::WeakPtr<MediaStreamDispatcherEventHandler> handler; base 60 content/renderer/media/media_stream_dispatcher.cc base::WeakPtr<MediaStreamDispatcherEventHandler> handler; base 67 content/renderer/media/media_stream_dispatcher.cc main_loop_(base::MessageLoopProxy::current()), base 75 content/renderer/media/media_stream_dispatcher.cc const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler, base 89 content/renderer/media/media_stream_dispatcher.cc const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler) { base 135 content/renderer/media/media_stream_dispatcher.cc const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler, base 158 content/renderer/media/media_stream_dispatcher.cc const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler) { base 175 content/renderer/media/media_stream_dispatcher.cc const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler, base 192 content/renderer/media/media_stream_dispatcher.cc const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler) { base 21 content/renderer/media/media_stream_dispatcher.h namespace base { base 36 content/renderer/media/media_stream_dispatcher.h public base::SupportsWeakPtr<MediaStreamDispatcher> { base 46 content/renderer/media/media_stream_dispatcher.h const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler, base 53 content/renderer/media/media_stream_dispatcher.h const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler); base 61 content/renderer/media/media_stream_dispatcher.h const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler, base 68 content/renderer/media/media_stream_dispatcher.h const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler); base 73 content/renderer/media/media_stream_dispatcher.h const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler, base 81 content/renderer/media/media_stream_dispatcher.h const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler); base 134 content/renderer/media/media_stream_dispatcher.h scoped_refptr<base::MessageLoopProxy> main_loop_; base 34 content/renderer/media/media_stream_dispatcher_unittest.cc public base::SupportsWeakPtr<MockMediaStreamDispatcherEventHandler> { base 156 content/renderer/media/media_stream_dispatcher_unittest.cc std::string label = "stream" + base::IntToString(ipc_id); base 176 content/renderer/media/media_stream_dispatcher_unittest.cc base::MessageLoop message_loop_; base 155 content/renderer/media/media_stream_impl.cc WebRtcLogMessage(base::StringPrintf( base 204 content/renderer/media/media_stream_impl.cc const base::Closure& error_cb, base 213 content/renderer/media/media_stream_impl.cc << base::UTF16ToUTF8(web_stream.id()); base 234 content/renderer/media/media_stream_impl.cc << base::UTF16ToUTF8(web_stream.id()); base 337 content/renderer/media/media_stream_impl.cc blink::WebString webkit_id = base::UTF8ToUTF16(label); base 345 content/renderer/media/media_stream_impl.cc base::Bind(&MediaStreamImpl::OnLocalMediaStreamStop, AsWeakPtr()), base 350 content/renderer/media/media_stream_impl.cc base::Bind(&MediaStreamImpl::OnCreateNativeTracksCompleted, AsWeakPtr())); base 433 content/renderer/media/media_stream_impl.cc base::UTF8ToUTF16(device.device.id), base 435 content/renderer/media/media_stream_impl.cc base::UTF8ToUTF16(device.device.name)); base 445 content/renderer/media/media_stream_impl.cc base::Bind(&MediaStreamImpl::OnLocalSourceStopped, AsWeakPtr()))); base 452 content/renderer/media/media_stream_impl.cc base::Bind(&MediaStreamImpl::OnLocalSourceStopped, AsWeakPtr()), base 499 content/renderer/media/media_stream_impl.cc WebRtcLogMessage(base::StringPrintf( base 665 content/renderer/media/media_stream_impl.cc if ((*it)->generated && (*it)->web_stream.id() == base::UTF8ToUTF16(label)) base 883 content/renderer/media/media_stream_impl.cc track, constraints, base::Bind( base 900 content/renderer/media/media_stream_impl.cc native_source, constraints, base::Bind( base 50 content/renderer/media/media_stream_impl.h public base::SupportsWeakPtr<MediaStreamImpl>, base 51 content/renderer/media/media_stream_impl.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 69 content/renderer/media/media_stream_impl.h const base::Closure& error_cb, base 132 content/renderer/media/media_stream_impl.h : public base::SupportsWeakPtr<UserMediaRequestInfo> { base 134 content/renderer/media/media_stream_impl.h typedef base::Callback<void(UserMediaRequestInfo* request_info, base 24 content/renderer/media/media_stream_source.h typedef base::Callback<void(const blink::WebMediaStreamSource& source)> base 27 content/renderer/media/media_stream_source.h typedef base::Callback<void(MediaStreamSource* source, base 39 content/renderer/media/media_stream_video_capture_source_unittest.cc webkit_source_.initialize(base::UTF8ToUTF16("dummy_source_id"), base 41 content/renderer/media/media_stream_video_capture_source_unittest.cc base::UTF8ToUTF16("dummy_source_name")); base 52 content/renderer/media/media_stream_video_capture_source_unittest.cc base::Bind( base 54 content/renderer/media/media_stream_video_capture_source_unittest.cc base::Unretained(this)), base 47 content/renderer/media/media_stream_video_capturer_source.cc message_loop_proxy_ = base::MessageLoopProxy::current(); base 80 content/renderer/media/media_stream_video_capturer_source.cc capture_engine_->GetDeviceFormatsInUse(base::Bind( base 129 content/renderer/media/media_stream_video_capturer_source.cc base::Bind(&VideoCapturerDelegate::OnErrorOnRenderThread, this, capture)); base 148 content/renderer/media/media_stream_video_capturer_source.cc base::Bind(&VideoCapturerDelegate::OnFrameReadyOnRenderThread, base 177 content/renderer/media/media_stream_video_capturer_source.cc DCHECK(message_loop_proxy_ == base::MessageLoopProxy::current()); base 188 content/renderer/media/media_stream_video_capturer_source.cc capture_engine_->GetDeviceSupportedFormats(base::Bind( base 197 content/renderer/media/media_stream_video_capturer_source.cc DCHECK(message_loop_proxy_ == base::MessageLoopProxy::current()); base 239 content/renderer/media/media_stream_video_capturer_source.cc base::Bind(&MediaStreamVideoCapturerSource::OnSupportedFormats, base 240 content/renderer/media/media_stream_video_capturer_source.cc base::Unretained(this))); base 252 content/renderer/media/media_stream_video_capturer_source.cc base::Bind(&MediaStreamVideoCapturerSource::DeliverVideoFrame, base 253 content/renderer/media/media_stream_video_capturer_source.cc base::Unretained(this)), base 254 content/renderer/media/media_stream_video_capturer_source.cc base::Bind(&MediaStreamVideoCapturerSource::OnStartDone, base 255 content/renderer/media/media_stream_video_capturer_source.cc base::Unretained(this))); base 23 content/renderer/media/media_stream_video_capturer_source.h public base::RefCountedThreadSafe<VideoCapturerDelegate> { base 25 content/renderer/media/media_stream_video_capturer_source.h typedef base::Callback<void(const scoped_refptr<media::VideoFrame>&)> base 27 content/renderer/media/media_stream_video_capturer_source.h typedef base::Callback<void(bool running)> StartedCallback; base 28 content/renderer/media/media_stream_video_capturer_source.h typedef base::Callback<void(const media::VideoCaptureFormats& formats)> base 70 content/renderer/media/media_stream_video_capturer_source.h friend class base::RefCountedThreadSafe<VideoCapturerDelegate>; base 100 content/renderer/media/media_stream_video_capturer_source.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 91 content/renderer/media/media_stream_video_source.cc base::StringToDouble(constraint_value, &double_value); base 109 content/renderer/media/media_stream_video_source.cc if (!base::StringToInt(constraint_value, &value)) { base 214 content/renderer/media/media_stream_video_source.cc base::StringToInt(value_str.utf8(), value); base 418 content/renderer/media/media_stream_video_source.cc frame, rect, rect.size(), base::Bind(&ReleaseOriginalFrame, frame)); base 48 content/renderer/media/media_stream_video_source.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 37 content/renderer/media/media_stream_video_source_unittest.cc webkit_source_.initialize(base::UTF8ToUTF16("dummy_source_id"), base 39 content/renderer/media/media_stream_video_source_unittest.cc base::UTF8ToUTF16("dummy_source_name")); base 52 content/renderer/media/media_stream_video_source_unittest.cc base::Bind( base 54 content/renderer/media/media_stream_video_source_unittest.cc base::Unretained(this)), base 72 content/renderer/media/media_stream_video_track.h base::ThreadChecker thread_checker_; base 19 content/renderer/media/media_stream_video_track_unittest.cc webkit_source_.initialize(base::UTF8ToUTF16("dummy_source_id"), base 21 content/renderer/media/media_stream_video_track_unittest.cc base::UTF8ToUTF16("dummy_source_name")); base 52 content/renderer/media/midi_dispatcher.cc base::string16 origin = request.securityOrigin().toString(); base 16 content/renderer/media/midi_message_filter.cc using base::AutoLock; base 26 content/renderer/media/midi_message_filter.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop) base 29 content/renderer/media/midi_message_filter.cc main_message_loop_(base::MessageLoopProxy::current()), base 84 content/renderer/media/midi_message_filter.cc base::Bind(&MidiMessageFilter::StartSessionOnIOThread, this, base 109 content/renderer/media/midi_message_filter.cc base::Bind(&MidiMessageFilter::HandleSessionStarted, this, base 126 content/renderer/media/midi_message_filter.cc base::UTF8ToUTF16(inputs[i].id), base 127 content/renderer/media/midi_message_filter.cc base::UTF8ToUTF16(inputs[i].manufacturer), base 128 content/renderer/media/midi_message_filter.cc base::UTF8ToUTF16(inputs[i].name), base 129 content/renderer/media/midi_message_filter.cc base::UTF8ToUTF16(inputs[i].version)); base 134 content/renderer/media/midi_message_filter.cc base::UTF8ToUTF16(outputs[i].id), base 135 content/renderer/media/midi_message_filter.cc base::UTF8ToUTF16(outputs[i].manufacturer), base 136 content/renderer/media/midi_message_filter.cc base::UTF8ToUTF16(outputs[i].name), base 137 content/renderer/media/midi_message_filter.cc base::UTF8ToUTF16(outputs[i].version)); base 163 content/renderer/media/midi_message_filter.cc base::Bind(&MidiMessageFilter::HandleDataReceived, this, base 195 content/renderer/media/midi_message_filter.cc base::Bind(&MidiMessageFilter::SendMidiDataOnIOThread, this, base 17 content/renderer/media/midi_message_filter.h namespace base { base 28 content/renderer/media/midi_message_filter.h const scoped_refptr<base::MessageLoopProxy>& io_message_loop); base 45 content/renderer/media/midi_message_filter.h scoped_refptr<base::MessageLoopProxy> io_message_loop() const { base 101 content/renderer/media/midi_message_filter.h const scoped_refptr<base::MessageLoopProxy> io_message_loop_; base 104 content/renderer/media/midi_message_filter.h scoped_refptr<base::MessageLoopProxy> main_message_loop_; base 29 content/renderer/media/mock_media_constraint_factory.cc mandatory_.push_back(blink::WebMediaConstraint(base::UTF8ToUTF16(key), base 30 content/renderer/media/mock_media_constraint_factory.cc base::IntToString16(value))); base 36 content/renderer/media/mock_media_constraint_factory.cc base::UTF8ToUTF16(key), base 37 content/renderer/media/mock_media_constraint_factory.cc base::UTF8ToUTF16(base::DoubleToString(value)))); base 42 content/renderer/media/mock_media_constraint_factory.cc optional_.push_back(blink::WebMediaConstraint(base::UTF8ToUTF16(key), base 43 content/renderer/media/mock_media_constraint_factory.cc base::IntToString16(value))); base 49 content/renderer/media/mock_media_constraint_factory.cc base::UTF8ToUTF16(key), base 50 content/renderer/media/mock_media_constraint_factory.cc base::UTF8ToUTF16(base::DoubleToString(value)))); base 26 content/renderer/media/mock_media_stream_dispatcher.cc const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler, base 31 content/renderer/media/mock_media_stream_dispatcher.cc stream_label_ = "local_stream" + base::IntToString(request_id); base 37 content/renderer/media/mock_media_stream_dispatcher.cc audio.device.id = "audio_device_id" + base::IntToString(session_id_); base 45 content/renderer/media/mock_media_stream_dispatcher.cc video.device.id = "video_device_id" + base::IntToString(session_id_); base 56 content/renderer/media/mock_media_stream_dispatcher.cc const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler) { base 23 content/renderer/media/mock_media_stream_dispatcher.h const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler, base 28 content/renderer/media/mock_media_stream_dispatcher.h const base::WeakPtr<MediaStreamDispatcherEventHandler>& base 48 content/renderer/media/mock_media_stream_dispatcher.h base::WeakPtr<MediaStreamDispatcherEventHandler> event_handler_; base 32 content/renderer/media/mock_media_stream_registry.cc blink::WebString webkit_stream_label(base::UTF8ToUTF16(stream->label())); base 35 content/renderer/media/mock_web_rtc_peer_connection_handler_client.cc candidate_sdp_ = base::UTF16ToUTF8(candidate.candidate()); base 37 content/renderer/media/mock_web_rtc_peer_connection_handler_client.cc candidate_mid_ = base::UTF16ToUTF8(candidate.sdpMid()); base 25 content/renderer/media/peer_connection_audio_sink_owner.cc base::AutoLock lock(lock_); base 43 content/renderer/media/peer_connection_audio_sink_owner.cc base::AutoLock lock(lock_); base 54 content/renderer/media/peer_connection_audio_sink_owner.cc base::AutoLock lock(lock_); base 67 content/renderer/media/peer_connection_audio_sink_owner.cc base::AutoLock lock(lock_); base 43 content/renderer/media/peer_connection_audio_sink_owner.h mutable base::Lock lock_; base 20 content/renderer/media/peer_connection_handler_base.cc message_loop_proxy_(base::MessageLoopProxy::current()) { base 54 content/renderer/media/peer_connection_handler_base.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 35 content/renderer/media/peer_connection_identity_service.cc base::Bind(&PeerConnectionIdentityService::OnIdentityReady, base 36 content/renderer/media/peer_connection_identity_service.cc base::Unretained(this)), base 37 content/renderer/media/peer_connection_identity_service.cc base::Bind(&PeerConnectionIdentityService::OnRequestFailed, base 38 content/renderer/media/peer_connection_identity_service.cc base::Unretained(this))); base 69 content/renderer/media/peer_connection_tracker.cc string id = base::UTF16ToUTF8(component.source().id()); base 75 content/renderer/media/peer_connection_tracker.cc string label = base::UTF16ToUTF8(stream.id()); base 160 content/renderer/media/peer_connection_tracker.cc static base::DictionaryValue* GetDictValueStats( base 165 content/renderer/media/peer_connection_tracker.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 168 content/renderer/media/peer_connection_tracker.cc base::ListValue* values = new base::ListValue(); base 180 content/renderer/media/peer_connection_tracker.cc static base::DictionaryValue* GetDictValue(const webrtc::StatsReport& report) { base 181 content/renderer/media/peer_connection_tracker.cc scoped_ptr<base::DictionaryValue> stats, result; base 187 content/renderer/media/peer_connection_tracker.cc result.reset(new base::DictionaryValue()); base 205 content/renderer/media/peer_connection_tracker.cc base::ListValue list; base 208 content/renderer/media/peer_connection_tracker.cc base::DictionaryValue* report = GetDictValue(reports[i]); base 314 content/renderer/media/peer_connection_tracker.cc string sdp = base::UTF16ToUTF8(desc.sdp()); base 315 content/renderer/media/peer_connection_tracker.cc string type = base::UTF16ToUTF8(desc.type()); base 340 content/renderer/media/peer_connection_tracker.cc string value = "mid: " + base::UTF16ToUTF8(candidate.sdpMid()) + ", " + base 341 content/renderer/media/peer_connection_tracker.cc "candidate: " + base::UTF16ToUTF8(candidate.candidate()); base 439 content/renderer/media/peer_connection_tracker.cc base::UTF16ToUTF8(track.id())); base 21 content/renderer/media/remote_media_stream_impl.cc NON_EXPORTED_BASE(public base::NonThreadSafe) { base 52 content/renderer/media/remote_media_stream_impl.cc blink::WebString webkit_track_id(base::UTF8ToUTF16(track->id())); base 153 content/renderer/media/remote_media_stream_impl.cc webkit_stream_.initialize(base::UTF8ToUTF16(webrtc_stream->label()), base 29 content/renderer/media/remote_media_stream_impl.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 16 content/renderer/media/render_media_log.cc : render_loop_(base::MessageLoopProxy::current()), base 17 content/renderer/media/render_media_log.cc tick_clock_(new base::DefaultTickClock()), base 25 content/renderer/media/render_media_log.cc render_loop_->PostTask(FROM_HERE, base::Bind( base 26 content/renderer/media/render_media_log.cc &RenderMediaLog::AddEvent, this, base::Passed(&event))); base 41 content/renderer/media/render_media_log.cc base::TimeTicks curr_time = tick_clock_->NowTicks(); base 42 content/renderer/media/render_media_log.cc if ((curr_time - last_ipc_send_time_) < base::TimeDelta::FromSeconds(1)) base 61 content/renderer/media/render_media_log.cc scoped_ptr<base::TickClock> tick_clock) { base 14 content/renderer/media/render_media_log.h namespace base { base 33 content/renderer/media/render_media_log.h void SetTickClockForTesting(scoped_ptr<base::TickClock> tick_clock); base 38 content/renderer/media/render_media_log.h scoped_refptr<base::MessageLoopProxy> render_loop_; base 39 content/renderer/media/render_media_log.h scoped_ptr<base::TickClock> tick_clock_; base 40 content/renderer/media/render_media_log.h base::TimeTicks last_ipc_send_time_; base 17 content/renderer/media/render_media_log_unittest.cc tick_clock_(new base::SimpleTestTickClock()) { base 18 content/renderer/media/render_media_log_unittest.cc log_->SetTickClockForTesting(scoped_ptr<base::TickClock>(tick_clock_)); base 27 content/renderer/media/render_media_log_unittest.cc void Advance(base::TimeDelta delta) { tick_clock_->Advance(delta); } base 47 content/renderer/media/render_media_log_unittest.cc base::SimpleTestTickClock* tick_clock_; // Owned by |log_|. base 57 content/renderer/media/render_media_log_unittest.cc Advance(base::TimeDelta::FromMilliseconds(500)); base 62 content/renderer/media/render_media_log_unittest.cc Advance(base::TimeDelta::FromMilliseconds(500)); base 90 content/renderer/media/render_media_log_unittest.cc Advance(base::TimeDelta::FromMilliseconds(1000)); base 28 content/renderer/media/renderer_gpu_video_accelerator_factories.cc const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy, base 37 content/renderer/media/renderer_gpu_video_accelerator_factories.cc base::Bind(&RendererGpuVideoAcceleratorFactories::BindContext, base 44 content/renderer/media/renderer_gpu_video_accelerator_factories.cc const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy, base 224 content/renderer/media/renderer_gpu_video_accelerator_factories.cc base::SharedMemory* RendererGpuVideoAcceleratorFactories::CreateSharedMemory( base 230 content/renderer/media/renderer_gpu_video_accelerator_factories.cc scoped_refptr<base::SingleThreadTaskRunner> base 19 content/renderer/media/renderer_gpu_video_accelerator_factories.h namespace base { base 43 content/renderer/media/renderer_gpu_video_accelerator_factories.h const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy, base 63 content/renderer/media/renderer_gpu_video_accelerator_factories.h virtual base::SharedMemory* CreateSharedMemory(size_t size) OVERRIDE; base 64 content/renderer/media/renderer_gpu_video_accelerator_factories.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE; base 67 content/renderer/media/renderer_gpu_video_accelerator_factories.h friend class base::RefCountedThreadSafe<RendererGpuVideoAcceleratorFactories>; base 70 content/renderer/media/renderer_gpu_video_accelerator_factories.h const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy, base 82 content/renderer/media/renderer_gpu_video_accelerator_factories.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 53 content/renderer/media/renderer_webaudiodevice_impl.h base::ThreadChecker thread_checker_; base 61 content/renderer/media/rtc_data_channel_handler.cc return base::UTF8ToUTF16(channel_->label()); base 81 content/renderer/media/rtc_data_channel_handler.cc return base::UTF8ToUTF16(channel_->protocol()); base 97 content/renderer/media/rtc_data_channel_handler.cc std::string utf8_buffer = base::UTF16ToUTF8(data); base 154 content/renderer/media/rtc_data_channel_handler.cc base::string16 utf16; base 155 content/renderer/media/rtc_data_channel_handler.cc if (!base::UTF8ToUTF16(buffer.data.data(), buffer.data.length(), &utf16)) { base 26 content/renderer/media/rtc_data_channel_handler.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 34 content/renderer/media/rtc_dtmf_sender_handler.cc return base::UTF8ToUTF16(dtmf_sender_->tones()); base 44 content/renderer/media/rtc_dtmf_sender_handler.cc std::string utf8_tones = base::UTF16ToUTF8(tones); base 54 content/renderer/media/rtc_dtmf_sender_handler.cc webkit_client_->didPlayTone(base::UTF8ToUTF16(tone)); base 28 content/renderer/media/rtc_dtmf_sender_handler.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 125 content/renderer/media/rtc_peer_connection_handler.cc description.initialize(base::UTF8ToUTF16(native_desc->type()), base 126 content/renderer/media/rtc_peer_connection_handler.cc base::UTF8ToUTF16(sdp)); base 141 content/renderer/media/rtc_peer_connection_handler.cc server.username = base::UTF16ToUTF8(webkit_server.username()); base 142 content/renderer/media/rtc_peer_connection_handler.cc server.password = base::UTF16ToUTF8(webkit_server.credential()); base 193 content/renderer/media/rtc_peer_connection_handler.cc webkit_request_.requestFailed(base::UTF8ToUTF16(error)); base 221 content/renderer/media/rtc_peer_connection_handler.cc webkit_request_.requestFailed(base::UTF8ToUTF16(error)); base 505 content/renderer/media/rtc_peer_connection_handler.cc base::MessageLoop::current()->PostTask( base 507 content/renderer/media/rtc_peer_connection_handler.cc base::Bind(&RTCPeerConnectionHandler::OnaddICECandidateResult, base 508 content/renderer/media/rtc_peer_connection_handler.cc base::Unretained(this), request, result)); base 517 content/renderer/media/rtc_peer_connection_handler.cc base::UTF16ToUTF8(candidate.sdpMid()), base 519 content/renderer/media/rtc_peer_connection_handler.cc base::UTF16ToUTF8(candidate.candidate()))); base 542 content/renderer/media/rtc_peer_connection_handler.cc base::UTF8ToUTF16("Error processing ICE candidate")); base 655 content/renderer/media/rtc_peer_connection_handler.cc DVLOG(1) << "createDataChannel label " << base::UTF16ToUTF8(label); base 666 content/renderer/media/rtc_peer_connection_handler.cc config.protocol = base::UTF16ToUTF8(init.protocol); base 669 content/renderer/media/rtc_peer_connection_handler.cc native_peer_connection_->CreateDataChannel(base::UTF16ToUTF8(label), base 816 content/renderer/media/rtc_peer_connection_handler.cc web_candidate.initialize(base::UTF8ToUTF16(sdp), base 817 content/renderer/media/rtc_peer_connection_handler.cc base::UTF8ToUTF16(candidate->sdp_mid()), base 851 content/renderer/media/rtc_peer_connection_handler.cc std::string sdp = base::UTF16ToUTF8(description.sdp()); base 852 content/renderer/media/rtc_peer_connection_handler.cc std::string type = base::UTF16ToUTF8(description.type()); base 257 content/renderer/media/rtc_peer_connection_handler_unittest.cc local_stream.initialize(base::UTF8ToUTF16(stream_label), audio_tracks, base 678 content/renderer/media/rtc_peer_connection_handler_unittest.cc base::UTF8ToUTF16(remote_stream_label)), base 682 content/renderer/media/rtc_peer_connection_handler_unittest.cc base::UTF8ToUTF16(remote_stream_label)))); base 687 content/renderer/media/rtc_peer_connection_handler_unittest.cc base::UTF8ToUTF16(remote_stream_label)), base 691 content/renderer/media/rtc_peer_connection_handler_unittest.cc base::UTF8ToUTF16(remote_stream_label)))); base 706 content/renderer/media/rtc_peer_connection_handler_unittest.cc base::UTF8ToUTF16(remote_stream_label)))); base 738 content/renderer/media/rtc_peer_connection_handler_unittest.cc base::UTF8ToUTF16(remote_stream_label)))); base 768 content/renderer/media/rtc_peer_connection_handler_unittest.cc base::UTF8ToUTF16(remote_stream_label)))); base 51 content/renderer/media/rtc_video_decoder.cc SHMBuffer(base::SharedMemory* shm, size_t size); base 53 content/renderer/media/rtc_video_decoder.cc base::SharedMemory* const shm; base 57 content/renderer/media/rtc_video_decoder.cc RTCVideoDecoder::SHMBuffer::SHMBuffer(base::SharedMemory* shm, size_t size) base 128 content/renderer/media/rtc_video_decoder.cc base::WaitableEvent waiter(true, false); base 132 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::CreateVDA, base 133 content/renderer/media/rtc_video_decoder.cc base::Unretained(decoder.get()), base 155 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 164 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::CreateSHM, base 180 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 246 content/renderer/media/rtc_video_decoder.cc base::AutoUnlock auto_unlock(lock_); base 255 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::RequestBufferDecode, base 263 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 277 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 291 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::ResetInternal, base 387 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 401 content/renderer/media/rtc_video_decoder.cc base::WaitableEvent* event) { base 411 content/renderer/media/rtc_video_decoder.cc base::WaitableEvent event(true, false); base 413 content/renderer/media/rtc_video_decoder.cc base::Bind(&ReadPixelsSyncInner, base 433 content/renderer/media/rtc_video_decoder.cc base::TimeDelta timestamp_ms = base::TimeDelta::FromInternalValue( base 434 content/renderer/media/rtc_video_decoder.cc base::checked_cast<uint64_t>(timestamp) * 1000 / 90); base 438 content/renderer/media/rtc_video_decoder.cc media::BindToCurrentLoop(base::Bind(&RTCVideoDecoder::ReleaseMailbox, base 447 content/renderer/media/rtc_video_decoder.cc base::Bind(&ReadPixelsSync, factories_, pb.texture_id(), visible_rect)); base 463 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 485 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 503 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 519 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 606 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 638 content/renderer/media/rtc_video_decoder.cc base::WeakPtr<RTCVideoDecoder> decoder, base 678 content/renderer/media/rtc_video_decoder.cc base::WaitableEvent* waiter) { base 713 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 732 content/renderer/media/rtc_video_decoder.cc base::Bind(&RTCVideoDecoder::CreateSHM, base 749 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 755 content/renderer/media/rtc_video_decoder.cc base::SharedMemory* shm = factories_->CreateSharedMemory(size_to_allocate); base 757 content/renderer/media/rtc_video_decoder.cc base::AutoLock auto_lock(lock_); base 26 content/renderer/media/rtc_video_decoder.h namespace base { base 155 content/renderer/media/rtc_video_decoder.h base::WeakPtr<RTCVideoDecoder> decoder, base 164 content/renderer/media/rtc_video_decoder.h void CreateVDA(media::VideoCodecProfile profile, base::WaitableEvent* waiter); base 240 content/renderer/media/rtc_video_decoder.h base::Lock lock_; base 274 content/renderer/media/rtc_video_decoder.h base::WeakPtrFactory<RTCVideoDecoder> weak_factory_; base 43 content/renderer/media/rtc_video_decoder_unittest.cc .WillRepeatedly(Return(static_cast<base::SharedMemory*>(NULL))); base 64 content/renderer/media/rtc_video_decoder_unittest.cc EXPECT_EQ(vda_task_runner_, base::MessageLoopProxy::current()); base 80 content/renderer/media/rtc_video_decoder_unittest.cc base::Bind(&RTCVideoDecoder::NotifyResetDone, base 81 content/renderer/media/rtc_video_decoder_unittest.cc base::Unretained(rtc_decoder_.get()))); base 87 content/renderer/media/rtc_video_decoder_unittest.cc base::Bind(&base::WaitableEvent::Signal, base 88 content/renderer/media/rtc_video_decoder_unittest.cc base::Unretained(&idle_waiter_))); base 97 content/renderer/media/rtc_video_decoder_unittest.cc base::Thread vda_thread_; base 100 content/renderer/media/rtc_video_decoder_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> vda_task_runner_; base 102 content/renderer/media/rtc_video_decoder_unittest.cc base::Lock lock_; base 103 content/renderer/media/rtc_video_decoder_unittest.cc base::WaitableEvent idle_waiter_; base 43 content/renderer/media/rtc_video_encoder.cc public base::RefCountedThreadSafe<RTCVideoEncoder::Impl> { base 45 content/renderer/media/rtc_video_encoder.cc Impl(const base::WeakPtr<RTCVideoEncoder>& weak_encoder, base 56 content/renderer/media/rtc_video_encoder.cc base::WaitableEvent* async_waiter, base 63 content/renderer/media/rtc_video_encoder.cc base::WaitableEvent* async_waiter, base 107 content/renderer/media/rtc_video_encoder.cc void RegisterAsyncWaiter(base::WaitableEvent* waiter, int32_t* retval); base 110 content/renderer/media/rtc_video_encoder.cc base::ThreadChecker thread_checker_; base 114 content/renderer/media/rtc_video_encoder.cc const base::WeakPtr<RTCVideoEncoder> weak_encoder_; base 117 content/renderer/media/rtc_video_encoder.cc const scoped_refptr<base::MessageLoopProxy> encoder_message_loop_proxy_; base 126 content/renderer/media/rtc_video_encoder.cc base::WaitableEvent* async_waiter_; base 144 content/renderer/media/rtc_video_encoder.cc ScopedVector<base::SharedMemory> input_buffers_; base 145 content/renderer/media/rtc_video_encoder.cc ScopedVector<base::SharedMemory> output_buffers_; base 162 content/renderer/media/rtc_video_encoder.cc const base::WeakPtr<RTCVideoEncoder>& weak_encoder, base 165 content/renderer/media/rtc_video_encoder.cc encoder_message_loop_proxy_(base::MessageLoopProxy::current()), base 174 content/renderer/media/rtc_video_encoder.cc picture_id_ = static_cast<uint16_t>(base::RandInt(0, 0x7FFF)); base 181 content/renderer/media/rtc_video_encoder.cc base::WaitableEvent* async_waiter, base 212 content/renderer/media/rtc_video_encoder.cc base::WaitableEvent* async_waiter, base 301 content/renderer/media/rtc_video_encoder.cc base::SharedMemory* shm = base 315 content/renderer/media/rtc_video_encoder.cc base::SharedMemory* shm = base 351 content/renderer/media/rtc_video_encoder.cc base::SharedMemory* output_buffer = output_buffers_[bitstream_buffer_id]; base 381 content/renderer/media/rtc_video_encoder.cc base::Bind(&RTCVideoEncoder::ReturnEncodedImage, base 383 content/renderer/media/rtc_video_encoder.cc base::Passed(&image), base 411 content/renderer/media/rtc_video_encoder.cc base::Bind(&RTCVideoEncoder::NotifyError, weak_encoder_, retval)); base 438 content/renderer/media/rtc_video_encoder.cc base::SharedMemory* input_buffer = input_buffers_[index]; base 448 content/renderer/media/rtc_video_encoder.cc base::TimeDelta(), base 449 content/renderer/media/rtc_video_encoder.cc base::Bind(&RTCVideoEncoder::Impl::EncodeFrameFinished, this, index)); base 487 content/renderer/media/rtc_video_encoder.cc void RTCVideoEncoder::Impl::RegisterAsyncWaiter(base::WaitableEvent* waiter, base 543 content/renderer/media/rtc_video_encoder.cc base::WaitableEvent initialization_waiter(true, false); base 547 content/renderer/media/rtc_video_encoder.cc base::Bind(&RTCVideoEncoder::Impl::CreateAndInitializeVEA, base 575 content/renderer/media/rtc_video_encoder.cc base::WaitableEvent encode_waiter(true, false); base 579 content/renderer/media/rtc_video_encoder.cc base::Bind(&RTCVideoEncoder::Impl::Enqueue, base 611 content/renderer/media/rtc_video_encoder.cc FROM_HERE, base::Bind(&RTCVideoEncoder::Impl::Destroy, impl_)); base 638 content/renderer/media/rtc_video_encoder.cc base::Bind(&RTCVideoEncoder::Impl::RequestEncodingParametersChange, base 684 content/renderer/media/rtc_video_encoder.cc base::Bind(&RTCVideoEncoder::Impl::UseOutputBitstreamBufferId, base 695 content/renderer/media/rtc_video_encoder.cc FROM_HERE, base::Bind(&RTCVideoEncoder::Impl::Destroy, impl_)); base 20 content/renderer/media/rtc_video_encoder.h namespace base { base 79 content/renderer/media/rtc_video_encoder.h base::ThreadChecker thread_checker_; base 105 content/renderer/media/rtc_video_encoder.h base::WeakPtrFactory<RTCVideoEncoder> weak_factory_; base 18 content/renderer/media/rtc_video_renderer.cc const base::Closure& error_cb, base 22 content/renderer/media/rtc_video_renderer.cc message_loop_proxy_(base::MessageLoopProxy::current()), base 15 content/renderer/media/rtc_video_renderer.h namespace base { base 36 content/renderer/media/rtc_video_renderer.h const base::Closure& error_cb, base 64 content/renderer/media/rtc_video_renderer.h base::Closure error_cb_; base 66 content/renderer/media/rtc_video_renderer.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 39 content/renderer/media/test_response_generator.cc WebString::fromUTF8(base::Int64ToString(content_length_))); base 62 content/renderer/media/test_response_generator.cc std::string content_range = base::StringPrintf( base 68 content/renderer/media/test_response_generator.cc content_range += base::StringPrintf("%" PRId64, content_length_); base 76 content/renderer/media/test_response_generator.cc WebString::fromUTF8(base::Int64ToString(range_content_length))); base 18 content/renderer/media/texttrack_impl.cc const scoped_refptr<base::MessageLoopProxy>& message_loop, base 30 content/renderer/media/texttrack_impl.cc base::Bind(&TextTrackImpl::OnRemoveTrack, base 32 content/renderer/media/texttrack_impl.cc base::Passed(&text_track_))); base 35 content/renderer/media/texttrack_impl.cc void TextTrackImpl::addWebVTTCue(const base::TimeDelta& start, base 36 content/renderer/media/texttrack_impl.cc const base::TimeDelta& end, base 42 content/renderer/media/texttrack_impl.cc base::Bind(&TextTrackImpl::OnAddCue, base 49 content/renderer/media/texttrack_impl.cc const base::TimeDelta& start, base 50 content/renderer/media/texttrack_impl.cc const base::TimeDelta& end, base 14 content/renderer/media/texttrack_impl.h namespace base { base 30 content/renderer/media/texttrack_impl.h TextTrackImpl(const scoped_refptr<base::MessageLoopProxy>& message_loop, base 36 content/renderer/media/texttrack_impl.h virtual void addWebVTTCue(const base::TimeDelta& start, base 37 content/renderer/media/texttrack_impl.h const base::TimeDelta& end, base 44 content/renderer/media/texttrack_impl.h const base::TimeDelta& start, base 45 content/renderer/media/texttrack_impl.h const base::TimeDelta& end, base 53 content/renderer/media/texttrack_impl.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 18 content/renderer/media/video_capture_impl.cc : public base::RefCountedThreadSafe<ClientBuffer> { base 20 content/renderer/media/video_capture_impl.cc ClientBuffer(scoped_ptr<base::SharedMemory> buffer, base 24 content/renderer/media/video_capture_impl.cc const scoped_ptr<base::SharedMemory> buffer; base 61 content/renderer/media/video_capture_impl.cc base::Bind(&VideoCaptureImpl::InitOnIOThread, base 62 content/renderer/media/video_capture_impl.cc base::Unretained(this))); base 65 content/renderer/media/video_capture_impl.cc void VideoCaptureImpl::DeInit(base::Closure done_cb) { base 67 content/renderer/media/video_capture_impl.cc base::Bind(&VideoCaptureImpl::DeInitOnIOThread, base 68 content/renderer/media/video_capture_impl.cc base::Unretained(this), base 74 content/renderer/media/video_capture_impl.cc base::Bind(&VideoCaptureImpl::SuspendCaptureOnIOThread, base 75 content/renderer/media/video_capture_impl.cc base::Unretained(this), base 83 content/renderer/media/video_capture_impl.cc base::Bind(&VideoCaptureImpl::StartCaptureOnIOThread, base 84 content/renderer/media/video_capture_impl.cc base::Unretained(this), handler, params)); base 90 content/renderer/media/video_capture_impl.cc base::Bind(&VideoCaptureImpl::StopCaptureOnIOThread, base 91 content/renderer/media/video_capture_impl.cc base::Unretained(this), handler)); base 98 content/renderer/media/video_capture_impl.cc base::Bind(&VideoCaptureImpl::GetDeviceSupportedFormatsOnIOThread, base 99 content/renderer/media/video_capture_impl.cc base::Unretained(this), media::BindToCurrentLoop(callback))); base 106 content/renderer/media/video_capture_impl.cc base::Bind(&VideoCaptureImpl::GetDeviceFormatsInUseOnIOThread, base 107 content/renderer/media/video_capture_impl.cc base::Unretained(this), media::BindToCurrentLoop(callback))); base 115 content/renderer/media/video_capture_impl.cc void VideoCaptureImpl::DeInitOnIOThread(base::Closure done_cb) { base 167 content/renderer/media/video_capture_impl.cc first_frame_timestamp_ = base::TimeTicks(); base 211 content/renderer/media/video_capture_impl.cc base::SharedMemoryHandle handle, base 218 content/renderer/media/video_capture_impl.cc base::SharedMemory::CloseHandle(handle); base 222 content/renderer/media/video_capture_impl.cc scoped_ptr<base::SharedMemory> shm(new base::SharedMemory(handle, false)); base 250 content/renderer/media/video_capture_impl.cc base::TimeTicks timestamp) { base 285 content/renderer/media/video_capture_impl.cc media::BindToCurrentLoop(base::Bind( base 290 content/renderer/media/video_capture_impl.cc base::Passed(scoped_ptr<gpu::MailboxHolder>().Pass())))); base 302 content/renderer/media/video_capture_impl.cc base::TimeTicks timestamp) { base 318 content/renderer/media/video_capture_impl.cc base::Bind(&VideoCaptureImpl::OnClientBufferFinished, base 326 content/renderer/media/video_capture_impl.cc base::Bind(&NullReadPixelsCB)); base 460 content/renderer/media/video_capture_impl.cc base::Bind(base::IgnoreResult(&VideoCaptureMessageFilter::Send), base 41 content/renderer/media/video_capture_impl.h namespace base { base 62 content/renderer/media/video_capture_impl.h void DeInit(base::Closure done_cb); base 90 content/renderer/media/video_capture_impl.h void DeInitOnIOThread(base::Closure done_cb); base 102 content/renderer/media/video_capture_impl.h virtual void OnBufferCreated(base::SharedMemoryHandle handle, base 108 content/renderer/media/video_capture_impl.h base::TimeTicks) OVERRIDE; base 112 content/renderer/media/video_capture_impl.h base::TimeTicks timestamp) OVERRIDE; base 137 content/renderer/media/video_capture_impl.h const scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 164 content/renderer/media/video_capture_impl.h base::TimeTicks first_frame_timestamp_; base 173 content/renderer/media/video_capture_impl.h base::WeakPtrFactory<VideoCaptureImpl> weak_factory_; base 17 content/renderer/media/video_capture_impl_manager.cc media::VideoCapture* impl, base::Closure destruction_cb) base 83 content/renderer/media/video_capture_impl_manager.cc base::Bind( base 106 content/renderer/media/video_capture_impl_manager.cc impl->DeInit(base::Bind(&base::DeletePointer<VideoCaptureImpl>, impl)); base 63 content/renderer/media/video_capture_impl_manager.h base::Closure destruction_cb); base 66 content/renderer/media/video_capture_impl_manager.h base::Closure destruction_cb_; base 105 content/renderer/media/video_capture_impl_manager.h base::ThreadChecker thread_checker_; base 109 content/renderer/media/video_capture_impl_manager.h base::WeakPtrFactory<VideoCaptureImplManager> weak_factory_; base 35 content/renderer/media/video_capture_impl_manager_unittest.cc base::Closure destruct_callback) base 45 content/renderer/media/video_capture_impl_manager_unittest.cc base::Closure destruct_callback_; base 53 content/renderer/media/video_capture_impl_manager_unittest.cc base::Closure destruct_video_capture_callback) base 67 content/renderer/media/video_capture_impl_manager_unittest.cc base::Closure destruct_video_capture_callback_; base 82 content/renderer/media/video_capture_impl_manager_unittest.cc scoped_refptr<base::MessageLoopProxy> loop = base 87 content/renderer/media/video_capture_impl_manager_unittest.cc base::Bind( base 89 content/renderer/media/video_capture_impl_manager_unittest.cc base::Unretained(this))); base 96 content/renderer/media/video_capture_impl_manager_unittest.cc base::MessageLoop message_loop_; base 99 content/renderer/media/video_capture_impl_manager_unittest.cc base::RunLoop cleanup_run_loop_; base 120 content/renderer/media/video_capture_impl_manager_unittest.cc base::RunLoop run_loop; base 121 content/renderer/media/video_capture_impl_manager_unittest.cc base::Closure quit_closure = BindToCurrentLoop( base 138 content/renderer/media/video_capture_impl_manager_unittest.cc base::RunLoop run_loop; base 139 content/renderer/media/video_capture_impl_manager_unittest.cc base::Closure quit_closure = BindToCurrentLoop( base 124 content/renderer/media/video_capture_impl_unittest.cc base::MessageLoop message_loop_; base 125 content/renderer/media/video_capture_impl_unittest.cc base::RunLoop run_loop_; base 232 content/renderer/media/video_capture_impl_unittest.cc const base::Callback<void(const media::VideoCaptureFormats&)> base 233 content/renderer/media/video_capture_impl_unittest.cc callback = base::Bind( base 235 content/renderer/media/video_capture_impl_unittest.cc base::Unretained(client.get())); base 253 content/renderer/media/video_capture_impl_unittest.cc const base::Callback<void(const media::VideoCaptureFormats&)> base 254 content/renderer/media/video_capture_impl_unittest.cc callback1 = base::Bind( base 256 content/renderer/media/video_capture_impl_unittest.cc base::Unretained(client1.get())); base 257 content/renderer/media/video_capture_impl_unittest.cc const base::Callback<void(const media::VideoCaptureFormats&)> base 258 content/renderer/media/video_capture_impl_unittest.cc callback2 = base::Bind( base 260 content/renderer/media/video_capture_impl_unittest.cc base::Unretained(client2.get())); base 279 content/renderer/media/video_capture_impl_unittest.cc const base::Callback<void(const media::VideoCaptureFormats&)> callback = base 280 content/renderer/media/video_capture_impl_unittest.cc base::Bind(&MockVideoCaptureEventHandler::OnDeviceFormatsInUseReceived, base 281 content/renderer/media/video_capture_impl_unittest.cc base::Unretained(client.get())); base 105 content/renderer/media/video_capture_message_filter.cc base::SharedMemoryHandle handle, base 115 content/renderer/media/video_capture_message_filter.cc base::SharedMemory::CloseHandle(handle); base 127 content/renderer/media/video_capture_message_filter.cc base::TimeTicks timestamp) { base 147 content/renderer/media/video_capture_message_filter.cc base::TimeTicks timestamp) { base 33 content/renderer/media/video_capture_message_filter.h virtual void OnBufferCreated(base::SharedMemoryHandle handle, base 42 content/renderer/media/video_capture_message_filter.h base::TimeTicks timestamp) = 0; base 49 content/renderer/media/video_capture_message_filter.h base::TimeTicks timestamp) = 0; base 96 content/renderer/media/video_capture_message_filter.h base::SharedMemoryHandle handle, base 108 content/renderer/media/video_capture_message_filter.h base::TimeTicks timestamp); base 115 content/renderer/media/video_capture_message_filter.h base::TimeTicks timestamp); base 28 content/renderer/media/video_capture_message_filter_unittest.cc MOCK_METHOD3(OnBufferCreated, void(base::SharedMemoryHandle handle, base 35 content/renderer/media/video_capture_message_filter_unittest.cc base::TimeTicks timestamp)); base 40 content/renderer/media/video_capture_message_filter_unittest.cc base::TimeTicks timestamp)); base 79 content/renderer/media/video_capture_message_filter_unittest.cc const base::SharedMemoryHandle handle = base 81 content/renderer/media/video_capture_message_filter_unittest.cc reinterpret_cast<base::SharedMemoryHandle>(10); base 83 content/renderer/media/video_capture_message_filter_unittest.cc base::SharedMemoryHandle(10, true); base 92 content/renderer/media/video_capture_message_filter_unittest.cc base::TimeTicks timestamp = base::TimeTicks::FromInternalValue(1); base 108 content/renderer/media/video_capture_message_filter_unittest.cc timestamp = base::TimeTicks::FromInternalValue(2); base 19 content/renderer/media/video_frame_compositor.cc const scoped_refptr<base::SingleThreadTaskRunner>& compositor_task_runner, base 20 content/renderer/media/video_frame_compositor.cc const base::Callback<void(gfx::Size)>& natural_size_changed_cb) base 37 content/renderer/media/video_frame_compositor.cc base::AutoLock auto_lock(lock_); base 57 content/renderer/media/video_frame_compositor.cc base::Bind(&Internal::NotifyCompositorOfNewFrame, base 58 content/renderer/media/video_frame_compositor.cc base::Unretained(this))); base 62 content/renderer/media/video_frame_compositor.cc base::AutoLock auto_lock(lock_); base 68 content/renderer/media/video_frame_compositor.cc base::AutoLock auto_lock(lock_); base 81 content/renderer/media/video_frame_compositor.cc base::AutoLock auto_lock(lock_); base 90 content/renderer/media/video_frame_compositor.cc base::AutoLock auto_lock(lock_); base 96 content/renderer/media/video_frame_compositor.cc scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; base 97 content/renderer/media/video_frame_compositor.cc base::Callback<void(gfx::Size)>natural_size_changed_cb_; base 101 content/renderer/media/video_frame_compositor.cc base::Lock lock_; base 110 content/renderer/media/video_frame_compositor.cc const scoped_refptr<base::SingleThreadTaskRunner>& compositor_task_runner, base 111 content/renderer/media/video_frame_compositor.cc const base::Callback<void(gfx::Size)>& natural_size_changed_cb) base 14 content/renderer/media/video_frame_compositor.h namespace base { base 45 content/renderer/media/video_frame_compositor.h const scoped_refptr<base::SingleThreadTaskRunner>& compositor_task_runner, base 46 content/renderer/media/video_frame_compositor.h const base::Callback<void(gfx::Size)>& natural_size_changed_cb); base 22 content/renderer/media/video_frame_compositor_unittest.cc base::Bind(&VideoFrameCompositorTest::NaturalSizeChanged, base 23 content/renderer/media/video_frame_compositor_unittest.cc base::Unretained(this)))), base 35 content/renderer/media/video_frame_compositor_unittest.cc base::MessageLoop* message_loop() { return &message_loop_; } base 57 content/renderer/media/video_frame_compositor_unittest.cc base::MessageLoop message_loop_; base 22 content/renderer/media/video_frame_provider.h : public base::RefCountedThreadSafe<VideoFrameProvider> { base 24 content/renderer/media/video_frame_provider.h typedef base::Callback<void(const scoped_refptr<media::VideoFrame>&)> base 42 content/renderer/media/video_frame_provider.h friend class base::RefCountedThreadSafe<VideoFrameProvider>; base 40 content/renderer/media/video_source_handler.cc base::AutoLock auto_lock(lock_); base 52 content/renderer/media/video_source_handler.cc base::AutoLock auto_lock(lock_); base 58 content/renderer/media/video_source_handler.cc base::Lock lock_; base 46 content/renderer/media/webaudio_capturer_source.cc base::AutoLock auto_lock(lock_); base 68 content/renderer/media/webaudio_capturer_source.cc base::AutoLock auto_lock(lock_); base 75 content/renderer/media/webaudio_capturer_source.cc base::AutoLock auto_lock(lock_); base 83 content/renderer/media/webaudio_capturer_source.cc base::AutoLock auto_lock(lock_); base 111 content/renderer/media/webaudio_capturer_source.cc base::TimeDelta delay; base 30 content/renderer/media/webaudio_capturer_source.h : public base::RefCountedThreadSafe<WebAudioCapturerSource>, base 53 content/renderer/media/webaudio_capturer_source.h friend class base::RefCountedThreadSafe<WebAudioCapturerSource>; base 58 content/renderer/media/webaudio_capturer_source.h base::ThreadChecker thread_checker_; base 88 content/renderer/media/webaudio_capturer_source.h base::Lock lock_; base 28 content/renderer/media/webaudiosourceprovider_impl.cc explicit AutoTryLock(base::Lock& lock) base 42 content/renderer/media/webaudiosourceprovider_impl.cc base::Lock& lock_; base 65 content/renderer/media/webaudiosourceprovider_impl.cc base::AutoLock auto_lock(sink_lock_); base 73 content/renderer/media/webaudiosourceprovider_impl.cc set_format_cb_ = media::BindToCurrentLoop(base::Bind( base 82 content/renderer/media/webaudiosourceprovider_impl.cc base::ResetAndReturn(&set_format_cb_).Run(); base 122 content/renderer/media/webaudiosourceprovider_impl.cc base::AutoLock auto_lock(sink_lock_); base 130 content/renderer/media/webaudiosourceprovider_impl.cc base::AutoLock auto_lock(sink_lock_); base 137 content/renderer/media/webaudiosourceprovider_impl.cc base::AutoLock auto_lock(sink_lock_); base 145 content/renderer/media/webaudiosourceprovider_impl.cc base::AutoLock auto_lock(sink_lock_); base 153 content/renderer/media/webaudiosourceprovider_impl.cc base::AutoLock auto_lock(sink_lock_); base 163 content/renderer/media/webaudiosourceprovider_impl.cc base::AutoLock auto_lock(sink_lock_); base 175 content/renderer/media/webaudiosourceprovider_impl.cc base::ResetAndReturn(&set_format_cb_).Run(); base 179 content/renderer/media/webaudiosourceprovider_impl.cc base::AutoLock auto_lock(sink_lock_); base 60 content/renderer/media/webaudiosourceprovider_impl.h base::Closure set_format_cb_; base 78 content/renderer/media/webaudiosourceprovider_impl.h base::Lock sink_lock_; base 83 content/renderer/media/webaudiosourceprovider_impl.h base::WeakPtrFactory<WebAudioSourceProviderImpl> weak_factory_; base 64 content/renderer/media/webaudiosourceprovider_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 90 content/renderer/media/webaudiosourceprovider_impl_unittest.cc base::MessageLoop message_loop_; base 101 content/renderer/media/webaudiosourceprovider_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 107 content/renderer/media/webaudiosourceprovider_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 111 content/renderer/media/webaudiosourceprovider_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 36 content/renderer/media/webcontentdecryptionmodule_impl.cc const base::string16& key_system) { base 48 content/renderer/media/webcontentdecryptionmodule_impl.cc std::string key_system_ascii = base::UTF16ToASCII(key_system); base 57 content/renderer/media/webcontentdecryptionmodule_impl.cc base::Bind(&PepperCdmWrapperImpl::Create, frame), base 37 content/renderer/media/webcontentdecryptionmodule_impl.h const base::string16& key_system); base 46 content/renderer/media/webcontentdecryptionmodulesession_impl.cc session_id_, base::UTF16ToASCII(mime_type), init_data, init_data_length); base 135 content/renderer/media/webmediaplayer_impl.cc media::BindToCurrentLoop(base::Bind(function, AsWeakPtr()))) base 145 content/renderer/media/webmediaplayer_impl.cc base::WeakPtr<WebMediaPlayerDelegate> delegate, base 150 content/renderer/media/webmediaplayer_impl.cc main_loop_(base::MessageLoopProxy::current()), base 173 content/renderer/media/webmediaplayer_impl.cc : base::MessageLoopProxy::current()), base 193 content/renderer/media/webmediaplayer_impl.cc base::Bind(&WebMediaPlayerImpl::IncrementExternallyAllocatedMemory, base 225 content/renderer/media/webmediaplayer_impl.cc base::WaitableEvent waiter(false, false); base 227 content/renderer/media/webmediaplayer_impl.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&waiter))); base 275 content/renderer/media/webmediaplayer_impl.cc defer_load_cb_.Run(base::Bind( base 291 content/renderer/media/webmediaplayer_impl.cc base::debug::SetCrashKeyValue("subresource_url", gurl.spec()); base 318 content/renderer/media/webmediaplayer_impl.cc base::Bind(&WebMediaPlayerImpl::NotifyDownloading, AsWeakPtr()))); base 321 content/renderer/media/webmediaplayer_impl.cc base::Bind( base 368 content/renderer/media/webmediaplayer_impl.cc base::TimeDelta seek_time = ConvertSecondsToTimestamp(seconds); base 680 content/renderer/media/webmediaplayer_impl.cc base::LinearHistogram::FactoryGet( base 683 content/renderer/media/webmediaplayer_impl.cc base::Histogram::kUmaTargetedHistogramFlag)->Add(sample); base 690 content/renderer/media/webmediaplayer_impl.cc base::Histogram::FactoryGet( base 692 content/renderer/media/webmediaplayer_impl.cc 1, 1000000, 50, base::Histogram::kUmaTargetedHistogramFlag)->Add(sample); base 732 content/renderer/media/webmediaplayer_impl.cc return IsStringASCII(string) ? base::UTF16ToASCII(string) : std::string(); base 739 content/renderer/media/webmediaplayer_impl.cc DVLOG(1) << "generateKeyRequest: " << base::string16(key_system) << ": " base 779 content/renderer/media/webmediaplayer_impl.cc base::Bind(&PepperCdmWrapperImpl::Create, frame_), base 791 content/renderer/media/webmediaplayer_impl.cc base::ResetAndReturn(&decryptor_ready_cb_) base 823 content/renderer/media/webmediaplayer_impl.cc DVLOG(1) << "addKey: " << base::string16(key_system) << ": " base 828 content/renderer/media/webmediaplayer_impl.cc << base::string16(session_id) << "]"; base 868 content/renderer/media/webmediaplayer_impl.cc DVLOG(1) << "cancelKeyRequest: " << base::string16(key_system) << ": " base 869 content/renderer/media/webmediaplayer_impl.cc << " [" << base::string16(session_id) << "]"; base 905 content/renderer/media/webmediaplayer_impl.cc base::ResetAndReturn(&decryptor_ready_cb_).Run(web_cdm_->GetDecryptor()); base 1005 content/renderer/media/webmediaplayer_impl.cc chunk_demuxer_, base::Bind(&LogMediaSourceError, media_log_))); base 1157 content/renderer/media/webmediaplayer_impl.cc base::Bind(&LogMediaSourceError, media_log_), base 1201 content/renderer/media/webmediaplayer_impl.cc base::Bind(&WebMediaPlayerImpl::FrameReady, base::Unretained(this)), base 1261 content/renderer/media/webmediaplayer_impl.cc base::TimeDelta duration = pipeline_.GetMediaDuration(); base 1302 content/renderer/media/webmediaplayer_impl.cc base::ResetAndReturn(&decryptor_ready_cb_).Run(NULL); base 40 content/renderer/media/webmediaplayer_impl.h namespace base { base 68 content/renderer/media/webmediaplayer_impl.h public base::SupportsWeakPtr<WebMediaPlayerImpl> { base 74 content/renderer/media/webmediaplayer_impl.h base::WeakPtr<WebMediaPlayerDelegate> delegate, base 252 content/renderer/media/webmediaplayer_impl.h const scoped_refptr<base::MessageLoopProxy> main_loop_; base 254 content/renderer/media/webmediaplayer_impl.h scoped_refptr<base::MessageLoopProxy> media_loop_; base 283 content/renderer/media/webmediaplayer_impl.h base::TimeDelta paused_time_; base 292 content/renderer/media/webmediaplayer_impl.h base::WeakPtr<WebMediaPlayerDelegate> delegate_; base 294 content/renderer/media/webmediaplayer_impl.h base::Callback<void(const base::Closure&)> defer_load_cb_; base 82 content/renderer/media/webmediaplayer_ms.cc base::WeakPtr<WebMediaPlayerDelegate> delegate, base 147 content/renderer/media/webmediaplayer_ms.cc base::Bind(&WebMediaPlayerMS::OnSourceError, AsWeakPtr()), base 148 content/renderer/media/webmediaplayer_ms.cc base::Bind(&WebMediaPlayerMS::OnFrameAvailable, AsWeakPtr())); base 219 content/renderer/media/webmediaplayer_ms.cc base::AutoLock auto_lock(current_frame_lock_); base 330 content/renderer/media/webmediaplayer_ms.cc base::AutoLock auto_lock(current_frame_lock_); base 385 content/renderer/media/webmediaplayer_ms.cc base::AutoLock auto_lock(current_frame_lock_); base 409 content/renderer/media/webmediaplayer_ms.cc base::AutoLock auto_lock(current_frame_lock_); base 436 content/renderer/media/webmediaplayer_ms.cc base::AutoLock auto_lock(current_frame_lock_); base 55 content/renderer/media/webmediaplayer_ms.h public base::SupportsWeakPtr<WebMediaPlayerMS> { base 61 content/renderer/media/webmediaplayer_ms.h base::WeakPtr<WebMediaPlayerDelegate> delegate, base 147 content/renderer/media/webmediaplayer_ms.h base::ThreadChecker thread_checker_; base 151 content/renderer/media/webmediaplayer_ms.h base::WeakPtr<WebMediaPlayerDelegate> delegate_; base 170 content/renderer/media/webmediaplayer_ms.h base::Lock current_frame_lock_; base 181 content/renderer/media/webmediaplayer_ms.h base::TimeDelta start_time_; base 182 content/renderer/media/webmediaplayer_ms.h base::TimeDelta current_time_; base 12 content/renderer/media/webmediaplayer_params.cc const base::Callback<void(const base::Closure&)>& defer_load_cb, base 23 content/renderer/media/webmediaplayer_params.h const base::Callback<void(const base::Closure&)>& defer_load_cb, base 27 content/renderer/media/webmediaplayer_params.h base::Callback<void(const base::Closure&)> defer_load_cb() const { base 36 content/renderer/media/webmediaplayer_params.h base::Callback<void(const base::Closure&)> defer_load_cb_; base 25 content/renderer/media/webmediaplayer_util.cc base::TimeDelta ConvertSecondsToTimestamp(double seconds) { base 26 content/renderer/media/webmediaplayer_util.cc double microseconds = seconds * base::Time::kMicrosecondsPerSecond; base 27 content/renderer/media/webmediaplayer_util.cc return base::TimeDelta::FromMicroseconds( base 32 content/renderer/media/webmediaplayer_util.cc const media::Ranges<base::TimeDelta>& ranges) { base 20 content/renderer/media/webmediaplayer_util.h base::TimeDelta ConvertSecondsToTimestamp(double seconds); base 23 content/renderer/media/webmediaplayer_util.h const media::Ranges<base::TimeDelta>& ranges); base 41 content/renderer/media/webmediasource_impl.cc std::string id = base::GenerateGUID(); base 313 content/renderer/media/webrtc/media_stream_track_metrics.cc base::StringPrintf("%" PRIu64 " %s %d", base 318 content/renderer/media/webrtc/media_stream_track_metrics.cc base::MD5Context ctx; base 319 content/renderer/media/webrtc/media_stream_track_metrics.cc base::MD5Init(&ctx); base 320 content/renderer/media/webrtc/media_stream_track_metrics.cc base::MD5Update(&ctx, unique_id_string); base 321 content/renderer/media/webrtc/media_stream_track_metrics.cc base::MD5Digest digest; base 322 content/renderer/media/webrtc/media_stream_track_metrics.cc base::MD5Final(&digest, &ctx); base 31 content/renderer/media/webrtc/media_stream_track_metrics.h class CONTENT_EXPORT MediaStreamTrackMetrics : public base::NonThreadSafe { base 99 content/renderer/media/webrtc/video_destination_handler.cc const base::TimeDelta timestamp = base::TimeDelta::FromMilliseconds( base 128 content/renderer/media/webrtc/video_destination_handler.cc explicit PpFrameWriterProxy(const base::WeakPtr<PpFrameWriter>& writer) base 141 content/renderer/media/webrtc/video_destination_handler.cc base::WeakPtr<PpFrameWriter> writer_; base 175 content/renderer/media/webrtc/video_destination_handler.cc base::Base64Encode(base::RandBytesAsString(64), &track_id); base 182 content/renderer/media/webrtc/video_destination_handler.cc blink::WebString webkit_track_id = base::UTF8ToUTF16(track_id); base 41 content/renderer/media/webrtc/video_destination_handler.h NON_EXPORTED_BASE(public base::SupportsWeakPtr<PpFrameWriter>) { base 47 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc base::AutoLock auto_lock(lock_); base 88 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc base::AutoLock auto_lock(lock_); base 95 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc base::AutoLock auto_lock(lock_); base 100 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc base::AutoLock auto_lock(lock_); base 105 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc base::AutoLock auto_lock(lock_); base 112 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc base::AutoLock auto_lock(lock_); base 126 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc base::AutoLock auto_lock(lock_); base 103 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h mutable base::Lock lock_; base 72 content/renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc track_->Capture(data.get(), base::TimeDelta(), 255, false, false); base 79 content/renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc track_->Capture(data.get(), base::TimeDelta(), 255, false, false); base 24 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc base::AlignedFree(buffer_); base 91 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc base::Time::kNanosecondsPerMicrosecond; base 93 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc base::Time::kNanosecondsPerMicrosecond; base 145 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc base::AlignedFree(buffer_); base 147 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc base::AlignedAlloc(dst_size + media::VideoFrame::kFrameSizePadding, base 48 content/renderer/media/webrtc/webrtc_video_capturer_adapter.h base::TimeDelta first_frame_timestamp_; base 40 content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc base::TimeDelta()); base 27 content/renderer/media/webrtc/webrtc_video_sink_adapter.cc : message_loop_proxy_(base::MessageLoopProxy::current()), base 48 content/renderer/media/webrtc/webrtc_video_sink_adapter.cc base::TimeDelta timestamp = base::TimeDelta::FromMilliseconds( base 77 content/renderer/media/webrtc/webrtc_video_sink_adapter.cc FROM_HERE, base::Bind(&WebRtcVideoSinkAdapter::DoRenderFrameOnMainThread, base 13 content/renderer/media/webrtc/webrtc_video_sink_adapter.h namespace base { base 26 content/renderer/media/webrtc/webrtc_video_sink_adapter.h public base::SupportsWeakPtr<WebRtcVideoSinkAdapter> { base 48 content/renderer/media/webrtc/webrtc_video_sink_adapter.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 46 content/renderer/media/webrtc_audio_capturer.cc : public base::RefCountedThreadSafe<WebRtcAudioCapturer::TrackOwner> { base 52 content/renderer/media/webrtc_audio_capturer.cc base::TimeDelta delay, base 56 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock lock(lock_); base 67 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock lock(lock_); base 74 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock lock(lock_); base 80 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock lock(lock_); base 85 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock lock(lock_); base 112 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock lock(lock_); base 118 content/renderer/media/webrtc_audio_capturer.cc mutable base::Lock lock_; base 139 content/renderer/media/webrtc_audio_capturer.cc WebRtcLogMessage(base::StringPrintf( base 241 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 259 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 281 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 309 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 337 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 363 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 380 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 411 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 417 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 446 content/renderer/media/webrtc_audio_capturer.cc base::TimeDelta audio_delay; base 449 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 458 content/renderer/media/webrtc_audio_capturer.cc audio_delay = base::TimeDelta::FromMilliseconds(audio_delay_milliseconds); base 516 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 563 content/renderer/media/webrtc_audio_capturer.cc base::TimeDelta* delay, int* volume, bool* key_pressed) { base 564 content/renderer/media/webrtc_audio_capturer.cc base::AutoLock auto_lock(lock_); base 579 content/renderer/media/webrtc_audio_capturer.cc const base::PlatformFile& aec_dump_file) { base 581 content/renderer/media/webrtc_audio_capturer.cc DCHECK_NE(aec_dump_file, base::kInvalidPlatformFileValue); base 42 content/renderer/media/webrtc_audio_capturer.h : public base::RefCountedThreadSafe<WebRtcAudioCapturer>, base 109 content/renderer/media/webrtc_audio_capturer.h void GetAudioProcessingParams(base::TimeDelta* delay, int* volume, base 117 content/renderer/media/webrtc_audio_capturer.h void StartAecDump(const base::PlatformFile& aec_dump_file); base 121 content/renderer/media/webrtc_audio_capturer.h friend class base::RefCountedThreadSafe<WebRtcAudioCapturer>; base 164 content/renderer/media/webrtc_audio_capturer.h base::ThreadChecker thread_checker_; base 168 content/renderer/media/webrtc_audio_capturer.h mutable base::Lock lock_; base 200 content/renderer/media/webrtc_audio_capturer.h base::TimeDelta audio_delay_; base 137 content/renderer/media/webrtc_audio_capturer_unittest.cc base::TimeDelta cached_delay; base 32 content/renderer/media/webrtc_audio_device_impl.cc aec_dump_file_(base::kInvalidPlatformFileValue) { base 44 content/renderer/media/webrtc_audio_device_impl.cc return base::subtle::Barrier_AtomicIncrement(&ref_count_, 1); base 49 content/renderer/media/webrtc_audio_device_impl.cc int ret = base::subtle::Barrier_AtomicIncrement(&ref_count_, -1); base 66 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 95 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(capture_callback_lock_); base 132 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 169 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 179 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 261 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 300 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 313 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 324 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 388 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 394 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 421 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 439 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 447 content/renderer/media/webrtc_audio_device_impl.cc if (aec_dump_file_ != base::kInvalidPlatformFileValue) base 456 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 462 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 472 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 482 content/renderer/media/webrtc_audio_device_impl.cc base::AutoLock auto_lock(lock_); base 501 content/renderer/media/webrtc_audio_device_impl.cc const base::PlatformFile& aec_dump_file) { base 503 content/renderer/media/webrtc_audio_device_impl.cc DCHECK_NE(aec_dump_file, base::kInvalidPlatformFileValue); base 504 content/renderer/media/webrtc_audio_device_impl.cc DCHECK_EQ(aec_dump_file_, base::kInvalidPlatformFileValue); base 513 content/renderer/media/webrtc_audio_device_impl.cc if (aec_dump_file_ != base::kInvalidPlatformFileValue) { base 514 content/renderer/media/webrtc_audio_device_impl.cc base::ClosePlatformFile(aec_dump_file_); base 515 content/renderer/media/webrtc_audio_device_impl.cc aec_dump_file_ = base::kInvalidPlatformFileValue; base 529 content/renderer/media/webrtc_audio_device_impl.cc DCHECK_NE(aec_dump_file_, base::kInvalidPlatformFileValue); base 540 content/renderer/media/webrtc_audio_device_impl.cc aec_dump_file_ = base::kInvalidPlatformFileValue; base 357 content/renderer/media/webrtc_audio_device_impl.h void EnableAecDump(const base::PlatformFile& aec_dump_file); base 405 content/renderer/media/webrtc_audio_device_impl.h base::ThreadChecker thread_checker_; base 434 content/renderer/media/webrtc_audio_device_impl.h mutable base::Lock lock_; base 438 content/renderer/media/webrtc_audio_device_impl.h mutable base::Lock capture_callback_lock_; base 453 content/renderer/media/webrtc_audio_device_impl.h base::PlatformFile aec_dump_file_; base 16 content/renderer/media/webrtc_audio_device_not_impl.cc : last_process_time_(base::TimeTicks::Now()) { base 24 content/renderer/media/webrtc_audio_device_not_impl.cc base::TimeDelta delta_time = (base::TimeTicks::Now() - last_process_time_); base 31 content/renderer/media/webrtc_audio_device_not_impl.cc last_process_time_ = base::TimeTicks::Now(); base 114 content/renderer/media/webrtc_audio_device_not_impl.h base::TimeTicks last_process_time_; base 102 content/renderer/media/webrtc_audio_renderer.cc typedef base::Callback< base 165 content/renderer/media/webrtc_audio_renderer.cc virtual base::TimeDelta GetCurrentRenderTime() const OVERRIDE { base 176 content/renderer/media/webrtc_audio_renderer.cc base::ThreadChecker thread_checker_; base 206 content/renderer/media/webrtc_audio_renderer.cc WebRtcLogMessage(base::StringPrintf( base 223 content/renderer/media/webrtc_audio_renderer.cc base::AutoLock auto_lock(lock_); base 309 content/renderer/media/webrtc_audio_renderer.cc base::Bind( base 311 content/renderer/media/webrtc_audio_renderer.cc base::Unretained(this)))); base 314 content/renderer/media/webrtc_audio_renderer.cc int frame_duration_milliseconds = base::Time::kMillisecondsPerSecond / base 349 content/renderer/media/webrtc_audio_renderer.cc base::Bind(&WebRtcAudioRenderer::OnPlayStateChanged, this); base 380 content/renderer/media/webrtc_audio_renderer.cc base::AutoLock auto_lock(lock_); base 412 content/renderer/media/webrtc_audio_renderer.cc base::AutoLock auto_lock(lock_); base 426 content/renderer/media/webrtc_audio_renderer.cc base::AutoLock auto_lock(lock_); base 454 content/renderer/media/webrtc_audio_renderer.cc base::TimeDelta WebRtcAudioRenderer::GetCurrentRenderTime() const { base 455 content/renderer/media/webrtc_audio_renderer.cc return base::TimeDelta(); base 464 content/renderer/media/webrtc_audio_renderer.cc base::AutoLock auto_lock(lock_); base 43 content/renderer/media/webrtc_audio_renderer.h class PlayingState : public base::NonThreadSafe { base 112 content/renderer/media/webrtc_audio_renderer.h virtual base::TimeDelta GetCurrentRenderTime() const OVERRIDE; base 144 content/renderer/media/webrtc_audio_renderer.h base::ThreadChecker thread_checker_; base 198 content/renderer/media/webrtc_audio_renderer.h base::Lock lock_; base 46 content/renderer/media/webrtc_audio_renderer_unittest.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner) base 82 content/renderer/media/webrtc_audio_renderer_unittest.cc : message_loop_(new base::MessageLoopForIO), base 99 content/renderer/media/webrtc_audio_renderer_unittest.cc scoped_ptr<base::MessageLoopForIO> message_loop_; base 131 content/renderer/media/webrtc_identity_service.cc base::MessageLoop::current()->PostTask( base 133 content/renderer/media/webrtc_identity_service.cc base::Bind(&WebRTCIdentityService::OnRequestFailed, base 134 content/renderer/media/webrtc_identity_service.cc base::Unretained(this), base 24 content/renderer/media/webrtc_identity_service.h typedef base::Callback< base 28 content/renderer/media/webrtc_identity_service.h typedef base::Callback<void(int error)> FailureCallback; base 69 content/renderer/media/webrtc_identity_service_unittest.cc base::Bind(&WebRTCIdentityServiceTest::OnIdentityReady, base 70 content/renderer/media/webrtc_identity_service_unittest.cc base::Unretained(this)), base 71 content/renderer/media/webrtc_identity_service_unittest.cc base::Bind(&WebRTCIdentityServiceTest::OnRequestFailed, base 72 content/renderer/media/webrtc_identity_service_unittest.cc base::Unretained(this))); base 34 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 66 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 80 content/renderer/media/webrtc_local_audio_renderer.cc const base::TimeTicks now = base::TimeTicks::Now(); base 99 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 138 content/renderer/media/webrtc_local_audio_renderer.cc base::Bind(&WebRtcLocalAudioRenderer::ReconfigureSink, this, base 153 content/renderer/media/webrtc_local_audio_renderer.cc message_loop_(base::MessageLoopProxy::current()), base 178 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 179 content/renderer/media/webrtc_local_audio_renderer.cc last_render_time_ = base::TimeTicks::Now(); base 188 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 219 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 223 content/renderer/media/webrtc_local_audio_renderer.cc last_render_time_ = base::TimeTicks::Now(); base 237 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 249 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 262 content/renderer/media/webrtc_local_audio_renderer.cc base::TimeDelta WebRtcLocalAudioRenderer::GetCurrentRenderTime() const { base 264 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 266 content/renderer/media/webrtc_local_audio_renderer.cc return base::TimeDelta(); base 281 content/renderer/media/webrtc_local_audio_renderer.cc base::AutoLock auto_lock(thread_lock_); base 66 content/renderer/media/webrtc_local_audio_renderer.h virtual base::TimeDelta GetCurrentRenderTime() const OVERRIDE; base 69 content/renderer/media/webrtc_local_audio_renderer.h const base::TimeDelta& total_render_time() const { base 121 content/renderer/media/webrtc_local_audio_renderer.h const scoped_refptr<base::MessageLoopProxy> message_loop_; base 132 content/renderer/media/webrtc_local_audio_renderer.h base::TimeTicks last_render_time_; base 135 content/renderer/media/webrtc_local_audio_renderer.h base::TimeDelta total_render_time_; base 147 content/renderer/media/webrtc_local_audio_renderer.h mutable base::Lock thread_lock_; base 163 content/renderer/media/webrtc_local_audio_renderer.h base::ThreadChecker capture_thread_checker_; base 66 content/renderer/media/webrtc_local_audio_source_provider.cc base::AutoLock auto_lock(lock_); base 94 content/renderer/media/webrtc_local_audio_source_provider.cc base::AutoLock auto_lock(lock_); base 132 content/renderer/media/webrtc_local_audio_source_provider.cc base::AutoLock auto_lock(lock_); base 141 content/renderer/media/webrtc_local_audio_source_provider.cc media::AudioBus* audio_bus, base::TimeDelta buffer_delay) { base 73 content/renderer/media/webrtc_local_audio_source_provider.h base::TimeDelta buffer_delay) OVERRIDE; base 86 content/renderer/media/webrtc_local_audio_source_provider.h base::ThreadChecker capture_thread_checker_; base 97 content/renderer/media/webrtc_local_audio_source_provider.h base::Lock lock_; base 100 content/renderer/media/webrtc_local_audio_source_provider.h base::TimeTicks last_fill_; base 41 content/renderer/media/webrtc_local_audio_source_provider_unittest.cc audio_source.initialize(base::UTF8ToUTF16("dummy_source_id"), base 43 content/renderer/media/webrtc_local_audio_source_provider_unittest.cc base::UTF8ToUTF16("dummy_source_name")); base 42 content/renderer/media/webrtc_local_audio_track.cc base::TimeDelta delay, base 58 content/renderer/media/webrtc_local_audio_track.cc base::AutoLock auto_lock(lock_); base 108 content/renderer/media/webrtc_local_audio_track.cc base::AutoLock auto_lock(lock_); base 126 content/renderer/media/webrtc_local_audio_track.cc base::AutoLock auto_lock(lock_); base 145 content/renderer/media/webrtc_local_audio_track.cc base::AutoLock auto_lock(lock_); base 160 content/renderer/media/webrtc_local_audio_track.cc base::AutoLock auto_lock(lock_); base 179 content/renderer/media/webrtc_local_audio_track.cc base::AutoLock auto_lock(lock_); base 204 content/renderer/media/webrtc_local_audio_track.cc base::AutoLock auto_lock(lock_); base 236 content/renderer/media/webrtc_local_audio_track.cc base::AutoLock auto_lock(lock_); base 70 content/renderer/media/webrtc_local_audio_track.h base::TimeDelta delay, base 106 content/renderer/media/webrtc_local_audio_track.h base::ThreadChecker main_render_thread_checker_; base 109 content/renderer/media/webrtc_local_audio_track.h base::ThreadChecker capture_thread_checker_; base 112 content/renderer/media/webrtc_local_audio_track.h mutable base::Lock lock_; base 35 content/renderer/media/webrtc_local_audio_track_unittest.cc class FakeAudioThread : public base::PlatformThread::Delegate { base 61 content/renderer/media/webrtc_local_audio_track_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(1)); base 66 content/renderer/media/webrtc_local_audio_track_unittest.cc base::PlatformThread::CreateWithPriority( base 67 content/renderer/media/webrtc_local_audio_track_unittest.cc 0, this, &thread_, base::kThreadPriority_RealtimeAudio); base 73 content/renderer/media/webrtc_local_audio_track_unittest.cc base::PlatformThread::Join(thread_); base 74 content/renderer/media/webrtc_local_audio_track_unittest.cc thread_ = base::PlatformThreadHandle(); base 80 content/renderer/media/webrtc_local_audio_track_unittest.cc base::PlatformThreadHandle thread_; base 81 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent closure_; base 209 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); base 246 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); base 284 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event_1(false, false); base 305 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event_2(false, false); base 356 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); base 460 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); base 516 content/renderer/media/webrtc_local_audio_track_unittest.cc base::WaitableEvent event(false, false); base 45 content/renderer/media/webrtc_uma_histograms.h class CONTENT_EXPORT PerSessionWebRTCAPIMetrics : public base::NonThreadSafe { base 14 content/renderer/media/websourcebuffer_impl.cc static base::TimeDelta DoubleToTimeDelta(double time) { base 15 content/renderer/media/websourcebuffer_impl.cc DCHECK(!base::IsNaN(time)); base 23 content/renderer/media/websourcebuffer_impl.cc base::TimeDelta max_time = base::TimeDelta::FromInternalValue(kint64max - 1); base 29 content/renderer/media/websourcebuffer_impl.cc return base::TimeDelta::FromMicroseconds( base 30 content/renderer/media/websourcebuffer_impl.cc time * base::Time::kMicrosecondsPerSecond); base 63 content/renderer/media/websourcebuffer_impl.cc media::Ranges<base::TimeDelta> ranges = demuxer_->GetBufferedRanges(id_); base 76 content/renderer/media/websourcebuffer_impl.cc base::TimeDelta old_offset = timestamp_offset_; base 47 content/renderer/media/websourcebuffer_impl.h base::TimeDelta timestamp_offset_; base 49 content/renderer/media/websourcebuffer_impl.h base::TimeDelta append_window_start_; base 50 content/renderer/media/websourcebuffer_impl.h base::TimeDelta append_window_end_; base 17 content/renderer/mhtml_generator.cc file_(base::kInvalidPlatformFileValue) { base 35 content/renderer/mhtml_generator.cc base::PlatformFile file = base 39 content/renderer/mhtml_generator.cc base::ClosePlatformFile(file); base 45 content/renderer/mhtml_generator.cc file_ = base::kInvalidPlatformFileValue; base 59 content/renderer/mhtml_generator.cc int bytes_written = base::WritePlatformFile(file_, total_bytes_written, base 31 content/renderer/mhtml_generator.h base::PlatformFile file_; base 44 content/renderer/mojo/mojo_render_process_observer.cc base::PlatformFile handle = file.fd; base 46 content/renderer/mojo/mojo_render_process_observer.cc base::PlatformFile handle = file; base 63 content/renderer/npapi/plugin_channel_host.cc base::MessageLoopProxy* ipc_message_loop) { base 81 content/renderer/npapi/plugin_channel_host.cc bool PluginChannelHost::Init(base::MessageLoopProxy* ipc_message_loop, base 83 content/renderer/npapi/plugin_channel_host.cc base::WaitableEvent* shutdown_event) { base 106 content/renderer/npapi/plugin_channel_host.cc base::debug::StackTrace trace; base 109 content/renderer/npapi/plugin_channel_host.cc base::debug::SetCrashKeyFromAddresses( base 139 content/renderer/npapi/plugin_channel_host.cc base::TimeTicks start_time(base::TimeTicks::Now()); base 142 content/renderer/npapi/plugin_channel_host.cc base::TimeTicks::Now() - start_time); base 151 content/renderer/npapi/plugin_channel_host.cc base::debug::StackTrace trace; base 154 content/renderer/npapi/plugin_channel_host.cc base::debug::SetCrashKeyFromAddresses( base 26 content/renderer/npapi/plugin_channel_host.h base::MessageLoopProxy* ipc_message_loop); base 28 content/renderer/npapi/plugin_channel_host.h virtual bool Init(base::MessageLoopProxy* ipc_message_loop, base 30 content/renderer/npapi/plugin_channel_host.h base::WaitableEvent* shutdown_event) OVERRIDE; base 63 content/renderer/npapi/plugin_channel_host.h typedef base::hash_map<int, IPC::Listener*> ProxyMap; base 173 content/renderer/npapi/webplugin_delegate_proxy.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 181 content/renderer/npapi/webplugin_delegate_proxy.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 206 content/renderer/npapi/webplugin_delegate_proxy.cc const base::WeakPtr<RenderViewImpl>& render_view, base 283 content/renderer/npapi/webplugin_delegate_proxy.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 305 content/renderer/npapi/webplugin_delegate_proxy.cc scoped_ptr<base::AutoReset<bool> > track_nested_removes( base 306 content/renderer/npapi/webplugin_delegate_proxy.cc new base::AutoReset<bool>(PluginChannelHost::GetRemoveTrackingFlag(), base 323 content/renderer/npapi/webplugin_delegate_proxy.cc info_.path, base::kNullProcessId); base 510 content/renderer/npapi/webplugin_delegate_proxy.cc base::ProcessId peer_pid) { base 755 content/renderer/npapi/webplugin_delegate_proxy.cc bool WebPluginDelegateProxy::GetFormValue(base::string16* value) { base 806 content/renderer/npapi/webplugin_delegate_proxy.cc const base::string16& text, base 821 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::ImeCompositionCompleted(const base::string16& text, base 870 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::ImeCompositionCompleted(const base::string16& text, base 918 content/renderer/npapi/webplugin_delegate_proxy.cc new base::WaitableEvent(modal_loop_pump_messages_event)); base 1216 content/renderer/npapi/webplugin_delegate_proxy.cc if (info_.name.find(base::ASCIIToUTF16("Windows Media Player")) != base 1217 content/renderer/npapi/webplugin_delegate_proxy.cc base::string16::npos) base 34 content/renderer/npapi/webplugin_delegate_proxy.h namespace base { base 51 content/renderer/npapi/webplugin_delegate_proxy.h public base::SupportsWeakPtr<WebPluginDelegateProxy> { base 55 content/renderer/npapi/webplugin_delegate_proxy.h const base::WeakPtr<RenderViewImpl>& render_view, base 69 content/renderer/npapi/webplugin_delegate_proxy.h virtual bool GetFormValue(base::string16* value) OVERRIDE; base 83 content/renderer/npapi/webplugin_delegate_proxy.h const base::string16& text, base 90 content/renderer/npapi/webplugin_delegate_proxy.h virtual void ImeCompositionCompleted(const base::string16& text, base 102 content/renderer/npapi/webplugin_delegate_proxy.h virtual void ImeCompositionCompleted(const base::string16& text, base 147 content/renderer/npapi/webplugin_delegate_proxy.h friend class base::DeleteHelper<WebPluginDelegateProxy>; base 258 content/renderer/npapi/webplugin_delegate_proxy.h base::WeakPtr<RenderViewImpl> render_view_; base 284 content/renderer/npapi/webplugin_delegate_proxy.h scoped_ptr<base::WaitableEvent> modal_loop_pump_messages_event_; base 175 content/renderer/npapi/webplugin_impl.cc result = base::StringPrintf("HTTP %d ", response.httpStatusCode()); base 278 content/renderer/npapi/webplugin_impl.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 295 content/renderer/npapi/webplugin_impl.cc base::string16 form_value; base 359 content/renderer/npapi/webplugin_impl.cc base::MessageLoop::current()->PostTask( base 361 content/renderer/npapi/webplugin_impl.cc base::Bind(&WebPluginImpl::OnDownloadPluginSrcUrl, base 530 content/renderer/npapi/webplugin_impl.cc const base::FilePath& file_path, base 531 content/renderer/npapi/webplugin_impl.cc const base::WeakPtr<RenderViewImpl>& render_view, base 547 content/renderer/npapi/webplugin_impl.cc mime_type_(base::UTF16ToASCII(params.mimeType)), base 559 content/renderer/npapi/webplugin_impl.cc base::debug::SetCrashKeyValue("subresource_url", plugin_url_.spec()); base 808 content/renderer/npapi/webplugin_impl.cc return base::UTF16ToUTF8(cookie_jar->cookies(url, first_party_for_cookies)); base 1007 content/renderer/npapi/webplugin_impl.cc base::UserMetricsAction("Plugin_200ForByteRange")); base 59 content/renderer/npapi/webplugin_impl.h const base::FilePath& file_path, base 60 content/renderer/npapi/webplugin_impl.h const base::WeakPtr<RenderViewImpl>& render_view, base 287 content/renderer/npapi/webplugin_impl.h base::WeakPtr<RenderViewImpl> render_view_; base 321 content/renderer/npapi/webplugin_impl.h base::FilePath file_path_; base 331 content/renderer/npapi/webplugin_impl.h base::WeakPtrFactory<WebPluginImpl> weak_factory_; base 22 content/renderer/npapi/webplugin_impl_unittest.cc base::TrimWhitespace( base 24 content/renderer/npapi/webplugin_impl_unittest.cc base::TRIM_ALL, base 20 content/renderer/p2p/host_address_request.cc delegate_message_loop_(base::MessageLoopProxy::current()), base 38 content/renderer/p2p/host_address_request.cc ipc_message_loop_->PostTask(FROM_HERE, base::Bind( base 47 content/renderer/p2p/host_address_request.cc ipc_message_loop_->PostTask(FROM_HERE, base::Bind( base 80 content/renderer/p2p/host_address_request.cc delegate_message_loop_->PostTask(FROM_HERE, base::Bind( base 89 content/renderer/p2p/host_address_request.cc base::ResetAndReturn(&done_callback_).Run(addresses); base 16 content/renderer/p2p/host_address_request.h namespace base { base 28 content/renderer/p2p/host_address_request.h : public base::RefCountedThreadSafe<P2PAsyncAddressResolver> { base 30 content/renderer/p2p/host_address_request.h typedef base::Callback<void(const net::IPAddressList&)> DoneCallback; base 48 content/renderer/p2p/host_address_request.h friend class base::RefCountedThreadSafe<P2PAsyncAddressResolver>; base 59 content/renderer/p2p/host_address_request.h scoped_refptr<base::MessageLoopProxy> ipc_message_loop_; base 60 content/renderer/p2p/host_address_request.h scoped_refptr<base::MessageLoopProxy> delegate_message_loop_; base 31 content/renderer/p2p/ipc_network_manager.cc base::MessageLoop::current()->PostTask( base 33 content/renderer/p2p/ipc_network_manager.cc base::Bind(&IpcNetworkManager::SendNetworksChangedSignal, base 42 content/renderer/p2p/ipc_network_manager.h base::WeakPtrFactory<IpcNetworkManager> weak_factory_; base 102 content/renderer/p2p/ipc_socket_factory.cc const base::TimeTicks& timestamp) OVERRIDE; base 127 content/renderer/p2p/ipc_socket_factory.cc base::MessageLoop* message_loop_; base 168 content/renderer/p2p/ipc_socket_factory.cc class AsyncAddressResolverImpl : public base::NonThreadSafe, base 191 content/renderer/p2p/ipc_socket_factory.cc message_loop_(base::MessageLoop::current()), base 219 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 255 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 268 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 273 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 279 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 286 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 338 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 347 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 385 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 403 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 411 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 416 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 421 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 447 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 461 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 476 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 483 content/renderer/p2p/ipc_socket_factory.cc const base::TimeTicks& timestamp) { base 484 content/renderer/p2p/ipc_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 513 content/renderer/p2p/ipc_socket_factory.cc resolver_->Start(addr, base::Bind( base 515 content/renderer/p2p/ipc_socket_factory.cc base::Unretained(this))); base 44 content/renderer/p2p/port_allocator.cc if (!base::StringToInt(string, value) || *value <= 0 || *value >= 65536) { base 212 content/renderer/p2p/port_allocator.cc if (!base::SplitStringIntoKeyValuePairs(relay_session_response_, '=', '\n', base 228 content/renderer/p2p/port_allocator.cc base::TrimWhitespaceASCII(it->first, base::TRIM_ALL, &key); base 229 content/renderer/p2p/port_allocator.cc base::TrimWhitespaceASCII(it->second, base::TRIM_ALL, &value); base 25 content/renderer/p2p/socket_client.h class P2PSocketClient : public base::RefCountedThreadSafe<P2PSocketClient> { base 62 content/renderer/p2p/socket_client.h friend class base::RefCountedThreadSafe<P2PSocketClient>; base 41 content/renderer/p2p/socket_client_delegate.h const base::TimeTicks& timestamp) = 0; base 31 content/renderer/p2p/socket_client_impl.cc delegate_message_loop_(base::MessageLoopProxy::current()), base 54 content/renderer/p2p/socket_client_impl.cc FROM_HERE, base::Bind(&P2PSocketClientImpl::DoInit, base 77 content/renderer/p2p/socket_client_impl.cc FROM_HERE, base::Bind( base 102 content/renderer/p2p/socket_client_impl.cc FROM_HERE, base::Bind( base 120 content/renderer/p2p/socket_client_impl.cc FROM_HERE, base::Bind(&P2PSocketClientImpl::DoClose, this)); base 152 content/renderer/p2p/socket_client_impl.cc base::Bind(&P2PSocketClientImpl::DeliverOnSocketCreated, this, address)); base 177 content/renderer/p2p/socket_client_impl.cc FROM_HERE, base::Bind( base 198 content/renderer/p2p/socket_client_impl.cc FROM_HERE, base::Bind(&P2PSocketClientImpl::DeliverOnSendComplete, this)); base 212 content/renderer/p2p/socket_client_impl.cc FROM_HERE, base::Bind(&P2PSocketClientImpl::DeliverOnError, this)); base 223 content/renderer/p2p/socket_client_impl.cc const base::TimeTicks& timestamp) { base 228 content/renderer/p2p/socket_client_impl.cc base::Bind(&P2PSocketClientImpl::DeliverOnDataReceived, base 237 content/renderer/p2p/socket_client_impl.cc const base::TimeTicks& timestamp) { base 15 content/renderer/p2p/socket_client_impl.h namespace base { base 83 content/renderer/p2p/socket_client_impl.h const base::TimeTicks& timestamp); base 94 content/renderer/p2p/socket_client_impl.h const base::TimeTicks& timestamp); base 108 content/renderer/p2p/socket_client_impl.h scoped_refptr<base::MessageLoopProxy> ipc_message_loop_; base 109 content/renderer/p2p/socket_client_impl.h scoped_refptr<base::MessageLoopProxy> delegate_message_loop_; base 20 content/renderer/p2p/socket_dispatcher.cc base::MessageLoopProxy* ipc_message_loop) base 87 content/renderer/p2p/socket_dispatcher.cc base::MessageLoopProxy* P2PSocketDispatcher::message_loop() { base 104 content/renderer/p2p/socket_dispatcher.cc base::Bind(&P2PSocketDispatcher::Send, base 173 content/renderer/p2p/socket_dispatcher.cc const base::TimeTicks& timestamp) { base 36 content/renderer/p2p/socket_dispatcher.h namespace base { base 54 content/renderer/p2p/socket_dispatcher.h explicit P2PSocketDispatcher(base::MessageLoopProxy* ipc_message_loop); base 83 content/renderer/p2p/socket_dispatcher.h base::MessageLoopProxy* message_loop(); base 104 content/renderer/p2p/socket_dispatcher.h const base::TimeTicks& timestamp); base 108 content/renderer/p2p/socket_dispatcher.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 55 content/renderer/pepper/audio_helper.cc base::SharedMemoryHandle shared_memory_handle, base 57 content/renderer/pepper/audio_helper.cc base::SyncSocket::Handle socket_handle) { base 63 content/renderer/pepper/audio_helper.cc new base::SharedMemory(shared_memory_handle, false)); base 65 content/renderer/pepper/audio_helper.cc socket_for_create_callback_.reset(new base::SyncSocket(socket_handle)); base 25 content/renderer/pepper/audio_helper.h void StreamCreated(base::SharedMemoryHandle shared_memory_handle, base 27 content/renderer/pepper/audio_helper.h base::SyncSocket::Handle socket); base 40 content/renderer/pepper/audio_helper.h virtual void OnSetStreamInfo(base::SharedMemoryHandle shared_memory_handle, base 42 content/renderer/pepper/audio_helper.h base::SyncSocket::Handle socket_handle) = 0; base 51 content/renderer/pepper/audio_helper.h scoped_ptr<base::SharedMemory> shared_memory_for_create_callback_; base 53 content/renderer/pepper/audio_helper.h scoped_ptr<base::SyncSocket> socket_for_create_callback_; base 268 content/renderer/pepper/content_decryptor_delegate.cc const base::Closure& fatal_plugin_error_cb) { base 726 content/renderer/pepper/content_decryptor_delegate.cc decrypted_buffer->set_timestamp(base::TimeDelta::FromMicroseconds( base 736 content/renderer/pepper/content_decryptor_delegate.cc base::Closure buffer_no_longer_needed_cb) { base 815 content/renderer/pepper/content_decryptor_delegate.cc base::TimeDelta::FromMicroseconds( base 818 content/renderer/pepper/content_decryptor_delegate.cc base::Bind(&BufferNoLongerNeeded, base 820 content/renderer/pepper/content_decryptor_delegate.cc base::Bind(&ContentDecryptorDelegate::FreeBuffer, base 1013 content/renderer/pepper/content_decryptor_delegate.cc bytes_left < base::checked_cast<size_t>(frame_size)) { base 1031 content/renderer/pepper/content_decryptor_delegate.cc base::TimeDelta::FromMicroseconds(timestamp), base 1032 content/renderer/pepper/content_decryptor_delegate.cc base::TimeDelta::FromMicroseconds(audio_samples_per_second_ / base 51 content/renderer/pepper/content_decryptor_delegate.h const base::Closure& fatal_plugin_error_cb); base 135 content/renderer/pepper/content_decryptor_delegate.h return base::ResetAndReturn(&cb_); base 189 content/renderer/pepper/content_decryptor_delegate.h base::Closure fatal_plugin_error_cb_; base 217 content/renderer/pepper/content_decryptor_delegate.h base::WeakPtr<ContentDecryptorDelegate> weak_this_; base 218 content/renderer/pepper/content_decryptor_delegate.h base::WeakPtrFactory<ContentDecryptorDelegate> weak_ptr_factory_; base 161 content/renderer/pepper/event_conversion.cc base::i18n::UTF16CharIterator iter(key_event.text, utf16_char_count); base 165 content/renderer/pepper/event_conversion.cc base::WriteUnicodeCharacter(iter.get(), &result.character_text); base 371 content/renderer/pepper/event_conversion.cc base::string16 text16 = base::UTF8ToUTF16(event.character_text); base 504 content/renderer/pepper/event_conversion.cc std::string functionKeyName = base::StringPrintf("F%d", i); base 34 content/renderer/pepper/fake_pepper_plugin_instance.cc base::FilePath FakePepperPluginInstance::GetModulePath() { base 35 content/renderer/pepper/fake_pepper_plugin_instance.cc return base::FilePath(); base 44 content/renderer/pepper/fake_pepper_plugin_instance.cc const base::FilePath& file_path, base 47 content/renderer/pepper/fake_pepper_plugin_instance.cc base::ProcessId plugin_pid, base 75 content/renderer/pepper/fake_pepper_plugin_instance.cc const base::FilePath& path) { base 82 content/renderer/pepper/fake_pepper_plugin_instance.cc const base::string16& selected_text) {} base 23 content/renderer/pepper/fake_pepper_plugin_instance.h virtual base::FilePath GetModulePath() OVERRIDE; base 27 content/renderer/pepper/fake_pepper_plugin_instance.h const base::FilePath& file_path, base 30 content/renderer/pepper/fake_pepper_plugin_instance.h base::ProcessId plugin_pid, base 40 content/renderer/pepper/fake_pepper_plugin_instance.h const base::FilePath& path) OVERRIDE; base 42 content/renderer/pepper/fake_pepper_plugin_instance.h virtual void SetSelectedText(const base::string16& selected_text) OVERRIDE; base 36 content/renderer/pepper/host_array_buffer_var.cc base::SharedMemoryHandle handle) base 38 content/renderer/pepper/host_array_buffer_var.cc base::SharedMemory s(handle, true); base 66 content/renderer/pepper/host_array_buffer_var.cc base::SharedMemoryHandle* plugin_shm_handle) { base 67 content/renderer/pepper/host_array_buffer_var.cc scoped_ptr<base::SharedMemory> shm( base 81 content/renderer/pepper/host_array_buffer_var.cc base::ProcessId p = pm->GetPeerProcessId(); base 82 content/renderer/pepper/host_array_buffer_var.cc if (p == base::kNullProcessId) { base 84 content/renderer/pepper/host_array_buffer_var.cc p = base::GetCurrentProcId(); base 87 content/renderer/pepper/host_array_buffer_var.cc base::PlatformFile platform_file = base 22 content/renderer/pepper/host_array_buffer_var.h base::SharedMemoryHandle handle); base 31 content/renderer/pepper/host_array_buffer_var.h base::SharedMemoryHandle* plugin_shm_handle) OVERRIDE; base 20 content/renderer/pepper/host_dispatcher_wrapper.cc base::ProcessId peer_pid, base 28 content/renderer/pepper/host_dispatcher_wrapper.h base::ProcessId peer_pid, base 53 content/renderer/pepper/host_dispatcher_wrapper.h base::ProcessId peer_pid() { return peer_pid_; } base 60 content/renderer/pepper/host_dispatcher_wrapper.h base::ProcessId peer_pid_; base 73 content/renderer/pepper/host_globals.cc WebString(base::UTF8ToUTF16(result))); base 180 content/renderer/pepper/host_globals.cc base::TaskRunner* HostGlobals::GetFileTaskRunner() { base 199 content/renderer/pepper/host_globals.cc new_module = MakeTypedId(static_cast<PP_Module>(base::RandUint64()), base 236 content/renderer/pepper/host_globals.cc new_instance = MakeTypedId(static_cast<PP_Instance>(base::RandUint64()), base 54 content/renderer/pepper/host_globals.h virtual base::TaskRunner* GetFileTaskRunner() OVERRIDE; base 33 content/renderer/pepper/host_var_tracker.cc base::SharedMemoryHandle handle) { base 154 content/renderer/pepper/host_var_tracker.cc base::SharedMemoryHandle handle, base 173 content/renderer/pepper/host_var_tracker.cc base::SharedMemoryHandle* handle, base 67 content/renderer/pepper/host_var_tracker.h base::SharedMemoryHandle file, base 71 content/renderer/pepper/host_var_tracker.h base::SharedMemoryHandle* handle, base 79 content/renderer/pepper/host_var_tracker.h uint32 size_in_bytes, base::SharedMemoryHandle handle) OVERRIDE; base 101 content/renderer/pepper/host_var_tracker.h base::SharedMemoryHandle handle; base 373 content/renderer/pepper/message_channel.cc base::Bind(&MessageChannel::NPVariantToPPVarComplete, base 424 content/renderer/pepper/message_channel.cc base::MessageLoop::current()->PostTask( base 426 content/renderer/pepper/message_channel.cc base::Bind(&MessageChannel::PostMessageToJavaScriptImpl, base 437 content/renderer/pepper/message_channel.cc base::MessageLoop::current()->PostTask( base 439 content/renderer/pepper/message_channel.cc base::Bind(&MessageChannel::DrainEarlyMessageQueue, base 529 content/renderer/pepper/message_channel.cc base::MessageLoop::current()->PostTask( base 531 content/renderer/pepper/message_channel.cc base::Bind(&MessageChannel::PostMessageToNativeImpl, base 50 content/renderer/pepper/message_channel.h base::WeakPtr<MessageChannel> message_channel; base 146 content/renderer/pepper/message_channel.h base::WeakPtrFactory<MessageChannel> weak_ptr_factory_; base 56 content/renderer/pepper/mock_renderer_ppapi_host.cc base::ProcessId MockRendererPpapiHost::GetPluginPID() const { base 58 content/renderer/pepper/mock_renderer_ppapi_host.cc return base::kNullProcessId; base 76 content/renderer/pepper/mock_renderer_ppapi_host.cc base::PlatformFile handle, base 89 content/renderer/pepper/mock_renderer_ppapi_host.cc const base::Callback<void(const std::vector<int>&)>& callback) const { base 46 content/renderer/pepper/mock_renderer_ppapi_host.h virtual base::ProcessId GetPluginPID() const OVERRIDE; base 53 content/renderer/pepper/mock_renderer_ppapi_host.h base::PlatformFile handle, base 59 content/renderer/pepper/mock_renderer_ppapi_host.h const base::Callback<void( base 25 content/renderer/pepper/pepper_audio_input_host.cc base::PlatformFile ConvertSyncSocketHandle(const base::SyncSocket& socket) { base 29 content/renderer/pepper/pepper_audio_input_host.cc base::PlatformFile ConvertSharedMemoryHandle( base 30 content/renderer/pepper/pepper_audio_input_host.cc const base::SharedMemory& shared_memory) { base 79 content/renderer/pepper/pepper_audio_input_host.cc base::SharedMemoryHandle shared_memory_handle, base 81 content/renderer/pepper/pepper_audio_input_host.cc base::SyncSocket::Handle socket) { base 86 content/renderer/pepper/pepper_audio_input_host.cc OnOpenComplete(PP_ERROR_FAILED, base::SharedMemory::NULLHandle(), 0, base 87 content/renderer/pepper/pepper_audio_input_host.cc base::SyncSocket::kInvalidHandle); base 143 content/renderer/pepper/pepper_audio_input_host.cc base::SharedMemoryHandle shared_memory_handle, base 145 content/renderer/pepper/pepper_audio_input_host.cc base::SyncSocket::Handle socket_handle) { base 147 content/renderer/pepper/pepper_audio_input_host.cc base::SyncSocket scoped_socket(socket_handle); base 148 content/renderer/pepper/pepper_audio_input_host.cc base::SharedMemory scoped_shared_memory(shared_memory_handle, false); base 163 content/renderer/pepper/pepper_audio_input_host.cc base::SharedMemoryHandle temp_shmem = base::SharedMemory::NULLHandle(); base 185 content/renderer/pepper/pepper_audio_input_host.cc const base::SyncSocket& socket, base 186 content/renderer/pepper/pepper_audio_input_host.cc const base::SharedMemory& shared_memory, base 188 content/renderer/pepper/pepper_audio_input_host.cc base::SharedMemoryHandle* remote_shared_memory_handle) { base 37 content/renderer/pepper/pepper_audio_input_host.h void StreamCreated(base::SharedMemoryHandle shared_memory_handle, base 39 content/renderer/pepper/pepper_audio_input_host.h base::SyncSocket::Handle socket); base 52 content/renderer/pepper/pepper_audio_input_host.h base::SharedMemoryHandle shared_memory_handle, base 54 content/renderer/pepper/pepper_audio_input_host.h base::SyncSocket::Handle socket_handle); base 57 content/renderer/pepper/pepper_audio_input_host.h const base::SyncSocket& socket, base 58 content/renderer/pepper/pepper_audio_input_host.h const base::SharedMemory& shared_memory, base 60 content/renderer/pepper/pepper_audio_input_host.h base::SharedMemoryHandle* remote_shared_memory_handle); base 25 content/renderer/pepper/pepper_broker.cc base::SyncSocket::Handle DuplicateHandle(base::SyncSocket::Handle handle) { base 26 content/renderer/pepper/pepper_broker.cc base::SyncSocket::Handle out_handle = base::kInvalidPlatformFileValue; base 36 content/renderer/pepper/pepper_broker.cc out_handle = base::kInvalidPlatformFileValue; base 57 content/renderer/pepper/pepper_broker.cc base::ProcessId broker_pid, base 88 content/renderer/pepper/pepper_broker.cc base::SyncSocket::Handle handle) { base 101 content/renderer/pepper/pepper_broker.cc base::SyncSocket temp_socket( base 152 content/renderer/pepper/pepper_broker.cc base::ProcessId broker_pid, base 166 content/renderer/pepper/pepper_broker.cc base::WeakPtr<PPB_Broker_Impl>& weak_ptr = i->second.client; base 194 content/renderer/pepper/pepper_broker.cc ppapi::PlatformFileToInt(base::kInvalidPlatformFileValue), base 222 content/renderer/pepper/pepper_broker.cc base::WeakPtr<PPB_Broker_Impl>& weak_ptr = i->second.client; base 225 content/renderer/pepper/pepper_broker.cc ppapi::PlatformFileToInt(base::kInvalidPlatformFileValue), base 233 content/renderer/pepper/pepper_broker.cc base::SyncSocket::Handle plugin_handle = base::kInvalidPlatformFileValue; base 238 content/renderer/pepper/pepper_broker.cc scoped_ptr<base::SyncSocket> broker_socket(new base::SyncSocket()); base 239 content/renderer/pepper/pepper_broker.cc scoped_ptr<base::SyncSocket> plugin_socket(new base::SyncSocket()); base 240 content/renderer/pepper/pepper_broker.cc if (base::SyncSocket::CreatePair(broker_socket.get(), plugin_socket.get())) { base 35 content/renderer/pepper/pepper_broker.h bool Init(base::ProcessId broker_pid, base 39 content/renderer/pepper/pepper_broker.h base::SyncSocket::Handle handle); base 46 content/renderer/pepper/pepper_broker.h class PepperBroker : public base::RefCountedThreadSafe<PepperBroker>{ base 60 content/renderer/pepper/pepper_broker.h void OnBrokerChannelConnected(base::ProcessId broker_pid, base 69 content/renderer/pepper/pepper_broker.h friend class base::RefCountedThreadSafe<PepperBroker>; base 76 content/renderer/pepper/pepper_broker.h base::WeakPtr<PPB_Broker_Impl> client; base 19 content/renderer/pepper/pepper_broker_unittest.cc base::MessageLoopForIO message_loop_; base 34 content/renderer/pepper/pepper_broker_unittest.cc EXPECT_FALSE(dispatcher_wrapper.Init(base::kNullProcessId, invalid_channel)); base 35 content/renderer/pepper/pepper_broker_unittest.cc EXPECT_FALSE(dispatcher_wrapper.Init(base::kNullProcessId, invalid_channel)); base 47 content/renderer/pepper/pepper_broker_unittest.cc base::FileDescriptor file_descriptor(fds[1], true); // Auto close. base 53 content/renderer/pepper/pepper_broker_unittest.cc EXPECT_TRUE(dispatcher_wrapper.Init(base::kNullProcessId, valid_channel)); base 32 content/renderer/pepper/pepper_browser_connection.h typedef base::Callback<void(const std::vector<int>&)> base 26 content/renderer/pepper/pepper_device_enumeration_host_helper.cc : public base::SupportsWeakPtr<ScopedRequest> { base 53 content/renderer/pepper/pepper_device_enumeration_host_helper.cc base::Bind(&ScopedRequest::EnumerateDevicesCallbackBody, AsWeakPtr())); base 70 content/renderer/pepper/pepper_device_enumeration_host_helper.cc base::MessageLoop::current()->PostTask( base 72 content/renderer/pepper/pepper_device_enumeration_host_helper.cc base::Bind(&ScopedRequest::EnumerateDevicesCallbackBody, base 143 content/renderer/pepper/pepper_device_enumeration_host_helper.cc base::Bind(&PepperDeviceEnumerationHostHelper::OnEnumerateDevicesComplete, base 144 content/renderer/pepper/pepper_device_enumeration_host_helper.cc base::Unretained(this)))); base 158 content/renderer/pepper/pepper_device_enumeration_host_helper.cc base::Bind(&PepperDeviceEnumerationHostHelper::OnNotifyDeviceChange, base 159 content/renderer/pepper/pepper_device_enumeration_host_helper.cc base::Unretained(this), callback_id))); base 44 content/renderer/pepper/pepper_device_enumeration_host_helper.h typedef base::Callback< base 27 content/renderer/pepper/pepper_file_chooser_host.cc CompletionHandler(const base::WeakPtr<PepperFileChooserHost>& host) base 64 content/renderer/pepper/pepper_file_chooser_host.cc base::WeakPtr<PepperFileChooserHost> host_; base 102 content/renderer/pepper/pepper_file_chooser_host.cc std::vector<base::FilePath> file_paths; base 106 content/renderer/pepper/pepper_file_chooser_host.cc base::FilePath file_path(base::UTF8ToWide(files[i].path)); base 108 content/renderer/pepper/pepper_file_chooser_host.cc base::FilePath file_path(files[i].path); base 119 content/renderer/pepper/pepper_file_chooser_host.cc base::Bind(&PepperFileChooserHost::DidCreateResourceHosts, base 178 content/renderer/pepper/pepper_file_chooser_host.cc const std::vector<base::FilePath>& file_paths, base 29 content/renderer/pepper/pepper_file_chooser_host.h public base::SupportsWeakPtr<PepperFileChooserHost> { base 58 content/renderer/pepper/pepper_file_chooser_host.h void DidCreateResourceHosts(const std::vector<base::FilePath>& file_paths, base 68 content/renderer/pepper/pepper_file_chooser_host.h base::WeakPtrFactory<PepperFileChooserHost> weak_factory_; base 60 content/renderer/pepper/pepper_file_chooser_host_unittest.cc std::string FilePathToUTF8(const base::FilePath::StringType& path) { base 62 content/renderer/pepper/pepper_file_chooser_host_unittest.cc return base::UTF16ToUTF8(path); base 100 content/renderer/pepper/pepper_file_chooser_host_unittest.cc EXPECT_EQ(accept[0], base::UTF16ToUTF8(chooser_params.accept_types[0])); base 106 content/renderer/pepper/pepper_file_chooser_host_unittest.cc selected_info.local_path = base::FilePath(FILE_PATH_LITERAL("myp\\ath/foo")); base 29 content/renderer/pepper/pepper_file_ref_renderer_host.cc fs_host_ = base::AsWeakPtr(static_cast<PepperFileSystemHost*>(fs_host)); base 38 content/renderer/pepper/pepper_file_ref_renderer_host.cc const base::FilePath& external_path) base 65 content/renderer/pepper/pepper_file_ref_renderer_host.cc base::FilePath PepperFileRefRendererHost::GetExternalFilePath() const { base 67 content/renderer/pepper/pepper_file_ref_renderer_host.cc return base::FilePath(); base 37 content/renderer/pepper/pepper_file_ref_renderer_host.h const base::FilePath& external_path); base 43 content/renderer/pepper/pepper_file_ref_renderer_host.h base::FilePath GetExternalFilePath() const; base 54 content/renderer/pepper/pepper_file_ref_renderer_host.h base::FilePath external_path_; base 55 content/renderer/pepper/pepper_file_ref_renderer_host.h base::WeakPtr<PepperFileSystemHost> fs_host_; base 84 content/renderer/pepper/pepper_file_system_host.cc void PepperFileSystemHost::DidFailOpenFileSystem(base::File::Error error) { base 115 content/renderer/pepper/pepper_file_system_host.cc base::Bind(&PepperFileSystemHost::DidOpenFileSystem, base 117 content/renderer/pepper/pepper_file_system_host.cc base::Bind(&PepperFileSystemHost::DidFailOpenFileSystem, base 25 content/renderer/pepper/pepper_file_system_host.h public base::SupportsWeakPtr<PepperFileSystemHost> { base 58 content/renderer/pepper/pepper_file_system_host.h void DidFailOpenFileSystem(base::File::Error error); base 75 content/renderer/pepper/pepper_file_system_host.h base::WeakPtrFactory<PepperFileSystemHost> weak_factory_; base 567 content/renderer/pepper/pepper_graphics_2d_host.cc void ReleaseCallback(scoped_ptr<base::SharedMemory> memory, base 579 content/renderer/pepper/pepper_graphics_2d_host.cc scoped_ptr<base::SharedMemory> memory = base 589 content/renderer/pepper/pepper_graphics_2d_host.cc base::Bind(&ReleaseCallback, base::Passed(&memory))); base 772 content/renderer/pepper/pepper_graphics_2d_host.cc base::MessageLoop::current()->PostDelayedTask( base 774 content/renderer/pepper/pepper_graphics_2d_host.cc base::Bind(&PepperGraphics2DHost::SendOffscreenFlushAck, base 776 content/renderer/pepper/pepper_graphics_2d_host.cc base::TimeDelta::FromMilliseconds(kOffscreenCallbackDelayMs)); base 42 content/renderer/pepper/pepper_graphics_2d_host.h public base::SupportsWeakPtr<PepperGraphics2DHost> { base 91 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc base::MessageLoop message_loop_; base 28 content/renderer/pepper/pepper_hung_plugin_filter.cc const base::FilePath& plugin_path, base 42 content/renderer/pepper/pepper_hung_plugin_filter.cc base::AutoLock lock(lock_); base 43 content/renderer/pepper/pepper_hung_plugin_filter.cc last_message_received_ = base::TimeTicks::Now(); base 52 content/renderer/pepper/pepper_hung_plugin_filter.cc base::AutoLock lock(lock_); base 63 content/renderer/pepper/pepper_hung_plugin_filter.cc base::AutoLock lock(lock_); base 68 content/renderer/pepper/pepper_hung_plugin_filter.cc base::AutoLock lock(lock_); base 74 content/renderer/pepper/pepper_hung_plugin_filter.cc base::AutoLock lock(lock_); base 75 content/renderer/pepper/pepper_hung_plugin_filter.cc last_message_received_ = base::TimeTicks::Now(); base 89 content/renderer/pepper/pepper_hung_plugin_filter.cc base::Bind(&PepperHungPluginFilter::OnHangTimer, this), base 90 content/renderer/pepper/pepper_hung_plugin_filter.cc base::TimeDelta::FromSeconds(kHungThresholdSec)); base 102 content/renderer/pepper/pepper_hung_plugin_filter.cc base::TimeTicks PepperHungPluginFilter::GetHungTime() const { base 110 content/renderer/pepper/pepper_hung_plugin_filter.cc base::TimeTicks hard_time = began_blocking_time_ + base 111 content/renderer/pepper/pepper_hung_plugin_filter.cc base::TimeDelta::FromSeconds(kBlockedHardThresholdSec); base 114 content/renderer/pepper/pepper_hung_plugin_filter.cc base::TimeTicks soft_time = last_message_received_ + base 115 content/renderer/pepper/pepper_hung_plugin_filter.cc base::TimeDelta::FromSeconds(kHungThresholdSec); base 126 content/renderer/pepper/pepper_hung_plugin_filter.cc return base::TimeTicks::Now() > GetHungTime(); base 130 content/renderer/pepper/pepper_hung_plugin_filter.cc base::AutoLock lock(lock_); base 136 content/renderer/pepper/pepper_hung_plugin_filter.cc base::TimeDelta delay = GetHungTime() - base::TimeTicks::Now(); base 137 content/renderer/pepper/pepper_hung_plugin_filter.cc if (delay > base::TimeDelta()) { base 144 content/renderer/pepper/pepper_hung_plugin_filter.cc base::Bind(&PepperHungPluginFilter::OnHangTimer, this), base 37 content/renderer/pepper/pepper_hung_plugin_filter.h PepperHungPluginFilter(const base::FilePath& plugin_path, base 63 content/renderer/pepper/pepper_hung_plugin_filter.h base::TimeTicks GetHungTime() const; base 75 content/renderer/pepper/pepper_hung_plugin_filter.h base::Lock lock_; base 77 content/renderer/pepper/pepper_hung_plugin_filter.h base::FilePath plugin_path_; base 86 content/renderer/pepper/pepper_hung_plugin_filter.h scoped_refptr<base::MessageLoopProxy> io_loop_; base 92 content/renderer/pepper/pepper_hung_plugin_filter.h base::TimeTicks began_blocking_time_; base 97 content/renderer/pepper/pepper_hung_plugin_filter.h base::TimeTicks last_message_received_; base 24 content/renderer/pepper/pepper_in_process_router.cc Channel(const base::Callback<bool(IPC::Message*)>& callback) base 34 content/renderer/pepper/pepper_in_process_router.cc base::Callback<bool(IPC::Message*)> callback_; base 44 content/renderer/pepper/pepper_in_process_router.cc new Channel(base::Bind(&PepperInProcessRouter::SendToBrowser, base 45 content/renderer/pepper/pepper_in_process_router.cc base::Unretained(this)))); base 47 content/renderer/pepper/pepper_in_process_router.cc new Channel(base::Bind(&PepperInProcessRouter::SendToPlugin, base 48 content/renderer/pepper/pepper_in_process_router.cc base::Unretained(this)))); base 50 content/renderer/pepper/pepper_in_process_router.cc new Channel(base::Bind(&PepperInProcessRouter::SendToHost, base 51 content/renderer/pepper/pepper_in_process_router.cc base::Unretained(this)))); base 120 content/renderer/pepper/pepper_in_process_router.cc base::MessageLoop::current()->PostTask( base 122 content/renderer/pepper/pepper_in_process_router.cc base::Bind(&PepperInProcessRouter::DispatchHostMsg, base 124 content/renderer/pepper/pepper_in_process_router.cc base::Owned(message.release()))); base 155 content/renderer/pepper/pepper_in_process_router.cc base::MessageLoop::current()->PostTask( base 157 content/renderer/pepper/pepper_in_process_router.cc base::Bind(&PepperInProcessRouter::DispatchPluginMsg, base 159 content/renderer/pepper/pepper_in_process_router.cc base::Owned(message.release()))); base 98 content/renderer/pepper/pepper_in_process_router.h base::WeakPtrFactory<PepperInProcessRouter> weak_factory_; base 59 content/renderer/pepper/pepper_media_device_manager.cc base::MessageLoop::current()->PostTask( base 61 content/renderer/pepper/pepper_media_device_manager.cc base::Bind( base 77 content/renderer/pepper/pepper_media_device_manager.cc base::MessageLoop::current()->PostTask( base 79 content/renderer/pepper/pepper_media_device_manager.cc base::Bind(&MediaStreamDispatcher::StopEnumerateDevices, base 103 content/renderer/pepper/pepper_media_device_manager.cc base::MessageLoop::current()->PostTask( base 105 content/renderer/pepper/pepper_media_device_manager.cc base::Bind(&PepperMediaDeviceManager::OnDeviceOpenFailed, base 24 content/renderer/pepper/pepper_media_device_manager.h public base::SupportsWeakPtr<PepperMediaDeviceManager> { base 36 content/renderer/pepper/pepper_media_device_manager.h typedef base::Callback<void (int /* request_id */, base 50 content/renderer/pepper/pepper_media_stream_audio_track_host.cc main_message_loop_proxy_(base::MessageLoopProxy::current()), base 55 content/renderer/pepper/pepper_media_stream_audio_track_host.cc DCHECK_EQ(main_message_loop_proxy_, base::MessageLoopProxy::current()); base 59 content/renderer/pepper/pepper_media_stream_audio_track_host.cc DCHECK_EQ(main_message_loop_proxy_, base::MessageLoopProxy::current()); base 62 content/renderer/pepper/pepper_media_stream_audio_track_host.cc base::AutoLock lock(lock_); base 68 content/renderer/pepper/pepper_media_stream_audio_track_host.cc DCHECK_EQ(main_message_loop_proxy_, base::MessageLoopProxy::current()); base 72 content/renderer/pepper/pepper_media_stream_audio_track_host.cc base::AutoLock lock(lock_); base 83 content/renderer/pepper/pepper_media_stream_audio_track_host.cc DCHECK_EQ(main_message_loop_proxy_, base::MessageLoopProxy::current()); base 98 content/renderer/pepper/pepper_media_stream_audio_track_host.cc base::AutoLock lock(lock_); base 120 content/renderer/pepper/pepper_media_stream_audio_track_host.cc base::Bind(&AudioSink::SendEnqueueBufferMessageOnMainThread, base 157 content/renderer/pepper/pepper_media_stream_audio_track_host.cc base::Bind(&AudioSink::InitBuffersOnMainThread, base 20 content/renderer/pepper/pepper_media_stream_audio_track_host.h namespace base { base 71 content/renderer/pepper/pepper_media_stream_audio_track_host.h base::TimeDelta timestamp_; base 75 content/renderer/pepper/pepper_media_stream_audio_track_host.h base::TimeDelta buffer_duration_; base 91 content/renderer/pepper/pepper_media_stream_audio_track_host.h base::Lock lock_; base 96 content/renderer/pepper/pepper_media_stream_audio_track_host.h scoped_refptr<base::MessageLoopProxy> main_message_loop_proxy_; base 98 content/renderer/pepper/pepper_media_stream_audio_track_host.h base::ThreadChecker audio_thread_checker_; base 100 content/renderer/pepper/pepper_media_stream_audio_track_host.h base::WeakPtrFactory<AudioSink> weak_factory_; base 46 content/renderer/pepper/pepper_media_stream_track_host_base.cc scoped_ptr<base::SharedMemory> shm( base 51 content/renderer/pepper/pepper_media_stream_track_host_base.cc base::SharedMemoryHandle shm_handle = shm->handle(); base 57 content/renderer/pepper/pepper_media_stream_track_host_base.cc base::PlatformFile platform_file = base 25 content/renderer/pepper/pepper_platform_audio_input.cc const base::WeakPtr<RenderViewImpl>& render_view, base 48 content/renderer/pepper/pepper_platform_audio_input.cc base::Bind(&PepperPlatformAudioInput::StartCaptureOnIOThread, this)); base 56 content/renderer/pepper/pepper_platform_audio_input.cc base::Bind(&PepperPlatformAudioInput::StopCaptureOnIOThread, this)); base 71 content/renderer/pepper/pepper_platform_audio_input.cc base::Bind(&PepperPlatformAudioInput::ShutDownOnIOThread, this)); base 75 content/renderer/pepper/pepper_platform_audio_input.cc base::SharedMemoryHandle handle, base 76 content/renderer/pepper/pepper_platform_audio_input.cc base::SyncSocket::Handle socket_handle, base 90 content/renderer/pepper/pepper_platform_audio_input.cc if (base::MessageLoopProxy::current().get() != base 96 content/renderer/pepper/pepper_platform_audio_input.cc base::Bind(&PepperPlatformAudioInput::OnStreamCreated, this, base 105 content/renderer/pepper/pepper_platform_audio_input.cc base::SyncSocket temp_socket(socket_handle); base 106 content/renderer/pepper/pepper_platform_audio_input.cc base::SharedMemory temp_shared_memory(handle, false); base 135 content/renderer/pepper/pepper_platform_audio_input.cc main_message_loop_proxy_(base::MessageLoopProxy::current()), base 143 content/renderer/pepper/pepper_platform_audio_input.cc const base::WeakPtr<RenderViewImpl>& render_view, base 171 content/renderer/pepper/pepper_platform_audio_input.cc base::Bind(&PepperPlatformAudioInput::OnDeviceOpened, this)); base 212 content/renderer/pepper/pepper_platform_audio_input.cc base::Bind(&PepperPlatformAudioInput::CloseDevice, this)); base 235 content/renderer/pepper/pepper_platform_audio_input.cc base::Bind(&PepperPlatformAudioInput::InitializeOnIOThread, base 20 content/renderer/pepper/pepper_platform_audio_input.h namespace base { base 43 content/renderer/pepper/pepper_platform_audio_input.h public base::RefCountedThreadSafe<PepperPlatformAudioInput> { base 48 content/renderer/pepper/pepper_platform_audio_input.h const base::WeakPtr<RenderViewImpl>& render_view, base 62 content/renderer/pepper/pepper_platform_audio_input.h virtual void OnStreamCreated(base::SharedMemoryHandle handle, base 63 content/renderer/pepper/pepper_platform_audio_input.h base::SyncSocket::Handle socket_handle, base 75 content/renderer/pepper/pepper_platform_audio_input.h friend class base::RefCountedThreadSafe<PepperPlatformAudioInput>; base 80 content/renderer/pepper/pepper_platform_audio_input.h const base::WeakPtr<RenderViewImpl>& render_view, base 109 content/renderer/pepper/pepper_platform_audio_input.h scoped_refptr<base::MessageLoopProxy> main_message_loop_proxy_; base 110 content/renderer/pepper/pepper_platform_audio_input.h scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 113 content/renderer/pepper/pepper_platform_audio_input.h base::WeakPtr<RenderViewImpl> render_view_; base 45 content/renderer/pepper/pepper_platform_audio_output.cc base::Bind(&PepperPlatformAudioOutput::StartPlaybackOnIOThread, this)); base 55 content/renderer/pepper/pepper_platform_audio_output.cc base::Bind(&PepperPlatformAudioOutput::StopPlaybackOnIOThread, this)); base 67 content/renderer/pepper/pepper_platform_audio_output.cc base::Bind(&PepperPlatformAudioOutput::ShutDownOnIOThread, this)); base 75 content/renderer/pepper/pepper_platform_audio_output.cc base::SharedMemoryHandle handle, base 76 content/renderer/pepper/pepper_platform_audio_output.cc base::SyncSocket::Handle socket_handle, base 87 content/renderer/pepper/pepper_platform_audio_output.cc if (base::MessageLoopProxy::current().get() == base 95 content/renderer/pepper/pepper_platform_audio_output.cc base::Bind(&PepperPlatformAudioOutput::OnStreamCreated, this, handle, base 113 content/renderer/pepper/pepper_platform_audio_output.cc main_message_loop_proxy_(base::MessageLoopProxy::current()), base 138 content/renderer/pepper/pepper_platform_audio_output.cc base::Bind(&PepperPlatformAudioOutput::InitializeOnIOThread, this, base 17 content/renderer/pepper/pepper_platform_audio_output.h namespace base { base 26 content/renderer/pepper/pepper_platform_audio_output.h public base::RefCountedThreadSafe<PepperPlatformAudioOutput> { base 53 content/renderer/pepper/pepper_platform_audio_output.h virtual void OnStreamCreated(base::SharedMemoryHandle handle, base 54 content/renderer/pepper/pepper_platform_audio_output.h base::SyncSocket::Handle socket_handle, base 62 content/renderer/pepper/pepper_platform_audio_output.h friend class base::RefCountedThreadSafe<PepperPlatformAudioOutput>; base 86 content/renderer/pepper/pepper_platform_audio_output.h scoped_refptr<base::MessageLoopProxy> main_message_loop_proxy_; base 87 content/renderer/pepper/pepper_platform_audio_output.h scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 110 content/renderer/pepper/pepper_platform_context_3d.cc base::Bind(&PlatformContext3D::OnContextLost, base 113 content/renderer/pepper/pepper_platform_context_3d.cc base::Bind(&PlatformContext3D::OnConsoleMessage, base 148 content/renderer/pepper/pepper_platform_context_3d.cc void PlatformContext3D::SetContextLostCallback(const base::Closure& task) { base 157 content/renderer/pepper/pepper_platform_context_3d.cc void PlatformContext3D::Echo(const base::Closure& task) { base 57 content/renderer/pepper/pepper_platform_context_3d.h typedef base::Callback<void(const std::string&, int)> base 59 content/renderer/pepper/pepper_platform_context_3d.h void SetContextLostCallback(const base::Closure& callback); base 66 content/renderer/pepper/pepper_platform_context_3d.h void Echo(const base::Closure& task); base 78 content/renderer/pepper/pepper_platform_context_3d.h base::Closure context_lost_callback_; base 80 content/renderer/pepper/pepper_platform_context_3d.h base::WeakPtrFactory<PlatformContext3D> weak_ptr_factory_; base 21 content/renderer/pepper/pepper_platform_video_capture.cc const base::WeakPtr<RenderViewImpl>& render_view, base 29 content/renderer/pepper/pepper_platform_video_capture.cc this, base::MessageLoopProxy::current())), base 41 content/renderer/pepper/pepper_platform_video_capture.cc base::Bind(&PepperPlatformVideoCapture::OnDeviceOpened, this)); base 31 content/renderer/pepper/pepper_platform_video_capture.h public base::RefCounted<PepperPlatformVideoCapture>, base 35 content/renderer/pepper/pepper_platform_video_capture.h const base::WeakPtr<RenderViewImpl>& render_view, base 66 content/renderer/pepper/pepper_platform_video_capture.h friend class base::RefCounted<PepperPlatformVideoCapture>; base 78 content/renderer/pepper/pepper_platform_video_capture.h base::WeakPtr<RenderViewImpl> render_view_; base 141 content/renderer/pepper/pepper_plugin_instance_impl.cc using base::StringPrintf; base 404 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Callback<const void*(const char*)> get_plugin_interface_func = base 405 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Bind(&PluginModule::GetPluginInterface, module); base 562 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Bind(&RenderViewImpl::PepperInstanceDeleted, base 564 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Unretained(this)); base 776 content/renderer/pepper/pepper_plugin_instance_impl.cc bool is_xp = base::win::GetVersion() <= base::win::VERSION_XP; base 874 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Bind(&PepperPluginInstanceImpl::DidDataFromWebURLResponse, base 886 content/renderer/pepper/pepper_plugin_instance_impl.cc PP_InputEvent_Type type, const base::string16& text) { base 896 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::string16& text, base 914 content/renderer/pepper/pepper_plugin_instance_impl.cc base::TimeTicks::Now()); base 925 content/renderer/pepper/pepper_plugin_instance_impl.cc event.character_text = base::UTF16ToUTF8AndAdjustOffsets(text, &utf8_offsets); base 979 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::string16& text) { base 985 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::string16& text, base 995 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::string16& text) { base 1000 content/renderer/pepper/pepper_plugin_instance_impl.cc bool PepperPluginInstanceImpl::HandleTextInput(const base::string16& text) { base 1005 content/renderer/pepper/pepper_plugin_instance_impl.cc void PepperPluginInstanceImpl::GetSurroundingText(base::string16* text, base 1010 content/renderer/pepper/pepper_plugin_instance_impl.cc *text = base::UTF8ToUTF16AndAdjustOffsets(surrounding_text_, &offsets); base 1011 content/renderer/pepper/pepper_plugin_instance_impl.cc range->set_start(offsets[0] == base::string16::npos ? text->size() base 1013 content/renderer/pepper/pepper_plugin_instance_impl.cc range->set_end(offsets[1] == base::string16::npos ? text->size() base 1290 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::string16& selected_text) { base 1295 content/renderer/pepper/pepper_plugin_instance_impl.cc link_under_cursor_ = base::UTF8ToUTF16(url); base 1298 content/renderer/pepper/pepper_plugin_instance_impl.cc base::string16 PepperPluginInstanceImpl::GetSelectedText(bool html) { base 1307 content/renderer/pepper/pepper_plugin_instance_impl.cc base::string16 selection; base 1309 content/renderer/pepper/pepper_plugin_instance_impl.cc selection = base::UTF8ToUTF16(string->value()); base 1315 content/renderer/pepper/pepper_plugin_instance_impl.cc base::string16 PepperPluginInstanceImpl::GetLinkAtPosition( base 1335 content/renderer/pepper/pepper_plugin_instance_impl.cc base::string16 link; base 1337 content/renderer/pepper/pepper_plugin_instance_impl.cc link = base::UTF8ToUTF16(string->value()); base 1361 content/renderer/pepper/pepper_plugin_instance_impl.cc bool PepperPluginInstanceImpl::StartFind(const base::string16& search_text, base 1372 content/renderer/pepper/pepper_plugin_instance_impl.cc base::UTF16ToUTF8(search_text).c_str(), base 1573 content/renderer/pepper/pepper_plugin_instance_impl.cc base::MessageLoop::current()->PostTask( base 1575 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Bind(&PepperPluginInstanceImpl::SendAsyncDidChangeView, base 2054 content/renderer/pepper/pepper_plugin_instance_impl.cc PP_TimeTicks now = ppapi::TimeTicksToPPTimeTicks(base::TimeTicks::Now()); base 2122 content/renderer/pepper/pepper_plugin_instance_impl.cc base::UTF8ToUTF16(input_event.character_text), gfx::Range()); base 2142 content/renderer/pepper/pepper_plugin_instance_impl.cc base::string16 utf16_text = base 2143 content/renderer/pepper/pepper_plugin_instance_impl.cc base::UTF8ToUTF16AndAdjustOffsets(input_event.character_text, &offsets); base 2685 content/renderer/pepper/pepper_plugin_instance_impl.cc base::MessageLoop::current()->PostTask( base 2687 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Bind(&PepperPluginInstanceImpl::RequestSurroundingText, base 2797 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Callback<const void*(const char*)> get_plugin_interface_func = base 2798 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Bind(&PluginModule::GetPluginInterface, module_.get()); base 2888 content/renderer/pepper/pepper_plugin_instance_impl.cc base::FilePath PepperPluginInstanceImpl::GetModulePath() { base 2923 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::FilePath& file_path, base 2926 content/renderer/pepper/pepper_plugin_instance_impl.cc base::ProcessId plugin_pid, base 3005 content/renderer/pepper/pepper_plugin_instance_impl.cc base::MessageLoop::current()->PostTask( base 3007 content/renderer/pepper/pepper_plugin_instance_impl.cc base::Bind(&PepperPluginInstanceImpl::ReportGeometry, this)); base 3071 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::FilePath& path) { base 118 content/renderer/pepper/pepper_plugin_instance_impl.h : public base::RefCounted<PepperPluginInstanceImpl>, base 195 content/renderer/pepper/pepper_plugin_instance_impl.h bool HandleCompositionStart(const base::string16& text); base 197 content/renderer/pepper/pepper_plugin_instance_impl.h const base::string16& text, base 201 content/renderer/pepper/pepper_plugin_instance_impl.h bool HandleCompositionEnd(const base::string16& text); base 202 content/renderer/pepper/pepper_plugin_instance_impl.h bool HandleTextInput(const base::string16& text); base 208 content/renderer/pepper/pepper_plugin_instance_impl.h void GetSurroundingText(base::string16* text, gfx::Range* range) const; base 238 content/renderer/pepper/pepper_plugin_instance_impl.h base::string16 GetSelectedText(bool html); base 239 content/renderer/pepper/pepper_plugin_instance_impl.h base::string16 GetLinkAtPosition(const gfx::Point& point); base 242 content/renderer/pepper/pepper_plugin_instance_impl.h bool StartFind(const base::string16& search_text, base 357 content/renderer/pepper/pepper_plugin_instance_impl.h virtual base::FilePath GetModulePath() OVERRIDE; base 361 content/renderer/pepper/pepper_plugin_instance_impl.h const base::FilePath& file_path, base 364 content/renderer/pepper/pepper_plugin_instance_impl.h base::ProcessId plugin_pid, base 374 content/renderer/pepper/pepper_plugin_instance_impl.h const base::FilePath& path) OVERRIDE; base 376 content/renderer/pepper/pepper_plugin_instance_impl.h virtual void SetSelectedText(const base::string16& selected_text) OVERRIDE; base 522 content/renderer/pepper/pepper_plugin_instance_impl.h friend class base::RefCounted<PepperPluginInstanceImpl>; base 635 content/renderer/pepper/pepper_plugin_instance_impl.h const base::string16& text); base 638 content/renderer/pepper/pepper_plugin_instance_impl.h const base::string16& text, base 672 content/renderer/pepper/pepper_plugin_instance_impl.h base::Closure instance_deleted_callback_; base 865 content/renderer/pepper/pepper_plugin_instance_impl.h base::string16 link_under_cursor_; base 880 content/renderer/pepper/pepper_plugin_instance_impl.h base::string16 selected_text_; base 887 content/renderer/pepper/pepper_plugin_instance_impl.h base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; base 888 content/renderer/pepper/pepper_plugin_instance_impl.h base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; base 46 content/renderer/pepper/pepper_plugin_registry.cc PluginModule* PepperPluginRegistry::GetLiveModule(const base::FilePath& path) { base 72 content/renderer/pepper/pepper_plugin_registry.cc void PepperPluginRegistry::AddLiveModule(const base::FilePath& path, base 38 content/renderer/pepper/pepper_plugin_registry.h PluginModule* GetLiveModule(const base::FilePath& path); base 44 content/renderer/pepper/pepper_plugin_registry.h void AddLiveModule(const base::FilePath& path, PluginModule* module); base 57 content/renderer/pepper/pepper_plugin_registry.h typedef std::map<base::FilePath, scoped_refptr<PluginModule> > base 67 content/renderer/pepper/pepper_plugin_registry.h typedef std::map<base::FilePath, PluginModule*> NonOwningModuleMap; base 15 content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc base::MessageLoopProxy* PepperProxyChannelDelegateImpl::GetIPCMessageLoop() { base 21 content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc base::WaitableEvent* PepperProxyChannelDelegateImpl::GetShutdownEvent() { base 28 content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc base::PlatformFile handle, base 29 content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc base::ProcessId remote_pid, base 19 content/renderer/pepper/pepper_proxy_channel_delegate_impl.h virtual base::MessageLoopProxy* GetIPCMessageLoop() OVERRIDE; base 20 content/renderer/pepper/pepper_proxy_channel_delegate_impl.h virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; base 22 content/renderer/pepper/pepper_proxy_channel_delegate_impl.h base::PlatformFile handle, base 23 content/renderer/pepper/pepper_proxy_channel_delegate_impl.h base::ProcessId remote_pid, base 43 content/renderer/pepper/pepper_truetype_font_host.h base::WeakPtrFactory<PepperTrueTypeFontHost> weak_factory_; base 138 content/renderer/pepper/pepper_truetype_font_linux.cc table_tag = base::ByteSwap(table_tag); base 149 content/renderer/pepper/pepper_truetype_font_linux.cc return base::checked_cast<int32_t>(table_size); base 86 content/renderer/pepper/pepper_truetype_font_win.cc base::UTF8ToUTF16(desc.family).c_str()); base 129 content/renderer/pepper/pepper_truetype_font_win.cc base::win::ScopedCreateDC hdc(::CreateCompatibleDC(NULL)); base 131 content/renderer/pepper/pepper_truetype_font_win.cc base::win::ScopedSelectObject select_object(hdc, font_); base 134 content/renderer/pepper/pepper_truetype_font_win.cc desc->family = base::UTF16ToUTF8(name); base 166 content/renderer/pepper/pepper_truetype_font_win.cc base::win::ScopedCreateDC hdc(::CreateCompatibleDC(NULL)); base 170 content/renderer/pepper/pepper_truetype_font_win.cc base::win::ScopedSelectObject select_object(hdc, font_); base 209 content/renderer/pepper/pepper_truetype_font_win.cc base::win::ScopedCreateDC hdc(::CreateCompatibleDC(NULL)); base 213 content/renderer/pepper/pepper_truetype_font_win.cc base::win::ScopedSelectObject select_object(hdc, font_); base 216 content/renderer/pepper/pepper_truetype_font_win.cc table_tag = base::ByteSwap(table_tag); base 404 content/renderer/pepper/pepper_url_loader_host.cc base::Bind(&PepperURLLoaderHost::DidDataFromWebURLResponse, base 151 content/renderer/pepper/pepper_url_loader_host.h base::WeakPtrFactory<PepperURLLoaderHost> weak_factory_; base 239 content/renderer/pepper/pepper_video_capture_host.cc base::PlatformFile platform_file = base 92 content/renderer/pepper/pepper_video_destination_host.cc base::TimeDelta time_delta = base 93 content/renderer/pepper/pepper_video_destination_host.cc base::Time::FromDoubleT(timestamp) - base::Time(); base 95 content/renderer/pepper/pepper_video_destination_host.cc time_delta.InMicroseconds() * base::Time::kNanosecondsPerMicrosecond; base 45 content/renderer/pepper/pepper_video_destination_host.h base::WeakPtrFactory<PepperVideoDestinationHost> weak_factory_; base 30 content/renderer/pepper/pepper_video_source_host.cc const base::WeakPtr<PepperVideoSourceHost>& host) base 32 content/renderer/pepper/pepper_video_source_host.cc main_message_loop_proxy_(base::MessageLoopProxy::current()) { base 44 content/renderer/pepper/pepper_video_source_host.cc base::Bind(&FrameReceiver::OnGotFrame, base 46 content/renderer/pepper/pepper_video_source_host.cc base::Passed(scoped_ptr<cricket::VideoFrame>(frame)))); base 137 content/renderer/pepper/pepper_video_source_host.cc int32_t width = base::checked_cast<int32_t>(frame->GetWidth()); base 138 content/renderer/pepper/pepper_video_source_host.cc int32_t height = base::checked_cast<int32_t>(frame->GetHeight()); base 194 content/renderer/pepper/pepper_video_source_host.cc base::TimeDelta time_delta = base::TimeDelta::FromMicroseconds( base 195 content/renderer/pepper/pepper_video_source_host.cc frame->GetTimeStamp() / base::Time::kNanosecondsPerMicrosecond); base 40 content/renderer/pepper/pepper_video_source_host.h public base::RefCountedThreadSafe<FrameReceiver> { base 42 content/renderer/pepper/pepper_video_source_host.h explicit FrameReceiver(const base::WeakPtr<PepperVideoSourceHost>& host); base 50 content/renderer/pepper/pepper_video_source_host.h friend class base::RefCountedThreadSafe<FrameReceiver>; base 53 content/renderer/pepper/pepper_video_source_host.h base::WeakPtr<PepperVideoSourceHost> host_; base 54 content/renderer/pepper/pepper_video_source_host.h scoped_refptr<base::MessageLoopProxy> main_message_loop_proxy_; base 82 content/renderer/pepper/pepper_video_source_host.h base::WeakPtrFactory<PepperVideoSourceHost> weak_factory_; base 75 content/renderer/pepper/pepper_webplugin_impl.cc base::debug::SetCrashKeyValue("subresource_url", init_data_->url.spec()); base 129 content/renderer/pepper/pepper_webplugin_impl.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 89 content/renderer/pepper/pepper_webplugin_impl.h friend class base::DeleteHelper<PepperWebPluginImpl>; base 191 content/renderer/pepper/plugin_module.cc return TimeToPPTime(base::Time::Now()); base 195 content/renderer/pepper/plugin_module.cc return TimeTicksToPPTimeTicks(base::TimeTicks::Now()); base 204 content/renderer/pepper/plugin_module.cc base::Bind(callback.func, callback.user_data, result), base 205 content/renderer/pepper/plugin_module.cc base::TimeDelta::FromMilliseconds(delay_in_msec)); base 235 content/renderer/pepper/plugin_module.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 236 content/renderer/pepper/plugin_module.cc base::MessageLoop::current()); base 237 content/renderer/pepper/plugin_module.cc base::MessageLoop::current()->Run(); base 241 content/renderer/pepper/plugin_module.cc base::MessageLoop::current()->QuitNow(); base 354 content/renderer/pepper/plugin_module.cc const base::NativeLibrary& library, base 358 content/renderer/pepper/plugin_module.cc base::GetFunctionPointerFromNativeLibrary(library, base 367 content/renderer/pepper/plugin_module.cc base::GetFunctionPointerFromNativeLibrary(library, base 378 content/renderer/pepper/plugin_module.cc base::GetFunctionPointerFromNativeLibrary(library, base 405 content/renderer/pepper/plugin_module.cc const base::FilePath& path, base 447 content/renderer/pepper/plugin_module.cc base::UnloadNativeLibrary(library_); base 477 content/renderer/pepper/plugin_module.cc bool PluginModule::InitAsLibrary(const base::FilePath& path) { base 478 content/renderer/pepper/plugin_module.cc base::NativeLibrary library = base::LoadNativeLibrary(path, NULL); base 486 content/renderer/pepper/plugin_module.cc base::UnloadNativeLibrary(library); base 529 content/renderer/pepper/plugin_module.cc base::ProcessId PluginModule::GetPeerProcessId() { base 532 content/renderer/pepper/plugin_module.cc return base::kNullProcessId; base 632 content/renderer/pepper/plugin_module.cc const base::FilePath& path, base 635 content/renderer/pepper/plugin_module.cc base::ProcessId peer_pid, base 687 content/renderer/pepper/plugin_module.cc base::FilePath path(webplugin_info.path); base 718 content/renderer/pepper/plugin_module.cc base::ProcessId peer_pid; base 31 content/renderer/pepper/plugin_module.h namespace base { base 62 content/renderer/pepper/plugin_module.h public base::RefCounted<PluginModule>, base 63 content/renderer/pepper/plugin_module.h public base::SupportsWeakPtr<PluginModule> { base 74 content/renderer/pepper/plugin_module.h const base::FilePath& path, base 89 content/renderer/pepper/plugin_module.h bool InitAsLibrary(const base::FilePath& path); base 111 content/renderer/pepper/plugin_module.h base::ProcessId GetPeerProcessId(); base 138 content/renderer/pepper/plugin_module.h const base::FilePath& path() const { return path_; } base 193 content/renderer/pepper/plugin_module.h const base::FilePath& path, base 196 content/renderer/pepper/plugin_module.h base::ProcessId plugin_pid, base 220 content/renderer/pepper/plugin_module.h friend class base::RefCounted<PluginModule>; base 255 content/renderer/pepper/plugin_module.h base::NativeLibrary library_; base 264 content/renderer/pepper/plugin_module.h const base::FilePath path_; base 122 content/renderer/pepper/ppb_audio_impl.cc base::SharedMemoryHandle shared_memory_handle, base 124 content/renderer/pepper/ppb_audio_impl.cc base::SyncSocket::Handle socket_handle) { base 52 content/renderer/pepper/ppb_audio_impl.h virtual void OnSetStreamInfo(base::SharedMemoryHandle shared_memory_handle, base 54 content/renderer/pepper/ppb_audio_impl.h base::SyncSocket::Handle socket) OVERRIDE; base 34 content/renderer/pepper/ppb_broker_impl.cc pipe_handle_(PlatformFileToInt(base::kInvalidPlatformFileValue)), base 46 content/renderer/pepper/ppb_broker_impl.cc pipe_handle_ = PlatformFileToInt(base::kInvalidPlatformFileValue); base 68 content/renderer/pepper/ppb_broker_impl.cc const base::FilePath& broker_path = module->path(); base 100 content/renderer/pepper/ppb_broker_impl.cc if (pipe_handle_ == PlatformFileToInt(base::kInvalidPlatformFileValue)) base 115 content/renderer/pepper/ppb_broker_impl.cc PlatformFileToInt(base::kInvalidPlatformFileValue)); base 117 content/renderer/pepper/ppb_broker_impl.cc handle == PlatformFileToInt(base::kInvalidPlatformFileValue)); base 140 content/renderer/pepper/ppb_broker_impl.cc base::ProcessId broker_pid, base 31 content/renderer/pepper/ppb_broker_impl.h public base::SupportsWeakPtr<PPB_Broker_Impl> { base 55 content/renderer/pepper/ppb_broker_impl.h void OnPpapiBrokerChannelCreated(base::ProcessId broker_pid, base 26 content/renderer/pepper/ppb_buffer_impl.h base::SharedMemory* shared_memory() const { return shared_memory_.get(); } base 47 content/renderer/pepper/ppb_buffer_impl.h scoped_ptr<base::SharedMemory> shared_memory_; base 16 content/renderer/pepper/ppb_flash_message_loop_impl.cc : public base::RefCounted<PPB_Flash_MessageLoop_Impl::State> { base 93 content/renderer/pepper/ppb_flash_message_loop_impl.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 94 content/renderer/pepper/ppb_flash_message_loop_impl.cc base::MessageLoop::current()); base 95 content/renderer/pepper/ppb_flash_message_loop_impl.cc base::MessageLoop::current()->Run(); base 108 content/renderer/pepper/ppb_flash_message_loop_impl.cc base::MessageLoop::current()->QuitNow(); base 183 content/renderer/pepper/ppb_graphics_3d_impl.cc platform_context_->Echo(base::Bind(&PPB_Graphics3D_Impl::OnSwapBuffers, base 243 content/renderer/pepper/ppb_graphics_3d_impl.cc base::Bind(&PPB_Graphics3D_Impl::OnContextLost, base 247 content/renderer/pepper/ppb_graphics_3d_impl.cc base::Bind(&PPB_Graphics3D_Impl::OnConsoleMessage, base 264 content/renderer/pepper/ppb_graphics_3d_impl.cc WebConsoleMessage::LevelError, WebString(base::UTF8ToUTF16(message))); base 287 content/renderer/pepper/ppb_graphics_3d_impl.cc base::MessageLoop::current()->PostTask( base 289 content/renderer/pepper/ppb_graphics_3d_impl.cc base::Bind(&PPB_Graphics3D_Impl::SendContextLost, base 80 content/renderer/pepper/ppb_graphics_3d_impl.h base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_; base 21 content/renderer/pepper/ppb_image_data_impl.h namespace base { base 160 content/renderer/pepper/ppb_image_data_impl.h scoped_ptr<base::SharedMemory> shared_memory_; base 146 content/renderer/pepper/ppb_scrollbar_impl.cc if (base::win::GetVersion() == base::win::VERSION_XP) base 222 content/renderer/pepper/ppb_scrollbar_impl.cc base::MessageLoop::current()->PostTask( base 224 content/renderer/pepper/ppb_scrollbar_impl.cc base::Bind(&PPB_Scrollbar_Impl::NotifyInvalidate, base 69 content/renderer/pepper/ppb_scrollbar_impl.h base::WeakPtrFactory<PPB_Scrollbar_Impl> weak_ptr_factory_; base 174 content/renderer/pepper/renderer_ppapi_host_impl.cc base::ProcessId RendererPpapiHostImpl::GetPluginPID() const { base 177 content/renderer/pepper/renderer_ppapi_host_impl.cc return base::kNullProcessId; base 216 content/renderer/pepper/renderer_ppapi_host_impl.cc base::PlatformFile handle, base 224 content/renderer/pepper/renderer_ppapi_host_impl.cc base::GetCurrentProcId(), base 237 content/renderer/pepper/renderer_ppapi_host_impl.cc const base::Callback<void(const std::vector<int>&)>& callback) const { base 242 content/renderer/pepper/renderer_ppapi_host_impl.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 243 content/renderer/pepper/renderer_ppapi_host_impl.cc base::Bind(callback, std::vector<int>(nested_msgs.size(), 0))); base 87 content/renderer/pepper/renderer_ppapi_host_impl.h virtual base::ProcessId GetPluginPID() const OVERRIDE; base 94 content/renderer/pepper/renderer_ppapi_host_impl.h base::PlatformFile handle, base 100 content/renderer/pepper/renderer_ppapi_host_impl.h const base::Callback<void( base 32 content/renderer/pepper/resource_converter.cc const base::Callback<void(bool)>& callback, base 128 content/renderer/pepper/resource_converter.cc base::FilePath virtual_path; base 252 content/renderer/pepper/resource_converter.cc void ResourceConverterImpl::Flush(const base::Callback<void(bool)>& callback) { base 256 content/renderer/pepper/resource_converter.cc base::Bind(&FlushComplete, callback, browser_vars)); base 39 content/renderer/pepper/resource_converter.h virtual void Flush(const base::Callback<void(bool)>& callback) = 0; base 64 content/renderer/pepper/resource_converter.h virtual void Flush(const base::Callback<void(bool)>& callback) OVERRIDE; base 55 content/renderer/pepper/url_request_info_util.cc base::FilePath platform_path; base 51 content/renderer/pepper/url_response_info_util.cc const base::FilePath& external_path, base 92 content/renderer/pepper/url_response_info_util.cc base::FilePath external_path = base::FilePath::FromUTF16Unsafe(file_path); base 106 content/renderer/pepper/url_response_info_util.cc base::Bind(&DidCreateResourceHosts, base 112 content/renderer/pepper/url_response_info_util.cc base::MessageLoop::current()->PostTask( base 114 content/renderer/pepper/url_response_info_util.cc base::Bind(callback, data)); base 19 content/renderer/pepper/url_response_info_util.h typedef base::Callback<void(const ppapi::URLResponseInfoData&)> base 73 content/renderer/pepper/v8_var_converter.cc typedef base::hash_map<int64_t, v8::Handle<v8::Value> > VarHandleMap; base 74 content/renderer/pepper/v8_var_converter.cc typedef base::hash_set<int64_t> ParentVarSet; base 77 content/renderer/pepper/v8_var_converter.cc typedef base::hash_map<HashedHandle, ScopedPPVar> HandleVarMap; base 78 content/renderer/pepper/v8_var_converter.cc typedef base::hash_set<HashedHandle> ParentHandleSet; base 261 content/renderer/pepper/v8_var_converter.cc : message_loop_proxy_(base::MessageLoopProxy::current()) { base 269 content/renderer/pepper/v8_var_converter.cc : message_loop_proxy_(base::MessageLoopProxy::current()), base 400 content/renderer/pepper/v8_var_converter.cc const base::Callback<void(const ScopedPPVar&, bool)>& callback) { base 430 content/renderer/pepper/v8_var_converter.cc base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); base 449 content/renderer/pepper/v8_var_converter.cc base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); base 458 content/renderer/pepper/v8_var_converter.cc base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); base 470 content/renderer/pepper/v8_var_converter.cc base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); base 487 content/renderer/pepper/v8_var_converter.cc base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); base 500 content/renderer/pepper/v8_var_converter.cc base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); base 514 content/renderer/pepper/v8_var_converter.cc base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); base 523 content/renderer/pepper/v8_var_converter.cc base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); base 535 content/renderer/pepper/v8_var_converter.cc resource_converter_->Flush(base::Bind(callback, root)); base 50 content/renderer/pepper/v8_var_converter.h const base::Callback<void(const ppapi::ScopedPPVar&, bool)>& callback); base 54 content/renderer/pepper/v8_var_converter.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 49 content/renderer/pepper/v8_var_converter_unittest.cc virtual void Flush(const base::Callback<void(bool)>& callback) OVERRIDE { base 67 content/renderer/pepper/v8_var_converter_unittest.cc typedef base::hash_map<int64_t, v8::Handle<v8::Value> > VarHandleMap; base 186 content/renderer/pepper/v8_var_converter_unittest.cc base::RunLoop loop; base 187 content/renderer/pepper/v8_var_converter_unittest.cc converter_->FromV8Value(val, context, base::Bind( base 188 content/renderer/pepper/v8_var_converter_unittest.cc &V8VarConverterTest::FromV8ValueComplete, base::Unretained(this), base 196 content/renderer/pepper/v8_var_converter_unittest.cc void FromV8ValueComplete(base::Closure quit_closure, base 244 content/renderer/pepper/v8_var_converter_unittest.cc base::MessageLoop message_loop_; base 133 content/renderer/render_frame_impl.cc using base::Time; base 134 content/renderer/render_frame_impl.cc using base::TimeDelta; base 144 content/renderer/render_frame_impl.cc base::LazyInstance<FrameMap> g_frame_map = LAZY_INSTANCE_INITIALIZER; base 212 content/renderer/render_frame_impl.cc base::debug::Alias(&dummy); base 222 content/renderer/render_frame_impl.cc base::KillProcess(base::GetCurrentProcessHandle(), 1, false); base 225 content/renderer/render_frame_impl.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); base 228 content/renderer/render_frame_impl.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(20)); base 436 content/renderer/render_frame_impl.cc void RenderFrameImpl::PluginCrashed(const base::FilePath& plugin_path, base 437 content/renderer/render_frame_impl.cc base::ProcessId plugin_pid) { base 444 content/renderer/render_frame_impl.cc const base::string16& text, base 453 content/renderer/render_frame_impl.cc const base::string16& text, base 460 content/renderer/render_frame_impl.cc const base::string16& text, base 476 content/renderer/render_frame_impl.cc base::string16()); base 481 content/renderer/render_frame_impl.cc base::string16()); base 494 content/renderer/render_frame_impl.cc const base::string16& text, base 501 content/renderer/render_frame_impl.cc const base::string16& last_text = text.empty() ? pepper_composition_text_ base 510 content/renderer/render_frame_impl.cc base::i18n::UTF16CharIterator iterator(&last_text); base 515 content/renderer/render_frame_impl.cc char_event.timeStampSeconds = base::Time::Now().ToDoubleT(); base 777 content/renderer/render_frame_impl.cc base::TimeTicks navigation_start = std::min( base 778 content/renderer/render_frame_impl.cc base::TimeTicks::Now(), params.browser_navigation_start); base 780 content/renderer/render_frame_impl.cc (navigation_start - base::TimeTicks()).InSecondsF(); base 796 content/renderer/render_frame_impl.cc base::TimeTicks before_unload_start_time = base::TimeTicks::Now(); base 798 content/renderer/render_frame_impl.cc base::TimeTicks before_unload_end_time = base::TimeTicks::Now(); base 943 content/renderer/render_frame_impl.cc base::AutoReset<bool> handling_select_range(&handling_select_range_, true); base 948 content/renderer/render_frame_impl.cc base::AutoReset<bool> handling_select_range(&handling_select_range_, true); base 955 content/renderer/render_frame_impl.cc base::AutoReset<bool> handling_select_range(&handling_select_range_, true); base 960 content/renderer/render_frame_impl.cc base::AutoReset<bool> handling_select_range(&handling_select_range_, true); base 970 content/renderer/render_frame_impl.cc base::string16 selection = frame_->selectionAsText(); base 982 content/renderer/render_frame_impl.cc base::AutoReset<bool> handling_select_range(&handling_select_range_, true); base 991 content/renderer/render_frame_impl.cc base::AutoReset<bool> handling_select_range(&handling_select_range_, true); base 996 content/renderer/render_frame_impl.cc base::AutoReset<bool> handling_select_range(&handling_select_range_, true); base 1000 content/renderer/render_frame_impl.cc void RenderFrameImpl::OnReplace(const base::string16& text) { base 1007 content/renderer/render_frame_impl.cc void RenderFrameImpl::OnReplaceMisspelling(const base::string16& text) { base 1019 content/renderer/render_frame_impl.cc const base::string16& jscript, base 1029 content/renderer/render_frame_impl.cc base::ListValue list; base 1036 content/renderer/render_frame_impl.cc base::Value* result_value = converter.FromV8Value(result, context); base 1037 content/renderer/render_frame_impl.cc list.Set(0, result_value ? result_value : base::Value::CreateNullValue()); base 1039 content/renderer/render_frame_impl.cc list.Set(0, base::Value::CreateNullValue()); base 1046 content/renderer/render_frame_impl.cc base::AutoReset<bool> handling_select_range(&handling_select_range_, true); base 1075 content/renderer/render_frame_impl.cc const base::string16& selection_text, base 1079 content/renderer/render_frame_impl.cc base::string16 trimmed_selection_text; base 1084 content/renderer/render_frame_impl.cc base::TrimWhitespace(selection_text.substr(start, length), base::TRIM_ALL, base 1088 content/renderer/render_frame_impl.cc base::string16 trimmed_params_text; base 1089 content/renderer/render_frame_impl.cc base::TrimWhitespace(params.selection_text, base::TRIM_ALL, base 1167 content/renderer/render_frame_impl.cc void RenderFrameImpl::ExecuteJavaScript(const base::string16& javascript) { base 1188 content/renderer/render_frame_impl.cc if (base::UTF16ToASCII(params.mimeType) == kBrowserPluginMimeType) { base 1285 content/renderer/render_frame_impl.cc base::UTF16ToUTF8(name), base 1291 content/renderer/render_frame_impl.cc base::debug::Alias(parent); base 1292 content/renderer/render_frame_impl.cc base::debug::Alias(&routing_id_); base 1294 content/renderer/render_frame_impl.cc base::debug::Alias(&render_view_is_swapped_out); base 1296 content/renderer/render_frame_impl.cc base::debug::Alias(&render_view_is_closing); base 1297 content/renderer/render_frame_impl.cc base::debug::Alias(&is_swapped_out_); base 1298 content/renderer/render_frame_impl.cc base::debug::DumpWithoutCrashing(); base 1381 content/renderer/render_frame_impl.cc base::UTF16ToUTF8(name))); base 1915 content/renderer/render_frame_impl.cc base::string16 error_description; base 2663 content/renderer/render_frame_impl.cc base::string16 method = request.httpMethod(); base 3027 content/renderer/render_frame_impl.cc base::string16 text; base 142 content/renderer/render_frame_impl.h void PluginCrashed(const base::FilePath& plugin_path, base 143 content/renderer/render_frame_impl.h base::ProcessId plugin_pid); base 147 content/renderer/render_frame_impl.h const base::string16& text, base 151 content/renderer/render_frame_impl.h void SimulateImeConfirmComposition(const base::string16& text, base 157 content/renderer/render_frame_impl.h const base::string16& text, base 162 content/renderer/render_frame_impl.h const base::string16& text, base 189 content/renderer/render_frame_impl.h virtual void ExecuteJavaScript(const base::string16& javascript) OVERRIDE; base 404 content/renderer/render_frame_impl.h void OnReplace(const base::string16& text); base 405 content/renderer/render_frame_impl.h void OnReplaceMisspelling(const base::string16& text); base 407 content/renderer/render_frame_impl.h void OnJavaScriptExecuteRequest(const base::string16& javascript, base 443 content/renderer/render_frame_impl.h const base::string16& selection_text, base 451 content/renderer/render_frame_impl.h base::WeakPtr<RenderViewImpl> render_view_; base 460 content/renderer/render_frame_impl.h base::string16 pepper_composition_text_; base 491 content/renderer/render_frame_impl.h base::string16 selection_text_; base 31 content/renderer/render_frame_impl_unittest.cc params.selection_text = base::UTF8ToUTF16(cases[i].params_selection_text); base 34 content/renderer/render_frame_impl_unittest.cc base::UTF8ToUTF16(cases[i].selection_text), base 47 content/renderer/render_process_impl.cc FROM_HERE, base::TimeDelta::FromSeconds(5), base 72 content/renderer/render_process_impl.cc if (base::android::SysUtils::IsLowEndDevice()) { base 154 content/renderer/render_process_impl.cc const size_t max_size = base::SysInfo::MaxSharedMemorySize(); base 57 content/renderer/render_process_impl.h base::DelayTimer<RenderProcessImpl> shared_mem_cache_cleaner_; base 153 content/renderer/render_thread_impl.cc using base::ThreadRestrictions; base 176 content/renderer/render_thread_impl.cc base::LazyInstance<base::ThreadLocalPointer<RenderThreadImpl> > base 235 content/renderer/render_thread_impl.cc base::HistogramBase* histogram = base::Histogram::FactoryGet( base 237 content/renderer/render_thread_impl.cc base::Histogram::kUmaTargetedHistogramFlag); base 242 content/renderer/render_thread_impl.cc base::Histogram* histogram = static_cast<base::Histogram*>(hist); base 246 content/renderer/render_thread_impl.cc scoped_ptr<base::SharedMemory> AllocateSharedMemoryFunction(size_t size) { base 253 content/renderer/render_thread_impl.cc base::StringTokenizer t(channels, ", "); base 328 content/renderer/render_thread_impl.cc base::debug::TraceLog::GetInstance()->SetThreadSortIndex( base 329 content/renderer/render_thread_impl.cc base::PlatformThread::CurrentId(), base 332 content/renderer/render_thread_impl.cc v8::V8::SetCounterFunction(base::StatsTable::FindLocation); base 447 content/renderer/render_thread_impl.cc base::FilePath media_path; base 452 content/renderer/render_thread_impl.cc memory_pressure_listener_.reset(new base::MemoryPressureListener( base 453 content/renderer/render_thread_impl.cc base::Bind(&RenderThreadImpl::OnMemoryPressure, base::Unretained(this)))); base 455 content/renderer/render_thread_impl.cc std::vector<base::DiscardableMemoryType> supported_types; base 456 content/renderer/render_thread_impl.cc base::DiscardableMemory::GetSupportedTypes(&supported_types); base 460 content/renderer/render_thread_impl.cc base::DiscardableMemoryType type = supported_types[0]; base 465 content/renderer/render_thread_impl.cc base::DiscardableMemoryType requested_type = base 466 content/renderer/render_thread_impl.cc base::DiscardableMemory::GetNamedType(requested_type_name); base 476 content/renderer/render_thread_impl.cc base::DiscardableMemory::SetPreferredType(type); base 480 content/renderer/render_thread_impl.cc base::DiscardableMemory::RegisterMemoryPressureListeners(); base 490 content/renderer/render_thread_impl.cc if (base::StringToInt(string_value, &num_raster_threads) && base 643 content/renderer/render_thread_impl.cc base::MessageLoop* RenderThreadImpl::GetMessageLoop() { base 665 content/renderer/render_thread_impl.cc scoped_refptr<base::MessageLoopProxy> base 740 content/renderer/render_thread_impl.cc compositor_thread_.reset(new base::Thread("Compositor")); base 743 content/renderer/render_thread_impl.cc compositor_thread_->SetPriority(base::kThreadPriority_Display); base 749 content/renderer/render_thread_impl.cc base::Bind(base::IgnoreResult(&ThreadRestrictions::SetIOAllowed), base 771 content/renderer/render_thread_impl.cc scoped_refptr<base::MessageLoopProxy> output_surface_loop; base 775 content/renderer/render_thread_impl.cc output_surface_loop = base::MessageLoopProxy::current(); base 820 content/renderer/render_thread_impl.cc WebString swappedout_scheme(base::ASCIIToUTF16(kSwappedOutScheme)); base 828 content/renderer/render_thread_impl.cc base::Bind(&NotifyTimezoneChangeOnThisThread)); base 831 content/renderer/render_thread_impl.cc void RenderThreadImpl::RecordAction(const base::UserMetricsAction& action) { base 839 content/renderer/render_thread_impl.cc scoped_ptr<base::SharedMemory> base 842 content/renderer/render_thread_impl.cc return scoped_ptr<base::SharedMemory>(); base 844 content/renderer/render_thread_impl.cc base::SharedMemoryHandle handle; base 850 content/renderer/render_thread_impl.cc if (base::MessageLoop::current() == message_loop()) base 856 content/renderer/render_thread_impl.cc return scoped_ptr<base::SharedMemory>(); base 858 content/renderer/render_thread_impl.cc if (!base::SharedMemory::IsHandleValid(handle)) base 859 content/renderer/render_thread_impl.cc return scoped_ptr<base::SharedMemory>(); base 861 content/renderer/render_thread_impl.cc return scoped_ptr<base::SharedMemory>(new base::SharedMemory(handle, false)); base 872 content/renderer/render_thread_impl.cc base::TimeDelta::FromMilliseconds(initial_delay_ms), base 885 content/renderer/render_thread_impl.cc base::allocator::ReleaseFreeMemory(); base 934 content/renderer/render_thread_impl.cc base::allocator::ReleaseFreeMemory(); base 957 content/renderer/render_thread_impl.cc int RenderThreadImpl::PostTaskToAllWebWorkers(const base::Closure& closure) { base 978 content/renderer/render_thread_impl.cc scoped_refptr<base::MessageLoopProxy> media_loop_proxy = base 1107 content/renderer/render_thread_impl.cc base::WaitableEvent* RenderThreadImpl::GetShutdownEvent() { base 1113 content/renderer/render_thread_impl.cc const base::string16& str) { base 1131 content/renderer/render_thread_impl.cc base::MessageLoop* RenderThreadImpl::GetMainLoop() { base 1135 content/renderer/render_thread_impl.cc scoped_refptr<base::MessageLoopProxy> RenderThreadImpl::GetIOLoopProxy() { base 1139 content/renderer/render_thread_impl.cc scoped_ptr<base::SharedMemory> RenderThreadImpl::AllocateSharedMemory( base 1141 content/renderer/render_thread_impl.cc return scoped_ptr<base::SharedMemory>( base 1193 content/renderer/render_thread_impl.cc if (base::MessageLoop::current() == message_loop()) base 1434 content/renderer/render_thread_impl.cc base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level) { base 1435 content/renderer/render_thread_impl.cc base::allocator::ReleaseFreeMemory(); base 1438 content/renderer/render_thread_impl.cc base::MemoryPressureListener::MEMORY_PRESSURE_CRITICAL) { base 1454 content/renderer/render_thread_impl.cc scoped_refptr<base::MessageLoopProxy> base 1456 content/renderer/render_thread_impl.cc DCHECK(message_loop() == base::MessageLoop::current()); base 1458 content/renderer/render_thread_impl.cc file_thread_.reset(new base::Thread("Renderer::FILE")); base 1464 content/renderer/render_thread_impl.cc scoped_refptr<base::MessageLoopProxy> base 1466 content/renderer/render_thread_impl.cc DCHECK(message_loop() == base::MessageLoop::current()); base 1468 content/renderer/render_thread_impl.cc media_thread_.reset(new base::Thread("Media")); base 1509 content/renderer/render_thread_impl.cc base::MemoryPressureListener::NotifyMemoryPressure( base 1510 content/renderer/render_thread_impl.cc base::MemoryPressureListener::MEMORY_PRESSURE_MODERATE); base 42 content/renderer/render_thread_impl.h namespace base { base 130 content/renderer/render_thread_impl.h virtual base::MessageLoop* GetMessageLoop() OVERRIDE; base 134 content/renderer/render_thread_impl.h virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() base 146 content/renderer/render_thread_impl.h virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; base 148 content/renderer/render_thread_impl.h virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( base 157 content/renderer/render_thread_impl.h virtual int PostTaskToAllWebWorkers(const base::Closure& closure) OVERRIDE; base 159 content/renderer/render_thread_impl.h virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; base 199 content/renderer/render_thread_impl.h scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const { base 279 content/renderer/render_thread_impl.h scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy(); base 284 content/renderer/render_thread_impl.h scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy(); base 309 content/renderer/render_thread_impl.h const base::string16& str); base 386 content/renderer/render_thread_impl.h virtual base::MessageLoop* GetMainLoop() OVERRIDE; base 387 content/renderer/render_thread_impl.h virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; base 388 content/renderer/render_thread_impl.h virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( base 416 content/renderer/render_thread_impl.h base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); base 486 content/renderer/render_thread_impl.h base::RepeatingTimer<RenderThreadImpl> idle_timer_; base 493 content/renderer/render_thread_impl.h scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 496 content/renderer/render_thread_impl.h scoped_ptr<base::Thread> file_thread_; base 499 content/renderer/render_thread_impl.h scoped_ptr<base::Thread> compositor_thread_; base 502 content/renderer/render_thread_impl.h scoped_ptr<base::Thread> media_thread_; base 506 content/renderer/render_thread_impl.h scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; base 525 content/renderer/render_thread_impl.h scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; base 534 content/renderer/render_thread_impl.h base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; base 55 content/renderer/render_thread_impl_browsertest.cc base::MessageLoopForIO message_loop_; base 72 content/renderer/render_thread_impl_browsertest.cc base::Bind(&CheckRenderThreadInputHandlerManager, thread)); base 159 content/renderer/render_view_browsertest.cc base::string16* output) { base 237 content/renderer/render_view_browsertest.cc output->assign(1, static_cast<base::char16>(c)); base 270 content/renderer/render_view_browsertest.cc output->assign(1, static_cast<base::char16>(c)); base 303 content/renderer/render_view_browsertest.cc output->assign(1, static_cast<base::char16>(unicode_key)); base 963 content/renderer/render_view_browsertest.cc base::StringPrintf("document.getElementById('%s').focus();", base 967 content/renderer/render_view_browsertest.cc ExecuteJavaScriptAndReturnIntValue(base::ASCIIToUTF16(javascript), NULL); base 1087 content/renderer/render_view_browsertest.cc base::WideToUTF16Hack(ime_message->ime_string), base 1095 content/renderer/render_view_browsertest.cc base::WideToUTF16Hack(ime_message->ime_string), base 1102 content/renderer/render_view_browsertest.cc base::string16(), base 1118 content/renderer/render_view_browsertest.cc std::wstring output = base::UTF16ToWideHack( base 1167 content/renderer/render_view_browsertest.cc std::wstring output = base::UTF16ToWideHack( base 1290 content/renderer/render_view_browsertest.cc base::string16 char_code; base 1300 content/renderer/render_view_browsertest.cc base::snprintf(&expected_result[0], base 1315 content/renderer/render_view_browsertest.cc std::string output = base::UTF16ToUTF8( base 1537 content/renderer/render_view_browsertest.cc base::string16 char_code; base 1547 content/renderer/render_view_browsertest.cc std::wstring output = base::UTF16ToWideHack( base 1795 content/renderer/render_view_browsertest.cc base::string16 check_page_a = base 1796 content/renderer/render_view_browsertest.cc base::ASCIIToUTF16( base 1803 content/renderer/render_view_browsertest.cc base::string16 check_page_b = base 1804 content/renderer/render_view_browsertest.cc base::ASCIIToUTF16( base 1811 content/renderer/render_view_browsertest.cc base::string16 check_page_c = base 1812 content/renderer/render_view_browsertest.cc base::ASCIIToUTF16( base 1845 content/renderer/render_view_browsertest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 1852 content/renderer/render_view_browsertest.cc const base::string16 empty_string; base 1859 content/renderer/render_view_browsertest.cc const base::string16 ascii_composition = base::UTF8ToUTF16("aiueo"); base 1869 content/renderer/render_view_browsertest.cc const base::string16 unicode_composition = base::UTF8ToUTF16( base 1880 content/renderer/render_view_browsertest.cc const base::string16 surrogate_pair_char = base 1881 content/renderer/render_view_browsertest.cc base::UTF8ToUTF16("\xF0\xA0\xAE\x9F"); base 1894 content/renderer/render_view_browsertest.cc const base::string16 surrogate_pair_mixed_composition = base 1895 content/renderer/render_view_browsertest.cc surrogate_pair_char + base::UTF8ToUTF16("\xE3\x81\x82") + base 1896 content/renderer/render_view_browsertest.cc surrogate_pair_char + base::UTF8ToUTF16("b") + surrogate_pair_char; base 2015 content/renderer/render_view_browsertest.cc std::wstring output = base::UTF16ToWideHack( base 2100 content/renderer/render_view_browsertest.cc base::string16* error_description) OVERRIDE { base 2133 content/renderer/render_view_browsertest.cc base::UTF16ToASCII(web_frame->contentAsText(kMaxOutputCharacters))); base 2163 content/renderer/render_view_browsertest.cc base::UTF16ToASCII(web_frame->contentAsText(kMaxOutputCharacters))); base 2199 content/renderer/render_view_browsertest.cc std::string output = base::UTF16ToUTF8( base 322 content/renderer/render_view_impl.cc using base::Time; base 323 content/renderer/render_view_impl.cc using base::TimeDelta; base 338 content/renderer/render_view_impl.cc static base::LazyInstance<ViewMap> g_view_map = LAZY_INSTANCE_INITIALIZER; base 340 content/renderer/render_view_impl.cc static base::LazyInstance<RoutingIDViewMap> g_routing_id_view_map = base 623 content/renderer/render_view_impl.cc for (std::map<base::string16, base::string16>::const_iterator it = base 852 content/renderer/render_view_impl.cc base::debug::TraceLog::GetInstance()->RemoveProcessLabel(routing_id_); base 926 content/renderer/render_view_impl.cc const base::string16& frame_name, base 1336 content/renderer/render_view_impl.cc const base::string16& title, base 1342 content/renderer/render_view_impl.cc base::debug::TraceLog::GetInstance()->UpdateProcessLabel( base 1343 content/renderer/render_view_impl.cc routing_id_, base::UTF16ToUTF8(title)); base 1345 content/renderer/render_view_impl.cc base::string16 shortened_title = title.substr(0, kMaxTitleChars); base 1407 content/renderer/render_view_impl.cc const base::string16& message, base 1408 content/renderer/render_view_impl.cc const base::string16& default_value, base 1410 content/renderer/render_view_impl.cc base::string16* result) { base 1417 content/renderer/render_view_impl.cc base::string16 result_temp; base 1550 content/renderer/render_view_impl.cc base::string16(), // WebCore will take care of setting the correct name. base 1623 content/renderer/render_view_impl.cc base::FilePath::FromUTF16Unsafe(path))); base 1663 content/renderer/render_view_impl.cc const std::string& name = base::UTF16ToUTF8(command_name); base 1728 content/renderer/render_view_impl.cc base::FilePath::FromUTF16Unsafe(params.initialValue); base 1743 content/renderer/render_view_impl.cc base::string16(), base 1752 content/renderer/render_view_impl.cc base::string16(), base 1761 content/renderer/render_view_impl.cc base::string16 result; base 1798 content/renderer/render_view_impl.cc base::string16 ignored_result; base 1810 content/renderer/render_view_impl.cc base::string16 wrapped_main_text = main_text; base 1811 content/renderer/render_view_impl.cc base::string16 wrapped_sub_text = sub_text; base 1814 content/renderer/render_view_impl.cc base::i18n::GetDisplayStringInLTRDirectionality(wrapped_main_text); base 1817 content/renderer/render_view_impl.cc base::i18n::GetDisplayStringInLTRDirectionality(wrapped_sub_text); base 1820 content/renderer/render_view_impl.cc && !base::i18n::IsRTL()) { base 1821 content/renderer/render_view_impl.cc base::i18n::WrapStringWithRTLFormatting(&wrapped_main_text); base 1823 content/renderer/render_view_impl.cc base::i18n::WrapStringWithRTLFormatting(&wrapped_sub_text); base 2178 content/renderer/render_view_impl.cc base::Bind(&ContentRendererClient::DeferMediaLoad, base 2179 content/renderer/render_view_impl.cc base::Unretained(GetContentClient()->renderer()), base 3049 content/renderer/render_view_impl.cc const base::string16& search_text, base 3329 content/renderer/render_view_impl.cc base::MessageLoopProxy::current().get()); base 3426 content/renderer/render_view_impl.cc const std::vector<base::FilePath>& paths) { base 3452 content/renderer/render_view_impl.cc base::FilePath(files[i].display_name).AsUTF16Unsafe(); base 3616 content/renderer/render_view_impl.cc const std::vector<base::FilePath>& local_paths, base 3617 content/renderer/render_view_impl.cc const base::FilePath& local_directory_name) { base 3872 content/renderer/render_view_impl.cc void RenderViewImpl::OnPluginImeCompositionCompleted(const base::string16& text, base 4041 content/renderer/render_view_impl.cc const base::string16& text, base 4085 content/renderer/render_view_impl.cc const base::string16& text, base 4363 content/renderer/render_view_impl.cc GURL base(base_url); base 4364 content/renderer/render_view_impl.cc GURL absolute_url = base.Resolve(base::UTF16ToUTF8(url.string())); base 4365 content/renderer/render_view_impl.cc if (base.GetOrigin() != absolute_url.GetOrigin()) { base 4369 content/renderer/render_view_impl.cc base::UTF16ToUTF8(scheme), base 4445 content/renderer/render_view_impl.cc base::UTF8ToUTF16(content.text), content.intent_url); base 4453 content/renderer/render_view_impl.cc base::MessageLoop::current()->PostDelayedTask( base 4455 content/renderer/render_view_impl.cc base::Bind(&RenderViewImpl::LaunchAndroidContentIntent, base 4459 content/renderer/render_view_impl.cc base::TimeDelta::FromMilliseconds(kContentIntentDelayMilliseconds)); base 83 content/renderer/render_view_impl.h namespace base { base 181 content/renderer/render_view_impl.h public base::SupportsWeakPtr<RenderViewImpl> { base 192 content/renderer/render_view_impl.h const base::string16& frame_name, base 346 content/renderer/render_view_impl.h typedef base::Callback<void( base 696 content/renderer/render_view_impl.h const base::string16& text, base 700 content/renderer/render_view_impl.h virtual void OnImeConfirmComposition(const base::string16& text, base 805 content/renderer/render_view_impl.h void UpdateTitle(blink::WebFrame* frame, const base::string16& title, base 827 content/renderer/render_view_impl.h const base::string16& message, base 828 content/renderer/render_view_impl.h const base::string16& default_value, base 830 content/renderer/render_view_impl.h base::string16* result); base 878 content/renderer/render_view_impl.h const std::vector<base::FilePath>& paths); base 882 content/renderer/render_view_impl.h const base::string16&, base 887 content/renderer/render_view_impl.h const std::vector<base::FilePath>& local_paths, base 888 content/renderer/render_view_impl.h const base::FilePath& local_directory_name); base 933 content/renderer/render_view_impl.h void OnPluginImeCompositionCompleted(const base::string16& text, base 998 content/renderer/render_view_impl.h void ProcessViewLayoutFlags(const base::CommandLine& command_line); base 1131 content/renderer/render_view_impl.h base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_; base 1220 content/renderer/render_view_impl.h base::OneShotTimer<RenderViewImpl> check_preferred_size_timer_; base 17 content/renderer/render_view_impl_params.cc const base::string16& frame_name, base 33 content/renderer/render_view_impl_params.h const base::string16& frame_name, base 49 content/renderer/render_view_impl_params.h const base::string16& frame_name; base 741 content/renderer/render_widget.cc base::MessageLoop::current()->PostNonNestableTask( base 742 content/renderer/render_widget.cc FROM_HERE, base::Bind(&RenderWidget::Close, this)); base 934 content/renderer/render_widget.cc if (base::android::SysUtils::IsLowEndDevice()) base 1047 content/renderer/render_widget.cc base::TimeTicks start_time; base 1048 content/renderer/render_widget.cc if (base::TimeTicks::IsHighResNowFastAndReliable()) base 1049 content/renderer/render_widget.cc start_time = base::TimeTicks::HighResNow(); base 1072 content/renderer/render_widget.cc if (base::TimeTicks::IsHighResNowFastAndReliable()) { base 1076 content/renderer/render_widget.cc base::TimeDelta now = base::TimeDelta::FromInternalValue( base 1077 content/renderer/render_widget.cc base::TimeTicks::HighResNow().ToInternalValue()); base 1081 content/renderer/render_widget.cc base::Time::kMicrosecondsPerSecond); base 1085 content/renderer/render_widget.cc base::HistogramBase* counter_for_type = base::Histogram::FactoryGet( base 1086 content/renderer/render_widget.cc base::StringPrintf("Event.Latency.Renderer2.%s", event_name), base 1090 content/renderer/render_widget.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 1187 content/renderer/render_widget.cc if (base::TimeTicks::IsHighResNowFastAndReliable()) { base 1188 content/renderer/render_widget.cc base::TimeTicks end_time = base::TimeTicks::HighResNow(); base 1342 content/renderer/render_widget.cc base::TimeTicks start_time; base 1349 content/renderer/render_widget.cc base::TimeDelta paint_time = base 1398 content/renderer/render_widget.cc base::TimeDelta animation_callback_delay = base::Time::Now() - base 1399 content/renderer/render_widget.cc (animation_floor_time_ - base::TimeDelta::FromMilliseconds(16)); base 1402 content/renderer/render_widget.cc base::TimeDelta::FromMilliseconds(0), base 1403 content/renderer/render_widget.cc base::TimeDelta::FromMilliseconds(30), base 1414 content/renderer/render_widget.cc base::TimeDelta animationInterval = IsRenderingVSynced() ? base 1415 content/renderer/render_widget.cc base::TimeDelta::FromMilliseconds(16) : base::TimeDelta(); base 1417 content/renderer/render_widget.cc base::Time now = base::Time::Now(); base 1433 content/renderer/render_widget.cc compositor_->UpdateAnimations(base::TimeTicks::Now()); base 1436 content/renderer/render_widget.cc (base::TimeTicks::Now() - base::TimeTicks()).InSecondsF(); base 1451 content/renderer/render_widget.cc base::TimeDelta delay = animation_floor_time_ - now; base 1474 content/renderer/render_widget.cc total_input_handling_time_this_frame_ = base::TimeDelta(); base 1512 content/renderer/render_widget.cc base::TimeTicks frame_begin_ticks = gfx::FrameTime::Now(); base 1551 content/renderer/render_widget.cc base::TimeDelta delay = frame_begin_ticks - last_do_deferred_update_time_; base 1555 content/renderer/render_widget.cc base::TimeDelta::FromMilliseconds(1), base 1556 content/renderer/render_widget.cc base::TimeDelta::FromMilliseconds(120), base 1561 content/renderer/render_widget.cc base::TimeDelta::FromMilliseconds(1), base 1562 content/renderer/render_widget.cc base::TimeDelta::FromMilliseconds(120), base 1723 content/renderer/render_widget.cc void RenderWidget::Composite(base::TimeTicks frame_begin_time) { base 1763 content/renderer/render_widget.cc base::MessageLoop::current()->PostTask( base 1764 content/renderer/render_widget.cc FROM_HERE, base::Bind(&RenderWidget::InvalidationCallback, this)); base 1804 content/renderer/render_widget.cc base::MessageLoop::current()->PostTask( base 1805 content/renderer/render_widget.cc FROM_HERE, base::Bind(&RenderWidget::InvalidationCallback, this)); base 2026 content/renderer/render_widget.cc animation_timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(0), this, base 2092 content/renderer/render_widget.cc base::MessageLoop::current()->PostTask( base 2093 content/renderer/render_widget.cc FROM_HERE, base::Bind(&RenderWidget::DoDeferredClose, this)); base 2194 content/renderer/render_widget.cc const base::string16& text, base 2213 content/renderer/render_widget.cc void RenderWidget::OnImeConfirmComposition(const base::string16& text, base 2244 content/renderer/render_widget.cc base::TimeTicks beginning_time = base::TimeTicks::Now(); base 2272 content/renderer/render_widget.cc base::TimeTicks::Now() - beginning_time); base 2849 content/renderer/render_widget.cc if (base::android::SysUtils::IsLowEndDevice()) base 84 content/renderer/render_widget.h public base::RefCounted<RenderWidget> { base 175 content/renderer/render_widget.h typedef base::Callback<void()> SyntheticGestureCompletionCallback; base 256 content/renderer/render_widget.h friend class base::RefCounted<RenderWidget>; base 308 content/renderer/render_widget.h virtual void Composite(base::TimeTicks frame_begin_time); base 356 content/renderer/render_widget.h const base::string16& text, base 360 content/renderer/render_widget.h virtual void OnImeConfirmComposition(const base::string16& text, base 706 content/renderer/render_widget.h base::TimeDelta total_input_handling_time_this_frame_; base 720 content/renderer/render_widget.h base::OneShotTimer<RenderWidget> animation_timer_; base 721 content/renderer/render_widget.h base::Time animation_floor_time_; base 726 content/renderer/render_widget.h base::TimeTicks last_do_deferred_update_time_; base 32 content/renderer/renderer_clipboard_client.cc scoped_ptr<base::SharedMemory> shared_buf_; base 124 content/renderer/renderer_clipboard_client.cc std::vector<base::string16>* types, base 131 content/renderer/renderer_clipboard_client.cc base::string16* result) { base 137 content/renderer/renderer_clipboard_client.cc base::string16* markup, base 151 content/renderer/renderer_clipboard_client.cc base::SharedMemoryHandle image_handle; base 155 content/renderer/renderer_clipboard_client.cc if (base::SharedMemory::IsHandleValid(image_handle)) { base 156 content/renderer/renderer_clipboard_client.cc base::SharedMemory buffer(image_handle, true); base 163 content/renderer/renderer_clipboard_client.cc const base::string16& type, base 164 content/renderer/renderer_clipboard_client.cc base::string16* data) { base 25 content/renderer/renderer_clipboard_client.h std::vector<base::string16>* types, base 28 content/renderer/renderer_clipboard_client.h base::string16* result) OVERRIDE; base 30 content/renderer/renderer_clipboard_client.h base::string16* markup, base 37 content/renderer/renderer_clipboard_client.h const base::string16& type, base 38 content/renderer/renderer_clipboard_client.h base::string16* data) OVERRIDE; base 62 content/renderer/renderer_main.cc base::debug::WaitForDebugger(60, true); base 75 content/renderer/renderer_main.cc class RendererMessageLoopObserver : public base::MessageLoop::TaskObserver { base 78 content/renderer/renderer_main.cc : process_times_(base::Histogram::FactoryGet( base 80 content/renderer/renderer_main.cc 1, 3600000, 50, base::Histogram::kUmaTargetedHistogramFlag)) {} base 83 content/renderer/renderer_main.cc virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 84 content/renderer/renderer_main.cc begin_process_message_ = base::TimeTicks::Now(); base 87 content/renderer/renderer_main.cc virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 89 content/renderer/renderer_main.cc process_times_->AddTime(base::TimeTicks::Now() - begin_process_message_); base 93 content/renderer/renderer_main.cc base::TimeTicks begin_process_message_; base 94 content/renderer/renderer_main.cc base::HistogramBase* const process_times_; base 99 content/renderer/renderer_main.cc class MemoryObserver : public base::MessageLoop::TaskObserver { base 104 content/renderer/renderer_main.cc virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 107 content/renderer/renderer_main.cc virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 119 content/renderer/renderer_main.cc base::debug::TraceLog::GetInstance()->SetProcessName("Renderer"); base 120 content/renderer/renderer_main.cc base::debug::TraceLog::GetInstance()->SetProcessSortIndex( base 126 content/renderer/renderer_main.cc base::mac::ScopedNSAutoreleasePool* pool = parameters.autorelease_pool; base 137 content/renderer/renderer_main.cc base::i18n::SetICUDefaultLocale(locale); base 144 content/renderer/renderer_main.cc base::android::SysUtils::IsLowEndDevice() ? kMB : 8 * kMB; base 157 content/renderer/renderer_main.cc base::StatsCounterTimer stats_counter_timer("Content.RendererInit"); base 158 content/renderer/renderer_main.cc base::StatsScope<base::StatsCounterTimer> startup_timer(stats_counter_timer); base 165 content/renderer/renderer_main.cc scoped_ptr<base::MessagePump> pump(new base::MessagePumpNSRunLoop()); base 166 content/renderer/renderer_main.cc base::MessageLoop main_message_loop(pump.Pass()); base 169 content/renderer/renderer_main.cc base::MessageLoop main_message_loop; base 179 content/renderer/renderer_main.cc base::PlatformThread::SetName("CrRendererMain"); base 187 content/renderer/renderer_main.cc base::StatisticsRecorder::Initialize(); base 192 content/renderer/renderer_main.cc base::FieldTrialList field_trial_list(NULL); base 197 content/renderer/renderer_main.cc bool result = base::FieldTrialList::CreateTrialsFromString( base 199 content/renderer/renderer_main.cc base::FieldTrialList::ACTIVATE_TRIALS, base 232 content/renderer/renderer_main.cc base::debug::EnableInProcessStackDumping(); base 240 content/renderer/renderer_main.cc base::HighResolutionTimerManager hi_res_timer_manager; base 252 content/renderer/renderer_main.cc base::MessageLoop::current()->Run(); base 79 content/renderer/renderer_main_platform_delegate_linux.cc CHECK(!base::PathExists(base::FilePath("/proc/cpuinfo"))); base 51 content/renderer/renderer_main_platform_delegate_win.cc base::string16(text, text_length)); base 24 content/renderer/renderer_webcookiejar_impl.cc std::string value_utf8 = base::UTF16ToUTF8(value); base 66 content/renderer/renderer_webcookiejar_impl.cc std::string cookie_name_utf8 = base::UTF16ToUTF8(cookie_name); base 141 content/renderer/renderer_webkitplatformsupport_impl.cc base::LazyInstance<WebGamepads>::Leaky g_test_gamepads = base 143 content/renderer/renderer_webkitplatformsupport_impl.cc base::LazyInstance<blink::WebDeviceMotionData>::Leaky base 145 content/renderer/renderer_webkitplatformsupport_impl.cc base::LazyInstance<blink::WebDeviceOrientationData>::Leaky base 147 content/renderer/renderer_webkitplatformsupport_impl.cc base::LazyInstance<blink::WebScreenOrientation>::Leaky base 211 content/renderer/renderer_webkitplatformsupport_impl.cc base::Lock unicode_font_families_mutex_; base 225 content/renderer/renderer_webkitplatformsupport_impl.cc child_thread_loop_(base::MessageLoopProxy::current()), base 356 content/renderer/renderer_webkitplatformsupport_impl.cc return base::ASCIIToUTF16(RenderThread::Get()->GetLocale()); base 417 content/renderer/renderer_webkitplatformsupport_impl.cc GetUnprefixedKeySystemName(base::UTF16ToASCII(key_system)); base 483 content/renderer/renderer_webkitplatformsupport_impl.cc const std::string mime_type_ascii = base::UTF16ToASCII(mime_type); base 487 content/renderer/renderer_webkitplatformsupport_impl.cc net::ParseCodecString(base::UTF16ToASCII(codecs), &codec_vector, base 491 content/renderer/renderer_webkitplatformsupport_impl.cc mime_type_ascii, codec_vector, base::UTF16ToASCII(key_system)); base 505 content/renderer/renderer_webkitplatformsupport_impl.cc base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type)); base 506 content/renderer/renderer_webkitplatformsupport_impl.cc return base::ASCIIToUTF16(mime_type); base 518 content/renderer/renderer_webkitplatformsupport_impl.cc base::FilePath::FromUTF16Unsafe(file_path), base 520 content/renderer/renderer_webkitplatformsupport_impl.cc return base::ASCIIToUTF16(mime_type); base 528 content/renderer/renderer_webkitplatformsupport_impl.cc base::File::Info file_info; base 529 content/renderer/renderer_webkitplatformsupport_impl.cc base::File::Error status; base 531 content/renderer/renderer_webkitplatformsupport_impl.cc base::FilePath::FromUTF16Unsafe(path), &file_info, &status)) || base 532 content/renderer/renderer_webkitplatformsupport_impl.cc status != base::File::FILE_OK) { base 542 content/renderer/renderer_webkitplatformsupport_impl.cc base::TimeTicks begin = base::TimeTicks::Now(); base 544 content/renderer/renderer_webkitplatformsupport_impl.cc base::TimeDelta delta = base::TimeTicks::Now() - begin; base 567 content/renderer/renderer_webkitplatformsupport_impl.cc base::SharedMemoryHandle font_data; base 575 content/renderer/renderer_webkitplatformsupport_impl.cc if (font_data_size == 0 || font_data == base::SharedMemory::NULLHandle() || base 604 content/renderer/renderer_webkitplatformsupport_impl.cc base::AutoLock lock(unicode_font_families_mutex_); base 743 content/renderer/renderer_webkitplatformsupport_impl.cc !base::StringToInt(base::UTF16ToUTF8(input_device_id), &session_id)) { base 1004 content/renderer/renderer_webkitplatformsupport_impl.cc if (base::StringToSizeT(size_string, &buffer_size_kb)) { base 1056 content/renderer/renderer_webkitplatformsupport_impl.cc base::MessageLoopProxy::current()->PostTask( base 1058 content/renderer/renderer_webkitplatformsupport_impl.cc base::Bind(&blink::WebDeviceMotionListener::didChangeDeviceMotion, base 1059 content/renderer/renderer_webkitplatformsupport_impl.cc base::Unretained(listener), base 1082 content/renderer/renderer_webkitplatformsupport_impl.cc base::MessageLoopProxy::current()->PostTask( base 1084 content/renderer/renderer_webkitplatformsupport_impl.cc base::Bind( base 1086 content/renderer/renderer_webkitplatformsupport_impl.cc base::Unretained(listener), base 1101 content/renderer/renderer_webkitplatformsupport_impl.cc new ViewHostMsg_Vibrate(base::checked_cast<int64>(milliseconds))); base 1118 content/renderer/renderer_webkitplatformsupport_impl.cc base::MessageLoopProxy::current()->PostTask( base 1120 content/renderer/renderer_webkitplatformsupport_impl.cc base::Bind( base 1122 content/renderer/renderer_webkitplatformsupport_impl.cc base::Unretained(listener), base 18 content/renderer/renderer_webkitplatformsupport_impl.h namespace base { base 219 content/renderer/renderer_webkitplatformsupport_impl.h scoped_refptr<base::MessageLoopProxy> child_thread_loop_; base 53 content/renderer/resource_fetcher_browsertest.cc return base::Bind(&FetcherDelegate::OnURLFetchComplete, base 54 content/renderer/resource_fetcher_browsertest.cc base::Unretained(this)); base 82 content/renderer/resource_fetcher_browsertest.cc base::TimeDelta::FromMilliseconds(kMaxWaitTimeMs), base 99 content/renderer/resource_fetcher_browsertest.cc base::OneShotTimer<FetcherDelegate> timer_; base 104 content/renderer/resource_fetcher_browsertest.cc base::Closure quit_task_; base 206 content/renderer/resource_fetcher_browsertest.cc fetcher->SetTimeout(base::TimeDelta()); base 225 content/renderer/resource_fetcher_browsertest.cc fetcher->SetTimeout(base::TimeDelta()); base 297 content/renderer/resource_fetcher_browsertest.cc base::Bind(&ResourceFetcherTests::ResourceFetcherDownloadOnRenderer, base 298 content/renderer/resource_fetcher_browsertest.cc base::Unretained(this), url)); base 310 content/renderer/resource_fetcher_browsertest.cc base::Bind(&ResourceFetcherTests::ResourceFetcher404OnRenderer, base 311 content/renderer/resource_fetcher_browsertest.cc base::Unretained(this), url)); base 320 content/renderer/resource_fetcher_browsertest.cc base::Bind(&ResourceFetcherTests::ResourceFetcherDidFailOnRenderer, base 321 content/renderer/resource_fetcher_browsertest.cc base::Unretained(this))); base 334 content/renderer/resource_fetcher_browsertest.cc base::Bind(&ResourceFetcherTests::ResourceFetcherTimeoutOnRenderer, base 335 content/renderer/resource_fetcher_browsertest.cc base::Unretained(this), url)); base 349 content/renderer/resource_fetcher_browsertest.cc base::Bind( base 351 content/renderer/resource_fetcher_browsertest.cc base::Unretained(this), url)); base 366 content/renderer/resource_fetcher_browsertest.cc base::Bind( base 368 content/renderer/resource_fetcher_browsertest.cc base::Unretained(this), url)); base 381 content/renderer/resource_fetcher_browsertest.cc base::Bind( base 383 content/renderer/resource_fetcher_browsertest.cc base::Unretained(this), url)); base 33 content/renderer/savable_resources_browsertest.cc const base::FilePath& page_file_path, base 41 content/renderer/savable_resources_browsertest.cc base::Bind(&SavableResourcesTest::CheckResources, base 42 content/renderer/savable_resources_browsertest.cc base::Unretained(this), base 49 content/renderer/savable_resources_browsertest.cc void CheckResources(const base::FilePath& page_file_path, base 109 content/renderer/savable_resources_browsertest.cc const base::FilePath expected_frame_url = base 115 content/renderer/savable_resources_browsertest.cc base::FilePath page_file_path = base 131 content/renderer/savable_resources_browsertest.cc base::FilePath expected_frame_url = base 137 content/renderer/savable_resources_browsertest.cc base::FilePath page_file_path = base 35 content/renderer/service_worker/embedded_worker_context_client.cc base::LazyInstance<base::ThreadLocalPointer<EmbeddedWorkerContextClient> >:: base 51 content/renderer/service_worker/embedded_worker_context_client.cc public base::SupportsUserData { base 90 content/renderer/service_worker/embedded_worker_context_client.cc main_thread_proxy_(base::MessageLoopProxy::current()), base 142 content/renderer/service_worker/embedded_worker_context_client.cc base::Bind(&EmbeddedWorkerContextClient::SendWorkerStarted, base 153 content/renderer/service_worker/embedded_worker_context_client.cc base::Bind(&CallWorkerContextDestroyedOnMainThread, base 17 content/renderer/service_worker/embedded_worker_context_client.h namespace base { base 79 content/renderer/service_worker/embedded_worker_context_client.h base::MessageLoopProxy* main_thread_proxy() const { base 94 content/renderer/service_worker/embedded_worker_context_client.h scoped_refptr<base::MessageLoopProxy> main_thread_proxy_; base 95 content/renderer/service_worker/embedded_worker_context_client.h scoped_refptr<base::TaskRunner> worker_task_runner_; base 99 content/renderer/service_worker/embedded_worker_context_client.h base::WeakPtrFactory<EmbeddedWorkerContextClient> weak_factory_; base 17 content/renderer/service_worker/embedded_worker_context_message_filter.cc : main_thread_loop_proxy_(base::MessageLoopProxy::current()), base 22 content/renderer/service_worker/embedded_worker_context_message_filter.cc base::TaskRunner* base 20 content/renderer/service_worker/embedded_worker_context_message_filter.h virtual base::TaskRunner* OverrideTaskRunnerForMessage( base 24 content/renderer/service_worker/embedded_worker_context_message_filter.h scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_; base 76 content/renderer/service_worker/embedded_worker_dispatcher.cc start_data.userAgent = base::UTF8ToUTF16(GetContentClient()->GetUserAgent()); base 42 content/renderer/service_worker/embedded_worker_dispatcher.h base::WeakPtrFactory<EmbeddedWorkerDispatcher> weak_factory_; base 87 content/renderer/service_worker/service_worker_script_context.cc const base::string16& message, base 92 content/renderer/service_worker/service_worker_script_context.cc base::MessageLoopProxy* loop_proxy = embedded_context_->main_thread_proxy(); base 57 content/renderer/service_worker/service_worker_script_context.h void OnPostMessage(const base::string16& message, base 15 content/renderer/shared_memory_seqlock_reader.cc base::SharedMemoryHandle shared_memory_handle, size_t buffer_size) { base 17 content/renderer/shared_memory_seqlock_reader.cc if (!base::SharedMemory::IsHandleValid(renderer_shared_memory_handle_)) base 19 content/renderer/shared_memory_seqlock_reader.cc renderer_shared_memory_.reset(new base::SharedMemory( base 31 content/renderer/shared_memory_seqlock_reader.cc if (!base::SharedMemory::IsHandleValid(renderer_shared_memory_handle_)) base 37 content/renderer/shared_memory_seqlock_reader.cc base::subtle::Atomic32 version; base 21 content/renderer/shared_memory_seqlock_reader.h base::SharedMemoryHandle shared_memory_handle, base 28 content/renderer/shared_memory_seqlock_reader.h base::SharedMemoryHandle renderer_shared_memory_handle_; base 29 content/renderer/shared_memory_seqlock_reader.h scoped_ptr<base::SharedMemory> renderer_shared_memory_; base 52 content/renderer/shared_memory_seqlock_reader.h bool Initialize(base::SharedMemoryHandle shared_memory_handle) { base 56 content/renderer/shared_worker/embedded_shared_worker_stub.cc const base::string16& name, base 57 content/renderer/shared_worker/embedded_shared_worker_stub.cc const base::string16& content_security_policy, base 190 content/renderer/shared_worker/embedded_shared_worker_stub.cc base::MessageLoopProxy::current().get()); base 36 content/renderer/shared_worker/embedded_shared_worker_stub.h const base::string16& name, base 37 content/renderer/shared_worker/embedded_shared_worker_stub.h const base::string16& content_security_policy, base 75 content/renderer/shared_worker/embedded_shared_worker_stub.h base::string16 name_; base 37 content/renderer/skia_benchmarking_extension.cc scoped_ptr<base::Value> ParsePictureArg(v8::Isolate* isolate, base 41 content/renderer/skia_benchmarking_extension.cc return scoped_ptr<base::Value>( base 47 content/renderer/skia_benchmarking_extension.cc scoped_ptr<base::Value> picture_value = ParsePictureArg(isolate, arg); base 55 content/renderer/skia_benchmarking_extension.cc scoped_ptr<base::Value> picture_value = ParsePictureArg(isolate, arg); base 136 content/renderer/skia_benchmarking_extension.cc scoped_ptr<base::Value> params_value( base 139 content/renderer/skia_benchmarking_extension.cc const base::DictionaryValue* params_dict = NULL; base 145 content/renderer/skia_benchmarking_extension.cc const base::Value* clip_value = NULL; base 269 content/renderer/skia_benchmarking_extension.cc base::TimeTicks t0 = base::TimeTicks::HighResNow(); base 271 content/renderer/skia_benchmarking_extension.cc base::TimeDelta total_time = base::TimeTicks::HighResNow() - t0; base 69 content/renderer/speech_recognition_dispatcher.cc msg_params.language = base::UTF16ToUTF8(params.language()); base 51 content/renderer/stats_collection_controller.cc const base::Time& load_start_time, base 52 content/renderer/stats_collection_controller.cc const base::Time& load_stop_time, base 54 content/renderer/stats_collection_controller.cc base::DictionaryValue item; base 57 content/renderer/stats_collection_controller.cc item.Set("load_start_ms", base::Value::CreateNullValue()); base 62 content/renderer/stats_collection_controller.cc item.Set("load_duration_ms", base::Value::CreateNullValue()); base 67 content/renderer/stats_collection_controller.cc base::JSONWriter::Write(&item, result); base 110 content/renderer/stats_collection_controller.cc base::HistogramBase* histogram = base 111 content/renderer/stats_collection_controller.cc base::StatisticsRecorder::FindHistogram(histogram_name); base 21 content/renderer/stats_collection_observer.cc start_time_ = base::Time::Now(); base 26 content/renderer/stats_collection_observer.cc stop_time_ = base::Time::Now(); base 28 content/renderer/stats_collection_observer.h const base::Time& load_start_time() { return start_time_; } base 29 content/renderer/stats_collection_observer.h const base::Time& load_stop_time() { return stop_time_; } base 32 content/renderer/stats_collection_observer.h base::Time start_time_; base 33 content/renderer/stats_collection_observer.h base::Time stop_time_; base 117 content/renderer/v8_value_converter_impl.cc const base::Value* value, v8::Handle<v8::Context> context) const { base 123 content/renderer/v8_value_converter_impl.cc base::Value* V8ValueConverterImpl::FromV8Value( base 134 content/renderer/v8_value_converter_impl.cc const base::Value* value) const { base 137 content/renderer/v8_value_converter_impl.cc case base::Value::TYPE_NULL: base 140 content/renderer/v8_value_converter_impl.cc case base::Value::TYPE_BOOLEAN: { base 146 content/renderer/v8_value_converter_impl.cc case base::Value::TYPE_INTEGER: { base 152 content/renderer/v8_value_converter_impl.cc case base::Value::TYPE_DOUBLE: { base 158 content/renderer/v8_value_converter_impl.cc case base::Value::TYPE_STRING: { base 165 content/renderer/v8_value_converter_impl.cc case base::Value::TYPE_LIST: base 166 content/renderer/v8_value_converter_impl.cc return ToV8Array(isolate, static_cast<const base::ListValue*>(value)); base 168 content/renderer/v8_value_converter_impl.cc case base::Value::TYPE_DICTIONARY: base 170 content/renderer/v8_value_converter_impl.cc static_cast<const base::DictionaryValue*>(value)); base 172 content/renderer/v8_value_converter_impl.cc case base::Value::TYPE_BINARY: base 173 content/renderer/v8_value_converter_impl.cc return ToArrayBuffer(static_cast<const base::BinaryValue*>(value)); base 183 content/renderer/v8_value_converter_impl.cc const base::ListValue* val) const { base 187 content/renderer/v8_value_converter_impl.cc const base::Value* child = NULL; base 204 content/renderer/v8_value_converter_impl.cc const base::DictionaryValue* val) const { base 207 content/renderer/v8_value_converter_impl.cc for (base::DictionaryValue::Iterator iter(*val); base 228 content/renderer/v8_value_converter_impl.cc const base::BinaryValue* value) const { base 235 content/renderer/v8_value_converter_impl.cc base::Value* V8ValueConverterImpl::FromV8ValueImpl( base 246 content/renderer/v8_value_converter_impl.cc return base::Value::CreateNullValue(); base 249 content/renderer/v8_value_converter_impl.cc return new base::FundamentalValue(val->ToBoolean()->Value()); base 252 content/renderer/v8_value_converter_impl.cc return new base::FundamentalValue(val->ToInt32()->Value()); base 256 content/renderer/v8_value_converter_impl.cc if (!base::IsFinite(val_as_double)) base 258 content/renderer/v8_value_converter_impl.cc return new base::FundamentalValue(val_as_double); base 263 content/renderer/v8_value_converter_impl.cc return new base::StringValue(std::string(*utf8, utf8.length())); base 276 content/renderer/v8_value_converter_impl.cc return new base::FundamentalValue(date->ValueOf() / 1000.0); base 283 content/renderer/v8_value_converter_impl.cc return new base::StringValue(*v8::String::Utf8Value(val->ToString())); base 298 content/renderer/v8_value_converter_impl.cc base::BinaryValue* binary_value = FromV8Buffer(val); base 310 content/renderer/v8_value_converter_impl.cc base::Value* V8ValueConverterImpl::FromV8Array( base 315 content/renderer/v8_value_converter_impl.cc return base::Value::CreateNullValue(); base 325 content/renderer/v8_value_converter_impl.cc base::Value* out = NULL; base 330 content/renderer/v8_value_converter_impl.cc base::ListValue* result = new base::ListValue(); base 344 content/renderer/v8_value_converter_impl.cc base::Value* child = FromV8ValueImpl(child_v8, state, isolate); base 350 content/renderer/v8_value_converter_impl.cc result->Append(base::Value::CreateNullValue()); base 355 content/renderer/v8_value_converter_impl.cc base::BinaryValue* V8ValueConverterImpl::FromV8Buffer( base 375 content/renderer/v8_value_converter_impl.cc return base::BinaryValue::CreateWithCopiedBuffer(data, length); base 380 content/renderer/v8_value_converter_impl.cc base::Value* V8ValueConverterImpl::FromV8Object( base 385 content/renderer/v8_value_converter_impl.cc return base::Value::CreateNullValue(); base 395 content/renderer/v8_value_converter_impl.cc base::Value* out = NULL; base 414 content/renderer/v8_value_converter_impl.cc return new base::DictionaryValue(); base 416 content/renderer/v8_value_converter_impl.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 441 content/renderer/v8_value_converter_impl.cc scoped_ptr<base::Value> child(FromV8ValueImpl(child_v8, state, isolate)); base 467 content/renderer/v8_value_converter_impl.cc if (strip_null_from_objects_ && child->IsType(base::Value::TYPE_NULL)) base 15 content/renderer/v8_value_converter_impl.h namespace base { base 35 content/renderer/v8_value_converter_impl.h const base::Value* value, base 37 content/renderer/v8_value_converter_impl.h virtual base::Value* FromV8Value( base 47 content/renderer/v8_value_converter_impl.h const base::Value* value) const; base 49 content/renderer/v8_value_converter_impl.h const base::ListValue* list) const; base 52 content/renderer/v8_value_converter_impl.h const base::DictionaryValue* dictionary) const; base 53 content/renderer/v8_value_converter_impl.h v8::Handle<v8::Value> ToArrayBuffer(const base::BinaryValue* value) const; base 55 content/renderer/v8_value_converter_impl.h base::Value* FromV8ValueImpl(v8::Handle<v8::Value> value, base 58 content/renderer/v8_value_converter_impl.h base::Value* FromV8Array(v8::Handle<v8::Array> array, base 65 content/renderer/v8_value_converter_impl.h base::BinaryValue* FromV8Buffer(v8::Handle<v8::Value> value) const; base 67 content/renderer/v8_value_converter_impl.h base::Value* FromV8Object(v8::Handle<v8::Object> object, base 64 content/renderer/v8_value_converter_impl_unittest.cc std::string GetString(base::DictionaryValue* value, const std::string& key) { base 85 content/renderer/v8_value_converter_impl_unittest.cc std::string GetString(base::ListValue* value, uint32 index) { base 104 content/renderer/v8_value_converter_impl_unittest.cc bool IsNull(base::DictionaryValue* value, const std::string& key) { base 105 content/renderer/v8_value_converter_impl_unittest.cc base::Value* child = NULL; base 110 content/renderer/v8_value_converter_impl_unittest.cc return child->GetType() == base::Value::TYPE_NULL; base 123 content/renderer/v8_value_converter_impl_unittest.cc bool IsNull(base::ListValue* value, uint32 index) { base 124 content/renderer/v8_value_converter_impl_unittest.cc base::Value* child = NULL; base 129 content/renderer/v8_value_converter_impl_unittest.cc return child->GetType() == base::Value::TYPE_NULL; base 143 content/renderer/v8_value_converter_impl_unittest.cc base::Value::Type expected_type, base 144 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> expected_value) { base 147 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> raw(converter.FromV8Value(val, context)); base 159 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::DictionaryValue> dictionary( base 160 content/renderer/v8_value_converter_impl_unittest.cc static_cast<base::DictionaryValue*>( base 165 content/renderer/v8_value_converter_impl_unittest.cc base::Value* temp = NULL; base 175 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::ListValue> list( base 176 content/renderer/v8_value_converter_impl_unittest.cc static_cast<base::ListValue*>(converter.FromV8Value(array, context))); base 179 content/renderer/v8_value_converter_impl_unittest.cc base::Value* temp = NULL; base 186 content/renderer/v8_value_converter_impl_unittest.cc base::Value* temp = NULL; base 188 content/renderer/v8_value_converter_impl_unittest.cc EXPECT_EQ(base::Value::TYPE_NULL, temp->GetType()); base 199 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> original_root = base::test::ParseJson( base 230 content/renderer/v8_value_converter_impl_unittest.cc EXPECT_EQ(static_cast<const base::DictionaryValue&>(*original_root).size(), base 261 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> new_root(converter.FromV8Value(v8_object, context)); base 267 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> original = base 268 content/renderer/v8_value_converter_impl_unittest.cc base::test::ParseJson("{ \"foo.bar\": \"baz\" }"); base 276 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> copy( base 306 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::DictionaryValue> converted( base 307 content/renderer/v8_value_converter_impl_unittest.cc static_cast<base::DictionaryValue*>( base 348 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::ListValue> converted(static_cast<base::ListValue*>( base 356 content/renderer/v8_value_converter_impl_unittest.cc converted.reset(static_cast<base::ListValue*>( base 357 content/renderer/v8_value_converter_impl_unittest.cc base::test::ParseJson("[ \"foo\", \"bar\" ]").release())); base 377 content/renderer/v8_value_converter_impl_unittest.cc base::Value::TYPE_NULL, // Arbitrary type, result is NULL. base 378 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value>()); base 381 content/renderer/v8_value_converter_impl_unittest.cc base::Value::TYPE_DICTIONARY, base 382 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value>(new base::DictionaryValue())); base 385 content/renderer/v8_value_converter_impl_unittest.cc base::Value::TYPE_DICTIONARY, base 386 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value>(new base::DictionaryValue())); base 391 content/renderer/v8_value_converter_impl_unittest.cc base::Value::TYPE_DOUBLE, base 392 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value>(new base::FundamentalValue(1.0))); base 397 content/renderer/v8_value_converter_impl_unittest.cc base::Value::TYPE_STRING, base 398 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value>(new base::StringValue("/./"))); base 418 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::DictionaryValue> result( base 419 content/renderer/v8_value_converter_impl_unittest.cc static_cast<base::DictionaryValue*>( base 443 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::DictionaryValue> result( base 444 content/renderer/v8_value_converter_impl_unittest.cc static_cast<base::DictionaryValue*>( base 464 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::DictionaryValue> object_result( base 465 content/renderer/v8_value_converter_impl_unittest.cc static_cast<base::DictionaryValue*>( base 476 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::ListValue> list_result( base 477 content/renderer/v8_value_converter_impl_unittest.cc static_cast<base::ListValue*>(converter.FromV8Value(array, context))); base 506 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> actual(converter.FromV8Value(object, context)); base 508 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> expected = base::test::ParseJson( base 539 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::ListValue> result( base 540 content/renderer/v8_value_converter_impl_unittest.cc static_cast<base::ListValue*>(converter.FromV8Value(array, context))); base 575 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> actual_object( base 577 content/renderer/v8_value_converter_impl_unittest.cc EXPECT_TRUE(base::Value::Equals( base 578 content/renderer/v8_value_converter_impl_unittest.cc base::test::ParseJson("{ \"bar\": null }").get(), actual_object.get())); base 581 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> actual_array(converter.FromV8Value(array, context)); base 582 content/renderer/v8_value_converter_impl_unittest.cc EXPECT_TRUE(base::Value::Equals( base 583 content/renderer/v8_value_converter_impl_unittest.cc base::test::ParseJson("[ null, null, null ]").get(), actual_array.get())); base 605 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> expected = base::test::ParseJson("[{},{},[],[]]"); base 609 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> value(converter.FromV8Value(root, context)); base 627 content/renderer/v8_value_converter_impl_unittest.cc base::ListValue expected_list; base 628 content/renderer/v8_value_converter_impl_unittest.cc expected_list.Append(base::Value::CreateNullValue()); base 631 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> actual_list( base 648 content/renderer/v8_value_converter_impl_unittest.cc base::DictionaryValue expected_dictionary; base 649 content/renderer/v8_value_converter_impl_unittest.cc expected_dictionary.Set(key, base::Value::CreateNullValue()); base 652 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> actual_dictionary( base 679 content/renderer/v8_value_converter_impl_unittest.cc scoped_ptr<base::Value> value(converter.FromV8Value(deep_object, context)); base 685 content/renderer/v8_value_converter_impl_unittest.cc base::Value* current = value.get(); base 687 content/renderer/v8_value_converter_impl_unittest.cc base::DictionaryValue* current_as_object = NULL; base 693 content/renderer/v8_value_converter_impl_unittest.cc base::DictionaryValue empty; base 694 content/renderer/v8_value_converter_impl_unittest.cc EXPECT_TRUE(base::Value::Equals(&empty, current)) << *current; base 31 content/renderer/web_preferences.cc const base::string16&, base 35 content/renderer/web_preferences.cc const base::string16& font, base 41 content/renderer/web_preferences.cc const base::string16& font, base 47 content/renderer/web_preferences.cc const base::string16& font, base 53 content/renderer/web_preferences.cc const base::string16& font, base 59 content/renderer/web_preferences.cc const base::string16& font, base 65 content/renderer/web_preferences.cc const base::string16& font, base 71 content/renderer/web_preferences.cc const base::string16& font, base 135 content/renderer/web_preferences.cc base::ASCIIToUTF16(prefs.default_encoding)); base 327 content/renderer/web_preferences.cc base::ASCIIToUTF16(prefs.default_video_poster_url.spec())); base 81 content/renderer/web_ui_extension.cc isolate, base::Bind(&WebUIExtension::Send))->GetFunction()); base 84 content/renderer/web_ui_extension.cc isolate, base::Bind(&WebUIExtension::GetVariableValue)) base 103 content/renderer/web_ui_extension.cc scoped_ptr<base::ListValue> content; base 105 content/renderer/web_ui_extension.cc content.reset(new base::ListValue()); base 115 content/renderer/web_ui_extension.cc base::Value* value = base 117 content/renderer/web_ui_extension.cc base::ListValue* list = NULL; base 23 content/renderer/web_ui_mojo.cc struct WebUIMojoContextStateData : public base::SupportsUserData::Data { base 38 content/renderer/web_ui_mojo_context_state.cc void RunMain(base::WeakPtr<gin::Runner> runner, base 81 content/renderer/web_ui_mojo_context_state.cc base::Bind(RunMain, runner_->GetWeakPtr(), base::Owned(passed_handle))); base 106 content/renderer/web_ui_mojo_context_state.cc base::Bind(&WebUIMojoContextState::OnFetchModuleComplete, base 107 content/renderer/web_ui_mojo_context_state.cc base::Unretained(this), fetcher)); base 81 content/renderer/webclipboard_impl.cc std::vector<base::string16> types; base 93 content/renderer/webclipboard_impl.cc base::string16 text; base 105 content/renderer/webclipboard_impl.cc base::string16 html_stdstr; base 130 content/renderer/webclipboard_impl.cc base::string16 data; base 172 content/renderer/webclipboard_impl.cc scw.WriteHTML(base::UTF8ToUTF16(URLToImageMarkup(url, title)), base 63 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::android::ScopedJavaLocalRef<jobject> scoped_context( base 65 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::android::InitApplicationContext(env, scoped_context); base 66 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::android::RegisterJni(env); base 88 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::FilePath files_dir( base 89 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::android::ConvertJavaStringToUTF8(env, jfiles_dir)); base 90 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::FilePath fifo_path(files_dir.Append(base::FilePath("test.fifo"))); base 91 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::android::CreateFIFO(fifo_path, 0666); base 92 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::android::RedirectStream(stdout, fifo_path, "w"); base 103 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::android::SetLibraryLoadedHook(&content::LibraryLoaded); base 105 content/shell/android/browsertests_apk/content_browser_tests_android.cc base::android::InitVM(vm); base 106 content/shell/android/browsertests_apk/content_browser_tests_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 108 content/shell/android/browsertests_apk/content_browser_tests_android.cc if (!base::android::RegisterLibraryLoaderEntryHook(env)) base 14 content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java import org.chromium.base.JNINamespace; base 15 content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java import org.chromium.base.library_loader.LibraryLoader; base 16 content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java import org.chromium.base.library_loader.ProcessInitException; base 19 content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java import org.chromium.ui.base.ActivityWindowAndroid; base 20 content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java import org.chromium.ui.base.WindowAndroid; base 9 content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java import org.chromium.base.PathUtils; base 22 content/shell/android/java/src/org/chromium/content_shell/Shell.java import org.chromium.base.CalledByNative; base 23 content/shell/android/java/src/org/chromium/content_shell/Shell.java import org.chromium.base.JNINamespace; base 28 content/shell/android/java/src/org/chromium/content_shell/Shell.java import org.chromium.ui.base.WindowAndroid; base 9 content/shell/android/java/src/org/chromium/content_shell/ShellLayoutTestUtils.java import org.chromium.base.CalledByNative; base 10 content/shell/android/java/src/org/chromium/content_shell/ShellLayoutTestUtils.java import org.chromium.base.JNINamespace; base 14 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java import org.chromium.base.CalledByNative; base 15 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java import org.chromium.base.CommandLine; base 16 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java import org.chromium.base.JNINamespace; base 17 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java import org.chromium.base.ThreadUtils; base 24 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java import org.chromium.ui.base.WindowAndroid; base 11 content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellPreconditionsTest.java import org.chromium.base.test.util.Feature; base 9 content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java import org.chromium.base.ThreadUtils; base 10 content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java import org.chromium.base.test.util.Feature; base 11 content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java import org.chromium.base.test.util.UrlUtils; base 13 content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 15 content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java import org.chromium.base.test.util.UrlUtils; base 9 content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellUrlTest.java import org.chromium.base.test.util.Feature; base 21 content/shell/android/linker_test_apk/chromium_linker_test_android.cc base::android::SetLibraryLoadedHook(&content::LibraryLoaded); base 23 content/shell/android/linker_test_apk/chromium_linker_test_android.cc base::android::InitVM(vm); base 24 content/shell/android/linker_test_apk/chromium_linker_test_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 26 content/shell/android/linker_test_apk/chromium_linker_test_android.cc if (!base::android::RegisterLibraryLoaderEntryHook(env)) base 29 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc using base::debug::MappedMemoryRegion; base 62 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc base::debug::ReadProcMaps(&maps); base 69 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc base::debug::ParseProcMaps(maps, ®ions); base 101 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc << base::StringPrintf( base 118 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc << base::StringPrintf( base 126 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc LOG(ERROR) << prefix << base::StringPrintf( base 141 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc << base::StringPrintf( base 15 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java import org.chromium.base.BaseSwitches; base 16 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java import org.chromium.base.CommandLine; base 17 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java import org.chromium.base.library_loader.LibraryLoader; base 18 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java import org.chromium.base.library_loader.Linker; base 19 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java import org.chromium.base.library_loader.ProcessInitException; base 25 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java import org.chromium.ui.base.ActivityWindowAndroid; base 26 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java import org.chromium.ui.base.WindowAndroid; base 9 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java import org.chromium.base.PathUtils; base 9 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java import org.chromium.base.JNINamespace; base 10 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java import org.chromium.base.library_loader.Linker; base 15 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java import org.chromium.base.BaseSwitches; base 16 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java import org.chromium.base.CommandLine; base 17 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java import org.chromium.base.MemoryPressureListener; base 18 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java import org.chromium.base.library_loader.LibraryLoader; base 19 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java import org.chromium.base.library_loader.ProcessInitException; base 26 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java import org.chromium.ui.base.ActivityWindowAndroid; base 27 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java import org.chromium.ui.base.WindowAndroid; base 7 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java import org.chromium.base.PathUtils; base 14 content/shell/android/shell_jni_registrar.cc static base::android::RegistrationMethod kShellRegistrationMethods[] = { base 20 content/shell/android/shell_library_loader.cc base::android::SetLibraryLoadedHook(&content::LibraryLoaded); base 22 content/shell/android/shell_library_loader.cc base::android::InitVM(vm); base 23 content/shell/android/shell_library_loader.cc JNIEnv* env = base::android::AttachCurrentThread(); base 25 content/shell/android/shell_library_loader.cc if (!base::android::RegisterLibraryLoaderEntryHook(env)) base 19 content/shell/android/shell_manager.cc using base::android::ScopedJavaLocalRef; base 25 content/shell/android/shell_manager.cc base::android::ScopedJavaGlobalRef<jobject> j_shell_manager; base 28 content/shell/android/shell_manager.cc base::LazyInstance<GlobalState> g_global_state = LAZY_INSTANCE_INITIALIZER; base 35 content/shell/android/shell_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 44 content/shell/android/shell_manager.cc JNIEnv* env = base::android::AttachCurrentThread(); base 56 content/shell/android/shell_manager.cc base::android::ScopedJavaLocalRef<jobject>(env, obj)); base 62 content/shell/android/shell_manager.cc GURL url(base::android::ConvertJavaStringToUTF8(env, jurl)); base 8 content/shell/app/paths_mac.h namespace base { base 19 content/shell/app/paths_mac.h base::FilePath GetResourcesPakFilePath(); base 22 content/shell/app/paths_mac.h base::FilePath GetInfoPlistPath(); base 25 content/shell/app/shell_breakpad_client.cc const base::FilePath& exe_path, base 26 content/shell/app/shell_breakpad_client.cc base::string16* product_name, base 27 content/shell/app/shell_breakpad_client.cc base::string16* version, base 28 content/shell/app/shell_breakpad_client.cc base::string16* special_build, base 29 content/shell/app/shell_breakpad_client.cc base::string16* channel_name) { base 30 content/shell/app/shell_breakpad_client.cc *product_name = base::ASCIIToUTF16("content_shell"); base 31 content/shell/app/shell_breakpad_client.cc *version = base::ASCIIToUTF16(CONTENT_SHELL_VERSION); base 32 content/shell/app/shell_breakpad_client.cc *special_build = base::string16(); base 33 content/shell/app/shell_breakpad_client.cc *channel_name = base::string16(); base 44 content/shell/app/shell_breakpad_client.cc base::FilePath ShellBreakpadClient::GetReporterLogFilename() { base 45 content/shell/app/shell_breakpad_client.cc return base::FilePath(FILE_PATH_LITERAL("uploads.log")); base 49 content/shell/app/shell_breakpad_client.cc bool ShellBreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) { base 21 content/shell/app/shell_breakpad_client.h virtual void GetProductNameAndVersion(const base::FilePath& exe_path, base 22 content/shell/app/shell_breakpad_client.h base::string16* product_name, base 23 content/shell/app/shell_breakpad_client.h base::string16* version, base 24 content/shell/app/shell_breakpad_client.h base::string16* special_build, base 25 content/shell/app/shell_breakpad_client.h base::string16* channel_name) OVERRIDE; base 34 content/shell/app/shell_breakpad_client.h virtual base::FilePath GetReporterLogFilename() OVERRIDE; base 39 content/shell/app/shell_breakpad_client.h virtual bool GetCrashDumpLocation(base::FilePath* crash_dir) OVERRIDE; base 68 content/shell/app/shell_main_delegate.cc base::LazyInstance<content::ShellBreakpadClient>::Leaky base 89 content/shell/app/shell_main_delegate.cc base::FilePath log_filename; base 90 content/shell/app/shell_main_delegate.cc PathService::Get(base::DIR_EXE, &log_filename); base 195 content/shell/app/shell_main_delegate.cc base::mac::DisableOSCrashDumps(); base 255 content/shell/app/shell_main_delegate.cc base::GlobalDescriptors::GetInstance()->MaybeGet(kShellPakDescriptor); base 256 content/shell/app/shell_main_delegate.cc if (pak_fd != base::kInvalidPlatformFileValue) { base 257 content/shell/app/shell_main_delegate.cc ui::ResourceBundle::InitSharedInstanceWithPakFile(base::File(pak_fd), base 260 content/shell/app/shell_main_delegate.cc base::File(pak_fd), ui::SCALE_FACTOR_100P); base 265 content/shell/app/shell_main_delegate.cc base::FilePath pak_file; base 269 content/shell/app/shell_main_delegate.cc base::FilePath pak_dir; base 272 content/shell/app/shell_main_delegate.cc bool got_path = PathService::Get(base::DIR_ANDROID_APP_DATA, &pak_dir); base 276 content/shell/app/shell_main_delegate.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 81 content/shell/app/webkit_test_platform_support_linux.cc base::FilePath base_path; base 82 content/shell/app/webkit_test_platform_support_linux.cc PathService::Get(base::DIR_MODULE, &base_path); base 83 content/shell/app/webkit_test_platform_support_linux.cc base::FilePath fonts_conf = base_path.Append(FILE_PATH_LITERAL("fonts.conf")); base 122 content/shell/app/webkit_test_platform_support_linux.cc base::FilePath ahem_font = base_path.Append("AHEM____.TTF"); base 32 content/shell/app/webkit_test_platform_support_win.cc base::FilePath base_path; base 33 content/shell/app/webkit_test_platform_support_win.cc PathService::Get(base::DIR_MODULE, &base_path); base 34 content/shell/app/webkit_test_platform_support_win.cc base::FilePath font_path = base 38 content/shell/app/webkit_test_platform_support_win.cc if (!base::ReadFileToString(font_path, &font_buffer)) { base 39 content/shell/app/webkit_test_platform_support_win.cc std::cerr << "Failed to load font " << base::WideToUTF8(font_path.value()) base 38 content/shell/browser/shell.cc base::Callback<void(Shell*)> Shell::shell_created_callback_; base 91 content/shell/browser/shell.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 92 content/shell/browser/shell.cc base::MessageLoop::QuitClosure()); base 117 content/shell/browser/shell.cc base::AutoReset<bool> auto_reset(&quit_message_loop_, false); base 123 content/shell/browser/shell.cc base::MessageLoop::current()->RunUntilIdle(); base 127 content/shell/browser/shell.cc base::Callback<void(Shell*)> shell_created_callback) { base 327 content/shell/browser/shell.cc const base::string16& message, base 329 content/shell/browser/shell.cc const base::string16& source_id) { base 99 content/shell/browser/shell.h base::Callback<void(Shell*)> shell_created_callback); base 147 content/shell/browser/shell.h const base::string16& message, base 149 content/shell/browser/shell.h const base::string16& source_id) OVERRIDE; base 199 content/shell/browser/shell.h void PlatformSetTitle(const base::string16& title); base 265 content/shell/browser/shell.h base::android::ScopedJavaGlobalRef<jobject> java_object_; base 284 content/shell/browser/shell.h static base::Callback<void(Shell*)> shell_created_callback_; base 18 content/shell/browser/shell_android.cc using base::android::AttachCurrentThread; base 19 content/shell/browser/shell_android.cc using base::android::ConvertUTF8ToJavaString; base 67 content/shell/browser/shell_android.cc void Shell::PlatformSetTitle(const base::string16& title) { base 68 content/shell/browser/shell_aura.cc void Shell::PlatformSetTitle(const base::string16& title) { base 90 content/shell/browser/shell_browser_context.cc CHECK(PathService::Get(base::DIR_LOCAL_APP_DATA, &path_)); base 93 content/shell/browser/shell_browser_context.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 94 content/shell/browser/shell_browser_context.cc base::FilePath config_dir( base 95 content/shell/browser/shell_browser_context.cc base::nix::GetXDGDirectory(env.get(), base 96 content/shell/browser/shell_browser_context.cc base::nix::kXdgConfigHomeEnvVar, base 97 content/shell/browser/shell_browser_context.cc base::nix::kDotConfigDir)); base 100 content/shell/browser/shell_browser_context.cc CHECK(PathService::Get(base::DIR_APP_DATA, &path_)); base 103 content/shell/browser/shell_browser_context.cc CHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &path_)); base 109 content/shell/browser/shell_browser_context.cc if (!base::PathExists(path_)) base 110 content/shell/browser/shell_browser_context.cc base::CreateDirectory(path_); base 113 content/shell/browser/shell_browser_context.cc base::FilePath ShellBrowserContext::GetPath() const { base 176 content/shell/browser/shell_browser_context.cc const base::FilePath& partition_path, base 221 content/shell/browser/shell_browser_context.cc const base::FilePath& partition_path, base 33 content/shell/browser/shell_browser_context.h virtual base::FilePath GetPath() const OVERRIDE; base 44 content/shell/browser/shell_browser_context.h const base::FilePath& partition_path, base 76 content/shell/browser/shell_browser_context.h const base::FilePath& partition_path, base 91 content/shell/browser/shell_browser_context.h base::FilePath path_; base 36 content/shell/browser/shell_browser_main.cc base::FilePath* current_working_directory, base 69 content/shell/browser/shell_browser_main.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 72 content/shell/browser/shell_browser_main.cc base::SysNativeMBToWide(path_or_url); base 73 content/shell/browser/shell_browser_main.cc base::FilePath local_file(wide_path_or_url); base 75 content/shell/browser/shell_browser_main.cc base::FilePath local_file(path_or_url); base 77 content/shell/browser/shell_browser_main.cc if (!base::PathExists(local_file)) { base 81 content/shell/browser/shell_browser_main.cc test_url = net::FilePathToFileURL(base::MakeAbsoluteFilePath(local_file)); base 83 content/shell/browser/shell_browser_main.cc base::FilePath local_path; base 86 content/shell/browser/shell_browser_main.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 90 content/shell/browser/shell_browser_main.cc base::GetCurrentDirectory(current_working_directory); base 103 content/shell/browser/shell_browser_main.cc *test = base::WideToUTF8(args[(*position)++]); base 120 content/shell/browser/shell_browser_main.cc base::FilePath cwd; base 133 content/shell/browser/shell_browser_main.cc base::RunLoop run_loop; base 145 content/shell/browser/shell_browser_main.cc base::MessageLoop::current()->RunUntilIdle(); base 158 content/shell/browser/shell_browser_main.cc base::ScopedTempDir browser_context_path_for_layout_tests; base 181 content/shell/browser/shell_browser_main.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 182 content/shell/browser/shell_browser_main.cc base::MessageLoop::QuitClosure()); base 193 content/shell/browser/shell_browser_main.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 194 content/shell/browser/shell_browser_main.cc base::FilePath temp_path; base 195 content/shell/browser/shell_browser_main.cc base::GetTempDir(&temp_path); base 212 content/shell/browser/shell_browser_main.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 213 content/shell/browser/shell_browser_main.cc base::MessageLoop::QuitClosure()); base 75 content/shell/browser/shell_browser_main_parts.cc return net::FilePathToFileURL(base::FilePath(args[0])); base 78 content/shell/browser/shell_browser_main_parts.cc base::StringPiece PlatformResourceProvider(int key) { base 80 content/shell/browser/shell_browser_main_parts.cc base::StringPiece html_data = base 85 content/shell/browser/shell_browser_main_parts.cc return base::StringPiece(); base 107 content/shell/browser/shell_browser_main_parts.cc base::MessageLoopForUI::current()->Start(); base 128 content/shell/browser/shell_browser_main_parts.cc base::FilePath crash_dumps_dir = base 159 content/shell/browser/shell_browser_main_parts.cc base::Bind("a::QuotaManager::SetTemporaryGlobalOverrideQuota, base 19 content/shell/browser/shell_browser_main_parts.h namespace base { base 60 content/shell/browser/shell_content_browser_client.cc base::FilePath dumps_path = base 169 content/shell/browser/shell_content_browser_client.cc const base::FilePath& partition_path, base 289 content/shell/browser/shell_content_browser_client.cc int flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ; base 290 content/shell/browser/shell_content_browser_client.cc base::FilePath pak_file; base 291 content/shell/browser/shell_content_browser_client.cc bool r = PathService::Get(base::DIR_ANDROID_APP_DATA, &pak_file); base 296 content/shell/browser/shell_content_browser_client.cc base::File f(pak_file, flags); base 303 content/shell/browser/shell_content_browser_client.cc base::FileDescriptor(f.Pass()))); base 314 content/shell/browser/shell_content_browser_client.cc base::FileDescriptor(f.Pass()))); base 321 content/shell/browser/shell_content_browser_client.cc kCrashDumpSignal, base::FileDescriptor(crash_signal_fd, false))); base 43 content/shell/browser/shell_content_browser_client.h const base::FilePath& partition_path, base 48 content/shell/browser/shell_content_browser_client.h virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, base 70 content/shell/browser/shell_content_browser_client.h const base::CommandLine& command_line, base 91 content/shell/browser/shell_content_browser_client.h base::FilePath webkit_source_dir_; base 55 content/shell/browser/shell_devtools_delegate.cc socket_name, "", base::Bind(&content::CanUserConnectToDevTools)); base 64 content/shell/browser/shell_devtools_delegate.cc if (base::StringToInt(port_str, &temp_port) && base 85 content/shell/browser/shell_devtools_delegate.cc virtual base::TimeTicks GetLastActivityTime() const OVERRIDE { base 103 content/shell/browser/shell_devtools_delegate.cc base::TimeTicks last_activity_time_; base 110 content/shell/browser/shell_devtools_delegate.cc title_ = base::UTF16ToUTF8(web_contents->GetTitle()); base 146 content/shell/browser/shell_devtools_delegate.cc frontend_url = base::StringPrintf(kFrontEndURL, GetWebKitRevision().c_str()); base 177 content/shell/browser/shell_devtools_delegate.cc base::FilePath ShellDevToolsDelegate::GetDebugFrontendDir() { base 178 content/shell/browser/shell_devtools_delegate.cc return base::FilePath(); base 28 content/shell/browser/shell_devtools_delegate.h virtual base::FilePath GetDebugFrontendDir() OVERRIDE; base 30 content/shell/browser/shell_devtools_frontend.cc base::FilePath dir_exe; base 31 content/shell/browser/shell_devtools_frontend.cc if (!PathService::Get(base::DIR_EXE, &dir_exe)) { base 41 content/shell/browser/shell_devtools_frontend.cc base::FilePath dev_tools_path = dir_exe.AppendASCII( base 46 content/shell/browser/shell_devtools_frontend.cc result = GURL(base::StringPrintf("%s?settings=%s", base 123 content/shell/browser/shell_devtools_frontend.cc base::ASCIIToUTF16("InspectorFrontendAPI.setUseSoftMenu(true);")); base 85 content/shell/browser/shell_download_manager_delegate.cc base::Bind(&ShellDownloadManagerDelegate::OnDownloadPathGenerated, base 93 content/shell/browser/shell_download_manager_delegate.cc base::Bind(&ShellDownloadManagerDelegate::GenerateFilename, base 127 content/shell/browser/shell_download_manager_delegate.cc const base::FilePath& suggested_directory, base 130 content/shell/browser/shell_download_manager_delegate.cc base::FilePath generated_name = net::GenerateFileName(url, base 137 content/shell/browser/shell_download_manager_delegate.cc if (!base::PathExists(suggested_directory)) base 138 content/shell/browser/shell_download_manager_delegate.cc base::CreateDirectory(suggested_directory); base 140 content/shell/browser/shell_download_manager_delegate.cc base::FilePath suggested_path(suggested_directory.Append(generated_name)); base 142 content/shell/browser/shell_download_manager_delegate.cc BrowserThread::UI, FROM_HERE, base::Bind(callback, suggested_path)); base 148 content/shell/browser/shell_download_manager_delegate.cc const base::FilePath& suggested_path) { base 164 content/shell/browser/shell_download_manager_delegate.cc const base::FilePath& suggested_path) { base 170 content/shell/browser/shell_download_manager_delegate.cc base::FilePath result; base 172 content/shell/browser/shell_download_manager_delegate.cc std::wstring file_part = base::FilePath(suggested_path).BaseName().value(); base 174 content/shell/browser/shell_download_manager_delegate.cc base::wcslcpy(file_name, file_part.c_str(), arraysize(file_name)); base 192 content/shell/browser/shell_download_manager_delegate.cc result = base::FilePath(std::wstring(save_as.lpstrFile)); base 196 content/shell/browser/shell_download_manager_delegate.cc std::string base_name = base::FilePath(suggested_path).BaseName().value(); base 213 content/shell/browser/shell_download_manager_delegate.cc result = base::FilePath(filename); base 226 content/shell/browser/shell_download_manager_delegate.cc const base::FilePath& default_download_path) { base 35 content/shell/browser/shell_download_manager_delegate.h const base::FilePath& default_download_path); base 38 content/shell/browser/shell_download_manager_delegate.h friend class base::RefCountedThreadSafe<ShellDownloadManagerDelegate>; base 40 content/shell/browser/shell_download_manager_delegate.h typedef base::Callback<void(const base::FilePath&)> base 47 content/shell/browser/shell_download_manager_delegate.h const base::FilePath& suggested_directory, base 51 content/shell/browser/shell_download_manager_delegate.h const base::FilePath& suggested_path); base 54 content/shell/browser/shell_download_manager_delegate.h const base::FilePath& suggested_path); base 57 content/shell/browser/shell_download_manager_delegate.h base::FilePath default_download_path_; base 59 content/shell/browser/shell_download_manager_delegate.h base::WeakPtrFactory<ShellDownloadManagerDelegate> weak_ptr_factory_; base 343 content/shell/browser/shell_gtk.cc void Shell::PlatformSetTitle(const base::string16& title) { base 347 content/shell/browser/shell_gtk.cc std::string title_utf8 = base::UTF16ToUTF8(title); base 32 content/shell/browser/shell_javascript_dialog.h const base::string16& message_text, base 33 content/shell/browser/shell_javascript_dialog.h const base::string16& default_prompt_text, base 49 content/shell/browser/shell_javascript_dialog.h base::string16 message_text_; base 50 content/shell/browser/shell_javascript_dialog.h base::string16 default_prompt_text_; base 22 content/shell/browser/shell_javascript_dialog_gtk.cc base::string16 GetPromptText(GtkDialog* dialog) { base 26 content/shell/browser/shell_javascript_dialog_gtk.cc return base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(widget))); base 27 content/shell/browser/shell_javascript_dialog_gtk.cc return base::string16(); base 39 content/shell/browser/shell_javascript_dialog_gtk.cc const base::string16& message_text, base 40 content/shell/browser/shell_javascript_dialog_gtk.cc const base::string16& default_prompt_text, base 73 content/shell/browser/shell_javascript_dialog_gtk.cc base::UTF16ToUTF8(message_text).c_str()); base 92 content/shell/browser/shell_javascript_dialog_gtk.cc base::UTF16ToUTF8(default_prompt_text).c_str()); base 116 content/shell/browser/shell_javascript_dialog_gtk.cc callback_.Run(false, base::string16()); base 30 content/shell/browser/shell_javascript_dialog_manager.cc const base::string16& message_text, base 31 content/shell/browser/shell_javascript_dialog_manager.cc const base::string16& default_prompt_text, base 35 content/shell/browser/shell_javascript_dialog_manager.cc callback.Run(true, base::string16()); base 41 content/shell/browser/shell_javascript_dialog_manager.cc callback.Run(true, base::string16()); base 55 content/shell/browser/shell_javascript_dialog_manager.cc base::string16 new_message_text = net::FormatUrl(origin_url, accept_lang) + base 56 content/shell/browser/shell_javascript_dialog_manager.cc base::ASCIIToUTF16("\n\n") + base 76 content/shell/browser/shell_javascript_dialog_manager.cc const base::string16& message_text, base 80 content/shell/browser/shell_javascript_dialog_manager.cc callback.Run(true, base::string16()); base 86 content/shell/browser/shell_javascript_dialog_manager.cc callback.Run(true, base::string16()); base 94 content/shell/browser/shell_javascript_dialog_manager.cc callback.Run(true, base::string16()); base 98 content/shell/browser/shell_javascript_dialog_manager.cc base::string16 new_message_text = base 100 content/shell/browser/shell_javascript_dialog_manager.cc base::ASCIIToUTF16("\n\nIs it OK to leave/reload this page?"); base 109 content/shell/browser/shell_javascript_dialog_manager.cc base::string16(), // default base 113 content/shell/browser/shell_javascript_dialog_manager.cc callback.Run(true, base::string16()); base 28 content/shell/browser/shell_javascript_dialog_manager.h const base::string16& message_text, base 29 content/shell/browser/shell_javascript_dialog_manager.h const base::string16& default_prompt_text, base 35 content/shell/browser/shell_javascript_dialog_manager.h const base::string16& message_text, base 48 content/shell/browser/shell_javascript_dialog_manager.h void set_dialog_request_callback(const base::Closure& callback) { base 60 content/shell/browser/shell_javascript_dialog_manager.h base::Closure dialog_request_callback_; base 37 content/shell/browser/shell_javascript_dialog_win.cc owner->callback_.Run(false, base::string16()); base 45 content/shell/browser/shell_javascript_dialog_win.cc base::string16 user_input; base 82 content/shell/browser/shell_javascript_dialog_win.cc const base::string16& message_text, base 83 content/shell/browser/shell_javascript_dialog_win.cc const base::string16& default_prompt_text, base 27 content/shell/browser/shell_layout_tests_android.cc base::FilePath GetTestFilesDirectory(JNIEnv* env) { base 30 content/shell/browser/shell_layout_tests_android.cc env, base::android::GetApplicationContext()); base 31 content/shell/browser/shell_layout_tests_android.cc return base::FilePath(ConvertJavaStringToUTF8(directory)); base 34 content/shell/browser/shell_layout_tests_android.cc void EnsureCreateFIFO(const base::FilePath& path) { base 36 content/shell/browser/shell_layout_tests_android.cc CHECK(base::android::CreateFIFO(path, 0666)) base 40 content/shell/browser/shell_layout_tests_android.cc scoped_ptr<base::MessagePump> CreateMessagePumpForUI() { base 41 content/shell/browser/shell_layout_tests_android.cc return scoped_ptr<base::MessagePump>(new content::NestedMessagePumpAndroid()); base 62 content/shell/browser/shell_layout_tests_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 66 content/shell/browser/shell_layout_tests_android.cc bool success = base::MessageLoop::InitMessagePumpForUIFactory( base 72 content/shell/browser/shell_layout_tests_android.cc base::FilePath files_dir(GetTestFilesDirectory(env)); base 74 content/shell/browser/shell_layout_tests_android.cc base::FilePath stdout_fifo(files_dir.Append(FILE_PATH_LITERAL("test.fifo"))); base 77 content/shell/browser/shell_layout_tests_android.cc base::FilePath stderr_fifo( base 81 content/shell/browser/shell_layout_tests_android.cc base::FilePath stdin_fifo(files_dir.Append(FILE_PATH_LITERAL("stdin.fifo"))); base 86 content/shell/browser/shell_layout_tests_android.cc success = base::android::RedirectStream(stdout, stdout_fifo, "w") && base 87 content/shell/browser/shell_layout_tests_android.cc base::android::RedirectStream(stdin, stdin_fifo, "r") && base 88 content/shell/browser/shell_layout_tests_android.cc base::android::RedirectStream(stderr, stderr_fifo, "w"); base 25 content/shell/browser/shell_login_dialog.cc base::Bind(&ShellLoginDialog::PrepDialog, this, base 26 content/shell/browser/shell_login_dialog.cc base::ASCIIToUTF16(auth_info->challenger.ToString()), base 27 content/shell/browser/shell_login_dialog.cc base::UTF8ToUTF16(auth_info->realm))); base 34 content/shell/browser/shell_login_dialog.cc base::Bind(&ShellLoginDialog::PlatformRequestCancelled, this)); base 37 content/shell/browser/shell_login_dialog.cc void ShellLoginDialog::UserAcceptedAuth(const base::string16& username, base 38 content/shell/browser/shell_login_dialog.cc const base::string16& password) { base 42 content/shell/browser/shell_login_dialog.cc base::Bind(&ShellLoginDialog::SendAuthToRequester, this, base 50 content/shell/browser/shell_login_dialog.cc base::Bind(&ShellLoginDialog::SendAuthToRequester, this, base 51 content/shell/browser/shell_login_dialog.cc false, base::string16(), base::string16())); base 54 content/shell/browser/shell_login_dialog.cc base::Bind(&ShellLoginDialog::PlatformCleanUp, this)); base 66 content/shell/browser/shell_login_dialog.cc void ShellLoginDialog::PlatformCreateDialog(const base::string16& message) {} base 71 content/shell/browser/shell_login_dialog.cc void ShellLoginDialog::PrepDialog(const base::string16& host, base 72 content/shell/browser/shell_login_dialog.cc const base::string16& realm) { base 76 content/shell/browser/shell_login_dialog.cc base::string16 elided_realm; base 79 content/shell/browser/shell_login_dialog.cc base::string16 explanation = base 80 content/shell/browser/shell_login_dialog.cc base::ASCIIToUTF16("The server ") + host + base 81 content/shell/browser/shell_login_dialog.cc base::ASCIIToUTF16(" requires a username and password."); base 84 content/shell/browser/shell_login_dialog.cc explanation += base::ASCIIToUTF16(" The server says: "); base 86 content/shell/browser/shell_login_dialog.cc explanation += base::ASCIIToUTF16("."); base 93 content/shell/browser/shell_login_dialog.cc const base::string16& username, base 94 content/shell/browser/shell_login_dialog.cc const base::string16& password) { base 104 content/shell/browser/shell_login_dialog.cc base::Bind(&ShellLoginDialog::PlatformCleanUp, this)); base 46 content/shell/browser/shell_login_dialog.h void UserAcceptedAuth(const base::string16& username, base 47 content/shell/browser/shell_login_dialog.h const base::string16& password); base 59 content/shell/browser/shell_login_dialog.h void PlatformCreateDialog(const base::string16& message); base 69 content/shell/browser/shell_login_dialog.h void PrepDialog(const base::string16& host, const base::string16& realm); base 74 content/shell/browser/shell_login_dialog.h const base::string16& username, base 75 content/shell/browser/shell_login_dialog.h const base::string16& password); base 22 content/shell/browser/shell_login_dialog_gtk.cc void ShellLoginDialog::PlatformCreateDialog(const base::string16& message) { base 48 content/shell/browser/shell_login_dialog_gtk.cc GtkWidget* label = gtk_label_new(base::UTF16ToUTF8(message).c_str()); base 96 content/shell/browser/shell_login_dialog_gtk.cc base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(username_entry_))), base 97 content/shell/browser/shell_login_dialog_gtk.cc base::UTF8ToUTF16(gtk_entry_get_text(GTK_ENTRY(password_entry_)))); base 62 content/shell/browser/shell_message_filter.cc void ShellMessageFilter::OnReadFileToString(const base::FilePath& local_file, base 64 content/shell/browser/shell_message_filter.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 65 content/shell/browser/shell_message_filter.cc base::ReadFileToString(local_file, contents); base 69 content/shell/browser/shell_message_filter.cc const std::vector<base::FilePath>& absolute_filenames, base 87 content/shell/browser/shell_message_filter.cc base::Time(), net::CompletionCallback()); base 45 content/shell/browser/shell_message_filter.h void OnReadFileToString(const base::FilePath& local_file, base 48 content/shell/browser/shell_message_filter.h const std::vector<base::FilePath>& absolute_filenames, base 19 content/shell/browser/shell_net_log.cc base::DictionaryValue* GetShellConstants(const std::string& app_name) { base 20 content/shell/browser/shell_net_log.cc base::DictionaryValue* constants_dict = net::NetLogLogger::GetConstants(); base 23 content/shell/browser/shell_net_log.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 40 content/shell/browser/shell_net_log.cc base::FilePath log_path = base 59 content/shell/browser/shell_net_log.cc scoped_ptr<base::Value> constants(GetShellConstants(app_name)); base 73 content/shell/browser/shell_network_delegate.cc const base::string16& error) { base 108 content/shell/browser/shell_network_delegate.cc const base::FilePath& path) const { base 45 content/shell/browser/shell_network_delegate.h const base::string16& error) OVERRIDE; base 57 content/shell/browser/shell_network_delegate.h const base::FilePath& path) const OVERRIDE; base 23 content/shell/browser/shell_plugin_service_filter.cc return plugin->name == base::ASCIIToUTF16("WebKit Test PlugIn"); base 27 content/shell/browser/shell_plugin_service_filter.cc const base::FilePath& path) { base 28 content/shell/browser/shell_plugin_service_filter.h const base::FilePath& path) OVERRIDE; base 26 content/shell/browser/shell_resource_dispatcher_host_delegate.h base::Callback<void()> login_request_callback) { base 31 content/shell/browser/shell_resource_dispatcher_host_delegate.h base::Callback<void()> login_request_callback_; base 9 content/shell/browser/shell_speech_recognition_manager_delegate.cc using base::Callback; base 20 content/shell/browser/shell_speech_recognition_manager_delegate.cc BrowserThread::IO, FROM_HERE, base::Bind(callback, false, true)); base 28 content/shell/browser/shell_speech_recognition_manager_delegate.h base::Callback<void(bool ask_user, bool is_allowed)> callback) OVERRIDE; base 63 content/shell/browser/shell_url_request_context_getter.cc const base::FilePath& base_path, base 64 content/shell/browser/shell_url_request_context_getter.cc base::MessageLoop* io_loop, base 65 content/shell/browser/shell_url_request_context_getter.cc base::MessageLoop* file_loop, base 111 content/shell/browser/shell_url_request_context_getter.cc base::WorkerPool::GetTaskRunner(true))); base 138 content/shell/browser/shell_url_request_context_getter.cc base::FilePath cache_path = base_path_.Append(FILE_PATH_LITERAL("Cache")); base 177 content/shell/browser/shell_url_request_context_getter.cc base::StringToInt(command_line.GetSwitchValueASCII( base 183 content/shell/browser/shell_url_request_context_getter.cc base::StringToInt(command_line.GetSwitchValueASCII( base 217 content/shell/browser/shell_url_request_context_getter.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN))); base 238 content/shell/browser/shell_url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> base 16 content/shell/browser/shell_url_request_context_getter.h namespace base { base 35 content/shell/browser/shell_url_request_context_getter.h const base::FilePath& base_path, base 36 content/shell/browser/shell_url_request_context_getter.h base::MessageLoop* io_loop, base 37 content/shell/browser/shell_url_request_context_getter.h base::MessageLoop* file_loop, base 44 content/shell/browser/shell_url_request_context_getter.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 54 content/shell/browser/shell_url_request_context_getter.h base::FilePath base_path_; base 55 content/shell/browser/shell_url_request_context_getter.h base::MessageLoop* io_loop_; base 56 content/shell/browser/shell_url_request_context_getter.h base::MessageLoop* file_loop_; base 83 content/shell/browser/shell_views.cc AddItem(COMMAND_OPEN_DEVTOOLS, base::ASCIIToUTF16("Inspect Element")); base 135 content/shell/browser/shell_views.cc url_entry_->SetText(base::ASCIIToUTF16(url.spec())); base 158 content/shell/browser/shell_views.cc void SetWindowTitle(const base::string16& title) { title_ = title; } base 229 content/shell/browser/shell_views.cc back_button_ = new views::LabelButton(this, base::ASCIIToUTF16("Back")); base 239 content/shell/browser/shell_views.cc new views::LabelButton(this, base::ASCIIToUTF16("Forward")); base 249 content/shell/browser/shell_views.cc new views::LabelButton(this, base::ASCIIToUTF16("Refresh")); base 258 content/shell/browser/shell_views.cc stop_button_ = new views::LabelButton(this, base::ASCIIToUTF16("Stop")); base 311 content/shell/browser/shell_views.cc const base::string16& new_contents) OVERRIDE { base 316 content/shell/browser/shell_views.cc std::string text = base::UTF16ToUTF8(url_entry_->text()); base 320 content/shell/browser/shell_views.cc url_entry_->SetText(base::ASCIIToUTF16(url.spec())); base 344 content/shell/browser/shell_views.cc virtual base::string16 GetWindowTitle() const OVERRIDE { base 390 content/shell/browser/shell_views.cc base::string16 title_; base 543 content/shell/browser/shell_views.cc void Shell::PlatformSetTitle(const base::string16& title) { base 174 content/shell/browser/webkit_test_controller.cc base::Base64Encode( base 175 content/shell/browser/webkit_test_controller.cc base::StringPiece(reinterpret_cast<const char*>(&data[0]), data.size()), base 230 content/shell/browser/webkit_test_controller.cc const base::FilePath& current_working_directory, base 258 content/shell/browser/webkit_test_controller.cc current_pid_ = base::kNullProcessId; base 309 content/shell/browser/webkit_test_controller.cc void WebKitTestController::SetTempPath(const base::FilePath& temp_path) { base 391 content/shell/browser/webkit_test_controller.cc void WebKitTestController::PluginCrashed(const base::FilePath& plugin_path, base 392 content/shell/browser/webkit_test_controller.cc base::ProcessId plugin_pid) { base 395 content/shell/browser/webkit_test_controller.cc base::StringPrintf("#CRASHED - plugin (pid %d)", plugin_pid)); base 396 content/shell/browser/webkit_test_controller.cc base::MessageLoop::current()->PostTask( base 398 content/shell/browser/webkit_test_controller.cc base::Bind(base::IgnoreResult(&WebKitTestController::DiscardMainWindow), base 399 content/shell/browser/webkit_test_controller.cc base::Unretained(this))); base 406 content/shell/browser/webkit_test_controller.cc if (render_view_host->GetProcess()->GetHandle() != base::kNullProcessHandle) base 407 content/shell/browser/webkit_test_controller.cc current_pid_ = base::GetProcId(render_view_host->GetProcess()->GetHandle()); base 414 content/shell/browser/webkit_test_controller.cc void WebKitTestController::RenderProcessGone(base::TerminationStatus status) { base 416 content/shell/browser/webkit_test_controller.cc if (current_pid_ != base::kNullProcessId) { base 418 content/shell/browser/webkit_test_controller.cc base::IntToString(current_pid_) + ")"); base 447 content/shell/browser/webkit_test_controller.cc current_pid_ = base::GetProcId(render_process_host->GetHandle()); base 456 content/shell/browser/webkit_test_controller.cc base::TerminationStatus exit_code) { base 469 content/shell/browser/webkit_test_controller.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 470 content/shell/browser/webkit_test_controller.cc base::MessageLoop::QuitClosure()); base 476 content/shell/browser/webkit_test_controller.cc current_pid_ = base::kNullProcessId; base 501 content/shell/browser/webkit_test_controller.cc base::MessageLoop::current()->PostTask( base 503 content/shell/browser/webkit_test_controller.cc base::Bind(base::IgnoreResult(&WebKitTestController::Send), base 504 content/shell/browser/webkit_test_controller.cc base::Unretained(this), base 648 content/shell/browser/webkit_test_controller.cc base::MessageLoop::current()->RunUntilIdle(); base 662 content/shell/browser/webkit_test_controller.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 663 content/shell/browser/webkit_test_controller.cc base::MessageLoop::QuitClosure()); base 669 content/shell/browser/webkit_test_controller.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 670 content/shell/browser/webkit_test_controller.cc base::MessageLoop::QuitClosure()); base 675 content/shell/browser/webkit_test_controller.cc base::StringPrintf("#LEAK - renderer pid %d (%s)", current_pid_, base 40 content/shell/browser/webkit_test_controller.h base::ThreadRestrictions::ScopedAllowWait wait; base 101 content/shell/browser/webkit_test_controller.h class WebKitTestController : public base::NonThreadSafe, base 113 content/shell/browser/webkit_test_controller.h const base::FilePath& current_working_directory, base 119 content/shell/browser/webkit_test_controller.h void SetTempPath(const base::FilePath& temp_path); base 134 content/shell/browser/webkit_test_controller.h virtual void PluginCrashed(const base::FilePath& plugin_path, base 135 content/shell/browser/webkit_test_controller.h base::ProcessId plugin_pid) OVERRIDE; base 137 content/shell/browser/webkit_test_controller.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 146 content/shell/browser/webkit_test_controller.h virtual void OnGpuProcessCrashed(base::TerminationStatus exit_code) OVERRIDE; base 180 content/shell/browser/webkit_test_controller.h base::FilePath current_working_directory_; base 181 content/shell/browser/webkit_test_controller.h base::FilePath temp_path_; base 32 content/shell/common/shell_content_client.cc base::string16 ShellContentClient::GetLocalizedString(int message_id) const { base 36 content/shell/common/shell_content_client.cc return base::ASCIIToUTF16("<<OtherDateLabel>>"); base 38 content/shell/common/shell_content_client.cc return base::ASCIIToUTF16("<<OtherMonthLabel>>"); base 40 content/shell/common/shell_content_client.cc return base::ASCIIToUTF16("<<OtherTimeLabel>>"); base 42 content/shell/common/shell_content_client.cc return base::ASCIIToUTF16("<<OtherWeekLabel>>"); base 44 content/shell/common/shell_content_client.cc return base::ASCIIToUTF16("<<CalendarClear>>"); base 46 content/shell/common/shell_content_client.cc return base::ASCIIToUTF16("<<CalendarToday>>"); base 48 content/shell/common/shell_content_client.cc return base::ASCIIToUTF16("<<ThisMonthLabel>>"); base 50 content/shell/common/shell_content_client.cc return base::ASCIIToUTF16("<<ThisWeekLabel>>"); base 56 content/shell/common/shell_content_client.cc base::StringPiece ShellContentClient::GetDataResource( base 78 content/shell/common/shell_content_client.cc base::RefCountedStaticMemory* ShellContentClient::GetDataResourceBytes( base 21 content/shell/common/shell_content_client.h virtual base::string16 GetLocalizedString(int message_id) const OVERRIDE; base 22 content/shell/common/shell_content_client.h virtual base::StringPiece GetDataResource( base 25 content/shell/common/shell_content_client.h virtual base::RefCountedStaticMemory* GetDataResourceBytes( base 34 content/shell/common/shell_messages.h base::FilePath /* webkit source dir */) base 79 content/shell/common/shell_messages.h std::vector<base::FilePath> /* absolute_filenames */, base 82 content/shell/common/shell_messages.h base::FilePath /* local path */, base 21 content/shell/common/shell_test_configuration.h base::FilePath current_working_directory; base 24 content/shell/common/shell_test_configuration.h base::FilePath temp_path; base 75 content/shell/common/webkit_test_helpers.cc base::string16 serif; base 78 content/shell/common/webkit_test_helpers.cc base::ASCIIToUTF16("Apple Chancery"); base 80 content/shell/common/webkit_test_helpers.cc base::ASCIIToUTF16("Papyrus"); base 81 content/shell/common/webkit_test_helpers.cc serif = base::ASCIIToUTF16("Times"); base 84 content/shell/common/webkit_test_helpers.cc base::ASCIIToUTF16("Comic Sans MS"); base 86 content/shell/common/webkit_test_helpers.cc base::ASCIIToUTF16("Impact"); base 87 content/shell/common/webkit_test_helpers.cc serif = base::ASCIIToUTF16("times new roman"); base 94 content/shell/common/webkit_test_helpers.cc base::ASCIIToUTF16("Courier"); base 96 content/shell/common/webkit_test_helpers.cc webkit_glue::kCommonScript] = base::ASCIIToUTF16("Helvetica"); base 115 content/shell/common/webkit_test_helpers.cc base::FilePath GetWebKitRootDirFilePath() { base 116 content/shell/common/webkit_test_helpers.cc base::FilePath base_path; base 117 content/shell/common/webkit_test_helpers.cc PathService::Get(base::DIR_SOURCE_ROOT, &base_path); base 10 content/shell/common/webkit_test_helpers.h namespace base { base 31 content/shell/common/webkit_test_helpers.h base::FilePath GetWebKitRootDirFilePath(); base 29 content/shell/geolocation/shell_access_token_store.cc base::Bind(&ShellAccessTokenStore::GetRequestContextOnUIThread, base 32 content/shell/geolocation/shell_access_token_store.cc base::Bind(&ShellAccessTokenStore::RespondOnOriginatingThread, base 47 content/shell/geolocation/shell_access_token_store.cc access_token_set[GURL()] = base::ASCIIToUTF16("chromium_content_shell"); base 52 content/shell/geolocation/shell_access_token_store.cc const GURL& server_url, const base::string16& access_token) { base 31 content/shell/geolocation/shell_access_token_store.h const GURL& server_url, const base::string16& access_token) OVERRIDE; base 45 content/shell/renderer/leak_detector.cc base::DictionaryValue detail; base 46 content/shell/renderer/leak_detector.cc base::ListValue* list = new base::ListValue(); base 51 content/shell/renderer/leak_detector.cc list = new base::ListValue(); base 57 content/shell/renderer/leak_detector.cc base::JSONWriter::Write(&detail, &detail_str); base 49 content/shell/renderer/shell_content_renderer_client.cc base::Bind(&ShellContentRendererClient::WebTestProxyCreated, base 50 content/shell/renderer/shell_content_renderer_client.cc base::Unretained(this))); base 62 content/shell/renderer/shell_content_renderer_client.cc base::debug::BeingDebugged(); base 97 content/shell/renderer/shell_render_process_observer.cc const base::FilePath& webkit_source_dir) { base 51 content/shell/renderer/shell_render_process_observer.h const base::FilePath& webkit_source_dir() const { return webkit_source_dir_; } base 56 content/shell/renderer/shell_render_process_observer.h void OnSetWebKitSourceDir(const base::FilePath& webkit_source_dir); base 62 content/shell/renderer/shell_render_process_observer.h base::FilePath webkit_source_dir_; base 23 content/shell/renderer/test_runner/MockGrammarCheck.cpp base::string16 stringText = text; base 50 content/shell/renderer/test_runner/MockGrammarCheck.cpp base::string16 error(grammarErrors[i].text, grammarErrors[i].text + strlen(grammarErrors[i].text)); base 51 content/shell/renderer/test_runner/MockGrammarCheck.cpp while ((offset = stringText.find(error, offset)) != base::string16::npos) { base 48 content/shell/renderer/test_runner/MockSpellCheck.cpp base::string16 stringText = text; base 59 content/shell/renderer/test_runner/MockSpellCheck.cpp base::string16::iterator firstChar = find_if(stringText.begin(), stringText.end(), isASCIIAlpha); base 65 content/shell/renderer/test_runner/MockSpellCheck.cpp base::string16 word; base 85 content/shell/renderer/test_runner/MockSpellCheck.cpp base::string16::iterator lastChar = find_if(stringText.begin() + wordOffset, stringText.end(), isNotASCIIAlpha); base 174 content/shell/renderer/test_runner/MockSpellCheck.cpp m_misspelledWords.push_back(base::string16(misspelledWords[i], misspelledWords[i] + strlen(misspelledWords[i]))); base 59 content/shell/renderer/test_runner/MockSpellCheck.h std::vector<base::string16> m_misspelledWords; base 63 content/shell/renderer/test_runner/SpellCheckClient.cpp base::string16 data = text; base 112 content/shell/renderer/test_runner/SpellCheckClient.cpp base::string16 text = m_lastRequestedTextCheckString; base 128 content/shell/renderer/test_runner/TestInterfaces.cpp settings = base::StringPrintf( base 298 content/shell/renderer/test_runner/TestPlugin.cpp scoped_ptr<base::SharedMemory> bitmap = base 331 content/shell/renderer/test_runner/TestPlugin.cpp static void releaseSharedMemory(scoped_ptr<base::SharedMemory> bitmap, base 344 content/shell/renderer/test_runner/TestPlugin.cpp cc::SingleReleaseCallback::Create(base::Bind(&ignoreReleaseCallback)); base 347 content/shell/renderer/test_runner/TestPlugin.cpp base::Bind(&releaseSharedMemory, base::Passed(&m_sharedBitmap))); base 137 content/shell/renderer/test_runner/TestPlugin.h scoped_ptr<base::SharedMemory> m_sharedBitmap; base 70 content/shell/renderer/test_runner/WebTestProxy.cpp ClosureTask(WebTestProxyBase* object, base::Closure callback) base 79 content/shell/renderer/test_runner/WebTestProxy.cpp base::Closure m_callback; base 307 content/shell/renderer/test_runner/WebTestProxy.cpp base::char16 operator()(base::char16 c) { return tolower(c); } base 313 content/shell/renderer/test_runner/WebTestProxy.cpp base::string16 target1 = item1.target(); base 314 content/shell/renderer/test_runner/WebTestProxy.cpp base::string16 target2 = item2.target(); base 651 content/shell/renderer/test_runner/WebTestProxy.cpp void WebTestProxyBase::display(base::Closure callback) base 662 content/shell/renderer/test_runner/WebTestProxy.cpp void WebTestProxyBase::displayAsyncThen(base::Closure callback) base 669 content/shell/renderer/test_runner/WebTestProxy.cpp base::Bind( base 670 content/shell/renderer/test_runner/WebTestProxy.cpp &WebTestProxyBase::display, base::Unretained(this), callback))); base 118 content/shell/renderer/test_runner/WebTestProxy.h void display(base::Closure callback); base 119 content/shell/renderer/test_runner/WebTestProxy.h void displayAsyncThen(base::Closure callback); base 22 content/shell/renderer/test_runner/accessibility_controller.cc static void Install(base::WeakPtr<AccessibilityController> controller, base 27 content/shell/renderer/test_runner/accessibility_controller.cc base::WeakPtr<AccessibilityController> controller); base 41 content/shell/renderer/test_runner/accessibility_controller.cc base::WeakPtr<AccessibilityController> controller_; base 51 content/shell/renderer/test_runner/accessibility_controller.cc base::WeakPtr<AccessibilityController> controller, base 70 content/shell/renderer/test_runner/accessibility_controller.cc base::WeakPtr<AccessibilityController> controller) base 28 content/shell/renderer/test_runner/accessibility_controller.h public base::SupportsWeakPtr<AccessibilityController> { base 70 content/shell/renderer/test_runner/accessibility_controller.h base::WeakPtrFactory<AccessibilityController> weak_factory_; base 323 content/shell/renderer/test_runner/event_sender.cc static void Install(base::WeakPtr<EventSender> sender, base 327 content/shell/renderer/test_runner/event_sender.cc explicit EventSenderBindings(base::WeakPtr<EventSender> sender); base 418 content/shell/renderer/test_runner/event_sender.cc base::WeakPtr<EventSender> sender_; base 425 content/shell/renderer/test_runner/event_sender.cc EventSenderBindings::EventSenderBindings(base::WeakPtr<EventSender> sender) base 432 content/shell/renderer/test_runner/event_sender.cc void EventSenderBindings::Install(base::WeakPtr<EventSender> sender, base 1213 content/shell/renderer/test_runner/event_sender.cc std::string function_key_name = base::StringPrintf("F%d", i); base 49 content/shell/renderer/test_runner/event_sender.h class EventSender : public base::SupportsWeakPtr<EventSender> { base 269 content/shell/renderer/test_runner/event_sender.h base::WeakPtrFactory<EventSender> weak_factory_; base 28 content/shell/renderer/test_runner/gamepad_controller.cc static void Install(base::WeakPtr<GamepadController> controller, base 33 content/shell/renderer/test_runner/gamepad_controller.cc base::WeakPtr<GamepadController> controller); base 49 content/shell/renderer/test_runner/gamepad_controller.cc base::WeakPtr<GamepadController> controller_; base 59 content/shell/renderer/test_runner/gamepad_controller.cc base::WeakPtr<GamepadController> controller, base 76 content/shell/renderer/test_runner/gamepad_controller.cc base::WeakPtr<GamepadController> controller) base 21 content/shell/renderer/test_runner/gamepad_controller.h class GamepadController : public base::SupportsWeakPtr<GamepadController> { base 53 content/shell/renderer/test_runner/gamepad_controller.h base::WeakPtrFactory<GamepadController> weak_factory_; base 114 content/shell/renderer/test_runner/test_runner.cc static void Install(base::WeakPtr<TestRunner> controller, base 119 content/shell/renderer/test_runner/test_runner.cc base::WeakPtr<TestRunner> controller); base 267 content/shell/renderer/test_runner/test_runner.cc base::WeakPtr<TestRunner> runner_; base 276 content/shell/renderer/test_runner/test_runner.cc void TestRunnerBindings::Install(base::WeakPtr<TestRunner> runner, base 294 content/shell/renderer/test_runner/test_runner.cc TestRunnerBindings::TestRunnerBindings(base::WeakPtr<TestRunner> runner) base 2588 content/shell/renderer/test_runner/test_runner.cc proxy_->display(base::Closure()); base 2592 content/shell/renderer/test_runner/test_runner.cc proxy_->displayAsyncThen(base::Closure()); base 2598 content/shell/renderer/test_runner/test_runner.cc proxy_->displayAsyncThen(base::Bind(&TestRunner::InvokeCallback, base 2599 content/shell/renderer/test_runner/test_runner.cc base::Unretained(this), base 2600 content/shell/renderer/test_runner/test_runner.cc base::Passed(&task))); base 45 content/shell/renderer/test_runner/test_runner.h public base::SupportsWeakPtr<TestRunner> { base 703 content/shell/renderer/test_runner/test_runner.h base::WeakPtrFactory<TestRunner> weak_factory_; base 26 content/shell/renderer/test_runner/text_input_controller.cc static void Install(base::WeakPtr<TextInputController> controller, base 31 content/shell/renderer/test_runner/text_input_controller.cc base::WeakPtr<TextInputController> controller); base 49 content/shell/renderer/test_runner/text_input_controller.cc base::WeakPtr<TextInputController> controller_; base 59 content/shell/renderer/test_runner/text_input_controller.cc base::WeakPtr<TextInputController> controller, base 76 content/shell/renderer/test_runner/text_input_controller.cc base::WeakPtr<TextInputController> controller) base 24 content/shell/renderer/test_runner/text_input_controller.h class TextInputController : public base::SupportsWeakPtr<TextInputController> { base 49 content/shell/renderer/test_runner/text_input_controller.h base::WeakPtrFactory<TextInputController> weak_factory_; base 270 content/shell/renderer/test_runner/web_ax_object_proxy.cc value = base::StringPrintf("rgb %7.5f %7.5f %7.5f 1", base 674 content/shell/renderer/test_runner/web_ax_object_proxy.cc return base::StringPrintf("{%d, %d}", base 810 content/shell/renderer/test_runner/web_ax_object_proxy.cc return base::StringPrintf("{x: %d, y: %d, width: %d, height: %d}", base 838 content/shell/renderer/test_runner/web_ax_object_proxy.cc return base::StringPrintf("{%d, %d}", row_index, row_span); base 844 content/shell/renderer/test_runner/web_ax_object_proxy.cc return base::StringPrintf("{%d, %d}", column_index, column_span); base 275 content/shell/renderer/webkit_test_runner.cc base::MessageLoop::current()->PostDelayedTask( base 277 content/shell/renderer/webkit_test_runner.cc base::Bind(&WebTask::run, base::Owned(task)), base 278 content/shell/renderer/webkit_test_runner.cc base::TimeDelta::FromMilliseconds(ms)); base 283 content/shell/renderer/webkit_test_runner.cc std::vector<base::FilePath> files; base 285 content/shell/renderer/webkit_test_runner.cc files.push_back(base::FilePath::FromUTF16Unsafe(absolute_filenames[i])); base 293 content/shell/renderer/webkit_test_runner.cc return base::TimeDelta(base::Time::Now() - base 294 content/shell/renderer/webkit_test_runner.cc base::Time::UnixEpoch()).ToInternalValue() / base 295 content/shell/renderer/webkit_test_runner.cc base::Time::kMicrosecondsPerMillisecond; base 300 content/shell/renderer/webkit_test_runner.cc base::FilePath path = base::FilePath::FromUTF8Unsafe(utf8_path); base 311 content/shell/renderer/webkit_test_runner.cc base::FilePath local_path; base 320 content/shell/renderer/webkit_test_runner.cc base::Base64Encode(contents, &contents_base64); base 333 content/shell/renderer/webkit_test_runner.cc base::FilePath replace_path = base 337 content/shell/renderer/webkit_test_runner.cc std::string utf8_path = base::WideToUTF8(replace_path.value()); base 340 content/shell/renderer/webkit_test_runner.cc base::WideToUTF8(base::SysNativeMBToWide(replace_path.value())); base 385 content/shell/renderer/webkit_test_runner.cc return base::StringPrintf("<NSError domain %s, code %d, failing URL \"%s\">", base 667 content/shell/renderer/webkit_test_runner.cc base::MD5Digest digest; base 668 content/shell/renderer/webkit_test_runner.cc base::MD5Sum(snapshot.getPixels(), snapshot.getSize(), &digest); base 669 content/shell/renderer/webkit_test_runner.cc std::string actual_pixel_hash = base::MD5DigestToBase16(digest); base 684 content/shell/renderer/webkit_test_runner.cc base::MessageLoop::current()->PostTask( base 686 content/shell/renderer/webkit_test_runner.cc base::Bind(base::IgnoreResult(&WebKitTestRunner::Send), base 687 content/shell/renderer/webkit_test_runner.cc base::Unretained(this), base 734 content/shell/renderer/webkit_test_runner.cc base::MessageLoop::current()->PostTask( base 736 content/shell/renderer/webkit_test_runner.cc base::Bind(&WebKitTestRunner::TryLeakDetection, base::Unretained(this))); base 18 content/shell/tools/content_shell_crash_service.cc base::AtExitManager exit_manager; base 32 content/shell/tools/content_shell_crash_service.cc if (!crash_service.Initialize(base::FilePath(), base::FilePath())) base 1452 content/shell/tools/plugin/PluginObject.cpp object->firstUrl = base::strdup(url); base 1454 content/shell/tools/plugin/PluginObject.cpp object->firstHeaders = base::strdup(headers); base 1458 content/shell/tools/plugin/PluginObject.cpp object->lastUrl = (url ? base::strdup(url) : 0); base 1459 content/shell/tools/plugin/PluginObject.cpp object->lastHeaders = (headers ? base::strdup(headers) : 0); base 211 content/shell/tools/plugin/main.cpp obj->onStreamLoad = base::strdup(argv[i]); base 213 content/shell/tools/plugin/main.cpp obj->onStreamDestroy = base::strdup(argv[i]); base 215 content/shell/tools/plugin/main.cpp obj->onURLNotify = base::strdup(argv[i]); base 234 content/shell/tools/plugin/main.cpp obj->onSetWindow = base::strdup(argv[i]); base 238 content/shell/tools/plugin/main.cpp obj->onPaintEvent = base::strdup(argv[i]); base 250 content/shell/tools/plugin/main.cpp obj->onDestroy = base::strdup(argv[i]); base 280 content/shell/tools/plugin/main.cpp obj->evaluateScriptOnMouseDownOrKeyDown = base::strdup(script + sizeof("mouse::") - 1); base 282 content/shell/tools/plugin/main.cpp obj->evaluateScriptOnMouseDownOrKeyDown = base::strdup(script + sizeof("key::") - 1); base 31 content/test/accessibility_browser_test_utils.cc base::Bind(&AccessibilityNotificationWaiter::OnAccessibilityEvent, base 47 content/test/accessibility_browser_test_utils.cc base::Bind(&AccessibilityNotificationWaiter::OnAccessibilityEvent, base 55 content/test/accessibility_browser_test_utils.h base::WeakPtrFactory<AccessibilityNotificationWaiter> weak_factory_; base 32 content/test/appcache_test_helper.cc base::MessageLoop::current()->Quit(); base 52 content/test/appcache_test_helper.cc base::MessageLoop::current()->Run(); base 61 content/test/appcache_test_helper.cc base::Bind(&AppCacheTestHelper::OnGotAppCacheInfo, base 62 content/test/appcache_test_helper.cc base::Unretained(this))); base 65 content/test/appcache_test_helper.cc base::MessageLoop::current()->Run(); base 77 content/test/appcache_test_helper.cc base::MessageLoop::current()->Quit(); base 34 content/test/content_browser_test_test.cc base::string16 expected_title(base::ASCIIToUTF16("OK")); base 37 content/test/content_browser_test_test.cc base::string16 title = title_watcher.WaitAndGetTitle(); base 40 content/test/content_test_launcher.cc scoped_ptr<base::MessagePump> CreateMessagePumpForUI() { base 41 content/test/content_test_launcher.cc return scoped_ptr<base::MessagePump>(new NestedMessagePumpAndroid()); base 59 content/test/content_test_launcher.cc if (!base::MessageLoop::InitMessagePumpForUIFactory( base 111 content/test/content_test_launcher.cc CommandLine* command_line, const base::FilePath& temp_data_dir) OVERRIDE { base 131 content/test/content_test_launcher.cc int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); base 56 content/test/content_test_suite.cc base::FilePath pak_file; base 57 content/test/content_test_suite.cc PathService::Get(base::DIR_MODULE, &pak_file); base 71 content/test/content_test_suite.cc base::mac::ScopedNSAutoreleasePool autorelease_pool; base 27 content/test/content_test_suite.h base::win::ScopedCOMInitializer com_initializer_; base 41 content/test/fileapi_test_file_set.cc void SetUpOneFileSystemTestCase(const base::FilePath& root_path, base 43 content/test/fileapi_test_file_set.cc base::FilePath path = root_path.Append(test_case.path); base 45 content/test/fileapi_test_file_set.cc ASSERT_TRUE(base::CreateDirectory(path)); base 48 content/test/fileapi_test_file_set.cc base::File file(path, base 49 content/test/fileapi_test_file_set.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); base 52 content/test/fileapi_test_file_set.cc std::string content = base::RandBytesAsString(test_case.data_file_size); base 60 content/test/fileapi_test_file_set.cc void SetUpRegularFileSystemTestCases(const base::FilePath& root_path) { base 22 content/test/fileapi_test_file_set.h const base::FilePath::CharType path[64]; base 32 content/test/fileapi_test_file_set.h void SetUpOneFileSystemTestCase(const base::FilePath& root_path, base 36 content/test/fileapi_test_file_set.h void SetUpRegularFileSystemTestCases(const base::FilePath& root_path); base 29 content/test/image_decoder_test.cc bool ShouldSkipFile(const base::FilePath& path, base 36 content/test/image_decoder_test.cc base::GetFileSize(path, &image_size); base 42 content/test/image_decoder_test.cc void ReadFileToVector(const base::FilePath& path, std::vector<char>* contents) { base 44 content/test/image_decoder_test.cc base::ReadFileToString(path, &raw_image_data); base 49 content/test/image_decoder_test.cc base::FilePath GetMD5SumPath(const base::FilePath& path) { base 50 content/test/image_decoder_test.cc static const base::FilePath::StringType kDecodedDataExtension( base 52 content/test/image_decoder_test.cc return base::FilePath(path.value() + kDecodedDataExtension); base 56 content/test/image_decoder_test.cc void SaveMD5Sum(const base::FilePath& path, const blink::WebImage& web_image) { base 58 content/test/image_decoder_test.cc base::MD5Digest digest; base 60 content/test/image_decoder_test.cc base::MD5Sum(web_image.getSkBitmap().getPixels(), base 66 content/test/image_decoder_test.cc int bytes_written = base::WriteFile( base 75 content/test/image_decoder_test.cc const base::FilePath& path, base 76 content/test/image_decoder_test.cc const base::FilePath& md5_sum_path, base 85 content/test/image_decoder_test.cc base::MD5Digest actual_digest; base 88 content/test/image_decoder_test.cc base::MD5Sum(web_image.getSkBitmap().getPixels(), base 95 content/test/image_decoder_test.cc base::ReadFileToString(md5_sum_path, &file_bytes); base 96 content/test/image_decoder_test.cc base::MD5Digest expected_digest; base 108 content/test/image_decoder_test.cc base::FilePath data_dir; base 109 content/test/image_decoder_test.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir)); base 112 content/test/image_decoder_test.cc if (!base::PathExists(data_dir_)) { base 122 content/test/image_decoder_test.cc std::vector<base::FilePath> ImageDecoderTest::GetImageFiles() const { base 124 content/test/image_decoder_test.cc base::FileEnumerator enumerator(data_dir_, false, base 125 content/test/image_decoder_test.cc base::FileEnumerator::FILES); base 126 content/test/image_decoder_test.cc std::vector<base::FilePath> image_files; base 127 content/test/image_decoder_test.cc for (base::FilePath next_file_name = enumerator.Next(); base 129 content/test/image_decoder_test.cc base::FilePath base_name = next_file_name.BaseName(); base 131 content/test/image_decoder_test.cc std::string base_name_ascii = base::UTF16ToASCII(base_name.value()); base 142 content/test/image_decoder_test.cc bool ImageDecoderTest::ShouldImageFail(const base::FilePath& path) const { base 143 content/test/image_decoder_test.cc const base::FilePath::StringType kBadSuffix(FILE_PATH_LITERAL(".bad.")); base 155 content/test/image_decoder_test.cc const std::vector<base::FilePath> image_files(GetImageFiles()); base 156 content/test/image_decoder_test.cc for (std::vector<base::FilePath>::const_iterator i = image_files.begin(); base 164 content/test/image_decoder_test.cc const base::FilePath& image_path, base 165 content/test/image_decoder_test.cc const base::FilePath& md5_sum_path, base 37 content/test/image_decoder_test.h base::FilePath GetMD5SumPath(const base::FilePath& path); base 47 content/test/image_decoder_test.h std::vector<base::FilePath> GetImageFiles() const; base 50 content/test/image_decoder_test.h bool ShouldImageFail(const base::FilePath& path) const; base 55 content/test/image_decoder_test.h void TestWebKitImageDecoder(const base::FilePath& image_path, base 56 content/test/image_decoder_test.h const base::FilePath& md5_sum_path, base 77 content/test/image_decoder_test.h const base::FilePath& data_dir() const { return data_dir_; } base 81 content/test/image_decoder_test.h base::FilePath data_dir_; base 39 content/test/layouttest_support.cc base::LazyInstance<base::Callback<void(RenderView*, WebTestProxyBase*)> >::Leaky base 76 content/test/layouttest_support.cc const base::Callback<void(RenderView*, WebTestProxyBase*)>& callback) { base 20 content/test/mock_google_streaming_server.cc using base::HostToNet32; base 21 content/test/mock_google_streaming_server.cc using base::checked_cast; base 96 content/test/mock_google_streaming_server.cc proto_alternative->set_transcript(base::UTF16ToUTF8(hypothesis.utterance)); base 64 content/test/mock_webclipboard_impl.cc for (std::map<base::string16, base::string16>::const_iterator it = base 117 content/test/mock_webclipboard_impl.cc std::map<base::string16, base::string16>::const_iterator it = base 188 content/test/mock_webclipboard_impl.cc m_plainText = base::NullableString16(); base 189 content/test/mock_webclipboard_impl.cc m_htmlText = base::NullableString16(); base 56 content/test/mock_webclipboard_impl.h base::NullableString16 m_plainText; base 57 content/test/mock_webclipboard_impl.h base::NullableString16 m_htmlText; base 59 content/test/mock_webclipboard_impl.h std::map<base::string16, base::string16> m_customData; base 48 content/test/net/url_request_abort_on_end_job.cc base::Bind(AddUrlHandlerOnIOThread)); base 94 content/test/net/url_request_abort_on_end_job.cc base::MessageLoop::current()->PostTask( base 96 content/test/net/url_request_abort_on_end_job.cc base::Bind(&URLRequestAbortOnEndJob::StartAsync, base 46 content/test/net/url_request_abort_on_end_job.h base::WeakPtrFactory<URLRequestAbortOnEndJob> weak_factory_; base 26 content/test/net/url_request_failed_job.cc if (path[0] == '/' && base::StringToInt(path.c_str() + 1, &net_error)) { base 40 content/test/net/url_request_failed_job.cc return GURL(scheme + "://" + hostname + "/" + base::IntToString(net_error)); base 53 content/test/net/url_request_failed_job.cc base::MessageLoop::current()->PostTask( base 55 content/test/net/url_request_failed_job.cc base::Bind(&URLRequestFailedJob::StartAsync, weak_factory_.GetWeakPtr())); base 57 content/test/net/url_request_failed_job.h base::WeakPtrFactory<URLRequestFailedJob> weak_factory_; base 20 content/test/net/url_request_mock_http_job.cc const base::FilePath::CharType kMockHeaderFileSuffix[] = base 33 content/test/net/url_request_mock_http_job.cc explicit ProtocolHandler(const base::FilePath& base_path, base 48 content/test/net/url_request_mock_http_job.cc base::FilePath GetOnDiskPath(net::URLRequest* request) const { base 55 content/test/net/url_request_mock_http_job.cc base::FilePath file_path; base 60 content/test/net/url_request_mock_http_job.cc const base::FilePath base_path_; base 69 content/test/net/url_request_mock_http_job.cc void URLRequestMockHTTPJob::AddUrlHandler(const base::FilePath& base_path) { base 79 content/test/net/url_request_mock_http_job.cc const base::FilePath& file) { base 86 content/test/net/url_request_mock_http_job.cc GURL URLRequestMockHTTPJob::GetMockUrl(const base::FilePath& path) { base 97 content/test/net/url_request_mock_http_job.cc GURL URLRequestMockHTTPJob::GetMockViewSourceUrl(const base::FilePath& path) { base 106 content/test/net/url_request_mock_http_job.cc URLRequestMockHTTPJob::CreateProtocolHandler(const base::FilePath& base_path) { base 114 content/test/net/url_request_mock_http_job.cc const base::FilePath& file) { base 121 content/test/net/url_request_mock_http_job.cc const base::FilePath& file_path) base 126 content/test/net/url_request_mock_http_job.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)) {} base 148 content/test/net/url_request_mock_http_job.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 150 content/test/net/url_request_mock_http_job.cc base::FilePath header_file = base 151 content/test/net/url_request_mock_http_job.cc base::FilePath(file_path_.value() + kMockHeaderFileSuffix); base 153 content/test/net/url_request_mock_http_job.cc if (!base::PathExists(header_file)) { base 157 content/test/net/url_request_mock_http_job.cc if (!base::ReadFileToString(header_file, &raw_headers)) base 15 content/test/net/url_request_mock_http_job.h namespace base { base 25 content/test/net/url_request_mock_http_job.h const base::FilePath& file_path); base 35 content/test/net/url_request_mock_http_job.h static void AddUrlHandler(const base::FilePath& base_path); base 40 content/test/net/url_request_mock_http_job.h const base::FilePath& file); base 44 content/test/net/url_request_mock_http_job.h static GURL GetMockUrl(const base::FilePath& path); base 48 content/test/net/url_request_mock_http_job.h static GURL GetMockViewSourceUrl(const base::FilePath& path); base 55 content/test/net/url_request_mock_http_job.h CreateProtocolHandler(const base::FilePath& base_path); base 61 content/test/net/url_request_mock_http_job.h CreateProtocolHandlerForSingleFile(const base::FilePath& file); base 26 content/test/net/url_request_prepackaged_interceptor.cc const base::FilePath& file_path) base 31 content/test/net/url_request_prepackaged_interceptor.cc base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)) {} base 67 content/test/net/url_request_prepackaged_interceptor.cc const base::FilePath& path, base 72 content/test/net/url_request_prepackaged_interceptor.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 73 content/test/net/url_request_prepackaged_interceptor.cc EXPECT_TRUE(base::PathExists(path)); base 83 content/test/net/url_request_prepackaged_interceptor.cc base::AutoLock auto_lock(hit_count_lock_); base 88 content/test/net/url_request_prepackaged_interceptor.cc typedef std::map<GURL, base::FilePath> ResponseMap; base 114 content/test/net/url_request_prepackaged_interceptor.cc base::AutoLock auto_lock(hit_count_lock_); base 129 content/test/net/url_request_prepackaged_interceptor.cc mutable base::Lock hit_count_lock_; base 143 content/test/net/url_request_prepackaged_interceptor.cc base::Bind(&Delegate::Register, base 144 content/test/net/url_request_prepackaged_interceptor.cc base::Unretained(delegate_))); base 149 content/test/net/url_request_prepackaged_interceptor.cc base::Bind(&Delegate::Unregister, base 156 content/test/net/url_request_prepackaged_interceptor.cc const base::FilePath& path) { base 160 content/test/net/url_request_prepackaged_interceptor.cc base::Bind(&Delegate::SetResponse, base 161 content/test/net/url_request_prepackaged_interceptor.cc base::Unretained(delegate_), url, path, base 167 content/test/net/url_request_prepackaged_interceptor.cc const base::FilePath& path) { base 171 content/test/net/url_request_prepackaged_interceptor.cc base::Bind(&Delegate::SetResponse, base 172 content/test/net/url_request_prepackaged_interceptor.cc base::Unretained(delegate_), url, path, base 14 content/test/net/url_request_prepackaged_interceptor.h namespace base { base 34 content/test/net/url_request_prepackaged_interceptor.h void SetResponse(const GURL& url, const base::FilePath& path); base 38 content/test/net/url_request_prepackaged_interceptor.h void SetResponseIgnoreQuery(const GURL& url, const base::FilePath& path); base 36 content/test/net/url_request_slow_download_job.cc base::LazyInstance<URLRequestSlowDownloadJob::SlowJobsSet>::Leaky base 40 content/test/net/url_request_slow_download_job.cc base::MessageLoop::current()->PostTask( base 42 content/test/net/url_request_slow_download_job.cc base::Bind(&URLRequestSlowDownloadJob::StartAsync, base 189 content/test/net/url_request_slow_download_job.cc base::MessageLoop::current()->PostDelayedTask( base 191 content/test/net/url_request_slow_download_job.cc base::Bind(&URLRequestSlowDownloadJob::CheckDoneStatus, base 193 content/test/net/url_request_slow_download_job.cc base::TimeDelta::FromMilliseconds(100)); base 219 content/test/net/url_request_slow_download_job.cc base::MessageLoop::current()->PostDelayedTask( base 221 content/test/net/url_request_slow_download_job.cc base::Bind(&URLRequestSlowDownloadJob::CheckDoneStatus, base 223 content/test/net/url_request_slow_download_job.cc base::TimeDelta::FromMilliseconds(100)); base 257 content/test/net/url_request_slow_download_job.cc raw_headers.append(base::StringPrintf( base 87 content/test/net/url_request_slow_download_job.h static base::LazyInstance<SlowJobsSet>::Leaky pending_requests_; base 100 content/test/net/url_request_slow_download_job.h base::WeakPtrFactory<URLRequestSlowDownloadJob> weak_factory_; base 51 content/test/plugin/plugin_arguments_test.cc std::string arg_name = base::StringPrintf("%s%d", "val", index); base 92 content/test/plugin/plugin_client.cc if (base::strcasecmp(argn[name_index], "name") == 0) { base 82 content/test/plugin/plugin_geturl_test.cc if (!base::strcasecmp(GetArgValue("name", argc, argn, argv), base 209 content/test/plugin/plugin_geturl_test.cc base::FilePath path = base::FilePath(base::ASCIIToWide(filename)); base 212 content/test/plugin/plugin_geturl_test.cc base::FilePath path = base::FilePath(filename); base 215 content/test/plugin/plugin_geturl_test.cc test_file_ = base::OpenFile(path, "r"); base 359 content/test/plugin/plugin_geturl_test.cc base::CloseFile(test_file_); base 422 content/test/plugin/plugin_geturl_test.cc err.append(base::IntToString(reason)); base 460 content/test/plugin/plugin_geturl_test.cc if (!base::strcasecmp(url, base 10 content/test/plugin/plugin_schedule_timer_test.cc using base::Time; base 56 content/test/plugin/plugin_schedule_timer_test.h base::Time start_time_; base 113 content/test/plugin/plugin_test.cc if (base::strcasecmp(argn[idx], name) == 0) base 151 content/test/plugin/plugin_test.cc err.append(base::IntToString(val1)); base 153 content/test/plugin/plugin_test.cc err.append(base::IntToString(val2)); base 57 content/test/plugin/plugin_thread_async_call_test.cc if (base::strcasecmp(argn[i], "short_lived") == 0) { base 58 content/test/plugin/plugin_thread_async_call_test.cc if (base::strcasecmp(argv[i], "true") == 0) { base 72 content/test/plugin/plugin_thread_async_call_test.cc at_exit_manager_ = new base::ShadowingAtExitManager(); base 73 content/test/plugin/plugin_thread_async_call_test.cc base::Thread random_thread("random_thread"); base 76 content/test/plugin/plugin_thread_async_call_test.cc FROM_HERE, base::Bind(&PluginThreadAsyncCallTest::AsyncCall, base 77 content/test/plugin/plugin_thread_async_call_test.cc base::Unretained(this))); base 10 content/test/plugin/plugin_thread_async_call_test.h namespace base { base 34 content/test/plugin/plugin_thread_async_call_test.h base::ShadowingAtExitManager* at_exit_manager_; base 215 content/test/plugin/plugin_windowless_test.cc point_string.append(base::IntToString(x)); base 217 content/test/plugin/plugin_windowless_test.cc point_string.append(base::IntToString(y)); base 78 content/test/ppapi_unittest.cc message_loop_.reset(new base::MessageLoop()); base 81 content/test/ppapi_unittest.cc module_ = new PluginModule("Mock plugin", base::FilePath(), base 13 content/test/ppapi_unittest.h namespace base { base 48 content/test/ppapi_unittest.h scoped_ptr<base::MessageLoop> message_loop_; base 17 content/test/run_all_perftests.cc return base::LaunchUnitTestsSerially( base 18 content/test/run_all_perftests.cc argc, argv, base::Bind(&content::UnitTestTestSuite::Run, base 19 content/test/run_all_perftests.cc base::Unretained(&test_suite))); base 14 content/test/run_all_unittests.cc return base::LaunchUnitTests( base 15 content/test/run_all_unittests.cc argc, argv, base::Bind(&content::UnitTestTestSuite::Run, base 16 content/test/run_all_unittests.cc base::Unretained(&test_suite))); base 23 content/test/test_backing_store.cc const base::Closure& completion_callback, base 26 content/test/test_backing_store.h const base::Closure& completion_callback, base 33 content/test/test_content_browser_client.cc base::FilePath TestContentBrowserClient::GetDefaultDownloadDirectory() { base 26 content/test/test_content_browser_client.h virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; base 30 content/test/test_content_browser_client.h base::ScopedTempDir download_dir_; base 19 content/test/test_content_client.cc base::FilePath content_resources_pack_path; base 22 content/test/test_content_client.cc PathService::Get(base::DIR_ANDROID_APP_DATA, &content_resources_pack_path); base 26 content/test/test_content_client.cc PathService::Get(base::DIR_MODULE, &content_resources_pack_path); base 41 content/test/test_content_client.cc base::StringPiece TestContentClient::GetDataResource( base 44 content/test/test_content_client.cc base::StringPiece resource; base 24 content/test/test_content_client.h virtual base::StringPiece GetDataResource( base 51 content/test/test_media_stream_client.cc const base::Closure& error_cb, base 58 content/test/test_media_stream_client.cc base::TimeDelta::FromMilliseconds(kVideoCaptureFrameDurationMs), base 27 content/test/test_media_stream_client.h const base::Closure& error_cb, base 76 content/test/test_render_frame_host.cc const base::FilePath& file_path) { base 93 content/test/test_render_frame_host.cc const base::FilePath* file_path_for_history_item) { base 43 content/test/test_render_frame_host.h const base::FilePath& file_path); base 52 content/test/test_render_frame_host.h const base::FilePath* file_path_for_history_item); base 92 content/test/test_render_view_host.cc void TestRenderWidgetHostView::RenderProcessGone(base::TerminationStatus status, base 111 content/test/test_render_view_host.cc const base::Callback<void(bool, const SkBitmap&)>& callback, base 119 content/test/test_render_view_host.cc const base::Callback<void(bool)>& callback) { base 255 content/test/test_render_view_host.cc const base::string16& frame_name, base 298 content/test/test_render_view_host.cc const base::FilePath& file_path) { base 322 content/test/test_render_view_host.cc const base::FilePath* file_path_for_history_item) { base 331 content/test/test_render_view_host.cc base::TimeTicks now = base::TimeTicks::Now(); base 362 content/test/test_render_view_host.cc const base::FilePath& file_path) { base 118 content/test/test_render_view_host.h virtual void RenderProcessGone(base::TerminationStatus status, base 122 content/test/test_render_view_host.h virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} base 133 content/test/test_render_view_host.h const base::Callback<void(bool, const SkBitmap&)>& callback, base 138 content/test/test_render_view_host.h const base::Callback<void(bool)>& callback) OVERRIDE; base 263 content/test/test_render_view_host.h int page_id, const GURL& url, const base::FilePath& file_path); base 269 content/test/test_render_view_host.h int process_id, const base::FilePath& file_path); base 321 content/test/test_render_view_host.h virtual bool CreateRenderView(const base::string16& frame_name, base 344 content/test/test_render_view_host.h const base::FilePath* file_path_for_history_item); base 16 content/test/test_video_frame_provider.cc const base::TimeDelta& frame_duration, base 17 content/test/test_video_frame_provider.cc const base::Closure& error_cb, base 19 content/test/test_video_frame_provider.cc : message_loop_proxy_(base::MessageLoopProxy::current()), base 35 content/test/test_video_frame_provider.cc base::Bind(&TestVideoFrameProvider::GenerateFrame, this)); base 79 content/test/test_video_frame_provider.cc base::Bind(&TestVideoFrameProvider::GenerateFrame, this), base 12 content/test/test_video_frame_provider.h namespace base { base 27 content/test/test_video_frame_provider.h const base::TimeDelta& frame_duration, base 28 content/test/test_video_frame_provider.h const base::Closure& error_cb, base 49 content/test/test_video_frame_provider.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 53 content/test/test_video_frame_provider.h base::TimeDelta current_time_; base 54 content/test/test_video_frame_provider.h base::TimeDelta frame_duration_; base 55 content/test/test_video_frame_provider.h base::Closure error_cb_; base 105 content/test/test_web_contents.cc render_view_host)->CreateRenderView(base::string16(), base 218 content/test/test_web_contents.cc const base::string16& error_description) { base 100 content/test/test_web_contents.h const base::string16& error_description); base 47 content/test/test_web_contents_view.cc void TestWebContentsView::OnTabCrashed(base::TerminationStatus status, base 104 content/test/test_web_contents_view.cc void TestWebContentsView::SetPageTitle(const base::string16& title) { base 35 content/test/test_web_contents_view.h virtual void OnTabCrashed(base::TerminationStatus status, base 59 content/test/test_web_contents_view.h virtual void SetPageTitle(const base::string16& title) OVERRIDE; base 46 content/test/test_webkit_platform_support.cc v8::V8::SetCounterFunction(base::StatsTable::FindLocation); base 65 content/test/test_webkit_platform_support.cc base::FilePath module_path; base 66 content/test/test_webkit_platform_support.cc if (PathService::Get(base::DIR_MODULE, &module_path)) { base 68 content/test/test_webkit_platform_support.cc if (base::mac::AmIBundled()) base 157 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("<<OtherDateLabel>>"); base 159 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("<<OtherMonthLabel>>"); base 161 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("<<OtherTimeLabel>>"); base 163 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("<<OtherWeekLabel>>"); base 165 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("<<CalendarClear>>"); base 167 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("<<CalendarToday>>"); base 169 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("<<ThisMonthLabel>>"); base 171 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("<<ThisWeekLabel>>"); base 173 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("Week $2, $1"); base 183 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("range underflow"); base 185 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("range overflow"); base 194 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("too long"); base 196 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("step mismatch"); base 201 content/test/test_webkit_platform_support.cc return base::ASCIIToUTF16("en-US"); base 257 content/test/test_webkit_platform_support.cc base::FilePath path; base 258 content/test/test_webkit_platform_support.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 260 content/test/test_webkit_platform_support.cc path = base::MakeAbsoluteFilePath(path); base 284 content/test/test_webkit_platform_support.cc base::FilePath file_path = base::FilePath::FromUTF16Unsafe(path); base 287 content/test/test_webkit_platform_support.cc base::ReadFileToString(file_path, &buffer); base 62 content/test/test_webkit_platform_support.h const base::FilePath& file_system_root() const { base 93 content/test/test_webkit_platform_support.h base::ScopedTempDir file_system_root_; base 66 content/test/web_layer_tree_view_impl_for_testing.h virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE {} base 39 content/test/webkit_support.cc base::StringTokenizer t(channels, ", "); base 54 content/test/webkit_support.cc typedef base::MessageLoop MessageLoopType; base 56 content/test/webkit_support.cc typedef base::MessageLoopForUI MessageLoopType; base 66 content/test/webkit_support.cc base::FilePath pak_file; base 67 content/test/webkit_support.cc PathService::Get(base::DIR_MODULE, &pak_file); base 99 content/test/webkit_support.cc JNIEnv* env = base::android::AttachCurrentThread(); base 117 content/test/webkit_support.cc base::RunLoop().RunUntilIdle(); base 64 content/test/webrtc_content_browsertest_base.cc return base::StringPrintf( base 7 content/test/webrtc_content_browsertest_base.h namespace base { base 16 content/test/webrtc_content_browsertest_base.h virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; base 26 content/test/webui_resource_browsertest.cc void RunTest(const base::FilePath& file) { base 35 content/test/webui_resource_browsertest.cc void RunMediaInternalsTest(const base::FilePath::CharType* file) { base 39 content/test/webui_resource_browsertest.cc base::FilePath path; base 40 content/test/weburl_loader_mock_factory.cc base::FilePath(static_cast<std::string>(file_path.utf8())); base 42 content/test/weburl_loader_mock_factory.cc base::string16 file_path_16 = file_path; base 43 content/test/weburl_loader_mock_factory.cc response_info.file_path = base::FilePath(std::wstring( base 46 content/test/weburl_loader_mock_factory.cc DCHECK(base::PathExists(response_info.file_path)) base 107 content/test/weburl_loader_mock_factory.cc base::RunLoop().RunUntilIdle(); base 176 content/test/weburl_loader_mock_factory.cc bool WebURLLoaderMockFactory::ReadFile(const base::FilePath& file_path, base 179 content/test/weburl_loader_mock_factory.cc if (!base::GetFileSize(file_path, &file_size)) base 185 content/test/weburl_loader_mock_factory.cc int read_count = base::ReadFile(file_path, buffer.get(), size); base 80 content/test/weburl_loader_mock_factory.h base::FilePath file_path; base 96 content/test/weburl_loader_mock_factory.h static bool ReadFile(const base::FilePath& file_path, blink::WebData* data); base 14 content/utility/in_process_utility_thread.cc static base::LazyInstance<base::Lock> g_one_utility_thread_lock; base 27 content/utility/in_process_utility_thread.cc base::MessageLoop::current()->PostTask( base 29 content/utility/in_process_utility_thread.cc base::Bind(&InProcessUtilityThread::InitInternal, base 30 content/utility/in_process_utility_thread.cc base::Unretained(this))); base 47 content/utility/in_process_utility_thread.cc base::Thread* CreateInProcessUtilityThread(const std::string& channel_id) { base 17 content/utility/in_process_utility_thread.h class InProcessUtilityThread : public base::Thread { base 35 content/utility/in_process_utility_thread.h CONTENT_EXPORT base::Thread* CreateInProcessUtilityThread( base 32 content/utility/utility_main.cc base::MessageLoop main_message_loop; base 33 content/utility/utility_main.cc base::PlatformThread::SetName("CrUtilityMain"); base 73 content/utility/utility_main.cc base::HighResolutionTimerManager hi_res_timer_manager; base 86 content/utility/utility_main.cc base::MessageLoop::current()->Run(); base 127 content/utility/utility_thread_impl.cc const std::vector<base::FilePath>& plugin_paths) { base 17 content/utility/utility_thread_impl.h namespace base { base 52 content/utility/utility_thread_impl.h void OnLoadPlugins(const std::vector<base::FilePath>& plugin_paths); base 23 content/worker/websharedworker_stub.cc const base::string16& name, base 24 content/worker/websharedworker_stub.cc const base::string16& content_security_policy, base 95 content/worker/websharedworker_stub.cc base::MessageLoopProxy::current().get()); base 30 content/worker/websharedworker_stub.h const base::string16& name, base 31 content/worker/websharedworker_stub.h const base::string16& content_security_policy, base 132 content/worker/websharedworkerclient_proxy.cc base::MessageLoop::current()->PostDelayedTask( base 134 content/worker/websharedworkerclient_proxy.cc base::Bind(&WebSharedWorkerClientProxy::workerContextDestroyed, base 136 content/worker/websharedworkerclient_proxy.cc base::TimeDelta::FromSeconds(kMaxTimeForRunawayWorkerSeconds)); base 66 content/worker/websharedworkerclient_proxy.h base::WeakPtrFactory<WebSharedWorkerClientProxy> weak_factory_; base 30 content/worker/worker_main.cc base::MessageLoop main_message_loop; base 31 content/worker/worker_main.cc base::PlatformThread::SetName("CrWorkerMain"); base 32 content/worker/worker_main.cc base::debug::TraceLog::GetInstance()->SetProcessName("Shared Web Worker"); base 60 content/worker/worker_main.cc base::HighResolutionTimerManager hi_res_timer_manager; base 69 content/worker/worker_main.cc base::MessageLoop::current()->Run(); base 32 content/worker/worker_thread.cc static base::LazyInstance<base::ThreadLocalPointer<WorkerThread> > lazy_tls = base 64 content/worker/worker_webkitplatformsupport_impl.cc base::File::Info file_info; base 65 content/worker/worker_webkitplatformsupport_impl.cc base::File::Error status; base 68 content/worker/worker_webkitplatformsupport_impl.cc base::FilePath::FromUTF16Unsafe(path), &file_info, &status)) || base 69 content/worker/worker_webkitplatformsupport_impl.cc status != base::File::FILE_OK) { base 84 content/worker/worker_webkitplatformsupport_impl.cc child_thread_loop_(base::MessageLoopProxy::current()), base 274 content/worker/worker_webkitplatformsupport_impl.cc base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type)); base 275 content/worker/worker_webkitplatformsupport_impl.cc return base::ASCIIToUTF16(mime_type); base 282 content/worker/worker_webkitplatformsupport_impl.cc base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type); base 283 content/worker/worker_webkitplatformsupport_impl.cc return base::ASCIIToUTF16(mime_type); base 291 content/worker/worker_webkitplatformsupport_impl.cc base::FilePath::FromUTF16Unsafe(file_path), base 293 content/worker/worker_webkitplatformsupport_impl.cc return base::ASCIIToUTF16(mime_type); base 13 content/worker/worker_webkitplatformsupport_impl.h namespace base { base 117 content/worker/worker_webkitplatformsupport_impl.h scoped_refptr<base::MessageLoopProxy> child_thread_loop_; base 44 content/zygote/zygote_linux.cc int LookUpFd(const base::GlobalDescriptors::Mapping& fd_mapping, uint32_t key) { base 109 content/zygote/zygote_linux.cc bool Zygote::GetProcessInfo(base::ProcessHandle pid, base 180 content/zygote/zygote_linux.cc base::ProcessId child; base 204 content/zygote/zygote_linux.cc base::EnsureProcessTerminated(child_info.internal_pid); base 215 content/zygote/zygote_linux.cc base::TerminationStatus status; base 224 content/zygote/zygote_linux.cc bool Zygote::GetTerminationStatus(base::ProcessHandle real_pid, base 226 content/zygote/zygote_linux.cc base::TerminationStatus* status, base 237 content/zygote/zygote_linux.cc const base::ProcessHandle child = child_info.internal_pid; base 247 content/zygote/zygote_linux.cc *status = base::GetKnownDeadTerminationStatus(child, exit_code); base 251 content/zygote/zygote_linux.cc *status = base::GetTerminationStatus(child, exit_code); base 255 content/zygote/zygote_linux.cc if (*status != base::TERMINATION_STATUS_STILL_RUNNING) { base 266 content/zygote/zygote_linux.cc base::ProcessHandle child_requested; base 275 content/zygote/zygote_linux.cc base::TerminationStatus status; base 284 content/zygote/zygote_linux.cc status = base::TERMINATION_STATUS_NORMAL_TERMINATION; base 298 content/zygote/zygote_linux.cc const base::GlobalDescriptors::Mapping& fd_mapping, base 310 content/zygote/zygote_linux.cc base::ProcessId pid = 0; base 317 content/zygote/zygote_linux.cc if (!base::FileDescriptorGetInode(&dummy_inode, dummy_fd)) { base 345 content/zygote/zygote_linux.cc base::ProcessId real_pid; base 350 content/zygote/zygote_linux.cc if (!base::ReadFromFD(pipe_fds[0], reinterpret_cast<char*>(&real_pid), base 363 content/zygote/zygote_linux.cc base::debug::TraceLog::GetInstance()->SetProcessID( base 375 content/zygote/zygote_linux.cc base::ProcessId real_pid; base 444 content/zygote/zygote_linux.cc base::ProcessId Zygote::ReadArgsAndFork(const Pickle& pickle, base 453 content/zygote/zygote_linux.cc base::GlobalDescriptors::Mapping mapping; base 479 content/zygote/zygote_linux.cc base::GlobalDescriptors::Key key; base 489 content/zygote/zygote_linux.cc base::ProcessId child_pid = ForkWithRealPid(process_type, mapping, channel_id, base 498 content/zygote/zygote_linux.cc base::GlobalDescriptors::GetInstance()->Reset(mapping); base 523 content/zygote/zygote_linux.cc base::ProcessId child_pid = ReadArgsAndFork(pickle, iter, fds, base 37 content/zygote/zygote_linux.h base::ProcessHandle internal_pid; base 42 content/zygote/zygote_linux.h typedef base::SmallMap< std::map<base::ProcessHandle, ZygoteProcessInfo> > base 48 content/zygote/zygote_linux.h bool GetProcessInfo(base::ProcessHandle pid, base 67 content/zygote/zygote_linux.h bool GetTerminationStatus(base::ProcessHandle real_pid, bool known_dead, base 68 content/zygote/zygote_linux.h base::TerminationStatus* status, base 81 content/zygote/zygote_linux.h const base::GlobalDescriptors::Mapping& fd_mapping, base 90 content/zygote/zygote_linux.h base::ProcessId ReadArgsAndFork(const Pickle& pickle, base 295 content/zygote/zygote_main_linux.cc base::NativeLibraryLoadError error; base 296 content/zygote/zygote_main_linux.cc base::NativeLibrary library = base::LoadNativeLibrary(plugins[i].path, base 311 content/zygote/zygote_main_linux.cc base::RandUint64(); base 313 content/zygote/zygote_main_linux.cc base::SysInfo::AmountOfPhysicalMemory(); base 314 content/zygote/zygote_main_linux.cc base::SysInfo::MaxSharedMemorySize(); base 315 content/zygote/zygote_main_linux.cc base::SysInfo::NumberOfProcessors(); base 354 content/zygote/zygote_main_linux.cc base::Closure zygoteid_fd_closer = base 355 content/zygote/zygote_main_linux.cc base::Bind(CloseFdAndHandleEintr, kZygoteIdFd); base 82 courgette/adjustment_method.cc base::StringAppendF(&s, "%c%d", "pm"[info->is_model_], info->debug_index_); base 84 courgette/adjustment_method.cc base::StringAppendF(&s, " (%d)", info->label_->index_); base 86 courgette/adjustment_method.cc base::StringAppendF(&s, " #%u", info->refs_); base 172 courgette/adjustment_method.cc s += base::StringPrintf("%u", node->count_); base 174 courgette/adjustment_method.cc s += base::Uint64ToString(node->edges_in_frequency_order.size()); base 203 courgette/adjustment_method_2.cc base::StringAppendF(&s, "%c%d", "pm"[info->is_model_], info->debug_index_); base 205 courgette/adjustment_method_2.cc base::StringAppendF(&s, " (%d)", info->label_->index_); base 207 courgette/adjustment_method_2.cc base::StringAppendF(&s, " #%u", info->refs_); base 439 courgette/adjustment_method_2.cc base::StringAppendF(&s, ">(%" PRIuS ")@{%d}", base 527 courgette/adjustment_method_2.cc base::StringAppendF(&s, "<%d: ", index->variables_); base 535 courgette/adjustment_method_2.cc base::StringAppendF(&s, "V%d", offset); base 537 courgette/adjustment_method_2.cc base::StringAppendF(&s, "%d", index->assigned_indexes_[offset]); base 539 courgette/adjustment_method_2.cc base::StringAppendF(&s, " %x", index->hash_); base 557 courgette/adjustment_method_2.cc base::StringAppendF(&s, " %d", p->count()); base 577 courgette/adjustment_method_2.cc base::StringAppendF(&s, "(%d) ", p->count()); base 591 courgette/adjustment_method_2.cc base::StringAppendF(&s, "; %d(%d):", base 596 courgette/adjustment_method_2.cc base::StringAppendF(&s, "; %d(%d):", base 612 courgette/adjustment_method_2.cc base::StringAppendF(&s, " model shingles %" PRIuS "\n", model_size); base 614 courgette/adjustment_method_2.cc base::StringAppendF(&s, " program shingles %" PRIuS "\n", program_size); base 1269 courgette/adjustment_method_2.cc base::Time start_time = base::Time::Now(); base 1273 courgette/adjustment_method_2.cc << (base::Time::Now() - start_time).InSecondsF(); base 11 courgette/base_test_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &test_dir_)); base 21 courgette/base_test_unittest.cc base::FilePath file_path = test_dir_; base 25 courgette/base_test_unittest.cc EXPECT_TRUE(base::ReadFileToString(file_path, &file_bytes)); base 26 courgette/base_test_unittest.h base::FilePath test_dir_; base 83 courgette/courgette.h Status ApplyEnsemblePatch(const base::FilePath::CharType* old_file_name, base 84 courgette/courgette.h const base::FilePath::CharType* patch_file_name, base 85 courgette/courgette.h const base::FilePath::CharType* new_file_name); base 50 courgette/courgette_tool.cc std::string ReadOrFail(const base::FilePath& file_name, const char* kind) { base 52 courgette/courgette_tool.cc if (!base::GetFileSize(file_name, &file_size)) base 56 courgette/courgette_tool.cc if (!base::ReadFileToString(file_name, &buffer)) base 62 courgette/courgette_tool.cc const base::FilePath& output_file) { base 64 courgette/courgette_tool.cc base::WriteFile(output_file, base 73 courgette/courgette_tool.cc void Disassemble(const base::FilePath& input_file, base 74 courgette/courgette_tool.cc const base::FilePath& output_file) { base 109 courgette/courgette_tool.cc bool Supported(const base::FilePath& input_file) { base 154 courgette/courgette_tool.cc void DisassembleAndAdjust(const base::FilePath& program_file, base 155 courgette/courgette_tool.cc const base::FilePath& model_file, base 156 courgette/courgette_tool.cc const base::FilePath& output_file) { base 209 courgette/courgette_tool.cc void DisassembleAdjustDiff(const base::FilePath& model_file, base 210 courgette/courgette_tool.cc const base::FilePath& program_file, base 211 courgette/courgette_tool.cc const base::FilePath& output_file_root, base 281 courgette/courgette_tool.cc std::string append = std::string("-") + base::IntToString(i); base 288 courgette/courgette_tool.cc void Assemble(const base::FilePath& input_file, base 289 courgette/courgette_tool.cc const base::FilePath& output_file) { base 310 courgette/courgette_tool.cc void GenerateEnsemblePatch(const base::FilePath& old_file, base 311 courgette/courgette_tool.cc const base::FilePath& new_file, base 312 courgette/courgette_tool.cc const base::FilePath& patch_file) { base 330 courgette/courgette_tool.cc void ApplyEnsemblePatch(const base::FilePath& old_file, base 331 courgette/courgette_tool.cc const base::FilePath& patch_file, base 332 courgette/courgette_tool.cc const base::FilePath& new_file) { base 387 courgette/courgette_tool.cc void GenerateBSDiffPatch(const base::FilePath& old_file, base 388 courgette/courgette_tool.cc const base::FilePath& new_file, base 389 courgette/courgette_tool.cc const base::FilePath& patch_file) { base 407 courgette/courgette_tool.cc void ApplyBSDiffPatch(const base::FilePath& old_file, base 408 courgette/courgette_tool.cc const base::FilePath& patch_file, base 409 courgette/courgette_tool.cc const base::FilePath& new_file) { base 428 courgette/courgette_tool.cc base::AtExitManager at_exit_manager; base 449 courgette/courgette_tool.cc std::vector<base::FilePath> values; base 452 courgette/courgette_tool.cc values.push_back(base::FilePath(args[i])); base 460 courgette/courgette_tool.cc if (!base::StringToInt(repeat_switch, &repeat_count)) base 55 courgette/difference_estimator.cc base::hash_set<size_t> hashes_; base 83 courgette/difference_estimator.cc Base* base = new Base(region); base 84 courgette/difference_estimator.cc base->Init(); base 85 courgette/difference_estimator.cc owned_bases_.push_back(base); base 86 courgette/difference_estimator.cc return base; base 96 courgette/difference_estimator.cc size_t DifferenceEstimator::Measure(Base* base, Subject* subject) { base 104 courgette/difference_estimator.cc if (base->hashes_.find(hash) == base->hashes_.end()) { base 111 courgette/difference_estimator.cc if (RegionsEqual(base->region(), subject->region())) base 48 courgette/difference_estimator.h size_t Measure(Base* base, Subject* subject); base 20 courgette/difference_estimator_unittest.cc DifferenceEstimator::Base* base = base 24 courgette/difference_estimator_unittest.cc EXPECT_EQ(0U, difference_estimator.Measure(base, subject)); base 31 courgette/difference_estimator_unittest.cc DifferenceEstimator::Base* base = base 35 courgette/difference_estimator_unittest.cc EXPECT_EQ(10U, difference_estimator.Measure(base, subject)); base 42 courgette/difference_estimator_unittest.cc DifferenceEstimator::Base* base = base 46 courgette/difference_estimator_unittest.cc EXPECT_EQ(1U, difference_estimator.Measure(base, subject)); base 53 courgette/difference_estimator_unittest.cc DifferenceEstimator::Base* base = base 57 courgette/difference_estimator_unittest.cc EXPECT_EQ(1U, difference_estimator.Measure(base, subject)); base 299 courgette/encoded_program.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 304 courgette/encoded_program.cc wcstoul(base::ASCIIToWide(s).c_str(), 0, 0)); base 33 courgette/encoded_program.h void set_image_base(uint64 base) { image_base_ = base; } base 206 courgette/encoded_program_fuzz_unittest.cc return base::TestSuite(argc, argv).Run(); base 17 courgette/encoded_program_unittest.cc uint32 base = 0x00900000; base 18 courgette/encoded_program_unittest.cc program->set_image_base(base); base 26 courgette/ensemble.cc + base::IntToString(kind()) + "," base 27 courgette/ensemble.cc + base::Uint64ToString(offset_in_ensemble()) + "," base 28 courgette/ensemble.cc + base::Uint64ToString(region().length()) + ")"; base 307 courgette/ensemble_apply.cc Status ApplyEnsemblePatch(SourceStream* base, base 317 courgette/ensemble_apply.cc status = patch_process.InitBase(Region(base->Buffer(), base->Remaining())); base 381 courgette/ensemble_apply.cc Status ApplyEnsemblePatch(const base::FilePath::CharType* old_file_name, base 382 courgette/ensemble_apply.cc const base::FilePath::CharType* patch_file_name, base 383 courgette/ensemble_apply.cc const base::FilePath::CharType* new_file_name) { base 386 courgette/ensemble_apply.cc base::FilePath patch_file_path(patch_file_name); base 387 courgette/ensemble_apply.cc base::MemoryMappedFile patch_file; base 400 courgette/ensemble_apply.cc base::FilePath old_file_path(old_file_name); base 401 courgette/ensemble_apply.cc base::MemoryMappedFile old_file; base 417 courgette/ensemble_apply.cc base::FilePath new_file_path(new_file_name); base 419 courgette/ensemble_apply.cc base::WriteFile( base 144 courgette/ensemble_create.cc base::Time start_find_time = base::Time::Now(); base 148 courgette/ensemble_create.cc << (base::Time::Now() - start_find_time).InSecondsF(); base 159 courgette/ensemble_create.cc base::Time start_bases_time = base::Time::Now(); base 165 courgette/ensemble_create.cc << (base::Time::Now() - start_bases_time).InSecondsF() << "s"; base 194 courgette/ensemble_create.cc base::Time start_compare = base::Time::Now(); base 201 courgette/ensemble_create.cc << " in " << (base::Time::Now() - start_compare).InSecondsF() base 228 courgette/ensemble_create.cc << " in " << (base::Time::Now() - start_find_time).InSecondsF() base 243 courgette/ensemble_create.cc Status GenerateEnsemblePatch(SourceStream* base, base 247 courgette/ensemble_create.cc base::Time start_time = base::Time::Now(); base 249 courgette/ensemble_create.cc Region old_region(base->Buffer(), base->Remaining()); base 395 courgette/ensemble_create.cc if (!predicted_ensemble.Write(base->Buffer(), base->Remaining())) base 450 courgette/ensemble_create.cc << (base::Time::Now() - start_time).InSecondsF() << "s"; base 19 courgette/memory_allocator.cc base::File CreateTempFile() { base 20 courgette/memory_allocator.cc base::FilePath path; base 21 courgette/memory_allocator.cc if (!base::CreateTemporaryFile(&path)) base 22 courgette/memory_allocator.cc return base::File(); base 24 courgette/memory_allocator.cc int flags = base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ | base 25 courgette/memory_allocator.cc base::File::FLAG_WRITE | base::File::FLAG_DELETE_ON_CLOSE | base 26 courgette/memory_allocator.cc base::File::FLAG_TEMPORARY; base 27 courgette/memory_allocator.cc return base::File(path, flags); base 109 courgette/memory_allocator.h base::File file_; base 19 courgette/memory_monitor.cc LOG(INFO) << base::StringPrintf("%3d %8u: %8u %8u %8u %8u", i, s, base 26 courgette/memory_monitor.cc if (s > 1000000000) return base::StringPrintf("%.3gG", s/(1000000000.0)); base 27 courgette/memory_monitor.cc if (s > 1000000) return base::StringPrintf("%.3gM", s/(1000000.)); base 28 courgette/memory_monitor.cc if (s > 9999) return base::StringPrintf("%.3gk", s/(1000.)); base 29 courgette/memory_monitor.cc return base::StringPrintf("%d", (int)s); base 50 courgette/memory_monitor.cc base::StringAppendF(&o, "%u:", tick_ + d_tick_); base 51 courgette/memory_monitor.cc base::StringAppendF(&o, " (%c%s)", sign, fmt(w).c_str()); base 59 courgette/memory_monitor.cc base::StringAppendF(&o, " %s", fmt(s).c_str()); base 61 courgette/memory_monitor.cc base::StringAppendF(&o, " %s*%u", fmt(s).c_str(), n); base 65 courgette/memory_monitor.cc base::StringAppendF(&o, " = %s", fmt(sum).c_str()); base 72 courgette/third_party/bsdiff.h BSDiffStatus ApplyBinaryPatch(const base::FilePath& old_stream, base 73 courgette/third_party/bsdiff.h const base::FilePath& patch_stream, base 74 courgette/third_party/bsdiff.h const base::FilePath& new_stream); base 174 courgette/third_party/bsdiff_apply.cc BSDiffStatus ApplyBinaryPatch(const base::FilePath& old_file_path, base 175 courgette/third_party/bsdiff_apply.cc const base::FilePath& patch_file_path, base 176 courgette/third_party/bsdiff_apply.cc const base::FilePath& new_file_path) { base 178 courgette/third_party/bsdiff_apply.cc base::MemoryMappedFile old_file; base 186 courgette/third_party/bsdiff_apply.cc base::MemoryMappedFile patch_file; base 203 courgette/third_party/bsdiff_apply.cc int written = base::WriteFile( base 206 courgette/third_party/bsdiff_create.cc base::Time start_bsdiff_time = base::Time::Now(); base 238 courgette/third_party/bsdiff_create.cc base::Time q_start_time = base::Time::Now(); base 241 courgette/third_party/bsdiff_create.cc << (base::Time::Now() - q_start_time).InSecondsF(); base 449 courgette/third_party/bsdiff_create.cc << (base::Time::Now() - start_bsdiff_time).InSecondsF(); base 21 crypto/capi_util.cc base::Lock& acquire_context_lock() { base 31 crypto/capi_util.cc base::Lock acquire_context_lock_; base 45 crypto/capi_util.cc base::AutoLock lock(CAPIUtilSingleton::GetInstance()->acquire_context_lock()); base 187 crypto/cssm_init.cc base::ScopedCFTypeRef<CFStringRef> cfstr( base 190 crypto/cssm_init.cc << " (" << base::SysCFStringRefToUTF8(cfstr) << ")"; base 53 crypto/ec_private_key_nss.cc static base::LazyInstance<EllipticCurveSupportChecker>::Leaky base 14 crypto/encryptor.cc Encryptor::Counter::Counter(const base::StringPiece& counter) { base 24 crypto/encryptor.cc uint64 low_num = base::NetToHost64(counter_.components64[1]); base 26 crypto/encryptor.cc counter_.components64[1] = base::HostToNet64(new_low_num); base 31 crypto/encryptor.cc base::HostToNet64(base::NetToHost64(counter_.components64[0]) + 1); base 50 crypto/encryptor.cc bool Encryptor::SetCounter(const base::StringPiece& counter) { base 36 crypto/encryptor.h explicit Counter(const base::StringPiece& counter); base 64 crypto/encryptor.h bool Init(SymmetricKey* key, Mode mode, const base::StringPiece& iv); base 68 crypto/encryptor.h bool Encrypt(const base::StringPiece& plaintext, std::string* ciphertext); base 79 crypto/encryptor.h bool Decrypt(const base::StringPiece& ciphertext, std::string* plaintext); base 85 crypto/encryptor.h bool SetCounter(const base::StringPiece& counter); base 119 crypto/encryptor.h const base::StringPiece& input, base 122 crypto/encryptor.h const base::StringPiece& input, base 127 crypto/encryptor.h const base::StringPiece& input, base 130 crypto/encryptor.h const base::StringPiece& input, base 46 crypto/encryptor_nss.cc const base::StringPiece& iv) { base 74 crypto/encryptor_nss.cc bool Encryptor::Encrypt(const base::StringPiece& plaintext, base 89 crypto/encryptor_nss.cc bool Encryptor::Decrypt(const base::StringPiece& ciphertext, base 113 crypto/encryptor_nss.cc const base::StringPiece& input, base 154 crypto/encryptor_nss.cc const base::StringPiece& input, base 57 crypto/encryptor_openssl.cc const base::StringPiece& iv) { base 74 crypto/encryptor_openssl.cc bool Encryptor::Encrypt(const base::StringPiece& plaintext, base 82 crypto/encryptor_openssl.cc bool Encryptor::Decrypt(const base::StringPiece& ciphertext, base 91 crypto/encryptor_openssl.cc const base::StringPiece& input, base 140 crypto/encryptor_openssl.cc const base::StringPiece& input, base 170 crypto/encryptor_openssl.cc SetCounter(base::StringPiece(reinterpret_cast<const char*>(ivec), base 196 crypto/encryptor_unittest.cc base::StringPiece init_counter_str( base 198 crypto/encryptor_unittest.cc base::StringPiece plaintext_str( base 229 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.SetCounter(base::StringPiece( base 451 crypto/encryptor_unittest.cc EXPECT_EQ(expected_ciphertext_hex, base::HexEncode(ciphertext.data(), base 477 crypto/encryptor_unittest.cc EXPECT_EQ(expected_ciphertext_hex, base::HexEncode(ciphertext.data(), base 530 crypto/encryptor_unittest.cc EXPECT_EQ(expected_ciphertext_hex, base::HexEncode(ciphertext.data(), base 557 crypto/encryptor_unittest.cc encryptor.Decrypt(base::StringPiece(ciphertext.get(), 1), &plaintext)); base 33 crypto/ghash.cc return base::NetToHost64(t); base 38 crypto/ghash.cc x = base::HostToNet64(x); base 14 crypto/hkdf.cc HKDF::HKDF(const base::StringPiece& secret, base 15 crypto/hkdf.cc const base::StringPiece& salt, base 16 crypto/hkdf.cc const base::StringPiece& info, base 20 crypto/hkdf.cc base::StringPiece actual_salt = salt; base 50 crypto/hkdf.cc base::StringPiece previous; base 66 crypto/hkdf.cc result = hmac.Sign(base::StringPiece(buf.get(), j), digest, sizeof(digest)); base 70 crypto/hkdf.cc previous = base::StringPiece(reinterpret_cast<char*>(digest), base 79 crypto/hkdf.cc client_write_key_ = base::StringPiece(reinterpret_cast<char*>(&output_[j]), base 82 crypto/hkdf.cc server_write_key_ = base::StringPiece(reinterpret_cast<char*>(&output_[j]), base 88 crypto/hkdf.cc client_write_iv_ = base::StringPiece(reinterpret_cast<char*>(&output_[j]), base 91 crypto/hkdf.cc server_write_iv_ = base::StringPiece(reinterpret_cast<char*>(&output_[j]), base 33 crypto/hkdf.h HKDF(const base::StringPiece& secret, base 34 crypto/hkdf.h const base::StringPiece& salt, base 35 crypto/hkdf.h const base::StringPiece& info, base 40 crypto/hkdf.h base::StringPiece client_write_key() const { base 43 crypto/hkdf.h base::StringPiece client_write_iv() const { base 46 crypto/hkdf.h base::StringPiece server_write_key() const { base 49 crypto/hkdf.h base::StringPiece server_write_iv() const { base 56 crypto/hkdf.h base::StringPiece client_write_key_; base 57 crypto/hkdf.h base::StringPiece server_write_key_; base 58 crypto/hkdf.h base::StringPiece client_write_iv_; base 59 crypto/hkdf.h base::StringPiece server_write_iv_; base 60 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(test.key_hex, &data)); base 67 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(salt, &data)); base 75 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(info, &data)); base 80 crypto/hkdf_unittest.cc ASSERT_TRUE(base::HexStringToBytes(test.output_hex, &data)); base 36 crypto/hmac.cc bool HMAC::Verify(const base::StringPiece& data, base 37 crypto/hmac.cc const base::StringPiece& digest) const { base 43 crypto/hmac.cc bool HMAC::VerifyTruncated(const base::StringPiece& data, base 44 crypto/hmac.cc const base::StringPiece& digest) const { base 57 crypto/hmac.h bool Init(const base::StringPiece& key) WARN_UNUSED_RESULT { base 65 crypto/hmac.h bool Sign(const base::StringPiece& data, unsigned char* digest, base 75 crypto/hmac.h bool Verify(const base::StringPiece& data, base 76 crypto/hmac.h const base::StringPiece& digest) const WARN_UNUSED_RESULT; base 81 crypto/hmac.h const base::StringPiece& data, base 82 crypto/hmac.h const base::StringPiece& digest) const WARN_UNUSED_RESULT; base 76 crypto/hmac_nss.cc bool HMAC::Sign(const base::StringPiece& data, base 43 crypto/hmac_openssl.cc bool HMAC::Sign(const base::StringPiece& data, base 222 crypto/hmac_unittest.cc base::StringPiece(reinterpret_cast<const char*>(kKnownHMACSHA1), base 226 crypto/hmac_unittest.cc base::StringPiece(reinterpret_cast<const char*>(kKnownHMACSHA1), base 260 crypto/hmac_unittest.cc base::StringPiece(kSimpleHmacCases[i].data, base 262 crypto/hmac_unittest.cc base::StringPiece(kSimpleHmacCases[i].digest, base 266 crypto/hmac_unittest.cc base::StringPiece(kSimpleHmacCases[i].data, base 268 crypto/hmac_unittest.cc base::StringPiece(kSimpleHmacCases[i].data, base 273 crypto/hmac_unittest.cc base::StringPiece(kSimpleHmacCases[i].data, base 275 crypto/hmac_unittest.cc base::StringPiece(empty_digest, kSHA1DigestSize))); base 169 crypto/hmac_win.cc bool HMAC::Sign(const base::StringPiece& data, base 21 crypto/mac_security_services_lock.cc base::Lock& lock() { return lock_; } base 29 crypto/mac_security_services_lock.cc base::Lock lock_; base 38 crypto/mac_security_services_lock.cc base::Lock& GetMacSecurityServicesLock() { base 10 crypto/mac_security_services_lock.h namespace base { base 21 crypto/mac_security_services_lock.h CRYPTO_EXPORT base::Lock& GetMacSecurityServicesLock(); base 427 crypto/mock_apple_keychain_mac.cc base::Time::Exploded exploded_time; base 428 crypto/mock_apple_keychain_mac.cc base::Time::Now().UTCExplode(&exploded_time); base 65 crypto/nss_util.cc static const base::FilePath::CharType kReadOnlyCertDB[] = base 76 crypto/nss_util.cc result = base::StringPrintf("NSS error code: %d", PR_GetError()); base 82 crypto/nss_util.cc base::FilePath GetDefaultConfigDirectory() { base 83 crypto/nss_util.cc base::FilePath dir = base::GetHomeDir(); base 89 crypto/nss_util.cc if (!base::CreateDirectory(dir)) { base 102 crypto/nss_util.cc base::FilePath GetInitialConfigDirectory() { base 104 crypto/nss_util.cc base::FilePath database_dir = base::FilePath(kReadOnlyCertDB); base 105 crypto/nss_util.cc if (!base::PathExists(database_dir)) base 146 crypto/nss_util.cc void UseLocalCacheOfNSSDatabaseIfNFS(const base::FilePath& database_dir) { base 149 crypto/nss_util.cc base::FileSystemType fs_type = base::FILE_SYSTEM_UNKNOWN; base 150 crypto/nss_util.cc if (base::GetFileSystemType(database_dir, &fs_type)) base 151 crypto/nss_util.cc db_on_nfs = (fs_type == base::FILE_SYSTEM_NFS); base 161 crypto/nss_util.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 176 crypto/nss_util.cc friend struct base::DefaultLazyInstanceTraits<NSPRInitSingleton>; base 193 crypto/nss_util.cc base::LazyInstance<NSPRInitSingleton>::Leaky base 199 crypto/nss_util.cc base::LazyInstance<base::ScopedTempDir> g_test_nss_db_dir = base 206 crypto/nss_util.cc base::debug::Alias(&nss_error); base 207 crypto/nss_util.cc base::debug::Alias(&os_error); base 233 crypto/nss_util.cc const base::Callback<void(ScopedPK11Slot)>& callback) { base 259 crypto/nss_util.cc typedef std::vector<base::Callback<void(ScopedPK11Slot)> > base 282 crypto/nss_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 294 crypto/nss_util.cc PK11SlotInfo* OpenPersistentNSSDBForPath(const base::FilePath& path) { base 299 crypto/nss_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 301 crypto/nss_util.cc base::FilePath nssdb_path = path.AppendASCII(".pki").AppendASCII("nssdb"); base 302 crypto/nss_util.cc if (!base::CreateDirectory(nssdb_path)) { base 324 crypto/nss_util.cc const base::Callback<void(bool)>& callback) { base 331 crypto/nss_util.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 332 crypto/nss_util.cc base::Bind(callback, false)); base 340 crypto/nss_util.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 341 crypto/nss_util.cc base::Bind(callback, true)); base 349 crypto/nss_util.cc if (base::WorkerPool::PostTaskAndReply( base 351 crypto/nss_util.cc base::Bind(&NSSInitSingleton::InitializeTPMTokenOnWorkerThread, base 354 crypto/nss_util.cc base::Bind(&NSSInitSingleton::OnInitializedTPMToken, base 355 crypto/nss_util.cc base::Unretained(this), // NSSInitSingleton is leaky base 357 crypto/nss_util.cc base::Passed(&tpm_args)), base 362 crypto/nss_util.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 363 crypto/nss_util.cc base::Bind(callback, false)); base 389 crypto/nss_util.cc void OnInitializedTPMToken(const base::Callback<void(bool)>& callback, base 417 crypto/nss_util.cc bool IsTPMTokenReady(const base::Closure& callback) { base 426 crypto/nss_util.cc << base::debug::StackTrace().ToString(); base 460 crypto/nss_util.cc const base::FilePath& path) { base 492 crypto/nss_util.cc base::WorkerPool::PostTaskAndReply( base 494 crypto/nss_util.cc base::Bind(&NSSInitSingleton::InitializeTPMTokenOnWorkerThread, base 497 crypto/nss_util.cc base::Bind(&NSSInitSingleton::OnInitializedTPMForChromeOSUser, base 498 crypto/nss_util.cc base::Unretained(this), // NSSInitSingleton is leaky base 500 crypto/nss_util.cc base::Passed(&tpm_args)), base 546 crypto/nss_util.cc const base::Callback<void(ScopedPK11Slot)>& callback) { base 552 crypto/nss_util.cc base::MessageLoop::current()->PostTask( base 553 crypto/nss_util.cc FROM_HERE, base::Bind(callback, base::Passed(ScopedPK11Slot()))); base 583 crypto/nss_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 598 crypto/nss_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 614 crypto/nss_util.cc << base::debug::StackTrace().ToString(); base 628 crypto/nss_util.cc << base::debug::StackTrace().ToString(); base 636 crypto/nss_util.cc if (IsTPMTokenReady(base::Closure())) { base 653 crypto/nss_util.cc base::Lock* write_lock() { base 665 crypto/nss_util.cc friend struct base::DefaultLazyInstanceTraits<NSSInitSingleton>; base 676 crypto/nss_util.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 720 crypto/nss_util.cc base::FilePath database_dir = GetInitialConfigDirectory(); base 730 crypto/nss_util.cc base::StringPrintf("sql:%s", database_dir.value().c_str()); base 778 crypto/nss_util.cc base::TimeTicks::Now() - start_time, base 779 crypto/nss_util.cc base::TimeDelta::FromMilliseconds(10), base 780 crypto/nss_util.cc base::TimeDelta::FromHours(1), base 837 crypto/nss_util.cc std::string modparams = base::StringPrintf( base 862 crypto/nss_util.cc static PK11SlotInfo* OpenUserDB(const base::FilePath& path, base 865 crypto/nss_util.cc base::StringPrintf("configDir='sql:%s' tokenDescription='%s'", base 886 crypto/nss_util.cc base::CPU cpu; base 889 crypto/nss_util.cc base::Environment::Create()->SetVar("NSS_DISABLE_HW_AES", "1"); base 899 crypto/nss_util.cc typedef std::vector<base::Closure> TPMReadyCallbackList; base 914 crypto/nss_util.cc base::Lock write_lock_; base 917 crypto/nss_util.cc base::ThreadChecker thread_checker_; base 923 crypto/nss_util.cc base::LazyInstance<NSSInitSingleton>::Leaky base 931 crypto/nss_util.cc base::FilePath database_dir = GetInitialConfigDirectory(); base 956 crypto/nss_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 965 crypto/nss_util.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 973 crypto/nss_util.cc std::vector<base::FilePath> paths; base 976 crypto/nss_util.cc paths.push_back(base::FilePath()); base 979 crypto/nss_util.cc paths.push_back(base::FilePath("/usr/lib/nss")); base 983 crypto/nss_util.cc paths.push_back(base::FilePath("/usr/lib/x86_64-linux-gnu/nss")); base 985 crypto/nss_util.cc paths.push_back(base::FilePath("/usr/lib/i386-linux-gnu/nss")); base 988 crypto/nss_util.cc paths.push_back(base::FilePath("/usr/lib/arm-linux-gnueabihf/nss")); base 990 crypto/nss_util.cc paths.push_back(base::FilePath("/usr/lib/arm-linux-gnueabi/nss")); base 993 crypto/nss_util.cc paths.push_back(base::FilePath("/usr/lib/mipsel-linux-gnu/nss")); base 1006 crypto/nss_util.cc base::FilePath path = paths[j].Append(libs[i]); base 1007 crypto/nss_util.cc base::NativeLibrary lib = base::LoadNativeLibrary(path, NULL); base 1041 crypto/nss_util.cc base::Lock* GetNSSWriteLock() { base 1082 crypto/nss_util.cc bool IsTPMTokenReady(const base::Closure& callback) { base 1087 crypto/nss_util.cc const base::Callback<void(bool)>& callback) { base 1116 crypto/nss_util.cc const base::FilePath& path) { base 1135 crypto/nss_util.cc const base::Callback<void(ScopedPK11Slot)>& callback) { base 1141 crypto/nss_util.cc base::Time PRTimeToBaseTime(PRTime prtime) { base 1142 crypto/nss_util.cc return base::Time::FromInternalValue( base 1143 crypto/nss_util.cc prtime + base::Time::UnixEpoch().ToInternalValue()); base 1146 crypto/nss_util.cc PRTime BaseTimeToPRTime(base::Time time) { base 1147 crypto/nss_util.cc return time.ToInternalValue() - base::Time::UnixEpoch().ToInternalValue(); base 15 crypto/nss_util.h namespace base { base 118 crypto/nss_util.h CRYPTO_EXPORT bool IsTPMTokenReady(const base::Closure& callback) base 128 crypto/nss_util.h const base::Callback<void(bool)>& callback); base 145 crypto/nss_util.h base::ScopedTempDir temp_dir_; base 153 crypto/nss_util.h CRYPTO_EXPORT base::Time PRTimeToBaseTime(int64 prtime); base 157 crypto/nss_util.h CRYPTO_EXPORT int64 BaseTimeToPRTime(base::Time time); base 185 crypto/nss_util.h base::Lock* GetNSSWriteLock(); base 194 crypto/nss_util.h base::Lock *lock_; base 15 crypto/nss_util_internal.h namespace base { base 55 crypto/nss_util_internal.h const base::FilePath& path) WARN_UNUSED_RESULT; base 77 crypto/nss_util_internal.h const base::Callback<void(ScopedPK11Slot)>& callback) WARN_UNUSED_RESULT; base 15 crypto/nss_util_unittest.cc EXPECT_EQ(base::Time::UnixEpoch(), PRTimeToBaseTime(0)); base 16 crypto/nss_util_unittest.cc EXPECT_EQ(0, BaseTimeToPRTime(base::Time::UnixEpoch())); base 21 crypto/nss_util_unittest.cc base::Time::Exploded exploded; base 34 crypto/nss_util_unittest.cc base::Time base_time = base::Time::FromUTCExploded(exploded); base 27 crypto/openpgp_symmetric_encryption.cc Reader(base::StringPiece input) base 52 crypto/openpgp_symmetric_encryption.cc bool Prefix(size_t n, base::StringPiece *out) { base 55 crypto/openpgp_symmetric_encryption.cc *out = base::StringPiece(data_.data(), n); base 62 crypto/openpgp_symmetric_encryption.cc base::StringPiece Remainder() { base 63 crypto/openpgp_symmetric_encryption.cc base::StringPiece ret = data_; base 64 crypto/openpgp_symmetric_encryption.cc data_ = base::StringPiece(); base 68 crypto/openpgp_symmetric_encryption.cc typedef base::StringPiece Position; base 94 crypto/openpgp_symmetric_encryption.cc base::StringPiece data_; base 101 crypto/openpgp_symmetric_encryption.cc base::StringPiece passphrase, base 102 crypto/openpgp_symmetric_encryption.cc base::StringPiece salt, base 190 crypto/openpgp_symmetric_encryption.cc OpenPGPSymmetricEncrytion::Result Decrypt(base::StringPiece in, base 191 crypto/openpgp_symmetric_encryption.cc base::StringPiece passphrase, base 192 crypto/openpgp_symmetric_encryption.cc base::StringPiece *out_contents) { base 195 crypto/openpgp_symmetric_encryption.cc base::StringPiece contents; base 237 crypto/openpgp_symmetric_encryption.cc base::StringPiece *out_contents) { base 284 crypto/openpgp_symmetric_encryption.cc base::StringPiece *out_contents) { base 313 crypto/openpgp_symmetric_encryption.cc base::StringPiece first_chunk; base 326 crypto/openpgp_symmetric_encryption.cc base::StringPiece chunk; base 335 crypto/openpgp_symmetric_encryption.cc *out_contents = base::StringPiece(buf, length); base 375 crypto/openpgp_symmetric_encryption.cc base::StringPiece passphrase, base 404 crypto/openpgp_symmetric_encryption.cc base::StringPiece salt; base 439 crypto/openpgp_symmetric_encryption.cc base::StringPiece encrypted_key = reader->Remainder(); base 463 crypto/openpgp_symmetric_encryption.cc void CFBDecrypt(base::StringPiece in, ScopedPK11Context* decryption_context, base 507 crypto/openpgp_symmetric_encryption.cc base::StringPiece *out_plaintext) { base 516 crypto/openpgp_symmetric_encryption.cc base::StringPiece prefix_sp; base 590 crypto/openpgp_symmetric_encryption.cc *out_plaintext = base::StringPiece(reinterpret_cast<char*>(plaintext), base 596 crypto/openpgp_symmetric_encryption.cc bool ParseLiteralData(Reader *reader, base::StringPiece *out_data) { base 620 crypto/openpgp_symmetric_encryption.cc static ByteString Encrypt(base::StringPiece plaintext, base 621 crypto/openpgp_symmetric_encryption.cc base::StringPiece passphrase) { base 659 crypto/openpgp_symmetric_encryption.cc static ByteString SerializeLiteralData(base::StringPiece contents) { base 675 crypto/openpgp_symmetric_encryption.cc static ByteString SerializeSymmetricKeyEncrypted(base::StringPiece passphrase, base 694 crypto/openpgp_symmetric_encryption.cc base::StringPiece(reinterpret_cast<char*>(&salt64), sizeof(salt64)), base 771 crypto/openpgp_symmetric_encryption.cc base::StringPiece encrypted, base 772 crypto/openpgp_symmetric_encryption.cc base::StringPiece passphrase, base 777 crypto/openpgp_symmetric_encryption.cc base::StringPiece result; base 786 crypto/openpgp_symmetric_encryption.cc base::StringPiece plaintext, base 787 crypto/openpgp_symmetric_encryption.cc base::StringPiece passphrase) { base 34 crypto/openpgp_symmetric_encryption.h static Result Decrypt(base::StringPiece encrypted, base 35 crypto/openpgp_symmetric_encryption.h base::StringPiece passphrase, base 38 crypto/openpgp_symmetric_encryption.h static std::string Encrypt(base::StringPiece plaintext, base 39 crypto/openpgp_symmetric_encryption.h base::StringPiece passphrase); base 58 crypto/openpgp_symmetric_encryption_unittest.cc base::StringPiece encrypted(reinterpret_cast<const char*>(kTestMessage1), base 69 crypto/openpgp_symmetric_encryption_unittest.cc base::StringPiece encrypted(reinterpret_cast<const char*>(kTestMessage2), base 80 crypto/openpgp_symmetric_encryption_unittest.cc base::StringPiece encrypted(reinterpret_cast<const char*>(kTestMessage3), base 91 crypto/openpgp_symmetric_encryption_unittest.cc base::StringPiece encrypted(reinterpret_cast<const char*>(kTestMessage4), base 26 crypto/openssl_util.cc return static_cast<unsigned long>(base::PlatformThread::CurrentId()); base 54 crypto/openssl_util.cc locks_.push_back(new base::Lock()); base 85 crypto/openssl_util.cc ScopedVector<base::Lock> locks_; base 100 crypto/openssl_util.cc DVLOG(1) << "\t" << base::StringPiece(str, len); base 18 crypto/p224.cc using base::HostToNet32; base 19 crypto/p224.cc using base::NetToHost32; base 647 crypto/p224.cc bool Point::SetFromString(const base::StringPiece& in) { base 29 crypto/p224.h bool SetFromString(const base::StringPiece& in); base 99 crypto/p224_spake.cc PeerType peer_type, const base::StringPiece& password) base 144 crypto/p224_spake.cc const base::StringPiece& message) { base 55 crypto/p224_spake.h const base::StringPiece& password); base 63 crypto/p224_spake.h Result ProcessMessage(const base::StringPiece& message); base 773 crypto/p224_unittest.cc EXPECT_TRUE(point.SetFromString(base::StringPiece( base 799 crypto/p224_unittest.cc ASSERT_TRUE(a.SetFromString(base::StringPiece( base 801 crypto/p224_unittest.cc ASSERT_TRUE(b.SetFromString(base::StringPiece( base 15 crypto/random.cc base::RandBytes(bytes, length); base 13 crypto/sha2.cc void SHA256HashString(const base::StringPiece& str, void* output, size_t len) { base 19 crypto/sha2.cc std::string SHA256HashString(const base::StringPiece& str) { base 24 crypto/sha2.h CRYPTO_EXPORT void SHA256HashString(const base::StringPiece& str, base 29 crypto/sha2.h CRYPTO_EXPORT std::string SHA256HashString(const base::StringPiece& str); base 74 crypto/signature_creator_unittest.cc std::string sha1 = base::SHA1HashString(data); base 103 crypto/symmetric_key_unittest.cc StringToLowerASCII(base::HexEncode(raw_key.data(), base 266 crypto/symmetric_key_win.cc uint32 big_endian_block_index = base::HostToNet32(block_index); base 43 dbus/bus.cc class Watch : public base::MessagePumpLibevent::Watcher { base 64 dbus/bus.cc base::MessageLoopForIO::Mode mode = base::MessageLoopForIO::WATCH_READ; base 66 dbus/bus.cc mode = base::MessageLoopForIO::WATCH_READ_WRITE; base 68 dbus/bus.cc mode = base::MessageLoopForIO::WATCH_READ; base 70 dbus/bus.cc mode = base::MessageLoopForIO::WATCH_WRITE; base 75 dbus/bus.cc const bool success = base::MessageLoopForIO::current()->WatchFileDescriptor( base 99 dbus/bus.cc base::MessagePumpLibevent::FileDescriptorWatcher file_descriptor_watcher_; base 110 dbus/bus.cc class Timeout : public base::RefCountedThreadSafe<Timeout> { base 129 dbus/bus.cc base::Bind(&Timeout::HandleTimeout, this), base 142 dbus/bus.cc base::TimeDelta GetInterval() { base 143 dbus/bus.cc return base::TimeDelta::FromMilliseconds( base 195 dbus/bus.cc origin_thread_id_(base::PlatformThread::CurrentId()), base 206 dbus/bus.cc if (base::MessageLoop::current()) base 207 dbus/bus.cc origin_task_runner_ = base::MessageLoop::current()->message_loop_proxy(); base 251 dbus/bus.cc const base::Closure& callback) { base 260 dbus/bus.cc const base::Closure& callback) { base 273 dbus/bus.cc base::Bind(&Bus::RemoveObjectProxyInternal, base 281 dbus/bus.cc const base::Closure& callback) { base 324 dbus/bus.cc base::Bind(&Bus::UnregisterExportedObjectInternal, base 492 dbus/bus.cc base::Bind(&Bus::ShutdownOnDBusThreadAndBlockInternal, this)); base 495 dbus/bus.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 500 dbus/bus.cc const base::TimeDelta timeout(base::TimeDelta::FromSeconds(kTimeoutSecs)); base 512 dbus/bus.cc base::Bind(&Bus::RequestOwnershipInternal, base 526 dbus/bus.cc base::Bind(on_ownership_callback, base 796 dbus/bus.cc base::TaskRunner* Bus::GetDBusTaskRunner() { base 803 dbus/bus.cc base::TaskRunner* Bus::GetOriginTaskRunner() { base 813 dbus/bus.cc DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); base 817 dbus/bus.cc base::ThreadRestrictions::AssertIOAllowed(); base 871 dbus/bus.cc base::Bind(&Bus::GetServiceOwnerInternal, this, service_name, callback)); base 882 dbus/bus.cc base::Bind(callback, service_owner)); base 894 dbus/bus.cc base::Bind(&Bus::ListenForServiceOwnerChangeInternal, base 919 dbus/bus.cc base::StringPrintf(kServiceNameOwnerChangeMatchRule, base 951 dbus/bus.cc base::Bind(&Bus::UnlistenForServiceOwnerChangeInternal, base 979 dbus/bus.cc base::StringPrintf(kServiceNameOwnerChangeMatchRule, base 1068 dbus/bus.cc base::Bind(&Bus::ProcessAllIncomingDataIfAny, base 1119 dbus/bus.cc base::Bind(callbacks[i], new_owner)); base 23 dbus/bus.h namespace base { base 139 dbus/bus.h class CHROME_DBUS_EXPORT Bus : public base::RefCountedThreadSafe<Bus> { base 202 dbus/bus.h scoped_refptr<base::SequencedTaskRunner> dbus_task_runner; base 226 dbus/bus.h base::Closure disconnected_callback; base 237 dbus/bus.h typedef base::Callback<void (const std::string&, bool)> OnOwnershipCallback; base 241 dbus/bus.h typedef base::Callback<void (const std::string& service_owner)> base 301 dbus/bus.h const base::Closure& callback); base 309 dbus/bus.h const base::Closure& callback); base 538 dbus/bus.h virtual base::TaskRunner* GetDBusTaskRunner(); base 541 dbus/bus.h virtual base::TaskRunner* GetOriginTaskRunner(); base 598 dbus/bus.h friend class base::RefCountedThreadSafe<Bus>; base 602 dbus/bus.h const base::Closure& callback); base 691 dbus/bus.h scoped_refptr<base::SequencedTaskRunner> dbus_task_runner_; base 692 dbus/bus.h base::WaitableEvent on_shutdown_; base 695 dbus/bus.h scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner_; base 696 dbus/bus.h base::PlatformThreadId origin_thread_id_; base 750 dbus/bus.h base::Closure on_disconnected_closure_; base 44 dbus/bus_unittest.cc run_loop_.reset(new base::RunLoop()); base 57 dbus/bus_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 137 dbus/bus_unittest.cc base::MessageLoop message_loop; base 140 dbus/bus_unittest.cc base::Thread::Options thread_options; base 141 dbus/bus_unittest.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 142 dbus/bus_unittest.cc base::Thread dbus_thread("D-Bus thread"); base 155 dbus/bus_unittest.cc base::Bind(&base::DoNothing))); base 172 dbus/bus_unittest.cc base::Bind(&base::DoNothing))); base 220 dbus/bus_unittest.cc base::Thread::Options thread_options; base 221 dbus/bus_unittest.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 222 dbus/bus_unittest.cc base::Thread dbus_thread("D-Bus thread"); base 270 dbus/bus_unittest.cc base::Thread::Options thread_options; base 271 dbus/bus_unittest.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 272 dbus/bus_unittest.cc base::Thread dbus_thread("D-Bus thread"); base 350 dbus/bus_unittest.cc base::MessageLoop message_loop(base::MessageLoop::TYPE_IO); base 361 dbus/bus_unittest.cc base::Bind(&OnServiceOwnerChanged, base 368 dbus/bus_unittest.cc base::RunLoop().RunUntilIdle(); base 398 dbus/bus_unittest.cc base::Bind(&OnServiceOwnerChanged, base 403 dbus/bus_unittest.cc base::RunLoop().RunUntilIdle(); base 418 dbus/bus_unittest.cc base::RunLoop().RunUntilIdle(); base 65 dbus/dbus_statistics.cc : start_time_(base::Time::Now()), base 66 dbus/dbus_statistics.cc origin_thread_id_(base::PlatformThread::CurrentId()) { base 70 dbus/dbus_statistics.cc DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); base 86 dbus/dbus_statistics.cc if (base::PlatformThread::CurrentId() != origin_thread_id_) { base 88 dbus/dbus_statistics.cc << base::PlatformThread::CurrentId(); base 109 dbus/dbus_statistics.cc DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); base 121 dbus/dbus_statistics.cc base::Time start_time() { return start_time_; } base 125 dbus/dbus_statistics.cc base::Time start_time_; base 126 dbus/dbus_statistics.cc base::PlatformThreadId origin_thread_id_; base 188 dbus/dbus_statistics.cc base::TimeDelta dtime = base::Time::Now() - g_dbus_statistics->start_time(); base 223 dbus/dbus_statistics.cc line += base::StringPrintf(":"); base 225 dbus/dbus_statistics.cc line += base::StringPrintf(" Sent (BLOCKING):"); base 227 dbus/dbus_statistics.cc line += base::StringPrintf(" %d", sent_blocking); base 229 dbus/dbus_statistics.cc line += base::StringPrintf(" %d/min", sent_blocking / dminutes); base 231 dbus/dbus_statistics.cc line += base::StringPrintf(" %d (%d/min)", base 235 dbus/dbus_statistics.cc line += base::StringPrintf(" Sent:"); base 237 dbus/dbus_statistics.cc line += base::StringPrintf(" %d", sent); base 239 dbus/dbus_statistics.cc line += base::StringPrintf(" %d/min", sent / dminutes); base 241 dbus/dbus_statistics.cc line += base::StringPrintf(" %d (%d/min)", sent, sent / dminutes); base 244 dbus/dbus_statistics.cc line += base::StringPrintf(" Received:"); base 246 dbus/dbus_statistics.cc line += base::StringPrintf(" %d", received); base 248 dbus/dbus_statistics.cc line += base::StringPrintf(" %d/min", received / dminutes); base 250 dbus/dbus_statistics.cc line += base::StringPrintf( base 41 dbus/end_to_end_async_unittest.cc base::ThreadRestrictions::SetIOAllowed(false); base 44 dbus/end_to_end_async_unittest.cc dbus_thread_.reset(new base::Thread("D-Bus Thread")); base 45 dbus/end_to_end_async_unittest.cc base::Thread::Options thread_options; base 46 dbus/end_to_end_async_unittest.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 63 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnDisconnected, base::Unretained(this)); base 75 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnTestSignal, base 76 dbus/end_to_end_async_unittest.cc base::Unretained(this)), base 77 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnConnected, base 78 dbus/end_to_end_async_unittest.cc base::Unretained(this))); base 90 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnTest2Signal, base 91 dbus/end_to_end_async_unittest.cc base::Unretained(this)), base 92 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnConnected, base 93 dbus/end_to_end_async_unittest.cc base::Unretained(this))); base 107 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnRootTestSignal, base 108 dbus/end_to_end_async_unittest.cc base::Unretained(this)), base 109 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnConnected, base 110 dbus/end_to_end_async_unittest.cc base::Unretained(this))); base 122 dbus/end_to_end_async_unittest.cc base::ThreadRestrictions::SetIOAllowed(true); base 157 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnResponse, base 158 dbus/end_to_end_async_unittest.cc base::Unretained(this))); base 168 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnResponse, base::Unretained(this)), base 169 dbus/end_to_end_async_unittest.cc base::Bind(&EndToEndAsyncTest::OnError, base::Unretained(this))); base 257 dbus/end_to_end_async_unittest.cc base::MessageLoop message_loop_; base 260 dbus/end_to_end_async_unittest.cc scoped_ptr<base::Thread> dbus_thread_; base 541 dbus/end_to_end_async_unittest.cc base::MessageLoop::QuitClosure(), base 584 dbus/end_to_end_async_unittest.cc base::Bind(&Bus::ClosePrivateConnection, base 585 dbus/end_to_end_async_unittest.cc base::Unretained(bus_.get()))); base 606 dbus/end_to_end_async_unittest.cc base::Bind(&SignalMultipleHandlerTest::OnAdditionalTestSignal, base 607 dbus/end_to_end_async_unittest.cc base::Unretained(this)), base 608 dbus/end_to_end_async_unittest.cc base::Bind(&SignalMultipleHandlerTest::OnAdditionalConnected, base 609 dbus/end_to_end_async_unittest.cc base::Unretained(this))); base 81 dbus/exported_object.cc base::Closure task = base::Bind(&ExportedObject::ExportMethodInternal, base 101 dbus/exported_object.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 104 dbus/exported_object.cc base::Bind(&ExportedObject::SendSignalInternal, base 131 dbus/exported_object.cc base::Bind(&ExportedObject::OnExported, base 148 dbus/exported_object.cc void ExportedObject::SendSignalInternal(base::TimeTicks start_time, base 157 dbus/exported_object.cc base::TimeTicks::Now() - start_time); base 215 dbus/exported_object.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 219 dbus/exported_object.cc base::Bind(&ExportedObject::RunMethod, base 222 dbus/exported_object.cc base::Passed(&method_call), base 228 dbus/exported_object.cc base::Bind(&ExportedObject::SendResponse, base 231 dbus/exported_object.cc base::Passed(&method_call))); base 241 dbus/exported_object.cc base::TimeTicks start_time) { base 245 dbus/exported_object.cc base::Bind(&ExportedObject::SendResponse, base 248 dbus/exported_object.cc base::Passed(&method_call))); base 251 dbus/exported_object.cc void ExportedObject::SendResponse(base::TimeTicks start_time, base 258 dbus/exported_object.cc base::Bind(&ExportedObject::OnMethodCompleted, base 260 dbus/exported_object.cc base::Passed(&method_call), base 261 dbus/exported_object.cc base::Passed(&response), base 270 dbus/exported_object.cc base::TimeTicks start_time) { base 299 dbus/exported_object.cc base::TimeTicks::Now() - start_time); base 35 dbus/exported_object.h : public base::RefCountedThreadSafe<ExportedObject> { base 44 dbus/exported_object.h typedef base::Callback<void (scoped_ptr<Response> response)> ResponseSender; base 51 dbus/exported_object.h typedef base::Callback<void (MethodCall* method_call, ResponseSender sender)> base 56 dbus/exported_object.h typedef base::Callback<void (const std::string& interface_name, base 109 dbus/exported_object.h friend class base::RefCountedThreadSafe<ExportedObject>; base 124 dbus/exported_object.h void SendSignalInternal(base::TimeTicks start_time, base 141 dbus/exported_object.h base::TimeTicks start_time); base 146 dbus/exported_object.h void SendResponse(base::TimeTicks start_time, base 154 dbus/exported_object.h base::TimeTicks start_time); base 13 dbus/file_descriptor.cc base::ClosePlatformFile(value_); base 28 dbus/file_descriptor.cc base::PlatformFileInfo info; base 29 dbus/file_descriptor.cc bool ok = base::GetPlatformFileInfo(value_, &info); base 40 dbus/message.cc *output += (header_name + ": " + base::StringPrintf("%u", header_value) + base 104 dbus/message.cc output += indent + "byte " + base::StringPrintf("%d", value) + "\n"; base 118 dbus/message.cc output += indent + "int16 " + base::StringPrintf("%d", value) + "\n"; base 125 dbus/message.cc output += indent + "uint16 " + base::StringPrintf("%d", value) + "\n"; base 132 dbus/message.cc output += indent + "int32 " + base::StringPrintf("%d", value) + "\n"; base 139 dbus/message.cc output += indent + "uint32 " + base::StringPrintf("%u", value) + "\n"; base 147 dbus/message.cc base::StringPrintf("%" PRId64, value) + "\n"); base 155 dbus/message.cc base::StringPrintf("%" PRIu64, value) + "\n"); base 162 dbus/message.cc output += indent + "double " + base::StringPrintf("%f", value) + "\n"; base 175 dbus/message.cc base::TruncateUTF8ToByteSize(value, kTruncateLength, &truncated); base 176 dbus/message.cc base::StringAppendF(&truncated, "... (%" PRIuS " bytes in total)", base 231 dbus/message.cc base::StringPrintf("%d", file_descriptor.value()) + "\n"; base 698 dbus/message.cc const std::string signature = base::StringPrintf("%c", dbus_type); base 63 dbus/mock_bus.h MOCK_METHOD0(GetDBusTaskRunner, base::TaskRunner*()); base 64 dbus/mock_bus.h MOCK_METHOD0(GetOriginTaskRunner, base::TaskRunner*()); base 80 dbus/mock_unittest.cc base::MessageLoop message_loop_; base 113 dbus/mock_unittest.cc base::Bind(&MockTest::RunResponseCallback, base 114 dbus/mock_unittest.cc base::Unretained(this), base 174 dbus/mock_unittest.cc base::Bind(&MockTest::OnResponse, base 175 dbus/mock_unittest.cc base::Unretained(this))); base 36 dbus/object_manager.cc base::Bind(&ObjectManager::NameOwnerChanged, base 42 dbus/object_manager.cc base::Bind(&ObjectManager::InterfacesAddedReceived, base 44 dbus/object_manager.cc base::Bind(&ObjectManager::InterfacesAddedConnected, base 50 dbus/object_manager.cc base::Bind(&ObjectManager::InterfacesRemovedReceived, base 52 dbus/object_manager.cc base::Bind(&ObjectManager::InterfacesRemovedConnected, base 143 dbus/object_manager.cc base::Bind(&ObjectManager::OnGetManagedObjects, base 136 dbus/object_manager.h : public base::RefCountedThreadSafe<ObjectManager> { base 230 dbus/object_manager.h friend class base::RefCountedThreadSafe<ObjectManager>; base 315 dbus/object_manager.h base::WeakPtrFactory<ObjectManager> weak_ptr_factory_; base 56 dbus/object_manager_unittest.cc base::Bind(&ObjectManagerTest::OnPropertyChanged, base 57 dbus/object_manager_unittest.cc base::Unretained(this), object_path)); base 63 dbus/object_manager_unittest.cc base::ThreadRestrictions::SetIOAllowed(false); base 66 dbus/object_manager_unittest.cc dbus_thread_.reset(new base::Thread("D-Bus Thread")); base 67 dbus/object_manager_unittest.cc base::Thread::Options thread_options; base 68 dbus/object_manager_unittest.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 103 dbus/object_manager_unittest.cc base::ThreadRestrictions::SetIOAllowed(true); base 174 dbus/object_manager_unittest.cc base::Bind(&ObjectManagerTest::MethodCallback, base 175 dbus/object_manager_unittest.cc base::Unretained(this))); base 179 dbus/object_manager_unittest.cc base::MessageLoop message_loop_; base 180 dbus/object_manager_unittest.cc scoped_ptr<base::Thread> dbus_thread_; base 90 dbus/object_proxy.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 110 dbus/object_proxy.cc base::TimeTicks::Now() - start_time); base 119 dbus/object_proxy.cc base::Bind(&ObjectProxy::OnCallMethodError, base 132 dbus/object_proxy.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 138 dbus/object_proxy.cc base::Closure task = base::Bind(&ObjectProxy::RunResponseCallback, base 154 dbus/object_proxy.cc base::Closure task = base::Bind(&ObjectProxy::StartAsyncMethodCall, base 175 dbus/object_proxy.cc base::PostTaskAndReplyWithResult( base 178 dbus/object_proxy.cc base::Bind(&ObjectProxy::ConnectToSignalInternal, base 183 dbus/object_proxy.cc base::Bind(on_connected_callback, base 202 dbus/object_proxy.cc base::Bind(&ObjectProxy::WaitForServiceToBeAvailableInternal, this)); base 228 dbus/object_proxy.cc return base::Bind(&EmptyResponseCallbackBody); base 235 dbus/object_proxy.cc base::TimeTicks in_start_time) base 249 dbus/object_proxy.cc base::TimeTicks start_time) { base 255 dbus/object_proxy.cc base::Closure task = base::Bind(&ObjectProxy::RunResponseCallback, base 293 dbus/object_proxy.cc base::TimeTicks start_time) { base 297 dbus/object_proxy.cc base::Closure task = base::Bind(&ObjectProxy::RunResponseCallback, base 308 dbus/object_proxy.cc base::TimeTicks start_time, base 325 dbus/object_proxy.cc base::Bind(&base::DeletePointer<ErrorResponse>, base 352 dbus/object_proxy.cc base::Bind(&base::DeletePointer<Response>, response.release())); base 357 dbus/object_proxy.cc base::TimeTicks::Now() - start_time); base 395 dbus/object_proxy.cc base::StringPrintf( base 427 dbus/object_proxy.cc base::StringPrintf("type='signal', interface='%s', path='%s'", base 442 dbus/object_proxy.cc base::Bind(&ObjectProxy::RunWaitForServiceToBeAvailableCallbacks, base 451 dbus/object_proxy.cc base::Bind(&ObjectProxy::RunWaitForServiceToBeAvailableCallbacks, base 506 dbus/object_proxy.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 513 dbus/object_proxy.cc base::Bind(&ObjectProxy::RunMethod, base 519 dbus/object_proxy.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 531 dbus/object_proxy.cc void ObjectProxy::RunMethod(base::TimeTicks start_time, base 544 dbus/object_proxy.cc base::Bind(&base::DeletePointer<Signal>, signal)); base 548 dbus/object_proxy.cc base::TimeTicks::Now() - start_time); base 560 dbus/object_proxy.cc const base::StringPiece& interface_name, base 561 dbus/object_proxy.cc const base::StringPiece& method_name, base 562 dbus/object_proxy.cc const base::StringPiece& error_name, base 563 dbus/object_proxy.cc const base::StringPiece& error_message) const { base 668 dbus/object_proxy.cc base::Bind(&ObjectProxy::RunNameOwnerChangedCallback, base 675 dbus/object_proxy.cc base::Bind(&ObjectProxy::RunWaitForServiceToBeAvailableCallbacks, base 38 dbus/object_proxy.h : public base::RefCountedThreadSafe<ObjectProxy> { base 67 dbus/object_proxy.h typedef base::Callback<void(ErrorResponse*)> ErrorCallback; base 70 dbus/object_proxy.h typedef base::Callback<void(Response*)> ResponseCallback; base 73 dbus/object_proxy.h typedef base::Callback<void (Signal*)> SignalCallback; base 76 dbus/object_proxy.h typedef base::Callback<void( base 81 dbus/object_proxy.h typedef base::Callback<void( base 89 dbus/object_proxy.h typedef base::Callback<void (const std::string&, const std::string&, bool)> base 180 dbus/object_proxy.h friend class base::RefCountedThreadSafe<ObjectProxy>; base 188 dbus/object_proxy.h base::TimeTicks start_time); base 194 dbus/object_proxy.h base::TimeTicks start_time; base 203 dbus/object_proxy.h base::TimeTicks start_time); base 209 dbus/object_proxy.h base::TimeTicks start_time); base 214 dbus/object_proxy.h base::TimeTicks start_time, base 238 dbus/object_proxy.h void RunMethod(base::TimeTicks start_time, base 248 dbus/object_proxy.h void LogMethodCallFailure(const base::StringPiece& interface_name, base 249 dbus/object_proxy.h const base::StringPiece& method_name, base 250 dbus/object_proxy.h const base::StringPiece& error_name, base 251 dbus/object_proxy.h const base::StringPiece& error_message) const; base 32 dbus/object_proxy_unittest.cc base::MessageLoopForIO message_loop_; base 38 dbus/object_proxy_unittest.cc void OnServiceIsAvailable(scoped_ptr<base::RunLoop>* run_loop, base 46 dbus/object_proxy_unittest.cc scoped_ptr<base::RunLoop> run_loop; base 50 dbus/object_proxy_unittest.cc base::Bind(&OnServiceIsAvailable, &run_loop)); base 51 dbus/object_proxy_unittest.cc base::RunLoop().RunUntilIdle(); base 61 dbus/object_proxy_unittest.cc run_loop.reset(new base::RunLoop); base 65 dbus/object_proxy_unittest.cc run_loop.reset(new base::RunLoop); base 67 dbus/object_proxy_unittest.cc base::Bind(&OnServiceIsAvailable, &run_loop)); base 55 dbus/property.cc base::Bind(&PropertySet::ChangedReceived, base 57 dbus/property.cc base::Bind(&PropertySet::ChangedConnected, base 104 dbus/property.cc base::Bind(&PropertySet::OnGet, base 133 dbus/property.cc base::Bind(&PropertySet::OnGetAll, base 160 dbus/property.cc base::Bind(&PropertySet::OnSet, base 203 dbus/property.h typedef base::Callback<void(const std::string& name)> PropertyChangedCallback; base 240 dbus/property.h typedef base::Callback<void(bool success)> GetCallback; base 260 dbus/property.h typedef base::Callback<void(bool success)> SetCallback; base 298 dbus/property.h base::WeakPtr<PropertySet> GetWeakPtr() { base 324 dbus/property.h base::WeakPtrFactory<PropertySet> weak_ptr_factory_; base 53 dbus/property_unittest.cc base::ThreadRestrictions::SetIOAllowed(false); base 56 dbus/property_unittest.cc dbus_thread_.reset(new base::Thread("D-Bus Thread")); base 57 dbus/property_unittest.cc base::Thread::Options thread_options; base 58 dbus/property_unittest.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 83 dbus/property_unittest.cc base::Bind(&PropertyTest::OnPropertyChanged, base 84 dbus/property_unittest.cc base::Unretained(this)))); base 96 dbus/property_unittest.cc base::ThreadRestrictions::SetIOAllowed(true); base 143 dbus/property_unittest.cc base::MessageLoop message_loop_; base 144 dbus/property_unittest.cc scoped_ptr<base::Thread> dbus_thread_; base 184 dbus/property_unittest.cc properties_->name.Get(base::Bind(&PropertyTest::PropertyCallback, base 185 dbus/property_unittest.cc base::Unretained(this), base 193 dbus/property_unittest.cc properties_->version.Get(base::Bind(&PropertyTest::PropertyCallback, base 194 dbus/property_unittest.cc base::Unretained(this), base 203 dbus/property_unittest.cc properties_->methods.Get(base::Bind(&PropertyTest::PropertyCallback, base 204 dbus/property_unittest.cc base::Unretained(this), base 218 dbus/property_unittest.cc properties_->objects.Get(base::Bind(&PropertyTest::PropertyCallback, base 219 dbus/property_unittest.cc base::Unretained(this), base 230 dbus/property_unittest.cc properties_->bytes.Get(base::Bind(&PropertyTest::PropertyCallback, base 231 dbus/property_unittest.cc base::Unretained(this), base 248 dbus/property_unittest.cc properties_->version.Get(base::Bind(&PropertyTest::PropertyCallback, base 249 dbus/property_unittest.cc base::Unretained(this), base 264 dbus/property_unittest.cc base::Bind(&PropertyTest::PropertyCallback, base 265 dbus/property_unittest.cc base::Unretained(this), base 12 dbus/run_all_unittests.cc class NoAtExitBaseTestSuite : public base::TestSuite { base 15 dbus/run_all_unittests.cc : base::TestSuite(argc, argv, false) { base 26 dbus/run_all_unittests.cc base::AtExitManager at_exit; base 27 dbus/run_all_unittests.cc return base::LaunchUnitTestsSerially(argc, base 29 dbus/run_all_unittests.cc base::Bind(&RunTestSuite, argc, argv)); base 31 dbus/signal_sender_verification_unittest.cc base::StatisticsRecorder::Initialize(); base 34 dbus/signal_sender_verification_unittest.cc base::ThreadRestrictions::SetIOAllowed(false); base 37 dbus/signal_sender_verification_unittest.cc dbus_thread_.reset(new base::Thread("D-Bus Thread")); base 38 dbus/signal_sender_verification_unittest.cc base::Thread::Options thread_options; base 39 dbus/signal_sender_verification_unittest.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 54 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnNameOwnerChanged, base 55 dbus/signal_sender_verification_unittest.cc base::Unretained(this), base 63 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnTestSignal, base 64 dbus/signal_sender_verification_unittest.cc base::Unretained(this)), base 65 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnConnected, base 66 dbus/signal_sender_verification_unittest.cc base::Unretained(this))); base 101 dbus/signal_sender_verification_unittest.cc base::ThreadRestrictions::SetIOAllowed(true); base 114 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnOwnershipInternal, base 115 dbus/signal_sender_verification_unittest.cc base::Unretained(this))); base 157 dbus/signal_sender_verification_unittest.cc base::ThreadRestrictions::SetIOAllowed(true); base 159 dbus/signal_sender_verification_unittest.cc base::ThreadRestrictions::SetIOAllowed(false); base 162 dbus/signal_sender_verification_unittest.cc base::MessageLoop message_loop_; base 163 dbus/signal_sender_verification_unittest.cc scoped_ptr<base::Thread> dbus_thread_; base 192 dbus/signal_sender_verification_unittest.cc base::HistogramBase* reject_signal_histogram = base 193 dbus/signal_sender_verification_unittest.cc base::StatisticsRecorder::FindHistogram("DBus.RejectedSignalCount"); base 194 dbus/signal_sender_verification_unittest.cc scoped_ptr<base::HistogramSamples> samples1( base 202 dbus/signal_sender_verification_unittest.cc base::PlatformThread::Sleep(TestTimeouts::action_timeout()); base 204 dbus/signal_sender_verification_unittest.cc scoped_ptr<base::HistogramSamples> samples2( base 234 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnOwnership, base 235 dbus/signal_sender_verification_unittest.cc base::Unretained(this), true)); base 293 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnOwnership, base 294 dbus/signal_sender_verification_unittest.cc base::Unretained(this), true)); base 323 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnNameOwnerChanged, base 324 dbus/signal_sender_verification_unittest.cc base::Unretained(this), base 332 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnTestSignal, base 333 dbus/signal_sender_verification_unittest.cc base::Unretained(this)), base 334 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnConnected, base 335 dbus/signal_sender_verification_unittest.cc base::Unretained(this))); base 359 dbus/signal_sender_verification_unittest.cc base::Bind(&SignalSenderVerificationTest::OnOwnership, base 360 dbus/signal_sender_verification_unittest.cc base::Unretained(this), true)); base 12 dbus/test_server.cc base::AtExitManager exit_manager; base 16 dbus/test_server.cc base::Thread* dbus_thread = new base::Thread("D-Bus Thread"); base 17 dbus/test_server.cc base::Thread::Options thread_options; base 18 dbus/test_server.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 27 dbus/test_server.cc base::PlatformThread::Join(dbus_thread->thread_handle()); base 38 dbus/test_service.cc : base::Thread("TestService"), base 50 dbus/test_service.cc base::Thread::Options thread_options; base 51 dbus/test_service.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 56 dbus/test_service.cc const base::TimeDelta timeout(TestTimeouts::action_max_timeout()); base 64 dbus/test_service.cc base::Bind(&TestService::ShutdownAndBlockInternal, base 65 dbus/test_service.cc base::Unretained(this))); base 82 dbus/test_service.cc base::Bind(&TestService::SendTestSignalInternal, base 83 dbus/test_service.cc base::Unretained(this), base 90 dbus/test_service.cc base::Bind(&TestService::SendTestSignalFromRootInternal, base 91 dbus/test_service.cc base::Unretained(this), base 109 dbus/test_service.cc base::Bind(&TestService::OnOwnership, base 110 dbus/test_service.cc base::Unretained(this), base 111 dbus/test_service.cc base::Bind(&EmptyCallback))); base 118 dbus/test_service.cc void TestService::RequestOwnership(base::Callback<void(bool)> callback) { base 121 dbus/test_service.cc base::Bind(&TestService::RequestOwnershipInternal, base 122 dbus/test_service.cc base::Unretained(this), base 127 dbus/test_service.cc base::Callback<void(bool)> callback) { base 130 dbus/test_service.cc base::Bind(&TestService::OnOwnership, base 131 dbus/test_service.cc base::Unretained(this), base 135 dbus/test_service.cc void TestService::OnOwnership(base::Callback<void(bool)> callback, base 145 dbus/test_service.cc void TestService::ReleaseOwnership(base::Closure callback) { base 148 dbus/test_service.cc base::Bind(&TestService::ReleaseOwnershipInternal, base 149 dbus/test_service.cc base::Unretained(this), base 154 dbus/test_service.cc base::Closure callback) { base 180 dbus/test_service.cc base::Bind(&TestService::OnOwnership, base 181 dbus/test_service.cc base::Unretained(this), base 182 dbus/test_service.cc base::Bind(&EmptyCallback))); base 186 dbus/test_service.cc void TestService::Run(base::MessageLoop* message_loop) { base 200 dbus/test_service.cc base::Bind(&TestService::Echo, base 201 dbus/test_service.cc base::Unretained(this)), base 202 dbus/test_service.cc base::Bind(&TestService::OnExported, base 203 dbus/test_service.cc base::Unretained(this))); base 209 dbus/test_service.cc base::Bind(&TestService::SlowEcho, base 210 dbus/test_service.cc base::Unretained(this)), base 211 dbus/test_service.cc base::Bind(&TestService::OnExported, base 212 dbus/test_service.cc base::Unretained(this))); base 218 dbus/test_service.cc base::Bind(&TestService::AsyncEcho, base 219 dbus/test_service.cc base::Unretained(this)), base 220 dbus/test_service.cc base::Bind(&TestService::OnExported, base 221 dbus/test_service.cc base::Unretained(this))); base 227 dbus/test_service.cc base::Bind(&TestService::BrokenMethod, base 228 dbus/test_service.cc base::Unretained(this)), base 229 dbus/test_service.cc base::Bind(&TestService::OnExported, base 230 dbus/test_service.cc base::Unretained(this))); base 236 dbus/test_service.cc base::Bind(&TestService::PerformAction, base 237 dbus/test_service.cc base::Unretained(this)), base 238 dbus/test_service.cc base::Bind(&TestService::OnExported, base 239 dbus/test_service.cc base::Unretained(this))); base 245 dbus/test_service.cc base::Bind(&TestService::GetAllProperties, base 246 dbus/test_service.cc base::Unretained(this)), base 247 dbus/test_service.cc base::Bind(&TestService::OnExported, base 248 dbus/test_service.cc base::Unretained(this))); base 254 dbus/test_service.cc base::Bind(&TestService::GetProperty, base 255 dbus/test_service.cc base::Unretained(this)), base 256 dbus/test_service.cc base::Bind(&TestService::OnExported, base 257 dbus/test_service.cc base::Unretained(this))); base 263 dbus/test_service.cc base::Bind(&TestService::SetProperty, base 264 dbus/test_service.cc base::Unretained(this)), base 265 dbus/test_service.cc base::Bind(&TestService::OnExported, base 266 dbus/test_service.cc base::Unretained(this))); base 275 dbus/test_service.cc base::Bind(&TestService::GetManagedObjects, base 276 dbus/test_service.cc base::Unretained(this)), base 277 dbus/test_service.cc base::Bind(&TestService::OnExported, base 278 dbus/test_service.cc base::Unretained(this))); base 306 dbus/test_service.cc base::PlatformThread::Sleep(TestTimeouts::tiny_timeout()); base 314 dbus/test_service.cc base::Bind(&TestService::Echo, base 315 dbus/test_service.cc base::Unretained(this), base 479 dbus/test_service.cc ReleaseOwnership(base::Bind(&TestService::PerformActionResponse, base 480 dbus/test_service.cc base::Unretained(this), base 484 dbus/test_service.cc ReleaseOwnership(base::Bind(&TestService::OwnershipReleased, base 485 dbus/test_service.cc base::Unretained(this), base 504 dbus/test_service.cc RequestOwnership(base::Bind(&TestService::OwnershipRegained, base 505 dbus/test_service.cc base::Unretained(this), base 626 dbus/test_service.cc base::Bind(&TestService::AddObjectInternal, base 627 dbus/test_service.cc base::Unretained(this), base 651 dbus/test_service.cc base::Bind(&TestService::RemoveObjectInternal, base 652 dbus/test_service.cc base::Unretained(this), base 672 dbus/test_service.cc base::Bind(&TestService::SendPropertyChangedSignalInternal, base 673 dbus/test_service.cc base::Unretained(this), base 15 dbus/test_service.h namespace base { base 31 dbus/test_service.h class TestService : public base::Thread { base 39 dbus/test_service.h scoped_refptr<base::SequencedTaskRunner> dbus_task_runner; base 75 dbus/test_service.h void RequestOwnership(base::Callback<void(bool)> callback); base 79 dbus/test_service.h void ReleaseOwnership(base::Closure callback); base 99 dbus/test_service.h void OnOwnership(base::Callback<void(bool)> callback, base 109 dbus/test_service.h virtual void Run(base::MessageLoop* message_loop) OVERRIDE; base 171 dbus/test_service.h void RequestOwnershipInternal(base::Callback<void(bool)> callback); base 174 dbus/test_service.h void ReleaseOwnershipInternal(base::Closure callback); base 195 dbus/test_service.h scoped_refptr<base::SequencedTaskRunner> dbus_task_runner_; base 196 dbus/test_service.h base::WaitableEvent on_name_obtained_; base 24 dbus/values_util.cc bool PopListElements(MessageReader* reader, base::ListValue* list_value) { base 26 dbus/values_util.cc base::Value* element_value = PopDataAsValue(reader); base 36 dbus/values_util.cc base::DictionaryValue* dictionary_value) { base 50 dbus/values_util.cc scoped_ptr<base::Value> key(PopDataAsValue(&entry_reader)); base 54 dbus/values_util.cc base::JSONWriter::Write(key.get(), &key_string); base 57 dbus/values_util.cc base::Value* value = PopDataAsValue(&entry_reader); base 66 dbus/values_util.cc std::string GetTypeSignature(const base::Value& value) { base 68 dbus/values_util.cc case base::Value::TYPE_BOOLEAN: base 70 dbus/values_util.cc case base::Value::TYPE_INTEGER: base 72 dbus/values_util.cc case base::Value::TYPE_DOUBLE: base 74 dbus/values_util.cc case base::Value::TYPE_STRING: base 76 dbus/values_util.cc case base::Value::TYPE_BINARY: base 78 dbus/values_util.cc case base::Value::TYPE_DICTIONARY: base 88 dbus/values_util.cc base::Value* PopDataAsValue(MessageReader* reader) { base 89 dbus/values_util.cc base::Value* result = NULL; base 97 dbus/values_util.cc result = new base::FundamentalValue(value); base 103 dbus/values_util.cc result = new base::FundamentalValue(value); base 109 dbus/values_util.cc result = new base::FundamentalValue(value); base 115 dbus/values_util.cc result = new base::FundamentalValue(value); base 121 dbus/values_util.cc result = new base::FundamentalValue(value); base 127 dbus/values_util.cc result = new base::FundamentalValue(static_cast<double>(value)); base 135 dbus/values_util.cc result = new base::FundamentalValue(static_cast<double>(value)); base 144 dbus/values_util.cc result = new base::FundamentalValue(static_cast<double>(value)); base 151 dbus/values_util.cc result = new base::FundamentalValue(value); base 157 dbus/values_util.cc result = new base::StringValue(value); base 163 dbus/values_util.cc result = new base::StringValue(value.value()); base 177 dbus/values_util.cc scoped_ptr<base::DictionaryValue> dictionary_value( base 178 dbus/values_util.cc new base::DictionaryValue); base 182 dbus/values_util.cc scoped_ptr<base::ListValue> list_value(new base::ListValue); base 192 dbus/values_util.cc scoped_ptr<base::ListValue> list_value(new base::ListValue); base 212 dbus/values_util.cc void AppendBasicTypeValueData(MessageWriter* writer, const base::Value& value) { base 214 dbus/values_util.cc case base::Value::TYPE_BOOLEAN: { base 221 dbus/values_util.cc case base::Value::TYPE_INTEGER: { base 228 dbus/values_util.cc case base::Value::TYPE_DOUBLE: { base 235 dbus/values_util.cc case base::Value::TYPE_STRING: { base 249 dbus/values_util.cc const base::Value& value) { base 10 dbus/values_util.h namespace base { base 23 dbus/values_util.h CHROME_DBUS_EXPORT base::Value* PopDataAsValue(MessageReader* reader); base 27 dbus/values_util.h const base::Value& value); base 32 dbus/values_util.h const base::Value& value); base 48 dbus/values_util_unittest.cc scoped_ptr<base::Value> value; base 49 dbus/values_util_unittest.cc scoped_ptr<base::Value> expected_value; base 53 dbus/values_util_unittest.cc expected_value.reset(new base::FundamentalValue(kByteValue)); base 58 dbus/values_util_unittest.cc expected_value.reset(new base::FundamentalValue(kBoolValue)); base 63 dbus/values_util_unittest.cc expected_value.reset(new base::FundamentalValue(kInt16Value)); base 68 dbus/values_util_unittest.cc expected_value.reset(new base::FundamentalValue(kUint16Value)); base 73 dbus/values_util_unittest.cc expected_value.reset(new base::FundamentalValue(kInt32Value)); base 79 dbus/values_util_unittest.cc new base::FundamentalValue(static_cast<double>(kUint32Value))); base 85 dbus/values_util_unittest.cc new base::FundamentalValue(static_cast<double>(kInt64Value))); base 91 dbus/values_util_unittest.cc new base::FundamentalValue(static_cast<double>(kUint64Value))); base 96 dbus/values_util_unittest.cc expected_value.reset(new base::FundamentalValue(kDoubleValue)); base 101 dbus/values_util_unittest.cc expected_value.reset(new base::StringValue(kStringValue)); base 106 dbus/values_util_unittest.cc expected_value.reset(new base::StringValue(kEmptyStringValue)); base 111 dbus/values_util_unittest.cc expected_value.reset(new base::StringValue(kObjectPathValue.value())); base 129 dbus/values_util_unittest.cc scoped_ptr<base::Value> value; base 130 dbus/values_util_unittest.cc scoped_ptr<base::Value> expected_value; base 134 dbus/values_util_unittest.cc expected_value.reset(new base::FundamentalValue(kBoolValue)); base 139 dbus/values_util_unittest.cc expected_value.reset(new base::FundamentalValue(kInt32Value)); base 144 dbus/values_util_unittest.cc expected_value.reset(new base::FundamentalValue(kDoubleValue)); base 149 dbus/values_util_unittest.cc expected_value.reset(new base::StringValue(kStringValue)); base 165 dbus/values_util_unittest.cc scoped_ptr<base::Value> value; base 166 dbus/values_util_unittest.cc scoped_ptr<base::Value> expected_value; base 172 dbus/values_util_unittest.cc new base::FundamentalValue(static_cast<double>(kInt64Value))); base 180 dbus/values_util_unittest.cc new base::FundamentalValue(static_cast<double>(kUint64Value))); base 201 dbus/values_util_unittest.cc scoped_ptr<base::ListValue> list_value(new base::ListValue); base 203 dbus/values_util_unittest.cc list_value->Append(new base::FundamentalValue(data[i])); base 207 dbus/values_util_unittest.cc scoped_ptr<base::Value> value(PopDataAsValue(&reader)); base 224 dbus/values_util_unittest.cc scoped_ptr<base::ListValue> list_value(new base::ListValue); base 226 dbus/values_util_unittest.cc list_value->Append(new base::StringValue(data[i])); base 230 dbus/values_util_unittest.cc scoped_ptr<base::Value> value(PopDataAsValue(&reader)); base 252 dbus/values_util_unittest.cc base::ListValue list_value; base 253 dbus/values_util_unittest.cc list_value.Append(new base::FundamentalValue(kBoolValue)); base 254 dbus/values_util_unittest.cc list_value.Append(new base::FundamentalValue(kInt32Value)); base 255 dbus/values_util_unittest.cc list_value.Append(new base::FundamentalValue(kDoubleValue)); base 256 dbus/values_util_unittest.cc list_value.Append(new base::StringValue(kStringValue)); base 260 dbus/values_util_unittest.cc scoped_ptr<base::Value> value(PopDataAsValue(&reader)); base 299 dbus/values_util_unittest.cc base::DictionaryValue dictionary_value; base 307 dbus/values_util_unittest.cc scoped_ptr<base::Value> value(PopDataAsValue(&reader)); base 340 dbus/values_util_unittest.cc base::DictionaryValue dictionary_value; base 342 dbus/values_util_unittest.cc kKey1, new base::FundamentalValue(kBoolValue)); base 344 dbus/values_util_unittest.cc kKey2, new base::FundamentalValue(kInt32Value)); base 346 dbus/values_util_unittest.cc kKey3, new base::FundamentalValue(kDoubleValue)); base 350 dbus/values_util_unittest.cc scoped_ptr<base::Value> value(PopDataAsValue(&reader)); base 378 dbus/values_util_unittest.cc base::DictionaryValue dictionary_value; base 380 dbus/values_util_unittest.cc scoped_ptr<base::Value> key_value(new base::FundamentalValue(keys[i])); base 382 dbus/values_util_unittest.cc base::JSONWriter::Write(key_value.get(), &key_string); base 384 dbus/values_util_unittest.cc key_string, new base::FundamentalValue(values[i])); base 389 dbus/values_util_unittest.cc scoped_ptr<base::Value> value(PopDataAsValue(&reader)); base 395 dbus/values_util_unittest.cc const base::FundamentalValue kBoolValue(false); base 396 dbus/values_util_unittest.cc const base::FundamentalValue kIntegerValue(42); base 397 dbus/values_util_unittest.cc const base::FundamentalValue kDoubleValue(4.2); base 398 dbus/values_util_unittest.cc const base::StringValue kStringValue("string"); base 408 dbus/values_util_unittest.cc scoped_ptr<base::Value> value; base 424 dbus/values_util_unittest.cc const base::FundamentalValue kBoolValue(false); base 425 dbus/values_util_unittest.cc const base::FundamentalValue kIntegerValue(42); base 426 dbus/values_util_unittest.cc const base::FundamentalValue kDoubleValue(4.2); base 427 dbus/values_util_unittest.cc const base::StringValue kStringValue("string"); base 437 dbus/values_util_unittest.cc scoped_ptr<base::Value> value; base 26 device/bluetooth/bluetooth_adapter.cc base::Bind(&BluetoothAdapter::OnStartDiscoverySession, base 31 device/bluetooth/bluetooth_adapter.h class BluetoothAdapter : public base::RefCounted<BluetoothAdapter> { base 83 device/bluetooth/bluetooth_adapter.h typedef base::Closure ErrorCallback; base 87 device/bluetooth/bluetooth_adapter.h typedef base::Callback<void(const BluetoothOutOfBandPairingData& data)> base 107 device/bluetooth/bluetooth_adapter.h const base::Closure& callback, base 125 device/bluetooth/bluetooth_adapter.h const base::Closure& callback, base 136 device/bluetooth/bluetooth_adapter.h const base::Closure& callback, base 159 device/bluetooth/bluetooth_adapter.h typedef base::Callback<void(scoped_ptr<BluetoothDiscoverySession>)> base 211 device/bluetooth/bluetooth_adapter.h friend class base::RefCounted<BluetoothAdapter>; base 246 device/bluetooth/bluetooth_adapter.h virtual void AddDiscoverySession(const base::Closure& callback, base 248 device/bluetooth/bluetooth_adapter.h virtual void RemoveDiscoverySession(const base::Closure& callback, base 294 device/bluetooth/bluetooth_adapter.h base::WeakPtrFactory<BluetoothAdapter> weak_ptr_factory_; base 79 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&base::DoNothing), base 80 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&OnUnregisterAgentError)); base 120 device/bluetooth/bluetooth_adapter_chromeos.cc const base::Closure& callback, base 125 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnPropertyChangeCompleted, base 152 device/bluetooth/bluetooth_adapter_chromeos.cc const base::Closure& callback, base 157 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnPropertyChangeCompleted, base 176 device/bluetooth/bluetooth_adapter_chromeos.cc const base::Closure& callback, base 181 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnSetDiscoverable, base 467 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnRequestDefaultAgent, base 469 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnRequestDefaultAgentError, base 544 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnRegisterAgent, base 546 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnRegisterAgentError, base 581 device/bluetooth/bluetooth_adapter_chromeos.cc std::string board = base::SysInfo::GetLsbReleaseBoard(); base 591 device/bluetooth/bluetooth_adapter_chromeos.cc SetName(alias, base::Bind(&base::DoNothing), base::Bind(&base::DoNothing)); base 665 device/bluetooth/bluetooth_adapter_chromeos.cc const base::Closure& callback, base 673 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnPropertyChangeCompleted, base 680 device/bluetooth/bluetooth_adapter_chromeos.cc const base::Closure& callback, base 690 device/bluetooth/bluetooth_adapter_chromeos.cc const base::Closure& callback, base 720 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnStartDiscovery, base 723 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnStartDiscoveryError, base 730 device/bluetooth/bluetooth_adapter_chromeos.cc const base::Closure& callback, base 767 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnStopDiscovery, base 770 device/bluetooth/bluetooth_adapter_chromeos.cc base::Bind(&BluetoothAdapterChromeOS::OnStopDiscoveryError, base 775 device/bluetooth/bluetooth_adapter_chromeos.cc void BluetoothAdapterChromeOS::OnStartDiscovery(const base::Closure& callback) { base 789 device/bluetooth/bluetooth_adapter_chromeos.cc const base::Closure& callback, base 816 device/bluetooth/bluetooth_adapter_chromeos.cc void BluetoothAdapterChromeOS::OnStopDiscovery(const base::Closure& callback) { base 49 device/bluetooth/bluetooth_adapter_chromeos.h const base::Closure& callback, base 56 device/bluetooth/bluetooth_adapter_chromeos.h const base::Closure& callback, base 61 device/bluetooth/bluetooth_adapter_chromeos.h const base::Closure& callback, base 84 device/bluetooth/bluetooth_adapter_chromeos.h typedef std::pair<base::Closure, ErrorCallback> DiscoveryCallbackPair; base 175 device/bluetooth/bluetooth_adapter_chromeos.h void OnSetDiscoverable(const base::Closure& callback, base 180 device/bluetooth/bluetooth_adapter_chromeos.h void OnPropertyChangeCompleted(const base::Closure& callback, base 186 device/bluetooth/bluetooth_adapter_chromeos.h const base::Closure& callback, base 189 device/bluetooth/bluetooth_adapter_chromeos.h const base::Closure& callback, base 193 device/bluetooth/bluetooth_adapter_chromeos.h void OnStartDiscovery(const base::Closure& callback); base 194 device/bluetooth/bluetooth_adapter_chromeos.h void OnStartDiscoveryError(const base::Closure& callback, base 200 device/bluetooth/bluetooth_adapter_chromeos.h void OnStopDiscovery(const base::Closure& callback); base 240 device/bluetooth/bluetooth_adapter_chromeos.h base::WeakPtrFactory<BluetoothAdapterChromeOS> weak_ptr_factory_; base 33 device/bluetooth/bluetooth_adapter_factory.cc base::LazyInstance<base::WeakPtr<device::BluetoothAdapter> >::Leaky base 42 device/bluetooth/bluetooth_adapter_factory.cc base::LazyInstance<AdapterCallbackList> adapter_callbacks = base 68 device/bluetooth/bluetooth_adapter_factory.cc return base::mac::IsOSLionOrLater(); base 83 device/bluetooth/bluetooth_adapter_factory.cc base::Bind(&RunAdapterCallbacks)); base 21 device/bluetooth/bluetooth_adapter_factory.h typedef base::Callback<void(scoped_refptr<BluetoothAdapter> adapter)> base 33 device/bluetooth/bluetooth_adapter_mac.h namespace base { base 51 device/bluetooth/bluetooth_adapter_mac.h const base::Closure& callback, base 58 device/bluetooth/bluetooth_adapter_mac.h const base::Closure& callback, base 63 device/bluetooth/bluetooth_adapter_mac.h const base::Closure& callback, base 99 device/bluetooth/bluetooth_adapter_mac.h const base::Closure& callback, base 102 device/bluetooth/bluetooth_adapter_mac.h const base::Closure& callback, base 106 device/bluetooth/bluetooth_adapter_mac.h void InitForTest(scoped_refptr<base::SequencedTaskRunner> ui_task_runner); base 115 device/bluetooth/bluetooth_adapter_mac.h typedef std::vector<std::pair<base::Closure, ErrorCallback> > base 135 device/bluetooth/bluetooth_adapter_mac.h base::hash_set<std::string> discovered_devices_; base 141 device/bluetooth/bluetooth_adapter_mac.h scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; base 146 device/bluetooth/bluetooth_adapter_mac.h base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; base 36 device/bluetooth/bluetooth_adapter_unittest.cc const base::Closure& callback, base 54 device/bluetooth/bluetooth_adapter_unittest.cc const base::Closure& callback, base 64 device/bluetooth/bluetooth_adapter_unittest.cc const base::Closure& callback, base 86 device/bluetooth/bluetooth_adapter_unittest.cc const base::Closure& callback, base 91 device/bluetooth/bluetooth_adapter_unittest.cc const base::Closure& callback, base 57 device/bluetooth/bluetooth_adapter_win.cc const base::Closure& callback, base 78 device/bluetooth/bluetooth_adapter_win.cc const base::Closure& callback, base 90 device/bluetooth/bluetooth_adapter_win.cc const base::Closure& callback, base 102 device/bluetooth/bluetooth_adapter_win.cc for (std::vector<std::pair<base::Closure, ErrorCallback> >::const_iterator base 131 device/bluetooth/bluetooth_adapter_win.cc for (std::vector<base::Closure>::const_iterator iter = base 210 device/bluetooth/bluetooth_adapter_win.cc const base::Closure& callback, base 223 device/bluetooth/bluetooth_adapter_win.cc const base::Closure& callback, base 234 device/bluetooth/bluetooth_adapter_win.cc ui_task_runner_ = base::ThreadTaskRunnerHandle::Get(); base 242 device/bluetooth/bluetooth_adapter_win.cc scoped_refptr<base::SequencedTaskRunner> ui_task_runner, base 243 device/bluetooth/bluetooth_adapter_win.cc scoped_refptr<base::SequencedTaskRunner> bluetooth_task_runner) { base 264 device/bluetooth/bluetooth_adapter_win.cc for (std::vector<base::Closure>::const_iterator iter = base 20 device/bluetooth/bluetooth_adapter_win.h namespace base { base 35 device/bluetooth/bluetooth_adapter_win.h typedef base::Callback<void()> InitCallback; base 43 device/bluetooth/bluetooth_adapter_win.h const base::Closure& callback, base 50 device/bluetooth/bluetooth_adapter_win.h const base::Closure& callback, base 55 device/bluetooth/bluetooth_adapter_win.h const base::Closure& callback, base 96 device/bluetooth/bluetooth_adapter_win.h const base::Closure& callback, base 99 device/bluetooth/bluetooth_adapter_win.h const base::Closure& callback, base 104 device/bluetooth/bluetooth_adapter_win.h scoped_refptr<base::SequencedTaskRunner> ui_task_runner, base 105 device/bluetooth/bluetooth_adapter_win.h scoped_refptr<base::SequencedTaskRunner> bluetooth_task_runner); base 116 device/bluetooth/bluetooth_adapter_win.h base::hash_set<std::string> discovered_devices_; base 118 device/bluetooth/bluetooth_adapter_win.h std::vector<std::pair<base::Closure, ErrorCallback> > base 120 device/bluetooth/bluetooth_adapter_win.h std::vector<base::Closure> on_stop_discovery_callbacks_; base 123 device/bluetooth/bluetooth_adapter_win.h scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; base 126 device/bluetooth/bluetooth_adapter_win.h base::ThreadChecker thread_checker_; base 133 device/bluetooth/bluetooth_adapter_win.h base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_; base 92 device/bluetooth/bluetooth_adapter_win_unittest.cc : ui_task_runner_(new base::TestSimpleTaskRunner()), base 93 device/bluetooth/bluetooth_adapter_win_unittest.cc bluetooth_task_runner_(new base::TestSimpleTaskRunner()), base 95 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::RunInitCallback, base 96 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)))), base 135 device/bluetooth/bluetooth_adapter_win_unittest.cc const base::Closure& callback, base 141 device/bluetooth/bluetooth_adapter_win_unittest.cc const base::Closure& callback, base 147 device/bluetooth/bluetooth_adapter_win_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_; base 148 device/bluetooth/bluetooth_adapter_win_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> bluetooth_task_runner_; base 210 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStartDiscoveryCallbacks, base 211 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 226 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), base 227 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 229 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this))); base 242 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 244 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 262 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), base 263 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 265 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this))); base 276 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStartDiscoveryCallbacks, base 277 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 288 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 290 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 303 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), base 304 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 306 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this))); base 313 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStartDiscoveryCallbacks, base 314 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 324 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 328 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStopDiscoveryCallbacks, base 329 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 346 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 353 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStopDiscoveryCallbacks, base 354 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 361 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStopDiscoveryCallbacks, base 362 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 376 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStartDiscoveryCallbacks, base 377 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 381 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStartDiscoveryCallbacks, base 382 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 387 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStopDiscoveryCallbacks, base 388 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 392 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind(&BluetoothAdapterWinTest::IncrementNumStopDiscoveryCallbacks, base 393 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 401 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 405 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 409 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 416 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 419 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 421 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 429 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), base 430 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 432 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this))); base 438 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 440 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), BluetoothAdapter::ErrorCallback()); base 451 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 453 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 458 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 460 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 473 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Closure(), base 474 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 476 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this))); base 478 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Bind( base 480 device/bluetooth/bluetooth_adapter_win_unittest.cc base::Unretained(this)), base 135 device/bluetooth/bluetooth_chromeos_unittest.cc if (base::MessageLoop::current() && base 136 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop::current()->is_running()) base 137 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop::current()->Quit(); base 223 device/bluetooth/bluetooth_chromeos_unittest.cc if (base::MessageLoop::current() && base 224 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop::current()->is_running()) base 225 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop::current()->Quit(); base 264 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 265 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 266 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 267 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 320 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(base::MessageLoop::current() != NULL); base 327 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 328 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 329 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 330 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 332 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 333 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 334 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 335 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 336 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop::current()->Run(); base 348 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop::current()->Run(); base 351 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 352 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 353 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 354 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 355 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop::current()->Run(); base 371 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop message_loop_; base 386 device/bluetooth/bluetooth_chromeos_unittest.cc if (base::MessageLoop::current() && base 387 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop::current()->is_running()) base 388 device/bluetooth/bluetooth_chromeos_unittest.cc base::MessageLoop::current()->Quit(); base 521 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 522 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 523 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 524 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 538 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 539 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 540 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 541 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 554 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 555 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 556 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 557 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 574 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 575 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 576 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 577 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 594 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 595 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 596 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 597 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 610 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 611 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 612 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 613 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 626 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 627 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 628 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 629 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 643 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 644 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 645 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 646 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 648 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 649 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 650 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 651 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 668 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 669 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 670 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 671 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 691 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 692 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 693 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 694 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 696 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 697 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 698 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 699 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 734 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 735 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 736 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 737 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 739 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 740 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 741 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 742 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 808 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 809 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 810 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 811 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 826 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 827 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 828 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 829 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 847 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 848 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 849 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 850 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 869 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 870 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 871 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 872 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 888 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 889 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 890 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 891 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 911 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 912 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 913 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 914 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 932 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 933 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 934 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 935 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 950 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 951 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 952 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 953 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 986 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 987 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 988 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 989 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1005 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1006 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1007 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1008 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1053 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1054 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1055 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1056 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1067 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1068 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1069 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1070 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1082 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1083 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1084 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1085 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1100 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1101 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1102 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 1103 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1114 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1115 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1116 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1117 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1131 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1132 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1133 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1134 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1149 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1150 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1151 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1152 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1190 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1191 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1192 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 1193 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1208 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1209 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1210 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1211 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1225 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1226 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1227 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1228 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1245 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1246 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1247 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1248 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1271 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1272 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1273 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1274 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1287 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1288 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1289 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1290 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1300 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1301 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1302 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1303 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1338 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1339 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1340 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1341 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1356 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1357 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1358 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1359 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1373 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1374 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1375 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1376 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1388 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DiscoverySessionCallback, base 1389 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1390 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1391 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1405 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1406 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1407 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1408 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1440 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(FakeBluetoothDeviceClient::kPairedDeviceName), base 1496 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_EQ(base::UTF8ToUTF16(FakeBluetoothDeviceClient::kPairedDeviceName), base 1513 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(new_name), devices[0]->GetName()); base 1575 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1576 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1599 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1600 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1601 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1602 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1622 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1623 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1650 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1651 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1652 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1653 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1682 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1683 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1684 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1685 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1721 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1722 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1723 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1724 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1738 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1739 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1740 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1741 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1769 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1770 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1771 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1772 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1794 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1795 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1796 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1797 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1811 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1812 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1813 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1814 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1839 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1840 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1841 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ErrorCallback, base 1842 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1870 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1871 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1872 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1873 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1924 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1925 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1926 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1927 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 1981 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 1982 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 1983 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 1984 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2058 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2059 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2060 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2061 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2115 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2116 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2117 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2118 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2170 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2171 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2172 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2173 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2224 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2225 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2226 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2227 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2272 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2273 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2274 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2275 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2310 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2311 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2312 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2313 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2349 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2350 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2351 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2352 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2399 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2400 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2401 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2402 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2440 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2441 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2442 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2443 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2481 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2482 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2483 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2484 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2522 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2523 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2524 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2525 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2563 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2564 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2565 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2566 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2604 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2605 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2606 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2607 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2645 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2646 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2647 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::ConnectErrorCallback, base 2648 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2692 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2693 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2694 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 2695 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2749 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2750 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2751 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 2752 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2807 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2808 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2809 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 2810 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2865 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2866 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2867 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 2868 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2918 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2919 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2920 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 2921 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 2960 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 2961 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 2962 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 2963 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 3002 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 3003 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 3004 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 3005 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 3044 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 3045 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 3046 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 3047 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 3090 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::Callback, base 3091 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this)), base 3092 device/bluetooth/bluetooth_chromeos_unittest.cc base::Bind(&BluetoothChromeOSTest::DBusErrorCallback, base 3093 device/bluetooth/bluetooth_chromeos_unittest.cc base::Unretained(this))); base 21 device/bluetooth/bluetooth_device.cc base::string16 BluetoothDevice::GetName() const { base 24 device/bluetooth/bluetooth_device.cc return base::UTF8ToUTF16(name); base 30 device/bluetooth/bluetooth_device.cc base::string16 BluetoothDevice::GetAddressWithLocalizedDeviceTypeName() const { base 31 device/bluetooth/bluetooth_device.cc base::string16 address_utf16 = base::UTF8ToUTF16(GetAddress()); base 200 device/bluetooth/bluetooth_device.h virtual base::string16 GetName() const; base 241 device/bluetooth/bluetooth_device.h typedef base::Callback<void()> ErrorCallback; base 246 device/bluetooth/bluetooth_device.h typedef base::Callback<void(enum ConnectErrorCode)> ConnectErrorCallback; base 263 device/bluetooth/bluetooth_device.h typedef base::Callback<void(scoped_refptr<BluetoothSocket>)> base 281 device/bluetooth/bluetooth_device.h const base::Closure& callback, base 313 device/bluetooth/bluetooth_device.h virtual void Disconnect(const base::Closure& callback, base 339 device/bluetooth/bluetooth_device.h const base::Closure& callback, base 346 device/bluetooth/bluetooth_device.h const base::Closure& callback, base 352 device/bluetooth/bluetooth_device.h const base::Closure& callback, base 364 device/bluetooth/bluetooth_device.h base::string16 GetAddressWithLocalizedDeviceTypeName() const; base 247 device/bluetooth/bluetooth_device_chromeos.cc const base::Closure& callback, base 264 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&BluetoothDeviceChromeOS::OnPair, base 267 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&BluetoothDeviceChromeOS::OnPairError, base 316 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&base::DoNothing), base 317 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&BluetoothDeviceChromeOS::OnCancelPairingError, base 328 device/bluetooth/bluetooth_device_chromeos.cc void BluetoothDeviceChromeOS::Disconnect(const base::Closure& callback, base 334 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&BluetoothDeviceChromeOS::OnDisconnect, base 337 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&BluetoothDeviceChromeOS::OnDisconnectError, base 348 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&base::DoNothing), base 349 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&BluetoothDeviceChromeOS::OnForgetError, base 363 device/bluetooth/bluetooth_device_chromeos.cc const base::Closure& callback, base 373 device/bluetooth/bluetooth_device_chromeos.cc base::Bind( base 378 device/bluetooth/bluetooth_device_chromeos.cc base::Bind( base 387 device/bluetooth/bluetooth_device_chromeos.cc const base::Closure& callback, base 394 device/bluetooth/bluetooth_device_chromeos.cc const base::Closure& callback, base 416 device/bluetooth/bluetooth_device_chromeos.cc const base::Closure& callback, base 422 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&BluetoothDeviceChromeOS::OnConnect, base 426 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&BluetoothDeviceChromeOS::OnConnectError, base 433 device/bluetooth/bluetooth_device_chromeos.cc const base::Closure& callback) { base 481 device/bluetooth/bluetooth_device_chromeos.cc const base::Closure& callback, base 540 device/bluetooth/bluetooth_device_chromeos.cc base::Bind(&BluetoothDeviceChromeOS::OnSetTrusted, base 549 device/bluetooth/bluetooth_device_chromeos.cc void BluetoothDeviceChromeOS::OnDisconnect(const base::Closure& callback) { base 574 device/bluetooth/bluetooth_device_chromeos.cc const base::Closure& callback) { base 43 device/bluetooth/bluetooth_device_chromeos.h const base::Closure& callback, base 51 device/bluetooth/bluetooth_device_chromeos.h const base::Closure& callback, base 59 device/bluetooth/bluetooth_device_chromeos.h const base::Closure& callback, base 63 device/bluetooth/bluetooth_device_chromeos.h const base::Closure& callback, base 66 device/bluetooth/bluetooth_device_chromeos.h const base::Closure& callback, base 96 device/bluetooth/bluetooth_device_chromeos.h const base::Closure& callback, base 99 device/bluetooth/bluetooth_device_chromeos.h const base::Closure& callback); base 106 device/bluetooth/bluetooth_device_chromeos.h void OnPair(const base::Closure& callback, base 127 device/bluetooth/bluetooth_device_chromeos.h void OnDisconnect(const base::Closure& callback); base 142 device/bluetooth/bluetooth_device_chromeos.h const base::Closure& callback); base 167 device/bluetooth/bluetooth_device_chromeos.h base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; base 43 device/bluetooth/bluetooth_device_mac.h const base::Closure& callback, base 51 device/bluetooth/bluetooth_device_mac.h const base::Closure& callback, base 59 device/bluetooth/bluetooth_device_mac.h const base::Closure& callback, base 63 device/bluetooth/bluetooth_device_mac.h const base::Closure& callback, base 66 device/bluetooth/bluetooth_device_mac.h const base::Closure& callback, base 128 device/bluetooth/bluetooth_device_win.cc const base::Closure& callback, base 154 device/bluetooth/bluetooth_device_win.cc const base::Closure& callback, base 183 device/bluetooth/bluetooth_device_win.cc const base::Closure& callback, base 193 device/bluetooth/bluetooth_device_win.cc const base::Closure& callback, base 199 device/bluetooth/bluetooth_device_win.cc const base::Closure& callback, base 43 device/bluetooth/bluetooth_device_win.h const base::Closure& callback, base 51 device/bluetooth/bluetooth_device_win.h const base::Closure& callback, base 59 device/bluetooth/bluetooth_device_win.h const base::Closure& callback, base 63 device/bluetooth/bluetooth_device_win.h const base::Closure& callback, base 66 device/bluetooth/bluetooth_device_win.h const base::Closure& callback, base 53 device/bluetooth/bluetooth_device_win_unittest.cc base::HexStringToBytes(kTestAudioSdpBytes, &audio_state->sdp_bytes); base 60 device/bluetooth/bluetooth_device_win_unittest.cc base::HexStringToBytes(kTestVideoSdpBytes, &video_state->sdp_bytes); base 27 device/bluetooth/bluetooth_discovery_session.cc Stop(base::Bind(&base::DoNothing), base::Bind(&base::DoNothing)); base 36 device/bluetooth/bluetooth_discovery_session.cc const base::Closure& callback, base 46 device/bluetooth/bluetooth_discovery_session.cc base::Bind(&BluetoothDiscoverySession::OnStop, base 52 device/bluetooth/bluetooth_discovery_session.cc void BluetoothDiscoverySession::OnStop(const base::Closure& callback) { base 31 device/bluetooth/bluetooth_discovery_session.h typedef base::Closure ErrorCallback; base 57 device/bluetooth/bluetooth_discovery_session.h virtual void Stop(const base::Closure& callback, base 68 device/bluetooth/bluetooth_discovery_session.h void OnStop(const base::Closure& callback); base 83 device/bluetooth/bluetooth_discovery_session.h base::WeakPtrFactory<BluetoothDiscoverySession> weak_ptr_factory_; base 98 device/bluetooth/bluetooth_gatt_characteristic.h typedef base::Callback<void(const std::string&)> ErrorCallback; base 102 device/bluetooth/bluetooth_gatt_characteristic.h typedef base::Callback<void(const std::vector<uint8>&)> ValueCallback; base 182 device/bluetooth/bluetooth_gatt_characteristic.h const base::Closure& callback, base 127 device/bluetooth/bluetooth_gatt_descriptor.h typedef base::Callback<void(const std::string&)> ErrorCallback; base 131 device/bluetooth/bluetooth_gatt_descriptor.h typedef base::Callback<void(const std::vector<uint8>&)> ValueCallback; base 184 device/bluetooth/bluetooth_gatt_descriptor.h const base::Closure& callback, base 41 device/bluetooth/bluetooth_gatt_service.h typedef base::Callback<void(const std::vector<uint8>)> ValueCallback; base 42 device/bluetooth/bluetooth_gatt_service.h typedef base::Closure ErrorCallback; base 150 device/bluetooth/bluetooth_gatt_service.h typedef base::Callback<void(const std::string&)> ErrorCallback; base 211 device/bluetooth/bluetooth_gatt_service.h virtual void Register(const base::Closure& callback, base 213 device/bluetooth/bluetooth_gatt_service.h virtual void Unregister(const base::Closure& callback, base 31 device/bluetooth/bluetooth_init_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 53 device/bluetooth/bluetooth_profile.cc if (base::mac::IsOSLionOrLater()) base 81 device/bluetooth/bluetooth_profile.h typedef base::Callback<void(BluetoothProfile*)> ProfileCallback; base 98 device/bluetooth/bluetooth_profile.h typedef base::Callback<void( base 47 device/bluetooth/bluetooth_profile_chromeos.cc base::ThreadRestrictions::AssertIOAllowed(); base 98 device/bluetooth/bluetooth_profile_chromeos.cc base::ReplaceChars(uuid.canonical_value(), ":-", "_", &uuid_path); base 111 device/bluetooth/bluetooth_profile_chromeos.cc base::Bind(&BluetoothProfileChromeOS::OnGetAdapter, base 126 device/bluetooth/bluetooth_profile_chromeos.cc base::Bind(&BluetoothProfileChromeOS::OnUnregisterProfile, base 128 device/bluetooth/bluetooth_profile_chromeos.cc base::Bind(&BluetoothProfileChromeOS::OnUnregisterProfileError, base 148 device/bluetooth/bluetooth_profile_chromeos.cc base::Bind(&BluetoothProfileChromeOS::OnInternalRegisterProfile, base 150 device/bluetooth/bluetooth_profile_chromeos.cc base::Bind(&BluetoothProfileChromeOS::OnInternalRegisterProfileError, base 167 device/bluetooth/bluetooth_profile_chromeos.cc base::Bind(&BluetoothProfileChromeOS::OnRegisterProfile, base 170 device/bluetooth/bluetooth_profile_chromeos.cc base::Bind(&BluetoothProfileChromeOS::OnRegisterProfileError, base 196 device/bluetooth/bluetooth_profile_chromeos.cc base::PostTaskAndReplyWithResult( base 197 device/bluetooth/bluetooth_profile_chromeos.cc base::WorkerPool::GetTaskRunner(false).get(), base 199 device/bluetooth/bluetooth_profile_chromeos.cc base::Bind(&CheckValidity, base::Passed(&fd)), base 200 device/bluetooth/bluetooth_profile_chromeos.cc base::Bind(&BluetoothProfileChromeOS::OnCheckValidity, base 131 device/bluetooth/bluetooth_profile_chromeos.h base::WeakPtrFactory<BluetoothProfileChromeOS> weak_ptr_factory_; base 63 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&BluetoothProfileChromeOSTest::AdapterCallback, base 64 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Unretained(this))); base 71 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&base::DoNothing), base 72 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&base::DoNothing)); base 110 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::MessageLoopForIO message_loop_; base 131 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&BluetoothProfileChromeOSTest::ProfileCallback, base 132 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Unretained(this))); base 146 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&BluetoothProfileChromeOSTest::ConnectionCallback, base 147 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Unretained(this))); base 158 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&BluetoothProfileChromeOSTest::Callback, base 159 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Unretained(this)), base 160 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&BluetoothProfileChromeOSTest::ErrorCallback, base 161 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Unretained(this))); base 257 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&BluetoothProfileChromeOSTest::ProfileCallback, base 258 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Unretained(this))); base 272 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&BluetoothProfileChromeOSTest::ConnectionCallback, base 273 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Unretained(this))); base 284 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&BluetoothProfileChromeOSTest::Callback, base 285 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Unretained(this)), base 286 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Bind(&BluetoothProfileChromeOSTest::ErrorCallback, base 287 device/bluetooth/bluetooth_profile_chromeos_unittest.cc base::Unretained(this))); base 74 device/bluetooth/bluetooth_service_record_win.cc base::StringPrintf("%04x", inner_uuid_data.data.uuid16); base 78 device/bluetooth/bluetooth_service_record_win.cc base::StringPrintf("%08x", inner_uuid_data.data.uuid32); base 81 device/bluetooth/bluetooth_service_record_win.cc *uuid = device::BluetoothUUID(base::StringPrintf( base 108 device/bluetooth/bluetooth_service_record_win.cc base::HexStringToBytes(numbers_only, &address_bytes); base 36 device/bluetooth/bluetooth_service_record_win_unittest.cc base::HexStringToBytes(sdp_hex_char, &sdp_bytes_vector); base 25 device/bluetooth/bluetooth_socket.h class BluetoothSocket : public base::RefCounted<BluetoothSocket> { base 40 device/bluetooth/bluetooth_socket.h friend class base::RefCounted<BluetoothSocket>; base 51 device/bluetooth/bluetooth_socket_chromeos.cc base::ThreadRestrictions::AssertIOAllowed(); base 129 device/bluetooth/bluetooth_socket_chromeos.cc base::ThreadRestrictions::AssertIOAllowed(); base 28 device/bluetooth/bluetooth_socket_win.cc return base::SysWideToUTF8(error_msg); base 43 device/bluetooth/bluetooth_task_manager_win.cc name = base::SysWideToUTF8(adapter_info.szName); base 44 device/bluetooth/bluetooth_task_manager_win.cc address = base::StringPrintf("%02X:%02X:%02X:%02X:%02X:%02X", base 60 device/bluetooth/bluetooth_task_manager_win.cc state->name = base::SysWideToUTF8(device_info.szName); base 61 device/bluetooth/bluetooth_task_manager_win.cc state->address = base::StringPrintf("%02X:%02X:%02X:%02X:%02X:%02X", base 82 device/bluetooth/bluetooth_task_manager_win.cc scoped_refptr<base::SequencedTaskRunner> ui_task_runner) base 104 device/bluetooth/bluetooth_task_manager_win.cc worker_pool_ = new base::SequencedWorkerPool(kNumThreadsInWorkerPool, base 109 device/bluetooth/bluetooth_task_manager_win.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN)); base 113 device/bluetooth/bluetooth_task_manager_win.cc scoped_refptr<base::SequencedTaskRunner> bluetooth_task_runner) { base 118 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::StartPolling, this)); base 133 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::OnAdapterStateChanged, base 135 device/bluetooth/bluetooth_task_manager_win.cc base::Owned(state))); base 147 device/bluetooth/bluetooth_task_manager_win.cc const base::Closure& callback, base 152 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::SetPowered, base 163 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::StartDiscovery, this)); base 170 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::StopDiscovery, this)); base 229 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::PollAdapter, base 231 device/bluetooth/bluetooth_task_manager_win.cc base::TimeDelta::FromMilliseconds(kPollIntervalMs)); base 240 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::OnAdapterStateChanged, base 242 device/bluetooth/bluetooth_task_manager_win.cc base::Owned(state))); base 247 device/bluetooth/bluetooth_task_manager_win.cc const base::Closure& callback, base 269 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::OnDiscoveryStarted, base 284 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::OnDiscoveryStopped, this)); base 292 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::OnDiscoveryStopped, this)); base 304 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::OnDevicesDiscovered, base 306 device/bluetooth/bluetooth_task_manager_win.cc base::Owned(device_list))); base 312 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::DiscoverDevices, base 318 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::OnDiscoveryStopped, this)); base 333 device/bluetooth/bluetooth_task_manager_win.cc base::Bind(&BluetoothTaskManagerWin::OnDevicesUpdated, base 335 device/bluetooth/bluetooth_task_manager_win.cc base::Owned(device_list))); base 386 device/bluetooth/bluetooth_task_manager_win.cc base::SysUTF8ToWide("(" + device_address + ")").copy( base 404 device/bluetooth/bluetooth_task_manager_win.cc base::SysWideToUTF8(sdp_result_data->lpszServiceInstanceName); base 17 device/bluetooth/bluetooth_task_manager_win.h namespace base { base 35 device/bluetooth/bluetooth_task_manager_win.h : public base::RefCountedThreadSafe<BluetoothTaskManagerWin> { base 71 device/bluetooth/bluetooth_task_manager_win.h scoped_refptr<base::SequencedTaskRunner> ui_task_runner); base 78 device/bluetooth/bluetooth_task_manager_win.h scoped_refptr<base::SequencedTaskRunner> bluetooth_task_runner); base 83 device/bluetooth/bluetooth_task_manager_win.h const base::Closure& callback, base 89 device/bluetooth/bluetooth_task_manager_win.h friend class base::RefCountedThreadSafe<BluetoothTaskManagerWin>; base 109 device/bluetooth/bluetooth_task_manager_win.h const base::Closure& callback, base 138 device/bluetooth/bluetooth_task_manager_win.h scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; base 140 device/bluetooth/bluetooth_task_manager_win.h scoped_refptr<base::SequencedWorkerPool> worker_pool_; base 141 device/bluetooth/bluetooth_task_manager_win.h scoped_refptr<base::SequencedTaskRunner> bluetooth_task_runner_; base 147 device/bluetooth/bluetooth_task_manager_win.h base::win::ScopedHandle adapter_handle_; base 64 device/bluetooth/bluetooth_task_manager_win_unittest.cc : ui_task_runner_(new base::TestSimpleTaskRunner()), base 65 device/bluetooth/bluetooth_task_manager_win_unittest.cc bluetooth_task_runner_(new base::TestSimpleTaskRunner()), base 84 device/bluetooth/bluetooth_task_manager_win_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_; base 85 device/bluetooth/bluetooth_task_manager_win_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> bluetooth_task_runner_; base 121 device/bluetooth/bluetooth_task_manager_win_unittest.cc base::Closure closure; base 18 device/bluetooth/test/mock_bluetooth_adapter.cc const base::Closure& callback, base 22 device/bluetooth/test/mock_bluetooth_adapter.cc const base::Closure& callback, base 40 device/bluetooth/test/mock_bluetooth_adapter.h const base::Closure& callback, base 47 device/bluetooth/test/mock_bluetooth_adapter.h const base::Closure& callback, base 52 device/bluetooth/test/mock_bluetooth_adapter.h const base::Closure& callback, base 74 device/bluetooth/test/mock_bluetooth_adapter.h virtual void AddDiscoverySession(const base::Closure& callback, base 76 device/bluetooth/test/mock_bluetooth_adapter.h virtual void RemoveDiscoverySession(const base::Closure& callback, base 46 device/bluetooth/test/mock_bluetooth_device.cc .WillByDefault(testing::Return(base::UTF8ToUTF16(name_))); base 37 device/bluetooth/test/mock_bluetooth_device.h MOCK_CONST_METHOD0(GetName, base::string16()); base 49 device/bluetooth/test/mock_bluetooth_device.h const base::Closure& callback, base 58 device/bluetooth/test/mock_bluetooth_device.h void(const base::Closure& callback, base 66 device/bluetooth/test/mock_bluetooth_device.h const base::Closure&, base 71 device/bluetooth/test/mock_bluetooth_device.h const base::Closure& callback, base 74 device/bluetooth/test/mock_bluetooth_device.h void(const base::Closure& callback, base 23 device/bluetooth/test/mock_bluetooth_discovery_session.h void(const base::Closure& callback, base 17 device/hid/hid_connection.h class HidConnection : public base::RefCountedThreadSafe<HidConnection> { base 19 device/hid/hid_connection.h typedef base::Callback<void(bool success, size_t size)> IOCallback; base 36 device/hid/hid_connection.h friend class base::RefCountedThreadSafe<HidConnection>; base 61 device/hid/hid_connection_linux.cc int flags = base::File::FLAG_OPEN | base 62 device/hid/hid_connection_linux.cc base::File::FLAG_READ | base 63 device/hid/hid_connection_linux.cc base::File::FLAG_WRITE; base 65 device/hid/hid_connection_linux.cc base::File device_file(base::FilePath(dev_node), flags); base 77 device/hid/hid_connection_linux.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 80 device/hid/hid_connection_linux.cc base::MessageLoopForIO::WATCH_READ_WRITE, base 17 device/hid/hid_connection_linux.h public base::MessagePumpLibevent::Watcher { base 39 device/hid/hid_connection_linux.h friend class base::RefCountedThreadSafe<HidConnectionLinux>; base 47 device/hid/hid_connection_linux.h base::File device_file_; base 48 device/hid/hid_connection_linux.h base::MessagePumpLibevent::FileDescriptorWatcher device_file_watcher_; base 53 device/hid/hid_connection_linux.h base::ThreadChecker thread_checker_; base 17 device/hid/hid_connection_mac.cc device_(device_info.device_id, base::scoped_policy::RETAIN) { base 20 device/hid/hid_connection_mac.cc message_loop_ = base::MessageLoopProxy::current(); base 115 device/hid/hid_connection_mac.cc base::Bind( base 20 device/hid/hid_connection_mac.h namespace base { base 65 device/hid/hid_connection_mac.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 67 device/hid/hid_connection_mac.h base::ScopedCFTypeRef<IOHIDDeviceRef> device_; base 68 device/hid/hid_connection_mac.h scoped_ptr<uint8_t, base::FreeDeleter> inbound_buffer_; base 73 device/hid/hid_connection_mac.h base::ThreadChecker thread_checker_; base 41 device/hid/hid_connection_unittest.cc base::MessageLoop::current()->Quit(); base 49 device/hid/hid_connection_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(Read, conn)); base 51 device/hid/hid_connection_unittest.cc base::MessageLoop::current()->Quit(); base 57 device/hid/hid_connection_unittest.cc conn->Read(buffer, base::Bind(OnRead, conn, buffer)); base 63 device/hid/hid_connection_unittest.cc base::MessageLoop::current()->Quit(); base 70 device/hid/hid_connection_unittest.cc conn->Write(0, buffer, base::Bind(OnWriteNormal)); base 78 device/hid/hid_connection_unittest.cc message_loop_.reset(new base::MessageLoopForIO()); base 102 device/hid/hid_connection_unittest.cc scoped_ptr<base::MessageLoopForIO> message_loop_; base 114 device/hid/hid_connection_unittest.cc message_loop_->PostTask(FROM_HERE, base::Bind(Read, connection)); base 123 device/hid/hid_connection_unittest.cc message_loop_->PostTask(FROM_HERE, base::Bind(WriteNormal, connection)); base 31 device/hid/hid_connection_win.cc struct PendingHidTransfer : public base::RefCounted<PendingHidTransfer>, base 32 device/hid/hid_connection_win.cc public base::win::ObjectWatcher::Delegate, base 33 device/hid/hid_connection_win.cc public base::MessageLoop::DestructionObserver { base 54 device/hid/hid_connection_win.cc base::win::ScopedHandle event_; base 55 device/hid/hid_connection_win.cc base::win::ObjectWatcher watcher_; base 80 device/hid/hid_connection_win.cc base::MessageLoop::current()->RemoveDestructionObserver(this); base 87 device/hid/hid_connection_win.cc base::MessageLoop::current()->AddDestructionObserver(this); base 47 device/hid/hid_connection_win.h base::win::ScopedHandle file_; base 50 device/hid/hid_connection_win.h base::ThreadChecker thread_checker_; base 26 device/hid/hid_service.cc base::LazyInstance<scoped_ptr<HidService> >::Leaky g_hid_service_ptr = base 57 device/hid/hid_service.cc base::ThreadRestrictions::AssertIOAllowed(); base 59 device/hid/hid_service.cc base::MessageLoop::current()->AddDestructionObserver(this); base 64 device/hid/hid_service.cc base::MessageLoop::current()->RemoveDestructionObserver(this); base 22 device/hid/hid_service.h class HidService : public base::MessageLoop::DestructionObserver { base 41 device/hid/hid_service.h friend struct base::DefaultDeleter<HidService>; base 54 device/hid/hid_service.h base::ThreadChecker thread_checker_; base 68 device/hid/hid_service_linux.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 71 device/hid/hid_service_linux.cc base::MessageLoopForIO::WATCH_READ, base 165 device/hid/hid_service_linux.cc base::SplitString(hid_id, ':', &parts); base 170 device/hid/hid_service_linux.cc if (HexStringToUInt(base::StringPiece(parts[1]), &int_property)) { base 174 device/hid/hid_service_linux.cc if (HexStringToUInt(base::StringPiece(parts[2]), &int_property)) { base 52 device/hid/hid_service_linux.h public base::MessagePumpLibevent::Watcher { base 73 device/hid/hid_service_linux.h base::MessagePumpLibevent::FileDescriptorWatcher monitor_watcher_; base 46 device/hid/hid_service_mac.cc base::ScopedCFTypeRef<CFSetRef> devices(IOHIDManagerCopyDevices(hid_manager)); base 55 device/hid/hid_service_mac.cc message_loop_ = base::MessageLoopProxy::current(); base 105 device/hid/hid_service_mac.cc base::Bind(&HidServiceMac::PlatformAddDevice, base 106 device/hid/hid_service_mac.cc base::Unretained(service), base 107 device/hid/hid_service_mac.cc base::Unretained(hid_device))); base 118 device/hid/hid_service_mac.cc base::Bind(&HidServiceMac::PlatformRemoveDevice, base 119 device/hid/hid_service_mac.cc base::Unretained(service), base 120 device/hid/hid_service_mac.cc base::Unretained(hid_device))); base 17 device/hid/hid_service_mac.h namespace base { base 54 device/hid/hid_service_mac.h base::ScopedCFTypeRef<IOHIDManagerRef> hid_manager_; base 57 device/hid/hid_service_mac.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 14 device/hid/hid_service_unittest.cc base::MessageLoopForIO message_loop; base 88 device/hid/hid_service_win.cc scoped_ptr<SP_DEVICE_INTERFACE_DETAIL_DATA_A, base::FreeDeleter> base 148 device/hid/hid_service_win.cc base::win::ScopedHandle device_handle( base 225 device/hid/hid_service_win.cc device_info.serial_number = base::SysWideToUTF8(str_property); base 231 device/hid/hid_service_win.cc device_info.product_name = base::SysWideToUTF8(str_property); base 28 device/hid/hid_utils_mac.cc CFNumberRef ref = base::mac::CFCast<CFNumberRef>( base 36 device/hid/hid_utils_mac.cc CFStringRef ref = base::mac::CFCast<CFStringRef>( base 41 device/hid/hid_utils_mac.cc *result = base::SysCFStringRefToUTF8(ref); base 43 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnEnumerateStorages, base 58 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnGetStorageInfo, base 77 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnOpenStorage, base 92 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnCloseStorage, base 111 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnReadDirectory, base 130 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnReadDirectory, base 154 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnReadFile, base 177 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnReadFile, base 195 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnGetFileInfo, base 212 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnGetFileInfo, base 234 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnMTPStorageSignal, base 238 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::Bind(&MediaTransferProtocolDaemonClientImpl::OnSignalConnected, base 415 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc base::WeakPtrFactory<MediaTransferProtocolDaemonClientImpl> weak_ptr_factory_; base 38 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Closure ErrorCallback; base 42 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Callback<void(const std::vector<std::string>& storage_names) base 47 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Callback<void(const MtpStorageInfo& storage_info) base 52 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Callback<void(const std::string& handle)> OpenStorageCallback; base 55 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Closure CloseStorageCallback; base 59 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Callback<void(const std::vector<MtpFileEntry>& file_entries) base 64 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Callback<void(const std::string& data)> ReadFileCallback; base 68 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Callback<void(const MtpFileEntry& file_entry) base 74 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h typedef base::Callback<void(bool is_attach, base 40 device/media_transfer_protocol/media_transfer_protocol_manager.cc scoped_refptr<base::SequencedTaskRunner> task_runner) base 57 device/media_transfer_protocol/media_transfer_protocol_manager.cc mtpd_owner_changed_callback_ = base::Bind( base 77 device/media_transfer_protocol/media_transfer_protocol_manager.cc FROM_HERE, base::Bind(&dbus::Bus::ShutdownAndBlock, session_bus_)); base 128 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnOpenStorage, base 130 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnOpenStorageError, base 145 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnCloseStorage, base 147 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnCloseStorageError, base 165 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnReadDirectory, base 167 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnReadDirectoryError, base 185 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnReadDirectory, base 187 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnReadDirectoryError, base 205 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnReadFile, base 207 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnReadFileError, base 225 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnReadFile, base 227 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnReadFileError, base 243 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnGetFileInfo, base 245 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnGetFileInfoError, base 261 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnGetFileInfo, base 263 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnGetFileInfoError, base 284 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnGetStorageInfo, base 286 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&base::DoNothing)); base 463 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnStorageChanged, base 466 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&MediaTransferProtocolManagerImpl::OnEnumerateStorages, base 468 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::Bind(&base::DoNothing)); base 499 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::ThreadChecker thread_checker_; base 501 device/media_transfer_protocol/media_transfer_protocol_manager.cc base::WeakPtrFactory<MediaTransferProtocolManagerImpl> weak_ptr_factory_; base 510 device/media_transfer_protocol/media_transfer_protocol_manager.cc scoped_refptr<base::SequencedTaskRunner> task_runner) { base 22 device/media_transfer_protocol/media_transfer_protocol_manager.h namespace base { base 35 device/media_transfer_protocol/media_transfer_protocol_manager.h typedef base::Callback<void(const std::string& handle, base 40 device/media_transfer_protocol/media_transfer_protocol_manager.h typedef base::Callback<void(bool error)> CloseStorageCallback; base 45 device/media_transfer_protocol/media_transfer_protocol_manager.h typedef base::Callback<void(const std::vector<MtpFileEntry>& file_entries, base 51 device/media_transfer_protocol/media_transfer_protocol_manager.h typedef base::Callback<void(const std::string& data, base 57 device/media_transfer_protocol/media_transfer_protocol_manager.h typedef base::Callback<void(const MtpFileEntry& file_entry, base 141 device/media_transfer_protocol/media_transfer_protocol_manager.h scoped_refptr<base::SequencedTaskRunner> task_runner); base 35 device/nfc/nfc_adapter.h class NfcAdapter : public base::RefCounted<NfcAdapter> { base 91 device/nfc/nfc_adapter.h typedef base::Closure ErrorCallback; base 124 device/nfc/nfc_adapter.h const base::Closure& callback, base 137 device/nfc/nfc_adapter.h virtual void StartPolling(const base::Closure& callback, base 146 device/nfc/nfc_adapter.h virtual void StopPolling(const base::Closure& callback, base 170 device/nfc/nfc_adapter.h friend class base::RefCounted<NfcAdapter>; base 77 device/nfc/nfc_adapter_chromeos.cc const base::Closure& callback, base 87 device/nfc/nfc_adapter_chromeos.cc base::Bind(&NfcAdapterChromeOS::OnSetPowered, base 93 device/nfc/nfc_adapter_chromeos.cc void NfcAdapterChromeOS::StartPolling(const base::Closure& callback, base 99 device/nfc/nfc_adapter_chromeos.cc base::Bind(&NfcAdapterChromeOS::OnStartPolling, base 102 device/nfc/nfc_adapter_chromeos.cc base::Bind(&NfcAdapterChromeOS::OnStartPollingError, base 107 device/nfc/nfc_adapter_chromeos.cc void NfcAdapterChromeOS::StopPolling(const base::Closure& callback, base 111 device/nfc/nfc_adapter_chromeos.cc base::Bind(&NfcAdapterChromeOS::OnStopPolling, base 114 device/nfc/nfc_adapter_chromeos.cc base::Bind(&NfcAdapterChromeOS::OnStopPollingError, base 351 device/nfc/nfc_adapter_chromeos.cc void NfcAdapterChromeOS::OnSetPowered(const base::Closure& callback, base 370 device/nfc/nfc_adapter_chromeos.cc void NfcAdapterChromeOS::OnStartPolling(const base::Closure& callback) { base 383 device/nfc/nfc_adapter_chromeos.cc void NfcAdapterChromeOS::OnStopPolling(const base::Closure& callback) { base 39 device/nfc/nfc_adapter_chromeos.h const base::Closure& callback, base 41 device/nfc/nfc_adapter_chromeos.h virtual void StartPolling(const base::Closure& callback, base 43 device/nfc/nfc_adapter_chromeos.h virtual void StopPolling(const base::Closure& callback, base 82 device/nfc/nfc_adapter_chromeos.h void OnSetPowered(const base::Closure& callback, base 87 device/nfc/nfc_adapter_chromeos.h void OnStartPolling(const base::Closure& callback); base 93 device/nfc/nfc_adapter_chromeos.h void OnStopPolling(const base::Closure& callback); base 106 device/nfc/nfc_adapter_chromeos.h base::WeakPtrFactory<NfcAdapterChromeOS> weak_ptr_factory_; base 23 device/nfc/nfc_adapter_factory.cc base::LazyInstance<base::WeakPtr<device::NfcAdapter> >::Leaky base 19 device/nfc/nfc_adapter_factory.h typedef base::Callback<void(scoped_refptr<NfcAdapter>)> AdapterCallback; base 172 device/nfc/nfc_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 193 device/nfc/nfc_chromeos_unittest.cc base::MessageLoop message_loop_; base 251 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 252 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 253 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 254 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 263 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 264 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 265 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 266 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 275 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 276 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 277 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 278 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 287 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 288 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 289 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 290 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 308 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 309 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 310 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 311 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 328 device/nfc/nfc_chromeos_unittest.cc properties->powered.Set(true, base::Bind(&OnSet)); base 333 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 334 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 335 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallbackWithParameters, base 336 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 343 device/nfc/nfc_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 379 device/nfc/nfc_chromeos_unittest.cc properties->powered.Set(true, base::Bind(&OnSet)); base 384 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 385 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 386 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallbackWithParameters, base 387 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 394 device/nfc/nfc_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 397 device/nfc/nfc_chromeos_unittest.cc base::DictionaryValue test_record_data; base 403 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 404 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 405 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallbackWithParameters, base 406 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 451 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 452 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 453 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 454 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 462 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 463 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 464 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 465 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 471 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 472 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 473 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 474 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 481 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 482 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 483 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 484 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 491 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 492 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 493 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 494 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 501 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 502 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 503 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 504 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 518 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 519 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 520 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 521 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 523 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 524 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 525 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 526 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 535 device/nfc/nfc_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 575 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 576 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 577 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 578 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 580 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 581 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 582 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 583 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 592 device/nfc/nfc_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 622 device/nfc/nfc_chromeos_unittest.cc base::DictionaryValue record_data; base 631 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::SuccessCallback, base 632 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this)), base 633 device/nfc/nfc_chromeos_unittest.cc base::Bind(&NfcChromeOSTest::ErrorCallback, base 634 device/nfc/nfc_chromeos_unittest.cc base::Unretained(this))); base 672 device/nfc/nfc_chromeos_unittest.cc base::DictionaryValue data; base 680 device/nfc/nfc_chromeos_unittest.cc base::DictionaryValue result; base 722 device/nfc/nfc_chromeos_unittest.cc base::DictionaryValue* title = new base::DictionaryValue(); base 727 device/nfc/nfc_chromeos_unittest.cc base::ListValue* titles = new base::ListValue(); base 767 device/nfc/nfc_chromeos_unittest.cc base::Bind(&OnPropertyChangedCallback)); base 846 device/nfc/nfc_chromeos_unittest.cc const base::ListValue* titles = NULL; base 850 device/nfc/nfc_chromeos_unittest.cc const base::DictionaryValue* title = NULL; base 12 device/nfc/nfc_ndef_record.cc using base::DictionaryValue; base 13 device/nfc/nfc_ndef_record.cc using base::ListValue; base 19 device/nfc/nfc_ndef_record.cc typedef std::map<std::string, base::Value::Type> FieldValueMap; base 89 device/nfc/nfc_ndef_record.cc required_fields[NfcNdefRecord::kFieldText] = base::Value::TYPE_STRING; base 90 device/nfc/nfc_ndef_record.cc required_fields[NfcNdefRecord::kFieldEncoding] = base::Value::TYPE_STRING; base 91 device/nfc/nfc_ndef_record.cc required_fields[NfcNdefRecord::kFieldLanguageCode] = base::Value::TYPE_STRING; base 115 device/nfc/nfc_ndef_record.cc required_fields[NfcNdefRecord::kFieldURI] = base::Value::TYPE_STRING; base 117 device/nfc/nfc_ndef_record.cc optional_fields[NfcNdefRecord::kFieldAction] = base::Value::TYPE_STRING; base 118 device/nfc/nfc_ndef_record.cc optional_fields[NfcNdefRecord::kFieldMimeType] = base::Value::TYPE_STRING; base 123 device/nfc/nfc_ndef_record.cc optional_fields[NfcNdefRecord::kFieldTargetSize] = base::Value::TYPE_DOUBLE; base 124 device/nfc/nfc_ndef_record.cc optional_fields[NfcNdefRecord::kFieldTitles] = base::Value::TYPE_LIST; base 158 device/nfc/nfc_ndef_record.cc required_fields[NfcNdefRecord::kFieldURI] = base::Value::TYPE_STRING; base 160 device/nfc/nfc_ndef_record.cc optional_fields[NfcNdefRecord::kFieldMimeType] = base::Value::TYPE_STRING; base 161 device/nfc/nfc_ndef_record.cc optional_fields[NfcNdefRecord::kFieldTargetSize] = base::Value::TYPE_DOUBLE; base 107 device/nfc/nfc_ndef_record.h const base::DictionaryValue& data() const { return data_; } base 120 device/nfc/nfc_ndef_record.h bool Populate(Type type, const base::DictionaryValue* data); base 127 device/nfc/nfc_ndef_record.h base::DictionaryValue data_; base 10 device/nfc/nfc_ndef_record_unittest.cc using base::DictionaryValue; base 11 device/nfc/nfc_ndef_record_unittest.cc using base::ListValue; base 12 device/nfc/nfc_ndef_record_unittest.cc using base::StringValue; base 111 device/nfc/nfc_ndef_record_utils_chromeos.cc const base::DictionaryValue& fields, base 112 device/nfc/nfc_ndef_record_utils_chromeos.cc base::DictionaryValue* out) { base 114 device/nfc/nfc_ndef_record_utils_chromeos.cc for (base::DictionaryValue::Iterator iter(fields); base 118 device/nfc/nfc_ndef_record_utils_chromeos.cc const base::ListValue* titles = NULL; base 126 device/nfc/nfc_ndef_record_utils_chromeos.cc const base::DictionaryValue* first_title = NULL; base 161 device/nfc/nfc_ndef_record_utils_chromeos.cc base::DictionaryValue* out) { base 188 device/nfc/nfc_ndef_record_utils_chromeos.cc base::DictionaryValue attributes; base 208 device/nfc/nfc_ndef_record_utils_chromeos.cc scoped_ptr<base::DictionaryValue> text_attributes( base 209 device/nfc/nfc_ndef_record_utils_chromeos.cc new base::DictionaryValue()); base 224 device/nfc/nfc_ndef_record_utils_chromeos.cc base::ListValue* titles = new base::ListValue(); base 23 device/nfc/nfc_ndef_record_utils_chromeos.h base::DictionaryValue* out); base 49 device/nfc/nfc_peer.h typedef base::Closure ErrorCallback; base 73 device/nfc/nfc_peer.h const base::Closure& callback, base 80 device/nfc/nfc_peer.h const base::Closure& callback, base 66 device/nfc/nfc_peer_chromeos.cc const base::Closure& callback, base 82 device/nfc/nfc_peer_chromeos.cc base::DictionaryValue attributes; base 92 device/nfc/nfc_peer_chromeos.cc base::Bind(&NfcPeerChromeOS::OnPushNdef, base 95 device/nfc/nfc_peer_chromeos.cc base::Bind(&NfcPeerChromeOS::OnPushNdefError, base 101 device/nfc/nfc_peer_chromeos.cc const base::Closure& callback, base 154 device/nfc/nfc_peer_chromeos.cc void NfcPeerChromeOS::OnPushNdef(const base::Closure& callback) { base 29 device/nfc/nfc_peer_chromeos.h const base::Closure& callback, base 32 device/nfc/nfc_peer_chromeos.h const base::Closure& callback, base 51 device/nfc/nfc_peer_chromeos.h void OnPushNdef(const base::Closure& callback); base 74 device/nfc/nfc_peer_chromeos.h base::WeakPtrFactory<NfcPeerChromeOS> weak_ptr_factory_; base 72 device/nfc/nfc_tag_technology.h typedef base::Closure ErrorCallback; base 110 device/nfc/nfc_tag_technology.h const base::Closure& callback, base 60 device/nfc/nfc_tag_technology_chromeos.cc const base::Closure& callback, base 81 device/nfc/nfc_tag_technology_chromeos.cc base::DictionaryValue attributes; base 91 device/nfc/nfc_tag_technology_chromeos.cc base::Bind(&NfcNdefTagTechnologyChromeOS::OnWriteNdefMessage, base 93 device/nfc/nfc_tag_technology_chromeos.cc base::Bind(&NfcNdefTagTechnologyChromeOS::OnWriteNdefMessageError, base 144 device/nfc/nfc_tag_technology_chromeos.cc const base::Closure& callback) { base 36 device/nfc/nfc_tag_technology_chromeos.h const base::Closure& callback, base 54 device/nfc/nfc_tag_technology_chromeos.h void OnWriteNdefMessage(const base::Closure& callback); base 80 device/nfc/nfc_tag_technology_chromeos.h base::WeakPtrFactory<NfcNdefTagTechnologyChromeOS> weak_ptr_factory_; base 89 device/serial/serial_device_enumerator_linux.cc if (vendor_id && base::HexStringToUInt(vendor_id, &int_value)) base 91 device/serial/serial_device_enumerator_linux.cc if (product_id && base::HexStringToUInt(product_id, &int_value)) base 27 device/serial/serial_device_enumerator_mac.cc const base::FilePath kDevRoot("/dev"); base 29 device/serial/serial_device_enumerator_mac.cc base::FileEnumerator::FILES | base::FileEnumerator::SHOW_SYM_LINKS; base 41 device/serial/serial_device_enumerator_mac.cc base::FileEnumerator enumerator(kDevRoot, false, kFilesAndSymLinks); base 43 device/serial/serial_device_enumerator_mac.cc const base::FilePath next_device_path(enumerator.Next()); base 33 device/serial/serial_device_enumerator_win.cc base::win::RegistryValueIterator iter_key( base 36 device/serial/serial_device_enumerator_win.cc base::string16 value(iter_key.Value()); base 38 device/serial/serial_device_enumerator_win.cc info->path = base::UTF16ToASCII(value); base 16 extensions/browser/admin_policy.cc base::string16* error, base 33 extensions/browser/admin_policy.cc base::UTF8ToUTF16(extension->name())); base 39 extensions/browser/admin_policy.cc base::string16* error) { base 43 extensions/browser/admin_policy.cc base::UTF8ToUTF16(extension->name()), base 44 extensions/browser/admin_policy.cc base::UTF8ToUTF16(extension->id())); base 54 extensions/browser/admin_policy.cc bool BlacklistedByDefault(const base::ListValue* blacklist) { base 55 extensions/browser/admin_policy.cc base::StringValue wildcard("*"); base 59 extensions/browser/admin_policy.cc bool UserMayLoad(const base::ListValue* blacklist, base 60 extensions/browser/admin_policy.cc const base::ListValue* whitelist, base 61 extensions/browser/admin_policy.cc const base::DictionaryValue* forcelist, base 62 extensions/browser/admin_policy.cc const base::ListValue* allowed_types, base 64 extensions/browser/admin_policy.cc base::string16* error) { base 97 extensions/browser/admin_policy.cc base::FundamentalValue type_value(extension->GetType()); base 105 extensions/browser/admin_policy.cc base::StringValue id_value(extension->id()); base 118 extensions/browser/admin_policy.cc bool UserMayModifySettings(const Extension* extension, base::string16* error) { base 122 extensions/browser/admin_policy.cc bool MustRemainEnabled(const Extension* extension, base::string16* error) { base 21 extensions/browser/admin_policy.h bool BlacklistedByDefault(const base::ListValue* blacklist); base 24 extensions/browser/admin_policy.h bool UserMayLoad(const base::ListValue* blacklist, base 25 extensions/browser/admin_policy.h const base::ListValue* whitelist, base 26 extensions/browser/admin_policy.h const base::DictionaryValue* forcelist, base 27 extensions/browser/admin_policy.h const base::ListValue* allowed_types, base 29 extensions/browser/admin_policy.h base::string16* error); base 33 extensions/browser/admin_policy.h bool UserMayModifySettings(const Extension* extension, base::string16* error); base 37 extensions/browser/admin_policy.h bool MustRemainEnabled(const Extension* extension, base::string16* error); base 13 extensions/browser/admin_policy_unittest.cc using base::Value; base 22 extensions/browser/admin_policy_unittest.cc base::DictionaryValue values; base 27 extensions/browser/admin_policy_unittest.cc base::DictionaryValue values; base 28 extensions/browser/admin_policy_unittest.cc values.Set(extensions::manifest_keys::kWebURLs, new base::ListValue()); base 35 extensions/browser/admin_policy_unittest.cc base::DictionaryValue* values) { base 39 extensions/browser/admin_policy_unittest.cc extension_ = Extension::Create(base::FilePath(), location, *values, base 52 extensions/browser/admin_policy_unittest.cc base::ListValue blacklist; base 53 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue("http://www.google.com")); base 55 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue("*")); base 59 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue("*")); base 67 extensions/browser/admin_policy_unittest.cc base::string16 error; base 73 extensions/browser/admin_policy_unittest.cc base::ListValue blacklist; base 74 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue(extension_->id())); base 78 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue("*")); base 87 extensions/browser/admin_policy_unittest.cc base::ListValue blacklist; base 90 extensions/browser/admin_policy_unittest.cc base::string16 error; base 100 extensions/browser/admin_policy_unittest.cc base::ListValue whitelist; base 101 extensions/browser/admin_policy_unittest.cc whitelist.Append(new base::StringValue(extension_->id())); base 105 extensions/browser/admin_policy_unittest.cc base::ListValue blacklist; base 106 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue(extension_->id())); base 109 extensions/browser/admin_policy_unittest.cc base::string16 error; base 120 extensions/browser/admin_policy_unittest.cc base::ListValue blacklist; base 121 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue("*")); base 124 extensions/browser/admin_policy_unittest.cc base::string16 error; base 130 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue(extension_->id())); base 134 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue(extension_->id())); base 139 extensions/browser/admin_policy_unittest.cc base::ListValue whitelist; base 141 extensions/browser/admin_policy_unittest.cc new base::StringValue("behllobkkfkfnphdnhnkndlbkcpglgmj")); base 144 extensions/browser/admin_policy_unittest.cc whitelist.Append(new base::StringValue("*")); base 153 extensions/browser/admin_policy_unittest.cc base::ListValue allowed_types; base 173 extensions/browser/admin_policy_unittest.cc base::string16 error; base 187 extensions/browser/admin_policy_unittest.cc base::string16 error; base 75 extensions/browser/api/api_resource_manager.h public base::NonThreadSafe, base 128 extensions/browser/api/api_resource_manager.h base::hash_set<int>* GetResourceIds(const std::string& extension_id) { base 169 extensions/browser/api/api_resource_manager.h class ApiResourceData : public base::RefCountedThreadSafe<ApiResourceData> { base 173 extensions/browser/api/api_resource_manager.h typedef std::map<std::string, base::hash_set<int> > ExtensionToResourceMap; base 188 extensions/browser/api/api_resource_manager.h extension_resource_map_[extension_id] = base::hash_set<int>(); base 212 extensions/browser/api/api_resource_manager.h base::hash_set<int>* GetResourceIds(const std::string& extension_id) { base 221 extensions/browser/api/api_resource_manager.h base::Bind(&ApiResourceData::CleanupResourcesFromUnloadedExtension, base 230 extensions/browser/api/api_resource_manager.h base::Bind(&ApiResourceData::CleanupResourcesFromSuspendedExtension, base 237 extensions/browser/api/api_resource_manager.h thread_id_, FROM_HERE, base::Bind(&ApiResourceData::Cleanup, this)); base 241 extensions/browser/api/api_resource_manager.h friend class base::RefCountedThreadSafe<ApiResourceData>; base 253 extensions/browser/api/api_resource_manager.h base::hash_set<int>* GetOwnedResourceIds(const std::string& extension_id) { base 283 extensions/browser/api/api_resource_manager.h base::hash_set<int>& resource_ids = extension_resource_map_[extension_id]; base 284 extensions/browser/api/api_resource_manager.h for (base::hash_set<int>::iterator it = resource_ids.begin(); base 28 extensions/browser/api/async_api_function.cc base::Bind(&AsyncApiFunction::WorkOnWorkThread, this)); base 47 extensions/browser/api/async_api_function.cc base::Bind(&AsyncApiFunction::RespondOnUIThread, this)); base 43 extensions/browser/api/dns/dns_api.cc base::Bind(&DnsResolveFunction::WorkOnIOThread, this)); base 67 extensions/browser/api/dns/dns_api.cc base::Bind(&DnsResolveFunction::OnLookupFinished, this), base 98 extensions/browser/api/dns/dns_api.cc base::Bind(&DnsResolveFunction::RespondOnUIThread, this)); base 20 extensions/browser/api/socket/socket.cc static base::LazyInstance< base 60 extensions/browser/api/socket/socket.cc base::Bind(&Socket::OnWriteComplete, base::Unretained(this))); base 29 extensions/browser/api/socket/socket.h typedef base::Callback<void(int)> CompletionCallback; base 30 extensions/browser/api/socket/socket.h typedef base::Callback<void(int, scoped_refptr<net::IOBuffer> io_buffer)> base 32 extensions/browser/api/socket/socket.h typedef base::Callback< base 35 extensions/browser/api/socket/socket.h typedef base::Callback<void(int, net::TCPClientSocket*)> base 74 extensions/browser/api/socket/socket_api.cc base::hash_set<int>* SocketAsyncApiFunction::GetSocketIds() { base 114 extensions/browser/api/socket/socket_api.cc base::Bind(&SocketExtensionWithDnsLookupFunction::OnDnsLookup, this), base 165 extensions/browser/api/socket/socket_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 193 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(-1)); base 216 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(-1)); base 228 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(lookup_result)); base 236 extensions/browser/api/socket/socket_api.cc base::Bind(&SocketConnectFunction::OnConnect, this)); base 240 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 255 extensions/browser/api/socket/socket_api.cc SetResult(base::Value::CreateNullValue()); base 271 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 281 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 286 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 291 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 314 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 327 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 343 extensions/browser/api/socket/socket_api.cc socket->Accept(base::Bind(&SocketAcceptFunction::OnAccept, this)); base 352 extensions/browser/api/socket/socket_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 382 extensions/browser/api/socket/socket_api.cc base::Bind(&SocketReadFunction::OnCompleted, this)); base 387 extensions/browser/api/socket/socket_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 391 extensions/browser/api/socket/socket_api.cc base::BinaryValue::CreateWithCopiedBuffer(io_buffer->data(), base 394 extensions/browser/api/socket/socket_api.cc result->Set(kDataKey, new base::BinaryValue()); base 408 extensions/browser/api/socket/socket_api.cc base::BinaryValue* data = NULL; base 427 extensions/browser/api/socket/socket_api.cc base::Bind(&SocketWriteFunction::OnCompleted, this)); base 431 extensions/browser/api/socket/socket_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 457 extensions/browser/api/socket/socket_api.cc base::Bind(&SocketRecvFromFunction::OnCompleted, this)); base 464 extensions/browser/api/socket/socket_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 468 extensions/browser/api/socket/socket_api.cc base::BinaryValue::CreateWithCopiedBuffer(io_buffer->data(), base 471 extensions/browser/api/socket/socket_api.cc result->Set(kDataKey, new base::BinaryValue()); base 491 extensions/browser/api/socket/socket_api.cc base::BinaryValue* data = NULL; base 505 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(-1)); base 516 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(-1)); base 529 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(lookup_result)); base 539 extensions/browser/api/socket/socket_api.cc base::Bind(&SocketSendToFunction::OnCompleted, this)); base 543 extensions/browser/api/socket/socket_api.cc base::DictionaryValue* result = new base::DictionaryValue(); base 571 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 591 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 645 extensions/browser/api/socket/socket_api.cc base::Bind(&SocketGetNetworkListFunction::GetNetworkListOnFileThread, base 657 extensions/browser/api/socket/socket_api.cc base::Bind(&SocketGetNetworkListFunction::SendResponseOnUIThread, base 666 extensions/browser/api/socket/socket_api.cc base::Bind(&SocketGetNetworkListFunction::HandleGetNetworkListError, base 712 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 718 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 730 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 738 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 757 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 763 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 774 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 781 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 798 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 804 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 812 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 832 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 838 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 846 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 864 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 870 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 881 extensions/browser/api/socket/socket_api.cc SetResult(new base::FundamentalValue(result)); base 885 extensions/browser/api/socket/socket_api.cc base::ListValue* values = new base::ListValue(); base 45 extensions/browser/api/socket/socket_api.h virtual base::hash_set<int>* GetResourceIds( base 81 extensions/browser/api/socket/socket_api.h virtual base::hash_set<int>* GetResourceIds(const std::string& extension_id) base 107 extensions/browser/api/socket/socket_api.h base::hash_set<int>* GetSocketIds(); base 20 extensions/browser/api/socket/tcp_socket.cc static base::LazyInstance< base 31 extensions/browser/api/socket/tcp_socket.cc static base::LazyInstance<BrowserContextKeyedAPIFactory< base 106 extensions/browser/api/socket/tcp_socket.cc base::Bind(&TCPSocket::OnConnectComplete, base::Unretained(this))); base 156 extensions/browser/api/socket/tcp_socket.cc base::Bind( base 157 extensions/browser/api/socket/tcp_socket.cc &TCPSocket::OnReadComplete, base::Unretained(this), io_buffer)); base 226 extensions/browser/api/socket/tcp_socket.cc base::Bind(&TCPSocket::OnAccept, base::Unretained(this))); base 17 extensions/browser/api/socket/udp_socket.cc static base::LazyInstance< base 105 extensions/browser/api/socket/udp_socket.cc base::Bind( base 106 extensions/browser/api/socket/udp_socket.cc &UDPSocket::OnReadComplete, base::Unretained(this), io_buffer)); base 152 extensions/browser/api/socket/udp_socket.cc base::Bind(&UDPSocket::OnRecvFromComplete, base 153 extensions/browser/api/socket/udp_socket.cc base::Unretained(this), base 195 extensions/browser/api/socket/udp_socket.cc base::Bind(&UDPSocket::OnSendToComplete, base::Unretained(this))); base 58 extensions/browser/api/socket/udp_socket.h typedef base::RefCountedData<net::IPEndPoint> IPEndPoint; base 294 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc base::Bind(&SocketsTcpConnectFunction::OnCompleted, this)); base 352 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc base::Bind(&SocketsTcpSendFunction::OnCompleted, this)); base 429 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc base::hash_set<int>* resource_ids = GetSocketIds(); base 431 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc for (base::hash_set<int>::iterator it = resource_ids->begin(); base 22 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc static base::LazyInstance< base 108 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc base::Bind(&TCPSocketEventDispatcher::ReadCallback, params)); base 131 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc scoped_ptr<base::ListValue> args = base 142 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc base::Bind(&TCPSocketEventDispatcher::StartRead, params)); base 152 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc scoped_ptr<base::ListValue> args = base 175 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc base::Bind(&DispatchEvent, base 178 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc base::Passed(event.Pass()))); base 27 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h public base::SupportsWeakPtr<TCPSocketEventDispatcher> { base 282 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc base::hash_set<int>* resource_ids = GetSocketIds(); base 284 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc for (base::hash_set<int>::iterator it = resource_ids->begin(); base 18 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc static base::LazyInstance< base 115 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc base::Bind(&TCPServerSocketEventDispatcher::AcceptCallback, params)); base 135 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc scoped_ptr<base::ListValue> args = base 146 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc base::Bind(&TCPServerSocketEventDispatcher::StartAccept, params)); base 153 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc scoped_ptr<base::ListValue> args = base 176 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc base::Bind(&DispatchEvent, base 179 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc base::Passed(event.Pass()))); base 28 extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h public base::SupportsWeakPtr<TCPServerSocketEventDispatcher> { base 265 extensions/browser/api/sockets_udp/sockets_udp_api.cc base::Bind(&SocketsUdpSendFunction::OnCompleted, this)); base 343 extensions/browser/api/sockets_udp/sockets_udp_api.cc base::hash_set<int>* resource_ids = GetSocketIds(); base 345 extensions/browser/api/sockets_udp/sockets_udp_api.cc for (base::hash_set<int>::iterator it = resource_ids->begin(); base 18 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc static base::LazyInstance< base 94 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc base::Bind(&UDPSocketEventDispatcher::ReceiveCallback, params)); base 117 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc scoped_ptr<base::ListValue> args = base 128 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc base::Bind(&UDPSocketEventDispatcher::StartReceive, params)); base 138 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc scoped_ptr<base::ListValue> args = base 161 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc base::Bind(&DispatchEvent, base 164 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc base::Passed(event.Pass()))); base 27 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h public base::SupportsWeakPtr<UDPSocketEventDispatcher> { base 15 extensions/browser/api/storage/leveldb_settings_storage_factory.cc base::FilePath GetDatabasePath(const base::FilePath& base_path, base 23 extensions/browser/api/storage/leveldb_settings_storage_factory.cc const base::FilePath& base_path, base 29 extensions/browser/api/storage/leveldb_settings_storage_factory.cc const base::FilePath& base_path, base 31 extensions/browser/api/storage/leveldb_settings_storage_factory.cc base::FilePath path = GetDatabasePath(base_path, extension_id); base 32 extensions/browser/api/storage/leveldb_settings_storage_factory.cc if (base::PathExists(path)) base 33 extensions/browser/api/storage/leveldb_settings_storage_factory.cc base::DeleteFile(path, true /* recursive */); base 15 extensions/browser/api/storage/leveldb_settings_storage_factory.h virtual ValueStore* Create(const base::FilePath& base_path, base 18 extensions/browser/api/storage/leveldb_settings_storage_factory.h virtual void DeleteDatabaseIfExists(const base::FilePath& base_path, base 43 extensions/browser/api/storage/local_value_store_cache.cc const base::FilePath& profile_path) base 86 extensions/browser/api/storage/local_value_store_cache.cc const base::FilePath& file_path = base 26 extensions/browser/api/storage/local_value_store_cache.h const base::FilePath& profile_path); base 44 extensions/browser/api/storage/local_value_store_cache.h const base::FilePath extension_base_path_; base 47 extensions/browser/api/storage/local_value_store_cache.h const base::FilePath app_base_path_; base 13 extensions/browser/api/storage/settings_quota_unittest.cc using base::DictionaryValue; base 14 extensions/browser/api/storage/settings_quota_unittest.cc using base::ListValue; base 15 extensions/browser/api/storage/settings_quota_unittest.cc using base::Value; base 27 extensions/browser/api/storage/settings_quota_unittest.cc : byte_value_1_(new base::FundamentalValue(1)), base 28 extensions/browser/api/storage/settings_quota_unittest.cc byte_value_16_(new base::StringValue("sixteen bytes.")), base 29 extensions/browser/api/storage/settings_quota_unittest.cc byte_value_256_(new base::ListValue()), base 32 extensions/browser/api/storage/settings_quota_unittest.cc byte_value_256_->Append(new base::FundamentalValue(i)); base 39 extensions/browser/api/storage/settings_quota_unittest.cc base::JSONWriter::Write(byte_value_1_.get(), &validate_sizes); base 41 extensions/browser/api/storage/settings_quota_unittest.cc base::JSONWriter::Write(byte_value_16_.get(), &validate_sizes); base 43 extensions/browser/api/storage/settings_quota_unittest.cc base::JSONWriter::Write(byte_value_256_.get(), &validate_sizes); base 63 extensions/browser/api/storage/settings_quota_unittest.cc bool SettingsEqual(const base::DictionaryValue& settings) { base 69 extensions/browser/api/storage/settings_quota_unittest.cc scoped_ptr<base::Value> byte_value_1_; base 70 extensions/browser/api/storage/settings_quota_unittest.cc scoped_ptr<base::Value> byte_value_16_; base 71 extensions/browser/api/storage/settings_quota_unittest.cc scoped_ptr<base::ListValue> byte_value_256_; base 81 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue empty; base 91 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue empty; base 99 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 112 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 115 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue to_set; base 134 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue empty; base 144 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 162 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 165 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue to_set; base 185 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 218 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 222 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue to_set; base 268 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 273 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue to_set; base 289 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue to_set; base 307 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 329 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 336 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue to_set; base 352 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 358 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue to_set; base 366 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 408 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 422 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 445 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 477 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue empty; base 487 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 505 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 535 extensions/browser/api/storage/settings_quota_unittest.cc base::DictionaryValue settings; base 22 extensions/browser/api/storage/settings_storage_factory.h : public base::RefCountedThreadSafe<SettingsStorageFactory> { base 26 extensions/browser/api/storage/settings_storage_factory.h virtual ValueStore* Create(const base::FilePath& base_path, base 32 extensions/browser/api/storage/settings_storage_factory.h virtual void DeleteDatabaseIfExists(const base::FilePath& base_path, base 36 extensions/browser/api/storage/settings_storage_factory.h friend class base::RefCountedThreadSafe<SettingsStorageFactory>; base 33 extensions/browser/api/storage/settings_storage_quota_enforcer.cc const base::Value& value, base 41 extensions/browser/api/storage/settings_storage_quota_enforcer.cc base::JSONWriter::Write(&value, &value_as_json); base 82 extensions/browser/api/storage/settings_storage_quota_enforcer.cc base::StringPrintf("%s quota exceeded", name), base 133 extensions/browser/api/storage/settings_storage_quota_enforcer.cc WriteOptions options, const std::string& key, const base::Value& value) { base 162 extensions/browser/api/storage/settings_storage_quota_enforcer.cc WriteOptions options, const base::DictionaryValue& values) { base 165 extensions/browser/api/storage/settings_storage_quota_enforcer.cc for (base::DictionaryValue::Iterator it(values); !it.IsAtEnd(); base 266 extensions/browser/api/storage/settings_storage_quota_enforcer.cc for (base::DictionaryValue::Iterator it(maybe_settings->settings()); base 43 extensions/browser/api/storage/settings_storage_quota_enforcer.h const base::Value& value) OVERRIDE; base 45 extensions/browser/api/storage/settings_storage_quota_enforcer.h WriteOptions options, const base::DictionaryValue& values) OVERRIDE; base 29 extensions/browser/api/storage/settings_test_util.cc extension, settings_namespace, base::Bind(&AssignStorage, &storage)); base 30 extensions/browser/api/storage/settings_test_util.cc base::MessageLoop::current()->RunUntilIdle(); base 51 extensions/browser/api/storage/settings_test_util.cc base::DictionaryValue manifest; base 55 extensions/browser/api/storage/settings_test_util.cc scoped_ptr<base::ListValue> permissions(new base::ListValue()); base 58 extensions/browser/api/storage/settings_test_util.cc permissions->Append(new base::StringValue(*it)); base 67 extensions/browser/api/storage/settings_test_util.cc base::DictionaryValue* app = new base::DictionaryValue(); base 68 extensions/browser/api/storage/settings_test_util.cc base::DictionaryValue* app_launch = new base::DictionaryValue(); base 81 extensions/browser/api/storage/settings_test_util.cc Extension::Create(base::FilePath(), base 120 extensions/browser/api/storage/settings_test_util.cc MockProfile::MockProfile(const base::FilePath& file_path) base 145 extensions/browser/api/storage/settings_test_util.cc const base::FilePath& base_path, base 152 extensions/browser/api/storage/settings_test_util.cc const base::FilePath& base_path, base 70 extensions/browser/api/storage/settings_test_util.h explicit MockProfile(const base::FilePath& file_path); base 86 extensions/browser/api/storage/settings_test_util.h virtual ValueStore* Create(const base::FilePath& base_path, base 89 extensions/browser/api/storage/settings_test_util.h const base::FilePath& base_path, base 52 extensions/browser/api/storage/storage_api.cc error_ = base::StringPrintf( base 62 extensions/browser/api/storage/storage_api.cc base::Bind(&SettingsFunction::AsyncRunWithStorage, this)); base 71 extensions/browser/api/storage/storage_api.cc base::Bind(&SettingsFunction::SendResponse, this, success)); base 79 extensions/browser/api/storage/storage_api.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 129 extensions/browser/api/storage/storage_api.cc void AddAllStringValues(const base::ListValue& from, base 133 extensions/browser/api/storage/storage_api.cc for (base::ListValue::const_iterator it = from.begin(); base 142 extensions/browser/api/storage/storage_api.cc std::vector<std::string> GetKeys(const base::DictionaryValue& dict) { base 144 extensions/browser/api/storage/storage_api.cc for (base::DictionaryValue::Iterator it(dict); !it.IsAtEnd(); it.Advance()) { base 155 extensions/browser/api/storage/storage_api.cc base::TimeDelta::FromHours(1) base 166 extensions/browser/api/storage/storage_api.cc base::TimeDelta::FromMinutes(1) base 169 extensions/browser/api/storage/storage_api.cc base::TimeDelta::FromMinutes(10), base 178 extensions/browser/api/storage/storage_api.cc base::Value* input = NULL; base 182 extensions/browser/api/storage/storage_api.cc case base::Value::TYPE_NULL: base 185 extensions/browser/api/storage/storage_api.cc case base::Value::TYPE_STRING: { base 191 extensions/browser/api/storage/storage_api.cc case base::Value::TYPE_LIST: { base 193 extensions/browser/api/storage/storage_api.cc AddAllStringValues(*static_cast<base::ListValue*>(input), base 198 extensions/browser/api/storage/storage_api.cc case base::Value::TYPE_DICTIONARY: { base 199 extensions/browser/api/storage/storage_api.cc base::DictionaryValue* as_dict = base 200 extensions/browser/api/storage/storage_api.cc static_cast<base::DictionaryValue*>(input); base 206 extensions/browser/api/storage/storage_api.cc base::DictionaryValue* with_default_values = as_dict->DeepCopy(); base 221 extensions/browser/api/storage/storage_api.cc base::Value* input = NULL; base 227 extensions/browser/api/storage/storage_api.cc case base::Value::TYPE_NULL: base 231 extensions/browser/api/storage/storage_api.cc case base::Value::TYPE_STRING: { base 238 extensions/browser/api/storage/storage_api.cc case base::Value::TYPE_LIST: { base 240 extensions/browser/api/storage/storage_api.cc AddAllStringValues(*static_cast<base::ListValue*>(input), base 251 extensions/browser/api/storage/storage_api.cc SetResult(new base::FundamentalValue(static_cast<int>(bytes_in_use))); base 256 extensions/browser/api/storage/storage_api.cc base::DictionaryValue* input = NULL; base 267 extensions/browser/api/storage/storage_api.cc base::Value* input = NULL; base 271 extensions/browser/api/storage/storage_api.cc case base::Value::TYPE_STRING: { base 277 extensions/browser/api/storage/storage_api.cc case base::Value::TYPE_LIST: { base 279 extensions/browser/api/storage/storage_api.cc AddAllStringValues(*static_cast<base::ListValue*>(input), base 56 extensions/browser/api/storage/storage_api_unittest.cc base::StringPrintf( base 64 extensions/browser/api/storage/storage_api_unittest.cc scoped_ptr<base::Value> result = RunFunctionAndReturnValue( base 66 extensions/browser/api/storage/storage_api_unittest.cc base::StringPrintf("[\"local\", \"%s\"]", key.c_str())); base 67 extensions/browser/api/storage/storage_api_unittest.cc base::DictionaryValue* dict = NULL; base 29 extensions/browser/api/storage/storage_frontend.cc base::LazyInstance<BrowserContextKeyedAPIFactory<StorageFrontend> > g_factory = base 46 extensions/browser/api/storage/storage_frontend.cc scoped_ptr<base::ListValue> args(new base::ListValue()); base 47 extensions/browser/api/storage/storage_frontend.cc args->Append(base::JSONReader::Read(change_json)); base 48 extensions/browser/api/storage/storage_frontend.cc args->Append(new base::StringValue(settings_namespace::ToString( base 139 extensions/browser/api/storage/storage_frontend.cc base::Bind(&ValueStoreCache::RunWithValueStoreForExtension, base 140 extensions/browser/api/storage/storage_frontend.cc base::Unretained(cache), callback, extension)); base 149 extensions/browser/api/storage/storage_frontend.cc base::Bind(&ValueStoreCache::DeleteStorageSoon, base 150 extensions/browser/api/storage/storage_frontend.cc base::Unretained(cache), base 32 extensions/browser/api/storage/storage_frontend_unittest.cc scoped_ptr<base::Value> CreateKilobyte() { base 37 extensions/browser/api/storage/storage_frontend_unittest.cc return scoped_ptr<base::Value>(new base::StringValue(kilobyte_string)); base 41 extensions/browser/api/storage/storage_frontend_unittest.cc scoped_ptr<base::Value> CreateMegabyte() { base 42 extensions/browser/api/storage/storage_frontend_unittest.cc base::ListValue* megabyte = new base::ListValue(); base 46 extensions/browser/api/storage/storage_frontend_unittest.cc return scoped_ptr<base::Value>(megabyte); base 58 extensions/browser/api/storage/storage_frontend_unittest.cc ui_thread_(BrowserThread::UI, base::MessageLoop::current()), base 59 extensions/browser/api/storage/storage_frontend_unittest.cc file_thread_(BrowserThread::FILE, base::MessageLoop::current()) {} base 83 extensions/browser/api/storage/storage_frontend_unittest.cc base::ScopedTempDir temp_dir_; base 89 extensions/browser/api/storage/storage_frontend_unittest.cc base::MessageLoop message_loop_; base 119 extensions/browser/api/storage/storage_frontend_unittest.cc base::StringValue bar("bar"); base 148 extensions/browser/api/storage/storage_frontend_unittest.cc base::StringValue bar("bar"); base 155 extensions/browser/api/storage/storage_frontend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 174 extensions/browser/api/storage/storage_frontend_unittest.cc base::StringValue bar("bar"); base 177 extensions/browser/api/storage/storage_frontend_unittest.cc EXPECT_TRUE(base::PathExists(temp_dir_.path())); base 185 extensions/browser/api/storage/storage_frontend_unittest.cc EXPECT_TRUE(base::PathExists(temp_dir_.path())); base 189 extensions/browser/api/storage/storage_frontend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 209 extensions/browser/api/storage/storage_frontend_unittest.cc scoped_ptr<base::Value> kilobyte = CreateKilobyte(); base 212 extensions/browser/api/storage/storage_frontend_unittest.cc ValueStore::DEFAULTS, base::StringPrintf("%d", i), *kilobyte); base 221 extensions/browser/api/storage/storage_frontend_unittest.cc ValueStore::DEFAULTS, base::StringPrintf("%d", i), *kilobyte); base 228 extensions/browser/api/storage/storage_frontend_unittest.cc scoped_ptr<base::Value> megabyte = CreateMegabyte(); base 231 extensions/browser/api/storage/storage_frontend_unittest.cc ValueStore::DEFAULTS, base::StringPrintf("%d", i), *megabyte); base 246 extensions/browser/api/storage/storage_frontend_unittest.cc scoped_ptr<base::Value> kilobyte = CreateKilobyte(); base 249 extensions/browser/api/storage/storage_frontend_unittest.cc ValueStore::DEFAULTS, base::StringPrintf("%d", i), *kilobyte); base 258 extensions/browser/api/storage/storage_frontend_unittest.cc scoped_ptr<base::Value> megabyte = CreateMegabyte(); base 261 extensions/browser/api/storage/storage_frontend_unittest.cc ValueStore::DEFAULTS, base::StringPrintf("%d", i), *megabyte); base 287 extensions/browser/api/storage/storage_frontend_unittest.cc extension, settings::SYNC, base::Bind(&UnlimitedSyncStorageTestCallback)); base 290 extensions/browser/api/storage/storage_frontend_unittest.cc base::Bind(&UnlimitedLocalStorageTestCallback)); base 292 extensions/browser/api/storage/storage_frontend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 30 extensions/browser/api/storage/value_store_cache.h typedef base::Callback<void(ValueStore*)> StorageCallback; base 44 extensions/browser/api/storage/weak_unlimited_settings_storage.cc WriteOptions options, const std::string& key, const base::Value& value) { base 49 extensions/browser/api/storage/weak_unlimited_settings_storage.cc WriteOptions options, const base::DictionaryValue& values) { base 33 extensions/browser/api/storage/weak_unlimited_settings_storage.h const base::Value& value) OVERRIDE; base 35 extensions/browser/api/storage/weak_unlimited_settings_storage.h WriteOptions options, const base::DictionaryValue& values) OVERRIDE; base 104 extensions/browser/api/test/test_api.cc SetResult(new base::StringValue(message)); base 110 extensions/browser/api/test/test_api.cc base::DictionaryValue* value) { base 143 extensions/browser/api/test/test_api.cc SetResult(new base::StringValue(params->message)); base 91 extensions/browser/api/test/test_api.h static void set_test_config_state(base::DictionaryValue* value); base 102 extensions/browser/api/test/test_api.h void set_config_state(base::DictionaryValue* config_state) { base 106 extensions/browser/api/test/test_api.h const base::DictionaryValue* config_state() { return config_state_; } base 112 extensions/browser/api/test/test_api.h base::DictionaryValue* config_state_; base 12 extensions/browser/api_activity_monitor.h namespace base { base 26 extensions/browser/api_activity_monitor.h scoped_ptr<base::ListValue> event_args) = 0; base 31 extensions/browser/api_activity_monitor.h scoped_ptr<base::ListValue> args) = 0; base 17 extensions/browser/error_map.cc base::LazyInstance<ErrorList> g_empty_error_list = LAZY_INSTANCE_INITIALIZER; base 44 extensions/browser/error_map_unittest.cc CreateNewRuntimeError(kId, base::UintToString(i), i % 2 == 0))); base 97 extensions/browser/error_map_unittest.cc CreateNewRuntimeError(kId, base::UintToString(i)))); base 107 extensions/browser/error_map_unittest.cc ASSERT_EQ(base::UintToString16(kNumExtraErrors), base 110 extensions/browser/error_map_unittest.cc ASSERT_EQ(base::UintToString16(kMaxErrorsPerExtension + kNumExtraErrors - 1), base 125 extensions/browser/error_map_unittest.cc CreateNewRuntimeError(kId, base::UintToString(i)))); base 131 extensions/browser/error_map_unittest.cc CreateNewRuntimeError(kId, base::UintToString(1u)); base 11 extensions/browser/event_listener_map.cc using base::DictionaryValue; base 173 extensions/browser/event_listener_map.cc const base::ListValue* filter_list = NULL; base 16 extensions/browser/event_listener_map.h namespace base { base 49 extensions/browser/event_listener_map.h scoped_ptr<base::DictionaryValue> filter); base 59 extensions/browser/event_listener_map.h scoped_ptr<base::DictionaryValue> filter; base 134 extensions/browser/event_listener_map.h const base::DictionaryValue& filtered); base 143 extensions/browser/event_listener_map.h base::DictionaryValue* filter_dict); base 12 extensions/browser/event_listener_map_unittest.cc using base::DictionaryValue; base 13 extensions/browser/event_listener_map_unittest.cc using base::ListValue; base 14 extensions/browser/event_listener_map_unittest.cc using base::StringValue; base 33 extensions/browser/event_router.cc using base::DictionaryValue; base 34 extensions/browser/event_router.cc using base::ListValue; base 59 extensions/browser/event_router.cc base::Bind(&NotifyApiEventDispatched, base 63 extensions/browser/event_router.cc base::Passed(&args))); base 112 extensions/browser/event_router.cc args.Set(0, new base::StringValue(event_name)); base 125 extensions/browser/event_router.cc scoped_ptr<base::Value> removed_event_args; base 160 extensions/browser/event_router.cc base::Bind(&EventRouter::IncrementInFlightEventsOnUI, base 270 extensions/browser/event_router.cc const base::DictionaryValue& filter, base 290 extensions/browser/event_router.cc const base::DictionaryValue& filter, base 358 extensions/browser/event_router.cc events_value->Append(new base::StringValue(*iter)); base 601 extensions/browser/event_router.cc base::Bind(&EventRouter::DispatchPendingEvent, base 602 extensions/browser/event_router.cc base::Unretained(this), dispatched_event)); base 689 extensions/browser/event_router.cc base::Bind(&DoNothing)); base 721 extensions/browser/event_router.cc scoped_ptr<base::ListValue> event_args) base 731 extensions/browser/event_router.cc scoped_ptr<base::ListValue> event_args, base 761 extensions/browser/event_router.cc scoped_ptr<base::ListValue>(event_args->DeepCopy()), base 86 extensions/browser/event_router.h scoped_ptr<base::ListValue> event_args, base 131 extensions/browser/event_router.h const base::DictionaryValue& filter, base 139 extensions/browser/event_router.h const base::DictionaryValue& filter, base 195 extensions/browser/event_router.h base::ListValue* event_args, base 248 extensions/browser/event_router.h const base::DictionaryValue* filter); base 253 extensions/browser/event_router.h const base::DictionaryValue* filter); base 257 extensions/browser/event_router.h const base::DictionaryValue* GetFilteredEvents( base 288 extensions/browser/event_router.h typedef base::hash_map<std::string, Observer*> ObserverMap; base 295 extensions/browser/event_router.h typedef base::Callback<void(content::BrowserContext*, base 297 extensions/browser/event_router.h base::ListValue*)> WillDispatchCallback; base 303 extensions/browser/event_router.h scoped_ptr<base::ListValue> event_args; base 334 extensions/browser/event_router.h scoped_ptr<base::ListValue> event_args); base 337 extensions/browser/event_router.h scoped_ptr<base::ListValue> event_args, base 341 extensions/browser/event_router.h scoped_ptr<base::ListValue> event_args, base 72 extensions/browser/event_router_unittest.cc "event_name", "extension_id", NULL, scoped_ptr<base::DictionaryValue>()); base 110 extensions/browser/event_router_unittest.cc scoped_ptr<base::DictionaryValue>()); base 13 extensions/browser/extension_error.cc using base::DictionaryValue; base 32 extensions/browser/extension_error.cc const base::string16& source, base 33 extensions/browser/extension_error.cc const base::string16& message) base 63 extensions/browser/extension_error.cc "\n Level: " + base::IntToString(static_cast<int>(level_)) + base 64 extensions/browser/extension_error.cc "\n Source: " + base::UTF16ToUTF8(source_) + base 65 extensions/browser/extension_error.cc "\n Message: " + base::UTF16ToUTF8(message_) + base 86 extensions/browser/extension_error.cc const base::string16& message, base 87 extensions/browser/extension_error.cc const base::string16& manifest_key, base 88 extensions/browser/extension_error.cc const base::string16& manifest_specific) base 93 extensions/browser/extension_error.cc base::FilePath(kManifestFilename).AsUTF16Unsafe(), base 137 extensions/browser/extension_error.cc const base::string16& source, base 138 extensions/browser/extension_error.cc const base::string16& message, base 166 extensions/browser/extension_error.cc base::ListValue* trace_value = new base::ListValue; base 190 extensions/browser/extension_error.cc "\n Line: " + base::IntToString(iter->line_number) + base 191 extensions/browser/extension_error.cc "\n Column: " + base::IntToString(iter->column_number) + base 192 extensions/browser/extension_error.cc "\n URL: " + base::UTF16ToUTF8(iter->source) + base 193 extensions/browser/extension_error.cc "\n Function: " + base::UTF16ToUTF8(iter->function) + base 18 extensions/browser/extension_error.h namespace base { base 34 extensions/browser/extension_error.h virtual scoped_ptr<base::DictionaryValue> ToValue() const; base 46 extensions/browser/extension_error.h const base::string16& source() const { return source_; } base 47 extensions/browser/extension_error.h const base::string16& message() const { return message_; } base 64 extensions/browser/extension_error.h const base::string16& source, base 65 extensions/browser/extension_error.h const base::string16& message); base 80 extensions/browser/extension_error.h base::string16 source_; base 82 extensions/browser/extension_error.h base::string16 message_; base 92 extensions/browser/extension_error.h const base::string16& message, base 93 extensions/browser/extension_error.h const base::string16& manifest_key, base 94 extensions/browser/extension_error.h const base::string16& manifest_specific); base 97 extensions/browser/extension_error.h virtual scoped_ptr<base::DictionaryValue> ToValue() const OVERRIDE; base 101 extensions/browser/extension_error.h const base::string16& manifest_key() const { return manifest_key_; } base 102 extensions/browser/extension_error.h const base::string16& manifest_specific() const { return manifest_specific_; } base 113 extensions/browser/extension_error.h base::string16 manifest_key_; base 116 extensions/browser/extension_error.h base::string16 manifest_specific_; base 125 extensions/browser/extension_error.h const base::string16& source, base 126 extensions/browser/extension_error.h const base::string16& message, base 134 extensions/browser/extension_error.h virtual scoped_ptr<base::DictionaryValue> ToValue() const OVERRIDE; base 29 extensions/browser/extension_error_test_util.cc StackFrame::CreateFromText(base::UTF8ToUTF16(kDefaultStackTrace)); base 33 extensions/browser/extension_error_test_util.cc base::string16 source = base 34 extensions/browser/extension_error_test_util.cc base::UTF8ToUTF16(std::string(kExtensionScheme) + base 42 extensions/browser/extension_error_test_util.cc base::UTF8ToUTF16(message), base 58 extensions/browser/extension_error_test_util.cc base::UTF8ToUTF16(message), base 59 extensions/browser/extension_error_test_util.cc base::EmptyString16(), base 60 extensions/browser/extension_error_test_util.cc base::EmptyString16())); base 106 extensions/browser/extension_function.cc void ExtensionFunction::SetArgs(const base::ListValue* args) { base 111 extensions/browser/extension_function.cc void ExtensionFunction::SetResult(base::Value* result) { base 112 extensions/browser/extension_function.cc results_.reset(new base::ListValue()); base 116 extensions/browser/extension_function.cc const base::ListValue* ExtensionFunction::GetResultList() { base 140 extensions/browser/extension_function.cc base::Value* value; base 141 extensions/browser/extension_function.cc return args_->Get(index, &value) && !value->IsType(base::Value::TYPE_NULL); base 155 extensions/browser/extension_function.cc results_.reset(new base::ListValue()); base 29 extensions/browser/extension_function.h namespace base { base 84 extensions/browser/extension_function.h : public base::RefCountedThreadSafe<ExtensionFunction, base 96 extensions/browser/extension_function.h typedef base::Callback<void(ResponseType type, base 97 extensions/browser/extension_function.h const base::ListValue& results, base 143 extensions/browser/extension_function.h virtual void SetArgs(const base::ListValue* args); base 146 extensions/browser/extension_function.h void SetResult(base::Value* result); base 149 extensions/browser/extension_function.h const base::ListValue* GetResultList(); base 249 extensions/browser/extension_function.h scoped_ptr<base::ListValue> args_; base 253 extensions/browser/extension_function.h scoped_ptr<base::ListValue> results_; base 319 extensions/browser/extension_function.h void set_dispatcher(const base::WeakPtr< base 338 extensions/browser/extension_function.h friend class base::DeleteHelper<UIThreadExtensionFunction>; base 345 extensions/browser/extension_function.h base::WeakPtr<extensions::ExtensionFunctionDispatcher> dispatcher_; base 381 extensions/browser/extension_function.h base::WeakPtr<extensions::ExtensionMessageFilter> ipc_sender, base 387 extensions/browser/extension_function.h base::WeakPtr<extensions::ExtensionMessageFilter> ipc_sender_weak() const { base 403 extensions/browser/extension_function.h friend class base::DeleteHelper<IOThreadExtensionFunction>; base 412 extensions/browser/extension_function.h base::WeakPtr<extensions::ExtensionMessageFilter> ipc_sender_; base 48 extensions/browser/extension_function_dispatcher.cc scoped_ptr<base::ListValue> args, base 55 extensions/browser/extension_function_dispatcher.cc base::Bind(&NotifyApiFunctionCalled, base 58 extensions/browser/extension_function_dispatcher.cc base::Passed(&args), base 79 extensions/browser/extension_function_dispatcher.cc base::LazyInstance<Static> g_global_io_data = LAZY_INSTANCE_INITIALIZER; base 82 extensions/browser/extension_function_dispatcher.cc void KillBadMessageSender(base::ProcessHandle process) { base 84 extensions/browser/extension_function_dispatcher.cc content::RecordAction(base::UserMetricsAction("BadMessageTerminate_EFD")); base 86 extensions/browser/extension_function_dispatcher.cc base::KillProcess(process, content::RESULT_CODE_KILLED_BAD_MESSAGE, false); base 91 extensions/browser/extension_function_dispatcher.cc base::ProcessHandle peer_process, base 94 extensions/browser/extension_function_dispatcher.cc const base::ListValue& results, base 121 extensions/browser/extension_function_dispatcher.cc const base::WeakPtr<ExtensionMessageFilter>& ipc_sender, base 125 extensions/browser/extension_function_dispatcher.cc const base::ListValue& results, base 145 extensions/browser/extension_function_dispatcher.cc const base::WeakPtr<ExtensionFunctionDispatcher>& dispatcher, base 173 extensions/browser/extension_function_dispatcher.cc return base::Bind( base 182 extensions/browser/extension_function_dispatcher.cc const base::ListValue& results, base 190 extensions/browser/extension_function_dispatcher.cc base::WeakPtr<ExtensionFunctionDispatcher> dispatcher_; base 192 extensions/browser/extension_function_dispatcher.cc base::WeakPtrFactory<UIThreadResponseCallbackWrapper> weak_ptr_factory_; base 228 extensions/browser/extension_function_dispatcher.cc base::WeakPtr<ExtensionMessageFilter> ipc_sender, base 235 extensions/browser/extension_function_dispatcher.cc base::Bind(&IOThreadResponseCallback, ipc_sender, routing_id, base 267 extensions/browser/extension_function_dispatcher.cc base::TimeTicks::Now()); base 269 extensions/browser/extension_function_dispatcher.cc scoped_ptr<base::ListValue> args(params.arguments.DeepCopy()); base 374 extensions/browser/extension_function_dispatcher.cc base::TimeTicks::Now()); base 376 extensions/browser/extension_function_dispatcher.cc scoped_ptr<base::ListValue> args(params.arguments.DeepCopy()); base 507 extensions/browser/extension_function_dispatcher.cc base::ListValue empty_list; base 51 extensions/browser/extension_function_dispatcher.h : public base::SupportsWeakPtr<ExtensionFunctionDispatcher> { base 88 extensions/browser/extension_function_dispatcher.h base::WeakPtr<ExtensionMessageFilter> ipc_sender, base 9 extensions/browser/extension_function_util.cc bool ReadOneOrMoreIntegers(base::Value* value, std::vector<int>* result) { base 10 extensions/browser/extension_function_util.cc if (value->IsType(base::Value::TYPE_INTEGER)) { base 17 extensions/browser/extension_function_util.cc } else if (value->IsType(base::Value::TYPE_LIST)) { base 18 extensions/browser/extension_function_util.cc base::ListValue* values = static_cast<base::ListValue*>(value); base 11 extensions/browser/extension_function_util.h namespace base { base 20 extensions/browser/extension_function_util.h bool ReadOneOrMoreIntegers(base::Value* value, std::vector<int>* result); base 85 extensions/browser/extension_host.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 86 extensions/browser/extension_host.cc base::Bind(&ProcessCreationQueue::ProcessOneHost, base 108 extensions/browser/extension_host.cc base::WeakPtrFactory<ProcessCreationQueue> ptr_factory_; base 238 extensions/browser/extension_host.cc void ExtensionHost::RenderProcessGone(base::TerminationStatus status) { base 85 extensions/browser/extension_host.h virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; base 178 extensions/browser/extension_host.h base::ElapsedTimer since_created_; base 128 extensions/browser/extension_message_filter.cc const base::DictionaryValue& filter, base 143 extensions/browser/extension_message_filter.cc const base::DictionaryValue& filter, base 17 extensions/browser/extension_message_filter.h namespace base { base 60 extensions/browser/extension_message_filter.h const base::DictionaryValue& filter, base 64 extensions/browser/extension_message_filter.h const base::DictionaryValue& filter, base 84 extensions/browser/extension_message_filter.h base::WeakPtrFactory<ExtensionMessageFilter> weak_ptr_factory_; base 24 extensions/browser/extension_pref_store.cc const base::Value *winner = base 15 extensions/browser/extension_pref_value_map.cc base::Time install_time; base 53 extensions/browser/extension_pref_value_map.cc base::Value* value) { base 122 extensions/browser/extension_pref_value_map.cc const base::Time& install_time, base 243 extensions/browser/extension_pref_value_map.cc const base::Value* ExtensionPrefValueMap::GetEffectivePrefValue( base 252 extensions/browser/extension_pref_value_map.cc const base::Value* value = NULL; base 294 extensions/browser/extension_pref_value_map.cc base::Time winners_install_time; base 299 extensions/browser/extension_pref_value_map.cc const base::Time& install_time = i->second->install_time; base 310 extensions/browser/extension_pref_value_map.cc const base::Value* value = NULL; base 89 extensions/browser/extension_pref_value_map.h base::Value* value); base 134 extensions/browser/extension_pref_value_map.h const base::Time& install_time, base 154 extensions/browser/extension_pref_value_map.h const base::Value* GetEffectivePrefValue(const std::string& key, base 25 extensions/browser/extension_pref_value_map_unittest.cc static base::Value* CreateVal(const char* str) { base 26 extensions/browser/extension_pref_value_map_unittest.cc return new base::StringValue(str); base 29 extensions/browser/extension_pref_value_map_unittest.cc static base::Time CreateTime(int64 t) { base 30 extensions/browser/extension_pref_value_map_unittest.cc return base::Time::FromInternalValue(t); base 47 extensions/browser/extension_pref_value_map_unittest.cc const base::Value *value = base 57 extensions/browser/extension_pref_value_map_unittest.cc const base::Time& install_time) { base 31 extensions/browser/extension_prefs.cc using base::Value; base 32 extensions/browser/extension_prefs.cc using base::DictionaryValue; base 33 extensions/browser/extension_prefs.cc using base::ListValue; base 205 extensions/browser/extension_prefs.cc virtual base::DictionaryValue* Get() OVERRIDE { base 206 extensions/browser/extension_prefs.cc base::DictionaryValue* dict = DictionaryPrefUpdate::Get(); base 207 extensions/browser/extension_prefs.cc base::DictionaryValue* extension = NULL; base 210 extensions/browser/extension_prefs.cc extension = new base::DictionaryValue(); base 229 extensions/browser/extension_prefs.cc bool IsBlacklistBitSet(const base::DictionaryValue* ext) { base 234 extensions/browser/extension_prefs.cc bool IsEvictedEphemeralApp(const base::DictionaryValue* ext) { base 248 extensions/browser/extension_prefs.cc const base::DictionaryValue* source_dict = base 250 extensions/browser/extension_prefs.cc const base::DictionaryValue* preferences = NULL; base 254 extensions/browser/extension_prefs.cc for (base::DictionaryValue::Iterator iter(*preferences); !iter.IsAtEnd(); base 273 extensions/browser/extension_prefs.cc base::Time ExtensionPrefs::TimeProvider::GetCurrentTime() const { base 274 extensions/browser/extension_prefs.cc return base::Time::Now(); base 280 extensions/browser/extension_prefs.cc template <typename T, base::Value::Type type_enum_value> base 291 extensions/browser/extension_prefs.cc template <typename T, base::Value::Type type_enum_value> base 295 extensions/browser/extension_prefs.cc template <typename T, base::Value::Type type_enum_value> base 297 extensions/browser/extension_prefs.cc base::DictionaryValue* dict = update_.Get(); base 298 extensions/browser/extension_prefs.cc base::DictionaryValue* extension = NULL; base 299 extensions/browser/extension_prefs.cc base::Value* key_value = NULL; base 309 extensions/browser/extension_prefs.cc template <typename T, base::Value::Type type_enum_value> base 311 extensions/browser/extension_prefs.cc base::DictionaryValue* dict = update_.Get(); base 312 extensions/browser/extension_prefs.cc base::DictionaryValue* extension = NULL; base 313 extensions/browser/extension_prefs.cc base::Value* key_value = NULL; base 316 extensions/browser/extension_prefs.cc extension = new base::DictionaryValue; base 330 extensions/browser/extension_prefs.cc template class ExtensionPrefs::ScopedUpdate<base::DictionaryValue, base 331 extensions/browser/extension_prefs.cc base::Value::TYPE_DICTIONARY>; base 332 extensions/browser/extension_prefs.cc template class ExtensionPrefs::ScopedUpdate<base::ListValue, base 333 extensions/browser/extension_prefs.cc base::Value::TYPE_LIST>; base 342 extensions/browser/extension_prefs.cc const base::FilePath& root_dir, base 359 extensions/browser/extension_prefs.cc const base::FilePath& root_dir, base 382 extensions/browser/extension_prefs.cc static base::FilePath::StringType MakePathRelative(const base::FilePath& parent, base 383 extensions/browser/extension_prefs.cc const base::FilePath& child) { base 387 extensions/browser/extension_prefs.cc base::FilePath::StringType retval = child.value().substr( base 389 extensions/browser/extension_prefs.cc if (base::FilePath::IsSeparator(retval[0])) base 396 extensions/browser/extension_prefs.cc const base::DictionaryValue* dict = base 403 extensions/browser/extension_prefs.cc for (base::DictionaryValue::Iterator i(*dict); !i.IsAtEnd(); i.Advance()) { base 404 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension_dict = NULL; base 414 extensions/browser/extension_prefs.cc base::FilePath::StringType path_string; base 417 extensions/browser/extension_prefs.cc base::FilePath path(path_string); base 426 extensions/browser/extension_prefs.cc base::DictionaryValue* update_dict = update.Get(); base 429 extensions/browser/extension_prefs.cc base::DictionaryValue* extension_dict = NULL; base 434 extensions/browser/extension_prefs.cc base::FilePath::StringType path_string; base 436 extensions/browser/extension_prefs.cc base::FilePath path(path_string); base 442 extensions/browser/extension_prefs.cc const base::DictionaryValue* ExtensionPrefs::GetExtensionPref( base 444 extensions/browser/extension_prefs.cc const base::DictionaryValue* extensions = base 446 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension_dict = NULL; base 456 extensions/browser/extension_prefs.cc base::Value* data_value) { base 474 extensions/browser/extension_prefs.cc base::DictionaryValue* dict = update.Get(); base 481 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = GetExtensionPref(extension_id); base 491 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = GetExtensionPref(extension_id); base 501 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = GetExtensionPref(extension_id); base 510 extensions/browser/extension_prefs.cc const base::ListValue** out_value) const { base 511 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = GetExtensionPref(extension_id); base 512 extensions/browser/extension_prefs.cc const base::ListValue* out = NULL; base 524 extensions/browser/extension_prefs.cc const base::DictionaryValue** out_value) const { base 525 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = GetExtensionPref(extension_id); base 526 extensions/browser/extension_prefs.cc const base::DictionaryValue* out = NULL; base 544 extensions/browser/extension_prefs.cc const base::ListValue* value = NULL; base 575 extensions/browser/extension_prefs.cc const base::ListValue* api_values = NULL; base 586 extensions/browser/extension_prefs.cc const base::ListValue* manifest_permissions_values = NULL; base 620 extensions/browser/extension_prefs.cc static base::ListValue* CreatePermissionList(const T& permissions) { base 621 extensions/browser/extension_prefs.cc base::ListValue* values = new base::ListValue(); base 624 extensions/browser/extension_prefs.cc scoped_ptr<base::Value> detail(i->ToValue()); base 626 extensions/browser/extension_prefs.cc base::DictionaryValue* tmp = new base::DictionaryValue(); base 630 extensions/browser/extension_prefs.cc values->Append(new base::StringValue(i->name())); base 641 extensions/browser/extension_prefs.cc base::ListValue* api_values = CreatePermissionList(new_value->apis()); base 646 extensions/browser/extension_prefs.cc base::ListValue* manifest_permissions_values = CreatePermissionList( base 673 extensions/browser/extension_prefs.cc new base::FundamentalValue(count)); base 686 extensions/browser/extension_prefs.cc new base::FundamentalValue(true)); base 699 extensions/browser/extension_prefs.cc new base::FundamentalValue(true)); base 712 extensions/browser/extension_prefs.cc new base::FundamentalValue(true)); base 724 extensions/browser/extension_prefs.cc value ? base::Value::CreateBooleanValue(value) : NULL); base 738 extensions/browser/extension_prefs.cc value ? base::Value::CreateBooleanValue(value) : NULL); base 763 extensions/browser/extension_prefs.cc new base::FundamentalValue(did_escalate)); base 816 extensions/browser/extension_prefs.cc new base::FundamentalValue(new_value)); base 827 extensions/browser/extension_prefs.cc const base::DictionaryValue* extensions = base 832 extensions/browser/extension_prefs.cc for (base::DictionaryValue::Iterator it(*extensions); base 834 extensions/browser/extension_prefs.cc if (!it.value().IsType(base::Value::TYPE_DICTIONARY)) { base 839 extensions/browser/extension_prefs.cc static_cast<const base::DictionaryValue*>(&it.value()))) { base 860 extensions/browser/extension_prefs.cc new base::FundamentalValue(true)); base 863 extensions/browser/extension_prefs.cc const base::DictionaryValue* dict = GetExtensionPref(extension_id); base 870 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext_prefs = GetExtensionPref(id); base 877 extensions/browser/extension_prefs.cc void SaveTime(base::DictionaryValue* dictionary, base 879 extensions/browser/extension_prefs.cc const base::Time& time) { base 882 extensions/browser/extension_prefs.cc std::string string_value = base::Int64ToString(time.ToInternalValue()); base 888 extensions/browser/extension_prefs.cc base::Time ReadTime(const base::DictionaryValue* dictionary, const char* key) { base 890 extensions/browser/extension_prefs.cc return base::Time(); base 894 extensions/browser/extension_prefs.cc if (base::StringToInt64(string_value, &value)) { base 895 extensions/browser/extension_prefs.cc return base::Time::FromInternalValue(value); base 898 extensions/browser/extension_prefs.cc return base::Time(); base 903 extensions/browser/extension_prefs.cc base::Time ExtensionPrefs::LastPingDay(const std::string& extension_id) const { base 909 extensions/browser/extension_prefs.cc const base::Time& time) { base 915 extensions/browser/extension_prefs.cc base::Time ExtensionPrefs::BlacklistLastPingDay() const { base 920 extensions/browser/extension_prefs.cc void ExtensionPrefs::SetBlacklistLastPingDay(const base::Time& time) { base 925 extensions/browser/extension_prefs.cc base::Time ExtensionPrefs::LastActivePingDay(const std::string& extension_id) { base 931 extensions/browser/extension_prefs.cc const base::Time& time) { base 938 extensions/browser/extension_prefs.cc const base::DictionaryValue* dictionary = GetExtensionPref(extension_id); base 948 extensions/browser/extension_prefs.cc new base::FundamentalValue(active)); base 959 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = GetExtensionPref(*ext_id); base 965 extensions/browser/extension_prefs.cc *ext_id, kPrefOldGrantedFullAccess, new base::ListValue()); base 969 extensions/browser/extension_prefs.cc const base::ListValue* apis = NULL; base 970 extensions/browser/extension_prefs.cc base::ListValue* new_apis = NULL; base 976 extensions/browser/extension_prefs.cc new_apis = new base::ListValue(); base 979 extensions/browser/extension_prefs.cc new_apis->Append(new base::StringValue(plugin_name)); base 989 extensions/browser/extension_prefs.cc const base::ListValue* hosts = NULL; base 997 extensions/browser/extension_prefs.cc UpdateExtensionPref(*ext_id, kPrefOldGrantedHosts, new base::ListValue()); base 1022 extensions/browser/extension_prefs.cc new base::FundamentalValue(new_value)); base 1086 extensions/browser/extension_prefs.cc base::Value* value = new base::FundamentalValue(is_running); base 1091 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension = GetExtensionPref(extension_id); base 1101 extensions/browser/extension_prefs.cc base::Value* value = new base::FundamentalValue(is_active); base 1106 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension = GetExtensionPref(extension_id); base 1121 extensions/browser/extension_prefs.cc new base::FundamentalValue(enabled)); base 1132 extensions/browser/extension_prefs.cc new base::FundamentalValue(allow)); base 1137 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = GetExtensionPref(extension_id); base 1143 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension = GetExtensionPref(id); base 1192 extensions/browser/extension_prefs.cc base::DictionaryValue* extension_dict = update.Get(); base 1193 extensions/browser/extension_prefs.cc const base::Time install_time = time_provider_->GetCurrentTime(); base 1216 extensions/browser/extension_prefs.cc new base::FundamentalValue( base 1227 extensions/browser/extension_prefs.cc new base::FundamentalValue(true)); base 1237 extensions/browser/extension_prefs.cc new base::FundamentalValue(state)); base 1249 extensions/browser/extension_prefs.cc new base::FundamentalValue(state)); base 1256 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext_prefs = GetExtensionPref(extension_id); base 1265 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension = GetExtensionPref(extension_id); base 1277 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension_dict = base 1281 extensions/browser/extension_prefs.cc const base::DictionaryValue* old_manifest = NULL; base 1292 extensions/browser/extension_prefs.cc base::FilePath ExtensionPrefs::GetExtensionPath( base 1294 extensions/browser/extension_prefs.cc const base::DictionaryValue* dict = GetExtensionPref(extension_id); base 1296 extensions/browser/extension_prefs.cc return base::FilePath(); base 1300 extensions/browser/extension_prefs.cc return base::FilePath(); base 1302 extensions/browser/extension_prefs.cc return install_directory_.Append(base::FilePath::FromUTF8Unsafe(path)); base 1307 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension) const { base 1312 extensions/browser/extension_prefs.cc base::FilePath::StringType path; base 1321 extensions/browser/extension_prefs.cc !base::FilePath(path).IsAbsolute()); base 1333 extensions/browser/extension_prefs.cc const base::DictionaryValue* manifest = NULL; base 1341 extensions/browser/extension_prefs.cc manifest, extension_id, base::FilePath(path), location)); base 1346 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = NULL; base 1347 extensions/browser/extension_prefs.cc const base::DictionaryValue* extensions = base 1377 extensions/browser/extension_prefs.cc const base::DictionaryValue* extensions = base 1379 extensions/browser/extension_prefs.cc for (base::DictionaryValue::Iterator extension_id(*extensions); base 1397 extensions/browser/extension_prefs.cc const base::DictionaryValue* extensions = base 1399 extensions/browser/extension_prefs.cc for (base::DictionaryValue::Iterator extension_id(*extensions); base 1401 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = NULL; base 1423 extensions/browser/extension_prefs.cc base::DictionaryValue* extension_dict = new base::DictionaryValue(); base 1459 extensions/browser/extension_prefs.cc base::DictionaryValue* extension_dict = update.Get(); base 1460 extensions/browser/extension_prefs.cc base::DictionaryValue* pending_install_dict = NULL; base 1479 extensions/browser/extension_prefs.cc const base::Time install_time = time_provider_->GetCurrentTime(); base 1482 extensions/browser/extension_prefs.cc new base::StringValue( base 1483 extensions/browser/extension_prefs.cc base::Int64ToString(install_time.ToInternalValue()))); base 1486 extensions/browser/extension_prefs.cc for (base::DictionaryValue::Iterator it(*pending_install_dict); !it.IsAtEnd(); base 1497 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension_prefs = base 1502 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = NULL; base 1511 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension_prefs = base 1516 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = NULL; base 1531 extensions/browser/extension_prefs.cc const base::DictionaryValue* extensions = base 1533 extensions/browser/extension_prefs.cc for (base::DictionaryValue::Iterator extension_id(*extensions); base 1550 extensions/browser/extension_prefs.cc const base::DictionaryValue* extensions = base 1552 extensions/browser/extension_prefs.cc for (base::DictionaryValue::Iterator extension_id(*extensions); base 1554 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = NULL; base 1574 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension_prefs = GetExtensionPref(extension_id); base 1600 extensions/browser/extension_prefs.cc new base::FundamentalValue(true)); base 1605 extensions/browser/extension_prefs.cc const base::DictionaryValue* dictionary = GetExtensionPref(extension_id); base 1614 extensions/browser/extension_prefs.cc const base::DictionaryValue* dictionary = GetExtensionPref(extension_id); base 1641 extensions/browser/extension_prefs.cc const base::DictionaryValue* delayed_info = NULL; base 1650 extensions/browser/extension_prefs.cc const base::DictionaryValue* dictionary = GetExtensionPref(extension_id); base 1659 extensions/browser/extension_prefs.cc const base::DictionaryValue* dictionary = GetExtensionPref(extension_id); base 1666 extensions/browser/extension_prefs.cc base::Time ExtensionPrefs::GetInstallTime( base 1668 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension = GetExtensionPref(extension_id); base 1671 extensions/browser/extension_prefs.cc return base::Time(); base 1675 extensions/browser/extension_prefs.cc return base::Time(); base 1677 extensions/browser/extension_prefs.cc if (!base::StringToInt64(install_time_str, &install_time_i64)) base 1678 extensions/browser/extension_prefs.cc return base::Time(); base 1679 extensions/browser/extension_prefs.cc return base::Time::FromInternalValue(install_time_i64); base 1682 extensions/browser/extension_prefs.cc base::Time ExtensionPrefs::GetLastLaunchTime( base 1684 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension = GetExtensionPref(extension_id); base 1686 extensions/browser/extension_prefs.cc return base::Time(); base 1690 extensions/browser/extension_prefs.cc return base::Time(); base 1692 extensions/browser/extension_prefs.cc if (!base::StringToInt64(launch_time_str, &launch_time_i64)) base 1693 extensions/browser/extension_prefs.cc return base::Time(); base 1694 extensions/browser/extension_prefs.cc return base::Time::FromInternalValue(launch_time_i64); base 1698 extensions/browser/extension_prefs.cc const base::Time& time) { base 1720 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension_prefs = NULL; base 1721 extensions/browser/extension_prefs.cc const base::Value* extension_prefs_value = base 1728 extensions/browser/extension_prefs.cc for (base::DictionaryValue::Iterator it(*extension_prefs); !it.IsAtEnd(); base 1730 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = NULL; base 1754 extensions/browser/extension_prefs.cc if (GetInstallTime(*ext_id) == base::Time()) { base 1759 extensions/browser/extension_prefs.cc const base::Time install_time = time_provider_->GetCurrentTime(); base 1762 extensions/browser/extension_prefs.cc new base::StringValue(base::Int64ToString( base 1807 extensions/browser/extension_prefs.cc const base::ListValue* list = base 1826 extensions/browser/extension_prefs.cc const base::DictionaryValue* ExtensionPrefs::GetGeometryCache( base 1828 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension_prefs = GetExtensionPref(extension_id); base 1832 extensions/browser/extension_prefs.cc const base::DictionaryValue* ext = NULL; base 1841 extensions/browser/extension_prefs.cc scoped_ptr<base::DictionaryValue> cache) { base 1845 extensions/browser/extension_prefs.cc const base::DictionaryValue* ExtensionPrefs::GetInstallSignature() { base 1850 extensions/browser/extension_prefs.cc const base::DictionaryValue* signature) { base 1862 extensions/browser/extension_prefs.cc const base::DictionaryValue* extension = GetExtensionPref(extension_id); base 1875 extensions/browser/extension_prefs.cc new base::StringValue(install_parameter)); base 1880 extensions/browser/extension_prefs.cc const base::FilePath& root_dir, base 1984 extensions/browser/extension_prefs.cc const base::Value* user_pref_value = prefs_->GetUserPrefValue(pref); base 1985 extensions/browser/extension_prefs.cc const base::ListValue* user_pref_as_list; base 1992 extensions/browser/extension_prefs.cc for (base::ListValue::const_iterator value_it = user_pref_as_list->begin(); base 2008 extensions/browser/extension_prefs.cc base::ListValue* list_of_values = update.Get(); base 2012 extensions/browser/extension_prefs.cc list_of_values->Append(new base::StringValue(*iter)); base 2018 extensions/browser/extension_prefs.cc const base::Time install_time, base 2022 extensions/browser/extension_prefs.cc base::DictionaryValue* extension_dict) { base 2027 extensions/browser/extension_prefs.cc extension_dict->Set(kPrefState, new base::FundamentalValue(initial_state)); base 2030 extensions/browser/extension_prefs.cc new base::FundamentalValue(extension->location())); base 2032 extensions/browser/extension_prefs.cc new base::FundamentalValue(extension->creation_flags())); base 2034 extensions/browser/extension_prefs.cc new base::FundamentalValue(extension->from_webstore())); base 2036 extensions/browser/extension_prefs.cc new base::FundamentalValue(extension->from_bookmark())); base 2039 extensions/browser/extension_prefs.cc new base::FundamentalValue(extension->was_installed_by_default())); base 2042 extensions/browser/extension_prefs.cc new base::FundamentalValue(extension->was_installed_by_oem())); base 2044 extensions/browser/extension_prefs.cc new base::StringValue( base 2045 extensions/browser/extension_prefs.cc base::Int64ToString(install_time.ToInternalValue()))); base 2047 extensions/browser/extension_prefs.cc extension_dict->Set(kPrefBlacklist, new base::FundamentalValue(true)); base 2049 extensions/browser/extension_prefs.cc base::FilePath::StringType path = MakePathRelative(install_directory_, base 2051 extensions/browser/extension_prefs.cc extension_dict->Set(kPrefPath, new base::StringValue(path)); base 2054 extensions/browser/extension_prefs.cc new base::StringValue(install_parameter)); base 2072 extensions/browser/extension_prefs.cc base::Time install_time = GetInstallTime(*extension_id); base 2103 extensions/browser/extension_prefs.cc const base::Time install_time, base 2106 extensions/browser/extension_prefs.cc base::DictionaryValue* extension_dict) { base 2110 extensions/browser/extension_prefs.cc new base::DictionaryValue); base 2115 extensions/browser/extension_prefs.cc new base::DictionaryValue); base 2120 extensions/browser/extension_prefs.cc new base::DictionaryValue); base 2124 extensions/browser/extension_prefs.cc extension_dict->Set(pref_names::kPrefContentSettings, new base::ListValue); base 2128 extensions/browser/extension_prefs.cc new base::ListValue); base 87 extensions/browser/extension_prefs.h virtual base::Time GetCurrentTime() const; base 97 extensions/browser/extension_prefs.h template <typename T, base::Value::Type type_enum_value> base 121 extensions/browser/extension_prefs.h typedef ScopedUpdate<base::DictionaryValue, base::Value::TYPE_DICTIONARY> base 123 extensions/browser/extension_prefs.h typedef ScopedUpdate<base::ListValue, base::Value::TYPE_LIST> base 134 extensions/browser/extension_prefs.h const base::FilePath& root_dir, base 144 extensions/browser/extension_prefs.h const base::FilePath& root_dir, base 219 extensions/browser/extension_prefs.h base::Value* value) OVERRIDE; base 237 extensions/browser/extension_prefs.h const base::ListValue** out_value) const OVERRIDE; base 242 extensions/browser/extension_prefs.h const base::DictionaryValue** out_value) const OVERRIDE; base 283 extensions/browser/extension_prefs.h base::FilePath GetExtensionPath(const std::string& extension_id); base 286 extensions/browser/extension_prefs.h const base::FilePath& install_directory() const { return install_directory_; } base 340 extensions/browser/extension_prefs.h base::Time LastPingDay(const std::string& extension_id) const; base 344 extensions/browser/extension_prefs.h void SetLastPingDay(const std::string& extension_id, const base::Time& time); base 347 extensions/browser/extension_prefs.h base::Time BlacklistLastPingDay() const; base 348 extensions/browser/extension_prefs.h void SetBlacklistLastPingDay(const base::Time& time); base 352 extensions/browser/extension_prefs.h base::Time LastActivePingDay(const std::string& extension_id); base 354 extensions/browser/extension_prefs.h const base::Time& time); base 503 extensions/browser/extension_prefs.h base::Time GetInstallTime(const std::string& extension_id) const; base 506 extensions/browser/extension_prefs.h base::Time GetLastLaunchTime(const std::string& extension_id) const; base 508 extensions/browser/extension_prefs.h const base::Time& time); base 532 extensions/browser/extension_prefs.h const base::DictionaryValue* GetGeometryCache( base 535 extensions/browser/extension_prefs.h scoped_ptr<base::DictionaryValue> cache); base 539 extensions/browser/extension_prefs.h const base::DictionaryValue* GetInstallSignature(); base 540 extensions/browser/extension_prefs.h void SetInstallSignature(const base::DictionaryValue* signature); base 559 extensions/browser/extension_prefs.h const base::FilePath& root_dir, base 572 extensions/browser/extension_prefs.h void MakePathsAbsolute(base::DictionaryValue* dict); base 579 extensions/browser/extension_prefs.h const base::DictionaryValue* extension) const; base 612 extensions/browser/extension_prefs.h const base::DictionaryValue* GetExtensionPref(const std::string& id) const; base 659 extensions/browser/extension_prefs.h const base::Time install_time, base 663 extensions/browser/extension_prefs.h base::DictionaryValue* extension_dict); base 672 extensions/browser/extension_prefs.h const base::Time install_time, base 675 extensions/browser/extension_prefs.h base::DictionaryValue* extension_dict); base 682 extensions/browser/extension_prefs.h base::FilePath install_directory_; base 24 extensions/browser/extension_prefs_observer.h const base::Time& install_time, base 18 extensions/browser/extension_scoped_prefs.h base::Value* value) = 0; base 41 extensions/browser/extension_scoped_prefs.h const base::ListValue** out_value) const = 0; base 47 extensions/browser/extension_scoped_prefs.h const base::DictionaryValue** out_value) const = 0; base 17 extensions/browser/extensions_browser_client.h namespace base { base 51 extensions/browser/extensions_browser_client.h virtual bool AreExtensionsDisabled(const base::CommandLine& command_line, base 15 extensions/browser/external_provider_interface.h namespace base { base 38 extensions/browser/external_provider_interface.h const base::Version* version, base 39 extensions/browser/external_provider_interface.h const base::FilePath& path, base 87 extensions/browser/external_provider_interface.h scoped_ptr<base::Version>* version) const = 0; base 98 extensions/browser/file_highlighter.cc void FileHighlighter::SetHighlightedRegions(base::DictionaryValue* dict) const { base 101 extensions/browser/file_highlighter.cc dict->SetString(kBeforeHighlightKey, base::UTF8ToUTF16(before_feature)); base 105 extensions/browser/file_highlighter.cc dict->SetString(kHighlightKey, base::UTF8ToUTF16(feature)); base 109 extensions/browser/file_highlighter.cc dict->SetString(kAfterHighlightKey, base::UTF8ToUTF16(after_feature)); base 12 extensions/browser/file_highlighter.h namespace base { base 41 extensions/browser/file_highlighter.h void SetHighlightedRegions(base::DictionaryValue* dict) const; base 18 extensions/browser/file_reader.cc origin_loop_(base::MessageLoop::current()) {} base 23 extensions/browser/file_reader.cc base::Bind(&FileReader::ReadFileOnBackgroundThread, this)); base 30 extensions/browser/file_reader.cc bool success = base::ReadFileToString(resource_.GetFilePath(), &data); base 31 extensions/browser/file_reader.cc origin_loop_->PostTask(FROM_HERE, base::Bind(callback_, success, data)); base 14 extensions/browser/file_reader.h namespace base { base 22 extensions/browser/file_reader.h class FileReader : public base::RefCountedThreadSafe<FileReader> { base 25 extensions/browser/file_reader.h typedef base::Callback<void(bool, const std::string&)> Callback; base 35 extensions/browser/file_reader.h friend class base::RefCountedThreadSafe<FileReader>; base 43 extensions/browser/file_reader.h base::MessageLoop* origin_loop_; base 28 extensions/browser/file_reader_unittest.cc base::MessageLoop message_loop_; base 38 extensions/browser/file_reader_unittest.cc return base::Bind(&Receiver::DidReadFile, base::Unretained(this)); base 48 extensions/browser/file_reader_unittest.cc base::MessageLoop::current()->Quit(); base 56 extensions/browser/file_reader_unittest.cc base::FilePath path; base 60 extensions/browser/file_reader_unittest.cc extension_id, path, base::FilePath().AppendASCII(filename)); base 64 extensions/browser/file_reader_unittest.cc ASSERT_TRUE(base::ReadFileToString(path, &file_contents)); base 72 extensions/browser/file_reader_unittest.cc base::MessageLoop::current()->Run(); base 87 extensions/browser/file_reader_unittest.cc base::FilePath path; base 90 extensions/browser/file_reader_unittest.cc ExtensionResource resource(extension_id, path, base::FilePath( base 100 extensions/browser/file_reader_unittest.cc base::MessageLoop::current()->Run(); base 37 extensions/browser/image_util.cc if (!base::HexStringToBytes(formatted_color, &color_bytes)) base 25 extensions/browser/info_map.cc base::Time install_time; base 50 extensions/browser/info_map.cc base::Time install_time, base 86 extensions/browser/info_map.cc base::Time InfoMap::GetInstallTime(const std::string& extension_id) const { base 90 extensions/browser/info_map.cc return base::Time(); base 24 extensions/browser/info_map.h class InfoMap : public base::RefCountedThreadSafe<InfoMap> { base 40 extensions/browser/info_map.h base::Time install_time, base 49 extensions/browser/info_map.h base::Time GetInstallTime(const std::string& extension_id) const; base 107 extensions/browser/info_map.h friend class base::RefCountedThreadSafe<InfoMap>; base 28 extensions/browser/info_map_unittest.cc base::MessageLoop message_loop_; base 36 extensions/browser/info_map_unittest.cc base::FilePath path(FILE_PATH_LITERAL("c:\\foo")); base 38 extensions/browser/info_map_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/foo")); base 41 extensions/browser/info_map_unittest.cc base::DictionaryValue manifest; base 59 extensions/browser/info_map_unittest.cc base::FilePath path; base 64 extensions/browser/info_map_unittest.cc scoped_ptr<base::Value> result(serializer.Deserialize(NULL, NULL)); base 72 extensions/browser/info_map_unittest.cc *static_cast<base::DictionaryValue*>(result.get()), base 93 extensions/browser/info_map_unittest.cc info_map->AddExtension(extension1.get(), base::Time(), false, false); base 94 extensions/browser/info_map_unittest.cc info_map->AddExtension(extension2.get(), base::Time(), false, false); base 95 extensions/browser/info_map_unittest.cc info_map->AddExtension(extension3.get(), base::Time(), false, false); base 119 extensions/browser/info_map_unittest.cc info_map->AddExtension(extension1.get(), base::Time(), false, false); base 120 extensions/browser/info_map_unittest.cc info_map->AddExtension(extension2.get(), base::Time(), false, false); base 140 extensions/browser/info_map_unittest.cc info_map->AddExtension(app.get(), base::Time(), false, false); base 141 extensions/browser/info_map_unittest.cc info_map->AddExtension(extension.get(), base::Time(), false, false); base 168 extensions/browser/info_map_unittest.cc info_map->AddExtension(app.get(), base::Time(), false, false); base 34 extensions/browser/lazy_background_task_queue.h typedef base::Callback<void(ExtensionHost*)> PendingTask; base 133 extensions/browser/lazy_background_task_queue_unittest.cc base::Bind(&LazyBackgroundTaskQueueTest::RunPendingTask, base 134 extensions/browser/lazy_background_task_queue_unittest.cc base::Unretained(this))); base 142 extensions/browser/lazy_background_task_queue_unittest.cc base::Bind(&LazyBackgroundTaskQueueTest::RunPendingTask, base 143 extensions/browser/lazy_background_task_queue_unittest.cc base::Unretained(this))); base 152 extensions/browser/lazy_background_task_queue_unittest.cc base::Bind(&LazyBackgroundTaskQueueTest::RunPendingTask, base 153 extensions/browser/lazy_background_task_queue_unittest.cc base::Unretained(this))); base 175 extensions/browser/lazy_background_task_queue_unittest.cc base::Bind(&LazyBackgroundTaskQueueTest::RunPendingTask, base 176 extensions/browser/lazy_background_task_queue_unittest.cc base::Unretained(this))); base 28 extensions/browser/management_policy.cc base::string16* error) const { base 33 extensions/browser/management_policy.cc const Extension* extension, base::string16* error) const { base 38 extensions/browser/management_policy.cc base::string16* error) base 46 extensions/browser/management_policy.cc base::string16* error) const { base 59 extensions/browser/management_policy.cc base::string16* error) const { base 65 extensions/browser/management_policy.cc base::string16* error) const { base 71 extensions/browser/management_policy.cc base::string16* error) const { base 78 extensions/browser/management_policy.cc base::string16* error) const { base 99 extensions/browser/management_policy.cc base::string16* error) const { base 55 extensions/browser/management_policy.h base::string16* error) const; base 61 extensions/browser/management_policy.h base::string16* error) const; base 69 extensions/browser/management_policy.h base::string16* error) const; base 75 extensions/browser/management_policy.h base::string16* error) const; base 92 extensions/browser/management_policy.h bool UserMayLoad(const Extension* extension, base::string16* error) const; base 98 extensions/browser/management_policy.h base::string16* error) const; base 104 extensions/browser/management_policy.h base::string16* error) const; base 110 extensions/browser/management_policy.h base::string16* error) const; base 120 extensions/browser/management_policy.h base::string16*) const; base 133 extensions/browser/management_policy.h base::string16* error) const; base 66 extensions/browser/management_policy_unittest.cc base::string16 error; base 95 extensions/browser/management_policy_unittest.cc base::string16 error; base 123 extensions/browser/management_policy_unittest.cc base::string16 error; base 151 extensions/browser/management_policy_unittest.cc base::string16 error; base 183 extensions/browser/management_policy_unittest.cc base::string16 original_error16 = base::UTF8ToUTF16(original_error); base 184 extensions/browser/management_policy_unittest.cc base::string16 error = original_error16; base 186 extensions/browser/management_policy_unittest.cc EXPECT_EQ(original_error, base::UTF16ToUTF8(error)); base 188 extensions/browser/management_policy_unittest.cc EXPECT_EQ(original_error, base::UTF16ToUTF8(error)); base 190 extensions/browser/management_policy_unittest.cc EXPECT_EQ(original_error, base::UTF16ToUTF8(error)); base 204 extensions/browser/management_policy_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(TestProvider::expected_error()), error); base 207 extensions/browser/management_policy_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(TestProvider::expected_error()), error); base 210 extensions/browser/management_policy_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(TestProvider::expected_error()), error); base 174 extensions/browser/process_manager.cc linked_ptr<base::ElapsedTimer> since_suspended; base 226 extensions/browser/process_manager.cc devtools_callback_(base::Bind( base 228 extensions/browser/process_manager.cc base::Unretained(this))), base 255 extensions/browser/process_manager.cc event_page_idle_time_ = base::TimeDelta::FromSeconds(10); base 257 extensions/browser/process_manager.cc if (base::StringToUint(CommandLine::ForCurrentProcess()->GetSwitchValueASCII( base 260 extensions/browser/process_manager.cc event_page_idle_time_ = base::TimeDelta::FromMilliseconds(idle_time_msec); base 262 extensions/browser/process_manager.cc event_page_suspending_time_ = base::TimeDelta::FromSeconds(5); base 264 extensions/browser/process_manager.cc if (base::StringToUint(CommandLine::ForCurrentProcess()->GetSwitchValueASCII( base 268 extensions/browser/process_manager.cc base::TimeDelta::FromMilliseconds(suspending_time_msec); base 445 extensions/browser/process_manager.cc base::MessageLoop::current()->PostDelayedTask( base 447 extensions/browser/process_manager.cc base::Bind(&ProcessManager::OnLazyBackgroundPageIdle, base 516 extensions/browser/process_manager.cc if (base::MessageLoop::current()) { base 517 extensions/browser/process_manager.cc base::MessageLoop::current()->PostDelayedTask( base 519 extensions/browser/process_manager.cc base::Bind(&ProcessManager::OnKeepaliveImpulseCheck, base 563 extensions/browser/process_manager.cc base::MessageLoop::current()->PostDelayedTask( base 565 extensions/browser/process_manager.cc base::Bind(&ProcessManager::CloseLazyBackgroundPageNow, base 685 extensions/browser/process_manager.cc new base::ElapsedTimer()); base 824 extensions/browser/process_manager.cc linked_ptr<base::ElapsedTimer> since_suspended( base 133 extensions/browser/process_manager.h typedef base::Callback<void(const std::string& extension_id)> base 233 extensions/browser/process_manager.h base::TimeDelta event_page_idle_time_; base 237 extensions/browser/process_manager.h base::TimeDelta event_page_suspending_time_; base 242 extensions/browser/process_manager.h base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; base 249 extensions/browser/process_manager.h base::WeakPtrFactory<ProcessManager> weak_ptr_factory_; base 26 extensions/browser/quota_service.cc if (base::MessageLoop::current() != NULL) { // Null in unit tests. base 28 extensions/browser/quota_service.cc base::TimeDelta::FromDays(kPurgeIntervalInDays), base 42 extensions/browser/quota_service.cc const base::ListValue* args, base 43 extensions/browser/quota_service.cc const base::TimeTicks& event_time) { base 105 extensions/browser/quota_service.cc const base::TimeTicks& start) { base 111 extensions/browser/quota_service.cc const base::ListValue* args, base 123 extensions/browser/quota_service.cc bool QuotaLimitHeuristic::ApplyToArgs(const base::ListValue* args, base 124 extensions/browser/quota_service.cc const base::TimeTicks& event_time) { base 140 extensions/browser/quota_service.cc QuotaService::SustainedLimit::SustainedLimit(const base::TimeDelta& sustain, base 150 extensions/browser/quota_service.cc const base::TimeTicks& event_time) { base 158 extensions/browser/quota_service.cc const base::TimeTicks& event_time) { base 44 extensions/browser/quota_service.h class QuotaService : public base::NonThreadSafe { base 60 extensions/browser/quota_service.h const base::ListValue* args, base 61 extensions/browser/quota_service.h const base::TimeTicks& event_time); base 78 extensions/browser/quota_service.h base::RepeatingTimer<QuotaService> purge_timer_; base 110 extensions/browser/quota_service.h base::TimeDelta refill_interval; base 133 extensions/browser/quota_service.h void Reset(const Config& config, const base::TimeTicks& start); base 137 extensions/browser/quota_service.h const base::TimeTicks& expiration() { return expiration_; } base 140 extensions/browser/quota_service.h base::TimeTicks expiration_; base 157 extensions/browser/quota_service.h virtual void GetBucketsForArgs(const base::ListValue* args, base 167 extensions/browser/quota_service.h virtual void GetBucketsForArgs(const base::ListValue* args, base 185 extensions/browser/quota_service.h bool ApplyToArgs(const base::ListValue* args, base 186 extensions/browser/quota_service.h const base::TimeTicks& event_time); base 196 extensions/browser/quota_service.h virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time) = 0; base 219 extensions/browser/quota_service.h const base::TimeTicks& event_time) OVERRIDE; base 227 extensions/browser/quota_service.h SustainedLimit(const base::TimeDelta& sustain, base 232 extensions/browser/quota_service.h const base::TimeTicks& event_time) OVERRIDE; base 14 extensions/browser/quota_service_unittest.cc using base::TimeDelta; base 15 extensions/browser/quota_service_unittest.cc using base::TimeTicks; base 39 extensions/browser/quota_service_unittest.cc virtual void GetBucketsForArgs(const base::ListValue* args, base 58 extensions/browser/quota_service_unittest.cc virtual void GetBucketsForArgs(const base::ListValue* args, base 66 extensions/browser/quota_service_unittest.cc virtual void SetArgs(const base::ListValue* args) OVERRIDE {} base 143 extensions/browser/quota_service_unittest.cc base::MessageLoop loop_; base 220 extensions/browser/quota_service_unittest.cc base::ListValue args; base 226 extensions/browser/quota_service_unittest.cc base::ListValue args; base 227 extensions/browser/quota_service_unittest.cc args.Append(new base::FundamentalValue(1)); base 233 extensions/browser/quota_service_unittest.cc base::ListValue args; base 234 extensions/browser/quota_service_unittest.cc args.Append(new base::FundamentalValue(1)); base 247 extensions/browser/quota_service_unittest.cc base::ListValue args2; base 248 extensions/browser/quota_service_unittest.cc args2.Append(new base::FundamentalValue(1)); base 249 extensions/browser/quota_service_unittest.cc args2.Append(new base::FundamentalValue(2)); base 272 extensions/browser/quota_service_unittest.cc base::ListValue args3; base 273 extensions/browser/quota_service_unittest.cc args3.Append(new base::FundamentalValue(3)); base 304 extensions/browser/quota_service_unittest.cc base::ListValue args; base 305 extensions/browser/quota_service_unittest.cc args.Append(new base::FundamentalValue(1)); base 359 extensions/browser/quota_service_unittest.cc base::ListValue args_f; base 360 extensions/browser/quota_service_unittest.cc base::ListValue args_g; base 361 extensions/browser/quota_service_unittest.cc args_f.Append(new base::FundamentalValue(1)); base 362 extensions/browser/quota_service_unittest.cc args_g.Append(new base::FundamentalValue(2)); base 391 extensions/browser/quota_service_unittest.cc base::ListValue arg; base 392 extensions/browser/quota_service_unittest.cc arg.Append(new base::FundamentalValue(1)); base 51 extensions/browser/renderer_startup_helper.cc scoped_ptr<base::DictionaryValue> fonts(new base::DictionaryValue); base 33 extensions/browser/test_extensions_browser_client.cc const base::CommandLine& command_line, base 27 extensions/browser/test_extensions_browser_client.h virtual bool AreExtensionsDisabled(const base::CommandLine& command_line, base 17 extensions/browser/test_management_policy.cc error_message_ = base::UTF8ToUTF16(expected_error()); base 23 extensions/browser/test_management_policy.cc error_message_ = base::UTF8ToUTF16(expected_error()); base 44 extensions/browser/test_management_policy.cc base::string16* error) const { base 51 extensions/browser/test_management_policy.cc const Extension* extension, base::string16* error) const { base 58 extensions/browser/test_management_policy.cc base::string16* error) base 68 extensions/browser/test_management_policy.cc base::string16* error) const { base 40 extensions/browser/test_management_policy.h base::string16* error) const OVERRIDE; base 43 extensions/browser/test_management_policy.h base::string16* error) const OVERRIDE; base 46 extensions/browser/test_management_policy.h base::string16* error) const OVERRIDE; base 50 extensions/browser/test_management_policy.h base::string16* error) const OVERRIDE; base 59 extensions/browser/test_management_policy.h base::string16 error_message_; base 49 extensions/browser/value_store/leveldb_value_store.cc LeveldbValueStore::LeveldbValueStore(const base::FilePath& db_path) base 94 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<base::Value> setting; base 99 extensions/browser/value_store/leveldb_value_store.cc base::DictionaryValue* settings = new base::DictionaryValue(); base 114 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<base::DictionaryValue> settings(new base::DictionaryValue()); base 122 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<base::Value> setting; base 140 extensions/browser/value_store/leveldb_value_store.cc base::JSONReader json_reader; base 144 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<base::DictionaryValue> settings(new base::DictionaryValue()); base 151 extensions/browser/value_store/leveldb_value_store.cc base::Value* value = json_reader.ReadToValue(it->value().ToString()); base 171 extensions/browser/value_store/leveldb_value_store.cc WriteOptions options, const std::string& key, const base::Value& value) { base 191 extensions/browser/value_store/leveldb_value_store.cc WriteOptions options, const base::DictionaryValue& settings) { base 201 extensions/browser/value_store/leveldb_value_store.cc for (base::DictionaryValue::Iterator it(settings); base 232 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<base::Value> old_value; base 259 extensions/browser/value_store/leveldb_value_store.cc base::DictionaryValue& whole_db = read_result->settings(); base 261 extensions/browser/value_store/leveldb_value_store.cc std::string next_key = base::DictionaryValue::Iterator(whole_db).key(); base 262 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<base::Value> next_value; base 345 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<base::Value>* setting) { base 361 extensions/browser/value_store/leveldb_value_store.cc base::Value* value = base::JSONReader().ReadToValue(value_as_json); base 372 extensions/browser/value_store/leveldb_value_store.cc const base::Value& value, base 378 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<base::Value> old_value; base 393 extensions/browser/value_store/leveldb_value_store.cc base::JSONWriter::Write(&value, &value_as_json); base 422 extensions/browser/value_store/leveldb_value_store.cc if (!base::DeleteFile(db_path_, true /* recursive */)) { base 27 extensions/browser/value_store/leveldb_value_store.h explicit LeveldbValueStore(const base::FilePath& path); base 42 extensions/browser/value_store/leveldb_value_store.h const base::Value& value) OVERRIDE; base 44 extensions/browser/value_store/leveldb_value_store.h WriteOptions options, const base::DictionaryValue& values) OVERRIDE; base 64 extensions/browser/value_store/leveldb_value_store.h scoped_ptr<base::Value>* setting); base 70 extensions/browser/value_store/leveldb_value_store.h const base::Value& value, base 91 extensions/browser/value_store/leveldb_value_store.h const base::FilePath db_path_; base 21 extensions/browser/value_store/leveldb_value_store_unittest.cc ValueStore* Param(const base::FilePath& file_path) { base 54 extensions/browser/value_store/leveldb_value_store_unittest.cc const base::FilePath& database_path() { return database_dir_.path(); } base 58 extensions/browser/value_store/leveldb_value_store_unittest.cc base::ScopedTempDir database_dir_; base 69 extensions/browser/value_store/leveldb_value_store_unittest.cc scoped_ptr<base::Value> value(base::Value::CreateStringValue(kValue)); base 110 extensions/browser/value_store/leveldb_value_store_unittest.cc scoped_ptr<base::Value> value(base::Value::CreateStringValue(kValue)); base 155 extensions/browser/value_store/leveldb_value_store_unittest.cc scoped_ptr<base::Value> value(base::Value::CreateStringValue(kValue)); base 164 extensions/browser/value_store/leveldb_value_store_unittest.cc base::FileEnumerator enumerator( base 165 extensions/browser/value_store/leveldb_value_store_unittest.cc database_path(), true /* recursive */, base::FileEnumerator::FILES); base 166 extensions/browser/value_store/leveldb_value_store_unittest.cc for (base::FilePath file = enumerator.Next(); !file.empty(); base 169 extensions/browser/value_store/leveldb_value_store_unittest.cc ASSERT_NE(base::WriteFile(file, kLolCats.c_str(), kLolCats.length()), base 49 extensions/browser/value_store/testing_value_store.cc base::DictionaryValue* settings = new base::DictionaryValue(); base 52 extensions/browser/value_store/testing_value_store.cc base::Value* value = NULL; base 68 extensions/browser/value_store/testing_value_store.cc WriteOptions options, const std::string& key, const base::Value& value) { base 69 extensions/browser/value_store/testing_value_store.cc base::DictionaryValue settings; base 75 extensions/browser/value_store/testing_value_store.cc WriteOptions options, const base::DictionaryValue& settings) { base 81 extensions/browser/value_store/testing_value_store.cc for (base::DictionaryValue::Iterator it(settings); base 83 extensions/browser/value_store/testing_value_store.cc base::Value* old_value = NULL; base 110 extensions/browser/value_store/testing_value_store.cc scoped_ptr<base::Value> old_value; base 120 extensions/browser/value_store/testing_value_store.cc for (base::DictionaryValue::Iterator it(storage_); base 40 extensions/browser/value_store/testing_value_store.h const base::Value& value) OVERRIDE; base 42 extensions/browser/value_store/testing_value_store.h WriteOptions options, const base::DictionaryValue& values) OVERRIDE; base 54 extensions/browser/value_store/testing_value_store.h base::DictionaryValue storage_; base 13 extensions/browser/value_store/testing_value_store_unittest.cc ValueStore* Param(const base::FilePath& file_path) { base 21 extensions/browser/value_store/value_store.cc scoped_ptr<base::DictionaryValue> settings) : settings_(settings.Pass()) { base 74 extensions/browser/value_store/value_store.h explicit ReadResultType(scoped_ptr<base::DictionaryValue> settings); base 89 extensions/browser/value_store/value_store.h base::DictionaryValue& settings() { return *settings_; } base 90 extensions/browser/value_store/value_store.h scoped_ptr<base::DictionaryValue> PassSettings() { base 99 extensions/browser/value_store/value_store.h scoped_ptr<base::DictionaryValue> settings_; base 184 extensions/browser/value_store/value_store.h const base::Value& value) = 0; base 188 extensions/browser/value_store/value_store.h WriteOptions options, const base::DictionaryValue& values) = 0; base 13 extensions/browser/value_store/value_store_change.cc base::DictionaryValue changes_value; base 16 extensions/browser/value_store/value_store_change.cc base::DictionaryValue* change_value = new base::DictionaryValue(); base 26 extensions/browser/value_store/value_store_change.cc base::JSONWriter::Write(&changes_value, &json); base 31 extensions/browser/value_store/value_store_change.cc const std::string& key, base::Value* old_value, base::Value* new_value) base 41 extensions/browser/value_store/value_store_change.cc const base::Value* ValueStoreChange::old_value() const { base 46 extensions/browser/value_store/value_store_change.cc const base::Value* ValueStoreChange::new_value() const { base 52 extensions/browser/value_store/value_store_change.cc const std::string& key, base::Value* old_value, base::Value* new_value) base 27 extensions/browser/value_store/value_store_change.h const std::string& key, base::Value* old_value, base::Value* new_value); base 36 extensions/browser/value_store/value_store_change.h const base::Value* old_value() const; base 40 extensions/browser/value_store/value_store_change.h const base::Value* new_value() const; base 43 extensions/browser/value_store/value_store_change.h class Inner : public base::RefCountedThreadSafe<Inner> { base 46 extensions/browser/value_store/value_store_change.h const std::string& key, base::Value* old_value, base::Value* new_value); base 49 extensions/browser/value_store/value_store_change.h const scoped_ptr<base::Value> old_value_; base 50 extensions/browser/value_store/value_store_change.h const scoped_ptr<base::Value> new_value_; base 53 extensions/browser/value_store/value_store_change.h friend class base::RefCountedThreadSafe<Inner>; base 13 extensions/browser/value_store/value_store_change_unittest.cc using base::DictionaryValue; base 14 extensions/browser/value_store/value_store_change_unittest.cc using base::Value; base 21 extensions/browser/value_store/value_store_change_unittest.cc ValueStoreChange change("key", NULL, base::Value::CreateStringValue("value")); base 26 extensions/browser/value_store/value_store_change_unittest.cc scoped_ptr<base::Value> expected(base::Value::CreateStringValue("value")); base 32 extensions/browser/value_store/value_store_change_unittest.cc ValueStoreChange change("key", base::Value::CreateStringValue("value"), NULL); base 36 extensions/browser/value_store/value_store_change_unittest.cc scoped_ptr<base::Value> expected(base::Value::CreateStringValue("value")); base 44 extensions/browser/value_store/value_store_change_unittest.cc base::Value::CreateStringValue("old_value"), base 45 extensions/browser/value_store/value_store_change_unittest.cc base::Value::CreateStringValue("new_value")); base 49 extensions/browser/value_store/value_store_change_unittest.cc scoped_ptr<base::Value> expected( base 50 extensions/browser/value_store/value_store_change_unittest.cc base::Value::CreateStringValue("old_value")); base 54 extensions/browser/value_store/value_store_change_unittest.cc scoped_ptr<base::Value> expected( base 55 extensions/browser/value_store/value_store_change_unittest.cc base::Value::CreateStringValue("new_value")); base 62 extensions/browser/value_store/value_store_change_unittest.cc scoped_ptr<base::DictionaryValue> value = DictionaryBuilder() base 77 extensions/browser/value_store/value_store_change_unittest.cc scoped_ptr<base::Value> from_json(base::JSONReader::Read(json)); base 84 extensions/browser/value_store/value_store_change_unittest.cc scoped_ptr<base::DictionaryValue> expected_from_json = DictionaryBuilder() base 16 extensions/browser/value_store/value_store_frontend.cc class ValueStoreFrontend::Backend : public base::RefCountedThreadSafe<Backend> { base 20 extensions/browser/value_store/value_store_frontend.cc void Init(const base::FilePath& db_path) { base 42 extensions/browser/value_store/value_store_frontend.cc scoped_ptr<base::Value> value; base 51 extensions/browser/value_store/value_store_frontend.cc base::Bind(&ValueStoreFrontend::Backend::RunCallback, base 52 extensions/browser/value_store/value_store_frontend.cc this, callback, base::Passed(&value))); base 55 extensions/browser/value_store/value_store_frontend.cc void Set(const std::string& key, scoped_ptr<base::Value> value) { base 79 extensions/browser/value_store/value_store_frontend.cc scoped_ptr<base::Value> value) { base 88 extensions/browser/value_store/value_store_frontend.cc base::FilePath db_path_; base 97 extensions/browser/value_store/value_store_frontend.cc ValueStoreFrontend::ValueStoreFrontend(const base::FilePath& db_path) base 105 extensions/browser/value_store/value_store_frontend.cc base::Bind(&ValueStoreFrontend::Backend::InitWithStore, base 106 extensions/browser/value_store/value_store_frontend.cc backend_, base::Passed(&value_store))); base 113 extensions/browser/value_store/value_store_frontend.cc void ValueStoreFrontend::Init(const base::FilePath& db_path) { base 115 extensions/browser/value_store/value_store_frontend.cc base::Bind(&ValueStoreFrontend::Backend::Init, base 124 extensions/browser/value_store/value_store_frontend.cc base::Bind(&ValueStoreFrontend::Backend::Get, base 129 extensions/browser/value_store/value_store_frontend.cc scoped_ptr<base::Value> value) { base 133 extensions/browser/value_store/value_store_frontend.cc base::Bind(&ValueStoreFrontend::Backend::Set, base 134 extensions/browser/value_store/value_store_frontend.cc backend_, key, base::Passed(&value))); base 141 extensions/browser/value_store/value_store_frontend.cc base::Bind(&ValueStoreFrontend::Backend::Remove, base 18 extensions/browser/value_store/value_store_frontend.h namespace base { base 24 extensions/browser/value_store/value_store_frontend.h : public base::SupportsWeakPtr<ValueStoreFrontend>, base 25 extensions/browser/value_store/value_store_frontend.h public base::NonThreadSafe { base 27 extensions/browser/value_store/value_store_frontend.h typedef base::Callback<void(scoped_ptr<base::Value>)> ReadCallback; base 30 extensions/browser/value_store/value_store_frontend.h explicit ValueStoreFrontend(const base::FilePath& db_path); base 35 extensions/browser/value_store/value_store_frontend.h void Init(const base::FilePath& db_path); base 42 extensions/browser/value_store/value_store_frontend.h void Set(const std::string& key, scoped_ptr<base::Value> value); base 20 extensions/browser/value_store/value_store_frontend_unittest.cc : ui_thread_(BrowserThread::UI, base::MessageLoop::current()), base 21 extensions/browser/value_store/value_store_frontend_unittest.cc file_thread_(BrowserThread::FILE, base::MessageLoop::current()) { base 27 extensions/browser/value_store/value_store_frontend_unittest.cc base::FilePath test_data_dir; base 29 extensions/browser/value_store/value_store_frontend_unittest.cc base::FilePath src_db(test_data_dir.AppendASCII("value_store_db")); base 31 extensions/browser/value_store/value_store_frontend_unittest.cc base::CopyDirectory(src_db, db_path_, true); base 37 extensions/browser/value_store/value_store_frontend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); // wait for storage to delete base 46 extensions/browser/value_store/value_store_frontend_unittest.cc bool Get(const std::string& key, scoped_ptr<base::Value>* output) { base 47 extensions/browser/value_store/value_store_frontend_unittest.cc storage_->Get(key, base::Bind(&ValueStoreFrontendTest::GetAndWait, base 48 extensions/browser/value_store/value_store_frontend_unittest.cc base::Unretained(this), output)); base 49 extensions/browser/value_store/value_store_frontend_unittest.cc base::MessageLoop::current()->Run(); // wait for GetAndWait base 54 extensions/browser/value_store/value_store_frontend_unittest.cc void GetAndWait(scoped_ptr<base::Value>* output, base 55 extensions/browser/value_store/value_store_frontend_unittest.cc scoped_ptr<base::Value> result) { base 57 extensions/browser/value_store/value_store_frontend_unittest.cc base::MessageLoop::current()->Quit(); base 61 extensions/browser/value_store/value_store_frontend_unittest.cc base::ScopedTempDir temp_dir_; base 62 extensions/browser/value_store/value_store_frontend_unittest.cc base::FilePath db_path_; base 63 extensions/browser/value_store/value_store_frontend_unittest.cc base::MessageLoop message_loop_; base 69 extensions/browser/value_store/value_store_frontend_unittest.cc scoped_ptr<base::Value> value; base 90 extensions/browser/value_store/value_store_frontend_unittest.cc scoped_ptr<base::Value>(base::Value::CreateIntegerValue(0))); base 92 extensions/browser/value_store/value_store_frontend_unittest.cc scoped_ptr<base::Value>(base::Value::CreateStringValue("new1"))); base 98 extensions/browser/value_store/value_store_frontend_unittest.cc scoped_ptr<base::Value> value; base 19 extensions/browser/value_store/value_store_unittest.cc std::string GetJSON(const base::Value& value) { base 21 extensions/browser/value_store/value_store_unittest.cc base::JSONWriter::WriteWithOptions(&value, base 22 extensions/browser/value_store/value_store_unittest.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 31 extensions/browser/value_store/value_store_unittest.cc bool ValuesEqual(const base::Value* expected, base 32 extensions/browser/value_store/value_store_unittest.cc const base::Value* actual, base 57 extensions/browser/value_store/value_store_unittest.cc const base::DictionaryValue& expected, base 131 extensions/browser/value_store/value_store_unittest.cc empty_dict_(new base::DictionaryValue()), base 132 extensions/browser/value_store/value_store_unittest.cc dict1_(new base::DictionaryValue()), base 133 extensions/browser/value_store/value_store_unittest.cc dict3_(new base::DictionaryValue()), base 134 extensions/browser/value_store/value_store_unittest.cc dict12_(new base::DictionaryValue()), base 135 extensions/browser/value_store/value_store_unittest.cc dict123_(new base::DictionaryValue()), base 136 extensions/browser/value_store/value_store_unittest.cc ui_thread_(BrowserThread::UI, base::MessageLoop::current()), base 137 extensions/browser/value_store/value_store_unittest.cc file_thread_(BrowserThread::FILE, base::MessageLoop::current()) { base 138 extensions/browser/value_store/value_store_unittest.cc val1_.reset(base::Value::CreateStringValue(key1_ + "Value")); base 139 extensions/browser/value_store/value_store_unittest.cc val2_.reset(base::Value::CreateStringValue(key2_ + "Value")); base 140 extensions/browser/value_store/value_store_unittest.cc val3_.reset(base::Value::CreateStringValue(key3_ + "Value")); base 325 extensions/browser/value_store/value_store_unittest.cc base::StringValue dot_value("baz.qux"); base 328 extensions/browser/value_store/value_store_unittest.cc base::DictionaryValue dot_dict; base 375 extensions/browser/value_store/value_store_unittest.cc base::DictionaryValue outer_dict; base 376 extensions/browser/value_store/value_store_unittest.cc base::DictionaryValue* inner_dict = new base::DictionaryValue(); base 398 extensions/browser/value_store/value_store_unittest.cc base::DictionaryValue complex_changed_dict; base 444 extensions/browser/value_store/value_store_unittest.cc base::DictionaryValue to_set; base 17 extensions/browser/value_store/value_store_unittest.h typedef ValueStore* (*ValueStoreTestParam)(const base::FilePath& file_path); base 37 extensions/browser/value_store/value_store_unittest.h scoped_ptr<base::Value> val1_; base 38 extensions/browser/value_store/value_store_unittest.h scoped_ptr<base::Value> val2_; base 39 extensions/browser/value_store/value_store_unittest.h scoped_ptr<base::Value> val3_; base 57 extensions/browser/value_store/value_store_unittest.h scoped_ptr<base::DictionaryValue> empty_dict_; base 58 extensions/browser/value_store/value_store_unittest.h scoped_ptr<base::DictionaryValue> dict1_; base 59 extensions/browser/value_store/value_store_unittest.h scoped_ptr<base::DictionaryValue> dict3_; base 60 extensions/browser/value_store/value_store_unittest.h scoped_ptr<base::DictionaryValue> dict12_; base 61 extensions/browser/value_store/value_store_unittest.h scoped_ptr<base::DictionaryValue> dict123_; base 64 extensions/browser/value_store/value_store_unittest.h base::ScopedTempDir temp_dir_; base 67 extensions/browser/value_store/value_store_unittest.h base::MessageLoop message_loop_; base 18 extensions/browser/view_type_utils.cc class ViewTypeUserData : public base::SupportsUserData::Data { base 39 extensions/common/api/sockets/sockets_manifest_data.cc const base::Value& value, base 40 extensions/common/api/sockets/sockets_manifest_data.cc base::string16* error) { base 40 extensions/common/api/sockets/sockets_manifest_data.h static scoped_ptr<SocketsManifestData> FromValue(const base::Value& value, base 41 extensions/common/api/sockets/sockets_manifest_data.h base::string16* error); base 19 extensions/common/api/sockets/sockets_manifest_handler.cc base::string16* error) { base 20 extensions/common/api/sockets/sockets_manifest_handler.cc const base::Value* sockets = NULL; base 27 extensions/common/api/sockets/sockets_manifest_handler.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 37 extensions/common/api/sockets/sockets_manifest_permission.cc base::string16* error) { base 53 extensions/common/api/sockets/sockets_manifest_permission.cc base::string16* error) { base 98 extensions/common/api/sockets/sockets_manifest_permission.cc const base::Value& value, base 99 extensions/common/api/sockets/sockets_manifest_permission.cc base::string16* error) { base 179 extensions/common/api/sockets/sockets_manifest_permission.cc bool SocketsManifestPermission::FromValue(const base::Value* value) { base 182 extensions/common/api/sockets/sockets_manifest_permission.cc base::string16 error; base 193 extensions/common/api/sockets/sockets_manifest_permission.cc scoped_ptr<base::Value> SocketsManifestPermission::ToValue() const { base 223 extensions/common/api/sockets/sockets_manifest_permission.cc return scoped_ptr<base::Value>(sockets.ToValue().release()).Pass(); base 238 extensions/common/api/sockets/sockets_manifest_permission.cc result->permissions_ = base::STLSetDifference<SocketPermissionEntrySet>( base 249 extensions/common/api/sockets/sockets_manifest_permission.cc result->permissions_ = base::STLSetUnion<SocketPermissionEntrySet>( base 260 extensions/common/api/sockets/sockets_manifest_permission.cc result->permissions_ = base::STLSetIntersection<SocketPermissionEntrySet>( base 269 extensions/common/api/sockets/sockets_manifest_permission.cc return base::STLIncludes<SocketPermissionEntrySet>(permissions_, base 317 extensions/common/api/sockets/sockets_manifest_permission.cc std::set<base::string16> domains; base 322 extensions/common/api/sockets/sockets_manifest_permission.cc domains.insert(base::UTF8ToUTF16(it->pattern().host)); base 333 extensions/common/api/sockets/sockets_manifest_permission.cc std::vector<base::string16>(domains.begin(), domains.end()), base 340 extensions/common/api/sockets/sockets_manifest_permission.cc std::set<base::string16> hostnames; base 345 extensions/common/api/sockets/sockets_manifest_permission.cc hostnames.insert(base::UTF8ToUTF16(it->pattern().host)); base 356 extensions/common/api/sockets/sockets_manifest_permission.cc std::vector<base::string16>(hostnames.begin(), hostnames.end()), base 34 extensions/common/api/sockets/sockets_manifest_permission.h const base::Value& value, base 35 extensions/common/api/sockets/sockets_manifest_permission.h base::string16* error); base 47 extensions/common/api/sockets/sockets_manifest_permission.h virtual bool FromValue(const base::Value* value) OVERRIDE; base 48 extensions/common/api/sockets/sockets_manifest_permission.h virtual scoped_ptr<base::Value> ToValue() const OVERRIDE; base 42 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc static scoped_ptr<base::Value> ParsePermissionJSON(const std::string& json) { base 43 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> result(base::JSONReader::Read(json)); base 49 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc const base::Value& value) { base 50 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc base::string16 error16; base 59 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> value(ParsePermissionJSON(json)); base 169 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<const base::Value> value(permission->ToValue()); base 286 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> udp_send(ParsePermissionJSON(kUdpBindPermission)); base 287 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> udp_bind(ParsePermissionJSON(kUdpSendPermission)); base 288 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> tcp_connect( base 290 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> tcp_server_listen( base 315 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> value1 = permission1->ToValue(); base 322 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> value2 = permission2->ToValue(); base 329 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> value3 = permission3->ToValue(); base 336 extensions/common/api/sockets/sockets_manifest_permission_unittest.cc scoped_ptr<base::Value> value4 = permission4->ToValue(); base 14 extensions/common/constants.cc const base::FilePath::CharType kManifestFilename[] = base 16 extensions/common/constants.cc const base::FilePath::CharType kLocaleFolder[] = base 18 extensions/common/constants.cc const base::FilePath::CharType kMessagesFilename[] = base 20 extensions/common/constants.cc const base::FilePath::CharType kPlatformSpecificFolder[] = base 36 extensions/common/constants.cc const base::FilePath::CharType kExtensionFileExtension[] = base 38 extensions/common/constants.cc const base::FilePath::CharType kExtensionKeyFileExtension[] = base 20 extensions/common/constants.h extern const base::FilePath::CharType kManifestFilename[]; base 23 extensions/common/constants.h extern const base::FilePath::CharType kLocaleFolder[]; base 26 extensions/common/constants.h extern const base::FilePath::CharType kMessagesFilename[]; base 29 extensions/common/constants.h extern const base::FilePath::CharType kPlatformSpecificFolder[]; base 54 extensions/common/constants.h extern const base::FilePath::CharType kExtensionFileExtension[]; base 57 extensions/common/constants.h extern const base::FilePath::CharType kExtensionKeyFileExtension[]; base 37 extensions/common/csp_validator.cc bool HasOnlySecureTokens(base::StringTokenizer& tokenizer, base 92 extensions/common/csp_validator.cc base::StringTokenizer& tokenizer, base 119 extensions/common/csp_validator.cc base::SplitString(policy, ';', &directives); base 127 extensions/common/csp_validator.cc base::StringTokenizer tokenizer(input, " \t\r\n"); base 161 extensions/common/csp_validator.cc base::SplitString(policy, ';', &directives); base 167 extensions/common/csp_validator.cc base::StringTokenizer tokenizer(input, " \t\r\n"); base 39 extensions/common/error_utils.cc base::string16 ErrorUtils::FormatErrorMessageUTF16(const std::string& format, base 41 extensions/common/error_utils.cc return base::UTF8ToUTF16(FormatErrorMessage(format, s1)); base 44 extensions/common/error_utils.cc base::string16 ErrorUtils::FormatErrorMessageUTF16(const std::string& format, base 47 extensions/common/error_utils.cc return base::UTF8ToUTF16(FormatErrorMessage(format, s1, s2)); base 50 extensions/common/error_utils.cc base::string16 ErrorUtils::FormatErrorMessageUTF16(const std::string& format, base 54 extensions/common/error_utils.cc return base::UTF8ToUTF16(FormatErrorMessage(format, s1, s2, s3)); base 29 extensions/common/error_utils.h static base::string16 FormatErrorMessageUTF16(const std::string& format, base 32 extensions/common/error_utils.h static base::string16 FormatErrorMessageUTF16(const std::string& format, base 36 extensions/common/error_utils.h static base::string16 FormatErrorMessageUTF16(const std::string& format, base 91 extensions/common/event_filter.cc base::DictionaryValue empty_dict; base 95 extensions/common/event_filter.cc base::DictionaryValue* url_filter; base 105 extensions/common/event_filter.cc base::DictionaryValue* url_filter, base 103 extensions/common/event_filter.h base::DictionaryValue* url_filter, base 13 extensions/common/event_filter_unittest.cc using base::DictionaryValue; base 14 extensions/common/event_filter_unittest.cc using base::ListValue; base 15 extensions/common/event_filter_unittest.cc using base::Value; base 29 extensions/common/event_filter_unittest.cc scoped_ptr<base::Value> HostSuffixDict(const std::string& host_suffix) { base 30 extensions/common/event_filter_unittest.cc scoped_ptr<base::DictionaryValue> dict(new DictionaryValue()); base 31 extensions/common/event_filter_unittest.cc dict->Set("hostSuffix", base::Value::CreateStringValue(host_suffix)); base 32 extensions/common/event_filter_unittest.cc return scoped_ptr<base::Value>(dict.release()); base 35 extensions/common/event_filter_unittest.cc scoped_ptr<base::ListValue> ValueAsList(scoped_ptr<base::Value> value) { base 36 extensions/common/event_filter_unittest.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 134 extensions/common/event_filter_unittest.cc scoped_ptr<base::ListValue> filters(new base::ListValue()); base 208 extensions/common/event_filter_unittest.cc scoped_ptr<base::ListValue> filter_list(new base::ListValue()); base 209 extensions/common/event_filter_unittest.cc filter_list->Append(new base::ListValue()); // Should be a dict. base 218 extensions/common/event_filter_unittest.cc scoped_ptr<base::ListValue> filter_list(new base::ListValue()); base 31 extensions/common/event_filtering_info.cc scoped_ptr<base::Value> EventFilteringInfo::AsValue() const { base 33 extensions/common/event_filtering_info.cc return scoped_ptr<base::Value>(base::Value::CreateNullValue()); base 35 extensions/common/event_filtering_info.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue); base 45 extensions/common/event_filtering_info.cc return result.PassAs<base::Value>(); base 11 extensions/common/event_filtering_info.h namespace base { base 44 extensions/common/event_filtering_info.h scoped_ptr<base::Value> AsValue() const; base 17 extensions/common/event_matcher.cc EventMatcher::EventMatcher(scoped_ptr<base::DictionaryValue> filter, base 38 extensions/common/event_matcher.cc base::ListValue* url_filters = NULL; base 44 extensions/common/event_matcher.cc bool EventMatcher::GetURLFilter(int i, base::DictionaryValue** url_filter_out) { base 45 extensions/common/event_matcher.cc base::ListValue* url_filters = NULL; base 23 extensions/common/event_matcher.h EventMatcher(scoped_ptr<base::DictionaryValue> filter, base 32 extensions/common/event_matcher.h bool GetURLFilter(int i, base::DictionaryValue** url_filter_out); base 42 extensions/common/event_matcher.h base::DictionaryValue* value() const { base 52 extensions/common/event_matcher.h scoped_ptr<base::DictionaryValue> filter_; base 62 extensions/common/extension.cc bool ContainsReservedCharacters(const base::FilePath& path) { base 91 extensions/common/extension.cc scoped_refptr<Extension> Extension::Create(const base::FilePath& path, base 93 extensions/common/extension.cc const base::DictionaryValue& value, base 106 extensions/common/extension.cc scoped_refptr<Extension> Extension::Create(const base::FilePath& path, base 108 extensions/common/extension.cc const base::DictionaryValue& value, base 113 extensions/common/extension.cc base::string16 error; base 116 extensions/common/extension.cc location, scoped_ptr<base::DictionaryValue>(value.DeepCopy()))); base 119 extensions/common/extension.cc *utf8_error = base::UTF16ToUTF8(error); base 132 extensions/common/extension.cc *utf8_error = base::UTF16ToUTF8(error); base 192 extensions/common/extension.cc base::FilePath relative_file_path = base::FilePath::FromUTF8Unsafe(new_path); base 203 extensions/common/extension.cc const base::FilePath& relative_file_path) const { base 227 extensions/common/extension.cc working = base::CollapseWhitespaceASCII(working, true); base 244 extensions/common/extension.cc return base::Base64Decode(working, output); base 252 extensions/common/extension.cc base::Base64Encode(input, output); base 467 extensions/common/extension.cc const base::FilePath& path, base 470 extensions/common/extension.cc base::string16* error) { base 481 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidKey); base 490 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidKey); base 506 extensions/common/extension.cc Extension::Extension(const base::FilePath& path, base 523 extensions/common/extension.cc bool Extension::InitFromValue(int flags, base::string16* error) { base 567 extensions/common/extension.cc bool Extension::LoadRequiredFeatures(base::string16* error) { base 574 extensions/common/extension.cc bool Extension::LoadName(base::string16* error) { base 575 extensions/common/extension.cc base::string16 localized_name; base 577 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidName); base 580 extensions/common/extension.cc non_localized_name_ = base::UTF16ToUTF8(localized_name); base 581 extensions/common/extension.cc base::i18n::AdjustStringForLocaleDirection(&localized_name); base 582 extensions/common/extension.cc name_ = base::UTF16ToUTF8(localized_name); base 586 extensions/common/extension.cc bool Extension::LoadVersion(base::string16* error) { base 589 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidVersion); base 594 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidVersion); base 600 extensions/common/extension.cc bool Extension::LoadAppFeatures(base::string16* error) { base 607 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidDisplayInLauncher); base 613 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidDisplayInNewTabPage); base 627 extensions/common/extension.cc base::string16* error) { base 628 extensions/common/extension.cc const base::Value* temp_pattern_value = NULL; base 632 extensions/common/extension.cc const base::ListValue* pattern_list = NULL; base 634 extensions/common/extension.cc *error = base::ASCIIToUTF16(list_error); base 642 extensions/common/extension.cc base::UintToString(i), base 657 extensions/common/extension.cc base::UintToString(i), base 666 extensions/common/extension.cc base::UintToString(i), base 675 extensions/common/extension.cc base::UintToString(i), base 685 extensions/common/extension.cc base::UintToString(i), base 697 extensions/common/extension.cc bool Extension::LoadSharedFeatures(base::string16* error) { base 706 extensions/common/extension.cc bool Extension::LoadDescription(base::string16* error) { base 709 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidDescription); base 715 extensions/common/extension.cc bool Extension::LoadManifestVersion(base::string16* error) { base 722 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidManifestVersion); base 735 extensions/common/extension.cc base::IntToString(kModernManifestVersion), base 743 extensions/common/extension.cc bool Extension::LoadShortName(base::string16* error) { base 745 extensions/common/extension.cc base::string16 localized_short_name; base 748 extensions/common/extension.cc *error = base::ASCIIToUTF16(errors::kInvalidShortName); base 752 extensions/common/extension.cc base::i18n::AdjustStringForLocaleDirection(&localized_short_name); base 753 extensions/common/extension.cc short_name_ = base::UTF16ToUTF8(localized_short_name); base 760 extensions/common/extension.cc ExtensionInfo::ExtensionInfo(const base::DictionaryValue* manifest, base 762 extensions/common/extension.cc const base::FilePath& path, base 36 extensions/common/extension.h namespace base { base 62 extensions/common/extension.h class Extension : public base::RefCountedThreadSafe<Extension> { base 174 extensions/common/extension.h static scoped_refptr<Extension> Create(const base::FilePath& path, base 176 extensions/common/extension.h const base::DictionaryValue& value, base 182 extensions/common/extension.h static scoped_refptr<Extension> Create(const base::FilePath& path, base 184 extensions/common/extension.h const base::DictionaryValue& value, base 224 extensions/common/extension.h ExtensionResource GetResource(const base::FilePath& relative_path) const; base 286 extensions/common/extension.h const base::FilePath& path() const { return path_; } base 290 extensions/common/extension.h const base::Version* version() const { return version_.get(); } base 351 extensions/common/extension.h friend class base::RefCountedThreadSafe<Extension>; base 356 extensions/common/extension.h const base::FilePath& path, base 359 extensions/common/extension.h base::string16* error); base 361 extensions/common/extension.h Extension(const base::FilePath& path, base 371 extensions/common/extension.h bool InitFromValue(int flags, base::string16* error); base 376 extensions/common/extension.h bool LoadRequiredFeatures(base::string16* error); base 377 extensions/common/extension.h bool LoadName(base::string16* error); base 378 extensions/common/extension.h bool LoadVersion(base::string16* error); base 380 extensions/common/extension.h bool LoadAppFeatures(base::string16* error); base 385 extensions/common/extension.h base::string16* error); base 387 extensions/common/extension.h bool LoadSharedFeatures(base::string16* error); base 388 extensions/common/extension.h bool LoadDescription(base::string16* error); base 389 extensions/common/extension.h bool LoadManifestVersion(base::string16* error); base 390 extensions/common/extension.h bool LoadShortName(base::string16* error); base 392 extensions/common/extension.h bool CheckMinimumChromeVersion(base::string16* error) const; base 419 extensions/common/extension.h base::FilePath path_; base 433 extensions/common/extension.h scoped_ptr<base::Version> version_; base 457 extensions/common/extension.h base::ThreadChecker thread_checker_; base 482 extensions/common/extension.h ExtensionInfo(const base::DictionaryValue* manifest, base 484 extensions/common/extension.h const base::FilePath& path, base 488 extensions/common/extension.h scoped_ptr<base::DictionaryValue> extension_manifest; base 490 extensions/common/extension.h base::FilePath extension_path; base 39 extensions/common/extension_api.cc base::StringPiece ReadFromResource(int resource_id) { base 44 extensions/common/extension_api.cc scoped_ptr<base::ListValue> LoadSchemaList(const std::string& name, base 45 extensions/common/extension_api.cc const base::StringPiece& schema) { base 47 extensions/common/extension_api.cc scoped_ptr<base::Value> result( base 48 extensions/common/extension_api.cc base::JSONReader::ReadAndReturnError( base 50 extensions/common/extension_api.cc base::JSON_PARSE_RFC | base::JSON_DETACHABLE_CHILDREN, // options base 56 extensions/common/extension_api.cc base::snprintf(buf, arraysize(buf), "%s: (%d) '%s'", base 62 extensions/common/extension_api.cc CHECK(result->IsType(base::Value::TYPE_LIST)) << " for schema " << schema; base 63 extensions/common/extension_api.cc return scoped_ptr<base::ListValue>(static_cast<base::ListValue*>( base 67 extensions/common/extension_api.cc const base::DictionaryValue* FindListItem(const base::ListValue* list, base 71 extensions/common/extension_api.cc const base::DictionaryValue* item = NULL; base 82 extensions/common/extension_api.cc const base::DictionaryValue* GetSchemaChild( base 83 extensions/common/extension_api.cc const base::DictionaryValue* schema_node, base 85 extensions/common/extension_api.cc const base::DictionaryValue* child_node = NULL; base 87 extensions/common/extension_api.cc const base::ListValue* list_node = NULL; base 105 extensions/common/extension_api.cc base::LazyInstance<Static> g_lazy_instance = LAZY_INSTANCE_INITIALIZER; base 111 extensions/common/extension_api.cc base::DictionaryValue* schema, base 125 extensions/common/extension_api.cc base::Value* value) { base 126 extensions/common/extension_api.cc base::ListValue* list = NULL; base 127 extensions/common/extension_api.cc base::DictionaryValue* dict = NULL; base 129 extensions/common/extension_api.cc for (base::ListValue::iterator i = list->begin(); i != list->end(); ++i) { base 134 extensions/common/extension_api.cc for (base::DictionaryValue::Iterator i(*dict); !i.IsAtEnd(); i.Advance()) { base 135 extensions/common/extension_api.cc base::Value* value = NULL; base 145 extensions/common/extension_api.cc base::DictionaryValue* schema) { base 150 extensions/common/extension_api.cc base::ListValue *types = NULL; base 153 extensions/common/extension_api.cc base::DictionaryValue *type = NULL; base 162 extensions/common/extension_api.cc base::DictionaryValue* schema) { base 198 extensions/common/extension_api.cc const base::StringPiece& schema) { base 199 extensions/common/extension_api.cc scoped_ptr<base::ListValue> schema_list(LoadSchemaList(name, schema)); base 205 extensions/common/extension_api.cc base::DictionaryValue* schema = NULL; base 207 extensions/common/extension_api.cc scoped_ptr<base::Value> value; base 334 extensions/common/extension_api.cc const base::DictionaryValue* ExtensionAPI::GetSchema( base 339 extensions/common/extension_api.cc const base::DictionaryValue* result = NULL; base 22 extensions/common/extension_api.h namespace base { base 101 extensions/common/extension_api.h const base::DictionaryValue* GetSchema(const std::string& full_name); base 129 extensions/common/extension_api.h void LoadSchema(const std::string& name, const base::StringPiece& schema); base 137 extensions/common/extension_api.h typedef std::map<std::string, linked_ptr<const base::DictionaryValue> > base 51 extensions/common/extension_api_stub.cc const base::DictionaryValue* ExtensionAPI::GetSchema( base 30 extensions/common/extension_builder.cc ExtensionBuilder& ExtensionBuilder::SetPath(const base::FilePath& path) { base 41 extensions/common/extension_builder.cc scoped_ptr<base::DictionaryValue> manifest) { base 34 extensions/common/extension_builder.h ExtensionBuilder& SetPath(const base::FilePath& path); base 39 extensions/common/extension_builder.h ExtensionBuilder& SetManifest(scoped_ptr<base::DictionaryValue> manifest); base 54 extensions/common/extension_builder.h base::FilePath path_; base 56 extensions/common/extension_builder.h scoped_ptr<base::DictionaryValue> manifest_; base 235 extensions/common/extension_messages.cc p->manifest.reset(new base::DictionaryValue()); base 42 extensions/common/extension_messages.h IPC_STRUCT_MEMBER(base::ListValue, arguments) base 54 extensions/common/extension_messages.h IPC_STRUCT_MEMBER(base::string16, url_title) base 60 extensions/common/extension_messages.h IPC_STRUCT_MEMBER(base::ListValue, arguments) base 72 extensions/common/extension_messages.h IPC_STRUCT_MEMBER(base::ListValue, arguments) base 218 extensions/common/extension_messages.h linked_ptr<base::DictionaryValue> manifest; base 225 extensions/common/extension_messages.h base::FilePath path; base 302 extensions/common/extension_messages.h base::ListValue /* response wrapper (see comment above) */, base 317 extensions/common/extension_messages.h base::ListValue /* args */, base 357 extensions/common/extension_messages.h base::SharedMemoryHandle) base 419 extensions/common/extension_messages.h base::DictionaryValue /* source_tab */, base 493 extensions/common/extension_messages.h base::DictionaryValue /* filter */, base 501 extensions/common/extension_messages.h base::DictionaryValue /* filter */, base 557 extensions/common/extension_messages.h base::ListValue /* result of the script */) base 12 extensions/common/extension_paths.cc bool PathProvider(int key, base::FilePath* result) { base 15 extensions/common/extension_paths.cc base::FilePath cur; base 16 extensions/common/extension_paths.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur)) base 21 extensions/common/extension_paths.cc if (!base::PathExists(cur)) // we don't want to create this base 17 extensions/common/extension_resource.cc const base::FilePath& extension_root, base 18 extensions/common/extension_resource.cc const base::FilePath& relative_path) base 31 extensions/common/extension_resource.cc const base::FilePath& ExtensionResource::GetFilePath() const { base 49 extensions/common/extension_resource.cc base::FilePath ExtensionResource::GetFilePath( base 50 extensions/common/extension_resource.cc const base::FilePath& extension_root, base 51 extensions/common/extension_resource.cc const base::FilePath& relative_path, base 55 extensions/common/extension_resource.cc base::FilePath clean_extension_root( base 56 extensions/common/extension_resource.cc base::MakeAbsoluteFilePath(extension_root)); base 58 extensions/common/extension_resource.cc return base::FilePath(); base 60 extensions/common/extension_resource.cc base::FilePath full_path = clean_extension_root.Append(relative_path); base 65 extensions/common/extension_resource.cc std::vector<base::FilePath::StringType> components; base 69 extensions/common/extension_resource.cc for (std::vector<base::FilePath::StringType>::const_iterator base 71 extensions/common/extension_resource.cc if (*i == base::FilePath::kParentDirectory) { base 73 extensions/common/extension_resource.cc } else if (*i != base::FilePath::kCurrentDirectory) { base 77 extensions/common/extension_resource.cc return base::FilePath(); base 90 extensions/common/extension_resource.cc full_path = base::MakeAbsoluteFilePath(full_path); base 91 extensions/common/extension_resource.cc if (base::PathExists(full_path) && base 97 extensions/common/extension_resource.cc return base::FilePath(); base 101 extensions/common/extension_resource.cc base::FilePath::StringType ExtensionResource::NormalizeSeperators( base 102 extensions/common/extension_resource.cc const base::FilePath::StringType& path) const { base 104 extensions/common/extension_resource.cc base::FilePath::StringType win_path = path; base 106 extensions/common/extension_resource.cc if (base::FilePath::IsSeparator(win_path[i])) base 107 extensions/common/extension_resource.cc win_path[i] = base::FilePath::kSeparators[0]; base 116 extensions/common/extension_resource.cc const base::FilePath& path) const { base 30 extensions/common/extension_resource.h const base::FilePath& extension_root, base 31 extensions/common/extension_resource.h const base::FilePath& relative_path); base 43 extensions/common/extension_resource.h const base::FilePath& GetFilePath() const; base 53 extensions/common/extension_resource.h static base::FilePath GetFilePath(const base::FilePath& extension_root, base 54 extensions/common/extension_resource.h const base::FilePath& relative_path, base 59 extensions/common/extension_resource.h const base::FilePath& extension_root() const { return extension_root_; } base 60 extensions/common/extension_resource.h const base::FilePath& relative_path() const { return relative_path_; } base 65 extensions/common/extension_resource.h base::FilePath::StringType NormalizeSeperators( base 66 extensions/common/extension_resource.h const base::FilePath::StringType& path) const; base 67 extensions/common/extension_resource.h bool ComparePathWithDefault(const base::FilePath& path) const; base 74 extensions/common/extension_resource.h base::FilePath extension_root_; base 77 extensions/common/extension_resource.h base::FilePath relative_path_; base 84 extensions/common/extension_resource.h mutable base::FilePath full_resource_path_; base 27 extensions/common/extension_resource_unittest.cc const base::FilePath::StringType ToLower( base 28 extensions/common/extension_resource_unittest.cc const base::FilePath::StringType& in_str) { base 29 extensions/common/extension_resource_unittest.cc base::FilePath::StringType str(in_str); base 35 extensions/common/extension_resource_unittest.cc base::FilePath root_path; base 37 extensions/common/extension_resource_unittest.cc base::FilePath relative_path; base 49 extensions/common/extension_resource_unittest.cc base::ScopedTempDir temp; base 52 extensions/common/extension_resource_unittest.cc base::FilePath inner_dir = temp.path().AppendASCII("directory"); base 53 extensions/common/extension_resource_unittest.cc ASSERT_TRUE(base::CreateDirectory(inner_dir)); base 54 extensions/common/extension_resource_unittest.cc base::FilePath sub_dir = inner_dir.AppendASCII("subdir"); base 55 extensions/common/extension_resource_unittest.cc ASSERT_TRUE(base::CreateDirectory(sub_dir)); base 56 extensions/common/extension_resource_unittest.cc base::FilePath inner_file = inner_dir.AppendASCII("inner"); base 57 extensions/common/extension_resource_unittest.cc base::FilePath outer_file = temp.path().AppendASCII("outer"); base 58 extensions/common/extension_resource_unittest.cc ASSERT_TRUE(base::WriteFile(outer_file, "X", 1)); base 59 extensions/common/extension_resource_unittest.cc ASSERT_TRUE(base::WriteFile(inner_file, "X", 1)); base 63 extensions/common/extension_resource_unittest.cc base::FilePath symlink_file = inner_dir.AppendASCII("symlink"); base 64 extensions/common/extension_resource_unittest.cc base::CreateSymbolicLink( base 65 extensions/common/extension_resource_unittest.cc base::FilePath().AppendASCII("..").AppendASCII("outer"), base 72 extensions/common/extension_resource_unittest.cc base::FilePath().AppendASCII("inner")); base 77 extensions/common/extension_resource_unittest.cc base::FilePath().AppendASCII("..").AppendASCII("outer")); base 83 extensions/common/extension_resource_unittest.cc base::FilePath().AppendASCII("inner")); base 89 extensions/common/extension_resource_unittest.cc base::FilePath().AppendASCII("..").AppendASCII("outer")); base 98 extensions/common/extension_resource_unittest.cc base::FilePath().AppendASCII("subdir").AppendASCII(".").AppendASCII(".."). base 107 extensions/common/extension_resource_unittest.cc base::FilePath().AppendASCII("symlink")); base 112 extensions/common/extension_resource_unittest.cc base::FilePath().AppendASCII("symlink")); base 119 extensions/common/extension_resource_unittest.cc base::ScopedTempDir temp; base 124 extensions/common/extension_resource_unittest.cc base::FilePath root_resource = temp.path().AppendASCII(filename); base 126 extensions/common/extension_resource_unittest.cc ASSERT_TRUE(base::WriteFile(root_resource, data.c_str(), data.length())); base 129 extensions/common/extension_resource_unittest.cc base::FilePath l10n_path = base 131 extensions/common/extension_resource_unittest.cc ASSERT_TRUE(base::CreateDirectory(l10n_path)); base 138 extensions/common/extension_resource_unittest.cc base::FilePath make_path; base 140 extensions/common/extension_resource_unittest.cc ASSERT_TRUE(base::CreateDirectory(make_path)); base 141 extensions/common/extension_resource_unittest.cc ASSERT_TRUE(base::WriteFile(make_path.AppendASCII(filename), base 145 extensions/common/extension_resource_unittest.cc base::FilePath path; base 148 extensions/common/extension_resource_unittest.cc base::FilePath().AppendASCII(filename)); base 149 extensions/common/extension_resource_unittest.cc base::FilePath resolved_path = resource.GetFilePath(); base 151 extensions/common/extension_resource_unittest.cc base::FilePath expected_path; base 154 extensions/common/extension_resource_unittest.cc expected_path = base::MakeAbsoluteFilePath(root_resource); base 160 extensions/common/extension_resource_unittest.cc EXPECT_EQ(ToLower(base::FilePath().AppendASCII(filename).value()), base 24 extensions/common/extension_set.h typedef std::pair<base::FilePath, std::string> ExtensionPathAndDefaultLocale; base 26 extensions/common/extension_set.h typedef base::Callback<void(const ExtensionIdSet&)> base 22 extensions/common/extension_set_unittest.cc base::FilePath path(FILE_PATH_LITERAL("c:\\")); base 24 extensions/common/extension_set_unittest.cc base::FilePath path(FILE_PATH_LITERAL("/")); base 28 extensions/common/extension_set_unittest.cc base::DictionaryValue manifest; base 36 extensions/common/extension_set_unittest.cc base::ListValue* urls = new base::ListValue(); base 38 extensions/common/extension_set_unittest.cc urls->Append(new base::StringValue(extent)); base 18 extensions/common/extension_urls.cc bool IsSourceFromAnExtension(const base::string16& source) { base 21 extensions/common/extension_urls.cc base::ASCIIToUTF16("extensions::"), base 22 extensions/common/extension_urls.h bool IsSourceFromAnExtension(const base::string16& source); base 81 extensions/common/extensions_client.h virtual base::StringPiece GetAPISchema(const std::string& name) const = 0; base 55 extensions/common/feature_switch.cc base::LazyInstance<CommonSwitches> g_common_switches = base 120 extensions/common/feature_switch.cc base::TrimWhitespaceASCII(temp, base::TRIM_ALL, &switch_value); base 12 extensions/common/feature_switch.h namespace base { base 55 extensions/common/feature_switch.h FeatureSwitch(const base::CommandLine* command_line, base 66 extensions/common/feature_switch.h void Init(const base::CommandLine* command_line, base 73 extensions/common/feature_switch.h const base::CommandLine* command_line_; base 23 extensions/common/features/api_feature.cc std::string APIFeature::Parse(const base::DictionaryValue* value) { base 21 extensions/common/features/api_feature.h virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE; base 41 extensions/common/features/base_feature_provider.cc scoped_ptr<base::Value> value(base::JSONReader::ReadAndReturnError( base 42 extensions/common/features/base_feature_provider.cc features_file, base::JSON_PARSE_RFC, base 46 extensions/common/features/base_feature_provider.cc scoped_ptr<base::DictionaryValue> value_as_dict; base 48 extensions/common/features/base_feature_provider.cc CHECK(value->IsType(base::Value::TYPE_DICTIONARY)) << name; base 49 extensions/common/features/base_feature_provider.cc value_as_dict.reset(static_cast<base::DictionaryValue*>(value.release())); base 52 extensions/common/features/base_feature_provider.cc value_as_dict.reset(new base::DictionaryValue()); base 85 extensions/common/features/base_feature_provider.cc base::LazyInstance<Static> g_static = LAZY_INSTANCE_INITIALIZER; base 87 extensions/common/features/base_feature_provider.cc bool ParseFeature(const base::DictionaryValue* value, base 99 extensions/common/features/base_feature_provider.cc BaseFeatureProvider::BaseFeatureProvider(const base::DictionaryValue& root, base 103 extensions/common/features/base_feature_provider.cc for (base::DictionaryValue::Iterator iter(root); !iter.IsAtEnd(); base 105 extensions/common/features/base_feature_provider.cc if (iter.value().GetType() == base::Value::TYPE_DICTIONARY) { base 109 extensions/common/features/base_feature_provider.cc base::SplitString(iter.key(), '.', &split); base 115 extensions/common/features/base_feature_provider.cc std::stack<std::pair<std::string, const base::DictionaryValue*> > base 121 extensions/common/features/base_feature_provider.cc const base::DictionaryValue* parent = NULL; base 148 extensions/common/features/base_feature_provider.cc } else if (iter.value().GetType() == base::Value::TYPE_LIST) { base 150 extensions/common/features/base_feature_provider.cc const base::ListValue* list = base 151 extensions/common/features/base_feature_provider.cc static_cast<const base::ListValue*>(&iter.value()); base 158 extensions/common/features/base_feature_provider.cc for (base::ListValue::const_iterator list_iter = list->begin(); base 160 extensions/common/features/base_feature_provider.cc if ((*list_iter)->GetType() != base::Value::TYPE_DICTIONARY) { base 166 extensions/common/features/base_feature_provider.cc if (!ParseFeature(static_cast<const base::DictionaryValue*>(*list_iter), base 221 extensions/common/features/base_feature_provider.cc base::SplitString(feature->name(), '.', &split); base 26 extensions/common/features/base_feature_provider.h BaseFeatureProvider(const base::DictionaryValue& root, base 33 extensions/common/features/base_feature_provider_unittest.cc base::DictionaryValue manifest; base 40 extensions/common/features/base_feature_provider_unittest.cc base::FilePath(), Manifest::INTERNAL, manifest, Extension::NO_FLAGS, base 72 extensions/common/features/base_feature_provider_unittest.cc base::DictionaryValue manifest; base 75 extensions/common/features/base_feature_provider_unittest.cc base::ListValue* permissions = new base::ListValue(); base 77 extensions/common/features/base_feature_provider_unittest.cc permissions->Append(new base::StringValue("contextMenus")); base 81 extensions/common/features/base_feature_provider_unittest.cc base::FilePath(), Manifest::INTERNAL, manifest, Extension::NO_FLAGS, base 109 extensions/common/features/base_feature_provider_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 111 extensions/common/features/base_feature_provider_unittest.cc base::DictionaryValue* feature1 = new base::DictionaryValue(); base 115 extensions/common/features/base_feature_provider_unittest.cc base::DictionaryValue* feature2 = new base::DictionaryValue(); base 117 extensions/common/features/base_feature_provider_unittest.cc base::ListValue* extension_types = new base::ListValue(); base 118 extensions/common/features/base_feature_provider_unittest.cc extension_types->Append(new base::StringValue("extension")); base 120 extensions/common/features/base_feature_provider_unittest.cc base::ListValue* contexts = new base::ListValue(); base 121 extensions/common/features/base_feature_provider_unittest.cc contexts->Append(new base::StringValue("blessed_extension")); base 151 extensions/common/features/base_feature_provider_unittest.cc scoped_ptr<base::DictionaryValue> rule( base 53 extensions/common/features/complex_feature_unittest.cc scoped_ptr<base::DictionaryValue> rule( base 108 extensions/common/features/complex_feature_unittest.cc scoped_ptr<base::DictionaryValue> rule( base 37 extensions/common/features/manifest_feature.cc std::string ManifestFeature::Parse(const base::DictionaryValue* value) { base 23 extensions/common/features/manifest_feature.h virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE; base 36 extensions/common/features/permission_feature.cc std::string PermissionFeature::Parse(const base::DictionaryValue* value) { base 23 extensions/common/features/permission_feature.h virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE; base 51 extensions/common/features/simple_feature.cc base::LazyInstance<Mappings> g_mappings = LAZY_INSTANCE_INITIALIZER; base 55 extensions/common/features/simple_feature.cc void ParseSet(const base::DictionaryValue* value, base 58 extensions/common/features/simple_feature.cc const base::ListValue* list_value = NULL; base 81 extensions/common/features/simple_feature.cc void ParseEnum(const base::DictionaryValue* value, base 93 extensions/common/features/simple_feature.cc void ParseEnumSet(const base::DictionaryValue* value, base 123 extensions/common/features/simple_feature.cc void ParseURLPatterns(const base::DictionaryValue* value, base 126 extensions/common/features/simple_feature.cc const base::ListValue* matches = NULL; base 210 extensions/common/features/simple_feature.cc const std::string id_hash = base::SHA1HashString(extension_id); base 211 extensions/common/features/simple_feature.cc DCHECK(id_hash.length() == base::kSHA1Length); base 212 extensions/common/features/simple_feature.cc return base::HexEncode(id_hash.c_str(), id_hash.length()); base 229 extensions/common/features/simple_feature.cc std::string SimpleFeature::Parse(const base::DictionaryValue* value) { base 369 extensions/common/features/simple_feature.cc return base::StringPrintf( base 373 extensions/common/features/simple_feature.cc return base::StringPrintf("'%s' is not allowed on %s.", base 376 extensions/common/features/simple_feature.cc return base::StringPrintf( base 383 extensions/common/features/simple_feature.cc return base::StringPrintf( base 390 extensions/common/features/simple_feature.cc return base::StringPrintf( base 394 extensions/common/features/simple_feature.cc return base::StringPrintf( base 398 extensions/common/features/simple_feature.cc return base::StringPrintf( base 403 extensions/common/features/simple_feature.cc return base::StringPrintf( base 408 extensions/common/features/simple_feature.cc return base::StringPrintf( base 412 extensions/common/features/simple_feature.cc return base::StringPrintf( base 40 extensions/common/features/simple_feature.h virtual std::string Parse(const base::DictionaryValue* value); base 16 extensions/common/features/simple_feature_filter.cc std::string SimpleFeatureFilter::Parse(const base::DictionaryValue* value) { base 15 extensions/common/features/simple_feature_filter.h namespace base { base 35 extensions/common/features/simple_feature_filter.h virtual std::string Parse(const base::DictionaryValue* value); base 183 extensions/common/features/simple_feature_unittest.cc base::DictionaryValue manifest; base 191 extensions/common/features/simple_feature_unittest.cc base::FilePath(), Manifest::INTERNAL, manifest, Extension::NO_FLAGS, base 375 extensions/common/features/simple_feature_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 388 extensions/common/features/simple_feature_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 389 extensions/common/features/simple_feature_unittest.cc base::ListValue* whitelist = new base::ListValue(); base 390 extensions/common/features/simple_feature_unittest.cc whitelist->Append(new base::StringValue("foo")); base 391 extensions/common/features/simple_feature_unittest.cc whitelist->Append(new base::StringValue("bar")); base 401 extensions/common/features/simple_feature_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 402 extensions/common/features/simple_feature_unittest.cc base::ListValue* extension_types = new base::ListValue(); base 403 extensions/common/features/simple_feature_unittest.cc extension_types->Append(new base::StringValue("extension")); base 404 extensions/common/features/simple_feature_unittest.cc extension_types->Append(new base::StringValue("theme")); base 405 extensions/common/features/simple_feature_unittest.cc extension_types->Append(new base::StringValue("legacy_packaged_app")); base 406 extensions/common/features/simple_feature_unittest.cc extension_types->Append(new base::StringValue("hosted_app")); base 407 extensions/common/features/simple_feature_unittest.cc extension_types->Append(new base::StringValue("platform_app")); base 408 extensions/common/features/simple_feature_unittest.cc extension_types->Append(new base::StringValue("shared_module")); base 428 extensions/common/features/simple_feature_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 429 extensions/common/features/simple_feature_unittest.cc base::ListValue* contexts = new base::ListValue(); base 430 extensions/common/features/simple_feature_unittest.cc contexts->Append(new base::StringValue("blessed_extension")); base 431 extensions/common/features/simple_feature_unittest.cc contexts->Append(new base::StringValue("unblessed_extension")); base 432 extensions/common/features/simple_feature_unittest.cc contexts->Append(new base::StringValue("content_script")); base 433 extensions/common/features/simple_feature_unittest.cc contexts->Append(new base::StringValue("web_page")); base 434 extensions/common/features/simple_feature_unittest.cc contexts->Append(new base::StringValue("blessed_web_page")); base 457 extensions/common/features/simple_feature_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 465 extensions/common/features/simple_feature_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 467 extensions/common/features/simple_feature_unittest.cc base::ListValue* platforms = new base::ListValue(); base 496 extensions/common/features/simple_feature_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 517 extensions/common/features/simple_feature_unittest.cc base::DictionaryValue definition; base 529 extensions/common/features/simple_feature_unittest.cc base::ListValue* whitelist = new base::ListValue(); base 530 extensions/common/features/simple_feature_unittest.cc base::ListValue* extension_types = new base::ListValue(); base 531 extensions/common/features/simple_feature_unittest.cc base::ListValue* contexts = new base::ListValue(); base 532 extensions/common/features/simple_feature_unittest.cc whitelist->Append(new base::StringValue("bar")); base 533 extensions/common/features/simple_feature_unittest.cc extension_types->Append(new base::StringValue("extension")); base 534 extensions/common/features/simple_feature_unittest.cc contexts->Append(new base::StringValue("unblessed_extension")); base 539 extensions/common/features/simple_feature_unittest.cc definition.Set("min_manifest_version", new base::FundamentalValue(2)); base 540 extensions/common/features/simple_feature_unittest.cc definition.Set("max_manifest_version", new base::FundamentalValue(3)); base 562 extensions/common/features/simple_feature_unittest.cc base::DictionaryValue feature_value; base 17 extensions/common/file_util.cc base::FilePath ExtensionURLToRelativeFilePath(const GURL& url) { base 20 extensions/common/file_util.cc return base::FilePath(); base 29 extensions/common/file_util.cc base::FilePath path = base::FilePath::FromUTF8Unsafe(file_path); base 35 extensions/common/file_util.cc return base::FilePath(); base 40 extensions/common/file_util.cc base::FilePath ExtensionResourceURLToFilePath(const GURL& url, base 41 extensions/common/file_util.cc const base::FilePath& root) { base 45 extensions/common/file_util.cc return base::FilePath(); base 47 extensions/common/file_util.cc base::FilePath relative_path = ExtensionURLToRelativeFilePath(url); base 49 extensions/common/file_util.cc return base::FilePath(); base 51 extensions/common/file_util.cc base::FilePath path = root.AppendASCII(host).Append(relative_path); base 52 extensions/common/file_util.cc if (!base::PathExists(path)) base 53 extensions/common/file_util.cc return base::FilePath(); base 54 extensions/common/file_util.cc path = base::MakeAbsoluteFilePath(path); base 56 extensions/common/file_util.cc return base::FilePath(); base 10 extensions/common/file_util.h namespace base { base 18 extensions/common/file_util.h base::FilePath ExtensionURLToRelativeFilePath(const GURL& url); base 22 extensions/common/file_util.h base::FilePath ExtensionResourceURLToFilePath(const GURL& url, base 23 extensions/common/file_util.h const base::FilePath& root); base 45 extensions/common/file_util_unittest.cc base::FilePath expected_path = base 46 extensions/common/file_util_unittest.cc base::FilePath::FromUTF8Unsafe(test_cases[i].expected_relative_path); base 47 extensions/common/file_util_unittest.cc base::FilePath actual_path = base 58 extensions/common/file_util_unittest.cc base::FilePath root_path; base 59 extensions/common/file_util_unittest.cc ASSERT_TRUE(base::CreateNewTempDirectory( base 60 extensions/common/file_util_unittest.cc base::FilePath::StringType(), &root_path)); base 61 extensions/common/file_util_unittest.cc root_path = base::MakeAbsoluteFilePath(root_path); base 64 extensions/common/file_util_unittest.cc base::FilePath api_path = root_path.Append(FILE_PATH_LITERAL("apiname")); base 65 extensions/common/file_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(api_path)); base 68 extensions/common/file_util_unittest.cc base::FilePath resource_path = api_path.Append(FILE_PATH_LITERAL("test.js")); base 69 extensions/common/file_util_unittest.cc ASSERT_TRUE(base::WriteFile(resource_path, data, sizeof(data))); base 71 extensions/common/file_util_unittest.cc ASSERT_TRUE(base::WriteFile(resource_path, data, sizeof(data))); base 81 extensions/common/file_util_unittest.cc const base::FilePath::CharType* expected_path; base 110 extensions/common/file_util_unittest.cc base::FilePath expected_path; base 114 extensions/common/file_util_unittest.cc base::FilePath actual_path = base 120 extensions/common/file_util_unittest.cc ASSERT_TRUE(base::DeleteFile(root_path, true)); base 21 extensions/common/id_util.cc if (base::HexStringToInt(base::StringPiece(id->begin() + i, base 42 extensions/common/id_util.cc std::string output = StringToLowerASCII(base::HexEncode(hash, sizeof(hash))); base 48 extensions/common/id_util.cc std::string GenerateIdForPath(const base::FilePath& path) { base 49 extensions/common/id_util.cc base::FilePath new_path = MaybeNormalizePath(path); base 52 extensions/common/id_util.cc new_path.value().size() * sizeof(base::FilePath::CharType)); base 56 extensions/common/id_util.cc base::FilePath MaybeNormalizePath(const base::FilePath& path) { base 61 extensions/common/id_util.cc base::FilePath::StringType path_str = path.value(); base 66 extensions/common/id_util.cc return base::FilePath(path_str); base 10 extensions/common/id_util.h namespace base { base 26 extensions/common/id_util.h std::string GenerateIdForPath(const base::FilePath& path); base 30 extensions/common/id_util.h base::FilePath MaybeNormalizePath(const base::FilePath& path); base 111 extensions/common/manifest.cc Manifest::Manifest(Location location, scoped_ptr<base::DictionaryValue> value) base 169 extensions/common/manifest.cc for (base::DictionaryValue::Iterator it(*value_); !it.IsAtEnd(); base 186 extensions/common/manifest.cc base::Value* ignored = NULL; base 191 extensions/common/manifest.cc const std::string& path, const base::Value** out_value) const { base 211 extensions/common/manifest.cc const std::string& path, base::string16* out_value) const { base 216 extensions/common/manifest.cc const std::string& path, const base::DictionaryValue** out_value) const { base 221 extensions/common/manifest.cc const std::string& path, const base::ListValue** out_value) const { base 227 extensions/common/manifest.cc location_, scoped_ptr<base::DictionaryValue>(value_->DeepCopy())); base 246 extensions/common/manifest.cc base::SplitString(path, '.', &components); base 114 extensions/common/manifest.h Manifest(Location location, scoped_ptr<base::DictionaryValue> value); base 153 extensions/common/manifest.h bool Get(const std::string& path, const base::Value** out_value) const; base 157 extensions/common/manifest.h bool GetString(const std::string& path, base::string16* out_value) const; base 159 extensions/common/manifest.h const base::DictionaryValue** out_value) const; base 161 extensions/common/manifest.h const base::ListValue** out_value) const; base 172 extensions/common/manifest.h const base::DictionaryValue* value() const { return value_.get(); } base 189 extensions/common/manifest.h scoped_ptr<base::DictionaryValue> value_; base 19 extensions/common/manifest_handler.cc static base::LazyInstance<ManifestHandlerRegistry> g_registry = base 83 extensions/common/manifest_handler.cc base::string16* error) { base 131 extensions/common/manifest_handler.cc base::string16* error) { base 32 extensions/common/manifest_handler.h virtual bool Parse(Extension* extension, base::string16* error) = 0; base 90 extensions/common/manifest_handler.h static bool ParseExtension(Extension* extension, base::string16* error); base 126 extensions/common/manifest_handler.h friend struct base::DefaultLazyInstanceTraits<ManifestHandlerRegistry>; base 135 extensions/common/manifest_handler.h bool ParseExtension(Extension* extension, base::string16* error); base 86 extensions/common/manifest_handler_unittest.cc virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE { base 114 extensions/common/manifest_handler_unittest.cc virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE { base 115 extensions/common/manifest_handler_unittest.cc *error = base::ASCIIToUTF16(name_); base 144 extensions/common/manifest_handler_unittest.cc virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE { base 217 extensions/common/manifest_handler_unittest.cc scoped_ptr<base::DictionaryValue> manifest_a( base 228 extensions/common/manifest_handler_unittest.cc base::FilePath(), base 242 extensions/common/manifest_handler_unittest.cc base::FilePath(), base 24 extensions/common/manifest_handlers/background_info.cc using base::ASCIIToUTF16; base 25 extensions/common/manifest_handlers/background_info.cc using base::DictionaryValue; base 37 extensions/common/manifest_handlers/background_info.cc static base::LazyInstance<BackgroundInfo> g_empty_background_info = base 109 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::Parse(const Extension* extension, base::string16* error) { base 137 extensions/common/manifest_handlers/background_info.cc base::string16* error) { base 138 extensions/common/manifest_handlers/background_info.cc const base::Value* service_worker_script_value = NULL; base 158 extensions/common/manifest_handlers/background_info.cc base::string16* error) { base 159 extensions/common/manifest_handlers/background_info.cc const base::Value* background_scripts_value = NULL; base 164 extensions/common/manifest_handlers/background_info.cc if (background_scripts_value->GetType() != base::Value::TYPE_LIST) { base 169 extensions/common/manifest_handlers/background_info.cc const base::ListValue* background_scripts = NULL; base 175 extensions/common/manifest_handlers/background_info.cc errors::kInvalidBackgroundScript, base::IntToString(i)); base 186 extensions/common/manifest_handlers/background_info.cc base::string16* error) { base 187 extensions/common/manifest_handlers/background_info.cc const base::Value* background_page_value = NULL; base 226 extensions/common/manifest_handlers/background_info.cc base::string16* error) { base 240 extensions/common/manifest_handlers/background_info.cc base::string16* error) { base 246 extensions/common/manifest_handlers/background_info.cc const base::Value* background_persistent = NULL; base 265 extensions/common/manifest_handlers/background_info.cc base::string16* error) { base 266 extensions/common/manifest_handlers/background_info.cc const base::Value* allow_js_access = NULL; base 271 extensions/common/manifest_handlers/background_info.cc if (!allow_js_access->IsType(base::Value::TYPE_BOOLEAN) || base 287 extensions/common/manifest_handlers/background_info.cc base::string16* error) { base 318 extensions/common/manifest_handlers/background_info.cc if (!base::PathExists( base 322 extensions/common/manifest_handlers/background_info.cc base::UTF8ToUTF16(background_scripts[i])); base 332 extensions/common/manifest_handlers/background_info.cc base::FilePath page_path = file_util::ExtensionURLToRelativeFilePath( base 334 extensions/common/manifest_handlers/background_info.cc const base::FilePath path = extension->GetResource(page_path).GetFilePath(); base 335 extensions/common/manifest_handlers/background_info.cc if (path.empty() || !base::PathExists(path)) { base 48 extensions/common/manifest_handlers/background_info.h bool Parse(const Extension* extension, base::string16* error); base 53 extensions/common/manifest_handlers/background_info.h base::string16* error); base 56 extensions/common/manifest_handlers/background_info.h base::string16* error); base 59 extensions/common/manifest_handlers/background_info.h base::string16* error); base 60 extensions/common/manifest_handlers/background_info.h bool LoadBackgroundPage(const Extension* extension, base::string16* error); base 62 extensions/common/manifest_handlers/background_info.h base::string16* error); base 63 extensions/common/manifest_handlers/background_info.h bool LoadAllowJSAccess(const Extension* extension, base::string16* error); base 97 extensions/common/manifest_handlers/background_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 61 extensions/common/manifest_handlers/csp_info.cc return csp_info ? csp_info->content_security_policy : base::EmptyString(); base 80 extensions/common/manifest_handlers/csp_info.cc bool CSPHandler::Parse(Extension* extension, base::string16* error) { base 100 extensions/common/manifest_handlers/csp_info.cc *error = base::ASCIIToUTF16(errors::kInvalidContentSecurityPolicy); base 104 extensions/common/manifest_handlers/csp_info.cc *error = base::ASCIIToUTF16(errors::kInvalidContentSecurityPolicy); base 110 extensions/common/manifest_handlers/csp_info.cc *error = base::ASCIIToUTF16(errors::kInsecureContentSecurityPolicy); base 41 extensions/common/manifest_handlers/csp_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 37 extensions/common/manifest_handlers/incognito_info.cc bool IncognitoHandler::Parse(Extension* extension, base::string16* error) { base 51 extensions/common/manifest_handlers/incognito_info.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidIncognitoBehavior); base 60 extensions/common/manifest_handlers/incognito_info.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidIncognitoBehavior); base 32 extensions/common/manifest_handlers/incognito_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 47 extensions/common/manifest_handlers/kiosk_mode_info.cc bool KioskModeHandler::Parse(Extension* extension, base::string16* error) { base 55 extensions/common/manifest_handlers/kiosk_mode_info.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidKioskEnabled); base 62 extensions/common/manifest_handlers/kiosk_mode_info.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidKioskOnly); base 67 extensions/common/manifest_handlers/kiosk_mode_info.cc *error = base::ASCIIToUTF16( base 43 extensions/common/manifest_handlers/kiosk_mode_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 40 extensions/common/manifest_handlers/offline_enabled_info.cc bool OfflineEnabledHandler::Parse(Extension* extension, base::string16* error) { base 60 extensions/common/manifest_handlers/offline_enabled_info.cc *error = base::ASCIIToUTF16(manifest_errors::kInvalidOfflineEnabled); base 34 extensions/common/manifest_handlers/offline_enabled_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 26 extensions/common/manifest_handlers/requirements_info.cc const base::ListValue* list_value = NULL; base 64 extensions/common/manifest_handlers/requirements_info.cc bool RequirementsHandler::Parse(Extension* extension, base::string16* error) { base 73 extensions/common/manifest_handlers/requirements_info.cc const base::DictionaryValue* requirements_value = NULL; base 76 extensions/common/manifest_handlers/requirements_info.cc *error = base::ASCIIToUTF16(errors::kInvalidRequirements); base 80 extensions/common/manifest_handlers/requirements_info.cc for (base::DictionaryValue::Iterator iter(*requirements_value); base 83 extensions/common/manifest_handlers/requirements_info.cc const base::DictionaryValue* requirement_value; base 91 extensions/common/manifest_handlers/requirements_info.cc for (base::DictionaryValue::Iterator plugin_iter(*requirement_value); base 108 extensions/common/manifest_handlers/requirements_info.cc const base::ListValue* features = NULL; base 117 extensions/common/manifest_handlers/requirements_info.cc for (base::ListValue::const_iterator feature_iter = features->begin(); base 133 extensions/common/manifest_handlers/requirements_info.cc for (base::DictionaryValue::Iterator feature_iter(*requirement_value); base 150 extensions/common/manifest_handlers/requirements_info.cc *error = base::ASCIIToUTF16(errors::kInvalidRequirements); base 36 extensions/common/manifest_handlers/requirements_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 27 extensions/common/manifest_handlers/sandboxed_page_info.cc static base::LazyInstance<SandboxedPageInfo> g_empty_sandboxed_info = base 64 extensions/common/manifest_handlers/sandboxed_page_info.cc bool SandboxedPageHandler::Parse(Extension* extension, base::string16* error) { base 67 extensions/common/manifest_handlers/sandboxed_page_info.cc const base::ListValue* list_value = NULL; base 69 extensions/common/manifest_handlers/sandboxed_page_info.cc *error = base::ASCIIToUTF16(errors::kInvalidSandboxedPagesList); base 77 extensions/common/manifest_handlers/sandboxed_page_info.cc errors::kInvalidSandboxedPage, base::IntToString(i)); base 96 extensions/common/manifest_handlers/sandboxed_page_info.cc *error = base::ASCIIToUTF16(errors::kInvalidSandboxedPagesCSP); base 104 extensions/common/manifest_handlers/sandboxed_page_info.cc *error = base::ASCIIToUTF16(errors::kInvalidSandboxedPagesCSP); base 47 extensions/common/manifest_handlers/sandboxed_page_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 28 extensions/common/manifest_handlers/shared_module_info.cc static base::LazyInstance<SharedModuleInfo> g_empty_shared_module_info = base 109 extensions/common/manifest_handlers/shared_module_info.cc base::string16* error) { base 116 extensions/common/manifest_handlers/shared_module_info.cc *error = base::ASCIIToUTF16(errors::kInvalidImportAndExport); base 121 extensions/common/manifest_handlers/shared_module_info.cc const base::DictionaryValue* export_value = NULL; base 123 extensions/common/manifest_handlers/shared_module_info.cc *error = base::ASCIIToUTF16(errors::kInvalidExport); base 126 extensions/common/manifest_handlers/shared_module_info.cc const base::ListValue* resources_list = NULL; base 128 extensions/common/manifest_handlers/shared_module_info.cc *error = base::ASCIIToUTF16(errors::kInvalidExportResources); base 135 extensions/common/manifest_handlers/shared_module_info.cc errors::kInvalidExportResourcesString, base::IntToString(i)); base 141 extensions/common/manifest_handlers/shared_module_info.cc errors::kInvalidExportResourcesString, base::IntToString(i)); base 150 extensions/common/manifest_handlers/shared_module_info.cc const base::ListValue* import_list = NULL; base 152 extensions/common/manifest_handlers/shared_module_info.cc *error = base::ASCIIToUTF16(errors::kInvalidImport); base 156 extensions/common/manifest_handlers/shared_module_info.cc const base::DictionaryValue* import_entry = NULL; base 158 extensions/common/manifest_handlers/shared_module_info.cc *error = base::ASCIIToUTF16(errors::kInvalidImport); base 166 extensions/common/manifest_handlers/shared_module_info.cc errors::kInvalidImportId, base::IntToString(i)); base 174 extensions/common/manifest_handlers/shared_module_info.cc errors::kInvalidImportVersion, base::IntToString(i)); base 181 extensions/common/manifest_handlers/shared_module_info.cc errors::kInvalidImportVersion, base::IntToString(i)); base 197 extensions/common/manifest_handlers/shared_module_info.cc bool SharedModuleHandler::Parse(Extension* extension, base::string16* error) { base 22 extensions/common/manifest_handlers/shared_module_info.h bool Parse(const Extension* extension, base::string16* error); base 60 extensions/common/manifest_handlers/shared_module_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 99 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc EXPECT_TRUE(base::Version(imports[1].minimum_version).IsValid()); base 65 extensions/common/manifest_handlers/web_accessible_resources_info.cc base::string16* error) { base 67 extensions/common/manifest_handlers/web_accessible_resources_info.cc const base::ListValue* list_value = NULL; base 70 extensions/common/manifest_handlers/web_accessible_resources_info.cc *error = base::ASCIIToUTF16(errors::kInvalidWebAccessibleResourcesList); base 77 extensions/common/manifest_handlers/web_accessible_resources_info.cc errors::kInvalidWebAccessibleResource, base::IntToString(i)); base 40 extensions/common/manifest_handlers/web_accessible_resources_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 104 extensions/common/manifest_handlers/webview_info.cc bool WebviewHandler::Parse(Extension* extension, base::string16* error) { base 107 extensions/common/manifest_handlers/webview_info.cc const base::DictionaryValue* dict_value = NULL; base 110 extensions/common/manifest_handlers/webview_info.cc *error = base::ASCIIToUTF16(errors::kInvalidWebview); base 114 extensions/common/manifest_handlers/webview_info.cc const base::ListValue* partition_list = NULL; base 116 extensions/common/manifest_handlers/webview_info.cc *error = base::ASCIIToUTF16(errors::kInvalidWebviewPartitionsList); base 122 extensions/common/manifest_handlers/webview_info.cc *error = base::ASCIIToUTF16(errors::kInvalidWebviewPartitionsList); base 127 extensions/common/manifest_handlers/webview_info.cc const base::DictionaryValue* partition = NULL; base 130 extensions/common/manifest_handlers/webview_info.cc errors::kInvalidWebviewPartition, base::IntToString(i)); base 137 extensions/common/manifest_handlers/webview_info.cc errors::kInvalidWebviewPartitionName, base::IntToString(i)); base 141 extensions/common/manifest_handlers/webview_info.cc const base::ListValue* url_list = NULL; base 144 extensions/common/manifest_handlers/webview_info.cc *error = base::ASCIIToUTF16( base 151 extensions/common/manifest_handlers/webview_info.cc *error = base::ASCIIToUTF16( base 163 extensions/common/manifest_handlers/webview_info.cc errors::kInvalidWebviewAccessibleResource, base::IntToString(i)); base 44 extensions/common/manifest_handlers/webview_info.h virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; base 14 extensions/common/one_shot_event.cc using base::TaskRunner; base 22 extensions/common/one_shot_event.cc const base::Closure& task, base 23 extensions/common/one_shot_event.cc const base::TimeDelta& delay) base 29 extensions/common/one_shot_event.cc base::Closure task; base 30 extensions/common/one_shot_event.cc base::TimeDelta delay; base 44 extensions/common/one_shot_event.cc const base::Closure& task) const { base 46 extensions/common/one_shot_event.cc from_here, task, base::MessageLoopProxy::current(), base::TimeDelta()); base 50 extensions/common/one_shot_event.cc const base::Closure& task, base 52 extensions/common/one_shot_event.cc PostImpl(from_here, task, runner, base::TimeDelta()); base 56 extensions/common/one_shot_event.cc const base::Closure& task, base 57 extensions/common/one_shot_event.cc const base::TimeDelta& delay) const { base 58 extensions/common/one_shot_event.cc PostImpl(from_here, task, base::MessageLoopProxy::current(), delay); base 75 extensions/common/one_shot_event.cc if (task.delay != base::TimeDelta()) base 83 extensions/common/one_shot_event.cc const base::Closure& task, base 85 extensions/common/one_shot_event.cc const base::TimeDelta& delay) const { base 89 extensions/common/one_shot_event.cc if (delay != base::TimeDelta()) base 16 extensions/common/one_shot_event.h namespace base { base 80 extensions/common/one_shot_event.h const base::Closure& task) const; base 82 extensions/common/one_shot_event.h const base::Closure& task, base 83 extensions/common/one_shot_event.h const scoped_refptr<base::TaskRunner>& runner) const; base 85 extensions/common/one_shot_event.h const base::Closure& task, base 86 extensions/common/one_shot_event.h const base::TimeDelta& delay) const; base 92 extensions/common/one_shot_event.h const base::Closure& task, base 93 extensions/common/one_shot_event.h const scoped_refptr<base::TaskRunner>& runner, base 94 extensions/common/one_shot_event.h const base::TimeDelta& delay) const; base 96 extensions/common/one_shot_event.h base::ThreadChecker thread_checker_; base 27 extensions/common/one_shot_event_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 28 extensions/common/one_shot_event_unittest.cc new base::TestSimpleTaskRunner); base 30 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &i), runner); base 31 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &i), runner); base 45 extensions/common/one_shot_event_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 46 extensions/common/one_shot_event_unittest.cc new base::TestSimpleTaskRunner); base 50 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &i), runner); base 59 extensions/common/one_shot_event_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 60 extensions/common/one_shot_event_unittest.cc new base::TestSimpleTaskRunner); base 61 extensions/common/one_shot_event_unittest.cc base::MessageLoop loop; base 65 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &runner_i), runner); base 66 extensions/common/one_shot_event_unittest.cc event.Post(FROM_HERE, base::Bind(&Increment, &loop_i)); base 73 extensions/common/one_shot_event_unittest.cc base::RunLoop().RunUntilIdle(); base 79 extensions/common/one_shot_event_unittest.cc const scoped_refptr<base::TaskRunner>& runner, base 82 extensions/common/one_shot_event_unittest.cc event->Post(FROM_HERE, base::Bind(&Increment, i), runner); base 87 extensions/common/one_shot_event_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> runner( base 88 extensions/common/one_shot_event_unittest.cc new base::TestSimpleTaskRunner); base 92 extensions/common/one_shot_event_unittest.cc base::Bind(&CheckSignaledAndPostIncrement, &event, runner, &i), base 51 extensions/common/permissions/api_permission.cc const base::Value* value, base 57 extensions/common/permissions/api_permission.cc virtual scoped_ptr<base::Value> ToValue() const OVERRIDE { base 58 extensions/common/permissions/api_permission.cc return scoped_ptr<base::Value>(); base 219 extensions/common/permissions/api_permission.h virtual bool FromValue(const base::Value* value, base 224 extensions/common/permissions/api_permission.h virtual scoped_ptr<base::Value> ToValue() const = 0; base 23 extensions/common/permissions/api_permission_set.cc const base::Value* permission_value, base 26 extensions/common/permissions/api_permission_set.cc base::string16* error, base 76 extensions/common/permissions/api_permission_set.cc const base::Value* permission_value, base 79 extensions/common/permissions/api_permission_set.cc base::string16* error, base 82 extensions/common/permissions/api_permission_set.cc const base::ListValue* permissions; base 102 extensions/common/permissions/api_permission_set.cc base_name + '.' + base::IntToString(i)); base 135 extensions/common/permissions/api_permission_set.cc const base::ListValue* permissions, base 138 extensions/common/permissions/api_permission_set.cc base::string16* error, base 142 extensions/common/permissions/api_permission_set.cc const base::Value* permission_value = NULL; base 144 extensions/common/permissions/api_permission_set.cc const base::DictionaryValue* dict = NULL; base 149 extensions/common/permissions/api_permission_set.cc errors::kInvalidPermission, base::IntToString(i)); base 155 extensions/common/permissions/api_permission_set.cc base::DictionaryValue::Iterator it(*dict); base 12 extensions/common/permissions/api_permission_set.h namespace base { base 54 extensions/common/permissions/api_permission_set.h const base::ListValue* permissions, base 57 extensions/common/permissions/api_permission_set.h base::string16* error, base 47 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 48 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("tcp-connect:*.example.com:80")); base 49 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-bind::8080")); base 50 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8888")); base 81 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 82 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("tcp-connect:*.example.com:80")); base 83 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8899")); base 95 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 96 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("tcp-connect:*.example.com:80")); base 97 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-bind::8080")); base 98 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8888")); base 99 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8899")); base 133 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 134 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("tcp-connect:*.example.com:80")); base 135 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-bind::8080")); base 136 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8888")); base 159 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 160 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-bind::8080")); base 161 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8888")); base 162 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8899")); base 170 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 171 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-bind::8080")); base 172 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8888")); base 205 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 206 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("tcp-connect:*.example.com:80")); base 207 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-bind::8080")); base 208 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8888")); base 224 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 225 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("tcp-connect:*.example.com:80")); base 226 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8899")); base 234 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 235 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-bind::8080")); base 236 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8888")); base 267 extensions/common/permissions/api_permission_set_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 268 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("tcp-connect:*.example.com:80")); base 269 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-bind::8080")); base 270 extensions/common/permissions/api_permission_set_unittest.cc value->Append(new base::StringValue("udp-send-to::8888")); base 72 extensions/common/permissions/base_set_operators.h COMPILE_ASSERT((base::is_convertible<T*, BaseSetOperators<T>*>::value), base 16 extensions/common/permissions/manifest_permission.h namespace base { base 47 extensions/common/permissions/manifest_permission.h virtual bool FromValue(const base::Value* value) = 0; base 50 extensions/common/permissions/manifest_permission.h virtual scoped_ptr<base::Value> ToValue() const = 0; base 25 extensions/common/permissions/manifest_permission_set.cc const base::Value* permission_value, base 27 extensions/common/permissions/manifest_permission_set.cc base::string16* error, base 61 extensions/common/permissions/manifest_permission_set.cc const base::ListValue* permissions, base 63 extensions/common/permissions/manifest_permission_set.cc base::string16* error, base 67 extensions/common/permissions/manifest_permission_set.cc const base::Value* permission_value = NULL; base 69 extensions/common/permissions/manifest_permission_set.cc const base::DictionaryValue* dict = NULL; base 74 extensions/common/permissions/manifest_permission_set.cc errors::kInvalidPermission, base::IntToString(i)); base 80 extensions/common/permissions/manifest_permission_set.cc base::DictionaryValue::Iterator it(*dict); base 14 extensions/common/permissions/manifest_permission_set.h namespace base { base 39 extensions/common/permissions/manifest_permission_set.h const base::ListValue* permissions, base 41 extensions/common/permissions/manifest_permission_set.h base::string16* error, base 37 extensions/common/permissions/manifest_permission_set_unittest.cc virtual bool FromValue(const base::Value* value) OVERRIDE { base 41 extensions/common/permissions/manifest_permission_set_unittest.cc virtual scoped_ptr<base::Value> ToValue() const OVERRIDE { base 42 extensions/common/permissions/manifest_permission_set_unittest.cc return scoped_ptr<base::Value>(base::Value::CreateNullValue()); base 60 extensions/common/permissions/media_galleries_permission.cc const base::Value* value, base 158 extensions/common/permissions/media_galleries_permission.cc base::string16())); base 163 extensions/common/permissions/media_galleries_permission.cc base::string16())); base 42 extensions/common/permissions/media_galleries_permission.h const base::Value* value, base 26 extensions/common/permissions/media_galleries_permission_data.cc scoped_ptr<base::Value> MediaGalleriesPermissionData::ToValue() const { base 27 extensions/common/permissions/media_galleries_permission_data.cc return scoped_ptr<base::Value>(new base::StringValue(permission_)); base 30 extensions/common/permissions/media_galleries_permission_data.cc bool MediaGalleriesPermissionData::FromValue(const base::Value* value) { base 39 extensions/common/permissions/media_galleries_permission_data.cc base::TrimWhitespaceASCII(raw_permission, base::TRIM_ALL, &permission); base 14 extensions/common/permissions/media_galleries_permission_data.h namespace base { base 31 extensions/common/permissions/media_galleries_permission_data.h scoped_ptr<base::Value> ToValue() const; base 34 extensions/common/permissions/media_galleries_permission_data.h bool FromValue(const base::Value* value); base 13 extensions/common/permissions/permission_message.cc PermissionMessage::ID id, const base::string16& message) base 20 extensions/common/permissions/permission_message.cc const base::string16& message, base 21 extensions/common/permissions/permission_message.cc const base::string16& details) base 94 extensions/common/permissions/permission_message.h PermissionMessage(ID id, const base::string16& message); base 96 extensions/common/permissions/permission_message.h const base::string16& message, base 97 extensions/common/permissions/permission_message.h const base::string16& details); base 106 extensions/common/permissions/permission_message.h const base::string16& message() const { return message_; } base 111 extensions/common/permissions/permission_message.h const base::string16& details() const { return details_; } base 124 extensions/common/permissions/permission_message.h base::string16 message_; base 125 extensions/common/permissions/permission_message.h base::string16 details_; base 36 extensions/common/permissions/permission_message_provider.h virtual std::vector<base::string16> GetWarningMessages( base 43 extensions/common/permissions/permission_message_provider.h virtual std::vector<base::string16> GetWarningMessagesDetails( base 44 extensions/common/permissions/permission_message_util.cc base::string16 message; base 45 extensions/common/permissions/permission_message_util.cc base::string16 details; base 51 extensions/common/permissions/permission_message_util.cc base::UTF8ToUTF16(host_list[0])); base 56 extensions/common/permissions/permission_message_util.cc base::UTF8ToUTF16(host_list[0]), base 57 extensions/common/permissions/permission_message_util.cc base::UTF8ToUTF16(host_list[1])); base 62 extensions/common/permissions/permission_message_util.cc base::UTF8ToUTF16(host_list[0]), base 63 extensions/common/permissions/permission_message_util.cc base::UTF8ToUTF16(host_list[1]), base 64 extensions/common/permissions/permission_message_util.cc base::UTF8ToUTF16(host_list[2])); base 84 extensions/common/permissions/permission_message_util.cc details += base::ASCIIToUTF16("\n"); base 87 extensions/common/permissions/permission_message_util.cc base::UTF8ToUTF16(host_list[i])); base 31 extensions/common/permissions/permission_set.h : public base::RefCountedThreadSafe<PermissionSet> { base 120 extensions/common/permissions/permission_set.h friend class base::RefCountedThreadSafe<PermissionSet>; base 98 extensions/common/permissions/permissions_data.cc base::string16* error) { base 102 extensions/common/permissions/permissions_data.cc const base::ListValue* permissions = NULL; base 155 extensions/common/permissions/permissions_data.cc *error = base::ASCIIToUTF16(errors::kExperimentalFlagRequired); base 300 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 350 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 358 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 372 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 383 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 391 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 409 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 415 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 422 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 432 extensions/common/permissions/permissions_data.cc std::vector<base::string16> PermissionsData::GetPermissionMessageStrings( base 434 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 436 extensions/common/permissions/permissions_data.cc return std::vector<base::string16>(); base 444 extensions/common/permissions/permissions_data.cc std::vector<base::string16> PermissionsData::GetPermissionMessageDetailsStrings( base 446 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 448 extensions/common/permissions/permissions_data.cc return std::vector<base::string16>(); base 463 extensions/common/permissions/permissions_data.cc base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_); base 567 extensions/common/permissions/permissions_data.cc base::string16* error) { base 144 extensions/common/permissions/permissions_data.h static std::vector<base::string16> GetPermissionMessageStrings( base 150 extensions/common/permissions/permissions_data.h static std::vector<base::string16> GetPermissionMessageDetailsStrings( base 181 extensions/common/permissions/permissions_data.h bool ParsePermissions(Extension* extension, base::string16* error); base 204 extensions/common/permissions/permissions_data.h mutable base::Lock runtime_lock_; base 27 extensions/common/permissions/permissions_data_unittest.cc using base::UTF16ToUTF8; base 159 extensions/common/permissions/permissions_data_unittest.cc std::vector<base::string16> warnings = base 175 extensions/common/permissions/permissions_data_unittest.cc std::vector<base::string16> warnings = base 177 extensions/common/permissions/permissions_data_unittest.cc std::vector<base::string16> warnings_details = base 192 extensions/common/permissions/permissions_data_unittest.cc std::vector<base::string16> warnings = base 201 extensions/common/permissions/permissions_data_unittest.cc std::vector<base::string16> warnings = base 211 extensions/common/permissions/permissions_data_unittest.cc std::vector<base::string16> warnings = base 236 extensions/common/permissions/permissions_data_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo")))), base 15 extensions/common/permissions/permissions_info.cc static base::LazyInstance<PermissionsInfo> g_permissions_info = base 51 extensions/common/permissions/permissions_info.h friend struct base::DefaultLazyInstanceTraits<PermissionsInfo>; base 117 extensions/common/permissions/set_disjunction_permission.h const base::Value* value, base 121 extensions/common/permissions/set_disjunction_permission.h const base::ListValue* list = NULL; base 130 extensions/common/permissions/set_disjunction_permission.h const base::Value* item_value = NULL; base 140 extensions/common/permissions/set_disjunction_permission.h base::JSONWriter::Write(item_value, &unknown_permission); base 155 extensions/common/permissions/set_disjunction_permission.h virtual scoped_ptr<base::Value> ToValue() const OVERRIDE { base 156 extensions/common/permissions/set_disjunction_permission.h base::ListValue* list = new base::ListValue(); base 159 extensions/common/permissions/set_disjunction_permission.h scoped_ptr<base::Value> item_value(i->ToValue()); base 162 extensions/common/permissions/set_disjunction_permission.h return scoped_ptr<base::Value>(list); base 47 extensions/common/permissions/settings_override_permission.cc string_id, base::UTF8ToUTF16(setting_value_)))); base 68 extensions/common/permissions/settings_override_permission.cc const base::Value* value, base 74 extensions/common/permissions/settings_override_permission.cc scoped_ptr<base::Value> SettingsOverrideAPIPermission::ToValue() const { base 75 extensions/common/permissions/settings_override_permission.cc return scoped_ptr<base::Value>(); base 29 extensions/common/permissions/settings_override_permission.h const base::Value* value, base 32 extensions/common/permissions/settings_override_permission.h virtual scoped_ptr<base::Value> ToValue() const OVERRIDE; base 52 extensions/common/permissions/socket_permission.cc std::set<base::string16> domains; base 56 extensions/common/permissions/socket_permission.cc domains.insert(base::UTF8ToUTF16(i->entry().pattern().host)); base 67 extensions/common/permissions/socket_permission.cc std::vector<base::string16>(domains.begin(), domains.end()), base 74 extensions/common/permissions/socket_permission.cc std::set<base::string16> hostnames; base 78 extensions/common/permissions/socket_permission.cc hostnames.insert(base::UTF8ToUTF16(i->entry().pattern().host)); base 89 extensions/common/permissions/socket_permission.cc std::vector<base::string16>(hostnames.begin(), hostnames.end()), base 105 extensions/common/permissions/socket_permission_data.cc scoped_ptr<base::Value> SocketPermissionData::ToValue() const { base 106 extensions/common/permissions/socket_permission_data.cc return scoped_ptr<base::Value>(new base::StringValue(GetAsString())); base 109 extensions/common/permissions/socket_permission_data.cc bool SocketPermissionData::FromValue(const base::Value* value) { base 128 extensions/common/permissions/socket_permission_data.cc base::SplitStringDontTrim(permission, kColon, &tokens); base 58 extensions/common/permissions/socket_permission_data.h scoped_ptr<base::Value> ToValue() const; base 61 extensions/common/permissions/socket_permission_data.h bool FromValue(const base::Value* value); base 31 extensions/common/permissions/socket_permission_entry.cc if (str.find_first_not_of(base::kWhitespaceASCII) != 0) base 33 extensions/common/permissions/socket_permission_entry.cc if (str.find_last_not_of(base::kWhitespaceASCII) != str.length() - 1) base 135 extensions/common/permissions/socket_permission_entry.cc base::SplitStringDontTrim(pattern, kColon, &tokens); base 175 extensions/common/permissions/socket_permission_entry.cc base::SplitString(result.pattern_.host, kDot, &host_components); base 196 extensions/common/permissions/socket_permission_entry.cc if (!base::StringToInt(pattern_tokens[1], &result.pattern_.port) || base 221 extensions/common/permissions/socket_permission_entry.cc result.append(1, kColon).append(base::IntToString(pattern_.port)); base 51 extensions/common/permissions/usb_device_permission.cc base::ASCIIToUTF16(product), base 52 extensions/common/permissions/usb_device_permission.cc base::ASCIIToUTF16(vendor)))); base 58 extensions/common/permissions/usb_device_permission.cc base::ASCIIToUTF16(vendor)))); base 52 extensions/common/permissions/usb_device_permission_data.cc scoped_ptr<base::Value> UsbDevicePermissionData::ToValue() const { base 53 extensions/common/permissions/usb_device_permission_data.cc base::DictionaryValue* result = new base::DictionaryValue(); base 57 extensions/common/permissions/usb_device_permission_data.cc return scoped_ptr<base::Value>(result); base 60 extensions/common/permissions/usb_device_permission_data.cc bool UsbDevicePermissionData::FromValue(const base::Value* value) { base 64 extensions/common/permissions/usb_device_permission_data.cc const base::DictionaryValue* dict_value; base 13 extensions/common/permissions/usb_device_permission_data.h namespace base { base 47 extensions/common/permissions/usb_device_permission_data.h scoped_ptr<base::Value> ToValue() const; base 50 extensions/common/permissions/usb_device_permission_data.h bool FromValue(const base::Value* value); base 30 extensions/common/stack_frame.cc const base::string16& source, base 31 extensions/common/stack_frame.cc const base::string16& function) base 35 extensions/common/stack_frame.cc function(function.empty() ? base::UTF8ToUTF16(kAnonymousFunction) base 50 extensions/common/stack_frame.cc const base::string16& frame_text) { base 52 extensions/common/stack_frame.cc std::string text = base::UTF16ToUTF8(frame_text); base 69 extensions/common/stack_frame.cc base::UTF8ToUTF16(source), base 70 extensions/common/stack_frame.cc base::UTF8ToUTF16(function))); base 20 extensions/common/stack_frame.h const base::string16& source, base 21 extensions/common/stack_frame.h const base::string16& function); base 26 extensions/common/stack_frame.h const base::string16& frame_text); base 32 extensions/common/stack_frame.h base::string16 source; base 33 extensions/common/stack_frame.h base::string16 function; // optional base 13 extensions/common/stack_frame_unittest.cc using base::UTF8ToUTF16; base 24 extensions/common/stack_frame_unittest.cc base::string16 utf16_text = base::UTF8ToUTF16(text); base 30 extensions/common/stack_frame_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(source), frame->source()); base 31 extensions/common/stack_frame_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(function), frame->function()); base 35 extensions/common/stack_frame_unittest.cc base::string16 utf16_text = base::UTF8ToUTF16(text); base 33 extensions/common/test_util.cc scoped_ptr<base::DictionaryValue> ParseJsonDictionaryWithSingleQuotes( base 37 extensions/common/test_util.cc scoped_ptr<base::Value> result(base::JSONReader::ReadAndReturnError( base 38 extensions/common/test_util.cc json, base::JSON_ALLOW_TRAILING_COMMAS, NULL, &error_msg)); base 39 extensions/common/test_util.cc scoped_ptr<base::DictionaryValue> result_dict; base 40 extensions/common/test_util.cc if (result && result->IsType(base::Value::TYPE_DICTIONARY)) { base 41 extensions/common/test_util.cc result_dict.reset(static_cast<base::DictionaryValue*>(result.release())); base 44 extensions/common/test_util.cc result_dict.reset(new base::DictionaryValue()); base 13 extensions/common/test_util.h namespace base { base 32 extensions/common/test_util.h scoped_ptr<base::DictionaryValue> ParseJsonDictionaryWithSingleQuotes( base 91 extensions/common/url_pattern.cc if (!base::StringToInt(port, &parsed_port)) base 221 extensions/common/url_pattern.cc base::SplitString(host_, '.', &host_components); base 499 extensions/common/url_pattern.cc if (!MatchesPortPattern(base::IntToString(test.EffectiveIntPort()))) base 32 extensions/common/url_pattern_set.cc out->patterns_ = base::STLSetDifference<std::set<URLPattern> >( base 185 extensions/common/url_pattern_set.cc scoped_ptr<base::ListValue> URLPatternSet::ToValue() const { base 186 extensions/common/url_pattern_set.cc scoped_ptr<base::ListValue> value(new base::ListValue); base 189 extensions/common/url_pattern_set.cc value->AppendIfNotPresent(new base::StringValue(i->GetAsString())); base 218 extensions/common/url_pattern_set.cc bool URLPatternSet::Populate(const base::ListValue& value, base 15 extensions/common/url_pattern_set.h namespace base { base 87 extensions/common/url_pattern_set.h scoped_ptr<base::ListValue> ToValue() const; base 88 extensions/common/url_pattern_set.h bool Populate(const base::ListValue& value, base 234 extensions/common/url_pattern_set_unittest.cc scoped_ptr<base::ListValue> value(set1.ToValue()); base 59 extensions/common/user_script.cc UserScript::File::File(const base::FilePath& extension_root, base 60 extensions/common/user_script.cc const base::FilePath& relative_path, base 54 extensions/common/user_script.h File(const base::FilePath& extension_root, base 55 extensions/common/user_script.h const base::FilePath& relative_path, base 60 extensions/common/user_script.h const base::FilePath& extension_root() const { return extension_root_; } base 61 extensions/common/user_script.h const base::FilePath& relative_path() const { return relative_path_; } base 68 extensions/common/user_script.h const base::StringPiece GetContent() const { base 74 extensions/common/user_script.h void set_external_content(const base::StringPiece& content) { base 77 extensions/common/user_script.h void set_content(const base::StringPiece& content) { base 89 extensions/common/user_script.h base::FilePath extension_root_; base 90 extensions/common/user_script.h base::FilePath relative_path_; base 97 extensions/common/user_script.h base::StringPiece external_content_; base 173 extensions/common/user_script_unittest.cc base::FilePath(FILE_PATH_LITERAL("c:\\foo\\")), base 174 extensions/common/user_script_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo.user.js")), base 177 extensions/common/user_script_unittest.cc base::FilePath(FILE_PATH_LITERAL("c:\\foo\\")), base 178 extensions/common/user_script_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo.user.css")), base 181 extensions/common/user_script_unittest.cc base::FilePath(FILE_PATH_LITERAL("c:\\foo\\")), base 182 extensions/common/user_script_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo2.user.css")), base 11 extensions/common/value_builder.cc DictionaryBuilder::DictionaryBuilder() : dict_(new base::DictionaryValue) {} base 13 extensions/common/value_builder.cc DictionaryBuilder::DictionaryBuilder(const base::DictionaryValue& init) base 20 extensions/common/value_builder.cc dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); base 26 extensions/common/value_builder.cc dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); base 32 extensions/common/value_builder.cc dict_->SetWithoutPathExpansion(path, new base::StringValue(in_value)); base 37 extensions/common/value_builder.cc const base::string16& in_value) { base 38 extensions/common/value_builder.cc dict_->SetWithoutPathExpansion(path, new base::StringValue(in_value)); base 56 extensions/common/value_builder.cc dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); base 62 extensions/common/value_builder.cc ListBuilder::ListBuilder() : list_(new base::ListValue) {} base 63 extensions/common/value_builder.cc ListBuilder::ListBuilder(const base::ListValue& init) : list_(init.DeepCopy()) { base 68 extensions/common/value_builder.cc list_->Append(new base::FundamentalValue(in_value)); base 73 extensions/common/value_builder.cc list_->Append(new base::FundamentalValue(in_value)); base 78 extensions/common/value_builder.cc list_->Append(new base::StringValue(in_value)); base 82 extensions/common/value_builder.cc ListBuilder& ListBuilder::Append(const base::string16& in_value) { base 83 extensions/common/value_builder.cc list_->Append(new base::StringValue(in_value)); base 98 extensions/common/value_builder.cc list_->Append(new base::FundamentalValue(in_value)); base 49 extensions/common/value_builder.h explicit DictionaryBuilder(const base::DictionaryValue& init); base 57 extensions/common/value_builder.h scoped_ptr<base::DictionaryValue> Build() { return dict_.Pass(); } base 63 extensions/common/value_builder.h const base::string16& in_value); base 72 extensions/common/value_builder.h scoped_ptr<base::DictionaryValue> dict_; base 78 extensions/common/value_builder.h explicit ListBuilder(const base::ListValue& init); base 86 extensions/common/value_builder.h scoped_ptr<base::ListValue> Build() { return list_.Pass(); } base 91 extensions/common/value_builder.h ListBuilder& Append(const base::string16& in_value); base 100 extensions/common/value_builder.h scoped_ptr<base::ListValue> list_; base 39 gin/arguments.cc ThrowTypeError(base::StringPrintf( base 62 gin/array_buffer.cc class ArrayBuffer::Private : public base::RefCounted<ArrayBuffer::Private> { base 106 gin/converter.cc Handle<Value> Converter<base::StringPiece>::ToV8( base 107 gin/converter.cc Isolate* isolate, const base::StringPiece& val) { base 114 gin/converter.cc return Converter<base::StringPiece>::ToV8(isolate, val); base 189 gin/converter.cc const base::StringPiece& val) { base 86 gin/converter.h struct GIN_EXPORT Converter<base::StringPiece> { base 88 gin/converter.h const base::StringPiece& val); base 185 gin/converter.h const base::StringPiece& input) { base 190 gin/converter.h const base::StringPiece& val); base 72 gin/function_template.h const base::Callback<Sig>& callback, base 75 gin/function_template.h base::Callback<Sig> callback; base 97 gin/function_template.h const base::Callback<R(P1, P2, P3, P4, P5, P6)>& callback, base 112 gin/function_template.h const base::Callback<void(P1, P2, P3, P4, P5, P6)>& callback, base 128 gin/function_template.h const base::Callback<R(P1, P2, P3, P4, P5)>& callback, base 141 gin/function_template.h const base::Callback<void(P1, P2, P3, P4, P5)>& callback, base 155 gin/function_template.h const base::Callback<R(P1, P2, P3, P4)>& callback, base 167 gin/function_template.h const base::Callback<void(P1, P2, P3, P4)>& callback, base 180 gin/function_template.h const base::Callback<R(P1, P2, P3)>& callback, base 191 gin/function_template.h const base::Callback<void(P1, P2, P3)>& callback, base 203 gin/function_template.h const base::Callback<R(P1, P2)>& callback, base 213 gin/function_template.h const base::Callback<void(P1, P2)>& callback, base 224 gin/function_template.h const base::Callback<R(P1)>& callback, base 233 gin/function_template.h const base::Callback<void(P1)>& callback, base 243 gin/function_template.h const base::Callback<R()>& callback) { base 251 gin/function_template.h const base::Callback<void()>& callback) { base 492 gin/function_template.h v8::Isolate* isolate, const base::Callback<Sig> callback, base 509 gin/function_template.h const base::Callback<Sig> callback, base 14 gin/interceptor.cc WrappableBase* base) base 15 gin/interceptor.cc : isolate_(isolate), base_(base) { base 39 gin/interceptor.cc WrappableBase* base) base 40 gin/interceptor.cc : isolate_(isolate), base_(base) { base 23 gin/interceptor.h NamedPropertyInterceptor(v8::Isolate* isolate, WrappableBase* base); base 43 gin/interceptor.h IndexedPropertyInterceptor(v8::Isolate* isolate, WrappableBase* base); base 40 gin/interceptor_unittest.cc base::Bind(&MyInterceptor::Call), base 23 gin/isolate_holder.cc base::RandBytes(buffer, amount); base 55 gin/isolate_holder.cc constraints.ConfigureDefaults(base::SysInfo::AmountOfPhysicalMemory(), base 56 gin/isolate_holder.cc base::SysInfo::NumberOfProcessors()); base 17 gin/modules/file_module_provider.cc void AttempToLoadModule(const base::WeakPtr<Runner>& runner, base 18 gin/modules/file_module_provider.cc const std::vector<base::FilePath>& search_paths, base 24 gin/modules/file_module_provider.cc base::SplitString(id, '/', &components); base 26 gin/modules/file_module_provider.cc base::FilePath path; base 48 gin/modules/file_module_provider.cc const std::vector<base::FilePath>& search_paths) base 64 gin/modules/file_module_provider.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 25 gin/modules/file_module_provider.h const std::vector<base::FilePath>& search_paths); base 33 gin/modules/file_module_provider.h std::vector<base::FilePath> search_paths_; base 55 gin/modules/module_registry.cc struct ModuleRegistryData : public base::SupportsUserData::Data { base 39 gin/modules/module_registry.h typedef base::Callback<void (v8::Handle<v8::Value>)> LoadModuleCallback; base 22 gin/modules/module_registry_unittest.cc : delegate(std::vector<base::FilePath>()), base 27 gin/modules/module_registry_unittest.cc base::MessageLoop message_loop; base 14 gin/modules/module_runner_delegate.cc const std::vector<base::FilePath>& search_paths) base 25 gin/modules/module_runner_delegate.h const std::vector<base::FilePath>& search_paths); base 37 gin/modules/timer.cc base::Bind(&base::Timer::Stop, base::Unretained(&timer_))) base 39 gin/modules/timer.cc base::Bind(&base::Timer::Reset, base::Unretained(&timer_))); base 50 gin/modules/timer.cc timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(delay_ms), base 51 gin/modules/timer.cc base::Bind(&Timer::OnTimerFired, weak_factory_.GetWeakPtr())); base 98 gin/modules/timer.cc base::Bind(&Timer::Create, Timer::TYPE_ONE_SHOT)) base 100 gin/modules/timer.cc base::Bind(&Timer::Create, Timer::TYPE_REPEATING)); base 41 gin/modules/timer.h base::WeakPtrFactory<Timer> weak_factory_; base 42 gin/modules/timer.h base::Timer timer_; base 43 gin/modules/timer.h base::WeakPtr<gin::Runner> runner_; base 33 gin/modules/timer_unittest.cc base::MessageLoop::current()->QuitNow(); base 69 gin/modules/timer_unittest.cc loop.PostDelayedTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure(), base 70 gin/modules/timer_unittest.cc base::TimeDelta::FromMilliseconds(0)); base 78 gin/modules/timer_unittest.cc base::MessageLoop loop; base 35 gin/object_template_builder.cc WrappableBase* base = WrappableFromV8(isolate, val); base 36 gin/object_template_builder.cc if (!base) base 38 gin/object_template_builder.cc return PerIsolateData::From(isolate)->GetNamedPropertyInterceptor(base); base 44 gin/object_template_builder.cc WrappableBase* base = WrappableFromV8(isolate, val); base 45 gin/object_template_builder.cc if (!base) base 47 gin/object_template_builder.cc return PerIsolateData::From(isolate)->GetIndexedPropertyInterceptor(base); base 160 gin/object_template_builder.cc const base::StringPiece& name, v8::Handle<v8::Data> val) { base 166 gin/object_template_builder.cc const base::StringPiece& name, v8::Handle<v8::FunctionTemplate> getter, base 28 gin/object_template_builder.h return CreateFunctionTemplate(isolate, base::Bind(callback)); base 33 gin/object_template_builder.h CreateFunctionHandler(isolate, tmpl, base::Bind(callback)); base 39 gin/object_template_builder.h struct CallbackTraits<base::Callback<T> > { base 41 gin/object_template_builder.h v8::Isolate* isolate, const base::Callback<T>& callback) { base 46 gin/object_template_builder.h const base::Callback<T>& callback) { base 56 gin/object_template_builder.h struct CallbackTraits<T, typename base::enable_if< base 57 gin/object_template_builder.h base::is_member_function_pointer<T>::value>::type> { base 60 gin/object_template_builder.h return CreateFunctionTemplate(isolate, base::Bind(callback), base 67 gin/object_template_builder.h isolate, tmpl, base::Bind(callback), HolderIsFirstArgument); base 95 gin/object_template_builder.h ObjectTemplateBuilder& SetValue(const base::StringPiece& name, T val) { base 104 gin/object_template_builder.h ObjectTemplateBuilder& SetMethod(const base::StringPiece& name, base 109 gin/object_template_builder.h ObjectTemplateBuilder& SetProperty(const base::StringPiece& name, base 116 gin/object_template_builder.h ObjectTemplateBuilder& SetProperty(const base::StringPiece& name, base 133 gin/object_template_builder.h ObjectTemplateBuilder& SetImpl(const base::StringPiece& name, base 136 gin/object_template_builder.h const base::StringPiece& name, v8::Handle<v8::FunctionTemplate> getter, base 23 gin/per_context_data.h class GIN_EXPORT PerContextData : public base::SupportsUserData { base 24 gin/per_isolate_data.cc message_loop_proxy_(base::MessageLoopProxy::current()) { base 63 gin/per_isolate_data.cc WrappableBase* base, base 65 gin/per_isolate_data.cc indexed_interceptors_[base] = interceptor; base 69 gin/per_isolate_data.cc WrappableBase* base, base 71 gin/per_isolate_data.cc named_interceptors_[base] = interceptor; base 75 gin/per_isolate_data.cc WrappableBase* base, base 77 gin/per_isolate_data.cc IndexedPropertyInterceptorMap::iterator it = indexed_interceptors_.find(base); base 85 gin/per_isolate_data.cc WrappableBase* base, base 87 gin/per_isolate_data.cc NamedPropertyInterceptorMap::iterator it = named_interceptors_.find(base); base 95 gin/per_isolate_data.cc WrappableBase* base) { base 96 gin/per_isolate_data.cc IndexedPropertyInterceptorMap::iterator it = indexed_interceptors_.find(base); base 104 gin/per_isolate_data.cc WrappableBase* base) { base 105 gin/per_isolate_data.cc NamedPropertyInterceptorMap::iterator it = named_interceptors_.find(base); base 16 gin/per_isolate_data.h namespace base { base 52 gin/per_isolate_data.h void SetIndexedPropertyInterceptor(WrappableBase* base, base 54 gin/per_isolate_data.h void SetNamedPropertyInterceptor(WrappableBase* base, base 57 gin/per_isolate_data.h void ClearIndexedPropertyInterceptor(WrappableBase* base, base 59 gin/per_isolate_data.h void ClearNamedPropertyInterceptor(WrappableBase* base, base 63 gin/per_isolate_data.h WrappableBase* base); base 64 gin/per_isolate_data.h NamedPropertyInterceptor* GetNamedPropertyInterceptor(WrappableBase* base); base 68 gin/per_isolate_data.h base::MessageLoopProxy* message_loop_proxy() { base 90 gin/per_isolate_data.h scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 28 gin/public/v8_platform.h friend struct base::DefaultLazyInstanceTraits<V8Platform>; base 39 gin/runner.h base::WeakPtr<Runner> GetWeakPtr() { base 59 gin/runner.h base::WeakPtrFactory<Runner> weak_factory_; base 20 gin/shell/gin_main.cc std::string Load(const base::FilePath& path) { base 27 gin/shell/gin_main.cc void Run(base::WeakPtr<Runner> runner, const base::FilePath& path) { base 34 gin/shell/gin_main.cc std::vector<base::FilePath> GetModuleSearchPaths() { base 35 gin/shell/gin_main.cc std::vector<base::FilePath> module_base(1); base 36 gin/shell/gin_main.cc CHECK(base::GetCurrentDirectory(&module_base[0])); base 60 gin/shell/gin_main.cc base::AtExitManager at_exit; base 62 gin/shell/gin_main.cc base::i18n::InitializeICU(); base 66 gin/shell/gin_main.cc base::MessageLoop message_loop; base 79 gin/shell/gin_main.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 80 gin/shell/gin_main.cc gin::Run, runner.GetWeakPtr(), base::FilePath(*it))); base 24 gin/test/file_runner.cc std::vector<base::FilePath> GetModuleSearchPaths() { base 25 gin/test/file_runner.cc std::vector<base::FilePath> search_paths(2); base 26 gin/test/file_runner.cc PathService::Get(base::DIR_SOURCE_ROOT, &search_paths[0]); base 27 gin/test/file_runner.cc PathService::Get(base::DIR_EXE, &search_paths[1]); base 50 gin/test/file_runner.cc void RunTestFromFile(const base::FilePath& path, FileRunnerDelegate* delegate, base 52 gin/test/file_runner.cc ASSERT_TRUE(base::PathExists(path)) << path.LossyDisplayName(); base 56 gin/test/file_runner.cc base::MessageLoop message_loop; base 33 gin/test/file_runner.h void RunTestFromFile(const base::FilePath& path, FileRunnerDelegate* delegate, base 13 gin/test/run_all_unittests.cc base::TestSuite test_suite(argc, argv); base 15 gin/test/run_all_unittests.cc return base::LaunchUnitTests( base 16 gin/test/run_all_unittests.cc argc, argv, base::Bind(&base::TestSuite::Run, base 17 gin/test/run_all_unittests.cc base::Unretained(&test_suite))); base 13 gin/test/run_js_tests.cc base::FilePath BasePath() { base 14 gin/test/run_js_tests.cc base::FilePath path; base 15 gin/test/run_js_tests.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 19 gin/test/run_js_tests.cc void RunTest(const base::FilePath& path) { base 17 gin/v8_platform.cc base::LazyInstance<V8Platform>::Leaky g_v8_platform = LAZY_INSTANCE_INITIALIZER; base 31 gin/v8_platform.cc base::WorkerPool::PostTask( base 33 gin/v8_platform.cc base::Bind(&v8::Task::Run, base::Owned(task)), base 39 gin/v8_platform.cc FROM_HERE, base::Bind(&v8::Task::Run, base::Owned(task))); base 101 gin/wrappable.h struct Converter<T*, typename base::enable_if< base 102 gin/wrappable.h base::is_convertible<T*, WrappableBase*>::value>::type> { base 18 google_apis/cup/client_update_protocol.cc base::StringPiece ByteVectorToSP(const std::vector<uint8>& vec) { base 20 google_apis/cup/client_update_protocol.cc return base::StringPiece(); base 22 google_apis/cup/client_update_protocol.cc return base::StringPiece(reinterpret_cast<const char*>(&vec[0]), vec.size()); base 30 google_apis/cup/client_update_protocol.cc return base::kSHA1Length; base 35 google_apis/cup/client_update_protocol.cc base::SHA1HashBytes(data.empty() ? NULL : &data[0], base 41 google_apis/cup/client_update_protocol.cc std::vector<uint8> Hash(const base::StringPiece& sdata) { base 43 google_apis/cup/client_update_protocol.cc base::SHA1HashBytes(sdata.empty() ? base 125 google_apis/cup/client_update_protocol.cc base::Base64Encode(ByteVectorToSP(data), &result); base 140 google_apis/cup/client_update_protocol.cc base::TrimString(result, "=", &result); base 145 google_apis/cup/client_update_protocol.cc std::vector<uint8> UrlSafeB64Decode(const base::StringPiece& input) { base 163 google_apis/cup/client_update_protocol.cc if (!base::Base64Decode(unsafe, &decoded)) base 177 google_apis/cup/client_update_protocol.cc const base::StringPiece& public_key) { base 196 google_apis/cup/client_update_protocol.cc return base::StringPrintf("%d:%s", base 201 google_apis/cup/client_update_protocol.cc bool ClientUpdateProtocol::SignRequest(const base::StringPiece& url, base 202 google_apis/cup/client_update_protocol.cc const base::StringPiece& request_body, base 239 google_apis/cup/client_update_protocol.cc const base::StringPiece& response_body, base 240 google_apis/cup/client_update_protocol.cc const base::StringPiece& server_cookie, base 241 google_apis/cup/client_update_protocol.cc const base::StringPiece& server_proof) { base 280 google_apis/cup/client_update_protocol.cc const base::StringPiece& key_source) { base 39 google_apis/cup/client_update_protocol.h int key_version, const base::StringPiece& public_key); base 59 google_apis/cup/client_update_protocol.h bool SignRequest(const base::StringPiece& url, base 60 google_apis/cup/client_update_protocol.h const base::StringPiece& request_body, base 70 google_apis/cup/client_update_protocol.h bool ValidateResponse(const base::StringPiece& response_body, base 71 google_apis/cup/client_update_protocol.h const base::StringPiece& server_cookie, base 72 google_apis/cup/client_update_protocol.h const base::StringPiece& server_proof); base 81 google_apis/cup/client_update_protocol.h bool LoadPublicKey(const base::StringPiece& public_key); base 97 google_apis/cup/client_update_protocol.h bool SetSharedKeyForTesting(const base::StringPiece& fixed_key_source); base 25 google_apis/cup/client_update_protocol_nss.cc bool ClientUpdateProtocol::LoadPublicKey(const base::StringPiece& public_key) { base 11 google_apis/cup/client_update_protocol_openssl.cc bool ClientUpdateProtocol::LoadPublicKey(const base::StringPiece& public_key) { base 30 google_apis/cup/client_update_protocol_unittest.cc if (!base::Base64Decode(std::string(kCupTestKey1024_Base64), &result)) base 44 google_apis/drive/auth_service.cc const base::Time& expiration_time) OVERRIDE; base 50 google_apis/drive/auth_service.cc base::ThreadChecker thread_checker_; base 78 google_apis/drive/auth_service.cc const base::Time& expiration_time) { base 147 google_apis/drive/auth_service.cc scoped_refptr<base::MessageLoopProxy> relay_proxy( base 148 google_apis/drive/auth_service.cc base::MessageLoopProxy::current()); base 153 google_apis/drive/auth_service.cc base::Bind(callback, HTTP_SUCCESS, access_token_)); base 159 google_apis/drive/auth_service.cc base::Bind(&AuthService::OnAuthCompleted, base 165 google_apis/drive/auth_service.cc base::Bind(callback, GDATA_NOT_READY, std::string())); base 73 google_apis/drive/auth_service.h base::ThreadChecker thread_checker_; base 77 google_apis/drive/auth_service.h base::WeakPtrFactory<AuthService> weak_ptr_factory_; base 18 google_apis/drive/auth_service_interface.h typedef base::Callback<void(GDataErrorCode error, base 47 google_apis/drive/base_requests.cc scoped_ptr<base::Value> ParseJsonInternal(const std::string& json) { base 50 google_apis/drive/base_requests.cc scoped_ptr<base::Value> value(base::JSONReader::ReadAndReturnError( base 51 google_apis/drive/base_requests.cc json, base::JSON_PARSE_RFC, &error_code, &error_message)); base 59 google_apis/drive/base_requests.cc trimmed_json = base::StringPrintf( base 62 google_apis/drive/base_requests.cc base::Uint64ToString(json.size() - 60).c_str(), base 99 google_apis/drive/base_requests.cc void ParseJson(base::TaskRunner* blocking_task_runner, base 102 google_apis/drive/base_requests.cc base::PostTaskAndReplyWithResult( base 105 google_apis/drive/base_requests.cc base::Bind(&ParseJsonInternal, json), base 110 google_apis/drive/base_requests.cc ResponseWriter::ResponseWriter(base::SequencedTaskRunner* file_task_runner, base 111 google_apis/drive/base_requests.cc const base::FilePath& file_path, base 149 google_apis/drive/base_requests.cc base::Bind(&ResponseWriter::DidWrite, base 226 google_apis/drive/base_requests.cc base::FilePath output_file_path; base 245 google_apis/drive/base_requests.cc base::StringPrintf(kAuthorizationHeaderFormat, access_token.data())); base 258 google_apis/drive/base_requests.cc base::FilePath local_file_path; base 300 google_apis/drive/base_requests.cc bool UrlFetchRequestBase::GetContentFile(base::FilePath* local_file_path, base 308 google_apis/drive/base_requests.cc base::FilePath* local_file_path, base 327 google_apis/drive/base_requests.cc base::SequencedTaskRunner* UrlFetchRequestBase::blocking_task_runner() const { base 363 google_apis/drive/base_requests.cc scoped_ptr<base::Value> value(ParseJsonInternal(response_writer_->data())); base 364 google_apis/drive/base_requests.cc base::DictionaryValue* dictionary = NULL; base 365 google_apis/drive/base_requests.cc base::DictionaryValue* error = NULL; base 375 google_apis/drive/base_requests.cc base::ListValue* errors = NULL; base 376 google_apis/drive/base_requests.cc base::DictionaryValue* first_error = NULL; base 413 google_apis/drive/base_requests.cc base::WeakPtr<AuthenticatedRequestInterface> base 458 google_apis/drive/base_requests.cc base::Bind(&GetDataRequest::OnDataParsed, base 480 google_apis/drive/base_requests.cc callback_.Run(fetch_error_code, scoped_ptr<base::Value>()); base 484 google_apis/drive/base_requests.cc scoped_ptr<base::Value> value) { base 538 google_apis/drive/base_requests.cc kUploadContentLength + base::Int64ToString(content_length_)); base 616 google_apis/drive/base_requests.cc scoped_ptr<base::Value>()); base 624 google_apis/drive/base_requests.cc base::Bind(&UploadRangeRequestBase::OnDataParsed, base 630 google_apis/drive/base_requests.cc UploadRangeResponse(code, -1, -1), scoped_ptr<base::Value>()); base 636 google_apis/drive/base_requests.cc scoped_ptr<base::Value> value) { base 647 google_apis/drive/base_requests.cc UploadRangeResponse(code, 0, 0), scoped_ptr<base::Value>()); base 659 google_apis/drive/base_requests.cc const base::FilePath& local_file_path) base 692 google_apis/drive/base_requests.cc base::Int64ToString(start_position_) + "-" + base 693 google_apis/drive/base_requests.cc base::Int64ToString(end_position_ - 1) + "/" + base 694 google_apis/drive/base_requests.cc base::Int64ToString(content_length_)); base 699 google_apis/drive/base_requests.cc base::FilePath* local_file_path, base 736 google_apis/drive/base_requests.cc base::Int64ToString(content_length_)); base 748 google_apis/drive/base_requests.cc const base::FilePath& output_file_path) base 768 google_apis/drive/base_requests.cc base::FilePath* local_file_path, base 787 google_apis/drive/base_requests.cc base::FilePath temp_file; base 799 google_apis/drive/base_requests.cc download_action_callback_.Run(code, base::FilePath()); base 24 google_apis/drive/base_requests.h namespace base { base 34 google_apis/drive/base_requests.h typedef base::Callback<void(scoped_ptr<base::Value> value)> ParseJsonCallback; base 37 google_apis/drive/base_requests.h typedef base::Callback<void(int64 progress, int64 total)> ProgressCallback; base 40 google_apis/drive/base_requests.h typedef base::Callback<void( base 47 google_apis/drive/base_requests.h void ParseJson(base::TaskRunner* blocking_task_runner, base 58 google_apis/drive/base_requests.h typedef base::Callback<void(AuthenticatedRequestInterface* request)> base 83 google_apis/drive/base_requests.h virtual base::WeakPtr<AuthenticatedRequestInterface> GetWeakPtr() = 0; base 97 google_apis/drive/base_requests.h ResponseWriter(base::SequencedTaskRunner* file_task_runner, base 98 google_apis/drive/base_requests.h const base::FilePath& file_path, base 122 google_apis/drive/base_requests.h base::WeakPtrFactory<ResponseWriter> weak_ptr_factory_; base 137 google_apis/drive/base_requests.h virtual base::WeakPtr<AuthenticatedRequestInterface> GetWeakPtr() OVERRIDE; base 167 google_apis/drive/base_requests.h virtual bool GetContentFile(base::FilePath* local_file_path, base 176 google_apis/drive/base_requests.h virtual void GetOutputFilePath(base::FilePath* local_file_path, base 201 google_apis/drive/base_requests.h base::SequencedTaskRunner* blocking_task_runner() const; base 217 google_apis/drive/base_requests.h base::ThreadChecker thread_checker_; base 221 google_apis/drive/base_requests.h base::WeakPtrFactory<UrlFetchRequestBase> weak_ptr_factory_; base 229 google_apis/drive/base_requests.h typedef base::Callback<void(GDataErrorCode error)> EntryActionCallback; base 255 google_apis/drive/base_requests.h typedef base::Callback<void(GDataErrorCode error, base 256 google_apis/drive/base_requests.h scoped_ptr<base::Value> json_data)> GetDataCallback; base 279 google_apis/drive/base_requests.h scoped_ptr<base::Value> value); base 285 google_apis/drive/base_requests.h base::WeakPtrFactory<GetDataRequest> weak_ptr_factory_; base 294 google_apis/drive/base_requests.h typedef base::Callback<void(GDataErrorCode error, base 386 google_apis/drive/base_requests.h const UploadRangeResponse& response, scoped_ptr<base::Value> value) = 0; base 390 google_apis/drive/base_requests.h void OnDataParsed(GDataErrorCode code, scoped_ptr<base::Value> value); base 396 google_apis/drive/base_requests.h base::WeakPtrFactory<UploadRangeRequestBase> weak_ptr_factory_; base 427 google_apis/drive/base_requests.h const base::FilePath& local_file_path); base 432 google_apis/drive/base_requests.h virtual bool GetContentFile(base::FilePath* local_file_path, base 443 google_apis/drive/base_requests.h const base::FilePath local_file_path_; base 481 google_apis/drive/base_requests.h typedef base::Callback<void(GDataErrorCode error, base 482 google_apis/drive/base_requests.h const base::FilePath& temp_file)> base 511 google_apis/drive/base_requests.h const base::FilePath& output_file_path); base 518 google_apis/drive/base_requests.h base::FilePath* local_file_path, base 532 google_apis/drive/base_requests.h const base::FilePath output_file_path_; base 50 google_apis/drive/base_requests_server_unittest.cc base::Bind(&test_util::HandleDownloadFileRequest, base 52 google_apis/drive/base_requests_server_unittest.cc base::Unretained(&http_request_))); base 56 google_apis/drive/base_requests_server_unittest.cc base::FilePath GetTestCachedFilePath(const base::FilePath& file_name) { base 60 google_apis/drive/base_requests_server_unittest.cc base::MessageLoopForIO message_loop_; // Test server needs IO thread. base 64 google_apis/drive/base_requests_server_unittest.cc base::ScopedTempDir temp_dir_; base 74 google_apis/drive/base_requests_server_unittest.cc base::FilePath temp_file; base 76 google_apis/drive/base_requests_server_unittest.cc base::RunLoop run_loop; base 86 google_apis/drive/base_requests_server_unittest.cc base::FilePath::FromUTF8Unsafe("cached_testfile.txt"))); base 92 google_apis/drive/base_requests_server_unittest.cc base::ReadFileToString(temp_file, &contents); base 93 google_apis/drive/base_requests_server_unittest.cc base::DeleteFile(temp_file, false); base 99 google_apis/drive/base_requests_server_unittest.cc const base::FilePath expected_path = base 102 google_apis/drive/base_requests_server_unittest.cc base::ReadFileToString(expected_path, &expected_contents); base 108 google_apis/drive/base_requests_server_unittest.cc base::FilePath temp_file; base 110 google_apis/drive/base_requests_server_unittest.cc base::RunLoop run_loop; base 120 google_apis/drive/base_requests_server_unittest.cc base::FilePath::FromUTF8Unsafe("cache_no-such-file.txt"))); base 89 google_apis/drive/base_requests_unittest.cc base::Bind(&BaseRequestsTest::HandleRequest, base::Unretained(this))); base 102 google_apis/drive/base_requests_unittest.cc base::MessageLoopForIO message_loop_; base 112 google_apis/drive/base_requests_unittest.cc scoped_ptr<base::Value> json; base 115 google_apis/drive/base_requests_unittest.cc base::Bind(test_util::CreateCopyResultCallback(&json))); base 116 google_apis/drive/base_requests_unittest.cc base::RunLoop().RunUntilIdle(); base 118 google_apis/drive/base_requests_unittest.cc base::DictionaryValue* root_dict = NULL; base 129 google_apis/drive/base_requests_unittest.cc scoped_ptr<base::Value> json(base::Value::CreateNullValue()); base 132 google_apis/drive/base_requests_unittest.cc base::Bind(test_util::CreateCopyResultCallback(&json))); base 133 google_apis/drive/base_requests_unittest.cc base::RunLoop().RunUntilIdle(); base 155 google_apis/drive/base_requests_unittest.cc base::RunLoop run_loop; base 172 google_apis/drive/base_requests_unittest.cc scoped_ptr<base::Value> value; base 173 google_apis/drive/base_requests_unittest.cc base::RunLoop run_loop; base 190 google_apis/drive/base_requests_unittest.cc scoped_ptr<base::Value> value; base 191 google_apis/drive/base_requests_unittest.cc base::RunLoop run_loop; base 19 google_apis/drive/drive_api_parser.cc using base::Value; base 20 google_apis/drive/drive_api_parser.cc using base::DictionaryValue; base 21 google_apis/drive/drive_api_parser.cc using base::ListValue; base 27 google_apis/drive/drive_api_parser.cc bool CreateFileResourceFromValue(const base::Value* value, base 36 google_apis/drive/drive_api_parser.cc bool GetGURLFromString(const base::StringPiece& url_string, GURL* result) { base 42 google_apis/drive/drive_api_parser.cc bool GetParentsFromValue(const base::Value* value, base 47 google_apis/drive/drive_api_parser.cc const base::ListValue* list_value = NULL; base 51 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<ParentReference> converter; base 54 google_apis/drive/drive_api_parser.cc const base::Value* parent_value = NULL; base 66 google_apis/drive/drive_api_parser.cc const base::Value* value, base 71 google_apis/drive/drive_api_parser.cc const base::DictionaryValue* dictionary_value; base 208 google_apis/drive/drive_api_parser.cc bool IsResourceKindExpected(const base::Value& value, base 210 google_apis/drive/drive_api_parser.cc const base::DictionaryValue* as_dict = NULL; base 231 google_apis/drive/drive_api_parser.cc scoped_ptr<AboutResource> AboutResource::CreateFrom(const base::Value& value) { base 242 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<AboutResource>* converter) { base 245 google_apis/drive/drive_api_parser.cc &base::StringToInt64); base 248 google_apis/drive/drive_api_parser.cc &base::StringToInt64); base 251 google_apis/drive/drive_api_parser.cc &base::StringToInt64); base 256 google_apis/drive/drive_api_parser.cc bool AboutResource::Parse(const base::Value& value) { base 257 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<AboutResource> converter; base 274 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<DriveAppIcon>* converter) { base 286 google_apis/drive/drive_api_parser.cc scoped_ptr<DriveAppIcon> DriveAppIcon::CreateFrom(const base::Value& value) { base 295 google_apis/drive/drive_api_parser.cc bool DriveAppIcon::Parse(const base::Value& value) { base 296 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<DriveAppIcon> converter; base 305 google_apis/drive/drive_api_parser.cc bool DriveAppIcon::GetIconCategory(const base::StringPiece& category, base 332 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<AppResource>* converter) { base 357 google_apis/drive/drive_api_parser.cc scoped_ptr<AppResource> AppResource::CreateFrom(const base::Value& value) { base 366 google_apis/drive/drive_api_parser.cc bool AppResource::Parse(const base::Value& value) { base 367 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<AppResource> converter; base 384 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<AppList>* converter) { base 391 google_apis/drive/drive_api_parser.cc scoped_ptr<AppList> AppList::CreateFrom(const base::Value& value) { base 400 google_apis/drive/drive_api_parser.cc bool AppList::Parse(const base::Value& value) { base 401 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<AppList> converter; base 418 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<ParentReference>* converter) { base 428 google_apis/drive/drive_api_parser.cc ParentReference::CreateFrom(const base::Value& value) { base 438 google_apis/drive/drive_api_parser.cc bool ParentReference::Parse(const base::Value& value) { base 439 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<ParentReference> converter; base 456 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<FileResource>* converter) { base 464 google_apis/drive/drive_api_parser.cc converter->RegisterCustomField<base::Time>( base 468 google_apis/drive/drive_api_parser.cc converter->RegisterCustomField<base::Time>( base 472 google_apis/drive/drive_api_parser.cc converter->RegisterCustomField<base::Time>( base 476 google_apis/drive/drive_api_parser.cc converter->RegisterCustomField<base::Time>( base 480 google_apis/drive/drive_api_parser.cc converter->RegisterCustomField<base::Time>( base 490 google_apis/drive/drive_api_parser.cc &base::StringToInt64); base 505 google_apis/drive/drive_api_parser.cc scoped_ptr<FileResource> FileResource::CreateFrom(const base::Value& value) { base 518 google_apis/drive/drive_api_parser.cc bool FileResource::Parse(const base::Value& value) { base 519 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<FileResource> converter; base 536 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<FileList>* converter) { base 547 google_apis/drive/drive_api_parser.cc bool FileList::HasFileListKind(const base::Value& value) { base 552 google_apis/drive/drive_api_parser.cc scoped_ptr<FileList> FileList::CreateFrom(const base::Value& value) { base 561 google_apis/drive/drive_api_parser.cc bool FileList::Parse(const base::Value& value) { base 562 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<FileList> converter; base 579 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<ChangeResource>* converter) { base 582 google_apis/drive/drive_api_parser.cc &base::StringToInt64); base 587 google_apis/drive/drive_api_parser.cc converter->RegisterCustomField<base::Time>( base 594 google_apis/drive/drive_api_parser.cc ChangeResource::CreateFrom(const base::Value& value) { base 603 google_apis/drive/drive_api_parser.cc bool ChangeResource::Parse(const base::Value& value) { base 604 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<ChangeResource> converter; base 621 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<ChangeList>* converter) { base 629 google_apis/drive/drive_api_parser.cc &base::StringToInt64); base 635 google_apis/drive/drive_api_parser.cc bool ChangeList::HasChangeListKind(const base::Value& value) { base 640 google_apis/drive/drive_api_parser.cc scoped_ptr<ChangeList> ChangeList::CreateFrom(const base::Value& value) { base 649 google_apis/drive/drive_api_parser.cc bool ChangeList::Parse(const base::Value& value) { base 650 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<ChangeList> converter; base 673 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<FileLabels>* converter) { base 682 google_apis/drive/drive_api_parser.cc scoped_ptr<FileLabels> FileLabels::CreateFrom(const base::Value& value) { base 691 google_apis/drive/drive_api_parser.cc bool FileLabels::Parse(const base::Value& value) { base 692 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<FileLabels> converter; base 712 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<ImageMediaMetadata>* converter) { base 723 google_apis/drive/drive_api_parser.cc const base::Value& value) { base 732 google_apis/drive/drive_api_parser.cc bool ImageMediaMetadata::Parse(const base::Value& value) { base 733 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<ImageMediaMetadata> converter; base 18 google_apis/drive/drive_api_parser.h namespace base { base 41 google_apis/drive/drive_api_parser.h base::JSONValueConverter<AboutResource>* converter); base 44 google_apis/drive/drive_api_parser.h static scoped_ptr<AboutResource> CreateFrom(const base::Value& value); base 74 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 101 google_apis/drive/drive_api_parser.h base::JSONValueConverter<DriveAppIcon>* converter); base 104 google_apis/drive/drive_api_parser.h static scoped_ptr<DriveAppIcon> CreateFrom(const base::Value& value); base 128 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 132 google_apis/drive/drive_api_parser.h static bool GetIconCategory(const base::StringPiece& category, base 135 google_apis/drive/drive_api_parser.h friend class base::internal::RepeatedMessageConverter<DriveAppIcon>; base 155 google_apis/drive/drive_api_parser.h base::JSONValueConverter<AppResource>* converter); base 158 google_apis/drive/drive_api_parser.h static scoped_ptr<AppResource> CreateFrom(const base::Value& value); base 269 google_apis/drive/drive_api_parser.h friend class base::internal::RepeatedMessageConverter<AppResource>; base 274 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 305 google_apis/drive/drive_api_parser.h base::JSONValueConverter<AppList>* converter); base 308 google_apis/drive/drive_api_parser.h static scoped_ptr<AppList> CreateFrom(const base::Value& value); base 329 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 347 google_apis/drive/drive_api_parser.h base::JSONValueConverter<ParentReference>* converter); base 350 google_apis/drive/drive_api_parser.h static scoped_ptr<ParentReference> CreateFrom(const base::Value& value); base 370 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 387 google_apis/drive/drive_api_parser.h base::JSONValueConverter<FileLabels>* converter); base 390 google_apis/drive/drive_api_parser.h static scoped_ptr<FileLabels> CreateFrom(const base::Value& value); base 414 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 433 google_apis/drive/drive_api_parser.h base::JSONValueConverter<ImageMediaMetadata>* converter); base 436 google_apis/drive/drive_api_parser.h static scoped_ptr<ImageMediaMetadata> CreateFrom(const base::Value& value); base 454 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 478 google_apis/drive/drive_api_parser.h base::JSONValueConverter<FileResource>* converter); base 481 google_apis/drive/drive_api_parser.h static scoped_ptr<FileResource> CreateFrom(const base::Value& value); base 509 google_apis/drive/drive_api_parser.h const base::Time& created_date() const { return created_date_; } base 512 google_apis/drive/drive_api_parser.h const base::Time& modified_date() const { return modified_date_; } base 515 google_apis/drive/drive_api_parser.h const base::Time& modified_by_me_date() const { return modified_by_me_date_; } base 518 google_apis/drive/drive_api_parser.h const base::Time& last_viewed_by_me_date() const { base 523 google_apis/drive/drive_api_parser.h const base::Time& shared_with_me_date() const { base 569 google_apis/drive/drive_api_parser.h void set_created_date(const base::Time& created_date) { base 572 google_apis/drive/drive_api_parser.h void set_modified_date(const base::Time& modified_date) { base 575 google_apis/drive/drive_api_parser.h void set_modified_by_me_date(const base::Time& modified_by_me_date) { base 578 google_apis/drive/drive_api_parser.h void set_last_viewed_by_me_date(const base::Time& last_viewed_by_me_date) { base 581 google_apis/drive/drive_api_parser.h void set_shared_with_me_date(const base::Time& shared_with_me_date) { base 605 google_apis/drive/drive_api_parser.h friend class base::internal::RepeatedMessageConverter<FileResource>; base 611 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 619 google_apis/drive/drive_api_parser.h base::Time created_date_; base 620 google_apis/drive/drive_api_parser.h base::Time modified_date_; base 621 google_apis/drive/drive_api_parser.h base::Time modified_by_me_date_; base 622 google_apis/drive/drive_api_parser.h base::Time last_viewed_by_me_date_; base 623 google_apis/drive/drive_api_parser.h base::Time shared_with_me_date_; base 643 google_apis/drive/drive_api_parser.h base::JSONValueConverter<FileList>* converter); base 646 google_apis/drive/drive_api_parser.h static bool HasFileListKind(const base::Value& value); base 649 google_apis/drive/drive_api_parser.h static scoped_ptr<FileList> CreateFrom(const base::Value& value); base 684 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 704 google_apis/drive/drive_api_parser.h base::JSONValueConverter<ChangeResource>* converter); base 707 google_apis/drive/drive_api_parser.h static scoped_ptr<ChangeResource> CreateFrom(const base::Value& value); base 724 google_apis/drive/drive_api_parser.h const base::Time& modification_date() const { return modification_date_; } base 738 google_apis/drive/drive_api_parser.h void set_modification_date(const base::Time& modification_date) { base 743 google_apis/drive/drive_api_parser.h friend class base::internal::RepeatedMessageConverter<ChangeResource>; base 748 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 754 google_apis/drive/drive_api_parser.h base::Time modification_date_; base 769 google_apis/drive/drive_api_parser.h base::JSONValueConverter<ChangeList>* converter); base 772 google_apis/drive/drive_api_parser.h static bool HasChangeListKind(const base::Value& value); base 775 google_apis/drive/drive_api_parser.h static scoped_ptr<ChangeList> CreateFrom(const base::Value& value); base 816 google_apis/drive/drive_api_parser.h bool Parse(const base::Value& value); base 19 google_apis/drive/drive_api_parser_unittest.cc scoped_ptr<base::Value> document = test_util::LoadJSONFile( base 23 google_apis/drive/drive_api_parser_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType()); base 36 google_apis/drive/drive_api_parser_unittest.cc scoped_ptr<base::Value> document = test_util::LoadJSONFile( base 40 google_apis/drive/drive_api_parser_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType()); base 120 google_apis/drive/drive_api_parser_unittest.cc scoped_ptr<base::Value> document = test_util::LoadJSONFile( base 124 google_apis/drive/drive_api_parser_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType()); base 160 google_apis/drive/drive_api_parser_unittest.cc base::Time created_time; base 165 google_apis/drive/drive_api_parser_unittest.cc base::Time modified_time; base 206 google_apis/drive/drive_api_parser_unittest.cc base::Time shared_with_me_time; base 234 google_apis/drive/drive_api_parser_unittest.cc scoped_ptr<base::Value> document = base 238 google_apis/drive/drive_api_parser_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType()); base 280 google_apis/drive/drive_api_parser_unittest.cc base::Time modification_time; base 287 google_apis/drive/drive_api_parser_unittest.cc scoped_ptr<base::Value> change_list_json( base 289 google_apis/drive/drive_api_parser_unittest.cc scoped_ptr<base::Value> file_list_json( base 30 google_apis/drive/drive_api_requests.cc const base::Callback<void(GDataErrorCode, scoped_ptr<T>)>& callback, base 32 google_apis/drive/drive_api_requests.cc scoped_ptr<base::Value> value) { base 50 google_apis/drive/drive_api_requests.cc scoped_ptr<T> ParseJsonOnBlockingPool(scoped_ptr<base::Value> value) { base 58 google_apis/drive/drive_api_requests.cc const base::Callback<void(GDataErrorCode, scoped_ptr<T>)>& callback, base 71 google_apis/drive/drive_api_requests.cc scoped_refptr<base::TaskRunner> blocking_task_runner, base 72 google_apis/drive/drive_api_requests.cc const base::Callback<void(GDataErrorCode, scoped_ptr<T>)>& callback, base 74 google_apis/drive/drive_api_requests.cc scoped_ptr<base::Value> value) { base 82 google_apis/drive/drive_api_requests.cc base::PostTaskAndReplyWithResult( base 85 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonOnBlockingPool<T>, base::Passed(&value)), base 86 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonOnBlockingPoolAndRunAfterBlockingPoolTask<T>, base 97 google_apis/drive/drive_api_requests.cc scoped_ptr<base::Value> value) { base 117 google_apis/drive/drive_api_requests.cc scoped_ptr<base::DictionaryValue> CreateParentValue( base 119 google_apis/drive/drive_api_requests.cc scoped_ptr<base::DictionaryValue> parent(new base::DictionaryValue); base 154 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonAndRun<FileResource>, callback)), base 173 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonAndRun<FileResource>, callback)), base 196 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonAndRun<FileResource>, callback)), base 211 google_apis/drive/drive_api_requests.cc base::DictionaryValue root; base 225 google_apis/drive/drive_api_requests.cc base::ListValue* parents_value = new base::ListValue; base 227 google_apis/drive/drive_api_requests.cc base::DictionaryValue* parent = new base::DictionaryValue; base 237 google_apis/drive/drive_api_requests.cc base::JSONWriter::Write(&root, upload_content); base 255 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonAndRun<FileResource>, callback)), base 289 google_apis/drive/drive_api_requests.cc base::DictionaryValue root; base 302 google_apis/drive/drive_api_requests.cc base::ListValue* parents_value = new base::ListValue; base 304 google_apis/drive/drive_api_requests.cc base::DictionaryValue* parent = new base::DictionaryValue; base 311 google_apis/drive/drive_api_requests.cc base::JSONWriter::Write(&root, upload_content); base 325 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonAndRun<FileResource>, callback)), base 348 google_apis/drive/drive_api_requests.cc base::DictionaryValue root; base 354 google_apis/drive/drive_api_requests.cc base::ListValue* parents_value = new base::ListValue; base 356 google_apis/drive/drive_api_requests.cc base::DictionaryValue* parent = new base::DictionaryValue; base 366 google_apis/drive/drive_api_requests.cc base::JSONWriter::Write(&root, upload_content); base 380 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonOnBlockingPoolAndRun<FileList>, base 401 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonOnBlockingPoolAndRun<FileList>, base 450 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonAndRun<FileResource>, callback)), base 473 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonAndRun<AboutResource>, callback)), base 492 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonOnBlockingPoolAndRun<ChangeList>, base 516 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonOnBlockingPoolAndRun<ChangeList>, base 538 google_apis/drive/drive_api_requests.cc base::Bind(&ParseJsonAndRun<AppList>, callback)), base 595 google_apis/drive/drive_api_requests.cc base::DictionaryValue root; base 598 google_apis/drive/drive_api_requests.cc base::JSONWriter::Write(&root, upload_content); base 660 google_apis/drive/drive_api_requests.cc base::DictionaryValue root; base 664 google_apis/drive/drive_api_requests.cc scoped_ptr<base::ListValue> parents(new base::ListValue); base 676 google_apis/drive/drive_api_requests.cc base::JSONWriter::Write(&root, upload_content); base 725 google_apis/drive/drive_api_requests.cc base::DictionaryValue root; base 727 google_apis/drive/drive_api_requests.cc scoped_ptr<base::ListValue> parents(new base::ListValue); base 747 google_apis/drive/drive_api_requests.cc base::JSONWriter::Write(&root, upload_content); base 762 google_apis/drive/drive_api_requests.cc const base::FilePath& local_file_path, base 781 google_apis/drive/drive_api_requests.cc scoped_ptr<base::Value> value) { base 810 google_apis/drive/drive_api_requests.cc scoped_ptr<base::Value> value) { base 821 google_apis/drive/drive_api_requests.cc const base::FilePath& output_file_path, base 865 google_apis/drive/drive_api_requests.cc base::DictionaryValue root; base 893 google_apis/drive/drive_api_requests.cc base::ListValue* list = new base::ListValue; base 900 google_apis/drive/drive_api_requests.cc base::JSONWriter::Write(&root, upload_content); base 24 google_apis/drive/drive_api_requests.h typedef base::Callback<void(GDataErrorCode error, base 30 google_apis/drive/drive_api_requests.h typedef base::Callback<void(GDataErrorCode error, base 35 google_apis/drive/drive_api_requests.h typedef base::Callback<void(GDataErrorCode error, base 143 google_apis/drive/drive_api_requests.h const base::Time& last_viewed_by_me_date() const { base 146 google_apis/drive/drive_api_requests.h void set_last_viewed_by_me_date(const base::Time& last_viewed_by_me_date) { base 155 google_apis/drive/drive_api_requests.h const base::Time& modified_date() const { return modified_date_; } base 156 google_apis/drive/drive_api_requests.h void set_modified_date(const base::Time& modified_date) { base 178 google_apis/drive/drive_api_requests.h base::Time last_viewed_by_me_date_; base 180 google_apis/drive/drive_api_requests.h base::Time modified_date_; base 221 google_apis/drive/drive_api_requests.h const base::Time& modified_date() const { return modified_date_; } base 222 google_apis/drive/drive_api_requests.h void set_modified_date(const base::Time& modified_date) { base 226 google_apis/drive/drive_api_requests.h const base::Time& last_viewed_by_me_date() const { base 229 google_apis/drive/drive_api_requests.h void set_last_viewed_by_me_date(const base::Time& last_viewed_by_me_date) { base 254 google_apis/drive/drive_api_requests.h base::Time modified_date_; base 255 google_apis/drive/drive_api_requests.h base::Time last_viewed_by_me_date_; base 282 google_apis/drive/drive_api_requests.h const base::Time& modified_date() const { return modified_date_; } base 283 google_apis/drive/drive_api_requests.h void set_modified_date(const base::Time& modified_date) { base 303 google_apis/drive/drive_api_requests.h base::Time modified_date_; base 676 google_apis/drive/drive_api_requests.h const base::Time& modified_date() const { return modified_date_; } base 677 google_apis/drive/drive_api_requests.h void set_modified_date(const base::Time& modified_date) { base 680 google_apis/drive/drive_api_requests.h const base::Time& last_viewed_by_me_date() const { base 683 google_apis/drive/drive_api_requests.h void set_last_viewed_by_me_date(const base::Time& last_viewed_by_me_date) { base 699 google_apis/drive/drive_api_requests.h base::Time modified_date_; base 700 google_apis/drive/drive_api_requests.h base::Time last_viewed_by_me_date_; base 733 google_apis/drive/drive_api_requests.h const base::Time& modified_date() const { return modified_date_; } base 734 google_apis/drive/drive_api_requests.h void set_modified_date(const base::Time& modified_date) { base 737 google_apis/drive/drive_api_requests.h const base::Time& last_viewed_by_me_date() const { base 740 google_apis/drive/drive_api_requests.h void set_last_viewed_by_me_date(const base::Time& last_viewed_by_me_date) { base 759 google_apis/drive/drive_api_requests.h base::Time modified_date_; base 760 google_apis/drive/drive_api_requests.h base::Time last_viewed_by_me_date_; base 766 google_apis/drive/drive_api_requests.h typedef base::Callback<void( base 783 google_apis/drive/drive_api_requests.h const base::FilePath& local_file_path, base 792 google_apis/drive/drive_api_requests.h scoped_ptr<base::Value> value) OVERRIDE; base 821 google_apis/drive/drive_api_requests.h scoped_ptr<base::Value> value) OVERRIDE; base 838 google_apis/drive/drive_api_requests.h const base::FilePath& output_file_path, base 80 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&DriveApiRequestsTest::HandleChildrenDeleteRequest, base 81 google_apis/drive/drive_api_requests_unittest.cc base::Unretained(this))); base 83 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&DriveApiRequestsTest::HandleDataFileRequest, base 84 google_apis/drive/drive_api_requests_unittest.cc base::Unretained(this))); base 86 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&DriveApiRequestsTest::HandleDeleteRequest, base 87 google_apis/drive/drive_api_requests_unittest.cc base::Unretained(this))); base 89 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&DriveApiRequestsTest::HandlePreconditionFailedRequest, base 90 google_apis/drive/drive_api_requests_unittest.cc base::Unretained(this))); base 92 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&DriveApiRequestsTest::HandleResumeUploadRequest, base 93 google_apis/drive/drive_api_requests_unittest.cc base::Unretained(this))); base 95 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&DriveApiRequestsTest::HandleInitiateUploadRequest, base 96 google_apis/drive/drive_api_requests_unittest.cc base::Unretained(this))); base 98 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&DriveApiRequestsTest::HandleContentResponse, base 99 google_apis/drive/drive_api_requests_unittest.cc base::Unretained(this))); base 101 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&DriveApiRequestsTest::HandleDownloadRequest, base 102 google_apis/drive/drive_api_requests_unittest.cc base::Unretained(this))); base 114 google_apis/drive/drive_api_requests_unittest.cc base::MessageLoopForIO message_loop_; // Test server needs IO thread. base 119 google_apis/drive/drive_api_requests_unittest.cc base::ScopedTempDir temp_dir_; base 123 google_apis/drive/drive_api_requests_unittest.cc base::FilePath expected_data_file_path_; base 131 google_apis/drive/drive_api_requests_unittest.cc base::FilePath expected_precondition_failed_file_path_; base 228 google_apis/drive/drive_api_requests_unittest.cc if (base::ReadFileToString(expected_precondition_failed_file_path_, base 261 google_apis/drive/drive_api_requests_unittest.cc !base::StringToInt64(found->second, &content_length_)) { base 318 google_apis/drive/drive_api_requests_unittest.cc "Range", "bytes=0-" + base::Int64ToString(received_bytes_ - 1)); base 398 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 429 google_apis/drive/drive_api_requests_unittest.cc const base::Time::Exploded kModifiedDate = {2012, 7, 0, 19, 15, 59, 13, 123}; base 430 google_apis/drive/drive_api_requests_unittest.cc const base::Time::Exploded kLastViewedByMeDate = base 442 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 450 google_apis/drive/drive_api_requests_unittest.cc base::Time::FromUTCExploded(kLastViewedByMeDate)); base 452 google_apis/drive/drive_api_requests_unittest.cc request->set_modified_date(base::Time::FromUTCExploded(kModifiedDate)); base 486 google_apis/drive/drive_api_requests_unittest.cc const base::Time::Exploded kModifiedDate = {2012, 7, 0, 19, 15, 59, 13, 123}; base 487 google_apis/drive/drive_api_requests_unittest.cc const base::Time::Exploded kLastViewedByMeDate = base 498 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 510 google_apis/drive/drive_api_requests_unittest.cc request->set_modified_date(base::Time::FromUTCExploded(kModifiedDate)); base 512 google_apis/drive/drive_api_requests_unittest.cc base::Time::FromUTCExploded(kLastViewedByMeDate)); base 544 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 578 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 605 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 632 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 661 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 680 google_apis/drive/drive_api_requests_unittest.cc const base::Time::Exploded kModifiedDate = {2012, 7, 0, 19, 15, 59, 13, 123}; base 692 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 700 google_apis/drive/drive_api_requests_unittest.cc request->set_modified_date(base::Time::FromUTCExploded(kModifiedDate)); base 731 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 763 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 791 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 814 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 844 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 873 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 902 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 928 google_apis/drive/drive_api_requests_unittest.cc const base::FilePath kTestFilePath = base 938 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 957 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(base::Int64ToString(kTestContent.size()), base 977 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1001 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(kTestContent.size() - 1) + "/" + base 1002 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(kTestContent.size()), base 1021 google_apis/drive/drive_api_requests_unittest.cc const base::FilePath kTestFilePath = base 1030 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1068 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1110 google_apis/drive/drive_api_requests_unittest.cc const base::FilePath kTestFilePath = base 1119 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1138 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(base::Int64ToString(kTestContent.size()), base 1161 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1179 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ("bytes */" + base::Int64ToString(kTestContent.size()), base 1202 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1226 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(start_position) + "-" + base 1227 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(end_position - 1) + "/" + base 1228 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(kTestContent.size()), base 1251 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1269 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ("bytes */" + base::Int64ToString(kTestContent.size()), base 1283 google_apis/drive/drive_api_requests_unittest.cc const base::Time::Exploded kModifiedDate = {2012, 7, 0, 19, 15, 59, 13, 123}; base 1284 google_apis/drive/drive_api_requests_unittest.cc const base::Time::Exploded kLastViewedByMeDate = base 1298 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1310 google_apis/drive/drive_api_requests_unittest.cc request->set_modified_date(base::Time::FromUTCExploded(kModifiedDate)); base 1312 google_apis/drive/drive_api_requests_unittest.cc base::Time::FromUTCExploded(kLastViewedByMeDate)); base 1320 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(base::Int64ToString(kTestContent.size()), base 1342 google_apis/drive/drive_api_requests_unittest.cc const base::FilePath kTestFilePath = base 1351 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1370 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(base::Int64ToString(kTestContent.size()), base 1385 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1409 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(kTestContent.size() - 1) + "/" + base 1410 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(kTestContent.size()), base 1429 google_apis/drive/drive_api_requests_unittest.cc const base::FilePath kTestFilePath = base 1438 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1457 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(base::Int64ToString(kTestContent.size()), base 1472 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1496 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(kTestContent.size() - 1) + "/" + base 1497 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(kTestContent.size()), base 1527 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1545 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(base::Int64ToString(kTestContent.size()), base 1563 google_apis/drive/drive_api_requests_unittest.cc const base::FilePath kTestFilePath = base 1572 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1591 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(base::Int64ToString(kTestContent.size()), base 1611 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1635 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(kTestContent.size() - 1) + "/" + base 1636 google_apis/drive/drive_api_requests_unittest.cc base::Int64ToString(kTestContent.size()), base 1653 google_apis/drive/drive_api_requests_unittest.cc const base::Time::Exploded kModifiedDate = {2012, 7, 0, 19, 15, 59, 13, 123}; base 1654 google_apis/drive/drive_api_requests_unittest.cc const base::Time::Exploded kLastViewedByMeDate = base 1668 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1682 google_apis/drive/drive_api_requests_unittest.cc request->set_modified_date(base::Time::FromUTCExploded(kModifiedDate)); base 1684 google_apis/drive/drive_api_requests_unittest.cc base::Time::FromUTCExploded(kLastViewedByMeDate)); base 1693 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(base::Int64ToString(kTestContent.size()), base 1712 google_apis/drive/drive_api_requests_unittest.cc const base::FilePath kDownloadedFilePath = base 1717 google_apis/drive/drive_api_requests_unittest.cc base::FilePath temp_file; base 1719 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1735 google_apis/drive/drive_api_requests_unittest.cc base::ReadFileToString(temp_file, &contents); base 1736 google_apis/drive/drive_api_requests_unittest.cc base::DeleteFile(temp_file, false); base 1748 google_apis/drive/drive_api_requests_unittest.cc const base::FilePath kDownloadedFilePath = base 1753 google_apis/drive/drive_api_requests_unittest.cc base::FilePath temp_file; base 1756 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1765 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&AppendContent, &contents), base 1771 google_apis/drive/drive_api_requests_unittest.cc base::DeleteFile(temp_file, false); base 1790 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1812 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<base::Value> expected(base::JSONReader::Read( base 1817 google_apis/drive/drive_api_requests_unittest.cc scoped_ptr<base::Value> result(base::JSONReader::Read(http_request_.content)); base 1819 google_apis/drive/drive_api_requests_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), result.get())); base 1824 google_apis/drive/drive_api_requests_unittest.cc base::RunLoop run_loop; base 1846 google_apis/drive/drive_api_requests_unittest.cc expected.reset(base::JSONReader::Read( base 1850 google_apis/drive/drive_api_requests_unittest.cc result.reset(base::JSONReader::Read(http_request_.content)); base 1852 google_apis/drive/drive_api_requests_unittest.cc EXPECT_TRUE(base::Value::Equals(expected.get(), result.get())); base 74 google_apis/drive/drive_api_url_generator.cc return base_url_.Resolve(base::StringPrintf( base 85 google_apis/drive/drive_api_url_generator.cc return base_url_.Resolve(base::StringPrintf(kDriveV2FilesAuthorizeUrlFormat, base 112 google_apis/drive/drive_api_url_generator.cc return base_url_.Resolve(base::StringPrintf( base 124 google_apis/drive/drive_api_url_generator.cc url, "maxResults", base::IntToString(max_results)); base 137 google_apis/drive/drive_api_url_generator.cc return base_url_.Resolve(base::StringPrintf( base 142 google_apis/drive/drive_api_url_generator.cc return base_url_.Resolve(base::StringPrintf( base 161 google_apis/drive/drive_api_url_generator.cc url, "maxResults", base::IntToString(max_results)); base 169 google_apis/drive/drive_api_url_generator.cc url, "startChangeId", base::Int64ToString(start_change_id)); base 176 google_apis/drive/drive_api_url_generator.cc return base_url_.Resolve(base::StringPrintf( base 183 google_apis/drive/drive_api_url_generator.cc base::StringPrintf(kDriveV2ChildrenUrlForRemovalFormat, base 223 google_apis/drive/drive_api_url_generator.cc base::StringPrintf(kDriveV2PermissionsUrlFormat, base 21 google_apis/drive/drive_common_callbacks.h typedef base::Callback<void(GDataErrorCode error, base 26 google_apis/drive/drive_common_callbacks.h typedef base::Callback<void(GDataErrorCode error, base 31 google_apis/drive/drive_common_callbacks.h typedef base::Callback<void(GDataErrorCode error, base 36 google_apis/drive/drive_common_callbacks.h typedef base::Callback<void(GDataErrorCode error, base 40 google_apis/drive/drive_common_callbacks.h typedef base::Callback<void(GDataErrorCode error, base 44 google_apis/drive/drive_common_callbacks.h typedef base::Callback<void( base 50 google_apis/drive/drive_common_callbacks.h typedef base::Callback<void(GDataErrorCode error, base 58 google_apis/drive/drive_common_callbacks.h typedef base::Closure CancelCallback; base 90 google_apis/drive/gdata_errorcode.cc return "UNKNOWN_ERROR_" + base::IntToString(error); base 21 google_apis/drive/gdata_wapi_parser.cc using base::Value; base 22 google_apis/drive/gdata_wapi_parser.cc using base::DictionaryValue; base 23 google_apis/drive/gdata_wapi_parser.cc using base::ListValue; base 203 google_apis/drive/gdata_wapi_parser.cc bool GetGURLFromString(const base::StringPiece& url_string, GURL* result) { base 209 google_apis/drive/gdata_wapi_parser.cc bool GetBoolFromString(const base::StringPiece& value, bool* result) { base 229 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<Author>* converter) { base 244 google_apis/drive/gdata_wapi_parser.cc bool Link::GetAppID(const base::StringPiece& rel, std::string* app_id) { base 263 google_apis/drive/gdata_wapi_parser.cc bool Link::GetLinkType(const base::StringPiece& rel, Link::LinkType* type) { base 289 google_apis/drive/gdata_wapi_parser.cc void Link::RegisterJSONConverter(base::JSONValueConverter<Link>* converter) { base 311 google_apis/drive/gdata_wapi_parser.cc const base::StringPiece& rel, ResourceLink::ResourceLinkType* result) { base 324 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<ResourceLink>* converter) { base 339 google_apis/drive/gdata_wapi_parser.cc const base::StringPiece& scheme, Category::CategoryType* result) { base 352 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<Category>* converter) { base 375 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<Content>* converter) { base 391 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<AppIcon>* converter) { base 398 google_apis/drive/gdata_wapi_parser.cc base::StringToInt); base 411 google_apis/drive/gdata_wapi_parser.cc bool AppIcon::GetIconCategory(const base::StringPiece& category, base 435 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<CommonMetadataDescendant>* converter) { base 443 google_apis/drive/gdata_wapi_parser.cc converter->template RegisterCustomField<base::Time>( base 464 google_apis/drive/gdata_wapi_parser.cc bool ResourceEntry::HasFieldPresent(const base::Value* value, base 470 google_apis/drive/gdata_wapi_parser.cc bool ResourceEntry::ParseChangestamp(const base::Value* value, base 480 google_apis/drive/gdata_wapi_parser.cc base::StringToInt64(string_value, result)) base 488 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<ResourceEntry>* converter) { base 495 google_apis/drive/gdata_wapi_parser.cc converter->RegisterCustomField<base::Time>( base 498 google_apis/drive/gdata_wapi_parser.cc converter->RegisterCustomField<base::Time>( base 511 google_apis/drive/gdata_wapi_parser.cc kSizeField, &ResourceEntry::file_size_, &base::StringToInt64); base 551 google_apis/drive/gdata_wapi_parser.cc const base::FilePath& file_path) { base 553 google_apis/drive/gdata_wapi_parser.cc std::string file_extension = base::WideToUTF8(file_path.Extension()); base 639 google_apis/drive/gdata_wapi_parser.cc const base::Value& value) { base 640 google_apis/drive/gdata_wapi_parser.cc const base::DictionaryValue* as_dict = NULL; base 641 google_apis/drive/gdata_wapi_parser.cc const base::DictionaryValue* entry_dict = NULL; base 650 google_apis/drive/gdata_wapi_parser.cc scoped_ptr<ResourceEntry> ResourceEntry::CreateFrom(const base::Value& value) { base 651 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<ResourceEntry> converter; base 681 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<ResourceList>* converter) { base 687 google_apis/drive/gdata_wapi_parser.cc kStartIndexField, &ResourceList::start_index_, &base::StringToInt); base 689 google_apis/drive/gdata_wapi_parser.cc kItemsPerPageField, &ResourceList::items_per_page_, &base::StringToInt); base 694 google_apis/drive/gdata_wapi_parser.cc &base::StringToInt64); base 697 google_apis/drive/gdata_wapi_parser.cc bool ResourceList::Parse(const base::Value& value) { base 698 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<ResourceList> converter; base 715 google_apis/drive/gdata_wapi_parser.cc const base::Value& value) { base 716 google_apis/drive/gdata_wapi_parser.cc const base::DictionaryValue* as_dict = NULL; base 717 google_apis/drive/gdata_wapi_parser.cc const base::DictionaryValue* feed_dict = NULL; base 726 google_apis/drive/gdata_wapi_parser.cc scoped_ptr<ResourceList> ResourceList::CreateFrom(const base::Value& value) { base 791 google_apis/drive/gdata_wapi_parser.cc bool InstalledApp::GetValueString(const base::Value* value, base 793 google_apis/drive/gdata_wapi_parser.cc const base::DictionaryValue* dict = NULL; base 805 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<InstalledApp>* converter) { base 847 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<AccountMetadata>* converter) { base 851 google_apis/drive/gdata_wapi_parser.cc &base::StringToInt64); base 855 google_apis/drive/gdata_wapi_parser.cc &base::StringToInt64); base 859 google_apis/drive/gdata_wapi_parser.cc &base::StringToInt64); base 866 google_apis/drive/gdata_wapi_parser.cc const base::Value& value) { base 868 google_apis/drive/gdata_wapi_parser.cc const base::DictionaryValue* dictionary = NULL; base 869 google_apis/drive/gdata_wapi_parser.cc const base::Value* entry = NULL; base 880 google_apis/drive/gdata_wapi_parser.cc bool AccountMetadata::Parse(const base::Value& value) { base 881 google_apis/drive/gdata_wapi_parser.cc base::JSONValueConverter<AccountMetadata> converter; base 20 google_apis/drive/gdata_wapi_parser.h namespace base { base 72 google_apis/drive/gdata_wapi_parser.h static void RegisterJSONConverter(base::JSONValueConverter<Link>* converter); base 101 google_apis/drive/gdata_wapi_parser.h static bool GetLinkType(const base::StringPiece& rel, LinkType* type); base 106 google_apis/drive/gdata_wapi_parser.h static bool GetAppID(const base::StringPiece& rel, std::string* app_id); base 131 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<ResourceLink>* converter); base 148 google_apis/drive/gdata_wapi_parser.h const base::StringPiece& rel, ResourceLinkType* result); base 164 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<Author>* converter); base 197 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<Category>* converter); base 219 google_apis/drive/gdata_wapi_parser.h const base::StringPiece& scheme, CategoryType* result); base 236 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<Content>* converter); base 274 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<AppIcon>* converter); base 298 google_apis/drive/gdata_wapi_parser.h static bool GetIconCategory(const base::StringPiece& category, base 320 google_apis/drive/gdata_wapi_parser.h base::Time updated_time() const { return updated_time_; } base 345 google_apis/drive/gdata_wapi_parser.h void set_updated_time(const base::Time& updated_time) { base 354 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<CommonMetadataDescendant>* converter); base 360 google_apis/drive/gdata_wapi_parser.h base::Time updated_time_; base 383 google_apis/drive/gdata_wapi_parser.h static scoped_ptr<ResourceEntry> ExtractAndParse(const base::Value& value); base 389 google_apis/drive/gdata_wapi_parser.h static scoped_ptr<ResourceEntry> CreateFrom(const base::Value& value); base 397 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<ResourceEntry>* converter); base 401 google_apis/drive/gdata_wapi_parser.h static bool HasFieldPresent(const base::Value* value, bool* result); base 406 google_apis/drive/gdata_wapi_parser.h static bool ParseChangestamp(const base::Value* value, int64* result); base 419 google_apis/drive/gdata_wapi_parser.h base::Time published_time() const { return published_time_; } base 420 google_apis/drive/gdata_wapi_parser.h base::Time last_viewed_time() const { return last_viewed_time_; } base 469 google_apis/drive/gdata_wapi_parser.h const base::Time& modification_date() const { return modification_date_; } base 527 google_apis/drive/gdata_wapi_parser.h static int ClassifyEntryKindByFileExtension(const base::FilePath& file); base 535 google_apis/drive/gdata_wapi_parser.h void set_published_time(const base::Time& published_time) { base 538 google_apis/drive/gdata_wapi_parser.h void set_last_viewed_time(const base::Time& last_viewed_time) { base 564 google_apis/drive/gdata_wapi_parser.h void set_modification_date(const base::Time& modification_date) { base 574 google_apis/drive/gdata_wapi_parser.h friend class base::internal::RepeatedMessageConverter<ResourceEntry>; base 587 google_apis/drive/gdata_wapi_parser.h base::Time published_time_; base 589 google_apis/drive/gdata_wapi_parser.h base::Time last_viewed_time_; base 605 google_apis/drive/gdata_wapi_parser.h base::Time modification_date_; base 628 google_apis/drive/gdata_wapi_parser.h static scoped_ptr<ResourceList> ExtractAndParse(const base::Value& value); base 635 google_apis/drive/gdata_wapi_parser.h static scoped_ptr<ResourceList> CreateFrom(const base::Value& value); base 640 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<ResourceList>* converter); base 686 google_apis/drive/gdata_wapi_parser.h bool Parse(const base::Value& value); base 763 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<InstalledApp>* converter); base 799 google_apis/drive/gdata_wapi_parser.h static bool GetValueString(const base::Value* value, base 826 google_apis/drive/gdata_wapi_parser.h static scoped_ptr<AccountMetadata> CreateFrom(const base::Value& value); base 860 google_apis/drive/gdata_wapi_parser.h base::JSONValueConverter<AccountMetadata>* converter); base 865 google_apis/drive/gdata_wapi_parser.h bool Parse(const base::Value& value); base 23 google_apis/drive/gdata_wapi_parser_unittest.cc scoped_ptr<base::Value> document = base 26 google_apis/drive/gdata_wapi_parser_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType()); base 30 google_apis/drive/gdata_wapi_parser_unittest.cc base::Time update_time; base 68 google_apis/drive/gdata_wapi_parser_unittest.cc base::Time entry1_update_time; base 69 google_apis/drive/gdata_wapi_parser_unittest.cc base::Time entry1_publish_time; base 152 google_apis/drive/gdata_wapi_parser_unittest.cc scoped_ptr<base::Value> document = base 155 google_apis/drive/gdata_wapi_parser_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType()); base 164 google_apis/drive/gdata_wapi_parser_unittest.cc base::Time entry1_update_time; base 165 google_apis/drive/gdata_wapi_parser_unittest.cc base::Time entry1_publish_time; base 239 google_apis/drive/gdata_wapi_parser_unittest.cc scoped_ptr<base::Value> document = base 242 google_apis/drive/gdata_wapi_parser_unittest.cc base::DictionaryValue* document_dict = NULL; base 243 google_apis/drive/gdata_wapi_parser_unittest.cc base::DictionaryValue* entry_value = NULL; base 310 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath(FILE_PATH_LITERAL("Test.gdoc")))); base 315 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath(FILE_PATH_LITERAL("Test.gsheet")))); base 320 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath(FILE_PATH_LITERAL("Test.gslides")))); base 325 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath(FILE_PATH_LITERAL("Test.gdraw")))); base 330 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath(FILE_PATH_LITERAL("Test.gtable")))); base 335 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath(FILE_PATH_LITERAL("Test.glink")))); base 339 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath(FILE_PATH_LITERAL("Test.tar.gz")))); base 343 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath(FILE_PATH_LITERAL("Test.txt")))); base 347 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath(FILE_PATH_LITERAL("Test")))); base 351 google_apis/drive/gdata_wapi_parser_unittest.cc base::FilePath())); base 42 google_apis/drive/gdata_wapi_requests_unittest.cc base::Bind(&GDataWapiRequestsTest::HandleResourceFeedRequest, base 43 google_apis/drive/gdata_wapi_requests_unittest.cc base::Unretained(this))); base 88 google_apis/drive/gdata_wapi_requests_unittest.cc base::MessageLoopForIO message_loop_; // Test server needs IO thread. base 104 google_apis/drive/gdata_wapi_requests_unittest.cc scoped_ptr<base::Value> result_data; base 107 google_apis/drive/gdata_wapi_requests_unittest.cc base::RunLoop run_loop; base 125 google_apis/drive/gdata_wapi_requests_unittest.cc scoped_ptr<base::Value> expected_json = base 129 google_apis/drive/gdata_wapi_requests_unittest.cc EXPECT_TRUE(base::Value::Equals(expected_json.get(), result_data.get())); base 134 google_apis/drive/gdata_wapi_requests_unittest.cc scoped_ptr<base::Value> result_data; base 137 google_apis/drive/gdata_wapi_requests_unittest.cc base::RunLoop run_loop; base 85 google_apis/drive/gdata_wapi_url_generator.cc result, "max-results", base::IntToString(num_items_to_fetch)); base 120 google_apis/drive/gdata_wapi_url_generator.cc base::StringPrintf(kContentURLFormat, base 131 google_apis/drive/gdata_wapi_url_generator.cc url, "start-index", base::Int64ToString(start_changestamp)); base 147 google_apis/drive/gdata_wapi_url_generator.cc base_url_.Resolve(base::StringPrintf( base 191 google_apis/drive/gdata_wapi_url_generator.cc base::StringPrintf(kContentURLFormat, base 206 google_apis/drive/gdata_wapi_url_generator.cc base::StringPrintf(kResourceURLForRemovalFormat, base 215 google_apis/drive/gdata_wapi_url_generator.cc base::StringPrintf(kInitiateUploadNewFileURLFormat, base 19 google_apis/drive/request_sender.cc base::SequencedTaskRunner* blocking_task_runner, base 34 google_apis/drive/request_sender.cc base::Closure RequestSender::StartRequestWithRetry( base 42 google_apis/drive/request_sender.cc base::Closure cancel_closure = base 43 google_apis/drive/request_sender.cc base::Bind(&RequestSender::CancelRequest, base 50 google_apis/drive/request_sender.cc base::Bind(&RequestSender::OnAccessTokenFetched, base 56 google_apis/drive/request_sender.cc base::Bind(&RequestSender::RetryRequest, base 64 google_apis/drive/request_sender.cc const base::WeakPtr<AuthenticatedRequestInterface>& request, base 91 google_apis/drive/request_sender.cc const base::WeakPtr<AuthenticatedRequestInterface>& request) { base 19 google_apis/drive/request_sender.h namespace base { base 49 google_apis/drive/request_sender.h base::SequencedTaskRunner* blocking_task_runner, base 59 google_apis/drive/request_sender.h base::SequencedTaskRunner* blocking_task_runner() const { base 71 google_apis/drive/request_sender.h base::Closure StartRequestWithRetry(AuthenticatedRequestInterface* request); base 80 google_apis/drive/request_sender.h const base::WeakPtr<AuthenticatedRequestInterface>& request, base 91 google_apis/drive/request_sender.h const base::WeakPtr<AuthenticatedRequestInterface>& request); base 95 google_apis/drive/request_sender.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 100 google_apis/drive/request_sender.h base::ThreadChecker thread_checker_; base 104 google_apis/drive/request_sender.h base::WeakPtrFactory<RequestSender> weak_ptr_factory_; base 43 google_apis/drive/request_sender_unittest.cc kTestAccessToken + base::IntToString(auth_try_count_); base 119 google_apis/drive/request_sender_unittest.cc virtual base::WeakPtr<AuthenticatedRequestInterface> GetWeakPtr() OVERRIDE { base 129 google_apis/drive/request_sender_unittest.cc base::WeakPtrFactory<TestRequest> weak_ptr_factory_; base 140 google_apis/drive/request_sender_unittest.cc base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); base 142 google_apis/drive/request_sender_unittest.cc base::Closure cancel_closure = request_sender_.StartRequestWithRetry(request); base 163 google_apis/drive/request_sender_unittest.cc base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); base 165 google_apis/drive/request_sender_unittest.cc base::Closure cancel_closure = request_sender_.StartRequestWithRetry(request); base 183 google_apis/drive/request_sender_unittest.cc base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); base 185 google_apis/drive/request_sender_unittest.cc base::Closure cancel_closure = request_sender_.StartRequestWithRetry(request); base 202 google_apis/drive/request_sender_unittest.cc base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); base 204 google_apis/drive/request_sender_unittest.cc base::Closure cancel_closure = request_sender_.StartRequestWithRetry(request); base 222 google_apis/drive/request_sender_unittest.cc base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); base 224 google_apis/drive/request_sender_unittest.cc base::Closure cancel_closure = request_sender_.StartRequestWithRetry(request); base 11 google_apis/drive/task_util.cc void RunTaskOnThread(scoped_refptr<base::SequencedTaskRunner> task_runner, base 12 google_apis/drive/task_util.cc const base::Closure& task) { base 14 google_apis/drive/task_util.h void RunTaskOnThread(scoped_refptr<base::SequencedTaskRunner> task_runner, base 15 google_apis/drive/task_util.h const base::Closure& task); base 26 google_apis/drive/task_util.h const base::Callback<void(const base::Closure&)>& runner, base 27 google_apis/drive/task_util.h const base::Closure& callback) { base 36 google_apis/drive/task_util.h const base::Callback<void(const base::Closure&)>& runner, base 37 google_apis/drive/task_util.h const base::Callback<void(T1)>& callback, base 39 google_apis/drive/task_util.h runner.Run(base::Bind(callback, arg1)); base 47 google_apis/drive/task_util.h const base::Callback<void(const base::Closure&)>& runner, base 48 google_apis/drive/task_util.h const base::Callback<void(T1, T2)>& callback, base 50 google_apis/drive/task_util.h runner.Run(base::Bind(callback, arg1, arg2)); base 58 google_apis/drive/task_util.h const base::Callback<void(const base::Closure&)>& runner, base 59 google_apis/drive/task_util.h const base::Callback<void(T1, scoped_ptr<T2, D2>)>& callback, base 61 google_apis/drive/task_util.h runner.Run(base::Bind(callback, arg1, base::Passed(&arg2))); base 69 google_apis/drive/task_util.h const base::Callback<void(const base::Closure&)>& runner, base 70 google_apis/drive/task_util.h const base::Callback<void(T1, T2, T3)>& callback, base 72 google_apis/drive/task_util.h runner.Run(base::Bind(callback, arg1, arg2, arg3)); base 80 google_apis/drive/task_util.h const base::Callback<void(const base::Closure&)>& runner, base 81 google_apis/drive/task_util.h const base::Callback<void(T1, T2, scoped_ptr<T3, D3>)>& callback, base 83 google_apis/drive/task_util.h runner.Run(base::Bind(callback, arg1, arg2, base::Passed(&arg3))); base 91 google_apis/drive/task_util.h const base::Callback<void(const base::Closure&)>& runner, base 92 google_apis/drive/task_util.h const base::Callback<void(T1, T2, T3, T4)>& callback, base 94 google_apis/drive/task_util.h runner.Run(base::Bind(callback, arg1, arg2, arg3, arg4)); base 106 google_apis/drive/task_util.h const base::Callback<void(const base::Closure&)>& runner, base 110 google_apis/drive/task_util.h return base::Bind( base 119 google_apis/drive/task_util.h base::Bind(&RunTaskOnThread, base::MessageLoopProxy::current()), base 38 google_apis/drive/test_util.cc base::FilePath GetTestFilePath(const std::string& relative_path) { base 39 google_apis/drive/test_util.cc base::FilePath path; base 40 google_apis/drive/test_util.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &path)) base 41 google_apis/drive/test_util.cc return base::FilePath(); base 45 google_apis/drive/test_util.cc .Append(base::FilePath::FromUTF8Unsafe(relative_path)); base 50 google_apis/drive/test_util.cc return GURL(base::StringPrintf("http://127.0.0.1:%d/", port)); base 53 google_apis/drive/test_util.cc void RunAndQuit(base::RunLoop* run_loop, const base::Closure& closure) { base 58 google_apis/drive/test_util.cc bool WriteStringToFile(const base::FilePath& file_path, base 60 google_apis/drive/test_util.cc int result = base::WriteFile( base 65 google_apis/drive/test_util.cc bool CreateFileOfSpecifiedSize(const base::FilePath& temp_dir, base 67 google_apis/drive/test_util.cc base::FilePath* path, base 69 google_apis/drive/test_util.cc if (!base::CreateTemporaryFileInDir(temp_dir, path)) base 78 google_apis/drive/test_util.cc *data = base::RandBytesAsString(size); base 82 google_apis/drive/test_util.cc scoped_ptr<base::Value> LoadJSONFile(const std::string& relative_path) { base 83 google_apis/drive/test_util.cc base::FilePath path = GetTestFilePath(relative_path); base 87 google_apis/drive/test_util.cc scoped_ptr<base::Value> value(serializer.Deserialize(NULL, &error)); base 95 google_apis/drive/test_util.cc const base::FilePath& file_path) { base 97 google_apis/drive/test_util.cc if (!base::ReadFileToString(file_path, &content)) base 139 google_apis/drive/test_util.cc base::SplitString(remaining, '/', &parts); base 144 google_apis/drive/test_util.cc if (!base::StringToInt64(parts[1], length)) base 148 google_apis/drive/test_util.cc base::SplitString(range, '-', &parts); base 152 google_apis/drive/test_util.cc return (base::StringToInt64(parts[0], start_position) && base 153 google_apis/drive/test_util.cc base::StringToInt64(parts[1], end_position)); base 163 google_apis/drive/test_util.cc : callback_(base::Bind(&TestGetContentCallback::OnGetContent, base 164 google_apis/drive/test_util.cc base::Unretained(this))) { base 23 google_apis/drive/test_util.h namespace base { base 41 google_apis/drive/test_util.h void RunAndQuit(base::RunLoop* run_loop, const base::Closure& closure); base 45 google_apis/drive/test_util.h CallbackType CreateQuitCallback(base::RunLoop* run_loop, base 47 google_apis/drive/test_util.h return CreateComposedCallback(base::Bind(&RunAndQuit, run_loop), callback); base 58 google_apis/drive/test_util.h base::FilePath GetTestFilePath(const std::string& relative_path); base 66 google_apis/drive/test_util.h bool WriteStringToFile(const base::FilePath& file_path, base 74 google_apis/drive/test_util.h bool CreateFileOfSpecifiedSize(const base::FilePath& temp_dir, base 76 google_apis/drive/test_util.h base::FilePath* path, base 81 google_apis/drive/test_util.h scoped_ptr<base::Value> LoadJSONFile(const std::string& relative_path); base 85 google_apis/drive/test_util.h const base::FilePath& file_path); base 136 google_apis/drive/test_util.h template<typename T> struct IsMovable : base::false_type {}; base 138 google_apis/drive/test_util.h struct IsMovable<scoped_ptr<T, D> > : base::true_type {}; base 168 google_apis/drive/test_util.h base::is_class<T>::value && !IsMovable<T>::value, // UseConstRef base 236 google_apis/drive/test_util.h base::Callback<void(typename internal::CopyResultCallbackHelper<T1>::InType)> base 238 google_apis/drive/test_util.h return base::Bind(&internal::CopyResultCallback<T1>, out1); base 242 google_apis/drive/test_util.h base::Callback<void(typename internal::CopyResultCallbackHelper<T1>::InType, base 245 google_apis/drive/test_util.h return base::Bind(&internal::CopyResultCallback<T1, T2>, out1, out2); base 249 google_apis/drive/test_util.h base::Callback<void(typename internal::CopyResultCallbackHelper<T1>::InType, base 253 google_apis/drive/test_util.h return base::Bind( base 258 google_apis/drive/test_util.h base::Callback<void(typename internal::CopyResultCallbackHelper<T1>::InType, base 263 google_apis/drive/test_util.h return base::Bind( base 22 google_apis/drive/time_util.cc bool ParseTimezone(const base::StringPiece& timezone, base 27 google_apis/drive/time_util.cc std::vector<base::StringPiece> parts; base 31 google_apis/drive/time_util.cc if (!base::StringToInt(parts[0], &hour)) base 35 google_apis/drive/time_util.cc if (num_of_token > 1 && !base::StringToInt(parts[1], &minute)) base 44 google_apis/drive/time_util.cc bool GetTimeFromString(const base::StringPiece& raw_value, base 45 google_apis/drive/time_util.cc base::Time* parsed_time) { base 46 google_apis/drive/time_util.cc base::StringPiece date; base 47 google_apis/drive/time_util.cc base::StringPiece time_and_tz; base 48 google_apis/drive/time_util.cc base::StringPiece time; base 49 google_apis/drive/time_util.cc base::Time::Exploded exploded = {0}; base 55 google_apis/drive/time_util.cc std::vector<base::StringPiece> parts; base 64 google_apis/drive/time_util.cc std::vector<base::StringPiece> parts; base 91 google_apis/drive/time_util.cc std::vector<base::StringPiece> parts; base 95 google_apis/drive/time_util.cc if (!base::StringToInt(parts[0], &exploded.year) || base 96 google_apis/drive/time_util.cc !base::StringToInt(parts[1], &exploded.month) || base 97 google_apis/drive/time_util.cc !base::StringToInt(parts[2], &exploded.day_of_month)) { base 104 google_apis/drive/time_util.cc std::vector<base::StringPiece> parts; base 109 google_apis/drive/time_util.cc if (!base::StringToInt(parts[0], &exploded.hour) || base 110 google_apis/drive/time_util.cc !base::StringToInt(parts[1], &exploded.minute)) { base 114 google_apis/drive/time_util.cc std::vector<base::StringPiece> seconds_parts; base 119 google_apis/drive/time_util.cc if (!base::StringToInt(seconds_parts[0], &exploded.second)) base 125 google_apis/drive/time_util.cc !base::StringToInt(seconds_parts[1], &exploded.millisecond)) { base 135 google_apis/drive/time_util.cc *parsed_time = base::Time::FromUTCExploded(exploded); base 137 google_apis/drive/time_util.cc *parsed_time -= base::TimeDelta::FromMinutes(offset_to_utc_in_minutes); base 139 google_apis/drive/time_util.cc *parsed_time = base::Time::FromLocalExploded(exploded); base 145 google_apis/drive/time_util.cc std::string FormatTimeAsString(const base::Time& time) { base 149 google_apis/drive/time_util.cc base::Time::Exploded exploded; base 151 google_apis/drive/time_util.cc return base::StringPrintf( base 157 google_apis/drive/time_util.cc std::string FormatTimeAsStringLocaltime(const base::Time& time) { base 161 google_apis/drive/time_util.cc base::Time::Exploded exploded; base 163 google_apis/drive/time_util.cc return base::StringPrintf( base 12 google_apis/drive/time_util.h namespace base { base 22 google_apis/drive/time_util.h bool GetTimeFromString(const base::StringPiece& raw_value, base::Time* time); base 26 google_apis/drive/time_util.h std::string FormatTimeAsString(const base::Time& time); base 30 google_apis/drive/time_util.h std::string FormatTimeAsStringLocaltime(const base::Time& time); base 16 google_apis/drive/time_util_unittest.cc std::string FormatTime(const base::Time& time) { base 17 google_apis/drive/time_util_unittest.cc return base::UTF16ToUTF8(base::TimeFormatShortDateAndTime(time)); base 24 google_apis/drive/time_util_unittest.cc base::Time::Exploded exploded = {2013, 1, 0, 15, 17, 11, 35, 374}; base 25 google_apis/drive/time_util_unittest.cc base::Time local_time = base::Time::FromLocalExploded(exploded); base 30 google_apis/drive/time_util_unittest.cc base::Time test_time; base 38 google_apis/drive/time_util_unittest.cc base::Time target_time; base 39 google_apis/drive/time_util_unittest.cc base::Time test_time; base 57 google_apis/drive/time_util_unittest.cc base::Time test_time; base 60 google_apis/drive/time_util_unittest.cc base::Time::Exploded target_time1 = {2005, 1, 0, 7, 8, 2, 0, 0}; base 62 google_apis/drive/time_util_unittest.cc EXPECT_EQ(FormatTime(base::Time::FromUTCExploded(target_time1)), base 67 google_apis/drive/time_util_unittest.cc base::Time::Exploded target_time2 = {2005, 8, 0, 9, 17, 57, 0, 0}; base 69 google_apis/drive/time_util_unittest.cc EXPECT_EQ(FormatTime(base::Time::FromUTCExploded(target_time2)), base 73 google_apis/drive/time_util_unittest.cc base::Time::Exploded target_time3 = {2005, 1, 0, 7, 8, 2, 0, 123}; base 75 google_apis/drive/time_util_unittest.cc EXPECT_EQ(FormatTime(base::Time::FromUTCExploded(target_time3)), base 80 google_apis/drive/time_util_unittest.cc base::Time::Exploded exploded_time = {2012, 7, 0, 19, 15, 59, 13, 123}; base 81 google_apis/drive/time_util_unittest.cc base::Time time = base::Time::FromUTCExploded(exploded_time); base 84 google_apis/drive/time_util_unittest.cc EXPECT_EQ("null", FormatTimeAsString(base::Time())); base 88 google_apis/drive/time_util_unittest.cc base::Time::Exploded exploded_time = {2012, 7, 0, 19, 15, 59, 13, 123}; base 89 google_apis/drive/time_util_unittest.cc base::Time time = base::Time::FromLocalExploded(exploded_time); base 92 google_apis/drive/time_util_unittest.cc EXPECT_EQ("null", FormatTimeAsStringLocaltime(base::Time())); base 34 google_apis/gaia/fake_gaia.cc url.path(), base::Bind(&FakeGaia::method, base::Unretained(this)))) base 38 google_apis/gaia/fake_gaia.cc path, base::Bind(&FakeGaia::method, base::Unretained(this)))) base 44 google_apis/gaia/fake_gaia.cc const base::FilePath::CharType kServiceLogin[] = base 63 google_apis/gaia/fake_gaia.cc base::SplitString(iter->second, ' ', &cookie_nv_pairs); base 69 google_apis/gaia/fake_gaia.cc base::SplitString(*cookie_line, '=', &name_value); base 105 google_apis/gaia/fake_gaia.cc base::StringPrintf("SID=%s; Path=/; HttpOnly;", sid_cookie.c_str())); base 108 google_apis/gaia/fake_gaia.cc base::StringPrintf("LSID=%s; Path=/; HttpOnly;", lsid_cookie.c_str())); base 125 google_apis/gaia/fake_gaia.cc base::FilePath source_root_dir; base 126 google_apis/gaia/fake_gaia.cc PathService::Get(base::DIR_SOURCE_ROOT, &source_root_dir); base 127 google_apis/gaia/fake_gaia.cc CHECK(base::ReadFileToString( base 128 google_apis/gaia/fake_gaia.cc source_root_dir.Append(base::FilePath(kServiceLogin)), base 293 google_apis/gaia/fake_gaia.cc base::StringPrintf( base 300 google_apis/gaia/fake_gaia.cc void FakeGaia::FormatJSONResponse(const base::DictionaryValue& response_dict, base 303 google_apis/gaia/fake_gaia.cc base::JSONWriter::Write(&response_dict, &response_json); base 316 google_apis/gaia/fake_gaia.cc base::SplitString(scope_string, ' ', &scope_list); base 444 google_apis/gaia/fake_gaia.cc base::DictionaryValue response_dict; base 460 google_apis/gaia/fake_gaia.cc base::DictionaryValue response_dict; base 490 google_apis/gaia/fake_gaia.cc base::DictionaryValue response_dict; base 515 google_apis/gaia/fake_gaia.cc base::DictionaryValue response_dict; base 518 google_apis/gaia/fake_gaia.cc base::IntToString(token_info->expires_in)); base 528 google_apis/gaia/fake_gaia.cc http_response->set_content(base::StringPrintf( base 17 google_apis/gaia/fake_gaia.h namespace base { base 123 google_apis/gaia/fake_gaia.h void FormatJSONResponse(const base::DictionaryValue& response_dict, base 126 google_apis/gaia/fake_gaia.h typedef base::Callback<void( base 43 google_apis/gaia/gaia_auth_fetcher.cc bool ExtractOAuth2TokenPairResponse(base::DictionaryValue* dict, base 181 google_apis/gaia/gaia_auth_fetcher.cc base::StringPrintf(kUberAuthTokenURLFormat, source.c_str()))), base 259 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kClientLoginFormat, base 268 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kClientLoginCaptchaFormat, base 292 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kIssueAuthTokenFormat, base 305 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kClientLoginToOAuth2BodyFormat, base 320 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kOAuth2CodeToTokenPairBodyFormat, base 330 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kOAuth2RevokeTokenBodyFormat, auth_token.c_str()); base 336 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kGetUserInfoFormat, encoded_lsid.c_str()); base 348 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kMergeSessionFormat, base 357 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kAuthHeaderFormat, auth_token.c_str()); base 373 google_apis/gaia/gaia_auth_fetcher.cc base::SplitStringIntoKeyValuePairs(data, '=', '\n', &tokens); base 395 google_apis/gaia/gaia_auth_fetcher.cc return base::StringPrintf(kOAuthLoginFormat, base 411 google_apis/gaia/gaia_auth_fetcher.cc base::SplitStringIntoKeyValuePairs(data, '=', '\n', &tokens); base 443 google_apis/gaia/gaia_auth_fetcher.cc base::SplitString(cookie, ';', &parts); base 642 google_apis/gaia/gaia_auth_fetcher.cc base::StringPrintf(kOAuthHeaderFormat, access_token.c_str()); base 659 google_apis/gaia/gaia_auth_fetcher.cc base::StringPrintf(kOAuth2BearerHeaderFormat, access_token.c_str()); base 790 google_apis/gaia/gaia_auth_fetcher.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); base 791 google_apis/gaia/gaia_auth_fetcher.cc if (value.get() && value->GetType() == base::Value::TYPE_DICTIONARY) { base 792 google_apis/gaia/gaia_auth_fetcher.cc base::DictionaryValue* dict = base 793 google_apis/gaia/gaia_auth_fetcher.cc static_cast<base::DictionaryValue*>(value.get()); base 832 google_apis/gaia/gaia_auth_fetcher.cc base::SplitStringIntoKeyValuePairs(data, '=', '\n', &tokens); base 164 google_apis/gaia/gaia_auth_fetcher_unittest.cc base::MessageLoop message_loop_; base 345 google_apis/gaia/gaia_auth_fetcher_unittest.cc base::StringPrintf("Error=BadAuthentication\n%s\n", base 356 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string response = base::StringPrintf("Error=BadAuthentication\n%s\n", base 24 google_apis/gaia/gaia_auth_util.cc base::SplitString(email_address, at, &parts); base 29 google_apis/gaia/gaia_auth_util.cc base::RemoveChars(parts[0], ".", &parts[0]); base 84 google_apis/gaia/gaia_auth_util.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); base 88 google_apis/gaia/gaia_auth_util.cc base::ListValue* list; base 93 google_apis/gaia/gaia_auth_util.cc base::ListValue* account_list; base 100 google_apis/gaia/gaia_auth_util.cc base::ListValue* account; base 34 google_apis/gaia/gaia_oauth_client.cc : public base::RefCountedThreadSafe<GaiaOAuthClient::Core>, base 254 google_apis/gaia/gaia_oauth_client.cc scoped_ptr<base::DictionaryValue> response_dict; base 258 google_apis/gaia/gaia_oauth_client.cc scoped_ptr<base::Value> message_value(base::JSONReader::Read(data)); base 260 google_apis/gaia/gaia_oauth_client.cc message_value->IsType(base::Value::TYPE_DICTIONARY)) { base 262 google_apis/gaia/gaia_oauth_client.cc static_cast<base::DictionaryValue*>(message_value.release())); base 52 google_apis/gaia/gaia_oauth_client.h scoped_ptr<base::DictionaryValue> token_info) {} base 138 google_apis/gaia/gaia_oauth_client_unittest.cc "\"expires_in\":" + base::IntToString(kTestExpiresIn) + "," base 143 google_apis/gaia/gaia_oauth_client_unittest.cc "\"expires_in\":" + base::IntToString(kTestExpiresIn) + "}"; base 155 google_apis/gaia/gaia_oauth_client_unittest.cc "\"expires_in\":" + base::IntToString(kTestExpiresIn) + "}"; base 177 google_apis/gaia/gaia_oauth_client_unittest.cc base::MessageLoop message_loop_; base 202 google_apis/gaia/gaia_oauth_client_unittest.cc void(const base::DictionaryValue* token_info)); base 204 google_apis/gaia/gaia_oauth_client_unittest.cc scoped_ptr<base::DictionaryValue> token_info) OVERRIDE { base 210 google_apis/gaia/gaia_oauth_client_unittest.cc scoped_ptr<base::DictionaryValue> token_info_; base 331 google_apis/gaia/gaia_oauth_client_unittest.cc const base::DictionaryValue* captured_result; base 144 google_apis/gaia/google_service_auth_error.cc return base::EmptyString(); base 151 google_apis/gaia/google_service_auth_error.cc base::DictionaryValue* GoogleServiceAuthError::ToValue() const { base 152 google_apis/gaia/google_service_auth_error.cc base::DictionaryValue* value = new base::DictionaryValue(); base 179 google_apis/gaia/google_service_auth_error.cc base::DictionaryValue* captcha_value = new base::DictionaryValue(); base 190 google_apis/gaia/google_service_auth_error.cc base::DictionaryValue* two_factor_value = new base::DictionaryValue(); base 209 google_apis/gaia/google_service_auth_error.cc return base::StringPrintf("Connection failed (%d).", network_error_); base 211 google_apis/gaia/google_service_auth_error.cc return base::StringPrintf("CAPTCHA required (%s).", base 220 google_apis/gaia/google_service_auth_error.cc return base::StringPrintf("2-step verification required (%s).", base 227 google_apis/gaia/google_service_auth_error.cc return base::StringPrintf("Unexpected service response (%s)", base 230 google_apis/gaia/google_service_auth_error.cc return base::StringPrintf("Service responded with error: '%s'", base 29 google_apis/gaia/google_service_auth_error.h namespace base { base 181 google_apis/gaia/google_service_auth_error.h base::DictionaryValue* ToValue() const; base 17 google_apis/gaia/google_service_auth_error_unittest.cc using base::ExpectDictStringValue; base 23 google_apis/gaia/google_service_auth_error_unittest.cc scoped_ptr<base::DictionaryValue> value(error.ToValue()); base 41 google_apis/gaia/google_service_auth_error_unittest.cc scoped_ptr<base::DictionaryValue> value(error.ToValue()); base 49 google_apis/gaia/google_service_auth_error_unittest.cc scoped_ptr<base::DictionaryValue> value(error.ToValue()); base 75 google_apis/gaia/merge_session_helper_unittest.cc base::MessageLoopProxy::current())) {} base 106 google_apis/gaia/merge_session_helper_unittest.cc base::MessageLoop message_loop_; base 12 google_apis/gaia/oauth2_access_token_consumer.h namespace base { base 24 google_apis/gaia/oauth2_access_token_consumer.h const base::Time& expiration_time) {} base 15 google_apis/gaia/oauth2_access_token_fetcher.cc const base::Time& expiration_time) { base 47 google_apis/gaia/oauth2_access_token_fetcher.h const base::Time& expiration_time); base 116 google_apis/gaia/oauth2_access_token_fetcher_impl.cc scoped_ptr<base::DictionaryValue> ParseGetAccessTokenResponse( base 122 google_apis/gaia/oauth2_access_token_fetcher_impl.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data)); base 123 google_apis/gaia/oauth2_access_token_fetcher_impl.cc if (!value.get() || value->GetType() != base::Value::TYPE_DICTIONARY) base 126 google_apis/gaia/oauth2_access_token_fetcher_impl.cc return scoped_ptr<base::DictionaryValue>( base 127 google_apis/gaia/oauth2_access_token_fetcher_impl.cc static_cast<base::DictionaryValue*>(value.release())); base 236 google_apis/gaia/oauth2_access_token_fetcher_impl.cc base::Time::Now() + base::TimeDelta::FromSeconds(9 * expires_in / 10)); base 241 google_apis/gaia/oauth2_access_token_fetcher_impl.cc const base::Time& expiration_time) { base 275 google_apis/gaia/oauth2_access_token_fetcher_impl.cc return base::StringPrintf(kGetAccessTokenBodyFormat, base 281 google_apis/gaia/oauth2_access_token_fetcher_impl.cc return base::StringPrintf( base 296 google_apis/gaia/oauth2_access_token_fetcher_impl.cc scoped_ptr<base::DictionaryValue> value = ParseGetAccessTokenResponse(source); base 309 google_apis/gaia/oauth2_access_token_fetcher_impl.cc scoped_ptr<base::DictionaryValue> value = ParseGetAccessTokenResponse(source); base 20 google_apis/gaia/oauth2_access_token_fetcher_impl.h namespace base { base 80 google_apis/gaia/oauth2_access_token_fetcher_impl.h const base::Time& expiration_time); base 78 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc const base::Time& expiration_time)); base 88 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc base::MessageLoopProxy::current())), base 90 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 116 google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc base::MessageLoop message_loop_; base 32 google_apis/gaia/oauth2_api_call_flow.cc return base::StringPrintf(kAuthorizationHeaderFormat, auth_token.c_str()); base 139 google_apis/gaia/oauth2_api_call_flow.cc const base::Time& expiration_time) { base 57 google_apis/gaia/oauth2_api_call_flow.h const base::Time& expiration_time) OVERRIDE; base 166 google_apis/gaia/oauth2_api_call_flow_unittest.cc base::MessageLoop message_loop_; base 195 google_apis/gaia/oauth2_api_call_flow_unittest.cc base::Time::Now() + base::TimeDelta::FromMinutes(3600)); base 213 google_apis/gaia/oauth2_api_call_flow_unittest.cc base::Time::Now() + base::TimeDelta::FromMinutes(3600)); base 245 google_apis/gaia/oauth2_api_call_flow_unittest.cc base::Time::Now() + base::TimeDelta::FromMinutes(3600)); base 261 google_apis/gaia/oauth2_api_call_flow_unittest.cc base::Time::Now() + base::TimeDelta::FromMinutes(3600)); base 68 google_apis/gaia/oauth2_mint_token_flow.cc scoped_ptr<base::Value> value(base::JSONReader::Read(response_body)); base 69 google_apis/gaia/oauth2_mint_token_flow.cc base::DictionaryValue* response; base 72 google_apis/gaia/oauth2_mint_token_flow.cc base::StringPrintf( base 76 google_apis/gaia/oauth2_mint_token_flow.cc base::DictionaryValue* error; base 165 google_apis/gaia/oauth2_mint_token_flow.cc return base::StringPrintf( base 179 google_apis/gaia/oauth2_mint_token_flow.cc scoped_ptr<base::Value> value(base::JSONReader::Read(response_body)); base 180 google_apis/gaia/oauth2_mint_token_flow.cc base::DictionaryValue* dict = NULL; base 232 google_apis/gaia/oauth2_mint_token_flow.cc const base::DictionaryValue* dict, std::string* access_token, base 239 google_apis/gaia/oauth2_mint_token_flow.cc base::StringToInt(ttl_string, time_to_live) && base 245 google_apis/gaia/oauth2_mint_token_flow.cc const base::DictionaryValue* dict, IssueAdviceInfo* issue_advice) { base 249 google_apis/gaia/oauth2_mint_token_flow.cc const base::DictionaryValue* consent_dict = NULL; base 253 google_apis/gaia/oauth2_mint_token_flow.cc const base::ListValue* scopes_list = NULL; base 259 google_apis/gaia/oauth2_mint_token_flow.cc const base::DictionaryValue* scopes_entry = NULL; base 261 google_apis/gaia/oauth2_mint_token_flow.cc base::string16 detail; base 269 google_apis/gaia/oauth2_mint_token_flow.cc base::TrimWhitespace(entry.description, base::TRIM_ALL, &entry.description); base 270 google_apis/gaia/oauth2_mint_token_flow.cc static const base::string16 detail_separators = base 271 google_apis/gaia/oauth2_mint_token_flow.cc base::ASCIIToUTF16(kDetailSeparators); base 274 google_apis/gaia/oauth2_mint_token_flow.cc base::TrimWhitespace(entry.details[i], base::TRIM_ALL, &entry.details[i]); base 20 google_apis/gaia/oauth2_mint_token_flow.h namespace base { base 48 google_apis/gaia/oauth2_mint_token_flow.h base::string16 description; base 49 google_apis/gaia/oauth2_mint_token_flow.h std::vector<base::string16> details; base 137 google_apis/gaia/oauth2_mint_token_flow.h const base::DictionaryValue* dict, IssueAdviceInfo* issue_advice); base 139 google_apis/gaia/oauth2_mint_token_flow.h const base::DictionaryValue* dict, std::string* access_token, base 144 google_apis/gaia/oauth2_mint_token_flow.h base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_; base 114 google_apis/gaia/oauth2_mint_token_flow_unittest.cc e1.description = base::ASCIIToUTF16("Manage your calendars"); base 115 google_apis/gaia/oauth2_mint_token_flow_unittest.cc e1.details.push_back(base::ASCIIToUTF16("View and manage your calendars")); base 118 google_apis/gaia/oauth2_mint_token_flow_unittest.cc e2.description = base::ASCIIToUTF16("Manage your documents"); base 119 google_apis/gaia/oauth2_mint_token_flow_unittest.cc e2.details.push_back(base::ASCIIToUTF16("View your documents")); base 120 google_apis/gaia/oauth2_mint_token_flow_unittest.cc e2.details.push_back(base::ASCIIToUTF16("Upload new documents")); base 172 google_apis/gaia/oauth2_mint_token_flow_unittest.cc static base::DictionaryValue* ParseJson(const std::string& str) { base 173 google_apis/gaia/oauth2_mint_token_flow_unittest.cc scoped_ptr<base::Value> value(base::JSONReader::Read(str)); base 175 google_apis/gaia/oauth2_mint_token_flow_unittest.cc EXPECT_EQ(base::Value::TYPE_DICTIONARY, value->GetType()); base 176 google_apis/gaia/oauth2_mint_token_flow_unittest.cc return static_cast<base::DictionaryValue*>(value.release()); base 232 google_apis/gaia/oauth2_mint_token_flow_unittest.cc scoped_ptr<base::DictionaryValue> json( base 241 google_apis/gaia/oauth2_mint_token_flow_unittest.cc scoped_ptr<base::DictionaryValue> json(ParseJson(kValidTokenResponse)); base 253 google_apis/gaia/oauth2_mint_token_flow_unittest.cc scoped_ptr<base::DictionaryValue> json( base 261 google_apis/gaia/oauth2_mint_token_flow_unittest.cc scoped_ptr<base::DictionaryValue> json( base 269 google_apis/gaia/oauth2_mint_token_flow_unittest.cc scoped_ptr<base::DictionaryValue> json( base 72 google_apis/gaia/oauth2_token_service.cc const base::Time& expiration_date) { base 119 google_apis/gaia/oauth2_token_service.cc base::WeakPtr<RequestImpl> waiting_request); base 123 google_apis/gaia/oauth2_token_service.cc void AddWaitingRequest(base::WeakPtr<RequestImpl> waiting_request); base 128 google_apis/gaia/oauth2_token_service.cc const std::vector<base::WeakPtr<RequestImpl> >& waiting_requests() const { base 144 google_apis/gaia/oauth2_token_service.cc const base::Time& expiration_date) OVERRIDE; base 155 google_apis/gaia/oauth2_token_service.cc base::WeakPtr<RequestImpl> waiting_request); base 170 google_apis/gaia/oauth2_token_service.cc std::vector<base::WeakPtr<RequestImpl> > waiting_requests_; base 173 google_apis/gaia/oauth2_token_service.cc base::OneShotTimer<Fetcher> retry_timer_; base 181 google_apis/gaia/oauth2_token_service.cc base::Time expiration_date_; base 198 google_apis/gaia/oauth2_token_service.cc base::WeakPtr<RequestImpl> waiting_request) { base 218 google_apis/gaia/oauth2_token_service.cc base::WeakPtr<RequestImpl> waiting_request) base 250 google_apis/gaia/oauth2_token_service.cc const base::Time& expiration_date) { base 275 google_apis/gaia/oauth2_token_service.cc base::TimeDelta backoff = base::TimeDelta::FromMilliseconds( base 297 google_apis/gaia/oauth2_token_service.cc return (exponential_backoff_in_seconds + base::RandDouble()) * 1000; base 310 google_apis/gaia/oauth2_token_service.cc std::vector<base::WeakPtr<RequestImpl> >::const_iterator iter = base 313 google_apis/gaia/oauth2_token_service.cc base::WeakPtr<RequestImpl> waiting_request = *iter; base 325 google_apis/gaia/oauth2_token_service.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 329 google_apis/gaia/oauth2_token_service.cc base::WeakPtr<OAuth2TokenService::RequestImpl> waiting_request) { base 465 google_apis/gaia/oauth2_token_service.cc base::Time())); base 467 google_apis/gaia/oauth2_token_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 472 google_apis/gaia/oauth2_token_service.cc base::Time())); base 534 google_apis/gaia/oauth2_token_service.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 610 google_apis/gaia/oauth2_token_service.cc const std::vector<base::WeakPtr<RequestImpl> >& requests = base 619 google_apis/gaia/oauth2_token_service.cc entry ? entry->expiration_date : base::Time())); base 642 google_apis/gaia/oauth2_token_service.cc if (token_iterator->second.expiration_date <= base::Time::Now()) { base 670 google_apis/gaia/oauth2_token_service.cc const base::Time& expiration_date) { base 54 google_apis/gaia/oauth2_token_service.h class OAuth2TokenService : public base::NonThreadSafe { base 81 google_apis/gaia/oauth2_token_service.h const base::Time& expiration_time) = 0; base 124 google_apis/gaia/oauth2_token_service.h base::Time expiration_time) = 0; base 208 google_apis/gaia/oauth2_token_service.h class RequestImpl : public base::SupportsWeakPtr<RequestImpl>, base 209 google_apis/gaia/oauth2_token_service.h public base::NonThreadSafe, base 224 google_apis/gaia/oauth2_token_service.h const base::Time& expiration_date); base 244 google_apis/gaia/oauth2_token_service.h const base::Time& expiration_date); base 321 google_apis/gaia/oauth2_token_service.h base::Time expiration_date; base 19 google_apis/gaia/oauth2_token_service_test_util.cc return base::StringPrintf(kValidTokenResponse, token.c_str(), expiration); base 35 google_apis/gaia/oauth2_token_service_test_util.cc const base::Time& expiration_date) { base 24 google_apis/gaia/oauth2_token_service_test_util.h const base::Time& expiration_date) OVERRIDE; base 105 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 109 google_apis/gaia/oauth2_token_service_unittest.cc base::MessageLoopForIO message_loop_; // net:: stuff needs IO message loop. base 120 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 132 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 152 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 181 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 198 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 208 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 229 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 246 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 268 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 285 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 306 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 326 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 348 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 352 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 370 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 384 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 401 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 413 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 435 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 452 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 480 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 497 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 508 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 532 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 561 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 607 google_apis/gaia/oauth2_token_service_unittest.cc base::RunLoop().RunUntilIdle(); base 80 google_apis/gaia/oauth_request_signer.cc return base::StringPrintf("%s&%s&%s", base 110 google_apis/gaia/oauth_request_signer.cc int length = base::RandUint64() % (kMaxNonceLength - kMinNonceLength + 1) + base 115 google_apis/gaia/oauth_request_signer.cc base::RandUint64() % (sizeof(kOAuthNonceCharacters) - 1)]; base 120 google_apis/gaia/oauth_request_signer.cc return base::StringPrintf( base 122 google_apis/gaia/oauth_request_signer.cc (base::Time::NowFromSystemTime() - base::Time::UnixEpoch()).InSeconds()); base 209 google_apis/gaia/oauth_request_signer.cc base::Base64Encode( base 271 google_apis/gaia/oauth_request_signer.cc std::string base = BuildBaseString(request_base_url, http_method, base 278 google_apis/gaia/oauth_request_signer.cc is_signed = SignHmacSha1(base, key, &signature); base 281 google_apis/gaia/oauth_request_signer.cc is_signed = SignRsaSha1(base, key, &signature); base 284 google_apis/gaia/oauth_request_signer.cc is_signed = SignPlaintext(base, key, &signature); base 451 google_apis/gaia/oauth_request_signer.cc base::StringPrintf( base 50 google_apis/gaia/ubertoken_fetcher.cc const base::Time& expiration_time) { base 57 google_apis/gaia/ubertoken_fetcher.h const base::Time& expiration_time) OVERRIDE; base 52 google_apis/gaia/ubertoken_fetcher_unittest.cc base::MessageLoopProxy::current()); base 63 google_apis/gaia/ubertoken_fetcher_unittest.cc base::MessageLoop message_loop_; base 76 google_apis/gaia/ubertoken_fetcher_unittest.cc fetcher_->OnGetTokenSuccess(NULL, "accessToken", base::Time()); base 106 google_apis/gaia/ubertoken_fetcher_unittest.cc fetcher_->OnGetTokenSuccess(NULL, "accessToken", base::Time()); base 57 google_apis/gcm/base/mcs_message.h class Core : public base::RefCountedThreadSafe<MCSMessage::Core> { base 66 google_apis/gcm/base/mcs_message.h friend class base::RefCountedThreadSafe<MCSMessage::Core>; base 23 google_apis/gcm/base/mcs_message_unittest.cc base::MessageLoop message_loop_; base 59 google_apis/gcm/base/mcs_util.cc auth_id_hex = base::StringPrintf("%" PRIx64, auth_id); base 61 google_apis/gcm/base/mcs_util.cc std::string auth_id_str = base::Uint64ToString(auth_id); base 62 google_apis/gcm/base/mcs_util.cc std::string auth_token_str = base::Uint64ToString(auth_token); base 238 google_apis/gcm/base/mcs_util.cc base::Clock* clock) { base 247 google_apis/gcm/base/mcs_util.cc base::Time::FromInternalValue( base 248 google_apis/gcm/base/mcs_util.cc (sent + ttl) * base::Time::kMicrosecondsPerSecond); base 19 google_apis/gcm/base/mcs_util.h namespace base { base 89 google_apis/gcm/base/mcs_util.h base::Clock* clock); base 24 google_apis/gcm/base/mcs_util_unittest.cc ASSERT_EQ(base::Uint64ToString(kAuthToken), login_request->auth_token()); base 25 google_apis/gcm/base/mcs_util_unittest.cc ASSERT_EQ(base::Uint64ToString(kAuthId), login_request->user()); base 55 google_apis/gcm/base/mcs_util_unittest.cc SetPersistentId(base::IntToString(tag), protobuf.get()); base 57 google_apis/gcm/base/mcs_util_unittest.cc base::StringToInt(GetPersistentId(*protobuf), &get_val); base 85 google_apis/gcm/base/socket_stream.cc net::Error SocketInputStream::Refresh(const base::Closure& callback, base 93 google_apis/gcm/base/socket_stream.cc CloseStream(net::ERR_UNEXPECTED, base::Closure()); base 99 google_apis/gcm/base/socket_stream.cc CloseStream(net::ERR_CONNECTION_CLOSED, base::Closure()); base 107 google_apis/gcm/base/socket_stream.cc base::Bind(&SocketInputStream::RefreshCompletionCallback, base 116 google_apis/gcm/base/socket_stream.cc RefreshCompletionCallback(base::Closure(), result); base 161 google_apis/gcm/base/socket_stream.cc const base::Closure& callback, int result) { base 199 google_apis/gcm/base/socket_stream.cc const base::Closure& callback) { base 249 google_apis/gcm/base/socket_stream.cc net::Error SocketOutputStream::Flush(const base::Closure& callback) { base 262 google_apis/gcm/base/socket_stream.cc base::Bind(&SocketOutputStream::FlushCompletionCallback, base 271 google_apis/gcm/base/socket_stream.cc FlushCompletionCallback(base::Closure(), result); base 294 google_apis/gcm/base/socket_stream.cc const base::Closure& callback, int result) { base 84 google_apis/gcm/base/socket_stream.h net::Error Refresh(const base::Closure& callback, int byte_limit); base 104 google_apis/gcm/base/socket_stream.h void RefreshCompletionCallback(const base::Closure& callback, int result); base 107 google_apis/gcm/base/socket_stream.h void CloseStream(net::Error error, const base::Closure& callback); base 125 google_apis/gcm/base/socket_stream.h base::WeakPtrFactory<SocketInputStream> weak_ptr_factory_; base 170 google_apis/gcm/base/socket_stream.h net::Error Flush(const base::Closure& callback); base 180 google_apis/gcm/base/socket_stream.h void FlushCompletionCallback(const base::Closure& callback, int result); base 198 google_apis/gcm/base/socket_stream.h base::WeakPtrFactory<SocketOutputStream> weak_ptr_factory_; base 41 google_apis/gcm/base/socket_stream_unittest.cc base::StringPiece DoInputStreamRead(uint64 bytes); base 43 google_apis/gcm/base/socket_stream_unittest.cc uint64 DoOutputStreamWrite(const base::StringPiece& write_src); base 48 google_apis/gcm/base/socket_stream_unittest.cc base::MessageLoop* message_loop() { return &message_loop_; }; base 73 google_apis/gcm/base/socket_stream_unittest.cc base::MessageLoopForIO message_loop_; base 100 google_apis/gcm/base/socket_stream_unittest.cc base::RunLoop run_loop; base 104 google_apis/gcm/base/socket_stream_unittest.cc base::StringPiece GCMSocketStreamTest::DoInputStreamRead(uint64 bytes) { base 129 google_apis/gcm/base/socket_stream_unittest.cc return base::StringPiece(static_cast<const char*>(initial_buffer), base 134 google_apis/gcm/base/socket_stream_unittest.cc const base::StringPiece& write_src) { base 153 google_apis/gcm/base/socket_stream_unittest.cc base::RunLoop run_loop; base 164 google_apis/gcm/base/socket_stream_unittest.cc base::RunLoop run_loop; base 179 google_apis/gcm/base/socket_stream_unittest.cc base::Bind(&GCMSocketStreamTest::ConnectCallback, base 180 google_apis/gcm/base/socket_stream_unittest.cc base::Unretained(this))); base 241 google_apis/gcm/base/socket_stream_unittest.cc base::MessageLoop::current()->PostTask( base 243 google_apis/gcm/base/socket_stream_unittest.cc base::Bind(&net::DelayedSocketData::ForceNextRead, base 244 google_apis/gcm/base/socket_stream_unittest.cc base::Unretained(data_provider()))); base 315 google_apis/gcm/base/socket_stream_unittest.cc DoOutputStreamWrite(base::StringPiece(kWriteData, base 330 google_apis/gcm/base/socket_stream_unittest.cc DoOutputStreamWrite(base::StringPiece(kWriteData, base 346 google_apis/gcm/base/socket_stream_unittest.cc DoOutputStreamWrite(base::StringPiece(kWriteData, base 360 google_apis/gcm/base/socket_stream_unittest.cc DoOutputStreamWrite(base::StringPiece(kWriteData, base 382 google_apis/gcm/base/socket_stream_unittest.cc DoOutputStreamWrite(base::StringPiece(kWriteData, base 391 google_apis/gcm/base/socket_stream_unittest.cc DoOutputStreamWrite(base::StringPiece(kWriteData, kWriteDataSize)); base 400 google_apis/gcm/base/socket_stream_unittest.cc DoOutputStreamWrite(base::StringPiece(kWriteData, kWriteDataSize)); base 112 google_apis/gcm/engine/checkin_request.cc base::MessageLoop::current()->PostDelayedTask( base 114 google_apis/gcm/engine/checkin_request.cc base::Bind(&CheckinRequest::RetryWithBackoff, base 33 google_apis/gcm/engine/checkin_request.h typedef base::Callback<void(uint64 android_id, uint64 security_token)> base 65 google_apis/gcm/engine/checkin_request.h base::WeakPtrFactory<CheckinRequest> weak_ptr_factory_; base 85 google_apis/gcm/engine/checkin_request_unittest.cc base::MessageLoop message_loop_; base 123 google_apis/gcm/engine/checkin_request_unittest.cc base::Bind(&CheckinRequestTest::FetcherCallback, base::Unretained(this)), base 23 google_apis/gcm/engine/connection_factory.h typedef base::Callback<void(mcs_proto::LoginRequest* login_request)> base 72 google_apis/gcm/engine/connection_factory.h virtual base::TimeTicks NextRetryAttempt() const = 0; base 34 google_apis/gcm/engine/connection_factory_impl.cc bool ShouldRestorePreviousBackoff(const base::TimeTicks& login_time, base 35 google_apis/gcm/engine/connection_factory_impl.cc const base::TimeTicks& now_ticks) { base 38 google_apis/gcm/engine/connection_factory_impl.cc base::TimeDelta::FromSeconds(kConnectionResetWindowSecs); base 83 google_apis/gcm/engine/connection_factory_impl.cc base::TimeDelta::FromMilliseconds(kReadTimeoutMs), base 86 google_apis/gcm/engine/connection_factory_impl.cc base::Bind(&ConnectionFactoryImpl::ConnectionHandlerCallback, base 119 google_apis/gcm/engine/connection_factory_impl.cc base::MessageLoop::current()->PostDelayedTask( base 121 google_apis/gcm/engine/connection_factory_impl.cc base::Bind(&ConnectionFactoryImpl::ConnectWithBackoff, base 151 google_apis/gcm/engine/connection_factory_impl.cc base::TimeDelta::FromSeconds(1), base 152 google_apis/gcm/engine/connection_factory_impl.cc base::TimeDelta::FromHours(24), base 192 google_apis/gcm/engine/connection_factory_impl.cc last_login_time_ = base::TimeTicks(); base 197 google_apis/gcm/engine/connection_factory_impl.cc base::TimeTicks ConnectionFactoryImpl::NextRetryAttempt() const { base 199 google_apis/gcm/engine/connection_factory_impl.cc return base::TimeTicks(); base 237 google_apis/gcm/engine/connection_factory_impl.cc base::Bind(&ConnectionFactoryImpl::OnProxyResolveDone, base 262 google_apis/gcm/engine/connection_factory_impl.cc base::TimeDelta read_timeout, base 273 google_apis/gcm/engine/connection_factory_impl.cc base::TimeTicks ConnectionFactoryImpl::NowTicks() { base 274 google_apis/gcm/engine/connection_factory_impl.cc return base::TimeTicks::Now(); base 382 google_apis/gcm/engine/connection_factory_impl.cc base::Bind(&ConnectionFactoryImpl::OnConnectDone, base 449 google_apis/gcm/engine/connection_factory_impl.cc base::Bind(&ConnectionFactoryImpl::OnProxyResolveDone, base 465 google_apis/gcm/engine/connection_factory_impl.cc base::MessageLoop::current()->PostTask( base 467 google_apis/gcm/engine/connection_factory_impl.cc base::Bind(&ConnectionFactoryImpl::OnProxyResolveDone, base 49 google_apis/gcm/engine/connection_factory_impl.h virtual base::TimeTicks NextRetryAttempt() const OVERRIDE; base 81 google_apis/gcm/engine/connection_factory_impl.h base::TimeDelta read_timeout, base 88 google_apis/gcm/engine/connection_factory_impl.h virtual base::TimeTicks NowTicks(); base 151 google_apis/gcm/engine/connection_factory_impl.h base::TimeTicks last_login_time_; base 159 google_apis/gcm/engine/connection_factory_impl.h base::WeakPtrFactory<ConnectionFactoryImpl> weak_ptr_factory_; base 84 google_apis/gcm/engine/connection_factory_impl_unittest.cc explicit TestBackoffEntry(base::SimpleTestTickClock* tick_clock); base 87 google_apis/gcm/engine/connection_factory_impl_unittest.cc virtual base::TimeTicks ImplGetTimeNow() const OVERRIDE; base 90 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::SimpleTestTickClock* tick_clock_; base 93 google_apis/gcm/engine/connection_factory_impl_unittest.cc TestBackoffEntry::TestBackoffEntry(base::SimpleTestTickClock* tick_clock) base 100 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks TestBackoffEntry::ImplGetTimeNow() const { base 108 google_apis/gcm/engine/connection_factory_impl_unittest.cc TestConnectionFactoryImpl(const base::Closure& finished_callback); base 119 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeDelta read_timeout, base 124 google_apis/gcm/engine/connection_factory_impl_unittest.cc virtual base::TimeTicks NowTicks() OVERRIDE; base 131 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::SimpleTestTickClock* tick_clock() { return &tick_clock_; } base 135 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::SimpleTestTickClock tick_clock_; base 144 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::Closure finished_callback_; base 150 google_apis/gcm/engine/connection_factory_impl_unittest.cc const base::Closure& finished_callback) base 161 google_apis/gcm/engine/connection_factory_impl_unittest.cc tick_clock_.Advance(base::TimeDelta::FromMilliseconds(1)); base 175 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeDelta time_till_retry = base 199 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeDelta read_timeout, base 204 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::Bind(&ReadContinuation), base 205 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::Bind(&WriteContinuation)); base 209 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks TestConnectionFactoryImpl::NowTicks() { base 255 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::MessageLoop message_loop_; base 256 google_apis/gcm/engine/connection_factory_impl_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 260 google_apis/gcm/engine/connection_factory_impl_unittest.cc : factory_(base::Bind(&ConnectionFactoryImplTest::ConnectionsComplete, base 261 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::Unretained(this))), base 262 google_apis/gcm/engine/connection_factory_impl_unittest.cc run_loop_(new base::RunLoop()) { base 272 google_apis/gcm/engine/connection_factory_impl_unittest.cc run_loop_.reset(new base::RunLoop()); base 310 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks connect_time = factory()->tick_clock()->NowTicks(); base 314 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks retry_time = factory()->NextRetryAttempt(); base 331 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks connect_time = factory()->tick_clock()->NowTicks(); base 335 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks retry_time = factory()->NextRetryAttempt(); base 351 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks initial_backoff = factory()->NextRetryAttempt(); base 359 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks next_backoff = factory()->NextRetryAttempt(); base 369 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks initial_backoff = factory()->NextRetryAttempt(); base 378 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks next_backoff = factory()->NextRetryAttempt(); base 389 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks initial_backoff = factory()->NextRetryAttempt(); base 422 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks retry_time = factory()->NextRetryAttempt(); base 438 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks connect_time = factory()->tick_clock()->NowTicks(); base 441 google_apis/gcm/engine/connection_factory_impl_unittest.cc base::TimeTicks retry_time = factory()->NextRetryAttempt(); base 37 google_apis/gcm/engine/connection_handler.h typedef base::Callback<void(scoped_ptr<google::protobuf::MessageLite>)> base 39 google_apis/gcm/engine/connection_handler.h typedef base::Closure ProtoSentCallback; base 40 google_apis/gcm/engine/connection_handler.h typedef base::Callback<void(int)> ConnectionChangedCallback; base 35 google_apis/gcm/engine/connection_handler_impl.cc base::TimeDelta read_timeout, base 98 google_apis/gcm/engine/connection_handler_impl.cc base::Bind(&ConnectionHandlerImpl::OnMessageSent, base 119 google_apis/gcm/engine/connection_handler_impl.cc base::Bind(&ConnectionHandlerImpl::OnMessageSent, base 121 google_apis/gcm/engine/connection_handler_impl.cc base::MessageLoop::current()->PostTask( base 123 google_apis/gcm/engine/connection_handler_impl.cc base::Bind(&ConnectionHandlerImpl::OnMessageSent, base 129 google_apis/gcm/engine/connection_handler_impl.cc base::Bind(&ConnectionHandlerImpl::OnTimeout, base 220 google_apis/gcm/engine/connection_handler_impl.cc base::Bind(&ConnectionHandlerImpl::WaitForData, base 296 google_apis/gcm/engine/connection_handler_impl.cc base::Bind(&ConnectionHandlerImpl::OnTimeout, base 348 google_apis/gcm/engine/connection_handler_impl.cc base::MessageLoop::current()->PostTask( base 350 google_apis/gcm/engine/connection_handler_impl.cc base::Bind(&ConnectionHandlerImpl::GetNextMessage, base 377 google_apis/gcm/engine/connection_handler_impl.cc base::MessageLoop::current()->PostTask( base 379 google_apis/gcm/engine/connection_handler_impl.cc base::Bind(&ConnectionHandlerImpl::GetNextMessage, base 29 google_apis/gcm/engine/connection_handler_impl.h base::TimeDelta read_timeout, base 96 google_apis/gcm/engine/connection_handler_impl.h const base::TimeDelta read_timeout_; base 97 google_apis/gcm/engine/connection_handler_impl.h base::OneShotTimer<ConnectionHandlerImpl> read_timeout_timer_; base 116 google_apis/gcm/engine/connection_handler_impl.h base::WeakPtrFactory<ConnectionHandlerImpl> weak_ptr_factory_; base 119 google_apis/gcm/engine/connection_handler_impl_unittest.cc base::MessageLoop* message_loop() { return &message_loop_; }; base 153 google_apis/gcm/engine/connection_handler_impl_unittest.cc base::MessageLoopForIO message_loop_; base 154 google_apis/gcm/engine/connection_handler_impl_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 182 google_apis/gcm/engine/connection_handler_impl_unittest.cc run_loop_.reset(new base::RunLoop()); base 191 google_apis/gcm/engine/connection_handler_impl_unittest.cc run_loop_.reset(new base::RunLoop()); base 198 google_apis/gcm/engine/connection_handler_impl_unittest.cc base::Bind(&GCMConnectionHandlerImplTest::ReadContinuation, base 199 google_apis/gcm/engine/connection_handler_impl_unittest.cc base::Unretained(this), base 201 google_apis/gcm/engine/connection_handler_impl_unittest.cc base::Bind(&GCMConnectionHandlerImplTest::WriteContinuation, base 202 google_apis/gcm/engine/connection_handler_impl_unittest.cc base::Unretained(this)), base 203 google_apis/gcm/engine/connection_handler_impl_unittest.cc base::Bind(&GCMConnectionHandlerImplTest::ConnectionContinuation, base 204 google_apis/gcm/engine/connection_handler_impl_unittest.cc base::Unretained(this)))); base 220 google_apis/gcm/engine/connection_handler_impl_unittest.cc run_loop_.reset(new base::RunLoop()); base 44 google_apis/gcm/engine/fake_connection_factory.cc base::TimeTicks FakeConnectionFactory::NextRetryAttempt() const { base 45 google_apis/gcm/engine/fake_connection_factory.cc return base::TimeTicks(); base 30 google_apis/gcm/engine/fake_connection_factory.h virtual base::TimeTicks NextRetryAttempt() const OVERRIDE; base 51 google_apis/gcm/engine/gcm_store.h base::Time last_checkin_time; base 55 google_apis/gcm/engine/gcm_store.h typedef base::Callback<void(scoped_ptr<LoadResult> result)> LoadCallback; base 56 google_apis/gcm/engine/gcm_store.h typedef base::Callback<void(bool success)> UpdateCallback; base 107 google_apis/gcm/engine/gcm_store.h virtual void SetLastCheckinTime(const base::Time& last_checkin_time, base 82 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Slice MakeSlice(const base::StringPiece& s) { base 89 google_apis/gcm/engine/gcm_store_impl.cc : public base::RefCountedThreadSafe<GCMStoreImpl::Backend> { base 91 google_apis/gcm/engine/gcm_store_impl.cc Backend(const base::FilePath& path, base 92 google_apis/gcm/engine/gcm_store_impl.cc scoped_refptr<base::SequencedTaskRunner> foreground_runner); base 115 google_apis/gcm/engine/gcm_store_impl.cc const base::Callback<void(bool, const AppIdToMessageCountMap&)> base 122 google_apis/gcm/engine/gcm_store_impl.cc void SetLastCheckinTime(const base::Time& last_checkin_time, base 133 google_apis/gcm/engine/gcm_store_impl.cc bool LoadLastCheckinTime(base::Time* last_checkin_time); base 135 google_apis/gcm/engine/gcm_store_impl.cc const base::FilePath path_; base 136 google_apis/gcm/engine/gcm_store_impl.cc scoped_refptr<base::SequencedTaskRunner> foreground_task_runner_; base 142 google_apis/gcm/engine/gcm_store_impl.cc const base::FilePath& path, base 143 google_apis/gcm/engine/gcm_store_impl.cc scoped_refptr<base::SequencedTaskRunner> foreground_task_runner) base 153 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(callback, base 154 google_apis/gcm/engine/gcm_store_impl.cc base::Passed(&result))); base 168 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(callback, base 169 google_apis/gcm/engine/gcm_store_impl.cc base::Passed(&result))); base 185 google_apis/gcm/engine/gcm_store_impl.cc result->last_checkin_time = base::Time::FromInternalValue(0LL); base 187 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(callback, base 188 google_apis/gcm/engine/gcm_store_impl.cc base::Passed(&result))); base 195 google_apis/gcm/engine/gcm_store_impl.cc if (base::GetFileSize(path_, &file_size)) { base 215 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(callback, base 216 google_apis/gcm/engine/gcm_store_impl.cc base::Passed(&result))); base 231 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, true)); base 235 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 245 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 253 google_apis/gcm/engine/gcm_store_impl.cc OSCrypt::EncryptString(base::Uint64ToString(device_security_token), base 255 google_apis/gcm/engine/gcm_store_impl.cc std::string android_id_str = base::Uint64ToString(device_android_id); base 265 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, true)); base 269 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 279 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 291 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, true)); base 295 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 302 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 310 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, true)); base 314 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 322 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 334 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, true)); base 338 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 346 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 363 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, true)); base 367 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 376 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 389 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, true)); base 393 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, false)); base 398 google_apis/gcm/engine/gcm_store_impl.cc const base::Callback<void(bool, const AppIdToMessageCountMap&)> base 403 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(callback, base 442 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(callback, base 449 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(callback, base 455 google_apis/gcm/engine/gcm_store_impl.cc const base::Time& last_checkin_time, base 464 google_apis/gcm/engine/gcm_store_impl.cc MakeSlice(base::Int64ToString(last_checkin_time_internal))); base 469 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, s.ok())); base 480 google_apis/gcm/engine/gcm_store_impl.cc if (!base::StringToUint64(result, android_id)) { base 490 google_apis/gcm/engine/gcm_store_impl.cc if (!base::StringToUint64(decrypted_token, security_token)) { base 580 google_apis/gcm/engine/gcm_store_impl.cc << base::IntToString(tag); base 588 google_apis/gcm/engine/gcm_store_impl.cc base::Time* last_checkin_time) { base 597 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok() && !base::StringToInt64(result, &time_internal)) base 602 google_apis/gcm/engine/gcm_store_impl.cc *last_checkin_time = base::Time::FromInternalValue(time_internal); base 608 google_apis/gcm/engine/gcm_store_impl.cc const base::FilePath& path, base 609 google_apis/gcm/engine/gcm_store_impl.cc scoped_refptr<base::SequencedTaskRunner> blocking_task_runner) base 610 google_apis/gcm/engine/gcm_store_impl.cc : backend_(new Backend(path, base::MessageLoopProxy::current())), base 620 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::Load, base 622 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::LoadContinuation, base 630 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::Close, backend_)); base 636 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::Destroy, backend_, callback)); base 644 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::SetDeviceCredentials, base 657 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::AddRegistration, base 668 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::RemoveRegistration, base 678 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::AddIncomingMessage, base 688 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::RemoveIncomingMessages, base 699 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::RemoveIncomingMessages, base 719 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::AddOutgoingMessage, base 723 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::AddOutgoingMessageContinuation, base 744 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::AddOutgoingMessage, base 755 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::RemoveOutgoingMessages, base 758 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::RemoveOutgoingMessagesContinuation, base 768 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::RemoveOutgoingMessages, base 771 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::RemoveOutgoingMessagesContinuation, base 776 google_apis/gcm/engine/gcm_store_impl.cc void GCMStoreImpl::SetLastCheckinTime(const base::Time& last_checkin_time, base 780 google_apis/gcm/engine/gcm_store_impl.cc base::Bind(&GCMStoreImpl::Backend::SetLastCheckinTime, base 14 google_apis/gcm/engine/gcm_store_impl.h namespace base { base 26 google_apis/gcm/engine/gcm_store_impl.h GCMStoreImpl(const base::FilePath& path, base 27 google_apis/gcm/engine/gcm_store_impl.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner); base 77 google_apis/gcm/engine/gcm_store_impl.h virtual void SetLastCheckinTime(const base::Time& last_checkin_time, base 108 google_apis/gcm/engine/gcm_store_impl.h scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; base 110 google_apis/gcm/engine/gcm_store_impl.h base::WeakPtrFactory<GCMStoreImpl> weak_ptr_factory_; base 58 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::MessageLoop message_loop_; base 59 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::ScopedTempDir temp_directory_; base 62 google_apis/gcm/engine/gcm_store_impl_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 67 google_apis/gcm/engine/gcm_store_impl_unittest.cc next_persistent_id_(base::Time::Now().ToInternalValue()) { base 69 google_apis/gcm/engine/gcm_store_impl_unittest.cc run_loop_.reset(new base::RunLoop()); base 84 google_apis/gcm/engine/gcm_store_impl_unittest.cc return base::Uint64ToString(next_persistent_id_++); base 95 google_apis/gcm/engine/gcm_store_impl_unittest.cc run_loop_.reset(new base::RunLoop()); base 106 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 107 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 114 google_apis/gcm/engine/gcm_store_impl_unittest.cc EXPECT_EQ(base::Time::FromInternalValue(0LL), load_result->last_checkin_time); base 120 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 121 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 127 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 131 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 132 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 142 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 143 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 146 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Time last_checkin_time = base::Time::Now(); base 150 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 154 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 155 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 164 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 165 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 175 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 186 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 190 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 191 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 218 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 219 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 227 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 232 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 233 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 241 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 246 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 247 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 259 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 260 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 273 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 278 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 279 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 296 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 301 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 302 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 313 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 314 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 323 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 332 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 337 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 338 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 355 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 359 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base::Unretained(this))); base 365 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind( base 366 google_apis/gcm/engine/gcm_store_impl_unittest.cc &GCMStoreImplTest::LoadCallback, base::Unretained(this), &load_result)); base 378 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind(&GCMStoreImplTest::LoadCallback, base 379 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this), base 388 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::IntToString(i), base 390 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base 391 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this)))); base 401 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::IntToString(i + kNumMessagesPerApp), base 403 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base 404 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this)))); base 410 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind(&GCMStoreImplTest::LoadCallback, base 411 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this), base 421 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::IntToString(i + kNumMessagesPerApp), base 423 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base 424 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this)))); base 431 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::IntToString(i), base 432 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base 433 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this))); base 443 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::IntToString(i + kNumMessagesPerApp), base 445 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base 446 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this)))); base 457 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind(&GCMStoreImplTest::LoadCallback, base 458 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this), base 461 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Destroy(base::Bind(&GCMStoreImplTest::UpdateCallback, base 462 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this))); base 472 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::IntToString(i), base 474 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Bind(&GCMStoreImplTest::UpdateCallback, base 475 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this)))); base 483 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind(&GCMStoreImplTest::LoadCallback, base 484 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this), base 491 google_apis/gcm/engine/gcm_store_impl_unittest.cc gcm_store->Load(base::Bind(&GCMStoreImplTest::LoadCallback, base 492 google_apis/gcm/engine/gcm_store_impl_unittest.cc base::Unretained(this), base 32 google_apis/gcm/engine/heartbeat_manager.cc const base::Closure& send_heartbeat_callback, base 33 google_apis/gcm/engine/heartbeat_manager.cc const base::Closure& trigger_reconnect_callback) { base 70 google_apis/gcm/engine/heartbeat_manager.cc base::TimeTicks HeartbeatManager::GetNextHeartbeatTime() const { base 74 google_apis/gcm/engine/heartbeat_manager.cc return base::TimeTicks(); base 113 google_apis/gcm/engine/heartbeat_manager.cc base::TimeDelta::FromMilliseconds( base 115 google_apis/gcm/engine/heartbeat_manager.cc base::Bind(&HeartbeatManager::OnHeartbeatTriggered, base 30 google_apis/gcm/engine/heartbeat_manager.h void Start(const base::Closure& send_heartbeat_callback, base 31 google_apis/gcm/engine/heartbeat_manager.h const base::Closure& trigger_reconnect_callback); base 49 google_apis/gcm/engine/heartbeat_manager.h base::TimeTicks GetNextHeartbeatTime() const; base 69 google_apis/gcm/engine/heartbeat_manager.h base::Timer heartbeat_timer_; base 72 google_apis/gcm/engine/heartbeat_manager.h base::Closure send_heartbeat_callback_; base 73 google_apis/gcm/engine/heartbeat_manager.h base::Closure trigger_reconnect_callback_; base 75 google_apis/gcm/engine/heartbeat_manager.h base::WeakPtrFactory<HeartbeatManager> weak_ptr_factory_; base 57 google_apis/gcm/engine/heartbeat_manager_unittest.cc base::MessageLoop message_loop_; base 67 google_apis/gcm/engine/heartbeat_manager_unittest.cc manager_->Start(base::Bind(&HeartbeatManagerTest::SendHeartbeatClosure, base 68 google_apis/gcm/engine/heartbeat_manager_unittest.cc base::Unretained(this)), base 69 google_apis/gcm/engine/heartbeat_manager_unittest.cc base::Bind(&HeartbeatManagerTest::TriggerReconnectClosure, base 70 google_apis/gcm/engine/heartbeat_manager_unittest.cc base::Unretained(this))); base 95 google_apis/gcm/engine/heartbeat_manager_unittest.cc EXPECT_GT(manager()->GetNextHeartbeatTime(), base::TimeTicks::Now()); base 104 google_apis/gcm/engine/heartbeat_manager_unittest.cc base::TimeTicks heartbeat = manager()->GetNextHeartbeatTime(); base 105 google_apis/gcm/engine/heartbeat_manager_unittest.cc EXPECT_GT(heartbeat, base::TimeTicks::Now()); base 138 google_apis/gcm/engine/heartbeat_manager_unittest.cc EXPECT_LE(manager()->GetNextHeartbeatTime() - base::TimeTicks::Now(), base 139 google_apis/gcm/engine/heartbeat_manager_unittest.cc base::TimeDelta::FromMilliseconds(kIntervalMs)); base 147 google_apis/gcm/engine/heartbeat_manager_unittest.cc base::TimeTicks heartbeat = manager()->GetNextHeartbeatTime(); base 148 google_apis/gcm/engine/heartbeat_manager_unittest.cc EXPECT_GT(heartbeat - base::TimeTicks::Now(), base 149 google_apis/gcm/engine/heartbeat_manager_unittest.cc base::TimeDelta::FromMilliseconds(kIntervalMs)); base 160 google_apis/gcm/engine/heartbeat_manager_unittest.cc EXPECT_LE(manager()->GetNextHeartbeatTime() - base::TimeTicks::Now(), base 161 google_apis/gcm/engine/heartbeat_manager_unittest.cc base::TimeDelta::FromMilliseconds(kIntervalMs)); base 168 google_apis/gcm/engine/heartbeat_manager_unittest.cc EXPECT_GT(manager()->GetNextHeartbeatTime(), base::TimeTicks::Now()); base 148 google_apis/gcm/engine/mcs_client.cc base::Clock* clock, base 182 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::ResetStateAndBuildLoginRequest, base 184 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::HandlePacketFromWire, base 186 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::MaybeSendMessage, base 219 google_apis/gcm/engine/mcs_client.cc if (!base::StringToUint64(iter->first, ×tamp)) { base 239 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, base 251 google_apis/gcm/engine/mcs_client.cc packet_info->persistent_id = base::Uint64ToString(iter->first); base 318 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, base 331 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, base 428 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, base 469 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, base 471 google_apis/gcm/engine/mcs_client.cc base::MessageLoop::current()->PostTask( base 473 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::MaybeSendMessage, base 495 google_apis/gcm/engine/mcs_client.cc base::Time::kMicrosecondsPerSecond) - sent; base 535 google_apis/gcm/engine/mcs_client.cc base::Time::kMicrosecondsPerSecond); base 594 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, base 643 google_apis/gcm/engine/mcs_client.cc base::MessageLoop::current()->PostTask( base 645 google_apis/gcm/engine/mcs_client.cc base::Bind(message_received_callback_, base 652 google_apis/gcm/engine/mcs_client.cc base::MessageLoop::current()->PostTask( base 654 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::MaybeSendMessage, base 659 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::SendHeartbeat, base 661 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnConnectionResetByHeartbeat, base 716 google_apis/gcm/engine/mcs_client.cc base::MessageLoop::current()->PostTask( base 718 google_apis/gcm/engine/mcs_client.cc base::Bind(message_received_callback_, base 748 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, base 816 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, base 844 google_apis/gcm/engine/mcs_client.cc base::Bind(&MCSClient::OnGCMUpdateFinished, base 849 google_apis/gcm/engine/mcs_client.cc return base::Uint64ToString(base::TimeTicks::Now().ToInternalValue()); base 22 google_apis/gcm/engine/mcs_client.h namespace base { base 77 google_apis/gcm/engine/mcs_client.h typedef base::Callback<void()> ErrorCallback; base 79 google_apis/gcm/engine/mcs_client.h typedef base::Callback<void(const MCSMessage& message)> base 83 google_apis/gcm/engine/mcs_client.h typedef base::Callback< base 90 google_apis/gcm/engine/mcs_client.h base::Clock* clock, base 197 google_apis/gcm/engine/mcs_client.h base::Clock* const clock_; base 262 google_apis/gcm/engine/mcs_client.h base::WeakPtrFactory<MCSClient> weak_ptr_factory_; base 67 google_apis/gcm/engine/mcs_client_unittest.cc TestMCSClient(base::Clock* clock, base 75 google_apis/gcm/engine/mcs_client_unittest.cc return base::UintToString(++next_id_); base 92 google_apis/gcm/engine/mcs_client_unittest.cc base::SimpleTestClock* clock() { return &clock_; } base 121 google_apis/gcm/engine/mcs_client_unittest.cc base::SimpleTestClock clock_; base 123 google_apis/gcm/engine/mcs_client_unittest.cc base::ScopedTempDir temp_directory_; base 124 google_apis/gcm/engine/mcs_client_unittest.cc base::MessageLoop message_loop_; base 125 google_apis/gcm/engine/mcs_client_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 139 google_apis/gcm/engine/mcs_client_unittest.cc : run_loop_(new base::RunLoop()), base 145 google_apis/gcm/engine/mcs_client_unittest.cc run_loop_.reset(new base::RunLoop()); base 153 google_apis/gcm/engine/mcs_client_unittest.cc clock_.Advance(base::TimeDelta::FromSeconds(1)); base 167 google_apis/gcm/engine/mcs_client_unittest.cc gcm_store_->Load(base::Bind( base 169 google_apis/gcm/engine/mcs_client_unittest.cc base::Unretained(mcs_client_.get()), base 170 google_apis/gcm/engine/mcs_client_unittest.cc base::Bind(&MCSClientTest::ErrorCallback, base 171 google_apis/gcm/engine/mcs_client_unittest.cc base::Unretained(this)), base 172 google_apis/gcm/engine/mcs_client_unittest.cc base::Bind(&MCSClientTest::MessageReceivedCallback, base 173 google_apis/gcm/engine/mcs_client_unittest.cc base::Unretained(this)), base 174 google_apis/gcm/engine/mcs_client_unittest.cc base::Bind(&MCSClientTest::MessageSentCallback, base::Unretained(this)))); base 176 google_apis/gcm/engine/mcs_client_unittest.cc run_loop_.reset(new base::RunLoop()); base 190 google_apis/gcm/engine/mcs_client_unittest.cc run_loop_.reset(new base::RunLoop()); base 196 google_apis/gcm/engine/mcs_client_unittest.cc base::Bind(&MCSClientTest::SetDeviceCredentialsCallback, base 197 google_apis/gcm/engine/mcs_client_unittest.cc base::Unretained(this))); base 199 google_apis/gcm/engine/mcs_client_unittest.cc run_loop_.reset(new base::RunLoop()); base 209 google_apis/gcm/engine/mcs_client_unittest.cc run_loop_.reset(new base::RunLoop()); base 214 google_apis/gcm/engine/mcs_client_unittest.cc run_loop_.reset(new base::RunLoop()); base 359 google_apis/gcm/engine/mcs_client_unittest.cc clock()->Advance(base::TimeDelta::FromSeconds(kTTLValue - 1)); base 388 google_apis/gcm/engine/mcs_client_unittest.cc clock()->Advance(base::TimeDelta::FromSeconds(kTTLValue - 1)); base 410 google_apis/gcm/engine/mcs_client_unittest.cc base::IntToString(i), base 448 google_apis/gcm/engine/mcs_client_unittest.cc id_list.push_back(base::IntToString(i)); base 489 google_apis/gcm/engine/mcs_client_unittest.cc id_list.push_back(base::IntToString(i)); base 552 google_apis/gcm/engine/mcs_client_unittest.cc id_list.push_back(base::IntToString(i)); base 577 google_apis/gcm/engine/mcs_client_unittest.cc id_list.push_back(base::IntToString(i)); base 625 google_apis/gcm/engine/mcs_client_unittest.cc id_list.push_back(base::IntToString(i)); base 678 google_apis/gcm/engine/mcs_client_unittest.cc clock()->Advance(base::TimeDelta::FromSeconds(kTTLValue + 2)); base 705 google_apis/gcm/engine/mcs_client_unittest.cc clock()->Advance(base::TimeDelta::FromSeconds(kTTLValue + 2)); base 129 google_apis/gcm/engine/registration_request.cc std::string android_id = base::Uint64ToString(request_info_.android_id); base 133 google_apis/gcm/engine/registration_request.cc base::Uint64ToString(request_info_.security_token); base 171 google_apis/gcm/engine/registration_request.cc base::MessageLoop::current()->PostDelayedTask( base 173 google_apis/gcm/engine/registration_request.cc base::Bind(&RegistrationRequest::RetryWithBackoff, base 54 google_apis/gcm/engine/registration_request.h typedef base::Callback<void(Status status, base 110 google_apis/gcm/engine/registration_request.h base::WeakPtrFactory<RegistrationRequest> weak_ptr_factory_; base 80 google_apis/gcm/engine/registration_request_unittest.cc base::MessageLoop message_loop_; base 104 google_apis/gcm/engine/registration_request_unittest.cc base::StringTokenizer tokenizer(sender_ids, ","); base 114 google_apis/gcm/engine/registration_request_unittest.cc base::Bind(&RegistrationRequestTest::RegistrationCallback, base 115 google_apis/gcm/engine/registration_request_unittest.cc base::Unretained(this)), base 165 google_apis/gcm/engine/registration_request_unittest.cc base::StringTokenizer auth_tokenizer(auth_header, " :"); base 169 google_apis/gcm/engine/registration_request_unittest.cc EXPECT_EQ(base::Uint64ToString(kAndroidId), auth_tokenizer.token()); base 171 google_apis/gcm/engine/registration_request_unittest.cc EXPECT_EQ(base::Uint64ToString(kSecurityToken), auth_tokenizer.token()); base 176 google_apis/gcm/engine/registration_request_unittest.cc expected_pairs["device"] = base::Uint64ToString(kAndroidId); base 180 google_apis/gcm/engine/registration_request_unittest.cc base::StringTokenizer data_tokenizer(upload_data, "&="); base 203 google_apis/gcm/engine/registration_request_unittest.cc base::StringTokenizer data_tokenizer(upload_data, "&="); base 212 google_apis/gcm/engine/registration_request_unittest.cc base::StringTokenizer sender_tokenizer(senders, ","); base 138 google_apis/gcm/engine/unregistration_request.cc std::string android_id = base::Uint64ToString(request_info_.android_id); base 141 google_apis/gcm/engine/unregistration_request.cc base::Uint64ToString(request_info_.security_token); base 173 google_apis/gcm/engine/unregistration_request.cc base::MessageLoop::current()->PostDelayedTask( base 175 google_apis/gcm/engine/unregistration_request.cc base::Bind(&UnregistrationRequest::RetryWithBackoff, base 52 google_apis/gcm/engine/unregistration_request.h typedef base::Callback<void(Status success)> UnregistrationCallback; base 97 google_apis/gcm/engine/unregistration_request.h base::WeakPtrFactory<UnregistrationRequest> weak_ptr_factory_; base 71 google_apis/gcm/engine/unregistration_request_unittest.cc base::MessageLoop message_loop_; base 96 google_apis/gcm/engine/unregistration_request_unittest.cc base::Bind(&UnregistrationRequestTest::UnregistrationCallback, base 97 google_apis/gcm/engine/unregistration_request_unittest.cc base::Unretained(this)), base 131 google_apis/gcm/engine/unregistration_request_unittest.cc base::StringTokenizer auth_tokenizer(auth_header, " :"); base 135 google_apis/gcm/engine/unregistration_request_unittest.cc EXPECT_EQ(base::Uint64ToString(kAndroidId), auth_tokenizer.token()); base 137 google_apis/gcm/engine/unregistration_request_unittest.cc EXPECT_EQ(base::Uint64ToString(kSecurityToken), auth_tokenizer.token()); base 144 google_apis/gcm/engine/unregistration_request_unittest.cc expected_pairs["device"] = base::Uint64ToString(kAndroidId); base 150 google_apis/gcm/engine/unregistration_request_unittest.cc base::StringTokenizer data_tokenizer(upload_data, "&="); base 17 google_apis/gcm/gcm_client.h namespace base { base 168 google_apis/gcm/gcm_client.h const base::FilePath& store_path, base 170 google_apis/gcm/gcm_client.h const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, base 124 google_apis/gcm/gcm_client_impl.cc scoped_ptr<base::Clock> GCMInternalsBuilder::BuildClock() { base 125 google_apis/gcm/gcm_client_impl.cc return make_scoped_ptr<base::Clock>(new base::DefaultClock()); base 129 google_apis/gcm/gcm_client_impl.cc const base::FilePath& path, base 130 google_apis/gcm/gcm_client_impl.cc const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner) { base 137 google_apis/gcm/gcm_client_impl.cc base::Clock* clock, base 175 google_apis/gcm/gcm_client_impl.cc const base::FilePath& path, base 177 google_apis/gcm/gcm_client_impl.cc const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, base 207 google_apis/gcm/gcm_client_impl.cc gcm_store_->Load(base::Bind(&GCMClientImpl::OnLoadCompleted, base 223 google_apis/gcm/gcm_client_impl.cc base::Time last_checkin_time = result->last_checkin_time; base 254 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::OnMCSError, weak_ptr_factory_.GetWeakPtr()), base 255 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::OnMessageReceivedFromMCS, base 257 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::OnMessageSentToMCS, base 270 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::SetDeviceCredentialsCallback, base 297 google_apis/gcm/gcm_client_impl.cc new CheckinRequest(base::Bind(&GCMClientImpl::OnCheckinCompleted, base 333 google_apis/gcm/gcm_client_impl.cc base::Time last_checkin_time = clock_->Now(); base 336 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::SetLastCheckinTimeCallback, base 343 google_apis/gcm/gcm_client_impl.cc const base::Time& last_checkin_time) { base 344 google_apis/gcm/gcm_client_impl.cc base::TimeDelta time_to_next_checkin = last_checkin_time + base 345 google_apis/gcm/gcm_client_impl.cc base::TimeDelta::FromSeconds(kDefaultCheckinInterval) - clock_->Now(); base 346 google_apis/gcm/gcm_client_impl.cc if (time_to_next_checkin < base::TimeDelta::FromSeconds(0L)) base 347 google_apis/gcm/gcm_client_impl.cc time_to_next_checkin = base::TimeDelta::FromSeconds(0L); base 350 google_apis/gcm/gcm_client_impl.cc base::MessageLoop::current()->PostDelayedTask( base 352 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::StartCheckin, base 384 google_apis/gcm/gcm_client_impl.cc gcm_store_->Destroy(base::Bind(&GCMClientImpl::OnGCMStoreDestroyed, base 413 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::OnRegisterCompleted, base 453 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::UpdateRegistrationCallback, base 475 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::UpdateRegistrationCallback, base 487 google_apis/gcm/gcm_client_impl.cc base::Bind(&GCMClientImpl::OnUnregisterCompleted, base 526 google_apis/gcm/gcm_client_impl.cc base::Time::kMicrosecondsPerSecond); base 28 google_apis/gcm/gcm_client_impl.h namespace base { base 50 google_apis/gcm/gcm_client_impl.h virtual scoped_ptr<base::Clock> BuildClock(); base 52 google_apis/gcm/gcm_client_impl.h const base::FilePath& path, base 53 google_apis/gcm/gcm_client_impl.h const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner); base 56 google_apis/gcm/gcm_client_impl.h base::Clock* clock, base 78 google_apis/gcm/gcm_client_impl.h const base::FilePath& store_path, base 80 google_apis/gcm/gcm_client_impl.h const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, base 177 google_apis/gcm/gcm_client_impl.h void SchedulePeriodicCheckin(const base::Time& last_checkin_time); base 228 google_apis/gcm/gcm_client_impl.h scoped_ptr<base::Clock> clock_; base 265 google_apis/gcm/gcm_client_impl.h base::WeakPtrFactory<GCMClientImpl> weak_ptr_factory_; base 68 google_apis/gcm/gcm_client_impl_unittest.cc FakeMCSClient(base::Clock* clock, base 89 google_apis/gcm/gcm_client_impl_unittest.cc FakeMCSClient::FakeMCSClient(base::Clock* clock, base 120 google_apis/gcm/gcm_client_impl_unittest.cc virtual scoped_ptr<base::Clock> BuildClock() OVERRIDE; base 122 google_apis/gcm/gcm_client_impl_unittest.cc const base::FilePath& path, base 123 google_apis/gcm/gcm_client_impl_unittest.cc const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner) base 127 google_apis/gcm/gcm_client_impl_unittest.cc base::Clock* clock, base 141 google_apis/gcm/gcm_client_impl_unittest.cc scoped_ptr<base::Clock> FakeGCMInternalsBuilder::BuildClock() { base 142 google_apis/gcm/gcm_client_impl_unittest.cc return make_scoped_ptr<base::Clock>(new base::SimpleTestClock()); base 146 google_apis/gcm/gcm_client_impl_unittest.cc const base::FilePath& path, base 147 google_apis/gcm/gcm_client_impl_unittest.cc const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner) { base 157 google_apis/gcm/gcm_client_impl_unittest.cc base::Clock* clock, base 251 google_apis/gcm/gcm_client_impl_unittest.cc base::SimpleTestClock* clock() const { base 252 google_apis/gcm/gcm_client_impl_unittest.cc return reinterpret_cast<base::SimpleTestClock*>(gcm_client_->clock_.get()); base 266 google_apis/gcm/gcm_client_impl_unittest.cc base::MessageLoop message_loop_; base 267 google_apis/gcm/gcm_client_impl_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 271 google_apis/gcm/gcm_client_impl_unittest.cc base::ScopedTempDir temp_directory_; base 286 google_apis/gcm/gcm_client_impl_unittest.cc run_loop_.reset(new base::RunLoop); base 294 google_apis/gcm/gcm_client_impl_unittest.cc run_loop_.reset(new base::RunLoop()); base 299 google_apis/gcm/gcm_client_impl_unittest.cc run_loop_.reset(new base::RunLoop()); base 369 google_apis/gcm/gcm_client_impl_unittest.cc clock()->Advance(base::TimeDelta::FromMilliseconds(1)); base 439 google_apis/gcm/gcm_client_impl_unittest.cc return clock()->Now().ToInternalValue() / base::Time::kMicrosecondsPerSecond; base 145 google_apis/gcm/tools/mcs_probe.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy) base 216 google_apis/gcm/tools/mcs_probe.cc base::DefaultClock clock_; base 220 google_apis/gcm/tools/mcs_probe.cc base::FilePath gcm_store_path_; base 230 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<base::Value> net_constants_; base 248 google_apis/gcm/tools/mcs_probe.cc base::Thread file_thread_; base 250 google_apis/gcm/tools/mcs_probe.cc scoped_ptr<base::RunLoop> run_loop_; base 257 google_apis/gcm/tools/mcs_probe.cc gcm_store_path_(base::FilePath(FILE_PATH_LITERAL("gcm_store"))), base 267 google_apis/gcm/tools/mcs_probe.cc base::StringToUint64(command_line.GetSwitchValueASCII(kAndroidIdSwitch), base 271 google_apis/gcm/tools/mcs_probe.cc base::StringToUint64(command_line.GetSwitchValueASCII(kSecretSwitch), base 280 google_apis/gcm/tools/mcs_probe.cc base::StringToInt(command_line.GetSwitchValueASCII(kServerPortSwitch), base 309 google_apis/gcm/tools/mcs_probe.cc run_loop_.reset(new base::RunLoop()); base 310 google_apis/gcm/tools/mcs_probe.cc gcm_store_->Load(base::Bind(&MCSProbe::LoadCallback, base 311 google_apis/gcm/tools/mcs_probe.cc base::Unretained(this))); base 323 google_apis/gcm/tools/mcs_probe.cc base::Bind(&MCSProbe::UpdateCallback, base 324 google_apis/gcm/tools/mcs_probe.cc base::Unretained(this))); base 331 google_apis/gcm/tools/mcs_probe.cc base::Bind(&MCSProbe::ErrorCallback, base::Unretained(this)), base 332 google_apis/gcm/tools/mcs_probe.cc base::Bind(&MessageReceivedCallback), base 333 google_apis/gcm/tools/mcs_probe.cc base::Bind(&MessageSentCallback), base 351 google_apis/gcm/tools/mcs_probe.cc base::FilePath log_path = command_line_.GetSwitchValuePath(kLogFileSwitch); base 374 google_apis/gcm/tools/mcs_probe.cc base::WorkerPool::GetTaskRunner(true))); base 427 google_apis/gcm/tools/mcs_probe.cc base::Bind(&MCSProbe::OnCheckInCompleted, base::Unretained(this)), base 447 google_apis/gcm/tools/mcs_probe.cc base::Bind(&MCSProbe::UpdateCallback, base 448 google_apis/gcm/tools/mcs_probe.cc base::Unretained(this))); base 460 google_apis/gcm/tools/mcs_probe.cc base::AtExitManager exit_manager; base 467 google_apis/gcm/tools/mcs_probe.cc base::MessageLoopForIO message_loop; base 472 google_apis/gcm/tools/mcs_probe.cc base::MessageLoop::current()->message_loop_proxy()); base 479 google_apis/gcm/tools/mcs_probe.cc base::RunLoop run_loop; base 79 google_apis/google_api_keys.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 192 google_apis/google_api_keys.cc base::Environment* environment, base 233 google_apis/google_api_keys.cc static base::LazyInstance<APIKeyCache> g_api_key_cache = base 55 google_apis/google_api_keys_unittest.cc GoogleAPIKeysTest() : env_(base::Environment::Create()) { base 94 google_apis/google_api_keys_unittest.cc scoped_ptr<base::Environment> env_; base 450 google_apis/google_api_keys_unittest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 16 gpu/angle_unittest_main.cc base::AtExitManager exit_manager; base 114 gpu/command_buffer/client/buffer_tracker.h typedef base::hash_map<GLuint, Buffer*> BufferMap; base 61 gpu/command_buffer/client/buffer_tracker_unittest.cc helper_.get(), base::Bind(&EmptyPoll), MappedMemoryManager::kNoLimit)); base 76 gpu/command_buffer/client/client_test_helper.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory()); base 100 gpu/command_buffer/client/client_test_helper.h const base::Closure& callback)); base 101 gpu/command_buffer/client/client_test_helper.h MOCK_METHOD1(Echo, void(const base::Closure& callback)); base 103 gpu/command_buffer/client/client_test_helper.h MOCK_METHOD2(SignalQuery, void(uint32 query, const base::Closure& callback)); base 100 gpu/command_buffer/client/cmd_buffer_helper_test.cc command_buffer_->SetPutOffsetChangeCallback(base::Bind( base 101 gpu/command_buffer/client/cmd_buffer_helper_test.cc &GpuScheduler::PutChanged, base::Unretained(gpu_scheduler_.get()))); base 102 gpu/command_buffer/client/cmd_buffer_helper_test.cc command_buffer_->SetGetBufferChangeCallback(base::Bind( base 103 gpu/command_buffer/client/cmd_buffer_helper_test.cc &GpuScheduler::SetGetBuffer, base::Unretained(gpu_scheduler_.get()))); base 115 gpu/command_buffer/client/cmd_buffer_helper_test.cc base::MessageLoop::current()->RunUntilIdle(); base 253 gpu/command_buffer/client/cmd_buffer_helper_test.cc base::mac::ScopedNSAutoreleasePool autorelease_pool_; base 255 gpu/command_buffer/client/cmd_buffer_helper_test.cc base::MessageLoop message_loop_; base 19 gpu/command_buffer/client/context_support.h const base::Closure& callback) = 0; base 23 gpu/command_buffer/client/context_support.h virtual void SignalQuery(uint32 query, const base::Closure& callback) = 0; base 35 gpu/command_buffer/client/context_support.h const base::Closure& callback) = 0; base 38 gpu/command_buffer/client/fenced_allocator.cc const base::Closure& poll_callback) base 40 gpu/command_buffer/client/fenced_allocator.h const base::Closure& poll_callback); base 141 gpu/command_buffer/client/fenced_allocator.h base::Closure poll_callback_; base 154 gpu/command_buffer/client/fenced_allocator.h const base::Closure& poll_callback, base 155 gpu/command_buffer/client/fenced_allocator.h void* base) base 157 gpu/command_buffer/client/fenced_allocator.h base_(base) { } base 62 gpu/command_buffer/client/fenced_allocator_test.cc command_buffer_->SetPutOffsetChangeCallback(base::Bind( base 63 gpu/command_buffer/client/fenced_allocator_test.cc &GpuScheduler::PutChanged, base::Unretained(gpu_scheduler_.get()))); base 64 gpu/command_buffer/client/fenced_allocator_test.cc command_buffer_->SetGetBufferChangeCallback(base::Bind( base 65 gpu/command_buffer/client/fenced_allocator_test.cc &GpuScheduler::SetGetBuffer, base::Unretained(gpu_scheduler_.get()))); base 78 gpu/command_buffer/client/fenced_allocator_test.cc base::mac::ScopedNSAutoreleasePool autorelease_pool_; base 80 gpu/command_buffer/client/fenced_allocator_test.cc base::MessageLoop message_loop_; base 107 gpu/command_buffer/client/fenced_allocator_test.cc base::Bind(&EmptyPoll))); base 112 gpu/command_buffer/client/fenced_allocator_test.cc base::MessageLoop::current()->RunUntilIdle(); base 411 gpu/command_buffer/client/fenced_allocator_test.cc base::MessageLoop::current()->RunUntilIdle(); base 421 gpu/command_buffer/client/fenced_allocator_test.cc base::Bind(&FencedAllocatorPollTest::MockedPoll, base 422 gpu/command_buffer/client/fenced_allocator_test.cc base::Unretained(this)))); base 438 gpu/command_buffer/client/fenced_allocator_test.cc base::Closure free_mem1_closure = base 439 gpu/command_buffer/client/fenced_allocator_test.cc base::Bind(&FencedAllocator::Free, base 440 gpu/command_buffer/client/fenced_allocator_test.cc base::Unretained(allocator.get()), base 443 gpu/command_buffer/client/fenced_allocator_test.cc .WillOnce(InvokeWithoutArgs(&free_mem1_closure, &base::Closure::Run)) base 472 gpu/command_buffer/client/fenced_allocator_test.cc buffer_.reset(static_cast<char*>(base::AlignedAlloc( base 476 gpu/command_buffer/client/fenced_allocator_test.cc base::Bind(&EmptyPoll), base 482 gpu/command_buffer/client/fenced_allocator_test.cc base::MessageLoop::current()->RunUntilIdle(); base 490 gpu/command_buffer/client/fenced_allocator_test.cc scoped_ptr<char, base::AlignedFreeDeleter> buffer_; base 49 gpu/command_buffer/client/gl_in_process_context.cc public base::SupportsWeakPtr<GLInProcessContextImpl> { base 66 gpu/command_buffer/client/gl_in_process_context.cc virtual void SetContextLostCallback(const base::Closure& callback) OVERRIDE; base 77 gpu/command_buffer/client/gl_in_process_context.cc void OnSignalSyncPoint(const base::Closure& callback); base 85 gpu/command_buffer/client/gl_in_process_context.cc base::Closure context_lost_callback_; base 90 gpu/command_buffer/client/gl_in_process_context.cc base::LazyInstance<base::Lock> g_all_shared_contexts_lock = base 92 gpu/command_buffer/client/gl_in_process_context.cc base::LazyInstance<std::set<GLInProcessContextImpl*> > g_all_shared_contexts = base 100 gpu/command_buffer/client/gl_in_process_context.cc base::AutoLock lock(g_all_shared_contexts_lock.Get()); base 111 gpu/command_buffer/client/gl_in_process_context.cc const base::Closure& callback) { base 195 gpu/command_buffer/client/gl_in_process_context.cc base::Closure wrapped_callback = base 196 gpu/command_buffer/client/gl_in_process_context.cc base::Bind(&GLInProcessContextImpl::OnContextLost, AsWeakPtr()); base 199 gpu/command_buffer/client/gl_in_process_context.cc scoped_ptr<base::AutoLock> scoped_shared_context_lock; base 204 gpu/command_buffer/client/gl_in_process_context.cc new base::AutoLock(g_all_shared_contexts_lock.Get())); base 74 gpu/command_buffer/client/gl_in_process_context.h virtual void SetContextLostCallback(const base::Closure& callback) = 0; base 164 gpu/command_buffer/client/gles2_implementation.cc base::Bind(&GLES2Implementation::PollAsyncUploads, base 168 gpu/command_buffer/client/gles2_implementation.cc base::Unretained(this)), base 351 gpu/command_buffer/client/gles2_implementation.cc void GLES2Implementation::RunIfContextNotLost(const base::Closure& callback) { base 357 gpu/command_buffer/client/gles2_implementation.cc const base::Closure& callback) { base 360 gpu/command_buffer/client/gles2_implementation.cc base::Bind(&GLES2Implementation::RunIfContextNotLost, base 366 gpu/command_buffer/client/gles2_implementation.cc const base::Closure& callback) { base 372 gpu/command_buffer/client/gles2_implementation.cc base::Bind(&GLES2Implementation::RunIfContextNotLost, base 2822 gpu/command_buffer/client/gles2_implementation.cc base::Bind(&GLES2Implementation::OnSwapBuffersComplete, base 2831 gpu/command_buffer/client/gles2_implementation.cc gpu_control_->Echo(base::Bind(&GLES2Implementation::OnSwapBuffersComplete, base 2836 gpu/command_buffer/client/gles2_implementation.cc const base::Closure& swap_buffers_complete_callback) { base 222 gpu/command_buffer/client/gles2_implementation.h const base::Closure& swap_buffers_complete_callback) base 245 gpu/command_buffer/client/gles2_implementation.h const base::Closure& callback) OVERRIDE; base 247 gpu/command_buffer/client/gles2_implementation.h const base::Closure& callback) OVERRIDE; base 596 gpu/command_buffer/client/gles2_implementation.h void RunIfContextNotLost(const base::Closure& callback); base 771 gpu/command_buffer/client/gles2_implementation.h base::Closure swap_buffers_complete_callback_; base 773 gpu/command_buffer/client/gles2_implementation.h base::WeakPtrFactory<GLES2Implementation> weak_ptr_factory_; base 2965 gpu/command_buffer/client/gles2_implementation_unittest.cc base::subtle::Atomic32 old_submit_count = query->submit_count(); base 32 gpu/command_buffer/client/gpu_memory_buffer_tracker.h typedef base::hash_map<int32, gfx::GpuMemoryBuffer*> BufferMap; base 19 gpu/command_buffer/client/mapped_memory.cc const base::Closure& poll_callback) base 27 gpu/command_buffer/client/mapped_memory.cc const base::Closure& poll_callback, base 25 gpu/command_buffer/client/mapped_memory.h const base::Closure& poll_callback); base 126 gpu/command_buffer/client/mapped_memory.h const base::Closure& poll_callback, base 191 gpu/command_buffer/client/mapped_memory.h base::Closure poll_callback_; base 59 gpu/command_buffer/client/mapped_memory_unittest.cc command_buffer_->SetPutOffsetChangeCallback(base::Bind( base 60 gpu/command_buffer/client/mapped_memory_unittest.cc &GpuScheduler::PutChanged, base::Unretained(gpu_scheduler_.get()))); base 61 gpu/command_buffer/client/mapped_memory_unittest.cc command_buffer_->SetGetBufferChangeCallback(base::Bind( base 62 gpu/command_buffer/client/mapped_memory_unittest.cc &GpuScheduler::SetGetBuffer, base::Unretained(gpu_scheduler_.get()))); base 75 gpu/command_buffer/client/mapped_memory_unittest.cc base::mac::ScopedNSAutoreleasePool autorelease_pool_; base 77 gpu/command_buffer/client/mapped_memory_unittest.cc base::MessageLoop message_loop_; base 103 gpu/command_buffer/client/mapped_memory_unittest.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory()); base 109 gpu/command_buffer/client/mapped_memory_unittest.cc base::Bind(&EmptyPoll))); base 114 gpu/command_buffer/client/mapped_memory_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 169 gpu/command_buffer/client/mapped_memory_unittest.cc helper_.get(), base::Bind(&EmptyPoll), MappedMemoryManager::kNoLimit)); base 174 gpu/command_buffer/client/mapped_memory_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 330 gpu/command_buffer/client/mapped_memory_unittest.cc helper_.get(), base::Bind(&EmptyPoll), kChunkSize)); base 359 gpu/command_buffer/client/mapped_memory_unittest.cc helper_.get(), base::Bind(&EmptyPoll), kSize)); base 423 gpu/command_buffer/client/mapped_memory_unittest.cc base::Bind(&Poll, this, &unmanaged_memory_list), base 224 gpu/command_buffer/client/program_info_manager.cc mutable base::Lock lock_; base 397 gpu/command_buffer/client/program_info_manager.cc base::AutoLock auto_lock(lock_); base 406 gpu/command_buffer/client/program_info_manager.cc base::AutoLock auto_lock(lock_); base 412 gpu/command_buffer/client/program_info_manager.cc base::AutoLock auto_lock(lock_); base 422 gpu/command_buffer/client/program_info_manager.cc base::AutoLock auto_lock(lock_); base 432 gpu/command_buffer/client/program_info_manager.cc base::AutoLock auto_lock(lock_); base 444 gpu/command_buffer/client/program_info_manager.cc base::AutoLock auto_lock(lock_); base 479 gpu/command_buffer/client/program_info_manager.cc base::AutoLock auto_lock(lock_); base 150 gpu/command_buffer/client/query_tracker.cc if (base::subtle::Acquire_Load(&info_.sync->process_count) == base 251 gpu/command_buffer/client/query_tracker.cc base::subtle::Acquire_Load(&query->info_.sync->process_count) != base 119 gpu/command_buffer/client/query_tracker.h base::subtle::Atomic32 submit_count() const { return submit_count_; } base 148 gpu/command_buffer/client/query_tracker.h base::subtle::Atomic32 submit_count_; base 165 gpu/command_buffer/client/query_tracker.h typedef base::hash_map<GLuint, Query*> QueryMap; base 37 gpu/command_buffer/client/query_tracker_unittest.cc helper_.get(), base::Bind(&EmptyPoll), MappedMemoryManager::kNoLimit)); base 91 gpu/command_buffer/client/query_tracker_unittest.cc helper_.get(), base::Bind(&EmptyPoll), MappedMemoryManager::kNoLimit)); base 10 gpu/command_buffer/client/ref_counted.h using base::RefCountedThreadSafe; base 123 gpu/command_buffer/client/ring_buffer.h void* base) base 125 gpu/command_buffer/client/ring_buffer.h base_(static_cast<int8*>(base) - base_offset) { base 83 gpu/command_buffer/client/ring_buffer_test.cc command_buffer_->SetPutOffsetChangeCallback(base::Bind( base 84 gpu/command_buffer/client/ring_buffer_test.cc &GpuScheduler::PutChanged, base::Unretained(gpu_scheduler_.get()))); base 85 gpu/command_buffer/client/ring_buffer_test.cc command_buffer_->SetGetBufferChangeCallback(base::Bind( base 86 gpu/command_buffer/client/ring_buffer_test.cc &GpuScheduler::SetGetBuffer, base::Unretained(gpu_scheduler_.get()))); base 99 gpu/command_buffer/client/ring_buffer_test.cc base::mac::ScopedNSAutoreleasePool autorelease_pool_; base 101 gpu/command_buffer/client/ring_buffer_test.cc base::MessageLoop message_loop_; base 130 gpu/command_buffer/client/ring_buffer_test.cc base::MessageLoop::current()->RunUntilIdle(); base 229 gpu/command_buffer/client/ring_buffer_test.cc base::MessageLoop::current()->RunUntilIdle(); base 35 gpu/command_buffer/client/share_group.cc base::AutoLock auto_lock(lock_); base 52 gpu/command_buffer/client/share_group.cc base::AutoLock auto_lock(lock_); base 71 gpu/command_buffer/client/share_group.cc base::AutoLock auto_lock(lock_); base 78 gpu/command_buffer/client/share_group.cc base::Lock lock_; base 93 gpu/command_buffer/client/share_group.cc base::AutoLock auto_lock(lock_); base 125 gpu/command_buffer/client/share_group.cc base::AutoLock auto_lock(lock_); base 152 gpu/command_buffer/client/share_group.cc base::AutoLock auto_lock(lock_); base 161 gpu/command_buffer/client/share_group.cc base::AutoLock auto_lock(lock_); base 187 gpu/command_buffer/client/share_group.cc base::Lock lock_; base 202 gpu/command_buffer/client/share_group.cc base::AutoLock auto_lock(lock_); base 226 gpu/command_buffer/client/share_group.cc base::Lock lock_; base 28 gpu/command_buffer/client/transfer_buffer.h void* base) base 29 gpu/command_buffer/client/transfer_buffer.h : RingBufferWrapper(base_offset, size, helper, base), base 96 gpu/command_buffer/client/vertex_array_object_manager.h typedef base::hash_map<GLuint, VertexArrayObject*> VertexArrayObjectMap; base 13 gpu/command_buffer/common/buffer.cc scoped_ptr<base::SharedMemory> shared_memory, base 35 gpu/command_buffer/common/buffer.cc base::CheckedNumeric<uint32> end = data_offset; base 14 gpu/command_buffer/common/buffer.h namespace base { base 29 gpu/command_buffer/common/buffer.h SharedMemoryBufferBacking(scoped_ptr<base::SharedMemory> shared_memory, base 34 gpu/command_buffer/common/buffer.h base::SharedMemory* shared_memory() { return shared_memory_.get(); } base 37 gpu/command_buffer/common/buffer.h scoped_ptr<base::SharedMemory> shared_memory_; base 43 gpu/command_buffer/common/buffer.h class GPU_EXPORT Buffer : public base::RefCountedThreadSafe<Buffer> { base 55 gpu/command_buffer/common/buffer.h friend class base::RefCountedThreadSafe<Buffer>; base 66 gpu/command_buffer/common/buffer.h scoped_ptr<base::SharedMemory> shared_memory, base 73 gpu/command_buffer/common/buffer.h scoped_ptr<base::SharedMemory> shared_memory, base 12 gpu/command_buffer/common/command_buffer.h namespace base { base 11 gpu/command_buffer/common/command_buffer_mock.h namespace base { base 18 gpu/command_buffer/common/command_buffer_shared.h base::subtle::Atomic32 reading_; base 19 gpu/command_buffer/common/command_buffer_shared.h base::subtle::Atomic32 latest_; base 20 gpu/command_buffer/common/command_buffer_shared.h base::subtle::Atomic32 slots_[2]; base 30 gpu/command_buffer/common/command_buffer_shared.h base::subtle::NoBarrier_Store(&reading_, 0); base 31 gpu/command_buffer/common/command_buffer_shared.h base::subtle::NoBarrier_Store(&latest_, 0); base 32 gpu/command_buffer/common/command_buffer_shared.h base::subtle::NoBarrier_Store(&slots_[0], 0); base 33 gpu/command_buffer/common/command_buffer_shared.h base::subtle::Release_Store(&slots_[1], 0); base 34 gpu/command_buffer/common/command_buffer_shared.h base::subtle::MemoryBarrier(); base 38 gpu/command_buffer/common/command_buffer_shared.h int towrite = !base::subtle::Acquire_Load(&reading_); base 39 gpu/command_buffer/common/command_buffer_shared.h int index = !base::subtle::Acquire_Load(&slots_[towrite]); base 41 gpu/command_buffer/common/command_buffer_shared.h base::subtle::Release_Store(&slots_[towrite], index); base 42 gpu/command_buffer/common/command_buffer_shared.h base::subtle::Release_Store(&latest_, towrite); base 43 gpu/command_buffer/common/command_buffer_shared.h base::subtle::MemoryBarrier(); base 49 gpu/command_buffer/common/command_buffer_shared.h base::subtle::MemoryBarrier(); base 50 gpu/command_buffer/common/command_buffer_shared.h int toread = !!base::subtle::Acquire_Load(&latest_); base 51 gpu/command_buffer/common/command_buffer_shared.h base::subtle::Release_Store(&reading_, toread); base 52 gpu/command_buffer/common/command_buffer_shared.h base::subtle::MemoryBarrier(); base 53 gpu/command_buffer/common/command_buffer_shared.h int index = !!base::subtle::Acquire_Load(&slots_[toread]); base 60 gpu/command_buffer/common/command_buffer_shared_test.cc base::Thread consumer("Reader Thread"); base 66 gpu/command_buffer/common/command_buffer_shared_test.cc FROM_HERE, base::Bind(&WriteToState, buffer.get(), base 151 gpu/command_buffer/common/gles2_cmd_format.h base::subtle::Atomic32 process_count; base 157 gpu/command_buffer/common/gles2_cmd_format.h base::subtle::Release_Store(&async_upload_token, 0); base 162 gpu/command_buffer/common/gles2_cmd_format.h base::subtle::Release_Store(&async_upload_token, token); base 167 gpu/command_buffer/common/gles2_cmd_format.h uint32_t current_token = base::subtle::Acquire_Load(&async_upload_token); base 171 gpu/command_buffer/common/gles2_cmd_format.h base::subtle::Atomic32 async_upload_token; base 65 gpu/command_buffer/common/gles2_cmd_format_test.cc base::Thread thread("GLES2FormatUploadSyncTest - Fake Upload Thread"); base 88 gpu/command_buffer/common/gles2_cmd_format_test.cc base::PlatformThread::YieldCurrentThread(); base 101 gpu/command_buffer/common/gles2_cmd_format_test.cc base::Bind(&SignalCompletion, base 108 gpu/command_buffer/common/gles2_cmd_format_test.cc base::WaitableEvent waitable(false, false); base 110 gpu/command_buffer/common/gles2_cmd_format_test.cc base::Bind(&base::WaitableEvent::Signal, base 111 gpu/command_buffer/common/gles2_cmd_format_test.cc base::Unretained(&waitable))); base 48 gpu/command_buffer/common/gpu_control.h const base::Closure& callback) = 0; base 52 gpu/command_buffer/common/gpu_control.h virtual void SignalQuery(uint32 query, const base::Closure& callback) = 0; base 59 gpu/command_buffer/common/gpu_control.h virtual void Echo(const base::Closure& callback) = 0; base 38 gpu/command_buffer/common/mailbox.cc base::RandBytes(result.name, sizeof(result.name)); base 15 gpu/command_buffer/common/time.h return (base::TimeTicks::HighResNow() - base::TimeTicks()).InMicroseconds(); base 18 gpu/command_buffer/common/unittest_main.cc class NoAtExitBaseTestSuite : public base::TestSuite { base 21 gpu/command_buffer/common/unittest_main.cc : base::TestSuite(argc, argv, false) { base 25 gpu/command_buffer/common/unittest_main.cc base::TestSuite::Initialize(); base 43 gpu/command_buffer/common/unittest_main.cc base::AtExitManager exit_manager; base 47 gpu/command_buffer/common/unittest_main.cc return base::LaunchUnitTests(argc, base 49 gpu/command_buffer/common/unittest_main.cc base::Bind(&RunTestSuite, argc, argv)); base 25 gpu/command_buffer/service/async_pixel_transfer_delegate.cc void AsyncPixelTransferUploadStats::AddUpload(base::TimeDelta transfer_time) { base 26 gpu/command_buffer/service/async_pixel_transfer_delegate.cc base::AutoLock scoped_lock(lock_); base 32 gpu/command_buffer/service/async_pixel_transfer_delegate.cc base::TimeDelta* total_texture_upload_time) { base 33 gpu/command_buffer/service/async_pixel_transfer_delegate.cc base::AutoLock scoped_lock(lock_); base 18 gpu/command_buffer/service/async_pixel_transfer_delegate.h namespace base { base 69 gpu/command_buffer/service/async_pixel_transfer_delegate.h : public base::RefCountedThreadSafe<AsyncPixelTransferUploadStats> { base 73 gpu/command_buffer/service/async_pixel_transfer_delegate.h void AddUpload(base::TimeDelta transfer_time); base 74 gpu/command_buffer/service/async_pixel_transfer_delegate.h int GetStats(base::TimeDelta* total_texture_upload_time); base 77 gpu/command_buffer/service/async_pixel_transfer_delegate.h friend class base::RefCountedThreadSafe<AsyncPixelTransferUploadStats>; base 82 gpu/command_buffer/service/async_pixel_transfer_delegate.h base::TimeDelta total_texture_upload_time_; base 83 gpu/command_buffer/service/async_pixel_transfer_delegate.h base::Lock lock_; base 97 gpu/command_buffer/service/async_pixel_transfer_delegate.h const base::Closure& bind_callback) = 0; base 26 gpu/command_buffer/service/async_pixel_transfer_delegate_mock.h const base::Closure& bind_callback)); base 39 gpu/command_buffer/service/async_pixel_transfer_manager.h : public base::RefCountedThreadSafe<AsyncPixelTransferCompletionObserver> { base 49 gpu/command_buffer/service/async_pixel_transfer_manager.h friend class base::RefCountedThreadSafe<AsyncPixelTransferCompletionObserver>; base 71 gpu/command_buffer/service/async_pixel_transfer_manager.h virtual base::TimeDelta GetTotalTextureUploadTime() = 0; base 106 gpu/command_buffer/service/async_pixel_transfer_manager.h typedef base::hash_map<gles2::TextureRef*, base 57 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc !base::android::SysUtils::IsLowEndDevice()) { base 88 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc class TransferThread : public base::Thread { base 90 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc TransferThread() : base::Thread(kAsyncTransferThreadName) { base 93 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc SetPriority(base::kThreadPriority_Background); base 123 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::LazyInstance<TransferThread> base 126 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::MessageLoopProxy* transfer_message_loop_proxy() { base 134 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc : public base::RefCountedThreadSafe<TransferStateInternal> { base 259 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::TimeTicks begin_time; base 261 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc begin_time = base::TimeTicks::HighResNow(); base 296 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc texture_upload_stats->AddUpload(base::TimeTicks::HighResNow() - base 317 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::TimeTicks begin_time; base 319 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc begin_time = base::TimeTicks::HighResNow(); base 340 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc texture_upload_stats->AddUpload(base::TimeTicks::HighResNow() - base 360 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::Bind(&DeleteTexture, thread_texture_id_)); base 374 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::WaitableEvent transfer_completion_; base 384 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::Closure bind_callback_; base 398 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc public base::SupportsWeakPtr<AsyncPixelTransferDelegateEGL> { base 412 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc const base::Closure& bind_callback) OVERRIDE; base 424 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc const base::Closure& bind_callback); base 475 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc g_transfer_thread.Pointer()->SetPriority(base::kThreadPriority_Display); base 482 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc g_transfer_thread.Pointer()->SetPriority(base::kThreadPriority_Background); base 490 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc const base::Closure& bind_callback) { base 510 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::Bind( base 542 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::Bind( base 587 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc const base::Closure& bind_callback) { base 646 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::TimeTicks begin_time; base 648 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc begin_time = base::TimeTicks::HighResNow(); base 657 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc ->AddUpload(base::TimeTicks::HighResNow() - begin_time); base 710 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::Bind(&PerformNotifyCompletion, base 719 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::TimeDelta AsyncPixelTransferManagerEGL::GetTotalTextureUploadTime() { base 720 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc base::TimeDelta total_texture_upload_time; base 27 gpu/command_buffer/service/async_pixel_transfer_manager_egl.h virtual base::TimeDelta GetTotalTextureUploadTime() OVERRIDE; base 40 gpu/command_buffer/service/async_pixel_transfer_manager_egl.h typedef std::list<base::WeakPtr<AsyncPixelTransferDelegateEGL> > base 33 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc public base::SupportsWeakPtr<AsyncPixelTransferDelegateIdle> { base 45 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc const base::Closure& bind_callback) OVERRIDE; base 55 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc const base::Closure& bind_callback); base 86 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc const base::Closure& bind_callback) { base 93 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc base::Bind(&AsyncPixelTransferDelegateIdle::PerformAsyncTexImage2D, base 111 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc base::Bind(&AsyncPixelTransferDelegateIdle::PerformAsyncTexSubImage2D, base 142 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc const base::Closure& bind_callback) { base 149 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc base::TimeTicks begin_time(base::TimeTicks::HighResNow()); base 170 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc base::TimeTicks::HighResNow() - begin_time; base 185 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc base::TimeTicks begin_time(base::TimeTicks::HighResNow()); base 225 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc base::TimeTicks::HighResNow() - begin_time; base 231 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc const base::Closure& task) base 276 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc base::Bind( base 286 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc base::TimeDelta AsyncPixelTransferManagerIdle::GetTotalTextureUploadTime() { base 25 gpu/command_buffer/service/async_pixel_transfer_manager_idle.h virtual base::TimeDelta GetTotalTextureUploadTime() OVERRIDE; base 33 gpu/command_buffer/service/async_pixel_transfer_manager_idle.h const base::Closure& task); base 41 gpu/command_buffer/service/async_pixel_transfer_manager_idle.h base::Closure task; base 51 gpu/command_buffer/service/async_pixel_transfer_manager_idle.h base::TimeDelta total_texture_upload_time; base 24 gpu/command_buffer/service/async_pixel_transfer_manager_mock.h MOCK_METHOD0(GetTotalTextureUploadTime, base::TimeDelta()); base 43 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc class TransferThread : public base::Thread { base 46 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc : base::Thread(kAsyncTransferThreadName), base 50 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc SetPriority(base::kThreadPriority_Background); base 64 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::WaitableEvent wait_for_init(true, false); base 67 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::Bind(&TransferThread::InitializeOnTransferThread, base 68 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::Unretained(this), base 69 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::Unretained(parent_context), base 86 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::WaitableEvent* caller_wait) { base 123 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::LazyInstance<TransferThread>::Leaky base 126 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::MessageLoopProxy* transfer_message_loop_proxy() { base 130 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc class PendingTask : public base::RefCountedThreadSafe<PendingTask> { base 132 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc explicit PendingTask(const base::Closure& task) base 156 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::AutoLock locked(task_lock_); base 169 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::AutoLock locked(task_lock_); base 187 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::ThreadChecker checker_; base 189 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::Lock task_lock_; base 190 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::Closure task_; base 191 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::WaitableEvent task_pending_; base 200 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc : public base::RefCountedThreadSafe<TransferStateInternal> { base 241 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc const base::Closure& bind_callback) { base 243 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc pending_upload_task_ = new PendingTask(base::Bind( base 251 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::Bind( base 264 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc pending_upload_task_ = new PendingTask(base::Bind( base 272 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::Bind( base 294 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::TimeTicks begin_time; base 296 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc begin_time = base::TimeTicks::HighResNow(); base 315 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc texture_upload_stats->AddUpload(base::TimeTicks::HighResNow() - base 332 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::TimeTicks begin_time; base 334 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc begin_time = base::TimeTicks::HighResNow(); base 352 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc texture_upload_stats->AddUpload(base::TimeTicks::HighResNow() - base 367 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::Closure bind_callback_; base 374 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc public base::SupportsWeakPtr<AsyncPixelTransferDelegateShareGroup> { base 388 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc const base::Closure& bind_callback) OVERRIDE; base 443 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc const base::Closure& bind_callback) { base 514 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::Bind(&PerformNotifyCompletion, base 523 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::TimeDelta base 525 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc base::TimeDelta total_texture_upload_time; base 31 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.h virtual base::TimeDelta GetTotalTextureUploadTime() OVERRIDE; base 42 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.h typedef std::list<base::WeakPtr<AsyncPixelTransferDelegateShareGroup> > base 20 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc const base::Closure& bind_callback) OVERRIDE; base 38 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc const base::Closure& bind_callback) { base 70 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc base::TimeDelta AsyncPixelTransferManagerStub::GetTotalTextureUploadTime() { base 71 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc return base::TimeDelta(); base 23 gpu/command_buffer/service/async_pixel_transfer_manager_stub.h virtual base::TimeDelta GetTotalTextureUploadTime() OVERRIDE; base 22 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc const base::Closure& bind_callback) OVERRIDE; base 46 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc const base::Closure& bind_callback) { base 50 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc base::TimeTicks begin_time(base::TimeTicks::HighResNow()); base 63 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc base::TimeTicks::HighResNow() - begin_time; base 72 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc base::TimeTicks begin_time(base::TimeTicks::HighResNow()); base 85 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc base::TimeTicks::HighResNow() - begin_time; base 120 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc base::TimeDelta AsyncPixelTransferManagerSync::GetTotalTextureUploadTime() { base 23 gpu/command_buffer/service/async_pixel_transfer_manager_sync.h virtual base::TimeDelta GetTotalTextureUploadTime() OVERRIDE; base 34 gpu/command_buffer/service/async_pixel_transfer_manager_sync.h base::TimeDelta total_texture_upload_time; base 28 gpu/command_buffer/service/buffer_manager.h class GPU_EXPORT Buffer : public base::RefCounted<Buffer> { base 73 gpu/command_buffer/service/buffer_manager.h friend class base::RefCounted<Buffer>; base 267 gpu/command_buffer/service/buffer_manager.h typedef base::hash_map<GLuint, scoped_refptr<Buffer> > BufferMap; base 15 gpu/command_buffer/service/command_buffer_service.cc using ::base::SharedMemory; base 182 gpu/command_buffer/service/command_buffer_service.cc const base::Closure& callback) { base 192 gpu/command_buffer/service/command_buffer_service.cc const base::Closure& callback) { base 42 gpu/command_buffer/service/command_buffer_service.h typedef base::Callback<bool(int32)> GetBufferChangedCallback; base 75 gpu/command_buffer/service/command_buffer_service.h virtual void SetPutOffsetChangeCallback(const base::Closure& callback); base 79 gpu/command_buffer/service/command_buffer_service.h virtual void SetParseErrorCallback(const base::Closure& callback); base 99 gpu/command_buffer/service/command_buffer_service.h base::Closure put_offset_change_callback_; base 101 gpu/command_buffer/service/command_buffer_service.h base::Closure parse_error_callback_; base 14 gpu/command_buffer/service/command_buffer_service_unittest.cc using base::SharedMemory; base 95 gpu/command_buffer/service/command_buffer_service_unittest.cc base::Bind( base 97 gpu/command_buffer/service/command_buffer_service_unittest.cc base::Unretained(change_callback.get()))); base 128 gpu/command_buffer/service/command_buffer_service_unittest.cc base::Bind( base 130 gpu/command_buffer/service/command_buffer_service_unittest.cc base::Unretained(change_callback.get()))); base 84 gpu/command_buffer/service/common_decoder_unittest.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory()); base 84 gpu/command_buffer/service/context_group.cc decoders_.push_back(base::AsWeakPtr<GLES2Decoder>(decoder)); base 248 gpu/command_buffer/service/context_group.cc decoders_.push_back(base::AsWeakPtr<GLES2Decoder>(decoder)); base 254 gpu/command_buffer/service/context_group.cc bool IsNull(const base::WeakPtr<gles2::GLES2Decoder>& decoder) { base 263 gpu/command_buffer/service/context_group.cc bool operator()(const base::WeakPtr<T>& t) { base 44 gpu/command_buffer/service/context_group.h class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> { base 176 gpu/command_buffer/service/context_group.h friend class base::RefCounted<ContextGroup>; base 223 gpu/command_buffer/service/context_group.h std::vector<base::WeakPtr<gles2::GLES2Decoder> > decoders_; base 160 gpu/command_buffer/service/error_state.cc base::StringPrintf("%d", param)).c_str()); base 174 gpu/command_buffer/service/error_state.cc base::StringPrintf("%G", param)).c_str()); base 74 gpu/command_buffer/service/feature_info.cc base::SplitString(types, ',', &pieces); base 77 gpu/command_buffer/service/feature_info.cc bool succeed = base::StringToInt(pieces[i], &number); base 18 gpu/command_buffer/service/feature_info.h namespace base { base 26 gpu/command_buffer/service/feature_info.h class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> { base 88 gpu/command_buffer/service/feature_info.h FeatureInfo(const base::CommandLine& command_line); base 115 gpu/command_buffer/service/feature_info.h friend class base::RefCounted<FeatureInfo>; base 118 gpu/command_buffer/service/feature_info.h typedef base::hash_map<GLenum, ValueValidator<GLenum> > ValidatorMap; base 124 gpu/command_buffer/service/feature_info.h void InitializeBasicState(const base::CommandLine& command_line); base 904 gpu/command_buffer/service/feature_info_unittest.cc base::IntToString(gpu::USE_CLIENT_SIDE_ARRAYS_FOR_STREAM_BUFFERS)); base 975 gpu/command_buffer/service/feature_info_unittest.cc base::IntToString(gpu::EXIT_ON_CONTEXT_LOST)); base 985 gpu/command_buffer/service/feature_info_unittest.cc base::IntToString(gpu::EXIT_ON_CONTEXT_LOST) + "," + base 986 gpu/command_buffer/service/feature_info_unittest.cc base::IntToString(gpu::MAX_CUBE_MAP_TEXTURE_SIZE_LIMIT_1024) + "," + base 987 gpu/command_buffer/service/feature_info_unittest.cc base::IntToString(gpu::MAX_TEXTURE_SIZE_LIMIT_4096)); base 462 gpu/command_buffer/service/framebuffer_manager.cc signature = base::StringPrintf("|FBO|target=%04x", target); base 467 gpu/command_buffer/service/framebuffer_manager.cc base::StringPrintf("|Attachment|attachmentpoint=%04x", it->first); base 28 gpu/command_buffer/service/framebuffer_manager.h class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> { base 30 gpu/command_buffer/service/framebuffer_manager.h class Attachment : public base::RefCounted<Attachment> { base 56 gpu/command_buffer/service/framebuffer_manager.h friend class base::RefCounted<Attachment>; base 147 gpu/command_buffer/service/framebuffer_manager.h friend class base::RefCounted<Framebuffer>; base 181 gpu/command_buffer/service/framebuffer_manager.h typedef base::hash_map<GLenum, scoped_refptr<Attachment> > AttachmentMap; base 186 gpu/command_buffer/service/framebuffer_manager.h typedef base::hash_map<std::string, bool> FramebufferComboCompleteMap; base 277 gpu/command_buffer/service/framebuffer_manager.h typedef base::hash_map<GLuint, scoped_refptr<Framebuffer> > base 16 gpu/command_buffer/service/gl_context_virtual.cc base::WeakPtr<gles2::GLES2Decoder> decoder) base 32 gpu/command_buffer/service/gl_context_virtual.h base::WeakPtr<gles2::GLES2Decoder> decoder); base 58 gpu/command_buffer/service/gl_context_virtual.h base::WeakPtr<gles2::GLES2Decoder> decoder_; base 12 gpu/command_buffer/service/gl_state_restorer_impl.cc base::WeakPtr<gles2::GLES2Decoder> decoder) base 24 gpu/command_buffer/service/gl_state_restorer_impl.h explicit GLStateRestorerImpl(base::WeakPtr<gles2::GLES2Decoder> decoder); base 35 gpu/command_buffer/service/gl_state_restorer_impl.h base::WeakPtr<gles2::GLES2Decoder> decoder_; base 519 gpu/command_buffer/service/gles2_cmd_decoder.cc std::vector<base::Closure> callbacks; base 645 gpu/command_buffer/service/gles2_cmd_decoder.cc virtual void WaitForReadPixels(base::Closure callback) OVERRIDE; base 648 gpu/command_buffer/service/gles2_cmd_decoder.cc const base::Callback<void(gfx::Size, float)>& callback) OVERRIDE; base 674 gpu/command_buffer/service/gles2_cmd_decoder.cc virtual base::TimeDelta GetTotalTextureUploadTime() OVERRIDE; base 675 gpu/command_buffer/service/gles2_cmd_decoder.cc virtual base::TimeDelta GetTotalProcessingCommandsTime() OVERRIDE; base 676 gpu/command_buffer/service/gles2_cmd_decoder.cc virtual void AddProcessingCommandsTime(base::TimeDelta) OVERRIDE; base 746 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Closure AsyncUploadTokenCompletionClosure(uint32 async_upload_token, base 1715 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Callback<void(gfx::Size, float)> resize_callback_; base 1781 gpu/command_buffer/service/gles2_cmd_decoder.cc base::TimeDelta total_processing_commands_time_; base 2985 gpu/command_buffer/service/gles2_cmd_decoder.cc base::win::SetShouldCrashOnProcessDetach(false); base 3231 gpu/command_buffer/service/gles2_cmd_decoder.cc const base::Callback<void(gfx::Size, float)>& callback) { base 3291 gpu/command_buffer/service/gles2_cmd_decoder.cc base::TimeDelta GLES2DecoderImpl::GetTotalTextureUploadTime() { base 3296 gpu/command_buffer/service/gles2_cmd_decoder.cc base::TimeDelta GLES2DecoderImpl::GetTotalProcessingCommandsTime() { base 3300 gpu/command_buffer/service/gles2_cmd_decoder.cc void GLES2DecoderImpl::AddProcessingCommandsTime(base::TimeDelta time) { base 6051 gpu/command_buffer/service/gles2_cmd_decoder.cc base::IntToString(texture_unit_index) + base 7460 gpu/command_buffer/service/gles2_cmd_decoder.cc WaitForReadPixels(base::Bind( base 7462 gpu/command_buffer/service/gles2_cmd_decoder.cc base::internal::SupportsWeakPtrBase::StaticAsWeakPtr base 9455 gpu/command_buffer/service/gles2_cmd_decoder.cc void GLES2DecoderImpl::WaitForReadPixels(base::Closure callback) { base 9466 gpu/command_buffer/service/gles2_cmd_decoder.cc std::vector<base::Closure> callbacks = base 10420 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Closure GLES2DecoderImpl::AsyncUploadTokenCompletionClosure( base 10427 gpu/command_buffer/service/gles2_cmd_decoder.cc return base::Closure(); base 10436 gpu/command_buffer/service/gles2_cmd_decoder.cc return base::Bind( base 10438 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Unretained(GetAsyncPixelTransferManager()), base 10463 gpu/command_buffer/service/gles2_cmd_decoder.cc base::ScopedClosureRunner scoped_completion_callback; base 10465 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Closure completion_closure = base 10539 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Bind(&TextureManager::SetLevelInfoFromParams, base 10543 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Unretained(texture_manager()), base 10544 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Unretained(texture_ref), base 10564 gpu/command_buffer/service/gles2_cmd_decoder.cc base::ScopedClosureRunner scoped_completion_callback; base 10566 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Closure completion_closure = base 51 gpu/command_buffer/service/gles2_cmd_decoder.h typedef base::Callback<void(const std::string& key, base 56 gpu/command_buffer/service/gles2_cmd_decoder.h class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>, base 60 gpu/command_buffer/service/gles2_cmd_decoder.h typedef base::Callback<bool(uint32 id)> WaitSyncPointCallback; base 173 gpu/command_buffer/service/gles2_cmd_decoder.h const base::Callback<void(gfx::Size, float)>& callback) = 0; base 213 gpu/command_buffer/service/gles2_cmd_decoder.h virtual void WaitForReadPixels(base::Closure callback) = 0; base 215 gpu/command_buffer/service/gles2_cmd_decoder.h virtual base::TimeDelta GetTotalTextureUploadTime() = 0; base 216 gpu/command_buffer/service/gles2_cmd_decoder.h virtual base::TimeDelta GetTotalProcessingCommandsTime() = 0; base 217 gpu/command_buffer/service/gles2_cmd_decoder.h virtual void AddProcessingCommandsTime(base::TimeDelta) = 0; base 77 gpu/command_buffer/service/gles2_cmd_decoder_mock.h SetResizeCallback, void(const base::Callback<void(gfx::Size, float)>&)); base 111 gpu/command_buffer/service/gles2_cmd_decoder_mock.h void(base::Closure callback)); base 113 gpu/command_buffer/service/gles2_cmd_decoder_mock.h MOCK_METHOD0(GetTotalTextureUploadTime, base::TimeDelta()); base 114 gpu/command_buffer/service/gles2_cmd_decoder_mock.h MOCK_METHOD0(GetTotalProcessingCommandsTime, base::TimeDelta()); base 115 gpu/command_buffer/service/gles2_cmd_decoder_mock.h MOCK_METHOD1(AddProcessingCommandsTime, void(base::TimeDelta)); base 125 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc base::IntToString(gpu::CLEAR_ALPHA_IN_READPIXELS)); base 354 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc base::IntToString(gpu::INIT_VERTEX_ATTRIBUTES)); base 1951 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc base::IntToString(gpu::SET_TEXTURE_FILTER_BEFORE_GENERATING_MIPMAP)); base 2335 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc const int8* GetPixelAddress(const int8* base, GLint x, GLint y) const { base 2336 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc return base + (width_ * y + x) * bytes_per_pixel_; base 5921 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc base::IntToString(gpu::TEXSUBIMAGE2D_FASTER_THAN_TEXIMAGE2D)); base 8040 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc base::Closure bind_callback; base 8794 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc base::IntToString(gpu::CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE)); base 247 gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc base::Bind(&ShaderCacheCb)); base 97 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc const base::CommandLine* command_line) { base 108 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc base::SplitString(init.extensions, ' ', &list); base 1413 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); base 28 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h namespace base { base 171 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h const base::CommandLine* command_line); base 81 gpu/command_buffer/service/gpu_control_service.cc const base::Closure& callback) { base 86 gpu/command_buffer/service/gpu_control_service.cc const base::Closure& callback) { base 104 gpu/command_buffer/service/gpu_control_service.cc void GpuControlService::Echo(const base::Closure& callback) { base 43 gpu/command_buffer/service/gpu_control_service.h const base::Closure& callback) OVERRIDE; base 45 gpu/command_buffer/service/gpu_control_service.h const base::Closure& callback) OVERRIDE; base 49 gpu/command_buffer/service/gpu_control_service.h virtual void Echo(const base::Closure& callback) OVERRIDE; base 21 gpu/command_buffer/service/gpu_scheduler.cc using ::base::SharedMemory; base 70 gpu/command_buffer/service/gpu_scheduler.cc base::TimeTicks begin_time(base::TimeTicks::HighResNow()); base 115 gpu/command_buffer/service/gpu_scheduler.cc base::TimeTicks::HighResNow() - begin_time); base 152 gpu/command_buffer/service/gpu_scheduler.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 156 gpu/command_buffer/service/gpu_scheduler.cc base::MessageLoop::current()->PostDelayedTask( base 158 gpu/command_buffer/service/gpu_scheduler.cc base::Bind(&GpuScheduler::RescheduleTimeOut, base 160 gpu/command_buffer/service/gpu_scheduler.cc base::TimeDelta::FromMilliseconds(kRescheduleTimeOutDelay)); base 223 gpu/command_buffer/service/gpu_scheduler.cc const base::Closure& callback) { base 227 gpu/command_buffer/service/gpu_scheduler.cc void GpuScheduler::DeferToFence(base::Closure task) { base 238 gpu/command_buffer/service/gpu_scheduler.cc base::Time now = base::Time::Now(); base 239 gpu/command_buffer/service/gpu_scheduler.cc base::TimeDelta timeout = base 240 gpu/command_buffer/service/gpu_scheduler.cc base::TimeDelta::FromMilliseconds(kUnscheduleFenceTimeOutDelay); base 303 gpu/command_buffer/service/gpu_scheduler.cc base::Closure task_) base 305 gpu/command_buffer/service/gpu_scheduler.cc issue_time(base::Time::Now()), base 31 gpu/command_buffer/service/gpu_scheduler.h : public base::RefCountedThreadSafe<PreemptionFlag> { base 35 gpu/command_buffer/service/gpu_scheduler.h bool IsSet() { return !base::AtomicRefCountIsZero(&flag_); } base 36 gpu/command_buffer/service/gpu_scheduler.h void Set() { base::AtomicRefCountInc(&flag_); } base 37 gpu/command_buffer/service/gpu_scheduler.h void Reset() { base::subtle::NoBarrier_Store(&flag_, 0); } base 40 gpu/command_buffer/service/gpu_scheduler.h base::AtomicRefCount flag_; base 44 gpu/command_buffer/service/gpu_scheduler.h friend class base::RefCountedThreadSafe<PreemptionFlag>; base 53 gpu/command_buffer/service/gpu_scheduler.h public base::SupportsWeakPtr<GpuScheduler> { base 79 gpu/command_buffer/service/gpu_scheduler.h typedef base::Callback<void(bool /* scheduled */)> SchedulingChangedCallback; base 92 gpu/command_buffer/service/gpu_scheduler.h void SetCommandProcessedCallback(const base::Closure& callback); base 94 gpu/command_buffer/service/gpu_scheduler.h void DeferToFence(base::Closure task); base 141 gpu/command_buffer/service/gpu_scheduler.h base::WeakPtrFactory<GpuScheduler> reschedule_task_factory_; base 146 gpu/command_buffer/service/gpu_scheduler.h UnscheduleFence(gfx::GLFence* fence, base::Closure task); base 150 gpu/command_buffer/service/gpu_scheduler.h base::Time issue_time; base 151 gpu/command_buffer/service/gpu_scheduler.h base::Closure task; base 156 gpu/command_buffer/service/gpu_scheduler.h base::Closure descheduled_callback_; base 157 gpu/command_buffer/service/gpu_scheduler.h base::Closure command_processed_callback_; base 36 gpu/command_buffer/service/gpu_scheduler_unittest.cc scoped_ptr<base::SharedMemory> shared_memory(new ::base::SharedMemory); base 63 gpu/command_buffer/service/gpu_scheduler_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 71 gpu/command_buffer/service/gpu_scheduler_unittest.cc base::mac::ScopedNSAutoreleasePool autorelease_pool_; base 73 gpu/command_buffer/service/gpu_scheduler_unittest.cc base::MessageLoop message_loop; base 19 gpu/command_buffer/service/gpu_state_tracer.cc class Snapshot : public base::debug::ConvertableToTraceFormat { base 90 gpu/command_buffer/service/gpu_state_tracer.cc base::StringPiece base64_input(reinterpret_cast<const char*>(&png_data[0]), base 128 gpu/command_buffer/service/gpu_state_tracer.cc scoped_refptr<base::debug::ConvertableToTraceFormat>(snapshot)); base 88 gpu/command_buffer/service/gpu_tracer.cc public base::SupportsWeakPtr<GPUTracerImpl> { base 207 gpu/command_buffer/service/gpu_tracer.cc start_time_ = (timestamp / base::Time::kNanosecondsPerMicrosecond) + offset_; base 210 gpu/command_buffer/service/gpu_tracer.cc end_time_ = (timestamp / base::Time::kNanosecondsPerMicrosecond) + offset_; base 309 gpu/command_buffer/service/gpu_tracer.cc return base::EmptyString(); base 322 gpu/command_buffer/service/gpu_tracer.cc base::MessageLoop::current()->PostDelayedTask( base 324 gpu/command_buffer/service/gpu_tracer.cc base::Bind(&GPUTracerImpl::Process, base::AsWeakPtr(this)), base 325 gpu/command_buffer/service/gpu_tracer.cc base::TimeDelta::FromMilliseconds(kProcessInterval)); base 399 gpu/command_buffer/service/gpu_tracer.cc base::TimeTicks system_now = base::TimeTicks::NowFromSystemTraceTime(); base 401 gpu/command_buffer/service/gpu_tracer.cc gl_now /= base::Time::kNanosecondsPerMicrosecond; base 59 gpu/command_buffer/service/gpu_tracer.h class Outputter : public base::RefCounted<Outputter> { base 67 gpu/command_buffer/service/gpu_tracer.h friend class base::RefCounted<Outputter>; base 78 gpu/command_buffer/service/gpu_tracer.h friend class base::RefCounted<Outputter>; base 82 gpu/command_buffer/service/gpu_tracer.h base::Thread named_thread_; base 88 gpu/command_buffer/service/gpu_tracer.h class GPU_EXPORT Trace : public base::RefCounted<Trace> { base 107 gpu/command_buffer/service/gpu_tracer.h friend class base::RefCounted<Trace>; base 172 gpu/command_buffer/service/gpu_tracer_unittest.cc const GLint64 start_timestamp = 7 * base::Time::kNanosecondsPerMicrosecond; base 173 gpu/command_buffer/service/gpu_tracer_unittest.cc const GLint64 end_timestamp = 32 * base::Time::kNanosecondsPerMicrosecond; base 175 gpu/command_buffer/service/gpu_tracer_unittest.cc (start_timestamp / base::Time::kNanosecondsPerMicrosecond) + base 178 gpu/command_buffer/service/gpu_tracer_unittest.cc (end_timestamp / base::Time::kNanosecondsPerMicrosecond) + offset_time; base 198 gpu/command_buffer/service/gpu_tracer_unittest.cc base::Time::kNanosecondsPerMicrosecond); base 41 gpu/command_buffer/service/id_manager.h typedef base::hash_map<GLuint, GLuint> MapType; base 24 gpu/command_buffer/service/image_manager.h public base::RefCounted<ImageManager> { base 44 gpu/command_buffer/service/image_manager.h friend class base::RefCounted<ImageManager>; base 48 gpu/command_buffer/service/image_manager.h typedef base::hash_map<uint32, scoped_refptr<gfx::GLImage> > GLImageMap; base 52 gpu/command_buffer/service/in_process_command_buffer.cc static void RunTaskWithResult(base::Callback<T(void)> task, base 54 gpu/command_buffer/service/in_process_command_buffer.cc base::WaitableEvent* completion) { base 60 gpu/command_buffer/service/in_process_command_buffer.cc : public base::Thread, base 62 gpu/command_buffer/service/in_process_command_buffer.cc public base::RefCountedThreadSafe<GpuInProcessThread> { base 67 gpu/command_buffer/service/in_process_command_buffer.cc base::RefCountedThreadSafe<GpuInProcessThread>::AddRef(); base 70 gpu/command_buffer/service/in_process_command_buffer.cc base::RefCountedThreadSafe<GpuInProcessThread>::Release(); base 73 gpu/command_buffer/service/in_process_command_buffer.cc virtual void ScheduleTask(const base::Closure& task) OVERRIDE; base 74 gpu/command_buffer/service/in_process_command_buffer.cc virtual void ScheduleIdleWork(const base::Closure& callback) OVERRIDE; base 87 gpu/command_buffer/service/in_process_command_buffer.cc GpuInProcessThread::GpuInProcessThread() : base::Thread("GpuThread") { base 95 gpu/command_buffer/service/in_process_command_buffer.cc void GpuInProcessThread::ScheduleTask(const base::Closure& task) { base 99 gpu/command_buffer/service/in_process_command_buffer.cc void GpuInProcessThread::ScheduleIdleWork(const base::Closure& callback) { base 101 gpu/command_buffer/service/in_process_command_buffer.cc FROM_HERE, callback, base::TimeDelta::FromMilliseconds(5)); base 111 gpu/command_buffer/service/in_process_command_buffer.cc base::LazyInstance<std::set<InProcessCommandBuffer*> > default_thread_clients_ = base 113 gpu/command_buffer/service/in_process_command_buffer.cc base::LazyInstance<base::Lock> default_thread_clients_lock_ = base 118 gpu/command_buffer/service/in_process_command_buffer.cc ScopedEvent(base::WaitableEvent* event) : event_(event) {} base 122 gpu/command_buffer/service/in_process_command_buffer.cc base::WaitableEvent* event_; base 139 gpu/command_buffer/service/in_process_command_buffer.cc base::Lock lock_; base 142 gpu/command_buffer/service/in_process_command_buffer.cc base::ConditionVariable cond_var_; base 152 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(lock_); base 160 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(lock_); base 167 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(lock_); base 172 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(lock_); base 178 gpu/command_buffer/service/in_process_command_buffer.cc base::LazyInstance<SyncPointManager> g_sync_point_manager = base 194 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(default_thread_clients_lock_.Get()); base 214 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(default_thread_clients_lock_.Get()); base 221 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(default_thread_clients_lock_.Get()); base 267 gpu/command_buffer/service/in_process_command_buffer.cc const base::Closure& context_lost_callback, base 275 gpu/command_buffer/service/in_process_command_buffer.cc sequence_checker_.reset(new base::SequenceChecker); base 288 gpu/command_buffer/service/in_process_command_buffer.cc base::Callback<bool(void)> init_task = base 289 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&InProcessCommandBuffer::InitializeOnGpuThread, base 290 gpu/command_buffer/service/in_process_command_buffer.cc base::Unretained(this), base 293 gpu/command_buffer/service/in_process_command_buffer.cc base::WaitableEvent completion(true, false); base 296 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&RunTaskWithResult<bool>, init_task, &result, &completion)); base 317 gpu/command_buffer/service/in_process_command_buffer.cc command_buffer->SetPutOffsetChangeCallback(base::Bind( base 319 gpu/command_buffer/service/in_process_command_buffer.cc command_buffer->SetParseErrorCallback(base::Bind( base 349 gpu/command_buffer/service/in_process_command_buffer.cc command_buffer->SetGetBufferChangeCallback(base::Bind( base 350 gpu/command_buffer/service/in_process_command_buffer.cc &GpuScheduler::SetGetBuffer, base::Unretained(gpu_scheduler_.get()))); base 423 gpu/command_buffer/service/in_process_command_buffer.cc decoder_->SetResizeCallback(base::Bind( base 426 gpu/command_buffer/service/in_process_command_buffer.cc decoder_->SetWaitSyncPointCallback(base::Bind(&WaitSyncPoint)); base 434 gpu/command_buffer/service/in_process_command_buffer.cc base::WaitableEvent completion(true, false); base 436 gpu/command_buffer/service/in_process_command_buffer.cc base::Callback<bool(void)> destroy_task = base::Bind( base 437 gpu/command_buffer/service/in_process_command_buffer.cc &InProcessCommandBuffer::DestroyOnGpuThread, base::Unretained(this)); base 439 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&RunTaskWithResult<bool>, destroy_task, &result, &completion)); base 480 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(state_after_last_flush_lock_); base 505 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(command_buffer_lock_); base 509 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(state_after_last_flush_lock_); base 520 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&InProcessCommandBuffer::ScheduleMoreIdleWork, base 527 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(command_buffer_lock_); base 531 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&InProcessCommandBuffer::ScheduleMoreIdleWork, base 545 gpu/command_buffer/service/in_process_command_buffer.cc base::Closure task = base::Bind(&InProcessCommandBuffer::FlushOnGpuThread, base 575 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(command_buffer_lock_); base 580 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(state_after_last_flush_lock_); base 588 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(command_buffer_lock_); base 594 gpu/command_buffer/service/in_process_command_buffer.cc base::Closure task = base::Bind(&CommandBuffer::DestroyTransferBuffer, base 595 gpu/command_buffer/service/in_process_command_buffer.cc base::Unretained(command_buffer_.get()), base 611 gpu/command_buffer/service/in_process_command_buffer.cc base::AutoLock lock(command_buffer_lock_); base 620 gpu/command_buffer/service/in_process_command_buffer.cc base::Closure task = base::Bind(&GpuControl::DestroyGpuMemoryBuffer, base 621 gpu/command_buffer/service/in_process_command_buffer.cc base::Unretained(gpu_control_.get()), base 629 gpu/command_buffer/service/in_process_command_buffer.cc QueueTask(base::Bind(&InProcessCommandBuffer::RetireSyncPointOnGpuThread, base 630 gpu/command_buffer/service/in_process_command_buffer.cc base::Unretained(this), base 644 gpu/command_buffer/service/in_process_command_buffer.cc const base::Closure& callback) { base 646 gpu/command_buffer/service/in_process_command_buffer.cc QueueTask(base::Bind(&InProcessCommandBuffer::SignalSyncPointOnGpuThread, base 647 gpu/command_buffer/service/in_process_command_buffer.cc base::Unretained(this), base 654 gpu/command_buffer/service/in_process_command_buffer.cc const base::Closure& callback) { base 659 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&InProcessCommandBuffer::SignalSyncPointOnGpuThread, base 667 gpu/command_buffer/service/in_process_command_buffer.cc const base::Closure& callback) { base 669 gpu/command_buffer/service/in_process_command_buffer.cc QueueTask(base::Bind(&GpuControl::SignalQuery, base 670 gpu/command_buffer/service/in_process_command_buffer.cc base::Unretained(gpu_control_.get()), base 681 gpu/command_buffer/service/in_process_command_buffer.cc void InProcessCommandBuffer::Echo(const base::Closure& callback) { base 686 gpu/command_buffer/service/in_process_command_buffer.cc base::WaitableEvent completion(true, false); base 688 gpu/command_buffer/service/in_process_command_buffer.cc base::Callback<uint32(void)> task = base 689 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&InProcessCommandBuffer::CreateStreamTextureOnGpuThread, base 690 gpu/command_buffer/service/in_process_command_buffer.cc base::Unretained(this), base 693 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&RunTaskWithResult<uint32>, task, &stream_id, &completion)); base 720 gpu/command_buffer/service/in_process_command_buffer.cc void PostCallback(const scoped_refptr<base::MessageLoopProxy>& loop, base 721 gpu/command_buffer/service/in_process_command_buffer.cc const base::Closure& callback) { base 729 gpu/command_buffer/service/in_process_command_buffer.cc void RunOnTargetThread(scoped_ptr<base::Closure> callback) { base 736 gpu/command_buffer/service/in_process_command_buffer.cc base::Closure InProcessCommandBuffer::WrapCallback( base 737 gpu/command_buffer/service/in_process_command_buffer.cc const base::Closure& callback) { base 740 gpu/command_buffer/service/in_process_command_buffer.cc scoped_ptr<base::Closure> scoped_callback(new base::Closure(callback)); base 741 gpu/command_buffer/service/in_process_command_buffer.cc base::Closure callback_on_client_thread = base 742 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&RunOnTargetThread, base::Passed(&scoped_callback)); base 743 gpu/command_buffer/service/in_process_command_buffer.cc base::Closure wrapped_callback = base 744 gpu/command_buffer/service/in_process_command_buffer.cc base::Bind(&PostCallback, base::MessageLoopProxy::current(), base 25 gpu/command_buffer/service/in_process_command_buffer.h namespace base { base 79 gpu/command_buffer/service/in_process_command_buffer.h const base::Closure& context_lost_callback, base 107 gpu/command_buffer/service/in_process_command_buffer.h const base::Closure& callback) OVERRIDE; base 109 gpu/command_buffer/service/in_process_command_buffer.h const base::Closure& callback) OVERRIDE; base 113 gpu/command_buffer/service/in_process_command_buffer.h virtual void Echo(const base::Closure& callback) OVERRIDE; base 126 gpu/command_buffer/service/in_process_command_buffer.h virtual void ScheduleTask(const base::Closure& task) = 0; base 130 gpu/command_buffer/service/in_process_command_buffer.h virtual void ScheduleIdleWork(const base::Closure& task) = 0; base 173 gpu/command_buffer/service/in_process_command_buffer.h base::Closure WrapCallback(const base::Closure& callback); base 175 gpu/command_buffer/service/in_process_command_buffer.h void QueueTask(const base::Closure& task) { service_->ScheduleTask(task); } base 179 gpu/command_buffer/service/in_process_command_buffer.h const base::Closure& callback); base 198 gpu/command_buffer/service/in_process_command_buffer.h base::Closure context_lost_callback_; base 207 gpu/command_buffer/service/in_process_command_buffer.h base::Lock command_buffer_lock_; base 208 gpu/command_buffer/service/in_process_command_buffer.h base::WaitableEvent flush_event_; base 211 gpu/command_buffer/service/in_process_command_buffer.h base::Lock state_after_last_flush_lock_; base 221 gpu/command_buffer/service/in_process_command_buffer.h scoped_ptr<base::SequenceChecker> sequence_checker_; base 223 gpu/command_buffer/service/in_process_command_buffer.h base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_; base 224 gpu/command_buffer/service/in_process_command_buffer.h base::WeakPtrFactory<InProcessCommandBuffer> gpu_thread_weak_ptr_factory_; base 22 gpu/command_buffer/service/logger.cc base::HexEncode(&this_temp, sizeof(this_temp)); base 18 gpu/command_buffer/service/logger.h typedef base::Callback<void(int32 id, const std::string& msg)> MsgCallback; base 27 gpu/command_buffer/service/mailbox_manager.h class GPU_EXPORT MailboxManager : public base::RefCounted<MailboxManager> { base 51 gpu/command_buffer/service/mailbox_manager.h friend class base::RefCounted<MailboxManager>; base 116 gpu/command_buffer/service/mailbox_synchronizer.cc base::AutoLock lock(lock_); base 130 gpu/command_buffer/service/mailbox_synchronizer.cc base::AutoLock lock(lock_); base 140 gpu/command_buffer/service/mailbox_synchronizer.cc base::AutoLock lock(lock_); base 207 gpu/command_buffer/service/mailbox_synchronizer.cc base::AutoLock lock(lock_); base 60 gpu/command_buffer/service/mailbox_synchronizer.h base::Lock lock_; base 27 gpu/command_buffer/service/memory_program_cache.cc base::StringToSizeT(command_line->GetSwitchValueNative( base 98 gpu/command_buffer/service/memory_program_cache.cc base::Base64Encode(sha_string, &key); base 51 gpu/command_buffer/service/memory_program_cache.h class ProgramCacheValue : public base::RefCounted<ProgramCacheValue> { base 112 gpu/command_buffer/service/memory_program_cache.h friend class base::RefCounted<ProgramCacheValue>; base 135 gpu/command_buffer/service/memory_program_cache.h typedef base::MRUCache<std::string, base 207 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 208 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 232 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 233 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 267 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 268 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 294 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 295 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this)))); base 322 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 323 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 352 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 353 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this)))); base 380 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 381 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 391 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 392 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this)))); base 408 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 409 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 422 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 423 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this)))); base 436 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 437 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this)))); base 459 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 460 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 470 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 471 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this)))); base 479 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 480 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this)))); base 498 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 499 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 526 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 527 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 557 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 558 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 581 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 582 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 601 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 602 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this)))); base 618 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 619 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 630 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 631 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this))); base 641 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Bind(&MemoryProgramCacheTest::ShaderCacheCb, base 642 gpu/command_buffer/service/memory_program_cache_unittest.cc base::Unretained(this)))); base 19 gpu/command_buffer/service/memory_tracking.h class MemoryTracker : public base::RefCounted<MemoryTracker> { base 34 gpu/command_buffer/service/memory_tracking.h friend class base::RefCounted<MemoryTracker>; base 137 gpu/command_buffer/service/mocks.h friend class base::RefCounted< ::testing::StrictMock<MockMemoryTracker> >; base 79 gpu/command_buffer/service/program_cache.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(s.c_str()), base 131 gpu/command_buffer/service/program_cache.cc base::SHA1HashBytes(buffer.get(), base 26 gpu/command_buffer/service/program_cache.h static const size_t kHashLength = base::kSHA1Length; base 104 gpu/command_buffer/service/program_cache.h typedef base::hash_map<std::string, base 28 gpu/command_buffer/service/program_manager.cc using base::TimeDelta; base 29 gpu/command_buffer/service/program_manager.cc using base::TimeTicks; base 898 gpu/command_buffer/service/program_manager.cc std::string element_name(base_name + "[" + base::IntToString(ii) + "]"); base 32 gpu/command_buffer/service/program_manager.h class GPU_EXPORT Program : public base::RefCounted<Program> { base 231 gpu/command_buffer/service/program_manager.h friend class base::RefCounted<Program>; base 254 gpu/command_buffer/service/program_manager_unittest.cc base::Bind(&ShaderCacheCb)); base 288 gpu/command_buffer/service/program_manager_unittest.cc base::Bind(&ShaderCacheCb)); base 726 gpu/command_buffer/service/program_manager_unittest.cc base::Bind(&ShaderCacheCb)); base 795 gpu/command_buffer/service/program_manager_unittest.cc base::Bind(&ShaderCacheCb)); base 897 gpu/command_buffer/service/program_manager_unittest.cc base::Bind(&ShaderCacheCb)); base 1489 gpu/command_buffer/service/program_manager_unittest.cc base::Bind(&ShaderCacheCb)); base 1562 gpu/command_buffer/service/program_manager_unittest.cc base::Bind(&ShaderCacheCb)); base 1786 gpu/command_buffer/service/program_manager_unittest.cc Program::kCountOnlyStaticallyUsed, base::Bind(&ShaderCacheCb))); base 1800 gpu/command_buffer/service/program_manager_unittest.cc Program::kCountOnlyStaticallyUsed, base::Bind(&ShaderCacheCb))); base 28 gpu/command_buffer/service/query_manager.cc AsyncPixelTransferCompletionObserverImpl(base::subtle::Atomic32 submit_count) base 32 gpu/command_buffer/service/query_manager.cc base::AutoLock locked(lock_); base 37 gpu/command_buffer/service/query_manager.cc base::AutoLock locked(lock_); base 42 gpu/command_buffer/service/query_manager.cc base::subtle::Release_Store(&sync->process_count, submit_count_); base 49 gpu/command_buffer/service/query_manager.cc base::subtle::Atomic32 submit_count_; base 51 gpu/command_buffer/service/query_manager.cc base::Lock lock_; base 59 gpu/command_buffer/service/query_manager.cc public base::SupportsWeakPtr<AsyncPixelTransfersCompletedQuery> { base 65 gpu/command_buffer/service/query_manager.cc virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE; base 85 gpu/command_buffer/service/query_manager.cc base::subtle::Atomic32 submit_count) { base 116 gpu/command_buffer/service/query_manager.cc if (base::subtle::Acquire_Load(&sync->process_count) != submit_count()) base 142 gpu/command_buffer/service/query_manager.cc virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE; base 166 gpu/command_buffer/service/query_manager.cc bool AllSamplesPassedQuery::End(base::subtle::Atomic32 submit_count) { base 201 gpu/command_buffer/service/query_manager.cc virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE; base 209 gpu/command_buffer/service/query_manager.cc base::TimeTicks begin_time_; base 218 gpu/command_buffer/service/query_manager.cc begin_time_ = base::TimeTicks::HighResNow(); base 222 gpu/command_buffer/service/query_manager.cc bool CommandsIssuedQuery::End(base::subtle::Atomic32 submit_count) { base 223 gpu/command_buffer/service/query_manager.cc base::TimeDelta elapsed = base::TimeTicks::HighResNow() - begin_time_; base 248 gpu/command_buffer/service/query_manager.cc virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE; base 265 gpu/command_buffer/service/query_manager.cc bool CommandLatencyQuery::End(base::subtle::Atomic32 submit_count) { base 266 gpu/command_buffer/service/query_manager.cc base::TimeDelta now = base::TimeTicks::HighResNow() - base::TimeTicks(); base 288 gpu/command_buffer/service/query_manager.cc public base::SupportsWeakPtr<AsyncReadPixelsCompletedQuery> { base 294 gpu/command_buffer/service/query_manager.cc virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE; base 318 gpu/command_buffer/service/query_manager.cc bool AsyncReadPixelsCompletedQuery::End(base::subtle::Atomic32 submit_count) { base 323 gpu/command_buffer/service/query_manager.cc base::Bind(&AsyncReadPixelsCompletedQuery::Complete, base 354 gpu/command_buffer/service/query_manager.cc virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE; base 373 gpu/command_buffer/service/query_manager.cc bool GetErrorQuery::End(base::subtle::Atomic32 submit_count) { base 538 gpu/command_buffer/service/query_manager.cc void QueryManager::Query::AddCallback(base::Closure callback) { base 567 gpu/command_buffer/service/query_manager.cc base::subtle::Release_Store(&sync->process_count, submit_count_); base 613 gpu/command_buffer/service/query_manager.cc base::subtle::Atomic32 submit_count) { base 626 gpu/command_buffer/service/query_manager.cc base::subtle::Atomic32 submit_count) { base 672 gpu/command_buffer/service/query_manager.cc bool QueryManager::EndQuery(Query* query, base::subtle::Atomic32 submit_count) { base 32 gpu/command_buffer/service/query_manager.h class GPU_EXPORT Query : public base::RefCounted<Query> { base 65 gpu/command_buffer/service/query_manager.h virtual bool End(base::subtle::Atomic32 submit_count) = 0; base 72 gpu/command_buffer/service/query_manager.h void AddCallback(base::Closure callback); base 88 gpu/command_buffer/service/query_manager.h void MarkAsPending(base::subtle::Atomic32 submit_count) { base 100 gpu/command_buffer/service/query_manager.h bool AddToPendingQueue(base::subtle::Atomic32 submit_count) { base 105 gpu/command_buffer/service/query_manager.h bool AddToPendingTransferQueue(base::subtle::Atomic32 submit_count) { base 117 gpu/command_buffer/service/query_manager.h base::subtle::Atomic32 submit_count() const { return submit_count_; } base 122 gpu/command_buffer/service/query_manager.h friend class base::RefCounted<Query>; base 137 gpu/command_buffer/service/query_manager.h base::subtle::Atomic32 submit_count_; base 146 gpu/command_buffer/service/query_manager.h std::vector<base::Closure> callbacks_; base 171 gpu/command_buffer/service/query_manager.h bool EndQuery(Query* query, base::subtle::Atomic32 submit_count); base 202 gpu/command_buffer/service/query_manager.h bool AddPendingQuery(Query* query, base::subtle::Atomic32 submit_count); base 207 gpu/command_buffer/service/query_manager.h base::subtle::Atomic32 submit_count); base 228 gpu/command_buffer/service/query_manager.h typedef base::hash_map<GLuint, scoped_refptr<Query> > QueryMap; base 74 gpu/command_buffer/service/query_manager_unittest.cc base::subtle::Atomic32 submit_count) { base 94 gpu/command_buffer/service/query_manager_unittest.cc scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory()); base 221 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount = 123; base 284 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount1 = 123; base 285 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount2 = 123; base 286 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount3 = 123; base 399 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount = 123; base 428 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount = 123; base 457 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount = 123; base 475 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount = 123; base 509 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount = 123; base 540 gpu/command_buffer/service/query_manager_unittest.cc const base::subtle::Atomic32 kSubmitCount = 123; base 51 gpu/command_buffer/service/renderbuffer_manager.cc *signature += base::StringPrintf( base 24 gpu/command_buffer/service/renderbuffer_manager.h : public base::RefCounted<Renderbuffer> { base 76 gpu/command_buffer/service/renderbuffer_manager.h friend class base::RefCounted<Renderbuffer>; base 195 gpu/command_buffer/service/renderbuffer_manager.h typedef base::hash_map<GLuint, scoped_refptr<Renderbuffer> > RenderbufferMap; base 25 gpu/command_buffer/service/shader_manager.h class GPU_EXPORT Shader : public base::RefCounted<Shader> { base 127 gpu/command_buffer/service/shader_manager.h friend class base::RefCounted<Shader>; base 209 gpu/command_buffer/service/shader_manager.h typedef base::hash_map<GLuint, scoped_refptr<Shader> > ShaderMap; base 33 gpu/command_buffer/service/shader_translator.cc base::LazyInstance<ShaderTranslatorInitializer> g_translator_initializer = base 230 gpu/command_buffer/service/shader_translator.cc base::IntToString(GetCompileOptions()) + base 232 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxVertexAttribs) + base 234 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxVertexUniformVectors) + base 236 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxVaryingVectors) + base 238 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxVertexTextureImageUnits) + base 240 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxCombinedTextureImageUnits) + base 242 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxTextureImageUnits) + base 244 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxFragmentUniformVectors) + base 246 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxDrawBuffers) + base 248 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.OES_standard_derivatives) + base 250 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.OES_EGL_image_external) + base 252 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.ARB_texture_rectangle) + base 254 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.EXT_draw_buffers) + base 256 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.FragmentPrecisionHigh) + base 258 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxExpressionComplexity) + base 260 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxCallStackDepth) + base 263 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.EXT_frag_depth) + base 265 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxVertexOutputVectors) + base 267 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxFragmentInputVectors) + base 269 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MinProgramTexelOffset) + base 271 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.MaxProgramTexelOffset)); base 273 gpu/command_buffer/service/shader_translator.cc base::IntToString(compiler_options_.EXT_frag_depth)); base 62 gpu/command_buffer/service/shader_translator.h typedef base::hash_map<std::string, VariableInfo> VariableMap; base 64 gpu/command_buffer/service/shader_translator.h typedef base::hash_map<std::string, std::string> NameMap; base 101 gpu/command_buffer/service/shader_translator.h : public base::RefCounted<ShaderTranslator>, base 145 gpu/command_buffer/service/shader_translator.h friend class base::RefCounted<ShaderTranslator>; base 26 gpu/command_buffer/service/shader_translator_cache.h : public base::RefCounted<ShaderTranslatorCache>, base 43 gpu/command_buffer/service/shader_translator_cache.h friend class base::RefCounted<ShaderTranslatorCache>; base 23 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc const base::Closure& release_callback); base 39 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc base::Closure release_callback_; base 46 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc const base::Closure& release_callback) base 102 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc base::Closure release_callback = base 103 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc base::Bind(&StreamTextureManagerInProcess::OnReleaseStreamTexture, base 124 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc base::AutoLock lock(map_lock_); base 136 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc base::AutoLock lock(map_lock_); base 143 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc base::AutoLock lock(map_lock_); base 25 gpu/command_buffer/service/stream_texture_manager_in_process_android.h class StreamTextureManagerInProcess : public base::NonThreadSafe { base 41 gpu/command_buffer/service/stream_texture_manager_in_process_android.h base::Lock map_lock_; base 44 gpu/command_buffer/service/stream_texture_manager_in_process_android.h base::WeakPtrFactory<StreamTextureManagerInProcess> weak_factory_; base 150 gpu/command_buffer/service/test_helper.cc base::CStringTokenizer t(extensions, extensions + strlen(extensions), " "); base 203 gpu/command_buffer/service/test_helper.cc base::CStringTokenizer t(extensions, extensions + strlen(extensions), " "); base 551 gpu/command_buffer/service/test_helper.cc std::string(base_name) + "[" + base::IntToString(jj) + "]"); base 204 gpu/command_buffer/service/texture_definition.cc base::AutoLock lock(lock_); base 209 gpu/command_buffer/service/texture_definition.cc base::AutoLock lock(lock_); base 224 gpu/command_buffer/service/texture_definition.cc base::AutoLock lock(lock_); base 235 gpu/command_buffer/service/texture_definition.cc base::AutoLock lock(lock_); base 254 gpu/command_buffer/service/texture_definition.cc base::AutoLock lock(lock_); base 267 gpu/command_buffer/service/texture_definition.cc base::AutoLock lock(lock_); base 280 gpu/command_buffer/service/texture_definition.cc base::AutoLock lock(lock_); base 29 gpu/command_buffer/service/texture_definition.h class NativeImageBuffer : public base::RefCountedThreadSafe<NativeImageBuffer> { base 44 gpu/command_buffer/service/texture_definition.h friend class base::RefCountedThreadSafe<NativeImageBuffer>; base 48 gpu/command_buffer/service/texture_definition.h base::Lock lock_; base 263 gpu/command_buffer/service/texture_manager.cc *signature += base::StringPrintf( base 1278 gpu/command_buffer/service/texture_manager.cc base::bits::Log2Floor(std::max(std::max(width, height), depth)); base 1566 gpu/command_buffer/service/texture_manager.cc begin_time_(base::TimeTicks::HighResNow()) { base 1572 gpu/command_buffer/service/texture_manager.cc base::TimeTicks::HighResNow() - begin_time_; base 401 gpu/command_buffer/service/texture_manager.h class GPU_EXPORT TextureRef : public base::RefCounted<TextureRef> { base 413 gpu/command_buffer/service/texture_manager.h friend class base::RefCounted<TextureRef>; base 446 gpu/command_buffer/service/texture_manager.h base::TimeDelta total_texture_upload_time; base 769 gpu/command_buffer/service/texture_manager.h typedef base::hash_map<GLuint, scoped_refptr<TextureRef> > TextureMap; base 809 gpu/command_buffer/service/texture_manager.h base::TimeTicks begin_time_; base 16 gpu/command_buffer/service/transfer_buffer_manager.cc using ::base::SharedMemory; base 44 gpu/command_buffer/service/transfer_buffer_manager.h typedef base::hash_map<int32, scoped_refptr<Buffer> > BufferMap; base 11 gpu/command_buffer/service/transfer_buffer_manager_unittest.cc using base::SharedMemory; base 41 gpu/command_buffer/service/transfer_buffer_manager_unittest.cc scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); base 43 gpu/command_buffer/service/transfer_buffer_manager_unittest.cc base::SharedMemory* shm_raw_pointer = shm.get(); base 107 gpu/command_buffer/service/transfer_buffer_manager_unittest.cc scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); base 51 gpu/command_buffer/service/vertex_array_manager.h typedef base::hash_map<GLuint, scoped_refptr<VertexAttribManager> > base 192 gpu/command_buffer/service/vertex_attrib_manager.cc base::IntToString(attrib->index())).c_str()); base 238 gpu/command_buffer/service/vertex_attrib_manager.cc base::IntToString(attrib->index())).c_str()); base 168 gpu/command_buffer/service/vertex_attrib_manager.h public base::RefCounted<VertexAttribManager> { base 255 gpu/command_buffer/service/vertex_attrib_manager.h friend class base::RefCounted<VertexAttribManager>; base 119 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc base::SharedMemory shared_memory; base 122 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc base::SharedMemoryHandle duped_shared_memory_handle; base 123 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc shared_memory.ShareToProcess(base::GetCurrentProcessHandle(), base 182 gpu/command_buffer/tests/gl_manager.cc base::Bind(&GLManager::PumpCommands, base::Unretained(this))); base 184 gpu/command_buffer/tests/gl_manager.cc base::Bind(&GLManager::GetBufferChanged, base::Unretained(this))); base 43 gpu/command_buffer/tests/gl_query_unittest.cc base::TimeTicks before = base::TimeTicks::HighResNow(); base 57 gpu/command_buffer/tests/gl_query_unittest.cc base::TimeTicks after = base::TimeTicks::HighResNow(); base 70 gpu/command_buffer/tests/gl_query_unittest.cc EXPECT_LT(result, base::TimeDelta(after - before).InMicroseconds()); base 122 gpu/command_buffer/tests/gl_query_unittest.cc base::PlatformThread::Sleep( base 123 gpu/command_buffer/tests/gl_query_unittest.cc base::TimeDelta::FromMicroseconds(kExpectedLatencyMicroseconds)); base 32 gpu/command_buffer/tests/gl_readback_unittest.cc static void WaitForQueryCallback(int q, base::Closure cb) { base 38 gpu/command_buffer/tests/gl_readback_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 40 gpu/command_buffer/tests/gl_readback_unittest.cc base::Bind(&WaitForQueryCallback, q, cb), base 41 gpu/command_buffer/tests/gl_readback_unittest.cc base::TimeDelta::FromMilliseconds(3)); base 46 gpu/command_buffer/tests/gl_readback_unittest.cc base::RunLoop run_loop; base 27 gpu/command_buffer/tests/gl_tests_main.cc ui::gl::android::RegisterJni(base::android::AttachCurrentThread()); base 29 gpu/command_buffer/tests/gl_tests_main.cc base::AtExitManager exit_manager; base 33 gpu/command_buffer/tests/gl_tests_main.cc base::mac::ScopedNSAutoreleasePool pool; base 41 gpu/command_buffer/tests/gl_tests_main.cc base::MessageLoop main_message_loop; base 27 gpu/config/gpu_control_list.cc base::SplitString(version_string, splitter, version); base 41 gpu/config/gpu_control_list.cc if (!base::StringToUint((*version)[i], &num)) base 55 gpu/config/gpu_control_list.cc bool valid = base::StringToUint(number, &value1); base 57 gpu/config/gpu_control_list.cc valid = base::StringToUint(number_ref, &value2); base 321 gpu/config/gpu_control_list.cc if (!base::StringToDouble(float_value, &dvalue)) { base 327 gpu/config/gpu_control_list.cc if (!base::StringToDouble(float_value2, &dvalue)) { base 368 gpu/config/gpu_control_list.cc if (!base::StringToInt(int_value, &value_)) { base 373 gpu/config/gpu_control_list.cc !base::StringToInt(int_value2, &value2_)) base 410 gpu/config/gpu_control_list.cc const base::DictionaryValue* value, bool top_level, base 442 gpu/config/gpu_control_list.cc const base::ListValue* cr_bugs; base 456 gpu/config/gpu_control_list.cc const base::ListValue* webkit_bugs; base 470 gpu/config/gpu_control_list.cc const base::DictionaryValue* os_value = NULL; base 477 gpu/config/gpu_control_list.cc const base::DictionaryValue* os_version_value = NULL; base 500 gpu/config/gpu_control_list.cc const base::ListValue* device_id_list; base 531 gpu/config/gpu_control_list.cc const base::DictionaryValue* driver_vendor_value = NULL; base 544 gpu/config/gpu_control_list.cc const base::DictionaryValue* driver_version_value = NULL; base 564 gpu/config/gpu_control_list.cc const base::DictionaryValue* driver_date_value = NULL; base 580 gpu/config/gpu_control_list.cc const base::DictionaryValue* gl_vendor_value = NULL; base 593 gpu/config/gpu_control_list.cc const base::DictionaryValue* gl_renderer_value = NULL; base 606 gpu/config/gpu_control_list.cc const base::DictionaryValue* gl_extensions_value = NULL; base 619 gpu/config/gpu_control_list.cc const base::DictionaryValue* gl_reset_notification_strategy_value = NULL; base 637 gpu/config/gpu_control_list.cc const base::DictionaryValue* cpu_brand_value = NULL; base 650 gpu/config/gpu_control_list.cc const base::DictionaryValue* perf_graphics_value = NULL; base 665 gpu/config/gpu_control_list.cc const base::DictionaryValue* perf_gaming_value = NULL; base 680 gpu/config/gpu_control_list.cc const base::DictionaryValue* perf_overall_value = NULL; base 695 gpu/config/gpu_control_list.cc const base::DictionaryValue* machine_model_value = NULL; base 699 gpu/config/gpu_control_list.cc const base::DictionaryValue* name = NULL; base 708 gpu/config/gpu_control_list.cc const base::DictionaryValue* version_value = NULL; base 722 gpu/config/gpu_control_list.cc const base::DictionaryValue* gpu_count_value = NULL; base 744 gpu/config/gpu_control_list.cc const base::ListValue* feature_value = NULL; base 766 gpu/config/gpu_control_list.cc const base::ListValue* exception_list_value = NULL; base 769 gpu/config/gpu_control_list.cc const base::DictionaryValue* exception_value = NULL; base 831 gpu/config/gpu_control_list.cc return base::HexStringToUInt(vendor_id_string, &vendor_id_) && base 838 gpu/config/gpu_control_list.cc if (base::HexStringToUInt(device_id_string, &device_id) && device_id != 0) { base 1034 gpu/config/gpu_control_list.cc VLOG(1) << base::StringPrintf(kControlListMatchMessage, id_, base 1143 gpu/config/gpu_control_list.cc base::SplitString(gpu_info.machine_model, ' ', &name_version); base 1155 gpu/config/gpu_control_list.cc base::CPU cpu_info; base 1208 gpu/config/gpu_control_list.cc base::ListValue* feature_names, base 1249 gpu/config/gpu_control_list.cc scoped_ptr<base::Value> root; base 1250 gpu/config/gpu_control_list.cc root.reset(base::JSONReader::Read(json_context)); base 1251 gpu/config/gpu_control_list.cc if (root.get() == NULL || !root->IsType(base::Value::TYPE_DICTIONARY)) base 1254 gpu/config/gpu_control_list.cc base::DictionaryValue* root_dictionary = base 1255 gpu/config/gpu_control_list.cc static_cast<base::DictionaryValue*>(root.get()); base 1260 gpu/config/gpu_control_list.cc bool GpuControlList::LoadList(const base::DictionaryValue& parsed_json, base 1269 gpu/config/gpu_control_list.cc const base::ListValue* list = NULL; base 1275 gpu/config/gpu_control_list.cc const base::DictionaryValue* list_item = NULL; base 1313 gpu/config/gpu_control_list.cc os_version = base::SysInfo::OperatingSystemVersion(); base 1351 gpu/config/gpu_control_list.cc void GpuControlList::GetReasons(base::ListValue* problem_list, base 1358 gpu/config/gpu_control_list.cc base::DictionaryValue* problem = new base::DictionaryValue(); base 1362 gpu/config/gpu_control_list.cc base::ListValue* cr_bugs = new base::ListValue(); base 1364 gpu/config/gpu_control_list.cc cr_bugs->Append(new base::FundamentalValue(entry->cr_bugs()[j])); base 1367 gpu/config/gpu_control_list.cc base::ListValue* webkit_bugs = new base::ListValue(); base 1369 gpu/config/gpu_control_list.cc webkit_bugs->Append(new base::FundamentalValue(entry->webkit_bugs()[j])); base 1373 gpu/config/gpu_control_list.cc base::ListValue* features = new base::ListValue(); base 74 gpu/config/gpu_control_list.h base::ListValue* problem_list, const std::string& tag) const; base 291 gpu/config/gpu_control_list.h typedef base::hash_map<std::string, int> FeatureMap; base 294 gpu/config/gpu_control_list.h : public base::RefCounted<GpuControlListEntry> { base 299 gpu/config/gpu_control_list.h const base::DictionaryValue* value, bool top_level, base 337 gpu/config/gpu_control_list.h void GetFeatureNames(base::ListValue* feature_names, base 342 gpu/config/gpu_control_list.h friend class base::RefCounted<GpuControlListEntry>; base 482 gpu/config/gpu_control_list.h bool LoadList(const base::DictionaryValue& parsed_json, OsFilter os_filter); base 33 gpu/config/gpu_control_list_entry_unittest.cc scoped_ptr<base::Value> root; base 34 gpu/config/gpu_control_list_entry_unittest.cc root.reset(base::JSONReader::Read(json)); base 35 gpu/config/gpu_control_list_entry_unittest.cc base::DictionaryValue* value = NULL; base 130 gpu/config/gpu_driver_bug_list_unittest.cc base::CommandLine command_line(0, NULL); base 144 gpu/config/gpu_driver_bug_list_unittest.cc base::CommandLine command_line(0, NULL); base 39 gpu/config/gpu_dx_diagnostics_win.cc std::string prop_name8 = base::WideToUTF8(prop_name16); base 45 gpu/config/gpu_dx_diagnostics_win.cc output->values[prop_name8] = base::UintToString(variant.ulVal); base 48 gpu/config/gpu_dx_diagnostics_win.cc output->values[prop_name8] = base::IntToString(variant.lVal); base 54 gpu/config/gpu_dx_diagnostics_win.cc output->values[prop_name8] = base::WideToUTF8(variant.bstrVal); base 77 gpu/config/gpu_dx_diagnostics_win.cc std::string child_name8 = base::WideToUTF8(child_name16); base 97 gpu/config/gpu_dx_diagnostics_win.cc base::win::ScopedCOMInitializer com_initializer; base 50 gpu/config/gpu_info.cc base::TimeDelta initialization_time; base 60 gpu/config/gpu_info.h base::TimeDelta initialization_time; base 174 gpu/config/gpu_info.h const base::TimeDelta& value) = 0; base 72 gpu/config/gpu_info_collector.cc base::SplitString(sub_string, '.', &pieces); base 41 gpu/config/gpu_info_collector_android.cc base::SplitString(sub_string, '.', &pieces); base 102 gpu/config/gpu_info_collector_android.cc gpu_info->machine_model = base::android::BuildInfo::GetInstance()->model(); base 59 gpu/config/gpu_info_collector_win.cc if (!base::StringToDouble(score_string, &score)) base 85 gpu/config/gpu_info_collector_win.cc base::FileEnumerator file_enumerator( base 86 gpu/config/gpu_info_collector_win.cc base::FilePath(winsat_results_path), base 88 gpu/config/gpu_info_collector_win.cc base::FileEnumerator::FILES, base 91 gpu/config/gpu_info_collector_win.cc base::FilePath current_results; base 92 gpu/config/gpu_info_collector_win.cc for (base::FilePath results = file_enumerator.Next(); !results.empty(); base 96 gpu/config/gpu_info_collector_win.cc if (base::FilePath::CompareLessIgnoreCase(current_results.value(), base 153 gpu/config/gpu_info_collector_win.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 158 gpu/config/gpu_info_collector_win.cc base::TimeTicks::Now() - start_time); base 175 gpu/config/gpu_info_collector_win.cc base::win::RegKey key; base 186 gpu/config/gpu_info_collector_win.cc base::string16 version; base 190 gpu/config/gpu_info_collector_win.cc return Version(base::UTF16ToASCII(version)); base 195 gpu/config/gpu_info_collector_win.cc base::win::RegKey key; base 219 gpu/config/gpu_info_collector_win.cc if (base::win::GetVersion() <= base::win::VERSION_VISTA) base 267 gpu/config/gpu_info_collector_win.cc base::NativeLibrary d3d11_module = base::LoadNativeLibrary( base 268 gpu/config/gpu_info_collector_win.cc base::FilePath(L"d3d11.dll"), base 276 gpu/config/gpu_info_collector_win.cc base::GetFunctionPointerFromNativeLibrary(d3d11_module, base 290 gpu/config/gpu_info_collector_win.cc base::win::ScopedComPtr<ID3D11Device> device; base 292 gpu/config/gpu_info_collector_win.cc base::win::ScopedComPtr<ID3D11DeviceContext> device_context; base 358 gpu/config/gpu_info_collector_win.cc base::WorkerPool::PostTask( base 360 gpu/config/gpu_info_collector_win.cc base::Bind(CollectD3D11SupportOnWorkerThread), base 413 gpu/config/gpu_info_collector_win.cc driver_version = base::UTF16ToASCII(std::wstring(value)); base 421 gpu/config/gpu_info_collector_win.cc driver_date = base::UTF16ToASCII(std::wstring(value)); base 429 gpu/config/gpu_info_collector_win.cc driver_vendor = base::UTF16ToASCII(std::wstring(value)); base 496 gpu/config/gpu_info_collector_win.cc base::StringPrintf("%d.%d", base 500 gpu/config/gpu_info_collector_win.cc base::StringPrintf("%d.%d", base 544 gpu/config/gpu_info_collector_win.cc base::HexStringToInt(base::UTF16ToASCII(vendor_string), &vendor); base 545 gpu/config/gpu_info_collector_win.cc base::HexStringToInt(base::UTF16ToASCII(device_string), &device); base 597 gpu/config/gpu_info_collector_win.cc base::string16 vendor_id_string = id.substr(8, 4); base 598 gpu/config/gpu_info_collector_win.cc base::string16 device_id_string = id.substr(17, 4); base 599 gpu/config/gpu_info_collector_win.cc base::HexStringToInt(base::UTF16ToASCII(vendor_id_string), &vendor_id); base 600 gpu/config/gpu_info_collector_win.cc base::HexStringToInt(base::UTF16ToASCII(device_id_string), &device_id); base 612 gpu/config/gpu_info_collector_win.cc scoped_refptr<base::FieldTrial> trial( base 613 gpu/config/gpu_info_collector_win.cc base::FieldTrialList::FactoryGetFieldTrial( base 615 gpu/config/gpu_info_collector_win.cc base::FieldTrial::SESSION_RANDOMIZED, NULL)); base 620 gpu/config/gpu_info_collector_win.cc base::MessageLoop::current()->PostDelayedTask( base 622 gpu/config/gpu_info_collector_win.cc base::Bind(&CollectD3D11Support), base 623 gpu/config/gpu_info_collector_win.cc base::TimeDelta::FromSeconds(45)); base 36 gpu/config/gpu_info_collector_x11.cc const base::FilePath pci_path("/sys/bus/pci/"); base 37 gpu/config/gpu_info_collector_x11.cc const base::FilePath pcie_path("/sys/bus/pci_express/"); base 38 gpu/config/gpu_info_collector_x11.cc return (base::PathExists(pci_path) || base 39 gpu/config/gpu_info_collector_x11.cc base::PathExists(pcie_path)); base 45 gpu/config/gpu_info_collector_x11.cc const base::FilePath::CharType kATIFileName[] = base 47 gpu/config/gpu_info_collector_x11.cc base::FilePath ati_file_path(kATIFileName); base 48 gpu/config/gpu_info_collector_x11.cc if (!base::PathExists(ati_file_path)) base 51 gpu/config/gpu_info_collector_x11.cc if (!base::ReadFileToString(ati_file_path, &contents)) base 53 gpu/config/gpu_info_collector_x11.cc base::StringTokenizer t(contents, "\r\n"); base 73 gpu/config/gpu_info_collector_x11.cc Display* display = base::MessagePumpForUI::GetDefaultXDisplay(); base 250 gpu/config/gpu_info_collector_x11.cc base::SplitStringAlongWhitespace(gl_version_string, &pieces); base 32 gpu/config/gpu_test_config.cc base::SysInfo::OperatingSystemVersionNumbers( base 46 gpu/config/gpu_test_config.cc base::SysInfo::OperatingSystemVersionNumbers( base 284 gpu/config/gpu_test_config.cc if (CurrentConfigMatches("MAC VMWARE") && base::mac::IsOSLionOrEarlier()) { base 289 gpu/config/gpu_test_config.cc if (base::win::GetVersion() <= base::win::VERSION_VISTA) { base 176 gpu/config/gpu_test_expectations_parser.cc base::SplitString(data, '\n', &lines); base 191 gpu/config/gpu_test_expectations_parser.cc const base::FilePath& path) { base 196 gpu/config/gpu_test_expectations_parser.cc if (!base::ReadFileToString(path, &data)) { base 223 gpu/config/gpu_test_expectations_parser.cc base::SplitStringAlongWhitespace(config_data, &tokens); base 267 gpu/config/gpu_test_expectations_parser.cc base::SplitStringAlongWhitespace(line_data, &tokens); base 457 gpu/config/gpu_test_expectations_parser.cc !base::HexStringToUInt(gpu_device_id, &device_id) || base 486 gpu/config/gpu_test_expectations_parser.cc base::StringPrintf("Line %d : %s", base 495 gpu/config/gpu_test_expectations_parser.cc base::StringPrintf("Line %d and %d : %s", base 35 gpu/config/gpu_test_expectations_parser.h bool LoadTestExpectations(const base::FilePath& path); base 30 gpu/config/gpu_util.cc rt += base::IntToString(*it); base 38 gpu/config/gpu_util.cc base::SplitString(str, ',', &pieces); base 41 gpu/config/gpu_util.cc bool succeed = base::StringToInt(pieces[i], &number); base 15 gpu/config/gpu_util.h namespace base { base 29 gpu/config/gpu_util.h GPU_EXPORT void ApplyGpuDriverBugWorkarounds(base::CommandLine* command_line); base 34 gpu/config/gpu_util.h const GPUInfo& gpu_inco, base::CommandLine* command_line); base 177 gpu/gles2_conform_support/egl/display.cc base::Bind(&gpu::GpuScheduler::PutChanged, base 178 gpu/gles2_conform_support/egl/display.cc base::Unretained(gpu_scheduler_.get()))); base 180 gpu/gles2_conform_support/egl/display.cc base::Bind(&gpu::GpuScheduler::SetGetBuffer, base 181 gpu/gles2_conform_support/egl/display.cc base::Unretained(gpu_scheduler_.get()))); base 27 gpu/gles2_conform_support/gles2_conform_test.cc base::FilePath src_path; base 28 gpu/gles2_conform_support/gles2_conform_test.cc PathService::Get(base::DIR_SOURCE_ROOT, &src_path); base 29 gpu/gles2_conform_support/gles2_conform_test.cc base::FilePath test_expectations_path = base 33 gpu/gles2_conform_support/gles2_conform_test.cc if (!base::PathExists(test_expectations_path)) { base 53 gpu/gles2_conform_support/gles2_conform_test.cc base::ReplaceChars(path_string, "\\/.", "_", &test_name); base 61 gpu/gles2_conform_support/gles2_conform_test.cc base::FilePath test_path; base 62 gpu/gles2_conform_support/gles2_conform_test.cc PathService::Get(base::DIR_EXE, &test_path); base 63 gpu/gles2_conform_support/gles2_conform_test.cc base::FilePath program(test_path.Append(FILE_PATH_LITERAL( base 70 gpu/gles2_conform_support/gles2_conform_test.cc bool success = base::GetAppOutput(cmdline, &output); base 84 gpu/gles2_conform_support/gles2_conform_test.cc base::AtExitManager exit_manager; base 86 gpu/gles2_conform_support/gles2_conform_test.cc base::mac::ScopedNSAutoreleasePool pool; base 26 gpu/gles2_conform_support/native/main.cc base::AtExitManager at_exit; base 28 gpu/gles2_conform_support/native/main.cc base::MessageLoopForUI message_loop; base 31 gpu/gles2_conform_support/native/main.cc base::mac::ScopedNSAutoreleasePool pool; base 59 gpu/ipc/gpu_command_buffer_traits.cc *l += base::StringPrintf("%02x", p.name[i]); base 80 gpu/ipc/gpu_command_buffer_traits.cc *l += base::StringPrintf(":%04x@%d", p.texture_target, p.sync_point); base 39 gpu/tools/compositor_model_bench/compositor_model_bench.cc using base::TimeTicks; base 40 gpu/tools/compositor_model_bench/compositor_model_bench.cc using base::DirectoryExists; base 41 gpu/tools/compositor_model_bench/compositor_model_bench.cc using base::PathExists; base 47 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::FilePath input_path; base 60 gpu/tools/compositor_model_bench/compositor_model_bench.cc Simulator(int seconds_per_test, const base::FilePath& output_path) base 82 gpu/tools/compositor_model_bench/compositor_model_bench.cc void QueueTest(const base::FilePath& path) { base 112 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::AtExitManager at_exit; base 113 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::MessageLoop loop; base 123 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::Bind(&Simulator::ProcessEvents, base 225 gpu/tools/compositor_model_bench/compositor_model_bench.cc const base::FilePath& path = spec.input_path; base 267 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::MessageLoop::current()->PostTask( base 269 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::Bind(&Simulator::UpdateLoop, weak_factory_.GetWeakPtr())); base 275 gpu/tools/compositor_model_bench/compositor_model_bench.cc FILE* f = base::OpenFile(output_path_, "w"); base 301 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::CloseFile(f); base 306 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::TimeDelta d = TimeTicks::Now() - current_start; base 325 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::MessageLoop::current()->Quit(); base 343 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::FilePath output_path_; base 347 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::WeakPtrFactory<Simulator> weak_factory_; base 380 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::FilePath inPath = cl->GetSwitchValuePath("in"); base 389 gpu/tools/compositor_model_bench/compositor_model_bench.cc base::FileEnumerator dirItr(inPath, true, base::FileEnumerator::FILES); base 390 gpu/tools/compositor_model_bench/compositor_model_bench.cc for (base::FilePath f = dirItr.Next(); !f.empty(); f = dirItr.Next()) { base 20 gpu/tools/compositor_model_bench/render_tree.cc using base::JSONReader; base 21 gpu/tools/compositor_model_bench/render_tree.cc using base::JSONWriter; base 22 gpu/tools/compositor_model_bench/render_tree.cc using base::ReadFileToString; base 121 gpu/tools/compositor_model_bench/render_tree.cc RenderNode* InterpretNode(base::DictionaryValue* node); base 123 gpu/tools/compositor_model_bench/render_tree.cc std::string ValueTypeAsString(base::Value::Type type) { base 125 gpu/tools/compositor_model_bench/render_tree.cc case base::Value::TYPE_NULL: base 127 gpu/tools/compositor_model_bench/render_tree.cc case base::Value::TYPE_BOOLEAN: base 129 gpu/tools/compositor_model_bench/render_tree.cc case base::Value::TYPE_INTEGER: base 131 gpu/tools/compositor_model_bench/render_tree.cc case base::Value::TYPE_DOUBLE: base 133 gpu/tools/compositor_model_bench/render_tree.cc case base::Value::TYPE_STRING: base 135 gpu/tools/compositor_model_bench/render_tree.cc case base::Value::TYPE_BINARY: base 137 gpu/tools/compositor_model_bench/render_tree.cc case base::Value::TYPE_DICTIONARY: base 139 gpu/tools/compositor_model_bench/render_tree.cc case base::Value::TYPE_LIST: base 147 gpu/tools/compositor_model_bench/render_tree.cc bool VerifyDictionaryEntry(base::DictionaryValue* node, base 149 gpu/tools/compositor_model_bench/render_tree.cc base::Value::Type type) { base 155 gpu/tools/compositor_model_bench/render_tree.cc base::Value* child; base 167 gpu/tools/compositor_model_bench/render_tree.cc bool VerifyListEntry(base::ListValue* l, base 169 gpu/tools/compositor_model_bench/render_tree.cc base::Value::Type type, base 173 gpu/tools/compositor_model_bench/render_tree.cc base::Value* el; base 185 gpu/tools/compositor_model_bench/render_tree.cc bool InterpretCommonContents(base::DictionaryValue* node, RenderNode* c) { base 186 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(node, "layerID", base::Value::TYPE_INTEGER) || base 187 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(node, "width", base::Value::TYPE_INTEGER) || base 188 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(node, "height", base::Value::TYPE_INTEGER) || base 189 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(node, "drawsContent", base::Value::TYPE_BOOLEAN) || base 191 gpu/tools/compositor_model_bench/render_tree.cc base::Value::TYPE_INTEGER) || base 192 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(node, "transform", base::Value::TYPE_LIST) base 213 gpu/tools/compositor_model_bench/render_tree.cc base::ListValue* transform; base 221 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyListEntry(transform, i, base::Value::TYPE_DOUBLE, "Transform")) base 230 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(node, "tiles", base::Value::TYPE_DICTIONARY)) base 232 gpu/tools/compositor_model_bench/render_tree.cc base::DictionaryValue* tiles_dict; base 234 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(tiles_dict, "dim", base::Value::TYPE_LIST)) base 236 gpu/tools/compositor_model_bench/render_tree.cc base::ListValue* dim; base 238 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyListEntry(dim, 0, base::Value::TYPE_INTEGER, "Tile dimension") || base 239 gpu/tools/compositor_model_bench/render_tree.cc !VerifyListEntry(dim, 1, base::Value::TYPE_INTEGER, "Tile dimension")) { base 249 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(tiles_dict, "info", base::Value::TYPE_LIST)) base 251 gpu/tools/compositor_model_bench/render_tree.cc base::ListValue* tiles; base 254 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyListEntry(tiles, i, base::Value::TYPE_DICTIONARY, "Tile info")) base 256 gpu/tools/compositor_model_bench/render_tree.cc base::DictionaryValue* tdict; base 259 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(tdict, "x", base::Value::TYPE_INTEGER) || base 260 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(tdict, "y", base::Value::TYPE_INTEGER)) { base 267 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(tdict, "texID", base::Value::TYPE_INTEGER)) base 279 gpu/tools/compositor_model_bench/render_tree.cc bool InterpretCCData(base::DictionaryValue* node, CCNode* c) { base 280 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(node, "vertex_shader", base::Value::TYPE_STRING) || base 282 gpu/tools/compositor_model_bench/render_tree.cc base::Value::TYPE_STRING) || base 283 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(node, "textures", base::Value::TYPE_LIST)) { base 292 gpu/tools/compositor_model_bench/render_tree.cc base::ListValue* textures; base 295 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyListEntry(textures, i, base::Value::TYPE_DICTIONARY, "Tex list")) base 297 gpu/tools/compositor_model_bench/render_tree.cc base::DictionaryValue* tex; base 300 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(tex, "texID", base::Value::TYPE_INTEGER) || base 301 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(tex, "height", base::Value::TYPE_INTEGER) || base 302 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(tex, "width", base::Value::TYPE_INTEGER) || base 303 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(tex, "format", base::Value::TYPE_STRING)) { base 339 gpu/tools/compositor_model_bench/render_tree.cc RenderNode* InterpretContentLayer(base::DictionaryValue* node) { base 344 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(node, "type", base::Value::TYPE_STRING) || base 345 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(node, "skipsDraw", base::Value::TYPE_BOOLEAN) || base 346 gpu/tools/compositor_model_bench/render_tree.cc !VerifyDictionaryEntry(node, "children", base::Value::TYPE_LIST)) { base 357 gpu/tools/compositor_model_bench/render_tree.cc base::ListValue* children; base 360 gpu/tools/compositor_model_bench/render_tree.cc base::DictionaryValue* childNode; base 370 gpu/tools/compositor_model_bench/render_tree.cc RenderNode* InterpretCanvasLayer(base::DictionaryValue* node) { base 375 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(node, "type", base::Value::TYPE_STRING)) { base 389 gpu/tools/compositor_model_bench/render_tree.cc RenderNode* InterpretVideoLayer(base::DictionaryValue* node) { base 394 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(node, "type", base::Value::TYPE_STRING)) { base 408 gpu/tools/compositor_model_bench/render_tree.cc RenderNode* InterpretImageLayer(base::DictionaryValue* node) { base 413 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(node, "type", base::Value::TYPE_STRING)) { base 427 gpu/tools/compositor_model_bench/render_tree.cc RenderNode* InterpretNode(base::DictionaryValue* node) { base 428 gpu/tools/compositor_model_bench/render_tree.cc if (!VerifyDictionaryEntry(node, "type", base::Value::TYPE_STRING)) { base 445 gpu/tools/compositor_model_bench/render_tree.cc JSONWriter::WriteWithOptions(node, base::JSONWriter::OPTIONS_PRETTY_PRINT, base 455 gpu/tools/compositor_model_bench/render_tree.cc RenderNode* BuildRenderTreeFromFile(const base::FilePath& path) { base 461 gpu/tools/compositor_model_bench/render_tree.cc scoped_ptr<base::Value> root; base 465 gpu/tools/compositor_model_bench/render_tree.cc base::JSON_ALLOW_TRAILING_COMMAS, base 474 gpu/tools/compositor_model_bench/render_tree.cc if (root->IsType(base::Value::TYPE_DICTIONARY)) { base 475 gpu/tools/compositor_model_bench/render_tree.cc base::DictionaryValue* v = static_cast<base::DictionaryValue*>(root.get()); base 208 gpu/tools/compositor_model_bench/render_tree.h RenderNode* BuildRenderTreeFromFile(const base::FilePath& path); base 15 ios/consumer/base/supports_user_data.cc class DataAdaptor : public base::SupportsUserData::Data { base 34 ios/consumer/base/supports_user_data.cc class SupportsUserDataInternal : public base::SupportsUserData { base 54 ios/consumer/base/supports_user_data.cc base::SupportsUserData::GetUserData(key)); base 62 ios/consumer/base/supports_user_data.cc base::SupportsUserData::SetUserData(key, new DataAdaptor(data)); base 45 ipc/file_descriptor_set_posix.cc struct base::FileDescriptor sd; base 58 ipc/file_descriptor_set_posix.cc struct base::FileDescriptor sd; base 100 ipc/file_descriptor_set_posix.cc for (std::vector<base::FileDescriptor>::const_iterator base 109 ipc/file_descriptor_set_posix.cc for (std::vector<base::FileDescriptor>::const_iterator base 119 ipc/file_descriptor_set_posix.cc for (std::vector<base::FileDescriptor>::iterator base 130 ipc/file_descriptor_set_posix.cc for (std::vector<base::FileDescriptor>::iterator base 146 ipc/file_descriptor_set_posix.cc struct base::FileDescriptor sd; base 21 ipc/file_descriptor_set_posix.h : public base::RefCountedThreadSafe<FileDescriptorSet> { base 98 ipc/file_descriptor_set_posix.h friend class base::RefCountedThreadSafe<FileDescriptorSet>; base 106 ipc/file_descriptor_set_posix.h std::vector<base::FileDescriptor> descriptors_; base 17 ipc/ipc_channel.cc base::StaticAtomicSequenceNumber g_last_id; base 34 ipc/ipc_channel.cc int process_id = base::GetCurrentProcId(); base 35 ipc/ipc_channel.cc return base::StringPrintf("%d.%u.%d", base 38 ipc/ipc_channel.cc base::RandInt(0, std::numeric_limits<int32>::max())); base 144 ipc/ipc_channel.h base::ProcessId peer_pid() const; base 14 ipc/ipc_channel_factory.cc ChannelFactory::ChannelFactory(const base::FilePath& path, Delegate* delegate) base 37 ipc/ipc_channel_factory.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 40 ipc/ipc_channel_factory.cc base::MessageLoopForIO::WATCH_READ, base 55 ipc/ipc_channel_factory.cc base::ScopedFD scoped_fd(new_fd); base 68 ipc/ipc_channel_factory.cc base::FileDescriptor(scoped_fd.release(), true)); base 19 ipc/ipc_channel_factory.h class IPC_EXPORT ChannelFactory : public base::MessageLoopForIO::Watcher { base 32 ipc/ipc_channel_factory.h ChannelFactory(const base::FilePath& path, Delegate* delegate); base 47 ipc/ipc_channel_factory.h base::MessageLoopForIO::FileDescriptorWatcher base 49 ipc/ipc_channel_factory.h base::FilePath path_; base 47 ipc/ipc_channel_handle.h ChannelHandle(const std::string& n, const base::FileDescriptor& s) base 53 ipc/ipc_channel_handle.h base::FileDescriptor socket; base 66 ipc/ipc_channel_nacl.cc : public base::DelegateSimpleThread::Delegate { base 77 ipc/ipc_channel_nacl.cc base::Callback<void (scoped_ptr<MessageContents>)> data_read_callback, base 78 ipc/ipc_channel_nacl.cc base::Callback<void ()> failure_callback, base 79 ipc/ipc_channel_nacl.cc scoped_refptr<base::MessageLoopProxy> main_message_loop); base 87 ipc/ipc_channel_nacl.cc base::Callback<void (scoped_ptr<MessageContents>)> data_read_callback_; base 88 ipc/ipc_channel_nacl.cc base::Callback<void ()> failure_callback_; base 89 ipc/ipc_channel_nacl.cc scoped_refptr<base::MessageLoopProxy> main_message_loop_; base 96 ipc/ipc_channel_nacl.cc base::Callback<void (scoped_ptr<MessageContents>)> data_read_callback, base 97 ipc/ipc_channel_nacl.cc base::Callback<void ()> failure_callback, base 98 ipc/ipc_channel_nacl.cc scoped_refptr<base::MessageLoopProxy> main_message_loop) base 111 ipc/ipc_channel_nacl.cc base::Bind(data_read_callback_, base::Passed(&msg_contents))); base 142 ipc/ipc_channel_nacl.cc base::ProcessId Channel::ChannelImpl::peer_pid() const { base 162 ipc/ipc_channel_nacl.cc base::Bind(&Channel::ChannelImpl::DidRecvMsg, base 164 ipc/ipc_channel_nacl.cc base::Bind(&Channel::ChannelImpl::ReadDidFail, base 166 ipc/ipc_channel_nacl.cc base::MessageLoopProxy::current())); base 168 ipc/ipc_channel_nacl.cc new base::DelegateSimpleThread(reader_thread_runner_.get(), base 174 ipc/ipc_channel_nacl.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, base 175 ipc/ipc_channel_nacl.cc base::Bind(&Channel::ChannelImpl::CallOnChannelConnected, base 389 ipc/ipc_channel_nacl.cc base::ProcessId Channel::peer_pid() const { base 43 ipc/ipc_channel_nacl.h base::ProcessId peer_pid() const; base 87 ipc/ipc_channel_nacl.h scoped_ptr<base::DelegateSimpleThread> reader_thread_; base 113 ipc/ipc_channel_nacl.h base::WeakPtrFactory<ChannelImpl> weak_ptr_factory_; base 104 ipc/ipc_channel_posix.cc base::AutoLock locked(lock_); base 115 ipc/ipc_channel_posix.cc base::AutoLock locked(lock_); base 122 ipc/ipc_channel_posix.cc base::AutoLock locked(lock_); base 133 ipc/ipc_channel_posix.cc base::Lock lock_; base 184 ipc/ipc_channel_posix.cc peer_pid_(base::kNullProcessId), base 267 ipc/ipc_channel_posix.cc if (!CreateServerUnixDomainSocket(base::FilePath(pipe_name_), base 273 ipc/ipc_channel_posix.cc if (!CreateClientUnixDomainSocket(base::FilePath(pipe_name_), base 303 ipc/ipc_channel_posix.cc base::GlobalDescriptors::GetInstance()->Get(kPrimaryIPCChannel); base 311 ipc/ipc_channel_posix.cc base::AutoLock lock(client_pipe_lock_); base 350 ipc/ipc_channel_posix.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 353 ipc/ipc_channel_posix.cc base::MessageLoopForIO::WATCH_READ, base 509 ipc/ipc_channel_posix.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 512 ipc/ipc_channel_posix.cc base::MessageLoopForIO::WATCH_WRITE, base 548 ipc/ipc_channel_posix.cc base::AutoLock lock(client_pipe_lock_); base 553 ipc/ipc_channel_posix.cc base::AutoLock lock(client_pipe_lock_); base 563 ipc/ipc_channel_posix.cc base::AutoLock lock(client_pipe_lock_); base 631 ipc/ipc_channel_posix.cc return base::PathExists(base::FilePath(channel_id)); base 717 ipc/ipc_channel_posix.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 718 ipc/ipc_channel_posix.cc pipe_, true, base::MessageLoopForIO::WATCH_READ, &read_watcher_, this); base 751 ipc/ipc_channel_posix.cc int pid = base::GetCurrentProcId(); base 772 ipc/ipc_channel_posix.cc if (!msg->WriteFileDescriptor(base::FileDescriptor(remote_fd_pipe_, base 994 ipc/ipc_channel_posix.cc base::FileDescriptor descriptor; base 1069 ipc/ipc_channel_posix.cc base::ProcessId Channel::peer_pid() const { base 53 ipc/ipc_channel_posix.h public base::MessageLoopForIO::Watcher { base 69 ipc/ipc_channel_posix.h base::ProcessId peer_pid() const { return peer_pid_; } base 120 ipc/ipc_channel_posix.h base::ProcessId peer_pid_; base 124 ipc/ipc_channel_posix.h base::MessageLoopForIO::FileDescriptorWatcher base 126 ipc/ipc_channel_posix.h base::MessageLoopForIO::FileDescriptorWatcher read_watcher_; base 127 ipc/ipc_channel_posix.h base::MessageLoopForIO::FileDescriptorWatcher write_watcher_; base 147 ipc/ipc_channel_posix.h base::Lock client_pipe_lock_; // Lock that protects |client_pipe_|. base 86 ipc/ipc_channel_posix_unittest.cc base::MessageLoopForIO* loop = base::MessageLoopForIO::current(); base 103 ipc/ipc_channel_posix_unittest.cc class IPCChannelPosixTest : public base::MultiProcessTest { base 107 ipc/ipc_channel_posix_unittest.cc static void SpinRunLoop(base::TimeDelta delay); base 116 ipc/ipc_channel_posix_unittest.cc scoped_ptr<base::MessageLoopForIO> message_loop_; base 121 ipc/ipc_channel_posix_unittest.cc base::FilePath tmp_dir; base 122 ipc/ipc_channel_posix_unittest.cc PathService::Get(base::DIR_CACHE, &tmp_dir); base 136 ipc/ipc_channel_posix_unittest.cc message_loop_.reset(new base::MessageLoopForIO()); base 166 ipc/ipc_channel_posix_unittest.cc base::FilePath path(name); base 167 ipc/ipc_channel_posix_unittest.cc base::FilePath dir_path = path.DirName(); base 168 ipc/ipc_channel_posix_unittest.cc ASSERT_TRUE(base::CreateDirectory(dir_path)); base 189 ipc/ipc_channel_posix_unittest.cc void IPCChannelPosixTest::SpinRunLoop(base::TimeDelta delay) { base 190 ipc/ipc_channel_posix_unittest.cc base::MessageLoopForIO* loop = base::MessageLoopForIO::current(); base 222 ipc/ipc_channel_posix_unittest.cc base::FileDescriptor fd(pipe_fds[0], false); base 245 ipc/ipc_channel_posix_unittest.cc base::FileDescriptor out_fd(in_chan.TakeClientFileDescriptor(), false); base 268 ipc/ipc_channel_posix_unittest.cc base::FileDescriptor out_fd(in_chan.TakeClientFileDescriptor(), false); base 288 ipc/ipc_channel_posix_unittest.cc base::ProcessHandle handle = SpawnChild("IPCChannelPosixTestConnectionProc"); base 299 ipc/ipc_channel_posix_unittest.cc EXPECT_TRUE(base::WaitForExitCode(handle, &exit_code)); base 317 ipc/ipc_channel_posix_unittest.cc base::ProcessHandle handle = SpawnChild("IPCChannelPosixTestConnectionProc"); base 325 ipc/ipc_channel_posix_unittest.cc base::ProcessHandle handle2 = SpawnChild("IPCChannelPosixTestConnectionProc"); base 335 ipc/ipc_channel_posix_unittest.cc EXPECT_TRUE(base::KillProcess(handle, 0, false)); base 337 ipc/ipc_channel_posix_unittest.cc EXPECT_TRUE(base::WaitForExitCode(handle2, &exit_code)); base 374 ipc/ipc_channel_posix_unittest.cc base::ProcessHandle handle = SpawnChild("IPCChannelPosixTestConnectionProc"); base 379 ipc/ipc_channel_posix_unittest.cc base::ProcessHandle handle2 = SpawnChild("IPCChannelPosixFailConnectionProc"); base 383 ipc/ipc_channel_posix_unittest.cc EXPECT_TRUE(base::WaitForExitCode(handle2, &exit_code)); base 392 ipc/ipc_channel_posix_unittest.cc EXPECT_TRUE(base::WaitForExitCode(handle, &exit_code)); base 421 ipc/ipc_channel_posix_unittest.cc ASSERT_TRUE(base::DeleteFile(base::FilePath(connection_socket_name), false)); base 434 ipc/ipc_channel_posix_unittest.cc base::MessageLoopForIO message_loop; base 447 ipc/ipc_channel_posix_unittest.cc base::MessageLoopForIO message_loop; base 140 ipc/ipc_channel_proxy.cc base::SingleThreadTaskRunner* ipc_task_runner) base 141 ipc/ipc_channel_proxy.cc : listener_task_runner_(base::ThreadTaskRunnerHandle::Get()), base 146 ipc/ipc_channel_proxy.cc peer_pid_(base::kNullProcessId) { base 193 ipc/ipc_channel_proxy.cc FROM_HERE, base::Bind(&Context::OnDispatchMessage, this, message)); base 210 ipc/ipc_channel_proxy.cc FROM_HERE, base::Bind(&Context::OnDispatchConnected, this)); base 220 ipc/ipc_channel_proxy.cc FROM_HERE, base::Bind(&Context::OnDispatchError, this)); base 287 ipc/ipc_channel_proxy.cc if (peer_pid_ == base::kNullProcessId) base 292 ipc/ipc_channel_proxy.cc base::AutoLock auto_lock(pending_filters_lock_); base 310 ipc/ipc_channel_proxy.cc if (peer_pid_ == base::kNullProcessId) { base 312 ipc/ipc_channel_proxy.cc base::AutoLock auto_lock(pending_filters_lock_); base 340 ipc/ipc_channel_proxy.cc base::AutoLock auto_lock(pending_filters_lock_); base 343 ipc/ipc_channel_proxy.cc FROM_HERE, base::Bind(&Context::OnAddFilter, this)); base 404 ipc/ipc_channel_proxy.cc base::SingleThreadTaskRunner* ipc_task_runner) base 444 ipc/ipc_channel_proxy.cc FROM_HERE, base::Bind(&Context::CreateChannel, context_.get(), base 450 ipc/ipc_channel_proxy.cc FROM_HERE, base::Bind(&Context::OnChannelOpened, context_.get())); base 465 ipc/ipc_channel_proxy.cc FROM_HERE, base::Bind(&Context::OnChannelClosed, context_.get())); base 481 ipc/ipc_channel_proxy.cc base::Bind(&ChannelProxy::Context::OnSendMessage, base 482 ipc/ipc_channel_proxy.cc context_, base::Passed(scoped_ptr<Message>(message)))); base 496 ipc/ipc_channel_proxy.cc FROM_HERE, base::Bind(&Context::OnRemoveFilter, context_.get(), base 19 ipc/ipc_channel_proxy.h namespace base { base 55 ipc/ipc_channel_proxy.h class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe { base 61 ipc/ipc_channel_proxy.h : public base::RefCountedThreadSafe<MessageFilter> { base 102 ipc/ipc_channel_proxy.h friend class base::RefCountedThreadSafe<MessageFilter>; base 116 ipc/ipc_channel_proxy.h base::SingleThreadTaskRunner* ipc_task_runner); base 158 ipc/ipc_channel_proxy.h base::ProcessId peer_pid() const { return context_->peer_pid_; } base 174 ipc/ipc_channel_proxy.h class Context : public base::RefCountedThreadSafe<Context>, base 177 ipc/ipc_channel_proxy.h Context(Listener* listener, base::SingleThreadTaskRunner* ipc_thread); base 179 ipc/ipc_channel_proxy.h base::SingleThreadTaskRunner* ipc_task_runner() const { base 188 ipc/ipc_channel_proxy.h friend class base::RefCountedThreadSafe<Context>; base 230 ipc/ipc_channel_proxy.h scoped_refptr<base::SingleThreadTaskRunner> listener_task_runner_; base 235 ipc/ipc_channel_proxy.h scoped_refptr<base::SingleThreadTaskRunner> ipc_task_runner_; base 253 ipc/ipc_channel_proxy.h base::Lock pending_filters_lock_; base 257 ipc/ipc_channel_proxy.h base::ProcessId peer_pid_; base 47 ipc/ipc_channel_proxy_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 72 ipc/ipc_channel_proxy_unittest.cc base::MessageLoop::current()->QuitWhenIdle(); base 148 ipc/ipc_channel_proxy_unittest.cc thread_.reset(new base::Thread("ChannelProxyTestServerThread")); base 149 ipc/ipc_channel_proxy_unittest.cc base::Thread::Options options; base 150 ipc/ipc_channel_proxy_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 168 ipc/ipc_channel_proxy_unittest.cc base::MessageLoop::current()->Run(); base 173 ipc/ipc_channel_proxy_unittest.cc scoped_ptr<base::Thread> thread_; base 258 ipc/ipc_channel_proxy_unittest.cc base::MessageLoopForIO main_message_loop; base 266 ipc/ipc_channel_proxy_unittest.cc base::MessageLoop::current()->Run(); base 68 ipc/ipc_channel_unittest.cc base::MessageLoop::current()->Quit(); base 78 ipc/ipc_channel_unittest.cc base::MessageLoop::current()->Quit(); base 136 ipc/ipc_channel_unittest.cc base::MessageLoop::current()->Run(); base 175 ipc/ipc_channel_unittest.cc base::MessageLoop::current()->Run(); base 188 ipc/ipc_channel_unittest.cc base::Thread thread("ChannelProxyTestServer"); base 189 ipc/ipc_channel_unittest.cc base::Thread::Options options; base 190 ipc/ipc_channel_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 203 ipc/ipc_channel_unittest.cc base::MessageLoop::current()->Run(); base 243 ipc/ipc_channel_unittest.cc base::MessageLoop::current()->Run(); base 253 ipc/ipc_channel_unittest.cc base::MessageLoopForIO main_message_loop; base 264 ipc/ipc_channel_unittest.cc base::MessageLoop::current()->Run(); base 42 ipc/ipc_channel_win.cc peer_pid_(base::kNullProcessId), base 71 ipc/ipc_channel_win.cc base::Time start = base::Time::Now(); base 73 ipc/ipc_channel_win.cc base::MessageLoopForIO::current()->WaitForIOCompletion(INFINITE, this); base 186 ipc/ipc_channel_win.cc const base::string16 Channel::ChannelImpl::PipeName( base 194 ipc/ipc_channel_win.cc base::StringToInt(channel_id.substr(index + 1), secret); base 195 ipc/ipc_channel_win.cc return base::ASCIIToWide(name.append(channel_id.substr(0, index - 1))); base 201 ipc/ipc_channel_win.cc return base::ASCIIToWide(name.append(channel_id)); base 207 ipc/ipc_channel_win.cc base::string16 pipe_name; base 293 ipc/ipc_channel_win.cc thread_check_.reset(new base::ThreadChecker()); base 298 ipc/ipc_channel_win.cc base::MessageLoopForIO::current()->RegisterIOHandler(pipe_, this); base 308 ipc/ipc_channel_win.cc base::MessageLoopForIO::current()->PostTask( base 310 ipc/ipc_channel_win.cc base::Bind(&Channel::ChannelImpl::OnIOCompleted, base 360 ipc/ipc_channel_win.cc base::MessageLoopForIO::IOContext* context, base 417 ipc/ipc_channel_win.cc base::MessageLoopForIO::IOContext* context, base 436 ipc/ipc_channel_win.cc base::AutoReset<bool> auto_reset_processing_incoming( base 485 ipc/ipc_channel_win.cc base::ProcessId Channel::peer_pid() const { base 511 ipc/ipc_channel_win.cc secret = base::RandInt(0, std::numeric_limits<int>::max()); base 515 ipc/ipc_channel_win.cc return id.append(base::StringPrintf("\\%d", secret)); base 18 ipc/ipc_channel_win.h namespace base { base 25 ipc/ipc_channel_win.h public base::MessageLoopForIO::IOHandler { base 35 ipc/ipc_channel_win.h base::ProcessId peer_pid() const { return peer_pid_; } base 46 ipc/ipc_channel_win.h static const base::string16 PipeName(const std::string& channel_id, base 51 ipc/ipc_channel_win.h bool ProcessOutgoingMessages(base::MessageLoopForIO::IOContext* context, base 55 ipc/ipc_channel_win.h virtual void OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 63 ipc/ipc_channel_win.h base::MessageLoopForIO::IOContext context; base 72 ipc/ipc_channel_win.h base::ProcessId peer_pid_; base 97 ipc/ipc_channel_win.h base::WeakPtrFactory<ChannelImpl> weak_factory_; base 99 ipc/ipc_channel_win.h scoped_ptr<base::ThreadChecker> thread_check_; base 15 ipc/ipc_forwarding_message_filter.cc base::TaskRunner* target_task_runner) base 24 ipc/ipc_forwarding_message_filter.cc base::AutoLock locked(handlers_lock_); base 29 ipc/ipc_forwarding_message_filter.cc base::AutoLock locked(handlers_lock_); base 42 ipc/ipc_forwarding_message_filter.cc base::AutoLock locked(handlers_lock_); base 49 ipc/ipc_forwarding_message_filter.cc target_task_runner_->PostTask(FROM_HERE, base::Bind(handler, message)); base 31 ipc/ipc_forwarding_message_filter.h typedef base::Callback<void(const Message&)> Handler; base 41 ipc/ipc_forwarding_message_filter.h base::TaskRunner* target_task_runner); base 58 ipc/ipc_forwarding_message_filter.h scoped_refptr<base::TaskRunner> target_task_runner_; base 61 ipc/ipc_forwarding_message_filter.h base::Lock handlers_lock_; base 178 ipc/ipc_fuzzing_tests.cc base::MessageLoop::current()->Quit(); base 204 ipc/ipc_fuzzing_tests.cc base::MessageLoop::current()->Quit(); base 234 ipc/ipc_fuzzing_tests.cc base::MessageLoop::current()->Run(); base 248 ipc/ipc_fuzzing_tests.cc base::MessageLoopForIO main_message_loop; base 255 ipc/ipc_fuzzing_tests.cc base::MessageLoop::current()->Run(); base 32 ipc/ipc_logging.cc using base::Time; base 48 ipc/ipc_logging.cc main_thread_(base::MessageLoop::current()), base 161 ipc/ipc_logging.cc if (base::MessageLoop::current() == main_thread_) { base 165 ipc/ipc_logging.cc FROM_HERE, base::Bind(&Logging::Log, base::Unretained(this), data)); base 179 ipc/ipc_logging.cc *name += base::IntToString(type); base 234 ipc/ipc_logging.cc base::MessageLoop::current()->PostDelayedTask( base 236 ipc/ipc_logging.cc base::Bind(&Logging::OnSendLogs, base::Unretained(this)), base 237 ipc/ipc_logging.cc base::TimeDelta::FromMilliseconds(kLogSendDelayMs)); base 244 ipc/ipc_logging.cc message_name = base::StringPrintf("[unknown type %d]", data.type); base 26 ipc/ipc_logging.h typedef base::hash_map<uint32, LogFunction > LogFunctionMap; base 116 ipc/ipc_logging.h base::MessageLoop* main_thread_; base 17 ipc/ipc_message.cc base::StaticAtomicSequenceNumber g_ref_num; base 23 ipc/ipc_message.cc base::debug::TraceLog* trace_log = base::debug::TraceLog::GetInstance(); base 124 ipc/ipc_message.cc bool Message::WriteFileDescriptor(const base::FileDescriptor& descriptor) { base 136 ipc/ipc_message.cc base::FileDescriptor* descriptor) const { base 23 ipc/ipc_message.h namespace base { base 187 ipc/ipc_message.h bool WriteFileDescriptor(const base::FileDescriptor& descriptor); base 192 ipc/ipc_message.h base::FileDescriptor* descriptor) const; base 17 ipc/ipc_message_unittest.cc base::ListValue input; base 18 ipc/ipc_message_unittest.cc input.Set(0, new base::FundamentalValue(42.42)); base 19 ipc/ipc_message_unittest.cc input.Set(1, new base::StringValue("forty")); base 20 ipc/ipc_message_unittest.cc input.Set(2, base::Value::CreateNullValue()); base 25 ipc/ipc_message_unittest.cc base::ListValue output; base 39 ipc/ipc_message_unittest.cc base::DictionaryValue input; base 40 ipc/ipc_message_unittest.cc input.Set("null", base::Value::CreateNullValue()); base 41 ipc/ipc_message_unittest.cc input.Set("bool", new base::FundamentalValue(true)); base 42 ipc/ipc_message_unittest.cc input.Set("int", new base::FundamentalValue(42)); base 43 ipc/ipc_message_unittest.cc input.SetWithoutPathExpansion("int.with.dot", new base::FundamentalValue(43)); base 45 ipc/ipc_message_unittest.cc scoped_ptr<base::DictionaryValue> subdict(new base::DictionaryValue()); base 46 ipc/ipc_message_unittest.cc subdict->Set("str", new base::StringValue("forty two")); base 47 ipc/ipc_message_unittest.cc subdict->Set("bool", new base::FundamentalValue(false)); base 49 ipc/ipc_message_unittest.cc scoped_ptr<base::ListValue> sublist(new base::ListValue()); base 50 ipc/ipc_message_unittest.cc sublist->Set(0, new base::FundamentalValue(42.42)); base 51 ipc/ipc_message_unittest.cc sublist->Set(1, new base::StringValue("forty")); base 52 ipc/ipc_message_unittest.cc sublist->Set(2, new base::StringValue("two")); base 60 ipc/ipc_message_unittest.cc base::DictionaryValue output; base 43 ipc/ipc_message_utils.cc base::StringPrintf("[%02X]", static_cast<unsigned char>(data[i]))); base 46 ipc/ipc_message_utils.cc out->append(base::StringPrintf( base 53 ipc/ipc_message_utils.cc bool ReadValue(const Message* m, PickleIterator* iter, base::Value** value, base 56 ipc/ipc_message_utils.cc void WriteValue(Message* m, const base::Value* value, int recursion) { base 66 ipc/ipc_message_utils.cc case base::Value::TYPE_NULL: base 68 ipc/ipc_message_utils.cc case base::Value::TYPE_BOOLEAN: { base 75 ipc/ipc_message_utils.cc case base::Value::TYPE_INTEGER: { base 82 ipc/ipc_message_utils.cc case base::Value::TYPE_DOUBLE: { base 89 ipc/ipc_message_utils.cc case base::Value::TYPE_STRING: { base 96 ipc/ipc_message_utils.cc case base::Value::TYPE_BINARY: { base 97 ipc/ipc_message_utils.cc const base::BinaryValue* binary = base 98 ipc/ipc_message_utils.cc static_cast<const base::BinaryValue*>(value); base 102 ipc/ipc_message_utils.cc case base::Value::TYPE_DICTIONARY: { base 103 ipc/ipc_message_utils.cc const base::DictionaryValue* dict = base 104 ipc/ipc_message_utils.cc static_cast<const base::DictionaryValue*>(value); base 108 ipc/ipc_message_utils.cc for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); base 115 ipc/ipc_message_utils.cc case base::Value::TYPE_LIST: { base 116 ipc/ipc_message_utils.cc const base::ListValue* list = static_cast<const base::ListValue*>(value); base 118 ipc/ipc_message_utils.cc for (base::ListValue::const_iterator it = list->begin(); base 130 ipc/ipc_message_utils.cc base::DictionaryValue* value, int recursion) { base 137 ipc/ipc_message_utils.cc base::Value* subval; base 150 ipc/ipc_message_utils.cc base::ListValue* value, int recursion) { base 156 ipc/ipc_message_utils.cc base::Value* subval; base 165 ipc/ipc_message_utils.cc bool ReadValue(const Message* m, PickleIterator* iter, base::Value** value, base 177 ipc/ipc_message_utils.cc case base::Value::TYPE_NULL: base 178 ipc/ipc_message_utils.cc *value = base::Value::CreateNullValue(); base 180 ipc/ipc_message_utils.cc case base::Value::TYPE_BOOLEAN: { base 184 ipc/ipc_message_utils.cc *value = new base::FundamentalValue(val); base 187 ipc/ipc_message_utils.cc case base::Value::TYPE_INTEGER: { base 191 ipc/ipc_message_utils.cc *value = new base::FundamentalValue(val); base 194 ipc/ipc_message_utils.cc case base::Value::TYPE_DOUBLE: { base 198 ipc/ipc_message_utils.cc *value = new base::FundamentalValue(val); base 201 ipc/ipc_message_utils.cc case base::Value::TYPE_STRING: { base 205 ipc/ipc_message_utils.cc *value = new base::StringValue(val); base 208 ipc/ipc_message_utils.cc case base::Value::TYPE_BINARY: { base 213 ipc/ipc_message_utils.cc *value = base::BinaryValue::CreateWithCopiedBuffer(data, length); base 216 ipc/ipc_message_utils.cc case base::Value::TYPE_DICTIONARY: { base 217 ipc/ipc_message_utils.cc scoped_ptr<base::DictionaryValue> val(new base::DictionaryValue()); base 223 ipc/ipc_message_utils.cc case base::Value::TYPE_LIST: { base 224 ipc/ipc_message_utils.cc scoped_ptr<base::ListValue> val(new base::ListValue()); base 270 ipc/ipc_message_utils.cc l->append(base::UintToString(p)); base 287 ipc/ipc_message_utils.cc l->append(base::UintToString(p)); base 291 ipc/ipc_message_utils.cc l->append(base::IntToString(p)); base 295 ipc/ipc_message_utils.cc l->append(base::UintToString(p)); base 299 ipc/ipc_message_utils.cc l->append(base::Int64ToString(static_cast<int64>(p))); base 303 ipc/ipc_message_utils.cc l->append(base::Uint64ToString(static_cast<uint64>(p))); base 307 ipc/ipc_message_utils.cc l->append(base::Int64ToString(static_cast<int64>(p))); base 311 ipc/ipc_message_utils.cc l->append(base::Uint64ToString(p)); base 315 ipc/ipc_message_utils.cc l->append(base::StringPrintf("%e", p)); base 334 ipc/ipc_message_utils.cc l->append(base::StringPrintf("%e", p)); base 343 ipc/ipc_message_utils.cc l->append(base::WideToUTF8(p)); base 347 ipc/ipc_message_utils.cc void ParamTraits<base::string16>::Log(const param_type& p, std::string* l) { base 348 ipc/ipc_message_utils.cc l->append(base::UTF16ToUTF8(p)); base 439 ipc/ipc_message_utils.cc void ParamTraits<base::DictionaryValue>::Write(Message* m, base 444 ipc/ipc_message_utils.cc bool ParamTraits<base::DictionaryValue>::Read( base 447 ipc/ipc_message_utils.cc if (!ReadParam(m, iter, &type) || type != base::Value::TYPE_DICTIONARY) base 453 ipc/ipc_message_utils.cc void ParamTraits<base::DictionaryValue>::Log(const param_type& p, base 456 ipc/ipc_message_utils.cc base::JSONWriter::Write(&p, &json); base 461 ipc/ipc_message_utils.cc void ParamTraits<base::FileDescriptor>::Write(Message* m, const param_type& p) { base 471 ipc/ipc_message_utils.cc bool ParamTraits<base::FileDescriptor>::Read(const Message* m, base 487 ipc/ipc_message_utils.cc void ParamTraits<base::FileDescriptor>::Log(const param_type& p, base 490 ipc/ipc_message_utils.cc l->append(base::StringPrintf("FD(%d auto-close)", p.fd)); base 492 ipc/ipc_message_utils.cc l->append(base::StringPrintf("FD(%d)", p.fd)); base 497 ipc/ipc_message_utils.cc void ParamTraits<base::FilePath>::Write(Message* m, const param_type& p) { base 501 ipc/ipc_message_utils.cc bool ParamTraits<base::FilePath>::Read(const Message* m, base 507 ipc/ipc_message_utils.cc void ParamTraits<base::FilePath>::Log(const param_type& p, std::string* l) { base 508 ipc/ipc_message_utils.cc ParamTraits<base::FilePath::StringType>::Log(p.value(), l); base 511 ipc/ipc_message_utils.cc void ParamTraits<base::ListValue>::Write(Message* m, const param_type& p) { base 515 ipc/ipc_message_utils.cc bool ParamTraits<base::ListValue>::Read( base 518 ipc/ipc_message_utils.cc if (!ReadParam(m, iter, &type) || type != base::Value::TYPE_LIST) base 524 ipc/ipc_message_utils.cc void ParamTraits<base::ListValue>::Log(const param_type& p, std::string* l) { base 526 ipc/ipc_message_utils.cc base::JSONWriter::Write(&p, &json); base 530 ipc/ipc_message_utils.cc void ParamTraits<base::NullableString16>::Write(Message* m, base 536 ipc/ipc_message_utils.cc bool ParamTraits<base::NullableString16>::Read(const Message* m, base 539 ipc/ipc_message_utils.cc base::string16 string; base 545 ipc/ipc_message_utils.cc *r = base::NullableString16(string, is_null); base 549 ipc/ipc_message_utils.cc void ParamTraits<base::NullableString16>::Log(const param_type& p, base 558 ipc/ipc_message_utils.cc void ParamTraits<base::File::Info>::Write(Message* m, base 567 ipc/ipc_message_utils.cc bool ParamTraits<base::File::Info>::Read(const Message* m, base 580 ipc/ipc_message_utils.cc p->last_modified = base::Time::FromDoubleT(last_modified); base 581 ipc/ipc_message_utils.cc p->last_accessed = base::Time::FromDoubleT(last_accessed); base 582 ipc/ipc_message_utils.cc p->creation_time = base::Time::FromDoubleT(creation_time); base 587 ipc/ipc_message_utils.cc void ParamTraits<base::File::Info>::Log(const param_type& p, base 602 ipc/ipc_message_utils.cc void ParamTraits<base::Time>::Write(Message* m, const param_type& p) { base 606 ipc/ipc_message_utils.cc bool ParamTraits<base::Time>::Read(const Message* m, PickleIterator* iter, base 611 ipc/ipc_message_utils.cc *r = base::Time::FromInternalValue(value); base 615 ipc/ipc_message_utils.cc void ParamTraits<base::Time>::Log(const param_type& p, std::string* l) { base 619 ipc/ipc_message_utils.cc void ParamTraits<base::TimeDelta>::Write(Message* m, const param_type& p) { base 623 ipc/ipc_message_utils.cc bool ParamTraits<base::TimeDelta>::Read(const Message* m, base 629 ipc/ipc_message_utils.cc *r = base::TimeDelta::FromInternalValue(value); base 634 ipc/ipc_message_utils.cc void ParamTraits<base::TimeDelta>::Log(const param_type& p, std::string* l) { base 638 ipc/ipc_message_utils.cc void ParamTraits<base::TimeTicks>::Write(Message* m, const param_type& p) { base 642 ipc/ipc_message_utils.cc bool ParamTraits<base::TimeTicks>::Read(const Message* m, base 648 ipc/ipc_message_utils.cc *r = base::TimeTicks::FromInternalValue(value); base 653 ipc/ipc_message_utils.cc void ParamTraits<base::TimeTicks>::Log(const param_type& p, std::string* l) { base 680 ipc/ipc_message_utils.cc l->append(base::StringPrintf("ChannelHandle(%s", p.name.c_str())); base 683 ipc/ipc_message_utils.cc ParamTraits<base::FileDescriptor>::Log(p.socket, l); base 780 ipc/ipc_message_utils.cc l->append(base::StringPrintf("0x%X", p)); base 804 ipc/ipc_message_utils.cc l->append(base::StringPrintf("<LOGFONT>")); base 49 ipc/ipc_message_utils.h namespace base { base 269 ipc/ipc_message_utils.h struct ParamTraits<base::string16> { base 270 ipc/ipc_message_utils.h typedef base::string16 param_type; base 420 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::DictionaryValue> { base 421 ipc/ipc_message_utils.h typedef base::DictionaryValue param_type; base 444 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::FileDescriptor> { base 445 ipc/ipc_message_utils.h typedef base::FileDescriptor param_type; base 453 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::FilePath> { base 454 ipc/ipc_message_utils.h typedef base::FilePath param_type; base 461 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::ListValue> { base 462 ipc/ipc_message_utils.h typedef base::ListValue param_type; base 469 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::NullableString16> { base 470 ipc/ipc_message_utils.h typedef base::NullableString16 param_type; base 478 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::File::Info> { base 479 ipc/ipc_message_utils.h typedef base::File::Info param_type; base 486 ipc/ipc_message_utils.h struct SimilarTypeTraits<base::File::Error> { base 498 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::Time> { base 499 ipc/ipc_message_utils.h typedef base::Time param_type; base 506 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::TimeDelta> { base 507 ipc/ipc_message_utils.h typedef base::TimeDelta param_type; base 514 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::TimeTicks> { base 515 ipc/ipc_message_utils.h typedef base::TimeTicks param_type; base 678 ipc/ipc_message_utils.h struct ParamTraits<base::SmallMap<NormalMap, kArraySize, EqualKey, MapInit> > { base 679 ipc/ipc_message_utils.h typedef base::SmallMap<NormalMap, kArraySize, EqualKey, MapInit> param_type; base 58 ipc/ipc_message_utils_unittest.cc base::FilePath::StringType ok_string(FILE_PATH_LITERAL("hello"), 5); base 59 ipc/ipc_message_utils_unittest.cc base::FilePath::StringType bad_string(FILE_PATH_LITERAL("hel\0o"), 5); base 63 ipc/ipc_message_utils_unittest.cc ParamTraits<base::FilePath::StringType>::Write(&message, ok_string); base 64 ipc/ipc_message_utils_unittest.cc ParamTraits<base::FilePath::StringType>::Write(&message, bad_string); base 67 ipc/ipc_message_utils_unittest.cc base::FilePath ok_path; base 68 ipc/ipc_message_utils_unittest.cc base::FilePath bad_path; base 69 ipc/ipc_message_utils_unittest.cc ASSERT_TRUE(ParamTraits<base::FilePath>::Read(&message, &iter, &ok_path)); base 70 ipc/ipc_message_utils_unittest.cc ASSERT_FALSE(ParamTraits<base::FilePath>::Read(&message, &iter, &bad_path)); base 25 ipc/ipc_multiprocess_test.cc base::GlobalDescriptors::GetInstance()->Set(kPrimaryIPCChannel, base 26 ipc/ipc_multiprocess_test.cc kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor); base 43 ipc/ipc_perftests.cc void AddEvent(const base::TimeTicks& start, const base::TimeTicks& end) { base 46 ipc/ipc_perftests.cc base::TimeDelta duration = end - start; base 64 ipc/ipc_perftests.cc total_duration_ = base::TimeDelta(); base 65 ipc/ipc_perftests.cc max_duration_ = base::TimeDelta(); base 72 ipc/ipc_perftests.cc base::TimeDelta total_duration_; base 73 ipc/ipc_perftests.cc base::TimeDelta max_duration_; base 111 ipc/ipc_perftests.cc base::TimeTicks now = base::TimeTicks::Now(); base 117 ipc/ipc_perftests.cc base::MessageLoop::current()->QuitWhenIdle(); base 122 ipc/ipc_perftests.cc base::TimeTicks::FromInternalValue(time_internal), now); base 126 ipc/ipc_perftests.cc msg->WriteInt64(base::TimeTicks::Now().ToInternalValue()); base 179 ipc/ipc_perftests.cc base::TimeTicks now = base::TimeTicks::Now(); base 185 ipc/ipc_perftests.cc std::string test_name = base::StringPrintf( base 187 ipc/ipc_perftests.cc perf_logger_.reset(new base::PerfTimeLogger(test_name.c_str())); base 192 ipc/ipc_perftests.cc base::TimeTicks::FromInternalValue(time_internal), now); base 199 ipc/ipc_perftests.cc base::MessageLoop::current()->QuitWhenIdle(); base 205 ipc/ipc_perftests.cc msg->WriteInt64(base::TimeTicks::Now().ToInternalValue()); base 220 ipc/ipc_perftests.cc scoped_ptr<base::PerfTimeLogger> perf_logger_; base 244 ipc/ipc_perftests.cc message->WriteInt64(base::TimeTicks::Now().ToInternalValue()); base 250 ipc/ipc_perftests.cc base::MessageLoop::current()->Run(); base 255 ipc/ipc_perftests.cc message->WriteInt64(base::TimeTicks::Now().ToInternalValue()); base 266 ipc/ipc_perftests.cc base::MessageLoopForIO main_message_loop; base 274 ipc/ipc_perftests.cc base::MessageLoop::current()->Run(); base 13 ipc/ipc_platform_file.cc PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile handle, base 14 ipc/ipc_platform_file.cc base::ProcessHandle process, base 41 ipc/ipc_platform_file.cc out_handle = base::FileDescriptor(fd, true); base 48 ipc/ipc_platform_file.cc PlatformFileForTransit TakeFileHandleForProcess(base::File file, base 49 ipc/ipc_platform_file.cc base::ProcessHandle process) { base 21 ipc/ipc_platform_file.h typedef base::PlatformFile PlatformFileForTransit; base 23 ipc/ipc_platform_file.h typedef base::FileDescriptor PlatformFileForTransit; base 28 ipc/ipc_platform_file.h return base::kInvalidPlatformFileValue; base 30 ipc/ipc_platform_file.h return base::FileDescriptor(); base 34 ipc/ipc_platform_file.h inline base::PlatformFile PlatformFileForTransitToPlatformFile( base 43 ipc/ipc_platform_file.h inline base::File PlatformFileForTransitToFile( base 46 ipc/ipc_platform_file.h return base::File(transit); base 48 ipc/ipc_platform_file.h return base::File(transit.fd); base 54 ipc/ipc_platform_file.h base::PlatformFile file, base 55 ipc/ipc_platform_file.h base::ProcessHandle process, base 61 ipc/ipc_platform_file.h base::File file, base 62 ipc/ipc_platform_file.h base::ProcessHandle process); base 39 ipc/ipc_send_fds_test.cc base::FileDescriptor descriptor; base 41 ipc/ipc_send_fds_test.cc IPC::ParamTraits<base::FileDescriptor>::Read(&message, &iter, &descriptor); base 64 ipc/ipc_send_fds_test.cc base::MessageLoop::current()->Quit(); base 86 ipc/ipc_send_fds_test.cc base::MessageLoop::current()->Quit(); base 107 ipc/ipc_send_fds_test.cc base::FileDescriptor descriptor(fd, true); base 111 ipc/ipc_send_fds_test.cc IPC::ParamTraits<base::FileDescriptor>::Write(message, descriptor); base 116 ipc/ipc_send_fds_test.cc base::MessageLoop::current()->Run(); base 133 ipc/ipc_send_fds_test.cc base::MessageLoopForIO main_message_loop; base 143 ipc/ipc_send_fds_test.cc base::MessageLoop::current()->Run(); base 199 ipc/ipc_send_fds_test.cc MyCBListener(base::Callback<void(int)> cb, int fds_to_send) base 209 ipc/ipc_send_fds_test.cc base::Callback<void(int)> cb_; base 224 ipc/ipc_send_fds_test.cc PipeChannelHelper(base::Thread* in_thread, base 225 ipc/ipc_send_fds_test.cc base::Thread* out_thread, base 226 ipc/ipc_send_fds_test.cc base::Callback<void(int)> cb, base 231 ipc/ipc_send_fds_test.cc null_listener_(base::Bind(&null_cb), 0) { base 239 ipc/ipc_send_fds_test.cc base::FileDescriptor out_fd(in->TakeClientFileDescriptor(), false); base 248 ipc/ipc_send_fds_test.cc base::Bind(&PipeChannelHelper::Connect, in.get())); base 251 ipc/ipc_send_fds_test.cc base::Bind(&PipeChannelHelper::Connect, out.get())); base 255 ipc/ipc_send_fds_test.cc base::WaitableEvent *event) { base 261 ipc/ipc_send_fds_test.cc base::WaitableEvent a(true, false); base 262 ipc/ipc_send_fds_test.cc base::WaitableEvent b(true, false); base 265 ipc/ipc_send_fds_test.cc base::Bind(&PipeChannelHelper::DestroyChannel, &in, &a)); base 268 ipc/ipc_send_fds_test.cc base::Bind(&PipeChannelHelper::DestroyChannel, &out, &b)); base 278 ipc/ipc_send_fds_test.cc CHECK_EQ(base::MessageLoop::current(), in_thread_->message_loop()); base 281 ipc/ipc_send_fds_test.cc base::FileDescriptor descriptor(fd, true); base 285 ipc/ipc_send_fds_test.cc IPC::ParamTraits<base::FileDescriptor>::Write(message, descriptor); base 291 ipc/ipc_send_fds_test.cc base::Thread* in_thread_; base 292 ipc/ipc_send_fds_test.cc base::Thread* out_thread_; base 312 ipc/ipc_send_fds_test.cc base::Thread* t, base 319 ipc/ipc_send_fds_test.cc base::Bind(&PipeChannelHelper::Send, base 320 ipc/ipc_send_fds_test.cc base::Unretained(dest), base 337 ipc/ipc_send_fds_test.cc base::Thread* CreateThread(const char* name) { base 338 ipc/ipc_send_fds_test.cc base::Thread* ret = new base::Thread(name); base 339 ipc/ipc_send_fds_test.cc base::Thread::Options options; base 340 ipc/ipc_send_fds_test.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 351 ipc/ipc_send_fds_test.cc scoped_ptr<base::Thread> producer(CreateThread("producer")); base 352 ipc/ipc_send_fds_test.cc scoped_ptr<base::Thread> middleman(CreateThread("middleman")); base 353 ipc/ipc_send_fds_test.cc scoped_ptr<base::Thread> consumer(CreateThread("consumer")); base 357 ipc/ipc_send_fds_test.cc base::Bind(&IPCMultiSendingFdsTest::ConsumerHandleFD, base 358 ipc/ipc_send_fds_test.cc base::Unretained(this)), base 363 ipc/ipc_send_fds_test.cc base::Bind(&PipeChannelHelper::Send, base::Unretained(&pipe1)), base 371 ipc/ipc_send_fds_test.cc base::WaitableEvent received_; base 20 ipc/ipc_sync_channel.cc using base::TimeDelta; base 21 ipc/ipc_sync_channel.cc using base::TimeTicks; base 22 ipc/ipc_sync_channel.cc using base::WaitableEvent; base 43 ipc/ipc_sync_channel.cc public base::RefCountedThreadSafe<ReceivedSyncMsgQueue> { base 63 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(message_lock_); base 77 ipc/ipc_sync_channel.cc FROM_HERE, base::Bind(&ReceivedSyncMsgQueue::DispatchMessagesTask, base 90 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(message_lock_); base 104 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(message_lock_); base 132 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(message_lock_); base 152 ipc/ipc_sync_channel.cc base::SingleThreadTaskRunner* listener_task_runner() { base 157 ipc/ipc_sync_channel.cc static base::LazyInstance<base::ThreadLocalPointer<ReceivedSyncMsgQueue> > base 173 ipc/ipc_sync_channel.cc base::WaitableEventWatcher* top_send_done_watcher() { base 177 ipc/ipc_sync_channel.cc void set_top_send_done_watcher(base::WaitableEventWatcher* watcher) { base 189 ipc/ipc_sync_channel.cc listener_task_runner_(base::ThreadTaskRunnerHandle::Get()), base 214 ipc/ipc_sync_channel.cc scoped_refptr<base::SingleThreadTaskRunner> listener_task_runner_; base 215 ipc/ipc_sync_channel.cc base::Lock message_lock_; base 222 ipc/ipc_sync_channel.cc base::WaitableEventWatcher* top_send_done_watcher_; base 225 ipc/ipc_sync_channel.cc base::LazyInstance<base::ThreadLocalPointer<SyncChannel::ReceivedSyncMsgQueue> > base 231 ipc/ipc_sync_channel.cc base::SingleThreadTaskRunner* ipc_task_runner, base 259 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(deserializers_lock_); base 266 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(deserializers_lock_); base 281 ipc/ipc_sync_channel.cc FROM_HERE, base::Bind(&ReceivedSyncMsgQueue::DispatchReplies, base 288 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(deserializers_lock_); base 301 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(deserializers_lock_); base 358 ipc/ipc_sync_channel.cc base::Bind(&SyncChannel::SyncContext::OnWaitableEventSignaled, base 359 ipc/ipc_sync_channel.cc base::Unretained(this))); base 370 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(deserializers_lock_); base 382 ipc/ipc_sync_channel.cc base::AutoLock auto_lock(deserializers_lock_); base 398 ipc/ipc_sync_channel.cc base::MessageLoop::current()->QuitNow(); base 402 ipc/ipc_sync_channel.cc base::WaitableEventWatcher::EventCallback base 404 ipc/ipc_sync_channel.cc return base::Bind(&SyncChannel::SyncContext::OnWaitableEventSignaled, this); base 411 ipc/ipc_sync_channel.cc base::SingleThreadTaskRunner* ipc_task_runner, base 422 ipc/ipc_sync_channel.cc base::SingleThreadTaskRunner* ipc_task_runner, base 437 ipc/ipc_sync_channel.cc return SendWithTimeout(message, base::kNoTimeout); base 466 ipc/ipc_sync_channel.cc timeout_ms != base::kNoTimeout); base 474 ipc/ipc_sync_channel.cc if (timeout_ms != base::kNoTimeout) { base 480 ipc/ipc_sync_channel.cc base::Bind(&SyncContext::OnSendTimeout, context.get(), message_id), base 481 ipc/ipc_sync_channel.cc base::TimeDelta::FromMilliseconds(timeout_ms)); base 519 ipc/ipc_sync_channel.cc base::WaitableEventWatcher send_done_watcher; base 524 ipc/ipc_sync_channel.cc base::WaitableEventWatcher* old_send_done_event_watcher = base 527 ipc/ipc_sync_channel.cc base::WaitableEventWatcher::EventCallback old_callback; base 528 ipc/ipc_sync_channel.cc base::WaitableEvent* old_event = NULL; base 545 ipc/ipc_sync_channel.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 546 ipc/ipc_sync_channel.cc base::MessageLoop::current()); base 547 ipc/ipc_sync_channel.cc base::MessageLoop::current()->Run(); base 573 ipc/ipc_sync_channel.cc base::Bind(&SyncChannel::OnWaitableEventSignaled, base 574 ipc/ipc_sync_channel.cc base::Unretained(this)); base 19 ipc/ipc_sync_channel.h namespace base { base 72 ipc/ipc_sync_channel.h base::SingleThreadTaskRunner* ipc_task_runner, base 74 ipc/ipc_sync_channel.h base::WaitableEvent* shutdown_event); base 80 ipc/ipc_sync_channel.h base::SingleThreadTaskRunner* ipc_task_runner, base 81 ipc/ipc_sync_channel.h base::WaitableEvent* shutdown_event); base 120 ipc/ipc_sync_channel.h base::SingleThreadTaskRunner* ipc_task_runner, base 121 ipc/ipc_sync_channel.h base::WaitableEvent* shutdown_event); base 133 ipc/ipc_sync_channel.h base::WaitableEvent* GetSendDoneEvent(); base 137 ipc/ipc_sync_channel.h base::WaitableEvent* GetDispatchEvent(); base 150 ipc/ipc_sync_channel.h base::WaitableEvent* shutdown_event() { return shutdown_event_; } base 164 ipc/ipc_sync_channel.h base::WaitableEventWatcher::EventCallback MakeWaitableEventCallback(); base 182 ipc/ipc_sync_channel.h void OnWaitableEventSignaled(base::WaitableEvent* event); base 186 ipc/ipc_sync_channel.h base::Lock deserializers_lock_; base 190 ipc/ipc_sync_channel.h base::WaitableEvent* shutdown_event_; base 191 ipc/ipc_sync_channel.h base::WaitableEventWatcher shutdown_watcher_; base 192 ipc/ipc_sync_channel.h base::WaitableEventWatcher::EventCallback shutdown_watcher_callback_; base 197 ipc/ipc_sync_channel.h void OnWaitableEventSignaled(base::WaitableEvent* arg); base 206 ipc/ipc_sync_channel.h SyncContext* context, base::WaitableEvent* pump_messages_event); base 218 ipc/ipc_sync_channel.h base::WaitableEventWatcher dispatch_watcher_; base 219 ipc/ipc_sync_channel.h base::WaitableEventWatcher::EventCallback dispatch_watcher_callback_; base 28 ipc/ipc_sync_channel_unittest.cc using base::WaitableEvent; base 73 ipc/ipc_sync_channel_unittest.cc DCHECK(base::MessageLoop::current() == ListenerThread()->message_loop()); base 77 ipc/ipc_sync_channel_unittest.cc StartThread(&listener_thread_, base::MessageLoop::TYPE_DEFAULT); base 79 ipc/ipc_sync_channel_unittest.cc FROM_HERE, base::Bind(&Worker::OnStart, this)); base 87 ipc/ipc_sync_channel_unittest.cc FROM_HERE, base::Bind(&Worker::OnListenerThreadShutdown1, this, base 95 ipc/ipc_sync_channel_unittest.cc void OverrideThread(base::Thread* overrided_thread) { base 165 ipc/ipc_sync_channel_unittest.cc base::Thread* ListenerThread() { base 169 ipc/ipc_sync_channel_unittest.cc const base::Thread& ipc_thread() const { return ipc_thread_; } base 175 ipc/ipc_sync_channel_unittest.cc StartThread(&ipc_thread_, base::MessageLoop::TYPE_IO); base 186 ipc/ipc_sync_channel_unittest.cc base::RunLoop().RunUntilIdle(); base 189 ipc/ipc_sync_channel_unittest.cc FROM_HERE, base::Bind(&Worker::OnIPCThreadShutdown, this, base 195 ipc/ipc_sync_channel_unittest.cc base::RunLoop().RunUntilIdle(); base 199 ipc/ipc_sync_channel_unittest.cc FROM_HERE, base::Bind(&Worker::OnListenerThreadShutdown2, this, base 204 ipc/ipc_sync_channel_unittest.cc base::RunLoop().RunUntilIdle(); base 219 ipc/ipc_sync_channel_unittest.cc void StartThread(base::Thread* thread, base::MessageLoop::Type type) { base 220 ipc/ipc_sync_channel_unittest.cc base::Thread::Options options; base 230 ipc/ipc_sync_channel_unittest.cc base::Thread ipc_thread_; base 231 ipc/ipc_sync_channel_unittest.cc base::Thread listener_thread_; base 232 ipc/ipc_sync_channel_unittest.cc base::Thread* overrided_thread_; base 234 ipc/ipc_sync_channel_unittest.cc base::WaitableEvent shutdown_event_; base 272 ipc/ipc_sync_channel_unittest.cc base::MessageLoop message_loop_; base 283 ipc/ipc_sync_channel_unittest.cc SendAnswerToLife(pump_during_send_, base::kNoTimeout, true); base 325 ipc/ipc_sync_channel_unittest.cc SendAnswerToLife(false, base::kNoTimeout, true); base 411 ipc/ipc_sync_channel_unittest.cc SendAnswerToLife(pump_during_send_, base::kNoTimeout, true); base 414 ipc/ipc_sync_channel_unittest.cc SendAnswerToLife(pump_during_send_, base::kNoTimeout, false); base 473 ipc/ipc_sync_channel_unittest.cc SendAnswerToLife(pump_during_send_, base::kNoTimeout, true); base 544 ipc/ipc_sync_channel_unittest.cc SendAnswerToLife(pump_second_, base::kNoTimeout, expected_send_result_); base 682 ipc/ipc_sync_channel_unittest.cc SendAnswerToLife(pump_during_send_, base::kNoTimeout, true); base 696 ipc/ipc_sync_channel_unittest.cc base::Thread worker_thread("Multiple"); base 742 ipc/ipc_sync_channel_unittest.cc QueuedReplyServer(base::Thread* listener_thread, base 769 ipc/ipc_sync_channel_unittest.cc QueuedReplyClient(base::Thread* listener_thread, base 801 ipc/ipc_sync_channel_unittest.cc base::Thread server_worker_thread("QueuedReply_ServerListener"); base 804 ipc/ipc_sync_channel_unittest.cc base::Thread client_worker_thread("QueuedReply_ClientListener"); base 991 ipc/ipc_sync_channel_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(250)); base 992 ipc/ipc_sync_channel_unittest.cc server->SendAnswerToLife(true, base::kNoTimeout, true); base 1007 ipc/ipc_sync_channel_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 1008 ipc/ipc_sync_channel_unittest.cc base::Bind(&NestedCallback, this)); base 1009 ipc/ipc_sync_channel_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 1011 ipc/ipc_sync_channel_unittest.cc base::Bind(&TimeoutCallback), base 1012 ipc/ipc_sync_channel_unittest.cc base::TimeDelta::FromSeconds(9)); base 1037 ipc/ipc_sync_channel_unittest.cc TestSyncMessageFilter(base::WaitableEvent* shutdown_event, base 1039 ipc/ipc_sync_channel_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop) base 1049 ipc/ipc_sync_channel_unittest.cc base::Bind(&TestSyncMessageFilter::SendMessageOnHelperThread, this)); base 1065 ipc/ipc_sync_channel_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_; base 1073 ipc/ipc_sync_channel_unittest.cc base::Thread::Options options; base 1074 ipc/ipc_sync_channel_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_DEFAULT; base 1084 ipc/ipc_sync_channel_unittest.cc base::Thread thread_; base 1099 ipc/ipc_sync_channel_unittest.cc FROM_HERE, base::Bind(base::IgnoreResult(&ServerSendAfterClose::Send), base 1165 ipc/ipc_sync_channel_unittest.cc FROM_HERE, base::Bind(&RestrictedDispatchServer::OnPingSent, this)); base 1173 ipc/ipc_sync_channel_unittest.cc base::Thread* ListenerThread() { return Worker::ListenerThread(); } base 1200 ipc/ipc_sync_channel_unittest.cc base::Thread* ListenerThread() { return Worker::ListenerThread(); } base 1240 ipc/ipc_sync_channel_unittest.cc FROM_HERE, base::Bind(&RestrictedDispatchServer::OnDoPing, server_, 1)); base 1257 ipc/ipc_sync_channel_unittest.cc FROM_HERE, base::Bind(&RestrictedDispatchServer::OnDoPing, server_, 2)); base 1283 ipc/ipc_sync_channel_unittest.cc base::Bind(&NonRestrictedDispatchServer::OnDoPingTTL, server2_, 3)); base 1397 ipc/ipc_sync_channel_unittest.cc base::Thread* ListenerThread() { return Worker::ListenerThread(); } base 1456 ipc/ipc_sync_channel_unittest.cc base::Thread* ListenerThread() { return Worker::ListenerThread(); } base 1505 ipc/ipc_sync_channel_unittest.cc base::Bind(&RestrictedDispatchDeadlockServer::OnDoServerTask, server_)); base 1508 ipc/ipc_sync_channel_unittest.cc base::Bind(&RestrictedDispatchDeadlockClient2::OnDoClient2Task, peer_)); base 1555 ipc/ipc_sync_channel_unittest.cc base::Thread worker_thread("RestrictedDispatchDeadlock"); base 1821 ipc/ipc_sync_channel_unittest.cc VerifiedServer(base::Thread* listener_thread, base 1833 ipc/ipc_sync_channel_unittest.cc ASSERT_EQ(channel()->peer_pid(), base::GetCurrentProcId()); base 1843 ipc/ipc_sync_channel_unittest.cc VerifiedClient(base::Thread* listener_thread, base 1862 ipc/ipc_sync_channel_unittest.cc ASSERT_EQ(channel()->peer_pid(), base::GetCurrentProcId()); base 1874 ipc/ipc_sync_channel_unittest.cc base::Thread server_worker_thread("Verified_ServerListener"); base 1877 ipc/ipc_sync_channel_unittest.cc base::Thread client_worker_thread("Verified_ClientListener"); base 21 ipc/ipc_sync_message.cc : public base::DefaultLazyInstanceTraits<base::WaitableEvent> { base 22 ipc/ipc_sync_message.cc static base::WaitableEvent* New(void* instance) { base 24 ipc/ipc_sync_message.cc return new (instance) base::WaitableEvent(true, true); base 28 ipc/ipc_sync_message.cc base::LazyInstance<base::WaitableEvent, WaitableEventLazyInstanceTraits> base 31 ipc/ipc_sync_message.cc base::StaticAtomicSequenceNumber g_next_id; base 16 ipc/ipc_sync_message.h namespace base { base 41 ipc/ipc_sync_message.h void set_pump_messages_event(base::WaitableEvent* event) { base 54 ipc/ipc_sync_message.h base::WaitableEvent* pump_messages_event() const { base 81 ipc/ipc_sync_message.h base::WaitableEvent* pump_messages_event_; base 101 ipc/ipc_sync_message.h base::WaitableEvent* e) base 105 ipc/ipc_sync_message.h base::WaitableEvent* done_event; base 14 ipc/ipc_sync_message_filter.cc using base::MessageLoopProxy; base 18 ipc/ipc_sync_message_filter.cc SyncMessageFilter::SyncMessageFilter(base::WaitableEvent* shutdown_event) base 26 ipc/ipc_sync_message_filter.cc base::AutoLock auto_lock(lock_); base 35 ipc/ipc_sync_message_filter.cc FROM_HERE, base::Bind(&SyncMessageFilter::SendOnIOThread, this, message)); base 39 ipc/ipc_sync_message_filter.cc base::WaitableEvent done_event(true, false); base 46 ipc/ipc_sync_message_filter.cc base::AutoLock auto_lock(lock_); base 55 ipc/ipc_sync_message_filter.cc FROM_HERE, base::Bind(&SyncMessageFilter::SendOnIOThread, this, message)); base 57 ipc/ipc_sync_message_filter.cc base::WaitableEvent* events[2] = { shutdown_event_, &done_event }; base 58 ipc/ipc_sync_message_filter.cc base::WaitableEvent::WaitMany(events, 2); base 61 ipc/ipc_sync_message_filter.cc base::AutoLock auto_lock(lock_); base 71 ipc/ipc_sync_message_filter.cc base::AutoLock auto_lock(lock_); base 86 ipc/ipc_sync_message_filter.cc base::AutoLock auto_lock(lock_); base 121 ipc/ipc_sync_message_filter.cc base::AutoLock auto_lock(lock_); base 16 ipc/ipc_sync_message_filter.h namespace base { base 31 ipc/ipc_sync_message_filter.h explicit SyncMessageFilter(base::WaitableEvent* shutdown_event); base 54 ipc/ipc_sync_message_filter.h scoped_refptr<base::MessageLoopProxy> listener_loop_; base 57 ipc/ipc_sync_message_filter.h scoped_refptr<base::MessageLoopProxy> io_loop_; base 63 ipc/ipc_sync_message_filter.h base::Lock lock_; base 65 ipc/ipc_sync_message_filter.h base::WaitableEvent* shutdown_event_; base 27 ipc/ipc_test_base.cc : client_process_(base::kNullProcessHandle) { base 38 ipc/ipc_test_base.cc message_loop_.reset(new base::MessageLoopForIO()); base 80 ipc/ipc_test_base.cc base::SingleThreadTaskRunner* ipc_task_runner) { base 95 ipc/ipc_test_base.cc DCHECK(client_process_ == base::kNullProcessHandle); base 102 ipc/ipc_test_base.cc base::FileHandleMappingVector fds_to_map; base 107 ipc/ipc_test_base.cc kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor)); base 108 ipc/ipc_test_base.cc base::LaunchOptions options; base 113 ipc/ipc_test_base.cc return client_process_ != base::kNullProcessHandle; base 117 ipc/ipc_test_base.cc DCHECK(client_process_ != base::kNullProcessHandle); base 119 ipc/ipc_test_base.cc bool rv = base::WaitForSingleProcess(client_process_, base 120 ipc/ipc_test_base.cc base::TimeDelta::FromSeconds(5)); base 121 ipc/ipc_test_base.cc base::CloseProcessHandle(client_process_); base 122 ipc/ipc_test_base.cc client_process_ = base::kNullProcessHandle; base 18 ipc/ipc_test_base.h namespace base { base 25 ipc/ipc_test_base.h class IPCTestBase : public base::MultiProcessTest { base 60 ipc/ipc_test_base.h base::SingleThreadTaskRunner* ipc_task_runner); base 83 ipc/ipc_test_base.h const base::ProcessHandle& client_process() const { return client_process_; } base 87 ipc/ipc_test_base.h scoped_ptr<base::MessageLoopForIO> message_loop_; base 92 ipc/ipc_test_base.h base::ProcessHandle client_process_; base 17 ipc/run_all_unittests.cc class NoAtExitBaseTestSuite : public base::TestSuite { base 20 ipc/run_all_unittests.cc : base::TestSuite(argc, argv, false) { base 32 ipc/run_all_unittests.cc JNIEnv* env = base::android::AttachCurrentThread(); base 35 ipc/run_all_unittests.cc base::AtExitManager at_exit; base 37 ipc/run_all_unittests.cc return base::LaunchUnitTestsSerially(argc, base 39 ipc/run_all_unittests.cc base::Bind(&RunTestSuite, argc, argv)); base 32 ipc/sync_socket_unittest.cc IPC_MESSAGE_CONTROL1(MsgClassSetHandle, base::SyncSocket::Handle) base 34 ipc/sync_socket_unittest.cc IPC_MESSAGE_CONTROL1(MsgClassSetHandle, base::FileDescriptor) base 76 ipc/sync_socket_unittest.cc void OnMsgClassSetHandle(const base::SyncSocket::Handle handle) { base 80 ipc/sync_socket_unittest.cc void OnMsgClassSetHandle(const base::FileDescriptor& fd_struct) { base 87 ipc/sync_socket_unittest.cc void SetHandle(base::SyncSocket::Handle handle) { base 88 ipc/sync_socket_unittest.cc base::SyncSocket sync_socket(handle); base 98 ipc/sync_socket_unittest.cc base::MessageLoop::current()->Quit(); base 109 ipc/sync_socket_unittest.cc base::MessageLoopForIO main_message_loop; base 116 ipc/sync_socket_unittest.cc base::MessageLoop::current()->Run(); base 127 ipc/sync_socket_unittest.cc void Init(base::SyncSocket* socket, IPC::Channel* chan) { base 156 ipc/sync_socket_unittest.cc base::MessageLoop::current()->Quit(); base 159 ipc/sync_socket_unittest.cc base::SyncSocket* socket_; base 175 ipc/sync_socket_unittest.cc base::SyncSocket pair[2]; base 176 ipc/sync_socket_unittest.cc base::SyncSocket::CreatePair(&pair[0], &pair[1]); base 180 ipc/sync_socket_unittest.cc base::SyncSocket::Handle target_handle; base 195 ipc/sync_socket_unittest.cc base::FileDescriptor filedesc(target_handle, false); base 200 ipc/sync_socket_unittest.cc base::MessageLoop::current()->Run(); base 210 ipc/sync_socket_unittest.cc static void BlockingRead(base::SyncSocket* socket, char* buf, base 221 ipc/sync_socket_unittest.cc base::CancelableSyncSocket pair[2]; base 222 ipc/sync_socket_unittest.cc ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); base 224 ipc/sync_socket_unittest.cc base::Thread worker("BlockingThread"); base 231 ipc/sync_socket_unittest.cc base::Bind(&BlockingRead, &pair[0], &buf[0], arraysize(buf), &received)); base 238 ipc/sync_socket_unittest.cc base::PlatformThread::YieldCurrentThread(); base 251 ipc/sync_socket_unittest.cc base::CancelableSyncSocket pair[2]; base 252 ipc/sync_socket_unittest.cc ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); base 254 ipc/sync_socket_unittest.cc base::Thread worker("BlockingThread"); base 261 ipc/sync_socket_unittest.cc base::Bind(&BlockingRead, &pair[0], &buf[0], base 269 ipc/sync_socket_unittest.cc base::PlatformThread::YieldCurrentThread(); base 284 ipc/sync_socket_unittest.cc base::CancelableSyncSocket pair[2]; base 285 ipc/sync_socket_unittest.cc ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); base 49 ipc/unix_domain_socket_util.cc base::ScopedFD fd(socket(AF_UNIX, SOCK_STREAM, 0)); base 72 ipc/unix_domain_socket_util.cc bool CreateServerUnixDomainSocket(const base::FilePath& socket_path, base 77 ipc/unix_domain_socket_util.cc base::FilePath socket_dir = socket_path.DirName(); base 81 ipc/unix_domain_socket_util.cc base::ScopedFD fd( base 87 ipc/unix_domain_socket_util.cc if (!base::CreateDirectory(socket_dir)) { base 116 ipc/unix_domain_socket_util.cc bool CreateClientUnixDomainSocket(const base::FilePath& socket_path, base 121 ipc/unix_domain_socket_util.cc base::FilePath socket_dir = socket_path.DirName(); base 125 ipc/unix_domain_socket_util.cc base::ScopedFD fd( base 187 ipc/unix_domain_socket_util.cc base::ScopedFD accept_fd(HANDLE_EINTR(accept(server_listen_fd, NULL, 0))); base 14 ipc/unix_domain_socket_util.h namespace base { base 28 ipc/unix_domain_socket_util.h IPC_EXPORT bool CreateServerUnixDomainSocket(const base::FilePath& socket_name, base 34 ipc/unix_domain_socket_util.h IPC_EXPORT bool CreateClientUnixDomainSocket(const base::FilePath& socket_name, base 19 ipc/unix_domain_socket_util_unittest.cc class SocketAcceptor : public base::MessageLoopForIO::Watcher { base 21 ipc/unix_domain_socket_util_unittest.cc SocketAcceptor(int fd, base::MessageLoopProxy* target_thread) base 27 ipc/unix_domain_socket_util_unittest.cc base::Bind(&SocketAcceptor::StartWatching, base::Unretained(this), fd)); base 47 ipc/unix_domain_socket_util_unittest.cc base::Bind(&SocketAcceptor::StopWatching, base::Unretained(this), base 54 ipc/unix_domain_socket_util_unittest.cc watcher_.reset(new base::MessageLoopForIO::FileDescriptorWatcher); base 55 ipc/unix_domain_socket_util_unittest.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 56 ipc/unix_domain_socket_util_unittest.cc fd, true, base::MessageLoopForIO::WATCH_READ, watcher_.get(), this); base 59 ipc/unix_domain_socket_util_unittest.cc void StopWatching(base::MessageLoopForIO::FileDescriptorWatcher* watcher) { base 72 ipc/unix_domain_socket_util_unittest.cc base::MessageLoopProxy* target_thread_; base 73 ipc/unix_domain_socket_util_unittest.cc scoped_ptr<base::MessageLoopForIO::FileDescriptorWatcher> watcher_; base 74 ipc/unix_domain_socket_util_unittest.cc base::WaitableEvent started_watching_event_; base 75 ipc/unix_domain_socket_util_unittest.cc base::WaitableEvent accepted_event_; base 80 ipc/unix_domain_socket_util_unittest.cc const base::FilePath GetChannelDir() { base 82 ipc/unix_domain_socket_util_unittest.cc base::FilePath tmp_dir; base 83 ipc/unix_domain_socket_util_unittest.cc PathService::Get(base::DIR_CACHE, &tmp_dir); base 86 ipc/unix_domain_socket_util_unittest.cc return base::FilePath("/var/tmp"); base 98 ipc/unix_domain_socket_util_unittest.cc base::Thread::Options options; base 99 ipc/unix_domain_socket_util_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 141 ipc/unix_domain_socket_util_unittest.cc base::Thread worker_; base 142 ipc/unix_domain_socket_util_unittest.cc base::FilePath socket_name_; base 20 jingle/glue/channel_socket_adapter.cc : message_loop_(base::MessageLoop::current()), base 39 jingle/glue/channel_socket_adapter.cc const base::Closure& callback) { base 47 jingle/glue/channel_socket_adapter.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 68 jingle/glue/channel_socket_adapter.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 103 jingle/glue/channel_socket_adapter.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 109 jingle/glue/channel_socket_adapter.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 115 jingle/glue/channel_socket_adapter.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 147 jingle/glue/channel_socket_adapter.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 174 jingle/glue/channel_socket_adapter.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 195 jingle/glue/channel_socket_adapter.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 15 jingle/glue/channel_socket_adapter.h namespace base { base 38 jingle/glue/channel_socket_adapter.h void SetOnDestroyedCallback(const base::Closure& callback); base 63 jingle/glue/channel_socket_adapter.h base::MessageLoop* message_loop_; base 67 jingle/glue/channel_socket_adapter.h base::Closure destruction_callback_; base 63 jingle/glue/channel_socket_adapter_unittest.cc : callback_(base::Bind(&TransportChannelSocketAdapterTest::Callback, base 64 jingle/glue/channel_socket_adapter_unittest.cc base::Unretained(this))), base 81 jingle/glue/channel_socket_adapter_unittest.cc base::MessageLoopForIO message_loop_; base 113 jingle/glue/chrome_async_socket.cc base::Bind(&ChromeAsyncSocket::ProcessConnectDone, base 120 jingle/glue/chrome_async_socket.cc base::MessageLoop* message_loop = base::MessageLoop::current(); base 124 jingle/glue/chrome_async_socket.cc base::Bind(&ChromeAsyncSocket::ProcessConnectDone, base 157 jingle/glue/chrome_async_socket.cc base::MessageLoop* message_loop = base::MessageLoop::current(); base 161 jingle/glue/chrome_async_socket.cc base::Bind(&ChromeAsyncSocket::DoRead, base 180 jingle/glue/chrome_async_socket.cc base::Bind(&ChromeAsyncSocket::ProcessReadDone, base 291 jingle/glue/chrome_async_socket.cc base::MessageLoop* message_loop = base::MessageLoop::current(); base 295 jingle/glue/chrome_async_socket.cc base::Bind(&ChromeAsyncSocket::DoWrite, base 313 jingle/glue/chrome_async_socket.cc base::Bind(&ChromeAsyncSocket::ProcessWriteDone, base 412 jingle/glue/chrome_async_socket.cc base::Bind(&ChromeAsyncSocket::ProcessSSLConnectDone, base 415 jingle/glue/chrome_async_socket.cc base::MessageLoop* message_loop = base::MessageLoop::current(); base 419 jingle/glue/chrome_async_socket.cc base::Bind(&ChromeAsyncSocket::ProcessSSLConnectDone, base 207 jingle/glue/chrome_async_socket.h base::WeakPtrFactory<ChromeAsyncSocket> weak_ptr_factory_; base 418 jingle/glue/chrome_async_socket_unittest.cc base::MessageLoop message_loop_; base 32 jingle/glue/fake_network_manager.cc base::MessageLoop::current()->PostTask( base 34 jingle/glue/fake_network_manager.cc base::Bind(&FakeNetworkManager::SendNetworksChangedSignal, base 36 jingle/glue/fake_network_manager.h base::WeakPtrFactory<FakeNetworkManager> weak_factory_; base 122 jingle/glue/fake_socket_factory.cc : message_loop_(base::MessageLoop::current()) {} base 129 jingle/glue/fake_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 133 jingle/glue/fake_socket_factory.cc base::Bind(&FakeSocketManager::DeliverPacket, this, from, to, data)); base 139 jingle/glue/fake_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 152 jingle/glue/fake_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 158 jingle/glue/fake_socket_factory.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_); base 19 jingle/glue/fake_socket_factory.h namespace base { base 28 jingle/glue/fake_socket_factory.h public base::NonThreadSafe { base 69 jingle/glue/fake_socket_factory.h class FakeSocketManager : public base::RefCountedThreadSafe<FakeSocketManager> { base 81 jingle/glue/fake_socket_factory.h friend class base::RefCountedThreadSafe<FakeSocketManager>; base 89 jingle/glue/fake_socket_factory.h base::MessageLoop* message_loop_; base 69 jingle/glue/fake_ssl_client_socket.cc base::StringPiece FakeSSLClientSocket::GetSslClientHello() { base 70 jingle/glue/fake_ssl_client_socket.cc return base::StringPiece(reinterpret_cast<const char*>(kSslClientHello), base 74 jingle/glue/fake_ssl_client_socket.cc base::StringPiece FakeSSLClientSocket::GetSslServerHello() { base 75 jingle/glue/fake_ssl_client_socket.cc return base::StringPiece(reinterpret_cast<const char*>(kSslServerHello), base 175 jingle/glue/fake_ssl_client_socket.cc base::Bind(&FakeSSLClientSocket::OnConnectDone, base::Unretained(this))); base 205 jingle/glue/fake_ssl_client_socket.cc base::Bind(&FakeSSLClientSocket::OnSendClientHelloDone, base 206 jingle/glue/fake_ssl_client_socket.cc base::Unretained(this))); base 240 jingle/glue/fake_ssl_client_socket.cc base::Bind(&FakeSSLClientSocket::OnVerifyServerHelloDone, base 241 jingle/glue/fake_ssl_client_socket.cc base::Unretained(this))); base 44 jingle/glue/fake_ssl_client_socket.h static base::StringPiece GetSslClientHello(); base 45 jingle/glue/fake_ssl_client_socket.h static base::StringPiece GetSslServerHello(); base 67 jingle/glue/fake_ssl_client_socket_unittest.cc MOCK_CONST_METHOD0(GetConnectTimeMicros, base::TimeDelta()); base 76 jingle/glue/fake_ssl_client_socket_unittest.cc void AddChunkedOps(base::StringPiece data, size_t chunk_size, net::IoMode mode, base 129 jingle/glue/fake_ssl_client_socket_unittest.cc base::StringPiece ssl_client_hello = base 131 jingle/glue/fake_ssl_client_socket_unittest.cc base::StringPiece ssl_server_hello = base 191 jingle/glue/fake_ssl_client_socket_unittest.cc base::StringPiece ssl_client_hello = base 193 jingle/glue/fake_ssl_client_socket_unittest.cc base::StringPiece ssl_server_hello = base 265 jingle/glue/fake_ssl_client_socket_unittest.cc base::MessageLoop message_loop_; base 85 jingle/glue/logging_unittest.cc base::FilePath file_path(log_file_name); base 87 jingle/glue/logging_unittest.cc base::ReadFileToString(file_path, &contents_of_file); base 112 jingle/glue/logging_unittest.cc base::FilePath file_path(log_file_name); base 114 jingle/glue/logging_unittest.cc base::ReadFileToString(file_path, &contents_of_file); base 146 jingle/glue/logging_unittest.cc base::FilePath file_path(log_file_name); base 148 jingle/glue/logging_unittest.cc base::ReadFileToString(file_path, &contents_of_file); base 28 jingle/glue/proxy_resolving_client_socket.cc base::Bind(&ProxyResolvingClientSocket::ProcessProxyResolveDone, base 29 jingle/glue/proxy_resolving_client_socket.cc base::Unretained(this))), base 31 jingle/glue/proxy_resolving_client_socket.cc base::Bind(&ProxyResolvingClientSocket::ProcessConnectDone, base 32 jingle/glue/proxy_resolving_client_socket.cc base::Unretained(this))), base 141 jingle/glue/proxy_resolving_client_socket.cc base::MessageLoop* message_loop = base::MessageLoop::current(); base 145 jingle/glue/proxy_resolving_client_socket.cc base::Bind(&ProxyResolvingClientSocket::ProcessProxyResolveDone, base 288 jingle/glue/proxy_resolving_client_socket.cc base::MessageLoop* message_loop = base::MessageLoop::current(); base 292 jingle/glue/proxy_resolving_client_socket.cc base::Bind(&ProxyResolvingClientSocket::ProcessProxyResolveDone, base 102 jingle/glue/proxy_resolving_client_socket.h base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; base 39 jingle/glue/proxy_resolving_client_socket_unittest.cc base::MessageLoopProxy::current(), base 51 jingle/glue/proxy_resolving_client_socket_unittest.cc base::MessageLoop message_loop_; base 26 jingle/glue/pseudotcp_adapter.cc public base::RefCounted<Core> { base 107 jingle/glue/pseudotcp_adapter.cc base::OneShotTimer<Core> timer_; base 366 jingle/glue/pseudotcp_adapter.cc base::Bind(&PseudoTcpAdapter::Core::OnWritten, base::Unretained(this))); base 391 jingle/glue/pseudotcp_adapter.cc base::Bind(&PseudoTcpAdapter::Core::OnRead, base::Unretained(this))); base 434 jingle/glue/pseudotcp_adapter.cc base::TimeDelta::FromMilliseconds(std::max(timeout, 0L)), this, base 25 jingle/glue/pseudotcp_adapter.h class PseudoTcpAdapter : public net::StreamSocket, base::NonThreadSafe { base 49 jingle/glue/pseudotcp_adapter_unittest.cc last_update_(base::TimeTicks::HighResNow()) { base 55 jingle/glue/pseudotcp_adapter_unittest.cc base::TimeTicks now = base::TimeTicks::HighResNow(); base 72 jingle/glue/pseudotcp_adapter_unittest.cc base::TimeTicks last_update_; base 134 jingle/glue/pseudotcp_adapter_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 136 jingle/glue/pseudotcp_adapter_unittest.cc base::Bind(&FakeSocket::AppendInputPacket, base 137 jingle/glue/pseudotcp_adapter_unittest.cc base::Unretained(peer_socket_), base 139 jingle/glue/pseudotcp_adapter_unittest.cc base::TimeDelta::FromMilliseconds(latency_ms_)); base 166 jingle/glue/pseudotcp_adapter_unittest.cc class TCPChannelTester : public base::RefCountedThreadSafe<TCPChannelTester> { base 168 jingle/glue/pseudotcp_adapter_unittest.cc TCPChannelTester(base::MessageLoop* message_loop, base 180 jingle/glue/pseudotcp_adapter_unittest.cc FROM_HERE, base::Bind(&TCPChannelTester::DoStart, this)); base 201 jingle/glue/pseudotcp_adapter_unittest.cc message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 231 jingle/glue/pseudotcp_adapter_unittest.cc base::Bind(&TCPChannelTester::OnWritten, base::Unretained(this))); base 259 jingle/glue/pseudotcp_adapter_unittest.cc base::Bind(&TCPChannelTester::OnRead, base::Unretained(this))); base 287 jingle/glue/pseudotcp_adapter_unittest.cc base::MessageLoop* message_loop_; base 319 jingle/glue/pseudotcp_adapter_unittest.cc base::MessageLoop message_loop_; base 382 jingle/glue/pseudotcp_adapter_unittest.cc DeleteOnConnected(base::MessageLoop* message_loop, base 387 jingle/glue/pseudotcp_adapter_unittest.cc message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 389 jingle/glue/pseudotcp_adapter_unittest.cc base::MessageLoop* message_loop_; base 400 jingle/glue/pseudotcp_adapter_unittest.cc host_pseudotcp_->Connect(base::Bind(&DeleteOnConnected::OnConnected, base 401 jingle/glue/pseudotcp_adapter_unittest.cc base::Unretained(&host_delete))); base 24 jingle/glue/task_pump.cc base::MessageLoop* current_message_loop = base::MessageLoop::current(); base 29 jingle/glue/task_pump.cc base::Bind(&TaskPump::CheckAndRunTasks, weak_factory_.GetWeakPtr())); base 16 jingle/glue/task_pump.h class TaskPump : public talk_base::TaskRunner, public base::NonThreadSafe { base 36 jingle/glue/task_pump.h base::WeakPtrFactory<TaskPump> weak_factory_; base 19 jingle/glue/task_pump_unittest.cc base::MessageLoop message_loop_; base 31 jingle/glue/task_pump_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 45 jingle/glue/task_pump_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 25 jingle/glue/thread_wrapper.cc base::WaitableEvent done_event; base 28 jingle/glue/thread_wrapper.cc base::LazyInstance<base::ThreadLocalPointer<JingleThreadWrapper> > base 34 jingle/glue/thread_wrapper.cc base::MessageLoop* message_loop = base::MessageLoop::current(); base 49 jingle/glue/thread_wrapper.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) base 92 jingle/glue/thread_wrapper.cc base::AutoLock auto_lock(lock_); base 158 jingle/glue/thread_wrapper.cc base::AutoLock auto_lock(lock_); base 166 jingle/glue/thread_wrapper.cc base::Bind(&JingleThreadWrapper::ProcessPendingSends, base 171 jingle/glue/thread_wrapper.cc base::WaitableEvent* events[] = {&pending_send.done_event, base 173 jingle/glue/thread_wrapper.cc size_t event = base::WaitableEvent::WaitMany(events, arraysize(events)); base 185 jingle/glue/thread_wrapper.cc base::AutoLock auto_lock(lock_); base 211 jingle/glue/thread_wrapper.cc base::AutoLock auto_lock(lock_); base 218 jingle/glue/thread_wrapper.cc base::Bind(&JingleThreadWrapper::RunTask, base 222 jingle/glue/thread_wrapper.cc base::Bind(&JingleThreadWrapper::RunTask, base 224 jingle/glue/thread_wrapper.cc base::TimeDelta::FromMilliseconds(delay_ms)); base 232 jingle/glue/thread_wrapper.cc base::AutoLock auto_lock(lock_); base 30 jingle/glue/thread_wrapper.h class JingleThreadWrapper : public base::MessageLoop::DestructionObserver, base 44 jingle/glue/thread_wrapper.h scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 108 jingle/glue/thread_wrapper.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 113 jingle/glue/thread_wrapper.h base::Lock lock_; base 117 jingle/glue/thread_wrapper.h base::WaitableEvent pending_send_event_; base 119 jingle/glue/thread_wrapper.h base::WeakPtr<JingleThreadWrapper> weak_ptr_; base 120 jingle/glue/thread_wrapper.h base::WeakPtrFactory<JingleThreadWrapper> weak_ptr_factory_; base 89 jingle/glue/thread_wrapper_unittest.cc base::MessageLoop message_loop_; base 152 jingle/glue/thread_wrapper_unittest.cc base::MessageLoop::QuitClosure(), base 153 jingle/glue/thread_wrapper_unittest.cc base::TimeDelta::FromMilliseconds(kMaxTestDelay)); base 204 jingle/glue/thread_wrapper_unittest.cc base::MessageLoop::QuitClosure(), base 205 jingle/glue/thread_wrapper_unittest.cc base::TimeDelta::FromMilliseconds(kMaxTestDelay)); base 234 jingle/glue/thread_wrapper_unittest.cc base::WaitableEvent* done_event) { base 246 jingle/glue/thread_wrapper_unittest.cc base::Thread second_thread("JingleThreadWrapperTest"); base 249 jingle/glue/thread_wrapper_unittest.cc base::WaitableEvent initialized_event(true, false); base 252 jingle/glue/thread_wrapper_unittest.cc FROM_HERE, base::Bind(&InitializeWrapperForNewThread, base 275 jingle/glue/thread_wrapper_unittest.cc base::Thread second_thread("JingleThreadWrapperTest"); base 278 jingle/glue/thread_wrapper_unittest.cc base::WaitableEvent initialized_event(true, false); base 281 jingle/glue/thread_wrapper_unittest.cc FROM_HERE, base::Bind(&InitializeWrapperForNewThread, base 38 jingle/glue/utils.cc base::DictionaryValue value; base 49 jingle/glue/utils.cc base::JSONWriter::Write(&value, &result); base 55 jingle/glue/utils.cc scoped_ptr<base::Value> value( base 56 jingle/glue/utils.cc base::JSONReader::Read(candidate_str, base::JSON_ALLOW_TRAILING_COMMAS)); base 57 jingle/glue/utils.cc if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY)) { base 61 jingle/glue/utils.cc base::DictionaryValue* dic_value = base 62 jingle/glue/utils.cc static_cast<base::DictionaryValue*>(value.get()); base 75 jingle/notifier/base/fake_base_task.cc base::WeakPtr<buzz::XmppTaskParentInterface> FakeBaseTask::AsWeakPtr() { base 26 jingle/notifier/base/fake_base_task.h base::WeakPtr<buzz::XmppTaskParentInterface> AsWeakPtr(); base 30 jingle/notifier/base/fake_base_task.h base::WeakPtr<buzz::XmppTaskParentInterface> base_task_; base 29 jingle/notifier/base/weak_xmpp_client.cc base::WeakPtr<WeakXmppClient> WeakXmppClient::AsWeakPtr() { base 27 jingle/notifier/base/weak_xmpp_client.h class WeakXmppClient : public buzz::XmppClient, public base::NonThreadSafe { base 35 jingle/notifier/base/weak_xmpp_client.h base::WeakPtr<WeakXmppClient> AsWeakPtr(); base 49 jingle/notifier/base/weak_xmpp_client.h base::WeakPtrFactory<WeakXmppClient> weak_ptr_factory_; base 63 jingle/notifier/base/weak_xmpp_client_unittest.cc base::MessageLoop message_loop_; base 76 jingle/notifier/base/weak_xmpp_client_unittest.cc base::WeakPtr<WeakXmppClient> weak_ptr = weak_xmpp_client->AsWeakPtr(); base 94 jingle/notifier/base/weak_xmpp_client_unittest.cc base::WeakPtr<WeakXmppClient> weak_ptr = weak_xmpp_client->AsWeakPtr(); base 112 jingle/notifier/base/weak_xmpp_client_unittest.cc base::WeakPtr<WeakXmppClient> weak_ptr = weak_xmpp_client->AsWeakPtr(); base 83 jingle/notifier/base/xmpp_connection.cc base::MessageLoop* current_message_loop = base::MessageLoop::current(); base 132 jingle/notifier/base/xmpp_connection.cc VLOG(2) << "XMPP Input: " << base::StringPiece(data, len); base 137 jingle/notifier/base/xmpp_connection.cc VLOG(2) << "XMPP Output: " << base::StringPiece(data, len); base 37 jingle/notifier/base/xmpp_connection.h public base::NonThreadSafe { base 45 jingle/notifier/base/xmpp_connection.h base::WeakPtr<buzz::XmppTaskParentInterface> base_task) = 0; base 90 jingle/notifier/base/xmpp_connection.h base::WeakPtr<WeakXmppClient> weak_xmpp_client_; base 69 jingle/notifier/base/xmpp_connection_unittest.cc MOCK_METHOD1(OnConnect, void(base::WeakPtr<buzz::XmppTaskParentInterface>)); base 89 jingle/notifier/base/xmpp_connection_unittest.cc base::MessageLoop message_loop_; base 170 jingle/notifier/base/xmpp_connection_unittest.cc base::WeakPtr<talk_base::Task> weak_ptr; base 189 jingle/notifier/base/xmpp_connection_unittest.cc base::WeakPtr<talk_base::Task> weak_ptr; base 210 jingle/notifier/base/xmpp_connection_unittest.cc base::WeakPtr<talk_base::Task> weak_ptr; base 68 jingle/notifier/communicator/login.cc void Login::OnConnect(base::WeakPtr<buzz::XmppTaskParentInterface> base_task) { base 113 jingle/notifier/communicator/login.cc reconnect_interval_ = base::TimeDelta::FromSeconds(base::RandInt(1, 9)); base 120 jingle/notifier/communicator/login.cc base::TimeDelta::FromSeconds(base::RandInt(5, 25)); base 136 jingle/notifier/communicator/login.cc const base::TimeDelta kMaxReconnectInterval = base 137 jingle/notifier/communicator/login.cc base::TimeDelta::FromMinutes(30); base 50 jingle/notifier/communicator/login.h base::WeakPtr<buzz::XmppTaskParentInterface> base_task) = 0; base 97 jingle/notifier/communicator/login.h base::WeakPtr<buzz::XmppTaskParentInterface> base_task) OVERRIDE; base 123 jingle/notifier/communicator/login.h base::TimeDelta reconnect_interval_; base 124 jingle/notifier/communicator/login.h base::OneShotTimer<Login> reconnect_timer_; base 39 jingle/notifier/communicator/login_settings.cc return GetServersForTime(base::Time::Now()); base 53 jingle/notifier/communicator/login_settings.cc base::Time::Now() + base 54 jingle/notifier/communicator/login_settings.cc base::TimeDelta::FromMinutes(kRedirectExpirationTimeMinutes); base 57 jingle/notifier/communicator/login_settings.cc ServerList LoginSettings::GetServersForTimeForTest(base::Time now) const { base 61 jingle/notifier/communicator/login_settings.cc base::Time LoginSettings::GetRedirectExpirationForTest() const { base 65 jingle/notifier/communicator/login_settings.cc ServerList LoginSettings::GetServersForTime(base::Time now) const { base 53 jingle/notifier/communicator/login_settings.h ServerList GetServersForTimeForTest(base::Time now) const; base 55 jingle/notifier/communicator/login_settings.h base::Time GetRedirectExpirationForTest() const; base 58 jingle/notifier/communicator/login_settings.h ServerList GetServersForTime(base::Time now) const; base 68 jingle/notifier/communicator/login_settings.h base::Time redirect_expiration_; base 36 jingle/notifier/communicator/login_settings_unittest.cc EXPECT_EQ(base::Time(), login_settings.GetRedirectExpirationForTest()); base 59 jingle/notifier/communicator/login_settings_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 48 jingle/notifier/communicator/single_login_attempt.cc base::WeakPtr<buzz::XmppTaskParentInterface> base_task) { base 61 jingle/notifier/communicator/single_login_attempt.cc base::SplitString(redirect_text, ':', &parts); base 73 jingle/notifier/communicator/single_login_attempt.cc if (!base::StringToInt(parts[1], &port)) { base 37 jingle/notifier/communicator/single_login_attempt.h base::WeakPtr<buzz::XmppTaskParentInterface> base_task) = 0; base 64 jingle/notifier/communicator/single_login_attempt.h base::WeakPtr<buzz::XmppTaskParentInterface> parent) OVERRIDE; base 39 jingle/notifier/communicator/single_login_attempt_unittest.cc base::WeakPtr<buzz::XmppTaskParentInterface> base_task) OVERRIDE { base 59 jingle/notifier/communicator/single_login_attempt_unittest.cc base::WeakPtr<buzz::XmppTaskParentInterface> base_task() const { base 69 jingle/notifier/communicator/single_login_attempt_unittest.cc base::WeakPtr<buzz::XmppTaskParentInterface> base_task_; base 89 jingle/notifier/communicator/single_login_attempt_unittest.cc base::MessageLoopProxy::current(), base 114 jingle/notifier/communicator/single_login_attempt_unittest.cc base::MessageLoop message_loop_; base 18 jingle/notifier/listener/non_blocking_push_client.cc : public base::RefCountedThreadSafe<NonBlockingPushClient::Core>, base 23 jingle/notifier/listener/non_blocking_push_client.cc const scoped_refptr<base::SingleThreadTaskRunner>& base 25 jingle/notifier/listener/non_blocking_push_client.cc const base::WeakPtr<NonBlockingPushClient>& parent_push_client); base 56 jingle/notifier/listener/non_blocking_push_client.cc const scoped_refptr<base::SingleThreadTaskRunner> parent_task_runner_; base 57 jingle/notifier/listener/non_blocking_push_client.cc const scoped_refptr<base::SingleThreadTaskRunner> delegate_task_runner_; base 59 jingle/notifier/listener/non_blocking_push_client.cc const base::WeakPtr<NonBlockingPushClient> parent_push_client_; base 66 jingle/notifier/listener/non_blocking_push_client.cc const scoped_refptr<base::SingleThreadTaskRunner>& delegate_task_runner, base 67 jingle/notifier/listener/non_blocking_push_client.cc const base::WeakPtr<NonBlockingPushClient>& parent_push_client) base 68 jingle/notifier/listener/non_blocking_push_client.cc : parent_task_runner_(base::MessageLoopProxy::current()), base 125 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::OnNotificationsEnabled, base 134 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::OnNotificationsDisabled, base 143 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::OnIncomingNotification, base 151 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::OnPingResponse, base 156 jingle/notifier/listener/non_blocking_push_client.cc const scoped_refptr<base::SingleThreadTaskRunner>& delegate_task_runner, base 164 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::Core::CreateOnDelegateThread, base 172 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::Core::DestroyOnDelegateThread, base 191 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::Core::UpdateSubscriptions, base 200 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::Core::UpdateCredentials, base 209 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::Core::SendNotification, core_.get(), base 217 jingle/notifier/listener/non_blocking_push_client.cc base::Bind(&NonBlockingPushClient::Core::SendPing, core_.get())); base 19 jingle/notifier/listener/non_blocking_push_client.h namespace base { base 33 jingle/notifier/listener/non_blocking_push_client.h typedef base::Callback<scoped_ptr<PushClient>()> base 39 jingle/notifier/listener/non_blocking_push_client.h const scoped_refptr<base::SingleThreadTaskRunner>& delegate_task_runner, base 62 jingle/notifier/listener/non_blocking_push_client.h base::ThreadChecker thread_checker_; base 63 jingle/notifier/listener/non_blocking_push_client.h const scoped_refptr<base::SingleThreadTaskRunner> delegate_task_runner_; base 68 jingle/notifier/listener/non_blocking_push_client.h base::WeakPtrFactory<NonBlockingPushClient> weak_ptr_factory_; base 32 jingle/notifier/listener/non_blocking_push_client_unittest.cc base::MessageLoopProxy::current(), base 33 jingle/notifier/listener/non_blocking_push_client_unittest.cc base::Bind(&NonBlockingPushClientTest::CreateFakePushClient, base 34 jingle/notifier/listener/non_blocking_push_client_unittest.cc base::Unretained(this)))); base 59 jingle/notifier/listener/non_blocking_push_client_unittest.cc base::MessageLoop message_loop_; base 71 jingle/notifier/listener/notification_defines.cc base::EscapeBytesAsInvalidJSONString(channel, true /* put_in_quotes */); base 73 jingle/notifier/listener/notification_defines.cc base::EscapeBytesAsInvalidJSONString(data, true /* put_in_quotes */); base 31 jingle/notifier/listener/push_client.cc base::Bind(&CreateXmppPushClient, notifier_options))); base 32 jingle/notifier/listener/push_client_unittest.cc base::MessageLoopForIO message_loop_; base 44 jingle/notifier/listener/push_client_unittest.cc base::Thread thread("Non-IO thread"); base 48 jingle/notifier/listener/push_client_unittest.cc base::Bind(base::IgnoreResult(&PushClient::CreateDefault), base 71 jingle/notifier/listener/push_notifications_listen_task.cc if (!base::Base64Decode(base64_encoded_data, ¬ification.data)) { base 74 jingle/notifier/listener/push_notifications_send_update_task.cc base::Base64Encode(recipient.user_specific_data, &base64_data); base 81 jingle/notifier/listener/push_notifications_send_update_task.cc base::Base64Encode(notification.data, &base64_data); base 39 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc base::Base64Encode(notification.data, &base64_data); base 46 jingle/notifier/listener/push_notifications_send_update_task_unittest.cc base::StringPrintf( base 48 jingle/notifier/listener/push_notifications_subscribe_task_unittest.cc base::StringPrintf( base 38 jingle/notifier/listener/xml_element_util.cc int_xml_element->AddAttr(intAttrQName, base::IntToString(value)); base 27 jingle/notifier/listener/xmpp_push_client.cc base::WeakPtr<buzz::XmppTaskParentInterface> base_task) { base 58 jingle/notifier/listener/xmpp_push_client.h base::WeakPtr<buzz::XmppTaskParentInterface> base_task) OVERRIDE; base 74 jingle/notifier/listener/xmpp_push_client.h base::ThreadChecker thread_checker_; base 85 jingle/notifier/listener/xmpp_push_client.h base::WeakPtr<buzz::XmppTaskParentInterface> base_task_; base 56 jingle/notifier/listener/xmpp_push_client_unittest.cc base::MessageLoopForIO message_loop_; base 101 media/audio/agc_audio_stream.h base::TimeDelta::FromMilliseconds(kIntervalBetweenVolumeUpdatesMs), base 135 media/audio/agc_audio_stream.h base::AutoLock lock(lock_); base 176 media/audio/agc_audio_stream.h base::AutoLock auto_lock(lock_); base 182 media/audio/agc_audio_stream.h base::ThreadChecker thread_checker_; base 186 media/audio/agc_audio_stream.h base::RepeatingTimer<AgcAudioStream<AudioInterface> > timer_; base 201 media/audio/agc_audio_stream.h base::Lock lock_; base 38 media/audio/alsa/alsa_input.cc buffer_duration_(base::TimeDelta::FromMicroseconds( base 39 media/audio/alsa/alsa_input.cc params.frames_per_buffer() * base::Time::kMicrosecondsPerSecond / base 121 media/audio/alsa/alsa_input.cc base::TimeDelta delay = buffer_duration_ + buffer_duration_ / 2; base 122 media/audio/alsa/alsa_input.cc next_read_time_ = base::TimeTicks::Now() + delay; base 123 media/audio/alsa/alsa_input.cc base::MessageLoop::current()->PostDelayedTask( base 125 media/audio/alsa/alsa_input.cc base::Bind(&AlsaPcmInputStream::ReadAudio, weak_factory_.GetWeakPtr()), base 185 media/audio/alsa/alsa_input.cc next_read_time_ = base::TimeTicks::Now(); base 189 media/audio/alsa/alsa_input.cc base::TimeDelta next_check_time = buffer_duration_ / 2; base 190 media/audio/alsa/alsa_input.cc base::MessageLoop::current()->PostDelayedTask( base 192 media/audio/alsa/alsa_input.cc base::Bind(&AlsaPcmInputStream::ReadAudio, weak_factory_.GetWeakPtr()), base 221 media/audio/alsa/alsa_input.cc base::TimeDelta delay = next_read_time_ - base::TimeTicks::Now(); base 222 media/audio/alsa/alsa_input.cc if (delay < base::TimeDelta()) { base 229 media/audio/alsa/alsa_input.cc delay = base::TimeDelta(); base 232 media/audio/alsa/alsa_input.cc base::MessageLoop::current()->PostDelayedTask( base 234 media/audio/alsa/alsa_input.cc base::Bind(&AlsaPcmInputStream::ReadAudio, weak_factory_.GetWeakPtr()), base 77 media/audio/alsa/alsa_input.h base::TimeDelta buffer_duration_; // Length of each recorded buffer. base 79 media/audio/alsa/alsa_input.h base::TimeTicks next_read_time_; // Scheduled time for next read callback. base 87 media/audio/alsa/alsa_input.h base::WeakPtrFactory<AlsaPcmInputStream> weak_factory_; base 146 media/audio/alsa/alsa_output.cc base::TimeDelta::FromMicroseconds(kMinLatencyMicros), base 153 media/audio/alsa/alsa_output.cc message_loop_(base::MessageLoop::current()), base 479 media/audio/alsa/alsa_output.cc base::TimeDelta next_fill_time; base 482 media/audio/alsa/alsa_output.cc next_fill_time = base::TimeDelta(); base 488 media/audio/alsa/alsa_output.cc next_fill_time = base::TimeDelta::FromMilliseconds(5); base 497 media/audio/alsa/alsa_output.cc next_fill_time = base::TimeDelta(); base 501 media/audio/alsa/alsa_output.cc next_fill_time = base::TimeDelta::FromMilliseconds(10); base 504 media/audio/alsa/alsa_output.cc message_loop_->PostDelayedTask(FROM_HERE, base::Bind( base 510 media/audio/alsa/alsa_output.cc base::TimeDelta AlsaPcmOutputStream::FramesToTimeDelta(int frames, base 512 media/audio/alsa/alsa_output.cc return base::TimeDelta::FromMicroseconds( base 513 media/audio/alsa/alsa_output.cc frames * base::Time::kMicrosecondsPerSecond / sample_rate); base 538 media/audio/alsa/alsa_output.cc scoped_ptr<char, base::FreeDeleter> io( base 544 media/audio/alsa/alsa_output.cc scoped_ptr<char, base::FreeDeleter> name( base 739 media/audio/alsa/alsa_output.cc return message_loop_ && message_loop_ == base::MessageLoop::current(); base 36 media/audio/alsa/alsa_output.h namespace base { base 130 media/audio/alsa/alsa_output.h static base::TimeDelta FramesToTimeDelta(int frames, double sample_rate); base 177 media/audio/alsa/alsa_output.h base::TimeDelta latency_; base 196 media/audio/alsa/alsa_output.h base::MessageLoop* message_loop_; base 219 media/audio/alsa/alsa_output.h base::WeakPtrFactory<AlsaPcmOutputStream> weak_factory_; base 95 media/audio/alsa/alsa_output_unittest.cc virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE { base 96 media/audio/alsa/alsa_output_unittest.cc return base::MessageLoop::current()->message_loop_proxy(); base 169 media/audio/alsa/alsa_output_unittest.cc base::MessageLoop message_loop_; base 707 media/audio/alsa/alsa_output_unittest.cc SCOPED_TRACE(base::StringPrintf("Attempting %d Channel", i)); base 52 media/audio/alsa/audio_manager_alsa.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 54 media/audio/alsa/audio_manager_alsa.cc switch (base::nix::GetDesktopEnvironment(env.get())) { base 55 media/audio/alsa/audio_manager_alsa.cc case base::nix::DESKTOP_ENVIRONMENT_GNOME: base 56 media/audio/alsa/audio_manager_alsa.cc command_line.SetProgram(base::FilePath("gnome-volume-control")); base 58 media/audio/alsa/audio_manager_alsa.cc case base::nix::DESKTOP_ENVIRONMENT_KDE3: base 59 media/audio/alsa/audio_manager_alsa.cc case base::nix::DESKTOP_ENVIRONMENT_KDE4: base 60 media/audio/alsa/audio_manager_alsa.cc command_line.SetProgram(base::FilePath("kmix")); base 62 media/audio/alsa/audio_manager_alsa.cc case base::nix::DESKTOP_ENVIRONMENT_UNITY: base 63 media/audio/alsa/audio_manager_alsa.cc command_line.SetProgram(base::FilePath("gnome-control-center")); base 72 media/audio/alsa/audio_manager_alsa.cc base::LaunchProcess(command_line, base::LaunchOptions(), NULL); base 155 media/audio/alsa/audio_manager_alsa.cc scoped_ptr<char, base::FreeDeleter> io(wrapper_->DeviceNameGetHint( base 172 media/audio/alsa/audio_manager_alsa.cc scoped_ptr<char, base::FreeDeleter> unique_device_name( base 178 media/audio/alsa/audio_manager_alsa.cc scoped_ptr<char, base::FreeDeleter> desc(wrapper_->DeviceNameGetHint( base 255 media/audio/alsa/audio_manager_alsa.cc scoped_ptr<char, base::FreeDeleter> io(wrapper_->DeviceNameGetHint( base 39 media/audio/android/audio_android_unittest.cc loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 85 media/audio/android/audio_android_unittest.cc return (base::TimeDelta::FromMicroseconds( base 86 media/audio/android/audio_android_unittest.cc params.frames_per_buffer() * base::Time::kMicrosecondsPerSecond / base 164 media/audio/android/audio_android_unittest.cc explicit FileAudioSource(base::WaitableEvent* event, const std::string& name) base 171 media/audio/android/audio_android_unittest.cc base::FilePath file_path = GetTestDataFilePath(name); base 222 media/audio/android/audio_android_unittest.cc base::WaitableEvent* event_; base 236 media/audio/android/audio_android_unittest.cc explicit FileAudioSink(base::WaitableEvent* event, base 245 media/audio/android/audio_android_unittest.cc base::FilePath file_path; base 246 media/audio/android/audio_android_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &file_path)); base 248 media/audio/android/audio_android_unittest.cc binary_file_ = base::OpenFile(file_path, "wb"); base 269 media/audio/android/audio_android_unittest.cc base::CloseFile(binary_file_); base 288 media/audio/android/audio_android_unittest.cc base::WaitableEvent* event_; base 305 media/audio/android/audio_android_unittest.cc previous_time_(base::TimeTicks::Now()), base 321 media/audio/android/audio_android_unittest.cc const base::TimeTicks now_time = base::TimeTicks::Now(); base 324 media/audio/android/audio_android_unittest.cc base::AutoLock lock(lock_); base 359 media/audio/android/audio_android_unittest.cc base::AutoLock lock(lock_); base 396 media/audio/android/audio_android_unittest.cc return (base::TimeDelta::FromMicroseconds( base 397 media/audio/android/audio_android_unittest.cc frames * base::Time::kMicrosecondsPerSecond / base 402 media/audio/android/audio_android_unittest.cc base::TimeTicks previous_time_; base 403 media/audio/android/audio_android_unittest.cc base::Lock lock_; base 415 media/audio/android/audio_android_unittest.cc : loop_(new base::MessageLoopForUI()), base 425 media/audio/android/audio_android_unittest.cc base::MessageLoopForUI* loop() { return loop_.get(); } base 431 media/audio/android/audio_android_unittest.cc void RunOnAudioThread(const base::Closure& closure) { base 433 media/audio/android/audio_android_unittest.cc base::WaitableEvent event(false, false); base 436 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidOutputTest::RunOnAudioThreadImpl, base 437 media/audio/android/audio_android_unittest.cc base::Unretained(this), base 446 media/audio/android/audio_android_unittest.cc void RunOnAudioThreadImpl(const base::Closure& closure, base 447 media/audio/android/audio_android_unittest.cc base::WaitableEvent* event) { base 455 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidOutputTest::GetDefaultOutputStreamParameters, base 456 media/audio/android/audio_android_unittest.cc base::Unretained(this))); base 461 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidOutputTest::MakeOutputStream, base 462 media/audio/android/audio_android_unittest.cc base::Unretained(this), base 468 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidOutputTest::OpenAndClose, base 469 media/audio/android/audio_android_unittest.cc base::Unretained(this))); base 475 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidOutputTest::OpenAndStart, base 476 media/audio/android/audio_android_unittest.cc base::Unretained(this), base 482 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidOutputTest::StopAndClose, base 483 media/audio/android/audio_android_unittest.cc base::Unretained(this))); base 511 media/audio/android/audio_android_unittest.cc start_time_ = base::TimeTicks::Now(); base 513 media/audio/android/audio_android_unittest.cc end_time_ = base::TimeTicks::Now(); base 563 media/audio/android/audio_android_unittest.cc scoped_ptr<base::MessageLoopForUI> loop_; base 567 media/audio/android/audio_android_unittest.cc base::TimeTicks start_time_; base 568 media/audio/android/audio_android_unittest.cc base::TimeTicks end_time_; base 579 media/audio/android/audio_android_unittest.cc if (base::android::BuildInfo::GetInstance()->sdk_int() >= 16) base 616 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidInputTest::GetDefaultInputStreamParameters, base 617 media/audio/android/audio_android_unittest.cc base::Unretained(this))); base 622 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidInputTest::MakeInputStream, base 623 media/audio/android/audio_android_unittest.cc base::Unretained(this), base 629 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidInputTest::OpenAndClose, base 630 media/audio/android/audio_android_unittest.cc base::Unretained(this))); base 636 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidInputTest::OpenAndStart, base 637 media/audio/android/audio_android_unittest.cc base::Unretained(this), base 643 media/audio/android/audio_android_unittest.cc base::Bind(&AudioAndroidInputTest::StopAndClose, base 644 media/audio/android/audio_android_unittest.cc base::Unretained(this))); base 670 media/audio/android/audio_android_unittest.cc start_time_ = base::TimeTicks::Now(); base 672 media/audio/android/audio_android_unittest.cc end_time_ = base::TimeTicks::Now(); base 749 media/audio/android/audio_android_unittest.cc base::Bind(&AudioManager::GetAudioInputDeviceNames, base 750 media/audio/android/audio_android_unittest.cc base::Unretained(audio_manager()), base 761 media/audio/android/audio_android_unittest.cc base::Bind(&AudioManager::GetAudioOutputDeviceNames, base 762 media/audio/android/audio_android_unittest.cc base::Unretained(audio_manager()), base 772 media/audio/android/audio_android_unittest.cc base::Bind(&AudioInputStream::Close, base 773 media/audio/android/audio_android_unittest.cc base::Unretained(audio_input_stream_))); base 784 media/audio/android/audio_android_unittest.cc base::Bind(&AudioOutputStream::Close, base 785 media/audio/android/audio_android_unittest.cc base::Unretained(audio_output_stream_))); base 871 media/audio/android/audio_android_unittest.cc base::WaitableEvent event(false, false); base 889 media/audio/android/audio_android_unittest.cc std::string file_name = base::StringPrintf("out_simplex_%d_%d_%d.pcm", base 894 media/audio/android/audio_android_unittest.cc base::WaitableEvent event(false, false); base 916 media/audio/android/audio_android_unittest.cc std::string file_name = base::StringPrintf("out_duplex_%d_%d_%d.pcm", base 921 media/audio/android/audio_android_unittest.cc base::WaitableEvent event(false, false); base 979 media/audio/android/audio_android_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(20)); base 23 media/audio/android/audio_manager_android.cc using base::android::AppendJavaStringArrayToStringVector; base 24 media/audio/android/audio_manager_android.cc using base::android::AttachCurrentThread; base 25 media/audio/android/audio_manager_android.cc using base::android::ConvertJavaStringToUTF8; base 26 media/audio/android/audio_manager_android.cc using base::android::ConvertUTF8ToJavaString; base 27 media/audio/android/audio_manager_android.cc using base::android::ScopedJavaLocalRef; base 59 media/audio/android/audio_manager_android.cc GetTaskRunner()->PostTask(FROM_HERE, base::Bind( base 61 media/audio/android/audio_manager_android.cc base::Unretained(this))); base 67 media/audio/android/audio_manager_android.cc GetTaskRunner()->PostTask(FROM_HERE, base::Bind( base 68 media/audio/android/audio_manager_android.cc &AudioManagerAndroid::ShutdownOnAudioThread, base::Unretained(this))); base 235 media/audio/android/audio_manager_android.cc DCHECK_GE(base::android::BuildInfo::GetInstance()->sdk_int(), 16); base 251 media/audio/android/audio_manager_android.cc base::Bind( base 253 media/audio/android/audio_manager_android.cc base::Unretained(this), base 298 media/audio/android/audio_manager_android.cc base::android::AttachCurrentThread(), base 299 media/audio/android/audio_manager_android.cc base::android::GetApplicationContext(), base 305 media/audio/android/audio_manager_android.cc base::android::AttachCurrentThread(), base 313 media/audio/android/audio_manager_android.cc base::android::AttachCurrentThread(), base 320 media/audio/android/audio_manager_android.cc base::android::AttachCurrentThread(), base 341 media/audio/android/audio_manager_android.cc base::android::AttachCurrentThread(), base 347 media/audio/android/audio_manager_android.cc base::android::AttachCurrentThread(), base 353 media/audio/android/audio_manager_android.cc base::android::AttachCurrentThread(), base 364 media/audio/android/audio_manager_android.cc base::android::AttachCurrentThread(), base 83 media/audio/android/audio_manager_android.h base::android::ScopedJavaGlobalRef<jobject> j_audio_manager_; base 22 media/audio/android/audio_record_input.cc base::android::AttachCurrentThread(), base 61 media/audio/android/audio_record_input.cc base::android::AttachCurrentThread(), j_audio_record_.obj()); base 78 media/audio/android/audio_record_input.cc base::android::AttachCurrentThread(), j_audio_record_.obj()); base 90 media/audio/android/audio_record_input.cc base::android::AttachCurrentThread(), j_audio_record_.obj()); base 103 media/audio/android/audio_record_input.cc base::android::AttachCurrentThread(), j_audio_record_.obj()); base 53 media/audio/android/audio_record_input.h base::ThreadChecker thread_checker_; base 57 media/audio/android/audio_record_input.h base::android::ScopedJavaGlobalRef<jobject> j_audio_record_; base 84 media/audio/android/opensles_input.cc base::AutoLock lock(lock_); base 124 media/audio/android/opensles_input.cc base::AutoLock lock(lock_); base 146 media/audio/android/opensles_input.cc base::AutoLock lock(lock_); base 292 media/audio/android/opensles_input.cc base::AutoLock lock(lock_); base 67 media/audio/android/opensles_input.h base::ThreadChecker thread_checker_; base 71 media/audio/android/opensles_input.h base::Lock lock_; base 92 media/audio/android/opensles_output.cc base::AutoLock lock(lock_); base 115 media/audio/android/opensles_output.cc base::AutoLock lock(lock_); base 296 media/audio/android/opensles_output.cc base::AutoLock lock(lock_); base 73 media/audio/android/opensles_output.h base::ThreadChecker thread_checker_; base 77 media/audio/android/opensles_output.h base::Lock lock_; base 40 media/audio/android/opensles_wrapper.cc base::NativeLibrary IntializeLibraryHandle() { base 41 media/audio/android/opensles_wrapper.cc base::NativeLibrary handle = base 42 media/audio/android/opensles_wrapper.cc base::LoadNativeLibrary(base::FilePath(kOpenSLLibraryName), NULL); base 65 media/audio/android/opensles_wrapper.cc base::GetFunctionPointerFromNativeLibrary(handle, kSymbols[i].name), base 75 media/audio/android/opensles_wrapper.cc base::NativeLibrary LibraryHandle() { base 77 media/audio/android/opensles_wrapper.cc static base::NativeLibrary g_opensles_LibraryHandle = base 99 media/audio/android/opensles_wrapper.cc base::GetFunctionPointerFromNativeLibrary(LibraryHandle(), base 17 media/audio/audio_device_thread.cc using base::PlatformThread; base 27 media/audio/audio_device_thread.cc public base::RefCountedThreadSafe<AudioDeviceThread::Thread> { base 30 media/audio/audio_device_thread.cc base::SyncSocket::Handle socket, base 40 media/audio/audio_device_thread.cc void Stop(base::MessageLoop* loop_for_join); base 53 media/audio/audio_device_thread.cc base::PlatformThreadHandle thread_; base 55 media/audio/audio_device_thread.cc base::CancelableSyncSocket socket_; base 56 media/audio/audio_device_thread.cc base::Lock callback_lock_; base 71 media/audio/audio_device_thread.cc base::SyncSocket::Handle socket, base 74 media/audio/audio_device_thread.cc base::AutoLock auto_lock(thread_lock_); base 81 media/audio/audio_device_thread.cc void AudioDeviceThread::Stop(base::MessageLoop* loop_for_join) { base 82 media/audio/audio_device_thread.cc base::AutoLock auto_lock(thread_lock_); base 90 media/audio/audio_device_thread.cc base::AutoLock auto_lock(thread_lock_); base 96 media/audio/audio_device_thread.cc base::SyncSocket::Handle socket, base 111 media/audio/audio_device_thread.cc base::AutoLock auto_lock(callback_lock_); base 117 media/audio/audio_device_thread.cc base::kThreadPriority_RealtimeAudio); base 121 media/audio/audio_device_thread.cc void AudioDeviceThread::Thread::Stop(base::MessageLoop* loop_for_join) { base 124 media/audio/audio_device_thread.cc base::PlatformThreadHandle thread = base::PlatformThreadHandle(); base 127 media/audio/audio_device_thread.cc base::AutoLock auto_lock(callback_lock_); base 135 media/audio/audio_device_thread.cc base::Bind(&base::PlatformThread::Join, thread)); base 137 media/audio/audio_device_thread.cc base::PlatformThread::Join(thread); base 149 media/audio/audio_device_thread.cc base::ThreadRestrictions::SetSingletonAllowed(true); base 152 media/audio/audio_device_thread.cc base::AutoLock auto_lock(callback_lock_); base 175 media/audio/audio_device_thread.cc base::AutoLock auto_lock(callback_lock_); base 196 media/audio/audio_device_thread.cc base::SharedMemoryHandle memory, base 17 media/audio/audio_device_thread.h namespace base { base 41 media/audio/audio_device_thread.h base::SharedMemoryHandle memory, base 64 media/audio/audio_device_thread.h base::SharedMemory shared_memory_; base 80 media/audio/audio_device_thread.h base::SyncSocket::Handle socket, base 93 media/audio/audio_device_thread.h void Stop(base::MessageLoop* loop_for_join); base 108 media/audio/audio_device_thread.h base::Lock thread_lock_; base 38 media/audio/audio_input_controller.cc : creator_task_runner_(base::MessageLoopProxy::current()), base 78 media/audio/audio_input_controller.cc base::Bind(&AudioInputController::DoCreate, controller, base 79 media/audio/audio_input_controller.cc base::Unretained(audio_manager), params, device_id))) { base 109 media/audio/audio_input_controller.cc base::Bind(&AudioInputController::DoCreate, controller, base 110 media/audio/audio_input_controller.cc base::Unretained(audio_manager), params, device_id))) { base 119 media/audio/audio_input_controller.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 140 media/audio/audio_input_controller.cc base::Bind(&AudioInputController::DoCreateForStream, controller, base 149 media/audio/audio_input_controller.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 153 media/audio/audio_input_controller.cc void AudioInputController::Close(const base::Closure& closed_task) { base 158 media/audio/audio_input_controller.cc FROM_HERE, base::Bind(&AudioInputController::DoClose, this), closed_task); base 162 media/audio/audio_input_controller.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 167 media/audio/audio_input_controller.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 219 media/audio/audio_input_controller.cc no_data_timer_.reset(new base::Timer( base 220 media/audio/audio_input_controller.cc FROM_HERE, base::TimeDelta::FromSeconds(kTimerInitialIntervalSeconds), base 221 media/audio/audio_input_controller.cc base::Bind(&AudioInputController::DoCheckForNoData, base 222 media/audio/audio_input_controller.cc base::Unretained(this)), false)); base 244 media/audio/audio_input_controller.cc base::AutoLock auto_lock(lock_); base 338 media/audio/audio_input_controller.cc FROM_HERE, base::TimeDelta::FromSeconds(kTimerResetIntervalSeconds), base 339 media/audio/audio_input_controller.cc base::Bind(&AudioInputController::DoCheckForNoData, base 340 media/audio/audio_input_controller.cc base::Unretained(this))); base 349 media/audio/audio_input_controller.cc base::AutoLock auto_lock(lock_); base 378 media/audio/audio_input_controller.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 383 media/audio/audio_input_controller.cc base::WaitableEvent* done) { base 399 media/audio/audio_input_controller.cc base::subtle::Release_Store(&data_is_active_, enabled); base 403 media/audio/audio_input_controller.cc return (base::subtle::Acquire_Load(&data_is_active_) != false); base 78 media/audio/audio_input_controller.h : public base::RefCountedThreadSafe<AudioInputController>, base 192 media/audio/audio_input_controller.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 211 media/audio/audio_input_controller.h virtual void Close(const base::Closure& closed_task); base 230 media/audio/audio_input_controller.h friend class base::RefCountedThreadSafe<AudioInputController>; base 261 media/audio/audio_input_controller.h void DoStopCloseAndClearStream(base::WaitableEvent* done); base 267 media/audio/audio_input_controller.h scoped_refptr<base::SingleThreadTaskRunner> creator_task_runner_; base 270 media/audio/audio_input_controller.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 284 media/audio/audio_input_controller.h scoped_ptr<base::Timer> no_data_timer_; base 290 media/audio/audio_input_controller.h base::subtle::Atomic32 data_is_active_; base 297 media/audio/audio_input_controller.h base::Lock lock_; base 30 media/audio/audio_input_controller_unittest.cc loop_or_proxy->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 37 media/audio/audio_input_controller_unittest.cc loop_or_proxy->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 43 media/audio/audio_input_controller_unittest.cc controller->Close(base::MessageLoop::QuitClosure()); base 44 media/audio/audio_input_controller_unittest.cc base::MessageLoop::current()->Run(); base 70 media/audio/audio_input_controller_unittest.cc base::MessageLoop message_loop_; base 254 media/audio/audio_input_controller_unittest.cc controller->Close(base::MessageLoop::QuitClosure()); base 255 media/audio/audio_input_controller_unittest.cc base::MessageLoop::current()->Run(); base 257 media/audio/audio_input_controller_unittest.cc controller->Close(base::MessageLoop::QuitClosure()); base 258 media/audio/audio_input_controller_unittest.cc base::MessageLoop::current()->Run(); base 29 media/audio/audio_input_device.cc base::SharedMemoryHandle memory, base 49 media/audio/audio_input_device.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner) base 81 media/audio/audio_input_device.cc base::Bind(&AudioInputDevice::StartUpOnIOThread, this)); base 88 media/audio/audio_input_device.cc base::AutoLock auto_lock(audio_thread_lock_); base 89 media/audio/audio_input_device.cc audio_thread_.Stop(base::MessageLoop::current()); base 94 media/audio/audio_input_device.cc base::Bind(&AudioInputDevice::ShutDownOnIOThread, this)); base 104 media/audio/audio_input_device.cc base::Bind(&AudioInputDevice::SetVolumeOnIOThread, this, volume)); base 110 media/audio/audio_input_device.cc base::Bind(&AudioInputDevice::SetAutomaticGainControlOnIOThread, base 115 media/audio/audio_input_device.cc base::SharedMemoryHandle handle, base 116 media/audio/audio_input_device.cc base::SyncSocket::Handle socket_handle, base 132 media/audio/audio_input_device.cc base::AutoLock auto_lock(audio_thread_lock_); base 234 media/audio/audio_input_device.cc base::AutoLock auto_lock_(audio_thread_lock_); base 235 media/audio/audio_input_device.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 268 media/audio/audio_input_device.cc base::SharedMemoryHandle memory, base 85 media/audio/audio_input_device.h const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner); base 97 media/audio/audio_input_device.h friend class base::RefCountedThreadSafe<AudioInputDevice>; base 102 media/audio/audio_input_device.h virtual void OnStreamCreated(base::SharedMemoryHandle handle, base 103 media/audio/audio_input_device.h base::SyncSocket::Handle socket_handle, base 159 media/audio/audio_input_device.h base::Lock audio_thread_lock_; base 36 media/audio/audio_input_ipc.h virtual void OnStreamCreated(base::SharedMemoryHandle handle, base 37 media/audio/audio_input_ipc.h base::SyncSocket::Handle socket_handle, base 52 media/audio/audio_input_unittest.cc message_loop_(base::MessageLoop::TYPE_UI), base 70 media/audio/audio_input_unittest.cc base::Bind(&AudioInputTest::MakeAudioInputStream, base 71 media/audio/audio_input_unittest.cc base::Unretained(this))); base 76 media/audio/audio_input_unittest.cc base::Bind(&AudioInputStream::Close, base 77 media/audio/audio_input_unittest.cc base::Unretained(audio_input_stream_))); base 83 media/audio/audio_input_unittest.cc base::Bind(&AudioInputTest::OpenAndClose, base 84 media/audio/audio_input_unittest.cc base::Unretained(this))); base 89 media/audio/audio_input_unittest.cc base::Bind(&AudioInputTest::OpenStopAndClose, base 90 media/audio/audio_input_unittest.cc base::Unretained(this))); base 96 media/audio/audio_input_unittest.cc base::Bind(&AudioInputTest::OpenAndStart, base 97 media/audio/audio_input_unittest.cc base::Unretained(this), base 103 media/audio/audio_input_unittest.cc base::Bind(&AudioInputTest::StopAndClose, base 104 media/audio/audio_input_unittest.cc base::Unretained(this))); base 145 media/audio/audio_input_unittest.cc void RunOnAudioThread(const base::Closure& closure) { base 147 media/audio/audio_input_unittest.cc base::WaitableEvent event(false, false); base 150 media/audio/audio_input_unittest.cc base::Bind(&AudioInputTest::RunOnAudioThreadImpl, base 151 media/audio/audio_input_unittest.cc base::Unretained(this), base 160 media/audio/audio_input_unittest.cc void RunOnAudioThreadImpl(const base::Closure& closure, base 161 media/audio/audio_input_unittest.cc base::WaitableEvent* event) { base 167 media/audio/audio_input_unittest.cc base::MessageLoop message_loop_; base 230 media/audio/audio_input_unittest.cc base::MessageLoop::QuitClosure(), base 231 media/audio/audio_input_unittest.cc base::TimeDelta::FromMilliseconds(500)); base 32 media/audio/audio_input_volume_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 43 media/audio/audio_input_volume_unittest.cc , com_init_(base::win::ScopedCOMInitializer::kMTA) base 96 media/audio/audio_input_volume_unittest.cc base::win::ScopedCOMInitializer com_init_; base 90 media/audio/audio_low_latency_input_output_unittest.cc virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE { base 91 media/audio/audio_low_latency_input_output_unittest.cc return base::MessageLoop::current()->message_loop_proxy(); base 107 media/audio/audio_low_latency_input_output_unittest.cc base::MessageLoopForUI* message_loop() { return &message_loop_; } base 120 media/audio/audio_low_latency_input_output_unittest.cc base::MessageLoopForUI message_loop_; base 144 media/audio/audio_low_latency_input_output_unittest.cc previous_write_time_(base::TimeTicks::Now()) { base 160 media/audio/audio_low_latency_input_output_unittest.cc base::FilePath file_name; base 161 media/audio/audio_low_latency_input_output_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_EXE, &file_name)); base 164 media/audio/audio_low_latency_input_output_unittest.cc FILE* text_file = base::OpenFile(file_name, "wt"); base 182 media/audio/audio_low_latency_input_output_unittest.cc base::CloseFile(text_file); base 190 media/audio/audio_low_latency_input_output_unittest.cc base::AutoLock lock(lock_); base 194 media/audio/audio_low_latency_input_output_unittest.cc const base::TimeTicks now_time = base::TimeTicks::Now(); base 221 media/audio/audio_low_latency_input_output_unittest.cc base::AutoLock lock(lock_); base 274 media/audio/audio_low_latency_input_output_unittest.cc base::Lock lock_; base 284 media/audio/audio_low_latency_input_output_unittest.cc base::TimeTicks previous_write_time_; base 439 media/audio/audio_low_latency_input_output_unittest.cc base::MessageLoop::QuitClosure(), TestTimeouts::action_timeout()); base 38 media/audio/audio_manager.cc static base::LazyInstance<FakeAudioLogFactory>::Leaky fake_log_factory = base 17 media/audio/audio_manager.h namespace base { base 56 media/audio/audio_manager.h virtual base::string16 GetAudioInputDeviceModel() = 0; base 129 media/audio/audio_manager.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() = 0; base 134 media/audio/audio_manager.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetWorkerTaskRunner() = 0; base 92 media/audio/audio_manager_base.cc if (base::MessageLoopForUI::IsCurrent()) { base 93 media/audio/audio_manager_base.cc task_runner_ = base::MessageLoopProxy::current(); base 115 media/audio/audio_manager_base.cc base::string16 AudioManagerBase::GetAudioInputDeviceModel() { base 116 media/audio/audio_manager_base.cc return base::string16(); base 119 media/audio/audio_manager_base.cc scoped_refptr<base::SingleThreadTaskRunner> AudioManagerBase::GetTaskRunner() { base 123 media/audio/audio_manager_base.cc scoped_refptr<base::SingleThreadTaskRunner> base 276 media/audio/audio_manager_base.cc const base::TimeDelta kCloseDelay = base 277 media/audio/audio_manager_base.cc base::TimeDelta::FromSeconds(kStreamCloseDelaySeconds); base 327 media/audio/audio_manager_base.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 328 media/audio/audio_manager_base.cc &AudioManagerBase::ShutdownOnAudioThread, base::Unretained(this))); base 392 media/audio/audio_manager_base.cc if (base::StringToInt(buffer_size_str, &buffer_size) && buffer_size > 0) base 51 media/audio/audio_manager_base.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE; base 52 media/audio/audio_manager_base.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetWorkerTaskRunner() base 55 media/audio/audio_manager_base.h virtual base::string16 GetAudioInputDeviceModel() OVERRIDE; base 185 media/audio/audio_manager_base.h base::Thread audio_thread_; base 190 media/audio/audio_manager_base.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 37 media/audio/audio_manager_unittest.cc , com_init_(base::win::ScopedCOMInitializer::kMTA) base 42 media/audio/audio_manager_unittest.cc base::WaitableEvent event(false, false); base 43 media/audio/audio_manager_unittest.cc audio_manager_->GetTaskRunner()->PostTask(FROM_HERE, base::Bind( base 44 media/audio/audio_manager_unittest.cc &base::WaitableEvent::Signal, base::Unretained(&event))); base 134 media/audio/audio_manager_unittest.cc void RunOnAudioThread(const base::Closure& closure) { base 136 media/audio/audio_manager_unittest.cc base::WaitableEvent event(false, false); base 139 media/audio/audio_manager_unittest.cc base::Bind(&AudioManagerTest::RunOnAudioThreadImpl, base 140 media/audio/audio_manager_unittest.cc base::Unretained(this), base 149 media/audio/audio_manager_unittest.cc void RunOnAudioThreadImpl(const base::Closure& closure, base 150 media/audio/audio_manager_unittest.cc base::WaitableEvent* event) { base 161 media/audio/audio_manager_unittest.cc base::win::ScopedCOMInitializer com_init_; base 172 media/audio/audio_manager_unittest.cc base::Bind(&AudioManager::GetAudioInputDeviceNames, base 173 media/audio/audio_manager_unittest.cc base::Unretained(audio_manager()), base 185 media/audio/audio_manager_unittest.cc base::Bind(&AudioManager::GetAudioOutputDeviceNames, base 186 media/audio/audio_manager_unittest.cc base::Unretained(audio_manager()), base 16 media/audio/audio_output_controller.cc using base::TimeDelta; base 62 media/audio/audio_output_controller.cc CHECK(!base::AtomicRefCountDec(¬_currently_in_on_more_io_data_)); base 80 media/audio/audio_output_controller.cc controller->message_loop_->PostTask(FROM_HERE, base::Bind( base 86 media/audio/audio_output_controller.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 91 media/audio/audio_output_controller.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 95 media/audio/audio_output_controller.cc void AudioOutputController::Close(const base::Closure& closed_task) { base 97 media/audio/audio_output_controller.cc message_loop_->PostTaskAndReply(FROM_HERE, base::Bind( base 102 media/audio/audio_output_controller.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 107 media/audio/audio_output_controller.cc base::Callback<void(const std::string&)> callback) const { base 108 media/audio/audio_output_controller.cc base::PostTaskAndReplyWithResult( base 111 media/audio/audio_output_controller.cc base::Bind(&AudioOutputController::DoGetOutputDeviceId, this), base 116 media/audio/audio_output_controller.cc const std::string& output_device_id, const base::Closure& callback) { base 119 media/audio/audio_output_controller.cc base::Bind(&AudioOutputController::DoSwitchOutputDevice, this, base 195 media/audio/audio_output_controller.cc wedge_timer_.reset(new base::OneShotTimer<AudioOutputController>()); base 307 media/audio/audio_output_controller.cc CHECK(!base::AtomicRefCountDec(¬_currently_in_on_more_io_data_)); base 314 media/audio/audio_output_controller.cc if (base::AtomicRefCountIsZero(&on_more_io_data_called_)) base 315 media/audio/audio_output_controller.cc base::AtomicRefCountInc(&on_more_io_data_called_); base 327 media/audio/audio_output_controller.cc base::AtomicRefCountInc(¬_currently_in_on_more_io_data_); base 333 media/audio/audio_output_controller.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 394 media/audio/audio_output_controller.cc base::Bind(&AudioOutputController::DoStartDiverting, this, to_stream)); base 399 media/audio/audio_output_controller.cc FROM_HERE, base::Bind(&AudioOutputController::DoStopDiverting, this)); base 444 media/audio/audio_output_controller.cc base::AtomicRefCountIsOne(&on_more_io_data_called_); base 61 media/audio/audio_output_controller.h : public base::RefCountedThreadSafe<AudioOutputController>, base 129 media/audio/audio_output_controller.h void Close(const base::Closure& closed_task); base 137 media/audio/audio_output_controller.h base::Callback<void(const std::string&)> callback) const; base 149 media/audio/audio_output_controller.h const base::Closure& callback); base 185 media/audio/audio_output_controller.h friend class base::RefCountedThreadSafe<AudioOutputController>; base 243 media/audio/audio_output_controller.h base::AtomicRefCount not_currently_in_on_more_io_data_; base 249 media/audio/audio_output_controller.h const scoped_refptr<base::SingleThreadTaskRunner> message_loop_; base 257 media/audio/audio_output_controller.h base::AtomicRefCount on_more_io_data_called_; base 258 media/audio/audio_output_controller.h scoped_ptr<base::OneShotTimer<AudioOutputController> > wedge_timer_; base 165 media/audio/audio_output_controller_unittest.cc base::Bind(&AudioOutputController::OnDeviceChange, controller_)); base 223 media/audio/audio_output_controller_unittest.cc base::Bind(&base::DoNothing)); base 229 media/audio/audio_output_controller_unittest.cc controller_->Close(base::MessageLoop::QuitClosure()); base 230 media/audio/audio_output_controller_unittest.cc base::MessageLoop::current()->Run(); base 255 media/audio/audio_output_controller_unittest.cc base::MessageLoopForIO message_loop_; base 260 media/audio/audio_output_controller_unittest.cc base::WaitableEvent create_event_; base 261 media/audio/audio_output_controller_unittest.cc base::WaitableEvent play_event_; base 262 media/audio/audio_output_controller_unittest.cc base::WaitableEvent read_event_; base 263 media/audio/audio_output_controller_unittest.cc base::WaitableEvent pause_event_; base 23 media/audio/audio_output_device.cc base::SharedMemoryHandle memory, base 42 media/audio/audio_output_device.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner) base 84 media/audio/audio_output_device.cc base::Bind(&AudioOutputDevice::CreateStreamOnIOThread, this, base 90 media/audio/audio_output_device.cc base::AutoLock auto_lock(audio_thread_lock_); base 91 media/audio/audio_output_device.cc audio_thread_.Stop(base::MessageLoop::current()); base 96 media/audio/audio_output_device.cc base::Bind(&AudioOutputDevice::ShutDownOnIOThread, this)); base 101 media/audio/audio_output_device.cc base::Bind(&AudioOutputDevice::PlayOnIOThread, this)); base 106 media/audio/audio_output_device.cc base::Bind(&AudioOutputDevice::PauseOnIOThread, this)); base 114 media/audio/audio_output_device.cc base::Bind(&AudioOutputDevice::SetVolumeOnIOThread, this, volume))) { base 166 media/audio/audio_output_device.cc base::AutoLock auto_lock_(audio_thread_lock_); base 167 media/audio/audio_output_device.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 210 media/audio/audio_output_device.cc base::SharedMemoryHandle handle, base 211 media/audio/audio_output_device.cc base::SyncSocket::Handle socket_handle, base 238 media/audio/audio_output_device.cc base::AutoLock auto_lock(audio_thread_lock_); base 270 media/audio/audio_output_device.cc base::SharedMemoryHandle memory, base 82 media/audio/audio_output_device.h const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner); base 108 media/audio/audio_output_device.h virtual void OnStreamCreated(base::SharedMemoryHandle handle, base 109 media/audio/audio_output_device.h base::SyncSocket::Handle socket_handle, base 116 media/audio/audio_output_device.h friend class base::RefCountedThreadSafe<AudioOutputDevice>; base 168 media/audio/audio_output_device.h base::Lock audio_thread_lock_; base 19 media/audio/audio_output_device_unittest.cc using base::CancelableSyncSocket; base 20 media/audio/audio_output_device_unittest.cc using base::SharedMemory; base 21 media/audio/audio_output_device_unittest.cc using base::SyncSocket; base 86 media/audio/audio_output_device_unittest.cc loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 107 media/audio/audio_output_device_unittest.cc base::ShadowingAtExitManager at_exit_manager_; base 108 media/audio/audio_output_device_unittest.cc base::MessageLoopForIO io_loop_; base 184 media/audio/audio_output_device_unittest.cc base::SharedMemoryHandle duplicated_memory_handle; base 185 media/audio/audio_output_device_unittest.cc ASSERT_TRUE(shared_memory_.ShareToProcess(base::GetCurrentProcessHandle(), base 226 media/audio/audio_output_device_unittest.cc io_loop_.PostDelayedTask(FROM_HERE, base::MessageLoop::QuitClosure(), base 28 media/audio/audio_output_dispatcher.h namespace base { base 37 media/audio/audio_output_dispatcher.h : public base::RefCountedThreadSafe<AudioOutputDispatcher> { base 78 media/audio/audio_output_dispatcher.h friend class base::RefCountedThreadSafe<AudioOutputDispatcher>; base 84 media/audio/audio_output_dispatcher.h const scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 22 media/audio/audio_output_dispatcher_impl.cc const base::TimeDelta& close_delay) base 39 media/audio/audio_output_dispatcher_impl.h const base::TimeDelta& close_delay); base 68 media/audio/audio_output_dispatcher_impl.h friend class base::RefCountedThreadSafe<AudioOutputDispatcherImpl>; base 87 media/audio/audio_output_dispatcher_impl.h base::DelayTimer<AudioOutputDispatcherImpl> close_timer_; base 41 media/audio/audio_output_ipc.h virtual void OnStreamCreated(base::SharedMemoryHandle handle, base 42 media/audio/audio_output_ipc.h base::SyncSocket::Handle socket_handle, base 29 media/audio/audio_output_proxy.h public NON_EXPORTED_BASE(base::NonThreadSafe) { base 95 media/audio/audio_output_proxy_unittest.cc MOCK_METHOD0(GetAudioInputDeviceModel, base::string16()); base 105 media/audio/audio_output_proxy_unittest.cc MOCK_METHOD0(GetTaskRunner, scoped_refptr<base::SingleThreadTaskRunner>()); base 107 media/audio/audio_output_proxy_unittest.cc scoped_refptr<base::SingleThreadTaskRunner>()); base 155 media/audio/audio_output_proxy_unittest.cc InitDispatcher(base::TimeDelta::FromMilliseconds(kTestCloseDelayMs)); base 164 media/audio/audio_output_proxy_unittest.cc virtual void InitDispatcher(base::TimeDelta close_delay) { base 178 media/audio/audio_output_proxy_unittest.cc base::RunLoop run_loop; base 180 media/audio/audio_output_proxy_unittest.cc .WillOnce(testing::InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); base 412 media/audio/audio_output_proxy_unittest.cc base::MessageLoop message_loop_; base 425 media/audio/audio_output_proxy_unittest.cc virtual void InitDispatcher(base::TimeDelta close_delay) OVERRIDE { base 438 media/audio/audio_output_proxy_unittest.cc base::RunLoop run_loop; base 442 media/audio/audio_output_proxy_unittest.cc base::TimeDelta::FromMilliseconds(kStartRunTimeMs)); base 51 media/audio/audio_output_resampler.cc base::TimeDelta buffer_delay) OVERRIDE; base 155 media/audio/audio_output_resampler.cc const base::TimeDelta& close_delay) base 384 media/audio/audio_output_resampler.cc base::TimeDelta buffer_delay) { base 44 media/audio/audio_output_resampler.h const base::TimeDelta& close_delay); base 59 media/audio/audio_output_resampler.h friend class base::RefCountedThreadSafe<AudioOutputResampler>; base 78 media/audio/audio_output_resampler.h base::TimeDelta close_delay_; base 111 media/audio/audio_parameters.cc base::TimeDelta AudioParameters::GetBufferDuration() const { base 112 media/audio/audio_parameters.cc return base::TimeDelta::FromMicroseconds( base 113 media/audio/audio_parameters.cc frames_per_buffer_ * base::Time::kMicrosecondsPerSecond / base 89 media/audio/audio_parameters.h base::TimeDelta GetBufferDuration() const; base 197 media/audio/audio_parameters_unittest.cc SCOPED_TRACE("i=" + base::IntToString(i) + " j=" + base::IntToString(j)); base 19 media/audio/audio_power_monitor.cc int sample_rate, const base::TimeDelta& time_constant) base 47 media/audio/audio_power_monitor.cc if (!base::IsFinite(ewma_and_max.first)) { base 70 media/audio/audio_power_monitor.cc base::AutoLock for_reading(reading_lock_); base 28 media/audio/audio_power_monitor.h namespace base { base 42 media/audio/audio_power_monitor.h AudioPowerMonitor(int sample_rate, const base::TimeDelta& time_constant); base 78 media/audio/audio_power_monitor.h base::Lock reading_lock_; base 158 media/audio/audio_power_monitor_unittest.cc base::TimeDelta::FromMilliseconds(kTimeConstantMillis)) { base 15 media/audio/clockless_audio_sink.cc class ClocklessAudioSinkThread : public base::DelegateSimpleThread::Delegate { base 21 media/audio/clockless_audio_sink.cc stop_event_(new base::WaitableEvent(false, false)) {} base 25 media/audio/clockless_audio_sink.cc thread_.reset(new base::DelegateSimpleThread(this, "ClocklessAudioSink")); base 30 media/audio/clockless_audio_sink.cc base::TimeDelta Stop() { base 39 media/audio/clockless_audio_sink.cc base::TimeTicks start; base 44 media/audio/clockless_audio_sink.cc base::PlatformThread::YieldCurrentThread(); base 47 media/audio/clockless_audio_sink.cc start = base::TimeTicks::HighResNow(); base 50 media/audio/clockless_audio_sink.cc playback_time_ = base::TimeTicks::HighResNow() - start; base 57 media/audio/clockless_audio_sink.cc scoped_ptr<base::WaitableEvent> stop_event_; base 58 media/audio/clockless_audio_sink.cc scoped_ptr<base::DelegateSimpleThread> thread_; base 59 media/audio/clockless_audio_sink.cc base::TimeDelta playback_time_; base 12 media/audio/clockless_audio_sink.h namespace base { base 37 media/audio/clockless_audio_sink.h base::TimeDelta render_time() { return playback_time_; } base 48 media/audio/clockless_audio_sink.h base::TimeDelta playback_time_; base 212 media/audio/cras/cras_input.cc latency_ts.tv_sec * base::Time::kMicrosecondsPerSecond + base 213 media/audio/cras/cras_input.cc latency_ts.tv_nsec / base::Time::kNanosecondsPerMicrosecond; base 215 media/audio/cras/cras_input.cc latency_usec * params_.sample_rate() / base::Time::kMicrosecondsPerSecond; base 92 media/audio/cras/cras_input_unittest.cc base::WaitableEvent event(false, false); base 96 media/audio/cras/cras_input_unittest.cc .WillOnce(InvokeWithoutArgs(&event, &base::WaitableEvent::Signal)); base 279 media/audio/cras/cras_unified.cc latency_usec = (latency_ts.tv_sec * base::Time::kMicrosecondsPerSecond) + base 280 media/audio/cras/cras_unified.cc latency_ts.tv_nsec / base::Time::kNanosecondsPerMicrosecond; base 284 media/audio/cras/cras_unified.cc latency_usec * params_.sample_rate() / base::Time::kMicrosecondsPerSecond; base 143 media/audio/cras/cras_unified_unittest.cc base::WaitableEvent event(false, false); base 147 media/audio/cras/cras_unified_unittest.cc InvokeWithoutArgs(&event, &base::WaitableEvent::Signal), base 23 media/audio/fake_audio_consumer.cc : public base::RefCountedThreadSafe<FakeAudioConsumer::Worker> { base 25 media/audio/fake_audio_consumer.cc Worker(const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner, base 47 media/audio/fake_audio_consumer.cc const scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner_; base 49 media/audio/fake_audio_consumer.cc const base::TimeDelta buffer_duration_; base 51 media/audio/fake_audio_consumer.cc base::Lock read_cb_lock_; // Held while mutating or running |read_cb_|. base 53 media/audio/fake_audio_consumer.cc base::TimeTicks next_read_time_; base 56 media/audio/fake_audio_consumer.cc base::CancelableClosure read_task_cb_; base 58 media/audio/fake_audio_consumer.cc base::ThreadChecker thread_checker_; base 64 media/audio/fake_audio_consumer.cc const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner, base 83 media/audio/fake_audio_consumer.cc const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner, base 87 media/audio/fake_audio_consumer.cc buffer_duration_(base::TimeDelta::FromMicroseconds( base 88 media/audio/fake_audio_consumer.cc params.frames_per_buffer() * base::Time::kMicrosecondsPerSecond / base 102 media/audio/fake_audio_consumer.cc base::AutoLock scoped_lock(read_cb_lock_); base 110 media/audio/fake_audio_consumer.cc base::AutoLock scoped_lock(read_cb_lock_); base 114 media/audio/fake_audio_consumer.cc worker_task_runner_->PostTask(FROM_HERE, base::Bind(&Worker::DoStart, this)); base 119 media/audio/fake_audio_consumer.cc next_read_time_ = base::TimeTicks::Now(); base 120 media/audio/fake_audio_consumer.cc read_task_cb_.Reset(base::Bind(&Worker::DoRead, this)); base 127 media/audio/fake_audio_consumer.cc base::AutoLock scoped_lock(read_cb_lock_); base 132 media/audio/fake_audio_consumer.cc worker_task_runner_->PostTask(FROM_HERE, base::Bind(&Worker::DoCancel, this)); base 144 media/audio/fake_audio_consumer.cc base::AutoLock scoped_lock(read_cb_lock_); base 151 media/audio/fake_audio_consumer.cc const base::TimeTicks now = base::TimeTicks::Now(); base 152 media/audio/fake_audio_consumer.cc base::TimeDelta delay = next_read_time_ + buffer_duration_ - now; base 155 media/audio/fake_audio_consumer.cc if (delay < base::TimeDelta()) base 12 media/audio/fake_audio_consumer.h namespace base { base 29 media/audio/fake_audio_consumer.h const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner, base 35 media/audio/fake_audio_consumer.h typedef base::Callback<void(AudioBus* audio_bus)> ReadCB; base 25 media/audio/fake_audio_consumer_unittest.cc time_between_callbacks_ = base::TimeDelta::FromMicroseconds( base 26 media/audio/fake_audio_consumer_unittest.cc params_.frames_per_buffer() * base::Time::kMicrosecondsPerSecond / base 38 media/audio/fake_audio_consumer_unittest.cc fake_consumer_.Start(base::Bind( base 39 media/audio/fake_audio_consumer_unittest.cc &FakeAudioConsumerTest::ConsumeData, base::Unretained(this))); base 47 media/audio/fake_audio_consumer_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 48 media/audio/fake_audio_consumer_unittest.cc &FakeAudioConsumerTest::EndTest, base::Unretained(this), 1)); base 62 media/audio/fake_audio_consumer_unittest.cc start_time_ = base::TimeTicks::Now(); base 67 media/audio/fake_audio_consumer_unittest.cc message_loop_.PostDelayedTask(FROM_HERE, base::Bind( base 69 media/audio/fake_audio_consumer_unittest.cc base::Unretained(this), callbacks), time_between_callbacks_ / 2); base 71 media/audio/fake_audio_consumer_unittest.cc end_time_ = base::TimeTicks::Now(); base 80 media/audio/fake_audio_consumer_unittest.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 84 media/audio/fake_audio_consumer_unittest.cc base::MessageLoop message_loop_; base 88 media/audio/fake_audio_consumer_unittest.cc base::TimeTicks start_time_; base 89 media/audio/fake_audio_consumer_unittest.cc base::TimeTicks end_time_; base 90 media/audio/fake_audio_consumer_unittest.cc base::TimeDelta time_between_callbacks_; base 99 media/audio/fake_audio_consumer_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 101 media/audio/fake_audio_consumer_unittest.cc base::Unretained(this))); base 107 media/audio/fake_audio_consumer_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 109 media/audio/fake_audio_consumer_unittest.cc base::Unretained(this), kTestCallbacks)); base 113 media/audio/fake_audio_consumer_unittest.cc base::TimeDelta actual_time_between_callbacks = base 129 media/audio/fake_audio_consumer_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 131 media/audio/fake_audio_consumer_unittest.cc base::Unretained(this), kTestCallbacks)); base 135 media/audio/fake_audio_consumer_unittest.cc message_loop_.PostDelayedTask(FROM_HERE, base::Bind( base 137 media/audio/fake_audio_consumer_unittest.cc base::Unretained(this)), time_between_callbacks_ / 2); base 11 media/audio/fake_audio_input_stream.cc using base::TimeTicks; base 12 media/audio/fake_audio_input_stream.cc using base::TimeDelta; base 25 media/audio/fake_audio_input_stream.cc base::Lock beep_lock; base 29 media/audio/fake_audio_input_stream.cc static base::LazyInstance<BeepContext> g_beep_context = base 48 media/audio/fake_audio_input_stream.cc callback_interval_(base::TimeDelta::FromMilliseconds( base 74 media/audio/fake_audio_input_stream.cc base::Bind(&FakeAudioInputStream::DoCallback, base::Unretained(this)), base 86 media/audio/fake_audio_input_stream.cc base::AutoLock auto_lock(beep_context->beep_lock); base 120 media/audio/fake_audio_input_stream.cc base::TimeDelta next_callback_time = base 125 media/audio/fake_audio_input_stream.cc if (next_callback_time < base::TimeDelta()) base 126 media/audio/fake_audio_input_stream.cc next_callback_time = base::TimeDelta(); base 131 media/audio/fake_audio_input_stream.cc base::Bind(&FakeAudioInputStream::DoCallback, base::Unretained(this)), base 164 media/audio/fake_audio_input_stream.cc base::AutoLock auto_lock(beep_context->beep_lock); base 63 media/audio/fake_audio_input_stream.h base::Thread thread_; base 64 media/audio/fake_audio_input_stream.h base::TimeTicks last_callback_time_; base 65 media/audio/fake_audio_input_stream.h base::TimeDelta callback_interval_; base 40 media/audio/fake_audio_output_stream.cc fake_consumer_.Start(base::Bind( base 41 media/audio/fake_audio_output_stream.cc &FakeAudioOutputStream::CallOnMoreData, base::Unretained(this))); base 160 media/audio/mac/audio_auhal_mac.cc base::Bind(&AUHALStream::Start, base::Unretained(this), callback)); base 162 media/audio/mac/audio_auhal_mac.cc FROM_HERE, deferred_start_cb_.callback(), base::TimeDelta::FromSeconds( base 170 media/audio/mac/audio_auhal_mac.cc base::AutoLock auto_lock(source_lock_); base 194 media/audio/mac/audio_auhal_mac.cc base::AutoLock auto_lock(source_lock_); base 230 media/audio/mac/audio_auhal_mac.cc base::Bind(&AUHALStream::ProvideInput, base::Unretained(this)))); base 268 media/audio/mac/audio_auhal_mac.cc base::AutoLock auto_lock(source_lock_); base 131 media/audio/mac/audio_auhal_mac.h base::Lock source_lock_; base 171 media/audio/mac/audio_auhal_mac.h base::CancelableClosure deferred_start_cb_; base 36 media/audio/mac/audio_auhal_mac_unittest.cc : message_loop_(base::MessageLoop::TYPE_UI), base 39 media/audio/mac/audio_auhal_mac_unittest.cc base::RunLoop().RunUntilIdle(); base 43 media/audio/mac/audio_auhal_mac_unittest.cc base::RunLoop().RunUntilIdle(); base 56 media/audio/mac/audio_auhal_mac_unittest.cc base::MessageLoop message_loop_; base 95 media/audio/mac/audio_auhal_mac_unittest.cc base::WaitableEvent event(false, false); base 48 media/audio/mac/audio_device_listener_mac.cc const base::Closure& listener_cb) { base 24 media/audio/mac/audio_device_listener_mac.h explicit AudioDeviceListenerMac(const base::Closure& listener_cb); base 35 media/audio/mac/audio_device_listener_mac.h base::Closure listener_cb_; base 39 media/audio/mac/audio_device_listener_mac.h base::ThreadChecker thread_checker_; base 23 media/audio/mac/audio_device_listener_mac_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 25 media/audio/mac/audio_device_listener_mac_unittest.cc base::Unretained(this))); base 32 media/audio/mac/audio_device_listener_mac_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 34 media/audio/mac/audio_device_listener_mac_unittest.cc base::Unretained(this))); base 42 media/audio/mac/audio_device_listener_mac_unittest.cc base::Bind(&AudioDeviceListenerMacTest::OnDeviceChange, base 43 media/audio/mac/audio_device_listener_mac_unittest.cc base::Unretained(this))))); base 72 media/audio/mac/audio_device_listener_mac_unittest.cc base::MessageLoop message_loop_; base 198 media/audio/mac/audio_input_mac.cc base::TimeDelta elapsed = base::TimeTicks::Now() - last_fill_; base 199 media/audio/mac/audio_input_mac.cc const base::TimeDelta kMinDelay = base::TimeDelta::FromMilliseconds(5); base 201 media/audio/mac/audio_input_mac.cc base::PlatformThread::Sleep(kMinDelay - elapsed); base 209 media/audio/mac/audio_input_mac.cc last_fill_ = base::TimeTicks::Now(); base 81 media/audio/mac/audio_input_mac.h base::TimeTicks last_fill_; base 27 media/audio/mac/audio_low_latency_input_mac_unittest.cc loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 212 media/audio/mac/audio_low_latency_input_mac_unittest.cc base::MessageLoopForUI loop; base 243 media/audio/mac/audio_low_latency_input_mac_unittest.cc base::MessageLoopForUI loop; base 295 media/audio/mac/audio_low_latency_input_mac_unittest.cc base::PlatformThread::Sleep(TestTimeouts::action_timeout()); base 79 media/audio/mac/audio_manager_mac.cc scoped_ptr<AudioDeviceID, base::FreeDeleter> base 138 media/audio/mac/audio_manager_mac.cc device_name.device_name = base::SysCFStringRefToUTF8(name); base 139 media/audio/mac/audio_manager_mac.cc device_name.unique_id = base::SysCFStringRefToUTF8(uid); base 187 media/audio/mac/audio_manager_mac.cc base::ScopedCFTypeRef<CFStringRef> uid( base 188 media/audio/mac/audio_manager_mac.cc base::SysUTF8ToCFStringRef(device_id)); base 225 media/audio/mac/audio_manager_mac.cc class AudioManagerMac::AudioPowerObserver : public base::PowerObserver { base 229 media/audio/mac/audio_manager_mac.cc is_monitoring_(base::PowerMonitor::Get()) { base 235 media/audio/mac/audio_manager_mac.cc base::PowerMonitor::Get()->AddObserver(this); base 242 media/audio/mac/audio_manager_mac.cc base::PowerMonitor::Get()->RemoveObserver(this); base 249 media/audio/mac/audio_manager_mac.cc return is_suspending_ || base::TimeTicks::Now() < earliest_start_time_; base 261 media/audio/mac/audio_manager_mac.cc earliest_start_time_ = base::TimeTicks::Now() + base 262 media/audio/mac/audio_manager_mac.cc base::TimeDelta::FromSeconds(kStartDelayInSecsForPowerEvents); base 267 media/audio/mac/audio_manager_mac.cc base::TimeTicks earliest_start_time_; base 268 media/audio/mac/audio_manager_mac.cc base::ThreadChecker thread_checker_; base 282 media/audio/mac/audio_manager_mac.cc GetTaskRunner()->PostTask(FROM_HERE, base::Bind( base 283 media/audio/mac/audio_manager_mac.cc &AudioManagerMac::InitializeOnAudioThread, base::Unretained(this))); base 292 media/audio/mac/audio_manager_mac.cc GetTaskRunner()->PostTask(FROM_HERE, base::Bind( base 293 media/audio/mac/audio_manager_mac.cc &AudioManagerMac::ShutdownOnAudioThread, base::Unretained(this))); base 503 media/audio/mac/audio_manager_mac.cc scoped_ptr<AudioDeviceID, base::FreeDeleter> base 536 media/audio/mac/audio_manager_mac.cc std::string ret(base::SysCFStringRefToUTF8(uid)); base 586 media/audio/mac/audio_manager_mac.cc new AudioDeviceListenerMac(BindToCurrentLoop(base::Bind( base 587 media/audio/mac/audio_manager_mac.cc &AudioManagerMac::HandleDeviceChanges, base::Unretained(this))))); base 622 media/audio/mac/audio_manager_mac.cc std::string ret(base::SysCFStringRefToUTF8(device_uid)); base 14 media/audio/mock_audio_manager.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) base 28 media/audio/mock_audio_manager.cc base::string16 MockAudioManager::GetAudioInputDeviceModel() { base 29 media/audio/mock_audio_manager.cc return base::string16(); base 69 media/audio/mock_audio_manager.cc scoped_refptr<base::SingleThreadTaskRunner> MockAudioManager::GetTaskRunner() { base 73 media/audio/mock_audio_manager.cc scoped_refptr<base::SingleThreadTaskRunner> base 25 media/audio/mock_audio_manager.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); base 31 media/audio/mock_audio_manager.h virtual base::string16 GetAudioInputDeviceModel() OVERRIDE; base 53 media/audio/mock_audio_manager.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE; base 54 media/audio/mock_audio_manager.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetWorkerTaskRunner() base 79 media/audio/mock_audio_manager.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 15 media/audio/null_audio_sink.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) base 52 media/audio/null_audio_sink.cc fake_consumer_->Start(base::Bind( base 53 media/audio/null_audio_sink.cc &NullAudioSink::CallRender, base::Unretained(this))); base 13 media/audio/null_audio_sink.h namespace base { base 25 media/audio/null_audio_sink.h NullAudioSink(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); base 56 media/audio/null_audio_sink.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 32 media/audio/openbsd/audio_manager_openbsd.cc static const base::FilePath::CharType kPulseLib[] = base 38 media/audio/pulse/audio_manager_pulse.cc static const base::FilePath::CharType kPulseLib[] = base 284 media/audio/pulse/pulse_input.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(5)); base 78 media/audio/pulse/pulse_input.h base::ThreadChecker thread_checker_; base 125 media/audio/pulse/pulse_util.cc base::Time::kMicrosecondsPerSecond; base 13 media/audio/scoped_task_runner_observer.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) base 24 media/audio/scoped_task_runner_observer.cc base::WaitableEvent* done) { base 27 media/audio/scoped_task_runner_observer.cc base::MessageLoop* loop = base::MessageLoop::current(); base 34 media/audio/scoped_task_runner_observer.cc base::WaitableEvent event(false, false); base 36 media/audio/scoped_task_runner_observer.cc base::Bind(&ScopedTaskRunnerObserver::ObserveLoopDestruction, base 37 media/audio/scoped_task_runner_observer.cc base::Unretained(this), enable, &event))) { base 11 media/audio/scoped_task_runner_observer.h namespace base { base 25 media/audio/scoped_task_runner_observer.h : public base::MessageLoop::DestructionObserver { base 28 media/audio/scoped_task_runner_observer.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); base 34 media/audio/scoped_task_runner_observer.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner() { base 41 media/audio/scoped_task_runner_observer.h void ObserveLoopDestruction(bool enable, base::WaitableEvent* done); base 45 media/audio/scoped_task_runner_observer.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 33 media/audio/simple_sources.cc base::AutoLock auto_lock(time_lock_); base 62 media/audio/simple_sources.cc base::AutoLock auto_lock(time_lock_); base 68 media/audio/simple_sources.cc base::AutoLock auto_lock(time_lock_); base 48 media/audio/simple_sources.h base::Lock time_lock_; base 71 media/audio/sounds/audio_stream_handler.cc base::AutoLock al(state_lock_); base 74 media/audio/sounds/audio_stream_handler.cc stop_closure_.Reset(base::Bind( base 75 media/audio/sounds/audio_stream_handler.cc &AudioStreamContainer::StopStream, base::Unretained(this))); base 109 media/audio/sounds/audio_stream_handler.cc base::AutoLock al(state_lock_); base 120 media/audio/sounds/audio_stream_handler.cc base::TimeDelta::FromMilliseconds(kKeepAliveMs)); base 140 media/audio/sounds/audio_stream_handler.cc base::AutoLock al(state_lock_); base 154 media/audio/sounds/audio_stream_handler.cc base::Lock state_lock_; base 158 media/audio/sounds/audio_stream_handler.cc base::CancelableClosure stop_closure_; base 163 media/audio/sounds/audio_stream_handler.cc AudioStreamHandler::AudioStreamHandler(const base::StringPiece& wav_data) base 183 media/audio/sounds/audio_stream_handler.cc base::Bind(&AudioStreamContainer::Stop, base::Unretained(stream_.get()))); base 201 media/audio/sounds/audio_stream_handler.cc base::Bind(base::IgnoreResult(&AudioStreamContainer::Play), base 202 media/audio/sounds/audio_stream_handler.cc base::Unretained(stream_.get()))); base 210 media/audio/sounds/audio_stream_handler.cc base::Bind(&AudioStreamContainer::Stop, base::Unretained(stream_.get()))); base 22 media/audio/sounds/audio_stream_handler.h class MEDIA_EXPORT AudioStreamHandler : public base::NonThreadSafe { base 39 media/audio/sounds/audio_stream_handler.h explicit AudioStreamHandler(const base::StringPiece& wav_data); base 30 media/audio/sounds/audio_stream_handler_unittest.cc base::StringPiece data(kTestAudioData, arraysize(kTestAudioData)); base 56 media/audio/sounds/audio_stream_handler_unittest.cc base::MessageLoop message_loop_; base 60 media/audio/sounds/audio_stream_handler_unittest.cc base::RunLoop run_loop; base 78 media/audio/sounds/audio_stream_handler_unittest.cc base::RunLoop run_loop; base 88 media/audio/sounds/audio_stream_handler_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 90 media/audio/sounds/audio_stream_handler_unittest.cc base::Bind(base::IgnoreResult(&AudioStreamHandler::Play), base 91 media/audio/sounds/audio_stream_handler_unittest.cc base::Unretained(audio_stream_handler())), base 92 media/audio/sounds/audio_stream_handler_unittest.cc base::TimeDelta::FromSeconds(1)); base 93 media/audio/sounds/audio_stream_handler_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 95 media/audio/sounds/audio_stream_handler_unittest.cc base::Bind(&AudioStreamHandler::Stop, base 96 media/audio/sounds/audio_stream_handler_unittest.cc base::Unretained(audio_stream_handler())), base 97 media/audio/sounds/audio_stream_handler_unittest.cc base::TimeDelta::FromSeconds(2)); base 33 media/audio/sounds/sounds_manager.cc const base::StringPiece& data) OVERRIDE; base 35 media/audio/sounds/sounds_manager.cc virtual base::TimeDelta GetDuration(SoundKey key) OVERRIDE; base 38 media/audio/sounds/sounds_manager.cc base::hash_map<SoundKey, linked_ptr<AudioStreamHandler> > handlers_; base 39 media/audio/sounds/sounds_manager.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 51 media/audio/sounds/sounds_manager.cc const base::StringPiece& data) { base 72 media/audio/sounds/sounds_manager.cc base::TimeDelta SoundsManagerImpl::GetDuration(SoundKey key) { base 76 media/audio/sounds/sounds_manager.cc return base::TimeDelta(); base 19 media/audio/sounds/sounds_manager.h class MEDIA_EXPORT SoundsManager : public base::NonThreadSafe { base 39 media/audio/sounds/sounds_manager.h virtual bool Initialize(SoundKey key, const base::StringPiece& data) = 0; base 48 media/audio/sounds/sounds_manager.h virtual base::TimeDelta GetDuration(SoundKey key) = 0; base 43 media/audio/sounds/sounds_manager_unittest.cc base::MessageLoop message_loop_; base 49 media/audio/sounds/sounds_manager_unittest.cc base::RunLoop run_loop; base 56 media/audio/sounds/sounds_manager_unittest.cc base::StringPiece(kTestAudioData, arraysize(kTestAudioData)))); base 12 media/audio/sounds/test_data.cc TestObserver::TestObserver(const base::Closure& quit) base 13 media/audio/sounds/test_data.cc : loop_(base::MessageLoop::current()), base 13 media/audio/sounds/test_data.h namespace base { base 27 media/audio/sounds/test_data.h TestObserver(const base::Closure& quit); base 39 media/audio/sounds/test_data.h base::MessageLoop* loop_; base 40 media/audio/sounds/test_data.h base::Closure quit_; base 43 media/audio/sounds/wav_audio_handler.cc T ReadInt(const base::StringPiece& data, size_t offset) { base 48 media/audio/sounds/wav_audio_handler.cc result = base::ByteSwap(result); base 57 media/audio/sounds/wav_audio_handler.cc WavAudioHandler::WavAudioHandler(const base::StringPiece& wav_data) base 112 media/audio/sounds/wav_audio_handler.cc int WavAudioHandler::ParseSubChunk(const base::StringPiece& data) { base 128 media/audio/sounds/wav_audio_handler.cc bool WavAudioHandler::ParseFmtChunk(const base::StringPiece& data) { base 140 media/audio/sounds/wav_audio_handler.cc bool WavAudioHandler::ParseDataChunk(const base::StringPiece& data) { base 21 media/audio/sounds/wav_audio_handler.h explicit WavAudioHandler(const base::StringPiece& wav_data); base 33 media/audio/sounds/wav_audio_handler.h const base::StringPiece& data() const { return data_; } base 37 media/audio/sounds/wav_audio_handler.h int ParseSubChunk(const base::StringPiece& data); base 40 media/audio/sounds/wav_audio_handler.h bool ParseFmtChunk(const base::StringPiece& data); base 43 media/audio/sounds/wav_audio_handler.h bool ParseDataChunk(const base::StringPiece& data); base 46 media/audio/sounds/wav_audio_handler.h base::StringPiece data_; base 17 media/audio/sounds/wav_audio_handler_unittest.cc WavAudioHandler handler(base::StringPiece(kTestAudioData, base 27 media/audio/sounds/wav_audio_handler_unittest.cc ASSERT_EQ(base::StringPiece(kData, arraysize(kData) - 1), handler.data()); base 34 media/audio/test_audio_input_controller_factory.cc void TestAudioInputController::Close(const base::Closure& closed_task) { base 70 media/audio/test_audio_input_controller_factory.h virtual void Close(const base::Closure& closed_task) OVERRIDE; base 40 media/audio/virtual_audio_input_stream.cc base::TimeDelta buffer_delay) OVERRIDE { base 52 media/audio/virtual_audio_input_stream.cc const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner, base 92 media/audio/virtual_audio_input_stream.cc fake_consumer_.Start(base::Bind( base 93 media/audio/virtual_audio_input_stream.cc &VirtualAudioInputStream::PumpAudio, base::Unretained(this))); base 106 media/audio/virtual_audio_input_stream.cc base::AutoLock scoped_lock(converter_network_lock_); base 126 media/audio/virtual_audio_input_stream.cc base::AutoLock scoped_lock(converter_network_lock_); base 139 media/audio/virtual_audio_input_stream.cc base::AutoLock scoped_lock(converter_network_lock_); base 20 media/audio/virtual_audio_input_stream.h namespace base { base 35 media/audio/virtual_audio_input_stream.h typedef base::Callback<void(VirtualAudioInputStream* vais)> base 44 media/audio/virtual_audio_input_stream.h const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner, base 81 media/audio/virtual_audio_input_stream.h const scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner_; base 93 media/audio/virtual_audio_input_stream.h base::Lock converter_network_lock_; base 109 media/audio/virtual_audio_input_stream.h base::ThreadChecker thread_checker_; base 37 media/audio/virtual_audio_input_stream_unittest.cc &base::WaitableEvent::Signal)); base 54 media/audio/virtual_audio_input_stream_unittest.cc base::WaitableEvent data_pushed_; base 91 media/audio/virtual_audio_input_stream_unittest.cc base::WaitableEvent data_pulled_; base 101 media/audio/virtual_audio_input_stream_unittest.cc : audio_thread_(new base::Thread("AudioThread")), base 102 media/audio/virtual_audio_input_stream_unittest.cc worker_thread_(new base::Thread("AudioWorkerThread")), base 120 media/audio/virtual_audio_input_stream_unittest.cc base::Bind(&base::DeletePointer<VirtualAudioInputStream>)); base 137 media/audio/virtual_audio_input_stream_unittest.cc base::Bind(&base::DeletePointer<VirtualAudioOutputStream>)); base 193 media/audio/virtual_audio_input_stream_unittest.cc for (int remaning = base::RandInt(1, output_streams_.size() - 1); base 209 media/audio/virtual_audio_input_stream_unittest.cc const scoped_refptr<base::SingleThreadTaskRunner>& audio_task_runner() const { base 213 media/audio/virtual_audio_input_stream_unittest.cc const scoped_refptr<base::SingleThreadTaskRunner>& GetWorkerTaskRunner( base 228 media/audio/virtual_audio_input_stream_unittest.cc base::WaitableEvent done(false, false); base 231 media/audio/virtual_audio_input_stream_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&done))); base 235 media/audio/virtual_audio_input_stream_unittest.cc scoped_ptr<base::Thread> audio_thread_; base 236 media/audio/virtual_audio_input_stream_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_; base 237 media/audio/virtual_audio_input_stream_unittest.cc scoped_ptr<base::Thread> worker_thread_; base 238 media/audio/virtual_audio_input_stream_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner_; base 242 media/audio/virtual_audio_input_stream_unittest.cc base::WaitableEvent closed_stream_; base 253 media/audio/virtual_audio_input_stream_unittest.cc FROM_HERE, base::Bind(&VirtualAudioInputStreamTest::method, \ base 254 media/audio/virtual_audio_input_stream_unittest.cc base::Unretained(this))) base 75 media/audio/virtual_audio_output_stream.cc base::TimeDelta buffer_delay) { base 28 media/audio/virtual_audio_output_stream.h typedef base::Callback<void(VirtualAudioOutputStream* vaos)> base 50 media/audio/virtual_audio_output_stream.h base::TimeDelta buffer_delay) OVERRIDE; base 63 media/audio/virtual_audio_output_stream.h base::ThreadChecker thread_checker_; base 28 media/audio/virtual_audio_output_stream_unittest.cc const scoped_refptr<base::SingleThreadTaskRunner>& worker_task_runner) base 32 media/audio/virtual_audio_output_stream_unittest.cc base::Bind(&base::DeletePointer<VirtualAudioInputStream>)) {} base 52 media/audio/virtual_audio_output_stream_unittest.cc : audio_thread_(new base::Thread("AudioThread")) { base 57 media/audio/virtual_audio_output_stream_unittest.cc const scoped_refptr<base::SingleThreadTaskRunner>& audio_task_runner() const { base 62 media/audio/virtual_audio_output_stream_unittest.cc base::WaitableEvent done(false, false); base 64 media/audio/virtual_audio_output_stream_unittest.cc FROM_HERE, base::Bind(&base::WaitableEvent::Signal, base 65 media/audio/virtual_audio_output_stream_unittest.cc base::Unretained(&done))); base 70 media/audio/virtual_audio_output_stream_unittest.cc scoped_ptr<base::Thread> audio_thread_; base 71 media/audio/virtual_audio_output_stream_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_; base 82 media/audio/virtual_audio_output_stream_unittest.cc FROM_HERE, base::Bind( base 83 media/audio/virtual_audio_output_stream_unittest.cc base::IgnoreResult(&MockVirtualAudioInputStream::Open), base 84 media/audio/virtual_audio_output_stream_unittest.cc base::Unretained(input_stream))); base 89 media/audio/virtual_audio_output_stream_unittest.cc base::Bind(&base::DeletePointer<VirtualAudioOutputStream>)); base 97 media/audio/virtual_audio_output_stream_unittest.cc FROM_HERE, base::Bind(base::IgnoreResult(&VirtualAudioOutputStream::Open), base 98 media/audio/virtual_audio_output_stream_unittest.cc base::Unretained(output_stream))); base 102 media/audio/virtual_audio_output_stream_unittest.cc FROM_HERE, base::Bind(&VirtualAudioOutputStream::Start, base 103 media/audio/virtual_audio_output_stream_unittest.cc base::Unretained(output_stream), base 106 media/audio/virtual_audio_output_stream_unittest.cc FROM_HERE, base::Bind(&VirtualAudioOutputStream::Stop, base 107 media/audio/virtual_audio_output_stream_unittest.cc base::Unretained(output_stream))); base 110 media/audio/virtual_audio_output_stream_unittest.cc FROM_HERE, base::Bind(&VirtualAudioOutputStream::Close, base 111 media/audio/virtual_audio_output_stream_unittest.cc base::Unretained(output_stream))); base 114 media/audio/virtual_audio_output_stream_unittest.cc FROM_HERE, base::Bind(&MockVirtualAudioInputStream::Close, base 115 media/audio/virtual_audio_output_stream_unittest.cc base::Unretained(input_stream))); base 16 media/audio/win/audio_device_listener_win.cc using base::win::ScopedCoMem; base 54 media/audio/win/audio_device_listener_win.cc AudioDeviceListenerWin::AudioDeviceListenerWin(const base::Closure& listener_cb) base 131 media/audio/win/audio_device_listener_win.cc base::SystemMonitor* monitor = base::SystemMonitor::Get(); base 133 media/audio/win/audio_device_listener_win.cc monitor->ProcessDevicesChanged(base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE); base 162 media/audio/win/audio_device_listener_win.cc new_device_id = base::WideToUTF8(new_default_device_id); base 17 media/audio/win/audio_device_listener_win.h using base::win::ScopedComPtr; base 32 media/audio/win/audio_device_listener_win.h explicit AudioDeviceListenerWin(const base::Closure& listener_cb); base 49 media/audio/win/audio_device_listener_win.h base::Closure listener_cb_; base 57 media/audio/win/audio_device_listener_win.h base::ThreadChecker thread_checker_; base 18 media/audio/win/audio_device_listener_win_unittest.cc using base::win::ScopedCOMInitializer; base 36 media/audio/win/audio_device_listener_win_unittest.cc output_device_listener_.reset(new AudioDeviceListenerWin(base::Bind( base 37 media/audio/win/audio_device_listener_win_unittest.cc &AudioDeviceListenerWinTest::OnDeviceChange, base::Unretained(this)))); base 50 media/audio/win/audio_device_listener_win_unittest.cc base::ASCIIToWide(new_device_id).c_str()) == S_OK; base 13 media/audio/win/audio_low_latency_input_win.cc using base::win::ScopedComPtr; base 14 media/audio/win/audio_low_latency_input_win.cc using base::win::ScopedCOMInitializer; base 28 media/audio/win/audio_low_latency_input_win.cc base::win::ScopedCoMem<WCHAR> communications_id, device_id; base 160 media/audio/win/audio_low_latency_input_win.cc new base::DelegateSimpleThread(this, "wasapi_capture_thread"); base 270 media/audio/win/audio_low_latency_input_win.cc base::win::ScopedCoMem<WAVEFORMATEX> audio_engine_mix_format; base 311 media/audio/win/audio_low_latency_input_win.cc hr = enumerator->GetDevice(base::UTF8ToUTF16(device_id).c_str(), base 333 media/audio/win/audio_low_latency_input_win.cc capture_thread_->SetThreadPriority(base::kThreadPriority_RealtimeAudio); base 509 media/audio/win/audio_low_latency_input_win.cc base::win::ScopedCoMem<WCHAR> communications_id; base 512 media/audio/win/audio_low_latency_input_win.cc base::WideToUTF8(static_cast<WCHAR*>(communications_id))) { base 532 media/audio/win/audio_low_latency_input_win.cc hr = enumerator->GetDevice(base::UTF8ToUTF16(device_id_).c_str(), base 574 media/audio/win/audio_low_latency_input_win.cc base::win::ScopedCoMem<WAVEFORMATEXTENSIBLE> format_ex; base 615 media/audio/win/audio_low_latency_input_win.cc base::win::ScopedCoMem<WAVEFORMATEX> closest_match; base 83 media/audio/win/audio_low_latency_input_win.h public base::DelegateSimpleThread::Delegate, base 84 media/audio/win/audio_low_latency_input_win.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 137 media/audio/win/audio_low_latency_input_win.h base::DelegateSimpleThread* capture_thread_; base 181 media/audio/win/audio_low_latency_input_win.h base::win::ScopedComPtr<IMMDevice> endpoint_device_; base 187 media/audio/win/audio_low_latency_input_win.h base::win::ScopedComPtr<IAudioClient> audio_client_; base 195 media/audio/win/audio_low_latency_input_win.h base::win::ScopedComPtr<IAudioClient> audio_render_client_for_loopback_; base 199 media/audio/win/audio_low_latency_input_win.h base::win::ScopedComPtr<IAudioCaptureClient> audio_capture_client_; base 205 media/audio/win/audio_low_latency_input_win.h base::win::ScopedComPtr<ISimpleAudioVolume> simple_audio_volume_; base 209 media/audio/win/audio_low_latency_input_win.h base::win::ScopedHandle audio_samples_ready_event_; base 212 media/audio/win/audio_low_latency_input_win.h base::win::ScopedHandle stop_capture_event_; base 24 media/audio/win/audio_low_latency_input_win_unittest.cc using base::win::ScopedCOMInitializer; base 35 media/audio/win/audio_low_latency_input_win_unittest.cc loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 75 media/audio/win/audio_low_latency_input_win_unittest.cc base::WaitableEvent data_event_; base 92 media/audio/win/audio_low_latency_input_win_unittest.cc base::FilePath file_path; base 93 media/audio/win/audio_low_latency_input_win_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_EXE, &file_path)); base 95 media/audio/win/audio_low_latency_input_win_unittest.cc binary_file_ = base::OpenFile(file_path, "wb"); base 115 media/audio/win/audio_low_latency_input_win_unittest.cc base::CloseFile(binary_file_); base 360 media/audio/win/audio_low_latency_input_win_unittest.cc base::MessageLoopForUI loop; base 480 media/audio/win/audio_low_latency_input_win_unittest.cc base::PlatformThread::Sleep(TestTimeouts::action_timeout()); base 22 media/audio/win/audio_low_latency_output_win.cc using base::win::ScopedComPtr; base 23 media/audio/win/audio_low_latency_output_win.cc using base::win::ScopedCOMInitializer; base 24 media/audio/win/audio_low_latency_output_win.cc using base::win::ScopedCoMem; base 59 media/audio/win/audio_low_latency_output_win.cc : creating_thread_id_(base::PlatformThread::CurrentId()), base 243 media/audio/win/audio_low_latency_output_win.cc new base::DelegateSimpleThread(this, "wasapi_render_thread")); base 330 media/audio/win/audio_low_latency_output_win.cc render_thread_->SetThreadPriority(base::kThreadPriority_RealtimeAudio); base 120 media/audio/win/audio_low_latency_output_win.h public base::DelegateSimpleThread::Delegate { base 176 media/audio/win/audio_low_latency_output_win.h base::PlatformThreadId creating_thread_id_; base 183 media/audio/win/audio_low_latency_output_win.h scoped_ptr<base::DelegateSimpleThread> render_thread_; base 226 media/audio/win/audio_low_latency_output_win.h base::win::ScopedComPtr<IAudioClient> audio_client_; base 230 media/audio/win/audio_low_latency_output_win.h base::win::ScopedComPtr<IAudioRenderClient> audio_render_client_; base 234 media/audio/win/audio_low_latency_output_win.h base::win::ScopedHandle audio_samples_render_event_; base 237 media/audio/win/audio_low_latency_output_win.h base::win::ScopedHandle stop_render_event_; base 242 media/audio/win/audio_low_latency_output_win.h base::win::ScopedComPtr<IAudioClock> audio_clock_; base 39 media/audio/win/audio_low_latency_output_win_unittest.cc using base::win::ScopedCOMInitializer; base 61 media/audio/win/audio_low_latency_output_win_unittest.cc loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 70 media/audio/win/audio_low_latency_output_win_unittest.cc previous_call_time_(base::TimeTicks::Now()), base 86 media/audio/win/audio_low_latency_output_win_unittest.cc base::FilePath file_name; base 87 media/audio/win/audio_low_latency_output_win_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_EXE, &file_name)); base 91 media/audio/win/audio_low_latency_output_win_unittest.cc text_file_ = base::OpenFile(file_name, "wt"); base 101 media/audio/win/audio_low_latency_output_win_unittest.cc base::CloseFile(text_file_); base 109 media/audio/win/audio_low_latency_output_win_unittest.cc const base::TimeTicks now_time = base::TimeTicks::Now(); base 148 media/audio/win/audio_low_latency_output_win_unittest.cc base::TimeTicks previous_call_time_; base 396 media/audio/win/audio_low_latency_output_win_unittest.cc base::MessageLoopForUI loop; base 419 media/audio/win/audio_low_latency_output_win_unittest.cc loop.PostDelayedTask(FROM_HERE, base::MessageLoop::QuitClosure(), base 470 media/audio/win/audio_low_latency_output_win_unittest.cc base::PlatformThread::Sleep( base 471 media/audio/win/audio_low_latency_output_win_unittest.cc base::TimeDelta::FromMilliseconds(kFileDurationMs / kNumFileSegments)); base 600 media/audio/win/audio_low_latency_output_win_unittest.cc base::MessageLoopForUI loop; base 624 media/audio/win/audio_low_latency_output_win_unittest.cc loop.PostDelayedTask(FROM_HERE, base::MessageLoop::QuitClosure(), base 641 media/audio/win/audio_low_latency_output_win_unittest.cc base::MessageLoopForUI loop; base 665 media/audio/win/audio_low_latency_output_win_unittest.cc loop.PostDelayedTask(FROM_HERE, base::MessageLoop::QuitClosure(), base 75 media/audio/win/audio_manager_win.cc static base::string16 GetDeviceAndDriverInfo(HDEVINFO device_info, base 90 media/audio/win/audio_manager_win.cc base::string16 device_and_driver_info; base 96 media/audio/win/audio_manager_win.cc device_and_driver_info = base::string16(driver_data.Description) + L" v" + base 97 media/audio/win/audio_manager_win.cc base::IntToString16(GetVersionPartAsInt((version >> 48))) + L"." + base 98 media/audio/win/audio_manager_win.cc base::IntToString16(GetVersionPartAsInt((version >> 32))) + L"." + base 99 media/audio/win/audio_manager_win.cc base::IntToString16(GetVersionPartAsInt((version >> 16))) + L"." + base 100 media/audio/win/audio_manager_win.cc base::IntToString16(GetVersionPartAsInt(version)); base 116 media/audio/win/audio_manager_win.cc if (base::StringToInt(buffers_str, &buffers) && buffers > 0) { base 126 media/audio/win/audio_manager_win.cc return (base::win::GetVersion() == base::win::VERSION_VISTA) ? 4 : 3; base 145 media/audio/win/audio_manager_win.cc GetTaskRunner()->PostTask(FROM_HERE, base::Bind( base 146 media/audio/win/audio_manager_win.cc &AudioManagerWin::InitializeOnAudioThread, base::Unretained(this))); base 152 media/audio/win/audio_manager_win.cc GetTaskRunner()->PostTask(FROM_HERE, base::Bind( base 153 media/audio/win/audio_manager_win.cc &AudioManagerWin::ShutdownOnAudioThread, base::Unretained(this))); base 172 media/audio/win/audio_manager_win.cc base::Bind(&AudioManagerWin::NotifyAllOutputDeviceChangeListeners, base 173 media/audio/win/audio_manager_win.cc base::Unretained(this))))); base 182 media/audio/win/audio_manager_win.cc base::string16 AudioManagerWin::GetAudioInputDeviceModel() { base 192 media/audio/win/audio_manager_win.cc size_t bytes_in_char16 = sizeof(base::string16::value_type); base 195 media/audio/win/audio_manager_win.cc return base::string16(); // No audio capture device. base 197 media/audio/win/audio_manager_win.cc base::string16 device_interface_name; base 198 media/audio/win/audio_manager_win.cc base::string16::value_type* name_ptr = WriteInto(&device_interface_name, base 210 media/audio/win/audio_manager_win.cc return base::string16(); base 235 media/audio/win/audio_manager_win.cc return base::string16(); base 243 media/audio/win/audio_manager_win.cc return base::string16(); base 257 media/audio/win/audio_manager_win.cc base::FilePath path; base 258 media/audio/win/audio_manager_win.cc PathService::Get(base::DIR_SYSTEM, &path); base 262 media/audio/win/audio_manager_win.cc base::LaunchProcess(command_line, base::LaunchOptions(), NULL); base 26 media/audio/win/audio_manager_win.h virtual base::string16 GetAudioInputDeviceModel() OVERRIDE; base 33 media/audio/win/audio_output_win_unittest.cc using base::win::ScopedCOMInitializer; base 474 media/audio/win/audio_output_win_unittest.cc (base::win::GetVersion() <= base::win::VERSION_XP) ? n = 5 : n = 1; base 568 media/audio/win/audio_output_win_unittest.cc SyncSocketSource(base::SyncSocket* socket, const AudioParameters& params) base 573 media/audio/win/audio_output_win_unittest.cc base::AlignedAlloc(data_size_, AudioBus::kChannelAlignment))); base 598 media/audio/win/audio_output_win_unittest.cc base::SyncSocket* socket_; base 600 media/audio/win/audio_output_win_unittest.cc scoped_ptr<float, base::AlignedFreeDeleter> data_; base 605 media/audio/win/audio_output_win_unittest.cc base::SyncSocket* socket; base 623 media/audio/win/audio_output_win_unittest.cc scoped_ptr<float, base::AlignedFreeDeleter> data(static_cast<float*>( base 624 media/audio/win/audio_output_win_unittest.cc base::AlignedAlloc(ctx.packet_size_bytes, AudioBus::kChannelAlignment))); base 672 media/audio/win/audio_output_win_unittest.cc base::SyncSocket sockets[2]; base 673 media/audio/win/audio_output_win_unittest.cc ASSERT_TRUE(base::SyncSocket::CreatePair(&sockets[0], &sockets[1])); base 21 media/audio/win/core_audio_util_win.cc using base::win::ScopedCoMem; base 22 media/audio/win/core_audio_util_win.cc using base::win::ScopedHandle; base 149 media/audio/win/core_audio_util_win.cc base::WideToUTF8(device_id_com, wcslen(device_id_com), &device_id); base 164 media/audio/win/core_audio_util_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 188 media/audio/win/core_audio_util_win.cc base::TimeDelta CoreAudioUtil::RefererenceTimeToTimeDelta(REFERENCE_TIME time) { base 190 media/audio/win/core_audio_util_win.cc return base::TimeDelta::FromMicroseconds(0.1 * time + 0.5); base 292 media/audio/win/core_audio_util_win.cc base::UTF8ToUTF16(device_id).c_str(), endpoint_device.Receive()); base 314 media/audio/win/core_audio_util_win.cc base::win::ScopedPropVariant friendly_name; base 319 media/audio/win/core_audio_util_win.cc base::WideToUTF8(friendly_name.get().pwszVal, base 359 media/audio/win/core_audio_util_win.cc base::win::ScopedPropVariant instance_id; base 370 media/audio/win/core_audio_util_win.cc base::WideToUTF8(instance_id.get().pwszVal, base 25 media/audio/win/core_audio_util_win.h using base::win::ScopedComPtr; base 47 media/audio/win/core_audio_util_win.h static base::TimeDelta RefererenceTimeToTimeDelta(REFERENCE_TIME time); base 15 media/audio/win/core_audio_util_win_unittest.cc using base::win::ScopedCOMInitializer; base 384 media/audio/win/core_audio_util_win_unittest.cc base::win::ScopedHandle event_handle(::CreateEvent(NULL, TRUE, FALSE, NULL)); base 504 media/audio/win/core_audio_util_win_unittest.cc base::win::ScopedCoMem<WCHAR> wide_id; base 507 media/audio/win/core_audio_util_win_unittest.cc base::WideToUTF8(wide_id, wcslen(wide_id), &id); base 18 media/audio/win/device_enumeration_win.cc using base::win::ScopedComPtr; base 19 media/audio/win/device_enumeration_win.cc using base::win::ScopedCoMem; base 72 media/audio/win/device_enumeration_win.cc base::WideToUTF8(static_cast<WCHAR*>(endpoint_device_id)); base 79 media/audio/win/device_enumeration_win.cc base::win::ScopedPropVariant friendly_name; base 86 media/audio/win/device_enumeration_win.cc device.device_name = base::WideToUTF8(friendly_name.get().pwszVal); base 128 media/audio/win/device_enumeration_win.cc device.device_name = base::WideToUTF8(capabilities.szPname); base 185 media/audio/win/device_enumeration_win.cc std::string utf8_id = base::WideToUTF8(static_cast<WCHAR*>(id)); base 199 media/audio/win/device_enumeration_win.cc return base::WideToUTF8(capabilities.szPname); base 152 media/audio/win/wavein_input_win.cc base::AutoLock auto_lock(lock_); base 280 media/audio/win/wavein_input_win.cc base::AutoLock auto_lock(obj->lock_); base 83 media/audio/win/wavein_input_win.h base::ThreadChecker thread_checker_; base 121 media/audio/win/wavein_input_win.h base::win::ScopedHandle stopped_event_; base 124 media/audio/win/wavein_input_win.h base::Lock lock_; base 214 media/audio/win/waveout_output_win.cc base::subtle::MemoryBarrier(); base 249 media/audio/win/waveout_output_win.cc base::subtle::MemoryBarrier(); base 264 media/audio/win/waveout_output_win.cc base::AutoLock auto_lock(lock_); base 367 media/audio/win/waveout_output_win.cc base::AutoLock auto_lock(stream->lock_); base 121 media/audio/win/waveout_output_win.h base::win::ScopedHandle buffer_event_; base 131 media/audio/win/waveout_output_win.h base::Lock lock_; base 14 media/base/android/audio_decoder_job.cc class AudioDecoderThread : public base::Thread { base 16 media/base/android/audio_decoder_job.cc AudioDecoderThread() : base::Thread("MediaSource_AudioDecoderThread") { base 24 media/base/android/audio_decoder_job.cc base::LazyInstance<AudioDecoderThread>::Leaky base 34 media/base/android/audio_decoder_job.cc const base::Closure& request_data_cb) { base 47 media/base/android/audio_decoder_job.cc const base::Closure& request_data_cb) base 33 media/base/android/audio_decoder_job.h const base::Closure& request_data_cb); base 39 media/base/android/audio_decoder_job.h const base::Closure& request_data_cb); base 40 media/base/android/demuxer_android.h virtual void RequestDemuxerSeek(const base::TimeDelta& time_to_seek, base 65 media/base/android/demuxer_android.h base::TimeDelta actual_browser_seek_time) = 0; base 68 media/base/android/demuxer_android.h virtual void OnDemuxerDurationChanged(base::TimeDelta duration) = 0; base 45 media/base/android/demuxer_stream_player_params.h base::TimeDelta timestamp; base 28 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java import org.chromium.base.CalledByNative; base 29 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java import org.chromium.base.JNINamespace; base 17 media/base/android/java/src/org/chromium/media/AudioRecordInput.java import org.chromium.base.CalledByNative; base 18 media/base/android/java/src/org/chromium/media/AudioRecordInput.java import org.chromium.base.JNINamespace; base 20 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java import org.chromium.base.CalledByNative; base 21 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java import org.chromium.base.JNINamespace; base 20 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java import org.chromium.base.CalledByNative; base 21 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java import org.chromium.base.JNINamespace; base 17 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java import org.chromium.base.CalledByNative; base 18 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java import org.chromium.base.JNINamespace; base 11 media/base/android/java/src/org/chromium/media/MediaPlayerListener.java import org.chromium.base.CalledByNative; base 12 media/base/android/java/src/org/chromium/media/MediaPlayerListener.java import org.chromium.base.JNINamespace; base 17 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java import org.chromium.base.CalledByNative; base 18 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java import org.chromium.base.JNINamespace; base 17 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java import org.chromium.base.CalledByNative; base 18 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java import org.chromium.base.JNINamespace; base 17 media/base/android/java/src/org/chromium/media/VideoCapture.java import org.chromium.base.CalledByNative; base 18 media/base/android/java/src/org/chromium/media/VideoCapture.java import org.chromium.base.JNINamespace; base 11 media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java import org.chromium.base.CalledByNative; base 12 media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java import org.chromium.base.JNINamespace; base 15 media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java import org.chromium.base.CalledByNative; base 16 media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java import org.chromium.base.JNINamespace; base 24 media/base/android/media_codec_bridge.cc using base::android::AttachCurrentThread; base 25 media/base/android/media_codec_bridge.cc using base::android::ConvertJavaStringToUTF8; base 26 media/base/android/media_codec_bridge.cc using base::android::ConvertUTF8ToJavaString; base 27 media/base/android/media_codec_bridge.cc using base::android::ScopedJavaLocalRef; base 107 media/base/android/media_codec_bridge.cc return base::android::BuildInfo::GetInstance()->sdk_int() >= 16; base 113 media/base/android/media_codec_bridge.cc return base::android::BuildInfo::GetInstance()->sdk_int() >= 19; base 231 media/base/android/media_codec_bridge.cc const base::TimeDelta& presentation_time) { base 233 media/base/android/media_codec_bridge.cc if (data_size > base::checked_cast<size_t>(kint32max)) base 258 media/base/android/media_codec_bridge.cc const base::TimeDelta& presentation_time) { base 260 media/base/android/media_codec_bridge.cc if (data_size > base::checked_cast<size_t>(kint32max)) base 267 media/base/android/media_codec_bridge.cc base::android::ToJavaByteArray(env, key_id, key_id_size); base 269 media/base/android/media_codec_bridge.cc base::android::ToJavaByteArray(env, iv, iv_size); base 331 media/base/android/media_codec_bridge.cc const base::TimeDelta& timeout, base 345 media/base/android/media_codec_bridge.cc const base::TimeDelta& timeout, base 349 media/base/android/media_codec_bridge.cc base::TimeDelta* presentation_time, base 357 media/base/android/media_codec_bridge.cc *offset = base::checked_cast<size_t>( base 359 media/base/android/media_codec_bridge.cc *size = base::checked_cast<size_t>( base 362 media/base/android/media_codec_bridge.cc *presentation_time = base::TimeDelta::FromMicroseconds( base 416 media/base/android/media_codec_bridge.cc *capacity = base::checked_cast<size_t>( base 536 media/base/android/media_codec_bridge.cc base::android::ToJavaByteArray(env, current_pos, header_length[0]); base 541 media/base/android/media_codec_bridge.cc base::android::ToJavaByteArray( base 579 media/base/android/media_codec_bridge.cc base::android::ToJavaByteArray(env, csd, kCsdLength); base 598 media/base/android/media_codec_bridge.cc int numBytes = base::checked_cast<int>(size); base 605 media/base/android/media_codec_bridge.cc base::android::ToJavaByteArray(env, buffer, numBytes); base 108 media/base/android/media_codec_bridge.h const base::TimeDelta& presentation_time); base 124 media/base/android/media_codec_bridge.h const base::TimeDelta& presentation_time); base 135 media/base/android/media_codec_bridge.h MediaCodecStatus DequeueInputBuffer(const base::TimeDelta& timeout, base 147 media/base/android/media_codec_bridge.h MediaCodecStatus DequeueOutputBuffer(const base::TimeDelta& timeout, base 151 media/base/android/media_codec_bridge.h base::TimeDelta* presentation_time, base 205 media/base/android/media_codec_bridge.h base::android::ScopedJavaGlobalRef<jobject> j_media_codec_; base 107 media/base/android/media_codec_bridge_unittest.cc static inline const base::TimeDelta InfiniteTimeOut() { base 108 media/base/android/media_codec_bridge_unittest.cc return base::TimeDelta::FromMicroseconds(-1); base 113 media/base/android/media_codec_bridge_unittest.cc const base::TimeDelta input_presentation_timestamp, base 114 media/base/android/media_codec_bridge_unittest.cc const base::TimeDelta initial_timestamp_lower_bound) { base 115 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta input_pts = input_presentation_timestamp; base 116 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta timestamp = initial_timestamp_lower_bound; base 117 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta new_timestamp; base 144 media/base/android/media_codec_bridge_unittest.cc input_pts += base::TimeDelta::FromMicroseconds(33000); base 175 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta::FromMicroseconds(++input_pts)); base 180 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta::FromMicroseconds(++input_pts)); base 190 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta timestamp; base 263 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta(), base 264 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta()); base 275 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta::FromMicroseconds(10000000), base 276 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta::FromMicroseconds(9900000)); base 283 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta::FromMicroseconds(5000000), base 284 media/base/android/media_codec_bridge_unittest.cc base::TimeDelta::FromMicroseconds(4900000)); base 23 media/base/android/media_decoder_job.cc const scoped_refptr<base::SingleThreadTaskRunner>& decoder_task_runner, base 25 media/base/android/media_decoder_job.cc const base::Closure& request_data_cb) base 26 media/base/android/media_decoder_job.cc : ui_task_runner_(base::MessageLoopProxy::current()), base 74 media/base/android/media_decoder_job.cc base::Closure done_cb = base::ResetAndReturn(&on_data_received_cb_); base 84 media/base/android/media_decoder_job.cc void MediaDecoderJob::Prefetch(const base::Closure& prefetch_cb) { base 100 media/base/android/media_decoder_job.cc base::TimeTicks start_time_ticks, base 101 media/base/android/media_decoder_job.cc base::TimeDelta start_presentation_timestamp, base 110 media/base/android/media_decoder_job.cc RequestData(base::Bind(&MediaDecoderJob::DecodeCurrentAccessUnit, base 111 media/base/android/media_decoder_job.cc base::Unretained(this), base 142 media/base/android/media_decoder_job.cc void MediaDecoderJob::BeginPrerolling(base::TimeDelta preroll_timestamp) { base 181 media/base/android/media_decoder_job.cc base::TimeDelta timeout = base::TimeDelta::FromMilliseconds( base 231 media/base/android/media_decoder_job.cc void MediaDecoderJob::RequestData(const base::Closure& done_cb) { base 258 media/base/android/media_decoder_job.cc base::TimeTicks start_time_ticks, base 259 media/base/android/media_decoder_job.cc base::TimeDelta start_presentation_timestamp) { base 269 media/base/android/media_decoder_job.cc base::Bind(&MediaDecoderJob::OnDecodeCompleted, base 270 media/base/android/media_decoder_job.cc base::Unretained(this), base 277 media/base/android/media_decoder_job.cc decoder_task_runner_->PostTask(FROM_HERE, base::Bind( base 278 media/base/android/media_decoder_job.cc &MediaDecoderJob::DecodeInternal, base::Unretained(this), base 281 media/base/android/media_decoder_job.cc media::BindToCurrentLoop(base::Bind( base 282 media/base/android/media_decoder_job.cc &MediaDecoderJob::OnDecodeCompleted, base::Unretained(this))))); base 288 media/base/android/media_decoder_job.cc base::TimeTicks start_time_ticks, base 289 media/base/android/media_decoder_job.cc base::TimeDelta start_presentation_timestamp, base 344 media/base/android/media_decoder_job.cc base::TimeDelta presentation_timestamp; base 346 media/base/android/media_decoder_job.cc base::TimeDelta timeout = base::TimeDelta::FromMilliseconds( base 375 media/base/android/media_decoder_job.cc base::TimeDelta time_to_render; base 378 media/base/android/media_decoder_job.cc time_to_render = presentation_timestamp - (base::TimeTicks::Now() - base 382 media/base/android/media_decoder_job.cc if (time_to_render > base::TimeDelta()) { base 385 media/base/android/media_decoder_job.cc base::Bind(&MediaDecoderJob::ReleaseOutputBuffer, base 390 media/base/android/media_decoder_job.cc base::Bind(callback, status, presentation_timestamp)), base 408 media/base/android/media_decoder_job.cc ReleaseOutputCompletionCallback completion_callback = base::Bind( base 414 media/base/android/media_decoder_job.cc MediaCodecStatus status, base::TimeDelta presentation_timestamp, base 450 media/base/android/media_decoder_job.cc base::ResetAndReturn(&decode_cb_).Run(status, presentation_timestamp, base 493 media/base/android/media_decoder_job.cc RequestData(base::Closure()); base 14 media/base/android/media_decoder_job.h namespace base { base 36 media/base/android/media_decoder_job.h typedef base::Callback<void(MediaCodecStatus, base::TimeDelta, base 40 media/base/android/media_decoder_job.h typedef base::Callback<void(size_t)> ReleaseOutputCompletionCallback; base 49 media/base/android/media_decoder_job.h void Prefetch(const base::Closure& prefetch_cb); base 58 media/base/android/media_decoder_job.h bool Decode(base::TimeTicks start_time_ticks, base 59 media/base/android/media_decoder_job.h base::TimeDelta start_presentation_timestamp, base 76 media/base/android/media_decoder_job.h void BeginPrerolling(base::TimeDelta preroll_timestamp); base 88 media/base/android/media_decoder_job.h const scoped_refptr<base::SingleThreadTaskRunner>& decoder_task_runner, base 90 media/base/android/media_decoder_job.h const base::Closure& request_data_cb); base 117 media/base/android/media_decoder_job.h void RequestData(const base::Closure& done_cb); base 121 media/base/android/media_decoder_job.h base::TimeTicks start_time_ticks, base 122 media/base/android/media_decoder_job.h base::TimeDelta start_presentation_timestamp); base 131 media/base/android/media_decoder_job.h base::TimeTicks start_time_ticks, base 132 media/base/android/media_decoder_job.h base::TimeDelta start_presentation_timestamp, base 140 media/base/android/media_decoder_job.h base::TimeDelta presentation_timestamp, base 168 media/base/android/media_decoder_job.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 171 media/base/android/media_decoder_job.h scoped_refptr<base::SingleThreadTaskRunner> decoder_task_runner_; base 197 media/base/android/media_decoder_job.h base::TimeDelta preroll_timestamp_; base 207 media/base/android/media_decoder_job.h base::Closure request_data_cb_; base 210 media/base/android/media_decoder_job.h base::Closure on_data_received_cb_; base 249 media/base/android/media_decoder_job.h base::WeakPtrFactory<MediaDecoderJob> weak_factory_; base 20 media/base/android/media_drm_bridge.cc using base::android::AttachCurrentThread; base 21 media/base/android/media_drm_bridge.cc using base::android::ConvertUTF8ToJavaString; base 22 media/base/android/media_drm_bridge.cc using base::android::ConvertJavaStringToUTF8; base 23 media/base/android/media_drm_bridge.cc using base::android::JavaByteArrayToByteVector; base 24 media/base/android/media_drm_bridge.cc using base::android::ScopedJavaLocalRef; base 185 media/base/android/media_drm_bridge.cc return base::android::BuildInfo::GetInstance()->sdk_int() >= 19; base 223 media/base/android/media_drm_bridge.cc base::android::ToJavaByteArray(env, &scheme_uuid[0], scheme_uuid.size()); base 246 media/base/android/media_drm_bridge.cc base::android::ToJavaByteArray(env, &scheme_uuid[0], scheme_uuid.size()); base 301 media/base/android/media_drm_bridge.cc base::android::ToJavaByteArray(env, &pssh_data[0], pssh_data.size()); base 321 media/base/android/media_drm_bridge.cc base::android::ToJavaByteArray(env, response, response_length); base 332 media/base/android/media_drm_bridge.cc void MediaDrmBridge::SetMediaCryptoReadyCB(const base::Closure& closure) { base 341 media/base/android/media_drm_bridge.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, closure); base 351 media/base/android/media_drm_bridge.cc base::ResetAndReturn(&media_crypto_ready_cb_).Run(); base 431 media/base/android/media_drm_bridge.cc base::ResetAndReturn(&reset_credentials_cb_).Run(success); base 35 media/base/android/media_drm_bridge.h typedef base::Callback<void(bool)> ResetCredentialsCB; base 88 media/base/android/media_drm_bridge.h base::android::ScopedJavaLocalRef<jobject> GetMediaCrypto(); base 92 media/base/android/media_drm_bridge.h void SetMediaCryptoReadyCB(const base::Closure& closure); base 144 media/base/android/media_drm_bridge.h base::android::ScopedJavaGlobalRef<jobject> j_media_drm_; base 149 media/base/android/media_drm_bridge.h base::Closure media_crypto_ready_cb_; base 25 media/base/android/media_jni_registrar.cc static base::android::RegistrationMethod kMediaRegisteredMethods[] = { base 51 media/base/android/media_jni_registrar.cc return base::android::RegisterNativeMethods( base 38 media/base/android/media_player_android.h typedef base::Callback<void(int player_id)> RequestMediaResourcesCB; base 41 media/base/android/media_player_android.h typedef base::Callback<void(int player_id)> ReleaseMediaResourcesCB; base 55 media/base/android/media_player_android.h virtual void SeekTo(base::TimeDelta timestamp) = 0; base 66 media/base/android/media_player_android.h virtual base::TimeDelta GetDuration() = 0; base 67 media/base/android/media_player_android.h virtual base::TimeDelta GetCurrentTime() = 0; base 17 media/base/android/media_player_bridge.cc using base::android::ConvertUTF8ToJavaString; base 18 media/base/android/media_player_bridge.cc using base::android::ScopedJavaLocalRef; base 54 media/base/android/media_player_bridge.cc listener_.reset(new MediaPlayerListener(base::MessageLoopProxy::current(), base 60 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 79 media/base/android/media_player_bridge.cc base::Bind(&MediaPlayerBridge::ExtractMediaMetadata, base 86 media/base/android/media_player_bridge.cc base::Bind(&MediaPlayerBridge::OnCookiesRetrieved, base 91 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 102 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 108 media/base/android/media_player_bridge.cc base::android::ScopedJavaLocalRef<jobject> MediaPlayerBridge:: base 110 media/base/android/media_player_bridge.cc base::android::ScopedJavaLocalRef<jobject> j_bridge( base 116 media/base/android/media_player_bridge.cc jobject j_context = base::android::GetApplicationContext(); base 122 media/base/android/media_player_bridge.cc void MediaPlayerBridge::SetDuration(base::TimeDelta duration) { base 133 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 146 media/base/android/media_player_bridge.cc base::Bind(&MediaPlayerBridge::SetDataSource, base 158 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 168 media/base/android/media_player_bridge.cc jobject j_context = base::android::GetApplicationContext(); base 214 media/base/android/media_player_bridge.cc base::Bind(&MediaPlayerBridge::OnMediaMetadataExtracted, base 219 media/base/android/media_player_bridge.cc base::TimeDelta duration, int width, int height, bool success) { base 256 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 266 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 274 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 279 media/base/android/media_player_bridge.cc void MediaPlayerBridge::SeekTo(base::TimeDelta timestamp) { base 289 media/base/android/media_player_bridge.cc base::TimeDelta MediaPlayerBridge::GetCurrentTime() { base 292 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 293 media/base/android/media_player_bridge.cc return base::TimeDelta::FromMilliseconds( base 298 media/base/android/media_player_bridge.cc base::TimeDelta MediaPlayerBridge::GetDuration() { base 301 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 302 media/base/android/media_player_bridge.cc return base::TimeDelta::FromMilliseconds( base 318 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 329 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 385 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 393 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 406 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 411 media/base/android/media_player_bridge.cc base::TimeDelta::FromMilliseconds(kTimeUpdateInterval), base 417 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 422 media/base/android/media_player_bridge.cc void MediaPlayerBridge::PendingSeekInternal(const base::TimeDelta& time) { base 426 media/base/android/media_player_bridge.cc void MediaPlayerBridge::SeekInternal(base::TimeDelta time) { base 432 media/base/android/media_player_bridge.cc if (time < base::TimeDelta()) { base 437 media/base/android/media_player_bridge.cc JNIEnv* env = base::android::AttachCurrentThread(); base 62 media/base/android/media_player_bridge.h virtual void SeekTo(base::TimeDelta timestamp) OVERRIDE; base 67 media/base/android/media_player_bridge.h virtual base::TimeDelta GetCurrentTime() OVERRIDE; base 68 media/base/android/media_player_bridge.h virtual base::TimeDelta GetDuration() OVERRIDE; base 89 media/base/android/media_player_bridge.h base::android::ScopedJavaLocalRef<jobject> GetJavaMediaPlayerBridge(); base 91 media/base/android/media_player_bridge.h void SetDuration(base::TimeDelta time); base 93 media/base/android/media_player_bridge.h virtual void PendingSeekInternal(const base::TimeDelta& time); base 105 media/base/android/media_player_bridge.h virtual base::android::ScopedJavaLocalRef<jobject> GetAllowedOperations(); base 116 media/base/android/media_player_bridge.h void SeekInternal(base::TimeDelta time); base 131 media/base/android/media_player_bridge.h void OnMediaMetadataExtracted(base::TimeDelta duration, int width, int height, base 141 media/base/android/media_player_bridge.h base::TimeDelta pending_seek_; base 156 media/base/android/media_player_bridge.h base::TimeDelta duration_; base 169 media/base/android/media_player_bridge.h base::android::ScopedJavaGlobalRef<jobject> j_media_player_bridge_; base 171 media/base/android/media_player_bridge.h base::RepeatingTimer<MediaPlayerBridge> time_update_timer_; base 181 media/base/android/media_player_bridge.h base::WeakPtrFactory<MediaPlayerBridge> weak_factory_; base 17 media/base/android/media_player_listener.cc using base::android::AttachCurrentThread; base 18 media/base/android/media_player_listener.cc using base::android::CheckException; base 19 media/base/android/media_player_listener.cc using base::android::ScopedJavaLocalRef; base 24 media/base/android/media_player_listener.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 25 media/base/android/media_player_listener.cc base::WeakPtr<MediaPlayerBridge> media_player) base 56 media/base/android/media_player_listener.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 62 media/base/android/media_player_listener.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 69 media/base/android/media_player_listener.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 75 media/base/android/media_player_listener.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 81 media/base/android/media_player_listener.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 87 media/base/android/media_player_listener.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 93 media/base/android/media_player_listener.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 14 media/base/android/media_player_listener.h namespace base { base 30 media/base/android/media_player_listener.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 31 media/base/android/media_player_listener.h base::WeakPtr<MediaPlayerBridge> media_player); base 54 media/base/android/media_player_listener.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 57 media/base/android/media_player_listener.h base::WeakPtr<MediaPlayerBridge> media_player_; base 59 media/base/android/media_player_listener.h base::android::ScopedJavaGlobalRef<jobject> j_media_player_listener_; base 33 media/base/android/media_player_manager.h virtual void OnTimeUpdate(int player_id, base::TimeDelta current_time) = 0; base 39 media/base/android/media_player_manager.h base::TimeDelta duration, base 57 media/base/android/media_player_manager.h const base::TimeDelta& current_time) = 0; base 22 media/base/android/media_resource_getter.h typedef base::Callback<void(const std::string&)> GetCookieCB; base 23 media/base/android/media_resource_getter.h typedef base::Callback<void(const std::string&)> GetPlatformPathCB; base 24 media/base/android/media_resource_getter.h typedef base::Callback<void(base::TimeDelta, int, int, bool)> base 70 media/base/android/media_source_player.cc clock_.SetMaxTime(base::TimeDelta()); base 113 media/base/android/media_source_player.cc base::TimeDelta seek_time) { base 146 media/base/android/media_source_player.cc base::TimeDelta::FromMilliseconds(std::numeric_limits<int32>::max()); base 169 media/base/android/media_source_player.cc start_time_ticks_ = base::TimeTicks(); base 184 media/base/android/media_source_player.cc void MediaSourcePlayer::SeekTo(base::TimeDelta timestamp) { base 203 media/base/android/media_source_player.cc base::TimeDelta MediaSourcePlayer::GetCurrentTime() { base 207 media/base/android/media_source_player.cc base::TimeDelta MediaSourcePlayer::GetDuration() { base 310 media/base/android/media_source_player.cc duration_ = base::TimeDelta::FromMilliseconds(configs.duration_ms); base 375 media/base/android/media_source_player.cc void MediaSourcePlayer::OnDemuxerDurationChanged(base::TimeDelta duration) { base 380 media/base/android/media_source_player.cc base::android::ScopedJavaLocalRef<jobject> MediaSourcePlayer::GetMediaCrypto() { base 381 media/base/android/media_source_player.cc base::android::ScopedJavaLocalRef<jobject> media_crypto; base 389 media/base/android/media_source_player.cc drm_bridge_->SetMediaCryptoReadyCB(base::Closure()); base 400 media/base/android/media_source_player.cc if (GetCurrentTime() > base::TimeDelta()) { base 408 media/base/android/media_source_player.cc drm_bridge_->SetMediaCryptoReadyCB(base::Bind( base 418 media/base/android/media_source_player.cc base::TimeDelta actual_browser_seek_time) { base 440 media/base/android/media_source_player.cc base::TimeDelta seek_time = actual_browser_seek_time; base 456 media/base/android/media_source_player.cc base::TimeDelta current_time = GetCurrentTime(); base 474 media/base/android/media_source_player.cc base::TimeDelta presentation_timestamp, size_t audio_output_bytes) { base 475 media/base/android/media_source_player.cc base::TimeDelta new_max_time = presentation_timestamp; base 517 media/base/android/media_source_player.cc start_time_ticks_ = base::TimeTicks(); base 560 media/base/android/media_source_player.cc base::Closure barrier = base 562 media/base/android/media_source_player.cc base::Bind(&MediaSourcePlayer::OnPrefetchDone, base 584 media/base/android/media_source_player.cc base::TimeDelta presentation_timestamp, size_t audio_output_bytes) { base 593 media/base/android/media_source_player.cc base::IntToString(status)); base 599 media/base/android/media_source_player.cc base::IntToString(status)); base 604 media/base/android/media_source_player.cc base::ResetAndReturn(&decode_callback_for_testing_).Run(); base 668 media/base/android/media_source_player.cc start_time_ticks_ = base::TimeTicks::Now(); base 687 media/base/android/media_source_player.cc base::Bind(&MediaSourcePlayer::MediaDecoderCallback, base 719 media/base/android/media_source_player.cc base::Bind(&MediaSourcePlayer::MediaDecoderCallback, base 758 media/base/android/media_source_player.cc start_time_ticks_ = base::TimeTicks(); base 769 media/base/android/media_source_player.cc start_time_ticks_ = base::TimeTicks(); base 798 media/base/android/media_source_player.cc base::android::ScopedJavaLocalRef<jobject> media_crypto = GetMediaCrypto(); base 809 media/base/android/media_source_player.cc base::Bind(&DemuxerAndroid::RequestDemuxerData, base 810 media/base/android/media_source_player.cc base::Unretained(demuxer_.get()), DemuxerStream::AUDIO))); base 875 media/base/android/media_source_player.cc base::android::ScopedJavaLocalRef<jobject> media_crypto = GetMediaCrypto(); base 890 media/base/android/media_source_player.cc base::Bind(&DemuxerAndroid::RequestDemuxerData, base 891 media/base/android/media_source_player.cc base::Unretained(demuxer_.get()), base 893 media/base/android/media_source_player.cc base::Bind(request_media_resources_cb_, player_id()), base 894 media/base/android/media_source_player.cc base::Bind(release_media_resources_cb_, player_id()))); base 915 media/base/android/media_source_player.cc base::TimeDelta presentation_timestamp) { base 919 media/base/android/media_source_player.cc const base::TimeDelta kMinStarvationTimeout = base 920 media/base/android/media_source_player.cc base::TimeDelta::FromMilliseconds(20); base 922 media/base/android/media_source_player.cc base::TimeDelta current_timestamp = GetCurrentTime(); base 923 media/base/android/media_source_player.cc base::TimeDelta timeout; base 939 media/base/android/media_source_player.cc decoder_starvation_callback_.Reset(base::Bind( base 941 media/base/android/media_source_player.cc base::MessageLoop::current()->PostDelayedTask( base 978 media/base/android/media_source_player.cc start_time_ticks_ = base::TimeTicks::Now(); base 53 media/base/android/media_source_player.h virtual void SeekTo(base::TimeDelta timestamp) OVERRIDE; base 58 media/base/android/media_source_player.h virtual base::TimeDelta GetCurrentTime() OVERRIDE; base 59 media/base/android/media_source_player.h virtual base::TimeDelta GetDuration() OVERRIDE; base 73 media/base/android/media_source_player.h base::TimeDelta actual_browser_seek_time) OVERRIDE; base 74 media/base/android/media_source_player.h virtual void OnDemuxerDurationChanged(base::TimeDelta duration) OVERRIDE; base 80 media/base/android/media_source_player.h void UpdateTimestamps(base::TimeDelta presentation_timestamp, base 92 media/base/android/media_source_player.h base::TimeDelta presentation_timestamp, base 96 media/base/android/media_source_player.h base::android::ScopedJavaLocalRef<jobject> GetMediaCrypto(); base 139 media/base/android/media_source_player.h void StartStarvationCallback(base::TimeDelta presentation_timestamp); base 145 media/base/android/media_source_player.h void ScheduleSeekEventAndStopDecoding(base::TimeDelta seek_time); base 172 media/base/android/media_source_player.h void set_decode_callback_for_testing(const base::Closure& test_decode_cb) { base 199 media/base/android/media_source_player.h base::TimeDelta duration_; base 216 media/base/android/media_source_player.h base::DefaultTickClock default_tick_clock_; base 227 media/base/android/media_source_player.h base::TimeTicks start_time_ticks_; base 228 media/base/android/media_source_player.h base::TimeDelta start_presentation_timestamp_; base 251 media/base/android/media_source_player.h base::TimeDelta pending_seek_time_; base 262 media/base/android/media_source_player.h base::TimeDelta preroll_timestamp_; base 267 media/base/android/media_source_player.h base::CancelableClosure decoder_starvation_callback_; base 280 media/base/android/media_source_player.h base::Closure decode_callback_for_testing_; base 291 media/base/android/media_source_player.h base::WeakPtrFactory<MediaSourcePlayer> weak_factory_; base 40 media/base/android/media_source_player_unittest.cc explicit MockMediaPlayerManager(base::MessageLoop* message_loop) base 52 media/base/android/media_source_player_unittest.cc base::TimeDelta current_time) OVERRIDE {} base 54 media/base/android/media_source_player_unittest.cc int player_id, base::TimeDelta duration, int width, int height, base 64 media/base/android/media_source_player_unittest.cc const base::TimeDelta& current_time) OVERRIDE {} base 108 media/base/android/media_source_player_unittest.cc base::MessageLoop* message_loop_; base 120 media/base/android/media_source_player_unittest.cc explicit MockDemuxerAndroid(base::MessageLoop* message_loop) base 137 media/base/android/media_source_player_unittest.cc virtual void RequestDemuxerSeek(const base::TimeDelta& time_to_seek, base 150 media/base/android/media_source_player_unittest.cc base::MessageLoop* message_loop_; base 173 media/base/android/media_source_player_unittest.cc base::Bind(&MockMediaPlayerManager::OnMediaResourcesRequested, base 174 media/base/android/media_source_player_unittest.cc base::Unretained(&manager_)), base 175 media/base/android/media_source_player_unittest.cc base::Bind(&MockMediaPlayerManager::OnMediaResourcesReleased, base 176 media/base/android/media_source_player_unittest.cc base::Unretained(&manager_)), base 200 media/base/android/media_source_player_unittest.cc base::TimeDelta GetPrerollTimestamp() { base 225 media/base/android/media_source_player_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 227 media/base/android/media_source_player_unittest.cc base::Bind( base 229 media/base/android/media_source_player_unittest.cc base::Unretained(this)))); base 347 media/base/android/media_source_player_unittest.cc is_audio ? base::StringPrintf("vorbis-packet-%d", audio_packet_id) base 402 media/base/android/media_source_player_unittest.cc const base::TimeDelta& seek_time) { base 424 media/base/android/media_source_player_unittest.cc void SeekPlayerWithAbort(bool is_audio, const base::TimeDelta& seek_time) { base 458 media/base/android/media_source_player_unittest.cc const base::TimeDelta& start_timestamp, base 459 media/base/android/media_source_player_unittest.cc const base::TimeDelta& target_timestamp) { base 474 media/base/android/media_source_player_unittest.cc base::TimeDelta::FromMilliseconds(current_timestamp); base 672 media/base/android/media_source_player_unittest.cc player_.SeekTo(base::TimeDelta()); base 721 media/base/android/media_source_player_unittest.cc player_.SeekTo(base::TimeDelta()); base 730 media/base/android/media_source_player_unittest.cc base::TimeTicks StartTimeTicks() { base 734 media/base/android/media_source_player_unittest.cc base::MessageLoop message_loop_; base 831 media/base/android/media_source_player_unittest.cc SeekPlayerWithAbort(true, base::TimeDelta()); base 845 media/base/android/media_source_player_unittest.cc player_.SeekTo(base::TimeDelta()); base 952 media/base/android/media_source_player_unittest.cc player_.OnDemuxerSeekDone(base::TimeDelta()); base 973 media/base/android/media_source_player_unittest.cc player_.SeekTo(base::TimeDelta()); base 1000 media/base/android/media_source_player_unittest.cc player_.SeekTo(base::TimeDelta()); base 1093 media/base/android/media_source_player_unittest.cc base::TimeTicks previous = StartTimeTicks(); base 1102 media/base/android/media_source_player_unittest.cc EXPECT_TRUE(StartTimeTicks() == base::TimeTicks()); base 1107 media/base/android/media_source_player_unittest.cc EXPECT_TRUE(StartTimeTicks() != base::TimeTicks()); base 1109 media/base/android/media_source_player_unittest.cc base::TimeTicks current = StartTimeTicks(); base 1148 media/base/android/media_source_player_unittest.cc SeekPlayerWithAbort(false, base::TimeDelta()); base 1159 media/base/android/media_source_player_unittest.cc SeekPlayerWithAbort(true, base::TimeDelta()); base 1380 media/base/android/media_source_player_unittest.cc player_.SeekTo(base::TimeDelta()); base 1388 media/base/android/media_source_player_unittest.cc player_.OnDemuxerSeekDone(base::TimeDelta()); base 1434 media/base/android/media_source_player_unittest.cc player_.OnDemuxerSeekDone(base::TimeDelta()); base 1446 media/base/android/media_source_player_unittest.cc SeekPlayerWithAbort(true, base::TimeDelta::FromMilliseconds(100)); base 1449 media/base/android/media_source_player_unittest.cc true, base::TimeDelta(), base::TimeDelta::FromMilliseconds(100)); base 1459 media/base/android/media_source_player_unittest.cc SeekPlayerWithAbort(false, base::TimeDelta::FromMilliseconds(100)); base 1462 media/base/android/media_source_player_unittest.cc false, base::TimeDelta(), base::TimeDelta::FromMilliseconds(100)); base 1483 media/base/android/media_source_player_unittest.cc SeekPlayerWithAbort(true, base::TimeDelta::FromMilliseconds(500)); base 1492 media/base/android/media_source_player_unittest.cc data.access_units[0].timestamp = base::TimeDelta::FromMilliseconds( base 1514 media/base/android/media_source_player_unittest.cc base::TimeDelta target_timestamp = base::TimeDelta::FromMilliseconds(100); base 1527 media/base/android/media_source_player_unittest.cc data.access_units[0].timestamp = base::TimeDelta::FromMilliseconds(i * 10); base 1564 media/base/android/media_source_player_unittest.cc SeekPlayerWithAbort(true, base::TimeDelta::FromMilliseconds(100)); base 1580 media/base/android/media_source_player_unittest.cc true, base::TimeDelta(), base::TimeDelta::FromMilliseconds(100)); base 1670 media/base/android/media_source_player_unittest.cc player_.OnDemuxerSeekDone(base::TimeDelta::FromMilliseconds(100)); base 1677 media/base/android/media_source_player_unittest.cc false, base::TimeDelta(), base::TimeDelta::FromMilliseconds(100)); base 1720 media/base/android/media_source_player_unittest.cc player_.SeekTo(base::TimeDelta::FromMilliseconds(100)); base 1790 media/base/android/media_source_player_unittest.cc player_.OnDemuxerSeekDone(base::TimeDelta()); base 1845 media/base/android/media_source_player_unittest.cc base::TimeDelta::FromMilliseconds(100)); base 1873 media/base/android/media_source_player_unittest.cc base::TimeDelta::FromMilliseconds(100)); base 1899 media/base/android/media_source_player_unittest.cc base::TimeDelta::FromMilliseconds(100)); base 1927 media/base/android/media_source_player_unittest.cc base::TimeDelta::FromMilliseconds(100)); base 2000 media/base/android/media_source_player_unittest.cc base::TimeDelta expected_preroll_timestamp = player_.GetCurrentTime(); base 2029 media/base/android/media_source_player_unittest.cc base::TimeDelta expected_preroll_timestamp = player_.GetCurrentTime(); base 14 media/base/android/video_decoder_job.cc class VideoDecoderThread : public base::Thread { base 16 media/base/android/video_decoder_job.cc VideoDecoderThread() : base::Thread("MediaSource_VideoDecoderThread") { base 24 media/base/android/video_decoder_job.cc base::LazyInstance<VideoDecoderThread>::Leaky base 33 media/base/android/video_decoder_job.cc const base::Closure& request_data_cb, base 34 media/base/android/video_decoder_job.cc const base::Closure& request_resources_cb, base 35 media/base/android/video_decoder_job.cc const base::Closure& release_resources_cb) { base 48 media/base/android/video_decoder_job.cc const base::Closure& request_data_cb, base 49 media/base/android/video_decoder_job.cc const base::Closure& request_resources_cb, base 50 media/base/android/video_decoder_job.cc const base::Closure& release_resources_cb) base 36 media/base/android/video_decoder_job.h const base::Closure& request_data_cb, base 37 media/base/android/video_decoder_job.h const base::Closure& request_resources_cb, base 38 media/base/android/video_decoder_job.h const base::Closure& release_resources_cb); base 42 media/base/android/video_decoder_job.h const base::Closure& request_data_cb, base 43 media/base/android/video_decoder_job.h const base::Closure& request_resources_cb, base 44 media/base/android/video_decoder_job.h const base::Closure& release_resources_cb); base 57 media/base/android/video_decoder_job.h base::Closure release_resources_cb_; base 25 media/base/android/webaudio_media_codec_bridge.cc using base::android::AttachCurrentThread; base 30 media/base/android/webaudio_media_codec_bridge.cc base::SharedMemoryHandle encoded_audio_handle, base 31 media/base/android/webaudio_media_codec_bridge.cc base::FileDescriptor pcm_output, base 39 media/base/android/webaudio_media_codec_bridge.cc base::SharedMemoryHandle encoded_audio_handle, base 40 media/base/android/webaudio_media_codec_bridge.cc base::FileDescriptor pcm_output, base 61 media/base/android/webaudio_media_codec_bridge.cc base::android::ConvertJavaStringToUTF8( base 79 media/base/android/webaudio_media_codec_bridge.cc base::SharedMemory encoded_data(encoded_audio_handle_, true); base 101 media/base/android/webaudio_media_codec_bridge.cc jobject context = base::android::GetApplicationContext(); base 25 media/base/android/webaudio_media_codec_bridge.h WebAudioMediaCodecBridge(base::SharedMemoryHandle encoded_audio_handle, base 26 media/base/android/webaudio_media_codec_bridge.h base::FileDescriptor pcm_output, base 37 media/base/android/webaudio_media_codec_bridge.h base::SharedMemoryHandle encoded_audio_handle, base 38 media/base/android/webaudio_media_codec_bridge.h base::FileDescriptor pcm_output, base 67 media/base/android/webaudio_media_codec_bridge.h base::SharedMemoryHandle encoded_audio_handle_; base 21 media/base/audio_buffer.cc const base::TimeDelta timestamp, base 22 media/base/audio_buffer.cc const base::TimeDelta duration) base 55 media/base/audio_buffer.cc data_.reset(static_cast<uint8*>(base::AlignedAlloc( base 77 media/base/audio_buffer.cc static_cast<uint8*>(base::AlignedAlloc(data_size, kChannelAlignment))); base 94 media/base/audio_buffer.cc const base::TimeDelta timestamp, base 95 media/base/audio_buffer.cc const base::TimeDelta duration) { base 135 media/base/audio_buffer.cc const base::TimeDelta timestamp, base 136 media/base/audio_buffer.cc const base::TimeDelta duration) { base 252 media/base/audio_buffer.cc base::TimeDelta offset_as_time = base 253 media/base/audio_buffer.cc base::TimeDelta::FromMicroseconds(static_cast<int64>(offset)); base 270 media/base/audio_buffer.cc base::TimeDelta offset_as_time = base 271 media/base/audio_buffer.cc base::TimeDelta::FromMicroseconds(static_cast<int64>(offset)); base 25 media/base/audio_buffer.h : public base::RefCountedThreadSafe<AudioBuffer> { base 45 media/base/audio_buffer.h const base::TimeDelta timestamp, base 46 media/base/audio_buffer.h const base::TimeDelta duration); base 62 media/base/audio_buffer.h const base::TimeDelta timestamp, base 63 media/base/audio_buffer.h const base::TimeDelta duration); base 103 media/base/audio_buffer.h base::TimeDelta timestamp() const { return timestamp_; } base 104 media/base/audio_buffer.h base::TimeDelta duration() const { return duration_; } base 109 media/base/audio_buffer.h void set_timestamp(base::TimeDelta timestamp) { timestamp_ = timestamp; } base 110 media/base/audio_buffer.h void set_duration(base::TimeDelta duration) { duration_ = duration; } base 120 media/base/audio_buffer.h friend class base::RefCountedThreadSafe<AudioBuffer>; base 134 media/base/audio_buffer.h const base::TimeDelta timestamp, base 135 media/base/audio_buffer.h const base::TimeDelta duration); base 146 media/base/audio_buffer.h base::TimeDelta timestamp_; base 147 media/base/audio_buffer.h base::TimeDelta duration_; base 150 media/base/audio_buffer.h scoped_ptr<uint8, base::AlignedFreeDeleter> data_; base 93 media/base/audio_buffer_converter.cc base::TimeDelta buffer_delay) { base 48 media/base/audio_buffer_converter.h base::TimeDelta buffer_delay) OVERRIDE; base 32 media/base/audio_buffer_converter_unittest.cc base::TimeDelta::FromSeconds(0), base 33 media/base/audio_buffer_converter_unittest.cc base::TimeDelta::FromSeconds(0)); base 158 media/base/audio_buffer_queue.cc (*buffer)->timestamp() + base::TimeDelta::FromMicroseconds( base 65 media/base/audio_buffer_queue.h base::TimeDelta current_time() const { return current_time_; } base 97 media/base/audio_buffer_queue.h base::TimeDelta current_time_; base 26 media/base/audio_buffer_queue_unittest.cc SCOPED_TRACE(base::StringPrintf( base 39 media/base/audio_buffer_queue_unittest.cc const base::TimeDelta kNoTime = kNoTimestamp(); base 381 media/base/audio_buffer_queue_unittest.cc const base::TimeDelta start_time1; base 382 media/base/audio_buffer_queue_unittest.cc const base::TimeDelta start_time2 = base::TimeDelta::FromSeconds(30); base 383 media/base/audio_buffer_queue_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(10); base 406 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(start_time1 + base::TimeDelta::FromSeconds(2), base 411 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(start_time1 + base::TimeDelta::FromSeconds(4), base 428 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(start_time1 + base::TimeDelta::FromSeconds(9), base 437 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(start_time2 + base::TimeDelta::FromSeconds(10), base 442 media/base/audio_buffer_queue_unittest.cc EXPECT_EQ(start_time2 + base::TimeDelta::FromSeconds(10), base 449 media/base/audio_buffer_queue_unittest.cc const base::TimeDelta kNoTime = kNoTimestamp(); base 21 media/base/audio_buffer_unittest.cc SCOPED_TRACE(base::StringPrintf( base 31 media/base/audio_buffer_unittest.cc const base::TimeDelta start_time; base 32 media/base/audio_buffer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(frames); base 58 media/base/audio_buffer_unittest.cc const base::TimeDelta kTimestampA = base::TimeDelta::FromMicroseconds(1337); base 59 media/base/audio_buffer_unittest.cc const base::TimeDelta kTimestampB = base::TimeDelta::FromMicroseconds(1234); base 88 media/base/audio_buffer_unittest.cc const base::TimeDelta start_time; base 89 media/base/audio_buffer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(frames); base 116 media/base/audio_buffer_unittest.cc const base::TimeDelta start_time; base 117 media/base/audio_buffer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(frames); base 149 media/base/audio_buffer_unittest.cc const base::TimeDelta start_time; base 150 media/base/audio_buffer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(frames); base 180 media/base/audio_buffer_unittest.cc const base::TimeDelta start_time; base 181 media/base/audio_buffer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(frames); base 210 media/base/audio_buffer_unittest.cc const base::TimeDelta start_time; base 211 media/base/audio_buffer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(frames); base 252 media/base/audio_buffer_unittest.cc const base::TimeDelta start_time; base 253 media/base/audio_buffer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(frames); base 288 media/base/audio_buffer_unittest.cc const base::TimeDelta start_time; base 289 media/base/audio_buffer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(frames); base 310 media/base/audio_buffer_unittest.cc const base::TimeDelta start_time; base 311 media/base/audio_buffer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(frames); base 333 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->timestamp(), start_time + base::TimeDelta::FromSeconds(10)); base 334 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->duration(), base::TimeDelta::FromSeconds(90)); base 341 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->timestamp(), start_time + base::TimeDelta::FromSeconds(10)); base 342 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->duration(), base::TimeDelta::FromSeconds(80)); base 349 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->timestamp(), start_time + base::TimeDelta::FromSeconds(60)); base 350 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->duration(), base::TimeDelta::FromSeconds(30)); base 357 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->timestamp(), start_time + base::TimeDelta::FromSeconds(60)); base 358 media/base/audio_buffer_unittest.cc EXPECT_EQ(buffer->duration(), base::TimeDelta::FromSeconds(0)); base 109 media/base/audio_bus.cc data_.reset(static_cast<float*>(base::AlignedAlloc( base 133 media/base/audio_bus.cc base::checked_cast<int>(channel_data_.size()), frames_); base 112 media/base/audio_bus.h friend struct base::DefaultDeleter<AudioBus>; base 125 media/base/audio_bus.h scoped_ptr<float, base::AlignedFreeDeleter> data_; base 21 media/base/audio_bus_perftest.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 26 media/base/audio_bus_perftest.cc (base::TimeTicks::HighResNow() - start).InMillisecondsF(); base 31 media/base/audio_bus_perftest.cc start = base::TimeTicks::HighResNow(); base 36 media/base/audio_bus_perftest.cc (base::TimeTicks::HighResNow() - start).InMillisecondsF(); base 27 media/base/audio_bus_unittest.cc base::AlignedFree(data_[i]); base 49 media/base/audio_bus_unittest.cc SCOPED_TRACE(base::StringPrintf("ch=%d, i=%d", ch, i)); base 126 media/base/audio_bus_unittest.cc data_.push_back(static_cast<float*>(base::AlignedAlloc( base 141 media/base/audio_bus_unittest.cc scoped_ptr<float, base::AlignedFreeDeleter> data(static_cast<float*>( base 142 media/base/audio_bus_unittest.cc base::AlignedAlloc(data_size, AudioBus::kChannelAlignment))); base 181 media/base/audio_bus_unittest.cc data_.push_back(static_cast<float*>(base::AlignedAlloc( base 191 media/base/audio_bus_unittest.cc scoped_ptr<float, base::AlignedFreeDeleter> data( base 192 media/base/audio_bus_unittest.cc static_cast<float*>(base::AlignedAlloc( base 22 media/base/audio_capturer_source.h : public base::RefCountedThreadSafe<media::AudioCapturerSource> { base 63 media/base/audio_capturer_source.h friend class base::RefCountedThreadSafe<AudioCapturerSource>; base 60 media/base/audio_converter.cc base::Bind(&AudioConverter::ProvideInput, base::Unretained(this)))); base 63 media/base/audio_converter.cc input_frame_duration_ = base::TimeDelta::FromMicroseconds( base 64 media/base/audio_converter.cc base::Time::kMicrosecondsPerSecond / base 66 media/base/audio_converter.cc output_frame_duration_ = base::TimeDelta::FromMicroseconds( base 67 media/base/audio_converter.cc base::Time::kMicrosecondsPerSecond / base 85 media/base/audio_converter.cc base::Bind(&AudioConverter::SourceCallback, base::Unretained(this)))); base 119 media/base/audio_converter.cc void AudioConverter::ConvertWithDelay(const base::TimeDelta& initial_delay, base 160 media/base/audio_converter.cc ConvertWithDelay(base::TimeDelta::FromMilliseconds(0), dest); base 185 media/base/audio_converter.cc base::TimeDelta buffer_delay = initial_delay_; base 187 media/base/audio_converter.cc buffer_delay += base::TimeDelta::FromMicroseconds( base 191 media/base/audio_converter.cc buffer_delay += base::TimeDelta::FromMicroseconds( base 59 media/base/audio_converter.h base::TimeDelta buffer_delay) = 0; base 79 media/base/audio_converter.h void ConvertWithDelay(const base::TimeDelta& initial_delay, AudioBus* dest); base 130 media/base/audio_converter.h base::TimeDelta input_frame_duration_; base 131 media/base/audio_converter.h base::TimeDelta output_frame_duration_; base 132 media/base/audio_converter.h base::TimeDelta initial_delay_; base 22 media/base/audio_converter_perftest.cc base::TimeDelta buffer_delay) OVERRIDE { base 42 media/base/audio_converter_perftest.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 47 media/base/audio_converter_perftest.cc (base::TimeTicks::HighResNow() - start).InSecondsF(); base 219 media/base/audio_converter_unittest.cc base::TimeDelta input_frame_duration = base::TimeDelta::FromMicroseconds( base 220 media/base/audio_converter_unittest.cc base::Time::kMicrosecondsPerSecond / input_sample_rate); base 52 media/base/audio_decoder.h typedef base::Callback<void(Status, const scoped_refptr<AudioBuffer>&)> base 63 media/base/audio_decoder.h virtual void Reset(const base::Closure& closure) = 0; base 35 media/base/audio_decoder_config.cc base::TimeDelta(), base::TimeDelta()); base 46 media/base/audio_decoder_config.cc base::TimeDelta seek_preroll, base 47 media/base/audio_decoder_config.cc base::TimeDelta codec_delay) { base 90 media/base/audio_decoder_config.cc seek_preroll_ >= base::TimeDelta() && base 91 media/base/audio_decoder_config.cc codec_delay_ >= base::TimeDelta(); base 71 media/base/audio_decoder_config.h base::TimeDelta seek_preroll, base 72 media/base/audio_decoder_config.h base::TimeDelta codec_delay); base 93 media/base/audio_decoder_config.h base::TimeDelta seek_preroll() const { return seek_preroll_; } base 94 media/base/audio_decoder_config.h base::TimeDelta codec_delay() const { return codec_delay_; } base 120 media/base/audio_decoder_config.h base::TimeDelta seek_preroll_; base 125 media/base/audio_decoder_config.h base::TimeDelta codec_delay_; base 9 media/base/audio_fifo.cc using base::subtle::Atomic32; base 10 media/base/audio_fifo.cc using base::subtle::NoBarrier_Store; base 55 media/base/audio_fifo.cc base::subtle::MemoryBarrier(); base 87 media/base/audio_fifo.cc base::subtle::MemoryBarrier(); base 54 media/base/audio_fifo.h volatile base::subtle::Atomic32 frames_pushed_; base 55 media/base/audio_fifo.h volatile base::subtle::Atomic32 frames_consumed_; base 7 media/base/audio_hardware_config.cc using base::AutoLock; base 46 media/base/audio_hardware_config.h mutable base::Lock config_lock_; base 49 media/base/audio_hash.cc result += base::StringPrintf("%.2f,", audio_hash_[i]); base 25 media/base/audio_pull_fifo.h typedef base::Callback<void(int frame_delay, AudioBus* audio_bus)> ReadCB; base 30 media/base/audio_pull_fifo_unittest.cc : pull_fifo_(kChannels, kMaxFramesInFifo, base::Bind( base 31 media/base/audio_pull_fifo_unittest.cc &AudioPullFifoTest::ProvideInput, base::Unretained(this))), base 49 media/base/audio_pull_fifo_unittest.cc SCOPED_TRACE(base::StringPrintf("Checking frames_to_consume %d", base 22 media/base/audio_renderer.h typedef base::Callback<void(base::TimeDelta, base::TimeDelta)> TimeCB; base 49 media/base/audio_renderer.h const base::Closure& underflow_cb, base 51 media/base/audio_renderer.h const base::Closure& ended_cb, base 52 media/base/audio_renderer.h const base::Closure& disabled_cb, base 57 media/base/audio_renderer.h virtual void Play(const base::Closure& callback) = 0; base 61 media/base/audio_renderer.h virtual void Pause(const base::Closure& callback) = 0; base 64 media/base/audio_renderer.h virtual void Flush(const base::Closure& callback) = 0; base 70 media/base/audio_renderer.h virtual void Preroll(base::TimeDelta time, base 75 media/base/audio_renderer.h virtual void Stop(const base::Closure& callback) = 0; base 20 media/base/audio_renderer_mixer.cc pause_delay_(base::TimeDelta::FromSeconds(kPauseDelaySeconds)), base 21 media/base/audio_renderer_mixer.cc last_play_time_(base::TimeTicks::Now()), base 38 media/base/audio_renderer_mixer.cc const base::Closure& error_cb) { base 39 media/base/audio_renderer_mixer.cc base::AutoLock auto_lock(mixer_inputs_lock_); base 43 media/base/audio_renderer_mixer.cc last_play_time_ = base::TimeTicks::Now(); base 54 media/base/audio_renderer_mixer.cc base::AutoLock auto_lock(mixer_inputs_lock_); base 63 media/base/audio_renderer_mixer.cc base::AutoLock auto_lock(mixer_inputs_lock_); base 68 media/base/audio_renderer_mixer.cc const base::TimeTicks now = base::TimeTicks::Now(); base 77 media/base/audio_renderer_mixer.cc base::TimeDelta::FromMilliseconds(audio_delay_milliseconds), audio_bus); base 82 media/base/audio_renderer_mixer.cc base::AutoLock auto_lock(mixer_inputs_lock_); base 30 media/base/audio_renderer_mixer.h const base::Closure& error_cb); base 33 media/base/audio_renderer_mixer.h void set_pause_delay_for_testing(base::TimeDelta delay) { base 48 media/base/audio_renderer_mixer.h typedef std::map<AudioConverter::InputCallback*, base::Closure> base 51 media/base/audio_renderer_mixer.h base::Lock mixer_inputs_lock_; base 58 media/base/audio_renderer_mixer.h base::TimeDelta pause_delay_; base 59 media/base/audio_renderer_mixer.h base::TimeTicks last_play_time_; base 22 media/base/audio_renderer_mixer_input.cc error_cb_(base::Bind( base 23 media/base/audio_renderer_mixer_input.cc &AudioRendererMixerInput::OnRenderError, base::Unretained(this))) { base 83 media/base/audio_renderer_mixer_input.cc base::TimeDelta buffer_delay) { base 22 media/base/audio_renderer_mixer_input.h typedef base::Callback<AudioRendererMixer*( base 24 media/base/audio_renderer_mixer_input.h typedef base::Callback<void(const AudioParameters& params)> RemoveMixerCB; base 53 media/base/audio_renderer_mixer_input.h base::TimeDelta buffer_delay) OVERRIDE; base 71 media/base/audio_renderer_mixer_input.h base::Closure error_cb_; base 37 media/base/audio_renderer_mixer_input_unittest.cc base::Bind( base 38 media/base/audio_renderer_mixer_input_unittest.cc &AudioRendererMixerInputTest::GetMixer, base::Unretained(this)), base 39 media/base/audio_renderer_mixer_input_unittest.cc base::Bind( base 40 media/base/audio_renderer_mixer_input_unittest.cc &AudioRendererMixerInputTest::RemoveMixer, base::Unretained(this))); base 56 media/base/audio_renderer_mixer_input_unittest.cc return mixer_input_->ProvideInput(audio_bus_.get(), base::TimeDelta()); base 89 media/base/audio_renderer_mixer_unittest.cc base::Bind(&AudioRendererMixerTest::GetMixer, base 90 media/base/audio_renderer_mixer_unittest.cc base::Unretained(this)), base 91 media/base/audio_renderer_mixer_unittest.cc base::Bind(&AudioRendererMixerTest::RemoveMixer, base 92 media/base/audio_renderer_mixer_unittest.cc base::Unretained(this)))); base 402 media/base/audio_renderer_mixer_unittest.cc base::Bind(&AudioRendererMixerTest::GetMixer, base 403 media/base/audio_renderer_mixer_unittest.cc base::Unretained(this)), base 404 media/base/audio_renderer_mixer_unittest.cc base::Bind(&AudioRendererMixerTest::RemoveMixer, base 405 media/base/audio_renderer_mixer_unittest.cc base::Unretained(this))); base 411 media/base/audio_renderer_mixer_unittest.cc const base::TimeDelta kPauseTime = base::TimeDelta::FromMilliseconds(500); base 413 media/base/audio_renderer_mixer_unittest.cc const base::TimeDelta kTestTimeout = 10 * kPauseTime; base 416 media/base/audio_renderer_mixer_unittest.cc base::WaitableEvent pause_event(true, false); base 422 media/base/audio_renderer_mixer_unittest.cc const base::TimeDelta kSleepTime = base::TimeDelta::FromMilliseconds(100); base 423 media/base/audio_renderer_mixer_unittest.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 426 media/base/audio_renderer_mixer_unittest.cc base::PlatformThread::Sleep(kSleepTime); base 427 media/base/audio_renderer_mixer_unittest.cc ASSERT_TRUE(base::TimeTicks::Now() - start_time < kTestTimeout); base 438 media/base/audio_renderer_mixer_unittest.cc start_time = base::TimeTicks::Now(); base 441 media/base/audio_renderer_mixer_unittest.cc base::PlatformThread::Sleep(kSleepTime); base 442 media/base/audio_renderer_mixer_unittest.cc ASSERT_TRUE(base::TimeTicks::Now() - start_time < kTestTimeout); base 23 media/base/audio_renderer_sink.h : public base::RefCountedThreadSafe<media::AudioRendererSink> { base 65 media/base/audio_renderer_sink.h friend class base::RefCountedThreadSafe<AudioRendererSink>; base 77 media/base/audio_splicer.cc void ResetTimestampState(int64 frame_count, base::TimeDelta base_timestamp); base 95 media/base/audio_splicer.cc base::TimeDelta GetDuration() const; base 128 media/base/audio_splicer.cc base::TimeDelta base_timestamp) { base 146 media/base/audio_splicer.cc DCHECK(input->duration() > base::TimeDelta()); base 157 media/base/audio_splicer.cc const base::TimeDelta timestamp = input->timestamp(); base 158 media/base/audio_splicer.cc const base::TimeDelta expected_timestamp = base 160 media/base/audio_splicer.cc const base::TimeDelta delta = timestamp - expected_timestamp; base 168 media/base/audio_splicer.cc if (delta != base::TimeDelta()) base 246 media/base/audio_splicer.cc base::TimeDelta AudioStreamSanitizer::GetDuration() const { base 262 media/base/audio_splicer.cc base::TimeDelta::FromMilliseconds(kCrossfadeDurationInMilliseconds)), base 387 media/base/audio_splicer.cc void AudioSplicer::SetSpliceTimestamp(base::TimeDelta splice_timestamp) { base 52 media/base/audio_splicer.h void SetSpliceTimestamp(base::TimeDelta splice_timestamp); base 84 media/base/audio_splicer.h const base::TimeDelta max_crossfade_duration_; base 85 media/base/audio_splicer.h base::TimeDelta splice_timestamp_; base 86 media/base/audio_splicer.h base::TimeDelta max_splice_end_timestamp_; base 30 media/base/audio_splicer_unittest.cc input_timestamp_helper_.SetBaseTimestamp(base::TimeDelta()); base 82 media/base/audio_splicer_unittest.cc base::TimeDelta expected_pre_splice_duration) { base 97 media/base/audio_splicer_unittest.cc base::TimeDelta expected_crossfade_duration) { base 147 media/base/audio_splicer_unittest.cc base::TimeDelta max_crossfade_duration() { base 247 media/base/audio_splicer_unittest.cc base::TimeDelta gap_timestamp = base 249 media/base/audio_splicer_unittest.cc base::TimeDelta gap_duration = input_2->timestamp() - gap_timestamp; base 250 media/base/audio_splicer_unittest.cc EXPECT_GT(gap_duration, base::TimeDelta()); base 296 media/base/audio_splicer_unittest.cc base::TimeDelta::FromMicroseconds(10)); base 301 media/base/audio_splicer_unittest.cc input_timestamp_helper_.SetBaseTimestamp(base::TimeDelta::FromSeconds(0)); base 343 media/base/audio_splicer_unittest.cc base::TimeDelta expected_timestamp = base 345 media/base/audio_splicer_unittest.cc base::TimeDelta expected_duration = base 448 media/base/audio_splicer_unittest.cc base::TimeDelta::FromMicroseconds(5012)); base 459 media/base/audio_splicer_unittest.cc base::TimeDelta::FromMicroseconds(4988)); base 464 media/base/audio_splicer_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(20022), base 468 media/base/audio_splicer_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(5034), base 522 media/base/audio_splicer_unittest.cc base::TimeDelta::FromMicroseconds(7505)); base 581 media/base/audio_splicer_unittest.cc const base::TimeDelta kExpectedPreSpliceDuration = base 582 media/base/audio_splicer_unittest.cc base::TimeDelta::FromMicroseconds(1247); base 633 media/base/audio_splicer_unittest.cc base::TimeDelta::FromMicroseconds(1)); base 729 media/base/audio_splicer_unittest.cc const base::TimeDelta splice_timestamp = base 760 media/base/audio_splicer_unittest.cc const base::TimeDelta kExpectedPreSpliceDuration = splice_timestamp; base 761 media/base/audio_splicer_unittest.cc const base::TimeDelta kExpectedCrossfadeDuration = base 762 media/base/audio_splicer_unittest.cc base::TimeDelta::FromMicroseconds(4966); base 17 media/base/audio_timestamp_helper.cc microseconds_per_frame_ = base::Time::kMicrosecondsPerSecond / fps; base 20 media/base/audio_timestamp_helper.cc void AudioTimestampHelper::SetBaseTimestamp(base::TimeDelta base_timestamp) { base 25 media/base/audio_timestamp_helper.cc base::TimeDelta AudioTimestampHelper::base_timestamp() const { base 35 media/base/audio_timestamp_helper.cc base::TimeDelta AudioTimestampHelper::GetTimestamp() const { base 39 media/base/audio_timestamp_helper.cc base::TimeDelta AudioTimestampHelper::GetFrameDuration(int frame_count) const { base 41 media/base/audio_timestamp_helper.cc base::TimeDelta end_timestamp = ComputeTimestamp(frame_count_ + frame_count); base 45 media/base/audio_timestamp_helper.cc int64 AudioTimestampHelper::GetFramesToTarget(base::TimeDelta target) const { base 57 media/base/audio_timestamp_helper.cc base::TimeDelta delta_from_base = target - base_timestamp_; base 67 media/base/audio_timestamp_helper.cc base::TimeDelta AudioTimestampHelper::ComputeTimestamp( base 72 media/base/audio_timestamp_helper.cc return base_timestamp_ + base::TimeDelta::FromMicroseconds(frames_us); base 33 media/base/audio_timestamp_helper.h void SetBaseTimestamp(base::TimeDelta base_timestamp); base 35 media/base/audio_timestamp_helper.h base::TimeDelta base_timestamp() const; base 45 media/base/audio_timestamp_helper.h base::TimeDelta GetTimestamp() const; base 51 media/base/audio_timestamp_helper.h base::TimeDelta GetFrameDuration(int frame_count) const; base 55 media/base/audio_timestamp_helper.h int64 GetFramesToTarget(base::TimeDelta target) const; base 58 media/base/audio_timestamp_helper.h base::TimeDelta ComputeTimestamp(int64 frame_count) const; base 62 media/base/audio_timestamp_helper.h base::TimeDelta base_timestamp_; base 16 media/base/audio_timestamp_helper_unittest.cc helper_.SetBaseTimestamp(base::TimeDelta()); base 28 media/base/audio_timestamp_helper_unittest.cc base::TimeDelta::FromMicroseconds(target_in_microseconds)); base 60 media/base/audio_timestamp_helper_unittest.cc base::TimeDelta timestamp_1 = helper_.GetTimestamp(); base 63 media/base/audio_timestamp_helper_unittest.cc helper_.SetBaseTimestamp(base::TimeDelta()); base 73 media/base/audio_timestamp_helper_unittest.cc helper_.SetBaseTimestamp(base::TimeDelta::FromMicroseconds(100)); base 78 media/base/audio_timestamp_helper_unittest.cc base::TimeDelta duration = helper_.GetFrameDuration(frame_count); base 81 media/base/audio_timestamp_helper_unittest.cc base::TimeDelta timestamp_1 = helper_.GetTimestamp() + duration; base 83 media/base/audio_timestamp_helper_unittest.cc base::TimeDelta timestamp_2 = helper_.GetTimestamp(); base 42 media/base/audio_video_metadata_extractor.cc if (*destination < 0 && base::StringToInt(tag->value, &temporary) && base 69 media/base/audio_video_metadata_extractor.cc media::BlockingUrlProtocol protocol(source, base::Bind(&OnError, &read_ok)); base 40 media/base/bind_to_current_loop.h base::internal::PassedWrapper<scoped_ptr<T, R> > TrampolineForward( base 41 media/base/bind_to_current_loop.h scoped_ptr<T, R>& p) { return base::Passed(&p); } base 44 media/base/bind_to_current_loop.h base::internal::PassedWrapper<ScopedVector<T> > TrampolineForward( base 45 media/base/bind_to_current_loop.h ScopedVector<T>& p) { return base::Passed(&p); } base 52 media/base/bind_to_current_loop.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 53 media/base/bind_to_current_loop.h const base::Callback<void()>& cb) { base 54 media/base/bind_to_current_loop.h task_runner->PostTask(FROM_HERE, base::Bind(cb)); base 62 media/base/bind_to_current_loop.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 63 media/base/bind_to_current_loop.h const base::Callback<void(A1)>& cb, A1 a1) { base 64 media/base/bind_to_current_loop.h task_runner->PostTask(FROM_HERE, base::Bind(cb, base 73 media/base/bind_to_current_loop.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 74 media/base/bind_to_current_loop.h const base::Callback<void(A1, A2)>& cb, A1 a1, A2 a2) { base 75 media/base/bind_to_current_loop.h task_runner->PostTask(FROM_HERE, base::Bind(cb, base 84 media/base/bind_to_current_loop.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 85 media/base/bind_to_current_loop.h const base::Callback<void(A1, A2, A3)>& cb, A1 a1, A2 a2, A3 a3) { base 86 media/base/bind_to_current_loop.h task_runner->PostTask(FROM_HERE, base::Bind(cb, base 96 media/base/bind_to_current_loop.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 97 media/base/bind_to_current_loop.h const base::Callback<void(A1, A2, A3, A4)>& cb, A1 a1, A2 a2, A3 a3, base 99 media/base/bind_to_current_loop.h task_runner->PostTask(FROM_HERE, base::Bind(cb, base 109 media/base/bind_to_current_loop.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 110 media/base/bind_to_current_loop.h const base::Callback<void(A1, A2, A3, A4, A5)>& cb, A1 a1, A2 a2, A3 a3, base 112 media/base/bind_to_current_loop.h task_runner->PostTask(FROM_HERE, base::Bind(cb, base 124 media/base/bind_to_current_loop.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 125 media/base/bind_to_current_loop.h const base::Callback<void(A1, A2, A3, A4, A5, A6)>& cb, A1 a1, A2 a2, base 127 media/base/bind_to_current_loop.h task_runner->PostTask(FROM_HERE, base::Bind(cb, base 139 media/base/bind_to_current_loop.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 140 media/base/bind_to_current_loop.h const base::Callback<void(A1, A2, A3, A4, A5, A6, A7)>& cb, A1 a1, A2 a2, base 142 media/base/bind_to_current_loop.h task_runner->PostTask(FROM_HERE, base::Bind(cb, base 154 media/base/bind_to_current_loop.h static base::Callback<T> BindToCurrentLoop( base 155 media/base/bind_to_current_loop.h const base::Callback<T>& cb) { base 156 media/base/bind_to_current_loop.h return base::Bind(&internal::TrampolineHelper<T>::Run, base 157 media/base/bind_to_current_loop.h base::MessageLoopProxy::current(), cb); base 23 media/base/bind_to_current_loop_unittest.cc scoped_ptr<bool, base::FreeDeleter> val) { base 44 media/base/bind_to_current_loop_unittest.cc base::MessageLoop loop_; base 49 media/base/bind_to_current_loop_unittest.cc base::WaitableEvent waiter(false, false); base 50 media/base/bind_to_current_loop_unittest.cc base::Closure cb = BindToCurrentLoop(base::Bind( base 51 media/base/bind_to_current_loop_unittest.cc &base::WaitableEvent::Signal, base::Unretained(&waiter))); base 60 media/base/bind_to_current_loop_unittest.cc base::Callback<void(bool)> cb = BindToCurrentLoop(base::Bind( base 71 media/base/bind_to_current_loop_unittest.cc base::Closure cb = BindToCurrentLoop(base::Bind( base 72 media/base/bind_to_current_loop_unittest.cc &BoundBoolSetFromScopedPtr, &bool_val, base::Passed(&scoped_ptr_bool))); base 82 media/base/bind_to_current_loop_unittest.cc base::Callback<void(scoped_ptr<bool>)> cb = BindToCurrentLoop(base::Bind( base 94 media/base/bind_to_current_loop_unittest.cc base::Closure cb = BindToCurrentLoop(base::Bind( base 96 media/base/bind_to_current_loop_unittest.cc base::Passed(&scoped_array_bool))); base 107 media/base/bind_to_current_loop_unittest.cc base::Callback<void(scoped_ptr<bool[]>)> cb = BindToCurrentLoop(base::Bind( base 117 media/base/bind_to_current_loop_unittest.cc scoped_ptr<bool, base::FreeDeleter> scoped_ptr_free_deleter_bool( base 120 media/base/bind_to_current_loop_unittest.cc base::Closure cb = BindToCurrentLoop(base::Bind( base 122 media/base/bind_to_current_loop_unittest.cc base::Passed(&scoped_ptr_free_deleter_bool))); base 131 media/base/bind_to_current_loop_unittest.cc scoped_ptr<bool, base::FreeDeleter> scoped_ptr_free_deleter_bool( base 134 media/base/bind_to_current_loop_unittest.cc base::Callback<void(scoped_ptr<bool, base::FreeDeleter>)> cb = base 135 media/base/bind_to_current_loop_unittest.cc BindToCurrentLoop(base::Bind(&BoundBoolSetFromScopedPtrFreeDeleter, base 147 media/base/bind_to_current_loop_unittest.cc base::Closure cb = BindToCurrentLoop(base::Bind( base 158 media/base/bind_to_current_loop_unittest.cc base::Callback<void(int, int)> cb = BindToCurrentLoop(base::Bind( base 129 media/base/bit_reader_core.cc reg_next_ = base::NetToHost64(reg_next_); base 17 media/base/bitstream_buffer.h BitstreamBuffer(int32 id, base::SharedMemoryHandle handle, size_t size) base 24 media/base/bitstream_buffer.h base::SharedMemoryHandle handle() const { return handle_; } base 29 media/base/bitstream_buffer.h base::SharedMemoryHandle handle_; base 34 media/base/buffers.h MEDIA_EXPORT extern inline base::TimeDelta kNoTimestamp() { base 35 media/base/buffers.h return base::TimeDelta::FromMicroseconds(kint64min); base 39 media/base/buffers.h MEDIA_EXPORT extern inline base::TimeDelta kInfiniteDuration() { base 40 media/base/buffers.h return base::TimeDelta::Max(); base 46 media/base/callback_holder.h held_cb_ = base::ResetAndReturn(&original_cb_); base 48 media/base/callback_holder.h base::ResetAndReturn(&original_cb_).Run(); base 54 media/base/callback_holder.h held_cb_ = base::Bind(base::ResetAndReturn(&original_cb_), base 57 media/base/callback_holder.h base::ResetAndReturn(&original_cb_).Run(a1); base 64 media/base/callback_holder.h held_cb_ = base::Bind(base::ResetAndReturn(&original_cb_), base 68 media/base/callback_holder.h base::ResetAndReturn(&original_cb_).Run(a1, a2); base 77 media/base/callback_holder.h base::ResetAndReturn(&held_cb_).Run(); base 83 media/base/callback_holder.h base::Closure held_cb_; base 22 media/base/callback_holder_unittest.cc CallbackHolder<base::Closure> cb; base 28 media/base/callback_holder_unittest.cc cb.SetCallback(base::Bind(&SetBool, &closure_called)); base 41 media/base/callback_holder_unittest.cc CallbackHolder<base::Closure> cb; base 45 media/base/callback_holder_unittest.cc cb.SetCallback(base::Bind(&SetBool, &closure_called)); base 59 media/base/callback_holder_unittest.cc CallbackHolder<base::Closure> cb; base 63 media/base/callback_holder_unittest.cc cb.SetCallback(base::Bind(&SetBool, &closure_called)); base 72 media/base/callback_holder_unittest.cc CallbackHolder<base::Callback<void(int, int*)> > cb; base 77 media/base/callback_holder_unittest.cc cb.SetCallback(base::Bind(&CopyVar)); base 92 media/base/callback_holder_unittest.cc CallbackHolder<base::Callback<void(int, int*)> > cb; base 95 media/base/callback_holder_unittest.cc cb.SetCallback(base::Bind(&CopyVar)); base 112 media/base/callback_holder_unittest.cc CallbackHolder<base::Callback<void(int, int*)> > cb; base 115 media/base/callback_holder_unittest.cc cb.SetCallback(base::Bind(&CopyVar)); base 38 media/base/channel_mixer_unittest.cc SCOPED_TRACE(base::StringPrintf( base 79 media/base/channel_mixer_unittest.cc return base::StringPrintf( base 15 media/base/clock.cc Clock::Clock(base::TickClock* clock) : clock_(clock) { base 26 media/base/clock.cc base::TimeDelta Clock::Play() { base 33 media/base/clock.cc base::TimeDelta Clock::Pause() { base 45 media/base/clock.cc void Clock::SetTime(base::TimeDelta current_time, base::TimeDelta max_time) { base 54 media/base/clock.cc base::TimeDelta Clock::Elapsed() { base 56 media/base/clock.cc return base::TimeDelta(); base 62 media/base/clock.cc base::TimeDelta elapsed = EstimatedElapsedTime(); base 72 media/base/clock.cc void Clock::SetMaxTime(base::TimeDelta max_time) { base 83 media/base/clock.cc void Clock::SetDuration(base::TimeDelta duration) { base 84 media/base/clock.cc DCHECK(duration > base::TimeDelta()); base 92 media/base/clock.cc base::TimeDelta Clock::ElapsedViaProvidedTime( base 93 media/base/clock.cc const base::TimeTicks& time) const { base 97 media/base/clock.cc return media_time_ + base::TimeDelta::FromMicroseconds(now_us); base 100 media/base/clock.cc base::TimeDelta Clock::ClampToValidTimeRange(base::TimeDelta time) const { base 102 media/base/clock.cc return base::TimeDelta(); base 103 media/base/clock.cc return std::max(std::min(time, duration_), base::TimeDelta()); base 111 media/base/clock.cc base::TimeDelta Clock::Duration() const { base 113 media/base/clock.cc return base::TimeDelta(); base 121 media/base/clock.cc void Clock::UpdateReferencePoints(base::TimeDelta current_time) { base 126 media/base/clock.cc base::TimeDelta Clock::EstimatedElapsedTime() { base 135 media/base/clock.cc media_time_ = base::TimeDelta(); base 136 media/base/clock.cc reference_ = base::TimeTicks(); base 12 media/base/clock.h namespace base { base 36 media/base/clock.h explicit Clock(base::TickClock* clock); base 44 media/base/clock.h base::TimeDelta Play(); base 48 media/base/clock.h base::TimeDelta Pause(); base 60 media/base/clock.h void SetTime(base::TimeDelta current_time, base::TimeDelta max_time); base 63 media/base/clock.h void SetMaxTime(base::TimeDelta max_time); base 67 media/base/clock.h base::TimeDelta Elapsed(); base 71 media/base/clock.h void SetDuration(base::TimeDelta duration); base 81 media/base/clock.h base::TimeDelta Duration() const; base 88 media/base/clock.h void UpdateReferencePoints(base::TimeDelta current_time); base 92 media/base/clock.h base::TimeDelta EstimatedElapsedTime(); base 96 media/base/clock.h base::TimeDelta ElapsedViaProvidedTime(const base::TimeTicks& time) const; base 98 media/base/clock.h base::TimeDelta ClampToValidTimeRange(base::TimeDelta time) const; base 100 media/base/clock.h base::TickClock* const clock_; base 111 media/base/clock.h base::TimeTicks reference_; base 115 media/base/clock.h base::TimeDelta media_time_; base 121 media/base/clock.h base::TimeDelta max_time_; base 124 media/base/clock.h base::TimeDelta duration_; base 39 media/base/clock_unittest.cc const base::TimeDelta kDuration = base 40 media/base/clock_unittest.cc base::TimeDelta::FromSeconds(kDurationInSeconds); base 45 media/base/clock_unittest.cc void AdvanceSystemTime(base::TimeDelta delta) { base 49 media/base/clock_unittest.cc base::SimpleTestTickClock test_tick_clock_; base 51 media/base/clock_unittest.cc base::TimeDelta time_elapsed_; base 55 media/base/clock_unittest.cc const base::TimeDelta kExpected = base::TimeDelta::FromSeconds(0); base 60 media/base/clock_unittest.cc const base::TimeDelta kZero; base 61 media/base/clock_unittest.cc const base::TimeDelta kTimeToAdvance = base::TimeDelta::FromSeconds(2); base 69 media/base/clock_unittest.cc const base::TimeDelta kZero; base 70 media/base/clock_unittest.cc const base::TimeDelta kTimeToAdvance = base::TimeDelta::FromSeconds(5); base 79 media/base/clock_unittest.cc const base::TimeDelta kZero; base 80 media/base/clock_unittest.cc const base::TimeDelta kTimeToAdvance = base::TimeDelta::FromSeconds(4); base 91 media/base/clock_unittest.cc const base::TimeDelta kZero; base 92 media/base/clock_unittest.cc const base::TimeDelta kPlayDuration1 = base::TimeDelta::FromSeconds(2); base 93 media/base/clock_unittest.cc const base::TimeDelta kPlayDuration2 = base::TimeDelta::FromSeconds(4); base 94 media/base/clock_unittest.cc const base::TimeDelta kPlayDuration3 = base::TimeDelta::FromSeconds(8); base 95 media/base/clock_unittest.cc const base::TimeDelta kExpected = kPlayDuration1 + kPlayDuration3; base 111 media/base/clock_unittest.cc const base::TimeDelta kZero; base 112 media/base/clock_unittest.cc const base::TimeDelta kPlayDuration1 = base::TimeDelta::FromSeconds(2); base 113 media/base/clock_unittest.cc const base::TimeDelta kPlayDuration2 = base::TimeDelta::FromSeconds(4); base 114 media/base/clock_unittest.cc const base::TimeDelta kPlayDuration3 = base::TimeDelta::FromSeconds(8); base 115 media/base/clock_unittest.cc const base::TimeDelta kExpected = base 131 media/base/clock_unittest.cc const base::TimeDelta kZero; base 132 media/base/clock_unittest.cc const base::TimeDelta kPlayDuration = base::TimeDelta::FromSeconds(4); base 133 media/base/clock_unittest.cc const base::TimeDelta kPauseDuration = base::TimeDelta::FromSeconds(20); base 134 media/base/clock_unittest.cc const base::TimeDelta kExpectedFirstPause = kPlayDuration; base 135 media/base/clock_unittest.cc const base::TimeDelta kExpectedSecondPause = 2 * kPlayDuration; base 155 media/base/clock_unittest.cc const base::TimeDelta kFirstTime = base::TimeDelta::FromSeconds(4); base 156 media/base/clock_unittest.cc const base::TimeDelta kSecondTime = base::TimeDelta::FromSeconds(16); base 167 media/base/clock_unittest.cc const base::TimeDelta kZero; base 168 media/base/clock_unittest.cc const base::TimeDelta kPlayDuration = base::TimeDelta::FromSeconds(4); base 169 media/base/clock_unittest.cc const base::TimeDelta kUpdatedTime = base::TimeDelta::FromSeconds(12); base 170 media/base/clock_unittest.cc const base::TimeDelta kExpected = kUpdatedTime + kPlayDuration; base 181 media/base/clock_unittest.cc const base::TimeDelta kDuration = base 182 media/base/clock_unittest.cc base::TimeDelta::FromSeconds(kDurationInSeconds); base 183 media/base/clock_unittest.cc const base::TimeDelta kTimeOverDuration = base 184 media/base/clock_unittest.cc base::TimeDelta::FromSeconds(kDurationInSeconds + 4); base 192 media/base/clock_unittest.cc const base::TimeDelta kZero; base 193 media/base/clock_unittest.cc const base::TimeDelta kDuration = base 194 media/base/clock_unittest.cc base::TimeDelta::FromSeconds(kDurationInSeconds); base 195 media/base/clock_unittest.cc const base::TimeDelta kTimeOverDuration = base 196 media/base/clock_unittest.cc base::TimeDelta::FromSeconds(kDurationInSeconds + 4); base 209 media/base/clock_unittest.cc const base::TimeDelta kZero; base 210 media/base/clock_unittest.cc const base::TimeDelta kTimeInterval = base::TimeDelta::FromSeconds(4); base 211 media/base/clock_unittest.cc const base::TimeDelta kMaxTime = base::TimeDelta::FromSeconds(6); base 226 media/base/clock_unittest.cc const base::TimeDelta kZero; base 227 media/base/clock_unittest.cc const base::TimeDelta kTimeInterval = base::TimeDelta::FromSeconds(4); base 228 media/base/clock_unittest.cc const base::TimeDelta kMaxTime1 = base::TimeDelta::FromSeconds(6); base 229 media/base/clock_unittest.cc const base::TimeDelta kMaxTime2 = base::TimeDelta::FromSeconds(12); base 105 media/base/container_names_unittest.cc void TestFile(MediaContainerName expected, const base::FilePath& filename) { base 112 media/base/container_names_unittest.cc if (base::GetFileSize(filename, &actual_size) && actual_size < read_size) base 114 media/base/container_names_unittest.cc int read = base::ReadFile(filename, buffer, read_size); base 23 media/base/data_buffer.h class MEDIA_EXPORT DataBuffer : public base::RefCountedThreadSafe<DataBuffer> { base 42 media/base/data_buffer.h base::TimeDelta timestamp() const { base 47 media/base/data_buffer.h void set_timestamp(const base::TimeDelta& timestamp) { base 52 media/base/data_buffer.h base::TimeDelta duration() const { base 57 media/base/data_buffer.h void set_duration(const base::TimeDelta& duration) { base 90 media/base/data_buffer.h friend class base::RefCountedThreadSafe<DataBuffer>; base 101 media/base/data_buffer.h base::TimeDelta timestamp_; base 102 media/base/data_buffer.h base::TimeDelta duration_; base 65 media/base/data_buffer_unittest.cc const base::TimeDelta kZero; base 66 media/base/data_buffer_unittest.cc const base::TimeDelta kTimestampA = base::TimeDelta::FromMicroseconds(1337); base 67 media/base/data_buffer_unittest.cc const base::TimeDelta kTimestampB = base::TimeDelta::FromMicroseconds(1234); base 80 media/base/data_buffer_unittest.cc const base::TimeDelta kZero; base 81 media/base/data_buffer_unittest.cc const base::TimeDelta kDurationA = base::TimeDelta::FromMicroseconds(1337); base 82 media/base/data_buffer_unittest.cc const base::TimeDelta kDurationB = base::TimeDelta::FromMicroseconds(1234); base 32 media/base/data_source.h typedef base::Callback<void(int64, int64)> StatusCallback; base 33 media/base/data_source.h typedef base::Callback<void(int)> ReadCB; base 47 media/base/data_source.h virtual void Stop(const base::Closure& callback) = 0; base 40 media/base/decoder_buffer.cc base::AlignedAlloc(size_ + kPaddingSize, kAlignmentSize))); base 44 media/base/decoder_buffer.cc base::AlignedAlloc(side_data_size_ + kPaddingSize, kAlignmentSize))); base 31 media/base/decoder_buffer.h : public base::RefCountedThreadSafe<DecoderBuffer> { base 63 media/base/decoder_buffer.h base::TimeDelta timestamp() const { base 68 media/base/decoder_buffer.h void set_timestamp(const base::TimeDelta& timestamp) { base 73 media/base/decoder_buffer.h base::TimeDelta duration() const { base 78 media/base/decoder_buffer.h void set_duration(const base::TimeDelta& duration) { base 108 media/base/decoder_buffer.h base::TimeDelta discard_padding() const { base 113 media/base/decoder_buffer.h void set_discard_padding(const base::TimeDelta discard_padding) { base 135 media/base/decoder_buffer.h base::TimeDelta splice_timestamp() const { base 142 media/base/decoder_buffer.h void set_splice_timestamp(base::TimeDelta splice_timestamp) { base 151 media/base/decoder_buffer.h friend class base::RefCountedThreadSafe<DecoderBuffer>; base 161 media/base/decoder_buffer.h base::TimeDelta timestamp_; base 162 media/base/decoder_buffer.h base::TimeDelta duration_; base 165 media/base/decoder_buffer.h scoped_ptr<uint8, base::AlignedFreeDeleter> data_; base 167 media/base/decoder_buffer.h scoped_ptr<uint8, base::AlignedFreeDeleter> side_data_; base 169 media/base/decoder_buffer.h base::TimeDelta discard_padding_; base 170 media/base/decoder_buffer.h base::TimeDelta splice_timestamp_; base 28 media/base/decoder_buffer_queue.cc data_size_ += base::checked_cast<size_t, int>(buffer->data_size()); base 59 media/base/decoder_buffer_queue.cc base::checked_cast<size_t, int>(buffer->data_size()); base 82 media/base/decoder_buffer_queue.cc base::TimeDelta DecoderBufferQueue::Duration() { base 84 media/base/decoder_buffer_queue.cc return base::TimeDelta(); base 86 media/base/decoder_buffer_queue.cc base::TimeDelta start = in_order_queue_.front()->timestamp(); base 87 media/base/decoder_buffer_queue.cc base::TimeDelta end = in_order_queue_.back()->timestamp(); base 52 media/base/decoder_buffer_queue.h base::TimeDelta Duration(); base 66 media/base/decoder_buffer_queue.h base::TimeDelta earliest_valid_timestamp_; base 12 media/base/decoder_buffer_queue_unittest.cc static base::TimeDelta ToTimeDelta(int seconds) { base 15 media/base/decoder_buffer_queue_unittest.cc return base::TimeDelta::FromSeconds(seconds); base 51 media/base/decryptor.h typedef base::Callback<void()> NewKeyCB; base 72 media/base/decryptor.h typedef base::Callback<void(Status, base 95 media/base/decryptor.h typedef base::Callback<void(bool)> DecoderInitCB; base 124 media/base/decryptor.h typedef base::Callback<void(Status, const AudioBuffers&)> AudioDecodeCB; base 125 media/base/decryptor.h typedef base::Callback<void(Status, base 165 media/base/decryptor.h typedef base::Callback<void(Decryptor*)> DecryptorReadyCB; base 174 media/base/decryptor.h typedef base::Callback<void(const DecryptorReadyCB&)> SetDecryptorReadyCB; base 23 media/base/demuxer.h virtual void AddBufferedTimeRange(base::TimeDelta start, base 24 media/base/demuxer.h base::TimeDelta end) = 0; base 28 media/base/demuxer.h virtual void SetDuration(base::TimeDelta duration) = 0; base 50 media/base/demuxer.h typedef base::Callback<void(const std::string& type, base 66 media/base/demuxer.h virtual void Seek(base::TimeDelta time, base 73 media/base/demuxer.h virtual void Stop(const base::Closure& callback) = 0; base 88 media/base/demuxer.h virtual base::TimeDelta GetStartTime() const = 0; base 28 media/base/demuxer_perftest.cc virtual void AddBufferedTimeRange(base::TimeDelta start, base 29 media/base/demuxer_perftest.cc base::TimeDelta end) OVERRIDE {} base 30 media/base/demuxer_perftest.cc virtual void SetDuration(base::TimeDelta duration) OVERRIDE {} base 40 media/base/demuxer_perftest.cc static void QuitLoopWithStatus(base::MessageLoop* message_loop, base 43 media/base/demuxer_perftest.cc message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); base 71 media/base/demuxer_perftest.cc void OnReadDone(base::MessageLoop* message_loop, base 73 media/base/demuxer_perftest.cc base::TimeDelta* timestamp, base 80 media/base/demuxer_perftest.cc std::vector<base::TimeDelta> last_read_timestamp_; base 114 media/base/demuxer_perftest.cc base::TimeDelta timestamp; base 116 media/base/demuxer_perftest.cc streams_[index]->Read(base::Bind( base 117 media/base/demuxer_perftest.cc &StreamReader::OnReadDone, base::Unretained(this), base 118 media/base/demuxer_perftest.cc base::MessageLoop::current(), &end_of_stream, ×tamp)); base 119 media/base/demuxer_perftest.cc base::MessageLoop::current()->Run(); base 136 media/base/demuxer_perftest.cc base::MessageLoop* message_loop, base 138 media/base/demuxer_perftest.cc base::TimeDelta* timestamp, base 145 media/base/demuxer_perftest.cc message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); base 169 media/base/demuxer_perftest.cc base::FilePath file_path(GetTestDataFilePath(filename)); base 173 media/base/demuxer_perftest.cc base::MessageLoop message_loop; base 178 media/base/demuxer_perftest.cc Demuxer::NeedKeyCB need_key_cb = base::Bind(&NeedKey); base 185 media/base/demuxer_perftest.cc base::Bind(&QuitLoopWithStatus, &message_loop), base 191 media/base/demuxer_perftest.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 195 media/base/demuxer_perftest.cc base::TimeTicks end = base::TimeTicks::HighResNow(); base 197 media/base/demuxer_perftest.cc demuxer.Stop(base::Bind( base 56 media/base/demuxer_stream.h typedef base::Callback<void(Status, base 45 media/base/fake_audio_render_callback.cc base::TimeDelta buffer_delay) { base 35 media/base/fake_audio_render_callback.h base::TimeDelta buffer_delay) OVERRIDE; base 15 media/base/fake_text_track_stream.cc : task_runner_(base::MessageLoopProxy::current()), base 30 media/base/fake_text_track_stream.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 31 media/base/fake_text_track_stream.cc &FakeTextTrackStream::AbortPendingRead, base::Unretained(this))); base 42 media/base/fake_text_track_stream.cc const base::TimeDelta& start, base 43 media/base/fake_text_track_stream.cc const base::TimeDelta& duration, base 66 media/base/fake_text_track_stream.cc base::ResetAndReturn(&read_cb_).Run(kOk, buffer); base 71 media/base/fake_text_track_stream.cc base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); base 76 media/base/fake_text_track_stream.cc base::ResetAndReturn(&read_cb_).Run(kOk, DecoderBuffer::CreateEOSBuffer()); base 28 media/base/fake_text_track_stream.h void SatisfyPendingRead(const base::TimeDelta& start, base 29 media/base/fake_text_track_stream.h const base::TimeDelta& duration, base 41 media/base/fake_text_track_stream.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 17 media/base/gmock_callback_support_unittest.cc typedef base::Callback<void(const bool& src, bool* dst)> TestCallback; base 32 media/base/gmock_callback_support_unittest.cc check.Call(base::Bind(&SetBool)); base 36 media/base/gmock_callback_support_unittest.cc MockFunction<void(const base::Closure&)> check; base 40 media/base/gmock_callback_support_unittest.cc check.Call(base::Bind(&SetBool, true, &dst)); base 49 media/base/gmock_callback_support_unittest.cc check.Call(base::Bind(&SetBool)); base 58 media/base/gmock_callback_support_unittest.cc check.Call(0, base::Bind(&SetBool)); base 69 media/base/gmock_callback_support_unittest.cc check.Call(base::Bind(&SetBool)); base 80 media/base/gmock_callback_support_unittest.cc check.Call(base::Bind(&SetBool)); base 18 media/base/keyboard_event_counter.cc base::subtle::NoBarrier_Store( base 19 media/base/keyboard_event_counter.cc reinterpret_cast<base::subtle::AtomicWord*>(&total_key_presses_), 0); base 29 media/base/keyboard_event_counter.cc base::subtle::NoBarrier_AtomicIncrement( base 30 media/base/keyboard_event_counter.cc reinterpret_cast<base::subtle::AtomicWord*>(&total_key_presses_), 1); base 38 media/base/keyboard_event_counter.cc return base::subtle::NoBarrier_Load( base 39 media/base/keyboard_event_counter.cc reinterpret_cast<const base::subtle::AtomicWord*>(&total_key_presses_)); base 20 media/base/media.cc extern bool InitializeMediaLibraryInternal(const base::FilePath& module_dir); base 26 media/base/media.cc bool Initialize(const base::FilePath& module_dir) { base 27 media/base/media.cc base::AutoLock auto_lock(lock_); base 36 media/base/media.cc base::AutoLock auto_lock(lock_); base 41 media/base/media.cc friend struct base::DefaultLazyInstanceTraits<MediaInitializer>; base 57 media/base/media.cc base::Lock lock_; base 64 media/base/media.cc static base::LazyInstance<MediaInitializer>::Leaky g_media_library = base 67 media/base/media.cc bool InitializeMediaLibrary(const base::FilePath& module_dir) { base 72 media/base/media.cc base::FilePath module_dir; base 73 media/base/media.cc CHECK(PathService::Get(base::DIR_EXE, &module_dir)); base 13 media/base/media.h namespace base { base 30 media/base/media.h MEDIA_EXPORT bool InitializeMediaLibrary(const base::FilePath& module_dir); base 24 media/base/media_file_checker.cc MediaFileChecker::MediaFileChecker(base::File file) : file_(file.Pass()) { base 30 media/base/media_file_checker.cc bool MediaFileChecker::Start(base::TimeDelta check_time) { base 33 media/base/media_file_checker.cc media::BlockingUrlProtocol protocol(&source, base::Bind(&OnError, &read_ok)); base 62 media/base/media_file_checker.cc const base::TimeTicks deadline = base::TimeTicks::Now() + base 64 media/base/media_file_checker.cc base::TimeDelta::FromSeconds(kMaxCheckTimeInSeconds)); base 101 media/base/media_file_checker.cc } while (base::TimeTicks::Now() < deadline && read_ok && result >= 0); base 12 media/base/media_file_checker.h namespace base { base 23 media/base/media_file_checker.h explicit MediaFileChecker(base::File file); base 29 media/base/media_file_checker.h bool Start(base::TimeDelta check_time); base 32 media/base/media_file_checker.h base::File file_; base 15 media/base/media_file_checker_unittest.cc base::File file(GetTestDataFilePath(filename), base 16 media/base/media_file_checker_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 20 media/base/media_file_checker_unittest.cc const base::TimeDelta check_time = base::TimeDelta::FromMilliseconds(100); base 81 media/base/media_keys.h typedef base::Callback< base 85 media/base/media_keys.h typedef base::Callback<void(uint32 session_id, base 90 media/base/media_keys.h typedef base::Callback<void(uint32 session_id)> SessionReadyCB; base 92 media/base/media_keys.h typedef base::Callback<void(uint32 session_id)> SessionClosedCB; base 94 media/base/media_keys.h typedef base::Callback<void(uint32 session_id, base 17 media/base/media_log.cc static base::StaticAtomicSequenceNumber g_media_log_count; base 123 media/base/media_log.cc event->time = base::TimeTicks::Now(); base 142 media/base/media_log.cc MediaLogEvent::Type type, const char* property, base::TimeDelta value) { base 235 media/base/media_log.cc const char* key, base::TimeDelta value) { base 22 media/base/media_log.h typedef base::Callback<void(const std::string&)> LogCB; base 39 media/base/media_log.h class MEDIA_EXPORT MediaLog : public base::RefCountedThreadSafe<MediaLog> { base 58 media/base/media_log.h MediaLogEvent::Type type, const char* property, base::TimeDelta value); base 76 media/base/media_log.h void SetTimeProperty(const char* key, base::TimeDelta value); base 79 media/base/media_log.h friend class base::RefCountedThreadSafe<MediaLog>; base 23 media/base/media_log_event.h scoped_ptr<base::DictionaryValue> event_copy(event.params.DeepCopy()); base 98 media/base/media_log_event.h base::DictionaryValue params; base 99 media/base/media_log_event.h base::TimeTicks time; base 38 media/base/media_posix.cc static const base::FilePath::CharType kSumoLib[] = base 42 media/base/media_posix.cc static const base::FilePath::CharType kSumoLib[] = base 48 media/base/media_posix.cc bool InitializeMediaLibraryInternal(const base::FilePath& module_dir) { base 14 media/base/media_stub.cc bool InitializeMediaLibraryInternal(const base::FilePath& module_dir) { base 21 media/base/media_win.cc bool InitializeMediaLibraryInternal(const base::FilePath& module_dir) { base 19 media/base/mock_demuxer_host.h MOCK_METHOD2(AddBufferedTimeRange, void(base::TimeDelta start, base 20 media/base/mock_demuxer_host.h base::TimeDelta end)); base 21 media/base/mock_demuxer_host.h MOCK_METHOD1(SetDuration, void(base::TimeDelta duration)); base 37 media/base/mock_filters.h MOCK_METHOD2(Seek, void(base::TimeDelta time, const PipelineStatusCB& cb)); base 38 media/base/mock_filters.h MOCK_METHOD1(Stop, void(const base::Closure& callback)); base 41 media/base/mock_filters.h MOCK_CONST_METHOD0(GetStartTime, base::TimeDelta()); base 81 media/base/mock_filters.h MOCK_METHOD1(Reset, void(const base::Closure&)); base 100 media/base/mock_filters.h MOCK_METHOD1(Reset, void(const base::Closure&)); base 117 media/base/mock_filters.h const base::Closure& ended_cb, base 121 media/base/mock_filters.h MOCK_METHOD1(Play, void(const base::Closure& callback)); base 122 media/base/mock_filters.h MOCK_METHOD1(Pause, void(const base::Closure& callback)); base 123 media/base/mock_filters.h MOCK_METHOD1(Flush, void(const base::Closure& callback)); base 124 media/base/mock_filters.h MOCK_METHOD2(Preroll, void(base::TimeDelta time, const PipelineStatusCB& cb)); base 125 media/base/mock_filters.h MOCK_METHOD1(Stop, void(const base::Closure& callback)); base 141 media/base/mock_filters.h const base::Closure& underflow_cb, base 143 media/base/mock_filters.h const base::Closure& ended_cb, base 144 media/base/mock_filters.h const base::Closure& disabled_cb, base 146 media/base/mock_filters.h MOCK_METHOD1(Play, void(const base::Closure& callback)); base 147 media/base/mock_filters.h MOCK_METHOD1(Pause, void(const base::Closure& callback)); base 148 media/base/mock_filters.h MOCK_METHOD1(Flush, void(const base::Closure& callback)); base 149 media/base/mock_filters.h MOCK_METHOD1(Stop, void(const base::Closure& callback)); base 151 media/base/mock_filters.h MOCK_METHOD2(Preroll, void(base::TimeDelta time, const PipelineStatusCB& cb)); base 164 media/base/mock_filters.h MOCK_METHOD5(addWebVTTCue, void(const base::TimeDelta& start, base 165 media/base/mock_filters.h const base::TimeDelta& end, base 25 media/base/multi_channel_resampler.cc io_sample_rate_ratio, request_size, base::Bind( base 26 media/base/multi_channel_resampler.cc &MultiChannelResampler::ProvideInput, base::Unretained(this), i))); base 26 media/base/multi_channel_resampler.h typedef base::Callback<void(int frame_delay, AudioBus* audio_bus)> ReadCB; base 67 media/base/multi_channel_resampler_unittest.cc channels, kScaleFactor, SincResampler::kDefaultRequestSize, base::Bind( base 68 media/base/multi_channel_resampler_unittest.cc &MultiChannelResamplerTest::ProvideInput, base::Unretained(this))); base 31 media/base/pipeline.cc using base::TimeDelta; base 36 media/base/pipeline.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 72 media/base/pipeline.cc const base::Closure& ended_cb, base 76 media/base/pipeline.cc const base::Closure& preroll_completed_cb, base 77 media/base/pipeline.cc const base::Closure& duration_change_cb) { base 84 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 97 media/base/pipeline.cc FROM_HERE, base::Bind(&Pipeline::StartTask, base::Unretained(this))); base 100 media/base/pipeline.cc void Pipeline::Stop(const base::Closure& stop_cb) { base 101 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 102 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 103 media/base/pipeline.cc &Pipeline::StopTask, base::Unretained(this), stop_cb)); base 107 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 113 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 114 media/base/pipeline.cc &Pipeline::SeekTask, base::Unretained(this), time, seek_cb)); base 118 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 123 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 131 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 134 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 135 media/base/pipeline.cc &Pipeline::PlaybackRateChangedTask, base::Unretained(this), base 141 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 149 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 152 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 153 media/base/pipeline.cc &Pipeline::VolumeChangedTask, base::Unretained(this), volume)); base 158 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 163 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 183 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 188 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 193 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 200 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 217 media/base/pipeline.cc creation_time_ = base::TimeTicks(); base 297 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 298 media/base/pipeline.cc &Pipeline::AddTextStreamTask, base::Unretained(this), base 303 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 304 media/base/pipeline.cc &Pipeline::RemoveTextStreamTask, base::Unretained(this), base 313 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 314 media/base/pipeline.cc &Pipeline::ErrorChangedTask, base::Unretained(this), error)); base 321 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 322 media/base/pipeline.cc &Pipeline::AudioDisabledTask, base::Unretained(this))); base 330 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 349 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 370 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 380 media/base/pipeline.cc base::Int64ToString(total_bytes))); base 387 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 410 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 411 media/base/pipeline.cc &Pipeline::StateTransitionTask, base::Unretained(this), status)); base 439 media/base/pipeline.cc PipelineStatusCB done_cb = base::Bind( base 440 media/base/pipeline.cc &Pipeline::OnStateTransition, base::Unretained(this)); base 457 media/base/pipeline.cc base::AutoLock l(lock_); base 484 media/base/pipeline.cc base::AutoLock l(lock_); base 501 media/base/pipeline.cc return base::ResetAndReturn(&seek_cb_).Run(PIPELINE_OK); base 523 media/base/pipeline.cc base::TimeDelta seek_timestamp = demuxer_->GetStartTime(); base 527 media/base/pipeline.cc bound_fns.Push(base::Bind( base 528 media/base/pipeline.cc &AudioRenderer::Preroll, base::Unretained(audio_renderer_.get()), base 533 media/base/pipeline.cc bound_fns.Push(base::Bind( base 534 media/base/pipeline.cc &VideoRenderer::Preroll, base::Unretained(video_renderer_.get()), base 542 media/base/pipeline.cc base::TimeDelta seek_timestamp, base 550 media/base/pipeline.cc bound_fns.Push(base::Bind( base 551 media/base/pipeline.cc &AudioRenderer::Pause, base::Unretained(audio_renderer_.get()))); base 554 media/base/pipeline.cc bound_fns.Push(base::Bind( base 555 media/base/pipeline.cc &VideoRenderer::Pause, base::Unretained(video_renderer_.get()))); base 558 media/base/pipeline.cc bound_fns.Push(base::Bind( base 559 media/base/pipeline.cc &TextRenderer::Pause, base::Unretained(text_renderer_.get()))); base 564 media/base/pipeline.cc bound_fns.Push(base::Bind( base 565 media/base/pipeline.cc &AudioRenderer::Flush, base::Unretained(audio_renderer_.get()))); base 568 media/base/pipeline.cc bound_fns.Push(base::Bind( base 569 media/base/pipeline.cc &VideoRenderer::Flush, base::Unretained(video_renderer_.get()))); base 572 media/base/pipeline.cc bound_fns.Push(base::Bind( base 573 media/base/pipeline.cc &TextRenderer::Flush, base::Unretained(text_renderer_.get()))); base 577 media/base/pipeline.cc bound_fns.Push(base::Bind( base 578 media/base/pipeline.cc &Demuxer::Seek, base::Unretained(demuxer_), seek_timestamp)); base 582 media/base/pipeline.cc bound_fns.Push(base::Bind( base 583 media/base/pipeline.cc &AudioRenderer::Preroll, base::Unretained(audio_renderer_.get()), base 588 media/base/pipeline.cc bound_fns.Push(base::Bind( base 589 media/base/pipeline.cc &VideoRenderer::Preroll, base::Unretained(video_renderer_.get()), base 605 media/base/pipeline.cc bound_fns.Push(base::Bind( base 606 media/base/pipeline.cc &AudioRenderer::Play, base::Unretained(audio_renderer_.get()))); base 610 media/base/pipeline.cc bound_fns.Push(base::Bind( base 611 media/base/pipeline.cc &VideoRenderer::Play, base::Unretained(video_renderer_.get()))); base 615 media/base/pipeline.cc bound_fns.Push(base::Bind( base 616 media/base/pipeline.cc &TextRenderer::Play, base::Unretained(text_renderer_.get()))); base 628 media/base/pipeline.cc bound_fns.Push(base::Bind( base 629 media/base/pipeline.cc &Demuxer::Stop, base::Unretained(demuxer_))); base 633 media/base/pipeline.cc bound_fns.Push(base::Bind( base 634 media/base/pipeline.cc &AudioRenderer::Stop, base::Unretained(audio_renderer_.get()))); base 638 media/base/pipeline.cc bound_fns.Push(base::Bind( base 639 media/base/pipeline.cc &VideoRenderer::Stop, base::Unretained(video_renderer_.get()))); base 643 media/base/pipeline.cc bound_fns.Push(base::Bind( base 644 media/base/pipeline.cc &TextRenderer::Stop, base::Unretained(text_renderer_.get()))); base 654 media/base/pipeline.cc base::AutoLock l(lock_); base 669 media/base/pipeline.cc base::ResetAndReturn(&seek_cb_).Run(status_); base 674 media/base/pipeline.cc base::ResetAndReturn(&stop_cb_).Run(); base 682 media/base/pipeline.cc base::ResetAndReturn(&error_cb_).Run(status_); base 687 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 692 media/base/pipeline.cc void Pipeline::AddBufferedTimeRange(base::TimeDelta start, base 693 media/base/pipeline.cc base::TimeDelta end) { base 695 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 702 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 703 media/base/pipeline.cc &Pipeline::DoAudioRendererEnded, base::Unretained(this))); base 709 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 710 media/base/pipeline.cc &Pipeline::DoVideoRendererEnded, base::Unretained(this))); base 716 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 717 media/base/pipeline.cc &Pipeline::DoTextRendererEnded, base::Unretained(this))); base 723 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 739 media/base/pipeline.cc base::Bind(&Pipeline::OnTextRendererEnded, base::Unretained(this))); base 745 media/base/pipeline.cc void Pipeline::StopTask(const base::Closure& stop_cb) { base 762 media/base/pipeline.cc DoStop(base::Bind(&Pipeline::OnStopCompleted, base::Unretained(this))); base 776 media/base/pipeline.cc DoStop(base::Bind(&Pipeline::OnStopCompleted, base::Unretained(this))); base 787 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 827 media/base/pipeline.cc base::TimeDelta seek_timestamp = std::max(time, demuxer_->GetStartTime()); base 835 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 840 media/base/pipeline.cc DoSeek(seek_timestamp, base::Bind( base 841 media/base/pipeline.cc &Pipeline::OnStateTransition, base::Unretained(this))); base 855 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 900 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 911 media/base/pipeline.cc base::AutoLock auto_lock(lock_); base 949 media/base/pipeline.cc base::Bind(&Pipeline::OnUpdateStatistics, base::Unretained(this)), base 950 media/base/pipeline.cc base::Bind(&Pipeline::OnAudioUnderflow, base::Unretained(this)), base 951 media/base/pipeline.cc base::Bind(&Pipeline::OnAudioTimeUpdate, base::Unretained(this)), base 952 media/base/pipeline.cc base::Bind(&Pipeline::OnAudioRendererEnded, base::Unretained(this)), base 953 media/base/pipeline.cc base::Bind(&Pipeline::OnAudioDisabled, base::Unretained(this)), base 954 media/base/pipeline.cc base::Bind(&Pipeline::SetError, base::Unretained(this))); base 964 media/base/pipeline.cc base::Bind(&Pipeline::OnUpdateStatistics, base::Unretained(this)), base 965 media/base/pipeline.cc base::Bind(&Pipeline::OnVideoTimeUpdate, base::Unretained(this)), base 966 media/base/pipeline.cc base::Bind(&Pipeline::OnVideoRendererEnded, base::Unretained(this)), base 967 media/base/pipeline.cc base::Bind(&Pipeline::SetError, base::Unretained(this)), base 968 media/base/pipeline.cc base::Bind(&Pipeline::GetMediaTime, base::Unretained(this)), base 969 media/base/pipeline.cc base::Bind(&Pipeline::GetMediaDuration, base::Unretained(this))); base 974 media/base/pipeline.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 975 media/base/pipeline.cc &Pipeline::OnAudioUnderflow, base::Unretained(this))); base 23 media/base/pipeline.h namespace base { base 46 media/base/pipeline.h typedef base::Callback<void(PipelineMetadata)> PipelineMetadataCB; base 82 media/base/pipeline.h Pipeline(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 108 media/base/pipeline.h const base::Closure& ended_cb, base 112 media/base/pipeline.h const base::Closure& preroll_completed_cb, base 113 media/base/pipeline.h const base::Closure& duration_change_cb); base 122 media/base/pipeline.h void Stop(const base::Closure& stop_cb); base 131 media/base/pipeline.h void Seek(base::TimeDelta time, const PipelineStatusCB& seek_cb); base 163 media/base/pipeline.h base::TimeDelta GetMediaTime() const; base 166 media/base/pipeline.h Ranges<base::TimeDelta> GetBufferedTimeRanges(); base 170 media/base/pipeline.h base::TimeDelta GetMediaDuration() const; base 221 media/base/pipeline.h virtual void AddBufferedTimeRange(base::TimeDelta start, base 222 media/base/pipeline.h base::TimeDelta end) OVERRIDE; base 225 media/base/pipeline.h virtual void SetDuration(base::TimeDelta duration) OVERRIDE; base 248 media/base/pipeline.h void OnAudioTimeUpdate(base::TimeDelta time, base::TimeDelta max_time); base 251 media/base/pipeline.h void OnVideoTimeUpdate(base::TimeDelta max_time); base 259 media/base/pipeline.h void StopTask(const base::Closure& stop_cb); base 272 media/base/pipeline.h void SeekTask(base::TimeDelta time, const PipelineStatusCB& seek_cb); base 306 media/base/pipeline.h base::TimeDelta TimeForByteOffset_Locked(int64 byte_offset) const; base 321 media/base/pipeline.h void DoSeek(base::TimeDelta seek_timestamp, const PipelineStatusCB& done_cb); base 337 media/base/pipeline.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 343 media/base/pipeline.h mutable base::Lock lock_; base 350 media/base/pipeline.h Ranges<base::TimeDelta> buffered_time_ranges_; base 370 media/base/pipeline.h base::DefaultTickClock default_tick_clock_; base 406 media/base/pipeline.h base::Closure stop_cb_; base 409 media/base/pipeline.h base::Closure ended_cb_; base 412 media/base/pipeline.h base::Closure preroll_completed_cb_; base 413 media/base/pipeline.h base::Closure duration_change_cb_; base 431 media/base/pipeline.h base::TimeTicks creation_time_; base 435 media/base/pipeline.h base::ThreadChecker thread_checker_; base 39 media/base/pipeline_status.h typedef base::Callback<void(PipelineStatus)> PipelineStatusCB; base 57 media/base/pipeline_status.h typedef base::Callback<void(const PipelineStatistics&)> StatisticsCB; base 100 media/base/pipeline_unittest.cc base::Bind(&PipelineTest::OnAddTextTrack, base 101 media/base/pipeline_unittest.cc base::Unretained(this))); base 112 media/base/pipeline_unittest.cc .WillRepeatedly(Return(base::TimeDelta())); base 130 media/base/pipeline_unittest.cc pipeline_->Stop(base::Bind(&CallbackHelper::OnStop, base 131 media/base/pipeline_unittest.cc base::Unretained(&callbacks_))); base 139 media/base/pipeline_unittest.cc const base::TimeDelta& duration) { base 155 media/base/pipeline_unittest.cc InitializeDemuxer(streams, base::TimeDelta::FromSeconds(10)); base 212 media/base/pipeline_unittest.cc EXPECT_CALL(*audio_renderer_, Preroll(base::TimeDelta(), _)) base 229 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnEnded, base::Unretained(&callbacks_)), base 230 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnError, base::Unretained(&callbacks_)), base 231 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnStart, base::Unretained(&callbacks_)), base 232 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnMetadata, base::Unretained(&callbacks_)), base 233 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnPrerollCompleted, base 234 media/base/pipeline_unittest.cc base::Unretained(&callbacks_)), base 235 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnDurationChange, base 236 media/base/pipeline_unittest.cc base::Unretained(&callbacks_))); base 266 media/base/pipeline_unittest.cc void ExpectSeek(const base::TimeDelta& seek_time) { base 302 media/base/pipeline_unittest.cc void DoSeek(const base::TimeDelta& seek_time) { base 304 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnSeek, base 305 media/base/pipeline_unittest.cc base::Unretained(&callbacks_))); base 335 media/base/pipeline_unittest.cc base::SimpleTestTickClock test_tick_clock_; base 336 media/base/pipeline_unittest.cc base::MessageLoop message_loop_; base 359 media/base/pipeline_unittest.cc const base::TimeDelta kZero; base 393 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnEnded, base::Unretained(&callbacks_)), base 394 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnError, base::Unretained(&callbacks_)), base 395 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnStart, base::Unretained(&callbacks_)), base 396 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnMetadata, base::Unretained(&callbacks_)), base 397 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnPrerollCompleted, base 398 media/base/pipeline_unittest.cc base::Unretained(&callbacks_)), base 399 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnDurationChange, base 400 media/base/pipeline_unittest.cc base::Unretained(&callbacks_))); base 516 media/base/pipeline_unittest.cc InitializeDemuxer(&streams, base::TimeDelta::FromSeconds(3000)); base 527 media/base/pipeline_unittest.cc base::TimeDelta expected = base::TimeDelta::FromSeconds(2000); base 554 media/base/pipeline_unittest.cc const base::TimeDelta kDuration = base::TimeDelta::FromSeconds(100); base 570 media/base/pipeline_unittest.cc const base::TimeDelta kDuration = base::TimeDelta::FromSeconds(100); base 583 media/base/pipeline_unittest.cc EXPECT_EQ(base::TimeDelta(), pipeline_->GetBufferedTimeRanges().start(0)); base 585 media/base/pipeline_unittest.cc pipeline_->AddBufferedTimeRange(base::TimeDelta(), kDuration / 8); base 586 media/base/pipeline_unittest.cc EXPECT_EQ(base::TimeDelta(), pipeline_->GetBufferedTimeRanges().start(0)); base 589 media/base/pipeline_unittest.cc base::TimeDelta kSeekTime = kDuration / 2; base 600 media/base/pipeline_unittest.cc EXPECT_EQ(base::TimeDelta(), pipeline_->GetBufferedTimeRanges().start(0)); base 607 media/base/pipeline_unittest.cc EXPECT_EQ(base::TimeDelta(), pipeline_->GetBufferedTimeRanges().start(0)); base 689 media/base/pipeline_unittest.cc base::TimeDelta duration = base::TimeDelta::FromSeconds(10); base 719 media/base/pipeline_unittest.cc test_tick_clock_.Advance(base::TimeDelta::FromMilliseconds(100)); base 728 media/base/pipeline_unittest.cc test_tick_clock_.Advance(base::TimeDelta::FromMilliseconds(100)); base 750 media/base/pipeline_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromSeconds(5); base 765 media/base/pipeline_unittest.cc pipeline_->Seek(seek_time, base::Bind(&CallbackHelper::OnSeek, base 766 media/base/pipeline_unittest.cc base::Unretained(&callbacks_))); base 774 media/base/pipeline_unittest.cc Pipeline* pipeline, base::MessageLoop* message_loop, base 800 media/base/pipeline_unittest.cc base::Callback<void(PipelineStatus)> cb = base::Bind( base 803 media/base/pipeline_unittest.cc .WillByDefault(Invoke(&cb, &base::Callback<void(PipelineStatus)>::Run)); base 805 media/base/pipeline_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromSeconds(5); base 820 media/base/pipeline_unittest.cc pipeline_->Seek(seek_time, base::Bind(&CallbackHelper::OnSeek, base 821 media/base/pipeline_unittest.cc base::Unretained(&callbacks_))); base 831 media/base/pipeline_unittest.cc const base::TimeDelta kDuration = base::TimeDelta::FromSeconds(100); base 839 media/base/pipeline_unittest.cc EXPECT_EQ(base::TimeDelta(), pipeline_->GetMediaTime()); base 843 media/base/pipeline_unittest.cc const base::TimeDelta kStartTime = base::TimeDelta::FromSeconds(4); base 844 media/base/pipeline_unittest.cc const base::TimeDelta kDuration = base::TimeDelta::FromSeconds(100); base 866 media/base/pipeline_unittest.cc time_cb.Run(base::TimeDelta::FromMilliseconds(time_in_ms), base 867 media/base/pipeline_unittest.cc base::TimeDelta::FromMilliseconds(max_time_in_ms)); base 886 media/base/pipeline_unittest.cc audio_time_cb_.Run(base::TimeDelta::FromMilliseconds(100), base 887 media/base/pipeline_unittest.cc base::TimeDelta::FromMilliseconds(500)); base 889 media/base/pipeline_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromSeconds(5); base 894 media/base/pipeline_unittest.cc base::Closure closure = base::Bind(&RunTimeCB, audio_time_cb_, 300, 700); base 896 media/base/pipeline_unittest.cc .WillOnce(DoAll(InvokeWithoutArgs(&closure, &base::Closure::Run), base 918 media/base/pipeline_unittest.cc base::TimeDelta new_time = seek_time + base::TimeDelta::FromMilliseconds(100); base 939 media/base/pipeline_unittest.cc pipeline->Stop(base::Bind(&DeletePipeline, base::Passed(&pipeline_))); base 1001 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnEnded, base::Unretained(&callbacks_)), base 1002 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnError, base::Unretained(&callbacks_)), base 1003 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnStart, base::Unretained(&callbacks_)), base 1004 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnMetadata, base::Unretained(&callbacks_)), base 1005 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnPrerollCompleted, base 1006 media/base/pipeline_unittest.cc base::Unretained(&callbacks_)), base 1007 media/base/pipeline_unittest.cc base::Bind(&CallbackHelper::OnDurationChange, base 1008 media/base/pipeline_unittest.cc base::Unretained(&callbacks_))); base 1015 media/base/pipeline_unittest.cc base::Closure stop_cb = base::Bind( base 1016 media/base/pipeline_unittest.cc &CallbackHelper::OnStop, base::Unretained(&callbacks_)); base 1039 media/base/pipeline_unittest.cc InitializeDemuxer(&streams, base::TimeDelta::FromSeconds(3000)); base 1085 media/base/pipeline_unittest.cc EXPECT_CALL(*audio_renderer_, Preroll(base::TimeDelta(), _)) base 1087 media/base/pipeline_unittest.cc EXPECT_CALL(*video_renderer_, Preroll(base::TimeDelta(), _)) base 1118 media/base/pipeline_unittest.cc pipeline_->Seek(base::TimeDelta::FromSeconds(10), base::Bind( base 1119 media/base/pipeline_unittest.cc &CallbackHelper::OnSeek, base::Unretained(&callbacks_))); base 1126 media/base/pipeline_unittest.cc base::Closure stop_cb = base::Bind( base 1127 media/base/pipeline_unittest.cc &CallbackHelper::OnStop, base::Unretained(&callbacks_)); base 1228 media/base/pipeline_unittest.cc pipeline_->Stop(base::Bind( base 1229 media/base/pipeline_unittest.cc &CallbackHelper::OnStop, base::Unretained(&callbacks_))); base 1240 media/base/pipeline_unittest.cc pipeline_->Stop(base::Bind( base 1241 media/base/pipeline_unittest.cc &CallbackHelper::OnStop, base::Unretained(&callbacks_))); base 10 media/base/ranges.cc void Ranges<base::TimeDelta>::DCheckLT(const base::TimeDelta& lhs, base 11 media/base/ranges.cc const base::TimeDelta& rhs) const { base 108 media/base/ranges.h Ranges<base::TimeDelta>::DCheckLT(const base::TimeDelta& lhs, base 109 media/base/ranges.h const base::TimeDelta& rhs) const; base 27 media/base/ranges_unittest.cc const base::StringPiece& expected_string) { base 19 media/base/run_all_perftests.cc class TestSuiteNoAtExit : public base::TestSuite { base 29 media/base/run_all_perftests.cc base::TestSuite::Initialize(); base 33 media/base/run_all_perftests.cc JNIEnv* env = base::android::AttachCurrentThread(); base 52 media/base/run_all_perftests.cc return base::LaunchUnitTestsSerially( base 53 media/base/run_all_perftests.cc argc, argv, base::Bind(&TestSuiteNoAtExit::Run, base 54 media/base/run_all_perftests.cc base::Unretained(&test_suite))); base 19 media/base/run_all_unittests.cc class TestSuiteNoAtExit : public base::TestSuite { base 29 media/base/run_all_unittests.cc base::TestSuite::Initialize(); base 33 media/base/run_all_unittests.cc JNIEnv* env = base::android::AttachCurrentThread(); base 49 media/base/run_all_unittests.cc return base::LaunchUnitTests( base 50 media/base/run_all_unittests.cc argc, argv, base::Bind(&TestSuiteNoAtExit::Run, base 51 media/base/run_all_unittests.cc base::Unretained(&test_suite))); base 23 media/base/scoped_histogram_timer.h ScopedHistogramTimer##key() : constructed_(base::TimeTicks::Now()) {} \ base 25 media/base/scoped_histogram_timer.h base::TimeDelta elapsed = base::TimeTicks::Now() - constructed_; \ base 29 media/base/scoped_histogram_timer.h base::TimeTicks constructed_; \ base 273 media/base/seekable_buffer.cc base::TimeDelta::FromMicroseconds(time_offset); base 129 media/base/seekable_buffer.h base::TimeDelta current_time() const { return current_time_; } base 177 media/base/seekable_buffer.h base::TimeDelta current_time_; base 337 media/base/seekable_buffer_unittest.cc buffer->set_timestamp(base::TimeDelta::FromMicroseconds( base 339 media/base/seekable_buffer_unittest.cc buffer->set_duration(base::TimeDelta::FromMicroseconds( base 21 media/base/serial_runner.cc bound_closure.Run(base::Bind(status_cb, PIPELINE_OK)); base 26 media/base/serial_runner.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 31 media/base/serial_runner.cc task_runner->PostTask(FROM_HERE, base::Bind(status_cb, last_status)); base 39 media/base/serial_runner.cc bound_fns_.push(base::Bind(&RunBoundClosure, bound_closure)); base 59 media/base/serial_runner.cc : task_runner_(base::MessageLoopProxy::current()), base 67 media/base/serial_runner.cc base::Bind(&SerialRunner::RunNextInSeries, base 90 media/base/serial_runner.cc base::ResetAndReturn(&done_cb_).Run(last_status); base 95 media/base/serial_runner.cc bound_fn.Run(base::Bind( base 98 media/base/serial_runner.cc base::Bind(&SerialRunner::RunNextInSeries, weak_factory_.GetWeakPtr()))); base 17 media/base/serial_runner.h namespace base { base 28 media/base/serial_runner.h typedef base::Callback<void(const base::Closure&)> BoundClosure; base 29 media/base/serial_runner.h typedef base::Callback<void(const PipelineStatusCB&)> BoundPipelineStatusCB; base 67 media/base/serial_runner.h friend struct base::DefaultDeleter<SerialRunner>; base 74 media/base/serial_runner.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 79 media/base/serial_runner.h base::WeakPtrFactory<SerialRunner> weak_factory_; base 21 media/base/serial_runner_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 22 media/base/serial_runner_unittest.cc &SerialRunnerTest::StartRunnerInternal, base::Unretained(this), base 31 media/base/serial_runner_unittest.cc bound_fns_.Push(base::Bind(&SerialRunnerTest::RunBoundFunction, base 32 media/base/serial_runner_unittest.cc base::Unretained(this), base 41 media/base/serial_runner_unittest.cc bound_fns_.Push(base::Bind(&SerialRunnerTest::CancelSerialRunner, base 42 media/base/serial_runner_unittest.cc base::Unretained(this))); base 58 media/base/serial_runner_unittest.cc << base::debug::StackTrace().ToString(); base 66 media/base/serial_runner_unittest.cc runner_ = SerialRunner::Run(bound_fns_, base::Bind( base 67 media/base/serial_runner_unittest.cc &SerialRunnerTest::DoneCallback, base::Unretained(this))); base 74 media/base/serial_runner_unittest.cc << base::debug::StackTrace().ToString(); base 83 media/base/serial_runner_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 84 media/base/serial_runner_unittest.cc &SerialRunnerTest::ResetSerialRunner, base::Unretained(this))); base 92 media/base/serial_runner_unittest.cc base::MessageLoop message_loop_; base 48 media/base/simd/convert_rgb_to_yuv_unittest.cc base::CPU cpu; base 127 media/base/sinc_resampler.cc g_convolve_proc_ = base::CPU().has_sse() ? Convolve_SSE : Convolve_C; base 148 media/base/sinc_resampler.cc base::AlignedAlloc(sizeof(float) * kKernelStorageSize, 16))), base 150 media/base/sinc_resampler.cc base::AlignedAlloc(sizeof(float) * kKernelStorageSize, 16))), base 152 media/base/sinc_resampler.cc base::AlignedAlloc(sizeof(float) * kKernelStorageSize, 16))), base 154 media/base/sinc_resampler.cc base::AlignedAlloc(sizeof(float) * input_buffer_size_, 16))), base 175 media/base/sinc_resampler.cc CHECK(!base::AtomicRefCountDec(¬_currently_resampling_)); base 259 media/base/sinc_resampler.cc CHECK(!base::AtomicRefCountDec(¬_currently_resampling_)); base 310 media/base/sinc_resampler.cc base::AtomicRefCountInc(¬_currently_resampling_); base 331 media/base/sinc_resampler.cc base::AtomicRefCountInc(¬_currently_resampling_); base 341 media/base/sinc_resampler.cc CHECK(base::AtomicRefCountIsOne(¬_currently_resampling_)); base 45 media/base/sinc_resampler.h typedef base::Callback<void(int frames, float* destination)> ReadCB; base 124 media/base/sinc_resampler.h scoped_ptr<float[], base::AlignedFreeDeleter> kernel_storage_; base 125 media/base/sinc_resampler.h scoped_ptr<float[], base::AlignedFreeDeleter> kernel_pre_sinc_storage_; base 126 media/base/sinc_resampler.h scoped_ptr<float[], base::AlignedFreeDeleter> kernel_window_storage_; base 129 media/base/sinc_resampler.h scoped_ptr<float[], base::AlignedFreeDeleter> input_buffer_; base 142 media/base/sinc_resampler.h base::AtomicRefCount not_currently_resampling_; base 36 media/base/sinc_resampler_perftest.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 44 media/base/sinc_resampler_perftest.cc (base::TimeTicks::HighResNow() - start).InMillisecondsF(); base 58 media/base/sinc_resampler_perftest.cc base::Bind(&DoNothing)); base 65 media/base/sinc_resampler_perftest.cc ASSERT_TRUE(base::CPU().has_sse()); base 52 media/base/sinc_resampler_unittest.cc base::Bind(&MockSource::ProvideInput, base::Unretained(&mock_source))); base 75 media/base/sinc_resampler_unittest.cc base::Bind(&MockSource::ProvideInput, base::Unretained(&mock_source))); base 99 media/base/sinc_resampler_unittest.cc base::Bind(&MockSource::ProvideInput, base::Unretained(&mock_source))); base 101 media/base/sinc_resampler_unittest.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 105 media/base/sinc_resampler_unittest.cc (base::TimeTicks::HighResNow() - start).InMillisecondsF(); base 125 media/base/sinc_resampler_unittest.cc ASSERT_TRUE(base::CPU().has_sse()); base 132 media/base/sinc_resampler_unittest.cc base::Bind(&MockSource::ProvideInput, base::Unretained(&mock_source))); base 249 media/base/sinc_resampler_unittest.cc base::Bind(&SinusoidalLinearChirpSource::ProvideInput, base 250 media/base/sinc_resampler_unittest.cc base::Unretained(&resampler_source))); base 45 media/base/stream_parser.cc base::TimeDelta last_decode_timestamp = kNoTimestamp(); base 67 media/base/stream_parser.cc base::TimeDelta next_decode_timestamp = kNoTimestamp(); base 76 media/base/stream_parser.cc base::TimeDelta ts = (*itrs[i])->GetDecodeTimestamp(); base 61 media/base/stream_parser.h typedef base::Callback<void(bool, base::TimeDelta, bool)> InitCB; base 73 media/base/stream_parser.h typedef base::Callback<bool(const AudioDecoderConfig&, base 87 media/base/stream_parser.h typedef base::Callback<bool(const BufferQueue&, base 92 media/base/stream_parser.h typedef base::Callback<void()> NewMediaSegmentCB; base 98 media/base/stream_parser.h typedef base::Callback<void(const std::string&, base 112 media/base/stream_parser.h const base::Closure& end_of_segment_cb, base 63 media/base/stream_parser_buffer.cc base::TimeDelta StreamParserBuffer::GetDecodeTimestamp() const { base 69 media/base/stream_parser_buffer.cc void StreamParserBuffer::SetDecodeTimestamp(const base::TimeDelta& timestamp) { base 38 media/base/stream_parser_buffer.h base::TimeDelta GetDecodeTimestamp() const; base 39 media/base/stream_parser_buffer.h void SetDecodeTimestamp(const base::TimeDelta& timestamp); base 73 media/base/stream_parser_buffer.h base::TimeDelta decode_timestamp_; base 56 media/base/stream_parser_unittest.cc base::TimeDelta::FromMicroseconds(decode_timestamps[i])); base 15 media/base/test_data_util.cc base::FilePath GetTestDataFilePath(const std::string& name) { base 16 media/base/test_data_util.cc base::FilePath file_path; base 17 media/base/test_data_util.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &file_path)); base 26 media/base/test_data_util.cc base::FilePath file_path = GetTestDataFilePath(name); base 29 media/base/test_data_util.cc CHECK(base::GetFileSize(file_path, &tmp)) base 32 media/base/test_data_util.cc int file_size = base::checked_cast<int>(tmp); base 36 media/base/test_data_util.cc base::ReadFile( base 20 media/base/test_data_util.h base::FilePath GetTestDataFilePath(const std::string& name); base 25 media/base/test_helpers.cc class MockCallback : public base::RefCountedThreadSafe<MockCallback> { base 42 media/base/test_helpers.cc base::Closure NewExpectedClosure() { base 45 media/base/test_helpers.cc return base::Bind(&MockCallback::Run, callback); base 51 media/base/test_helpers.cc return base::Bind(&MockCallback::RunWithStatus, callback); base 55 media/base/test_helpers.cc : message_loop_(base::MessageLoop::current()), base 63 media/base/test_helpers.cc base::Closure WaitableMessageLoopEvent::GetClosure() { base 64 media/base/test_helpers.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 65 media/base/test_helpers.cc return BindToCurrentLoop(base::Bind( base 66 media/base/test_helpers.cc &WaitableMessageLoopEvent::OnCallback, base::Unretained(this), base 71 media/base/test_helpers.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 72 media/base/test_helpers.cc return BindToCurrentLoop(base::Bind( base 73 media/base/test_helpers.cc &WaitableMessageLoopEvent::OnCallback, base::Unretained(this))); base 81 media/base/test_helpers.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 87 media/base/test_helpers.cc base::Timer timer(false, false); base 88 media/base/test_helpers.cc timer.Start(FROM_HERE, TestTimeouts::action_timeout(), base::Bind( base 89 media/base/test_helpers.cc &WaitableMessageLoopEvent::OnTimeout, base::Unretained(this))); base 97 media/base/test_helpers.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 104 media/base/test_helpers.cc DCHECK_EQ(message_loop_, base::MessageLoop::current()); base 159 media/base/test_helpers.cc base::TimeDelta timestamp, base 160 media/base/test_helpers.cc base::TimeDelta duration) { base 207 media/base/test_helpers.cc base::TimeDelta start_time, \ base 208 media/base/test_helpers.cc base::TimeDelta duration) base 218 media/base/test_helpers.cc base::TimeDelta timestamp, base::TimeDelta duration) { base 17 media/base/test_helpers.h namespace base { base 28 media/base/test_helpers.h base::Closure NewExpectedClosure(); base 41 media/base/test_helpers.h base::Closure GetClosure(); base 59 media/base/test_helpers.h base::MessageLoop* message_loop_; base 122 media/base/test_helpers.h base::TimeDelta timestamp, base 123 media/base/test_helpers.h base::TimeDelta duration); base 130 media/base/test_helpers.h base::TimeDelta timestamp, base 131 media/base/test_helpers.h base::TimeDelta duration); base 9 media/base/text_cue.cc TextCue::TextCue(const base::TimeDelta& timestamp, base 10 media/base/text_cue.cc const base::TimeDelta& duration, base 18 media/base/text_cue.h : public base::RefCountedThreadSafe<TextCue> { base 20 media/base/text_cue.h TextCue(const base::TimeDelta& timestamp, base 21 media/base/text_cue.h const base::TimeDelta& duration, base 27 media/base/text_cue.h base::TimeDelta timestamp() const { return timestamp_; } base 28 media/base/text_cue.h base::TimeDelta duration() const { return duration_; } base 34 media/base/text_cue.h friend class base::RefCountedThreadSafe<TextCue>; base 37 media/base/text_cue.h base::TimeDelta timestamp_; base 38 media/base/text_cue.h base::TimeDelta duration_; base 22 media/base/text_ranges.cc bool TextRanges::AddCue(base::TimeDelta start_time) { base 92 media/base/text_ranges.cc void TextRanges::NewRange(base::TimeDelta start_time) { base 111 media/base/text_ranges.cc void TextRanges::Range::ResetCount(base::TimeDelta start_time) { base 115 media/base/text_ranges.cc void TextRanges::Range::SetLastTime(base::TimeDelta last_time) { base 121 media/base/text_ranges.cc bool TextRanges::Range::AddCue(base::TimeDelta start_time) { base 137 media/base/text_ranges.cc base::TimeDelta TextRanges::Range::last_time() const { base 35 media/base/text_ranges.h bool AddCue(base::TimeDelta start_time); base 47 media/base/text_ranges.h void ResetCount(base::TimeDelta start_time); base 50 media/base/text_ranges.h void SetLastTime(base::TimeDelta last_time); base 55 media/base/text_ranges.h bool AddCue(base::TimeDelta start_time); base 58 media/base/text_ranges.h base::TimeDelta last_time() const; base 62 media/base/text_ranges.h base::TimeDelta last_time_; base 73 media/base/text_ranges.h typedef std::map<base::TimeDelta, Range> RangeMap; base 78 media/base/text_ranges.h void NewRange(base::TimeDelta start_time); base 15 media/base/text_ranges_unittest.cc return ranges_.AddCue(base::TimeDelta::FromSeconds(seconds)); base 21 media/base/text_renderer.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 36 media/base/text_renderer.cc void TextRenderer::Initialize(const base::Closure& ended_cb) { base 49 media/base/text_renderer.cc void TextRenderer::Play(const base::Closure& callback) { base 68 media/base/text_renderer.cc void TextRenderer::Pause(const base::Closure& callback) { base 76 media/base/text_renderer.cc base::ResetAndReturn(&pause_cb_).Run(); base 83 media/base/text_renderer.cc void TextRenderer::Flush(const base::Closure& callback) { base 97 media/base/text_renderer.cc void TextRenderer::Stop(const base::Closure& cb) { base 110 media/base/text_renderer.cc base::ResetAndReturn(&stop_cb_).Run(); base 129 media/base/text_renderer.cc BindToCurrentLoop(base::Bind(&TextRenderer::OnAddTextTrackDone, base 183 media/base/text_renderer.cc base::ResetAndReturn(&pause_cb_).Run(); base 191 media/base/text_renderer.cc base::ResetAndReturn(&stop_cb_).Run(); base 289 media/base/text_renderer.cc base::ResetAndReturn(&pause_cb_).Run(); base 296 media/base/text_renderer.cc base::ResetAndReturn(&stop_cb_).Run(); base 309 media/base/text_renderer.cc base::TimeDelta start = text_cue->timestamp(); base 312 media/base/text_renderer.cc base::TimeDelta end = start + text_cue->duration(); base 328 media/base/text_renderer.cc base::ResetAndReturn(&pause_cb_).Run(); base 357 media/base/text_renderer.cc text_stream->Read(base::Bind( base 20 media/base/text_renderer.h namespace base { base 39 media/base/text_renderer.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 45 media/base/text_renderer.h void Initialize(const base::Closure& ended_cb); base 49 media/base/text_renderer.h void Play(const base::Closure& callback); base 53 media/base/text_renderer.h void Pause(const base::Closure& callback); base 56 media/base/text_renderer.h void Flush(const base::Closure& callback); base 60 media/base/text_renderer.h void Stop(const base::Closure& callback); base 107 media/base/text_renderer.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 111 media/base/text_renderer.h base::Closure ended_cb_; base 114 media/base/text_renderer.h base::Closure pause_cb_; base 117 media/base/text_renderer.h base::Closure stop_cb_; base 142 media/base/text_renderer.h base::WeakPtrFactory<TextRenderer> weak_factory_; base 32 media/base/text_renderer_unittest.cc FakeTextTrack(const base::Closure& destroy_cb, base 41 media/base/text_renderer_unittest.cc MOCK_METHOD5(addWebVTTCue, void(const base::TimeDelta& start, base 42 media/base/text_renderer_unittest.cc const base::TimeDelta& end, base 47 media/base/text_renderer_unittest.cc const base::Closure destroy_cb_; base 63 media/base/text_renderer_unittest.cc base::Bind(&TextRendererTest::OnAddTextTrack, base 64 media/base/text_renderer_unittest.cc base::Unretained(this)))); base 65 media/base/text_renderer_unittest.cc text_renderer_->Initialize(base::Bind(&TextRendererTest::OnEnd, base 66 media/base/text_renderer_unittest.cc base::Unretained(this))); base 71 media/base/text_renderer_unittest.cc text_renderer_->Stop(base::Bind(&TextRendererTest::OnStop, base 72 media/base/text_renderer_unittest.cc base::Unretained(this))); base 101 media/base/text_renderer_unittest.cc base::Closure destroy_cb = base 102 media/base/text_renderer_unittest.cc base::Bind(&TextRendererTest::OnDestroyTextTrack, base 103 media/base/text_renderer_unittest.cc base::Unretained(this), base 119 media/base/text_renderer_unittest.cc void SatisfyPendingReads(const base::TimeDelta& start, base 120 media/base/text_renderer_unittest.cc const base::TimeDelta& duration, base 157 media/base/text_renderer_unittest.cc const base::TimeDelta start; base 158 media/base/text_renderer_unittest.cc const base::TimeDelta duration = base::TimeDelta::FromSeconds(42); base 188 media/base/text_renderer_unittest.cc text_renderer_->Play(base::Bind(&TextRendererTest::OnPlay, base 189 media/base/text_renderer_unittest.cc base::Unretained(this))); base 194 media/base/text_renderer_unittest.cc text_renderer_->Pause(base::Bind(&TextRendererTest::OnPause, base 195 media/base/text_renderer_unittest.cc base::Unretained(this))); base 201 media/base/text_renderer_unittest.cc text_renderer_->Flush(base::Bind(&TextRendererTest::OnFlush, base 202 media/base/text_renderer_unittest.cc base::Unretained(this))); base 206 media/base/text_renderer_unittest.cc text_renderer_->Stop(base::Bind(&TextRendererTest::OnStop, base 207 media/base/text_renderer_unittest.cc base::Unretained(this))); base 223 media/base/text_renderer_unittest.cc base::MessageLoop message_loop_; base 238 media/base/text_renderer_unittest.cc base::Bind(&TextRendererTest::OnAddTextTrack, base 239 media/base/text_renderer_unittest.cc base::Unretained(this)))); base 21 media/base/text_track.h virtual void addWebVTTCue(const base::TimeDelta& start, base 22 media/base/text_track.h const base::TimeDelta& end, base 28 media/base/text_track.h typedef base::Callback<void base 31 media/base/text_track.h typedef base::Callback<void base 14 media/base/user_input_monitor.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, base 15 media/base/user_input_monitor.cc const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) { base 33 media/base/user_input_monitor.cc base::AutoLock auto_lock(lock_); base 45 media/base/user_input_monitor.cc base::AutoLock auto_lock(lock_); base 56 media/base/user_input_monitor.cc base::AutoLock auto_lock(lock_); base 65 media/base/user_input_monitor.cc base::AutoLock auto_lock(lock_); base 16 media/base/user_input_monitor.h namespace base { base 46 media/base/user_input_monitor.h const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, base 47 media/base/user_input_monitor.h const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner); base 79 media/base/user_input_monitor.h base::Lock lock_; base 38 media/base/user_input_monitor_linux.cc : public base::MessagePumpLibevent::Watcher, base 39 media/base/user_input_monitor_linux.cc public base::SupportsWeakPtr<UserInputMonitorLinuxCore>, base 40 media/base/user_input_monitor_linux.cc public base::MessageLoop::DestructionObserver { base 48 media/base/user_input_monitor_linux.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, base 69 media/base/user_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 76 media/base/user_input_monitor_linux.cc base::MessagePumpLibevent::FileDescriptorWatcher controller_; base 89 media/base/user_input_monitor_linux.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner); base 102 media/base/user_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 109 media/base/user_input_monitor_linux.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, base 223 media/base/user_input_monitor_linux.cc base::MessageLoopForIO* message_loop = base::MessageLoopForIO::current(); base 227 media/base/user_input_monitor_linux.cc base::MessageLoopForIO::WATCH_READ, base 238 media/base/user_input_monitor_linux.cc base::MessageLoop::current()->AddDestructionObserver(this); base 274 media/base/user_input_monitor_linux.cc base::MessageLoop::current()->RemoveDestructionObserver(this); base 330 media/base/user_input_monitor_linux.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner) base 346 media/base/user_input_monitor_linux.cc base::Bind(&UserInputMonitorLinuxCore::StartMonitor, base 354 media/base/user_input_monitor_linux.cc base::Bind(&UserInputMonitorLinuxCore::StopMonitor, base 361 media/base/user_input_monitor_linux.cc base::Bind(&UserInputMonitorLinuxCore::StartMonitor, base 368 media/base/user_input_monitor_linux.cc base::Bind(&UserInputMonitorLinuxCore::StopMonitor, base 376 media/base/user_input_monitor_linux.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, base 377 media/base/user_input_monitor_linux.cc const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) { base 52 media/base/user_input_monitor_mac.cc const scoped_refptr<base::SingleThreadTaskRunner>& input_task_runner, base 53 media/base/user_input_monitor_mac.cc const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) { base 50 media/base/user_input_monitor_unittest.cc base::MessageLoopForIO message_loop; base 52 media/base/user_input_monitor_unittest.cc base::MessageLoopForUI message_loop; base 55 media/base/user_input_monitor_unittest.cc base::RunLoop run_loop; base 30 media/base/user_input_monitor_win.cc : public base::SupportsWeakPtr<UserInputMonitorWinCore>, base 31 media/base/user_input_monitor_win.cc public base::MessageLoop::DestructionObserver { base 39 media/base/user_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 62 media/base/user_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 67 media/base/user_input_monitor_win.cc scoped_ptr<base::win::MessageWindow> window_; base 77 media/base/user_input_monitor_win.cc const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner); base 90 media/base/user_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 97 media/base/user_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 128 media/base/user_input_monitor_win.cc window_.reset(new base::win::MessageWindow()); base 129 media/base/user_input_monitor_win.cc if (!window_->Create(base::Bind(&UserInputMonitorWinCore::HandleMessage, base 130 media/base/user_input_monitor_win.cc base::Unretained(this)))) { base 149 media/base/user_input_monitor_win.cc base::MessageLoop::current()->AddDestructionObserver(this); base 174 media/base/user_input_monitor_win.cc base::MessageLoop::current()->RemoveDestructionObserver(this); base 266 media/base/user_input_monitor_win.cc const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) base 282 media/base/user_input_monitor_win.cc base::Bind(&UserInputMonitorWinCore::StartMonitor, base 290 media/base/user_input_monitor_win.cc base::Bind(&UserInputMonitorWinCore::StopMonitor, base 298 media/base/user_input_monitor_win.cc base::Bind(&UserInputMonitorWinCore::StartMonitor, base 306 media/base/user_input_monitor_win.cc base::Bind(&UserInputMonitorWinCore::StopMonitor, base 314 media/base/user_input_monitor_win.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, base 315 media/base/user_input_monitor_win.cc const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) { base 48 media/base/vector_math.cc const bool kUseSSE = base::CPU().has_sse(); base 14 media/base/vector_math_perftest.cc using base::TimeTicks; base 28 media/base/vector_math_perftest.cc input_vector_.reset(static_cast<float*>(base::AlignedAlloc( base 30 media/base/vector_math_perftest.cc output_vector_.reset(static_cast<float*>(base::AlignedAlloc( base 77 media/base/vector_math_perftest.cc scoped_ptr<float, base::AlignedFreeDeleter> input_vector_; base 78 media/base/vector_math_perftest.cc scoped_ptr<float, base::AlignedFreeDeleter> output_vector_; base 97 media/base/vector_math_perftest.cc ASSERT_TRUE(base::CPU().has_sse()); base 128 media/base/vector_math_perftest.cc ASSERT_TRUE(base::CPU().has_sse()); base 160 media/base/vector_math_perftest.cc ASSERT_TRUE(base::CPU().has_sse()); base 33 media/base/vector_math_unittest.cc input_vector_.reset(static_cast<float*>(base::AlignedAlloc( base 35 media/base/vector_math_unittest.cc output_vector_.reset(static_cast<float*>(base::AlignedAlloc( base 51 media/base/vector_math_unittest.cc scoped_ptr<float[], base::AlignedFreeDeleter> input_vector_; base 52 media/base/vector_math_unittest.cc scoped_ptr<float[], base::AlignedFreeDeleter> output_vector_; base 79 media/base/vector_math_unittest.cc ASSERT_TRUE(base::CPU().has_sse()); base 121 media/base/vector_math_unittest.cc ASSERT_TRUE(base::CPU().has_sse()); base 158 media/base/vector_math_unittest.cc base::AlignedAlloc(len * sizeof(float), base 177 media/base/vector_math_unittest.cc base::AlignedAlloc(other.data_len_ * sizeof(float), base 230 media/base/vector_math_unittest.cc ASSERT_TRUE(base::CPU().has_sse()); base 252 media/base/vector_math_unittest.cc scoped_ptr<float, base::AlignedFreeDeleter> data_; base 59 media/base/video_decoder.h typedef base::Callback<void(Status, base 73 media/base/video_decoder.h virtual void Reset(const base::Closure& closure) = 0; base 52 media/base/video_decoder_config.cc base::CustomHistogram::ArrayToCustomRanges( base 33 media/base/video_frame.cc base::TimeDelta timestamp) { base 142 media/base/video_frame.cc base::TimeDelta timestamp, base 171 media/base/video_frame.cc base::SharedMemoryHandle handle, base 172 media/base/video_frame.cc base::TimeDelta timestamp, base 173 media/base/video_frame.cc const base::Closure& no_longer_needed_cb) { base 211 media/base/video_frame.cc base::TimeDelta timestamp, base 212 media/base/video_frame.cc const base::Closure& no_longer_needed_cb) { base 233 media/base/video_frame.cc const base::Closure& no_longer_needed_cb) { base 262 media/base/video_frame.cc base::TimeDelta timestamp) { base 273 media/base/video_frame.cc const base::TimeDelta kZero; base 290 media/base/video_frame.cc VideoFrame::HOLE, size, gfx::Rect(size), size, base::TimeDelta(), false)); base 391 media/base/video_frame.cc base::AlignedFree(data); base 431 media/base/video_frame.cc base::AlignedAlloc( base 434 media/base/video_frame.cc no_longer_needed_cb_ = base::Bind(&ReleaseData, data); base 452 media/base/video_frame.cc base::TimeDelta timestamp, base 458 media/base/video_frame.cc shared_memory_handle_(base::SharedMemory::NULLHandle()), base 469 media/base/video_frame.cc base::ResetAndReturn(&mailbox_holder_release_cb_) base 473 media/base/video_frame.cc base::ResetAndReturn(&no_longer_needed_cb_).Run(); base 547 media/base/video_frame.cc base::SharedMemoryHandle VideoFrame::shared_memory_handle() const { base 551 media/base/video_frame.cc void VideoFrame::HashFrameForTesting(base::MD5Context* context) { base 556 media/base/video_frame.cc base::MD5Update(context, base::StringPiece( base 23 media/base/video_frame.h class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { base 68 media/base/video_frame.h base::TimeDelta timestamp); base 79 media/base/video_frame.h typedef base::Callback<void(const SkBitmap&)> ReadPixelsCB; base 83 media/base/video_frame.h typedef base::Callback<void(scoped_ptr<gpu::MailboxHolder>)> ReleaseMailboxCB; base 97 media/base/video_frame.h base::TimeDelta timestamp, base 118 media/base/video_frame.h base::SharedMemoryHandle handle, base 119 media/base/video_frame.h base::TimeDelta timestamp, base 120 media/base/video_frame.h const base::Closure& no_longer_needed_cb); base 138 media/base/video_frame.h base::TimeDelta timestamp, base 139 media/base/video_frame.h const base::Closure& no_longer_needed_cb); base 148 media/base/video_frame.h const base::Closure& no_longer_needed_cb); base 157 media/base/video_frame.h base::TimeDelta timestamp); base 210 media/base/video_frame.h base::SharedMemoryHandle shared_memory_handle() const; base 215 media/base/video_frame.h base::TimeDelta GetTimestamp() const { base 218 media/base/video_frame.h void SetTimestamp(const base::TimeDelta& timestamp) { base 224 media/base/video_frame.h void HashFrameForTesting(base::MD5Context* context); base 227 media/base/video_frame.h friend class base::RefCountedThreadSafe<VideoFrame>; base 233 media/base/video_frame.h base::TimeDelta timestamp, base 275 media/base/video_frame.h base::SharedMemoryHandle shared_memory_handle_; base 277 media/base/video_frame.h base::Closure no_longer_needed_cb_; base 279 media/base/video_frame.h base::TimeDelta timestamp_; base 16 media/base/video_frame_pool.cc : public base::RefCountedThreadSafe<VideoFramePool::PoolImpl> { base 27 media/base/video_frame_pool.cc base::TimeDelta timestamp); base 45 media/base/video_frame_pool.cc base::Lock lock_; base 63 media/base/video_frame_pool.cc base::TimeDelta timestamp) { base 64 media/base/video_frame_pool.cc base::AutoLock auto_lock(lock_); base 90 media/base/video_frame_pool.cc base::Bind(&VideoFramePool::PoolImpl::FrameReleased, this, frame)); base 94 media/base/video_frame_pool.cc base::AutoLock auto_lock(lock_); base 101 media/base/video_frame_pool.cc base::AutoLock auto_lock(lock_); base 120 media/base/video_frame_pool.cc base::TimeDelta timestamp) { base 33 media/base/video_frame_pool.h base::TimeDelta timestamp); base 23 media/base/video_frame_pool_unittest.cc base::TimeDelta::FromMilliseconds(timestamp_ms)); base 25 media/base/video_frame_pool_unittest.cc EXPECT_EQ(base::TimeDelta::FromMilliseconds(timestamp_ms), base 20 media/base/video_frame_unittest.cc using base::MD5DigestToBase16; base 60 media/base/video_frame_unittest.cc base::AlignedAlloc(bytes_per_row * yv12_frame->coded_size().height() + base 80 media/base/video_frame_unittest.cc base::StringPrintf("Checking (%d, %d)", row, col)); base 85 media/base/video_frame_unittest.cc base::AlignedFree(rgb_data); base 95 media/base/video_frame_unittest.cc const base::TimeDelta kTimestamp = base::TimeDelta::FromMicroseconds(1337); base 104 media/base/video_frame_unittest.cc SCOPED_TRACE(base::StringPrintf("Checking plane %d", plane)); base 114 media/base/video_frame_unittest.cc base::MD5Context context; base 115 media/base/video_frame_unittest.cc base::MD5Init(&context); base 117 media/base/video_frame_unittest.cc base::MD5Digest digest; base 118 media/base/video_frame_unittest.cc base::MD5Final(&digest, &context); base 125 media/base/video_frame_unittest.cc const base::TimeDelta kTimestamp = base::TimeDelta::FromMicroseconds(1337); base 141 media/base/video_frame_unittest.cc base::MD5Digest digest; base 142 media/base/video_frame_unittest.cc base::MD5Context context; base 143 media/base/video_frame_unittest.cc base::MD5Init(&context); base 145 media/base/video_frame_unittest.cc base::MD5Final(&digest, &context); base 152 media/base/video_frame_unittest.cc base::MD5Init(&context); base 154 media/base/video_frame_unittest.cc base::MD5Final(&digest, &context); base 218 media/base/video_frame_unittest.cc base::Bind(&FrameNoLongerNeededCallback, wrapped_frame, base 257 media/base/video_frame_unittest.cc base::Bind(&TextureCallback, &called_sync_point), base 261 media/base/video_frame_unittest.cc base::TimeDelta(), // timestamp base 262 media/base/video_frame_unittest.cc base::Callback<void(const SkBitmap&)>()); // read_pixels_cb base 282 media/base/video_frame_unittest.cc base::Bind(&TextureCallback, &called_sync_point), base 286 media/base/video_frame_unittest.cc base::TimeDelta(), // timestamp base 287 media/base/video_frame_unittest.cc base::Callback<void(const SkBitmap&)>()); // read_pixels_cb base 23 media/base/video_renderer.h typedef base::Callback<void(base::TimeDelta)> TimeCB; base 26 media/base/video_renderer.h typedef base::Callback<base::TimeDelta()> TimeDeltaCB; base 50 media/base/video_renderer.h const base::Closure& ended_cb, base 57 media/base/video_renderer.h virtual void Play(const base::Closure& callback) = 0; base 61 media/base/video_renderer.h virtual void Pause(const base::Closure& callback) = 0; base 64 media/base/video_renderer.h virtual void Flush(const base::Closure& callback) = 0; base 73 media/base/video_renderer.h virtual void Preroll(base::TimeDelta time, base 78 media/base/video_renderer.h virtual void Stop(const base::Closure& callback) = 0; base 43 media/base/video_util_unittest.cc base::TimeDelta()); base 357 media/base/video_util_unittest.cc base::TimeDelta())); base 138 media/base/yuv_convert.cc base::CPU cpu; base 40 media/base/yuv_convert_unittest.cc static void ReadData(const base::FilePath::CharType* filename, base 45 media/base/yuv_convert_unittest.cc base::FilePath path; base 46 media/base/yuv_convert_unittest.cc CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &path)); base 54 media/base/yuv_convert_unittest.cc base::GetFileSize(path, &actual_size); base 58 media/base/yuv_convert_unittest.cc int bytes_read = base::ReadFile( base 367 media/base/yuv_convert_unittest.cc base::FilePath yuv_url; base 368 media/base/yuv_convert_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &yuv_url)); base 374 media/base/yuv_convert_unittest.cc base::ReadFile(yuv_url, base 445 media/base/yuv_convert_unittest.cc base::FilePath yuv_url; base 446 media/base/yuv_convert_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &yuv_url)); base 454 media/base/yuv_convert_unittest.cc base::ReadFile(yuv_url, base 518 media/base/yuv_convert_unittest.cc base::CPU cpu; base 605 media/base/yuv_convert_unittest.cc base::CPU cpu; base 634 media/base/yuv_convert_unittest.cc base::CPU cpu; base 663 media/base/yuv_convert_unittest.cc base::CPU cpu; base 695 media/base/yuv_convert_unittest.cc base::CPU cpu; base 727 media/base/yuv_convert_unittest.cc base::CPU cpu; base 759 media/base/yuv_convert_unittest.cc base::CPU cpu; base 807 media/base/yuv_convert_unittest.cc base::CPU cpu; base 830 media/base/yuv_convert_unittest.cc base::CPU cpu; base 852 media/base/yuv_convert_unittest.cc base::CPU cpu; base 883 media/base/yuv_convert_unittest.cc base::CPU cpu; base 24 media/cast/audio_receiver/audio_decoder.cc : public base::RefCountedThreadSafe<AudioDecoder::ImplBase> { base 52 media/cast/audio_receiver/audio_decoder.cc base::Bind(callback, base 53 media/cast/audio_receiver/audio_decoder.cc base::Passed(&decoded_audio), base 76 media/cast/audio_receiver/audio_decoder.cc base::Bind(callback, base 77 media/cast/audio_receiver/audio_decoder.cc base::Passed(&decoded_audio), base 202 media/cast/audio_receiver/audio_decoder.cc pcm_data[i] = static_cast<int16>(base::NetToHost16(pcm_data[i])); base 252 media/cast/audio_receiver/audio_decoder.cc base::Bind(&AudioDecoder::ImplBase::DecodeFrame, base 254 media/cast/audio_receiver/audio_decoder.cc base::Passed(&encoded_frame), base 26 media/cast/audio_receiver/audio_decoder.h typedef base::Callback<void(scoped_ptr<AudioBus> audio_bus, base 70 media/cast/audio_receiver/audio_decoder_unittest.cc total_audio_feed_in_ = base::TimeDelta(); base 71 media/cast/audio_receiver/audio_decoder_unittest.cc total_audio_decoded_ = base::TimeDelta(); base 76 media/cast/audio_receiver/audio_decoder_unittest.cc void FeedMoreAudio(const base::TimeDelta& duration, base 98 media/cast/audio_receiver/audio_decoder_unittest.cc pcm_data[i] = static_cast<int16>(base::HostToNet16(interleaved[i])); base 118 media/cast/audio_receiver/audio_decoder_unittest.cc base::AutoLock auto_lock(lock_); base 125 media/cast/audio_receiver/audio_decoder_unittest.cc base::Bind(&AudioDecoder::DecodeFrame, base 126 media/cast/audio_receiver/audio_decoder_unittest.cc base::Unretained(audio_decoder_.get()), base 127 media/cast/audio_receiver/audio_decoder_unittest.cc base::Passed(&encoded_frame), base 128 media/cast/audio_receiver/audio_decoder_unittest.cc base::Bind(&AudioDecoderTest::OnDecodedFrame, base 129 media/cast/audio_receiver/audio_decoder_unittest.cc base::Unretained(this), base 136 media/cast/audio_receiver/audio_decoder_unittest.cc base::AutoLock auto_lock(lock_); base 175 media/cast/audio_receiver/audio_decoder_unittest.cc base::AutoLock auto_lock(lock_); base 176 media/cast/audio_receiver/audio_decoder_unittest.cc total_audio_decoded_ += base::TimeDelta::FromSeconds(1) * base 188 media/cast/audio_receiver/audio_decoder_unittest.cc base::Lock lock_; base 189 media/cast/audio_receiver/audio_decoder_unittest.cc base::ConditionVariable cond_; base 190 media/cast/audio_receiver/audio_decoder_unittest.cc base::TimeDelta total_audio_feed_in_; base 191 media/cast/audio_receiver/audio_decoder_unittest.cc base::TimeDelta total_audio_decoded_; base 197 media/cast/audio_receiver/audio_decoder_unittest.cc const base::TimeDelta kTenMilliseconds = base 198 media/cast/audio_receiver/audio_decoder_unittest.cc base::TimeDelta::FromMilliseconds(10); base 212 media/cast/audio_receiver/audio_decoder_unittest.cc FeedMoreAudio(base::TimeDelta::FromMilliseconds(kFrameDurationMs[i]), 0); base 217 media/cast/audio_receiver/audio_decoder_unittest.cc const base::TimeDelta kTenMilliseconds = base 218 media/cast/audio_receiver/audio_decoder_unittest.cc base::TimeDelta::FromMilliseconds(10); base 41 media/cast/audio_receiver/audio_receiver.cc base::TimeDelta::FromMilliseconds(audio_config.rtcp_interval), base 48 media/cast/audio_receiver/audio_receiver.cc base::TimeDelta::FromMilliseconds(audio_config.rtp_max_delay_ms); base 65 media/cast/audio_receiver/audio_receiver.cc make_scoped_ptr<transport::EncodedAudioFrame>(NULL), base::TimeTicks()); base 82 media/cast/audio_receiver/audio_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 120 media/cast/audio_receiver/audio_receiver.cc GetEncodedAudioFrame(base::Bind( base 124 media/cast/audio_receiver/audio_receiver.cc base::Unretained(this), base 131 media/cast/audio_receiver/audio_receiver.cc const base::TimeTicks& playout_time) { base 140 media/cast/audio_receiver/audio_receiver.cc base::Bind(&AudioReceiver::EmitRawAudioFrame, base 154 media/cast/audio_receiver/audio_receiver.cc const base::TimeTicks& playout_time, base 159 media/cast/audio_receiver/audio_receiver.cc const base::TimeTicks now = cast_environment->Clock()->NowTicks(); base 196 media/cast/audio_receiver/audio_receiver.cc const base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 197 media/cast/audio_receiver/audio_receiver.cc const base::TimeTicks playout_time = base 200 media/cast/audio_receiver/audio_receiver.cc const base::TimeTicks earliest_possible_end_time_of_missing_frame = base 201 media/cast/audio_receiver/audio_receiver.cc now + base::TimeDelta::FromMilliseconds(kTypicalAudioFrameDurationMs); base 209 media/cast/audio_receiver/audio_receiver.cc base::Bind(&AudioReceiver::EmitAvailableEncodedFramesAfterWaiting, base 236 media/cast/audio_receiver/audio_receiver.cc base::Bind(frame_request_queue_.front(), base 237 media/cast/audio_receiver/audio_receiver.cc base::Passed(&encoded_frame), base 260 media/cast/audio_receiver/audio_receiver.cc void AudioReceiver::SetTargetDelay(base::TimeDelta target_delay) { base 268 media/cast/audio_receiver/audio_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 279 media/cast/audio_receiver/audio_receiver.cc base::TimeTicks AudioReceiver::GetPlayoutTime(base::TimeTicks now, base 284 media/cast/audio_receiver/audio_receiver.cc base::TimeTicks rtp_timestamp_in_ticks; base 285 media/cast/audio_receiver/audio_receiver.cc base::TimeTicks playout_time; base 286 media/cast/audio_receiver/audio_receiver.cc if (time_offset_ == base::TimeDelta()) { base 305 media/cast/audio_receiver/audio_receiver.cc base::TimeDelta rtp_time_diff_delta = base 306 media/cast/audio_receiver/audio_receiver.cc base::TimeDelta::FromMilliseconds(rtp_timestamp_diff / frequency_khz); base 307 media/cast/audio_receiver/audio_receiver.cc base::TimeDelta time_diff_delta = now - time_first_incoming_packet_; base 310 media/cast/audio_receiver/audio_receiver.cc base::TimeDelta()); base 339 media/cast/audio_receiver/audio_receiver.cc base::TimeDelta time_to_send = rtcp_.TimeToSendNextRtcpReport() - base 343 media/cast/audio_receiver/audio_receiver.cc time_to_send, base::TimeDelta::FromMilliseconds(kMinSchedulingDelayMs)); base 347 media/cast/audio_receiver/audio_receiver.cc base::Bind(&AudioReceiver::SendNextRtcpReport, base 363 media/cast/audio_receiver/audio_receiver.cc base::TimeTicks send_time; base 365 media/cast/audio_receiver/audio_receiver.cc base::TimeDelta time_to_send = base 368 media/cast/audio_receiver/audio_receiver.cc time_to_send, base::TimeDelta::FromMilliseconds(kMinSchedulingDelayMs)); base 371 media/cast/audio_receiver/audio_receiver.cc base::Bind(&AudioReceiver::SendNextCastMessage, base 49 media/cast/audio_receiver/audio_receiver.h public base::NonThreadSafe, base 50 media/cast/audio_receiver/audio_receiver.h public base::SupportsWeakPtr<AudioReceiver> { base 77 media/cast/audio_receiver/audio_receiver.h void SetTargetDelay(base::TimeDelta target_delay); base 105 media/cast/audio_receiver/audio_receiver.h const base::TimeTicks& playout_time); base 108 media/cast/audio_receiver/audio_receiver.h base::TimeTicks GetPlayoutTime(base::TimeTicks now, uint32 rtp_timestamp); base 134 media/cast/audio_receiver/audio_receiver.h const base::TimeTicks& playout_time, base 146 media/cast/audio_receiver/audio_receiver.h base::TimeDelta target_delay_delta_; base 150 media/cast/audio_receiver/audio_receiver.h base::TimeDelta time_offset_; base 151 media/cast/audio_receiver/audio_receiver.h base::TimeTicks time_first_incoming_packet_; base 167 media/cast/audio_receiver/audio_receiver.h base::WeakPtrFactory<AudioReceiver> weak_factory_; base 32 media/cast/audio_receiver/audio_receiver_unittest.cc const base::TimeTicks& expected_playout_time) { base 39 media/cast/audio_receiver/audio_receiver_unittest.cc const base::TimeTicks& playout_time) { base 53 media/cast/audio_receiver/audio_receiver_unittest.cc base::TimeTicks expected_playout_time_; base 69 media/cast/audio_receiver/audio_receiver_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); base 71 media/cast/audio_receiver/audio_receiver_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 75 media/cast/audio_receiver/audio_receiver_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 108 media/cast/audio_receiver/audio_receiver_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 128 media/cast/audio_receiver/audio_receiver_unittest.cc base::Bind(&FakeAudioClient::DeliverEncodedAudioFrame, base 129 media/cast/audio_receiver/audio_receiver_unittest.cc base::Unretained(&fake_audio_client_))); base 160 media/cast/audio_receiver/audio_receiver_unittest.cc base::Bind(&FakeAudioClient::DeliverEncodedAudioFrame, base 161 media/cast/audio_receiver/audio_receiver_unittest.cc base::Unretained(&fake_audio_client_)); base 180 media/cast/audio_receiver/audio_receiver_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); base 198 media/cast/audio_receiver/audio_receiver_unittest.cc 2, testing_clock_->NowTicks() + base::TimeDelta::FromMilliseconds(100)); base 212 media/cast/audio_receiver/audio_receiver_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(100)); base 228 media/cast/audio_receiver/audio_receiver_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(100)); base 25 media/cast/audio_sender/audio_encoder.cc base::TimeTicks event_time, base 45 media/cast/audio_sender/audio_encoder.cc : public base::RefCountedThreadSafe<AudioEncoder::ImplBase> { base 74 media/cast/audio_sender/audio_encoder.cc const base::TimeTicks& recorded_time) { base 100 media/cast/audio_sender/audio_encoder.cc base::Bind(&LogAudioFrameEvent, base 112 media/cast/audio_sender/audio_encoder.cc base::Bind(&LogAudioFrameEvent, base 120 media/cast/audio_sender/audio_encoder.cc const base::TimeDelta buffer_time_offset = base 122 media/cast/audio_sender/audio_encoder.cc base::TimeDelta::FromMilliseconds(10) / samples_per_10ms_; base 133 media/cast/audio_sender/audio_encoder.cc base::Bind(callback_, base 134 media/cast/audio_sender/audio_encoder.cc base::Passed(&audio_frame), base 136 media/cast/audio_sender/audio_encoder.cc base::TimeDelta::FromMilliseconds(packet_count * 10)); base 308 media/cast/audio_sender/audio_encoder.cc *dest = base::HostToNet16(*src); base 357 media/cast/audio_sender/audio_encoder.cc const base::TimeTicks& recorded_time) { base 366 media/cast/audio_sender/audio_encoder.cc base::Bind(&AudioEncoder::ImplBase::EncodeAudio, base 368 media/cast/audio_sender/audio_encoder.cc base::Passed(&audio_bus), base 15 media/cast/audio_sender/audio_encoder.h namespace base { base 24 media/cast/audio_sender/audio_encoder.h typedef base::Callback<void(scoped_ptr<transport::EncodedAudioFrame>, base 25 media/cast/audio_sender/audio_encoder.h const base::TimeTicks&)> FrameEncodedCallback; base 35 media/cast/audio_sender/audio_encoder.h const base::TimeTicks& recorded_time); base 46 media/cast/audio_sender/audio_encoder.h base::ThreadChecker insert_thread_checker_; base 37 media/cast/audio_sender/audio_encoder_unittest.cc void SetRecordedTimeLowerBound(const base::TimeTicks& t) { lower_bound_ = t; } base 39 media/cast/audio_sender/audio_encoder_unittest.cc void SetRecordedTimeUpperBound(const base::TimeTicks& t) { upper_bound_ = t; } base 42 media/cast/audio_sender/audio_encoder_unittest.cc const base::TimeTicks& recorded_time) { base 59 media/cast/audio_sender/audio_encoder_unittest.cc base::TimeTicks lower_bound_; base 60 media/cast/audio_sender/audio_encoder_unittest.cc base::TimeTicks upper_bound_; base 89 media/cast/audio_sender/audio_encoder_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); base 91 media/cast/audio_sender/audio_encoder_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 97 media/cast/audio_sender/audio_encoder_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 113 media/cast/audio_sender/audio_encoder_unittest.cc const base::TimeDelta duration = base 114 media/cast/audio_sender/audio_encoder_unittest.cc base::TimeDelta::FromMilliseconds(scenario.durations_in_ms[i]); base 150 media/cast/audio_sender/audio_encoder_unittest.cc base::Bind(&TestEncodedAudioFrameReceiver::FrameEncoded, base 151 media/cast/audio_sender/audio_encoder_unittest.cc base::Unretained(receiver_.get())))); base 154 media/cast/audio_sender/audio_encoder_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 52 media/cast/audio_sender/audio_sender.cc base::TimeDelta::FromMilliseconds(audio_config.rtcp_interval), base 64 media/cast/audio_sender/audio_sender.cc base::Bind(&AudioSender::SendEncodedAudioFrame, base 69 media/cast/audio_sender/audio_sender.cc base::Bind(&AudioSender::StoreStatistics, weak_factory_.GetWeakPtr())); base 83 media/cast/audio_sender/audio_sender.cc const base::TimeTicks& recorded_time) { base 91 media/cast/audio_sender/audio_sender.cc const base::TimeTicks& recorded_time) { base 110 media/cast/audio_sender/audio_sender.cc base::TimeDelta time_to_next = base 114 media/cast/audio_sender/audio_sender.cc time_to_next, base::TimeDelta::FromMilliseconds(kMinSchedulingDelayMs)); base 119 media/cast/audio_sender/audio_sender.cc base::Bind(&AudioSender::SendRtcpReport, weak_factory_.GetWeakPtr()), base 125 media/cast/audio_sender/audio_sender.cc base::TimeTicks time_sent, base 28 media/cast/audio_sender/audio_sender.h class AudioSender : public base::NonThreadSafe, base 29 media/cast/audio_sender/audio_sender.h public base::SupportsWeakPtr<AudioSender> { base 42 media/cast/audio_sender/audio_sender.h const base::TimeTicks& recorded_time); base 50 media/cast/audio_sender/audio_sender.h const base::TimeTicks& recorded_time); base 59 media/cast/audio_sender/audio_sender.h base::TimeTicks time_sent, base 77 media/cast/audio_sender/audio_sender.h base::WeakPtrFactory<AudioSender> weak_factory_; base 55 media/cast/audio_sender/audio_sender_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); base 57 media/cast/audio_sender/audio_sender_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 60 media/cast/audio_sender/audio_sender_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 72 media/cast/audio_sender/audio_sender_unittest.cc transport_config.base.rtp_config.payload_type = 127; base 80 media/cast/audio_sender/audio_sender_unittest.cc base::Bind(&UpdateCastTransportStatus), base 82 media/cast/audio_sender/audio_sender_unittest.cc base::TimeDelta(), base 97 media/cast/audio_sender/audio_sender_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 107 media/cast/audio_sender/audio_sender_unittest.cc const base::TimeDelta kDuration = base::TimeDelta::FromMilliseconds(20); base 114 media/cast/audio_sender/audio_sender_unittest.cc base::TimeTicks recorded_time = base::TimeTicks::Now(); base 123 media/cast/audio_sender/audio_sender_unittest.cc const base::TimeDelta kDuration = base::TimeDelta::FromMilliseconds(20); base 130 media/cast/audio_sender/audio_sender_unittest.cc base::TimeTicks recorded_time = base::TimeTicks::Now(); base 135 media/cast/audio_sender/audio_sender_unittest.cc base::TimeDelta max_rtcp_timeout = base 136 media/cast/audio_sender/audio_sender_unittest.cc base::TimeDelta::FromMilliseconds(1 + kDefaultRtcpIntervalMs * 3 / 2); base 141 media/cast/cast_config.h typedef base::Callback<void(CastInitializationStatus)> base 144 media/cast/cast_config.h typedef base::Callback<void(scoped_refptr<base::SingleThreadTaskRunner>, base 147 media/cast/cast_config.h typedef base::Callback<void(const ReceiveVideoEncodeAcceleratorCallback&)> base 150 media/cast/cast_config.h typedef base::Callback<void(scoped_ptr<base::SharedMemory>)> base 152 media/cast/cast_config.h typedef base::Callback<void(size_t size, base 130 media/cast/cast_defines.h inline base::TimeDelta ConvertFromNtpDiff(uint32 ntp_delay) { base 134 media/cast/cast_defines.h return base::TimeDelta::FromMilliseconds(delay_ms); base 141 media/cast/cast_defines.h *seconds = static_cast<uint32>(time_us / base::Time::kMicrosecondsPerSecond); base 143 media/cast/cast_defines.h (time_us % base::Time::kMicrosecondsPerSecond) * kMagicFractionalUnit); base 146 media/cast/cast_defines.h inline void ConvertTimeTicksToNtp(const base::TimeTicks& time, base 149 media/cast/cast_defines.h base::TimeDelta elapsed_since_unix_epoch = base 150 media/cast/cast_defines.h time - base::TimeTicks::UnixEpoch(); base 154 media/cast/cast_defines.h (kUnixEpochInNtpSeconds * base::Time::kMicrosecondsPerSecond); base 159 media/cast/cast_defines.h inline base::TimeTicks ConvertNtpToTimeTicks(uint32 ntp_seconds, base 162 media/cast/cast_defines.h static_cast<int64>(ntp_seconds) * base::Time::kMicrosecondsPerSecond + base 165 media/cast/cast_defines.h base::TimeDelta elapsed_since_unix_epoch = base::TimeDelta::FromMicroseconds( base 167 media/cast/cast_defines.h (kUnixEpochInNtpSeconds * base::Time::kMicrosecondsPerSecond)); base 168 media/cast/cast_defines.h return base::TimeTicks::UnixEpoch() + elapsed_since_unix_epoch; base 171 media/cast/cast_defines.h inline uint32 GetVideoRtpTimestamp(const base::TimeTicks& time_ticks) { base 172 media/cast/cast_defines.h base::TimeTicks zero_time; base 173 media/cast/cast_defines.h base::TimeDelta recorded_delta = time_ticks - zero_time; base 188 media/cast/cast_defines.h void UpdateInfo(const base::TimeTicks& now) { base 194 media/cast/cast_defines.h base::TimeDelta time_since_last_send = now - time_sent_; base 211 media/cast/cast_defines.h base::TimeTicks time_sent, base 221 media/cast/cast_defines.h base::TimeTicks time_sent_; base 11 media/cast/cast_environment.cc using base::SingleThreadTaskRunner; base 25 media/cast/cast_environment.cc scoped_ptr<base::TickClock> clock, base 40 media/cast/cast_environment.cc base::Bind(&DeleteLoggingOnMainThread, base::Passed(&logging_))); base 46 media/cast/cast_environment.cc const base::Closure& task) { base 53 media/cast/cast_environment.cc const base::Closure& task, base 54 media/cast/cast_environment.cc base::TimeDelta delay) { base 20 media/cast/cast_environment.h class CastEnvironment : public base::RefCountedThreadSafe<CastEnvironment> { base 35 media/cast/cast_environment.h scoped_ptr<base::TickClock> clock, base 36 media/cast/cast_environment.h scoped_refptr<base::SingleThreadTaskRunner> main_thread_proxy, base 37 media/cast/cast_environment.h scoped_refptr<base::SingleThreadTaskRunner> audio_thread_proxy, base 38 media/cast/cast_environment.h scoped_refptr<base::SingleThreadTaskRunner> video_thread_proxy); base 47 media/cast/cast_environment.h const base::Closure& task); base 51 media/cast/cast_environment.h const base::Closure& task, base 52 media/cast/cast_environment.h base::TimeDelta delay); base 57 media/cast/cast_environment.h base::TickClock* Clock() const { return clock_.get(); } base 64 media/cast/cast_environment.h scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner( base 79 media/cast/cast_environment.h scoped_refptr<base::SingleThreadTaskRunner> main_thread_proxy_; base 80 media/cast/cast_environment.h scoped_refptr<base::SingleThreadTaskRunner> audio_thread_proxy_; base 81 media/cast/cast_environment.h scoped_refptr<base::SingleThreadTaskRunner> video_thread_proxy_; base 84 media/cast/cast_environment.h friend class base::RefCountedThreadSafe<CastEnvironment>; base 86 media/cast/cast_environment.h scoped_ptr<base::TickClock> clock_; base 35 media/cast/cast_receiver.h typedef base::Callback<void(scoped_ptr<AudioBus> audio_bus, base 36 media/cast/cast_receiver.h const base::TimeTicks& playout_time, base 44 media/cast/cast_receiver.h typedef base::Callback<void(scoped_ptr<transport::EncodedAudioFrame>, base 45 media/cast/cast_receiver.h const base::TimeTicks&)> AudioFrameEncodedCallback; base 49 media/cast/cast_receiver.h typedef base::Callback<void(const scoped_refptr<media::VideoFrame>& video_frame, base 50 media/cast/cast_receiver.h const base::TimeTicks&)> VideoFrameDecodedCallback; base 53 media/cast/cast_receiver.h typedef base::Callback<void(scoped_ptr<transport::EncodedVideoFrame>, base 54 media/cast/cast_receiver.h const base::TimeTicks&)> VideoFrameEncodedCallback; base 57 media/cast/cast_receiver.h class FrameReceiver : public base::RefCountedThreadSafe<FrameReceiver> { base 73 media/cast/cast_receiver.h friend class base::RefCountedThreadSafe<FrameReceiver>; base 31 media/cast/cast_receiver_impl.cc base::Bind(&VideoReceiver::GetRawVideoFrame, base 40 media/cast/cast_receiver_impl.cc base::Bind(&VideoReceiver::GetEncodedVideoFrame, base 49 media/cast/cast_receiver_impl.cc base::Bind(&AudioReceiver::GetRawAudioFrame, base 58 media/cast/cast_receiver_impl.cc base::Bind(&AudioReceiver::GetEncodedAudioFrame, base 96 media/cast/cast_receiver_impl.cc base::Bind(&CastReceiverImpl::UpdateTargetDelay, base 97 media/cast/cast_receiver_impl.cc base::Unretained(this))), base 128 media/cast/cast_receiver_impl.cc base::Bind(&AudioReceiver::IncomingPacket, base 130 media/cast/cast_receiver_impl.cc base::Passed(&packet))); base 134 media/cast/cast_receiver_impl.cc base::Bind(&VideoReceiver::IncomingPacket, base 136 media/cast/cast_receiver_impl.cc base::Passed(&packet))); base 143 media/cast/cast_receiver_impl.cc void CastReceiverImpl::UpdateTargetDelay(base::TimeDelta target_delay_ms) { base 148 media/cast/cast_receiver_impl.cc return base::Bind(&CastReceiverImpl::ReceivedPacket, base::Unretained(this)); base 40 media/cast/cast_receiver_impl.h void UpdateTargetDelay(base::TimeDelta target_delay_ms); base 31 media/cast/cast_sender.h class VideoFrameInput : public base::RefCountedThreadSafe<VideoFrameInput> { base 37 media/cast/cast_sender.h const base::TimeTicks& capture_time) = 0; base 43 media/cast/cast_sender.h friend class base::RefCountedThreadSafe<VideoFrameInput>; base 46 media/cast/cast_sender.h class AudioFrameInput : public base::RefCountedThreadSafe<AudioFrameInput> { base 51 media/cast/cast_sender.h const base::TimeTicks& recorded_time) = 0; base 57 media/cast/cast_sender.h friend class base::RefCountedThreadSafe<AudioFrameInput>; base 20 media/cast/cast_sender_impl.cc base::WeakPtr<VideoSender> video_sender) base 25 media/cast/cast_sender_impl.cc const base::TimeTicks& capture_time) OVERRIDE { base 28 media/cast/cast_sender_impl.cc base::Bind(&VideoSender::InsertRawVideoFrame, base 41 media/cast/cast_sender_impl.cc base::WeakPtr<VideoSender> video_sender_; base 51 media/cast/cast_sender_impl.cc base::WeakPtr<AudioSender> audio_sender) base 55 media/cast/cast_sender_impl.cc const base::TimeTicks& recorded_time) OVERRIDE { base 58 media/cast/cast_sender_impl.cc base::Bind(&AudioSender::InsertAudio, base 60 media/cast/cast_sender_impl.cc base::Passed(&audio_bus), base 71 media/cast/cast_sender_impl.cc base::WeakPtr<AudioSender> audio_sender_; base 178 media/cast/cast_sender_impl.cc base::Bind(&AudioSender::IncomingRtcpPacket, base 180 media/cast/cast_sender_impl.cc base::Passed(&packet))); base 188 media/cast/cast_sender_impl.cc base::Bind(&VideoSender::IncomingRtcpPacket, base 190 media/cast/cast_sender_impl.cc base::Passed(&packet))); base 206 media/cast/cast_sender_impl.cc return base::Bind(&CastSenderImpl::ReceivedPacket, base 63 media/cast/cast_sender_impl.h base::WeakPtrFactory<CastSenderImpl> weak_factory_; base 23 media/cast/congestion_control/congestion_control.cc CongestionControl::CongestionControl(base::TickClock* clock, base 42 media/cast/congestion_control/congestion_control.cc bool CongestionControl::OnAck(base::TimeDelta rtt, uint32* new_bitrate) { base 43 media/cast/congestion_control/congestion_control.cc base::TimeTicks now = clock_->NowTicks(); base 56 media/cast/congestion_control/congestion_control.cc rtt = std::max(rtt, base::TimeDelta::FromMilliseconds(1)); base 58 media/cast/congestion_control/congestion_control.cc base::TimeDelta elapsed_time = base 60 media/cast/congestion_control/congestion_control.cc base::TimeDelta::FromMilliseconds(kMaxElapsedTimeMs)); base 61 media/cast/congestion_control/congestion_control.cc base::TimeDelta change_interval = std::max( base 63 media/cast/congestion_control/congestion_control.cc base::TimeDelta::FromMilliseconds(kCongestionControlMinChangeIntervalMs)); base 66 media/cast/congestion_control/congestion_control.cc base::TimeDelta::FromMilliseconds(kCongestionControlMaxChangeIntervalMs)); base 88 media/cast/congestion_control/congestion_control.cc bool CongestionControl::OnNack(base::TimeDelta rtt, uint32* new_bitrate) { base 89 media/cast/congestion_control/congestion_control.cc base::TimeTicks now = clock_->NowTicks(); base 97 media/cast/congestion_control/congestion_control.cc base::TimeDelta elapsed_time = base 99 media/cast/congestion_control/congestion_control.cc base::TimeDelta::FromMilliseconds(kMaxElapsedTimeMs)); base 100 media/cast/congestion_control/congestion_control.cc base::TimeDelta change_interval = std::max( base 102 media/cast/congestion_control/congestion_control.cc base::TimeDelta::FromMilliseconds(kCongestionControlMinChangeIntervalMs)); base 105 media/cast/congestion_control/congestion_control.cc base::TimeDelta::FromMilliseconds(kCongestionControlMaxChangeIntervalMs)); base 18 media/cast/congestion_control/congestion_control.h CongestionControl(base::TickClock* clock, base 28 media/cast/congestion_control/congestion_control.h bool OnAck(base::TimeDelta rtt_ms, uint32* new_bitrate); base 31 media/cast/congestion_control/congestion_control.h bool OnNack(base::TimeDelta rtt_ms, uint32* new_bitrate); base 34 media/cast/congestion_control/congestion_control.h base::TickClock* const clock_; // Not owned by this class. base 39 media/cast/congestion_control/congestion_control.h base::TimeTicks time_last_increase_; base 40 media/cast/congestion_control/congestion_control.h base::TimeTicks time_last_decrease_; base 31 media/cast/congestion_control/congestion_control_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 38 media/cast/congestion_control/congestion_control_unittest.cc const base::TimeDelta rtt = base::TimeDelta::FromMilliseconds(rtt_ms); base 39 media/cast/congestion_control/congestion_control_unittest.cc const base::TimeDelta ack_rate = base 40 media/cast/congestion_control/congestion_control_unittest.cc base::TimeDelta::FromMilliseconds(INT64_C(1000) / fps); base 54 media/cast/congestion_control/congestion_control_unittest.cc base::SimpleTestTickClock testing_clock_; base 62 media/cast/congestion_control/congestion_control_unittest.cc const base::TimeDelta rtt = base::TimeDelta::FromMilliseconds(kRttMs); base 63 media/cast/congestion_control/congestion_control_unittest.cc const base::TimeDelta ack_rate = base 64 media/cast/congestion_control/congestion_control_unittest.cc base::TimeDelta::FromMilliseconds(kAckRateMs); base 83 media/cast/congestion_control/congestion_control_unittest.cc const base::TimeDelta rtt = base::TimeDelta::FromMilliseconds(kRttMs); base 84 media/cast/congestion_control/congestion_control_unittest.cc const base::TimeDelta ack_rate = base 85 media/cast/congestion_control/congestion_control_unittest.cc base::TimeDelta::FromMilliseconds(kAckRateMs); base 104 media/cast/congestion_control/congestion_control_unittest.cc const base::TimeDelta rtt = base::TimeDelta::FromMilliseconds(kRttMs); base 105 media/cast/congestion_control/congestion_control_unittest.cc const base::TimeDelta ack_rate = base 106 media/cast/congestion_control/congestion_control_unittest.cc base::TimeDelta::FromMilliseconds(kAckRateMs); base 124 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); base 127 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); base 133 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); base 135 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); base 140 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); base 142 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); base 148 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(300)); base 155 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(1)); base 158 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(1)); base 13 media/cast/framer/cast_message_builder.cc base::TickClock* clock, base 103 media/cast/framer/cast_message_builder.cc base::TimeTicks* time_to_send) { base 108 media/cast/framer/cast_message_builder.cc *time_to_send = last_update_time_ + base::TimeDelta::FromMilliseconds( base 138 media/cast/framer/cast_message_builder.cc base::TimeTicks now = clock_->NowTicks(); base 140 media/cast/framer/cast_message_builder.cc base::TimeDelta::FromMilliseconds(kCastMessageUpdateIntervalMs)) { base 152 media/cast/framer/cast_message_builder.cc base::TimeTicks now = clock_->NowTicks(); base 173 media/cast/framer/cast_message_builder.cc base::TimeDelta::FromMilliseconds(kNackRepeatIntervalMs)) { base 21 media/cast/framer/cast_message_builder.h typedef std::map<uint32, base::TimeTicks> TimeLastNackMap; base 25 media/cast/framer/cast_message_builder.h CastMessageBuilder(base::TickClock* clock, base 34 media/cast/framer/cast_message_builder.h bool TimeToSendNextCastMessage(base::TimeTicks* time_to_send); base 43 media/cast/framer/cast_message_builder.h base::TickClock* const clock_; // Not owned by this class. base 53 media/cast/framer/cast_message_builder.h base::TimeTicks last_update_time_; base 94 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 136 media/cast/framer/cast_message_builder_unittest.cc base::SimpleTestTickClock testing_clock_; base 155 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 167 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 170 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 183 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 199 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 207 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 224 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 231 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 239 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 246 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 252 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 259 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 273 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 282 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 291 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 308 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 322 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 326 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 335 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 347 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 351 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 360 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 368 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 386 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 402 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 412 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); base 427 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 436 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 445 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 448 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 459 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 474 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 482 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 494 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 506 media/cast/framer/cast_message_builder_unittest.cc base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); base 14 media/cast/framer/framer.cc Framer::Framer(base::TickClock* clock, base 147 media/cast/framer/framer.cc bool Framer::TimeToSendNextCastMessage(base::TimeTicks* time_to_send) { base 28 media/cast/framer/framer.h Framer(base::TickClock* clock, base 57 media/cast/framer/framer.h bool TimeToSendNextCastMessage(base::TimeTicks* time_to_send); base 37 media/cast/framer/framer_unittest.cc base::SimpleTestTickClock testing_clock_; base 56 media/cast/logging/encoding_event_subscriber.cc (frame_event.timestamp - base::TimeTicks()).InMilliseconds()); base 116 media/cast/logging/encoding_event_subscriber.cc (packet_event.timestamp - base::TimeTicks()).InMilliseconds()); base 79 media/cast/logging/encoding_event_subscriber.h base::ThreadChecker thread_checker_; base 22 media/cast/logging/encoding_event_subscriber_unittest.cc int64 InMilliseconds(base::TimeTicks event_time) { base 23 media/cast/logging/encoding_event_subscriber_unittest.cc return (event_time - base::TimeTicks()).InMilliseconds(); base 34 media/cast/logging/encoding_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), base 37 media/cast/logging/encoding_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 63 media/cast/logging/encoding_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 76 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); base 100 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); base 123 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); base 154 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); base 186 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); base 191 media/cast/logging/encoding_event_subscriber_unittest.cc /*frame_id*/ 0, base::TimeDelta::FromMilliseconds(delay_ms)); base 216 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); base 248 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now1(testing_clock_->NowTicks()); base 251 media/cast/logging/encoding_event_subscriber_unittest.cc /*frame_id*/ 0, /*delay*/ base::TimeDelta::FromMilliseconds(100)); base 253 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); base 254 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now2(testing_clock_->NowTicks()); base 259 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); base 260 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now3(testing_clock_->NowTicks()); base 301 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); base 336 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now1(testing_clock_->NowTicks()); base 348 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); base 349 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now2(testing_clock_->NowTicks()); base 385 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now1(testing_clock_->NowTicks()); base 398 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); base 399 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now2(testing_clock_->NowTicks()); base 440 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now1(testing_clock_->NowTicks()); base 454 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); base 455 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now2(testing_clock_->NowTicks()); base 506 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); base 541 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); base 30 media/cast/logging/log_deserializer.cc base::BigEndianReader reader(data, data_bytes); base 42 media/cast/logging/log_serializer.cc base::BigEndianWriter writer(output, max_output_bytes); base 79 media/cast/logging/logging_defines.h base::TimeTicks timestamp; base 84 media/cast/logging/logging_defines.h base::TimeDelta delay_delta; base 98 media/cast/logging/logging_defines.h base::TimeTicks timestamp; base 119 media/cast/logging/logging_defines.h base::TimeTicks timestamp; base 128 media/cast/logging/logging_defines.h base::TimeTicks first_event_time; base 129 media/cast/logging/logging_defines.h base::TimeTicks last_event_time; base 132 media/cast/logging/logging_defines.h base::TimeDelta min_delay; base 133 media/cast/logging/logging_defines.h base::TimeDelta max_delay; base 134 media/cast/logging/logging_defines.h base::TimeDelta sum_delay; base 140 media/cast/logging/logging_defines.h base::TimeTicks first_event_time; base 141 media/cast/logging/logging_defines.h base::TimeTicks last_event_time; base 149 media/cast/logging/logging_defines.h base::TimeTicks first_event_time; base 150 media/cast/logging/logging_defines.h base::TimeTicks last_event_time; base 21 media/cast/logging/logging_impl.cc void LoggingImpl::InsertFrameEvent(const base::TimeTicks& time_of_event, base 28 media/cast/logging/logging_impl.cc void LoggingImpl::InsertFrameEventWithSize(const base::TimeTicks& time_of_event, base 38 media/cast/logging/logging_impl.cc const base::TimeTicks& time_of_event, CastLoggingEvent event, base 39 media/cast/logging/logging_impl.cc uint32 rtp_timestamp, uint32 frame_id, base::TimeDelta delay) { base 45 media/cast/logging/logging_impl.cc void LoggingImpl::InsertSinglePacketEvent(const base::TimeTicks& time_of_event, base 54 media/cast/logging/logging_impl.cc base::BigEndianReader big_endian_reader( base 57 media/cast/logging/logging_impl.cc base::BigEndianReader cast_big_endian_reader( base 72 media/cast/logging/logging_impl.cc void LoggingImpl::InsertPacketListEvent(const base::TimeTicks& time_of_event, base 82 media/cast/logging/logging_impl.cc void LoggingImpl::InsertPacketEvent(const base::TimeTicks& time_of_event, base 92 media/cast/logging/logging_impl.cc void LoggingImpl::InsertGenericEvent(const base::TimeTicks& time_of_event, base 28 media/cast/logging/logging_impl.h void InsertFrameEvent(const base::TimeTicks& time_of_event, base 32 media/cast/logging/logging_impl.h void InsertFrameEventWithSize(const base::TimeTicks& time_of_event, base 36 media/cast/logging/logging_impl.h void InsertFrameEventWithDelay(const base::TimeTicks& time_of_event, base 38 media/cast/logging/logging_impl.h uint32 frame_id, base::TimeDelta delay); base 40 media/cast/logging/logging_impl.h void InsertSinglePacketEvent(const base::TimeTicks& time_of_event, base 44 media/cast/logging/logging_impl.h void InsertPacketListEvent(const base::TimeTicks& time_of_event, base 47 media/cast/logging/logging_impl.h void InsertPacketEvent(const base::TimeTicks& time_of_event, base 52 media/cast/logging/logging_impl.h void InsertGenericEvent(const base::TimeTicks& time_of_event, base 63 media/cast/logging/logging_impl.h base::ThreadChecker thread_checker_; base 32 media/cast/logging/logging_impl_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 41 media/cast/logging/logging_impl_unittest.cc base::SimpleTestTickClock testing_clock_; base 48 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); base 49 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; base 52 media/cast/logging/logging_impl_unittest.cc base::TimeTicks now; base 58 media/cast/logging/logging_impl_unittest.cc base::TimeDelta::FromMilliseconds(kFrameIntervalMs)); base 76 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); base 77 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; base 83 media/cast/logging/logging_impl_unittest.cc base::RandInt(-kRandomSizeInterval, kRandomSizeInterval); base 88 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kFrameIntervalMs)); base 105 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); base 106 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; base 111 media/cast/logging/logging_impl_unittest.cc base::RandInt(-kRandomSizeInterval, kRandomSizeInterval); base 114 media/cast/logging/logging_impl_unittest.cc base::TimeDelta::FromMilliseconds(delay)); base 115 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kFrameIntervalMs)); base 128 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); base 129 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; base 147 media/cast/logging/logging_impl_unittest.cc base::TimeDelta::FromMilliseconds(20)); base 151 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kFrameIntervalMs)); base 168 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); base 169 media/cast/logging/logging_impl_unittest.cc base::TimeTicks latest_time; base 170 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; base 177 media/cast/logging/logging_impl_unittest.cc int size = kBaseSize + base::RandInt(-kSizeInterval, kSizeInterval); base 189 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kFrameIntervalMs)); base 218 media/cast/logging/logging_impl_unittest.cc int value = kBaseValue + base::RandInt(-5, 5); base 19 media/cast/logging/logging_raw.cc void LoggingRaw::InsertFrameEvent(const base::TimeTicks& time_of_event, base 23 media/cast/logging/logging_raw.cc base::TimeDelta(), 0); base 26 media/cast/logging/logging_raw.cc void LoggingRaw::InsertFrameEventWithSize(const base::TimeTicks& time_of_event, base 31 media/cast/logging/logging_raw.cc base::TimeDelta(), size); base 34 media/cast/logging/logging_raw.cc void LoggingRaw::InsertFrameEventWithDelay(const base::TimeTicks& time_of_event, base 38 media/cast/logging/logging_raw.cc base::TimeDelta delay) { base 43 media/cast/logging/logging_raw.cc void LoggingRaw::InsertBaseFrameEvent(const base::TimeTicks& time_of_event, base 46 media/cast/logging/logging_raw.cc base::TimeDelta delay, int size) { base 61 media/cast/logging/logging_raw.cc void LoggingRaw::InsertPacketEvent(const base::TimeTicks& time_of_event, base 80 media/cast/logging/logging_raw.cc void LoggingRaw::InsertGenericEvent(const base::TimeTicks& time_of_event, base 22 media/cast/logging/logging_raw.h class LoggingRaw : public base::NonThreadSafe { base 29 media/cast/logging/logging_raw.h void InsertFrameEvent(const base::TimeTicks& time_of_event, base 36 media/cast/logging/logging_raw.h void InsertFrameEventWithSize(const base::TimeTicks& time_of_event, base 43 media/cast/logging/logging_raw.h void InsertFrameEventWithDelay(const base::TimeTicks& time_of_event, base 45 media/cast/logging/logging_raw.h uint32 frame_id, base::TimeDelta delay); base 48 media/cast/logging/logging_raw.h void InsertPacketEvent(const base::TimeTicks& time_of_event, base 55 media/cast/logging/logging_raw.h void InsertGenericEvent(const base::TimeTicks& time_of_event, base 70 media/cast/logging/logging_raw.h void InsertBaseFrameEvent(const base::TimeTicks& time_of_event, base 72 media/cast/logging/logging_raw.h uint32 rtp_timestamp, base::TimeDelta delay, base 32 media/cast/logging/logging_raw_unittest.cc base::TimeTicks timestamp = base::TimeTicks(); base 48 media/cast/logging/logging_raw_unittest.cc EXPECT_EQ(base::TimeDelta(), frame_events_[0].delay_delta); base 55 media/cast/logging/logging_raw_unittest.cc base::TimeTicks timestamp = base::TimeTicks(); base 73 media/cast/logging/logging_raw_unittest.cc EXPECT_EQ(base::TimeDelta(), frame_events_[0].delay_delta); base 80 media/cast/logging/logging_raw_unittest.cc base::TimeTicks timestamp = base::TimeTicks(); base 81 media/cast/logging/logging_raw_unittest.cc base::TimeDelta delay = base::TimeDelta::FromMilliseconds(20); base 107 media/cast/logging/logging_raw_unittest.cc base::TimeTicks timestamp = base::TimeTicks(); base 131 media/cast/logging/logging_raw_unittest.cc base::TimeTicks timestamp = base::TimeTicks(); base 157 media/cast/logging/logging_raw_unittest.cc base::TimeTicks timestamp = base::TimeTicks(); base 173 media/cast/logging/logging_raw_unittest.cc EXPECT_EQ(base::TimeDelta(), frame_events_[0].delay_delta); base 188 media/cast/logging/logging_raw_unittest.cc EXPECT_EQ(base::TimeDelta(), frame_events_[0].delay_delta); base 196 media/cast/logging/logging_raw_unittest.cc timestamp = base::TimeTicks(); base 207 media/cast/logging/logging_raw_unittest.cc EXPECT_EQ(base::TimeDelta(), frame_events_[0].delay_delta); base 51 media/cast/logging/simple_event_subscriber.h base::ThreadChecker thread_checker_; base 21 media/cast/logging/simple_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), base 24 media/cast/logging/simple_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 35 media/cast/logging/simple_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 48 media/cast/logging/simple_event_subscriber_unittest.cc /*frame_id*/ 0u, /*delay*/ base::TimeDelta::FromMilliseconds(100)); base 46 media/cast/logging/stats_event_subscriber.h base::ThreadChecker thread_checker_; base 21 media/cast/logging/stats_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), base 24 media/cast/logging/stats_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 40 media/cast/logging/stats_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 53 media/cast/logging/stats_event_subscriber_unittest.cc base::TimeTicks now; base 58 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(30)); base 62 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(30)); base 69 media/cast/logging/stats_event_subscriber_unittest.cc base::TimeDelta::FromMilliseconds(i * delay_base_ms)); base 70 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(30)); base 106 media/cast/logging/stats_event_subscriber_unittest.cc base::TimeTicks first_event_time = testing_clock_->NowTicks(); base 107 media/cast/logging/stats_event_subscriber_unittest.cc base::TimeTicks now; base 117 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(30)); base 14 media/cast/logging/stats_util.cc scoped_ptr<base::DictionaryValue> ConvertStats( base 17 media/cast/logging/stats_util.cc scoped_ptr<base::DictionaryValue> overall_stats(new base::DictionaryValue); base 19 media/cast/logging/stats_util.cc scoped_ptr<base::DictionaryValue> overall_frame_stats( base 20 media/cast/logging/stats_util.cc new base::DictionaryValue); base 24 media/cast/logging/stats_util.cc scoped_ptr<base::DictionaryValue> frame_stats(new base::DictionaryValue); base 45 media/cast/logging/stats_util.cc scoped_ptr<base::DictionaryValue> overall_packet_stats( base 46 media/cast/logging/stats_util.cc new base::DictionaryValue); base 50 media/cast/logging/stats_util.cc scoped_ptr<base::DictionaryValue> packet_stats(new base::DictionaryValue); base 11 media/cast/logging/stats_util.h namespace base { base 20 media/cast/logging/stats_util.h scoped_ptr<base::DictionaryValue> ConvertStats( base 15 media/cast/rtcp/receiver_rtcp_event_subscriber.h namespace base { base 81 media/cast/rtcp/receiver_rtcp_event_subscriber.h base::ThreadChecker thread_checker_; base 28 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), base 31 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 56 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc /*frame_id*/ 2u, base::TimeDelta::FromMilliseconds(kDelayMs)); base 68 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc /*frame_id*/ 4u, base::TimeDelta::FromMilliseconds(kDelayMs)); base 88 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 146 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 162 media/cast/rtcp/rtcp.cc const base::TimeDelta& rtcp_interval, uint32 local_ssrc, base 180 media/cast/rtcp/rtcp.cc min_rtt_(base::TimeDelta::FromMilliseconds(kMaxRttMs)), base 207 media/cast/rtcp/rtcp.cc base::BigEndianReader big_endian_reader( base 214 media/cast/rtcp/rtcp.cc base::TimeTicks Rtcp::TimeToSendNextRtcpReport() { base 237 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 272 media/cast/rtcp/rtcp.cc base::TimeDelta delta = now - time_last_report_received_; base 295 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 309 media/cast/rtcp/rtcp.cc base::TimeDelta delta = now - time_last_report_received_; base 325 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 337 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 344 media/cast/rtcp/rtcp.cc base::TimeTicks* rtp_timestamp_in_ticks) base 373 media/cast/rtcp/rtcp.cc base::TimeDelta::FromMilliseconds(rtp_time_diff_ms); base 381 media/cast/rtcp/rtcp.cc void Rtcp::SetTargetDelay(base::TimeDelta target_delay) { base 394 media/cast/rtcp/rtcp.cc base::TimeDelta sender_delay = base 399 media/cast/rtcp/rtcp.cc void Rtcp::SaveLastSentNtpTime(const base::TimeTicks& now, base 411 media/cast/rtcp/rtcp.cc base::TimeTicks timeout = now - base::TimeDelta::FromMilliseconds(kMaxRttMs); base 425 media/cast/rtcp/rtcp.cc void Rtcp::UpdateRtt(const base::TimeDelta& sender_delay, base 426 media/cast/rtcp/rtcp.cc const base::TimeDelta& receiver_delay) { base 427 media/cast/rtcp/rtcp.cc base::TimeDelta rtt = sender_delay - receiver_delay; base 428 media/cast/rtcp/rtcp.cc rtt = std::max(rtt, base::TimeDelta::FromMilliseconds(1)); base 443 media/cast/rtcp/rtcp.cc bool Rtcp::Rtt(base::TimeDelta* rtt, base::TimeDelta* avg_rtt, base 444 media/cast/rtcp/rtcp.cc base::TimeDelta* min_rtt, base::TimeDelta* max_rtt) const { base 452 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 457 media/cast/rtcp/rtcp.cc *avg_rtt = base::TimeDelta::FromMilliseconds(avg_rtt_ms_); base 480 media/cast/rtcp/rtcp.cc int random = base::RandInt(0, 999); base 481 media/cast/rtcp/rtcp.cc base::TimeDelta time_to_next = base 484 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 36 media/cast/rtcp/rtcp.h typedef std::pair<uint32, base::TimeTicks> RtcpSendTimePair; base 37 media/cast/rtcp/rtcp.h typedef std::map<uint32, base::TimeTicks> RtcpSendTimeMap; base 68 media/cast/rtcp/rtcp.h const base::TimeDelta& rtcp_interval, base 79 media/cast/rtcp/rtcp.h base::TimeTicks TimeToSendNextRtcpReport(); base 99 media/cast/rtcp/rtcp.h bool Rtt(base::TimeDelta* rtt, base 100 media/cast/rtcp/rtcp.h base::TimeDelta* avg_rtt, base 101 media/cast/rtcp/rtcp.h base::TimeDelta* min_rtt, base 102 media/cast/rtcp/rtcp.h base::TimeDelta* max_rtt) const; base 105 media/cast/rtcp/rtcp.h base::TimeTicks* rtp_timestamp_in_ticks) const; base 112 media/cast/rtcp/rtcp.h void SetTargetDelay(base::TimeDelta target_delay); base 125 media/cast/rtcp/rtcp.h void SendRtcp(const base::TimeTicks& now, base 138 media/cast/rtcp/rtcp.h void UpdateRtt(const base::TimeDelta& sender_delay, base 139 media/cast/rtcp/rtcp.h const base::TimeDelta& receiver_delay); base 143 media/cast/rtcp/rtcp.h void SaveLastSentNtpTime(const base::TimeTicks& now, base 149 media/cast/rtcp/rtcp.h const base::TimeDelta rtcp_interval_; base 163 media/cast/rtcp/rtcp.h base::TimeTicks next_time_to_send_rtcp_; base 166 media/cast/rtcp/rtcp.h base::TimeTicks time_last_report_received_; base 173 media/cast/rtcp/rtcp.h base::TimeDelta rtt_; base 174 media/cast/rtcp/rtcp.h base::TimeDelta min_rtt_; base 175 media/cast/rtcp/rtcp.h base::TimeDelta max_rtt_; base 46 media/cast/rtcp/rtcp_defines.h base::TimeTicks event_timestamp; base 47 media/cast/rtcp/rtcp_defines.h base::TimeDelta delay_delta; base 122 media/cast/rtcp/rtcp_defines.h base::TimeTicks timestamp; base 126 media/cast/rtcp/rtcp_defines.h base::TimeDelta delay_delta; base 67 media/cast/rtcp/rtcp_receiver.cc const base::TimeTicks& event_timestamp, base 72 media/cast/rtcp/rtcp_receiver.cc return base::HashInts64( base 238 media/cast/rtcp/rtcp_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 499 media/cast/rtcp/rtcp_receiver.cc const base::TimeTicks event_timestamp = base 500 media/cast/rtcp/rtcp_receiver.cc base::TimeTicks() + base 501 media/cast/rtcp/rtcp_receiver.cc base::TimeDelta::FromMilliseconds( base 531 media/cast/rtcp/rtcp_receiver.cc event_log.delay_delta = base::TimeDelta::FromMilliseconds( base 126 media/cast/rtcp/rtcp_receiver.h base::hash_set<size_t> receiver_event_hash_set_; base 159 media/cast/rtcp/rtcp_receiver_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), base 162 media/cast/rtcp/rtcp_receiver_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 207 media/cast/rtcp/rtcp_receiver_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 488 media/cast/rtcp/rtcp_receiver_unittest.cc base::SimpleTestTickClock testing_clock; base 489 media/cast/rtcp/rtcp_receiver_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeBaseMs)); base 506 media/cast/rtcp/rtcp_receiver_unittest.cc event_log.delay_delta = base::TimeDelta::FromMilliseconds(kDelayDeltaMs); base 509 media/cast/rtcp/rtcp_receiver_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeDelayMs)); base 545 media/cast/rtcp/rtcp_receiver_unittest.cc base::SimpleTestTickClock testing_clock; base 546 media/cast/rtcp/rtcp_receiver_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeBaseMs)); base 563 media/cast/rtcp/rtcp_receiver_unittest.cc event_log.delay_delta = base::TimeDelta::FromMilliseconds(kDelayDeltaMs); base 566 media/cast/rtcp/rtcp_receiver_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeDelayMs)); base 60 media/cast/rtcp/rtcp_sender.cc const base::TimeDelta& time_delta) { base 253 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 274 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 305 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 348 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 375 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 431 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 460 media/cast/rtcp/rtcp_sender.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 473 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 513 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_nack_writer( base 531 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 548 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 574 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 607 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_nack_writer( base 621 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_nack_writer( base 674 media/cast/rtcp/rtcp_sender.cc base::BigEndianWriter big_endian_writer( base 701 media/cast/rtcp/rtcp_sender.cc base::TimeTicks event_timestamp_base = base 704 media/cast/rtcp/rtcp_sender.cc (event_timestamp_base - base::TimeTicks()).InMilliseconds(); base 802 media/cast/rtcp/rtcp_sender.cc base::TimeTicks first_event_timestamp = sorted_rit->event_timestamp; base 807 media/cast/rtcp/rtcp_sender.cc base::TimeDelta delta(first_event_timestamp - base 76 media/cast/rtcp/rtcp_sender_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), base 79 media/cast/rtcp/rtcp_sender_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 88 media/cast/rtcp/rtcp_sender_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 265 media/cast/rtcp/rtcp_sender_unittest.cc base::SimpleTestTickClock testing_clock; base 266 media/cast/rtcp/rtcp_sender_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeBaseMs)); base 280 media/cast/rtcp/rtcp_sender_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeDelayMs)); base 314 media/cast/rtcp/rtcp_sender_unittest.cc base::SimpleTestTickClock testing_clock; base 315 media/cast/rtcp/rtcp_sender_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeBaseMs)); base 352 media/cast/rtcp/rtcp_sender_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeDelayMs)); base 380 media/cast/rtcp/rtcp_sender_unittest.cc base::SimpleTestTickClock testing_clock; base 381 media/cast/rtcp/rtcp_sender_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeBaseMs)); base 409 media/cast/rtcp/rtcp_sender_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeDelayMs)); base 436 media/cast/rtcp/rtcp_sender_unittest.cc base::SimpleTestTickClock testing_clock; base 437 media/cast/rtcp/rtcp_sender_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(kTimeBaseMs)); base 460 media/cast/rtcp/rtcp_sender_unittest.cc base::TimeDelta::FromMilliseconds(kTimeBetweenEventsMs)); base 483 media/cast/rtcp/rtcp_sender_unittest.cc base::SimpleTestTickClock testing_clock; base 484 media/cast/rtcp/rtcp_sender_unittest.cc testing_clock.Advance(base::TimeDelta::FromMilliseconds(time_base_ms)); base 534 media/cast/rtcp/rtcp_sender_unittest.cc base::TimeDelta::FromMilliseconds(kTimeBetweenEventsMs)); base 35 media/cast/rtcp/rtcp_unittest.cc explicit RtcpTestPacketSender(base::SimpleTestTickClock* testing_clock) base 52 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kAddedShortDelay)); base 54 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(kAddedDelay)); base 67 media/cast/rtcp/rtcp_unittest.cc base::SimpleTestTickClock* testing_clock_; base 75 media/cast/rtcp/rtcp_unittest.cc base::SimpleTestTickClock* testing_clock) base 89 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kAddedShortDelay)); base 91 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(kAddedDelay)); base 110 media/cast/rtcp/rtcp_unittest.cc base::SimpleTestTickClock* testing_clock_; base 124 media/cast/rtcp/rtcp_unittest.cc const base::TimeDelta& rtcp_interval, base 146 media/cast/rtcp/rtcp_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), base 149 media/cast/rtcp/rtcp_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 157 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 163 media/cast/rtcp/rtcp_unittest.cc base::Bind(&UpdateCastTransportStatus), base 165 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta(), base 182 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(1)); base 187 media/cast/rtcp/rtcp_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 200 media/cast/rtcp/rtcp_unittest.cc base::TimeTicks start_time; base 201 media/cast/rtcp/rtcp_unittest.cc start_time += base::TimeDelta::FromMilliseconds(kStartMillisecond); base 208 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 215 media/cast/rtcp/rtcp_unittest.cc start_time + base::TimeDelta::FromMilliseconds(kRtcpIntervalMs * 3 / 2), base 217 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta delta = rtcp.TimeToSendNextRtcpReport() - start_time; base 229 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 245 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 263 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 289 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 301 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 309 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta rtt; base 310 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta avg_rtt; base 311 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta min_rtt; base 312 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta max_rtt; base 346 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 358 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 366 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta rtt; base 367 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta avg_rtt; base 368 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta min_rtt; base 369 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta max_rtt; base 441 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 453 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 467 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta rtt; base 468 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta avg_rtt; base 469 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta min_rtt; base 470 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta max_rtt; base 497 media/cast/rtcp/rtcp_unittest.cc base::TimeTicks input_time = base::TimeTicks::Now(); base 504 media/cast/rtcp/rtcp_unittest.cc base::TimeTicks out_1 = ConvertNtpToTimeTicks(ntp_seconds_1, ntp_fractions_1); base 507 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta time_delta = base::TimeDelta::FromMilliseconds(1000); base 514 media/cast/rtcp/rtcp_unittest.cc base::TimeTicks out_2 = ConvertNtpToTimeTicks(ntp_seconds_2, ntp_fractions_2); base 522 media/cast/rtcp/rtcp_unittest.cc time_delta = base::TimeDelta::FromMilliseconds(500); base 529 media/cast/rtcp/rtcp_unittest.cc base::TimeTicks out_3 = ConvertNtpToTimeTicks(ntp_seconds_3, ntp_fractions_3); base 544 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 572 media/cast/rtcp/rtcp_unittest.cc base::TimeDelta::FromMilliseconds(kRtcpIntervalMs), base 578 media/cast/rtcp/rtcp_unittest.cc base::TimeTicks rtp_timestamp_in_ticks; base 587 media/cast/rtcp/rtcp_unittest.cc base::TimeTicks input_time; base 588 media/cast/rtcp/rtcp_unittest.cc input_time += base::TimeDelta::FromMicroseconds(input_time_us); base 601 media/cast/rtcp/rtcp_unittest.cc EXPECT_EQ(input_time - base::TimeDelta::FromMilliseconds(1000), base 608 media/cast/rtcp/rtcp_unittest.cc EXPECT_EQ(input_time - base::TimeDelta::FromMilliseconds(4000), base 615 media/cast/rtcp/rtcp_unittest.cc EXPECT_EQ(input_time + base::TimeDelta::FromMilliseconds(2000), base 624 media/cast/rtcp/rtcp_unittest.cc EXPECT_EQ(input_time + base::TimeDelta::FromMilliseconds(4000), base 312 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 332 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 363 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 424 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 444 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 511 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 536 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 574 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 607 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 633 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 660 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 770 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 794 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 811 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 839 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 879 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 907 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 928 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 944 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 965 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 1015 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 1039 media/cast/rtcp/rtcp_utility.cc base::BigEndianReader big_endian_reader( base 63 media/cast/rtcp/sender_rtcp_event_subscriber.h base::ThreadChecker thread_checker_; base 27 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), base 30 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 42 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 105 media/cast/rtcp/test_rtcp_packet_builder.h base::BigEndianWriter big_endian_writer_; base 15 media/cast/rtp_receiver/receiver_stats.cc ReceiverStats::ReceiverStats(base::TickClock* clock) base 100 media/cast/rtp_receiver/receiver_stats.cc base::TimeTicks now = clock_->NowTicks(); base 101 media/cast/rtp_receiver/receiver_stats.cc base::TimeDelta delta_new_timestamp = base 102 media/cast/rtp_receiver/receiver_stats.cc base::TimeDelta::FromMilliseconds(header.webrtc.header.timestamp); base 105 media/cast/rtp_receiver/receiver_stats.cc base::TimeDelta delta = base 18 media/cast/rtp_receiver/receiver_stats.h explicit ReceiverStats(base::TickClock* clock); base 28 media/cast/rtp_receiver/receiver_stats.h base::TickClock* const clock_; // Not owned by this class. base 35 media/cast/rtp_receiver/receiver_stats.h base::TimeDelta last_received_timestamp_; base 36 media/cast/rtp_receiver/receiver_stats.h base::TimeTicks last_received_packet_time_; base 37 media/cast/rtp_receiver/receiver_stats.h base::TimeDelta jitter_; base 30 media/cast/rtp_receiver/receiver_stats_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 32 media/cast/rtp_receiver/receiver_stats_unittest.cc delta_increments_ = base::TimeDelta::FromMilliseconds(kStdTimeIncrementMs); base 55 media/cast/rtp_receiver/receiver_stats_unittest.cc base::SimpleTestTickClock testing_clock_; base 56 media/cast/rtp_receiver/receiver_stats_unittest.cc base::TimeTicks start_time_; base 57 media/cast/rtp_receiver/receiver_stats_unittest.cc base::TimeDelta delta_increments_; base 165 media/cast/rtp_receiver/receiver_stats_unittest.cc base::TimeDelta additional_delta = base 166 media/cast/rtp_receiver/receiver_stats_unittest.cc base::TimeDelta::FromMilliseconds(kAdditionalIncrement); base 57 media/cast/rtp_receiver/rtp_parser/rtp_parser.cc base::BigEndianReader big_endian_reader( base 95 media/cast/rtp_receiver/rtp_parser/rtp_parser.cc base::BigEndianReader big_endian_reader( base 73 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc base::BigEndianWriter big_endian_writer(reinterpret_cast<char*>(data), 56); base 86 media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc base::BigEndianWriter big_endian_writer(reinterpret_cast<char*>(data), 96); base 38 media/cast/rtp_receiver/rtp_receiver.cc RtpReceiver::RtpReceiver(base::TickClock* clock, base 51 media/cast/rtp_receiver/rtp_receiver.cc base::BigEndianReader big_endian_reader( base 22 media/cast/rtp_receiver/rtp_receiver.h RtpReceiver(base::TickClock* clock, base 34 media/cast/test/encode_decode_test.cc : public base::RefCountedThreadSafe<EncodeDecodeTestFrameCallback> { base 39 media/cast/test/encode_decode_test.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); base 47 media/cast/test/encode_decode_test.cc const base::TimeTicks& render_time) { base 74 media/cast/test/encode_decode_test.cc : testing_clock_(new base::SimpleTestTickClock()), base 79 media/cast/test/encode_decode_test.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 85 media/cast/test/encode_decode_test.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 107 media/cast/test/encode_decode_test.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); base 116 media/cast/test/encode_decode_test.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 130 media/cast/test/encode_decode_test.cc base::TimeTicks(), base 131 media/cast/test/encode_decode_test.cc base::Bind(&EncodeDecodeTestFrameCallback::DecodeComplete, base 90 media/cast/test/end2end_unittest.cc if (!base::HexStringToBytes(base_16, &v)) { base 217 media/cast/test/end2end_unittest.cc : public base::RefCountedThreadSafe<TestReceiverAudioCallback> { base 221 media/cast/test/end2end_unittest.cc base::TimeTicks record_time; base 231 media/cast/test/end2end_unittest.cc const base::TimeTicks& record_time) { base 242 media/cast/test/end2end_unittest.cc const base::TimeTicks& playout_time, base 248 media/cast/test/end2end_unittest.cc const base::TimeTicks& playout_time, base 270 media/cast/test/end2end_unittest.cc const base::TimeTicks upper_bound = base 272 media/cast/test/end2end_unittest.cc base::TimeDelta::FromMilliseconds(kDefaultRtpMaxDelayMs + base 283 media/cast/test/end2end_unittest.cc const base::TimeTicks& playout_time) { base 299 media/cast/test/end2end_unittest.cc pcm_data[i] = static_cast<int16>(base::NetToHost16(pcm_data[i])); base 326 media/cast/test/end2end_unittest.cc : public base::RefCountedThreadSafe<TestReceiverVideoCallback> { base 332 media/cast/test/end2end_unittest.cc base::TimeTicks capture_time; base 340 media/cast/test/end2end_unittest.cc const base::TimeTicks& capture_time) { base 350 media/cast/test/end2end_unittest.cc const base::TimeTicks& render_time) { base 357 media/cast/test/end2end_unittest.cc base::TimeDelta time_since_capture = base 359 media/cast/test/end2end_unittest.cc const base::TimeDelta upper_bound = base::TimeDelta::FromMilliseconds( base 375 media/cast/test/end2end_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); base 399 media/cast/test/end2end_unittest.cc testing_clock_sender_(new base::SimpleTestTickClock()), base 400 media/cast/test/end2end_unittest.cc testing_clock_receiver_(new base::SimpleTestTickClock()), base 404 media/cast/test/end2end_unittest.cc scoped_ptr<base::TickClock>(testing_clock_sender_).Pass(), base 409 media/cast/test/end2end_unittest.cc scoped_ptr<base::TickClock>(testing_clock_receiver_).Pass(), base 418 media/cast/test/end2end_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 420 media/cast/test/end2end_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 476 media/cast/test/end2end_unittest.cc transport_audio_config_.base.ssrc = audio_sender_config_.sender_ssrc; base 478 media/cast/test/end2end_unittest.cc transport_audio_config_.base.rtp_config = audio_sender_config_.rtp_config; base 481 media/cast/test/end2end_unittest.cc transport_video_config_.base.ssrc = video_sender_config_.sender_ssrc; base 483 media/cast/test/end2end_unittest.cc transport_video_config_.base.rtp_config = video_sender_config_.rtp_config; base 489 media/cast/test/end2end_unittest.cc base::TimeDelta::FromMilliseconds(kAudioFrameDurationMs))); base 490 media/cast/test/end2end_unittest.cc const base::TimeTicks send_time = base 492 media/cast/test/end2end_unittest.cc i * base::TimeDelta::FromMilliseconds(kAudioFrameDurationMs); base 500 media/cast/test/end2end_unittest.cc const base::TimeDelta& delay) { base 503 media/cast/test/end2end_unittest.cc base::TimeDelta::FromMilliseconds(kAudioFrameDurationMs))); base 504 media/cast/test/end2end_unittest.cc const base::TimeTicks send_time = base 506 media/cast/test/end2end_unittest.cc i * base::TimeDelta::FromMilliseconds(kAudioFrameDurationMs); base 516 media/cast/test/end2end_unittest.cc base::Bind(with_check ? &TestReceiverAudioCallback::CheckAudioFrame : base 532 media/cast/test/end2end_unittest.cc base::Bind(&UpdateCastTransportStatus), base 533 media/cast/test/end2end_unittest.cc base::Bind(&End2EndTest::LogRawEvents, base::Unretained(this)), base 534 media/cast/test/end2end_unittest.cc base::TimeDelta::FromSeconds(1), base 545 media/cast/test/end2end_unittest.cc base::Bind(&AudioInitializationStatus)); base 547 media/cast/test/end2end_unittest.cc base::Bind(&VideoInitializationStatus), base 577 media/cast/test/end2end_unittest.cc void SendVideoFrame(int start_value, const base::TimeTicks& capture_time) { base 580 media/cast/test/end2end_unittest.cc base::TimeDelta time_diff = capture_time - start_time_; base 594 media/cast/test/end2end_unittest.cc testing_clock_sender_->Advance(base::TimeDelta::FromMilliseconds(1)); base 595 media/cast/test/end2end_unittest.cc testing_clock_receiver_->Advance(base::TimeDelta::FromMilliseconds(1)); base 623 media/cast/test/end2end_unittest.cc base::TimeTicks start_time_; base 624 media/cast/test/end2end_unittest.cc base::SimpleTestTickClock* testing_clock_sender_; base 625 media/cast/test/end2end_unittest.cc base::SimpleTestTickClock* testing_clock_receiver_; base 650 media/cast/test/end2end_unittest.cc base::MessageLoop message_loop_; base 688 media/cast/test/end2end_unittest.cc base::Bind(&TestReceiverVideoCallback::CheckVideoFrame, base 714 media/cast/test/end2end_unittest.cc base::Bind(&TestReceiverAudioCallback::CheckCodedAudioFrame, base 761 media/cast/test/end2end_unittest.cc const base::TimeTicks initial_send_time = testing_clock_sender_->NowTicks(); base 762 media/cast/test/end2end_unittest.cc const base::TimeDelta expected_delay = base 763 media/cast/test/end2end_unittest.cc base::TimeDelta::FromMilliseconds(test_delay_ms + kFrameTimerMs); base 818 media/cast/test/end2end_unittest.cc base::Bind(&TestReceiverVideoCallback::CheckVideoFrame, base 840 media/cast/test/end2end_unittest.cc base::TimeTicks send_time; base 853 media/cast/test/end2end_unittest.cc base::Bind(&TestReceiverVideoCallback::CheckVideoFrame, base 884 media/cast/test/end2end_unittest.cc base::Bind(&TestReceiverVideoCallback::CheckVideoFrame, base 900 media/cast/test/end2end_unittest.cc base::TimeTicks send_time; base 917 media/cast/test/end2end_unittest.cc base::Bind(&TestReceiverVideoCallback::CheckVideoFrame, base 937 media/cast/test/end2end_unittest.cc const base::TimeTicks send_time = testing_clock_sender_->NowTicks(); base 949 media/cast/test/end2end_unittest.cc base::Bind(&TestReceiverVideoCallback::CheckVideoFrame, base 961 media/cast/test/end2end_unittest.cc transport_video_config_.base.aes_iv_mask = base 963 media/cast/test/end2end_unittest.cc transport_video_config_.base.aes_key = base 966 media/cast/test/end2end_unittest.cc video_receiver_config_.aes_iv_mask = transport_video_config_.base.aes_iv_mask; base 967 media/cast/test/end2end_unittest.cc video_receiver_config_.aes_key = transport_video_config_.base.aes_key; base 973 media/cast/test/end2end_unittest.cc const base::TimeTicks send_time = testing_clock_sender_->NowTicks(); base 986 media/cast/test/end2end_unittest.cc base::Bind(&TestReceiverVideoCallback::CheckVideoFrame, base 998 media/cast/test/end2end_unittest.cc transport_audio_config_.base.aes_iv_mask = base 1000 media/cast/test/end2end_unittest.cc transport_audio_config_.base.aes_key = base 1003 media/cast/test/end2end_unittest.cc audio_receiver_config_.aes_iv_mask = transport_audio_config_.base.aes_iv_mask; base 1004 media/cast/test/end2end_unittest.cc audio_receiver_config_.aes_key = transport_audio_config_.base.aes_key; base 1029 media/cast/test/end2end_unittest.cc base::TimeTicks send_time = testing_clock_sender_->NowTicks(); base 1040 media/cast/test/end2end_unittest.cc base::Bind(&TestReceiverVideoCallback::CheckVideoFrame, base 16 media/cast/test/fake_single_thread_task_runner.cc base::SimpleTestTickClock* clock) base 23 media/cast/test/fake_single_thread_task_runner.cc const base::Closure& task, base 24 media/cast/test/fake_single_thread_task_runner.cc base::TimeDelta delay) { base 25 media/cast/test/fake_single_thread_task_runner.cc EXPECT_GE(delay, base::TimeDelta()); base 30 media/cast/test/fake_single_thread_task_runner.cc base::TestPendingTask::NESTABLE); base 43 media/cast/test/fake_single_thread_task_runner.cc std::multimap<base::TimeTicks, PostedTask>::iterator it = tasks_.begin(); base 58 media/cast/test/fake_single_thread_task_runner.cc const base::Closure& task, base 59 media/cast/test/fake_single_thread_task_runner.cc base::TimeDelta delay) { base 19 media/cast/test/fake_single_thread_task_runner.h typedef base::TestPendingTask PostedTask; base 21 media/cast/test/fake_single_thread_task_runner.h class FakeSingleThreadTaskRunner : public base::SingleThreadTaskRunner { base 23 media/cast/test/fake_single_thread_task_runner.h explicit FakeSingleThreadTaskRunner(base::SimpleTestTickClock* clock); base 29 media/cast/test/fake_single_thread_task_runner.h const base::Closure& task, base 30 media/cast/test/fake_single_thread_task_runner.h base::TimeDelta delay) OVERRIDE; base 37 media/cast/test/fake_single_thread_task_runner.h const base::Closure& task, base 38 media/cast/test/fake_single_thread_task_runner.h base::TimeDelta delay) OVERRIDE; base 44 media/cast/test/fake_single_thread_task_runner.h base::SimpleTestTickClock* const clock_; base 45 media/cast/test/fake_single_thread_task_runner.h std::multimap<base::TimeTicks, PostedTask> tasks_; base 20 media/cast/test/fake_video_encode_accelerator.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) base 43 media/cast/test/fake_video_encode_accelerator.cc base::Bind(&FakeVideoEncodeAccelerator::DoRequireBitstreamBuffers, base 68 media/cast/test/fake_video_encode_accelerator.cc base::Bind(&FakeVideoEncodeAccelerator::DoBitstreamBufferReady, base 15 media/cast/test/fake_video_encode_accelerator.h namespace base { base 26 media/cast/test/fake_video_encode_accelerator.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); base 55 media/cast/test/fake_video_encode_accelerator.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 62 media/cast/test/fake_video_encode_accelerator.h base::WeakPtrFactory<FakeVideoEncodeAccelerator> weak_this_factory_; base 154 media/cast/test/receiver.cc const base::TimeTicks& render_time) OVERRIDE { base 160 media/cast/test/receiver.cc base::TimeDelta time_diff = render_time - last_render_time_; base 168 media/cast/test/receiver.cc const base::TimeTicks& playout_time) OVERRIDE { base 171 media/cast/test/receiver.cc base::TimeDelta time_diff = playout_time - last_playout_time_; base 181 media/cast/test/receiver.cc base::TimeTicks last_playout_time_; base 182 media/cast/test/receiver.cc base::TimeTicks last_render_time_; base 189 media/cast/test/receiver.cc base::AtExitManager at_exit; base 234 media/cast/test/receiver.cc base::MessageLoop().Run(); // Run forever (i.e., until SIGTERM). base 225 media/cast/test/sender.cc SendProcess(scoped_refptr<base::SingleThreadTaskRunner> thread_proxy, base 226 media/cast/test/sender.cc base::TickClock* clock, base 269 media/cast/test/sender.cc base::TimeDelta::FromMilliseconds(10) * num_10ms_blocks), base 276 media/cast/test/sender.cc base::TimeDelta time_diff = clock_->NowTicks() - start_time_; base 290 media/cast/test/sender.cc base::TimeTicks now = clock_->NowTicks(); base 291 media/cast/test/sender.cc base::TimeDelta video_frame_time = base 292 media/cast/test/sender.cc base::TimeDelta::FromMilliseconds(kFrameTimerMs); base 293 media/cast/test/sender.cc base::TimeDelta elapsed_time = now - send_time_; base 298 media/cast/test/sender.cc base::Bind(&SendProcess::SendVideoFrameOnTime, base 305 media/cast/test/sender.cc base::Bind(&SendProcess::SendVideoFrameOnTime, base 315 media/cast/test/sender.cc FROM_HERE, base::Bind(&SendProcess::SendFrame, base::Unretained(this))); base 319 media/cast/test/sender.cc scoped_refptr<base::SingleThreadTaskRunner> test_app_thread_proxy_; base 326 media/cast/test/sender.cc base::TickClock* const clock_; // Not owned by this class. base 327 media/cast/test/sender.cc base::TimeTicks start_time_; base 328 media/cast/test/sender.cc base::TimeTicks send_time_; base 332 media/cast/test/sender.cc base::WeakPtrFactory<SendProcess> weak_factory_; base 378 media/cast/test/sender.cc base::ScopedFILE log_file) { base 406 media/cast/test/sender.cc base::ScopedFILE video_log_file, base 407 media/cast/test/sender.cc base::ScopedFILE audio_log_file, base 441 media/cast/test/sender.cc base::AtExitManager at_exit; base 444 media/cast/test/sender.cc base::Thread test_thread("Cast sender test app thread"); base 445 media/cast/test/sender.cc base::Thread audio_thread("Cast audio encoder thread"); base 446 media/cast/test/sender.cc base::Thread video_thread("Cast video encoder thread"); base 451 media/cast/test/sender.cc base::MessageLoopForIO io_message_loop; base 470 media/cast/test/sender.cc transport_audio_config.base.ssrc = audio_config.sender_ssrc; base 471 media/cast/test/sender.cc VLOG(0) << "Audio ssrc: " << transport_audio_config.base.ssrc; base 472 media/cast/test/sender.cc transport_audio_config.base.rtp_config = audio_config.rtp_config; base 473 media/cast/test/sender.cc transport_video_config.base.ssrc = video_config.sender_ssrc; base 474 media/cast/test/sender.cc transport_video_config.base.rtp_config = video_config.rtp_config; base 480 media/cast/test/sender.cc make_scoped_ptr<base::TickClock>(new base::DefaultTickClock()), base 490 media/cast/test/sender.cc base::Bind(&UpdateCastTransportStatus), base 491 media/cast/test/sender.cc base::Bind(&LogRawEvents, cast_environment), base 492 media/cast/test/sender.cc base::TimeDelta::FromSeconds(1), base 503 media/cast/test/sender.cc base::Bind(&InitializationResult), base 507 media/cast/test/sender.cc cast_sender->InitializeAudio(audio_config, base::Bind(&InitializationResult)); base 541 media/cast/test/sender.cc base::ScopedFILE video_log_file(fopen(video_log_file_name.c_str(), "w")); base 547 media/cast/test/sender.cc base::ScopedFILE audio_log_file(fopen(audio_log_file_name.c_str(), "w")); base 555 media/cast/test/sender.cc base::Bind(&WriteLogsToFileAndStopSubscribing, base 557 media/cast/test/sender.cc base::Passed(&video_event_subscriber), base 558 media/cast/test/sender.cc base::Passed(&audio_event_subscriber), base 559 media/cast/test/sender.cc base::Passed(&video_log_file), base 560 media/cast/test/sender.cc base::Passed(&audio_log_file), base 562 media/cast/test/sender.cc base::TimeDelta::FromSeconds(logging_duration)); base 567 media/cast/test/sender.cc base::Bind(&media::cast::SendProcess::SendFrame, base 568 media/cast/test/sender.cc base::Unretained(send_process.get()))); base 35 media/cast/test/utility/audio_utility.cc const base::TimeDelta& duration) { base 37 media/cast/test/utility/audio_utility.cc base::TimeDelta::FromSeconds(1)); base 10 media/cast/test/utility/audio_utility.h namespace base { base 35 media/cast/test/utility/audio_utility.h scoped_ptr<AudioBus> NextAudioBus(const base::TimeDelta& duration); base 54 media/cast/test/utility/default_config.cc return base::Bind(&CreateVideoEncodeAccelerator); base 58 media/cast/test/utility/default_config.cc return base::Bind(&CreateVideoEncodeMemory); base 43 media/cast/test/utility/in_process_receiver.cc base::Bind(&InProcessReceiver::StartOnMainThread, base 44 media/cast/test/utility/in_process_receiver.cc base::Unretained(this))); base 48 media/cast/test/utility/in_process_receiver.cc base::WaitableEvent event(false, false); base 54 media/cast/test/utility/in_process_receiver.cc base::Bind(&InProcessReceiver::StopOnMainThread, base 55 media/cast/test/utility/in_process_receiver.cc base::Unretained(this), base 61 media/cast/test/utility/in_process_receiver.cc void InProcessReceiver::StopOnMainThread(base::WaitableEvent* event) { base 73 media/cast/test/utility/in_process_receiver.cc base::Bind(&InProcessReceiver::WillDestroyReceiver, base::Owned(this))); base 91 media/cast/test/utility/in_process_receiver.cc base::Bind(&InProcessReceiver::UpdateCastTransportStatus, base 92 media/cast/test/utility/in_process_receiver.cc base::Unretained(this)))); base 104 media/cast/test/utility/in_process_receiver.cc const base::TimeTicks& playout_time, base 123 media/cast/test/utility/in_process_receiver.cc const base::TimeTicks& render_time) { base 132 media/cast/test/utility/in_process_receiver.cc base::Bind(&InProcessReceiver::GotAudioFrame, base 138 media/cast/test/utility/in_process_receiver.cc cast_receiver_->frame_receiver()->GetRawVideoFrame(base::Bind( base 15 media/cast/test/utility/in_process_receiver.h namespace base { base 76 media/cast/test/utility/in_process_receiver.h const base::TimeTicks& playout_time) = 0; base 78 media/cast/test/utility/in_process_receiver.h const base::TimeTicks& render_time) = 0; base 87 media/cast/test/utility/in_process_receiver.h virtual void StopOnMainThread(base::WaitableEvent* event); base 94 media/cast/test/utility/in_process_receiver.h friend class base::RefCountedThreadSafe<InProcessReceiver>; base 98 media/cast/test/utility/in_process_receiver.h const base::TimeTicks& playout_time, base 101 media/cast/test/utility/in_process_receiver.h const base::TimeTicks& render_time); base 118 media/cast/test/utility/in_process_receiver.h base::WeakPtrFactory<InProcessReceiver> weak_factory_; base 62 media/cast/test/utility/input_builder.cc CHECK(base::StringToInt(string_input, &int_value)); base 71 media/cast/test/utility/input_builder.cc if (!base::StringToInt(input, &value)) base 14 media/cast/test/utility/standalone_cast_environment.cc make_scoped_ptr<base::TickClock>(new base::DefaultTickClock()), base 26 media/cast/test/utility/standalone_cast_environment.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 27 media/cast/test/utility/standalone_cast_environment.cc CREATE_TASK_RUNNER(audio, base::Thread::Options()); base 28 media/cast/test/utility/standalone_cast_environment.cc CREATE_TASK_RUNNER(video, base::Thread::Options()); base 18 media/cast/test/utility/standalone_cast_environment.h public base::ThreadChecker { base 29 media/cast/test/utility/standalone_cast_environment.h base::Thread main_thread_; base 30 media/cast/test/utility/standalone_cast_environment.h base::Thread audio_thread_; base 31 media/cast/test/utility/standalone_cast_environment.h base::Thread video_thread_; base 25 media/cast/test/utility/udp_proxy.cc task_runner_ = base::MessageLoopProxy::current(); base 66 media/cast/test/utility/udp_proxy.cc base::Bind(&Buffer::ProcessBuffer, weak_factory_.GetWeakPtr()), base 67 media/cast/test/utility/udp_proxy.cc base::TimeDelta::FromMicroseconds(microseconds)); base 85 media/cast/test/utility/udp_proxy.cc base::WeakPtrFactory<Buffer> weak_factory_; base 98 media/cast/test/utility/udp_proxy.cc if (base::RandDouble() >= drop_fraction_) { base 120 media/cast/test/utility/udp_proxy.cc base::Bind(&SimpleDelayBase::SendInternal, base 122 media/cast/test/utility/udp_proxy.cc base::Passed(&packet)), base 123 media/cast/test/utility/udp_proxy.cc base::TimeDelta::FromMicroseconds(static_cast<int64>(seconds * 1E6))); base 133 media/cast/test/utility/udp_proxy.cc base::WeakPtrFactory<SimpleDelayBase> weak_factory_; base 156 media/cast/test/utility/udp_proxy.cc return random_delay_ * base::RandDouble(); base 193 media/cast/test/utility/udp_proxy.cc double seconds = seconds_between_extra_delay_ * mult * base::RandDouble(); base 197 media/cast/test/utility/udp_proxy.cc base::Bind(&RandomSortedDelay::CauseExtraDelay, base 199 media/cast/test/utility/udp_proxy.cc base::TimeDelta::FromMicroseconds(microseconds)); base 203 media/cast/test/utility/udp_proxy.cc block_until_ = base::TimeTicks::Now() + base 204 media/cast/test/utility/udp_proxy.cc base::TimeDelta::FromMicroseconds( base 213 media/cast/test/utility/udp_proxy.cc double seconds = base::RandDouble() * random_delay_; base 214 media/cast/test/utility/udp_proxy.cc base::TimeDelta block_time = block_until_ - base::TimeTicks::Now(); base 215 media/cast/test/utility/udp_proxy.cc base::TimeDelta delay_time = base 216 media/cast/test/utility/udp_proxy.cc base::TimeDelta::FromMicroseconds( base 223 media/cast/test/utility/udp_proxy.cc base::Bind(&RandomSortedDelay::ProcessBuffer, base 238 media/cast/test/utility/udp_proxy.cc base::TimeTicks block_until_; base 243 media/cast/test/utility/udp_proxy.cc base::WeakPtrFactory<RandomSortedDelay> weak_factory_; base 278 media/cast/test/utility/udp_proxy.cc double seconds = base::RandDouble() * base 283 media/cast/test/utility/udp_proxy.cc base::Bind(&NetworkGlitchPipe::Flip, weak_factory_.GetWeakPtr()), base 284 media/cast/test/utility/udp_proxy.cc base::TimeDelta::FromMicroseconds(microseconds)); base 290 media/cast/test/utility/udp_proxy.cc base::WeakPtrFactory<NetworkGlitchPipe> weak_factory_; base 330 media/cast/test/utility/udp_proxy.cc base::Bind(&PacketSender::AllowWrite, base 333 media/cast/test/utility/udp_proxy.cc base::Passed(&packet))); base 355 media/cast/test/utility/udp_proxy.cc base::WeakPtrFactory<PacketSender> weak_factory_; base 416 media/cast/test/utility/udp_proxy.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 419 media/cast/test/utility/udp_proxy.cc base::Bind(&UDPProxyImpl::Start, base 420 media/cast/test/utility/udp_proxy.cc base::Unretained(this), base 482 media/cast/test/utility/udp_proxy.cc base::Bind(&UDPProxyImpl::ReadCallback, base 483 media/cast/test/utility/udp_proxy.cc base::Unretained(this), base 496 media/cast/test/utility/udp_proxy.cc base::Thread proxy_thread_; base 500 media/cast/test/utility/udp_proxy.cc base::WaitableEvent start_event_; base 35 media/cast/test/utility/udp_proxy.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 23 media/cast/test/utility/udp_proxy_main.cc base::AtExitManager exit_manager; base 61 media/cast/transport/cast_transport_config.h CastTransportBaseConfig base; base 71 media/cast/transport/cast_transport_config.h CastTransportBaseConfig base; base 102 media/cast/transport/cast_transport_config.h typedef base::Callback<void(scoped_ptr<Packet> packet)> PacketReceiverCallback; base 156 media/cast/transport/cast_transport_defines.h inline uint32 GetVideoRtpTimestamp(const base::TimeTicks& time_ticks) { base 157 media/cast/transport/cast_transport_defines.h base::TimeTicks zero_time; base 158 media/cast/transport/cast_transport_defines.h base::TimeDelta recorded_delta = time_ticks - zero_time; base 46 media/cast/transport/cast_transport_sender.h typedef base::Callback<void(CastTransportStatus status)> base 49 media/cast/transport/cast_transport_sender.h typedef base::Callback<void(const RtcpSenderInfo& sender_info, base 50 media/cast/transport/cast_transport_sender.h base::TimeTicks time_sent, base 53 media/cast/transport/cast_transport_sender.h typedef base::Callback<void(const std::vector<PacketEvent>&)> base 57 media/cast/transport/cast_transport_sender.h class CastTransportSender : public base::NonThreadSafe { base 61 media/cast/transport/cast_transport_sender.h base::TickClock* clock, base 65 media/cast/transport/cast_transport_sender.h base::TimeDelta raw_events_callback_interval, base 66 media/cast/transport/cast_transport_sender.h const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner); base 86 media/cast/transport/cast_transport_sender.h const base::TimeTicks& recorded_time) = 0; base 89 media/cast/transport/cast_transport_sender.h const base::TimeTicks& capture_time) = 0; base 17 media/cast/transport/cast_transport_sender_impl.cc base::TickClock* clock, base 21 media/cast/transport/cast_transport_sender_impl.cc base::TimeDelta raw_events_callback_interval, base 22 media/cast/transport/cast_transport_sender_impl.cc const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner) { base 36 media/cast/transport/cast_transport_sender_impl.cc base::TickClock* clock, base 40 media/cast/transport/cast_transport_sender_impl.cc base::TimeDelta raw_events_callback_interval, base 41 media/cast/transport/cast_transport_sender_impl.cc const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner, base 60 media/cast/transport/cast_transport_sender_impl.cc DCHECK(raw_events_callback_interval > base::TimeDelta()); base 77 media/cast/transport/cast_transport_sender_impl.cc pacer_.RegisterAudioSsrc(config.base.ssrc); base 88 media/cast/transport/cast_transport_sender_impl.cc pacer_.RegisterVideoSsrc(config.base.ssrc); base 104 media/cast/transport/cast_transport_sender_impl.cc const base::TimeTicks& recorded_time) { base 111 media/cast/transport/cast_transport_sender_impl.cc const base::TimeTicks& capture_time) { base 39 media/cast/transport/cast_transport_sender_impl.h base::TickClock* clock, base 43 media/cast/transport/cast_transport_sender_impl.h base::TimeDelta raw_events_callback_interval, base 44 media/cast/transport/cast_transport_sender_impl.h const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner, base 58 media/cast/transport/cast_transport_sender_impl.h const base::TimeTicks& recorded_time) base 62 media/cast/transport/cast_transport_sender_impl.h const base::TimeTicks& capture_time) base 87 media/cast/transport/cast_transport_sender_impl.h base::TickClock* clock_; // Not owned by this class. base 89 media/cast/transport/cast_transport_sender_impl.h scoped_refptr<base::SingleThreadTaskRunner> transport_task_runner_; base 100 media/cast/transport/cast_transport_sender_impl.h base::RepeatingTimer<CastTransportSenderImpl> raw_events_timer_; base 39 media/cast/transport/cast_transport_sender_impl_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 50 media/cast/transport/cast_transport_sender_impl_unittest.cc base::Bind(&UpdateCastTransportStatus), base 52 media/cast/transport/cast_transport_sender_impl_unittest.cc base::TimeDelta(), base 63 media/cast/transport/cast_transport_sender_impl_unittest.cc base::Bind(&UpdateCastTransportStatus), base 64 media/cast/transport/cast_transport_sender_impl_unittest.cc base::Bind(&CastTransportSenderImplTest::LogRawEvents, base 65 media/cast/transport/cast_transport_sender_impl_unittest.cc base::Unretained(this)), base 66 media/cast/transport/cast_transport_sender_impl_unittest.cc base::TimeDelta::FromMilliseconds(10), base 82 media/cast/transport/cast_transport_sender_impl_unittest.cc base::SimpleTestTickClock testing_clock_; base 86 media/cast/transport/cast_transport_sender_impl_unittest.cc base::MessageLoopForIO message_loop_; base 87 media/cast/transport/cast_transport_sender_impl_unittest.cc base::RunLoop run_loop_; base 95 media/cast/transport/cast_transport_sender_impl_unittest.cc base::TimeDelta::FromMilliseconds(50)); base 104 media/cast/transport/cast_transport_sender_impl_unittest.cc base::TimeDelta::FromMilliseconds(50)); base 36 media/cast/transport/pacing/paced_sender.cc base::TickClock* clock, base 39 media/cast/transport/pacing/paced_sender.cc const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner) base 115 media/cast/transport/pacing/paced_sender.cc base::TimeDelta time_to_next = base 117 media/cast/transport/pacing/paced_sender.cc base::TimeDelta::FromMilliseconds(kPacingIntervalMs); base 119 media/cast/transport/pacing/paced_sender.cc time_to_next = std::max(time_to_next, base::TimeDelta()); base 123 media/cast/transport/pacing/paced_sender.cc base::Bind(&PacedSender::SendNextPacketBurst, weak_factory_.GetWeakPtr()), base 201 media/cast/transport/pacing/paced_sender.cc base::BigEndianReader reader(reinterpret_cast<const char*>(&packet[8]), 4); base 43 media/cast/transport/pacing/paced_sender.h public base::NonThreadSafe, base 44 media/cast/transport/pacing/paced_sender.h public base::SupportsWeakPtr<PacedSender> { base 49 media/cast/transport/pacing/paced_sender.h base::TickClock* clock, base 52 media/cast/transport/pacing/paced_sender.h const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner); base 87 media/cast/transport/pacing/paced_sender.h base::TickClock* const clock_; // Not owned by this class. base 90 media/cast/transport/pacing/paced_sender.h scoped_refptr<base::SingleThreadTaskRunner> transport_task_runner_; base 95 media/cast/transport/pacing/paced_sender.h base::TimeTicks time_last_process_; base 102 media/cast/transport/pacing/paced_sender.h base::WeakPtrFactory<PacedSender> weak_factory_; base 59 media/cast/transport/pacing/paced_sender_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 84 media/cast/transport/pacing/paced_sender_unittest.cc base::BigEndianWriter writer(reinterpret_cast<char*>(&packet[8]), 4); base 96 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); base 108 media/cast/transport/pacing/paced_sender_unittest.cc base::SimpleTestTickClock testing_clock_; base 137 media/cast/transport/pacing/paced_sender_unittest.cc base::TimeDelta timeout = base::TimeDelta::FromMilliseconds(10); base 142 media/cast/transport/pacing/paced_sender_unittest.cc timeout = base::TimeDelta::FromMilliseconds(5); base 193 media/cast/transport/pacing/paced_sender_unittest.cc base::TimeDelta timeout = base::TimeDelta::FromMilliseconds(10); base 276 media/cast/transport/pacing/paced_sender_unittest.cc base::TimeDelta timeout_10ms = base::TimeDelta::FromMilliseconds(10); base 286 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(6)); base 290 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(4)); base 301 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(3)); base 308 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(7)); base 88 media/cast/transport/rtcp/rtcp_builder.cc base::BigEndianWriter big_endian_writer( base 112 media/cast/transport/rtcp/rtcp_builder.cc base::BigEndianWriter big_endian_writer( base 157 media/cast/transport/rtcp/rtcp_builder.cc base::BigEndianWriter big_endian_writer( base 193 media/cast/transport/rtcp/rtcp_builder.cc base::BigEndianWriter big_endian_writer( base 227 media/cast/transport/rtcp/rtcp_builder.cc base::BigEndianWriter big_endian_writer( base 69 media/cast/transport/rtcp/rtcp_builder_unittest.cc base::SimpleTestTickClock testing_clock_; base 41 media/cast/transport/rtp_sender/packet_storage/packet_storage.cc PacketStorage::PacketStorage(base::TickClock* clock, int max_time_stored_ms) base 43 media/cast/transport/rtp_sender/packet_storage/packet_storage.cc max_time_stored_ = base::TimeDelta::FromMilliseconds(max_time_stored_ms); base 60 media/cast/transport/rtp_sender/packet_storage/packet_storage.cc void PacketStorage::CleanupOldPackets(base::TimeTicks now) { base 101 media/cast/transport/rtp_sender/packet_storage/packet_storage.cc base::TimeTicks now = clock_->NowTicks(); base 26 media/cast/transport/rtp_sender/packet_storage/packet_storage.h typedef std::multimap<base::TimeTicks, uint32> TimeToPacketMap; base 32 media/cast/transport/rtp_sender/packet_storage/packet_storage.h PacketStorage(base::TickClock* clock, int max_time_stored_ms); base 45 media/cast/transport/rtp_sender/packet_storage/packet_storage.h void CleanupOldPackets(base::TimeTicks now); base 47 media/cast/transport/rtp_sender/packet_storage/packet_storage.h base::TickClock* const clock_; // Not owned by this class. base 48 media/cast/transport/rtp_sender/packet_storage/packet_storage.h base::TimeDelta max_time_stored_; base 20 media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc static const base::TimeDelta kDeltaBetweenFrames = base 21 media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc base::TimeDelta::FromMilliseconds(33); base 29 media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 32 media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc base::SimpleTestTickClock testing_clock_; base 35 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc base::TickClock* clock, base 54 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc const base::TimeTicks& capture_time) { base 69 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc const base::TimeTicks& recorded_time) { base 87 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc bool RtpPacketizer::LastSentTimestamp(base::TimeTicks* time_sent, base 131 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc base::BigEndianWriter big_endian_writer( base 172 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc base::BigEndianWriter big_endian_writer( base 15 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h namespace base { base 59 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h base::TickClock* clock, base 65 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h const base::TimeTicks& capture_time); base 69 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h const base::TimeTicks& recorded_time); base 71 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h bool LastSentTimestamp(base::TimeTicks* time_sent, base 94 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h base::TickClock* const clock_; // Not owned by this class. base 97 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h base::TimeTicks time_last_sent_rtp_timestamp_; base 132 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(1)); base 137 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc base::SimpleTestTickClock testing_clock_; base 156 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc base::TimeTicks time; base 157 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc time += base::TimeDelta::FromMilliseconds(kTimestampMs); base 183 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kTimestampMs)); base 64 media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc base::BigEndianReader big_endian_reader(reinterpret_cast<const char*>(ptr), base 91 media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc base::BigEndianReader big_endian_reader( base 22 media/cast/transport/rtp_sender/rtp_sender.cc base::TickClock* clock, base 24 media/cast/transport/rtp_sender/rtp_sender.cc const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner, base 33 media/cast/transport/rtp_sender/rtp_sender.cc config_.sequence_number = base::RandInt(0, 65535); base 39 media/cast/transport/rtp_sender/rtp_sender.cc storage_.reset(new PacketStorage(clock_, config.base.rtp_config.history_ms)); base 41 media/cast/transport/rtp_sender/rtp_sender.cc config_.ssrc = config.base.ssrc; base 42 media/cast/transport/rtp_sender/rtp_sender.cc config_.payload_type = config.base.rtp_config.payload_type; base 50 media/cast/transport/rtp_sender/rtp_sender.cc storage_.reset(new PacketStorage(clock_, config.base.rtp_config.history_ms)); base 52 media/cast/transport/rtp_sender/rtp_sender.cc config_.ssrc = config.base.ssrc; base 53 media/cast/transport/rtp_sender/rtp_sender.cc config_.payload_type = config.base.rtp_config.payload_type; base 61 media/cast/transport/rtp_sender/rtp_sender.cc const base::TimeTicks& capture_time) { base 68 media/cast/transport/rtp_sender/rtp_sender.cc const base::TimeTicks& recorded_time) { base 142 media/cast/transport/rtp_sender/rtp_sender.cc base::Bind(&RtpSender::RtpStatistics, weak_factory_.GetWeakPtr()), base 143 media/cast/transport/rtp_sender/rtp_sender.cc base::TimeDelta::FromMilliseconds(kStatsCallbackIntervalMs)); base 148 media/cast/transport/rtp_sender/rtp_sender.cc base::TimeTicks time_sent; base 39 media/cast/transport/rtp_sender/rtp_sender.h base::TickClock* clock, base 41 media/cast/transport/rtp_sender/rtp_sender.h const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner, base 56 media/cast/transport/rtp_sender/rtp_sender.h const base::TimeTicks& capture_time); base 60 media/cast/transport/rtp_sender/rtp_sender.h const base::TimeTicks& recorded_time); base 74 media/cast/transport/rtp_sender/rtp_sender.h base::TickClock* clock_; // Not owned by this class. base 81 media/cast/transport/rtp_sender/rtp_sender.h scoped_refptr<base::SingleThreadTaskRunner> transport_task_runner_; base 84 media/cast/transport/rtp_sender/rtp_sender.h base::WeakPtrFactory<RtpSender> weak_factory_; base 43 media/cast/transport/transport/udp_transport.cc const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_proxy, base 105 media/cast/transport/transport/udp_transport.cc base::Bind(&UdpTransport::ReceiveNextPacket, base 164 media/cast/transport/transport/udp_transport.cc base::Bind(&UdpTransport::OnSent, weak_factory_.GetWeakPtr(), buf)); base 170 media/cast/transport/transport/udp_transport.cc base::Bind(&UdpTransport::OnSent, weak_factory_.GetWeakPtr(), buf)); base 40 media/cast/transport/transport/udp_transport.h const scoped_refptr<base::SingleThreadTaskRunner>& io_thread_proxy, base 61 media/cast/transport/transport/udp_transport.h const scoped_refptr<base::SingleThreadTaskRunner> io_thread_proxy_; base 74 media/cast/transport/transport/udp_transport.h base::WeakPtrFactory<UdpTransport> weak_factory_; base 25 media/cast/transport/transport/udp_transport_unittest.cc MockPacketReceiver(const base::Closure& callback) base 36 media/cast/transport/transport/udp_transport_unittest.cc return base::Bind(&MockPacketReceiver::ReceivedPacket, base 37 media/cast/transport/transport/udp_transport_unittest.cc base::Unretained(this)); base 42 media/cast/transport/transport/udp_transport_unittest.cc base::Closure packet_callback_; base 56 media/cast/transport/transport/udp_transport_unittest.cc base::MessageLoopForIO message_loop; base 67 media/cast/transport/transport/udp_transport_unittest.cc base::Bind(&UpdateCastTransportStatus)); base 72 media/cast/transport/transport/udp_transport_unittest.cc base::Bind(&UpdateCastTransportStatus)); base 80 media/cast/transport/transport/udp_transport_unittest.cc base::RunLoop run_loop; base 83 media/cast/transport/transport/udp_transport_unittest.cc base::Bind(&SendPacket, &recv_transport, packet)); base 18 media/cast/transport/transport_audio_sender.cc base::TickClock* clock, base 20 media/cast/transport/transport_audio_sender.cc const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner, base 26 media/cast/transport/transport_audio_sender.cc encryptor_.Initialize(config.base.aes_key, config.base.aes_iv_mask); base 33 media/cast/transport/transport_audio_sender.cc const base::TimeTicks& recorded_time) { base 25 media/cast/transport/transport_audio_sender.h class TransportAudioSender : public base::NonThreadSafe { base 29 media/cast/transport/transport_audio_sender.h base::TickClock* clock, base 31 media/cast/transport/transport_audio_sender.h const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner, base 39 media/cast/transport/transport_audio_sender.h const base::TimeTicks& recorded_time); base 21 media/cast/transport/transport_video_sender.cc base::TickClock* clock, base 23 media/cast/transport/transport_video_sender.cc const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner, base 25 media/cast/transport/transport_video_sender.cc : rtp_max_delay_(base::TimeDelta::FromMilliseconds( base 26 media/cast/transport/transport_video_sender.cc config.base.rtp_config.max_delay_ms)), base 31 media/cast/transport/transport_video_sender.cc encryptor_.Initialize(config.base.aes_key, config.base.aes_iv_mask); base 38 media/cast/transport/transport_video_sender.cc const base::TimeTicks& capture_time) { base 29 media/cast/transport/transport_video_sender.h class TransportVideoSender : public base::NonThreadSafe { base 33 media/cast/transport/transport_video_sender.h base::TickClock* clock, base 35 media/cast/transport/transport_video_sender.h const scoped_refptr<base::SingleThreadTaskRunner>& transport_task_runner, base 43 media/cast/transport/transport_video_sender.h const base::TimeTicks& capture_time); base 61 media/cast/transport/transport_video_sender.h const base::TimeDelta rtp_max_delay_; base 42 media/cast/transport/utility/transport_encryption_handler.cc const base::StringPiece& data, base 58 media/cast/transport/utility/transport_encryption_handler.cc const base::StringPiece& ciphertext, base 25 media/cast/transport/utility/transport_encryption_handler.h class TransportEncryptionHandler : public base::NonThreadSafe { base 33 media/cast/transport/utility/transport_encryption_handler.h const base::StringPiece& data, base 37 media/cast/transport/utility/transport_encryption_handler.h const base::StringPiece& ciphertext, base 21 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc base::TimeTicks event_time, base 39 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc base::Bind(&Vp8Decoder::InitDecoder, base::Unretained(this))); base 66 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc const base::TimeTicks render_time, base 105 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc base::TimeDelta()); base 130 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc base::Bind(&LogFrameDecodedEvent, base 146 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc base::Bind(frame_decoded_cb, decoded_frame, render_time)); base 23 media/cast/video_receiver/codecs/vp8/vp8_decoder.h class Vp8Decoder : public base::NonThreadSafe { base 33 media/cast/video_receiver/codecs/vp8/vp8_decoder.h const base::TimeTicks render_time, base 34 media/cast/video_receiver/video_decoder.cc const base::TimeTicks render_time, base 21 media/cast/video_receiver/video_decoder.h class VideoDecoder : public base::NonThreadSafe { base 30 media/cast/video_receiver/video_decoder.h const base::TimeTicks render_time, base 29 media/cast/video_receiver/video_decoder_unittest.cc : public base::RefCountedThreadSafe<DecodeTestFrameCallback> { base 34 media/cast/video_receiver/video_decoder_unittest.cc const base::TimeTicks& render_time) {} base 49 media/cast/video_receiver/video_decoder_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), base 52 media/cast/video_receiver/video_decoder_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_), base 62 media/cast/video_receiver/video_decoder_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 69 media/cast/video_receiver/video_decoder_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 80 media/cast/video_receiver/video_decoder_unittest.cc base::TimeTicks render_time; base 86 media/cast/video_receiver/video_decoder_unittest.cc base::Bind(&DecodeTestFrameCallback::DecodeComplete, test_callback_)), base 58 media/cast/video_receiver/video_receiver.cc base::TimeDelta::FromMilliseconds(video_config.rtp_max_delay_ms)), base 59 media/cast/video_receiver/video_receiver.cc frame_delay_(base::TimeDelta::FromMilliseconds( base 90 media/cast/video_receiver/video_receiver.cc base::TimeDelta::FromMilliseconds(video_config.rtcp_interval), base 113 media/cast/video_receiver/video_receiver.cc GetEncodedVideoFrame(base::Bind( base 114 media/cast/video_receiver/video_receiver.cc &VideoReceiver::DecodeVideoFrame, base::Unretained(this), callback)); base 121 media/cast/video_receiver/video_receiver.cc const base::TimeTicks& render_time) { base 127 media/cast/video_receiver/video_receiver.cc base::Bind(&VideoReceiver::DecodeVideoFrameThread, base 128 media/cast/video_receiver/video_receiver.cc base::Unretained(this), base 129 media/cast/video_receiver/video_receiver.cc base::Passed(&encoded_frame), base 137 media/cast/video_receiver/video_receiver.cc const base::TimeTicks render_time, base 147 media/cast/video_receiver/video_receiver.cc base::Bind(&VideoReceiver::GetRawVideoFrame, base 148 media/cast/video_receiver/video_receiver.cc base::Unretained(this), base 192 media/cast/video_receiver/video_receiver.cc base::TimeTicks render_time; base 197 media/cast/video_receiver/video_receiver.cc base::Bind(callback, base::Passed(&encoded_frame), render_time)); base 213 media/cast/video_receiver/video_receiver.cc base::TimeTicks* render_time) { base 215 media/cast/video_receiver/video_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 228 media/cast/video_receiver/video_receiver.cc base::TimeDelta min_wait_delta = frame_delay_; base 229 media/cast/video_receiver/video_receiver.cc base::TimeDelta time_until_render = *render_time - now; base 236 media/cast/video_receiver/video_receiver.cc base::TimeDelta time_until_release = time_until_render - min_wait_delta; base 240 media/cast/video_receiver/video_receiver.cc base::Bind(&VideoReceiver::PlayoutTimeout, weak_factory_.GetWeakPtr()), base 248 media/cast/video_receiver/video_receiver.cc base::TimeDelta dont_show_timeout_delta = base 249 media/cast/video_receiver/video_receiver.cc base::TimeDelta::FromMilliseconds(-kDontShowTimeoutMs); base 299 media/cast/video_receiver/video_receiver.cc base::TimeTicks render_time; base 307 media/cast/video_receiver/video_receiver.cc base::Bind(callback, base::Passed(&encoded_frame), render_time)); base 314 media/cast/video_receiver/video_receiver.cc base::TimeTicks VideoReceiver::GetRenderTime(base::TimeTicks now, base 319 media/cast/video_receiver/video_receiver.cc base::TimeTicks rtp_timestamp_in_ticks; base 336 media/cast/video_receiver/video_receiver.cc base::TimeDelta time_offset = base 360 media/cast/video_receiver/video_receiver.cc base::TimeTicks render_time = base 382 media/cast/video_receiver/video_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 385 media/cast/video_receiver/video_receiver.cc base::TimeDelta::FromMilliseconds(kMinTimeBetweenOffsetUpdatesMs)) { base 434 media/cast/video_receiver/video_receiver.cc base::Bind(&VideoReceiver::GetEncodedVideoFrame, base 444 media/cast/video_receiver/video_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 459 media/cast/video_receiver/video_receiver.cc base::TimeTicks send_time; base 462 media/cast/video_receiver/video_receiver.cc base::TimeDelta time_to_send = base 465 media/cast/video_receiver/video_receiver.cc time_to_send, base::TimeDelta::FromMilliseconds(kMinSchedulingDelayMs)); base 469 media/cast/video_receiver/video_receiver.cc base::Bind(&VideoReceiver::SendNextCastMessage, base 483 media/cast/video_receiver/video_receiver.cc base::TimeDelta time_to_next = rtcp_->TimeToSendNextRtcpReport() - base 487 media/cast/video_receiver/video_receiver.cc time_to_next, base::TimeDelta::FromMilliseconds(kMinSchedulingDelayMs)); base 492 media/cast/video_receiver/video_receiver.cc base::Bind(&VideoReceiver::SendNextRtcpReport, base 37 media/cast/video_receiver/video_receiver.h typedef base::Callback<void(base::TimeDelta)> SetTargetDelayCallback; base 40 media/cast/video_receiver/video_receiver.h class VideoReceiver : public base::NonThreadSafe, base 41 media/cast/video_receiver/video_receiver.h public base::SupportsWeakPtr<VideoReceiver>, base 67 media/cast/video_receiver/video_receiver.h const base::TimeTicks render_time, base 77 media/cast/video_receiver/video_receiver.h const base::TimeTicks& render_time); base 84 media/cast/video_receiver/video_receiver.h base::TimeTicks* render_time); base 89 media/cast/video_receiver/video_receiver.h base::TimeTicks GetRenderTime(base::TimeTicks now, uint32 rtp_timestamp); base 118 media/cast/video_receiver/video_receiver.h base::TimeDelta target_delay_delta_; base 119 media/cast/video_receiver/video_receiver.h base::TimeDelta frame_delay_; base 122 media/cast/video_receiver/video_receiver.h base::TimeDelta time_offset_; // Sender-receiver offset estimation. base 127 media/cast/video_receiver/video_receiver.h base::TimeTicks time_incoming_packet_; base 129 media/cast/video_receiver/video_receiver.h base::TimeTicks last_render_time_; base 137 media/cast/video_receiver/video_receiver.h base::WeakPtrFactory<VideoReceiver> weak_factory_; base 30 media/cast/video_receiver/video_receiver_unittest.cc : public base::RefCountedThreadSafe<TestVideoReceiverCallback> { base 36 media/cast/video_receiver/video_receiver_unittest.cc const base::TimeTicks& render_time) { base 41 media/cast/video_receiver/video_receiver_unittest.cc const base::TimeTicks& render_time) { base 67 media/cast/video_receiver/video_receiver_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); base 70 media/cast/video_receiver/video_receiver_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 77 media/cast/video_receiver/video_receiver_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 99 media/cast/video_receiver/video_receiver_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 115 media/cast/video_receiver/video_receiver_unittest.cc VideoFrameEncodedCallback frame_to_decode_callback = base::Bind( base 140 media/cast/video_receiver/video_receiver_unittest.cc VideoFrameEncodedCallback frame_to_decode_callback = base::Bind( base 165 media/cast/video_receiver/video_receiver_unittest.cc VideoFrameDecodedCallback frame_decoded_callback = base::Bind( base 92 media/cast/video_sender/codecs/vp8/vp8_encoder.h base::ThreadChecker thread_checker_; base 30 media/cast/video_sender/external_video_encoder.cc base::TimeTicks event_time, base 40 media/cast/video_sender/external_video_encoder.cc const base::WeakPtr<media::cast::ExternalVideoEncoder>& weak_ptr, base 43 media/cast/video_sender/external_video_encoder.cc scoped_refptr<base::SingleThreadTaskRunner> encoder_task_runner, base 48 media/cast/video_sender/external_video_encoder.cc base::Bind( base 53 media/cast/video_sender/external_video_encoder.cc base::Passed(&vea))); base 62 media/cast/video_sender/external_video_encoder.cc EncodedFrameReturnData(base::TimeTicks c_time, base 67 media/cast/video_sender/external_video_encoder.cc base::TimeTicks capture_time; base 76 media/cast/video_sender/external_video_encoder.cc public base::RefCountedThreadSafe<LocalVideoEncodeAcceleratorClient> { base 80 media/cast/video_sender/external_video_encoder.cc scoped_refptr<base::SingleThreadTaskRunner> encoder_task_runner, base 83 media/cast/video_sender/external_video_encoder.cc const base::WeakPtr<ExternalVideoEncoder>& weak_owner) base 145 media/cast/video_sender/external_video_encoder.cc const base::TimeTicks& capture_time, base 170 media/cast/video_sender/external_video_encoder.cc base::Bind(&ExternalVideoEncoder::EncoderError, weak_owner_)); base 184 media/cast/video_sender/external_video_encoder.cc base::Bind(&LocalVideoEncodeAcceleratorClient::OnCreateSharedMemory, base 204 media/cast/video_sender/external_video_encoder.cc base::SharedMemory* output_buffer = output_buffers_[bitstream_buffer_id]; base 246 media/cast/video_sender/external_video_encoder.cc base::Bind(&LogFrameEncodedEvent, base 255 media/cast/video_sender/external_video_encoder.cc base::Bind(encoded_frame_data_storage_.front().frame_encoded_callback, base 256 media/cast/video_sender/external_video_encoder.cc base::Passed(&encoded_frame), base 274 media/cast/video_sender/external_video_encoder.cc void OnCreateSharedMemory(scoped_ptr<base::SharedMemory> memory) { base 277 media/cast/video_sender/external_video_encoder.cc base::Bind(&LocalVideoEncodeAcceleratorClient::ReceivedSharedMemory, base 279 media/cast/video_sender/external_video_encoder.cc base::Passed(&memory))); base 282 media/cast/video_sender/external_video_encoder.cc void ReceivedSharedMemory(scoped_ptr<base::SharedMemory> memory) { base 303 media/cast/video_sender/external_video_encoder.cc base::Bind(&ExternalVideoEncoder::EncoderInitialized, weak_owner_)); base 311 media/cast/video_sender/external_video_encoder.cc scoped_refptr<base::SingleThreadTaskRunner> encoder_task_runner_; base 314 media/cast/video_sender/external_video_encoder.cc const base::WeakPtr<ExternalVideoEncoder> weak_owner_; base 322 media/cast/video_sender/external_video_encoder.cc ScopedVector<base::SharedMemory> output_buffers_; base 344 media/cast/video_sender/external_video_encoder.cc create_vea_cb.Run(base::Bind(&ProxyCreateVideoEncodeAccelerator, base 353 media/cast/video_sender/external_video_encoder.cc base::Bind(&LocalVideoEncodeAcceleratorClient::Destroy, base 369 media/cast/video_sender/external_video_encoder.cc scoped_refptr<base::SingleThreadTaskRunner> encoder_task_runner, base 382 media/cast/video_sender/external_video_encoder.cc base::Bind(&LocalVideoEncodeAcceleratorClient::Initialize, base 389 media/cast/video_sender/external_video_encoder.cc const base::TimeTicks& capture_time, base 401 media/cast/video_sender/external_video_encoder.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 410 media/cast/video_sender/external_video_encoder.cc base::Bind(&LocalVideoEncodeAcceleratorClient::EncodeVideoFrame, base 425 media/cast/video_sender/external_video_encoder.cc base::Bind(&LocalVideoEncodeAcceleratorClient::SetBitRate, base 45 media/cast/video_sender/external_video_encoder.h const base::TimeTicks& capture_time, base 58 media/cast/video_sender/external_video_encoder.h scoped_refptr<base::SingleThreadTaskRunner> encoder_task_runner, base 77 media/cast/video_sender/external_video_encoder.h scoped_refptr<base::SingleThreadTaskRunner> encoder_task_runner_; base 82 media/cast/video_sender/external_video_encoder.h base::WeakPtrFactory<ExternalVideoEncoder> weak_factory_; base 27 media/cast/video_sender/external_video_encoder_unittest.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 35 media/cast/video_sender/external_video_encoder_unittest.cc scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); base 44 media/cast/video_sender/external_video_encoder_unittest.cc : public base::RefCountedThreadSafe<TestVideoEncoderCallback> { base 51 media/cast/video_sender/external_video_encoder_unittest.cc const base::TimeTicks& expected_capture_time) { base 60 media/cast/video_sender/external_video_encoder_unittest.cc const base::TimeTicks& capture_time) { base 77 media/cast/video_sender/external_video_encoder_unittest.cc base::TimeTicks expected_capture_time_; base 103 media/cast/video_sender/external_video_encoder_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); base 106 media/cast/video_sender/external_video_encoder_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); base 109 media/cast/video_sender/external_video_encoder_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 119 media/cast/video_sender/external_video_encoder_unittest.cc base::Bind(&CreateVideoEncodeAccelerator, base 121 media/cast/video_sender/external_video_encoder_unittest.cc base::Passed(&fake_vea)), base 122 media/cast/video_sender/external_video_encoder_unittest.cc base::Bind(&CreateSharedMemory))); base 127 media/cast/video_sender/external_video_encoder_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 143 media/cast/video_sender/external_video_encoder_unittest.cc base::Bind(&TestVideoEncoderCallback::DeliverEncodedVideoFrame, base 146 media/cast/video_sender/external_video_encoder_unittest.cc base::TimeTicks capture_time; base 147 media/cast/video_sender/external_video_encoder_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 154 media/cast/video_sender/external_video_encoder_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 170 media/cast/video_sender/external_video_encoder_unittest.cc base::Bind(&TestVideoEncoderCallback::DeliverEncodedVideoFrame, base 173 media/cast/video_sender/external_video_encoder_unittest.cc base::TimeTicks capture_time; base 174 media/cast/video_sender/external_video_encoder_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 182 media/cast/video_sender/external_video_encoder_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 190 media/cast/video_sender/external_video_encoder_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 206 media/cast/video_sender/external_video_encoder_unittest.cc base::Bind(&TestVideoEncoderCallback::DeliverEncodedVideoFrame, base 213 media/cast/video_sender/external_video_encoder_unittest.cc base::TimeTicks capture_time; base 214 media/cast/video_sender/external_video_encoder_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 23 media/cast/video_sender/video_encoder.h typedef base::Callback<void(scoped_ptr<transport::EncodedVideoFrame>, base 24 media/cast/video_sender/video_encoder.h const base::TimeTicks&)> FrameEncodedCallback; base 35 media/cast/video_sender/video_encoder.h const base::TimeTicks& capture_time, base 21 media/cast/video_sender/video_encoder_impl.cc typedef base::Callback<void(Vp8Encoder*)> PassEncoderCallback; base 34 media/cast/video_sender/video_encoder_impl.cc const base::TimeTicks& capture_time, base 62 media/cast/video_sender/video_encoder_impl.cc base::Bind( base 63 media/cast/video_sender/video_encoder_impl.cc frame_encoded_callback, base::Passed(&encoded_frame), capture_time)); base 79 media/cast/video_sender/video_encoder_impl.cc base::Bind(&InitializeVp8EncoderOnEncoderThread, base 97 media/cast/video_sender/video_encoder_impl.cc base::Bind(&base::DeletePointer<Vp8Encoder>, vp8_encoder_.release())); base 103 media/cast/video_sender/video_encoder_impl.cc const base::TimeTicks& capture_time, base 114 media/cast/video_sender/video_encoder_impl.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 122 media/cast/video_sender/video_encoder_impl.cc base::Bind(&EncodeVideoFrameOnEncoderThread, base 29 media/cast/video_sender/video_encoder_impl.h typedef base::Callback<void(scoped_ptr<transport::EncodedVideoFrame>, base 30 media/cast/video_sender/video_encoder_impl.h const base::TimeTicks&)> FrameEncodedCallback; base 47 media/cast/video_sender/video_encoder_impl.h const base::TimeTicks& capture_time, base 25 media/cast/video_sender/video_encoder_impl_unittest.cc : public base::RefCountedThreadSafe<TestVideoEncoderCallback> { base 32 media/cast/video_sender/video_encoder_impl_unittest.cc const base::TimeTicks& expected_capture_time) { base 41 media/cast/video_sender/video_encoder_impl_unittest.cc const base::TimeTicks& capture_time) { base 58 media/cast/video_sender/video_encoder_impl_unittest.cc base::TimeTicks expected_capture_time_; base 84 media/cast/video_sender/video_encoder_impl_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); base 91 media/cast/video_sender/video_encoder_impl_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); base 94 media/cast/video_sender/video_encoder_impl_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 110 media/cast/video_sender/video_encoder_impl_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 126 media/cast/video_sender/video_encoder_impl_unittest.cc base::Bind(&TestVideoEncoderCallback::DeliverEncodedVideoFrame, base 129 media/cast/video_sender/video_encoder_impl_unittest.cc base::TimeTicks capture_time; base 130 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 136 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 143 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 153 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 167 media/cast/video_sender/video_encoder_impl_unittest.cc base::TimeTicks capture_time; base 169 media/cast/video_sender/video_encoder_impl_unittest.cc base::Bind(&TestVideoEncoderCallback::DeliverEncodedVideoFrame, base 172 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 179 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 186 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 195 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 209 media/cast/video_sender/video_encoder_impl_unittest.cc base::TimeTicks capture_time; base 211 media/cast/video_sender/video_encoder_impl_unittest.cc base::Bind(&TestVideoEncoderCallback::DeliverEncodedVideoFrame, base 214 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 221 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 228 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 235 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 242 media/cast/video_sender/video_encoder_impl_unittest.cc capture_time += base::TimeDelta::FromMilliseconds(33); base 54 media/cast/video_sender/video_sender.cc : rtp_max_delay_(base::TimeDelta::FromMilliseconds( base 97 media/cast/video_sender/video_sender.cc base::TimeDelta::FromMilliseconds(video_config.rtcp_interval), base 108 media/cast/video_sender/video_sender.cc base::Bind(cast_initialization_cb, STATUS_VIDEO_INITIALIZED)); base 114 media/cast/video_sender/video_sender.cc base::Bind(&VideoSender::StoreStatistics, weak_factory_.GetWeakPtr())); base 132 media/cast/video_sender/video_sender.cc const base::TimeTicks& capture_time) { base 155 media/cast/video_sender/video_sender.cc base::Bind(&VideoSender::SendEncodedVideoFrameMainThread, base 162 media/cast/video_sender/video_sender.cc const base::TimeTicks& capture_time) { base 198 media/cast/video_sender/video_sender.cc base::TimeDelta time_to_next = rtcp_->TimeToSendNextRtcpReport() - base 202 media/cast/video_sender/video_sender.cc time_to_next, base::TimeDelta::FromMilliseconds(kMinSchedulingDelayMs)); base 207 media/cast/video_sender/video_sender.cc base::Bind(&VideoSender::SendRtcpReport, weak_factory_.GetWeakPtr()), base 213 media/cast/video_sender/video_sender.cc base::TimeTicks time_sent, base 269 media/cast/video_sender/video_sender.cc base::TimeDelta time_to_next; base 277 media/cast/video_sender/video_sender.cc time_to_next, base::TimeDelta::FromMilliseconds(kMinSchedulingDelayMs)); base 282 media/cast/video_sender/video_sender.cc base::Bind(&VideoSender::ResendCheck, weak_factory_.GetWeakPtr()), base 289 media/cast/video_sender/video_sender.cc base::TimeDelta time_since_last_send = base 310 media/cast/video_sender/video_sender.cc base::TimeDelta time_to_next; base 313 media/cast/video_sender/video_sender.cc base::TimeDelta::FromMilliseconds(kSkippedFramesCheckPeriodkMs); base 317 media/cast/video_sender/video_sender.cc base::TimeDelta::FromMilliseconds(kSkippedFramesCheckPeriodkMs); base 320 media/cast/video_sender/video_sender.cc time_to_next, base::TimeDelta::FromMilliseconds(kMinSchedulingDelayMs)); base 325 media/cast/video_sender/video_sender.cc base::Bind(&VideoSender::SkippedFramesCheck, weak_factory_.GetWeakPtr()), base 343 media/cast/video_sender/video_sender.cc base::TimeDelta rtt; base 344 media/cast/video_sender/video_sender.cc base::TimeDelta avg_rtt; base 345 media/cast/video_sender/video_sender.cc base::TimeDelta min_rtt; base 346 media/cast/video_sender/video_sender.cc base::TimeDelta max_rtt; base 347 media/cast/video_sender/video_sender.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 352 media/cast/video_sender/video_sender.cc base::TimeDelta::FromMilliseconds(cast_feedback.target_delay_ms_); base 362 media/cast/video_sender/video_sender.cc rtt = base::TimeDelta::FromMilliseconds(kStartRttMs); base 416 media/cast/video_sender/video_sender.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); base 40 media/cast/video_sender/video_sender.h class VideoSender : public base::NonThreadSafe, base 41 media/cast/video_sender/video_sender.h public base::SupportsWeakPtr<VideoSender> { base 57 media/cast/video_sender/video_sender.h const base::TimeTicks& capture_time); base 64 media/cast/video_sender/video_sender.h base::TimeTicks time_sent, base 94 media/cast/video_sender/video_sender.h const base::TimeTicks& capture_time); base 101 media/cast/video_sender/video_sender.h const base::TimeTicks& capture_time); base 105 media/cast/video_sender/video_sender.h base::TimeDelta rtp_max_delay_; base 122 media/cast/video_sender/video_sender.h base::TimeTicks last_send_time_; base 123 media/cast/video_sender/video_sender.h base::TimeTicks last_checked_skip_count_time_; base 140 media/cast/video_sender/video_sender.h base::WeakPtrFactory<VideoSender> weak_factory_; base 39 media/cast/video_sender/video_sender_unittest.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 47 media/cast/video_sender/video_sender_unittest.cc scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); base 102 media/cast/video_sender/video_sender_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); base 104 media/cast/video_sender/video_sender_unittest.cc base::TimeDelta::FromMilliseconds(kStartMillisecond)); base 107 media/cast/video_sender/video_sender_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), base 117 media/cast/video_sender/video_sender_unittest.cc base::Bind(&UpdateCastTransportStatus), base 119 media/cast/video_sender/video_sender_unittest.cc base::TimeDelta(), base 160 media/cast/video_sender/video_sender_unittest.cc base::Bind(&CreateVideoEncodeAccelerator, base 162 media/cast/video_sender/video_sender_unittest.cc base::Passed(&fake_vea)), base 163 media/cast/video_sender/video_sender_unittest.cc base::Bind(&CreateSharedMemory), base 164 media/cast/video_sender/video_sender_unittest.cc base::Bind(&VideoSenderTest::InitializationResult, base 165 media/cast/video_sender/video_sender_unittest.cc base::Unretained(this)), base 173 media/cast/video_sender/video_sender_unittest.cc base::Bind(&VideoSenderTest::InitializationResult, base 174 media/cast/video_sender/video_sender_unittest.cc base::Unretained(this)), base 183 media/cast/video_sender/video_sender_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); base 191 media/cast/video_sender/video_sender_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(1)); base 200 media/cast/video_sender/video_sender_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. base 214 media/cast/video_sender/video_sender_unittest.cc base::TimeTicks capture_time; base 229 media/cast/video_sender/video_sender_unittest.cc base::TimeTicks capture_time; base 244 media/cast/video_sender/video_sender_unittest.cc base::TimeTicks capture_time; base 248 media/cast/video_sender/video_sender_unittest.cc base::TimeDelta max_rtcp_timeout = base 249 media/cast/video_sender/video_sender_unittest.cc base::TimeDelta::FromMilliseconds(1 + kDefaultRtcpIntervalMs * 3 / 2); base 269 media/cast/video_sender/video_sender_unittest.cc base::TimeTicks capture_time; base 281 media/cast/video_sender/video_sender_unittest.cc base::TimeDelta max_resend_timeout = base 282 media/cast/video_sender/video_sender_unittest.cc base::TimeDelta::FromMilliseconds(1 + kDefaultRtpMaxDelayMs); base 301 media/cast/video_sender/video_sender_unittest.cc base::TimeTicks capture_time; base 329 media/cast/video_sender/video_sender_unittest.cc base::TimeTicks capture_time; base 336 media/cast/video_sender/video_sender_unittest.cc base::TimeTicks capture_time; base 346 media/cast/video_sender/video_sender_unittest.cc base::TimeTicks capture_time; base 153 media/cdm/aes_decryptor.cc base::StringPiece encrypted_text(sample, sample_size); base 200 media/cdm/aes_decryptor.cc base::StringPiece encrypted_text( base 241 media/cdm/aes_decryptor.cc std::string web_session_id_string(base::UintToString(next_web_session_id_++)); base 296 media/cdm/aes_decryptor.cc base::AutoLock auto_lock(new_key_cb_lock_); base 324 media/cdm/aes_decryptor.cc base::AutoLock auto_lock(new_key_cb_lock_); base 421 media/cdm/aes_decryptor.cc base::AutoLock auto_lock(key_map_lock_); base 438 media/cdm/aes_decryptor.cc base::AutoLock auto_lock(key_map_lock_); base 448 media/cdm/aes_decryptor.cc base::AutoLock auto_lock(key_map_lock_); base 101 media/cdm/aes_decryptor.h typedef base::ScopedPtrHashMap<std::string, SessionIdDecryptionKeyMap> base 128 media/cdm/aes_decryptor.h mutable base::Lock key_map_lock_; // Protects the |key_map_|. base 142 media/cdm/aes_decryptor.h mutable base::Lock new_key_cb_lock_; base 197 media/cdm/aes_decryptor_unittest.cc : decryptor_(base::Bind(&AesDecryptorTest::OnSessionCreated, base 198 media/cdm/aes_decryptor_unittest.cc base::Unretained(this)), base 199 media/cdm/aes_decryptor_unittest.cc base::Bind(&AesDecryptorTest::OnSessionMessage, base 200 media/cdm/aes_decryptor_unittest.cc base::Unretained(this)), base 201 media/cdm/aes_decryptor_unittest.cc base::Bind(&AesDecryptorTest::OnSessionReady, base 202 media/cdm/aes_decryptor_unittest.cc base::Unretained(this)), base 203 media/cdm/aes_decryptor_unittest.cc base::Bind(&AesDecryptorTest::OnSessionClosed, base 204 media/cdm/aes_decryptor_unittest.cc base::Unretained(this)), base 205 media/cdm/aes_decryptor_unittest.cc base::Bind(&AesDecryptorTest::OnSessionError, base 206 media/cdm/aes_decryptor_unittest.cc base::Unretained(this))), base 207 media/cdm/aes_decryptor_unittest.cc decrypt_cb_(base::Bind(&AesDecryptorTest::BufferDecrypted, base 208 media/cdm/aes_decryptor_unittest.cc base::Unretained(this))), base 27 media/cdm/json_web_key.cc base::Base64Encode( base 53 media/cdm/json_web_key.cc if (!base::Base64Decode(modified_text, &decoded_text)) base 66 media/cdm/json_web_key.cc scoped_ptr<base::DictionaryValue> jwk(new base::DictionaryValue()); base 70 media/cdm/json_web_key.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 72 media/cdm/json_web_key.cc base::DictionaryValue jwk_set; base 84 media/cdm/json_web_key.cc static bool ConvertJwkToKeyPair(const base::DictionaryValue& jwk, base 127 media/cdm/json_web_key.cc scoped_ptr<base::Value> root(base::JSONReader().ReadToValue(jwk_set)); base 128 media/cdm/json_web_key.cc if (!root.get() || root->GetType() != base::Value::TYPE_DICTIONARY) base 132 media/cdm/json_web_key.cc base::DictionaryValue* dictionary = base 133 media/cdm/json_web_key.cc static_cast<base::DictionaryValue*>(root.get()); base 134 media/cdm/json_web_key.cc base::ListValue* list_val = NULL; base 145 media/cdm/json_web_key.cc base::DictionaryValue* jwk = NULL; base 292 media/cdm/ppapi/cdm_file_io_test.cc base::ResetAndReturn(&completion_cb_).Run(success); base 297 media/cdm/ppapi/cdm_file_io_test.cc base::Bind(&FileIOTestRunner::OnTestComplete, base::Unretained(this))); base 451 media/cdm/ppapi/cdm_file_io_test.cc base::ResetAndReturn(&completion_cb_).Run(success); base 19 media/cdm/ppapi/cdm_file_io_test.h typedef base::Callback<void(bool success)> CompletionCB; base 20 media/cdm/ppapi/cdm_file_io_test.h typedef base::Callback<cdm::FileIO*(cdm::FileIOClient* client)> CreateFileIOCB; base 49 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc static base::AtExitManager g_at_exit_manager; base 56 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::FilePath file_path; base 57 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc CHECK(PathService::Get(base::DIR_MODULE, &file_path)); base 125 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::TimeDelta::FromMicroseconds(input_buffer.timestamp)); base 190 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::Bind(&ClearKeyCdm::OnSessionCreated, base::Unretained(this)), base 191 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::Bind(&ClearKeyCdm::OnSessionMessage, base::Unretained(this)), base 192 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::Bind(&ClearKeyCdm::OnSessionReady, base::Unretained(this)), base 193 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::Bind(&ClearKeyCdm::OnSessionClosed, base::Unretained(this)), base 194 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::Bind(&ClearKeyCdm::OnSessionError, base::Unretained(this))), base 509 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::Bind(&CopyDecryptResults, &status, decrypted_buffer)); base 603 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::Time::kMicrosecondsPerSecond * base 611 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc duration_in_microseconds / base::Time::kMicrosecondsPerSecond + 0.5; base 661 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::Bind(&ClearKeyCdmHost::CreateFileIO, base::Unretained(host_)))); base 663 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc base::Bind(&ClearKeyCdm::OnFileIOTestComplete, base::Unretained(this))); base 229 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc base::TimeDelta timestamp = base 230 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc base::TimeDelta::FromMicroseconds(input_timestamp); base 235 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc if (is_vorbis && timestamp < base::TimeDelta()) { base 246 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc base::TimeDelta diff = timestamp - last_input_timestamp_; base 307 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc output_timestamp_helper_->SetBaseTimestamp(base::TimeDelta()); base 346 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc base::TimeDelta output_timestamp = base 57 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.h base::TimeDelta GetNextOutputTimestamp() const; base 79 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.h base::TimeDelta last_input_timestamp_; base 49 media/ffmpeg/ffmpeg_common.cc static const AVRational kMicrosBase = { 1, base::Time::kMicrosecondsPerSecond }; base 51 media/ffmpeg/ffmpeg_common.cc base::TimeDelta ConvertFromTimeBase(const AVRational& time_base, base 54 media/ffmpeg/ffmpeg_common.cc return base::TimeDelta::FromMicroseconds(microseconds); base 58 media/ffmpeg/ffmpeg_common.cc const base::TimeDelta& timestamp) { base 294 media/ffmpeg/ffmpeg_common.cc base::TimeDelta seek_preroll; base 296 media/ffmpeg/ffmpeg_common.cc seek_preroll = base::TimeDelta::FromMicroseconds( base 300 media/ffmpeg/ffmpeg_common.cc base::TimeDelta codec_delay; base 302 media/ffmpeg/ffmpeg_common.cc codec_delay = base::TimeDelta::FromMicroseconds( base 71 media/ffmpeg/ffmpeg_common.h MEDIA_EXPORT base::TimeDelta ConvertFromTimeBase(const AVRational& time_base, base 79 media/ffmpeg/ffmpeg_common.h const base::TimeDelta& timestamp); base 12 media/ffmpeg/ffmpeg_common_unittest.cc using base::TimeDelta; base 46 media/ffmpeg/ffmpeg_common_unittest.cc base::FilePath path; base 47 media/ffmpeg/ffmpeg_common_unittest.cc PathService::Get(base::DIR_MODULE, &path); base 378 media/ffmpeg/ffmpeg_regression_tests.cc Seek(base::TimeDelta::FromMilliseconds(0)); base 30 media/ffmpeg/ffmpeg_unittest.cc return base::PerfTestSuite(argc, argv).Run(); base 108 media/ffmpeg/ffmpeg_unittest.cc base::FilePath path; base 109 media/ffmpeg/ffmpeg_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 115 media/ffmpeg/ffmpeg_unittest.cc EXPECT_TRUE(base::PathExists(path)); base 251 media/ffmpeg/ffmpeg_unittest.cc base::Time::kMicrosecondsPerSecond; base 332 media/ffmpeg/ffmpeg_unittest.cc static_cast<int64>(position * base::Time::kMicrosecondsPerSecond); base 371 media/ffmpeg/ffmpeg_unittest.cc base::FilePath path; base 372 media/ffmpeg/ffmpeg_unittest.cc PathService::Get(base::DIR_MODULE, &path); base 394 media/ffmpeg/ffmpeg_unittest.cc base::MemoryMappedFile file_data_; base 427 media/ffmpeg/ffmpeg_unittest.cc base::PerfTimeLogger timer("Opening file"); base 431 media/ffmpeg/ffmpeg_unittest.cc base::PerfTimeLogger timer("Opening codecs"); base 435 media/ffmpeg/ffmpeg_unittest.cc base::PerfTimeLogger timer("Reading file"); base 439 media/ffmpeg/ffmpeg_unittest.cc base::PerfTimeLogger timer("Decoding audio"); base 443 media/ffmpeg/ffmpeg_unittest.cc base::PerfTimeLogger timer("Decoding video"); base 447 media/ffmpeg/ffmpeg_unittest.cc base::PerfTimeLogger timer("Seeking to zero"); base 83 media/filters/audio_decoder_selector_unittest.cc base::Bind(&AudioDecoderSelectorTest::SetDecryptorReadyCallback, base 84 media/filters/audio_decoder_selector_unittest.cc base::Unretained(this)); base 119 media/filters/audio_decoder_selector_unittest.cc base::Bind(&AudioDecoderSelectorTest::MockOnDecoderSelected, base 120 media/filters/audio_decoder_selector_unittest.cc base::Unretained(this))); base 142 media/filters/audio_decoder_selector_unittest.cc base::MessageLoop message_loop_; base 233 media/filters/audio_file_reader.cc base::TimeDelta AudioFileReader::GetDuration() const { base 14 media/filters/audio_file_reader.h namespace base { class TimeDelta; } base 54 media/filters/audio_file_reader.h base::TimeDelta GetDuration() const; base 44 media/filters/audio_file_reader_unittest.cc base::TimeDelta duration, int frames, int trimmed_frames) { base 86 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(1011520), 44609, 44609); base 91 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(350001), 15436, 15436); base 96 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(288414), 12720, 12719); base 101 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(288414), 12720, 12719); base 106 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(288414), 12720, 12719); base 111 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(288414), 12720, 12719); base 117 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(313470), 13825, 12719); base 122 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(1018826), 44931, 44928); base 127 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(312001), 13760, 13312); base 141 media/filters/audio_file_reader_unittest.cc base::TimeDelta::FromMicroseconds(100001), 4411, 4410); base 186 media/filters/audio_renderer_algorithm.cc base::TimeDelta AudioRendererAlgorithm::GetTime() { base 59 media/filters/audio_renderer_algorithm.h base::TimeDelta GetTime(); base 43 media/filters/audio_renderer_impl.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 54 media/filters/audio_renderer_impl.cc now_cb_(base::Bind(&base::TimeTicks::Now)), base 65 media/filters/audio_renderer_impl.cc audio_buffer_stream_.set_splice_observer(base::Bind( base 67 media/filters/audio_renderer_impl.cc audio_buffer_stream_.set_config_change_observer(base::Bind( base 77 media/filters/audio_renderer_impl.cc void AudioRendererImpl::Play(const base::Closure& callback) { base 80 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 100 media/filters/audio_renderer_impl.cc base::AutoUnlock auto_unlock(lock_); base 108 media/filters/audio_renderer_impl.cc void AudioRendererImpl::Pause(const base::Closure& callback) { base 111 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 127 media/filters/audio_renderer_impl.cc base::AutoUnlock auto_unlock(lock_); base 134 media/filters/audio_renderer_impl.cc void AudioRendererImpl::Flush(const base::Closure& callback) { base 137 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 158 media/filters/audio_renderer_impl.cc audio_buffer_stream_.Reset(base::Bind(&AudioRendererImpl::ResetDecoderDone, base 165 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 184 media/filters/audio_renderer_impl.cc base::ResetAndReturn(&flush_cb_).Run(); base 187 media/filters/audio_renderer_impl.cc void AudioRendererImpl::Stop(const base::Closure& callback) { base 195 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 217 media/filters/audio_renderer_impl.cc void AudioRendererImpl::Preroll(base::TimeDelta time, base 221 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 237 media/filters/audio_renderer_impl.cc const base::Closure& underflow_cb, base 239 media/filters/audio_renderer_impl.cc const base::Closure& ended_cb, base 240 media/filters/audio_renderer_impl.cc const base::Closure& disabled_cb, base 287 media/filters/audio_renderer_impl.cc base::Bind(&AudioRendererImpl::OnAudioBufferStreamInitialized, base 294 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 297 media/filters/audio_renderer_impl.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_ERROR_ABORT); base 303 media/filters/audio_renderer_impl.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 309 media/filters/audio_renderer_impl.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_ERROR_INITIALIZATION_FAILED); base 327 media/filters/audio_renderer_impl.cc base::AutoUnlock auto_unlock(lock_); base 337 media/filters/audio_renderer_impl.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_OK); base 342 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 369 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 441 media/filters/audio_renderer_impl.cc const base::TimeDelta trim_time = base 443 media/filters/audio_renderer_impl.cc if (trim_time > base::TimeDelta()) { base 472 media/filters/audio_renderer_impl.cc base::ResetAndReturn(&preroll_cb_).Run(PIPELINE_OK); base 492 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 504 media/filters/audio_renderer_impl.cc audio_buffer_stream_.Read(base::Bind(&AudioRendererImpl::DecodedAudioReady, base 536 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 560 media/filters/audio_renderer_impl.cc base::TimeDelta current_time = kNoTimestamp(); base 561 media/filters/audio_renderer_impl.cc base::TimeDelta max_time = kNoTimestamp(); base 562 media/filters/audio_renderer_impl.cc base::TimeDelta playback_delay = base::TimeDelta::FromMilliseconds( base 566 media/filters/audio_renderer_impl.cc base::Closure underflow_cb; base 568 media/filters/audio_renderer_impl.cc base::AutoLock auto_lock(lock_); base 599 media/filters/audio_renderer_impl.cc const base::TimeTicks now = now_cb_.Run(); base 618 media/filters/audio_renderer_impl.cc base::Bind(&AudioRendererImpl::AttemptRead, base 628 media/filters/audio_renderer_impl.cc base::TimeDelta adjusted_playback_delay = base 629 media/filters/audio_renderer_impl.cc base::TimeDelta::FromMicroseconds(ceil( base 632 media/filters/audio_renderer_impl.cc base::TimeDelta previous_time = current_time_; base 676 media/filters/audio_renderer_impl.cc int frames_filled, const base::TimeDelta& playback_delay, base 677 media/filters/audio_renderer_impl.cc const base::TimeTicks& time_now) { base 680 media/filters/audio_renderer_impl.cc base::TimeDelta predicted_play_time = base::TimeDelta::FromMicroseconds( base 681 media/filters/audio_renderer_impl.cc static_cast<float>(frames_filled) * base::Time::kMicrosecondsPerSecond / base 720 media/filters/audio_renderer_impl.cc base::ResetAndReturn(&flush_cb_).Run(); base 726 media/filters/audio_renderer_impl.cc base::ResetAndReturn(&preroll_cb_).Run(status); base 744 media/filters/audio_renderer_impl.cc void AudioRendererImpl::OnNewSpliceBuffer(base::TimeDelta splice_timestamp) { base 34 media/filters/audio_renderer_impl.h namespace base { base 59 media/filters/audio_renderer_impl.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 70 media/filters/audio_renderer_impl.h const base::Closure& underflow_cb, base 72 media/filters/audio_renderer_impl.h const base::Closure& ended_cb, base 73 media/filters/audio_renderer_impl.h const base::Closure& disabled_cb, base 75 media/filters/audio_renderer_impl.h virtual void Play(const base::Closure& callback) OVERRIDE; base 76 media/filters/audio_renderer_impl.h virtual void Pause(const base::Closure& callback) OVERRIDE; base 77 media/filters/audio_renderer_impl.h virtual void Flush(const base::Closure& callback) OVERRIDE; base 78 media/filters/audio_renderer_impl.h virtual void Stop(const base::Closure& callback) OVERRIDE; base 80 media/filters/audio_renderer_impl.h virtual void Preroll(base::TimeDelta time, base 92 media/filters/audio_renderer_impl.h typedef base::Callback<base::TimeTicks()> NowCB; base 127 media/filters/audio_renderer_impl.h const base::TimeDelta& playback_delay, base 128 media/filters/audio_renderer_impl.h const base::TimeTicks& time_now); base 186 media/filters/audio_renderer_impl.h void OnNewSpliceBuffer(base::TimeDelta); base 191 media/filters/audio_renderer_impl.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 214 media/filters/audio_renderer_impl.h base::Closure underflow_cb_; base 216 media/filters/audio_renderer_impl.h base::Closure ended_cb_; base 217 media/filters/audio_renderer_impl.h base::Closure disabled_cb_; base 221 media/filters/audio_renderer_impl.h base::Closure flush_cb_; base 231 media/filters/audio_renderer_impl.h base::Lock lock_; base 251 media/filters/audio_renderer_impl.h base::TimeDelta audio_time_buffered_; base 252 media/filters/audio_renderer_impl.h base::TimeDelta current_time_; base 254 media/filters/audio_renderer_impl.h base::TimeDelta preroll_timestamp_; base 270 media/filters/audio_renderer_impl.h base::TimeTicks earliest_end_time_; base 282 media/filters/audio_renderer_impl.h base::WeakPtrFactory<AudioRendererImpl> weak_factory_; base 23 media/filters/audio_renderer_impl_unittest.cc using ::base::Time; base 24 media/filters/audio_renderer_impl_unittest.cc using ::base::TimeTicks; base 25 media/filters/audio_renderer_impl_unittest.cc using ::base::TimeDelta; base 95 media/filters/audio_renderer_impl_unittest.cc renderer_->set_now_cb_for_testing(base::Bind( base 96 media/filters/audio_renderer_impl_unittest.cc &AudioRendererImplTest::GetTime, base::Unretained(this))); base 126 media/filters/audio_renderer_impl_unittest.cc base::Bind(&AudioRendererImplTest::OnStatistics, base 127 media/filters/audio_renderer_impl_unittest.cc base::Unretained(this)), base 128 media/filters/audio_renderer_impl_unittest.cc base::Bind(&AudioRendererImplTest::OnUnderflow, base 129 media/filters/audio_renderer_impl_unittest.cc base::Unretained(this)), base 130 media/filters/audio_renderer_impl_unittest.cc base::Bind(&AudioRendererImplTest::OnAudioTimeCallback, base 131 media/filters/audio_renderer_impl_unittest.cc base::Unretained(this)), base 133 media/filters/audio_renderer_impl_unittest.cc base::Bind(&AudioRendererImplTest::OnDisabled, base 134 media/filters/audio_renderer_impl_unittest.cc base::Unretained(this)), base 135 media/filters/audio_renderer_impl_unittest.cc base::Bind(&AudioRendererImplTest::OnError, base 136 media/filters/audio_renderer_impl_unittest.cc base::Unretained(this))); base 150 media/filters/audio_renderer_impl_unittest.cc SCOPED_TRACE(base::StringPrintf("InitializeWithStatus(%d)", expected)); base 184 media/filters/audio_renderer_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 188 media/filters/audio_renderer_impl_unittest.cc base::ResetAndReturn(&init_decoder_cb_).Run(PIPELINE_OK); base 211 media/filters/audio_renderer_impl_unittest.cc SCOPED_TRACE(base::StringPrintf("Preroll(%d, %d)", timestamp_ms, expected)); base 414 media/filters/audio_renderer_impl_unittest.cc base::AutoLock auto_lock(lock_); base 419 media/filters/audio_renderer_impl_unittest.cc base::MessageLoop message_loop_; base 430 media/filters/audio_renderer_impl_unittest.cc base::AutoLock auto_lock(lock_); base 440 media/filters/audio_renderer_impl_unittest.cc if (base::MessageLoop::current() != &message_loop_) { base 441 media/filters/audio_renderer_impl_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 443 media/filters/audio_renderer_impl_unittest.cc base::Unretained(this), buffer, decode_cb)); base 452 media/filters/audio_renderer_impl_unittest.cc base::ResetAndReturn(&wait_for_pending_decode_cb_).Run(); base 455 media/filters/audio_renderer_impl_unittest.cc void ResetDecoder(const base::Closure& reset_cb) { base 465 media/filters/audio_renderer_impl_unittest.cc base::ResetAndReturn(&decode_cb_).Run(status, buffer); base 472 media/filters/audio_renderer_impl_unittest.cc base::Lock lock_; base 482 media/filters/audio_renderer_impl_unittest.cc base::Closure wait_for_pending_decode_cb_; base 483 media/filters/audio_renderer_impl_unittest.cc base::Closure stop_decoder_cb_; base 15 media/filters/blocking_url_protocol.cc const base::Closure& error_cb) base 44 media/filters/blocking_url_protocol.cc data_source_->Read(read_position_, size, data, base::Bind( base 45 media/filters/blocking_url_protocol.cc &BlockingUrlProtocol::SignalReadCompleted, base::Unretained(this))); base 47 media/filters/blocking_url_protocol.cc base::WaitableEvent* events[] = { &aborted_, &read_complete_ }; base 48 media/filters/blocking_url_protocol.cc size_t index = base::WaitableEvent::WaitMany(events, arraysize(events)); base 26 media/filters/blocking_url_protocol.h BlockingUrlProtocol(DataSource* data_source, const base::Closure& error_cb); base 46 media/filters/blocking_url_protocol.h base::Closure error_cb_; base 49 media/filters/blocking_url_protocol.h base::WaitableEvent aborted_; base 50 media/filters/blocking_url_protocol.h base::WaitableEvent read_complete_; base 21 media/filters/blocking_url_protocol_unittest.cc base::Bind(&BlockingUrlProtocolTest::OnDataSourceError, base 22 media/filters/blocking_url_protocol_unittest.cc base::Unretained(this))) { base 27 media/filters/blocking_url_protocol_unittest.cc base::WaitableEvent stop_event(false, false); base 28 media/filters/blocking_url_protocol_unittest.cc data_source_.Stop(base::Bind( base 29 media/filters/blocking_url_protocol_unittest.cc &base::WaitableEvent::Signal, base::Unretained(&stop_event))); base 23 media/filters/chunk_demuxer.cc using base::TimeDelta; base 90 media/filters/chunk_demuxer.cc typedef base::Callback<ChunkDemuxerStream*( base 93 media/filters/chunk_demuxer.cc typedef base::Callback<void( base 101 media/filters/chunk_demuxer.cc typedef base::Callback<void(bool, TimeDelta)> InitCB; base 276 media/filters/chunk_demuxer.cc base::Bind(&SourceState::OnSourceInitDone, base::Unretained(this)), base 277 media/filters/chunk_demuxer.cc base::Bind(&SourceState::OnNewConfigs, base 278 media/filters/chunk_demuxer.cc base::Unretained(this), base 281 media/filters/chunk_demuxer.cc base::Bind(&SourceState::OnNewBuffers, base::Unretained(this)), base 284 media/filters/chunk_demuxer.cc base::Bind(&SourceState::OnNewMediaSegment, base::Unretained(this)), base 285 media/filters/chunk_demuxer.cc base::Bind(&SourceState::OnEndOfMediaSegment, base::Unretained(this)), base 702 media/filters/chunk_demuxer.cc base::ResetAndReturn(&init_cb_).Run(success, duration); base 712 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 719 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 722 media/filters/chunk_demuxer.cc base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); base 726 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 735 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 741 media/filters/chunk_demuxer.cc base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kOk, base 747 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 758 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 770 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 785 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 790 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 796 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 828 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 836 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 851 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 866 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 873 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 878 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 884 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 898 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 904 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 912 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 970 media/filters/chunk_demuxer.cc base::ResetAndReturn(&read_cb_).Run(status, buffer); base 973 media/filters/chunk_demuxer.cc ChunkDemuxer::ChunkDemuxer(const base::Closure& open_cb, base 997 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1001 media/filters/chunk_demuxer.cc base::ResetAndReturn(&init_cb_).Run(DEMUXER_ERROR_COULD_NOT_OPEN); base 1010 media/filters/chunk_demuxer.cc base::ResetAndReturn(&open_cb_).Run(); base 1013 media/filters/chunk_demuxer.cc void ChunkDemuxer::Stop(const base::Closure& callback) { base 1023 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1028 media/filters/chunk_demuxer.cc base::ResetAndReturn(&seek_cb_).Run(PIPELINE_ERROR_INVALID_STATE); base 1034 media/filters/chunk_demuxer.cc base::ResetAndReturn(&seek_cb_).Run(PIPELINE_OK); base 1046 media/filters/chunk_demuxer.cc base::ResetAndReturn(&seek_cb_).Run(PIPELINE_OK); base 1050 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1058 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1074 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1091 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1106 media/filters/chunk_demuxer.cc base::ResetAndReturn(&seek_cb_).Run(PIPELINE_OK); base 1114 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1143 media/filters/chunk_demuxer.cc base::Bind(&ChunkDemuxer::IncreaseDurationIfNecessary, base 1144 media/filters/chunk_demuxer.cc base::Unretained(this)))); base 1149 media/filters/chunk_demuxer.cc base::Bind(&ChunkDemuxer::CreateDemuxerStream, base 1150 media/filters/chunk_demuxer.cc base::Unretained(this)))); base 1155 media/filters/chunk_demuxer.cc new_text_track_cb = base::Bind(&ChunkDemuxer::OnNewTextTrack, base 1156 media/filters/chunk_demuxer.cc base::Unretained(this)); base 1160 media/filters/chunk_demuxer.cc base::Bind(&ChunkDemuxer::OnSourceInitDone, base::Unretained(this)), base 1171 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1185 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1207 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1257 media/filters/chunk_demuxer.cc base::ResetAndReturn(&seek_cb_).Run(PIPELINE_OK); base 1269 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1279 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1287 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1308 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1333 media/filters/chunk_demuxer.cc duration * base::Time::kMicrosecondsPerSecond); base 1349 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1358 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1368 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1399 media/filters/chunk_demuxer.cc base::ResetAndReturn(&seek_cb_).Run(PIPELINE_OK); base 1405 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1418 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 1428 media/filters/chunk_demuxer.cc base::ResetAndReturn(&seek_cb_).Run(PIPELINE_ERROR_ABORT); base 1474 media/filters/chunk_demuxer.cc base::AutoUnlock auto_unlock(lock_); base 1515 media/filters/chunk_demuxer.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_OK); base 1599 media/filters/chunk_demuxer.cc base::AutoLock auto_lock(lock_); base 40 media/filters/chunk_demuxer.h void Seek(base::TimeDelta time); base 55 media/filters/chunk_demuxer.h void Remove(base::TimeDelta start, base::TimeDelta end, base 56 media/filters/chunk_demuxer.h base::TimeDelta duration); base 59 media/filters/chunk_demuxer.h void OnSetDuration(base::TimeDelta duration); base 62 media/filters/chunk_demuxer.h Ranges<base::TimeDelta> GetBufferedRanges(base::TimeDelta duration) const; base 66 media/filters/chunk_demuxer.h base::TimeDelta GetBufferedDuration() const; base 70 media/filters/chunk_demuxer.h void OnNewMediaSegment(base::TimeDelta start_timestamp); base 117 media/filters/chunk_demuxer.h mutable base::Lock lock_; base 146 media/filters/chunk_demuxer.h ChunkDemuxer(const base::Closure& open_cb, base 156 media/filters/chunk_demuxer.h virtual void Stop(const base::Closure& callback) OVERRIDE; base 157 media/filters/chunk_demuxer.h virtual void Seek(base::TimeDelta time, const PipelineStatusCB& cb) OVERRIDE; base 160 media/filters/chunk_demuxer.h virtual base::TimeDelta GetStartTime() const OVERRIDE; base 173 media/filters/chunk_demuxer.h void StartWaitingForSeek(base::TimeDelta seek_time); base 185 media/filters/chunk_demuxer.h void CancelPendingSeek(base::TimeDelta seek_time); base 208 media/filters/chunk_demuxer.h Ranges<base::TimeDelta> GetBufferedRanges(const std::string& id) const; base 216 media/filters/chunk_demuxer.h base::TimeDelta append_window_start, base 217 media/filters/chunk_demuxer.h base::TimeDelta append_window_end, base 218 media/filters/chunk_demuxer.h base::TimeDelta* timestamp_offset); base 226 media/filters/chunk_demuxer.h void Remove(const std::string& id, base::TimeDelta start, base 227 media/filters/chunk_demuxer.h base::TimeDelta end); base 263 media/filters/chunk_demuxer.h Ranges<base::TimeDelta> GetBufferedRanges() const; base 289 media/filters/chunk_demuxer.h void OnSourceInitDone(bool success, base::TimeDelta duration); base 303 media/filters/chunk_demuxer.h void IncreaseDurationIfNecessary(base::TimeDelta new_duration); base 311 media/filters/chunk_demuxer.h void UpdateDuration(base::TimeDelta new_duration); base 314 media/filters/chunk_demuxer.h Ranges<base::TimeDelta> GetBufferedRanges_Locked() const; base 326 media/filters/chunk_demuxer.h void SeekAllSources(base::TimeDelta seek_time); base 332 media/filters/chunk_demuxer.h mutable base::Lock lock_; base 337 media/filters/chunk_demuxer.h base::Closure open_cb_; base 357 media/filters/chunk_demuxer.h base::TimeDelta duration_; base 80 media/filters/chunk_demuxer_unittest.cc base::TimeDelta kDefaultDuration() { base 81 media/filters/chunk_demuxer_unittest.cc return base::TimeDelta::FromMilliseconds(201224); base 104 media/filters/chunk_demuxer_unittest.cc static void OnReadDone(const base::TimeDelta& expected_time, base 170 media/filters/chunk_demuxer_unittest.cc base::Closure open_cb = base 171 media/filters/chunk_demuxer_unittest.cc base::Bind(&ChunkDemuxerTest::DemuxerOpened, base::Unretained(this)); base 173 media/filters/chunk_demuxer_unittest.cc base::Bind(&ChunkDemuxerTest::DemuxerNeedKey, base::Unretained(this)); base 175 media/filters/chunk_demuxer_unittest.cc new ChunkDemuxer(open_cb, need_key_cb, base::Bind(&LogFunc), false)); base 374 media/filters/chunk_demuxer_unittest.cc base::SplitString(cluster_description, ' ', ×tamps); base 387 media/filters/chunk_demuxer_unittest.cc CHECK(base::StringToInt(timestamp_str, ×tamp_in_ms)); base 469 media/filters/chunk_demuxer_unittest.cc PipelineStatusCB CreateInitDoneCB(const base::TimeDelta& expected_duration, base 477 media/filters/chunk_demuxer_unittest.cc return base::Bind(&ChunkDemuxerTest::InitDoneCalled, base 478 media/filters/chunk_demuxer_unittest.cc base::Unretained(this), base 498 media/filters/chunk_demuxer_unittest.cc base::TimeDelta expected_duration = kNoTimestamp(); base 569 media/filters/chunk_demuxer_unittest.cc &host_, CreateInitDoneCB(base::TimeDelta::FromMilliseconds(2744), base 580 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(2768))); base 796 media/filters/chunk_demuxer_unittest.cc Ranges<base::TimeDelta> r = demuxer_->GetBufferedRanges(id); base 821 media/filters/chunk_demuxer_unittest.cc base::TimeDelta* last_timestamp) { base 827 media/filters/chunk_demuxer_unittest.cc stream->Read(base::Bind(&ChunkDemuxerTest::StoreStatusAndBuffer, base 828 media/filters/chunk_demuxer_unittest.cc base::Unretained(this), status, &buffer)); base 829 media/filters/chunk_demuxer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 837 media/filters/chunk_demuxer_unittest.cc demuxer_->GetStream(type)->Read(base::Bind( base 838 media/filters/chunk_demuxer_unittest.cc &ChunkDemuxerTest::ReadDone, base::Unretained(this))); base 845 media/filters/chunk_demuxer_unittest.cc demuxer_->GetStream(type)->Read(base::Bind( base 846 media/filters/chunk_demuxer_unittest.cc &ChunkDemuxerTest::ReadDone, base::Unretained(this))); base 852 media/filters/chunk_demuxer_unittest.cc demuxer_->GetStream(type)->Read(base::Bind( base 853 media/filters/chunk_demuxer_unittest.cc &ChunkDemuxerTest::ReadDone, base::Unretained(this))); base 860 media/filters/chunk_demuxer_unittest.cc base::SplitString(expected, ' ', ×tamps); base 865 media/filters/chunk_demuxer_unittest.cc stream->Read(base::Bind(&ChunkDemuxerTest::StoreStatusAndBuffer, base 866 media/filters/chunk_demuxer_unittest.cc base::Unretained(this), &status, &buffer)); base 867 media/filters/chunk_demuxer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 894 media/filters/chunk_demuxer_unittest.cc const base::TimeDelta& duration) { base 900 media/filters/chunk_demuxer_unittest.cc const base::TimeDelta& duration, base 923 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone, base 924 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds( base 931 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone, base 932 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds( base 955 media/filters/chunk_demuxer_unittest.cc void Seek(base::TimeDelta seek_time) { base 967 media/filters/chunk_demuxer_unittest.cc base::TimeDelta timestamp_offset) { base 975 media/filters/chunk_demuxer_unittest.cc base::MessageLoop message_loop_; base 981 media/filters/chunk_demuxer_unittest.cc base::TimeDelta append_window_start_for_next_append_; base 982 media/filters/chunk_demuxer_unittest.cc base::TimeDelta append_window_end_for_next_append_; base 986 media/filters/chunk_demuxer_unittest.cc std::map<std::string, base::TimeDelta> timestamp_offset_map_; base 1170 media/filters/chunk_demuxer_unittest.cc audio_stream->Read(base::Bind(&OnReadDone_EOSExpected, &audio_read_done)); base 1171 media/filters/chunk_demuxer_unittest.cc video_stream->Read(base::Bind(&OnReadDone_EOSExpected, &video_read_done)); base 1172 media/filters/chunk_demuxer_unittest.cc text_stream->Read(base::Bind(&OnReadDone_EOSExpected, &text_read_done)); base 1196 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(46)); base 1243 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromSeconds(5)); base 1274 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone, base 1275 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 1277 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone, base 1278 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 1453 media/filters/chunk_demuxer_unittest.cc audio->Read(base::Bind(&OnEndOfStreamReadDone, &audio_read_done_)); base 1454 media/filters/chunk_demuxer_unittest.cc video->Read(base::Bind(&OnEndOfStreamReadDone, &video_read_done_)); base 1455 media/filters/chunk_demuxer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1461 media/filters/chunk_demuxer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1495 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone, base 1496 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 1498 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone, base 1499 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 1509 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(kVideoBlockDuration))); base 1531 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone, base 1532 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 1534 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone, base 1535 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 1545 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(kVideoBlockDuration))); base 1563 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(138))); base 1567 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(20)); base 1571 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time2 = base::TimeDelta::FromMilliseconds(30); base 1578 media/filters/chunk_demuxer_unittest.cc base::TimeDelta last_timestamp; base 1604 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(66))); base 1618 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(200))); base 1674 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(2768))); base 1677 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(2744))); base 1707 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(2768))); base 1710 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(2744), base 1727 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(2736))); base 1730 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(2703), base 1747 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(2768))); base 1750 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(2767))); base 1762 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone, base 1763 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 1765 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone, base 1766 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 1796 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone, base 1797 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(23), base 1799 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone, base 1800 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(33), base 1948 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone_EOSExpected, &audio_read_done)); base 1974 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromSeconds(50)); base 1979 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone_AbortExpected, &audio_read_done)); base 1980 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone_AbortExpected, &video_read_done)); base 1986 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromSeconds(0); base 2004 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time1 = base::TimeDelta::FromSeconds(50); base 2005 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time2 = base::TimeDelta::FromSeconds(0); base 2015 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone_AbortExpected, &audio_read_done)); base 2016 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone_AbortExpected, &video_read_done)); base 2041 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone, base 2042 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 2044 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone, base 2045 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(0), base 2051 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromSeconds(3)); base 2055 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone, base 2056 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromSeconds(3), base 2058 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone, base 2059 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromSeconds(3), base 2092 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromMilliseconds(110); base 2095 media/filters/chunk_demuxer_unittest.cc base::Bind(OnSeekDone_OKExpected, &seek_cb_was_called)); base 2101 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(120))); base 2121 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromMilliseconds(160); base 2124 media/filters/chunk_demuxer_unittest.cc base::Bind(OnSeekDone_OKExpected, &seek_cb_was_called)); base 2129 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(300))); base 2267 media/filters/chunk_demuxer_unittest.cc demuxer_->Remove(kSourceId, base::TimeDelta(), base 2268 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(46)); base 2283 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(66))); base 2296 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(246))); base 2297 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(366))); base 2307 media/filters/chunk_demuxer_unittest.cc demuxer_->Remove(kSourceId, base::TimeDelta::FromMilliseconds(200), base 2308 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(300)); base 2339 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromSeconds(0)); base 2343 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromSeconds(5)); base 2364 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(25)); base 2382 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromMilliseconds(0); base 2453 media/filters/chunk_demuxer_unittest.cc base::TimeDelta kLastAudioTimestamp = base::TimeDelta::FromMilliseconds(92); base 2454 media/filters/chunk_demuxer_unittest.cc base::TimeDelta kLastVideoTimestamp = base::TimeDelta::FromMilliseconds(99); base 2461 media/filters/chunk_demuxer_unittest.cc base::TimeDelta last_timestamp; base 2473 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(0)); base 2503 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromSeconds(0); base 2508 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(kDefaultSecondClusterEndTimestamp))); base 2527 media/filters/chunk_demuxer_unittest.cc base::TimeDelta last_timestamp; base 2574 media/filters/chunk_demuxer_unittest.cc base::TimeDelta last_timestamp; base 2631 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(527)); base 2646 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(0)); base 2654 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(527)); base 2655 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(801)); base 2665 media/filters/chunk_demuxer_unittest.cc ASSERT_TRUE(SetTimestampOffset(kSourceId, base::TimeDelta::FromSeconds(30))); base 2668 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(30000)); base 2676 media/filters/chunk_demuxer_unittest.cc ASSERT_TRUE(SetTimestampOffset(kSourceId, base::TimeDelta::FromSeconds(-1))); base 2688 media/filters/chunk_demuxer_unittest.cc audio_id, base::TimeDelta::FromMilliseconds(-2500))); base 2690 media/filters/chunk_demuxer_unittest.cc video_id, base::TimeDelta::FromMilliseconds(-2500))); base 2698 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(27300)); base 2701 media/filters/chunk_demuxer_unittest.cc audio_id, base::TimeDelta::FromMilliseconds(27300))); base 2703 media/filters/chunk_demuxer_unittest.cc video_id, base::TimeDelta::FromMilliseconds(27300))); base 2777 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(kNewStreamDurationAudio))); base 2780 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(kNewStreamDurationVideo))); base 2789 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(kFinalStreamDuration))); base 2808 media/filters/chunk_demuxer_unittest.cc kDefaultDuration() + base::TimeDelta::FromMilliseconds( base 2811 media/filters/chunk_demuxer_unittest.cc kDefaultDuration() + base::TimeDelta::FromMilliseconds( base 2822 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(kDefaultFirstClusterEndTimestamp))); base 2871 media/filters/chunk_demuxer_unittest.cc stream->Read(base::Bind(&OnReadDone_EOSExpected, &audio_read_done)); base 2890 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone, base 2891 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(138), base 2893 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone, base 2894 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(138), base 2901 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(438))); base 2926 media/filters/chunk_demuxer_unittest.cc ReadAudio(base::Bind(&OnReadDone_EOSExpected, base 2928 media/filters/chunk_demuxer_unittest.cc ReadVideo(base::Bind(&OnReadDone_EOSExpected, base 2935 media/filters/chunk_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(437))); base 2946 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromMilliseconds(200); base 2961 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time1 = base::TimeDelta::FromMilliseconds(1000); base 2962 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time2 = base::TimeDelta::FromMilliseconds(500); base 3006 media/filters/chunk_demuxer_unittest.cc demuxer_->Remove(kSourceId, base::TimeDelta::FromMilliseconds(0), base 3007 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 3015 media/filters/chunk_demuxer_unittest.cc append_window_start_for_next_append_ = base::TimeDelta::FromMilliseconds(20); base 3016 media/filters/chunk_demuxer_unittest.cc append_window_end_for_next_append_ = base::TimeDelta::FromMilliseconds(280); base 3029 media/filters/chunk_demuxer_unittest.cc append_window_end_for_next_append_ = base::TimeDelta::FromMilliseconds(650); base 3043 media/filters/chunk_demuxer_unittest.cc append_window_start_for_next_append_ = base::TimeDelta::FromMilliseconds(20); base 3044 media/filters/chunk_demuxer_unittest.cc append_window_end_for_next_append_ = base::TimeDelta::FromMilliseconds(280); base 3058 media/filters/chunk_demuxer_unittest.cc append_window_end_for_next_append_ = base::TimeDelta::FromMilliseconds(650); base 3075 media/filters/chunk_demuxer_unittest.cc append_window_start_for_next_append_ = base::TimeDelta::FromMilliseconds(20); base 3076 media/filters/chunk_demuxer_unittest.cc append_window_end_for_next_append_ = base::TimeDelta::FromMilliseconds(280); base 3092 media/filters/chunk_demuxer_unittest.cc append_window_end_for_next_append_ = base::TimeDelta::FromMilliseconds(650); base 3101 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta::FromMilliseconds(420)); base 3110 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromSeconds(50); base 3134 media/filters/chunk_demuxer_unittest.cc demuxer_->Remove(kSourceId, base::TimeDelta(), base 3135 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(300)); base 3148 media/filters/chunk_demuxer_unittest.cc Seek(base::TimeDelta()); base 3166 media/filters/chunk_demuxer_unittest.cc base::TimeDelta seek_time = base::TimeDelta::FromMilliseconds(120); base 3170 media/filters/chunk_demuxer_unittest.cc base::Bind(OnSeekDone_OKExpected, &seek_cb_was_called)); base 3176 media/filters/chunk_demuxer_unittest.cc text_stream->Read(base::Bind(&OnReadDone, base 3177 media/filters/chunk_demuxer_unittest.cc base::TimeDelta::FromMilliseconds(125), base 53 media/filters/decoder_selector.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 103 media/filters/decoder_selector.cc base::Bind(&DecoderSelector<StreamType>::DecryptingDecoderInitDone, base 133 media/filters/decoder_selector.cc base::Bind(&DecoderSelector<StreamType>::ReturnNullDecoder, base 148 media/filters/decoder_selector.cc base::ResetAndReturn(&select_decoder_cb_) base 160 media/filters/decoder_selector.cc base::Bind(&DecoderSelector<StreamType>::DecryptingDemuxerStreamInitDone, base 195 media/filters/decoder_selector.cc base::Bind(&DecoderSelector<StreamType>::DecoderInitDone, base 210 media/filters/decoder_selector.cc base::ResetAndReturn(&select_decoder_cb_) base 218 media/filters/decoder_selector.cc base::ResetAndReturn(&select_decoder_cb_) base 17 media/filters/decoder_selector.h namespace base { base 47 media/filters/decoder_selector.h typedef base::Callback< base 57 media/filters/decoder_selector.h const scoped_refptr<base::SingleThreadTaskRunner>& message_loop, base 79 media/filters/decoder_selector.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 90 media/filters/decoder_selector.h base::WeakPtrFactory<DecoderSelector> weak_ptr_factory_; base 43 media/filters/decoder_stream.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 78 media/filters/decoder_stream.cc base::Bind(&DecoderStream<StreamType>::OnDecoderSelected, base 95 media/filters/decoder_stream.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 112 media/filters/decoder_stream.cc FROM_HERE, base::Bind(base::ResetAndReturn(&read_cb_), OK, output)); base 120 media/filters/decoder_stream.cc void DecoderStream<StreamType>::Reset(const base::Closure& closure) { base 147 media/filters/decoder_stream.cc decrypting_demuxer_stream_->Reset(base::Bind( base 156 media/filters/decoder_stream.cc void DecoderStream<StreamType>::Stop(const base::Closure& closure) { base 176 media/filters/decoder_stream.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 177 media/filters/decoder_stream.cc base::ResetAndReturn(&read_cb_), ABORTED, scoped_refptr<Output>())); base 179 media/filters/decoder_stream.cc task_runner_->PostTask(FROM_HERE, base::ResetAndReturn(&reset_cb_)); base 182 media/filters/decoder_stream.cc decrypting_demuxer_stream_->Stop(base::Bind( base 197 media/filters/decoder_stream.cc task_runner_->PostTask(FROM_HERE, base::ResetAndReturn(&stop_cb_)); base 230 media/filters/decoder_stream.cc base::ResetAndReturn(&init_cb_), selected_decoder.get(), stream_); base 236 media/filters/decoder_stream.cc base::ResetAndReturn(&init_cb_), decoder_.get(), stream_); base 241 media/filters/decoder_stream.cc Stop(base::ResetAndReturn(&stop_cb_)); base 251 media/filters/decoder_stream.cc base::ResetAndReturn(&read_cb_).Run(status, output); base 279 media/filters/decoder_stream.cc base::Bind(&DecoderStream<StreamType>::OnDecodeOutputReady, base 359 media/filters/decoder_stream.cc stream_->Read(base::Bind(&DecoderStream<StreamType>::OnBufferReady, base 389 media/filters/decoder_stream.cc Reset(base::ResetAndReturn(&reset_cb_)); base 402 media/filters/decoder_stream.cc Reset(base::ResetAndReturn(&reset_cb_)); base 430 media/filters/decoder_stream.cc base::Bind(&DecoderStream<StreamType>::OnDecoderReinitialized, base 452 media/filters/decoder_stream.cc base::ResetAndReturn(&reset_cb_).Run(); base 474 media/filters/decoder_stream.cc decoder_->Reset(base::Bind(&DecoderStream<StreamType>::OnDecoderReset, base 491 media/filters/decoder_stream.cc base::ResetAndReturn(&reset_cb_).Run(); base 513 media/filters/decoder_stream.cc task_runner_->PostTask(FROM_HERE, base::ResetAndReturn(&stop_cb_)); base 22 media/filters/decoder_stream.h namespace base { base 50 media/filters/decoder_stream.h typedef base::Callback<void(Status, const scoped_refptr<Output>&)> ReadCB; base 53 media/filters/decoder_stream.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 75 media/filters/decoder_stream.h void Reset(const base::Closure& closure); base 82 media/filters/decoder_stream.h void Stop(const base::Closure& closure); base 92 media/filters/decoder_stream.h typedef base::Callback<void(base::TimeDelta)> SpliceObserverCB; base 100 media/filters/decoder_stream.h typedef base::Closure ConfigChangeObserverCB; base 161 media/filters/decoder_stream.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 169 media/filters/decoder_stream.h base::Closure reset_cb_; base 170 media/filters/decoder_stream.h base::Closure stop_cb_; base 184 media/filters/decoder_stream.h base::WeakPtrFactory<DecoderStream<StreamType> > weak_factory_; base 30 media/filters/decoder_stream_traits.h typedef base::Callback<void(bool success)> StreamInitCB; base 47 media/filters/decoder_stream_traits.h typedef base::Callback<void(bool success, bool has_alpha)> StreamInitCB; base 28 media/filters/decrypting_audio_decoder.cc static inline bool IsOutOfSync(const base::TimeDelta& timestamp_1, base 29 media/filters/decrypting_audio_decoder.cc const base::TimeDelta& timestamp_2) { base 38 media/filters/decrypting_audio_decoder.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 59 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_ERROR_DECODE); base 65 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 74 media/filters/decrypting_audio_decoder.cc base::Bind(&DecryptingAudioDecoder::SetDecryptor, weak_this_))); base 95 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, AudioBuffer::CreateEOSBuffer()); base 101 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, queued_audio_frames_.front()); base 126 media/filters/decrypting_audio_decoder.cc void DecryptingAudioDecoder::Reset(const base::Closure& closure) { base 152 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kAborted, NULL); base 172 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&set_decryptor_ready_cb_).Run(DecryptorReadyCB()); base 175 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 177 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kAborted, NULL); base 179 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&reset_cb_).Run(); base 198 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 213 media/filters/decrypting_audio_decoder.cc BindToCurrentLoop(base::Bind( base 226 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 238 media/filters/decrypting_audio_decoder.cc base::Bind(&DecryptingAudioDecoder::OnKeyAdded, weak_this_))); base 241 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_OK); base 255 media/filters/decrypting_audio_decoder.cc BindToCurrentLoop(base::Bind( base 278 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kAborted, NULL); base 288 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kDecodeError, NULL); base 312 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&decode_cb_) base 318 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kNotEnoughData, NULL); base 327 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, queued_audio_frames_.front()); base 350 media/filters/decrypting_audio_decoder.cc base::ResetAndReturn(&reset_cb_).Run(); base 365 media/filters/decrypting_audio_decoder.cc base::TimeDelta current_time = timestamp_helper_->GetTimestamp(); base 17 media/filters/decrypting_audio_decoder.h namespace base { base 41 media/filters/decrypting_audio_decoder.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 51 media/filters/decrypting_audio_decoder.h virtual void Reset(const base::Closure& closure) OVERRIDE; base 97 media/filters/decrypting_audio_decoder.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 103 media/filters/decrypting_audio_decoder.h base::Closure reset_cb_; base 104 media/filters/decrypting_audio_decoder.h base::Closure stop_cb_; base 129 media/filters/decrypting_audio_decoder.h base::WeakPtrFactory<DecryptingAudioDecoder> weak_factory_; base 130 media/filters/decrypting_audio_decoder.h base::WeakPtr<DecryptingAudioDecoder> weak_this_; base 80 media/filters/decrypting_audio_decoder_unittest.cc base::Bind( base 82 media/filters/decrypting_audio_decoder_unittest.cc base::Unretained(this)))), base 126 media/filters/decrypting_audio_decoder_unittest.cc base::TimeDelta(), base::TimeDelta()); base 168 media/filters/decrypting_audio_decoder_unittest.cc base::Bind(&DecryptingAudioDecoderTest::FrameReady, base 169 media/filters/decrypting_audio_decoder_unittest.cc base::Unretained(this))); base 203 media/filters/decrypting_audio_decoder_unittest.cc base::Bind(&DecryptingAudioDecoderTest::FrameReady, base 204 media/filters/decrypting_audio_decoder_unittest.cc base::Unretained(this))); base 216 media/filters/decrypting_audio_decoder_unittest.cc base::Bind(&DecryptingAudioDecoderTest::FrameReady, base 217 media/filters/decrypting_audio_decoder_unittest.cc base::Unretained(this))); base 223 media/filters/decrypting_audio_decoder_unittest.cc base::ResetAndReturn(&pending_audio_decode_cb_).Run( base 231 media/filters/decrypting_audio_decoder_unittest.cc base::ResetAndReturn(&pending_init_cb_).Run(false); base 261 media/filters/decrypting_audio_decoder_unittest.cc base::MessageLoop message_loop_; base 439 media/filters/decrypting_audio_decoder_unittest.cc base::ResetAndReturn(&pending_audio_decode_cb_).Run( base 32 media/filters/decrypting_demuxer_stream.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 57 media/filters/decrypting_demuxer_stream.cc base::Bind(&DecryptingDemuxerStream::SetDecryptor, weak_this_))); base 70 media/filters/decrypting_demuxer_stream.cc base::Bind(&DecryptingDemuxerStream::DecryptBuffer, weak_this_)); base 73 media/filters/decrypting_demuxer_stream.cc void DecryptingDemuxerStream::Reset(const base::Closure& closure) { base 87 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_ERROR_ABORT); base 106 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); base 113 media/filters/decrypting_demuxer_stream.cc void DecryptingDemuxerStream::Stop(const base::Closure& closure) { base 130 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&set_decryptor_ready_cb_).Run(DecryptorReadyCB()); base 132 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_ERROR_ABORT); base 134 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); base 136 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&reset_cb_).Run(); base 183 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 192 media/filters/decrypting_demuxer_stream.cc base::Bind(&DecryptingDemuxerStream::OnKeyAdded, weak_this_))); base 195 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_OK); base 218 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kConfigChanged, NULL); base 225 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); base 233 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); base 240 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(status, buffer); base 253 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kOk, decrypted); base 269 media/filters/decrypting_demuxer_stream.cc base::Bind(&DecryptingDemuxerStream::DeliverBuffer, weak_this_))); base 287 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); base 298 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); base 317 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kOk, decrypted_buffer); base 344 media/filters/decrypting_demuxer_stream.cc base::ResetAndReturn(&reset_cb_).Run(); base 372 media/filters/decrypting_demuxer_stream.cc base::TimeDelta(), base 373 media/filters/decrypting_demuxer_stream.cc base::TimeDelta()); base 17 media/filters/decrypting_demuxer_stream.h namespace base { base 32 media/filters/decrypting_demuxer_stream.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 43 media/filters/decrypting_demuxer_stream.h void Reset(const base::Closure& closure); base 50 media/filters/decrypting_demuxer_stream.h void Stop(const base::Closure& closure); base 102 media/filters/decrypting_demuxer_stream.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 108 media/filters/decrypting_demuxer_stream.h base::Closure reset_cb_; base 131 media/filters/decrypting_demuxer_stream.h base::WeakPtrFactory<DecryptingDemuxerStream> weak_factory_; base 132 media/filters/decrypting_demuxer_stream.h base::WeakPtr<DecryptingDemuxerStream> weak_this_; base 64 media/filters/decrypting_demuxer_stream_unittest.cc base::ResetAndReturn(callback).Run(param); base 78 media/filters/decrypting_demuxer_stream_unittest.cc base::Bind( base 80 media/filters/decrypting_demuxer_stream_unittest.cc base::Unretained(this)))), base 146 media/filters/decrypting_demuxer_stream_unittest.cc demuxer_stream_->Read(base::Bind(&DecryptingDemuxerStreamTest::BufferReady, base 147 media/filters/decrypting_demuxer_stream_unittest.cc base::Unretained(this))); base 161 media/filters/decrypting_demuxer_stream_unittest.cc demuxer_stream_->Read(base::Bind(&DecryptingDemuxerStreamTest::BufferReady, base 162 media/filters/decrypting_demuxer_stream_unittest.cc base::Unretained(this))); base 184 media/filters/decrypting_demuxer_stream_unittest.cc demuxer_stream_->Read(base::Bind(&DecryptingDemuxerStreamTest::BufferReady, base 185 media/filters/decrypting_demuxer_stream_unittest.cc base::Unretained(this))); base 199 media/filters/decrypting_demuxer_stream_unittest.cc demuxer_stream_->Read(base::Bind(&DecryptingDemuxerStreamTest::BufferReady, base 200 media/filters/decrypting_demuxer_stream_unittest.cc base::Unretained(this))); base 212 media/filters/decrypting_demuxer_stream_unittest.cc demuxer_stream_->Read(base::Bind(&DecryptingDemuxerStreamTest::BufferReady, base 213 media/filters/decrypting_demuxer_stream_unittest.cc base::Unretained(this))); base 219 media/filters/decrypting_demuxer_stream_unittest.cc base::ResetAndReturn(&pending_decrypt_cb_).Run(Decryptor::kSuccess, NULL); base 226 media/filters/decrypting_demuxer_stream_unittest.cc base::ResetAndReturn(&pending_demuxer_read_cb_).Run(status, buffer); base 254 media/filters/decrypting_demuxer_stream_unittest.cc base::MessageLoop message_loop_; base 378 media/filters/decrypting_demuxer_stream_unittest.cc base::ResetAndReturn(&pending_decrypt_cb_).Run(Decryptor::kNoKey, NULL); base 23 media/filters/decrypting_video_decoder.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 51 media/filters/decrypting_video_decoder.cc set_decryptor_ready_cb_.Run(BindToCurrentLoop(base::Bind( base 59 media/filters/decrypting_video_decoder.cc decryptor_->InitializeVideoDecoder(config, BindToCurrentLoop(base::Bind( base 76 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kDecodeError, NULL); base 82 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, VideoFrame::CreateEOSFrame()); base 91 media/filters/decrypting_video_decoder.cc void DecryptingVideoDecoder::Reset(const base::Closure& closure) { base 118 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kAborted, NULL); base 142 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&set_decryptor_ready_cb_).Run(DecryptorReadyCB()); base 145 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 147 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kAborted, NULL); base 149 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&reset_cb_).Run(); base 167 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 177 media/filters/decrypting_video_decoder.cc BindToCurrentLoop(base::Bind( base 190 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 198 media/filters/decrypting_video_decoder.cc base::Bind(&DecryptingVideoDecoder::OnKeyAdded, weak_this_))); base 202 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_OK); base 218 media/filters/decrypting_video_decoder.cc pending_buffer_to_decode_, BindToCurrentLoop(base::Bind( base 243 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kAborted, NULL); base 253 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kDecodeError, NULL); base 277 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run( base 283 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kNotEnoughData, NULL); base 291 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, frame); base 313 media/filters/decrypting_video_decoder.cc base::ResetAndReturn(&reset_cb_).Run(); base 14 media/filters/decrypting_video_decoder.h namespace base { base 30 media/filters/decrypting_video_decoder.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 39 media/filters/decrypting_video_decoder.h virtual void Reset(const base::Closure& closure) OVERRIDE; base 81 media/filters/decrypting_video_decoder.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 87 media/filters/decrypting_video_decoder.h base::Closure reset_cb_; base 111 media/filters/decrypting_video_decoder.h base::WeakPtrFactory<DecryptingVideoDecoder> weak_factory_; base 112 media/filters/decrypting_video_decoder.h base::WeakPtr<DecryptingVideoDecoder> weak_this_; base 54 media/filters/decrypting_video_decoder_unittest.cc base::ResetAndReturn(callback).Run(param); base 68 media/filters/decrypting_video_decoder_unittest.cc base::Bind( base 70 media/filters/decrypting_video_decoder_unittest.cc base::Unretained(this)))), base 126 media/filters/decrypting_video_decoder_unittest.cc base::Bind(&DecryptingVideoDecoderTest::FrameReady, base 127 media/filters/decrypting_video_decoder_unittest.cc base::Unretained(this))); base 158 media/filters/decrypting_video_decoder_unittest.cc base::Bind(&DecryptingVideoDecoderTest::FrameReady, base 159 media/filters/decrypting_video_decoder_unittest.cc base::Unretained(this))); base 170 media/filters/decrypting_video_decoder_unittest.cc base::Bind(&DecryptingVideoDecoderTest::FrameReady, base 171 media/filters/decrypting_video_decoder_unittest.cc base::Unretained(this))); base 177 media/filters/decrypting_video_decoder_unittest.cc base::ResetAndReturn(&pending_video_decode_cb_).Run( base 185 media/filters/decrypting_video_decoder_unittest.cc base::ResetAndReturn(&pending_init_cb_).Run(false); base 215 media/filters/decrypting_video_decoder_unittest.cc base::MessageLoop message_loop_; base 348 media/filters/decrypting_video_decoder_unittest.cc base::ResetAndReturn(&pending_video_decode_cb_).Run(Decryptor::kNoKey, base 36 media/filters/fake_demuxer_stream.cc : task_runner_(base::MessageLoopProxy::current()), base 43 media/filters/fake_demuxer_stream.cc current_timestamp_(base::TimeDelta::FromMilliseconds(kStartTimestampMs)), base 44 media/filters/fake_demuxer_stream.cc duration_(base::TimeDelta::FromMilliseconds(kDurationMs)), base 118 media/filters/fake_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); base 139 media/filters/fake_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kOk, base 147 media/filters/fake_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kConfigChanged, NULL); base 170 media/filters/fake_demuxer_stream.cc base::ResetAndReturn(&read_cb_).Run(kOk, buffer); base 14 media/filters/fake_demuxer_stream.h namespace base { base 60 media/filters/fake_demuxer_stream.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 72 media/filters/fake_demuxer_stream.h base::TimeDelta current_timestamp_; base 73 media/filters/fake_demuxer_stream.h base::TimeDelta duration_; base 97 media/filters/fake_demuxer_stream_unittest.cc stream_->Read(base::Bind(&FakeDemuxerStreamTest::BufferReady, base 98 media/filters/fake_demuxer_stream_unittest.cc base::Unretained(this))); base 106 media/filters/fake_demuxer_stream_unittest.cc stream_->Read(base::Bind(&FakeDemuxerStreamTest::BufferReady, base 107 media/filters/fake_demuxer_stream_unittest.cc base::Unretained(this))); base 162 media/filters/fake_demuxer_stream_unittest.cc base::MessageLoop message_loop_; base 18 media/filters/fake_video_decoder.cc : task_runner_(base::MessageLoopProxy::current()), base 59 media/filters/fake_video_decoder.cc BindToCurrentLoop(base::Bind(&FakeVideoDecoder::OnFrameDecoded, base 86 media/filters/fake_video_decoder.cc void FakeVideoDecoder::Reset(const base::Closure& closure) { base 22 media/filters/fake_video_decoder.h using base::ResetAndReturn; base 24 media/filters/fake_video_decoder.h namespace base { base 42 media/filters/fake_video_decoder.h virtual void Reset(const base::Closure& closure) OVERRIDE; base 73 media/filters/fake_video_decoder.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 83 media/filters/fake_video_decoder.h CallbackHolder<base::Closure> reset_cb_; base 92 media/filters/fake_video_decoder.h base::WeakPtrFactory<FakeVideoDecoder> weak_factory_; base 114 media/filters/fake_video_decoder_unittest.cc base::TimeDelta::FromMilliseconds(kDurationMs * num_input_buffers_), base 115 media/filters/fake_video_decoder_unittest.cc base::TimeDelta::FromMilliseconds(kDurationMs)); base 127 media/filters/fake_video_decoder_unittest.cc base::Bind(&FakeVideoDecoderTest::FrameReady, base::Unretained(this))); base 183 media/filters/fake_video_decoder_unittest.cc decoder_->Reset(base::Bind(&FakeVideoDecoderTest::OnDecoderReset, base 184 media/filters/fake_video_decoder_unittest.cc base::Unretained(this))); base 209 media/filters/fake_video_decoder_unittest.cc base::MessageLoop message_loop_; base 129 media/filters/ffmpeg_audio_decoder.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) base 197 media/filters/ffmpeg_audio_decoder.cc void FFmpegAudioDecoder::Reset(const base::Closure& closure) { base 267 media/filters/ffmpeg_audio_decoder.cc buffer->timestamp() < base::TimeDelta()) { base 275 media/filters/ffmpeg_audio_decoder.cc const base::TimeDelta diff = base 365 media/filters/ffmpeg_audio_decoder.cc output_timestamp_helper_->SetBaseTimestamp(base::TimeDelta()); base 21 media/filters/ffmpeg_audio_decoder.h namespace base { base 33 media/filters/ffmpeg_audio_decoder.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); base 42 media/filters/ffmpeg_audio_decoder.h virtual void Reset(const base::Closure& closure) OVERRIDE; base 71 media/filters/ffmpeg_audio_decoder.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 86 media/filters/ffmpeg_audio_decoder.h base::TimeDelta last_input_timestamp_; base 39 media/filters/ffmpeg_audio_decoder_unittest.cc ReadTestDataFile(base::StringPrintf("vorbis-packet-%d", i)); base 42 media/filters/ffmpeg_audio_decoder_unittest.cc buffer->set_timestamp(base::TimeDelta()); base 44 media/filters/ffmpeg_audio_decoder_unittest.cc buffer->set_timestamp(base::TimeDelta::FromMicroseconds(2902)); base 47 media/filters/ffmpeg_audio_decoder_unittest.cc buffer->set_duration(base::TimeDelta()); base 72 media/filters/ffmpeg_audio_decoder_unittest.cc base::RunLoop().RunUntilIdle(); base 76 media/filters/ffmpeg_audio_decoder_unittest.cc base::RunLoop().RunUntilIdle(); base 84 media/filters/ffmpeg_audio_decoder_unittest.cc base::Bind(&FFmpegAudioDecoderTest::DecodeFinished, base 85 media/filters/ffmpeg_audio_decoder_unittest.cc base::Unretained(this))); base 86 media/filters/ffmpeg_audio_decoder_unittest.cc base::RunLoop().RunUntilIdle(); base 91 media/filters/ffmpeg_audio_decoder_unittest.cc decoder_->Reset(base::Bind( base 92 media/filters/ffmpeg_audio_decoder_unittest.cc &FFmpegAudioDecoderTest::ResetFinished, base::Unretained(this))); base 93 media/filters/ffmpeg_audio_decoder_unittest.cc base::RunLoop().RunUntilIdle(); base 98 media/filters/ffmpeg_audio_decoder_unittest.cc base::RunLoop().RunUntilIdle(); base 144 media/filters/ffmpeg_audio_decoder_unittest.cc base::MessageLoop message_loop_; base 44 media/filters/ffmpeg_demuxer.cc task_runner_(base::MessageLoopProxy::current()), base 89 media/filters/ffmpeg_demuxer.cc base::StringPiece base64_key_id(key->value); base 91 media/filters/ffmpeg_demuxer.cc base::Base64Decode(base64_key_id, &enc_key_id); base 182 media/filters/ffmpeg_demuxer.cc int discard_padding_samples = base::ByteSwapToLE32( base 187 media/filters/ffmpeg_demuxer.cc buffer->set_discard_padding(base::TimeDelta::FromMicroseconds( base 230 media/filters/ffmpeg_demuxer.cc base::ResetAndReturn(&read_cb_).Run( base 238 media/filters/ffmpeg_demuxer.cc base::TimeDelta FFmpegDemuxerStream::duration() { base 257 media/filters/ffmpeg_demuxer.cc base::ResetAndReturn(&read_cb_).Run( base 291 media/filters/ffmpeg_demuxer.cc base::TimeDelta FFmpegDemuxerStream::GetElapsedTime() const { base 295 media/filters/ffmpeg_demuxer.cc Ranges<base::TimeDelta> FFmpegDemuxerStream::GetBufferedRanges() const { base 303 media/filters/ffmpeg_demuxer.cc base::ResetAndReturn(&read_cb_).Run( base 306 media/filters/ffmpeg_demuxer.cc base::ResetAndReturn(&read_cb_).Run( base 325 media/filters/ffmpeg_demuxer.cc const base::TimeDelta kCapacity = base::TimeDelta::FromSeconds(1); base 356 media/filters/ffmpeg_demuxer.cc base::TimeDelta FFmpegDemuxerStream::ConvertStreamTimestamp( base 368 media/filters/ffmpeg_demuxer.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 392 media/filters/ffmpeg_demuxer.cc void FFmpegDemuxer::Stop(const base::Closure& callback) { base 396 media/filters/ffmpeg_demuxer.cc BindToCurrentLoop(base::Bind(&FFmpegDemuxer::OnDataSourceStopped, base 402 media/filters/ffmpeg_demuxer.cc void FFmpegDemuxer::Seek(base::TimeDelta time, const PipelineStatusCB& cb) { base 417 media/filters/ffmpeg_demuxer.cc base::PostTaskAndReplyWithResult( base 420 media/filters/ffmpeg_demuxer.cc base::Bind(&av_seek_frame, base 425 media/filters/ffmpeg_demuxer.cc base::Bind( base 448 media/filters/ffmpeg_demuxer.cc base::Bind(&FFmpegDemuxer::OnDataSourceError, base::Unretained(this))))); base 459 media/filters/ffmpeg_demuxer.cc base::PostTaskAndReplyWithResult( base 462 media/filters/ffmpeg_demuxer.cc base::Bind(&FFmpegGlue::OpenContext, base::Unretained(glue_.get())), base 463 media/filters/ffmpeg_demuxer.cc base::Bind(&FFmpegDemuxer::OnOpenContextDone, base 484 media/filters/ffmpeg_demuxer.cc base::TimeDelta FFmpegDemuxer::GetStartTime() const { base 514 media/filters/ffmpeg_demuxer.cc const base::TimeDelta& duration, base 558 media/filters/ffmpeg_demuxer.cc base::PostTaskAndReplyWithResult( base 561 media/filters/ffmpeg_demuxer.cc base::Bind(&avformat_find_stream_info, base 564 media/filters/ffmpeg_demuxer.cc base::Bind(&FFmpegDemuxer::OnFindStreamInfoDone, base 595 media/filters/ffmpeg_demuxer.cc base::TimeDelta max_duration; base 640 media/filters/ffmpeg_demuxer.cc const base::TimeDelta first_dts = ConvertFromTimeBase( base 670 media/filters/ffmpeg_demuxer.cc start_time_ = base::TimeDelta(); base 729 media/filters/ffmpeg_demuxer.cc base::StringPrintf("%d/%d", base 795 media/filters/ffmpeg_demuxer.cc base::PostTaskAndReplyWithResult( base 798 media/filters/ffmpeg_demuxer.cc base::Bind(&av_read_frame, glue_->format_context(), packet_ptr), base 799 media/filters/ffmpeg_demuxer.cc base::Bind(&FFmpegDemuxer::OnReadFrameDone, base 801 media/filters/ffmpeg_demuxer.cc base::Passed(&packet))); base 820 media/filters/ffmpeg_demuxer.cc base::TimeDelta max_duration; base 828 media/filters/ffmpeg_demuxer.cc base::TimeDelta duration = (*iter)->GetElapsedTime(); base 833 media/filters/ffmpeg_demuxer.cc if (max_duration > base::TimeDelta()) { base 895 media/filters/ffmpeg_demuxer.cc void FFmpegDemuxer::OnDataSourceStopped(const base::Closure& callback) { base 969 media/filters/ffmpeg_demuxer.cc Ranges<base::TimeDelta> buffered; base 78 media/filters/ffmpeg_demuxer.h base::TimeDelta duration(); base 89 media/filters/ffmpeg_demuxer.h Ranges<base::TimeDelta> GetBufferedRanges() const; base 93 media/filters/ffmpeg_demuxer.h base::TimeDelta GetElapsedTime() const; base 115 media/filters/ffmpeg_demuxer.h static base::TimeDelta ConvertStreamTimestamp(const AVRational& time_base, base 119 media/filters/ffmpeg_demuxer.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 124 media/filters/ffmpeg_demuxer.h base::TimeDelta duration_; base 126 media/filters/ffmpeg_demuxer.h base::TimeDelta last_packet_timestamp_; base 127 media/filters/ffmpeg_demuxer.h Ranges<base::TimeDelta> buffered_ranges_; base 142 media/filters/ffmpeg_demuxer.h FFmpegDemuxer(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 152 media/filters/ffmpeg_demuxer.h virtual void Stop(const base::Closure& callback) OVERRIDE; base 153 media/filters/ffmpeg_demuxer.h virtual void Seek(base::TimeDelta time, const PipelineStatusCB& cb) OVERRIDE; base 156 media/filters/ffmpeg_demuxer.h virtual base::TimeDelta GetStartTime() const OVERRIDE; base 183 media/filters/ffmpeg_demuxer.h void OnDataSourceStopped(const base::Closure& callback); base 208 media/filters/ffmpeg_demuxer.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 211 media/filters/ffmpeg_demuxer.h base::Thread blocking_thread_; base 247 media/filters/ffmpeg_demuxer.h base::TimeDelta start_time_; base 267 media/filters/ffmpeg_demuxer.h base::WeakPtrFactory<FFmpegDemuxer> weak_factory_; base 46 media/filters/ffmpeg_demuxer_unittest.cc base::MessageLoop::current()->PostTask( base 47 media/filters/ffmpeg_demuxer_unittest.cc FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); base 83 media/filters/ffmpeg_demuxer_unittest.cc base::Bind(&FFmpegDemuxerTest::NeedKeyCB, base::Unretained(this)); base 121 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(timestampInMicroseconds), base 124 media/filters/ffmpeg_demuxer_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 125 media/filters/ffmpeg_demuxer_unittest.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); base 131 media/filters/ffmpeg_demuxer_unittest.cc return base::Bind(&FFmpegDemuxerTest::OnReadDone, base::Unretained(this), base 162 media/filters/ffmpeg_demuxer_unittest.cc base::MessageLoop message_loop_; base 172 media/filters/ffmpeg_demuxer_unittest.cc stream->Read(base::Bind(&EosOnReadDone, &got_eos_buffer)); base 183 media/filters/ffmpeg_demuxer_unittest.cc base::FilePath file_path; base 184 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &file_path)); base 428 media/filters/ffmpeg_demuxer_unittest.cc text_stream->Read(base::Bind(&EosOnReadDone, &got_eos_buffer)); base 440 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(2767))); base 450 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(2703))); base 459 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(2767))); base 469 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_CALL(host_, SetDuration(base::TimeDelta::FromMilliseconds(1014))); base 491 media/filters/ffmpeg_demuxer_unittest.cc demuxer_->Seek(base::TimeDelta::FromMicroseconds(1000000), base 535 media/filters/ffmpeg_demuxer_unittest.cc demuxer_->Seek(base::TimeDelta::FromMicroseconds(1000000), base 594 media/filters/ffmpeg_demuxer_unittest.cc audio->Read(base::Bind(&MockReadCB::Run, base::Unretained(&callback))); base 630 media/filters/ffmpeg_demuxer_unittest.cc audio->Read(base::Bind(&EosOnReadDone, &got_eos_buffer)); base 653 media/filters/ffmpeg_demuxer_unittest.cc demuxer_->Seek(base::TimeDelta::FromMicroseconds(2500000), base 70 media/filters/ffmpeg_glue.cc *lock = new base::Lock(); base 74 media/filters/ffmpeg_glue.cc static_cast<base::Lock*>(*lock)->Acquire(); base 78 media/filters/ffmpeg_glue.cc static_cast<base::Lock*>(*lock)->Release(); base 82 media/filters/ffmpeg_glue.cc delete static_cast<base::Lock*>(*lock); base 95 media/filters/ffmpeg_glue.cc friend struct base::DefaultLazyInstanceTraits<FFmpegInitializer>; base 122 media/filters/ffmpeg_glue.cc static base::LazyInstance<FFmpegInitializer>::Leaky li = base 49 media/filters/ffmpeg_video_decoder.cc if (threads.empty() || !base::StringToInt(threads, &decode_threads)) base 58 media/filters/ffmpeg_video_decoder.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) base 96 media/filters/ffmpeg_video_decoder.cc frame->base[i] = video_frame->data(i); base 156 media/filters/ffmpeg_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kDecodeError, NULL); base 162 media/filters/ffmpeg_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, VideoFrame::CreateEOSFrame()); base 169 media/filters/ffmpeg_video_decoder.cc void FFmpegVideoDecoder::Reset(const base::Closure& closure) { base 239 media/filters/ffmpeg_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kDecodeError, NULL); base 247 media/filters/ffmpeg_video_decoder.cc base::ResetAndReturn(&decode_cb_) base 252 media/filters/ffmpeg_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kNotEnoughData, NULL); base 256 media/filters/ffmpeg_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, video_frame); base 325 media/filters/ffmpeg_video_decoder.cc base::TimeDelta::FromMicroseconds(av_frame_->reordered_opaque)); base 20 media/filters/ffmpeg_video_decoder.h namespace base { base 31 media/filters/ffmpeg_video_decoder.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); base 39 media/filters/ffmpeg_video_decoder.h virtual void Reset(const base::Closure& closure) OVERRIDE; base 69 media/filters/ffmpeg_video_decoder.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 50 media/filters/ffmpeg_video_decoder_unittest.cc decode_cb_(base::Bind(&FFmpegVideoDecoderTest::FrameReady, base 51 media/filters/ffmpeg_video_decoder_unittest.cc base::Unretained(this))) { base 230 media/filters/ffmpeg_video_decoder_unittest.cc base::MessageLoop message_loop_; base 18 media/filters/file_data_source.cc FileDataSource::FileDataSource(base::File file) base 24 media/filters/file_data_source.cc bool FileDataSource::Initialize(const base::FilePath& file_path) { base 29 media/filters/file_data_source.cc void FileDataSource::Stop(const base::Closure& callback) { base 22 media/filters/file_data_source.h explicit FileDataSource(base::File file); base 25 media/filters/file_data_source.h bool Initialize(const base::FilePath& file_path); base 28 media/filters/file_data_source.h virtual void Stop(const base::Closure& callback) OVERRIDE; base 40 media/filters/file_data_source.h base::MemoryMappedFile file_; base 37 media/filters/file_data_source_unittest.cc base::FilePath TestFileURL() { base 38 media/filters/file_data_source_unittest.cc base::FilePath data_dir; base 39 media/filters/file_data_source_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir)); base 61 media/filters/file_data_source_unittest.cc data_source.Read(0, 10, ten_bytes, base::Bind( base 62 media/filters/file_data_source_unittest.cc &ReadCBHandler::ReadCB, base::Unretained(&handler))); base 68 media/filters/file_data_source_unittest.cc data_source.Read(9, 1, ten_bytes, base::Bind( base 69 media/filters/file_data_source_unittest.cc &ReadCBHandler::ReadCB, base::Unretained(&handler))); base 73 media/filters/file_data_source_unittest.cc data_source.Read(10, 10, ten_bytes, base::Bind( base 74 media/filters/file_data_source_unittest.cc &ReadCBHandler::ReadCB, base::Unretained(&handler))); base 77 media/filters/file_data_source_unittest.cc data_source.Read(5, 10, ten_bytes, base::Bind( base 78 media/filters/file_data_source_unittest.cc &ReadCBHandler::ReadCB, base::Unretained(&handler))); base 95 media/filters/frame_processor_base.h base::TimeDelta append_window_start, base 96 media/filters/frame_processor_base.h base::TimeDelta append_window_end, base 98 media/filters/frame_processor_base.h base::TimeDelta* timestamp_offset) = 0; base 17 media/filters/gpu_video_accelerator_factories.h namespace base { base 41 media/filters/gpu_video_accelerator_factories.h : public base::RefCountedThreadSafe<GpuVideoAcceleratorFactories> { base 71 media/filters/gpu_video_accelerator_factories.h virtual base::SharedMemory* CreateSharedMemory(size_t size) = 0; base 74 media/filters/gpu_video_accelerator_factories.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() = 0; base 77 media/filters/gpu_video_accelerator_factories.h friend class base::RefCountedThreadSafe<GpuVideoAcceleratorFactories>; base 38 media/filters/gpu_video_decoder.cc GpuVideoDecoder::SHMBuffer::SHMBuffer(base::SharedMemory* m, size_t s) base 52 media/filters/gpu_video_decoder.cc int32 bbid, base::TimeDelta ts, const gfx::Rect& vr, const gfx::Size& ns) base 74 media/filters/gpu_video_decoder.cc void GpuVideoDecoder::Reset(const base::Closure& closure) { base 79 media/filters/gpu_video_decoder.cc base::MessageLoop::current()->PostTask( base 81 media/filters/gpu_video_decoder.cc base::Bind( base 94 media/filters/gpu_video_decoder.cc base::MessageLoop::current()->PostTask(FROM_HERE, closure); base 114 media/filters/gpu_video_decoder.cc base::ResetAndReturn(&pending_reset_cb_).Run(); base 123 media/filters/gpu_video_decoder.cc base::CPU cpu; base 152 media/filters/gpu_video_decoder.cc base::Bind(&ReportGpuVideoDecoderInitializeStatusToUMAAndRunCB, base 230 media/filters/gpu_video_decoder.cc base::ResetAndReturn(&pending_decode_cb_).Run(kDecodeError, NULL); base 270 media/filters/gpu_video_decoder.cc base::ResetAndReturn(&pending_decode_cb_).Run(kDecodeError, NULL); base 292 media/filters/gpu_video_decoder.cc base::ResetAndReturn(&pending_decode_cb_).Run(kNotEnoughData, NULL); base 315 media/filters/gpu_video_decoder.cc void GpuVideoDecoder::GetBufferData(int32 id, base::TimeDelta* timestamp, base 414 media/filters/gpu_video_decoder.cc base::WaitableEvent* event) { base 424 media/filters/gpu_video_decoder.cc base::WaitableEvent event(true, false); base 426 media/filters/gpu_video_decoder.cc base::Bind(&ReadPixelsSyncInner, base 450 media/filters/gpu_video_decoder.cc base::TimeDelta timestamp; base 460 media/filters/gpu_video_decoder.cc BindToCurrentLoop(base::Bind(&GpuVideoDecoder::ReleaseMailbox, base 469 media/filters/gpu_video_decoder.cc base::Bind(&ReadPixelsSync, factories_, pb.texture_id(), visible_rect))); base 498 media/filters/gpu_video_decoder.cc base::ResetAndReturn(&pending_decode_cb_) base 505 media/filters/gpu_video_decoder.cc base::WeakPtr<GpuVideoDecoder> decoder, base 551 media/filters/gpu_video_decoder.cc base::SharedMemory* shm = factories_->CreateSharedMemory(size_to_allocate); base 584 media/filters/gpu_video_decoder.cc base::ResetAndReturn(&pending_decode_cb_).Run(kNotEnoughData, NULL); base 624 media/filters/gpu_video_decoder.cc base::ResetAndReturn(&pending_reset_cb_).Run(); base 641 media/filters/gpu_video_decoder.cc base::ResetAndReturn(&pending_decode_cb_).Run(kDecodeError, NULL); base 21 media/filters/gpu_video_decoder.h namespace base { base 49 media/filters/gpu_video_decoder.h virtual void Reset(const base::Closure& closure) OVERRIDE; base 79 media/filters/gpu_video_decoder.h SHMBuffer(base::SharedMemory* m, size_t s); base 81 media/filters/gpu_video_decoder.h base::SharedMemory* shm; base 108 media/filters/gpu_video_decoder.h base::WeakPtr<GpuVideoDecoder> decoder, base 118 media/filters/gpu_video_decoder.h void GetBufferData(int32 id, base::TimeDelta* timetamp, base 147 media/filters/gpu_video_decoder.h base::Closure pending_reset_cb_; base 173 media/filters/gpu_video_decoder.h BufferData(int32 bbid, base::TimeDelta ts, const gfx::Rect& visible_rect, base 177 media/filters/gpu_video_decoder.h base::TimeDelta timestamp; base 195 media/filters/gpu_video_decoder.h base::WeakPtrFactory<GpuVideoDecoder> weak_factory_; base 17 media/filters/h264_parser_unittest.cc base::FilePath file_path = GetTestDataFilePath("test-25fps.h264"); base 21 media/filters/h264_parser_unittest.cc base::MemoryMappedFile stream; base 33 media/filters/legacy_frame_processor.cc base::TimeDelta append_window_start, base 34 media/filters/legacy_frame_processor.cc base::TimeDelta append_window_end, base 36 media/filters/legacy_frame_processor.cc base::TimeDelta* timestamp_offset) { base 42 media/filters/legacy_frame_processor.cc base::TimeDelta offset = *timestamp_offset; base 78 media/filters/legacy_frame_processor.cc base::TimeDelta segment_timestamp = kNoTimestamp(); base 132 media/filters/legacy_frame_processor.cc base::TimeDelta timestamp_offset) { base 133 media/filters/legacy_frame_processor.cc if (timestamp_offset == base::TimeDelta()) base 145 media/filters/legacy_frame_processor.cc base::TimeDelta append_window_start, base 146 media/filters/legacy_frame_processor.cc base::TimeDelta append_window_end, base 165 media/filters/legacy_frame_processor.cc base::TimeDelta presentation_timestamp = (*itr)->timestamp(); base 171 media/filters/legacy_frame_processor.cc base::TimeDelta frame_end_timestamp = presentation_timestamp; base 172 media/filters/legacy_frame_processor.cc base::TimeDelta frame_duration = (*itr)->duration(); base 173 media/filters/legacy_frame_processor.cc if (frame_duration > base::TimeDelta()) { base 217 media/filters/legacy_frame_processor.cc base::TimeDelta highest_end_timestamp = stream->GetBufferedDuration(); base 218 media/filters/legacy_frame_processor.cc DCHECK(highest_end_timestamp > base::TimeDelta()); base 226 media/filters/legacy_frame_processor.cc base::TimeDelta append_window_start, base 227 media/filters/legacy_frame_processor.cc base::TimeDelta append_window_end, base 228 media/filters/legacy_frame_processor.cc base::TimeDelta timestamp_offset, base 22 media/filters/legacy_frame_processor.h typedef base::Callback<void(base::TimeDelta)> IncreaseDurationCB; base 32 media/filters/legacy_frame_processor.h base::TimeDelta append_window_start, base 33 media/filters/legacy_frame_processor.h base::TimeDelta append_window_end, base 35 media/filters/legacy_frame_processor.h base::TimeDelta* timestamp_offset) OVERRIDE; base 40 media/filters/legacy_frame_processor.h base::TimeDelta timestamp_offset); base 49 media/filters/legacy_frame_processor.h void FilterWithAppendWindow(base::TimeDelta append_window_start, base 50 media/filters/legacy_frame_processor.h base::TimeDelta append_window_end, base 73 media/filters/legacy_frame_processor.h base::TimeDelta append_window_start, base 74 media/filters/legacy_frame_processor.h base::TimeDelta append_window_end, base 75 media/filters/legacy_frame_processor.h base::TimeDelta timestamp_offset, base 19 media/filters/mock_gpu_video_accelerator_factories.h namespace base { base 46 media/filters/mock_gpu_video_accelerator_factories.h MOCK_METHOD1(CreateSharedMemory, base::SharedMemory*(size_t size)); base 47 media/filters/mock_gpu_video_accelerator_factories.h MOCK_METHOD0(GetTaskRunner, scoped_refptr<base::SingleThreadTaskRunner>()); base 26 media/filters/opus_audio_decoder.cc return base::ByteSwapToLE16(value); base 29 media/filters/opus_audio_decoder.cc static int TimeDeltaToAudioFrames(base::TimeDelta time_delta, base 251 media/filters/opus_audio_decoder.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) base 282 media/filters/opus_audio_decoder.cc void OpusAudioDecoder::Reset(const base::Closure& closure) { base 327 media/filters/opus_audio_decoder.cc base::TimeDelta diff = input->timestamp() - last_input_timestamp_; base 398 media/filters/opus_audio_decoder.cc if (timestamp_offset_ <= base::TimeDelta() || frame_delay_at_start_ < 0) { base 16 media/filters/opus_audio_decoder.h namespace base { base 30 media/filters/opus_audio_decoder.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); base 38 media/filters/opus_audio_decoder.h virtual void Reset(const base::Closure& closure) OVERRIDE; base 53 media/filters/opus_audio_decoder.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 60 media/filters/opus_audio_decoder.h base::TimeDelta last_input_timestamp_; base 73 media/filters/opus_audio_decoder.h base::TimeDelta start_input_timestamp_; base 77 media/filters/opus_audio_decoder.h base::TimeDelta timestamp_offset_; base 27 media/filters/pipeline_integration_perftest.cc base::TimeTicks start = base::TimeTicks::HighResNow(); base 38 media/filters/pipeline_integration_perftest.cc time_seconds += (base::TimeTicks::HighResNow() - start).InSecondsF(); base 109 media/filters/pipeline_integration_test.cc : decryptor_(base::Bind(&FakeEncryptedMedia::OnSessionCreated, base 110 media/filters/pipeline_integration_test.cc base::Unretained(this)), base 111 media/filters/pipeline_integration_test.cc base::Bind(&FakeEncryptedMedia::OnSessionMessage, base 112 media/filters/pipeline_integration_test.cc base::Unretained(this)), base 113 media/filters/pipeline_integration_test.cc base::Bind(&FakeEncryptedMedia::OnSessionReady, base 114 media/filters/pipeline_integration_test.cc base::Unretained(this)), base 115 media/filters/pipeline_integration_test.cc base::Bind(&FakeEncryptedMedia::OnSessionClosed, base 116 media/filters/pipeline_integration_test.cc base::Unretained(this)), base 117 media/filters/pipeline_integration_test.cc base::Bind(&FakeEncryptedMedia::OnSessionError, base 118 media/filters/pipeline_integration_test.cc base::Unretained(this))), base 265 media/filters/pipeline_integration_test.cc base::Bind(&MockMediaSource::DemuxerOpened, base::Unretained(this)), base 266 media/filters/pipeline_integration_test.cc base::Bind(&MockMediaSource::DemuxerNeedKey, base 267 media/filters/pipeline_integration_test.cc base::Unretained(this)), base 290 media/filters/pipeline_integration_test.cc void Seek(base::TimeDelta seek_time, int new_position, int seek_append_size) { base 309 media/filters/pipeline_integration_test.cc base::TimeDelta timestamp_offset; base 312 media/filters/pipeline_integration_test.cc base::TimeDelta(), kInfiniteDuration(), ×tamp_offset); base 317 media/filters/pipeline_integration_test.cc void AppendAtTime(base::TimeDelta timestamp_offset, base 322 media/filters/pipeline_integration_test.cc base::TimeDelta(), kInfiniteDuration(), base 339 media/filters/pipeline_integration_test.cc base::MessageLoop::current()->PostTask( base 340 media/filters/pipeline_integration_test.cc FROM_HERE, base::Bind(&MockMediaSource::DemuxerOpenedTask, base 341 media/filters/pipeline_integration_test.cc base::Unretained(this))); base 383 media/filters/pipeline_integration_test.cc base::TimeDelta last_timestamp_offset() const { base 388 media/filters/pipeline_integration_test.cc base::FilePath file_path_; base 396 media/filters/pipeline_integration_test.cc base::TimeDelta last_timestamp_offset_; base 416 media/filters/pipeline_integration_test.cc base::Bind(&PipelineIntegrationTest::OnEnded, base::Unretained(this)), base 417 media/filters/pipeline_integration_test.cc base::Bind(&PipelineIntegrationTest::OnError, base::Unretained(this)), base 419 media/filters/pipeline_integration_test.cc base::Bind(&PipelineIntegrationTest::OnMetadata, base 420 media/filters/pipeline_integration_test.cc base::Unretained(this)), base 421 media/filters/pipeline_integration_test.cc base::Bind(&PipelineIntegrationTest::OnPrerollCompleted, base 422 media/filters/pipeline_integration_test.cc base::Unretained(this)), base 423 media/filters/pipeline_integration_test.cc base::Closure()); base 441 media/filters/pipeline_integration_test.cc base::Bind(&PipelineIntegrationTest::OnEnded, base::Unretained(this)), base 442 media/filters/pipeline_integration_test.cc base::Bind(&PipelineIntegrationTest::OnError, base::Unretained(this)), base 444 media/filters/pipeline_integration_test.cc base::Bind(&PipelineIntegrationTest::OnMetadata, base 445 media/filters/pipeline_integration_test.cc base::Unretained(this)), base 446 media/filters/pipeline_integration_test.cc base::Bind(&PipelineIntegrationTest::OnPrerollCompleted, base 447 media/filters/pipeline_integration_test.cc base::Unretained(this)), base 448 media/filters/pipeline_integration_test.cc base::Closure()); base 450 media/filters/pipeline_integration_test.cc source->set_need_key_cb(base::Bind(&FakeEncryptedMedia::NeedKey, base 451 media/filters/pipeline_integration_test.cc base::Unretained(encrypted_media))); base 462 media/filters/pipeline_integration_test.cc base::TimeDelta start_seek_time, base 463 media/filters/pipeline_integration_test.cc base::TimeDelta seek_time, base 520 media/filters/pipeline_integration_test.cc set_need_key_cb(base::Bind(&FakeEncryptedMedia::NeedKey, base 521 media/filters/pipeline_integration_test.cc base::Unretained(&encrypted_media))); base 623 media/filters/pipeline_integration_test.cc base::TimeDelta start_seek_time = base::TimeDelta::FromMilliseconds(1000); base 624 media/filters/pipeline_integration_test.cc base::TimeDelta seek_time = base::TimeDelta::FromMilliseconds(2000); base 648 media/filters/pipeline_integration_test.cc source.AppendAtTime(base::TimeDelta::FromSeconds(kAppendTimeSec), base 674 media/filters/pipeline_integration_test.cc source.AppendAtTime(base::TimeDelta::FromSeconds(kAppendTimeSec), base 705 media/filters/pipeline_integration_test.cc source.AppendAtTime(base::TimeDelta::FromSeconds(kAppendTimeSec), base 736 media/filters/pipeline_integration_test.cc source.AppendAtTime(base::TimeDelta::FromSeconds(kAppendTimeSec), base 778 media/filters/pipeline_integration_test.cc source.last_timestamp_offset() - base::TimeDelta::FromMilliseconds(10), base 814 media/filters/pipeline_integration_test.cc source.last_timestamp_offset() - base::TimeDelta::FromMilliseconds(10), base 847 media/filters/pipeline_integration_test.cc source.AppendAtTime(base::TimeDelta::FromSeconds(kAppendTimeSec), base 874 media/filters/pipeline_integration_test.cc source.AppendAtTime(base::TimeDelta::FromSeconds(kAppendTimeSec), base 903 media/filters/pipeline_integration_test.cc source.AppendAtTime(base::TimeDelta::FromSeconds(kAppendTimeSec), base 934 media/filters/pipeline_integration_test.cc source.AppendAtTime(base::TimeDelta::FromSeconds(kAppendTimeSec), base 1107 media/filters/pipeline_integration_test.cc base::TimeDelta duration(pipeline_->GetMediaDuration()); base 1108 media/filters/pipeline_integration_test.cc base::TimeDelta start_seek_time(duration / 4); base 1109 media/filters/pipeline_integration_test.cc base::TimeDelta seek_time(duration * 3 / 4); base 1131 media/filters/pipeline_integration_test.cc base::TimeDelta duration(pipeline_->GetMediaDuration()); base 1132 media/filters/pipeline_integration_test.cc base::TimeDelta start_seek_time(duration / 4); base 1133 media/filters/pipeline_integration_test.cc base::TimeDelta seek_time(duration * 3 / 4); base 1151 media/filters/pipeline_integration_test.cc base::TimeDelta::FromMilliseconds(464), base 1152 media/filters/pipeline_integration_test.cc base::TimeDelta::FromMilliseconds(617), base 1160 media/filters/pipeline_integration_test.cc base::TimeDelta::FromMilliseconds(167), base 1161 media/filters/pipeline_integration_test.cc base::TimeDelta::FromMilliseconds(1668), base 38 media/filters/pipeline_integration_test_base.cc base::MD5Init(&md5_context_); base 52 media/filters/pipeline_integration_test_base.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 64 media/filters/pipeline_integration_test_base.cc return base::Bind(&PipelineIntegrationTestBase::OnStatusCallbackChecked, base 65 media/filters/pipeline_integration_test_base.cc base::Unretained(this), base 81 media/filters/pipeline_integration_test_base.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 102 media/filters/pipeline_integration_test_base.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 105 media/filters/pipeline_integration_test_base.cc bool PipelineIntegrationTestBase::Start(const base::FilePath& file_path, base 111 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnEnded, base::Unretained(this)), base 112 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnError, base::Unretained(this)), base 114 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnMetadata, base 115 media/filters/pipeline_integration_test_base.cc base::Unretained(this)), base 116 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnPrerollCompleted, base 117 media/filters/pipeline_integration_test_base.cc base::Unretained(this)), base 118 media/filters/pipeline_integration_test_base.cc base::Closure()); base 123 media/filters/pipeline_integration_test_base.cc bool PipelineIntegrationTestBase::Start(const base::FilePath& file_path, base 134 media/filters/pipeline_integration_test_base.cc bool PipelineIntegrationTestBase::Start(const base::FilePath& file_path) { base 138 media/filters/pipeline_integration_test_base.cc bool PipelineIntegrationTestBase::Start(const base::FilePath& file_path, base 144 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnEnded, base::Unretained(this)), base 145 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnError, base::Unretained(this)), base 146 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnStatusCallback, base 147 media/filters/pipeline_integration_test_base.cc base::Unretained(this)), base 148 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnMetadata, base 149 media/filters/pipeline_integration_test_base.cc base::Unretained(this)), base 150 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnPrerollCompleted, base 151 media/filters/pipeline_integration_test_base.cc base::Unretained(this)), base 152 media/filters/pipeline_integration_test_base.cc base::Closure()); base 165 media/filters/pipeline_integration_test_base.cc bool PipelineIntegrationTestBase::Seek(base::TimeDelta seek_time) { base 176 media/filters/pipeline_integration_test_base.cc pipeline_->Stop(base::MessageLoop::QuitClosure()); base 181 media/filters/pipeline_integration_test_base.cc const base::TimeDelta& quit_time) { base 190 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::QuitAfterCurrentTimeTask, base 191 media/filters/pipeline_integration_test_base.cc base::Unretained(this), quit_time), base 192 media/filters/pipeline_integration_test_base.cc base::TimeDelta::FromMilliseconds(10)); base 196 media/filters/pipeline_integration_test_base.cc const base::TimeDelta& wait_time) { base 203 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::QuitAfterCurrentTimeTask, base 204 media/filters/pipeline_integration_test_base.cc base::Unretained(this), base 206 media/filters/pipeline_integration_test_base.cc base::TimeDelta::FromMilliseconds(10)); base 213 media/filters/pipeline_integration_test_base.cc const base::FilePath& file_path, base 219 media/filters/pipeline_integration_test_base.cc Demuxer::NeedKeyCB need_key_cb = base::Bind( base 220 media/filters/pipeline_integration_test_base.cc &PipelineIntegrationTestBase::DemuxerNeedKeyCB, base::Unretained(this)); base 248 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::SetDecryptor, base 249 media/filters/pipeline_integration_test_base.cc base::Unretained(this), base 251 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnVideoRendererPaint, base 252 media/filters/pipeline_integration_test_base.cc base::Unretained(this)), base 253 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::OnSetOpaque, base 254 media/filters/pipeline_integration_test_base.cc base::Unretained(this)), base 283 media/filters/pipeline_integration_test_base.cc base::Bind(&PipelineIntegrationTestBase::SetDecryptor, base 284 media/filters/pipeline_integration_test_base.cc base::Unretained(this), base 314 media/filters/pipeline_integration_test_base.cc base::MD5Digest digest; base 315 media/filters/pipeline_integration_test_base.cc base::MD5Final(&digest, &md5_context_); base 316 media/filters/pipeline_integration_test_base.cc return base::MD5DigestToBase16(digest); base 324 media/filters/pipeline_integration_test_base.cc base::TimeDelta PipelineIntegrationTestBase::GetAudioTime() { base 329 media/filters/pipeline_integration_test_base.cc base::TimeTicks DummyTickClock::NowTicks() { base 330 media/filters/pipeline_integration_test_base.cc now_ += base::TimeDelta::FromSeconds(60); base 21 media/filters/pipeline_integration_test_base.h namespace base { base 37 media/filters/pipeline_integration_test_base.h class DummyTickClock : public base::TickClock { base 41 media/filters/pipeline_integration_test_base.h virtual base::TimeTicks NowTicks() OVERRIDE; base 43 media/filters/pipeline_integration_test_base.h base::TimeTicks now_; base 62 media/filters/pipeline_integration_test_base.h bool Start(const base::FilePath& file_path, PipelineStatus expected_status); base 67 media/filters/pipeline_integration_test_base.h bool Start(const base::FilePath& file_path, base 72 media/filters/pipeline_integration_test_base.h bool Start(const base::FilePath& file_path); base 73 media/filters/pipeline_integration_test_base.h bool Start(const base::FilePath& file_path, Decryptor* decryptor); base 77 media/filters/pipeline_integration_test_base.h bool Seek(base::TimeDelta seek_time); base 79 media/filters/pipeline_integration_test_base.h bool WaitUntilCurrentTimeIsAfter(const base::TimeDelta& wait_time); base 81 media/filters/pipeline_integration_test_base.h const base::FilePath& file_path, Decryptor* decryptor); base 96 media/filters/pipeline_integration_test_base.h base::TimeDelta GetAudioTime(); base 99 media/filters/pipeline_integration_test_base.h base::MessageLoop message_loop_; base 100 media/filters/pipeline_integration_test_base.h base::MD5Context md5_context_; base 127 media/filters/pipeline_integration_test_base.h void QuitAfterCurrentTimeTask(const base::TimeDelta& quit_time); base 39 media/filters/skcanvas_video_renderer.h base::TimeDelta last_frame_timestamp_; base 102 media/filters/skcanvas_video_renderer_unittest.cc base::TimeDelta::FromMilliseconds(4))), base 106 media/filters/skcanvas_video_renderer_unittest.cc natural_frame_->SetTimestamp(base::TimeDelta::FromMilliseconds(1)); base 107 media/filters/skcanvas_video_renderer_unittest.cc larger_frame_->SetTimestamp(base::TimeDelta::FromMilliseconds(2)); base 108 media/filters/skcanvas_video_renderer_unittest.cc smaller_frame_->SetTimestamp(base::TimeDelta::FromMilliseconds(3)); base 51 media/filters/source_buffer_stream.cc typedef base::Callback<base::TimeDelta()> InterbufferDistanceCB; base 59 media/filters/source_buffer_stream.cc base::TimeDelta media_segment_start_time, base 79 media/filters/source_buffer_stream.cc void Seek(base::TimeDelta timestamp); base 83 media/filters/source_buffer_stream.cc void SeekAheadTo(base::TimeDelta timestamp); base 87 media/filters/source_buffer_stream.cc void SeekAheadPast(base::TimeDelta timestamp); base 98 media/filters/source_buffer_stream.cc SourceBufferRange* SplitRange(base::TimeDelta timestamp, bool is_exclusive); base 109 media/filters/source_buffer_stream.cc bool TruncateAt(base::TimeDelta timestamp, base 126 media/filters/source_buffer_stream.cc base::TimeDelta start_timestamp, base::TimeDelta end_timestamp, base 127 media/filters/source_buffer_stream.cc int bytes_to_free, base::TimeDelta* end_removal_timestamp); base 156 media/filters/source_buffer_stream.cc base::TimeDelta GetNextTimestamp() const; base 159 media/filters/source_buffer_stream.cc base::TimeDelta GetStartTimestamp() const; base 162 media/filters/source_buffer_stream.cc base::TimeDelta GetEndTimestamp() const; base 167 media/filters/source_buffer_stream.cc base::TimeDelta GetBufferedEndTimestamp() const; base 172 media/filters/source_buffer_stream.cc base::TimeDelta NextKeyframeTimestamp(base::TimeDelta timestamp); base 177 media/filters/source_buffer_stream.cc base::TimeDelta KeyframeBeforeTimestamp(base::TimeDelta timestamp); base 182 media/filters/source_buffer_stream.cc bool BelongsToRange(base::TimeDelta timestamp) const; base 186 media/filters/source_buffer_stream.cc bool CanSeekTo(base::TimeDelta timestamp) const; base 198 media/filters/source_buffer_stream.cc bool IsNextInSequence(base::TimeDelta timestamp, bool is_keyframe) const; base 202 media/filters/source_buffer_stream.cc bool GetBuffersInRange(base::TimeDelta start, base::TimeDelta end, base 208 media/filters/source_buffer_stream.cc typedef std::map<base::TimeDelta, int> KeyframeMap; base 213 media/filters/source_buffer_stream.cc void SeekAhead(base::TimeDelta timestamp, bool skip_given_timestamp); base 219 media/filters/source_buffer_stream.cc base::TimeDelta timestamp, bool skip_given_timestamp); base 225 media/filters/source_buffer_stream.cc base::TimeDelta timestamp, bool skip_given_timestamp); base 229 media/filters/source_buffer_stream.cc KeyframeMap::iterator GetFirstKeyframeBefore(base::TimeDelta timestamp); base 245 media/filters/source_buffer_stream.cc base::TimeDelta GetFudgeRoom() const; base 248 media/filters/source_buffer_stream.cc base::TimeDelta GetApproximateDuration() const; base 276 media/filters/source_buffer_stream.cc base::TimeDelta media_segment_start_time_; base 293 media/filters/source_buffer_stream.cc base::TimeDelta prev = media::kNoTimestamp(); base 305 media/filters/source_buffer_stream.cc const base::TimeDelta& decode_timestamp, base 311 media/filters/source_buffer_stream.cc const base::TimeDelta& decode_timestamp) { base 318 media/filters/source_buffer_stream.cc static base::TimeDelta ComputeFudgeRoom(base::TimeDelta approximate_duration) { base 331 media/filters/source_buffer_stream.cc static base::TimeDelta kSeekToStartFudgeRoom() { base 332 media/filters/source_buffer_stream.cc return base::TimeDelta::FromMilliseconds(1000); base 423 media/filters/source_buffer_stream.cc base::TimeDelta media_segment_start_time) { base 462 media/filters/source_buffer_stream.cc if (media_segment_start_time_ < base::TimeDelta() || base 463 media/filters/source_buffer_stream.cc buffers.front()->GetDecodeTimestamp() < base::TimeDelta()) { base 481 media/filters/source_buffer_stream.cc base::TimeDelta next_buffer_timestamp = GetNextBufferTimestamp(); base 493 media/filters/source_buffer_stream.cc base::TimeDelta new_range_start_time = media_segment_start_time_; base 527 media/filters/source_buffer_stream.cc base::Bind(&SourceBufferStream::GetMaxInterbufferDistance, base 528 media/filters/source_buffer_stream.cc base::Unretained(this)))); base 547 media/filters/source_buffer_stream.cc base::TimeDelta start_of_deleted = base 563 media/filters/source_buffer_stream.cc base::TimeDelta keyframe_timestamp = base 578 media/filters/source_buffer_stream.cc void SourceBufferStream::Remove(base::TimeDelta start, base::TimeDelta end, base 579 media/filters/source_buffer_stream.cc base::TimeDelta duration) { base 583 media/filters/source_buffer_stream.cc DCHECK(start >= base::TimeDelta()) << start.InSecondsF(); base 588 media/filters/source_buffer_stream.cc base::TimeDelta remove_end_timestamp = duration; base 589 media/filters/source_buffer_stream.cc base::TimeDelta keyframe_timestamp = FindKeyframeAfterTimestamp(end); base 604 media/filters/source_buffer_stream.cc base::TimeDelta start, base::TimeDelta end, bool is_exclusive, base 610 media/filters/source_buffer_stream.cc DCHECK(start >= base::TimeDelta()); base 664 media/filters/source_buffer_stream.cc base::TimeDelta potential_next_append_timestamp = base 666 media/filters/source_buffer_stream.cc base::TimeDelta::FromInternalValue(1); base 695 media/filters/source_buffer_stream.cc base::TimeDelta seek_timestamp) const { base 698 media/filters/source_buffer_stream.cc base::TimeDelta beginning_of_buffered = base 707 media/filters/source_buffer_stream.cc base::TimeDelta prev_timestamp = last_appended_buffer_timestamp_; base 711 media/filters/source_buffer_stream.cc base::TimeDelta current_timestamp = (*itr)->GetDecodeTimestamp(); base 738 media/filters/source_buffer_stream.cc base::TimeDelta next_timestamp, bool next_is_keyframe) const { base 758 media/filters/source_buffer_stream.cc base::TimeDelta prev_timestamp = last_appended_buffer_timestamp_; base 761 media/filters/source_buffer_stream.cc base::TimeDelta current_timestamp = (*itr)->GetDecodeTimestamp(); base 765 media/filters/source_buffer_stream.cc base::TimeDelta interbuffer_distance = current_timestamp - prev_timestamp; base 809 media/filters/source_buffer_stream.cc base::TimeDelta next_buffer_timestamp = GetNextBufferTimestamp(); base 816 media/filters/source_buffer_stream.cc base::TimeDelta remove_range_start = last_appended_buffer_timestamp_; base 820 media/filters/source_buffer_stream.cc base::TimeDelta remove_range_start_keyframe = FindKeyframeAfterTimestamp( base 827 media/filters/source_buffer_stream.cc base::TimeDelta remove_range_end; base 837 media/filters/source_buffer_stream.cc base::TimeDelta start_timestamp, base::TimeDelta end_timestamp, base 838 media/filters/source_buffer_stream.cc int total_bytes_to_free, base::TimeDelta* removal_end_timestamp) { base 839 media/filters/source_buffer_stream.cc DCHECK(start_timestamp >= base::TimeDelta()) << start_timestamp.InSecondsF(); base 899 media/filters/source_buffer_stream.cc base::TimeDelta end_timestamp = buffers.back()->GetDecodeTimestamp(); base 906 media/filters/source_buffer_stream.cc base::Bind(&SourceBufferStream::GetMaxInterbufferDistance, base 907 media/filters/source_buffer_stream.cc base::Unretained(this))); base 949 media/filters/source_buffer_stream.cc base::TimeDelta tb_timestamp = track_buffer_.back()->GetDecodeTimestamp(); base 950 media/filters/source_buffer_stream.cc base::TimeDelta seek_timestamp = FindKeyframeAfterTimestamp(tb_timestamp); base 976 media/filters/source_buffer_stream.cc base::TimeDelta prev_timestamp = last_appended_buffer_timestamp_; base 978 media/filters/source_buffer_stream.cc base::TimeDelta next_timestamp = new_buffers.front()->GetDecodeTimestamp(); base 995 media/filters/source_buffer_stream.cc base::TimeDelta start = new_buffers.front()->GetDecodeTimestamp(); base 996 media/filters/source_buffer_stream.cc base::TimeDelta end = new_buffers.back()->GetDecodeTimestamp(); base 997 media/filters/source_buffer_stream.cc base::TimeDelta duration = new_buffers.back()->duration(); base 999 media/filters/source_buffer_stream.cc if (duration != kNoTimestamp() && duration > base::TimeDelta()) { base 1005 media/filters/source_buffer_stream.cc end += base::TimeDelta::FromInternalValue(1); base 1016 media/filters/source_buffer_stream.cc base::TimeDelta first_timestamp, base::TimeDelta second_timestamp) const { base 1022 media/filters/source_buffer_stream.cc void SourceBufferStream::PruneTrackBuffer(const base::TimeDelta timestamp) { base 1060 media/filters/source_buffer_stream.cc void SourceBufferStream::Seek(base::TimeDelta timestamp) { base 1061 media/filters/source_buffer_stream.cc DCHECK(timestamp >= base::TimeDelta()); base 1091 media/filters/source_buffer_stream.cc void SourceBufferStream::OnSetDuration(base::TimeDelta duration) { base 1223 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferStream::GetNextBufferTimestamp() { base 1234 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferStream::GetEndBufferTimestamp() { base 1241 media/filters/source_buffer_stream.cc SourceBufferStream::FindExistingRangeFor(base::TimeDelta start_timestamp) { base 1251 media/filters/source_buffer_stream.cc base::TimeDelta start_timestamp = new_range->GetStartTimestamp(); base 1273 media/filters/source_buffer_stream.cc SourceBufferRange* range, base::TimeDelta seek_timestamp) { base 1287 media/filters/source_buffer_stream.cc Ranges<base::TimeDelta> SourceBufferStream::GetBufferedTime() const { base 1288 media/filters/source_buffer_stream.cc Ranges<base::TimeDelta> ranges; base 1296 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferStream::GetBufferedDuration() const { base 1298 media/filters/source_buffer_stream.cc return base::TimeDelta(); base 1339 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferStream::GetMaxInterbufferDistance() const { base 1341 media/filters/source_buffer_stream.cc return base::TimeDelta::FromMilliseconds(kDefaultBufferDurationInMs); base 1431 media/filters/source_buffer_stream.cc const base::TimeDelta timestamp) { base 1444 media/filters/source_buffer_stream.cc base::TimeDelta start_timestamp = timestamp; base 1453 media/filters/source_buffer_stream.cc base::TimeDelta::FromInternalValue(1); base 1456 media/filters/source_buffer_stream.cc base::TimeDelta seek_timestamp = base 1468 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferStream::FindNewSelectedRangeSeekTimestamp( base 1469 media/filters/source_buffer_stream.cc const base::TimeDelta start_timestamp) { base 1471 media/filters/source_buffer_stream.cc DCHECK(start_timestamp >= base::TimeDelta()); base 1486 media/filters/source_buffer_stream.cc base::TimeDelta keyframe_timestamp = base 1494 media/filters/source_buffer_stream.cc base::TimeDelta end_timestamp = base 1537 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferStream::FindKeyframeAfterTimestamp( base 1538 media/filters/source_buffer_stream.cc const base::TimeDelta timestamp) { base 1599 media/filters/source_buffer_stream.cc const base::TimeDelta splice_timestamp = new_buffers.front()->timestamp(); base 1604 media/filters/source_buffer_stream.cc const base::TimeDelta max_splice_end_timestamp = base 1605 media/filters/source_buffer_stream.cc splice_timestamp + base::TimeDelta::FromMilliseconds( base 1659 media/filters/source_buffer_stream.cc base::TimeDelta media_segment_start_time, base 1689 media/filters/source_buffer_stream.cc void SourceBufferRange::Seek(base::TimeDelta timestamp) { base 1698 media/filters/source_buffer_stream.cc void SourceBufferRange::SeekAheadTo(base::TimeDelta timestamp) { base 1702 media/filters/source_buffer_stream.cc void SourceBufferRange::SeekAheadPast(base::TimeDelta timestamp) { base 1706 media/filters/source_buffer_stream.cc void SourceBufferRange::SeekAhead(base::TimeDelta timestamp, base 1729 media/filters/source_buffer_stream.cc base::TimeDelta timestamp, bool is_exclusive) { base 1765 media/filters/source_buffer_stream.cc base::TimeDelta timestamp, base 1779 media/filters/source_buffer_stream.cc SourceBufferRange::GetFirstKeyframeAt(base::TimeDelta timestamp, base 1787 media/filters/source_buffer_stream.cc SourceBufferRange::GetFirstKeyframeBefore(base::TimeDelta timestamp) { base 1804 media/filters/source_buffer_stream.cc base::TimeDelta timestamp, BufferQueue* removed_buffers, base 1888 media/filters/source_buffer_stream.cc base::TimeDelta start_timestamp, base::TimeDelta end_timestamp, base 1889 media/filters/source_buffer_stream.cc int total_bytes_to_free, base::TimeDelta* removal_end_timestamp) { base 1976 media/filters/source_buffer_stream.cc base::TimeDelta next_buffer_timestamp = GetNextTimestamp(); base 2022 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferRange::GetNextTimestamp() const { base 2064 media/filters/source_buffer_stream.cc bool SourceBufferRange::BelongsToRange(base::TimeDelta timestamp) const { base 2071 media/filters/source_buffer_stream.cc bool SourceBufferRange::CanSeekTo(base::TimeDelta timestamp) const { base 2072 media/filters/source_buffer_stream.cc base::TimeDelta start_timestamp = base 2073 media/filters/source_buffer_stream.cc std::max(base::TimeDelta(), GetStartTimestamp() - GetFudgeRoom()); base 2089 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferRange::GetStartTimestamp() const { base 2091 media/filters/source_buffer_stream.cc base::TimeDelta start_timestamp = media_segment_start_time_; base 2097 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferRange::GetEndTimestamp() const { base 2102 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferRange::GetBufferedEndTimestamp() const { base 2104 media/filters/source_buffer_stream.cc base::TimeDelta duration = buffers_.back()->duration(); base 2105 media/filters/source_buffer_stream.cc if (duration == kNoTimestamp() || duration == base::TimeDelta()) base 2110 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferRange::NextKeyframeTimestamp( base 2111 media/filters/source_buffer_stream.cc base::TimeDelta timestamp) { base 2123 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferRange::KeyframeBeforeTimestamp( base 2124 media/filters/source_buffer_stream.cc base::TimeDelta timestamp) { base 2134 media/filters/source_buffer_stream.cc base::TimeDelta timestamp, bool is_keyframe) const { base 2135 media/filters/source_buffer_stream.cc base::TimeDelta end = buffers_.back()->GetDecodeTimestamp(); base 2146 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferRange::GetFudgeRoom() const { base 2150 media/filters/source_buffer_stream.cc base::TimeDelta SourceBufferRange::GetApproximateDuration() const { base 2151 media/filters/source_buffer_stream.cc base::TimeDelta max_interbuffer_distance = interbuffer_distance_cb_.Run(); base 2156 media/filters/source_buffer_stream.cc bool SourceBufferRange::GetBuffersInRange(base::TimeDelta start, base 2157 media/filters/source_buffer_stream.cc base::TimeDelta end, base 2160 media/filters/source_buffer_stream.cc const base::TimeDelta first_timestamp = KeyframeBeforeTimestamp(start); base 2172 media/filters/source_buffer_stream.cc buffer->duration() <= base::TimeDelta()) { base 69 media/filters/source_buffer_stream.h void OnNewMediaSegment(base::TimeDelta media_segment_start_time); base 86 media/filters/source_buffer_stream.h void Remove(base::TimeDelta start, base::TimeDelta end, base 87 media/filters/source_buffer_stream.h base::TimeDelta duration); base 91 media/filters/source_buffer_stream.h void Seek(base::TimeDelta timestamp); base 99 media/filters/source_buffer_stream.h void OnSetDuration(base::TimeDelta duration); base 112 media/filters/source_buffer_stream.h Ranges<base::TimeDelta> GetBufferedTime() const; base 117 media/filters/source_buffer_stream.h base::TimeDelta GetBufferedDuration() const; base 140 media/filters/source_buffer_stream.h base::TimeDelta GetMaxInterbufferDistance() const; base 170 media/filters/source_buffer_stream.h int GetRemovalRange(base::TimeDelta start_timestamp, base 171 media/filters/source_buffer_stream.h base::TimeDelta end_timestamp, int byte_to_free, base 172 media/filters/source_buffer_stream.h base::TimeDelta* removal_end_timestamp); base 184 media/filters/source_buffer_stream.h void PruneTrackBuffer(const base::TimeDelta timestamp); base 194 media/filters/source_buffer_stream.h base::TimeDelta first_timestamp, base::TimeDelta second_timestamp) const; base 199 media/filters/source_buffer_stream.h base::TimeDelta GetNextBufferTimestamp(); base 203 media/filters/source_buffer_stream.h base::TimeDelta GetEndBufferTimestamp(); base 208 media/filters/source_buffer_stream.h RangeList::iterator FindExistingRangeFor(base::TimeDelta start_timestamp); base 225 media/filters/source_buffer_stream.h base::TimeDelta seek_timestamp); base 232 media/filters/source_buffer_stream.h bool ShouldSeekToStartOfBuffered(base::TimeDelta seek_timestamp) const; base 240 media/filters/source_buffer_stream.h bool IsNextTimestampValid(base::TimeDelta next_timestamp, base 263 media/filters/source_buffer_stream.h void SetSelectedRangeIfNeeded(const base::TimeDelta timestamp); base 269 media/filters/source_buffer_stream.h base::TimeDelta FindNewSelectedRangeSeekTimestamp( base 270 media/filters/source_buffer_stream.h const base::TimeDelta start_timestamp); base 275 media/filters/source_buffer_stream.h base::TimeDelta FindKeyframeAfterTimestamp(const base::TimeDelta timestamp); base 300 media/filters/source_buffer_stream.h base::TimeDelta start, base::TimeDelta end, bool is_exclusive, base 350 media/filters/source_buffer_stream.h base::TimeDelta seek_buffer_timestamp_; base 362 media/filters/source_buffer_stream.h base::TimeDelta media_segment_start_time_; base 372 media/filters/source_buffer_stream.h base::TimeDelta last_appended_buffer_timestamp_; base 378 media/filters/source_buffer_stream.h base::TimeDelta last_output_buffer_timestamp_; base 381 media/filters/source_buffer_stream.h base::TimeDelta max_interbuffer_distance_; base 76 media/filters/source_buffer_stream_unittest.cc base::TimeDelta(), true, &kDataA, kDataSize); base 82 media/filters/source_buffer_stream_unittest.cc base::TimeDelta(), true, data, kDataSize); base 87 media/filters/source_buffer_stream_unittest.cc base::TimeDelta first_buffer_offset) { base 95 media/filters/source_buffer_stream_unittest.cc base::TimeDelta(), false, &kDataA, kDataSize); base 100 media/filters/source_buffer_stream_unittest.cc base::TimeDelta(), true, &kDataA, kDataSize); base 106 media/filters/source_buffer_stream_unittest.cc base::TimeDelta(), true, data, kDataSize); base 113 media/filters/source_buffer_stream_unittest.cc void NewSegmentAppend(base::TimeDelta start_timestamp, base 142 media/filters/source_buffer_stream_unittest.cc void SeekToTimestamp(base::TimeDelta timestamp) { base 147 media/filters/source_buffer_stream_unittest.cc Remove(base::TimeDelta::FromMilliseconds(start), base 148 media/filters/source_buffer_stream_unittest.cc base::TimeDelta::FromMilliseconds(end), base 149 media/filters/source_buffer_stream_unittest.cc base::TimeDelta::FromMilliseconds(duration)); base 152 media/filters/source_buffer_stream_unittest.cc void Remove(base::TimeDelta start, base::TimeDelta end, base 153 media/filters/source_buffer_stream_unittest.cc base::TimeDelta duration) { base 159 media/filters/source_buffer_stream_unittest.cc base::TimeDelta removal_end_timestamp = base 160 media/filters/source_buffer_stream_unittest.cc base::TimeDelta::FromMilliseconds(*removal_end); base 162 media/filters/source_buffer_stream_unittest.cc base::TimeDelta::FromMilliseconds(start), base 163 media/filters/source_buffer_stream_unittest.cc base::TimeDelta::FromMilliseconds(end), bytes_to_free, base 170 media/filters/source_buffer_stream_unittest.cc Ranges<base::TimeDelta> r = stream_->GetBufferedTime(); base 184 media/filters/source_buffer_stream_unittest.cc Ranges<base::TimeDelta> r = stream_->GetBufferedTime(); base 254 media/filters/source_buffer_stream_unittest.cc base::SplitString(expected, ' ', ×tamps); base 308 media/filters/source_buffer_stream_unittest.cc return base::Bind(&SourceBufferStreamTest::DebugMediaLog, base 309 media/filters/source_buffer_stream_unittest.cc base::Unretained(this)); base 312 media/filters/source_buffer_stream_unittest.cc base::TimeDelta frame_duration() const { return frame_duration_; } base 318 media/filters/source_buffer_stream_unittest.cc base::TimeDelta ConvertToFrameDuration(int frames_per_second) { base 319 media/filters/source_buffer_stream_unittest.cc return base::TimeDelta::FromMicroseconds( base 320 media/filters/source_buffer_stream_unittest.cc base::Time::kMicrosecondsPerSecond / frames_per_second); base 326 media/filters/source_buffer_stream_unittest.cc base::TimeDelta first_buffer_offset, base 343 media/filters/source_buffer_stream_unittest.cc base::TimeDelta timestamp = frame_duration_ * position; base 352 media/filters/source_buffer_stream_unittest.cc base::TimeDelta presentation_timestamp; base 389 media/filters/source_buffer_stream_unittest.cc base::SplitString(buffers_to_append, ' ', ×tamps); base 428 media/filters/source_buffer_stream_unittest.cc CHECK(base::StringToInt(timestamps[i], &time_in_ms)); base 434 media/filters/source_buffer_stream_unittest.cc base::TimeDelta timestamp = base 435 media/filters/source_buffer_stream_unittest.cc base::TimeDelta::FromMilliseconds(time_in_ms); base 467 media/filters/source_buffer_stream_unittest.cc base::TimeDelta segment_start_timestamp, base 473 media/filters/source_buffer_stream_unittest.cc base::TimeDelta start_timestamp = segment_start_timestamp; base 501 media/filters/source_buffer_stream_unittest.cc base::TimeDelta frame_duration_; base 621 media/filters/source_buffer_stream_unittest.cc NewSegmentAppend(base::TimeDelta::FromMilliseconds(0), "30K 60K 90K 120K"); base 633 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(20)); base 711 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(0)); base 1483 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(130)); base 1492 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(0)); base 1509 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(0)); base 1521 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(70)); base 1534 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(0)); base 1551 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(70)); base 1581 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(70)); base 1617 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(70)); base 1647 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(70)); base 1679 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(70)); base 1697 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(0)); base 1749 media/filters/source_buffer_stream_unittest.cc base::TimeDelta bump = frame_duration() / 4; base 1750 media/filters/source_buffer_stream_unittest.cc CHECK(bump > base::TimeDelta()); base 1788 media/filters/source_buffer_stream_unittest.cc base::TimeDelta bump = frame_duration() / 4; base 1789 media/filters/source_buffer_stream_unittest.cc CHECK(bump > base::TimeDelta()); base 2164 media/filters/source_buffer_stream_unittest.cc base::TimeDelta last_keyframe_presentation_timestamp; base 2165 media/filters/source_buffer_stream_unittest.cc base::TimeDelta last_p_frame_presentation_timestamp; base 2336 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(580)); base 2354 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(580)); base 2497 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(290)); base 2538 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(80)); base 2563 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(90)); base 2573 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(0)); base 2578 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(90)); base 2596 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(270)); base 2624 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(0)); base 3045 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(0)); base 3053 media/filters/source_buffer_stream_unittest.cc stream_->OnSetDuration(base::TimeDelta::FromMilliseconds(60)); base 3072 media/filters/source_buffer_stream_unittest.cc NewSegmentAppend(base::TimeDelta::FromMilliseconds(200), base 3079 media/filters/source_buffer_stream_unittest.cc stream_->OnSetDuration(base::TimeDelta::FromMilliseconds(120)); base 3090 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(0)); base 3296 media/filters/source_buffer_stream_unittest.cc Remove(base::TimeDelta(), kInfiniteDuration(), kInfiniteDuration()); base 3417 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(150)); base 3444 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(240)); base 3450 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(90)); base 3550 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(15)); base 3564 media/filters/source_buffer_stream_unittest.cc SeekToTimestamp(base::TimeDelta::FromMilliseconds(15)); base 112 media/filters/stream_parser_factory.cc !base::HexStringToInt(tokens[2], &audio_object_type)) { base 278 media/filters/stream_parser_factory.cc base::android::BuildInfo::GetInstance()->sdk_int() < 19) { base 79 media/filters/video_decoder_selector_unittest.cc base::Bind(&VideoDecoderSelectorTest::SetDecryptorReadyCallback, base 80 media/filters/video_decoder_selector_unittest.cc base::Unretained(this)); base 114 media/filters/video_decoder_selector_unittest.cc base::Bind(&VideoDecoderSelectorTest::MockOnDecoderSelected, base 115 media/filters/video_decoder_selector_unittest.cc base::Unretained(this))); base 139 media/filters/video_decoder_selector_unittest.cc base::MessageLoop message_loop_; base 54 media/filters/video_frame_stream_unittest.cc base::Bind(&VideoFrameStreamTest::SetDecryptorReadyCallback, base 55 media/filters/video_frame_stream_unittest.cc base::Unretained(this)))); base 105 media/filters/video_frame_stream_unittest.cc base::Bind(&VideoFrameStreamTest::OnStatistics, base::Unretained(this)), base 106 media/filters/video_frame_stream_unittest.cc base::Bind(&VideoFrameStreamTest::OnInitialized, base 107 media/filters/video_frame_stream_unittest.cc base::Unretained(this))); base 163 media/filters/video_frame_stream_unittest.cc video_frame_stream_->Read(base::Bind( base 164 media/filters/video_frame_stream_unittest.cc &VideoFrameStreamTest::FrameReady, base::Unretained(this))); base 234 media/filters/video_frame_stream_unittest.cc video_frame_stream_->Reset(base::Bind(&VideoFrameStreamTest::OnReset, base 235 media/filters/video_frame_stream_unittest.cc base::Unretained(this))); base 303 media/filters/video_frame_stream_unittest.cc video_frame_stream_->Stop(base::Bind(&VideoFrameStreamTest::OnStopped, base 304 media/filters/video_frame_stream_unittest.cc base::Unretained(this))); base 308 media/filters/video_frame_stream_unittest.cc base::MessageLoop message_loop_; base 383 media/filters/video_frame_stream_unittest.cc base::Bind(&VideoFrameStreamTest::OnReset, base::Unretained(this))); base 447 media/filters/video_frame_stream_unittest.cc base::Bind(&VideoFrameStreamTest::OnStopped, base::Unretained(this))); base 460 media/filters/video_frame_stream_unittest.cc base::Bind(&VideoFrameStreamTest::OnStopped, base::Unretained(this))); base 21 media/filters/video_renderer_impl.cc base::TimeDelta VideoRendererImpl::kMaxLastFrameDuration() { base 22 media/filters/video_renderer_impl.cc return base::TimeDelta::FromMilliseconds(250); base 26 media/filters/video_renderer_impl.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 51 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 56 media/filters/video_renderer_impl.cc void VideoRendererImpl::Play(const base::Closure& callback) { base 58 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 64 media/filters/video_renderer_impl.cc void VideoRendererImpl::Pause(const base::Closure& callback) { base 66 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 72 media/filters/video_renderer_impl.cc void VideoRendererImpl::Flush(const base::Closure& callback) { base 74 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 84 media/filters/video_renderer_impl.cc base::Bind(&VideoRendererImpl::OnVideoFrameStreamResetDone, base 88 media/filters/video_renderer_impl.cc void VideoRendererImpl::Stop(const base::Closure& callback) { base 90 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 106 media/filters/video_renderer_impl.cc base::PlatformThreadHandle thread_to_join = base::PlatformThreadHandle(); base 115 media/filters/video_renderer_impl.cc base::AutoUnlock auto_unlock(lock_); base 116 media/filters/video_renderer_impl.cc base::PlatformThread::Join(thread_to_join); base 124 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 128 media/filters/video_renderer_impl.cc void VideoRendererImpl::Preroll(base::TimeDelta time, base 131 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 160 media/filters/video_renderer_impl.cc const base::Closure& ended_cb, base 165 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 188 media/filters/video_renderer_impl.cc base::Bind(&VideoRendererImpl::OnVideoFrameStreamInitialized, base 195 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 204 media/filters/video_renderer_impl.cc base::ResetAndReturn(&init_cb_).Run(DECODER_ERROR_NOT_SUPPORTED); base 218 media/filters/video_renderer_impl.cc if (!base::PlatformThread::Create(0, this, &thread_)) { base 221 media/filters/video_renderer_impl.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_ERROR_INITIALIZATION_FAILED); base 230 media/filters/video_renderer_impl.cc base::ResetAndReturn(&init_cb_).Run(PIPELINE_OK); base 235 media/filters/video_renderer_impl.cc base::PlatformThread::SetName("CrVideoRenderer"); base 243 media/filters/video_renderer_impl.cc const base::TimeDelta kIdleTimeDelta = base 244 media/filters/video_renderer_impl.cc base::TimeDelta::FromMilliseconds(10); base 247 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 273 media/filters/video_renderer_impl.cc base::TimeDelta remaining_time = base 296 media/filters/video_renderer_impl.cc base::TimeDelta now = get_time_cb_.Run(); base 297 media/filters/video_renderer_impl.cc base::TimeDelta deadline = ready_frames_.front()->GetTimestamp() + base 327 media/filters/video_renderer_impl.cc base::Bind(&VideoRendererImpl::AttemptRead, weak_factory_.GetWeakPtr())); base 342 media/filters/video_renderer_impl.cc base::Bind(&VideoRendererImpl::AttemptRead, weak_factory_.GetWeakPtr())); base 347 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 362 media/filters/video_renderer_impl.cc base::ResetAndReturn(&preroll_cb_).Run(error); base 431 media/filters/video_renderer_impl.cc base::TimeDelta duration = get_duration_cb_.Run(); base 448 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 466 media/filters/video_renderer_impl.cc video_frame_stream_.Read(base::Bind(&VideoRendererImpl::FrameReady, base 483 media/filters/video_renderer_impl.cc base::AutoLock auto_lock(lock_); base 494 media/filters/video_renderer_impl.cc base::ResetAndReturn(&flush_cb_).Run(); base 497 media/filters/video_renderer_impl.cc base::TimeDelta VideoRendererImpl::CalculateSleepDuration( base 501 media/filters/video_renderer_impl.cc base::TimeDelta now = get_time_cb_.Run(); base 502 media/filters/video_renderer_impl.cc base::TimeDelta next_pts = next_frame->GetTimestamp(); base 505 media/filters/video_renderer_impl.cc base::TimeDelta sleep = next_pts - now; base 506 media/filters/video_renderer_impl.cc return base::TimeDelta::FromMicroseconds( base 528 media/filters/video_renderer_impl.cc base::ResetAndReturn(&preroll_cb_).Run(PIPELINE_OK); base 532 media/filters/video_renderer_impl.cc base::TimeDelta wait_duration) { base 24 media/filters/video_renderer_impl.h namespace base { base 36 media/filters/video_renderer_impl.h public base::PlatformThread::Delegate { base 38 media/filters/video_renderer_impl.h typedef base::Callback<void(const scoped_refptr<VideoFrame>&)> PaintCB; base 39 media/filters/video_renderer_impl.h typedef base::Callback<void(bool)> SetOpaqueCB; base 42 media/filters/video_renderer_impl.h static base::TimeDelta kMaxLastFrameDuration(); base 58 media/filters/video_renderer_impl.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 71 media/filters/video_renderer_impl.h const base::Closure& ended_cb, base 75 media/filters/video_renderer_impl.h virtual void Play(const base::Closure& callback) OVERRIDE; base 76 media/filters/video_renderer_impl.h virtual void Pause(const base::Closure& callback) OVERRIDE; base 77 media/filters/video_renderer_impl.h virtual void Flush(const base::Closure& callback) OVERRIDE; base 78 media/filters/video_renderer_impl.h virtual void Preroll(base::TimeDelta time, base 80 media/filters/video_renderer_impl.h virtual void Stop(const base::Closure& callback) OVERRIDE; base 111 media/filters/video_renderer_impl.h base::TimeDelta CalculateSleepDuration( base 137 media/filters/video_renderer_impl.h void UpdateStatsAndWait_Locked(base::TimeDelta wait_duration); base 139 media/filters/video_renderer_impl.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 142 media/filters/video_renderer_impl.h base::Lock lock_; base 156 media/filters/video_renderer_impl.h base::ConditionVariable frame_available_; base 200 media/filters/video_renderer_impl.h base::PlatformThreadHandle thread_; base 211 media/filters/video_renderer_impl.h base::Closure flush_cb_; base 218 media/filters/video_renderer_impl.h base::Closure ended_cb_; base 223 media/filters/video_renderer_impl.h base::TimeDelta preroll_timestamp_; base 234 media/filters/video_renderer_impl.h base::TimeDelta last_timestamp_; base 242 media/filters/video_renderer_impl.h base::WeakPtrFactory<VideoRendererImpl> weak_factory_; base 51 media/filters/video_renderer_impl_unittest.cc base::Bind(&VideoRendererImplTest::OnPaint, base::Unretained(this)), base 52 media/filters/video_renderer_impl_unittest.cc base::Bind(&VideoRendererImplTest::OnSetOpaque, base::Unretained(this)), base 77 media/filters/video_renderer_impl_unittest.cc MOCK_METHOD1(OnTimeUpdate, void(base::TimeDelta)); base 84 media/filters/video_renderer_impl_unittest.cc duration_ = base::TimeDelta::FromMilliseconds(duration_ms); base 110 media/filters/video_renderer_impl_unittest.cc SCOPED_TRACE(base::StringPrintf("InitializeRenderer(%d)", expected)); base 120 media/filters/video_renderer_impl_unittest.cc base::Bind(&MockStatisticsCB::OnStatistics, base 121 media/filters/video_renderer_impl_unittest.cc base::Unretained(&statistics_cb_object_)), base 122 media/filters/video_renderer_impl_unittest.cc base::Bind(&VideoRendererImplTest::OnTimeUpdate, base 123 media/filters/video_renderer_impl_unittest.cc base::Unretained(this)), base 126 media/filters/video_renderer_impl_unittest.cc base::Bind(&VideoRendererImplTest::GetTime, base::Unretained(this)), base 127 media/filters/video_renderer_impl_unittest.cc base::Bind(&VideoRendererImplTest::GetDuration, base 128 media/filters/video_renderer_impl_unittest.cc base::Unretained(this))); base 139 media/filters/video_renderer_impl_unittest.cc SCOPED_TRACE(base::StringPrintf("Preroll(%d, %d)", timestamp_ms, expected)); base 142 media/filters/video_renderer_impl_unittest.cc base::TimeDelta::FromMilliseconds(timestamp_ms), base 176 media/filters/video_renderer_impl_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 187 media/filters/video_renderer_impl_unittest.cc base::TimeDelta::FromMilliseconds(kFrameDurationInMs); base 191 media/filters/video_renderer_impl_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 197 media/filters/video_renderer_impl_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 204 media/filters/video_renderer_impl_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 211 media/filters/video_renderer_impl_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 212 media/filters/video_renderer_impl_unittest.cc next_frame_timestamp_ = base::TimeDelta(); base 213 media/filters/video_renderer_impl_unittest.cc base::TimeDelta timestamp = base::TimeDelta::FromMilliseconds(timestamp_ms); base 225 media/filters/video_renderer_impl_unittest.cc base::AutoLock l(lock_); base 230 media/filters/video_renderer_impl_unittest.cc base::AutoLock l(lock_); base 242 media/filters/video_renderer_impl_unittest.cc SCOPED_TRACE(base::StringPrintf("WaitForError(%d)", expected)); base 270 media/filters/video_renderer_impl_unittest.cc base::Closure closure = base::Bind( base 281 media/filters/video_renderer_impl_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 282 media/filters/video_renderer_impl_unittest.cc base::AutoLock l(lock_); base 283 media/filters/video_renderer_impl_unittest.cc time_ += base::TimeDelta::FromMilliseconds(time_ms); base 295 media/filters/video_renderer_impl_unittest.cc base::TimeDelta GetTime() { base 296 media/filters/video_renderer_impl_unittest.cc base::AutoLock l(lock_); base 300 media/filters/video_renderer_impl_unittest.cc base::TimeDelta GetDuration() { base 305 media/filters/video_renderer_impl_unittest.cc base::AutoLock l(lock_); base 311 media/filters/video_renderer_impl_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 317 media/filters/video_renderer_impl_unittest.cc base::ResetAndReturn(&wait_for_pending_read_cb_).Run(); base 325 media/filters/video_renderer_impl_unittest.cc void FlushRequested(const base::Closure& callback) { base 326 media/filters/video_renderer_impl_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 337 media/filters/video_renderer_impl_unittest.cc DCHECK_EQ(&message_loop_, base::MessageLoop::current()); base 345 media/filters/video_renderer_impl_unittest.cc base::MessageLoop message_loop_; base 348 media/filters/video_renderer_impl_unittest.cc base::Lock lock_; base 349 media/filters/video_renderer_impl_unittest.cc base::TimeDelta time_; base 354 media/filters/video_renderer_impl_unittest.cc base::TimeDelta next_frame_timestamp_; base 355 media/filters/video_renderer_impl_unittest.cc base::TimeDelta duration_; base 361 media/filters/video_renderer_impl_unittest.cc base::Closure wait_for_pending_read_cb_; base 385 media/filters/video_renderer_impl_unittest.cc base::debug::StackTrace stack; base 392 media/filters/video_renderer_impl_unittest.cc CallInitialize(base::Bind(&ExpectNotCalled)); base 401 media/filters/video_renderer_impl_unittest.cc renderer_->Flush(base::Bind(&ExpectNotCalled, PIPELINE_OK)); base 55 media/filters/vpx_video_decoder.cc if (threads.empty() || !base::StringToInt(threads, &decode_threads)) { base 82 media/filters/vpx_video_decoder.cc : public base::RefCountedThreadSafe<VpxVideoDecoder::MemoryPool> { base 104 media/filters/vpx_video_decoder.cc base::Closure CreateFrameCallback(void* fb_priv_data); base 190 media/filters/vpx_video_decoder.cc base::Closure VpxVideoDecoder::MemoryPool::CreateFrameCallback( base 195 media/filters/vpx_video_decoder.cc base::Bind(&MemoryPool::OnVideoFrameDestroyed, this, base 205 media/filters/vpx_video_decoder.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) base 316 media/filters/vpx_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kDecodeError, NULL); base 322 media/filters/vpx_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, VideoFrame::CreateEOSFrame()); base 329 media/filters/vpx_video_decoder.cc void VpxVideoDecoder::Reset(const base::Closure& closure) { base 358 media/filters/vpx_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, VideoFrame::CreateEOSFrame()); base 365 media/filters/vpx_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kDecodeError, NULL); base 371 media/filters/vpx_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kNotEnoughData, NULL); base 375 media/filters/vpx_video_decoder.cc base::ResetAndReturn(&decode_cb_).Run(kOk, video_frame); base 416 media/filters/vpx_video_decoder.cc const uint64 side_data_id = base::NetToHost64( base 447 media/filters/vpx_video_decoder.cc (*video_frame)->SetTimestamp(base::TimeDelta::FromMicroseconds(timestamp)); base 18 media/filters/vpx_video_decoder.h namespace base { base 31 media/filters/vpx_video_decoder.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); base 39 media/filters/vpx_video_decoder.h virtual void Reset(const base::Closure& closure) OVERRIDE; base 66 media/filters/vpx_video_decoder.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 49 media/formats/common/stream_parser_test_base.cc base::Bind(&StreamParserTestBase::OnInitDone, base::Unretained(this)), base 50 media/formats/common/stream_parser_test_base.cc base::Bind(&StreamParserTestBase::OnNewConfig, base::Unretained(this)), base 51 media/formats/common/stream_parser_test_base.cc base::Bind(&StreamParserTestBase::OnNewBuffers, base::Unretained(this)), base 53 media/formats/common/stream_parser_test_base.cc base::Bind(&StreamParserTestBase::OnKeyNeeded, base::Unretained(this)), base 54 media/formats/common/stream_parser_test_base.cc base::Bind(&StreamParserTestBase::OnNewSegment, base::Unretained(this)), base 55 media/formats/common/stream_parser_test_base.cc base::Bind(&StreamParserTestBase::OnEndOfSegment, base::Unretained(this)), base 74 media/formats/common/stream_parser_test_base.cc base::TimeDelta duration, base 47 media/formats/common/stream_parser_test_base.h base::TimeDelta duration, base 21 media/formats/mp2t/es_parser.h typedef base::Callback<void(scoped_refptr<StreamParserBuffer>)> EmitBufferCB; base 29 media/formats/mp2t/es_parser.h base::TimeDelta pts, base 30 media/formats/mp2t/es_parser.h base::TimeDelta dts) = 0; base 114 media/formats/mp2t/es_parser_adts.cc base::TimeDelta pts, base 115 media/formats/mp2t/es_parser_adts.cc base::TimeDelta dts) { base 140 media/formats/mp2t/es_parser_adts.cc << base::HexEncode(&raw_es[es_position], kADTSHeaderMinSize); base 159 media/formats/mp2t/es_parser_adts.cc base::TimeDelta current_pts = audio_timestamp_helper_->GetTimestamp(); base 160 media/formats/mp2t/es_parser_adts.cc base::TimeDelta frame_duration = base 259 media/formats/mp2t/es_parser_adts.cc base::TimeDelta base_timestamp = audio_timestamp_helper_->GetTimestamp(); base 30 media/formats/mp2t/es_parser_adts.h typedef base::Callback<void(const AudioDecoderConfig&)> NewAudioConfigCB; base 39 media/formats/mp2t/es_parser_adts.h base::TimeDelta pts, base 40 media/formats/mp2t/es_parser_adts.h base::TimeDelta dts) OVERRIDE; base 46 media/formats/mp2t/es_parser_adts.h typedef std::pair<int, base::TimeDelta> EsPts; base 41 media/formats/mp2t/es_parser_h264.cc base::TimeDelta pts, base 42 media/formats/mp2t/es_parser_h264.cc base::TimeDelta dts) { base 156 media/formats/mp2t/es_parser_h264.cc int access_unit_size = base::checked_cast<int, int64>( base 36 media/formats/mp2t/es_parser_h264.h typedef base::Callback<void(const VideoDecoderConfig&)> NewVideoConfigCB; base 44 media/formats/mp2t/es_parser_h264.h base::TimeDelta pts, base 45 media/formats/mp2t/es_parser_h264.h base::TimeDelta dts) OVERRIDE; base 51 media/formats/mp2t/es_parser_h264.h base::TimeDelta dts; base 52 media/formats/mp2t/es_parser_h264.h base::TimeDelta pts; base 35 media/formats/mp2t/es_parser_h264_unittest.cc base::TimeDelta pts; base 152 media/formats/mp2t/es_parser_h264_unittest.cc base::FilePath file_path = GetTestDataFilePath(filename); base 154 media/formats/mp2t/es_parser_h264_unittest.cc base::MemoryMappedFile stream_without_aud; base 168 media/formats/mp2t/es_parser_h264_unittest.cc access_units_[k].pts = base::TimeDelta::FromMilliseconds(k * 40u); base 178 media/formats/mp2t/es_parser_h264_unittest.cc pes_packets[k].pts = base::TimeDelta::FromMilliseconds(-1); base 201 media/formats/mp2t/es_parser_h264_unittest.cc base::Bind(&EsParserH264Test::NewVideoConfig, base::Unretained(this)), base 202 media/formats/mp2t/es_parser_h264_unittest.cc base::Bind(&EsParserH264Test::EmitBuffer, base::Unretained(this))); base 208 media/formats/mp2t/es_parser_h264_unittest.cc base::TimeDelta pts = kNoTimestamp(); base 209 media/formats/mp2t/es_parser_h264_unittest.cc base::TimeDelta dts = kNoTimestamp(); base 210 media/formats/mp2t/es_parser_h264_unittest.cc if (pes_packets[k].pts >= base::TimeDelta() || force_timing) base 174 media/formats/mp2t/mp2t_stream_parser.cc const base::Closure& end_of_segment_cb, base 263 media/formats/mp2t/mp2t_stream_parser.cc base::Bind(&Mp2tStreamParser::RegisterPmt, base 264 media/formats/mp2t/mp2t_stream_parser.cc base::Unretained(this)))); base 311 media/formats/mp2t/mp2t_stream_parser.cc base::Bind(&Mp2tStreamParser::RegisterPes, base 312 media/formats/mp2t/mp2t_stream_parser.cc base::Unretained(this), pmt_pid))); base 336 media/formats/mp2t/mp2t_stream_parser.cc base::Bind(&Mp2tStreamParser::OnVideoConfigChanged, base 337 media/formats/mp2t/mp2t_stream_parser.cc base::Unretained(this), base 339 media/formats/mp2t/mp2t_stream_parser.cc base::Bind(&Mp2tStreamParser::OnEmitVideoBuffer, base 340 media/formats/mp2t/mp2t_stream_parser.cc base::Unretained(this), base 345 media/formats/mp2t/mp2t_stream_parser.cc base::Bind(&Mp2tStreamParser::OnAudioConfigChanged, base 346 media/formats/mp2t/mp2t_stream_parser.cc base::Unretained(this), base 348 media/formats/mp2t/mp2t_stream_parser.cc base::Bind(&Mp2tStreamParser::OnEmitAudioBuffer, base 349 media/formats/mp2t/mp2t_stream_parser.cc base::Unretained(this), base 39 media/formats/mp2t/mp2t_stream_parser.h const base::Closure& end_of_segment_cb, base 101 media/formats/mp2t/mp2t_stream_parser.h base::Closure end_of_segment_cb_; base 127 media/formats/mp2t/mp2t_stream_parser.h base::TimeDelta time_offset_; base 40 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::TimeDelta video_min_dts_; base 41 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::TimeDelta video_max_dts_; base 61 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::TimeDelta duration, base 132 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Bind(&Mp2tStreamParserTest::OnInit, base 133 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Unretained(this)), base 134 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Bind(&Mp2tStreamParserTest::OnNewConfig, base 135 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Unretained(this)), base 136 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Bind(&Mp2tStreamParserTest::OnNewBuffers, base 137 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Unretained(this)), base 139 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Bind(&Mp2tStreamParserTest::OnKeyNeeded, base 140 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Unretained(this)), base 141 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Bind(&Mp2tStreamParserTest::OnNewSegment, base 142 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Unretained(this)), base 143 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Bind(&Mp2tStreamParserTest::OnEndOfSegment, base 144 media/formats/mp2t/mp2t_stream_parser_unittest.cc base::Unretained(this)), base 182 media/formats/mp2t/mp2t_stream_parser_unittest.cc EXPECT_GE(video_min_dts_, base::TimeDelta::FromSeconds(95443 - 10)); base 183 media/formats/mp2t/mp2t_stream_parser_unittest.cc EXPECT_LE(video_max_dts_, base::TimeDelta::FromSeconds(95443 + 10)); base 18 media/formats/mp2t/ts_section_pat.h typedef base::Callback<void(int, int)> RegisterPmtCb; base 269 media/formats/mp2t/ts_section_pes.cc base::TimeDelta media_pts(kNoTimestamp()); base 270 media/formats/mp2t/ts_section_pes.cc base::TimeDelta media_dts(kNoTimestamp()); base 277 media/formats/mp2t/ts_section_pes.cc media_pts = base::TimeDelta::FromMicroseconds((1000 * pts) / 90); base 285 media/formats/mp2t/ts_section_pes.cc media_dts = base::TimeDelta::FromMicroseconds((1000 * dts) / 90); base 21 media/formats/mp2t/ts_section_pmt.h typedef base::Callback<void(int, int)> RegisterPesCb; base 51 media/formats/mp4/mp4_stream_parser.cc const base::Closure& end_of_segment_cb, base 254 media/formats/mp4/mp4_stream_parser.cc is_audio_track_encrypted_, false, base::TimeDelta(), base 255 media/formats/mp4/mp4_stream_parser.cc base::TimeDelta()); base 291 media/formats/mp4/mp4_stream_parser.cc base::TimeDelta duration; base 304 media/formats/mp4/mp4_stream_parser.cc base::ResetAndReturn(&init_cb_).Run(true, duration, false); base 36 media/formats/mp4/mp4_stream_parser.h const base::Closure& end_of_segment_cb, base 87 media/formats/mp4/mp4_stream_parser.h base::Closure end_of_segment_cb_; base 23 media/formats/mp4/mp4_stream_parser_unittest.cc using base::TimeDelta; base 62 media/formats/mp4/mp4_stream_parser_unittest.cc base::TimeDelta duration, base 120 media/formats/mp4/mp4_stream_parser_unittest.cc base::Bind(&MP4StreamParserTest::InitF, base::Unretained(this)), base 121 media/formats/mp4/mp4_stream_parser_unittest.cc base::Bind(&MP4StreamParserTest::NewConfigF, base::Unretained(this)), base 122 media/formats/mp4/mp4_stream_parser_unittest.cc base::Bind(&MP4StreamParserTest::NewBuffersF, base::Unretained(this)), base 124 media/formats/mp4/mp4_stream_parser_unittest.cc base::Bind(&MP4StreamParserTest::KeyNeededF, base::Unretained(this)), base 125 media/formats/mp4/mp4_stream_parser_unittest.cc base::Bind(&MP4StreamParserTest::NewSegmentF, base::Unretained(this)), base 126 media/formats/mp4/mp4_stream_parser_unittest.cc base::Bind(&MP4StreamParserTest::EndOfSegmentF, base 127 media/formats/mp4/mp4_stream_parser_unittest.cc base::Unretained(this)), base 66 media/formats/mp4/track_run_iterator.cc DCHECK_LE((a > 0 ? a : -a), kint64max / base::Time::kMicrosecondsPerSecond); base 67 media/formats/mp4/track_run_iterator.cc int64 timea_in_us = a * base::Time::kMicrosecondsPerSecond; base 70 media/formats/mp4/track_run_iterator.cc DCHECK_LE((b > 0 ? b : -b), kint64max / base::Time::kMicrosecondsPerSecond); base 71 media/formats/mp4/track_run_iterator.cc int64 timeb_in_us = (b * base::Time::kMicrosecondsPerSecond) / denom; base 23 media/formats/mp4/track_run_iterator.h using base::TimeDelta; base 24 media/formats/mp4/track_run_iterator.h base::TimeDelta MEDIA_EXPORT TimeDeltaFromRational(int64 numer, int64 denom); base 61 media/formats/mpeg/mpeg_audio_stream_parser_base.cc const base::Closure& end_of_segment_cb, base 79 media/formats/mpeg/mpeg_audio_stream_parser_base.cc timestamp_helper_->SetBaseTimestamp(base::TimeDelta()); base 198 media/formats/mpeg/mpeg_audio_stream_parser_base.cc base::TimeDelta(), base::TimeDelta()); base 200 media/formats/mpeg/mpeg_audio_stream_parser_base.cc base::TimeDelta base_timestamp; base 211 media/formats/mpeg/mpeg_audio_stream_parser_base.cc base::ResetAndReturn(&init_cb_).Run(success, kInfiniteDuration(), true); base 396 media/formats/mpeg/mpeg_audio_stream_parser_base.cc timestamp_helper_->SetBaseTimestamp(base::TimeDelta()); base 36 media/formats/mpeg/mpeg_audio_stream_parser_base.h const base::Closure& end_of_segment_cb, base 127 media/formats/mpeg/mpeg_audio_stream_parser_base.h base::Closure end_of_segment_cb_; base 16 media/formats/webm/chromeos/ebml_writer.h base::Callback<void(const void* buffer, unsigned long len)> write_cb; base 17 media/formats/webm/chromeos/ebml_writer.h base::Callback<void(const void* buffer, int buffer_size, unsigned long len)> base 56 media/formats/webm/chromeos/webm_encoder.cc WebmEncoder::WebmEncoder(const base::FilePath& output_path, base 63 media/formats/webm/chromeos/webm_encoder.cc ebml_writer_.write_cb = base::Bind( base 64 media/formats/webm/chromeos/webm_encoder.cc &WebmEncoder::EbmlWrite, base::Unretained(this)); base 65 media/formats/webm/chromeos/webm_encoder.cc ebml_writer_.serialize_cb = base::Bind( base 66 media/formats/webm/chromeos/webm_encoder.cc &WebmEncoder::EbmlSerialize, base::Unretained(this)); base 160 media/formats/webm/chromeos/webm_encoder.cc output_ = base::OpenFile(output_path_, "wb"); base 254 media/formats/webm/chromeos/webm_encoder.cc return base::CloseFile(output_) && !has_errors_; base 23 media/formats/webm/chromeos/webm_encoder.h namespace base { base 39 media/formats/webm/chromeos/webm_encoder.h WebmEncoder(const base::FilePath& output_path, int bitrate, bool realtime); base 93 media/formats/webm/chromeos/webm_encoder.h base::FilePath output_path_; base 73 media/formats/webm/webm_audio_client.cc base::TimeDelta::FromMicroseconds( base 75 media/formats/webm/webm_audio_client.cc base::TimeDelta::FromMicroseconds( base 30 media/formats/webm/webm_cluster_parser.cc base::TimeDelta audio_default_duration, base 32 media/formats/webm/webm_cluster_parser.cc base::TimeDelta video_default_duration, base 98 media/formats/webm/webm_cluster_parser.cc cluster_start_time_ = base::TimeDelta::FromMicroseconds( base 268 media/formats/webm/webm_cluster_parser.cc uint64 block_add_id = base::HostToNet64(block_add_id_); base 347 media/formats/webm/webm_cluster_parser.cc base::TimeDelta timestamp = base::TimeDelta::FromMicroseconds( base 408 media/formats/webm/webm_cluster_parser.cc buffer->set_duration(base::TimeDelta::FromMicroseconds( base 413 media/formats/webm/webm_cluster_parser.cc buffer->set_discard_padding(base::TimeDelta::FromMicroseconds( base 421 media/formats/webm/webm_cluster_parser.cc base::TimeDelta default_duration) base 427 media/formats/webm/webm_cluster_parser.cc default_duration_ > base::TimeDelta()); base 441 media/formats/webm/webm_cluster_parser.cc base::TimeDelta derived_duration = base 526 media/formats/webm/webm_cluster_parser.cc base::TimeDelta duration = buffer->duration(); base 527 media/formats/webm/webm_cluster_parser.cc if (duration < base::TimeDelta() || duration == kNoTimestamp()) { base 539 media/formats/webm/webm_cluster_parser.cc base::TimeDelta WebMClusterParser::Track::GetDurationDefaultOrEstimate() { base 540 media/formats/webm/webm_cluster_parser.cc base::TimeDelta duration = default_duration_; base 549 media/formats/webm/webm_cluster_parser.cc duration = base::TimeDelta::FromMilliseconds( base 552 media/formats/webm/webm_cluster_parser.cc duration = base::TimeDelta::FromMilliseconds( base 557 media/formats/webm/webm_cluster_parser.cc DCHECK(duration > base::TimeDelta()); base 31 media/formats/webm/webm_cluster_parser.h Track(int track_num, bool is_video, base::TimeDelta default_duration); base 77 media/formats/webm/webm_cluster_parser.h base::TimeDelta GetDurationDefaultOrEstimate(); base 85 media/formats/webm/webm_cluster_parser.h base::TimeDelta default_duration_; base 89 media/formats/webm/webm_cluster_parser.h base::TimeDelta estimated_next_frame_duration_; base 100 media/formats/webm/webm_cluster_parser.h base::TimeDelta audio_default_duration, base 102 media/formats/webm/webm_cluster_parser.h base::TimeDelta video_default_duration, base 120 media/formats/webm/webm_cluster_parser.h base::TimeDelta cluster_start_time() const { return cluster_start_time_; } base 179 media/formats/webm/webm_cluster_parser.h base::TimeDelta cluster_start_time_; base 35 media/formats/webm/webm_stream_parser.cc const base::Closure& end_of_segment_cb, base 184 media/formats/webm/webm_stream_parser.cc base::TimeDelta duration = kInfiniteDuration(); base 188 media/formats/webm/webm_stream_parser.cc duration = base::TimeDelta::FromMicroseconds(duration_in_us); base 222 media/formats/webm/webm_stream_parser.cc base::ResetAndReturn(&init_cb_).Run(true, duration, false); base 31 media/formats/webm/webm_stream_parser.h const base::Closure& end_of_segment_cb, base 76 media/formats/webm/webm_stream_parser.h base::Closure end_of_segment_cb_; base 32 media/formats/webm/webm_tracks_parser.cc static base::TimeDelta PrecisionCappedDefaultDuration( base 43 media/formats/webm/webm_tracks_parser.cc return base::TimeDelta::FromMicroseconds(mult); base 91 media/formats/webm/webm_tracks_parser.cc base::TimeDelta WebMTracksParser::GetAudioDefaultDuration( base 97 media/formats/webm/webm_tracks_parser.cc base::TimeDelta WebMTracksParser::GetVideoDefaultDuration( base 244 media/formats/webm/webm_tracks_parser.cc std::string track_uid = base::Int64ToString(track_uid_); base 47 media/formats/webm/webm_tracks_parser.h base::TimeDelta GetAudioDefaultDuration( base 49 media/formats/webm/webm_tracks_parser.h base::TimeDelta GetVideoDefaultDuration( base 164 media/formats/webm/webm_tracks_parser_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(12000), base 166 media/formats/webm/webm_tracks_parser_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(985000), base 169 media/formats/webm/webm_tracks_parser_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(12345), base 171 media/formats/webm/webm_tracks_parser_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(12003), base 33 media/midi/midi_manager.cc base::AutoLock auto_lock(clients_lock_); base 41 media/midi/midi_manager.cc base::AutoLock auto_lock(clients_lock_); base 72 media/midi/midi_manager.cc base::AutoLock auto_lock(clients_lock_); base 105 media/midi/midi_manager.h base::Lock clients_lock_; base 31 media/midi/midi_manager_alsa.cc : public base::RefCounted<MidiDeviceInfo> { base 42 media/midi/midi_manager_alsa.cc const std::string id = base::StringPrintf("%s:%d", bus_id.c_str(), device); base 53 media/midi/midi_manager_alsa.cc base::StringPrintf("%s / ALSA library version %d.%d.%d", base 66 media/midi/midi_manager_alsa.cc base::MessageLoop::current()->PostTask( base 68 media/midi/midi_manager_alsa.cc base::Bind(&MidiManagerClient::AccumulateMidiBytesSent, base 69 media/midi/midi_manager_alsa.cc base::Unretained(client), data.size())); base 144 media/midi/midi_manager_alsa.cc const std::string id = base::StringPrintf("hw:CARD=%i", index); base 196 media/midi/midi_manager_alsa.cc base::Bind(&MidiManagerAlsa::EventReset, base::Unretained(this))); base 223 media/midi/midi_manager_alsa.cc base::TimeDelta delay; base 225 media/midi/midi_manager_alsa.cc base::TimeTicks time_to_send = base 226 media/midi/midi_manager_alsa.cc base::TimeTicks() + base::TimeDelta::FromMicroseconds( base 227 media/midi/midi_manager_alsa.cc timestamp * base::Time::kMicrosecondsPerSecond); base 228 media/midi/midi_manager_alsa.cc delay = std::max(time_to_send - base::TimeTicks::Now(), base::TimeDelta()); base 237 media/midi/midi_manager_alsa.cc base::Bind(&MidiDeviceInfo::Send, device, client, data), base 264 media/midi/midi_manager_alsa.cc base::Bind(&MidiManagerAlsa::EventLoop, base::Unretained(this))); base 276 media/midi/midi_manager_alsa.cc base::TimeTicks now = base::TimeTicks::HighResNow(); base 286 media/midi/midi_manager_alsa.cc base::TimeDelta timestamp_delta = base 287 media/midi/midi_manager_alsa.cc base::TimeDelta::FromInternalValue(now.ToInternalValue()); base 308 media/midi/midi_manager_alsa.cc base::Bind(&MidiManagerAlsa::EventLoop, base::Unretained(this))); base 37 media/midi/midi_manager_alsa.h base::Thread send_thread_; base 38 media/midi/midi_manager_alsa.h base::Thread event_thread_; base 16 media/midi/midi_manager_mac.cc using base::IntToString; base 17 media/midi/midi_manager_mac.cc using base::SysCFStringRefToUTF8; base 118 media/midi/midi_manager_mac.cc base::Bind(&MidiManagerMac::SendMidiData, base::Unretained(this), base 73 media/midi/midi_manager_mac.h base::Thread send_thread_; base 39 media/midi/midi_manager_usb.cc Initialize(base::Bind(Noop)); base 43 media/midi/midi_manager_usb.cc void MidiManagerUsb::Initialize(base::Callback<void(bool result)> callback) { base 48 media/midi/midi_manager_usb.cc base::Bind(&MidiManagerUsb::OnEnumerateDevicesDone, base 49 media/midi/midi_manager_usb.cc base::Unretained(this))); base 63 media/midi/midi_manager_usb.h void Initialize(base::Callback<void(bool result)> callback); base 73 media/midi/midi_manager_usb.h base::Callback<void(bool result)> initialize_callback_; base 76 media/midi/midi_manager_usb.h base::hash_map<std::pair<int, int>, size_t> input_jack_dictionary_; base 53 media/midi/midi_manager_usb_unittest.cc logger_->AddLog(base::StringPrintf("endpoint = %d data =", base 56 media/midi/midi_manager_usb_unittest.cc logger_->AddLog(base::StringPrintf(" 0x%02x", data[i])); base 81 media/midi/midi_manager_usb_unittest.cc logger_->AddLog(base::StringPrintf("port_index = %d data =", port_index)); base 83 media/midi/midi_manager_usb_unittest.cc logger_->AddLog(base::StringPrintf(" 0x%02x", data[i])); base 90 media/midi/midi_manager_usb_unittest.cc logger_->AddLog(base::StringPrintf("size = %u\n", base 133 media/midi/midi_manager_usb_unittest.cc manager_->Initialize(base::Bind(&MidiManagerUsbTest::OnInitializeDone, base 134 media/midi/midi_manager_usb_unittest.cc base::Unretained(this))); base 43 media/midi/midi_manager_win.cc return base::WideToUTF8(text); base 55 media/midi/midi_manager_win.cc return base::WideToUTF8(text); base 236 media/midi/midi_manager_win.cc start_time_ = base::TimeTicks::Now(); base 247 media/midi/midi_manager_win.cc start_time_ = base::TimeTicks(); base 339 media/midi/midi_manager_win.cc const base::TimeTicks event_time = base 340 media/midi/midi_manager_win.cc start_time_ + base::TimeDelta::FromMilliseconds(elapsed_ms); base 346 media/midi/midi_manager_win.cc const double timestamp = (event_time - base::TimeTicks()).InSecondsF(); base 354 media/midi/midi_manager_win.cc base::TimeTicks start_time_; base 520 media/midi/midi_manager_win.cc base::IntToString(static_cast<int>(device_id)), base 522 media/midi/midi_manager_win.cc base::WideToUTF8(caps.szPname), base 523 media/midi/midi_manager_win.cc base::IntToString(static_cast<int>(caps.vDriverVersion))); base 543 media/midi/midi_manager_win.cc base::IntToString(static_cast<int>(device_id)), base 545 media/midi/midi_manager_win.cc base::WideToUTF8(caps.szPname), base 546 media/midi/midi_manager_win.cc base::IntToString(static_cast<int>(caps.vDriverVersion))); base 574 media/midi/midi_manager_win.cc base::TimeDelta delay; base 576 media/midi/midi_manager_win.cc base::TimeTicks time_to_send = base 577 media/midi/midi_manager_win.cc base::TimeTicks() + base::TimeDelta::FromMicroseconds( base 578 media/midi/midi_manager_win.cc timestamp * base::Time::kMicrosecondsPerSecond); base 579 media/midi/midi_manager_win.cc delay = std::max(time_to_send - base::TimeTicks::Now(), base::TimeDelta()); base 588 media/midi/midi_manager_win.cc base::Bind(&OutDeviceInfo::Send, base::Unretained(out_port), data), base 597 media/midi/midi_manager_win.cc base::Bind(&MidiManagerClient::AccumulateMidiBytesSent, base 598 media/midi/midi_manager_win.cc base::Unretained(client), data.size())); base 34 media/midi/midi_manager_win.h base::Thread send_thread_; base 45 media/midi/usb_midi_device.h typedef base::Callback<void(bool result, Devices* devices)> Callback; base 18 media/midi/usb_midi_device_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 24 media/midi/usb_midi_device_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 29 media/midi/usb_midi_device_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 30 media/midi/usb_midi_device_android.cc base::android::ScopedJavaLocalRef<jbyteArray> descriptors = base 34 media/midi/usb_midi_device_android.cc base::android::JavaByteArrayToByteVector(env, descriptors.obj(), &ret); base 40 media/midi/usb_midi_device_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 43 media/midi/usb_midi_device_android.cc base::android::ToJavaByteArray(env, head, data.size()); base 54 media/midi/usb_midi_device_android.cc base::android::JavaByteArrayToByteVector(env, data, &bytes); base 21 media/midi/usb_midi_device_android.h typedef base::android::ScopedJavaLocalRef<jobject> ObjectRef; base 43 media/midi/usb_midi_device_android.h base::android::ScopedJavaGlobalRef<jobject> raw_device_; base 31 media/midi/usb_midi_device_factory_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 40 media/midi/usb_midi_device_factory_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 48 media/midi/usb_midi_device_factory_android.cc env, raw_factory_.obj(), base::android::GetApplicationContext())) { base 38 media/midi/usb_midi_device_factory_android.h base::android::ScopedJavaGlobalRef<jobject> raw_factory_; base 42 media/midi/usb_midi_input_stream_unittest.cc received_data_ += base::StringPrintf("0x%02x ", data[i]); base 36 media/midi/usb_midi_output_stream_unittest.cc log_ += base::StringPrintf("0x%02x ", data[i]); base 38 media/midi/usb_midi_output_stream_unittest.cc log_ += base::StringPrintf("(endpoint = %d)\n", endpoint_number); base 9 media/tools/player_x11/data_source_logger.cc static void LogAndRunStopClosure(const base::Closure& closure) { base 28 media/tools/player_x11/data_source_logger.cc void DataSourceLogger::Stop(const base::Closure& closure) { base 30 media/tools/player_x11/data_source_logger.cc data_source_->Stop(base::Bind(&LogAndRunStopClosure, closure)); base 37 media/tools/player_x11/data_source_logger.cc data_source_->Read(position, size, data, base::Bind( base 25 media/tools/player_x11/data_source_logger.h virtual void Stop(const base::Closure& closure) OVERRIDE; base 18 media/tools/player_x11/gl_video_renderer.h class GlVideoRenderer : public base::RefCountedThreadSafe<GlVideoRenderer> { base 25 media/tools/player_x11/gl_video_renderer.h friend class base::RefCountedThreadSafe<GlVideoRenderer>; base 51 media/tools/player_x11/player_x11.cc CHECK(file_data_source->Initialize(base::FilePath(file_path))); base 85 media/tools/player_x11/player_x11.cc typedef base::Callback<void(media::VideoFrame*)> PaintCB; base 86 media/tools/player_x11/player_x11.cc void Paint(base::MessageLoop* message_loop, const PaintCB& paint_cb, base 88 media/tools/player_x11/player_x11.cc if (message_loop != base::MessageLoop::current()) { base 89 media/tools/player_x11/player_x11.cc message_loop->PostTask(FROM_HERE, base::Bind( base 108 media/tools/player_x11/player_x11.cc static void SaveStatusAndSignal(base::WaitableEvent* event, base 118 media/tools/player_x11/player_x11.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 122 media/tools/player_x11/player_x11.cc base::MessageLoop* paint_message_loop) { base 134 media/tools/player_x11/player_x11.cc base::Bind(&Paint, paint_message_loop, paint_cb), base 135 media/tools/player_x11/player_x11.cc base::Bind(&SetOpaque), base 158 media/tools/player_x11/player_x11.cc base::WaitableEvent event(true, false); base 162 media/tools/player_x11/player_x11.cc collection.Pass(), base::Bind(&DoNothing), base::Bind(&OnStatus), base 163 media/tools/player_x11/player_x11.cc base::Bind(&SaveStatusAndSignal, &event, &status), base 164 media/tools/player_x11/player_x11.cc base::Bind(&OnMetadata), base::Bind(&DoNothing), base 165 media/tools/player_x11/player_x11.cc base::Bind(&DoNothing)); base 181 media/tools/player_x11/player_x11.cc base::MessageLoop* message_loop) { base 185 media/tools/player_x11/player_x11.cc pipeline->Stop(base::MessageLoop::QuitClosure()); base 208 media/tools/player_x11/player_x11.cc base::TimeDelta time = pipeline->GetMediaDuration(); base 209 media/tools/player_x11/player_x11.cc pipeline->Seek(time*e.xbutton.x/width, base::Bind(&OnStatus)); base 218 media/tools/player_x11/player_x11.cc pipeline->Stop(base::MessageLoop::QuitClosure()); base 235 media/tools/player_x11/player_x11.cc base::Bind(&PeriodicalUpdate, base 236 media/tools/player_x11/player_x11.cc base::Unretained(pipeline), base 238 media/tools/player_x11/player_x11.cc base::TimeDelta::FromMilliseconds(10)); base 242 media/tools/player_x11/player_x11.cc base::AtExitManager at_exit; base 280 media/tools/player_x11/player_x11.cc base::MessageLoop message_loop; base 281 media/tools/player_x11/player_x11.cc base::Thread media_thread("MediaThread"); base 286 media/tools/player_x11/player_x11.cc paint_cb = base::Bind( base 289 media/tools/player_x11/player_x11.cc paint_cb = base::Bind( base 297 media/tools/player_x11/player_x11.cc base::Bind(&NeedKey), new media::MediaLog())); base 307 media/tools/player_x11/player_x11.cc message_loop.PostTask(FROM_HERE, base::Bind( base 308 media/tools/player_x11/player_x11.cc &PeriodicalUpdate, base::Unretained(&pipeline), &message_loop)); base 19 media/tools/player_x11/x11_video_renderer.h class X11VideoRenderer : public base::RefCountedThreadSafe<X11VideoRenderer> { base 26 media/tools/player_x11/x11_video_renderer.h friend class base::RefCountedThreadSafe<X11VideoRenderer>; base 15 media/video/capture/android/video_capture_device_android.cc using base::android::AttachCurrentThread; base 16 media/video/capture/android/video_capture_device_android.cc using base::android::CheckException; base 17 media/video/capture/android/video_capture_device_android.cc using base::android::GetClass; base 18 media/video/capture/android/video_capture_device_android.cc using base::android::MethodID; base 19 media/video/capture/android/video_capture_device_android.cc using base::android::JavaRef; base 20 media/video/capture/android/video_capture_device_android.cc using base::android::ScopedJavaLocalRef; base 72 media/video/capture/android/video_capture_device_android.cc if (!base::StringToInt(device_name_.id(), &id)) base 85 media/video/capture/android/video_capture_device_android.cc base::AutoLock lock(lock_); base 118 media/video/capture/android/video_capture_device_android.cc frame_interval_ = base::TimeDelta::FromMicroseconds( base 119 media/video/capture/android/video_capture_device_android.cc (base::Time::kMicrosecondsPerSecond + capture_format_.frame_rate - 1) / base 134 media/video/capture/android/video_capture_device_android.cc base::AutoLock lock(lock_); base 142 media/video/capture/android/video_capture_device_android.cc base::AutoLock lock(lock_); base 156 media/video/capture/android/video_capture_device_android.cc base::AutoLock lock(lock_); base 172 media/video/capture/android/video_capture_device_android.cc base::AutoLock lock(lock_); base 183 media/video/capture/android/video_capture_device_android.cc base::TimeTicks current_time = base::TimeTicks::Now(); base 198 media/video/capture/android/video_capture_device_android.cc base::TimeTicks::Now()); base 222 media/video/capture/android/video_capture_device_android.cc base::AutoLock lock(lock_); base 65 media/video/capture/android/video_capture_device_android.h base::Lock lock_; base 68 media/video/capture/android/video_capture_device_android.h base::TimeTicks expected_next_frame_time_; base 69 media/video/capture/android/video_capture_device_android.h base::TimeDelta frame_interval_; base 76 media/video/capture/android/video_capture_device_android.h base::android::ScopedJavaLocalRef<jobject> j_capture_; base 13 media/video/capture/android/video_capture_device_factory_android.cc using base::android::AttachCurrentThread; base 14 media/video/capture/android/video_capture_device_factory_android.cc using base::android::ScopedJavaLocalRef; base 35 media/video/capture/android/video_capture_device_factory_android.cc base::android::ConvertJavaStringToUTF8( base 37 media/video/capture/android/video_capture_device_factory_android.cc base::StringPrintf("%d", Java_ChromiumCameraInfo_getId(env, ci.obj()))); base 52 media/video/capture/android/video_capture_device_factory_android.cc if (!base::StringToInt(device.id(), &id)) base 55 media/video/capture/android/video_capture_device_factory_android.cc base::android::ScopedJavaLocalRef<jobjectArray> collected_formats = base 62 media/video/capture/android/video_capture_device_factory_android.cc base::android::ScopedJavaLocalRef<jobject> format( base 100 media/video/capture/android/video_capture_device_factory_android.cc base::android::GetApplicationContext(), base 33 media/video/capture/android/video_capture_device_factory_android.h static base::android::ScopedJavaLocalRef<jobject> createVideoCaptureAndroid( base 26 media/video/capture/fake_video_capture_device.cc base::subtle::Atomic32 FakeVideoCaptureDevice::number_of_devices_ = base 39 media/video/capture/fake_video_capture_device.cc int number_of_devices = base::subtle::NoBarrier_Load(&number_of_devices_); base 41 media/video/capture/fake_video_capture_device.cc Name name(base::StringPrintf("fake_device_%d", n), base 42 media/video/capture/fake_video_capture_device.cc base::StringPrintf("/dev/video%d", n)); base 71 media/video/capture/fake_video_capture_device.cc int number_of_devices = base::subtle::NoBarrier_Load(&number_of_devices_); base 73 media/video/capture/fake_video_capture_device.cc std::string possible_id = base::StringPrintf("/dev/video%d", n); base 88 media/video/capture/fake_video_capture_device.cc base::subtle::NoBarrier_AtomicExchange(&number_of_devices_, base 111 media/video/capture/fake_video_capture_device.cc base::Bind(&FakeVideoCaptureDevice::OnAllocateAndStart, base 112 media/video/capture/fake_video_capture_device.cc base::Unretained(this), base 114 media/video/capture/fake_video_capture_device.cc base::Passed(&client))); base 122 media/video/capture/fake_video_capture_device.cc base::Bind(&FakeVideoCaptureDevice::OnStopAndDeAllocate, base 123 media/video/capture/fake_video_capture_device.cc base::Unretained(this))); base 130 media/video/capture/fake_video_capture_device.cc DCHECK_EQ(capture_thread_.message_loop(), base::MessageLoop::current()); base 153 media/video/capture/fake_video_capture_device.cc base::Bind(&FakeVideoCaptureDevice::OnCaptureTask, base 154 media/video/capture/fake_video_capture_device.cc base::Unretained(this))); base 158 media/video/capture/fake_video_capture_device.cc DCHECK_EQ(capture_thread_.message_loop(), base::MessageLoop::current()); base 208 media/video/capture/fake_video_capture_device.cc base::StringPrintf("%d:%02d:%02d:%03d %d", hours, minutes, base 227 media/video/capture/fake_video_capture_device.cc base::TimeTicks::Now()); base 235 media/video/capture/fake_video_capture_device.cc base::Bind(&FakeVideoCaptureDevice::OnCaptureTask, base 236 media/video/capture/fake_video_capture_device.cc base::Unretained(this)), base 237 media/video/capture/fake_video_capture_device.cc base::TimeDelta::FromMilliseconds(kFakeCaptureTimeoutMs)); base 241 media/video/capture/fake_video_capture_device.cc DCHECK_EQ(capture_thread_.message_loop(), base::MessageLoop::current()); base 254 media/video/capture/fake_video_capture_device.cc DCHECK_EQ(capture_thread_.message_loop(), base::MessageLoop::current()); base 54 media/video/capture/fake_video_capture_device.h base::ThreadChecker thread_checker_; base 56 media/video/capture/fake_video_capture_device.h base::Thread capture_thread_; base 74 media/video/capture/fake_video_capture_device.h static base::subtle::Atomic32 number_of_devices_; base 26 media/video/capture/file_video_capture_device.cc int ParseY4MInt(const base::StringPiece& token) { base 28 media/video/capture/file_video_capture_device.cc CHECK(base::StringToInt(token, &temp_int)) << token; base 34 media/video/capture/file_video_capture_device.cc void ParseY4MRational(const base::StringPiece& token, base 62 media/video/capture/file_video_capture_device.cc base::StringPiece token; base 68 media/video/capture/file_video_capture_device.cc base::StringPiece(&file_header[index + 1], blank_position - index - 1); base 114 media/video/capture/file_video_capture_device.cc base::File* file, base 128 media/video/capture/file_video_capture_device.cc base::File OpenFileForRead(const base::FilePath& file_path) { base 129 media/video/capture/file_video_capture_device.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 135 media/video/capture/file_video_capture_device.cc base::FilePath GetFilePathFromCommandLine() { base 136 media/video/capture/file_video_capture_device.cc base::FilePath command_line_file_path = base 145 media/video/capture/file_video_capture_device.cc base::FilePath command_line_file_path = GetFilePathFromCommandLine(); base 148 media/video/capture/file_video_capture_device.cc Name(base::SysWideToUTF8(command_line_file_path.value()), base 159 media/video/capture/file_video_capture_device.cc base::File file = OpenFileForRead(GetFilePathFromCommandLine()); base 168 media/video/capture/file_video_capture_device.cc base::FilePath(base::SysUTF8ToWide(device_name.name()))); base 170 media/video/capture/file_video_capture_device.cc return new FileVideoCaptureDevice(base::FilePath(device_name.name())); base 174 media/video/capture/file_video_capture_device.cc FileVideoCaptureDevice::FileVideoCaptureDevice(const base::FilePath& file_path) base 197 media/video/capture/file_video_capture_device.cc base::Bind(&FileVideoCaptureDevice::OnAllocateAndStart, base 198 media/video/capture/file_video_capture_device.cc base::Unretained(this), base 200 media/video/capture/file_video_capture_device.cc base::Passed(&client))); base 209 media/video/capture/file_video_capture_device.cc base::Bind(&FileVideoCaptureDevice::OnStopAndDeAllocate, base 210 media/video/capture/file_video_capture_device.cc base::Unretained(this))); base 216 media/video/capture/file_video_capture_device.cc DCHECK_EQ(capture_thread_.message_loop(), base::MessageLoop::current()); base 223 media/video/capture/file_video_capture_device.cc DCHECK_EQ(capture_thread_.message_loop(), base::MessageLoop::current()); base 241 media/video/capture/file_video_capture_device.cc base::Bind(&FileVideoCaptureDevice::OnCaptureTask, base 242 media/video/capture/file_video_capture_device.cc base::Unretained(this))); base 246 media/video/capture/file_video_capture_device.cc DCHECK_EQ(capture_thread_.message_loop(), base::MessageLoop::current()); base 256 media/video/capture/file_video_capture_device.cc DCHECK_EQ(capture_thread_.message_loop(), base::MessageLoop::current()); base 281 media/video/capture/file_video_capture_device.cc base::TimeTicks::Now()); base 283 media/video/capture/file_video_capture_device.cc base::MessageLoop::current()->PostDelayedTask( base 285 media/video/capture/file_video_capture_device.cc base::Bind(&FileVideoCaptureDevice::OnCaptureTask, base 286 media/video/capture/file_video_capture_device.cc base::Unretained(this)), base 287 media/video/capture/file_video_capture_device.cc base::TimeDelta::FromSeconds(1) / capture_format_.frame_rate); base 46 media/video/capture/file_video_capture_device.h explicit FileVideoCaptureDevice(const base::FilePath& file_path); base 59 media/video/capture/file_video_capture_device.h base::ThreadChecker thread_checker_; base 63 media/video/capture/file_video_capture_device.h base::Thread capture_thread_; base 66 media/video/capture/file_video_capture_device.h const base::FilePath file_path_; base 67 media/video/capture/file_video_capture_device.h base::File file_; base 115 media/video/capture/linux/video_capture_device_linux.cc base::FilePath path("/dev/"); base 116 media/video/capture/linux/video_capture_device_linux.cc base::FileEnumerator enumerator( base 117 media/video/capture/linux/video_capture_device_linux.cc path, false, base::FileEnumerator::FILES, "video*"); base 120 media/video/capture/linux/video_capture_device_linux.cc base::FileEnumerator::FileInfo info = enumerator.GetInfo(); base 123 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(unique_id.c_str(), O_RDONLY))); base 135 media/video/capture/linux/video_capture_device_linux.cc Name device_name(base::StringPrintf("%s", cap.card), unique_id); base 149 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(device.id().c_str(), O_RDONLY))); base 237 media/video/capture/linux/video_capture_device_linux.cc base::StringPrintf(kVidPathTemplate, file_name.c_str()); base 239 media/video/capture/linux/video_capture_device_linux.cc base::StringPrintf(kPidPathTemplate, file_name.c_str()); base 258 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(device_name.id().c_str(), O_RDONLY))); base 293 media/video/capture/linux/video_capture_device_linux.cc base::Bind(&VideoCaptureDeviceLinux::OnAllocateAndStart, base 294 media/video/capture/linux/video_capture_device_linux.cc base::Unretained(this), base 298 media/video/capture/linux/video_capture_device_linux.cc base::Passed(&client))); base 307 media/video/capture/linux/video_capture_device_linux.cc base::Bind(&VideoCaptureDeviceLinux::OnStopAndDeAllocate, base 308 media/video/capture/linux/video_capture_device_linux.cc base::Unretained(this))); base 320 media/video/capture/linux/video_capture_device_linux.cc DCHECK_EQ(v4l2_thread_.message_loop(), base::MessageLoop::current()); base 429 media/video/capture/linux/video_capture_device_linux.cc base::Bind(&VideoCaptureDeviceLinux::OnCaptureTask, base 430 media/video/capture/linux/video_capture_device_linux.cc base::Unretained(this))); base 434 media/video/capture/linux/video_capture_device_linux.cc DCHECK_EQ(v4l2_thread_.message_loop(), base::MessageLoop::current()); base 454 media/video/capture/linux/video_capture_device_linux.cc DCHECK_EQ(v4l2_thread_.message_loop(), base::MessageLoop::current()); base 481 media/video/capture/linux/video_capture_device_linux.cc base::Bind(&VideoCaptureDeviceLinux::OnCaptureTask, base 482 media/video/capture/linux/video_capture_device_linux.cc base::Unretained(this)), base 483 media/video/capture/linux/video_capture_device_linux.cc base::TimeDelta::FromMilliseconds(kCaptureSelectWaitMs)); base 490 media/video/capture/linux/video_capture_device_linux.cc SetErrorState(base::StringPrintf( base 512 media/video/capture/linux/video_capture_device_linux.cc base::TimeTicks::Now()); base 516 media/video/capture/linux/video_capture_device_linux.cc SetErrorState(base::StringPrintf( base 520 media/video/capture/linux/video_capture_device_linux.cc SetErrorState(base::StringPrintf( base 528 media/video/capture/linux/video_capture_device_linux.cc base::Bind(&VideoCaptureDeviceLinux::OnCaptureTask, base 529 media/video/capture/linux/video_capture_device_linux.cc base::Unretained(this))); base 604 media/video/capture/linux/video_capture_device_linux.cc v4l2_thread_.message_loop() == base::MessageLoop::current()); base 64 media/video/capture/linux/video_capture_device_linux.h base::ScopedFD device_fd_; // File descriptor for the opened camera device. base 65 media/video/capture/linux/video_capture_device_linux.h base::Thread v4l2_thread_; // Thread used for reading data from the device. base 67 media/video/capture/mac/video_capture_device_avfoundation_mac.h base::Lock lock_; // Protects concurrent setting and using of frameReceiver_. base 70 media/video/capture/mac/video_capture_device_avfoundation_mac.h base::scoped_nsobject<CrAVCaptureSession> captureSession_; base 77 media/video/capture/mac/video_capture_device_avfoundation_mac.h base::scoped_nsobject<CrAVCaptureVideoDataOutput> captureVideoDataOutput_; base 79 media/video/capture/mac/video_capture_device_avfoundation_mac.h base::ThreadChecker main_thread_checker_; base 80 media/video/capture/mac/video_capture_device_avfoundation_mac.h base::ThreadChecker callback_thread_checker_; base 22 media/video/capture/mac/video_capture_device_mac.h namespace base { base 76 media/video/capture/mac/video_capture_device_mac.h const scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 84 media/video/capture/mac/video_capture_device_mac.h base::WeakPtrFactory<VideoCaptureDeviceMac> weak_factory_; base 53 media/video/capture/video_capture.h typedef base::Callback<void(const media::VideoCaptureFormats&)> base 56 media/video/capture/video_capture.h typedef base::Callback<void(const media::VideoCaptureFormats&)> base 120 media/video/capture/video_capture_device.h class Buffer : public base::RefCountedThreadSafe<Buffer> { base 127 media/video/capture/video_capture_device.h friend class base::RefCountedThreadSafe<Buffer>; base 164 media/video/capture/video_capture_device.h base::TimeTicks timestamp) = 0; base 175 media/video/capture/video_capture_device.h base::TimeTicks timestamp) = 0; base 69 media/video/capture/video_capture_device_unittest.cc explicit MockClient(base::Callback<void(const VideoCaptureFormat&)> frame_cb) base 70 media/video/capture/video_capture_device_unittest.cc : main_thread_(base::MessageLoopProxy::current()), frame_cb_(frame_cb) {} base 80 media/video/capture/video_capture_device_unittest.cc base::TimeTicks timestamp) OVERRIDE { base 81 media/video/capture/video_capture_device_unittest.cc main_thread_->PostTask(FROM_HERE, base::Bind(frame_cb_, format)); base 88 media/video/capture/video_capture_device_unittest.cc base::TimeTicks timestamp) OVERRIDE { base 93 media/video/capture/video_capture_device_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> main_thread_; base 94 media/video/capture/video_capture_device_unittest.cc base::Callback<void(const VideoCaptureFormat&)> frame_cb_; base 102 media/video/capture/video_capture_device_unittest.cc : loop_(new base::MessageLoop()), base 104 media/video/capture/video_capture_device_unittest.cc new MockClient(base::Bind(&VideoCaptureDeviceTest::OnFrameCaptured, base 105 media/video/capture/video_capture_device_unittest.cc base::Unretained(this)))) {} base 110 media/video/capture/video_capture_device_unittest.cc base::android::AttachCurrentThread()); base 115 media/video/capture/video_capture_device_unittest.cc client_.reset(new MockClient(base::Bind( base 116 media/video/capture/video_capture_device_unittest.cc &VideoCaptureDeviceTest::OnFrameCaptured, base::Unretained(this)))); base 125 media/video/capture/video_capture_device_unittest.cc run_loop_.reset(new base::RunLoop()); base 132 media/video/capture/video_capture_device_unittest.cc base::win::ScopedCOMInitializer initialize_com_; base 135 media/video/capture/video_capture_device_unittest.cc scoped_ptr<base::MessageLoop> loop_; base 136 media/video/capture/video_capture_device_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 30 media/video/capture/video_capture_proxy.cc const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner) base 39 media/video/capture/video_capture_proxy.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 41 media/video/capture/video_capture_proxy.cc base::Unretained(this), base 47 media/video/capture/video_capture_proxy.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 49 media/video/capture/video_capture_proxy.cc base::Unretained(this), base 55 media/video/capture/video_capture_proxy.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 57 media/video/capture/video_capture_proxy.cc base::Unretained(this), base 63 media/video/capture/video_capture_proxy.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 65 media/video/capture/video_capture_proxy.cc base::Unretained(this), base 72 media/video/capture/video_capture_proxy.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 74 media/video/capture/video_capture_proxy.cc base::Unretained(this), base 84 media/video/capture/video_capture_proxy.cc base::Bind(&VideoCaptureHandlerProxy::OnFrameReadyOnMainThread, base 85 media/video/capture/video_capture_proxy.cc base::Unretained(this), base 12 media/video/capture/video_capture_proxy.h namespace base { base 39 media/video/capture/video_capture_proxy.h const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner); base 80 media/video/capture/video_capture_proxy.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 33 media/video/capture/win/capability_list_win.h class CapabilityList : public base::NonThreadSafe { base 14 media/video/capture/win/filter_base_win.cc public base::RefCounted<PinEnumerator> { base 35 media/video/capture/win/filter_base_win.cc base::RefCounted<PinEnumerator>::AddRef(); base 40 media/video/capture/win/filter_base_win.cc base::RefCounted<PinEnumerator>::Release(); base 168 media/video/capture/win/filter_base_win.cc base::RefCounted<FilterBase>::AddRef(); base 173 media/video/capture/win/filter_base_win.cc base::RefCounted<FilterBase>::Release(); base 22 media/video/capture/win/filter_base_win.h public base::RefCounted<FilterBase> { base 66 media/video/capture/win/filter_base_win.h base::win::ScopedComPtr<IFilterGraph> owning_graph_; base 14 media/video/capture/win/pin_base_win.cc public base::RefCounted<TypeEnumerator> { base 35 media/video/capture/win/pin_base_win.cc base::RefCounted<TypeEnumerator>::AddRef(); base 40 media/video/capture/win/pin_base_win.cc base::RefCounted<TypeEnumerator>::Release(); base 281 media/video/capture/win/pin_base_win.cc base::RefCounted<PinBase>::AddRef(); base 286 media/video/capture/win/pin_base_win.cc base::RefCounted<PinBase>::Release(); base 23 media/video/capture/win/pin_base_win.h public base::RefCounted<PinBase> { base 99 media/video/capture/win/pin_base_win.h base::win::ScopedComPtr<IPin> connected_pin_; base 19 media/video/capture/win/video_capture_device_mf_win.cc using base::win::ScopedCoMem; base 20 media/video/capture/win/video_capture_device_mf_win.cc using base::win::ScopedComPtr; base 37 media/video/capture/win/video_capture_device_mf_win.cc static base::LazyInstance<MFInitializerSingleton> g_mf_initialize = base 69 media/video/capture/win/video_capture_device_mf_win.cc base::SysUTF8ToWide(sym_link).c_str()); base 177 media/video/capture/win/video_capture_device_mf_win.cc : public base::RefCountedThreadSafe<MFReaderCallback>, base 184 media/video/capture/win/video_capture_device_mf_win.cc void SetSignalOnFlush(base::WaitableEvent* event) { base 197 media/video/capture/win/video_capture_device_mf_win.cc base::RefCountedThreadSafe<MFReaderCallback>::AddRef(); base 202 media/video/capture/win/video_capture_device_mf_win.cc base::RefCountedThreadSafe<MFReaderCallback>::Release(); base 208 media/video/capture/win/video_capture_device_mf_win.cc base::TimeTicks stamp(base::TimeTicks::Now()); base 249 media/video/capture/win/video_capture_device_mf_win.cc base::WaitableEvent* wait_event_; base 256 media/video/capture/win/video_capture_device_mf_win.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 280 media/video/capture/win/video_capture_device_mf_win.cc Name device(base::SysWideToUTF8(name_w), base::SysWideToUTF8(id_w), base 298 media/video/capture/win/video_capture_device_mf_win.cc base::win::ScopedComPtr<IMFSourceReader> reader; base 397 media/video/capture/win/video_capture_device_mf_win.cc base::AutoLock lock(lock_); base 436 media/video/capture/win/video_capture_device_mf_win.cc base::WaitableEvent flushed(false, false); base 440 media/video/capture/win/video_capture_device_mf_win.cc base::AutoLock lock(lock_); base 459 media/video/capture/win/video_capture_device_mf_win.cc flushed.TimedWait(base::TimeDelta::FromMilliseconds(kFlushTimeOutInMs)); base 466 media/video/capture/win/video_capture_device_mf_win.cc const base::TimeTicks& time_stamp) { base 467 media/video/capture/win/video_capture_device_mf_win.cc base::AutoLock lock(lock_); base 488 media/video/capture/win/video_capture_device_mf_win.cc std::string log_msg = base::StringPrintf("VideoCaptureDeviceMFWin: %x", hr); base 30 media/video/capture/win/video_capture_device_mf_win.h : public base::NonThreadSafe, base 62 media/video/capture/win/video_capture_device_mf_win.h const base::TimeTicks& time_stamp); base 68 media/video/capture/win/video_capture_device_mf_win.h base::win::ScopedComPtr<IMFActivate> device_; base 71 media/video/capture/win/video_capture_device_mf_win.h base::Lock lock_; // Used to guard the below variables. base 73 media/video/capture/win/video_capture_device_mf_win.h base::win::ScopedComPtr<IMFSourceReader> reader_; base 20 media/video/capture/win/video_capture_device_win.cc using base::win::ScopedCoMem; base 21 media/video/capture/win/video_capture_device_win.cc using base::win::ScopedComPtr; base 22 media/video/capture/win/video_capture_device_win.cc using base::win::ScopedVariant; base 67 media/video/capture/win/video_capture_device_win.cc std::string device_path(base::SysWideToUTF8(V_BSTR(&name))); base 216 media/video/capture/win/video_capture_device_win.cc if ((base::win::IsMetroProcess() && base 218 media/video/capture/win/video_capture_device_win.cc (base::win::GetVersion() >= base::win::VERSION_WIN7 && base 234 media/video/capture/win/video_capture_device_win.cc if ((base::win::IsMetroProcess() && base 236 media/video/capture/win/video_capture_device_win.cc (base::win::GetVersion() >= base::win::VERSION_WIN7 && base 320 media/video/capture/win/video_capture_device_win.cc std::string device_name(base::SysWideToUTF8(str_ptr)); base 327 media/video/capture/win/video_capture_device_win.cc id = base::SysWideToUTF8(V_BSTR(&name)); base 374 media/video/capture/win/video_capture_device_win.cc if (device.id() == base::SysWideToUTF8(V_BSTR(&device_id))) base 380 media/video/capture/win/video_capture_device_win.cc base::win::ScopedComPtr<IBaseFilter> capture_filter; base 387 media/video/capture/win/video_capture_device_win.cc base::win::ScopedComPtr<IPin> output_capture_pin( base 664 media/video/capture/win/video_capture_device_win.cc buffer, length, capture_format_, 0, base::TimeTicks::Now()); base 32 media/video/capture/win/video_capture_device_win.h : public base::NonThreadSafe, base 70 media/video/capture/win/video_capture_device_win.h base::win::ScopedComPtr<IBaseFilter> capture_filter_; base 71 media/video/capture/win/video_capture_device_win.h base::win::ScopedComPtr<IGraphBuilder> graph_builder_; base 72 media/video/capture/win/video_capture_device_win.h base::win::ScopedComPtr<IMediaControl> media_control_; base 73 media/video/capture/win/video_capture_device_win.h base::win::ScopedComPtr<IPin> input_sink_pin_; base 74 media/video/capture/win/video_capture_device_win.h base::win::ScopedComPtr<IPin> output_capture_pin_; base 76 media/video/capture/win/video_capture_device_win.h base::win::ScopedComPtr<IBaseFilter> mjpg_filter_; base 77 media/video/capture/win/video_capture_device_win.h base::win::ScopedComPtr<IPin> input_mjpg_pin_; base 78 media/video/capture/win/video_capture_device_win.h base::win::ScopedComPtr<IPin> output_mjpg_pin_; base 68 mojo/apps/js/bindings/gl/context.h base::WeakPtr<gin::Runner> runner_; base 18 mojo/apps/js/bindings/threading.cc base::MessageLoop::current()->QuitNow(); base 26 mojo/apps/js/main.cc base::MessageLoop loop; base 33 mojo/apps/js/main.cc base::MessageLoop::current()->Run(); base 28 mojo/apps/js/mojo_runner_delegate.cc std::vector<base::FilePath> GetModuleSearchPaths() { base 29 mojo/apps/js/mojo_runner_delegate.cc std::vector<base::FilePath> search_paths(2); base 30 mojo/apps/js/mojo_runner_delegate.cc PathService::Get(base::DIR_SOURCE_ROOT, &search_paths[0]); base 31 mojo/apps/js/mojo_runner_delegate.cc PathService::Get(base::DIR_EXE, &search_paths[1]); base 36 mojo/apps/js/mojo_runner_delegate.cc void StartCallback(base::WeakPtr<gin::Runner> runner, base 71 mojo/apps/js/mojo_runner_delegate.cc base::Bind(StartCallback, runner->GetWeakPtr(), pipe)); base 38 mojo/apps/js/test/run_apps_js_tests.cc base::FilePath path; base 39 mojo/apps/js/test/run_apps_js_tests.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 31 mojo/bindings/js/run_js_tests.cc base::FilePath path; base 32 mojo/bindings/js/run_js_tests.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 40 mojo/bindings/js/waiting_callback.h base::WeakPtr<gin::Runner> runner_; base 14 mojo/common/common_type_converters.cc String TypeConverter<String, base::StringPiece>::ConvertFrom( base 15 mojo/common/common_type_converters.cc const base::StringPiece& input, base 24 mojo/common/common_type_converters.cc base::StringPiece TypeConverter<String, base::StringPiece>::ConvertTo( base 26 mojo/common/common_type_converters.cc return input.is_null() ? base::StringPiece() : base 27 mojo/common/common_type_converters.cc base::StringPiece(&input[0], input.size()); base 31 mojo/common/common_type_converters.cc String TypeConverter<String, base::string16>::ConvertFrom( base 32 mojo/common/common_type_converters.cc const base::string16& input, base 34 mojo/common/common_type_converters.cc return TypeConverter<String, base::StringPiece>::ConvertFrom( base 35 mojo/common/common_type_converters.cc base::UTF16ToUTF8(input), buf); base 38 mojo/common/common_type_converters.cc base::string16 TypeConverter<String, base::string16>::ConvertTo( base 40 mojo/common/common_type_converters.cc return input.is_null() ? base::string16() : base 41 mojo/common/common_type_converters.cc base::UTF8ToUTF16(base::StringPiece(&input[0], input.size())); base 17 mojo/common/common_type_converters.h class MOJO_COMMON_EXPORT TypeConverter<String, base::StringPiece> { base 19 mojo/common/common_type_converters.h static String ConvertFrom(const base::StringPiece& input, Buffer* buf); base 20 mojo/common/common_type_converters.h static base::StringPiece ConvertTo(const String& input); base 24 mojo/common/common_type_converters.h class MOJO_COMMON_EXPORT TypeConverter<String, base::string16> { base 26 mojo/common/common_type_converters.h static String ConvertFrom(const base::string16& input, Buffer* buf); base 27 mojo/common/common_type_converters.h static base::string16 ConvertTo(const String& input); base 17 mojo/common/common_type_converters_unittest.cc const base::StringPiece& str) { base 26 mojo/common/common_type_converters_unittest.cc void ExpectEqualsString16(const base::string16& expected, base 27 mojo/common/common_type_converters_unittest.cc const base::string16& actual) { base 31 mojo/common/common_type_converters_unittest.cc void ExpectEqualsMojoString(const base::string16& expected, base 33 mojo/common/common_type_converters_unittest.cc EXPECT_EQ(expected, str.To<base::string16>()); base 43 mojo/common/common_type_converters_unittest.cc base::StringPiece string_piece(kText); base 47 mojo/common/common_type_converters_unittest.cc ExpectEqualsStringPiece(kText, mojo_string.To<base::StringPiece>()); base 54 mojo/common/common_type_converters_unittest.cc base::StringPiece empty_string_piece = String(); base 61 mojo/common/common_type_converters_unittest.cc const base::string16 string16(base::ASCIIToUTF16("hello world")); base 65 mojo/common/common_type_converters_unittest.cc EXPECT_EQ(string16, mojo_string.To<base::string16>()); base 72 mojo/common/common_type_converters_unittest.cc ExpectEqualsMojoString(base::string16(), base::string16()); base 35 mojo/common/environment_data.cc base::AutoLock auto_lock(data_lock_); base 46 mojo/common/environment_data.cc base::AutoLock auto_lock(data_lock_); base 42 mojo/common/environment_data.h base::Lock data_lock_; base 37 mojo/common/handle_watcher.cc scoped_ptr<base::MessagePump> CreateMessagePumpMojo() { base 39 mojo/common/handle_watcher.cc return scoped_ptr<base::MessagePump>(message_pump_mojo).Pass(); base 42 mojo/common/handle_watcher.cc base::TimeTicks MojoDeadlineToTimeTicks(MojoDeadline deadline) { base 43 mojo/common/handle_watcher.cc return deadline == MOJO_DEADLINE_INDEFINITE ? base::TimeTicks() : base 44 mojo/common/handle_watcher.cc internal::NowTicks() + base::TimeDelta::FromMicroseconds(deadline); base 57 mojo/common/handle_watcher.cc base::TimeTicks deadline; base 58 mojo/common/handle_watcher.cc base::Callback<void(MojoResult)> callback; base 59 mojo/common/handle_watcher.cc scoped_refptr<base::MessageLoopProxy> message_loop; base 131 mojo/common/handle_watcher.cc data.message_loop->PostTask(FROM_HERE, base::Bind(data.callback, result)); base 171 mojo/common/handle_watcher.cc base::TimeTicks deadline, base 172 mojo/common/handle_watcher.cc const base::Callback<void(MojoResult)>& callback); base 181 mojo/common/handle_watcher.cc base::Thread thread_; base 183 mojo/common/handle_watcher.cc base::AtomicSequenceNumber watcher_id_generator_; base 198 mojo/common/handle_watcher.cc static base::LazyInstance<base::Lock> thread_lookup_lock = base 202 mojo/common/handle_watcher.cc base::AutoLock auto_lock(thread_lookup_lock.Get()); base 218 mojo/common/handle_watcher.cc base::TimeTicks deadline, base 219 mojo/common/handle_watcher.cc const base::Callback<void(MojoResult)>& callback) { base 226 mojo/common/handle_watcher.cc data.message_loop = base::MessageLoopProxy::current(); base 227 mojo/common/handle_watcher.cc DCHECK_NE(static_cast<base::MessageLoopProxy*>(NULL), base 232 mojo/common/handle_watcher.cc base::Bind(&WatcherBackend::StartWatching, base 233 mojo/common/handle_watcher.cc base::Unretained(&backend_), base 242 mojo/common/handle_watcher.cc base::Bind(&WatcherBackend::StopWatching, base 243 mojo/common/handle_watcher.cc base::Unretained(&backend_), base 249 mojo/common/handle_watcher.cc base::Thread::Options thread_options; base 250 mojo/common/handle_watcher.cc thread_options.message_pump_factory = base::Bind(&CreateMessagePumpMojo); base 270 mojo/common/handle_watcher.cc base::Callback<void(MojoResult)> callback; base 278 mojo/common/handle_watcher.cc base::WeakPtrFactory<HandleWatcher> weak_factory; base 293 mojo/common/handle_watcher.cc const base::Callback<void(MojoResult)>& callback) { base 306 mojo/common/handle_watcher.cc base::Bind(&HandleWatcher::OnHandleReady, base 15 mojo/common/handle_watcher.h namespace base { base 40 mojo/common/handle_watcher.h const base::Callback<void(MojoResult)>& callback); base 24 mojo/common/handle_watcher_unittest.cc base::RunLoop run_loop; base 30 mojo/common/handle_watcher_unittest.cc base::Callback<void(MojoResult)> next_callback, base 58 mojo/common/handle_watcher_unittest.cc base::RunLoop run_loop; base 59 mojo/common/handle_watcher_unittest.cc base::AutoReset<base::RunLoop*> reseter(&run_loop_, &run_loop); base 63 mojo/common/handle_watcher_unittest.cc base::Callback<void(MojoResult)> GetCallback() { base 64 mojo/common/handle_watcher_unittest.cc return base::Bind(&CallbackHelper::OnCallback, weak_factory_.GetWeakPtr()); base 73 mojo/common/handle_watcher_unittest.cc const base::Callback<void(MojoResult)>& callback) { base 89 mojo/common/handle_watcher_unittest.cc base::RunLoop* run_loop_; base 91 mojo/common/handle_watcher_unittest.cc base::WeakPtrFactory<CallbackHelper> weak_factory_; base 117 mojo/common/handle_watcher_unittest.cc base::SimpleTestTickClock tick_clock_; base 120 mojo/common/handle_watcher_unittest.cc base::MessageLoop message_loop_; base 292 mojo/common/handle_watcher_unittest.cc tick_clock_.Advance(base::TimeDelta::FromMicroseconds(501)); base 309 mojo/common/handle_watcher_unittest.cc base::Bind(&DeleteWatcherAndForwardResult, base 30 mojo/common/message_pump_mojo.cc base::TimeTicks delayed_work_time; base 46 mojo/common/message_pump_mojo.cc scoped_ptr<base::MessagePump> MessagePumpMojo::Create() { base 53 mojo/common/message_pump_mojo.cc base::TimeTicks deadline) { base 118 mojo/common/message_pump_mojo.cc const base::TimeTicks& delayed_work_time) { base 156 mojo/common/message_pump_mojo.cc const base::TimeTicks now(internal::NowTicks()); base 213 mojo/common/message_pump_mojo.cc base::TimeTicks min_time = run_state_->delayed_work_time; base 22 mojo/common/message_pump_mojo.h class MOJO_COMMON_EXPORT MessagePumpMojo : public base::MessagePump { base 29 mojo/common/message_pump_mojo.h static scoped_ptr<base::MessagePump> Create(); base 36 mojo/common/message_pump_mojo.h base::TimeTicks deadline); base 45 mojo/common/message_pump_mojo.h const base::TimeTicks& delayed_work_time) OVERRIDE; base 57 mojo/common/message_pump_mojo.h base::TimeTicks deadline; base 14 mojo/common/message_pump_mojo_unittest.cc scoped_ptr<base::MessagePump> CreateMojoMessagePump() { base 15 mojo/common/message_pump_mojo_unittest.cc return scoped_ptr<base::MessagePump>(new MessagePumpMojo()); base 18 mojo/common/test/multiprocess_test_helper.cc : test_child_handle_(base::kNullProcessHandle) { base 24 mojo/common/test/multiprocess_test_helper.cc CHECK_EQ(test_child_handle_, base::kNullProcessHandle); base 32 mojo/common/test/multiprocess_test_helper.cc CHECK_EQ(test_child_handle_, base::kNullProcessHandle); base 36 mojo/common/test/multiprocess_test_helper.cc CommandLine command_line(base::GetMultiProcessTestChildBaseCommandLine()); base 41 mojo/common/test/multiprocess_test_helper.cc base::LaunchOptions options; base 52 mojo/common/test/multiprocess_test_helper.cc base::SpawnMultiProcessTestChild(test_child_main, command_line, options); base 55 mojo/common/test/multiprocess_test_helper.cc CHECK_NE(test_child_handle_, base::kNullProcessHandle); base 59 mojo/common/test/multiprocess_test_helper.cc CHECK_NE(test_child_handle_, base::kNullProcessHandle); base 62 mojo/common/test/multiprocess_test_helper.cc CHECK(base::WaitForExitCodeWithTimeout( base 64 mojo/common/test/multiprocess_test_helper.cc base::CloseProcessHandle(test_child_handle_); base 65 mojo/common/test/multiprocess_test_helper.cc test_child_handle_ = base::kNullProcessHandle; base 62 mojo/common/test/multiprocess_test_helper.h base::ProcessHandle test_child_handle_; base 13 mojo/common/test/run_all_perftests.cc return base::PerfTestSuite(argc, argv).Run(); base 18 mojo/common/test/run_all_unittests.cc base::TestSuite test_suite(argc, argv); base 23 mojo/common/test/run_all_unittests.cc return base::LaunchUnitTests( base 24 mojo/common/test/run_all_unittests.cc argc, argv, base::Bind(&base::TestSuite::Run, base 25 mojo/common/test/run_all_unittests.cc base::Unretained(&test_suite))); base 21 mojo/common/test/test_support_impl.cc base::LogPerfResult(test_name, value, units); base 14 mojo/common/time_helper.cc base::TickClock* tick_clock = NULL; base 20 mojo/common/time_helper.cc void SetTickClockForTest(base::TickClock* clock) { base 27 mojo/common/time_helper.cc base::TimeTicks NowTicks() { base 28 mojo/common/time_helper.cc return tick_clock ? tick_clock->NowTicks() : base::TimeTicks::Now(); base 11 mojo/common/time_helper.h namespace base { base 21 mojo/common/time_helper.h MOJO_COMMON_EXPORT void SetTickClockForTest(base::TickClock* clock); base 28 mojo/common/time_helper.h MOJO_COMMON_EXPORT base::TimeTicks NowTicks(); base 28 mojo/embedder/embedder.cc scoped_refptr<base::TaskRunner> callback_thread_task_runner) { base 50 mojo/embedder/embedder.cc base::Bind(callback, base 63 mojo/embedder/embedder.cc scoped_refptr<base::TaskRunner> io_thread_task_runner, base 65 mojo/embedder/embedder.cc scoped_refptr<base::TaskRunner> callback_thread_task_runner) { base 79 mojo/embedder/embedder.cc base::Bind(&CreateChannelOnIOThread, base 80 mojo/embedder/embedder.cc base::Passed(&platform_handle), base 49 mojo/embedder/embedder.h typedef base::Callback<void(ChannelInfo*)> DidCreateChannelCallback; base 52 mojo/embedder/embedder.h scoped_refptr<base::TaskRunner> io_thread_task_runner, base 54 mojo/embedder/embedder.h scoped_refptr<base::TaskRunner> callback_thread_task_runner); base 34 mojo/embedder/embedder_unittest.cc ScopedTestChannel(scoped_refptr<base::TaskRunner> io_thread_task_runner, base 42 mojo/embedder/embedder_unittest.cc base::Bind(&ScopedTestChannel::DidCreateChannel, base 43 mojo/embedder/embedder_unittest.cc base::Unretained(this)), NULL).release().value(); base 53 mojo/embedder/embedder_unittest.cc base::Bind(&ScopedTestChannel::DestroyChannel, base::Unretained(this))); base 81 mojo/embedder/embedder_unittest.cc scoped_refptr<base::TaskRunner> io_thread_task_runner_; base 91 mojo/embedder/embedder_unittest.cc base::WaitableEvent did_create_channel_event_; base 15 mojo/embedder/platform_channel_pair.h namespace base { base 25 mojo/embedder/platform_channel_pair.h typedef base::HandlesToInheritVector HandlePassingInformation; base 27 mojo/embedder/platform_channel_pair.h typedef base::FileHandleMappingVector HandlePassingInformation; base 63 mojo/embedder/platform_channel_pair.h const base::CommandLine& command_line); base 70 mojo/embedder/platform_channel_pair.h base::CommandLine* command_line, base 25 mojo/embedder/platform_channel_pair_posix.cc const base::FileHandleMappingVector& file_handle_mapping, base 68 mojo/embedder/platform_channel_pair_posix.cc !base::StringToInt(client_fd_string, &client_fd) || base 69 mojo/embedder/platform_channel_pair_posix.cc client_fd < base::GlobalDescriptors::kBaseDescriptor) { base 79 mojo/embedder/platform_channel_pair_posix.cc base::FileHandleMappingVector* handle_passing_info) const { base 91 mojo/embedder/platform_channel_pair_posix.cc int target_fd = base::GlobalDescriptors::kBaseDescriptor; base 107 mojo/embedder/platform_channel_pair_posix.cc base::IntToString(target_fd)); base 25 mojo/embedder/platform_channel_pair_win.cc return base::StringPrintf( base 27 mojo/embedder/platform_channel_pair_win.cc GetCurrentProcessId(), GetCurrentThreadId(), base::RandUint64()); base 82 mojo/embedder/platform_channel_pair_win.cc !base::StringToInt(client_handle_string, &client_handle_value)) { base 93 mojo/embedder/platform_channel_pair_win.cc base::HandlesToInheritVector* handle_passing_info) const { base 98 mojo/embedder/platform_channel_pair_win.cc CHECK_GE(base::win::GetVersion(), base::win::VERSION_VISTA); base 113 mojo/embedder/platform_channel_pair_win.cc base::IntToString(HandleToLong(client_handle_.get().handle))); base 31 mojo/environment/async_waiter_impl.cc base::Bind(&OnHandleReady, watcher, callback, user_data)); base 14 mojo/environment/buffer_tls_impl.cc base::LazyInstance<base::ThreadLocalPointer<Buffer> >::Leaky lazy_tls_ptr = base 31 mojo/environment/default_async_waiter_impl.cc base::Bind(&OnHandleReady, watcher, callback, closure)); base 128 mojo/examples/aura_demo/aura_demo.cc base::Bind(&AuraDemo::HostContextCreated, base::Unretained(this)))); base 183 mojo/examples/aura_demo/aura_demo.cc base::AtExitManager at_exit; base 184 mojo/examples/aura_demo/aura_demo.cc base::MessageLoop loop; base 32 mojo/examples/aura_demo/window_tree_host_mojo.cc const base::Callback<void()>& compositor_created_callback) base 123 mojo/examples/aura_demo/window_tree_host_mojo.cc const base::NativeEvent& native_event) { base 166 mojo/examples/aura_demo/window_tree_host_mojo.cc base::MessageLoop::current()->Quit(); base 28 mojo/examples/aura_demo/window_tree_host_mojo.h const base::Callback<void()>& compositor_created_callback); base 50 mojo/examples/aura_demo/window_tree_host_mojo.h virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; base 70 mojo/examples/aura_demo/window_tree_host_mojo.h base::Callback<void()> compositor_created_callback_; base 58 mojo/examples/compositor_app/compositor_app.cc base::MessageLoop::current()->Quit(); base 80 mojo/examples/compositor_app/compositor_app.cc base::MessageLoop loop; base 57 mojo/examples/compositor_app/compositor_host.cc void CompositorHost::Animate(base::TimeTicks frame_begin_time) { base 60 mojo/examples/compositor_app/compositor_host.cc double time_in_seconds = (frame_begin_time - base::TimeTicks()).InSecondsF(); base 34 mojo/examples/compositor_app/compositor_host.h virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE; base 54 mojo/examples/compositor_app/compositor_host.h base::Thread compositor_thread_; base 32 mojo/examples/compositor_app/mojo_context_provider.h friend class base::RefCountedThreadSafe<MojoContextProvider>; base 210 mojo/examples/launcher/launcher.cc base::Bind(&LauncherImpl::HostContextCreated, base::Unretained(this)))); base 285 mojo/examples/launcher/launcher.cc base::AtExitManager at_exit; base 286 mojo/examples/launcher/launcher.cc base::i18n::InitializeICU(); base 288 mojo/examples/launcher/launcher.cc base::FilePath pak_dir; base 289 mojo/examples/launcher/launcher.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 290 mojo/examples/launcher/launcher.cc base::FilePath pak_file; base 294 mojo/examples/launcher/launcher.cc base::MessageLoop loop; base 31 mojo/examples/pepper_container_app/mojo_ppapi_globals.cc base::MessageLoopProxy* main_thread_message_loop) base 37 mojo/examples/pepper_container_app/mojo_ppapi_globals.cc const base::Closure& closure, base 40 mojo/examples/pepper_container_app/mojo_ppapi_globals.cc from_here, closure, base::TimeDelta::FromMilliseconds(delay_ms)); base 43 mojo/examples/pepper_container_app/mojo_ppapi_globals.cc virtual base::MessageLoopProxy* GetMessageLoopProxy() OVERRIDE { base 72 mojo/examples/pepper_container_app/mojo_ppapi_globals.cc scoped_refptr<base::MessageLoopProxy> main_thread_message_loop_; base 157 mojo/examples/pepper_container_app/mojo_ppapi_globals.cc if (base::MessageLoopProxy::current().get() == GetMainThreadMessageLoop()) { base 169 mojo/examples/pepper_container_app/mojo_ppapi_globals.cc base::TaskRunner* MojoPpapiGlobals::GetFileTaskRunner() { base 15 mojo/examples/pepper_container_app/mojo_ppapi_globals.h namespace base { base 66 mojo/examples/pepper_container_app/mojo_ppapi_globals.h virtual base::TaskRunner* GetFileTaskRunner() OVERRIDE; base 83 mojo/examples/pepper_container_app/pepper_container_app.cc base::MessageLoop::current()->Quit(); base 127 mojo/examples/pepper_container_app/pepper_container_app.cc base::MessageLoop run_loop; base 70 mojo/examples/pepper_container_app/plugin_module.cc base::FilePath plugin_path(plugin_name); base 72 mojo/examples/pepper_container_app/plugin_module.cc base::NativeLibraryLoadError error; base 73 mojo/examples/pepper_container_app/plugin_module.cc plugin_module_.Reset(base::LoadNativeLibrary(plugin_path, &error)); base 25 mojo/examples/pepper_container_app/plugin_module.h class PluginModule : public base::RefCounted<PluginModule> { base 37 mojo/examples/pepper_container_app/plugin_module.h friend class base::RefCounted<PluginModule>; base 51 mojo/examples/pepper_container_app/plugin_module.h base::ScopedNativeLibrary plugin_module_; base 80 mojo/examples/view_manager/view_manager.cc base::MessageLoop::current()->Quit(); base 143 mojo/examples/view_manager/view_manager.cc base::MessageLoop loop; base 190 mojo/gles2/command_buffer_client_impl.cc const base::Closure& callback) { base 196 mojo/gles2/command_buffer_client_impl.cc const base::Closure& callback) { base 212 mojo/gles2/command_buffer_client_impl.cc void CommandBufferClientImpl::Echo(const base::Closure& callback) { base 19 mojo/gles2/command_buffer_client_impl.h namespace base { base 71 mojo/gles2/command_buffer_client_impl.h const base::Closure& callback) OVERRIDE; base 73 mojo/gles2/command_buffer_client_impl.h const base::Closure& callback) OVERRIDE; base 77 mojo/gles2/command_buffer_client_impl.h virtual void Echo(const base::Closure& callback) OVERRIDE; base 39 mojo/gles2/gles2_support_impl.cc base::LazyInstance<GLES2ImplForCommandBuffer> g_gles2_interface = base 51 mojo/public/cpp/bindings/tests/sample_service_unittest.cc uint8_t base = static_cast<uint8_t>(i * 100); base 52 mojo/public/cpp/bindings/tests/sample_service_unittest.cc bar.set_alpha(base); base 53 mojo/public/cpp/bindings/tests/sample_service_unittest.cc bar.set_beta(base + 20); base 54 mojo/public/cpp/bindings/tests/sample_service_unittest.cc bar.set_gamma(base + 40); base 123 mojo/public/cpp/bindings/tests/sample_service_unittest.cc uint8_t base = static_cast<uint8_t>(i * 100); base 125 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(base, foo.extra_bars()[i].alpha()) << i; base 126 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(base + 20, foo.extra_bars()[i].beta()) << i; base 127 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(base + 40, foo.extra_bars()[i].gamma()) << i; base 86 mojo/service_manager/service_manager.cc static base::LazyInstance<ServiceManager> instance = base 60 mojo/service_manager/service_manager_unittest.cc base::MessageLoop::current()->Quit(); base 108 mojo/service_manager/service_manager_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 109 mojo/service_manager/service_manager_unittest.cc base::MessageLoop::QuitClosure()); base 119 mojo/service_manager/service_manager_unittest.cc base::MessageLoop loop_; base 121 mojo/services/gles2/command_buffer_impl.cc command_buffer_->SetPutOffsetChangeCallback(base::Bind( base 122 mojo/services/gles2/command_buffer_impl.cc &gpu::GpuScheduler::PutChanged, base::Unretained(scheduler_.get()))); base 123 mojo/services/gles2/command_buffer_impl.cc command_buffer_->SetGetBufferChangeCallback(base::Bind( base 124 mojo/services/gles2/command_buffer_impl.cc &gpu::GpuScheduler::SetGetBuffer, base::Unretained(scheduler_.get()))); base 126 mojo/services/gles2/command_buffer_impl.cc base::Bind(&CommandBufferImpl::OnParseError, base::Unretained(this))); base 179 mojo/services/gles2/command_buffer_impl.cc base::TimeDelta::FromMilliseconds(16), base 66 mojo/services/gles2/command_buffer_impl.h base::RepeatingTimer<CommandBufferImpl> timer_; base 14 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java import org.chromium.base.CalledByNative; base 15 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java import org.chromium.base.JNINamespace; base 62 mojo/services/native_viewport/native_viewport_android.cc base::android::ScopedJavaLocalRef<jobject> protector(env, jsurface); base 86 mojo/services/native_viewport/native_viewport_android.cc base::TimeDelta::FromMilliseconds(time_ms)); base 99 mojo/services/native_viewport/native_viewport_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 62 mojo/services/native_viewport/native_viewport_android.h base::WeakPtrFactory<NativeViewportAndroid> weak_factory_; base 149 mojo/services/native_viewport/native_viewport_service.cc base::Bind(&NativeViewportImpl::AckEvent, base 150 mojo/services/native_viewport/native_viewport_service.cc base::Unretained(this))); base 170 mojo/services/native_viewport/native_viewport_service.cc base::MessageLoop::current()->Quit(); base 202 mojo/services/native_viewport/native_viewport_service.cc base::MessageLoopForUI loop; base 18 mojo/services/native_viewport/native_viewport_x11.cc public base::MessagePumpDispatcher { base 25 mojo/services/native_viewport/native_viewport_x11.cc base::MessagePumpX11::Current()->RemoveDispatcherForRootWindow(this); base 26 mojo/services/native_viewport/native_viewport_x11.cc base::MessagePumpX11::Current()->RemoveDispatcherForWindow(window_); base 56 mojo/services/native_viewport/native_viewport_x11.cc base::MessagePumpX11::Current()->AddDispatcherForWindow(this, window_); base 57 mojo/services/native_viewport/native_viewport_x11.cc base::MessagePumpX11::Current()->AddDispatcherForRootWindow(this); base 94 mojo/services/native_viewport/native_viewport_x11.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE { base 9 mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java import org.chromium.base.JNINamespace; base 15 mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java import org.chromium.base.library_loader.LibraryLoader; base 16 mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java import org.chromium.base.library_loader.ProcessInitException; base 9 mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellApplication.java import org.chromium.base.BaseChromiumApplication; base 10 mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellApplication.java import org.chromium.base.PathUtils; base 16 mojo/shell/android/library_loader.cc base::android::RegistrationMethod kMojoRegisteredMethods[] = { base 30 mojo/shell/android/library_loader.cc base::android::InitVM(vm); base 31 mojo/shell/android/library_loader.cc JNIEnv* env = base::android::AttachCurrentThread(); base 33 mojo/shell/android/library_loader.cc if (!base::android::RegisterLibraryLoaderEntryHook(env)) base 36 mojo/shell/android/library_loader.cc if (!base::android::RegisterJni(env)) base 25 mojo/shell/android/mojo_main.cc using base::LazyInstance; base 31 mojo/shell/android/mojo_main.cc LazyInstance<scoped_ptr<base::MessageLoop> > g_java_message_loop = base 63 mojo/shell/android/mojo_main.cc base::android::ScopedJavaLocalRef<jobject> scoped_context(env, context); base 65 mojo/shell/android/mojo_main.cc base::android::InitApplicationContext(env, scoped_context); base 70 mojo/shell/android/mojo_main.cc g_java_message_loop.Get().reset(new base::MessageLoopForUI); base 71 mojo/shell/android/mojo_main.cc base::MessageLoopForUI::current()->Start(); base 87 mojo/shell/android/mojo_main.cc app_url = base::android::ConvertJavaStringToUTF8(env, jurl); base 96 mojo/shell/android/mojo_main.cc base::android::ScopedJavaGlobalRef<jobject> activity; base 42 mojo/shell/app_child_process.cc void Unblock(base::Closure run_after) { base 75 mojo/shell/app_child_process.cc base::WaitableEvent event_; base 76 mojo/shell/app_child_process.cc base::Closure run_after_; base 98 mojo/shell/app_child_process.cc base::Thread::Options io_thread_options(base::MessageLoop::TYPE_IO, 0); base 104 mojo/shell/app_child_process.cc base::Thread::Options controller_thread_options; base 106 mojo/shell/app_child_process.cc base::MessageLoop::TYPE_CUSTOM; base 108 mojo/shell/app_child_process.cc base::Bind(&common::MessagePumpMojo::Create); base 114 mojo/shell/app_child_process.cc base::SingleThreadTaskRunner* io_runner() const { base 118 mojo/shell/app_child_process.cc base::SingleThreadTaskRunner* controller_runner() const { base 137 mojo/shell/app_child_process.cc base::Thread io_thread_; base 138 mojo/shell/app_child_process.cc scoped_refptr<base::SingleThreadTaskRunner> io_runner_; base 140 mojo/shell/app_child_process.cc base::Thread controller_thread_; base 141 mojo/shell/app_child_process.cc scoped_refptr<base::SingleThreadTaskRunner> controller_runner_; base 189 mojo/shell/app_child_process.cc unblocker_.Unblock(base::Bind(&AppChildControllerImpl::StartAppOnMainThread, base 190 mojo/shell/app_child_process.cc base::FilePath::FromUTF8Unsafe( base 192 mojo/shell/app_child_process.cc base::Passed(&service))); base 210 mojo/shell/app_child_process.cc base::Bind(&AppChildControllerImpl::DidCreateChannel, base 211 mojo/shell/app_child_process.cc base::Unretained(this)), base 212 mojo/shell/app_child_process.cc base::MessageLoopProxy::current())); base 226 mojo/shell/app_child_process.cc static void StartAppOnMainThread(const base::FilePath& app_path, base 232 mojo/shell/app_child_process.cc base::ScopedClosureRunner app_deleter( base 233 mojo/shell/app_child_process.cc base::Bind(base::IgnoreResult(&base::DeleteFile), app_path, false)); base 236 mojo/shell/app_child_process.cc base::NativeLibraryLoadError load_error; base 237 mojo/shell/app_child_process.cc base::ScopedNativeLibrary app_library( base 238 mojo/shell/app_child_process.cc base::LoadNativeLibrary(app_path, &load_error)); base 261 mojo/shell/app_child_process.cc base::ThreadChecker thread_checker_; base 290 mojo/shell/app_child_process.cc base::Bind(&AppChildControllerImpl::Init, base::Unretained(&app_context), base 291 mojo/shell/app_child_process.cc base::Passed(platform_channel()), blocker.GetUnblocker())); base 297 mojo/shell/app_child_process.cc base::Bind(&AppChildControllerImpl::Shutdown, base 298 mojo/shell/app_child_process.cc base::Unretained(app_context.controller()))); base 34 mojo/shell/app_child_process_host.cc base::Bind(&AppChildProcessHost::DidCreateChannel, base 35 mojo/shell/app_child_process_host.cc base::Unretained(this)), base 36 mojo/shell/app_child_process_host.cc base::MessageLoop::current()->message_loop_proxy())); base 27 mojo/shell/child_process.cc CHECK(base::StringToInt(command_line.GetSwitchValueASCII( base 12 mojo/shell/child_process.h namespace base { base 34 mojo/shell/child_process.h static scoped_ptr<ChildProcess> Create(const base::CommandLine& command_line); base 30 mojo/shell/child_process_host.cc child_process_handle_(base::kNullProcessHandle) { base 37 mojo/shell/child_process_host.cc if (child_process_handle_ != base::kNullProcessHandle) { base 39 mojo/shell/child_process_host.cc base::CloseProcessHandle(child_process_handle_); base 40 mojo/shell/child_process_host.cc child_process_handle_ = base::kNullProcessHandle; base 45 mojo/shell/child_process_host.cc DCHECK_EQ(child_process_handle_, base::kNullProcessHandle); base 49 mojo/shell/child_process_host.cc CHECK(base::PostTaskAndReplyWithResult( base 52 mojo/shell/child_process_host.cc base::Bind(&ChildProcessHost::DoLaunch, base::Unretained(this)), base 53 mojo/shell/child_process_host.cc base::Bind(&ChildProcessHost::DidLaunch, base::Unretained(this)))); base 57 mojo/shell/child_process_host.cc DCHECK_NE(child_process_handle_, base::kNullProcessHandle); base 59 mojo/shell/child_process_host.cc LOG_IF(ERROR, !base::WaitForExitCode(child_process_handle_, &rv)) base 61 mojo/shell/child_process_host.cc base::CloseProcessHandle(child_process_handle_); base 62 mojo/shell/child_process_host.cc child_process_handle_ = base::kNullProcessHandle; base 78 mojo/shell/child_process_host.cc switches::kChildProcessType, base::IntToString(static_cast<int>(type_))); base 84 mojo/shell/child_process_host.cc base::LaunchOptions options; base 92 mojo/shell/child_process_host.cc if (!base::LaunchProcess(child_command_line, options, &child_process_handle_)) base 70 mojo/shell/child_process_host.h base::ProcessHandle child_process_handle_; base 20 mojo/shell/context.cc : task_runners_(base::MessageLoop::current()->message_loop_proxy()), base 48 mojo/shell/context.h base::android::ScopedJavaGlobalRef<jobject> activity_; base 32 mojo/shell/desktop/mojo_main.cc base::MessageLoop::current()->QuitWhenIdle(); base 39 mojo/shell/desktop/mojo_main.cc base::AtExitManager at_exit; base 46 mojo/shell/desktop/mojo_main.cc base::MessageLoop message_loop( base 47 mojo/shell/desktop/mojo_main.cc scoped_ptr<base::MessagePump>(new mojo::common::MessagePumpMojo())); base 69 mojo/shell/desktop/mojo_main.cc base::MessageLoop message_loop; base 71 mojo/shell/desktop/mojo_main.cc message_loop.PostTask(FROM_HERE, base::Bind(mojo::shell::Run, &context)); base 65 mojo/shell/dynamic_service_loader.cc const base::FilePath& app_path, base 75 mojo/shell/dynamic_service_loader.cc base::Bind(&DynamicServiceLoader::AppCompleted, base 76 mojo/shell/dynamic_service_loader.cc base::Unretained(loader_), url_)); base 13 mojo/shell/dynamic_service_runner.h namespace base { base 31 mojo/shell/dynamic_service_runner.h virtual void Start(const base::FilePath& app_path, base 33 mojo/shell/dynamic_service_runner.h const base::Closure& app_completed_callback) = 0; base 31 mojo/shell/in_process_dynamic_service_runner.cc const base::FilePath& app_path, base 33 mojo/shell/in_process_dynamic_service_runner.cc const base::Closure& app_completed_callback) { base 40 mojo/shell/in_process_dynamic_service_runner.cc app_completed_callback_runner_ = base::Bind(&base::TaskRunner::PostTask, base 41 mojo/shell/in_process_dynamic_service_runner.cc base::MessageLoopProxy::current(), base 53 mojo/shell/in_process_dynamic_service_runner.cc base::ScopedClosureRunner app_deleter( base 54 mojo/shell/in_process_dynamic_service_runner.cc base::Bind(base::IgnoreResult(&base::DeleteFile), app_path_, false)); base 57 mojo/shell/in_process_dynamic_service_runner.cc base::NativeLibraryLoadError error; base 58 mojo/shell/in_process_dynamic_service_runner.cc base::ScopedNativeLibrary app_library( base 59 mojo/shell/in_process_dynamic_service_runner.cc base::LoadNativeLibrary(app_path_, &error)); base 21 mojo/shell/in_process_dynamic_service_runner.h public base::DelegateSimpleThread::Delegate { base 27 mojo/shell/in_process_dynamic_service_runner.h virtual void Start(const base::FilePath& app_path, base 29 mojo/shell/in_process_dynamic_service_runner.h const base::Closure& app_completed_callback) OVERRIDE; base 35 mojo/shell/in_process_dynamic_service_runner.h base::FilePath app_path_; base 37 mojo/shell/in_process_dynamic_service_runner.h base::Callback<bool(void)> app_completed_callback_runner_; base 39 mojo/shell/in_process_dynamic_service_runner.h base::DelegateSimpleThread thread_; base 20 mojo/shell/keep_alive.cc base::MessageLoop::current()->PostTask( base 22 mojo/shell/keep_alive.cc base::Bind(&KeepAlive::MaybeQuit, context_)); base 29 mojo/shell/keep_alive.cc base::MessageLoop::current()->Quit(); base 41 mojo/shell/loader.cc base::FilePath app_path; base 49 mojo/shell/loader.cc Loader::Loader(base::SingleThreadTaskRunner* network_runner, base 50 mojo/shell/loader.cc base::SingleThreadTaskRunner* file_runner, base 51 mojo/shell/loader.cc base::MessageLoopProxy* cache_runner, base 53 mojo/shell/loader.cc base::FilePath base_path) base 70 mojo/shell/loader.cc base::FilePath tmp_dir; base 71 mojo/shell/loader.cc base::GetTempDir(&tmp_dir); base 30 mojo/shell/loader.h const base::FilePath& app_path, base 55 mojo/shell/loader.h Loader(base::SingleThreadTaskRunner* network_runner, base 56 mojo/shell/loader.h base::SingleThreadTaskRunner* file_runner, base 57 mojo/shell/loader.h base::MessageLoopProxy* cache_runner, base 59 mojo/shell/loader.h base::FilePath base_path); base 65 mojo/shell/loader.h scoped_refptr<base::SingleThreadTaskRunner> file_runner_; base 17 mojo/shell/network_delegate.cc const base::FilePath& path) const { base 18 mojo/shell/network_delegate.h const base::FilePath& path) const OVERRIDE; base 33 mojo/shell/out_of_process_dynamic_service_runner.cc const base::FilePath& app_path, base 35 mojo/shell/out_of_process_dynamic_service_runner.cc const base::Closure& app_completed_callback) { base 28 mojo/shell/out_of_process_dynamic_service_runner.h virtual void Start(const base::FilePath& app_path, base 30 mojo/shell/out_of_process_dynamic_service_runner.h const base::Closure& app_completed_callback) OVERRIDE; base 38 mojo/shell/out_of_process_dynamic_service_runner.h base::FilePath app_path_; base 40 mojo/shell/out_of_process_dynamic_service_runner.h base::Closure app_completed_callback_; base 25 mojo/shell/storage.cc CHECK(PathService::Get(base::DIR_LOCAL_APP_DATA, &profile_path_)); base 28 mojo/shell/storage.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 29 mojo/shell/storage.cc base::FilePath config_dir( base 30 mojo/shell/storage.cc base::nix::GetXDGDirectory(env.get(), base 31 mojo/shell/storage.cc base::nix::kXdgConfigHomeEnvVar, base 32 mojo/shell/storage.cc base::nix::kDotConfigDir)); base 35 mojo/shell/storage.cc CHECK(PathService::Get(base::DIR_APP_DATA, &profile_path_)); base 38 mojo/shell/storage.cc CHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &profile_path_)); base 44 mojo/shell/storage.cc if (!base::PathExists(profile_path_)) base 45 mojo/shell/storage.cc base::CreateDirectory(profile_path_); base 19 mojo/shell/storage.h base::FilePath profile_path() const { base 24 mojo/shell/storage.h base::FilePath profile_path_; base 16 mojo/shell/task_runners.cc scoped_ptr<base::Thread> CreateIOThread(const char* name) { base 17 mojo/shell/task_runners.cc scoped_ptr<base::Thread> thread(new base::Thread(name)); base 18 mojo/shell/task_runners.cc base::Thread::Options options; base 19 mojo/shell/task_runners.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 26 mojo/shell/task_runners.cc TaskRunners::TaskRunners(base::SingleThreadTaskRunner* ui_runner) base 30 mojo/shell/task_runners.cc file_thread_(new base::Thread("file_thread")), base 31 mojo/shell/task_runners.cc blocking_pool_(new base::SequencedWorkerPool(kMaxBlockingPoolThreads, base 14 mojo/shell/task_runners.h namespace base { base 25 mojo/shell/task_runners.h explicit TaskRunners(base::SingleThreadTaskRunner* ui_runner); base 28 mojo/shell/task_runners.h base::SingleThreadTaskRunner* ui_runner() const { base 32 mojo/shell/task_runners.h base::SingleThreadTaskRunner* io_runner() const { base 36 mojo/shell/task_runners.h base::SingleThreadTaskRunner* file_runner() const { base 40 mojo/shell/task_runners.h base::MessageLoopProxy* cache_runner() const { base 44 mojo/shell/task_runners.h base::SequencedWorkerPool* blocking_pool() const { base 50 mojo/shell/task_runners.h scoped_refptr<base::SingleThreadTaskRunner> ui_runner_; base 51 mojo/shell/task_runners.h scoped_ptr<base::Thread> cache_thread_; base 52 mojo/shell/task_runners.h scoped_ptr<base::Thread> io_thread_; base 53 mojo/shell/task_runners.h scoped_ptr<base::Thread> file_thread_; base 55 mojo/shell/task_runners.h scoped_refptr<base::SequencedWorkerPool> blocking_pool_; base 24 mojo/shell/test_child_process.cc CHECK(!base::MessageLoop::current()); base 32 mojo/shell/url_request_context_getter.cc base::FilePath base_path, base 33 mojo/shell/url_request_context_getter.cc base::SingleThreadTaskRunner* network_task_runner, base 34 mojo/shell/url_request_context_getter.cc base::SingleThreadTaskRunner* file_task_runner, base 35 mojo/shell/url_request_context_getter.cc base::MessageLoopProxy* cache_task_runner, base 102 mojo/shell/url_request_context_getter.cc base::FilePath cache_path = base_path_.Append(FILE_PATH_LITERAL("Cache")); base 127 mojo/shell/url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> base 22 mojo/shell/url_request_context_getter.h base::FilePath base_path, base 23 mojo/shell/url_request_context_getter.h base::SingleThreadTaskRunner* network_task_runner, base 24 mojo/shell/url_request_context_getter.h base::SingleThreadTaskRunner* file_task_runner, base 25 mojo/shell/url_request_context_getter.h base::MessageLoopProxy* cache_task_runner, base 29 mojo/shell/url_request_context_getter.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 36 mojo/shell/url_request_context_getter.h base::FilePath base_path_; base 37 mojo/shell/url_request_context_getter.h scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; base 38 mojo/shell/url_request_context_getter.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 39 mojo/shell/url_request_context_getter.h scoped_refptr<base::MessageLoopProxy> cache_task_runner_; base 60 mojo/system/channel.cc base::AutoLock locker(lock_); base 77 mojo/system/channel.cc base::AutoLock locker(lock_); base 101 mojo/system/channel.cc base::AutoLock locker(lock_); base 119 mojo/system/channel.cc base::AutoLock locker(lock_); base 138 mojo/system/channel.cc base::AutoLock locker(lock_); base 150 mojo/system/channel.cc base::AutoLock locker(lock_); base 158 mojo/system/channel.cc base::AutoLock locker_(lock_); base 185 mojo/system/channel.cc HandleRemoteError(base::StringPrintf( base 221 mojo/system/channel.cc base::AutoLock locker(lock_); base 231 mojo/system/channel.cc HandleRemoteError(base::StringPrintf( base 252 mojo/system/channel.cc HandleLocalError(base::StringPrintf( base 280 mojo/system/channel.cc void Channel::HandleRemoteError(const base::StringPiece& error_message) { base 286 mojo/system/channel.cc void Channel::HandleLocalError(const base::StringPiece& error_message) { base 52 mojo/system/channel.h : public base::RefCountedThreadSafe<Channel>, base 104 mojo/system/channel.h friend class base::RefCountedThreadSafe<Channel>; base 118 mojo/system/channel.h void HandleRemoteError(const base::StringPiece& error_message); base 120 mojo/system/channel.h void HandleLocalError(const base::StringPiece& error_message); base 131 mojo/system/channel.h base::ThreadChecker creation_thread_checker_; base 138 mojo/system/channel.h base::Lock lock_; // Protects the members below. base 142 mojo/system/channel.h typedef base::hash_map<MessageInTransit::EndpointId, EndpointInfo> base 100 mojo/system/core_impl.cc base::AutoLock locker(handle_table_lock_); base 105 mojo/system/core_impl.cc return base::TimeTicks::Now().ToInternalValue(); base 114 mojo/system/core_impl.cc base::AutoLock locker(handle_table_lock_); base 161 mojo/system/core_impl.cc base::AutoLock locker(handle_table_lock_); base 226 mojo/system/core_impl.cc base::AutoLock locker(handle_table_lock_); base 242 mojo/system/core_impl.cc base::AutoLock locker(handle_table_lock_); base 284 mojo/system/core_impl.cc base::AutoLock locker(handle_table_lock_); base 329 mojo/system/core_impl.cc base::AutoLock locker(handle_table_lock_); base 506 mojo/system/core_impl.cc void* address = mapping->base(); base 508 mojo/system/core_impl.cc base::AutoLock locker(mapping_table_lock_); base 519 mojo/system/core_impl.cc base::AutoLock locker(mapping_table_lock_); base 527 mojo/system/core_impl.cc base::AutoLock locker(handle_table_lock_); base 122 mojo/system/core_impl.h typedef base::hash_map<MojoHandle, HandleTableEntry> HandleTableMap; base 139 mojo/system/core_impl.h base::Lock handle_table_lock_; // Protects |handle_table_|. base 142 mojo/system/core_impl.h base::Lock mapping_table_lock_; // Protects |mapping_table_|. base 24 mojo/system/core_impl_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(15)); base 208 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 213 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 218 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 223 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 228 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 233 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 238 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 243 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 248 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 253 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 258 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 263 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 268 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 273 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 278 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 283 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 288 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 293 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 298 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 303 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 308 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 313 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 318 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 323 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 328 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 333 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 338 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 343 mojo/system/core_test_base.cc base::AutoLock locker(lock_); base 82 mojo/system/core_test_base.h mutable base::Lock lock_; // Protects the following members. base 66 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 72 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 88 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 113 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 137 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 168 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 181 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 187 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 192 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 198 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 214 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 235 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 255 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 268 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 286 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 315 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 328 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 334 mojo/system/data_pipe.cc base::AutoLock locker(lock_); base 28 mojo/system/data_pipe.h public base::RefCountedThreadSafe<DataPipe> { base 85 mojo/system/data_pipe.h friend class base::RefCountedThreadSafe<DataPipe>; base 177 mojo/system/data_pipe.h mutable base::Lock lock_; // Protects the following members. base 84 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 100 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 116 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 127 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 137 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 145 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 155 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 165 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 173 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 183 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 195 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 207 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 215 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 403 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 416 mojo/system/dispatcher.cc base::AutoLock locker(lock_); base 48 mojo/system/dispatcher.h public base::RefCountedThreadSafe<Dispatcher> { base 181 mojo/system/dispatcher.h friend class base::RefCountedThreadSafe<Dispatcher>; base 250 mojo/system/dispatcher.h base::Lock& lock() const { return lock_; } base 296 mojo/system/dispatcher.h mutable base::Lock lock_; base 96 mojo/system/dispatcher_unittest.cc class ThreadSafetyStressThread : public base::SimpleThread { base 116 mojo/system/dispatcher_unittest.cc ThreadSafetyStressThread(base::WaitableEvent* event, base 119 mojo/system/dispatcher_unittest.cc : base::SimpleThread("thread_safety_stress_thread"), base 212 mojo/system/dispatcher_unittest.cc base::WaitableEvent* const event_; base 227 mojo/system/dispatcher_unittest.cc base::WaitableEvent event(true, false); base 253 mojo/system/dispatcher_unittest.cc base::WaitableEvent event(true, false); base 111 mojo/system/handle_table.h typedef base::hash_map<MojoHandle, Entry> HandleToEntryMap; base 300 mojo/system/local_data_pipe.cc base::AlignedAlloc(capacity_num_bytes(), kDataPipeBufferAlignmentBytes))); base 29 mojo/system/local_data_pipe.h friend class base::RefCountedThreadSafe<LocalDataPipe>; base 73 mojo/system/local_data_pipe.h scoped_ptr<char, base::AlignedFreeDeleter> buffer_; base 29 mojo/system/mapping_table.cc uintptr_t address = reinterpret_cast<uintptr_t>(mapping->base()); base 48 mojo/system/mapping_table.h typedef base::hash_map<uintptr_t, RawSharedBufferMapping*> base 102 mojo/system/message_in_transit.cc main_buffer_(base::AlignedAlloc(main_buffer_size_, kMessageAlignment)), base 132 mojo/system/message_in_transit.cc main_buffer_(base::AlignedAlloc(main_buffer_size_, kMessageAlignment)), base 135 mojo/system/message_in_transit.cc base::AlignedAlloc(secondary_buffer_size_, base 149 mojo/system/message_in_transit.cc base::AlignedFree(main_buffer_); base 150 mojo/system/message_in_transit.cc base::AlignedFree(secondary_buffer_); // Okay if null. base 233 mojo/system/message_in_transit.cc secondary_buffer_ = base::AlignedAlloc(size, kMessageAlignment); base 37 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 46 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 56 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 93 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 106 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 115 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 124 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 172 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 233 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 243 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 267 mojo/system/message_pipe.cc base::AutoLock locker(lock_); base 31 mojo/system/message_pipe.h public base::RefCountedThreadSafe<MessagePipe> { base 91 mojo/system/message_pipe.h friend class base::RefCountedThreadSafe<MessagePipe>; base 99 mojo/system/message_pipe.h base::Lock lock_; // Protects the following members. base 284 mojo/system/message_pipe_dispatcher_unittest.cc base::PlatformThread::Sleep( base 285 mojo/system/message_pipe_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 334 mojo/system/message_pipe_dispatcher_unittest.cc base::PlatformThread::Sleep( base 335 mojo/system/message_pipe_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 366 mojo/system/message_pipe_dispatcher_unittest.cc base::PlatformThread::Sleep( base 367 mojo/system/message_pipe_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 384 mojo/system/message_pipe_dispatcher_unittest.cc class WriterThread : public base::SimpleThread { base 390 mojo/system/message_pipe_dispatcher_unittest.cc : base::SimpleThread("writer_thread"), base 410 mojo/system/message_pipe_dispatcher_unittest.cc *messages_written_ = static_cast<size_t>(base::RandInt(1000, 6000)); base 415 mojo/system/message_pipe_dispatcher_unittest.cc base::RandInt(1, static_cast<int>(kMaxMessageSize))); base 437 mojo/system/message_pipe_dispatcher_unittest.cc class ReaderThread : public base::SimpleThread { base 442 mojo/system/message_pipe_dispatcher_unittest.cc : base::SimpleThread("reader_thread"), base 41 mojo/system/multiprocess_message_pipe_unittest.cc base::Bind(&ChannelThread::InitChannelOnIOThread, base 42 mojo/system/multiprocess_message_pipe_unittest.cc base::Unretained(this), base::Passed(&platform_handle), base 52 mojo/system/multiprocess_message_pipe_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(20)); base 56 mojo/system/multiprocess_message_pipe_unittest.cc base::Bind(&ChannelThread::ShutdownChannelOnIOThread, base 57 mojo/system/multiprocess_message_pipe_unittest.cc base::Unretained(this))); base 65 mojo/system/multiprocess_message_pipe_unittest.cc CHECK_EQ(base::MessageLoop::current(), test_io_thread_.message_loop()); base 118 mojo/system/raw_channel.cc CHECK_EQ(base::MessageLoop::current()->type(), base::MessageLoop::TYPE_IO); base 121 mojo/system/raw_channel.cc static_cast<base::MessageLoopForIO*>(base::MessageLoop::current()); base 136 mojo/system/raw_channel.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io_); base 138 mojo/system/raw_channel.cc base::AutoLock locker(write_lock_); base 161 mojo/system/raw_channel.cc base::AutoLock locker(write_lock_); base 185 mojo/system/raw_channel.cc base::Bind(&RawChannel::CallOnFatalError, base 195 mojo/system/raw_channel.cc base::AutoLock locker(write_lock_); base 200 mojo/system/raw_channel.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io_); base 210 mojo/system/raw_channel.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io_); base 309 mojo/system/raw_channel.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io_); base 313 mojo/system/raw_channel.cc base::AutoLock locker(write_lock_); base 329 mojo/system/raw_channel.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io_); base 20 mojo/system/raw_channel.h namespace base { base 154 mojo/system/raw_channel.h base::MessageLoopForIO* message_loop_for_io() { return message_loop_for_io_; } base 155 mojo/system/raw_channel.h base::Lock& write_lock() { return write_lock_; } base 228 mojo/system/raw_channel.h base::MessageLoopForIO* message_loop_for_io_; base 234 mojo/system/raw_channel.h base::Lock write_lock_; // Protects the following members. base 241 mojo/system/raw_channel.h base::WeakPtrFactory<RawChannel> weak_ptr_factory_; base 34 mojo/system/raw_channel_posix.cc public base::MessageLoopForIO::Watcher { base 60 mojo/system/raw_channel_posix.cc scoped_ptr<base::MessageLoopForIO::FileDescriptorWatcher> read_watcher_; base 61 mojo/system/raw_channel_posix.cc scoped_ptr<base::MessageLoopForIO::FileDescriptorWatcher> write_watcher_; base 72 mojo/system/raw_channel_posix.cc base::WeakPtrFactory<RawChannelPosix> weak_ptr_factory_; base 100 mojo/system/raw_channel_posix.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 129 mojo/system/raw_channel_posix.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 206 mojo/system/raw_channel_posix.cc if (base::MessageLoop::current() != message_loop_for_io()) { base 209 mojo/system/raw_channel_posix.cc base::Bind(&RawChannelPosix::WaitToWrite, base 216 mojo/system/raw_channel_posix.cc fd_.get().fd, false, base::MessageLoopForIO::WATCH_WRITE, base 226 mojo/system/raw_channel_posix.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 229 mojo/system/raw_channel_posix.cc read_watcher_.reset(new base::MessageLoopForIO::FileDescriptorWatcher()); base 231 mojo/system/raw_channel_posix.cc write_watcher_.reset(new base::MessageLoopForIO::FileDescriptorWatcher()); base 234 mojo/system/raw_channel_posix.cc base::MessageLoopForIO::WATCH_READ, read_watcher_.get(), this)) { base 249 mojo/system/raw_channel_posix.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 266 mojo/system/raw_channel_posix.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 292 mojo/system/raw_channel_posix.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 297 mojo/system/raw_channel_posix.cc base::AutoLock locker(write_lock()); base 310 mojo/system/raw_channel_posix.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 315 mojo/system/raw_channel_posix.cc fd_.get().fd, false, base::MessageLoopForIO::WATCH_WRITE, base 318 mojo/system/raw_channel_posix.cc base::AutoLock locker(write_lock()); base 173 mojo/system/raw_channel_unittest.cc base::PlatformThread::Sleep( base 174 mojo/system/raw_channel_unittest.cc base::TimeDelta::FromMilliseconds(kMessageReaderSleepMs)); base 197 mojo/system/raw_channel_unittest.cc base::Bind(&InitOnIOThread, rc.get(), base 198 mojo/system/raw_channel_unittest.cc base::Unretained(&delegate))); base 213 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, base 214 mojo/system/raw_channel_unittest.cc base::Unretained(rc.get()))); base 233 mojo/system/raw_channel_unittest.cc base::AutoLock locker(lock_); base 262 mojo/system/raw_channel_unittest.cc base::AutoLock locker(lock_); base 269 mojo/system/raw_channel_unittest.cc base::WaitableEvent done_event_; base 271 mojo/system/raw_channel_unittest.cc base::Lock lock_; // Protects the following members. base 283 mojo/system/raw_channel_unittest.cc base::Bind(&InitOnIOThread, rc.get(), base 284 mojo/system/raw_channel_unittest.cc base::Unretained(&delegate))); base 306 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, base 307 mojo/system/raw_channel_unittest.cc base::Unretained(rc.get()))); base 312 mojo/system/raw_channel_unittest.cc class RawChannelWriterThread : public base::SimpleThread { base 315 mojo/system/raw_channel_unittest.cc : base::SimpleThread("raw_channel_writer_thread"), base 330 mojo/system/raw_channel_unittest.cc static_cast<uint32_t>(base::RandInt(1, kMaxRandomMessageSize))))); base 371 mojo/system/raw_channel_unittest.cc base::WaitableEvent done_event_; base 385 mojo/system/raw_channel_unittest.cc base::Bind(&InitOnIOThread, writer_rc.get(), base 386 mojo/system/raw_channel_unittest.cc base::Unretained(&writer_delegate))); base 392 mojo/system/raw_channel_unittest.cc base::Bind(&InitOnIOThread, reader_rc.get(), base 393 mojo/system/raw_channel_unittest.cc base::Unretained(&reader_delegate))); base 407 mojo/system/raw_channel_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); base 413 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, base 414 mojo/system/raw_channel_unittest.cc base::Unretained(reader_rc.get()))); base 417 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, base 418 mojo/system/raw_channel_unittest.cc base::Unretained(writer_rc.get()))); base 456 mojo/system/raw_channel_unittest.cc base::WaitableEvent got_read_fatal_error_event_; base 457 mojo/system/raw_channel_unittest.cc base::WaitableEvent got_write_fatal_error_event_; base 470 mojo/system/raw_channel_unittest.cc base::Bind(&InitOnIOThread, rc.get(), base 471 mojo/system/raw_channel_unittest.cc base::Unretained(&delegate))); base 488 mojo/system/raw_channel_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(20)); base 491 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, base 492 mojo/system/raw_channel_unittest.cc base::Unretained(rc.get()))); base 515 mojo/system/raw_channel_unittest.cc base::Bind(&InitOnIOThread, rc.get(), base 516 mojo/system/raw_channel_unittest.cc base::Unretained(&delegate))); base 530 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, base 531 mojo/system/raw_channel_unittest.cc base::Unretained(rc.get()))); base 542 mojo/system/raw_channel_unittest.cc base::Bind(&InitOnIOThread, rc.get(), base 543 mojo/system/raw_channel_unittest.cc base::Unretained(&delegate))); base 545 mojo/system/raw_channel_unittest.cc base::Bind(&RawChannel::Shutdown, base 546 mojo/system/raw_channel_unittest.cc base::Unretained(rc.get()))); base 51 mojo/system/raw_channel_win.cc : is_vista_or_higher_(base::win::GetVersion() >= base::win::VERSION_VISTA), base 68 mojo/system/raw_channel_win.cc base::LazyInstance<VistaOrHigherFunctions> g_vista_or_higher_functions = base 85 mojo/system/raw_channel_win.cc class RawChannelIOHandler : public base::MessageLoopForIO::IOHandler { base 94 mojo/system/raw_channel_win.cc base::MessageLoopForIO::IOContext* read_context(); base 101 mojo/system/raw_channel_win.cc base::MessageLoopForIO::IOContext* write_context_no_lock(); base 108 mojo/system/raw_channel_win.cc virtual void OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 146 mojo/system/raw_channel_win.cc base::MessageLoopForIO::IOContext read_context_; base 152 mojo/system/raw_channel_win.cc base::MessageLoopForIO::IOContext write_context_; base 197 mojo/system/raw_channel_win.cc DCHECK_EQ(base::MessageLoop::current(), owner_->message_loop_for_io()); base 201 mojo/system/raw_channel_win.cc base::MessageLoopForIO::IOContext* base 204 mojo/system/raw_channel_win.cc DCHECK_EQ(base::MessageLoop::current(), owner_->message_loop_for_io()); base 210 mojo/system/raw_channel_win.cc DCHECK_EQ(base::MessageLoop::current(), owner_->message_loop_for_io()); base 221 mojo/system/raw_channel_win.cc base::MessageLoopForIO::IOContext* base 236 mojo/system/raw_channel_win.cc base::MessageLoopForIO::IOContext* context, base 240 mojo/system/raw_channel_win.cc base::MessageLoop::current() == owner_->message_loop_for_io()); base 257 mojo/system/raw_channel_win.cc DCHECK_EQ(base::MessageLoop::current(), owner_->message_loop_for_io()); base 282 mojo/system/raw_channel_win.cc base::MessageLoop::current() == owner_->message_loop_for_io()); base 302 mojo/system/raw_channel_win.cc base::MessageLoop::current() == owner_->message_loop_for_io()); base 312 mojo/system/raw_channel_win.cc base::AutoLock locker(owner_->write_lock()); base 338 mojo/system/raw_channel_win.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 380 mojo/system/raw_channel_win.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 395 mojo/system/raw_channel_win.cc base::Bind(&RawChannelIOHandler::OnIOCompleted, base 396 mojo/system/raw_channel_win.cc base::Unretained(io_handler_), base 397 mojo/system/raw_channel_win.cc base::Unretained(io_handler_->read_context()), base 463 mojo/system/raw_channel_win.cc base::Bind(&RawChannelIOHandler::OnIOCompleted, base 464 mojo/system/raw_channel_win.cc base::Unretained(io_handler_), base 465 mojo/system/raw_channel_win.cc base::Unretained(io_handler_->write_context_no_lock()), base 475 mojo/system/raw_channel_win.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 492 mojo/system/raw_channel_win.cc DCHECK_EQ(base::MessageLoop::current(), message_loop_for_io()); base 48 mojo/system/raw_shared_buffer.cc base::AutoLock locker(lock_); base 38 mojo/system/raw_shared_buffer.h : public base::RefCountedThreadSafe<RawSharedBuffer> { base 60 mojo/system/raw_shared_buffer.h friend class base::RefCountedThreadSafe<RawSharedBuffer>; base 76 mojo/system/raw_shared_buffer.h base::Lock lock_; // Protects |handle_|. base 94 mojo/system/raw_shared_buffer.h void* base() const { return base_; } base 100 mojo/system/raw_shared_buffer.h RawSharedBufferMapping(void* base, base 104 mojo/system/raw_shared_buffer.h : base_(base), length_(length), base 38 mojo/system/raw_shared_buffer_posix.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 50 mojo/system/raw_shared_buffer_posix.cc base::FilePath shared_buffer_dir; base 51 mojo/system/raw_shared_buffer_posix.cc if (!base::GetShmemTempDir(false, &shared_buffer_dir)) { base 55 mojo/system/raw_shared_buffer_posix.cc base::FilePath shared_buffer_file; base 56 mojo/system/raw_shared_buffer_posix.cc base::ScopedFILE fp(base::CreateAndOpenTemporaryFileInDir( base 70 mojo/system/raw_shared_buffer_posix.cc base::ScopedFD fd(dup(fileno(fp.get()))); base 90 mojo/system/raw_shared_buffer_posix.cc size_t offset_rounding = offset % base::SysInfo::VMAllocationGranularity(); base 108 mojo/system/raw_shared_buffer_posix.cc void* base = static_cast<char*>(real_base) + offset_rounding; base 110 mojo/system/raw_shared_buffer_posix.cc new RawSharedBufferMapping(base, length, real_base, real_length)); base 33 mojo/system/raw_shared_buffer_unittest.cc ASSERT_TRUE(mapping->base()); base 34 mojo/system/raw_shared_buffer_unittest.cc int* stuff = static_cast<int*>(mapping->base()); base 49 mojo/system/raw_shared_buffer_unittest.cc ASSERT_TRUE(mapping1->base()); base 50 mojo/system/raw_shared_buffer_unittest.cc int* stuff1 = static_cast<int*>(mapping1->base()); base 57 mojo/system/raw_shared_buffer_unittest.cc ASSERT_TRUE(mapping2->base()); base 58 mojo/system/raw_shared_buffer_unittest.cc int* stuff2 = static_cast<int*>(mapping2->base()); base 81 mojo/system/raw_shared_buffer_unittest.cc ASSERT_TRUE(mapping->base()); base 82 mojo/system/raw_shared_buffer_unittest.cc int* stuff = static_cast<int*>(mapping->base()); base 145 mojo/system/raw_shared_buffer_unittest.cc EXPECT_NE(mapping1->base(), mapping2->base()); base 156 mojo/system/raw_shared_buffer_unittest.cc ASSERT_EQ('\0', static_cast<char*>(mapping->base())[j]) base 170 mojo/system/raw_shared_buffer_unittest.cc static_cast<char*>(mapping1->base())[50] = 'x'; base 173 mojo/system/raw_shared_buffer_unittest.cc EXPECT_EQ('x', static_cast<char*>(mapping2->base())[0]); base 175 mojo/system/raw_shared_buffer_unittest.cc static_cast<char*>(mapping2->base())[1] = 'y'; base 176 mojo/system/raw_shared_buffer_unittest.cc EXPECT_EQ('y', static_cast<char*>(mapping1->base())[51]); base 52 mojo/system/raw_shared_buffer_win.cc size_t offset_rounding = offset % base::SysInfo::VMAllocationGranularity(); base 69 mojo/system/raw_shared_buffer_win.cc void* base = static_cast<char*>(real_base) + offset_rounding; base 71 mojo/system/raw_shared_buffer_win.cc new RawSharedBufferMapping(base, length, real_base, real_length)); base 40 mojo/system/remote_message_pipe_unittest.cc base::Bind(&RemoteMessagePipeTest::SetUpOnIOThread, base 41 mojo/system/remote_message_pipe_unittest.cc base::Unretained(this))); base 47 mojo/system/remote_message_pipe_unittest.cc base::Bind(&RemoteMessagePipeTest::TearDownOnIOThread, base 48 mojo/system/remote_message_pipe_unittest.cc base::Unretained(this))); base 59 mojo/system/remote_message_pipe_unittest.cc base::Bind(&RemoteMessagePipeTest::ConnectMessagePipesOnIOThread, base 60 mojo/system/remote_message_pipe_unittest.cc base::Unretained(this), mp0, mp1)); base 71 mojo/system/remote_message_pipe_unittest.cc base::Bind(&RemoteMessagePipeTest::BootstrapMessagePipeOnIOThread, base 72 mojo/system/remote_message_pipe_unittest.cc base::Unretained(this), channel_index, mp)); base 78 mojo/system/remote_message_pipe_unittest.cc base::Bind(&RemoteMessagePipeTest::RestoreInitialStateOnIOThread, base 79 mojo/system/remote_message_pipe_unittest.cc base::Unretained(this))); base 86 mojo/system/remote_message_pipe_unittest.cc CHECK_EQ(base::MessageLoop::current(), io_thread()->message_loop()); base 94 mojo/system/remote_message_pipe_unittest.cc CHECK_EQ(base::MessageLoop::current(), io_thread()->message_loop()); base 107 mojo/system/remote_message_pipe_unittest.cc CHECK_EQ(base::MessageLoop::current(), io_thread()->message_loop()); base 118 mojo/system/remote_message_pipe_unittest.cc CHECK_EQ(base::MessageLoop::current(), io_thread()->message_loop()); base 136 mojo/system/remote_message_pipe_unittest.cc CHECK_EQ(base::MessageLoop::current(), io_thread()->message_loop()); base 150 mojo/system/remote_message_pipe_unittest.cc CHECK_EQ(base::MessageLoop::current(), io_thread()->message_loop()); base 557 mojo/system/remote_message_pipe_unittest.cc base::TimeDelta delay = base::TimeDelta::FromMilliseconds(5); base 572 mojo/system/remote_message_pipe_unittest.cc FROM_HERE, base::Bind(&base::PlatformThread::Sleep, delay)); base 575 mojo/system/remote_message_pipe_unittest.cc base::PlatformThread::Sleep(delay); base 581 mojo/system/remote_message_pipe_unittest.cc FROM_HERE, base::Bind(&base::PlatformThread::Sleep, delay)); base 584 mojo/system/remote_message_pipe_unittest.cc base::PlatformThread::Sleep(delay); base 109 mojo/system/shared_buffer_dispatcher_unittest.cc ASSERT_TRUE(mapping1->base()); base 112 mojo/system/shared_buffer_dispatcher_unittest.cc static_cast<char*>(mapping1->base())[50] = 'x'; base 119 mojo/system/shared_buffer_dispatcher_unittest.cc ASSERT_TRUE(mapping2->base()); base 121 mojo/system/shared_buffer_dispatcher_unittest.cc EXPECT_EQ('x', static_cast<char*>(mapping2->base())[0]); base 127 mojo/system/shared_buffer_dispatcher_unittest.cc static_cast<char*>(mapping2->base())[1] = 'y'; base 128 mojo/system/shared_buffer_dispatcher_unittest.cc EXPECT_EQ('y', static_cast<char*>(mapping1->base())[51]); base 147 mojo/system/shared_buffer_dispatcher_unittest.cc static_cast<char*>(mapping->base())[0] = 'x'; base 163 mojo/system/shared_buffer_dispatcher_unittest.cc EXPECT_EQ('x', static_cast<char*>(mapping->base())[0]); base 37 mojo/system/simple_dispatcher_unittest.cc base::AutoLock locker(lock()); base 51 mojo/system/simple_dispatcher_unittest.cc base::AutoLock locker(lock()); base 305 mojo/system/simple_dispatcher_unittest.cc base::PlatformThread::Sleep( base 306 mojo/system/simple_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 326 mojo/system/simple_dispatcher_unittest.cc base::PlatformThread::Sleep( base 327 mojo/system/simple_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 347 mojo/system/simple_dispatcher_unittest.cc base::PlatformThread::Sleep( base 348 mojo/system/simple_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 368 mojo/system/simple_dispatcher_unittest.cc base::PlatformThread::Sleep( base 369 mojo/system/simple_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); base 401 mojo/system/simple_dispatcher_unittest.cc base::PlatformThread::Sleep( base 402 mojo/system/simple_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 432 mojo/system/simple_dispatcher_unittest.cc base::PlatformThread::Sleep( base 433 mojo/system/simple_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 468 mojo/system/simple_dispatcher_unittest.cc base::PlatformThread::Sleep( base 469 mojo/system/simple_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); base 471 mojo/system/simple_dispatcher_unittest.cc base::PlatformThread::Sleep( base 472 mojo/system/simple_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); base 506 mojo/system/simple_dispatcher_unittest.cc base::PlatformThread::Sleep( base 507 mojo/system/simple_dispatcher_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 17 mojo/system/test_utils.cc void PostTaskAndWaitHelper(base::WaitableEvent* event, base 18 mojo/system/test_utils.cc const base::Closure& task) { base 25 mojo/system/test_utils.cc void PostTaskAndWait(scoped_refptr<base::TaskRunner> task_runner, base 27 mojo/system/test_utils.cc const base::Closure& task) { base 28 mojo/system/test_utils.cc base::WaitableEvent event(false, false); base 30 mojo/system/test_utils.cc base::Bind(&PostTaskAndWaitHelper, &event, task)); base 57 mojo/system/test_utils.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 67 mojo/system/test_utils.cc const base::Closure& task) { base 72 mojo/system/test_utils.cc const base::Closure& task) { base 32 mojo/system/test_utils.h start_time_ = base::TimeTicks::HighResNow(); base 36 mojo/system/test_utils.h return (base::TimeTicks::HighResNow() - start_time_).InMicroseconds(); base 40 mojo/system/test_utils.h base::TimeTicks start_time_; base 48 mojo/system/test_utils.h void PostTaskAndWait(scoped_refptr<base::TaskRunner> task_runner, base 50 mojo/system/test_utils.h const base::Closure& task); base 68 mojo/system/test_utils.h const base::Closure& task); base 70 mojo/system/test_utils.h const base::Closure& task); base 72 mojo/system/test_utils.h base::MessageLoopForIO* message_loop() { base 73 mojo/system/test_utils.h return static_cast<base::MessageLoopForIO*>(io_thread_.message_loop()); base 76 mojo/system/test_utils.h scoped_refptr<base::TaskRunner> task_runner() { base 81 mojo/system/test_utils.h base::Thread io_thread_; base 39 mojo/system/waiter.cc base::AutoLock locker(lock_); base 64 mojo/system/waiter.cc const base::TimeTicks end_time = base::TimeTicks::HighResNow() + base 65 mojo/system/waiter.cc base::TimeDelta::FromMicroseconds(static_cast<int64_t>(deadline)); base 67 mojo/system/waiter.cc base::TimeTicks now_time = base::TimeTicks::HighResNow(); base 80 mojo/system/waiter.cc base::AutoLock locker(lock_); base 47 mojo/system/waiter.h base::ConditionVariable cv_; // Associated to |lock_|. base 48 mojo/system/waiter.h base::Lock lock_; // Protects the following members. base 54 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 55 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 97 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 98 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 139 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 140 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 163 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 164 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 179 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 180 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 199 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 200 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 215 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 216 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); base 227 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 228 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); base 236 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 237 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); base 247 mojo/system/waiter_list_unittest.cc base::PlatformThread::Sleep( base 248 mojo/system/waiter_list_unittest.cc base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); base 12 mojo/system/waiter_test_utils.cc : base::SimpleThread("waiter_thread"), base 32 mojo/system/waiter_test_utils.cc : base::SimpleThread("waiter_thread"), base 44 mojo/system/waiter_test_utils.h class SimpleWaiterThread : public base::SimpleThread { base 65 mojo/system/waiter_test_utils.h class WaiterThread : public base::SimpleThread { base 28 mojo/system/waiter_unittest.cc class WaitingThread : public base::SimpleThread { base 31 mojo/system/waiter_unittest.cc : base::SimpleThread("waiting_thread"), base 46 mojo/system/waiter_unittest.cc base::AutoLock locker(lock_); base 54 mojo/system/waiter_unittest.cc base::PlatformThread::Sleep( base 55 mojo/system/waiter_unittest.cc base::TimeDelta::FromMicroseconds(kPollTimeMicros)); base 72 mojo/system/waiter_unittest.cc base::AutoLock locker(lock_); base 82 mojo/system/waiter_unittest.cc base::Lock lock_; // Protects the following members. base 120 mojo/system/waiter_unittest.cc base::PlatformThread::Sleep( base 121 mojo/system/waiter_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 133 mojo/system/waiter_unittest.cc base::PlatformThread::Sleep( base 134 mojo/system/waiter_unittest.cc base::TimeDelta::FromMicroseconds(5 * kEpsilonMicros)); base 178 mojo/system/waiter_unittest.cc base::PlatformThread::Sleep( base 179 mojo/system/waiter_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 191 mojo/system/waiter_unittest.cc base::PlatformThread::Sleep( base 192 mojo/system/waiter_unittest.cc base::TimeDelta::FromMicroseconds(5 * kEpsilonMicros)); base 259 mojo/system/waiter_unittest.cc base::PlatformThread::Sleep( base 260 mojo/system/waiter_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 270 mojo/system/waiter_unittest.cc base::PlatformThread::Sleep( base 271 mojo/system/waiter_unittest.cc base::TimeDelta::FromMicroseconds(1 * kEpsilonMicros)); base 273 mojo/system/waiter_unittest.cc base::PlatformThread::Sleep( base 274 mojo/system/waiter_unittest.cc base::TimeDelta::FromMicroseconds(2 * kEpsilonMicros)); base 22 mojo/tools/message_generator.cc std::string BinaryToHex(const base::StringPiece& piece) { base 26 mojo/tools/message_generator.cc base::StringAppendF(&result, "0X%.2X\n", static_cast<int>(piece.data()[i])); base 30 mojo/tools/message_generator.cc void WriteMessageToFile(const Message& message, const base::FilePath& path) { base 32 mojo/tools/message_generator.cc base::StringPiece(reinterpret_cast<const char*>(message.data()), base 35 mojo/tools/message_generator.cc base::WriteFile(path, hex_message.data(), base 54 mojo/tools/message_generator.cc base::FilePath(FILE_PATH_LITERAL("message_data"))); base 25 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc int64_t strtoull(const char* nptr, char** endptr, int base) { base 26 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc return _strtoui64(nptr, endptr, base); base 57 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc ssize_t base; base 67 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc base = 0; base 70 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc base = handle_attr_.offs; base 73 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc base = node_size; base 79 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc if (base + offset < 0) base 82 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc size_t new_offset = base + offset; base 13 net/android/android_private_key.cc base::android::ScopedJavaLocalRef<jobject> GetKeyStore( base 15 net/android/android_private_key.cc JNIEnv* env = base::android::AttachCurrentThread(); base 19 net/android/android_private_key.h NET_EXPORT base::android::ScopedJavaLocalRef<jobject> GetKeyStore( base 11 net/android/cert_verify_result_android.cc using base::android::AttachCurrentThread; base 12 net/android/cert_verify_result_android.cc using base::android::JavaArrayOfByteArrayToStringVector; base 14 net/android/gurl_utils.cc GURL host(base::android::ConvertJavaStringToUTF16(env, url)); base 16 net/android/gurl_utils.cc return base::android::ConvertUTF8ToJavaString(env, base 21 net/android/gurl_utils.cc GURL host(base::android::ConvertJavaStringToUTF16(env, url)); base 23 net/android/gurl_utils.cc return base::android::ConvertUTF8ToJavaString(env, base 7 net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java import org.chromium.base.CalledByNative; base 8 net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java import org.chromium.base.JNINamespace; base 7 net/android/java/src/org/chromium/net/AndroidKeyStore.java import org.chromium.base.CalledByNative; base 8 net/android/java/src/org/chromium/net/AndroidKeyStore.java import org.chromium.base.JNINamespace; base 13 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java import org.chromium.base.CalledByNative; base 14 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java import org.chromium.base.CalledByNativeUnchecked; base 7 net/android/java/src/org/chromium/net/AndroidPrivateKey.java import org.chromium.base.CalledByNative; base 8 net/android/java/src/org/chromium/net/AndroidPrivateKey.java import org.chromium.base.JNINamespace; base 7 net/android/java/src/org/chromium/net/GURLUtils.java import org.chromium.base.JNINamespace; base 9 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java import org.chromium.base.CalledByNative; base 10 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java import org.chromium.base.JNINamespace; base 11 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java import org.chromium.base.NativeClassQualifiedName; base 12 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java import org.chromium.base.ObserverList; base 17 net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java import org.chromium.base.ApplicationState; base 18 net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java import org.chromium.base.ApplicationStatus; base 13 net/android/java/src/org/chromium/net/ProxyChangeListener.java import org.chromium.base.CalledByNative; base 14 net/android/java/src/org/chromium/net/ProxyChangeListener.java import org.chromium.base.JNINamespace; base 15 net/android/java/src/org/chromium/net/ProxyChangeListener.java import org.chromium.base.NativeClassQualifiedName; base 18 net/android/java/src/org/chromium/net/X509Util.java import org.chromium.base.JNINamespace; base 9 net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java import org.chromium.base.CalledByNative; base 10 net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java import org.chromium.base.JNINamespace; base 20 net/android/javatests/src/org/chromium/net/AndroidProxySelectorTest.java import org.chromium.base.test.util.Feature; base 14 net/android/javatests/src/org/chromium/net/NetErrorsTest.java import org.chromium.base.test.util.Feature; base 15 net/android/javatests/src/org/chromium/net/NetworkChangeNotifierTest.java import org.chromium.base.ApplicationState; base 16 net/android/javatests/src/org/chromium/net/NetworkChangeNotifierTest.java import org.chromium.base.test.util.Feature; base 11 net/android/javatests/src/org/chromium/net/X509UtilTest.java import org.chromium.base.PathUtils; base 15 net/android/keystore.cc using base::android::AttachCurrentThread; base 16 net/android/keystore.cc using base::android::HasException; base 17 net/android/keystore.cc using base::android::JavaByteArrayToByteVector; base 18 net/android/keystore.cc using base::android::ScopedJavaLocalRef; base 19 net/android/keystore.cc using base::android::ToJavaByteArray; base 20 net/android/keystore.cc using base::android::JavaArrayOfByteArrayToStringVector; base 92 net/android/keystore.cc const base::StringPiece& digest, base 86 net/android/keystore.h const base::StringPiece& digest, base 97 net/android/keystore_openssl.cc using base::android::ScopedJavaGlobalRef; base 164 net/android/keystore_openssl.cc base::StringPiece from_piece(reinterpret_cast<const char*>(from), flen); base 367 net/android/keystore_openssl.cc base::StringPiece( base 533 net/android/keystore_openssl.cc static base::LazyInstance<EcdsaExDataIndex>::Leaky s_instance = base 552 net/android/keystore_openssl.cc base::StringPiece digest( base 666 net/android/keystore_openssl.cc if (base::android::BuildInfo::GetInstance()->sdk_int() < base 69 net/android/keystore_unittest.cc typedef base::android::ScopedJavaLocalRef<jobject> ScopedJava; base 72 net/android/keystore_unittest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 84 net/android/keystore_unittest.cc int level = base::android::BuildInfo::GetInstance()->sdk_int(); base 118 net/android/keystore_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 119 net/android/keystore_unittest.cc base::FilePath file_path = certs_dir.AppendASCII(filename); base 120 net/android/keystore_unittest.cc ScopedStdioHandle handle(base::OpenFile(file_path, "rb")); base 167 net/android/keystore_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 168 net/android/keystore_unittest.cc base::FilePath file_path = certs_dir.AppendASCII(filename); base 169 net/android/keystore_unittest.cc ScopedStdioHandle handle(base::OpenFile(file_path, "rb")); base 187 net/android/keystore_unittest.cc base::android::ScopedJavaLocalRef<jbyteArray> bytes( base 188 net/android/keystore_unittest.cc base::android::ToJavaByteArray( base 232 net/android/keystore_unittest.cc bool VerifyTestDSASignature(const base::StringPiece& message, base 233 net/android/keystore_unittest.cc const base::StringPiece& signature) { base 280 net/android/keystore_unittest.cc bool VerifyTestECDSASignature(const base::StringPiece& message, base 281 net/android/keystore_unittest.cc const base::StringPiece& signature) { base 313 net/android/keystore_unittest.cc bool SignWithOpenSSL(const base::StringPiece& message, base 417 net/android/keystore_unittest.cc bool CompareSignatureWithOpenSSL(const base::StringPiece& message, base 418 net/android/keystore_unittest.cc const base::StringPiece& signature, base 435 net/android/keystore_unittest.cc << base::HexEncode(signature.data(), signature.size()); base 437 net/android/keystore_unittest.cc << base::HexEncode(openssl_signature.data(), base 454 net/android/keystore_unittest.cc const base::StringPiece& message, base 478 net/android/keystore_unittest.cc const base::StringPiece& message, base 21 net/android/net_jni_registrar.cc static base::android::RegistrationMethod kNetRegisteredMethods[] = { base 34 net/android/net_jni_registrar.cc return base::android::RegisterNativeMethods( base 71 net/android/network_change_notifier_android.cc : public base::Thread { base 74 net/android/network_change_notifier_android.cc : base::Thread("DnsConfigService"), base 75 net/android/network_change_notifier_android.cc address_tracker_(base::Bind(base::DoNothing), base 76 net/android/network_change_notifier_android.cc base::Bind(base::DoNothing), base 78 net/android/network_change_notifier_android.cc base::Bind(NotifyNetworkChangeNotifierObservers)) {} base 88 net/android/network_change_notifier_android.cc base::Bind(&NetworkChangeNotifier::SetDnsConfig)); base 133 net/android/network_change_notifier_android.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 143 net/android/network_change_notifier_android.cc params.ip_address_offline_delay_ = base::TimeDelta::FromSeconds(1); base 144 net/android/network_change_notifier_android.cc params.ip_address_online_delay_ = base::TimeDelta::FromSeconds(1); base 145 net/android/network_change_notifier_android.cc params.connection_type_offline_delay_ = base::TimeDelta::FromSeconds(0); base 146 net/android/network_change_notifier_android.cc params.connection_type_online_delay_ = base::TimeDelta::FromSeconds(0); base 67 net/android/network_change_notifier_android_unittest.cc const base::Callback<int(void)>& notifications_count_getter, base 68 net/android/network_change_notifier_android_unittest.cc const base::Callback<ConnectionType(void)>& connection_type_getter) { base 96 net/android/network_change_notifier_android_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 102 net/android/network_change_notifier_android_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 159 net/android/network_change_notifier_android_unittest.cc base::Bind( base 161 net/android/network_change_notifier_android_unittest.cc base::Unretained(&delegate_observer_)), base 162 net/android/network_change_notifier_android_unittest.cc base::Bind( base 164 net/android/network_change_notifier_android_unittest.cc base::Unretained(&delegate_))); base 194 net/android/network_change_notifier_android_unittest.cc base::Bind( base 196 net/android/network_change_notifier_android_unittest.cc base::Unretained(&connection_type_observer_)), base 197 net/android/network_change_notifier_android_unittest.cc base::Bind( base 199 net/android/network_change_notifier_android_unittest.cc base::Unretained(¬ifier_))); base 207 net/android/network_change_notifier_android_unittest.cc base::Bind( base 209 net/android/network_change_notifier_android_unittest.cc base::Unretained(&connection_type_observer_)), base 210 net/android/network_change_notifier_android_unittest.cc base::Bind(&NetworkChangeNotifier::GetConnectionType)); base 38 net/android/network_change_notifier_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 41 net/android/network_change_notifier_delegate_android.cc env, base::android::GetApplicationContext())); base 54 net/android/network_change_notifier_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 62 net/android/network_change_notifier_delegate_android.cc base::AutoLock auto_lock(connection_type_lock_); base 100 net/android/network_change_notifier_delegate_android.cc base::AutoLock auto_lock(connection_type_lock_); base 105 net/android/network_change_notifier_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 110 net/android/network_change_notifier_delegate_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 70 net/android/network_change_notifier_delegate_android.h base::ThreadChecker thread_checker_; base 72 net/android/network_change_notifier_delegate_android.h scoped_refptr<base::SingleThreadTaskRunner> jni_task_runner_; base 73 net/android/network_change_notifier_delegate_android.h base::android::ScopedJavaGlobalRef<jobject> java_network_change_notifier_; base 74 net/android/network_change_notifier_delegate_android.h mutable base::Lock connection_type_lock_; // Protects the state below. base 14 net/android/network_library.cc using base::android::AttachCurrentThread; base 15 net/android/network_library.cc using base::android::ConvertJavaStringToUTF8; base 16 net/android/network_library.cc using base::android::ConvertUTF8ToJavaString; base 17 net/android/network_library.cc using base::android::GetApplicationContext; base 18 net/android/network_library.cc using base::android::ScopedJavaLocalRef; base 19 net/android/network_library.cc using base::android::ToJavaArrayOfByteArray; base 20 net/android/network_library.cc using base::android::ToJavaByteArray; base 17 net/base/address_list.cc base::Value* NetLogAddressListCallback(const AddressList* address_list, base 19 net/base/address_list.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 20 net/base/address_list.cc base::ListValue* list = new base::ListValue(); base 24 net/base/address_list.cc list->Append(new base::StringValue(it->ToString())); base 92 net/base/address_list.cc return base::Bind(&NetLogAddressListCallback, this); base 57 net/base/address_list_unittest.cc addr->sin_port = base::HostToNet16(static_cast<uint16>(i << 2)); base 100 net/base/address_tracker_linux.cc AddressTrackerLinux::AddressTrackerLinux(const base::Closure& address_callback, base 101 net/base/address_tracker_linux.cc const base::Closure& link_callback, base 102 net/base/address_tracker_linux.cc const base::Closure& tunnel_callback) base 189 net/base/address_tracker_linux.cc base::AutoLock lock(is_offline_lock_); base 194 net/base/address_tracker_linux.cc rv = base::MessageLoopForIO::current()->WatchFileDescriptor( base 195 net/base/address_tracker_linux.cc netlink_fd_, true, base::MessageLoopForIO::WATCH_READ, &watcher_, this); base 205 net/base/address_tracker_linux.cc base::AutoLock lock(is_offline_lock_); base 212 net/base/address_tracker_linux.cc base::AutoLock lock(address_map_lock_); base 219 net/base/address_tracker_linux.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 220 net/base/address_tracker_linux.cc base::AutoLock lock(is_offline_lock_); base 259 net/base/address_tracker_linux.cc base::AutoLock lock(is_offline_lock_); base 285 net/base/address_tracker_linux.cc base::AutoLock lock(address_map_lock_); base 312 net/base/address_tracker_linux.cc base::AutoLock lock(address_map_lock_); base 32 net/base/address_tracker_linux.h public base::MessageLoopForIO::Watcher { base 39 net/base/address_tracker_linux.h AddressTrackerLinux(const base::Closure& address_callback, base 40 net/base/address_tracker_linux.h const base::Closure& link_callback, base 41 net/base/address_tracker_linux.h const base::Closure& tunnel_callback); base 97 net/base/address_tracker_linux.h base::Closure address_callback_; base 98 net/base/address_tracker_linux.h base::Closure link_callback_; base 99 net/base/address_tracker_linux.h base::Closure tunnel_callback_; base 102 net/base/address_tracker_linux.h base::MessageLoopForIO::FileDescriptorWatcher watcher_; base 104 net/base/address_tracker_linux.h mutable base::Lock address_map_lock_; base 108 net/base/address_tracker_linux.h base::hash_set<int> online_links_; base 110 net/base/address_tracker_linux.h base::Lock is_offline_lock_; base 113 net/base/address_tracker_linux.h base::ConditionVariable is_offline_initialized_cv_; base 37 net/base/address_tracker_linux_unittest.cc : tracker_(base::Bind(&base::DoNothing), base 38 net/base/address_tracker_linux_unittest.cc base::Bind(&base::DoNothing), base 39 net/base/address_tracker_linux_unittest.cc base::Bind(&base::DoNothing)), base 81 net/base/address_tracker_linux_unittest.cc const base::hash_set<int>* GetOnlineLinks() const { base 32 net/base/auth.cc AuthCredentials::AuthCredentials(const base::string16& username, base 33 net/base/auth.cc const base::string16& password) base 41 net/base/auth.cc void AuthCredentials::Set(const base::string16& username, base 42 net/base/auth.cc const base::string16& password) { base 20 net/base/auth.h public base::RefCountedThreadSafe<AuthChallengeInfo> { base 41 net/base/auth.h friend class base::RefCountedThreadSafe<AuthChallengeInfo>; base 49 net/base/auth.h AuthCredentials(const base::string16& username, base 50 net/base/auth.h const base::string16& password); base 54 net/base/auth.h void Set(const base::string16& username, const base::string16& password); base 66 net/base/auth.h const base::string16& username() const { return username_; } base 67 net/base/auth.h const base::string16& password() const { return password_; } base 73 net/base/auth.h base::string16 username_; base 78 net/base/auth.h base::string16 password_; base 92 net/base/auth.h class AuthData : public base::RefCountedThreadSafe<AuthData> { base 101 net/base/auth.h friend class base::RefCountedThreadSafe<AuthData>; base 50 net/base/backoff_entry.cc base::TimeDelta delay; base 52 net/base/backoff_entry.cc delay = base::TimeDelta::FromMilliseconds(policy_->initial_delay_ms); base 62 net/base/backoff_entry.cc base::TimeDelta BackoffEntry::GetTimeUntilRelease() const { base 63 net/base/backoff_entry.cc base::TimeTicks now = ImplGetTimeNow(); base 65 net/base/backoff_entry.cc return base::TimeDelta(); base 69 net/base/backoff_entry.cc base::TimeTicks BackoffEntry::GetReleaseTime() const { base 73 net/base/backoff_entry.cc void BackoffEntry::SetCustomReleaseTime(const base::TimeTicks& release_time) { base 81 net/base/backoff_entry.cc base::TimeTicks now = ImplGetTimeNow(); base 110 net/base/backoff_entry.cc exponential_backoff_release_time_ = base::TimeTicks(); base 113 net/base/backoff_entry.cc base::TimeTicks BackoffEntry::ImplGetTimeNow() const { base 114 net/base/backoff_entry.cc return base::TimeTicks::Now(); base 117 net/base/backoff_entry.cc base::TimeTicks BackoffEntry::CalculateReleaseTime() const { base 137 net/base/backoff_entry.cc delay -= base::RandDouble() * policy_->jitter_factor * delay; base 150 net/base/backoff_entry.cc ImplGetTimeNow() + base::TimeDelta::FromMilliseconds(delay_int), base 19 net/base/backoff_entry.h class NET_EXPORT BackoffEntry : NON_EXPORTED_BASE(public base::NonThreadSafe) { base 73 net/base/backoff_entry.h base::TimeTicks GetReleaseTime() const; base 76 net/base/backoff_entry.h base::TimeDelta GetTimeUntilRelease() const; base 80 net/base/backoff_entry.h void SetCustomReleaseTime(const base::TimeTicks& release_time); base 95 net/base/backoff_entry.h virtual base::TimeTicks ImplGetTimeNow() const; base 99 net/base/backoff_entry.h base::TimeTicks CalculateReleaseTime() const; base 103 net/base/backoff_entry.h base::TimeTicks exponential_backoff_release_time_; base 10 net/base/backoff_entry_unittest.cc using base::TimeDelta; base 11 net/base/backoff_entry_unittest.cc using base::TimeTicks; base 8 net/base/bandwidth_metrics.cc static base::LazyInstance<net::BandwidthMetrics> g_bandwidth_metrics = base 73 net/base/bandwidth_metrics.h last_start_ = base::TimeTicks::HighResNow(); base 89 net/base/bandwidth_metrics.h base::TimeDelta delta = base::TimeTicks::HighResNow() - last_start_; base 115 net/base/bandwidth_metrics.h base::TimeTicks last_start_; // Timestamp of the begin of this "session". base 15 net/base/capturing_net_log.cc const base::TimeTicks& time, base 18 net/base/capturing_net_log.cc scoped_ptr<base::DictionaryValue> params) base 60 net/base/capturing_net_log.cc base::ListValue** value) const { base 74 net/base/capturing_net_log.cc base::JSONWriter::Write(params.get(), &json); base 84 net/base/capturing_net_log.cc base::AutoLock lock(lock_); base 91 net/base/capturing_net_log.cc base::AutoLock lock(lock_); base 101 net/base/capturing_net_log.cc base::AutoLock lock(lock_); base 106 net/base/capturing_net_log.cc base::AutoLock lock(lock_); base 116 net/base/capturing_net_log.cc base::DictionaryValue* param_dict = NULL; base 117 net/base/capturing_net_log.cc base::Value* param_value = entry.ParametersToValue(); base 122 net/base/capturing_net_log.cc base::AutoLock lock(lock_); base 125 net/base/capturing_net_log.cc base::TimeTicks::Now(), base 128 net/base/capturing_net_log.cc scoped_ptr<base::DictionaryValue>(param_dict))); base 20 net/base/capturing_net_log.h namespace base { base 35 net/base/capturing_net_log.h const base::TimeTicks& time, base 38 net/base/capturing_net_log.h scoped_ptr<base::DictionaryValue> params); base 54 net/base/capturing_net_log.h bool GetListValue(const std::string& name, base::ListValue** value) const; base 65 net/base/capturing_net_log.h base::TimeTicks time; base 68 net/base/capturing_net_log.h scoped_ptr<base::DictionaryValue> params; base 111 net/base/capturing_net_log.h mutable base::Lock lock_; base 15 net/base/completion_callback.h typedef base::Callback<void(int)> CompletionCallback; base 19 net/base/completion_callback.h typedef base::Callback<void(int64)> Int64CompletionCallback; base 21 net/base/completion_callback.h typedef base::CancelableCallback<void(int)> CancelableCompletionCallback; base 25 net/base/crypto_module.h : public base::RefCountedThreadSafe<CryptoModule> { base 40 net/base/crypto_module.h friend class base::RefCountedThreadSafe<CryptoModule>; base 39 net/base/data_url.cc base::SplitString(unparsed_meta_data, ';', &meta_data); base 116 net/base/data_url.cc return base::Base64Decode(temp_data, data); base 23 net/base/directory_lister.cc bool IsDotDot(const base::FilePath& path) { base 88 net/base/directory_lister.cc DirectoryLister::DirectoryLister(const base::FilePath& dir, base 96 net/base/directory_lister.cc DirectoryLister::DirectoryLister(const base::FilePath& dir, base 118 net/base/directory_lister.cc DirectoryLister::Core::Core(const base::FilePath& dir, base 132 net/base/directory_lister.cc origin_loop_ = base::MessageLoopProxy::current(); base 134 net/base/directory_lister.cc return base::WorkerPool::PostTask( base 135 net/base/directory_lister.cc FROM_HERE, base::Bind(&Core::StartInternal, this), true); base 144 net/base/directory_lister.cc if (!base::DirectoryExists(dir_)) { base 147 net/base/directory_lister.cc base::Bind(&DirectoryLister::Core::OnDone, this, ERR_FILE_NOT_FOUND)); base 151 net/base/directory_lister.cc int types = base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES; base 153 net/base/directory_lister.cc types |= base::FileEnumerator::INCLUDE_DOT_DOT; base 155 net/base/directory_lister.cc base::FileEnumerator file_enum(dir_, recursive_, types); base 157 net/base/directory_lister.cc base::FilePath path; base 184 net/base/directory_lister.cc base::Bind(&DirectoryLister::Core::SendData, this, file_data)); base 188 net/base/directory_lister.cc base::Bind(&DirectoryLister::Core::OnDone, this, OK)); base 29 net/base/directory_lister.h base::FileEnumerator::FileInfo info; base 30 net/base/directory_lister.h base::FilePath path; base 58 net/base/directory_lister.h DirectoryLister(const base::FilePath& dir, base 61 net/base/directory_lister.h DirectoryLister(const base::FilePath& dir, base 77 net/base/directory_lister.h class Core : public base::RefCountedThreadSafe<Core> { base 79 net/base/directory_lister.h Core(const base::FilePath& dir, base 89 net/base/directory_lister.h friend class base::RefCountedThreadSafe<Core>; base 101 net/base/directory_lister.h base::FilePath dir_; base 104 net/base/directory_lister.h scoped_refptr<base::MessageLoopProxy> origin_loop_; base 35 net/base/directory_lister_unittest.cc base::MessageLoop::current()->Quit(); base 40 net/base/directory_lister_unittest.cc base::MessageLoop::current()->Quit(); base 89 net/base/directory_lister_unittest.cc std::vector<base::FileEnumerator::FileInfo> file_list_; base 90 net/base/directory_lister_unittest.cc std::vector<base::FilePath> paths_; base 103 net/base/directory_lister_unittest.cc std::list<std::pair<base::FilePath, int> > directories; base 107 net/base/directory_lister_unittest.cc std::pair<base::FilePath, int> dir_data = directories.front(); base 110 net/base/directory_lister_unittest.cc std::string file_name = base::StringPrintf("file_id_%d", i); base 111 net/base/directory_lister_unittest.cc base::FilePath file_path = dir_data.first.AppendASCII(file_name); base 112 net/base/directory_lister_unittest.cc base::File file(file_path, base 113 net/base/directory_lister_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 118 net/base/directory_lister_unittest.cc std::string dir_name = base::StringPrintf("child_dir_%d", i); base 119 net/base/directory_lister_unittest.cc base::FilePath dir_path = dir_data.first.AppendASCII(dir_name); base 120 net/base/directory_lister_unittest.cc ASSERT_TRUE(base::CreateDirectory(dir_path)); base 128 net/base/directory_lister_unittest.cc const base::FilePath& root_path() const { base 133 net/base/directory_lister_unittest.cc base::ScopedTempDir temp_root_dir_; base 141 net/base/directory_lister_unittest.cc base::MessageLoop::current()->Run(); base 152 net/base/directory_lister_unittest.cc base::MessageLoop::current()->Run(); base 162 net/base/directory_lister_unittest.cc base::MessageLoop::current()->Run(); base 168 net/base/directory_lister_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 174 net/base/directory_lister_unittest.cc base::ScopedTempDir tempDir; base 183 net/base/directory_lister_unittest.cc base::MessageLoop::current()->Run(); base 50 net/base/dns_reloader.cc DCHECK(base::MessageLoopForIO::IsCurrent()); base 51 net/base/dns_reloader.cc base::AutoLock l(lock_); base 57 net/base/dns_reloader.cc base::AutoLock l(lock_); base 91 net/base/dns_reloader.cc base::Lock lock_; // Protects resolver_generation_. base 93 net/base/dns_reloader.cc friend struct base::DefaultLazyInstanceTraits<DnsReloader>; base 96 net/base/dns_reloader.cc static base::ThreadLocalStorage::StaticSlot tls_index_; base 103 net/base/dns_reloader.cc base::ThreadLocalStorage::StaticSlot DnsReloader::tls_index_ = TLS_INITIALIZER; base 105 net/base/dns_reloader.cc base::LazyInstance<DnsReloader>::Leaky base 12 net/base/dns_util.cc bool DNSDomainFromDot(const base::StringPiece& dotted, std::string* out) { base 61 net/base/dns_util.cc std::string DNSDomainToString(const base::StringPiece& domain) { base 83 net/base/dns_util.cc std::string TrimEndingDot(const base::StringPiece& host) { base 84 net/base/dns_util.cc base::StringPiece host_trimmed = host; base 21 net/base/dns_util.h NET_EXPORT_PRIVATE bool DNSDomainFromDot(const base::StringPiece& dotted, base 27 net/base/dns_util.h const base::StringPiece& domain); base 30 net/base/dns_util.h NET_EXPORT std::string TrimEndingDot(const base::StringPiece& host); base 130 net/base/escape.cc base::LimitOffset<STR>(escaped_text.length())); base 336 net/base/escape.cc base::string16 EscapeForHTML(const base::string16& input) { base 345 net/base/escape.cc base::string16 UnescapeURLComponent(const base::string16& escaped_text, base 350 net/base/escape.cc base::string16 UnescapeAndDecodeUTF8URLComponent( base 357 net/base/escape.cc base::string16 result = base 364 net/base/escape.cc base::string16 UnescapeAndDecodeUTF8URLComponentWithOffsets( base 368 net/base/escape.cc base::string16 result; base 374 net/base/escape.cc if (base::UTF8ToUTF16AndAdjustOffsets(unescaped_url.data(), base 383 net/base/escape.cc return base::UTF8ToUTF16AndAdjustOffsets(text, offsets_for_adjustment); base 386 net/base/escape.cc base::string16 UnescapeForHTML(const base::string16& input) { base 398 net/base/escape.cc if (input.find(base::ASCIIToUTF16("&")) == std::string::npos) base 401 net/base/escape.cc base::string16 ampersand_chars[ARRAYSIZE_UNSAFE(kEscapeToChars)]; base 402 net/base/escape.cc base::string16 text(input); base 403 net/base/escape.cc for (base::string16::iterator iter = text.begin(); base 411 net/base/escape.cc base::ASCIIToUTF16(kEscapeToChars[i].ampersand_code); base 431 net/base/escape.cc if (offset == base::string16::npos) base 442 net/base/escape.cc offset = base::string16::npos; base 54 net/base/escape.h NET_EXPORT base::string16 EscapeForHTML(const base::string16& text); base 110 net/base/escape.h NET_EXPORT base::string16 UnescapeURLComponent( base 111 net/base/escape.h const base::string16& escaped_text, base 123 net/base/escape.h NET_EXPORT base::string16 UnescapeAndDecodeUTF8URLComponent( base 127 net/base/escape.h NET_EXPORT base::string16 UnescapeAndDecodeUTF8URLComponentWithOffsets( base 134 net/base/escape.h NET_EXPORT base::string16 UnescapeForHTML(const base::string16& text); base 20 net/base/escape_unittest.cc const size_t kNpos = base::string16::npos; base 101 net/base/escape_unittest.cc std::string expected = base::StringPrintf("%%%02X", i); base 278 net/base/escape_unittest.cc base::string16 str(base::WideToUTF16(unescape_cases[i].input)); base 279 net/base/escape_unittest.cc EXPECT_EQ(base::WideToUTF16(unescape_cases[i].output), base 285 net/base/escape_unittest.cc base::string16 input(base::WideToUTF16(L"Null")); base 287 net/base/escape_unittest.cc input.append(base::WideToUTF16(L"%00%39Test")); base 290 net/base/escape_unittest.cc base::string16 expected(base::WideToUTF16(L"Null")); base 293 net/base/escape_unittest.cc expected.append(base::ASCIIToUTF16("9Test")); base 297 net/base/escape_unittest.cc expected = base::WideToUTF16(L"Null"); base 299 net/base/escape_unittest.cc expected.append(base::WideToUTF16(L"%009Test")); base 357 net/base/escape_unittest.cc base::string16 decoded = UnescapeAndDecodeUTF8URLComponent( base 359 net/base/escape_unittest.cc EXPECT_EQ(base::WideToUTF16(unescape_cases[i].decoded), decoded); base 415 net/base/escape_unittest.cc base::string16 result = UnescapeForHTML(base::ASCIIToUTF16(tests[i].input)); base 416 net/base/escape_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(tests[i].expected_output), result); base 24 net/base/expiring_cache_unittest.cc typedef ExpiringCache<std::string, std::string, base::TimeTicks, base 25 net/base/expiring_cache_unittest.cc std::less<base::TimeTicks> > Cache; base 37 net/base/expiring_cache_unittest.cc const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); base 42 net/base/expiring_cache_unittest.cc base::TimeTicks now; base 52 net/base/expiring_cache_unittest.cc now += base::TimeDelta::FromSeconds(5); base 61 net/base/expiring_cache_unittest.cc now += base::TimeDelta::FromSeconds(4); base 68 net/base/expiring_cache_unittest.cc now += base::TimeDelta::FromSeconds(1); base 85 net/base/expiring_cache_unittest.cc now += base::TimeDelta::FromSeconds(10); base 92 net/base/expiring_cache_unittest.cc const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); base 97 net/base/expiring_cache_unittest.cc base::TimeTicks now; base 101 net/base/expiring_cache_unittest.cc base::TimeTicks t10 = now + kTTL; base 103 net/base/expiring_cache_unittest.cc std::string name = base::StringPrintf("valid%d", i); base 110 net/base/expiring_cache_unittest.cc std::string name = base::StringPrintf("expired%d", i); base 117 net/base/expiring_cache_unittest.cc std::string name = base::StringPrintf("negative%d", i); base 159 net/base/expiring_cache_unittest.cc const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); base 164 net/base/expiring_cache_unittest.cc base::TimeTicks now = base::TimeTicks() + kTTL; base 196 net/base/expiring_cache_unittest.cc const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); base 201 net/base/expiring_cache_unittest.cc base::TimeTicks now; base 216 net/base/expiring_cache_unittest.cc const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); base 221 net/base/expiring_cache_unittest.cc base::TimeTicks now; base 238 net/base/expiring_cache_unittest.cc std::string name = base::StringPrintf("valid%d", i); base 251 net/base/expiring_cache_unittest.cc std::string name = base::StringPrintf("valid%d", i); base 19 net/base/file_stream.cc const scoped_refptr<base::TaskRunner>& task_runner) base 32 net/base/file_stream.cc base::WorkerPool::GetTaskRunner(true /* slow */))) { base 36 net/base/file_stream.cc FileStream::FileStream(base::PlatformFile file, base 39 net/base/file_stream.cc const scoped_refptr<base::TaskRunner>& task_runner) base 41 net/base/file_stream.cc context_(new Context(base::File(file), flags, bound_net_log_, base 46 net/base/file_stream.cc FileStream::FileStream(base::PlatformFile file, int flags, NetLog* net_log) base 48 net/base/file_stream.cc context_(new Context(base::File(file), flags, bound_net_log_, base 49 net/base/file_stream.cc base::WorkerPool::GetTaskRunner(true /* slow */))) { base 53 net/base/file_stream.cc FileStream::FileStream(base::File file, base 55 net/base/file_stream.cc const scoped_refptr<base::TaskRunner>& task_runner) base 61 net/base/file_stream.cc FileStream::FileStream(base::File file, net::NetLog* net_log) base 64 net/base/file_stream.cc base::WorkerPool::GetTaskRunner(true /* slow */))) { base 79 net/base/file_stream.cc int FileStream::Open(const base::FilePath& path, int open_flags, base 86 net/base/file_stream.cc DCHECK(open_flags & base::File::FLAG_ASYNC); base 91 net/base/file_stream.cc int FileStream::OpenSync(const base::FilePath& path, int open_flags) { base 92 net/base/file_stream.cc base::ThreadRestrictions::AssertIOAllowed(); base 111 net/base/file_stream.cc base::ThreadRestrictions::AssertIOAllowed(); base 133 net/base/file_stream.cc base::ThreadRestrictions::AssertIOAllowed(); base 144 net/base/file_stream.cc base::ThreadRestrictions::AssertIOAllowed(); base 175 net/base/file_stream.cc base::ThreadRestrictions::AssertIOAllowed(); base 188 net/base/file_stream.cc base::ThreadRestrictions::AssertIOAllowed(); base 224 net/base/file_stream.cc base::ThreadRestrictions::AssertIOAllowed(); base 237 net/base/file_stream.cc base::ThreadRestrictions::AssertIOAllowed(); base 263 net/base/file_stream.cc base::ThreadRestrictions::AssertIOAllowed(); base 292 net/base/file_stream.cc const base::File& FileStream::GetFileForTesting() const { base 21 net/base/file_stream.h namespace base { base 35 net/base/file_stream.h const scoped_refptr<base::TaskRunner>& task_runner); base 51 net/base/file_stream.h FileStream(base::PlatformFile file, base 54 net/base/file_stream.h const scoped_refptr<base::TaskRunner>& task_runner); base 58 net/base/file_stream.h FileStream(base::PlatformFile file, int flags, net::NetLog* net_log); base 61 net/base/file_stream.h FileStream(base::File file, base 63 net/base/file_stream.h const scoped_refptr<base::TaskRunner>& task_runner); base 64 net/base/file_stream.h FileStream(base::File file, net::NetLog* net_log); base 82 net/base/file_stream.h virtual int Open(const base::FilePath& path, int open_flags, base 92 net/base/file_stream.h virtual int OpenSync(const base::FilePath& path, int open_flags); base 252 net/base/file_stream.h const base::File& GetFileForTesting() const; base 49 net/base/file_stream_context.cc FileStream::Context::OpenResult::OpenResult(base::File file, base 85 net/base/file_stream_context.cc void FileStream::Context::OpenAsync(const base::FilePath& path, base 91 net/base/file_stream_context.cc bool posted = base::PostTaskAndReplyWithResult( base 94 net/base/file_stream_context.cc base::Bind( base 95 net/base/file_stream_context.cc &Context::OpenFileImpl, base::Unretained(this), path, open_flags), base 96 net/base/file_stream_context.cc base::Bind(&Context::OnOpenCompleted, base::Unretained(this), callback)); base 109 net/base/file_stream_context.cc int FileStream::Context::OpenSync(const base::FilePath& path, int open_flags) { base 118 net/base/file_stream_context.cc if (open_flags & base::File::FLAG_ASYNC) base 136 net/base/file_stream_context.cc bool posted = base::PostTaskAndReplyWithResult( base 139 net/base/file_stream_context.cc base::Bind(&Context::CloseFileImpl, base::Unretained(this)), base 140 net/base/file_stream_context.cc base::Bind(&Context::ProcessAsyncResult, base 141 net/base/file_stream_context.cc base::Unretained(this), base 154 net/base/file_stream_context.cc bool posted = base::PostTaskAndReplyWithResult( base 157 net/base/file_stream_context.cc base::Bind( base 158 net/base/file_stream_context.cc &Context::SeekFileImpl, base::Unretained(this), whence, offset), base 159 net/base/file_stream_context.cc base::Bind(&Context::ProcessAsyncResult, base 160 net/base/file_stream_context.cc base::Unretained(this), base 177 net/base/file_stream_context.cc bool posted = base::PostTaskAndReplyWithResult( base 180 net/base/file_stream_context.cc base::Bind(&Context::FlushFileImpl, base::Unretained(this)), base 181 net/base/file_stream_context.cc base::Bind(&Context::ProcessAsyncResult, base 182 net/base/file_stream_context.cc base::Unretained(this), base 206 net/base/file_stream_context.cc base::Bind(&NetLogFileStreamErrorCallback, base 214 net/base/file_stream_context.cc void FileStream::Context::BeginOpenEvent(const base::FilePath& path) { base 221 net/base/file_stream_context.cc const base::FilePath& path, int open_flags) { base 224 net/base/file_stream_context.cc open_flags &= ~base::File::FLAG_ASYNC; base 226 net/base/file_stream_context.cc base::File file; base 230 net/base/file_stream_context.cc DCHECK_EQ(open_flags & ~base::File::FLAG_ASYNC, base 231 net/base/file_stream_context.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 232 net/base/file_stream_context.cc file = base::OpenContentUriForRead(path); base 241 net/base/file_stream_context.cc open_flags |= base::File::FLAG_SHARE_DELETE; base 247 net/base/file_stream_context.cc return OpenResult(base::File(), IOResult::FromOSError(GetLastErrno())); base 279 net/base/file_stream_context.cc base::Bind(base::IgnoreResult(&Context::CloseFileImpl), base 280 net/base/file_stream_context.cc base::Owned(this))); base 289 net/base/file_stream_context.cc return base::Bind(&CallInt64ToInt, callback); base 44 net/base/file_stream_context.h namespace base { base 53 net/base/file_stream_context.h class FileStream::Context : public base::MessageLoopForIO::IOHandler { base 64 net/base/file_stream_context.h const scoped_refptr<base::TaskRunner>& task_runner); base 65 net/base/file_stream_context.h Context(base::File file, base 67 net/base/file_stream_context.h const scoped_refptr<base::TaskRunner>& task_runner); base 71 net/base/file_stream_context.h Context(base::File file, base 74 net/base/file_stream_context.h const scoped_refptr<base::TaskRunner>& task_runner); base 100 net/base/file_stream_context.h const base::File& file() const { return file_; } base 113 net/base/file_stream_context.h void OpenAsync(const base::FilePath& path, base 116 net/base/file_stream_context.h int OpenSync(const base::FilePath& path, int open_flags); base 148 net/base/file_stream_context.h OpenResult(base::File file, IOResult error_code); base 153 net/base/file_stream_context.h base::File file; base 160 net/base/file_stream_context.h void BeginOpenEvent(const base::FilePath& path); base 162 net/base/file_stream_context.h OpenResult OpenFileImpl(const base::FilePath& path, int open_flags); base 197 net/base/file_stream_context.h void CancelIo(base::PlatformFile) {} base 215 net/base/file_stream_context.h virtual void OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 229 net/base/file_stream_context.h base::File file_; base 235 net/base/file_stream_context.h scoped_refptr<base::TaskRunner> task_runner_; base 238 net/base/file_stream_context.h base::MessageLoopForIO::IOContext io_context_; base 48 net/base/file_stream_context_posix.cc const scoped_refptr<base::TaskRunner>& task_runner) base 57 net/base/file_stream_context_posix.cc FileStream::Context::Context(base::File file, base 59 net/base/file_stream_context_posix.cc const scoped_refptr<base::TaskRunner>& task_runner) base 69 net/base/file_stream_context_posix.cc FileStream::Context::Context(base::File file, base 72 net/base/file_stream_context_posix.cc const scoped_refptr<base::TaskRunner>& task_runner) base 77 net/base/file_stream_context_posix.cc async_((flags & base::File::FLAG_ASYNC) == base::File::FLAG_ASYNC), base 102 net/base/file_stream_context_posix.cc const bool posted = base::PostTaskAndReplyWithResult( base 105 net/base/file_stream_context_posix.cc base::Bind(&Context::ReadFileImpl, base::Unretained(this), buf, buf_len), base 106 net/base/file_stream_context_posix.cc base::Bind(&Context::ProcessAsyncResult, base 107 net/base/file_stream_context_posix.cc base::Unretained(this), base 129 net/base/file_stream_context_posix.cc const bool posted = base::PostTaskAndReplyWithResult( base 132 net/base/file_stream_context_posix.cc base::Bind(&Context::WriteFileImpl, base::Unretained(this), buf, buf_len), base 133 net/base/file_stream_context_posix.cc base::Bind(&Context::ProcessAsyncResult, base 134 net/base/file_stream_context_posix.cc base::Unretained(this), base 41 net/base/file_stream_context_win.cc const scoped_refptr<base::TaskRunner>& task_runner) base 54 net/base/file_stream_context_win.cc FileStream::Context::Context(base::File file, base 56 net/base/file_stream_context_win.cc const scoped_refptr<base::TaskRunner>& task_runner) base 72 net/base/file_stream_context_win.cc FileStream::Context::Context(base::File file, base 75 net/base/file_stream_context_win.cc const scoped_refptr<base::TaskRunner>& task_runner) base 81 net/base/file_stream_context_win.cc async_((flags & base::File::FLAG_ASYNC) == base::File::FLAG_ASYNC), base 87 net/base/file_stream_context_win.cc if (file_.IsValid() && (file_.async() || flags & base::File::FLAG_ASYNC)) base 193 net/base/file_stream_context_win.cc base::MessageLoopForIO::current()->RegisterIOHandler(file_.GetPlatformFile(), base 227 net/base/file_stream_context_win.cc base::MessageLoopForIO::IOContext* context, base 11 net/base/file_stream_net_log_parameters.cc base::Value* NetLogFileStreamErrorCallback( base 16 net/base/file_stream_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 19 net/base/file_stream_net_log_parameters.h base::Value* NetLogFileStreamErrorCallback( base 49 net/base/file_stream_unittest.cc base::CreateTemporaryFile(&temp_file_path_); base 50 net/base/file_stream_unittest.cc base::WriteFile(temp_file_path_, kTestData, kTestDataSize); base 53 net/base/file_stream_unittest.cc EXPECT_TRUE(base::DeleteFile(temp_file_path_, false)); base 57 net/base/file_stream_unittest.cc base::RunLoop().RunUntilIdle(); base 61 net/base/file_stream_unittest.cc const base::FilePath temp_file_path() const { return temp_file_path_; } base 64 net/base/file_stream_unittest.cc base::FilePath temp_file_path_; base 72 net/base/file_stream_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 84 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base 85 net/base/file_stream_unittest.cc base::File::FLAG_READ | base 86 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 101 net/base/file_stream_unittest.cc NULL, base::MessageLoopProxy::current())); base 102 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 103 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 112 net/base/file_stream_unittest.cc base::RunLoop runloop; base 121 net/base/file_stream_unittest.cc base::WriteFile(temp_file_path(), kTestData, kTestDataSize)); base 122 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ; base 123 net/base/file_stream_unittest.cc base::File file(temp_file_path(), flags); base 127 net/base/file_stream_unittest.cc new FileStream(file.Pass(), NULL, base::MessageLoopProxy::current())); base 138 net/base/file_stream_unittest.cc base::DeleteFile(temp_file_path(), false); base 139 net/base/file_stream_unittest.cc flags = base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE; base 143 net/base/file_stream_unittest.cc new FileStream(file.Pass(), NULL, base::MessageLoopProxy::current())); base 151 net/base/file_stream_unittest.cc base::ReadFile(temp_file_path(), buffer, kTestDataSize)); base 156 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 176 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 178 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 179 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ; base 204 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 206 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 207 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 208 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 237 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 240 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 241 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 242 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 257 net/base/file_stream_unittest.cc base::RunLoop().RunUntilIdle(); base 266 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 268 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 269 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ; base 299 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 301 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 302 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 303 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 338 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 339 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ; base 360 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 361 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_ASYNC | base 362 net/base/file_stream_unittest.cc base::File::FLAG_READ; base 396 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 397 net/base/file_stream_unittest.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; base 402 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 409 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 414 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 415 net/base/file_stream_unittest.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE | base 416 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 423 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 442 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 448 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 449 net/base/file_stream_unittest.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE | base 450 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 457 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 466 net/base/file_stream_unittest.cc base::RunLoop().RunUntilIdle(); base 469 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 476 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 477 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_WRITE; base 482 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 493 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 499 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 501 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 502 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_WRITE | base 503 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 532 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 538 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 541 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 542 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 543 net/base/file_stream_unittest.cc base::File::FLAG_WRITE; base 569 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 575 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 578 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 579 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 580 net/base/file_stream_unittest.cc base::File::FLAG_WRITE; base 610 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 621 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 624 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 625 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 626 net/base/file_stream_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC; base 671 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 677 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 680 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 681 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 682 net/base/file_stream_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC; base 737 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 759 net/base/file_stream_unittest.cc callback_(base::Bind(&TestWriteReadCompletionCallback::OnComplete, base 760 net/base/file_stream_unittest.cc base::Unretained(this))), base 768 net/base/file_stream_unittest.cc base::RunLoop().Run(); base 806 net/base/file_stream_unittest.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 807 net/base/file_stream_unittest.cc base::MessageLoop::current()); base 821 net/base/file_stream_unittest.cc base::MessageLoop::current()->Quit(); base 840 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 843 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 844 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 845 net/base/file_stream_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC; base 872 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 889 net/base/file_stream_unittest.cc callback_(base::Bind(&TestWriteCloseCompletionCallback::OnComplete, base 890 net/base/file_stream_unittest.cc base::Unretained(this))), base 898 net/base/file_stream_unittest.cc base::RunLoop().Run(); base 929 net/base/file_stream_unittest.cc base::MessageLoop::current()->Quit(); base 946 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 949 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 950 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 951 net/base/file_stream_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC; base 975 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); base 981 net/base/file_stream_unittest.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; base 984 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 1002 net/base/file_stream_unittest.cc EXPECT_TRUE(base::ReadFileToString(temp_file_path(), &read_contents)); base 1009 net/base/file_stream_unittest.cc new FileStream(NULL, base::MessageLoopProxy::current())); base 1010 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_WRITE | base 1011 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 1020 net/base/file_stream_unittest.cc base::RunLoop().RunUntilIdle(); base 1027 net/base/file_stream_unittest.cc uint32 flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 1028 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 1030 net/base/file_stream_unittest.cc base::File file(temp_file_path(), flags); base 1034 net/base/file_stream_unittest.cc new FileStream(file.Pass(), NULL, base::MessageLoopProxy::current())); base 1046 net/base/file_stream_unittest.cc base::RunLoop().RunUntilIdle(); base 1052 net/base/file_stream_unittest.cc uint32 flags = base::File::FLAG_OPEN | base::File::FLAG_WRITE | base 1053 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 1055 net/base/file_stream_unittest.cc base::File file(temp_file_path(), flags); base 1059 net/base/file_stream_unittest.cc new FileStream(file.Pass(), NULL, base::MessageLoopProxy::current())); base 1069 net/base/file_stream_unittest.cc base::RunLoop().RunUntilIdle(); base 1074 net/base/file_stream_unittest.cc base::FilePath test_dir; base 1075 net/base/file_stream_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &test_dir); base 1079 net/base/file_stream_unittest.cc ASSERT_TRUE(base::PathExists(test_dir)); base 1080 net/base/file_stream_unittest.cc base::FilePath image_file = test_dir.Append(FILE_PATH_LITERAL("red.png")); base 1084 net/base/file_stream_unittest.cc base::FilePath path = file_util::InsertImageIntoMediaStore(image_file); base 1086 net/base/file_stream_unittest.cc EXPECT_TRUE(base::PathExists(path)); base 1088 net/base/file_stream_unittest.cc EXPECT_TRUE(base::GetFileSize(path, &file_size)); base 1091 net/base/file_stream_unittest.cc FileStream stream(NULL, base::MessageLoopProxy::current()); base 1092 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 1093 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; base 20 net/base/hash_value.cc return memcmp(a, b, base::kSHA1Length); base 48 net/base/hash_value.cc bool HashValue::FromString(const base::StringPiece value) { base 49 net/base/hash_value.cc base::StringPiece base64_str; base 61 net/base/hash_value.cc if (!base::Base64Decode(base64_str, &decoded) || decoded.size() != size()) base 70 net/base/hash_value.cc base::Base64Encode(base::StringPiece(reinterpret_cast<const char*>(data()), base 117 net/base/hash_value.cc DCHECK_EQ(0u, array_byte_len % base::kSHA1Length); base 118 net/base/hash_value.cc const size_t arraylen = array_byte_len / base::kSHA1Length; base 119 net/base/hash_value.cc return NULL != bsearch(hash.data, array, arraylen, base::kSHA1Length, base 66 net/base/hash_value.h bool FromString(const base::StringPiece input); base 70 net/base/host_mapping_rules.cc base::TrimWhitespaceASCII(rule_string, base::TRIM_ALL, &trimmed); base 72 net/base/host_mapping_rules.cc base::SplitString(trimmed, ' ', &parts); base 103 net/base/host_mapping_rules.cc base::StringTokenizer rules(rules_string, ","); base 33 net/base/host_port_pair.cc base::SplitString(str, ':', &key_port); base 37 net/base/host_port_pair.cc if (!base::StringToInt(key_port[1], &port)) base 47 net/base/host_port_pair.cc return base::StringPrintf("%s:%u", HostForURL().c_str(), port_); base 57 net/base/host_port_pair.cc return base::StringPrintf("[%s]", host_.c_str()); base 55 net/base/io_buffer.cc DrainableIOBuffer::DrainableIOBuffer(IOBuffer* base, int size) base 56 net/base/io_buffer.cc : IOBuffer(base->data()), base 57 net/base/io_buffer.cc base_(base), base 73 net/base/io_buffer.h class NET_EXPORT IOBuffer : public base::RefCountedThreadSafe<IOBuffer> { base 81 net/base/io_buffer.h friend class base::RefCountedThreadSafe<IOBuffer>; base 145 net/base/io_buffer.h DrainableIOBuffer(IOBuffer* base, int size); base 206 net/base/io_buffer.h scoped_ptr<char, base::FreeDeleter> real_data_; base 65 net/base/ip_endpoint.cc addr->sin_port = base::HostToNet16(port_); base 77 net/base/ip_endpoint.cc addr6->sin6_port = base::HostToNet16(port_); base 166 net/base/ip_endpoint_unittest.cc EXPECT_EQ(tests[index].host_normalized + ":" + base::IntToString(port), base 96 net/base/ip_pattern.cc base::SplitString(ip_pattern, is_ipv4_ ? '.' : ':', &components); base 131 net/base/ip_pattern.cc if (!ParseComponentPattern(base::StringPiece(component_it->data() + 1, base 141 net/base/ip_pattern.cc bool IPPattern::ParseComponentPattern(const base::StringPiece& text, base 146 net/base/ip_pattern.cc base::SplitString(text.as_string(), ',', &ranges); base 149 net/base/ip_pattern.cc base::StringTokenizer range_pair(*range_it, "-"); base 169 net/base/ip_pattern.cc bool IPPattern::ValueTextToInt(const base::StringPiece& input, base 171 net/base/ip_pattern.cc bool ok = is_ipv4_ ? base::StringToUint(input, output) : base 172 net/base/ip_pattern.cc base::HexStringToUInt(input, output); base 41 net/base/ip_pattern.h bool ParseComponentPattern(const base::StringPiece& text, base 44 net/base/ip_pattern.h bool ValueTextToInt(const base::StringPiece& input, uint32* output) const; base 116 net/base/keygen_handler_mac.cc base::ScopedCFTypeRef<CFStringRef> label( base 117 net/base/keygen_handler_mac.cc base::SysUTF8ToCFStringRef(url_.host())); base 142 net/base/keygen_handler_mac.cc base::ScopedCFTypeRef<CFDataRef> scoped_key_data(key_data); base 191 net/base/keygen_handler_mac.cc base::Base64Encode(input, &result); base 237 net/base/keygen_handler_mac.cc base::ScopedCFTypeRef<SecKeychainRef> scoped_keychain(keychain); base 239 net/base/keygen_handler_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); base 266 net/base/keygen_handler_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); base 279 net/base/keygen_handler_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); base 289 net/base/keygen_handler_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); base 48 net/base/keygen_handler_unittest.cc ASSERT_TRUE(base::Base64Decode(result, &spkac)); base 84 net/base/keygen_handler_unittest.cc void ConcurrencyTestCallback(base::WaitableEvent* event, base 89 net/base/keygen_handler_unittest.cc base::ThreadRestrictions::ScopedAllowSingleton scoped_allow_singleton; base 110 net/base/keygen_handler_unittest.cc base::WaitableEvent* events[NUM_HANDLERS] = { NULL }; base 113 net/base/keygen_handler_unittest.cc events[i] = new base::WaitableEvent(false, false); base 114 net/base/keygen_handler_unittest.cc base::WorkerPool::PostTask( base 116 net/base/keygen_handler_unittest.cc base::Bind(ConcurrencyTestCallback, events[i], "some challenge", base 67 net/base/keygen_handler_win.cc std::wstring wide_challenge = base::ASCIIToWide(challenge); base 214 net/base/keygen_handler_win.cc base::Base64Encode(spkac, &result); base 34 net/base/linked_hash_map.h typedef base::hash_map<Key, typename ListType::iterator> MapType; base 27 net/base/load_states.h base::string16 param; base 29 net/base/load_states.h LoadStateWithParam(LoadState state, const base::string16& param) base 70 net/base/load_timing_info.h base::TimeTicks dns_start; base 71 net/base/load_timing_info.h base::TimeTicks dns_end; base 84 net/base/load_timing_info.h base::TimeTicks connect_start; base 85 net/base/load_timing_info.h base::TimeTicks connect_end; base 90 net/base/load_timing_info.h base::TimeTicks ssl_start; base 91 net/base/load_timing_info.h base::TimeTicks ssl_end; base 121 net/base/load_timing_info.h base::Time request_start_time; base 123 net/base/load_timing_info.h base::TimeTicks request_start; base 126 net/base/load_timing_info.h base::TimeTicks proxy_resolve_start; base 127 net/base/load_timing_info.h base::TimeTicks proxy_resolve_end; base 132 net/base/load_timing_info.h base::TimeTicks send_start; base 133 net/base/load_timing_info.h base::TimeTicks send_end; base 136 net/base/load_timing_info.h base::TimeTicks receive_headers_end; base 294 net/base/mime_sniffer.cc static base::HistogramBase* UMASnifferHistogramGet(const char* name, base 296 net/base/mime_sniffer.cc base::HistogramBase* counter = base 297 net/base/mime_sniffer.cc base::LinearHistogram::FactoryGet(name, 1, array_size - 1, array_size, base 298 net/base/mime_sniffer.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 352 net/base/mime_sniffer.cc match = (base::strncasecmp(magic_entry.magic, content, len) == 0); base 373 net/base/mime_sniffer.cc base::HistogramBase* counter, base 415 net/base/mime_sniffer.cc static base::HistogramBase* counter(NULL); base 435 net/base/mime_sniffer.cc static base::HistogramBase* counter(NULL); base 472 net/base/mime_sniffer.cc if (0 == base::strncasecmp(extension, kOfficeExtensionTypes[i].extension, base 604 net/base/mime_sniffer.cc static base::HistogramBase* counter(NULL); base 615 net/base/mime_sniffer.cc if (base::strncasecmp(pos, "<?xml", sizeof("<?xml") - 1) == 0) { base 619 net/base/mime_sniffer.cc } else if (base::strncasecmp(pos, "<!DOCTYPE", base 690 net/base/mime_sniffer.cc static base::HistogramBase* counter(NULL); base 734 net/base/mime_sniffer.cc static base::HistogramBase* counter(NULL); base 762 net/base/mime_sniffer.cc static base::HistogramBase* counter(NULL); base 801 net/base/mime_sniffer.cc static base::HistogramBase* should_sniff_counter(NULL); base 846 net/base/mime_sniffer.cc static base::HistogramBase* counter(NULL); base 52 net/base/mime_util.cc bool GetMimeTypeFromExtension(const base::FilePath::StringType& ext, base 55 net/base/mime_util.cc bool GetMimeTypeFromFile(const base::FilePath& file_path, base 58 net/base/mime_util.cc bool GetWellKnownMimeTypeFromExtension(const base::FilePath::StringType& ext, base 88 net/base/mime_util.cc friend struct base::DefaultLazyInstanceTraits<MimeUtil>; base 90 net/base/mime_util.cc typedef base::hash_set<std::string> MimeMappings; base 103 net/base/mime_util.cc bool GetMimeTypeFromExtensionHelper(const base::FilePath::StringType& ext, base 118 net/base/mime_util.cc static base::LazyInstance<MimeUtil>::Leaky g_mime_util = base 183 net/base/mime_util.cc base::strncasecmp(extensions, ext, ext_len) == 0) base 194 net/base/mime_util.cc bool MimeUtil::GetMimeTypeFromExtension(const base::FilePath::StringType& ext, base 200 net/base/mime_util.cc const base::FilePath::StringType& ext, base 205 net/base/mime_util.cc bool MimeUtil::GetMimeTypeFromFile(const base::FilePath& file_path, base 207 net/base/mime_util.cc base::FilePath::StringType file_name_str = file_path.Extension(); base 214 net/base/mime_util.cc const base::FilePath::StringType& ext, base 228 net/base/mime_util.cc base::FilePath path_ext(ext); base 416 net/base/mime_util.cc base::android::BuildInfo::GetInstance()->sdk_int() < 19) { base 560 net/base/mime_util.cc base::SplitString(mime_type_pattern.substr(semicolon + 1), base 564 net/base/mime_util.cc base::SplitString(mime_type.substr(test_semicolon + 1), base 570 net/base/mime_util.cc base::STLSetDifference<std::vector<std::string> >(pattern_parameters, base 679 net/base/mime_util.cc base::TrimString(codecs, "\"", &no_quote_codecs); base 680 net/base/mime_util.cc base::SplitString(no_quote_codecs, ',', codecs_out); base 722 net/base/mime_util.cc bool GetMimeTypeFromExtension(const base::FilePath::StringType& ext, base 727 net/base/mime_util.cc bool GetMimeTypeFromFile(const base::FilePath& file_path, base 732 net/base/mime_util.cc bool GetWellKnownMimeTypeFromExtension(const base::FilePath::StringType& ext, base 738 net/base/mime_util.cc base::FilePath::StringType* extension) { base 876 net/base/mime_util.cc base::hash_set<base::FilePath::StringType>* extensions) { base 877 net/base/mime_util.cc base::FilePath::StringType extension; base 881 net/base/mime_util.cc base::SplitStringUsingSubstr(mappings[i].extensions, ",", base 885 net/base/mime_util.cc base::FilePath::StringType extension( base 886 net/base/mime_util.cc base::UTF8ToWide(this_extensions[j])); base 888 net/base/mime_util.cc base::FilePath::StringType extension(this_extensions[j]); base 900 net/base/mime_util.cc base::hash_set<base::FilePath::StringType>* extensions) { base 922 net/base/mime_util.cc void HashSetToVector(base::hash_set<T>* source, std::vector<T>* target) { base 926 net/base/mime_util.cc for (typename base::hash_set<T>::iterator iter = source->begin(); base 934 net/base/mime_util.cc std::vector<base::FilePath::StringType>* extensions) { base 939 net/base/mime_util.cc base::hash_set<base::FilePath::StringType> unique_extensions; base 18 net/base/mime_util.h NET_EXPORT bool GetMimeTypeFromExtension(const base::FilePath::StringType& ext, base 26 net/base/mime_util.h const base::FilePath::StringType& ext, base 31 net/base/mime_util.h NET_EXPORT bool GetMimeTypeFromFile(const base::FilePath& file_path, base 39 net/base/mime_util.h base::FilePath::StringType* extension); base 95 net/base/mime_util.h std::vector<base::FilePath::StringType>* extensions); base 15 net/base/mime_util_unittest.cc const base::FilePath::CharType* extension; base 39 net/base/mime_util_unittest.cc const base::FilePath::CharType* file_path; base 55 net/base/mime_util_unittest.cc rv = GetMimeTypeFromFile(base::FilePath(tests[i].file_path), base 201 net/base/mime_util_unittest.cc nonAscii.append(base::WideToUTF8(std::wstring(L"\u2603"))); base 273 net/base/mime_util_unittest.cc std::vector<base::FilePath::StringType> extensions; base 283 net/base/mime_util_unittest.cc if (extensions[j] == base::UTF8ToWide(tests[i].contained_result)) base 22 net/base/mock_file_stream.cc MockFileStream::MockFileStream(base::File file, net::NetLog* net_log) base 31 net/base/mock_file_stream.cc base::File file, base 33 net/base/mock_file_stream.cc const scoped_refptr<base::TaskRunner>& task_runner) base 44 net/base/mock_file_stream.cc int MockFileStream::OpenSync(const base::FilePath& path, int open_flags) { base 52 net/base/mock_file_stream.cc base::Bind(&MockFileStream::DoCallback64, base 70 net/base/mock_file_stream.cc CompletionCallback wrapped_callback = base::Bind(&MockFileStream::DoCallback, base 89 net/base/mock_file_stream.cc CompletionCallback wrapped_callback = base::Bind(&MockFileStream::DoCallback, base 106 net/base/mock_file_stream.cc CompletionCallback wrapped_callback = base::Bind(&MockFileStream::DoCallback, base 128 net/base/mock_file_stream.cc base::Closure throttled_task = throttled_task_; base 130 net/base/mock_file_stream.cc base::MessageLoop::current()->PostTask(FROM_HERE, throttled_task); base 141 net/base/mock_file_stream.cc throttled_task_ = base::Bind(callback, result); base 151 net/base/mock_file_stream.cc throttled_task_ = base::Bind(callback, result); base 157 net/base/mock_file_stream.cc base::MessageLoop::current()->PostTask( base 158 net/base/mock_file_stream.cc FROM_HERE, base::Bind(callback, forced_error_)); base 170 net/base/mock_file_stream.cc base::MessageLoop::current()->PostTask( base 171 net/base/mock_file_stream.cc FROM_HERE, base::Bind(callback, forced_error_)); base 26 net/base/mock_file_stream.h MockFileStream(base::File file, net::NetLog* net_log); base 27 net/base/mock_file_stream.h MockFileStream(base::File file, net::NetLog* net_log, base 28 net/base/mock_file_stream.h const scoped_refptr<base::TaskRunner>& task_runner); base 32 net/base/mock_file_stream.h virtual int OpenSync(const base::FilePath& path, int open_flags) OVERRIDE; base 63 net/base/mock_file_stream.h const base::FilePath& get_path() const { return path_; } base 106 net/base/mock_file_stream.h base::Closure throttled_task_; base 107 net/base/mock_file_stream.h base::FilePath path_; base 109 net/base/mock_file_stream.h base::WeakPtrFactory<MockFileStream> weak_factory_; base 43 net/base/net_errors.cc return base::CustomHistogram::ArrayToCustomRanges( base 47 net/base/net_errors.cc Error FileErrorToNetError(base::File::Error file_error) { base 49 net/base/net_errors.cc case base::File::FILE_OK: base 51 net/base/net_errors.cc case base::File::FILE_ERROR_ACCESS_DENIED: base 53 net/base/net_errors.cc case base::File::FILE_ERROR_INVALID_URL: base 55 net/base/net_errors.cc case base::File::FILE_ERROR_NOT_FOUND: base 58 net/base/net_errors.h NET_EXPORT Error FileErrorToNetError(base::File::Error file_error); base 23 net/base/net_log.cc base::Value* BytesTransferredCallback(int byte_count, base 26 net/base/net_log.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 29 net/base/net_log.cc dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); base 33 net/base/net_log.cc base::Value* SourceEventParametersCallback(const NetLog::Source source, base 37 net/base/net_log.cc base::DictionaryValue* event_params = new base::DictionaryValue(); base 42 net/base/net_log.cc base::Value* NetLogIntegerCallback(const char* name, base 45 net/base/net_log.cc base::DictionaryValue* event_params = new base::DictionaryValue(); base 50 net/base/net_log.cc base::Value* NetLogInt64Callback(const char* name, base 53 net/base/net_log.cc base::DictionaryValue* event_params = new base::DictionaryValue(); base 54 net/base/net_log.cc event_params->SetString(name, base::Int64ToString(value)); base 58 net/base/net_log.cc base::Value* NetLogStringCallback(const char* name, base 61 net/base/net_log.cc base::DictionaryValue* event_params = new base::DictionaryValue(); base 66 net/base/net_log.cc base::Value* NetLogString16Callback(const char* name, base 67 net/base/net_log.cc const base::string16* value, base 69 net/base/net_log.cc base::DictionaryValue* event_params = new base::DictionaryValue(); base 90 net/base/net_log.cc base::DictionaryValue* event_params) const { base 91 net/base/net_log.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 98 net/base/net_log.cc return base::Bind(&SourceEventParametersCallback, *this); base 102 net/base/net_log.cc bool NetLog::Source::FromEventParameters(base::Value* event_params, base 104 net/base/net_log.cc base::DictionaryValue* dict; base 105 net/base/net_log.cc base::DictionaryValue* source_dict; base 123 net/base/net_log.cc base::Value* NetLog::Entry::ToValue() const { base 124 net/base/net_log.cc base::DictionaryValue* entry_dict(new base::DictionaryValue()); base 129 net/base/net_log.cc base::DictionaryValue* source_dict = new base::DictionaryValue(); base 140 net/base/net_log.cc base::Value* value = data_->parameters_callback->Run(log_level_); base 148 net/base/net_log.cc base::Value* NetLog::Entry::ParametersToValue() const { base 158 net/base/net_log.cc base::TimeTicks time, base 227 net/base/net_log.cc return base::subtle::NoBarrier_AtomicIncrement(&last_id_, 1); base 231 net/base/net_log.cc base::AutoLock lock(lock_); base 238 net/base/net_log.cc base::subtle::Atomic32 log_level = base 239 net/base/net_log.cc base::subtle::NoBarrier_Load(&effective_log_level_); base 247 net/base/net_log.cc base::AutoLock lock(lock_); base 261 net/base/net_log.cc base::AutoLock lock(lock_); base 272 net/base/net_log.cc base::AutoLock lock(lock_); base 295 net/base/net_log.cc base::subtle::NoBarrier_Store(&effective_log_level_, base 300 net/base/net_log.cc std::string NetLog::TickCountToString(const base::TimeTicks& time) { base 301 net/base/net_log.cc int64 delta_time = (time - base::TimeTicks()).InMilliseconds(); base 302 net/base/net_log.cc return base::Int64ToString(delta_time); base 318 net/base/net_log.cc base::Value* NetLog::GetEventTypesAsValue() { base 319 net/base/net_log.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 339 net/base/net_log.cc base::Value* NetLog::GetSourceTypesAsValue() { base 340 net/base/net_log.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 374 net/base/net_log.cc return base::Bind(&NetLogIntegerCallback, name, value); base 380 net/base/net_log.cc return base::Bind(&NetLogInt64Callback, name, value); base 387 net/base/net_log.cc return base::Bind(&NetLogStringCallback, name, value); base 392 net/base/net_log.cc const base::string16* value) { base 394 net/base/net_log.cc return base::Bind(&NetLogString16Callback, name, value); base 403 net/base/net_log.cc EntryData entry_data(type, source, phase, base::TimeTicks::Now(), base 407 net/base/net_log.cc base::AutoLock lock(lock_); base 480 net/base/net_log.cc AddEvent(event_type, base::Bind(BytesTransferredCallback, byte_count, bytes)); base 20 net/base/net_log.h namespace base { base 93 net/base/net_log.h typedef base::Callback<base::Value*(LogLevel)> ParametersCallback; base 107 net/base/net_log.h void AddToEventParameters(base::DictionaryValue* event_params) const; base 117 net/base/net_log.h static bool FromEventParameters(base::Value* event_params, Source* source); base 127 net/base/net_log.h base::TimeTicks time, base 134 net/base/net_log.h const base::TimeTicks time; base 153 net/base/net_log.h base::Value* ToValue() const; base 157 net/base/net_log.h base::Value* ParametersToValue() const; base 254 net/base/net_log.h static std::string TickCountToString(const base::TimeTicks& time); base 261 net/base/net_log.h static base::Value* GetEventTypesAsValue(); base 268 net/base/net_log.h static base::Value* GetSourceTypesAsValue(); base 301 net/base/net_log.h const base::string16* value); base 320 net/base/net_log.h base::Lock lock_; base 323 net/base/net_log.h base::subtle::Atomic32 last_id_; base 330 net/base/net_log.h base::subtle::Atomic32 effective_log_level_; base 25 net/base/net_log_logger.cc NetLogLogger::NetLogLogger(FILE* file, const base::Value& constants) base 33 net/base/net_log_logger.cc base::JSONWriter::Write(&constants, &json); base 60 net/base/net_log_logger.cc scoped_ptr<base::Value> value(entry.ToValue()); base 62 net/base/net_log_logger.cc base::JSONWriter::Write(value.get(), &json); base 69 net/base/net_log_logger.cc base::DictionaryValue* NetLogLogger::GetConstants() { base 70 net/base/net_log_logger.cc base::DictionaryValue* constants_dict = new base::DictionaryValue(); base 82 net/base/net_log_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 95 net/base/net_log_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 108 net/base/net_log_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 121 net/base/net_log_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 136 net/base/net_log_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 151 net/base/net_log_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 167 net/base/net_log_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 180 net/base/net_log_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 196 net/base/net_log_logger.cc int64 cur_time_ms = (base::Time::Now() - base::Time()).InMilliseconds(); base 199 net/base/net_log_logger.cc (base::TimeTicks::Now() - base::TimeTicks()).InMilliseconds(); base 213 net/base/net_log_logger.cc base::Int64ToString(tick_to_unix_time_ms)); base 218 net/base/net_log_logger.cc constants_dict->Set("clientInfo", new base::DictionaryValue()); base 13 net/base/net_log_logger.h namespace base { base 29 net/base/net_log_logger.h NetLogLogger(FILE* file, const base::Value& constants); base 47 net/base/net_log_logger.h static base::DictionaryValue* GetConstants(); base 24 net/base/net_log_logger_unittest.cc base::ScopedTempDir temp_dir_; base 25 net/base/net_log_logger_unittest.cc base::FilePath log_path_; base 31 net/base/net_log_logger_unittest.cc FILE* file = base::OpenFile(log_path_, "w"); base 33 net/base/net_log_logger_unittest.cc scoped_ptr<base::Value> constants(NetLogLogger::GetConstants()); base 38 net/base/net_log_logger_unittest.cc ASSERT_TRUE(base::ReadFileToString(log_path_, &input)); base 40 net/base/net_log_logger_unittest.cc base::JSONReader reader; base 41 net/base/net_log_logger_unittest.cc scoped_ptr<base::Value> root(reader.ReadToValue(input)); base 44 net/base/net_log_logger_unittest.cc base::DictionaryValue* dict; base 46 net/base/net_log_logger_unittest.cc base::ListValue* events; base 53 net/base/net_log_logger_unittest.cc FILE* file = base::OpenFile(log_path_, "w"); base 55 net/base/net_log_logger_unittest.cc scoped_ptr<base::Value> constants(NetLogLogger::GetConstants()); base 63 net/base/net_log_logger_unittest.cc base::TimeTicks::Now(), base 70 net/base/net_log_logger_unittest.cc ASSERT_TRUE(base::ReadFileToString(log_path_, &input)); base 72 net/base/net_log_logger_unittest.cc base::JSONReader reader; base 73 net/base/net_log_logger_unittest.cc scoped_ptr<base::Value> root(reader.ReadToValue(input)); base 76 net/base/net_log_logger_unittest.cc base::DictionaryValue* dict; base 78 net/base/net_log_logger_unittest.cc base::ListValue* events; base 85 net/base/net_log_logger_unittest.cc FILE* file = base::OpenFile(log_path_, "w"); base 87 net/base/net_log_logger_unittest.cc scoped_ptr<base::Value> constants(NetLogLogger::GetConstants()); base 95 net/base/net_log_logger_unittest.cc base::TimeTicks::Now(), base 105 net/base/net_log_logger_unittest.cc ASSERT_TRUE(base::ReadFileToString(log_path_, &input)); base 107 net/base/net_log_logger_unittest.cc base::JSONReader reader; base 108 net/base/net_log_logger_unittest.cc scoped_ptr<base::Value> root(reader.ReadToValue(input)); base 111 net/base/net_log_logger_unittest.cc base::DictionaryValue* dict; base 113 net/base/net_log_logger_unittest.cc base::ListValue* events; base 21 net/base/net_log_unittest.cc base::Value* NetLogLevelCallback(NetLog::LogLevel log_level) { base 22 net/base/net_log_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 41 net/base/net_log_unittest.cc EXPECT_GE(base::TimeTicks::Now(), entries[0].time); base 54 net/base/net_log_unittest.cc base::Bind(NetLogLevelCallback)); base 64 net/base/net_log_unittest.cc EXPECT_GE(base::TimeTicks::Now(), entries[0].time); base 103 net/base/net_log_unittest.cc base::Value* value = entry.ToValue(); base 104 net/base/net_log_unittest.cc base::DictionaryValue* dict = NULL; base 110 net/base/net_log_unittest.cc base::DictionaryValue* GetValue(size_t index) const { return values_[index]; } base 113 net/base/net_log_unittest.cc ScopedVector<base::DictionaryValue> values_; base 116 net/base/net_log_unittest.cc base::Value* LogLevelToValue(NetLog::LogLevel log_level) { base 117 net/base/net_log_unittest.cc return new base::FundamentalValue(log_level); base 121 net/base/net_log_unittest.cc net_log->AddGlobalEntry(NetLog::TYPE_CANCELLED, base::Bind(LogLevelToValue)); base 126 net/base/net_log_unittest.cc class NetLogTestThread : public base::SimpleThread { base 129 net/base/net_log_unittest.cc : base::SimpleThread("NetLogTest"), base 136 net/base/net_log_unittest.cc void Init(NetLog* net_log, base::WaitableEvent* start_event) { base 156 net/base/net_log_unittest.cc base::WaitableEvent* start_event_; base 215 net/base/net_log_unittest.cc base::WaitableEvent start_event(true, false); base 16 net/base/net_log_unittest.h inline base::TimeTicks MakeTime(int t) { base 17 net/base/net_log_unittest.h base::TimeTicks ticks; // initialized to 0. base 18 net/base/net_log_unittest.h ticks += base::TimeDelta::FromMilliseconds(t); base 25 net/base/net_log_unittest.h const base::TimeTicks& expected_time, base 61 net/base/net_log_unittest.h const base::TimeTicks& expected_time, base 74 net/base/net_log_unittest.h return LogContainsEventHelper(log, i, base::TimeTicks(), false, base 17 net/base/net_module.cc base::StringPiece NetModule::GetResource(int key) { base 18 net/base/net_module.cc return resource_provider ? resource_provider(key) : base::StringPiece(); base 23 net/base/net_module.h typedef base::StringPiece (*ResourceProvider)(int key); base 31 net/base/net_module.h static base::StringPiece GetResource(int key); base 80 net/base/net_util.cc using base::Time; base 89 net/base/net_util.cc static const base::FilePath::CharType kFileURLPrefix[] = base 187 net/base/net_util.cc bool IsIDNComponentInSingleScript(const base::char16* str, int str_len) { base 265 net/base/net_util.cc static base::LazyInstance<base::Lock>::Leaky base 277 net/base/net_util.cc base::AutoLock lock(g_lang_set_lock.Get()); base 308 net/base/net_util.cc bool IsIDNComponentSafe(const base::char16* str, base 394 net/base/net_util.cc base::StringTokenizer t(languages, ","); base 435 net/base/net_util.cc static base::LazyInstance<UIDNAWrapper>::Leaky base 442 net/base/net_util.cc bool IDNToUnicodeOneComponent(const base::char16* comp, base 445 net/base/net_util.cc base::string16* out) { base 451 net/base/net_util.cc static const base::char16 kIdnPrefix[] = {'x', 'n', '-', '-'}; base 453 net/base/net_util.cc !memcmp(comp, kIdnPrefix, arraysize(kIdnPrefix) * sizeof(base::char16))) { base 491 net/base/net_util.cc void LimitOffsets(const base::string16& str, Offsets* offsets_for_adjustment) { base 495 net/base/net_util.cc base::LimitOffset<base::string16>(str.length())); base 506 net/base/net_util.cc base::string16 IDNToUnicodeWithOffsets(const std::string& host, base 510 net/base/net_util.cc base::string16 input16; base 516 net/base/net_util.cc base::string16 out16; base 518 net/base/net_util.cc base::OffsetAdjuster offset_adjuster(offsets_for_adjustment); base 524 net/base/net_util.cc if (component_end == base::string16::npos) base 538 net/base/net_util.cc offset_adjuster.Add(base::OffsetAdjuster::Adjustment(component_start, base 584 net/base/net_util.cc (transformed_offset == base::string16::npos) ? base 585 net/base/net_util.cc base::string16::npos : base 619 net/base/net_util.cc base::string16 FormatViewSourceUrl(const GURL& url, base 635 net/base/net_util.cc base::OffsetAdjuster adjuster(&offsets_into_underlying_url); base 636 net/base/net_util.cc adjuster.Add(base::OffsetAdjuster::Adjustment(0, kViewSourceLength, 0)); base 638 net/base/net_util.cc base::string16 result(base::ASCIIToUTF16(kViewSource) + base 669 net/base/net_util.cc virtual base::string16 Execute(const std::string& component_text, base 684 net/base/net_util.cc virtual base::string16 Execute( base 701 net/base/net_util.cc virtual base::string16 Execute( base 705 net/base/net_util.cc base::UTF8ToUTF16AndAdjustOffsets(component_text, base 724 net/base/net_util.cc base::string16* output, base 738 net/base/net_util.cc base::OffsetAdjuster adjuster(&offsets_into_component); base 739 net/base/net_util.cc adjuster.Add(base::OffsetAdjuster::Adjustment(0, original_component_begin, base 759 net/base/net_util.cc void SanitizeGeneratedFileName(base::FilePath::StringType* filename, base 761 net/base/net_util.cc const base::FilePath::CharType kReplace[] = FILE_PATH_LITERAL("-"); base 770 net/base/net_util.cc base::TrimWhitespace(*filename, base::TRIM_TRAILING, filename); base 777 net/base/net_util.cc base::TrimString(*filename, FILE_PATH_LITERAL("."), filename); base 808 net/base/net_util.cc base::string16 utf16_output; base 810 net/base/net_util.cc base::CodepageToUTF16(unescaped_url_filename, base 812 net/base/net_util.cc base::OnStringConversionError::FAIL, base 814 net/base/net_util.cc decoded_filename = base::UTF16ToUTF8(utf16_output); base 816 net/base/net_util.cc decoded_filename = base::WideToUTF8( base 817 net/base/net_util.cc base::SysNativeMBToWide(unescaped_url_filename)); base 829 net/base/net_util.cc bool IsShellIntegratedExtension(const base::FilePath::StringType& extension) { base 830 net/base/net_util.cc base::FilePath::StringType extension_lower = StringToLowerASCII(extension); base 850 net/base/net_util.cc bool IsReservedName(const base::FilePath::StringType& filename) { base 861 net/base/net_util.cc std::string filename_lower = StringToLowerASCII(base::WideToUTF8(filename)); base 904 net/base/net_util.cc base::FilePath* file_name) { base 906 net/base/net_util.cc base::FilePath::StringType extension = file_name->Extension(); base 911 net/base/net_util.cc base::FilePath::StringType preferred_mime_extension; base 912 net/base/net_util.cc std::vector<base::FilePath::StringType> all_mime_extensions; base 918 net/base/net_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 934 net/base/net_util.cc static const base::FilePath::CharType default_extension[] = base 947 net/base/net_util.cc bool FilePathToString16(const base::FilePath& path, base::string16* converted) { base 949 net/base/net_util.cc return base::WideToUTF16( base 954 net/base/net_util.cc base::UTF8ToUTF16(component8.c_str(), component8.size(), converted); base 989 net/base/net_util.cc static base::LazyInstance<std::multiset<int> >::Leaky base 996 net/base/net_util.cc GURL FilePathToFileURL(const base::FilePath& path) { base 1000 net/base/net_util.cc base::FilePath::StringType url_string(kFileURLPrefix); base 1002 net/base/net_util.cc base::FilePath current_dir; base 1003 net/base/net_util.cc PathService::Get(base::DIR_CURRENT, ¤t_dir); base 1005 net/base/net_util.cc url_string.push_back(base::FilePath::kSeparators[0]); base 1053 net/base/net_util.cc base::CaseInsensitiveCompareASCII<char>()); base 1061 net/base/net_util.cc base::TrimWhitespace(std::string(begin, base 1063 net/base/net_util.cc base::TRIM_ALL, &ret); base 1067 net/base/net_util.cc base::string16 IDNToUnicode(const std::string& host, base 1095 net/base/net_util.cc std::string GetDirectoryListingHeader(const base::string16& title) { base 1096 net/base/net_util.cc static const base::StringPiece header( base 1107 net/base/net_util.cc base::EscapeJSONString(title, true, &result); base 1154 net/base/net_util.cc std::string GetDirectoryListingEntry(const base::string16& name, base 1161 net/base/net_util.cc base::EscapeJSONString(name, true, &result); base 1164 net/base/net_util.cc base::EscapeJSONString(EscapePath(base::UTF16ToUTF8(name)), true, &result); base 1166 net/base/net_util.cc base::EscapeJSONString(EscapePath(raw_bytes), true, &result); base 1175 net/base/net_util.cc base::string16 size_string; base 1178 net/base/net_util.cc base::EscapeJSONString(size_string, true, &result); base 1182 net/base/net_util.cc base::string16 modified_str; base 1185 net/base/net_util.cc modified_str = base::TimeFormatShortDateAndTime(modified); base 1187 net/base/net_util.cc base::EscapeJSONString(modified_str, true, &result); base 1194 net/base/net_util.cc base::string16 StripWWW(const base::string16& text) { base 1195 net/base/net_util.cc const base::string16 www(base::ASCIIToUTF16("www.")); base 1199 net/base/net_util.cc base::string16 StripWWWFromHost(const GURL& url) { base 1201 net/base/net_util.cc return StripWWW(base::ASCIIToUTF16(url.host())); base 1204 net/base/net_util.cc bool IsSafePortablePathComponent(const base::FilePath& component) { base 1205 net/base/net_util.cc base::string16 component16; base 1206 net/base/net_util.cc base::FilePath::StringType sanitized = component.value(); base 1208 net/base/net_util.cc base::FilePath::StringType extension = component.Extension(); base 1221 net/base/net_util.cc bool IsSafePortableRelativePath(const base::FilePath& path) { base 1224 net/base/net_util.cc std::vector<base::FilePath::StringType> components; base 1229 net/base/net_util.cc if (!IsSafePortablePathComponent(base::FilePath(components[i]))) base 1237 net/base/net_util.cc base::FilePath* file_path) { base 1243 net/base/net_util.cc base::FilePath::StringType leaf_name = file_path->BaseName().value(); base 1246 net/base/net_util.cc leaf_name = base::FilePath::StringType(FILE_PATH_LITERAL("_")) + leaf_name; base 1248 net/base/net_util.cc if (file_path->value() == base::FilePath::kCurrentDirectory) { base 1249 net/base/net_util.cc *file_path = base::FilePath(leaf_name); base 1257 net/base/net_util.cc base::string16 GetSuggestedFilename(const GURL& url, base 1268 net/base/net_util.cc static const base::FilePath::CharType kFinalFallbackName[] = base 1301 net/base/net_util.cc base::FilePath::StringType result_str, default_name_str; base 1304 net/base/net_util.cc result_str = base::UTF8ToUTF16(filename); base 1305 net/base/net_util.cc default_name_str = base::UTF8ToUTF16(default_name); base 1312 net/base/net_util.cc base::FilePath::StringType::npos) { base 1314 net/base/net_util.cc base::FilePath::StringType(kFinalFallbackName); base 1318 net/base/net_util.cc base::FilePath result(result_str); base 1321 net/base/net_util.cc base::string16 result16; base 1323 net/base/net_util.cc result = base::FilePath(default_name_str); base 1325 net/base/net_util.cc result = base::FilePath(kFinalFallbackName); base 1332 net/base/net_util.cc base::FilePath GenerateFileName(const GURL& url, base 1338 net/base/net_util.cc base::string16 file_name = GetSuggestedFilename(url, base 1346 net/base/net_util.cc base::FilePath generated_name(file_name); base 1348 net/base/net_util.cc base::FilePath generated_name( base 1349 net/base/net_util.cc base::SysWideToNativeMB(base::UTF16ToWide(file_name))); base 1462 net/base/net_util.cc return base::StringPrintf("%s:%d", url.host().c_str(), base 1470 net/base/net_util.cc return base::StringPrintf("%s:%s", url.host().c_str(), url.port().c_str()); base 1585 net/base/net_util.cc *port = base::NetToHost16(addr->sin_port); base 1597 net/base/net_util.cc *port = base::NetToHost16(addr->sin6_port); base 1628 net/base/net_util.cc return base::StringPrintf("[%s]:%d", address_str.c_str(), port); base 1630 net/base/net_util.cc return base::StringPrintf("%s:%d", address_str.c_str(), port); base 1688 net/base/net_util.cc base::string16* username, base 1689 net/base/net_util.cc base::string16* password) { base 1702 net/base/net_util.cc base::string16* output) { base 1709 net/base/net_util.cc base::string16 FormatUrlWithOffsets( base 1744 net/base/net_util.cc base::string16 url_string; base 1771 net/base/net_util.cc base::OffsetAdjuster offset_adjuster(offsets_for_adjustment); base 1775 net/base/net_util.cc offset_adjuster.Add(base::OffsetAdjuster::Adjustment( base 1784 net/base/net_util.cc offset_adjuster.Add(base::OffsetAdjuster::Adjustment( base 1828 net/base/net_util.cc base::OffsetAdjuster offset_adjuster(offsets_for_adjustment); base 1829 net/base/net_util.cc offset_adjuster.Add(base::OffsetAdjuster::Adjustment( base 1847 net/base/net_util.cc if (omit_http && StartsWith(url_string, base::ASCIIToUTF16(kHTTP), true)) { base 1851 net/base/net_util.cc base::OffsetAdjuster offset_adjuster(offsets_for_adjustment); base 1852 net/base/net_util.cc offset_adjuster.Add(base::OffsetAdjuster::Adjustment(0, kHTTPSize, 0)); base 1868 net/base/net_util.cc base::string16 FormatUrl(const GURL& url, base 1878 net/base/net_util.cc base::string16 result = FormatUrlWithOffsets(url, languages, format_types, base 1923 net/base/net_util.cc base::StringToInt(base::StringPiece(allowed_ports.begin() + last, base 2087 net/base/net_util.cc base::SplitString(cidr_literal, '/', &parts); base 2097 net/base/net_util.cc if (!base::StringToInt(parts[1], &number_of_bits)) base 2156 net/base/net_util.cc return base::NetToHost16(*port_field); base 30 net/base/net_util.h namespace base { base 81 net/base/net_util.h NET_EXPORT GURL FilePathToFileURL(const base::FilePath& path); base 87 net/base/net_util.h NET_EXPORT bool FileURLToFilePath(const GURL& url, base::FilePath* file_path); base 176 net/base/net_util.h base::string16* username, base 177 net/base/net_util.h base::string16* password); base 203 net/base/net_util.h NET_EXPORT base::string16 IDNToUnicode(const std::string& host, base 232 net/base/net_util.h NET_EXPORT std::string GetDirectoryListingHeader(const base::string16& title); base 246 net/base/net_util.h NET_EXPORT std::string GetDirectoryListingEntry(const base::string16& name, base 249 net/base/net_util.h base::Time modified); base 253 net/base/net_util.h NET_EXPORT base::string16 StripWWW(const base::string16& text); base 256 net/base/net_util.h NET_EXPORT base::string16 StripWWWFromHost(const GURL& url); base 285 net/base/net_util.h NET_EXPORT base::string16 GetSuggestedFilename( base 294 net/base/net_util.h NET_EXPORT base::FilePath GenerateFileName( base 312 net/base/net_util.h NET_EXPORT bool IsSafePortablePathComponent(const base::FilePath& component); base 318 net/base/net_util.h NET_EXPORT bool IsSafePortableRelativePath(const base::FilePath& path); base 339 net/base/net_util.h base::FilePath* file_path); base 360 net/base/net_util.h base::string16* output); base 393 net/base/net_util.h NET_EXPORT base::string16 FormatUrl(const GURL& url, base 400 net/base/net_util.h NET_EXPORT base::string16 FormatUrlWithOffsets( base 413 net/base/net_util.h inline base::string16 FormatUrl(const GURL& url, const std::string& languages) { base 88 net/base/net_util_posix.cc bool FileURLToFilePath(const GURL& url, base::FilePath* path) { base 89 net/base/net_util_posix.cc *path = base::FilePath(); base 125 net/base/net_util_posix.cc base::StringTokenizer network_interfaces(network_list, "\n"); base 128 net/base/net_util_posix.cc base::StringTokenizer network_tokenizer(network_item, "\t"); base 142 net/base/net_util_posix.cc CHECK(base::StringToUint(network_tokenizer.token(), &index)); base 150 net/base/net_util_posix.cc base::ThreadRestrictions::AssertIOAllowed(); base 33 net/base/net_util_unittest.cc using base::ASCIIToUTF16; base 34 net/base/net_util_unittest.cc using base::WideToUTF16; base 40 net/base/net_util_unittest.cc static const size_t kNpos = base::string16::npos; base 426 net/base/net_util_unittest.cc addr4->sin_port = base::HostToNet16(port); base 437 net/base/net_util_unittest.cc addr6->sin6_port = base::HostToNet16(port); base 446 net/base/net_util_unittest.cc base::string16* expected, base 447 net/base/net_util_unittest.cc base::string16* actual) { base 448 net/base/net_util_unittest.cc base::string16 to_append = ASCIIToUTF16("::") + ASCIIToUTF16(languages); base 458 net/base/net_util_unittest.cc const base::string16& formatted_url) { base 475 net/base/net_util_unittest.cc base::string16 formatted_url = FormatUrlWithOffsets(url, languages, base 481 net/base/net_util_unittest.cc VerboseExpect(base::string16::npos, offsets[url_length + 1], url_string, base 483 net/base/net_util_unittest.cc VerboseExpect(base::string16::npos, offsets[url_length + 2], url_string, base 493 net/base/net_util_unittest.cc out.append(base::IntToString(static_cast<int>(v[i]))); base 499 net/base/net_util_unittest.cc std::string default_filename(base::WideToUTF8(test_case->default_filename)); base 500 net/base/net_util_unittest.cc base::FilePath file_path = GenerateFileName( base 551 net/base/net_util_unittest.cc base::FilePath output; base 660 net/base/net_util_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 664 net/base/net_util_unittest.cc base::string16 username, password; base 680 net/base/net_util_unittest.cc base::string16 username, password; base 740 net/base/net_util_unittest.cc base::string16 output(IDNToUnicode(idn_cases[i].input, kLanguages[j])); base 741 net/base/net_util_unittest.cc base::string16 expected(idn_cases[i].unicode_allowed[j] ? base 756 net/base/net_util_unittest.cc base::string16 output(IDNToUnicode(idn_cases[i].input, kLanguages[j])); base 757 net/base/net_util_unittest.cc base::string16 expected(idn_cases[i].unicode_allowed[j] ? base 801 net/base/net_util_unittest.cc EXPECT_EQ(base::string16(), StripWWW(base::string16())); base 802 net/base/net_util_unittest.cc EXPECT_EQ(base::string16(), StripWWW(ASCIIToUTF16("www."))); base 823 net/base/net_util_unittest.cc const base::FilePath::CharType* filename; base 824 net/base/net_util_unittest.cc const base::FilePath::CharType* expected_filename; base 969 net/base/net_util_unittest.cc base::FilePath file_path(safe_tests[i].filename); base 2232 net/base/net_util_unittest.cc base::Time time; base 2243 net/base/net_util_unittest.cc base::Time(), base 2249 net/base/net_util_unittest.cc base::Time(), base 2256 net/base/net_util_unittest.cc base::Time(), base 2265 net/base/net_util_unittest.cc base::Time(), base 2274 net/base/net_util_unittest.cc base::Time(), base 2640 net/base/net_util_unittest.cc base::string16 formatted = FormatUrl( base 2651 net/base/net_util_unittest.cc base::string16 formatted = FormatUrl( base 2821 net/base/net_util_unittest.cc base::string16 formatted = FormatUrl(url, base 2838 net/base/net_util_unittest.cc original_url.append(base::HexEncode(&test_char, 1)); base 2842 net/base/net_util_unittest.cc base::string16 formatted = FormatUrl(url, base 2860 net/base/net_util_unittest.cc base::string16 formatted = FormatUrl(url, base 2881 net/base/net_util_unittest.cc original_url.append(base::HexEncode(&test_char, 1)); base 2885 net/base/net_util_unittest.cc base::string16 formatted = FormatUrl(url, base 3051 net/base/net_util_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 3257 net/base/net_util_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s, %s", i, base 3333 net/base/net_util_unittest.cc base::ScopedNativeLibrary phlpapi_lib( base 3334 net/base/net_util_unittest.cc base::FilePath(FILE_PATH_LITERAL("iphlpapi.dll"))); base 3355 net/base/net_util_unittest.cc EXPECT_STREQ(base::UTF8ToWide(it->name).c_str(), name); base 3359 net/base/net_util_unittest.cc EXPECT_LT(base::win::GetVersion(), base::win::VERSION_VISTA); base 3371 net/base/net_util_unittest.cc static const base::FilePath::CharType* kSafePortableBasenames[] = { base 3380 net/base/net_util_unittest.cc static const base::FilePath::CharType* kUnsafePortableBasenames[] = { base 3406 net/base/net_util_unittest.cc static const base::FilePath::CharType* kSafePortableRelativePaths[] = { base 3415 net/base/net_util_unittest.cc EXPECT_TRUE(IsSafePortablePathComponent(base::FilePath( base 3419 net/base/net_util_unittest.cc EXPECT_FALSE(IsSafePortablePathComponent(base::FilePath( base 3423 net/base/net_util_unittest.cc EXPECT_FALSE(IsSafePortablePathComponent(base::FilePath( base 3429 net/base/net_util_unittest.cc base::FilePath safe_dirname(FILE_PATH_LITERAL("a")); base 3431 net/base/net_util_unittest.cc EXPECT_TRUE(IsSafePortableRelativePath(base::FilePath( base 3433 net/base/net_util_unittest.cc EXPECT_TRUE(IsSafePortableRelativePath(safe_dirname.Append(base::FilePath( base 3437 net/base/net_util_unittest.cc EXPECT_TRUE(IsSafePortableRelativePath(base::FilePath( base 3439 net/base/net_util_unittest.cc EXPECT_TRUE(IsSafePortableRelativePath(safe_dirname.Append(base::FilePath( base 3443 net/base/net_util_unittest.cc EXPECT_FALSE(IsSafePortableRelativePath(base::FilePath( base 3445 net/base/net_util_unittest.cc if (!base::FilePath::StringType(kUnsafePortableBasenames[i]).empty()) { base 3447 net/base/net_util_unittest.cc base::FilePath(kUnsafePortableBasenames[i])))) base 88 net/base/net_util_win.cc bool FileURLToFilePath(const GURL& url, base::FilePath* file_path) { base 89 net/base/net_util_win.cc *file_path = base::FilePath(); base 127 net/base/net_util_win.cc file_path_str = base::SysNativeMBToWide(path); base 130 net/base/net_util_win.cc file_path_str.assign(base::UTF8ToWide(path)); base 143 net/base/net_util_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 144 net/base/net_util_win.cc bool is_xp = base::win::GetVersion() < base::win::VERSION_VISTA; base 228 net/base/net_util_win.cc base::SysWideToNativeMB(adapter->FriendlyName), base 235 net/base/net_util_win.cc base::SysWideToNativeMB(adapter->FriendlyName), base 249 net/base/net_util_win.cc static base::LazyInstance<WlanApi>::Leaky lazy_wlanapi = base 260 net/base/net_util_win.cc return base::win::HandleTraits::IsHandleValid(handle); base 263 net/base/net_util_win.cc return base::win::HandleTraits::NullHandle(); base 267 net/base/net_util_win.cc typedef base::win::GenericScopedHandle< base 269 net/base/net_util_win.cc base::win::DummyVerifierTraits> WlanHandle; base 55 net/base/network_change_notifier.cc : last_ip_address_change_(base::TimeTicks::Now()), base 56 net/base/network_change_notifier.cc last_connection_change_(base::TimeTicks::Now()), base 57 net/base/network_change_notifier.cc last_dns_change_(base::TimeTicks::Now()), base 58 net/base/network_change_notifier.cc last_network_change_(base::TimeTicks::Now()), base 101 net/base/network_change_notifier.cc base::TimeTicks now = base::TimeTicks::Now(); base 103 net/base/network_change_notifier.cc base::TimeDelta state_duration = SinceLast(&last_connection_change_); base 218 net/base/network_change_notifier.cc base::TimeDelta::FromSeconds(5)) { base 239 net/base/network_change_notifier.cc polling_interval_ = base::TimeDelta::FromSeconds(1); base 271 net/base/network_change_notifier.cc base::TimeTicks now = base::TimeTicks::Now(); base 272 net/base/network_change_notifier.cc base::TimeDelta request_duration = now - request.creation_time(); base 283 net/base/network_change_notifier.cc request_duration > base::TimeDelta::FromMilliseconds(1) && base 312 net/base/network_change_notifier.cc static base::TimeDelta SinceLast(base::TimeTicks *last_time) { base 313 net/base/network_change_notifier.cc base::TimeTicks current_time = base::TimeTicks::Now(); base 314 net/base/network_change_notifier.cc base::TimeDelta delta = current_time - *last_time; base 319 net/base/network_change_notifier.cc base::TimeTicks last_ip_address_change_; base 320 net/base/network_change_notifier.cc base::TimeTicks last_connection_change_; base 321 net/base/network_change_notifier.cc base::TimeTicks last_dns_change_; base 322 net/base/network_change_notifier.cc base::TimeTicks last_network_change_; base 323 net/base/network_change_notifier.cc base::TimeTicks last_offline_packet_received_; base 324 net/base/network_change_notifier.cc base::TimeTicks last_polled_connection_; base 330 net/base/network_change_notifier.cc base::TimeDelta polling_interval_; base 344 net/base/network_change_notifier.cc base::TimeDelta fastest_RTT_since_last_connection_change_; base 346 net/base/network_change_notifier.cc base::TimeDelta first_byte_after_connection_change_; base 355 net/base/network_change_notifier.cc base::ThreadChecker thread_checker_; base 367 net/base/network_change_notifier.cc base::AutoLock lock(lock_); base 372 net/base/network_change_notifier.cc base::AutoLock lock(lock_); base 377 net/base/network_change_notifier.cc mutable base::Lock lock_; base 413 net/base/network_change_notifier.cc base::TimeDelta delay = last_announced_connection_type_ == CONNECTION_NONE base 423 net/base/network_change_notifier.cc base::TimeDelta delay = last_announced_connection_type_ == CONNECTION_NONE base 458 net/base/network_change_notifier.cc base::OneShotTimer<NetworkChangeCalculator> timer_; base 460 net/base/network_change_notifier.cc base::ThreadChecker thread_checker_; base 263 net/base/network_change_notifier.h base::TimeDelta ip_address_offline_delay_; base 266 net/base/network_change_notifier.h base::TimeDelta ip_address_online_delay_; base 269 net/base/network_change_notifier.h base::TimeDelta connection_type_offline_delay_; base 272 net/base/network_change_notifier.h base::TimeDelta connection_type_online_delay_; base 15 net/base/network_change_notifier_linux.cc class NetworkChangeNotifierLinux::Thread : public base::Thread { base 44 net/base/network_change_notifier_linux.cc : base::Thread("NetworkChangeNotifier"), base 46 net/base/network_change_notifier_linux.cc base::Bind(&NetworkChangeNotifier:: base 48 net/base/network_change_notifier_linux.cc base::Bind(&NetworkChangeNotifier:: base 50 net/base/network_change_notifier_linux.cc base::Bind(base::DoNothing)) { base 61 net/base/network_change_notifier_linux.cc base::Bind(&NetworkChangeNotifier::SetDnsConfig)); base 78 net/base/network_change_notifier_linux.cc base::Thread::Options thread_options(base::MessageLoop::TYPE_IO, 0); base 94 net/base/network_change_notifier_linux.cc params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(2000); base 95 net/base/network_change_notifier_linux.cc params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(2000); base 97 net/base/network_change_notifier_linux.cc base::TimeDelta::FromMilliseconds(1500); base 98 net/base/network_change_notifier_linux.cc params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500); base 42 net/base/network_change_notifier_mac.cc class NetworkChangeNotifierMac::DnsConfigServiceThread : public base::Thread { base 44 net/base/network_change_notifier_mac.cc DnsConfigServiceThread() : base::Thread("DnsConfigService") {} base 52 net/base/network_change_notifier_mac.cc service_->WatchConfig(base::Bind(&NetworkChangeNotifier::SetDnsConfig)); base 76 net/base/network_change_notifier_mac.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 99 net/base/network_change_notifier_mac.cc params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(500); base 100 net/base/network_change_notifier_mac.cc params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(500); base 102 net/base/network_change_notifier_mac.cc base::TimeDelta::FromMilliseconds(1000); base 103 net/base/network_change_notifier_mac.cc params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500); base 109 net/base/network_change_notifier_mac.cc base::AutoLock lock(connection_type_lock_); base 159 net/base/network_change_notifier_mac.cc base::AutoLock lock(connection_type_lock_); base 199 net/base/network_change_notifier_mac.cc base::ScopedCFTypeRef<CFMutableArrayRef> notification_keys( base 201 net/base/network_change_notifier_mac.cc base::ScopedCFTypeRef<CFStringRef> key( base 258 net/base/network_change_notifier_mac.cc base::AutoLock lock(notifier_mac->connection_type_lock_); base 68 net/base/network_change_notifier_mac.h mutable base::Lock connection_type_lock_; base 69 net/base/network_change_notifier_mac.h mutable base::ConditionVariable initial_connection_type_cv_; base 70 net/base/network_change_notifier_mac.h base::ScopedCFTypeRef<SCNetworkReachabilityRef> reachability_; base 71 net/base/network_change_notifier_mac.h base::ScopedCFTypeRef<CFRunLoopRef> run_loop_; base 31 net/base/network_change_notifier_win.cc class NetworkChangeNotifierWin::DnsConfigServiceThread : public base::Thread { base 33 net/base/network_change_notifier_win.cc DnsConfigServiceThread() : base::Thread("DnsConfigService") {} base 41 net/base/network_change_notifier_win.cc service_->WatchConfig(base::Bind(&NetworkChangeNotifier::SetDnsConfig)); base 66 net/base/network_change_notifier_win.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 83 net/base/network_change_notifier_win.cc params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(1500); base 84 net/base/network_change_notifier_win.cc params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(1500); base 86 net/base/network_change_notifier_win.cc base::TimeDelta::FromMilliseconds(1500); base 87 net/base/network_change_notifier_win.cc params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500); base 212 net/base/network_change_notifier_win.cc base::AutoLock auto_lock(last_computed_connection_type_lock_); base 218 net/base/network_change_notifier_win.cc base::AutoLock auto_lock(last_computed_connection_type_lock_); base 246 net/base/network_change_notifier_win.cc timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(1), this, base 268 net/base/network_change_notifier_win.cc base::MessageLoop::current()->PostDelayedTask( base 270 net/base/network_change_notifier_win.cc base::Bind(&NetworkChangeNotifierWin::WatchForAddressChange, base 272 net/base/network_change_notifier_win.cc base::TimeDelta::FromMilliseconds( base 312 net/base/network_change_notifier_win.cc timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(1), this, base 27 net/base/network_change_notifier_win.h public base::win::ObjectWatcher::Delegate, base 28 net/base/network_change_notifier_win.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 90 net/base/network_change_notifier_win.h base::win::ObjectWatcher addr_watcher_; base 93 net/base/network_change_notifier_win.h base::OneShotTimer<NetworkChangeNotifierWin> timer_; base 99 net/base/network_change_notifier_win.h base::WeakPtrFactory<NetworkChangeNotifierWin> weak_factory_; base 104 net/base/network_change_notifier_win.h mutable base::Lock last_computed_connection_type_lock_; base 64 net/base/network_change_notifier_win_unittest.cc base::MessageLoop::current()->Quit(); base 92 net/base/network_change_notifier_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 115 net/base/network_change_notifier_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 135 net/base/network_change_notifier_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 157 net/base/network_change_notifier_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 170 net/base/network_change_notifier_win_unittest.cc Invoke(base::MessageLoop::current(), &base::MessageLoop::Quit)); base 174 net/base/network_change_notifier_win_unittest.cc base::MessageLoop::current()->Run(); base 198 net/base/network_change_notifier_win_unittest.cc base::MessageLoop::current()->Run(); base 206 net/base/network_change_notifier_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 31 net/base/network_config_watcher_mac.cc class NetworkConfigWatcherMacThread : public base::Thread { base 46 net/base/network_config_watcher_mac.cc base::ScopedCFTypeRef<CFRunLoopSourceRef> run_loop_source_; base 48 net/base/network_config_watcher_mac.cc base::WeakPtrFactory<NetworkConfigWatcherMacThread> weak_factory_; base 55 net/base/network_config_watcher_mac.cc : base::Thread("NetworkConfigWatcher"), base 62 net/base/network_config_watcher_mac.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 70 net/base/network_config_watcher_mac.cc base::ThreadRestrictions::SetIOAllowed(false); base 76 net/base/network_config_watcher_mac.cc const base::TimeDelta kInitializationDelay = base::TimeDelta::FromSeconds(1); base 79 net/base/network_config_watcher_mac.cc base::Bind(&NetworkConfigWatcherMacThread::InitNotifications, base 104 net/base/network_config_watcher_mac.cc base::ScopedCFTypeRef<SCDynamicStoreRef> store(SCDynamicStoreCreate( base 126 net/base/network_config_watcher_mac.cc base::Thread::Options thread_options(base::MessageLoop::TYPE_UI, 0); base 14 net/base/network_config_watcher_mac.h namespace base { base 55 net/base/network_config_watcher_mac.h scoped_ptr<base::Thread> notifier_thread_; base 86 net/base/network_delegate.cc const base::string16& error) { base 125 net/base/network_delegate.cc const base::FilePath& path) const { base 185 net/base/network_delegate.cc const base::string16& error) { base 208 net/base/network_delegate.cc const base::FilePath& path) const { base 19 net/base/network_delegate.h namespace base { base 41 net/base/network_delegate.h class NET_EXPORT NetworkDelegate : public base::NonThreadSafe { base 52 net/base/network_delegate.h typedef base::Callback<void(AuthRequiredResponse)> AuthCallback; base 80 net/base/network_delegate.h void NotifyPACScriptError(int line_number, const base::string16& error); base 91 net/base/network_delegate.h const base::FilePath& path) const; base 179 net/base/network_delegate.h const base::string16& error); base 221 net/base/network_delegate.h const base::FilePath& path) const; base 19 net/base/network_time_notifier.cc const int64 kTicksResolutionMs = base::Time::kMinLowResolutionThresholdMs; base 32 net/base/network_time_notifier.cc scoped_ptr<base::TickClock> tick_clock) { base 38 net/base/network_time_notifier.cc void NetworkTimeNotifier::UpdateNetworkTime(const base::Time& network_time, base 39 net/base/network_time_notifier.cc const base::TimeDelta& resolution, base 40 net/base/network_time_notifier.cc const base::TimeDelta& latency, base 41 net/base/network_time_notifier.cc const base::TimeTicks& post_time) { base 44 net/base/network_time_notifier.cc << base::UTF16ToUTF8( base 45 net/base/network_time_notifier.cc base::TimeFormatFriendlyDateAndTime(network_time)); base 54 net/base/network_time_notifier.cc base::TimeTicks now = tick_clock_->NowTicks(); base 55 net/base/network_time_notifier.cc base::TimeDelta task_delay = now - post_time; base 66 net/base/network_time_notifier.cc base::TimeDelta::FromMilliseconds(kTicksResolutionMs); base 69 net/base/network_time_notifier.cc base::MessageLoop::current()->PostTask( base 71 net/base/network_time_notifier.cc base::Bind(observers_[i], base 83 net/base/network_time_notifier.cc base::MessageLoop::current()->PostTask( base 85 net/base/network_time_notifier.cc base::Bind(observer_callback, base 33 net/base/network_time_notifier.h typedef base::Callback<void(const base::Time&, base 34 net/base/network_time_notifier.h const base::TimeTicks&, base 35 net/base/network_time_notifier.h const base::TimeDelta&)> ObserverCallback; base 38 net/base/network_time_notifier.h explicit NetworkTimeNotifier(scoped_ptr<base::TickClock> tick_clock); base 45 net/base/network_time_notifier.h void UpdateNetworkTime(const base::Time& network_time, base 46 net/base/network_time_notifier.h const base::TimeDelta& resolution, base 47 net/base/network_time_notifier.h const base::TimeDelta& latency, base 48 net/base/network_time_notifier.h const base::TimeTicks& post_time); base 55 net/base/network_time_notifier.h base::ThreadChecker thread_checker_; base 58 net/base/network_time_notifier.h scoped_ptr<base::TickClock> tick_clock_; base 61 net/base/network_time_notifier.h base::Time network_time_; base 68 net/base/network_time_notifier.h base::TimeTicks network_time_ticks_; base 72 net/base/network_time_notifier.h base::TimeDelta network_time_uncertainty_; base 31 net/base/openssl_private_key_store_memory.cc base::AutoLock lock(lock_); base 40 net/base/openssl_private_key_store_memory.cc base::AutoLock lock(lock_); base 46 net/base/openssl_private_key_store_memory.cc base::AutoLock lock(lock_); base 57 net/base/openssl_private_key_store_memory.cc base::Lock lock_; base 21 net/base/platform_mime_util.h base::FilePath::StringType* extension) const; base 28 net/base/platform_mime_util.h base::hash_set<base::FilePath::StringType>* extensions) const; base 33 net/base/platform_mime_util.h bool GetPlatformMimeTypeFromExtension(const base::FilePath::StringType& ext, base 22 net/base/platform_mime_util_linux.cc const base::FilePath::StringType& ext, std::string* result) const { base 27 net/base/platform_mime_util_linux.cc const base::FilePath::StringType& ext, std::string* result) const { base 35 net/base/platform_mime_util_linux.cc base::FilePath dummy_path("foo." + ext); base 36 net/base/platform_mime_util_linux.cc std::string out = base::nix::GetFileMimeType(dummy_path); base 78 net/base/platform_mime_util_linux.cc const std::string& mime_type, base::FilePath::StringType* ext) const { base 104 net/base/platform_mime_util_linux.cc base::hash_set<base::FilePath::StringType>* extensions) const { base 105 net/base/platform_mime_util_linux.cc base::FilePath::StringType ext; base 15 net/base/platform_mime_util_win.cc const base::FilePath::StringType& ext, std::string* result) const { base 19 net/base/platform_mime_util_win.cc base::win::RegKey(HKEY_CLASSES_ROOT, key.c_str(), KEY_READ).ReadValue( base 22 net/base/platform_mime_util_win.cc *result = base::WideToUTF8(value); base 29 net/base/platform_mime_util_win.cc const std::string& mime_type, base::FilePath::StringType* ext) const { base 31 net/base/platform_mime_util_win.cc L"MIME\\Database\\Content Type\\" + base::UTF8ToWide(mime_type)); base 32 net/base/platform_mime_util_win.cc if (base::win::RegKey(HKEY_CLASSES_ROOT, key.c_str(), KEY_READ).ReadValue( base 45 net/base/platform_mime_util_win.cc base::hash_set<base::FilePath::StringType>* extensions) const { base 50 net/base/platform_mime_util_win.cc base::FilePath::StringType ext; base 32 net/base/priority_queue.h class PriorityQueue : public base::NonThreadSafe { base 300 net/base/priority_queue.h base::hash_set<unsigned> valid_ids_; base 12 net/base/rand_callback.h typedef base::Callback<int(int, int)> RandIntCallback; base 119 net/base/registry_controlled_domains/registry_controlled_domain.cc if (do_check && base::strncasecmp(domain_str, base 41 net/base/sdch_manager.cc const base::Time& expiration, base 82 net/base/sdch_manager.cc if (base::Time::Now() > expiration_) base 409 net/base/sdch_manager.cc base::Time expiration(base::Time::Now() + base::TimeDelta::FromDays(30)); base 453 net/base/sdch_manager.cc base::StringToInt64(value, &seconds); base 454 net/base/sdch_manager.cc expiration = base::Time::Now() + base::TimeDelta::FromSeconds(seconds); base 457 net/base/sdch_manager.cc base::StringToInt(value, &port); base 572 net/base/sdch_manager.cc base::Base64Encode(input, output); base 58 net/base/sdch_manager.h class NET_EXPORT SdchManager : public NON_EXPORTED_BASE(base::NonThreadSafe) { base 165 net/base/sdch_manager.h class NET_EXPORT_PRIVATE Dictionary : public base::RefCounted<Dictionary> { base 171 net/base/sdch_manager.h friend class base::RefCounted<Dictionary>; base 184 net/base/sdch_manager.h const base::Time& expiration, base 228 net/base/sdch_manager.h const base::Time expiration_; // Implied by max-age. base 20 net/base/test_completion_callback.cc base::MessageLoop::current()->Quit(); base 27 net/base/test_completion_callback.cc base::MessageLoop::current()->Run(); base 41 net/base/test_completion_callback.cc : callback_(base::Bind(&TestCompletionCallback::SetResult, base 42 net/base/test_completion_callback.cc base::Unretained(this))) { base 49 net/base/test_completion_callback.cc : callback_(base::Bind(&TestInt64CompletionCallback::SetResult, base 50 net/base/test_completion_callback.cc base::Unretained(this))) { base 42 net/base/test_completion_callback_unittest.cc : public base::RefCountedThreadSafe<ExampleWorker> { base 48 net/base/test_completion_callback_unittest.cc origin_loop_(base::MessageLoop::current()) {} base 60 net/base/test_completion_callback_unittest.cc base::Lock origin_loop_lock_; base 61 net/base/test_completion_callback_unittest.cc base::MessageLoop* origin_loop_; base 72 net/base/test_completion_callback_unittest.cc base::AutoLock locked(origin_loop_lock_); base 75 net/base/test_completion_callback_unittest.cc base::Bind(&ExampleWorker::DoCallback, this)); base 102 net/base/test_completion_callback_unittest.cc if (!base::WorkerPool::PostTask( base 104 net/base/test_completion_callback_unittest.cc base::Bind(&ExampleWorker::DoWork, request_.get()), base 13 net/base/test_data_directory.cc const base::FilePath::CharType kCertificateRelativePath[] = base 17 net/base/test_data_directory.cc base::FilePath GetTestCertsDirectory() { base 18 net/base/test_data_directory.cc base::FilePath src_root; base 19 net/base/test_data_directory.cc PathService::Get(base::DIR_SOURCE_ROOT, &src_root); base 23 net/base/test_data_directory.cc base::FilePath GetTestClientCertsDirectory() { base 25 net/base/test_data_directory.cc return base::FilePath(kCertificateRelativePath); base 31 net/base/test_data_directory.cc base::FilePath GetWebSocketTestDataDirectory() { base 32 net/base/test_data_directory.cc base::FilePath data_dir(FILE_PATH_LITERAL("net/data/websocket")); base 14 net/base/test_data_directory.h base::FilePath GetTestCertsDirectory(); base 20 net/base/test_data_directory.h base::FilePath GetTestClientCertsDirectory(); base 25 net/base/test_data_directory.h base::FilePath GetWebSocketTestDataDirectory(); base 109 net/base/upload_data_stream.cc base::Closure callback = pending_chunked_read_callback_; base 135 net/base/upload_data_stream.cc base::Bind(&UploadDataStream::ResumePendingInit, base 194 net/base/upload_data_stream.cc base::Bind(base::IgnoreResult(&UploadDataStream::ResumePendingRead), base 228 net/base/upload_data_stream.cc base::Bind(&UploadDataStream::ResumePendingRead, base 149 net/base/upload_data_stream.h base::Closure pending_chunked_read_callback_; base 151 net/base/upload_data_stream.h base::WeakPtrFactory<UploadDataStream> weak_ptr_factory_; base 94 net/base/upload_data_stream_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 95 net/base/upload_data_stream_unittest.cc base::Bind(callback, init_result_)); base 106 net/base/upload_data_stream_unittest.cc base::MessageLoop::current()->PostTask( base 107 net/base/upload_data_stream_unittest.cc FROM_HERE, base::Bind(callback, read_result_)); base 133 net/base/upload_data_stream_unittest.cc base::RunLoop().RunUntilIdle(); base 136 net/base/upload_data_stream_unittest.cc void FileChangedHelper(const base::FilePath& file_path, base 137 net/base/upload_data_stream_unittest.cc const base::Time& time, base 140 net/base/upload_data_stream_unittest.cc base::ScopedTempDir temp_dir_; base 173 net/base/upload_data_stream_unittest.cc base::FilePath temp_file_path; base 174 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 177 net/base/upload_data_stream_unittest.cc base::WriteFile(temp_file_path, kTestData, kTestDataSize)); base 180 net/base/upload_data_stream_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 184 net/base/upload_data_stream_unittest.cc base::Time())); base 207 net/base/upload_data_stream_unittest.cc base::FilePath temp_file_path; base 208 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 211 net/base/upload_data_stream_unittest.cc base::WriteFile(temp_file_path, kTestData, kTestDataSize)); base 218 net/base/upload_data_stream_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 222 net/base/upload_data_stream_unittest.cc base::Time())); base 325 net/base/upload_data_stream_unittest.cc base::FilePath temp_file_path; base 326 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 329 net/base/upload_data_stream_unittest.cc base::WriteFile(temp_file_path, kTestData, kTestDataSize)); base 334 net/base/upload_data_stream_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 338 net/base/upload_data_stream_unittest.cc base::Time())); base 513 net/base/upload_data_stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 531 net/base/upload_data_stream_unittest.cc void UploadDataStreamTest::FileChangedHelper(const base::FilePath& file_path, base 532 net/base/upload_data_stream_unittest.cc const base::Time& time, base 538 net/base/upload_data_stream_unittest.cc base::MessageLoopProxy::current().get(), file_path, 1, 2, time)); base 551 net/base/upload_data_stream_unittest.cc base::FilePath temp_file_path; base 552 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 555 net/base/upload_data_stream_unittest.cc base::WriteFile(temp_file_path, kTestData, kTestDataSize)); base 557 net/base/upload_data_stream_unittest.cc base::File::Info file_info; base 558 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::GetFileInfo(temp_file_path, &file_info)); base 565 net/base/upload_data_stream_unittest.cc file_info.last_modified - base::TimeDelta::FromSeconds(1), base 570 net/base/upload_data_stream_unittest.cc base::FilePath temp_file_path; base 571 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 574 net/base/upload_data_stream_unittest.cc base::WriteFile(temp_file_path, kTestData, kTestDataSize)); base 580 net/base/upload_data_stream_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 584 net/base/upload_data_stream_unittest.cc base::Time())); base 614 net/base/upload_data_stream_unittest.cc base::FilePath temp_file_path; base 615 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 618 net/base/upload_data_stream_unittest.cc base::WriteFile(temp_file_path, kTestData, kTestDataSize)); base 625 net/base/upload_data_stream_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 629 net/base/upload_data_stream_unittest.cc base::Time())); base 657 net/base/upload_data_stream_unittest.cc base::FilePath temp_file_path; base 658 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 661 net/base/upload_data_stream_unittest.cc base::WriteFile(temp_file_path, kTestData, kTestDataSize)); base 667 net/base/upload_data_stream_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 671 net/base/upload_data_stream_unittest.cc base::Time())); base 714 net/base/upload_data_stream_unittest.cc base::FilePath temp_file_path; base 715 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 718 net/base/upload_data_stream_unittest.cc base::WriteFile(temp_file_path, kTestData, kTestDataSize)); base 724 net/base/upload_data_stream_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 728 net/base/upload_data_stream_unittest.cc base::Time())); base 762 net/base/upload_data_stream_unittest.cc base::FilePath temp_file_path; base 763 net/base/upload_data_stream_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 766 net/base/upload_data_stream_unittest.cc base::WriteFile(temp_file_path, kTestData, kTestDataSize)); base 772 net/base/upload_data_stream_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 776 net/base/upload_data_stream_unittest.cc base::Time())); base 32 net/base/upload_element.h const base::FilePath& file_path() const { return file_path_; } base 36 net/base/upload_element.h const base::Time& expected_file_modification_time() const { base 54 net/base/upload_element.h void SetToFilePath(const base::FilePath& path) { base 55 net/base/upload_element.h SetToFilePathRange(path, 0, kuint64max, base::Time()); base 61 net/base/upload_element.h void SetToFilePathRange(const base::FilePath& path, base 63 net/base/upload_element.h const base::Time& expected_modification_time) { base 76 net/base/upload_element.h base::FilePath file_path_; base 79 net/base/upload_element.h base::Time expected_file_modification_time_; base 26 net/base/upload_file_element_reader.cc base::TaskRunner* task_runner, base 27 net/base/upload_file_element_reader.cc const base::FilePath& path, base 30 net/base/upload_file_element_reader.cc const base::Time& expected_modification_time) base 56 net/base/upload_file_element_reader.cc base::File::FLAG_OPEN | base::File::FLAG_READ | base 57 net/base/upload_file_element_reader.cc base::File::FLAG_ASYNC, base 58 net/base/upload_file_element_reader.cc base::Bind(&UploadFileElementReader::OnOpenCompleted, base 87 net/base/upload_file_element_reader.cc base::Bind(base::IgnoreResult(&UploadFileElementReader::OnReadCompleted), base 118 net/base/upload_file_element_reader.cc base::Bind(&UploadFileElementReader::OnSeekCompleted, base 141 net/base/upload_file_element_reader.cc base::File::Info* file_info = new base::File::Info; base 142 net/base/upload_file_element_reader.cc bool posted = base::PostTaskAndReplyWithResult( base 145 net/base/upload_file_element_reader.cc base::Bind(&base::GetFileInfo, base 148 net/base/upload_file_element_reader.cc base::Bind(&UploadFileElementReader::OnGetFileInfoCompleted, base 151 net/base/upload_file_element_reader.cc base::Owned(file_info))); base 157 net/base/upload_file_element_reader.cc base::File::Info* file_info, base 18 net/base/upload_file_element_reader.h namespace base { base 30 net/base/upload_file_element_reader.h UploadFileElementReader(base::TaskRunner* task_runner, base 31 net/base/upload_file_element_reader.h const base::FilePath& path, base 34 net/base/upload_file_element_reader.h const base::Time& expected_modification_time); base 37 net/base/upload_file_element_reader.h const base::FilePath& path() const { return path_; } base 40 net/base/upload_file_element_reader.h const base::Time& expected_modification_time() const { base 69 net/base/upload_file_element_reader.h base::File::Info* file_info, base 82 net/base/upload_file_element_reader.h scoped_refptr<base::TaskRunner> task_runner_; base 83 net/base/upload_file_element_reader.h const base::FilePath path_; base 86 net/base/upload_file_element_reader.h const base::Time expected_modification_time_; base 90 net/base/upload_file_element_reader.h base::WeakPtrFactory<UploadFileElementReader> weak_ptr_factory_; base 29 net/base/upload_file_element_reader_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), base 33 net/base/upload_file_element_reader_unittest.cc base::WriteFile(temp_file_path_, &bytes_[0], bytes_.size())); base 36 net/base/upload_file_element_reader_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 40 net/base/upload_file_element_reader_unittest.cc base::Time())); base 51 net/base/upload_file_element_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 56 net/base/upload_file_element_reader_unittest.cc base::ScopedTempDir temp_dir_; base 57 net/base/upload_file_element_reader_unittest.cc base::FilePath temp_file_path_; base 184 net/base/upload_file_element_reader_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 188 net/base/upload_file_element_reader_unittest.cc base::Time())); base 207 net/base/upload_file_element_reader_unittest.cc base::File::Info info; base 208 net/base/upload_file_element_reader_unittest.cc ASSERT_TRUE(base::GetFileInfo(temp_file_path_, &info)); base 211 net/base/upload_file_element_reader_unittest.cc const base::Time expected_modification_time = base 212 net/base/upload_file_element_reader_unittest.cc info.last_modified - base::TimeDelta::FromSeconds(1); base 214 net/base/upload_file_element_reader_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 225 net/base/upload_file_element_reader_unittest.cc const base::FilePath wrong_path(FILE_PATH_LITERAL("wrong_path")); base 227 net/base/upload_file_element_reader_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 231 net/base/upload_file_element_reader_unittest.cc base::Time())); base 44 net/base/url_util.cc const base::StringPiece key( base 46 net/base/url_util.cc const base::StringPiece value( base 40 net/base/winsock_init.cc static base::LazyInstance<WinsockInitSingleton> g_winsock_init_singleton = base 18 net/base/zap.cc void ZapString(base::string16* s) { base 20 net/base/zap.cc ZapBuf(&(*s)[0], s->length() * sizeof(base::char16)); base 23 net/base/zap.h void ZapString(base::string16* s); base 11 net/cert/asn1_util.cc bool ParseElement(base::StringPiece* in, base 13 net/cert/asn1_util.cc base::StringPiece* out, base 25 net/cert/asn1_util.cc *out = base::StringPiece(); base 38 net/cert/asn1_util.cc *out = base::StringPiece(); base 79 net/cert/asn1_util.cc *out = base::StringPiece(in->data(), len); base 84 net/cert/asn1_util.cc bool GetElement(base::StringPiece* in, base 86 net/cert/asn1_util.cc base::StringPiece* out) { base 98 net/cert/asn1_util.cc static bool SeekToSPKI(base::StringPiece* cert) { base 114 net/cert/asn1_util.cc base::StringPiece certificate; base 122 net/cert/asn1_util.cc base::StringPiece tbs_certificate; base 151 net/cert/asn1_util.cc bool ExtractSPKIFromDERCert(base::StringPiece cert, base 152 net/cert/asn1_util.cc base::StringPiece* spki_out) { base 160 net/cert/asn1_util.cc bool ExtractSubjectPublicKeyFromSPKI(base::StringPiece spki, base 161 net/cert/asn1_util.cc base::StringPiece* spk_out) { base 172 net/cert/asn1_util.cc base::StringPiece spki_contents; base 177 net/cert/asn1_util.cc base::StringPiece algorithm; base 188 net/cert/asn1_util.cc bool ExtractCRLURLsFromDERCert(base::StringPiece cert, base 189 net/cert/asn1_util.cc std::vector<base::StringPiece>* urls_out) { base 191 net/cert/asn1_util.cc std::vector<base::StringPiece> tmp_urls_out; base 214 net/cert/asn1_util.cc base::StringPiece extensions_seq; base 231 net/cert/asn1_util.cc base::StringPiece extensions; base 236 net/cert/asn1_util.cc base::StringPiece extension; base 240 net/cert/asn1_util.cc base::StringPiece oid; base 257 net/cert/asn1_util.cc base::StringPiece extension_value; base 270 net/cert/asn1_util.cc base::StringPiece distribution_points; base 275 net/cert/asn1_util.cc base::StringPiece distrib_point; base 279 net/cert/asn1_util.cc base::StringPiece name; base 302 net/cert/asn1_util.cc base::StringPiece general_names; base 314 net/cert/asn1_util.cc base::StringPiece url; base 46 net/cert/asn1_util.h bool ParseElement(base::StringPiece* in, base 48 net/cert/asn1_util.h base::StringPiece* out, base 56 net/cert/asn1_util.h bool GetElement(base::StringPiece* in, base 58 net/cert/asn1_util.h base::StringPiece* out); base 63 net/cert/asn1_util.h NET_EXPORT_PRIVATE bool ExtractSPKIFromDERCert(base::StringPiece cert, base 64 net/cert/asn1_util.h base::StringPiece* spki_out); base 70 net/cert/asn1_util.h base::StringPiece spki, base 71 net/cert/asn1_util.h base::StringPiece* spk_out); base 86 net/cert/asn1_util.h base::StringPiece cert, base 87 net/cert/asn1_util.h std::vector<base::StringPiece>* urls_out); base 29 net/cert/cert_database_mac.cc Notifier(CertDatabase* cert_db, base::MessageLoop* message_loop) base 34 net/cert/cert_database_mac.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 37 net/cert/cert_database_mac.cc base::Bind(&Notifier::Init, base 38 net/cert/cert_database_mac.cc base::Unretained(this))); base 77 net/cert/cert_database_mac.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 94 net/cert/cert_database_mac.cc if (info->pid == base::GetCurrentProcId()) { base 118 net/cert/cert_database_mac.cc notifier_.reset(new Notifier(this, base::MessageLoopForUI::current())); base 156 net/cert/cert_database_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); base 73 net/cert/cert_verify_proc.cc base::StringPrintf("CertificateType2.%s.%s.%s", base 79 net/cert/cert_verify_proc.cc base::HistogramBase* counter = NULL; base 86 net/cert/cert_verify_proc.cc counter = base::CustomHistogram::FactoryGet( base 88 net/cert/cert_verify_proc.cc base::CustomHistogram::ArrayToCustomRanges(kEccKeySizes, base 90 net/cert/cert_verify_proc.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 94 net/cert/cert_verify_proc.cc counter = base::CustomHistogram::FactoryGet( base 96 net/cert/cert_verify_proc.cc base::CustomHistogram::ArrayToCustomRanges(kRsaDsaKeySizes, base 98 net/cert/cert_verify_proc.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 124 net/cert/cert_verify_proc.cc const base::Time kBaselineEffectiveDate = base 125 net/cert/cert_verify_proc.cc base::Time::FromInternalValue(GG_INT64_C(12985574400000000)); base 128 net/cert/cert_verify_proc.cc const base::Time kBaselineKeysizeEffectiveDate = base 129 net/cert/cert_verify_proc.cc base::Time::FromInternalValue(GG_INT64_C(13033008000000000)); base 329 net/cert/cert_verify_proc.cc base::StringPiece serial(serial_number); base 352 net/cert/cert_verify_proc.cc static const uint8 kHashes[kNumHashes][base::kSHA1Length] = { base 415 net/cert/cert_verify_proc.cc memcmp(j->data(), kHashes[i], base::kSHA1Length) == 0) { base 474 net/cert/cert_verify_proc.cc uint8 public_key[base::kSHA1Length]; base 527 net/cert/cert_verify_proc.cc memcmp(j->data(), kLimits[i].public_key, base::kSHA1Length) == 0) { base 27 net/cert/cert_verify_proc.h : public base::RefCountedThreadSafe<CertVerifyProc> { base 74 net/cert/cert_verify_proc.h friend class base::RefCountedThreadSafe<CertVerifyProc>; base 64 net/cert/cert_verify_proc_android.cc std::vector<base::StringPiece> verified_chain_pieces(verified_chain.size()); base 66 net/cert/cert_verify_proc_android.cc verified_chain_pieces[i] = base::StringPiece(verified_chain[i]); base 76 net/cert/cert_verify_proc_android.cc base::StringPiece spki_bytes; base 81 net/cert/cert_verify_proc_android.cc base::SHA1HashBytes(reinterpret_cast<const uint8*>(spki_bytes.data()), base 39 net/cert/cert_verify_proc_mac.cc using base::ScopedCFTypeRef; base 249 net/cert/cert_verify_proc_mac.cc base::StringPiece der_bytes(reinterpret_cast<const char*>(cert_data.Data), base 251 net/cert/cert_verify_proc_mac.cc base::StringPiece spki_bytes; base 282 net/cert/cert_verify_proc_mac.cc base::StringPiece der_bytes(reinterpret_cast<const char*>(cert_data.Data), base 284 net/cert/cert_verify_proc_mac.cc base::StringPiece spki; base 303 net/cert/cert_verify_proc_mac.cc base::StringPiece serial( base 547 net/cert/cert_verify_proc_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); base 285 net/cert/cert_verify_proc_nss.cc base::StringPiece der(reinterpret_cast<char*>(cert->derCert.data), base 288 net/cert/cert_verify_proc_nss.cc base::StringPiece spki; base 296 net/cert/cert_verify_proc_nss.cc base::StringPiece serial_number = base::StringPiece( base 160 net/cert/cert_verify_proc_openssl.cc base::StringPiece der_bytes(der_data); base 161 net/cert/cert_verify_proc_openssl.cc base::StringPiece spki_bytes; base 166 net/cert/cert_verify_proc_openssl.cc base::SHA1HashBytes(reinterpret_cast<const uint8*>(spki_bytes.data()), base 36 net/cert/cert_verify_proc_unittest.cc using base::HexEncode; base 92 net/cert/cert_verify_proc_unittest.cc if (base::android::BuildInfo::GetInstance()->sdk_int() < 17) base 102 net/cert/cert_verify_proc_unittest.cc if (base::android::BuildInfo::GetInstance()->sdk_int() < 17) base 242 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 281 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 315 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 346 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 360 net/cert/cert_verify_proc_unittest.cc use_ecdsa = base::win::GetVersion() > base::win::VERSION_XP; base 432 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 477 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 525 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 534 net/cert/cert_verify_proc_unittest.cc base::StringPiece spki; base 537 net/cert/cert_verify_proc_unittest.cc std::string spki_sha1 = base::SHA1HashString(spki.as_string()); base 622 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 656 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 691 net/cert/cert_verify_proc_unittest.cc EXPECT_EQ(HexEncode(kSatvedaSPKIs[i], base::kSHA1Length), base 692 net/cert/cert_verify_proc_unittest.cc HexEncode(sha1_hashes[i].data(), base::kSHA1Length)); base 713 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 756 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 843 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 894 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 1054 net/cert/cert_verify_proc_unittest.cc base::ScopedClosureRunner reset_system_trust( base 1055 net/cert/cert_verify_proc_unittest.cc base::Bind(&TestRootCerts::SetAllowSystemTrust, base 1056 net/cert/cert_verify_proc_unittest.cc base::Unretained(TestRootCerts::GetInstance()), base 1215 net/cert/cert_verify_proc_unittest.cc base::StringPiece crl_set_bytes( base 1232 net/cert/cert_verify_proc_unittest.cc base::StringPiece(reinterpret_cast<const char*>(kCRLSetLeafSerialBlocked), base 1283 net/cert/cert_verify_proc_unittest.cc base::StringPiece crl_set_bytes = base 1284 net/cert/cert_verify_proc_unittest.cc base::StringPiece(reinterpret_cast<const char*>(kCRLSetQUICSerialBlocked), base 1328 net/cert/cert_verify_proc_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 202 net/cert/cert_verify_proc_win.cc scoped_ptr<CERT_NAME_INFO, base::FreeDeleter> scoped_name_info(name_info); base 353 net/cert/cert_verify_proc_win.cc scoped_ptr<CERT_POLICIES_INFO, base::FreeDeleter>* output) { base 412 net/cert/cert_verify_proc_win.cc base::StringPiece der_bytes( base 416 net/cert/cert_verify_proc_win.cc base::StringPiece spki; base 430 net/cert/cert_verify_proc_win.cc base::StringPiece serial(reinterpret_cast<const char*>(serial_bytes.get()), base 472 net/cert/cert_verify_proc_win.cc base::StringPiece der_bytes( base 475 net/cert/cert_verify_proc_win.cc base::StringPiece spki_bytes; base 480 net/cert/cert_verify_proc_win.cc base::SHA1HashBytes(reinterpret_cast<const uint8*>(spki_bytes.data()), base 573 net/cert/cert_verify_proc_win.cc scoped_ptr<CERT_POLICIES_INFO, base::FreeDeleter> policies_info; base 725 net/cert/cert_verify_proc_win.cc std::wstring wstr_hostname = base::ASCIIToWide(hostname); base 23 net/cert/crl_set.cc static bool DecompressZlib(uint8* out, int out_len, base::StringPiece in) { base 123 net/cert/crl_set.cc static base::DictionaryValue* ReadHeader(base::StringPiece* data) { base 133 net/cert/crl_set.cc const base::StringPiece header_bytes(data->data(), header_len); base 136 net/cert/crl_set.cc scoped_ptr<base::Value> header(base::JSONReader::Read( base 137 net/cert/crl_set.cc header_bytes, base::JSON_ALLOW_TRAILING_COMMAS)); base 141 net/cert/crl_set.cc if (!header->IsType(base::Value::TYPE_DICTIONARY)) base 143 net/cert/crl_set.cc return reinterpret_cast<base::DictionaryValue*>(header.release()); base 150 net/cert/crl_set.cc static bool ReadCRL(base::StringPiece* data, std::string* out_parent_spki_hash, base 180 net/cert/crl_set.cc bool CRLSet::CopyBlockedSPKIsFromHeader(base::DictionaryValue* header_dict) { base 181 net/cert/crl_set.cc base::ListValue* blocked_spkis_list = NULL; base 193 net/cert/crl_set.cc if (!base::Base64Decode(spki_sha256_base64, &spki_sha256)) base 202 net/cert/crl_set.cc bool CRLSet::Parse(base::StringPiece data, scoped_refptr<CRLSet>* out_crl_set) { base 213 net/cert/crl_set.cc scoped_ptr<base::DictionaryValue> header_dict(ReadHeader(&data)); base 267 net/cert/crl_set.cc static bool ReadChanges(base::StringPiece* data, base 288 net/cert/crl_set.cc base::StringPiece compressed(data->data(), compressed_size); base 301 net/cert/crl_set.cc bool ReadDeltaCRL(base::StringPiece* data, base 344 net/cert/crl_set.cc bool CRLSet::ApplyDelta(const base::StringPiece& in_data, base 346 net/cert/crl_set.cc base::StringPiece data(in_data); base 347 net/cert/crl_set.cc scoped_ptr<base::DictionaryValue> header_dict(ReadHeader(&data)); base 439 net/cert/crl_set.cc bool CRLSet::GetIsDeltaUpdate(const base::StringPiece& in_data, base 441 net/cert/crl_set.cc base::StringPiece data(in_data); base 442 net/cert/crl_set.cc scoped_ptr<base::DictionaryValue> header_dict(ReadHeader(&data)); base 462 net/cert/crl_set.cc std::string header = base::StringPrintf( base 476 net/cert/crl_set.cc base::Base64Encode(*i, &spki_hash_base64); base 484 net/cert/crl_set.cc header += base::StringPrintf(",\"NotAfter\":%" PRIu64, not_after_); base 524 net/cert/crl_set.cc CRLSet::Result CRLSet::CheckSPKI(const base::StringPiece& spki_hash) const { base 537 net/cert/crl_set.cc const base::StringPiece& serial_number, base 538 net/cert/crl_set.cc const base::StringPiece& issuer_spki_hash) const { base 539 net/cert/crl_set.cc base::StringPiece serial(serial_number); base 559 net/cert/crl_set.cc if (base::StringPiece(*i) == serial) base 570 net/cert/crl_set.cc uint64 now = base::Time::Now().ToTimeT(); base 18 net/cert/crl_set.h namespace base { base 27 net/cert/crl_set.h class NET_EXPORT CRLSet : public base::RefCountedThreadSafe<CRLSet> { base 37 net/cert/crl_set.h static bool Parse(base::StringPiece data, base 42 net/cert/crl_set.h Result CheckSPKI(const base::StringPiece& spki_hash) const; base 50 net/cert/crl_set.h const base::StringPiece& serial_number, base 51 net/cert/crl_set.h const base::StringPiece& issuer_spki_hash) const; base 59 net/cert/crl_set.h bool ApplyDelta(const base::StringPiece& delta_bytes, base 65 net/cert/crl_set.h static bool GetIsDeltaUpdate(const base::StringPiece& bytes, bool *is_delta); base 105 net/cert/crl_set.h friend class base::RefCountedThreadSafe<CRLSet>; base 109 net/cert/crl_set.h bool CopyBlockedSPKIsFromHeader(base::DictionaryValue* header_dict); base 186 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), base 216 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), base 223 net/cert/crl_set_unittest.cc base::StringPiece delta(reinterpret_cast<const char*>(kNoopDeltaCRL), base 233 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), base 240 net/cert/crl_set_unittest.cc base::StringPiece delta(reinterpret_cast<const char*>(kAddCRLDelta), base 255 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), base 262 net/cert/crl_set_unittest.cc base::StringPiece delta(reinterpret_cast<const char*>(kAddCRLDelta), base 268 net/cert/crl_set_unittest.cc base::StringPiece delta2(reinterpret_cast<const char*>(kRemoveCRLDelta), base 280 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), base 287 net/cert/crl_set_unittest.cc base::StringPiece delta(reinterpret_cast<const char*>(kUpdateSerialsDelta), base 299 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kBlockedSPKICRLSet), base 319 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kExpiredCRLSet), base 60 net/cert/ct_known_logs.cc base::StringPiece key(kGooglePilotLogKey, kGooglePilotLogKeyLength); base 66 net/cert/ct_known_logs.cc base::StringPiece key(kGoogleAviatorLogKey, kGoogleAviatorLogKeyLength); base 72 net/cert/ct_known_logs.cc base::StringPiece key(kGoogleRocketeerLogKey, kGoogleRocketeerLogKeyLength); base 14 net/cert/ct_log_verifier.cc const base::StringPiece& public_key, base 15 net/cert/ct_log_verifier.cc const base::StringPiece& description) { base 35 net/cert/ct_log_verifier.h const base::StringPiece& public_key, base 36 net/cert/ct_log_verifier.h const base::StringPiece& description); base 55 net/cert/ct_log_verifier.h bool Init(const base::StringPiece& public_key, base 56 net/cert/ct_log_verifier.h const base::StringPiece& description); base 61 net/cert/ct_log_verifier.h bool VerifySignature(const base::StringPiece& data_to_sign, base 62 net/cert/ct_log_verifier.h const base::StringPiece& signature); base 71 net/cert/ct_log_verifier_nss.cc bool CTLogVerifier::Init(const base::StringPiece& public_key, base 72 net/cert/ct_log_verifier_nss.cc const base::StringPiece& description) { base 126 net/cert/ct_log_verifier_nss.cc bool CTLogVerifier::VerifySignature(const base::StringPiece& data_to_sign, base 127 net/cert/ct_log_verifier_nss.cc const base::StringPiece& signature) { base 53 net/cert/ct_log_verifier_openssl.cc bool CTLogVerifier::Init(const base::StringPiece& public_key, base 54 net/cert/ct_log_verifier_openssl.cc const base::StringPiece& description) { base 96 net/cert/ct_log_verifier_openssl.cc bool CTLogVerifier::VerifySignature(const base::StringPiece& data_to_sign, base 97 net/cert/ct_log_verifier_openssl.cc const base::StringPiece& signature) { base 59 net/cert/ct_log_verifier_unittest.cc cert_sct->timestamp = base::Time::Now(); base 100 net/cert/ct_objects_extractor_nss.cc friend struct base::DefaultLazyInstanceTraits<CTInitSingleton>; base 135 net/cert/ct_objects_extractor_nss.cc base::LazyInstance<CTInitSingleton>::Leaky g_ct_singleton = base 150 net/cert/ct_objects_extractor_nss.cc base::StringPiece raw_data(reinterpret_cast<char*>(extension.data), base 152 net/cert/ct_objects_extractor_nss.cc base::StringPiece parsed_data; base 200 net/cert/ct_objects_extractor_nss.cc base::StringPiece parsed_data(reinterpret_cast<char*>(contents.data), base 492 net/cert/ct_objects_extractor_nss.cc base::StringPiece(reinterpret_cast<char*>(encoded_issuer_pubKey->data), base 572 net/cert/ct_objects_extractor_nss.cc base::StringPiece issuer_spki; base 577 net/cert/ct_objects_extractor_nss.cc base::StringPiece issuer_spk; base 595 net/cert/ct_objects_extractor_nss.cc std::string issuer_key_sha1_hash = base::SHA1HashString( base 43 net/cert/ct_objects_extractor_unittest.cc std::vector<base::StringPiece> parsed_scts; base 44 net/cert/ct_objects_extractor_unittest.cc base::StringPiece sct_list_sp(sct_list); base 67 net/cert/ct_objects_extractor_unittest.cc base::Time expected_timestamp = base 68 net/cert/ct_objects_extractor_unittest.cc base::Time::UnixEpoch() + base 69 net/cert/ct_objects_extractor_unittest.cc base::TimeDelta::FromMilliseconds(1365181456275); base 48 net/cert/ct_serialization.cc bool ReadUint(size_t length, base::StringPiece* in, T* out) { base 66 net/cert/ct_serialization.cc bool ReadLength(size_t prefix_length, base::StringPiece* in, size_t* out) { base 77 net/cert/ct_serialization.cc base::StringPiece* in, base 78 net/cert/ct_serialization.cc base::StringPiece* out) { base 91 net/cert/ct_serialization.cc base::StringPiece* in, base 92 net/cert/ct_serialization.cc base::StringPiece* out) { base 106 net/cert/ct_serialization.cc base::StringPiece* in, base 107 net/cert/ct_serialization.cc std::vector<base::StringPiece>* out) { base 108 net/cert/ct_serialization.cc std::vector<base::StringPiece> result; base 110 net/cert/ct_serialization.cc base::StringPiece list_data; base 115 net/cert/ct_serialization.cc base::StringPiece list_item; base 192 net/cert/ct_serialization.cc void WriteEncodedBytes(const base::StringPiece& input, std::string* output) { base 202 net/cert/ct_serialization.cc const base::StringPiece& input, base 231 net/cert/ct_serialization.cc base::StringPiece( base 250 net/cert/ct_serialization.cc bool DecodeDigitallySigned(base::StringPiece* input, base 254 net/cert/ct_serialization.cc base::StringPiece sig_data; base 288 net/cert/ct_serialization.cc bool EncodeV1SCTSignedData(const base::Time& timestamp, base 296 net/cert/ct_serialization.cc base::TimeDelta time_since_epoch = timestamp - base::Time::UnixEpoch(); base 305 net/cert/ct_serialization.cc bool DecodeSCTList(base::StringPiece* input, base 306 net/cert/ct_serialization.cc std::vector<base::StringPiece>* output) { base 307 net/cert/ct_serialization.cc std::vector<base::StringPiece> result; base 320 net/cert/ct_serialization.cc base::StringPiece* input, base 334 net/cert/ct_serialization.cc base::StringPiece log_id; base 335 net/cert/ct_serialization.cc base::StringPiece extensions; base 352 net/cert/ct_serialization.cc base::Time::UnixEpoch() + base 353 net/cert/ct_serialization.cc base::TimeDelta::FromMilliseconds(static_cast<int64>(timestamp)); base 359 net/cert/ct_serialization.cc bool EncodeSCTListForTesting(const base::StringPiece& sct, base 29 net/cert/ct_serialization.h NET_EXPORT_PRIVATE bool DecodeDigitallySigned(base::StringPiece* input, base 46 net/cert/ct_serialization.h const base::Time& timestamp, base 58 net/cert/ct_serialization.h NET_EXPORT_PRIVATE bool DecodeSCTList(base::StringPiece* input, base 59 net/cert/ct_serialization.h std::vector<base::StringPiece>* output); base 65 net/cert/ct_serialization.h base::StringPiece* input, base 69 net/cert/ct_serialization.h NET_EXPORT_PRIVATE bool EncodeSCTListForTesting(const base::StringPiece& sct, base 32 net/cert/ct_serialization_unittest.cc base::StringPiece digitally_signed(test_digitally_signed_); base 56 net/cert/ct_serialization_unittest.cc base::StringPiece digitally_signed(test_digitally_signed_); base 57 net/cert/ct_serialization_unittest.cc base::StringPiece partial_digitally_signed( base 94 net/cert/ct_serialization_unittest.cc base::Time timestamp = base::Time::UnixEpoch() + base 95 net/cert/ct_serialization_unittest.cc base::TimeDelta::FromMilliseconds(1348589665525); base 118 net/cert/ct_serialization_unittest.cc base::StringPiece encoded("\x0\xa\x0\x3\x61\x62\x63\x0\x3\x64\x65\x66", 12); base 119 net/cert/ct_serialization_unittest.cc std::vector<base::StringPiece> decoded; base 128 net/cert/ct_serialization_unittest.cc base::StringPiece encoded("\x0\xa\x0\x3\x61\x62\x63\x0\x5\x64\x65\x66", 12); base 129 net/cert/ct_serialization_unittest.cc std::vector<base::StringPiece> decoded; base 136 net/cert/ct_serialization_unittest.cc base::StringPiece encoded_sct(encoded_test_sct); base 142 net/cert/ct_serialization_unittest.cc base::Time expected_time = base::Time::UnixEpoch() + base 143 net/cert/ct_serialization_unittest.cc base::TimeDelta::FromMilliseconds(1365181456089); base 153 net/cert/ct_serialization_unittest.cc base::StringPiece invalid_version_sct("\x2\x0", 2); base 160 net/cert/ct_serialization_unittest.cc base::StringPiece invalid_length_sct("\x0\xa\xb\xc", 4); base 82 net/cert/ct_signed_certificate_timestamp_log_param.cc base::DictionaryValue* dict) { base 84 net/cert/ct_signed_certificate_timestamp_log_param.cc base::Base64Encode(value, &b64_value); base 92 net/cert/ct_signed_certificate_timestamp_log_param.cc base::DictionaryValue* SCTToDictionary( base 94 net/cert/ct_signed_certificate_timestamp_log_param.cc base::DictionaryValue* out = new base::DictionaryValue(); base 100 net/cert/ct_signed_certificate_timestamp_log_param.cc base::TimeDelta time_since_unix_epoch = base 101 net/cert/ct_signed_certificate_timestamp_log_param.cc sct.timestamp - base::Time::UnixEpoch(); base 103 net/cert/ct_signed_certificate_timestamp_log_param.cc base::Int64ToString(time_since_unix_epoch.InMilliseconds())); base 118 net/cert/ct_signed_certificate_timestamp_log_param.cc base::ListValue* SCTListToPrintableValues( base 120 net/cert/ct_signed_certificate_timestamp_log_param.cc base::ListValue* output_scts = new base::ListValue(); base 131 net/cert/ct_signed_certificate_timestamp_log_param.cc base::Value* NetLogSignedCertificateTimestampCallback( base 133 net/cert/ct_signed_certificate_timestamp_log_param.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 147 net/cert/ct_signed_certificate_timestamp_log_param.cc base::Value* NetLogRawSignedCertificateTimestampCallback( base 152 net/cert/ct_signed_certificate_timestamp_log_param.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 20 net/cert/ct_signed_certificate_timestamp_log_param.h base::Value* NetLogSignedCertificateTimestampCallback( base 27 net/cert/ct_signed_certificate_timestamp_log_param.h base::Value* NetLogRawSignedCertificateTimestampCallback( base 425 net/cert/ev_root_ca_metadata.cc static base::LazyInstance<EVRootCAMetadata>::Leaky base 22 net/cert/ev_root_ca_metadata.h namespace base { base 61 net/cert/ev_root_ca_metadata.h friend struct base::DefaultLazyInstanceTraits<EVRootCAMetadata>; base 11 net/cert/jwk_serializer.h namespace base { base 23 net/cert/jwk_serializer.h const base::StringPiece& spki_der, base 24 net/cert/jwk_serializer.h base::DictionaryValue* public_key_jwk); base 24 net/cert/jwk_serializer_nss.cc base::DictionaryValue* public_key_jwk) { base 36 net/cert/jwk_serializer_nss.cc base::StringPiece x( base 40 net/cert/jwk_serializer_nss.cc base::Base64Encode(x, &x_b64); base 43 net/cert/jwk_serializer_nss.cc base::StringPiece y( base 48 net/cert/jwk_serializer_nss.cc base::Base64Encode(y, &y_b64); base 55 net/cert/jwk_serializer_nss.cc base::DictionaryValue* public_key_jwk) { base 81 net/cert/jwk_serializer_nss.cc const base::StringPiece& spki_der, base 82 net/cert/jwk_serializer_nss.cc base::DictionaryValue* public_key_jwk) { base 14 net/cert/jwk_serializer_openssl.cc const base::StringPiece& spki_der, base 15 net/cert/jwk_serializer_openssl.cc base::DictionaryValue* public_key_jwk) { base 67 net/cert/jwk_serializer_unittest.cc base::StringPiece spki; base 68 net/cert/jwk_serializer_unittest.cc base::DictionaryValue public_key_jwk; base 85 net/cert/jwk_serializer_unittest.cc EXPECT_TRUE(base::Base64Decode(string_value, &decoded_coordinate)); base 93 net/cert/jwk_serializer_unittest.cc EXPECT_TRUE(base::Base64Decode(string_value, &decoded_coordinate)); base 112 net/cert/jwk_serializer_unittest.cc EXPECT_TRUE(base::Base64Decode(string_value, &decoded_coordinate)); base 120 net/cert/jwk_serializer_unittest.cc EXPECT_TRUE(base::Base64Decode(string_value, &decoded_coordinate)); base 134 net/cert/jwk_serializer_unittest.cc base::StringPiece spki; base 135 net/cert/jwk_serializer_unittest.cc base::DictionaryValue public_key_jwk; base 114 net/cert/multi_log_ct_verifier.cc base::Bind(&NetLogRawSignedCertificateTimestampCallback, base 137 net/cert/multi_log_ct_verifier.cc base::Bind(&NetLogSignedCertificateTimestampCallback, result); base 159 net/cert/multi_log_ct_verifier.cc base::StringPiece temp(encoded_sct_list); base 160 net/cert/multi_log_ct_verifier.cc std::vector<base::StringPiece> sct_list; base 166 net/cert/multi_log_ct_verifier.cc for (std::vector<base::StringPiece>::const_iterator it = sct_list.begin(); base 168 net/cert/multi_log_ct_verifier.cc base::StringPiece encoded_sct(*it); base 209 net/cert/multi_log_ct_verifier.cc if (sct->timestamp > base::Time::Now()) { base 88 net/cert/multi_log_ct_verifier_unittest.cc base::ListValue* verified_scts; base 94 net/cert/multi_log_ct_verifier_unittest.cc base::DictionaryValue* the_sct; base 104 net/cert/multi_log_ct_verifier_unittest.cc base::ListValue* other_scts; base 163 net/cert/multi_log_ct_verifier_unittest.cc base::Histogram* histogram = static_cast<base::Histogram*>( base 164 net/cert/multi_log_ct_verifier_unittest.cc base::StatisticsRecorder::FindHistogram(histogram_name)); base 169 net/cert/multi_log_ct_verifier_unittest.cc scoped_ptr<base::HistogramSamples> samples = histogram->SnapshotSamples(); base 88 net/cert/multi_threaded_cert_verifier.cc const base::Time& now) base 94 net/cert/multi_threaded_cert_verifier.cc const base::Time& now, base 95 net/cert/multi_threaded_cert_verifier.cc const base::Time& expiration) base 199 net/cert/multi_threaded_cert_verifier.cc origin_loop_(base::MessageLoop::current()), base 210 net/cert/multi_threaded_cert_verifier.cc DCHECK_EQ(base::MessageLoop::current(), origin_loop_); base 212 net/cert/multi_threaded_cert_verifier.cc return base::WorkerPool::PostTask( base 213 net/cert/multi_threaded_cert_verifier.cc FROM_HERE, base::Bind(&CertVerifierWorker::Run, base::Unretained(this)), base 220 net/cert/multi_threaded_cert_verifier.cc DCHECK_EQ(base::MessageLoop::current(), origin_loop_); base 221 net/cert/multi_threaded_cert_verifier.cc base::AutoLock locked(lock_); base 249 net/cert/multi_threaded_cert_verifier.cc DCHECK_EQ(base::MessageLoop::current(), origin_loop_); base 255 net/cert/multi_threaded_cert_verifier.cc base::AutoLock locked(lock_); base 282 net/cert/multi_threaded_cert_verifier.cc base::AutoLock locked(lock_); base 286 net/cert/multi_threaded_cert_verifier.cc FROM_HERE, base::Bind( base 287 net/cert/multi_threaded_cert_verifier.cc &CertVerifierWorker::DoReply, base::Unretained(this))); base 301 net/cert/multi_threaded_cert_verifier.cc base::MessageLoop* const origin_loop_; base 305 net/cert/multi_threaded_cert_verifier.cc base::Lock lock_; base 324 net/cert/multi_threaded_cert_verifier.cc : start_time_(base::TimeTicks::Now()), base 329 net/cert/multi_threaded_cert_verifier.cc base::Bind(&NetLogX509CertificateCallback, base 330 net/cert/multi_threaded_cert_verifier.cc base::Unretained(worker_->certificate()))); base 355 net/cert/multi_threaded_cert_verifier.cc base::TimeTicks::Now() - start_time_, base 356 net/cert/multi_threaded_cert_verifier.cc base::TimeDelta::FromMilliseconds(1), base 357 net/cert/multi_threaded_cert_verifier.cc base::TimeDelta::FromMinutes(10), base 385 net/cert/multi_threaded_cert_verifier.cc const base::TimeTicks start_time_; base 438 net/cert/multi_threaded_cert_verifier.cc cache_.Get(key, CacheValidityPeriod(base::Time::Now())); base 541 net/cert/multi_threaded_cert_verifier.cc base::Time now = base::Time::Now(); base 544 net/cert/multi_threaded_cert_verifier.cc CacheValidityPeriod(now, now + base::TimeDelta::FromSeconds(kTTLSecs))); base 37 net/cert/multi_threaded_cert_verifier.h NON_EXPORTED_BASE(public base::NonThreadSafe), base 116 net/cert/multi_threaded_cert_verifier.h explicit CacheValidityPeriod(const base::Time& now); base 117 net/cert/multi_threaded_cert_verifier.h CacheValidityPeriod(const base::Time& now, const base::Time& expiration); base 119 net/cert/multi_threaded_cert_verifier.h base::Time verification_time; base 120 net/cert/multi_threaded_cert_verifier.h base::Time expiration_time; base 79 net/cert/multi_threaded_cert_verifier_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 128 net/cert/multi_threaded_cert_verifier_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 196 net/cert/multi_threaded_cert_verifier_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 240 net/cert/multi_threaded_cert_verifier_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 254 net/cert/multi_threaded_cert_verifier_unittest.cc base::Bind(&FailTest), base 289 net/cert/multi_threaded_cert_verifier_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 387 net/cert/multi_threaded_cert_verifier_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]", i)); base 44 net/cert/nss_cert_database.cc base::LazyInstance<NSSCertDatabase>::Leaky base 82 net/cert/nss_cert_database.cc const base::Callback<void(scoped_ptr<CertificateList> certs)>& callback) { base 89 net/cert/nss_cert_database.cc base::Bind(&NSSCertDatabase::ListCertsImpl, base 90 net/cert/nss_cert_database.cc base::Unretained(raw_certs)), base 91 net/cert/nss_cert_database.cc base::Bind(callback, base::Passed(&certs))); base 138 net/cert/nss_cert_database.cc const base::string16& password, base 157 net/cert/nss_cert_database.cc const base::string16& password, base 360 net/cert/nss_cert_database.cc const scoped_refptr<base::TaskRunner>& task_runner) { base 379 net/cert/nss_cert_database.cc scoped_refptr<base::TaskRunner> NSSCertDatabase::GetSlowTaskRunner() const { base 382 net/cert/nss_cert_database.cc return base::WorkerPool::GetTaskRunner(true /*task is slow*/); base 20 net/cert/nss_cert_database.h namespace base { base 96 net/cert/nss_cert_database.h typedef base::Callback<void(scoped_ptr<CertificateList> certs)> base 143 net/cert/nss_cert_database.h const base::string16& password, base 151 net/cert/nss_cert_database.h const base::string16& password, base 225 net/cert/nss_cert_database.h const scoped_refptr<base::TaskRunner>& task_runner); base 238 net/cert/nss_cert_database.h scoped_refptr<base::TaskRunner> GetSlowTaskRunner() const; base 241 net/cert/nss_cert_database.h friend struct base::DefaultLazyInstanceTraits<NSSCertDatabase>; base 249 net/cert/nss_cert_database.h scoped_refptr<base::TaskRunner> slow_task_runner_for_test_; base 36 net/cert/nss_cert_database_chromeos.cc const base::Callback<void(scoped_ptr<CertificateList> certs)>& callback) { base 43 net/cert/nss_cert_database_chromeos.cc base::Bind(&NSSCertDatabaseChromeOS::ListCertsImpl, base 45 net/cert/nss_cert_database_chromeos.cc base::Unretained(raw_certs)), base 46 net/cert/nss_cert_database_chromeos.cc base::Bind(callback, base::Passed(&certs))); base 62 net/cert/nss_cert_database_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); base 63 net/cert/nss_cert_database_chromeos_unittest.cc db_1_->SetSlowTaskRunnerForTest(base::MessageLoopProxy::current()); base 68 net/cert/nss_cert_database_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); base 69 net/cert/nss_cert_database_chromeos_unittest.cc db_2_->SetSlowTaskRunnerForTest(base::MessageLoopProxy::current()); base 176 net/cert/nss_cert_database_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 189 net/cert/nss_cert_database_chromeos_unittest.cc base::Bind(&SwapCertLists, base::Unretained(&user_1_certlist_async))); base 191 net/cert/nss_cert_database_chromeos_unittest.cc base::Bind(&SwapCertLists, base::Unretained(&user_2_certlist_async))); base 193 net/cert/nss_cert_database_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 242 net/cert/nss_cert_database_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 252 net/cert/nss_cert_database_chromeos_unittest.cc base::Bind(&SwapCertLists, base::Unretained(&user_1_certlist_async))); base 254 net/cert/nss_cert_database_chromeos_unittest.cc base::Bind(&SwapCertLists, base::Unretained(&user_2_certlist_async))); base 256 net/cert/nss_cert_database_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 269 net/cert/nss_cert_database_chromeos_unittest.cc db_1_->ListCerts(base::Bind(&SwapCertLists, base::Unretained(&certlist))); base 274 net/cert/nss_cert_database_chromeos_unittest.cc base::RunLoop().RunUntilIdle(); base 43 net/cert/nss_cert_database_unittest.cc using base::ASCIIToUTF16; base 77 net/cert/nss_cert_database_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 85 net/cert/nss_cert_database_unittest.cc base::FilePath cert_path = GetTestCertsDirectory().AppendASCII(name); base 86 net/cert/nss_cert_database_unittest.cc EXPECT_TRUE(base::ReadFileToString(cert_path, &result)); base 157 net/cert/nss_cert_database_unittest.cc cert_db_->SetSlowTaskRunnerForTest(base::MessageLoopProxy::current()); base 158 net/cert/nss_cert_database_unittest.cc cert_db_->ListCerts(base::Bind(&SwapCertList, base::Unretained(&certs))); base 161 net/cert/nss_cert_database_unittest.cc base::RunLoop().RunUntilIdle(); base 174 net/cert/nss_cert_database_unittest.cc base::string16(), base 290 net/cert/nss_cert_database_unittest.cc base::string16(), base 26 net/cert/nss_profile_filter_chromeos.cc base::StringAppendF(&result, base 101 net/cert/nss_profile_filter_chromeos.cc DVLOG(2) << "cert no slots: " << base::StringPiece(cert->nickname); base 112 net/cert/nss_profile_filter_chromeos.cc << " allowed: " << base::StringPiece(cert->nickname); base 118 net/cert/nss_profile_filter_chromeos.cc << " filtered: " << base::StringPiece(cert->nickname); base 73 net/cert/nss_profile_filter_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>())); base 83 net/cert/nss_profile_filter_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>())); base 21 net/cert/pem_tokenizer.cc using base::StringPiece; base 66 net/cert/pem_tokenizer.cc if (!base::Base64Decode(base::CollapseWhitespaceASCII(encoded.as_string(), base 99 net/cert/pem_tokenizer.cc allowed_type.header = base::StringPrintf(kPEMBeginBlock, it->c_str()); base 100 net/cert/pem_tokenizer.cc allowed_type.footer = base::StringPrintf(kPEMEndBlock, it->c_str()); base 25 net/cert/pem_tokenizer.h PEMTokenizer(const base::StringPiece& str, base 45 net/cert/pem_tokenizer.h void Init(const base::StringPiece& str, base 54 net/cert/pem_tokenizer.h base::StringPiece str_; base 58 net/cert/pem_tokenizer.h base::StringPiece::size_type pos_; base 16 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); base 34 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); base 52 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); base 68 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); base 94 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); base 118 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); base 136 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); base 156 net/cert/pem_tokenizer_unittest.cc base::StringPiece string_piece(data); base 69 net/cert/signed_certificate_timestamp.cc sct->timestamp = base::Time::FromInternalValue(timestamp); base 77 net/cert/signed_certificate_timestamp.h : public base::RefCountedThreadSafe<SignedCertificateTimestamp> { base 108 net/cert/signed_certificate_timestamp.h base::Time timestamp; base 121 net/cert/signed_certificate_timestamp.h friend class base::RefCountedThreadSafe<SignedCertificateTimestamp>; base 44 net/cert/single_request_cert_verifier.cc base::Bind(&SingleRequestCertVerifier::OnVerifyCompletion, base 45 net/cert/single_request_cert_verifier.cc base::Unretained(this)), base 20 net/cert/test_root_certs.cc base::LazyInstance<TestRootCerts>::Leaky base 23 net/cert/test_root_certs.cc CertificateList LoadCertificates(const base::FilePath& filename) { base 25 net/cert/test_root_certs.cc if (!base::ReadFileToString(filename, &raw_cert)) { base 45 net/cert/test_root_certs.cc bool TestRootCerts::AddFromFile(const base::FilePath& file) { base 32 net/cert/test_root_certs.h namespace base { base 58 net/cert/test_root_certs.h bool AddFromFile(const base::FilePath& file); base 96 net/cert/test_root_certs.h friend struct base::DefaultLazyInstanceTraits<TestRootCerts>; base 114 net/cert/test_root_certs.h base::ScopedCFTypeRef<CFMutableArrayRef> temporary_roots_; base 75 net/cert/test_root_certs_mac.cc if (base::mac::IsOSLionOrLater()) { base 97 net/cert/test_root_certs_mac.cc base::ScopedCFTypeRef<CFArrayRef> scoped_system_roots(system_roots); base 98 net/cert/test_root_certs_mac.cc base::ScopedCFTypeRef<CFMutableArrayRef> scoped_roots( base 56 net/cert/test_root_certs_unittest.cc base::FilePath cert_path = base 47 net/cert/test_root_certs_win.cc friend struct base::DefaultLazyInstanceTraits<CryptoAPIInjector>; base 92 net/cert/test_root_certs_win.cc base::LazyInstance<CryptoAPIInjector>::Leaky base 26 net/cert/x509_cert_types.cc *ok &= base::StringToInt(base::StringPiece(*field, field_len), &result); base 112 net/cert/x509_cert_types.cc bool ParseCertificateDate(const base::StringPiece& raw_date, base 114 net/cert/x509_cert_types.cc base::Time* time) { base 122 net/cert/x509_cert_types.cc base::Time::Exploded exploded = {0}; base 138 net/cert/x509_cert_types.cc *time = base::Time::FromUTCExploded(exploded); base 26 net/cert/x509_cert_types.h namespace base { base 139 net/cert/x509_cert_types.h NET_EXPORT_PRIVATE bool ParseCertificateDate(const base::StringPiece& raw_date, base 141 net/cert/x509_cert_types.h base::Time* time); base 117 net/cert/x509_cert_types_mac.cc base::string16 utf16; base 118 net/cert/x509_cert_types_mac.cc if (!CodepageToUTF16(DataToString(data), base::kCodepageLatin1, base 119 net/cert/x509_cert_types_mac.cc base::OnStringConversionError::FAIL, &utf16)) base 121 net/cert/x509_cert_types_mac.cc return base::UTF16ToUTF8(utf16); base 126 net/cert/x509_cert_types_mac.cc bool UTF16BigEndianToUTF8(base::char16* chars, size_t length, base 130 net/cert/x509_cert_types_mac.cc return base::UTF16ToUTF8(chars, length, out_string); base 140 net/cert/x509_cert_types_mac.cc return base::WideToUTF8(reinterpret_cast<const wchar_t*>(chars), base 247 net/cert/x509_cert_types_mac.cc reinterpret_cast<base::char16*>(pair->value.Data), base 248 net/cert/x509_cert_types_mac.cc pair->value.Length / sizeof(base::char16), base 150 net/cert/x509_cert_types_unittest.cc base::Time::Exploded expected_result; base 201 net/cert/x509_cert_types_unittest.cc << "; date string: " << base::StringPiece(data.date_string) base 205 net/cert/x509_cert_types_unittest.cc base::Time::FromUTCExploded(data.expected_result) base 222 net/cert/x509_cert_types_unittest.cc base::Time parsed_date; base 233 net/cert/x509_cert_types_unittest.cc EXPECT_EQ(base::Time::FromUTCExploded(test_data_.expected_result) base 57 net/cert/x509_cert_types_win.cc *value = base::WideToUTF8(wide_name); base 108 net/cert/x509_cert_types_win.cc scoped_ptr<CERT_NAME_INFO, base::FreeDeleter> scoped_name_info(name_info); base 100 net/cert/x509_certificate.cc friend struct base::DefaultLazyInstanceTraits<X509CertificateCache>; base 104 net/cert/x509_certificate.cc base::Lock lock_; base 112 net/cert/x509_certificate.cc base::LazyInstance<X509CertificateCache>::Leaky base 123 net/cert/x509_certificate.cc base::AutoLock lock(lock_); base 166 net/cert/x509_certificate.cc base::AutoLock lock(lock_); base 205 net/cert/x509_certificate.cc void SplitOnChar(const base::StringPiece& src, base 207 net/cert/x509_certificate.cc base::StringPiece* left, base 208 net/cert/x509_certificate.cc base::StringPiece* right) { base 210 net/cert/x509_certificate.cc if (pos == base::StringPiece::npos) { base 239 net/cert/x509_certificate.cc base::Time start_date, base 240 net/cert/x509_certificate.cc base::Time expiration_date) base 260 net/cert/x509_certificate.cc const std::vector<base::StringPiece>& der_certs) { base 313 net/cert/x509_certificate.cc std::vector<base::StringPiece> cert_chain; base 319 net/cert/x509_certificate.cc cert_chain.push_back(base::StringPiece(data, data_length)); base 398 net/cert/x509_certificate.cc base::StringPiece data_string(data, length); base 495 net/cert/x509_certificate.cc return base::Time::Now() > valid_expiry(); base 542 net/cert/x509_certificate.cc base::StringPiece ip_addr_string( base 554 net/cert/x509_certificate.cc base::StringPiece reference_host, reference_domain; base 623 net/cert/x509_certificate.cc base::StringPiece presented_host, presented_domain; base 629 net/cert/x509_certificate.cc base::StringPiece pattern_begin, pattern_end; base 668 net/cert/x509_certificate.cc base::Base64Encode(der_encoded, &b64_encoded); base 52 net/cert/x509_certificate.h : public base::RefCountedThreadSafe<X509Certificate> { base 137 net/cert/x509_certificate.h base::Time start_date, base::Time expiration_date); base 151 net/cert/x509_certificate.h const std::vector<base::StringPiece>& der_certs); base 214 net/cert/x509_certificate.h const base::Time& valid_start() const { return valid_start_; } base 215 net/cert/x509_certificate.h const base::Time& valid_expiry() const { return valid_expiry_; } base 400 net/cert/x509_certificate.h friend class base::RefCountedThreadSafe<X509Certificate>; base 460 net/cert/x509_certificate.h base::Time valid_start_; base 463 net/cert/x509_certificate.h base::Time valid_expiry_; base 39 net/cert/x509_certificate_ios.cc using base::ScopedCFTypeRef; base 27 net/cert/x509_certificate_mac.cc using base::ScopedCFTypeRef; base 28 net/cert/x509_certificate_mac.cc using base::Time; base 58 net/cert/x509_certificate_mac.cc base::StringPiece name_piece( base 64 net/cert/x509_certificate_mac.cc base::StringPiece issuer_piece(*it); base 90 net/cert/x509_certificate_mac.cc base::StringPiece time_string( base 157 net/cert/x509_certificate_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); base 15 net/cert/x509_certificate_net_log_param.cc base::Value* NetLogX509CertificateCallback(const X509Certificate* certificate, base 17 net/cert/x509_certificate_net_log_param.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 18 net/cert/x509_certificate_net_log_param.cc base::ListValue* certs = new base::ListValue(); base 22 net/cert/x509_certificate_net_log_param.cc certs->Append(new base::StringValue(encoded_chain[i])); base 15 net/cert/x509_certificate_net_log_param.h base::Value* NetLogX509CertificateCallback( base 102 net/cert/x509_certificate_nss.cc result = base::StringPrintf("%s's %s ID", subject_name.c_str(), base 30 net/cert/x509_certificate_unittest.cc using base::HexEncode; base 31 net/cert/x509_certificate_unittest.cc using base::Time; base 253 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 277 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 327 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 381 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 419 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 428 net/cert/x509_certificate_unittest.cc base::StringPiece spkiBytes; base 431 net/cert/x509_certificate_unittest.cc uint8 hash[base::kSHA1Length]; base 432 net/cert/x509_certificate_unittest.cc base::SHA1HashBytes(reinterpret_cast<const uint8*>(spkiBytes.data()), base 439 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 448 net/cert/x509_certificate_unittest.cc std::vector<base::StringPiece> crl_urls; base 690 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 744 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 796 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 889 net/cert/x509_certificate_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 948 net/cert/x509_certificate_unittest.cc << "; dns_names: " << base::StringPiece(data.dns_names) base 949 net/cert/x509_certificate_unittest.cc << "; ip_addrs: " << base::StringPiece(data.ip_addrs); base 1106 net/cert/x509_certificate_unittest.cc base::SplitString(dns_name_line, ',', &dns_names); base 1113 net/cert/x509_certificate_unittest.cc base::SplitString(ip_addrs_line, ',', &ip_addressses_ascii); base 1120 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(base::HexStringToBytes(addr_ascii, &bytes)) base 1127 net/cert/x509_certificate_unittest.cc base::SplitString(addr_ascii, '.', &decimals_ascii); base 1132 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(base::StringToInt(decimals_ascii[j], &decimal_value)); base 1172 net/cert/x509_certificate_unittest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA && base 21 net/cert/x509_certificate_win.cc using base::Time; base 32 net/cert/x509_certificate_win.cc void ExplodedTimeToSystemTime(const base::Time::Exploded& exploded, base 50 net/cert/x509_certificate_win.cc scoped_ptr<CERT_ALT_NAME_INFO, base::FreeDeleter>* output) { base 179 net/cert/x509_certificate_win.cc scoped_ptr<CERT_ALT_NAME_INFO, base::FreeDeleter> alt_name_info; base 190 net/cert/x509_certificate_win.cc dns_names->push_back(base::UTF16ToASCII(entry.pwszDNSName)); base 25 net/cert/x509_util.cc ClientCertSorter::ClientCertSorter() : now_(base::Time::Now()) {} base 60 net/cert/x509_util.cc base::Time not_valid_before, base 61 net/cert/x509_util.cc base::Time not_valid_after, base 83 net/cert/x509_util.cc base::Time not_valid_before, base 84 net/cert/x509_util.cc base::Time not_valid_after, base 37 net/cert/x509_util.h NET_EXPORT_PRIVATE bool IsSupportedValidityRange(base::Time not_valid_before, base 38 net/cert/x509_util.h base::Time not_valid_after); base 50 net/cert/x509_util.h base::Time not_valid_before, base 51 net/cert/x509_util.h base::Time not_valid_after, base 60 net/cert/x509_util.h base::Time not_valid_before, base 61 net/cert/x509_util.h base::Time not_valid_after, base 84 net/cert/x509_util.h base::Time not_valid_before, base 85 net/cert/x509_util.h base::Time not_valid_after, base 96 net/cert/x509_util.h base::Time not_valid_before, base 97 net/cert/x509_util.h base::Time not_valid_after, base 119 net/cert/x509_util.h base::Time now_; base 24 net/cert/x509_util_android.cc if (base::android::BuildInfo::GetInstance()->sdk_int() >= 17) { base 31 net/cert/x509_util_android.cc return base::android::GetApplicationContext(); base 17 net/cert/x509_util_ios.cc using base::ScopedCFTypeRef; base 90 net/cert/x509_util_nss.cc base::Time not_valid_before, base 91 net/cert/x509_util_nss.cc base::Time not_valid_after) { base 226 net/cert/x509_util_nss.cc const base::StringPiece& data) { base 257 net/cert/x509_util_nss.cc base::Time not_valid_before, base 258 net/cert/x509_util_nss.cc base::Time not_valid_after, base 281 net/cert/x509_util_nss.cc bool IsSupportedValidityRange(base::Time not_valid_before, base 282 net/cert/x509_util_nss.cc base::Time not_valid_after) { base 298 net/cert/x509_util_nss.cc base::Time not_valid_before, base 299 net/cert/x509_util_nss.cc base::Time not_valid_after, base 435 net/cert/x509_util_nss.cc void ParseDate(const SECItem* der_date, base::Time* result) { base 627 net/cert/x509_util_nss.cc base::SStringPrintf(&new_name, "%s #%d", nickname.c_str(), index++); base 34 net/cert/x509_util_nss.h void ParseDate(const SECItem* der_date, base::Time* result); base 149 net/cert/x509_util_nss_unittest.cc base::Time now = base::Time::Now(); base 156 net/cert/x509_util_nss_unittest.cc now + base::TimeDelta::FromDays(1), base 43 net/cert/x509_util_openssl.cc base::Time not_valid_before, base 44 net/cert/x509_util_openssl.cc base::Time not_valid_after) { base 174 net/cert/x509_util_openssl.cc static base::LazyInstance<DomainBoundOid>::Leaky s_lazy = base 181 net/cert/x509_util_openssl.cc bool IsSupportedValidityRange(base::Time not_valid_before, base 182 net/cert/x509_util_openssl.cc base::Time not_valid_after) { base 201 net/cert/x509_util_openssl.cc const base::Time kEpoch = base::Time::UnixEpoch(); base 202 net/cert/x509_util_openssl.cc const base::Time kYear0001 = kEpoch - base 203 net/cert/x509_util_openssl.cc base::TimeDelta::FromDays(kDaysFromYear0001ToUnixEpoch); base 204 net/cert/x509_util_openssl.cc const base::Time kYear10000 = kEpoch + base 205 net/cert/x509_util_openssl.cc base::TimeDelta::FromDays(kDaysFromUnixEpochToYear10000); base 219 net/cert/x509_util_openssl.cc base::Time not_valid_before, base 220 net/cert/x509_util_openssl.cc base::Time not_valid_after, base 274 net/cert/x509_util_openssl.cc base::Time not_valid_before, base 275 net/cert/x509_util_openssl.cc base::Time not_valid_after, base 332 net/cert/x509_util_openssl.cc bool ParseDate(ASN1_TIME* x509_time, base::Time* time) { base 338 net/cert/x509_util_openssl.cc base::StringPiece str_date(reinterpret_cast<const char*>(x509_time->data), base 16 net/cert/x509_util_openssl.h namespace base { base 39 net/cert/x509_util_openssl.h bool NET_EXPORT ParseDate(ASN1_TIME* x509_time, base::Time* time); base 91 net/cert/x509_util_openssl_unittest.cc base::Time now = base::Time::Now(); base 94 net/cert/x509_util_openssl_unittest.cc now, now - base::TimeDelta::FromSeconds(1))); base 102 net/cert/x509_util_openssl_unittest.cc base::Time too_old = base::Time::UnixEpoch() - base 103 net/cert/x509_util_openssl_unittest.cc base::TimeDelta::FromDays(kDaysFromYear0001ToUnixEpoch + 1); base 105 net/cert/x509_util_openssl_unittest.cc base::Time too_late = base::Time::UnixEpoch() + base 106 net/cert/x509_util_openssl_unittest.cc base::TimeDelta::FromDays(kDaysFromUnixEpochToYear10000 + 1); base 118 net/cert/x509_util_openssl_unittest.cc base::Time now = base::Time::Now(); base 129 net/cert/x509_util_openssl_unittest.cc now + base::TimeDelta::FromDays(1), base 23 net/cert/x509_util_unittest.cc const base::Time now = base::Time::Now(); base 24 net/cert/x509_util_unittest.cc const base::TimeDelta five_days = base::TimeDelta::FromDays(5); base 29 net/cert/x509_util_unittest.cc base::Time::UnixEpoch(), base::Time::UnixEpoch())); base 32 net/cert/x509_util_unittest.cc base::Time::Max(), base::Time::Max())); base 39 net/cert/x509_util_unittest.cc now - base::TimeDelta::FromDays(3), now + five_days)); base 64 net/cert/x509_util_unittest.cc base::Time::Now(), base 65 net/cert/x509_util_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1), base 179 net/cert/x509_util_unittest.cc base::Time::Now(), base 180 net/cert/x509_util_unittest.cc base::Time::Now() + base::TimeDelta::FromDays(1), base 56 net/cookies/canonical_cookie.cc using base::Time; base 57 net/cookies/canonical_cookie.cc using base::TimeDelta; base 115 net/cookies/canonical_cookie.cc const base::Time& creation, const base::Time& expiration, base 116 net/cookies/canonical_cookie.cc const base::Time& last_access, bool secure, bool httponly, base 201 net/cookies/canonical_cookie.cc base::Time parsed_expiry = cookie_util::ParseCookieTime(pc.Expires()); base 213 net/cookies/canonical_cookie.cc const base::Time& creation_time, base 254 net/cookies/canonical_cookie.cc const base::Time& creation, base 255 net/cookies/canonical_cookie.cc const base::Time& expiration, base 389 net/cookies/canonical_cookie.cc return base::StringPrintf( base 35 net/cookies/canonical_cookie.h const base::Time& creation, base 36 net/cookies/canonical_cookie.h const base::Time& expiration, base 37 net/cookies/canonical_cookie.h const base::Time& last_access, base 56 net/cookies/canonical_cookie.h const base::Time& creation_time, base 67 net/cookies/canonical_cookie.h const base::Time& creation, base 68 net/cookies/canonical_cookie.h const base::Time& expiration, base 78 net/cookies/canonical_cookie.h const base::Time& CreationDate() const { return creation_date_; } base 79 net/cookies/canonical_cookie.h const base::Time& LastAccessDate() const { return last_access_date_; } base 81 net/cookies/canonical_cookie.h const base::Time& ExpiryDate() const { return expiry_date_; } base 89 net/cookies/canonical_cookie.h bool IsExpired(const base::Time& current) const { base 107 net/cookies/canonical_cookie.h void SetLastAccessDate(const base::Time& date) { base 132 net/cookies/canonical_cookie.h static base::Time CanonExpiration(const ParsedCookie& pc, base 133 net/cookies/canonical_cookie.h const base::Time& current, base 134 net/cookies/canonical_cookie.h const base::Time& server_time); base 150 net/cookies/canonical_cookie.h base::Time creation_date_; base 151 net/cookies/canonical_cookie.h base::Time expiry_date_; base 152 net/cookies/canonical_cookie.h base::Time last_access_date_; base 47 net/cookies/canonical_cookie_unittest.cc base::Time current_time = base::Time::Now(); base 50 net/cookies/canonical_cookie_unittest.cc current_time, base::Time(), current_time, false, false, base 65 net/cookies/canonical_cookie_unittest.cc base::Time(), base 82 net/cookies/canonical_cookie_unittest.cc base::Time creation_time = base::Time::Now(); base 124 net/cookies/canonical_cookie_unittest.cc url, "A", "2", "www.example.com", "/test", creation_time, base::Time(), base 134 net/cookies/canonical_cookie_unittest.cc url, "A", "2", ".www.example.com", "/test", creation_time, base::Time(), base 146 net/cookies/canonical_cookie_unittest.cc base::Time creation_time = base::Time::Now(); base 156 net/cookies/canonical_cookie_unittest.cc EXPECT_EQ(base::Time(), cookie->ExpiryDate()); base 159 net/cookies/canonical_cookie_unittest.cc options.set_server_time(creation_time - base::TimeDelta::FromHours(1)); base 165 net/cookies/canonical_cookie_unittest.cc EXPECT_EQ(base::Time(), cookie->ExpiryDate()); base 168 net/cookies/canonical_cookie_unittest.cc options.set_server_time(creation_time + base::TimeDelta::FromHours(1)); base 174 net/cookies/canonical_cookie_unittest.cc EXPECT_EQ(base::Time(), cookie->ExpiryDate()); base 183 net/cookies/canonical_cookie_unittest.cc base::Time creation_time = base::Time::Now(); base 184 net/cookies/canonical_cookie_unittest.cc base::Time last_access_time = creation_time; base 185 net/cookies/canonical_cookie_unittest.cc base::Time expiration_time = creation_time + base::TimeDelta::FromDays(2); base 214 net/cookies/canonical_cookie_unittest.cc base::Time other_creation_time = base 215 net/cookies/canonical_cookie_unittest.cc creation_time + base::TimeDelta::FromMinutes(2); base 265 net/cookies/canonical_cookie_unittest.cc base::Time creation_time = base::Time::Now(); base 298 net/cookies/canonical_cookie_unittest.cc base::Time creation_time = base::Time::Now(); base 322 net/cookies/canonical_cookie_unittest.cc base::Time creation_time = base::Time::Now(); base 67 net/cookies/cookie_monster.cc using base::Time; base 68 net/cookies/cookie_monster.cc using base::TimeDelta; base 69 net/cookies/cookie_monster.cc using base::TimeTicks; base 332 net/cookies/cookie_monster.cc last_access_threshold_(base::TimeDelta::FromMilliseconds( base 335 net/cookies/cookie_monster.cc last_statistic_record_time_(base::Time::Now()), base 346 net/cookies/cookie_monster.cc : public base::RefCountedThreadSafe<CookieMonsterTask> { base 360 net/cookies/cookie_monster.cc void InvokeCallback(base::Closure callback); base 370 net/cookies/cookie_monster.cc scoped_refptr<base::MessageLoopProxy> thread_; base 378 net/cookies/cookie_monster.cc thread_(base::MessageLoopProxy::current()) { base 393 net/cookies/cookie_monster.cc void CookieMonster::CookieMonsterTask::InvokeCallback(base::Closure callback) { base 397 net/cookies/cookie_monster.cc thread_->PostTask(FROM_HERE, base::Bind( base 411 net/cookies/cookie_monster.cc const base::Time& expiration_time, base 441 net/cookies/cookie_monster.cc base::Time expiration_time_; base 455 net/cookies/cookie_monster.cc this->InvokeCallback(base::Bind(&SetCookiesCallback::Run, base 456 net/cookies/cookie_monster.cc base::Unretained(&callback_), success)); base 484 net/cookies/cookie_monster.cc this->InvokeCallback(base::Bind(&GetCookieListCallback::Run, base 485 net/cookies/cookie_monster.cc base::Unretained(&callback_), cookies)); base 522 net/cookies/cookie_monster.cc this->InvokeCallback(base::Bind(&GetCookieListCallback::Run, base 523 net/cookies/cookie_monster.cc base::Unretained(&callback_), cookies)); base 528 net/cookies/cookie_monster.cc typedef base::Callback<void(Result)> Type; base 532 net/cookies/cookie_monster.cc typedef base::Closure Type; base 551 net/cookies/cookie_monster.cc base::Closure RunDeleteTaskAndBindCallback(); base 552 net/cookies/cookie_monster.cc void FlushDone(const base::Closure& callback); base 560 net/cookies/cookie_monster.cc base::Closure CookieMonster::DeleteTask<Result>:: base 564 net/cookies/cookie_monster.cc return base::Closure(); base 565 net/cookies/cookie_monster.cc return base::Bind(callback_, result); base 569 net/cookies/cookie_monster.cc base::Closure CookieMonster::DeleteTask<void>::RunDeleteTaskAndBindCallback() { base 577 net/cookies/cookie_monster.cc base::Bind(&DeleteTask<Result>::FlushDone, this, base 583 net/cookies/cookie_monster.cc const base::Closure& callback) { base 762 net/cookies/cookie_monster.cc this->InvokeCallback(base::Bind(&SetCookiesCallback::Run, base 763 net/cookies/cookie_monster.cc base::Unretained(&callback_), result)); base 798 net/cookies/cookie_monster.cc this->InvokeCallback(base::Bind(&GetCookiesCallback::Run, base 799 net/cookies/cookie_monster.cc base::Unretained(&callback_), cookie)); base 809 net/cookies/cookie_monster.cc const base::Closure& callback) base 884 net/cookies/cookie_monster.cc base::Bind(&HasCookiesForETLDP1Callback::Run, base 885 net/cookies/cookie_monster.cc base::Unretained(&callback_), result)); base 1016 net/cookies/cookie_monster.cc const base::Closure& callback) { base 1034 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1049 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1062 net/cookies/cookie_monster.cc base::Bind(&CookieMonster::OnKeyLoaded, this, key)); base 1079 net/cookies/cookie_monster.cc const base::Time& expiration_time, base 1083 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1105 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1119 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1153 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1175 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1192 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1215 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1253 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1268 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1290 net/cookies/cookie_monster.cc void CookieMonster::FlushStore(const base::Closure& callback) { base 1291 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1295 net/cookies/cookie_monster.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 1301 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1312 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1334 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1365 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1385 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1415 net/cookies/cookie_monster.cc const base::Time& creation_time) { base 1417 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1433 net/cookies/cookie_monster.cc store_->Load(base::Bind(&CookieMonster::OnLoaded, this, TimeTicks::Now())); base 1456 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1484 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1505 net/cookies/cookie_monster.cc LOG(ERROR) << base::StringPrintf("Found cookies with duplicate creation " base 1541 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 1638 net/cookies/cookie_monster.cc LOG(ERROR) << base::StringPrintf( base 2089 net/cookies/cookie_monster.cc base::AutoLock autolock(lock_); base 2121 net/cookies/cookie_monster.cc void CookieMonster::RecordPeriodicStats(const base::Time& current_time) { base 2122 net/cookies/cookie_monster.cc const base::TimeDelta kRecordStatisticsIntervalTime( base 2123 net/cookies/cookie_monster.cc base::TimeDelta::FromSeconds(kRecordStatisticsIntervalSeconds)); base 2193 net/cookies/cookie_monster.cc histogram_expiration_duration_minutes_ = base::Histogram::FactoryGet( base 2196 net/cookies/cookie_monster.cc base::Histogram::kUmaTargetedHistogramFlag); base 2197 net/cookies/cookie_monster.cc histogram_between_access_interval_minutes_ = base::Histogram::FactoryGet( base 2200 net/cookies/cookie_monster.cc base::Histogram::kUmaTargetedHistogramFlag); base 2201 net/cookies/cookie_monster.cc histogram_evicted_last_access_minutes_ = base::Histogram::FactoryGet( base 2204 net/cookies/cookie_monster.cc base::Histogram::kUmaTargetedHistogramFlag); base 2205 net/cookies/cookie_monster.cc histogram_count_ = base::Histogram::FactoryGet( base 2207 net/cookies/cookie_monster.cc base::Histogram::kUmaTargetedHistogramFlag); base 2208 net/cookies/cookie_monster.cc histogram_domain_count_ = base::Histogram::FactoryGet( base 2210 net/cookies/cookie_monster.cc base::Histogram::kUmaTargetedHistogramFlag); base 2211 net/cookies/cookie_monster.cc histogram_etldp1_count_ = base::Histogram::FactoryGet( base 2213 net/cookies/cookie_monster.cc base::Histogram::kUmaTargetedHistogramFlag); base 2214 net/cookies/cookie_monster.cc histogram_domain_per_etldp1_count_ = base::Histogram::FactoryGet( base 2216 net/cookies/cookie_monster.cc base::Histogram::kUmaTargetedHistogramFlag); base 2219 net/cookies/cookie_monster.cc histogram_number_duplicate_db_cookies_ = base::Histogram::FactoryGet( base 2221 net/cookies/cookie_monster.cc base::Histogram::kUmaTargetedHistogramFlag); base 2224 net/cookies/cookie_monster.cc histogram_cookie_deletion_cause_ = base::LinearHistogram::FactoryGet( base 2227 net/cookies/cookie_monster.cc base::Histogram::kUmaTargetedHistogramFlag); base 2230 net/cookies/cookie_monster.cc histogram_time_get_ = base::Histogram::FactoryTimeGet("Cookie.TimeGet", base 2231 net/cookies/cookie_monster.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 2232 net/cookies/cookie_monster.cc 50, base::Histogram::kUmaTargetedHistogramFlag); base 2233 net/cookies/cookie_monster.cc histogram_time_blocked_on_load_ = base::Histogram::FactoryTimeGet( base 2235 net/cookies/cookie_monster.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(1), base 2236 net/cookies/cookie_monster.cc 50, base::Histogram::kUmaTargetedHistogramFlag); base 32 net/cookies/cookie_monster.h namespace base { base 152 net/cookies/cookie_monster.h typedef base::Callback<void(const CookieList& cookies)> GetCookieListCallback; base 153 net/cookies/cookie_monster.h typedef base::Callback<void(bool success)> DeleteCookieCallback; base 154 net/cookies/cookie_monster.h typedef base::Callback<void(bool cookies_exist)> HasCookiesForETLDP1Callback; base 167 net/cookies/cookie_monster.h const base::Time& expiration_time, base 235 net/cookies/cookie_monster.h void FlushStore(const base::Closure& callback); base 264 net/cookies/cookie_monster.h const base::Closure& callback) OVERRIDE; base 270 net/cookies/cookie_monster.h const base::Time& delete_begin, base 271 net/cookies/cookie_monster.h const base::Time& delete_end, base 281 net/cookies/cookie_monster.h const base::Time delete_begin, base 282 net/cookies/cookie_monster.h const base::Time delete_end, base 407 net/cookies/cookie_monster.h const base::Time& expiration_time, base 421 net/cookies/cookie_monster.h int DeleteAllCreatedBetween(const base::Time& delete_begin, base 422 net/cookies/cookie_monster.h const base::Time& delete_end); base 425 net/cookies/cookie_monster.h int DeleteAllCreatedBetweenForHost(const base::Time delete_begin, base 426 net/cookies/cookie_monster.h const base::Time delete_end, base 442 net/cookies/cookie_monster.h const base::Time& creation_time); base 471 net/cookies/cookie_monster.h void OnLoaded(base::TimeTicks beginning_time, base 510 net/cookies/cookie_monster.h const base::Time& current, base 536 net/cookies/cookie_monster.h const base::Time& creation_time, base 542 net/cookies/cookie_monster.h const base::Time& creation_time, base 546 net/cookies/cookie_monster.h const base::Time& current_time); base 561 net/cookies/cookie_monster.h int GarbageCollect(const base::Time& current, const std::string& key); base 568 net/cookies/cookie_monster.h int GarbageCollectExpired(const base::Time& current, base 574 net/cookies/cookie_monster.h int GarbageCollectDeleteRange(const base::Time& current, base 589 net/cookies/cookie_monster.h void RecordPeriodicStats(const base::Time& current_time); base 597 net/cookies/cookie_monster.h base::Time CurrentTime(); base 610 net/cookies/cookie_monster.h base::HistogramBase* histogram_expiration_duration_minutes_; base 611 net/cookies/cookie_monster.h base::HistogramBase* histogram_between_access_interval_minutes_; base 612 net/cookies/cookie_monster.h base::HistogramBase* histogram_evicted_last_access_minutes_; base 613 net/cookies/cookie_monster.h base::HistogramBase* histogram_count_; base 614 net/cookies/cookie_monster.h base::HistogramBase* histogram_domain_count_; base 615 net/cookies/cookie_monster.h base::HistogramBase* histogram_etldp1_count_; base 616 net/cookies/cookie_monster.h base::HistogramBase* histogram_domain_per_etldp1_count_; base 617 net/cookies/cookie_monster.h base::HistogramBase* histogram_number_duplicate_db_cookies_; base 618 net/cookies/cookie_monster.h base::HistogramBase* histogram_cookie_deletion_cause_; base 619 net/cookies/cookie_monster.h base::HistogramBase* histogram_time_get_; base 620 net/cookies/cookie_monster.h base::HistogramBase* histogram_time_mac_; base 621 net/cookies/cookie_monster.h base::HistogramBase* histogram_time_blocked_on_load_; base 648 net/cookies/cookie_monster.h base::Time last_time_seen_; base 652 net/cookies/cookie_monster.h const base::TimeDelta last_access_threshold_; base 663 net/cookies/cookie_monster.h base::Time earliest_access_time_; base 676 net/cookies/cookie_monster.h base::Lock lock_; base 678 net/cookies/cookie_monster.h base::Time last_statistic_record_time_; base 692 net/cookies/cookie_monster.h : public base::RefCountedThreadSafe<CookieMonsterDelegate> { base 724 net/cookies/cookie_monster.h friend class base::RefCountedThreadSafe<CookieMonsterDelegate>; base 728 net/cookies/cookie_monster.h typedef base::RefCountedThreadSafe<CookieMonster::PersistentCookieStore> base 734 net/cookies/cookie_monster.h typedef base::Callback<void(const std::vector<CanonicalCookie*>&)> base 758 net/cookies/cookie_monster.h virtual void Flush(const base::Closure& callback) = 0; base 765 net/cookies/cookie_monster.h friend class base::RefCountedThreadSafe<PersistentCookieStore>; base 33 net/cookies/cookie_monster_perftest.cc CookieMonsterTest() : message_loop_(new base::MessageLoopForIO()) {} base 36 net/cookies/cookie_monster_perftest.cc scoped_ptr<base::MessageLoop> message_loop_; base 50 net/cookies/cookie_monster_perftest.cc base::MessageLoop::current()->RunUntilIdle(); base 66 net/cookies/cookie_monster_perftest.cc cm->SetCookieWithOptionsAsync(gurl, cookie, options_, base::Bind( base 67 net/cookies/cookie_monster_perftest.cc &SetCookieCallback::Run, base::Unretained(this))); base 81 net/cookies/cookie_monster_perftest.cc cm->GetCookiesWithOptionsAsync(gurl, options_, base::Bind( base 82 net/cookies/cookie_monster_perftest.cc &GetCookiesCallback::Run, base::Unretained(this))); base 100 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer("Parsed_cookie_parse_cookies"); base 111 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer("Parsed_cookie_parse_big_cookies"); base 123 net/cookies/cookie_monster_perftest.cc cookies.push_back(base::StringPrintf("a%03d=b", i)); base 129 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer("Cookie_monster_add_single_host"); base 139 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer2("Cookie_monster_query_single_host"); base 146 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer3("Cookie_monster_deleteall_single_host"); base 148 net/cookies/cookie_monster_perftest.cc base::MessageLoop::current()->RunUntilIdle(); base 157 net/cookies/cookie_monster_perftest.cc gurls.push_back(GURL(base::StringPrintf("https://a%04d.izzle", i))); base 163 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer("Cookie_monster_add_many_hosts"); base 172 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer2("Cookie_monster_query_many_hosts"); base 179 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer3("Cookie_monster_deleteall_many_hosts"); base 181 net/cookies/cookie_monster_perftest.cc base::MessageLoop::current()->RunUntilIdle(); base 222 net/cookies/cookie_monster_perftest.cc const std::string cookie = base::StringPrintf(domain_cookie_format_tree, base 232 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer("Cookie_monster_query_domain_tree"); base 264 net/cookies/cookie_monster_perftest.cc const std::string cookie = base::StringPrintf(domain_cookie_format_line, base 272 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer2("Cookie_monster_query_domain_line"); base 286 net/cookies/cookie_monster_perftest.cc int64 time_tick(base::Time::Now().ToInternalValue()); base 289 net/cookies/cookie_monster_perftest.cc std::string domain_name(base::StringPrintf(".Domain_%d.com", domain_num)); base 292 net/cookies/cookie_monster_perftest.cc std::string cookie_line(base::StringPrintf("Cookie_%d=1; Path=/", base 295 net/cookies/cookie_monster_perftest.cc base::Time::FromInternalValue(time_tick++), base 307 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer("Cookie_monster_import_from_store"); base 317 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer("Cookie_monster_get_key"); base 378 net/cookies/cookie_monster_perftest.cc base::PerfTimeLogger timer((std::string("GC_") + test_case.name).c_str()); base 44 net/cookies/cookie_monster_store_test.cc base::MessageLoop::current()->PostTask( base 46 net/cookies/cookie_monster_store_test.cc base::Bind(&LoadedCallbackTask::Run, base 56 net/cookies/cookie_monster_store_test.cc base::MessageLoop::current()->PostTask( base 58 net/cookies/cookie_monster_store_test.cc base::Bind(&LoadedCallbackTask::Run, base 80 net/cookies/cookie_monster_store_test.cc void MockPersistentCookieStore::Flush(const base::Closure& callback) { base 82 net/cookies/cookie_monster_store_test.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 104 net/cookies/cookie_monster_store_test.cc const base::Time& creation_time) { base 115 net/cookies/cookie_monster_store_test.cc base::Time cookie_expires = pc.HasExpires() ? base 116 net/cookies/cookie_monster_store_test.cc cookie_util::ParseCookieTime(pc.Expires()) : base::Time(); base 128 net/cookies/cookie_monster_store_test.cc const base::Time& creation_time, base 149 net/cookies/cookie_monster_store_test.cc base::MessageLoop::current()->PostTask( base 151 net/cookies/cookie_monster_store_test.cc base::Bind(&LoadedCallbackTask::Run, base 161 net/cookies/cookie_monster_store_test.cc base::MessageLoop::current()->PostTask( base 163 net/cookies/cookie_monster_store_test.cc base::Bind(&LoadedCallbackTask::Run, base 179 net/cookies/cookie_monster_store_test.cc cookies_[creation_time].SetLastAccessDate(base::Time::Now()); base 190 net/cookies/cookie_monster_store_test.cc void MockSimplePersistentCookieStore::Flush(const base::Closure& callback) { base 192 net/cookies/cookie_monster_store_test.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 202 net/cookies/cookie_monster_store_test.cc base::Time current(base::Time::Now()); base 203 net/cookies/cookie_monster_store_test.cc base::Time past_creation(base::Time::Now() - base::TimeDelta::FromDays(1000)); base 208 net/cookies/cookie_monster_store_test.cc base::Time creation_time = base 209 net/cookies/cookie_monster_store_test.cc past_creation + base::TimeDelta::FromMicroseconds(i); base 210 net/cookies/cookie_monster_store_test.cc base::Time expiration_time = current + base::TimeDelta::FromDays(30); base 211 net/cookies/cookie_monster_store_test.cc base::Time last_access_time = base 212 net/cookies/cookie_monster_store_test.cc (i < num_old_cookies) ? current - base::TimeDelta::FromDays(days_old) : base 216 net/cookies/cookie_monster_store_test.cc GURL(), "a", "1", base::StringPrintf("h%05d.izzle", i), "/path", base 20 net/cookies/cookie_monster_store_test.h namespace base { base 30 net/cookies/cookie_monster_store_test.h : public base::RefCountedThreadSafe<LoadedCallbackTask> { base 42 net/cookies/cookie_monster_store_test.h friend class base::RefCountedThreadSafe<LoadedCallbackTask>; base 98 net/cookies/cookie_monster_store_test.h virtual void Flush(const base::Closure& callback) OVERRIDE; base 146 net/cookies/cookie_monster_store_test.h const base::Time& creation_time); base 152 net/cookies/cookie_monster_store_test.h const base::Time& creation_time, base 173 net/cookies/cookie_monster_store_test.h virtual void Flush(const base::Closure& callback) OVERRIDE; base 37 net/cookies/cookie_monster_unittest.cc using base::Time; base 38 net/cookies/cookie_monster_unittest.cc using base::TimeDelta; base 53 net/cookies/cookie_monster_unittest.cc virtual void Flush(const base::Closure& callback) { base 55 net/cookies/cookie_monster_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback); base 117 net/cookies/cookie_monster_unittest.cc base::Bind(&GetCookieListCallback::Run, base 118 net/cookies/cookie_monster_unittest.cc base::Unretained(&callback))); base 129 net/cookies/cookie_monster_unittest.cc url, base::Bind(&GetCookieListCallback::Run, base 130 net/cookies/cookie_monster_unittest.cc base::Unretained(&callback))); base 142 net/cookies/cookie_monster_unittest.cc url, options, base::Bind(&GetCookieListCallback::Run, base 143 net/cookies/cookie_monster_unittest.cc base::Unretained(&callback))); base 155 net/cookies/cookie_monster_unittest.cc const base::Time& expiration_time, base 164 net/cookies/cookie_monster_unittest.cc base::Bind( base 166 net/cookies/cookie_monster_unittest.cc base::Unretained(&callback))); base 176 net/cookies/cookie_monster_unittest.cc base::Bind( base 178 net/cookies/cookie_monster_unittest.cc base::Unretained(&callback))); base 185 net/cookies/cookie_monster_unittest.cc const base::Time& delete_begin, base 186 net/cookies/cookie_monster_unittest.cc const base::Time& delete_end) { base 191 net/cookies/cookie_monster_unittest.cc base::Bind( base 193 net/cookies/cookie_monster_unittest.cc base::Unretained(&callback))); base 200 net/cookies/cookie_monster_unittest.cc const base::Time delete_begin, base 201 net/cookies/cookie_monster_unittest.cc const base::Time delete_end, base 207 net/cookies/cookie_monster_unittest.cc base::Bind( base 209 net/cookies/cookie_monster_unittest.cc base::Unretained(&callback))); base 220 net/cookies/cookie_monster_unittest.cc url, base::Bind(&ResultSavingCookieCallback<int>::Run, base 221 net/cookies/cookie_monster_unittest.cc base::Unretained(&callback))); base 232 net/cookies/cookie_monster_unittest.cc base::Bind(&ResultSavingCookieCallback<bool>::Run, base 233 net/cookies/cookie_monster_unittest.cc base::Unretained(&callback))); base 265 net/cookies/cookie_monster_unittest.cc base::Time(), base 275 net/cookies/cookie_monster_unittest.cc base::Time(), base 285 net/cookies/cookie_monster_unittest.cc base::Time(), base 297 net/cookies/cookie_monster_unittest.cc base::Time(), base 307 net/cookies/cookie_monster_unittest.cc base::Time(), base 317 net/cookies/cookie_monster_unittest.cc base::Time(), base 329 net/cookies/cookie_monster_unittest.cc base::Time(), base 341 net/cookies/cookie_monster_unittest.cc base::Time(), base 351 net/cookies/cookie_monster_unittest.cc base::Time(), base 363 net/cookies/cookie_monster_unittest.cc base::Time(), base 373 net/cookies/cookie_monster_unittest.cc base::Time(), base 385 net/cookies/cookie_monster_unittest.cc base::Time(), base 395 net/cookies/cookie_monster_unittest.cc base::Time(), base 432 net/cookies/cookie_monster_unittest.cc std::string cookie = base::StringPrintf("a%03d=b", i); base 449 net/cookies/cookie_monster_unittest.cc std::string cookie_general = base::StringPrintf("a%03d=b", i); base 451 net/cookies/cookie_monster_unittest.cc std::string cookie_specific = base::StringPrintf("c%03d=b", i); base 511 net/cookies/cookie_monster_unittest.cc base::SplitString(coded_priority_str, ' ', &priority_tok_list); base 522 net/cookies/cookie_monster_unittest.cc bool result = base::StringToInt( base 523 net/cookies/cookie_monster_unittest.cc base::StringPiece(it->begin(), it->end() - 1), &rep); base 527 net/cookies/cookie_monster_unittest.cc std::string cookie = base::StringPrintf( base 541 net/cookies/cookie_monster_unittest.cc base::SplitString(cookie_str, ';', &cookie_tok_list); base 546 net/cookies/cookie_monster_unittest.cc bool result = base::StringToInt( base 547 net/cookies/cookie_monster_unittest.cc base::StringPiece(it->begin() + 1, it->end() - 2), &id); base 627 net/cookies/cookie_monster_unittest.cc SetCookie(cm, GURL(base::StringPrintf("http://h%05d.izzle", i)), "a=1"); base 638 net/cookies/cookie_monster_unittest.cc return base::Bind(&T::Invoke, base::Unretained(static_cast<T*>(this))); base 657 net/cookies/cookie_monster_unittest.cc : public MockCookieCallback<MockClosure, base::Closure> { base 689 net/cookies/cookie_monster_unittest.cc const base::Time expiration_time; base 696 net/cookies/cookie_monster_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 697 net/cookies/cookie_monster_unittest.cc base::MessageLoop::QuitClosure()); base 777 net/cookies/cookie_monster_unittest.cc const base::Time& creation_time) { base 928 net/cookies/cookie_monster_unittest.cc base::Time(), false, false, COOKIE_PRIORITY_DEFAULT base 937 net/cookies/cookie_monster_unittest.cc base::Time(), false, false, COOKIE_PRIORITY_DEFAULT base 1030 net/cookies/cookie_monster_unittest.cc &cookie_monster(), base::Time(), base::Time::Now(), &delete_callback)); base 1036 net/cookies/cookie_monster_unittest.cc &cookie_monster(), base::Time(), base::Time::Now(), base 1064 net/cookies/cookie_monster_unittest.cc "www.google.com", "X=1; path=/", base::Time::Now()); base 1220 net/cookies/cookie_monster_unittest.cc base::PlatformThread::Sleep( base 1221 net/cookies/cookie_monster_unittest.cc base::TimeDelta::FromMilliseconds(kAccessDelayMs)); base 1285 net/cookies/cookie_monster_unittest.cc base::PlatformThread::Sleep( base 1286 net/cookies/cookie_monster_unittest.cc base::TimeDelta::FromMilliseconds(kAccessDelayMs)); base 1643 net/cookies/cookie_monster_unittest.cc base::Time(), base 1653 net/cookies/cookie_monster_unittest.cc base::Time(), base 1663 net/cookies/cookie_monster_unittest.cc base::Time(), base 1675 net/cookies/cookie_monster_unittest.cc base::Time(), base 1685 net/cookies/cookie_monster_unittest.cc base::Time(), base 1695 net/cookies/cookie_monster_unittest.cc base::Time(), base 1705 net/cookies/cookie_monster_unittest.cc base::Time(), base 1715 net/cookies/cookie_monster_unittest.cc base::Time(), base 1939 net/cookies/cookie_monster_unittest.cc base::Time current(base::Time::Now()); base 1942 net/cookies/cookie_monster_unittest.cc base::Time new_access_time; base 1943 net/cookies/cookie_monster_unittest.cc base::Time expires(base::Time::Now() + base::TimeDelta::FromSeconds(100)); base 1952 net/cookies/cookie_monster_unittest.cc base::Time::Now() + base::TimeDelta::FromSeconds(100), base 2170 net/cookies/cookie_monster_unittest.cc base::MessageLoop::current()->PostTask( base 2172 net/cookies/cookie_monster_unittest.cc base::Bind(&net::LoadedCallbackTask::Run, base 2187 net/cookies/cookie_monster_unittest.cc virtual void Flush(const base::Closure& callback) OVERRIDE { base 2204 net/cookies/cookie_monster_unittest.cc class CallbackCounter : public base::RefCountedThreadSafe<CallbackCounter> { base 2235 net/cookies/cookie_monster_unittest.cc cm->FlushStore(base::Bind(&CallbackCounter::Callback, counter.get())); base 2236 net/cookies/cookie_monster_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2242 net/cookies/cookie_monster_unittest.cc cm->FlushStore(base::Closure()); base 2243 net/cookies/cookie_monster_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2250 net/cookies/cookie_monster_unittest.cc cm->FlushStore(base::Bind(&CallbackCounter::Callback, counter.get())); base 2251 net/cookies/cookie_monster_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2257 net/cookies/cookie_monster_unittest.cc cm->FlushStore(base::Closure()); base 2258 net/cookies/cookie_monster_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2266 net/cookies/cookie_monster_unittest.cc cm->FlushStore(base::Closure()); base 2267 net/cookies/cookie_monster_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2271 net/cookies/cookie_monster_unittest.cc cm->FlushStore(base::Bind(&CallbackCounter::Callback, counter.get())); base 2272 net/cookies/cookie_monster_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2282 net/cookies/cookie_monster_unittest.cc base::HistogramBase* expired_histogram = base 2283 net/cookies/cookie_monster_unittest.cc base::Histogram::FactoryGet( base 2285 net/cookies/cookie_monster_unittest.cc base::Histogram::kUmaTargetedHistogramFlag); base 2287 net/cookies/cookie_monster_unittest.cc scoped_ptr<base::HistogramSamples> samples1( base 2296 net/cookies/cookie_monster_unittest.cc base::Time::Now() + base::TimeDelta::FromMinutes(59), base 2301 net/cookies/cookie_monster_unittest.cc scoped_ptr<base::HistogramSamples> samples2( base 2308 net/cookies/cookie_monster_unittest.cc scoped_ptr<base::HistogramSamples> samples3( base 2325 net/cookies/cookie_monster_unittest.cc base::Bind(&GetCookieListCallback::Run, base::Unretained(callback))); base 2333 net/cookies/cookie_monster_unittest.cc base::Bind(&GetCookieListCallback::Run, base::Unretained(callback))); base 2342 net/cookies/cookie_monster_unittest.cc base::Bind(&GetCookieListCallback::Run, base::Unretained(callback))); base 2353 net/cookies/cookie_monster_unittest.cc base::Time expiration_time = base::Time(); base 2360 net/cookies/cookie_monster_unittest.cc base::Bind( base 2362 net/cookies/cookie_monster_unittest.cc base::Unretained(callback))); base 2366 net/cookies/cookie_monster_unittest.cc const base::Time& delete_begin, base 2367 net/cookies/cookie_monster_unittest.cc const base::Time& delete_end, base 2371 net/cookies/cookie_monster_unittest.cc base::Bind( base 2372 net/cookies/cookie_monster_unittest.cc &ResultSavingCookieCallback<int>::Run, base::Unretained(callback))); base 2380 net/cookies/cookie_monster_unittest.cc base::Bind( base 2381 net/cookies/cookie_monster_unittest.cc &ResultSavingCookieCallback<int>::Run, base::Unretained(callback))); base 2386 net/cookies/cookie_monster_unittest.cc const base::Time delete_begin, base 2387 net/cookies/cookie_monster_unittest.cc const base::Time delete_end, base 2392 net/cookies/cookie_monster_unittest.cc base::Bind( base 2394 net/cookies/cookie_monster_unittest.cc base::Unretained(callback))); base 2402 net/cookies/cookie_monster_unittest.cc base::Bind( base 2404 net/cookies/cookie_monster_unittest.cc base::Unretained(callback))); base 2408 net/cookies/cookie_monster_unittest.cc void RunOnOtherThread(const base::Closure& task) { base 2430 net/cookies/cookie_monster_unittest.cc base::Closure task = base 2431 net/cookies/cookie_monster_unittest.cc base::Bind(&net::MultiThreadedCookieMonsterTest::GetAllCookiesTask, base 2432 net/cookies/cookie_monster_unittest.cc base::Unretained(this), base 2453 net/cookies/cookie_monster_unittest.cc base::Closure task = base 2454 net/cookies/cookie_monster_unittest.cc base::Bind(&net::MultiThreadedCookieMonsterTest::GetAllCookiesForURLTask, base 2455 net/cookies/cookie_monster_unittest.cc base::Unretained(this), base 2478 net/cookies/cookie_monster_unittest.cc base::Closure task = base::Bind( base 2480 net/cookies/cookie_monster_unittest.cc base::Unretained(this), base 2499 net/cookies/cookie_monster_unittest.cc base::Time(), base 2504 net/cookies/cookie_monster_unittest.cc base::Closure task = base::Bind( base 2506 net/cookies/cookie_monster_unittest.cc base::Unretained(this), base 2523 net/cookies/cookie_monster_unittest.cc base::Closure task = base::Bind( base 2525 net/cookies/cookie_monster_unittest.cc base::Unretained(this), base 2540 net/cookies/cookie_monster_unittest.cc base::Closure task = base::Bind( base 2542 net/cookies/cookie_monster_unittest.cc base::Unretained(this), base 2583 net/cookies/cookie_monster_unittest.cc base::Closure task = base::Bind( base 2585 net/cookies/cookie_monster_unittest.cc base::Unretained(this), base 2605 net/cookies/cookie_monster_unittest.cc base::Closure task = base::Bind( base 2607 net/cookies/cookie_monster_unittest.cc base::Unretained(this), base 29 net/cookies/cookie_options.h void set_server_time(const base::Time& server_time) { base 33 net/cookies/cookie_options.h base::Time server_time() const { return server_time_; } base 37 net/cookies/cookie_options.h base::Time server_time_; base 29 net/cookies/cookie_store.h class NET_EXPORT CookieStore : public base::RefCountedThreadSafe<CookieStore> { base 32 net/cookies/cookie_store.h typedef base::Callback<void(const CookieList& cookies)> GetCookieListCallback; base 33 net/cookies/cookie_store.h typedef base::Callback<void(const std::string& cookie)> GetCookiesCallback; base 34 net/cookies/cookie_store.h typedef base::Callback<void(bool success)> SetCookiesCallback; base 35 net/cookies/cookie_store.h typedef base::Callback<void(int num_deleted)> DeleteCallback; base 68 net/cookies/cookie_store.h const base::Closure& callback) = 0; base 73 net/cookies/cookie_store.h virtual void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, base 74 net/cookies/cookie_store.h const base::Time& delete_end, base 84 net/cookies/cookie_store.h const base::Time delete_begin, base 85 net/cookies/cookie_store.h const base::Time delete_end, base 95 net/cookies/cookie_store.h friend class base::RefCountedThreadSafe<CookieStore>; base 13 net/cookies/cookie_store_test_callbacks.cc CookieCallback::CookieCallback(base::Thread* run_in_thread) base 17 net/cookies/cookie_store_test_callbacks.cc parent_loop_(base::MessageLoop::current()), base 18 net/cookies/cookie_store_test_callbacks.cc loop_to_quit_(base::MessageLoop::current()) {} base 23 net/cookies/cookie_store_test_callbacks.cc run_in_loop_(base::MessageLoop::current()), base 25 net/cookies/cookie_store_test_callbacks.cc loop_to_quit_(base::MessageLoop::current()) {} base 28 net/cookies/cookie_store_test_callbacks.cc base::MessageLoop* expected_loop = NULL; base 38 net/cookies/cookie_store_test_callbacks.cc EXPECT_EQ(expected_loop, base::MessageLoop::current()); base 39 net/cookies/cookie_store_test_callbacks.cc loop_to_quit_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 44 net/cookies/cookie_store_test_callbacks.cc base::Thread* run_in_thread) base 48 net/cookies/cookie_store_test_callbacks.cc NoResultCookieCallback::NoResultCookieCallback(base::Thread* run_in_thread) base 13 net/cookies/cookie_store_test_callbacks.h namespace base { base 31 net/cookies/cookie_store_test_callbacks.h explicit CookieCallback(base::Thread* run_in_thread); base 43 net/cookies/cookie_store_test_callbacks.h base::Thread* run_in_thread_; base 44 net/cookies/cookie_store_test_callbacks.h base::MessageLoop* run_in_loop_; base 45 net/cookies/cookie_store_test_callbacks.h base::MessageLoop* parent_loop_; base 46 net/cookies/cookie_store_test_callbacks.h base::MessageLoop* loop_to_quit_; base 56 net/cookies/cookie_store_test_callbacks.h explicit ResultSavingCookieCallback(base::Thread* run_in_thread) base 74 net/cookies/cookie_store_test_callbacks.h explicit StringResultCookieCallback(base::Thread* run_in_thread); base 90 net/cookies/cookie_store_test_callbacks.h explicit NoResultCookieCallback(base::Thread* run_in_thread); base 42 net/cookies/cookie_store_test_helpers.cc base::Bind(&DelayedCookieMonster::SetCookiesInternalCallback, base 43 net/cookies/cookie_store_test_helpers.cc base::Unretained(this))); base 45 net/cookies/cookie_store_test_helpers.cc base::MessageLoop::current()->PostDelayedTask( base 47 net/cookies/cookie_store_test_helpers.cc base::Bind(&DelayedCookieMonster::InvokeSetCookiesCallback, base 48 net/cookies/cookie_store_test_helpers.cc base::Unretained(this), base 50 net/cookies/cookie_store_test_helpers.cc base::TimeDelta::FromMilliseconds(kDelayedTime)); base 60 net/cookies/cookie_store_test_helpers.cc base::Bind(&DelayedCookieMonster::GetCookiesWithOptionsInternalCallback, base 61 net/cookies/cookie_store_test_helpers.cc base::Unretained(this))); base 63 net/cookies/cookie_store_test_helpers.cc base::MessageLoop::current()->PostDelayedTask( base 65 net/cookies/cookie_store_test_helpers.cc base::Bind(&DelayedCookieMonster::InvokeGetCookieStringCallback, base 66 net/cookies/cookie_store_test_helpers.cc base::Unretained(this), base 68 net/cookies/cookie_store_test_helpers.cc base::TimeDelta::FromMilliseconds(kDelayedTime)); base 111 net/cookies/cookie_store_test_helpers.cc const base::Closure& callback) { base 116 net/cookies/cookie_store_test_helpers.cc const base::Time& delete_begin, base 117 net/cookies/cookie_store_test_helpers.cc const base::Time& delete_end, base 123 net/cookies/cookie_store_test_helpers.cc const base::Time delete_begin, base 124 net/cookies/cookie_store_test_helpers.cc const base::Time delete_end, base 53 net/cookies/cookie_store_test_helpers.h const base::Closure& callback) OVERRIDE; base 56 net/cookies/cookie_store_test_helpers.h const base::Time& delete_begin, base 57 net/cookies/cookie_store_test_helpers.h const base::Time& delete_end, base 61 net/cookies/cookie_store_test_helpers.h const base::Time delete_begin, base 62 net/cookies/cookie_store_test_helpers.h const base::Time delete_end, base 86 net/cookies/cookie_store_test_helpers.h friend class base::RefCountedThreadSafe<DelayedCookieMonster>; base 24 net/cookies/cookie_store_unittest.h using base::Thread; base 78 net/cookies/cookie_store_unittest.h if (!base::MessageLoop::current()) base 79 net/cookies/cookie_store_unittest.h message_loop_.reset(new base::MessageLoop); base 80 net/cookies/cookie_store_unittest.h weak_factory_.reset(new base::WeakPtrFactory<base::MessageLoop>( base 81 net/cookies/cookie_store_unittest.h base::MessageLoop::current())); base 96 net/cookies/cookie_store_unittest.h base::Bind(&StringResultCookieCallback::Run, base 97 net/cookies/cookie_store_unittest.h base::Unretained(&callback))); base 109 net/cookies/cookie_store_unittest.h url, options, base::Bind(&StringResultCookieCallback::Run, base 110 net/cookies/cookie_store_unittest.h base::Unretained(&callback))); base 124 net/cookies/cookie_store_unittest.h base::Bind( base 126 net/cookies/cookie_store_unittest.h base::Unretained(&callback))); base 135 net/cookies/cookie_store_unittest.h const base::Time& server_time) { base 159 net/cookies/cookie_store_unittest.h base::Bind(&NoResultCookieCallback::Run, base::Unretained(&callback))); base 165 net/cookies/cookie_store_unittest.h const base::Time& delete_begin, base 166 net/cookies/cookie_store_unittest.h const base::Time& delete_end) { base 171 net/cookies/cookie_store_unittest.h base::Bind( base 173 net/cookies/cookie_store_unittest.h base::Unretained(&callback))); base 180 net/cookies/cookie_store_unittest.h const base::Time delete_begin, base 181 net/cookies/cookie_store_unittest.h const base::Time delete_end, base 187 net/cookies/cookie_store_unittest.h base::Bind( base 189 net/cookies/cookie_store_unittest.h base::Unretained(&callback))); base 199 net/cookies/cookie_store_unittest.h base::Bind( base 201 net/cookies/cookie_store_unittest.h base::Unretained(&callback))); base 209 net/cookies/cookie_store_unittest.h base::MessageLoop::current()->PostDelayedTask( base 211 net/cookies/cookie_store_unittest.h base::Bind(&base::MessageLoop::Quit, weak_factory_->GetWeakPtr()), base 212 net/cookies/cookie_store_unittest.h base::TimeDelta::FromMilliseconds(ms)); base 213 net/cookies/cookie_store_unittest.h base::MessageLoop::current()->Run(); base 232 net/cookies/cookie_store_unittest.h base::Time polling_end_date = base::Time::Now() + base 233 net/cookies/cookie_store_unittest.h base::TimeDelta::FromMilliseconds( base 236 net/cookies/cookie_store_unittest.h while (!matched && base::Time::Now() <= polling_end_date) { base 237 net/cookies/cookie_store_unittest.h base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 251 net/cookies/cookie_store_unittest.h scoped_ptr<base::WeakPtrFactory<base::MessageLoop> > weak_factory_; base 252 net/cookies/cookie_store_unittest.h scoped_ptr<base::MessageLoop> message_loop_; base 258 net/cookies/cookie_store_unittest.h base::StringTokenizer tokenizer(line, " ;"); base 646 net/cookies/cookie_store_unittest.h options.set_server_time(base::Time::Now() - base::TimeDelta::FromHours(1)); base 651 net/cookies/cookie_store_unittest.h options.set_server_time(base::Time::Now() + base::TimeDelta::FromHours(1)); base 754 net/cookies/cookie_store_unittest.h base::Time server_time; base 755 net/cookies/cookie_store_unittest.h EXPECT_TRUE(base::Time::FromString("Sun, 17-Apr-1977 22:50:13 GMT", base 781 net/cookies/cookie_store_unittest.h const base::Time last_month = base::Time::Now() - base 782 net/cookies/cookie_store_unittest.h base::TimeDelta::FromDays(30); base 783 net/cookies/cookie_store_unittest.h const base::Time last_minute = base::Time::Now() - base 784 net/cookies/cookie_store_unittest.h base::TimeDelta::FromMinutes(1); base 785 net/cookies/cookie_store_unittest.h const base::Time next_minute = base::Time::Now() + base 786 net/cookies/cookie_store_unittest.h base::TimeDelta::FromMinutes(1); base 787 net/cookies/cookie_store_unittest.h const base::Time next_month = base::Time::Now() + base 788 net/cookies/cookie_store_unittest.h base::TimeDelta::FromDays(30); base 813 net/cookies/cookie_store_unittest.h EXPECT_EQ(1, this->DeleteCreatedBetween(cs.get(), last_minute, base::Time())); base 822 net/cookies/cookie_store_unittest.h base::Time now = base::Time::Now(); base 836 net/cookies/cookie_store_unittest.h cs.get(), now, base::Time::Max(), this->url_google_)); base 966 net/cookies/cookie_store_unittest.h base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 971 net/cookies/cookie_store_unittest.h base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 1044 net/cookies/cookie_store_unittest.h base::Bind(&StringResultCookieCallback::Run, base 1045 net/cookies/cookie_store_unittest.h base::Unretained(callback))); base 1054 net/cookies/cookie_store_unittest.h base::Bind(&StringResultCookieCallback::Run, base 1055 net/cookies/cookie_store_unittest.h base::Unretained(callback))); base 1065 net/cookies/cookie_store_unittest.h base::Bind( base 1067 net/cookies/cookie_store_unittest.h base::Unretained(callback))); base 1076 net/cookies/cookie_store_unittest.h base::Bind(&NoResultCookieCallback::Run, base::Unretained(callback))); base 1082 net/cookies/cookie_store_unittest.h base::Bind( base 1084 net/cookies/cookie_store_unittest.h base::Unretained(callback))); base 1088 net/cookies/cookie_store_unittest.h void RunOnOtherThread(const base::Closure& task) { base 1108 net/cookies/cookie_store_unittest.h base::Closure task = base::Bind( base 1110 net/cookies/cookie_store_unittest.h base::Unretained(this), base 1126 net/cookies/cookie_store_unittest.h base::Closure task = base::Bind( base 1128 net/cookies/cookie_store_unittest.h base::Unretained(this), base 1143 net/cookies/cookie_store_unittest.h base::Closure task = base::Bind( base 1145 net/cookies/cookie_store_unittest.h base::Unretained(this), base 1163 net/cookies/cookie_store_unittest.h base::Closure task = base::Bind( base 1165 net/cookies/cookie_store_unittest.h base::Unretained(this), base 1188 net/cookies/cookie_store_unittest.h base::Closure task = base::Bind( base 1190 net/cookies/cookie_store_unittest.h base::Unretained(this), base 94 net/cookies/cookie_util.cc base::Time ParseCookieTime(const std::string& time_string) { base 107 net/cookies/cookie_util.cc base::Time::Exploded exploded = {0}; base 109 net/cookies/cookie_util.cc base::StringTokenizer tokenizer(time_string, kDelimiters); base 126 net/cookies/cookie_util.cc if (base::strncasecmp(token.c_str(), kMonths[i], 3) == 0) { base 180 net/cookies/cookie_util.cc return base::Time(); base 194 net/cookies/cookie_util.cc return base::Time::FromUTCExploded(exploded); base 201 net/cookies/cookie_util.cc return base::Time(); base 38 net/cookies/cookie_util.h NET_EXPORT base::Time ParseCookieTime(const std::string& time_string); base 101 net/cookies/cookie_util_unittest.cc base::Time parsed_time; base 8 net/cronet/android/java/src/org/chromium/net/UrlRequest.java import org.chromium.base.CalledByNative; base 9 net/cronet/android/java/src/org/chromium/net/UrlRequest.java import org.chromium.base.JNINamespace; base 11 net/cronet/android/java/src/org/chromium/net/UrlRequestContext.java import org.chromium.base.CalledByNative; base 12 net/cronet/android/java/src/org/chromium/net/UrlRequestContext.java import org.chromium.base.JNINamespace; base 61 net/cronet/android/org_chromium_net_UrlRequest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 66 net/cronet/android/org_chromium_net_UrlRequest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 73 net/cronet/android/org_chromium_net_UrlRequest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 81 net/cronet/android/org_chromium_net_UrlRequest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 87 net/cronet/android/org_chromium_net_UrlRequest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 23 net/cronet/android/org_chromium_net_UrlRequestContext.cc const base::android::RegistrationMethod kCronetRegisteredMethods[] = { base 24 net/cronet/android/org_chromium_net_UrlRequestContext.cc {"BaseAndroid", base::android::RegisterJni}, base 30 net/cronet/android/org_chromium_net_UrlRequestContext.cc base::AtExitManager* g_at_exit_manager = NULL; base 41 net/cronet/android/org_chromium_net_UrlRequestContext.cc JNIEnv* env = base::android::AttachCurrentThread(); base 49 net/cronet/android/org_chromium_net_UrlRequestContext.cc JNIEnv* env = base::android::AttachCurrentThread(); base 66 net/cronet/android/org_chromium_net_UrlRequestContext.cc base::android::InitVM(vm); base 68 net/cronet/android/org_chromium_net_UrlRequestContext.cc if (!base::android::RegisterNativeMethods( base 73 net/cronet/android/org_chromium_net_UrlRequestContext.cc g_at_exit_manager = new base::AtExitManager(); base 75 net/cronet/android/org_chromium_net_UrlRequestContext.cc base::i18n::InitializeICU(); base 104 net/cronet/android/org_chromium_net_UrlRequestContext.cc base::android::ScopedJavaLocalRef<jobject> scoped_context(env, context); base 105 net/cronet/android/org_chromium_net_UrlRequestContext.cc base::android::InitApplicationContext(env, scoped_context); base 10 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java import org.chromium.base.test.util.Feature; base 7 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CriteriaHelper.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 11 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSamplePreconditionsTest.java import org.chromium.base.test.util.Feature; base 13 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSampleTestBase.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 15 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSampleTestBase.java import org.chromium.base.test.util.UrlUtils; base 9 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSampleUrlTest.java import org.chromium.base.test.util.Feature; base 9 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleApplication.java import org.chromium.base.BaseChromiumApplication; base 10 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleApplication.java import org.chromium.base.PathUtils; base 65 net/cronet/android/url_request_context_peer.cc const base::string16& error) OVERRIDE {} base 87 net/cronet/android/url_request_context_peer.cc const base::FilePath& path) const OVERRIDE { base 134 net/cronet/android/url_request_context_peer.cc network_thread_ = new base::Thread("network"); base 135 net/cronet/android/url_request_context_peer.cc base::Thread::Options options; base 136 net/cronet/android/url_request_context_peer.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 141 net/cronet/android/url_request_context_peer.cc base::Bind(&URLRequestContextPeer::InitializeURLRequestContext, this)); base 220 net/cronet/android/url_request_context_peer.cc scoped_refptr<base::SingleThreadTaskRunner> base 37 net/cronet/android/url_request_context_peer.h : public base::RefCountedThreadSafe<URLRequestContextPeerDelegate> { base 42 net/cronet/android/url_request_context_peer.h friend class base::RefCountedThreadSafe<URLRequestContextPeerDelegate>; base 61 net/cronet/android/url_request_context_peer.h virtual scoped_refptr<base::SingleThreadTaskRunner> GetNetworkTaskRunner() base 70 net/cronet/android/url_request_context_peer.h base::Thread* network_thread_; base 64 net/cronet/android/url_request_peer.cc base::Bind(&URLRequestPeer::OnAppendChunkWrapper, base 74 net/cronet/android/url_request_peer.cc base::Bind(&URLRequestPeer::OnInitiateConnectionWrapper, this)); base 149 net/cronet/android/url_request_peer.cc FROM_HERE, base::Bind(&URLRequestPeer::OnCancelRequestWrapper, this)); base 170 net/cronet/android/url_request_peer.cc FROM_HERE, base::Bind(&URLRequestPeer::OnDestroyRequest, this)); base 23 net/cronet/android/url_request_peer.h : public base::RefCountedThreadSafe<URLRequestPeerDelegate> { base 31 net/cronet/android/url_request_peer.h friend class base::RefCountedThreadSafe<URLRequestPeerDelegate>; base 41 net/disk_cache/backend_unittest.cc using base::Time; base 48 net/disk_cache/backend_unittest.cc const base::Thread& cache_thread, base 49 net/disk_cache/backend_unittest.cc base::FilePath& cache_path) { base 80 net/disk_cache/backend_unittest.cc void InitSparseCache(base::Time* doomed_start, base::Time* doomed_end); base 174 net/disk_cache/backend_unittest.cc void DiskCacheBackendTest::InitSparseCache(base::Time* doomed_start, base 175 net/disk_cache/backend_unittest.cc base::Time* doomed_end) { base 198 net/disk_cache/backend_unittest.cc *doomed_start = base::Time::Now(); base 217 net/disk_cache/backend_unittest.cc *doomed_end = base::Time::Now(); base 360 net/disk_cache/backend_unittest.cc base::strlcpy(buffer, kName1, arraysize(buffer)); base 365 net/disk_cache/backend_unittest.cc base::strlcpy(buffer + 1, kName1, arraysize(buffer) - 1); base 370 net/disk_cache/backend_unittest.cc base::strlcpy(buffer + 3, kName1, arraysize(buffer) - 3); base 418 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 420 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 445 net/disk_cache/backend_unittest.cc base::FilePath(), 0, base 453 net/disk_cache/backend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 459 net/disk_cache/backend_unittest.cc base::FilePath filename = cache_path_.AppendASCII("data_1"); base 460 net/disk_cache/backend_unittest.cc base::DeleteFile(filename, false); base 461 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 463 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 466 net/disk_cache/backend_unittest.cc bool prev = base::ThreadRestrictions::SetIOAllowed(false); base 471 net/disk_cache/backend_unittest.cc base::ThreadRestrictions::SetIOAllowed(prev); base 480 net/disk_cache/backend_unittest.cc base::FilePath filename = cache_path_.AppendASCII("f_000001"); base 485 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, base::WriteFile(filename, buffer1->data(), kSize)); base 495 net/disk_cache/backend_unittest.cc ASSERT_EQ(kSize, base::ReadFile(filename, buffer2->data(), kSize)); base 522 net/disk_cache/backend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 556 net/disk_cache/backend_unittest.cc base::ScopedTempDir store; base 563 net/disk_cache/backend_unittest.cc false, base::MessageLoopProxy::current().get(), NULL, base 581 net/disk_cache/backend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 595 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 597 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 615 net/disk_cache/backend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 638 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 640 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 654 net/disk_cache/backend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 676 net/disk_cache/backend_unittest.cc base::FilePath index = cache_path_.AppendASCII("index"); base 677 net/disk_cache/backend_unittest.cc ASSERT_EQ(5, base::WriteFile(index, "hello", 5)); base 679 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 681 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 879 net/disk_cache/backend_unittest.cc std::string name(base::StringPrintf("Key %d", i)); base 914 net/disk_cache/backend_unittest.cc base::strlcpy(buffer1->data(), "And the data to save", kSize); base 950 net/disk_cache/backend_unittest.cc base::strlcpy(buffer->data(), "And the data to save", kSize); base 994 net/disk_cache/backend_unittest.cc base::strlcpy(buffer->data(), "And the data to save", kSize); base 1137 net/disk_cache/backend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1174 net/disk_cache/backend_unittest.cc std::string key(base::StringPrintf("some key %d", i)); base 1202 net/disk_cache/backend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1377 net/disk_cache/backend_unittest.cc base::strlcpy(buffer1->data(), "And the data to save", kSize); base 1412 net/disk_cache/backend_unittest.cc base::strlcpy(buffer1->data(), "And the data to save", kSize); base 1563 net/disk_cache/backend_unittest.cc base::Time start; base 1570 net/disk_cache/backend_unittest.cc base::Time start; base 1652 net/disk_cache/backend_unittest.cc base::Time start, end; base 1658 net/disk_cache/backend_unittest.cc end = base::Time::Now(); base 1664 net/disk_cache/backend_unittest.cc base::Time start, end; base 1670 net/disk_cache/backend_unittest.cc end = base::Time::Now(); base 1821 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 1823 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 1832 net/disk_cache/backend_unittest.cc class BadEntropyProvider : public base::FieldTrial::EntropyProvider { base 1848 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 1850 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 1859 net/disk_cache/backend_unittest.cc base::FieldTrialList field_trial_list(new BadEntropyProvider()); base 1860 net/disk_cache/backend_unittest.cc base::FieldTrialList::CreateFieldTrial("SimpleCacheTrial", base 1884 net/disk_cache/backend_unittest.cc base::FieldTrialList field_trial_list(new BadEntropyProvider()); base 1885 net/disk_cache/backend_unittest.cc base::FieldTrialList::CreateFieldTrial("SimpleCacheTrial", base 1888 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 1890 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 1917 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 1919 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 1924 net/disk_cache/backend_unittest.cc base::FieldTrialList field_trial_list(new BadEntropyProvider()); base 1925 net/disk_cache/backend_unittest.cc base::FieldTrialList::CreateFieldTrial("SimpleCacheTrial", base 1935 net/disk_cache/backend_unittest.cc base::FieldTrialList field_trial_list(new BadEntropyProvider()); base 1936 net/disk_cache/backend_unittest.cc base::FieldTrialList::CreateFieldTrial("SimpleCacheTrial", "ExperimentNo"); base 1962 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 1964 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 1967 net/disk_cache/backend_unittest.cc bool prev = base::ThreadRestrictions::SetIOAllowed(false); base 1968 net/disk_cache/backend_unittest.cc base::FilePath path(cache_path_); base 1981 net/disk_cache/backend_unittest.cc base::ThreadRestrictions::SetIOAllowed(prev); base 2735 net/disk_cache/backend_unittest.cc cache_path_, base::MessageLoopProxy::current().get(), NULL)); base 2750 net/disk_cache/backend_unittest.cc cache_path_, base::MessageLoopProxy::current().get(), NULL)); base 2805 net/disk_cache/backend_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2890 net/disk_cache/backend_unittest.cc base::ScopedTempDir store1, store2; base 2894 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 2896 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 3063 net/disk_cache/backend_unittest.cc base::FilePath name = cache_impl_->GetFileName(address); base 3071 net/disk_cache/backend_unittest.cc base::win::ScopedHandle file2(CreateFile( base 3081 net/disk_cache/backend_unittest.cc EXPECT_TRUE(base::DeleteFile(name, false)); base 3102 net/disk_cache/backend_unittest.cc std::string key = base::StringPrintf("key%d", i); base 3125 net/disk_cache/backend_unittest.cc std::string key = base::StringPrintf("key%d", i); base 3288 net/disk_cache/backend_unittest.cc base::FilePath to_delete_file = cache_path_.AppendASCII( base 3290 net/disk_cache/backend_unittest.cc EXPECT_TRUE(base::PathExists(to_delete_file)); base 3298 net/disk_cache/backend_unittest.cc base::FilePath should_be_gone_file(cache_path_.AppendASCII( base 3300 net/disk_cache/backend_unittest.cc EXPECT_FALSE(base::PathExists(should_be_gone_file)); base 3325 net/disk_cache/backend_unittest.cc base::FilePath entry_file1_path = cache_path_.AppendASCII( base 3332 net/disk_cache/backend_unittest.cc base::WriteFile(entry_file1_path, reinterpret_cast<char*>(&header), base 3352 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 3354 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 3384 net/disk_cache/backend_unittest.cc base::Thread cache_thread("CacheThread"); base 3386 net/disk_cache/backend_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 3388 net/disk_cache/backend_unittest.cc cache_path_, base::MessageLoopProxy::current().get(), NULL); base 36 net/disk_cache/blockfile/backend_impl.cc using base::Time; base 37 net/disk_cache/blockfile/backend_impl.cc using base::TimeDelta; base 38 net/disk_cache/blockfile/backend_impl.cc using base::TimeTicks; base 87 net/disk_cache/blockfile/backend_impl.cc if (base::FieldTrialList::FindFullName("SimpleCacheTrial") == base 111 net/disk_cache/blockfile/backend_impl.cc BackendImpl::BackendImpl(const base::FilePath& path, base 112 net/disk_cache/blockfile/backend_impl.cc base::MessageLoopProxy* cache_thread, base 136 net/disk_cache/blockfile/backend_impl.cc BackendImpl::BackendImpl(const base::FilePath& path, base 138 net/disk_cache/blockfile/backend_impl.cc base::MessageLoopProxy* cache_thread, base 178 net/disk_cache/blockfile/backend_impl.cc FROM_HERE, base::Bind(&FinalCleanupCallback, base::Unretained(this))); base 180 net/disk_cache/blockfile/backend_impl.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 292 net/disk_cache/blockfile/backend_impl.cc timer_.reset(new base::RepeatingTimer<BackendImpl>()); base 375 net/disk_cache/blockfile/backend_impl.cc int BackendImpl::SyncDoomEntriesBetween(const base::Time initial_time, base 376 net/disk_cache/blockfile/backend_impl.cc const base::Time end_time) { base 414 net/disk_cache/blockfile/backend_impl.cc int BackendImpl::SyncDoomEntriesSince(const base::Time initial_time) { base 457 net/disk_cache/blockfile/backend_impl.cc uint32 hash = base::Hash(key); base 473 net/disk_cache/blockfile/backend_impl.cc uint32 hash = base::Hash(key); base 517 net/disk_cache/blockfile/backend_impl.cc uint32 hash = base::Hash(key); base 642 net/disk_cache/blockfile/backend_impl.cc base::FilePath BackendImpl::GetFileName(Addr address) const { base 645 net/disk_cache/blockfile/backend_impl.cc return base::FilePath(); base 648 net/disk_cache/blockfile/backend_impl.cc std::string tmp = base::StringPrintf("f_%06x", address.FileNumber()); base 658 net/disk_cache/blockfile/backend_impl.cc base::WeakPtr<InFlightBackendIO> BackendImpl::GetBackgroundQueue() { base 671 net/disk_cache/blockfile/backend_impl.cc base::FilePath name = GetFileName(file_address); base 672 net/disk_cache/blockfile/backend_impl.cc int flags = base::File::FLAG_READ | base::File::FLAG_WRITE | base 673 net/disk_cache/blockfile/backend_impl.cc base::File::FLAG_CREATE | base::File::FLAG_EXCLUSIVE_WRITE; base 674 net/disk_cache/blockfile/backend_impl.cc base::File file(name, flags); base 676 net/disk_cache/blockfile/backend_impl.cc base::File::Error error = file.error_details(); base 677 net/disk_cache/blockfile/backend_impl.cc if (error != base::File::FILE_ERROR_EXISTS) { base 893 net/disk_cache/blockfile/backend_impl.cc return base::StringPrintf("DiskCache.%d.%s", cache_type_, name); base 894 net/disk_cache/blockfile/backend_impl.cc return base::StringPrintf("DiskCache.%d.%s_%d", cache_type_, base 898 net/disk_cache/blockfile/backend_impl.cc base::WeakPtr<BackendImpl> BackendImpl::GetWeakPtr() { base 974 net/disk_cache/blockfile/backend_impl.cc base::MessageLoop::current()->PostTask( base 975 net/disk_cache/blockfile/backend_impl.cc FROM_HERE, base::Bind(&BackendImpl::RestartCache, GetWeakPtr(), true)); base 1082 net/disk_cache/blockfile/backend_impl.cc int BackendImpl::RunTaskForTest(const base::Closure& task, base 1098 net/disk_cache/blockfile/backend_impl.cc base::RepeatingTimer<BackendImpl>* BackendImpl::GetTimerForTest() { base 1179 net/disk_cache/blockfile/backend_impl.cc int BackendImpl::DoomEntriesBetween(const base::Time initial_time, base 1180 net/disk_cache/blockfile/backend_impl.cc const base::Time end_time, base 1187 net/disk_cache/blockfile/backend_impl.cc int BackendImpl::DoomEntriesSince(const base::Time initial_time, base 1213 net/disk_cache/blockfile/backend_impl.cc item.second = base::StringPrintf("%d", data_->header.num_entries); base 1217 net/disk_cache/blockfile/backend_impl.cc item.second = base::StringPrintf("%d", num_pending_io_); base 1221 net/disk_cache/blockfile/backend_impl.cc item.second = base::StringPrintf("%d", max_size_); base 1225 net/disk_cache/blockfile/backend_impl.cc item.second = base::StringPrintf("%d", data_->header.num_bytes); base 1262 net/disk_cache/blockfile/backend_impl.cc if (!base::CreateDirectory(path_)) base 1265 net/disk_cache/blockfile/backend_impl.cc base::FilePath index_name = path_.AppendASCII(kIndexName); base 1267 net/disk_cache/blockfile/backend_impl.cc int flags = base::File::FLAG_READ | base::File::FLAG_WRITE | base 1268 net/disk_cache/blockfile/backend_impl.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_EXCLUSIVE_WRITE; base 1269 net/disk_cache/blockfile/backend_impl.cc base::File base_file(index_name, flags); base 1311 net/disk_cache/blockfile/backend_impl.cc int64 available = base::SysInfo::AmountOfFreeDiskSpace(path_); base 1814 net/disk_cache/blockfile/backend_impl.cc base::MessageLoop::current()->PostTask( base 1815 net/disk_cache/blockfile/backend_impl.cc FROM_HERE, base::Bind(&BackendImpl::RestartCache, GetWeakPtr(), true)); base 1850 net/disk_cache/blockfile/backend_impl.cc if (base::RandInt(0, 99) < hit_ratio_as_percentage) base 1895 net/disk_cache/blockfile/backend_impl.cc if (base::RandInt(0, 99) < hit_ratio_as_percentage) base 1913 net/disk_cache/blockfile/backend_impl.cc if (base::RandInt(0, 99) < hit_ratio_as_percentage) base 2079 net/disk_cache/blockfile/backend_impl.cc static int64 total_memory = base::SysInfo::AmountOfPhysicalMemory(); base 47 net/disk_cache/blockfile/backend_impl.h BackendImpl(const base::FilePath& path, base::MessageLoopProxy* cache_thread, base 50 net/disk_cache/blockfile/backend_impl.h BackendImpl(const base::FilePath& path, uint32 mask, base 51 net/disk_cache/blockfile/backend_impl.h base::MessageLoopProxy* cache_thread, net::NetLog* net_log); base 70 net/disk_cache/blockfile/backend_impl.h int SyncDoomEntriesBetween(base::Time initial_time, base 71 net/disk_cache/blockfile/backend_impl.h base::Time end_time); base 72 net/disk_cache/blockfile/backend_impl.h int SyncDoomEntriesSince(base::Time initial_time); base 91 net/disk_cache/blockfile/backend_impl.h base::FilePath GetFileName(Addr address) const; base 97 net/disk_cache/blockfile/backend_impl.h base::WeakPtr<InFlightBackendIO> GetBackgroundQueue(); base 188 net/disk_cache/blockfile/backend_impl.h base::WeakPtr<BackendImpl> GetWeakPtr(); base 238 net/disk_cache/blockfile/backend_impl.h int RunTaskForTest(const base::Closure& task, base 250 net/disk_cache/blockfile/backend_impl.h base::RepeatingTimer<BackendImpl>* GetTimerForTest(); base 269 net/disk_cache/blockfile/backend_impl.h virtual int DoomEntriesBetween(base::Time initial_time, base 270 net/disk_cache/blockfile/backend_impl.h base::Time end_time, base 272 net/disk_cache/blockfile/backend_impl.h virtual int DoomEntriesSince(base::Time initial_time, base 281 net/disk_cache/blockfile/backend_impl.h typedef base::hash_map<CacheAddr, EntryImpl*> EntriesMap; base 360 net/disk_cache/blockfile/backend_impl.h base::FilePath path_; // Path to the folder used as backing storage. base 390 net/disk_cache/blockfile/backend_impl.h scoped_ptr<base::RepeatingTimer<BackendImpl> > timer_; // Usage timer. base 391 net/disk_cache/blockfile/backend_impl.h base::WaitableEvent done_; // Signals the end of background work. base 393 net/disk_cache/blockfile/backend_impl.h base::WeakPtrFactory<BackendImpl> ptr_factory_; base 37 net/disk_cache/blockfile/backend_impl_v3.cc using base::Time; base 38 net/disk_cache/blockfile/backend_impl_v3.cc using base::TimeDelta; base 39 net/disk_cache/blockfile/backend_impl_v3.cc using base::TimeTicks; base 56 net/disk_cache/blockfile/backend_impl_v3.cc BackendImplV3::BackendImplV3(const base::FilePath& path, base 57 net/disk_cache/blockfile/backend_impl_v3.cc base::MessageLoopProxy* cache_thread, base 241 net/disk_cache/blockfile/backend_impl_v3.cc return base::StringPrintf("DiskCache3.%s_%s", name, names[cache_type_]); base 244 net/disk_cache/blockfile/backend_impl_v3.cc base::WeakPtr<BackendImplV3> BackendImplV3::GetWeakPtr() { base 439 net/disk_cache/blockfile/backend_impl_v3.cc uint32 hash = base::Hash(key); base 607 net/disk_cache/blockfile/backend_impl_v3.cc int BackendImplV3::DoomEntriesBetween(base::Time initial_time, base 608 net/disk_cache/blockfile/backend_impl_v3.cc base::Time end_time, base 645 net/disk_cache/blockfile/backend_impl_v3.cc int BackendImplV3::DoomEntriesSince(base::Time initial_time, base 690 net/disk_cache/blockfile/backend_impl_v3.cc item.second = base::StringPrintf("%d", data_->header.num_entries); base 694 net/disk_cache/blockfile/backend_impl_v3.cc item.second = base::StringPrintf("%d", num_pending_io_); base 698 net/disk_cache/blockfile/backend_impl_v3.cc item.second = base::StringPrintf("%d", max_size_); base 702 net/disk_cache/blockfile/backend_impl_v3.cc item.second = base::StringPrintf("%d", data_->header.num_bytes); base 716 net/disk_cache/blockfile/backend_impl_v3.cc uint32 hash = base::Hash(key); base 739 net/disk_cache/blockfile/backend_impl_v3.cc int64 available = base::SysInfo::AmountOfFreeDiskSpace(path_); base 1065 net/disk_cache/blockfile/backend_impl_v3.cc base::MessageLoop::current()->PostTask( base 1066 net/disk_cache/blockfile/backend_impl_v3.cc FROM_HERE, base::Bind(&BackendImpl::RestartCache, GetWeakPtr(), true)); base 1105 net/disk_cache/blockfile/backend_impl_v3.cc timer_.reset(new base::RepeatingTimer<BackendImplV3>()); base 1526 net/disk_cache/blockfile/backend_impl_v3.cc static int64 total_memory = base::SysInfo::AmountOfPhysicalMemory(); base 1576 net/disk_cache/blockfile/backend_impl_v3.cc int BackendImplV3::DoomEntriesBetween(base::Time initial_time, base 1577 net/disk_cache/blockfile/backend_impl_v3.cc base::Time end_time, base 1582 net/disk_cache/blockfile/backend_impl_v3.cc int BackendImplV3::DoomEntriesSince(base::Time initial_time, base 45 net/disk_cache/blockfile/backend_impl_v3.h BackendImplV3(const base::FilePath& path, base 46 net/disk_cache/blockfile/backend_impl_v3.h base::MessageLoopProxy* cache_thread, base 126 net/disk_cache/blockfile/backend_impl_v3.h base::WeakPtr<BackendImplV3> GetWeakPtr(); base 183 net/disk_cache/blockfile/backend_impl_v3.h virtual int DoomEntriesBetween(base::Time initial_time, base 184 net/disk_cache/blockfile/backend_impl_v3.h base::Time end_time, base 186 net/disk_cache/blockfile/backend_impl_v3.h virtual int DoomEntriesSince(base::Time initial_time, base 196 net/disk_cache/blockfile/backend_impl_v3.h typedef base::hash_map<CacheAddr, EntryImplV3*> EntriesMap; base 250 net/disk_cache/blockfile/backend_impl_v3.h base::FilePath path_; // Path to the folder used as backing storage. base 275 net/disk_cache/blockfile/backend_impl_v3.h scoped_ptr<base::RepeatingTimer<BackendImplV3> > timer_; // Usage timer. base 277 net/disk_cache/blockfile/backend_impl_v3.h base::WeakPtrFactory<BackendImplV3> ptr_factory_; base 21 net/disk_cache/blockfile/backend_worker_v3.cc using base::Time; base 22 net/disk_cache/blockfile/backend_worker_v3.cc using base::TimeDelta; base 23 net/disk_cache/blockfile/backend_worker_v3.cc using base::TimeTicks; base 75 net/disk_cache/blockfile/backend_worker_v3.cc if (base::FieldTrialList::FindFullName("SimpleCacheTrial") == base 96 net/disk_cache/blockfile/backend_worker_v3.cc BackendImplV3::Worker::Worker(const base::FilePath& path, base 97 net/disk_cache/blockfile/backend_worker_v3.cc base::MessageLoopProxy* main_thread) base 128 net/disk_cache/blockfile/backend_worker_v3.cc timer_.reset(new base::RepeatingTimer<BackendImpl>()); base 245 net/disk_cache/blockfile/backend_worker_v3.cc FROM_HERE, base::Bind(&FinalCleanupCallback, base::Unretained(this))); base 247 net/disk_cache/blockfile/backend_worker_v3.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 277 net/disk_cache/blockfile/backend_worker_v3.cc base::FilePath BackendImpl::GetFileName(Addr address) const { base 280 net/disk_cache/blockfile/backend_worker_v3.cc return base::FilePath(); base 283 net/disk_cache/blockfile/backend_worker_v3.cc std::string tmp = base::StringPrintf("f_%06x", address.FileNumber()); base 308 net/disk_cache/blockfile/backend_worker_v3.cc if (!base::CreateDirectory(path_)) base 311 net/disk_cache/blockfile/backend_worker_v3.cc base::FilePath index_name = path_.AppendASCII(kIndexName); base 313 net/disk_cache/blockfile/backend_worker_v3.cc int flags = base::PLATFORM_FILE_READ | base 314 net/disk_cache/blockfile/backend_worker_v3.cc base::PLATFORM_FILE_WRITE | base 315 net/disk_cache/blockfile/backend_worker_v3.cc base::PLATFORM_FILE_OPEN_ALWAYS | base 316 net/disk_cache/blockfile/backend_worker_v3.cc base::PLATFORM_FILE_EXCLUSIVE_WRITE; base 318 net/disk_cache/blockfile/backend_worker_v3.cc base::CreatePlatformFile(index_name, flags, file_created, NULL))); base 18 net/disk_cache/blockfile/backend_worker_v3.h class BackendImplV3::Worker : public base::RefCountedThreadSafe<Worker> { base 20 net/disk_cache/blockfile/backend_worker_v3.h Worker(const base::FilePath& path, base::MessageLoopProxy* main_thread); base 26 net/disk_cache/blockfile/backend_worker_v3.h friend class base::RefCountedThreadSafe<Worker>; base 32 net/disk_cache/blockfile/backend_worker_v3.h base::FilePath GetFileName(Addr address) const; base 41 net/disk_cache/blockfile/backend_worker_v3.h base::FilePath path_; // Path to the folder used as backing storage. base 12 net/disk_cache/blockfile/block_bitmaps_v3.cc using base::TimeTicks; base 19 net/disk_cache/blockfile/block_files.cc using base::TimeTicks; base 95 net/disk_cache/blockfile/block_files.cc base::subtle::MemoryBarrier(); base 148 net/disk_cache/blockfile/block_files.cc base::subtle::MemoryBarrier(); base 264 net/disk_cache/blockfile/block_files.cc BlockFiles::BlockFiles(const base::FilePath& path) base 279 net/disk_cache/blockfile/block_files.cc thread_checker_.reset(new base::ThreadChecker); base 447 net/disk_cache/blockfile/block_files.cc base::FilePath name = Name(index); base 448 net/disk_cache/blockfile/block_files.cc int flags = force ? base::File::FLAG_CREATE_ALWAYS : base::File::FLAG_CREATE; base 449 net/disk_cache/blockfile/block_files.cc flags |= base::File::FLAG_WRITE | base::File::FLAG_EXCLUSIVE_WRITE; base 451 net/disk_cache/blockfile/block_files.cc scoped_refptr<File> file(new File(base::File(name, flags))); base 473 net/disk_cache/blockfile/block_files.cc base::FilePath name = Name(index); base 630 net/disk_cache/blockfile/block_files.cc base::FilePath name = Name(file_index); base 723 net/disk_cache/blockfile/block_files.cc base::FilePath BlockFiles::Name(int index) { base 726 net/disk_cache/blockfile/block_files.cc std::string tmp = base::StringPrintf("%s%d", kBlockName, index); base 20 net/disk_cache/blockfile/block_files.h namespace base { base 93 net/disk_cache/blockfile/block_files.h explicit BlockFiles(const base::FilePath& path); base 151 net/disk_cache/blockfile/block_files.h base::FilePath Name(int index); base 155 net/disk_cache/blockfile/block_files.h base::FilePath path_; // Path to the backing folder. base 157 net/disk_cache/blockfile/block_files.h scoped_ptr<base::ThreadChecker> thread_checker_; base 13 net/disk_cache/blockfile/block_files_unittest.cc using base::Time; base 18 net/disk_cache/blockfile/block_files_unittest.cc int NumberOfFiles(const base::FilePath& path) { base 19 net/disk_cache/blockfile/block_files_unittest.cc base::FileEnumerator iter(path, false, base::FileEnumerator::FILES); base 21 net/disk_cache/blockfile/block_files_unittest.cc for (base::FilePath file = iter.Next(); !file.value().empty(); base 34 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_path_)); base 60 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_path_)); base 83 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_path_)); base 160 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_path_)); base 165 net/disk_cache/blockfile/block_files_unittest.cc base::FilePath filename = files.Name(0); base 181 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_path_)); base 188 net/disk_cache/blockfile/block_files_unittest.cc base::FilePath filename = files.Name(0); base 204 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_path_)); base 259 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_path_)); base 269 net/disk_cache/blockfile/block_files_unittest.cc base::FilePath filename(files.Name(5)); base 273 net/disk_cache/blockfile/block_files_unittest.cc base::WriteFile(filename, header, kBlockHeaderSize)); base 305 net/disk_cache/blockfile/block_files_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_path_)); base 28 net/disk_cache/blockfile/disk_cache_perftest.cc using base::Time; base 56 net/disk_cache/blockfile/disk_cache_perftest.cc base::PerfTimeLogger timer("Write disk cache entries"); base 71 net/disk_cache/blockfile/disk_cache_perftest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback)), false); base 79 net/disk_cache/blockfile/disk_cache_perftest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback)), false); base 110 net/disk_cache/blockfile/disk_cache_perftest.cc base::PerfTimeLogger timer(message); base 120 net/disk_cache/blockfile/disk_cache_perftest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback))); base 128 net/disk_cache/blockfile/disk_cache_perftest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback))); base 153 net/disk_cache/blockfile/disk_cache_perftest.cc base::PerfTimeLogger timer("Hash disk cache keys"); base 156 net/disk_cache/blockfile/disk_cache_perftest.cc base::Hash(key); base 162 net/disk_cache/blockfile/disk_cache_perftest.cc base::Thread cache_thread("CacheThread"); base 164 net/disk_cache/blockfile/disk_cache_perftest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 183 net/disk_cache/blockfile/disk_cache_perftest.cc base::MessageLoop::current()->RunUntilIdle(); base 186 net/disk_cache/blockfile/disk_cache_perftest.cc ASSERT_TRUE(base::EvictFileFromSystemCache( base 188 net/disk_cache/blockfile/disk_cache_perftest.cc ASSERT_TRUE(base::EvictFileFromSystemCache( base 190 net/disk_cache/blockfile/disk_cache_perftest.cc ASSERT_TRUE(base::EvictFileFromSystemCache( base 192 net/disk_cache/blockfile/disk_cache_perftest.cc ASSERT_TRUE(base::EvictFileFromSystemCache( base 194 net/disk_cache/blockfile/disk_cache_perftest.cc ASSERT_TRUE(base::EvictFileFromSystemCache( base 206 net/disk_cache/blockfile/disk_cache_perftest.cc base::MessageLoop::current()->RunUntilIdle(); base 226 net/disk_cache/blockfile/disk_cache_perftest.cc base::PerfTimeLogger timer1("Fill three block-files"); base 235 net/disk_cache/blockfile/disk_cache_perftest.cc base::PerfTimeLogger timer2("Create and delete blocks"); base 248 net/disk_cache/blockfile/disk_cache_perftest.cc base::MessageLoop::current()->RunUntilIdle(); base 24 net/disk_cache/blockfile/entry_impl.cc using base::Time; base 25 net/disk_cache/blockfile/entry_impl.cc using base::TimeDelta; base 26 net/disk_cache/blockfile/entry_impl.cc using base::TimeTicks; base 136 net/disk_cache/blockfile/entry_impl.cc base::WeakPtr<BackendImpl> backend_; base 625 net/disk_cache/blockfile/entry_impl.cc if (stored->hash != base::Hash(GetKey())) base 688 net/disk_cache/blockfile/entry_impl.cc void EntryImpl::SetTimes(base::Time last_used, base::Time last_modified) { base 694 net/disk_cache/blockfile/entry_impl.cc void EntryImpl::ReportIOTime(Operation op, const base::TimeTicks& start) { base 27 net/disk_cache/blockfile/entry_impl.h public base::RefCounted<EntryImpl> { base 28 net/disk_cache/blockfile/entry_impl.h friend class base::RefCounted<EntryImpl>; base 133 net/disk_cache/blockfile/entry_impl.h void SetTimes(base::Time last_used, base::Time last_modified); base 136 net/disk_cache/blockfile/entry_impl.h void ReportIOTime(Operation op, const base::TimeTicks& start); base 153 net/disk_cache/blockfile/entry_impl.h virtual base::Time GetLastUsed() const OVERRIDE; base 154 net/disk_cache/blockfile/entry_impl.h virtual base::Time GetLastModified() const OVERRIDE; base 259 net/disk_cache/blockfile/entry_impl.h base::WeakPtr<BackendImpl> backend_; // Back pointer to the cache. base 260 net/disk_cache/blockfile/entry_impl.h base::WeakPtr<InFlightBackendIO> background_queue_; // In-progress queue. base 24 net/disk_cache/blockfile/entry_impl_v3.cc using base::Time; base 25 net/disk_cache/blockfile/entry_impl_v3.cc using base::TimeDelta; base 26 net/disk_cache/blockfile/entry_impl_v3.cc using base::TimeTicks; base 85 net/disk_cache/blockfile/entry_impl_v3.cc base::WeakPtr<BackendImplV3> backend_; base 387 net/disk_cache/blockfile/entry_impl_v3.cc if (stored->hash != base::Hash(GetKey())) base 436 net/disk_cache/blockfile/entry_impl_v3.cc void EntryImplV3::SetTimes(base::Time last_used, base::Time last_modified) { base 1362 net/disk_cache/blockfile/entry_impl_v3.cc void EntryImplV3::ReportIOTime(Operation op, const base::TimeTicks& start) { base 25 net/disk_cache/blockfile/entry_impl_v3.h public base::RefCounted<EntryImplV3> { base 26 net/disk_cache/blockfile/entry_impl_v3.h friend class base::RefCounted<EntryImplV3>; base 69 net/disk_cache/blockfile/entry_impl_v3.h void SetTimes(base::Time last_used, base::Time last_modified); base 83 net/disk_cache/blockfile/entry_impl_v3.h virtual base::Time GetLastUsed() const OVERRIDE; base 84 net/disk_cache/blockfile/entry_impl_v3.h virtual base::Time GetLastModified() const OVERRIDE; base 183 net/disk_cache/blockfile/entry_impl_v3.h void ReportIOTime(Operation op, const base::TimeTicks& start); base 190 net/disk_cache/blockfile/entry_impl_v3.h base::WeakPtr<BackendImplV3> backend_; // Back pointer to the cache. base 47 net/disk_cache/blockfile/eviction.cc using base::Time; base 48 net/disk_cache/blockfile/eviction.cc using base::TimeTicks; base 149 net/disk_cache/blockfile/eviction.cc base::MessageLoop::current()->PostTask( base 151 net/disk_cache/blockfile/eviction.cc base::Bind(&Eviction::TrimCache, ptr_factory_.GetWeakPtr(), false)); base 217 net/disk_cache/blockfile/eviction.cc base::MessageLoop::current()->PostDelayedTask( base 219 net/disk_cache/blockfile/eviction.cc base::Bind(&Eviction::DelayedTrim, ptr_factory_.GetWeakPtr()), base 220 net/disk_cache/blockfile/eviction.cc base::TimeDelta::FromMilliseconds(1000)); base 370 net/disk_cache/blockfile/eviction.cc base::MessageLoop::current()->PostTask( base 372 net/disk_cache/blockfile/eviction.cc base::Bind(&Eviction::TrimCache, ptr_factory_.GetWeakPtr(), false)); base 383 net/disk_cache/blockfile/eviction.cc base::MessageLoop::current()->PostTask( base 385 net/disk_cache/blockfile/eviction.cc base::Bind(&Eviction::TrimDeleted, ptr_factory_.GetWeakPtr(), empty)); base 516 net/disk_cache/blockfile/eviction.cc base::MessageLoop::current()->PostTask( base 518 net/disk_cache/blockfile/eviction.cc base::Bind(&Eviction::TrimDeleted, ptr_factory_.GetWeakPtr(), false)); base 84 net/disk_cache/blockfile/eviction.h base::WeakPtrFactory<Eviction> ptr_factory_; base 45 net/disk_cache/blockfile/eviction_v3.cc using base::Time; base 46 net/disk_cache/blockfile/eviction_v3.cc using base::TimeTicks; base 154 net/disk_cache/blockfile/eviction_v3.cc base::MessageLoop::current()->PostTask( base 156 net/disk_cache/blockfile/eviction_v3.cc base::Bind(&EvictionV3::TrimCache, ptr_factory_.GetWeakPtr(), false)); base 240 net/disk_cache/blockfile/eviction_v3.cc base::MessageLoop::current()->PostDelayedTask( base 242 net/disk_cache/blockfile/eviction_v3.cc base::Bind(&EvictionV3::DelayedTrim, ptr_factory_.GetWeakPtr()), base 243 net/disk_cache/blockfile/eviction_v3.cc base::TimeDelta::FromMilliseconds(1000)); base 359 net/disk_cache/blockfile/eviction_v3.cc base::MessageLoop::current()->PostTask( base 361 net/disk_cache/blockfile/eviction_v3.cc base::Bind(&Eviction::TrimCache, ptr_factory_.GetWeakPtr(), false)); base 372 net/disk_cache/blockfile/eviction_v3.cc base::MessageLoop::current()->PostTask( base 374 net/disk_cache/blockfile/eviction_v3.cc base::Bind(&EvictionV3::TrimDeleted, ptr_factory_.GetWeakPtr(), empty)); base 413 net/disk_cache/blockfile/eviction_v3.cc base::MessageLoop::current()->PostTask( base 415 net/disk_cache/blockfile/eviction_v3.cc base::Bind(&EvictionV3::TrimDeleted, ptr_factory_.GetWeakPtr(), false)); base 71 net/disk_cache/blockfile/eviction_v3.h base::WeakPtrFactory<EvictionV3> ptr_factory_; base 14 net/disk_cache/blockfile/file.h namespace base { base 32 net/disk_cache/blockfile/file.h class NET_EXPORT_PRIVATE File : public base::RefCounted<File> { base 33 net/disk_cache/blockfile/file.h friend class base::RefCounted<File>; base 42 net/disk_cache/blockfile/file.h explicit File(base::File file); base 46 net/disk_cache/blockfile/file.h bool Init(const base::FilePath& name); base 77 net/disk_cache/blockfile/file.h base::PlatformFile platform_file() const; base 92 net/disk_cache/blockfile/file.h base::File base_file_; // Regular, asynchronous IO handle. base 93 net/disk_cache/blockfile/file.h base::File sync_base_file_; // Synchronous IO handle. base 117 net/disk_cache/blockfile/file_ios.cc base::WorkerPool::PostTask(FROM_HERE, base 118 net/disk_cache/blockfile/file_ios.cc base::Bind(&FileBackgroundIO::Read, operation.get()), true); base 129 net/disk_cache/blockfile/file_ios.cc base::WorkerPool::PostTask(FROM_HERE, base 130 net/disk_cache/blockfile/file_ios.cc base::Bind(&FileBackgroundIO::Write, operation.get()), true); base 169 net/disk_cache/blockfile/file_ios.cc File::File(base::File file) base 175 net/disk_cache/blockfile/file_ios.cc bool File::Init(const base::FilePath& name) { base 179 net/disk_cache/blockfile/file_ios.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 180 net/disk_cache/blockfile/file_ios.cc base::File::FLAG_WRITE; base 280 net/disk_cache/blockfile/file_ios.cc base::PlatformFile File::platform_file() const { base 14 net/disk_cache/blockfile/file_lock.cc base::subtle::MemoryBarrier(); base 22 net/disk_cache/blockfile/file_posix.cc class FileWorkerPool : public base::SequencedWorkerPool { base 24 net/disk_cache/blockfile/file_posix.cc FileWorkerPool() : base::SequencedWorkerPool(kMaxThreads, "CachePool") {} base 30 net/disk_cache/blockfile/file_posix.cc base::LazyInstance<FileWorkerPool>::Leaky s_worker_pool = base 37 net/disk_cache/blockfile/file_posix.cc File::File(base::File file) base 43 net/disk_cache/blockfile/file_posix.cc bool File::Init(const base::FilePath& name) { base 47 net/disk_cache/blockfile/file_posix.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | base 48 net/disk_cache/blockfile/file_posix.cc base::File::FLAG_WRITE; base 94 net/disk_cache/blockfile/file_posix.cc base::PostTaskAndReplyWithResult( base 96 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::DoRead, this, buffer, buffer_len, offset), base 97 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::OnOperationComplete, this, callback)); base 117 net/disk_cache/blockfile/file_posix.cc base::PostTaskAndReplyWithResult( base 119 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::DoWrite, this, buffer, buffer_len, offset), base 120 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::OnOperationComplete, this, callback)); base 150 net/disk_cache/blockfile/file_posix.cc base::RunLoop().RunUntilIdle(); base 161 net/disk_cache/blockfile/file_posix.cc base::PlatformFile File::platform_file() const { base 24 net/disk_cache/blockfile/file_win.cc base::MessageLoopForIO::IOContext context_; base 32 net/disk_cache/blockfile/file_win.cc class CompletionHandler : public base::MessageLoopForIO::IOHandler { base 33 net/disk_cache/blockfile/file_win.cc virtual void OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 38 net/disk_cache/blockfile/file_win.cc static base::LazyInstance<CompletionHandler> g_completion_handler = base 42 net/disk_cache/blockfile/file_win.cc base::MessageLoopForIO::IOContext* context, base 72 net/disk_cache/blockfile/file_win.cc File::File(base::File file) base 78 net/disk_cache/blockfile/file_win.cc bool File::Init(const base::FilePath& name) { base 86 net/disk_cache/blockfile/file_win.cc base::File(CreateFile(name.value().c_str(), access, sharing, NULL, base 92 net/disk_cache/blockfile/file_win.cc base::MessageLoopForIO::current()->RegisterIOHandler( base 97 net/disk_cache/blockfile/file_win.cc base::File(CreateFile(name.value().c_str(), access, sharing, NULL, base 183 net/disk_cache/blockfile/file_win.cc base::PlatformFile File::platform_file() const { base 248 net/disk_cache/blockfile/file_win.cc base::MessageLoopForIO::IOHandler* handler = g_completion_handler.Pointer(); base 249 net/disk_cache/blockfile/file_win.cc base::MessageLoopForIO::current()->WaitForIOCompletion(100, handler); base 21 net/disk_cache/blockfile/histogram_macros.h base::HistogramBase* counter = base::Histogram::FactoryGet( \ base 23 net/disk_cache/blockfile/histogram_macros.h base::Histogram::kUmaTargetedHistogramFlag); \ base 38 net/disk_cache/blockfile/histogram_macros.h base::HistogramBase* counter = base::Histogram::FactoryTimeGet( \ base 40 net/disk_cache/blockfile/histogram_macros.h base::Histogram::kUmaTargetedHistogramFlag); \ base 45 net/disk_cache/blockfile/histogram_macros.h name, sample, base::TimeDelta::FromMilliseconds(1), \ base 46 net/disk_cache/blockfile/histogram_macros.h base::TimeDelta::FromSeconds(10), 50) base 49 net/disk_cache/blockfile/histogram_macros.h base::HistogramBase* counter = base::LinearHistogram::FactoryGet( \ base 51 net/disk_cache/blockfile/histogram_macros.h base::Histogram::kUmaTargetedHistogramFlag); \ base 68 net/disk_cache/blockfile/histogram_macros.h (base::Time::Now() - initial_time).InHours()) base 73 net/disk_cache/blockfile/histogram_macros.h CACHE_HISTOGRAM_TIMES(name, base::TimeTicks::Now() - initial_time) base 22 net/disk_cache/blockfile/histogram_macros_v3.h base::HistogramBase* counter(NULL); \ base 24 net/disk_cache/blockfile/histogram_macros_v3.h counter = base::Histogram::FactoryGet( \ base 26 net/disk_cache/blockfile/histogram_macros_v3.h base::Histogram::kUmaTargetedHistogramFlag); \ base 41 net/disk_cache/blockfile/histogram_macros_v3.h base::HistogramBase* counter(NULL); \ base 43 net/disk_cache/blockfile/histogram_macros_v3.h counter = base::Histogram::FactoryTimeGet( \ base 45 net/disk_cache/blockfile/histogram_macros_v3.h base::Histogram::kUmaTargetedHistogramFlag); \ base 50 net/disk_cache/blockfile/histogram_macros_v3.h name, sample, base::TimeDelta::FromMilliseconds(1), \ base 51 net/disk_cache/blockfile/histogram_macros_v3.h base::TimeDelta::FromSeconds(10), 50) base 54 net/disk_cache/blockfile/histogram_macros_v3.h base::HistogramBase* counter(NULL); \ base 56 net/disk_cache/blockfile/histogram_macros_v3.h counter = base::LinearHistogram::FactoryGet( \ base 58 net/disk_cache/blockfile/histogram_macros_v3.h base::Histogram::kUmaTargetedHistogramFlag); \ base 75 net/disk_cache/blockfile/histogram_macros_v3.h (base::Time::Now() - initial_time).InHours()) base 80 net/disk_cache/blockfile/histogram_macros_v3.h CACHE_HISTOGRAM_TIMES(name, base::TimeTicks::Now() - initial_time) base 37 net/disk_cache/blockfile/in_flight_backend_io.cc start_time_ = base::TimeTicks::Now(); base 106 net/disk_cache/blockfile/in_flight_backend_io.cc void BackendIO::DoomEntriesBetween(const base::Time initial_time, base 107 net/disk_cache/blockfile/in_flight_backend_io.cc const base::Time end_time) { base 113 net/disk_cache/blockfile/in_flight_backend_io.cc void BackendIO::DoomEntriesSince(const base::Time initial_time) { base 154 net/disk_cache/blockfile/in_flight_backend_io.cc void BackendIO::RunTask(const base::Closure& task) { base 224 net/disk_cache/blockfile/in_flight_backend_io.cc base::TimeDelta BackendIO::ElapsedTime() const { base 225 net/disk_cache/blockfile/in_flight_backend_io.cc return base::TimeTicks::Now() - start_time_; base 295 net/disk_cache/blockfile/in_flight_backend_io.cc base::Bind(&BackendIO::OnIOComplete, this)); base 300 net/disk_cache/blockfile/in_flight_backend_io.cc base::Bind(&BackendIO::OnIOComplete, this), base 306 net/disk_cache/blockfile/in_flight_backend_io.cc base::Bind(&BackendIO::OnIOComplete, this)); base 311 net/disk_cache/blockfile/in_flight_backend_io.cc base::Bind(&BackendIO::OnIOComplete, this)); base 322 net/disk_cache/blockfile/in_flight_backend_io.cc base::Bind(&BackendIO::OnIOComplete, this)); base 334 net/disk_cache/blockfile/in_flight_backend_io.cc base::MessageLoopProxy* background_thread) base 377 net/disk_cache/blockfile/in_flight_backend_io.cc void InFlightBackendIO::DoomEntriesBetween(const base::Time initial_time, base 378 net/disk_cache/blockfile/in_flight_backend_io.cc const base::Time end_time, base 386 net/disk_cache/blockfile/in_flight_backend_io.cc const base::Time initial_time, const net::CompletionCallback& callback) { base 441 net/disk_cache/blockfile/in_flight_backend_io.cc const base::Closure& task, const net::CompletionCallback& callback) { base 517 net/disk_cache/blockfile/in_flight_backend_io.cc base::Bind(&BackendIO::ExecuteOperation, operation)); base 521 net/disk_cache/blockfile/in_flight_backend_io.cc base::WeakPtr<InFlightBackendIO> InFlightBackendIO::GetWeakPtr() { base 54 net/disk_cache/blockfile/in_flight_backend_io.h void DoomEntriesBetween(const base::Time initial_time, base 55 net/disk_cache/blockfile/in_flight_backend_io.h const base::Time end_time); base 56 net/disk_cache/blockfile/in_flight_backend_io.h void DoomEntriesSince(const base::Time initial_time); base 64 net/disk_cache/blockfile/in_flight_backend_io.h void RunTask(const base::Closure& task); base 116 net/disk_cache/blockfile/in_flight_backend_io.h base::TimeDelta ElapsedTime() const; base 128 net/disk_cache/blockfile/in_flight_backend_io.h base::Time initial_time_; base 129 net/disk_cache/blockfile/in_flight_backend_io.h base::Time end_time_; base 140 net/disk_cache/blockfile/in_flight_backend_io.h base::TimeTicks start_time_; base 141 net/disk_cache/blockfile/in_flight_backend_io.h base::Closure task_; base 150 net/disk_cache/blockfile/in_flight_backend_io.h base::MessageLoopProxy* background_thread); base 162 net/disk_cache/blockfile/in_flight_backend_io.h void DoomEntriesBetween(const base::Time initial_time, base 163 net/disk_cache/blockfile/in_flight_backend_io.h const base::Time end_time, base 165 net/disk_cache/blockfile/in_flight_backend_io.h void DoomEntriesSince(const base::Time initial_time, base 176 net/disk_cache/blockfile/in_flight_backend_io.h void RunTask(const base::Closure& task, base 196 net/disk_cache/blockfile/in_flight_backend_io.h scoped_refptr<base::MessageLoopProxy> background_thread() { base 205 net/disk_cache/blockfile/in_flight_backend_io.h base::WeakPtr<InFlightBackendIO> GetWeakPtr(); base 215 net/disk_cache/blockfile/in_flight_backend_io.h scoped_refptr<base::MessageLoopProxy> background_thread_; base 216 net/disk_cache/blockfile/in_flight_backend_io.h base::WeakPtrFactory<InFlightBackendIO> ptr_factory_; base 26 net/disk_cache/blockfile/in_flight_io.cc base::AutoLock lock(controller_lock_); base 37 net/disk_cache/blockfile/in_flight_io.cc : callback_thread_(base::MessageLoopProxy::current()), base 46 net/disk_cache/blockfile/in_flight_io.cc base::AutoLock lock(controller_lock_); base 79 net/disk_cache/blockfile/in_flight_io.cc base::Bind(&BackgroundIO::OnIOSignalled, base 88 net/disk_cache/blockfile/in_flight_io.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 20 net/disk_cache/blockfile/in_flight_io.h class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> { base 44 net/disk_cache/blockfile/in_flight_io.h base::WaitableEvent* io_completed() { base 58 net/disk_cache/blockfile/in_flight_io.h friend class base::RefCountedThreadSafe<BackgroundIO>; base 61 net/disk_cache/blockfile/in_flight_io.h base::WaitableEvent io_completed_; base 63 net/disk_cache/blockfile/in_flight_io.h base::Lock controller_lock_; // A lock protecting clearing of controller_. base 126 net/disk_cache/blockfile/in_flight_io.h scoped_refptr<base::MessageLoopProxy> callback_thread_; base 16 net/disk_cache/blockfile/index_table_v3.cc using base::Time; base 17 net/disk_cache/blockfile/index_table_v3.cc using base::TimeDelta; base 465 net/disk_cache/blockfile/index_table_v3.cc DCHECK_EQ(base::bits::Log2Floor(header_->table_len), base 466 net/disk_cache/blockfile/index_table_v3.cc base::bits::Log2Floor(backup_header_->table_len) + 1); base 488 net/disk_cache/blockfile/index_table_v3.cc extra_bits_ = base::bits::Log2Floor(header_->table_len) - base 489 net/disk_cache/blockfile/index_table_v3.cc base::bits::Log2Floor(kBaseTableLen); base 677 net/disk_cache/blockfile/index_table_v3.cc base::Time IndexTable::TimeFromTimestamp(int timestamp) { base 730 net/disk_cache/blockfile/index_table_v3.cc void IndexTable::UpdateTime(uint32 hash, Addr address, base::Time current) { base 200 net/disk_cache/blockfile/index_table_v3.h int CalculateTimestamp(base::Time time); base 203 net/disk_cache/blockfile/index_table_v3.h base::Time TimeFromTimestamp(int timestamp); base 207 net/disk_cache/blockfile/index_table_v3.h void UpdateTime(uint32 hash, Addr address, base::Time current); base 59 net/disk_cache/blockfile/index_table_v3_unittest.cc base::Time start_time() const { return start_time_; } base 65 net/disk_cache/blockfile/index_table_v3_unittest.cc base::Time start_time_; base 94 net/disk_cache/blockfile/index_table_v3_unittest.cc start_time_ = base::Time::Now(); base 97 net/disk_cache/blockfile/index_table_v3_unittest.cc (start_time_ - base::TimeDelta::FromDays(20)).ToInternalValue(); base 430 net/disk_cache/blockfile/index_table_v3_unittest.cc base::TimeDelta::FromSeconds(59)); base 434 net/disk_cache/blockfile/index_table_v3_unittest.cc base::TimeDelta::FromSeconds(61)); base 438 net/disk_cache/blockfile/index_table_v3_unittest.cc base::TimeDelta::FromSeconds(119)); base 442 net/disk_cache/blockfile/index_table_v3_unittest.cc base::TimeDelta::FromSeconds(121)); base 446 net/disk_cache/blockfile/index_table_v3_unittest.cc base::TimeDelta::FromSeconds(30)); base 451 net/disk_cache/blockfile/index_table_v3_unittest.cc base::TimeDelta::FromDays(20)); base 453 net/disk_cache/blockfile/index_table_v3_unittest.cc base::TimeDelta::FromDays(35)); base 458 net/disk_cache/blockfile/index_table_v3_unittest.cc base::TimeDelta::FromDays(19)); base 471 net/disk_cache/blockfile/index_table_v3_unittest.cc base::Time time = cache.start_time(); base 501 net/disk_cache/blockfile/index_table_v3_unittest.cc time += base::TimeDelta::FromMinutes(1); base 14 net/disk_cache/blockfile/mapped_file.h namespace base { base 31 net/disk_cache/blockfile/mapped_file.h void* Init(const base::FilePath& name, size_t size); base 14 net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc void* MappedFile::Init(const base::FilePath& name, size_t size) { base 16 net/disk_cache/blockfile/mapped_file_posix.cc void* MappedFile::Init(const base::FilePath& name, size_t size) { base 62 net/disk_cache/blockfile/mapped_file_unittest.cc base::FilePath filename = cache_path_.AppendASCII("a_test"); base 70 net/disk_cache/blockfile/mapped_file_unittest.cc base::strlcpy(buffer1, "the data", arraysize(buffer1)); base 77 net/disk_cache/blockfile/mapped_file_unittest.cc base::FilePath filename = cache_path_.AppendASCII("a_test"); base 89 net/disk_cache/blockfile/mapped_file_unittest.cc base::strlcpy(buffer1, "the data", arraysize(buffer1)); base 111 net/disk_cache/blockfile/mapped_file_unittest.cc base::FilePath filename = cache_path_.AppendASCII("a_test"); base 122 net/disk_cache/blockfile/mapped_file_unittest.cc base::strlcpy(static_cast<char*>(file_block1.buffer()), "the data", base 14 net/disk_cache/blockfile/mapped_file_win.cc void* MappedFile::Init(const base::FilePath& name, size_t size) { base 18 net/disk_cache/blockfile/rankings.cc using base::Time; base 19 net/disk_cache/blockfile/rankings.cc using base::TimeTicks; base 186 net/disk_cache/blockfile/rankings.cc base::Time now = base::Time::Now(); base 21 net/disk_cache/blockfile/sparse_control.cc using base::Time; base 47 net/disk_cache/blockfile/sparse_control.cc return base::StringPrintf("Range_%s:%" PRIx64 ":%" PRIx64, base_name.c_str(), base 53 net/disk_cache/blockfile/sparse_control.cc : public base::RefCounted<ChildrenDeleter>, base 72 net/disk_cache/blockfile/sparse_control.cc base::WeakPtr<disk_cache::BackendImpl> backend_; base 139 net/disk_cache/blockfile/sparse_control.cc base::MessageLoop::current()->PostTask( base 140 net/disk_cache/blockfile/sparse_control.cc FROM_HERE, base::Bind(&ChildrenDeleter::DeleteChildren, this)); base 362 net/disk_cache/blockfile/sparse_control.cc base::MessageLoop::current()->PostTask( base 364 net/disk_cache/blockfile/sparse_control.cc base::Bind(&ChildrenDeleter::Start, deleter, buffer, data_len)); base 366 net/disk_cache/blockfile/sparse_control.cc base::MessageLoop::current()->PostTask( base 368 net/disk_cache/blockfile/sparse_control.cc base::Bind(&ChildrenDeleter::ReadData, deleter, address, data_len)); base 718 net/disk_cache/blockfile/sparse_control.cc base::Bind(&SparseControl::OnChildIOCompleted, base::Unretained(this)); base 21 net/disk_cache/blockfile/sparse_control_v3.cc using base::Time; base 47 net/disk_cache/blockfile/sparse_control_v3.cc return base::StringPrintf("Range_%s:%" PRIx64 ":%" PRIx64, base_name.c_str(), base 53 net/disk_cache/blockfile/sparse_control_v3.cc : public base::RefCounted<ChildrenDeleter>, base 72 net/disk_cache/blockfile/sparse_control_v3.cc base::WeakPtr<disk_cache::BackendImpl> backend_; base 139 net/disk_cache/blockfile/sparse_control_v3.cc base::MessageLoop::current()->PostTask( base 140 net/disk_cache/blockfile/sparse_control_v3.cc FROM_HERE, base::Bind(&ChildrenDeleter::DeleteChildren, this)); base 341 net/disk_cache/blockfile/sparse_control_v3.cc base::MessageLoop::current()->PostTask( base 343 net/disk_cache/blockfile/sparse_control_v3.cc base::Bind(&ChildrenDeleter::Start, deleter, buffer, data_len)); base 345 net/disk_cache/blockfile/sparse_control_v3.cc base::MessageLoop::current()->PostTask( base 347 net/disk_cache/blockfile/sparse_control_v3.cc base::Bind(&ChildrenDeleter::ReadData, deleter, address, data_len)); base 560 net/disk_cache/blockfile/sparse_control_v3.cc base::Bind(&SparseControl::OnChildIOCompleted, base::Unretained(this)); base 179 net/disk_cache/blockfile/stats.cc item.first = base::StringPrintf("Size%02d", i); base 180 net/disk_cache/blockfile/stats.cc item.second = base::StringPrintf("0x%08x", data_sizes_[i]); base 186 net/disk_cache/blockfile/stats.cc item.second = base::StringPrintf("0x%" PRIx64, counters_[i]); base 251 net/disk_cache/blockfile/stats.cc void Stats::Snapshot(base::HistogramSamples* samples) const { base 15 net/disk_cache/blockfile/stats.h namespace base { base 89 net/disk_cache/blockfile/stats.h void Snapshot(base::HistogramSamples* samples) const; base 17 net/disk_cache/blockfile/stats_histogram.cc using base::BucketRanges; base 18 net/disk_cache/blockfile/stats_histogram.cc using base::Histogram; base 19 net/disk_cache/blockfile/stats_histogram.cc using base::HistogramSamples; base 20 net/disk_cache/blockfile/stats_histogram.cc using base::SampleVector; base 21 net/disk_cache/blockfile/stats_histogram.cc using base::StatisticsRecorder; base 64 net/disk_cache/blockfile/stats_histogram.cc DCHECK(base::HISTOGRAM == histogram->GetHistogramType()); base 13 net/disk_cache/blockfile/stats_histogram.h namespace base { base 30 net/disk_cache/blockfile/stats_histogram.h class StatsHistogram : public base::Histogram { base 35 net/disk_cache/blockfile/stats_histogram.h const base::BucketRanges* ranges, base 40 net/disk_cache/blockfile/stats_histogram.h base::BucketRanges* ranges); base 47 net/disk_cache/blockfile/stats_histogram.h virtual scoped_ptr<base::HistogramSamples> SnapshotSamples() const OVERRIDE; base 49 net/disk_cache/blockfile/stats_histogram.h const base::HistogramSamples& samples) const OVERRIDE; base 200 net/disk_cache/blockfile/storage_block-inl.h return base::Hash(reinterpret_cast<char*>(data_), offsetof(T, self_hash)); base 16 net/disk_cache/blockfile/storage_block_unittest.cc base::FilePath filename = cache_path_.AppendASCII("a_test"); base 36 net/disk_cache/blockfile/storage_block_unittest.cc base::FilePath filename = cache_path_.AppendASCII("a_test"); base 56 net/disk_cache/blockfile/storage_block_unittest.cc base::FilePath filename = cache_path_.AppendASCII("a_test"); base 49 net/disk_cache/blockfile/stress_cache.cc using base::Time; base 56 net/disk_cache/blockfile/stress_cache.cc base::FilePath exe; base 57 net/disk_cache/blockfile/stress_cache.cc PathService::Get(base::FILE_EXE, &exe); base 60 net/disk_cache/blockfile/stress_cache.cc cmdline.AppendArg(base::IntToString(iteration)); base 62 net/disk_cache/blockfile/stress_cache.cc base::ProcessHandle handle; base 63 net/disk_cache/blockfile/stress_cache.cc if (!base::LaunchProcess(cmdline, base::LaunchOptions(), &handle)) { base 69 net/disk_cache/blockfile/stress_cache.cc if (!base::WaitForExitCode(handle, &exit_code)) { base 107 net/disk_cache/blockfile/stress_cache.cc base::FilePath path; base 108 net/disk_cache/blockfile/stress_cache.cc PathService::Get(base::DIR_TEMP, &path); base 111 net/disk_cache/blockfile/stress_cache.cc base::Thread cache_thread("CacheThread"); base 113 net/disk_cache/blockfile/stress_cache.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))) base 171 net/disk_cache/blockfile/stress_cache.cc base::snprintf(buffer->data(), kSize, base 195 net/disk_cache/blockfile/stress_cache.cc void RunSoon(base::MessageLoop* target_loop); base 199 net/disk_cache/blockfile/stress_cache.cc RunSoon(base::MessageLoop::current()); base 208 net/disk_cache/blockfile/stress_cache.cc base::KillProcessById(base::GetCurrentProcId(), kExpectedCrash, false); base 217 net/disk_cache/blockfile/stress_cache.cc void RunSoon(base::MessageLoop* target_loop) { base 218 net/disk_cache/blockfile/stress_cache.cc const base::TimeDelta kTaskDelay = base::TimeDelta::FromSeconds(10); base 220 net/disk_cache/blockfile/stress_cache.cc FROM_HERE, base::Bind(&CrashCallback), kTaskDelay); base 225 net/disk_cache/blockfile/stress_cache.cc base::Thread* thread = new base::Thread("party_crasher"); base 235 net/disk_cache/blockfile/stress_cache.cc base::debug::BreakDebugger(); base 263 net/disk_cache/blockfile/stress_cache.cc base::AtExitManager at_exit_manager; base 281 net/disk_cache/blockfile/stress_cache.cc base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(3)); base 282 net/disk_cache/blockfile/stress_cache.cc base::MessageLoopForIO message_loop; base 36 net/disk_cache/blockfile/trace.cc base::LazyInstance<base::Lock>::Leaky s_lock = LAZY_INSTANCE_INITIALIZER; base 65 net/disk_cache/blockfile/trace.cc base::AutoLock lock(s_lock.Get()); base 83 net/disk_cache/blockfile/trace.cc base::AutoLock lock(s_lock.Get()); base 101 net/disk_cache/blockfile/trace.cc base::AutoLock lock(s_lock.Get()); base 130 net/disk_cache/blockfile/trace.cc base::AutoLock lock(s_lock.Get()); base 24 net/disk_cache/blockfile/trace.h class TraceObject : public base::RefCounted<TraceObject> { base 25 net/disk_cache/blockfile/trace.h friend class base::RefCounted<TraceObject>; base 27 net/disk_cache/cache_creator.cc CacheCreator(const base::FilePath& path, bool force, int max_bytes, base 29 net/disk_cache/cache_creator.cc base::MessageLoopProxy* thread, net::NetLog* net_log, base 43 net/disk_cache/cache_creator.cc const base::FilePath path_; base 50 net/disk_cache/cache_creator.cc scoped_refptr<base::MessageLoopProxy> thread_; base 60 net/disk_cache/cache_creator.cc const base::FilePath& path, bool force, int max_bytes, base 62 net/disk_cache/cache_creator.cc base::MessageLoopProxy* thread, net::NetLog* net_log, base 95 net/disk_cache/cache_creator.cc base::Bind(&CacheCreator::OnIOComplete, base::Unretained(this))); base 109 net/disk_cache/cache_creator.cc base::Bind(&CacheCreator::OnIOComplete, base::Unretained(this))); base 157 net/disk_cache/cache_creator.cc const base::FilePath& path, base 159 net/disk_cache/cache_creator.cc bool force, base::MessageLoopProxy* thread, base 23 net/disk_cache/cache_util.cc base::FilePath GetPrefixedName(const base::FilePath& path, base 26 net/disk_cache/cache_util.cc std::string tmp = base::StringPrintf("%s%s_%03d", "old_", base 32 net/disk_cache/cache_util.cc void CleanupCallback(const base::FilePath& path, const std::string& name) { base 34 net/disk_cache/cache_util.cc base::FilePath to_delete = GetPrefixedName(path, name, i); base 41 net/disk_cache/cache_util.cc base::FilePath GetTempCacheName(const base::FilePath& path, base 45 net/disk_cache/cache_util.cc base::FilePath to_delete = GetPrefixedName(path, name, i); base 46 net/disk_cache/cache_util.cc if (!base::PathExists(to_delete)) base 49 net/disk_cache/cache_util.cc return base::FilePath(); base 83 net/disk_cache/cache_util.cc void DeleteCache(const base::FilePath& path, bool remove_folder) { base 85 net/disk_cache/cache_util.cc if (!base::DeleteFile(path, /* recursive */ true)) base 90 net/disk_cache/cache_util.cc base::FileEnumerator iter( base 93 net/disk_cache/cache_util.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); base 94 net/disk_cache/cache_util.cc for (base::FilePath file = iter.Next(); !file.value().empty(); base 96 net/disk_cache/cache_util.cc if (!base::DeleteFile(file, /* recursive */ true)) { base 109 net/disk_cache/cache_util.cc bool DelayedCacheCleanup(const base::FilePath& full_path) { base 112 net/disk_cache/cache_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 114 net/disk_cache/cache_util.cc base::FilePath current_path = full_path.StripTrailingSeparators(); base 116 net/disk_cache/cache_util.cc base::FilePath path = current_path.DirName(); base 117 net/disk_cache/cache_util.cc base::FilePath name = current_path.BaseName(); base 122 net/disk_cache/cache_util.cc std::string name_str = base::UTF16ToASCII(name.value()); base 125 net/disk_cache/cache_util.cc base::FilePath to_delete = GetTempCacheName(path, name_str); base 137 net/disk_cache/cache_util.cc base::WorkerPool::PostTask( base 138 net/disk_cache/cache_util.cc FROM_HERE, base::Bind(&CleanupCallback, path, name_str), true); base 12 net/disk_cache/cache_util.h namespace base { base 24 net/disk_cache/cache_util.h NET_EXPORT_PRIVATE bool MoveCache(const base::FilePath& from_path, base 25 net/disk_cache/cache_util.h const base::FilePath& to_path); base 29 net/disk_cache/cache_util.h NET_EXPORT_PRIVATE void DeleteCache(const base::FilePath& path, base 33 net/disk_cache/cache_util.h NET_EXPORT_PRIVATE bool DeleteCacheFile(const base::FilePath& name); base 37 net/disk_cache/cache_util.h bool DelayedCacheCleanup(const base::FilePath& full_path); base 14 net/disk_cache/cache_util_posix.cc bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) { base 22 net/disk_cache/cache_util_posix.cc if (!base::CreateDirectory(to_path)) { base 26 net/disk_cache/cache_util_posix.cc base::FileEnumerator iter(from_path, false /* not recursive */, base 27 net/disk_cache/cache_util_posix.cc base::FileEnumerator::DIRECTORIES | base::FileEnumerator::FILES); base 28 net/disk_cache/cache_util_posix.cc for (base::FilePath name = iter.Next(); !name.value().empty(); base 30 net/disk_cache/cache_util_posix.cc base::FilePath destination = to_path.Append(name.BaseName()); base 31 net/disk_cache/cache_util_posix.cc if (!base::Move(name, destination)) { base 38 net/disk_cache/cache_util_posix.cc return base::Move(from_path, to_path); base 42 net/disk_cache/cache_util_posix.cc bool DeleteCacheFile(const base::FilePath& name) { base 43 net/disk_cache/cache_util_posix.cc return base::DeleteFile(name, false); base 19 net/disk_cache/cache_util_unittest.cc file1_ = base::FilePath(cache_dir_.Append(FILE_PATH_LITERAL("file01"))); base 20 net/disk_cache/cache_util_unittest.cc file2_ = base::FilePath(cache_dir_.Append(FILE_PATH_LITERAL(".file02"))); base 21 net/disk_cache/cache_util_unittest.cc dir1_ = base::FilePath(cache_dir_.Append(FILE_PATH_LITERAL("dir01"))); base 22 net/disk_cache/cache_util_unittest.cc file3_ = base::FilePath(dir1_.Append(FILE_PATH_LITERAL("file03"))); base 23 net/disk_cache/cache_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(cache_dir_)); base 24 net/disk_cache/cache_util_unittest.cc FILE *fp = base::OpenFile(file1_, "w"); base 26 net/disk_cache/cache_util_unittest.cc base::CloseFile(fp); base 27 net/disk_cache/cache_util_unittest.cc fp = base::OpenFile(file2_, "w"); base 29 net/disk_cache/cache_util_unittest.cc base::CloseFile(fp); base 30 net/disk_cache/cache_util_unittest.cc ASSERT_TRUE(base::CreateDirectory(dir1_)); base 31 net/disk_cache/cache_util_unittest.cc fp = base::OpenFile(file3_, "w"); base 33 net/disk_cache/cache_util_unittest.cc base::CloseFile(fp); base 35 net/disk_cache/cache_util_unittest.cc dest_file1_ = base::FilePath(dest_dir_.Append(FILE_PATH_LITERAL("file01"))); base 37 net/disk_cache/cache_util_unittest.cc base::FilePath(dest_dir_.Append(FILE_PATH_LITERAL(".file02"))); base 38 net/disk_cache/cache_util_unittest.cc dest_dir1_ = base::FilePath(dest_dir_.Append(FILE_PATH_LITERAL("dir01"))); base 42 net/disk_cache/cache_util_unittest.cc base::ScopedTempDir tmp_dir_; base 43 net/disk_cache/cache_util_unittest.cc base::FilePath cache_dir_; base 44 net/disk_cache/cache_util_unittest.cc base::FilePath file1_; base 45 net/disk_cache/cache_util_unittest.cc base::FilePath file2_; base 46 net/disk_cache/cache_util_unittest.cc base::FilePath dir1_; base 47 net/disk_cache/cache_util_unittest.cc base::FilePath file3_; base 48 net/disk_cache/cache_util_unittest.cc base::FilePath dest_dir_; base 49 net/disk_cache/cache_util_unittest.cc base::FilePath dest_file1_; base 50 net/disk_cache/cache_util_unittest.cc base::FilePath dest_file2_; base 51 net/disk_cache/cache_util_unittest.cc base::FilePath dest_dir1_; base 56 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(base::PathExists(dest_dir_)); base 57 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(base::PathExists(dest_file1_)); base 58 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(base::PathExists(dest_file2_)); base 59 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(base::PathExists(dest_dir1_)); base 61 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(base::PathExists(cache_dir_)); // old cache dir stays base 63 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(cache_dir_)); // old cache is gone base 65 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(file1_)); base 66 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(file2_)); base 67 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(dir1_)); base 72 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(base::PathExists(cache_dir_)); // cache dir stays base 73 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(dir1_)); base 74 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(file1_)); base 75 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(file2_)); base 76 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(file3_)); base 81 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(cache_dir_)); // cache dir is gone base 82 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(dir1_)); base 83 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(file1_)); base 84 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(file2_)); base 85 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(file3_)); base 90 net/disk_cache/cache_util_unittest.cc EXPECT_FALSE(base::PathExists(file1_)); base 91 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(base::PathExists(cache_dir_)); // cache dir stays base 92 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(base::PathExists(dir1_)); base 93 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(base::PathExists(file3_)); base 16 net/disk_cache/cache_util_win.cc bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) { base 26 net/disk_cache/cache_util_win.cc bool DeleteCacheFile(const base::FilePath& name) { base 36 net/disk_cache/cache_util_win.cc base::win::ScopedHandle file(CreateFile( base 20 net/disk_cache/disk_cache.h namespace base { base 52 net/disk_cache/disk_cache.h const base::FilePath& path, base 55 net/disk_cache/disk_cache.h base::MessageLoopProxy* thread, base 112 net/disk_cache/disk_cache.h virtual int DoomEntriesBetween(base::Time initial_time, base 113 net/disk_cache/disk_cache.h base::Time end_time, base 119 net/disk_cache/disk_cache.h virtual int DoomEntriesSince(base::Time initial_time, base 175 net/disk_cache/disk_cache.h virtual base::Time GetLastUsed() const = 0; base 178 net/disk_cache/disk_cache.h virtual base::Time GetLastModified() const = 0; base 25 net/disk_cache/disk_cache_test_base.cc if (!base::MessageLoop::current()) base 26 net/disk_cache/disk_cache_test_base.cc message_loop_.reset(new base::MessageLoopForIO()); base 33 net/disk_cache/disk_cache_test_base.cc base::FilePath path; base 34 net/disk_cache/disk_cache_test_base.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 42 net/disk_cache/disk_cache_test_base.cc return base::CopyDirectory(path, cache_path_, false); base 50 net/disk_cache/disk_cache_test_base.cc base::RunLoop().RunUntilIdle(); base 141 net/disk_cache/disk_cache_test_base.cc int DiskCacheTestWithCache::DoomEntriesBetween(const base::Time initial_time, base 142 net/disk_cache/disk_cache_test_base.cc const base::Time end_time) { base 148 net/disk_cache/disk_cache_test_base.cc int DiskCacheTestWithCache::DoomEntriesSince(const base::Time initial_time) { base 170 net/disk_cache/disk_cache_test_base.cc void DiskCacheTestWithCache::RunTaskForTest(const base::Closure& closure) { base 213 net/disk_cache/disk_cache_test_base.cc RunTaskForTest(base::Bind(&disk_cache::BackendImpl::TrimForTest, base 214 net/disk_cache/disk_cache_test_base.cc base::Unretained(cache_impl_), base 219 net/disk_cache/disk_cache_test_base.cc RunTaskForTest(base::Bind(&disk_cache::BackendImpl::TrimDeletedListForTest, base 220 net/disk_cache/disk_cache_test_base.cc base::Unretained(cache_impl_), base 229 net/disk_cache/disk_cache_test_base.cc const base::Time initial_time = base::Time::Now(); base 231 net/disk_cache/disk_cache_test_base.cc base::PlatformThread::YieldCurrentThread(); base 232 net/disk_cache/disk_cache_test_base.cc } while (base::Time::Now() - base 233 net/disk_cache/disk_cache_test_base.cc initial_time < base::TimeDelta::FromSeconds(1)); base 236 net/disk_cache/disk_cache_test_base.cc base::Time initial = base::Time::Now(); base 237 net/disk_cache/disk_cache_test_base.cc while (base::Time::Now() <= initial) { base 238 net/disk_cache/disk_cache_test_base.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(1)); base 243 net/disk_cache/disk_cache_test_base.cc base::RunLoop().RunUntilIdle(); base 245 net/disk_cache/disk_cache_test_base.cc base::RunLoop().RunUntilIdle(); base 253 net/disk_cache/disk_cache_test_base.cc base::RunLoop().RunUntilIdle(); base 275 net/disk_cache/disk_cache_test_base.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 282 net/disk_cache/disk_cache_test_base.cc void DiskCacheTestWithCache::CreateBackend(uint32 flags, base::Thread* thread) { base 283 net/disk_cache/disk_cache_test_base.cc base::MessageLoopProxy* runner; base 285 net/disk_cache/disk_cache_test_base.cc runner = base::MessageLoopProxy::current().get(); base 50 net/disk_cache/disk_cache_test_base.h base::FilePath cache_path_; base 53 net/disk_cache/disk_cache_test_base.h base::ScopedTempDir temp_dir_; base 54 net/disk_cache/disk_cache_test_base.h scoped_ptr<base::MessageLoop> message_loop_; base 63 net/disk_cache/disk_cache_test_base.h void CreateBackend(uint32 flags, base::Thread* thread); base 117 net/disk_cache/disk_cache_test_base.h int DoomEntriesBetween(const base::Time initial_time, base 118 net/disk_cache/disk_cache_test_base.h const base::Time end_time); base 119 net/disk_cache/disk_cache_test_base.h int DoomEntriesSince(const base::Time initial_time); base 122 net/disk_cache/disk_cache_test_base.h void RunTaskForTest(const base::Closure& closure); base 172 net/disk_cache/disk_cache_test_base.h base::Thread cache_thread_; base 17 net/disk_cache/disk_cache_test_util.cc using base::Time; base 18 net/disk_cache/disk_cache_test_util.cc using base::TimeDelta; base 45 net/disk_cache/disk_cache_test_util.cc bool CreateCacheTestFile(const base::FilePath& name) { base 46 net/disk_cache/disk_cache_test_util.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_READ | base 47 net/disk_cache/disk_cache_test_util.cc base::File::FLAG_WRITE; base 49 net/disk_cache/disk_cache_test_util.cc base::File file(name, flags); base 57 net/disk_cache/disk_cache_test_util.cc bool DeleteCache(const base::FilePath& path) { base 62 net/disk_cache/disk_cache_test_util.cc bool CheckCacheIntegrity(const base::FilePath& path, bool new_eviction, base 65 net/disk_cache/disk_cache_test_util.cc path, mask, base::MessageLoopProxy::current().get(), NULL)); base 99 net/disk_cache/disk_cache_test_util.cc base::MessageLoop::current()->Run(); base 109 net/disk_cache/disk_cache_test_util.cc base::MessageLoop::current()->Quit(); base 117 net/disk_cache/disk_cache_test_util.cc base::MessageLoop::current()->Quit(); base 17 net/disk_cache/disk_cache_test_util.h bool CreateCacheTestFile(const base::FilePath& name); base 20 net/disk_cache/disk_cache_test_util.h bool DeleteCache(const base::FilePath& path); base 29 net/disk_cache/disk_cache_test_util.h bool CheckCacheIntegrity(const base::FilePath& path, bool new_eviction, base 68 net/disk_cache/disk_cache_test_util.h base::RepeatingTimer<MessageLoopHelper> timer_; base 30 net/disk_cache/entry_unittest.cc using base::Time; base 80 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize1); base 96 net/disk_cache/entry_unittest.cc base::strlcpy(buffer2->data(), "The really big data goes here", kSize2); base 145 net/disk_cache/entry_unittest.cc RunTaskForTest(base::Bind(&DiskCacheEntryTest::InternalSyncIOBackground, base 146 net/disk_cache/entry_unittest.cc base::Unretained(this), base 214 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback1)))); base 215 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize1); base 222 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback2)), base 235 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback3))); base 243 net/disk_cache/entry_unittest.cc base::strlcpy(buffer2->data(), "The really big data goes here", kSize2); base 249 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback4)), base 262 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback5))); base 274 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback6))); base 288 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback7))); base 298 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback9))); base 308 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback10)), base 320 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback11))); base 332 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback12))); base 342 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback13))); base 376 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize1); base 386 net/disk_cache/entry_unittest.cc base::strlcpy(buffer2->data(), "The really big data goes here", kSize2); base 427 net/disk_cache/entry_unittest.cc RunTaskForTest(base::Bind(&DiskCacheEntryTest::ExternalSyncIOBackground, base 428 net/disk_cache/entry_unittest.cc base::Unretained(this), base 481 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize1); base 487 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback1)), base 501 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback2))); base 509 net/disk_cache/entry_unittest.cc base::strlcpy(buffer2->data(), "The really big data goes here", kSize2); base 515 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback3)), base 529 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback4))); base 541 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback5))); base 554 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback6))); base 565 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback7)))); base 571 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback8))); base 580 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback9)), base 835 net/disk_cache/entry_unittest.cc base::strlcpy(buffer1->data(), "the data", kSize); base 1580 net/disk_cache/entry_unittest.cc base::FilePath name = cache_impl_->GetFileName(address); base 1581 net/disk_cache/entry_unittest.cc EXPECT_TRUE(base::DeleteFile(name, false)); base 2027 net/disk_cache/entry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2036 net/disk_cache/entry_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(500)); base 2037 net/disk_cache/entry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2503 net/disk_cache/entry_unittest.cc base::strlcpy(buffer->data(), data, kDataSize); base 2510 net/disk_cache/entry_unittest.cc base::FilePath entry_file0_path = cache_path_.AppendASCII( base 2512 net/disk_cache/entry_unittest.cc base::File entry_file0(entry_file0_path, base 2513 net/disk_cache/entry_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_OPEN); base 2570 net/disk_cache/entry_unittest.cc bool TruncatePath(const base::FilePath& file_path, int64 length) { base 2571 net/disk_cache/entry_unittest.cc base::File file(file_path, base::File::FLAG_WRITE | base::File::FLAG_OPEN); base 2599 net/disk_cache/entry_unittest.cc const base::FilePath entry_path = cache_path_.AppendASCII( base 2664 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&write_callback)), base 2697 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&write_callback)), base 2710 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&read_callback))); base 2750 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base 2751 net/disk_cache/entry_unittest.cc base::Unretained(&callback1)))); base 2762 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback2)), base 2775 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback3)))); base 2788 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback4)), base 2799 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&callback5)))); base 2826 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base 2827 net/disk_cache/entry_unittest.cc base::Unretained(&callback1)))); base 2834 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base 2835 net/disk_cache/entry_unittest.cc base::Unretained(&callback2)))); base 2906 net/disk_cache/entry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3080 net/disk_cache/entry_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3083 net/disk_cache/entry_unittest.cc base::FilePath entry_file_path = cache_path_.AppendASCII( base 3085 net/disk_cache/entry_unittest.cc base::File::Info info; base 3086 net/disk_cache/entry_unittest.cc EXPECT_FALSE(base::GetFileInfo(entry_file_path, &info)); base 3232 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, CreateEntry(key2 + base::StringPrintf("%d", i), &entry)); base 3247 net/disk_cache/entry_unittest.cc ASSERT_EQ(net::OK, OpenEntry(key2 + base::StringPrintf("%d", entry_no), base 3290 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base 3291 net/disk_cache/entry_unittest.cc base::Unretained(&read_callback)))); base 3304 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base 3305 net/disk_cache/entry_unittest.cc base::Unretained(&truncate_callback)), base 3344 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base 3345 net/disk_cache/entry_unittest.cc base::Unretained(&write_callback)), base 3356 net/disk_cache/entry_unittest.cc base::Bind(&CallbackTest::Run, base 3357 net/disk_cache/entry_unittest.cc base::Unretained(&read_callback)))); base 3585 net/disk_cache/entry_unittest.cc base::FilePath entry_file0_path = cache_path_.AppendASCII( base 3587 net/disk_cache/entry_unittest.cc base::File entry_file0(entry_file0_path, base 3588 net/disk_cache/entry_unittest.cc base::File::FLAG_READ | base::File::FLAG_OPEN); base 3594 net/disk_cache/entry_unittest.cc base::Time::Now(), base::Time::Now(), data_size, sparse_data_size); base 3675 net/disk_cache/entry_unittest.cc base::FilePath third_stream_file_path = cache_path_.AppendASCII( base 13 net/disk_cache/memory/mem_backend_impl.cc using base::Time; base 59 net/disk_cache/memory/mem_backend_impl.cc int64 total_memory = base::SysInfo::AmountOfPhysicalMemory(); base 166 net/disk_cache/memory/mem_backend_impl.cc int MemBackendImpl::DoomEntriesBetween(const base::Time initial_time, base 167 net/disk_cache/memory/mem_backend_impl.cc const base::Time end_time, base 175 net/disk_cache/memory/mem_backend_impl.cc int MemBackendImpl::DoomEntriesSince(const base::Time initial_time, base 74 net/disk_cache/memory/mem_backend_impl.h virtual int DoomEntriesBetween(base::Time initial_time, base 75 net/disk_cache/memory/mem_backend_impl.h base::Time end_time, base 77 net/disk_cache/memory/mem_backend_impl.h virtual int DoomEntriesSince(base::Time initial_time, base 87 net/disk_cache/memory/mem_backend_impl.h typedef base::hash_map<std::string, MemEntryImpl*> EntryMap; base 94 net/disk_cache/memory/mem_backend_impl.h bool DoomEntriesBetween(const base::Time initial_time, base 95 net/disk_cache/memory/mem_backend_impl.h const base::Time end_time); base 96 net/disk_cache/memory/mem_backend_impl.h bool DoomEntriesSince(const base::Time initial_time); base 16 net/disk_cache/memory/mem_entry_impl.cc using base::Time; base 43 net/disk_cache/memory/mem_entry_impl.cc return base::StringPrintf("Range_%s:%i", base_name.c_str(), child_id); base 48 net/disk_cache/memory/mem_entry_impl.cc base::Value* NetLogChildEntryCreationCallback( base 52 net/disk_cache/memory/mem_entry_impl.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 568 net/disk_cache/memory/mem_entry_impl.cc base::Bind(&NetLogChildEntryCreationCallback, parent, child_id_)); base 93 net/disk_cache/memory/mem_entry_impl.h virtual base::Time GetLastUsed() const OVERRIDE; base 94 net/disk_cache/memory/mem_entry_impl.h virtual base::Time GetLastModified() const OVERRIDE; base 112 net/disk_cache/memory/mem_entry_impl.h typedef base::hash_map<int, MemEntryImpl*> EntryMap; base 173 net/disk_cache/memory/mem_entry_impl.h base::Time last_modified_; // LRU information. base 174 net/disk_cache/memory/mem_entry_impl.h base::Time last_used_; base 16 net/disk_cache/net_log_parameters.cc base::Value* NetLogEntryCreationCallback( base 20 net/disk_cache/net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 26 net/disk_cache/net_log_parameters.cc base::Value* NetLogReadWriteDataCallback( base 32 net/disk_cache/net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 41 net/disk_cache/net_log_parameters.cc base::Value* NetLogReadWriteCompleteCallback( base 45 net/disk_cache/net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 54 net/disk_cache/net_log_parameters.cc base::Value* NetLogSparseOperationCallback( base 58 net/disk_cache/net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 61 net/disk_cache/net_log_parameters.cc dict->SetString("offset", base::Int64ToString(offset)); base 66 net/disk_cache/net_log_parameters.cc base::Value* NetLogSparseReadWriteCallback( base 70 net/disk_cache/net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 76 net/disk_cache/net_log_parameters.cc base::Value* NetLogGetAvailableRangeResultCallback( base 80 net/disk_cache/net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 83 net/disk_cache/net_log_parameters.cc dict->SetString("start", base::Int64ToString(start)); base 98 net/disk_cache/net_log_parameters.cc return base::Bind(&NetLogEntryCreationCallback, entry, created); base 106 net/disk_cache/net_log_parameters.cc return base::Bind(&NetLogReadWriteDataCallback, base 112 net/disk_cache/net_log_parameters.cc return base::Bind(&NetLogReadWriteCompleteCallback, bytes_copied); base 118 net/disk_cache/net_log_parameters.cc return base::Bind(&NetLogSparseOperationCallback, offset, buff_len); base 124 net/disk_cache/net_log_parameters.cc return base::Bind(&NetLogSparseReadWriteCallback, source, child_len); base 130 net/disk_cache/net_log_parameters.cc return base::Bind(&NetLogGetAvailableRangeResultCallback, start, result); base 39 net/disk_cache/simple/simple_backend_impl.cc using base::Callback; base 40 net/disk_cache/simple/simple_backend_impl.cc using base::Closure; base 41 net/disk_cache/simple/simple_backend_impl.cc using base::FilePath; base 42 net/disk_cache/simple/simple_backend_impl.cc using base::MessageLoopProxy; base 43 net/disk_cache/simple/simple_backend_impl.cc using base::SequencedWorkerPool; base 44 net/disk_cache/simple/simple_backend_impl.cc using base::SingleThreadTaskRunner; base 45 net/disk_cache/simple/simple_backend_impl.cc using base::Time; base 46 net/disk_cache/simple/simple_backend_impl.cc using base::DirectoryExists; base 47 net/disk_cache/simple/simple_backend_impl.cc using base::CreateDirectory; base 70 net/disk_cache/simple/simple_backend_impl.cc base::FieldTrialList::FindFullName("SimpleCacheMaxThreads"); base 126 net/disk_cache/simple/simple_backend_impl.cc bool FileStructureConsistent(const base::FilePath& path) { base 127 net/disk_cache/simple/simple_backend_impl.cc if (!base::PathExists(path) && !base::CreateDirectory(path)) { base 171 net/disk_cache/simple/simple_backend_impl.cc return base::Bind(&BarrierCompletionCallbackImpl, base 172 net/disk_cache/simple/simple_backend_impl.cc base::Owned(context), final_callback); base 186 net/disk_cache/simple/simple_backend_impl.cc base::TimeTicks constructed_since, base 188 net/disk_cache/simple/simple_backend_impl.cc const base::TimeDelta creation_to_index = base::TimeTicks::Now() - base 203 net/disk_cache/simple/simple_backend_impl.cc base::SingleThreadTaskRunner* cache_thread, base 232 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&RecordIndexLoad, cache_type_, base::TimeTicks::Now())); base 237 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::InitCacheStructureOnDisk, path_, base 239 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::InitializeIndex, AsWeakPtr(), base 267 net/disk_cache/simple/simple_backend_impl.cc base::hash_map<uint64, std::vector<Closure> >::iterator it = base 333 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleSynchronousEntry::DoomEntrySet, base 335 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::DoomEntriesComplete, base 336 net/disk_cache/simple/simple_backend_impl.cc AsWeakPtr(), base::Passed(&mass_doom_entry_hashes), base 356 net/disk_cache/simple/simple_backend_impl.cc base::hash_map<uint64, std::vector<Closure> >::iterator it = base 360 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::OpenEntry, base 361 net/disk_cache/simple/simple_backend_impl.cc base::Unretained(this), key, entry); base 362 net/disk_cache/simple/simple_backend_impl.cc it->second.push_back(base::Bind(&RunOperationAndCallback, base 369 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::OnEntryOpenedFromKey, base 384 net/disk_cache/simple/simple_backend_impl.cc base::hash_map<uint64, std::vector<Closure> >::iterator it = base 388 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::CreateEntry, base 389 net/disk_cache/simple/simple_backend_impl.cc base::Unretained(this), key, entry); base 390 net/disk_cache/simple/simple_backend_impl.cc it->second.push_back(base::Bind(&RunOperationAndCallback, base 403 net/disk_cache/simple/simple_backend_impl.cc base::hash_map<uint64, std::vector<Closure> >::iterator it = base 407 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::DoomEntry, base::Unretained(this), key); base 408 net/disk_cache/simple/simple_backend_impl.cc it->second.push_back(base::Bind(&RunOperationAndCallback, base 439 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::IndexReadyForDoom, AsWeakPtr(), base 453 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::GetNextEntryInIterator, AsWeakPtr(), iter, base 487 net/disk_cache/simple/simple_backend_impl.cc const base::FilePath& path, base 501 net/disk_cache/simple/simple_backend_impl.cc int64 available = base::SysInfo::AmountOfFreeDiskSpace(path); base 515 net/disk_cache/simple/simple_backend_impl.cc base::WeakPtr<SimpleEntryImpl>())); base 539 net/disk_cache/simple/simple_backend_impl.cc base::hash_map<uint64, std::vector<Closure> >::iterator it = base 543 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::OpenEntryFromHash, base 544 net/disk_cache/simple/simple_backend_impl.cc base::Unretained(this), entry_hash, entry); base 545 net/disk_cache/simple/simple_backend_impl.cc it->second.push_back(base::Bind(&RunOperationAndCallback, base 558 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::OnEntryOpenedFromHash, base 568 net/disk_cache/simple/simple_backend_impl.cc base::hash_map<uint64, std::vector<Closure> >::iterator pending_it = base 572 net/disk_cache/simple/simple_backend_impl.cc base::Bind(&SimpleBackendImpl::DoomEntryFromHash, base 573 net/disk_cache/simple/simple_backend_impl.cc base::Unretained(this), entry_hash); base 574 net/disk_cache/simple/simple_backend_impl.cc pending_it->second.push_back(base::Bind(&RunOperationAndCallback, base 610 net/disk_cache/simple/simple_backend_impl.cc CompletionCallback continue_iteration = base::Bind( base 643 net/disk_cache/simple/simple_backend_impl.cc base::WeakPtr<SimpleEntryImpl>())); base 26 net/disk_cache/simple/simple_backend_impl.h namespace base { base 45 net/disk_cache/simple/simple_backend_impl.h public base::SupportsWeakPtr<SimpleBackendImpl> { base 47 net/disk_cache/simple/simple_backend_impl.h SimpleBackendImpl(const base::FilePath& path, int max_bytes, base 49 net/disk_cache/simple/simple_backend_impl.h base::SingleThreadTaskRunner* cache_thread, base 57 net/disk_cache/simple/simple_backend_impl.h base::TaskRunner* worker_pool() { return worker_pool_.get(); } base 97 net/disk_cache/simple/simple_backend_impl.h virtual int DoomEntriesBetween(base::Time initial_time, base 98 net/disk_cache/simple/simple_backend_impl.h base::Time end_time, base 100 net/disk_cache/simple/simple_backend_impl.h virtual int DoomEntriesSince(base::Time initial_time, base 110 net/disk_cache/simple/simple_backend_impl.h typedef base::hash_map<uint64, base::WeakPtr<SimpleEntryImpl> > EntryMap; base 112 net/disk_cache/simple/simple_backend_impl.h typedef base::Callback<void(base::Time mtime, uint64 max_size, int result)> base 117 net/disk_cache/simple/simple_backend_impl.h base::Time cache_dir_mtime; base 128 net/disk_cache/simple/simple_backend_impl.h void IndexReadyForDoom(base::Time initial_time, base 129 net/disk_cache/simple/simple_backend_impl.h base::Time end_time, base 135 net/disk_cache/simple/simple_backend_impl.h static DiskStatResult InitCacheStructureOnDisk(const base::FilePath& path, base 197 net/disk_cache/simple/simple_backend_impl.h const base::FilePath path_; base 200 net/disk_cache/simple/simple_backend_impl.h const scoped_refptr<base::SingleThreadTaskRunner> cache_thread_; base 201 net/disk_cache/simple/simple_backend_impl.h scoped_refptr<base::TaskRunner> worker_pool_; base 212 net/disk_cache/simple/simple_backend_impl.h base::hash_map<uint64, std::vector<base::Closure> > entries_pending_doom_; base 13 net/disk_cache/simple/simple_entry_format.h namespace base { base 131 net/disk_cache/simple/simple_entry_impl.cc const base::WeakPtr<SimpleBackendImpl>& backend, base 142 net/disk_cache/simple/simple_entry_impl.cc using base::Closure; base 143 net/disk_cache/simple/simple_entry_impl.cc using base::FilePath; base 144 net/disk_cache/simple/simple_entry_impl.cc using base::MessageLoopProxy; base 145 net/disk_cache/simple/simple_entry_impl.cc using base::Time; base 146 net/disk_cache/simple/simple_entry_impl.cc using base::TaskRunner; base 540 net/disk_cache/simple/simple_entry_impl.cc base::Bind(&InvokeCallbackIfBackendIsAlive, backend_, callback, result)); base 682 net/disk_cache/simple/simple_entry_impl.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 687 net/disk_cache/simple/simple_entry_impl.cc Closure task = base::Bind(&SimpleSynchronousEntry::OpenEntry, base 693 net/disk_cache/simple/simple_entry_impl.cc Closure reply = base::Bind(&SimpleEntryImpl::CreationOperationComplete, base 697 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&results), base 725 net/disk_cache/simple/simple_entry_impl.cc last_used_ = last_modified_ = base::Time::Now(); base 731 net/disk_cache/simple/simple_entry_impl.cc const base::TimeTicks start_time = base::TimeTicks::Now(); base 736 net/disk_cache/simple/simple_entry_impl.cc Closure task = base::Bind(&SimpleSynchronousEntry::CreateEntry, base 743 net/disk_cache/simple/simple_entry_impl.cc Closure reply = base::Bind(&SimpleEntryImpl::CreationOperationComplete, base 747 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&results), base 780 net/disk_cache/simple/simple_entry_impl.cc base::Bind(&SimpleSynchronousEntry::Close, base 781 net/disk_cache/simple/simple_entry_impl.cc base::Unretained(synchronous_entry_), base 784 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&crc32s_to_write), base 786 net/disk_cache/simple/simple_entry_impl.cc Closure reply = base::Bind(&SimpleEntryImpl::CloseOperationComplete, this); base 824 net/disk_cache/simple/simple_entry_impl.cc FROM_HERE, base::Bind(callback, net::ERR_FAILED)); base 839 net/disk_cache/simple/simple_entry_impl.cc MessageLoopProxy::current()->PostTask(FROM_HERE, base::Bind(callback, 0)); base 850 net/disk_cache/simple/simple_entry_impl.cc base::Bind(callback, ret_value)); base 864 net/disk_cache/simple/simple_entry_impl.cc Closure task = base::Bind( base 866 net/disk_cache/simple/simple_entry_impl.cc base::Unretained(synchronous_entry_), base 872 net/disk_cache/simple/simple_entry_impl.cc Closure reply = base::Bind(&SimpleEntryImpl::ReadOperationComplete, base 877 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&read_crc32), base 878 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&entry_stat), base 879 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&result)); base 908 net/disk_cache/simple/simple_entry_impl.cc FROM_HERE, base::Bind(callback, net::ERR_FAILED)); base 921 net/disk_cache/simple/simple_entry_impl.cc base::Bind(callback, ret_value)); base 932 net/disk_cache/simple/simple_entry_impl.cc MessageLoopProxy::current()->PostTask(FROM_HERE, base::Bind( base 957 net/disk_cache/simple/simple_entry_impl.cc last_used_ = last_modified_ = base::Time::Now(); base 966 net/disk_cache/simple/simple_entry_impl.cc Closure task = base::Bind(&SimpleSynchronousEntry::WriteData, base 967 net/disk_cache/simple/simple_entry_impl.cc base::Unretained(synchronous_entry_), base 974 net/disk_cache/simple/simple_entry_impl.cc Closure reply = base::Bind(&SimpleEntryImpl::WriteOperationComplete, base 978 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&entry_stat), base 979 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&result)); base 995 net/disk_cache/simple/simple_entry_impl.cc scoped_ptr<base::Time> last_used(new base::Time()); base 996 net/disk_cache/simple/simple_entry_impl.cc Closure task = base::Bind(&SimpleSynchronousEntry::ReadSparseData, base 997 net/disk_cache/simple/simple_entry_impl.cc base::Unretained(synchronous_entry_), base 1003 net/disk_cache/simple/simple_entry_impl.cc Closure reply = base::Bind(&SimpleEntryImpl::ReadSparseOperationComplete, base 1006 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&last_used), base 1007 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&result)); base 1032 net/disk_cache/simple/simple_entry_impl.cc last_used_ = last_modified_ = base::Time::Now(); base 1035 net/disk_cache/simple/simple_entry_impl.cc Closure task = base::Bind(&SimpleSynchronousEntry::WriteSparseData, base 1036 net/disk_cache/simple/simple_entry_impl.cc base::Unretained(synchronous_entry_), base 1043 net/disk_cache/simple/simple_entry_impl.cc Closure reply = base::Bind(&SimpleEntryImpl::WriteSparseOperationComplete, base 1046 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&entry_stat), base 1047 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&result)); base 1063 net/disk_cache/simple/simple_entry_impl.cc Closure task = base::Bind(&SimpleSynchronousEntry::GetAvailableRange, base 1064 net/disk_cache/simple/simple_entry_impl.cc base::Unretained(synchronous_entry_), base 1069 net/disk_cache/simple/simple_entry_impl.cc Closure reply = base::Bind( base 1073 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&result)); base 1080 net/disk_cache/simple/simple_entry_impl.cc base::Bind(&SimpleSynchronousEntry::DoomEntry, path_, entry_hash_), base 1081 net/disk_cache/simple/simple_entry_impl.cc base::Bind(&SimpleEntryImpl::DoomOperationComplete, this, callback, base 1088 net/disk_cache/simple/simple_entry_impl.cc const base::TimeTicks& start_time, base 1132 net/disk_cache/simple/simple_entry_impl.cc (base::TimeTicks::Now() - start_time)); base 1156 net/disk_cache/simple/simple_entry_impl.cc MessageLoopProxy::current()->PostTask(FROM_HERE, base::Bind( base 1200 net/disk_cache/simple/simple_entry_impl.cc Closure task = base::Bind(&SimpleSynchronousEntry::CheckEOFRecord, base 1201 net/disk_cache/simple/simple_entry_impl.cc base::Unretained(synchronous_entry_), base 1206 net/disk_cache/simple/simple_entry_impl.cc Closure reply = base::Bind(&SimpleEntryImpl::ChecksumOperationComplete, base 1209 net/disk_cache/simple/simple_entry_impl.cc base::Passed(&new_result)); base 1261 net/disk_cache/simple/simple_entry_impl.cc scoped_ptr<base::Time> last_used, base 1459 net/disk_cache/simple/simple_entry_impl.cc SimpleEntryStat(base::Time::Now(), last_modified_, data_size_, base 1495 net/disk_cache/simple/simple_entry_impl.cc base::Time modification_time = base::Time::Now(); base 23 net/disk_cache/simple/simple_entry_impl.h namespace base { base 43 net/disk_cache/simple/simple_entry_impl.h public base::RefCounted<SimpleEntryImpl>, base 44 net/disk_cache/simple/simple_entry_impl.h public base::SupportsWeakPtr<SimpleEntryImpl> { base 45 net/disk_cache/simple/simple_entry_impl.h friend class base::RefCounted<SimpleEntryImpl>; base 53 net/disk_cache/simple/simple_entry_impl.h const base::FilePath& path, base 77 net/disk_cache/simple/simple_entry_impl.h virtual base::Time GetLastUsed() const OVERRIDE; base 78 net/disk_cache/simple/simple_entry_impl.h virtual base::Time GetLastModified() const OVERRIDE; base 214 net/disk_cache/simple/simple_entry_impl.h const base::TimeTicks& start_time, base 246 net/disk_cache/simple/simple_entry_impl.h scoped_ptr<base::Time> last_used, base 302 net/disk_cache/simple/simple_entry_impl.h base::ThreadChecker io_thread_checker_; base 304 net/disk_cache/simple/simple_entry_impl.h const base::WeakPtr<SimpleBackendImpl> backend_; base 306 net/disk_cache/simple/simple_entry_impl.h const scoped_refptr<base::TaskRunner> worker_pool_; base 307 net/disk_cache/simple/simple_entry_impl.h const base::FilePath path_; base 315 net/disk_cache/simple/simple_entry_impl.h base::Time last_used_; base 316 net/disk_cache/simple/simple_entry_impl.h base::Time last_modified_; base 84 net/disk_cache/simple/simple_index.cc EntryMetadata::EntryMetadata(base::Time last_used_time, int entry_size) base 90 net/disk_cache/simple/simple_index.cc base::Time EntryMetadata::GetLastUsedTime() const { base 93 net/disk_cache/simple/simple_index.cc return base::Time(); base 95 net/disk_cache/simple/simple_index.cc return base::Time::UnixEpoch() + base 96 net/disk_cache/simple/simple_index.cc base::TimeDelta::FromSeconds(last_used_time_seconds_since_epoch_); base 99 net/disk_cache/simple/simple_index.cc void EntryMetadata::SetLastUsedTime(const base::Time& last_used_time) { base 106 net/disk_cache/simple/simple_index.cc const base::TimeDelta since_unix_epoch = base 107 net/disk_cache/simple/simple_index.cc last_used_time - base::Time::UnixEpoch(); base 133 net/disk_cache/simple/simple_index.cc SetLastUsedTime(base::Time::FromInternalValue(tmp_last_used_time)); base 138 net/disk_cache/simple/simple_index.cc SimpleIndex::SimpleIndex(base::SingleThreadTaskRunner* io_thread, base 154 net/disk_cache/simple/simple_index.cc write_to_disk_cb_(base::Bind(&SimpleIndex::WriteToDisk, AsWeakPtr())), base 167 net/disk_cache/simple/simple_index.cc void SimpleIndex::Initialize(base::Time cache_mtime) { base 174 net/disk_cache/simple/simple_index.cc const std::string index_flush_intervals = base::FieldTrialList::FindFullName( base 177 net/disk_cache/simple/simple_index.cc base::StringTokenizer tokens(index_flush_intervals, "_"); base 180 net/disk_cache/simple/simple_index.cc base::StringToInt(tokens.token(), &foreground_delay) && base 182 net/disk_cache/simple/simple_index.cc base::StringToInt(tokens.token(), &background_delay)) { base 189 net/disk_cache/simple/simple_index.cc if (base::android::IsVMInitialized()) { base 190 net/disk_cache/simple/simple_index.cc app_status_listener_.reset(new base::android::ApplicationStatusListener( base 191 net/disk_cache/simple/simple_index.cc base::Bind(&SimpleIndex::OnApplicationStateChange, AsWeakPtr()))); base 197 net/disk_cache/simple/simple_index.cc base::Closure reply = base::Bind( base 200 net/disk_cache/simple/simple_index.cc base::Passed(&load_result_scoped)); base 221 net/disk_cache/simple/simple_index.cc io_thread_->PostTask(FROM_HERE, base::Bind(task, net::OK)); base 228 net/disk_cache/simple/simple_index.cc base::Time initial_time, base::Time end_time) { base 234 net/disk_cache/simple/simple_index.cc end_time = base::Time::Max(); base 237 net/disk_cache/simple/simple_index.cc const base::Time extended_end_time = base 238 net/disk_cache/simple/simple_index.cc end_time.is_null() ? base::Time::Max() : end_time; base 244 net/disk_cache/simple/simple_index.cc base::Time entry_time = metadata.GetLastUsedTime(); base 252 net/disk_cache/simple/simple_index.cc return GetEntriesBetween(base::Time(), base::Time()); base 266 net/disk_cache/simple/simple_index.cc entry_hash, EntryMetadata(base::Time::Now(), 0), &entries_set_); base 299 net/disk_cache/simple/simple_index.cc it->second.SetLastUsedTime(base::Time::Now()); base 310 net/disk_cache/simple/simple_index.cc eviction_start_time_ = base::TimeTicks::Now(); base 344 net/disk_cache/simple/simple_index.cc base::TimeTicks::Now() - eviction_start_time_); base 349 net/disk_cache/simple/simple_index.cc delegate_->DoomEntries(&entry_hashes, base::Bind(&SimpleIndex::EvictionDone, base 373 net/disk_cache/simple/simple_index.cc base::TimeTicks::Now() - eviction_start_time_); base 395 net/disk_cache/simple/simple_index.cc FROM_HERE, base::TimeDelta::FromMilliseconds(delay), write_to_disk_cb_); base 415 net/disk_cache/simple/simple_index.cc for (base::hash_set<uint64>::const_iterator it = removed_entries_.begin(); base 452 net/disk_cache/simple/simple_index.cc io_thread_->PostTask(FROM_HERE, base::Bind((*it), net::OK)); base 459 net/disk_cache/simple/simple_index.cc base::android::ApplicationState state) { base 463 net/disk_cache/simple/simple_index.cc if (state == base::android::APPLICATION_STATE_HAS_RUNNING_ACTIVITIES) { base 466 net/disk_cache/simple/simple_index.cc base::android::APPLICATION_STATE_HAS_STOPPED_ACTIVITIES) { base 480 net/disk_cache/simple/simple_index.cc const base::TimeTicks start = base::TimeTicks::Now(); base 43 net/disk_cache/simple/simple_index.h EntryMetadata(base::Time last_used_time, int entry_size); base 45 net/disk_cache/simple/simple_index.h base::Time GetLastUsedTime() const; base 46 net/disk_cache/simple/simple_index.h void SetLastUsedTime(const base::Time& last_used_time); base 55 net/disk_cache/simple/simple_index.h static base::TimeDelta GetLowerEpsilonForTimeComparisons() { base 56 net/disk_cache/simple/simple_index.h return base::TimeDelta::FromSeconds(1); base 58 net/disk_cache/simple/simple_index.h static base::TimeDelta GetUpperEpsilonForTimeComparisons() { base 59 net/disk_cache/simple/simple_index.h return base::TimeDelta(); base 76 net/disk_cache/simple/simple_index.h : public base::SupportsWeakPtr<SimpleIndex> { base 80 net/disk_cache/simple/simple_index.h SimpleIndex(base::SingleThreadTaskRunner* io_thread, base 87 net/disk_cache/simple/simple_index.h void Initialize(base::Time cache_mtime); base 109 net/disk_cache/simple/simple_index.h typedef base::hash_map<uint64, EntryMetadata> EntrySet; base 122 net/disk_cache/simple/simple_index.h scoped_ptr<HashList> GetEntriesBetween(const base::Time initial_time, base 123 net/disk_cache/simple/simple_index.h const base::Time end_time); base 152 net/disk_cache/simple/simple_index.h void OnApplicationStateChange(base::android::ApplicationState state); base 154 net/disk_cache/simple/simple_index.h scoped_ptr<base::android::ApplicationStatusListener> app_status_listener_; base 168 net/disk_cache/simple/simple_index.h base::TimeTicks eviction_start_time_; base 172 net/disk_cache/simple/simple_index.h base::hash_set<uint64> removed_entries_; base 177 net/disk_cache/simple/simple_index.h scoped_refptr<base::SingleThreadTaskRunner> io_thread_; base 181 net/disk_cache/simple/simple_index.h base::ThreadChecker io_thread_checker_; base 186 net/disk_cache/simple/simple_index.h base::TimeTicks last_write_to_disk_; base 188 net/disk_cache/simple/simple_index.h base::OneShotTimer<SimpleIndex> write_to_disk_timer_; base 189 net/disk_cache/simple/simple_index.h base::Closure write_to_disk_cb_; base 68 net/disk_cache/simple/simple_index_file.cc bool WritePickleFile(Pickle* pickle, const base::FilePath& file_name) { base 69 net/disk_cache/simple/simple_index_file.cc int bytes_written = base::WriteFile( base 72 net/disk_cache/simple/simple_index_file.cc base::DeleteFile(file_name, /* recursive = */ false); base 80 net/disk_cache/simple/simple_index_file.cc const base::FilePath& file_path) { base 85 net/disk_cache/simple/simple_index_file.cc const base::FilePath::StringType base_name = file_path.BaseName().value(); base 89 net/disk_cache/simple/simple_index_file.cc const base::StringPiece hash_string( base 98 net/disk_cache/simple/simple_index_file.cc base::File::Info file_info; base 99 net/disk_cache/simple/simple_index_file.cc if (!base::GetFileInfo(file_path, &file_info)) { base 103 net/disk_cache/simple/simple_index_file.cc base::Time last_used_time; base 169 net/disk_cache/simple/simple_index_file.cc bool SimpleIndexFile::SerializeFinalData(base::Time cache_modified, base 187 net/disk_cache/simple/simple_index_file.cc const base::FilePath& cache_directory, base 188 net/disk_cache/simple/simple_index_file.cc const base::FilePath& index_filename, base 189 net/disk_cache/simple/simple_index_file.cc const base::FilePath& temp_index_filename, base 191 net/disk_cache/simple/simple_index_file.cc const base::TimeTicks& start_time, base 198 net/disk_cache/simple/simple_index_file.cc base::Time cache_dir_mtime; base 205 net/disk_cache/simple/simple_index_file.cc if (!base::CreateDirectory(temp_index_filename.DirName())) { base 216 net/disk_cache/simple/simple_index_file.cc bool result = base::ReplaceFile(temp_index_filename, index_filename, NULL); base 222 net/disk_cache/simple/simple_index_file.cc (base::TimeTicks::Now() - start_time)); base 226 net/disk_cache/simple/simple_index_file.cc (base::TimeTicks::Now() - start_time)); base 237 net/disk_cache/simple/simple_index_file.cc base::SingleThreadTaskRunner* cache_thread, base 238 net/disk_cache/simple/simple_index_file.cc base::TaskRunner* worker_pool, base 240 net/disk_cache/simple/simple_index_file.cc const base::FilePath& cache_directory) base 253 net/disk_cache/simple/simple_index_file.cc void SimpleIndexFile::LoadIndexEntries(base::Time cache_last_modified, base 254 net/disk_cache/simple/simple_index_file.cc const base::Closure& callback, base 256 net/disk_cache/simple/simple_index_file.cc base::Closure task = base::Bind(&SimpleIndexFile::SyncLoadIndexEntries, base 265 net/disk_cache/simple/simple_index_file.cc const base::TimeTicks& start, base 269 net/disk_cache/simple/simple_index_file.cc cache_thread_->PostTask(FROM_HERE, base::Bind( base 275 net/disk_cache/simple/simple_index_file.cc base::Passed(&pickle), base 276 net/disk_cache/simple/simple_index_file.cc base::TimeTicks::Now(), base 283 net/disk_cache/simple/simple_index_file.cc base::Time cache_last_modified, base 284 net/disk_cache/simple/simple_index_file.cc const base::FilePath& cache_directory, base 285 net/disk_cache/simple/simple_index_file.cc const base::FilePath& index_file_path, base 288 net/disk_cache/simple/simple_index_file.cc base::Time last_cache_seen_by_index; base 292 net/disk_cache/simple/simple_index_file.cc const bool index_file_existed = base::PathExists(index_file_path); base 298 net/disk_cache/simple/simple_index_file.cc base::Time latest_dir_mtime; base 313 net/disk_cache/simple/simple_index_file.cc const base::TimeTicks start = base::TimeTicks::Now(); base 316 net/disk_cache/simple/simple_index_file.cc base::TimeTicks::Now() - start); base 330 net/disk_cache/simple/simple_index_file.cc void SimpleIndexFile::SyncLoadFromDisk(const base::FilePath& index_filename, base 331 net/disk_cache/simple/simple_index_file.cc base::Time* out_last_cache_seen_by_index, base 335 net/disk_cache/simple/simple_index_file.cc base::MemoryMappedFile index_file_map; base 338 net/disk_cache/simple/simple_index_file.cc base::DeleteFile(index_filename, false); base 349 net/disk_cache/simple/simple_index_file.cc base::DeleteFile(index_filename, false); base 369 net/disk_cache/simple/simple_index_file.cc base::Time* out_cache_last_modified, base 426 net/disk_cache/simple/simple_index_file.cc *out_cache_last_modified = base::Time::FromInternalValue(cache_last_modified); base 433 net/disk_cache/simple/simple_index_file.cc const base::FilePath& cache_directory, base 434 net/disk_cache/simple/simple_index_file.cc const base::FilePath& index_file_path, base 437 net/disk_cache/simple/simple_index_file.cc base::DeleteFile(index_file_path, /* recursive = */ false); base 442 net/disk_cache/simple/simple_index_file.cc cache_directory, base::Bind(&ProcessEntryFile, entries)); base 455 net/disk_cache/simple/simple_index_file.cc base::Time cache_last_modified, base 456 net/disk_cache/simple/simple_index_file.cc const base::FilePath& index_file_path) { base 457 net/disk_cache/simple/simple_index_file.cc base::Time index_mtime; base 23 net/disk_cache/simple/simple_index_file.h namespace base { base 77 net/disk_cache/simple/simple_index_file.h SimpleIndexFile(base::SingleThreadTaskRunner* cache_thread, base 78 net/disk_cache/simple/simple_index_file.h base::TaskRunner* worker_pool, base 80 net/disk_cache/simple/simple_index_file.h const base::FilePath& cache_directory); base 84 net/disk_cache/simple/simple_index_file.h virtual void LoadIndexEntries(base::Time cache_last_modified, base 85 net/disk_cache/simple/simple_index_file.h const base::Closure& callback, base 91 net/disk_cache/simple/simple_index_file.h const base::TimeTicks& start, base 98 net/disk_cache/simple/simple_index_file.h typedef base::Callback<void (const base::FilePath&)> EntryFileCallback; base 106 net/disk_cache/simple/simple_index_file.h base::Time cache_last_modified, base 107 net/disk_cache/simple/simple_index_file.h const base::FilePath& cache_directory, base 108 net/disk_cache/simple/simple_index_file.h const base::FilePath& index_file_path, base 112 net/disk_cache/simple/simple_index_file.h static void SyncLoadFromDisk(const base::FilePath& index_filename, base 113 net/disk_cache/simple/simple_index_file.h base::Time* out_last_cache_seen_by_index, base 128 net/disk_cache/simple/simple_index_file.h static bool SerializeFinalData(base::Time cache_modified, Pickle* pickle); base 133 net/disk_cache/simple/simple_index_file.h base::Time* out_cache_last_modified, base 142 net/disk_cache/simple/simple_index_file.h const base::FilePath& cache_path, base 147 net/disk_cache/simple/simple_index_file.h const base::FilePath& cache_directory, base 148 net/disk_cache/simple/simple_index_file.h const base::FilePath& index_filename, base 149 net/disk_cache/simple/simple_index_file.h const base::FilePath& temp_index_filename, base 151 net/disk_cache/simple/simple_index_file.h const base::TimeTicks& start_time, base 156 net/disk_cache/simple/simple_index_file.h static void SyncRestoreFromDisk(const base::FilePath& cache_directory, base 157 net/disk_cache/simple/simple_index_file.h const base::FilePath& index_file_path, base 164 net/disk_cache/simple/simple_index_file.h static bool LegacyIsIndexFileStale(base::Time cache_last_modified, base 165 net/disk_cache/simple/simple_index_file.h const base::FilePath& index_file_path); base 171 net/disk_cache/simple/simple_index_file.h const scoped_refptr<base::SingleThreadTaskRunner> cache_thread_; base 172 net/disk_cache/simple/simple_index_file.h const scoped_refptr<base::TaskRunner> worker_pool_; base 174 net/disk_cache/simple/simple_index_file.h const base::FilePath cache_directory_; base 175 net/disk_cache/simple/simple_index_file.h const base::FilePath index_file_; base 176 net/disk_cache/simple/simple_index_file.h const base::FilePath temp_index_file_; base 30 net/disk_cache/simple/simple_index_file_posix.cc const base::FilePath& cache_path, base 44 net/disk_cache/simple/simple_index_file_posix.cc const base::FilePath file_path = cache_path.Append( base 45 net/disk_cache/simple/simple_index_file_posix.cc base::FilePath(file_name)); base 29 net/disk_cache/simple/simple_index_file_unittest.cc using base::Time; base 77 net/disk_cache/simple/simple_index_file_unittest.cc explicit WrappedSimpleIndexFile(const base::FilePath& index_file_directory) base 78 net/disk_cache/simple/simple_index_file_unittest.cc : SimpleIndexFile(base::MessageLoopProxy::current().get(), base 79 net/disk_cache/simple/simple_index_file_unittest.cc base::MessageLoopProxy::current().get(), base 85 net/disk_cache/simple/simple_index_file_unittest.cc const base::FilePath& GetIndexFilePath() const { base 90 net/disk_cache/simple/simple_index_file_unittest.cc return base::CreateDirectory(index_file_.DirName()); base 106 net/disk_cache/simple/simple_index_file_unittest.cc base::Closure GetCallback() { base 107 net/disk_cache/simple/simple_index_file_unittest.cc return base::Bind(&SimpleIndexFileTest::LoadIndexEntriesCallback, base 108 net/disk_cache/simple/simple_index_file_unittest.cc base::Unretained(this)); base 139 net/disk_cache/simple/simple_index_file_unittest.cc base::Time now = base::Time::Now(); base 141 net/disk_cache/simple/simple_index_file_unittest.cc base::Time when_index_last_saw_cache; base 160 net/disk_cache/simple/simple_index_file_unittest.cc base::ScopedTempDir cache_dir; base 162 net/disk_cache/simple/simple_index_file_unittest.cc base::Time cache_mtime; base 163 net/disk_cache/simple/simple_index_file_unittest.cc const base::FilePath cache_path = cache_dir.path(); base 168 net/disk_cache/simple/simple_index_file_unittest.cc const base::FilePath& index_path = simple_index_file.GetIndexFilePath(); base 173 net/disk_cache/simple/simple_index_file_unittest.cc base::WriteFile(index_path, base 179 net/disk_cache/simple/simple_index_file_unittest.cc const base::Time past_time = base::Time::Now() - base 180 net/disk_cache/simple/simple_index_file_unittest.cc base::TimeDelta::FromSeconds(10); base 181 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_TRUE(base::TouchFile(index_path, past_time, past_time)); base 182 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_TRUE(base::TouchFile(cache_path, past_time, past_time)); base 186 net/disk_cache/simple/simple_index_file_unittest.cc const base::Time even_older = past_time - base::TimeDelta::FromSeconds(10); base 187 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_TRUE(base::TouchFile(index_path, even_older, even_older)); base 194 net/disk_cache/simple/simple_index_file_unittest.cc base::ScopedTempDir cache_dir; base 211 net/disk_cache/simple/simple_index_file_unittest.cc base::TimeTicks(), false); base 212 net/disk_cache/simple/simple_index_file_unittest.cc base::RunLoop().RunUntilIdle(); base 213 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_TRUE(base::PathExists(simple_index_file.GetIndexFilePath())); base 217 net/disk_cache/simple/simple_index_file_unittest.cc base::Time fake_cache_mtime; base 224 net/disk_cache/simple/simple_index_file_unittest.cc base::RunLoop().RunUntilIdle(); base 226 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_TRUE(base::PathExists(simple_index_file.GetIndexFilePath())); base 237 net/disk_cache/simple/simple_index_file_unittest.cc base::ScopedTempDir cache_dir; base 242 net/disk_cache/simple/simple_index_file_unittest.cc const base::FilePath& index_path = simple_index_file.GetIndexFilePath(); base 246 net/disk_cache/simple/simple_index_file_unittest.cc base::WriteFile(index_path, kDummyData.data(), kDummyData.size())); base 247 net/disk_cache/simple/simple_index_file_unittest.cc base::Time fake_cache_mtime; base 257 net/disk_cache/simple/simple_index_file_unittest.cc base::RunLoop().RunUntilIdle(); base 259 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_FALSE(base::PathExists(index_path)); base 267 net/disk_cache/simple/simple_index_file_unittest.cc base::ScopedTempDir cache_dir; base 269 net/disk_cache/simple/simple_index_file_unittest.cc const base::FilePath cache_path = cache_dir.path(); base 272 net/disk_cache/simple/simple_index_file_unittest.cc base::File file(cache_path.AppendASCII("index"), base 273 net/disk_cache/simple/simple_index_file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 286 net/disk_cache/simple/simple_index_file_unittest.cc const base::FilePath old_index_file = base 289 net/disk_cache/simple/simple_index_file_unittest.cc base::WriteFile(old_index_file, base 297 net/disk_cache/simple/simple_index_file_unittest.cc base::Thread cache_thread("CacheThread"); base 299 net/disk_cache/simple/simple_index_file_unittest.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 320 net/disk_cache/simple/simple_index_file_unittest.cc base::Bind(&CallbackTest::Run, base::Unretained(&cb_shutdown), net::OK)); base 324 net/disk_cache/simple/simple_index_file_unittest.cc const base::FilePath& index_file_path = base 326 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_TRUE(base::PathExists(index_file_path)); base 330 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_TRUE(base::ReadFileToString(index_file_path, &contents)); base 331 net/disk_cache/simple/simple_index_file_unittest.cc base::Time when_index_last_saw_cache; base 16 net/disk_cache/simple/simple_index_file_win.cc const base::FilePath& cache_path, base 18 net/disk_cache/simple/simple_index_file_win.cc const base::FilePath current_directory(FILE_PATH_LITERAL(".")); base 19 net/disk_cache/simple/simple_index_file_win.cc const base::FilePath parent_directory(FILE_PATH_LITERAL("..")); base 20 net/disk_cache/simple/simple_index_file_win.cc const base::FilePath::StringType file_pattern = FILE_PATH_LITERAL("*"); base 21 net/disk_cache/simple/simple_index_file_win.cc base::FileEnumerator enumerator( base 22 net/disk_cache/simple/simple_index_file_win.cc cache_path, false /* recursive */, base::FileEnumerator::FILES, base 24 net/disk_cache/simple/simple_index_file_win.cc for (base::FilePath file_path = enumerator.Next(); !file_path.empty(); base 29 net/disk_cache/simple/simple_index_unittest.cc const base::Time kTestLastUsedTime = base 30 net/disk_cache/simple/simple_index_unittest.cc base::Time::UnixEpoch() + base::TimeDelta::FromDays(20); base 43 net/disk_cache/simple/simple_index_unittest.cc EXPECT_LT(kTestLastUsedTime - base::TimeDelta::FromSeconds(2), base 45 net/disk_cache/simple/simple_index_unittest.cc EXPECT_GT(kTestLastUsedTime + base::TimeDelta::FromSeconds(2), base 52 net/disk_cache/simple/simple_index_unittest.cc public base::SupportsWeakPtr<MockSimpleIndexFile> { base 55 net/disk_cache/simple/simple_index_unittest.cc : SimpleIndexFile(NULL, NULL, net::DISK_CACHE, base::FilePath()), base 61 net/disk_cache/simple/simple_index_unittest.cc base::Time cache_last_modified, base 62 net/disk_cache/simple/simple_index_unittest.cc const base::Closure& callback, base 71 net/disk_cache/simple/simple_index_unittest.cc const base::TimeTicks& start, base 81 net/disk_cache/simple/simple_index_unittest.cc const base::Closure& load_callback() const { return load_callback_; } base 87 net/disk_cache/simple/simple_index_unittest.cc base::Closure load_callback_; base 97 net/disk_cache/simple/simple_index_unittest.cc : hashes_(base::Bind(&HashesInitializer)), base 102 net/disk_cache/simple/simple_index_unittest.cc base::StringPrintf("key%d", static_cast<int>(hash_index))); base 111 net/disk_cache/simple/simple_index_unittest.cc index_->Initialize(base::Time()); base 115 net/disk_cache/simple/simple_index_unittest.cc const base::Time initial_time = base::Time::Now(); base 117 net/disk_cache/simple/simple_index_unittest.cc base::PlatformThread::YieldCurrentThread(); base 118 net/disk_cache/simple/simple_index_unittest.cc } while (base::Time::Now() - base 119 net/disk_cache/simple/simple_index_unittest.cc initial_time < base::TimeDelta::FromSeconds(1)); base 142 net/disk_cache/simple/simple_index_unittest.cc base::Time last_used_time, base 165 net/disk_cache/simple/simple_index_unittest.cc base::WeakPtr<MockSimpleIndexFile> index_file_; base 173 net/disk_cache/simple/simple_index_unittest.cc EXPECT_EQ(base::Time(), entry_metadata.GetLastUsedTime()); base 179 net/disk_cache/simple/simple_index_unittest.cc const base::Time new_time = base::Time::Now(); base 182 net/disk_cache/simple/simple_index_unittest.cc EXPECT_LT(new_time - base::TimeDelta::FromSeconds(2), base 184 net/disk_cache/simple/simple_index_unittest.cc EXPECT_GT(new_time + base::TimeDelta::FromSeconds(2), base 221 net/disk_cache/simple/simple_index_unittest.cc std::make_pair(new_hash_key, EntryMetadata(base::Time::Now(), 11))); base 224 net/disk_cache/simple/simple_index_unittest.cc EntryMetadata(base::Time::Now(), 4))); base 234 net/disk_cache/simple/simple_index_unittest.cc EXPECT_EQ(base::Time(), metadata.GetLastUsedTime()); base 240 net/disk_cache/simple/simple_index_unittest.cc base::Time now(base::Time::Now()); base 241 net/disk_cache/simple/simple_index_unittest.cc EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 242 net/disk_cache/simple/simple_index_unittest.cc EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 249 net/disk_cache/simple/simple_index_unittest.cc EXPECT_EQ(base::Time(), metadata.GetLastUsedTime()); base 318 net/disk_cache/simple/simple_index_unittest.cc base::Time now(base::Time::Now()); base 323 net/disk_cache/simple/simple_index_unittest.cc InsertIntoIndexFileReturn(kHash1, now - base::TimeDelta::FromDays(2), 475); base 329 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(2) - base::TimeDelta::FromSeconds(1), base 332 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(2) + base::TimeDelta::FromSeconds(1), base 368 net/disk_cache/simple/simple_index_unittest.cc base::Time now(base::Time::Now()); base 371 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(2), base 374 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(3), base 382 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(2) - base::TimeDelta::FromSeconds(1), base 385 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(2) + base::TimeDelta::FromSeconds(1), base 390 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(3) - base::TimeDelta::FromSeconds(1), base 393 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(3) + base::TimeDelta::FromSeconds(1), base 404 net/disk_cache/simple/simple_index_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(2), base 418 net/disk_cache/simple/simple_index_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(2), base 424 net/disk_cache/simple/simple_index_unittest.cc base::Time now(base::Time::Now()); base 425 net/disk_cache/simple/simple_index_unittest.cc EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 426 net/disk_cache/simple/simple_index_unittest.cc EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 437 net/disk_cache/simple/simple_index_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(2), base 451 net/disk_cache/simple/simple_index_unittest.cc base::Time::Now() - base::TimeDelta::FromDays(2), base 457 net/disk_cache/simple/simple_index_unittest.cc base::Time now(base::Time::Now()); base 458 net/disk_cache/simple/simple_index_unittest.cc EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 459 net/disk_cache/simple/simple_index_unittest.cc EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 466 net/disk_cache/simple/simple_index_unittest.cc base::Time now(base::Time::Now()); base 470 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(2), base 474 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(3), base 479 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(4), base 484 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(5), base 487 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(6), base 496 net/disk_cache/simple/simple_index_unittest.cc EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 497 net/disk_cache/simple/simple_index_unittest.cc EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 503 net/disk_cache/simple/simple_index_unittest.cc EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 504 net/disk_cache/simple/simple_index_unittest.cc EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); base 510 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(6) + base::TimeDelta::FromSeconds(1), base 513 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(6) - base::TimeDelta::FromSeconds(1), base 520 net/disk_cache/simple/simple_index_unittest.cc base::Time now(base::Time::Now()); base 523 net/disk_cache/simple/simple_index_unittest.cc now - base::TimeDelta::FromDays(2), base 589 net/disk_cache/simple/simple_index_unittest.cc base::Closure user_task(index()->write_to_disk_timer_.user_task()); base 599 net/disk_cache/simple/simple_index_unittest.cc base::Time now(base::Time::Now()); base 603 net/disk_cache/simple/simple_index_unittest.cc EXPECT_LT(now - base::TimeDelta::FromMinutes(1), entry1.GetLastUsedTime()); base 604 net/disk_cache/simple/simple_index_unittest.cc EXPECT_GT(now + base::TimeDelta::FromMinutes(1), entry1.GetLastUsedTime()); base 617 net/disk_cache/simple/simple_index_unittest.cc base::TimeTicks expected_trigger( base 18 net/disk_cache/simple/simple_net_log_parameters.cc base::Value* NetLogSimpleEntryConstructionCallback( base 21 net/disk_cache/simple/simple_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 23 net/disk_cache/simple/simple_net_log_parameters.cc base::StringPrintf("%#016" PRIx64, entry->entry_hash())); base 27 net/disk_cache/simple/simple_net_log_parameters.cc base::Value* NetLogSimpleEntryCreationCallback( base 31 net/disk_cache/simple/simple_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 45 net/disk_cache/simple/simple_net_log_parameters.cc return base::Bind(&NetLogSimpleEntryConstructionCallback, entry); base 52 net/disk_cache/simple/simple_net_log_parameters.cc return base::Bind(&NetLogSimpleEntryCreationCallback, entry, net_error); base 26 net/disk_cache/simple/simple_synchronous_entry.cc using base::File; base 27 net/disk_cache/simple/simple_synchronous_entry.cc using base::FilePath; base 28 net/disk_cache/simple/simple_synchronous_entry.cc using base::Time; base 123 net/disk_cache/simple/simple_synchronous_entry.cc SimpleEntryStat::SimpleEntryStat(base::Time last_used, base 124 net/disk_cache/simple/simple_synchronous_entry.cc base::Time last_modified, base 384 net/disk_cache/simple/simple_synchronous_entry.cc base::Time modification_time = Time::Now(); base 393 net/disk_cache/simple/simple_synchronous_entry.cc base::Time* out_last_used, base 551 net/disk_cache/simple/simple_synchronous_entry.cc base::Time modification_time = Time::Now(); base 771 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); base 775 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); base 780 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); base 790 net/disk_cache/simple/simple_synchronous_entry.cc base::TimeDelta entry_age = base::Time::Now() - base::Time::UnixEpoch(); base 799 net/disk_cache/simple/simple_synchronous_entry.cc base::Time file_last_modified; base 810 net/disk_cache/simple/simple_synchronous_entry.cc base::TimeDelta stream_age = base 811 net/disk_cache/simple/simple_synchronous_entry.cc base::Time::Now() - out_entry_stat->last_modified(); base 850 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); base 854 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); base 859 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); base 869 net/disk_cache/simple/simple_synchronous_entry.cc base::Time creation_time = Time::Now(); base 962 net/disk_cache/simple/simple_synchronous_entry.cc if (base::Hash(key.get(), header.key_length) != header.key_hash) { base 1006 net/disk_cache/simple/simple_synchronous_entry.cc header.key_hash = base::Hash(key_); base 1142 net/disk_cache/simple/simple_synchronous_entry.cc return base::DeleteFile(to_delete, false); base 1156 net/disk_cache/simple/simple_synchronous_entry.cc base::DeleteFile(to_delete, false); base 1234 net/disk_cache/simple/simple_synchronous_entry.cc header.key_hash = base::Hash(key_); base 37 net/disk_cache/simple/simple_synchronous_entry.h SimpleEntryStat(base::Time last_used, base 38 net/disk_cache/simple/simple_synchronous_entry.h base::Time last_modified, base 49 net/disk_cache/simple/simple_synchronous_entry.h base::Time last_used() const { return last_used_; } base 50 net/disk_cache/simple/simple_synchronous_entry.h base::Time last_modified() const { return last_modified_; } base 51 net/disk_cache/simple/simple_synchronous_entry.h void set_last_used(base::Time last_used) { last_used_ = last_used; } base 52 net/disk_cache/simple/simple_synchronous_entry.h void set_last_modified(base::Time last_modified) { base 67 net/disk_cache/simple/simple_synchronous_entry.h base::Time last_used_; base 68 net/disk_cache/simple/simple_synchronous_entry.h base::Time last_modified_; base 116 net/disk_cache/simple/simple_synchronous_entry.h const base::FilePath& path, base 122 net/disk_cache/simple/simple_synchronous_entry.h const base::FilePath& path, base 131 net/disk_cache/simple/simple_synchronous_entry.h static int DoomEntry(const base::FilePath& path, base 138 net/disk_cache/simple/simple_synchronous_entry.h const base::FilePath& path); base 157 net/disk_cache/simple/simple_synchronous_entry.h base::Time* out_last_used, base 174 net/disk_cache/simple/simple_synchronous_entry.h const base::FilePath& path() const { return path_; } base 204 net/disk_cache/simple/simple_synchronous_entry.h const base::FilePath& path, base 216 net/disk_cache/simple/simple_synchronous_entry.h base::File::Error* out_error); base 222 net/disk_cache/simple/simple_synchronous_entry.h base::File::Error* out_error); base 297 net/disk_cache/simple/simple_synchronous_entry.h static bool DeleteFileForEntryHash(const base::FilePath& path, base 300 net/disk_cache/simple/simple_synchronous_entry.h static bool DeleteFilesForEntryHash(const base::FilePath& path, base 305 net/disk_cache/simple/simple_synchronous_entry.h base::FilePath GetFilenameFromFileIndex(int file_index); base 312 net/disk_cache/simple/simple_synchronous_entry.h const base::FilePath path_; base 319 net/disk_cache/simple/simple_synchronous_entry.h base::File files_[kSimpleEntryFileCount]; base 328 net/disk_cache/simple/simple_synchronous_entry.h base::File sparse_file_; base 15 net/disk_cache/simple/simple_test_util.cc const base::FilePath& cache_path) { base 16 net/disk_cache/simple/simple_test_util.cc base::FilePath entry_file_path = cache_path.AppendASCII( base 18 net/disk_cache/simple/simple_test_util.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; base 19 net/disk_cache/simple/simple_test_util.cc base::File entry_file(entry_file_path, flags); base 13 net/disk_cache/simple/simple_test_util.h namespace base { base 26 net/disk_cache/simple/simple_test_util.h ImmutableArray(const base::Callback<T (size_t index)>& initializer) { base 43 net/disk_cache/simple/simple_test_util.h const base::FilePath& cache_path); base 52 net/disk_cache/simple/simple_util.cc const std::string hash_key_str = base::StringPrintf("%016" PRIx64, hash_key); base 64 net/disk_cache/simple/simple_util.cc bool GetEntryHashKeyFromHexString(const base::StringPiece& hash_key, base 69 net/disk_cache/simple/simple_util.cc return base::HexStringToUInt64(hash_key, hash_key_out); base 74 net/disk_cache/simple/simple_util.cc unsigned char sha_hash[base::kSHA1Length]; base 77 net/disk_cache/simple/simple_util.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(key.data()), base 84 net/disk_cache/simple/simple_util.cc return base::StringPrintf("%016" PRIx64 "_%1d", entry_hash, file_index); base 88 net/disk_cache/simple/simple_util.cc return base::StringPrintf("%016" PRIx64 "_s", entry_hash); base 94 net/disk_cache/simple/simple_util.cc base::StringPrintf("_%1d", file_index); base 114 net/disk_cache/simple/simple_util.cc bool GetMTime(const base::FilePath& path, base::Time* out_mtime) { base 117 net/disk_cache/simple/simple_util.cc base::ThreadRestrictions::AssertIOAllowed(); base 124 net/disk_cache/simple/simple_util.cc int64 usec = (nsec / base::Time::kNanosecondsPerMicrosecond); base 125 net/disk_cache/simple/simple_util.cc *out_mtime = base::Time::FromTimeT(sec) base 126 net/disk_cache/simple/simple_util.cc + base::TimeDelta::FromMicroseconds(usec); base 130 net/disk_cache/simple/simple_util.cc base::File::Info file_info; base 131 net/disk_cache/simple/simple_util.cc if (!base::GetFileInfo(path, &file_info)) base 14 net/disk_cache/simple/simple_util.h namespace base { base 37 net/disk_cache/simple/simple_util.h const base::StringPiece& hash_key, base 70 net/disk_cache/simple/simple_util.h NET_EXPORT_PRIVATE bool GetMTime(const base::FilePath& path, base 71 net/disk_cache/simple/simple_util.h base::Time* out_mtime); base 32 net/disk_cache/simple/simple_version_upgrade.cc bool WriteFakeIndexFile(const base::FilePath& file_name) { base 33 net/disk_cache/simple/simple_version_upgrade.cc base::File file(file_name, base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 102 net/disk_cache/simple/simple_version_upgrade.cc bool UpgradeIndexV5V6(const base::FilePath& cache_directory) { base 103 net/disk_cache/simple/simple_version_upgrade.cc const base::FilePath old_index_file = base 105 net/disk_cache/simple/simple_version_upgrade.cc if (!base::DeleteFile(old_index_file, /* recursive = */ false)) base 125 net/disk_cache/simple/simple_version_upgrade.cc bool UpgradeSimpleCacheOnDisk(const base::FilePath& path) { base 135 net/disk_cache/simple/simple_version_upgrade.cc const base::FilePath fake_index = path.AppendASCII(kFakeIndexFileName); base 136 net/disk_cache/simple/simple_version_upgrade.cc base::File fake_index_file(fake_index, base 137 net/disk_cache/simple/simple_version_upgrade.cc base::File::FLAG_OPEN | base::File::FLAG_READ); base 140 net/disk_cache/simple/simple_version_upgrade.cc if (fake_index_file.error_details() == base::File::FILE_ERROR_NOT_FOUND) { base 177 net/disk_cache/simple/simple_version_upgrade.cc const base::FilePath temp_fake_index = path.AppendASCII("upgrade-index"); base 179 net/disk_cache/simple/simple_version_upgrade.cc base::DeleteFile(temp_fake_index, /* recursive = */ false); base 184 net/disk_cache/simple/simple_version_upgrade.cc if (!base::ReplaceFile(temp_fake_index, fake_index, NULL)) { base 15 net/disk_cache/simple/simple_version_upgrade.h namespace base { base 27 net/disk_cache/simple/simple_version_upgrade.h NET_EXPORT_PRIVATE bool UpgradeSimpleCacheOnDisk(const base::FilePath& path); base 46 net/disk_cache/simple/simple_version_upgrade.h NET_EXPORT_PRIVATE bool UpgradeIndexV5V6(const base::FilePath& cache_directory); base 34 net/disk_cache/simple/simple_version_upgrade_unittest.cc bool WriteFakeIndexFileV5(const base::FilePath& cache_path) { base 40 net/disk_cache/simple/simple_version_upgrade_unittest.cc const base::FilePath file_name = cache_path.AppendASCII("index"); base 42 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::WriteFile( base 47 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::ScopedTempDir cache_dir; base 49 net/disk_cache/simple/simple_version_upgrade_unittest.cc const base::FilePath cache_path = cache_dir.path(); base 56 net/disk_cache/simple/simple_version_upgrade_unittest.cc const base::FilePath file_name = cache_path.AppendASCII(kFakeIndexFileName); base 58 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::WriteFile( base 64 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::ScopedTempDir cache_dir; base 66 net/disk_cache/simple/simple_version_upgrade_unittest.cc const base::FilePath cache_path = cache_dir.path(); base 70 net/disk_cache/simple/simple_version_upgrade_unittest.cc const base::FilePath index_file = cache_path.AppendASCII(kIndexFileName); base 72 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::WriteFile( base 80 net/disk_cache/simple/simple_version_upgrade_unittest.cc ASSERT_TRUE(base::ReadFileToString(cache_path.AppendASCII(kFakeIndexFileName), base 91 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::ScopedTempDir cache_dir; base 93 net/disk_cache/simple/simple_version_upgrade_unittest.cc const base::FilePath cache_path = cache_dir.path(); base 97 net/disk_cache/simple/simple_version_upgrade_unittest.cc const base::FilePath index_file = cache_path.AppendASCII(kIndexFileName); base 99 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::WriteFile( base 107 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::StringPrintf("%016" PRIx64 "_%1d", entry_hash, index); base 110 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::StringPrintf(" %" PRIx64, implicit_cast<uint64>(entry_hash)); base 112 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::WriteFile(cache_path.AppendASCII(file_name), base 122 net/disk_cache/simple/simple_version_upgrade_unittest.cc EXPECT_FALSE(base::PathExists(index_file)); base 126 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::StringPrintf("%016" PRIx64 "_%1d", entry_hash, index); base 129 net/disk_cache/simple/simple_version_upgrade_unittest.cc base::StringPrintf(" %" PRIx64, implicit_cast<uint64>(entry_hash)); base 131 net/disk_cache/simple/simple_version_upgrade_unittest.cc EXPECT_TRUE(base::ReadFileToString(cache_path.AppendASCII(file_name), base 14 net/disk_cache/tracing/tracing_cache_backend.cc class EntryProxy : public Entry, public base::RefCountedThreadSafe<EntryProxy> { base 20 net/disk_cache/tracing/tracing_cache_backend.cc virtual base::Time GetLastUsed() const OVERRIDE; base 21 net/disk_cache/tracing/tracing_cache_backend.cc virtual base::Time GetLastModified() const OVERRIDE; base 50 net/disk_cache/tracing/tracing_cache_backend.cc void RecordEvent(base::TimeTicks start_time, Operation op, RwOpExtra extra, base 52 net/disk_cache/tracing/tracing_cache_backend.cc void EntryOpComplete(base::TimeTicks start_time, Operation op, base 56 net/disk_cache/tracing/tracing_cache_backend.cc base::WeakPtr<TracingCacheBackend> backend_; base 81 net/disk_cache/tracing/tracing_cache_backend.cc base::Time EntryProxy::GetLastUsed() const { base 85 net/disk_cache/tracing/tracing_cache_backend.cc base::Time EntryProxy::GetLastModified() const { base 95 net/disk_cache/tracing/tracing_cache_backend.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 103 net/disk_cache/tracing/tracing_cache_backend.cc base::Bind(&EntryProxy::EntryOpComplete, this, start_time, base 114 net/disk_cache/tracing/tracing_cache_backend.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 121 net/disk_cache/tracing/tracing_cache_backend.cc base::Bind(&EntryProxy::EntryOpComplete, this, start_time, base 159 net/disk_cache/tracing/tracing_cache_backend.cc void EntryProxy::RecordEvent(base::TimeTicks start_time, Operation op, base 164 net/disk_cache/tracing/tracing_cache_backend.cc void EntryProxy::EntryOpComplete(base::TimeTicks start_time, Operation op, base 194 net/disk_cache/tracing/tracing_cache_backend.cc void TracingCacheBackend::RecordEvent(base::TimeTicks start_time, Operation op, base 220 net/disk_cache/tracing/tracing_cache_backend.cc void TracingCacheBackend::BackendOpComplete(base::TimeTicks start_time, base 236 net/disk_cache/tracing/tracing_cache_backend.cc Operation op, base::TimeTicks start_time, const std::string& key, base 238 net/disk_cache/tracing/tracing_cache_backend.cc return base::Bind(&TracingCacheBackend::BackendOpComplete, base 245 net/disk_cache/tracing/tracing_cache_backend.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 260 net/disk_cache/tracing/tracing_cache_backend.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 275 net/disk_cache/tracing/tracing_cache_backend.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 289 net/disk_cache/tracing/tracing_cache_backend.cc int TracingCacheBackend::DoomEntriesBetween(base::Time initial_time, base 290 net/disk_cache/tracing/tracing_cache_backend.cc base::Time end_time, base 295 net/disk_cache/tracing/tracing_cache_backend.cc int TracingCacheBackend::DoomEntriesSince(base::Time initial_time, base 23 net/disk_cache/tracing/tracing_cache_backend.h public base::SupportsWeakPtr<TracingCacheBackend> { base 36 net/disk_cache/tracing/tracing_cache_backend.h virtual int DoomEntriesBetween(base::Time initial_time, base 37 net/disk_cache/tracing/tracing_cache_backend.h base::Time end_time, base 39 net/disk_cache/tracing/tracing_cache_backend.h virtual int DoomEntriesSince(base::Time initial_time, base 63 net/disk_cache/tracing/tracing_cache_backend.h void RecordEvent(base::TimeTicks start_time, Operation op, std::string key, base 66 net/disk_cache/tracing/tracing_cache_backend.h void BackendOpComplete(base::TimeTicks start_time, Operation op, base 71 net/disk_cache/tracing/tracing_cache_backend.h base::TimeTicks start_time, base 23 net/dns/address_sorter.h typedef base::Callback<void(bool success, base 27 net/dns/address_sorter_posix.h public base::NonThreadSafe, base 171 net/dns/address_sorter_posix_unittest.cc sorter_.Sort(list, base::Bind(&OnSortComplete, &result, base 60 net/dns/address_sorter_unittest.cc sorter->Sort(list, base::Bind(&OnSortComplete, &result, base 42 net/dns/address_sorter_win.cc class Job : public base::RefCountedThreadSafe<Job> { base 74 net/dns/address_sorter_win.cc if (!base::WorkerPool::PostTaskAndReply( base 76 net/dns/address_sorter_win.cc base::Bind(&Job::Run, this), base 77 net/dns/address_sorter_win.cc base::Bind(&Job::OnComplete, this), base 127 net/dns/address_sorter_win.cc scoped_ptr<SOCKET_ADDRESS_LIST, base::FreeDeleter> input_buffer_; base 128 net/dns/address_sorter_win.cc scoped_ptr<SOCKET_ADDRESS_LIST, base::FreeDeleter> output_buffer_; base 175 net/dns/address_sorter_win.cc sorter_.Sort(list_ipv6, base::Bind(&MergeResults, callback, list_ipv4)); base 192 net/dns/address_sorter_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 37 net/dns/dns_client.cc base::Bind(&base::RandInt), base 103 net/dns/dns_config_service.cc timeout(base::TimeDelta::FromSeconds(kDnsTimeoutSeconds)), base 141 net/dns/dns_config_service.cc base::Value* DnsConfig::ToValue() const { base 142 net/dns/dns_config_service.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 144 net/dns/dns_config_service.cc base::ListValue* list = new base::ListValue(); base 146 net/dns/dns_config_service.cc list->Append(new base::StringValue(nameservers[i].ToString())); base 149 net/dns/dns_config_service.cc list = new base::ListValue(); base 151 net/dns/dns_config_service.cc list->Append(new base::StringValue(search[i])); base 197 net/dns/dns_config_service.cc base::TimeTicks now = base::TimeTicks::Now(); base 211 net/dns/dns_config_service.cc base::TimeTicks now = base::TimeTicks::Now(); base 235 net/dns/dns_config_service.cc base::TimeTicks::Now() - last_sent_empty_time_); base 259 net/dns/dns_config_service.cc base::TimeTicks::Now() - last_sent_empty_time_); base 285 net/dns/dns_config_service.cc const base::TimeDelta kTimeout = base::TimeDelta::FromMilliseconds(150); base 301 net/dns/dns_config_service.cc last_sent_empty_time_ = base::TimeTicks::Now(); base 25 net/dns/dns_config_service.h namespace base { base 80 net/dns/dns_config_service.h base::Value* ToValue() const; base 111 net/dns/dns_config_service.h base::TimeDelta timeout; base 128 net/dns/dns_config_service.h : NON_EXPORTED_BASE(public base::NonThreadSafe) { base 132 net/dns/dns_config_service.h typedef base::Callback<void(const DnsConfig& config)> CallbackType; base 201 net/dns/dns_config_service.h base::TimeTicks last_invalidate_config_time_; base 202 net/dns/dns_config_service.h base::TimeTicks last_invalidate_hosts_time_; base 204 net/dns/dns_config_service.h base::TimeTicks last_sent_empty_time_; base 207 net/dns/dns_config_service.h base::OneShotTimer<DnsConfigService> timer_; base 40 net/dns/dns_config_service_posix.cc const base::FilePath::CharType* kFilePathHosts = base 43 net/dns/dns_config_service_posix.cc const base::FilePath::CharType* kFilePathHosts = base 52 net/dns/dns_config_service_posix.cc typedef base::Callback<void(bool succeeded)> CallbackType; base 71 net/dns/dns_config_service_posix.cc bool Watch(const base::Callback<void(bool succeeded)>& callback) { base 83 net/dns/dns_config_service_posix.cc base::Callback<void(bool succeeded)> callback_; base 92 net/dns/dns_config_service_posix.cc static const base::FilePath::CharType* kFilePathConfig = base 97 net/dns/dns_config_service_posix.cc typedef base::Callback<void(bool succeeded)> CallbackType; base 101 net/dns/dns_config_service_posix.cc return watcher_.Watch(base::FilePath(kFilePathConfig), false, base 102 net/dns/dns_config_service_posix.cc base::Bind(&DnsConfigWatcher::OnCallback, base 103 net/dns/dns_config_service_posix.cc base::Unretained(this))); base 107 net/dns/dns_config_service_posix.cc void OnCallback(const base::FilePath& path, bool error) { base 111 net/dns/dns_config_service_posix.cc base::FilePathWatcher watcher_; base 158 net/dns/dns_config_service_posix.cc config->timeout = base::TimeDelta::FromSeconds(kDnsTimeoutSeconds); base 211 net/dns/dns_config_service_posix.cc if (!config_watcher_.Watch(base::Bind(&Watcher::OnConfigChanged, base 212 net/dns/dns_config_service_posix.cc base::Unretained(this)))) { base 219 net/dns/dns_config_service_posix.cc if (!hosts_watcher_.Watch(base::FilePath(kFilePathHosts), false, base 220 net/dns/dns_config_service_posix.cc base::Bind(&Watcher::OnHostsChanged, base 221 net/dns/dns_config_service_posix.cc base::Unretained(this)))) { base 234 net/dns/dns_config_service_posix.cc const base::TimeDelta kDelay = base::TimeDelta::FromMilliseconds(50); base 235 net/dns/dns_config_service_posix.cc base::MessageLoop::current()->PostDelayedTask( base 237 net/dns/dns_config_service_posix.cc base::Bind(&Watcher::OnConfigChangedDelayed, base 245 net/dns/dns_config_service_posix.cc void OnHostsChanged(const base::FilePath& path, bool error) { base 249 net/dns/dns_config_service_posix.cc base::WeakPtrFactory<Watcher> weak_factory_; base 252 net/dns/dns_config_service_posix.cc base::FilePathWatcher hosts_watcher_; base 266 net/dns/dns_config_service_posix.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 284 net/dns/dns_config_service_posix.cc base::TimeTicks::Now() - start_time); base 317 net/dns/dns_config_service_posix.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 321 net/dns/dns_config_service_posix.cc base::TimeTicks::Now() - start_time); base 333 net/dns/dns_config_service_posix.cc const base::FilePath path_; base 456 net/dns/dns_config_service_posix.cc dns_config->timeout = base::TimeDelta::FromSeconds(res.retrans); base 51 net/dns/dns_config_service_posix_unittest.cc sa.sin_port = base::HostToNet16(NS_DEFAULTPORT + i); base 67 net/dns/dns_config_service_posix_unittest.cc sa6->sin6_port = base::HostToNet16(NS_DEFAULTPORT - i); base 88 net/dns/dns_config_service_posix_unittest.cc config->timeout = base::TimeDelta::FromSeconds(4); base 140 net/dns/dns_config_service_posix_unittest.cc sa.sin_port = base::HostToNet16(NS_DEFAULTPORT); base 38 net/dns/dns_config_service_unittest.cc base::SplitString(servers_string, ' ', &server_strings); base 118 net/dns/dns_config_service_unittest.cc base::MessageLoop::current()->Quit(); base 149 net/dns/dns_config_service_unittest.cc void WaitForConfig(base::TimeDelta timeout) { base 150 net/dns/dns_config_service_unittest.cc base::CancelableClosure closure(base::MessageLoop::QuitClosure()); base 151 net/dns/dns_config_service_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 154 net/dns/dns_config_service_unittest.cc base::MessageLoop::current()->Run(); base 183 net/dns/dns_config_service_unittest.cc service_->WatchConfig(base::Bind(&DnsConfigServiceTest::OnConfigChanged, base 184 net/dns/dns_config_service_unittest.cc base::Unretained(this))); base 235 net/dns/dns_config_service_unittest.cc WaitForConfig(base::TimeDelta::FromMilliseconds(100) + base 342 net/dns/dns_config_service_unittest.cc service->ReadConfig(base::Bind(&DnsConfigServiceTest::OnConfigChanged, base 343 net/dns/dns_config_service_unittest.cc base::Unretained(this))); base 344 net/dns/dns_config_service_unittest.cc base::TimeDelta kTimeout = TestTimeouts::action_max_timeout(); base 70 net/dns/dns_config_service_win.cc class RegistryReader : public base::NonThreadSafe { base 110 net/dns/dns_config_service_win.cc base::win::RegKey key_; base 116 net/dns/dns_config_service_win.cc scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> ReadIpHelper(ULONG flags) { base 117 net/dns/dns_config_service_win.cc base::ThreadRestrictions::AssertIOAllowed(); base 119 net/dns/dns_config_service_win.cc scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> out; base 136 net/dns/dns_config_service_win.cc bool ParseDomainASCII(const base::string16& widestr, std::string* domain) { base 143 net/dns/dns_config_service_win.cc *domain = base::UTF16ToASCII(widestr); base 149 net/dns/dns_config_service_win.cc url_canon::RawCanonOutputT<base::char16, kInitialBufferSize> punycode; base 156 net/dns/dns_config_service_win.cc bool success = base::UTF16ToUTF8(punycode.data(), punycode.length(), domain); base 213 net/dns/dns_config_service_win.cc base::win::RegistryKeyIterator nrpt_rules(HKEY_LOCAL_MACHINE, kNRPTPath); base 253 net/dns/dns_config_service_win.cc scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> addresses = base 293 net/dns/dns_config_service_win.cc class RegistryWatcher : public base::win::ObjectWatcher::Delegate, base 294 net/dns/dns_config_service_win.cc public base::NonThreadSafe { base 296 net/dns/dns_config_service_win.cc typedef base::Callback<void(bool succeeded)> CallbackType; base 328 net/dns/dns_config_service_win.cc base::win::RegKey key_; base 329 net/dns/dns_config_service_win.cc base::win::ObjectWatcher watcher_; base 349 net/dns/dns_config_service_win.cc base::FilePath GetHostsPath() { base 353 net/dns/dns_config_service_win.cc return base::FilePath(buffer).Append( base 443 net/dns/dns_config_service_win.cc bool ParseSearchList(const base::string16& value, base 455 net/dns/dns_config_service_win.cc std::vector<base::string16> woutput; base 456 net/dns/dns_config_service_win.cc base::SplitString(value, ',', &woutput); base 460 net/dns/dns_config_service_win.cc const base::string16& t = woutput[i]; base 522 net/dns/dns_config_service_win.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 556 net/dns/dns_config_service_win.cc base::Bind(&DnsConfigServiceWin::OnConfigChanged, base 557 net/dns/dns_config_service_win.cc base::Unretained(service_)); base 583 net/dns/dns_config_service_win.cc base::Bind(&Watcher::OnHostsChanged, base 584 net/dns/dns_config_service_win.cc base::Unretained(this)))) { base 598 net/dns/dns_config_service_win.cc void OnHostsChanged(const base::FilePath& path, bool error) { base 616 net/dns/dns_config_service_win.cc base::FilePathWatcher hosts_watcher_; base 633 net/dns/dns_config_service_win.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 644 net/dns/dns_config_service_win.cc base::TimeTicks::Now() - start_time); base 655 net/dns/dns_config_service_win.cc base::MessageLoop::current()->PostDelayedTask( base 657 net/dns/dns_config_service_win.cc base::Bind(&ConfigReader::WorkNow, this), base 658 net/dns/dns_config_service_win.cc base::TimeDelta::FromSeconds(kRetryIntervalSeconds)); base 682 net/dns/dns_config_service_win.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 691 net/dns/dns_config_service_win.cc base::TimeTicks::Now() - start_time); base 703 net/dns/dns_config_service_win.cc const base::FilePath path_; base 41 net/dns/dns_config_service_win.h bool NET_EXPORT_PRIVATE ParseSearchList(const base::string16& value, base 51 net/dns/dns_config_service_win.h base::string16 value; base 68 net/dns/dns_config_service_win.h scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> addresses; base 61 net/dns/dns_config_service_win_unittest.cc scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> CreateAdapterAddresses( base 75 net/dns/dns_config_service_win_unittest.cc scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> heap( base 400 net/dns/dns_config_service_win_unittest.cc bool default_value = (base::win::GetVersion() < base::win::VERSION_VISTA); base 56 net/dns/dns_config_watcher_mac.cc static base::LazyInstance<DnsInfoApi>::Leaky api = LAZY_INSTANCE_INITIALIZER; base 73 net/dns/dns_config_watcher_mac.cc const base::Callback<void(bool succeeded)>& callback) { base 15 net/dns/dns_config_watcher_mac.h bool Watch(const base::Callback<void(bool succeeded)>& callback); base 13 net/dns/dns_hosts.cc using base::StringPiece; base 143 net/dns/dns_hosts.cc bool ParseHostsFile(const base::FilePath& path, DnsHosts* dns_hosts) { base 146 net/dns/dns_hosts.cc if (!base::PathExists(path)) base 150 net/dns/dns_hosts.cc if (!base::GetFileSize(path, &size)) base 161 net/dns/dns_hosts.cc if (!base::ReadFileToString(path, &contents)) base 30 net/dns/dns_hosts.h hash<base::StringPiece> string_piece_hash; base 58 net/dns/dns_hosts.h typedef base::hash_map<DnsHostsKey, IPAddressNumber> DnsHosts; base 71 net/dns/dns_hosts.h bool NET_EXPORT_PRIVATE ParseHostsFile(const base::FilePath& path, base 21 net/dns/dns_query.cc DnsQuery::DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype) base 31 net/dns/dns_query.cc header->id = base::HostToNet16(id); base 32 net/dns/dns_query.cc header->flags = base::HostToNet16(dns_protocol::kFlagRD); base 33 net/dns/dns_query.cc header->qdcount = base::HostToNet16(1); base 36 net/dns/dns_query.cc base::BigEndianWriter writer(reinterpret_cast<char*>(header + 1), base 53 net/dns/dns_query.cc return base::NetToHost16(header->id); base 56 net/dns/dns_query.cc base::StringPiece DnsQuery::qname() const { base 57 net/dns/dns_query.cc return base::StringPiece(io_buffer_->data() + sizeof(dns_protocol::Header), base 63 net/dns/dns_query.cc base::ReadBigEndian<uint16>( base 68 net/dns/dns_query.cc base::StringPiece DnsQuery::question() const { base 69 net/dns/dns_query.cc return base::StringPiece(io_buffer_->data() + sizeof(dns_protocol::Header), base 80 net/dns/dns_query.cc header->id = base::HostToNet16(id); base 23 net/dns/dns_query.h DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype); base 31 net/dns/dns_query.h base::StringPiece qname() const; base 36 net/dns/dns_query.h base::StringPiece question() const; base 40 net/dns/dns_query_unittest.cc base::StringPiece qname(qname_data, sizeof(qname_data)); base 48 net/dns/dns_query_unittest.cc base::StringPiece question(reinterpret_cast<const char*>(query_data) + 12, base 56 net/dns/dns_query_unittest.cc base::StringPiece qname(qname_data, sizeof(qname_data)); base 76 net/dns/dns_response.cc base::ReadBigEndian<uint16>(p, &offset); base 116 net/dns/dns_response.cc base::BigEndianReader reader(cur_ + consumed, base 171 net/dns/dns_response.cc if (base::NetToHost16(header()->id) != query.id()) base 175 net/dns/dns_response.cc if (base::NetToHost16(header()->qdcount) != 1) base 180 net/dns/dns_response.cc const base::StringPiece question = query.question(); base 181 net/dns/dns_response.cc if (question != base::StringPiece(io_buffer_->data() + hdr_size, base 204 net/dns/dns_response.cc unsigned qdcount = base::NetToHost16(header()->qdcount); base 221 net/dns/dns_response.cc return base::NetToHost16(header()->flags) & ~(dns_protocol::kRcodeMask); base 226 net/dns/dns_response.cc return base::NetToHost16(header()->flags) & dns_protocol::kRcodeMask; base 231 net/dns/dns_response.cc return base::NetToHost16(header()->ancount); base 236 net/dns/dns_response.cc return base::NetToHost16(header()->arcount); base 239 net/dns/dns_response.cc base::StringPiece DnsResponse::qname() const { base 246 net/dns/dns_response.cc return base::StringPiece(io_buffer_->data() + hdr_size, qname_size); base 254 net/dns/dns_response.cc base::ReadBigEndian<uint16>(io_buffer_->data() + type_offset, &type); base 274 net/dns/dns_response.cc base::TimeDelta* ttl) const { base 306 net/dns/dns_response.cc if (base::strcasecmp(record.name.c_str(), expected_name.c_str()) != 0) base 318 net/dns/dns_response.cc if (base::strcasecmp(record.name.c_str(), expected_name.c_str()) != 0) base 333 net/dns/dns_response.cc *ttl = base::TimeDelta::FromSeconds(ttl_sec); base 36 net/dns/dns_response.h base::StringPiece rdata; // points to the original response buffer base 138 net/dns/dns_response.h base::StringPiece qname() const; base 151 net/dns/dns_response.h Result ParseToAddressList(AddressList* addr_list, base::TimeDelta* ttl) const; base 147 net/dns/dns_response_unittest.cc EXPECT_EQ(base::StringPiece("\x7f\x02\x04\x01"), record.rdata); base 160 net/dns/dns_response_unittest.cc const base::StringPiece qname(qname_data, sizeof(qname_data)); base 448 net/dns/dns_response_unittest.cc base::TimeDelta ttl; base 456 net/dns/dns_response_unittest.cc EXPECT_EQ(base::TimeDelta::FromSeconds(t.expected_ttl_sec), ttl); base 573 net/dns/dns_response_unittest.cc base::TimeDelta ttl; base 38 net/dns/dns_session.cc ServerStats(base::TimeDelta rtt_estimate_param, RttBuckets* buckets) base 40 net/dns/dns_session.cc rtt_histogram.reset(new base::SampleVector(buckets)); base 49 net/dns/dns_session.cc base::Time last_failure; base 51 net/dns/dns_session.cc base::Time last_success; base 54 net/dns/dns_session.cc base::TimeDelta rtt_estimate; base 56 net/dns/dns_session.cc base::TimeDelta rtt_deviation; base 59 net/dns/dns_session.cc scoped_ptr<base::SampleVector> rtt_histogram; base 65 net/dns/dns_session.cc base::LazyInstance<DnsSession::RttBuckets>::Leaky DnsSession::rtt_buckets_ = base 68 net/dns/dns_session.cc DnsSession::RttBuckets::RttBuckets() : base::BucketRanges(kRTTBucketCount + 1) { base 69 net/dns/dns_session.cc base::Histogram::InitializeBucketRanges(1, 5000, this); base 87 net/dns/dns_session.cc rand_callback_(base::Bind(rand_int_callback, 0, kuint16max)), base 114 net/dns/dns_session.cc base::Time oldest_server_failure(base::Time::Now()); base 121 net/dns/dns_session.cc base::Time cur_server_failure = server_stats_[index]->last_failure; base 144 net/dns/dns_session.cc server_stats_[server_index]->last_failure = base::Time::Now(); base 156 net/dns/dns_session.cc server_stats_[server_index]->last_failure = base::Time(); base 157 net/dns/dns_session.cc server_stats_[server_index]->last_success = base::Time::Now(); base 160 net/dns/dns_session.cc void DnsSession::RecordRTT(unsigned server_index, base::TimeDelta rtt) { base 164 net/dns/dns_session.cc base::TimeDelta timeout_jacobson = NextTimeoutFromJacobson(server_index, 0); base 165 net/dns/dns_session.cc base::TimeDelta timeout_histogram = NextTimeoutFromHistogram(server_index, 0); base 176 net/dns/dns_session.cc base::TimeDelta& estimate = server_stats_[server_index]->rtt_estimate; base 177 net/dns/dns_session.cc base::TimeDelta& deviation = server_stats_[server_index]->rtt_deviation; base 178 net/dns/dns_session.cc base::TimeDelta current_error = rtt - estimate; base 180 net/dns/dns_session.cc base::TimeDelta abs_error = base::TimeDelta::FromInternalValue( base 190 net/dns/dns_session.cc base::TimeDelta timeout_jacobson = base 192 net/dns/dns_session.cc base::TimeDelta timeout_histogram = base 213 net/dns/dns_session.cc base::TimeDelta DnsSession::NextTimeout(unsigned server_index, int attempt) { base 251 net/dns/dns_session.cc base::TimeDelta DnsSession::NextTimeoutFromJacobson(unsigned server_index, base 255 net/dns/dns_session.cc base::TimeDelta timeout = server_stats_[server_index]->rtt_estimate + base 258 net/dns/dns_session.cc timeout = std::max(timeout, base::TimeDelta::FromMilliseconds(kMinTimeoutMs)); base 264 net/dns/dns_session.cc base::TimeDelta::FromMilliseconds(kMaxTimeoutMs)); base 267 net/dns/dns_session.cc base::TimeDelta DnsSession::NextTimeoutFromHistogram(unsigned server_index, base 271 net/dns/dns_session.cc COMPILE_ASSERT(std::numeric_limits<base::HistogramBase::Count>::is_signed, base 275 net/dns/dns_session.cc const base::SampleVector& samples = base 278 net/dns/dns_session.cc base::HistogramBase::Count total = samples.TotalCount(); base 279 net/dns/dns_session.cc base::HistogramBase::Count remaining_count = kRTOPercentile * total / 100; base 286 net/dns/dns_session.cc base::TimeDelta timeout = base 287 net/dns/dns_session.cc base::TimeDelta::FromMilliseconds(rtt_buckets_.Get().range(index)); base 289 net/dns/dns_session.cc timeout = std::max(timeout, base::TimeDelta::FromMilliseconds(kMinTimeoutMs)); base 295 net/dns/dns_session.cc base::TimeDelta::FromMilliseconds(kMaxTimeoutMs)); base 21 net/dns/dns_session.h namespace base { base 37 net/dns/dns_session.h : NON_EXPORTED_BASE(public base::RefCounted<DnsSession>) { base 39 net/dns/dns_session.h typedef base::Callback<int()> RandCallback; base 87 net/dns/dns_session.h void RecordRTT(unsigned server_index, base::TimeDelta rtt); base 97 net/dns/dns_session.h base::TimeDelta NextTimeout(unsigned server_index, int attempt); base 110 net/dns/dns_session.h friend class base::RefCounted<DnsSession>; base 118 net/dns/dns_session.h base::TimeDelta NextTimeoutFromJacobson(unsigned server_index, int attempt); base 121 net/dns/dns_session.h base::TimeDelta NextTimeoutFromHistogram(unsigned server_index, int attempt); base 137 net/dns/dns_session.h struct RttBuckets : public base::BucketRanges { base 140 net/dns/dns_session.h static base::LazyInstance<RttBuckets>::Leaky rtt_buckets_; base 134 net/dns/dns_session_unittest.cc base::Bind(&base::RandInt), base 230 net/dns/dns_session_unittest.cc base::TimeDelta timeoutDelta = session_->NextTimeout(0, 0) - config_.timeout; base 236 net/dns/dns_session_unittest.cc config_.timeout = base::TimeDelta::FromMilliseconds(15); base 238 net/dns/dns_session_unittest.cc base::TimeDelta timeoutDelta = session_->NextTimeout(0, 0) - config_.timeout; base 244 net/dns/dns_session_unittest.cc config_.timeout = base::TimeDelta::FromSeconds(15); base 246 net/dns/dns_session_unittest.cc base::TimeDelta timeout = session_->NextTimeout(0, 0); base 77 net/dns/dns_socket_pool.cc kBindType, base::Bind(&base::RandInt), net_log_, no_source); base 196 net/dns/dns_socket_pool.cc unsigned socket_index = base::RandInt(0, pool.size() - 1); base 38 net/dns/dns_test_util.cc public base::SupportsWeakPtr<MockTransaction> { base 77 net/dns/dns_test_util.cc base::MessageLoop::current()->PostTask( base 78 net/dns/dns_test_util.cc FROM_HERE, base::Bind(&MockTransaction::Finish, AsWeakPtr())); base 121 net/dns/dns_test_util.cc header->ancount = base::HostToNet16(1); base 122 net/dns/dns_test_util.cc base::BigEndianWriter writer(buffer + nbytes, answer_size); base 194 net/dns/dns_test_util.cc typedef std::vector<base::WeakPtr<MockTransaction> > DelayedTransactionList; base 45 net/dns/dns_transaction.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromHours(1), 100) base 60 net/dns/dns_transaction.cc base::Value* NetLogStartCallback(const std::string* hostname, base 63 net/dns/dns_transaction.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 100 net/dns/dns_transaction.cc base::Value* NetLogResponseCallback(NetLog::LogLevel log_level) const { base 103 net/dns/dns_transaction.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 147 net/dns/dns_transaction.cc start_time_ = base::TimeTicks::Now(); base 211 net/dns/dns_transaction.cc base::TimeTicks::Now() - start_time_); base 214 net/dns/dns_transaction.cc base::TimeTicks::Now() - start_time_); base 223 net/dns/dns_transaction.cc base::Bind(&DnsUDPAttempt::OnIOComplete, base 224 net/dns/dns_transaction.cc base::Unretained(this))); base 245 net/dns/dns_transaction.cc base::Bind(&DnsUDPAttempt::OnIOComplete, base 246 net/dns/dns_transaction.cc base::Unretained(this))); base 284 net/dns/dns_transaction.cc base::TimeTicks start_time_; base 312 net/dns/dns_transaction.cc start_time_ = base::TimeTicks::Now(); base 314 net/dns/dns_transaction.cc int rv = socket_->Connect(base::Bind(&DnsTCPAttempt::OnIOComplete, base 315 net/dns/dns_transaction.cc base::Unretained(this))); base 378 net/dns/dns_transaction.cc base::TimeTicks::Now() - start_time_); base 381 net/dns/dns_transaction.cc base::TimeTicks::Now() - start_time_); base 391 net/dns/dns_transaction.cc base::WriteBigEndian<uint16>(length_buffer_->data(), base 410 net/dns/dns_transaction.cc base::Bind(&DnsTCPAttempt::OnIOComplete, base::Unretained(this))); base 429 net/dns/dns_transaction.cc base::Bind(&DnsTCPAttempt::OnIOComplete, base::Unretained(this))); base 448 net/dns/dns_transaction.cc base::Bind(&DnsTCPAttempt::OnIOComplete, base::Unretained(this))); base 450 net/dns/dns_transaction.cc base::ReadBigEndian<uint16>(length_buffer_->data(), &response_length_); base 472 net/dns/dns_transaction.cc base::Bind(&DnsTCPAttempt::OnIOComplete, base::Unretained(this))); base 494 net/dns/dns_transaction.cc base::TimeTicks start_time_; base 518 net/dns/dns_transaction.cc public base::NonThreadSafe, base 519 net/dns/dns_transaction.cc public base::SupportsWeakPtr<DnsTransactionImpl> { base 562 net/dns/dns_transaction.cc base::Bind(&NetLogStartCallback, &hostname_, qtype_)); base 573 net/dns/dns_transaction.cc base::MessageLoop::current()->PostTask( base 575 net/dns/dns_transaction.cc base::Bind(&DnsTransactionImpl::DoCallback, AsWeakPtr(), result)); base 703 net/dns/dns_transaction.cc base::Bind(&DnsTransactionImpl::OnUdpAttemptComplete, base 704 net/dns/dns_transaction.cc base::Unretained(this), attempt_number, base 705 net/dns/dns_transaction.cc base::TimeTicks::Now())); base 707 net/dns/dns_transaction.cc base::TimeDelta timeout = session_->NextTimeout(server_index, base 745 net/dns/dns_transaction.cc int rv = attempt->Start(base::Bind(&DnsTransactionImpl::OnAttemptComplete, base 746 net/dns/dns_transaction.cc base::Unretained(this), base 750 net/dns/dns_transaction.cc base::TimeDelta timeout = timer_.GetCurrentDelay() * 2; base 770 net/dns/dns_transaction.cc base::TimeTicks start, base 776 net/dns/dns_transaction.cc base::TimeTicks::Now() - start); base 821 net/dns/dns_transaction.cc base::Bind(&DnsAttempt::NetLogResponseCallback, base 822 net/dns/dns_transaction.cc base::Unretained(attempt))); base 927 net/dns/dns_transaction.cc base::OneShotTimer<DnsTransactionImpl> timer_; base 50 net/dns/dns_transaction.h typedef base::Callback<void(DnsTransaction* transaction, base 27 net/dns/dns_transaction_unittest.cc std::string DomainFromDot(const base::StringPiece& dotted) { base 46 net/dns/dns_transaction_unittest.cc *length = base::HostToNet16(query_->io_buffer()->size()); base 66 net/dns/dns_transaction_unittest.cc *length = base::HostToNet16(tcp_length); base 99 net/dns/dns_transaction_unittest.cc header->flags |= base::HostToNet16(dns_protocol::kFlagResponse | rcode); base 247 net/dns/dns_transaction_unittest.cc base::Bind(&TransactionHelper::OnTransactionComplete, base 248 net/dns/dns_transaction_unittest.cc base::Unretained(this)), base 275 net/dns/dns_transaction_unittest.cc base::MessageLoop::current()->Quit(); base 302 net/dns/dns_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 310 net/dns/dns_transaction_unittest.cc base::MessageLoop::current()->Run(); base 351 net/dns/dns_transaction_unittest.cc base::Bind(&DnsTransactionTest::GetNextId, base::Unretained(this)), base 400 net/dns/dns_transaction_unittest.cc uint16 id = base::RandInt(0, kuint16max); base 414 net/dns/dns_transaction_unittest.cc uint16 id = base::RandInt(0, kuint16max); base 497 net/dns/dns_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 516 net/dns/dns_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 532 net/dns/dns_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 623 net/dns/dns_transaction_unittest.cc EXPECT_TRUE(base::MessageLoop::current()->IsIdleForTesting()); base 18 net/dns/host_cache.cc base::TimeDelta ttl) base 22 net/dns/host_cache.cc DCHECK(ttl >= base::TimeDelta()); base 28 net/dns/host_cache.cc ttl(base::TimeDelta::FromSeconds(-1)) { base 44 net/dns/host_cache.cc base::TimeTicks now) { base 54 net/dns/host_cache.cc base::TimeTicks now, base 55 net/dns/host_cache.cc base::TimeDelta ttl) { base 94 net/dns/host_cache.cc base::StringToSizeT(base::FieldTrialList::FindFullName("HostCacheSize"), base 104 net/dns/host_cache.cc const base::TimeTicks& expiration, base 105 net/dns/host_cache.cc const base::TimeTicks& now, base 110 net/dns/host_cache.cc base::TimeDelta::FromSeconds(1), base::TimeDelta::FromDays(1), 100); base 115 net/dns/host_cache.cc base::TimeDelta::FromSeconds(1), base::TimeDelta::FromDays(1), 100); base 118 net/dns/host_cache.cc base::TimeDelta::FromSeconds(1), base::TimeDelta::FromDays(1), 100); base 23 net/dns/host_cache.h class NET_EXPORT HostCache : NON_EXPORTED_BASE(public base::NonThreadSafe) { base 27 net/dns/host_cache.h Entry(int error, const AddressList& addrlist, base::TimeDelta ttl); base 32 net/dns/host_cache.h bool has_ttl() const { return ttl >= base::TimeDelta(); } base 38 net/dns/host_cache.h base::TimeDelta ttl; base 67 net/dns/host_cache.h const base::TimeTicks& expiration, base 68 net/dns/host_cache.h const base::TimeTicks& now, base 72 net/dns/host_cache.h typedef ExpiringCache<Key, Entry, base::TimeTicks, base 73 net/dns/host_cache.h std::less<base::TimeTicks>, base 83 net/dns/host_cache.h const Entry* Lookup(const Key& key, base::TimeTicks now); base 90 net/dns/host_cache.h base::TimeTicks now, base 91 net/dns/host_cache.h base::TimeDelta ttl); base 28 net/dns/host_cache_unittest.cc const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); base 33 net/dns/host_cache_unittest.cc base::TimeTicks now; base 50 net/dns/host_cache_unittest.cc now += base::TimeDelta::FromSeconds(5); base 59 net/dns/host_cache_unittest.cc now += base::TimeDelta::FromSeconds(4); base 67 net/dns/host_cache_unittest.cc now += base::TimeDelta::FromSeconds(1); base 82 net/dns/host_cache_unittest.cc now += base::TimeDelta::FromSeconds(10); base 91 net/dns/host_cache_unittest.cc const base::TimeDelta kSuccessEntryTTL = base::TimeDelta::FromSeconds(10); base 92 net/dns/host_cache_unittest.cc const base::TimeDelta kFailureEntryTTL = base::TimeDelta::FromSeconds(0); base 97 net/dns/host_cache_unittest.cc base::TimeTicks now; base 120 net/dns/host_cache_unittest.cc const base::TimeDelta kFailureEntryTTL = base::TimeDelta::FromSeconds(10); base 125 net/dns/host_cache_unittest.cc base::TimeTicks now; base 140 net/dns/host_cache_unittest.cc now += base::TimeDelta::FromSeconds(5); base 149 net/dns/host_cache_unittest.cc now += base::TimeDelta::FromSeconds(4); base 156 net/dns/host_cache_unittest.cc now += base::TimeDelta::FromSeconds(1); base 172 net/dns/host_cache_unittest.cc now += base::TimeDelta::FromSeconds(10); base 181 net/dns/host_cache_unittest.cc const base::TimeDelta kSuccessEntryTTL = base::TimeDelta::FromSeconds(10); base 186 net/dns/host_cache_unittest.cc base::TimeTicks now; base 214 net/dns/host_cache_unittest.cc const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); base 219 net/dns/host_cache_unittest.cc base::TimeTicks now; base 257 net/dns/host_cache_unittest.cc const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); base 263 net/dns/host_cache_unittest.cc base::TimeTicks now; base 276 net/dns/host_cache_unittest.cc const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); base 281 net/dns/host_cache_unittest.cc base::TimeTicks now; base 364 net/dns/host_cache_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]", i)); base 40 net/dns/host_resolver.cc std::string group = base::FieldTrialList::FindFullName( base 51 net/dns/host_resolver.cc base::SplitString(group, ':', &group_parts); base 61 net/dns/host_resolver.cc if (!base::StringToSizeT(group_parts[i], &parsed[i])) { base 114 net/dns/host_resolver.cc base::Value* HostResolver::GetDnsConfigAsValue() const { base 18 net/dns/host_resolver.h namespace base { base 178 net/dns/host_resolver.h virtual base::Value* GetDnsConfigAsValue() const; base 132 net/dns/host_resolver_impl.cc return base::CustomHistogram::ArrayToCustomRanges(os_errors, base 202 net/dns/host_resolver_impl.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromHours(1), 100) base 221 net/dns/host_resolver_impl.cc base::TimeDelta duration) { base 237 net/dns/host_resolver_impl.cc void RecordTTL(base::TimeDelta ttl) { base 239 net/dns/host_resolver_impl.cc base::TimeDelta::FromSeconds(1), base 240 net/dns/host_resolver_impl.cc base::TimeDelta::FromDays(1), 100); base 251 net/dns/host_resolver_impl.cc std::string group_name = base::FieldTrialList::FindFullName("AsyncDns"); base 285 net/dns/host_resolver_impl.cc base::Value* NetLogProcTaskFailedCallback(uint32 attempt_number, base 289 net/dns/host_resolver_impl.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 310 net/dns/host_resolver_impl.cc dict->SetString("os_error_string", base::WideToUTF8(error_string)); base 319 net/dns/host_resolver_impl.cc base::Value* NetLogDnsTaskFailedCallback(int net_error, base 322 net/dns/host_resolver_impl.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 331 net/dns/host_resolver_impl.cc base::Value* NetLogRequestInfoCallback(const NetLog::Source& source, base 334 net/dns/host_resolver_impl.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 346 net/dns/host_resolver_impl.cc base::Value* NetLogJobCreationCallback(const NetLog::Source& source, base 349 net/dns/host_resolver_impl.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 356 net/dns/host_resolver_impl.cc base::Value* NetLogJobAttachCallback(const NetLog::Source& source, base 359 net/dns/host_resolver_impl.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 366 net/dns/host_resolver_impl.cc base::Value* NetLogDnsConfigCallback(const DnsConfig* config, base 384 net/dns/host_resolver_impl.cc base::Bind(&NetLogRequestInfoCallback, source_net_log.source(), &info)); base 475 net/dns/host_resolver_impl.cc request_time_(base::TimeTicks::Now()) {} base 524 net/dns/host_resolver_impl.cc base::TimeTicks request_time() const { return request_time_; } base 545 net/dns/host_resolver_impl.cc const base::TimeTicks request_time_; base 563 net/dns/host_resolver_impl.cc : public base::RefCountedThreadSafe<HostResolverImpl::ProcTask> { base 565 net/dns/host_resolver_impl.cc typedef base::Callback<void(int net_error, base 575 net/dns/host_resolver_impl.cc origin_loop_(base::MessageLoopProxy::current()), base 628 net/dns/host_resolver_impl.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 631 net/dns/host_resolver_impl.cc if (!base::WorkerPool::PostTask( base 633 net/dns/host_resolver_impl.cc base::Bind(&ProcTask::DoLookup, this, start_time, attempt_number_), base 642 net/dns/host_resolver_impl.cc base::Bind(&ProcTask::OnLookupComplete, this, AddressList(), base 657 net/dns/host_resolver_impl.cc base::Bind(&ProcTask::RetryIfNotComplete, this), base 667 net/dns/host_resolver_impl.cc void DoLookup(const base::TimeTicks& start_time, base 680 net/dns/host_resolver_impl.cc base::Bind(&ProcTask::OnLookupComplete, this, results, start_time, base 697 net/dns/host_resolver_impl.cc const base::TimeTicks& start_time, base 728 net/dns/host_resolver_impl.cc net_log_callback = base::Bind(&NetLogProcTaskFailedCallback, base 750 net/dns/host_resolver_impl.cc retry_attempt_finished_time_ = base::TimeTicks::Now(); base 754 net/dns/host_resolver_impl.cc net_log_callback = base::Bind(&NetLogProcTaskFailedCallback, base 765 net/dns/host_resolver_impl.cc void RecordPerformanceHistograms(const base::TimeTicks& start_time, base 778 net/dns/host_resolver_impl.cc base::TimeDelta duration = base::TimeTicks::Now() - start_time; base 831 net/dns/host_resolver_impl.cc void RecordAttemptHistograms(const base::TimeTicks& start_time, base 861 net/dns/host_resolver_impl.cc base::TimeTicks::Now() - retry_attempt_finished_time_); base 875 net/dns/host_resolver_impl.cc base::TimeDelta duration = base::TimeTicks::Now() - start_time; base 895 net/dns/host_resolver_impl.cc scoped_refptr<base::MessageLoopProxy> origin_loop_; base 910 net/dns/host_resolver_impl.cc base::TimeTicks retry_attempt_finished_time_; base 931 net/dns/host_resolver_impl.cc explicit LoopbackProbeJob(const base::WeakPtr<HostResolverImpl>& resolver) base 936 net/dns/host_resolver_impl.cc base::WorkerPool::PostTaskAndReply( base 938 net/dns/host_resolver_impl.cc base::Bind(&LoopbackProbeJob::DoProbe, base::Unretained(this)), base 939 net/dns/host_resolver_impl.cc base::Bind(&LoopbackProbeJob::OnProbeComplete, base::Owned(this)), base 958 net/dns/host_resolver_impl.cc base::WeakPtr<HostResolverImpl> resolver_; base 969 net/dns/host_resolver_impl.cc class HostResolverImpl::DnsTask : public base::SupportsWeakPtr<DnsTask> { base 973 net/dns/host_resolver_impl.cc virtual void OnDnsTaskComplete(base::TimeTicks start_time, base 976 net/dns/host_resolver_impl.cc base::TimeDelta ttl) = 0; base 997 net/dns/host_resolver_impl.cc task_start_time_(base::TimeTicks::Now()) { base 1046 net/dns/host_resolver_impl.cc base::Bind(&DnsTask::OnTransactionComplete, base::Unretained(this), base 1047 net/dns/host_resolver_impl.cc base::TimeTicks::Now()), base 1051 net/dns/host_resolver_impl.cc void OnTransactionComplete(const base::TimeTicks& start_time, base 1056 net/dns/host_resolver_impl.cc base::TimeDelta duration = base::TimeTicks::Now() - start_time; base 1074 net/dns/host_resolver_impl.cc base::TimeDelta ttl; base 1123 net/dns/host_resolver_impl.cc base::Bind(&DnsTask::OnSortComplete, base 1125 net/dns/host_resolver_impl.cc base::TimeTicks::Now())); base 1131 net/dns/host_resolver_impl.cc void OnSortComplete(base::TimeTicks start_time, base 1136 net/dns/host_resolver_impl.cc base::TimeTicks::Now() - start_time); base 1142 net/dns/host_resolver_impl.cc base::TimeTicks::Now() - start_time); base 1158 net/dns/host_resolver_impl.cc base::Bind(&NetLogDnsTaskFailedCallback, net_error, result)); base 1160 net/dns/host_resolver_impl.cc base::TimeDelta()); base 1182 net/dns/host_resolver_impl.cc base::TimeDelta ttl_; base 1186 net/dns/host_resolver_impl.cc base::TimeTicks task_start_time_; base 1199 net/dns/host_resolver_impl.cc Job(const base::WeakPtr<HostResolverImpl>& resolver, base 1210 net/dns/host_resolver_impl.cc creation_time_(base::TimeTicks::Now()), base 1218 net/dns/host_resolver_impl.cc base::Bind(&NetLogJobCreationCallback, base 1286 net/dns/host_resolver_impl.cc base::Bind(&NetLogJobAttachCallback, base 1315 net/dns/host_resolver_impl.cc base::Bind(&NetLogJobAttachCallback, base 1369 net/dns/host_resolver_impl.cc base::TimeDelta()); base 1414 net/dns/host_resolver_impl.cc priority_change_time_ = base::TimeTicks::Now(); base 1443 net/dns/host_resolver_impl.cc base::TimeTicks now = base::TimeTicks::Now(); base 1444 net/dns/host_resolver_impl.cc base::TimeDelta queue_time = now - creation_time_; base 1445 net/dns/host_resolver_impl.cc base::TimeDelta queue_time_after_change = now - priority_change_time_; base 1479 net/dns/host_resolver_impl.cc base::Bind(&Job::OnProcTaskComplete, base::Unretained(this), base 1480 net/dns/host_resolver_impl.cc base::TimeTicks::Now()), base 1491 net/dns/host_resolver_impl.cc void OnProcTaskComplete(base::TimeTicks start_time, base 1513 net/dns/host_resolver_impl.cc base::TimeDelta duration = base::TimeTicks::Now() - start_time; base 1532 net/dns/host_resolver_impl.cc base::TimeDelta ttl = base 1533 net/dns/host_resolver_impl.cc base::TimeDelta::FromSeconds(kNegativeCacheEntryTTLSeconds); base 1535 net/dns/host_resolver_impl.cc ttl = base::TimeDelta::FromSeconds(kCacheEntryTTLSeconds); base 1562 net/dns/host_resolver_impl.cc void OnDnsTaskFailure(const base::WeakPtr<DnsTask>& dns_task, base 1563 net/dns/host_resolver_impl.cc base::TimeDelta duration, base 1589 net/dns/host_resolver_impl.cc virtual void OnDnsTaskComplete(base::TimeTicks start_time, base 1592 net/dns/host_resolver_impl.cc base::TimeDelta ttl) OVERRIDE { base 1595 net/dns/host_resolver_impl.cc base::TimeDelta duration = base::TimeTicks::Now() - start_time; base 1619 net/dns/host_resolver_impl.cc base::TimeDelta bounded_ttl = base 1620 net/dns/host_resolver_impl.cc std::max(ttl, base::TimeDelta::FromSeconds(kMinimumTTLSeconds)); base 1642 net/dns/host_resolver_impl.cc base::TimeDelta ttl) { base 1707 net/dns/host_resolver_impl.cc base::TimeTicks::Now() - req->request_time()); base 1721 net/dns/host_resolver_impl.cc base::TimeDelta()); base 1741 net/dns/host_resolver_impl.cc base::WeakPtr<HostResolverImpl> resolver_; base 1759 net/dns/host_resolver_impl.cc const base::TimeTicks creation_time_; base 1760 net/dns/host_resolver_impl.cc base::TimeTicks priority_change_time_; base 1784 net/dns/host_resolver_impl.cc unresponsive_delay(base::TimeDelta::FromMilliseconds(6000)), base 1888 net/dns/host_resolver_impl.cc RecordTotalTime(HaveDnsConfig(), info.is_speculative(), base::TimeDelta()); base 2009 net/dns/host_resolver_impl.cc base::Value* HostResolverImpl::GetDnsConfigAsValue() const { base 2018 net/dns/host_resolver_impl.cc return new base::DictionaryValue(); base 2060 net/dns/host_resolver_impl.cc key, base::TimeTicks::Now()); base 2123 net/dns/host_resolver_impl.cc base::TimeDelta ttl) { base 2125 net/dns/host_resolver_impl.cc cache_->Set(key, entry, base::TimeTicks::Now(), ttl); base 2151 net/dns/host_resolver_impl.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 2168 net/dns/host_resolver_impl.cc base::TimeTicks::Now() - start_time); base 2211 net/dns/host_resolver_impl.cc base::WeakPtr<HostResolverImpl> self = weak_ptr_factory_.GetWeakPtr(); base 2244 net/dns/host_resolver_impl.cc base::WeakPtr<HostResolverImpl> self = weak_ptr_factory_.GetWeakPtr(); base 2274 net/dns/host_resolver_impl.cc base::Bind(&NetLogDnsConfigCallback, &dns_config)); base 2300 net/dns/host_resolver_impl.cc base::WeakPtr<HostResolverImpl> self = weak_ptr_factory_.GetWeakPtr(); base 61 net/dns/host_resolver_impl.h NON_EXPORTED_BASE(public base::NonThreadSafe), base 95 net/dns/host_resolver_impl.h base::TimeDelta unresponsive_delay; base 147 net/dns/host_resolver_impl.h virtual base::Value* GetDnsConfigAsValue() const OVERRIDE; base 206 net/dns/host_resolver_impl.h base::TimeDelta ttl); base 264 net/dns/host_resolver_impl.h base::WeakPtrFactory<HostResolverImpl> weak_ptr_factory_; base 266 net/dns/host_resolver_impl.h base::WeakPtrFactory<HostResolverImpl> probe_weak_ptr_factory_; base 78 net/dns/host_resolver_impl_unittest.cc base::AutoLock lock(lock_); base 79 net/dns/host_resolver_impl_unittest.cc base::Time start_time = base::Time::Now(); base 82 net/dns/host_resolver_impl_unittest.cc if (base::Time::Now() > start_time + TestTimeouts::action_timeout()) base 90 net/dns/host_resolver_impl_unittest.cc base::AutoLock lock(lock_); base 97 net/dns/host_resolver_impl_unittest.cc base::AutoLock lock(lock_); base 104 net/dns/host_resolver_impl_unittest.cc base::AutoLock lock(lock_); base 131 net/dns/host_resolver_impl_unittest.cc base::AutoLock lock(lock_); base 155 net/dns/host_resolver_impl_unittest.cc base::AutoLock lock(lock_); base 162 net/dns/host_resolver_impl_unittest.cc base::AutoLock lock(lock_); base 170 net/dns/host_resolver_impl_unittest.cc mutable base::Lock lock_; base 175 net/dns/host_resolver_impl_unittest.cc base::ConditionVariable requests_waiting_; base 176 net/dns/host_resolver_impl_unittest.cc base::ConditionVariable slots_available_; base 222 net/dns/host_resolver_impl_unittest.cc base::Bind(&Request::OnComplete, base::Unretained(this)), base 267 net/dns/host_resolver_impl_unittest.cc base::CancelableClosure closure(base::MessageLoop::QuitClosure()); base 268 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 271 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->Run(); base 295 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->Quit(); base 332 net/dns/host_resolver_impl_unittest.cc void WaitForAllAttemptsToFinish(const base::TimeDelta& wait_time) { base 333 net/dns/host_resolver_impl_unittest.cc base::TimeTicks end_time = base::TimeTicks::Now() + wait_time; base 335 net/dns/host_resolver_impl_unittest.cc base::AutoLock auto_lock(lock_); base 337 net/dns/host_resolver_impl_unittest.cc base::TimeTicks::Now() < end_time) { base 338 net/dns/host_resolver_impl_unittest.cc all_done_.TimedWait(end_time - base::TimeTicks::Now()); base 345 net/dns/host_resolver_impl_unittest.cc base::TimeDelta wait_time = base::TimeDelta::FromSeconds(60); base 346 net/dns/host_resolver_impl_unittest.cc base::TimeTicks end_time = base::TimeTicks::Now() + wait_time; base 348 net/dns/host_resolver_impl_unittest.cc base::AutoLock auto_lock(lock_); base 349 net/dns/host_resolver_impl_unittest.cc while (resolved_attempt_number_ == 0 && base::TimeTicks::Now() < end_time) base 350 net/dns/host_resolver_impl_unittest.cc all_done_.TimedWait(end_time - base::TimeTicks::Now()); base 369 net/dns/host_resolver_impl_unittest.cc base::AutoLock auto_lock(lock_); base 385 net/dns/host_resolver_impl_unittest.cc base::AutoLock auto_lock(lock_); base 412 net/dns/host_resolver_impl_unittest.cc base::Lock lock_; base 413 net/dns/host_resolver_impl_unittest.cc base::ConditionVariable all_done_; base 769 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 770 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::QuitClosure()); base 782 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->Run(); base 795 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 796 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::QuitClosure()); base 815 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->Run(); base 874 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->Quit(); base 886 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->Run(); base 903 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); // Notification happens async. base 920 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); // Notification happens async. base 938 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); // Notification happens async. base 982 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1273 net/dns/host_resolver_impl_unittest.cc params.unresponsive_delay = base::TimeDelta::FromMilliseconds(500); base 1290 net/dns/host_resolver_impl_unittest.cc base::TimeDelta::FromMilliseconds(60000)); base 1291 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1379 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1481 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); // Notification happens async. base 1493 net/dns/host_resolver_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); // Notification happens async. base 1632 net/dns/host_resolver_impl_unittest.cc std::string hostname = base::StringPrintf("nx_%u", i); base 1666 net/dns/host_resolver_impl_unittest.cc std::string hostname = (i % 2) == 0 ? base::StringPrintf("nx_%u", i) base 1667 net/dns/host_resolver_impl_unittest.cc : base::StringPrintf("ok_%u", i); base 1805 net/dns/host_resolver_impl_unittest.cc base::StringPrintf("ok%i", i))->Resolve()); base 1821 net/dns/host_resolver_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1838 net/dns/host_resolver_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1855 net/dns/host_resolver_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1891 net/dns/host_resolver_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 1918 net/dns/host_resolver_impl_unittest.cc base::RunLoop().RunUntilIdle(); base 2016 net/dns/host_resolver_impl_unittest.cc std::string host = base::StringPrintf("nx%u", i); base 32 net/dns/host_resolver_proc.cc if ((base::NetToHost32(addr_in->sin_addr.s_addr) & 0xff000000) == base 26 net/dns/host_resolver_proc.h : public base::RefCountedThreadSafe<HostResolverProc> { base 41 net/dns/host_resolver_proc.h friend class base::RefCountedThreadSafe<HostResolverProc>; base 58 net/dns/mapped_host_resolver.cc base::Value* MappedHostResolver::GetDnsConfigAsValue() const { base 60 net/dns/mapped_host_resolver.h virtual base::Value* GetDnsConfigAsValue() const OVERRIDE; base 79 net/dns/mdns_cache.cc next_expiration_ = base::Time(); base 99 net/dns/mdns_cache.cc base::Time new_expiration = GetEffectiveExpiration(record.get()); base 100 net/dns/mdns_cache.cc if (next_expiration_ != base::Time()) base 123 net/dns/mdns_cache.cc base::Time now, base 125 net/dns/mdns_cache.cc base::Time next_expiration; base 134 net/dns/mdns_cache.cc base::Time expiration = GetEffectiveExpiration(i->second); base 140 net/dns/mdns_cache.cc if (next_expiration == base::Time() || expiration < next_expiration) { base 153 net/dns/mdns_cache.cc base::Time now) const { base 200 net/dns/mdns_cache.cc base::Time MDnsCache::GetEffectiveExpiration(const RecordParsed* record) { base 201 net/dns/mdns_cache.cc base::TimeDelta ttl; base 204 net/dns/mdns_cache.cc ttl = base::TimeDelta::FromSeconds(record->ttl()); base 206 net/dns/mdns_cache.cc ttl = base::TimeDelta::FromSeconds(kZeroTTLSeconds); base 53 net/dns/mdns_cache.h typedef base::Callback<void(const RecordParsed*)> RecordRemovedCallback; base 79 net/dns/mdns_cache.h base::Time now) const; base 83 net/dns/mdns_cache.h void CleanupRecords(base::Time now, base 89 net/dns/mdns_cache.h base::Time next_expiration() const { return next_expiration_; } base 103 net/dns/mdns_cache.h static base::Time GetEffectiveExpiration(const RecordParsed* entry); base 113 net/dns/mdns_cache.h base::Time next_expiration_; base 136 net/dns/mdns_cache_unittest.cc : default_time_(base::Time::FromDoubleT(1234.0)) {} base 140 net/dns/mdns_cache_unittest.cc base::Time default_time_; base 189 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl1 = base::TimeDelta::FromSeconds(record1->ttl()); base 192 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl2 = base::TimeDelta::FromSeconds(record2->ttl()); base 213 net/dns/mdns_cache_unittest.cc cache_.CleanupRecords(default_time_ + ttl2, base::Bind( base 214 net/dns/mdns_cache_unittest.cc &RecordRemovalMock::OnRecordRemoved, base::Unretained(&record_removal_))); base 258 net/dns/mdns_cache_unittest.cc base::TimeDelta::FromSeconds(1)); base 277 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl1 = base::TimeDelta::FromSeconds(record1->ttl()); base 278 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl2 = base::TimeDelta::FromSeconds(record2->ttl()); base 280 net/dns/mdns_cache_unittest.cc EXPECT_EQ(base::Time(), cache_.next_expiration()); base 307 net/dns/mdns_cache_unittest.cc base::TimeDelta ttl = base::TimeDelta::FromSeconds(record_hello->ttl()); base 309 net/dns/mdns_cache_unittest.cc EXPECT_EQ(base::Time(), cache_.next_expiration()); base 311 net/dns/mdns_cache_unittest.cc EXPECT_EQ(base::Time(), cache_.next_expiration()); base 317 net/dns/mdns_cache_unittest.cc EXPECT_EQ(default_time_ + base::TimeDelta::FromSeconds(1), base 64 net/dns/mdns_client.h typedef base::Callback<void(Result, const RecordParsed*)> base 83 net/dns/mdns_client_impl.cc base::Bind(&MDnsConnection::SocketHandler::OnDatagramReceived, base 84 net/dns/mdns_client_impl.cc base::Unretained(this))); base 103 net/dns/mdns_client_impl.cc base::Bind(&MDnsConnection::SocketHandler::SendDone, base 104 net/dns/mdns_client_impl.cc base::Unretained(this) )); base 220 net/dns/mdns_client_impl.cc &parser, base::Time::Now()); base 274 net/dns/mdns_client_impl.cc base::Time::Now()); base 342 net/dns/mdns_client_impl.cc base::MessageLoop::current()->PostTask( base 343 net/dns/mdns_client_impl.cc FROM_HERE, base::Bind( base 356 net/dns/mdns_client_impl.cc void MDnsClientImpl::Core::ScheduleCleanup(base::Time cleanup) { base 362 net/dns/mdns_client_impl.cc cleanup_callback_.Reset(base::Bind( base 363 net/dns/mdns_client_impl.cc &MDnsClientImpl::Core::DoCleanup, base::Unretained(this))); base 366 net/dns/mdns_client_impl.cc if (cleanup != base::Time()) { base 367 net/dns/mdns_client_impl.cc base::MessageLoop::current()->PostDelayedTask( base 370 net/dns/mdns_client_impl.cc cleanup - base::Time::Now()); base 375 net/dns/mdns_client_impl.cc cache_.CleanupRecords(base::Time::Now(), base::Bind( base 376 net/dns/mdns_client_impl.cc &MDnsClientImpl::Core::OnRecordRemoved, base::Unretained(this))); base 390 net/dns/mdns_client_impl.cc cache_.FindDnsRecords(rrtype, name, records, base::Time::Now()); base 467 net/dns/mdns_client_impl.cc } else if (last_update_ != base::Time()) { base 523 net/dns/mdns_client_impl.cc DCHECK(last_update_ != base::Time()); base 534 net/dns/mdns_client_impl.cc next_refresh_.Reset(base::Bind(&MDnsListenerImpl::DoRefresh, base 540 net/dns/mdns_client_impl.cc base::Time next_refresh1 = last_update_ + base::TimeDelta::FromMilliseconds( base 544 net/dns/mdns_client_impl.cc base::Time next_refresh2 = last_update_ + base::TimeDelta::FromMilliseconds( base 548 net/dns/mdns_client_impl.cc base::MessageLoop::current()->PostDelayedTask( base 551 net/dns/mdns_client_impl.cc next_refresh1 - base::Time::Now()); base 553 net/dns/mdns_client_impl.cc base::MessageLoop::current()->PostDelayedTask( base 556 net/dns/mdns_client_impl.cc next_refresh2 - base::Time::Now()); base 584 net/dns/mdns_client_impl.cc base::WeakPtr<MDnsTransactionImpl> weak_this = AsWeakPtr(); base 658 net/dns/mdns_client_impl.cc base::WeakPtr<MDnsTransactionImpl> weak_this = AsWeakPtr(); base 692 net/dns/mdns_client_impl.cc timeout_.Reset(base::Bind(&MDnsTransactionImpl::SignalTransactionOver, base 694 net/dns/mdns_client_impl.cc base::MessageLoop::current()->PostDelayedTask( base 697 net/dns/mdns_client_impl.cc base::TimeDelta::FromSeconds(MDnsTransactionTimeoutSeconds)); base 106 net/dns/mdns_client_impl.h class Core : public base::SupportsWeakPtr<Core>, MDnsConnection::Delegate { base 140 net/dns/mdns_client_impl.h void ScheduleCleanup(base::Time cleanup); base 159 net/dns/mdns_client_impl.h base::CancelableClosure cleanup_callback_; base 160 net/dns/mdns_client_impl.h base::Time scheduled_cleanup_; base 195 net/dns/mdns_client_impl.h public base::SupportsWeakPtr<MDnsListenerImpl> { base 232 net/dns/mdns_client_impl.h base::Time last_update_; base 237 net/dns/mdns_client_impl.h base::CancelableClosure next_refresh_; base 241 net/dns/mdns_client_impl.h class MDnsTransactionImpl : public base::SupportsWeakPtr<MDnsTransactionImpl>, base 294 net/dns/mdns_client_impl.h base::CancelableCallback<void()> timeout_; base 397 net/dns/mdns_client_unittest.cc void RunFor(base::TimeDelta time_period); base 453 net/dns/mdns_client_unittest.cc void MDnsTest::RunFor(base::TimeDelta time_period) { base 454 net/dns/mdns_client_unittest.cc base::CancelableCallback<void()> callback(base::Bind(&MDnsTest::Stop, base 455 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 456 net/dns/mdns_client_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 459 net/dns/mdns_client_unittest.cc base::MessageLoop::current()->Run(); base 464 net/dns/mdns_client_unittest.cc base::MessageLoop::current()->Quit(); base 542 net/dns/mdns_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(record_privet.ttl() + 1)); base 590 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 591 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 614 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 615 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 649 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 650 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 691 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 692 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 701 net/dns/mdns_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(4)); base 712 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 713 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 739 net/dns/mdns_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(4)); base 750 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 751 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 761 net/dns/mdns_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(4)); base 779 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 780 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 800 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 801 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 808 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback2, base 809 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 835 net/dns/mdns_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(2)); base 856 net/dns/mdns_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(2)); base 944 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 945 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 978 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 979 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 992 net/dns/mdns_client_unittest.cc base::Bind(&MDnsTest::MockableRecordCallback, base 993 net/dns/mdns_client_unittest.cc base::Unretained(this))); base 1052 net/dns/mdns_client_unittest.cc RunFor(base::TimeDelta::FromSeconds(6)); base 1143 net/dns/mdns_client_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 42 net/dns/mock_host_resolver.cc base::SplitString(host_list, ',', &addresses); base 93 net/dns/mock_host_resolver.cc base::MessageLoop::current()->PostTask( base 95 net/dns/mock_host_resolver.cc base::Bind(&MockHostResolverBase::ResolveNow, AsWeakPtr(), id)); base 132 net/dns/mock_host_resolver.cc base::MessageLoop::current()->PostTask( base 134 net/dns/mock_host_resolver.cc base::Bind(&MockHostResolverBase::ResolveNow, AsWeakPtr(), i->first)); base 167 net/dns/mock_host_resolver.cc const HostCache::Entry* entry = cache_->Lookup(key, base::TimeTicks::Now()); base 191 net/dns/mock_host_resolver.cc base::TimeDelta ttl; base 193 net/dns/mock_host_resolver.cc ttl = base::TimeDelta::FromSeconds(kCacheEntryTTLSeconds); base 194 net/dns/mock_host_resolver.cc cache_->Set(key, HostCache::Entry(rv, addr), base::TimeTicks::Now(), ttl); base 361 net/dns/mock_host_resolver.cc base::PlatformThread::Sleep( base 362 net/dns/mock_host_resolver.cc base::TimeDelta::FromMilliseconds(r->latency_ms)); base 55 net/dns/mock_host_resolver.h public base::SupportsWeakPtr<MockHostResolverBase>, base 56 net/dns/mock_host_resolver.h public base::NonThreadSafe { base 53 net/dns/mock_mdns_socket_factory.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(callback, rv)); base 29 net/dns/notify_watcher_mac.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 32 net/dns/notify_watcher_mac.cc base::MessageLoopForIO::WATCH_READ, base 15 net/dns/notify_watcher_mac.h class NotifyWatcherMac : public base::MessageLoopForIO::Watcher { base 18 net/dns/notify_watcher_mac.h typedef base::Callback<void(bool succeeded)> CallbackType; base 40 net/dns/notify_watcher_mac.h base::MessageLoopForIO::FileDescriptorWatcher watcher_; base 15 net/dns/record_parsed.cc base::Time time_created) base 26 net/dns/record_parsed.cc base::Time time_created) { base 27 net/dns/record_parsed.h base::Time time_created); base 34 net/dns/record_parsed.h base::Time time_created() const { return time_created_; } base 50 net/dns/record_parsed.h base::Time time_created); base 59 net/dns/record_parsed.h const base::Time time_created_; base 40 net/dns/record_parsed_unittest.cc record = RecordParsed::CreateFrom(&parser, base::Time()); base 60 net/dns/record_parsed_unittest.cc RecordParsed::CreateFrom(&parser1, base::Time()); base 67 net/dns/record_parsed_unittest.cc RecordParsed::CreateFrom(&parser2, base::Time()); base 26 net/dns/record_rdata.cc const base::StringPiece& data, base 32 net/dns/record_rdata.cc base::BigEndianReader reader(data.data(), data.size()); base 66 net/dns/record_rdata.cc const base::StringPiece& data, base 99 net/dns/record_rdata.cc const base::StringPiece& data, base 132 net/dns/record_rdata.cc const base::StringPiece& data, base 161 net/dns/record_rdata.cc const base::StringPiece& data, base 189 net/dns/record_rdata.cc const base::StringPiece& data, base 226 net/dns/record_rdata.cc const base::StringPiece& data, base 252 net/dns/record_rdata.cc base::StringPiece bitmap_data = data.substr(next_domain_length + 2); base 48 net/dns/record_rdata.h static scoped_ptr<SrvRecordRdata> Create(const base::StringPiece& data, base 79 net/dns/record_rdata.h static scoped_ptr<ARecordRdata> Create(const base::StringPiece& data, base 101 net/dns/record_rdata.h static scoped_ptr<AAAARecordRdata> Create(const base::StringPiece& data, base 123 net/dns/record_rdata.h static scoped_ptr<CnameRecordRdata> Create(const base::StringPiece& data, base 145 net/dns/record_rdata.h static scoped_ptr<PtrRecordRdata> Create(const base::StringPiece& data, base 168 net/dns/record_rdata.h static scoped_ptr<TxtRecordRdata> Create(const base::StringPiece& data, base 192 net/dns/record_rdata.h static scoped_ptr<NsecRecordRdata> Create(const base::StringPiece& data, base 13 net/dns/record_rdata_unittest.cc base::StringPiece MakeStringPiece(const uint8* data, unsigned size) { base 15 net/dns/record_rdata_unittest.cc return base::StringPiece(data_cc, size); base 42 net/dns/record_rdata_unittest.cc base::StringPiece record1_strpiece = MakeStringPiece( base 44 net/dns/record_rdata_unittest.cc base::StringPiece record2_strpiece = MakeStringPiece( base 78 net/dns/record_rdata_unittest.cc base::StringPiece record_strpiece = MakeStringPiece(record, sizeof(record)); base 102 net/dns/record_rdata_unittest.cc base::StringPiece record_strpiece = MakeStringPiece(record, sizeof(record)); base 127 net/dns/record_rdata_unittest.cc base::StringPiece record_strpiece = MakeStringPiece(record, sizeof(record)); base 151 net/dns/record_rdata_unittest.cc base::StringPiece record_strpiece = MakeStringPiece(record, sizeof(record)); base 174 net/dns/record_rdata_unittest.cc base::StringPiece record_strpiece = MakeStringPiece(record, sizeof(record)); base 204 net/dns/record_rdata_unittest.cc base::StringPiece record_strpiece = MakeStringPiece(record, sizeof(record)); base 15 net/dns/serial_worker.cc : message_loop_(base::MessageLoopProxy::current()), base 24 net/dns/serial_worker.cc if (!base::WorkerPool::PostTask(FROM_HERE, base::Bind( base 34 net/dns/serial_worker.cc base::Bind(&SerialWorker::RetryWork, this), base 35 net/dns/serial_worker.cc base::TimeDelta::FromMilliseconds(kWorkerPoolRetryDelayMs)); base 63 net/dns/serial_worker.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 15 net/dns/serial_worker.h namespace base { base 40 net/dns/serial_worker.h : NON_EXPORTED_BASE(public base::RefCountedThreadSafe<SerialWorker>) { base 54 net/dns/serial_worker.h friend class base::RefCountedThreadSafe<SerialWorker>; base 64 net/dns/serial_worker.h base::MessageLoopProxy* loop() { return message_loop_.get(); } base 86 net/dns/serial_worker.h scoped_refptr<base::MessageLoopProxy> message_loop_; base 41 net/dns/serial_worker_unittest.cc base::AutoLock lock(work_lock_); base 51 net/dns/serial_worker_unittest.cc base::AutoLock lock(work_lock_); base 58 net/dns/serial_worker_unittest.cc EXPECT_TRUE(message_loop_ == base::MessageLoop::current()); base 66 net/dns/serial_worker_unittest.cc base::MessageLoop::current()->QuitNow(); base 71 net/dns/serial_worker_unittest.cc base::Bind(&SerialWorkerTest::BreakCallback, base 72 net/dns/serial_worker_unittest.cc base::Unretained(this), b)); base 100 net/dns/serial_worker_unittest.cc message_loop_ = base::MessageLoop::current(); base 121 net/dns/serial_worker_unittest.cc base::WaitableEvent work_allowed_; base 122 net/dns/serial_worker_unittest.cc base::WaitableEvent work_called_; base 126 net/dns/serial_worker_unittest.cc base::Lock work_lock_; base 129 net/dns/serial_worker_unittest.cc base::MessageLoop* message_loop_; base 19 net/dns/single_request_host_resolver.cc base::Bind(&SingleRequestHostResolver::OnResolveCompletion, base 20 net/dns/single_request_host_resolver.cc base::Unretained(this))) { base 179 net/filter/filter.cc base::FilePath filepath = GenerateFileName(url, disposition, "UTF-8", "", base 181 net/filter/filter.cc base::FilePath::StringType extension = filepath.Extension(); base 82 net/filter/filter.h virtual base::Time GetRequestTime() const = 0; base 59 net/filter/gzip_filter_unittest.cc base::FilePath file_path; base 60 net/filter/gzip_filter_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &file_path); base 67 net/filter/gzip_filter_unittest.cc ASSERT_TRUE(base::ReadFileToString(file_path, &source_buffer_)); base 38 net/filter/mock_filter_context.cc base::Time MockFilterContext::GetRequestTime() const { base 25 net/filter/mock_filter_context.h void SetRequestTime(const base::Time time) { request_time_ = time; } base 44 net/filter/mock_filter_context.h virtual base::Time GetRequestTime() const OVERRIDE; base 67 net/filter/mock_filter_context.h base::Time request_time_; base 14 net/ftp/ftp_auth_cache_unittest.cc using base::ASCIIToUTF16; base 19 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kBogus(ASCIIToUTF16("bogus")); base 20 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kOthername(ASCIIToUTF16("othername")); base 21 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kOtherword(ASCIIToUTF16("otherword")); base 22 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kPassword(ASCIIToUTF16("password")); base 23 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kPassword1(ASCIIToUTF16("password1")); base 24 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kPassword2(ASCIIToUTF16("password2")); base 25 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kPassword3(ASCIIToUTF16("password3")); base 26 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kUsername(ASCIIToUTF16("username")); base 27 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kUsername1(ASCIIToUTF16("username1")); base 28 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kUsername2(ASCIIToUTF16("username2")); base 29 net/ftp/ftp_auth_cache_unittest.cc const base::string16 kUsername3(ASCIIToUTF16("username3")); base 141 net/ftp/ftp_auth_cache_unittest.cc cache.Add(GURL("ftp://host" + base::IntToString(i)), base 147 net/ftp/ftp_auth_cache_unittest.cc EXPECT_TRUE(cache.Lookup(GURL("ftp://host" + base::IntToString(i)))); base 157 net/ftp/ftp_auth_cache_unittest.cc EXPECT_TRUE(cache.Lookup(GURL("ftp://host" + base::IntToString(i)))); base 82 net/ftp/ftp_ctrl_response_buffer.cc base::Value* NetLogFtpCtrlResponseCallback(const FtpCtrlResponse* response, base 84 net/ftp/ftp_ctrl_response_buffer.cc base::ListValue* lines = new base::ListValue(); base 87 net/ftp/ftp_ctrl_response_buffer.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 100 net/ftp/ftp_ctrl_response_buffer.cc base::Bind(&NetLogFtpCtrlResponseCallback, &result)); base 118 net/ftp/ftp_ctrl_response_buffer.cc if (base::StringToInt(base::StringPiece(line.begin(), line.begin() + 3), base 32 net/ftp/ftp_directory_listing_parser.cc if (!base::UTF16ToCodepage(entries->at(i).name, encoding.c_str(), base 33 net/ftp/ftp_directory_listing_parser.cc base::OnStringConversionError::FAIL, base 44 net/ftp/ftp_directory_listing_parser.cc int ParseListing(const base::string16& text, base 45 net/ftp/ftp_directory_listing_parser.cc const base::string16& newline_separator, base 47 net/ftp/ftp_directory_listing_parser.cc const base::Time& current_time, base 50 net/ftp/ftp_directory_listing_parser.cc std::vector<base::string16> lines; base 51 net/ftp/ftp_directory_listing_parser.cc base::SplitStringUsingSubstr(text, newline_separator, &lines); base 54 net/ftp/ftp_directory_listing_parser.cc base::Callback<bool(void)> callback; base 58 net/ftp/ftp_directory_listing_parser.cc base::Bind(&ParseFtpDirectoryListingLs, lines, current_time, entries), base 62 net/ftp/ftp_directory_listing_parser.cc base::Bind(&ParseFtpDirectoryListingWindows, lines, entries), base 66 net/ftp/ftp_directory_listing_parser.cc base::Bind(&ParseFtpDirectoryListingVms, lines, entries), base 70 net/ftp/ftp_directory_listing_parser.cc base::Bind(&ParseFtpDirectoryListingNetware, base 75 net/ftp/ftp_directory_listing_parser.cc base::Bind(&ParseFtpDirectoryListingOS2, lines, entries), base 95 net/ftp/ftp_directory_listing_parser.cc const base::Time& current_time, base 101 net/ftp/ftp_directory_listing_parser.cc if (!base::DetectAllEncodings(text, &encodings)) base 106 net/ftp/ftp_directory_listing_parser.cc base::string16 converted_text; base 107 net/ftp/ftp_directory_listing_parser.cc if (base::CodepageToUTF16(text, base 109 net/ftp/ftp_directory_listing_parser.cc base::OnStringConversionError::FAIL, base 113 net/ftp/ftp_directory_listing_parser.cc base::ASCIIToUTF16(kNewlineSeparators[j]), base 137 net/ftp/ftp_directory_listing_parser.cc const base::Time& current_time, base 29 net/ftp/ftp_directory_listing_parser.h base::string16 name; // Name (UTF-16-encoded). base 34 net/ftp/ftp_directory_listing_parser.h base::Time last_modified; base 41 net/ftp/ftp_directory_listing_parser.h const base::Time& current_time, base 19 net/ftp/ftp_directory_listing_parser_ls.cc bool TwoColumnDateListingToTime(const base::string16& date, base 20 net/ftp/ftp_directory_listing_parser_ls.cc const base::string16& time, base 21 net/ftp/ftp_directory_listing_parser_ls.cc base::Time* result) { base 22 net/ftp/ftp_directory_listing_parser_ls.cc base::Time::Exploded time_exploded = { 0 }; base 25 net/ftp/ftp_directory_listing_parser_ls.cc std::vector<base::string16> date_parts; base 26 net/ftp/ftp_directory_listing_parser_ls.cc base::SplitString(date, '-', &date_parts); base 29 net/ftp/ftp_directory_listing_parser_ls.cc if (!base::StringToInt(date_parts[0], &time_exploded.year)) base 31 net/ftp/ftp_directory_listing_parser_ls.cc if (!base::StringToInt(date_parts[1], &time_exploded.month)) base 33 net/ftp/ftp_directory_listing_parser_ls.cc if (!base::StringToInt(date_parts[2], &time_exploded.day_of_month)) base 40 net/ftp/ftp_directory_listing_parser_ls.cc std::vector<base::string16> time_parts; base 41 net/ftp/ftp_directory_listing_parser_ls.cc base::SplitString(time, ':', &time_parts); base 44 net/ftp/ftp_directory_listing_parser_ls.cc if (!base::StringToInt(time_parts[0], &time_exploded.hour)) base 46 net/ftp/ftp_directory_listing_parser_ls.cc if (!base::StringToInt(time_parts[1], &time_exploded.minute)) base 52 net/ftp/ftp_directory_listing_parser_ls.cc *result = base::Time::FromLocalExploded(time_exploded); base 59 net/ftp/ftp_directory_listing_parser_ls.cc const std::vector<base::string16>& columns, base 60 net/ftp/ftp_directory_listing_parser_ls.cc const base::Time& current_time, base 62 net/ftp/ftp_directory_listing_parser_ls.cc base::string16* size, base 63 net/ftp/ftp_directory_listing_parser_ls.cc base::Time* modification_time) { base 126 net/ftp/ftp_directory_listing_parser_ls.cc const std::vector<base::string16>& lines, base 127 net/ftp/ftp_directory_listing_parser_ls.cc const base::Time& current_time, base 137 net/ftp/ftp_directory_listing_parser_ls.cc std::vector<base::string16> columns; base 138 net/ftp/ftp_directory_listing_parser_ls.cc base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns); base 149 net/ftp/ftp_directory_listing_parser_ls.cc if (!base::StringToInt64(columns[1], &total_number)) base 160 net/ftp/ftp_directory_listing_parser_ls.cc base::string16 size; base 170 net/ftp/ftp_directory_listing_parser_ls.cc if (lines[i].find(base::ASCIIToUTF16(".:")) != base::string16::npos) base 187 net/ftp/ftp_directory_listing_parser_ls.cc if (!base::StringToInt64(size, &entry.size)) { base 219 net/ftp/ftp_directory_listing_parser_ls.cc base::string16::size_type pos = base 220 net/ftp/ftp_directory_listing_parser_ls.cc entry.name.rfind(base::ASCIIToUTF16(" -> ")); base 224 net/ftp/ftp_directory_listing_parser_ls.cc if (pos != base::string16::npos) base 13 net/ftp/ftp_directory_listing_parser_ls.h namespace base { base 23 net/ftp/ftp_directory_listing_parser_ls.h const std::vector<base::string16>& lines, base 24 net/ftp/ftp_directory_listing_parser_ls.h const base::Time& current_time, base 157 net/ftp/ftp_directory_listing_parser_ls_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 184 net/ftp/ftp_directory_listing_parser_ls_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 209 net/ftp/ftp_directory_listing_parser_ls_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 18 net/ftp/ftp_directory_listing_parser_netware.cc bool LooksLikeNetwarePermissionsListing(const base::string16& text) { base 39 net/ftp/ftp_directory_listing_parser_netware.cc const std::vector<base::string16>& lines, base 40 net/ftp/ftp_directory_listing_parser_netware.cc const base::Time& current_time, base 43 net/ftp/ftp_directory_listing_parser_netware.cc !StartsWith(lines[0], base::ASCIIToUTF16("total "), true)) { base 51 net/ftp/ftp_directory_listing_parser_netware.cc std::vector<base::string16> columns; base 52 net/ftp/ftp_directory_listing_parser_netware.cc base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns); base 75 net/ftp/ftp_directory_listing_parser_netware.cc if (!base::StringToInt64(columns[3], &entry.size)) base 13 net/ftp/ftp_directory_listing_parser_netware.h namespace base { base 23 net/ftp/ftp_directory_listing_parser_netware.h const std::vector<base::string16>& lines, base 24 net/ftp/ftp_directory_listing_parser_netware.h const base::Time& current_time, base 32 net/ftp/ftp_directory_listing_parser_netware_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 35 net/ftp/ftp_directory_listing_parser_netware_unittest.cc std::vector<base::string16> lines( base 39 net/ftp/ftp_directory_listing_parser_netware_unittest.cc lines.insert(lines.begin(), base::ASCIIToUTF16("total 1")); base 60 net/ftp/ftp_directory_listing_parser_netware_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 63 net/ftp/ftp_directory_listing_parser_netware_unittest.cc std::vector<base::string16> lines(GetSingleLineTestCase(bad_cases[i])); base 66 net/ftp/ftp_directory_listing_parser_netware_unittest.cc lines.insert(lines.begin(), base::ASCIIToUTF16("total 1")); base 19 net/ftp/ftp_directory_listing_parser_os2.cc const std::vector<base::string16>& lines, base 25 net/ftp/ftp_directory_listing_parser_os2.cc std::vector<base::string16> columns; base 26 net/ftp/ftp_directory_listing_parser_os2.cc base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns); base 41 net/ftp/ftp_directory_listing_parser_os2.cc if (!base::StringToInt64(columns[0], &entry.size)) base 19 net/ftp/ftp_directory_listing_parser_os2.h const std::vector<base::string16>& lines, base 55 net/ftp/ftp_directory_listing_parser_os2_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 72 net/ftp/ftp_directory_listing_parser_os2_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 104 net/ftp/ftp_directory_listing_parser_os2_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 27 net/ftp/ftp_directory_listing_parser_unittest.cc base::FilePath test_dir; base 28 net/ftp/ftp_directory_listing_parser_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &test_dir); base 33 net/ftp/ftp_directory_listing_parser_unittest.cc base::Time::Exploded mock_current_time_exploded = { 0 }; base 39 net/ftp/ftp_directory_listing_parser_unittest.cc base::Time mock_current_time( base 40 net/ftp/ftp_directory_listing_parser_unittest.cc base::Time::FromLocalExploded(mock_current_time_exploded)); base 42 net/ftp/ftp_directory_listing_parser_unittest.cc SCOPED_TRACE(base::StringPrintf("Test case: %s", GetParam())); base 45 net/ftp/ftp_directory_listing_parser_unittest.cc EXPECT_TRUE(base::ReadFileToString(test_dir.AppendASCII(GetParam()), base 54 net/ftp/ftp_directory_listing_parser_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 59 net/ftp/ftp_directory_listing_parser_unittest.cc base::SplitStringUsingSubstr(expected_listing, "\r\n", &lines); base 71 net/ftp/ftp_directory_listing_parser_unittest.cc base::StringToInt64(lines[9 * i + 2], &size); base 73 net/ftp/ftp_directory_listing_parser_unittest.cc SCOPED_TRACE(base::StringPrintf("Filename: %s", name.c_str())); base 76 net/ftp/ftp_directory_listing_parser_unittest.cc base::StringToInt(lines[9 * i + 3], &year); base 77 net/ftp/ftp_directory_listing_parser_unittest.cc base::StringToInt(lines[9 * i + 4], &month); base 78 net/ftp/ftp_directory_listing_parser_unittest.cc base::StringToInt(lines[9 * i + 5], &day_of_month); base 79 net/ftp/ftp_directory_listing_parser_unittest.cc base::StringToInt(lines[9 * i + 6], &hour); base 80 net/ftp/ftp_directory_listing_parser_unittest.cc base::StringToInt(lines[9 * i + 7], &minute); base 94 net/ftp/ftp_directory_listing_parser_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(name), entry.name); base 97 net/ftp/ftp_directory_listing_parser_unittest.cc base::Time::Exploded time_exploded; base 33 net/ftp/ftp_directory_listing_parser_unittest.h std::vector<base::string16> GetSingleLineTestCase(const std::string& text) { base 34 net/ftp/ftp_directory_listing_parser_unittest.h std::vector<base::string16> lines; base 35 net/ftp/ftp_directory_listing_parser_unittest.h lines.push_back(base::UTF8ToUTF16(text)); base 46 net/ftp/ftp_directory_listing_parser_unittest.h EXPECT_EQ(base::UTF8ToUTF16(test_case.filename), entry.name); base 49 net/ftp/ftp_directory_listing_parser_unittest.h base::Time::Exploded time_exploded; base 62 net/ftp/ftp_directory_listing_parser_unittest.h base::Time GetMockCurrentTime() { base 63 net/ftp/ftp_directory_listing_parser_unittest.h base::Time::Exploded mock_current_time_exploded = { 0 }; base 69 net/ftp/ftp_directory_listing_parser_unittest.h return base::Time::FromLocalExploded(mock_current_time_exploded); base 23 net/ftp/ftp_directory_listing_parser_vms.cc bool ParseVmsFilename(const base::string16& raw_filename, base 24 net/ftp/ftp_directory_listing_parser_vms.cc base::string16* parsed_filename, base 28 net/ftp/ftp_directory_listing_parser_vms.cc std::vector<base::string16> listing_parts; base 29 net/ftp/ftp_directory_listing_parser_vms.cc base::SplitString(raw_filename, ';', &listing_parts); base 33 net/ftp/ftp_directory_listing_parser_vms.cc if (!base::StringToInt(listing_parts[1], &version_number)) base 42 net/ftp/ftp_directory_listing_parser_vms.cc std::vector<base::string16> filename_parts; base 43 net/ftp/ftp_directory_listing_parser_vms.cc base::SplitString(listing_parts[0], '.', &filename_parts); base 56 net/ftp/ftp_directory_listing_parser_vms.cc bool ParseVmsFilesize(const base::string16& input, int64* size) { base 57 net/ftp/ftp_directory_listing_parser_vms.cc if (base::ContainsOnlyChars(input, base::ASCIIToUTF16("*"))) { base 68 net/ftp/ftp_directory_listing_parser_vms.cc if (base::StringToInt64(input, size)) { base 75 net/ftp/ftp_directory_listing_parser_vms.cc std::vector<base::string16> parts; base 76 net/ftp/ftp_directory_listing_parser_vms.cc base::SplitString(input, '/', &parts); base 81 net/ftp/ftp_directory_listing_parser_vms.cc if (!base::StringToInt64(parts[0], &blocks_used)) base 83 net/ftp/ftp_directory_listing_parser_vms.cc if (!base::StringToInt64(parts[1], &blocks_allocated)) base 94 net/ftp/ftp_directory_listing_parser_vms.cc bool LooksLikeVmsFileProtectionListingPart(const base::string16& input) { base 101 net/ftp/ftp_directory_listing_parser_vms.cc base::string16 match(input); base 110 net/ftp/ftp_directory_listing_parser_vms.cc bool LooksLikeVmsFileProtectionListing(const base::string16& input) { base 118 net/ftp/ftp_directory_listing_parser_vms.cc std::vector<base::string16> parts; base 119 net/ftp/ftp_directory_listing_parser_vms.cc base::SplitString(input.substr(1, input.length() - 2), ',', &parts); base 129 net/ftp/ftp_directory_listing_parser_vms.cc bool LooksLikeVmsUserIdentificationCode(const base::string16& input) { base 135 net/ftp/ftp_directory_listing_parser_vms.cc bool LooksLikeVMSError(const base::string16& text) { base 144 net/ftp/ftp_directory_listing_parser_vms.cc if (text.find(base::ASCIIToUTF16(kPermissionDeniedMessages[i])) != base 145 net/ftp/ftp_directory_listing_parser_vms.cc base::string16::npos) base 152 net/ftp/ftp_directory_listing_parser_vms.cc bool VmsDateListingToTime(const std::vector<base::string16>& columns, base 153 net/ftp/ftp_directory_listing_parser_vms.cc base::Time* time) { base 156 net/ftp/ftp_directory_listing_parser_vms.cc base::Time::Exploded time_exploded = { 0 }; base 159 net/ftp/ftp_directory_listing_parser_vms.cc std::vector<base::string16> date_parts; base 160 net/ftp/ftp_directory_listing_parser_vms.cc base::SplitString(columns[2], '-', &date_parts); base 163 net/ftp/ftp_directory_listing_parser_vms.cc if (!base::StringToInt(date_parts[0], &time_exploded.day_of_month)) base 168 net/ftp/ftp_directory_listing_parser_vms.cc if (!base::StringToInt(date_parts[2], &time_exploded.year)) base 173 net/ftp/ftp_directory_listing_parser_vms.cc base::string16 time_column(columns[3]); base 180 net/ftp/ftp_directory_listing_parser_vms.cc std::vector<base::string16> time_parts; base 181 net/ftp/ftp_directory_listing_parser_vms.cc base::SplitString(time_column, ':', &time_parts); base 184 net/ftp/ftp_directory_listing_parser_vms.cc if (!base::StringToInt(time_parts[0], &time_exploded.hour)) base 186 net/ftp/ftp_directory_listing_parser_vms.cc if (!base::StringToInt(time_parts[1], &time_exploded.minute)) base 190 net/ftp/ftp_directory_listing_parser_vms.cc *time = base::Time::FromLocalExploded(time_exploded); base 197 net/ftp/ftp_directory_listing_parser_vms.cc const std::vector<base::string16>& lines, base 213 net/ftp/ftp_directory_listing_parser_vms.cc if (StartsWith(lines[i], base::ASCIIToUTF16("Total of "), true)) { base 232 net/ftp/ftp_directory_listing_parser_vms.cc std::vector<base::string16> columns; base 233 net/ftp/ftp_directory_listing_parser_vms.cc base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns); base 250 net/ftp/ftp_directory_listing_parser_vms.cc base::SplitString( base 251 net/ftp/ftp_directory_listing_parser_vms.cc base::CollapseWhitespace( base 252 net/ftp/ftp_directory_listing_parser_vms.cc lines[i - 1] + base::ASCIIToUTF16(" ") + lines[i], false), base 19 net/ftp/ftp_directory_listing_parser_vms.h const std::vector<base::string16>& lines, base 14 net/ftp/ftp_directory_listing_parser_vms_unittest.cc using base::ASCIIToUTF16; base 56 net/ftp/ftp_directory_listing_parser_vms_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 59 net/ftp/ftp_directory_listing_parser_vms_unittest.cc std::vector<base::string16> lines( base 112 net/ftp/ftp_directory_listing_parser_vms_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, bad_cases[i])); base 114 net/ftp/ftp_directory_listing_parser_vms_unittest.cc std::vector<base::string16> lines(GetSingleLineTestCase(bad_cases[i])); base 137 net/ftp/ftp_directory_listing_parser_vms_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, bad_cases[i])); base 139 net/ftp/ftp_directory_listing_parser_vms_unittest.cc std::vector<base::string16> lines( base 19 net/ftp/ftp_directory_listing_parser_windows.cc const std::vector<base::string16>& lines, base 25 net/ftp/ftp_directory_listing_parser_windows.cc std::vector<base::string16> columns; base 26 net/ftp/ftp_directory_listing_parser_windows.cc base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns); base 45 net/ftp/ftp_directory_listing_parser_windows.cc if (!base::StringToInt64(columns[2], &entry.size)) base 19 net/ftp/ftp_directory_listing_parser_windows.h const std::vector<base::string16>& lines, base 61 net/ftp/ftp_directory_listing_parser_windows_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 80 net/ftp/ftp_directory_listing_parser_windows_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 114 net/ftp/ftp_directory_listing_parser_windows_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s", i, base 17 net/ftp/ftp_network_session.h : public base::RefCounted<FtpNetworkSession> { base 24 net/ftp/ftp_network_session.h friend class base::RefCounted<FtpNetworkSession>; base 185 net/ftp/ftp_network_transaction.cc base::SplitString(line, ',', &pieces); base 192 net/ftp/ftp_network_transaction.cc if (!base::StringToInt(pieces[4], &p0)) base 194 net/ftp/ftp_network_transaction.cc if (!base::StringToInt(pieces[5], &p1)) base 209 net/ftp/ftp_network_transaction.cc io_callback_(base::Bind(&FtpNetworkTransaction::OnIOComplete, base 210 net/ftp/ftp_network_transaction.cc base::Unretained(this))), base 254 net/ftp/ftp_network_transaction.cc base::string16 username; base 255 net/ftp/ftp_network_transaction.cc base::string16 password; base 259 net/ftp/ftp_network_transaction.cc credentials_.Set(base::ASCIIToUTF16("anonymous"), base 260 net/ftp/ftp_network_transaction.cc base::ASCIIToUTF16("chrome@example.com")); base 656 net/ftp/ftp_network_transaction.cc base::Bind(&FtpNetworkTransaction::OnIOComplete, base::Unretained(this)), base 709 net/ftp/ftp_network_transaction.cc credentials_.username() == base::ASCIIToUTF16("anonymous")) { base 756 net/ftp/ftp_network_transaction.cc std::string command = "USER " + base::UTF16ToUTF8(credentials_.username()); base 787 net/ftp/ftp_network_transaction.cc std::string command = "PASS " + base::UTF16ToUTF8(credentials_.password()); base 838 net/ftp/ftp_network_transaction.cc base::RemoveChars(line, base::kWhitespaceASCII, &line); base 1097 net/ftp/ftp_network_transaction.cc if (!base::StringToInt64(response.lines[0], &size)) base 1314 net/ftp/ftp_network_transaction_unittest.cc base::ASCIIToUTF16("foo\nownz0red"), base 1315 net/ftp/ftp_network_transaction_unittest.cc base::ASCIIToUTF16("innocent")), base 1349 net/ftp/ftp_network_transaction_unittest.cc AuthCredentials(base::ASCIIToUTF16("innocent"), base 1350 net/ftp/ftp_network_transaction_unittest.cc base::ASCIIToUTF16("foo\nownz0red")), base 24 net/ftp/ftp_response_info.h base::Time request_time; base 28 net/ftp/ftp_response_info.h base::Time response_time; base 25 net/ftp/ftp_util.cc using base::ASCIIToUTF16; base 26 net/ftp/ftp_util.cc using base::StringPiece16; base 38 net/ftp/ftp_util.cc base::StringTokenizer tokenizer(unix_path, "/"); base 139 net/ftp/ftp_util.cc bool GetMonthNumber(const base::string16& text, int* number) { base 142 net/ftp/ftp_util.cc base::string16 text_lower(base::i18n::ToLower(text)); base 176 net/ftp/ftp_util.cc base::string16 month_name(months[month].getBuffer(), base 181 net/ftp/ftp_util.cc month_name = base::i18n::ToLower(month_name); base 212 net/ftp/ftp_util.cc std::map<base::string16, int> map_; base 220 net/ftp/ftp_util.cc bool FtpUtil::AbbreviatedMonthToNumber(const base::string16& text, base 226 net/ftp/ftp_util.cc bool FtpUtil::LsDateListingToTime(const base::string16& month, base 227 net/ftp/ftp_util.cc const base::string16& day, base 228 net/ftp/ftp_util.cc const base::string16& rest, base 229 net/ftp/ftp_util.cc const base::Time& current_time, base 230 net/ftp/ftp_util.cc base::Time* result) { base 231 net/ftp/ftp_util.cc base::Time::Exploded time_exploded = { 0 }; base 243 net/ftp/ftp_util.cc if (!base::StringToInt(day, &time_exploded.day_of_month)) base 248 net/ftp/ftp_util.cc if (!base::StringToInt(rest, &time_exploded.year)) { base 255 net/ftp/ftp_util.cc if (colon_pos == base::string16::npos) base 260 net/ftp/ftp_util.cc if (!base::StringToInt( base 265 net/ftp/ftp_util.cc if (!base::StringToInt( base 272 net/ftp/ftp_util.cc base::Time::Exploded current_exploded; base 287 net/ftp/ftp_util.cc *result = base::Time::FromLocalExploded(time_exploded); base 292 net/ftp/ftp_util.cc bool FtpUtil::WindowsDateListingToTime(const base::string16& date, base 293 net/ftp/ftp_util.cc const base::string16& time, base 294 net/ftp/ftp_util.cc base::Time* result) { base 295 net/ftp/ftp_util.cc base::Time::Exploded time_exploded = { 0 }; base 298 net/ftp/ftp_util.cc std::vector<base::string16> date_parts; base 299 net/ftp/ftp_util.cc base::SplitString(date, '-', &date_parts); base 302 net/ftp/ftp_util.cc if (!base::StringToInt(date_parts[0], &time_exploded.month)) base 304 net/ftp/ftp_util.cc if (!base::StringToInt(date_parts[1], &time_exploded.day_of_month)) base 306 net/ftp/ftp_util.cc if (!base::StringToInt(date_parts[2], &time_exploded.year)) base 321 net/ftp/ftp_util.cc std::vector<base::string16> time_parts; base 322 net/ftp/ftp_util.cc base::SplitString(time.substr(0, 5), ':', &time_parts); base 325 net/ftp/ftp_util.cc if (!base::StringToInt(time_parts[0], &time_exploded.hour)) base 327 net/ftp/ftp_util.cc if (!base::StringToInt(time_parts[1], &time_exploded.minute)) base 335 net/ftp/ftp_util.cc base::string16 am_or_pm(time.substr(5, 2)); base 348 net/ftp/ftp_util.cc *result = base::Time::FromLocalExploded(time_exploded); base 353 net/ftp/ftp_util.cc base::string16 FtpUtil::GetStringPartAfterColumns(const base::string16& text, base 355 net/ftp/ftp_util.cc base::i18n::UTF16CharIterator iter(&text); base 368 net/ftp/ftp_util.cc base::string16 result(text.substr(iter.array_pos())); base 369 net/ftp/ftp_util.cc base::TrimWhitespace(result, base::TRIM_ALL, &result); base 13 net/ftp/ftp_util.h namespace base { base 33 net/ftp/ftp_util.h static bool AbbreviatedMonthToNumber(const base::string16& text, int* number); base 39 net/ftp/ftp_util.h static bool LsDateListingToTime(const base::string16& month, base 40 net/ftp/ftp_util.h const base::string16& day, base 41 net/ftp/ftp_util.h const base::string16& rest, base 42 net/ftp/ftp_util.h const base::Time& current_time, base 43 net/ftp/ftp_util.h base::Time* result); base 46 net/ftp/ftp_util.h static bool WindowsDateListingToTime(const base::string16& date, base 47 net/ftp/ftp_util.h const base::string16& time, base 48 net/ftp/ftp_util.h base::Time* result); base 52 net/ftp/ftp_util.h static base::string16 GetStringPartAfterColumns(const base::string16& text, base 15 net/ftp/ftp_util_unittest.cc using base::ASCIIToUTF16; base 16 net/ftp/ftp_util_unittest.cc using base::UTF8ToUTF16; base 118 net/ftp/ftp_util_unittest.cc base::Time mock_current_time; base 119 net/ftp/ftp_util_unittest.cc ASSERT_TRUE(base::Time::FromString("Tue, 15 Nov 1994 12:45:26 GMT", base 167 net/ftp/ftp_util_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s %s %s", i, base 171 net/ftp/ftp_util_unittest.cc base::Time time; base 176 net/ftp/ftp_util_unittest.cc base::Time::Exploded time_exploded; base 208 net/ftp/ftp_util_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s %s", i, base 211 net/ftp/ftp_util_unittest.cc base::Time time; base 217 net/ftp/ftp_util_unittest.cc base::Time::Exploded time_exploded; base 247 net/ftp/ftp_util_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s %d", i, base 53 net/http/disk_cache_based_quic_server_info.cc base::Bind(&DiskCacheBasedQuicServerInfo::OnIOComplete, base 55 net/http/disk_cache_based_quic_server_info.cc base::Owned(data_shim_))), // Ownership assigned. base 28 net/http/disk_cache_based_quic_server_info.h public NON_EXPORTED_BASE(base::NonThreadSafe) { base 87 net/http/disk_cache_based_quic_server_info.h base::WeakPtrFactory<DiskCacheBasedQuicServerInfo> weak_factory_; base 24 net/http/disk_cache_based_quic_server_info_unittest.cc base::Time(), base 29 net/http/disk_cache_based_quic_server_info_unittest.cc base::Time(), base 39 net/http/disk_cache_based_quic_server_info_unittest.cc base::Time(), base 44 net/http/disk_cache_based_quic_server_info_unittest.cc base::Time(), base 100 net/http/disk_cache_based_quic_server_info_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 116 net/http/disk_cache_based_quic_server_info_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 166 net/http/disk_cache_based_quic_server_info_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 190 net/http/disk_cache_based_quic_server_info_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 260 net/http/disk_cache_based_quic_server_info_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 81 net/http/failing_http_transaction_factory.cc base::MessageLoop::current()->PostTask( base 82 net/http/failing_http_transaction_factory.cc FROM_HERE, base::Bind(callback, error_)); base 91 net/http/http_auth_cache.cc it->last_use_time_ = base::TimeTicks::Now(); base 130 net/http/http_auth_cache.cc best_match->last_use_time_ = base::TimeTicks::Now(); base 144 net/http/http_auth_cache.cc base::TimeTicks now = base::TimeTicks::Now(); base 260 net/http/http_auth_cache.cc entry->last_use_time_ = base::TimeTicks::Now(); base 103 net/http/http_auth_cache.h base::TimeTicks creation_time_; base 104 net/http/http_auth_cache.h base::TimeTicks last_use_time_; base 16 net/http/http_auth_cache_unittest.cc using base::ASCIIToUTF16; base 63 net/http/http_auth_cache_unittest.cc const base::string16 k123(ASCIIToUTF16("123")); base 64 net/http/http_auth_cache_unittest.cc const base::string16 k1234(ASCIIToUTF16("1234")); base 65 net/http/http_auth_cache_unittest.cc const base::string16 kAdmin(ASCIIToUTF16("admin")); base 66 net/http/http_auth_cache_unittest.cc const base::string16 kAlice(ASCIIToUTF16("alice")); base 67 net/http/http_auth_cache_unittest.cc const base::string16 kAlice2(ASCIIToUTF16("alice2")); base 68 net/http/http_auth_cache_unittest.cc const base::string16 kPassword(ASCIIToUTF16("password")); base 69 net/http/http_auth_cache_unittest.cc const base::string16 kRoot(ASCIIToUTF16("root")); base 70 net/http/http_auth_cache_unittest.cc const base::string16 kUsername(ASCIIToUTF16("username")); base 71 net/http/http_auth_cache_unittest.cc const base::string16 kWileCoyote(ASCIIToUTF16("wilecoyote")); base 535 net/http/http_auth_cache_unittest.cc return base::StringPrintf("Realm %d", realm_i); base 539 net/http/http_auth_cache_unittest.cc return base::StringPrintf("/%d/%d/x/y", realm_i, path_i); base 46 net/http/http_auth_challenge_tokenizer.cc base::StringTokenizer tok(begin, end, HTTP_LWS); base 96 net/http/http_auth_controller.cc static base::PlatformThreadId first_thread = base 97 net/http/http_auth_controller.cc base::PlatformThread::CurrentId(); base 98 net/http/http_auth_controller.cc DCHECK_EQ(first_thread, base::PlatformThread::CurrentId()); base 187 net/http/http_auth_controller.cc base::Bind(&HttpAuthController::OnIOComplete, base::Unretained(this)), base 466 net/http/http_auth_controller.cc base::string16 username; base 467 net/http/http_auth_controller.cc base::string16 password; base 32 net/http/http_auth_controller.h : public base::RefCounted<HttpAuthController>, base 33 net/http/http_auth_controller.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 85 net/http/http_auth_controller.h friend class base::RefCounted<HttpAuthController>; base 228 net/http/http_auth_controller_unittest.cc controller->ResetAuth(AuthCredentials(base::ASCIIToUTF16("Hello"), base 229 net/http/http_auth_controller_unittest.cc base::string16())); base 12 net/http/http_auth_filter.cc typedef std::set<base::string16> RegistryWhitelist; base 23 net/http/http_auth_filter_win.h extern const base::char16 kRegistryInternetSettings[]; base 24 net/http/http_auth_filter_win.h extern const base::char16 kSettingsMachineOnly[]; base 25 net/http/http_auth_filter_win.h extern const base::char16* kRegistryEntries[3]; // L"http", L"https", and L"*" base 27 net/http/http_auth_filter_win.h extern const base::char16* GetRegistryWhitelistKey(); base 29 net/http/http_auth_filter_win.h extern void SetRegistryWhitelistKey(const base::char16* new_whitelist_key); base 98 net/http/http_auth_gssapi_posix.cc return base::StringPrintf("0x%08X 0x%08X", major_status, minor_status); base 108 net/http/http_auth_gssapi_posix.cc std::string rv = base::StringPrintf("(0x%08X)", status); base 127 net/http/http_auth_gssapi_posix.cc rv += base::StringPrintf(" %.*s", msg_len, base 145 net/http/http_auth_gssapi_posix.cc return base::StringPrintf("Major: %s | Minor: %s", major.c_str(), base 251 net/http/http_auth_gssapi_posix.cc output += base::StringPrintf("\"%s\"", str); base 255 net/http/http_auth_gssapi_posix.cc output = base::StringPrintf("(%u) \"", byte_length); base 265 net/http/http_auth_gssapi_posix.cc output += base::StringPrintf("\\x%02X", elements[i]); base 310 net/http/http_auth_gssapi_posix.cc base::StringPrintf("Unable to describe name 0x%p, %s", base 318 net/http/http_auth_gssapi_posix.cc std::string description = base::StringPrintf( base 352 net/http/http_auth_gssapi_posix.cc base::StringPrintf("Unable to describe context 0x%p, %s", base 361 net/http/http_auth_gssapi_posix.cc std::string description = base::StringPrintf("Context 0x%p: " base 400 net/http/http_auth_gssapi_posix.cc base::UnloadNativeLibrary(gssapi_library_); base 422 net/http/http_auth_gssapi_posix.cc base::NativeLibrary GSSAPISharedLibrary::LoadSharedLibrary() { base 449 net/http/http_auth_gssapi_posix.cc base::FilePath file_path(library_name); base 453 net/http/http_auth_gssapi_posix.cc base::ThreadRestrictions::ScopedAllowIO allow_io_temporarily; base 454 net/http/http_auth_gssapi_posix.cc base::NativeLibrary lib = base::LoadNativeLibrary(file_path, NULL); base 459 net/http/http_auth_gssapi_posix.cc base::UnloadNativeLibrary(lib); base 470 net/http/http_auth_gssapi_posix.cc base::GetFunctionPointerFromNativeLibrary(lib, "gss_" #x)); \ base 479 net/http/http_auth_gssapi_posix.cc bool GSSAPISharedLibrary::BindMethods(base::NativeLibrary lib) { base 711 net/http/http_auth_gssapi_posix.cc bool base64_rv = base::Base64Decode(encoded_auth_token, &decoded_auth_token); base 738 net/http/http_auth_gssapi_posix.cc base::Base64Encode(encode_input, &encode_output); base 191 net/http/http_auth_gssapi_posix.h base::NativeLibrary LoadSharedLibrary(); base 192 net/http/http_auth_gssapi_posix.h bool BindMethods(base::NativeLibrary lib); base 198 net/http/http_auth_gssapi_posix.h base::NativeLibrary gssapi_library_; base 76 net/http/http_auth_handler.cc base::Bind(&HttpAuthHandler::OnGenerateAuthTokenComplete, base 77 net/http/http_auth_handler.cc base::Unretained(this)), base 46 net/http/http_auth_handler_basic.cc if (!base::ConvertToUtf8AndNormalize( base 47 net/http/http_auth_handler_basic.cc parameters.value(), base::kCodepageLatin1, realm)) base 95 net/http/http_auth_handler_basic.cc base::Base64Encode(base::UTF16ToUTF8(credentials->username()) + ":" + base 96 net/http/http_auth_handler_basic.cc base::UTF16ToUTF8(credentials->password()), base 40 net/http/http_auth_handler_basic_unittest.cc AuthCredentials credentials(base::ASCIIToUTF16(tests[i].username), base 41 net/http/http_auth_handler_basic_unittest.cc base::ASCIIToUTF16(tests[i].password)); base 67 net/http/http_auth_handler_digest.cc cnonce.push_back(domain[base::RandInt(0, 15)]); base 230 net/http/http_auth_handler_digest.cc if (!base::ConvertToUtf8AndNormalize(value, base::kCodepageLatin1, &realm)) base 326 net/http/http_auth_handler_digest.cc std::string ha1 = base::MD5String(base::UTF16ToUTF8(credentials.username()) + base 328 net/http/http_auth_handler_digest.cc base::UTF16ToUTF8(credentials.password())); base 330 net/http/http_auth_handler_digest.cc ha1 = base::MD5String(ha1 + ":" + nonce_ + ":" + cnonce); base 334 net/http/http_auth_handler_digest.cc std::string ha2 = base::MD5String(method + ":" + path); base 341 net/http/http_auth_handler_digest.cc return base::MD5String(ha1 + ":" + nonce_ + ":" + nc_part + ha2); base 351 net/http/http_auth_handler_digest.cc std::string nc = base::StringPrintf("%08x", nonce_count); base 356 net/http/http_auth_handler_digest.cc base::UTF16ToUTF8(credentials.username()))); base 71 net/http/http_auth_handler_digest_unittest.cc AuthCredentials credentials(base::ASCIIToUTF16("foo"), base 72 net/http/http_auth_handler_digest_unittest.cc base::ASCIIToUTF16("bar")); base 535 net/http/http_auth_handler_digest_unittest.cc base::ASCIIToUTF16(tests[i].username), base 536 net/http/http_auth_handler_digest_unittest.cc base::ASCIIToUTF16(tests[i].password)), base 63 net/http/http_auth_handler_mock.cc base::MessageLoop::current()->PostTask( base 65 net/http/http_auth_handler_mock.cc base::Bind(&HttpAuthHandlerMock::OnResolveCanonicalName, base 122 net/http/http_auth_handler_mock.cc base::MessageLoop::current()->PostTask( base 124 net/http/http_auth_handler_mock.cc base::Bind(&HttpAuthHandlerMock::OnGenerateAuthToken, base 111 net/http/http_auth_handler_mock.h base::WeakPtrFactory<HttpAuthHandlerMock> weak_factory_; base 156 net/http/http_auth_handler_negotiate.cc return base::StringPrintf("HTTP%c%s:%d", kSpnSeparator, server.c_str(), base 159 net/http/http_auth_handler_negotiate.cc return base::StringPrintf("HTTP%c%s", kSpnSeparator, server.c_str()); base 294 net/http/http_auth_handler_negotiate.cc base::Bind(&HttpAuthHandlerNegotiate::OnIOComplete, base 295 net/http/http_auth_handler_negotiate.cc base::Unretained(this)), base 56 net/http/http_auth_handler_ntlm.cc base::string16 domain; base 57 net/http/http_auth_handler_ntlm.cc base::string16 user; base 58 net/http/http_auth_handler_ntlm.cc const base::string16& username = credentials->username(); base 59 net/http/http_auth_handler_ntlm.cc const base::char16 backslash_character = '\\'; base 61 net/http/http_auth_handler_ntlm.cc if (backslash_idx == base::string16::npos) { base 78 net/http/http_auth_handler_ntlm.cc if (!base::Base64Decode(auth_data_, &decoded_auth_data)) { base 93 net/http/http_auth_handler_ntlm.cc base::Base64Encode(encode_input, &encode_output); base 159 net/http/http_auth_handler_ntlm.h base::string16 domain_; base 213 net/http/http_auth_handler_ntlm_portable.cc void* buf, const base::char16* str, uint32 str_len) { base 254 net/http/http_auth_handler_ntlm_portable.cc static void LM_Hash(const base::string16& password, uint8* hash) { base 259 net/http/http_auth_handler_ntlm_portable.cc std::string passbuf = base::SysWideToNativeMB(base::UTF16ToWide(password)); base 279 net/http/http_auth_handler_ntlm_portable.cc static void NTLM_Hash(const base::string16& password, uint8* hash) { base 436 net/http/http_auth_handler_ntlm_portable.cc output[i] = base::RandInt(0, 255); base 440 net/http/http_auth_handler_ntlm_portable.cc static int GenerateType3Msg(const base::string16& domain, base 441 net/http/http_auth_handler_ntlm_portable.cc const base::string16& username, base 442 net/http/http_auth_handler_ntlm_portable.cc const base::string16& password, base 462 net/http/http_auth_handler_ntlm_portable.cc base::string16 ucs_domain_buf, ucs_user_buf; base 464 net/http/http_auth_handler_ntlm_portable.cc base::string16 ucs_host_buf; base 483 net/http/http_auth_handler_ntlm_portable.cc (const base::char16*) domain_ptr, base 490 net/http/http_auth_handler_ntlm_portable.cc oem_domain_buf = base::SysWideToNativeMB(base::UTF16ToWide(domain)); base 503 net/http/http_auth_handler_ntlm_portable.cc WriteUnicodeLE(const_cast<void*>(user_ptr), (const base::char16*) user_ptr, base 510 net/http/http_auth_handler_ntlm_portable.cc oem_user_buf = base::SysWideToNativeMB(base::UTF16ToWide(username)); base 524 net/http/http_auth_handler_ntlm_portable.cc WriteUnicodeLE(const_cast<void*>(host_ptr), (const base::char16*) host_ptr, base 549 net/http/http_auth_handler_ntlm_portable.cc base::MD5Digest session_hash; base 557 net/http/http_auth_handler_ntlm_portable.cc base::MD5Sum(temp, 16, &session_hash); base 23 net/http/http_auth_handler_unittest.cc AuthCredentials credentials(base::ASCIIToUTF16("user"), base 24 net/http/http_auth_handler_unittest.cc base::ASCIIToUTF16("pass")); base 52 net/http/http_auth_sspi_win.cc const base::string16& domain, base 53 net/http/http_auth_sspi_win.cc const base::string16& user, base 54 net/http/http_auth_sspi_win.cc const base::string16& password, base 251 net/http/http_auth_sspi_win.cc bool base64_rv = base::Base64Decode(encoded_auth_token, &decoded_auth_token); base 284 net/http/http_auth_sspi_win.cc base::Base64Encode(encode_input, &encode_output); base 295 net/http/http_auth_sspi_win.cc base::string16 domain; base 296 net/http/http_auth_sspi_win.cc base::string16 user; base 362 net/http/http_auth_sspi_win.cc std::wstring spn_wide = base::ASCIIToWide(spn); base 391 net/http/http_auth_sspi_win.cc void SplitDomainAndUser(const base::string16& combined, base 392 net/http/http_auth_sspi_win.cc base::string16* domain, base 393 net/http/http_auth_sspi_win.cc base::string16* user) { base 398 net/http/http_auth_sspi_win.cc if (backslash_idx == base::string16::npos) { base 185 net/http/http_auth_sspi_win.h NET_EXPORT_PRIVATE void SplitDomainAndUser(const base::string16& combined, base 186 net/http/http_auth_sspi_win.h base::string16* domain, base 187 net/http/http_auth_sspi_win.h base::string16* user); base 74 net/http/http_byte_range.cc return base::StringPrintf("bytes=-%" PRId64, suffix_length()); base 79 net/http/http_byte_range.cc return base::StringPrintf("bytes=%" PRId64 "-", first_byte_position()); base 81 net/http/http_byte_range.cc return base::StringPrintf("bytes=%" PRId64 "-%" PRId64, base 49 net/http/http_cache.cc void DeletePath(base::FilePath path) { base 50 net/http/http_cache.cc base::DeleteFile(path, false); base 59 net/http/http_cache.cc const base::FilePath& path, base 61 net/http/http_cache.cc base::MessageLoopProxy* thread) base 74 net/http/http_cache.cc base::FilePath(), max_bytes, NULL); base 202 net/http/http_cache.cc void Write(const GURL& url, base::Time expected_response_time, IOBuffer* buf, base 214 net/http/http_cache.cc base::Time expected_response_time_; base 220 net/http/http_cache.cc base::Time expected_response_time, base 236 net/http/http_cache.cc base::Bind(&MetadataWriter::OnIOComplete, base::Unretained(this)), base 255 net/http/http_cache.cc base::Bind(&MetadataWriter::OnIOComplete, base::Unretained(this))); base 394 net/http/http_cache.cc base::Time expected_response_time, base 442 net/http/http_cache.cc void HttpCache::InitializeInfiniteCache(const base::FilePath& path) { base 443 net/http/http_cache.cc if (base::FieldTrialList::FindFullName("InfiniteCache") != "Yes") base 445 net/http/http_cache.cc base::WorkerPool::PostTask(FROM_HERE, base::Bind(&DeletePath, path), true); base 502 net/http/http_cache.cc pending_op->callback = base::Bind(&HttpCache::OnPendingOpComplete, base 541 net/http/http_cache.cc url.insert(0, base::StringPrintf( base 564 net/http/http_cache.cc std::string result = base::IntToString(generation); base 617 net/http/http_cache.cc pending_op->callback = base::Bind(&HttpCache::OnPendingOpComplete, base 757 net/http/http_cache.cc pending_op->callback = base::Bind(&HttpCache::OnPendingOpComplete, base 786 net/http/http_cache.cc pending_op->callback = base::Bind(&HttpCache::OnPendingOpComplete, base 1011 net/http/http_cache.cc base::MessageLoop::current()->PostTask( base 1013 net/http/http_cache.cc base::Bind(&HttpCache::OnProcessPendingQueue, AsWeakPtr(), entry)); base 1130 net/http/http_cache.cc void HttpCache::OnPendingOpComplete(const base::WeakPtr<HttpCache>& cache, base 1168 net/http/http_cache.cc base::MessageLoop::current()->PostTask( base 1170 net/http/http_cache.cc base::Bind( base 63 net/http/http_cache.h public base::SupportsWeakPtr<HttpCache>, base 64 net/http/http_cache.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 103 net/http/http_cache.h const base::FilePath& path, int max_bytes, base 104 net/http/http_cache.h base::MessageLoopProxy* thread); base 118 net/http/http_cache.h const base::FilePath path_; base 120 net/http/http_cache.h scoped_refptr<base::MessageLoopProxy> thread_; base 169 net/http/http_cache.h base::Time expected_response_time, base 190 net/http/http_cache.h void InitializeInfiniteCache(const base::FilePath& path); base 242 net/http/http_cache.h typedef base::hash_map<std::string, ActiveEntry*> ActiveEntriesMap; base 243 net/http/http_cache.h typedef base::hash_map<std::string, PendingOp*> PendingOpsMap; base 245 net/http/http_cache.h typedef base::hash_map<std::string, int> PlaybackCacheMap; base 375 net/http/http_cache.h static void OnPendingOpComplete(const base::WeakPtr<HttpCache>& cache, base 44 net/http/http_cache_transaction.cc using base::Time; base 45 net/http/http_cache_transaction.cc using base::TimeDelta; base 46 net/http/http_cache_transaction.cc using base::TimeTicks; base 211 net/http/http_cache_transaction.cc io_callback_(base::Bind(&Transaction::OnIOComplete, base 2462 net/http/http_cache_transaction.cc TimeDelta total_time = base::TimeTicks::Now() - first_cache_access_since_; base 394 net/http/http_cache_transaction.h base::WeakPtr<HttpCache> cache_; base 422 net/http/http_cache_transaction.h base::WeakPtrFactory<Transaction> weak_factory_; base 427 net/http/http_cache_transaction.h base::TimeTicks entry_lock_waiting_since_; base 428 net/http/http_cache_transaction.h base::TimeTicks first_cache_access_since_; base 429 net/http/http_cache_transaction.h base::TimeTicks send_request_since_; base 40 net/http/http_cache_unittest.cc using base::Time; base 91 net/http/http_cache_unittest.cc callback_(base::Bind(&DeleteCacheCompletionCallback::OnComplete, base 92 net/http/http_cache_unittest.cc base::Unretained(this))) { base 252 net/http/http_cache_unittest.cc base::Time(), base 257 net/http/http_cache_unittest.cc base::Time(), base 370 net/http/http_cache_unittest.cc std::string content_range = base::StringPrintf( base 382 net/http/http_cache_unittest.cc base::StringAppendF(&data, "rg: %02d-%02d ", base 391 net/http/http_cache_unittest.cc std::string content_length = base::StringPrintf("Content-Length: %d\n", base 405 net/http/http_cache_unittest.cc base::Time(), base 414 net/http/http_cache_unittest.cc base::Time(), base 454 net/http/http_cache_unittest.cc response.response_time = base::Time::Now(); base 455 net/http/http_cache_unittest.cc response.request_time = base::Time::Now(); base 461 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), base 504 net/http/http_cache_unittest.cc const base::WeakPtr<net::SpdySession>& session, base 1296 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1361 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1490 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1537 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1652 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1728 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1797 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1804 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1843 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1883 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1894 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1926 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1936 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3433 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3447 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3566 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3579 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3790 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3829 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4028 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), base 4076 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), base 4118 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), base 4172 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4186 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4193 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4409 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4416 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5112 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5383 net/http/http_cache_unittest.cc base::MessageLoop::current()->Run(); base 5454 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5727 net/http/http_cache_unittest.cc base::Time request_time = base::Time() + base::TimeDelta::FromHours(1234); base 5728 net/http/http_cache_unittest.cc base::Time response_time = base::Time() + base::TimeDelta::FromHours(1235); base 5770 net/http/http_cache_unittest.cc base::strlcpy(buf->data(), "Hi there", buf->size()); base 5781 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5807 net/http/http_cache_unittest.cc base::strlcpy(buf->data(), "Hi there", buf->size()); base 5808 net/http/http_cache_unittest.cc base::Time expected_time = response.response_time - base 5809 net/http/http_cache_unittest.cc base::TimeDelta::FromMilliseconds(20); base 5817 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5842 net/http/http_cache_unittest.cc base::strlcpy(buf->data(), "Hi there", buf->size()); base 5850 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5864 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5878 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5915 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5946 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5983 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 6024 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 6059 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 6402 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 6409 net/http/http_cache_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 109 net/http/http_chunked_decoder.cc size_t index_of_lf = base::StringPiece(buf, buf_len).find('\n'); base 110 net/http/http_chunked_decoder.cc if (index_of_lf != base::StringPiece::npos) { base 136 net/http/http_chunked_decoder.cc size_t index_of_semicolon = base::StringPiece(buf, buf_len).find(';'); base 137 net/http/http_chunked_decoder.cc if (index_of_semicolon != base::StringPiece::npos) base 201 net/http/http_chunked_decoder.cc base::StringPiece chunk_size(start, len); base 203 net/http/http_chunked_decoder.cc != base::StringPiece::npos) { base 208 net/http/http_chunked_decoder.cc bool ok = base::HexStringToInt(chunk_size, &parsed_number); base 68 net/http/http_content_disposition.cc base::Base64Decode(part, &decoded) : DecodeQEncoding(part, &decoded))) base 111 net/http/http_content_disposition.cc base::string16 utf16_output; base 113 net/http/http_content_disposition.cc base::CodepageToUTF16(encoded_word, referrer_charset.c_str(), base 114 net/http/http_content_disposition.cc base::OnStringConversionError::FAIL, base 116 net/http/http_content_disposition.cc *output = base::UTF16ToUTF8(utf16_output); base 118 net/http/http_content_disposition.cc *output = base::WideToUTF8(base::SysNativeMBToWide(encoded_word)); base 135 net/http/http_content_disposition.cc base::StringTokenizer t(encoded_word, "?"); base 240 net/http/http_content_disposition.cc base::StringTokenizer t(input, " \t\n\r"); base 241 net/http/http_content_disposition.cc t.set_options(base::StringTokenizer::RETURN_DELIMS); base 273 net/http/http_content_disposition.cc base::StringTokenizer t(input, "'"); base 274 net/http/http_content_disposition.cc t.set_options(base::StringTokenizer::RETURN_DELIMS); base 346 net/http/http_content_disposition.cc return base::ConvertToUtf8AndNormalize(unescaped, charset, decoded); base 201 net/http/http_content_disposition_unittest.cc base::UTF8ToWide(header.filename())) base 510 net/http/http_content_disposition_unittest.cc EXPECT_EQ(tests[i].expected_filename, base::UTF8ToWide(header.filename())) base 40 net/http/http_log_util.cc if (!base::strcasecmp(header.c_str(), "proxy-authorization") || base 41 net/http/http_log_util.cc !base::strcasecmp(header.c_str(), "proxy-authenticate")) { base 54 net/http/http_log_util.cc if (!base::strcasecmp(header.c_str(), "set-cookie") || base 55 net/http/http_log_util.cc !base::strcasecmp(header.c_str(), "set-cookie2") || base 56 net/http/http_log_util.cc !base::strcasecmp(header.c_str(), "cookie") || base 57 net/http/http_log_util.cc !base::strcasecmp(header.c_str(), "authorization") || base 58 net/http/http_log_util.cc !base::strcasecmp(header.c_str(), "proxy-authorization")) { base 61 net/http/http_log_util.cc } else if (!base::strcasecmp(header.c_str(), "www-authenticate") || base 62 net/http/http_log_util.cc !base::strcasecmp(header.c_str(), "proxy-authenticate")) { base 76 net/http/http_log_util.cc base::StringPrintf("[%ld bytes were stripped]", base 28 net/http/http_network_layer.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 36 net/http/http_network_layer.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 25 net/http/http_network_layer.h public base::PowerObserver, base 26 net/http/http_network_layer.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 146 net/http/http_network_layer_unittest.cc base::StringPrintf("%s http://www.google.com/ HTTP/1.1\r\n" base 489 net/http/http_network_layer_unittest.cc std::string pac_string = base::StringPrintf( base 633 net/http/http_network_layer_unittest.cc EXPECT_EQ(base::TimeDelta::FromSeconds(86400), base 755 net/http/http_network_layer_unittest.cc EXPECT_EQ(base::TimeDelta::FromSeconds(86400), base 81 net/http/http_network_session.cc time_func(&base::TimeTicks::Now), base 193 net/http/http_network_session.cc base::Value* HttpNetworkSession::SocketPoolInfoToValue() const { base 198 net/http/http_network_session.cc base::Value* HttpNetworkSession::SpdySessionPoolInfoToValue() const { base 202 net/http/http_network_session.cc base::Value* HttpNetworkSession::QuicInfoToValue() const { base 203 net/http/http_network_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 24 net/http/http_network_session.h namespace base { base 54 net/http/http_network_session.h : public base::RefCounted<HttpNetworkSession>, base 55 net/http/http_network_session.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 72 net/http/http_network_session.h base::WeakPtr<HttpServerProperties> http_server_properties; base 143 net/http/http_network_session.h base::WeakPtr<HttpServerProperties> http_server_properties() { base 158 net/http/http_network_session.h base::Value* SocketPoolInfoToValue() const; base 162 net/http/http_network_session.h base::Value* SpdySessionPoolInfoToValue() const; base 166 net/http/http_network_session.h base::Value* QuicInfoToValue() const; base 181 net/http/http_network_session.h friend class base::RefCounted<HttpNetworkSession>; base 190 net/http/http_network_session.h const base::WeakPtr<HttpServerProperties> http_server_properties_; base 70 net/http/http_network_transaction.cc using base::Time; base 71 net/http/http_network_transaction.cc using base::TimeDelta; base 79 net/http/http_network_transaction.cc const base::WeakPtr<HttpServerProperties>& http_server_properties, base 108 net/http/http_network_transaction.cc base::Value* NetLogSSLVersionFallbackCallback( base 114 net/http/http_network_transaction.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 129 net/http/http_network_transaction.cc io_callback_(base::Bind(&HttpNetworkTransaction::OnIOComplete, base 130 net/http/http_network_transaction.cc base::Unretained(this))), base 189 net/http/http_network_transaction.cc start_time_ = base::Time::Now(); base 858 net/http/http_network_transaction.cc base::Uint64ToString(request_->upload_data_stream->size())); base 926 net/http/http_network_transaction.cc send_start_time_ = base::TimeTicks::Now(); base 933 net/http/http_network_transaction.cc send_end_time_ = base::TimeTicks::Now(); base 1062 net/http/http_network_transaction.cc base::Bind(&HttpResponseHeaders::NetLogCallback, response_.headers)); base 1199 net/http/http_network_transaction.cc base::TimeDelta total_duration = response_.response_time - start_time_; base 1204 net/http/http_network_transaction.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), base 1212 net/http/http_network_transaction.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), base 1223 net/http/http_network_transaction.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), base 1229 net/http/http_network_transaction.cc base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), base 1235 net/http/http_network_transaction.cc base::TimeDelta duration = base::Time::Now() - base 1240 net/http/http_network_transaction.cc base::TimeDelta total_duration = base::Time::Now() - start_time_; base 1243 net/http/http_network_transaction.cc base::TimeDelta::FromMilliseconds(1), base 1244 net/http/http_network_transaction.cc base::TimeDelta::FromMinutes(10), base 1248 net/http/http_network_transaction.cc base::TimeDelta::FromMilliseconds(1), base 1249 net/http/http_network_transaction.cc base::TimeDelta::FromMinutes(10), 100); base 1254 net/http/http_network_transaction.cc total_duration, base::TimeDelta::FromMilliseconds(1), base 1255 net/http/http_network_transaction.cc base::TimeDelta::FromMinutes(10), 100); base 1387 net/http/http_network_transaction.cc base::Bind(&NetLogSSLVersionFallbackCallback, base 1464 net/http/http_network_transaction.cc send_start_time_ = base::TimeTicks(); base 1465 net/http/http_network_transaction.cc send_end_time_ = base::TimeTicks(); base 1577 net/http/http_network_transaction.cc description = base::StringPrintf("%s (0x%08X)", #s, s); \ base 1600 net/http/http_network_transaction.cc description = base::StringPrintf("Unknown state 0x%08X (%u)", state, base 317 net/http/http_network_transaction.h base::Time start_time_; base 321 net/http/http_network_transaction.h base::TimeTicks send_start_time_; base 322 net/http/http_network_transaction.h base::TimeTicks send_end_time_; base 74 net/http/http_network_transaction_unittest.cc using base::ASCIIToUTF16; base 80 net/http/http_network_transaction_unittest.cc const base::string16 kBar(ASCIIToUTF16("bar")); base 81 net/http/http_network_transaction_unittest.cc const base::string16 kBar2(ASCIIToUTF16("bar2")); base 82 net/http/http_network_transaction_unittest.cc const base::string16 kBar3(ASCIIToUTF16("bar3")); base 83 net/http/http_network_transaction_unittest.cc const base::string16 kBaz(ASCIIToUTF16("baz")); base 84 net/http/http_network_transaction_unittest.cc const base::string16 kFirst(ASCIIToUTF16("first")); base 85 net/http/http_network_transaction_unittest.cc const base::string16 kFoo(ASCIIToUTF16("foo")); base 86 net/http/http_network_transaction_unittest.cc const base::string16 kFoo2(ASCIIToUTF16("foo2")); base 87 net/http/http_network_transaction_unittest.cc const base::string16 kFoo3(ASCIIToUTF16("foo3")); base 88 net/http/http_network_transaction_unittest.cc const base::string16 kFou(ASCIIToUTF16("fou")); base 89 net/http/http_network_transaction_unittest.cc const base::string16 kSecond(ASCIIToUTF16("second")); base 90 net/http/http_network_transaction_unittest.cc const base::string16 kTestingNTLM(ASCIIToUTF16("testing-ntlm")); base 91 net/http/http_network_transaction_unittest.cc const base::string16 kWrongPassword(ASCIIToUTF16("wrongpassword")); base 111 net/http/http_network_transaction_unittest.cc bool GetHeaders(base::DictionaryValue* params, std::string* headers) { base 114 net/http/http_network_transaction_unittest.cc base::ListValue* header_list; base 118 net/http/http_network_transaction_unittest.cc base::JSONWriter::Write(header_list, &double_quote_headers); base 119 net/http/http_network_transaction_unittest.cc base::ReplaceChars(double_quote_headers, "\"", "'", headers); base 257 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 262 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 264 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 267 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 518 net/http/http_network_transaction_unittest.cc virtual base::TimeDelta ConnectionTimeout() const { base 519 net/http/http_network_transaction_unittest.cc return base::TimeDelta(); base 1398 net/http/http_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 1555 net/http/http_network_transaction_unittest.cc base::Bind(&BeforeNetworkStartHandler::OnBeforeNetworkStart, base 1556 net/http/http_network_transaction_unittest.cc base::Unretained(&net_start_handler))); base 1571 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1605 net/http/http_network_transaction_unittest.cc base::Bind(&BeforeNetworkStartHandler::OnBeforeNetworkStart, base 1606 net/http/http_network_transaction_unittest.cc base::Unretained(&net_start_handler))); base 1612 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1661 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1699 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4614 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4620 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4674 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4733 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4801 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4828 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 4885 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5055 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5165 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5245 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 5782 net/http/http_network_transaction_unittest.cc response->response_time = base::Time::Now(); base 7423 net/http/http_network_transaction_unittest.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 7978 net/http/http_network_transaction_unittest.cc base::FilePath temp_file_path; base 7979 net/http/http_network_transaction_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&temp_file_path)); base 7986 net/http/http_network_transaction_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 7990 net/http/http_network_transaction_unittest.cc base::Time())); base 8030 net/http/http_network_transaction_unittest.cc base::DeleteFile(temp_file_path, false); base 8034 net/http/http_network_transaction_unittest.cc base::FilePath temp_file; base 8035 net/http/http_network_transaction_unittest.cc ASSERT_TRUE(base::CreateTemporaryFile(&temp_file)); base 8037 net/http/http_network_transaction_unittest.cc ASSERT_TRUE(base::WriteFile(temp_file, temp_file_content.c_str(), base 8043 net/http/http_network_transaction_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 8047 net/http/http_network_transaction_unittest.cc base::Time())); base 8075 net/http/http_network_transaction_unittest.cc base::DeleteFile(temp_file, false); base 8124 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 8372 net/http/http_network_transaction_unittest.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 8435 net/http/http_network_transaction_unittest.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 8486 net/http/http_network_transaction_unittest.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 8534 net/http/http_network_transaction_unittest.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 8583 net/http/http_network_transaction_unittest.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 8631 net/http/http_network_transaction_unittest.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 8675 net/http/http_network_transaction_unittest.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 9222 net/http/http_network_transaction_unittest.cc base::WeakPtr<SpdySession> spdy_session = base 10164 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 10381 net/http/http_network_transaction_unittest.cc base::WeakPtr<SpdySession> spdy_session = base 11251 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 11265 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 11349 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 11369 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 11432 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 11446 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 11524 net/http/http_network_transaction_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 11573 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 11639 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 11651 net/http/http_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 12080 net/http/http_network_transaction_unittest.cc public base::SupportsWeakPtr<FakeStream> { base 12184 net/http/http_network_transaction_unittest.cc public base::SupportsWeakPtr<FakeStreamRequest> { base 12210 net/http/http_network_transaction_unittest.cc base::WeakPtr<FakeStream> FinishStreamRequest() { base 12214 net/http/http_network_transaction_unittest.cc base::WeakPtr<FakeStream> weak_stream = fake_stream->AsWeakPtr(); base 12262 net/http/http_network_transaction_unittest.cc base::WeakPtr<FakeStreamRequest> last_stream_request() { base 12300 net/http/http_network_transaction_unittest.cc virtual base::Value* PipelineInfoToValue() const OVERRIDE { base 12311 net/http/http_network_transaction_unittest.cc base::WeakPtr<FakeStreamRequest> last_stream_request_; base 12329 net/http/http_network_transaction_unittest.cc const base::WeakPtr<SpdySession>& session, base 12362 net/http/http_network_transaction_unittest.cc base::WeakPtr<FakeStreamRequest> fake_request = base 12383 net/http/http_network_transaction_unittest.cc base::WeakPtr<FakeStreamRequest> fake_request = base 12408 net/http/http_network_transaction_unittest.cc base::WeakPtr<FakeStreamRequest> fake_request = base 12411 net/http/http_network_transaction_unittest.cc base::WeakPtr<FakeStream> fake_stream = fake_request->FinishStreamRequest(); base 12444 net/http/http_network_transaction_unittest.cc base::WeakPtr<FakeStreamRequest> fake_request = base 25 net/http/http_pipelined_connection_impl.cc base::Value* NetLogReceivedHeadersCallback(const NetLog::Source& source, base 28 net/http/http_pipelined_connection_impl.cc base::DictionaryValue* dict = new base::DictionaryValue; base 34 net/http/http_pipelined_connection_impl.cc base::Value* NetLogStreamClosedCallback(const NetLog::Source& source, base 37 net/http/http_pipelined_connection_impl.cc base::DictionaryValue* dict = new base::DictionaryValue; base 43 net/http/http_pipelined_connection_impl.cc base::Value* NetLogHostPortPairCallback(const HostPortPair* host_port_pair, base 45 net/http/http_pipelined_connection_impl.cc base::DictionaryValue* dict = new base::DictionaryValue; base 99 net/http/http_pipelined_connection_impl.cc base::Bind(&NetLogHostPortPairCallback, &origin)); base 140 net/http/http_pipelined_connection_impl.cc base::MessageLoop::current()->PostTask( base 142 net/http/http_pipelined_connection_impl.cc base::Bind(&HttpPipelinedConnectionImpl::ActivatePipeline, base 276 net/http/http_pipelined_connection_impl.cc base::Bind(&HttpPipelinedConnectionImpl::OnSendIOCallback, base 277 net/http/http_pipelined_connection_impl.cc base::Unretained(this))); base 466 net/http/http_pipelined_connection_impl.cc base::Bind(&HttpPipelinedConnectionImpl::OnReadIOCallback, base 467 net/http/http_pipelined_connection_impl.cc base::Unretained(this))); base 517 net/http/http_pipelined_connection_impl.cc base::MessageLoop::current()->PostTask( base 519 net/http/http_pipelined_connection_impl.cc base::Bind(&HttpPipelinedConnectionImpl::StartNextDeferredRead, base 547 net/http/http_pipelined_connection_impl.cc base::Bind(&NetLogStreamClosedCallback, base 771 net/http/http_pipelined_connection_impl.cc base::Bind(&NetLogReceivedHeadersCallback, base 781 net/http/http_pipelined_connection_impl.cc base::MessageLoop::current()->PostTask( base 783 net/http/http_pipelined_connection_impl.cc base::Bind(&HttpPipelinedConnectionImpl::FireUserCallback, base 310 net/http/http_pipelined_connection_impl.h base::WeakPtrFactory<HttpPipelinedConnectionImpl> weak_factory_; base 68 net/http/http_pipelined_connection_impl_unittest.cc class SuddenCloseObserver : public base::MessageLoop::TaskObserver { base 75 net/http/http_pipelined_connection_impl_unittest.cc virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 79 net/http/http_pipelined_connection_impl_unittest.cc base::MessageLoop::current()->RemoveTaskObserver(this); base 83 net/http/http_pipelined_connection_impl_unittest.cc virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE {} base 100 net/http/http_pipelined_connection_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 738 net/http/http_pipelined_connection_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 983 net/http/http_pipelined_connection_impl_unittest.cc base::MessageLoop::current()->AddTaskObserver(&observer); base 984 net/http/http_pipelined_connection_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 992 net/http/http_pipelined_connection_impl_unittest.cc callback_(base::Bind(&StreamDeleter::OnIOComplete, base 993 net/http/http_pipelined_connection_impl_unittest.cc base::Unretained(this))) { base 1135 net/http/http_pipelined_connection_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1169 net/http/http_pipelined_connection_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1571 net/http/http_pipelined_connection_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1588 net/http/http_pipelined_connection_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 13 net/http/http_pipelined_host.h namespace base { base 97 net/http/http_pipelined_host.h virtual base::Value* PipelineInfoToValue() const = 0; base 87 net/http/http_pipelined_host_forced.cc base::Value* HttpPipelinedHostForced::PipelineInfoToValue() const { base 88 net/http/http_pipelined_host_forced.cc base::ListValue* list_value = new base::ListValue(); base 90 net/http/http_pipelined_host_forced.cc base::DictionaryValue* pipeline_dict = new base::DictionaryValue; base 18 net/http/http_pipelined_host_forced.h namespace base { base 57 net/http/http_pipelined_host_forced.h virtual base::Value* PipelineInfoToValue() const OVERRIDE; base 189 net/http/http_pipelined_host_impl.cc base::Value* HttpPipelinedHostImpl::PipelineInfoToValue() const { base 190 net/http/http_pipelined_host_impl.cc base::ListValue* list_value = new base::ListValue(); base 193 net/http/http_pipelined_host_impl.cc base::DictionaryValue* pipeline_dict = new base::DictionaryValue; base 19 net/http/http_pipelined_host_impl.h namespace base { base 72 net/http/http_pipelined_host_impl.h virtual base::Value* PipelineInfoToValue() const OVERRIDE; base 36 net/http/http_pipelined_host_pool.cc const base::WeakPtr<HttpServerProperties>& http_server_properties, base 135 net/http/http_pipelined_host_pool.cc base::Value* HttpPipelinedHostPool::PipelineInfoToValue() const { base 136 net/http/http_pipelined_host_pool.cc base::ListValue* list = new base::ListValue(); base 139 net/http/http_pipelined_host_pool.cc base::Value* value = it->second->PipelineInfoToValue(); base 17 net/http/http_pipelined_host_pool.h namespace base { base 44 net/http/http_pipelined_host_pool.h const base::WeakPtr<HttpServerProperties>& http_server_properties, base 83 net/http/http_pipelined_host_pool.h base::Value* PipelineInfoToValue() const; base 94 net/http/http_pipelined_host_pool.h const base::WeakPtr<HttpServerProperties> http_server_properties_; base 62 net/http/http_pipelined_host_pool_unittest.cc MOCK_CONST_METHOD0(PipelineInfoToValue, base::Value*()); base 110 net/http/http_pipelined_host_pool_unittest.cc reinterpret_cast<ClientSocketHandle*>(base::RandUint64()); base 112 net/http/http_pipelined_host_pool_unittest.cc reinterpret_cast<HttpPipelinedStream*>(base::RandUint64()); base 117 net/http/http_pipelined_network_transaction_unittest.cc std::string url = base::StringPrintf("http://localhost/%s", filename); base 607 net/http/http_pipelined_network_transaction_unittest.cc AuthCredentials credentials(base::ASCIIToUTF16("user"), base 608 net/http/http_pipelined_network_transaction_unittest.cc base::ASCIIToUTF16("pass")); base 728 net/http/http_pipelined_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 751 net/http/http_pipelined_network_transaction_unittest.cc class DataRunnerObserver : public base::MessageLoop::TaskObserver { base 758 net/http/http_pipelined_network_transaction_unittest.cc virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE { base 762 net/http/http_pipelined_network_transaction_unittest.cc base::MessageLoop::current()->RemoveTaskObserver(this); base 766 net/http/http_pipelined_network_transaction_unittest.cc virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE {} base 833 net/http/http_pipelined_network_transaction_unittest.cc base::MessageLoop::current()->AddTaskObserver(&observer); base 835 net/http/http_pipelined_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 46 net/http/http_pipelined_stream.cc std::string request_line_ = base::StringPrintf("%s %s HTTP/1.1\r\n", base 39 net/http/http_proxy_client_socket.cc : io_callback_(base::Bind(&HttpProxyClientSocket::OnIOComplete, base 40 net/http/http_proxy_client_socket.cc base::Unretained(this))), base 413 net/http/http_proxy_client_socket.cc base::Bind(&HttpRequestHeaders::NetLogCallback, base 414 net/http/http_proxy_client_socket.cc base::Unretained(&request_headers_), base 448 net/http/http_proxy_client_socket.cc base::Bind(&HttpResponseHeaders::NetLogCallback, response_.headers)); base 527 net/http/http_proxy_client_socket.cc base::Bind(&HttpProxyClientSocket::OnIOComplete, base::Unretained(this))); base 82 net/http/http_proxy_client_socket_pool.cc const base::TimeDelta& timeout_duration, base 95 net/http/http_proxy_client_socket_pool.cc callback_(base::Bind(&HttpProxyConnectJob::OnIOComplete, base 198 net/http/http_proxy_client_socket_pool.cc ResetTimer(base::TimeDelta::FromSeconds( base 254 net/http/http_proxy_client_socket_pool.cc ResetTimer(base::TimeDelta::FromSeconds( base 307 net/http/http_proxy_client_socket_pool.cc base::WeakPtr<SpdySession> spdy_session = base 339 net/http/http_proxy_client_socket_pool.cc base::WeakPtr<SpdyStream> stream = spdy_stream_request_.ReleaseStream(); base 373 net/http/http_proxy_client_socket_pool.cc base::TimeDelta max_pool_timeout = base::TimeDelta(); base 384 net/http/http_proxy_client_socket_pool.cc base::TimeDelta::FromSeconds(kHttpProxyConnectJobTimeoutInSeconds); base 404 net/http/http_proxy_client_socket_pool.cc base::TimeDelta base 493 net/http/http_proxy_client_socket_pool.cc base::DictionaryValue* HttpProxyClientSocketPool::GetInfoAsValue( base 497 net/http/http_proxy_client_socket_pool.cc base::DictionaryValue* dict = base_.GetInfoAsValue(name, type); base 499 net/http/http_proxy_client_socket_pool.cc base::ListValue* list = new base::ListValue(); base 515 net/http/http_proxy_client_socket_pool.cc base::TimeDelta HttpProxyClientSocketPool::ConnectionTimeout() const { base 43 net/http/http_proxy_client_socket_pool.h : public base::RefCounted<HttpProxySocketParams> { base 77 net/http/http_proxy_client_socket_pool.h friend class base::RefCounted<HttpProxySocketParams>; base 101 net/http/http_proxy_client_socket_pool.h const base::TimeDelta& timeout_duration, base 155 net/http/http_proxy_client_socket_pool.h base::WeakPtrFactory<HttpProxyConnectJob> weak_ptr_factory_; base 226 net/http/http_proxy_client_socket_pool.h virtual base::DictionaryValue* GetInfoAsValue( base 231 net/http/http_proxy_client_socket_pool.h virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; base 262 net/http/http_proxy_client_socket_pool.h virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; base 269 net/http/http_proxy_client_socket_pool.h base::TimeDelta timeout_; base 103 net/http/http_proxy_client_socket_pool_unittest.cc const base::string16 kFoo(base::ASCIIToUTF16("foo")); base 104 net/http/http_proxy_client_socket_pool_unittest.cc const base::string16 kBar(base::ASCIIToUTF16("bar")); base 44 net/http/http_request_headers.cc const base::StringPiece& key, const base::StringPiece& value) base 72 net/http/http_request_headers.cc bool HttpRequestHeaders::GetHeader(const base::StringPiece& key, base 85 net/http/http_request_headers.cc void HttpRequestHeaders::SetHeader(const base::StringPiece& key, base 86 net/http/http_request_headers.cc const base::StringPiece& value) { base 94 net/http/http_request_headers.cc void HttpRequestHeaders::SetHeaderIfMissing(const base::StringPiece& key, base 95 net/http/http_request_headers.cc const base::StringPiece& value) { base 101 net/http/http_request_headers.cc void HttpRequestHeaders::RemoveHeader(const base::StringPiece& key) { base 108 net/http/http_request_headers.cc const base::StringPiece& header_line) { base 123 net/http/http_request_headers.cc const base::StringPiece header_key(header_line.data(), key_end_index); base 141 net/http/http_request_headers.cc base::StringPiece(&*header_value_begin, base 152 net/http/http_request_headers.cc const base::StringPiece& headers) { base 156 net/http/http_request_headers.cc base::SplitStringUsingSubstr(headers.as_string(), "\r\n", base 177 net/http/http_request_headers.cc base::StringAppendF(&output, "%s: %s\r\n", base 180 net/http/http_request_headers.cc base::StringAppendF(&output, "%s:\r\n", it->key.c_str()); base 187 net/http/http_request_headers.cc base::Value* HttpRequestHeaders::NetLogCallback( base 190 net/http/http_request_headers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 192 net/http/http_request_headers.cc base::ListValue* headers = new base::ListValue(); base 197 net/http/http_request_headers.cc headers->Append(new base::StringValue( base 198 net/http/http_request_headers.cc base::StringPrintf("%s: %s", base 206 net/http/http_request_headers.cc bool HttpRequestHeaders::FromNetLogParam(const base::Value* event_param, base 212 net/http/http_request_headers.cc const base::DictionaryValue* dict = NULL; base 213 net/http/http_request_headers.cc const base::ListValue* header_list = NULL; base 222 net/http/http_request_headers.cc for (base::ListValue::const_iterator it = header_list->begin(); base 237 net/http/http_request_headers.cc HttpRequestHeaders::FindHeader(const base::StringPiece& key) { base 241 net/http/http_request_headers.cc !base::strncasecmp(key.data(), it->key.data(), key.length())) base 249 net/http/http_request_headers.cc HttpRequestHeaders::FindHeader(const base::StringPiece& key) const { base 253 net/http/http_request_headers.cc !base::strncasecmp(key.data(), it->key.data(), key.length())) base 27 net/http/http_request_headers.h HeaderKeyValuePair(const base::StringPiece& key, base 28 net/http/http_request_headers.h const base::StringPiece& value); base 87 net/http/http_request_headers.h bool HasHeader(const base::StringPiece& key) const { base 93 net/http/http_request_headers.h bool GetHeader(const base::StringPiece& key, std::string* out) const; base 101 net/http/http_request_headers.h void SetHeader(const base::StringPiece& key, const base::StringPiece& value); base 106 net/http/http_request_headers.h void SetHeaderIfMissing(const base::StringPiece& key, base 107 net/http/http_request_headers.h const base::StringPiece& value); base 110 net/http/http_request_headers.h void RemoveHeader(const base::StringPiece& key); base 124 net/http/http_request_headers.h void AddHeaderFromString(const base::StringPiece& header_line); base 129 net/http/http_request_headers.h void AddHeadersFromString(const base::StringPiece& headers); base 150 net/http/http_request_headers.h base::Value* NetLogCallback(const std::string* request_line, base 158 net/http/http_request_headers.h static bool FromNetLogParam(const base::Value* event_param, base 163 net/http/http_request_headers.h HeaderVector::iterator FindHeader(const base::StringPiece& key); base 164 net/http/http_request_headers.h HeaderVector::const_iterator FindHeader(const base::StringPiece& key) const; base 174 net/http/http_request_headers_unittest.cc scoped_ptr<base::Value> event_param( base 50 net/http/http_response_body_drainer.cc base::TimeDelta::FromSeconds(kTimeoutInSeconds), base 92 net/http/http_response_body_drainer.cc base::Bind(&HttpResponseBodyDrainer::OnIOComplete, base 93 net/http/http_response_body_drainer.cc base::Unretained(this))); base 63 net/http/http_response_body_drainer.h base::OneShotTimer<HttpResponseBodyDrainer> timer_; base 43 net/http/http_response_body_drainer_unittest.cc base::MessageLoop::current()->Run(); base 53 net/http/http_response_body_drainer_unittest.cc base::MessageLoop::current()->Quit(); base 158 net/http/http_response_body_drainer_unittest.cc base::WeakPtrFactory<MockHttpStream> weak_factory_; base 178 net/http/http_response_body_drainer_unittest.cc base::MessageLoop::current()->PostTask( base 180 net/http/http_response_body_drainer_unittest.cc base::Bind(&MockHttpStream::CompleteRead, weak_factory_.GetWeakPtr())); base 34 net/http/http_response_headers.cc using base::StringPiece; base 35 net/http/http_response_headers.cc using base::Time; base 36 net/http/http_response_headers.cc using base::TimeDelta; base 398 net/http/http_response_headers.cc AddHeader(base::StringPrintf("%s: bytes %" PRId64 "-%" PRId64 "/%" PRId64, base 400 net/http/http_response_headers.cc AddHeader(base::StringPrintf("%s: %" PRId64, kLengthHeader, range_len)); base 472 net/http/http_response_headers.cc typedef base::hash_map<std::string, size_t> HeadersMap; base 578 net/http/http_response_headers.cc const base::StringPiece& name, base 603 net/http/http_response_headers.cc bool HttpResponseHeaders::HasHeaderValue(const base::StringPiece& name, base 604 net/http/http_response_headers.cc const base::StringPiece& value) const { base 612 net/http/http_response_headers.cc base::CaseInsensitiveCompare<char>())) base 618 net/http/http_response_headers.cc bool HttpResponseHeaders::HasHeader(const base::StringPiece& name) const { base 725 net/http/http_response_headers.cc base::StringToInt(StringPiece(code, p), &response_code_); base 746 net/http/http_response_headers.cc const base::StringPiece& search) const { base 754 net/http/http_response_headers.cc base::CaseInsensitiveCompare<char>())) base 1107 net/http/http_response_headers.cc base::StringToInt64(StringPiece(value.begin() + kMaxAgePrefixLen, base 1125 net/http/http_response_headers.cc base::StringToInt64(value, &seconds); base 1219 net/http/http_response_headers.cc bool ok = base::StringToInt64(content_length_val, &result); base 1286 net/http/http_response_headers.cc bool ok = base::StringToInt64(StringPiece(first_byte_pos_begin, base 1297 net/http/http_response_headers.cc ok &= base::StringToInt64(StringPiece(last_byte_pos_begin, base 1322 net/http/http_response_headers.cc } else if (!base::StringToInt64(StringPiece(instance_length_begin, base 1338 net/http/http_response_headers.cc base::Value* HttpResponseHeaders::NetLogCallback( base 1340 net/http/http_response_headers.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1341 net/http/http_response_headers.cc base::ListValue* headers = new base::ListValue(); base 1342 net/http/http_response_headers.cc headers->Append(new base::StringValue(GetStatusLine())); base 1349 net/http/http_response_headers.cc new base::StringValue( base 1350 net/http/http_response_headers.cc base::StringPrintf("%s: %s", name.c_str(), log_value.c_str()))); base 1358 net/http/http_response_headers.cc const base::Value* event_param, base 1362 net/http/http_response_headers.cc const base::DictionaryValue* dict = NULL; base 1363 net/http/http_response_headers.cc const base::ListValue* header_list = NULL; base 1372 net/http/http_response_headers.cc for (base::ListValue::const_iterator it = header_list->begin(); base 1396 net/http/http_response_headers.cc base::TimeDelta* duration) const { base 1407 net/http/http_response_headers.cc if (!base::StringToInt64( base 1424 net/http/http_response_headers.cc proxy_info->bypass_duration = base::TimeDelta(); base 26 net/http/http_response_headers.h namespace base { base 37 net/http/http_response_headers.h : public base::RefCountedThreadSafe<HttpResponseHeaders> { base 175 net/http/http_response_headers.h const base::StringPiece& name, base 180 net/http/http_response_headers.h bool HasHeaderValue(const base::StringPiece& name, base 181 net/http/http_response_headers.h const base::StringPiece& value) const; base 185 net/http/http_response_headers.h bool HasHeader(const base::StringPiece& name) const; base 213 net/http/http_response_headers.h bool RequiresValidation(const base::Time& request_time, base 214 net/http/http_response_headers.h const base::Time& response_time, base 215 net/http/http_response_headers.h const base::Time& current_time) const; base 220 net/http/http_response_headers.h base::TimeDelta GetFreshnessLifetime(const base::Time& response_time) const; base 224 net/http/http_response_headers.h base::TimeDelta GetCurrentAge(const base::Time& request_time, base 225 net/http/http_response_headers.h const base::Time& response_time, base 226 net/http/http_response_headers.h const base::Time& current_time) const; base 231 net/http/http_response_headers.h bool GetMaxAgeValue(base::TimeDelta* value) const; base 232 net/http/http_response_headers.h bool GetAgeValue(base::TimeDelta* value) const; base 233 net/http/http_response_headers.h bool GetDateValue(base::Time* value) const; base 234 net/http/http_response_headers.h bool GetLastModifiedValue(base::Time* value) const; base 235 net/http/http_response_headers.h bool GetExpiresValue(base::Time* value) const; base 239 net/http/http_response_headers.h bool GetTimeValuedHeader(const std::string& name, base::Time* result) const; base 280 net/http/http_response_headers.h base::TimeDelta bypass_duration; base 302 net/http/http_response_headers.h base::Value* NetLogCallback(NetLog::LogLevel log_level) const; base 310 net/http/http_response_headers.h const base::Value* event_param, base 322 net/http/http_response_headers.h friend class base::RefCountedThreadSafe<HttpResponseHeaders>; base 324 net/http/http_response_headers.h typedef base::hash_set<std::string> HeaderSet; base 356 net/http/http_response_headers.h size_t FindHeader(size_t from, const base::StringPiece& name) const; base 403 net/http/http_response_headers.h base::TimeDelta* duration) const; base 566 net/http/http_response_headers_unittest.cc base::Time expected_value; base 567 net/http/http_response_headers_unittest.cc ASSERT_TRUE(base::Time::FromString("Tue, 07 Aug 2007 23:10:55 GMT", base 570 net/http/http_response_headers_unittest.cc base::Time value; base 863 net/http/http_response_headers_unittest.cc base::Time request_time, response_time, current_time; base 864 net/http/http_response_headers_unittest.cc base::Time::FromString("Wed, 28 Nov 2007 00:40:09 GMT", &request_time); base 865 net/http/http_response_headers_unittest.cc base::Time::FromString("Wed, 28 Nov 2007 00:40:12 GMT", &response_time); base 866 net/http/http_response_headers_unittest.cc base::Time::FromString("Wed, 28 Nov 2007 00:45:20 GMT", ¤t_time); base 1919 net/http/http_response_headers_unittest.cc scoped_ptr<base::Value> event_param( base 18 net/http/http_response_info.cc using base::Time; base 112 net/http/http_response_info.h base::Time request_time; base 116 net/http/http_response_info.h base::Time response_time; base 37 net/http/http_security_headers.cc if (!base::StringToInt64(s, &i) && i != kint64max) base 127 net/http/http_security_headers.cc if (!base::Base64Decode(unquoted, &decoded)) base 168 net/http/http_security_headers.cc base::TimeDelta* max_age, base 188 net/http/http_security_headers.cc base::StringTokenizer tokenizer(value, " \t=;"); base 189 net/http/http_security_headers.cc tokenizer.set_options(base::StringTokenizer::RETURN_DELIMS); base 259 net/http/http_security_headers.cc *max_age = base::TimeDelta::FromSeconds(max_age_candidate); base 278 net/http/http_security_headers.cc base::TimeDelta* max_age, base 324 net/http/http_security_headers.cc *max_age = base::TimeDelta::FromSeconds(max_age_candidate); base 30 net/http/http_security_headers.h base::TimeDelta* max_age, base 53 net/http/http_security_headers.h base::TimeDelta* max_age, base 32 net/http/http_security_headers_unittest.cc base::Base64Encode(base::StringPiece( base 54 net/http/http_security_headers_unittest.cc base::TimeDelta max_age; base 125 net/http/http_security_headers_unittest.cc base::TimeDelta max_age; base 216 net/http/http_security_headers_unittest.cc base::TimeDelta max_age; base 217 net/http/http_security_headers_unittest.cc base::TimeDelta expect_max_age; base 222 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(243); base 228 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(567); base 234 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(890); base 240 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(123); base 246 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(123); base 252 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(123); base 259 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(123); base 266 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(123); base 273 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(123); base 280 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(123); base 287 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(123); base 293 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(394082); base 300 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds( base 308 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds( base 316 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(0); base 323 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds( base 330 net/http/http_security_headers_unittest.cc base::TimeDelta max_age; base 331 net/http/http_security_headers_unittest.cc base::TimeDelta expect_max_age; base 348 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(243); base 355 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(567); base 363 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(890); base 370 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(123); base 377 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(394082); base 384 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds( base 393 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds( base 401 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(0); base 408 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(0); base 416 net/http/http_security_headers_unittest.cc expect_max_age = base::TimeDelta::FromSeconds(kMaxHSTSAgeSecs); base 96 net/http/http_server_properties.cc return base::StringPrintf("%d:%s", port, base 66 net/http/http_server_properties.h typedef base::MRUCache< base 68 net/http/http_server_properties.h typedef base::MRUCache<HostPortPair, SettingsMap> SpdySettingsMap; base 82 net/http/http_server_properties.h base::TimeDelta rtt; base 90 net/http/http_server_properties.h virtual base::WeakPtr<HttpServerProperties> GetWeakPtr() = 0; base 117 net/http/http_server_properties_impl.cc base::ListValue* spdy_server_list) const { base 126 net/http/http_server_properties_impl.cc spdy_server_list->Append(new base::StringValue(spdy_server_host_port)); base 136 net/http/http_server_properties_impl.cc base::StringAppendF(&spdy_server, "%d", host_port_pair.port()); base 157 net/http/http_server_properties_impl.cc base::WeakPtr<HttpServerProperties> HttpServerPropertiesImpl::GetWeakPtr() { base 23 net/http/http_server_properties_impl.h namespace base { base 32 net/http/http_server_properties_impl.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 53 net/http/http_server_properties_impl.h void GetSpdyServerList(base::ListValue* spdy_server_list) const; base 77 net/http/http_server_properties_impl.h virtual base::WeakPtr<HttpServerProperties> GetWeakPtr() OVERRIDE; base 151 net/http/http_server_properties_impl.h typedef base::MRUCache< base 155 net/http/http_server_properties_impl.h typedef base::hash_map<std::string, bool> SpdyServerHostPortTable; base 177 net/http/http_server_properties_impl.h base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; base 130 net/http/http_server_properties_impl_unittest.cc base::ListValue spdy_server_list; base 73 net/http/http_stream_factory.cc const base::WeakPtr<HttpServerProperties>& http_server_properties, base 77 net/http/http_stream_factory.cc base::SplitString(alternate_protocol_str, ':', &port_protocol_vector); base 86 net/http/http_stream_factory.cc if (!base::StringToInt(port_protocol_vector[0], &port) || base 128 net/http/http_stream_factory.cc const std::string port_str = base::IntToString(endpoint->port()); base 28 net/http/http_stream_factory.h namespace base { base 182 net/http/http_stream_factory.h const base::WeakPtr<HttpServerProperties>& http_server_properties, base 222 net/http/http_stream_factory.h virtual base::Value* PipelineInfoToValue() const = 0; base 37 net/http/http_stream_factory_impl.cc const std::string new_port = base::IntToString(port); base 182 net/http/http_stream_factory_impl.cc base::Value* HttpStreamFactoryImpl::PipelineInfoToValue() const { base 267 net/http/http_stream_factory_impl.cc const base::WeakPtr<SpdySession>& spdy_session, base 61 net/http/http_stream_factory_impl.h virtual base::Value* PipelineInfoToValue() const OVERRIDE; base 101 net/http/http_stream_factory_impl.h void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session, base 48 net/http/http_stream_factory_impl_job.cc base::Value* NetLogHttpStreamJobCallback(const GURL* original_url, base 52 net/http/http_stream_factory_impl_job.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 61 net/http/http_stream_factory_impl_job.cc base::Value* NetLogHttpStreamProtoCallback( base 66 net/http/http_stream_factory_impl_job.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 89 net/http/http_stream_factory_impl_job.cc io_callback_(base::Bind(&Job::OnIOComplete, base::Unretained(this))), base 145 net/http/http_stream_factory_impl_job.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 203 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 205 net/http/http_stream_factory_impl_job.cc base::Bind(&HttpStreamFactoryImpl::Job::OnIOComplete, base 342 net/http/http_stream_factory_impl_job.cc base::WeakPtr<SpdySession> spdy_session = new_spdy_session_; base 456 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 458 net/http/http_stream_factory_impl_job.cc base::Bind(&HttpStreamFactoryImpl::Job::OnPreconnectsComplete, base 468 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 470 net/http/http_stream_factory_impl_job.cc base::Bind(&HttpStreamFactoryImpl::Job::OnCertificateErrorCallback, base 484 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 486 net/http/http_stream_factory_impl_job.cc base::Bind(&Job::OnNeedsProxyAuthCallback, ptr_factory_.GetWeakPtr(), base 493 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 495 net/http/http_stream_factory_impl_job.cc base::Bind(&Job::OnNeedsClientAuthCallback, ptr_factory_.GetWeakPtr(), base 506 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 508 net/http/http_stream_factory_impl_job.cc base::Bind(&Job::OnHttpsProxyTunnelResponseCallback, base 518 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 520 net/http/http_stream_factory_impl_job.cc base::Bind(&Job::OnNewSpdySessionReadyCallback, base 524 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 526 net/http/http_stream_factory_impl_job.cc base::Bind(&Job::OnWebSocketHandshakeStreamReadyCallback, base 530 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 532 net/http/http_stream_factory_impl_job.cc base::Bind(&Job::OnStreamReadyCallback, ptr_factory_.GetWeakPtr())); base 537 net/http/http_stream_factory_impl_job.cc base::MessageLoop::current()->PostTask( base 539 net/http/http_stream_factory_impl_job.cc base::Bind(&Job::OnStreamFailedCallback, ptr_factory_.GetWeakPtr(), base 619 net/http/http_stream_factory_impl_job.cc base::Bind(&NetLogHttpStreamJobCallback, base 767 net/http/http_stream_factory_impl_job.cc base::WeakPtr<SpdySession> spdy_session = base 850 net/http/http_stream_factory_impl_job.cc base::Bind(&Job::OnHostResolution, session_->spdy_session_pool(), base 941 net/http/http_stream_factory_impl_job.cc base::Bind(&NetLogHttpStreamProtoCallback, base 1104 net/http/http_stream_factory_impl_job.cc base::WeakPtr<SpdySession> spdy_session; base 1122 net/http/http_stream_factory_impl_job.cc base::WeakPtr<HttpServerProperties> http_server_properties = base 1417 net/http/http_stream_factory_impl_job.cc base::TimeDelta::FromMilliseconds(1), base 1418 net/http/http_stream_factory_impl_job.cc base::TimeDelta::FromMinutes(10), base 1424 net/http/http_stream_factory_impl_job.cc base::TimeDelta::FromMilliseconds(1), base 1425 net/http/http_stream_factory_impl_job.cc base::TimeDelta::FromMinutes(6), base 1431 net/http/http_stream_factory_impl_job.cc base::TimeDelta::FromMilliseconds(1), base 1432 net/http/http_stream_factory_impl_job.cc base::TimeDelta::FromMinutes(6), base 313 net/http/http_stream_factory_impl_job.h base::WeakPtr<SpdySession> new_spdy_session_; base 316 net/http/http_stream_factory_impl_job.h base::WeakPtr<SpdySession> existing_spdy_session_; base 327 net/http/http_stream_factory_impl_job.h base::WeakPtrFactory<Job> ptr_factory_; base 295 net/http/http_stream_factory_impl_request.cc const base::WeakPtr<SpdySession>& spdy_session, base 69 net/http/http_stream_factory_impl_request.h const base::WeakPtr<SpdySession>& spdy_session, base 141 net/http/http_stream_factory_impl_unittest.cc base::MessageLoop::current()->Run(); base 151 net/http/http_stream_factory_impl_unittest.cc base::MessageLoop::current()->Quit(); base 172 net/http/http_stream_factory_impl_unittest.cc base::MessageLoop::current()->Quit(); base 184 net/http/http_stream_factory_impl_unittest.cc base::MessageLoop::current()->Quit(); base 215 net/http/http_stream_factory_impl_unittest.cc base::MessageLoop::current()->Run(); base 252 net/http/http_stream_factory_impl_unittest.cc const base::WeakPtr<SpdySession>& spdy_session) base 261 net/http/http_stream_factory_impl_unittest.cc base::WeakPtr<SpdySession> spdy_session_; base 293 net/http/http_stream_factory_impl_unittest.cc const base::WeakPtr<SpdySession>& spdy_session, base 392 net/http/http_stream_factory_impl_unittest.cc virtual base::TimeDelta ConnectionTimeout() const OVERRIDE { base 393 net/http/http_stream_factory_impl_unittest.cc return base::TimeDelta(); base 691 net/http/http_stream_factory_impl_unittest.cc scoped_ptr<base::DictionaryValue> dict(pool->GetInfoAsValue("", "", false)); base 693 net/http/http_stream_factory_impl_unittest.cc base::DictionaryValue* groups = NULL; base 59 net/http/http_stream_parser.cc base::Value* NetLogSendRequestBodyCallback( base 64 net/http/http_stream_parser.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 191 net/http/http_stream_parser.cc io_callback_ = base::Bind(&HttpStreamParser::OnIOComplete, base 209 net/http/http_stream_parser.cc base::Bind(&HttpRequestHeaders::NetLogCallback, base 210 net/http/http_stream_parser.cc base::Unretained(&headers), base 272 net/http/http_stream_parser.cc base::Bind(&NetLogSendRequestBodyCallback, base 425 net/http/http_stream_parser.cc response_->request_time = base::Time::Now(); base 436 net/http/http_stream_parser.cc base::Bind(&NetLogSendRequestBodyCallback, base 485 net/http/http_stream_parser.cc const base::StringPiece payload(request_body_read_buf_->data(), result); base 542 net/http/http_stream_parser.cc response_->response_time = base::Time::Now(); base 931 net/http/http_stream_parser.cc int HttpStreamParser::EncodeChunk(const base::StringPiece& payload, base 939 net/http/http_stream_parser.cc const int num_chars = base::snprintf(output, output_size, base 94 net/http/http_stream_parser.h static int EncodeChunk(const base::StringPiece& payload, base 238 net/http/http_stream_parser.h base::WeakPtrFactory<HttpStreamParser> weak_ptr_factory_; base 46 net/http/http_stream_parser_unittest.cc const base::StringPiece kPayload = ""; base 47 net/http/http_stream_parser_unittest.cc const base::StringPiece kExpected = "0\r\n\r\n"; base 51 net/http/http_stream_parser_unittest.cc EXPECT_EQ(kExpected, base::StringPiece(output, num_bytes_written)); base 63 net/http/http_stream_parser_unittest.cc EXPECT_EQ(kExpected, base::StringPiece(output, num_bytes_written)); base 75 net/http/http_stream_parser_unittest.cc EXPECT_EQ(kExpected, base::StringPiece(output, num_bytes_written)); base 87 net/http/http_stream_parser_unittest.cc EXPECT_EQ(kExpected, base::StringPiece(output, num_bytes_written)); base 132 net/http/http_stream_parser_unittest.cc base::ScopedTempDir temp_dir; base 134 net/http/http_stream_parser_unittest.cc base::FilePath temp_file_path; base 135 net/http/http_stream_parser_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), base 139 net/http/http_stream_parser_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 143 net/http/http_stream_parser_unittest.cc base::Time())); base 155 net/http/http_stream_parser_unittest.cc base::RunLoop().RunUntilIdle(); base 488 net/http/http_stream_parser_unittest.cc base::StringPiece(read_buffer->StartOfBuffer(), base 34 net/http/http_transaction.h typedef base::Callback<void(bool* defer)> BeforeNetworkStartCallback; base 24 net/http/http_transaction_unittest.cc typedef base::hash_map<std::string, const MockTransaction*> MockTransactionMap; base 34 net/http/http_transaction_unittest.cc base::Time(), base 39 net/http/http_transaction_unittest.cc base::Time(), base 50 net/http/http_transaction_unittest.cc base::Time(), base 55 net/http/http_transaction_unittest.cc base::Time(), base 66 net/http/http_transaction_unittest.cc base::Time(), base 72 net/http/http_transaction_unittest.cc base::Time(), base 83 net/http/http_transaction_unittest.cc base::Time(), base 89 net/http/http_transaction_unittest.cc base::Time(), base 100 net/http/http_transaction_unittest.cc base::Time(), base 105 net/http/http_transaction_unittest.cc base::Time(), base 171 net/http/http_transaction_unittest.cc request, base::Bind(&TestTransactionConsumer::OnIOComplete, base 172 net/http/http_transaction_unittest.cc base::Unretained(this)), net_log); base 198 net/http/http_transaction_unittest.cc base::MessageLoop::current()->Quit(); base 206 net/http/http_transaction_unittest.cc base::Bind(&TestTransactionConsumer::OnIOComplete, base 207 net/http/http_transaction_unittest.cc base::Unretained(this))); base 342 net/http/http_transaction_unittest.cc load_timing_info->connect_timing.connect_start = base::TimeTicks::Now(); base 343 net/http/http_transaction_unittest.cc load_timing_info->connect_timing.connect_end = base::TimeTicks::Now(); base 344 net/http/http_transaction_unittest.cc load_timing_info->send_start = base::TimeTicks::Now(); base 345 net/http/http_transaction_unittest.cc load_timing_info->send_end = base::TimeTicks::Now(); base 351 net/http/http_transaction_unittest.cc load_timing_info->send_start = base::TimeTicks::Now(); base 352 net/http/http_transaction_unittest.cc load_timing_info->send_end = base::TimeTicks::Now(); base 391 net/http/http_transaction_unittest.cc std::string header_data = base::StringPrintf( base 395 net/http/http_transaction_unittest.cc response_.request_time = base::Time::Now(); base 402 net/http/http_transaction_unittest.cc response_.response_time = base::Time::Now(); base 432 net/http/http_transaction_unittest.cc base::MessageLoop::current()->PostTask( base 433 net/http/http_transaction_unittest.cc FROM_HERE, base::Bind(&MockNetworkTransaction::RunCallback, base 58 net/http/http_transaction_unittest.h base::Time request_time; base 64 net/http/http_transaction_unittest.h base::Time response_time; base 164 net/http/http_transaction_unittest.h public base::SupportsWeakPtr<MockNetworkTransaction> { base 234 net/http/http_transaction_unittest.h base::WeakPtrFactory<MockNetworkTransaction> weak_factory_; base 242 net/http/http_transaction_unittest.h base::WeakPtr<MockNetworkLayer> transaction_factory_; base 252 net/http/http_transaction_unittest.h public base::SupportsWeakPtr<MockNetworkLayer> { base 274 net/http/http_transaction_unittest.h base::WeakPtr<MockNetworkTransaction> last_transaction() { base 296 net/http/http_transaction_unittest.h base::WeakPtr<MockNetworkTransaction> last_transaction_; base 103 net/http/http_util.cc base::StringTokenizer tokenizer(begin + param_start, content_type_str.end(), base 244 net/http/http_util.cc if (!base::StringToInt64(first_byte_pos, &first_byte_position)) base 259 net/http/http_util.cc if (!base::StringToInt64(last_byte_pos, &last_byte_position)) base 285 net/http/http_util.cc base::CaseInsensitiveCompareASCII<char>()); base 553 net/http/http_util.cc size_t i = base::StringPiece(begin, end - begin).find_first_of("\r\n"); base 554 net/http/http_util.cc if (i == base::StringPiece::npos) base 590 net/http/http_util.cc base::CStringTokenizer lines(status_line_end, input_end, "\r\n"); base 629 net/http/http_util.cc base::StringTokenizer tokenizer(str, std::string(1, '\0')); base 654 net/http/http_util.cc base::StringTokenizer t(raw_language_list, ","); base 663 net/http/http_util.cc base::StringAppendF(&lang_list_with_q, ",%s;q=0.%d", language.c_str(), base 702 net/http/http_util.cc base::Time last_modified; base 703 net/http/http_util.cc if (!base::Time::FromString(last_modified_header.c_str(), &last_modified)) base 706 net/http/http_util.cc base::Time date; base 707 net/http/http_util.cc if (!base::Time::FromString(date_header.c_str(), &date)) base 250 net/http/http_util.h base::StringTokenizer lines_; base 290 net/http/http_util.h base::StringTokenizer values_; base 23 net/http/http_vary_data.cc base::MD5Context ctx; base 24 net/http/http_vary_data.cc base::MD5Init(&ctx); base 63 net/http/http_vary_data.cc base::MD5Final(&request_digest_, &ctx); base 114 net/http/http_vary_data.cc base::MD5Context* ctx) { base 123 net/http/http_vary_data.cc base::MD5Update(ctx, request_value); base 75 net/http/http_vary_data.h base::MD5Context* context); base 78 net/http/http_vary_data.h base::MD5Digest request_digest_; base 344 net/http/mock_gssapi_library_posix.cc std::string msg = base::StringPrintf("Value: %u, Type %u", base 72 net/http/mock_http_cache.cc base::Time MockDiskEntry::GetLastUsed() const { base 73 net/http/mock_http_cache.cc return base::Time::FromInternalValue(0); base 76 net/http/mock_http_cache.cc base::Time MockDiskEntry::GetLastModified() const { base 77 net/http/mock_http_cache.cc return base::Time::FromInternalValue(0); base 288 net/http/mock_http_cache.cc base::MessageLoop::current()->PostTask( base 290 net/http/mock_http_cache.cc base::Bind(&MockDiskEntry::RunCallback, this, callback, result)); base 449 net/http/mock_http_cache.cc int MockDiskCache::DoomEntriesBetween(const base::Time initial_time, base 450 net/http/mock_http_cache.cc const base::Time end_time, base 455 net/http/mock_http_cache.cc int MockDiskCache::DoomEntriesSince(const base::Time initial_time, base 484 net/http/mock_http_cache.cc base::MessageLoop::current()->PostTask( base 485 net/http/mock_http_cache.cc FROM_HERE, base::Bind(&CallbackForwader, callback, result)); base 22 net/http/mock_http_cache.h public base::RefCounted<MockDiskEntry> { base 31 net/http/mock_http_cache.h virtual base::Time GetLastUsed() const OVERRIDE; base 32 net/http/mock_http_cache.h virtual base::Time GetLastModified() const OVERRIDE; base 63 net/http/mock_http_cache.h friend class base::RefCounted<MockDiskEntry>; base 111 net/http/mock_http_cache.h base::Time initial_time, base 112 net/http/mock_http_cache.h base::Time end_time, base 115 net/http/mock_http_cache.h base::Time initial_time, base 145 net/http/mock_http_cache.h typedef base::hash_map<std::string, MockDiskEntry*> EntryMap; base 81 net/http/partial_data.cc offset, len, &start_, base::Bind(&PartialData::Core::OnIOComplete, base 82 net/http/partial_data.cc base::Unretained(this))); base 395 net/http/partial_data.cc headers->AddHeader(base::StringPrintf("%s: bytes 0-0/%" PRId64, base 397 net/http/partial_data.cc headers->AddHeader(base::StringPrintf("%s: 0", kLengthHeader)); base 402 net/http/partial_data.cc headers->AddHeader(base::StringPrintf("%s: %" PRId64, kLengthHeader, base 409 net/http/partial_data.cc headers->AddHeader(base::StringPrintf("%s: %" PRId64, kLengthHeader, base 30 net/http/proxy_client_socket.cc *request_line = base::StringPrintf( base 85 net/http/proxy_client_socket.cc base::StringPrintf("HTTP/1.0 302 Found\n" base 29 net/http/transport_security_persister.cc base::ListValue* SPKIHashesToListValue(const HashValueVector& hashes) { base 30 net/http/transport_security_persister.cc base::ListValue* pins = new base::ListValue; base 32 net/http/transport_security_persister.cc pins->Append(new base::StringValue(hashes[i].ToString())); base 36 net/http/transport_security_persister.cc void SPKIHashesFromListValue(const base::ListValue& pins, base 53 net/http/transport_security_persister.cc base::Base64Encode(hashed, &out); base 61 net/http/transport_security_persister.cc if (!base::Base64Decode(external, &out) || base 86 net/http/transport_security_persister.cc std::string LoadState(const base::FilePath& path) { base 88 net/http/transport_security_persister.cc if (!base::ReadFileToString(path, &result)) { base 101 net/http/transport_security_persister.cc const base::FilePath& profile_path, base 102 net/http/transport_security_persister.cc base::SequencedTaskRunner* background_runner, base 106 net/http/transport_security_persister.cc foreground_runner_(base::MessageLoop::current()->message_loop_proxy()), base 112 net/http/transport_security_persister.cc base::PostTaskAndReplyWithResult( base 115 net/http/transport_security_persister.cc base::Bind(&::LoadState, writer_.path()), base 116 net/http/transport_security_persister.cc base::Bind(&TransportSecurityPersister::CompleteLoad, base 141 net/http/transport_security_persister.cc base::DictionaryValue toplevel; base 142 net/http/transport_security_persister.cc base::Time now = base::Time::Now(); base 149 net/http/transport_security_persister.cc base::DictionaryValue* serialized = new base::DictionaryValue; base 184 net/http/transport_security_persister.cc base::JSONWriter::WriteWithOptions(&toplevel, base 185 net/http/transport_security_persister.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 202 net/http/transport_security_persister.cc scoped_ptr<base::Value> value(base::JSONReader::Read(serialized)); base 203 net/http/transport_security_persister.cc base::DictionaryValue* dict_value = NULL; base 207 net/http/transport_security_persister.cc const base::Time current_time(base::Time::Now()); base 210 net/http/transport_security_persister.cc for (base::DictionaryValue::Iterator i(*dict_value); base 212 net/http/transport_security_persister.cc const base::DictionaryValue* parsed = NULL; base 252 net/http/transport_security_persister.cc const base::ListValue* pins_list = NULL; base 275 net/http/transport_security_persister.cc domain_state.upgrade_expiry = base::Time::FromDoubleT(expiry); base 277 net/http/transport_security_persister.cc base::Time::FromDoubleT(dynamic_spki_hashes_expiry); base 282 net/http/transport_security_persister.cc domain_state.sts_observed = base::Time::FromDoubleT(sts_observed); base 285 net/http/transport_security_persister.cc domain_state.sts_observed = base::Time::FromDoubleT(sts_observed); base 290 net/http/transport_security_persister.cc domain_state.sts_observed = base::Time::Now(); base 293 net/http/transport_security_persister.cc domain_state.pkp_observed = base::Time::FromDoubleT(pkp_observed); base 295 net/http/transport_security_persister.cc domain_state.pkp_observed = base::Time::FromDoubleT(pkp_observed); base 298 net/http/transport_security_persister.cc domain_state.pkp_observed = base::Time::Now(); base 45 net/http/transport_security_persister.h namespace base { base 58 net/http/transport_security_persister.h public base::ImportantFileWriter::DataSerializer { base 61 net/http/transport_security_persister.h const base::FilePath& profile_path, base 62 net/http/transport_security_persister.h base::SequencedTaskRunner* file_task_runner, base 123 net/http/transport_security_persister.h base::ImportantFileWriter writer_; base 125 net/http/transport_security_persister.h scoped_refptr<base::SequencedTaskRunner> foreground_runner_; base 126 net/http/transport_security_persister.h scoped_refptr<base::SequencedTaskRunner> background_runner_; base 131 net/http/transport_security_persister.h base::WeakPtrFactory<TransportSecurityPersister> weak_ptr_factory_; base 27 net/http/transport_security_persister_unittest.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 35 net/http/transport_security_persister_unittest.cc base::MessageLoopForIO::current()->message_loop_proxy(), base 40 net/http/transport_security_persister_unittest.cc base::ScopedTempDir temp_dir_; base 56 net/http/transport_security_persister_unittest.cc const base::Time current_time(base::Time::Now()); base 57 net/http/transport_security_persister_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 92 net/http/transport_security_persister_unittest.cc base::Time expiry = base 93 net/http/transport_security_persister_unittest.cc base::Time::Now() + base::TimeDelta::FromSeconds(1000); base 106 net/http/transport_security_persister_unittest.cc base::Time::Now() + base::TimeDelta::FromSeconds(3000); base 128 net/http/transport_security_persister_unittest.cc base::FilePath path = base 130 net/http/transport_security_persister_unittest.cc EXPECT_TRUE(base::WriteFile(path, serialized.c_str(), serialized.size())); base 134 net/http/transport_security_persister_unittest.cc EXPECT_TRUE(base::ReadFileToString(path, &persisted)); base 185 net/http/transport_security_persister_unittest.cc const base::Time current_time(base::Time::Now()); base 186 net/http/transport_security_persister_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 153 net/http/transport_security_state.cc base::Time current_time(base::Time::Now()); base 198 net/http/transport_security_state.cc void TransportSecurityState::DeleteAllDynamicDataSince(const base::Time& time) { base 616 net/http/transport_security_state.cc base::Time now = base::Time::Now(); base 617 net/http/transport_security_state.cc base::TimeDelta max_age; base 639 net/http/transport_security_state.cc base::Time now = base::Time::Now(); base 640 net/http/transport_security_state.cc base::TimeDelta max_age; base 656 net/http/transport_security_state.cc const base::Time& expiry, base 669 net/http/transport_security_state.cc domain_state.sts_observed = base::Time::Now(); base 678 net/http/transport_security_state.cc const base::Time& expiry, base 692 net/http/transport_security_state.cc domain_state.pkp_observed = base::Time::Now(); base 762 net/http/transport_security_state.cc const base::Time build_time = base::GetBuildTime(); base 764 net/http/transport_security_state.cc return (base::Time::Now() - build_time).InDays() < 70 /* 10 weeks */; base 809 net/http/transport_security_state.cc base::Time current_time(base::Time::Now()); base 854 net/http/transport_security_state.cc base::Time now(base::Time::Now()); base 36 net/http/transport_security_state.h : NON_EXPORTED_BASE(public base::NonThreadSafe) { base 101 net/http/transport_security_state.h base::Time sts_observed; base 107 net/http/transport_security_state.h base::Time pkp_observed; base 111 net/http/transport_security_state.h base::Time upgrade_expiry; base 135 net/http/transport_security_state.h base::Time dynamic_spki_hashes_expiry; base 193 net/http/transport_security_state.h void DeleteAllDynamicDataSince(const base::Time& time); base 231 net/http/transport_security_state.h bool AddHSTS(const std::string& host, const base::Time& expiry, base 236 net/http/transport_security_state.h bool AddHPKP(const std::string& host, const base::Time& expiry, base 70 net/http/transport_security_state_unittest.cc const base::Time current_time(base::Time::Now()); base 71 net/http/transport_security_state_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 82 net/http/transport_security_state_unittest.cc const base::Time current_time(base::Time::Now()); base 83 net/http/transport_security_state_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 94 net/http/transport_security_state_unittest.cc const base::Time current_time(base::Time::Now()); base 95 net/http/transport_security_state_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 106 net/http/transport_security_state_unittest.cc const base::Time current_time(base::Time::Now()); base 107 net/http/transport_security_state_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 123 net/http/transport_security_state_unittest.cc const base::Time current_time(base::Time::Now()); base 124 net/http/transport_security_state_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 136 net/http/transport_security_state_unittest.cc const base::Time current_time(base::Time::Now()); base 137 net/http/transport_security_state_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 138 net/http/transport_security_state_unittest.cc const base::Time older = current_time - base::TimeDelta::FromSeconds(1000); base 153 net/http/transport_security_state_unittest.cc const base::Time current_time(base::Time::Now()); base 154 net/http/transport_security_state_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 621 net/http/transport_security_state_unittest.cc const base::Time current_time(base::Time::Now()); base 622 net/http/transport_security_state_unittest.cc const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); base 40 net/http/url_security_manager_win.cc base::win::ScopedComPtr<IInternetSecurityManager> security_manager_; base 56 net/http/url_security_manager_win.cc std::wstring url_w = base::ASCIIToWide(auth_origin.spec()); base 61 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 63 net/ocsp/nss_ocsp.cc io_loop_ = base::MessageLoopForIO::current(); base 71 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 77 net/ocsp/nss_ocsp.cc const base::Closure& task); base 88 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 89 net/ocsp/nss_ocsp.cc DCHECK(base::MessageLoopForIO::current()); base 102 net/ocsp/nss_ocsp.cc friend struct base::DefaultLazyInstanceTraits<OCSPIOLoop>; base 109 net/ocsp/nss_ocsp.cc mutable base::Lock lock_; base 114 net/ocsp/nss_ocsp.cc base::MessageLoopForIO* io_loop_; // Protected by |lock_|. base 115 net/ocsp/nss_ocsp.cc base::ThreadChecker thread_checker_; base 120 net/ocsp/nss_ocsp.cc base::LazyInstance<OCSPIOLoop>::Leaky base 161 net/ocsp/nss_ocsp.cc friend struct base::DefaultLazyInstanceTraits<OCSPNSSInitialization>; base 171 net/ocsp/nss_ocsp.cc base::LazyInstance<OCSPNSSInitialization> g_ocsp_nss_initialization = base 180 net/ocsp/nss_ocsp.cc : public base::RefCountedThreadSafe<OCSPRequestSession>, base 185 net/ocsp/nss_ocsp.cc base::TimeDelta timeout) base 216 net/ocsp/nss_ocsp.cc base::Bind(&OCSPRequestSession::StartURLRequest, this)); base 225 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 230 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 235 net/ocsp/nss_ocsp.cc base::TimeDelta timeout = timeout_; base 236 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 238 net/ocsp/nss_ocsp.cc base::TimeTicks last_time = base::TimeTicks::Now(); base 241 net/ocsp/nss_ocsp.cc base::TimeDelta elapsed_time = base::TimeTicks::Now() - last_time; base 243 net/ocsp/nss_ocsp.cc if (timeout < base::TimeDelta()) { base 261 net/ocsp/nss_ocsp.cc base::TimeDelta timeout() const { base 289 net/ocsp/nss_ocsp.cc DCHECK_EQ(base::MessageLoopForIO::current(), io_loop_); base 300 net/ocsp/nss_ocsp.cc DCHECK_EQ(base::MessageLoopForIO::current(), io_loop_); base 315 net/ocsp/nss_ocsp.cc DCHECK_EQ(base::MessageLoopForIO::current(), io_loop_); base 328 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 341 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 343 net/ocsp/nss_ocsp.cc DCHECK_EQ(base::MessageLoopForIO::current(), io_loop_); base 352 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 378 net/ocsp/nss_ocsp.cc base::Bind(&OCSPRequestSession::CancelURLRequest, this)); base 394 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 396 net/ocsp/nss_ocsp.cc io_loop_ = base::MessageLoopForIO::current(); base 428 net/ocsp/nss_ocsp.cc base::TimeDelta timeout_; // The timeout for OCSP base 443 net/ocsp/nss_ocsp.cc mutable base::Lock lock_; base 444 net/ocsp/nss_ocsp.cc base::ConditionVariable cv_; base 446 net/ocsp/nss_ocsp.cc base::MessageLoop* io_loop_; // Message loop of the IO thread base 471 net/ocsp/nss_ocsp.cc std::string url_string(base::StringPrintf( base 481 net/ocsp/nss_ocsp.cc base::TimeDelta actual_timeout = std::min( base 482 net/ocsp/nss_ocsp.cc base::TimeDelta::FromSeconds(kNetworkFetchTimeoutInSecs), base 483 net/ocsp/nss_ocsp.cc base::TimeDelta::FromMilliseconds(PR_IntervalToMilliseconds(timeout))); base 505 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 522 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 536 net/ocsp/nss_ocsp.cc const tracked_objects::Location& from_here, const base::Closure& task) { base 537 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 543 net/ocsp/nss_ocsp.cc base::AutoLock autolock(lock_); base 544 net/ocsp/nss_ocsp.cc DCHECK_EQ(base::MessageLoopForIO::current(), io_loop_); base 757 net/ocsp/nss_ocsp.cc const base::Time start_time = base::Time::Now(); base 764 net/ocsp/nss_ocsp.cc const base::TimeDelta duration = base::Time::Now() - start_time; base 948 net/ocsp/nss_ocsp.cc DCHECK(base::MessageLoopForIO::current()); base 81 net/ocsp/nss_ocsp_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 37 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc scoped_refptr<base::TaskRunner> task_runner) base 54 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc pac_script_ = base::string16(); base 63 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc base::Bind( base 67 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc base::Bind( base 108 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc base::string16 DhcpProxyScriptAdapterFetcher::GetPacScript() const { base 162 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc base::Bind(&DhcpProxyScriptAdapterFetcher::OnFetcherDone, base 163 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc base::Unretained(this))); base 210 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc base::TimeDelta DhcpProxyScriptAdapterFetcher::ImplGetTimeout() const { base 211 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc return base::TimeDelta::FromMilliseconds(kTimeoutMs); base 219 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc std::wstring adapter_name_wide = base::SysMultiByteToWide(adapter_name, base 236 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc scoped_ptr<BYTE, base::FreeDeleter> result_buffer; base 291 net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc base::TrimWhitespaceASCII(result, base::TRIM_TRAILING, &result); base 20 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h namespace base { base 32 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h : public base::SupportsWeakPtr<DhcpProxyScriptAdapterFetcher>, base 33 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 38 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h scoped_refptr<base::TaskRunner> task_runner); base 66 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h virtual base::string16 GetPacScript() const; base 120 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h : public base::RefCountedThreadSafe<DhcpQuery> { base 147 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h virtual base::TimeDelta ImplGetTimeout() const; base 157 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h scoped_refptr<base::TaskRunner> task_runner_; base 166 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h base::string16 pac_script_; base 179 net/proxy/dhcp_proxy_script_adapter_fetcher_win.h base::OneShotTimer<DhcpProxyScriptAdapterFetcher> wait_timer_; base 39 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc scoped_refptr<base::TaskRunner> task_runner) base 41 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc dhcp_delay_(base::TimeDelta::FromMilliseconds(1)), base 60 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(fetcher_delay_ms_), base 75 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::ElapsedTimer timer; base 80 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::WaitableEvent test_finished_event_; base 81 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::TimeDelta dhcp_delay_; base 93 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc virtual base::TimeDelta ImplGetTimeout() const OVERRIDE { base 123 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::TimeDelta dhcp_delay_; base 124 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::TimeDelta timeout_; base 130 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::OneShotTimer<MockDhcpProxyScriptAdapterFetcher> fetcher_timer_; base 139 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc new base::SequencedWorkerPool(4, "DhcpAdapterFetcherTest")), base 143 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN))) { base 160 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 165 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc scoped_refptr<base::SequencedWorkerPool> worker_pool_; base 167 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::string16 pac_text_; base 177 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc EXPECT_EQ(base::string16(L""), client.fetcher_->GetPacScript()); base 186 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc EXPECT_EQ(base::string16(L"bingo"), client.fetcher_->GetPacScript()); base 199 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc client.fetcher_->timeout_ = base::TimeDelta::FromMilliseconds(25); base 201 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::ElapsedTimer timer; base 209 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc EXPECT_EQ(base::string16(L""), client.fetcher_->GetPacScript()); base 218 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 222 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc EXPECT_EQ(base::string16(L""), client.fetcher_->GetPacScript()); base 235 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 236 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 239 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 243 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc EXPECT_EQ(base::string16(L""), client.fetcher_->GetPacScript()); base 258 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc EXPECT_EQ(base::string16(L"bingo"), client.fetcher_->GetPacScript()); base 269 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc scoped_refptr<base::TaskRunner> task_runner) base 288 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::FilePath( base 296 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc scoped_refptr<base::TaskRunner> runner = base 298 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 307 net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc EXPECT_EQ(base::string16(L"-downloadable.pac-\n"), base 24 net/proxy/dhcp_proxy_script_fetcher.cc base::string16* utf16_text, const CompletionCallback& callback) { base 59 net/proxy/dhcp_proxy_script_fetcher.h virtual int Fetch(base::string16* utf16_text, base 88 net/proxy/dhcp_proxy_script_fetcher.h virtual int Fetch(base::string16* utf16_text, base 67 net/proxy/dhcp_proxy_script_fetcher_win.cc worker_pool_ = new base::SequencedWorkerPool(kMaxDhcpLookupThreads, base 78 net/proxy/dhcp_proxy_script_fetcher_win.cc int DhcpProxyScriptFetcherWin::Fetch(base::string16* utf16_text, base 86 net/proxy/dhcp_proxy_script_fetcher_win.cc fetch_start_time_ = base::TimeTicks::Now(); base 95 net/proxy/dhcp_proxy_script_fetcher_win.cc base::Bind( base 98 net/proxy/dhcp_proxy_script_fetcher_win.cc base::Bind( base 113 net/proxy/dhcp_proxy_script_fetcher_win.cc base::TimeTicks::Now() - fetch_start_time_); base 169 net/proxy/dhcp_proxy_script_fetcher_win.cc *it, base::Bind(&DhcpProxyScriptFetcherWin::OnFetcherDone, base 170 net/proxy/dhcp_proxy_script_fetcher_win.cc base::Unretained(this))); base 276 net/proxy/dhcp_proxy_script_fetcher_win.cc base::TimeTicks::Now() - fetch_start_time_); base 295 net/proxy/dhcp_proxy_script_fetcher_win.cc scoped_refptr<base::TaskRunner> DhcpProxyScriptFetcherWin::GetTaskRunner() { base 297 net/proxy/dhcp_proxy_script_fetcher_win.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 311 net/proxy/dhcp_proxy_script_fetcher_win.cc base::TimeDelta DhcpProxyScriptFetcherWin::ImplGetMaxWait() { base 312 net/proxy/dhcp_proxy_script_fetcher_win.cc return base::TimeDelta::FromMilliseconds(kMaxWaitAfterFirstResultMs); base 323 net/proxy/dhcp_proxy_script_fetcher_win.cc scoped_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> adapters; base 327 net/proxy/dhcp_proxy_script_fetcher_win.cc base::ElapsedTimer time_api_access; base 351 net/proxy/dhcp_proxy_script_fetcher_win.cc base::CustomHistogram::ArrayToCustomRanges( base 19 net/proxy/dhcp_proxy_script_fetcher_win.h namespace base { base 31 net/proxy/dhcp_proxy_script_fetcher_win.h public base::SupportsWeakPtr<DhcpProxyScriptFetcherWin>, base 32 net/proxy/dhcp_proxy_script_fetcher_win.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 41 net/proxy/dhcp_proxy_script_fetcher_win.h int Fetch(base::string16* utf16_text, base 57 net/proxy/dhcp_proxy_script_fetcher_win.h scoped_refptr<base::TaskRunner> GetTaskRunner(); base 63 net/proxy/dhcp_proxy_script_fetcher_win.h : public base::RefCountedThreadSafe<AdapterQuery> { base 92 net/proxy/dhcp_proxy_script_fetcher_win.h virtual base::TimeDelta ImplGetMaxWait(); base 155 net/proxy/dhcp_proxy_script_fetcher_win.h base::string16* destination_string_; base 160 net/proxy/dhcp_proxy_script_fetcher_win.h base::OneShotTimer<DhcpProxyScriptFetcherWin> wait_timer_; base 168 net/proxy/dhcp_proxy_script_fetcher_win.h base::TimeTicks fetch_start_time_; base 171 net/proxy/dhcp_proxy_script_fetcher_win.h scoped_refptr<base::SequencedWorkerPool> worker_pool_; base 57 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromSeconds(5), this, &RealFetchTester::OnTimeout); base 63 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::Bind(&RealFetchTester::OnCompletion, base::Unretained(this))); base 77 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc cancel_timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(0), base 102 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 104 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 114 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(30)); base 120 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::string16 pac_text_; base 121 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::OneShotTimer<RealFetchTester> timeout_; base 122 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::OneShotTimer<RealFetchTester> cancel_timer_; base 148 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 161 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc scoped_refptr<base::TaskRunner> task_runner) base 173 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(20)); base 218 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc scoped_refptr<base::TaskRunner> runner) base 229 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(fetch_delay_ms_), base 245 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::string16 GetPacScript() const OVERRIDE { base 255 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::string16 pac_script, base 266 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::string16 pac_script_; base 269 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::OneShotTimer<DummyDhcpProxyScriptAdapterFetcher> timer_; base 317 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::string16 pac_script, base 318 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta fetch_delay) { base 337 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta ImplGetMaxWait() OVERRIDE { base 375 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta max_wait_; base 377 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::WaitableEvent worker_finished_event_; base 392 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::Bind(&FetcherClient::OnCompletion, base::Unretained(this))); base 398 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 400 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 406 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(10))) { base 407 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 423 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc scoped_refptr<base::TaskRunner> GetTaskRunner() { base 431 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::string16 pac_text_; base 457 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 459 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc "second", true, OK, L"bingo", base::TimeDelta::FromMilliseconds(50)); base 461 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc "third", true, OK, L"rocko", base::TimeDelta::FromMilliseconds(1)); base 477 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 483 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc "third", true, OK, L"rocko", base::TimeDelta::FromMilliseconds(1)); base 500 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 509 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 512 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 528 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 537 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 569 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 572 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 580 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::ElapsedTimer timer; base 641 net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc base::RandGenerator); base 29 net/proxy/dhcpcsvc_init_win.cc static base::LazyInstance<DhcpcsvcInitSingleton> g_dhcpcsvc_init_singleton = base 21 net/proxy/mock_proxy_resolver.cc origin_loop_(base::MessageLoop::current()) {} base 41 net/proxy/mock_proxy_resolver.cc origin_loop_(base::MessageLoop::current()) {} base 15 net/proxy/mock_proxy_resolver.h namespace base { base 25 net/proxy/mock_proxy_resolver.h class Request : public base::RefCounted<Request> { base 39 net/proxy/mock_proxy_resolver.h friend class base::RefCounted<Request>; base 47 net/proxy/mock_proxy_resolver.h base::MessageLoop* origin_loop_; base 68 net/proxy/mock_proxy_resolver.h base::MessageLoop* origin_loop_; base 23 net/proxy/mock_proxy_script_fetcher.cc int MockProxyScriptFetcher::Fetch(const GURL& url, base::string16* text, base 33 net/proxy/mock_proxy_script_fetcher.cc base::MessageLoop::current()->Quit(); base 41 net/proxy/mock_proxy_script_fetcher.cc *pending_request_text_ = base::ASCIIToUTF16(ascii_text); base 65 net/proxy/mock_proxy_script_fetcher.cc base::MessageLoop::current()->Run(); base 27 net/proxy/mock_proxy_script_fetcher.h base::string16* text, base 42 net/proxy/mock_proxy_script_fetcher.h base::string16* pending_request_text_; base 29 net/proxy/multi_threaded_proxy_resolver.cc : public base::RefCountedThreadSafe<MultiThreadedProxyResolver::Executor > { base 75 net/proxy/multi_threaded_proxy_resolver.cc scoped_ptr<base::Thread> thread_; base 81 net/proxy/multi_threaded_proxy_resolver.cc : public base::RefCountedThreadSafe<MultiThreadedProxyResolver::Job> { base 136 net/proxy/multi_threaded_proxy_resolver.cc virtual void Run(scoped_refptr<base::MessageLoopProxy> origin_loop) = 0; base 179 net/proxy/multi_threaded_proxy_resolver.cc virtual void Run(scoped_refptr<base::MessageLoopProxy> origin_loop) OVERRIDE { base 186 net/proxy/multi_threaded_proxy_resolver.cc base::Bind(&SetPacScriptJob::RequestComplete, this, rv)); base 222 net/proxy/multi_threaded_proxy_resolver.cc start_time_ = base::TimeTicks::Now(); base 235 net/proxy/multi_threaded_proxy_resolver.cc submitted_to_thread_time_ = base::TimeTicks::Now(); base 247 net/proxy/multi_threaded_proxy_resolver.cc virtual void Run(scoped_refptr<base::MessageLoopProxy> origin_loop) OVERRIDE { base 255 net/proxy/multi_threaded_proxy_resolver.cc base::Bind(&GetProxyForURLJob::QueryComplete, this, rv)); base 278 net/proxy/multi_threaded_proxy_resolver.cc base::TimeTicks now = base::TimeTicks::Now(); base 299 net/proxy/multi_threaded_proxy_resolver.cc base::TimeTicks start_time_; base 300 net/proxy/multi_threaded_proxy_resolver.cc base::TimeTicks submitted_to_thread_time_; base 320 net/proxy/multi_threaded_proxy_resolver.cc base::StringPrintf("PAC thread #%d", thread_number); base 321 net/proxy/multi_threaded_proxy_resolver.cc thread_.reset(new base::Thread(thread_name.c_str())); base 335 net/proxy/multi_threaded_proxy_resolver.cc base::Bind(&Job::Run, job, base::MessageLoopProxy::current())); base 349 net/proxy/multi_threaded_proxy_resolver.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 18 net/proxy/multi_threaded_proxy_resolver.h namespace base { base 76 net/proxy/multi_threaded_proxy_resolver.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 22 net/proxy/multi_threaded_proxy_resolver_unittest.cc using base::ASCIIToUTF16; base 35 net/proxy/multi_threaded_proxy_resolver_unittest.cc wrong_loop_(base::MessageLoop::current()), base 44 net/proxy/multi_threaded_proxy_resolver_unittest.cc if (resolve_latency_ != base::TimeDelta()) base 45 net/proxy/multi_threaded_proxy_resolver_unittest.cc base::PlatformThread::Sleep(resolve_latency_); base 88 net/proxy/multi_threaded_proxy_resolver_unittest.cc void SetResolveLatency(base::TimeDelta latency) { base 98 net/proxy/multi_threaded_proxy_resolver_unittest.cc EXPECT_NE(base::MessageLoop::current(), wrong_loop_); base 101 net/proxy/multi_threaded_proxy_resolver_unittest.cc base::MessageLoop* wrong_loop_; base 104 net/proxy/multi_threaded_proxy_resolver_unittest.cc base::TimeDelta resolve_latency_; base 152 net/proxy/multi_threaded_proxy_resolver_unittest.cc base::WaitableEvent unblocked_; base 153 net/proxy/multi_threaded_proxy_resolver_unittest.cc base::WaitableEvent blocked_; base 533 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->SetResolveLatency(base::TimeDelta::FromMilliseconds(100)); base 541 net/proxy/multi_threaded_proxy_resolver_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 625 net/proxy/multi_threaded_proxy_resolver_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 633 net/proxy/multi_threaded_proxy_resolver_unittest.cc GURL(base::StringPrintf("http://request%d", i)), &results[i], base 739 net/proxy/multi_threaded_proxy_resolver_unittest.cc GURL(base::StringPrintf("http://request%d", i)), base 18 net/proxy/network_delegate_error_observer.cc : public base::RefCountedThreadSafe<NetworkDelegateErrorObserver::Core> { base 20 net/proxy/network_delegate_error_observer.cc Core(NetworkDelegate* network_delegate, base::MessageLoopProxy* origin_loop); base 22 net/proxy/network_delegate_error_observer.cc void NotifyPACScriptError(int line_number, const base::string16& error); base 32 net/proxy/network_delegate_error_observer.cc scoped_refptr<base::MessageLoopProxy> origin_loop_; base 38 net/proxy/network_delegate_error_observer.cc base::MessageLoopProxy* origin_loop) base 49 net/proxy/network_delegate_error_observer.cc const base::string16& error) { base 53 net/proxy/network_delegate_error_observer.cc base::Bind(&Core::NotifyPACScriptError, this, line_number, error)); base 69 net/proxy/network_delegate_error_observer.cc base::MessageLoopProxy* origin_loop) base 78 net/proxy/network_delegate_error_observer.cc const base::string16& error) { base 12 net/proxy/network_delegate_error_observer.h namespace base { base 26 net/proxy/network_delegate_error_observer.h base::MessageLoopProxy* origin_loop); base 30 net/proxy/network_delegate_error_observer.h virtual void OnPACScriptError(int line_number, const base::string16& error) base 57 net/proxy/network_delegate_error_observer_unittest.cc const base::string16& error) OVERRIDE { base 77 net/proxy/network_delegate_error_observer_unittest.cc const base::FilePath& path) const OVERRIDE { base 97 net/proxy/network_delegate_error_observer_unittest.cc base::Thread thread("test_thread"); base 101 net/proxy/network_delegate_error_observer_unittest.cc &network_delegate, base::MessageLoopProxy::current().get()); base 104 net/proxy/network_delegate_error_observer_unittest.cc base::Bind(&NetworkDelegateErrorObserver::OnPACScriptError, base 105 net/proxy/network_delegate_error_observer_unittest.cc base::Unretained(&observer), base 107 net/proxy/network_delegate_error_observer_unittest.cc base::string16())); base 109 net/proxy/network_delegate_error_observer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 115 net/proxy/network_delegate_error_observer_unittest.cc base::Thread thread("test_thread"); base 118 net/proxy/network_delegate_error_observer_unittest.cc NULL, base::MessageLoopProxy::current().get()); base 121 net/proxy/network_delegate_error_observer_unittest.cc base::Bind(&NetworkDelegateErrorObserver::OnPACScriptError, base 122 net/proxy/network_delegate_error_observer_unittest.cc base::Unretained(&observer), base 124 net/proxy/network_delegate_error_observer_unittest.cc base::string16())); base 126 net/proxy/network_delegate_error_observer_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 22 net/proxy/polling_proxy_config_service.cc : public base::RefCountedThreadSafe<PollingProxyConfigService::Core> { base 24 net/proxy/polling_proxy_config_service.cc Core(base::TimeDelta poll_interval, base 37 net/proxy/polling_proxy_config_service.cc base::AutoLock l(lock_); base 73 net/proxy/polling_proxy_config_service.cc (base::TimeTicks::Now() - last_poll_time_) > poll_interval_) { base 90 net/proxy/polling_proxy_config_service.cc last_poll_time_ = base::TimeTicks::Now(); base 93 net/proxy/polling_proxy_config_service.cc base::WorkerPool::PostTask( base 95 net/proxy/polling_proxy_config_service.cc base::Bind(&Core::PollOnWorkerThread, this, get_config_func_), base 107 net/proxy/polling_proxy_config_service.cc base::AutoLock l(lock_); base 110 net/proxy/polling_proxy_config_service.cc FROM_HERE, base::Bind(&Core::GetConfigCompleted, this, config)); base 143 net/proxy/polling_proxy_config_service.cc origin_loop_proxy_ = base::MessageLoopProxy::current(); base 151 net/proxy/polling_proxy_config_service.cc base::TimeTicks last_poll_time_; base 152 net/proxy/polling_proxy_config_service.cc base::TimeDelta poll_interval_; base 154 net/proxy/polling_proxy_config_service.cc base::Lock lock_; base 155 net/proxy/polling_proxy_config_service.cc scoped_refptr<base::MessageLoopProxy> origin_loop_proxy_; base 181 net/proxy/polling_proxy_config_service.cc base::TimeDelta poll_interval, base 38 net/proxy/polling_proxy_config_service.h base::TimeDelta poll_interval, base 44 net/proxy/proxy_bypass_rules.cc base::StringAppendF(&str, "%s://", optional_scheme_.c_str()); base 47 net/proxy/proxy_bypass_rules.cc base::StringAppendF(&str, ":%d", optional_port_); base 254 net/proxy/proxy_bypass_rules.cc base::StringTokenizer entries(raw, ",;"); base 265 net/proxy/proxy_bypass_rules.cc base::TrimWhitespaceASCII(raw_untrimmed, base::TRIM_ALL, &raw); base 319 net/proxy/proxy_bypass_rules.cc if (!base::StringToInt(base::StringPiece(raw.begin() + pos_colon + 1, base 279 net/proxy/proxy_bypass_rules_unittest.cc SCOPED_TRACE(base::StringPrintf( base 20 net/proxy/proxy_config.cc base::DictionaryValue* dict) { base 29 net/proxy/proxy_config.cc base::StringTokenizer proxy_uri_list(uri_list, ","); base 93 net/proxy/proxy_config.cc base::StringTokenizer proxy_server_list(proxy_rules, ";"); base 95 net/proxy/proxy_config.cc base::StringTokenizer proxy_server_for_scheme( base 115 net/proxy/proxy_config.cc base::TrimWhitespaceASCII(url_scheme, base::TRIM_ALL, &url_scheme); base 221 net/proxy/proxy_config.cc base::DictionaryValue* ProxyConfig::ToValue() const { base 222 net/proxy/proxy_config.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 241 net/proxy/proxy_config.cc base::DictionaryValue* dict2 = new base::DictionaryValue(); base 259 net/proxy/proxy_config.cc base::ListValue* list = new base::ListValue(); base 264 net/proxy/proxy_config.cc list->Append(new base::StringValue((*it)->ToString())); base 17 net/proxy/proxy_config.h namespace base { base 173 net/proxy/proxy_config.h base::DictionaryValue* ToValue() const; base 27 net/proxy/proxy_config_service_android.cc using base::android::AttachCurrentThread; base 28 net/proxy/proxy_config_service_android.cc using base::android::ConvertUTF8ToJavaString; base 29 net/proxy/proxy_config_service_android.cc using base::android::ConvertJavaStringToUTF8; base 30 net/proxy/proxy_config_service_android.cc using base::android::CheckException; base 31 net/proxy/proxy_config_service_android.cc using base::android::ClearException; base 32 net/proxy/proxy_config_service_android.cc using base::android::ScopedJavaGlobalRef; base 105 net/proxy/proxy_config_service_android.cc base::StringTokenizer tokenizer(non_proxy_hosts, "|"); base 109 net/proxy/proxy_config_service_android.cc base::TrimWhitespaceASCII(token, base::TRIM_ALL, &pattern); base 166 net/proxy/proxy_config_service_android.cc std::string rules = base::StringPrintf("%s:%d", host.c_str(), port); base 176 net/proxy/proxy_config_service_android.cc : public base::RefCountedThreadSafe<Delegate> { base 178 net/proxy/proxy_config_service_android.cc Delegate(base::SequencedTaskRunner* network_task_runner, base 179 net/proxy/proxy_config_service_android.cc base::SequencedTaskRunner* jni_task_runner, base 193 net/proxy/proxy_config_service_android.cc env, base::android::GetApplicationContext())); base 208 net/proxy/proxy_config_service_android.cc base::Bind(&Delegate::SetNewConfigOnNetworkThread, this, proxy_config)); base 217 net/proxy/proxy_config_service_android.cc base::Bind(&Delegate::ShutdownOnJNIThread, this)); base 247 net/proxy/proxy_config_service_android.cc base::Bind( base 258 net/proxy/proxy_config_service_android.cc base::Bind( base 314 net/proxy/proxy_config_service_android.cc scoped_refptr<base::SequencedTaskRunner> network_task_runner_; base 315 net/proxy/proxy_config_service_android.cc scoped_refptr<base::SequencedTaskRunner> jni_task_runner_; base 323 net/proxy/proxy_config_service_android.cc base::SequencedTaskRunner* network_task_runner, base 324 net/proxy/proxy_config_service_android.cc base::SequencedTaskRunner* jni_task_runner) base 326 net/proxy/proxy_config_service_android.cc network_task_runner, jni_task_runner, base::Bind(&GetJavaProperty))) { base 354 net/proxy/proxy_config_service_android.cc base::SequencedTaskRunner* network_task_runner, base 355 net/proxy/proxy_config_service_android.cc base::SequencedTaskRunner* jni_task_runner, base 18 net/proxy/proxy_config_service_android.h namespace base { base 32 net/proxy/proxy_config_service_android.h typedef base::Callback<std::string (const std::string& property)> base 51 net/proxy/proxy_config_service_android.h ProxyConfigServiceAndroid(base::SequencedTaskRunner* network_task_runner, base 52 net/proxy/proxy_config_service_android.h base::SequencedTaskRunner* jni_task_runner); base 70 net/proxy/proxy_config_service_android.h ProxyConfigServiceAndroid(base::SequencedTaskRunner* network_task_runner, base 71 net/proxy/proxy_config_service_android.h base::SequencedTaskRunner* jni_task_runner, base 56 net/proxy/proxy_config_service_android_unittest.cc message_loop_(base::MessageLoop::current()), base 59 net/proxy/proxy_config_service_android_unittest.cc base::Bind(&ProxyConfigServiceAndroidTestBase::GetProperty, base 60 net/proxy/proxy_config_service_android_unittest.cc base::Unretained(this))) {} base 106 net/proxy/proxy_config_service_android_unittest.cc base::MessageLoop* const message_loop_; base 28 net/proxy/proxy_config_service_ios.cc base::mac::GetValueFromDictionary<CFNumberRef>(dict, key); base 40 net/proxy/proxy_config_service_ios.cc base::ScopedCFTypeRef<CFDictionaryRef> config_dict( base 52 net/proxy/proxy_config_service_ios.cc CFStringRef pac_url_ref = base::mac::GetValueFromDictionary<CFStringRef>( base 55 net/proxy/proxy_config_service_ios.cc config->set_pac_url(GURL(base::SysCFStringRefToUTF8(pac_url_ref))); base 102 net/proxy/proxy_config_service_ios.cc : PollingProxyConfigService(base::TimeDelta::FromSeconds(kPollIntervalSec), base 234 net/proxy/proxy_config_service_linux.cc virtual bool Init(base::SingleThreadTaskRunner* glib_thread_task_runner, base 235 net/proxy/proxy_config_service_linux.cc base::MessageLoopForIO* file_loop) OVERRIDE { base 320 net/proxy/proxy_config_service_linux.cc virtual base::SingleThreadTaskRunner* GetNotificationTaskRunner() OVERRIDE { base 479 net/proxy/proxy_config_service_linux.cc base::TimeDelta::FromMilliseconds(kDebounceTimeoutMilliseconds), base 501 net/proxy/proxy_config_service_linux.cc base::OneShotTimer<SettingGetterImplGConf> debounce_timer_; base 506 net/proxy/proxy_config_service_linux.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 560 net/proxy/proxy_config_service_linux.cc bool LoadAndCheckVersion(base::Environment* env); base 562 net/proxy/proxy_config_service_linux.cc virtual bool Init(base::SingleThreadTaskRunner* glib_thread_task_runner, base 563 net/proxy/proxy_config_service_linux.cc base::MessageLoopForIO* file_loop) OVERRIDE { base 622 net/proxy/proxy_config_service_linux.cc virtual base::SingleThreadTaskRunner* GetNotificationTaskRunner() OVERRIDE { base 748 net/proxy/proxy_config_service_linux.cc base::TimeDelta::FromMilliseconds(kDebounceTimeoutMilliseconds), base 768 net/proxy/proxy_config_service_linux.cc base::OneShotTimer<SettingGetterImplGSettings> debounce_timer_; base 773 net/proxy/proxy_config_service_linux.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 781 net/proxy/proxy_config_service_linux.cc base::Environment* env) { base 799 net/proxy/proxy_config_service_linux.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 825 net/proxy/proxy_config_service_linux.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 829 net/proxy/proxy_config_service_linux.cc base::FilePath file(paths[i]); base 830 net/proxy/proxy_config_service_linux.cc if (base::PathExists(file.Append("gnome-network-properties"))) { base 846 net/proxy/proxy_config_service_linux.cc public base::MessagePumpLibevent::Watcher { base 848 net/proxy/proxy_config_service_linux.cc explicit SettingGetterImplKDE(base::Environment* env_var_getter) base 853 net/proxy/proxy_config_service_linux.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 859 net/proxy/proxy_config_service_linux.cc kde_config_dir_ = KDEHomeToConfigPath(base::FilePath(home)); base 863 net/proxy/proxy_config_service_linux.cc if (!env_var_getter->GetVar(base::env_vars::kHome, &home)) base 866 net/proxy/proxy_config_service_linux.cc if (base::nix::GetDesktopEnvironment(env_var_getter) == base 867 net/proxy/proxy_config_service_linux.cc base::nix::DESKTOP_ENVIRONMENT_KDE3) { base 869 net/proxy/proxy_config_service_linux.cc base::FilePath kde_path = base::FilePath(home).Append(".kde"); base 882 net/proxy/proxy_config_service_linux.cc base::FilePath kde3_path = base::FilePath(home).Append(".kde"); base 883 net/proxy/proxy_config_service_linux.cc base::FilePath kde3_config = KDEHomeToConfigPath(kde3_path); base 884 net/proxy/proxy_config_service_linux.cc base::FilePath kde4_path = base::FilePath(home).Append(".kde4"); base 885 net/proxy/proxy_config_service_linux.cc base::FilePath kde4_config = KDEHomeToConfigPath(kde4_path); base 887 net/proxy/proxy_config_service_linux.cc if (base::DirectoryExists(kde4_path)) { base 888 net/proxy/proxy_config_service_linux.cc base::File::Info kde3_info; base 889 net/proxy/proxy_config_service_linux.cc base::File::Info kde4_info; base 890 net/proxy/proxy_config_service_linux.cc if (base::GetFileInfo(kde4_config, &kde4_info)) { base 891 net/proxy/proxy_config_service_linux.cc if (base::GetFileInfo(kde3_config, &kde3_info)) { base 920 net/proxy/proxy_config_service_linux.cc virtual bool Init(base::SingleThreadTaskRunner* glib_thread_task_runner, base 921 net/proxy/proxy_config_service_linux.cc base::MessageLoopForIO* file_loop) OVERRIDE { base 923 net/proxy/proxy_config_service_linux.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 956 net/proxy/proxy_config_service_linux.cc DCHECK(base::MessageLoop::current() == file_loop_); base 968 net/proxy/proxy_config_service_linux.cc base::MessageLoopForIO::WATCH_READ, base 977 net/proxy/proxy_config_service_linux.cc virtual base::SingleThreadTaskRunner* GetNotificationTaskRunner() OVERRIDE { base 984 net/proxy/proxy_config_service_linux.cc DCHECK(base::MessageLoop::current() == file_loop_); base 1036 net/proxy/proxy_config_service_linux.cc base::FilePath KDEHomeToConfigPath(const base::FilePath& kde_home) { base 1061 net/proxy/proxy_config_service_linux.cc base::StringTokenizer tk(value, ", "); base 1076 net/proxy/proxy_config_service_linux.cc base::StringToInt(value, &int_value); base 1114 net/proxy/proxy_config_service_linux.cc base::StringToInt(value, &int_value); base 1121 net/proxy/proxy_config_service_linux.cc base::StringToInt(value, &mode); base 1174 net/proxy/proxy_config_service_linux.cc base::FilePath kioslaverc = kde_config_dir_.Append("kioslaverc"); base 1175 net/proxy/proxy_config_service_linux.cc base::ScopedFILE input(base::OpenFile(kioslaverc, "r")); base 1219 net/proxy/proxy_config_service_linux.cc base::TrimWhitespaceASCII(key, base::TRIM_ALL, &key); base 1220 net/proxy/proxy_config_service_linux.cc base::TrimWhitespaceASCII(value, base::TRIM_ALL, &value); base 1234 net/proxy/proxy_config_service_linux.cc base::TrimWhitespaceASCII(key, base::TRIM_TRAILING, &key); base 1250 net/proxy/proxy_config_service_linux.cc DCHECK(base::MessageLoop::current() == file_loop_); base 1263 net/proxy/proxy_config_service_linux.cc DCHECK(base::MessageLoop::current() == file_loop_); base 1306 net/proxy/proxy_config_service_linux.cc debounce_timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds( base 1317 net/proxy/proxy_config_service_linux.cc base::MessagePumpLibevent::FileDescriptorWatcher inotify_watcher_; base 1319 net/proxy/proxy_config_service_linux.cc base::OneShotTimer<SettingGetterImplKDE> debounce_timer_; base 1320 net/proxy/proxy_config_service_linux.cc base::FilePath kde_config_dir_; base 1327 net/proxy/proxy_config_service_linux.cc base::Environment* env_var_getter_; base 1336 net/proxy/proxy_config_service_linux.cc base::MessageLoopForIO* file_loop_; base 1358 net/proxy/proxy_config_service_linux.cc host += ":" + base::IntToString(port); base 1515 net/proxy/proxy_config_service_linux.cc ProxyConfigServiceLinux::Delegate::Delegate(base::Environment* env_var_getter) base 1518 net/proxy/proxy_config_service_linux.cc switch (base::nix::GetDesktopEnvironment(env_var_getter)) { base 1519 net/proxy/proxy_config_service_linux.cc case base::nix::DESKTOP_ENVIRONMENT_GNOME: base 1520 net/proxy/proxy_config_service_linux.cc case base::nix::DESKTOP_ENVIRONMENT_UNITY: base 1537 net/proxy/proxy_config_service_linux.cc case base::nix::DESKTOP_ENVIRONMENT_KDE3: base 1538 net/proxy/proxy_config_service_linux.cc case base::nix::DESKTOP_ENVIRONMENT_KDE4: base 1541 net/proxy/proxy_config_service_linux.cc case base::nix::DESKTOP_ENVIRONMENT_XFCE: base 1542 net/proxy/proxy_config_service_linux.cc case base::nix::DESKTOP_ENVIRONMENT_OTHER: base 1548 net/proxy/proxy_config_service_linux.cc base::Environment* env_var_getter, SettingGetter* setting_getter) base 1553 net/proxy/proxy_config_service_linux.cc base::SingleThreadTaskRunner* glib_thread_task_runner, base 1554 net/proxy/proxy_config_service_linux.cc base::SingleThreadTaskRunner* io_thread_task_runner, base 1555 net/proxy/proxy_config_service_linux.cc base::MessageLoopForIO* file_loop) { base 1609 net/proxy/proxy_config_service_linux.cc scoped_refptr<base::SingleThreadTaskRunner> required_loop = base 1616 net/proxy/proxy_config_service_linux.cc required_loop->PostTask(FROM_HERE, base::Bind( base 1638 net/proxy/proxy_config_service_linux.cc scoped_refptr<base::SingleThreadTaskRunner> required_loop = base 1680 net/proxy/proxy_config_service_linux.cc scoped_refptr<base::SingleThreadTaskRunner> required_loop = base 1693 net/proxy/proxy_config_service_linux.cc io_thread_task_runner_->PostTask(FROM_HERE, base::Bind( base 1716 net/proxy/proxy_config_service_linux.cc scoped_refptr<base::SingleThreadTaskRunner> shutdown_loop = base 1725 net/proxy/proxy_config_service_linux.cc shutdown_loop->PostTask(FROM_HERE, base::Bind( base 1730 net/proxy/proxy_config_service_linux.cc scoped_refptr<base::SingleThreadTaskRunner> shutdown_loop = base 1737 net/proxy/proxy_config_service_linux.cc : delegate_(new Delegate(base::Environment::Create())) { base 1745 net/proxy/proxy_config_service_linux.cc base::Environment* env_var_getter) base 1750 net/proxy/proxy_config_service_linux.cc base::Environment* env_var_getter, SettingGetter* setting_getter) base 22 net/proxy/proxy_config_service_linux.h namespace base { base 53 net/proxy/proxy_config_service_linux.h virtual bool Init(base::SingleThreadTaskRunner* glib_thread_task_runner, base 54 net/proxy/proxy_config_service_linux.h base::MessageLoopForIO* file_loop) = 0; base 67 net/proxy/proxy_config_service_linux.h virtual base::SingleThreadTaskRunner* GetNotificationTaskRunner() = 0; base 165 net/proxy/proxy_config_service_linux.h class Delegate : public base::RefCountedThreadSafe<Delegate> { base 169 net/proxy/proxy_config_service_linux.h explicit Delegate(base::Environment* env_var_getter); base 172 net/proxy/proxy_config_service_linux.h Delegate(base::Environment* env_var_getter, SettingGetter* setting_getter); base 183 net/proxy/proxy_config_service_linux.h base::SingleThreadTaskRunner* glib_thread_task_runner, base 184 net/proxy/proxy_config_service_linux.h base::SingleThreadTaskRunner* io_thread_task_runner, base 185 net/proxy/proxy_config_service_linux.h base::MessageLoopForIO* file_loop); base 208 net/proxy/proxy_config_service_linux.h friend class base::RefCountedThreadSafe<Delegate>; base 240 net/proxy/proxy_config_service_linux.h scoped_ptr<base::Environment> env_var_getter_; base 262 net/proxy/proxy_config_service_linux.h scoped_refptr<base::SingleThreadTaskRunner> glib_thread_task_runner_; base 265 net/proxy/proxy_config_service_linux.h scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_; base 277 net/proxy/proxy_config_service_linux.h explicit ProxyConfigServiceLinux(base::Environment* env_var_getter); base 278 net/proxy/proxy_config_service_linux.h ProxyConfigServiceLinux(base::Environment* env_var_getter, base 284 net/proxy/proxy_config_service_linux.h base::SingleThreadTaskRunner* glib_thread_task_runner, base 285 net/proxy/proxy_config_service_linux.h base::SingleThreadTaskRunner* io_thread_task_runner, base 286 net/proxy/proxy_config_service_linux.h base::MessageLoopForIO* file_loop) { base 83 net/proxy/proxy_config_service_linux_unittest.cc class MockEnvironment : public base::Environment { base 178 net/proxy/proxy_config_service_linux_unittest.cc virtual bool Init(base::SingleThreadTaskRunner* glib_thread_task_runner, base 179 net/proxy/proxy_config_service_linux_unittest.cc base::MessageLoopForIO* file_loop) OVERRIDE { base 190 net/proxy/proxy_config_service_linux_unittest.cc virtual base::SingleThreadTaskRunner* GetNotificationTaskRunner() OVERRIDE { base 267 net/proxy/proxy_config_service_linux_unittest.cc base::Thread::Options options; base 268 net/proxy/proxy_config_service_linux_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 273 net/proxy/proxy_config_service_linux_unittest.cc base::Bind(&SynchConfigGetter::Init, base::Unretained(this))); base 283 net/proxy/proxy_config_service_linux_unittest.cc base::Bind(&SynchConfigGetter::CleanUp, base::Unretained(this))); base 291 net/proxy/proxy_config_service_linux_unittest.cc base::MessageLoop* file_loop = io_thread_.message_loop(); base 292 net/proxy/proxy_config_service_linux_unittest.cc DCHECK_EQ(base::MessageLoop::TYPE_IO, file_loop->type()); base 295 net/proxy/proxy_config_service_linux_unittest.cc base::MessageLoopProxy::current().get(), base 297 net/proxy/proxy_config_service_linux_unittest.cc static_cast<base::MessageLoopForIO*>(file_loop)); base 303 net/proxy/proxy_config_service_linux_unittest.cc base::Bind(&SynchConfigGetter::GetLatestConfigOnIOThread, base 304 net/proxy/proxy_config_service_linux_unittest.cc base::Unretained(this))); base 326 net/proxy/proxy_config_service_linux_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 335 net/proxy/proxy_config_service_linux_unittest.cc base::WaitableEvent event_; base 336 net/proxy/proxy_config_service_linux_unittest.cc base::Thread io_thread_; base 359 net/proxy/proxy_config_service_linux_unittest.cc base::CreateNewTempDirectory(prefix, &user_home_); base 361 net/proxy/proxy_config_service_linux_unittest.cc base::FilePath path = kde_home_.Append(FILE_PATH_LITERAL("share")); base 363 net/proxy/proxy_config_service_linux_unittest.cc base::CreateDirectory(path); base 374 net/proxy/proxy_config_service_linux_unittest.cc base::DeleteFile(user_home_, true); base 378 net/proxy/proxy_config_service_linux_unittest.cc base::FilePath user_home_; base 380 net/proxy/proxy_config_service_linux_unittest.cc base::FilePath kde_home_; base 381 net/proxy/proxy_config_service_linux_unittest.cc base::FilePath kioslaverc_; base 383 net/proxy/proxy_config_service_linux_unittest.cc base::FilePath kde4_home_; base 384 net/proxy/proxy_config_service_linux_unittest.cc base::FilePath kde4_config_; base 385 net/proxy/proxy_config_service_linux_unittest.cc base::FilePath kioslaverc4_; base 389 net/proxy/proxy_config_service_linux_unittest.cc #define TEST_DESC(desc) base::StringPrintf("at line %d <%s>", __LINE__, desc) base 682 net/proxy/proxy_config_service_linux_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "] %s", i, base 990 net/proxy/proxy_config_service_linux_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "] %s", i, base 1494 net/proxy/proxy_config_service_linux_unittest.cc SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "] %s", i, base 1505 net/proxy/proxy_config_service_linux_unittest.cc base::WriteFile(kioslaverc_, tests[i].kioslaverc.c_str(), base 1529 net/proxy/proxy_config_service_linux_unittest.cc base::WriteFile(kioslaverc_, slaverc3.c_str(), slaverc3.length()); base 1533 net/proxy/proxy_config_service_linux_unittest.cc CHECK(!base::DirectoryExists(kde4_home_)); base 1551 net/proxy/proxy_config_service_linux_unittest.cc base::CreateDirectory(kde4_config_); base 1552 net/proxy/proxy_config_service_linux_unittest.cc base::WriteFile(kioslaverc4_, slaverc4.c_str(), slaverc4.length()); base 1553 net/proxy/proxy_config_service_linux_unittest.cc CHECK(base::PathExists(kioslaverc4_)); base 1600 net/proxy/proxy_config_service_linux_unittest.cc base::TouchFile(kde4_config_, base::Time(), base::Time()); base 30 net/proxy/proxy_config_service_mac.cc CFNumberRef number = base::mac::GetValueFromDictionary<CFNumberRef>(dict, base 43 net/proxy/proxy_config_service_mac.cc base::ScopedCFTypeRef<CFDictionaryRef> config_dict( base 62 net/proxy/proxy_config_service_mac.cc CFStringRef pac_url_ref = base::mac::GetValueFromDictionary<CFStringRef>( base 65 net/proxy/proxy_config_service_mac.cc config->set_pac_url(GURL(base::SysCFStringRefToUTF8(pac_url_ref))); base 130 net/proxy/proxy_config_service_mac.cc CFArrayRef bypass_array_ref = base::mac::GetValueFromDictionary<CFArrayRef>( base 135 net/proxy/proxy_config_service_mac.cc CFStringRef bypass_item_ref = base::mac::CFCast<CFStringRef>( base 144 net/proxy/proxy_config_service_mac.cc base::SysCFStringRefToUTF8(bypass_item_ref)); base 167 net/proxy/proxy_config_service_mac.cc : public base::RefCountedThreadSafe<ProxyConfigServiceMac::Helper> { base 201 net/proxy/proxy_config_service_mac.cc base::SingleThreadTaskRunner* io_thread_task_runner) base 268 net/proxy/proxy_config_service_mac.cc base::Bind(&Helper::OnProxyConfigChanged, helper_.get(), new_config)); base 17 net/proxy/proxy_config_service_mac.h namespace base { base 32 net/proxy/proxy_config_service_mac.h base::SingleThreadTaskRunner* io_thread_task_runner); base 81 net/proxy/proxy_config_service_mac.h const scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_; base 43 net/proxy/proxy_config_service_win.cc bool StartWatching(base::win::ObjectWatcher::Delegate* delegate) { base 66 net/proxy/proxy_config_service_win.cc base::win::RegKey key_; base 67 net/proxy/proxy_config_service_win.cc base::win::ObjectWatcher watcher_; base 72 net/proxy/proxy_config_service_win.cc base::TimeDelta::FromSeconds(kPollIntervalSec), base 79 net/proxy/proxy_config_service_win.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 97 net/proxy/proxy_config_service_win.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 180 net/proxy/proxy_config_service_win.cc base::UTF16ToASCII(ie_config.lpszProxy)); base 183 net/proxy/proxy_config_service_win.cc std::string proxy_bypass = base::UTF16ToASCII(ie_config.lpszProxyBypass); base 185 net/proxy/proxy_config_service_win.cc base::StringTokenizer proxy_server_bypass_list(proxy_bypass, ";, \t\n\r"); base 44 net/proxy/proxy_config_service_win.h public base::win::ObjectWatcher::Delegate { base 80 net/proxy/proxy_info.cc proxy_resolve_start_time_ = base::TimeTicks(); base 81 net/proxy/proxy_info.cc proxy_resolve_end_time_ = base::TimeTicks(); base 131 net/proxy/proxy_info.h base::TimeTicks proxy_resolve_start_time() const { base 135 net/proxy/proxy_info.h base::TimeTicks proxy_resolve_end_time() const { base 170 net/proxy/proxy_info.h base::TimeTicks proxy_resolve_start_time_; base 171 net/proxy/proxy_info.h base::TimeTicks proxy_resolve_end_time_; base 15 net/proxy/proxy_list.cc using base::TimeDelta; base 16 net/proxy/proxy_list.cc using base::TimeTicks; base 28 net/proxy/proxy_list.cc base::StringTokenizer str_tok(proxy_uri_list, ";"); base 114 net/proxy/proxy_list.cc base::StringTokenizer entry_tok(pac_string, ";"); base 142 net/proxy/proxy_list.cc base::ListValue* ProxyList::ToValue() const { base 143 net/proxy/proxy_list.cc base::ListValue* list = new base::ListValue(); base 170 net/proxy/proxy_list.cc UpdateRetryInfoOnFallback(proxy_retry_info, base::TimeDelta(), true, base 179 net/proxy/proxy_list.cc base::TimeDelta retry_delay, base 203 net/proxy/proxy_list.cc base::TimeDelta retry_delay, base 208 net/proxy/proxy_list.cc if (retry_delay == base::TimeDelta()) { base 213 net/proxy/proxy_list.cc base::RandInt(1 * 60 * 1000, 5 * 60 * 1000)); base 15 net/proxy/proxy_list.h namespace base { base 79 net/proxy/proxy_list.h base::ListValue* ToValue() const; base 96 net/proxy/proxy_list.h base::TimeDelta retry_delay, base 106 net/proxy/proxy_list.h base::TimeDelta retry_delay, base 99 net/proxy/proxy_list_unittest.cc base::TimeTicks::Now() + base::TimeDelta::FromDays(1); base 177 net/proxy/proxy_list_unittest.cc base::TimeDelta::FromSeconds(60), base 195 net/proxy/proxy_list_unittest.cc base::TimeDelta::FromSeconds(60), base 213 net/proxy/proxy_list_unittest.cc base::TimeDelta::FromSeconds(60), base 29 net/proxy/proxy_resolver_error_observer.h const base::string16& error) = 0; base 80 net/proxy/proxy_resolver_mac.cc base::ScopedCFTypeRef<CFStringRef> query_ref( base 81 net/proxy/proxy_resolver_mac.cc base::SysUTF8ToCFStringRef(query_url.spec())); base 82 net/proxy/proxy_resolver_mac.cc base::ScopedCFTypeRef<CFURLRef> query_url_ref( base 86 net/proxy/proxy_resolver_mac.cc base::ScopedCFTypeRef<CFStringRef> pac_ref(base::SysUTF8ToCFStringRef( base 90 net/proxy/proxy_resolver_mac.cc base::ScopedCFTypeRef<CFURLRef> pac_url_ref( base 111 net/proxy/proxy_resolver_mac.cc base::ScopedCFTypeRef<CFRunLoopSourceRef> runloop_source( base 132 net/proxy/proxy_resolver_mac.cc base::ScopedCFTypeRef<CFArrayRef> proxy_array_ref( base 133 net/proxy/proxy_resolver_mac.cc base::mac::CFCastStrict<CFArrayRef>(result)); base 144 net/proxy/proxy_resolver_mac.cc CFDictionaryRef proxy_dictionary = base::mac::CFCastStrict<CFDictionaryRef>( base 162 net/proxy/proxy_resolver_mac.cc CFStringRef proxy_type = base::mac::GetValueFromDictionary<CFStringRef>( base 91 net/proxy/proxy_resolver_perftest.cc base::FilePath( base 133 net/proxy/proxy_resolver_perftest.cc base::PerfTimeLogger timer(perf_test_name.c_str()); base 157 net/proxy/proxy_resolver_perftest.cc base::FilePath path; base 158 net/proxy/proxy_resolver_perftest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 166 net/proxy/proxy_resolver_perftest.cc bool ok = base::ReadFileToString(path, &file_contents); base 202 net/proxy/proxy_resolver_perftest.cc virtual void Alert(const base::string16& message) OVERRIDE { base 215 net/proxy/proxy_resolver_perftest.cc const base::string16& message) OVERRIDE { base 17 net/proxy/proxy_resolver_script_data.cc base::UTF8ToUTF16(utf8)); base 22 net/proxy/proxy_resolver_script_data.cc const base::string16& utf16) { base 29 net/proxy/proxy_resolver_script_data.cc return new ProxyResolverScriptData(TYPE_SCRIPT_URL, url, base::string16()); base 36 net/proxy/proxy_resolver_script_data.cc base::string16()); base 39 net/proxy/proxy_resolver_script_data.cc const base::string16& ProxyResolverScriptData::utf16() const { base 68 net/proxy/proxy_resolver_script_data.cc const base::string16& utf16) base 22 net/proxy/proxy_resolver_script_data.h : public base::RefCountedThreadSafe<ProxyResolverScriptData> { base 36 net/proxy/proxy_resolver_script_data.h const base::string16& utf16); base 50 net/proxy/proxy_resolver_script_data.h const base::string16& utf16() const; base 60 net/proxy/proxy_resolver_script_data.h friend class base::RefCountedThreadSafe<ProxyResolverScriptData>; base 63 net/proxy/proxy_resolver_script_data.h const base::string16& utf16); base 69 net/proxy/proxy_resolver_script_data.h const base::string16 utf16_; base 147 net/proxy/proxy_resolver_v8.cc base::string16 V8StringToUTF16(v8::Handle<v8::String> s) { base 149 net/proxy/proxy_resolver_v8.cc base::string16 result; base 195 net/proxy/proxy_resolver_v8.cc base::string16* utf16_result, base 216 net/proxy/proxy_resolver_v8.cc const base::string16 hostname_utf16 = V8StringToUTF16(args[0]->ToString()); base 220 net/proxy/proxy_resolver_v8.cc *hostname = base::UTF16ToASCII(hostname_utf16); base 226 net/proxy/proxy_resolver_v8.cc url_canon::RawCanonOutputT<base::char16, kInitialBufferSize> punycode_output; base 236 net/proxy/proxy_resolver_v8.cc bool success = base::UTF16ToUTF8(punycode_output.data(), base 279 net/proxy/proxy_resolver_v8.cc base::RemoveChars(ip_address_list, " \t", &cleaned_ip_address_list); base 286 net/proxy/proxy_resolver_v8.cc base::StringTokenizer str_tok(cleaned_ip_address_list, ";"); base 375 net/proxy/proxy_resolver_v8.cc -1, base::ASCIIToUTF16("FindProxyForURL() is undefined.")); base 395 net/proxy/proxy_resolver_v8.cc -1, base::ASCIIToUTF16("FindProxyForURL() did not return a string.")); base 399 net/proxy/proxy_resolver_v8.cc base::string16 ret_str = V8StringToUTF16(ret->ToString()); base 406 net/proxy/proxy_resolver_v8.cc base::string16 error_message = base 407 net/proxy/proxy_resolver_v8.cc base::ASCIIToUTF16("FindProxyForURL() returned a non-ASCII string " base 413 net/proxy/proxy_resolver_v8.cc results->UsePacString(base::UTF16ToASCII(ret_str)); base 500 net/proxy/proxy_resolver_v8.cc -1, base::ASCIIToUTF16("FindProxyForURL() is undefined.")); base 519 net/proxy/proxy_resolver_v8.cc base::string16 error_message; base 560 net/proxy/proxy_resolver_v8.cc base::string16 message; base 562 net/proxy/proxy_resolver_v8.cc message = base::ASCIIToUTF16("undefined"); base 700 net/proxy/proxy_resolver_v8.cc mutable base::Lock lock_; base 62 net/proxy/proxy_resolver_v8.h virtual void Alert(const base::string16& message) = 0; base 66 net/proxy/proxy_resolver_v8.h virtual void OnError(int line_number, const base::string16& error) = 0; base 58 net/proxy/proxy_resolver_v8_tracing.cc base::Value* NetLogErrorCallback(int line_number, base 59 net/proxy/proxy_resolver_v8_tracing.cc const base::string16* message, base 61 net/proxy/proxy_resolver_v8_tracing.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 89 net/proxy/proxy_resolver_v8_tracing.cc : public base::RefCountedThreadSafe<ProxyResolverV8Tracing::Job>, base 125 net/proxy/proxy_resolver_v8_tracing.cc base::string16 message; base 137 net/proxy/proxy_resolver_v8_tracing.cc base::MessageLoop* worker_loop(); base 160 net/proxy/proxy_resolver_v8_tracing.cc virtual void Alert(const base::string16& message) OVERRIDE; base 161 net/proxy/proxy_resolver_v8_tracing.cc virtual void OnError(int line_number, const base::string16& error) OVERRIDE; base 198 net/proxy/proxy_resolver_v8_tracing.cc const base::string16& message); base 201 net/proxy/proxy_resolver_v8_tracing.cc const base::string16& message); base 209 net/proxy/proxy_resolver_v8_tracing.cc scoped_refptr<base::MessageLoopProxy> origin_loop_; base 220 net/proxy/proxy_resolver_v8_tracing.cc base::CancellationFlag cancelled_; base 233 net/proxy/proxy_resolver_v8_tracing.cc base::WaitableEvent event_; base 310 net/proxy/proxy_resolver_v8_tracing.cc base::TimeTicks metrics_start_time_; base 314 net/proxy/proxy_resolver_v8_tracing.cc base::TimeTicks metrics_end_time_; base 318 net/proxy/proxy_resolver_v8_tracing.cc base::TimeTicks metrics_pending_dns_start_; base 326 net/proxy/proxy_resolver_v8_tracing.cc base::TimeDelta metrics_dns_total_time_; base 340 net/proxy/proxy_resolver_v8_tracing.cc base::TimeDelta metrics_execution_time_; base 345 net/proxy/proxy_resolver_v8_tracing.cc base::TimeDelta metrics_abandoned_execution_total_time_; base 350 net/proxy/proxy_resolver_v8_tracing.cc base::TimeDelta metrics_nonblocking_dns_wait_total_time_; base 354 net/proxy/proxy_resolver_v8_tracing.cc : origin_loop_(base::MessageLoopProxy::current()), base 444 net/proxy/proxy_resolver_v8_tracing.cc DCHECK_EQ(base::MessageLoop::current(), parent_->thread_->message_loop()); base 474 net/proxy/proxy_resolver_v8_tracing.cc base::MessageLoop* ProxyResolverV8Tracing::Job::worker_loop() { base 493 net/proxy/proxy_resolver_v8_tracing.cc metrics_end_time_ = base::TimeTicks::Now(); base 497 net/proxy/proxy_resolver_v8_tracing.cc base::Bind(&Job::NotifyCallerOnOriginLoop, this, result)); base 532 net/proxy/proxy_resolver_v8_tracing.cc base::TimeTicks now = base::TimeTicks::Now(); base 610 net/proxy/proxy_resolver_v8_tracing.cc metrics_start_time_ = base::TimeTicks::Now(); base 618 net/proxy/proxy_resolver_v8_tracing.cc blocking_dns_ ? base::Bind(&Job::ExecuteBlocking, this) : base 619 net/proxy/proxy_resolver_v8_tracing.cc base::Bind(&Job::ExecuteNonBlocking, this)); base 669 net/proxy/proxy_resolver_v8_tracing.cc base::TimeTicks start = base::TimeTicks::Now(); base 696 net/proxy/proxy_resolver_v8_tracing.cc metrics_execution_time_ = base::TimeTicks::Now() - start; base 720 net/proxy/proxy_resolver_v8_tracing.cc void ProxyResolverV8Tracing::Job::Alert(const base::string16& message) { base 725 net/proxy/proxy_resolver_v8_tracing.cc const base::string16& error) { base 818 net/proxy/proxy_resolver_v8_tracing.cc base::TimeTicks start = base::TimeTicks::Now(); base 822 net/proxy/proxy_resolver_v8_tracing.cc metrics_pending_dns_start_ = base::TimeTicks::Now(); base 825 net/proxy/proxy_resolver_v8_tracing.cc origin_loop_->PostTask(FROM_HERE, base::Bind(&Job::DoDnsOperation, this)); base 837 net/proxy/proxy_resolver_v8_tracing.cc metrics_nonblocking_dns_wait_total_time_ += base::TimeTicks::Now() - start; base 854 net/proxy/proxy_resolver_v8_tracing.cc base::Bind(&Job::OnDnsOperationComplete, this), base 895 net/proxy/proxy_resolver_v8_tracing.cc base::TimeTicks::Now() - metrics_pending_dns_start_; base 906 net/proxy/proxy_resolver_v8_tracing.cc base::Bind(&Job::ExecuteNonBlocking, this)); base 987 net/proxy/proxy_resolver_v8_tracing.cc return base::StringPrintf("%d:%s", op, host.c_str()); base 993 net/proxy/proxy_resolver_v8_tracing.cc const base::string16& message) { base 1037 net/proxy/proxy_resolver_v8_tracing.cc bool is_alert, int line_number, const base::string16& message) { base 1074 net/proxy/proxy_resolver_v8_tracing.cc base::Bind(&NetLogErrorCallback, line_number, &message)); base 1103 net/proxy/proxy_resolver_v8_tracing.cc thread_.reset(new base::Thread("Proxy resolver")); base 1117 net/proxy/proxy_resolver_v8_tracing.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 15 net/proxy/proxy_resolver_v8_tracing.h namespace base { base 33 net/proxy/proxy_resolver_v8_tracing.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 64 net/proxy/proxy_resolver_v8_tracing.h scoped_ptr<base::Thread> thread_; base 38 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 43 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::FilePath path; base 44 net/proxy/proxy_resolver_v8_tracing_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 52 net/proxy/proxy_resolver_v8_tracing_unittest.cc bool ok = base::ReadFileToString(path, &file_contents); base 74 net/proxy/proxy_resolver_v8_tracing_unittest.cc const base::string16& error) OVERRIDE { base 76 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::AutoLock l(lock_); base 77 net/proxy/proxy_resolver_v8_tracing_unittest.cc output += base::StringPrintf("Error: line %d: %s\n", line_number, base 78 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::UTF16ToASCII(error).c_str()); base 84 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::AutoLock l(lock_); base 93 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Lock lock_; base 96 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::WaitableEvent event_; base 666 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Bind(&CrashCallback), &request[i], BoundNetLog()); base 695 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Bind(&CrashCallback), &request1, BoundNetLog()); base 729 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Bind(&CrashCallback), &request1, BoundNetLog()); base 780 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::MessageLoop::current()->Quit(); base 804 net/proxy/proxy_resolver_v8_tracing_unittest.cc void SetAction(const base::Callback<void(void)>& action) { base 811 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::MessageLoop::current()->Run(); base 823 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Callback<void(void)> action_; base 842 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Bind(&CrashCallback), &request1, BoundNetLog()); base 850 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Bind(&CrashCallback), &request2, BoundNetLog()); base 873 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(30)); base 891 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Bind(&CrashCallback), &request, BoundNetLog()); base 896 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Bind(CancelRequestAndPause, &resolver, request)); base 920 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Bind(&CrashCallback), &request, BoundNetLog()); base 927 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 941 net/proxy/proxy_resolver_v8_tracing_unittest.cc base::Bind(&CrashCallback)); base 29 net/proxy/proxy_resolver_v8_unittest.cc virtual void Alert(const base::string16& message) OVERRIDE { base 31 net/proxy/proxy_resolver_v8_unittest.cc alerts.push_back(base::UTF16ToUTF8(message)); base 69 net/proxy/proxy_resolver_v8_unittest.cc const base::string16& message) OVERRIDE { base 73 net/proxy/proxy_resolver_v8_unittest.cc errors.push_back(base::UTF16ToUTF8(message)); base 114 net/proxy/proxy_resolver_v8_unittest.cc base::FilePath path; base 115 net/proxy/proxy_resolver_v8_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 123 net/proxy/proxy_resolver_v8_unittest.cc bool ok = base::ReadFileToString(path, &file_contents); base 294 net/proxy/proxy_resolver_v8_unittest.cc EXPECT_EQ(base::StringPrintf("sideffect_%d:80", i), base 308 net/proxy/proxy_resolver_v8_unittest.cc EXPECT_EQ(base::StringPrintf("sideffect_%d:80", i), base 388 net/proxy/proxy_resolver_v8_unittest.cc ProxyResolverScriptData::FromUTF16(base::string16()), base 19 net/proxy/proxy_resolver_winhttp.cc using base::TimeDelta; base 20 net/proxy/proxy_resolver_winhttp.cc using base::TimeTicks; base 57 net/proxy/proxy_resolver_winhttp.cc std::wstring pac_url_wide = base::ASCIIToWide(pac_url_.spec()); base 69 net/proxy/proxy_resolver_winhttp.cc base::ASCIIToWide(query_url.spec()).c_str(), base 75 net/proxy/proxy_resolver_winhttp.cc session_handle_, base::ASCIIToWide(query_url.spec()).c_str(), base 111 net/proxy/proxy_resolver_winhttp.cc results->UseNamedProxy(base::UTF16ToASCII(info.lpszProxy)); base 19 net/proxy/proxy_retry_info.h base::TimeTicks bad_until; base 23 net/proxy/proxy_retry_info.h base::TimeDelta current_delay; base 26 net/proxy/proxy_script_decider.cc bool LooksLikePacScript(const base::string16& script) { base 33 net/proxy/proxy_script_decider.cc return script.find(base::ASCIIToUTF16("FindProxyForURL")) != base 34 net/proxy/proxy_script_decider.cc base::string16::npos; base 56 net/proxy/proxy_script_decider.cc base::Value* ProxyScriptDecider::PacSource::NetLogCallback( base 59 net/proxy/proxy_script_decider.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 106 net/proxy/proxy_script_decider.cc const ProxyConfig& config, const base::TimeDelta wait_delay, base 118 net/proxy/proxy_script_decider.cc if (wait_delay_ < base::TimeDelta()) base 119 net/proxy/proxy_script_decider.cc wait_delay_ = base::TimeDelta(); base 260 net/proxy/proxy_script_decider.cc quick_check_start_time_ = base::Time::Now(); base 264 net/proxy/proxy_script_decider.cc CompletionCallback callback = base::Bind( base 266 net/proxy/proxy_script_decider.cc base::Unretained(this)); base 270 net/proxy/proxy_script_decider.cc base::TimeDelta::FromMilliseconds( base 272 net/proxy/proxy_script_decider.cc base::Bind(callback, ERR_NAME_NOT_RESOLVED)); base 281 net/proxy/proxy_script_decider.cc base::TimeDelta delta = base::Time::Now() - quick_check_start_time_; base 305 net/proxy/proxy_script_decider.cc base::Bind(&PacSource::NetLogCallback, base 306 net/proxy/proxy_script_decider.cc base::Unretained(&pac_source), base 316 net/proxy/proxy_script_decider.cc &pac_script_, base::Bind(&ProxyScriptDecider::OnIOCompletion, base 317 net/proxy/proxy_script_decider.cc base::Unretained(this))); base 327 net/proxy/proxy_script_decider.cc base::Bind(&ProxyScriptDecider::OnIOCompletion, base::Unretained(this))); base 73 net/proxy/proxy_script_decider.h const base::TimeDelta wait_delay, base 104 net/proxy/proxy_script_decider.h base::Value* NetLogCallback(const GURL* effective_pac_url, base 172 net/proxy/proxy_script_decider.h base::string16 pac_script_; base 188 net/proxy/proxy_script_decider.h base::TimeDelta wait_delay_; base 189 net/proxy/proxy_script_decider.h base::OneShotTimer<ProxyScriptDecider> wait_timer_; base 199 net/proxy/proxy_script_decider.h base::OneShotTimer<ProxyScriptDecider> quick_check_timer_; base 201 net/proxy/proxy_script_decider.h base::Time quick_check_start_time_; base 45 net/proxy/proxy_script_decider_unittest.cc base::string16 text() const { base 47 net/proxy/proxy_script_decider_unittest.cc return base::UTF8ToUTF16(url.spec() + "!FindProxyForURL"); base 49 net/proxy/proxy_script_decider_unittest.cc return base::UTF8ToUTF16(url.spec() + "!invalid-script"); base 50 net/proxy/proxy_script_decider_unittest.cc return base::string16(); base 83 net/proxy/proxy_script_decider_unittest.cc const Rule& GetRuleByText(const base::string16& text) const { base 109 net/proxy/proxy_script_decider_unittest.cc base::string16* text, base 136 net/proxy/proxy_script_decider_unittest.cc virtual int Fetch(base::string16* utf16_text, base 143 net/proxy/proxy_script_decider_unittest.cc virtual void CompleteRequests(int result, const base::string16& script); base 147 net/proxy/proxy_script_decider_unittest.cc base::string16* utf16_text_; base 156 net/proxy/proxy_script_decider_unittest.cc int MockDhcpProxyScriptFetcher::Fetch(base::string16* utf16_text, base 174 net/proxy/proxy_script_decider_unittest.cc int result, const base::string16& script) { base 194 net/proxy/proxy_script_decider_unittest.cc config, base::TimeDelta(), true, callback.callback())); base 230 net/proxy/proxy_script_decider_unittest.cc decider.Start(config, base::TimeDelta(), true, base 265 net/proxy/proxy_script_decider_unittest.cc decider.Start(config, base::TimeDelta(), true, base 281 net/proxy/proxy_script_decider_unittest.cc decider.Start(config, base::TimeDelta(), true, base 300 net/proxy/proxy_script_decider_unittest.cc config, base::TimeDelta(), true, callback.callback())); base 321 net/proxy/proxy_script_decider_unittest.cc return decider_->Start(config_, base::TimeDelta(), true, base 394 net/proxy/proxy_script_decider_unittest.cc base::string16 pac_contents = base::UTF8ToUTF16(kPac); base 447 net/proxy/proxy_script_decider_unittest.cc config, base::TimeDelta(), true, callback.callback())); base 473 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(OK, decider.Start(config, base::TimeDelta(), base 535 net/proxy/proxy_script_decider_unittest.cc decider.Start(config, base::TimeDelta(), true, base 556 net/proxy/proxy_script_decider_unittest.cc decider.Start(config, base::TimeDelta(), true, base 578 net/proxy/proxy_script_decider_unittest.cc decider.Start(config, base::TimeDelta::FromMilliseconds(1), base 620 net/proxy/proxy_script_decider_unittest.cc decider.Start(config, base::TimeDelta::FromSeconds(-5), base 641 net/proxy/proxy_script_decider_unittest.cc explicit SynchronousSuccessDhcpFetcher(const base::string16& expected_text) base 645 net/proxy/proxy_script_decider_unittest.cc virtual int Fetch(base::string16* utf16_text, base 658 net/proxy/proxy_script_decider_unittest.cc const base::string16& expected_text() const { base 664 net/proxy/proxy_script_decider_unittest.cc base::string16 expected_text_; base 678 net/proxy/proxy_script_decider_unittest.cc base::WideToUTF16(L"http://bingo/!FindProxyForURL")); base 689 net/proxy/proxy_script_decider_unittest.cc config, base::TimeDelta(), true, callback.callback())); base 701 net/proxy/proxy_script_decider_unittest.cc base::WideToUTF16(L"http://bingo/!invalid-script")); base 714 net/proxy/proxy_script_decider_unittest.cc decider.Start(config, base::TimeDelta(), true, callback.callback())); base 722 net/proxy/proxy_script_decider_unittest.cc public base::SupportsWeakPtr<AsyncFailDhcpFetcher> { base 727 net/proxy/proxy_script_decider_unittest.cc virtual int Fetch(base::string16* utf16_text, base 730 net/proxy/proxy_script_decider_unittest.cc base::MessageLoop::current()->PostTask( base 732 net/proxy/proxy_script_decider_unittest.cc base::Bind(&AsyncFailDhcpFetcher::CallbackWithFailure, AsWeakPtr())); base 773 net/proxy/proxy_script_decider_unittest.cc decider.Start(config, base::TimeDelta(), true, callback.callback()); base 780 net/proxy/proxy_script_decider_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 47 net/proxy/proxy_script_fetcher.h virtual int Fetch(const GURL& url, base::string16* utf16_text, base 54 net/proxy/proxy_script_fetcher_impl.cc base::string16* utf16) { base 59 net/proxy/proxy_script_fetcher_impl.cc codepage = base::kCodepageLatin1; base 68 net/proxy/proxy_script_fetcher_impl.cc base::CodepageToUTF16(bytes, codepage, base 69 net/proxy/proxy_script_fetcher_impl.cc base::OnStringConversionError::SUBSTITUTE, base 85 net/proxy/proxy_script_fetcher_impl.cc max_duration_(base::TimeDelta::FromMilliseconds(kDefaultMaxDurationMs)) { base 94 net/proxy/proxy_script_fetcher_impl.cc base::TimeDelta ProxyScriptFetcherImpl::SetTimeoutConstraint( base 95 net/proxy/proxy_script_fetcher_impl.cc base::TimeDelta timeout) { base 96 net/proxy/proxy_script_fetcher_impl.cc base::TimeDelta prev = max_duration_; base 119 net/proxy/proxy_script_fetcher_impl.cc const GURL& url, base::string16* text, const CompletionCallback& callback) { base 161 net/proxy/proxy_script_fetcher_impl.cc base::MessageLoop::current()->PostDelayedTask( base 163 net/proxy/proxy_script_fetcher_impl.cc base::Bind(&ProxyScriptFetcherImpl::OnTimeout, base 42 net/proxy/proxy_script_fetcher_impl.h base::TimeDelta SetTimeoutConstraint(base::TimeDelta timeout); base 48 net/proxy/proxy_script_fetcher_impl.h virtual int Fetch(const GURL& url, base::string16* text, base 84 net/proxy/proxy_script_fetcher_impl.h base::WeakPtrFactory<ProxyScriptFetcherImpl> weak_factory_; base 114 net/proxy/proxy_script_fetcher_impl.h base::string16* result_text_; base 120 net/proxy/proxy_script_fetcher_impl.h base::TimeDelta max_duration_; base 33 net/proxy/proxy_script_fetcher_impl_unittest.cc using base::ASCIIToUTF16; base 43 net/proxy/proxy_script_fetcher_impl_unittest.cc const base::FilePath::CharType kDocRoot[] = base 48 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 77 net/proxy/proxy_script_fetcher_impl_unittest.cc "file", new FileProtocolHandler(base::MessageLoopProxy::current())); base 90 net/proxy/proxy_script_fetcher_impl_unittest.cc base::FilePath path; base 91 net/proxy/proxy_script_fetcher_impl_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 147 net/proxy/proxy_script_fetcher_impl_unittest.cc const base::string16& error) OVERRIDE {} base 169 net/proxy/proxy_script_fetcher_impl_unittest.cc const base::FilePath& path) const OVERRIDE { base 192 net/proxy/proxy_script_fetcher_impl_unittest.cc base::FilePath(kDocRoot)) { base 206 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 215 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 234 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 243 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 252 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 268 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 277 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 294 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 311 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 326 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 354 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 367 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 382 net/proxy/proxy_script_fetcher_impl_unittest.cc base::TimeDelta prev_timeout = pac_fetcher.SetTimeoutConstraint( base 383 net/proxy/proxy_script_fetcher_impl_unittest.cc base::TimeDelta::FromMilliseconds(500)); base 389 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 402 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 422 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 434 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 460 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 473 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; base 28 net/proxy/proxy_server_mac.cc base::mac::GetValueFromDictionary<CFStringRef>(dict, host_key); base 31 net/proxy/proxy_server_mac.cc << base::SysCFStringRefToUTF8(host_key) base 35 net/proxy/proxy_server_mac.cc std::string host = base::SysCFStringRefToUTF8(host_ref); base 38 net/proxy/proxy_server_mac.cc base::mac::GetValueFromDictionary<CFNumberRef>(dict, port_key); base 52 net/proxy/proxy_service.cc using base::TimeDelta; base 53 net/proxy/proxy_service.cc using base::TimeTicks; base 278 net/proxy/proxy_service.cc base::Value* NetLogProxyConfigChangedCallback( base 282 net/proxy/proxy_service.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 291 net/proxy/proxy_service.cc base::Value* NetLogBadProxyListCallback(const ProxyRetryInfoMap* retry_info, base 293 net/proxy/proxy_service.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 294 net/proxy/proxy_service.cc base::ListValue* list = new base::ListValue(); base 298 net/proxy/proxy_service.cc list->Append(new base::StringValue(iter->first)); base 305 net/proxy/proxy_service.cc base::Value* NetLogFinishedResolvingProxyCallback( base 308 net/proxy/proxy_service.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 472 net/proxy/proxy_service.cc base::Bind(&InitProxyResolver::OnIOCompletion, base::Unretained(this))); base 492 net/proxy/proxy_service.cc base::Bind(&InitProxyResolver::OnIOCompletion, base::Unretained(this))); base 532 net/proxy/proxy_service.cc typedef base::Callback<void(int, ProxyResolverScriptData*, base 605 net/proxy/proxy_service.cc base::MessageLoop::current()->PostDelayedTask( base 607 net/proxy/proxy_service.cc base::Bind(&ProxyScriptDeciderPoller::DoPoll, base 639 net/proxy/proxy_service.cc base::Bind(&ProxyScriptDeciderPoller::OnProxyScriptDeciderCompleted, base 640 net/proxy/proxy_service.cc base::Unretained(this))); base 653 net/proxy/proxy_service.cc base::MessageLoop::current()->PostTask( base 655 net/proxy/proxy_service.cc base::Bind(&ProxyScriptDeciderPoller::NotifyProxyServiceOfChange, base 700 net/proxy/proxy_service.cc base::WeakPtrFactory<ProxyScriptDeciderPoller> weak_factory_; base 735 net/proxy/proxy_service.cc : public base::RefCounted<ProxyService::PacRequest> { base 766 net/proxy/proxy_service.cc base::Bind(&PacRequest::QueryComplete, base::Unretained(this)), base 1131 net/proxy/proxy_service.cc base::Bind(&ProxyService::InitializeUsingDecidedConfig, base 1132 net/proxy/proxy_service.cc base::Unretained(this)), base 1211 net/proxy/proxy_service.cc base::TimeDelta retry_delay, base 1242 net/proxy/proxy_service.cc base::Bind(&NetLogBadProxyListCallback, &new_retry_info)); base 1282 net/proxy/proxy_service.cc base::Bind(&NetLogFinishedResolvingProxyCallback, result)); base 1366 net/proxy/proxy_service.cc base::SingleThreadTaskRunner* io_thread_task_runner, base 1367 net/proxy/proxy_service.cc base::MessageLoop* file_loop) { base 1386 net/proxy/proxy_service.cc scoped_refptr<base::SingleThreadTaskRunner> glib_thread_task_runner = base 1387 net/proxy/proxy_service.cc base::ThreadTaskRunnerHandle::Get(); base 1390 net/proxy/proxy_service.cc DCHECK_EQ(base::MessageLoop::TYPE_IO, file_loop->type()); base 1399 net/proxy/proxy_service.cc static_cast<base::MessageLoopForIO*>(file_loop)); base 1405 net/proxy/proxy_service.cc base::MessageLoop::current()->message_loop_proxy()); base 1468 net/proxy/proxy_service.cc base::Bind(&NetLogProxyConfigChangedCallback, base 1509 net/proxy/proxy_service.cc base::Bind(&ProxyService::OnInitProxyResolverComplete, base 1510 net/proxy/proxy_service.cc base::Unretained(this))); base 1533 net/proxy/proxy_service.cc base::Bind(&ProxyService::OnInitProxyResolverComplete, base 1534 net/proxy/proxy_service.cc base::Unretained(this))); base 1555 net/proxy/proxy_service.cc base::MessageLoop* io_message_loop, base 1560 net/proxy/proxy_service.cc callback_(base::Bind(&SyncProxyServiceHelper::OnCompletion, base 1561 net/proxy/proxy_service.cc base::Unretained(this))) { base 1562 net/proxy/proxy_service.cc DCHECK(io_message_loop_ != base::MessageLoop::current()); base 1568 net/proxy/proxy_service.cc DCHECK(io_message_loop_ != base::MessageLoop::current()); base 1572 net/proxy/proxy_service.cc base::Bind(&SyncProxyServiceHelper::StartAsyncResolve, this, url, base 1585 net/proxy/proxy_service.cc DCHECK(io_message_loop_ != base::MessageLoop::current()); base 1589 net/proxy/proxy_service.cc base::Bind(&SyncProxyServiceHelper::StartAsyncReconsider, this, url, base 27 net/proxy/proxy_service.h namespace base { base 49 net/proxy/proxy_service.h NON_EXPORTED_BASE(public base::NonThreadSafe) { base 90 net/proxy/proxy_service.h base::TimeDelta current_delay, base 91 net/proxy/proxy_service.h base::TimeDelta* next_delay) const = 0; base 158 net/proxy/proxy_service.h base::TimeDelta retry_delay, base 246 net/proxy/proxy_service.h base::SingleThreadTaskRunner* io_thread_task_runner, base 247 net/proxy/proxy_service.h base::MessageLoop* file_loop); base 250 net/proxy/proxy_service.h void set_stall_proxy_auto_config_delay(base::TimeDelta delay) { base 400 net/proxy/proxy_service.h base::TimeTicks config_last_update_time_; base 439 net/proxy/proxy_service.h base::TimeTicks stall_proxy_autoconfig_until_; base 442 net/proxy/proxy_service.h base::TimeDelta stall_proxy_auto_config_delay_; base 452 net/proxy/proxy_service.h : public base::RefCountedThreadSafe<SyncProxyServiceHelper> { base 454 net/proxy/proxy_service.h SyncProxyServiceHelper(base::MessageLoop* io_message_loop, base 465 net/proxy/proxy_service.h friend class base::RefCountedThreadSafe<SyncProxyServiceHelper>; base 474 net/proxy/proxy_service.h base::MessageLoop* io_message_loop_; base 477 net/proxy/proxy_service.h base::WaitableEvent event_; base 26 net/proxy/proxy_service_unittest.cc using base::ASCIIToUTF16; base 38 net/proxy/proxy_service_unittest.cc virtual Mode GetNextDelay(int error, base::TimeDelta current_delay, base 39 net/proxy/proxy_service_unittest.cc base::TimeDelta* next_delay) const OVERRIDE { base 40 net/proxy/proxy_service_unittest.cc *next_delay = base::TimeDelta::FromMilliseconds(1); base 54 net/proxy/proxy_service_unittest.cc virtual Mode GetNextDelay(int error, base::TimeDelta current_delay, base 55 net/proxy/proxy_service_unittest.cc base::TimeDelta* next_delay) const OVERRIDE { base 56 net/proxy/proxy_service_unittest.cc *next_delay = base::TimeDelta::FromDays(60); base 69 net/proxy/proxy_service_unittest.cc virtual Mode GetNextDelay(int error, base::TimeDelta current_delay, base 70 net/proxy/proxy_service_unittest.cc base::TimeDelta* next_delay) const OVERRIDE { base 71 net/proxy/proxy_service_unittest.cc *next_delay = base::TimeDelta(); base 726 net/proxy/proxy_service_unittest.cc base::TimeTicks proxy_resolve_start_time = info.proxy_resolve_start_time(); base 727 net/proxy/proxy_service_unittest.cc base::TimeTicks proxy_resolve_end_time = info.proxy_resolve_end_time(); base 2118 net/proxy/proxy_service_unittest.cc service.set_stall_proxy_auto_config_delay(base::TimeDelta()); base 2161 net/proxy/proxy_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); // Notification happens async. base 2283 net/proxy/proxy_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2395 net/proxy/proxy_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2505 net/proxy/proxy_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2611 net/proxy/proxy_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2635 net/proxy/proxy_service_unittest.cc const base::TimeDelta initial_delay = base::TimeDelta::FromMilliseconds(-1); base 2636 net/proxy/proxy_service_unittest.cc base::TimeDelta delay = initial_delay; base 2780 net/proxy/proxy_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 29 net/proxy/proxy_service_v8.cc network_delegate, base::MessageLoopProxy::current().get()); base 142 net/quic/congestion_control/cubic.cc base::Time::kMicrosecondsPerSecond; base 77 net/quic/congestion_control/inter_arrival_overuse_detector_test.cc double uniform1 = base::RandDouble(); base 78 net/quic/congestion_control/inter_arrival_overuse_detector_test.cc double uniform2 = base::RandDouble(); base 31 net/quic/congestion_control/inter_arrival_sender_test.cc rtt_stats_.set_initial_rtt_us(60 * base::Time::kMicrosecondsPerMillisecond); base 30 net/quic/congestion_control/leaky_bucket.cc (bytes_ * base::Time::kMicrosecondsPerSecond) / base 25 net/quic/congestion_control/rtt_stats.cc initial_rtt_us_(kInitialRttMs * base::Time::kMicrosecondsPerMillisecond) { base 43 net/quic/crypto/aead_base_decrypter.h virtual bool SetKey(base::StringPiece key) OVERRIDE; base 44 net/quic/crypto/aead_base_decrypter.h virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) OVERRIDE; base 45 net/quic/crypto/aead_base_decrypter.h virtual bool Decrypt(base::StringPiece nonce, base 46 net/quic/crypto/aead_base_decrypter.h base::StringPiece associated_data, base 47 net/quic/crypto/aead_base_decrypter.h base::StringPiece ciphertext, base 51 net/quic/crypto/aead_base_decrypter.h base::StringPiece associated_data, base 52 net/quic/crypto/aead_base_decrypter.h base::StringPiece ciphertext) OVERRIDE; base 53 net/quic/crypto/aead_base_decrypter.h virtual base::StringPiece GetKey() const OVERRIDE; base 54 net/quic/crypto/aead_base_decrypter.h virtual base::StringPiece GetNoncePrefix() const OVERRIDE; base 76 net/quic/crypto/aead_base_decrypter.h virtual void FillAeadParams(base::StringPiece nonce, base 77 net/quic/crypto/aead_base_decrypter.h base::StringPiece associated_data, base 12 net/quic/crypto/aead_base_decrypter_nss.cc using base::StringPiece; base 12 net/quic/crypto/aead_base_decrypter_openssl.cc using base::StringPiece; base 43 net/quic/crypto/aead_base_encrypter.h virtual bool SetKey(base::StringPiece key) OVERRIDE; base 44 net/quic/crypto/aead_base_encrypter.h virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) OVERRIDE; base 45 net/quic/crypto/aead_base_encrypter.h virtual bool Encrypt(base::StringPiece nonce, base 46 net/quic/crypto/aead_base_encrypter.h base::StringPiece associated_data, base 47 net/quic/crypto/aead_base_encrypter.h base::StringPiece plaintext, base 50 net/quic/crypto/aead_base_encrypter.h base::StringPiece associated_data, base 51 net/quic/crypto/aead_base_encrypter.h base::StringPiece plaintext) OVERRIDE; base 56 net/quic/crypto/aead_base_encrypter.h virtual base::StringPiece GetKey() const OVERRIDE; base 57 net/quic/crypto/aead_base_encrypter.h virtual base::StringPiece GetNoncePrefix() const OVERRIDE; base 79 net/quic/crypto/aead_base_encrypter.h virtual void FillAeadParams(base::StringPiece nonce, base 80 net/quic/crypto/aead_base_encrypter.h base::StringPiece associated_data, base 12 net/quic/crypto/aead_base_encrypter_nss.cc using base::StringPiece; base 13 net/quic/crypto/aead_base_encrypter_openssl.cc using base::StringPiece; base 31 net/quic/crypto/aes_128_gcm_12_decrypter.h virtual void FillAeadParams(base::StringPiece nonce, base 32 net/quic/crypto/aes_128_gcm_12_decrypter.h base::StringPiece associated_data, base 18 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc using base::StringPiece; base 40 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc friend struct base::DefaultLazyInstanceTraits<GcmSupportChecker>; base 64 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc base::LazyInstance<GcmSupportChecker>::Leaky g_gcm_support_checker = base 9 net/quic/crypto/aes_128_gcm_12_decrypter_test.cc using base::StringPiece; base 31 net/quic/crypto/aes_128_gcm_12_encrypter.h virtual void FillAeadParams(base::StringPiece nonce, base 32 net/quic/crypto/aes_128_gcm_12_encrypter.h base::StringPiece associated_data, base 18 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc using base::StringPiece; base 40 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc friend struct base::DefaultLazyInstanceTraits<GcmSupportChecker>; base 64 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc base::LazyInstance<GcmSupportChecker>::Leaky g_gcm_support_checker = base 9 net/quic/crypto/aes_128_gcm_12_encrypter_test.cc using base::StringPiece; base 12 net/quic/crypto/cert_compressor.cc using base::StringPiece; base 39 net/quic/crypto/cert_compressor.h base::StringPiece client_common_set_hashes, base 40 net/quic/crypto/cert_compressor.h base::StringPiece client_cached_cert_hashes, base 47 net/quic/crypto/cert_compressor.h static bool DecompressChain(base::StringPiece in, base 12 net/quic/crypto/cert_compressor_test.cc using base::StringPiece; base 23 net/quic/crypto/cert_compressor_test.cc EXPECT_EQ("00", base::HexEncode(compressed.data(), compressed.size())); base 37 net/quic/crypto/cert_compressor_test.cc EXPECT_EQ("0100", base::HexEncode(compressed.substr(0, 2).data(), 2)); base 61 net/quic/crypto/cert_compressor_test.cc base::HexEncode(compressed.data(), compressed.size())); base 79 net/quic/crypto/cert_compressor_test.cc base::HexEncode(hash_bytes.data(), hash_bytes.size()) + base 81 net/quic/crypto/cert_compressor_test.cc base::HexEncode(compressed.data(), compressed.size())); base 97 net/quic/crypto/cert_compressor_test.cc base::HexEncode(bad_entry.data(), bad_entry.size()), base 103 net/quic/crypto/cert_compressor_test.cc base::HexEncode(no_terminator.data(), no_terminator.size()), base 109 net/quic/crypto/cert_compressor_test.cc base::HexEncode(hash_truncated.data(), hash_truncated.size()), base 115 net/quic/crypto/cert_compressor_test.cc base::HexEncode(hash_and_index_truncated.data(), base 123 net/quic/crypto/cert_compressor_test.cc base::HexEncode(without_a_common_cert_set.data(), base 134 net/quic/crypto/cert_compressor_test.cc base::HexEncode(incorrect_hash_and_index.data(), base 35 net/quic/crypto/chacha20_poly1305_decrypter.h virtual void FillAeadParams(base::StringPiece nonce, base 36 net/quic/crypto/chacha20_poly1305_decrypter.h base::StringPiece associated_data, base 11 net/quic/crypto/chacha20_poly1305_decrypter_nss.cc using base::StringPiece; base 9 net/quic/crypto/chacha20_poly1305_decrypter_test.cc using base::StringPiece; base 35 net/quic/crypto/chacha20_poly1305_encrypter.h virtual void FillAeadParams(base::StringPiece nonce, base 36 net/quic/crypto/chacha20_poly1305_encrypter.h base::StringPiece associated_data, base 11 net/quic/crypto/chacha20_poly1305_encrypter_nss.cc using base::StringPiece; base 9 net/quic/crypto/chacha20_poly1305_encrypter_test.cc using base::StringPiece; base 25 net/quic/crypto/channel_id.h base::StringPiece signed_data, base 48 net/quic/crypto/channel_id.h static bool Verify(base::StringPiece key, base 49 net/quic/crypto/channel_id.h base::StringPiece signed_data, base 50 net/quic/crypto/channel_id.h base::StringPiece signature); base 56 net/quic/crypto/channel_id.h static bool VerifyRaw(base::StringPiece key, base 57 net/quic/crypto/channel_id.h base::StringPiece signed_data, base 58 net/quic/crypto/channel_id.h base::StringPiece signature, base 11 net/quic/crypto/channel_id_nss.cc using base::StringPiece; base 15 net/quic/crypto/channel_id_openssl.cc using base::StringPiece; base 11 net/quic/crypto/channel_id_test.cc using base::StringPiece; base 12 net/quic/crypto/common_cert_set.cc using base::StringPiece; base 28 net/quic/crypto/common_cert_set.h virtual base::StringPiece GetCommonHashes() const = 0; base 33 net/quic/crypto/common_cert_set.h virtual base::StringPiece GetCert(uint64 hash, uint32 index) const = 0; base 39 net/quic/crypto/common_cert_set.h virtual bool MatchCert(base::StringPiece cert, base 40 net/quic/crypto/common_cert_set.h base::StringPiece common_set_hashes, base 9 net/quic/crypto/common_cert_set_test.cc using base::StringPiece; base 11 net/quic/crypto/crypto_framer.cc using base::StringPiece; base 48 net/quic/crypto/crypto_framer.h static CryptoHandshakeMessage* ParseMessage(base::StringPiece in); base 62 net/quic/crypto/crypto_framer.h bool ProcessInput(base::StringPiece input); base 79 net/quic/crypto/crypto_framer.h QuicErrorCode Process(base::StringPiece input); base 17 net/quic/crypto/crypto_framer_test.cc using base::StringPiece; base 14 net/quic/crypto/crypto_handshake_message.cc using base::StringPiece; base 15 net/quic/crypto/crypto_handshake_message.cc using base::StringPrintf; base 251 net/quic/crypto/crypto_handshake_message.cc ret += base::UintToString(value); base 306 net/quic/crypto/crypto_handshake_message.cc ret += "0x" + base::HexEncode(it->second.data(), it->second.size()); base 67 net/quic/crypto/crypto_handshake_message.h void SetStringPiece(QuicTag tag, base::StringPiece value); base 80 net/quic/crypto/crypto_handshake_message.h bool GetStringPiece(QuicTag tag, base::StringPiece* out) const; base 87 net/quic/crypto/crypto_handshake_message.h base::StringPiece* out) const; base 13 net/quic/crypto/crypto_secret_boxer.cc using base::StringPiece; base 27 net/quic/crypto/crypto_secret_boxer.h void SetKey(base::StringPiece key); base 32 net/quic/crypto/crypto_secret_boxer.h std::string Box(QuicRandom* rand, base::StringPiece plaintext) const; base 39 net/quic/crypto/crypto_secret_boxer.h bool Unbox(base::StringPiece ciphertext, base 41 net/quic/crypto/crypto_secret_boxer.h base::StringPiece* out) const; base 11 net/quic/crypto/crypto_secret_boxer_test.cc using base::StringPiece; base 63 net/quic/crypto/crypto_server_config_protobuf.h void set_config(base::StringPiece config) { base 20 net/quic/crypto/crypto_server_test.cc using base::StringPiece; base 31 net/quic/crypto/crypto_server_test.cc base::Lock* GetStrikeRegisterClientLock() { base 65 net/quic/crypto/crypto_server_test.cc nonce_hex_ = "#" + base::HexEncode(nonce_str.data(), nonce_str.size()); base 66 net/quic/crypto/crypto_server_test.cc pub_hex_ = "#" + base::HexEncode(public_value, sizeof(public_value)); base 84 net/quic/crypto/crypto_server_test.cc srct_hex_ = "#" + base::HexEncode(srct.data(), srct.size()); base 92 net/quic/crypto/crypto_server_test.cc scid_hex_ = "#" + base::HexEncode(scid.data(), scid.size()); base 115 net/quic/crypto/crypto_server_test.cc base::Lock* m = peer.GetStrikeRegisterClientLock(); base 119 net/quic/crypto/crypto_server_test.cc base::AutoLock lock(*m); base 17 net/quic/crypto/crypto_utils.cc using base::StringPiece; base 38 net/quic/crypto/crypto_utils.h base::StringPiece orbit, base 45 net/quic/crypto/crypto_utils.h static bool IsValidSNI(base::StringPiece sni); base 58 net/quic/crypto/crypto_utils.h static bool DeriveKeys(base::StringPiece premaster_secret, base 60 net/quic/crypto/crypto_utils.h base::StringPiece client_nonce, base 61 net/quic/crypto/crypto_utils.h base::StringPiece server_nonce, base 12 net/quic/crypto/curve25519_key_exchange.cc using base::StringPiece; base 27 net/quic/crypto/curve25519_key_exchange.h static Curve25519KeyExchange* New(const base::StringPiece& private_key); base 35 net/quic/crypto/curve25519_key_exchange.h virtual bool CalculateSharedKey(const base::StringPiece& peer_public_value, base 37 net/quic/crypto/curve25519_key_exchange.h virtual base::StringPiece public_value() const OVERRIDE; base 12 net/quic/crypto/curve25519_key_exchange_test.cc using base::StringPiece; base 36 net/quic/crypto/ephemeral_key_source.h base::StringPiece peer_public_value, base 32 net/quic/crypto/key_exchange.h virtual bool CalculateSharedKey(const base::StringPiece& peer_public_value, base 39 net/quic/crypto/key_exchange.h virtual base::StringPiece public_value() const = 0; base 9 net/quic/crypto/local_strike_register_client.cc using base::StringPiece; base 25 net/quic/crypto/local_strike_register_client.cc base::AutoLock lock(m_); base 38 net/quic/crypto/local_strike_register_client.cc base::AutoLock lock(m_); base 29 net/quic/crypto/local_strike_register_client.h virtual bool IsKnownOrbit(base::StringPiece orbit) const OVERRIDE; base 30 net/quic/crypto/local_strike_register_client.h virtual void VerifyNonceIsValidAndUnique(base::StringPiece nonce, base 35 net/quic/crypto/local_strike_register_client.h mutable base::Lock m_; base 16 net/quic/crypto/local_strike_register_client_test.cc using base::StringPiece; base 9 net/quic/crypto/null_decrypter.cc using base::StringPiece; base 25 net/quic/crypto/null_decrypter.h virtual bool SetKey(base::StringPiece key) OVERRIDE; base 26 net/quic/crypto/null_decrypter.h virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) OVERRIDE; base 27 net/quic/crypto/null_decrypter.h virtual bool Decrypt(base::StringPiece nonce, base 28 net/quic/crypto/null_decrypter.h base::StringPiece associated_data, base 29 net/quic/crypto/null_decrypter.h base::StringPiece ciphertext, base 33 net/quic/crypto/null_decrypter.h base::StringPiece associated_data, base 34 net/quic/crypto/null_decrypter.h base::StringPiece ciphertext) OVERRIDE; base 35 net/quic/crypto/null_decrypter.h virtual base::StringPiece GetKey() const OVERRIDE; base 36 net/quic/crypto/null_decrypter.h virtual base::StringPiece GetNoncePrefix() const OVERRIDE; base 8 net/quic/crypto/null_decrypter_test.cc using base::StringPiece; base 9 net/quic/crypto/null_encrypter.cc using base::StringPiece; base 23 net/quic/crypto/null_encrypter.h virtual bool SetKey(base::StringPiece key) OVERRIDE; base 24 net/quic/crypto/null_encrypter.h virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) OVERRIDE; base 25 net/quic/crypto/null_encrypter.h virtual bool Encrypt(base::StringPiece nonce, base 26 net/quic/crypto/null_encrypter.h base::StringPiece associated_data, base 27 net/quic/crypto/null_encrypter.h base::StringPiece plaintext, base 30 net/quic/crypto/null_encrypter.h base::StringPiece associated_data, base 31 net/quic/crypto/null_encrypter.h base::StringPiece plaintext) OVERRIDE; base 36 net/quic/crypto/null_encrypter.h virtual base::StringPiece GetKey() const OVERRIDE; base 37 net/quic/crypto/null_encrypter.h virtual base::StringPiece GetNoncePrefix() const OVERRIDE; base 8 net/quic/crypto/null_encrypter_test.cc using base::StringPiece; base 35 net/quic/crypto/p256_key_exchange.h static P256KeyExchange* New(base::StringPiece private_key); base 44 net/quic/crypto/p256_key_exchange.h virtual bool CalculateSharedKey(const base::StringPiece& peer_public_value, base 46 net/quic/crypto/p256_key_exchange.h virtual base::StringPiece public_value() const OVERRIDE; base 10 net/quic/crypto/p256_key_exchange_nss.cc using base::StringPiece; base 142 net/quic/crypto/p256_key_exchange_nss.cc private_key_size = base::ByteSwapToLE16(private_key_size); base 13 net/quic/crypto/p256_key_exchange_openssl.cc using base::StringPiece; base 32 net/quic/crypto/p256_key_exchange_test.cc const base::StringPiece alice_public(alice->public_value()); base 33 net/quic/crypto/p256_key_exchange_test.cc const base::StringPiece bob_public(bob->public_value()); base 98 net/quic/crypto/proof_test.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 283 net/quic/crypto/proof_test.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 27 net/quic/crypto/proof_verifier_chromium.cc using base::StringPiece; base 28 net/quic/crypto/proof_verifier_chromium.cc using base::StringPrintf; base 134 net/quic/crypto/proof_verifier_chromium.cc cert_pieces[i] = base::StringPiece(certs[i]); base 217 net/quic/crypto/proof_verifier_chromium.cc base::Bind(&ProofVerifierChromium::Job::OnIOComplete, base 218 net/quic/crypto/proof_verifier_chromium.cc base::Unretained(this)), base 22 net/quic/crypto/quic_crypto_client_config.cc using base::StringPiece; base 56 net/quic/crypto/quic_crypto_client_config.h QuicErrorCode SetServerConfig(base::StringPiece server_config, base 65 net/quic/crypto/quic_crypto_client_config.h base::StringPiece signature); base 88 net/quic/crypto/quic_crypto_client_config.h void set_source_address_token(base::StringPiece token); base 101 net/quic/crypto/quic_crypto_client_config.h bool Initialize(base::StringPiece server_config, base 102 net/quic/crypto/quic_crypto_client_config.h base::StringPiece source_address_token, base 104 net/quic/crypto/quic_crypto_client_config.h base::StringPiece signature, base 40 net/quic/crypto/quic_crypto_server_config.cc using base::StringPiece; base 329 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locked(configs_lock_); base 333 net/quic/crypto/quic_crypto_server_config.cc << base::HexEncode(config->id.data(), config->id.size()); base 382 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locked(configs_lock_); base 392 net/quic/crypto/quic_crypto_server_config.cc << "Keeping scid: " << base::HexEncode( base 394 net/quic/crypto/quic_crypto_server_config.cc << " orbit: " << base::HexEncode( base 405 net/quic/crypto/quic_crypto_server_config.cc VLOG(1) << "Adding scid: " << base::HexEncode( base 407 net/quic/crypto/quic_crypto_server_config.cc << " orbit: " << base::HexEncode( base 425 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locked(configs_lock_); base 445 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locked(configs_lock_); base 516 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locked(configs_lock_); base 805 net/quic/crypto/quic_crypto_server_config.cc << base::HexEncode( base 824 net/quic/crypto/quic_crypto_server_config.cc << base::HexEncode( base 895 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locked(strike_register_client_lock_); base 1062 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locked(strike_register_client_lock_); base 1163 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locker(strike_register_client_lock_); base 1173 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locker(strike_register_client_lock_); base 1180 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locker(strike_register_client_lock_); base 1187 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locker(strike_register_client_lock_); base 1216 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock locked(configs_lock_); base 1321 net/quic/crypto/quic_crypto_server_config.cc base::AutoLock auto_lock(server_nonce_strike_register_lock_); base 106 net/quic/crypto/quic_crypto_server_config.h QuicCryptoServerConfig(base::StringPiece source_address_token_secret, base 282 net/quic/crypto/quic_crypto_server_config.h public base::RefCounted<Config> { base 324 net/quic/crypto/quic_crypto_server_config.h friend class base::RefCounted<Config>; base 371 net/quic/crypto/quic_crypto_server_config.h bool ValidateSourceAddressToken(base::StringPiece token, base 383 net/quic/crypto/quic_crypto_server_config.h bool ValidateServerNonce(base::StringPiece echoed_server_nonce, base 394 net/quic/crypto/quic_crypto_server_config.h mutable base::Lock configs_lock_; base 408 net/quic/crypto/quic_crypto_server_config.h mutable base::Lock strike_register_client_lock_; base 426 net/quic/crypto/quic_crypto_server_config.h mutable base::Lock server_nonce_strike_register_lock_; base 20 net/quic/crypto/quic_crypto_server_config_test.cc using base::StringPiece; base 47 net/quic/crypto/quic_crypto_server_config_test.cc base::Lock* GetStrikeRegisterClientLock() { base 92 net/quic/crypto/quic_crypto_server_config_test.cc base::AutoLock locked(server_config_->configs_lock_); base 143 net/quic/crypto/quic_crypto_server_config_test.cc base::AutoLock locked(server_config_->configs_lock_); base 162 net/quic/crypto/quic_crypto_server_config_test.cc base::Lock* m = peer.GetStrikeRegisterClientLock(); base 166 net/quic/crypto/quic_crypto_server_config_test.cc base::AutoLock lock(*m); base 23 net/quic/crypto/quic_decrypter.h virtual bool SetKey(base::StringPiece key) = 0; base 40 net/quic/crypto/quic_decrypter.h virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) = 0; base 48 net/quic/crypto/quic_decrypter.h virtual bool Decrypt(base::StringPiece nonce, base 49 net/quic/crypto/quic_decrypter.h base::StringPiece associated_data, base 50 net/quic/crypto/quic_decrypter.h base::StringPiece ciphertext, base 61 net/quic/crypto/quic_decrypter.h base::StringPiece associated_data, base 62 net/quic/crypto/quic_decrypter.h base::StringPiece ciphertext) = 0; base 65 net/quic/crypto/quic_decrypter.h virtual base::StringPiece GetKey() const = 0; base 66 net/quic/crypto/quic_decrypter.h virtual base::StringPiece GetNoncePrefix() const = 0; base 23 net/quic/crypto/quic_encrypter.h virtual bool SetKey(base::StringPiece key) = 0; base 40 net/quic/crypto/quic_encrypter.h virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) = 0; base 47 net/quic/crypto/quic_encrypter.h virtual bool Encrypt(base::StringPiece nonce, base 48 net/quic/crypto/quic_encrypter.h base::StringPiece associated_data, base 49 net/quic/crypto/quic_encrypter.h base::StringPiece plaintext, base 57 net/quic/crypto/quic_encrypter.h base::StringPiece associated_data, base 58 net/quic/crypto/quic_encrypter.h base::StringPiece plaintext) = 0; base 80 net/quic/crypto/quic_encrypter.h virtual base::StringPiece GetKey() const = 0; base 81 net/quic/crypto/quic_encrypter.h virtual base::StringPiece GetNoncePrefix() const = 0; base 27 net/quic/crypto/source_address_token.cc string time_str = base::Int64ToString(timestamp_); base 49 net/quic/crypto/source_address_token.cc if (!base::StringToInt64(time_str, ×tamp)) { base 33 net/quic/crypto/source_address_token.h void set_ip(base::StringPiece ip) { base 43 net/quic/crypto/strike_register_client.h virtual bool IsKnownOrbit(base::StringPiece orbit) const = 0; base 48 net/quic/crypto/strike_register_client.h base::StringPiece nonce, base 15 net/quic/port_suggester.cc unsigned char hash_bytes[base::kSHA1Length]; base 16 net/quic/port_suggester.cc base::SHA1HashBytes( base 29 net/quic/port_suggester.cc unsigned char hash_bytes[base::kSHA1Length]; base 30 net/quic/port_suggester.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char *>(&seed_), base 24 net/quic/port_suggester.h : public base::RefCounted<PortSuggester> { base 36 net/quic/port_suggester.h friend class base::RefCounted<PortSuggester>; base 12 net/quic/quic_ack_notifier.cc using base::hash_map; base 21 net/quic/quic_ack_notifier.h : public base::RefCounted<DelegateInterface> { base 35 net/quic/quic_ack_notifier.h friend class base::RefCounted<DelegateInterface>; base 82 net/quic/quic_ack_notifier.h base::hash_map<QuicPacketSequenceNumber, PacketInfo> sequence_numbers_; base 59 net/quic/quic_ack_notifier_manager.h typedef base::hash_set<QuicAckNotifier*> AckNotifierSet; base 48 net/quic/quic_bandwidth.cc (8 * base::Time::kMicrosecondsPerSecond))); base 49 net/quic/quic_bandwidth.cc int64 bytes_per_second = (bytes * base::Time::kMicrosecondsPerSecond) / base 78 net/quic/quic_bandwidth.cc base::Time::kMicrosecondsPerSecond; base 83 net/quic/quic_bandwidth.cc base::Time::kMicrosecondsPerSecond; base 104 net/quic/quic_bandwidth.cc bytes * 8 * base::Time::kMicrosecondsPerSecond / bits_per_second_); base 83 net/quic/quic_client_session.cc const base::WeakPtr<QuicClientSession>& session, base 468 net/quic/quic_client_session.cc base::ResetAndReturn(&callback_).Run(OK); base 520 net/quic/quic_client_session.cc base::ResetAndReturn(&callback_).Run(ERR_QUIC_PROTOCOL_ERROR); base 571 net/quic/quic_client_session.cc base::Bind(&QuicClientSession::OnReadComplete, base 583 net/quic/quic_client_session.cc base::MessageLoop::current()->PostTask( base 585 net/quic/quic_client_session.cc base::Bind(&QuicClientSession::OnReadComplete, base 601 net/quic/quic_client_session.cc base::ResetAndReturn(&callback_).Run(net_error); base 630 net/quic/quic_client_session.cc base::Value* QuicClientSession::GetInfoAsValue( base 632 net/quic/quic_client_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 639 net/quic/quic_client_session.cc dict->SetString("connection_id", base::Uint64ToString(connection_id())); base 644 net/quic/quic_client_session.cc base::ListValue* alias_list = new base::ListValue(); base 647 net/quic/quic_client_session.cc alias_list->Append(new base::StringValue(it->ToString())); base 654 net/quic/quic_client_session.cc base::WeakPtr<QuicClientSession> QuicClientSession::GetWeakPtr() { base 705 net/quic/quic_client_session.cc base::MessageLoop::current()->PostTask( base 707 net/quic/quic_client_session.cc base::Bind(&QuicClientSession::NotifyFactoryOfSessionClosed, base 62 net/quic/quic_client_session.h int StartRequest(const base::WeakPtr<QuicClientSession>& session, base 82 net/quic/quic_client_session.h base::WeakPtr<QuicClientSession> session_; base 160 net/quic/quic_client_session.h base::Value* GetInfoAsValue(const std::set<HostPortPair>& aliases) const; base 164 net/quic/quic_client_session.h base::WeakPtr<QuicClientSession> GetWeakPtr(); base 236 net/quic/quic_client_session.h base::WeakPtrFactory<QuicClientSession> weak_factory_; base 87 net/quic/quic_client_session_test.cc DatagramSocket::DEFAULT_BIND, base::Bind(&base::RandInt), base 22 net/quic/quic_clock.cc return QuicTime(base::TimeTicks::Now()); base 26 net/quic/quic_clock.cc return QuicWallTime::FromUNIXSeconds(base::Time::Now().ToTimeT()); base 15 net/quic/quic_clock_test.cc QuicTime start(base::TimeTicks::Now()); base 17 net/quic/quic_clock_test.cc QuicTime end(base::TimeTicks::Now()); base 26 net/quic/quic_clock_test.cc base::Time start = base::Time::Now(); base 28 net/quic/quic_clock_test.cc base::Time end = base::Time::Now(); base 85 net/quic/quic_config_test.cc 10 * base::Time::kMicrosecondsPerMillisecond, base 86 net/quic/quic_config_test.cc 10 * base::Time::kMicrosecondsPerMillisecond); base 102 net/quic/quic_config_test.cc EXPECT_EQ(10 * base::Time::kMicrosecondsPerMillisecond, base 121 net/quic/quic_config_test.cc 10 * base::Time::kMicrosecondsPerMillisecond, base 122 net/quic/quic_config_test.cc 10 * base::Time::kMicrosecondsPerMillisecond); base 140 net/quic/quic_config_test.cc EXPECT_EQ(10 * base::Time::kMicrosecondsPerMillisecond, base 28 net/quic/quic_connection.cc using base::hash_map; base 29 net/quic/quic_connection.cc using base::hash_set; base 30 net/quic/quic_connection.cc using base::StringPiece; base 1662 net/quic/quic_connection.cc << base::debug::StackTrace().ToString(); base 172 net/quic/quic_connection.h base::StringPiece payload) {} base 312 net/quic/quic_connection.h virtual void OnFecProtectedPayload(base::StringPiece payload) OVERRIDE; base 23 net/quic/quic_connection_helper.cc base::TaskRunner* task_runner, base 52 net/quic/quic_connection_helper.cc base::Bind(&QuicChromeAlarm::OnAlarm, weak_factory_.GetWeakPtr()), base 53 net/quic/quic_connection_helper.cc base::TimeDelta::FromMicroseconds(delay_us)); base 82 net/quic/quic_connection_helper.cc base::TaskRunner* task_runner_; base 89 net/quic/quic_connection_helper.cc base::WeakPtrFactory<QuicChromeAlarm> weak_factory_; base 94 net/quic/quic_connection_helper.cc QuicConnectionHelper::QuicConnectionHelper(base::TaskRunner* task_runner, base 22 net/quic/quic_connection_helper.h namespace base { base 34 net/quic/quic_connection_helper.h QuicConnectionHelper(base::TaskRunner* task_runner, base 45 net/quic/quic_connection_helper.h base::WeakPtrFactory<QuicConnectionHelper> weak_factory_; base 46 net/quic/quic_connection_helper.h base::TaskRunner* task_runner_; base 62 net/quic/quic_connection_helper_test.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), base 80 net/quic/quic_connection_helper_test.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), base 100 net/quic/quic_connection_helper_test.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), base 23 net/quic/quic_connection_logger.cc using base::StringPiece; base 35 net/quic/quic_connection_logger.cc base::Value* NetLogQuicPacketCallback(const IPEndPoint* self_address, base 39 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 46 net/quic/quic_connection_logger.cc base::Value* NetLogQuicPacketSentCallback( base 53 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 57 net/quic/quic_connection_logger.cc base::Uint64ToString(sequence_number)); base 65 net/quic/quic_connection_logger.cc base::Value* NetLogQuicPacketRetransmittedCallback( base 69 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 71 net/quic/quic_connection_logger.cc base::Uint64ToString(old_sequence_number)); base 73 net/quic/quic_connection_logger.cc base::Uint64ToString(new_sequence_number)); base 77 net/quic/quic_connection_logger.cc base::Value* NetLogQuicPacketHeaderCallback(const QuicPacketHeader* header, base 79 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 81 net/quic/quic_connection_logger.cc base::Uint64ToString(header->public_header.connection_id)); base 85 net/quic/quic_connection_logger.cc base::Uint64ToString(header->packet_sequence_number)); base 92 net/quic/quic_connection_logger.cc base::Value* NetLogQuicStreamFrameCallback(const QuicStreamFrame* frame, base 94 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 97 net/quic/quic_connection_logger.cc dict->SetString("offset", base::Uint64ToString(frame->offset)); base 102 net/quic/quic_connection_logger.cc base::Value* NetLogQuicAckFrameCallback(const QuicAckFrame* frame, base 104 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 105 net/quic/quic_connection_logger.cc base::DictionaryValue* sent_info = new base::DictionaryValue(); base 108 net/quic/quic_connection_logger.cc base::Uint64ToString(frame->sent_info.least_unacked)); base 109 net/quic/quic_connection_logger.cc base::DictionaryValue* received_info = new base::DictionaryValue(); base 113 net/quic/quic_connection_logger.cc base::Uint64ToString(frame->received_info.largest_observed)); base 115 net/quic/quic_connection_logger.cc base::ListValue* missing = new base::ListValue(); base 121 net/quic/quic_connection_logger.cc missing->AppendString(base::Uint64ToString(*it)); base 126 net/quic/quic_connection_logger.cc base::Value* NetLogQuicCongestionFeedbackFrameCallback( base 129 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 133 net/quic/quic_connection_logger.cc base::ListValue* received = new base::ListValue(); base 138 net/quic/quic_connection_logger.cc string value = base::Uint64ToString(it->first) + "@" + base 139 net/quic/quic_connection_logger.cc base::Uint64ToString(it->second.ToDebuggingValue()); base 158 net/quic/quic_connection_logger.cc base::Value* NetLogQuicRstStreamFrameCallback( base 161 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 168 net/quic/quic_connection_logger.cc base::Value* NetLogQuicConnectionCloseFrameCallback( base 171 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 177 net/quic/quic_connection_logger.cc base::Value* NetLogQuicWindowUpdateFrameCallback( base 180 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 182 net/quic/quic_connection_logger.cc dict->SetString("byte_offset", base::Uint64ToString(frame->byte_offset)); base 186 net/quic/quic_connection_logger.cc base::Value* NetLogQuicBlockedFrameCallback( base 189 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 194 net/quic/quic_connection_logger.cc base::Value* NetLogQuicStopWaitingFrameCallback( base 197 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 198 net/quic/quic_connection_logger.cc base::DictionaryValue* sent_info = new base::DictionaryValue(); base 201 net/quic/quic_connection_logger.cc base::Uint64ToString(frame->least_unacked)); base 205 net/quic/quic_connection_logger.cc base::Value* NetLogQuicVersionNegotiationPacketCallback( base 208 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 209 net/quic/quic_connection_logger.cc base::ListValue* versions = new base::ListValue(); base 218 net/quic/quic_connection_logger.cc base::Value* NetLogQuicCryptoHandshakeMessageCallback( base 221 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 226 net/quic/quic_connection_logger.cc base::Value* NetLogQuicOnConnectionClosedCallback( base 230 net/quic/quic_connection_logger.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 333 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicStreamFrameCallback, frame.stream_frame)); base 338 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicAckFrameCallback, frame.ack_frame)); base 345 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicCongestionFeedbackFrameCallback, base 353 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicRstStreamFrameCallback, base 359 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicConnectionCloseFrameCallback, base 367 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicWindowUpdateFrameCallback, base 373 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicBlockedFrameCallback, base 379 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicStopWaitingFrameCallback, base 395 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicPacketSentCallback, sequence_number, level, base 404 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicPacketRetransmittedCallback, base 414 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicPacketCallback, &self_address, &peer_address, base 426 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicPacketHeaderCallback, &header)); base 454 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicStreamFrameCallback, &frame)); base 460 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicAckFrameCallback, &frame)); base 510 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicCongestionFeedbackFrameCallback, &frame)); base 517 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicStopWaitingFrameCallback, &frame)); base 525 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicRstStreamFrameCallback, &frame)); base 532 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicConnectionCloseFrameCallback, &frame)); base 546 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicVersionNegotiationPacketCallback, &packet)); base 551 net/quic/quic_connection_logger.cc base::StringPiece payload) { base 554 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicPacketHeaderCallback, &revived_header)); base 561 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicCryptoHandshakeMessageCallback, &message)); base 577 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicCryptoHandshakeMessageCallback, &message)); base 584 net/quic/quic_connection_logger.cc base::Bind(&NetLogQuicOnConnectionClosedCallback, error, from_peer)); base 594 net/quic/quic_connection_logger.cc base::HistogramBase* QuicConnectionLogger::GetPacketSequenceNumberHistogram( base 597 net/quic/quic_connection_logger.cc return base::LinearHistogram::FactoryGet( base 600 net/quic/quic_connection_logger.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 603 net/quic/quic_connection_logger.cc base::HistogramBase* QuicConnectionLogger::Get6PacketHistogram( base 608 net/quic/quic_connection_logger.cc return base::LinearHistogram::FactoryGet( base 610 net/quic/quic_connection_logger.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 613 net/quic/quic_connection_logger.cc base::HistogramBase* QuicConnectionLogger::Get21CumulativeHistogram( base 629 net/quic/quic_connection_logger.cc return base::LinearHistogram::FactoryGet( base 633 net/quic/quic_connection_logger.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 638 net/quic/quic_connection_logger.cc base::HistogramBase* histogram, base 674 net/quic/quic_connection_logger.cc base::HistogramBase* histogram = base::Histogram::FactoryGet( base 676 net/quic/quic_connection_logger.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 685 net/quic/quic_connection_logger.cc base::HistogramBase* is_not_ack_histogram = base 687 net/quic/quic_connection_logger.cc base::HistogramBase* is_an_ack_histogram = base 689 net/quic/quic_connection_logger.cc base::HistogramBase* packet_arrived_histogram = base 691 net/quic/quic_connection_logger.cc base::HistogramBase* packet_missing_histogram = base 693 net/quic/quic_connection_logger.cc base::HistogramBase* ongoing_cumulative_packet_histogram = base 695 net/quic/quic_connection_logger.cc base::HistogramBase* first_cumulative_packet_histogram = base 697 net/quic/quic_connection_logger.cc base::HistogramBase* six_packet_histogram = Get6PacketHistogram("Some6s_"); base 58 net/quic/quic_connection_logger.h base::StringPiece payload) OVERRIDE; base 72 net/quic/quic_connection_logger.h base::HistogramBase* GetPacketSequenceNumberHistogram( base 78 net/quic/quic_connection_logger.h base::HistogramBase* Get6PacketHistogram(const char* which_6) const; base 83 net/quic/quic_connection_logger.h base::HistogramBase* Get21CumulativeHistogram(const char* which_21) const; base 92 net/quic/quic_connection_logger.h static void AddTo21CumulativeHistogram(base::HistogramBase* histogram, base 30 net/quic/quic_connection_test.cc using base::StringPiece; base 145 net/quic/quic_crypto_server_stream.cc base::Base64Encode(string( base 43 net/quic/quic_crypto_server_stream_test.cc base::AutoLock lock(config.configs_lock_); base 16 net/quic/quic_crypto_stream.cc using base::StringPiece; base 10 net/quic/quic_data_reader.cc using base::StringPiece; base 74 net/quic/quic_data_reader.h bool ReadStringPiece16(base::StringPiece* result); base 80 net/quic/quic_data_reader.h bool ReadStringPiece(base::StringPiece* result, size_t len); base 88 net/quic/quic_data_reader.h base::StringPiece ReadRemainingPayload(); base 96 net/quic/quic_data_reader.h base::StringPiece PeekRemainingPayload(); base 12 net/quic/quic_data_stream.cc using base::StringPiece; base 76 net/quic/quic_data_stream.h virtual void OnStreamHeaders(base::StringPiece headers_data); base 19 net/quic/quic_data_stream_test.cc using base::StringPiece; base 14 net/quic/quic_data_writer.cc using base::StringPiece; base 50 net/quic/quic_data_writer.h bool WriteStringPiece16(base::StringPiece val); base 35 net/quic/quic_default_packet_writer.cc base::Bind(&QuicDefaultPacketWriter::OnWriteComplete, base 43 net/quic/quic_default_packet_writer.h base::WeakPtrFactory<QuicDefaultPacketWriter> weak_factory_; base 31 net/quic/quic_end_to_end_unittest.cc using base::StringPiece; base 114 net/quic/quic_end_to_end_unittest.cc base::IntToString(server_thread_->GetPort()); base 237 net/quic/quic_end_to_end_unittest.cc base::MessageLoop::current()->Run(); base 255 net/quic/quic_end_to_end_unittest.cc base::MessageLoop::current()->Run(); base 274 net/quic/quic_end_to_end_unittest.cc base::MessageLoop::current()->Run(); base 298 net/quic/quic_end_to_end_unittest.cc base::MessageLoop::current()->Run(); base 12 net/quic/quic_fec_group.cc using base::StringPiece; base 27 net/quic/quic_fec_group.h base::StringPiece decrypted_payload); base 55 net/quic/quic_fec_group.h const base::StringPiece payload_parity() const { base 56 net/quic/quic_fec_group.h return base::StringPiece(payload_parity_, payload_parity_len_); base 68 net/quic/quic_fec_group.h bool UpdateParity(base::StringPiece payload); base 16 net/quic/quic_fec_group_test.cc using base::StringPiece; base 19 net/quic/quic_framer.cc using base::StringPiece; base 103 net/quic/quic_framer.h virtual void OnFecProtectedPayload(base::StringPiece payload) = 0; base 149 net/quic/quic_framer.h base::StringPiece payload) = 0; base 242 net/quic/quic_framer.h base::StringPiece payload); base 289 net/quic/quic_framer.h static base::StringPiece GetAssociatedDataFromEncryptedPacket( base 25 net/quic/quic_framer_test.cc using base::hash_set; base 26 net/quic/quic_framer_test.cc using base::StringPiece; base 9 net/quic/quic_headers_stream.cc using base::StringPiece; base 16 net/quic/quic_headers_stream_test.cc using base::StringPiece; base 28 net/quic/quic_http_stream.cc QuicHttpStream::QuicHttpStream(const base::WeakPtr<QuicClientSession>& session) base 77 net/quic/quic_http_stream.cc session_, &stream_, base::Bind(&QuicHttpStream::OnStreamReady, base 379 net/quic/quic_http_stream.cc base::ResetAndReturn(&callback_).Run(rv); base 428 net/quic/quic_http_stream.cc base::Bind(&QuicRequestNetLogCallback, &request_headers_, priority_)); base 432 net/quic/quic_http_stream.cc base::Bind(&QuicRequestNetLogCallback, &request_headers_, priority_)); base 457 net/quic/quic_http_stream.cc base::Bind(&QuicHttpStream::OnIOComplete, weak_factory_.GetWeakPtr())); base 485 net/quic/quic_http_stream.cc base::StringPiece data(request_body_buf_->data(), len); base 488 net/quic/quic_http_stream.cc base::Bind(&QuicHttpStream::OnIOComplete, weak_factory_.GetWeakPtr())); base 532 net/quic/quic_http_stream.cc base::Bind(&SpdyHeaderBlockNetLogCallback, &headers)); base 30 net/quic/quic_http_stream.h explicit QuicHttpStream(const base::WeakPtr<QuicClientSession>& session); base 109 net/quic/quic_http_stream.h base::WeakPtr<QuicClientSession> session_; base 165 net/quic/quic_http_stream.h base::WeakPtrFactory<QuicHttpStream> weak_factory_; base 90 net/quic/quic_http_stream_test.cc explicit AutoClosingStream(const base::WeakPtr<QuicClientSession>& session) base 238 net/quic/quic_http_stream_test.cc base::StringPiece data) { base 23 net/quic/quic_http_utils.cc base::Value* QuicRequestNetLogCallback( base 27 net/quic/quic_http_utils.cc base::DictionaryValue* dict = static_cast<base::DictionaryValue*>( base 24 net/quic/quic_http_utils.h NET_EXPORT base::Value* QuicRequestNetLogCallback( base 127 net/quic/quic_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 133 net/quic/quic_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 136 net/quic/quic_network_transaction_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 175 net/quic/quic_network_transaction_unittest.cc base::StringPiece data) { base 14 net/quic/quic_packet_creator.cc using base::StringPiece; base 58 net/quic/quic_packet_creator.h base::StringPiece payload) OVERRIDE; base 17 net/quic/quic_packet_creator_test.cc using base::StringPiece; base 12 net/quic/quic_packet_generator.cc using base::StringPiece; base 19 net/quic/quic_packet_generator_test.cc using base::StringPiece; base 10 net/quic/quic_protocol.cc using base::StringPiece; base 853 net/quic/quic_protocol.h base::StringPiece redundancy; base 862 net/quic/quic_protocol.h base::StringPiece AsStringPiece() const { base 863 net/quic/quic_protocol.h return base::StringPiece(data(), length()); base 901 net/quic/quic_protocol.h base::StringPiece FecProtectedData() const; base 902 net/quic/quic_protocol.h base::StringPiece AssociatedData() const; base 903 net/quic/quic_protocol.h base::StringPiece BeforePlaintext() const; base 904 net/quic/quic_protocol.h base::StringPiece Plaintext() const; base 54 net/quic/quic_reliable_client_stream.cc base::ResetAndReturn(&callback_).Run(OK); base 66 net/quic/quic_reliable_client_stream.cc base::StringPiece data, base 66 net/quic/quic_reliable_client_stream.h int WriteStreamData(base::StringPiece data, base 143 net/quic/quic_reliable_client_stream_test.cc EXPECT_EQ(OK, stream_->WriteStreamData(base::StringPiece(kData1, kDataLen), base 159 net/quic/quic_reliable_client_stream_test.cc stream_->WriteStreamData(base::StringPiece(kData1, kDataLen), base 1047 net/quic/quic_sent_packet_manager_test.cc 1 * base::Time::kMicrosecondsPerMillisecond); base 1053 net/quic/quic_sent_packet_manager_test.cc 100 * base::Time::kMicrosecondsPerMillisecond); base 1077 net/quic/quic_sent_packet_manager_test.cc 1 * base::Time::kMicrosecondsPerMillisecond); base 1083 net/quic/quic_sent_packet_manager_test.cc 100 * base::Time::kMicrosecondsPerMillisecond); base 13 net/quic/quic_session.cc using base::StringPiece; base 14 net/quic/quic_session.cc using base::hash_map; base 15 net/quic/quic_session.cc using base::hash_set; base 79 net/quic/quic_session.h base::StringPiece headers_data); base 203 net/quic/quic_session.h typedef base::hash_map<QuicStreamId, QuicDataStream*> DataStreamMap; base 235 net/quic/quic_session.h base::hash_map<QuicStreamId, QuicDataStream*>* streams() { base 239 net/quic/quic_session.h const base::hash_map<QuicStreamId, QuicDataStream*>* streams() const { base 278 net/quic/quic_session.h base::hash_set<QuicStreamId> implicitly_created_streams_; base 28 net/quic/quic_session_test.cc using base::hash_map; base 68 net/quic/quic_stream_factory.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 109 net/quic/quic_stream_factory.cc base::StringPiece method, base 156 net/quic/quic_stream_factory.cc base::TimeTicks disk_cache_load_start_time_; base 157 net/quic/quic_stream_factory.cc base::WeakPtrFactory<Job> weak_factory_; base 166 net/quic/quic_stream_factory.cc base::StringPiece method, base 235 net/quic/quic_stream_factory.cc disk_cache_load_start_time_ = base::TimeTicks::Now(); base 244 net/quic/quic_stream_factory.cc base::Bind(&QuicStreamFactory::Job::OnIOComplete, base 272 net/quic/quic_stream_factory.cc base::Bind(&QuicStreamFactory::Job::OnIOComplete, base 279 net/quic/quic_stream_factory.cc base::TimeTicks::Now() - disk_cache_load_start_time_); base 307 net/quic/quic_stream_factory.cc base::Bind(&QuicStreamFactory::Job::OnIOComplete, base 308 net/quic/quic_stream_factory.cc base::Unretained(this))); base 342 net/quic/quic_stream_factory.cc base::StringPiece method, base 381 net/quic/quic_stream_factory.cc base::WeakPtr<HttpServerProperties> http_server_properties, base 415 net/quic/quic_stream_factory.cc base::CPU cpu; base 431 net/quic/quic_stream_factory.cc base::StringPiece method, base 458 net/quic/quic_stream_factory.cc int rv = job->Run(base::Bind(&QuicStreamFactory::OnJobComplete, base 459 net/quic/quic_stream_factory.cc base::Unretained(this), job.get())); base 570 net/quic/quic_stream_factory.cc base::TimeDelta delay = base 571 net/quic/quic_stream_factory.cc base::TimeDelta::FromSeconds(kBrokenAlternateProtocolDelaySecs); base 574 net/quic/quic_stream_factory.cc entry.when = base::TimeTicks::Now() + delay * (1 << (count - 1)); base 587 net/quic/quic_stream_factory.cc network_stats.rtt = base::TimeDelta::FromMicroseconds(stats.rtt); base 631 net/quic/quic_stream_factory.cc base::Value* QuicStreamFactory::QuicStreamFactoryInfoToValue() const { base 632 net/quic/quic_stream_factory.cc base::ListValue* list = new base::ListValue(); base 705 net/quic/quic_stream_factory.cc base::Bind(&PortSuggester::SuggestPort, port_suggester), base 744 net/quic/quic_stream_factory.cc base::MessageLoop::current()->message_loop_proxy().get(), base 816 net/quic/quic_stream_factory.cc base::TimeTicks now = base::TimeTicks::Now(); base 834 net/quic/quic_stream_factory.cc base::TimeTicks now = base::TimeTicks::Now(); base 835 net/quic/quic_stream_factory.cc base::TimeTicks when = broken_alternate_protocol_list_.front().when; base 836 net/quic/quic_stream_factory.cc base::TimeDelta delay = when > now ? when - now : base::TimeDelta(); base 837 net/quic/quic_stream_factory.cc base::MessageLoop::current()->PostDelayedTask( base 839 net/quic/quic_stream_factory.cc base::Bind(&QuicStreamFactory::ExpireBrokenAlternateProtocolMappings, base 58 net/quic/quic_stream_factory.h base::StringPiece method, base 92 net/quic/quic_stream_factory.h base::WeakPtr<HttpServerProperties> http_server_properties, base 113 net/quic/quic_stream_factory.h base::StringPiece method, base 133 net/quic/quic_stream_factory.h base::Value* QuicStreamFactoryInfoToValue() const; base 224 net/quic/quic_stream_factory.h base::WeakPtr<HttpServerProperties> http_server_properties_; base 251 net/quic/quic_stream_factory.h base::TimeTicks when; base 287 net/quic/quic_stream_factory.h base::WeakPtrFactory<QuicStreamFactory> weak_factory_; base 30 net/quic/quic_stream_factory_test.cc using base::StringPiece; base 93 net/quic/quic_stream_factory_test.cc base::WeakPtr<HttpServerProperties>(), base 483 net/quic/quic_stream_factory_test.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 547 net/quic/quic_stream_factory_test.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 786 net/quic/quic_stream_factory_test.cc base::RunLoop run_loop; base 20 net/quic/quic_stream_sequencer_test.cc using base::StringPiece; base 502 net/quic/quic_stream_sequencer_test.cc return base::RandInt(1, n); base 507 net/quic/quic_stream_sequencer_test.cc if (base::RandUint64() % 2 != 0) { base 508 net/quic/quic_stream_sequencer_test.cc to_process = base::RandInt(0, len); base 14 net/quic/quic_time.cc QuicTime::Delta::Delta(base::TimeDelta delta) base 30 net/quic/quic_time.cc return QuicTime::Delta(base::TimeDelta::FromSeconds(seconds)); base 35 net/quic/quic_time.cc return QuicTime::Delta(base::TimeDelta::FromMilliseconds(ms)); base 40 net/quic/quic_time.cc return QuicTime::Delta(base::TimeDelta::FromMicroseconds(us)); base 89 net/quic/quic_time.cc return QuicTime(base::TimeTicks()); base 97 net/quic/quic_time.cc QuicTime::QuicTime(base::TimeTicks ticks) base 102 net/quic/quic_time.cc return (ticks_ - base::TimeTicks()).InMicroseconds(); base 106 net/quic/quic_time.cc return ticks_ != base::TimeTicks(); base 20 net/quic/quic_time.h static const uint64 kNumMicrosPerSecond = base::Time::kMicrosecondsPerSecond; base 31 net/quic/quic_time.h explicit Delta(base::TimeDelta delta); base 72 net/quic/quic_time.h base::TimeDelta delta_; base 78 net/quic/quic_time.h explicit QuicTime(base::TimeTicks ticks); base 108 net/quic/quic_time.h base::TimeTicks ticks_; base 18 net/quic/quic_utils.cc using base::StringPiece; base 268 net/quic/quic_utils.cc return base::UintToString(orig_tag); base 281 net/quic/quic_utils.cc base::StringAppendF(&s, "0x%04x: ", offset); // Do the line header base 284 net/quic/quic_utils.cc base::StringAppendF(&s, "%02x", static_cast<unsigned char>(p[i])); base 76 net/quic/quic_utils.h static std::string StringToHexASCIIDump(base::StringPiece in_buffer); base 88 net/quic/quic_utils.h inline IOVector MakeIOVector(base::StringPiece str) { base 10 net/quic/quic_utils_test.cc using base::StringPiece; base 12 net/quic/reliable_quic_stream.cc using base::StringPiece; base 111 net/quic/reliable_quic_stream.h base::StringPiece data, base 20 net/quic/reliable_quic_stream_test.cc using base::StringPiece; base 23 net/quic/test_tools/crypto_test_utils.cc using base::StringPiece; base 106 net/quic/test_tools/crypto_test_utils.h static CommonCertSets* MockCommonCertSets(base::StringPiece cert, base 16 net/quic/test_tools/crypto_test_utils_nss.cc using base::StringPiece; base 18 net/quic/test_tools/crypto_test_utils_openssl.cc using base::StringPiece; base 7 net/quic/test_tools/delayed_verify_strike_register_client.cc using base::StringPiece; base 28 net/quic/test_tools/delayed_verify_strike_register_client.h virtual void VerifyNonceIsValidAndUnique(base::StringPiece nonce, base 43 net/quic/test_tools/delayed_verify_strike_register_client.h VerifyArgs(base::StringPiece in_nonce, base 32 net/quic/test_tools/mock_clock.cc base::TimeTicks MockClock::NowInTicks() const { base 33 net/quic/test_tools/mock_clock.cc base::TimeTicks ticks; base 34 net/quic/test_tools/mock_clock.cc return ticks + base::TimeDelta::FromMicroseconds( base 29 net/quic/test_tools/mock_clock.h base::TimeTicks NowInTicks() const; base 14 net/quic/test_tools/mock_random.cc MockRandom::MockRandom(uint32 base) base 15 net/quic/test_tools/mock_random.cc : base_(base), base 17 net/quic/test_tools/mock_random.h explicit MockRandom(uint32 base); base 158 net/quic/test_tools/quic_test_packet_maker.cc base::StringPiece data) { base 178 net/quic/test_tools/quic_test_packet_maker.cc MakeIOVector(base::StringPiece(spdy_frame->data(), base 196 net/quic/test_tools/quic_test_packet_maker.cc MakeIOVector(base::StringPiece(spdy_frame->data(), base 51 net/quic/test_tools/quic_test_packet_maker.h base::StringPiece data); base 21 net/quic/test_tools/quic_test_utils.cc using base::StringPiece; base 539 net/quic/test_tools/quic_test_utils.cc bool DecodeHexString(const base::StringPiece& hex, std::string* bytes) { base 544 net/quic/test_tools/quic_test_utils.cc if (!base::HexStringToBytes(hex.as_string(), &v)) base 63 net/quic/test_tools/quic_test_utils.h bool DecodeHexString(const base::StringPiece& hex, std::string* bytes); base 119 net/quic/test_tools/quic_test_utils.h MOCK_METHOD1(OnFecProtectedPayload, void(base::StringPiece payload)); base 154 net/quic/test_tools/quic_test_utils.h virtual void OnFecProtectedPayload(base::StringPiece payload) OVERRIDE {} base 377 net/quic/test_tools/quic_test_utils.h base::StringPiece headers_data)); base 12 net/quic/test_tools/simple_quic_framer.cc using base::StringPiece; base 23 net/quic/test_tools/test_task_runner.cc const base::Closure& task, base 24 net/quic/test_tools/test_task_runner.cc base::TimeDelta delay) { base 25 net/quic/test_tools/test_task_runner.cc EXPECT_GE(delay, base::TimeDelta()); base 28 net/quic/test_tools/test_task_runner.cc base::TestPendingTask::NESTABLE)); base 22 net/quic/test_tools/test_task_runner.h typedef base::TestPendingTask PostedTask; base 24 net/quic/test_tools/test_task_runner.h class TestTaskRunner : public base::TaskRunner { base 30 net/quic/test_tools/test_task_runner.h const base::Closure& task, base 31 net/quic/test_tools/test_task_runner.h base::TimeDelta delay) OVERRIDE; base 155 net/server/http_server.cc if (!base::StringToSizeT(request.GetHeaderValue(kContentLength), base 287 net/server/http_server.cc base::TrimWhitespaceASCII(buffer, base::TRIM_LEADING, &header_value); base 25 net/server/http_server.h public base::RefCountedThreadSafe<HttpServer> { base 78 net/server/http_server.h friend class base::RefCountedThreadSafe<HttpServer>; base 45 net/server/http_server_response_info.cc base::StringPrintf("%" PRIuS, body.length())); base 50 net/server/http_server_response_info.cc std::string response = base::StringPrintf( base 41 net/server/http_server_unittest.cc void SetTimedOutAndQuitLoop(const base::WeakPtr<bool> timed_out, base 42 net/server/http_server_unittest.cc const base::Closure& quit_loop_func) { base 49 net/server/http_server_unittest.cc bool RunLoopWithTimeout(base::RunLoop* run_loop) { base 51 net/server/http_server_unittest.cc base::WeakPtrFactory<bool> timed_out_weak_factory(&timed_out); base 52 net/server/http_server_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 54 net/server/http_server_unittest.cc base::Bind(&SetTimedOutAndQuitLoop, base 57 net/server/http_server_unittest.cc base::TimeDelta::FromSeconds(1)); base 71 net/server/http_server_unittest.cc base::RunLoop run_loop; base 72 net/server/http_server_unittest.cc connect_result_ = socket_->Connect(base::Bind(&TestHttpClient::OnConnect, base 73 net/server/http_server_unittest.cc base::Unretained(this), base 90 net/server/http_server_unittest.cc void OnConnect(const base::Closure& quit_loop, int result) { base 99 net/server/http_server_unittest.cc base::Bind(&TestHttpClient::OnWrite, base::Unretained(this))); base 153 net/server/http_server_unittest.cc base::RunLoop run_loop; base 163 net/server/http_server_unittest.cc base::Closure run_loop_quit_func_; base 216 net/server/http_server_unittest.cc client.Send(base::StringPrintf( base 232 net/server/http_server_unittest.cc TestURLFetcherDelegate(const base::Closure& quit_loop_func) base 242 net/server/http_server_unittest.cc base::Closure quit_loop_func_; base 245 net/server/http_server_unittest.cc base::RunLoop run_loop; base 249 net/server/http_server_unittest.cc new TestURLRequestContextGetter(base::MessageLoopProxy::current())); base 251 net/server/http_server_unittest.cc URLFetcher::Create(GURL(base::StringPrintf("http://127.0.0.1:%d/test", base 257 net/server/http_server_unittest.cc base::StringPrintf("content-length:%d", 1 << 30)); base 284 net/server/http_server_unittest.cc std::string request = base::StringPrintf( base 303 net/server/http_server_unittest.cc client.Send(base::StringPrintf( base 39 net/server/web_socket.cc if (!base::StringToInt64(result, &number)) base 41 net/server/web_socket.cc return base::HostToNet32(static_cast<uint32>(number / spaces)); base 66 net/server/web_socket.cc base::MD5Digest digest; base 67 net/server/web_socket.cc base::MD5Sum(data, 16, &digest); base 72 net/server/web_socket.cc connection_->Send(base::StringPrintf( base 193 net/server/web_socket.cc std::string data = base::StringPrintf("%s%s", key.c_str(), kWebSocketGuid); base 195 net/server/web_socket.cc base::Base64Encode(base::SHA1HashString(data), &encoded_hash); base 197 net/server/web_socket.cc std::string response = base::StringPrintf( base 53 net/socket/buffered_write_stream_socket.cc base::MessageLoop::current()->PostTask( base 55 net/socket/buffered_write_stream_socket.cc base::Bind(&BufferedWriteStreamSocket::DoDelayedWrite, base 130 net/socket/buffered_write_stream_socket.cc base::Bind(&BufferedWriteStreamSocket::OnIOComplete, base 131 net/socket/buffered_write_stream_socket.cc base::Unretained(this))); base 14 net/socket/buffered_write_stream_socket.h namespace base { base 76 net/socket/buffered_write_stream_socket.h base::WeakPtrFactory<BufferedWriteStreamSocket> weak_factory_; base 22 net/socket/buffered_write_stream_socket_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 90 net/socket/buffered_write_stream_socket_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 43 net/socket/client_socket_factory.cc worker_pool_ = new base::SequencedWorkerPool(1, "NSS SSL Thread"); base 47 net/socket/client_socket_factory.cc base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); base 101 net/socket/client_socket_factory.cc scoped_refptr<base::SequencedTaskRunner> nss_task_runner( base 104 net/socket/client_socket_factory.cc nss_task_runner = base::ThreadTaskRunnerHandle::Get(); base 128 net/socket/client_socket_factory.cc scoped_refptr<base::SequencedWorkerPool> worker_pool_; base 129 net/socket/client_socket_factory.cc scoped_refptr<base::SequencedTaskRunner> nss_thread_task_runner_; base 132 net/socket/client_socket_factory.cc static base::LazyInstance<DefaultClientSocketFactory>::Leaky base 23 net/socket/client_socket_handle.cc callback_(base::Bind(&ClientSocketHandle::OnIOComplete, base 24 net/socket/client_socket_handle.cc base::Unretained(this))), base 66 net/socket/client_socket_handle.cc idle_time_ = base::TimeDelta(); base 67 net/socket/client_socket_handle.cc init_time_ = base::TimeTicks(); base 68 net/socket/client_socket_handle.cc setup_time_ = base::TimeDelta(); base 163 net/socket/client_socket_handle.cc setup_time_ = base::TimeTicks::Now() - init_time_; base 111 net/socket/client_socket_handle.h base::TimeTicks init_time() const { return init_time_; } base 114 net/socket/client_socket_handle.h base::TimeDelta setup_time() const { return setup_time_; } base 130 net/socket/client_socket_handle.h void set_idle_time(base::TimeDelta idle_time) { idle_time_ = idle_time; } base 165 net/socket/client_socket_handle.h base::TimeDelta idle_time() const { return idle_time_; } base 198 net/socket/client_socket_handle.h base::TimeDelta idle_time_; base 203 net/socket/client_socket_handle.h base::TimeTicks init_time_; base 204 net/socket/client_socket_handle.h base::TimeDelta setup_time_; base 230 net/socket/client_socket_handle.h init_time_ = base::TimeTicks::Now(); base 25 net/socket/client_socket_pool.cc base::TimeDelta ClientSocketPool::unused_idle_socket_timeout() { base 26 net/socket/client_socket_pool.cc return base::TimeDelta::FromSeconds(g_unused_idle_socket_timeout_s); base 30 net/socket/client_socket_pool.cc void ClientSocketPool::set_unused_idle_socket_timeout(base::TimeDelta timeout) { base 36 net/socket/client_socket_pool.cc base::TimeDelta ClientSocketPool::used_idle_socket_timeout() { base 37 net/socket/client_socket_pool.cc return base::TimeDelta::FromSeconds(g_used_idle_socket_timeout_s); base 41 net/socket/client_socket_pool.cc void ClientSocketPool::set_used_idle_socket_timeout(base::TimeDelta timeout) { base 22 net/socket/client_socket_pool.h namespace base { base 165 net/socket/client_socket_pool.h virtual base::DictionaryValue* GetInfoAsValue( base 177 net/socket/client_socket_pool.h static base::TimeDelta unused_idle_socket_timeout(); base 178 net/socket/client_socket_pool.h static void set_unused_idle_socket_timeout(base::TimeDelta timeout); base 180 net/socket/client_socket_pool.h static base::TimeDelta used_idle_socket_timeout(); base 181 net/socket/client_socket_pool.h static void set_used_idle_socket_timeout(base::TimeDelta timeout); base 188 net/socket/client_socket_pool.h virtual base::TimeDelta ConnectionTimeout() const = 0; base 19 net/socket/client_socket_pool_base.cc using base::TimeDelta; base 44 net/socket/client_socket_pool_base.cc base::TimeDelta timeout_duration, base 69 net/socket/client_socket_pool_base.cc if (timeout_duration_ != base::TimeDelta()) base 103 net/socket/client_socket_pool_base.cc void ConnectJob::ResetTimer(base::TimeDelta remaining_time) { base 109 net/socket/client_socket_pool_base.cc connect_timing_.connect_start = base::TimeTicks::Now(); base 114 net/socket/client_socket_pool_base.cc connect_timing_.connect_end = base::TimeTicks::Now(); base 153 net/socket/client_socket_pool_base.cc base::TimeDelta unused_idle_socket_timeout, base 154 net/socket/client_socket_pool_base.cc base::TimeDelta used_idle_socket_timeout, base 282 net/socket/client_socket_pool_base.cc base::MessageLoop::current()->PostTask( base 284 net/socket/client_socket_pool_base.cc base::Bind( base 404 net/socket/client_socket_pool_base.cc connect_job->connect_timing(), handle, base::TimeDelta(), base 430 net/socket/client_socket_pool_base.cc connect_job->connect_timing(), handle, base::TimeDelta(), base 474 net/socket/client_socket_pool_base.cc base::TimeDelta idle_time = base 475 net/socket/client_socket_pool_base.cc base::TimeTicks::Now() - idle_socket_it->start_time; base 590 net/socket/client_socket_pool_base.cc base::DictionaryValue* ClientSocketPoolBaseHelper::GetInfoAsValue( base 592 net/socket/client_socket_pool_base.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 605 net/socket/client_socket_pool_base.cc base::DictionaryValue* all_groups_dict = new base::DictionaryValue(); base 609 net/socket/client_socket_pool_base.cc base::DictionaryValue* group_dict = new base::DictionaryValue(); base 621 net/socket/client_socket_pool_base.cc base::ListValue* idle_socket_list = new base::ListValue(); base 627 net/socket/client_socket_pool_base.cc idle_socket_list->Append(new base::FundamentalValue(source_id)); base 631 net/socket/client_socket_pool_base.cc base::ListValue* connect_jobs_list = new base::ListValue(); base 635 net/socket/client_socket_pool_base.cc connect_jobs_list->Append(new base::FundamentalValue(source_id)); base 658 net/socket/client_socket_pool_base.cc base::TimeTicks now, base 659 net/socket/client_socket_pool_base.cc base::TimeDelta timeout) const { base 672 net/socket/client_socket_pool_base.cc base::TimeTicks now = base::TimeTicks::Now(); base 680 net/socket/client_socket_pool_base.cc base::TimeDelta timeout = base 892 net/socket/client_socket_pool_base.cc request->handle(), base::TimeDelta(), group, request->net_log()); base 912 net/socket/client_socket_pool_base.cc connect_timing, request->handle(), base::TimeDelta(), base 979 net/socket/client_socket_pool_base.cc base::TimeDelta idle_time, base 1010 net/socket/client_socket_pool_base.cc idle_socket.start_time = base::TimeTicks::Now(); base 1115 net/socket/client_socket_pool_base.cc base::MessageLoop::current()->PostTask( base 1117 net/socket/client_socket_pool_base.cc base::Bind(&ClientSocketPoolBaseHelper::InvokeUserCallback, base 1165 net/socket/client_socket_pool_base.cc base::Bind(&Group::OnBackupJobTimerFired, base::Unretained(this), base 79 net/socket/client_socket_pool_base.h base::TimeDelta timeout_duration, base 120 net/socket/client_socket_pool_base.h void ResetTimer(base::TimeDelta remainingTime); base 135 net/socket/client_socket_pool_base.h const base::TimeDelta timeout_duration_; base 139 net/socket/client_socket_pool_base.h base::OneShotTimer<ConnectJob> timer_; base 208 net/socket/client_socket_pool_base.h virtual base::TimeDelta ConnectionTimeout() const = 0; base 218 net/socket/client_socket_pool_base.h base::TimeDelta unused_idle_socket_timeout, base 219 net/socket/client_socket_pool_base.h base::TimeDelta used_idle_socket_timeout, base 273 net/socket/client_socket_pool_base.h base::TimeDelta ConnectRetryInterval() const { base 276 net/socket/client_socket_pool_base.h return base::TimeDelta::FromMilliseconds( base 317 net/socket/client_socket_pool_base.h base::DictionaryValue* GetInfoAsValue(const std::string& name, base 320 net/socket/client_socket_pool_base.h base::TimeDelta ConnectionTimeout() const { base 336 net/socket/client_socket_pool_base.h friend class base::RefCounted<ClientSocketPoolBaseHelper>; base 355 net/socket/client_socket_pool_base.h bool ShouldCleanup(base::TimeTicks now, base::TimeDelta timeout) const; base 358 net/socket/client_socket_pool_base.h base::TimeTicks start_time; base 484 net/socket/client_socket_pool_base.h base::OneShotTimer<Group> backup_job_timer_; base 540 net/socket/client_socket_pool_base.h base::TimeDelta time_idle, base 605 net/socket/client_socket_pool_base.h base::RepeatingTimer<ClientSocketPoolBaseHelper> timer_; base 626 net/socket/client_socket_pool_base.h const base::TimeDelta unused_idle_socket_timeout_; base 627 net/socket/client_socket_pool_base.h const base::TimeDelta used_idle_socket_timeout_; base 652 net/socket/client_socket_pool_base.h base::WeakPtrFactory<ClientSocketPoolBaseHelper> weak_factory_; base 691 net/socket/client_socket_pool_base.h virtual base::TimeDelta ConnectionTimeout() const = 0; base 708 net/socket/client_socket_pool_base.h base::TimeDelta unused_idle_socket_timeout, base 709 net/socket/client_socket_pool_base.h base::TimeDelta used_idle_socket_timeout, base 819 net/socket/client_socket_pool_base.h base::DictionaryValue* GetInfoAsValue(const std::string& name, base 824 net/socket/client_socket_pool_base.h base::TimeDelta ConnectionTimeout() const { base 865 net/socket/client_socket_pool_base.h virtual base::TimeDelta ConnectionTimeout() const { base 100 net/socket/client_socket_pool_base_unittest.cc class TestSocketParams : public base::RefCounted<TestSocketParams> { base 273 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta timeout_duration, base 336 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 338 net/socket/client_socket_pool_base_unittest.cc base::Bind(base::IgnoreResult(&TestConnectJob::DoConnect), base 343 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromMilliseconds(kPendingConnectDelay)); base 347 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 349 net/socket/client_socket_pool_base_unittest.cc base::Bind(base::IgnoreResult(&TestConnectJob::DoConnect), base 354 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromMilliseconds(2)); base 366 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 368 net/socket/client_socket_pool_base_unittest.cc base::Bind(base::IgnoreResult(&TestConnectJob::DoConnect), base 373 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromMilliseconds(2)); base 382 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 384 net/socket/client_socket_pool_base_unittest.cc base::Bind(base::IgnoreResult(&TestConnectJob::DoConnect), base 389 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromMilliseconds(2)); base 426 net/socket/client_socket_pool_base_unittest.cc base::WeakPtrFactory<TestConnectJob> weak_factory_; base 451 net/socket/client_socket_pool_base_unittest.cc void set_timeout_duration(base::TimeDelta timeout_duration) { base 476 net/socket/client_socket_pool_base_unittest.cc virtual base::TimeDelta ConnectionTimeout() const OVERRIDE { base 483 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta timeout_duration_; base 498 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta unused_idle_socket_timeout, base 499 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta used_idle_socket_timeout, base 579 net/socket/client_socket_pool_base_unittest.cc virtual base::DictionaryValue* GetInfoAsValue( base 586 net/socket/client_socket_pool_base_unittest.cc virtual base::TimeDelta ConnectionTimeout() const OVERRIDE { base 664 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->Quit(); base 671 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->Run(); base 713 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta unused_idle_socket_timeout, base 714 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta used_idle_socket_timeout) { base 779 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromMicroseconds(1), base 800 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromMicroseconds(1), base 805 net/socket/client_socket_pool_base_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(1)); base 1064 net/socket/client_socket_pool_base_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 1065 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1154 net/socket/client_socket_pool_base_unittest.cc EXPECT_EQ(OK, handles[i].Init(base::IntToString(i), base 1193 net/socket/client_socket_pool_base_unittest.cc EXPECT_EQ(ERR_IO_PENDING, handles[i].Init(base::IntToString(i), base 1249 net/socket/client_socket_pool_base_unittest.cc EXPECT_EQ(OK, handles[i].Init(base::StringPrintf( base 1291 net/socket/client_socket_pool_base_unittest.cc EXPECT_EQ(OK, handle.Init(base::IntToString(i), base 1300 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1472 net/socket/client_socket_pool_base_unittest.cc callback_(base::Bind(&RequestSocketCallback::OnComplete, base 1473 net/socket/client_socket_pool_base_unittest.cc base::Unretained(this))) { base 1496 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 1497 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()); base 1498 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1524 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 1525 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()); base 1526 net/socket/client_socket_pool_base_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 1698 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1884 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2207 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta(), // Time out unused sockets immediately. base 2208 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromDays(1)); // Don't time out used sockets. base 2262 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta(), // Time out unused sockets immediately base 2263 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta()); // Time out used sockets immediately base 2306 net/socket/client_socket_pool_base_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 2307 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2340 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta(), // Time out unused sockets immediately. base 2341 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromDays(1)); // Don't time out used sockets. base 2384 net/socket/client_socket_pool_base_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); base 2385 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2414 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta(), // Time out unused sockets immediately. base 2415 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromDays(1)); // Don't time out used sockets. base 2480 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta(), // Time out unused sockets immediately. base 2481 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromDays(1)); // Don't time out used sockets. base 2537 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2590 net/socket/client_socket_pool_base_unittest.cc callback_(base::Bind(&TestReleasingSocketRequest::OnComplete, base 2591 net/socket/client_socket_pool_base_unittest.cc base::Unretained(this))) { base 2694 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2715 net/socket/client_socket_pool_base_unittest.cc callback_(base::Bind(&ConnectWithinCallback::OnComplete, base 2716 net/socket/client_socket_pool_base_unittest.cc base::Unretained(this))) { base 2804 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2810 net/socket/client_socket_pool_base_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 2813 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2840 net/socket/client_socket_pool_base_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 2842 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2879 net/socket/client_socket_pool_base_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 2881 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2925 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2941 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2983 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2999 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3043 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3059 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3690 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromMilliseconds(500)); base 3700 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 3702 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::QuitClosure(), base 3703 net/socket/client_socket_pool_base_unittest.cc base::TimeDelta::FromSeconds(1)); base 3704 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->Run(); base 3718 net/socket/client_socket_pool_base_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3956 net/socket/client_socket_pool_base_unittest.cc base::RunLoop().RunUntilIdle(); base 4021 net/socket/client_socket_pool_base_unittest.cc base::RunLoop().RunUntilIdle(); base 16 net/socket/client_socket_pool_histograms.cc using base::Histogram; base 17 net/socket/client_socket_pool_histograms.cc using base::HistogramBase; base 18 net/socket/client_socket_pool_histograms.cc using base::LinearHistogram; base 19 net/socket/client_socket_pool_histograms.cc using base::CustomHistogram; base 32 net/socket/client_socket_pool_histograms.cc base::TimeDelta::FromMilliseconds(1), base 33 net/socket/client_socket_pool_histograms.cc base::TimeDelta::FromMinutes(10), base 38 net/socket/client_socket_pool_histograms.cc base::TimeDelta::FromMilliseconds(1), base 39 net/socket/client_socket_pool_histograms.cc base::TimeDelta::FromMinutes(6), base 44 net/socket/client_socket_pool_histograms.cc base::TimeDelta::FromMilliseconds(1), base 45 net/socket/client_socket_pool_histograms.cc base::TimeDelta::FromMinutes(6), base 66 net/socket/client_socket_pool_histograms.cc void ClientSocketPoolHistograms::AddRequestTime(base::TimeDelta time) const { base 70 net/socket/client_socket_pool_histograms.cc void ClientSocketPoolHistograms::AddUnusedIdleTime(base::TimeDelta time) const { base 74 net/socket/client_socket_pool_histograms.cc void ClientSocketPoolHistograms::AddReusedIdleTime(base::TimeDelta time) const { base 14 net/socket/client_socket_pool_histograms.h namespace base { base 26 net/socket/client_socket_pool_histograms.h void AddRequestTime(base::TimeDelta time) const; base 27 net/socket/client_socket_pool_histograms.h void AddUnusedIdleTime(base::TimeDelta time) const; base 28 net/socket/client_socket_pool_histograms.h void AddReusedIdleTime(base::TimeDelta time) const; base 32 net/socket/client_socket_pool_histograms.h base::HistogramBase* socket_type_; base 33 net/socket/client_socket_pool_histograms.h base::HistogramBase* request_time_; base 34 net/socket/client_socket_pool_histograms.h base::HistogramBase* unused_idle_time_; base 35 net/socket/client_socket_pool_histograms.h base::HistogramBase* reused_idle_time_; base 36 net/socket/client_socket_pool_histograms.h base::HistogramBase* error_code_; base 208 net/socket/client_socket_pool_manager.cc connection_group = base::StringPrintf( base 19 net/socket/client_socket_pool_manager.h namespace base { base 25 net/socket/client_socket_pool_manager.h typedef base::Callback<int(const AddressList&, const BoundNetLog& net_log)> base 82 net/socket/client_socket_pool_manager.h virtual base::Value* SocketPoolInfoToValue() const = 0; base 22 net/socket/client_socket_pool_manager_impl.cc void AddSocketPoolsToList(base::ListValue* list, base 349 net/socket/client_socket_pool_manager_impl.cc base::Value* ClientSocketPoolManagerImpl::SocketPoolInfoToValue() const { base 350 net/socket/client_socket_pool_manager_impl.cc base::ListValue* list = new base::ListValue(); base 45 net/socket/client_socket_pool_manager_impl.h COMPILE_ASSERT(base::is_pointer<Value>::value, base 56 net/socket/client_socket_pool_manager_impl.h class ClientSocketPoolManagerImpl : public base::NonThreadSafe, base 91 net/socket/client_socket_pool_manager_impl.h virtual base::Value* SocketPoolInfoToValue() const OVERRIDE; base 83 net/socket/deterministic_socket_data_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 175 net/socket/deterministic_socket_data_unittest.cc base::Bind(&DeterministicSocketDataTest::ReentrantReadCallback, base 176 net/socket/deterministic_socket_data_unittest.cc base::Unretained(this), base 188 net/socket/deterministic_socket_data_unittest.cc base::Bind(&DeterministicSocketDataTest::ReentrantWriteCallback, base 189 net/socket/deterministic_socket_data_unittest.cc base::Unretained(this), base 338 net/socket/deterministic_socket_data_unittest.cc base::Bind(&DeterministicSocketDataTest::ReentrantReadCallback, base 339 net/socket/deterministic_socket_data_unittest.cc base::Unretained(this), base 483 net/socket/deterministic_socket_data_unittest.cc base::Bind(&DeterministicSocketDataTest::ReentrantWriteCallback, base 484 net/socket/deterministic_socket_data_unittest.cc base::Unretained(this), base 89 net/socket/mock_client_socket_pool_manager.cc base::Value* MockClientSocketPoolManager::SocketPoolInfoToValue() const { base 40 net/socket/mock_client_socket_pool_manager.h virtual base::Value* SocketPoolInfoToValue() const OVERRIDE; base 99 net/socket/nss_ssl_util.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 164 net/socket/nss_ssl_util.cc base::CPU cpu; base 204 net/socket/nss_ssl_util.cc static base::LazyInstance<NSSSSLInitSingleton>::Leaky g_nss_ssl_init_singleton = base 215 net/socket/nss_ssl_util.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 378 net/socket/nss_ssl_util.cc base::Value* NetLogSSLFailedNSSFunctionCallback( base 383 net/socket/nss_ssl_util.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 398 net/socket/nss_ssl_util.cc base::Bind(&NetLogSSLFailedNSSFunctionCallback, base 40 net/socket/socket_descriptor.cc base::win::OSInfo::GetInstance()->version() >= base::win::VERSION_VISTA) { base 17 net/socket/socket_net_log_params.cc base::Value* NetLogSocketErrorCallback(int net_error, base 20 net/socket/socket_net_log_params.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 26 net/socket/socket_net_log_params.cc base::Value* NetLogHostPortPairCallback(const HostPortPair* host_and_port, base 28 net/socket/socket_net_log_params.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 33 net/socket/socket_net_log_params.cc base::Value* NetLogIPEndPointCallback(const IPEndPoint* address, base 35 net/socket/socket_net_log_params.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 40 net/socket/socket_net_log_params.cc base::Value* NetLogSourceAddressCallback(const struct sockaddr* net_address, base 43 net/socket/socket_net_log_params.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 53 net/socket/socket_net_log_params.cc return base::Bind(&NetLogSocketErrorCallback, net_error, os_error); base 58 net/socket/socket_net_log_params.cc return base::Bind(&NetLogHostPortPairCallback, host_and_port); base 63 net/socket/socket_net_log_params.cc return base::Bind(&NetLogIPEndPointCallback, address); base 69 net/socket/socket_net_log_params.cc return base::Bind(&NetLogSourceAddressCallback, net_address, address_len); base 193 net/socket/socket_test_util.cc reads_[read_index_].time_stamp = base::Time::Now(); base 212 net/socket/socket_test_util.cc w->time_stamp = base::Time::Now(); base 333 net/socket/socket_test_util.cc base::MessageLoop::current()->PostDelayedTask( base 335 net/socket/socket_test_util.cc base::Bind(&DelayedSocketData::CompleteRead, base 337 net/socket/socket_test_util.cc base::TimeDelta::FromMilliseconds(100)); base 424 net/socket/socket_test_util.cc base::MessageLoop::current()->PostDelayedTask( base 426 net/socket/socket_test_util.cc base::Bind(&OrderedSocketData::CompleteRead, base 428 net/socket/socket_test_util.cc base::TimeDelta::FromMilliseconds(100)); base 480 net/socket/socket_test_util.cc base::RunLoop().RunUntilIdle(); base 492 net/socket/socket_test_util.cc base::RunLoop().RunUntilIdle(); base 759 net/socket/socket_test_util.cc int MockClientSocket::ExportKeyingMaterial(const base::StringPiece& label, base 761 net/socket/socket_test_util.cc const base::StringPiece& context, base 795 net/socket/socket_test_util.cc base::MessageLoop::current()->PostTask( base 797 net/socket/socket_test_util.cc base::Bind(&MockClientSocket::RunCallback, base 1340 net/socket/socket_test_util.cc base::Bind(&ConnectCallback, base::Unretained(this), callback)); base 1609 net/socket/socket_test_util.cc base::MessageLoop::current()->PostTask( base 1611 net/socket/socket_test_util.cc base::Bind(&MockUDPClientSocket::RunCallback, base 1627 net/socket/socket_test_util.cc callback_(base::Bind(&TestSocketRequest::OnComplete, base 1628 net/socket/socket_test_util.cc base::Unretained(this))) { base 1670 net/socket/socket_test_util.cc base::RunLoop().RunUntilIdle(); base 1696 net/socket/socket_test_util.cc int rv = socket_->Connect(base::Bind(&MockConnectJob::OnConnect, base 1697 net/socket/socket_test_util.cc base::Unretained(this))); base 1724 net/socket/socket_test_util.cc base::TimeTicks now = base::TimeTicks::Now(); base 106 net/socket/socket_test_util.h time_stamp(base::Time::Now()) {} base 115 net/socket/socket_test_util.h time_stamp(base::Time::Now()) {} base 124 net/socket/socket_test_util.h time_stamp(base::Time::Now()) {} base 133 net/socket/socket_test_util.h time_stamp(base::Time::Now()) {} base 142 net/socket/socket_test_util.h time_stamp(base::Time::Now()) {} base 151 net/socket/socket_test_util.h time_stamp(base::Time::Now()) {} base 160 net/socket/socket_test_util.h time_stamp(base::Time::Now()) {} base 169 net/socket/socket_test_util.h time_stamp(base::Time::Now()) {} base 181 net/socket/socket_test_util.h base::Time time_stamp; // The time stamp at which the operation occurred. base 382 net/socket/socket_test_util.h base::WeakPtrFactory<DelayedSocketData> weak_factory_; base 437 net/socket/socket_test_util.h base::WeakPtrFactory<OrderedSocketData> weak_factory_; base 551 net/socket/socket_test_util.h void set_delegate(base::WeakPtr<Delegate> delegate) { delegate_ = delegate; } base 582 net/socket/socket_test_util.h base::WeakPtr<Delegate> delegate_; base 695 net/socket/socket_test_util.h virtual int ExportKeyingMaterial(const base::StringPiece& label, base 697 net/socket/socket_test_util.h const base::StringPiece& context, base 722 net/socket/socket_test_util.h base::WeakPtrFactory<MockClientSocket> weak_factory_; base 834 net/socket/socket_test_util.h public base::SupportsWeakPtr<DeterministicMockUDPClientSocket> { base 885 net/socket/socket_test_util.h public base::SupportsWeakPtr<DeterministicMockTCPClientSocket> { base 1036 net/socket/socket_test_util.h base::WeakPtrFactory<MockUDPClientSocket> weak_factory_; base 1128 net/socket/socket_test_util.h : public base::RefCounted<MockTransportSocketParams> { base 1130 net/socket/socket_test_util.h friend class base::RefCounted<MockTransportSocketParams>; base 34 net/socket/socks5_client_socket.cc : io_callback_(base::Bind(&SOCKS5ClientSocket::OnIOComplete, base 35 net/socket/socks5_client_socket.cc base::Unretained(this))), base 161 net/socket/socks5_client_socket.cc base::Bind(&SOCKS5ClientSocket::OnReadWriteComplete, base 162 net/socket/socks5_client_socket.cc base::Unretained(this), callback)); base 179 net/socket/socks5_client_socket.cc base::Bind(&SOCKS5ClientSocket::OnReadWriteComplete, base 180 net/socket/socks5_client_socket.cc base::Unretained(this), callback)); base 200 net/socket/socks5_client_socket.cc base::ResetAndReturn(&user_callback_).Run(result); base 374 net/socket/socks5_client_socket.cc uint16 nw_port = base::HostToNet16(host_request_info_.port()); base 62 net/socket/socks5_client_socket_unittest.cc : kNwPort(base::HostToNet16(80)), base 189 net/socket/socks_client_socket.cc base::Bind(&SOCKSClientSocket::OnReadWriteComplete, base 190 net/socket/socks_client_socket.cc base::Unretained(this), callback)); base 207 net/socket/socks_client_socket.cc base::Bind(&SOCKSClientSocket::OnReadWriteComplete, base 208 net/socket/socks_client_socket.cc base::Unretained(this), callback)); base 229 net/socket/socks_client_socket.cc base::ResetAndReturn(&user_callback_).Run(result); base 297 net/socket/socks_client_socket.cc base::Bind(&SOCKSClientSocket::OnIOComplete, base::Unretained(this)), base 318 net/socket/socks_client_socket.cc request.nw_port = base::HostToNet16(host_request_info_.port()); base 358 net/socket/socks_client_socket.cc base::Bind(&SOCKSClientSocket::OnIOComplete, base::Unretained(this))); base 393 net/socket/socks_client_socket.cc base::Bind(&SOCKSClientSocket::OnIOComplete, base::Unretained(this))); base 44 net/socket/socks_client_socket_pool.cc const base::TimeDelta& timeout_duration, base 54 net/socket/socks_client_socket_pool.cc callback_(base::Bind(&SOCKSConnectJob::OnIOComplete, base 55 net/socket/socks_client_socket_pool.cc base::Unretained(this))) { base 134 net/socket/socks_client_socket_pool.cc ResetTimer(base::TimeDelta::FromSeconds(kSOCKSConnectJobTimeoutInSeconds)); base 153 net/socket/socks_client_socket_pool.cc base::Bind(&SOCKSConnectJob::OnIOComplete, base::Unretained(this))); base 186 net/socket/socks_client_socket_pool.cc base::TimeDelta base 189 net/socket/socks_client_socket_pool.cc base::TimeDelta::FromSeconds(kSOCKSConnectJobTimeoutInSeconds); base 269 net/socket/socks_client_socket_pool.cc base::DictionaryValue* SOCKSClientSocketPool::GetInfoAsValue( base 273 net/socket/socks_client_socket_pool.cc base::DictionaryValue* dict = base_.GetInfoAsValue(name, type); base 275 net/socket/socks_client_socket_pool.cc base::ListValue* list = new base::ListValue(); base 284 net/socket/socks_client_socket_pool.cc base::TimeDelta SOCKSClientSocketPool::ConnectionTimeout() const { base 28 net/socket/socks_client_socket_pool.h : public base::RefCounted<SOCKSSocketParams> { base 41 net/socket/socks_client_socket_pool.h friend class base::RefCounted<SOCKSSocketParams>; base 61 net/socket/socks_client_socket_pool.h const base::TimeDelta& timeout_duration, base 155 net/socket/socks_client_socket_pool.h virtual base::DictionaryValue* GetInfoAsValue( base 160 net/socket/socks_client_socket_pool.h virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; base 194 net/socket/socks_client_socket_pool.h virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; base 296 net/socket/socks_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 332 net/socket/socks_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 276 net/socket/ssl_client_socket_nss.cc void AddLogEvent(const base::WeakPtr<BoundNetLog>& net_log, base 285 net/socket/ssl_client_socket_nss.cc void AddLogEventWithCallback(const base::WeakPtr<BoundNetLog>& net_log, base 304 net/socket/ssl_client_socket_nss.cc const base::WeakPtr<BoundNetLog>& net_log, NetLog::EventType event_type, base 330 net/socket/ssl_client_socket_nss.cc std::vector<base::StringPiece> AsStringPieceVector() const; base 385 net/socket/ssl_client_socket_nss.cc std::vector<base::StringPiece> base 387 net/socket/ssl_client_socket_nss.cc std::vector<base::StringPiece> v(certs_.size()); base 389 net/socket/ssl_client_socket_nss.cc v[i] = base::StringPiece( base 585 net/socket/ssl_client_socket_nss.cc class SSLClientSocketNSS::Core : public base::RefCountedThreadSafe<Core> { base 597 net/socket/ssl_client_socket_nss.cc Core(base::SequencedTaskRunner* network_task_runner, base 598 net/socket/ssl_client_socket_nss.cc base::SequencedTaskRunner* nss_task_runner, base 808 net/socket/ssl_client_socket_nss.cc const base::Closure& callback); base 829 net/socket/ssl_client_socket_nss.cc base::WeakPtrFactory<BoundNetLog> weak_net_log_factory_; base 910 net/socket/ssl_client_socket_nss.cc scoped_refptr<base::SequencedTaskRunner> network_task_runner_; base 911 net/socket/ssl_client_socket_nss.cc scoped_refptr<base::SequencedTaskRunner> nss_task_runner_; base 915 net/socket/ssl_client_socket_nss.cc base::WeakPtr<BoundNetLog> weak_net_log_; base 928 net/socket/ssl_client_socket_nss.cc base::SequencedTaskRunner* network_task_runner, base 929 net/socket/ssl_client_socket_nss.cc base::SequencedTaskRunner* nss_task_runner, base 1071 net/socket/ssl_client_socket_nss.cc base::Bind(IgnoreResult(&Core::Connect), this, callback)); base 1091 net/socket/ssl_client_socket_nss.cc PostOrRunCallback(FROM_HERE, base::Bind(callback, rv)); base 1121 net/socket/ssl_client_socket_nss.cc base::Bind(IgnoreResult(&Core::Read), this, make_scoped_refptr(buf), base 1151 net/socket/ssl_client_socket_nss.cc PostOrRunCallback(FROM_HERE, base::Bind(&Core::DidNSSRead, this, rv)); base 1152 net/socket/ssl_client_socket_nss.cc PostOrRunCallback(FROM_HERE, base::Bind(callback, rv)); base 1178 net/socket/ssl_client_socket_nss.cc base::Bind(IgnoreResult(&Core::Write), this, make_scoped_refptr(buf), base 1208 net/socket/ssl_client_socket_nss.cc PostOrRunCallback(FROM_HERE, base::Bind(&Core::DidNSSWrite, this, rv)); base 1209 net/socket/ssl_client_socket_nss.cc PostOrRunCallback(FROM_HERE, base::Bind(callback, rv)); base 1317 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEvent, core->weak_net_log_, base 1331 net/socket/ssl_client_socket_nss.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) base 1412 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&Core::OnHandshakeStateUpdated, core, base 1426 net/socket/ssl_client_socket_nss.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); base 1505 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&Core::OnHandshakeStateUpdated, core, base 1529 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEvent, core->weak_net_log_, base 1555 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEvent, core->weak_net_log_, base 1601 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&Core::OnHandshakeStateUpdated, core, base 1681 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&Core::OnHandshakeStateUpdated, this, base 1768 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEventWithCallback, weak_net_log_, base 1797 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEventWithCallback, weak_net_log_, base 1830 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEventWithCallback, weak_net_log_, base 1873 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEventWithCallback, weak_net_log_, base 1886 net/socket/ssl_client_socket_nss.cc base::Bind(&BoundNetLog::EndEventWithNetErrorCode, weak_net_log_, base 1927 net/socket/ssl_client_socket_nss.cc base::Bind(&LogByteTransferEvent, weak_net_log_, base 1933 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEventWithCallback, weak_net_log_, base 1960 net/socket/ssl_client_socket_nss.cc PostOrRunCallback(FROM_HERE, base::Bind(&Core::OnNSSBufferUpdated, this, base 2012 net/socket/ssl_client_socket_nss.cc base::Bind(&LogByteTransferEvent, weak_net_log_, base 2018 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEventWithCallback, weak_net_log_, base 2040 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::OnNSSBufferUpdated, this, new_amount_in_read_buffer)); base 2045 net/socket/ssl_client_socket_nss.cc base::Bind(&LogByteTransferEvent, weak_net_log_, base 2057 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEventWithCallback, weak_net_log_, base 2115 net/socket/ssl_client_socket_nss.cc base::Bind(IgnoreResult(&Core::DoBufferRecv), this, read_buffer, base 2160 net/socket/ssl_client_socket_nss.cc base::Bind(IgnoreResult(&Core::DoBufferSend), this, send_buffer, base 2242 net/socket/ssl_client_socket_nss.cc base::Closure c = base::Bind( base 2243 net/socket/ssl_client_socket_nss.cc base::ResetAndReturn(&user_connect_callback_), base 2260 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::OnNSSBufferUpdated, this, amount_in_read_buffer)); base 2263 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::DidNSSRead, this, rv)); base 2266 net/socket/ssl_client_socket_nss.cc base::Bind(base::ResetAndReturn(&user_read_callback_), rv)); base 2285 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::OnNSSBufferUpdated, this, amount_in_read_buffer)); base 2288 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::DidNSSWrite, this, rv)); base 2291 net/socket/ssl_client_socket_nss.cc base::Bind(base::ResetAndReturn(&user_write_callback_), rv)); base 2304 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEvent, core->weak_net_log_, base 2316 net/socket/ssl_client_socket_nss.cc base::Bind( base 2330 net/socket/ssl_client_socket_nss.cc base::Bind(&BoundNetLog::EndEventWithNetErrorCode, core->weak_net_log_, base 2389 net/socket/ssl_client_socket_nss.cc base::Bind(&NetLogX509CertificateCallback, base 2393 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEventWithCallback, weak_net_log_, base 2572 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::RecordChannelIDSupportOnNetworkTaskRunner, base 2600 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::BufferRecvComplete, base::Unretained(this), base 2605 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&Core::BufferRecvComplete, this, base 2622 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::BufferSendComplete, base 2623 net/socket/ssl_client_socket_nss.cc base::Unretained(this))); base 2628 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::BufferSendComplete, this, rv)); base 2647 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::OnGetDomainBoundCertComplete, base::Unretained(this)), base 2653 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::OnHandshakeIOComplete, this, rv)); base 2699 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&Core::BufferSendComplete, this, result)); base 2716 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&Core::OnHandshakeIOComplete, this, result)); base 2744 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&Core::BufferRecvComplete, this, base 2767 net/socket/ssl_client_socket_nss.cc const base::Closure& task) { base 2771 net/socket/ssl_client_socket_nss.cc base::Bind(&Core::PostOrRunCallback, this, location, task)); base 2783 net/socket/ssl_client_socket_nss.cc base::Bind(&AddLogEventWithCallback, weak_net_log_, base 2790 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&AddLogEvent, weak_net_log_, base 2796 net/socket/ssl_client_socket_nss.cc FROM_HERE, base::Bind(&Core::OnHandshakeStateUpdated, this, base 2801 net/socket/ssl_client_socket_nss.cc base::SequencedTaskRunner* nss_task_runner, base 2819 net/socket/ssl_client_socket_nss.cc valid_thread_id_(base::kInvalidThreadId) { base 2891 net/socket/ssl_client_socket_nss.cc int SSLClientSocketNSS::ExportKeyingMaterial(const base::StringPiece& label, base 2893 net/socket/ssl_client_socket_nss.cc const base::StringPiece& context, base 2995 net/socket/ssl_client_socket_nss.cc start_cert_verification_time_ = base::TimeTicks(); base 3116 net/socket/ssl_client_socket_nss.cc core_ = new Core(base::ThreadTaskRunnerHandle::Get().get(), base 3306 net/socket/ssl_client_socket_nss.cc base::ResetAndReturn(&user_connect_callback_).Run(rv > OK ? OK : rv); base 3359 net/socket/ssl_client_socket_nss.cc base::Bind(&SSLClientSocketNSS::OnHandshakeIOComplete, base 3360 net/socket/ssl_client_socket_nss.cc base::Unretained(this))); base 3393 net/socket/ssl_client_socket_nss.cc base::StringPiece der_cert( base 3415 net/socket/ssl_client_socket_nss.cc start_cert_verification_time_ = base::TimeTicks::Now(); base 3433 net/socket/ssl_client_socket_nss.cc base::Bind(&SSLClientSocketNSS::OnHandshakeIOComplete, base 3434 net/socket/ssl_client_socket_nss.cc base::Unretained(this)), base 3444 net/socket/ssl_client_socket_nss.cc base::TimeDelta verify_time = base 3445 net/socket/ssl_client_socket_nss.cc base::TimeTicks::Now() - start_cert_verification_time_; base 3578 net/socket/ssl_client_socket_nss.cc base::AutoLock auto_lock(lock_); base 3579 net/socket/ssl_client_socket_nss.cc if (valid_thread_id_ != base::kInvalidThreadId) base 3581 net/socket/ssl_client_socket_nss.cc valid_thread_id_ = base::PlatformThread::CurrentId(); base 3586 net/socket/ssl_client_socket_nss.cc base::AutoLock auto_lock(lock_); base 3587 net/socket/ssl_client_socket_nss.cc return valid_thread_id_ == base::PlatformThread::CurrentId(); base 33 net/socket/ssl_client_socket_nss.h namespace base { base 63 net/socket/ssl_client_socket_nss.h SSLClientSocketNSS(base::SequencedTaskRunner* nss_task_runner, base 77 net/socket/ssl_client_socket_nss.h virtual int ExportKeyingMaterial(const base::StringPiece& label, base 79 net/socket/ssl_client_socket_nss.h const base::StringPiece& context, base 162 net/socket/ssl_client_socket_nss.h scoped_refptr<base::SequencedTaskRunner> nss_task_runner_; base 200 net/socket/ssl_client_socket_nss.h base::TimeTicks start_cert_verification_time_; base 207 net/socket/ssl_client_socket_nss.h mutable base::Lock lock_; base 210 net/socket/ssl_client_socket_nss.h mutable base::PlatformThreadId valid_thread_id_; base 413 net/socket/ssl_client_socket_openssl.cc std::vector<base::StringPiece> der_chain; base 432 net/socket/ssl_client_socket_openssl.cc std::vector<base::StringPiece> der_chain; base 442 net/socket/ssl_client_socket_openssl.cc der_chain.push_back(base::StringPiece(reinterpret_cast<char*>(cert_data), base 532 net/socket/ssl_client_socket_openssl.cc const base::StringPiece& label, base 533 net/socket/ssl_client_socket_openssl.cc bool has_context, const base::StringPiece& context, base 917 net/socket/ssl_client_socket_openssl.cc base::ResetAndReturn(&user_read_callback_).Run(rv); base 927 net/socket/ssl_client_socket_openssl.cc base::ResetAndReturn(&user_write_callback_).Run(rv); base 975 net/socket/ssl_client_socket_openssl.cc base::Bind(&NetLogX509CertificateCallback, base 976 net/socket/ssl_client_socket_openssl.cc base::Unretained(server_cert_.get()))); base 1033 net/socket/ssl_client_socket_openssl.cc base::Bind(&SSLClientSocketOpenSSL::OnHandshakeIOComplete, base 1034 net/socket/ssl_client_socket_openssl.cc base::Unretained(this)), base 1106 net/socket/ssl_client_socket_openssl.cc base::WeakPtr<SSLClientSocketOpenSSL> guard(weak_factory_.GetWeakPtr()); base 1300 net/socket/ssl_client_socket_openssl.cc base::Bind(&SSLClientSocketOpenSSL::BufferSendComplete, base 1301 net/socket/ssl_client_socket_openssl.cc base::Unretained(this))); base 1340 net/socket/ssl_client_socket_openssl.cc base::Bind(&SSLClientSocketOpenSSL::BufferRecvComplete, base 1341 net/socket/ssl_client_socket_openssl.cc base::Unretained(this))); base 1408 net/socket/ssl_client_socket_openssl.cc base::debug::Alias(&result); base 1409 net/socket/ssl_client_socket_openssl.cc base::debug::Alias(&ret); base 1483 net/socket/ssl_client_socket_openssl.cc base::Bind(&SSLClientSocketOpenSSL::OnHandshakeIOComplete, base 1484 net/socket/ssl_client_socket_openssl.cc base::Unretained(this)), base 66 net/socket/ssl_client_socket_openssl.h virtual int ExportKeyingMaterial(const base::StringPiece& label, base 68 net/socket/ssl_client_socket_openssl.h const base::StringPiece& context, base 162 net/socket/ssl_client_socket_openssl.h base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; base 69 net/socket/ssl_client_socket_openssl_unittest.cc base::Time* expiration_time, base 76 net/socket/ssl_client_socket_openssl_unittest.cc base::Time creation_time, base 77 net/socket/ssl_client_socket_openssl_unittest.cc base::Time expiration_time, base 81 net/socket/ssl_client_socket_openssl_unittest.cc const base::Closure& completion_callback) base 83 net/socket/ssl_client_socket_openssl_unittest.cc virtual void DeleteAllCreatedBetween(base::Time delete_begin, base 84 net/socket/ssl_client_socket_openssl_unittest.cc base::Time delete_end, base 85 net/socket/ssl_client_socket_openssl_unittest.cc const base::Closure& completion_callback) base 87 net/socket/ssl_client_socket_openssl_unittest.cc virtual void DeleteAll(const base::Closure& completion_callback) OVERRIDE {} base 99 net/socket/ssl_client_socket_openssl_unittest.cc const base::FilePath& filepath, base 102 net/socket/ssl_client_socket_openssl_unittest.cc if (!base::ReadFileToString(filepath, &data)) { base 145 net/socket/ssl_client_socket_openssl_unittest.cc base::MessageLoopProxy::current())); base 152 net/socket/ssl_client_socket_openssl_unittest.cc base::MessageLoopProxy::current())); base 172 net/socket/ssl_client_socket_openssl_unittest.cc base::FilePath())); base 259 net/socket/ssl_client_socket_openssl_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 279 net/socket/ssl_client_socket_openssl_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 301 net/socket/ssl_client_socket_openssl_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 103 net/socket/ssl_client_socket_pool.cc const base::TimeDelta& timeout_duration, base 130 net/socket/ssl_client_socket_pool.cc callback_(base::Bind(&SSLConnectJob::OnIOComplete, base 131 net/socket/ssl_client_socket_pool.cc base::Unretained(this))) {} base 301 net/socket/ssl_client_socket_pool.cc ResetTimer(base::TimeDelta::FromSeconds(kSSLHandshakeTimeoutInSeconds)); base 317 net/socket/ssl_client_socket_pool.cc connect_timing_.ssl_start = base::TimeTicks::Now(); base 328 net/socket/ssl_client_socket_pool.cc connect_timing_.ssl_end = base::TimeTicks::Now(); base 364 net/socket/ssl_client_socket_pool.cc base::TimeDelta connect_duration = base 369 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 370 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMinutes(1), base 380 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 381 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMinutes(1), base 388 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 389 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMinutes(1), base 402 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 403 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMinutes(1), base 408 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 409 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMinutes(1), base 420 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 421 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMinutes(1), base 427 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 428 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMinutes(1), base 434 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 435 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromMinutes(1), base 486 net/socket/ssl_client_socket_pool.cc base::TimeDelta max_transport_timeout = base::TimeDelta(); base 487 net/socket/ssl_client_socket_pool.cc base::TimeDelta pool_timeout; base 501 net/socket/ssl_client_socket_pool.cc base::TimeDelta::FromSeconds(kSSLHandshakeTimeoutInSeconds); base 566 net/socket/ssl_client_socket_pool.cc base::TimeDelta base 628 net/socket/ssl_client_socket_pool.cc base::DictionaryValue* SSLClientSocketPool::GetInfoAsValue( base 632 net/socket/ssl_client_socket_pool.cc base::DictionaryValue* dict = base_.GetInfoAsValue(name, type); base 634 net/socket/ssl_client_socket_pool.cc base::ListValue* list = new base::ListValue(); base 655 net/socket/ssl_client_socket_pool.cc base::TimeDelta SSLClientSocketPool::ConnectionTimeout() const { base 39 net/socket/ssl_client_socket_pool.h : public base::RefCounted<SSLSocketParams> { base 80 net/socket/ssl_client_socket_pool.h friend class base::RefCounted<SSLSocketParams>; base 105 net/socket/ssl_client_socket_pool.h const base::TimeDelta& timeout_duration, base 237 net/socket/ssl_client_socket_pool.h virtual base::DictionaryValue* GetInfoAsValue( base 242 net/socket/ssl_client_socket_pool.h virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; base 284 net/socket/ssl_client_socket_pool.h virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; base 293 net/socket/ssl_client_socket_pool.h base::TimeDelta timeout_; base 169 net/socket/ssl_client_socket_pool_unittest.cc const base::string16 kFoo(base::ASCIIToUTF16("foo")); base 170 net/socket/ssl_client_socket_pool_unittest.cc const base::string16 kBar(base::ASCIIToUTF16("bar")); base 848 net/socket/ssl_client_socket_pool_unittest.cc base::WeakPtr<SpdySession> spdy_session = base 905 net/socket/ssl_client_socket_pool_unittest.cc base::WeakPtr<SpdySession> spdy_session = base 218 net/socket/ssl_client_socket_unittest.cc base::Bind(&ReadBufferingStreamSocket::OnReadCompleted, base 219 net/socket/ssl_client_socket_unittest.cc base::Unretained(this))); base 247 net/socket/ssl_client_socket_unittest.cc base::ResetAndReturn(&user_read_callback_).Run(result); base 356 net/socket/ssl_client_socket_unittest.cc typedef base::Callback<int(IOBuffer*, int, const CompletionCallback&)> base 400 net/socket/ssl_client_socket_unittest.cc read_state_(base::Bind(&Socket::Read, base 401 net/socket/ssl_client_socket_unittest.cc base::Unretained(transport_.get()))), base 402 net/socket/ssl_client_socket_unittest.cc write_state_(base::Bind(&Socket::Write, base 403 net/socket/ssl_client_socket_unittest.cc base::Unretained(transport_.get()))) {} base 429 net/socket/ssl_client_socket_unittest.cc base::ResetAndReturn(&user_callback_).Run(pending_result_); base 442 net/socket/ssl_client_socket_unittest.cc !should_block_ ? callback : base::Bind(&BlockingState::OnCompleted, base 443 net/socket/ssl_client_socket_unittest.cc base::Unretained(this)); base 467 net/socket/ssl_client_socket_unittest.cc base::ResetAndReturn(&user_callback_).Run(result); base 476 net/socket/ssl_client_socket_unittest.cc callback_(base::Bind(&DeleteSocketCallback::OnComplete, base 477 net/socket/ssl_client_socket_unittest.cc base::Unretained(this))) {} base 535 net/socket/ssl_client_socket_unittest.cc SpawnedTestServer::TYPE_HTTPS, ssl_options, base::FilePath()); base 590 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 630 net/socket/ssl_client_socket_unittest.cc SpawnedTestServer::TYPE_HTTPS, ssl_options, base::FilePath()); base 674 net/socket/ssl_client_socket_unittest.cc SpawnedTestServer::TYPE_HTTPS, ssl_options, base::FilePath()); base 720 net/socket/ssl_client_socket_unittest.cc SpawnedTestServer::TYPE_HTTPS, ssl_options, base::FilePath()); base 779 net/socket/ssl_client_socket_unittest.cc SpawnedTestServer::TYPE_HTTPS, ssl_options, base::FilePath()); base 837 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 894 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 958 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1037 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1100 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1223 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1325 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1377 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1431 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1480 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1548 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1603 net/socket/ssl_client_socket_unittest.cc SpawnedTestServer::TYPE_HTTPS, ssl_options, base::FilePath()); base 1671 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1706 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 1766 net/socket/ssl_client_socket_unittest.cc SpawnedTestServer::TYPE_HTTPS, ssl_options, base::FilePath()); base 1871 net/socket/ssl_client_socket_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 1930 net/socket/ssl_client_socket_unittest.cc const base::FilePath::CharType kThawteFile[] = base 1942 net/socket/ssl_client_socket_unittest.cc const base::FilePath::CharType kDiginotarFile[] = base 1978 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 2034 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 2089 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 2134 net/socket/ssl_client_socket_unittest.cc base::FilePath()); base 14 net/socket/ssl_error_params.cc base::Value* NetLogSSLErrorCallback(int net_error, base 17 net/socket/ssl_error_params.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 28 net/socket/ssl_error_params.cc return base::Bind(&NetLogSSLErrorCallback, net_error, ssl_lib_error); base 72 net/socket/ssl_server_socket_nss.cc static base::LazyInstance<NSSSSLServerInitSingleton> base 157 net/socket/ssl_server_socket_nss.cc int SSLServerSocketNSS::ExportKeyingMaterial(const base::StringPiece& label, base 159 net/socket/ssl_server_socket_nss.cc const base::StringPiece& context, base 560 net/socket/ssl_server_socket_nss.cc base::Bind(&SSLServerSocketNSS::BufferSendComplete, base 561 net/socket/ssl_server_socket_nss.cc base::Unretained(this))); base 592 net/socket/ssl_server_socket_nss.cc base::Bind(&SSLServerSocketNSS::BufferRecvComplete, base 593 net/socket/ssl_server_socket_nss.cc base::Unretained(this))); base 37 net/socket/ssl_server_socket_nss.h virtual int ExportKeyingMaterial(const base::StringPiece& label, base 39 net/socket/ssl_server_socket_nss.h const base::StringPiece& context, base 82 net/socket/ssl_server_socket_unittest.cc base::MessageLoop::current()->PostTask( base 83 net/socket/ssl_server_socket_unittest.cc FROM_HERE, base::Bind(&FakeDataChannel::DoWriteCallback, base 88 net/socket/ssl_server_socket_unittest.cc base::MessageLoop::current()->PostTask( base 89 net/socket/ssl_server_socket_unittest.cc FROM_HERE, base::Bind(&FakeDataChannel::DoReadCallback, base 151 net/socket/ssl_server_socket_unittest.cc base::WeakPtrFactory<FakeDataChannel> weak_factory_; base 313 net/socket/ssl_server_socket_unittest.cc base::FilePath certs_dir(GetTestCertsDirectory()); base 315 net/socket/ssl_server_socket_unittest.cc base::FilePath cert_path = certs_dir.AppendASCII("unittest.selfsigned.der"); base 317 net/socket/ssl_server_socket_unittest.cc ASSERT_TRUE(base::ReadFileToString(cert_path, &cert_der)); base 322 net/socket/ssl_server_socket_unittest.cc base::FilePath key_path = certs_dir.AppendASCII("unittest.key.bin"); base 324 net/socket/ssl_server_socket_unittest.cc ASSERT_TRUE(base::ReadFileToString(key_path, &key_string)); base 531 net/socket/ssl_server_socket_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 532 net/socket/ssl_server_socket_unittest.cc FROM_HERE, base::MessageLoop::QuitClosure(), base 533 net/socket/ssl_server_socket_unittest.cc base::TimeDelta::FromMilliseconds(10)); base 534 net/socket/ssl_server_socket_unittest.cc base::MessageLoop::current()->Run(); base 42 net/socket/ssl_session_cache_openssl.cc base::LazyInstance<SSLContextExIndex>::Leaky s_ssl_context_ex_instance = base 208 net/socket/ssl_session_cache_openssl.cc base::AutoLock locked(lock_); base 251 net/socket/ssl_session_cache_openssl.cc base::AutoLock lock(lock_); base 265 net/socket/ssl_session_cache_openssl.cc typedef base::hash_map<std::string, MRUSessionList::iterator> KeyIndex; base 267 net/socket/ssl_session_cache_openssl.cc typedef base::hash_map<SessionId, KeyIndex::iterator> SessionIdIndex; base 383 net/socket/ssl_session_cache_openssl.cc base::AutoLock locked(lock_); base 441 net/socket/ssl_session_cache_openssl.cc base::AutoLock locked(lock_); base 448 net/socket/ssl_session_cache_openssl.cc base::AutoLock locked(lock_); base 472 net/socket/ssl_session_cache_openssl.cc base::Lock lock_; // Protects access to containers below. base 50 net/socket/ssl_session_cache_openssl_unittest.cc static base::LazyInstance<SSLKeyHelper>::Leaky s_instance = base 179 net/socket/ssl_session_cache_openssl_unittest.cc std::string local_id_string = base::StringPrintf("%d", local_id++); base 192 net/socket/ssl_session_cache_openssl_unittest.cc std::string local_id_string = base::StringPrintf("%d", local_id++); base 315 net/socket/ssl_session_cache_openssl_unittest.cc std::string local_id_string = base::StringPrintf("%d", local_id++); base 325 net/socket/ssl_session_cache_openssl_unittest.cc std::string local_id_string = base::StringPrintf("%d", local_id++); base 345 net/socket/ssl_session_cache_openssl_unittest.cc std::string key = base::StringPrintf("%d", static_cast<int>(n)); base 25 net/socket/ssl_socket.h virtual int ExportKeyingMaterial(const base::StringPiece& label, base 27 net/socket/ssl_socket.h const base::StringPiece& context, base 155 net/socket/stream_listen_socket.cc base::PlatformThread::YieldCurrentThread(); base 231 net/socket/stream_listen_socket.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 232 net/socket/stream_listen_socket.cc socket_, true, base::MessageLoopForIO::WATCH_READ, &watcher_, this); base 44 net/socket/stream_listen_socket.h public base::win::ObjectWatcher::Delegate { base 46 net/socket/stream_listen_socket.h public base::MessageLoopForIO::Watcher { base 113 net/socket/stream_listen_socket.h base::win::ObjectWatcher watcher_; base 121 net/socket/stream_listen_socket.h base::MessageLoopForIO::FileDescriptorWatcher watcher_; base 145 net/socket/tcp_client_socket.cc base::Bind(&TCPClientSocket::DidCompleteConnect, base 146 net/socket/tcp_client_socket.cc base::Unretained(this))); base 247 net/socket/tcp_client_socket.cc CompletionCallback read_callback = base::Bind( base 248 net/socket/tcp_client_socket.cc &TCPClientSocket::DidCompleteReadWrite, base::Unretained(this), callback); base 263 net/socket/tcp_client_socket.cc CompletionCallback write_callback = base::Bind( base 264 net/socket/tcp_client_socket.cc &TCPClientSocket::DidCompleteReadWrite, base::Unretained(this), callback); base 296 net/socket/tcp_client_socket.cc base::ResetAndReturn(&connect_callback_).Run(result); base 62 net/socket/tcp_listen_socket.cc addr.sin_port = base::HostToNet16(port); base 96 net/socket/tcp_listen_socket.cc *port = base::NetToHost16(addr.sin_port); base 31 net/socket/tcp_listen_socket_unittest.cc base::Thread::Options options; base 32 net/socket/tcp_listen_socket_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 33 net/socket/tcp_listen_socket_unittest.cc thread_.reset(new base::Thread("socketio_test")); base 35 net/socket/tcp_listen_socket_unittest.cc loop_ = reinterpret_cast<base::MessageLoopForIO*>(thread_->message_loop()); base 37 net/socket/tcp_listen_socket_unittest.cc loop_->PostTask(FROM_HERE, base::Bind( base 54 net/socket/tcp_listen_socket_unittest.cc client.sin_port = base::HostToNet16(server_port); base 81 net/socket/tcp_listen_socket_unittest.cc loop_->PostTask(FROM_HERE, base::Bind( base 92 net/socket/tcp_listen_socket_unittest.cc base::AutoLock locked(lock_); base 98 net/socket/tcp_listen_socket_unittest.cc base::AutoLock locked(lock_); base 173 net/socket/tcp_listen_socket_unittest.cc loop_->PostTask(FROM_HERE, base::Bind( base 200 net/socket/tcp_listen_socket_unittest.cc loop_->PostTask(FROM_HERE, base::Bind( base 263 net/socket/tcp_listen_socket_unittest.cc base::AutoLock locked(lock_); base 268 net/socket/tcp_listen_socket_unittest.cc base::AutoLock locked(lock_); base 64 net/socket/tcp_listen_socket_unittest.h public base::RefCountedThreadSafe<TCPListenSocketTester> { base 99 net/socket/tcp_listen_socket_unittest.h scoped_ptr<base::Thread> thread_; base 100 net/socket/tcp_listen_socket_unittest.h base::MessageLoopForIO* loop_; base 107 net/socket/tcp_listen_socket_unittest.h base::Lock lock_; // Protects |queue_| and |server_port_|. Wraps |cv_|. base 108 net/socket/tcp_listen_socket_unittest.h base::ConditionVariable cv_; base 112 net/socket/tcp_listen_socket_unittest.h friend class base::RefCountedThreadSafe<TCPListenSocketTester>; base 66 net/socket/tcp_server_socket.cc base::Bind(&TCPServerSocket::OnAcceptCompleted, base::Unretained(this), base 20 net/socket/tcp_socket.cc static const base::FilePath::CharType kTCPFastOpenProcFilePath[] = base 23 net/socket/tcp_socket.cc if (!base::ReadFileToString( base 24 net/socket/tcp_socket.cc base::FilePath(kTCPFastOpenProcFilePath), base 115 net/socket/tcp_socket_libevent.cc const base::Closure& read_ready_callback, base 116 net/socket/tcp_socket_libevent.cc const base::Closure& write_ready_callback) base 141 net/socket/tcp_socket_libevent.cc accept_watcher_(base::Bind(&TCPSocketLibevent::DidCompleteAccept, base 142 net/socket/tcp_socket_libevent.cc base::Unretained(this)), base 143 net/socket/tcp_socket_libevent.cc base::Closure()), base 146 net/socket/tcp_socket_libevent.cc read_watcher_(base::Bind(&TCPSocketLibevent::DidCompleteRead, base 147 net/socket/tcp_socket_libevent.cc base::Unretained(this)), base 148 net/socket/tcp_socket_libevent.cc base::Closure()), base 149 net/socket/tcp_socket_libevent.cc write_watcher_(base::Closure(), base 150 net/socket/tcp_socket_libevent.cc base::Bind(&TCPSocketLibevent::DidCompleteConnectOrWrite, base 151 net/socket/tcp_socket_libevent.cc base::Unretained(this))), base 257 net/socket/tcp_socket_libevent.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 258 net/socket/tcp_socket_libevent.cc socket_, true, base::MessageLoopForIO::WATCH_READ, base 362 net/socket/tcp_socket_libevent.cc base::StatsCounter read_bytes("tcp.read_bytes"); base 376 net/socket/tcp_socket_libevent.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 377 net/socket/tcp_socket_libevent.cc socket_, true, base::MessageLoopForIO::WATCH_READ, base 402 net/socket/tcp_socket_libevent.cc base::StatsCounter write_bytes("tcp.write_bytes"); base 415 net/socket/tcp_socket_libevent.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 416 net/socket/tcp_socket_libevent.cc socket_, true, base::MessageLoopForIO::WATCH_WRITE, base 657 net/socket/tcp_socket_libevent.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 658 net/socket/tcp_socket_libevent.cc socket_, true, base::MessageLoopForIO::WATCH_WRITE, base 684 net/socket/tcp_socket_libevent.cc base::StatsCounter connects("tcp.connect"); base 726 net/socket/tcp_socket_libevent.cc base::StatsCounter read_bytes("tcp.read_bytes"); base 743 net/socket/tcp_socket_libevent.cc base::ResetAndReturn(&read_callback_).Run(result); base 758 net/socket/tcp_socket_libevent.cc base::StatsCounter write_bytes("tcp.write_bytes"); base 774 net/socket/tcp_socket_libevent.cc base::ResetAndReturn(&write_callback_).Run(result); base 793 net/socket/tcp_socket_libevent.cc base::ResetAndReturn(&write_callback_).Run(result); base 27 net/socket/tcp_socket_libevent.h class NET_EXPORT TCPSocketLibevent : public base::NonThreadSafe { base 141 net/socket/tcp_socket_libevent.h class Watcher: public base::MessageLoopForIO::Watcher { base 143 net/socket/tcp_socket_libevent.h Watcher(const base::Closure& read_ready_callback, base 144 net/socket/tcp_socket_libevent.h const base::Closure& write_ready_callback); base 152 net/socket/tcp_socket_libevent.h base::Closure read_ready_callback_; base 153 net/socket/tcp_socket_libevent.h base::Closure write_ready_callback_; base 181 net/socket/tcp_socket_libevent.h base::MessageLoopForIO::FileDescriptorWatcher accept_socket_watcher_; base 189 net/socket/tcp_socket_libevent.h base::MessageLoopForIO::FileDescriptorWatcher read_socket_watcher_; base 190 net/socket/tcp_socket_libevent.h base::MessageLoopForIO::FileDescriptorWatcher write_socket_watcher_; base 131 net/socket/tcp_socket_win.cc class TCPSocketWin::Core : public base::RefCounted<Core> { base 159 net/socket/tcp_socket_win.cc class ReadDelegate : public base::win::ObjectWatcher::Delegate { base 171 net/socket/tcp_socket_win.cc class WriteDelegate : public base::win::ObjectWatcher::Delegate { base 194 net/socket/tcp_socket_win.cc base::win::ObjectWatcher read_watcher_; base 196 net/socket/tcp_socket_win.cc base::win::ObjectWatcher write_watcher_; base 486 net/socket/tcp_socket_win.cc base::StatsCounter writes("tcp.writes"); base 508 net/socket/tcp_socket_win.cc base::StatsCounter write_bytes("tcp.write_bytes"); base 568 net/socket/tcp_socket_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 746 net/socket/tcp_socket_win.cc base::ResetAndReturn(&accept_callback_).Run(result); base 820 net/socket/tcp_socket_win.cc base::StatsCounter connects("tcp.connect"); base 873 net/socket/tcp_socket_win.cc base::StatsCounter read_bytes("tcp.read_bytes"); base 915 net/socket/tcp_socket_win.cc base::ResetAndReturn(&read_callback_).Run(result); base 943 net/socket/tcp_socket_win.cc base::StatsCounter write_bytes("tcp.write_bytes"); base 953 net/socket/tcp_socket_win.cc base::ResetAndReturn(&write_callback_).Run(rv); base 999 net/socket/tcp_socket_win.cc base::ResetAndReturn(&read_callback_).Run(rv); base 27 net/socket/tcp_socket_win.h class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe), base 28 net/socket/tcp_socket_win.h public base::win::ObjectWatcher::Delegate { base 114 net/socket/tcp_socket_win.h base::win::ObjectWatcher accept_watcher_; base 27 net/socket/transport_client_socket_pool.cc using base::TimeDelta; base 52 net/socket/transport_client_socket_pool.cc static base::LazyInstance<base::Lock>::Leaky base 56 net/socket/transport_client_socket_pool.cc static base::LazyInstance<base::TimeTicks>::Leaky base 88 net/socket/transport_client_socket_pool.cc base::TimeDelta timeout_duration, base 172 net/socket/transport_client_socket_pool.cc connect_timing_.dns_start = base::TimeTicks::Now(); base 178 net/socket/transport_client_socket_pool.cc base::Bind(&TransportConnectJob::OnIOComplete, base::Unretained(this)), base 183 net/socket/transport_client_socket_pool.cc connect_timing_.dns_end = base::TimeTicks::Now(); base 200 net/socket/transport_client_socket_pool.cc base::TimeTicks now = base::TimeTicks::Now(); base 201 net/socket/transport_client_socket_pool.cc base::TimeTicks last_connect_time; base 203 net/socket/transport_client_socket_pool.cc base::AutoLock lock(g_last_connect_time_lock.Get()); base 223 net/socket/transport_client_socket_pool.cc base::Bind(&TransportConnectJob::OnIOComplete, base::Unretained(this))); base 228 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(kIPv6FallbackTimerInMs), base 239 net/socket/transport_client_socket_pool.cc base::TimeTicks now = base::TimeTicks::Now(); base 240 net/socket/transport_client_socket_pool.cc base::TimeDelta total_duration = now - connect_timing_.dns_start; base 244 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 245 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 248 net/socket/transport_client_socket_pool.cc base::TimeDelta connect_duration = now - connect_timing_.connect_start; base 251 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 252 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 260 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 261 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 268 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 269 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 276 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 277 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 288 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 289 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 295 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 296 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 301 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 302 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 333 net/socket/transport_client_socket_pool.cc fallback_connect_start_time_ = base::TimeTicks::Now(); base 335 net/socket/transport_client_socket_pool.cc base::Bind( base 337 net/socket/transport_client_socket_pool.cc base::Unretained(this))); base 356 net/socket/transport_client_socket_pool.cc base::TimeTicks now = base::TimeTicks::Now(); base 357 net/socket/transport_client_socket_pool.cc base::TimeDelta total_duration = now - connect_timing_.dns_start; base 361 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 362 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 365 net/socket/transport_client_socket_pool.cc base::TimeDelta connect_duration = now - fallback_connect_start_time_; base 368 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 369 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 374 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMilliseconds(1), base 375 net/socket/transport_client_socket_pool.cc base::TimeDelta::FromMinutes(10), base 409 net/socket/transport_client_socket_pool.cc base::TimeDelta base 412 net/socket/transport_client_socket_pool.cc return base::TimeDelta::FromSeconds(kTransportConnectJobTimeoutInSeconds); base 508 net/socket/transport_client_socket_pool.cc base::DictionaryValue* TransportClientSocketPool::GetInfoAsValue( base 515 net/socket/transport_client_socket_pool.cc base::TimeDelta TransportClientSocketPool::ConnectionTimeout() const { base 26 net/socket/transport_client_socket_pool.h typedef base::Callback<int(const AddressList&, const BoundNetLog& net_log)> base 30 net/socket/transport_client_socket_pool.h : public base::RefCounted<TransportSocketParams> { base 48 net/socket/transport_client_socket_pool.h friend class base::RefCounted<TransportSocketParams>; base 71 net/socket/transport_client_socket_pool.h base::TimeDelta timeout_duration, base 131 net/socket/transport_client_socket_pool.h base::TimeTicks fallback_connect_start_time_; base 132 net/socket/transport_client_socket_pool.h base::OneShotTimer<TransportConnectJob> fallback_timer_; base 178 net/socket/transport_client_socket_pool.h virtual base::DictionaryValue* GetInfoAsValue( base 182 net/socket/transport_client_socket_pool.h virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; base 212 net/socket/transport_client_socket_pool.h virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; base 233 net/socket/transport_client_socket_pool_unittest.cc base::TimeDelta delay, base 246 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 248 net/socket/transport_client_socket_pool_unittest.cc base::Bind(&MockPendingClientSocket::DoCallback, base 321 net/socket/transport_client_socket_pool_unittest.cc base::TimeDelta delay_; base 326 net/socket/transport_client_socket_pool_unittest.cc base::WeakPtrFactory<MockPendingClientSocket> weak_factory_; base 348 net/socket/transport_client_socket_pool_unittest.cc delay_(base::TimeDelta::FromMilliseconds( base 382 net/socket/transport_client_socket_pool_unittest.cc addresses, true, false, base::TimeDelta(), net_log_)); base 386 net/socket/transport_client_socket_pool_unittest.cc addresses, false, false, base::TimeDelta(), net_log_)); base 394 net/socket/transport_client_socket_pool_unittest.cc addresses, true, true, base::TimeDelta(), net_log_)); base 430 net/socket/transport_client_socket_pool_unittest.cc void set_delay(base::TimeDelta delay) { delay_ = delay; } base 439 net/socket/transport_client_socket_pool_unittest.cc base::TimeDelta delay_; base 860 net/socket/transport_client_socket_pool_unittest.cc callback_(base::Bind(&RequestSocketCallback::OnComplete, base 861 net/socket/transport_client_socket_pool_unittest.cc base::Unretained(this))) { base 879 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 880 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()); base 881 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 983 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1011 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1018 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); // Notification happens async. base 1061 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1064 net/socket/transport_client_socket_pool_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 1068 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1103 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1107 net/socket/transport_client_socket_pool_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 1112 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1149 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1152 net/socket/transport_client_socket_pool_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 1160 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1184 net/socket/transport_client_socket_pool_unittest.cc client_socket_factory_.set_delay(base::TimeDelta::FromSeconds(5)); base 1197 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1200 net/socket/transport_client_socket_pool_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 1208 net/socket/transport_client_socket_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1282 net/socket/transport_client_socket_pool_unittest.cc client_socket_factory_.set_delay(base::TimeDelta::FromMilliseconds( base 53 net/socket/unix_domain_socket_posix.cc return base::Bind(NoAuthenticationCallback); base 34 net/socket/unix_domain_socket_posix.h typedef base::Callback<bool (uid_t user_id, gid_t group_id)> AuthCallback; base 56 net/socket/unix_domain_socket_posix_unittest.cc base::FilePath temp_dir; base 57 net/socket/unix_domain_socket_posix_unittest.cc base::GetTempDir(&temp_dir); base 65 net/socket/unix_domain_socket_posix_unittest.cc class EventManager : public base::RefCounted<EventManager> { base 70 net/socket/unix_domain_socket_posix_unittest.cc base::AutoLock lock(mutex_); base 75 net/socket/unix_domain_socket_posix_unittest.cc base::AutoLock lock(mutex_); base 81 net/socket/unix_domain_socket_posix_unittest.cc base::AutoLock lock(mutex_); base 94 net/socket/unix_domain_socket_posix_unittest.cc base::Lock mutex_; base 95 net/socket/unix_domain_socket_posix_unittest.cc base::ConditionVariable condition_; base 115 net/socket/unix_domain_socket_posix_unittest.cc base::AutoLock lock(mutex_); base 131 net/socket/unix_domain_socket_posix_unittest.cc base::AutoLock lock(mutex_); base 142 net/socket/unix_domain_socket_posix_unittest.cc base::Lock mutex_; base 181 net/socket/unix_domain_socket_posix_unittest.cc return base::Bind(&UserCanConnectCallback, allow_user_, event_manager_); base 186 net/socket/unix_domain_socket_posix_unittest.cc base::DeleteFile(file_path_, false /* not recursive */); base 208 net/socket/unix_domain_socket_posix_unittest.cc scoped_ptr<base::Thread> CreateAndRunServerThread() { base 209 net/socket/unix_domain_socket_posix_unittest.cc base::Thread::Options options; base 210 net/socket/unix_domain_socket_posix_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 211 net/socket/unix_domain_socket_posix_unittest.cc scoped_ptr<base::Thread> thread(new base::Thread("socketio_test")); base 215 net/socket/unix_domain_socket_posix_unittest.cc base::Bind(&UnixDomainSocketTestHelper::CreateAndListen, base 216 net/socket/unix_domain_socket_posix_unittest.cc base::Unretained(this))); base 220 net/socket/unix_domain_socket_posix_unittest.cc const base::FilePath file_path_; base 288 net/socket/unix_domain_socket_posix_unittest.cc const scoped_ptr<base::Thread> server_thread = CreateAndRunServerThread(); base 315 net/socket/unix_domain_socket_posix_unittest.cc const scoped_ptr<base::Thread> server_thread = CreateAndRunServerThread(); base 106 net/socket_stream/socket_stream.cc io_callback_(base::Bind(&SocketStream::OnIOCompleted, base 107 net/socket_stream/socket_stream.cc base::Unretained(this))), base 115 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoop::current()) base 117 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoopForIO::IsCurrent()) base 177 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoop::current()) base 179 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoopForIO::IsCurrent()) base 196 net/socket_stream/socket_stream.cc base::MessageLoop::current()->PostTask( base 197 net/socket_stream/socket_stream.cc FROM_HERE, base::Bind(&SocketStream::DoLoop, this, OK)); base 210 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoop::current()) base 212 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoopForIO::IsCurrent()) base 249 net/socket_stream/socket_stream.cc base::MessageLoop::current()->PostTask( base 250 net/socket_stream/socket_stream.cc FROM_HERE, base::Bind(&SocketStream::DoLoop, this, OK)); base 257 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoop::current()) base 259 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoopForIO::IsCurrent()) base 267 net/socket_stream/socket_stream.cc base::MessageLoop::current()->PostTask( base 268 net/socket_stream/socket_stream.cc FROM_HERE, base::Bind(&SocketStream::DoClose, this)); base 272 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoop::current()) base 274 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoopForIO::IsCurrent()) base 284 net/socket_stream/socket_stream.cc base::MessageLoop::current()->PostTask( base 285 net/socket_stream/socket_stream.cc FROM_HERE, base::Bind(&SocketStream::DoRestartWithAuth, this)); base 313 net/socket_stream/socket_stream.cc base::MessageLoop::current()->PostTask( base 314 net/socket_stream/socket_stream.cc FROM_HERE, base::Bind(&SocketStream::DoLoop, this, error)); base 322 net/socket_stream/socket_stream.cc base::MessageLoop::current()->PostTask( base 323 net/socket_stream/socket_stream.cc FROM_HERE, base::Bind(&SocketStream::DoLoop, this, OK)); base 365 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoop::current()) base 367 net/socket_stream/socket_stream.cc DCHECK(base::MessageLoopForIO::IsCurrent()) base 696 net/socket_stream/socket_stream.cc base::Bind(&SocketStream::OnIOCompleted, this), base 830 net/socket_stream/socket_stream.cc tunnel_request_headers_->headers_ = base::StringPrintf( base 953 net/socket_stream/socket_stream.cc base::MessageLoop::current()->PostTask( base 954 net/socket_stream/socket_stream.cc FROM_HERE, base::Bind(&SocketStream::DoRestartWithAuth, this)); base 959 net/socket_stream/socket_stream.cc base::MessageLoop::current()->PostTask( base 960 net/socket_stream/socket_stream.cc FROM_HERE, base::Bind(&SocketStream::DoAuthRequired, this)); base 1153 net/socket_stream/socket_stream.cc base::Bind(&SocketStream::OnReadCompleted, base::Unretained(this))); base 1192 net/socket_stream/socket_stream.cc base::Bind(&SocketStream::OnWriteCompleted, base::Unretained(this))); base 50 net/socket_stream/socket_stream.h : public base::RefCountedThreadSafe<SocketStream> { base 188 net/socket_stream/socket_stream.h friend class base::RefCountedThreadSafe<SocketStream>; base 230 net/socket_stream/socket_stream.h scoped_ptr<char, base::FreeDeleter> headers_; base 30 net/socket_stream/socket_stream_job.h : public base::RefCountedThreadSafe<SocketStreamJob> { base 84 net/socket_stream/socket_stream_job.h friend class base::RefCountedThreadSafe<SocketStreamJob>; base 36 net/socket_stream/socket_stream_job_manager.cc base::AutoLock locked(lock_); base 51 net/socket_stream/socket_stream_job_manager.cc base::AutoLock locked(lock_); base 38 net/socket_stream/socket_stream_job_manager.h mutable base::Lock lock_; base 33 net/socket_stream/socket_stream_metrics.cc wait_start_time_ = base::TimeTicks::Now(); base 37 net/socket_stream/socket_stream_metrics.cc connect_start_time_ = base::TimeTicks::Now(); base 45 net/socket_stream/socket_stream_metrics.cc connect_establish_time_ = base::TimeTicks::Now(); base 61 net/socket_stream/socket_stream_metrics.cc base::TimeTicks closed_time = base::TimeTicks::Now(); base 57 net/socket_stream/socket_stream_metrics.h base::TimeTicks wait_start_time_; base 58 net/socket_stream/socket_stream_metrics.h base::TimeTicks connect_start_time_; base 59 net/socket_stream/socket_stream_metrics.h base::TimeTicks connect_establish_time_; base 16 net/socket_stream/socket_stream_metrics_unittest.cc using base::Histogram; base 17 net/socket_stream/socket_stream_metrics_unittest.cc using base::HistogramBase; base 18 net/socket_stream/socket_stream_metrics_unittest.cc using base::HistogramSamples; base 19 net/socket_stream/socket_stream_metrics_unittest.cc using base::StatisticsRecorder; base 26 net/socket_stream/socket_stream_unittest.cc using base::ASCIIToUTF16; base 65 net/socket_stream/socket_stream_unittest.cc const base::Callback<int(SocketStreamEvent*)>& callback) { base 69 net/socket_stream/socket_stream_unittest.cc const base::Callback<void(SocketStreamEvent*)>& callback) { base 73 net/socket_stream/socket_stream_unittest.cc const base::Callback<void(SocketStreamEvent*)>& callback) { base 77 net/socket_stream/socket_stream_unittest.cc const base::Callback<void(SocketStreamEvent*)>& callback) { base 80 net/socket_stream/socket_stream_unittest.cc void SetOnClose(const base::Callback<void(SocketStreamEvent*)>& callback) { base 84 net/socket_stream/socket_stream_unittest.cc const base::Callback<void(SocketStreamEvent*)>& callback) { base 87 net/socket_stream/socket_stream_unittest.cc void SetOnError(const base::Callback<void(SocketStreamEvent*)>& callback) { base 177 net/socket_stream/socket_stream_unittest.cc base::Callback<int(SocketStreamEvent*)> on_start_open_connection_; base 178 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_connected_; base 179 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_sent_data_; base 180 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_received_data_; base 181 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_close_; base 182 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_auth_required_; base 183 net/socket_stream/socket_stream_unittest.cc base::Callback<void(SocketStreamEvent*)> on_error_; base 394 net/socket_stream/socket_stream_unittest.cc delegate->SetOnConnected(base::Bind( base 395 net/socket_stream/socket_stream_unittest.cc &SocketStreamTest::DoSendWebSocketHandshake, base::Unretained(this))); base 396 net/socket_stream/socket_stream_unittest.cc delegate->SetOnReceivedData(base::Bind( base 398 net/socket_stream/socket_stream_unittest.cc base::Unretained(this))); base 489 net/socket_stream/socket_stream_unittest.cc delegate->SetOnConnected(base::Bind( base 490 net/socket_stream/socket_stream_unittest.cc &SocketStreamTest::DoFailByTooBigDataAndClose, base::Unretained(this))); base 559 net/socket_stream/socket_stream_unittest.cc delegate->SetOnConnected(base::Bind(&SocketStreamEventRecorder::DoClose, base 560 net/socket_stream/socket_stream_unittest.cc base::Unretained(delegate.get()))); base 563 net/socket_stream/socket_stream_unittest.cc delegate->SetOnAuthRequired(base::Bind( base 565 net/socket_stream/socket_stream_unittest.cc base::Unretained(delegate.get()))); base 616 net/socket_stream/socket_stream_unittest.cc delegate->SetOnConnected(base::Bind(&SocketStreamEventRecorder::DoClose, base 617 net/socket_stream/socket_stream_unittest.cc base::Unretained(delegate.get()))); base 673 net/socket_stream/socket_stream_unittest.cc delegate->SetOnConnected(base::Bind(&SocketStreamEventRecorder::DoClose, base 674 net/socket_stream/socket_stream_unittest.cc base::Unretained(delegate.get()))); base 711 net/socket_stream/socket_stream_unittest.cc delegate->SetOnStartOpenConnection(base::Bind( base 712 net/socket_stream/socket_stream_unittest.cc &SocketStreamTest::DoIOPending, base::Unretained(this))); base 713 net/socket_stream/socket_stream_unittest.cc delegate->SetOnConnected(base::Bind( base 714 net/socket_stream/socket_stream_unittest.cc &SocketStreamTest::DoSendWebSocketHandshake, base::Unretained(this))); base 715 net/socket_stream/socket_stream_unittest.cc delegate->SetOnReceivedData(base::Bind( base 717 net/socket_stream/socket_stream_unittest.cc base::Unretained(this))); base 777 net/socket_stream/socket_stream_unittest.cc delegate->SetOnStartOpenConnection(base::Bind( base 778 net/socket_stream/socket_stream_unittest.cc &SocketStreamTest::DoSwitchToSpdyTest, base::Unretained(this))); base 804 net/socket_stream/socket_stream_unittest.cc delegate->SetOnStartOpenConnection(base::Bind( base 805 net/socket_stream/socket_stream_unittest.cc &SocketStreamTest::DoIOPending, base::Unretained(this))); base 859 net/socket_stream/socket_stream_unittest.cc delegate->SetOnConnected(base::Bind(&SocketStreamEventRecorder::DoClose, base 860 net/socket_stream/socket_stream_unittest.cc base::Unretained(delegate.get()))); base 910 net/socket_stream/socket_stream_unittest.cc delegate->SetOnConnected(base::Bind(&SocketStreamEventRecorder::DoClose, base 911 net/socket_stream/socket_stream_unittest.cc base::Unretained(delegate.get()))); base 1000 net/socket_stream/socket_stream_unittest.cc delegate->SetOnStartOpenConnection(base::Bind( base 1001 net/socket_stream/socket_stream_unittest.cc &SocketStreamTest::DoIOPending, base::Unretained(this))); base 1002 net/socket_stream/socket_stream_unittest.cc delegate->SetOnConnected(base::Bind( base 1003 net/socket_stream/socket_stream_unittest.cc &SocketStreamTest::DoSendWebSocketHandshake, base::Unretained(this))); base 1004 net/socket_stream/socket_stream_unittest.cc delegate->SetOnReceivedData(base::Bind( base 1006 net/socket_stream/socket_stream_unittest.cc base::Unretained(this))); base 353 net/spdy/buffered_spdy_framer.cc base::StringPiece(data, len)); base 15 net/spdy/hpack_decoder.cc using base::StringPiece; base 81 net/spdy/hpack_decoder.h void HandleHeaderRepresentation(base::StringPiece name, base 82 net/spdy/hpack_decoder.h base::StringPiece value); base 111 net/spdy/hpack_decoder.h base::StringPiece* next_name); base 114 net/spdy/hpack_decoder.h base::StringPiece* output); base 23 net/spdy/hpack_decoder_test.cc using base::StringPiece; base 79 net/spdy/hpack_decoder_test.cc using base::StringPiece; base 12 net/spdy/hpack_encoder.cc using base::StringPiece; base 39 net/spdy/hpack_encoder.h static void CookieToCrumbs(base::StringPiece cookie, base 40 net/spdy/hpack_encoder.h std::vector<base::StringPiece>* out); base 15 net/spdy/hpack_encoder_test.cc using base::StringPiece; base 16 net/spdy/hpack_encoding_context.cc using base::StringPiece; base 57 net/spdy/hpack_encoding_context.h base::StringPiece GetNameAt(uint32 index) const; base 59 net/spdy/hpack_encoding_context.h base::StringPiece GetValueAt(uint32 index) const; base 108 net/spdy/hpack_encoding_context.h base::StringPiece name, base 109 net/spdy/hpack_encoding_context.h base::StringPiece value, base 26 net/spdy/hpack_entry.cc HpackEntry::HpackEntry(base::StringPiece name, base::StringPiece value) base 47 net/spdy/hpack_entry.cc touch_count_str = base::IntToString(TouchCount()); base 50 net/spdy/hpack_entry.h HpackEntry(base::StringPiece name, base::StringPiece value); base 57 net/spdy/hpack_entry.h base::StringPiece name() const { return base::StringPiece(name_); } base 58 net/spdy/hpack_entry.h base::StringPiece value() const { return base::StringPiece(value_); } base 16 net/spdy/hpack_huffman_table.cc using base::StringPiece; base 78 net/spdy/hpack_huffman_table.h void EncodeString(base::StringPiece in, HpackOutputStream* out) const; base 17 net/spdy/hpack_huffman_table_test.cc using base::StringPiece; base 14 net/spdy/hpack_input_stream.cc using base::StringPiece; base 28 net/spdy/hpack_input_stream.h HpackInputStream(uint32 max_string_literal_size, base::StringPiece buffer); base 43 net/spdy/hpack_input_stream.h bool DecodeNextIdentityString(base::StringPiece* str); base 73 net/spdy/hpack_input_stream.h base::StringPiece buffer_; base 20 net/spdy/hpack_input_stream_test.cc using base::StringPiece; base 9 net/spdy/hpack_output_stream.cc using base::StringPiece; base 89 net/spdy/hpack_output_stream.cc bool HpackOutputStream::AppendStringLiteral(base::StringPiece str) { base 38 net/spdy/hpack_output_stream.h bool AppendLiteralHeaderNoIndexingWithName(base::StringPiece name, base 39 net/spdy/hpack_output_stream.h base::StringPiece value); base 61 net/spdy/hpack_output_stream.h bool AppendStringLiteralForTest(base::StringPiece str) { base 84 net/spdy/hpack_output_stream.h bool AppendStringLiteral(base::StringPiece str); base 266 net/spdy/hpack_output_stream_test.cc base::StringPiece(NULL, kuint32max))); base 11 net/spdy/hpack_string_util.cc bool StringPiecesEqualConstantTime(base::StringPiece str1, base 12 net/spdy/hpack_string_util.cc base::StringPiece str2) { base 19 net/spdy/hpack_string_util.h base::StringPiece str1, base 20 net/spdy/hpack_string_util.h base::StringPiece str2); base 46 net/spdy/spdy_buffer.h typedef base::Callback<void(size_t, ConsumeSource)> ConsumeCallback; base 91 net/spdy/spdy_buffer.h typedef base::RefCountedData<scoped_ptr<SpdyFrame> > SharedFrame; base 75 net/spdy/spdy_buffer_unittest.cc base::Bind(&IncrementBy, &x1, SpdyBuffer::CONSUME)); base 77 net/spdy/spdy_buffer_unittest.cc base::Bind(&IncrementBy, &x2, SpdyBuffer::CONSUME)); base 100 net/spdy/spdy_buffer_unittest.cc base::Bind(&IncrementBy, &x, SpdyBuffer::DISCARD)); base 134 net/spdy/spdy_frame_builder.cc bool SpdyFrameBuilder::WriteStringPiece32(const base::StringPiece& value) { base 103 net/spdy/spdy_frame_builder.h bool WriteStringPiece32(const base::StringPiece& value); base 22 net/spdy/spdy_frame_builder_test.cc EXPECT_EQ(base::StringPiece(expected, builder_size), base 23 net/spdy/spdy_frame_builder_test.cc base::StringPiece(frame->data(), builder_size)); base 58 net/spdy/spdy_frame_builder_test.cc EXPECT_EQ(base::StringPiece(expected->data(), expected->size()), base 59 net/spdy/spdy_frame_builder_test.cc base::StringPiece(built->data(), expected->size())); base 76 net/spdy/spdy_frame_builder_test.cc EXPECT_EQ(base::StringPiece(expected->data(), expected->size()), base 77 net/spdy/spdy_frame_builder_test.cc base::StringPiece(built->data(), built->size())); base 114 net/spdy/spdy_frame_reader.cc bool SpdyFrameReader::ReadStringPiece16(base::StringPiece* result) { base 137 net/spdy/spdy_frame_reader.cc bool SpdyFrameReader::ReadStringPiece32(base::StringPiece* result) { base 75 net/spdy/spdy_frame_reader.h bool ReadStringPiece16(base::StringPiece* result); base 84 net/spdy/spdy_frame_reader.h bool ReadStringPiece32(base::StringPiece* result); base 70 net/spdy/spdy_frame_reader_test.cc base::StringPiece stringpiece_val; base 95 net/spdy/spdy_frame_reader_test.cc base::StringPiece stringpiece_val; base 147 net/spdy/spdy_frame_reader_test.cc base::StringPiece stringpiece_val; base 166 net/spdy/spdy_frame_reader_test.cc base::StringPiece stringpiece_val; base 186 net/spdy/spdy_frame_reader_test.cc base::StringPiece stringpiece_val; base 205 net/spdy/spdy_frame_reader_test.cc base::StringPiece stringpiece_val; base 227 net/spdy/spdy_frame_reader_test.cc EXPECT_EQ("foo", base::StringPiece(dest1, arraysize(dest1))); base 232 net/spdy/spdy_frame_reader_test.cc EXPECT_EQ("Hi", base::StringPiece(dest2, arraysize(dest2))); base 48 net/spdy/spdy_framer.cc base::LazyInstance<DictionaryIds>::Leaky g_dictionary_ids; base 1108 net/spdy/spdy_framer.cc static void WriteZ(const base::StringPiece& data, base 1151 net/spdy/spdy_framer.cc WriteZ(base::StringPiece(buf, length), clas, out); base 1176 net/spdy/spdy_framer.cc std::vector<base::StringPiece> cookie_values; base 1178 net/spdy/spdy_framer.cc base::StringPiece cookie_data(it->second); base 1978 net/spdy/spdy_framer.cc base::StringPiece temp; base 2803 net/spdy/spdy_framer.cc base::StatsCounter compressed_frames("spdy.CompressedFrames"); base 2804 net/spdy/spdy_framer.cc base::StatsCounter pre_compress_bytes("spdy.PreCompressSize"); base 2805 net/spdy/spdy_framer.cc base::StatsCounter post_compress_bytes("spdy.PostCompressSize"); base 20 net/spdy/spdy_framer_test.cc using base::StringPiece; base 497 net/spdy/spdy_framer_test.cc base::StringPiece GetSerializedHeaders(const SpdyFrame* frame, base 499 net/spdy/spdy_framer_test.cc return base::StringPiece(frame->data() + framer.GetSynStreamMinimumSize(), base 762 net/spdy/spdy_framer_test.cc base::StringPiece serialized_headers = base 1100 net/spdy/spdy_framer_test.cc base::StringPiece reset_stream = "RESETSTREAM"; base 1331 net/spdy/spdy_framer_test.cc base::StringPiece serialized_headers; base 1509 net/spdy/spdy_framer_test.cc data_header_ir.SetDataShallow(base::StringPiece(bytes, strlen(bytes))); base 12 net/spdy/spdy_header_block.cc base::Value* SpdyHeaderBlockNetLogCallback( base 15 net/spdy/spdy_header_block.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 16 net/spdy/spdy_header_block.cc base::DictionaryValue* headers_dict = new base::DictionaryValue(); base 21 net/spdy/spdy_header_block.cc new base::StringValue( base 29 net/spdy/spdy_header_block.cc const base::Value* event_param, base 33 net/spdy/spdy_header_block.cc const base::DictionaryValue* dict = NULL; base 34 net/spdy/spdy_header_block.cc const base::DictionaryValue* header_dict = NULL; base 42 net/spdy/spdy_header_block.cc for (base::DictionaryValue::Iterator it(*header_dict); !it.IsAtEnd(); base 22 net/spdy/spdy_header_block.h NET_EXPORT base::Value* SpdyHeaderBlockNetLogCallback( base 31 net/spdy/spdy_header_block.h const base::Value* event_param, base 21 net/spdy/spdy_header_block_unittest.cc scoped_ptr<base::Value> event_param( base 30 net/spdy/spdy_headers_block_parser.h base::StringPiece key, base 31 net/spdy/spdy_headers_block_parser.h base::StringPiece value) = 0; base 17 net/spdy/spdy_headers_block_parser_test.cc using base::IntToString; base 18 net/spdy/spdy_headers_block_parser_test.cc using base::StringPiece; base 28 net/spdy/spdy_http_stream.cc SpdyHttpStream::SpdyHttpStream(const base::WeakPtr<SpdySession>& spdy_session, base 81 net/spdy/spdy_http_stream.cc base::Bind(&SpdyHttpStream::OnStreamCreated, base 216 net/spdy/spdy_http_stream.cc base::Time request_time = base::Time::Now(); base 274 net/spdy/spdy_http_stream.cc base::Bind(&SpdyHeaderBlockNetLogCallback, headers.get())); base 417 net/spdy/spdy_http_stream.cc base::Bind(&SpdyHttpStream::OnRequestBodyReadCompleted, base 451 net/spdy/spdy_http_stream.cc const base::TimeDelta kBufferTime = base::TimeDelta::FromMilliseconds(1); base 452 net/spdy/spdy_http_stream.cc base::MessageLoop::current()->PostDelayedTask( base 454 net/spdy/spdy_http_stream.cc base::Bind(base::IgnoreResult(&SpdyHttpStream::DoBufferedReadCallback), base 34 net/spdy/spdy_http_stream.h SpdyHttpStream(const base::WeakPtr<SpdySession>& spdy_session, bool direct); base 112 net/spdy/spdy_http_stream.h base::WeakPtrFactory<SpdyHttpStream> weak_factory_; base 114 net/spdy/spdy_http_stream.h const base::WeakPtr<SpdySession> spdy_session_; base 117 net/spdy/spdy_http_stream.h base::WeakPtr<SpdyStream> stream_; base 84 net/spdy/spdy_http_stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 124 net/spdy/spdy_http_stream_unittest.cc base::WeakPtr<SpdySession> session_; base 155 net/spdy/spdy_http_stream_unittest.cc base::RunLoop().RunUntilIdle(); base 375 net/spdy/spdy_http_stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 97 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 455 net/spdy/spdy_network_transaction_unittest.cc base::FilePath file_path; base 456 net/spdy/spdy_network_transaction_unittest.cc CHECK(base::CreateTemporaryFileInDir(temp_dir_.path(), &file_path)); base 458 net/spdy/spdy_network_transaction_unittest.cc base::WriteFile(file_path, kUploadData, kUploadDataSize)); base 462 net/spdy/spdy_network_transaction_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 466 net/spdy/spdy_network_transaction_unittest.cc base::Time())); base 482 net/spdy/spdy_network_transaction_unittest.cc base::FilePath file_path; base 483 net/spdy/spdy_network_transaction_unittest.cc CHECK(base::CreateTemporaryFileInDir(temp_dir_.path(), &file_path)); base 485 net/spdy/spdy_network_transaction_unittest.cc base::WriteFile(file_path, kUploadData, kUploadDataSize)); base 490 net/spdy/spdy_network_transaction_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 494 net/spdy/spdy_network_transaction_unittest.cc base::Time())); base 511 net/spdy/spdy_network_transaction_unittest.cc base::FilePath file_path; base 512 net/spdy/spdy_network_transaction_unittest.cc CHECK(base::CreateTemporaryFileInDir(temp_dir_.path(), &file_path)); base 514 net/spdy/spdy_network_transaction_unittest.cc base::WriteFile(file_path, kUploadData, kUploadDataSize)); base 520 net/spdy/spdy_network_transaction_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 524 net/spdy/spdy_network_transaction_unittest.cc base::Time())); base 571 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 594 net/spdy/spdy_network_transaction_unittest.cc base::WeakPtr<SpdySession> spdy_session = base 625 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 686 net/spdy/spdy_network_transaction_unittest.cc base::ScopedTempDir temp_dir_; base 1526 net/spdy/spdy_network_transaction_unittest.cc callback_(base::Bind(&KillerCallback::OnComplete, base 1527 net/spdy/spdy_network_transaction_unittest.cc base::Unretained(this))) { base 1853 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 1959 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 1962 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 2334 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 2436 net/spdy/spdy_network_transaction_unittest.cc base::Bind(&SpdyNetworkTransactionTest::StartTransactionCallback, base 2484 net/spdy/spdy_network_transaction_unittest.cc base::Bind(&SpdyNetworkTransactionTest::DeleteSessionCallback, base 2485 net/spdy/spdy_network_transaction_unittest.cc base::Unretained(&helper))); base 2490 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 2553 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().Run(); base 2558 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().Run(); base 2645 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().Run(); base 2660 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().Run(); base 2664 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().Run(); base 3484 net/spdy/spdy_network_transaction_unittest.cc base::TimeDelta test_delay = out.response_info.response_time - base 3486 net/spdy/spdy_network_transaction_unittest.cc base::TimeDelta min_expected_delay; base 3837 net/spdy/spdy_network_transaction_unittest.cc base::ListValue* header_list; base 3852 net/spdy/spdy_network_transaction_unittest.cc base::StringValue header(*it); base 3943 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 4040 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 4134 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 4229 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 4295 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 4945 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 5090 net/spdy/spdy_network_transaction_unittest.cc AuthCredentials credentials(base::ASCIIToUTF16("foo"), base 5091 net/spdy/spdy_network_transaction_unittest.cc base::ASCIIToUTF16("bar")); base 5261 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 5397 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 5530 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 5890 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 5899 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 5907 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 6112 net/spdy/spdy_network_transaction_unittest.cc EXPECT_THAT(base::StringPiece(buf->data(), kTargetSize), Each(Eq('x'))); base 6115 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); base 6295 net/spdy/spdy_network_transaction_unittest.cc base::RunLoop().RunUntilIdle(); // Write as much as we can. base 35 net/spdy/spdy_pinnable_buffer_piece.h operator base::StringPiece() const { base 36 net/spdy/spdy_pinnable_buffer_piece.h return base::StringPiece(buffer_, length_); base 14 net/spdy/spdy_pinnable_buffer_piece_test.cc using base::StringPiece; base 14 net/spdy/spdy_prefixed_buffer_reader_test.cc using base::StringPiece; base 127 net/spdy/spdy_priority_forest.h typedef base::hash_map<NodeId, Node> NodeMap; base 454 net/spdy/spdy_priority_forest.h roots.upper_bound(base::RandGenerator(total_weight)); base 480 net/spdy/spdy_priority_forest.h return group[base::RandGenerator(group.size())]; base 14 net/spdy/spdy_protocol.cc SpdyDataIR::SpdyDataIR(SpdyStreamId stream_id, const base::StringPiece& data) base 318 net/spdy/spdy_protocol.cc base::StringPiece description) base 346 net/spdy/spdy_protocol.cc const base::StringPiece& description) base 354 net/spdy/spdy_protocol.cc const base::StringPiece& SpdyGoAwayIR::description() const { base 505 net/spdy/spdy_protocol.h void SetHeader(const base::StringPiece& name, base 506 net/spdy/spdy_protocol.h const base::StringPiece& value) { base 524 net/spdy/spdy_protocol.h SpdyDataIR(SpdyStreamId stream_id, const base::StringPiece& data); base 531 net/spdy/spdy_protocol.h base::StringPiece data() const { return data_; } base 557 net/spdy/spdy_protocol.h void SetDataDeep(const base::StringPiece& data) { base 563 net/spdy/spdy_protocol.h void SetDataShallow(const base::StringPiece& data) { base 573 net/spdy/spdy_protocol.h base::StringPiece data_; base 628 net/spdy/spdy_protocol.h base::StringPiece description); base 641 net/spdy/spdy_protocol.h base::StringPiece description() const { return description_; } base 643 net/spdy/spdy_protocol.h void set_description(base::StringPiece description) { base 651 net/spdy/spdy_protocol.h base::StringPiece description_; base 724 net/spdy/spdy_protocol.h const base::StringPiece& description); base 738 net/spdy/spdy_protocol.h const base::StringPiece& description() const; base 745 net/spdy/spdy_protocol.h const base::StringPiece description_; base 28 net/spdy/spdy_proxy_client_socket.cc const base::WeakPtr<SpdyStream>& spdy_stream, base 330 net/spdy/spdy_proxy_client_socket.cc base::Bind(&SpdyProxyClientSocket::OnIOComplete, base 358 net/spdy/spdy_proxy_client_socket.cc base::Bind(&HttpRequestHeaders::NetLogCallback, base 359 net/spdy/spdy_proxy_client_socket.cc base::Unretained(&request_headers), base 400 net/spdy/spdy_proxy_client_socket.cc base::Bind(&HttpResponseHeaders::NetLogCallback, response_.headers)); base 499 net/spdy/spdy_proxy_client_socket.cc base::WeakPtr<SpdyProxyClientSocket> weak_ptr = weak_factory_.GetWeakPtr(); base 46 net/spdy/spdy_proxy_client_socket.h SpdyProxyClientSocket(const base::WeakPtr<SpdyStream>& spdy_stream, base 132 net/spdy/spdy_proxy_client_socket.h base::WeakPtr<SpdyStream> spdy_stream_; base 166 net/spdy/spdy_proxy_client_socket.h base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; base 96 net/spdy/spdy_proxy_client_socket_unittest.cc const base::string16 kFoo(base::ASCIIToUTF16("foo")); base 97 net/spdy/spdy_proxy_client_socket_unittest.cc const base::string16 kBar(base::ASCIIToUTF16("bar")); base 127 net/spdy/spdy_proxy_client_socket_unittest.cc base::WeakPtr<SpdySession> spdy_session_; base 171 net/spdy/spdy_proxy_client_socket_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 195 net/spdy/spdy_proxy_client_socket_unittest.cc base::WeakPtr<SpdyStream> spdy_stream( base 1371 net/spdy/spdy_proxy_client_socket_unittest.cc callback_(base::Bind(&DeleteSockCallback::OnComplete, base 1372 net/spdy/spdy_proxy_client_socket_unittest.cc base::Unretained(this))) { base 58 net/spdy/spdy_session.cc scoped_ptr<base::ListValue> SpdyHeaderBlockToListValue( base 61 net/spdy/spdy_session.cc scoped_ptr<base::ListValue> headers_list(new base::ListValue()); base 71 net/spdy/spdy_session.cc base::Value* NetLogSpdySynStreamSentCallback(const SpdyHeaderBlock* headers, base 77 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 87 net/spdy/spdy_session.cc base::Value* NetLogSpdySynStreamReceivedCallback( base 95 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 106 net/spdy/spdy_session.cc base::Value* NetLogSpdySynReplyOrHeadersReceivedCallback( base 111 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 119 net/spdy/spdy_session.cc base::Value* NetLogSpdySessionCloseCallback(int net_error, base 122 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 128 net/spdy/spdy_session.cc base::Value* NetLogSpdySessionCallback(const HostPortProxyPair* host_pair, base 130 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 136 net/spdy/spdy_session.cc base::Value* NetLogSpdySettingsCallback(const HostPortPair& host_port_pair, base 139 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 145 net/spdy/spdy_session.cc base::Value* NetLogSpdySettingCallback(SpdySettingsIds id, base 149 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 156 net/spdy/spdy_session.cc base::Value* NetLogSpdySendSettingsCallback(const SettingsMap* settings, base 158 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 159 net/spdy/spdy_session.cc base::ListValue* settings_list = new base::ListValue(); base 165 net/spdy/spdy_session.cc settings_list->Append(new base::StringValue( base 166 net/spdy/spdy_session.cc base::StringPrintf("[id:%u flags:%u value:%u]", id, flags, value))); base 172 net/spdy/spdy_session.cc base::Value* NetLogSpdyWindowUpdateFrameCallback( base 176 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 182 net/spdy/spdy_session.cc base::Value* NetLogSpdySessionWindowUpdateCallback( base 186 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 192 net/spdy/spdy_session.cc base::Value* NetLogSpdyDataCallback(SpdyStreamId stream_id, base 196 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 203 net/spdy/spdy_session.cc base::Value* NetLogSpdyRstCallback(SpdyStreamId stream_id, base 207 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 214 net/spdy/spdy_session.cc base::Value* NetLogSpdyPingCallback(SpdyPingId unique_id, base 218 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 225 net/spdy/spdy_session.cc base::Value* NetLogSpdyGoAwayCallback(SpdyStreamId last_stream_id, base 230 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 253 net/spdy/spdy_session.cc RequestEquals(const base::WeakPtr<SpdyStreamRequest>& request) base 256 net/spdy/spdy_session.cc bool operator()(const base::WeakPtr<SpdyStreamRequest>& request) const { base 261 net/spdy/spdy_session.cc const base::WeakPtr<SpdyStreamRequest> request_; base 344 net/spdy/spdy_session.cc const base::WeakPtr<SpdySession>& session, base 361 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream> stream; base 378 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream> SpdyStreamRequest::ReleaseStream() { base 380 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream> stream = stream_; base 387 net/spdy/spdy_session.cc const base::WeakPtr<SpdyStream>& stream) { base 432 net/spdy/spdy_session.cc base::TimeTicks creation_time) base 440 net/spdy/spdy_session.cc const base::WeakPtr<HttpServerProperties>& http_server_properties, base 503 net/spdy/spdy_session.cc base::TimeDelta::FromSeconds(kDefaultConnectionAtRiskOfLossSeconds)), base 505 net/spdy/spdy_session.cc base::TimeDelta::FromSeconds(kHungIntervalSeconds)), base 513 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySessionCallback, &host_port_proxy_pair())); base 515 net/spdy/spdy_session.cc base::TimeDelta::FromSeconds(kMinPushedStreamLifetimeSeconds); base 552 net/spdy/spdy_session.cc base::StatsCounter spdy_sessions("spdy.sessions"); base 603 net/spdy/spdy_session.cc base::MessageLoop::current()->PostTask( base 605 net/spdy/spdy_session.cc base::Bind(&SpdySession::PumpReadLoop, base 633 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream>* stream, base 677 net/spdy/spdy_session.cc const base::WeakPtr<SpdyStreamRequest>& request, base 678 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream>* stream) { base 708 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream>* stream) { base 757 net/spdy/spdy_session.cc const base::WeakPtr<SpdyStreamRequest>& request) { base 792 net/spdy/spdy_session.cc base::WeakPtr<SpdyStreamRequest> SpdySession::GetNextPendingStreamRequest() { base 797 net/spdy/spdy_session.cc base::WeakPtr<SpdyStreamRequest> pending_request = base 803 net/spdy/spdy_session.cc return base::WeakPtr<SpdyStreamRequest>(); base 817 net/spdy/spdy_session.cc base::WeakPtr<SpdyStreamRequest> pending_request = base 822 net/spdy/spdy_session.cc base::MessageLoop::current()->PostTask( base 824 net/spdy/spdy_session.cc base::Bind(&SpdySession::CompleteStreamRequest, base 839 net/spdy/spdy_session.cc base::WeakPtr<SpdySession> SpdySession::GetWeakPtr() { base 859 net/spdy/spdy_session.cc const base::WeakPtr<SpdyStream>& stream, base 887 net/spdy/spdy_session.cc base::StatsCounter spdy_requests("spdy.requests"); base 894 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySynStreamSentCallback, &headers, base 1003 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyDataCallback, stream_id, effective_len, base 1023 net/spdy/spdy_session.cc base::Bind(&SpdySession::OnWriteBufferConsumed, base 1044 net/spdy/spdy_session.cc const base::WeakPtr<SpdyStream>& stream, int status) { base 1098 net/spdy/spdy_session.cc base::WeakPtr<SpdySession> weak_this = GetWeakPtr(); base 1146 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyRstCallback, stream_id, status, &description)); base 1211 net/spdy/spdy_session.cc base::MessageLoop::current()->PostTask( base 1213 net/spdy/spdy_session.cc base::Bind(&SpdySession::PumpReadLoop, base 1236 net/spdy/spdy_session.cc base::Bind(&SpdySession::PumpReadLoop, base 1364 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream> stream; base 1408 net/spdy/spdy_session.cc base::Bind(&SpdySession::PumpWriteLoop, base 1492 net/spdy/spdy_session.cc base::WeakPtr<SpdyStreamRequest> pending_request = base 1549 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySessionCloseCallback, err, &description)); base 1585 net/spdy/spdy_session.cc std::string description = base::StringPrintf( base 1600 net/spdy/spdy_session.cc base::StatsCounter abandoned_streams("spdy.abandoned_streams"); base 1605 net/spdy/spdy_session.cc base::StatsCounter abandoned_push_streams("spdy.abandoned_push_streams"); base 1633 net/spdy/spdy_session.cc base::Value* SpdySession::GetInfoAsValue() const { base 1634 net/spdy/spdy_session.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 1640 net/spdy/spdy_session.cc base::ListValue* alias_list = new base::ListValue(); base 1644 net/spdy/spdy_session.cc alias_list->Append(new base::StringValue( base 1730 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream>()); base 1736 net/spdy/spdy_session.cc const base::WeakPtr<SpdyStream>& stream) { base 1746 net/spdy/spdy_session.cc base::MessageLoop::current()->PostTask( base 1748 net/spdy/spdy_session.cc base::Bind(&SpdySession::PumpWriteLoop, base 1793 net/spdy/spdy_session.cc base::WeakPtr<SpdySession> weak_this = GetWeakPtr(); base 1814 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream> SpdySession::GetActivePushStream(const GURL& url) { base 1815 net/spdy/spdy_session.cc base::StatsCounter used_push_streams("spdy.claimed_push_streams"); base 1819 net/spdy/spdy_session.cc return base::WeakPtr<SpdyStream>(); base 1827 net/spdy/spdy_session.cc return base::WeakPtr<SpdyStream>(); base 1858 net/spdy/spdy_session.cc std::string description = base::StringPrintf( base 1926 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyDataCallback, stream_id, len, fin)); base 1943 net/spdy/spdy_session.cc base::Bind(&SpdySession::OnReadBufferConsumed, base 1983 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySettingsCallback, host_port_pair(), base 2007 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySettingCallback, base 2040 net/spdy/spdy_session.cc base::Time response_time, base 2041 net/spdy/spdy_session.cc base::TimeTicks recv_first_byte_time, base 2066 net/spdy/spdy_session.cc base::Time response_time = base::Time::Now(); base 2067 net/spdy/spdy_session.cc base::TimeTicks recv_first_byte_time = time_func_(); base 2072 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySynStreamReceivedCallback, base 2104 net/spdy/spdy_session.cc std::string description = base::StringPrintf( base 2132 net/spdy/spdy_session.cc base::StringPrintf( base 2146 net/spdy/spdy_session.cc base::StringPrintf( base 2156 net/spdy/spdy_session.cc base::StringPrintf( base 2206 net/spdy/spdy_session.cc base::StatsCounter push_requests("spdy.pushed_streams"); base 2219 net/spdy/spdy_session.cc base::TimeTicks minimum_freshness = time_func_() - base 2220 net/spdy/spdy_session.cc base::TimeDelta::FromSeconds(kMinPushedStreamLifetimeSeconds); base 2243 net/spdy/spdy_session.cc base::TimeDelta::FromSeconds(kMinPushedStreamLifetimeSeconds); base 2254 net/spdy/spdy_session.cc base::Time response_time = base::Time::Now(); base 2255 net/spdy/spdy_session.cc base::TimeTicks recv_first_byte_time = time_func_(); base 2260 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySynReplyOrHeadersReceivedCallback, base 2307 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySynReplyOrHeadersReceivedCallback, base 2332 net/spdy/spdy_session.cc base::Time response_time = base::Time::Now(); base 2333 net/spdy/spdy_session.cc base::TimeTicks recv_first_byte_time = time_func_(); base 2357 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyRstCallback, base 2378 net/spdy/spdy_session.cc base::StringPrintf("SPDY stream closed with status: %d", status)); base 2393 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyGoAwayCallback, base 2415 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyPingCallback, unique_id, is_ack, "received")); base 2452 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyWindowUpdateFrameCallback, base 2469 net/spdy/spdy_session.cc base::UintToString(delta_window_size)); base 2498 net/spdy/spdy_session.cc base::StringPrintf( base 2597 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySendSettingsCallback, &settings)); base 2658 net/spdy/spdy_session.cc base::TimeTicks now = time_func_(); base 2682 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyWindowUpdateFrameCallback, base 2700 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyPingCallback, unique_id, is_ack, "sent")); base 2715 net/spdy/spdy_session.cc base::MessageLoop::current()->PostDelayedTask( base 2717 net/spdy/spdy_session.cc base::Bind(&SpdySession::CheckPingStatus, weak_factory_.GetWeakPtr(), base 2721 net/spdy/spdy_session.cc void SpdySession::CheckPingStatus(base::TimeTicks last_check_time) { base 2733 net/spdy/spdy_session.cc base::TimeTicks now = time_func_(); base 2734 net/spdy/spdy_session.cc base::TimeDelta delay = hung_interval_ - (now - last_activity_time_); base 2738 net/spdy/spdy_session.cc RecordPingRTTHistogram(base::TimeDelta::Max()); base 2746 net/spdy/spdy_session.cc base::MessageLoop::current()->PostDelayedTask( base 2748 net/spdy/spdy_session.cc base::Bind(&SpdySession::CheckPingStatus, weak_factory_.GetWeakPtr(), base 2753 net/spdy/spdy_session.cc void SpdySession::RecordPingRTTHistogram(base::TimeDelta duration) { base 2838 net/spdy/spdy_session.cc const base::WeakPtr<SpdyStreamRequest>& pending_request) { base 2843 net/spdy/spdy_session.cc base::WeakPtr<SpdyStream> stream; base 2904 net/spdy/spdy_session.cc base::IntToString(delta_window_size) + base 2906 net/spdy/spdy_session.cc base::IntToString(session_send_window_size_) + "]"); base 2915 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySessionWindowUpdateCallback, base 2939 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySessionWindowUpdateCallback, base 2971 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySessionWindowUpdateCallback, base 2995 net/spdy/spdy_session.cc "delta_window_size is " + base::IntToString(delta_window_size) + base 2997 net/spdy/spdy_session.cc "window size of " + base::IntToString(session_recv_window_size_)); base 3005 net/spdy/spdy_session.cc base::Bind(&NetLogSpdySessionWindowUpdateCallback, base 143 net/spdy/spdy_session.h const base::WeakPtr<SpdySession>& session, base 157 net/spdy/spdy_session.h base::WeakPtr<SpdyStream> ReleaseStream(); base 164 net/spdy/spdy_session.h void OnRequestCompleteSuccess(const base::WeakPtr<SpdyStream>& stream); base 179 net/spdy/spdy_session.h base::WeakPtrFactory<SpdyStreamRequest> weak_ptr_factory_; base 181 net/spdy/spdy_session.h base::WeakPtr<SpdySession> session_; base 182 net/spdy/spdy_session.h base::WeakPtr<SpdyStream> stream_; base 196 net/spdy/spdy_session.h typedef base::TimeTicks (*TimeFunc)(void); base 211 net/spdy/spdy_session.h const base::WeakPtr<HttpServerProperties>& http_server_properties, base 245 net/spdy/spdy_session.h base::WeakPtr<SpdyStream>* spdy_stream, base 286 net/spdy/spdy_session.h void EnqueueStreamWrite(const base::WeakPtr<SpdyStream>& stream, base 312 net/spdy/spdy_session.h void CloseCreatedStream(const base::WeakPtr<SpdyStream>& stream, int status); base 367 net/spdy/spdy_session.h base::Value* GetInfoAsValue() const; base 469 net/spdy/spdy_session.h base::WeakPtr<SpdySession> GetWeakPtr(); base 475 net/spdy/spdy_session.h friend class base::RefCounted<SpdySession>; base 493 net/spdy/spdy_session.h typedef std::deque<base::WeakPtr<SpdyStreamRequest> > base 508 net/spdy/spdy_session.h PushedStreamInfo(SpdyStreamId stream_id, base::TimeTicks creation_time); base 512 net/spdy/spdy_session.h base::TimeTicks creation_time; base 566 net/spdy/spdy_session.h int TryCreateStream(const base::WeakPtr<SpdyStreamRequest>& request, base 567 net/spdy/spdy_session.h base::WeakPtr<SpdyStream>* stream); base 572 net/spdy/spdy_session.h base::WeakPtr<SpdyStream>* stream); base 576 net/spdy/spdy_session.h void CancelStreamRequest(const base::WeakPtr<SpdyStreamRequest>& request); base 580 net/spdy/spdy_session.h base::WeakPtr<SpdyStreamRequest> GetNextPendingStreamRequest(); base 680 net/spdy/spdy_session.h void CheckPingStatus(base::TimeTicks last_check_time); base 696 net/spdy/spdy_session.h const base::WeakPtr<SpdyStream>& stream); base 716 net/spdy/spdy_session.h base::WeakPtr<SpdyStream> GetActivePushStream(const GURL& url); base 722 net/spdy/spdy_session.h base::Time response_time, base 723 net/spdy/spdy_session.h base::TimeTicks recv_first_byte_time, base 726 net/spdy/spdy_session.h void RecordPingRTTHistogram(base::TimeDelta duration); base 779 net/spdy/spdy_session.h const base::WeakPtr<SpdyStreamRequest>& pending_request); base 902 net/spdy/spdy_session.h void set_connection_at_risk_of_loss_time(base::TimeDelta duration) { base 906 net/spdy/spdy_session.h void set_hung_interval(base::TimeDelta duration) { base 914 net/spdy/spdy_session.h base::TimeTicks last_activity_time() const { return last_activity_time_; } base 928 net/spdy/spdy_session.h base::WeakPtrFactory<SpdySession> weak_factory_; base 944 net/spdy/spdy_session.h const base::WeakPtr<HttpServerProperties> http_server_properties_; base 994 net/spdy/spdy_session.h base::WeakPtr<SpdyStream> in_flight_write_stream_; base 1042 net/spdy/spdy_session.h base::TimeTicks last_ping_sent_time_; base 1045 net/spdy/spdy_session.h base::TimeTicks last_activity_time_; base 1052 net/spdy/spdy_session.h base::TimeTicks next_unclaimed_push_stream_sweep_time_; base 1111 net/spdy/spdy_session.h base::TimeDelta connection_at_risk_of_loss_time_; base 1118 net/spdy/spdy_session.h base::TimeDelta hung_interval_; base 33 net/spdy/spdy_session_pool.cc const base::WeakPtr<HttpServerProperties>& http_server_properties, base 80 net/spdy/spdy_session_pool.cc base::WeakPtr<SpdySession> SpdySessionPool::CreateAvailableSessionFromSocket( base 110 net/spdy/spdy_session_pool.cc base::WeakPtr<SpdySession> available_session = new_session->GetWeakPtr(); base 132 net/spdy/spdy_session_pool.cc base::WeakPtr<SpdySession> SpdySessionPool::FindAvailableSession( base 151 net/spdy/spdy_session_pool.cc return base::WeakPtr<SpdySession>(); base 177 net/spdy/spdy_session_pool.cc const base::WeakPtr<SpdySession>& available_session = base 201 net/spdy/spdy_session_pool.cc return base::WeakPtr<SpdySession>(); base 205 net/spdy/spdy_session_pool.cc const base::WeakPtr<SpdySession>& available_session) { base 218 net/spdy/spdy_session_pool.cc const base::WeakPtr<SpdySession>& unavailable_session) { base 253 net/spdy/spdy_session_pool.cc base::Value* SpdySessionPool::SpdySessionPoolInfoToValue() const { base 254 net/spdy/spdy_session_pool.cc base::ListValue* list = new base::ListValue(); base 307 net/spdy/spdy_session_pool.cc const base::WeakPtr<SpdySession>& session) const { base 333 net/spdy/spdy_session_pool.cc const base::WeakPtr<SpdySession>& session) { base 44 net/spdy/spdy_session_pool.h typedef base::TimeTicks (*TimeFunc)(void); base 52 net/spdy/spdy_session_pool.h const base::WeakPtr<HttpServerProperties>& http_server_properties, base 85 net/spdy/spdy_session_pool.h base::WeakPtr<SpdySession> CreateAvailableSessionFromSocket( base 93 net/spdy/spdy_session_pool.h base::WeakPtr<SpdySession> FindAvailableSession(const SpdySessionKey& key, base 100 net/spdy/spdy_session_pool.h const base::WeakPtr<SpdySession>& available_session); base 105 net/spdy/spdy_session_pool.h const base::WeakPtr<SpdySession>& unavailable_session); base 123 net/spdy/spdy_session_pool.h base::Value* SpdySessionPoolInfoToValue() const; base 125 net/spdy/spdy_session_pool.h base::WeakPtr<HttpServerProperties> http_server_properties() { base 152 net/spdy/spdy_session_pool.h typedef std::vector<base::WeakPtr<SpdySession> > WeakSessionList; base 153 net/spdy/spdy_session_pool.h typedef std::map<SpdySessionKey, base::WeakPtr<SpdySession> > base 158 net/spdy/spdy_session_pool.h bool IsSessionAvailable(const base::WeakPtr<SpdySession>& session) const; base 167 net/spdy/spdy_session_pool.h const base::WeakPtr<SpdySession>& session); base 192 net/spdy/spdy_session_pool.h const base::WeakPtr<HttpServerProperties> http_server_properties_; base 116 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdySession> session = base 120 net/spdy/spdy_session_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 126 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 161 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdySession> session1 = base 164 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 175 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdySession> session2 = base 178 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 189 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdySession> session3 = base 192 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdyStream> spdy_stream3 = base 279 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdySession> session = base 283 net/spdy/spdy_session_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 289 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 369 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdySession> session = base 374 net/spdy/spdy_session_pool_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 393 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdySession> session2 = base 404 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdySession> session1 = base 433 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 437 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 441 net/spdy/spdy_session_pool_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 18 net/spdy/spdy_session_test_util.cc base::MessageLoop::current()->AddTaskObserver(this); base 22 net/spdy/spdy_session_test_util.cc base::MessageLoop::current()->RemoveTaskObserver(this); base 26 net/spdy/spdy_session_test_util.cc const base::PendingTask& pending_task) { base 30 net/spdy/spdy_session_test_util.cc const base::PendingTask& pending_task) { base 19 net/spdy/spdy_session_test_util.h class SpdySessionTestTaskObserver : public base::MessageLoop::TaskObserver { base 32 net/spdy/spdy_session_test_util.h virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE; base 33 net/spdy/spdy_session_test_util.h virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE; base 40 net/spdy/spdy_session_unittest.cc const base::StringPiece kBodyDataStringPiece(kBodyData, kBodyDataSize); base 42 net/spdy/spdy_session_unittest.cc static base::TimeDelta g_time_delta; base 43 net/spdy/spdy_session_unittest.cc base::TimeTicks TheNearFuture() { base 44 net/spdy/spdy_session_unittest.cc return base::TimeTicks::Now() + g_time_delta; base 123 net/spdy/spdy_session_unittest.cc g_time_delta = base::TimeDelta(); base 163 net/spdy/spdy_session_unittest.cc const base::Callback<void(SpdySession*, SpdyStream*)>& stall_function, base 164 net/spdy/spdy_session_unittest.cc const base::Callback<void(SpdySession*, SpdyStream*, int32)>& base 193 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = TryCreateFakeSpdySessionExpectingFailure( base 197 net/spdy/spdy_session_unittest.cc base::RunLoop().RunUntilIdle(); base 216 net/spdy/spdy_session_unittest.cc return base::Bind(&StreamRequestDestroyingCallback::OnComplete, base 217 net/spdy/spdy_session_unittest.cc base::Unretained(this)); base 247 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 252 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = CreateStreamSynchronously( base 302 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 335 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 338 net/spdy/spdy_session_unittest.cc base::RunLoop().RunUntilIdle(); base 370 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 376 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 382 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 451 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 457 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 463 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 530 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 536 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 542 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 604 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 610 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 674 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 680 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 731 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 736 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 798 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 801 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 808 net/spdy/spdy_session_unittest.cc base::TimeTicks before_ping_time = base::TimeTicks::Now(); base 811 net/spdy/spdy_session_unittest.cc base::TimeDelta::FromSeconds(-1)); base 812 net/spdy/spdy_session_unittest.cc session->set_hung_interval(base::TimeDelta::FromMilliseconds(50)); base 853 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 856 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 864 net/spdy/spdy_session_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 902 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 906 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 917 net/spdy/spdy_session_unittest.cc g_time_delta = base::TimeDelta::FromSeconds(11); base 952 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 957 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = CreateStreamSynchronously( base 985 net/spdy/spdy_session_unittest.cc g_time_delta = base::TimeDelta::FromSeconds(301); base 1021 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1024 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 1031 net/spdy/spdy_session_unittest.cc session->set_connection_at_risk_of_loss_time(base::TimeDelta::FromSeconds(0)); base 1032 net/spdy/spdy_session_unittest.cc session->set_hung_interval(base::TimeDelta::FromSeconds(0)); base 1047 net/spdy/spdy_session_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1048 net/spdy/spdy_session_unittest.cc session->last_activity_time_ = now - base::TimeDelta::FromSeconds(1); base 1083 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1088 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 1153 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1158 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 1217 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1222 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 1229 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 1253 net/spdy/spdy_session_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1319 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1322 net/spdy/spdy_session_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1329 net/spdy/spdy_session_unittest.cc base::WeakPtr<HttpServerProperties> test_http_server_properties = base 1360 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1365 net/spdy/spdy_session_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1403 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1408 net/spdy/spdy_session_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1474 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1479 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream_lowest = base 1487 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream_highest = base 1544 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1548 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 1557 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 1614 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1618 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 1625 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 1685 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1689 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 1696 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 1763 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1767 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 1774 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 1844 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1848 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 1855 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 1903 net/spdy/spdy_session_unittest.cc SessionClosingDelegate(const base::WeakPtr<SpdyStream>& stream, base 1904 net/spdy/spdy_session_unittest.cc const base::WeakPtr<SpdySession>& session_to_close) base 1915 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session_to_close_; base 1941 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 1945 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 1996 net/spdy/spdy_session_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 2007 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 2038 net/spdy/spdy_session_unittest.cc base::FilePath certs_dir = GetTestCertsDirectory(); base 2050 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 2114 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 2121 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 2166 net/spdy/spdy_session_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2172 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream2 = request2.ReleaseStream(); base 2192 net/spdy/spdy_session_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2198 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream3 = request3.ReleaseStream(); base 2234 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 2239 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 2246 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 2283 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = request2.ReleaseStream(); base 2293 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream3 = request3.ReleaseStream(); base 2352 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 2356 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 2443 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 2447 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 2556 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 2560 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 2627 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 2631 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 2673 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 2723 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session1 = base 2783 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session1 = base 2801 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session2 = base 2871 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session1 = base 2878 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 2893 net/spdy/spdy_session_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 2911 net/spdy/spdy_session_unittest.cc base::RunLoop().RunUntilIdle(); base 2919 net/spdy/spdy_session_unittest.cc base::RunLoop().RunUntilIdle(); base 2939 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session_privacy_enabled = base 2946 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session_privacy_disabled = base 2964 net/spdy/spdy_session_unittest.cc StreamCreatingDelegate(const base::WeakPtr<SpdyStream>& stream, base 2965 net/spdy/spdy_session_unittest.cc const base::WeakPtr<SpdySession>& session) base 2979 net/spdy/spdy_session_unittest.cc const base::WeakPtr<SpdySession> session_; base 3009 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3013 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream = base 3075 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3077 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream1 = base 3085 net/spdy/spdy_session_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 3093 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> spdy_stream2 = base 3133 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3183 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3220 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3239 net/spdy/spdy_session_unittest.cc DropReceivedDataDelegate(const base::WeakPtr<SpdyStream>& stream, base 3240 net/spdy/spdy_session_unittest.cc base::StringPiece data) base 3296 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3300 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream = base 3371 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3375 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream = base 3460 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3464 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream = base 3542 net/spdy/spdy_session_unittest.cc const base::Callback<void(SpdySession*, SpdyStream*)>& stall_function, base 3543 net/spdy/spdy_session_unittest.cc const base::Callback<void(SpdySession*, SpdyStream*, int32)>& base 3577 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3582 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream = base 3629 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::StallSessionOnly, base 3630 net/spdy/spdy_session_unittest.cc base::Unretained(this)), base 3631 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::UnstallSessionOnly, base 3632 net/spdy/spdy_session_unittest.cc base::Unretained(this))); base 3642 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::StallStreamOnly, base 3643 net/spdy/spdy_session_unittest.cc base::Unretained(this)), base 3644 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::UnstallStreamOnly, base 3645 net/spdy/spdy_session_unittest.cc base::Unretained(this))); base 3653 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::StallSessionStream, base 3654 net/spdy/spdy_session_unittest.cc base::Unretained(this)), base 3655 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::UnstallSessionStream, base 3656 net/spdy/spdy_session_unittest.cc base::Unretained(this))); base 3664 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::StallStreamSession, base 3665 net/spdy/spdy_session_unittest.cc base::Unretained(this)), base 3666 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::UnstallSessionStream, base 3667 net/spdy/spdy_session_unittest.cc base::Unretained(this))); base 3675 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::StallStreamSession, base 3676 net/spdy/spdy_session_unittest.cc base::Unretained(this)), base 3677 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::UnstallStreamSession, base 3678 net/spdy/spdy_session_unittest.cc base::Unretained(this))); base 3686 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::StallSessionStream, base 3687 net/spdy/spdy_session_unittest.cc base::Unretained(this)), base 3688 net/spdy/spdy_session_unittest.cc base::Bind(&SpdySessionTest::UnstallStreamSession, base 3689 net/spdy/spdy_session_unittest.cc base::Unretained(this))); base 3737 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3742 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream1 = base 3752 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream2 = base 3827 net/spdy/spdy_session_unittest.cc StreamClosingDelegate(const base::WeakPtr<SpdyStream>& stream, base 3828 net/spdy/spdy_session_unittest.cc base::StringPiece data) base 3833 net/spdy/spdy_session_unittest.cc void set_stream_to_close(const base::WeakPtr<SpdyStream>& stream_to_close) { base 3846 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream_to_close_; base 3892 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 3897 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream1 = base 3907 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream2 = base 3917 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream3 = base 4048 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdySession> session = base 4053 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream1 = base 4063 net/spdy/spdy_session_unittest.cc base::WeakPtr<SpdyStream> stream2 = base 22 net/spdy/spdy_stream.cc base::Value* NetLogSpdyStreamErrorCallback(SpdyStreamId stream_id, base 26 net/spdy/spdy_stream.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 33 net/spdy/spdy_stream.cc base::Value* NetLogSpdyStreamWindowUpdateCallback( base 38 net/spdy/spdy_stream.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 59 net/spdy/spdy_stream.cc SynStreamBufferProducer(const base::WeakPtr<SpdyStream>& stream) base 77 net/spdy/spdy_stream.cc const base::WeakPtr<SpdyStream> stream_; base 81 net/spdy/spdy_stream.cc const base::WeakPtr<SpdySession>& session, base 99 net/spdy/spdy_stream.cc request_time_(base::Time::Now()), base 130 net/spdy/spdy_stream.cc base::MessageLoop::current()->PostTask( base 132 net/spdy/spdy_stream.cc base::Bind(&SpdyStream::PushedStreamReplay, GetWeakPtr())); base 146 net/spdy/spdy_stream.cc base::WeakPtr<SpdyStream> weak_this = GetWeakPtr(); base 205 net/spdy/spdy_stream.cc send_time_ = base::TimeTicks::Now(); base 262 net/spdy/spdy_stream.cc std::string desc = base::StringPrintf( base 275 net/spdy/spdy_stream.cc base::Bind(&NetLogSpdyStreamWindowUpdateCallback, base 300 net/spdy/spdy_stream.cc base::Bind(&NetLogSpdyStreamWindowUpdateCallback, base 330 net/spdy/spdy_stream.cc base::Bind(&NetLogSpdyStreamWindowUpdateCallback, base 353 net/spdy/spdy_stream.cc "delta_window_size is " + base::IntToString(delta_window_size) + base 355 net/spdy/spdy_stream.cc "window size of " + base::IntToString(recv_window_size_)); base 362 net/spdy/spdy_stream.cc base::Bind(&NetLogSpdyStreamWindowUpdateCallback, base 378 net/spdy/spdy_stream.cc base::Time SpdyStream::GetRequestTime() const { base 382 net/spdy/spdy_stream.cc void SpdyStream::SetRequestTime(base::Time t) { base 388 net/spdy/spdy_stream.cc base::Time response_time, base 389 net/spdy/spdy_stream.cc base::TimeTicks recv_first_byte_time) { base 505 net/spdy/spdy_stream.cc base::Bind(&SpdyStream::OnReadBufferConsumed, GetWeakPtr())); base 511 net/spdy/spdy_stream.cc recv_last_byte_time_ = base::TimeTicks::Now(); base 548 net/spdy/spdy_stream.cc base::WeakPtr<SpdyStream> weak_this = GetWeakPtr(); base 602 net/spdy/spdy_stream.cc base::Bind(&NetLogSpdyStreamErrorCallback, base 645 net/spdy/spdy_stream.cc base::WeakPtr<SpdyStream> SpdyStream::GetWeakPtr() { base 752 net/spdy/spdy_stream.cc base::TimeTicks effective_send_time; base 808 net/spdy/spdy_stream.cc base::Bind(&SpdyStream::OnWriteBufferConsumed, base 853 net/spdy/spdy_stream.cc base::WeakPtr<SpdyStream> weak_this = GetWeakPtr(); base 877 net/spdy/spdy_stream.cc description = base::StringPrintf("%s (0x%08X)", #s, s); \ base 889 net/spdy/spdy_stream.cc description = base::StringPrintf("Unknown state 0x%08X (%u)", state, base 163 net/spdy/spdy_stream.h const base::WeakPtr<SpdySession>& session, base 184 net/spdy/spdy_stream.h base::Time response_time() const { return response_time_; } base 284 net/spdy/spdy_stream.h base::Time GetRequestTime() const; base 285 net/spdy/spdy_stream.h void SetRequestTime(base::Time t); base 293 net/spdy/spdy_stream.h base::Time response_time, base 294 net/spdy/spdy_stream.h base::TimeTicks recv_first_byte_time); base 348 net/spdy/spdy_stream.h base::WeakPtr<SpdyStream> GetWeakPtr(); base 491 net/spdy/spdy_stream.h base::WeakPtrFactory<SpdyStream> weak_ptr_factory_; base 505 net/spdy/spdy_stream.h const base::WeakPtr<SpdySession> session_; base 529 net/spdy/spdy_stream.h base::Time request_time_; base 533 net/spdy/spdy_stream.h base::Time response_time_; base 543 net/spdy/spdy_stream.h base::TimeTicks send_time_; base 544 net/spdy/spdy_stream.h base::TimeTicks recv_first_byte_time_; base 545 net/spdy/spdy_stream.h base::TimeTicks recv_last_byte_time_; base 19 net/spdy/spdy_stream_test_util.cc const base::WeakPtr<SpdyStream>& stream) : stream_(stream) { base 43 net/spdy/spdy_stream_test_util.cc const base::WeakPtr<SpdyStream>& stream) base 104 net/spdy/spdy_stream_test_util.cc const base::WeakPtr<SpdyStream>& stream) base 111 net/spdy/spdy_stream_test_util.cc const base::WeakPtr<SpdyStream>& stream, base 112 net/spdy/spdy_stream_test_util.cc base::StringPiece data) base 131 net/spdy/spdy_stream_test_util.cc const base::WeakPtr<SpdyStream>& stream, base 132 net/spdy/spdy_stream_test_util.cc base::StringPiece data) base 25 net/spdy/spdy_stream_test_util.h explicit ClosingDelegate(const base::WeakPtr<SpdyStream>& stream); base 40 net/spdy/spdy_stream_test_util.h base::WeakPtr<SpdyStream> stream_; base 47 net/spdy/spdy_stream_test_util.h explicit StreamDelegateBase(const base::WeakPtr<SpdyStream>& stream); base 76 net/spdy/spdy_stream_test_util.h const base::WeakPtr<SpdyStream>& stream() { return stream_; } base 79 net/spdy/spdy_stream_test_util.h base::WeakPtr<SpdyStream> stream_; base 91 net/spdy/spdy_stream_test_util.h StreamDelegateDoNothing(const base::WeakPtr<SpdyStream>& stream); base 99 net/spdy/spdy_stream_test_util.h StreamDelegateSendImmediate(const base::WeakPtr<SpdyStream>& stream, base 100 net/spdy/spdy_stream_test_util.h base::StringPiece data); base 107 net/spdy/spdy_stream_test_util.h base::StringPiece data_; base 113 net/spdy/spdy_stream_test_util.h StreamDelegateWithBody(const base::WeakPtr<SpdyStream>& stream, base 114 net/spdy/spdy_stream_test_util.h base::StringPiece data); base 38 net/spdy/spdy_stream_unittest.cc const base::StringPiece kPostBodyStringPiece(kPostBody, kPostBodyLength); base 45 net/spdy/spdy_stream_unittest.cc typedef base::Callback<void(const base::WeakPtr<SpdyStream>&, int32)> base 53 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> CreateDefaultSpdySession() { base 61 net/spdy/spdy_stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 150 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 152 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 192 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> spdy_session(CreateDefaultSpdySession()); base 209 net/spdy/spdy_stream_unittest.cc response, base::Time::Now(), base::TimeTicks::Now()); base 223 net/spdy/spdy_stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 263 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 265 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 347 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 349 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 410 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 412 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 470 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 472 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 528 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 530 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 549 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> push_stream; base 603 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 605 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 624 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> push_stream; base 683 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 685 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 704 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> push_stream; base 752 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 755 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 785 net/spdy/spdy_stream_unittest.cc void StallStream(const base::WeakPtr<SpdyStream>& stream) { base 793 net/spdy/spdy_stream_unittest.cc void IncreaseStreamSendWindowSize(const base::WeakPtr<SpdyStream>& stream, base 800 net/spdy/spdy_stream_unittest.cc void AdjustStreamSendWindowSize(const base::WeakPtr<SpdyStream>& stream, base 843 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 845 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 889 net/spdy/spdy_stream_unittest.cc base::Bind(&IncreaseStreamSendWindowSize)); base 897 net/spdy/spdy_stream_unittest.cc base::Bind(&AdjustStreamSendWindowSize)); base 935 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 937 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 985 net/spdy/spdy_stream_unittest.cc base::Bind(&IncreaseStreamSendWindowSize)); base 993 net/spdy/spdy_stream_unittest.cc base::Bind(&AdjustStreamSendWindowSize)); base 1024 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdySession> session(CreateDefaultSpdySession()); base 1026 net/spdy/spdy_stream_unittest.cc base::WeakPtr<SpdyStream> stream = base 39 net/spdy/spdy_test_util_common.cc void ParseUrl(base::StringPiece url, std::string* scheme, std::string* host, base 270 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdyStream> CreateStreamSynchronously( base 272 net/spdy/spdy_test_util_common.cc const base::WeakPtr<SpdySession>& session, base 280 net/spdy/spdy_test_util_common.cc (rv == OK) ? stream_request.ReleaseStream() : base::WeakPtr<SpdyStream>(); base 289 net/spdy/spdy_test_util_common.cc return base::Bind(&StreamReleaserCallback::OnComplete, base 290 net/spdy/spdy_test_util_common.cc base::Unretained(this), base 359 net/spdy/spdy_test_util_common.cc time_func(&base::TimeTicks::Now), base 389 net/spdy/spdy_test_util_common.cc time_func(&base::TimeTicks::Now), base 492 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdySession> CreateSpdySessionHelper( base 543 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdySession> spdy_session = base 554 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdySession> CreateInsecureSpdySession( base 562 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdySession> TryCreateInsecureSpdySessionExpectingFailure( base 572 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdySession> CreateSecureSpdySession( base 637 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdySession> CreateFakeSpdySessionHelper( base 646 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdySession> spdy_session = base 657 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdySession> CreateFakeSpdySession(SpdySessionPool* pool, base 662 net/spdy/spdy_test_util_common.cc base::WeakPtr<SpdySession> TryCreateFakeSpdySessionExpectingFailure( base 691 net/spdy/spdy_test_util_common.cc void SpdyTestUtil::AddUrlToHeaderBlock(base::StringPiece url, base 705 net/spdy/spdy_test_util_common.cc base::StringPiece url) const { base 710 net/spdy/spdy_test_util_common.cc base::StringPiece url) const { base 718 net/spdy/spdy_test_util_common.cc base::StringPiece url, base 724 net/spdy/spdy_test_util_common.cc base::StringPiece url, base 730 net/spdy/spdy_test_util_common.cc base::StringPiece url, base 841 net/spdy/spdy_test_util_common.cc base::SplitString(it->second, '\0', &values); base 1156 net/spdy/spdy_test_util_common.cc base::StringPiece(kUploadData, kUploadDataSize)); base 1166 net/spdy/spdy_test_util_common.cc SpdyDataIR data_ir(stream_id, base::StringPiece(data, len)); base 1224 net/spdy/spdy_test_util_common.cc base::StringPiece method, base 1225 net/spdy/spdy_test_util_common.cc base::StringPiece url, base 1236 net/spdy/spdy_test_util_common.cc std::string length_str = base::Int64ToString(*content_length); base 115 net/spdy/spdy_test_util_common.h base::WeakPtr<SpdyStream> CreateStreamSynchronously( base 117 net/spdy/spdy_test_util_common.h const base::WeakPtr<SpdySession>& session, base 243 net/spdy/spdy_test_util_common.h base::WeakPtr<SpdySession> CreateInsecureSpdySession( base 252 net/spdy/spdy_test_util_common.h base::WeakPtr<SpdySession> TryCreateInsecureSpdySessionExpectingFailure( base 259 net/spdy/spdy_test_util_common.h base::WeakPtr<SpdySession> CreateSecureSpdySession( base 267 net/spdy/spdy_test_util_common.h base::WeakPtr<SpdySession> CreateFakeSpdySession(SpdySessionPool* pool, base 275 net/spdy/spdy_test_util_common.h base::WeakPtr<SpdySession> TryCreateFakeSpdySessionExpectingFailure( base 299 net/spdy/spdy_test_util_common.h void AddUrlToHeaderBlock(base::StringPiece url, base 303 net/spdy/spdy_test_util_common.h base::StringPiece url) const; base 305 net/spdy/spdy_test_util_common.h base::StringPiece url) const; base 307 net/spdy/spdy_test_util_common.h base::StringPiece url, base 310 net/spdy/spdy_test_util_common.h base::StringPiece url, base 313 net/spdy/spdy_test_util_common.h base::StringPiece url, base 527 net/spdy/spdy_test_util_common.h base::StringPiece method, base 528 net/spdy/spdy_test_util_common.h base::StringPiece url, base 106 net/spdy/spdy_test_utils.cc int32 wire_length = base::HostToNet32(length); base 115 net/spdy/spdy_test_utils.cc int32 wire_length = base::HostToNet16(static_cast<uint16>(length)); base 21 net/spdy/spdy_websocket_stream.cc const base::WeakPtr<SpdySession>& spdy_session, Delegate* delegate) base 43 net/spdy/spdy_websocket_stream.cc base::Bind(&SpdyWebSocketStream::OnSpdyStreamCreated, base 61 net/spdy/spdy_websocket_stream.h SpdyWebSocketStream(const base::WeakPtr<SpdySession>& spdy_session, base 91 net/spdy/spdy_websocket_stream.h base::WeakPtrFactory<SpdyWebSocketStream> weak_ptr_factory_; base 93 net/spdy/spdy_websocket_stream.h base::WeakPtr<SpdyStream> stream_; base 94 net/spdy/spdy_websocket_stream.h const base::WeakPtr<SpdySession> spdy_session_; base 56 net/spdy/spdy_websocket_stream_unittest.cc typedef base::Callback<void(SpdyWebSocketStreamEvent*)> StreamEventCallback; base 212 net/spdy/spdy_websocket_stream_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 274 net/spdy/spdy_websocket_stream_unittest.cc base::WeakPtr<SpdySession> session_; base 330 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoSendHelloFrame, base 331 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 333 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoSendClosingFrame, base 334 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 402 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoSendClosingFrame, base 403 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 458 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoSendHelloFrame, base 459 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 461 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoSync, base 462 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 520 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoSendHelloFrame, base 521 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 523 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoClose, base 524 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 605 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoSync, base 606 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 608 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoSendHelloFrame, base 609 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 611 net/spdy/spdy_websocket_stream_unittest.cc base::Bind(&SpdyWebSocketStreamTest::DoSendClosingFrame, base 612 net/spdy/spdy_websocket_stream_unittest.cc base::Unretained(this))); base 21 net/spdy/spdy_write_queue.cc const base::WeakPtr<SpdyStream>& stream) base 46 net/spdy/spdy_write_queue.cc const base::WeakPtr<SpdyStream>& stream) { base 57 net/spdy/spdy_write_queue.cc base::WeakPtr<SpdyStream>* stream) { base 74 net/spdy/spdy_write_queue.cc const base::WeakPtr<SpdyStream>& stream) { base 42 net/spdy/spdy_write_queue.h const base::WeakPtr<SpdyStream>& stream); base 50 net/spdy/spdy_write_queue.h base::WeakPtr<SpdyStream>* stream); base 54 net/spdy/spdy_write_queue.h void RemovePendingWritesForStream(const base::WeakPtr<SpdyStream>& stream); base 70 net/spdy/spdy_write_queue.h base::WeakPtr<SpdyStream> stream; base 77 net/spdy/spdy_write_queue.h const base::WeakPtr<SpdyStream>& stream); base 44 net/spdy/spdy_write_queue_unittest.cc return StringToProducer(base::IntToString(i)); base 58 net/spdy/spdy_write_queue_unittest.cc EXPECT_TRUE(base::StringToInt(ProducerToString(producer.Pass()), &i)); base 67 net/spdy/spdy_write_queue_unittest.cc SPDY_BIDIRECTIONAL_STREAM, base::WeakPtr<SpdySession>(), base 85 net/spdy/spdy_write_queue_unittest.cc LOW, SYN_STREAM, producer_low.Pass(), base::WeakPtr<SpdyStream>()); base 94 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream> stream; base 135 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream> stream; base 164 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream> stream = base 174 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream> stream; base 183 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream> stream; base 202 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream> streams[] = { base 217 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream> stream; base 227 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream> stream; base 239 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream>()); base 246 net/spdy/spdy_write_queue_unittest.cc base::WeakPtr<SpdyStream> stream; base 30 net/ssl/client_cert_store.h const base::Closure& callback) = 0; base 26 net/ssl/client_cert_store_chromeos.cc const base::Closure& callback) { base 29 net/ssl/client_cert_store_chromeos.cc base::Bind(&ClientCertStoreChromeOS::DidGetPrivateSlot, base 32 net/ssl/client_cert_store_chromeos.cc base::Unretained(this), base 63 net/ssl/client_cert_store_chromeos.cc const base::Closure& callback, base 26 net/ssl/client_cert_store_chromeos.h const base::Closure& callback) OVERRIDE; base 40 net/ssl/client_cert_store_chromeos.h const base::Closure& callback, base 54 net/ssl/client_cert_store_chromeos_unittest.cc base::FilePath p12_path = GetTestCertsDirectory().AppendASCII(filename); base 56 net/ssl/client_cert_store_chromeos_unittest.cc if (!base::ReadFileToString(p12_path, &p12_data)) { base 64 net/ssl/client_cert_store_chromeos_unittest.cc module.get(), p12_data, base::UTF8ToUTF16(password), false, &cert_list); base 98 net/ssl/client_cert_store_chromeos_unittest.cc base::RunLoop run_loop_1; base 99 net/ssl/client_cert_store_chromeos_unittest.cc base::RunLoop run_loop_all; base 136 net/ssl/client_cert_store_chromeos_unittest.cc base::RunLoop run_loop_1; base 137 net/ssl/client_cert_store_chromeos_unittest.cc base::RunLoop run_loop_all; base 169 net/ssl/client_cert_store_chromeos_unittest.cc base::RunLoop run_loop_1; base 170 net/ssl/client_cert_store_chromeos_unittest.cc base::RunLoop run_loop_2; base 27 net/ssl/client_cert_store_mac.cc using base::ScopedCFTypeRef; base 56 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); base 68 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); base 74 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); base 181 net/ssl/client_cert_store_mac.cc const base::Closure& callback) { base 188 net/ssl/client_cert_store_mac.cc base::SysUTF8ToCFStringRef("https://" + server_domain)); base 196 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); base 209 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); base 221 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); base 25 net/ssl/client_cert_store_mac.h const base::Closure& callback) OVERRIDE; base 29 net/ssl/client_cert_store_nss.cc const base::Closure& callback) { base 35 net/ssl/client_cert_store_nss.cc if (base::WorkerPool::PostTaskAndReply( base 37 net/ssl/client_cert_store_nss.cc base::Bind(&ClientCertStoreNSS::GetClientCertsOnWorkerThread, base 40 net/ssl/client_cert_store_nss.cc base::Unretained(this), base 41 net/ssl/client_cert_store_nss.cc base::Passed(&password_delegate), base 89 net/ssl/client_cert_store_nss.cc << base::StringPiece(node->cert->nickname); base 102 net/ssl/client_cert_store_nss.cc DVLOG(2) << "matched cert: " << base::StringPiece(node->cert->nickname); base 107 net/ssl/client_cert_store_nss.cc << base::StringPiece(node->cert->nickname); base 25 net/ssl/client_cert_store_nss.h typedef base::Callback<crypto::CryptoModuleBlockingPasswordDelegate*( base 35 net/ssl/client_cert_store_nss.h const base::Closure& callback) OVERRIDE; base 152 net/ssl/client_cert_store_win.cc const base::Closure& callback) { base 25 net/ssl/client_cert_store_win.h const base::Closure& callback) OVERRIDE; base 25 net/ssl/default_server_bound_cert_store.cc void InvokeCallback(base::Closure callback) const; base 32 net/ssl/default_server_bound_cert_store.cc base::Closure callback) const { base 64 net/ssl/default_server_bound_cert_store.cc base::Time expiration_time; base 72 net/ssl/default_server_bound_cert_store.cc InvokeCallback(base::Bind(callback_, err, server_identifier_, base 82 net/ssl/default_server_bound_cert_store.cc base::Time creation_time, base 83 net/ssl/default_server_bound_cert_store.cc base::Time expiration_time, base 91 net/ssl/default_server_bound_cert_store.cc base::Time creation_time_; base 92 net/ssl/default_server_bound_cert_store.cc base::Time expiration_time_; base 99 net/ssl/default_server_bound_cert_store.cc base::Time creation_time, base 100 net/ssl/default_server_bound_cert_store.cc base::Time expiration_time, base 125 net/ssl/default_server_bound_cert_store.cc const base::Closure& callback); base 131 net/ssl/default_server_bound_cert_store.cc base::Closure callback_; base 137 net/ssl/default_server_bound_cert_store.cc const base::Closure& callback) base 158 net/ssl/default_server_bound_cert_store.cc DeleteAllCreatedBetweenTask(base::Time delete_begin, base 159 net/ssl/default_server_bound_cert_store.cc base::Time delete_end, base 160 net/ssl/default_server_bound_cert_store.cc const base::Closure& callback); base 165 net/ssl/default_server_bound_cert_store.cc base::Time delete_begin_; base 166 net/ssl/default_server_bound_cert_store.cc base::Time delete_end_; base 167 net/ssl/default_server_bound_cert_store.cc base::Closure callback_; base 172 net/ssl/default_server_bound_cert_store.cc base::Time delete_begin, base 173 net/ssl/default_server_bound_cert_store.cc base::Time delete_end, base 174 net/ssl/default_server_bound_cert_store.cc const base::Closure& callback) base 219 net/ssl/default_server_bound_cert_store.cc InvokeCallback(base::Bind(callback_, cert_list)); base 237 net/ssl/default_server_bound_cert_store.cc base::Time* expiration_time, base 265 net/ssl/default_server_bound_cert_store.cc base::Time creation_time, base 266 net/ssl/default_server_bound_cert_store.cc base::Time expiration_time, base 276 net/ssl/default_server_bound_cert_store.cc const base::Closure& callback) { base 282 net/ssl/default_server_bound_cert_store.cc base::Time delete_begin, base 283 net/ssl/default_server_bound_cert_store.cc base::Time delete_end, base 284 net/ssl/default_server_bound_cert_store.cc const base::Closure& callback) { base 290 net/ssl/default_server_bound_cert_store.cc const base::Closure& callback) { base 291 net/ssl/default_server_bound_cert_store.cc DeleteAllCreatedBetween(base::Time(), base::Time(), callback); base 332 net/ssl/default_server_bound_cert_store.cc store_->Load(base::Bind(&DefaultServerBoundCertStore::OnLoaded, base 350 net/ssl/default_server_bound_cert_store.cc base::TimeDelta wait_time; base 352 net/ssl/default_server_bound_cert_store.cc wait_time = base::TimeTicks::Now() - waiting_tasks_start_time_; base 356 net/ssl/default_server_bound_cert_store.cc base::TimeDelta::FromMilliseconds(1), base 357 net/ssl/default_server_bound_cert_store.cc base::TimeDelta::FromMinutes(1), base 371 net/ssl/default_server_bound_cert_store.cc base::Time creation_time, base 372 net/ssl/default_server_bound_cert_store.cc base::Time expiration_time, base 394 net/ssl/default_server_bound_cert_store.cc base::Time delete_begin, base 395 net/ssl/default_server_bound_cert_store.cc base::Time delete_end) { base 426 net/ssl/default_server_bound_cert_store.cc waiting_tasks_start_time_ = base::TimeTicks::Now(); base 48 net/ssl/default_server_bound_cert_store.h base::Time* expiration_time, base 54 net/ssl/default_server_bound_cert_store.h base::Time creation_time, base 55 net/ssl/default_server_bound_cert_store.h base::Time expiration_time, base 60 net/ssl/default_server_bound_cert_store.h const base::Closure& callback) OVERRIDE; base 62 net/ssl/default_server_bound_cert_store.h base::Time delete_begin, base 63 net/ssl/default_server_bound_cert_store.h base::Time delete_end, base 64 net/ssl/default_server_bound_cert_store.h const base::Closure& callback) OVERRIDE; base 65 net/ssl/default_server_bound_cert_store.h virtual void DeleteAll(const base::Closure& callback) OVERRIDE; base 111 net/ssl/default_server_bound_cert_store.h base::Time creation_time, base 112 net/ssl/default_server_bound_cert_store.h base::Time expiration_time, base 116 net/ssl/default_server_bound_cert_store.h void SyncDeleteAllCreatedBetween(base::Time delete_begin, base 117 net/ssl/default_server_bound_cert_store.h base::Time delete_end); base 146 net/ssl/default_server_bound_cert_store.h base::TimeTicks waiting_tasks_start_time_; base 152 net/ssl/default_server_bound_cert_store.h base::WeakPtrFactory<DefaultServerBoundCertStore> weak_ptr_factory_; base 157 net/ssl/default_server_bound_cert_store.h typedef base::RefCountedThreadSafe<DefaultServerBoundCertStore::PersistentStore> base 163 net/ssl/default_server_bound_cert_store.h typedef base::Callback<void(scoped_ptr<ScopedVector<ServerBoundCert> >)> base 181 net/ssl/default_server_bound_cert_store.h friend class base::RefCountedThreadSafe<PersistentStore>; base 29 net/ssl/default_server_bound_cert_store_unittest.cc base::Time expiration_time, base 41 net/ssl/default_server_bound_cert_store_unittest.cc base::Time expiration_time, base 54 net/ssl/default_server_bound_cert_store_unittest.cc base::Time expiration_time_; base 101 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->PostTask( base 102 net/ssl/default_server_bound_cert_store_unittest.cc FROM_HERE, base::Bind(loaded_callback, base::Passed(&certs))); base 127 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 128 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 133 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 134 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 143 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 144 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 147 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 151 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 152 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 162 net/ssl/default_server_bound_cert_store_unittest.cc base::Time expiration_time; base 170 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&GetCertCallbackNotCalled))); base 175 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(123), base 176 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(456), base 183 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&GetCertCallbackNotCalled))); base 193 net/ssl/default_server_bound_cert_store_unittest.cc base::Time expiration_time; base 198 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(123), base 199 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(1234), base 203 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(456), base 204 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(4567), base 208 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 215 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&GetCertCallbackNotCalled))); base 225 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(123), base 226 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(1234), base 231 net/ssl/default_server_bound_cert_store_unittest.cc base::Time expiration_time; base 240 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&AsyncGetCertHelper::Callback, base 241 net/ssl/default_server_bound_cert_store_unittest.cc base::Unretained(&helper)))); base 244 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 261 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 262 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 266 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 267 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 271 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 272 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 275 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 279 net/ssl/default_server_bound_cert_store_unittest.cc store.DeleteAll(base::Bind(&CallCounter, &delete_finished)); base 288 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 289 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 293 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 294 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 302 net/ssl/default_server_bound_cert_store_unittest.cc store.GetAllServerBoundCerts(base::Bind(GetAllCallback, &pre_certs)); base 303 net/ssl/default_server_bound_cert_store_unittest.cc store.DeleteAll(base::Bind(&CallCounter, &delete_finished)); base 304 net/ssl/default_server_bound_cert_store_unittest.cc store.GetAllServerBoundCerts(base::Bind(GetAllCallback, &post_certs)); base 308 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 318 net/ssl/default_server_bound_cert_store_unittest.cc base::Time expiration_time; base 323 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 324 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 327 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 331 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 332 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 338 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&CallCounter, &delete_finished)); base 346 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&GetCertCallbackNotCalled))); base 352 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&GetCertCallbackNotCalled))); base 355 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&CallCounter, &delete2_finished)); base 363 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&GetCertCallbackNotCalled))); base 370 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(1), base 371 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(2), base 375 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(3), base 376 net/ssl/default_server_bound_cert_store_unittest.cc base::Time::FromInternalValue(4), base 381 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&CallCounter, &delete_finished)); base 385 net/ssl/default_server_bound_cert_store_unittest.cc base::Time expiration_time; base 392 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&AsyncGetCertHelper::Callback, base 393 net/ssl/default_server_bound_cert_store_unittest.cc base::Unretained(&a_helper)))); base 397 net/ssl/default_server_bound_cert_store_unittest.cc base::Bind(&AsyncGetCertHelper::Callback, base 398 net/ssl/default_server_bound_cert_store_unittest.cc base::Unretained(&b_helper)))); base 404 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 429 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 430 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 434 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 435 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 439 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 440 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 444 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 445 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 448 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 452 net/ssl/default_server_bound_cert_store_unittest.cc store.GetAllServerBoundCerts(base::Bind(GetAllCallback, &certs)); base 462 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 463 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 467 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 468 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 471 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 477 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 478 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 483 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 484 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 490 net/ssl/default_server_bound_cert_store_unittest.cc store.GetAllServerBoundCerts(base::Bind(GetAllCallback, &certs)); base 510 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 511 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 515 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 516 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 523 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 524 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 529 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 530 net/ssl/default_server_bound_cert_store_unittest.cc base::Time(), base 535 net/ssl/default_server_bound_cert_store_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 539 net/ssl/default_server_bound_cert_store_unittest.cc store.GetAllServerBoundCerts(base::Bind(GetAllCallback, &certs)); base 77 net/ssl/server_bound_cert_service.cc void RecordGetCertTime(base::TimeDelta request_time) { base 80 net/ssl/server_bound_cert_service.cc base::TimeDelta::FromMilliseconds(1), base 81 net/ssl/server_bound_cert_service.cc base::TimeDelta::FromMinutes(5), base 95 net/ssl/server_bound_cert_service.cc base::TimeTicks start = base::TimeTicks::Now(); base 96 net/ssl/server_bound_cert_service.cc base::Time not_valid_before = base::Time::Now(); base 97 net/ssl/server_bound_cert_service.cc base::Time not_valid_after = base 98 net/ssl/server_bound_cert_service.cc not_valid_before + base::TimeDelta::FromDays(kValidityPeriodInDays); base 131 net/ssl/server_bound_cert_service.cc base::TimeTicks::Now() - start, base 132 net/ssl/server_bound_cert_service.cc base::TimeDelta::FromMilliseconds(1), base 133 net/ssl/server_bound_cert_service.cc base::TimeDelta::FromMinutes(5), base 144 net/ssl/server_bound_cert_service.cc ServerBoundCertServiceRequest(base::TimeTicks request_start, base 169 net/ssl/server_bound_cert_service.cc base::TimeDelta request_time = base::TimeTicks::Now() - request_start_; base 172 net/ssl/server_bound_cert_service.cc base::TimeDelta::FromMilliseconds(1), base 173 net/ssl/server_bound_cert_service.cc base::TimeDelta::FromMinutes(5), base 206 net/ssl/server_bound_cert_service.cc base::TimeTicks request_start_; base 217 net/ssl/server_bound_cert_service.cc typedef base::Callback<void( base 226 net/ssl/server_bound_cert_service.cc serial_number_(base::RandInt(0, std::numeric_limits<int>::max())), base 227 net/ssl/server_bound_cert_service.cc origin_loop_(base::MessageLoopProxy::current()), base 234 net/ssl/server_bound_cert_service.cc bool Start(const scoped_refptr<base::TaskRunner>& task_runner) { base 239 net/ssl/server_bound_cert_service.cc base::Bind(&ServerBoundCertServiceWorker::Run, base::Owned(this))); base 260 net/ssl/server_bound_cert_service.cc base::Bind(callback_, server_identifier_, error, base 261 net/ssl/server_bound_cert_service.cc base::Passed(&cert))); base 268 net/ssl/server_bound_cert_service.cc scoped_refptr<base::SequencedTaskRunner> origin_loop_; base 364 net/ssl/server_bound_cert_service.cc base::ResetAndReturn(&callback_).Run(result); base 369 net/ssl/server_bound_cert_service.cc const scoped_refptr<base::TaskRunner>& task_runner) base 377 net/ssl/server_bound_cert_service.cc base::Time start = base::Time::Now(); base 378 net/ssl/server_bound_cert_service.cc base::Time end = start + base::TimeDelta::FromDays( base 405 net/ssl/server_bound_cert_service.cc base::TimeTicks request_start = base::TimeTicks::Now(); base 434 net/ssl/server_bound_cert_service.cc base::Bind(&ServerBoundCertService::GeneratedServerBoundCert, base 449 net/ssl/server_bound_cert_service.cc base::Bind(&RequestHandle::OnRequestComplete, base 450 net/ssl/server_bound_cert_service.cc base::Unretained(out_req)), base 469 net/ssl/server_bound_cert_service.cc base::TimeTicks request_start = base::TimeTicks::Now(); base 499 net/ssl/server_bound_cert_service.cc base::Time expiration_time, base 529 net/ssl/server_bound_cert_service.cc base::Bind(&ServerBoundCertService::GeneratedServerBoundCert, base 593 net/ssl/server_bound_cert_service.cc const base::TimeTicks& request_start, base 611 net/ssl/server_bound_cert_service.cc base::Bind(&RequestHandle::OnRequestComplete, base 612 net/ssl/server_bound_cert_service.cc base::Unretained(out_req)), base 623 net/ssl/server_bound_cert_service.cc const base::TimeTicks& request_start, base 632 net/ssl/server_bound_cert_service.cc base::Time expiration_time; base 638 net/ssl/server_bound_cert_service.cc base::Bind(&ServerBoundCertService::GotServerBoundCert, base 646 net/ssl/server_bound_cert_service.cc base::TimeDelta request_time = base::TimeTicks::Now() - request_start; base 660 net/ssl/server_bound_cert_service.cc base::Bind(&RequestHandle::OnRequestComplete, base 661 net/ssl/server_bound_cert_service.cc base::Unretained(out_req)), base 21 net/ssl/server_bound_cert_service.h namespace base { base 42 net/ssl/server_bound_cert_service.h : NON_EXPORTED_BASE(public base::NonThreadSafe) { base 79 net/ssl/server_bound_cert_service.h const scoped_refptr<base::TaskRunner>& task_runner); base 159 net/ssl/server_bound_cert_service.h base::Time expiration_time, base 174 net/ssl/server_bound_cert_service.h bool JoinToInFlightRequest(const base::TimeTicks& request_start, base 186 net/ssl/server_bound_cert_service.h int LookupDomainBoundCert(const base::TimeTicks& request_start, base 195 net/ssl/server_bound_cert_service.h scoped_refptr<base::TaskRunner> task_runner_; base 208 net/ssl/server_bound_cert_service.h base::WeakPtrFactory<ServerBoundCertService> weak_ptr_factory_; base 34 net/ssl/server_bound_cert_service_unittest.cc class FailingTaskRunner : public base::TaskRunner { base 39 net/ssl/server_bound_cert_service_unittest.cc const base::Closure& task, base 40 net/ssl/server_bound_cert_service_unittest.cc base::TimeDelta delay) OVERRIDE { base 60 net/ssl/server_bound_cert_service_unittest.cc base::Time* expiration_time, base 66 net/ssl/server_bound_cert_service_unittest.cc base::Time creation_time, base 67 net/ssl/server_bound_cert_service_unittest.cc base::Time expiration_time, base 76 net/ssl/server_bound_cert_service_unittest.cc base::Time expiration_time, base 88 net/ssl/server_bound_cert_service_unittest.cc base::Time* expiration_time, base 105 net/ssl/server_bound_cert_service_unittest.cc base::Time expiration_time, base 110 net/ssl/server_bound_cert_service_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 111 net/ssl/server_bound_cert_service_unittest.cc base::Bind(callback_, base 124 net/ssl/server_bound_cert_service_unittest.cc base::MessageLoopProxy::current())) { base 353 net/ssl/server_bound_cert_service_unittest.cc base::StringPiece spki_piece; base 382 net/ssl/server_bound_cert_service_unittest.cc base::Bind(&FailTest), base 391 net/ssl/server_bound_cert_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 409 net/ssl/server_bound_cert_service_unittest.cc base::Bind(&FailTest), base 417 net/ssl/server_bound_cert_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 433 net/ssl/server_bound_cert_service_unittest.cc base::Bind(&FailTest), base 445 net/ssl/server_bound_cert_service_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 467 net/ssl/server_bound_cert_service_unittest.cc base::Bind(&FailTest), base 546 net/ssl/server_bound_cert_service_unittest.cc base::Time now = base::Time::Now(); base 549 net/ssl/server_bound_cert_service_unittest.cc now + base::TimeDelta::FromDays(1), base 553 net/ssl/server_bound_cert_service_unittest.cc now - base::TimeDelta::FromDays(2), base 554 net/ssl/server_bound_cert_service_unittest.cc now - base::TimeDelta::FromDays(1), base 590 net/ssl/server_bound_cert_service_unittest.cc mock_store, base::MessageLoopProxy::current())); base 607 net/ssl/server_bound_cert_service_unittest.cc ERR_FILE_NOT_FOUND, base::Time(), std::string(), std::string()); base 621 net/ssl/server_bound_cert_service_unittest.cc mock_store, base::MessageLoopProxy::current())); base 638 net/ssl/server_bound_cert_service_unittest.cc ERR_FILE_NOT_FOUND, base::Time(), std::string(), std::string()); base 652 net/ssl/server_bound_cert_service_unittest.cc mock_store, base::MessageLoopProxy::current())); base 669 net/ssl/server_bound_cert_service_unittest.cc OK, base::Time(), "ab", "cd"); base 688 net/ssl/server_bound_cert_service_unittest.cc mock_store, base::MessageLoopProxy::current())); base 705 net/ssl/server_bound_cert_service_unittest.cc OK, base::Time(), "ab", "cd"); base 723 net/ssl/server_bound_cert_service_unittest.cc mock_store, base::MessageLoopProxy::current())); base 750 net/ssl/server_bound_cert_service_unittest.cc ERR_FILE_NOT_FOUND, base::Time(), std::string(), std::string()); base 14 net/ssl/server_bound_cert_store.cc base::Time creation_time, base 15 net/ssl/server_bound_cert_store.cc base::Time expiration_time, base 26 net/ssl/server_bound_cert_store.h : NON_EXPORTED_BASE(public base::NonThreadSafe) { base 34 net/ssl/server_bound_cert_store.h base::Time creation_time, base 35 net/ssl/server_bound_cert_store.h base::Time expiration_time, base 44 net/ssl/server_bound_cert_store.h base::Time creation_time() const { return creation_time_; } base 46 net/ssl/server_bound_cert_store.h base::Time expiration_time() const { return expiration_time_; } base 56 net/ssl/server_bound_cert_store.h base::Time creation_time_; base 57 net/ssl/server_bound_cert_store.h base::Time expiration_time_; base 64 net/ssl/server_bound_cert_store.h typedef base::Callback<void( base 67 net/ssl/server_bound_cert_store.h base::Time, base 70 net/ssl/server_bound_cert_store.h typedef base::Callback<void(const ServerBoundCertList&)> GetCertListCallback; base 82 net/ssl/server_bound_cert_store.h base::Time* expiration_time, base 90 net/ssl/server_bound_cert_store.h base::Time creation_time, base 91 net/ssl/server_bound_cert_store.h base::Time expiration_time, base 99 net/ssl/server_bound_cert_store.h const base::Closure& completion_callback) = 0; base 105 net/ssl/server_bound_cert_store.h base::Time delete_begin, base 106 net/ssl/server_bound_cert_store.h base::Time delete_end, base 107 net/ssl/server_bound_cert_store.h const base::Closure& completion_callback) = 0; base 111 net/ssl/server_bound_cert_store.h virtual void DeleteAll(const base::Closure& completion_callback) = 0; base 38 net/ssl/ssl_cert_request_info.h : public base::RefCountedThreadSafe<SSLCertRequestInfo> { base 62 net/ssl/ssl_cert_request_info.h friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; base 341 net/ssl/ssl_cipher_suite_names.cc base::HexStringToInt(cipher_string, &value)) { base 16 net/ssl/ssl_client_auth_cache_unittest.cc base::Time start_date = base::Time::Now(); base 17 net/ssl/ssl_client_auth_cache_unittest.cc base::Time expiration_date = start_date + base::TimeDelta::FromDays(1); base 82 net/ssl/ssl_client_auth_cache_unittest.cc base::Time start_date = base::Time::Now(); base 83 net/ssl/ssl_client_auth_cache_unittest.cc base::Time expiration_date = start_date + base::TimeDelta::FromDays(1); base 107 net/ssl/ssl_client_auth_cache_unittest.cc base::Time start_date = base::Time::Now(); base 108 net/ssl/ssl_client_auth_cache_unittest.cc base::Time expiration_date = start_date + base::TimeDelta::FromDays(1); base 143 net/ssl/ssl_client_auth_cache_unittest.cc base::Time start_date = base::Time::Now(); base 144 net/ssl/ssl_client_auth_cache_unittest.cc base::Time expiration_date = start_date + base::TimeDelta::FromDays(1); base 57 net/ssl/ssl_config.cc bool SSLConfig::IsAllowedBadCert(const base::StringPiece& der_cert, base 49 net/ssl/ssl_config.h bool IsAllowedBadCert(const base::StringPiece& der_cert, base 23 net/ssl/ssl_config_service.cc base::AutoLock locked(lock_); base 28 net/ssl/ssl_config_service.cc base::AutoLock locked(lock_); base 34 net/ssl/ssl_config_service.cc mutable base::Lock lock_; base 37 net/ssl/ssl_config_service.cc base::LazyInstance<GlobalCRLSet>::Leaky g_crl_set = LAZY_INSTANCE_INITIALIZER; base 23 net/ssl/ssl_config_service.h : public base::RefCountedThreadSafe<SSLConfigService> { base 67 net/ssl/ssl_config_service.h friend class base::RefCountedThreadSafe<SSLConfigService>; base 17 net/test/cert_test_util.cc const base::FilePath& certs_dir, base 20 net/test/cert_test_util.cc base::FilePath cert_path = certs_dir.AppendASCII(cert_file); base 22 net/test/cert_test_util.cc if (!base::ReadFileToString(cert_path, &cert_data)) base 30 net/test/cert_test_util.cc const base::FilePath& certs_dir, base 48 net/test/cert_test_util.cc const base::FilePath& certs_dir, base 50 net/test/cert_test_util.cc base::FilePath cert_path = certs_dir.AppendASCII(cert_file); base 52 net/test/cert_test_util.cc if (!base::ReadFileToString(cert_path, &cert_data)) base 14 net/test/cert_test_util.h namespace base { base 24 net/test/cert_test_util.h CertificateList CreateCertificateListFromFile(const base::FilePath& certs_dir, base 33 net/test/cert_test_util.h const base::FilePath& certs_dir, base 41 net/test/cert_test_util.h scoped_refptr<X509Certificate> ImportCertFromFile(const base::FilePath& certs_dir, base 26 net/test/ct_test_util.cc if (base::HexStringToBytes(hex_data, &output)) base 197 net/test/ct_test_util.cc sct->timestamp = base::Time::UnixEpoch() + base 198 net/test/ct_test_util.cc base::TimeDelta::FromMilliseconds(GG_INT64_C(1365181456089)); base 214 net/test/ct_test_util.cc sct->timestamp = base::Time::UnixEpoch() + base 215 net/test/ct_test_util.cc base::TimeDelta::FromMilliseconds(GG_INT64_C(1365181456275)); base 48 net/test/embedded_test_server/embedded_test_server.cc const base::FilePath& server_root, base 51 net/test/embedded_test_server/embedded_test_server.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 61 net/test/embedded_test_server/embedded_test_server.cc base::FilePath file_path(server_root.AppendASCII(request_path)); base 63 net/test/embedded_test_server/embedded_test_server.cc if (!base::ReadFileToString(file_path, &file_contents)) base 66 net/test/embedded_test_server/embedded_test_server.cc base::FilePath headers_path( base 69 net/test/embedded_test_server/embedded_test_server.cc if (base::PathExists(headers_path)) { base 71 net/test/embedded_test_server/embedded_test_server.cc if (!base::ReadFileToString(headers_path, &headers_contents)) base 123 net/test/embedded_test_server/embedded_test_server.cc if (!PostTaskToIOThreadAndWait(base::Bind( base 124 net/test/embedded_test_server/embedded_test_server.cc &EmbeddedTestServer::InitializeOnIOThread, base::Unretained(this)))) { base 135 net/test/embedded_test_server/embedded_test_server.cc base::GetNumberOfThreads(base::GetCurrentProcessHandle()); base 150 net/test/embedded_test_server/embedded_test_server.cc base::GetNumberOfThreads(base::GetCurrentProcessHandle())) { base 151 net/test/embedded_test_server/embedded_test_server.cc base::PlatformThread::YieldCurrentThread(); base 158 net/test/embedded_test_server/embedded_test_server.cc CHECK(PostTaskToIOThreadAndWait(base::Bind( base 159 net/test/embedded_test_server/embedded_test_server.cc &EmbeddedTestServer::ListenOnIOThread, base::Unretained(this)))); base 165 net/test/embedded_test_server/embedded_test_server.cc return PostTaskToIOThreadAndWait(base::Bind( base 166 net/test/embedded_test_server/embedded_test_server.cc &EmbeddedTestServer::ShutdownOnIOThread, base::Unretained(this))); base 171 net/test/embedded_test_server/embedded_test_server.cc base::Thread::Options thread_options; base 172 net/test/embedded_test_server/embedded_test_server.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 173 net/test/embedded_test_server/embedded_test_server.cc io_thread_.reset(new base::Thread("EmbeddedTestServer io thread")); base 252 net/test/embedded_test_server/embedded_test_server.cc const base::FilePath& directory) { base 253 net/test/embedded_test_server/embedded_test_server.cc RegisterRequestHandler(base::Bind(&HandleFileRequest, directory)); base 268 net/test/embedded_test_server/embedded_test_server.cc base::Bind(&EmbeddedTestServer::HandleRequest, base 312 net/test/embedded_test_server/embedded_test_server.cc const base::Closure& closure) { base 321 net/test/embedded_test_server/embedded_test_server.cc scoped_ptr<base::MessageLoop> temporary_loop; base 322 net/test/embedded_test_server/embedded_test_server.cc if (!base::MessageLoop::current()) base 323 net/test/embedded_test_server/embedded_test_server.cc temporary_loop.reset(new base::MessageLoop()); base 325 net/test/embedded_test_server/embedded_test_server.cc base::RunLoop run_loop; base 22 net/test/embedded_test_server/embedded_test_server.h namespace base { base 47 net/test/embedded_test_server/embedded_test_server.h base::ThreadChecker thread_checker_; base 98 net/test/embedded_test_server/embedded_test_server.h typedef base::Callback<scoped_ptr<HttpResponse>( base 134 net/test/embedded_test_server/embedded_test_server.h void ServeFilesFromDirectory(const base::FilePath& directory); base 175 net/test/embedded_test_server/embedded_test_server.h const base::Closure& closure) WARN_UNUSED_RESULT; base 177 net/test/embedded_test_server/embedded_test_server.h scoped_ptr<base::Thread> io_thread_; base 191 net/test/embedded_test_server/embedded_test_server.h base::WeakPtrFactory<EmbeddedTestServer> weak_factory_; base 193 net/test/embedded_test_server/embedded_test_server.h base::ThreadChecker thread_checker_; base 53 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Thread::Options thread_options; base 54 net/test/embedded_test_server/embedded_test_server_unittest.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 72 net/test/embedded_test_server/embedded_test_server_unittest.cc base::MessageLoop::current()->Quit(); base 80 net/test/embedded_test_server/embedded_test_server_unittest.cc base::MessageLoop::current()->Run(); base 108 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Thread io_thread_; base 114 net/test/embedded_test_server/embedded_test_server_unittest.cc EXPECT_EQ(base::StringPrintf("http://127.0.0.1:%d/", server_->port()), base 119 net/test/embedded_test_server/embedded_test_server_unittest.cc EXPECT_EQ(base::StringPrintf("http://127.0.0.1:%d/path?query=foo", base 126 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Bind(&EmbeddedTestServerTest::HandleRequest, base 127 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Unretained(this), base 150 net/test/embedded_test_server/embedded_test_server_unittest.cc base::FilePath src_dir; base 151 net/test/embedded_test_server/embedded_test_server_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &src_dir)); base 184 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Bind(&EmbeddedTestServerTest::HandleRequest, base 185 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Unretained(this), base 191 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Bind(&EmbeddedTestServerTest::HandleRequest, base 192 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Unretained(this), base 198 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Bind(&EmbeddedTestServerTest::HandleRequest, base 199 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Unretained(this), base 253 net/test/embedded_test_server/embedded_test_server_unittest.cc : public base::PlatformThread::Delegate, base 264 net/test/embedded_test_server/embedded_test_server_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> io_thread_runner; base 265 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Thread io_thread("io_thread"); base 266 net/test/embedded_test_server/embedded_test_server_unittest.cc base::Thread::Options thread_options; base 267 net/test/embedded_test_server/embedded_test_server_unittest.cc thread_options.message_loop_type = base::MessageLoop::TYPE_IO; base 271 net/test/embedded_test_server/embedded_test_server_unittest.cc scoped_ptr<base::MessageLoop> loop; base 273 net/test/embedded_test_server/embedded_test_server_unittest.cc loop.reset(new base::MessageLoopForIO); base 277 net/test/embedded_test_server/embedded_test_server_unittest.cc base::FilePath src_dir; base 278 net/test/embedded_test_server/embedded_test_server_unittest.cc ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &src_dir)); base 283 net/test/embedded_test_server/embedded_test_server_unittest.cc loop.reset(new base::MessageLoopForIO); base 302 net/test/embedded_test_server/embedded_test_server_unittest.cc base::MessageLoop::current()->Quit(); base 316 net/test/embedded_test_server/embedded_test_server_unittest.cc base::PlatformThreadHandle thread_handle; base 320 net/test/embedded_test_server/embedded_test_server_unittest.cc ASSERT_TRUE(base::PlatformThread::Create(0, &delegate, &thread_handle)); base 321 net/test/embedded_test_server/embedded_test_server_unittest.cc base::PlatformThread::Join(thread_handle); base 27 net/test/embedded_test_server/http_connection.cc void HttpConnection::ReceiveData(const base::StringPiece& data) { base 24 net/test/embedded_test_server/http_connection.h typedef base::Callback<void(HttpConnection* connection, base 45 net/test/embedded_test_server/http_connection.h void ReceiveData(const base::StringPiece& data); base 24 net/test/embedded_test_server/http_request.cc base::TrimString(value, " \t", &result); base 47 net/test/embedded_test_server/http_request.cc void HttpRequestParser::ProcessChunk(const base::StringPiece& data) { base 89 net/test/embedded_test_server/http_request.cc base::SplitString(header_line, ' ', &header_line_tokens); base 134 net/test/embedded_test_server/http_request.cc const bool success = base::StringToSizeT( base 73 net/test/embedded_test_server/http_request.h void ProcessChunk(const base::StringPiece& data); base 31 net/test/embedded_test_server/http_response.cc base::StringAppendF(&response_builder, base 35 net/test/embedded_test_server/http_response.cc base::StringAppendF(&response_builder, "Connection: close\r\n"); base 36 net/test/embedded_test_server/http_response.cc base::StringAppendF(&response_builder, base 39 net/test/embedded_test_server/http_response.cc base::StringAppendF(&response_builder, base 47 net/test/embedded_test_server/http_response.cc base::StringAppendF(&response_builder, base 52 net/test/embedded_test_server/http_response.cc base::StringAppendF(&response_builder, "\r\n"); base 66 net/test/net_test_suite.cc message_loop_.reset(new base::MessageLoopForIO()); base 13 net/test/net_test_suite.h namespace base { base 21 net/test/net_test_suite.h class NetTestSuite : public base::TestSuite { base 50 net/test/net_test_suite.h scoped_ptr<base::MessageLoop> message_loop_; base 19 net/test/python_utils.cc void AppendToPythonPath(const base::FilePath& dir) { base 20 net/test/python_utils.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 24 net/test/python_utils.cc dir_path = base::WideToUTF8(dir.value()); base 48 net/test/python_utils.cc bool TryRelativeToDir(const base::FilePath& start_dir, base 49 net/test/python_utils.cc const base::FilePath& to_try, base 50 net/test/python_utils.cc base::FilePath* out_dir) { base 51 net/test/python_utils.cc base::FilePath dir(start_dir); base 52 net/test/python_utils.cc while (!base::DirectoryExists(dir.Append(to_try))) { base 53 net/test/python_utils.cc base::FilePath parent = dir.DirName(); base 67 net/test/python_utils.cc bool GetPyProtoPath(base::FilePath* dir) { base 69 net/test/python_utils.cc base::FilePath generated_code_dir; base 70 net/test/python_utils.cc if (!PathService::Get(base::DIR_EXE, &generated_code_dir)) { base 75 net/test/python_utils.cc const base::FilePath kPyProto(FILE_PATH_LITERAL("pyproto")); base 78 net/test/python_utils.cc base::FilePath source_dir; base 79 net/test/python_utils.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &source_dir)) { base 114 net/test/python_utils.cc python_cmd->SetProgram(base::FilePath(FILE_PATH_LITERAL("cmd.exe"))); base 118 net/test/python_utils.cc python_cmd->SetProgram(base::FilePath(FILE_PATH_LITERAL("python"))); base 10 net/test/python_utils.h namespace base { base 19 net/test/python_utils.h void AppendToPythonPath(const base::FilePath& dir); base 22 net/test/python_utils.h bool GetPyProtoPath(base::FilePath* dir); base 25 net/test/python_utils.h bool GetPythonCommand(base::CommandLine* python_cmd) WARN_UNUSED_RESULT; base 18 net/test/python_utils_unittest.cc const base::FilePath::CharType kAppendDir1[] = base 20 net/test/python_utils_unittest.cc const base::FilePath::CharType kAppendDir2[] = base 23 net/test/python_utils_unittest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 26 net/test/python_utils_unittest.cc base::FilePath append_path1(kAppendDir1); base 27 net/test/python_utils_unittest.cc base::FilePath append_path2(kAppendDir2); base 55 net/test/python_utils_unittest.cc std::string python_cmd = base::StringPrintf("print '%s';", input.c_str()); base 58 net/test/python_utils_unittest.cc EXPECT_TRUE(base::GetAppOutput(cmd_line, &output)); base 59 net/test/python_utils_unittest.cc base::TrimWhitespace(output, base::TRIM_TRAILING, &output); base 29 net/test/run_all_unittests.cc base::StatisticsRecorder::Initialize(); base 34 net/test/run_all_unittests.cc net::android::RegisterJni(base::android::AttachCurrentThread()); base 35 net/test/run_all_unittests.cc file_util::RegisterContentUriTestUtils(base::android::AttachCurrentThread()); base 55 net/test/run_all_unittests.cc return base::LaunchUnitTests( base 56 net/test/run_all_unittests.cc argc, argv, base::Bind(&NetTestSuite::Run, base 57 net/test/run_all_unittests.cc base::Unretained(&test_suite))); base 43 net/test/spawned_test_server/base_test_server.cc void GetCiphersList(int cipher, base::ListValue* values) { base 45 net/test/spawned_test_server/base_test_server.cc values->Append(new base::StringValue("rc4")); base 47 net/test/spawned_test_server/base_test_server.cc values->Append(new base::StringValue("aes128")); base 49 net/test/spawned_test_server/base_test_server.cc values->Append(new base::StringValue("aes256")); base 51 net/test/spawned_test_server/base_test_server.cc values->Append(new base::StringValue("3des")); base 81 net/test/spawned_test_server/base_test_server.cc base::FilePath BaseTestServer::SSLOptions::GetCertificateFile() const { base 85 net/test/spawned_test_server/base_test_server.cc return base::FilePath(FILE_PATH_LITERAL("ok_cert.pem")); base 87 net/test/spawned_test_server/base_test_server.cc return base::FilePath(FILE_PATH_LITERAL("expired_cert.pem")); base 91 net/test/spawned_test_server/base_test_server.cc return base::FilePath(FILE_PATH_LITERAL("redundant-server-chain.pem")); base 93 net/test/spawned_test_server/base_test_server.cc return base::FilePath(); base 97 net/test/spawned_test_server/base_test_server.cc return base::FilePath(); base 146 net/test/spawned_test_server/base_test_server.cc const base::DictionaryValue& BaseTestServer::server_data() const { base 233 net/test/spawned_test_server/base_test_server.cc base::Base64Encode(old_text, &base64_old); base 234 net/test/spawned_test_server/base_test_server.cc base::Base64Encode(new_text, &base64_new); base 259 net/test/spawned_test_server/base_test_server.cc void BaseTestServer::SetResourcePath(const base::FilePath& document_root, base 260 net/test/spawned_test_server/base_test_server.cc const base::FilePath& certificates_dir) { base 270 net/test/spawned_test_server/base_test_server.cc base::JSONReader json_reader; base 271 net/test/spawned_test_server/base_test_server.cc scoped_ptr<base::Value> value(json_reader.ReadToValue(server_data)); base 272 net/test/spawned_test_server/base_test_server.cc if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY)) { base 278 net/test/spawned_test_server/base_test_server.cc server_data_.reset(static_cast<base::DictionaryValue*>(value.release())); base 299 net/test/spawned_test_server/base_test_server.cc base::FilePath root_certificate_path = certificates_dir_; base 301 net/test/spawned_test_server/base_test_server.cc base::FilePath src_dir; base 302 net/test/spawned_test_server/base_test_server.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &src_dir)) base 335 net/test/spawned_test_server/base_test_server.cc bool BaseTestServer::GenerateArguments(base::DictionaryValue* arguments) const { base 343 net/test/spawned_test_server/base_test_server.cc arguments->Set("log-to-console", base::Value::CreateNullValue()); base 347 net/test/spawned_test_server/base_test_server.cc base::FilePath certificate_path(certificates_dir_); base 348 net/test/spawned_test_server/base_test_server.cc base::FilePath certificate_file(ssl_options_.GetCertificateFile()); base 352 net/test/spawned_test_server/base_test_server.cc !base::PathExists(certificate_path)) { base 362 net/test/spawned_test_server/base_test_server.cc arguments->Set("ssl-client-auth", base::Value::CreateNullValue()); base 363 net/test/spawned_test_server/base_test_server.cc scoped_ptr<base::ListValue> ssl_client_certs(new base::ListValue()); base 365 net/test/spawned_test_server/base_test_server.cc std::vector<base::FilePath>::const_iterator it; base 368 net/test/spawned_test_server/base_test_server.cc if (it->IsAbsolute() && !base::PathExists(*it)) { base 373 net/test/spawned_test_server/base_test_server.cc ssl_client_certs->Append(new base::StringValue(it->value())); base 381 net/test/spawned_test_server/base_test_server.cc arguments->Set("https", base::Value::CreateNullValue()); base 389 net/test/spawned_test_server/base_test_server.cc base::Value::CreateIntegerValue(ssl_options_.cert_serial)); base 393 net/test/spawned_test_server/base_test_server.cc scoped_ptr<base::ListValue> bulk_cipher_values(new base::ListValue()); base 398 net/test/spawned_test_server/base_test_server.cc arguments->Set("https-record-resume", base::Value::CreateNullValue()); base 401 net/test/spawned_test_server/base_test_server.cc new base::FundamentalValue(ssl_options_.tls_intolerant)); base 404 net/test/spawned_test_server/base_test_server.cc arguments->Set("fallback-scsv", base::Value::CreateNullValue()); base 407 net/test/spawned_test_server/base_test_server.cc base::Base64Encode(ssl_options_.signed_cert_timestamps_tls_ext, base 412 net/test/spawned_test_server/base_test_server.cc arguments->Set("staple-ocsp-response", base::Value::CreateNullValue()); base 419 net/test/spawned_test_server/base_test_server.cc base::DictionaryValue* arguments) const { base 19 net/test/spawned_test_server/base_test_server.h namespace base { base 110 net/test/spawned_test_server/base_test_server.h base::FilePath GetCertificateFile() const; base 135 net/test/spawned_test_server/base_test_server.h std::vector<base::FilePath> client_authorities; base 183 net/test/spawned_test_server/base_test_server.h const base::FilePath& document_root() const { return document_root_; } base 184 net/test/spawned_test_server/base_test_server.h const base::DictionaryValue& server_data() const; base 225 net/test/spawned_test_server/base_test_server.h void SetResourcePath(const base::FilePath& document_root, base 226 net/test/spawned_test_server/base_test_server.h const base::FilePath& certificates_dir); base 234 net/test/spawned_test_server/base_test_server.h bool GenerateArguments(base::DictionaryValue* arguments) const base 240 net/test/spawned_test_server/base_test_server.h base::DictionaryValue* arguments) const WARN_UNUSED_RESULT; base 250 net/test/spawned_test_server/base_test_server.h base::FilePath document_root_; base 253 net/test/spawned_test_server/base_test_server.h base::FilePath certificates_dir_; base 259 net/test/spawned_test_server/base_test_server.h scoped_ptr<base::DictionaryValue> server_data_; base 24 net/test/spawned_test_server/local_test_server.cc const base::Value& value_node, base 25 net/test/spawned_test_server/local_test_server.cc base::CommandLine* command_line) { base 28 net/test/spawned_test_server/local_test_server.cc case base::Value::TYPE_NULL: base 31 net/test/spawned_test_server/local_test_server.cc case base::Value::TYPE_INTEGER: { base 35 net/test/spawned_test_server/local_test_server.cc command_line->AppendArg(argument_name + "=" + base::IntToString(value)); base 38 net/test/spawned_test_server/local_test_server.cc case base::Value::TYPE_STRING: { base 46 net/test/spawned_test_server/local_test_server.cc case base::Value::TYPE_BOOLEAN: base 47 net/test/spawned_test_server/local_test_server.cc case base::Value::TYPE_DOUBLE: base 48 net/test/spawned_test_server/local_test_server.cc case base::Value::TYPE_LIST: base 49 net/test/spawned_test_server/local_test_server.cc case base::Value::TYPE_DICTIONARY: base 50 net/test/spawned_test_server/local_test_server.cc case base::Value::TYPE_BINARY: base 62 net/test/spawned_test_server/local_test_server.cc const base::FilePath& document_root) base 70 net/test/spawned_test_server/local_test_server.cc const base::FilePath& document_root) base 80 net/test/spawned_test_server/local_test_server.cc bool LocalTestServer::GetTestServerPath(base::FilePath* testserver_path) const { base 81 net/test/spawned_test_server/local_test_server.cc base::FilePath testserver_dir; base 82 net/test/spawned_test_server/local_test_server.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &testserver_dir)) { base 99 net/test/spawned_test_server/local_test_server.cc base::FilePath testserver_path; base 133 net/test/spawned_test_server/local_test_server.cc bool ret = base::WaitForSingleProcess(process_handle_, base::TimeDelta()); base 135 net/test/spawned_test_server/local_test_server.cc ret = base::KillProcess(process_handle_, 1, true); base 139 net/test/spawned_test_server/local_test_server.cc base::CloseProcessHandle(process_handle_); base 140 net/test/spawned_test_server/local_test_server.cc process_handle_ = base::kNullProcessHandle; base 148 net/test/spawned_test_server/local_test_server.cc bool LocalTestServer::Init(const base::FilePath& document_root) { base 157 net/test/spawned_test_server/local_test_server.cc process_handle_ = base::kNullProcessHandle; base 159 net/test/spawned_test_server/local_test_server.cc base::FilePath src_dir; base 160 net/test/spawned_test_server/local_test_server.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &src_dir)) base 171 net/test/spawned_test_server/local_test_server.cc base::FilePath third_party_dir; base 172 net/test/spawned_test_server/local_test_server.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &third_party_dir)) { base 190 net/test/spawned_test_server/local_test_server.cc base::FilePath pyproto_dir; base 202 net/test/spawned_test_server/local_test_server.cc base::CommandLine* command_line) const { base 203 net/test/spawned_test_server/local_test_server.cc base::DictionaryValue arguments_dict; base 208 net/test/spawned_test_server/local_test_server.cc for (base::DictionaryValue::Iterator it(arguments_dict); !it.IsAtEnd(); base 210 net/test/spawned_test_server/local_test_server.cc const base::Value& value = it.value(); base 214 net/test/spawned_test_server/local_test_server.cc if (value.IsType(base::Value::TYPE_LIST)) { base 215 net/test/spawned_test_server/local_test_server.cc const base::ListValue* list = NULL; base 218 net/test/spawned_test_server/local_test_server.cc for (base::ListValue::const_iterator list_it = list->begin(); base 19 net/test/spawned_test_server/local_test_server.h namespace base { base 33 net/test/spawned_test_server/local_test_server.h const base::FilePath& document_root); base 39 net/test/spawned_test_server/local_test_server.h const base::FilePath& document_root); base 74 net/test/spawned_test_server/local_test_server.h virtual bool GetTestServerPath(base::FilePath* testserver_path) const base 79 net/test/spawned_test_server/local_test_server.h virtual bool AddCommandLineArguments(base::CommandLine* command_line) const base 84 net/test/spawned_test_server/local_test_server.h base::FilePath GetDocumentRoot() const { return document_root(); }; base 87 net/test/spawned_test_server/local_test_server.h bool Init(const base::FilePath& document_root); base 90 net/test/spawned_test_server/local_test_server.h bool LaunchPython(const base::FilePath& testserver_path) WARN_UNUSED_RESULT; base 96 net/test/spawned_test_server/local_test_server.h base::ProcessHandle process_handle_; base 100 net/test/spawned_test_server/local_test_server.h base::win::ScopedHandle job_handle_; base 103 net/test/spawned_test_server/local_test_server.h base::win::ScopedHandle child_read_fd_; base 106 net/test/spawned_test_server/local_test_server.h base::win::ScopedHandle child_write_fd_; base 111 net/test/spawned_test_server/local_test_server.h base::ScopedFD child_fd_; base 30 net/test/spawned_test_server/local_test_server_posix.cc class OrphanedTestServerFilter : public base::ProcessFilter { base 37 net/test/spawned_test_server/local_test_server_posix.cc virtual bool Includes(const base::ProcessEntry& entry) const OVERRIDE { base 64 net/test/spawned_test_server/local_test_server_posix.cc base::TimeDelta* remaining_time) { base 66 net/test/spawned_test_server/local_test_server_posix.cc base::TimeTicks previous_time = base::TimeTicks::Now(); base 85 net/test/spawned_test_server/local_test_server_posix.cc base::TimeTicks current_time = base::TimeTicks::Now(); base 86 net/test/spawned_test_server/local_test_server_posix.cc base::TimeDelta elapsed_time_cycle = current_time - previous_time; base 104 net/test/spawned_test_server/local_test_server_posix.cc bool LocalTestServer::LaunchPython(const base::FilePath& testserver_path) { base 109 net/test/spawned_test_server/local_test_server_posix.cc base::CommandLine python_command(base::CommandLine::NO_PROGRAM); base 125 net/test/spawned_test_server/local_test_server_posix.cc base::ScopedFD write_closer(pipefd[1]); base 126 net/test/spawned_test_server/local_test_server_posix.cc base::FileHandleMappingVector map_write_fd; base 129 net/test/spawned_test_server/local_test_server_posix.cc python_command.AppendArg("--startup-pipe=" + base::IntToString(pipefd[1])); base 133 net/test/spawned_test_server/local_test_server_posix.cc base::IntToString(GetPort())); base 134 net/test/spawned_test_server/local_test_server_posix.cc if (!base::KillProcesses("python", -1, &filter)) { base 139 net/test/spawned_test_server/local_test_server_posix.cc base::LaunchOptions options; base 142 net/test/spawned_test_server/local_test_server_posix.cc if (!base::LaunchProcess(python_command, options, &process_handle_)) { base 151 net/test/spawned_test_server/local_test_server_posix.cc base::ScopedFD our_fd(child_fd_.release()); base 153 net/test/spawned_test_server/local_test_server_posix.cc base::TimeDelta remaining_time = TestTimeouts::action_timeout(); base 50 net/test/spawned_test_server/local_test_server_win.cc base::Thread thread("test_server_watcher"); base 57 net/test/spawned_test_server/local_test_server_win.cc FROM_HERE, base::Bind(UnblockPipe, write_fd, bytes_max, &unblocked), base 95 net/test/spawned_test_server/local_test_server_win.cc explicit ScopedPath(const base::FilePath& path_to_add); base 108 net/test/spawned_test_server/local_test_server_win.cc scoped_ptr<base::Environment> environment_; base 116 net/test/spawned_test_server/local_test_server_win.cc ScopedPath::ScopedPath(const base::FilePath& path_to_add) base 117 net/test/spawned_test_server/local_test_server_win.cc : environment_(base::Environment::Create()), base 125 net/test/spawned_test_server/local_test_server_win.cc new_value += base::WideToUTF8(path_to_add.value()); base 143 net/test/spawned_test_server/local_test_server_win.cc bool LocalTestServer::LaunchPython(const base::FilePath& testserver_path) { base 144 net/test/spawned_test_server/local_test_server_win.cc base::CommandLine python_command(base::CommandLine::NO_PROGRAM); base 179 net/test/spawned_test_server/local_test_server_win.cc base::IntToString(reinterpret_cast<uintptr_t>(child_write))); base 187 net/test/spawned_test_server/local_test_server_win.cc if (!base::SetJobObjectLimitFlags(job_handle_.Get(), base 193 net/test/spawned_test_server/local_test_server_win.cc base::LaunchOptions launch_options; base 196 net/test/spawned_test_server/local_test_server_win.cc if (!base::LaunchProcess(python_command, launch_options, &process_handle_)) { base 205 net/test/spawned_test_server/local_test_server_win.cc base::win::ScopedHandle read_fd(child_read_fd_.Take()); base 206 net/test/spawned_test_server/local_test_server_win.cc base::win::ScopedHandle write_fd(child_write_fd_.Take()); base 34 net/test/spawned_test_server/remote_test_server.cc base::FilePath GetTestServerPortInfoFile() { base 36 net/test/spawned_test_server/remote_test_server.cc return base::FilePath("/tmp/net-test-server-ports"); base 38 net/test/spawned_test_server/remote_test_server.cc base::FilePath test_data_dir; base 39 net/test/spawned_test_server/remote_test_server.cc PathService::Get(base::DIR_ANDROID_EXTERNAL_STORAGE, &test_data_dir); base 69 net/test/spawned_test_server/remote_test_server.cc const base::FilePath& document_root) base 78 net/test/spawned_test_server/remote_test_server.cc const base::FilePath& document_root) base 94 net/test/spawned_test_server/remote_test_server.cc base::DictionaryValue arguments_dict; base 104 net/test/spawned_test_server/remote_test_server.cc base::JSONWriter::Write(&arguments_dict, &arguments_string); base 118 net/test/spawned_test_server/remote_test_server.cc base::DictionaryValue server_data_dict; base 124 net/test/spawned_test_server/remote_test_server.cc base::JSONWriter::Write(&server_data_dict, &server_data); base 157 net/test/spawned_test_server/remote_test_server.cc base::FilePath RemoteTestServer::GetDocumentRoot() const { base 158 net/test/spawned_test_server/remote_test_server.cc base::FilePath src_dir; base 159 net/test/spawned_test_server/remote_test_server.cc PathService::Get(base::DIR_SOURCE_ROOT, &src_dir); base 163 net/test/spawned_test_server/remote_test_server.cc bool RemoteTestServer::Init(const base::FilePath& document_root) { base 172 net/test/spawned_test_server/remote_test_server.cc if (!base::ReadFileToString(GetTestServerPortInfoFile(), &port_info) || base 178 net/test/spawned_test_server/remote_test_server.cc base::SplitString(port_info, ':', &ports); base 183 net/test/spawned_test_server/remote_test_server.cc base::StringToInt(ports[0], &spawner_server_port_); base 190 net/test/spawned_test_server/remote_test_server.cc base::StringToInt(ports[1], &test_server_port); base 195 net/test/spawned_test_server/remote_test_server.cc SetResourcePath(document_root, base::FilePath().AppendASCII("net") base 24 net/test/spawned_test_server/remote_test_server.h const base::FilePath& document_root); base 30 net/test/spawned_test_server/remote_test_server.h const base::FilePath& document_root); base 50 net/test/spawned_test_server/remote_test_server.h base::FilePath GetDocumentRoot() const; base 53 net/test/spawned_test_server/remote_test_server.h bool Init(const base::FilePath& document_root); base 29 net/test/spawned_test_server/spawner_communicator.cc return GURL(base::StringPrintf("%s:%u/%s", "http://127.0.0.1", port, base 36 net/test/spawned_test_server/spawner_communicator.cc class SpawnerRequestData : public base::SupportsUserData::Data { base 114 net/test/spawned_test_server/spawner_communicator.cc DCHECK_NE(base::MessageLoop::current(), io_thread_.message_loop()); base 120 net/test/spawned_test_server/spawner_communicator.cc DCHECK_NE(base::MessageLoop::current(), io_thread_.message_loop()); base 125 net/test/spawned_test_server/spawner_communicator.cc base::Thread::Options options; base 126 net/test/spawned_test_server/spawner_communicator.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 132 net/test/spawned_test_server/spawner_communicator.cc DCHECK_NE(base::MessageLoop::current(), io_thread_.message_loop()); base 157 net/test/spawned_test_server/spawner_communicator.cc io_thread_.message_loop()->PostTask(FROM_HERE, base::Bind( base 159 net/test/spawned_test_server/spawner_communicator.cc base::Unretained(this), command, post_data, result_code, data_received)); base 168 net/test/spawned_test_server/spawner_communicator.cc base::MessageLoop* loop = io_thread_.message_loop(); base 170 net/test/spawned_test_server/spawner_communicator.cc DCHECK_EQ(base::MessageLoop::current(), loop); base 200 net/test/spawned_test_server/spawner_communicator.cc base::MessageLoop::current()->PostDelayedTask( base 202 net/test/spawned_test_server/spawner_communicator.cc base::Bind(&SpawnerCommunicator::OnTimeout, base 339 net/test/spawned_test_server/spawner_communicator.cc scoped_ptr<base::Value> value(base::JSONReader::Read(server_return_data)); base 340 net/test/spawned_test_server/spawner_communicator.cc if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY)) { base 346 net/test/spawned_test_server/spawner_communicator.cc base::DictionaryValue* server_data = base 347 net/test/spawned_test_server/spawner_communicator.cc static_cast<base::DictionaryValue*>(value.get()); base 116 net/test/spawned_test_server/spawner_communicator.h base::Thread io_thread_; base 119 net/test/spawned_test_server/spawner_communicator.h base::WaitableEvent event_; base 135 net/test/spawned_test_server/spawner_communicator.h base::WeakPtrFactory<SpawnerCommunicator> weak_factory_; base 218 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp base::Base64Encode( base 151 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp const base::string16& password, base 345 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp static base::LazyInstance<PKCS12InitSingleton>::Leaky g_pkcs12_init_singleton = base 358 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp const base::string16& password, base 393 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp const base::string16& password) base 66 net/third_party/mozilla_security_manager/nsPKCS12Blob.h const base::string16& password, base 75 net/third_party/mozilla_security_manager/nsPKCS12Blob.h const base::string16& password); base 6100 net/third_party/nss/ssl/ssl3con.c dhParam.base.data = svrPubKey->u.dh.base.data; base 6101 net/third_party/nss/ssl/ssl3con.c dhParam.base.len = svrPubKey->u.dh.base.len; base 7004 net/third_party/nss/ssl/ssl3con.c SECITEM_CopyItem(arena, &peerKey->u.dh.base, &dh_g) || base 691 net/tools/balsa/balsa_frame.cc bool SplitStringPiece(base::StringPiece original, char delim, base 692 net/tools/balsa/balsa_frame.cc base::StringPiece* before, base::StringPiece* after) { base 704 net/tools/balsa/balsa_frame.cc *before = base::StringPiece(start, p - start); base 706 net/tools/balsa/balsa_frame.cc *after = base::StringPiece(p + 1, end - (p + 1)); base 708 net/tools/balsa/balsa_frame.cc *after = base::StringPiece(""); base 723 net/tools/balsa/balsa_frame.cc void ProcessChunkExtensionsManual(base::StringPiece all_extensions, base 725 net/tools/balsa/balsa_frame.cc base::StringPiece extension; base 726 net/tools/balsa/balsa_frame.cc base::StringPiece remaining; base 730 net/tools/balsa/balsa_frame.cc base::StringPiece key; base 731 net/tools/balsa/balsa_frame.cc base::StringPiece value; base 752 net/tools/balsa/balsa_frame.cc ProcessChunkExtensionsManual(base::StringPiece(input, size), extensions); base 905 net/tools/balsa/balsa_frame.cc base::StringPiece method = headers_->request_method(); base 20 net/tools/balsa/balsa_frame_test.cc using ::base::StringPiece; base 29 net/tools/balsa/balsa_headers.cc __gnu_cxx::hash_set<base::StringPiece, base 104 net/tools/balsa/balsa_headers.cc void BalsaBuffer::WriteToContiguousBuffer(const base::StringPiece& sp) { base 133 net/tools/balsa/balsa_headers.cc base::StringPiece BalsaBuffer::Write(const base::StringPiece& sp, base 140 net/tools/balsa/balsa_headers.cc return base::StringPiece(storage, sp.size()); base 248 net/tools/balsa/balsa_headers.cc const base::StringPiece& key) base 379 net/tools/balsa/balsa_headers.cc void BalsaHeaders::AddAndMakeDescription(const base::StringPiece& key, base 380 net/tools/balsa/balsa_headers.cc const base::StringPiece& value, base 405 net/tools/balsa/balsa_headers.cc const base::StringPiece& key, base 406 net/tools/balsa/balsa_headers.cc const base::StringPiece& value, base 415 net/tools/balsa/balsa_headers.cc base::StringPiece old_value(GetPtr(d->buffer_base_idx) + d->value_begin_idx, base 424 net/tools/balsa/balsa_headers.cc base::StringPiece first_value = old_value; base 425 net/tools/balsa/balsa_headers.cc base::StringPiece second_value = value; base 451 net/tools/balsa/balsa_headers.cc void BalsaHeaders::RemoveAllOfHeaderStartingAt(const base::StringPiece& key, base 460 net/tools/balsa/balsa_headers.cc void BalsaHeaders::HackHeader(const base::StringPiece& key, base 461 net/tools/balsa/balsa_headers.cc const base::StringPiece& value) { base 478 net/tools/balsa/balsa_headers.cc void BalsaHeaders::HackAppendToHeader(const base::StringPiece& key, base 479 net/tools/balsa/balsa_headers.cc const base::StringPiece& append_value) { base 493 net/tools/balsa/balsa_headers.cc void BalsaHeaders::ReplaceOrAppendHeader(const base::StringPiece& key, base 494 net/tools/balsa/balsa_headers.cc const base::StringPiece& value) { base 511 net/tools/balsa/balsa_headers.cc void BalsaHeaders::AppendHeader(const base::StringPiece& key, base 512 net/tools/balsa/balsa_headers.cc const base::StringPiece& value) { base 518 net/tools/balsa/balsa_headers.cc void BalsaHeaders::AppendToHeader(const base::StringPiece& key, base 519 net/tools/balsa/balsa_headers.cc const base::StringPiece& value) { base 523 net/tools/balsa/balsa_headers.cc void BalsaHeaders::PrependToHeader(const base::StringPiece& key, base 524 net/tools/balsa/balsa_headers.cc const base::StringPiece& value) { base 528 net/tools/balsa/balsa_headers.cc base::StringPiece BalsaHeaders::GetValueFromHeaderLineDescription( base 531 net/tools/balsa/balsa_headers.cc return base::StringPiece(GetPtr(line.buffer_base_idx) + line.value_begin_idx, base 535 net/tools/balsa/balsa_headers.cc const base::StringPiece BalsaHeaders::GetHeader( base 536 net/tools/balsa/balsa_headers.cc const base::StringPiece& key) const { base 545 net/tools/balsa/balsa_headers.cc return base::StringPiece(NULL, 0); base 551 net/tools/balsa/balsa_headers.cc const base::StringPiece& key) const { base 563 net/tools/balsa/balsa_headers.cc const base::StringPiece& key) const { base 574 net/tools/balsa/balsa_headers.cc void BalsaHeaders::AppendOrPrependToHeader(const base::StringPiece& key, base 575 net/tools/balsa/balsa_headers.cc const base::StringPiece& value, base 595 net/tools/balsa/balsa_headers.cc const base::StringPiece& key, base 618 net/tools/balsa/balsa_headers.cc const base::StringPiece& key, base 638 net/tools/balsa/balsa_headers.cc const base::StringPiece& key, base 661 net/tools/balsa/balsa_headers.cc const base::StringPiece& key, std::vector<base::StringPiece>* out) const { base 668 net/tools/balsa/balsa_headers.cc bool BalsaHeaders::HasNonEmptyHeader(const base::StringPiece& key) const { base 677 net/tools/balsa/balsa_headers.cc void BalsaHeaders::GetAllOfHeaderAsString(const base::StringPiece& key, base 693 net/tools/balsa/balsa_headers.cc bool BalsaHeaders::IsMultivaluedHeader(const base::StringPiece& header) { base 697 net/tools/balsa/balsa_headers.cc void BalsaHeaders::RemoveAllOfHeader(const base::StringPiece& key) { base 702 net/tools/balsa/balsa_headers.cc void BalsaHeaders::RemoveAllHeadersWithPrefix(const base::StringPiece& key) { base 745 net/tools/balsa/balsa_headers.cc const base::StringPiece firstline = first_line(); base 757 net/tools/balsa/balsa_headers.cc base::StringAppendF(str, "\n<incomplete header len: %d>\n%.*s\n", base 766 net/tools/balsa/balsa_headers.cc base::StringAppendF(str, "\n %.*s\n", base 771 net/tools/balsa/balsa_headers.cc base::StringAppendF(str, " %.*s: %.*s\n", base 777 net/tools/balsa/balsa_headers.cc void BalsaHeaders::SetFirstLine(const base::StringPiece& line) { base 778 net/tools/balsa/balsa_headers.cc base::StringPiece new_line = balsa_buffer_.Write(line, base 796 net/tools/balsa/balsa_headers.cc const base::StringPiece content_length(kContentLength, base 809 net/tools/balsa/balsa_headers.cc const base::StringPiece transfer_encoding(kTransferEncoding, base 820 net/tools/balsa/balsa_headers.cc const base::StringPiece length_str(buffer, len_converted); base 833 net/tools/balsa/balsa_headers.cc const base::StringPiece content_length(kContentLength, base 839 net/tools/balsa/balsa_headers.cc const base::StringPiece transfer_encoding(kTransferEncoding, base 843 net/tools/balsa/balsa_headers.cc const base::StringPiece chunked(kChunked, sizeof(kChunked) - 1); base 854 net/tools/balsa/balsa_headers.cc const base::StringPiece& firstline_a, base 855 net/tools/balsa/balsa_headers.cc const base::StringPiece& firstline_b, base 856 net/tools/balsa/balsa_headers.cc const base::StringPiece& firstline_c) { base 888 net/tools/balsa/balsa_headers.cc void BalsaHeaders::SetRequestMethod(const base::StringPiece& method) { base 903 net/tools/balsa/balsa_headers.cc void BalsaHeaders::SetResponseVersion(const base::StringPiece& version) { base 911 net/tools/balsa/balsa_headers.cc void BalsaHeaders::SetRequestUri(const base::StringPiece& uri) { base 915 net/tools/balsa/balsa_headers.cc void BalsaHeaders::SetResponseCode(const base::StringPiece& code) { base 929 net/tools/balsa/balsa_headers.cc SetResponseCode(base::StringPiece(buffer, len_converted)); base 932 net/tools/balsa/balsa_headers.cc void BalsaHeaders::SetRequestVersion(const base::StringPiece& version) { base 955 net/tools/balsa/balsa_headers.cc void BalsaHeaders::SetResponseReasonPhrase(const base::StringPiece& reason) { base 137 net/tools/balsa/balsa_headers.h void WriteToContiguousBuffer(const base::StringPiece& sp); base 149 net/tools/balsa/balsa_headers.h base::StringPiece Write(const base::StringPiece& sp, base 274 net/tools/balsa/balsa_headers.h typedef std::vector<base::StringPiece> HeaderTokenList; base 299 net/tools/balsa/balsa_headers.h typedef std::pair<base::StringPiece, base::StringPiece> StringPiecePair; base 398 net/tools/balsa/balsa_headers.h base::StringPiece(stream_begin + line.first_char_idx, base 400 net/tools/balsa/balsa_headers.h base::StringPiece(stream_begin + line.value_begin_idx, base 506 net/tools/balsa/balsa_headers.h const_header_lines_iterator base() { base 555 net/tools/balsa/balsa_headers.h const base::StringPiece& key); base 565 net/tools/balsa/balsa_headers.h base::StringPiece key_; base 623 net/tools/balsa/balsa_headers.h void HackHeader(const base::StringPiece& key, const base::StringPiece& value); base 634 net/tools/balsa/balsa_headers.h void HackAppendToHeader(const base::StringPiece& key, base 635 net/tools/balsa/balsa_headers.h const base::StringPiece& value); base 643 net/tools/balsa/balsa_headers.h void ReplaceOrAppendHeader(const base::StringPiece& key, base 644 net/tools/balsa/balsa_headers.h const base::StringPiece& value); base 654 net/tools/balsa/balsa_headers.h void AppendHeader(const base::StringPiece& key, base 655 net/tools/balsa/balsa_headers.h const base::StringPiece& value); base 661 net/tools/balsa/balsa_headers.h void AppendToHeader(const base::StringPiece& key, base 662 net/tools/balsa/balsa_headers.h const base::StringPiece& value); base 668 net/tools/balsa/balsa_headers.h void PrependToHeader(const base::StringPiece& key, base 669 net/tools/balsa/balsa_headers.h const base::StringPiece& value); base 671 net/tools/balsa/balsa_headers.h const base::StringPiece GetHeader(const base::StringPiece& key) const; base 696 net/tools/balsa/balsa_headers.h void GetAllOfHeader(const base::StringPiece& key, base 697 net/tools/balsa/balsa_headers.h std::vector<base::StringPiece>* out) const; base 702 net/tools/balsa/balsa_headers.h void GetAllOfHeaderAsString(const base::StringPiece& key, base 707 net/tools/balsa/balsa_headers.h static bool IsMultivaluedHeader(const base::StringPiece& header); base 710 net/tools/balsa/balsa_headers.h inline bool HasHeader(const base::StringPiece& key) const { base 716 net/tools/balsa/balsa_headers.h bool HasNonEmptyHeader(const base::StringPiece& key) const; base 719 net/tools/balsa/balsa_headers.h const base::StringPiece& key) const; base 727 net/tools/balsa/balsa_headers.h const base::StringPiece& key) const; base 729 net/tools/balsa/balsa_headers.h void RemoveAllOfHeader(const base::StringPiece& key); base 732 net/tools/balsa/balsa_headers.h void RemoveAllHeadersWithPrefix(const base::StringPiece& key); base 792 net/tools/balsa/balsa_headers.h base::StringPiece(line_ptr + line.first_char_idx, base 794 net/tools/balsa/balsa_headers.h base::StringPiece(line_ptr + line.value_begin_idx, base 807 net/tools/balsa/balsa_headers.h const base::StringPiece& key, base 808 net/tools/balsa/balsa_headers.h const base::StringPiece& value) { base 828 net/tools/balsa/balsa_headers.h const base::StringPiece first_line() const { base 830 net/tools/balsa/balsa_headers.h return base::StringPiece(BeginningOfFirstLine() + non_whitespace_1_idx_, base 842 net/tools/balsa/balsa_headers.h const base::StringPiece request_method() const { base 844 net/tools/balsa/balsa_headers.h return base::StringPiece(BeginningOfFirstLine() + non_whitespace_1_idx_, base 848 net/tools/balsa/balsa_headers.h const base::StringPiece response_version() const { base 856 net/tools/balsa/balsa_headers.h const base::StringPiece request_uri() const { base 858 net/tools/balsa/balsa_headers.h return base::StringPiece(BeginningOfFirstLine() + non_whitespace_2_idx_, base 862 net/tools/balsa/balsa_headers.h const base::StringPiece response_code() const { base 869 net/tools/balsa/balsa_headers.h const base::StringPiece request_version() const { base 871 net/tools/balsa/balsa_headers.h return base::StringPiece(BeginningOfFirstLine() + non_whitespace_3_idx_, base 875 net/tools/balsa/balsa_headers.h const base::StringPiece response_reason_phrase() const { base 889 net/tools/balsa/balsa_headers.h void SetFirstlineFromStringPieces(const base::StringPiece& firstline_a, base 890 net/tools/balsa/balsa_headers.h const base::StringPiece& firstline_b, base 891 net/tools/balsa/balsa_headers.h const base::StringPiece& firstline_c); base 893 net/tools/balsa/balsa_headers.h void SetRequestFirstlineFromStringPieces(const base::StringPiece& method, base 894 net/tools/balsa/balsa_headers.h const base::StringPiece& uri, base 895 net/tools/balsa/balsa_headers.h const base::StringPiece& version) { base 900 net/tools/balsa/balsa_headers.h const base::StringPiece& version, base 901 net/tools/balsa/balsa_headers.h const base::StringPiece& code, base 902 net/tools/balsa/balsa_headers.h const base::StringPiece& reason_phrase) { base 909 net/tools/balsa/balsa_headers.h void SetRequestMethod(const base::StringPiece& method); base 910 net/tools/balsa/balsa_headers.h void SetResponseVersion(const base::StringPiece& version); base 912 net/tools/balsa/balsa_headers.h void SetRequestUri(const base::StringPiece& uri); base 913 net/tools/balsa/balsa_headers.h void SetResponseCode(const base::StringPiece& code); base 922 net/tools/balsa/balsa_headers.h void SetRequestVersion(const base::StringPiece& version); base 923 net/tools/balsa/balsa_headers.h void SetResponseReasonPhrase(const base::StringPiece& reason_phrase); base 934 net/tools/balsa/balsa_headers.h void SetFirstLine(const base::StringPiece& line); base 992 net/tools/balsa/balsa_headers.h balsa_buffer_.WriteToContiguousBuffer(base::StringPiece(ptr, size)); base 1016 net/tools/balsa/balsa_headers.h base::StringPiece GetValueFromHeaderLineDescription( base 1019 net/tools/balsa/balsa_headers.h void AddAndMakeDescription(const base::StringPiece& key, base 1020 net/tools/balsa/balsa_headers.h const base::StringPiece& value, base 1023 net/tools/balsa/balsa_headers.h void AppendOrPrependAndMakeDescription(const base::StringPiece& key, base 1024 net/tools/balsa/balsa_headers.h const base::StringPiece& value, base 1029 net/tools/balsa/balsa_headers.h void RemoveAllOfHeaderStartingAt(const base::StringPiece& key, base 1036 net/tools/balsa/balsa_headers.h void AppendOrPrependToHeader(const base::StringPiece& key, base 1037 net/tools/balsa/balsa_headers.h const base::StringPiece& value, base 1041 net/tools/balsa/balsa_headers.h const base::StringPiece& key, base 1045 net/tools/balsa/balsa_headers.h const base::StringPiece& key, base 1049 net/tools/balsa/balsa_headers.h const base::StringPiece& key, base 1088 net/tools/balsa/balsa_headers.h base::StringPiece OriginalHeadersForDebugging() const { base 1089 net/tools/balsa/balsa_headers.h return base::StringPiece(OriginalHeaderStreamBegin(), base 18 net/tools/balsa/balsa_headers_test.cc using ::base::StringPiece; base 174 net/tools/balsa/balsa_headers_test.cc std::vector<base::StringPiece> v1, v2, v3; base 204 net/tools/balsa/balsa_headers_test.cc std::vector<base::StringPiece> v; base 219 net/tools/balsa/balsa_headers_test.cc std::vector<base::StringPiece> v; base 237 net/tools/balsa/balsa_headers_test.cc std::vector<base::StringPiece> v; base 28 net/tools/balsa/balsa_headers_token_utils.cc const base::StringPiece& key, BalsaHeaders* headers) { base 57 net/tools/balsa/balsa_headers_token_utils.cc const base::StringPiece& new_last_token = tokens[tokens.size() - 2]; base 68 net/tools/balsa/balsa_headers_token_utils.cc const base::StringPiece& key, base 69 net/tools/balsa/balsa_headers_token_utils.cc const base::StringPiece& token) { base 94 net/tools/balsa/balsa_headers_token_utils.cc const base::StringPiece& key, base 132 net/tools/balsa/balsa_headers_token_utils.cc tokens->push_back(base::StringPiece(nws, start - nws)); base 137 net/tools/balsa/balsa_headers_token_utils.cc tokens->push_back(base::StringPiece(nws, start - nws)); base 25 net/tools/balsa/balsa_headers_token_utils.h const base::StringPiece& key, base 26 net/tools/balsa/balsa_headers_token_utils.h const base::StringPiece& token); base 32 net/tools/balsa/balsa_headers_token_utils.h const base::StringPiece& key, base 38 net/tools/balsa/balsa_headers_token_utils.h static void RemoveLastTokenFromHeaderValue(const base::StringPiece& key, base 17 net/tools/balsa/split.cc void SplitStringPieceToVector(const base::StringPiece& full, base 19 net/tools/balsa/split.cc std::vector<base::StringPiece>* vec, base 26 net/tools/balsa/split.cc base::StringPiece::const_iterator s = full.begin(); base 27 net/tools/balsa/split.cc base::StringPiece::const_iterator e = s; base 31 net/tools/balsa/split.cc vec->push_back(base::StringPiece(s, e - s)); base 40 net/tools/balsa/split.cc vec->push_back(base::StringPiece(s, e - s)); base 44 net/tools/balsa/split.cc base::StringPiece::const_iterator s = full.begin(); base 45 net/tools/balsa/split.cc base::StringPiece::const_iterator e = s; base 56 net/tools/balsa/split.cc vec->push_back(base::StringPiece(s, e - s)); base 65 net/tools/balsa/split.cc vec->push_back(base::StringPiece(s, e - s)); base 15 net/tools/balsa/split.h void SplitStringPieceToVector(const base::StringPiece& full, base 17 net/tools/balsa/split.h std::vector<base::StringPiece>* vec, base 16 net/tools/balsa/string_piece_utils.h size_t operator()(const base::StringPiece& sp) const { base 19 net/tools/balsa/string_piece_utils.h for (base::StringPiece::const_iterator it = sp.begin(); base 28 net/tools/balsa/string_piece_utils.h static bool EqualIgnoreCase(const base::StringPiece& piece1, base 29 net/tools/balsa/string_piece_utils.h const base::StringPiece& piece2) { base 30 net/tools/balsa/string_piece_utils.h base::StringPiece::const_iterator p1i = piece1.begin(); base 31 net/tools/balsa/string_piece_utils.h base::StringPiece::const_iterator p2i = piece2.begin(); base 46 net/tools/balsa/string_piece_utils.h static void RemoveWhitespaceContext(base::StringPiece* piece1) { base 47 net/tools/balsa/string_piece_utils.h base::StringPiece::const_iterator c = piece1->begin(); base 48 net/tools/balsa/string_piece_utils.h base::StringPiece::const_iterator e = piece1->end(); base 53 net/tools/balsa/string_piece_utils.h *piece1 = base::StringPiece(c, e-c); base 61 net/tools/balsa/string_piece_utils.h *piece1 = base::StringPiece(c, e-c); base 64 net/tools/balsa/string_piece_utils.h static bool StartsWithIgnoreCase(const base::StringPiece& text, base 65 net/tools/balsa/string_piece_utils.h const base::StringPiece& starts_with) { base 72 net/tools/balsa/string_piece_utils.h bool operator()(const base::StringPiece& piece1, base 73 net/tools/balsa/string_piece_utils.h const base::StringPiece& piece2) const { base 33 net/tools/crash_cache/crash_cache.cc using base::Time; base 47 net/tools/crash_cache/crash_cache.cc base::FilePath exe; base 48 net/tools/crash_cache/crash_cache.cc PathService::Get(base::FILE_EXE, &exe); base 51 net/tools/crash_cache/crash_cache.cc cmdline.AppendArg(base::IntToString(action)); base 53 net/tools/crash_cache/crash_cache.cc base::ProcessHandle handle; base 54 net/tools/crash_cache/crash_cache.cc if (!base::LaunchProcess(cmdline, base::LaunchOptions(), &handle)) { base 61 net/tools/crash_cache/crash_cache.cc if (!base::WaitForExitCode(handle, &exit_code)) { base 91 net/tools/crash_cache/crash_cache.cc bool CreateTargetFolder(const base::FilePath& path, RankCrashes action, base 92 net/tools/crash_cache/crash_cache.cc base::FilePath* full_path) { base 123 net/tools/crash_cache/crash_cache.cc if (base::PathExists(*full_path)) base 126 net/tools/crash_cache/crash_cache.cc return base::CreateDirectory(*full_path); base 138 net/tools/crash_cache/crash_cache.cc bool CreateCache(const base::FilePath& path, base 139 net/tools/crash_cache/crash_cache.cc base::Thread* thread, base 154 net/tools/crash_cache/crash_cache.cc int SimpleInsert(const base::FilePath& path, RankCrashes action, base 155 net/tools/crash_cache/crash_cache.cc base::Thread* cache_thread) { base 188 net/tools/crash_cache/crash_cache.cc int SimpleRemove(const base::FilePath& path, RankCrashes action, base 189 net/tools/crash_cache/crash_cache.cc base::Thread* cache_thread) { base 227 net/tools/crash_cache/crash_cache.cc int HeadRemove(const base::FilePath& path, RankCrashes action, base 228 net/tools/crash_cache/crash_cache.cc base::Thread* cache_thread) { base 264 net/tools/crash_cache/crash_cache.cc int LoadOperations(const base::FilePath& path, RankCrashes action, base 265 net/tools/crash_cache/crash_cache.cc base::Thread* cache_thread) { base 323 net/tools/crash_cache/crash_cache.cc int SlaveCode(const base::FilePath& path, RankCrashes action) { base 324 net/tools/crash_cache/crash_cache.cc base::MessageLoopForIO message_loop; base 326 net/tools/crash_cache/crash_cache.cc base::FilePath full_path; base 332 net/tools/crash_cache/crash_cache.cc base::Thread cache_thread("CacheThread"); base 334 net/tools/crash_cache/crash_cache.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))) base 362 net/tools/crash_cache/crash_cache.cc base::AtExitManager at_exit_manager; base 374 net/tools/crash_cache/crash_cache.cc base::FilePath path; base 375 net/tools/crash_cache/crash_cache.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 27 net/tools/crl_set_dump/crl_set_dump.cc base::AtExitManager at_exit_manager; base 29 net/tools/crl_set_dump/crl_set_dump.cc base::FilePath crl_set_filename, delta_filename, output_filename; base 34 net/tools/crl_set_dump/crl_set_dump.cc crl_set_filename = base::FilePath::FromUTF8Unsafe(argv[1]); base 36 net/tools/crl_set_dump/crl_set_dump.cc delta_filename = base::FilePath::FromUTF8Unsafe(argv[2]); base 38 net/tools/crl_set_dump/crl_set_dump.cc output_filename = base::FilePath::FromUTF8Unsafe(argv[3]); base 41 net/tools/crl_set_dump/crl_set_dump.cc if (!base::ReadFileToString(crl_set_filename, &crl_set_bytes)) base 44 net/tools/crl_set_dump/crl_set_dump.cc !base::ReadFileToString(delta_filename, &delta_bytes)) { base 65 net/tools/crl_set_dump/crl_set_dump.cc if (base::WriteFile(output_filename, out.data(), out.size()) == -1) { base 74 net/tools/crl_set_dump/crl_set_dump.cc printf("%s\n", base::HexEncode(i->first.data(), i->first.size()).c_str()); base 77 net/tools/crl_set_dump/crl_set_dump.cc printf(" %s\n", base::HexEncode(j->data(), j->size()).c_str()); base 50 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::SplitString(spec_string, ':', &tokens); base 61 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::FilePath(tokens[2]))); base 66 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc const base::FilePath path; base 71 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc const base::FilePath& path) base 78 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc void SetSuccessCodeOnCompletion(base::RunLoop* run_loop, base 93 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::RunLoop run_loop; base 94 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc const net::CompletionCallback callback = base::Bind( base 96 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::Unretained(&run_loop), base 97 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::Unretained(&succeeded)); base 100 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::MessageLoopProxy::current(), NULL, &backend, callback); base 112 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::RunLoop index_run_loop; base 113 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc const net::CompletionCallback index_callback = base::Bind( base 115 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::Unretained(&index_run_loop), base 116 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::Unretained(&succeeded)); base 142 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::SplitStringAlongWhitespace(line, tokens); base 168 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::SplitStringAlongWhitespace(line, tokens); base 187 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc if (!base::StringToUint64(size_str, &map_size)) base 196 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::StringPrintf("/proc/%d/smaps", getpid()).c_str()); base 268 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::AtExitManager at_exit_manager; base 269 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc base::MessageLoopForIO message_loop; base 53 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc base::FilePath filepath = base::FilePath::FromUTF8Unsafe(filename); base 56 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc if (!base::ReadFileToString(filepath, &json)) { base 61 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc scoped_ptr<base::Value> value(base::JSONReader::Read(json)); base 67 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc base::DictionaryValue* dict; base 106 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc base::ListValue* resp_list; base 149 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc base::TimeDelta ttl; base 33 net/tools/dump_cache/cache_dumper.cc void CacheDumper::CloseEntry(disk_cache::Entry* entry, base::Time last_used, base 34 net/tools/dump_cache/cache_dumper.cc base::Time last_modified) { base 44 net/tools/dump_cache/cache_dumper.cc bool SafeCreateDirectory(const base::FilePath& path) { base 60 net/tools/dump_cache/cache_dumper.cc base::FilePath::StringType subdir = path.value().substr(0, pos); base 68 net/tools/dump_cache/cache_dumper.cc return base::CreateDirectory(path); base 72 net/tools/dump_cache/cache_dumper.cc DiskDumper::DiskDumper(const base::FilePath& path) base 74 net/tools/dump_cache/cache_dumper.cc base::CreateDirectory(path); base 86 net/tools/dump_cache/cache_dumper.cc entry_path_ = base::FilePath::FromUTF8Unsafe(new_path); base 96 net/tools/dump_cache/cache_dumper.cc entry_path_ = base::FilePath(name); base 103 net/tools/dump_cache/cache_dumper.cc base::FilePath::StringType file = entry_path_.value(); base 111 net/tools/dump_cache/cache_dumper.cc entry_ = base::OpenFile(entry_path_, "w+"); base 216 net/tools/dump_cache/cache_dumper.cc void DiskDumper::CloseEntry(disk_cache::Entry* entry, base::Time last_used, base 217 net/tools/dump_cache/cache_dumper.cc base::Time last_modified) { base 221 net/tools/dump_cache/cache_dumper.cc base::CloseFile(entry_); base 41 net/tools/dump_cache/cache_dumper.h virtual void CloseEntry(disk_cache::Entry* entry, base::Time last_used, base 42 net/tools/dump_cache/cache_dumper.h base::Time last_modified) = 0; base 55 net/tools/dump_cache/cache_dumper.h virtual void CloseEntry(disk_cache::Entry* entry, base::Time last_used, base 56 net/tools/dump_cache/cache_dumper.h base::Time last_modified) OVERRIDE; base 65 net/tools/dump_cache/cache_dumper.h explicit DiskDumper(const base::FilePath& path); base 72 net/tools/dump_cache/cache_dumper.h virtual void CloseEntry(disk_cache::Entry* entry, base::Time last_used, base 73 net/tools/dump_cache/cache_dumper.h base::Time last_modified) OVERRIDE; base 76 net/tools/dump_cache/cache_dumper.h base::FilePath path_; base 80 net/tools/dump_cache/cache_dumper.h base::FilePath entry_path_; base 81 net/tools/dump_cache/dump_cache.cc const base::string16& pipe_number, base 87 net/tools/dump_cache/dump_cache.cc base::FilePath program( base 88 net/tools/dump_cache/dump_cache.cc base::StringPrintf(L"%ls%d", L"dump_cache", version)); base 96 net/tools/dump_cache/dump_cache.cc if (!base::LaunchProcess(command_line, base::LaunchOptions(), NULL)) { base 111 net/tools/dump_cache/dump_cache.cc base::AtExitManager at_exit_manager; base 116 net/tools/dump_cache/dump_cache.cc base::FilePath input_path = command_line.GetSwitchValuePath(kInputPath); base 123 net/tools/dump_cache/dump_cache.cc base::FilePath output_path = command_line.GetSwitchValuePath(kOutputPath); base 141 net/tools/dump_cache/dump_cache.cc base::string16 pipe_number = command_line.GetSwitchValueNative(kPipe); base 145 net/tools/dump_cache/dump_cache.cc base::win::ScopedHandle server; base 30 net/tools/dump_cache/dump_files.cc const base::FilePath::CharType kIndexName[] = FILE_PATH_LITERAL("index"); base 33 net/tools/dump_cache/dump_files.cc bool ReadHeader(const base::FilePath& name, char* header, int header_size) { base 34 net/tools/dump_cache/dump_files.cc base::File file(name, base::File::FLAG_OPEN | base::File::FLAG_READ); base 48 net/tools/dump_cache/dump_files.cc int GetMajorVersionFromFile(const base::FilePath& name) { base 57 net/tools/dump_cache/dump_files.cc void DumpStats(const base::FilePath& path, disk_cache::CacheAddr addr) { base 59 net/tools/dump_cache/dump_files.cc base::MessageLoopForIO loop; base 95 net/tools/dump_cache/dump_files.cc void DumpIndexHeader(const base::FilePath& name, base 126 net/tools/dump_cache/dump_files.cc void DumpBlockHeader(const base::FilePath& name) { base 154 net/tools/dump_cache/dump_files.cc explicit CacheDumper(const base::FilePath& path) base 174 net/tools/dump_cache/dump_files.cc base::FilePath path_; base 190 net/tools/dump_cache/dump_files.cc base::FilePath index_name(path_.Append(kIndexName)); base 310 net/tools/dump_cache/dump_files.cc int GetMajorVersion(const base::FilePath& input_path) { base 311 net/tools/dump_cache/dump_files.cc base::FilePath index_name(input_path.Append(kIndexName)); base 317 net/tools/dump_cache/dump_files.cc base::FilePath data_name(input_path.Append(FILE_PATH_LITERAL("data_0"))); base 337 net/tools/dump_cache/dump_files.cc int DumpHeaders(const base::FilePath& input_path) { base 338 net/tools/dump_cache/dump_files.cc base::FilePath index_name(input_path.Append(kIndexName)); base 342 net/tools/dump_cache/dump_files.cc base::FileEnumerator iter(input_path, false, base 343 net/tools/dump_cache/dump_files.cc base::FileEnumerator::FILES, base 345 net/tools/dump_cache/dump_files.cc for (base::FilePath file = iter.Next(); !file.empty(); file = iter.Next()) base 353 net/tools/dump_cache/dump_files.cc int DumpContents(const base::FilePath& input_path) { base 357 net/tools/dump_cache/dump_files.cc base::MessageLoopForIO loop; base 15 net/tools/dump_cache/dump_files.h int GetMajorVersion(const base::FilePath& input_path); base 18 net/tools/dump_cache/dump_files.h int DumpContents(const base::FilePath& input_path); base 21 net/tools/dump_cache/dump_files.h int DumpHeaders(const base::FilePath& input_path); base 22 net/tools/dump_cache/simple_cache_dumper.cc SimpleCacheDumper::SimpleCacheDumper(base::FilePath input_path, base 23 net/tools/dump_cache/simple_cache_dumper.cc base::FilePath output_path) base 28 net/tools/dump_cache/simple_cache_dumper.cc cache_thread_(new base::Thread("CacheThead")), base 32 net/tools/dump_cache/simple_cache_dumper.cc io_callback_(base::Bind(&SimpleCacheDumper::OnIOComplete, base 33 net/tools/dump_cache/simple_cache_dumper.cc base::Unretained(this))), base 41 net/tools/dump_cache/simple_cache_dumper.cc base::MessageLoopForIO main_message_loop; base 47 net/tools/dump_cache/simple_cache_dumper.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))) { base 255 net/tools/dump_cache/simple_cache_dumper.cc writer_->CloseEntry(dst_entry_, base::Time::Now(), base::Time::Now()); base 269 net/tools/dump_cache/simple_cache_dumper.cc base::MessageLoop::current()->Quit(); base 29 net/tools/dump_cache/simple_cache_dumper.h SimpleCacheDumper(base::FilePath input_path, base::FilePath output_path); base 77 net/tools/dump_cache/simple_cache_dumper.h base::FilePath input_path_; base 78 net/tools/dump_cache/simple_cache_dumper.h base::FilePath output_path_; base 81 net/tools/dump_cache/simple_cache_dumper.h base::Thread* cache_thread_; base 42 net/tools/dump_cache/upgrade_win.cc HANDLE OpenServer(const base::string16& pipe_number) { base 43 net/tools/dump_cache/upgrade_win.cc base::string16 pipe_name(kPipePrefix); base 120 net/tools/dump_cache/upgrade_win.cc class BaseSM : public base::MessageLoopForIO::IOHandler { base 131 net/tools/dump_cache/upgrade_win.cc base::MessageLoopForIO::IOContext in_context_; base 132 net/tools/dump_cache/upgrade_win.cc base::MessageLoopForIO::IOContext out_context_; base 141 net/tools/dump_cache/upgrade_win.cc base::Thread cache_thread_; base 158 net/tools/dump_cache/upgrade_win.cc base::MessageLoopForIO::current()->RegisterIOHandler(channel_, this); base 160 net/tools/dump_cache/upgrade_win.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); base 218 net/tools/dump_cache/upgrade_win.cc MasterSM(const base::FilePath& path, HANDLE channel) base 227 net/tools/dump_cache/upgrade_win.cc virtual void OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 259 net/tools/dump_cache/upgrade_win.cc base::Time last_used_; base 260 net/tools/dump_cache/upgrade_win.cc base::Time last_modified_; base 269 net/tools/dump_cache/upgrade_win.cc const base::FilePath path_; base 272 net/tools/dump_cache/upgrade_win.cc void MasterSM::OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 395 net/tools/dump_cache/upgrade_win.cc base::Bind(&MasterSM::DoCreateEntryComplete, base::Unretained(this))); base 429 net/tools/dump_cache/upgrade_win.cc last_used_ = base::Time::FromInternalValue(input_->msg.long_arg2); base 430 net/tools/dump_cache/upgrade_win.cc last_modified_ = base::Time::FromInternalValue(input_->msg.long_arg3); base 509 net/tools/dump_cache/upgrade_win.cc base::Bind(&MasterSM::DoReadDataComplete, base::Unretained(this))); base 547 net/tools/dump_cache/upgrade_win.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 548 net/tools/dump_cache/upgrade_win.cc base::MessageLoop::QuitClosure()); base 561 net/tools/dump_cache/upgrade_win.cc SlaveSM(const base::FilePath& path, HANDLE channel); base 565 net/tools/dump_cache/upgrade_win.cc virtual void OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 595 net/tools/dump_cache/upgrade_win.cc SlaveSM::SlaveSM(const base::FilePath& path, HANDLE channel) base 617 net/tools/dump_cache/upgrade_win.cc void SlaveSM::OnIOCompleted(base::MessageLoopForIO::IOContext* context, base 730 net/tools/dump_cache/upgrade_win.cc base::Bind(&SlaveSM::DoGetEntryComplete, base::Unretained(this))); base 735 net/tools/dump_cache/upgrade_win.cc base::Bind(&SlaveSM::DoGetEntryComplete, base 736 net/tools/dump_cache/upgrade_win.cc base::Unretained(this))); base 838 net/tools/dump_cache/upgrade_win.cc base::Bind(&SlaveSM::DoReadDataComplete, base 839 net/tools/dump_cache/upgrade_win.cc base::Unretained(this))); base 862 net/tools/dump_cache/upgrade_win.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 863 net/tools/dump_cache/upgrade_win.cc base::MessageLoop::QuitClosure()); base 881 net/tools/dump_cache/upgrade_win.cc HANDLE CreateServer(base::string16* pipe_number) { base 882 net/tools/dump_cache/upgrade_win.cc base::string16 pipe_name(kPipePrefix); base 883 net/tools/dump_cache/upgrade_win.cc srand(static_cast<int>(base::Time::Now().ToInternalValue())); base 884 net/tools/dump_cache/upgrade_win.cc *pipe_number = base::IntToString16(rand()); base 895 net/tools/dump_cache/upgrade_win.cc int UpgradeCache(const base::FilePath& output_path, HANDLE pipe) { base 896 net/tools/dump_cache/upgrade_win.cc base::MessageLoopForIO loop; base 909 net/tools/dump_cache/upgrade_win.cc int RunSlave(const base::FilePath& input_path, base 910 net/tools/dump_cache/upgrade_win.cc const base::string16& pipe_number) { base 911 net/tools/dump_cache/upgrade_win.cc base::MessageLoopForIO loop; base 913 net/tools/dump_cache/upgrade_win.cc base::win::ScopedHandle pipe(OpenServer(pipe_number)); base 12 net/tools/dump_cache/upgrade_win.h HANDLE CreateServer(base::string16* pipe_number); base 16 net/tools/dump_cache/upgrade_win.h int UpgradeCache(const base::FilePath& output_path, HANDLE pipe); base 19 net/tools/dump_cache/upgrade_win.h int RunSlave(const base::FilePath& input_path, base 20 net/tools/dump_cache/upgrade_win.h const base::string16& pipe_number); base 15 net/tools/dump_cache/url_to_filename_encoder_unittest.cc using base::StringPiece; base 88 net/tools/dump_cache/url_to_filename_encoder_unittest.cc base::snprintf(escaped, sizeof(escaped), "%c%02X%c", escape, ch, escape); base 219 net/tools/dump_cache/url_to_filename_encoder_unittest.cc string escaped = base::StringPrintf("%%%02X", i); base 103 net/tools/dump_cache/url_utilities.cc bool ok = base::HexStringToInt(escape_text, &escape_value); base 80 net/tools/dump_cache/url_utilities_unittest.cc std::string escaped_char = base::StringPrintf("%%%02X", c); base 83 net/tools/dump_cache/url_utilities_unittest.cc escaped_char = base::StringPrintf("%%%02x", c); base 496 net/tools/epoll_server/epoll_server.cc return base::Time::Now().ToInternalValue(); base 564 net/tools/epoll_server/epoll_server.h typedef base::hash_set<CBAndEventMask, CBAndEventMaskHash> FDToCBMap; base 677 net/tools/epoll_server/epoll_server.h typedef base::hash_set<AlarmCB*, AlarmCBHash> AlarmCBMap; base 928 net/tools/epoll_server/epoll_server.h typedef base::hash_map<int, Events> EventCountsMap; base 34 net/tools/flip_server/acceptor_thread.h base::AutoLock al(lock_); base 38 net/tools/flip_server/acceptor_thread.h base::AutoLock al(lock_); base 42 net/tools/flip_server/acceptor_thread.h base::Lock lock_; base 45 net/tools/flip_server/acceptor_thread.h class SMAcceptorThread : public base::SimpleThread, base 23 net/tools/flip_server/http_interface_test.cc using ::base::StringPiece; base 32 net/tools/flip_server/loadtime_measurement.h base::SplitString(urls_string, '\n', &urls_); base 75 net/tools/flip_server/loadtime_measurement.h base::SplitString(action, '?', &query); base 77 net/tools/flip_server/loadtime_measurement.h base::SplitString(query[1], '&', ¶ms); base 80 net/tools/flip_server/loadtime_measurement.h base::SplitString(params[1], '=', &url); base 81 net/tools/flip_server/loadtime_measurement.h base::SplitString(params[2], '=', &loadtime); base 8 net/tools/flip_server/run_all_tests.cc int main(int argc, char** argv) { return base::TestSuite(argc, argv).Run(); } base 22 net/tools/flip_server/spdy_interface_test.cc using ::base::StringPiece; base 30 net/tools/gdig/file_net_log.cc scoped_ptr<base::Value> param_value(entry.ParametersToValue()); base 37 net/tools/gdig/file_net_log.cc base::Time now = base::Time::NowFromSystemTime(); base 38 net/tools/gdig/file_net_log.cc base::AutoLock lock(lock_); base 42 net/tools/gdig/file_net_log.cc base::TimeDelta elapsed_time = now - first_event_time_; base 30 net/tools/gdig/file_net_log.h base::Lock lock_; base 32 net/tools/gdig/file_net_log.h base::Time first_event_time_; base 74 net/tools/gdig/gdig.cc base::StringAppendF(&output, "options ndots:%d\n", dns_config.ndots); base 75 net/tools/gdig/gdig.cc base::StringAppendF(&output, "options timeout:%d\n", base 77 net/tools/gdig/gdig.cc base::StringAppendF(&output, "options attempts:%d\n", dns_config.attempts); base 100 net/tools/gdig/gdig.cc base::TimeDelta start_time; base 118 net/tools/gdig/gdig.cc bool LoadReplayLog(const base::FilePath& file_path, ReplayLog* replay_log) { base 120 net/tools/gdig/gdig.cc if (!base::ReadFileToString(file_path, &original_replay_log_contents)) { base 130 net/tools/gdig/gdig.cc base::RemoveChars(original_replay_log_contents, "\r", &replay_log_contents); base 133 net/tools/gdig/gdig.cc base::SplitString(replay_log_contents, '\n', &lines); base 134 net/tools/gdig/gdig.cc base::TimeDelta previous_delta; base 140 net/tools/gdig/gdig.cc base::SplitString(lines[i], ' ', &time_and_name); base 152 net/tools/gdig/gdig.cc if (!base::StringToInt64(time_and_name[0], &delta_in_milliseconds)) { base 162 net/tools/gdig/gdig.cc base::TimeDelta delta = base 163 net/tools/gdig/gdig.cc base::TimeDelta::FromMilliseconds(delta_in_milliseconds); base 206 net/tools/gdig/gdig.cc base::TimeDelta time_since_start, int val); base 210 net/tools/gdig/gdig.cc base::TimeDelta config_timeout_; base 214 net/tools/gdig/gdig.cc base::TimeDelta timeout_; base 218 net/tools/gdig/gdig.cc base::Time start_time_; base 222 net/tools/gdig/gdig.cc base::CancelableClosure timeout_closure_; base 230 net/tools/gdig/gdig.cc base::mac::ScopedNSAutoreleasePool scoped_pool_; base 234 net/tools/gdig/gdig.cc base::AtExitManager exit_manager_; base 238 net/tools/gdig/gdig.cc : config_timeout_(base::TimeDelta::FromSeconds(5)), base 266 net/tools/gdig/gdig.cc base::MessageLoopForIO loop; base 271 net/tools/gdig/gdig.cc base::MessageLoop::current()->Run(); base 284 net/tools/gdig/gdig.cc bool parsed = base::StringToInt( base 288 net/tools/gdig/gdig.cc config_timeout_ = base::TimeDelta::FromSeconds(timeout_seconds); base 331 net/tools/gdig/gdig.cc bool parsed = base::StringToInt( base 335 net/tools/gdig/gdig.cc timeout_ = base::TimeDelta::FromMilliseconds(timeout_millis); base 343 net/tools/gdig/gdig.cc base::FilePath replay_path = base 351 net/tools/gdig/gdig.cc bool parsed = base::StringToInt( base 363 net/tools/gdig/gdig.cc entry.start_time = base::TimeDelta(); base 365 net/tools/gdig/gdig.cc entry.domain_name = base::UTF16ToASCII(parsed_command_line.GetArgs()[0]); base 384 net/tools/gdig/gdig.cc dns_config_service_->ReadConfig(base::Bind(&GDig::OnDnsConfig, base 385 net/tools/gdig/gdig.cc base::Unretained(this))); base 386 net/tools/gdig/gdig.cc timeout_closure_.Reset(base::Bind(&GDig::OnTimeout, base 387 net/tools/gdig/gdig.cc base::Unretained(this))); base 388 net/tools/gdig/gdig.cc base::MessageLoop::current()->PostDelayedTask( base 396 net/tools/gdig/gdig.cc if (base::MessageLoop::current()) base 397 net/tools/gdig/gdig.cc base::MessageLoop::current()->Quit(); base 432 net/tools/gdig/gdig.cc start_time_ = base::Time::Now(); base 440 net/tools/gdig/gdig.cc base::TimeDelta time_since_start = base::Time::Now() - start_time_; base 445 net/tools/gdig/gdig.cc base::MessageLoop::current()->PostDelayedTask( base 447 net/tools/gdig/gdig.cc base::Bind(&GDig::ReplayNextEntry, base::Unretained(this)), base 455 net/tools/gdig/gdig.cc CompletionCallback callback = base::Bind(&GDig::OnResolveComplete, base 456 net/tools/gdig/gdig.cc base::Unretained(this), base 458 net/tools/gdig/gdig.cc base::Owned(addrlist), base 476 net/tools/gdig/gdig.cc base::TimeDelta resolve_start_time, base 482 net/tools/gdig/gdig.cc base::TimeDelta resolve_end_time = base::Time::Now() - start_time_; base 483 net/tools/gdig/gdig.cc base::TimeDelta resolve_time = resolve_end_time - resolve_start_time; base 51 net/tools/get_server_time/get_server_time.cc using base::UTF16ToUTF8; base 79 net/tools/get_server_time/get_server_time.cc base::MessageLoop::current()->Quit(); base 121 net/tools/get_server_time/get_server_time.cc scoped_ptr<base::Value> params(entry.ParametersToValue()); base 124 net/tools/get_server_time/get_server_time.cc base::JSONWriter::Write(params.get(), ¶ms_str); base 159 net/tools/get_server_time/get_server_time.cc const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner) base 167 net/tools/get_server_time/get_server_time.cc virtual scoped_refptr<base::SingleThreadTaskRunner> base 176 net/tools/get_server_time/get_server_time.cc const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 184 net/tools/get_server_time/get_server_time.cc void EstimateServerTimeNow(base::Time server_time, base 185 net/tools/get_server_time/get_server_time.cc base::TimeTicks start_ticks, base 186 net/tools/get_server_time/get_server_time.cc base::TimeTicks end_ticks, base 187 net/tools/get_server_time/get_server_time.cc base::Time* server_now, base 188 net/tools/get_server_time/get_server_time.cc base::TimeDelta* server_now_uncertainty) { base 189 net/tools/get_server_time/get_server_time.cc const base::TimeDelta delta_ticks = end_ticks - start_ticks; base 190 net/tools/get_server_time/get_server_time.cc const base::TimeTicks mid_ticks = start_ticks + delta_ticks / 2; base 191 net/tools/get_server_time/get_server_time.cc const base::TimeDelta estimated_elapsed = base::TimeTicks::Now() - mid_ticks; base 196 net/tools/get_server_time/get_server_time.cc base::TimeDelta::FromMilliseconds(kServerTimeResolutionMs) + base 197 net/tools/get_server_time/get_server_time.cc delta_ticks + 3 * base::TimeDelta::FromMilliseconds(kTicksResolutionMs); base 205 net/tools/get_server_time/get_server_time.cc void EstimateSkew(base::Time server_now, base 206 net/tools/get_server_time/get_server_time.cc base::TimeDelta server_now_uncertainty, base 207 net/tools/get_server_time/get_server_time.cc base::Time now, base 208 net/tools/get_server_time/get_server_time.cc base::TimeDelta now_uncertainty, base 209 net/tools/get_server_time/get_server_time.cc base::TimeDelta* skew, base 210 net/tools/get_server_time/get_server_time.cc base::TimeDelta* skew_uncertainty) { base 219 net/tools/get_server_time/get_server_time.cc base::mac::ScopedNSAutoreleasePool pool; base 222 net/tools/get_server_time/get_server_time.cc base::AtExitManager exit_manager; base 239 net/tools/get_server_time/get_server_time.cc base::MessageLoopForIO main_loop; base 263 net/tools/get_server_time/get_server_time.cc const base::Time start_time = base::Time::Now(); base 264 net/tools/get_server_time/get_server_time.cc const base::TimeTicks start_ticks = base::TimeTicks::Now(); base 269 net/tools/get_server_time/get_server_time.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime(start_time)).c_str(), base 275 net/tools/get_server_time/get_server_time.cc const base::Time end_time = base::Time::Now(); base 276 net/tools/get_server_time/get_server_time.cc const base::TimeTicks end_ticks = base::TimeTicks::Now(); base 280 net/tools/get_server_time/get_server_time.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime(end_time)).c_str(), base 285 net/tools/get_server_time/get_server_time.cc const base::TimeDelta delta_ticks = end_ticks - start_ticks; base 311 net/tools/get_server_time/get_server_time.cc base::Time server_time; base 319 net/tools/get_server_time/get_server_time.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime(server_time)).c_str()); base 321 net/tools/get_server_time/get_server_time.cc base::Time server_now; base 322 net/tools/get_server_time/get_server_time.cc base::TimeDelta server_now_uncertainty; base 325 net/tools/get_server_time/get_server_time.cc base::Time now = base::Time::Now(); base 329 net/tools/get_server_time/get_server_time.cc UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime(server_now)).c_str(), base 332 net/tools/get_server_time/get_server_time.cc base::TimeDelta skew; base 333 net/tools/get_server_time/get_server_time.cc base::TimeDelta skew_uncertainty; base 335 net/tools/get_server_time/get_server_time.cc base::TimeDelta::FromMilliseconds(kTimeResolutionMs), base 59 net/tools/net_watcher/net_watcher.cc scoped_ptr<base::Value> config_value(config.ToValue()); base 61 net/tools/net_watcher/net_watcher.cc base::JSONWriter::Write(config_value.get(), &str); base 132 net/tools/net_watcher/net_watcher.cc base::mac::ScopedNSAutoreleasePool pool; base 144 net/tools/net_watcher/net_watcher.cc base::AtExitManager exit_manager; base 151 net/tools/net_watcher/net_watcher.cc base::MessageLoopForIO network_loop; base 46 net/tools/quic/end_to_end_test.cc using base::StringPiece; base 47 net/tools/quic/end_to_end_test.cc using base::WaitableEvent; base 88 net/tools/quic/quic_client.h base::CommandLine::StringVector& args); base 59 net/tools/quic/quic_client_bin.cc if (base::StringToInt(line->GetSwitchValueASCII("port"), &port)) { base 77 net/tools/quic/quic_client_bin.cc base::AtExitManager exit_manager; base 24 net/tools/quic/quic_dispatcher.cc using base::StringPiece; base 318 net/tools/quic/quic_dispatcher.cc LOG(DFATAL) << base::debug::StackTrace().ToString(); base 96 net/tools/quic/quic_dispatcher.h typedef base::hash_map<QuicConnectionId, QuicSession*> SessionMap; base 25 net/tools/quic/quic_dispatcher_test.cc using base::StringPiece; base 44 net/tools/quic/quic_epoll_clock_test.cc base::Time start = base::Time::Now(); base 46 net/tools/quic/quic_epoll_clock_test.cc base::Time end = base::Time::Now(); base 13 net/tools/quic/quic_in_memory_cache.cc using base::FilePath; base 14 net/tools/quic/quic_in_memory_cache.cc using base::StringPiece; base 94 net/tools/quic/quic_in_memory_cache.cc base::IntToString(body.length())); base 144 net/tools/quic/quic_in_memory_cache.cc base::FileEnumerator file_list(directory, base 146 net/tools/quic/quic_in_memory_cache.cc base::FileEnumerator::FILES); base 159 net/tools/quic/quic_in_memory_cache.cc base::ReadFileToString(file, &file_contents); base 189 net/tools/quic/quic_in_memory_cache.cc StringPiece base = file.value(); base 191 net/tools/quic/quic_in_memory_cache.cc base = response_headers.GetHeader("X-Original-Url"); base 195 net/tools/quic/quic_in_memory_cache.cc if (StringPieceUtils::StartsWithIgnoreCase(base, "https://")) { base 196 net/tools/quic/quic_in_memory_cache.cc base.remove_prefix(8); base 197 net/tools/quic/quic_in_memory_cache.cc } else if (StringPieceUtils::StartsWithIgnoreCase(base, "http://")) { base 198 net/tools/quic/quic_in_memory_cache.cc base.remove_prefix(7); base 201 net/tools/quic/quic_in_memory_cache.cc int path_start = base.find_first_of('/'); base 203 net/tools/quic/quic_in_memory_cache.cc StringPiece host(base.substr(0, path_start)); base 204 net/tools/quic/quic_in_memory_cache.cc StringPiece path(base.substr(path_start)); base 49 net/tools/quic/quic_in_memory_cache.h const base::StringPiece body() const { return base::StringPiece(body_); } base 57 net/tools/quic/quic_in_memory_cache.h void set_body(base::StringPiece body) { base 78 net/tools/quic/quic_in_memory_cache.h void AddSimpleResponse(base::StringPiece method, base 79 net/tools/quic/quic_in_memory_cache.h base::StringPiece path, base 80 net/tools/quic/quic_in_memory_cache.h base::StringPiece version, base 81 net/tools/quic/quic_in_memory_cache.h base::StringPiece response_code, base 82 net/tools/quic/quic_in_memory_cache.h base::StringPiece response_detail, base 83 net/tools/quic/quic_in_memory_cache.h base::StringPiece body); base 88 net/tools/quic/quic_in_memory_cache.h base::StringPiece response_body); base 91 net/tools/quic/quic_in_memory_cache.h void AddSpecialResponse(base::StringPiece method, base 92 net/tools/quic/quic_in_memory_cache.h base::StringPiece path, base 93 net/tools/quic/quic_in_memory_cache.h base::StringPiece version, base 97 net/tools/quic/quic_in_memory_cache.h typedef base::hash_map<std::string, Response*> ResponseMap; base 17 net/tools/quic/quic_in_memory_cache_test.cc using base::IntToString; base 18 net/tools/quic/quic_in_memory_cache_test.cc using base::StringPiece; base 27 net/tools/quic/quic_in_memory_cache_test.cc base::FilePath path; base 28 net/tools/quic/quic_in_memory_cache_test.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 61 net/tools/quic/quic_in_memory_cache_test.cc base::IntToString(body.length())); base 51 net/tools/quic/quic_server_bin.cc if (base::StringToInt(line->GetSwitchValueASCII("port"), &port)) { base 56 net/tools/quic/quic_server_bin.cc base::AtExitManager exit_manager; base 11 net/tools/quic/quic_spdy_client_stream.cc using base::StringPiece; base 49 net/tools/quic/quic_spdy_client_stream.h base::StringPiece body, base 13 net/tools/quic/quic_spdy_server_stream.cc using base::StringPiece; base 52 net/tools/quic/quic_spdy_server_stream.h base::StringPiece body); base 21 net/tools/quic/quic_spdy_server_stream_test.cc using base::StringPiece; base 110 net/tools/quic/quic_spdy_server_stream_test.cc base::IntToString(body.length())); base 22 net/tools/quic/quic_time_wait_list_manager.cc using base::StringPiece; base 19 net/tools/quic/spdy_utils.cc using base::StringPiece; base 200 net/tools/quic/spdy_utils.cc if (!base::StringToInt(cl_it->second, &content_length)) { base 227 net/tools/quic/spdy_utils.cc if (!base::StringToInt(status_str, &status)) { base 13 net/tools/quic/test_tools/http_message.cc using base::StringPiece; base 61 net/tools/quic/test_tools/http_message.cc if (!base::StringToInt(content_length, &parsed_content_length)) { base 144 net/tools/quic/test_tools/http_message.cc ReplaceHeader(kContentLength, base::IntToString(body.size())); base 52 net/tools/quic/test_tools/http_message.h static Version StringToVersion(base::StringPiece str); base 53 net/tools/quic/test_tools/http_message.h static Method StringToMethod(base::StringPiece str); base 50 net/tools/quic/test_tools/mock_epoll_server.h typedef base::hash_multimap<int64, struct epoll_event> EventQueue; base 79 net/tools/quic/test_tools/mock_epoll_server.h base::hash_set<AlarmCB*>::size_type NumberOfAlarms() const { base 59 net/tools/quic/test_tools/packet_dropping_test_writer.cc uint32 seed = base::RandInt(0, std::numeric_limits<int32>::max()); base 84 net/tools/quic/test_tools/packet_dropping_test_writer.cc base::AutoLock locked(config_mutex_); base 155 net/tools/quic/test_tools/packet_dropping_test_writer.cc base::AutoLock locked(config_mutex_); base 65 net/tools/quic/test_tools/packet_dropping_test_writer.h base::AutoLock locked(config_mutex_); base 74 net/tools/quic/test_tools/packet_dropping_test_writer.h base::AutoLock locked(config_mutex_); base 81 net/tools/quic/test_tools/packet_dropping_test_writer.h base::AutoLock locked(config_mutex_); base 90 net/tools/quic/test_tools/packet_dropping_test_writer.h base::AutoLock locked(config_mutex_); base 101 net/tools/quic/test_tools/packet_dropping_test_writer.h base::AutoLock locked(config_mutex_); base 142 net/tools/quic/test_tools/packet_dropping_test_writer.h base::Lock config_mutex_; base 24 net/tools/quic/test_tools/quic_test_client.cc using base::StringPiece; base 409 net/tools/quic/test_tools/quic_test_client.cc int64 timeout_us = timeout_ms * base::Time::kMicrosecondsPerMillisecond; base 430 net/tools/quic/test_tools/quic_test_client.cc int64 timeout_us = timeout_ms * base::Time::kMicrosecondsPerMillisecond; base 13 net/tools/quic/test_tools/quic_test_utils.cc using base::StringPiece; base 75 net/tools/quic/test_tools/quic_test_utils.cc unsigned char hash[base::kSHA1Length]; base 76 net/tools/quic/test_tools/quic_test_utils.cc base::SHA1HashBytes(reinterpret_cast<unsigned char*>(&seed_), sizeof(seed_), base 8 net/tools/quic/test_tools/run_all_unittests.cc base::TestSuite test_suite(argc, argv); base 18 net/tools/quic/test_tools/server_thread.h class ServerThread : public base::SimpleThread { base 61 net/tools/quic/test_tools/server_thread.h base::WaitableEvent confirmed_; // Notified when the first handshake is base 63 net/tools/quic/test_tools/server_thread.h base::WaitableEvent pause_; // Notified when the server should pause. base 64 net/tools/quic/test_tools/server_thread.h base::WaitableEvent paused_; // Notitied when the server has paused base 65 net/tools/quic/test_tools/server_thread.h base::WaitableEvent resume_; // Notified when the server should resume. base 66 net/tools/quic/test_tools/server_thread.h base::WaitableEvent quit_; // Notified when the server should quit. base 70 net/tools/quic/test_tools/server_thread.h base::Lock port_lock_; base 24 net/tools/testserver/run_testserver.cc base::AtExitManager at_exit_manager; base 25 net/tools/testserver/run_testserver.cc base::MessageLoopForIO message_loop; base 91 net/tools/testserver/run_testserver.cc base::FilePath doc_root = command_line->GetSwitchValuePath("doc-root"); base 114 net/tools/testserver/run_testserver.cc if (!base::DirectoryExists(test_server->document_root())) { base 116 net/tools/testserver/run_testserver.cc base::UTF16ToUTF8( base 38 net/tools/tld_cleanup/tld_cleanup.cc base::EnableTerminationOnHeapCorruption(); base 46 net/tools/tld_cleanup/tld_cleanup.cc base::AtExitManager exit_manager; base 58 net/tools/tld_cleanup/tld_cleanup.cc base::FilePath log_filename; base 59 net/tools/tld_cleanup/tld_cleanup.cc PathService::Get(base::DIR_EXE, &log_filename); base 67 net/tools/tld_cleanup/tld_cleanup.cc base::i18n::InitializeICU(); base 69 net/tools/tld_cleanup/tld_cleanup.cc base::FilePath input_file; base 70 net/tools/tld_cleanup/tld_cleanup.cc PathService::Get(base::DIR_SOURCE_ROOT, &input_file); base 76 net/tools/tld_cleanup/tld_cleanup.cc base::FilePath output_file; base 77 net/tools/tld_cleanup/tld_cleanup.cc PathService::Get(base::DIR_SOURCE_ROOT, &output_file); base 30 net/tools/tld_cleanup/tld_cleanup_util.cc bool WriteRules(const RuleMap& rules, const base::FilePath& outfile) { base 58 net/tools/tld_cleanup/tld_cleanup_util.cc data.append(base::IntToString(type)); base 64 net/tools/tld_cleanup/tld_cleanup_util.cc int written = base::WriteFile(outfile, base 233 net/tools/tld_cleanup/tld_cleanup_util.cc NormalizeResult NormalizeFile(const base::FilePath& in_filename, base 234 net/tools/tld_cleanup/tld_cleanup_util.cc const base::FilePath& out_filename) { base 237 net/tools/tld_cleanup/tld_cleanup_util.cc if (!base::ReadFileToString(in_filename, &data)) { base 11 net/tools/tld_cleanup/tld_cleanup_util.h namespace base { base 37 net/tools/tld_cleanup/tld_cleanup_util.h NormalizeResult NormalizeFile(const base::FilePath& in_filename, base 38 net/tools/tld_cleanup/tld_cleanup_util.h const base::FilePath& out_filename); base 16 net/udp/udp_net_log_parameters.cc base::Value* NetLogUDPDataTranferCallback(int byte_count, base 20 net/udp/udp_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 23 net/udp/udp_net_log_parameters.cc dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); base 29 net/udp/udp_net_log_parameters.cc base::Value* NetLogUDPConnectCallback(const IPEndPoint* address, base 31 net/udp/udp_net_log_parameters.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 43 net/udp/udp_net_log_parameters.cc return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address); base 49 net/udp/udp_net_log_parameters.cc return base::Bind(&NetLogUDPConnectCallback, address); base 182 net/udp/udp_socket_libevent.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 183 net/udp/udp_socket_libevent.cc socket_, true, base::MessageLoopForIO::WATCH_READ, base 225 net/udp/udp_socket_libevent.cc if (!base::MessageLoopForIO::current()->WatchFileDescriptor( base 226 net/udp/udp_socket_libevent.cc socket_, true, base::MessageLoopForIO::WATCH_WRITE, base 415 net/udp/udp_socket_libevent.cc base::StatsCounter read_bytes("udp.read_bytes"); base 459 net/udp/udp_socket_libevent.cc base::StatsCounter write_bytes("udp.write_bytes"); base 773 net/udp/udp_socket_libevent.cc base::NonThreadSafe::DetachFromThread(); base 23 net/udp/udp_socket_libevent.h class NET_EXPORT UDPSocketLibevent : public base::NonThreadSafe { base 176 net/udp/udp_socket_libevent.h class ReadWatcher : public base::MessageLoopForIO::Watcher { base 192 net/udp/udp_socket_libevent.h class WriteWatcher : public base::MessageLoopForIO::Watcher { base 270 net/udp/udp_socket_libevent.h base::MessageLoopForIO::FileDescriptorWatcher read_socket_watcher_; base 271 net/udp/udp_socket_libevent.h base::MessageLoopForIO::FileDescriptorWatcher write_socket_watcher_; base 321 net/udp/udp_socket_unittest.cc base::Bind(&TestPrng::GetNext, base::Unretained(&test_prng)); base 351 net/udp/udp_socket_unittest.cc base::Bind(&PrivilegedRand), base 41 net/udp/udp_socket_win.cc class UDPSocketWin::Core : public base::RefCounted<Core> { base 66 net/udp/udp_socket_win.cc class ReadDelegate : public base::win::ObjectWatcher::Delegate { base 78 net/udp/udp_socket_win.cc class WriteDelegate : public base::win::ObjectWatcher::Delegate { base 101 net/udp/udp_socket_win.cc base::win::ObjectWatcher read_watcher_; base 103 net/udp/udp_socket_win.cc base::win::ObjectWatcher write_watcher_; base 198 net/udp/udp_socket_win.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 201 net/udp/udp_socket_win.cc base::TimeTicks::Now() - start_time); base 502 net/udp/udp_socket_win.cc base::StatsCounter read_bytes("udp.read_bytes"); base 533 net/udp/udp_socket_win.cc base::StatsCounter write_bytes("udp.write_bytes"); base 841 net/udp/udp_socket_win.cc base::NonThreadSafe::DetachFromThread(); base 24 net/udp/udp_socket_win.h class NET_EXPORT UDPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe) { base 19 net/url_request/file_protocol_handler.cc const scoped_refptr<base::TaskRunner>& file_task_runner) base 26 net/url_request/file_protocol_handler.cc base::FilePath file_path; base 15 net/url_request/file_protocol_handler.h namespace base { base 30 net/url_request/file_protocol_handler.h const scoped_refptr<base::TaskRunner>& file_task_runner); base 37 net/url_request/file_protocol_handler.h const scoped_refptr<base::TaskRunner> file_task_runner_; base 65 net/url_request/test_url_fetcher_factory.cc const base::FilePath& file_path, base 68 net/url_request/test_url_fetcher_factory.cc scoped_refptr<base::TaskRunner> file_task_runner) { base 136 net/url_request/test_url_fetcher_factory.cc base::TimeDelta TestURLFetcher::GetBackoffDelay() const { base 144 net/url_request/test_url_fetcher_factory.cc const base::FilePath& file_path, base 145 net/url_request/test_url_fetcher_factory.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner) { base 149 net/url_request/test_url_fetcher_factory.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner) { base 224 net/url_request/test_url_fetcher_factory.cc bool take_ownership, base::FilePath* out_response_path) const { base 250 net/url_request/test_url_fetcher_factory.cc void TestURLFetcher::set_backoff_delay(base::TimeDelta backoff_delay) { base 263 net/url_request/test_url_fetcher_factory.cc void TestURLFetcher::SetResponseFilePath(const base::FilePath& path) { base 335 net/url_request/test_url_fetcher_factory.cc base::MessageLoop::current()->PostTask( base 337 net/url_request/test_url_fetcher_factory.cc base::Bind(&FakeURLFetcher::RunDelegate, weak_factory_.GetWeakPtr())); base 351 net/url_request/test_url_fetcher_factory.cc creator_(base::Bind(&DefaultFakeURLFetcherCreator)), base 30 net/url_request/test_url_fetcher_factory.h class ScopedURLFetcherFactory : public base::NonThreadSafe { base 94 net/url_request/test_url_fetcher_factory.h const base::FilePath& file_path, base 97 net/url_request/test_url_fetcher_factory.h scoped_refptr<base::TaskRunner> file_task_runner) OVERRIDE; base 123 net/url_request/test_url_fetcher_factory.h virtual base::TimeDelta GetBackoffDelay() const OVERRIDE; base 126 net/url_request/test_url_fetcher_factory.h const base::FilePath& file_path, base 127 net/url_request/test_url_fetcher_factory.h scoped_refptr<base::SequencedTaskRunner> file_task_runner) OVERRIDE; base 129 net/url_request/test_url_fetcher_factory.h scoped_refptr<base::SequencedTaskRunner> file_task_runner) OVERRIDE; base 150 net/url_request/test_url_fetcher_factory.h bool take_ownership, base::FilePath* out_response_path) const OVERRIDE; base 164 net/url_request/test_url_fetcher_factory.h const base::FilePath& upload_file_path() const { return upload_file_path_; } base 183 net/url_request/test_url_fetcher_factory.h void set_backoff_delay(base::TimeDelta backoff_delay); base 190 net/url_request/test_url_fetcher_factory.h void SetResponseFilePath(const base::FilePath& path); base 204 net/url_request/test_url_fetcher_factory.h base::FilePath upload_file_path_; base 219 net/url_request/test_url_fetcher_factory.h base::FilePath fake_response_file_path_; base 224 net/url_request/test_url_fetcher_factory.h base::TimeDelta fake_backoff_delay_; base 309 net/url_request/test_url_fetcher_factory.h base::WeakPtrFactory<FakeURLFetcher> weak_factory_; base 372 net/url_request/test_url_fetcher_factory.h typedef base::Callback<scoped_ptr<FakeURLFetcher>( base 20 net/url_request/url_fetcher.h namespace base { base 90 net/url_request/url_fetcher.h typedef base::Callback<base::SupportsUserData::Data*()> CreateDataCallback; base 147 net/url_request/url_fetcher.h const base::FilePath& file_path, base 150 net/url_request/url_fetcher.h scoped_refptr<base::TaskRunner> file_task_runner) = 0; base 223 net/url_request/url_fetcher.h virtual base::TimeDelta GetBackoffDelay() const = 0; base 237 net/url_request/url_fetcher.h const base::FilePath& file_path, base 238 net/url_request/url_fetcher.h scoped_refptr<base::SequencedTaskRunner> file_task_runner) = 0; base 246 net/url_request/url_fetcher.h scoped_refptr<base::SequencedTaskRunner> file_task_runner) = 0; base 301 net/url_request/url_fetcher.h base::FilePath* out_response_path) const = 0; base 65 net/url_request/url_fetcher_core.cc base::LazyInstance<URLFetcherCore::Registry> base 76 net/url_request/url_fetcher_core.cc delegate_task_runner_(base::ThreadTaskRunnerHandle::Get()), base 114 net/url_request/url_fetcher_core.cc FROM_HERE, base::Bind(&URLFetcherCore::StartOnIOThread, this)); base 130 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::CancelURLRequest, this, ERR_ABORTED)); base 152 net/url_request/url_fetcher_core.cc const base::FilePath& file_path, base 155 net/url_request/url_fetcher_core.cc scoped_refptr<base::TaskRunner> file_task_runner) { base 193 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::CompleteAddingUploadDataChunk, this, content, base 262 net/url_request/url_fetcher_core.cc base::TimeDelta URLFetcherCore::GetBackoffDelay() const { base 271 net/url_request/url_fetcher_core.cc const base::FilePath& file_path, base 272 net/url_request/url_fetcher_core.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner) { base 279 net/url_request/url_fetcher_core.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner) { base 282 net/url_request/url_fetcher_core.cc new URLFetcherFileWriter(file_task_runner, base::FilePath()))); base 330 net/url_request/url_fetcher_core.cc FROM_HERE, base::Bind(&URLFetcherCore::NotifyMalformedContent, this)); base 348 net/url_request/url_fetcher_core.cc base::FilePath* out_response_path) { base 455 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::DidFinishWriting, this)); base 490 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::DidInitializeWriter, this)); base 556 net/url_request/url_fetcher_core.cc base::Time())); base 565 net/url_request/url_fetcher_core.cc new base::RepeatingTimer<URLFetcherCore>()); base 568 net/url_request/url_fetcher_core.cc base::TimeDelta::FromMilliseconds(kUploadProgressTimerInterval), base 596 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::InformDelegateFetchIsComplete, this)); base 627 net/url_request/url_fetcher_core.cc base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( base 628 net/url_request/url_fetcher_core.cc FROM_HERE, base::Bind(&URLFetcherCore::StartURLRequest, this), base 629 net/url_request/url_fetcher_core.cc base::TimeDelta::FromMilliseconds(delay)); base 662 net/url_request/url_fetcher_core.cc base::TimeDelta backoff_delay) { base 699 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::InformDelegateFetchIsComplete, this)); base 708 net/url_request/url_fetcher_core.cc base::TimeDelta backoff_delay; base 722 net/url_request/url_fetcher_core.cc base::TimeTicks backoff_release_time = GetBackoffReleaseTime(); base 723 net/url_request/url_fetcher_core.cc backoff_delay = backoff_release_time - base::TimeTicks::Now(); base 724 net/url_request/url_fetcher_core.cc if (backoff_delay < base::TimeDelta()) base 725 net/url_request/url_fetcher_core.cc backoff_delay = base::TimeDelta(); base 733 net/url_request/url_fetcher_core.cc backoff_delay = base::TimeDelta(); base 744 net/url_request/url_fetcher_core.cc FROM_HERE, base::Bind(&URLFetcherCore::StartOnIOThread, this)); base 754 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::OnCompletedURLRequest, this, backoff_delay)); base 767 net/url_request/url_fetcher_core.cc base::TimeTicks URLFetcherCore::GetBackoffReleaseTime() { base 771 net/url_request/url_fetcher_core.cc base::TimeTicks original_url_backoff = base 773 net/url_request/url_fetcher_core.cc base::TimeTicks destination_url_backoff; base 783 net/url_request/url_fetcher_core.cc return base::TimeTicks(); base 807 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::DidWriteBuffer, this, data)); base 822 net/url_request/url_fetcher_core.cc response_writer_->Finish(base::Bind(&EmptyCompletionCallback)); base 825 net/url_request/url_fetcher_core.cc base::Bind(&URLFetcherCore::InformDelegateFetchIsComplete, this)); base 869 net/url_request/url_fetcher_core.cc base::Bind( base 887 net/url_request/url_fetcher_core.cc base::Bind( base 26 net/url_request/url_fetcher_core.h namespace base { base 40 net/url_request/url_fetcher_core.h : public base::RefCountedThreadSafe<URLFetcherCore>, base 67 net/url_request/url_fetcher_core.h const base::FilePath& file_path, base 70 net/url_request/url_fetcher_core.h scoped_refptr<base::TaskRunner> file_task_runner); base 96 net/url_request/url_fetcher_core.h base::TimeDelta GetBackoffDelay() const; base 99 net/url_request/url_fetcher_core.h const base::FilePath& file_path, base 100 net/url_request/url_fetcher_core.h scoped_refptr<base::SequencedTaskRunner> file_task_runner); base 102 net/url_request/url_fetcher_core.h scoped_refptr<base::SequencedTaskRunner> file_task_runner); base 122 net/url_request/url_fetcher_core.h base::FilePath* out_response_path); base 142 net/url_request/url_fetcher_core.h friend class base::RefCountedThreadSafe<URLFetcherCore>; base 173 net/url_request/url_fetcher_core.h void OnCompletedURLRequest(base::TimeDelta backoff_delay); base 185 net/url_request/url_fetcher_core.h base::TimeTicks GetBackoffReleaseTime(); base 215 net/url_request/url_fetcher_core.h scoped_refptr<base::SingleThreadTaskRunner> delegate_task_runner_; base 217 net/url_request/url_fetcher_core.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 219 net/url_request/url_fetcher_core.h scoped_refptr<base::TaskRunner> upload_file_task_runner_; base 239 net/url_request/url_fetcher_core.h base::FilePath upload_file_path_; // Path to file containing POST payload base 296 net/url_request/url_fetcher_core.h base::TimeDelta backoff_delay_; base 306 net/url_request/url_fetcher_core.h scoped_ptr<base::RepeatingTimer<URLFetcherCore> > base 316 net/url_request/url_fetcher_core.h base::debug::StackTrace stack_trace_; base 318 net/url_request/url_fetcher_core.h static base::LazyInstance<Registry> g_registry; base 35 net/url_request/url_fetcher_impl.cc const base::FilePath& file_path, base 38 net/url_request/url_fetcher_impl.cc scoped_refptr<base::TaskRunner> file_task_runner) { base 115 net/url_request/url_fetcher_impl.cc base::TimeDelta URLFetcherImpl::GetBackoffDelay() const { base 124 net/url_request/url_fetcher_impl.cc const base::FilePath& file_path, base 125 net/url_request/url_fetcher_impl.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner) { base 130 net/url_request/url_fetcher_impl.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner) { base 186 net/url_request/url_fetcher_impl.cc base::FilePath* out_response_path) const { base 42 net/url_request/url_fetcher_impl.h const base::FilePath& file_path, base 45 net/url_request/url_fetcher_impl.h scoped_refptr<base::TaskRunner> file_task_runner) OVERRIDE; base 69 net/url_request/url_fetcher_impl.h virtual base::TimeDelta GetBackoffDelay() const OVERRIDE; base 72 net/url_request/url_fetcher_impl.h const base::FilePath& file_path, base 73 net/url_request/url_fetcher_impl.h scoped_refptr<base::SequencedTaskRunner> file_task_runner) OVERRIDE; base 75 net/url_request/url_fetcher_impl.h scoped_refptr<base::SequencedTaskRunner> file_task_runner) OVERRIDE; base 92 net/url_request/url_fetcher_impl.h base::FilePath* out_response_path) const OVERRIDE; base 35 net/url_request/url_fetcher_impl_unittest.cc using base::Time; base 36 net/url_request/url_fetcher_impl_unittest.cc using base::TimeDelta; base 43 net/url_request/url_fetcher_impl_unittest.cc const base::FilePath::CharType kDocRoot[] = base 63 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoopProxy* io_message_loop_proxy, base 103 net/url_request/url_fetcher_impl_unittest.cc scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy() { base 117 net/url_request/url_fetcher_impl_unittest.cc io_message_loop_proxy_ = base::MessageLoopProxy::current(); base 135 net/url_request/url_fetcher_impl_unittest.cc scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 185 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::QuitClosure()); base 202 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot))); base 209 net/url_request/url_fetcher_impl_unittest.cc base::StringPrintf("http://example.com:%d/defaultresponse", base 222 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::QuitClosure()); base 258 net/url_request/url_fetcher_impl_unittest.cc base::FilePath path_; base 398 net/url_request/url_fetcher_impl_unittest.cc base::FilePath cert_dir_; base 424 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 425 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::QuitClosure()); base 433 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoopProxy* io_message_loop_proxy, base 468 net/url_request/url_fetcher_impl_unittest.cc virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() const { base 481 net/url_request/url_fetcher_impl_unittest.cc scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; base 482 net/url_request/url_fetcher_impl_unittest.cc base::WaitableEvent context_created_; base 500 net/url_request/url_fetcher_impl_unittest.cc void CreateFetcherForFile(const GURL& url, const base::FilePath& file_path); base 507 net/url_request/url_fetcher_impl_unittest.cc base::FilePath expected_file_; base 508 net/url_request/url_fetcher_impl_unittest.cc base::FilePath file_path_; base 537 net/url_request/url_fetcher_impl_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path_); base 552 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoopProxy::current()); base 558 net/url_request/url_fetcher_impl_unittest.cc ASSERT_TRUE(base::ReadFileToString(path_, &expected)); base 777 net/url_request/url_fetcher_impl_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &cert_dir_); base 848 net/url_request/url_fetcher_impl_unittest.cc const base::FilePath& file_path) { base 877 net/url_request/url_fetcher_impl_unittest.cc EXPECT_TRUE(base::ContentsEqual(expected_file_, file_path_)); base 888 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 896 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 902 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 910 net/url_request/url_fetcher_impl_unittest.cc base::Thread t("URLFetcher test thread"); base 914 net/url_request/url_fetcher_impl_unittest.cc base::Bind(&URLFetcherTest::CreateFetcher, base 915 net/url_request/url_fetcher_impl_unittest.cc base::Unretained(this), base 918 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 931 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 937 net/url_request/url_fetcher_impl_unittest.cc FROM_HERE, base::Bind(&CancelAllOnIO), base::MessageLoop::QuitClosure()); base 938 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 951 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 960 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 978 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 989 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1000 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1018 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1029 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1039 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1054 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1058 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1064 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1068 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1074 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1080 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1086 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1090 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1096 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1100 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1106 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1121 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1127 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1136 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1143 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/url_request_unittest"))); base 1147 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1155 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/url_request_unittest"))); base 1161 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1168 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1173 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1180 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1201 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1207 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1230 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1236 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1261 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1269 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1273 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1279 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1289 net/url_request/url_fetcher_impl_unittest.cc base::Thread t("URLFetcher test thread"); base 1293 net/url_request/url_fetcher_impl_unittest.cc base::Bind(&URLFetcherCancelTest::CreateFetcher, base 1294 net/url_request/url_fetcher_impl_unittest.cc base::Unretained(this), url)); base 1296 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1302 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1322 net/url_request/url_fetcher_impl_unittest.cc entry->ReserveSendingTimeForNextRequest(base::TimeTicks()); base 1328 net/url_request/url_fetcher_impl_unittest.cc base::Thread t("URLFetcher test thread"); base 1332 net/url_request/url_fetcher_impl_unittest.cc base::Bind(&URLFetcherTest::CreateFetcher, base::Unretained(this), url)); base 1334 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1340 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1348 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); base 1354 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1357 net/url_request/url_fetcher_impl_unittest.cc base::ScopedTempDir temp_dir; base 1367 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). base 1369 net/url_request/url_fetcher_impl_unittest.cc ASSERT_FALSE(base::PathExists(file_path_)) base 1376 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1379 net/url_request/url_fetcher_impl_unittest.cc base::ScopedTempDir temp_dir; base 1390 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). base 1401 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1404 net/url_request/url_fetcher_impl_unittest.cc base::ScopedTempDir temp_dir; base 1414 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). base 1416 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1417 net/url_request/url_fetcher_impl_unittest.cc ASSERT_EQ(kTake[i], base::PathExists(file_path_)) << base 1425 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1428 net/url_request/url_fetcher_impl_unittest.cc base::ScopedTempDir temp_dir; base 1436 net/url_request/url_fetcher_impl_unittest.cc base::WriteFile(file_path_, data.data(), data.size())); base 1437 net/url_request/url_fetcher_impl_unittest.cc ASSERT_TRUE(base::PathExists(file_path_)); base 1439 net/url_request/url_fetcher_impl_unittest.cc ASSERT_FALSE(base::ContentsEqual(file_path_, expected_file_)); base 1446 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). base 1452 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1455 net/url_request/url_fetcher_impl_unittest.cc base::ScopedTempDir temp_dir; base 1461 net/url_request/url_fetcher_impl_unittest.cc ASSERT_TRUE(base::CreateDirectory(file_path_)); base 1462 net/url_request/url_fetcher_impl_unittest.cc ASSERT_TRUE(base::PathExists(file_path_)); base 1471 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). base 1473 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1479 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1488 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). base 1490 net/url_request/url_fetcher_impl_unittest.cc ASSERT_FALSE(base::PathExists(file_path_)) base 1497 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1507 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). base 1519 net/url_request/url_fetcher_impl_unittest.cc base::FilePath(kDocRoot)); base 1528 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). base 1530 net/url_request/url_fetcher_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1531 net/url_request/url_fetcher_impl_unittest.cc ASSERT_EQ(kTake[i], base::PathExists(file_path_)) << base 53 net/url_request/url_fetcher_response_writer.cc scoped_refptr<base::SequencedTaskRunner> file_task_runner, base 54 net/url_request/url_fetcher_response_writer.cc const base::FilePath& file_path) base 71 net/url_request/url_fetcher_response_writer.cc base::FilePath* temp_file_path = new base::FilePath; base 72 net/url_request/url_fetcher_response_writer.cc base::PostTaskAndReplyWithResult( base 75 net/url_request/url_fetcher_response_writer.cc base::Bind(&base::CreateTemporaryFile, temp_file_path), base 76 net/url_request/url_fetcher_response_writer.cc base::Bind(&URLFetcherFileWriter::DidCreateTempFile, base 79 net/url_request/url_fetcher_response_writer.cc base::Owned(temp_file_path))); base 83 net/url_request/url_fetcher_response_writer.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC | base 84 net/url_request/url_fetcher_response_writer.cc base::File::FLAG_CREATE_ALWAYS, base 85 net/url_request/url_fetcher_response_writer.cc base::Bind(&URLFetcherFileWriter::DidOpenFile, base 100 net/url_request/url_fetcher_response_writer.cc base::Bind(&URLFetcherFileWriter::DidWrite, base 112 net/url_request/url_fetcher_response_writer.cc int result = file_stream_->Close(base::Bind( base 149 net/url_request/url_fetcher_response_writer.cc base::Bind(base::IgnoreResult(&base::DeleteFile), base 155 net/url_request/url_fetcher_response_writer.cc base::FilePath* temp_file_path, base 165 net/url_request/url_fetcher_response_writer.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC | base 166 net/url_request/url_fetcher_response_writer.cc base::File::FLAG_OPEN, base 167 net/url_request/url_fetcher_response_writer.cc base::Bind(&URLFetcherFileWriter::DidOpenFile, base 16 net/url_request/url_fetcher_response_writer.h namespace base { base 85 net/url_request/url_fetcher_response_writer.h scoped_refptr<base::SequencedTaskRunner> file_task_runner, base 86 net/url_request/url_fetcher_response_writer.h const base::FilePath& file_path); base 89 net/url_request/url_fetcher_response_writer.h const base::FilePath& file_path() const { return file_path_; } base 112 net/url_request/url_fetcher_response_writer.h base::FilePath* temp_file_path, base 123 net/url_request/url_fetcher_response_writer.h base::WeakPtrFactory<URLFetcherFileWriter> weak_factory_; base 126 net/url_request/url_fetcher_response_writer.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 130 net/url_request/url_fetcher_response_writer.h base::FilePath file_path_; base 61 net/url_request/url_fetcher_response_writer_unittest.cc base::MessageLoopProxy::current(), file_path_)); base 65 net/url_request/url_fetcher_response_writer_unittest.cc base::ScopedTempDir temp_dir_; base 66 net/url_request/url_fetcher_response_writer_unittest.cc base::FilePath file_path_; base 85 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); base 90 net/url_request/url_fetcher_response_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 91 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_FALSE(base::PathExists(file_path_)); base 107 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); base 123 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); base 141 net/url_request/url_fetcher_response_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 142 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_TRUE(base::PathExists(file_path_)); base 149 net/url_request/url_fetcher_response_writer_unittest.cc base::MessageLoopProxy::current(), base::FilePath())); base 170 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); base 174 net/url_request/url_fetcher_response_writer_unittest.cc const base::FilePath file_path = writer_->file_path(); base 176 net/url_request/url_fetcher_response_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 177 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_FALSE(base::PathExists(file_path)); base 41 net/url_request/url_request.cc using base::Time; base 66 net/url_request/url_request.cc base::LazyInstance<base::Lock>::Leaky base 71 net/url_request/url_request.cc base::AutoLock lock(g_next_url_request_identifier_lock.Get()); base 99 net/url_request/url_request.cc base::TimeTicks block_on_connect = load_timing_info->request_start; base 285 net/url_request/url_request.cc before_request_callback_ = base::Bind(&URLRequest::BeforeRequestComplete, base 286 net/url_request/url_request.cc base::Unretained(this)); base 289 net/url_request/url_request.cc creation_time_ = base::TimeTicks::Now(); base 295 net/url_request/url_request.cc DCHECK(base::MessageLoop::current()) base 388 net/url_request/url_request.cc use_blocked_by_as_load_param_ ? base::UTF8ToUTF16(blocked_by_) : base 389 net/url_request/url_request.cc base::string16()); base 392 net/url_request/url_request.cc base::string16()); base 395 net/url_request/url_request.cc base::Value* URLRequest::GetStateAsValue() const { base 396 net/url_request/url_request.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 400 net/url_request/url_request.cc base::ListValue* list = new base::ListValue(); base 637 net/url_request/url_request.cc response_info_.request_time = base::Time::Now(); base 641 net/url_request/url_request.cc load_timing_info_.request_start = base::TimeTicks::Now(); base 697 net/url_request/url_request.cc base::Bind(&NetLogURLRequestStartCallback, base 723 net/url_request/url_request.cc base::RecordAction( base 724 net/url_request/url_request.cc base::UserMetricsAction("Net.URLRequest_StartJob_InvalidReferrer")); base 949 net/url_request/url_request.cc response_info_.request_time = base::Time::Now(); base 953 net/url_request/url_request.cc load_timing_info_.request_start = base::TimeTicks::Now(); base 1094 net/url_request/url_request.cc base::Bind(&URLRequest::NotifyAuthRequiredComplete, base 1095 net/url_request/url_request.cc base::Unretained(this)), base 1203 net/url_request/url_request.cc base::TimeTicks request_start = load_timing_info_.request_start; base 1204 net/url_request/url_request.cc base::Time request_start_time = load_timing_info_.request_start_time; base 1247 net/url_request/url_request.cc void URLRequest::set_stack_trace(const base::debug::StackTrace& stack_trace) { base 1248 net/url_request/url_request.cc base::debug::StackTrace* stack_trace_copy = base 1249 net/url_request/url_request.cc new base::debug::StackTrace(NULL, 0); base 1254 net/url_request/url_request.cc const base::debug::StackTrace* URLRequest::stack_trace() const { base 38 net/url_request/url_request.h namespace base { base 93 net/url_request/url_request.h class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe), base 94 net/url_request/url_request.h public base::SupportsUserData { base 454 net/url_request/url_request.h base::Value* GetStateAsValue() const; base 491 net/url_request/url_request.h base::TimeTicks creation_time() const { return creation_time_; } base 495 net/url_request/url_request.h const base::Time& request_time() const { base 501 net/url_request/url_request.h const base::Time& response_time() const { base 687 net/url_request/url_request.h void set_stack_trace(const base::debug::StackTrace& stack_trace); base 688 net/url_request/url_request.h const base::debug::StackTrace* stack_trace() const; base 888 net/url_request/url_request.h base::debug::LeakTracker<URLRequest> leak_tracker_; base 908 net/url_request/url_request.h base::TimeTicks creation_time_; base 914 net/url_request/url_request.h scoped_ptr<const base::debug::StackTrace> stack_trace_; base 26 net/url_request/url_request_about_job.cc base::MessageLoop::current()->PostTask( base 28 net/url_request/url_request_about_job.cc base::Bind(&URLRequestAboutJob::StartAsync, weak_factory_.GetWeakPtr())); base 29 net/url_request/url_request_about_job.h base::WeakPtrFactory<URLRequestAboutJob> weak_factory_; base 93 net/url_request/url_request_context.cc base::strlcpy(url_buf, request->url().spec().c_str(), arraysize(url_buf)); base 96 net/url_request/url_request_context.cc base::debug::StackTrace stack_trace(NULL, 0); base 99 net/url_request/url_request_context.cc base::debug::Alias(url_buf); base 100 net/url_request/url_request_context.cc base::debug::Alias(&num_requests); base 101 net/url_request/url_request_context.cc base::debug::Alias(&has_delegate); base 102 net/url_request/url_request_context.cc base::debug::Alias(&load_flags); base 103 net/url_request/url_request_context.cc base::debug::Alias(&stack_trace); base 50 net/url_request/url_request_context.h : NON_EXPORTED_BASE(public base::NonThreadSafe) { base 147 net/url_request/url_request_context.h const base::WeakPtr<HttpServerProperties>& http_server_properties) { base 150 net/url_request/url_request_context.h base::WeakPtr<HttpServerProperties> http_server_properties() const { base 222 net/url_request/url_request_context.h base::WeakPtr<HttpServerProperties> http_server_properties_; base 85 net/url_request/url_request_context_builder.cc const base::string16& error) OVERRIDE {} base 107 net/url_request/url_request_context_builder.cc const base::FilePath& path) const OVERRIDE { base 137 net/url_request/url_request_context_builder.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 140 net/url_request/url_request_context_builder.cc scoped_refptr<base::MessageLoopProxy> cache_message_loop_proxy() { base 147 net/url_request/url_request_context_builder.cc base::Thread::Options(base::MessageLoop::TYPE_DEFAULT, 0)); base 150 net/url_request/url_request_context_builder.cc base::MessageLoop* file_message_loop() { base 155 net/url_request/url_request_context_builder.cc scoped_refptr<base::MessageLoopProxy> file_message_loop_proxy() { base 164 net/url_request/url_request_context_builder.cc base::Thread cache_thread_; base 165 net/url_request/url_request_context_builder.cc base::Thread file_thread_; base 233 net/url_request/url_request_context_builder.cc base::ThreadTaskRunnerHandle::Get().get(), base 54 net/url_request/url_request_context_builder.h base::FilePath path; base 29 net/url_request/url_request_context_builder_unittest.cc explicit LocalHttpTestServer(const base::FilePath& document_root) base 36 net/url_request/url_request_context_builder_unittest.cc base::FilePath()) {} base 43 net/url_request/url_request_context_builder_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/url_request_unittest"))) { base 66 net/url_request/url_request_context_builder_unittest.cc base::MessageLoop::current()->Run(); base 82 net/url_request/url_request_context_builder_unittest.cc base::MessageLoop::current()->Run(); base 18 net/url_request/url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner = base 12 net/url_request/url_request_context_getter.h namespace base { base 24 net/url_request/url_request_context_getter.h : public base::RefCountedThreadSafe<URLRequestContextGetter, base 32 net/url_request/url_request_context_getter.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 36 net/url_request/url_request_context_getter.h friend class base::RefCountedThreadSafe<URLRequestContextGetter, base 38 net/url_request/url_request_context_getter.h friend class base::DeleteHelper<URLRequestContextGetter>; base 24 net/url_request/url_request_error_job.cc base::MessageLoop::current()->PostTask( base 26 net/url_request/url_request_error_job.cc base::Bind(&URLRequestErrorJob::StartAsync, weak_factory_.GetWeakPtr())); base 32 net/url_request/url_request_error_job.h base::WeakPtrFactory<URLRequestErrorJob> weak_factory_; base 27 net/url_request/url_request_file_dir_job.cc const base::FilePath& dir_path) base 48 net/url_request/url_request_file_dir_job.cc base::MessageLoop::current()->PostTask( base 50 net/url_request/url_request_file_dir_job.cc base::Bind(&URLRequestFileDirJob::StartAsync, base 104 net/url_request/url_request_file_dir_job.cc const base::string16& title = dir_path_.value(); base 111 net/url_request/url_request_file_dir_job.cc const base::string16& title = base::WideToUTF16( base 112 net/url_request/url_request_file_dir_job.cc base::SysNativeMBToWide(dir_path_.value())); base 122 net/url_request/url_request_file_dir_job.cc base::FilePath filename = data.info.GetName(); base 23 net/url_request/url_request_file_dir_job.h const base::FilePath& dir_path); base 57 net/url_request/url_request_file_dir_job.h base::FilePath dir_path_; base 73 net/url_request/url_request_file_dir_job.h base::WeakPtrFactory<URLRequestFileDirJob> weak_factory_; base 59 net/url_request/url_request_file_job.cc const base::FilePath& file_path, base 60 net/url_request/url_request_file_job.cc const scoped_refptr<base::TaskRunner>& file_task_runner) base 72 net/url_request/url_request_file_job.cc base::Bind(&URLRequestFileJob::FetchMetaInfo, file_path_, base 73 net/url_request/url_request_file_job.cc base::Unretained(meta_info)), base 74 net/url_request/url_request_file_job.cc base::Bind(&URLRequestFileJob::DidFetchMetaInfo, base 76 net/url_request/url_request_file_job.cc base::Owned(meta_info))); base 103 net/url_request/url_request_file_job.cc base::Bind(&URLRequestFileJob::DidRead, base 143 net/url_request/url_request_file_job.cc base::FilePath new_path = file_path_; base 145 net/url_request/url_request_file_job.cc resolved = base::win::ResolveShortcut(new_path, &new_path, NULL); base 198 net/url_request/url_request_file_job.cc void URLRequestFileJob::FetchMetaInfo(const base::FilePath& file_path, base 200 net/url_request/url_request_file_job.cc base::File::Info file_info; base 201 net/url_request/url_request_file_job.cc meta_info->file_exists = base::GetFileInfo(file_path, &file_info); base 232 net/url_request/url_request_file_job.cc int flags = base::File::FLAG_OPEN | base 233 net/url_request/url_request_file_job.cc base::File::FLAG_READ | base 234 net/url_request/url_request_file_job.cc base::File::FLAG_ASYNC; base 236 net/url_request/url_request_file_job.cc base::Bind(&URLRequestFileJob::DidOpen, base 260 net/url_request/url_request_file_job.cc base::Bind(&URLRequestFileJob::DidSeek, base 19 net/url_request/url_request_file_job.h namespace base{ base 35 net/url_request/url_request_file_job.h const base::FilePath& file_path, base 36 net/url_request/url_request_file_job.h const scoped_refptr<base::TaskRunner>& file_task_runner); base 55 net/url_request/url_request_file_job.h base::FilePath file_path_; base 78 net/url_request/url_request_file_job.h static void FetchMetaInfo(const base::FilePath& file_path, base 96 net/url_request/url_request_file_job.h const scoped_refptr<base::TaskRunner> file_task_runner_; base 101 net/url_request/url_request_file_job.h base::WeakPtrFactory<URLRequestFileJob> weak_ptr_factory_; base 43 net/url_request/url_request_filter.h typedef base::hash_map<std::string, URLRequestJobFactory::ProtocolHandler*> base 106 net/url_request/url_request_ftp_job.cc base::Bind(&URLRequestFtpJob::OnResolveProxyComplete, base 107 net/url_request/url_request_ftp_job.cc base::Unretained(this)), base 163 net/url_request/url_request_ftp_job.cc base::Bind(&URLRequestFtpJob::OnStartCompleted, base 164 net/url_request/url_request_ftp_job.cc base::Unretained(this)), base 195 net/url_request/url_request_ftp_job.cc base::Bind(&URLRequestFtpJob::OnStartCompleted, base 196 net/url_request/url_request_ftp_job.cc base::Unretained(this)), base 239 net/url_request/url_request_ftp_job.cc base::MessageLoop::current()->PostTask( base 241 net/url_request/url_request_ftp_job.cc base::Bind(&URLRequestFtpJob::OnStartCompleted, base 269 net/url_request/url_request_ftp_job.cc base::Bind(&URLRequestFtpJob::OnStartCompleted, base 270 net/url_request/url_request_ftp_job.cc base::Unretained(this))); base 274 net/url_request/url_request_ftp_job.cc base::Bind(&URLRequestFtpJob::OnStartCompleted, base 275 net/url_request/url_request_ftp_job.cc base::Unretained(this))); base 356 net/url_request/url_request_ftp_job.cc base::Bind(&URLRequestFtpJob::OnReadCompleted, base 357 net/url_request/url_request_ftp_job.cc base::Unretained(this))); base 360 net/url_request/url_request_ftp_job.cc base::Bind(&URLRequestFtpJob::OnReadCompleted, base 361 net/url_request/url_request_ftp_job.cc base::Unretained(this))); base 97 net/url_request/url_request_ftp_job.h base::WeakPtrFactory<URLRequestFtpJob> weak_factory_; base 26 net/url_request/url_request_ftp_job_unittest.cc using base::ASCIIToUTF16; base 225 net/url_request/url_request_ftp_job_unittest.cc base::RunLoop run_loop; base 584 net/url_request/url_request_ftp_job_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 63 net/url_request/url_request_http_job.cc virtual base::Time GetRequestTime() const OVERRIDE; base 108 net/url_request/url_request_http_job.cc base::Time URLRequestHttpJob::HttpFilterContext::GetRequestTime() const { base 109 net/url_request/url_request_http_job.cc return job_->request() ? job_->request()->request_time() : base::Time(); base 178 net/url_request/url_request_http_job.cc start_callback_(base::Bind(&URLRequestHttpJob::OnStartCompleted, base 179 net/url_request/url_request_http_job.cc base::Unretained(this))), base 181 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::NotifyBeforeSendHeadersCallback, base 182 net/url_request/url_request_http_job.cc base::Unretained(this))), base 198 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::OnHeadersReceivedCallback, base 199 net/url_request/url_request_http_job.cc base::Unretained(this))), base 363 net/url_request/url_request_http_job.cc receive_headers_end_ = base::TimeTicks(); base 427 net/url_request/url_request_http_job.cc base::SupportsUserData::Data* data = request_->GetUserData( base 439 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::NotifyBeforeNetworkStart, base 440 net/url_request/url_request_http_job.cc base::Unretained(this))); base 446 net/url_request/url_request_http_job.cc start_time_ = base::TimeTicks::Now(); base 459 net/url_request/url_request_http_job.cc base::MessageLoop::current()->PostTask( base 461 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::OnStartCompleted, base 492 net/url_request/url_request_http_job.cc if (base::RandDouble() < .01) { base 555 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::CheckCookiePolicyAndLoad, base 567 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::OnCookiesLoaded, base 621 net/url_request/url_request_http_job.cc response_date_ = base::Time(); base 651 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::OnCookieSaved, base 782 net/url_request/url_request_http_job.cc receive_headers_end_ = base::TimeTicks::Now(); base 900 net/url_request/url_request_http_job.cc receive_headers_end_ = base::TimeTicks(); base 1127 net/url_request/url_request_http_job.cc receive_headers_end_ = base::TimeTicks::Now(); base 1140 net/url_request/url_request_http_job.cc base::MessageLoop::current()->PostTask( base 1142 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::OnStartCompleted, base 1151 net/url_request/url_request_http_job.cc receive_headers_end_ = base::TimeTicks(); base 1165 net/url_request/url_request_http_job.cc base::MessageLoop::current()->PostTask( base 1167 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::OnStartCompleted, base 1177 net/url_request/url_request_http_job.cc receive_headers_end_ = base::TimeTicks(); base 1191 net/url_request/url_request_http_job.cc base::MessageLoop::current()->PostTask( base 1193 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::OnStartCompleted, base 1233 net/url_request/url_request_http_job.cc base::Bind(&URLRequestHttpJob::OnReadCompleted, base::Unretained(this))); base 1311 net/url_request/url_request_http_job.cc base::TimeDelta to_start = base::Time::Now() - request_creation_time_; base 1312 net/url_request/url_request_http_job.cc request_creation_time_ = base::Time(); base 1323 net/url_request/url_request_http_job.cc request_creation_time_ = base::Time::Now(); base 1335 net/url_request/url_request_http_job.cc final_packet_time_ = base::Time::Now(); base 1337 net/url_request/url_request_http_job.cc request_time_snapshot_ = request_ ? request_->request_time() : base::Time(); base 1344 net/url_request/url_request_http_job.cc if (!packet_timing_enabled_ || (final_packet_time_ == base::Time())) base 1347 net/url_request/url_request_http_job.cc base::TimeDelta duration = final_packet_time_ - request_time_snapshot_; base 1363 net/url_request/url_request_http_job.cc base::TimeDelta::FromMilliseconds(20), base 1364 net/url_request/url_request_http_job.cc base::TimeDelta::FromMinutes(10), 100); base 1370 net/url_request/url_request_http_job.cc base::TimeDelta::FromMilliseconds(20), base 1371 net/url_request/url_request_http_job.cc base::TimeDelta::FromMinutes(10), 100); base 1466 net/url_request/url_request_http_job.cc base::TimeDelta total_time = base::TimeTicks::Now() - start_time_; base 1487 net/url_request/url_request_http_job.cc start_time_ = base::TimeTicks(); base 63 net/url_request/url_request_http_job.h typedef base::RefCountedData<bool> SharedBoolean; base 181 net/url_request/url_request_http_job.h base::Time response_date_; base 217 net/url_request/url_request_http_job.h base::Time request_creation_time_; base 238 net/url_request/url_request_http_job.h base::Time request_time_snapshot_; base 242 net/url_request/url_request_http_job.h base::Time final_packet_time_; base 245 net/url_request/url_request_http_job.h base::TimeTicks start_time_; base 248 net/url_request/url_request_http_job.h base::TimeTicks receive_headers_end_; base 251 net/url_request/url_request_http_job.h base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; base 185 net/url_request/url_request_http_job_unittest.cc WebSocketHandshakeStreamBase*(const base::WeakPtr<SpdySession>&, base 271 net/url_request/url_request_http_job_unittest.cc base::RunLoop().RunUntilIdle(); base 290 net/url_request/url_request_http_job_unittest.cc base::RunLoop().RunUntilIdle(); base 39 net/url_request/url_request_job.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 250 net/url_request/url_request_job.cc base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); base 318 net/url_request/url_request_job.cc request_->response_info_.response_time = base::Time::Now(); base 390 net/url_request/url_request_job.cc base::StringToInt64(content_length, &expected_content_size_); base 486 net/url_request/url_request_job.cc base::MessageLoop::current()->PostTask( base 488 net/url_request/url_request_job.cc base::Bind(&URLRequestJob::CompleteNotifyDone, base 44 net/url_request/url_request_job.h : public base::RefCounted<URLRequestJob>, base 45 net/url_request/url_request_job.h public base::PowerObserver { base 230 net/url_request/url_request_job.h friend class base::RefCounted<URLRequestJob>; base 425 net/url_request/url_request_job.h base::WeakPtrFactory<URLRequestJob> weak_factory_; base 24 net/url_request/url_request_job_factory.h : NON_EXPORTED_BASE(public base::NonThreadSafe) { base 31 net/url_request/url_request_job_factory_impl_unittest.cc base::MessageLoop::current()->PostTask( base 33 net/url_request/url_request_job_factory_impl_unittest.cc base::Bind(&MockURLRequestJob::StartAsync, weak_factory_.GetWeakPtr())); base 46 net/url_request/url_request_job_factory_impl_unittest.cc base::WeakPtrFactory<MockURLRequestJob> weak_factory_; base 67 net/url_request/url_request_job_factory_impl_unittest.cc base::MessageLoop::current()->Run(); base 82 net/url_request/url_request_job_factory_impl_unittest.cc base::MessageLoop::current()->Run(); base 193 net/url_request/url_request_job_manager.cc base::AutoLock locked(lock_); base 210 net/url_request/url_request_job_manager.cc base::AutoLock locked(lock_); base 231 net/url_request/url_request_job_manager.cc base::AutoLock locked(lock_); base 242 net/url_request/url_request_job_manager.cc base::AutoLock locked(lock_); base 85 net/url_request/url_request_job_manager.h allowed_thread_ = base::PlatformThread::CurrentId(); base 88 net/url_request/url_request_job_manager.h return allowed_thread_ == base::PlatformThread::CurrentId(); base 103 net/url_request/url_request_job_manager.h mutable base::PlatformThreadId allowed_thread_; base 107 net/url_request/url_request_job_manager.h mutable base::Lock lock_; base 30 net/url_request/url_request_job_unittest.cc base::Time(), base 37 net/url_request/url_request_job_unittest.cc base::Time(), base 48 net/url_request/url_request_job_unittest.cc base::Time(), base 55 net/url_request/url_request_job_unittest.cc base::Time(), base 78 net/url_request/url_request_job_unittest.cc base::MessageLoop::current()->Run(); base 100 net/url_request/url_request_job_unittest.cc base::RunLoop().Run(); base 120 net/url_request/url_request_job_unittest.cc base::RunLoop().Run(); base 143 net/url_request/url_request_job_unittest.cc base::RunLoop().Run(); base 13 net/url_request/url_request_netlog_params.cc base::Value* NetLogURLRequestStartCallback(const GURL* url, base 19 net/url_request/url_request_netlog_params.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 25 net/url_request/url_request_netlog_params.cc dict->SetString("upload_id", base::Int64ToString(upload_id)); base 29 net/url_request/url_request_netlog_params.cc bool StartEventLoadFlagsFromEventParams(const base::Value* event_params, base 31 net/url_request/url_request_netlog_params.cc const base::DictionaryValue* dict; base 16 net/url_request/url_request_netlog_params.h namespace base { base 23 net/url_request/url_request_netlog_params.h NET_EXPORT base::Value* NetLogURLRequestStartCallback( base 35 net/url_request/url_request_netlog_params.h const base::Value* event_params, base 34 net/url_request/url_request_redirect_job.cc base::MessageLoop::current()->PostTask( base 36 net/url_request/url_request_redirect_job.cc base::Bind(&URLRequestRedirectJob::StartAsync, base 56 net/url_request/url_request_redirect_job.cc receive_headers_end_ = base::TimeTicks::Now(); base 55 net/url_request/url_request_redirect_job.h base::TimeTicks receive_headers_end_; base 58 net/url_request/url_request_redirect_job.h base::WeakPtrFactory<URLRequestRedirectJob> weak_factory_; base 29 net/url_request/url_request_simple_job.cc base::MessageLoop::current()->PostTask( base 31 net/url_request/url_request_simple_job.cc base::Bind(&URLRequestSimpleJob::StartAsync, weak_factory_.GetWeakPtr())); base 72 net/url_request/url_request_simple_job.cc base::Bind(&URLRequestSimpleJob::OnGetDataCompleted, base 59 net/url_request/url_request_simple_job.h base::WeakPtrFactory<URLRequestSimpleJob> weak_factory_; base 79 net/url_request/url_request_simple_job_unittest.cc base::RunLoop().Run(); base 116 net/url_request/url_request_simple_job_unittest.cc std::string range = base::StringPrintf("bytes=%d-%d,%d-%d", base 131 net/url_request/url_request_simple_job_unittest.cc std::string range = base::StringPrintf( base 24 net/url_request/url_request_test_job.cc base::LazyInstance<URLRequestJobList>::Leaky base 178 net/url_request/url_request_test_job.cc base::MessageLoop::current()->PostTask( base 179 net/url_request/url_request_test_job.cc FROM_HERE, base::Bind(&URLRequestTestJob::StartAsync, base 253 net/url_request/url_request_test_job.cc base::TimeTicks request_start = load_timing_info->request_start; base 254 net/url_request/url_request_test_job.cc base::Time request_start_time = load_timing_info->request_start_time; base 332 net/url_request/url_request_test_job.cc base::MessageLoop::current()->PostTask( base 333 net/url_request/url_request_test_job.cc FROM_HERE, base::Bind(&URLRequestTestJob::ProcessNextOperation, base 171 net/url_request/url_request_test_job.h base::WeakPtrFactory<URLRequestTestJob> weak_factory_; base 120 net/url_request/url_request_test_util.cc base::WorkerPool::GetTaskRunner(true))); base 140 net/url_request/url_request_test_util.cc const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner) base 146 net/url_request/url_request_test_util.cc const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner, base 160 net/url_request/url_request_test_util.cc scoped_refptr<base::SingleThreadTaskRunner> base 205 net/url_request/url_request_test_util.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 206 net/url_request/url_request_test_util.cc base::MessageLoop::QuitClosure()); base 216 net/url_request/url_request_test_util.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 217 net/url_request/url_request_test_util.cc base::MessageLoop::QuitClosure()); base 310 net/url_request/url_request_test_util.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 311 net/url_request/url_request_test_util.cc base::MessageLoop::QuitClosure()); base 530 net/url_request/url_request_test_util.cc const base::string16& error) { base 589 net/url_request/url_request_test_util.cc const base::FilePath& path) const { base 44 net/url_request/url_request_test_util.h using base::TimeDelta; base 87 net/url_request/url_request_test_util.h const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner); base 91 net/url_request/url_request_test_util.h const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner, base 96 net/url_request/url_request_test_util.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 103 net/url_request/url_request_test_util.h const scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 290 net/url_request/url_request_test_util.h const base::string16& error) OVERRIDE; base 302 net/url_request/url_request_test_util.h const base::FilePath& path) const OVERRIDE; base 55 net/url_request/url_request_throttler_entry.cc base::Value* NetLogRejectedRequestCallback(const std::string* url_id, base 59 net/url_request/url_request_throttler_entry.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 70 net/url_request/url_request_throttler_entry.cc base::TimeDelta::FromMilliseconds(kDefaultSlidingWindowPeriodMs)), base 92 net/url_request/url_request_throttler_entry.cc base::TimeDelta::FromMilliseconds(sliding_window_period_ms)), base 165 net/url_request/url_request_throttler_entry.cc base::Bind(&NetLogRejectedRequestCallback, base 179 net/url_request/url_request_throttler_entry.cc const base::TimeTicks& earliest_time) { base 180 net/url_request/url_request_throttler_entry.cc base::TimeTicks now = ImplGetTimeNow(); base 185 net/url_request/url_request_throttler_entry.cc base::TimeTicks recommended_sending_time = base 213 net/url_request/url_request_throttler_entry.cc base::TimeTicks base 261 net/url_request/url_request_throttler_entry.cc sliding_window_release_time_ = base::TimeTicks::Now(); base 294 net/url_request/url_request_throttler_entry.cc base::TimeTicks URLRequestThrottlerEntry::ImplGetTimeNow() const { base 295 net/url_request/url_request_throttler_entry.cc return base::TimeTicks::Now(); base 97 net/url_request/url_request_throttler_entry.h const base::TimeTicks& earliest_time) OVERRIDE; base 98 net/url_request/url_request_throttler_entry.h virtual base::TimeTicks GetExponentialBackoffReleaseTime() const OVERRIDE; base 114 net/url_request/url_request_throttler_entry.h virtual base::TimeTicks ImplGetTimeNow() const; base 131 net/url_request/url_request_throttler_entry.h base::TimeTicks sliding_window_release_time() const { base 136 net/url_request/url_request_throttler_entry.h void set_sliding_window_release_time(const base::TimeTicks& release_time) { base 147 net/url_request/url_request_throttler_entry.h base::TimeTicks sliding_window_release_time_; base 151 net/url_request/url_request_throttler_entry.h std::queue<base::TimeTicks> send_log_; base 153 net/url_request/url_request_throttler_entry.h const base::TimeDelta sliding_window_period_; base 22 net/url_request/url_request_throttler_entry_interface.h : public base::RefCountedThreadSafe<URLRequestThrottlerEntryInterface> { base 45 net/url_request/url_request_throttler_entry_interface.h const base::TimeTicks& earliest_time) = 0; base 48 net/url_request/url_request_throttler_entry_interface.h virtual base::TimeTicks GetExponentialBackoffReleaseTime() const = 0; base 63 net/url_request/url_request_throttler_entry_interface.h friend class base::RefCountedThreadSafe<URLRequestThrottlerEntryInterface>; base 67 net/url_request/url_request_throttler_entry_interface.h friend class base::RefCounted<URLRequestThrottlerEntryInterface>; base 23 net/url_request/url_request_throttler_manager.cc registered_from_thread_(base::kInvalidThreadId) { base 36 net/url_request/url_request_throttler_manager.h : NON_EXPORTED_BASE(public base::NonThreadSafe), base 159 net/url_request/url_request_throttler_manager.h base::PlatformThreadId registered_from_thread_; base 29 net/url_request/url_request_throttler_simulation_unittest.cc using base::TimeDelta; base 30 net/url_request/url_request_throttler_simulation_unittest.cc using base::TimeTicks; base 47 net/url_request/url_request_throttler_simulation_unittest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 175 net/url_request/url_request_throttler_simulation_unittest.cc base::RandDouble() < request_drop_ratio_) { base 421 net/url_request/url_request_throttler_simulation_unittest.cc request_jitter_.InMilliseconds() * base::RandDouble()); base 422 net/url_request/url_request_throttler_simulation_unittest.cc if (base::RandInt(0, 1)) { base 464 net/url_request/url_request_throttler_simulation_unittest.cc int delay_ms = base::RandInt(0, max_delay.InMilliseconds()); base 18 net/url_request/url_request_throttler_test_support.cc base::TimeTicks MockBackoffEntry::ImplGetTimeNow() const { base 22 net/url_request/url_request_throttler_test_support.cc void MockBackoffEntry::set_fake_now(const base::TimeTicks& now) { base 22 net/url_request/url_request_throttler_test_support.h virtual base::TimeTicks ImplGetTimeNow() const OVERRIDE; base 24 net/url_request/url_request_throttler_test_support.h void set_fake_now(const base::TimeTicks& now); base 27 net/url_request/url_request_throttler_test_support.h base::TimeTicks fake_now_; base 24 net/url_request/url_request_throttler_unittest.cc using base::TimeDelta; base 25 net/url_request/url_request_throttler_unittest.cc using base::TimeTicks; base 90 net/url_request/url_request_throttler_unittest.cc const base::TimeTicks& release_time) { base 94 net/url_request/url_request_throttler_unittest.cc base::TimeTicks sliding_window_release_time() const { base 99 net/url_request/url_request_throttler_unittest.cc const base::TimeTicks& release_time) { base 132 net/url_request/url_request_throttler_unittest.cc fake_url_string.append(base::IntToString(create_entry_index_++)); base 193 net/url_request/url_request_throttler_unittest.cc std::ostream& operator<<(std::ostream& out, const base::TimeTicks& time) { base 210 net/url_request/url_request_throttler_unittest.cc base::StatisticsDeltaReader statistics_delta_reader; base 219 net/url_request/url_request_throttler_unittest.cc scoped_ptr<base::HistogramSamples> samples( base 227 net/url_request/url_request_throttler_unittest.cc base::StatisticsDeltaReader statistics_delta_reader; base 234 net/url_request/url_request_throttler_unittest.cc scoped_ptr<base::HistogramSamples> samples( base 87 net/url_request/url_request_unittest.cc using base::ASCIIToUTF16; base 88 net/url_request/url_request_unittest.cc using base::Time; base 94 net/url_request/url_request_unittest.cc const base::string16 kChrome(ASCIIToUTF16("chrome")); base 95 net/url_request/url_request_unittest.cc const base::string16 kSecret(ASCIIToUTF16("secret")); base 96 net/url_request/url_request_unittest.cc const base::string16 kUser(ASCIIToUTF16("user")); base 168 net/url_request/url_request_unittest.cc base::StringPiece TestNetResourceProvider(int key) { base 232 net/url_request/url_request_unittest.cc base::CaseInsensitiveCompare<char>()); base 412 net/url_request/url_request_unittest.cc base::WeakPtrFactory<BlockingNetworkDelegate> weak_factory_; base 521 net/url_request/url_request_unittest.cc base::MessageLoop::current()->PostTask( base 523 net/url_request/url_request_unittest.cc base::Bind(&BlockingNetworkDelegate::RunAuthCallback, base 530 net/url_request/url_request_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 531 net/url_request/url_request_unittest.cc base::MessageLoop::QuitClosure()); base 561 net/url_request/url_request_unittest.cc base::MessageLoop::current()->PostTask( base 563 net/url_request/url_request_unittest.cc base::Bind(&BlockingNetworkDelegate::RunCallback, base 570 net/url_request/url_request_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 571 net/url_request/url_request_unittest.cc base::MessageLoop::QuitClosure()); base 601 net/url_request/url_request_unittest.cc "file", new FileProtocolHandler(base::MessageLoopProxy::current())); base 607 net/url_request/url_request_unittest.cc base::RunLoop().RunUntilIdle(); base 633 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 678 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 692 net/url_request/url_request_unittest.cc base::FilePath app_path; base 693 net/url_request/url_request_unittest.cc PathService::Get(base::FILE_EXE, &app_path); base 703 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 706 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::GetFileSize(app_path, &file_size)); base 721 net/url_request/url_request_unittest.cc base::FilePath app_path; base 722 net/url_request/url_request_unittest.cc PathService::Get(base::FILE_EXE, &app_path); base 735 net/url_request/url_request_unittest.cc base::RunLoop().RunUntilIdle(); base 743 net/url_request/url_request_unittest.cc base::FilePath temp_path; base 744 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::CreateTemporaryFile(&temp_path)); base 746 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size)); base 749 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_path, &file_size)); base 770 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 779 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::DeleteFile(temp_path, false)); base 787 net/url_request/url_request_unittest.cc base::FilePath temp_path; base 788 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::CreateTemporaryFile(&temp_path)); base 790 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size)); base 793 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_path, &file_size)); base 813 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 822 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::DeleteFile(temp_path, false)); base 830 net/url_request/url_request_unittest.cc base::FilePath temp_path; base 831 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::CreateTemporaryFile(&temp_path)); base 833 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size)); base 836 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::GetFileSize(temp_path, &file_size)); base 848 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 852 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::DeleteFile(temp_path, false)); base 856 net/url_request/url_request_unittest.cc base::ScopedTempDir temp_dir; base 858 net/url_request/url_request_unittest.cc base::FilePath test_file; base 859 net/url_request/url_request_unittest.cc ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &test_file)); base 861 net/url_request/url_request_unittest.cc base::WriteFile(test_file, test_data.data(), test_data.size()); base 871 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 883 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 897 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 904 net/url_request/url_request_unittest.cc base::FilePath app_path; base 905 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &app_path); base 913 net/url_request/url_request_unittest.cc base::win::ScopedCOMInitializer com_initializer; base 917 net/url_request/url_request_unittest.cc base::win::ScopedComPtr<IShellLink> shell; base 920 net/url_request/url_request_unittest.cc base::win::ScopedComPtr<IPersistFile> persist; base 929 net/url_request/url_request_unittest.cc URLRequest r(FilePathToFileURL(base::FilePath(lnk_path)), base 937 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 970 net/url_request/url_request_unittest.cc base::FilePath file_path; base 971 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &file_path); base 982 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 995 net/url_request/url_request_unittest.cc base::FilePath path; base 996 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 1005 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1008 net/url_request/url_request_unittest.cc base::FilePath sentinel_path = path.AppendASCII(sentinel_name); base 1009 net/url_request/url_request_unittest.cc base::File::Info info; base 1010 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::GetFileInfo(sentinel_path, &info)); base 1013 net/url_request/url_request_unittest.cc base::string16(sentinel_name, sentinel_name + strlen(sentinel_name)), base 1032 net/url_request/url_request_unittest.cc base::FilePath path; base 1033 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 1042 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1056 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1279 net/url_request/url_request_unittest.cc base::SupportsUserData::Data* user_data0 = new base::SupportsUserData::Data(); base 1280 net/url_request/url_request_unittest.cc base::SupportsUserData::Data* user_data1 = new base::SupportsUserData::Data(); base 1281 net/url_request/url_request_unittest.cc base::SupportsUserData::Data* user_data2 = new base::SupportsUserData::Data(); base 1287 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1325 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1361 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1393 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1425 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1459 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1493 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1521 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1550 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1570 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1589 net/url_request/url_request_unittest.cc LoadTimingInfo NormalLoadTimingInfo(base::TimeTicks now, base 1596 net/url_request/url_request_unittest.cc load_timing.proxy_resolve_start = now + base::TimeDelta::FromDays(1); base 1597 net/url_request/url_request_unittest.cc load_timing.proxy_resolve_end = now + base::TimeDelta::FromDays(2); base 1602 net/url_request/url_request_unittest.cc connect_timing.dns_start = now + base::TimeDelta::FromDays(3); base 1603 net/url_request/url_request_unittest.cc connect_timing.dns_end = now + base::TimeDelta::FromDays(4); base 1605 net/url_request/url_request_unittest.cc connect_timing.connect_start = now + base::TimeDelta::FromDays(5); base 1607 net/url_request/url_request_unittest.cc connect_timing.ssl_start = now + base::TimeDelta::FromDays(6); base 1608 net/url_request/url_request_unittest.cc connect_timing.ssl_end = now + base::TimeDelta::FromDays(7); base 1610 net/url_request/url_request_unittest.cc connect_timing.connect_end = now + base::TimeDelta::FromDays(8); base 1612 net/url_request/url_request_unittest.cc load_timing.send_start = now + base::TimeDelta::FromDays(9); base 1613 net/url_request/url_request_unittest.cc load_timing.send_end = now + base::TimeDelta::FromDays(10); base 1614 net/url_request/url_request_unittest.cc load_timing.receive_headers_end = now + base::TimeDelta::FromDays(11); base 1619 net/url_request/url_request_unittest.cc LoadTimingInfo NormalLoadTimingInfoReused(base::TimeTicks now, base 1626 net/url_request/url_request_unittest.cc load_timing.proxy_resolve_start = now + base::TimeDelta::FromDays(1); base 1627 net/url_request/url_request_unittest.cc load_timing.proxy_resolve_end = now + base::TimeDelta::FromDays(2); base 1630 net/url_request/url_request_unittest.cc load_timing.send_start = now + base::TimeDelta::FromDays(9); base 1631 net/url_request/url_request_unittest.cc load_timing.send_end = now + base::TimeDelta::FromDays(10); base 1632 net/url_request/url_request_unittest.cc load_timing.receive_headers_end = now + base::TimeDelta::FromDays(11); base 1638 net/url_request/url_request_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1669 net/url_request/url_request_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1706 net/url_request/url_request_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1709 net/url_request/url_request_unittest.cc job_load_timing.proxy_resolve_start = now - base::TimeDelta::FromDays(6); base 1710 net/url_request/url_request_unittest.cc job_load_timing.proxy_resolve_end = now - base::TimeDelta::FromDays(5); base 1711 net/url_request/url_request_unittest.cc job_load_timing.connect_timing.dns_start = now - base::TimeDelta::FromDays(4); base 1712 net/url_request/url_request_unittest.cc job_load_timing.connect_timing.dns_end = now - base::TimeDelta::FromDays(3); base 1714 net/url_request/url_request_unittest.cc now - base::TimeDelta::FromDays(2); base 1716 net/url_request/url_request_unittest.cc now - base::TimeDelta::FromDays(1); base 1743 net/url_request/url_request_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1745 net/url_request/url_request_unittest.cc job_load_timing.proxy_resolve_start = now - base::TimeDelta::FromDays(4); base 1746 net/url_request/url_request_unittest.cc job_load_timing.proxy_resolve_end = now - base::TimeDelta::FromDays(3); base 1767 net/url_request/url_request_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1771 net/url_request/url_request_unittest.cc now - base::TimeDelta::FromDays(1); base 1772 net/url_request/url_request_unittest.cc job_load_timing.connect_timing.ssl_start = now - base::TimeDelta::FromDays(2); base 1773 net/url_request/url_request_unittest.cc job_load_timing.connect_timing.ssl_end = now - base::TimeDelta::FromDays(3); base 1775 net/url_request/url_request_unittest.cc now - base::TimeDelta::FromDays(4); base 1801 net/url_request/url_request_unittest.cc base::TimeTicks now = base::TimeTicks::Now(); base 1805 net/url_request/url_request_unittest.cc now - base::TimeDelta::FromDays(1); base 1807 net/url_request/url_request_unittest.cc now - base::TimeDelta::FromDays(2); base 1849 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1867 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 1968 net/url_request/url_request_unittest.cc explicit LocalHttpTestServer(const base::FilePath& document_root) base 1975 net/url_request/url_request_unittest.cc base::FilePath()) {} base 1998 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2014 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2037 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2052 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2071 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2096 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2116 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2134 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2161 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2177 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2197 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2221 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2240 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2256 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2282 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2304 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2320 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2340 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2364 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2383 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2399 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2472 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2484 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2500 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2512 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2540 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2560 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2569 net/url_request/url_request_unittest.cc : test_server_(base::FilePath(FILE_PATH_LITERAL( base 2593 net/url_request/url_request_unittest.cc base::UintToString(arraysize(kData) - 1)); base 2597 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2641 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2680 net/url_request/url_request_unittest.cc base::IntToString(num_cookies)), base 2688 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2724 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2750 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2792 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2797 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2824 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2854 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2930 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2962 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 2999 net/url_request/url_request_unittest.cc base::UintToString(arraysize(kData) - 1)); base 3002 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3037 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3072 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3109 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3143 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3178 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3216 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3250 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3285 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3318 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3350 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3387 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3423 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3459 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3493 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3513 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3582 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3608 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3636 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3673 net/url_request/url_request_unittest.cc base::StringPrintf("compressedfiles/BullRunSpeech.txt?%c", base 3686 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3710 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 3725 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3742 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3782 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 3803 net/url_request/url_request_unittest.cc class AsyncDelegateLogger : public base::RefCounted<AsyncDelegateLogger> { base 3805 net/url_request/url_request_unittest.cc typedef base::Callback<void()> Callback; base 3898 net/url_request/url_request_unittest.cc base::MessageLoop::current()->PostTask( base 3900 net/url_request/url_request_unittest.cc base::Bind(&AsyncDelegateLogger::LogSecondDelegate, this)); base 3912 net/url_request/url_request_unittest.cc base::MessageLoop::current()->PostTask( base 3914 net/url_request/url_request_unittest.cc base::Bind(&AsyncDelegateLogger::LogComplete, this)); base 3922 net/url_request/url_request_unittest.cc EXPECT_EQ(base::string16(), load_state.param); base 3982 net/url_request/url_request_unittest.cc base::Bind(&AsyncLoggingNetworkDelegate::SetAuthAndResume, base 3996 net/url_request/url_request_unittest.cc base::Bind(callback, OK)); base 4045 net/url_request/url_request_unittest.cc base::Bind( base 4047 net/url_request/url_request_unittest.cc base::Unretained(this), request, new_url)); base 4056 net/url_request/url_request_unittest.cc base::Bind( base 4058 net/url_request/url_request_unittest.cc base::Unretained(this), request)); base 4068 net/url_request/url_request_unittest.cc base::Bind( base 4070 net/url_request/url_request_unittest.cc base::Unretained(this), request, bytes_read)); base 4117 net/url_request/url_request_unittest.cc EXPECT_EQ(base::string16(), load_state.param); base 4124 net/url_request/url_request_unittest.cc base::Bind(&URLRequest::Start, base::Unretained(&r))); base 4126 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4165 net/url_request/url_request_unittest.cc EXPECT_EQ(base::string16(), load_state.param); base 4168 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4223 net/url_request/url_request_unittest.cc EXPECT_EQ(base::string16(), load_state.param); base 4226 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4306 net/url_request/url_request_unittest.cc EXPECT_EQ(base::string16(), load_state.param); base 4309 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4371 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4425 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4490 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4555 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4592 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4615 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4640 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4664 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4715 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4728 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4759 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4779 net/url_request/url_request_unittest.cc base::FilePath dir; base 4780 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_EXE, &dir); base 4781 net/url_request/url_request_unittest.cc base::SetCurrentDirectory(dir); base 4785 net/url_request/url_request_unittest.cc base::FilePath path; base 4786 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 4792 net/url_request/url_request_unittest.cc new UploadFileElementReader(base::MessageLoopProxy::current().get(), base 4796 net/url_request/url_request_unittest.cc base::Time())); base 4803 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4806 net/url_request/url_request_unittest.cc ASSERT_EQ(true, base::GetFileSize(path, &size)); base 4809 net/url_request/url_request_unittest.cc ASSERT_EQ(size, base::ReadFile(path, buf.get(), size)); base 4834 net/url_request/url_request_unittest.cc base::MessageLoopProxy::current().get(), base 4835 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL( base 4839 net/url_request/url_request_unittest.cc base::Time())); base 4846 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4869 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4887 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4905 net/url_request/url_request_unittest.cc base::RunLoop().RunUntilIdle(); base 4907 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4922 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4949 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/url_request_unittest"))); base 4958 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 4993 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/url_request_unittest"))); base 5002 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5024 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/url_request_unittest"))); base 5034 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5054 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/url_request_unittest"))); base 5064 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5097 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/url_request_unittest"))); base 5107 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5138 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5154 net/url_request/url_request_unittest.cc FileProtocolHandler file_protocol_handler(base::MessageLoopProxy::current()); base 5173 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5188 net/url_request/url_request_unittest.cc base::MessageLoop::current()->Run(); base 5203 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5219 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5230 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5237 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5261 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5271 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5297 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5327 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5351 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5379 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5406 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5433 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5451 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5466 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5482 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5499 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5505 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5528 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5535 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5539 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5562 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5568 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5587 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5606 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5611 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5617 net/url_request/url_request_unittest.cc base::FilePath path; base 5618 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 5625 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::ReadFileToString(path, &contents)); base 5642 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5650 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5659 net/url_request/url_request_unittest.cc base::FilePath path; base 5660 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &path); base 5667 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::ReadFileToString(path, &contents)); base 5683 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5688 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5711 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5729 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5749 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5773 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5792 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5823 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5852 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5877 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5912 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 5957 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6031 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6055 net/url_request/url_request_unittest.cc base::UintToString(arraysize(kData) - 1)); base 6064 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6082 net/url_request/url_request_unittest.cc base::UintToString(arraysize(kData) - 1)); base 6092 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6114 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6138 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6156 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6172 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6190 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6208 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6222 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6241 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6271 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6304 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6340 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6375 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6399 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6411 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6430 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6446 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6467 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6485 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6517 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6528 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6556 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6567 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6586 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6604 net/url_request/url_request_unittest.cc URLRequest r(GURL(base::StringPrintf("https://www.google.com:%d", base 6613 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6631 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6653 net/url_request/url_request_unittest.cc URLRequest r(GURL(base::StringPrintf("https://www.google.com:%d", base 6662 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6695 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6707 net/url_request/url_request_unittest.cc base::Time expiry = base::Time::Now() + base::TimeDelta::FromDays(1000); base 6725 net/url_request/url_request_unittest.cc URLRequest req(GURL(base::StringPrintf("http://www.somewhere.com:%d/echo", base 6734 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6754 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6765 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6784 net/url_request/url_request_unittest.cc base::MessageLoop::current()->Quit(); base 6806 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6819 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6830 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6846 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6861 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6879 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6891 net/url_request/url_request_unittest.cc base::SplitString(d.data_received(), '\n', &lines); base 6898 net/url_request/url_request_unittest.cc base::SplitString(lines[i], '\t', &parts); base 6919 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 6934 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6968 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 6979 net/url_request/url_request_unittest.cc base::SplitString(d.data_received(), '\n', &lines); base 6985 net/url_request/url_request_unittest.cc base::SplitString(lines[i], '\t', &parts); base 7022 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 7039 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7060 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7077 net/url_request/url_request_unittest.cc base::SplitString(d.data_received(), '\n', &lines); base 7083 net/url_request/url_request_unittest.cc base::SplitString(lines[i], '\t', &parts); base 7174 net/url_request/url_request_unittest.cc base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))); base 7183 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7259 net/url_request/url_request_unittest.cc return base::win::GetVersion() >= base::win::VERSION_VISTA; base 7613 net/url_request/url_request_unittest.cc base::FilePath()) { base 7639 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7658 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7675 net/url_request/url_request_unittest.cc base::FilePath app_path; base 7676 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &app_path); base 7687 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7690 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 7707 net/url_request/url_request_unittest.cc base::FilePath app_path; base 7708 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &app_path); base 7720 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7723 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 7744 net/url_request/url_request_unittest.cc base::FilePath app_path; base 7745 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &app_path); base 7757 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7760 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 7773 net/url_request/url_request_unittest.cc base::FilePath app_path; base 7774 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &app_path); base 7789 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7792 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 7805 net/url_request/url_request_unittest.cc base::FilePath app_path; base 7806 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &app_path); base 7818 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7821 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 7834 net/url_request/url_request_unittest.cc base::FilePath app_path; base 7835 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &app_path); base 7850 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7853 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 7866 net/url_request/url_request_unittest.cc base::FilePath app_path; base 7867 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &app_path); base 7881 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7884 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 7902 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7905 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 7918 net/url_request/url_request_unittest.cc base::FilePath app_path; base 7919 net/url_request/url_request_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &app_path); base 7935 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7938 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 7959 net/url_request/url_request_unittest.cc base::RunLoop().Run(); base 7962 net/url_request/url_request_unittest.cc base::GetFileSize(app_path, &file_size); base 83 net/url_request/view_cache_helper.cc base::StringAppendF(result, "%08x: ", offset); base 93 net/url_request/view_cache_helper.cc base::StringAppendF(result, "%02x ", *p++); base 221 net/url_request/view_cache_helper.cc &disk_cache_, base::Bind(&ViewCacheHelper::OnIOComplete, base 222 net/url_request/view_cache_helper.cc base::Unretained(this))); base 247 net/url_request/view_cache_helper.cc base::Bind(&ViewCacheHelper::OnIOComplete, base::Unretained(this))); base 269 net/url_request/view_cache_helper.cc base::Bind(&ViewCacheHelper::OnIOComplete, base::Unretained(this))); base 296 net/url_request/view_cache_helper.cc base::Bind(&ViewCacheHelper::OnIOComplete, weak_factory_.GetWeakPtr())); base 344 net/url_request/view_cache_helper.cc base::Bind(&ViewCacheHelper::OnIOComplete, weak_factory_.GetWeakPtr())); base 117 net/url_request/view_cache_helper.h base::WeakPtrFactory<ViewCacheHelper> weak_factory_; base 81 net/websockets/websocket_basic_handshake_stream.cc base::Base64Encode(raw_challenge, &encoded_challenge); base 94 net/websockets/websocket_basic_handshake_stream.cc const base::StringPiece& name, base 182 net/websockets/websocket_basic_handshake_stream.cc base::hash_set<std::string> requested_set(requested_sub_protocols.begin(), base 226 net/websockets/websocket_basic_handshake_stream.cc bool DeflateError(std::string* message, const base::StringPiece& piece) { base 275 net/websockets/websocket_basic_handshake_stream.cc if (!base::StringToInt(it->value(), &bits) || bits < 8 || bits > 15 || base 404 net/websockets/websocket_basic_handshake_stream.cc new WebSocketHandshakeRequestInfo(url_, base::Time::Now())); base 419 net/websockets/websocket_basic_handshake_stream.cc base::Bind(&WebSocketBasicHandshakeStream::ReadResponseHeadersCallback, base 420 net/websockets/websocket_basic_handshake_stream.cc base::Unretained(this), base 576 net/websockets/websocket_basic_handshake_stream.cc failure_message_ = base::StringPrintf( base 122 net/websockets/websocket_basic_stream.cc base::Bind(&WebSocketBasicStream::OnReadComplete, base 123 net/websockets/websocket_basic_stream.cc base::Unretained(this), base 124 net/websockets/websocket_basic_stream.cc base::Unretained(frames), base 208 net/websockets/websocket_basic_stream.cc base::Bind(&WebSocketBasicStream::OnWriteComplete, base 209 net/websockets/websocket_basic_stream.cc base::Unretained(this), base 352 net/websockets/websocket_basic_stream.cc base::checked_cast<uint64>(chunk_size)); base 355 net/websockets/websocket_basic_stream.cc base::checked_cast<uint64>(chunk_size)); base 806 net/websockets/websocket_basic_stream_test.cc base::WriteBigEndian(big_frame.get() + 2, kPayloadSize); base 41 net/websockets/websocket_channel.cc using base::StreamingUtf8Validator; base 189 net/websockets/websocket_channel.cc : public base::SupportsWeakPtr<HandshakeNotificationSender> { base 194 net/websockets/websocket_channel.cc static void Send(base::WeakPtr<HandshakeNotificationSender> sender); base 229 net/websockets/websocket_channel.cc base::WeakPtr<HandshakeNotificationSender> sender) { base 292 net/websockets/websocket_channel.cc timeout_(base::TimeDelta::FromSeconds(kClosingHandshakeTimeoutSeconds)), base 319 net/websockets/websocket_channel.cc base::Bind(&WebSocketStream::CreateAndConnectStream)); base 352 net/websockets/websocket_channel.cc if (data.size() > base::checked_cast<size_t>(current_send_quota_)) { base 408 net/websockets/websocket_channel.cc std::min(base::checked_cast<size_t>(quota), data_size); base 423 net/websockets/websocket_channel.cc const int64 signed_bytes_to_send = base::checked_cast<int64>(bytes_to_send); base 434 net/websockets/websocket_channel.cc current_receive_quota_ += base::checked_cast<int>(quota); base 489 net/websockets/websocket_channel.cc base::TimeDelta delay) { base 577 net/websockets/websocket_channel.cc base::MessageLoop::current()->PostTask( base 579 net/websockets/websocket_channel.cc base::Bind(HandshakeNotificationSender::Send, base 590 net/websockets/websocket_channel.cc base::Bind(base::IgnoreResult(&WebSocketChannel::OnWriteDone), base 591 net/websockets/websocket_channel.cc base::Unretained(this), base 653 net/websockets/websocket_channel.cc base::Bind(base::IgnoreResult(&WebSocketChannel::OnReadDone), base 654 net/websockets/websocket_channel.cc base::Unretained(this), base 730 net/websockets/websocket_channel.cc return FailChannel(base::StringPrintf( base 826 net/websockets/websocket_channel.cc base::StringPrintf("Unrecognized frame opcode: %d", opcode), base 883 net/websockets/websocket_channel.cc if (size > base::checked_cast<size_t>(current_receive_quota_) || base 976 net/websockets/websocket_channel.cc base::WriteBigEndian(body->data(), code); base 987 net/websockets/websocket_channel.cc base::Bind(&WebSocketChannel::CloseTimeout, base::Unretained(this))); base 1018 net/websockets/websocket_channel.cc base::ReadBigEndian(data, &unchecked_code); base 48 net/websockets/websocket_channel.h typedef base::Callback<scoped_ptr<WebSocketStreamRequest>( base 111 net/websockets/websocket_channel.h void SetClosingHandshakeTimeoutForTesting(base::TimeDelta delay); base 362 net/websockets/websocket_channel.h base::OneShotTimer<WebSocketChannel> timer_; base 365 net/websockets/websocket_channel.h base::TimeDelta timeout_; base 381 net/websockets/websocket_channel.h base::StreamingUtf8Validator outgoing_utf8_validator_; base 385 net/websockets/websocket_channel.h base::StreamingUtf8Validator incoming_utf8_validator_; base 63 net/websockets/websocket_channel_test.cc return os << "\"" << base::StringPiece(frame.data->data(), base 94 net/websockets/websocket_channel_test.cc using ::base::TimeDelta; base 411 net/websockets/websocket_channel_test.cc base::Closure closure() { return base::Bind(callback_.callback(), OK); } base 482 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->PostTask( base 484 net/websockets/websocket_channel_test.cc base::Bind(&ReadableFakeWebSocketStream::DoCallback, base 485 net/websockets/websocket_channel_test.cc base::Unretained(this), base 578 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->PostTask( base 580 net/websockets/websocket_channel_test.cc base::Bind(&EchoeyFakeWebSocketStream::DoCallback, base 581 net/websockets/websocket_channel_test.cc base::Unretained(this))); base 632 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->PostTask( base 634 net/websockets/websocket_channel_test.cc base::Bind(&ResetOnWriteFakeWebSocketStream::CallCallbackUnlessClosed, base 638 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->PostTask( base 640 net/websockets/websocket_channel_test.cc base::Bind(&ResetOnWriteFakeWebSocketStream::CallCallbackUnlessClosed, base 665 net/websockets/websocket_channel_test.cc base::WeakPtrFactory<ResetOnWriteFakeWebSocketStream> weak_ptr_factory_; base 730 net/websockets/websocket_channel_test.cc base::Bind(&ArgumentCopyingWebSocketStreamCreator::Create, base 731 net/websockets/websocket_channel_test.cc base::Unretained(&connect_data_.creator))); base 1050 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1098 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1121 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1138 net/websockets/websocket_channel_test.cc base::Time()))); base 1139 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1161 net/websockets/websocket_channel_test.cc base::Time()))); base 1162 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1186 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1437 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1468 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1522 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1557 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1576 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1599 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1620 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1657 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1673 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1698 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1821 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1848 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1920 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1935 net/websockets/websocket_channel_test.cc base::Time())); base 1939 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1959 net/websockets/websocket_channel_test.cc base::Time())); base 1962 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 1979 net/websockets/websocket_channel_test.cc new WebSocketHandshakeRequestInfo(url, base::Time())); base 1987 net/websockets/websocket_channel_test.cc base::Time())); base 1992 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 2346 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 2972 net/websockets/websocket_channel_test.cc base::MessageLoop::current()->RunUntilIdle(); base 62 net/websockets/websocket_deflate_stream.cc base::Bind(&WebSocketDeflateStream::OnReadComplete, base 63 net/websockets/websocket_deflate_stream.cc base::Unretained(this), base 64 net/websockets/websocket_deflate_stream.cc base::Unretained(frames), base 376 net/websockets/websocket_deflate_stream.cc base::Bind(&WebSocketDeflateStream::OnReadComplete, base 377 net/websockets/websocket_deflate_stream.cc base::Unretained(this), base 378 net/websockets/websocket_deflate_stream.cc base::Unretained(frames), base 383 net/websockets/websocket_deflate_stream_test.cc base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); base 414 net/websockets/websocket_deflate_stream_test.cc base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); base 462 net/websockets/websocket_deflate_stream_test.cc base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); base 500 net/websockets/websocket_deflate_stream_test.cc base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); base 922 net/websockets/websocket_deflate_stream_test.cc base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); base 1002 net/websockets/websocket_deflate_stream_test.cc base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); base 39 net/websockets/websocket_extension_parser.cc base::StringPiece name; base 55 net/websockets/websocket_extension_parser.cc base::StringPiece name, value; base 75 net/websockets/websocket_extension_parser.cc void WebSocketExtensionParser::ConsumeToken(base::StringPiece* token) { base 87 net/websockets/websocket_extension_parser.cc *token = base::StringPiece(head, current_ - head); base 39 net/websockets/websocket_extension_parser.h void ConsumeToken(base::StringPiece* token); base 134 net/websockets/websocket_frame.cc base::WriteBigEndian(buffer + buffer_index, payload_length_16); base 137 net/websockets/websocket_frame.cc base::WriteBigEndian(buffer + buffer_index, header.payload_length); base 161 net/websockets/websocket_frame.cc base::RandBytes(masking_key.key, WebSocketFrameHeader::kMaskingKeyLength); base 127 net/websockets/websocket_frame_parser.cc base::ReadBigEndian(current, &payload_length_16); base 135 net/websockets/websocket_frame_parser.cc base::ReadBigEndian(current, &payload_length); base 311 net/websockets/websocket_frame_test.cc scoped_ptr<char, base::AlignedFreeDeleter> scratch( base 313 net/websockets/websocket_frame_test.cc base::AlignedAlloc(kScratchBufferSize, kMaxVectorAlignment))); base 355 net/websockets/websocket_frame_test.cc base::StringToInt(iterations, &benchmark_iterations)) { base 372 net/websockets/websocket_frame_test.cc using base::TimeTicks; base 382 net/websockets/websocket_frame_test.cc << base::StringPrintf(" took %.03f microseconds per iteration", base 34 net/websockets/websocket_handshake_handler.cc size_t i = base::StringPiece(handshake_message, len).find_first_of("\r\n"); base 35 net/websockets/websocket_handshake_handler.cc if (i == base::StringPiece::npos) { base 92 net/websockets/websocket_handshake_handler.cc base::StringTokenizer lines(headers.begin(), headers.end(), "\r\n"); base 125 net/websockets/websocket_handshake_handler.cc bool conversion_success = base::StringToInt(values[0], &version); base 135 net/websockets/websocket_handshake_handler.cc void AppendHeader(const base::StringPiece& header, base 136 net/websockets/websocket_handshake_handler.cc const base::StringPiece& value, base 203 net/websockets/websocket_handshake_handler.cc size_t method_end = base::StringPiece(request_line_).find_first_of(" "); base 204 net/websockets/websocket_handshake_handler.cc if (method_end != base::StringPiece::npos) base 353 net/websockets/websocket_handshake_handler.cc base::SHA1HashString(key + websockets::kWebSocketGuid); base 354 net/websockets/websocket_handshake_handler.cc base::Base64Encode(hash, accept); base 405 net/websockets/websocket_handshake_handler.cc base::SHA1HashString(challenge + websockets::kWebSocketGuid); base 407 net/websockets/websocket_handshake_handler.cc base::Base64Encode(hash, &websocket_accept); base 409 net/websockets/websocket_handshake_handler.cc std::string response_message = base::StringPrintf( base 14 net/websockets/websocket_handshake_request_info.cc base::Time request_time) base 18 net/websockets/websocket_handshake_request_info.h WebSocketHandshakeRequestInfo(const GURL& url, base::Time request_time); base 25 net/websockets/websocket_handshake_request_info.h base::Time request_time; base 21 net/websockets/websocket_handshake_response_info.cc base::Time response_time) base 24 net/websockets/websocket_handshake_response_info.h base::Time response_time); base 35 net/websockets/websocket_handshake_response_info.h base::Time response_time; base 36 net/websockets/websocket_handshake_stream_base.h class NET_EXPORT_PRIVATE CreateHelper : public base::SupportsUserData::Data { base 55 net/websockets/websocket_handshake_stream_base.h const base::WeakPtr<SpdySession>& session, base 45 net/websockets/websocket_handshake_stream_create_helper.cc const base::WeakPtr<SpdySession>& session, base 41 net/websockets/websocket_handshake_stream_create_helper.h const base::WeakPtr<SpdySession>& session, base 48 net/websockets/websocket_job.cc friend struct base::DefaultLazyInstanceTraits<WebSocketJobInitSingleton>; base 55 net/websockets/websocket_job.cc static base::LazyInstance<WebSocketJobInitSingleton> g_websocket_job_init = base 227 net/websockets/websocket_job.cc base::MessageLoopForIO::current()->PostTask( base 229 net/websockets/websocket_job.cc base::Bind(&WebSocketJob::SendPending, base 381 net/websockets/websocket_job.cc base::Bind(&WebSocketJob::LoadCookieCallback, base 411 net/websockets/websocket_job.cc base::Bind(&NetLogWebSocketHandshakeCallback, &handshake_request)); base 456 net/websockets/websocket_job.cc base::Bind(&NetLogWebSocketHandshakeCallback, &raw_response)); base 534 net/websockets/websocket_job.cc base::Bind(&WebSocketJob::OnCookieSaved, base 600 net/websockets/websocket_job.cc base::WeakPtr<SpdySession> spdy_session = base 644 net/websockets/websocket_job.cc base::MessageLoopForIO::current()->PostTask( base 646 net/websockets/websocket_job.cc base::Bind(&WebSocketJob::RetryPendingIO, base 155 net/websockets/websocket_job.h base::WeakPtrFactory<WebSocketJob> weak_ptr_factory_; base 156 net/websockets/websocket_job.h base::WeakPtrFactory<WebSocketJob> weak_ptr_factory_for_send_pending_; base 83 net/websockets/websocket_job_test.cc void SetOnStartOpenConnection(const base::Closure& callback) { base 86 net/websockets/websocket_job_test.cc void SetOnConnected(const base::Closure& callback) { base 89 net/websockets/websocket_job_test.cc void SetOnSentData(const base::Closure& callback) { base 92 net/websockets/websocket_job_test.cc void SetOnReceivedData(const base::Closure& callback) { base 95 net/websockets/websocket_job_test.cc void SetOnClose(const base::Closure& callback) { base 145 net/websockets/websocket_job_test.cc base::Closure on_start_open_connection_; base 146 net/websockets/websocket_job_test.cc base::Closure on_connected_; base 147 net/websockets/websocket_job_test.cc base::Closure on_sent_data_; base 148 net/websockets/websocket_job_test.cc base::Closure on_received_data_; base 149 net/websockets/websocket_job_test.cc base::Closure on_close_; base 215 net/websockets/websocket_job_test.cc const base::Closure& callback) OVERRIDE { base 220 net/websockets/websocket_job_test.cc const base::Time& delete_begin, base 221 net/websockets/websocket_job_test.cc const base::Time& delete_end, base 227 net/websockets/websocket_job_test.cc const base::Time delete_begin, base 228 net/websockets/websocket_job_test.cc const base::Time delete_end, base 263 net/websockets/websocket_job_test.cc base::Time expiry = base::Time::Now() + base::TimeDelta::FromDays(1000); base 314 net/websockets/websocket_job_test.cc base::WeakPtr<SpdySession> session_; base 657 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 667 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 682 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 690 net/websockets/websocket_job_test.cc base::SplitString(kHandshakeResponseWithoutCookie, '\n', &lines); base 695 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 700 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 737 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 748 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 772 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 783 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 816 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 825 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 865 net/websockets/websocket_job_test.cc base::MessageLoop::current()->RunUntilIdle(); base 922 net/websockets/websocket_job_test.cc base::Bind(&WebSocketJobTest::DoSync, base::Unretained(test))); base 924 net/websockets/websocket_job_test.cc base::Bind(&WebSocketJobTest::DoSendRequest, base 925 net/websockets/websocket_job_test.cc base::Unretained(test))); base 927 net/websockets/websocket_job_test.cc base::Bind(&WebSocketJobTest::DoSendData, base::Unretained(test))); base 929 net/websockets/websocket_job_test.cc base::Bind(&WebSocketJobTest::DoSync, base::Unretained(test))); base 1051 net/websockets/websocket_job_test.cc base::Bind(&WebSocketJobTest::DoSync, base::Unretained(test))); base 1053 net/websockets/websocket_job_test.cc base::Bind(&WebSocketJobTest::DoSendRequest, base 1054 net/websockets/websocket_job_test.cc base::Unretained(test))); base 1056 net/websockets/websocket_job_test.cc base::Bind(&WebSocketJobTest::DoSendData, base::Unretained(test))); base 1058 net/websockets/websocket_job_test.cc base::Bind(&WebSocketJobTest::DoSync, base::Unretained(test))); base 12 net/websockets/websocket_net_log_params.cc base::Value* NetLogWebSocketHandshakeCallback( base 15 net/websockets/websocket_net_log_params.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 16 net/websockets/websocket_net_log_params.cc base::ListValue* header_list = new base::ListValue(); base 29 net/websockets/websocket_net_log_params.cc header_list->Append(new base::StringValue(entry)); base 35 net/websockets/websocket_net_log_params.cc key += base::StringPrintf("\\x%02x", (*headers)[pos] & 0xff); base 37 net/websockets/websocket_net_log_params.cc header_list->Append(new base::StringValue(key)); base 15 net/websockets/websocket_net_log_params.h NET_EXPORT_PRIVATE base::Value* NetLogWebSocketHandshakeCallback( base 15 net/websockets/websocket_net_log_params_test.cc base::ListValue* list = new base::ListValue(); base 16 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue("GET /demo HTTP/1.1")); base 17 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue("Host: example.com")); base 18 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue("Connection: Upgrade")); base 19 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue("Sec-WebSocket-Key2: 12998 5 Y3 1 .P00")); base 20 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue("Sec-WebSocket-Protocol: sample")); base 21 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue("Upgrade: WebSocket")); base 22 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue( base 24 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue("Origin: http://example.com")); base 25 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue(std::string())); base 26 net/websockets/websocket_net_log_params_test.cc list->Append(new base::StringValue( base 29 net/websockets/websocket_net_log_params_test.cc base::DictionaryValue expected; base 45 net/websockets/websocket_net_log_params_test.cc scoped_ptr<base::Value> actual( base 142 net/websockets/websocket_stream_test.cc static void RunUntilIdle() { base::RunLoop().RunUntilIdle(); } base 228 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> GetSamples(const std::string& name) { base 229 net/websockets/websocket_stream_test.cc base::HistogramBase* histogram = base 230 net/websockets/websocket_stream_test.cc base::StatisticsRecorder::FindHistogram(name); base 232 net/websockets/websocket_stream_test.cc : scoped_ptr<base::HistogramSamples>(); base 1004 net/websockets/websocket_stream_test.cc base::StringPrintf("Set-Cookie: WK-websocket-test-flood-%d=1\r\n", i); base 1037 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> original(GetSamples(name)); base 1049 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> samples(GetSamples(name)); base 1061 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> original(GetSamples(name)); base 1074 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> samples(GetSamples(name)); base 1086 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> original(GetSamples(name)); base 1105 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> samples(GetSamples(name)); base 40 net/websockets/websocket_test_util.cc return base::StringPrintf( base 61 net/websockets/websocket_test_util.cc return base::StringPrintf( base 208 net/websockets/websocket_throttle_test.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 223 net/websockets/websocket_throttle_test.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 236 net/websockets/websocket_throttle_test.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 247 net/websockets/websocket_throttle_test.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 257 net/websockets/websocket_throttle_test.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 267 net/websockets/websocket_throttle_test.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 272 net/websockets/websocket_throttle_test.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 299 net/websockets/websocket_throttle_test.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 345 net/websockets/websocket_throttle_test.cc base::MessageLoopForIO::current()->RunUntilIdle(); base 16 ppapi/host/error_conversion.cc return base::checked_cast<int32_t>(net_error); base 37 ppapi/host/resource_message_filter.cc base::MessageLoop::current()->message_loop_proxy()), base 39 ppapi/host/resource_message_filter.cc base::MessageLoop::current()->message_loop_proxy()), base 44 ppapi/host/resource_message_filter.cc scoped_refptr<base::MessageLoopProxy> reply_thread_message_loop_proxy) base 46 ppapi/host/resource_message_filter.cc base::MessageLoop::current()->message_loop_proxy()), base 64 ppapi/host/resource_message_filter.cc scoped_refptr<base::TaskRunner> runner = OverrideTaskRunnerForMessage(msg); base 73 ppapi/host/resource_message_filter.cc runner->PostTask(FROM_HERE, base::Bind( base 86 ppapi/host/resource_message_filter.cc base::Bind(&ResourceMessageFilter::SendReply, this, context, msg)); base 93 ppapi/host/resource_message_filter.cc scoped_refptr<base::TaskRunner> base 14 ppapi/host/resource_message_filter.h namespace base { base 77 ppapi/host/resource_message_filter.h public base::RefCountedThreadSafe< base 90 ppapi/host/resource_message_filter.h scoped_refptr<base::MessageLoopProxy> reply_thread_message_loop_proxy); base 111 ppapi/host/resource_message_filter.h virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 115 ppapi/host/resource_message_filter.h friend class base::DeleteHelper<ResourceMessageFilter>; base 116 ppapi/host/resource_message_filter.h friend class base::RefCountedThreadSafe< base 124 ppapi/host/resource_message_filter.h scoped_refptr<base::MessageLoopProxy> deletion_message_loop_proxy_; base 129 ppapi/host/resource_message_filter.h scoped_refptr<base::MessageLoopProxy> reply_thread_message_loop_proxy_; base 23 ppapi/host/resource_message_filter_unittest.cc base::WaitableEvent g_handler_completion(true, false); base 54 ppapi/host/resource_message_filter_unittest.cc base::MessageLoop* last_reply_message_loop() const { base 77 ppapi/host/resource_message_filter_unittest.cc last_reply_message_loop_ = base::MessageLoop::current(); base 87 ppapi/host/resource_message_filter_unittest.cc base::MessageLoop* last_reply_message_loop_; base 99 ppapi/host/resource_message_filter_unittest.cc MyResourceFilter(const base::Thread& io_thread, base 100 ppapi/host/resource_message_filter_unittest.cc const base::Thread& bg_thread, base 111 ppapi/host/resource_message_filter_unittest.cc base::MessageLoop* last_message_loop() const { return last_message_loop_; } base 113 ppapi/host/resource_message_filter_unittest.cc virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( base 124 ppapi/host/resource_message_filter_unittest.cc last_message_loop_ = base::MessageLoop::current(); base 134 ppapi/host/resource_message_filter_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 139 ppapi/host/resource_message_filter_unittest.cc base::MessageLoop* last_message_loop_; base 147 ppapi/host/resource_message_filter_unittest.cc base::Thread io_thread("test_io_thread"); base 150 ppapi/host/resource_message_filter_unittest.cc base::Thread bg_thread1("test_background_thread1"); base 155 ppapi/host/resource_message_filter_unittest.cc base::Thread bg_thread2("test_background_thread2"); base 211 ppapi/host/resource_message_filter_unittest.cc base::MessageLoop main_message_loop; base 217 ppapi/host/resource_message_filter_unittest.cc base::Bind(&ResourceMessageFilterTest::TestHandleMessageImpl, base 218 ppapi/host/resource_message_filter_unittest.cc base::Unretained(this))); base 220 ppapi/host/resource_message_filter_unittest.cc base::RunLoop().RunUntilIdle(); base 352 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc if (0 != (stat_ret = (*((struct NaClDescVtbl const *) desc->base.vtbl)-> base 156 ppapi/proxy/audio_input_resource.cc base::SyncSocket::Handle socket_handle = base 158 ppapi/proxy/audio_input_resource.cc CHECK(socket_handle != base::SyncSocket::kInvalidHandle); base 178 ppapi/proxy/audio_input_resource.cc base::SharedMemoryHandle shared_memory_handle, base 180 ppapi/proxy/audio_input_resource.cc base::SyncSocket::Handle socket_handle) { base 181 ppapi/proxy/audio_input_resource.cc socket_.reset(new base::CancelableSyncSocket(socket_handle)); base 182 ppapi/proxy/audio_input_resource.cc shared_memory_.reset(new base::SharedMemory(shared_memory_handle, false)); base 209 ppapi/proxy/audio_input_resource.cc audio_input_thread_.reset(new base::DelegateSimpleThread( base 296 ppapi/proxy/audio_input_resource.cc base::Bind(&AudioInputResource::OnPluginMsgOpenReply, base 297 ppapi/proxy/audio_input_resource.cc base::Unretained(this))); base 27 ppapi/proxy/audio_input_resource.h public base::DelegateSimpleThread::Delegate { base 74 ppapi/proxy/audio_input_resource.h void SetStreamInfo(base::SharedMemoryHandle shared_memory_handle, base 76 ppapi/proxy/audio_input_resource.h base::SyncSocket::Handle socket_handle); base 102 ppapi/proxy/audio_input_resource.h scoped_ptr<base::CancelableSyncSocket> socket_; base 107 ppapi/proxy/audio_input_resource.h scoped_ptr<base::SharedMemory> shared_memory_; base 113 ppapi/proxy/audio_input_resource.h scoped_ptr<base::DelegateSimpleThread> audio_input_thread_; base 24 ppapi/proxy/broker_dispatcher.cc base::ProcessId peer_pid, base 52 ppapi/proxy/broker_dispatcher.cc base::SyncSocket::Handle socket_handle = base 63 ppapi/proxy/broker_dispatcher.cc base::SyncSocket temp_socket(socket_handle); base 23 ppapi/proxy/broker_dispatcher.h base::ProcessId peer_pid, base 49 ppapi/proxy/device_enumeration_resource_helper.cc base::Bind( base 34 ppapi/proxy/device_enumeration_resource_helper.h : public base::SupportsWeakPtr<DeviceEnumerationResourceHelper> { base 123 ppapi/proxy/dispatch_reply_message.h base::Callback<void(const ResourceMessageReplyParams&)>* obj, base 73 ppapi/proxy/extensions_common_resource.cc scoped_ptr<base::ListValue> input_args_value( base 83 ppapi/proxy/extensions_common_resource.cc base::Bind(&ExtensionsCommonResource::OnPluginMsgCallReply, base 84 ppapi/proxy/extensions_common_resource.cc base::Unretained(this), output_args, callback)); base 91 ppapi/proxy/extensions_common_resource.cc scoped_ptr<base::ListValue> args_value(CreateListValueFromVarVector(args)); base 105 ppapi/proxy/extensions_common_resource.cc const base::ListValue& output) { base 14 ppapi/proxy/extensions_common_resource.h namespace base { base 60 ppapi/proxy/extensions_common_resource.h const base::ListValue& output); base 82 ppapi/proxy/file_chooser_resource.cc base::SplitString(input, ',', &type_list); base 87 ppapi/proxy/file_chooser_resource.cc base::TrimWhitespaceASCII(type, base::TRIM_ALL, &type); base 150 ppapi/proxy/file_chooser_resource.cc base::Bind(&FileChooserResource::OnPluginMsgShowReply, this)); base 42 ppapi/proxy/file_io_resource.cc void DoClose(base::PlatformFile file) { base 43 ppapi/proxy/file_io_resource.cc base::ClosePlatformFile(file); base 61 ppapi/proxy/file_io_resource.cc base::File file(file_handle_->raw_handle()); base 82 ppapi/proxy/file_io_resource.cc return base::ReadPlatformFile( base 105 ppapi/proxy/file_io_resource.cc return base::WritePlatformFileAtCurrentPos( base 108 ppapi/proxy/file_io_resource.cc return base::WritePlatformFile( base 171 ppapi/proxy/file_io_resource.cc base::Bind(&FileIOResource::OnPluginMsgOpenFileComplete, this, base 194 ppapi/proxy/file_io_resource.cc base::File::Info file_info; base 202 ppapi/proxy/file_io_resource.cc base::File file(file_handle_->raw_handle()); base 221 ppapi/proxy/file_io_resource.cc base::PostTaskAndReplyWithResult( base 242 ppapi/proxy/file_io_resource.cc base::Bind(&FileIOResource::OnPluginMsgGeneralComplete, this, base 312 ppapi/proxy/file_io_resource.cc base::Bind(&FileIOResource::OnRequestWriteQuotaComplete, base 343 ppapi/proxy/file_io_resource.cc base::Bind(&FileIOResource::OnRequestSetLengthQuotaComplete, base 369 ppapi/proxy/file_io_resource.cc base::Bind(&FileIOResource::OnPluginMsgGeneralComplete, this, base 421 ppapi/proxy/file_io_resource.cc base::Bind(&FileIOResource::OnPluginMsgRequestOSFileHandleComplete, this, base 435 ppapi/proxy/file_io_resource.cc return handle && (handle->raw_handle() != base::kInvalidPlatformFileValue); base 439 ppapi/proxy/file_io_resource.cc if (raw_handle_ != base::kInvalidPlatformFileValue) { base 440 ppapi/proxy/file_io_resource.cc base::TaskRunner* file_task_runner = base 443 ppapi/proxy/file_io_resource.cc base::Bind(&DoClose, raw_handle_)); base 469 ppapi/proxy/file_io_resource.cc result = base::ReadPlatformFile( base 481 ppapi/proxy/file_io_resource.cc base::PostTaskAndReplyWithResult( base 504 ppapi/proxy/file_io_resource.cc result = base::WritePlatformFileAtCurrentPos( base 507 ppapi/proxy/file_io_resource.cc result = base::WritePlatformFile( base 521 ppapi/proxy/file_io_resource.cc base::PostTaskAndReplyWithResult( base 537 ppapi/proxy/file_io_resource.cc base::Bind(&FileIOResource::OnPluginMsgGeneralComplete, this, base 91 ppapi/proxy/file_io_resource.h class FileHandleHolder : public base::RefCountedThreadSafe<FileHandleHolder> { base 100 ppapi/proxy/file_io_resource.h friend class base::RefCountedThreadSafe<FileHandleHolder>; base 110 ppapi/proxy/file_io_resource.h class QueryOp : public base::RefCountedThreadSafe<QueryOp> { base 118 ppapi/proxy/file_io_resource.h const base::File::Info& file_info() const { return file_info_; } base 121 ppapi/proxy/file_io_resource.h friend class base::RefCountedThreadSafe<QueryOp>; base 125 ppapi/proxy/file_io_resource.h base::File::Info file_info_; base 129 ppapi/proxy/file_io_resource.h class ReadOp : public base::RefCountedThreadSafe<ReadOp> { base 142 ppapi/proxy/file_io_resource.h friend class base::RefCountedThreadSafe<ReadOp>; base 152 ppapi/proxy/file_io_resource.h class WriteOp : public base::RefCountedThreadSafe<WriteOp> { base 165 ppapi/proxy/file_io_resource.h friend class base::RefCountedThreadSafe<WriteOp>; base 49 ppapi/proxy/file_mapping_resource.cc !base::IsValueInRangeForNumericType<off_t>(offset)) { base 52 ppapi/proxy/file_mapping_resource.cc if (!base::IsValueInRangeForNumericType<size_t>(length)) { base 77 ppapi/proxy/file_mapping_resource.cc base::Callback<MapResult()> map_cb( base 78 ppapi/proxy/file_mapping_resource.cc base::Bind(&FileMappingResource::DoMapBlocking, file_handle, *address, base 93 ppapi/proxy/file_mapping_resource.cc base::PostTaskAndReplyWithResult( base 99 ppapi/proxy/file_mapping_resource.cc base::Unretained(address), base 112 ppapi/proxy/file_mapping_resource.cc if (!base::IsValueInRangeForNumericType<size_t>(length)) base 115 ppapi/proxy/file_mapping_resource.cc base::Callback<int32_t()> unmap_cb( base 116 ppapi/proxy/file_mapping_resource.cc base::Bind(&FileMappingResource::DoUnmapBlocking, address, length)); base 122 ppapi/proxy/file_mapping_resource.cc base::PostTaskAndReplyWithResult( base 147 ppapi/proxy/file_mapping_resource.cc base::Bind(base::IgnoreResult(&FileMappingResource::DoUnmapBlocking), base 137 ppapi/proxy/file_ref_resource.cc base::Bind(&FileRefResource::RunTrackedCallback, this, callback)); base 148 ppapi/proxy/file_ref_resource.cc base::Bind(&FileRefResource::RunTrackedCallback, this, callback)); base 156 ppapi/proxy/file_ref_resource.cc base::Bind(&FileRefResource::RunTrackedCallback, this, callback)); base 165 ppapi/proxy/file_ref_resource.cc base::Bind(&FileRefResource::RunTrackedCallback, this, callback)); base 177 ppapi/proxy/file_ref_resource.cc base::Bind(&FileRefResource::OnQueryReply, this, info, callback)); base 187 ppapi/proxy/file_ref_resource.cc base::Bind(&FileRefResource::OnDirectoryEntriesReply, base 82 ppapi/proxy/file_system_resource.cc base::Bind(&FileSystemResource::OpenComplete, base 87 ppapi/proxy/file_system_resource.cc base::Bind(&FileSystemResource::OpenComplete, base 129 ppapi/proxy/file_system_resource.cc const base::Callback<void(int32_t)>& callback) { base 139 ppapi/proxy/file_system_resource.cc base::Bind(&FileSystemResource::InitIsolatedFileSystemComplete, base 144 ppapi/proxy/file_system_resource.cc base::Bind(&FileSystemResource::InitIsolatedFileSystemComplete, base 163 ppapi/proxy/file_system_resource.cc const base::Callback<void(int32_t)>& callback, base 193 ppapi/proxy/file_system_resource.cc base::Bind(&FileSystemResource::ReserveQuotaComplete, base 56 ppapi/proxy/file_system_resource.h typedef base::Callback<void(int64_t)> RequestQuotaCallback; base 62 ppapi/proxy/file_system_resource.h const base::Callback<void(int32_t)>& callback); base 79 ppapi/proxy/file_system_resource.h const base::Callback<void(int32_t)>& callback, base 229 ppapi/proxy/file_system_resource_unittest.cc base::Bind(&MockRequestQuotaCallback::Callback, base::Unretained(&cb1))); base 253 ppapi/proxy/file_system_resource_unittest.cc base::Bind(&MockRequestQuotaCallback::Callback, base::Unretained(&cb2))); base 279 ppapi/proxy/file_system_resource_unittest.cc base::Bind(&MockRequestQuotaCallback::Callback, base::Unretained(&cb1))); base 283 ppapi/proxy/file_system_resource_unittest.cc base::Bind(&MockRequestQuotaCallback::Callback, base::Unretained(&cb2))); base 310 ppapi/proxy/file_system_resource_unittest.cc base::Bind(&MockRequestQuotaCallback::Callback, base::Unretained(&cb1))); base 314 ppapi/proxy/file_system_resource_unittest.cc base::Bind(&MockRequestQuotaCallback::Callback, base::Unretained(&cb2))); base 358 ppapi/proxy/file_system_resource_unittest.cc base::Bind(&MockRequestQuotaCallback::Callback, base::Unretained(&cb1))); base 41 ppapi/proxy/flash_drm_resource.cc base::Bind(&FlashDRMResource::OnPluginMsgGetDeviceIDReply, this, base 69 ppapi/proxy/flash_drm_resource.cc base::Bind(&FlashDRMResource::OnPluginMsgGetVoucherFileReply, this, base 85 ppapi/proxy/flash_drm_resource.cc base::Bind(&FlashDRMResource::OnPluginMsgMonitorIsExternalReply, this, base 64 ppapi/proxy/flash_file_resource.cc base::FilePath::FromUTF8Unsafe(path_from)); base 66 ppapi/proxy/flash_file_resource.cc base::FilePath::FromUTF8Unsafe(path_to)); base 78 ppapi/proxy/flash_file_resource.cc base::FilePath::FromUTF8Unsafe(path)); base 90 ppapi/proxy/flash_file_resource.cc base::FilePath::FromUTF8Unsafe(path)); base 109 ppapi/proxy/flash_file_resource.cc base::FilePath::FromUTF8Unsafe(path)); base 185 ppapi/proxy/flash_file_resource.cc PepperFilePath pepper_path(domain_type, base::FilePath::FromUTF8Unsafe(path)); base 209 ppapi/proxy/flash_file_resource.cc base::File::Info file_info; base 210 ppapi/proxy/flash_file_resource.cc PepperFilePath pepper_path(domain_type, base::FilePath::FromUTF8Unsafe(path)); base 35 ppapi/proxy/flash_resource.cc base::TimeTicks expiration; base 40 ppapi/proxy/flash_resource.cc : public base::MRUCache<PP_Time, LocalTimeZoneOffsetEntry> { base 43 ppapi/proxy/flash_resource.cc : base::MRUCache<PP_Time, LocalTimeZoneOffsetEntry>(kCacheSize) {} base 48 ppapi/proxy/flash_resource.cc base::LazyInstance<LocalTimeZoneOffsetCache>::Leaky base 96 ppapi/proxy/flash_resource.cc base::debug::SetCrashKeyValue("subresource_url", url_string_var->value()); base 113 ppapi/proxy/flash_resource.cc base::TimeTicks now = base::TimeTicks::Now(); base 122 ppapi/proxy/flash_resource.cc base::TimeDelta expiration_delta = base 123 ppapi/proxy/flash_resource.cc base::TimeDelta::FromSeconds(kMaxCachedLocalOffsetAgeInSeconds); base 21 ppapi/proxy/gamepad_resource.cc base::subtle::Atomic32 ReadBegin(const base::subtle::Atomic32* sequence) { base 22 ppapi/proxy/gamepad_resource.cc base::subtle::Atomic32 version; base 24 ppapi/proxy/gamepad_resource.cc version = base::subtle::NoBarrier_Load(sequence); base 32 ppapi/proxy/gamepad_resource.cc base::PlatformThread::YieldCurrentThread(); base 37 ppapi/proxy/gamepad_resource.cc bool ReadRetry(const base::subtle::Atomic32* sequence, base 38 ppapi/proxy/gamepad_resource.cc base::subtle::Atomic32 version) { base 41 ppapi/proxy/gamepad_resource.cc return base::subtle::Release_Load(sequence) != version; base 55 ppapi/proxy/gamepad_resource.cc base::Bind(&GamepadResource::OnPluginMsgSendMemory, this)); base 85 ppapi/proxy/gamepad_resource.cc base::subtle::Atomic32 version; base 106 ppapi/proxy/gamepad_resource.cc base::SharedMemoryHandle handle = base::SharedMemory::NULLHandle(); base 109 ppapi/proxy/gamepad_resource.cc shared_memory_.reset(new base::SharedMemory(handle, true)); base 20 ppapi/proxy/gamepad_resource.h namespace base { base 48 ppapi/proxy/gamepad_resource.h scoped_ptr<base::SharedMemory> shared_memory_; base 128 ppapi/proxy/graphics_2d_resource.cc base::Bind(&Graphics2DResource::OnPluginMsgFlushACK, this)); base 90 ppapi/proxy/host_dispatcher.cc base::ProcessId peer_pid, base 61 ppapi/proxy/host_dispatcher.h base::ProcessId peer_pid, base 123 ppapi/proxy/host_dispatcher.h typedef base::hash_map<std::string, bool> PluginSupportedMap; base 106 ppapi/proxy/host_resolver_resource_base.cc base::Bind(&HostResolverResourceBase::OnPluginMsgResolveReply, base 107 ppapi/proxy/host_resolver_resource_base.cc base::Unretained(this))); base 167 ppapi/proxy/interface_list.cc base::LazyInstance<PpapiPermissions> g_process_global_permissions; base 393 ppapi/proxy/interface_list.cc uint32 data = base::Hash(name.c_str(), name.size()); base 52 ppapi/proxy/isolated_file_system_private_resource.cc base::Bind(&IsolatedFileSystemPrivateResource::OnBrowserOpenComplete, base 77 ppapi/proxy/isolated_file_system_private_resource.cc fsid, type, base::Bind(&RunTrackedCallback, callback)); base 59 ppapi/proxy/media_stream_track_resource_base.cc base::SharedMemoryHandle shm_handle = base::SharedMemory::NULLHandle(); base 62 ppapi/proxy/media_stream_track_resource_base.cc scoped_ptr<base::SharedMemory>(new base::SharedMemory(shm_handle, true)), base 87 ppapi/proxy/media_stream_video_track_resource.cc base::Bind(&MediaStreamVideoTrackResource::OnPluginMsgConfigureReply, base 88 ppapi/proxy/media_stream_video_track_resource.cc base::Unretained(this)), base 47 ppapi/proxy/nacl_message_scanner.cc base::Callback<void(PP_Resource, const IPC::Message&, SerializedHandle*)> base 85 ppapi/proxy/nacl_message_scanner.cc base::Bind(&HandleWriter, &results->handle_index)); base 244 ppapi/proxy/nacl_message_scanner.cc base::AutoLock lock(lock_); base 264 ppapi/proxy/nacl_message_scanner.cc base::AutoLock lock(lock_); base 269 ppapi/proxy/nacl_message_scanner.cc base::AutoLock lock(lock_); base 314 ppapi/proxy/nacl_message_scanner.cc base::Bind(&NaClMessageScanner::AuditNestedMessage, base 315 ppapi/proxy/nacl_message_scanner.cc base::Unretained(this)); base 62 ppapi/proxy/nacl_message_scanner.h base::Lock lock_; base 85 ppapi/proxy/nacl_message_scanner.h base::Lock lock_; base 15 ppapi/proxy/network_monitor_resource.h namespace base { base 40 ppapi/proxy/network_proxy_resource.cc base::Bind(&NetworkProxyResource::OnPluginMsgGetProxyForURLReply, base 41 ppapi/proxy/network_proxy_resource.cc base::Unretained(this), base 42 ppapi/proxy/network_proxy_resource.cc base::Unretained(proxy_string), base 53 ppapi/proxy/output_protection_resource.cc base::Bind(&OutputProtectionResource::OnPluginMsgQueryStatusReply, base 54 ppapi/proxy/output_protection_resource.cc base::Unretained(this), base 92 ppapi/proxy/output_protection_resource.cc base::Bind(&OutputProtectionResource::OnPluginMsgEnableProtectionReply, base 93 ppapi/proxy/output_protection_resource.cc base::Unretained(this))); base 66 ppapi/proxy/pdf_resource.cc const base::char16* string = base 67 ppapi/proxy/pdf_resource.cc reinterpret_cast<const base::char16*>(input_string); base 68 ppapi/proxy/pdf_resource.cc const base::char16* term = base 69 ppapi/proxy/pdf_resource.cc reinterpret_cast<const base::char16*>(input_term); base 184 ppapi/proxy/pdf_resource.cc base::SharedMemoryHandle handle; base 200 ppapi/proxy/pdf_resource.cc PpapiHostMsg_PDF_SetSelectedText(base::UTF8ToUTF16(selected_text))); base 68 ppapi/proxy/pdf_resource_unittest.cc base::string16 input; base 69 ppapi/proxy/pdf_resource_unittest.cc base::string16 term; base 70 ppapi/proxy/pdf_resource_unittest.cc base::UTF8ToUTF16("abcdefabcdef", 12, &input); base 71 ppapi/proxy/pdf_resource_unittest.cc base::UTF8ToUTF16("bc", 2, &term); base 71 ppapi/proxy/platform_verification_private_resource.cc BROWSER, challenge_message, base::Bind( base 73 ppapi/proxy/platform_verification_private_resource.cc base::Unretained(this), output_params)); base 22 ppapi/proxy/plugin_array_buffer_var.cc using base::SharedMemory; base 23 ppapi/proxy/plugin_array_buffer_var.cc using base::SharedMemoryHandle; base 31 ppapi/proxy/plugin_array_buffer_var.cc plugin_handle_(base::SharedMemory::NULLHandle()), base 95 ppapi/proxy/plugin_array_buffer_var.cc base::SharedMemoryHandle tmp_handle = plugin_handle.shmem(); base 105 ppapi/proxy/plugin_array_buffer_var.cc *plugin_out_handle = base::SharedMemory::NULLHandle(); base 25 ppapi/proxy/plugin_array_buffer_var.h base::SharedMemoryHandle plugin_handle); base 35 ppapi/proxy/plugin_array_buffer_var.h base::SharedMemoryHandle* plugin_handle) OVERRIDE; base 42 ppapi/proxy/plugin_array_buffer_var.h base::SharedMemoryHandle plugin_handle_; base 43 ppapi/proxy/plugin_array_buffer_var.h scoped_ptr<base::SharedMemory> shmem_; base 161 ppapi/proxy/plugin_dispatcher.cc base::ProcessId peer_pid, base 68 ppapi/proxy/plugin_dispatcher.h public base::SupportsWeakPtr<PluginDispatcher> { base 132 ppapi/proxy/plugin_dispatcher.h base::ProcessId peer_pid, base 183 ppapi/proxy/plugin_dispatcher.h typedef base::hash_map<std::string, const void*> InterfaceMap; base 186 ppapi/proxy/plugin_dispatcher.h typedef base::hash_map<PP_Instance, InstanceData> InstanceDataMap; base 168 ppapi/proxy/plugin_globals.cc base::TaskRunner* PluginGlobals::GetFileTaskRunner() { base 170 ppapi/proxy/plugin_globals.cc file_thread_.reset(new base::Thread("Plugin::File")); base 171 ppapi/proxy/plugin_globals.cc base::Thread::Options options; base 172 ppapi/proxy/plugin_globals.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 181 ppapi/proxy/plugin_globals.cc if (!GetBrowserSender() || !base::MessageLoop::current()) base 187 ppapi/proxy/plugin_globals.cc RunWhileLocked(base::Bind(&PluginGlobals::OnReleaseKeepaliveThrottle, base 189 ppapi/proxy/plugin_globals.cc base::TimeDelta::FromMilliseconds( base 20 ppapi/proxy/plugin_globals.h namespace base { base 76 ppapi/proxy/plugin_globals.h base::TaskRunner* GetFileTaskRunner() OVERRIDE; base 111 ppapi/proxy/plugin_globals.h base::ThreadLocalStorage::Slot* msg_loop_slot() { base 117 ppapi/proxy/plugin_globals.h void set_msg_loop_slot(base::ThreadLocalStorage::Slot* slot) { base 158 ppapi/proxy/plugin_globals.h scoped_ptr<base::ThreadLocalStorage::Slot> msg_loop_slot_; base 175 ppapi/proxy/plugin_globals.h scoped_ptr<base::Thread> file_thread_; base 188 ppapi/proxy/plugin_globals.h base::WeakPtrFactory<PluginGlobals> weak_factory_; base 83 ppapi/proxy/plugin_main_irt.cc explicit PpapiDispatcher(scoped_refptr<base::MessageLoopProxy> io_loop); base 86 ppapi/proxy/plugin_main_irt.cc virtual base::MessageLoopProxy* GetIPCMessageLoop() OVERRIDE; base 87 ppapi/proxy/plugin_main_irt.cc virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; base 89 ppapi/proxy/plugin_main_irt.cc base::PlatformFile handle, base 90 ppapi/proxy/plugin_main_irt.cc base::ProcessId peer_pid, base 121 ppapi/proxy/plugin_main_irt.cc scoped_refptr<base::MessageLoopProxy> message_loop_; base 122 ppapi/proxy/plugin_main_irt.cc base::WaitableEvent shutdown_event_; base 126 ppapi/proxy/plugin_main_irt.cc PpapiDispatcher::PpapiDispatcher(scoped_refptr<base::MessageLoopProxy> io_loop) base 133 ppapi/proxy/plugin_main_irt.cc "NaCl IPC", base::FileDescriptor(g_nacl_ipc_browser_fd, false)); base 147 ppapi/proxy/plugin_main_irt.cc base::MessageLoopProxy* PpapiDispatcher::GetIPCMessageLoop() { base 151 ppapi/proxy/plugin_main_irt.cc base::WaitableEvent* PpapiDispatcher::GetShutdownEvent() { base 156 ppapi/proxy/plugin_main_irt.cc base::PlatformFile handle, base 157 ppapi/proxy/plugin_main_irt.cc base::ProcessId peer_pid, base 272 ppapi/proxy/plugin_main_irt.cc "nacl", base::FileDescriptor(g_nacl_ipc_renderer_fd, false)); base 273 ppapi/proxy/plugin_main_irt.cc if (!dispatcher->InitPluginWithChannel(this, base::kNullProcessId, base 322 ppapi/proxy/plugin_main_irt.cc base::AtExitManager exit_manager; base 324 ppapi/proxy/plugin_main_irt.cc base::MessageLoop loop; base 329 ppapi/proxy/plugin_main_irt.cc base::Thread io_thread("Chrome_NaClIOThread"); base 330 ppapi/proxy/plugin_main_irt.cc base::Thread::Options options; base 331 ppapi/proxy/plugin_main_irt.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 84 ppapi/proxy/plugin_message_filter.cc scoped_refptr<base::MessageLoopProxy> target = base 90 ppapi/proxy/plugin_message_filter.cc base::Bind(&DispatchResourceReply, reply_params, nested_msg)); base 21 ppapi/proxy/plugin_resource_callback.h : public base::RefCounted<PluginResourceCallbackBase> { base 26 ppapi/proxy/plugin_resource_callback.h friend class base::RefCounted<PluginResourceCallbackBase>; base 19 ppapi/proxy/plugin_var_serialization_rules.cc const base::WeakPtr<PluginDispatcher>& dispatcher) base 24 ppapi/proxy/plugin_var_serialization_rules.h const base::WeakPtr<PluginDispatcher>& dispatcher); base 46 ppapi/proxy/plugin_var_serialization_rules.h base::WeakPtr<PluginDispatcher> dispatcher_; base 312 ppapi/proxy/plugin_var_tracker.cc base::SharedMemoryHandle handle) { base 501 ppapi/proxy/plugin_var_tracker.cc base::SharedMemoryHandle handle, base 510 ppapi/proxy/plugin_var_tracker.cc base::SharedMemoryHandle* handle, base 70 ppapi/proxy/plugin_var_tracker.h base::SharedMemoryHandle file, base 74 ppapi/proxy/plugin_var_tracker.h base::SharedMemoryHandle* handle, base 107 ppapi/proxy/plugin_var_tracker.h base::SharedMemoryHandle handle) OVERRIDE; base 129 ppapi/proxy/ppapi_command_buffer_proxy.cc scoped_ptr<base::SharedMemory> shared_memory( base 130 ppapi/proxy/ppapi_command_buffer_proxy.cc new base::SharedMemory(handle.shmem(), false)); base 150 ppapi/proxy/ppapi_command_buffer_proxy.cc void PpapiCommandBufferProxy::Echo(const base::Closure& callback) { base 169 ppapi/proxy/ppapi_command_buffer_proxy.cc const base::Closure& callback) { base 174 ppapi/proxy/ppapi_command_buffer_proxy.cc const base::Closure& callback) { base 54 ppapi/proxy/ppapi_command_buffer_proxy.h const base::Closure& callback) OVERRIDE; base 56 ppapi/proxy/ppapi_command_buffer_proxy.h const base::Closure& callback) OVERRIDE; base 60 ppapi/proxy/ppapi_command_buffer_proxy.h virtual void Echo(const base::Closure& callback) OVERRIDE; base 72 ppapi/proxy/ppapi_command_buffer_proxy.h base::Closure channel_error_callback_; base 382 ppapi/proxy/ppapi_messages.h base::FilePath /* path */, base 388 ppapi/proxy/ppapi_messages.h base::ProcessId /* renderer_pid */, base 444 ppapi/proxy/ppapi_messages.h base::FilePath /* plugin_data_path */) base 454 ppapi/proxy/ppapi_messages.h base::FilePath /* plugin_data_path */, base 464 ppapi/proxy/ppapi_messages.h base::FilePath /* plugin_data_path */) base 471 ppapi/proxy/ppapi_messages.h base::FilePath /* plugin_data_path */, base 482 ppapi/proxy/ppapi_messages.h base::FilePath /* plugin_data_path */, base 492 ppapi/proxy/ppapi_messages.h base::FilePath /* plugin_data_path */, base 1238 ppapi/proxy/ppapi_messages.h base::ListValue /* args */) base 1246 ppapi/proxy/ppapi_messages.h base::ListValue /* args */) base 1248 ppapi/proxy/ppapi_messages.h base::ListValue /* output */) base 1305 ppapi/proxy/ppapi_messages.h base::FilePath /* external_path */) base 1846 ppapi/proxy/ppapi_messages.h base::Time /* time */) base 1972 ppapi/proxy/ppapi_messages.h base::File::Info /* file_info */) base 2068 ppapi/proxy/ppapi_messages.h base::string16 /* selected_text */) base 235 ppapi/proxy/ppapi_param_traits.cc ParamTraits<base::SharedMemoryHandle>::Write(m, p.shmem()); base 256 ppapi/proxy/ppapi_param_traits.cc base::SharedMemoryHandle handle; base 257 ppapi/proxy/ppapi_param_traits.cc if (ParamTraits<base::SharedMemoryHandle>::Read(m, iter, &handle)) { base 496 ppapi/proxy/ppapi_param_traits.cc base::FilePath path; base 545 ppapi/proxy/ppapi_param_traits.cc ParamTraits<base::ListValue>::Write(m, p.values_); base 552 ppapi/proxy/ppapi_param_traits.cc return ParamTraits<base::ListValue>::Read(m, iter, &(r->values_)); base 8 ppapi/proxy/ppapi_perftests.cc return base::PerfTestSuite(argc, argv).Run(); base 81 ppapi/proxy/ppapi_proxy_test.cc base::MessageLoopProxy* ipc_message_loop_proxy, base 82 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent* shutdown_event, base 83 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent* harness_set_up) { base 90 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent* harness_torn_down) { base 95 ppapi/proxy/ppapi_proxy_test.cc void RunTaskOnRemoteHarness(const base::Closure& task, base 96 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent* task_complete) { base 189 ppapi/proxy/ppapi_proxy_test.cc base::MessageLoopProxy* ipc_message_loop, base 190 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent* shutdown_event, base 205 ppapi/proxy/ppapi_proxy_test.cc base::kNullProcessId, base 239 ppapi/proxy/ppapi_proxy_test.cc base::MessageLoopProxy* base 244 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent* base 251 ppapi/proxy/ppapi_proxy_test.cc base::PlatformFile handle, base 252 ppapi/proxy/ppapi_proxy_test.cc base::ProcessId /* remote_pid */, base 255 ppapi/proxy/ppapi_proxy_test.cc base::Process::Current().handle(), base 325 ppapi/proxy/ppapi_proxy_test.cc base::MessageLoopProxy::current()); base 326 ppapi/proxy/ppapi_proxy_test.cc nested_main_thread_message_loop_.reset(new base::RunLoop()); base 328 ppapi/proxy/ppapi_proxy_test.cc secondary_thread_.reset(new base::DelegateSimpleThread( base 377 ppapi/proxy/ppapi_proxy_test.cc base::Bind(&PluginProxyMultiThreadTest::QuitNestedLoop, base 378 ppapi/proxy/ppapi_proxy_test.cc base::Unretained(this))); base 448 ppapi/proxy/ppapi_proxy_test.cc base::MessageLoopProxy* ipc_message_loop, base 449 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent* shutdown_event, base 463 ppapi/proxy/ppapi_proxy_test.cc base::kNullProcessId, channel_handle, base 486 ppapi/proxy/ppapi_proxy_test.cc base::MessageLoopProxy* base 491 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent* HostProxyTestHarness::DelegateMock::GetShutdownEvent() { base 497 ppapi/proxy/ppapi_proxy_test.cc base::PlatformFile handle, base 498 ppapi/proxy/ppapi_proxy_test.cc base::ProcessId /* remote_pid */, base 501 ppapi/proxy/ppapi_proxy_test.cc base::Process::Current().handle(), base 548 ppapi/proxy/ppapi_proxy_test.cc base::Thread::Options options; base 549 ppapi/proxy/ppapi_proxy_test.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 556 ppapi/proxy/ppapi_proxy_test.cc handle_name << "TwoWayTestChannel" << base::GetCurrentProcId(); base 558 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent remote_harness_set_up(true, false); base 561 ppapi/proxy/ppapi_proxy_test.cc base::Bind(&SetUpRemoteHarness, base 575 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent remote_harness_torn_down(true, false); base 578 ppapi/proxy/ppapi_proxy_test.cc base::Bind(&TearDownRemoteHarness, base 588 ppapi/proxy/ppapi_proxy_test.cc void TwoWayTest::PostTaskOnRemoteHarness(const base::Closure& task) { base 589 ppapi/proxy/ppapi_proxy_test.cc base::WaitableEvent task_complete(true, false); base 591 ppapi/proxy/ppapi_proxy_test.cc base::Bind(&RunTaskOnRemoteHarness, base 26 ppapi/proxy/ppapi_proxy_test.h namespace base { base 61 ppapi/proxy/ppapi_proxy_test.h base::MessageLoopProxy* ipc_message_loop, base 62 ppapi/proxy/ppapi_proxy_test.h base::WaitableEvent* shutdown_event, base 112 ppapi/proxy/ppapi_proxy_test.h base::MessageLoopProxy* ipc_message_loop, base 113 ppapi/proxy/ppapi_proxy_test.h base::WaitableEvent* shutdown_event, base 123 ppapi/proxy/ppapi_proxy_test.h void Init(base::MessageLoopProxy* ipc_message_loop, base 124 ppapi/proxy/ppapi_proxy_test.h base::WaitableEvent* shutdown_event) { base 134 ppapi/proxy/ppapi_proxy_test.h virtual base::MessageLoopProxy* GetIPCMessageLoop() OVERRIDE; base 135 ppapi/proxy/ppapi_proxy_test.h virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; base 137 ppapi/proxy/ppapi_proxy_test.h base::PlatformFile handle, base 138 ppapi/proxy/ppapi_proxy_test.h base::ProcessId remote_pid, base 158 ppapi/proxy/ppapi_proxy_test.h base::MessageLoopProxy* ipc_message_loop_; // Weak base 159 ppapi/proxy/ppapi_proxy_test.h base::WaitableEvent* shutdown_event_; // Weak base 185 ppapi/proxy/ppapi_proxy_test.h base::MessageLoop message_loop_; base 195 ppapi/proxy/ppapi_proxy_test.h public base::DelegateSimpleThread::Delegate { base 222 ppapi/proxy/ppapi_proxy_test.h scoped_refptr<base::MessageLoopProxy> main_thread_message_loop_proxy_; base 233 ppapi/proxy/ppapi_proxy_test.h scoped_ptr<base::DelegateSimpleThread> secondary_thread_; base 234 ppapi/proxy/ppapi_proxy_test.h scoped_ptr<base::RunLoop> nested_main_thread_message_loop_; base 255 ppapi/proxy/ppapi_proxy_test.h base::MessageLoopProxy* ipc_message_loop, base 256 ppapi/proxy/ppapi_proxy_test.h base::WaitableEvent* shutdown_event, base 266 ppapi/proxy/ppapi_proxy_test.h void Init(base::MessageLoopProxy* ipc_message_loop, base 267 ppapi/proxy/ppapi_proxy_test.h base::WaitableEvent* shutdown_event) { base 273 ppapi/proxy/ppapi_proxy_test.h virtual base::MessageLoopProxy* GetIPCMessageLoop(); base 274 ppapi/proxy/ppapi_proxy_test.h virtual base::WaitableEvent* GetShutdownEvent(); base 276 ppapi/proxy/ppapi_proxy_test.h base::PlatformFile handle, base 277 ppapi/proxy/ppapi_proxy_test.h base::ProcessId remote_pid, base 281 ppapi/proxy/ppapi_proxy_test.h base::MessageLoopProxy* ipc_message_loop_; // Weak base 282 ppapi/proxy/ppapi_proxy_test.h base::WaitableEvent* shutdown_event_; // Weak base 309 ppapi/proxy/ppapi_proxy_test.h base::MessageLoop message_loop_; base 336 ppapi/proxy/ppapi_proxy_test.h void PostTaskOnRemoteHarness(const base::Closure& task); base 343 ppapi/proxy/ppapi_proxy_test.h base::Thread io_thread_; base 345 ppapi/proxy/ppapi_proxy_test.h base::Thread plugin_thread_; base 347 ppapi/proxy/ppapi_proxy_test.h base::MessageLoop message_loop_; base 356 ppapi/proxy/ppapi_proxy_test.h base::WaitableEvent channel_created_; base 357 ppapi/proxy/ppapi_proxy_test.h base::WaitableEvent shutdown_event_; base 248 ppapi/proxy/ppb_audio_proxy.cc base::SharedMemoryHandle shared_memory = IPC::InvalidPlatformFileForTransit(); base 272 ppapi/proxy/ppb_audio_proxy.cc base::SharedMemoryHandle* foreign_shared_memory_handle, base 321 ppapi/proxy/ppb_audio_proxy.cc base::SyncSocket temp_socket( base 323 ppapi/proxy/ppb_audio_proxy.cc base::SharedMemory temp_mem(handle.shmem(), false); base 77 ppapi/proxy/ppb_audio_proxy.h base::SharedMemoryHandle* foreign_shared_memory_handle, base 52 ppapi/proxy/ppb_broker_proxy.cc base::SyncSocket::Handle socket_handle_; base 60 ppapi/proxy/ppb_broker_proxy.cc socket_handle_(base::kInvalidPlatformFileValue) { base 64 ppapi/proxy/ppb_broker_proxy.cc socket_handle_ = base::kInvalidPlatformFileValue; base 87 ppapi/proxy/ppb_broker_proxy.cc if (socket_handle_ == base::kInvalidPlatformFileValue) base 96 ppapi/proxy/ppb_broker_proxy.cc DCHECK(socket_handle_ == base::kInvalidPlatformFileValue); base 102 ppapi/proxy/ppb_broker_proxy.cc base::SyncSocket temp_socket( base 184 ppapi/proxy/ppb_broker_proxy.cc base::SyncSocket temp_socket( base 200 ppapi/proxy/ppb_broker_proxy.cc int32_t socket_handle = PlatformFileToInt(base::kInvalidPlatformFileValue); base 205 ppapi/proxy/ppb_broker_proxy.cc socket_handle == PlatformFileToInt(base::kInvalidPlatformFileValue)); base 229 ppapi/proxy/ppb_broker_proxy.cc base::SyncSocket temp_socket( base 26 ppapi/proxy/ppb_buffer_proxy.cc const base::SharedMemoryHandle& shm_handle, base 95 ppapi/proxy/ppb_buffer_proxy.cc base::SharedMemoryHandle shm_handle, base 143 ppapi/proxy/ppb_buffer_proxy.cc base::PlatformFile platform_file = base 25 ppapi/proxy/ppb_buffer_proxy.h const base::SharedMemoryHandle& shm_handle, base 42 ppapi/proxy/ppb_buffer_proxy.h base::SharedMemory shm_; base 57 ppapi/proxy/ppb_buffer_proxy.h base::SharedMemoryHandle shm_handle, base 39 ppapi/proxy/ppb_core_proxy.cc return TimeToPPTime(base::Time::Now()); base 43 ppapi/proxy/ppb_core_proxy.cc return TimeTicksToPPTimeTicks(base::TimeTicks::Now()); base 68 ppapi/proxy/ppb_core_proxy.cc RunWhileLocked(base::Bind(&CallbackWrapper, callback, result)), base 69 ppapi/proxy/ppb_core_proxy.cc base::TimeDelta::FromMilliseconds(delay_in_ms)); base 137 ppapi/proxy/ppb_flash_message_loop_proxy.cc base::Bind(&PPB_Flash_MessageLoop_Proxy::WillQuitSoon, AsWeakPtr(), base 138 ppapi/proxy/ppb_flash_message_loop_proxy.cc base::Passed(scoped_ptr<IPC::Message>(reply))); base 28 ppapi/proxy/ppb_flash_message_loop_proxy.h public base::SupportsWeakPtr<PPB_Flash_MessageLoop_Proxy> { base 31 ppapi/proxy/ppb_graphics_3d_proxy.cc base::SharedMemoryHandle TransportSHMHandle(Dispatcher* dispatcher, base 32 ppapi/proxy/ppb_graphics_3d_proxy.cc base::SharedMemory* shm) { base 33 ppapi/proxy/ppb_graphics_3d_proxy.cc base::PlatformFile source = base 102 ppapi/proxy/ppb_image_data_proxy.cc : added_time(base::TimeTicks::Now()), base 107 ppapi/proxy/ppb_image_data_proxy.cc base::TimeTicks added_time; base 194 ppapi/proxy/ppb_image_data_proxy.cc base::TimeTicks threshold_time = base 195 ppapi/proxy/ppb_image_data_proxy.cc base::TimeTicks::Now() - base::TimeDelta::FromSeconds(kMaxAgeSeconds); base 259 ppapi/proxy/ppb_image_data_proxy.cc base::WeakPtrFactory<ImageDataCache> weak_factory_; base 285 ppapi/proxy/ppb_image_data_proxy.cc base::MessageLoop::current()->PostDelayedTask( base 287 ppapi/proxy/ppb_image_data_proxy.cc RunWhileLocked(base::Bind(&ImageDataCache::OnTimer, base 290 ppapi/proxy/ppb_image_data_proxy.cc base::TimeDelta::FromSeconds(kMaxAgeSeconds)); base 441 ppapi/proxy/ppb_image_data_proxy.cc const base::SharedMemoryHandle& handle) base 509 ppapi/proxy/ppb_image_data_proxy.cc base::SharedMemoryHandle image_handle = image_handle_wrapper.shmem(); base 112 ppapi/proxy/ppb_image_data_proxy.h const base::SharedMemoryHandle& handle); base 122 ppapi/proxy/ppb_image_data_proxy.h base::SharedMemory shm_; base 823 ppapi/proxy/ppb_instance_proxy.cc base::MessageLoop::current()->PostTask( base 825 ppapi/proxy/ppb_instance_proxy.cc RunWhileLocked(base::Bind(&RequestSurroundingText, instance))); base 51 ppapi/proxy/ppb_message_loop_proxy.cc base::ThreadLocalStorage::Slot* slot = new base::ThreadLocalStorage::Slot(); base 56 ppapi/proxy/ppb_message_loop_proxy.cc loop_proxy_ = base::MessageLoopProxy::current(); base 73 ppapi/proxy/ppb_message_loop_proxy.cc base::ThreadLocalStorage::Slot* slot = globals->msg_loop_slot(); base 75 ppapi/proxy/ppb_message_loop_proxy.cc slot = new base::ThreadLocalStorage::Slot(&ReleaseMessageLoop); base 89 ppapi/proxy/ppb_message_loop_proxy.cc loop_.reset(new base::MessageLoop); base 90 ppapi/proxy/ppb_message_loop_proxy.cc loop_proxy_ = base::MessageLoopProxy::current(); base 110 ppapi/proxy/ppb_message_loop_proxy.cc base::Bind(&base::MessageLoop::Run, base::Unretained(loop_.get()))); base 128 ppapi/proxy/ppb_message_loop_proxy.cc base::Bind(callback.func, callback.user_data, base 144 ppapi/proxy/ppb_message_loop_proxy.cc PostClosure(FROM_HERE, base::MessageLoop::QuitClosure(), 0); base 178 ppapi/proxy/ppb_message_loop_proxy.cc const base::Closure& closure, base 182 ppapi/proxy/ppb_message_loop_proxy.cc from_here, closure, base::TimeDelta::FromMilliseconds(delay_ms)); base 192 ppapi/proxy/ppb_message_loop_proxy.cc base::MessageLoopProxy* MessageLoopResource::GetMessageLoopProxy() { base 50 ppapi/proxy/ppb_message_loop_proxy.h base::Closure closure; base 63 ppapi/proxy/ppb_message_loop_proxy.h const base::Closure& closure, base 66 ppapi/proxy/ppb_message_loop_proxy.h virtual base::MessageLoopProxy* GetMessageLoopProxy() OVERRIDE; base 75 ppapi/proxy/ppb_message_loop_proxy.h scoped_ptr<base::MessageLoop> loop_; base 76 ppapi/proxy/ppb_message_loop_proxy.h scoped_refptr<base::MessageLoopProxy> loop_proxy_; base 54 ppapi/proxy/ppb_testing_proxy.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 55 ppapi/proxy/ppb_testing_proxy.cc base::MessageLoop::current()); base 58 ppapi/proxy/ppb_testing_proxy.cc base::MessageLoop::current()->Run(); base 64 ppapi/proxy/ppb_testing_proxy.cc base::MessageLoop::current()->QuitNow(); base 383 ppapi/proxy/ppb_var_deprecated_proxy.cc base::MessageLoop::current()->PostNonNestableTask( base 385 ppapi/proxy/ppb_var_deprecated_proxy.cc RunWhileLocked(base::Bind(&PPB_Var_Deprecated_Proxy::DoReleaseObject, base 95 ppapi/proxy/ppb_var_deprecated_proxy.h base::WeakPtrFactory<PPB_Var_Deprecated_Proxy> task_factory_; base 36 ppapi/proxy/ppb_var_unittest.cc test_strings_[i] = base::IntToString(i); base 92 ppapi/proxy/ppb_var_unittest.cc class CreateVarThreadDelegate : public base::PlatformThread::Delegate { base 122 ppapi/proxy/ppb_var_unittest.cc class ChangeRefVarThreadDelegate : public base::PlatformThread::Delegate { base 150 ppapi/proxy/ppb_var_unittest.cc class RemoveRefVarThreadDelegate : public base::PlatformThread::Delegate { base 168 ppapi/proxy/ppb_var_unittest.cc std::vector<base::PlatformThreadHandle> create_var_threads(kNumThreads); base 189 ppapi/proxy/ppb_var_unittest.cc base::PlatformThread::Create(0, &create_var_delegates[i], base 192 ppapi/proxy/ppb_var_unittest.cc base::PlatformThread::Join(create_var_threads[i]); base 197 ppapi/proxy/ppb_var_unittest.cc std::vector<base::PlatformThreadHandle> change_ref_var_threads(kNumThreads); base 202 ppapi/proxy/ppb_var_unittest.cc base::PlatformThread::Create(0, &change_ref_var_delegates[i], base 206 ppapi/proxy/ppb_var_unittest.cc base::PlatformThread::Join(change_ref_var_threads[i]); base 220 ppapi/proxy/ppb_var_unittest.cc std::vector<base::PlatformThreadHandle> remove_ref_var_threads(kNumThreads); base 225 ppapi/proxy/ppb_var_unittest.cc base::PlatformThread::Create(0, &remove_ref_var_delegates[i], base 229 ppapi/proxy/ppb_var_unittest.cc base::PlatformThread::Join(remove_ref_var_threads[i]); base 44 ppapi/proxy/ppp_content_decryptor_private_proxy.cc base::SharedMemoryHandle* shared_mem_handle) { base 54 ppapi/proxy/ppp_content_decryptor_private_proxy.cc base::PlatformFile platform_file = base 88 ppapi/proxy/ppp_content_decryptor_private_proxy.cc buffer->handle = base::SharedMemoryHandle(); base 100 ppapi/proxy/ppp_content_decryptor_private_proxy.cc base::SharedMemoryHandle handle; base 120 ppapi/proxy/ppp_instance_proxy.cc base::Bind(dispatcher->local_get_interface()))); base 49 ppapi/proxy/ppp_instance_proxy_unittest.cc base::WaitableEvent did_change_view_called(false, false); base 59 ppapi/proxy/ppp_instance_proxy_unittest.cc base::WaitableEvent did_change_focus_called(false, false); base 19 ppapi/proxy/ppp_messaging_proxy_perftest.cc base::WaitableEvent handle_message_called(false, false); base 63 ppapi/proxy/ppp_messaging_proxy_perftest.cc base::StringToInt(command_line->GetSwitchValueASCII("seed"), base 67 ppapi/proxy/ppp_messaging_proxy_perftest.cc base::StringToInt(command_line->GetSwitchValueASCII("string_count"), base 71 ppapi/proxy/ppp_messaging_proxy_perftest.cc base::StringToInt(command_line->GetSwitchValueASCII("max_string_size"), base 76 ppapi/proxy/ppp_messaging_proxy_perftest.cc base::PerfTimeLogger logger("PppMessagingPerfTest.StringPerformance"); base 25 ppapi/proxy/ppp_messaging_proxy_unittest.cc base::WaitableEvent handle_message_called(false, false); base 128 ppapi/proxy/ppp_messaging_proxy_unittest.cc base::Bind(CompareAndReleaseStringVar, base 39 ppapi/proxy/printing_resource.cc base::Bind(&PrintingResource::OnPluginMsgGetDefaultPrintSettingsReply, base 128 ppapi/proxy/proxy_array_output.h public base::RefCounted<RefCountedArrayOutputAdapter<T> > { base 20 ppapi/proxy/proxy_channel.cc peer_pid_(base::kNullProcessId), base 29 ppapi/proxy/proxy_channel.cc base::ProcessId peer_pid, base 46 ppapi/proxy/proxy_channel.cc peer_pid_ = base::GetCurrentProcId(); base 62 ppapi/proxy/proxy_channel.cc base::PlatformFile handle, base 68 ppapi/proxy/proxy_channel.cc base::ClosePlatformFile(handle); base 75 ppapi/proxy/proxy_channel.cc DCHECK(peer_pid_ != base::kNullProcessId); base 16 ppapi/proxy/proxy_channel.h namespace base { base 37 ppapi/proxy/proxy_channel.h virtual base::MessageLoopProxy* GetIPCMessageLoop() = 0; base 41 ppapi/proxy/proxy_channel.h virtual base::WaitableEvent* GetShutdownEvent() = 0; base 49 ppapi/proxy/proxy_channel.h base::PlatformFile handle, base 50 ppapi/proxy/proxy_channel.h base::ProcessId remote_pid, base 69 ppapi/proxy/proxy_channel.h base::PlatformFile handle, base 94 ppapi/proxy/proxy_channel.h base::ProcessId peer_pid, base 109 ppapi/proxy/proxy_channel.h base::ProcessId peer_pid_; base 24 ppapi/proxy/proxy_completion_callback_factory.h message_loop_ = base::MessageLoop::current(); base 30 ppapi/proxy/proxy_completion_callback_factory.h DCHECK(message_loop_ == base::MessageLoop::current()); base 36 ppapi/proxy/proxy_completion_callback_factory.h DCHECK(message_loop_ == base::MessageLoop::current()); base 43 ppapi/proxy/proxy_completion_callback_factory.h DCHECK(message_loop_ == base::MessageLoop::current()); base 52 ppapi/proxy/proxy_completion_callback_factory.h base::MessageLoop* message_loop_; base 46 ppapi/proxy/raw_var_data.cc base::hash_map<int64_t, size_t>* visited_map, base 49 ppapi/proxy/raw_var_data.cc base::hash_map<int64_t, size_t>::iterator it = visited_map->find( base 90 ppapi/proxy/raw_var_data.cc base::hash_map<int64_t, size_t> visited_map; base 91 ppapi/proxy/raw_var_data.cc base::hash_set<int64_t> parent_ids; base 414 ppapi/proxy/raw_var_data.cc base::SharedMemoryHandle plugin_handle; base 420 ppapi/proxy/raw_var_data.cc DCHECK(!base::SharedMemory::IsHandleValid(plugin_handle)); base 425 ppapi/proxy/raw_var_data.cc DCHECK(base::SharedMemory::IsHandleValid(plugin_handle)); base 446 ppapi/proxy/raw_var_data.cc base::SharedMemoryHandle host_handle; base 30 ppapi/proxy/raw_var_data.h typedef base::Callback<void(IPC::Message*, const SerializedHandle&)> base 60 ppapi/proxy/raw_var_data_unittest.cc expected_data->Write(&m, base::Bind(&DefaultHandleWriter)); base 98 ppapi/proxy/resource_message_params.cc base::SharedMemoryHandle* handle) const { base 130 ppapi/proxy/resource_message_params.cc std::vector<base::SharedMemoryHandle>* handles) const { base 132 ppapi/proxy/resource_message_params.cc base::SharedMemoryHandle handle; base 59 ppapi/proxy/resource_message_params.h base::SharedMemoryHandle* handle) const; base 65 ppapi/proxy/resource_message_params.h std::vector<base::SharedMemoryHandle>* handles) const; base 88 ppapi/proxy/resource_message_params.h : public base::RefCountedThreadSafe<SerializedHandles> { base 97 ppapi/proxy/resource_message_params.h friend class base::RefCountedThreadSafe<SerializedHandles>; base 16 ppapi/proxy/resource_reply_thread_registrar.cc scoped_refptr<base::MessageLoopProxy> default_thread) base 34 ppapi/proxy/resource_reply_thread_registrar.cc scoped_refptr<base::MessageLoopProxy> reply_thread( base 37 ppapi/proxy/resource_reply_thread_registrar.cc base::AutoLock auto_lock(lock_); base 47 ppapi/proxy/resource_reply_thread_registrar.cc base::AutoLock auto_lock(lock_); base 51 ppapi/proxy/resource_reply_thread_registrar.cc scoped_refptr<base::MessageLoopProxy> base 55 ppapi/proxy/resource_reply_thread_registrar.cc base::AutoLock auto_lock(lock_); base 65 ppapi/proxy/resource_reply_thread_registrar.cc scoped_refptr<base::MessageLoopProxy> target = sequence_number_iter->second; base 17 ppapi/proxy/resource_reply_thread_registrar.h namespace base { base 31 ppapi/proxy/resource_reply_thread_registrar.h : public base::RefCountedThreadSafe<ResourceReplyThreadRegistrar> { base 34 ppapi/proxy/resource_reply_thread_registrar.h scoped_refptr<base::MessageLoopProxy> default_thread); base 44 ppapi/proxy/resource_reply_thread_registrar.h scoped_refptr<base::MessageLoopProxy> GetTargetThreadAndUnregister( base 49 ppapi/proxy/resource_reply_thread_registrar.h friend class base::RefCountedThreadSafe<ResourceReplyThreadRegistrar>; base 51 ppapi/proxy/resource_reply_thread_registrar.h typedef std::map<int32_t, scoped_refptr<base::MessageLoopProxy> > base 60 ppapi/proxy/resource_reply_thread_registrar.h base::Lock lock_; base 62 ppapi/proxy/resource_reply_thread_registrar.h scoped_refptr<base::MessageLoopProxy> default_thread_; base 22 ppapi/proxy/serialized_handle.cc shm_handle_(base::SharedMemory::NULLHandle()), base 31 ppapi/proxy/serialized_handle.cc shm_handle_(base::SharedMemory::NULLHandle()), base 38 ppapi/proxy/serialized_handle.cc SerializedHandle::SerializedHandle(const base::SharedMemoryHandle& handle, base 52 ppapi/proxy/serialized_handle.cc shm_handle_(base::SharedMemory::NULLHandle()), base 62 ppapi/proxy/serialized_handle.cc return base::SharedMemory::IsHandleValid(shm_handle_); base 80 ppapi/proxy/serialized_handle.cc base::SharedMemory::CloseHandle(shm_handle_); base 84 ppapi/proxy/serialized_handle.cc base::PlatformFile file = base 87 ppapi/proxy/serialized_handle.cc base::ClosePlatformFile(file); base 58 ppapi/proxy/serialized_handle.h SerializedHandle(const base::SharedMemoryHandle& handle, uint32 size); base 68 ppapi/proxy/serialized_handle.h const base::SharedMemoryHandle& shmem() const { base 86 ppapi/proxy/serialized_handle.h void set_shmem(const base::SharedMemoryHandle& handle, uint32 size) { base 97 ppapi/proxy/serialized_handle.h shm_handle_ = base::SharedMemory::NULLHandle(); base 106 ppapi/proxy/serialized_handle.h shm_handle_ = base::SharedMemory::NULLHandle(); base 112 ppapi/proxy/serialized_handle.h set_shmem(base::SharedMemory::NULLHandle(), 0); base 144 ppapi/proxy/serialized_handle.h base::SharedMemoryHandle shm_handle_; base 132 ppapi/proxy/serialized_structs.h base::SharedMemoryHandle handle; base 142 ppapi/proxy/serialized_structs.h typedef base::SharedMemoryHandle ImageHandle; base 120 ppapi/proxy/serialized_var.cc data->Write(m, base::Bind(&DefaultHandleWriter)); base 112 ppapi/proxy/serialized_var.h class PPAPI_PROXY_EXPORT Inner : public base::RefCounted<Inner> { base 38 ppapi/proxy/talk_resource.cc base::Bind(&TalkResource::OnRequestPermissionReply, base 39 ppapi/proxy/talk_resource.cc base::Unretained(this))); base 57 ppapi/proxy/talk_resource.cc base::Bind(&TalkResource::OnStartRemotingReply, base 58 ppapi/proxy/talk_resource.cc base::Unretained(this))); base 74 ppapi/proxy/talk_resource.cc base::Bind(&TalkResource::OnStopRemotingReply, base 75 ppapi/proxy/talk_resource.cc base::Unretained(this))); base 47 ppapi/proxy/tcp_server_socket_private_resource.cc base::Bind(&TCPServerSocketPrivateResource::OnPluginMsgListenReply, base 48 ppapi/proxy/tcp_server_socket_private_resource.cc base::Unretained(this))); base 67 ppapi/proxy/tcp_server_socket_private_resource.cc base::Bind(&TCPServerSocketPrivateResource::OnPluginMsgAcceptReply, base 68 ppapi/proxy/tcp_server_socket_private_resource.cc base::Unretained(this), tcp_socket)); base 86 ppapi/proxy/tcp_socket_resource_base.cc base::Bind(&TCPSocketResourceBase::OnPluginMsgBindReply, base 87 ppapi/proxy/tcp_socket_resource_base.cc base::Unretained(this)), base 109 ppapi/proxy/tcp_socket_resource_base.cc base::Bind(&TCPSocketResourceBase::OnPluginMsgConnectReply, base 110 ppapi/proxy/tcp_socket_resource_base.cc base::Unretained(this)), base 131 ppapi/proxy/tcp_socket_resource_base.cc base::Bind(&TCPSocketResourceBase::OnPluginMsgConnectReply, base 132 ppapi/proxy/tcp_socket_resource_base.cc base::Unretained(this)), base 177 ppapi/proxy/tcp_socket_resource_base.cc base::Bind(&TCPSocketResourceBase::OnPluginMsgSSLHandshakeReply, base 178 ppapi/proxy/tcp_socket_resource_base.cc base::Unretained(this)), base 220 ppapi/proxy/tcp_socket_resource_base.cc base::Bind(&TCPSocketResourceBase::OnPluginMsgReadReply, base 221 ppapi/proxy/tcp_socket_resource_base.cc base::Unretained(this)), base 247 ppapi/proxy/tcp_socket_resource_base.cc base::Bind(&TCPSocketResourceBase::OnPluginMsgWriteReply, base 248 ppapi/proxy/tcp_socket_resource_base.cc base::Unretained(this)), base 269 ppapi/proxy/tcp_socket_resource_base.cc base::Bind(&TCPSocketResourceBase::OnPluginMsgListenReply, base 270 ppapi/proxy/tcp_socket_resource_base.cc base::Unretained(this)), base 291 ppapi/proxy/tcp_socket_resource_base.cc base::Bind(&TCPSocketResourceBase::OnPluginMsgAcceptReply, base 292 ppapi/proxy/tcp_socket_resource_base.cc base::Unretained(this)), base 354 ppapi/proxy/tcp_socket_resource_base.cc base::Bind(&TCPSocketResourceBase::OnPluginMsgSetOptionReply, base 355 ppapi/proxy/tcp_socket_resource_base.cc base::Unretained(this)), base 49 ppapi/proxy/truetype_font_resource.cc base::Bind(&TrueTypeFontResource::OnPluginMsgDescribeComplete, this, base 59 ppapi/proxy/truetype_font_resource.cc base::Bind(&TrueTypeFontResource::OnPluginMsgGetTableTagsComplete, this, base 72 ppapi/proxy/truetype_font_resource.cc base::Bind(&TrueTypeFontResource::OnPluginMsgGetTableComplete, this, base 40 ppapi/proxy/truetype_font_singleton_resource.cc base::Bind( base 57 ppapi/proxy/truetype_font_singleton_resource.cc base::Bind( base 92 ppapi/proxy/udp_socket_resource_base.cc base::Bind(&UDPSocketResourceBase::OnPluginMsgSetOptionReply, base 93 ppapi/proxy/udp_socket_resource_base.cc base::Unretained(this), base 115 ppapi/proxy/udp_socket_resource_base.cc base::Bind(&UDPSocketResourceBase::OnPluginMsgBindReply, base 116 ppapi/proxy/udp_socket_resource_base.cc base::Unretained(this)), base 150 ppapi/proxy/udp_socket_resource_base.cc base::Bind(&UDPSocketResourceBase::OnPluginMsgRecvFromReply, base 151 ppapi/proxy/udp_socket_resource_base.cc base::Unretained(this), addr), base 185 ppapi/proxy/udp_socket_resource_base.cc base::Bind(&UDPSocketResourceBase::OnPluginMsgSendToReply, base 186 ppapi/proxy/udp_socket_resource_base.cc base::Unretained(this)), base 96 ppapi/proxy/uma_private_resource.cc base::Bind(&UMAPrivateResource::OnPluginMsgIsCrashReportingEnabled, base 19 ppapi/proxy/var_serialization_rules.h class VarSerializationRules : public base::RefCounted<VarSerializationRules> { base 83 ppapi/proxy/var_serialization_rules.h friend class base::RefCounted<VarSerializationRules>; base 93 ppapi/proxy/video_capture_resource.cc base::Bind(&VideoCaptureResource::OnPluginMsgOpenReply, this)); base 149 ppapi/proxy/video_capture_resource.cc std::vector<base::SharedMemoryHandle> handles; base 55 ppapi/proxy/video_destination_resource.cc base::Bind(&VideoDestinationResource::OnPluginMsgOpenComplete, this)); base 55 ppapi/proxy/video_source_resource.cc base::Bind(&VideoSourceResource::OnPluginMsgOpenComplete, this)); base 71 ppapi/proxy/video_source_resource.cc base::Bind(&VideoSourceResource::OnPluginMsgGetFrameComplete, this, base 108 ppapi/proxy/video_source_resource.cc base::SharedMemoryHandle handle; base 123 ppapi/proxy/websocket_resource.cc base::Bind(&WebSocketResource::OnPluginMsgConnectReply, this)); base 193 ppapi/proxy/websocket_resource.cc base::Bind(&WebSocketResource::OnPluginMsgCloseReply, this)); base 65 ppapi/shared_impl/callback_tracker.h : public base::RefCountedThreadSafe<CallbackTracker> { base 77 ppapi/shared_impl/callback_tracker.h friend class base::RefCountedThreadSafe<CallbackTracker>; base 15 ppapi/shared_impl/dir_contents.h base::FilePath name; base 11 ppapi/shared_impl/file_path.cc PepperFilePath::PepperFilePath(Domain domain, const base::FilePath& path) base 29 ppapi/shared_impl/file_path.h PepperFilePath(Domain d, const base::FilePath& p); base 32 ppapi/shared_impl/file_path.h const base::FilePath& path() const { return path_; } base 36 ppapi/shared_impl/file_path.h base::FilePath path_; base 15 ppapi/shared_impl/file_ref_create_info.cc std::string GetNameForExternalFilePath(const base::FilePath& in_path) { base 16 ppapi/shared_impl/file_ref_create_info.cc const base::FilePath::StringType& path = in_path.value(); base 17 ppapi/shared_impl/file_ref_create_info.cc size_t pos = path.rfind(base::FilePath::kSeparators[0]); base 18 ppapi/shared_impl/file_ref_create_info.cc CHECK(pos != base::FilePath::StringType::npos); base 20 ppapi/shared_impl/file_ref_create_info.cc return base::WideToUTF8(path.substr(pos + 1)); base 35 ppapi/shared_impl/file_ref_create_info.cc const base::FilePath& external_path, base 45 ppapi/shared_impl/file_ref_create_info.h MakeExternalFileRefCreateInfo(const base::FilePath& external_path, base 21 ppapi/shared_impl/file_ref_util.cc std::string GetNameForExternalFilePath(const base::FilePath& path) { base 22 ppapi/shared_impl/file_ref_util.cc const base::FilePath::StringType& file_path = path.value(); base 23 ppapi/shared_impl/file_ref_util.cc size_t pos = file_path.rfind(base::FilePath::kSeparators[0]); base 24 ppapi/shared_impl/file_ref_util.cc CHECK(pos != base::FilePath::StringType::npos); base 26 ppapi/shared_impl/file_ref_util.cc return base::WideToUTF8(file_path.substr(pos + 1)); base 41 ppapi/shared_impl/file_ref_util.cc base::FilePath file_path = base::FilePath::FromUTF8Unsafe(path); base 47 ppapi/shared_impl/file_ref_util.cc bool IsValidExternalPath(const base::FilePath& path) { base 12 ppapi/shared_impl/file_ref_util.h namespace base { base 22 ppapi/shared_impl/file_ref_util.h const base::FilePath& path); base 28 ppapi/shared_impl/file_ref_util.h PPAPI_SHARED_EXPORT bool IsValidExternalPath(const base::FilePath& path); base 15 ppapi/shared_impl/file_type_conversion.cc int FileErrorToPepperError(base::File::Error error_code) { base 17 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_OK: base 19 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_EXISTS: base 21 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NOT_FOUND: base 23 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_ACCESS_DENIED: base 24 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_SECURITY: base 26 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NO_MEMORY: base 28 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NO_SPACE: base 30 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NOT_A_DIRECTORY: base 32 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NOT_A_FILE: base 49 ppapi/shared_impl/file_type_conversion.cc int flags = base::PLATFORM_FILE_WRITE_ATTRIBUTES; base 52 ppapi/shared_impl/file_type_conversion.cc flags |= base::PLATFORM_FILE_READ; base 54 ppapi/shared_impl/file_type_conversion.cc flags |= base::PLATFORM_FILE_WRITE; base 59 ppapi/shared_impl/file_type_conversion.cc flags |= base::PLATFORM_FILE_APPEND; base 67 ppapi/shared_impl/file_type_conversion.cc flags |= base::PLATFORM_FILE_CREATE; base 69 ppapi/shared_impl/file_type_conversion.cc flags |= base::PLATFORM_FILE_CREATE_ALWAYS; base 71 ppapi/shared_impl/file_type_conversion.cc flags |= base::PLATFORM_FILE_OPEN_ALWAYS; base 74 ppapi/shared_impl/file_type_conversion.cc flags |= base::PLATFORM_FILE_OPEN_TRUNCATED; base 76 ppapi/shared_impl/file_type_conversion.cc flags |= base::PLATFORM_FILE_OPEN; base 84 ppapi/shared_impl/file_type_conversion.cc void FileInfoToPepperFileInfo(const base::File::Info& info, base 16 ppapi/shared_impl/file_type_conversion.h PPAPI_SHARED_EXPORT int FileErrorToPepperError(base::File::Error error_code); base 25 ppapi/shared_impl/file_type_conversion.h PPAPI_SHARED_EXPORT void FileInfoToPepperFileInfo(const base::File::Info& info, base 26 ppapi/shared_impl/media_stream_buffer_manager.cc scoped_ptr<base::SharedMemory> shm, base 59 ppapi/shared_impl/media_stream_buffer_manager.h scoped_ptr<base::SharedMemory> shm, base 87 ppapi/shared_impl/media_stream_buffer_manager.h scoped_ptr<base::SharedMemory> shm_; base 11 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc using base::SharedMemory; base 12 ppapi/shared_impl/media_stream_buffer_manager_unittest.cc using base::SharedMemoryCreateOptions; base 11 ppapi/shared_impl/platform_file.cc base::PlatformFile IntToPlatformFile(int32_t handle) { base 21 ppapi/shared_impl/platform_file.cc int32_t PlatformFileToInt(base::PlatformFile handle) { base 14 ppapi/shared_impl/platform_file.h PPAPI_SHARED_EXPORT base::PlatformFile IntToPlatformFile(int32_t handle); base 15 ppapi/shared_impl/platform_file.h PPAPI_SHARED_EXPORT int32_t PlatformFileToInt(base::PlatformFile handle); base 17 ppapi/shared_impl/ppapi_globals.cc base::LazyInstance<base::ThreadLocalPointer<PpapiGlobals> >::Leaky base 26 ppapi/shared_impl/ppapi_globals.cc main_loop_proxy_ = base::MessageLoopProxy::current(); base 31 ppapi/shared_impl/ppapi_globals.cc main_loop_proxy_ = base::MessageLoopProxy::current(); base 56 ppapi/shared_impl/ppapi_globals.cc base::MessageLoopProxy* PpapiGlobals::GetMainThreadMessageLoop() { base 61 ppapi/shared_impl/ppapi_globals.cc main_loop_proxy_ = base::MessageLoopProxy::current(); base 19 ppapi/shared_impl/ppapi_globals.h namespace base { base 103 ppapi/shared_impl/ppapi_globals.h base::MessageLoopProxy* GetMainThreadMessageLoop(); base 118 ppapi/shared_impl/ppapi_globals.h virtual base::TaskRunner* GetFileTaskRunner() = 0; base 143 ppapi/shared_impl/ppapi_globals.h scoped_refptr<base::MessageLoopProxy> main_loop_proxy_; base 100 ppapi/shared_impl/ppb_audio_shared.cc base::SharedMemoryHandle shared_memory_handle, base 102 ppapi/shared_impl/ppb_audio_shared.cc base::SyncSocket::Handle socket_handle, base 105 ppapi/shared_impl/ppb_audio_shared.cc socket_.reset(new base::CancelableSyncSocket(socket_handle)); base 106 ppapi/shared_impl/ppb_audio_shared.cc shared_memory_.reset(new base::SharedMemory(shared_memory_handle, false)); base 144 ppapi/shared_impl/ppb_audio_shared.cc new base::DelegateSimpleThread(this, "plugin_audio_thread")); base 168 ppapi/shared_impl/ppb_audio_shared.cc CallWhileUnlocked(base::Bind(&base::DelegateSimpleThread::Join, base 169 ppapi/shared_impl/ppb_audio_shared.cc base::Unretained(audio_thread_.get()))); base 49 ppapi/shared_impl/ppb_audio_shared.h public base::DelegateSimpleThread::Delegate { base 76 ppapi/shared_impl/ppb_audio_shared.h base::SharedMemoryHandle shared_memory_handle, base 78 ppapi/shared_impl/ppb_audio_shared.h base::SyncSocket::Handle socket_handle, base 103 ppapi/shared_impl/ppb_audio_shared.h scoped_ptr<base::CancelableSyncSocket> socket_; base 108 ppapi/shared_impl/ppb_audio_shared.h scoped_ptr<base::SharedMemory> shared_memory_; base 115 ppapi/shared_impl/ppb_audio_shared.h scoped_ptr<base::DelegateSimpleThread> audio_thread_; base 19 ppapi/shared_impl/ppb_crypto_shared.cc base::RandBytes(buffer, num_bytes); base 37 ppapi/shared_impl/ppb_gamepad_shared.h base::char16 id[kIdLengthCap]; base 56 ppapi/shared_impl/ppb_gamepad_shared.h base::char16 mapping[kMappingLengthCap]; base 75 ppapi/shared_impl/ppb_gamepad_shared.h base::subtle::Atomic32 sequence; base 16 ppapi/shared_impl/ppb_message_loop_shared.h namespace base { base 48 ppapi/shared_impl/ppb_message_loop_shared.h const base::Closure& closure, base 51 ppapi/shared_impl/ppb_message_loop_shared.h virtual base::MessageLoopProxy* GetMessageLoopProxy() = 0; base 27 ppapi/shared_impl/ppb_trace_event_impl.cc base::debug::TraceLog::GetInstance()->GetCategoryGroupEnabled( base 44 ppapi/shared_impl/ppb_trace_event_impl.cc base::debug::TraceLog::GetInstance()->AddTraceEvent( base 74 ppapi/shared_impl/ppb_trace_event_impl.cc base::debug::TraceLog::GetInstance()->AddTraceEventWithThreadIdAndTimestamp( base 80 ppapi/shared_impl/ppb_trace_event_impl.cc base::TimeTicks::FromInternalValue(timestamp), base 95 ppapi/shared_impl/ppb_trace_event_impl.cc return base::TimeTicks::NowFromSystemTraceTime().ToInternalValue(); base 100 ppapi/shared_impl/ppb_trace_event_impl.cc base::PlatformThread::SetName(thread_name); base 12 ppapi/shared_impl/ppp_instance_combined.cc base::Callback<const void*(const char*)> get_interface_func) { base 24 ppapi/shared_impl/ppp_instance_combined.h base::Callback<const void*(const char*)> get_plugin_if); base 205 ppapi/shared_impl/private/net_address_private_impl.cc std::string description = base::StringPrintf( base 210 ppapi/shared_impl/private/net_address_private_impl.cc base::StringAppendF(&description, ":%u", net_addr->port); base 236 ppapi/shared_impl/private/net_address_private_impl.cc base::StringAppendF( base 273 ppapi/shared_impl/private/net_address_private_impl.cc base::StringAppendF(&description, need_sep ? ":%x" : "%x", v); base 282 ppapi/shared_impl/private/net_address_private_impl.cc base::StringAppendF(&description, "%%%u", net_addr->scope_id); base 285 ppapi/shared_impl/private/net_address_private_impl.cc base::StringAppendF(&description, "]:%u", net_addr->port); base 38 ppapi/shared_impl/private/ppb_char_set_shared.cc base::OnStringConversionError::Type* result) { base 41 ppapi/shared_impl/private/ppb_char_set_shared.cc *result = base::OnStringConversionError::FAIL; base 44 ppapi/shared_impl/private/ppb_char_set_shared.cc *result = base::OnStringConversionError::SKIP; base 47 ppapi/shared_impl/private/ppb_char_set_shared.cc *result = base::OnStringConversionError::SUBSTITUTE; base 215 ppapi/shared_impl/private/ppb_char_set_shared.cc base::OnStringConversionError::Type base_on_error; base 223 ppapi/shared_impl/private/ppb_char_set_shared.cc base::string16 output; base 224 ppapi/shared_impl/private/ppb_char_set_shared.cc if (!base::CodepageToUTF16(std::string(input, input_len), input_char_set, base 18 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc scoped_ptr<base::ListValue> new_values(fields.values_.DeepCopy()); base 24 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc base::Value* value) { base 33 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc const base::Value* value; base 42 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc case base::Value::TYPE_NULL: base 44 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc case base::Value::TYPE_BOOLEAN: { base 49 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc case base::Value::TYPE_INTEGER: { base 54 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc case base::Value::TYPE_DOUBLE: { base 59 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc case base::Value::TYPE_STRING: { base 64 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc case base::Value::TYPE_BINARY: { base 65 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc const base::BinaryValue* binary = base 66 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc static_cast<const base::BinaryValue*>(value); base 74 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc case base::Value::TYPE_DICTIONARY: base 75 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc case base::Value::TYPE_LIST: base 29 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h void SetField(PP_X509Certificate_Private_Field field, base::Value* value); base 36 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h base::ListValue values_; base 14 ppapi/shared_impl/proxy_lock.cc base::LazyInstance<base::Lock>::Leaky g_proxy_lock = LAZY_INSTANCE_INITIALIZER; base 17 ppapi/shared_impl/proxy_lock.cc base::LazyInstance<base::ThreadLocalBoolean>::Leaky base 22 ppapi/shared_impl/proxy_lock.cc base::LazyInstance<base::ThreadLocalBoolean>::Leaky g_proxy_locked_on_thread = base 26 ppapi/shared_impl/proxy_lock.cc base::Lock* ProxyLock::Get() { base 39 ppapi/shared_impl/proxy_lock.cc base::Lock* lock = Get(); base 52 ppapi/shared_impl/proxy_lock.cc base::Lock* lock = Get(); base 65 ppapi/shared_impl/proxy_lock.cc base::Lock* lock = Get(); base 94 ppapi/shared_impl/proxy_lock.cc void CallWhileUnlocked(const base::Closure& closure) { base 15 ppapi/shared_impl/proxy_lock.h namespace base { base 39 ppapi/shared_impl/proxy_lock.h static base::Lock* Get(); base 159 ppapi/shared_impl/proxy_lock.h void PPAPI_SHARED_EXPORT CallWhileUnlocked(const base::Closure& closure); base 169 ppapi/shared_impl/proxy_lock.h typedef base::Callback<void()> CallbackType; base 226 ppapi/shared_impl/proxy_lock.h base::ThreadChecker thread_checker_; base 232 ppapi/shared_impl/proxy_lock.h typedef base::Callback<void(P1)> CallbackType; base 256 ppapi/shared_impl/proxy_lock.h base::ThreadChecker thread_checker_; base 262 ppapi/shared_impl/proxy_lock.h typedef base::Callback<void(P1, P2)> CallbackType; base 286 ppapi/shared_impl/proxy_lock.h base::ThreadChecker thread_checker_; base 292 ppapi/shared_impl/proxy_lock.h typedef base::Callback<void(P1, P2, P3)> CallbackType; base 316 ppapi/shared_impl/proxy_lock.h base::ThreadChecker thread_checker_; base 350 ppapi/shared_impl/proxy_lock.h inline base::Callback<FunctionType> RunWhileLocked( base 351 ppapi/shared_impl/proxy_lock.h const base::Callback<FunctionType>& callback) { base 354 ppapi/shared_impl/proxy_lock.h return base::Bind( base 356 ppapi/shared_impl/proxy_lock.h base::Owned(helper)); base 34 ppapi/shared_impl/proxy_lock_unittest.cc : public base::RefCounted<CheckLockStateInDestructor> { base 72 ppapi/shared_impl/proxy_lock_unittest.cc base::Callback<void()> cb0; base 75 ppapi/shared_impl/proxy_lock_unittest.cc cb0 = RunWhileLocked(base::Bind(TestCallback_0)); base 83 ppapi/shared_impl/proxy_lock_unittest.cc cb0 = RunWhileLocked(base::Bind(TestCallback_1, 123)); base 94 ppapi/shared_impl/proxy_lock_unittest.cc RunWhileLocked(base::Bind(&CheckLockStateInDestructor::Method, object)); base 101 ppapi/shared_impl/proxy_lock_unittest.cc base::Callback<void(int)> cb1; base 104 ppapi/shared_impl/proxy_lock_unittest.cc cb1 = RunWhileLocked(base::Bind(TestCallback_1)); base 110 ppapi/shared_impl/proxy_lock_unittest.cc base::Callback<void(int, const std::string&)> cb2; base 113 ppapi/shared_impl/proxy_lock_unittest.cc cb2 = RunWhileLocked(base::Bind(TestCallback_2)); base 119 ppapi/shared_impl/proxy_lock_unittest.cc base::Callback<void(int, const std::string&, Param)> cb3; base 122 ppapi/shared_impl/proxy_lock_unittest.cc cb3 = RunWhileLocked(base::Bind(TestCallback_3)); base 128 ppapi/shared_impl/proxy_lock_unittest.cc base::Callback<void(const std::string&)> cb1_string; base 131 ppapi/shared_impl/proxy_lock_unittest.cc cb1_string = RunWhileLocked(base::Bind(TestCallback_2, 123)); base 139 ppapi/shared_impl/proxy_lock_unittest.cc cb0 = RunWhileLocked(base::Bind(TestCallback_2, 123, std::string("yo"))); base 172 ppapi/shared_impl/proxy_lock_unittest.cc base::Callback<void()> callback(base::Bind(TestCallback_0)); base 118 ppapi/shared_impl/resource.h class PPAPI_SHARED_EXPORT Resource : public base::RefCounted<Resource> { base 21 ppapi/shared_impl/resource_tracker.cc thread_checker_.reset(new base::ThreadChecker); base 93 ppapi/shared_impl/resource_tracker.cc base::MessageLoop::current()->PostNonNestableTask( base 95 ppapi/shared_impl/resource_tracker.cc RunWhileLocked(base::Bind(&ResourceTracker::ReleaseResource, base 111 ppapi/shared_impl/resource_tracker.h typedef base::hash_map<PP_Instance, linked_ptr<InstanceData> > InstanceMap; base 124 ppapi/shared_impl/resource_tracker.h typedef base::hash_map<PP_Resource, ResourceAndRefCount> ResourceMap; base 133 ppapi/shared_impl/resource_tracker.h scoped_ptr<base::ThreadChecker> thread_checker_; base 135 ppapi/shared_impl/resource_tracker.h base::WeakPtrFactory<ResourceTracker> weak_ptr_factory_; base 59 ppapi/shared_impl/test_globals.cc base::TaskRunner* TestGlobals::GetFileTaskRunner() { return NULL; } base 35 ppapi/shared_impl/test_globals.h base::SharedMemoryHandle handle) base 41 ppapi/shared_impl/test_globals.h base::SharedMemoryHandle handle, base 47 ppapi/shared_impl/test_globals.h base::SharedMemoryHandle* handle, base 82 ppapi/shared_impl/test_globals.h virtual base::TaskRunner* GetFileTaskRunner() OVERRIDE; base 15 ppapi/shared_impl/thread_aware_callback.cc class ThreadAwareCallbackBase::Core : public base::RefCountedThreadSafe<Core> { base 21 ppapi/shared_impl/thread_aware_callback.cc void RunIfNotAborted(const base::Closure& closure) { base 47 ppapi/shared_impl/thread_aware_callback.cc const base::Closure& closure) { base 51 ppapi/shared_impl/thread_aware_callback.cc RunWhileLocked(base::Bind(&Core::RunIfNotAborted, core_, closure)), base 27 ppapi/shared_impl/thread_aware_callback.h void InternalRunOnTargetThread(const base::Closure& closure); base 69 ppapi/shared_impl/thread_aware_callback.h void RunOnTargetThread() { InternalRunOnTargetThread(base::Bind(func_)); } base 73 ppapi/shared_impl/thread_aware_callback.h InternalRunOnTargetThread(base::Bind(func_, p1)); base 78 ppapi/shared_impl/thread_aware_callback.h InternalRunOnTargetThread(base::Bind(func_, p1, p2)); base 83 ppapi/shared_impl/thread_aware_callback.h InternalRunOnTargetThread(base::Bind(func_, p1, p2, p3)); base 91 ppapi/shared_impl/thread_aware_callback.h InternalRunOnTargetThread(base::Bind(func_, p1, p2, p3, p4)); base 100 ppapi/shared_impl/thread_aware_callback.h InternalRunOnTargetThread(base::Bind(func_, p1, p2, p3, p4, p5)); base 118 ppapi/shared_impl/thread_aware_callback_unittest.cc base::Bind(&ThreadAwareCallbackAbortTest::DeleteCallback, base 119 ppapi/shared_impl/thread_aware_callback_unittest.cc base::Unretained(this))); base 19 ppapi/shared_impl/time_conversion.cc double wall_clock = TimeToPPTime(base::Time::Now()); base 20 ppapi/shared_impl/time_conversion.cc double ticks = TimeTicksToPPTimeTicks(base::TimeTicks::Now()); base 28 ppapi/shared_impl/time_conversion.cc PP_Time TimeToPPTime(base::Time t) { return t.ToDoubleT(); } base 30 ppapi/shared_impl/time_conversion.cc base::Time PPTimeToTime(PP_Time t) { base 36 ppapi/shared_impl/time_conversion.cc return base::Time::UnixEpoch(); base 37 ppapi/shared_impl/time_conversion.cc return base::Time::FromDoubleT(t); base 40 ppapi/shared_impl/time_conversion.cc PP_TimeTicks TimeTicksToPPTimeTicks(base::TimeTicks t) { base 42 ppapi/shared_impl/time_conversion.cc base::Time::kMicrosecondsPerSecond; base 53 ppapi/shared_impl/time_conversion.cc double PPGetLocalTimeZoneOffset(const base::Time& time) { base 57 ppapi/shared_impl/time_conversion.cc base::Time::Exploded exploded = {0}; base 58 ppapi/shared_impl/time_conversion.cc base::Time::Exploded utc_exploded = {0}; base 62 ppapi/shared_impl/time_conversion.cc base::Time adj_time = base::Time::FromUTCExploded(exploded); base 63 ppapi/shared_impl/time_conversion.cc base::Time cur = base::Time::FromUTCExploded(utc_exploded); base 14 ppapi/shared_impl/time_conversion.h PPAPI_SHARED_EXPORT PP_Time TimeToPPTime(base::Time t); base 15 ppapi/shared_impl/time_conversion.h PPAPI_SHARED_EXPORT base::Time PPTimeToTime(PP_Time t); base 17 ppapi/shared_impl/time_conversion.h PPAPI_SHARED_EXPORT PP_TimeTicks TimeTicksToPPTimeTicks(base::TimeTicks t); base 29 ppapi/shared_impl/time_conversion.h PPAPI_SHARED_EXPORT double PPGetLocalTimeZoneOffset(const base::Time& time); base 21 ppapi/shared_impl/time_conversion_unittest.cc base::Time::kMicrosecondsPerSecond; base 25 ppapi/shared_impl/time_conversion_unittest.cc base::Time now = base::Time::Now(); base 26 ppapi/shared_impl/time_conversion_unittest.cc base::Time converted = ppapi::PPTimeToTime(TimeToPPTime(now)); base 31 ppapi/shared_impl/time_conversion_unittest.cc base::Time one_second_from_now = now + base::TimeDelta::FromSeconds(1); base 39 ppapi/shared_impl/time_conversion_unittest.cc base::Time now = base::Time::Now(); base 46 ppapi/shared_impl/time_conversion_unittest.cc base::Time one_second_from_now = now + base::TimeDelta::FromSeconds(1); base 55 ppapi/shared_impl/time_conversion_unittest.cc base::Time epoch = base::Time::UnixEpoch(); base 56 ppapi/shared_impl/time_conversion_unittest.cc base::Time converted = ppapi::PPTimeToTime(TimeToPPTime(epoch)); base 61 ppapi/shared_impl/time_conversion_unittest.cc base::Time one_second_from_epoch = epoch + base::TimeDelta::FromSeconds(1); base 65 ppapi/shared_impl/tracked_callback.cc base::Lock* proxy_lock = ProxyLock::Get(); base 73 ppapi/shared_impl/tracked_callback.cc new base::ConditionVariable(proxy_lock)); base 168 ppapi/shared_impl/tracked_callback.cc base::Closure callback_closure( base 169 ppapi/shared_impl/tracked_callback.cc RunWhileLocked(base::Bind(&TrackedCallback::Run, this, result))); base 177 ppapi/shared_impl/tracked_callback.cc base::MessageLoop::current()->PostTask(FROM_HERE, callback_closure); base 63 ppapi/shared_impl/tracked_callback.h : public base::RefCountedThreadSafe<TrackedCallback> { base 93 ppapi/shared_impl/tracked_callback.h typedef base::Callback<int32_t(int32_t /* result */)> CompletionTask; base 157 ppapi/shared_impl/tracked_callback.h friend class base::RefCountedThreadSafe<TrackedCallback>; base 181 ppapi/shared_impl/tracked_callback.h scoped_ptr<base::ConditionVariable> operation_completed_condvar_; base 39 ppapi/shared_impl/tracked_callback_unittest.cc base::MessageLoop message_loop_; base 279 ppapi/shared_impl/tracked_callback_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 288 ppapi/shared_impl/tracked_callback_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 296 ppapi/shared_impl/tracked_callback_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 315 ppapi/shared_impl/tracked_callback_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 323 ppapi/shared_impl/tracked_callback_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 331 ppapi/shared_impl/tracked_callback_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 338 ppapi/shared_impl/tracked_callback_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 29 ppapi/shared_impl/unittest_utils.cc base::hash_map<int64_t, int64_t>* visited_map) { base 36 ppapi/shared_impl/unittest_utils.cc base::hash_map<int64_t, int64_t>::iterator it = base 208 ppapi/shared_impl/unittest_utils.cc base::hash_map<int64_t, int64_t> visited_map; base 32 ppapi/shared_impl/var.cc return base::IntToString(var.value.as_int); base 34 ppapi/shared_impl/var.cc return base::DoubleToString(var.value.as_double); base 67 ppapi/shared_impl/var.cc return base::StringPrintf("[Pending resource]"); base 69 ppapi/shared_impl/var.cc return base::StringPrintf("[Resource %d]", resource->GetPPResource()); base 32 ppapi/shared_impl/var.h class PPAPI_SHARED_EXPORT Var : public base::RefCounted<Var> { base 61 ppapi/shared_impl/var.h friend class base::RefCounted<Var>; base 177 ppapi/shared_impl/var.h base::SharedMemoryHandle* plugin_shm_handle) = 0; base 29 ppapi/shared_impl/var_tracker.cc thread_checker_.reset(new base::ThreadChecker); base 221 ppapi/shared_impl/var_tracker.cc base::SharedMemoryHandle handle) { base 83 ppapi/shared_impl/var_tracker.h PP_Var MakeArrayBufferPPVar(uint32 size_in_bytes, base::SharedMemoryHandle h); base 139 ppapi/shared_impl/var_tracker.h base::SharedMemoryHandle handle, base 147 ppapi/shared_impl/var_tracker.h base::SharedMemoryHandle* handle, base 173 ppapi/shared_impl/var_tracker.h typedef base::hash_map<int32, VarInfo> VarMap; base 229 ppapi/shared_impl/var_tracker.h base::SharedMemoryHandle handle) = 0; base 235 ppapi/shared_impl/var_tracker.h scoped_ptr<base::ThreadChecker> thread_checker_; base 32 ppapi/shared_impl/var_value_conversions.cc VarNode(const PP_Var& in_var, base::Value* in_value) base 38 ppapi/shared_impl/var_value_conversions.cc base::Value* value; base 49 ppapi/shared_impl/var_value_conversions.cc ValueNode(const PP_Var& in_var, const base::Value* in_value) base 55 ppapi/shared_impl/var_value_conversions.cc const base::Value* value; base 65 ppapi/shared_impl/var_value_conversions.cc scoped_ptr<base::Value>* value, base 70 ppapi/shared_impl/var_value_conversions.cc value->reset(base::Value::CreateNullValue()); base 74 ppapi/shared_impl/var_value_conversions.cc value->reset(new base::FundamentalValue(PP_ToBool(var.value.as_bool))); base 78 ppapi/shared_impl/var_value_conversions.cc value->reset(new base::FundamentalValue(var.value.as_int)); base 82 ppapi/shared_impl/var_value_conversions.cc value->reset(new base::FundamentalValue(var.value.as_double)); base 90 ppapi/shared_impl/var_value_conversions.cc value->reset(new base::StringValue(string_var->value())); base 100 ppapi/shared_impl/var_value_conversions.cc value->reset(new base::ListValue()); base 110 ppapi/shared_impl/var_value_conversions.cc value->reset(new base::DictionaryValue()); base 119 ppapi/shared_impl/var_value_conversions.cc base::BinaryValue* binary_value = base 120 ppapi/shared_impl/var_value_conversions.cc base::BinaryValue::CreateWithCopiedBuffer( base 138 ppapi/shared_impl/var_value_conversions.cc bool CreateVarFromValueHelper(const base::Value& value, base 142 ppapi/shared_impl/var_value_conversions.cc case base::Value::TYPE_NULL: { base 146 ppapi/shared_impl/var_value_conversions.cc case base::Value::TYPE_BOOLEAN: { base 154 ppapi/shared_impl/var_value_conversions.cc case base::Value::TYPE_INTEGER: { base 162 ppapi/shared_impl/var_value_conversions.cc case base::Value::TYPE_DOUBLE: { base 170 ppapi/shared_impl/var_value_conversions.cc case base::Value::TYPE_STRING: { base 179 ppapi/shared_impl/var_value_conversions.cc case base::Value::TYPE_BINARY: { base 180 ppapi/shared_impl/var_value_conversions.cc const base::BinaryValue& binary_value = base 181 ppapi/shared_impl/var_value_conversions.cc static_cast<const base::BinaryValue&>(value); base 197 ppapi/shared_impl/var_value_conversions.cc case base::Value::TYPE_DICTIONARY: { base 203 ppapi/shared_impl/var_value_conversions.cc case base::Value::TYPE_LIST: { base 216 ppapi/shared_impl/var_value_conversions.cc base::Value* CreateValueFromVar(const PP_Var& var) { base 220 ppapi/shared_impl/var_value_conversions.cc scoped_ptr<base::Value> root_value; base 238 ppapi/shared_impl/var_value_conversions.cc DCHECK(top.value->GetType() == base::Value::TYPE_DICTIONARY); base 239 ppapi/shared_impl/var_value_conversions.cc base::DictionaryValue* dict_value = base 240 ppapi/shared_impl/var_value_conversions.cc static_cast<base::DictionaryValue*>(top.value); base 252 ppapi/shared_impl/var_value_conversions.cc scoped_ptr<base::Value> child_value; base 268 ppapi/shared_impl/var_value_conversions.cc DCHECK(top.value->GetType() == base::Value::TYPE_LIST); base 269 ppapi/shared_impl/var_value_conversions.cc base::ListValue* list_value = static_cast<base::ListValue*>(top.value); base 275 ppapi/shared_impl/var_value_conversions.cc scoped_ptr<base::Value> child_value; base 292 ppapi/shared_impl/var_value_conversions.cc PP_Var CreateVarFromValue(const base::Value& value) { base 303 ppapi/shared_impl/var_value_conversions.cc if (top.value->GetType() == base::Value::TYPE_DICTIONARY) { base 304 ppapi/shared_impl/var_value_conversions.cc const base::DictionaryValue* dict_value = base 305 ppapi/shared_impl/var_value_conversions.cc static_cast<const base::DictionaryValue*>(top.value); base 308 ppapi/shared_impl/var_value_conversions.cc for (base::DictionaryValue::Iterator iter(*dict_value); !iter.IsAtEnd(); base 316 ppapi/shared_impl/var_value_conversions.cc } else if (top.value->GetType() == base::Value::TYPE_LIST) { base 317 ppapi/shared_impl/var_value_conversions.cc const base::ListValue* list_value = base 318 ppapi/shared_impl/var_value_conversions.cc static_cast<const base::ListValue*>(top.value); base 321 ppapi/shared_impl/var_value_conversions.cc for (base::ListValue::const_iterator iter = list_value->begin(); base 339 ppapi/shared_impl/var_value_conversions.cc base::ListValue* CreateListValueFromVarVector(const std::vector<PP_Var>& vars) { base 340 ppapi/shared_impl/var_value_conversions.cc scoped_ptr<base::ListValue> list_value(new base::ListValue()); base 345 ppapi/shared_impl/var_value_conversions.cc base::Value* value = CreateValueFromVar(*iter); base 353 ppapi/shared_impl/var_value_conversions.cc bool CreateVarVectorFromListValue(const base::ListValue& list_value, base 360 ppapi/shared_impl/var_value_conversions.cc for (base::ListValue::const_iterator iter = list_value.begin(); base 13 ppapi/shared_impl/var_value_conversions.h namespace base { base 36 ppapi/shared_impl/var_value_conversions.h PPAPI_SHARED_EXPORT base::Value* CreateValueFromVar(const PP_Var& var); base 40 ppapi/shared_impl/var_value_conversions.h PPAPI_SHARED_EXPORT PP_Var CreateVarFromValue(const base::Value& value); base 47 ppapi/shared_impl/var_value_conversions.h PPAPI_SHARED_EXPORT base::ListValue* CreateListValueFromVarVector( base 56 ppapi/shared_impl/var_value_conversions.h const base::ListValue& list_value, base 29 ppapi/shared_impl/var_value_conversions_unittest.cc bool Equals(const base::Value& value, const PP_Var& var) { base 31 ppapi/shared_impl/var_value_conversions_unittest.cc case base::Value::TYPE_NULL: { base 34 ppapi/shared_impl/var_value_conversions_unittest.cc case base::Value::TYPE_BOOLEAN: { base 39 ppapi/shared_impl/var_value_conversions_unittest.cc case base::Value::TYPE_INTEGER: { base 44 ppapi/shared_impl/var_value_conversions_unittest.cc case base::Value::TYPE_DOUBLE: { base 49 ppapi/shared_impl/var_value_conversions_unittest.cc case base::Value::TYPE_STRING: { base 55 ppapi/shared_impl/var_value_conversions_unittest.cc case base::Value::TYPE_BINARY: { base 56 ppapi/shared_impl/var_value_conversions_unittest.cc const base::BinaryValue& binary_value = base 57 ppapi/shared_impl/var_value_conversions_unittest.cc static_cast<const base::BinaryValue&>(value); base 70 ppapi/shared_impl/var_value_conversions_unittest.cc case base::Value::TYPE_DICTIONARY: { base 71 ppapi/shared_impl/var_value_conversions_unittest.cc const base::DictionaryValue& dict_value = base 72 ppapi/shared_impl/var_value_conversions_unittest.cc static_cast<const base::DictionaryValue&>(value); base 88 ppapi/shared_impl/var_value_conversions_unittest.cc const base::Value* sub_value = NULL; base 96 ppapi/shared_impl/var_value_conversions_unittest.cc case base::Value::TYPE_LIST: { base 97 ppapi/shared_impl/var_value_conversions_unittest.cc const base::ListValue& list_value = base 98 ppapi/shared_impl/var_value_conversions_unittest.cc static_cast<const base::ListValue&>(value); base 103 ppapi/shared_impl/var_value_conversions_unittest.cc base::ListValue::const_iterator value_iter = list_value.begin(); base 120 ppapi/shared_impl/var_value_conversions_unittest.cc scoped_ptr<base::Value> value(CreateValueFromVar(var)); base 126 ppapi/shared_impl/var_value_conversions_unittest.cc bool ConvertValueAndVerify(const base::Value& value) { base 166 ppapi/shared_impl/var_value_conversions_unittest.cc scoped_ptr<base::Value> value(CreateValueFromVar(var_1.get())); base 271 ppapi/shared_impl/var_value_conversions_unittest.cc base::DictionaryValue dict_value; base 280 ppapi/shared_impl/var_value_conversions_unittest.cc base::ListValue list_value; base 289 ppapi/shared_impl/var_value_conversions_unittest.cc base::DictionaryValue dict_value; base 293 ppapi/shared_impl/var_value_conversions_unittest.cc scoped_ptr<base::ListValue> list_value(new base::ListValue()); base 296 ppapi/shared_impl/var_value_conversions_unittest.cc list_value->Append(base::Value::CreateNullValue()); base 307 ppapi/shared_impl/var_value_conversions_unittest.cc scoped_ptr<base::ListValue> list_value( base 337 ppapi/shared_impl/var_value_conversions_unittest.cc scoped_ptr<base::ListValue> list_value(CreateListValueFromVarVector(vars)); base 343 ppapi/shared_impl/var_value_conversions_unittest.cc const base::Value* value = NULL; base 353 ppapi/shared_impl/var_value_conversions_unittest.cc base::ListValue list_value; base 361 ppapi/shared_impl/var_value_conversions_unittest.cc base::ListValue list_value; base 363 ppapi/shared_impl/var_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> dict_value(new base::DictionaryValue()); base 366 ppapi/shared_impl/var_value_conversions_unittest.cc scoped_ptr<base::ListValue> sub_list_value(new base::ListValue()); base 374 ppapi/shared_impl/var_value_conversions_unittest.cc list_value.Append(base::Value::CreateNullValue()); base 382 ppapi/shared_impl/var_value_conversions_unittest.cc const base::Value* value = NULL; base 77 ppapi/tests/test_url_util.cc const char* base; base 90 ppapi/tests/test_url_util.cc pp::Var result = util_->ResolveRelativeToURL(test_cases[i].base, base 210 ppapi/thunk/enter.cc message = base::StringPrintf( base 214 ppapi/thunk/enter.cc message = base::StringPrintf( base 250 ppapi/thunk/enter.cc message = base::StringPrintf( base 27 ppapi/thunk/ppb_file_system_api.h typedef base::Callback<void(int64_t)> RequestQuotaCallback; base 24 ppapi/thunk/ppb_flash_message_loop_api.h typedef base::Callback<void (int32_t)> RunFromHostProxyCallback; base 29 ppapi/tools/pepper_hash_for_uma.cc uint32 data = base::Hash(argv[i], strlen(argv[i])); base 10 printing/android/java/src/org/chromium/printing/PrintingContext.java import org.chromium.base.CalledByNative; base 11 printing/android/java/src/org/chromium/printing/PrintingContext.java import org.chromium.base.JNINamespace; base 12 printing/android/java/src/org/chromium/printing/PrintingContext.java import org.chromium.base.ThreadUtils; base 14 printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java import org.chromium.base.ThreadUtils; base 36 printing/backend/cups_helper.cc void ParseLpOptions(const base::FilePath& filepath, base 40 printing/backend/cups_helper.cc if (!base::ReadFileToString(filepath, &content)) base 48 printing/backend/cups_helper.cc base::SplitString(content, '\n', &lines); base 55 printing/backend/cups_helper.cc if (base::strncasecmp (line.c_str(), kDefault, kDefaultLen) == 0 && base 58 printing/backend/cups_helper.cc } else if (base::strncasecmp (line.c_str(), kDest, kDestLen) == 0 && base 65 printing/backend/cups_helper.cc base::TrimWhitespaceASCII(line, base::TRIM_ALL, &line); base 77 printing/backend/cups_helper.cc if (base::strncasecmp(printer_name.c_str(), name.c_str(), base 84 printing/backend/cups_helper.cc base::TrimWhitespaceASCII(line, base::TRIM_ALL, &line); base 100 printing/backend/cups_helper.cc std::vector<base::FilePath> file_locations; base 101 printing/backend/cups_helper.cc file_locations.push_back(base::FilePath(kSystemLpOptionPath)); base 102 printing/backend/cups_helper.cc file_locations.push_back(base::FilePath( base 103 printing/backend/cups_helper.cc base::GetHomeDir().Append(kUserLpOptionPath))); base 105 printing/backend/cups_helper.cc for (std::vector<base::FilePath>::const_iterator it = file_locations.begin(); base 156 printing/backend/cups_helper.cc (base::strcasecmp(marked_choice->choice, printing::kBlack) != 0) && base 157 printing/backend/cups_helper.cc (base::strcasecmp(marked_choice->choice, printing::kGray) != 0) && base 158 printing/backend/cups_helper.cc (base::strcasecmp(marked_choice->choice, printing::kGrayscale) != 0); base 189 printing/backend/cups_helper.cc if ((base::strcasecmp(printout_mode_choice->choice, base 191 printing/backend/cups_helper.cc (base::strcasecmp(printout_mode_choice->choice, kHighGray) == 0) || base 192 printing/backend/cups_helper.cc (base::strcasecmp(printout_mode_choice->choice, kDraftGray) == 0)) { base 223 printing/backend/cups_helper.cc (base::strcasecmp(mode_choice->choice, printing::kColor) == 0); base 249 printing/backend/cups_helper.cc (base::strcasecmp(mode_choice->choice, printing::kColor) == 0); base 279 printing/backend/cups_helper.cc (base::strcasecmp(mode_choice->choice, printing::kGreyscale) != 0); base 344 printing/backend/cups_helper.cc base::FilePath ppd_file_path; base 345 printing/backend/cups_helper.cc if (!base::CreateTemporaryFile(&ppd_file_path)) base 349 printing/backend/cups_helper.cc if (data_size != base::WriteFile( base 353 printing/backend/cups_helper.cc base::DeleteFile(ppd_file_path, false); base 374 printing/backend/cups_helper.cc if (base::strcasecmp(duplex_choice->choice, kDuplexNone) != 0) base 394 printing/backend/cups_helper.cc base::DeleteFile(ppd_file_path, false); base 17 printing/backend/print_backend.h namespace base { base 89 printing/backend/print_backend.h : public base::RefCountedThreadSafe<PrintBackend> { base 121 printing/backend/print_backend.h const base::DictionaryValue* print_backend_settings); base 124 printing/backend/print_backend.h friend class base::RefCountedThreadSafe<PrintBackend>; base 69 printing/backend/print_backend_chromeos.cc const base::DictionaryValue* print_backend_settings) { base 92 printing/backend/print_backend_cups.cc base::LazyInstance<GcryptInitializer> g_gcrypt_initializer = base 132 printing/backend/print_backend_cups.cc base::FilePath GetPPD(const char* name); base 169 printing/backend/print_backend_cups.cc if (base::StringToInt(type_str, &type) && (type & CUPS_PRINTER_SCANNER)) base 185 printing/backend/print_backend_cups.cc base::StringToInt(state, &printer_info.printer_status); base 239 printing/backend/print_backend_cups.cc base::FilePath ppd_path(GetPPD(printer_name.c_str())); base 248 printing/backend/print_backend_cups.cc bool res = base::ReadFileToString(ppd_path, &content); base 250 printing/backend/print_backend_cups.cc base::DeleteFile(ppd_path, false); base 298 printing/backend/print_backend_cups.cc const base::DictionaryValue* print_backend_settings) { base 331 printing/backend/print_backend_cups.cc base::FilePath PrintBackendCUPS::GetPPD(const char* name) { base 334 printing/backend/print_backend_cups.cc CR_DEFINE_STATIC_LOCAL(base::Lock, ppd_lock, ()); base 335 printing/backend/print_backend_cups.cc base::AutoLock ppd_autolock(ppd_lock); base 336 printing/backend/print_backend_cups.cc base::FilePath ppd_path; base 341 printing/backend/print_backend_cups.cc ppd_path = base::FilePath(ppd_file_path); base 364 printing/backend/print_backend_cups.cc ppd_path = base::FilePath(ppd_file_path); base 372 printing/backend/print_backend_cups.cc base::DeleteFile(ppd_path, false); base 17 printing/backend/print_backend_dummy.cc const base::DictionaryValue* print_backend_settings) { base 32 printing/backend/print_backend_win.cc base::win::ScopedHGlobal<char> locked_data(hdata); base 52 printing/backend/print_backend_win.cc CHECK_LE(count, base::checked_cast<int>(tmp.size())); base 93 printing/backend/print_backend_win.cc base::string16 tmp_name(name_start, kMaxPaperName); base 96 printing/backend/print_backend_win.cc paper.name = base::WideToUTF8(tmp_name); base 119 printing/backend/print_backend_win.cc base::string16 tmp_name(name_start, kMaxPaperName); base 122 printing/backend/print_backend_win.cc paper.name = base::WideToUTF8(tmp_name); base 215 printing/backend/print_backend_win.cc return base::WideToUTF8(default_printer_name); base 222 printing/backend/print_backend_win.cc if (!printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str())) { base 232 printing/backend/print_backend_win.cc DCHECK_EQ(name, base::UTF8ToUTF16(printer_name)); base 236 printing/backend/print_backend_win.cc scoped_ptr<DEVMODE, base::FreeDeleter> user_settings = base 300 printing/backend/print_backend_win.cc std::wstring printer_name_wide = base::UTF8ToWide(printer_name); base 303 printing/backend/print_backend_win.cc base::win::ScopedComPtr<IStream> print_capabilities_stream; base 308 printing/backend/print_backend_win.cc base::win::ScopedBstr error; base 324 printing/backend/print_backend_win.cc scoped_ptr<DEVMODE, base::FreeDeleter> devmode_out( base 328 printing/backend/print_backend_win.cc base::win::ScopedComPtr<IStream> printer_defaults_stream; base 354 printing/backend/print_backend_win.cc if (!printer.OpenPrinter(base::UTF8ToWide(printer_name).c_str())) { base 362 printing/backend/print_backend_win.cc return printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str()); base 366 printing/backend/print_backend_win.cc const base::DictionaryValue* print_backend_settings) { base 91 printing/backend/win_helper.cc base::checked_cast<ULONG>(print_ticket.length()), base 182 printing/backend/win_helper.cc HRESULT XPSModule::OpenProvider(const base::string16& printer_name, base 332 printing/backend/win_helper.cc printer_info->printer_name = base::WideToUTF8(info_2.get()->pPrinterName); base 335 printing/backend/win_helper.cc base::WideToUTF8(info_2.get()->pComment); base 339 printing/backend/win_helper.cc base::WideToUTF8(info_2.get()->pLocation); base 343 printing/backend/win_helper.cc base::WideToUTF8(info_2.get()->pDriverName); base 366 printing/backend/win_helper.cc info[0] = base::WideToUTF8(info_6.get()->pName); base 371 printing/backend/win_helper.cc base::FilePath(info_6.get()->pDriverPath))); base 373 printing/backend/win_helper.cc info[1] = base::WideToUTF8(version_info->file_version()); base 374 printing/backend/win_helper.cc info[2] = base::WideToUTF8(version_info->product_name()); base 375 printing/backend/win_helper.cc info[3] = base::WideToUTF8(version_info->product_version()); base 388 printing/backend/win_helper.cc scoped_ptr<DEVMODE, base::FreeDeleter> XpsTicketToDevMode( base 389 printing/backend/win_helper.cc const base::string16& printer_name, base 391 printing/backend/win_helper.cc scoped_ptr<DEVMODE, base::FreeDeleter> dev_mode; base 402 printing/backend/win_helper.cc base::win::ScopedComPtr<IStream> pt_stream; base 431 printing/backend/win_helper.cc scoped_ptr<DEVMODE, base::FreeDeleter> CreateDevModeWithColor( base 433 printing/backend/win_helper.cc const base::string16& printer_name, base 435 printing/backend/win_helper.cc scoped_ptr<DEVMODE, base::FreeDeleter> default = CreateDevMode(printer, NULL); base 463 printing/backend/win_helper.cc std::string xps_ticket = base::StringPrintf(kXpsTicketTemplate, xps_color); base 464 printing/backend/win_helper.cc scoped_ptr<DEVMODE, base::FreeDeleter> ticket = base 472 printing/backend/win_helper.cc scoped_ptr<DEVMODE, base::FreeDeleter> CreateDevMode(HANDLE printer, base 476 printing/backend/win_helper.cc return scoped_ptr<DEVMODE, base::FreeDeleter>(); base 477 printing/backend/win_helper.cc scoped_ptr<DEVMODE, base::FreeDeleter> out( base 481 printing/backend/win_helper.cc return scoped_ptr<DEVMODE, base::FreeDeleter>(); base 46 printing/backend/win_helper.h : public base::win::GenericScopedHandle<PrinterHandleTraits, base 47 printing/backend/win_helper.h base::win::VerifierTraits> { base 59 printing/backend/win_helper.h typedef base::win::GenericScopedHandle<PrinterHandleTraits, base 60 printing/backend/win_helper.h base::win::VerifierTraits> Base; base 84 printing/backend/win_helper.h typedef base::win::GenericScopedHandle<PrinterChangeHandleTraits, base 85 printing/backend/win_helper.h base::win::DummyVerifierTraits> base 98 printing/backend/win_helper.h static HRESULT OpenProvider(const base::string16& printer_name, base 173 printing/backend/win_helper.h PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> XpsTicketToDevMode( base 174 printing/backend/win_helper.h const base::string16& printer_name, base 179 printing/backend/win_helper.h PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> CreateDevModeWithColor( base 181 printing/backend/win_helper.h const base::string16& printer_name, base 185 printing/backend/win_helper.h PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> CreateDevMode( base 142 printing/emf_win.cc base::win::ScopedCreateDC context_; base 144 printing/emf_win.cc base::win::ScopedBitmap bitmap_; base 177 printing/emf_win.cc bool Emf::InitToFile(const base::FilePath& metafile_path) { base 184 printing/emf_win.cc bool Emf::InitFromFile(const base::FilePath& metafile_path) { base 282 printing/emf_win.cc bool Emf::SaveTo(const base::FilePath& file_path) const { base 17 printing/emf_win.h namespace base { base 47 printing/emf_win.h virtual bool InitToFile(const base::FilePath& metafile_path); base 50 printing/emf_win.h virtual bool InitFromFile(const base::FilePath& metafile_path); base 76 printing/emf_win.h virtual bool SaveTo(const base::FilePath& file_path) const OVERRIDE; base 89 printing/emf_win_unittest.cc base::FilePath emf_file; base 90 printing/emf_win_unittest.cc EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &emf_file)); base 98 printing/emf_win_unittest.cc base::ReadFileToString(emf_file, &emf_data); base 128 printing/emf_win_unittest.cc base::win::ScopedCreateDC dc( base 172 printing/emf_win_unittest.cc base::ScopedTempDir scratch_metafile_dir; base 174 printing/emf_win_unittest.cc base::FilePath metafile_path; base 175 printing/emf_win_unittest.cc EXPECT_TRUE(base::CreateTemporaryFileInDir(scratch_metafile_dir.path(), base 192 printing/emf_win_unittest.cc base::GetFileSize(metafile_path, &file_size); base 20 printing/image.cc Image::Image(const base::FilePath& path) base 24 printing/image.cc base::ReadFileToString(path, &data); base 56 printing/image.cc base::MD5Digest digest; base 57 printing/image.cc base::MD5Sum(&data_[0], data_.size(), &digest); base 58 printing/image.cc return base::HexEncode(&digest, sizeof(digest)); base 61 printing/image.cc bool Image::SaveToPng(const base::FilePath& filepath) const { base 73 printing/image.cc int write_bytes = base::WriteFile( base 76 printing/image.cc base::checked_cast<int>(compressed.size())); base 155 printing/image.cc base::checked_cast<uint32>(data.size()))) base 16 printing/image.h namespace base { base 31 printing/image.h explicit Image(const base::FilePath& path); base 50 printing/image.h bool SaveToPng(const base::FilePath& filepath) const; base 28 printing/image_mac.cc base::ScopedCFTypeRef<CGColorSpaceRef> color_space( base 30 printing/image_mac.cc base::ScopedCFTypeRef<CGContextRef> bitmap_context( base 57 printing/image_win.cc base::win::ScopedCreateDC hdc(::CreateCompatibleDC(NULL)); base 70 printing/image_win.cc base::win::ScopedBitmap bitmap( base 74 printing/image_win.cc base::win::ScopedSelectObject select_object(hdc, bitmap); base 21 printing/metafile.h namespace base { base 33 printing/metafile.h namespace base { base 122 printing/metafile.h virtual bool SaveTo(const base::FilePath& file_path) const = 0; base 162 printing/metafile.h virtual bool SaveToFD(const base::FileDescriptor& fd) const = 0; base 13 printing/page_size_margins.cc void GetCustomMarginsFromJobSettings(const base::DictionaryValue& settings, base 15 printing/page_size_margins.cc const base::DictionaryValue* custom_margins; base 10 printing/page_size_margins.h namespace base { base 28 printing/page_size_margins.h const base::DictionaryValue& settings, PageSizeMargins* page_size_margins); base 19 printing/pdf_metafile_cg_mac.cc using base::ScopedCFTypeRef; base 40 printing/pdf_metafile_cg_mac.cc base::LazyInstance<base::ThreadLocalPointer<struct __CFSet> >::Leaky base 51 printing/pdf_metafile_cg_mac.cc base::mac::IsOSSnowLeopard()) { base 289 printing/pdf_metafile_cg_mac.cc bool PdfMetafileCg::SaveTo(const base::FilePath& file_path) const { base 17 printing/pdf_metafile_cg_mac.h namespace base { base 53 printing/pdf_metafile_cg_mac.h virtual bool SaveTo(const base::FilePath& file_path) const OVERRIDE; base 71 printing/pdf_metafile_cg_mac.h base::ThreadChecker thread_checker_; base 74 printing/pdf_metafile_cg_mac.h base::ScopedCFTypeRef<CGContextRef> context_; base 77 printing/pdf_metafile_cg_mac.h base::ScopedCFTypeRef<CFMutableDataRef> pdf_data_; base 80 printing/pdf_metafile_cg_mac.h mutable base::ScopedCFTypeRef<CGPDFDocumentRef> pdf_doc_; base 118 printing/pdf_metafile_skia.cc return base::checked_cast<uint32>(data_->pdf_stream_.getOffset()); base 131 printing/pdf_metafile_skia.cc bool PdfMetafileSkia::SaveTo(const base::FilePath& file_path) const { base 134 printing/pdf_metafile_skia.cc if (base::WriteFile(file_path, base 199 printing/pdf_metafile_skia.cc bool PdfMetafileSkia::SaveToFD(const base::FileDescriptor& fd) const { base 209 printing/pdf_metafile_skia.cc if (base::WriteFileDescriptor(fd.fd, base 247 printing/pdf_metafile_skia.cc base::checked_cast<uint32>(data->size())); base 47 printing/pdf_metafile_skia.h virtual bool SaveTo(const base::FilePath& file_path) const OVERRIDE; base 67 printing/pdf_metafile_skia.h virtual bool SaveToFD(const base::FileDescriptor& fd) const OVERRIDE; base 14 printing/print_destination_interface.h : public base::RefCountedThreadSafe<PrintDestinationInterface> { base 24 printing/print_destination_interface.h friend class base::RefCountedThreadSafe<PrintDestinationInterface>; base 18 printing/print_destination_win.cc HMODULE metro_module = base::win::GetMetroModule(); base 38 printing/print_destination_win.cc base::checked_cast<UINT32>(content_size)); base 40 printing/print_dialog_gtk_interface.h const base::string16& document_name) = 0; base 111 printing/print_settings.cc static base::StaticAtomicSequenceNumber cookie_seq; base 127 printing/print_settings.cc title_ = base::string16(); base 128 printing/print_settings.cc url_ = base::string16(); base 56 printing/print_settings.h void set_device_name(const base::string16& device_name) { base 59 printing/print_settings.h const base::string16& device_name() const { return device_name_; } base 95 printing/print_settings.h void set_title(const base::string16& title) { title_ = title; } base 96 printing/print_settings.h const base::string16& title() const { return title_; } base 98 printing/print_settings.h void set_url(const base::string16& url) { url_ = url; } base 99 printing/print_settings.h const base::string16& url() const { return url_; } base 153 printing/print_settings.h base::string16 title_; base 154 printing/print_settings.h base::string16 url_; base 175 printing/print_settings.h base::string16 device_name_; base 23 printing/print_settings_initializer.cc const base::DictionaryValue& job_settings, base 34 printing/print_settings_initializer.cc base::string16 title; base 35 printing/print_settings_initializer.cc base::string16 url; base 83 printing/print_settings_initializer.cc base::string16 device_name; base 13 printing/print_settings_initializer.h namespace base { base 26 printing/print_settings_initializer.h const base::DictionaryValue& job_settings, base 26 printing/print_settings_initializer_gtk.cc base::string16 name(base::UTF8ToUTF16(static_cast<const char*>( base 19 printing/print_settings_initializer_mac.cc base::SysCFStringRefToUTF16(PMPrinterGetID(printer))); base 37 printing/printed_document.cc base::FilePath debug_dump_path; base 40 printing/printed_document.cc base::LazyInstance<PrintDebugDumpPath> g_debug_dump_info = base 80 printing/printed_document.cc base::AutoLock lock(lock_); base 93 printing/printed_document.cc base::AutoLock lock(lock_); base 105 printing/printed_document.cc base::AutoLock lock(lock_); base 128 printing/printed_document.cc base::AutoLock lock(lock_); base 135 printing/printed_document.cc base::AutoLock lock(lock_); base 153 printing/printed_document.cc base::AutoLock lock(lock_); base 166 printing/printed_document.cc base::AutoLock lock(lock_); base 171 printing/printed_document.cc base::AutoLock lock(lock_); base 179 printing/printed_document.cc base::string16 filename; base 181 printing/printed_document.cc filename += base::ASCIIToUTF16("_"); base 182 printing/printed_document.cc filename += base::ASCIIToUTF16( base 183 printing/printed_document.cc base::StringPrintf("%02d", page.page_number())); base 185 printing/printed_document.cc filename += base::ASCIIToUTF16("_.emf"); base 189 printing/printed_document.cc filename += base::ASCIIToUTF16("_.pdf"); base 192 printing/printed_document.cc base::UTF16ToUTF8(filename))); base 197 printing/printed_document.cc const base::FilePath& debug_dump_path) { base 202 printing/printed_document.cc const base::FilePath& PrintedDocument::debug_dump_path() { base 222 printing/printed_document.cc source_message_loop_(base::MessageLoop::current()), base 16 printing/printed_document.h namespace base { base 35 printing/printed_document.h : public base::RefCountedThreadSafe<PrintedDocument> { base 93 printing/printed_document.h const base::string16& name() const { return immutable_.name_; } base 98 printing/printed_document.h static void set_debug_dump_path(const base::FilePath& debug_dump_path); base 100 printing/printed_document.h static const base::FilePath& debug_dump_path(); base 103 printing/printed_document.h friend class base::RefCountedThreadSafe<PrintedDocument>; base 149 printing/printed_document.h base::MessageLoop* source_message_loop_; base 152 printing/printed_document.h base::string16 name_; base 167 printing/printed_document.h mutable base::Lock lock_; base 20 printing/printed_document_linux.cc base::AutoLock lock(lock_); base 28 printing/printed_document_linux.cc base::AutoLock lock(lock_); base 21 printing/printed_document_mac.cc base::AutoLock lock(lock_); base 41 printing/printed_document_win.cc base::AutoLock lock(lock_); base 23 printing/printed_page.h : public base::RefCountedThreadSafe<PrintedPage> { base 44 printing/printed_page.h friend class base::RefCountedThreadSafe<PrintedPage>; base 16 printing/printed_pages_source.h virtual base::string16 RenderSourceName() = 0; base 51 printing/printing_context.cc const base::DictionaryValue& job_settings, base 16 printing/printing_context.h namespace base { base 39 printing/printing_context.h typedef base::Callback<void(Result)> PrintSettingsCallback; base 64 printing/printing_context.h Result UpdatePrintSettings(const base::DictionaryValue& job_settings, base 76 printing/printing_context.h virtual Result NewDocument(const base::string16& document_name) = 0; base 48 printing/printing_context_android.cc base::android::JavaIntArrayToIntVector(env, int_arr, &pages); base 70 printing/printing_context_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 90 printing/printing_context_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 116 printing/printing_context_android.cc settings_.set_device_name(base::IntToString16(fd)); base 191 printing/printing_context_android.cc const base::string16& document_name) { base 43 printing/printing_context_android.h virtual Result NewDocument(const base::string16& document_name) OVERRIDE; base 55 printing/printing_context_android.h base::android::ScopedJavaGlobalRef<jobject> j_printing_context_; base 138 printing/printing_context_linux.cc const base::string16& document_name) { base 12 printing/printing_context_linux.h namespace base { base 49 printing/printing_context_linux.h virtual Result NewDocument(const base::string16& document_name) OVERRIDE; base 58 printing/printing_context_linux.h base::string16 document_name_; base 37 printing/printing_context_mac.h virtual Result NewDocument(const base::string16& document_name) OVERRIDE; base 89 printing/printing_context_mac.h base::scoped_nsobject<NSPrintInfo> print_info_; base 96 printing/printing_context_no_system_dialog.cc const base::string16& document_name) { base 12 printing/printing_context_no_system_dialog.h namespace base { base 33 printing/printing_context_no_system_dialog.h virtual Result NewDocument(const base::string16& document_name) OVERRIDE; base 36 printing/printing_context_win.cc using base::Time; base 181 printing/printing_context_win.cc HMODULE metro_module = base::win::GetMetroModule(); base 274 printing/printing_context_win.cc scoped_ptr<DEVMODE, base::FreeDeleter> dev_mode = base 336 printing/printing_context_win.cc scoped_ptr<DEVMODE, base::FreeDeleter> scoped_dev_mode = base 412 printing/printing_context_win.cc const base::string16& document_name) { base 428 printing/printing_context_win.cc const std::wstring& document_name_wide = base::UTF16ToWide(document_name); base 432 printing/printing_context_win.cc base::FilePath debug_dump_path = PrintedDocument::debug_dump_path(); base 437 printing/printing_context_win.cc filename = base::TimeFormatShortDateNumeric(now); base 439 printing/printing_context_win.cc filename += base::TimeFormatTimeOfDay(now); base 441 printing/printing_context_win.cc filename += base::UTF16ToWide(document_name); base 450 printing/printing_context_win.cc DCHECK(!base::MessageLoop::current() || base 451 printing/printing_context_win.cc !base::MessageLoop::current()->NestableTasksAllowed()); base 581 printing/printing_context_win.cc scoped_ptr<DEVMODE, base::FreeDeleter> dev_mode = base 685 printing/printing_context_win.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 686 printing/printing_context_win.cc base::MessageLoop::current()); base 35 printing/printing_context_win.h virtual Result NewDocument(const base::string16& document_name) OVERRIDE; base 56 printing/printing_context_win_unittest.cc base::string16 printer_name = PrintingContextTest::GetDefaultPrinter(); base 173 printing/printing_context_win_unittest.cc base::MessageLoop message_loop; base 179 printing/printing_context_win_unittest.cc NULL, 123, false, base::Bind(&PrintingContextTest::PrintSettingsCallback, base 180 printing/printing_context_win_unittest.cc base::Unretained(this))); base 18 printing/printing_utils.cc base::string16 SimplifyDocumentTitle(const base::string16& title) { base 19 printing/printing_utils.cc base::string16 no_controls(title); base 23 printing/printing_utils.cc base::string16 result; base 14 printing/printing_utils.h PRINTING_EXPORT base::string16 SimplifyDocumentTitle( base 15 printing/printing_utils.h const base::string16& title); base 12 printing/printing_utils_unittest.cc return base::UTF16ToUTF8(SimplifyDocumentTitle(base::ASCIIToUTF16(title))); base 22 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java import org.chromium.base.CalledByNative; base 23 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java import org.chromium.base.JNINamespace; base 13 remoting/android/javatests/src/org/chromium/chromoting/SwipePinchDetectorTest.java import org.chromium.base.test.util.Feature; base 24 remoting/base/auto_thread.cc scoped_ptr<base::win::ScopedCOMInitializer> CreateComInitializer( base 26 remoting/base/auto_thread.cc scoped_ptr<base::win::ScopedCOMInitializer> initializer; base 28 remoting/base/auto_thread.cc initializer.reset(new base::win::ScopedCOMInitializer( base 29 remoting/base/auto_thread.cc base::win::ScopedCOMInitializer::kMTA)); base 31 remoting/base/auto_thread.cc initializer.reset(new base::win::ScopedCOMInitializer()); base 43 remoting/base/auto_thread.cc base::MessageLoop::Type loop_type; base 49 remoting/base/auto_thread.cc base::WaitableEvent event; base 51 remoting/base/auto_thread.cc explicit StartupData(base::MessageLoop::Type type) base 59 remoting/base/auto_thread.cc base::MessageLoop::Type type) { base 70 remoting/base/auto_thread.cc return CreateWithType(name, joiner, base::MessageLoop::TYPE_DEFAULT); base 78 remoting/base/auto_thread.cc base::MessageLoop::Type loop_type, base 116 remoting/base/auto_thread.cc base::PlatformThread::Join(thread_); base 121 remoting/base/auto_thread.cc base::MessageLoop::Type type) { base 124 remoting/base/auto_thread.cc DCHECK(com_init_type_ != COM_INIT_STA || type == base::MessageLoop::TYPE_UI); base 130 remoting/base/auto_thread.cc if (!base::PlatformThread::Create(0, this, &thread_)) { base 141 remoting/base/auto_thread.cc base::ThreadRestrictions::ScopedAllowWait allow_wait; base 159 remoting/base/auto_thread.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) { base 161 remoting/base/auto_thread.cc task_runner->PostTask(FROM_HERE, base::Bind(&AutoThread::QuitThread, base 162 remoting/base/auto_thread.cc base::Unretained(this), base 167 remoting/base/auto_thread.cc base::MessageLoop::current()->Quit(); base 173 remoting/base/auto_thread.cc base::Bind(&AutoThread::JoinAndDeleteThread, base::Unretained(this))); base 183 remoting/base/auto_thread.cc base::MessageLoop message_loop(startup_data_->loop_type); base 186 remoting/base/auto_thread.cc base::PlatformThread::SetName(name_.c_str()); base 194 remoting/base/auto_thread.cc base::Bind(&AutoThread::QuitThread, base 195 remoting/base/auto_thread.cc base::Unretained(this), base 204 remoting/base/auto_thread.cc scoped_ptr<base::win::ScopedCOMInitializer> com_initializer( base 30 remoting/base/auto_thread.h class AutoThread : base::PlatformThread::Delegate { base 38 remoting/base/auto_thread.h base::MessageLoop::Type type); base 50 remoting/base/auto_thread.h base::MessageLoop::Type loop_type, base 71 remoting/base/auto_thread.h base::MessageLoop::Type type); base 82 remoting/base/auto_thread.h void QuitThread(scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 98 remoting/base/auto_thread.h base::PlatformThreadHandle thread_; base 12 remoting/base/auto_thread_task_runner.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 13 remoting/base/auto_thread_task_runner.cc const base::Closure& stop_task) base 21 remoting/base/auto_thread_task_runner.cc const base::Closure& task, base 22 remoting/base/auto_thread_task_runner.cc base::TimeDelta delay) { base 29 remoting/base/auto_thread_task_runner.cc const base::Closure& task, base 30 remoting/base/auto_thread_task_runner.cc base::TimeDelta delay) { base 19 remoting/base/auto_thread_task_runner.h class AutoThreadTaskRunner : public base::SingleThreadTaskRunner { base 24 remoting/base/auto_thread_task_runner.h AutoThreadTaskRunner(scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 25 remoting/base/auto_thread_task_runner.h const base::Closure& stop_task); base 30 remoting/base/auto_thread_task_runner.h const base::Closure& task, base 31 remoting/base/auto_thread_task_runner.h base::TimeDelta delay) OVERRIDE; base 34 remoting/base/auto_thread_task_runner.h const base::Closure& task, base 35 remoting/base/auto_thread_task_runner.h base::TimeDelta delay) OVERRIDE; base 42 remoting/base/auto_thread_task_runner.h base::Closure stop_task_; base 45 remoting/base/auto_thread_task_runner.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 23 remoting/base/auto_thread_task_runner_unittest.cc base::MessageLoop message_loop; base 25 remoting/base/auto_thread_task_runner_unittest.cc message_loop.message_loop_proxy(), base::MessageLoop::QuitClosure()); base 29 remoting/base/auto_thread_task_runner_unittest.cc message_loop.PostTask(FROM_HERE, base::Bind(&SetFlagTask, &success)); base 26 remoting/base/auto_thread_unittest.cc scoped_refptr<base::TaskRunner> task_runner, base 28 remoting/base/auto_thread_unittest.cc task_runner->PostTask(FROM_HERE, base::Bind(&SetFlagTask, success)); base 37 remoting/base/auto_thread_unittest.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) { base 43 remoting/base/auto_thread_unittest.cc base::ScopedNativeLibrary com_library(base::FilePath(L"ole32.dll")); base 70 remoting/base/auto_thread_unittest.cc base::MessageLoop::QuitClosure(), base 71 remoting/base/auto_thread_unittest.cc base::TimeDelta::FromSeconds(5)); base 78 remoting/base/auto_thread_unittest.cc base::Bind(&AutoThreadTest::QuitMainMessageLoop, base 79 remoting/base/auto_thread_unittest.cc base::Unretained(this))); base 90 remoting/base/auto_thread_unittest.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 93 remoting/base/auto_thread_unittest.cc base::MessageLoop message_loop_; base 100 remoting/base/auto_thread_unittest.cc scoped_refptr<base::TaskRunner> task_runner = base 110 remoting/base/auto_thread_unittest.cc scoped_refptr<base::TaskRunner> task_runner = base 116 remoting/base/auto_thread_unittest.cc task_runner->PostTask(FROM_HERE, base::Bind(&SetFlagTask, &success)); base 126 remoting/base/auto_thread_unittest.cc scoped_refptr<base::TaskRunner> task_runner1 = base 129 remoting/base/auto_thread_unittest.cc scoped_refptr<base::TaskRunner> task_runner2 = base 136 remoting/base/auto_thread_unittest.cc base::Bind(&PostSetFlagTask, task_runner2, &success)); base 147 remoting/base/auto_thread_unittest.cc scoped_refptr<base::TaskRunner> task_runner = base 150 remoting/base/auto_thread_unittest.cc base::MessageLoop::TYPE_DEFAULT, base 158 remoting/base/auto_thread_unittest.cc base::Bind(&CheckComAptTypeTask, &apt_type, &hresult)); base 164 remoting/base/auto_thread_unittest.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7) { base 173 remoting/base/auto_thread_unittest.cc scoped_refptr<base::TaskRunner> task_runner = base 176 remoting/base/auto_thread_unittest.cc base::MessageLoop::TYPE_UI, base 184 remoting/base/auto_thread_unittest.cc base::Bind(&CheckComAptTypeTask, &apt_type, &hresult)); base 190 remoting/base/auto_thread_unittest.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7) { base 51 remoting/base/breakpad_win.cc using base::subtle::AtomicWord; base 52 remoting/base/breakpad_win.cc using base::subtle::NoBarrier_CompareAndSwap; base 95 remoting/base/breakpad_win.cc static base::LazyInstance<BreakpadWin>::Leaky g_instance = base 128 remoting/base/breakpad_win.cc base::win::WinProcExceptionFilter exception_filter = base 129 remoting/base/breakpad_win.cc base::win::SetWinProcExceptionFilter(&OnWindowProcedureException); base 146 remoting/base/breakpad_win.cc HMODULE binary = base::GetModuleFromAddress( base 154 remoting/base/breakpad_win.cc base::UTF16ToWide(version_info->product_version()).c_str()); base 89 remoting/base/breakpad_win_unittest.cc scoped_ptr<base::Environment> environment(base::Environment::Create()); base 94 remoting/base/breakpad_win_unittest.cc pipe_name_ = base::UTF8ToWide(pipe_name); base 104 remoting/base/breakpad_win_unittest.cc base::StringPrintf( base 119 remoting/base/breakpad_win_unittest.cc base::WideToUTF8(pipe_name_))); base 86 remoting/base/compound_buffer_unittest.cc const base::Callback<void(int, int)>& function) { base 182 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes0, base::Bind( base 183 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::Append, base::Unretained(this))); base 187 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes1, base::Bind( base 188 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::Append, base::Unretained(this))); base 194 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes0, base::Bind( base 195 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::AppendCopyOf, base::Unretained(this))); base 199 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes1, base::Bind( base 200 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::AppendCopyOf, base::Unretained(this))); base 206 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes0, base::Bind( base 207 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::Prepend, base::Unretained(this))); base 211 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes1, base::Bind( base 212 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::Prepend, base::Unretained(this))); base 218 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes0, base::Bind( base 219 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::PrependCopyOf, base::Unretained(this))); base 223 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes1, base::Bind( base 224 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::PrependCopyOf, base::Unretained(this))); base 230 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes1, base::Bind( base 231 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::Append, base::Unretained(this))); base 232 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kCropSizes, base::Bind( base 233 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::TestCropFront, base::Unretained(this))); base 238 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes1, base::Bind( base 239 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::Append, base::Unretained(this))); base 240 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kCropSizes, base::Bind( base 241 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::TestCropBack, base::Unretained(this))); base 246 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kChunkSizes1, base::Bind( base 247 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::Append, base::Unretained(this))); base 250 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kCopySizes0, base::Bind( base 251 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::TestCopyFrom, base::Unretained(this))); base 255 remoting/base/compound_buffer_unittest.cc IterateOverPieces(kCopySizes1, base::Bind( base 256 remoting/base/compound_buffer_unittest.cc &CompoundBufferTest::TestCopyFrom, base::Unretained(this))); base 11 remoting/base/plugin_thread_task_runner.cc base::TimeDelta CalcTimeDelta(base::TimeTicks when) { base 12 remoting/base/plugin_thread_task_runner.cc return std::max(when - base::TimeTicks::Now(), base::TimeDelta()); base 23 remoting/base/plugin_thread_task_runner.cc : plugin_thread_id_(base::PlatformThread::CurrentId()), base 42 remoting/base/plugin_thread_task_runner.cc base::AutoLock auto_lock(lock_); base 59 remoting/base/plugin_thread_task_runner.cc RunDueTasks(base::TimeTicks::Now()); base 70 remoting/base/plugin_thread_task_runner.cc RunDueTasks(base::TimeTicks::Now()); base 72 remoting/base/plugin_thread_task_runner.cc base::AutoLock auto_lock(lock_); base 78 remoting/base/plugin_thread_task_runner.cc base::AutoLock auto_lock(lock_); base 88 remoting/base/plugin_thread_task_runner.cc const base::Closure& task, base 89 remoting/base/plugin_thread_task_runner.cc base::TimeDelta delay) { base 92 remoting/base/plugin_thread_task_runner.cc base::TimeTicks delayed_run_time; base 93 remoting/base/plugin_thread_task_runner.cc if (delay > base::TimeDelta()) { base 94 remoting/base/plugin_thread_task_runner.cc delayed_run_time = base::TimeTicks::Now() + delay; base 99 remoting/base/plugin_thread_task_runner.cc base::PendingTask pending_task(from_here, task, delayed_run_time, false); base 102 remoting/base/plugin_thread_task_runner.cc base::AutoLock locked(lock_); base 123 remoting/base/plugin_thread_task_runner.cc const base::Closure& task, base 124 remoting/base/plugin_thread_task_runner.cc base::TimeDelta delay) { base 133 remoting/base/plugin_thread_task_runner.cc return base::PlatformThread::CurrentId() == plugin_thread_id_; base 140 remoting/base/plugin_thread_task_runner.cc base::Closure closure = base::Bind(&PluginThreadTaskRunner::RunTasks, this); base 142 remoting/base/plugin_thread_task_runner.cc base::TimeDelta(), base 144 remoting/base/plugin_thread_task_runner.cc new base::Closure(closure)); base 150 remoting/base/plugin_thread_task_runner.cc void PluginThreadTaskRunner::PostDelayedRunTasks(base::TimeTicks when) { base 159 remoting/base/plugin_thread_task_runner.cc base::TimeDelta delay = CalcTimeDelta(when); base 160 remoting/base/plugin_thread_task_runner.cc base::Closure closure = base 161 remoting/base/plugin_thread_task_runner.cc base::Bind(&PluginThreadTaskRunner::RunDelayedTasks, this, when); base 165 remoting/base/plugin_thread_task_runner.cc new base::Closure(closure)); base 178 remoting/base/plugin_thread_task_runner.cc base::TaskQueue work_queue; base 180 remoting/base/plugin_thread_task_runner.cc base::AutoLock locked(lock_); base 185 remoting/base/plugin_thread_task_runner.cc base::PendingTask pending_task = work_queue.front(); base 196 remoting/base/plugin_thread_task_runner.cc void PluginThreadTaskRunner::RunDelayedTasks(base::TimeTicks when) { base 205 remoting/base/plugin_thread_task_runner.cc RunDueTasks(base::TimeTicks::Now()); base 209 remoting/base/plugin_thread_task_runner.cc void PluginThreadTaskRunner::RunDueTasks(base::TimeTicks now) { base 222 remoting/base/plugin_thread_task_runner.cc base::TimeTicks when = delayed_queue_.top().delayed_run_time; base 236 remoting/base/plugin_thread_task_runner.cc RunDueTasks(base::TimeTicks::Now()); base 242 remoting/base/plugin_thread_task_runner.cc base::Closure* task = reinterpret_cast<base::Closure*>(data); base 22 remoting/base/plugin_thread_task_runner.h class PluginThreadTaskRunner : public base::SingleThreadTaskRunner { base 29 remoting/base/plugin_thread_task_runner.h base::TimeDelta delay, void(function)(void*), void* data) = 0; base 51 remoting/base/plugin_thread_task_runner.h const base::Closure& task, base 52 remoting/base/plugin_thread_task_runner.h base::TimeDelta delay) OVERRIDE; base 55 remoting/base/plugin_thread_task_runner.h const base::Closure& task, base 56 remoting/base/plugin_thread_task_runner.h base::TimeDelta delay) OVERRIDE; base 72 remoting/base/plugin_thread_task_runner.h void PostDelayedRunTasks(base::TimeTicks when); base 79 remoting/base/plugin_thread_task_runner.h void RunDelayedTasks(base::TimeTicks when); base 82 remoting/base/plugin_thread_task_runner.h void RunDueTasks(base::TimeTicks now); base 89 remoting/base/plugin_thread_task_runner.h const base::PlatformThreadId plugin_thread_id_; base 93 remoting/base/plugin_thread_task_runner.h base::WaitableEvent event_; base 95 remoting/base/plugin_thread_task_runner.h base::Lock lock_; base 104 remoting/base/plugin_thread_task_runner.h base::TaskQueue incoming_queue_; base 115 remoting/base/plugin_thread_task_runner.h base::DelayedTaskQueue delayed_queue_; base 118 remoting/base/plugin_thread_task_runner.h std::set<base::TimeTicks> scheduled_timers_; base 11 remoting/base/rate_counter.cc RateCounter::RateCounter(base::TimeDelta time_window) base 23 remoting/base/rate_counter.cc base::Time current_time = CurrentTime(); base 36 remoting/base/rate_counter.cc void RateCounter::SetCurrentTimeForTest(base::Time current_time) { base 43 remoting/base/rate_counter.cc void RateCounter::EvictOldDataPoints(base::Time current_time) { base 45 remoting/base/rate_counter.cc base::Time window_start = current_time - time_window_; base 56 remoting/base/rate_counter.cc base::Time RateCounter::CurrentTime() const { base 57 remoting/base/rate_counter.cc if (current_time_for_test_ == base::Time()) base 58 remoting/base/rate_counter.cc return base::Time::Now(); base 20 remoting/base/rate_counter.h class RateCounter : public base::NonThreadSafe { base 23 remoting/base/rate_counter.h explicit RateCounter(base::TimeDelta time_window); base 34 remoting/base/rate_counter.h void SetCurrentTimeForTest(base::Time current_time); base 38 remoting/base/rate_counter.h typedef std::pair<base::Time, int64> DataPoint; base 41 remoting/base/rate_counter.h void EvictOldDataPoints(base::Time current_time); base 44 remoting/base/rate_counter.h base::Time CurrentTime() const; base 47 remoting/base/rate_counter.h const base::TimeDelta time_window_; base 56 remoting/base/rate_counter.h base::Time current_time_for_test_; base 14 remoting/base/rate_counter_unittest.cc RateCounter rate_counter(base::TimeDelta::FromSeconds(1)); base 17 remoting/base/rate_counter_unittest.cc base::Time now = base::Time::Now(); base 19 remoting/base/rate_counter_unittest.cc now += base::TimeDelta::FromSeconds(1); base 28 remoting/base/rate_counter_unittest.cc RateCounter rate_counter(base::TimeDelta::FromSeconds(1)); base 31 remoting/base/rate_counter_unittest.cc rate_counter.SetCurrentTimeForTest(base::Time::Now()); base 46 remoting/base/rate_counter_unittest.cc RateCounter rate_counter(base::TimeDelta::FromSeconds(2)); base 49 remoting/base/rate_counter_unittest.cc base::Time now = base::Time::Now(); base 51 remoting/base/rate_counter_unittest.cc now += base::TimeDelta::FromSeconds(1); base 67 remoting/base/rate_counter_unittest.cc RateCounter rate_counter(base::TimeDelta::FromSeconds(kWindowSeconds)); base 71 remoting/base/rate_counter_unittest.cc base::Time now = base::Time::Now(); base 73 remoting/base/rate_counter_unittest.cc now += base::TimeDelta::FromSeconds(1); base 30 remoting/base/resources_linux.cc base::FilePath path = base::FilePath(info.dli_fname).DirName(); base 27 remoting/base/resources_mac.cc base::FilePath path = base 28 remoting/base/resources_mac.cc base::FilePath(info.dli_fname).DirName().DirName().DirName(); base 29 remoting/base/resources_mac.cc base::mac::SetOverrideFrameworkBundlePath(path); base 42 remoting/base/rsa_key_pair.cc if (!base::Base64Decode(key_base64, &key_str)) { base 66 remoting/base/rsa_key_pair.cc base::Base64Encode(key_str, &key_base64); base 75 remoting/base/rsa_key_pair.cc base::Base64Encode(public_key_str, &public_key_base64); base 88 remoting/base/rsa_key_pair.cc base::Base64Encode(signature_str, &signature_base64); base 101 remoting/base/rsa_key_pair.cc base::RandInt(1, std::numeric_limits<int>::max()), base 102 remoting/base/rsa_key_pair.cc base::Time::Now(), base 103 remoting/base/rsa_key_pair.cc base::Time::Now() + base::TimeDelta::FromDays(1), base 19 remoting/base/rsa_key_pair.h class RsaKeyPair : public base::RefCountedThreadSafe<RsaKeyPair> { base 44 remoting/base/rsa_key_pair.h friend class base::RefCountedThreadSafe<RsaKeyPair>; base 21 remoting/base/running_average.cc base::AutoLock auto_lock(lock_); base 33 remoting/base/running_average.cc base::AutoLock auto_lock(lock_); base 36 remoting/base/running_average.h base::Lock lock_; base 37 remoting/base/scoped_sc_handle_win.h typedef base::win::GenericScopedHandle< base 38 remoting/base/scoped_sc_handle_win.h ScHandleTraits, base::win::DummyVerifierTraits> ScopedScHandle; base 45 remoting/base/socket_reader.cc base::Bind(&SocketReader::OnRead, weak_factory_.GetWeakPtr())); base 62 remoting/base/socket_reader.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 64 remoting/base/socket_reader.cc base::Bind(&SocketReader::CallCallback, weak_factory_.GetWeakPtr(), base 27 remoting/base/socket_reader.h typedef base::Callback<void(scoped_refptr<net::IOBuffer> data, base 48 remoting/base/socket_reader.h base::WeakPtrFactory<SocketReader> weak_factory_; base 48 remoting/base/url_request_context.cc base::SingleThreadTaskRunner* io_thread_task_runner) { base 119 remoting/base/url_request_context.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner) base 133 remoting/base/url_request_context.cc scoped_refptr<base::SingleThreadTaskRunner> base 18 remoting/base/url_request_context.h namespace base { base 43 remoting/base/url_request_context.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner); base 47 remoting/base/url_request_context.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 54 remoting/base/url_request_context.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 26 remoting/base/util.cc base::Time t = base::Time::NowFromSystemTime(); base 27 remoting/base/util.cc base::Time::Exploded tex; base 29 remoting/base/util.cc return base::StringPrintf("%02d%02d/%02d%02d%02d:", base 36 remoting/base/vlog_net_log.cc scoped_ptr<base::Value> value(entry.ToValue()); base 38 remoting/base/vlog_net_log.cc base::JSONWriter::Write(value.get(), &json); base 16 remoting/client/audio_decode_scheduler.cc class AudioDecodeScheduler::Core : public base::RefCountedThreadSafe<Core> { base 18 remoting/client/audio_decode_scheduler.cc Core(scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 19 remoting/client/audio_decode_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> audio_decode_task_runner, base 24 remoting/client/audio_decode_scheduler.cc const base::Closure& done); base 35 remoting/client/audio_decode_scheduler.cc void DecodePacket(scoped_ptr<AudioPacket> packet, const base::Closure& done); base 39 remoting/client/audio_decode_scheduler.cc const base::Closure& done); base 41 remoting/client/audio_decode_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 42 remoting/client/audio_decode_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> audio_decode_task_runner_; base 50 remoting/client/audio_decode_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 51 remoting/client/audio_decode_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> audio_decode_task_runner, base 69 remoting/client/audio_decode_scheduler.cc const base::Closure& done) { base 71 remoting/client/audio_decode_scheduler.cc audio_decode_task_runner_->PostTask(FROM_HERE, base::Bind( base 73 remoting/client/audio_decode_scheduler.cc base::Passed(&packet), done)); base 83 remoting/client/audio_decode_scheduler.cc const base::Closure& done) { base 87 remoting/client/audio_decode_scheduler.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 89 remoting/client/audio_decode_scheduler.cc base::Passed(&decoded_packet), done)); base 94 remoting/client/audio_decode_scheduler.cc const base::Closure& done) { base 103 remoting/client/audio_decode_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 104 remoting/client/audio_decode_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> audio_decode_task_runner, base 119 remoting/client/audio_decode_scheduler.cc const base::Closure& done) { base 12 remoting/client/audio_decode_scheduler.h namespace base { base 29 remoting/client/audio_decode_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 30 remoting/client/audio_decode_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> audio_decode_task_runner, base 39 remoting/client/audio_decode_scheduler.h const base::Closure& done) OVERRIDE; base 30 remoting/client/audio_player.cc base::AutoLock auto_lock(lock_); base 52 remoting/client/audio_player.cc base::AutoLock auto_lock(lock_); base 64 remoting/client/audio_player.cc base::AutoLock auto_lock(lock_); base 71 remoting/client/audio_player.cc base::Time::kMillisecondsPerSecond; base 97 remoting/client/audio_player.cc base::AutoLock auto_lock(lock_); base 52 remoting/client/audio_player.h base::Lock lock_; base 23 remoting/client/chromoting_client.h namespace base { base 93 remoting/client/chromoting_client.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 101 remoting/client/chromoting_client.h base::Closure client_done_; base 113 remoting/client/chromoting_client.h base::WeakPtr<ChromotingClient> weak_ptr_; base 114 remoting/client/chromoting_client.h base::WeakPtrFactory<ChromotingClient> weak_factory_; base 20 remoting/client/chromoting_stats.cc : video_bandwidth_(base::TimeDelta::FromSeconds(kTimeWindow)), base 21 remoting/client/chromoting_stats.cc video_frame_rate_(base::TimeDelta::FromSeconds(kTimeWindow)), base 9 remoting/client/client_context.cc ClientContext::ClientContext(base::SingleThreadTaskRunner* main_task_runner) base 30 remoting/client/client_context.cc base::SingleThreadTaskRunner* ClientContext::main_task_runner() { base 34 remoting/client/client_context.cc base::SingleThreadTaskRunner* ClientContext::decode_task_runner() { base 38 remoting/client/client_context.cc base::SingleThreadTaskRunner* ClientContext::audio_decode_task_runner() { base 12 remoting/client/client_context.h namespace base { base 24 remoting/client/client_context.h ClientContext(base::SingleThreadTaskRunner* main_task_runner); base 30 remoting/client/client_context.h base::SingleThreadTaskRunner* main_task_runner(); base 31 remoting/client/client_context.h base::SingleThreadTaskRunner* decode_task_runner(); base 32 remoting/client/client_context.h base::SingleThreadTaskRunner* audio_decode_task_runner(); base 35 remoting/client/client_context.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 38 remoting/client/client_context.h base::Thread decode_thread_; base 41 remoting/client/client_context.h base::Thread audio_decode_thread_; base 17 remoting/client/frame_consumer_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 18 remoting/client/frame_consumer_proxy.cc const base::WeakPtr<FrameConsumer>& frame_consumer) base 30 remoting/client/frame_consumer_proxy.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 42 remoting/client/frame_consumer_proxy.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 55 remoting/client/frame_consumer_proxy.cc task_runner_->PostTask(FROM_HERE, base::Bind( base 17 remoting/client/frame_consumer_proxy.h namespace base { base 24 remoting/client/frame_consumer_proxy.h : public base::RefCountedThreadSafe<FrameConsumerProxy>, base 29 remoting/client/frame_consumer_proxy.h FrameConsumerProxy(scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 30 remoting/client/frame_consumer_proxy.h const base::WeakPtr<FrameConsumer>& frame_consumer); base 44 remoting/client/frame_consumer_proxy.h friend class base::RefCountedThreadSafe<FrameConsumerProxy>; base 47 remoting/client/frame_consumer_proxy.h base::WeakPtr<FrameConsumer> frame_consumer_; base 48 remoting/client/frame_consumer_proxy.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 38 remoting/client/frame_producer.h virtual void RequestReturnBuffers(const base::Closure& done) = 0; base 63 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::FetchSecret, this); base 79 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::ConnectToHostOnDisplayThread, base 89 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::Cleanup, this)); base 101 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::DisconnectFromHostOnNetworkThread, base 117 remoting/client/jni/chromoting_jni_instance.cc base::Bind(pin_callback_, pin)); base 124 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::RedrawDesktop, this)); base 137 remoting/client/jni/chromoting_jni_instance.cc FROM_HERE, base::Bind(&ChromotingJniInstance::SendMouseEvent, base 156 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::SendMouseWheelEvent, this, base 170 remoting/client/jni/chromoting_jni_instance.cc FROM_HERE, base::Bind(&ChromotingJniInstance::SendKeyEvent, base 190 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::SendTextEvent, this, text)); base 202 remoting/client/jni/chromoting_jni_instance.cc FROM_HERE, base::Bind(&ChromotingJniInstance::RecordPaintTime, this, base 227 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniRuntime::ReportConnectionStatus, base 228 remoting/client/jni/chromoting_jni_instance.cc base::Unretained(jni_runtime_), base 254 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniRuntime::CommitPairingCredentials, base 255 remoting/client/jni/chromoting_jni_instance.cc base::Unretained(jni_runtime_), base 288 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::SetCursorShape, this, shape)); base 299 remoting/client/jni/chromoting_jni_instance.cc view_weak_factory_.reset(new base::WeakPtrFactory<JniFrameConsumer>( base 306 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::ConnectToHostOnNetworkThread, base 368 remoting/client/jni/chromoting_jni_instance.cc FROM_HERE, base::Bind(&ChromotingJniInstance::FetchSecret, base 386 remoting/client/jni/chromoting_jni_instance.cc FROM_HERE, base::Bind(&ChromotingJniInstance::SetDeviceName, this, base 399 remoting/client/jni/chromoting_jni_instance.cc FROM_HERE, base::Bind(&ChromotingJniInstance::LogPerfStats, this), base 400 remoting/client/jni/chromoting_jni_instance.cc base::TimeDelta::FromMilliseconds(kPerfStatsIntervalMs)); base 424 remoting/client/jni/chromoting_jni_instance.cc FROM_HERE, base::Bind(&ChromotingJniInstance::LogPerfStats, this), base 425 remoting/client/jni/chromoting_jni_instance.cc base::TimeDelta::FromMilliseconds(kPerfStatsIntervalMs)); base 39 remoting/client/jni/chromoting_jni_instance.h public base::RefCountedThreadSafe<ChromotingJniInstance> { base 141 remoting/client/jni/chromoting_jni_instance.h scoped_ptr<base::WeakPtrFactory<JniFrameConsumer> > view_weak_factory_; base 170 remoting/client/jni/chromoting_jni_instance.h friend class base::RefCountedThreadSafe<ChromotingJniInstance>; base 15 remoting/client/jni/chromoting_jni_onload.cc base::android::InitVM(vm); base 17 remoting/client/jni/chromoting_jni_onload.cc JNIEnv* env = base::android::AttachCurrentThread(); base 18 remoting/client/jni/chromoting_jni_onload.cc static base::android::RegistrationMethod kRemotingRegisteredMethods[] = { base 19 remoting/client/jni/chromoting_jni_onload.cc {"base", base::android::RegisterJni}, base 24 remoting/client/jni/chromoting_jni_onload.cc if (!base::android::RegisterNativeMethods( base 22 remoting/client/jni/chromoting_jni_runtime.cc using base::android::ConvertJavaStringToUTF8; base 23 remoting/client/jni/chromoting_jni_runtime.cc using base::android::ConvertUTF8ToJavaString; base 24 remoting/client/jni/chromoting_jni_runtime.cc using base::android::ToJavaByteArray; base 42 remoting/client/jni/chromoting_jni_runtime.cc base::android::ScopedJavaLocalRef<jobject> context_activity(env, context); base 43 remoting/client/jni/chromoting_jni_runtime.cc base::android::InitApplicationContext(env, context_activity); base 152 remoting/client/jni/chromoting_jni_runtime.cc at_exit_manager_.reset(new base::AtExitManager()); base 156 remoting/client/jni/chromoting_jni_runtime.cc ui_loop_.reset(new base::MessageLoopForUI()); base 161 remoting/client/jni/chromoting_jni_runtime.cc base::MessageLoop::QuitClosure()); base 164 remoting/client/jni/chromoting_jni_runtime.cc base::MessageLoop::TYPE_IO); base 182 remoting/client/jni/chromoting_jni_runtime.cc base::WaitableEvent done_event(false, false); base 183 remoting/client/jni/chromoting_jni_runtime.cc network_task_runner_->PostTask(FROM_HERE, base::Bind( base 185 remoting/client/jni/chromoting_jni_runtime.cc base::Unretained(this), base 188 remoting/client/jni/chromoting_jni_runtime.cc display_task_runner_->PostTask(FROM_HERE, base::Bind( base 190 remoting/client/jni/chromoting_jni_runtime.cc base::Unretained(this), base 193 remoting/client/jni/chromoting_jni_runtime.cc base::android::DetachFromVM(); base 228 remoting/client/jni/chromoting_jni_runtime.cc JNIEnv* env = base::android::AttachCurrentThread(); base 235 remoting/client/jni/chromoting_jni_runtime.cc JNIEnv* env = base::android::AttachCurrentThread(); base 244 remoting/client/jni/chromoting_jni_runtime.cc JNIEnv* env = base::android::AttachCurrentThread(); base 255 remoting/client/jni/chromoting_jni_runtime.cc base::android::ScopedJavaLocalRef<jobject> ChromotingJniRuntime::NewBitmap( base 257 remoting/client/jni/chromoting_jni_runtime.cc JNIEnv* env = base::android::AttachCurrentThread(); base 264 remoting/client/jni/chromoting_jni_runtime.cc JNIEnv* env = base::android::AttachCurrentThread(); base 280 remoting/client/jni/chromoting_jni_runtime.cc JNIEnv* env = base::android::AttachCurrentThread(); base 281 remoting/client/jni/chromoting_jni_runtime.cc base::android::ScopedJavaLocalRef<jobject> buffer(env, base 294 remoting/client/jni/chromoting_jni_runtime.cc JNIEnv* env = base::android::AttachCurrentThread(); base 298 remoting/client/jni/chromoting_jni_runtime.cc void ChromotingJniRuntime::DetachFromVmAndSignal(base::WaitableEvent* waiter) { base 299 remoting/client/jni/chromoting_jni_runtime.cc base::android::DetachFromVM(); base 86 remoting/client/jni/chromoting_jni_runtime.h base::android::ScopedJavaLocalRef<jobject> NewBitmap( base 110 remoting/client/jni/chromoting_jni_runtime.h void DetachFromVmAndSignal(base::WaitableEvent* waiter); base 114 remoting/client/jni/chromoting_jni_runtime.h scoped_ptr<base::AtExitManager> at_exit_manager_; base 117 remoting/client/jni/chromoting_jni_runtime.h scoped_ptr<base::MessageLoopForUI> ui_loop_; base 33 remoting/client/jni/jni_frame_consumer.cc base::WaitableEvent done_event(true, false); base 35 remoting/client/jni/jni_frame_consumer.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&done_event))); base 77 remoting/client/jni/jni_frame_consumer.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 80 remoting/client/jni/jni_frame_consumer.cc (base::TimeTicks::Now() - start_time).InMilliseconds()); base 114 remoting/client/jni/jni_frame_consumer.cc JNIEnv* env = base::android::AttachCurrentThread(); base 79 remoting/client/jni/jni_frame_consumer.h base::android::ScopedJavaGlobalRef<jobject> bitmap_global_ref_; base 28 remoting/client/key_event_mapper.h typedef base::Callback<void(const protocol::KeyEvent&)> KeyTrapCallback; base 116 remoting/client/key_event_mapper_unittest.cc base::Bind(&HandleTrappedKey, base::Unretained(&trap_stub)); base 161 remoting/client/plugin/chromoting_instance.cc base::LazyInstance<scoped_refptr<base::SingleThreadTaskRunner> >::Leaky base 163 remoting/client/plugin/chromoting_instance.cc base::LazyInstance<base::WeakPtr<ChromotingInstance> >::Leaky base 165 remoting/client/plugin/chromoting_instance.cc base::LazyInstance<base::Lock>::Leaky base 183 remoting/client/plugin/chromoting_instance.cc base::SplitString(auth_methods_str, ',', &auth_methods); base 225 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 297 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::Value> json( base 298 remoting/client/plugin/chromoting_instance.cc base::JSONReader::Read(message.AsString(), base 299 remoting/client/plugin/chromoting_instance.cc base::JSON_ALLOW_TRAILING_COMMAS)); base 300 remoting/client/plugin/chromoting_instance.cc base::DictionaryValue* message_dict = NULL; base 302 remoting/client/plugin/chromoting_instance.cc base::DictionaryValue* data = NULL; base 380 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 396 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::ListValue> rects_value(new base::ListValue()); base 399 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::ListValue> rect_value(new base::ListValue()); base 407 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 415 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 425 remoting/client/plugin/chromoting_instance.cc base::WeakPtr<PepperTokenFetcher> pepper_token_fetcher) { base 431 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 439 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 446 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 454 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 461 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 469 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 483 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 515 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 587 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 591 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) { base 608 remoting/client/plugin/chromoting_instance.cc base::Bind(&ChromotingInstance::FetchSecretFromDialog, base 617 remoting/client/plugin/chromoting_instance.cc base::Bind(&ChromotingInstance::FetchSecretFromString, shared_secret); base 642 remoting/client/plugin/chromoting_instance.cc new base::WeakPtrFactory<FrameConsumer>(view_.get())); base 678 remoting/client/plugin/chromoting_instance.cc local_jid, base::Bind(&ChromotingInstance::SendOutgoingIq, base 693 remoting/client/plugin/chromoting_instance.cc FROM_HERE, base::Bind(&ChromotingInstance::SendPerfStats, base 695 remoting/client/plugin/chromoting_instance.cc base::TimeDelta::FromMilliseconds(kPerfStatsIntervalMs)); base 698 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleDisconnect(const base::DictionaryValue& data) { base 714 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleOnIncomingIq(const base::DictionaryValue& data) { base 728 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { base 734 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { base 752 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleRemapKey(const base::DictionaryValue& data) { base 764 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleTrapKey(const base::DictionaryValue& data) { base 777 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { base 795 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { base 827 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandlePauseVideo(const base::DictionaryValue& data) { base 841 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandlePauseAudio(const base::DictionaryValue& data) { base 854 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleOnPinFetched(const base::DictionaryValue& data) { base 869 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { base 886 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { base 901 remoting/client/plugin/chromoting_instance.cc const base::DictionaryValue& data) { base 942 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data) { base 943 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> message(new base::DictionaryValue()); base 948 remoting/client/plugin/chromoting_instance.cc base::JSONWriter::Write(message.get(), &message_json); base 953 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 960 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 971 remoting/client/plugin/chromoting_instance.cc FROM_HERE, base::Bind(&ChromotingInstance::SendPerfStats, base 973 remoting/client/plugin/chromoting_instance.cc base::TimeDelta::FromMilliseconds(kPerfStatsIntervalMs)); base 975 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 989 remoting/client/plugin/chromoting_instance.cc base::AutoLock lock(g_logging_lock.Get()); base 1002 remoting/client/plugin/chromoting_instance.cc base::AutoLock lock(g_logging_lock.Get()); base 1014 remoting/client/plugin/chromoting_instance.cc base::AutoLock lock(g_logging_lock.Get()); base 1045 remoting/client/plugin/chromoting_instance.cc scoped_refptr<base::SingleThreadTaskRunner> logging_task_runner; base 1046 remoting/client/plugin/chromoting_instance.cc base::WeakPtr<ChromotingInstance> logging_instance; base 1049 remoting/client/plugin/chromoting_instance.cc base::AutoLock lock(g_logging_lock.Get()); base 1065 remoting/client/plugin/chromoting_instance.cc FROM_HERE, base::Bind(&ChromotingInstance::ProcessLogToUI, base 1083 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 1121 remoting/client/plugin/chromoting_instance.cc scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue()); base 38 remoting/client/plugin/chromoting_instance.h namespace base { base 179 remoting/client/plugin/chromoting_instance.h const base::WeakPtr<PepperTokenFetcher> pepper_token_fetcher); base 193 remoting/client/plugin/chromoting_instance.h void HandleConnect(const base::DictionaryValue& data); base 194 remoting/client/plugin/chromoting_instance.h void HandleDisconnect(const base::DictionaryValue& data); base 195 remoting/client/plugin/chromoting_instance.h void HandleOnIncomingIq(const base::DictionaryValue& data); base 196 remoting/client/plugin/chromoting_instance.h void HandleReleaseAllKeys(const base::DictionaryValue& data); base 197 remoting/client/plugin/chromoting_instance.h void HandleInjectKeyEvent(const base::DictionaryValue& data); base 198 remoting/client/plugin/chromoting_instance.h void HandleRemapKey(const base::DictionaryValue& data); base 199 remoting/client/plugin/chromoting_instance.h void HandleTrapKey(const base::DictionaryValue& data); base 200 remoting/client/plugin/chromoting_instance.h void HandleSendClipboardItem(const base::DictionaryValue& data); base 201 remoting/client/plugin/chromoting_instance.h void HandleNotifyClientResolution(const base::DictionaryValue& data); base 202 remoting/client/plugin/chromoting_instance.h void HandlePauseVideo(const base::DictionaryValue& data); base 203 remoting/client/plugin/chromoting_instance.h void HandlePauseAudio(const base::DictionaryValue& data); base 204 remoting/client/plugin/chromoting_instance.h void HandleOnPinFetched(const base::DictionaryValue& data); base 205 remoting/client/plugin/chromoting_instance.h void HandleOnThirdPartyTokenFetched(const base::DictionaryValue& data); base 206 remoting/client/plugin/chromoting_instance.h void HandleRequestPairing(const base::DictionaryValue& data); base 207 remoting/client/plugin/chromoting_instance.h void HandleExtensionMessage(const base::DictionaryValue& data); base 226 remoting/client/plugin/chromoting_instance.h scoped_ptr<base::DictionaryValue> data); base 264 remoting/client/plugin/chromoting_instance.h scoped_ptr<base::WeakPtrFactory<FrameConsumer> > view_weak_factory_; base 291 remoting/client/plugin/chromoting_instance.h base::WeakPtr<PepperTokenFetcher> pepper_token_fetcher_; base 294 remoting/client/plugin/chromoting_instance.h base::WeakPtrFactory<ChromotingInstance> weak_factory_; base 71 remoting/client/plugin/delegating_signal_strategy.cc return base::IntToString(last_id_); base 12 remoting/client/plugin/delegating_signal_strategy.h namespace base { base 20 remoting/client/plugin/delegating_signal_strategy.h typedef base::Callback<void(const std::string&)> SendIqCallback; base 122 remoting/client/plugin/media_source_video_renderer.cc const base::Closure& done) { base 123 remoting/client/plugin/media_source_video_renderer.cc base::ScopedClosureRunner done_runner(done); base 140 remoting/client/plugin/media_source_video_renderer.cc base::TimeDelta round_trip_latency = base 141 remoting/client/plugin/media_source_video_renderer.cc base::Time::Now() - base 142 remoting/client/plugin/media_source_video_renderer.cc base::Time::FromInternalValue(packet->client_sequence_number()); base 51 remoting/client/plugin/media_source_video_renderer.h const base::Closure& done) OVERRIDE; base 47 remoting/client/plugin/pepper_audio_player.cc kFrameSizeMs * sampling_rate / base::Time::kMillisecondsPerSecond); base 38 remoting/client/plugin/pepper_network_manager.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 39 remoting/client/plugin/pepper_network_manager.cc FROM_HERE, base::Bind(&PepperNetworkManager::SendNetworksChangedSignal, base 47 remoting/client/plugin/pepper_network_manager.h base::WeakPtrFactory<PepperNetworkManager> weak_factory_; base 19 remoting/client/plugin/pepper_plugin_thread_delegate.cc base::TimeDelta delay, void(CDECL function)(void*), void* data) { base 22 remoting/client/plugin/pepper_plugin_thread_delegate.h base::TimeDelta delay, void(CDECL function)(void*), void* data) OVERRIDE; base 211 remoting/client/plugin/pepper_port_allocator.cc std::string url = "https://" + host + ":" + base::IntToString(port) + base 11 remoting/client/plugin/pepper_token_fetcher.cc PepperTokenFetcher::PepperTokenFetcher(base::WeakPtr<ChromotingInstance> plugin, base 19 remoting/client/plugin/pepper_token_fetcher.h PepperTokenFetcher(base::WeakPtr<ChromotingInstance> plugin, base 34 remoting/client/plugin/pepper_token_fetcher.h base::WeakPtr<ChromotingInstance> plugin_; base 37 remoting/client/plugin/pepper_token_fetcher.h base::WeakPtrFactory<PepperTokenFetcher> weak_factory_; base 25 remoting/client/plugin/pepper_util.cc ip_addr.port = base::HostToNet16(port); base 33 remoting/client/plugin/pepper_util.cc ip_addr.port = base::HostToNet16(port); base 62 remoting/client/plugin/pepper_util.cc address->SetPort(base::NetToHost16(ipv4_addr.port)); base 70 remoting/client/plugin/pepper_util.cc address->SetPort(base::NetToHost16(ipv6_addr.port)); base 25 remoting/client/plugin/pepper_view.cc using base::Passed; base 81 remoting/client/plugin/pepper_view.cc base::WaitableEvent done_event(true, false); base 83 remoting/client/plugin/pepper_view.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&done_event))); base 268 remoting/client/plugin/pepper_view.cc base::Time start_time = base::Time::Now(); base 311 remoting/client/plugin/pepper_view.cc const base::Time& paint_start, base 317 remoting/client/plugin/pepper_view.cc (base::Time::Now() - paint_start).InMilliseconds()); base 22 remoting/client/plugin/pepper_view.h namespace base { base 86 remoting/client/plugin/pepper_view.h const base::Time& paint_start, base 24 remoting/client/software_video_renderer.cc using base::Passed; base 81 remoting/client/software_video_renderer.cc Core(scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 82 remoting/client/software_video_renderer.cc scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner, base 89 remoting/client/software_video_renderer.cc void RequestReturnBuffers(const base::Closure& done); base 97 remoting/client/software_video_renderer.cc void DecodePacket(scoped_ptr<VideoPacket> packet, const base::Closure& done); base 105 remoting/client/software_video_renderer.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 106 remoting/client/software_video_renderer.cc scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner_; base 126 remoting/client/software_video_renderer.cc base::WeakPtrFactory<Core> weak_factory_; base 130 remoting/client/software_video_renderer.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 131 remoting/client/software_video_renderer.cc scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner, base 166 remoting/client/software_video_renderer.cc const base::Closure& done) { base 194 remoting/client/software_video_renderer.cc main_task_runner_->PostTask(FROM_HERE, base::Bind(done)); base 209 remoting/client/software_video_renderer.cc main_task_runner_->PostTask(FROM_HERE, base::Bind(done)); base 218 remoting/client/software_video_renderer.cc FROM_HERE, base::Bind(&SoftwareVideoRenderer::Core::DoPaint, base 250 remoting/client/software_video_renderer.cc const base::Closure& done) { base 316 remoting/client/software_video_renderer.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 317 remoting/client/software_video_renderer.cc scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner, base 335 remoting/client/software_video_renderer.cc FROM_HERE, base::Bind(&SoftwareVideoRenderer::Core::Initialize, base 336 remoting/client/software_video_renderer.cc base::Unretained(core_.get()), config)); base 345 remoting/client/software_video_renderer.cc const base::Closure& done) { base 367 remoting/client/software_video_renderer.cc base::TimeDelta round_trip_latency = base 368 remoting/client/software_video_renderer.cc base::Time::Now() - base 369 remoting/client/software_video_renderer.cc base::Time::FromInternalValue(packet->client_sequence_number()); base 374 remoting/client/software_video_renderer.cc base::Time decode_start = base::Time::Now(); base 376 remoting/client/software_video_renderer.cc base::Closure decode_done = base::Bind(&SoftwareVideoRenderer::OnPacketDone, base 380 remoting/client/software_video_renderer.cc decode_task_runner_->PostTask(FROM_HERE, base::Bind( base 382 remoting/client/software_video_renderer.cc base::Unretained(core_.get()), base::Passed(&packet), decode_done)); base 387 remoting/client/software_video_renderer.cc FROM_HERE, base::Bind(&SoftwareVideoRenderer::Core::DrawBuffer, base 388 remoting/client/software_video_renderer.cc base::Unretained(core_.get()), buffer)); base 394 remoting/client/software_video_renderer.cc FROM_HERE, base::Bind(&SoftwareVideoRenderer::Core::InvalidateRegion, base 395 remoting/client/software_video_renderer.cc base::Unretained(core_.get()), region)); base 398 remoting/client/software_video_renderer.cc void SoftwareVideoRenderer::RequestReturnBuffers(const base::Closure& done) { base 401 remoting/client/software_video_renderer.cc base::Bind(&SoftwareVideoRenderer::Core::RequestReturnBuffers, base 402 remoting/client/software_video_renderer.cc base::Unretained(core_.get()), done)); base 410 remoting/client/software_video_renderer.cc base::Bind(&SoftwareVideoRenderer::Core::SetOutputSizeAndClip, base 411 remoting/client/software_video_renderer.cc base::Unretained(core_.get()), view_size, clip_area)); base 414 remoting/client/software_video_renderer.cc void SoftwareVideoRenderer::OnPacketDone(base::Time decode_start, base 415 remoting/client/software_video_renderer.cc const base::Closure& done) { base 420 remoting/client/software_video_renderer.cc (base::Time::Now() - decode_start).InMilliseconds()); base 16 remoting/client/software_video_renderer.h namespace base { base 31 remoting/client/software_video_renderer.h public base::NonThreadSafe { base 39 remoting/client/software_video_renderer.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 40 remoting/client/software_video_renderer.h scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner, base 48 remoting/client/software_video_renderer.h const base::Closure& done) OVERRIDE; base 59 remoting/client/software_video_renderer.h virtual void RequestReturnBuffers(const base::Closure& done) OVERRIDE; base 69 remoting/client/software_video_renderer.h void OnPacketDone(base::Time decode_start, const base::Closure& done); base 71 remoting/client/software_video_renderer.h scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner_; base 79 remoting/client/software_video_renderer.h base::WeakPtrFactory<SoftwareVideoRenderer> weak_factory_; base 103 remoting/codec/audio_decoder_opus.cc base::Time::kMillisecondsPerSecond; base 31 remoting/codec/audio_encoder_opus.cc kOpusSamplingRate * kFrameSizeMs / base::Time::kMillisecondsPerSecond; base 69 remoting/codec/audio_encoder_opus.cc base::Time::kMillisecondsPerSecond; base 80 remoting/codec/audio_encoder_opus.cc base::Bind(&AudioEncoderOpus::FetchBytesToResample, base 81 remoting/codec/audio_encoder_opus.cc base::Unretained(this)))); base 23 remoting/codec/video_encoder_verbatim.cc base::Time encode_start_time = base::Time::Now(); base 68 remoting/codec/video_encoder_verbatim.cc (base::Time::Now() - encode_start_time).InMillisecondsRoundedUp()); base 58 remoting/codec/video_encoder_vpx.cc config.g_threads = (base::SysInfo::NumberOfProcessors() > 2) ? 2 : 1; base 129 remoting/codec/video_encoder_vpx.cc new VideoEncoderVpx(base::Bind(&CreateVP8Codec))); base 135 remoting/codec/video_encoder_vpx.cc new VideoEncoderVpx(base::Bind(&CreateVP9Codec))); base 145 remoting/codec/video_encoder_vpx.cc base::Time encode_start_time = base::Time::Now(); base 212 remoting/codec/video_encoder_vpx.cc (base::Time::Now() - encode_start_time).InMillisecondsRoundedUp()); base 34 remoting/codec/video_encoder_vpx.h typedef base::Callback<ScopedVpxCodec(const webrtc::DesktopSize&)> base 17 remoting/host/audio_capturer.h typedef base::Callback<void(scoped_ptr<AudioPacket> packet)> base 20 remoting/host/audio_capturer_linux.cc base::LazyInstance<scoped_refptr<AudioPipeReader> >::Leaky base 29 remoting/host/audio_capturer_linux.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 30 remoting/host/audio_capturer_linux.cc const base::FilePath& pipe_name) { base 63 remoting/host/audio_capturer_linux.cc scoped_refptr<base::RefCountedString> data) { base 13 remoting/host/audio_capturer_linux.h namespace base { base 28 remoting/host/audio_capturer_linux.h scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 29 remoting/host/audio_capturer_linux.h const base::FilePath& pipe_name); base 41 remoting/host/audio_capturer_linux.h virtual void OnDataRead(scoped_refptr<base::RefCountedString> data) OVERRIDE; base 60 remoting/host/audio_capturer_win.cc capture_timer_.reset(new base::RepeatingTimer<AudioCapturerWin>()); base 64 remoting/host/audio_capturer_win.cc base::win::ScopedComPtr<IMMDeviceEnumerator> mm_device_enumerator; base 100 remoting/host/audio_capturer_win.cc audio_device_period_ = base::TimeDelta::FromMilliseconds( base 42 remoting/host/audio_capturer_win.h scoped_ptr<base::RepeatingTimer<AudioCapturerWin> > capture_timer_; base 43 remoting/host/audio_capturer_win.h base::TimeDelta audio_device_period_; base 47 remoting/host/audio_capturer_win.h base::win::ScopedCoMem<WAVEFORMATEX> wave_format_ex_; base 48 remoting/host/audio_capturer_win.h base::win::ScopedComPtr<IAudioCaptureClient> audio_capture_client_; base 49 remoting/host/audio_capturer_win.h base::win::ScopedComPtr<IAudioClient> audio_client_; base 50 remoting/host/audio_capturer_win.h base::win::ScopedComPtr<IMMDevice> mm_device_; base 54 remoting/host/audio_capturer_win.h base::ThreadChecker thread_checker_; base 19 remoting/host/audio_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 20 remoting/host/audio_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, base 41 remoting/host/audio_scheduler.cc FROM_HERE, base::Bind(&AudioScheduler::StartOnAudioThread, this)); base 53 remoting/host/audio_scheduler.cc base::Bind(&AudioScheduler::StopOnAudioThread, this)); base 64 remoting/host/audio_scheduler.cc base::Bind(&AudioScheduler::EncodeAudioPacket, this)); base 75 remoting/host/audio_scheduler.cc FROM_HERE, base::Bind(&AudioScheduler::Pause, this, pause)); base 95 remoting/host/audio_scheduler.cc FROM_HERE, base::Bind(&AudioScheduler::SendAudioPacket, base 96 remoting/host/audio_scheduler.cc this, base::Passed(&encoded_packet))); base 107 remoting/host/audio_scheduler.cc audio_stub_->ProcessAudioPacket(packet.Pass(), base::Closure()); base 11 remoting/host/audio_scheduler.h namespace base { base 29 remoting/host/audio_scheduler.h class AudioScheduler : public base::RefCountedThreadSafe<AudioScheduler> { base 36 remoting/host/audio_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 37 remoting/host/audio_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, base 54 remoting/host/audio_scheduler.h friend class base::RefCountedThreadSafe<AudioScheduler>; base 69 remoting/host/audio_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_; base 70 remoting/host/audio_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 63 remoting/host/basic_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 64 remoting/host/basic_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 65 remoting/host/basic_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) base 73 remoting/host/basic_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 74 remoting/host/basic_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 75 remoting/host/basic_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) base 40 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 41 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 42 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); base 44 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner() const { base 48 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner() const { base 52 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner() const { base 59 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 62 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_; base 65 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 74 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 75 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 76 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); base 83 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner() const { base 87 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner() const { base 91 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner() const { base 98 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 101 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_; base 104 remoting/host/basic_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 19 remoting/host/branding.cc const base::FilePath::CharType kConfigDir[] = base 22 remoting/host/branding.cc const base::FilePath::CharType kConfigDir[] = base 26 remoting/host/branding.cc const base::FilePath::CharType kConfigDir[] = base 29 remoting/host/branding.cc const base::FilePath::CharType kConfigDir[] = base 41 remoting/host/branding.cc base::FilePath GetConfigDir() { base 42 remoting/host/branding.cc base::FilePath app_data_dir; base 45 remoting/host/branding.cc PathService::Get(base::DIR_COMMON_APP_DATA, &app_data_dir); base 47 remoting/host/branding.cc PathService::Get(base::DIR_APP_DATA, &app_data_dir); base 49 remoting/host/branding.cc app_data_dir = base::GetHomeDir(); base 18 remoting/host/branding.h base::FilePath GetConfigDir(); base 34 remoting/host/capture_scheduler.cc base::TimeDelta::FromMilliseconds(kDefaultMinimumIntervalMs)), base 35 remoting/host/capture_scheduler.cc num_of_processors_(base::SysInfo::NumberOfProcessors()), base 44 remoting/host/capture_scheduler.cc base::TimeDelta CaptureScheduler::NextCaptureDelay() { base 48 remoting/host/capture_scheduler.cc base::TimeDelta delay = base::TimeDelta::FromMilliseconds( base 57 remoting/host/capture_scheduler.cc void CaptureScheduler::RecordCaptureTime(base::TimeDelta capture_time) { base 61 remoting/host/capture_scheduler.cc void CaptureScheduler::RecordEncodeTime(base::TimeDelta encode_time) { base 24 remoting/host/capture_scheduler.h base::TimeDelta NextCaptureDelay(); base 27 remoting/host/capture_scheduler.h void RecordCaptureTime(base::TimeDelta capture_time); base 28 remoting/host/capture_scheduler.h void RecordEncodeTime(base::TimeDelta encode_time); base 31 remoting/host/capture_scheduler.h void set_minimum_interval(base::TimeDelta minimum_interval) { base 39 remoting/host/capture_scheduler.h base::TimeDelta minimum_interval_; base 26 remoting/host/capture_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(kMinumumFrameIntervalMs)); base 28 remoting/host/capture_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(kTestInputs[j])); base 30 remoting/host/capture_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(kTestInputs[j])); base 50 remoting/host/capture_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(kMinumumFrameIntervalMs)); base 52 remoting/host/capture_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(kTestInputs[j])); base 54 remoting/host/capture_scheduler_unittest.cc base::TimeDelta::FromMilliseconds( base 74 remoting/host/capture_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(kMinumumFrameIntervalMs)); base 77 remoting/host/capture_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(kTestInputs[j])); base 79 remoting/host/capture_scheduler_unittest.cc base::TimeDelta::FromMilliseconds( base 64 remoting/host/chromoting_host.cc scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 65 remoting/host/chromoting_host.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 66 remoting/host/chromoting_host.cc scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, base 67 remoting/host/chromoting_host.cc scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner, base 68 remoting/host/chromoting_host.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, base 69 remoting/host/chromoting_host.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) base 168 remoting/host/chromoting_host.cc const base::TimeDelta& max_session_duration) { base 26 remoting/host/chromoting_host.h namespace base { base 63 remoting/host/chromoting_host.h class ChromotingHost : public base::NonThreadSafe, base 74 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 75 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 76 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, base 77 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner, base 78 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, base 79 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); base 114 remoting/host/chromoting_host.h void SetMaximumSessionDuration(const base::TimeDelta& max_session_duration); base 138 remoting/host/chromoting_host.h base::WeakPtr<ChromotingHost> AsWeakPtr() { base 168 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_; base 169 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_; base 170 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner_; base 171 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_; base 172 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 173 remoting/host/chromoting_host.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 201 remoting/host/chromoting_host.h base::TimeDelta max_session_duration_; base 206 remoting/host/chromoting_host.h base::WeakPtrFactory<ChromotingHost> weak_factory_; base 24 remoting/host/chromoting_host_context.cc base::MessageLoop::TYPE_UI, base 28 remoting/host/chromoting_host_context.cc "ChromotingAudioThread", ui_task_runner_, base::MessageLoop::TYPE_IO); base 32 remoting/host/chromoting_host_context.cc "ChromotingFileThread", ui_task_runner_, base::MessageLoop::TYPE_IO); base 34 remoting/host/chromoting_host_context.cc "ChromotingInputThread", ui_task_runner_, base::MessageLoop::TYPE_IO); base 36 remoting/host/chromoting_host_context.cc "ChromotingNetworkThread", ui_task_runner_, base::MessageLoop::TYPE_IO); base 16 remoting/host/chromoting_host_context_unittest.cc base::MessageLoopForUI message_loop; base 17 remoting/host/chromoting_host_context_unittest.cc base::RunLoop run_loop; base 53 remoting/host/chromoting_host_unittest.cc void PostQuitTask(base::MessageLoop* message_loop) { base 54 remoting/host/chromoting_host_unittest.cc message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 73 remoting/host/chromoting_host_unittest.cc base::Bind(&ChromotingHostTest::QuitMainMessageLoop, base 74 remoting/host/chromoting_host_unittest.cc base::Unretained(this))); base 194 remoting/host/chromoting_host_unittest.cc base::TimeDelta(), base 202 remoting/host/chromoting_host_unittest.cc base::Bind(&ClientSession::OnConnectionAuthenticated, base 203 remoting/host/chromoting_host_unittest.cc base::Unretained(client.get()), connection_ptr)); base 207 remoting/host/chromoting_host_unittest.cc base::Bind(&ClientSession::OnConnectionChannelsConnected, base 208 remoting/host/chromoting_host_unittest.cc base::Unretained(client.get()), connection_ptr)); base 212 remoting/host/chromoting_host_unittest.cc FROM_HERE, base::Bind(&ClientSession::OnConnectionClosed, base 213 remoting/host/chromoting_host_unittest.cc base::Unretained(client.get()), connection_ptr, base 303 remoting/host/chromoting_host_unittest.cc base::Bind(&ChromotingHostTest::StopAndReleaseTaskRunner, base 304 remoting/host/chromoting_host_unittest.cc base::Unretained(this))); base 394 remoting/host/chromoting_host_unittest.cc base::MessageLoop message_loop_; base 464 remoting/host/chromoting_host_unittest.cc 0, true, video_packet_sent, InvokeWithoutArgs(base::DoNothing)); base 507 remoting/host/chromoting_host_unittest.cc 0, true, video_packet_sent1, InvokeWithoutArgs(base::DoNothing)); base 514 remoting/host/chromoting_host_unittest.cc 1, true, video_packet_sent2, InvokeWithoutArgs(base::DoNothing)); base 536 remoting/host/chromoting_host_unittest.cc 0, true, video_packet_sent1, InvokeWithoutArgs(base::DoNothing)); base 540 remoting/host/chromoting_host_unittest.cc 1, true, video_packet_sent2, InvokeWithoutArgs(base::DoNothing)); base 634 remoting/host/chromoting_host_unittest.cc InvokeWithoutArgs(base::DoNothing)); base 62 remoting/host/chromoting_messages.h base::ProcessHandle /* desktop_process */, base 32 remoting/host/chromoting_param_traits.cc l->append(base::StringPrintf("webrtc::DesktopVector(%d, %d)", base 57 remoting/host/chromoting_param_traits.cc l->append(base::StringPrintf("webrtc::DesktopSize(%d, %d)", base 86 remoting/host/chromoting_param_traits.cc l->append(base::StringPrintf("webrtc::DesktopRect(%d, %d, %d, %d)", base 121 remoting/host/chromoting_param_traits.cc l->append(base::StringPrintf("webrtc::ScreenResolution(%d, %d, %d, %d)", base 39 remoting/host/client_session.cc scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 40 remoting/host/client_session.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 41 remoting/host/client_session.cc scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, base 42 remoting/host/client_session.cc scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner, base 43 remoting/host/client_session.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, base 44 remoting/host/client_session.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 47 remoting/host/client_session.cc const base::TimeDelta& max_duration, base 229 remoting/host/client_session.cc if (max_duration_ > base::TimeDelta()) { base 436 remoting/host/client_session.cc base::MessageLoopProxy::current())); base 31 remoting/host/client_session.h namespace base { base 49 remoting/host/client_session.h : public base::NonThreadSafe, base 91 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 92 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 93 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, base 94 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner, base 95 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, base 96 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 99 remoting/host/client_session.h const base::TimeDelta& max_duration, base 167 remoting/host/client_session.h base::WeakPtrFactory<ClientSessionControl> control_factory_; base 203 remoting/host/client_session.h base::WeakPtrFactory<protocol::ClipboardStub> client_clipboard_factory_; base 207 remoting/host/client_session.h base::TimeDelta max_duration_; base 211 remoting/host/client_session.h base::OneShotTimer<ClientSession> max_duration_timer_; base 213 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_; base 214 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_; base 215 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner_; base 216 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_; base 217 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 218 remoting/host/client_session.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 108 remoting/host/client_session_unittest.cc base::MessageLoop message_loop_; base 138 remoting/host/client_session_unittest.cc base::Bind(&ClientSessionTest::QuitMainMessageLoop, base 139 remoting/host/client_session_unittest.cc base::Unretained(this))); base 181 remoting/host/client_session_unittest.cc base::TimeDelta(), base 236 remoting/host/client_session_unittest.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 41 remoting/host/clipboard_win.cc const base::TimeDelta kSleepTimeBetweenAttempts = base 42 remoting/host/clipboard_win.cc base::TimeDelta::FromMilliseconds(5); base 52 remoting/host/clipboard_win.cc base::PlatformThread::Sleep(kSleepTimeBetweenAttempts); base 125 remoting/host/clipboard_win.cc scoped_ptr<base::win::MessageWindow> window_; base 161 remoting/host/clipboard_win.cc window_.reset(new base::win::MessageWindow()); base 162 remoting/host/clipboard_win.cc if (!window_->Create(base::Bind(&ClipboardWin::HandleMessage, base 163 remoting/host/clipboard_win.cc base::Unretained(this)))) { base 198 remoting/host/clipboard_win.cc base::string16 text = base::UTF8ToUTF16(ReplaceLfByCrLf(event.data())); base 228 remoting/host/clipboard_win.cc base::string16 text; base 245 remoting/host/clipboard_win.cc base::win::ScopedHGlobal<WCHAR> text_lock(text_global); base 255 remoting/host/clipboard_win.cc event.set_data(ReplaceCrLfByLf(base::UTF16ToUTF8(text))); base 20 remoting/host/clipboard_x11.cc public base::MessageLoopForIO::Watcher { base 51 remoting/host/clipboard_x11.cc base::MessageLoopForIO::FileDescriptorWatcher x_connection_watcher_; base 75 remoting/host/clipboard_x11.cc base::Bind(&ClipboardX11::OnClipboardChanged, base 76 remoting/host/clipboard_x11.cc base::Unretained(this))); base 78 remoting/host/clipboard_x11.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 81 remoting/host/clipboard_x11.cc base::MessageLoopForIO::WATCH_READ, base 24 remoting/host/config_file_watcher.cc const base::FilePath::CharType kDefaultHostConfigFile[] = base 34 remoting/host/config_file_watcher.cc : public base::RefCountedThreadSafe<ConfigFileWatcherImpl> { base 39 remoting/host/config_file_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 40 remoting/host/config_file_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 41 remoting/host/config_file_watcher.cc const base::FilePath& config_path); base 59 remoting/host/config_file_watcher.cc void OnConfigUpdated(const base::FilePath& path, bool error); base 69 remoting/host/config_file_watcher.cc base::FilePath config_path_; base 71 remoting/host/config_file_watcher.cc scoped_ptr<base::DelayTimer<ConfigFileWatcherImpl> > config_updated_timer_; base 77 remoting/host/config_file_watcher.cc scoped_ptr<base::FilePathWatcher> config_watcher_; base 81 remoting/host/config_file_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 82 remoting/host/config_file_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 84 remoting/host/config_file_watcher.cc base::WeakPtrFactory<ConfigFileWatcherImpl> weak_factory_; base 90 remoting/host/config_file_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 91 remoting/host/config_file_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 92 remoting/host/config_file_watcher.cc const base::FilePath& config_path) base 107 remoting/host/config_file_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 108 remoting/host/config_file_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 109 remoting/host/config_file_watcher.cc const base::FilePath& config_path) base 127 remoting/host/config_file_watcher.cc base::Bind(&ConfigFileWatcherImpl::WatchOnIoThread, this)); base 137 remoting/host/config_file_watcher.cc config_updated_timer_.reset(new base::DelayTimer<ConfigFileWatcherImpl>( base 138 remoting/host/config_file_watcher.cc FROM_HERE, base::TimeDelta::FromSeconds(2), this, base 142 remoting/host/config_file_watcher.cc config_watcher_.reset(new base::FilePathWatcher()); base 145 remoting/host/config_file_watcher.cc base::Bind(&ConfigFileWatcherImpl::OnConfigUpdated, this))) { base 149 remoting/host/config_file_watcher.cc base::Bind(&ConfigFileWatcherImpl::NotifyError, base 163 remoting/host/config_file_watcher.cc FROM_HERE, base::Bind(&ConfigFileWatcherImpl::FinishStopping, this)); base 178 remoting/host/config_file_watcher.cc void ConfigFileWatcherImpl::OnConfigUpdated(const base::FilePath& path, base 206 remoting/host/config_file_watcher.cc if (!base::ReadFileToString(config_path_, &config)) { base 223 remoting/host/config_file_watcher.cc base::Bind(&ConfigFileWatcherImpl::NotifyError, base 235 remoting/host/config_file_watcher.cc base::Bind(&ConfigFileWatcherImpl::NotifyUpdate, base 14 remoting/host/config_file_watcher.h namespace base { base 21 remoting/host/config_file_watcher.h extern const base::FilePath::CharType kDefaultHostConfigFile[]; base 30 remoting/host/config_file_watcher.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 31 remoting/host/config_file_watcher.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 32 remoting/host/config_file_watcher.h const base::FilePath& config_path); base 52 remoting/host/config_file_watcher_unittest.cc base::MessageLoopForUI message_loop_; base 53 remoting/host/config_file_watcher_unittest.cc base::RunLoop run_loop_; base 58 remoting/host/config_file_watcher_unittest.cc base::FilePath config_file_; base 75 remoting/host/config_file_watcher_unittest.cc EXPECT_TRUE(base::CreateTemporaryFile(&config_file_)); base 83 remoting/host/config_file_watcher_unittest.cc "IPC thread", task_runner, base::MessageLoop::TYPE_IO); base 93 remoting/host/config_file_watcher_unittest.cc base::DeleteFile(config_file_, false); base 99 remoting/host/config_file_watcher_unittest.cc EXPECT_NE(base::WriteFile(config_file_, data.c_str(), base 128 remoting/host/config_file_watcher_unittest.cc EXPECT_NE(base::WriteFile(config_file_, data.c_str(), base 23 remoting/host/continue_window.cc const base::WeakPtr<ClientSessionControl>& client_session_control) { base 31 remoting/host/continue_window.cc FROM_HERE, base::TimeDelta::FromMinutes(kSessionExpirationTimeoutMinutes), base 48 remoting/host/continue_window.cc FROM_HERE, base::TimeDelta::FromMinutes(kSessionExpirationTimeoutMinutes), base 75 remoting/host/continue_window.cc FROM_HERE, base::TimeDelta::FromMinutes(kSessionDisconnectTimeoutMinutes), base 21 remoting/host/continue_window.h const base::WeakPtr<ClientSessionControl>& client_session_control) base 43 remoting/host/continue_window.h base::WeakPtr<ClientSessionControl> client_session_control_; base 46 remoting/host/continue_window.h base::OneShotTimer<ContinueWindow> disconnect_timer_; base 49 remoting/host/continue_window.h base::OneShotTimer<ContinueWindow> session_expired_timer_; base 57 remoting/host/continue_window_win.cc HMODULE instance = base::GetModuleFromAddress(&DialogProc); base 14 remoting/host/curtain_mode.h namespace base { base 32 remoting/host/curtain_mode.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 33 remoting/host/curtain_mode.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 34 remoting/host/curtain_mode.h base::WeakPtr<ClientSessionControl> client_session_control); base 103 remoting/host/curtain_mode_linux.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 104 remoting/host/curtain_mode_linux.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 105 remoting/host/curtain_mode_linux.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 34 remoting/host/curtain_mode_mac.cc class SessionWatcher : public base::RefCountedThreadSafe<SessionWatcher> { base 37 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 38 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 39 remoting/host/curtain_mode_mac.cc base::WeakPtr<ClientSessionControl> client_session_control); base 67 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 70 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 73 remoting/host/curtain_mode_mac.cc base::WeakPtr<ClientSessionControl> client_session_control_; base 81 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 82 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 83 remoting/host/curtain_mode_mac.cc base::WeakPtr<ClientSessionControl> client_session_control) base 99 remoting/host/curtain_mode_mac.cc FROM_HERE, base::Bind(&SessionWatcher::ActivateCurtain, this)); base 107 remoting/host/curtain_mode_mac.cc FROM_HERE, base::Bind(&SessionWatcher::RemoveEventHandler, this)); base 123 remoting/host/curtain_mode_mac.cc if (base::mac::IsOSLion()) { base 137 remoting/host/curtain_mode_mac.cc base::ScopedCFTypeRef<CFDictionaryRef> session( base 204 remoting/host/curtain_mode_mac.cc FROM_HERE, base::Bind(&SessionWatcher::DisconnectSession, this)); base 226 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 227 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 228 remoting/host/curtain_mode_mac.cc base::WeakPtr<ClientSessionControl> client_session_control); base 241 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 242 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 243 remoting/host/curtain_mode_mac.cc base::WeakPtr<ClientSessionControl> client_session_control) base 260 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 261 remoting/host/curtain_mode_mac.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 262 remoting/host/curtain_mode_mac.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 29 remoting/host/curtain_mode_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 47 remoting/host/curtain_mode_win.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 48 remoting/host/curtain_mode_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 49 remoting/host/curtain_mode_win.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 175 remoting/host/daemon_process.cc const base::Closure& stopped_callback) base 264 remoting/host/daemon_process.cc base::FilePath default_config_dir = remoting::GetConfigDir(); base 265 remoting/host/daemon_process.cc base::FilePath config_path = default_config_dir.Append( base 284 remoting/host/daemon_process.cc base::Closure stopped_callback = stopped_callback_; base 58 remoting/host/daemon_process.h const base::Closure& stopped_callback); base 83 remoting/host/daemon_process.h base::ProcessHandle desktop_process, base 92 remoting/host/daemon_process.h const base::Closure& stopped_callback); base 181 remoting/host/daemon_process.h base::Closure stopped_callback_; base 186 remoting/host/daemon_process.h base::WeakPtrFactory<DaemonProcess> weak_factory_; base 57 remoting/host/daemon_process_unittest.cc const base::Closure& stopped_callback); base 72 remoting/host/daemon_process_unittest.cc bool(int, base::ProcessHandle, IPC::PlatformFileForTransit)); base 92 remoting/host/daemon_process_unittest.cc const base::Closure& stopped_callback) base 148 remoting/host/daemon_process_unittest.cc base::MessageLoopForIO message_loop_; base 163 remoting/host/daemon_process_unittest.cc base::Bind(&DaemonProcessTest::QuitMessageLoop, base 164 remoting/host/daemon_process_unittest.cc base::Unretained(this))); base 167 remoting/host/daemon_process_unittest.cc base::Bind(&DaemonProcessTest::DeleteDaemonProcess, base 168 remoting/host/daemon_process_unittest.cc base::Unretained(this)))); base 209 remoting/host/daemon_process_unittest.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 37 remoting/host/daemon_process_win.cc using base::win::ScopedHandle; base 38 remoting/host/daemon_process_win.cc using base::TimeDelta; base 45 remoting/host/daemon_process_win.cc base::ProcessHandle target_process, base 46 remoting/host/daemon_process_win.cc const base::win::RegKey& key) { base 47 remoting/host/daemon_process_win.cc base::PlatformFile handle = base 48 remoting/host/daemon_process_win.cc reinterpret_cast<base::PlatformFile>(key.Handle()); base 67 remoting/host/daemon_process_win.cc const base::Closure& stopped_callback); base 78 remoting/host/daemon_process_win.cc base::ProcessHandle desktop_process, base 107 remoting/host/daemon_process_win.cc base::win::RegKey pairing_registry_privileged_key_; base 108 remoting/host/daemon_process_win.cc base::win::RegKey pairing_registry_unprivileged_key_; base 116 remoting/host/daemon_process_win.cc const base::Closure& stopped_callback) base 159 remoting/host/daemon_process_win.cc base::ProcessHandle desktop_process, base 162 remoting/host/daemon_process_win.cc base::ProcessHandle desktop_process_for_transit; base 208 remoting/host/daemon_process_win.cc base::FilePath host_binary; base 228 remoting/host/daemon_process_win.cc const base::Closure& stopped_callback) { base 301 remoting/host/daemon_process_win.cc base::win::RegKey root; base 310 remoting/host/daemon_process_win.cc base::win::RegKey privileged; base 320 remoting/host/daemon_process_win.cc base::win::RegKey unprivileged; base 16 remoting/host/desktop_environment.h namespace base { base 72 remoting/host/desktop_environment.h base::WeakPtr<ClientSessionControl> client_session_control) = 0; base 34 remoting/host/desktop_process.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 108 remoting/host/desktop_process.cc base::MessageLoop::TYPE_UI, base 112 remoting/host/desktop_process.cc "ChromotingAudioThread", caller_task_runner_, base::MessageLoop::TYPE_IO); base 118 remoting/host/desktop_process.cc "I/O thread", caller_task_runner_, base::MessageLoop::TYPE_IO); base 158 remoting/host/desktop_process.cc base::snprintf(message, sizeof(message), base 161 remoting/host/desktop_process.cc base::debug::Alias(message); base 32 remoting/host/desktop_process.h public base::SupportsWeakPtr<DesktopProcess> { base 33 remoting/host/desktop_process_main.cc base::MessageLoopForUI message_loop; base 34 remoting/host/desktop_process_main.cc base::RunLoop run_loop; base 42 remoting/host/desktop_process_main.cc "Input thread", ui_task_runner, base::MessageLoop::TYPE_IO); base 56 remoting/host/desktop_process_main.cc base::Bind(&DesktopProcess::InjectSas, base 147 remoting/host/desktop_process_unittest.cc base::MessageLoopForUI message_loop_; base 189 remoting/host/desktop_process_unittest.cc base::ClosePlatformFile(desktop_process.fd); base 232 remoting/host/desktop_process_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind( base 233 remoting/host/desktop_process_unittest.cc &DesktopProcessTest::DisconnectChannels, base::Unretained(this))); base 237 remoting/host/desktop_process_unittest.cc base::RunLoop run_loop; base 238 remoting/host/desktop_process_unittest.cc base::Closure quit_ui_task_runner = base::Bind( base 239 remoting/host/desktop_process_unittest.cc base::IgnoreResult(&base::SingleThreadTaskRunner::PostTask), base 246 remoting/host/desktop_process_unittest.cc "IPC thread", ui_task_runner, base::MessageLoop::TYPE_IO); base 39 remoting/host/desktop_resizer_mac.cc base::ScopedCFTypeRef<CFMutableArrayRef>* modes, base 49 remoting/host/desktop_resizer_mac.cc if (!base::mac::IsOSSnowLeopard() && GetSoleDisplayId(&display)) { base 60 remoting/host/desktop_resizer_mac.cc base::ScopedCFTypeRef<CFMutableArrayRef> modes; base 68 remoting/host/desktop_resizer_mac.cc if (base::mac::IsOSSnowLeopard() || !GetSoleDisplayId(&display)) { base 72 remoting/host/desktop_resizer_mac.cc base::ScopedCFTypeRef<CFMutableArrayRef> modes; base 86 remoting/host/desktop_resizer_mac.cc base::ScopedCFTypeRef<CFStringRef> encoding( base 121 remoting/host/desktop_resizer_mac.cc base::ScopedCFTypeRef<CFMutableArrayRef>* modes, base 128 remoting/host/desktop_resizer_mac.cc base::ScopedCFTypeRef<CFArrayRef> all_modes( base 75 remoting/host/desktop_session_agent.cc scoped_ptr<base::SharedMemory> memory(new base::SharedMemory()); base 88 remoting/host/desktop_session_agent.cc scoped_ptr<base::SharedMemory> memory, base 103 remoting/host/desktop_session_agent.cc scoped_ptr<base::SharedMemory> shared_memory_; base 204 remoting/host/desktop_session_agent.cc handle = base::FileDescriptor(buffer->handle(), false); base 294 remoting/host/desktop_session_agent.cc FROM_HERE, base::Bind(&DesktopSessionAgent::StartAudioCapturer, this)); base 300 remoting/host/desktop_session_agent.cc FROM_HERE, base::Bind(&DesktopSessionAgent::StartVideoCapturer, this)); base 362 remoting/host/desktop_session_agent.cc bool DesktopSessionAgent::Start(const base::WeakPtr<Delegate>& delegate, base 405 remoting/host/desktop_session_agent.cc FROM_HERE, base::Bind(&DesktopSessionAgent::StopAudioCapturer, this)); base 409 remoting/host/desktop_session_agent.cc FROM_HERE, base::Bind(&DesktopSessionAgent::StopVideoCapturer, this)); base 417 remoting/host/desktop_session_agent.cc base::Bind(&DesktopSessionAgent::OnCaptureFrame, this)); base 511 remoting/host/desktop_session_agent.cc base::Bind(&DesktopSessionAgent::SendToNetwork, this, message)); base 526 remoting/host/desktop_session_agent.cc audio_capturer_->Start(base::Bind(&DesktopSessionAgent::ProcessAudioPacket, base 568 remoting/host/desktop_session_agent.cc base::ClosePlatformFile(desktop_pipe_); base 570 remoting/host/desktop_session_agent.cc base::ClosePlatformFile(desktop_pipe_.fd); base 47 remoting/host/desktop_session_agent.h : public base::RefCountedThreadSafe<DesktopSessionAgent>, base 95 remoting/host/desktop_session_agent.h bool Start(const base::WeakPtr<Delegate>& delegate, base 102 remoting/host/desktop_session_agent.h friend class base::RefCountedThreadSafe<DesktopSessionAgent>; base 180 remoting/host/desktop_session_agent.h base::WeakPtrFactory<ClientSessionControl> control_factory_; base 182 remoting/host/desktop_session_agent.h base::WeakPtr<Delegate> delegate_; base 49 remoting/host/desktop_session_connector.h base::ProcessHandle desktop_process, base 42 remoting/host/desktop_session_proxy.cc : public base::RefCountedThreadSafe<IpcSharedBufferCore> { base 45 remoting/host/desktop_session_proxy.cc base::SharedMemoryHandle handle, base 46 remoting/host/desktop_session_proxy.cc base::ProcessHandle process, base 82 remoting/host/desktop_session_proxy.cc base::SharedMemory shared_memory_; base 103 remoting/host/desktop_session_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> audio_capture_task_runner, base 104 remoting/host/desktop_session_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 105 remoting/host/desktop_session_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 106 remoting/host/desktop_session_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, base 107 remoting/host/desktop_session_proxy.cc base::WeakPtr<ClientSessionControl> client_session_control, base 108 remoting/host/desktop_session_proxy.cc base::WeakPtr<DesktopSessionConnector> desktop_session_connector, base 116 remoting/host/desktop_session_proxy.cc desktop_process_(base::kNullProcessHandle), base 215 remoting/host/desktop_session_proxy.cc base::ProcessHandle desktop_process, base 219 remoting/host/desktop_session_proxy.cc DCHECK_EQ(desktop_process_, base::kNullProcessHandle); base 224 remoting/host/desktop_session_proxy.cc base::CloseProcessHandle(desktop_process); base 239 remoting/host/desktop_session_proxy.cc desktop_process_ = base::kNullProcessHandle; base 240 remoting/host/desktop_session_proxy.cc base::CloseProcessHandle(desktop_process); base 243 remoting/host/desktop_session_proxy.cc base::win::ScopedHandle pipe(temp_handle); base 278 remoting/host/desktop_session_proxy.cc if (desktop_process_ != base::kNullProcessHandle) { base 279 remoting/host/desktop_session_proxy.cc base::CloseProcessHandle(desktop_process_); base 280 remoting/host/desktop_session_proxy.cc desktop_process_ = base::kNullProcessHandle; base 293 remoting/host/desktop_session_proxy.cc const base::WeakPtr<IpcAudioCapturer>& audio_capturer) { base 302 remoting/host/desktop_session_proxy.cc FROM_HERE, base::Bind(&DesktopSessionProxy::CaptureFrame, this)); base 315 remoting/host/desktop_session_proxy.cc const base::WeakPtr<IpcVideoFrameCapturer> video_capturer) { base 424 remoting/host/desktop_session_proxy.cc if (desktop_process_ != base::kNullProcessHandle) { base 425 remoting/host/desktop_session_proxy.cc base::CloseProcessHandle(desktop_process_); base 426 remoting/host/desktop_session_proxy.cc desktop_process_ = base::kNullProcessHandle; base 456 remoting/host/desktop_session_proxy.cc FROM_HERE, base::Bind(&IpcAudioCapturer::OnAudioPacket, audio_capturer_, base 457 remoting/host/desktop_session_proxy.cc base::Passed(&packet))); base 535 remoting/host/desktop_session_proxy.cc base::Bind(&IpcVideoFrameCapturer::OnCaptureCompleted, video_capturer_, base 536 remoting/host/desktop_session_proxy.cc base::Passed(&frame))); base 545 remoting/host/desktop_session_proxy.cc base::Bind(&IpcVideoFrameCapturer::OnCursorShapeChanged, video_capturer_, base 546 remoting/host/desktop_session_proxy.cc base::Passed(&cursor_shape))); base 25 remoting/host/desktop_session_proxy.h namespace base { base 62 remoting/host/desktop_session_proxy.h : public base::RefCountedThreadSafe<DesktopSessionProxy, base 67 remoting/host/desktop_session_proxy.h scoped_refptr<base::SingleThreadTaskRunner> audio_capture_task_runner, base 68 remoting/host/desktop_session_proxy.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 69 remoting/host/desktop_session_proxy.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 70 remoting/host/desktop_session_proxy.h scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, base 71 remoting/host/desktop_session_proxy.h base::WeakPtr<ClientSessionControl> client_session_control, base 72 remoting/host/desktop_session_proxy.h base::WeakPtr<DesktopSessionConnector> desktop_session_connector, base 89 remoting/host/desktop_session_proxy.h bool AttachToDesktop(base::ProcessHandle desktop_process, base 101 remoting/host/desktop_session_proxy.h void SetAudioCapturer(const base::WeakPtr<IpcAudioCapturer>& audio_capturer); base 110 remoting/host/desktop_session_proxy.h const base::WeakPtr<IpcVideoFrameCapturer> video_capturer); base 123 remoting/host/desktop_session_proxy.h friend class base::DeleteHelper<DesktopSessionProxy>; base 173 remoting/host/desktop_session_proxy.h scoped_refptr<base::SingleThreadTaskRunner> audio_capture_task_runner_; base 174 remoting/host/desktop_session_proxy.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 175 remoting/host/desktop_session_proxy.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 176 remoting/host/desktop_session_proxy.h scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner_; base 179 remoting/host/desktop_session_proxy.h base::WeakPtr<IpcAudioCapturer> audio_capturer_; base 185 remoting/host/desktop_session_proxy.h base::WeakPtr<ClientSessionControl> client_session_control_; base 189 remoting/host/desktop_session_proxy.h base::WeakPtr<DesktopSessionConnector> desktop_session_connector_; base 192 remoting/host/desktop_session_proxy.h base::WeakPtr<IpcVideoFrameCapturer> video_capturer_; base 198 remoting/host/desktop_session_proxy.h base::ProcessHandle desktop_process_; base 45 remoting/host/desktop_session_win.cc using base::win::ScopedHandle; base 144 remoting/host/desktop_session_win.cc explicit EventHandler(base::WeakPtr<RdpSession> desktop_session); base 160 remoting/host/desktop_session_win.cc base::WeakPtr<RdpSession> desktop_session_; base 163 remoting/host/desktop_session_win.cc base::ThreadChecker thread_checker_; base 169 remoting/host/desktop_session_win.cc base::win::ScopedComPtr<IRdpDesktopSession> rdp_desktop_session_; base 174 remoting/host/desktop_session_win.cc base::WeakPtrFactory<RdpSession> weak_factory_; base 256 remoting/host/desktop_session_win.cc base::win::ScopedComPtr<IRdpDesktopSessionEventHandler> event_handler( base 258 remoting/host/desktop_session_win.cc terminal_id_ = base::GenerateGUID(); base 259 remoting/host/desktop_session_win.cc base::win::ScopedBstr terminal_id(base::UTF8ToUTF16(terminal_id_).c_str()); base 301 remoting/host/desktop_session_win.cc base::WeakPtr<RdpSession> desktop_session) base 359 remoting/host/desktop_session_win.cc base::WeakPtr<RdpSession> desktop_session = desktop_session_; base 435 remoting/host/desktop_session_win.cc FROM_HERE, base::TimeDelta::FromSeconds(kSessionAttachTimeoutSeconds), base 516 remoting/host/desktop_session_win.cc bool launch_elevated = base::win::GetVersion() >= base::win::VERSION_WIN8; base 520 remoting/host/desktop_session_win.cc base::FilePath desktop_binary; base 547 remoting/host/desktop_session_win.cc base::WideToUTF8( base 567 remoting/host/desktop_session_win.cc FROM_HERE, base::TimeDelta::FromSeconds(kSessionAttachTimeoutSeconds), base 589 remoting/host/desktop_session_win.cc base::Time now = base::Time::Now(); base 593 remoting/host/desktop_session_win.cc passed = base::StringPrintf(", %.2fs passed", base 597 remoting/host/desktop_session_win.cc base::Time::Exploded exploded; base 599 remoting/host/desktop_session_win.cc VLOG(1) << base::StringPrintf("session(%d): %s at %02d:%02d:%02d.%03d%s", base 113 remoting/host/desktop_session_win.h base::win::ScopedHandle desktop_process_; base 126 remoting/host/desktop_session_win.h base::OneShotTimer<DesktopSessionWin> session_attach_timer_; base 128 remoting/host/desktop_session_win.h base::Time last_timestamp_; base 23 remoting/host/desktop_shape_tracker_win.cc base::win::ScopedRegion window_region; base 24 remoting/host/desktop_shape_tracker_win.cc base::win::ScopedRegion desktop_region; base 44 remoting/host/desktop_shape_tracker_win.cc base::win::ScopedRegion old_desktop_region_; base 29 remoting/host/disconnect_window_linux.cc const base::WeakPtr<ClientSessionControl>& client_session_control) base 41 remoting/host/disconnect_window_linux.cc base::WeakPtr<ClientSessionControl> client_session_control_; base 84 remoting/host/disconnect_window_linux.cc const base::WeakPtr<ClientSessionControl>& client_session_control) { base 163 remoting/host/disconnect_window_linux.cc base::string16 username = base 164 remoting/host/disconnect_window_linux.cc base::UTF8ToUTF16(client_jid.substr(0, client_jid.find('/'))); base 17 remoting/host/disconnect_window_mac.h base::Closure disconnect_callback_; base 18 remoting/host/disconnect_window_mac.h base::string16 username_; base 23 remoting/host/disconnect_window_mac.h - (id)initWithCallback:(const base::Closure&)disconnect_callback base 42 remoting/host/disconnect_window_win.cc const base::WeakPtr<ClientSessionControl>& client_session_control) base 68 remoting/host/disconnect_window_win.cc base::WeakPtr<ClientSessionControl> client_session_control_; base 75 remoting/host/disconnect_window_win.cc base::win::ScopedGDIObject<HPEN> border_pen_; base 81 remoting/host/disconnect_window_win.cc bool GetControlText(HWND control, base::string16* text) { base 95 remoting/host/disconnect_window_win.cc const base::string16& text, base 98 remoting/host/disconnect_window_win.cc base::win::ScopedGetDC dc(control); base 99 remoting/host/disconnect_window_win.cc base::win::ScopedSelectObject font( base 120 remoting/host/disconnect_window_win.cc const base::WeakPtr<ClientSessionControl>& client_session_control) { base 215 remoting/host/disconnect_window_win.cc base::win::ScopedSelectObject border(hdc, border_pen_); base 216 remoting/host/disconnect_window_win.cc base::win::ScopedSelectObject brush(hdc, GetStockObject(NULL_BRUSH)); base 231 remoting/host/disconnect_window_win.cc HMODULE module = base::GetModuleFromAddress(&DialogProc); base 311 remoting/host/disconnect_window_win.cc base::string16 button_text; base 312 remoting/host/disconnect_window_win.cc base::string16 message_text; base 320 remoting/host/disconnect_window_win.cc base::UTF8ToUTF16(username_), base 48 remoting/host/dns_blackhole_checker.cc const base::Callback<void(bool)>& callback) { base 36 remoting/host/dns_blackhole_checker.h void CheckForDnsBlackhole(const base::Callback<void(bool)>& callback); base 50 remoting/host/dns_blackhole_checker.h base::Callback<void(bool)> callback_; base 13 remoting/host/gnubby_auth_handler.h namespace base { base 34 remoting/host/gnubby_auth_handler.h static void SetGnubbySocketName(const base::FilePath& gnubby_socket_name); base 38 remoting/host/gnubby_auth_handler_posix.cc base::LazyInstance<base::FilePath>::Leaky g_gnubby_socket_name = base 71 remoting/host/gnubby_auth_handler_posix.cc bool ConvertListValueToString(base::ListValue* bytes, std::string* out) { base 107 remoting/host/gnubby_auth_handler_posix.cc const base::FilePath& gnubby_socket_name) { base 114 remoting/host/gnubby_auth_handler_posix.cc scoped_ptr<base::Value> value(base::JSONReader::Read(message)); base 115 remoting/host/gnubby_auth_handler_posix.cc base::DictionaryValue* client_message; base 134 remoting/host/gnubby_auth_handler_posix.cc base::ListValue* bytes; base 166 remoting/host/gnubby_auth_handler_posix.cc base::DictionaryValue request; base 170 remoting/host/gnubby_auth_handler_posix.cc base::ListValue* bytes = new base::ListValue(); base 177 remoting/host/gnubby_auth_handler_posix.cc if (!base::JSONWriter::Write(&request, &request_json)) { base 218 remoting/host/gnubby_auth_handler_posix.cc base::Bind(&GnubbyAuthHandlerPosix::RequestTimedOut, base 219 remoting/host/gnubby_auth_handler_posix.cc base::Unretained(this), base 261 remoting/host/gnubby_auth_handler_posix.cc base::DeleteFile(g_gnubby_socket_name.Get(), false); base 267 remoting/host/gnubby_auth_handler_posix.cc g_gnubby_socket_name.Get().value(), this, base::Bind(MatchUid)); base 284 remoting/host/gnubby_auth_handler_posix.cc GnubbyAuthHandlerPosix::GetSocketForMessage(base::DictionaryValue* message) { base 16 remoting/host/gnubby_auth_handler_posix.h namespace base { base 29 remoting/host/gnubby_auth_handler_posix.h public base::NonThreadSafe, base 63 remoting/host/gnubby_auth_handler_posix.h ActiveSockets::iterator GetSocketForMessage(base::DictionaryValue* message); base 72 remoting/host/gnubby_auth_handler_posix_unittest.cc base::MessageLoop message_loop_; base 85 remoting/host/gnubby_auth_handler_posix_unittest.cc std::string connection_id = base::StringPrintf("\"connectionId\":%d", id); base 86 remoting/host/gnubby_auth_handler_posix_unittest.cc std::string data_message = base::StringPrintf("\"data\":%s", data); base 142 remoting/host/gnubby_auth_handler_posix_unittest.cc base::MockTimer* mock_timer = new base::MockTimer(false, false); base 144 remoting/host/gnubby_auth_handler_posix_unittest.cc ->SetTimerForTesting(scoped_ptr<base::Timer>(mock_timer)); base 156 remoting/host/gnubby_auth_handler_posix_unittest.cc std::string error_json = base::StringPrintf( base 33 remoting/host/gnubby_auth_handler_win.cc const base::FilePath& gnubby_socket_name) { base 25 remoting/host/gnubby_socket.cc const base::Closure& timeout_callback) base 27 remoting/host/gnubby_socket.cc timer_.reset(new base::Timer(false, false)); base 29 remoting/host/gnubby_socket.cc base::TimeDelta::FromSeconds(kRequestTimeoutSeconds), base 86 remoting/host/gnubby_socket.cc void GnubbySocket::SetTimerForTesting(scoped_ptr<base::Timer> timer) { base 15 remoting/host/gnubby_socket.h namespace base { base 26 remoting/host/gnubby_socket.h class GnubbySocket : public base::NonThreadSafe { base 29 remoting/host/gnubby_socket.h const base::Closure& timeout_callback); base 54 remoting/host/gnubby_socket.h void SetTimerForTesting(scoped_ptr<base::Timer> timer); base 73 remoting/host/gnubby_socket.h scoped_ptr<base::Timer> timer_; base 84 remoting/host/heartbeat_sender.cc timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(interval_ms_), base 117 remoting/host/heartbeat_sender.cc base::Bind(&HeartbeatSender::ProcessResponse, base 118 remoting/host/heartbeat_sender.cc base::Unretained(this))); base 140 remoting/host/heartbeat_sender.cc base::TimeDelta::FromMilliseconds( base 174 remoting/host/heartbeat_sender.cc if (!base::StringToInt(interval_str, &interval) || interval <= 0) { base 178 remoting/host/heartbeat_sender.cc SetInterval(interval * base::Time::kMillisecondsPerSecond); base 192 remoting/host/heartbeat_sender.cc if (!base::StringToInt(expected_sequence_id_str, &expected_sequence_id)) { base 214 remoting/host/heartbeat_sender.cc timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(interval_ms_), base 234 remoting/host/heartbeat_sender.cc (1 + base::RandDouble()) * kResendDelayMs; base 236 remoting/host/heartbeat_sender.cc timer_resend_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(delay), base 249 remoting/host/heartbeat_sender.cc base::IntToString(sequence_id_)); base 270 remoting/host/heartbeat_sender.cc base::IntToString(sequence_id_); base 18 remoting/host/heartbeat_sender.h namespace base { base 137 remoting/host/heartbeat_sender.h base::RepeatingTimer<HeartbeatSender> timer_; base 138 remoting/host/heartbeat_sender.h base::OneShotTimer<HeartbeatSender> timer_resend_; base 93 remoting/host/heartbeat_sender_unittest.cc base::MessageLoop message_loop_; base 112 remoting/host/heartbeat_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 119 remoting/host/heartbeat_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 134 remoting/host/heartbeat_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 141 remoting/host/heartbeat_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 151 remoting/host/heartbeat_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 157 remoting/host/heartbeat_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 173 remoting/host/heartbeat_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 197 remoting/host/heartbeat_sender_unittest.cc expected_sequence_id->AddText(base::IntToString(kExpectedSequenceId)); base 199 remoting/host/heartbeat_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 204 remoting/host/heartbeat_sender_unittest.cc base::IntToString(kExpectedSequenceId).c_str()); base 207 remoting/host/heartbeat_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 226 remoting/host/heartbeat_sender_unittest.cc set_interval->AddText(base::IntToString(kTestInterval)); base 68 remoting/host/host_change_notification_listener.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 69 remoting/host/host_change_notification_listener.cc FROM_HERE, base::Bind(&HostChangeNotificationListener::OnHostDeleted, base 55 remoting/host/host_change_notification_listener.h base::WeakPtrFactory<HostChangeNotificationListener> weak_factory_; base 88 remoting/host/host_change_notification_listener_unittest.cc base::MessageLoop message_loop_; base 99 remoting/host/host_change_notification_listener_unittest.cc base::Bind(base::MessageLoop::QuitClosure())); base 112 remoting/host/host_change_notification_listener_unittest.cc base::Bind(base::MessageLoop::QuitClosure())); base 125 remoting/host/host_change_notification_listener_unittest.cc base::Bind(base::MessageLoop::QuitClosure())); base 137 remoting/host/host_change_notification_listener_unittest.cc base::Bind(base::MessageLoop::QuitClosure())); base 149 remoting/host/host_change_notification_listener_unittest.cc base::Bind(base::MessageLoop::QuitClosure())); base 12 remoting/host/host_config.h namespace base { base 72 remoting/host/host_config.h virtual bool CopyFrom(const base::DictionaryValue* dictionary) = 0; base 26 remoting/host/host_event_logger.h base::WeakPtr<HostStatusMonitor> monitor, base 26 remoting/host/host_event_logger_posix.cc HostEventLoggerPosix(base::WeakPtr<HostStatusMonitor> monitor, base 46 remoting/host/host_event_logger_posix.cc base::WeakPtr<HostStatusMonitor> monitor_; base 55 remoting/host/host_event_logger_posix.cc base::WeakPtr<HostStatusMonitor> monitor, base 85 remoting/host/host_event_logger_posix.cc Log(base::StringPrintf( base 107 remoting/host/host_event_logger_posix.cc base::WeakPtr<HostStatusMonitor> monitor, base 28 remoting/host/host_event_logger_win.cc HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor, base 49 remoting/host/host_event_logger_win.cc base::WeakPtr<HostStatusMonitor> monitor_; base 59 remoting/host/host_event_logger_win.cc HostEventLoggerWin::HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor, base 64 remoting/host/host_event_logger_win.cc NULL, base::UTF8ToUTF16(application_name).c_str()); base 123 remoting/host/host_event_logger_win.cc std::vector<base::string16> utf16_strings(strings.size()); base 125 remoting/host/host_event_logger_win.cc utf16_strings[i] = base::UTF8ToUTF16(strings[i]); base 152 remoting/host/host_event_logger_win.cc base::WeakPtr<HostStatusMonitor> monitor, base 81 remoting/host/host_main.cc void Usage(const base::FilePath& program_name) { base 107 remoting/host/host_main.cc base::FilePath binary = base 157 remoting/host/host_main.cc base::mac::ScopedNSAutoreleasePool pool; base 173 remoting/host/host_main.cc base::AtExitManager exit_manager; base 220 remoting/host/host_main.cc base::i18n::InitializeICU(); base 53 remoting/host/host_mock_objects.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 23 remoting/host/host_mock_objects.h namespace base { base 95 remoting/host/host_mock_objects.h base::WeakPtr<ClientSessionControl> client_session_control) OVERRIDE; base 26 remoting/host/host_secret.cc base::RandBytes(&random_int32, sizeof(random_int32)); base 15 remoting/host/host_status_monitor_fake.h : public base::SupportsWeakPtr<HostStatusMonitorFake>, base 139 remoting/host/host_status_sender.cc int64 time = static_cast<int64>(base::Time::Now().ToDoubleT()); base 140 remoting/host/host_status_sender.cc std::string time_str(base::Int64ToString(time)); base 17 remoting/host/host_status_sender.h namespace base { base 172 remoting/host/host_status_sender_unittest.cc ASSERT_TRUE(base::StringToInt64(time_str, &time)); base 18 remoting/host/host_window.h class HostWindow : public base::NonThreadSafe { base 31 remoting/host/host_window.h const base::WeakPtr<ClientSessionControl>& client_session_control) = 0; base 18 remoting/host/host_window_proxy.cc : public base::RefCountedThreadSafe<Core>, base 21 remoting/host/host_window_proxy.cc Core(scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 22 remoting/host/host_window_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 26 remoting/host/host_window_proxy.cc void Start(const base::WeakPtr<ClientSessionControl>& client_session_control); base 47 remoting/host/host_window_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 50 remoting/host/host_window_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 57 remoting/host/host_window_proxy.cc base::WeakPtr<ClientSessionControl> client_session_control_; base 63 remoting/host/host_window_proxy.cc base::WeakPtrFactory<ClientSessionControl> weak_factory_; base 69 remoting/host/host_window_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 70 remoting/host/host_window_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 87 remoting/host/host_window_proxy.cc const base::WeakPtr<ClientSessionControl>& client_session_control) { base 94 remoting/host/host_window_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 95 remoting/host/host_window_proxy.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 105 remoting/host/host_window_proxy.cc const base::WeakPtr<ClientSessionControl>& client_session_control) { base 112 remoting/host/host_window_proxy.cc FROM_HERE, base::Bind(&Core::StartOnUiThread, this, base 119 remoting/host/host_window_proxy.cc ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::StopOnUiThread, this)); base 149 remoting/host/host_window_proxy.cc base::Bind(&Core::DisconnectSession, this)); base 161 remoting/host/host_window_proxy.cc FROM_HERE, base::Bind(&Core::OnLocalMouseMoved, this, position)); base 172 remoting/host/host_window_proxy.cc FROM_HERE, base::Bind(&Core::SetDisableInputs, this, disable_inputs)); base 14 remoting/host/host_window_proxy.h namespace base { base 24 remoting/host/host_window_proxy.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 25 remoting/host/host_window_proxy.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 31 remoting/host/host_window_proxy.h const base::WeakPtr<ClientSessionControl>& client_session_control) base 13 remoting/host/in_memory_host_config.cc : values_(new base::DictionaryValue()) { base 47 remoting/host/in_memory_host_config.cc bool InMemoryHostConfig::CopyFrom(const base::DictionaryValue* dictionary) { base 50 remoting/host/in_memory_host_config.cc for (base::DictionaryValue::Iterator it(*dictionary); !it.IsAtEnd(); base 14 remoting/host/in_memory_host_config.h namespace base { base 22 remoting/host/in_memory_host_config.h public base::NonThreadSafe { base 37 remoting/host/in_memory_host_config.h virtual bool CopyFrom(const base::DictionaryValue* dictionary) OVERRIDE; base 42 remoting/host/in_memory_host_config.h scoped_ptr<base::DictionaryValue> values_; base 13 remoting/host/input_injector.h namespace base { base 27 remoting/host/input_injector.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 28 remoting/host/input_injector.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); base 41 remoting/host/input_injector_linux.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 60 remoting/host/input_injector_linux.cc class Core : public base::RefCountedThreadSafe<Core> { base 62 remoting/host/input_injector_linux.cc explicit Core(scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 102 remoting/host/input_injector_linux.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 135 remoting/host/input_injector_linux.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) { base 168 remoting/host/input_injector_linux.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) base 182 remoting/host/input_injector_linux.cc task_runner_->PostTask(FROM_HERE, base::Bind(&Core::InitClipboard, this)); base 206 remoting/host/input_injector_linux.cc FROM_HERE, base::Bind(&Core::InjectClipboardEvent, this, event)); base 221 remoting/host/input_injector_linux.cc base::Bind(&Core::InjectKeyEvent, this, event)); base 306 remoting/host/input_injector_linux.cc base::Bind(&Core::InjectMouseEvent, this, event)); base 503 remoting/host/input_injector_linux.cc base::Bind(&Core::Start, this, base::Passed(&client_clipboard))); base 514 remoting/host/input_injector_linux.cc task_runner_->PostTask(FROM_HERE, base::Bind(&Core::Stop, this)); base 524 remoting/host/input_injector_linux.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 525 remoting/host/input_injector_linux.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { base 37 remoting/host/input_injector_mac.cc const base::string16& unicode) { base 38 remoting/host/input_injector_mac.cc base::ScopedCFTypeRef<CGEventRef> eventRef( base 62 remoting/host/input_injector_mac.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 79 remoting/host/input_injector_mac.cc class Core : public base::RefCountedThreadSafe<Core> { base 81 remoting/host/input_injector_mac.cc explicit Core(scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 100 remoting/host/input_injector_mac.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 116 remoting/host/input_injector_mac.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) { base 146 remoting/host/input_injector_mac.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) base 169 remoting/host/input_injector_mac.cc FROM_HERE, base::Bind(&Core::InjectClipboardEvent, this, event)); base 218 remoting/host/input_injector_mac.cc CreateAndPostKeyEvent(keycode, event.pressed(), flags, base::string16()); base 223 remoting/host/input_injector_mac.cc base::string16 text = base::UTF8ToUTF16(event.text()); base 305 remoting/host/input_injector_mac.cc base::ScopedCFTypeRef<CGEventRef> event(CGEventCreateScrollWheelEvent( base 317 remoting/host/input_injector_mac.cc base::Bind(&Core::Start, this, base::Passed(&client_clipboard))); base 326 remoting/host/input_injector_mac.cc task_runner_->PostTask(FROM_HERE, base::Bind(&Core::Stop, this)); base 338 remoting/host/input_injector_mac.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 339 remoting/host/input_injector_mac.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { base 58 remoting/host/input_injector_win.cc InputInjectorWin(scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 59 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); base 76 remoting/host/input_injector_win.cc class Core : public base::RefCountedThreadSafe<Core> { base 78 remoting/host/input_injector_win.cc Core(scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 79 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); base 102 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 103 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 115 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 116 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { base 146 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 147 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) base 156 remoting/host/input_injector_win.cc FROM_HERE, base::Bind(&Core::InjectClipboardEvent, this, event)); base 167 remoting/host/input_injector_win.cc base::Bind(&Core::InjectKeyEvent, this, event)); base 177 remoting/host/input_injector_win.cc FROM_HERE, base::Bind(&Core::InjectTextEvent, this, event)); base 187 remoting/host/input_injector_win.cc FROM_HERE, base::Bind(&Core::InjectMouseEvent, this, event)); base 199 remoting/host/input_injector_win.cc base::Bind(&Core::Start, this, base::Passed(&client_clipboard))); base 208 remoting/host/input_injector_win.cc ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::Stop, this)); base 241 remoting/host/input_injector_win.cc base::string16 text = base::UTF8ToUTF16(event.text()); base 242 remoting/host/input_injector_win.cc for (base::string16::const_iterator it = text.begin(); base 326 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, base 327 remoting/host/input_injector_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { base 41 remoting/host/ipc_audio_capturer.h base::WeakPtrFactory<IpcAudioCapturer> weak_factory_; base 15 remoting/host/ipc_constants.cc const base::FilePath::CharType kHostBinaryName[] = base 18 remoting/host/ipc_constants.cc const base::FilePath::CharType kDesktopBinaryName[] = base 21 remoting/host/ipc_constants.cc bool GetInstalledBinaryPath(const base::FilePath::StringType& binary, base 22 remoting/host/ipc_constants.cc base::FilePath* full_path) { base 23 remoting/host/ipc_constants.cc base::FilePath dir_path; base 24 remoting/host/ipc_constants.cc if (!PathService::Get(base::DIR_EXE, &dir_path)) { base 29 remoting/host/ipc_constants.cc base::FilePath path = dir_path.Append(binary); base 16 remoting/host/ipc_constants.h extern const base::FilePath::CharType kHostBinaryName[]; base 19 remoting/host/ipc_constants.h extern const base::FilePath::CharType kDesktopBinaryName[]; base 22 remoting/host/ipc_constants.h bool GetInstalledBinaryPath(const base::FilePath::StringType& binary, base 23 remoting/host/ipc_constants.h base::FilePath* full_path); base 27 remoting/host/ipc_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 28 remoting/host/ipc_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 29 remoting/host/ipc_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, base 30 remoting/host/ipc_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 31 remoting/host/ipc_desktop_environment.cc base::WeakPtr<ClientSessionControl> client_session_control, base 32 remoting/host/ipc_desktop_environment.cc base::WeakPtr<DesktopSessionConnector> desktop_session_connector, base 79 remoting/host/ipc_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 80 remoting/host/ipc_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 81 remoting/host/ipc_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, base 82 remoting/host/ipc_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 98 remoting/host/ipc_desktop_environment.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 178 remoting/host/ipc_desktop_environment.cc base::ProcessHandle desktop_process, base 181 remoting/host/ipc_desktop_environment.cc caller_task_runner_->PostTask(FROM_HERE, base::Bind( base 183 remoting/host/ipc_desktop_environment.cc base::Unretained(this), terminal_id, desktop_process, desktop_pipe)); base 192 remoting/host/ipc_desktop_environment.cc base::CloseProcessHandle(desktop_process); base 197 remoting/host/ipc_desktop_environment.cc base::ClosePlatformFile(desktop_pipe.fd); base 204 remoting/host/ipc_desktop_environment.cc caller_task_runner_->PostTask(FROM_HERE, base::Bind( base 206 remoting/host/ipc_desktop_environment.cc base::Unretained(this), terminal_id)); base 19 remoting/host/ipc_desktop_environment.h namespace base { base 42 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 43 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 44 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, base 45 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 46 remoting/host/ipc_desktop_environment.h base::WeakPtr<ClientSessionControl> client_session_control, base 47 remoting/host/ipc_desktop_environment.h base::WeakPtr<DesktopSessionConnector> desktop_session_connector, base 76 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, base 77 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 78 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, base 79 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 85 remoting/host/ipc_desktop_environment.h base::WeakPtr<ClientSessionControl> client_session_control) OVERRIDE; base 101 remoting/host/ipc_desktop_environment.h base::ProcessHandle desktop_process, base 107 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_; base 111 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 114 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner_; base 117 remoting/host/ipc_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 130 remoting/host/ipc_desktop_environment.h base::WeakPtrFactory<DesktopSessionConnector> connector_factory_; base 163 remoting/host/ipc_desktop_environment_unittest.cc base::MessageLoopForUI message_loop_; base 166 remoting/host/ipc_desktop_environment_unittest.cc scoped_ptr<base::RunLoop> setup_run_loop_; base 169 remoting/host/ipc_desktop_environment_unittest.cc base::RunLoop main_run_loop_; base 214 remoting/host/ipc_desktop_environment_unittest.cc base::WeakPtrFactory<ClientSessionControl> client_session_control_factory_; base 234 remoting/host/ipc_desktop_environment_unittest.cc "IPC thread", task_runner_, base::MessageLoop::TYPE_IO); base 236 remoting/host/ipc_desktop_environment_unittest.cc setup_run_loop_.reset(new base::RunLoop()); base 413 remoting/host/ipc_desktop_environment_unittest.cc terminal_id_, base::GetCurrentProcessHandle(), desktop_pipe); base 481 remoting/host/ipc_desktop_environment_unittest.cc setup_run_loop_.reset(new base::RunLoop()); base 16 remoting/host/ipc_host_event_logger.cc IpcHostEventLogger::IpcHostEventLogger(base::WeakPtr<HostStatusMonitor> monitor, base 27 remoting/host/ipc_host_event_logger.h : public base::NonThreadSafe, base 32 remoting/host/ipc_host_event_logger.h IpcHostEventLogger(base::WeakPtr<HostStatusMonitor> monitor, base 52 remoting/host/ipc_host_event_logger.h base::WeakPtr<HostStatusMonitor> monitor_; base 20 remoting/host/ipc_util.h namespace base { base 37 remoting/host/ipc_util.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 49 remoting/host/ipc_util.h base::win::ScopedHandle* pipe_out); base 21 remoting/host/ipc_util_posix.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 46 remoting/host/ipc_util_posix.cc base::FileDescriptor fd(pipe_fds[0], false); base 53 remoting/host/ipc_util_posix.cc *client_out = base::FileDescriptor(pipe_fds[1], false); base 17 remoting/host/ipc_util_win.cc using base::win::ScopedHandle; base 26 remoting/host/ipc_util_win.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 32 remoting/host/ipc_util_win.cc if (!base::win::GetUserSidString(&user_sid)) { base 41 remoting/host/ipc_util_win.cc std::string security_descriptor = base::StringPrintf( base 42 remoting/host/ipc_util_win.cc "O:%1$sG:%1$sD:(A;;GA;;;%1$s)", base::WideToUTF8(user_sid).c_str()); base 72 remoting/host/ipc_util_win.cc client.Set(CreateFile(base::UTF8ToUTF16(pipe_name).c_str(), base 93 remoting/host/ipc_util_win.cc base::win::ScopedHandle* pipe_out) { base 113 remoting/host/ipc_util_win.cc base::win::ScopedHandle pipe; base 115 remoting/host/ipc_util_win.cc base::UTF8ToUTF16(pipe_name).c_str(), base 64 remoting/host/ipc_video_frame_capturer.h base::WeakPtrFactory<IpcVideoFrameCapturer> weak_factory_; base 38 remoting/host/it2me/it2me_host.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 39 remoting/host/it2me/it2me_host.cc base::WeakPtr<It2MeHost::Observer> observer, base 58 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::Connect, this)); base 71 remoting/host/it2me/it2me_host.cc base::Bind(&It2MeHost::OnPolicyUpdate, this)); base 75 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::ReadPolicyAndConnect, this)); base 82 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::Disconnect, this)); base 113 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::ShutdownOnNetworkThread, this)); base 122 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::RequestNatPolicy, this)); base 142 remoting/host/it2me/it2me_host.cc base::Bind(&It2MeHost::FinishConnect, this); base 176 remoting/host/it2me/it2me_host.cc base::Bind(&It2MeHost::OnReceivedSupportID, base 177 remoting/host/it2me/it2me_host.cc base::Unretained(this)))); base 251 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::ShutdownOnUiThread, this)); base 262 remoting/host/it2me/it2me_host.cc base::WaitableEvent policy_watcher_stopped_(true, false); base 303 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::Observer::OnClientAuthenticated, base 315 remoting/host/it2me/it2me_host.cc void It2MeHost::OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies) { base 352 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::Observer::OnNatPolicyChanged, base 419 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::Observer::OnStateChanged, base 431 remoting/host/it2me/it2me_host.cc const base::TimeDelta& lifetime) { base 458 remoting/host/it2me/it2me_host.cc FROM_HERE, base::Bind(&It2MeHost::Observer::OnStoreAccessCode, base 470 remoting/host/it2me/it2me_host.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 471 remoting/host/it2me/it2me_host.cc base::WeakPtr<It2MeHost::Observer> observer, base 44 remoting/host/it2me/it2me_host.h : public base::RefCountedThreadSafe<It2MeHost>, base 52 remoting/host/it2me/it2me_host.h base::TimeDelta access_code_lifetime) = 0; base 59 remoting/host/it2me/it2me_host.h scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 60 remoting/host/it2me/it2me_host.h base::WeakPtr<It2MeHost::Observer> observer, base 85 remoting/host/it2me/it2me_host.h friend class base::RefCountedThreadSafe<It2MeHost>; base 90 remoting/host/it2me/it2me_host.h scoped_refptr<base::SingleThreadTaskRunner> task_runner() { base 93 remoting/host/it2me/it2me_host.h base::WeakPtr<It2MeHost::Observer> observer() { return observer_; } base 111 remoting/host/it2me/it2me_host.h const base::TimeDelta& lifetime); base 122 remoting/host/it2me/it2me_host.h void OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies); base 133 remoting/host/it2me/it2me_host.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 134 remoting/host/it2me/it2me_host.h base::WeakPtr<It2MeHost::Observer> observer_; base 167 remoting/host/it2me/it2me_host.h base::Closure pending_connect_; base 181 remoting/host/it2me/it2me_host.h scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 182 remoting/host/it2me/it2me_host.h base::WeakPtr<It2MeHost::Observer> observer, base 77 remoting/host/it2me/it2me_native_messaging_host.cc void It2MeNativeMessagingHost::Start(const base::Closure& quit_closure) const { base 81 remoting/host/it2me/it2me_native_messaging_host.cc base::Bind(&It2MeNativeMessagingHost::ProcessMessage, weak_ptr_), base 86 remoting/host/it2me/it2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message) { base 89 remoting/host/it2me/it2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue()); base 93 remoting/host/it2me/it2me_native_messaging_host.cc const base::Value* id; base 117 remoting/host/it2me/it2me_native_messaging_host.cc const base::DictionaryValue& message, base 118 remoting/host/it2me/it2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) const { base 124 remoting/host/it2me/it2me_native_messaging_host.cc scoped_ptr<base::ListValue> supported_features_list(new base::ListValue()); base 131 remoting/host/it2me/it2me_native_messaging_host.cc const base::DictionaryValue& message, base 132 remoting/host/it2me/it2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 205 remoting/host/it2me/it2me_native_messaging_host.cc const base::DictionaryValue& message, base 206 remoting/host/it2me/it2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 217 remoting/host/it2me/it2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response, base 228 remoting/host/it2me/it2me_native_messaging_host.cc channel_->SendMessage(scoped_ptr<base::DictionaryValue>()); base 236 remoting/host/it2me/it2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message(new base::DictionaryValue()); base 267 remoting/host/it2me/it2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message(new base::DictionaryValue()); base 277 remoting/host/it2me/it2me_native_messaging_host.cc base::TimeDelta access_code_lifetime) { base 15 remoting/host/it2me/it2me_native_messaging_host.h namespace base { base 30 remoting/host/it2me/it2me_native_messaging_host.h void Start(const base::Closure& quit_closure) const; base 36 remoting/host/it2me/it2me_native_messaging_host.h base::TimeDelta access_code_lifetime) OVERRIDE; base 43 remoting/host/it2me/it2me_native_messaging_host.h void ProcessMessage(scoped_ptr<base::DictionaryValue> message); base 48 remoting/host/it2me/it2me_native_messaging_host.h void ProcessHello(const base::DictionaryValue& message, base 49 remoting/host/it2me/it2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response) const; base 50 remoting/host/it2me/it2me_native_messaging_host.h void ProcessConnect(const base::DictionaryValue& message, base 51 remoting/host/it2me/it2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 52 remoting/host/it2me/it2me_native_messaging_host.h void ProcessDisconnect(const base::DictionaryValue& message, base 53 remoting/host/it2me/it2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 54 remoting/host/it2me/it2me_native_messaging_host.h void SendErrorAndExit(scoped_ptr<base::DictionaryValue> response, base 67 remoting/host/it2me/it2me_native_messaging_host.h base::TimeDelta access_code_lifetime_; base 76 remoting/host/it2me/it2me_native_messaging_host.h base::WeakPtr<It2MeNativeMessagingHost> weak_ptr_; base 77 remoting/host/it2me/it2me_native_messaging_host.h base::WeakPtrFactory<It2MeNativeMessagingHost> weak_factory_; base 39 remoting/host/it2me/it2me_native_messaging_host_main.cc base::mac::ScopedNSAutoreleasePool pool; base 60 remoting/host/it2me/it2me_native_messaging_host_main.cc base::i18n::InitializeICU(); base 84 remoting/host/it2me/it2me_native_messaging_host_main.cc base::PlatformFile read_file = GetStdHandle(STD_INPUT_HANDLE); base 85 remoting/host/it2me/it2me_native_messaging_host_main.cc base::PlatformFile write_file = GetStdHandle(STD_OUTPUT_HANDLE); base 98 remoting/host/it2me/it2me_native_messaging_host_main.cc base::PlatformFile read_file = STDIN_FILENO; base 99 remoting/host/it2me/it2me_native_messaging_host_main.cc base::PlatformFile write_file = STDOUT_FILENO; base 104 remoting/host/it2me/it2me_native_messaging_host_main.cc base::MessageLoopForUI message_loop; base 105 remoting/host/it2me/it2me_native_messaging_host_main.cc base::RunLoop run_loop; base 130 remoting/host/it2me/it2me_native_messaging_host_main.cc base::AtExitManager exit_manager; base 32 remoting/host/it2me/it2me_native_messaging_host_unittest.cc void VerifyId(scoped_ptr<base::DictionaryValue> response, int expected_value) { base 40 remoting/host/it2me/it2me_native_messaging_host_unittest.cc void VerifyStringProperty(scoped_ptr<base::DictionaryValue> response, base 51 remoting/host/it2me/it2me_native_messaging_host_unittest.cc void VerifyCommonProperties(scoped_ptr<base::DictionaryValue> response, base 70 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 71 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::WeakPtr<It2MeHost::Observer> observer, base 97 remoting/host/it2me/it2me_native_messaging_host_unittest.cc FROM_HERE, base::Bind(&MockIt2MeHost::Connect, this)); base 105 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::TimeDelta lifetime = base 106 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::TimeDelta::FromSeconds(kTestAccessCodeLifetimeInSeconds); base 108 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::Bind(&It2MeHost::Observer::OnStoreAccessCode, base 118 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::Bind(&It2MeHost::Observer::OnClientAuthenticated, base 129 remoting/host/it2me/it2me_native_messaging_host_unittest.cc FROM_HERE, base::Bind(&MockIt2MeHost::Disconnect, this)); base 142 remoting/host/it2me/it2me_native_messaging_host_unittest.cc FROM_HERE, base::Bind(&It2MeHost::SetStateForTesting, this, state)); base 153 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 154 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::WeakPtr<It2MeHost::Observer> observer, base 174 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> ReadMessageFromOutputPipe(); base 175 remoting/host/it2me/it2me_native_messaging_host_unittest.cc void WriteMessageToInputPipe(const base::Value& message); base 186 remoting/host/it2me/it2me_native_messaging_host_unittest.cc void TestBadRequest(const base::Value& message, bool expect_error_response); base 200 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::PlatformFile input_write_handle_; base 201 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::PlatformFile output_read_handle_; base 204 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::MessageLoop> test_message_loop_; base 205 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::RunLoop> test_run_loop_; base 207 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::Thread> host_thread_; base 208 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::RunLoop> host_run_loop_; base 218 remoting/host/it2me/it2me_native_messaging_host_unittest.cc test_message_loop_.reset(new base::MessageLoop()); base 219 remoting/host/it2me/it2me_native_messaging_host_unittest.cc test_run_loop_.reset(new base::RunLoop()); base 222 remoting/host/it2me/it2me_native_messaging_host_unittest.cc host_thread_.reset(new base::Thread("host_thread")); base 227 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::Bind(&It2MeNativeMessagingHostTest::ExitTest, base 228 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::Unretained(this))); base 232 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::Bind(&It2MeNativeMessagingHostTest::StartHost, base 233 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::Unretained(this))); base 242 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::ClosePlatformFile(input_write_handle_); base 245 remoting/host/it2me/it2me_native_messaging_host_unittest.cc test_run_loop_.reset(new base::RunLoop()); base 249 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); base 254 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::ClosePlatformFile(output_read_handle_); base 257 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> base 260 remoting/host/it2me/it2me_native_messaging_host_unittest.cc int read_result = base::ReadPlatformFileAtCurrentPos( base 264 remoting/host/it2me/it2me_native_messaging_host_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 268 remoting/host/it2me/it2me_native_messaging_host_unittest.cc read_result = base::ReadPlatformFileAtCurrentPos( base 273 remoting/host/it2me/it2me_native_messaging_host_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 276 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::Value> message(base::JSONReader::Read(message_json)); base 277 remoting/host/it2me/it2me_native_messaging_host_unittest.cc if (!message || !message->IsType(base::Value::TYPE_DICTIONARY)) { base 279 remoting/host/it2me/it2me_native_messaging_host_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 282 remoting/host/it2me/it2me_native_messaging_host_unittest.cc return scoped_ptr<base::DictionaryValue>( base 283 remoting/host/it2me/it2me_native_messaging_host_unittest.cc static_cast<base::DictionaryValue*>(message.release())); base 287 remoting/host/it2me/it2me_native_messaging_host_unittest.cc const base::Value& message) { base 289 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::JSONWriter::Write(&message, &message_json); base 292 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::WritePlatformFileAtCurrentPos( base 294 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::WritePlatformFileAtCurrentPos( base 299 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); base 304 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); base 317 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); base 374 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); base 404 remoting/host/it2me/it2me_native_messaging_host_unittest.cc void It2MeNativeMessagingHostTest::TestBadRequest(const base::Value& message, base 406 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::DictionaryValue good_message; base 419 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); base 426 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::PlatformFile input_read_handle; base 427 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::PlatformFile output_write_handle; base 441 remoting/host/it2me/it2me_native_messaging_host_unittest.cc host_->Start(base::Bind(&It2MeNativeMessagingHostTest::StopHost, base 442 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::Unretained(this))); base 455 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::RunLoop().RunUntilIdle(); base 465 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::Bind(&It2MeNativeMessagingHostTest::ExitTest, base 466 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::Unretained(this))); base 473 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::DictionaryValue connect_message; base 488 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::DictionaryValue disconnect_message; base 499 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 509 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 515 remoting/host/it2me/it2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); base 536 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::ListValue message; base 543 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 549 remoting/host/it2me/it2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 26 remoting/host/it2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 27 remoting/host/it2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 28 remoting/host/it2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 29 remoting/host/it2me_desktop_environment.cc base::WeakPtr<ClientSessionControl> client_session_control) base 73 remoting/host/it2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 74 remoting/host/it2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 75 remoting/host/it2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) base 85 remoting/host/it2me_desktop_environment.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 26 remoting/host/it2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 27 remoting/host/it2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 28 remoting/host/it2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 29 remoting/host/it2me_desktop_environment.h base::WeakPtr<ClientSessionControl> client_session_control); base 48 remoting/host/it2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 49 remoting/host/it2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 50 remoting/host/it2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); base 55 remoting/host/it2me_desktop_environment.h base::WeakPtr<ClientSessionControl> client_session_control) OVERRIDE; base 18 remoting/host/json_host_config.cc JsonHostConfig::JsonHostConfig(const base::FilePath& filename) base 29 remoting/host/json_host_config.cc if (!base::ReadFileToString(filename_, &file_content)) { base 40 remoting/host/json_host_config.cc return base::ImportantFileWriter::WriteFileAtomically(filename_, base 46 remoting/host/json_host_config.cc base::JSONWriter::Write(values_.get(), &data); base 51 remoting/host/json_host_config.cc scoped_ptr<base::Value> value( base 52 remoting/host/json_host_config.cc base::JSONReader::Read(config, base::JSON_ALLOW_TRAILING_COMMAS)); base 53 remoting/host/json_host_config.cc if (value.get() == NULL || !value->IsType(base::Value::TYPE_DICTIONARY)) { base 58 remoting/host/json_host_config.cc base::DictionaryValue* dictionary = base 59 remoting/host/json_host_config.cc static_cast<base::DictionaryValue*>(value.release()); base 13 remoting/host/json_host_config.h namespace base { base 22 remoting/host/json_host_config.h JsonHostConfig(const base::FilePath& filename); base 37 remoting/host/json_host_config.h base::FilePath filename_; base 27 remoting/host/json_host_config_unittest.cc static void WriteTestFile(const base::FilePath& filename) { base 28 remoting/host/json_host_config_unittest.cc base::WriteFile(filename, kTestConfig, std::strlen(kTestConfig)); base 32 remoting/host/json_host_config_unittest.cc base::ScopedTempDir test_dir_; base 37 remoting/host/json_host_config_unittest.cc base::FilePath non_existent_file = base 45 remoting/host/json_host_config_unittest.cc base::FilePath test_file = test_dir_.path().AppendASCII("read.json"); base 68 remoting/host/json_host_config_unittest.cc base::FilePath test_file = test_dir_.path().AppendASCII("write.json"); base 37 remoting/host/linux/audio_pipe_reader.cc base::Time::kMillisecondsPerSecond; base 49 remoting/host/linux/audio_pipe_reader.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 50 remoting/host/linux/audio_pipe_reader.cc const base::FilePath& pipe_name) { base 56 remoting/host/linux/audio_pipe_reader.cc task_runner->PostTask(FROM_HERE, base::Bind( base 61 remoting/host/linux/audio_pipe_reader.cc void AudioPipeReader::StartOnAudioThread(const base::FilePath& pipe_name) { base 82 remoting/host/linux/audio_pipe_reader.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) base 108 remoting/host/linux/audio_pipe_reader.cc started_time_ = base::TimeTicks::Now(); base 110 remoting/host/linux/audio_pipe_reader.cc timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kCapturingPeriodMs), base 121 remoting/host/linux/audio_pipe_reader.cc base::TimeDelta stream_position = base::TimeTicks::Now() - started_time_; base 123 remoting/host/linux/audio_pipe_reader.cc kSampleBytesPerSecond / base::Time::kMillisecondsPerSecond; base 166 remoting/host/linux/audio_pipe_reader.cc scoped_refptr<base::RefCountedString> data_ref = base 167 remoting/host/linux/audio_pipe_reader.cc base::RefCountedString::TakeString(&data); base 173 remoting/host/linux/audio_pipe_reader.cc base::MessageLoopForIO::current()->WatchFileDescriptor( base 176 remoting/host/linux/audio_pipe_reader.cc base::MessageLoopForIO::WATCH_READ, base 15 remoting/host/linux/audio_pipe_reader.h namespace base { base 27 remoting/host/linux/audio_pipe_reader.h : public base::RefCountedThreadSafe<AudioPipeReader, AudioPipeReaderTraits>, base 28 remoting/host/linux/audio_pipe_reader.h public base::MessageLoopForIO::Watcher { base 32 remoting/host/linux/audio_pipe_reader.h virtual void OnDataRead(scoped_refptr<base::RefCountedString> data) = 0; base 37 remoting/host/linux/audio_pipe_reader.h scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 38 remoting/host/linux/audio_pipe_reader.h const base::FilePath& pipe_name); base 51 remoting/host/linux/audio_pipe_reader.h friend class base::DeleteHelper<AudioPipeReader>; base 52 remoting/host/linux/audio_pipe_reader.h friend class base::RefCountedThreadSafe<AudioPipeReader>; base 55 remoting/host/linux/audio_pipe_reader.h AudioPipeReader(scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 58 remoting/host/linux/audio_pipe_reader.h void StartOnAudioThread(const base::FilePath& pipe_name); base 63 remoting/host/linux/audio_pipe_reader.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 66 remoting/host/linux/audio_pipe_reader.h base::RepeatingTimer<AudioPipeReader> timer_; base 70 remoting/host/linux/audio_pipe_reader.h base::TimeTicks started_time_; base 80 remoting/host/linux/audio_pipe_reader.h base::MessageLoopForIO::FileDescriptorWatcher file_descriptor_watcher_; base 36 remoting/host/linux/x11_util.cc return base::Bind(IgnoreXErrors); base 25 remoting/host/linux/x11_util.h typedef base::Callback<void(Display*, XErrorEvent*)> Handler; base 147 remoting/host/linux/x_server_clipboard.cc (base::TimeTicks::Now() - get_selections_time_) < base 148 remoting/host/linux/x_server_clipboard.cc base::TimeDelta::FromSeconds(5)) { base 163 remoting/host/linux/x_server_clipboard.cc get_selections_time_ = base::TimeTicks::Now(); base 304 remoting/host/linux/x_server_clipboard.cc get_selections_time_ = base::TimeTicks(); base 33 remoting/host/linux/x_server_clipboard.h typedef base::Callback<void(const std::string& mime_type, base 139 remoting/host/linux/x_server_clipboard.h base::TimeTicks get_selections_time_; base 28 remoting/host/linux/x_server_clipboard_unittest.cc base::Bind(&ClipboardTestClient::OnClipboardChanged, base 29 remoting/host/linux/x_server_clipboard_unittest.cc base::Unretained(this))); base 12 remoting/host/local_input_monitor.h namespace base { base 33 remoting/host/local_input_monitor.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 34 remoting/host/local_input_monitor.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 35 remoting/host/local_input_monitor.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 36 remoting/host/local_input_monitor.h base::WeakPtr<ClientSessionControl> client_session_control); base 35 remoting/host/local_input_monitor_linux.cc class LocalInputMonitorLinux : public base::NonThreadSafe, base 39 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 40 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 41 remoting/host/local_input_monitor_linux.cc base::WeakPtr<ClientSessionControl> client_session_control); base 47 remoting/host/local_input_monitor_linux.cc : public base::RefCountedThreadSafe<Core>, base 48 remoting/host/local_input_monitor_linux.cc public base::MessagePumpLibevent::Watcher { base 50 remoting/host/local_input_monitor_linux.cc Core(scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 51 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 52 remoting/host/local_input_monitor_linux.cc base::WeakPtr<ClientSessionControl> client_session_control); base 74 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 77 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_; base 81 remoting/host/local_input_monitor_linux.cc base::WeakPtr<ClientSessionControl> client_session_control_; base 84 remoting/host/local_input_monitor_linux.cc base::MessagePumpLibevent::FileDescriptorWatcher controller_; base 106 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 107 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 108 remoting/host/local_input_monitor_linux.cc base::WeakPtr<ClientSessionControl> client_session_control) base 120 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 121 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 122 remoting/host/local_input_monitor_linux.cc base::WeakPtr<ClientSessionControl> client_session_control) base 142 remoting/host/local_input_monitor_linux.cc base::Bind(&Core::StartOnInputThread, this)); base 149 remoting/host/local_input_monitor_linux.cc base::Bind(&Core::StopOnInputThread, this)); base 215 remoting/host/local_input_monitor_linux.cc base::MessageLoopForIO* message_loop = base::MessageLoopForIO::current(); base 219 remoting/host/local_input_monitor_linux.cc base::MessageLoopForIO::WATCH_READ, base 289 remoting/host/local_input_monitor_linux.cc FROM_HERE, base::Bind(&ClientSessionControl::OnLocalMouseMoved, base 302 remoting/host/local_input_monitor_linux.cc FROM_HERE, base::Bind(&ClientSessionControl::DisconnectSession, base 321 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 322 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 323 remoting/host/local_input_monitor_linux.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 324 remoting/host/local_input_monitor_linux.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 26 remoting/host/local_input_monitor_unittest.cc const base::MessageLoop::Type kDesiredMessageLoopType = base 27 remoting/host/local_input_monitor_unittest.cc base::MessageLoop::TYPE_UI; base 29 remoting/host/local_input_monitor_unittest.cc const base::MessageLoop::Type kDesiredMessageLoopType = base 30 remoting/host/local_input_monitor_unittest.cc base::MessageLoop::TYPE_IO; base 41 remoting/host/local_input_monitor_unittest.cc base::MessageLoop message_loop_; base 42 remoting/host/local_input_monitor_unittest.cc base::RunLoop run_loop_; base 47 remoting/host/local_input_monitor_unittest.cc base::WeakPtrFactory<ClientSessionControl> client_session_control_factory_; base 28 remoting/host/local_input_monitor_win.cc class LocalInputMonitorWin : public base::NonThreadSafe, base 32 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 33 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 34 remoting/host/local_input_monitor_win.cc base::WeakPtr<ClientSessionControl> client_session_control); base 39 remoting/host/local_input_monitor_win.cc class Core : public base::RefCountedThreadSafe<Core> { base 41 remoting/host/local_input_monitor_win.cc Core(scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 42 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 43 remoting/host/local_input_monitor_win.cc base::WeakPtr<ClientSessionControl> client_session_control); base 65 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 68 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 71 remoting/host/local_input_monitor_win.cc scoped_ptr<base::win::MessageWindow> window_; base 74 remoting/host/local_input_monitor_win.cc base::WeakPtr<ClientSessionControl> client_session_control_; base 85 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 86 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 87 remoting/host/local_input_monitor_win.cc base::WeakPtr<ClientSessionControl> client_session_control) base 99 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 100 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 101 remoting/host/local_input_monitor_win.cc base::WeakPtr<ClientSessionControl> client_session_control) base 112 remoting/host/local_input_monitor_win.cc base::Bind(&Core::StartOnUiThread, this)); base 118 remoting/host/local_input_monitor_win.cc ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::StopOnUiThread, this)); base 128 remoting/host/local_input_monitor_win.cc window_.reset(new base::win::MessageWindow()); base 129 remoting/host/local_input_monitor_win.cc if (!window_->Create(base::Bind(&Core::HandleMessage, base 130 remoting/host/local_input_monitor_win.cc base::Unretained(this)))) { base 137 remoting/host/local_input_monitor_win.cc FROM_HERE, base::Bind(&ClientSessionControl::DisconnectSession, base 199 remoting/host/local_input_monitor_win.cc FROM_HERE, base::Bind(&ClientSessionControl::OnLocalMouseMoved, base 238 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 239 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 240 remoting/host/local_input_monitor_win.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 241 remoting/host/local_input_monitor_win.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 23 remoting/host/log_to_server.cc LogToServer::LogToServer(base::WeakPtr<HostStatusMonitor> monitor, base 20 remoting/host/log_to_server.h namespace base { base 36 remoting/host/log_to_server.h class LogToServer : public base::NonThreadSafe, base 40 remoting/host/log_to_server.h explicit LogToServer(base::WeakPtr<HostStatusMonitor> monitor, base 68 remoting/host/log_to_server.h base::WeakPtr<HostStatusMonitor> monitor_; base 27 remoting/host/log_to_server_unittest.cc message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 128 remoting/host/log_to_server_unittest.cc message_loop_proxy_ = base::MessageLoopProxy::current(); base 139 remoting/host/log_to_server_unittest.cc base::MessageLoop message_loop_; base 140 remoting/host/log_to_server_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 58 remoting/host/me2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 59 remoting/host/me2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 60 remoting/host/me2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) base 81 remoting/host/me2me_desktop_environment.cc base::WeakPtr<ClientSessionControl> client_session_control, base 138 remoting/host/me2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 139 remoting/host/me2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 140 remoting/host/me2me_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) base 151 remoting/host/me2me_desktop_environment.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 32 remoting/host/me2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 33 remoting/host/me2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 34 remoting/host/me2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); base 39 remoting/host/me2me_desktop_environment.h base::WeakPtr<ClientSessionControl> client_session_control, base 65 remoting/host/me2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 66 remoting/host/me2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 67 remoting/host/me2me_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); base 72 remoting/host/me2me_desktop_environment.h base::WeakPtr<ClientSessionControl> client_session_control) OVERRIDE; base 23 remoting/host/mouse_clamping_filter.cc const base::Closure& done) { base 30 remoting/host/mouse_clamping_filter.h const base::Closure& done) OVERRIDE; base 20 remoting/host/native_messaging/native_messaging_channel.cc base::PlatformFile DuplicatePlatformFile(base::PlatformFile handle) { base 21 remoting/host/native_messaging/native_messaging_channel.cc base::PlatformFile result; base 31 remoting/host/native_messaging/native_messaging_channel.cc return base::kInvalidPlatformFileValue; base 36 remoting/host/native_messaging/native_messaging_channel.cc base::ClosePlatformFile(handle); base 48 remoting/host/native_messaging/native_messaging_channel.cc base::PlatformFile input, base 49 remoting/host/native_messaging/native_messaging_channel.cc base::PlatformFile output) base 61 remoting/host/native_messaging/native_messaging_channel.cc const base::Closure& quit_closure) { base 70 remoting/host/native_messaging/native_messaging_channel.cc base::Bind(&NativeMessagingChannel::ProcessMessage, weak_ptr_), base 71 remoting/host/native_messaging/native_messaging_channel.cc base::Bind(&NativeMessagingChannel::Shutdown, weak_ptr_)); base 74 remoting/host/native_messaging/native_messaging_channel.cc void NativeMessagingChannel::ProcessMessage(scoped_ptr<base::Value> message) { base 77 remoting/host/native_messaging/native_messaging_channel.cc if (message->GetType() != base::Value::TYPE_DICTIONARY) { base 83 remoting/host/native_messaging/native_messaging_channel.cc scoped_ptr<base::DictionaryValue> message_dict( base 84 remoting/host/native_messaging/native_messaging_channel.cc static_cast<base::DictionaryValue*>(message.release())); base 89 remoting/host/native_messaging/native_messaging_channel.cc scoped_ptr<base::DictionaryValue> message) { base 107 remoting/host/native_messaging/native_messaging_channel.cc base::ResetAndReturn(&quit_closure_).Run(); base 17 remoting/host/native_messaging/native_messaging_channel.h namespace base { base 26 remoting/host/native_messaging/native_messaging_channel.h class NativeMessagingChannel : public base::NonThreadSafe { base 29 remoting/host/native_messaging/native_messaging_channel.h typedef base::Callback<void(scoped_ptr<base::DictionaryValue> message)> base 34 remoting/host/native_messaging/native_messaging_channel.h NativeMessagingChannel(base::PlatformFile input, base::PlatformFile output); base 39 remoting/host/native_messaging/native_messaging_channel.h const base::Closure& quit_closure); base 42 remoting/host/native_messaging/native_messaging_channel.h void SendMessage(scoped_ptr<base::DictionaryValue> message); base 46 remoting/host/native_messaging/native_messaging_channel.h void ProcessMessage(scoped_ptr<base::Value> message); base 52 remoting/host/native_messaging/native_messaging_channel.h base::Closure quit_closure_; base 60 remoting/host/native_messaging/native_messaging_channel.h base::WeakPtr<NativeMessagingChannel> weak_ptr_; base 61 remoting/host/native_messaging/native_messaging_channel.h base::WeakPtrFactory<NativeMessagingChannel> weak_factory_; base 38 remoting/host/native_messaging/native_messaging_reader.cc Core(base::PlatformFile handle, base 39 remoting/host/native_messaging/native_messaging_reader.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 40 remoting/host/native_messaging/native_messaging_reader.cc scoped_refptr<base::SequencedTaskRunner> read_task_runner, base 41 remoting/host/native_messaging/native_messaging_reader.cc base::WeakPtr<NativeMessagingReader> reader_); base 54 remoting/host/native_messaging/native_messaging_reader.cc base::WeakPtr<NativeMessagingReader> reader_; base 57 remoting/host/native_messaging/native_messaging_reader.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 60 remoting/host/native_messaging/native_messaging_reader.cc scoped_refptr<base::SequencedTaskRunner> read_task_runner_; base 66 remoting/host/native_messaging/native_messaging_reader.cc base::PlatformFile handle, base 67 remoting/host/native_messaging/native_messaging_reader.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 68 remoting/host/native_messaging/native_messaging_reader.cc scoped_refptr<base::SequencedTaskRunner> read_task_runner, base 69 remoting/host/native_messaging/native_messaging_reader.cc base::WeakPtr<NativeMessagingReader> reader) base 70 remoting/host/native_messaging/native_messaging_reader.cc : read_stream_(handle, base::PLATFORM_FILE_READ, NULL), base 112 remoting/host/native_messaging/native_messaging_reader.cc scoped_ptr<base::Value> message(base::JSONReader::Read(message_json)); base 121 remoting/host/native_messaging/native_messaging_reader.cc FROM_HERE, base::Bind(&NativeMessagingReader::InvokeMessageCallback, base 122 remoting/host/native_messaging/native_messaging_reader.cc reader_, base::Passed(&message))); base 130 remoting/host/native_messaging/native_messaging_reader.cc base::Bind(&NativeMessagingReader::InvokeEofCallback, reader_)); base 133 remoting/host/native_messaging/native_messaging_reader.cc NativeMessagingReader::NativeMessagingReader(base::PlatformFile handle) base 138 remoting/host/native_messaging/native_messaging_reader.cc core_.reset(new Core(handle, base::ThreadTaskRunnerHandle::Get(), base 147 remoting/host/native_messaging/native_messaging_reader.cc base::Closure eof_callback) { base 154 remoting/host/native_messaging/native_messaging_reader.cc FROM_HERE, base::Bind(&NativeMessagingReader::Core::ReadMessage, base 155 remoting/host/native_messaging/native_messaging_reader.cc base::Unretained(core_.get()))); base 159 remoting/host/native_messaging/native_messaging_reader.cc scoped_ptr<base::Value> message) { base 15 remoting/host/native_messaging/native_messaging_reader.h namespace base { base 30 remoting/host/native_messaging/native_messaging_reader.h typedef base::Callback<void(scoped_ptr<base::Value>)> MessageCallback; base 32 remoting/host/native_messaging/native_messaging_reader.h explicit NativeMessagingReader(base::PlatformFile handle); base 40 remoting/host/native_messaging/native_messaging_reader.h void Start(MessageCallback message_callback, base::Closure eof_callback); base 49 remoting/host/native_messaging/native_messaging_reader.h void InvokeMessageCallback(scoped_ptr<base::Value> message); base 59 remoting/host/native_messaging/native_messaging_reader.h base::Closure eof_callback_; base 64 remoting/host/native_messaging/native_messaging_reader.h base::Thread reader_thread_; base 65 remoting/host/native_messaging/native_messaging_reader.h scoped_refptr<base::SequencedTaskRunner> read_task_runner_; base 69 remoting/host/native_messaging/native_messaging_reader.h base::WeakPtrFactory<NativeMessagingReader> weak_factory_; base 32 remoting/host/native_messaging/native_messaging_reader_unittest.cc void OnMessage(scoped_ptr<base::Value> message); base 42 remoting/host/native_messaging/native_messaging_reader_unittest.cc base::PlatformFile read_handle_; base 43 remoting/host/native_messaging/native_messaging_reader_unittest.cc base::PlatformFile write_handle_; base 44 remoting/host/native_messaging/native_messaging_reader_unittest.cc scoped_ptr<base::Value> message_; base 49 remoting/host/native_messaging/native_messaging_reader_unittest.cc base::MessageLoopForIO message_loop_; base 50 remoting/host/native_messaging/native_messaging_reader_unittest.cc base::RunLoop run_loop_; base 70 remoting/host/native_messaging/native_messaging_reader_unittest.cc base::ClosePlatformFile(write_handle_); base 75 remoting/host/native_messaging/native_messaging_reader_unittest.cc base::Bind(&NativeMessagingReaderTest::OnMessage, base::Unretained(this)), base 80 remoting/host/native_messaging/native_messaging_reader_unittest.cc void NativeMessagingReaderTest::OnMessage(scoped_ptr<base::Value> message) { base 91 remoting/host/native_messaging/native_messaging_reader_unittest.cc int written = base::WritePlatformFileAtCurrentPos(write_handle_, data, base 100 remoting/host/native_messaging/native_messaging_reader_unittest.cc base::DictionaryValue* message_dict; base 155 remoting/host/native_messaging/native_messaging_reader_unittest.cc base::DictionaryValue* message_dict; base 53 remoting/host/native_messaging/native_messaging_writer.cc NativeMessagingWriter::NativeMessagingWriter(base::PlatformFile handle) base 54 remoting/host/native_messaging/native_messaging_writer.cc : write_stream_(handle, base::PLATFORM_FILE_WRITE, NULL), base 61 remoting/host/native_messaging/native_messaging_writer.cc bool NativeMessagingWriter::WriteMessage(const base::Value& message) { base 68 remoting/host/native_messaging/native_messaging_writer.cc base::JSONWriter::Write(&message, &message_json); base 11 remoting/host/native_messaging/native_messaging_writer.h namespace base { base 21 remoting/host/native_messaging/native_messaging_writer.h explicit NativeMessagingWriter(base::PlatformFile handle); base 26 remoting/host/native_messaging/native_messaging_writer.h bool WriteMessage(const base::Value& message); base 28 remoting/host/native_messaging/native_messaging_writer_unittest.cc base::PlatformFile read_handle_; base 29 remoting/host/native_messaging/native_messaging_writer_unittest.cc base::PlatformFile write_handle_; base 48 remoting/host/native_messaging/native_messaging_writer_unittest.cc base::ClosePlatformFile(read_handle_); base 52 remoting/host/native_messaging/native_messaging_writer_unittest.cc base::DictionaryValue message; base 58 remoting/host/native_messaging/native_messaging_writer_unittest.cc int read = base::ReadPlatformFileAtCurrentPos( base 62 remoting/host/native_messaging/native_messaging_writer_unittest.cc read = base::ReadPlatformFileAtCurrentPos(read_handle_, base 67 remoting/host/native_messaging/native_messaging_writer_unittest.cc scoped_ptr<base::Value> written_message(base::JSONReader::Read(content)); base 74 remoting/host/native_messaging/native_messaging_writer_unittest.cc read = base::ReadPlatformFileAtCurrentPos(read_handle_, &unused, 1); base 79 remoting/host/native_messaging/native_messaging_writer_unittest.cc base::DictionaryValue message1; base 80 remoting/host/native_messaging/native_messaging_writer_unittest.cc base::DictionaryValue message2; base 91 remoting/host/native_messaging/native_messaging_writer_unittest.cc read = base::ReadPlatformFileAtCurrentPos( base 95 remoting/host/native_messaging/native_messaging_writer_unittest.cc read = base::ReadPlatformFileAtCurrentPos(read_handle_, base 102 remoting/host/native_messaging/native_messaging_writer_unittest.cc scoped_ptr<base::Value> written_message2(base::JSONReader::Read(content)); base 108 remoting/host/native_messaging/native_messaging_writer_unittest.cc base::ClosePlatformFile(read_handle_); base 111 remoting/host/native_messaging/native_messaging_writer_unittest.cc base::DictionaryValue message; base 61 remoting/host/oauth_token_getter.cc auth_token_expiry_time_ = base::Time::Now() + base 62 remoting/host/oauth_token_getter.cc base::TimeDelta::FromSeconds(expires_seconds) - base 63 remoting/host/oauth_token_getter.cc base::TimeDelta::FromSeconds(kTokenUpdateTimeBeforeExpirySeconds); base 119 remoting/host/oauth_token_getter.cc base::Time::Now() >= auth_token_expiry_time_); base 23 remoting/host/oauth_token_getter.h public base::NonThreadSafe, base 36 remoting/host/oauth_token_getter.h typedef base::Callback<void(Status status, base 87 remoting/host/oauth_token_getter.h base::Time auth_token_expiry_time_; base 14 remoting/host/pairing_registry_delegate.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) { base 12 remoting/host/pairing_registry_delegate.h namespace base { base 26 remoting/host/pairing_registry_delegate.h scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 38 remoting/host/pairing_registry_delegate_linux.cc scoped_ptr<base::ListValue> PairingRegistryDelegateLinux::LoadAll() { base 39 remoting/host/pairing_registry_delegate_linux.cc scoped_ptr<base::ListValue> pairings(new base::ListValue()); base 42 remoting/host/pairing_registry_delegate_linux.cc base::FilePath registry_path = GetRegistryPath(); base 43 remoting/host/pairing_registry_delegate_linux.cc base::FileEnumerator enumerator(registry_path, false, base 44 remoting/host/pairing_registry_delegate_linux.cc base::FileEnumerator::FILES, base 46 remoting/host/pairing_registry_delegate_linux.cc for (base::FilePath pairing_file = enumerator.Next(); !pairing_file.empty(); base 52 remoting/host/pairing_registry_delegate_linux.cc scoped_ptr<base::Value> pairing_json( base 68 remoting/host/pairing_registry_delegate_linux.cc base::FilePath registry_path = GetRegistryPath(); base 69 remoting/host/pairing_registry_delegate_linux.cc base::FileEnumerator enumerator(registry_path, false, base 70 remoting/host/pairing_registry_delegate_linux.cc base::FileEnumerator::FILES, base 74 remoting/host/pairing_registry_delegate_linux.cc for (base::FilePath pairing_file = enumerator.Next(); !pairing_file.empty(); base 76 remoting/host/pairing_registry_delegate_linux.cc success = success && base::DeleteFile(pairing_file, false); base 84 remoting/host/pairing_registry_delegate_linux.cc base::FilePath registry_path = GetRegistryPath(); base 85 remoting/host/pairing_registry_delegate_linux.cc base::FilePath pairing_file = registry_path.Append( base 86 remoting/host/pairing_registry_delegate_linux.cc base::StringPrintf(kPairingFilenameFormat, client_id.c_str())); base 91 remoting/host/pairing_registry_delegate_linux.cc scoped_ptr<base::Value> pairing( base 99 remoting/host/pairing_registry_delegate_linux.cc base::DictionaryValue* pairing_dictionary; base 110 remoting/host/pairing_registry_delegate_linux.cc base::FilePath registry_path = GetRegistryPath(); base 111 remoting/host/pairing_registry_delegate_linux.cc base::File::Error error; base 112 remoting/host/pairing_registry_delegate_linux.cc if (!base::CreateDirectoryAndGetError(registry_path, &error)) { base 125 remoting/host/pairing_registry_delegate_linux.cc base::FilePath pairing_file = registry_path.Append( base 126 remoting/host/pairing_registry_delegate_linux.cc base::StringPrintf(kPairingFilenameFormat, pairing.client_id().c_str())); base 127 remoting/host/pairing_registry_delegate_linux.cc if (!base::ImportantFileWriter::WriteFileAtomically(pairing_file, base 137 remoting/host/pairing_registry_delegate_linux.cc base::FilePath registry_path = GetRegistryPath(); base 138 remoting/host/pairing_registry_delegate_linux.cc base::FilePath pairing_file = registry_path.Append( base 139 remoting/host/pairing_registry_delegate_linux.cc base::StringPrintf(kPairingFilenameFormat, client_id.c_str())); base 141 remoting/host/pairing_registry_delegate_linux.cc return base::DeleteFile(pairing_file, false); base 144 remoting/host/pairing_registry_delegate_linux.cc base::FilePath PairingRegistryDelegateLinux::GetRegistryPath() { base 149 remoting/host/pairing_registry_delegate_linux.cc base::FilePath config_dir = remoting::GetConfigDir(); base 154 remoting/host/pairing_registry_delegate_linux.cc const base::FilePath& registry_path) { base 12 remoting/host/pairing_registry_delegate_linux.h namespace base { base 25 remoting/host/pairing_registry_delegate_linux.h virtual scoped_ptr<base::ListValue> LoadAll() OVERRIDE; base 38 remoting/host/pairing_registry_delegate_linux.h base::FilePath GetRegistryPath(); base 41 remoting/host/pairing_registry_delegate_linux.h void SetRegistryPathForTesting(const base::FilePath& registry_path); base 43 remoting/host/pairing_registry_delegate_linux.h base::FilePath registry_path_for_testing_; base 22 remoting/host/pairing_registry_delegate_linux_unittest.cc base::CreateNewTempDirectory("chromoting-test", &temp_dir_); base 27 remoting/host/pairing_registry_delegate_linux_unittest.cc base::DeleteFile(temp_dir_, true); base 31 remoting/host/pairing_registry_delegate_linux_unittest.cc base::FilePath temp_dir_; base 32 remoting/host/pairing_registry_delegate_linux_unittest.cc base::FilePath temp_registry_; base 44 remoting/host/pairing_registry_delegate_linux_unittest.cc PairingRegistry::Pairing pairing1(base::Time::Now(), "xxx", "xxx", "xxx"); base 45 remoting/host/pairing_registry_delegate_linux_unittest.cc PairingRegistry::Pairing pairing2(base::Time::Now(), "yyy", "yyy", "yyy"); base 65 remoting/host/pairing_registry_delegate_linux_unittest.cc scoped_ptr<base::ListValue> pairings = delegate->LoadAll(); base 66 remoting/host/pairing_registry_delegate_linux_unittest.cc base::DictionaryValue* json; base 84 remoting/host/pairing_registry_delegate_linux_unittest.cc PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); base 20 remoting/host/pairing_registry_delegate_win.cc bool DuplicateKeyHandle(HKEY source, base::win::RegKey* dest) { base 39 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::DictionaryValue> ReadValue(const base::win::RegKey& key, base 47 remoting/host/pairing_registry_delegate_win.cc return scoped_ptr<base::DictionaryValue>(); base 51 remoting/host/pairing_registry_delegate_win.cc std::string value_json_utf8 = base::WideToUTF8(value_json); base 55 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::Value> value(serializer.Deserialize(&error_code, base 60 remoting/host/pairing_registry_delegate_win.cc return scoped_ptr<base::DictionaryValue>(); base 63 remoting/host/pairing_registry_delegate_win.cc if (value->GetType() != base::Value::TYPE_DICTIONARY) { base 65 remoting/host/pairing_registry_delegate_win.cc return scoped_ptr<base::DictionaryValue>(); base 68 remoting/host/pairing_registry_delegate_win.cc return scoped_ptr<base::DictionaryValue>( base 69 remoting/host/pairing_registry_delegate_win.cc static_cast<base::DictionaryValue*>(value.release())); base 74 remoting/host/pairing_registry_delegate_win.cc bool WriteValue(base::win::RegKey& key, base 76 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::DictionaryValue> value) { base 85 remoting/host/pairing_registry_delegate_win.cc std::wstring value_json = base::UTF8ToWide(value_json_utf8); base 123 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::ListValue> PairingRegistryDelegateWin::LoadAll() { base 124 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::ListValue> pairings(new base::ListValue()); base 138 remoting/host/pairing_registry_delegate_win.cc PairingRegistry::Pairing pairing = Load(base::WideToUTF8(value_name)); base 185 remoting/host/pairing_registry_delegate_win.cc std::wstring value_name = base::UTF8ToWide(client_id); base 188 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::DictionaryValue> pairing = ReadValue(unprivileged_, base 195 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::DictionaryValue> secret = ReadValue(privileged_, base 215 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::DictionaryValue> pairing_json = pairing.ToValue(); base 218 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::Value> secret_key; base 220 remoting/host/pairing_registry_delegate_win.cc scoped_ptr<base::DictionaryValue> secret_json(new base::DictionaryValue()); base 224 remoting/host/pairing_registry_delegate_win.cc std::wstring value_name = base::UTF8ToWide(pairing.client_id()); base 243 remoting/host/pairing_registry_delegate_win.cc std::wstring value_name = base::UTF8ToWide(client_id); base 16 remoting/host/pairing_registry_delegate_win.h namespace base { base 55 remoting/host/pairing_registry_delegate_win.h virtual scoped_ptr<base::ListValue> LoadAll() OVERRIDE; base 63 remoting/host/pairing_registry_delegate_win.h base::win::RegKey privileged_; base 64 remoting/host/pairing_registry_delegate_win.h base::win::RegKey unprivileged_; base 22 remoting/host/pairing_registry_delegate_win_unittest.cc key_name_ = base::GenerateGUID(); base 24 remoting/host/pairing_registry_delegate_win_unittest.cc base::win::RegKey root; base 26 remoting/host/pairing_registry_delegate_win_unittest.cc base::UTF8ToWide(key_name_).c_str(), base 40 remoting/host/pairing_registry_delegate_win_unittest.cc base::UTF8ToWide(key_name_).c_str()) == ERROR_SUCCESS); base 45 remoting/host/pairing_registry_delegate_win_unittest.cc base::win::RegKey privileged_; base 46 remoting/host/pairing_registry_delegate_win_unittest.cc base::win::RegKey unprivileged_; base 58 remoting/host/pairing_registry_delegate_win_unittest.cc PairingRegistry::Pairing pairing1(base::Time::Now(), "xxx", "xxx", "xxx"); base 59 remoting/host/pairing_registry_delegate_win_unittest.cc PairingRegistry::Pairing pairing2(base::Time::Now(), "yyy", "yyy", "yyy"); base 79 remoting/host/pairing_registry_delegate_win_unittest.cc scoped_ptr<base::ListValue> pairings = delegate->LoadAll(); base 80 remoting/host/pairing_registry_delegate_win_unittest.cc base::DictionaryValue* json; base 98 remoting/host/pairing_registry_delegate_win_unittest.cc PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); base 108 remoting/host/pairing_registry_delegate_win_unittest.cc PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); base 29 remoting/host/pam_authorization_factory_posix.cc const base::Closure& resume_callback) OVERRIDE; base 37 remoting/host/pam_authorization_factory_posix.cc void OnMessageProcessed(const base::Closure& resume_callback); base 75 remoting/host/pam_authorization_factory_posix.cc const base::Closure& resume_callback) { base 77 remoting/host/pam_authorization_factory_posix.cc underlying_->ProcessMessage(message, base::Bind( base 79 remoting/host/pam_authorization_factory_posix.cc base::Unretained(this), resume_callback)); base 82 remoting/host/pam_authorization_factory_posix.cc void PamAuthorizer::OnMessageProcessed(const base::Closure& resume_callback) { base 19 remoting/host/pin_hash.cc base::Base64Encode(hash, &hash_base64); base 20 remoting/host/plugin/host_log_handler.cc static base::LazyInstance<base::Lock>::Leaky base 36 remoting/host/plugin/host_log_handler.cc base::AutoLock lock(g_logging_lock.Get()); base 57 remoting/host/plugin/host_log_handler.cc base::AutoLock lock(g_logging_lock.Get()); base 72 remoting/host/plugin/host_log_handler.cc base::AutoLock lock(g_logging_lock.Get()); base 107 remoting/host/plugin/host_log_handler.cc base::AutoLock lock(g_logging_lock.Get()); base 63 remoting/host/plugin/host_plugin.cc base::AtExitManager* g_at_exit_manager = NULL; base 86 remoting/host/plugin/host_plugin.cc base::Bind(&remoting::PluginThreadTaskRunner::Quit, base 178 remoting/host/plugin/host_plugin.cc base::TimeDelta delay, void(function)(void*), void* data) OVERRIDE { base 179 remoting/host/plugin/host_plugin.cc if (delay == base::TimeDelta()) { base 182 remoting/host/plugin/host_plugin.cc base::AutoLock auto_lock(timers_lock_); base 201 remoting/host/plugin/host_plugin.cc base::AutoLock auto_lock(self->timers_lock_); base 363 remoting/host/plugin/host_plugin.cc base::Lock timers_lock_; base 371 remoting/host/plugin/host_plugin.cc g_at_exit_manager = new base::AtExitManager; base 104 remoting/host/plugin/host_script_object.cc if (!base::ThreadTaskRunnerHandle::IsSet()) { base 106 remoting/host/plugin/host_script_object.cc new base::ThreadTaskRunnerHandle(plugin_task_runner_)); base 293 remoting/host/plugin/host_script_object.cc *result = NPVariantFromString(base::StringPrintf( base 552 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeBooleanCallback, weak_ptr_, base 553 remoting/host/plugin/host_script_object.cc base::Passed(&callback_obj))); base 585 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeBooleanCallback, base 586 remoting/host/plugin/host_script_object.cc weak_ptr_, base::Passed(&callback_obj))); base 664 remoting/host/plugin/host_script_object.cc base::Callback<void (const std::string&, base 666 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeGenerateKeyPairCallback, weak_ptr_, base 667 remoting/host/plugin/host_script_object.cc base::Passed(&callback_obj)); base 669 remoting/host/plugin/host_script_object.cc FROM_HERE, base::Bind(&HostNPScriptObject::DoGenerateKeyPair, base 683 remoting/host/plugin/host_script_object.cc scoped_ptr<base::Value> config( base 684 remoting/host/plugin/host_script_object.cc base::JSONReader::Read(config_str, base::JSON_ALLOW_TRAILING_COMMAS)); base 686 remoting/host/plugin/host_script_object.cc !config->IsType(base::Value::TYPE_DICTIONARY)) { base 690 remoting/host/plugin/host_script_object.cc scoped_ptr<base::DictionaryValue> config_dict( base 691 remoting/host/plugin/host_script_object.cc reinterpret_cast<base::DictionaryValue*>(config.release())); base 709 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeAsyncResultCallback, weak_ptr_, base 710 remoting/host/plugin/host_script_object.cc base::Passed(&callback_obj))); base 730 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeGetDaemonConfigCallback, weak_ptr_, base 731 remoting/host/plugin/host_script_object.cc base::Passed(&callback_obj))); base 751 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeGetDaemonVersionCallback, weak_ptr_, base 752 remoting/host/plugin/host_script_object.cc base::Passed(&callback_obj))); base 774 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeGetPairedClientsCallback, base 775 remoting/host/plugin/host_script_object.cc weak_ptr_, base::Passed(&callback_obj))); base 777 remoting/host/plugin/host_script_object.cc scoped_ptr<base::ListValue> no_paired_clients(new base::ListValue); base 800 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeGetUsageStatsConsentCallback, base 801 remoting/host/plugin/host_script_object.cc weak_ptr_, base::Passed(&callback_obj))); base 816 remoting/host/plugin/host_script_object.cc scoped_ptr<base::Value> config( base 817 remoting/host/plugin/host_script_object.cc base::JSONReader::Read(config_str, base::JSON_ALLOW_TRAILING_COMMAS)); base 819 remoting/host/plugin/host_script_object.cc !config->IsType(base::Value::TYPE_DICTIONARY)) { base 823 remoting/host/plugin/host_script_object.cc scoped_ptr<base::DictionaryValue> config_dict( base 824 remoting/host/plugin/host_script_object.cc reinterpret_cast<base::DictionaryValue*>(config.release())); base 841 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeAsyncResultCallback, weak_ptr_, base 842 remoting/host/plugin/host_script_object.cc base::Passed(&callback_obj))); base 864 remoting/host/plugin/host_script_object.cc base::Bind(&HostNPScriptObject::InvokeAsyncResultCallback, weak_ptr_, base 865 remoting/host/plugin/host_script_object.cc base::Passed(&callback_obj))); base 897 remoting/host/plugin/host_script_object.cc const std::string& access_code, base::TimeDelta access_code_lifetime) { base 923 remoting/host/plugin/host_script_object.cc FROM_HERE, base::Bind(&HostNPScriptObject::LogDebugInfo, base 939 remoting/host/plugin/host_script_object.cc base::string16 ui_locale; base 941 remoting/host/plugin/host_script_object.cc remoting::LoadResources(base::UTF16ToUTF8(ui_locale)); base 947 remoting/host/plugin/host_script_object.cc base::string16* result) { base 955 remoting/host/plugin/host_script_object.cc base::string16* result) { base 975 remoting/host/plugin/host_script_object.cc *result = base::UTF8ToUTF16(translation); base 982 remoting/host/plugin/host_script_object.cc const base::Callback<void (const std::string&, base 986 remoting/host/plugin/host_script_object.cc base::Bind(callback, key_pair->ToString(), base 1027 remoting/host/plugin/host_script_object.cc scoped_ptr<base::DictionaryValue> config) { base 1034 remoting/host/plugin/host_script_object.cc base::JSONWriter::Write(config.get(), &config_str); base 1052 remoting/host/plugin/host_script_object.cc scoped_ptr<base::ListValue> paired_clients) { base 1056 remoting/host/plugin/host_script_object.cc base::JSONWriter::Write(paired_clients.get(), &paired_clients_json); base 171 remoting/host/plugin/host_script_object.h base::TimeDelta access_code_lifetime) OVERRIDE; base 185 remoting/host/plugin/host_script_object.h base::string16* result); base 194 remoting/host/plugin/host_script_object.h base::string16* result); base 202 remoting/host/plugin/host_script_object.h const base::Callback<void (const std::string&, base 220 remoting/host/plugin/host_script_object.h scoped_ptr<base::DictionaryValue> config); base 229 remoting/host/plugin/host_script_object.h scoped_ptr<base::ListValue> paired_clients); base 258 remoting/host/plugin/host_script_object.h scoped_ptr<base::ThreadTaskRunnerHandle> plugin_task_runner_handle_; base 275 remoting/host/plugin/host_script_object.h base::TimeDelta access_code_lifetime_; base 306 remoting/host/plugin/host_script_object.h base::WeakPtr<HostNPScriptObject> weak_ptr_; base 307 remoting/host/plugin/host_script_object.h base::WeakPtrFactory<HostNPScriptObject> weak_factory_; base 13 remoting/host/policy_hack/fake_policy_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) base 20 remoting/host/policy_hack/fake_policy_watcher.cc void FakePolicyWatcher::SetPolicies(const base::DictionaryValue* policies) { base 16 remoting/host/policy_hack/fake_policy_watcher.h scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 19 remoting/host/policy_hack/fake_policy_watcher.h void SetPolicies(const base::DictionaryValue* policies); base 17 remoting/host/policy_hack/mock_policy_callback.cc scoped_ptr<base::DictionaryValue> policies) { base 21 remoting/host/policy_hack/mock_policy_callback.h MOCK_METHOD1(OnPolicyUpdatePtr, void(const base::DictionaryValue* policies)); base 22 remoting/host/policy_hack/mock_policy_callback.h void OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies); base 36 remoting/host/policy_hack/policy_watcher.cc scoped_ptr<base::DictionaryValue> CopyGoodValuesAndAddDefaults( base 37 remoting/host/policy_hack/policy_watcher.cc const base::DictionaryValue* from, base 38 remoting/host/policy_hack/policy_watcher.cc const base::DictionaryValue* default_values, base 39 remoting/host/policy_hack/policy_watcher.cc const base::DictionaryValue* bad_type_values) { base 40 remoting/host/policy_hack/policy_watcher.cc scoped_ptr<base::DictionaryValue> to(default_values->DeepCopy()); base 41 remoting/host/policy_hack/policy_watcher.cc for (base::DictionaryValue::Iterator i(*default_values); base 44 remoting/host/policy_hack/policy_watcher.cc const base::Value* value = NULL; base 64 remoting/host/policy_hack/policy_watcher.cc scoped_ptr<base::Value> value(base::JSONReader::Read(policy_overrides)); base 65 remoting/host/policy_hack/policy_watcher.cc const base::DictionaryValue* override_values; base 114 remoting/host/policy_hack/policy_watcher.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) base 116 remoting/host/policy_hack/policy_watcher.cc old_policies_(new base::DictionaryValue()), base 117 remoting/host/policy_hack/policy_watcher.cc default_values_(new base::DictionaryValue()), base 149 remoting/host/policy_hack/policy_watcher.cc base::Bind(&PolicyWatcher::StartWatching, base 150 remoting/host/policy_hack/policy_watcher.cc base::Unretained(this), base 159 remoting/host/policy_hack/policy_watcher.cc void PolicyWatcher::StopWatching(base::WaitableEvent* done) { base 162 remoting/host/policy_hack/policy_watcher.cc base::Bind(&PolicyWatcher::StopWatching, base 163 remoting/host/policy_hack/policy_watcher.cc base::Unretained(this), done)); base 177 remoting/host/policy_hack/policy_watcher.cc base::TimeDelta::FromMinutes(kFallbackReloadDelayMinutes)); base 180 remoting/host/policy_hack/policy_watcher.cc void PolicyWatcher::ScheduleReloadTask(const base::TimeDelta& delay) { base 184 remoting/host/policy_hack/policy_watcher.cc base::Bind(&PolicyWatcher::Reload, weak_factory_.GetWeakPtr()), base 188 remoting/host/policy_hack/policy_watcher.cc const base::DictionaryValue& PolicyWatcher::Defaults() const { base 197 remoting/host/policy_hack/policy_watcher.cc const base::DictionaryValue* new_policies_raw) { base 201 remoting/host/policy_hack/policy_watcher.cc scoped_ptr<base::DictionaryValue> new_policies = base 206 remoting/host/policy_hack/policy_watcher.cc scoped_ptr<base::DictionaryValue> changed_policies( base 207 remoting/host/policy_hack/policy_watcher.cc new base::DictionaryValue()); base 208 remoting/host/policy_hack/policy_watcher.cc base::DictionaryValue::Iterator iter(*new_policies); base 210 remoting/host/policy_hack/policy_watcher.cc base::Value* old_policy; base 12 remoting/host/policy_hack/policy_watcher.h namespace base { base 27 remoting/host/policy_hack/policy_watcher.h typedef base::Callback<void(scoped_ptr<base::DictionaryValue>)> base 31 remoting/host/policy_hack/policy_watcher.h scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 42 remoting/host/policy_hack/policy_watcher.h virtual void StopWatching(base::WaitableEvent* done); base 47 remoting/host/policy_hack/policy_watcher.h scoped_refptr<base::SingleThreadTaskRunner> task_runner); base 93 remoting/host/policy_hack/policy_watcher.h void UpdatePolicies(const base::DictionaryValue* new_policy); base 98 remoting/host/policy_hack/policy_watcher.h void ScheduleReloadTask(const base::TimeDelta& delay); base 101 remoting/host/policy_hack/policy_watcher.h const base::DictionaryValue& Defaults() const; base 104 remoting/host/policy_hack/policy_watcher.h scoped_refptr<base::SingleThreadTaskRunner> task_runner_; base 108 remoting/host/policy_hack/policy_watcher.h scoped_ptr<base::DictionaryValue> old_policies_; base 109 remoting/host/policy_hack/policy_watcher.h scoped_ptr<base::DictionaryValue> default_values_; base 110 remoting/host/policy_hack/policy_watcher.h scoped_ptr<base::DictionaryValue> bad_type_values_; base 113 remoting/host/policy_hack/policy_watcher.h base::WeakPtrFactory<PolicyWatcher> weak_factory_; base 36 remoting/host/policy_hack/policy_watcher_linux.cc const base::FilePath::CharType kPolicyDir[] = base 50 remoting/host/policy_hack/policy_watcher_linux.cc PolicyWatcherLinux(scoped_refptr<base::SingleThreadTaskRunner> task_runner, base 51 remoting/host/policy_hack/policy_watcher_linux.cc const base::FilePath& config_dir) base 62 remoting/host/policy_hack/policy_watcher_linux.cc watcher_.reset(new base::FilePathWatcher()); base 67 remoting/host/policy_hack/policy_watcher_linux.cc base::Bind(&PolicyWatcherLinux::OnFilePathChanged, base 91 remoting/host/policy_hack/policy_watcher_linux.cc void OnFilePathChanged(const base::FilePath& path, bool error) { base 100 remoting/host/policy_hack/policy_watcher_linux.cc base::Time GetLastModification() { base 102 remoting/host/policy_hack/policy_watcher_linux.cc base::Time last_modification = base::Time(); base 103 remoting/host/policy_hack/policy_watcher_linux.cc base::File::Info file_info; base 106 remoting/host/policy_hack/policy_watcher_linux.cc if (!base::GetFileInfo(config_dir_, &file_info) || base 112 remoting/host/policy_hack/policy_watcher_linux.cc base::FileEnumerator file_enumerator(config_dir_, base 114 remoting/host/policy_hack/policy_watcher_linux.cc base::FileEnumerator::FILES); base 115 remoting/host/policy_hack/policy_watcher_linux.cc for (base::FilePath config_file = file_enumerator.Next(); base 118 remoting/host/policy_hack/policy_watcher_linux.cc if (base::GetFileInfo(config_file, &file_info) && base 129 remoting/host/policy_hack/policy_watcher_linux.cc scoped_ptr<base::DictionaryValue> Load() { base 132 remoting/host/policy_hack/policy_watcher_linux.cc std::set<base::FilePath> files; base 133 remoting/host/policy_hack/policy_watcher_linux.cc base::FileEnumerator file_enumerator(config_dir_, false, base 134 remoting/host/policy_hack/policy_watcher_linux.cc base::FileEnumerator::FILES); base 135 remoting/host/policy_hack/policy_watcher_linux.cc for (base::FilePath config_file_path = file_enumerator.Next(); base 140 remoting/host/policy_hack/policy_watcher_linux.cc scoped_ptr<base::DictionaryValue> policy(new base::DictionaryValue()); base 141 remoting/host/policy_hack/policy_watcher_linux.cc for (std::set<base::FilePath>::iterator config_file_iter = files.begin(); base 147 remoting/host/policy_hack/policy_watcher_linux.cc scoped_ptr<base::Value> value( base 152 remoting/host/policy_hack/policy_watcher_linux.cc return scoped_ptr<base::DictionaryValue>(); base 154 remoting/host/policy_hack/policy_watcher_linux.cc if (!value->IsType(base::Value::TYPE_DICTIONARY)) { base 157 remoting/host/policy_hack/policy_watcher_linux.cc return scoped_ptr<base::DictionaryValue>(); base 159 remoting/host/policy_hack/policy_watcher_linux.cc policy->MergeDictionary(static_cast<base::DictionaryValue*>(value.get())); base 168 remoting/host/policy_hack/policy_watcher_linux.cc base::TimeDelta delay; base 169 remoting/host/policy_hack/policy_watcher_linux.cc base::Time now = base::Time::Now(); base 182 remoting/host/policy_hack/policy_watcher_linux.cc scoped_ptr<base::DictionaryValue> new_policy = Load(); base 189 remoting/host/policy_hack/policy_watcher_linux.cc ScheduleReloadTask(base::TimeDelta::FromSeconds(kSettleIntervalSeconds)); base 193 remoting/host/policy_hack/policy_watcher_linux.cc bool IsSafeToReloadPolicy(const base::Time& now, base::TimeDelta* delay) { base 196 remoting/host/policy_hack/policy_watcher_linux.cc const base::TimeDelta kSettleInterval = base 197 remoting/host/policy_hack/policy_watcher_linux.cc base::TimeDelta::FromSeconds(kSettleIntervalSeconds); base 199 remoting/host/policy_hack/policy_watcher_linux.cc base::Time last_modification = GetLastModification(); base 216 remoting/host/policy_hack/policy_watcher_linux.cc base::TimeDelta age = now - last_modification_clock_; base 230 remoting/host/policy_hack/policy_watcher_linux.cc scoped_ptr<base::FilePathWatcher> watcher_; base 233 remoting/host/policy_hack/policy_watcher_linux.cc base::Time last_modification_file_; base 239 remoting/host/policy_hack/policy_watcher_linux.cc base::Time last_modification_clock_; base 241 remoting/host/policy_hack/policy_watcher_linux.cc const base::FilePath config_dir_; base 244 remoting/host/policy_hack/policy_watcher_linux.cc base::WeakPtrFactory<PolicyWatcherLinux> weak_factory_; base 248 remoting/host/policy_hack/policy_watcher_linux.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) { base 249 remoting/host/policy_hack/policy_watcher_linux.cc base::FilePath policy_dir(kPolicyDir); base 26 remoting/host/policy_hack/policy_watcher_unittest.cc message_loop_proxy_ = base::MessageLoopProxy::current(); base 27 remoting/host/policy_hack/policy_watcher_unittest.cc policy_callback_ = base::Bind(&MockPolicyCallback::OnPolicyUpdate, base 28 remoting/host/policy_hack/policy_watcher_unittest.cc base::Unretained(&mock_policy_callback_)); base 91 remoting/host/policy_hack/policy_watcher_unittest.cc base::RunLoop().RunUntilIdle(); base 95 remoting/host/policy_hack/policy_watcher_unittest.cc base::WaitableEvent stop_event(false, false); base 97 remoting/host/policy_hack/policy_watcher_unittest.cc base::RunLoop().RunUntilIdle(); base 102 remoting/host/policy_hack/policy_watcher_unittest.cc base::MessageLoop message_loop_; base 103 remoting/host/policy_hack/policy_watcher_unittest.cc scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; base 107 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue empty_; base 108 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_true_; base 109 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_false_; base 110 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_one_; base 111 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue domain_empty_; base 112 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue domain_full_; base 113 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_true_others_default_; base 114 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_false_others_default_; base 115 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue domain_empty_others_default_; base 116 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue domain_full_others_default_; base 117 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_true_domain_empty_; base 118 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_true_domain_full_; base 119 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_false_domain_empty_; base 120 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_false_domain_full_; base 121 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_true_domain_empty_others_default_; base 122 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue unknown_policies_; base 123 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_true_and_overridden_; base 124 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue nat_false_overridden_others_default_; base 125 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue pairing_true_; base 126 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue pairing_false_; base 127 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue gnubby_auth_true_; base 128 remoting/host/policy_hack/policy_watcher_unittest.cc base::DictionaryValue gnubby_auth_false_; base 131 remoting/host/policy_hack/policy_watcher_unittest.cc void SetDefaults(base::DictionaryValue& dict) { base 30 remoting/host/policy_hack/policy_watcher_win.cc using base::win::RegKey; base 43 remoting/host/policy_hack/policy_watcher_win.cc public base::win::ObjectWatcher::Delegate { base 46 remoting/host/policy_hack/policy_watcher_win.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) base 118 remoting/host/policy_hack/policy_watcher_win.cc std::wstring value_name_wide = base::UTF8ToWide(value_name); base 124 remoting/host/policy_hack/policy_watcher_win.cc *result = base::WideToUTF8(value); base 132 remoting/host/policy_hack/policy_watcher_win.cc *result = base::WideToUTF8(value); base 142 remoting/host/policy_hack/policy_watcher_win.cc std::wstring value_name_wide = base::UTF8ToWide(value_name); base 171 remoting/host/policy_hack/policy_watcher_win.cc scoped_ptr<base::DictionaryValue> Load() { base 172 remoting/host/policy_hack/policy_watcher_win.cc scoped_ptr<base::DictionaryValue> policy(new base::DictionaryValue()); base 174 remoting/host/policy_hack/policy_watcher_win.cc for (base::DictionaryValue::Iterator i(Defaults()); base 177 remoting/host/policy_hack/policy_watcher_win.cc if (i.value().GetType() == base::DictionaryValue::TYPE_BOOLEAN) { base 183 remoting/host/policy_hack/policy_watcher_win.cc if (i.value().GetType() == base::DictionaryValue::TYPE_STRING) { base 197 remoting/host/policy_hack/policy_watcher_win.cc scoped_ptr<base::DictionaryValue> new_policy(Load()); base 211 remoting/host/policy_hack/policy_watcher_win.cc base::WaitableEvent user_policy_changed_event_; base 212 remoting/host/policy_hack/policy_watcher_win.cc base::WaitableEvent machine_policy_changed_event_; base 213 remoting/host/policy_hack/policy_watcher_win.cc base::win::ObjectWatcher user_policy_watcher_; base 214 remoting/host/policy_hack/policy_watcher_win.cc base::win::ObjectWatcher machine_policy_watcher_; base 220 remoting/host/policy_hack/policy_watcher_win.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner) { base 24 remoting/host/posix/signal_handler.cc class SignalListener : public base::MessagePumpLibevent::Watcher { base 35 remoting/host/posix/signal_handler.cc base::MessagePumpLibevent::FileDescriptorWatcher controller; base 94 remoting/host/posix/signal_handler.cc base::MessageLoopForIO* message_loop = base::MessageLoopForIO::current(); base 98 remoting/host/posix/signal_handler.cc base::MessageLoopForIO::WATCH_READ, base 16 remoting/host/posix/signal_handler.h typedef base::Callback<void(int)> SignalHandler; base 65 remoting/host/register_support_host_request.cc base::Bind(&RegisterSupportHostRequest::ProcessResponse, base 66 remoting/host/register_support_host_request.cc base::Unretained(this))); base 69 remoting/host/register_support_host_request.cc CallCallback(false, std::string(), base::TimeDelta()); base 95 remoting/host/register_support_host_request.cc int64 time = static_cast<int64>(base::Time::Now().ToDoubleT()); base 96 remoting/host/register_support_host_request.cc std::string time_str(base::Int64ToString(time)); base 109 remoting/host/register_support_host_request.cc base::TimeDelta* lifetime) { base 152 remoting/host/register_support_host_request.cc if (!base::StringToInt(lifetime_element->BodyText().c_str(), &lifetime_int) || base 161 remoting/host/register_support_host_request.cc *lifetime = base::TimeDelta::FromSeconds(lifetime_int); base 168 remoting/host/register_support_host_request.cc base::TimeDelta lifetime; base 174 remoting/host/register_support_host_request.cc bool success, const std::string& support_id, base::TimeDelta lifetime) { base 21 remoting/host/register_support_host_request.h namespace base { base 39 remoting/host/register_support_host_request.h typedef base::Callback<void(bool, const std::string&, base 40 remoting/host/register_support_host_request.h const base::TimeDelta&)> RegisterCallback; base 70 remoting/host/register_support_host_request.h std::string* support_id, base::TimeDelta* lifetime); base 73 remoting/host/register_support_host_request.h bool success, const std::string& support_id, base::TimeDelta lifetime); base 52 remoting/host/register_support_host_request_unittest.cc const base::TimeDelta& lifetime)); base 72 remoting/host/register_support_host_request_unittest.cc base::MessageLoop message_loop_; base 81 remoting/host/register_support_host_request_unittest.cc int64 start_time = static_cast<int64>(base::Time::Now().ToDoubleT()); base 86 remoting/host/register_support_host_request_unittest.cc base::Bind(&MockCallback::OnResponse, base 87 remoting/host/register_support_host_request_unittest.cc base::Unretained(&callback_)))); base 96 remoting/host/register_support_host_request_unittest.cc base::RunLoop().RunUntilIdle(); base 117 remoting/host/register_support_host_request_unittest.cc EXPECT_TRUE(base::StringToInt64(time_str, &time)); base 118 remoting/host/register_support_host_request_unittest.cc int64 now = static_cast<int64>(base::Time::Now().ToDoubleT()); base 131 remoting/host/register_support_host_request_unittest.cc base::TimeDelta::FromSeconds(300))); base 162 remoting/host/register_support_host_request_unittest.cc base::RunLoop().RunUntilIdle(); base 63 remoting/host/remote_input_filter.cc latest_local_input_time_ = base::TimeTicks::Now(); base 101 remoting/host/remote_input_filter.cc (base::TimeTicks::Now() - latest_local_input_time_).InMilliseconds(); base 50 remoting/host/remote_input_filter.h base::TimeTicks latest_local_input_time_; base 139 remoting/host/remoting_me2me_host.cc public base::RefCountedThreadSafe<HostProcess> { base 225 remoting/host/remoting_me2me_host.cc void OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies); base 272 remoting/host/remoting_me2me_host.cc base::FilePath host_config_path_; base 350 remoting/host/remoting_me2me_host.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner = base 363 remoting/host/remoting_me2me_host.cc !base::StringToInt(channel_name, &pipe_handle)) { base 370 remoting/host/remoting_me2me_host.cc base::win::ScopedHandle pipe(reinterpret_cast<HANDLE>(pipe_handle)); base 373 remoting/host/remoting_me2me_host.cc base::FileDescriptor pipe(pipe_handle, true); base 399 remoting/host/remoting_me2me_host.cc if (host_config_path_ == base::FilePath(kStdinConfigPath)) { base 407 remoting/host/remoting_me2me_host.cc base::FilePath default_config_dir = remoting::GetConfigDir(); base 411 remoting/host/remoting_me2me_host.cc if (host_config_path_ != base::FilePath(kStdinConfigPath) && base 412 remoting/host/remoting_me2me_host.cc !base::PathExists(host_config_path_)) { base 444 remoting/host/remoting_me2me_host.cc base::Bind(&HostProcess::OnConfigUpdated, this, serialized_config)); base 455 remoting/host/remoting_me2me_host.cc scoped_ptr<JsonHostConfig> config(new JsonHostConfig(base::FilePath())); base 476 remoting/host/remoting_me2me_host.cc base::Bind(&HostProcess::OnPolicyUpdate, base::Unretained(this))); base 494 remoting/host/remoting_me2me_host.cc if (host_config_path_ == base::FilePath(kStdinConfigPath)) { base 509 remoting/host/remoting_me2me_host.cc base::Bind(&HostProcess::SigTermHandler, base::Unretained(this))); base 619 remoting/host/remoting_me2me_host.cc base::Bind(&HostProcess::ShutdownHost, this, kSuccessExitCode)); base 628 remoting/host/remoting_me2me_host.cc FROM_HERE, base::Bind(&HostProcess::ShutdownHost, this, base 636 remoting/host/remoting_me2me_host.cc base::FilePath audio_pipe_name = CommandLine::ForCurrentProcess()-> base 643 remoting/host/remoting_me2me_host.cc base::FilePath gnubby_socket_name = CommandLine::ForCurrentProcess()-> base 673 remoting/host/remoting_me2me_host.cc base::Bind(&HostProcess::StartOnNetworkThread, this)); base 692 remoting/host/remoting_me2me_host.cc AudioCapturerLinux::InitializePipeReader(NULL, base::FilePath()); base 805 remoting/host/remoting_me2me_host.cc void HostProcess::OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies) { base 812 remoting/host/remoting_me2me_host.cc context_->network_task_runner()->PostTask(FROM_HERE, base::Bind( base 813 remoting/host/remoting_me2me_host.cc &HostProcess::OnPolicyUpdate, this, base::Passed(&policies))); base 1075 remoting/host/remoting_me2me_host.cc base::Bind(&HostProcess::OnAuthFailed, this))); base 1113 remoting/host/remoting_me2me_host.cc host_->SetMaximumSessionDuration(base::TimeDelta::FromHours(20)); base 1191 remoting/host/remoting_me2me_host.cc base::Bind(&HostProcess::ShutdownOnNetworkThread, base::Unretained(this)), base 1192 remoting/host/remoting_me2me_host.cc base::TimeDelta::FromSeconds(2)); base 1215 remoting/host/remoting_me2me_host.cc base::WaitableEvent done_event(true, false); base 1226 remoting/host/remoting_me2me_host.cc base::Bind(&HostProcess::ShutdownOnUiThread, this)); base 1237 remoting/host/remoting_me2me_host.cc base::snprintf(message, sizeof(message), base 1240 remoting/host/remoting_me2me_host.cc base::debug::Alias(message); base 1262 remoting/host/remoting_me2me_host.cc base::MessageLoopForUI message_loop; base 1265 remoting/host/remoting_me2me_host.cc message_loop.message_loop_proxy(), base::MessageLoop::QuitClosure())); base 120 remoting/host/resizing_host_observer.cc now_function_(base::Bind(base::Time::Now)), base 133 remoting/host/resizing_host_observer.cc base::Time now = now_function_.Run(); base 140 remoting/host/resizing_host_observer.cc base::TimeDelta minimum_resize_interval = base 141 remoting/host/resizing_host_observer.cc base::TimeDelta::FromMilliseconds(kMinimumResizeIntervalMs); base 142 remoting/host/resizing_host_observer.cc base::Time next_allowed_resize = base 149 remoting/host/resizing_host_observer.cc base::Bind(&ResizingHostObserver::SetScreenResolution, base 182 remoting/host/resizing_host_observer.cc const base::Callback<base::Time(void)>& now_function) { base 40 remoting/host/resizing_host_observer.h const base::Callback<base::Time(void)>& now_function); base 47 remoting/host/resizing_host_observer.h base::OneShotTimer<ResizingHostObserver> deferred_resize_timer_; base 48 remoting/host/resizing_host_observer.h base::Time previous_resize_time_; base 49 remoting/host/resizing_host_observer.h base::Callback<base::Time(void)> now_function_; base 51 remoting/host/resizing_host_observer.h base::WeakPtrFactory<ResizingHostObserver> weak_factory_; base 96 remoting/host/resizing_host_observer_unittest.cc now_(base::Time::Now()) { base 101 remoting/host/resizing_host_observer_unittest.cc base::Time GetTime() { base 113 remoting/host/resizing_host_observer_unittest.cc base::Bind(&ResizingHostObserverTest::GetTimeAndIncrement, base 114 remoting/host/resizing_host_observer_unittest.cc base::Unretained(this))); base 132 remoting/host/resizing_host_observer_unittest.cc base::Time GetTimeAndIncrement() { base 133 remoting/host/resizing_host_observer_unittest.cc base::Time result = now_; base 134 remoting/host/resizing_host_observer_unittest.cc now_ += base::TimeDelta::FromSeconds(1); base 140 remoting/host/resizing_host_observer_unittest.cc base::Time now_; base 281 remoting/host/resizing_host_observer_unittest.cc base::Bind(&ResizingHostObserverTest::GetTime, base::Unretained(this))); base 283 remoting/host/resizing_host_observer_unittest.cc base::MessageLoop message_loop; base 284 remoting/host/resizing_host_observer_unittest.cc base::RunLoop run_loop; base 288 remoting/host/resizing_host_observer_unittest.cc now_ += base::TimeDelta::FromMilliseconds(900); base 291 remoting/host/resizing_host_observer_unittest.cc now_ += base::TimeDelta::FromMilliseconds(99); base 294 remoting/host/resizing_host_observer_unittest.cc now_ += base::TimeDelta::FromMilliseconds(1); base 304 remoting/host/resizing_host_observer_unittest.cc base::TimeDelta::FromMilliseconds(2)); base 25 remoting/host/sas_injector_win.cc const base::FilePath::CharType kSasDllFileName[] = FILE_PATH_LITERAL("sas.dll"); base 50 remoting/host/sas_injector_win.cc base::win::RegKey system_policy_; base 121 remoting/host/sas_injector_win.cc base::ScopedNativeLibrary sas_dll_; base 147 remoting/host/sas_injector_win.cc base::FilePath dir_path; base 148 remoting/host/sas_injector_win.cc if (!PathService::Get(base::DIR_EXE, &dir_path)) { base 153 remoting/host/sas_injector_win.cc sas_dll_.Reset(base::LoadNativeLibrary(dir_path.Append(kSasDllFileName), base 228 remoting/host/sas_injector_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 48 remoting/host/screen_capturer_fake.cc base::Time capture_start_time = base::Time::Now(); base 73 remoting/host/screen_capturer_fake.cc (base::Time::Now() - capture_start_time).InMillisecondsRoundedUp()); base 14 remoting/host/server_log_entry.cc using base::SysInfo; base 21 remoting/host/setup/daemon_controller.cc : caller_task_runner_(base::ThreadTaskRunnerHandle::Get()), base 28 remoting/host/setup/daemon_controller.cc delegate_thread_->StartWithType(base::MessageLoop::TYPE_UI); base 31 remoting/host/setup/daemon_controller.cc delegate_thread_->StartWithType(base::MessageLoop::TYPE_DEFAULT); base 43 remoting/host/setup/daemon_controller.cc DaemonController::GetConfigCallback wrapped_done = base::Bind( base 45 remoting/host/setup/daemon_controller.cc base::Closure request = base::Bind( base 51 remoting/host/setup/daemon_controller.cc scoped_ptr<base::DictionaryValue> config, base 56 remoting/host/setup/daemon_controller.cc DaemonController::CompletionCallback wrapped_done = base::Bind( base 58 remoting/host/setup/daemon_controller.cc base::Closure request = base::Bind( base 59 remoting/host/setup/daemon_controller.cc &DaemonController::DoSetConfigAndStart, this, base::Passed(&config), base 64 remoting/host/setup/daemon_controller.cc void DaemonController::UpdateConfig(scoped_ptr<base::DictionaryValue> config, base 68 remoting/host/setup/daemon_controller.cc DaemonController::CompletionCallback wrapped_done = base::Bind( base 70 remoting/host/setup/daemon_controller.cc base::Closure request = base::Bind( base 71 remoting/host/setup/daemon_controller.cc &DaemonController::DoUpdateConfig, this, base::Passed(&config), base 79 remoting/host/setup/daemon_controller.cc DaemonController::CompletionCallback wrapped_done = base::Bind( base 81 remoting/host/setup/daemon_controller.cc base::Closure request = base::Bind( base 89 remoting/host/setup/daemon_controller.cc base::Closure done = base::Bind(&DaemonController::ScheduleNext, this); base 90 remoting/host/setup/daemon_controller.cc base::Closure request = base::Bind( base 98 remoting/host/setup/daemon_controller.cc DaemonController::GetVersionCallback wrapped_done = base::Bind( base 100 remoting/host/setup/daemon_controller.cc base::Closure request = base::Bind( base 109 remoting/host/setup/daemon_controller.cc DaemonController::GetUsageStatsConsentCallback wrapped_done = base::Bind( base 111 remoting/host/setup/daemon_controller.cc base::Closure request = base::Bind( base 128 remoting/host/setup/daemon_controller.cc scoped_ptr<base::DictionaryValue> config = delegate_->GetConfig(); base 130 remoting/host/setup/daemon_controller.cc base::Bind(done, base::Passed(&config))); base 134 remoting/host/setup/daemon_controller.cc scoped_ptr<base::DictionaryValue> config, base 143 remoting/host/setup/daemon_controller.cc scoped_ptr<base::DictionaryValue> config, base 157 remoting/host/setup/daemon_controller.cc const base::Closure& done) { base 168 remoting/host/setup/daemon_controller.cc caller_task_runner_->PostTask(FROM_HERE, base::Bind(done, version)); base 177 remoting/host/setup/daemon_controller.cc caller_task_runner_->PostTask(FROM_HERE, base::Bind(done, consent)); base 186 remoting/host/setup/daemon_controller.cc base::Bind(&DaemonController::InvokeCompletionCallbackAndScheduleNext, base 197 remoting/host/setup/daemon_controller.cc scoped_ptr<base::DictionaryValue> config) { base 229 remoting/host/setup/daemon_controller.cc void DaemonController::ServiceOrQueueRequest(const base::Closure& request) { base 15 remoting/host/setup/daemon_controller.h namespace base { base 25 remoting/host/setup/daemon_controller.h class DaemonController : public base::RefCountedThreadSafe<DaemonController> { base 78 remoting/host/setup/daemon_controller.h typedef base::Callback<void (scoped_ptr<base::DictionaryValue> config)> base 83 remoting/host/setup/daemon_controller.h typedef base::Callback<void (AsyncResult result)> CompletionCallback; base 86 remoting/host/setup/daemon_controller.h typedef base::Callback<void (const std::string&)> GetVersionCallback; base 101 remoting/host/setup/daemon_controller.h typedef base::Callback<void (const UsageStatsConsent&)> base 122 remoting/host/setup/daemon_controller.h virtual scoped_ptr<base::DictionaryValue> GetConfig() = 0; base 128 remoting/host/setup/daemon_controller.h scoped_ptr<base::DictionaryValue> config, base 138 remoting/host/setup/daemon_controller.h scoped_ptr<base::DictionaryValue> config, base 182 remoting/host/setup/daemon_controller.h void SetConfigAndStart(scoped_ptr<base::DictionaryValue> config, base 191 remoting/host/setup/daemon_controller.h void UpdateConfig(scoped_ptr<base::DictionaryValue> config, base 214 remoting/host/setup/daemon_controller.h friend class base::RefCountedThreadSafe<DaemonController>; base 219 remoting/host/setup/daemon_controller.h void DoSetConfigAndStart(scoped_ptr<base::DictionaryValue> config, base 222 remoting/host/setup/daemon_controller.h void DoUpdateConfig(scoped_ptr<base::DictionaryValue> config, base 225 remoting/host/setup/daemon_controller.h void DoSetWindow(void* window_handle, const base::Closure& done); base 236 remoting/host/setup/daemon_controller.h scoped_ptr<base::DictionaryValue> config); base 246 remoting/host/setup/daemon_controller.h void ServiceOrQueueRequest(const base::Closure& request); base 250 remoting/host/setup/daemon_controller.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 261 remoting/host/setup/daemon_controller.h std::queue<base::Closure> pending_requests_; base 48 remoting/host/setup/daemon_controller_delegate_linux.cc base::MD5Context ctx; base 49 remoting/host/setup/daemon_controller_delegate_linux.cc base::MD5Init(&ctx); base 50 remoting/host/setup/daemon_controller_delegate_linux.cc base::MD5Update(&ctx, value); base 51 remoting/host/setup/daemon_controller_delegate_linux.cc base::MD5Digest digest; base 52 remoting/host/setup/daemon_controller_delegate_linux.cc base::MD5Final(&digest, &ctx); base 53 remoting/host/setup/daemon_controller_delegate_linux.cc return StringToLowerASCII(base::HexEncode(digest.a, sizeof(digest.a))); base 56 remoting/host/setup/daemon_controller_delegate_linux.cc base::FilePath GetConfigPath() { base 58 remoting/host/setup/daemon_controller_delegate_linux.cc return base::GetHomeDir(). base 62 remoting/host/setup/daemon_controller_delegate_linux.cc bool GetScriptPath(base::FilePath* result) { base 63 remoting/host/setup/daemon_controller_delegate_linux.cc base::FilePath candidate_exe(kDaemonScript); base 73 remoting/host/setup/daemon_controller_delegate_linux.cc base::TimeDelta timeout, base 83 remoting/host/setup/daemon_controller_delegate_linux.cc base::FilePath script_path; base 92 remoting/host/setup/daemon_controller_delegate_linux.cc base::ProcessHandle process_handle; base 97 remoting/host/setup/daemon_controller_delegate_linux.cc base::FileHandleMappingVector fds_to_remap; base 99 remoting/host/setup/daemon_controller_delegate_linux.cc base::LaunchOptions options; base 101 remoting/host/setup/daemon_controller_delegate_linux.cc if (!base::LaunchProcess(command_line, options, &process_handle)) { base 107 remoting/host/setup/daemon_controller_delegate_linux.cc if (!base::WaitForExitCodeWithTimeout(process_handle, exit_code, timeout)) { base 108 remoting/host/setup/daemon_controller_delegate_linux.cc base::KillProcess(process_handle, 0, false); base 119 remoting/host/setup/daemon_controller_delegate_linux.cc args, base::TimeDelta::FromMilliseconds(kDaemonTimeoutMs), exit_code); base 131 remoting/host/setup/daemon_controller_delegate_linux.cc base::FilePath script_path; base 141 remoting/host/setup/daemon_controller_delegate_linux.cc base::GetAppOutputWithExitCode(command_line, &status, &exit_code); base 155 remoting/host/setup/daemon_controller_delegate_linux.cc base::TrimWhitespaceASCII(status, base::TRIM_ALL, &status); base 171 remoting/host/setup/daemon_controller_delegate_linux.cc scoped_ptr<base::DictionaryValue> DaemonControllerDelegateLinux::GetConfig() { base 172 remoting/host/setup/daemon_controller_delegate_linux.cc scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); base 193 remoting/host/setup/daemon_controller_delegate_linux.cc scoped_ptr<base::DictionaryValue> config, base 201 remoting/host/setup/daemon_controller_delegate_linux.cc args, base::TimeDelta::FromSeconds(kSudoTimeoutSeconds), base 210 remoting/host/setup/daemon_controller_delegate_linux.cc base::FilePath config_dir = GetConfigPath().DirName(); base 211 remoting/host/setup/daemon_controller_delegate_linux.cc if (!base::DirectoryExists(config_dir) && base 212 remoting/host/setup/daemon_controller_delegate_linux.cc !base::CreateDirectory(config_dir)) { base 238 remoting/host/setup/daemon_controller_delegate_linux.cc scoped_ptr<base::DictionaryValue> config, base 276 remoting/host/setup/daemon_controller_delegate_linux.cc base::FilePath script_path; base 286 remoting/host/setup/daemon_controller_delegate_linux.cc base::GetAppOutputWithExitCode(command_line, &version, &exit_code); base 293 remoting/host/setup/daemon_controller_delegate_linux.cc base::TrimWhitespaceASCII(version, base::TRIM_ALL, &version); base 294 remoting/host/setup/daemon_controller_delegate_linux.cc if (!base::ContainsOnlyChars(version, "0123456789.")) { base 20 remoting/host/setup/daemon_controller_delegate_linux.h virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE; base 22 remoting/host/setup/daemon_controller_delegate_linux.h scoped_ptr<base::DictionaryValue> config, base 26 remoting/host/setup/daemon_controller_delegate_linux.h scoped_ptr<base::DictionaryValue> config, base 21 remoting/host/setup/daemon_controller_delegate_mac.h virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE; base 23 remoting/host/setup/daemon_controller_delegate_mac.h scoped_ptr<base::DictionaryValue> config, base 27 remoting/host/setup/daemon_controller_delegate_mac.h scoped_ptr<base::DictionaryValue> config, base 30 remoting/host/setup/daemon_controller_delegate_win.cc using base::win::ScopedBstr; base 31 remoting/host/setup/daemon_controller_delegate_win.cc using base::win::ScopedComPtr; base 58 remoting/host/setup/daemon_controller_delegate_win.cc void ConfigToString(const base::DictionaryValue& config, ScopedBstr* out) { base 60 remoting/host/setup/daemon_controller_delegate_win.cc base::JSONWriter::Write(&config, &config_str); base 61 remoting/host/setup/daemon_controller_delegate_win.cc ScopedBstr config_scoped_bstr(base::UTF8ToUTF16(config_str).c_str()); base 142 remoting/host/setup/daemon_controller_delegate_win.cc if (base::win::GetVersion() < base::win::VERSION_XP) { base 170 remoting/host/setup/daemon_controller_delegate_win.cc scoped_ptr<base::DictionaryValue> DaemonControllerDelegateWin::GetConfig() { base 174 remoting/host/setup/daemon_controller_delegate_win.cc return scoped_ptr<base::DictionaryValue>(); base 180 remoting/host/setup/daemon_controller_delegate_win.cc return scoped_ptr<base::DictionaryValue>(); base 183 remoting/host/setup/daemon_controller_delegate_win.cc base::string16 file_content( base 185 remoting/host/setup/daemon_controller_delegate_win.cc scoped_ptr<base::Value> config( base 186 remoting/host/setup/daemon_controller_delegate_win.cc base::JSONReader::Read(base::UTF16ToUTF8(file_content), base 187 remoting/host/setup/daemon_controller_delegate_win.cc base::JSON_ALLOW_TRAILING_COMMAS)); base 189 remoting/host/setup/daemon_controller_delegate_win.cc if (!config || config->GetType() != base::Value::TYPE_DICTIONARY) base 190 remoting/host/setup/daemon_controller_delegate_win.cc return scoped_ptr<base::DictionaryValue>(); base 192 remoting/host/setup/daemon_controller_delegate_win.cc return scoped_ptr<base::DictionaryValue>( base 193 remoting/host/setup/daemon_controller_delegate_win.cc static_cast<base::DictionaryValue*>(config.release())); base 197 remoting/host/setup/daemon_controller_delegate_win.cc scoped_ptr<base::DictionaryValue> config, base 213 remoting/host/setup/daemon_controller_delegate_win.cc base::Bind(&DaemonControllerDelegateWin::OnInstallationComplete, base 214 remoting/host/setup/daemon_controller_delegate_win.cc base::Unretained(this), base 215 remoting/host/setup/daemon_controller_delegate_win.cc base::Passed(&config), base 228 remoting/host/setup/daemon_controller_delegate_win.cc scoped_ptr<base::DictionaryValue> config, base 281 remoting/host/setup/daemon_controller_delegate_win.cc return base::UTF16ToUTF8( base 282 remoting/host/setup/daemon_controller_delegate_win.cc base::string16(static_cast<BSTR>(version), version.Length())); base 338 remoting/host/setup/daemon_controller_delegate_win.cc release_timer_.reset(new base::OneShotTimer<DaemonControllerDelegateWin>()); base 340 remoting/host/setup/daemon_controller_delegate_win.cc base::TimeDelta::FromSeconds(kUnprivilegedTimeoutSec), base 350 remoting/host/setup/daemon_controller_delegate_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 380 remoting/host/setup/daemon_controller_delegate_win.cc release_timer_.reset(new base::OneShotTimer<DaemonControllerDelegateWin>()); base 382 remoting/host/setup/daemon_controller_delegate_win.cc base::TimeDelta::FromSeconds(kPrivilegedTimeoutSec), base 398 remoting/host/setup/daemon_controller_delegate_win.cc scoped_ptr<base::DictionaryValue> config, base 26 remoting/host/setup/daemon_controller_delegate_win.h virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE; base 28 remoting/host/setup/daemon_controller_delegate_win.h scoped_ptr<base::DictionaryValue> config, base 32 remoting/host/setup/daemon_controller_delegate_win.h scoped_ptr<base::DictionaryValue> config, base 54 remoting/host/setup/daemon_controller_delegate_win.h scoped_ptr<base::DictionaryValue> config, base 61 remoting/host/setup/daemon_controller_delegate_win.h base::win::ScopedComPtr<IDaemonControl> control_; base 62 remoting/host/setup/daemon_controller_delegate_win.h base::win::ScopedComPtr<IDaemonControl2> control2_; base 69 remoting/host/setup/daemon_controller_delegate_win.h scoped_ptr<base::OneShotTimer<DaemonControllerDelegateWin> > release_timer_; base 28 remoting/host/setup/daemon_installer_win.cc using base::win::ScopedBstr; base 29 remoting/host/setup/daemon_installer_win.cc using base::win::ScopedComPtr; base 30 remoting/host/setup/daemon_installer_win.cc using base::win::ScopedVariant; base 85 remoting/host/setup/daemon_installer_win.cc base::Timer polling_timer_; base 92 remoting/host/setup/daemon_installer_win.cc public base::win::ObjectWatcher::Delegate { base 105 remoting/host/setup/daemon_installer_win.cc base::win::ScopedHandle process_; base 108 remoting/host/setup/daemon_installer_win.cc base::win::ObjectWatcher process_watcher_; base 118 remoting/host/setup/daemon_installer_win.cc base::TimeDelta::FromMilliseconds(kOmahaPollIntervalMs), base 119 remoting/host/setup/daemon_installer_win.cc base::Bind(&DaemonComInstallerWin::PollInstallationStatus, base 120 remoting/host/setup/daemon_installer_win.cc base::Unretained(this)), base 278 remoting/host/setup/daemon_installer_win.cc base::win::RegKey update_key; base 296 remoting/host/setup/daemon_installer_win.cc base::string16 command_line = base::WideToUTF16( base 297 remoting/host/setup/daemon_installer_win.cc base::StringPrintf(kGoogleUpdateCommandLineFormat, base 302 remoting/host/setup/daemon_installer_win.cc base::LaunchOptions options; base 303 remoting/host/setup/daemon_installer_win.cc if (!base::LaunchProcess(command_line, options, &process_)) { base 349 remoting/host/setup/daemon_installer_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 18 remoting/host/setup/daemon_installer_win.h typedef base::Callback<void (HRESULT result)> CompletionCallback; base 31 remoting/host/setup/host_starter.cc main_task_runner_ = base::ThreadTaskRunnerHandle::Get(); base 81 remoting/host/setup/host_starter.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 103 remoting/host/setup/host_starter.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 112 remoting/host/setup/host_starter.cc host_id_ = base::GenerateGUID(); base 132 remoting/host/setup/host_starter.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 160 remoting/host/setup/host_starter.cc scoped_ptr<base::DictionaryValue> config(new base::DictionaryValue()); base 172 remoting/host/setup/host_starter.cc base::Bind(&HostStarter::OnHostStarted, base::Unretained(this))); base 177 remoting/host/setup/host_starter.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 193 remoting/host/setup/host_starter.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 209 remoting/host/setup/host_starter.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 225 remoting/host/setup/host_starter.cc main_task_runner_->PostTask(FROM_HERE, base::Bind( base 31 remoting/host/setup/host_starter.h typedef base::Callback<void(Result)> CompletionCallback; base 86 remoting/host/setup/host_starter.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 100 remoting/host/setup/host_starter.h base::WeakPtr<HostStarter> weak_ptr_; base 101 remoting/host/setup/host_starter.h base::WeakPtrFactory<HostStarter> weak_ptr_factory_; base 56 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> ConfigDictionaryFromMessage( base 57 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message) { base 58 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> result; base 59 remoting/host/setup/me2me_native_messaging_host.cc const base::DictionaryValue* config_dict; base 94 remoting/host/setup/me2me_native_messaging_host.cc const base::Closure& quit_closure) { base 100 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::ProcessRequest, weak_ptr_), base 101 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::Stop, weak_ptr_)); base 105 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message) { base 108 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue()); base 112 remoting/host/setup/me2me_native_messaging_host.cc const base::Value* id; base 119 remoting/host/setup/me2me_native_messaging_host.cc channel_->SendMessage(scoped_ptr<base::DictionaryValue>()); base 162 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 163 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 167 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::ListValue> supported_features_list(new base::ListValue()); base 175 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 176 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 187 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::SendBooleanResult, weak_ptr_, base 188 remoting/host/setup/me2me_native_messaging_host.cc base::Passed(&response))); base 195 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 196 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 216 remoting/host/setup/me2me_native_messaging_host.cc client_id, base::Bind(&Me2MeNativeMessagingHost::SendBooleanResult, base 217 remoting/host/setup/me2me_native_messaging_host.cc weak_ptr_, base::Passed(&response))); base 224 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 225 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 233 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 234 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 254 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 255 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 265 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 266 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 269 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> config_dict = base 278 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::SendAsyncResult, weak_ptr_, base 279 remoting/host/setup/me2me_native_messaging_host.cc base::Passed(&response))); base 283 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 284 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 288 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::SendConfigResponse, weak_ptr_, base 289 remoting/host/setup/me2me_native_messaging_host.cc base::Passed(&response))); base 293 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 294 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 299 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::SendPairedClientsResponse, base 300 remoting/host/setup/me2me_native_messaging_host.cc weak_ptr_, base::Passed(&response))); base 302 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::ListValue> no_paired_clients(new base::ListValue); base 308 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 309 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 313 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::SendUsageStatsConsentResponse, base 314 remoting/host/setup/me2me_native_messaging_host.cc weak_ptr_, base::Passed(&response))); base 318 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 319 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 329 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> config_dict = base 338 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::SendAsyncResult, weak_ptr_, base 339 remoting/host/setup/me2me_native_messaging_host.cc base::Passed(&response))); base 343 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 344 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 348 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::SendAsyncResult, weak_ptr_, base 349 remoting/host/setup/me2me_native_messaging_host.cc base::Passed(&response))); base 353 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 354 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 388 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 389 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 398 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message, base 399 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response) { base 416 remoting/host/setup/me2me_native_messaging_host.cc oauth_client_info, auth_code, base::Bind( base 418 remoting/host/setup/me2me_native_messaging_host.cc base::Passed(&response))); base 422 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response, base 423 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> config) { base 429 remoting/host/setup/me2me_native_messaging_host.cc response->Set("config", base::Value::CreateNullValue()); base 435 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response, base 436 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::ListValue> pairings) { base 444 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response, base 455 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response, base 477 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response, bool result) { base 485 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> response, base 497 remoting/host/setup/me2me_native_messaging_host.cc channel_->SendMessage(scoped_ptr<base::DictionaryValue>()); base 504 remoting/host/setup/me2me_native_messaging_host.cc base::ResetAndReturn(&quit_closure_).Run(); base 510 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message) { base 531 remoting/host/setup/me2me_native_messaging_host.cc if (!base::win::GetUserSidString(&user_sid)) { base 539 remoting/host/setup/me2me_native_messaging_host.cc std::string security_descriptor = base::StringPrintf( base 540 remoting/host/setup/me2me_native_messaging_host.cc "O:%1$sG:%1$sD:(A;;GA;;;%1$s)", base::UTF16ToASCII(user_sid).c_str()); base 559 remoting/host/setup/me2me_native_messaging_host.cc base::win::ScopedHandle delegate_write_handle(::CreateNamedPipe( base 560 remoting/host/setup/me2me_native_messaging_host.cc base::ASCIIToUTF16(input_pipe_name).c_str(), base 580 remoting/host/setup/me2me_native_messaging_host.cc base::win::ScopedHandle delegate_read_handle(::CreateNamedPipe( base 581 remoting/host/setup/me2me_native_messaging_host.cc base::ASCIIToUTF16(output_pipe_name).c_str(), base 619 remoting/host/setup/me2me_native_messaging_host.cc base::FilePath binary = current_command_line->GetProgram(); base 667 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::ProcessDelegateResponse, weak_ptr_), base 668 remoting/host/setup/me2me_native_messaging_host.cc base::Bind(&Me2MeNativeMessagingHost::Stop, weak_ptr_)); base 671 remoting/host/setup/me2me_native_messaging_host.cc FROM_HERE, base::TimeDelta::FromSeconds(kElevatedHostTimeoutSeconds), base 676 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message) { base 693 remoting/host/setup/me2me_native_messaging_host.cc scoped_ptr<base::DictionaryValue> message) { base 17 remoting/host/setup/me2me_native_messaging_host.h namespace base { base 50 remoting/host/setup/me2me_native_messaging_host.h void Start(const base::Closure& quit_closure); base 55 remoting/host/setup/me2me_native_messaging_host.h void ProcessRequest(scoped_ptr<base::DictionaryValue> message); base 61 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 62 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 64 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 65 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 67 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 68 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 70 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 71 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 73 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 74 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 76 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 77 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 79 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 80 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 82 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 83 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 85 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 86 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 88 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 89 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 91 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 92 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 94 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 95 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 97 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 98 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 100 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 101 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 103 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> message, base 104 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response); base 110 remoting/host/setup/me2me_native_messaging_host.h void SendConfigResponse(scoped_ptr<base::DictionaryValue> response, base 111 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> config); base 112 remoting/host/setup/me2me_native_messaging_host.h void SendPairedClientsResponse(scoped_ptr<base::DictionaryValue> response, base 113 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::ListValue> pairings); base 115 remoting/host/setup/me2me_native_messaging_host.h scoped_ptr<base::DictionaryValue> response, base 117 remoting/host/setup/me2me_native_messaging_host.h void SendAsyncResult(scoped_ptr<base::DictionaryValue> response, base 119 remoting/host/setup/me2me_native_messaging_host.h void SendBooleanResult(scoped_ptr<base::DictionaryValue> response, base 121 remoting/host/setup/me2me_native_messaging_host.h void SendCredentialsResponse(scoped_ptr<base::DictionaryValue> response, base 131 remoting/host/setup/me2me_native_messaging_host.h bool DelegateToElevatedHost(scoped_ptr<base::DictionaryValue> message); base 141 remoting/host/setup/me2me_native_messaging_host.h void ProcessDelegateResponse(scoped_ptr<base::DictionaryValue> message); base 150 remoting/host/setup/me2me_native_messaging_host.h base::OneShotTimer<Me2MeNativeMessagingHost> elevated_host_timer_; base 158 remoting/host/setup/me2me_native_messaging_host.h base::Closure quit_closure_; base 171 remoting/host/setup/me2me_native_messaging_host.h base::ThreadChecker thread_checker_; base 173 remoting/host/setup/me2me_native_messaging_host.h base::WeakPtr<Me2MeNativeMessagingHost> weak_ptr_; base 174 remoting/host/setup/me2me_native_messaging_host.h base::WeakPtrFactory<Me2MeNativeMessagingHost> weak_factory_; base 44 remoting/host/setup/me2me_native_messaging_host_main.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 50 remoting/host/setup/me2me_native_messaging_host_main.cc base::win::ScopedHandle scoped_process_token(process_token); base 65 remoting/host/setup/me2me_native_messaging_host_main.cc base::mac::ScopedNSAutoreleasePool pool; base 80 remoting/host/setup/me2me_native_messaging_host_main.cc base::Thread io_thread("io_thread"); base 82 remoting/host/setup/me2me_native_messaging_host_main.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 84 remoting/host/setup/me2me_native_messaging_host_main.cc base::MessageLoopForUI message_loop; base 85 remoting/host/setup/me2me_native_messaging_host_main.cc base::RunLoop run_loop; base 97 remoting/host/setup/me2me_native_messaging_host_main.cc if (base::StringToInt64(native_view, &native_view_handle)) { base 105 remoting/host/setup/me2me_native_messaging_host_main.cc base::PlatformFile read_file; base 106 remoting/host/setup/me2me_native_messaging_host_main.cc base::PlatformFile write_file; base 184 remoting/host/setup/me2me_native_messaging_host_main.cc base::win::RegKey root; base 193 remoting/host/setup/me2me_native_messaging_host_main.cc base::win::RegKey unprivileged; base 204 remoting/host/setup/me2me_native_messaging_host_main.cc base::win::RegKey privileged; base 252 remoting/host/setup/me2me_native_messaging_host_main.cc base::AtExitManager exit_manager; base 33 remoting/host/setup/me2me_native_messaging_host_unittest.cc void VerifyHelloResponse(scoped_ptr<base::DictionaryValue> response) { base 42 remoting/host/setup/me2me_native_messaging_host_unittest.cc void VerifyGetHostNameResponse(scoped_ptr<base::DictionaryValue> response) { base 51 remoting/host/setup/me2me_native_messaging_host_unittest.cc void VerifyGetPinHashResponse(scoped_ptr<base::DictionaryValue> response) { base 60 remoting/host/setup/me2me_native_messaging_host_unittest.cc void VerifyGenerateKeyPairResponse(scoped_ptr<base::DictionaryValue> response) { base 69 remoting/host/setup/me2me_native_messaging_host_unittest.cc void VerifyGetDaemonConfigResponse(scoped_ptr<base::DictionaryValue> response) { base 74 remoting/host/setup/me2me_native_messaging_host_unittest.cc const base::DictionaryValue* config = NULL; base 76 remoting/host/setup/me2me_native_messaging_host_unittest.cc EXPECT_TRUE(base::DictionaryValue().Equals(config)); base 80 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response) { base 94 remoting/host/setup/me2me_native_messaging_host_unittest.cc void VerifyStopDaemonResponse(scoped_ptr<base::DictionaryValue> response) { base 103 remoting/host/setup/me2me_native_messaging_host_unittest.cc void VerifyGetDaemonStateResponse(scoped_ptr<base::DictionaryValue> response) { base 113 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response) { base 122 remoting/host/setup/me2me_native_messaging_host_unittest.cc void VerifyStartDaemonResponse(scoped_ptr<base::DictionaryValue> response) { base 142 remoting/host/setup/me2me_native_messaging_host_unittest.cc virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE; base 144 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> config, base 148 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> config, base 167 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> MockDaemonControllerDelegate::GetConfig() { base 168 remoting/host/setup/me2me_native_messaging_host_unittest.cc return scoped_ptr<base::DictionaryValue>(new base::DictionaryValue()); base 172 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> config, base 185 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> config, base 225 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> ReadMessageFromOutputPipe(); base 227 remoting/host/setup/me2me_native_messaging_host_unittest.cc void WriteMessageToInputPipe(const base::Value& message); base 233 remoting/host/setup/me2me_native_messaging_host_unittest.cc void TestBadRequest(const base::Value& message); base 251 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::PlatformFile input_write_handle_; base 252 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::PlatformFile output_read_handle_; base 255 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::MessageLoop> test_message_loop_; base 256 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::RunLoop> test_run_loop_; base 258 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::Thread> host_thread_; base 259 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::RunLoop> host_run_loop_; base 273 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::PlatformFile input_read_handle; base 274 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::PlatformFile output_write_handle; base 279 remoting/host/setup/me2me_native_messaging_host_unittest.cc test_message_loop_.reset(new base::MessageLoop()); base 280 remoting/host/setup/me2me_native_messaging_host_unittest.cc test_run_loop_.reset(new base::RunLoop()); base 283 remoting/host/setup/me2me_native_messaging_host_unittest.cc host_thread_.reset(new base::Thread("host_thread")); base 289 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::Bind(&Me2MeNativeMessagingHostTest::ExitTest, base 290 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::Unretained(this))); base 294 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::Bind(&Me2MeNativeMessagingHostTest::StartHost, base 295 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::Unretained(this))); base 304 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::PlatformFile input_read_handle; base 305 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::PlatformFile output_write_handle; base 329 remoting/host/setup/me2me_native_messaging_host_unittest.cc host_->Start(base::Bind(&Me2MeNativeMessagingHostTest::StopHost, base 330 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::Unretained(this))); base 343 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::RunLoop().RunUntilIdle(); base 353 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::Bind(&Me2MeNativeMessagingHostTest::ExitTest, base 354 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::Unretained(this))); base 363 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::ClosePlatformFile(input_write_handle_); base 366 remoting/host/setup/me2me_native_messaging_host_unittest.cc test_run_loop_.reset(new base::RunLoop()); base 370 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); base 375 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::ClosePlatformFile(output_read_handle_); base 378 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> base 381 remoting/host/setup/me2me_native_messaging_host_unittest.cc int read_result = base::ReadPlatformFileAtCurrentPos( base 384 remoting/host/setup/me2me_native_messaging_host_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 388 remoting/host/setup/me2me_native_messaging_host_unittest.cc read_result = base::ReadPlatformFileAtCurrentPos( base 391 remoting/host/setup/me2me_native_messaging_host_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 394 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::Value> message(base::JSONReader::Read(message_json)); base 395 remoting/host/setup/me2me_native_messaging_host_unittest.cc if (!message || !message->IsType(base::Value::TYPE_DICTIONARY)) { base 396 remoting/host/setup/me2me_native_messaging_host_unittest.cc return scoped_ptr<base::DictionaryValue>(); base 399 remoting/host/setup/me2me_native_messaging_host_unittest.cc return scoped_ptr<base::DictionaryValue>( base 400 remoting/host/setup/me2me_native_messaging_host_unittest.cc static_cast<base::DictionaryValue*>(message.release())); base 404 remoting/host/setup/me2me_native_messaging_host_unittest.cc const base::Value& message) { base 406 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::JSONWriter::Write(&message, &message_json); base 409 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::WritePlatformFileAtCurrentPos(input_write_handle_, base 412 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::WritePlatformFileAtCurrentPos(input_write_handle_, message_json.data(), base 416 remoting/host/setup/me2me_native_messaging_host_unittest.cc void Me2MeNativeMessagingHostTest::TestBadRequest(const base::Value& message) { base 417 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue good_message; base 427 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = base 439 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 476 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue config; base 491 remoting/host/setup/me2me_native_messaging_host_unittest.cc void (*verify_routines[])(scoped_ptr<base::DictionaryValue>) = { base 507 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); base 525 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 531 remoting/host/setup/me2me_native_messaging_host_unittest.cc scoped_ptr<base::DictionaryValue> response = base 545 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::ListValue message; base 551 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 557 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 564 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 572 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 580 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 588 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 597 remoting/host/setup/me2me_native_messaging_host_unittest.cc base::DictionaryValue message; base 599 remoting/host/setup/me2me_native_messaging_host_unittest.cc message.Set("config", base::DictionaryValue().DeepCopy()); base 24 remoting/host/setup/oauth_client.h typedef base::Callback<void( base 40 remoting/host/setup/oauth_helper.cc return base::StringPrintf( base 20 remoting/host/setup/service_client.cc : public base::RefCountedThreadSafe<ServiceClient::Core>, base 78 remoting/host/setup/service_client.cc base::DictionaryValue post_body; base 86 remoting/host/setup/service_client.cc base::JSONWriter::Write(&post_body, &post_body_str); base 148 remoting/host/setup/service_client.cc scoped_ptr<base::Value> message_value(base::JSONReader::Read(data)); base 149 remoting/host/setup/service_client.cc base::DictionaryValue *dict; base 152 remoting/host/setup/service_client.cc message_value->IsType(base::Value::TYPE_DICTIONARY) && base 29 remoting/host/setup/start_host.cc base::MessageLoop* g_message_loop = NULL; base 65 remoting/host/setup/start_host.cc if (base::MessageLoop::current() != g_message_loop) { base 66 remoting/host/setup/start_host.cc g_message_loop->PostTask(FROM_HERE, base::Bind(&OnDone, result)); base 142 remoting/host/setup/start_host.cc base::AtExitManager exit_manager; base 145 remoting/host/setup/start_host.cc base::MessageLoop message_loop; base 147 remoting/host/setup/start_host.cc base::Thread io_thread("IO thread"); base 148 remoting/host/setup/start_host.cc base::Thread::Options io_thread_options(base::MessageLoop::TYPE_IO, 0); base 164 remoting/host/setup/start_host.cc base::Bind(&OnDone)); base 167 remoting/host/setup/start_host.cc base::RunLoop run_loop; base 15 remoting/host/setup/test_util.cc bool MakePipe(base::PlatformFile* read_handle, base 16 remoting/host/setup/test_util.cc base::PlatformFile* write_handle) { base 15 remoting/host/setup/test_util.h bool MakePipe(base::PlatformFile* read_handle, base 16 remoting/host/setup/test_util.h base::PlatformFile* write_handle); base 21 remoting/host/setup/win/auth_code_getter.cc timer_interval_(base::TimeDelta::FromMilliseconds(kUrlPollIntervalMs)) { base 29 remoting/host/setup/win/auth_code_getter.cc base::Callback<void(const std::string&)> on_auth_code) { base 41 remoting/host/setup/win/auth_code_getter.cc base::win::ScopedBstr url(base::UTF8ToWide( base 43 remoting/host/setup/win/auth_code_getter.cc base::win::ScopedVariant empty_variant; base 73 remoting/host/setup/win/auth_code_getter.cc base::win::ScopedBstr url; base 79 remoting/host/setup/win/auth_code_getter.cc *auth_code = GetOauthCodeInUrl(base::WideToUTF8(static_cast<BSTR>(url)), base 21 remoting/host/setup/win/auth_code_getter.h class AuthCodeGetter : public base::NonThreadSafe { base 29 remoting/host/setup/win/auth_code_getter.h void GetAuthCode(base::Callback<void(const std::string&)> on_auth_code); base 43 remoting/host/setup/win/auth_code_getter.h base::Callback<void(const std::string&)> on_auth_code_; base 45 remoting/host/setup/win/auth_code_getter.h base::win::ScopedComPtr<IWebBrowser2, &IID_IWebBrowser2> browser_; base 47 remoting/host/setup/win/auth_code_getter.h base::OneShotTimer<AuthCodeGetter> timer_; base 49 remoting/host/setup/win/auth_code_getter.h base::TimeDelta timer_interval_; base 29 remoting/host/signaling_connector.cc const base::Closure& auth_failed_callback) base 132 remoting/host/signaling_connector.cc timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(delay_s), base 151 remoting/host/signaling_connector.cc base::Bind(&SignalingConnector::OnDnsBlackholeCheckerDone, base 152 remoting/host/signaling_connector.cc base::Unretained(this))); base 172 remoting/host/signaling_connector.cc base::Bind(&SignalingConnector::OnAccessToken, AsWeakPtr())); base 27 remoting/host/signaling_connector.h : public base::SupportsWeakPtr<SignalingConnector>, base 28 remoting/host/signaling_connector.h public base::NonThreadSafe, base 37 remoting/host/signaling_connector.h const base::Closure& auth_failed_callback); base 71 remoting/host/signaling_connector.h base::Closure auth_failed_callback_; base 79 remoting/host/signaling_connector.h base::OneShotTimer<SignalingConnector> timer_; base 63 remoting/host/token_validator_base.cc const base::Callback<void( base 132 remoting/host/token_validator_base.cc base::Bind(&TokenValidatorBase::OnCertificatesSelected, base 133 remoting/host/token_validator_base.cc weak_factory_.GetWeakPtr(), base::Owned(selected_certs), base 134 remoting/host/token_validator_base.cc base::Owned(client_cert_store))); base 176 remoting/host/token_validator_base.cc scoped_ptr<base::Value> value(base::JSONReader::Read(data_)); base 177 remoting/host/token_validator_base.cc base::DictionaryValue* dict; base 178 remoting/host/token_validator_base.cc if (!value.get() || value->GetType() != base::Value::TYPE_DICTIONARY || base 49 remoting/host/token_validator_base.h const base::Callback<void( base 81 remoting/host/token_validator_base.h base::Callback<void(const std::string& shared_secret)> on_token_validated_; base 83 remoting/host/token_validator_base.h base::WeakPtrFactory<TokenValidatorBase> weak_factory_; base 104 remoting/host/token_validator_factory_impl.cc base::Base64Encode(nonce_bytes, &nonce); base 72 remoting/host/token_validator_factory_impl_unittest.cc TokenValidatorFactoryImplTest() : message_loop_(base::MessageLoop::TYPE_IO) {} base 106 remoting/host/token_validator_factory_impl_unittest.cc base::DictionaryValue response_dict; base 111 remoting/host/token_validator_factory_impl_unittest.cc base::JSONWriter::Write(&response_dict, &response); base 116 remoting/host/token_validator_factory_impl_unittest.cc base::DictionaryValue response_dict; base 119 remoting/host/token_validator_factory_impl_unittest.cc base::JSONWriter::Write(&response_dict, &response); base 131 remoting/host/token_validator_factory_impl_unittest.cc base::MessageLoop message_loop_; base 146 remoting/host/token_validator_factory_impl_unittest.cc kToken, base::Bind(&TokenValidatorFactoryImplTest::SuccessCallback, base 147 remoting/host/token_validator_factory_impl_unittest.cc base::Unretained(this))); base 158 remoting/host/token_validator_factory_impl_unittest.cc kToken, base::Bind(&TokenValidatorFactoryImplTest::FailureCallback, base 159 remoting/host/token_validator_factory_impl_unittest.cc base::Unretained(this))); base 171 remoting/host/token_validator_factory_impl_unittest.cc kToken, base::Bind(&TokenValidatorFactoryImplTest::FailureCallback, base 172 remoting/host/token_validator_factory_impl_unittest.cc base::Unretained(this))); base 183 remoting/host/token_validator_factory_impl_unittest.cc kToken, base::Bind( base 185 remoting/host/token_validator_factory_impl_unittest.cc base::Unretained(this))); base 26 remoting/host/usage_stats_consent_mac.cc base::FilePath config_file_path = base 28 remoting/host/usage_stats_consent_win.cc std::wstring client_state = base::StringPrintf(kOmahaClientStateKeyFormat, base 31 remoting/host/usage_stats_consent_win.cc base::win::RegKey key; base 76 remoting/host/usage_stats_consent_win.cc std::wstring client_state = base::StringPrintf(kOmahaClientStateKeyFormat, base 79 remoting/host/usage_stats_consent_win.cc base::win::RegKey key; base 46 remoting/host/verify_config_window_win.cc email_text.SetWindowText(base::UTF8ToUTF16(email_).c_str()); base 111 remoting/host/verify_config_window_win.cc scoped_ptr<base::char16[]> pin(new base::char16[pin_length + 1]); base 118 remoting/host/verify_config_window_win.cc host_id_, base::UTF16ToUTF8(pin.get())); base 35 remoting/host/video_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, base 36 remoting/host/video_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner, base 37 remoting/host/video_scheduler.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, base 76 remoting/host/video_scheduler.cc base::TimeDelta::FromMilliseconds(frame->capture_time_ms())); base 80 remoting/host/video_scheduler.cc FROM_HERE, base::Bind(&VideoScheduler::EncodeFrame, this, base 81 remoting/host/video_scheduler.cc base::Passed(&owned_frame), sequence_number_)); base 86 remoting/host/video_scheduler.cc FROM_HERE, base::Bind(&VideoScheduler::CaptureNextFrame, this)); base 109 remoting/host/video_scheduler.cc FROM_HERE, base::Bind(&VideoScheduler::SendCursorShape, this, base 110 remoting/host/video_scheduler.cc base::Passed(&cursor_proto))); base 117 remoting/host/video_scheduler.cc FROM_HERE, base::Bind(&VideoScheduler::StartOnCaptureThread, this)); base 128 remoting/host/video_scheduler.cc base::Bind(&VideoScheduler::StopOnCaptureThread, this)); base 135 remoting/host/video_scheduler.cc FROM_HERE, base::Bind(&VideoScheduler::Pause, this, pause)); base 152 remoting/host/video_scheduler.cc FROM_HERE, base::Bind(&VideoScheduler::UpdateSequenceNumber, base 175 remoting/host/video_scheduler.cc capture_timer_.reset(new base::OneShotTimer<VideoScheduler>()); base 253 remoting/host/video_scheduler.cc packet.Pass(), base::Bind(&VideoScheduler::VideoFrameSentCallback, this)); base 263 remoting/host/video_scheduler.cc FROM_HERE, base::Bind(&VideoScheduler::FrameCaptureCompleted, this)); base 288 remoting/host/video_scheduler.cc FROM_HERE, base::Bind(&VideoScheduler::SendVideoPacket, this, base 289 remoting/host/video_scheduler.cc base::Passed(&packet))); base 303 remoting/host/video_scheduler.cc base::TimeDelta::FromMilliseconds(packet->encode_time_ms())); base 305 remoting/host/video_scheduler.cc FROM_HERE, base::Bind(&VideoScheduler::SendVideoPacket, this, base 306 remoting/host/video_scheduler.cc base::Passed(&packet))); base 20 remoting/host/video_scheduler.h namespace base { base 75 remoting/host/video_scheduler.h class VideoScheduler : public base::RefCountedThreadSafe<VideoScheduler>, base 84 remoting/host/video_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, base 85 remoting/host/video_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner, base 86 remoting/host/video_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, base 116 remoting/host/video_scheduler.h friend class base::RefCountedThreadSafe<VideoScheduler>; base 158 remoting/host/video_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner_; base 159 remoting/host/video_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner_; base 160 remoting/host/video_scheduler.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 174 remoting/host/video_scheduler.h scoped_ptr<base::OneShotTimer<VideoScheduler> > capture_timer_; base 85 remoting/host/video_scheduler_unittest.cc base::MessageLoop message_loop_; base 86 remoting/host/video_scheduler_unittest.cc base::RunLoop run_loop_; base 39 remoting/host/win/chromoting_module.cc base::LazyInstance<scoped_refptr<AutoThreadTaskRunner> > g_module_task_runner = base 51 remoting/host/win/chromoting_module.cc base::win::ScopedHandle token(temp_handle); base 135 remoting/host/win/chromoting_module.cc base::MessageLoopForUI message_loop; base 136 remoting/host/win/chromoting_module.cc base::RunLoop run_loop; base 207 remoting/host/win/chromoting_module.cc if (!InitializeComSecurity(base::WideToUTF8(kElevatedControllerSd), "", true)) base 220 remoting/host/win/chromoting_module.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 19 remoting/host/win/chromoting_module.h namespace base { base 60 remoting/host/win/chromoting_module.h base::win::ScopedCOMInitializer com_initializer_; base 21 remoting/host/win/com_security.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 35 remoting/host/win/elevated_controller.cc const base::FilePath::CharType kConfigFileName[] = FILE_PATH_LITERAL("host.json"); base 38 remoting/host/win/elevated_controller.cc const base::FilePath::CharType kUnprivilegedConfigFileName[] = base 42 remoting/host/win/elevated_controller.cc const base::FilePath::CharType kTempFileExtension[] = FILE_PATH_LITERAL("json~"); base 96 remoting/host/win/elevated_controller.cc HRESULT ReadConfig(const base::FilePath& filename, base 97 remoting/host/win/elevated_controller.cc scoped_ptr<base::DictionaryValue>* config_out) { base 100 remoting/host/win/elevated_controller.cc base::win::ScopedHandle file( base 127 remoting/host/win/elevated_controller.cc scoped_ptr<base::Value> value( base 128 remoting/host/win/elevated_controller.cc base::JSONReader::Read(file_content, base::JSON_ALLOW_TRAILING_COMMAS)); base 130 remoting/host/win/elevated_controller.cc base::DictionaryValue* dictionary; base 141 remoting/host/win/elevated_controller.cc base::FilePath GetTempLocationFor(const base::FilePath& filename) { base 146 remoting/host/win/elevated_controller.cc HRESULT WriteConfigFileToTemp(const base::FilePath& filename, base 165 remoting/host/win/elevated_controller.cc base::FilePath tempname = GetTempLocationFor(filename); base 166 remoting/host/win/elevated_controller.cc base::win::ScopedHandle file( base 194 remoting/host/win/elevated_controller.cc HRESULT MoveConfigFileFromTemp(const base::FilePath& filename) { base 197 remoting/host/win/elevated_controller.cc base::FilePath tempname = GetTempLocationFor(filename); base 218 remoting/host/win/elevated_controller.cc scoped_ptr<base::Value> config_value(base::JSONReader::Read(content)); base 222 remoting/host/win/elevated_controller.cc base::DictionaryValue* config_dict = NULL; base 250 remoting/host/win/elevated_controller.cc base::DictionaryValue unprivileged_config_dict; base 253 remoting/host/win/elevated_controller.cc base::string16 value; base 259 remoting/host/win/elevated_controller.cc base::JSONWriter::Write(&unprivileged_config_dict, &unprivileged_config_str); base 262 remoting/host/win/elevated_controller.cc base::FilePath full_config_file_path = base 273 remoting/host/win/elevated_controller.cc base::FilePath unprivileged_config_file_path = base 311 remoting/host/win/elevated_controller.cc base::FilePath config_dir = remoting::GetConfigDir(); base 314 remoting/host/win/elevated_controller.cc scoped_ptr<base::DictionaryValue> config; base 323 remoting/host/win/elevated_controller.cc base::JSONWriter::Write(config.get(), &file_content); base 325 remoting/host/win/elevated_controller.cc *config_out = ::SysAllocString(base::UTF8ToUTF16(file_content).c_str()); base 336 remoting/host/win/elevated_controller.cc HMODULE binary = base::GetModuleFromAddress( base 341 remoting/host/win/elevated_controller.cc base::string16 version; base 356 remoting/host/win/elevated_controller.cc base::FilePath config_dir = remoting::GetConfigDir(); base 357 remoting/host/win/elevated_controller.cc if (!base::CreateDirectory(config_dir)) { base 361 remoting/host/win/elevated_controller.cc std::string file_content = base::UTF16ToUTF8( base 362 remoting/host/win/elevated_controller.cc base::string16(static_cast<base::char16*>(config), ::SysStringLen(config))); base 454 remoting/host/win/elevated_controller.cc std::string config_str = base::UTF16ToUTF8( base 455 remoting/host/win/elevated_controller.cc base::string16(static_cast<base::char16*>(config), ::SysStringLen(config))); base 456 remoting/host/win/elevated_controller.cc scoped_ptr<base::Value> config_value(base::JSONReader::Read(config_str)); base 460 remoting/host/win/elevated_controller.cc base::DictionaryValue* config_dict = NULL; base 471 remoting/host/win/elevated_controller.cc base::FilePath config_dir = remoting::GetConfigDir(); base 472 remoting/host/win/elevated_controller.cc scoped_ptr<base::DictionaryValue> config_old; base 481 remoting/host/win/elevated_controller.cc base::JSONWriter::Write(config_old.get(), &config_updated_str); base 208 remoting/host/win/host_service.cc kIoThreadName, task_runner, base::MessageLoop::TYPE_IO); base 217 remoting/host/win/host_service.cc base::Bind(&HostService::StopDaemonProcess, weak_ptr_)); base 241 remoting/host/win/host_service.cc base::MessageLoopForUI message_loop; base 242 remoting/host/win/host_service.cc base::RunLoop run_loop; base 271 remoting/host/win/host_service.cc base::win::ScopedCOMInitializer com_initializer; base 275 remoting/host/win/host_service.cc if (!InitializeComSecurity(base::WideToUTF8(kComProcessSd), base 276 remoting/host/win/host_service.cc base::WideToUTF8(kComProcessMandatoryLabel), base 300 remoting/host/win/host_service.cc base::MessageLoopForUI message_loop; base 301 remoting/host/win/host_service.cc base::RunLoop run_loop; base 308 remoting/host/win/host_service.cc base::win::ScopedCOMInitializer com_initializer; base 312 remoting/host/win/host_service.cc if (!InitializeComSecurity(base::WideToUTF8(kComProcessSd), base 313 remoting/host/win/host_service.cc base::WideToUTF8(kComProcessMandatoryLabel), base 326 remoting/host/win/host_service.cc base::win::MessageWindow window; base 327 remoting/host/win/host_service.cc if (!window.Create(base::Bind(&HostService::HandleMessage, base 328 remoting/host/win/host_service.cc base::Unretained(this)))) { base 389 remoting/host/win/host_service.cc FROM_HERE, base::Bind(&HostService::StopDaemonProcess, base 411 remoting/host/win/host_service.cc FROM_HERE, base::Bind(&HostService::StopDaemonProcess, base 416 remoting/host/win/host_service.cc self->main_task_runner_->PostTask(FROM_HERE, base::Bind( base 18 remoting/host/win/host_service.h namespace base { base 34 remoting/host/win/host_service.h bool InitWithCommandLine(const base::CommandLine* command_line); base 108 remoting/host/win/host_service.h scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; base 117 remoting/host/win/host_service.h base::WaitableEvent stopped_event_; base 120 remoting/host/win/host_service.h base::WeakPtrFactory<HostService> weak_factory_; base 121 remoting/host/win/host_service.h base::WeakPtr<HostService> weak_ptr_; base 23 remoting/host/win/launch_process_with_token.cc using base::win::ScopedHandle; base 56 remoting/host/win/launch_process_with_token.cc base::win::ScopedHandle* pipe_out) { base 57 remoting/host/win/launch_process_with_token.cc base::string16 pipe_name; base 61 remoting/host/win/launch_process_with_token.cc base::FilePath winsta_path( base 62 remoting/host/win/launch_process_with_token.cc base::GetNativeLibraryName(base::UTF8ToUTF16("winsta"))); base 63 remoting/host/win/launch_process_with_token.cc base::ScopedNativeLibrary winsta(winsta_path); base 84 remoting/host/win/launch_process_with_token.cc pipe_name = base::UTF8ToUTF16( base 85 remoting/host/win/launch_process_with_token.cc base::StringPrintf(kCreateProcessDefaultPipeNameFormat, session_id)); base 89 remoting/host/win/launch_process_with_token.cc base::win::ScopedHandle pipe; base 291 remoting/host/win/launch_process_with_token.cc const base::FilePath::StringType& application_name, base 294 remoting/host/win/launch_process_with_token.cc const base::char16* desktop_name) { base 317 remoting/host/win/launch_process_with_token.cc base::string16 desktop; base 374 remoting/host/win/launch_process_with_token.cc const base::FilePath::StringType& application_name, base 377 remoting/host/win/launch_process_with_token.cc const base::char16* desktop_name, base 380 remoting/host/win/launch_process_with_token.cc DCHECK_LT(base::win::GetVersion(), base::win::VERSION_VISTA); base 382 remoting/host/win/launch_process_with_token.cc base::win::ScopedHandle pipe; base 408 remoting/host/win/launch_process_with_token.cc base::LazyInstance<base::Lock>::Leaky g_inherit_handles_lock = base 453 remoting/host/win/launch_process_with_token.cc bool LaunchProcessWithToken(const base::FilePath& binary, base 460 remoting/host/win/launch_process_with_token.cc const base::char16* desktop_name, base 463 remoting/host/win/launch_process_with_token.cc base::FilePath::StringType application_name = binary.value(); base 469 remoting/host/win/launch_process_with_token.cc startup_info.lpDesktop = const_cast<base::char16*>(desktop_name); base 492 remoting/host/win/launch_process_with_token.cc base::win::GetVersion() < base::win::VERSION_VISTA) { base 520 remoting/host/win/launch_process_with_token.cc base::win::ScopedProcessInformation process_info(temp_process_info); base 23 remoting/host/win/launch_process_with_token.h extern base::LazyInstance<base::Lock>::Leaky g_inherit_handles_lock; base 27 remoting/host/win/launch_process_with_token.h bool CreateSessionToken(uint32 session_id, base::win::ScopedHandle* token_out); base 34 remoting/host/win/launch_process_with_token.h bool LaunchProcessWithToken(const base::FilePath& binary, base 35 remoting/host/win/launch_process_with_token.h const base::CommandLine::StringType& command_line, base 41 remoting/host/win/launch_process_with_token.h const base::char16* desktop_name, base 42 remoting/host/win/launch_process_with_token.h base::win::ScopedHandle* process_out, base 43 remoting/host/win/launch_process_with_token.h base::win::ScopedHandle* thread_out); base 40 remoting/host/win/rdp_client.cc : public base::RefCountedThreadSafe<Core>, base 44 remoting/host/win/rdp_client.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 45 remoting/host/win/rdp_client.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 72 remoting/host/win/rdp_client.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 75 remoting/host/win/rdp_client.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; base 91 remoting/host/win/rdp_client.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 92 remoting/host/win/rdp_client.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 115 remoting/host/win/rdp_client.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 116 remoting/host/win/rdp_client.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 127 remoting/host/win/rdp_client.cc FROM_HERE, base::Bind(&Core::Connect, this, screen_size, terminal_id)); base 131 remoting/host/win/rdp_client.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 137 remoting/host/win/rdp_client.cc base::win::RegKey key(HKEY_LOCAL_MACHINE, kRdpPortKeyName, KEY_READ); base 161 remoting/host/win/rdp_client.cc ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::Disconnect, this)); base 178 remoting/host/win/rdp_client.cc ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::InjectSas, this)); base 212 remoting/host/win/rdp_client.cc FROM_HERE, base::Bind(&Core::NotifyConnected, this)); base 223 remoting/host/win/rdp_client.cc FROM_HERE, base::Bind(&Core::NotifyClosed, this)); base 15 remoting/host/win/rdp_client.h namespace base { base 26 remoting/host/win/rdp_client.h class RdpClient : public base::NonThreadSafe { base 41 remoting/host/win/rdp_client.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 42 remoting/host/win/rdp_client.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 65 remoting/host/win/rdp_client_unittest.cc base::win::ScopedCOMInitializer com_initializer_; base 99 remoting/host/win/rdp_client_unittest.cc base::MessageLoopForUI message_loop_; base 100 remoting/host/win/rdp_client_unittest.cc base::RunLoop run_loop_; base 140 remoting/host/win/rdp_client_unittest.cc message_loop_.PostTask(FROM_HERE, base::Bind(&RdpClientTest::CloseRdpClient, base 141 remoting/host/win/rdp_client_unittest.cc base::Unretained(this))); base 152 remoting/host/win/rdp_client_unittest.cc terminal_id_ = base::GenerateGUID(); base 55 remoting/host/win/rdp_client_window.cc base::LazyInstance<base::ThreadLocalPointer<RdpClientWindow::WindowHook> > base 62 remoting/host/win/rdp_client_window.cc HWND FindWindowRecursively(HWND parent, const base::string16& class_name) { base 72 remoting/host/win/rdp_client_window.cc if (base::string16(name, length) == class_name) base 95 remoting/host/win/rdp_client_window.cc : public base::RefCounted<WindowHook> { base 238 remoting/host/win/rdp_client_window.cc base::win::ScopedComPtr<IUnknown> control; base 240 remoting/host/win/rdp_client_window.cc base::win::ScopedComPtr<mstsc::IMsTscSecuredSettings> secured_settings; base 241 remoting/host/win/rdp_client_window.cc base::win::ScopedComPtr<mstsc::IMsRdpClientSecuredSettings> secured_settings2; base 242 remoting/host/win/rdp_client_window.cc base::win::ScopedBstr server_name( base 243 remoting/host/win/rdp_client_window.cc base::UTF8ToUTF16(server_endpoint_.ToStringWithoutPort()).c_str()); base 244 remoting/host/win/rdp_client_window.cc base::win::ScopedBstr terminal_id(base::UTF8ToUTF16(terminal_id_).c_str()); base 431 remoting/host/win/rdp_client_window.cc base::win::ScopedBstr error_message; base 432 remoting/host/win/rdp_client_window.cc base::win::ScopedComPtr<mstsc::IMsRdpClient5> client5; base 144 remoting/host/win/rdp_client_window.h base::win::ScopedComPtr<mstsc::IMsRdpClient> client_; base 145 remoting/host/win/rdp_client_window.h base::win::ScopedComPtr<mstsc::IMsRdpClientAdvancedSettings> client_settings_; base 30 remoting/host/win/rdp_desktop_session.cc base::UTF16ToUTF8(terminal_id), this)); base 65 remoting/host/win/rdp_desktop_session.h base::win::ScopedComPtr<IRdpDesktopSessionEventHandler> event_handler_; base 18 remoting/host/win/security_descriptor.cc base::UTF8ToUTF16(sddl).c_str(), SDDL_REVISION_1, &raw_sd, &length)) { base 31 remoting/host/win/security_descriptor.cc base::char16* c_sid_string = NULL; base 35 remoting/host/win/security_descriptor.cc base::string16 sid_string(c_sid_string); base 37 remoting/host/win/security_descriptor.cc return base::UTF16ToUTF8(sid_string); base 33 remoting/host/win/session_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 34 remoting/host/win/session_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 35 remoting/host/win/session_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 36 remoting/host/win/session_desktop_environment.cc const base::Closure& inject_sas) base 44 remoting/host/win/session_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 45 remoting/host/win/session_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 46 remoting/host/win/session_desktop_environment.cc scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 47 remoting/host/win/session_desktop_environment.cc const base::Closure& inject_sas) base 59 remoting/host/win/session_desktop_environment.cc base::WeakPtr<ClientSessionControl> client_session_control) { base 28 remoting/host/win/session_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 29 remoting/host/win/session_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 30 remoting/host/win/session_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 31 remoting/host/win/session_desktop_environment.h const base::Closure& inject_sas); base 34 remoting/host/win/session_desktop_environment.h base::Closure inject_sas_; base 43 remoting/host/win/session_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, base 44 remoting/host/win/session_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 45 remoting/host/win/session_desktop_environment.h scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base 46 remoting/host/win/session_desktop_environment.h const base::Closure& inject_sas); base 51 remoting/host/win/session_desktop_environment.h base::WeakPtr<ClientSessionControl> client_session_control) OVERRIDE; base 55 remoting/host/win/session_desktop_environment.h base::Closure inject_sas_; base 48 remoting/host/win/session_input_injector.cc : public base::RefCountedThreadSafe<SessionInputInjectorWin::Core>, base 52 remoting/host/win/session_input_injector.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 54 remoting/host/win/session_input_injector.cc scoped_refptr<base::SingleThreadTaskRunner> inject_sas_task_runner, base 55 remoting/host/win/session_input_injector.cc const base::Closure& inject_sas); base 78 remoting/host/win/session_input_injector.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_; base 83 remoting/host/win/session_input_injector.cc scoped_refptr<base::SingleThreadTaskRunner> inject_sas_task_runner_; base 88 remoting/host/win/session_input_injector.cc base::Closure inject_sas_; base 100 remoting/host/win/session_input_injector.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 102 remoting/host/win/session_input_injector.cc scoped_refptr<base::SingleThreadTaskRunner> inject_sas_task_runner, base 103 remoting/host/win/session_input_injector.cc const base::Closure& inject_sas) base 115 remoting/host/win/session_input_injector.cc base::Bind(&Core::Start, this, base::Passed(&client_clipboard))); base 126 remoting/host/win/session_input_injector.cc FROM_HERE, base::Bind(&Core::InjectClipboardEvent, this, event)); base 136 remoting/host/win/session_input_injector.cc FROM_HERE, base::Bind(&Core::InjectKeyEvent, this, event)); base 150 remoting/host/win/session_input_injector.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 173 remoting/host/win/session_input_injector.cc FROM_HERE, base::Bind(&Core::InjectTextEvent, this, event)); base 184 remoting/host/win/session_input_injector.cc FROM_HERE, base::Bind(&Core::InjectMouseEvent, this, event)); base 208 remoting/host/win/session_input_injector.cc scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 210 remoting/host/win/session_input_injector.cc scoped_refptr<base::SingleThreadTaskRunner> inject_sas_task_runner, base 211 remoting/host/win/session_input_injector.cc const base::Closure& inject_sas) { base 14 remoting/host/win/session_input_injector.h namespace base { base 28 remoting/host/win/session_input_injector.h scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, base 30 remoting/host/win/session_input_injector.h scoped_refptr<base::SingleThreadTaskRunner> inject_sas_task_runner, base 31 remoting/host/win/session_input_injector.h const base::Closure& inject_sas); base 34 remoting/host/win/unprivileged_process_delegate.cc using base::win::ScopedHandle; base 93 remoting/host/win/unprivileged_process_delegate.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 122 remoting/host/win/unprivileged_process_delegate.cc base::StringPrintf(kDesktopSdFormat, logon_sid_string.c_str()); base 124 remoting/host/win/unprivileged_process_delegate.cc base::StringPrintf(kWindowStationSdFormat, logon_sid_string.c_str()); base 128 remoting/host/win/unprivileged_process_delegate.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 146 remoting/host/win/unprivileged_process_delegate.cc std::string window_station_name = base::StringPrintf( base 148 remoting/host/win/unprivileged_process_delegate.cc base::GetCurrentProcId(), base 149 remoting/host/win/unprivileged_process_delegate.cc base::RandInt(1, std::numeric_limits<int>::max())); base 154 remoting/host/win/unprivileged_process_delegate.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) base 169 remoting/host/win/unprivileged_process_delegate.cc base::UTF8ToUTF16(window_station_name).c_str(), window_station_flags, base 215 remoting/host/win/unprivileged_process_delegate.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 278 remoting/host/win/unprivileged_process_delegate.cc base::AutoLock lock(g_inherit_handles_lock.Get()); base 291 remoting/host/win/unprivileged_process_delegate.cc std::string pipe_handle = base::StringPrintf( base 396 remoting/host/win/unprivileged_process_delegate.cc base::win::ScopedHandle worker_process) { base 18 remoting/host/win/unprivileged_process_delegate.h namespace base { base 33 remoting/host/win/unprivileged_process_delegate.h : public base::NonThreadSafe, base 38 remoting/host/win/unprivileged_process_delegate.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 39 remoting/host/win/unprivileged_process_delegate.h scoped_ptr<base::CommandLine> target_command); base 55 remoting/host/win/unprivileged_process_delegate.h void ReportProcessLaunched(base::win::ScopedHandle worker_process); base 58 remoting/host/win/unprivileged_process_delegate.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 61 remoting/host/win/unprivileged_process_delegate.h scoped_ptr<base::CommandLine> target_command_; base 70 remoting/host/win/unprivileged_process_delegate.h base::win::ScopedHandle worker_process_; base 17 remoting/host/win/worker_process_launcher.cc using base::TimeDelta; base 18 remoting/host/win/worker_process_launcher.cc using base::win::ScopedHandle; base 62 remoting/host/win/worker_process_launcher.cc base::TimeDelta::FromSeconds(kKillProcessTimeoutSeconds)), base 109 remoting/host/win/worker_process_launcher.cc base::win::ScopedHandle worker_process) { base 195 remoting/host/win/worker_process_launcher.cc FROM_HERE, base::TimeDelta::FromSeconds(kLaunchResultTimeoutSeconds), base 227 remoting/host/win/worker_process_launcher.cc const base::TimeDelta& timeout) { base 19 remoting/host/win/worker_process_launcher.h namespace base { base 41 remoting/host/win/worker_process_launcher.h : public base::NonThreadSafe, base 42 remoting/host/win/worker_process_launcher.h public base::win::ObjectWatcher::Delegate { base 87 remoting/host/win/worker_process_launcher.h void OnProcessLaunched(base::win::ScopedHandle worker_process); base 121 remoting/host/win/worker_process_launcher.h void SetKillProcessTimeoutForTest(const base::TimeDelta& timeout); base 142 remoting/host/win/worker_process_launcher.h base::OneShotTimer<WorkerProcessLauncher> kill_process_timer_; base 145 remoting/host/win/worker_process_launcher.h base::TimeDelta kill_process_timeout_; base 151 remoting/host/win/worker_process_launcher.h base::OneShotTimer<WorkerProcessLauncher> launch_timer_; base 155 remoting/host/win/worker_process_launcher.h base::win::ObjectWatcher process_watcher_; base 159 remoting/host/win/worker_process_launcher.h base::OneShotTimer<WorkerProcessLauncher> launch_result_timer_; base 162 remoting/host/win/worker_process_launcher.h base::win::ScopedHandle worker_process_; base 26 remoting/host/win/worker_process_launcher_unittest.cc using base::win::ScopedHandle; base 155 remoting/host/win/worker_process_launcher_unittest.cc base::MessageLoopForIO message_loop_; base 192 remoting/host/win/worker_process_launcher_unittest.cc base::Bind(&WorkerProcessLauncherTest::QuitMainMessageLoop, base 193 remoting/host/win/worker_process_launcher_unittest.cc base::Unretained(this))); base 245 remoting/host/win/worker_process_launcher_unittest.cc base::Bind(&WorkerProcessLauncherTest::ConnectClient, base 246 remoting/host/win/worker_process_launcher_unittest.cc base::Unretained(this))); base 257 remoting/host/win/worker_process_launcher_unittest.cc base::Bind(&WorkerProcessLauncherTest::StopWorker, base 258 remoting/host/win/worker_process_launcher_unittest.cc base::Unretained(this))); base 318 remoting/host/win/worker_process_launcher_unittest.cc launcher_->SetKillProcessTimeoutForTest(base::TimeDelta::FromMilliseconds(0)); base 330 remoting/host/win/worker_process_launcher_unittest.cc message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 355 remoting/host/win/worker_process_launcher_unittest.cc base::win::ScopedProcessInformation process_information(temp_process_info); base 32 remoting/host/win/wts_session_process_delegate.cc using base::win::ScopedHandle; base 43 remoting/host/win/wts_session_process_delegate.cc : public base::RefCountedThreadSafe<Core>, base 44 remoting/host/win/wts_session_process_delegate.cc public base::MessagePumpForIO::IOHandler, base 47 remoting/host/win/wts_session_process_delegate.cc Core(scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 69 remoting/host/win/wts_session_process_delegate.cc virtual void OnIOCompleted(base::MessagePumpForIO::IOContext* context, base 90 remoting/host/win/wts_session_process_delegate.cc void InitializeJob(scoped_ptr<base::win::ScopedHandle> job); base 93 remoting/host/win/wts_session_process_delegate.cc void InitializeJobCompleted(scoped_ptr<base::win::ScopedHandle> job); base 99 remoting/host/win/wts_session_process_delegate.cc void ReportProcessLaunched(base::win::ScopedHandle worker_process); base 102 remoting/host/win/wts_session_process_delegate.cc scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 105 remoting/host/win/wts_session_process_delegate.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 121 remoting/host/win/wts_session_process_delegate.cc base::win::ScopedHandle job_; base 130 remoting/host/win/wts_session_process_delegate.cc base::win::ScopedHandle pipe_; base 133 remoting/host/win/wts_session_process_delegate.cc base::win::ScopedHandle session_token_; base 139 remoting/host/win/wts_session_process_delegate.cc base::win::ScopedHandle worker_process_; base 145 remoting/host/win/wts_session_process_delegate.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 149 remoting/host/win/wts_session_process_delegate.cc : caller_task_runner_(base::ThreadTaskRunnerHandle::Get()), base 163 remoting/host/win/wts_session_process_delegate.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 211 remoting/host/win/wts_session_process_delegate.cc base::Bind(&Core::InitializeJob, this, base::Passed(&job_wrapper))); base 281 remoting/host/win/wts_session_process_delegate.cc base::MessagePumpForIO::IOContext* context, base 290 remoting/host/win/wts_session_process_delegate.cc base::Bind(&Core::OnActiveProcessZero, this)); base 360 remoting/host/win/wts_session_process_delegate.cc base::FilePath helper_binary; base 390 remoting/host/win/wts_session_process_delegate.cc base::UTF8ToWide(channel_name)); base 402 remoting/host/win/wts_session_process_delegate.cc base::UTF8ToUTF16(kDefaultDesktopName).c_str(), base 440 remoting/host/win/wts_session_process_delegate.cc caller_task_runner_->PostTask(FROM_HERE, base::Bind( base 452 remoting/host/win/wts_session_process_delegate.cc io_task_runner_->PostTask(FROM_HERE, base::Bind( base 458 remoting/host/win/wts_session_process_delegate.cc scoped_ptr<base::win::ScopedHandle> job) { base 462 remoting/host/win/wts_session_process_delegate.cc if (!base::MessageLoopForIO::current()->RegisterJobObject(job->Get(), this)) { base 469 remoting/host/win/wts_session_process_delegate.cc caller_task_runner_->PostTask(FROM_HERE, base::Bind( base 470 remoting/host/win/wts_session_process_delegate.cc &Core::InitializeJobCompleted, this, base::Passed(&job))); base 506 remoting/host/win/wts_session_process_delegate.cc base::win::ScopedHandle worker_process) { base 534 remoting/host/win/wts_session_process_delegate.cc scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 15 remoting/host/win/wts_session_process_delegate.h namespace base { base 29 remoting/host/win/wts_session_process_delegate.h : public base::NonThreadSafe, base 33 remoting/host/win/wts_session_process_delegate.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, base 34 remoting/host/win/wts_session_process_delegate.h scoped_ptr<base::CommandLine> target, base 45 remoting/host/win/wts_terminal_monitor.cc bool result = base::WideToUTF8(working_directory, base 97 remoting/jingle_glue/chromium_port_allocator.cc GURL url("https://" + host + ":" + base::IntToString(port) + base 276 remoting/jingle_glue/chromium_socket_factory.cc base::Bind(&UdpPacketSocket::OnSendCompleted, base::Unretained(this))); base 310 remoting/jingle_glue/chromium_socket_factory.cc base::Bind(&UdpPacketSocket::OnReadCompleted, base::Unretained(this))); base 41 remoting/jingle_glue/chromium_socket_factory_unittest.cc base::MessageLoopForIO message_loop_; base 42 remoting/jingle_glue/chromium_socket_factory_unittest.cc base::RunLoop run_loop_; base 54 remoting/jingle_glue/chromium_socket_factory_unittest.cc const base::TimeDelta kAttemptPeriod = base::TimeDelta::FromSeconds(1); base 91 remoting/jingle_glue/fake_signal_strategy.cc return base::IntToString(last_id_); base 98 remoting/jingle_glue/fake_signal_strategy.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 99 remoting/jingle_glue/fake_signal_strategy.cc FROM_HERE, base::Bind(&FakeSignalStrategy::DeliverIncomingMessages, base 21 remoting/jingle_glue/fake_signal_strategy.h public base::NonThreadSafe { base 61 remoting/jingle_glue/fake_signal_strategy.h base::WeakPtrFactory<FakeSignalStrategy> weak_factory_; base 148 remoting/jingle_glue/iq_sender.cc void IqRequest::SetTimeout(base::TimeDelta timeout) { base 149 remoting/jingle_glue/iq_sender.cc base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( base 150 remoting/jingle_glue/iq_sender.cc FROM_HERE, base::Bind(&IqRequest::OnTimeout, AsWeakPtr()), timeout); base 169 remoting/jingle_glue/iq_sender.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 170 remoting/jingle_glue/iq_sender.cc FROM_HERE, base::Bind(&IqRequest::DeliverResponse, AsWeakPtr(), base 171 remoting/jingle_glue/iq_sender.cc base::Passed(&stanza_copy))); base 18 remoting/jingle_glue/iq_sender.h namespace base { base 37 remoting/jingle_glue/iq_sender.h typedef base::Callback<void(IqRequest* request, base 83 remoting/jingle_glue/iq_sender.h class IqRequest : public base::SupportsWeakPtr<IqRequest> { base 91 remoting/jingle_glue/iq_sender.h void SetTimeout(base::TimeDelta timeout); base 67 remoting/jingle_glue/iq_sender_unittest.cc request_ = sender_->SendIq(kType, kTo, iq_body.Pass(), base::Bind( base 68 remoting/jingle_glue/iq_sender_unittest.cc &MockCallback::OnReply, base::Unretained(&callback_))); base 71 remoting/jingle_glue/iq_sender_unittest.cc base::StringPrintf( base 82 remoting/jingle_glue/iq_sender_unittest.cc base::MessageLoop message_loop_; base 106 remoting/jingle_glue/iq_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 114 remoting/jingle_glue/iq_sender_unittest.cc request_->SetTimeout(base::TimeDelta::FromMilliseconds(2)); base 117 remoting/jingle_glue/iq_sender_unittest.cc .WillOnce(InvokeWithoutArgs(&message_loop_, &base::MessageLoop::Quit)); base 138 remoting/jingle_glue/iq_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 158 remoting/jingle_glue/iq_sender_unittest.cc base::RunLoop().RunUntilIdle(); base 34 remoting/jingle_glue/jingle_info_request.cc base::Bind(&JingleInfoRequest::OnResponse, base::Unretained(this))); base 44 remoting/jingle_glue/jingle_info_request.cc request_->SetTimeout(base::TimeDelta::FromSeconds(kRequestTimeoutSeconds)); base 78 remoting/jingle_glue/jingle_info_request.cc if (!base::StringToInt(port_str, &port)) { base 40 remoting/jingle_glue/jingle_info_request.h typedef base::Callback<void(const std::string& relay_token, base 62 remoting/jingle_glue/xmpp_signal_strategy.cc base::ThreadTaskRunnerHandle::Get()->DeleteSoon( base 195 remoting/jingle_glue/xmpp_signal_strategy.cc FROM_HERE, base::TimeDelta::FromSeconds(kKeepAliveIntervalSeconds), base 37 remoting/jingle_glue/xmpp_signal_strategy.h class XmppSignalStrategy : public base::NonThreadSafe, base 108 remoting/jingle_glue/xmpp_signal_strategy.h base::RepeatingTimer<XmppSignalStrategy> keep_alive_timer_; base 34 remoting/protocol/audio_reader.cc reader_.Init(channel(), base::Bind(&AudioReader::OnNewData, base 35 remoting/protocol/audio_reader.cc base::Unretained(this))); base 39 remoting/protocol/audio_reader.cc const base::Closure& done_task) { base 40 remoting/protocol/audio_reader.h const base::Closure& done_task); base 22 remoting/protocol/audio_stub.h const base::Closure& done) = 0; base 32 remoting/protocol/audio_writer.cc const base::Closure& done) { base 39 remoting/protocol/audio_writer.h const base::Closure& done) OVERRIDE; base 29 remoting/protocol/auth_util.cc base::Base64Encode(sha256, &sha256_base64); base 43 remoting/protocol/auth_util.cc const base::StringPiece& label, base 44 remoting/protocol/auth_util.cc const base::StringPiece& shared_secret) { base 48 remoting/protocol/auth_util.h const base::StringPiece& label, base 49 remoting/protocol/auth_util.h const base::StringPiece& shared_secret); base 144 remoting/protocol/authentication_method.cc if (!base::Base64Decode(as_string.substr(separator + 1), &value)) { base 22 remoting/protocol/authenticator.h typedef base::Callback<void(const std::string& secret)> SecretFetchedCallback; base 23 remoting/protocol/authenticator.h typedef base::Callback<void( base 101 remoting/protocol/authenticator.h const base::Closure& resume_callback) = 0; base 33 remoting/protocol/authenticator_test_base.cc base::MessageLoop::current()->Quit(); base 47 remoting/protocol/authenticator_test_base.cc base::FilePath certs_dir(net::GetTestCertsDirectory()); base 49 remoting/protocol/authenticator_test_base.cc base::FilePath cert_path = certs_dir.AppendASCII("unittest.selfsigned.der"); base 50 remoting/protocol/authenticator_test_base.cc ASSERT_TRUE(base::ReadFileToString(cert_path, &host_cert_)); base 52 remoting/protocol/authenticator_test_base.cc base::FilePath key_path = certs_dir.AppendASCII("unittest.key.bin"); base 54 remoting/protocol/authenticator_test_base.cc ASSERT_TRUE(base::ReadFileToString(key_path, &key_string)); base 56 remoting/protocol/authenticator_test_base.cc base::Base64Encode(key_string, &key_base64); base 85 remoting/protocol/authenticator_test_base.cc receiver->ProcessMessage(message.get(), base::Bind( base 87 remoting/protocol/authenticator_test_base.cc base::Unretained(receiver), base::Unretained(sender))); base 97 remoting/protocol/authenticator_test_base.cc base::Bind(&AuthenticatorTestBase::OnClientConnected, base 98 remoting/protocol/authenticator_test_base.cc base::Unretained(this))); base 102 remoting/protocol/authenticator_test_base.cc base::Bind(&AuthenticatorTestBase::OnHostConnected, base 103 remoting/protocol/authenticator_test_base.cc base::Unretained(this))); base 121 remoting/protocol/authenticator_test_base.cc base::Timer shutdown_timer(false, false); base 124 remoting/protocol/authenticator_test_base.cc base::MessageLoop::QuitClosure()); base 55 remoting/protocol/authenticator_test_base.h base::MessageLoop message_loop_; base 19 remoting/protocol/buffered_socket_writer.cc const base::Closure& done_task) base 25 remoting/protocol/buffered_socket_writer.cc base::Closure done_task; base 45 remoting/protocol/buffered_socket_writer.cc scoped_refptr<net::IOBufferWithSize> data, const base::Closure& done_task) { base 86 remoting/protocol/buffered_socket_writer.cc base::Bind(&BufferedSocketWriterBase::OnWritten, base 87 remoting/protocol/buffered_socket_writer.cc base::Unretained(this))); base 109 remoting/protocol/buffered_socket_writer.cc base::Closure done_task = AdvanceBufferPosition(result); base 166 remoting/protocol/buffered_socket_writer.cc base::Closure BufferedSocketWriterBase::PopQueue() { base 167 remoting/protocol/buffered_socket_writer.cc base::Closure result = queue_.front()->done_task; base 191 remoting/protocol/buffered_socket_writer.cc base::Closure BufferedSocketWriter::AdvanceBufferPosition(int written) { base 199 remoting/protocol/buffered_socket_writer.cc return base::Closure(); base 222 remoting/protocol/buffered_socket_writer.cc base::Closure BufferedDatagramWriter::AdvanceBufferPosition(int written) { base 32 remoting/protocol/buffered_socket_writer.h class BufferedSocketWriterBase : public base::NonThreadSafe { base 34 remoting/protocol/buffered_socket_writer.h typedef base::Callback<void(int)> WriteFailedCallback; base 48 remoting/protocol/buffered_socket_writer.h const base::Closure& done_task); base 71 remoting/protocol/buffered_socket_writer.h base::Closure PopQueue(); base 81 remoting/protocol/buffered_socket_writer.h virtual base::Closure AdvanceBufferPosition(int written) = 0; base 111 remoting/protocol/buffered_socket_writer.h virtual base::Closure AdvanceBufferPosition(int written) OVERRIDE; base 125 remoting/protocol/buffered_socket_writer.h virtual base::Closure AdvanceBufferPosition(int written) OVERRIDE; base 33 remoting/protocol/buffered_socket_writer_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 34 remoting/protocol/buffered_socket_writer_unittest.cc base::MessageLoop::QuitClosure()); base 41 remoting/protocol/buffered_socket_writer_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 42 remoting/protocol/buffered_socket_writer_unittest.cc base::MessageLoop::QuitClosure()); base 53 remoting/protocol/buffered_socket_writer_unittest.cc writer_->Init(socket_.get(), base::Bind( base 54 remoting/protocol/buffered_socket_writer_unittest.cc &BufferedSocketWriterTest::OnWriteFailed, base::Unretained(this))); base 68 remoting/protocol/buffered_socket_writer_unittest.cc writer_->Write(test_buffer_, base::Bind(&BufferedSocketWriterTest::OnDone, base 69 remoting/protocol/buffered_socket_writer_unittest.cc base::Unretained(this))); base 70 remoting/protocol/buffered_socket_writer_unittest.cc writer_->Write(test_buffer_2_, base::Bind(&BufferedSocketWriterTest::OnDone, base 71 remoting/protocol/buffered_socket_writer_unittest.cc base::Unretained(this))); base 84 remoting/protocol/buffered_socket_writer_unittest.cc writer_->Write(test_buffer_, base::Bind( base 85 remoting/protocol/buffered_socket_writer_unittest.cc base::IgnoreResult(&BufferedSocketWriterBase::Write), base 86 remoting/protocol/buffered_socket_writer_unittest.cc base::Unretained(writer_.get()), test_buffer_2_, base 87 remoting/protocol/buffered_socket_writer_unittest.cc base::Bind(&BufferedSocketWriterTest::OnDone, base 88 remoting/protocol/buffered_socket_writer_unittest.cc base::Unretained(this)))); base 100 remoting/protocol/buffered_socket_writer_unittest.cc base::MessageLoop message_loop_; base 142 remoting/protocol/buffered_socket_writer_unittest.cc writer_->Write(test_buffer_, base::Bind( base 144 remoting/protocol/buffered_socket_writer_unittest.cc base::Unretained(this))); base 145 remoting/protocol/buffered_socket_writer_unittest.cc writer_->Write(test_buffer_2_, base::Bind( base 147 remoting/protocol/buffered_socket_writer_unittest.cc base::Unretained(this))); base 159 remoting/protocol/buffered_socket_writer_unittest.cc writer_->Write(test_buffer_, base::Closure()); base 162 remoting/protocol/buffered_socket_writer_unittest.cc base::Bind(&BufferedSocketWriterTest::Unexpected, base 163 remoting/protocol/buffered_socket_writer_unittest.cc base::Unretained(this))); base 166 remoting/protocol/buffered_socket_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 175 remoting/protocol/buffered_socket_writer_unittest.cc writer_->Write(test_buffer_, base::Closure()); base 178 remoting/protocol/buffered_socket_writer_unittest.cc base::Bind(&BufferedSocketWriterTest::Unexpected, base 179 remoting/protocol/buffered_socket_writer_unittest.cc base::Unretained(this))); base 181 remoting/protocol/buffered_socket_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 26 remoting/protocol/channel_authenticator.h typedef base::Callback<void(net::Error error, scoped_ptr<net::StreamSocket>)> base 47 remoting/protocol/channel_dispatcher_base.cc channel_factory_->CreateStreamChannel(channel_name_, base::Bind( base 48 remoting/protocol/channel_dispatcher_base.cc &ChannelDispatcherBase::OnChannelReady, base::Unretained(this))); base 33 remoting/protocol/channel_dispatcher_base.h typedef base::Callback<void(bool)> InitializedCallback; base 20 remoting/protocol/channel_factory.h class ChannelFactory : public base::NonThreadSafe { base 24 remoting/protocol/channel_factory.h typedef base::Callback<void(scoped_ptr<net::StreamSocket>)> base 26 remoting/protocol/channel_factory.h typedef base::Callback<void(scoped_ptr<net::Socket>)> base 29 remoting/protocol/channel_multiplexer.cc const base::Closure& done_task) base 49 remoting/protocol/channel_multiplexer.cc base::Closure done_task; base 81 remoting/protocol/channel_multiplexer.cc const base::Closure& done_task); base 87 remoting/protocol/channel_multiplexer.cc const base::Closure& done_task); base 103 remoting/protocol/channel_multiplexer.cc public base::NonThreadSafe, base 104 remoting/protocol/channel_multiplexer.cc public base::SupportsWeakPtr<MuxSocket> { base 222 remoting/protocol/channel_multiplexer.cc const base::Closure& done_task) { base 245 remoting/protocol/channel_multiplexer.cc const base::Closure& done_task) { base 309 remoting/protocol/channel_multiplexer.cc bool result = channel_->DoWrite(packet.Pass(), base::Bind( base 391 remoting/protocol/channel_multiplexer.cc base::Bind(&ChannelMultiplexer::OnBaseChannelReady, base 392 remoting/protocol/channel_multiplexer.cc base::Unretained(this))); base 422 remoting/protocol/channel_multiplexer.cc base::Bind(&ChannelMultiplexer::OnIncomingPacket, base 423 remoting/protocol/channel_multiplexer.cc base::Unretained(this))); base 425 remoting/protocol/channel_multiplexer.cc base::Bind(&ChannelMultiplexer::OnWriteFailed, base 426 remoting/protocol/channel_multiplexer.cc base::Unretained(this))); base 440 remoting/protocol/channel_multiplexer.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 441 remoting/protocol/channel_multiplexer.cc FROM_HERE, base::Bind(&ChannelMultiplexer::DoCreatePendingChannels, base 470 remoting/protocol/channel_multiplexer.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 471 remoting/protocol/channel_multiplexer.cc FROM_HERE, base::Bind(&ChannelMultiplexer::NotifyWriteFailed, base 484 remoting/protocol/channel_multiplexer.cc const base::Closure& done_task) { base 514 remoting/protocol/channel_multiplexer.cc const base::Closure& done_task) { base 58 remoting/protocol/channel_multiplexer.h const base::Closure& done_task); base 62 remoting/protocol/channel_multiplexer.h const base::Closure& done_task); base 87 remoting/protocol/channel_multiplexer.h base::WeakPtrFactory<ChannelMultiplexer> weak_factory_; base 37 remoting/protocol/channel_multiplexer_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 38 remoting/protocol/channel_multiplexer_unittest.cc base::MessageLoop::QuitClosure()); base 97 remoting/protocol/channel_multiplexer_unittest.cc host_mux_->CreateStreamChannel(name, base::Bind( base 98 remoting/protocol/channel_multiplexer_unittest.cc &ChannelMultiplexerTest::OnChannelConnected, base::Unretained(this), base 100 remoting/protocol/channel_multiplexer_unittest.cc client_mux_->CreateStreamChannel(name, base::Bind( base 101 remoting/protocol/channel_multiplexer_unittest.cc &ChannelMultiplexerTest::OnChannelConnected, base::Unretained(this), base 130 remoting/protocol/channel_multiplexer_unittest.cc base::MessageLoop message_loop_; base 263 remoting/protocol/channel_multiplexer_unittest.cc base::Bind(&MockSocketCallback::OnDone, base 264 remoting/protocol/channel_multiplexer_unittest.cc base::Unretained(&cb1)))); base 268 remoting/protocol/channel_multiplexer_unittest.cc base::Bind(&MockSocketCallback::OnDone, base 269 remoting/protocol/channel_multiplexer_unittest.cc base::Unretained(&cb2)))); base 271 remoting/protocol/channel_multiplexer_unittest.cc base::RunLoop().RunUntilIdle(); base 298 remoting/protocol/channel_multiplexer_unittest.cc base::Bind(&MockSocketCallback::OnDone, base 299 remoting/protocol/channel_multiplexer_unittest.cc base::Unretained(&cb1)))); base 303 remoting/protocol/channel_multiplexer_unittest.cc base::Bind(&MockSocketCallback::OnDone, base 304 remoting/protocol/channel_multiplexer_unittest.cc base::Unretained(&cb2)))); base 306 remoting/protocol/channel_multiplexer_unittest.cc base::RunLoop().RunUntilIdle(); base 337 remoting/protocol/channel_multiplexer_unittest.cc base::Bind(&MockSocketCallback::OnDone, base 338 remoting/protocol/channel_multiplexer_unittest.cc base::Unretained(&cb1)))); base 342 remoting/protocol/channel_multiplexer_unittest.cc base::Bind(&MockSocketCallback::OnDone, base 343 remoting/protocol/channel_multiplexer_unittest.cc base::Unretained(&cb2)))); base 345 remoting/protocol/channel_multiplexer_unittest.cc base::RunLoop().RunUntilIdle(); base 358 remoting/protocol/channel_multiplexer_unittest.cc host_mux_->CreateStreamChannel(kTestChannelName, base::Bind( base 359 remoting/protocol/channel_multiplexer_unittest.cc &MockConnectCallback::OnConnected, base::Unretained(&cb1))); base 360 remoting/protocol/channel_multiplexer_unittest.cc host_mux_->CreateStreamChannel(kTestChannelName2, base::Bind( base 361 remoting/protocol/channel_multiplexer_unittest.cc &MockConnectCallback::OnConnected, base::Unretained(&cb2))); base 370 remoting/protocol/channel_multiplexer_unittest.cc base::RunLoop().RunUntilIdle(); base 74 remoting/protocol/client_control_dispatcher.cc reader_.Init(channel(), base::Bind( base 75 remoting/protocol/client_control_dispatcher.cc &ClientControlDispatcher::OnMessageReceived, base::Unretained(this))); base 82 remoting/protocol/client_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 89 remoting/protocol/client_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 95 remoting/protocol/client_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 101 remoting/protocol/client_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 108 remoting/protocol/client_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 115 remoting/protocol/client_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 122 remoting/protocol/client_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(control_message), base::Closure()); base 126 remoting/protocol/client_control_dispatcher.cc scoped_ptr<ControlMessage> message, const base::Closure& done_task) { base 129 remoting/protocol/client_control_dispatcher.cc base::ScopedClosureRunner done_runner(done_task); base 61 remoting/protocol/client_control_dispatcher.h const base::Closure& done_task); base 36 remoting/protocol/client_event_dispatcher.cc message.set_sequence_number(base::Time::Now().ToInternalValue()); base 38 remoting/protocol/client_event_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 44 remoting/protocol/client_event_dispatcher.cc message.set_sequence_number(base::Time::Now().ToInternalValue()); base 46 remoting/protocol/client_event_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 51 remoting/protocol/client_event_dispatcher.cc message.set_sequence_number(base::Time::Now().ToInternalValue()); base 53 remoting/protocol/client_event_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 18 remoting/protocol/clipboard_thread_proxy.cc const base::WeakPtr<ClipboardStub>& clipboard_stub, base 19 remoting/protocol/clipboard_thread_proxy.cc scoped_refptr<base::TaskRunner> clipboard_stub_task_runner) base 25 remoting/protocol/clipboard_thread_proxy.cc clipboard_stub_task_runner_->PostTask(FROM_HERE, base::Bind( base 32 remoting/protocol/clipboard_thread_proxy.cc const base::WeakPtr<ClipboardStub>& clipboard_stub, base 15 remoting/protocol/clipboard_thread_proxy.h namespace base { base 29 remoting/protocol/clipboard_thread_proxy.h const base::WeakPtr<ClipboardStub>& clipboard_stub, base 30 remoting/protocol/clipboard_thread_proxy.h scoped_refptr<base::TaskRunner> clipboard_stub_task_runner); base 39 remoting/protocol/clipboard_thread_proxy.h const base::WeakPtr<ClipboardStub>& clipboard_stub, base 42 remoting/protocol/clipboard_thread_proxy.h base::WeakPtr<ClipboardStub> clipboard_stub_; base 43 remoting/protocol/clipboard_thread_proxy.h scoped_refptr<base::TaskRunner> clipboard_stub_task_runner_; base 21 remoting/protocol/connection_tester.cc : message_loop_(base::MessageLoop::current()), base 55 remoting/protocol/connection_tester.cc message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 79 remoting/protocol/connection_tester.cc base::Bind(&StreamConnectionTester::OnWritten, base::Unretained(this))); base 106 remoting/protocol/connection_tester.cc base::Bind(&StreamConnectionTester::OnRead, base::Unretained(this))); base 135 remoting/protocol/connection_tester.cc : message_loop_(base::MessageLoop::current()), base 172 remoting/protocol/connection_tester.cc message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 192 remoting/protocol/connection_tester.cc base::Bind(&DatagramConnectionTester::OnWritten, base::Unretained(this))); base 210 remoting/protocol/connection_tester.cc base::Bind(&DatagramConnectionTester::DoWrite, base::Unretained(this)), base 211 remoting/protocol/connection_tester.cc base::TimeDelta::FromMilliseconds(delay_ms_)); base 224 remoting/protocol/connection_tester.cc base::Bind(&DatagramConnectionTester::OnRead, base::Unretained(this))); base 12 remoting/protocol/connection_tester.h namespace base { base 53 remoting/protocol/connection_tester.h base::MessageLoop* message_loop_; base 88 remoting/protocol/connection_tester.h base::MessageLoop* message_loop_; base 121 remoting/protocol/connection_to_client.cc base::Bind(&ConnectionToClient::OnChannelInitialized, base 122 remoting/protocol/connection_to_client.cc base::Unretained(this))); base 129 remoting/protocol/connection_to_client.cc base::Bind(&ConnectionToClient::OnChannelInitialized, base 130 remoting/protocol/connection_to_client.cc base::Unretained(this))); base 132 remoting/protocol/connection_to_client.cc event_dispatcher_->set_sequence_number_callback(base::Bind( base 133 remoting/protocol/connection_to_client.cc &ConnectionToClient::UpdateSequenceNumber, base::Unretained(this))); base 136 remoting/protocol/connection_to_client.cc video_writer_->Init(session_.get(), base::Bind( base 137 remoting/protocol/connection_to_client.cc &ConnectionToClient::OnChannelInitialized, base::Unretained(this))); base 143 remoting/protocol/connection_to_client.cc base::Bind(&ConnectionToClient::OnChannelInitialized, base 144 remoting/protocol/connection_to_client.cc base::Unretained(this))); base 36 remoting/protocol/connection_to_client.h class ConnectionToClient : public base::NonThreadSafe, base 42 remoting/protocol/connection_to_client_unittest.cc base::RunLoop().RunUntilIdle(); base 47 remoting/protocol/connection_to_client_unittest.cc base::RunLoop().RunUntilIdle(); base 50 remoting/protocol/connection_to_client_unittest.cc base::MessageLoop message_loop_; base 66 remoting/protocol/connection_to_client_unittest.cc viewer_->video_stub()->ProcessVideoPacket(packet.Pass(), base::Closure()); base 68 remoting/protocol/connection_to_client_unittest.cc base::RunLoop().RunUntilIdle(); base 79 remoting/protocol/connection_to_client_unittest.cc base::RunLoop().RunUntilIdle(); base 84 remoting/protocol/connection_to_client_unittest.cc viewer_->video_stub()->ProcessVideoPacket(packet.Pass(), base::Closure()); base 92 remoting/protocol/connection_to_client_unittest.cc base::RunLoop().RunUntilIdle(); base 98 remoting/protocol/connection_to_client_unittest.cc base::RunLoop().RunUntilIdle(); base 103 remoting/protocol/connection_to_client_unittest.cc base::RunLoop().RunUntilIdle(); base 164 remoting/protocol/connection_to_host.cc base::Bind(&ConnectionToHost::OnChannelInitialized, base 165 remoting/protocol/connection_to_host.cc base::Unretained(this))); base 172 remoting/protocol/connection_to_host.cc base::Bind(&ConnectionToHost::OnChannelInitialized, base 173 remoting/protocol/connection_to_host.cc base::Unretained(this))); base 176 remoting/protocol/connection_to_host.cc video_reader_->Init(session_.get(), video_stub_, base::Bind( base 177 remoting/protocol/connection_to_host.cc &ConnectionToHost::OnChannelInitialized, base::Unretained(this))); base 183 remoting/protocol/connection_to_host.cc base::Bind(&ConnectionToHost::OnChannelInitialized, base 184 remoting/protocol/connection_to_host.cc base::Unretained(this))); base 52 remoting/protocol/connection_to_host.h public base::NonThreadSafe { base 69 remoting/protocol/content_description.cc base::IntToString(config.version)); base 91 remoting/protocol/content_description.cc if (!base::StringToInt(element->Attr(QName(kDefaultNs, kVersionAttr)), base 42 remoting/protocol/fake_authenticator.cc base::Bind(&FakeChannelAuthenticator::OnAuthBytesWritten, base 54 remoting/protocol/fake_authenticator.cc base::Bind(&FakeChannelAuthenticator::OnAuthBytesRead, base 125 remoting/protocol/fake_authenticator.cc const base::Closure& resume_callback) { base 129 remoting/protocol/fake_authenticator.cc EXPECT_EQ(id, base::IntToString(messages_)); base 141 remoting/protocol/fake_authenticator.cc id->AddText(base::IntToString(messages_)); base 43 remoting/protocol/fake_authenticator.h base::WeakPtrFactory<FakeChannelAuthenticator> weak_factory_; base 68 remoting/protocol/fake_authenticator.h const base::Closure& resume_callback) OVERRIDE; base 29 remoting/protocol/fake_session.cc message_loop_(base::MessageLoop::current()), base 34 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 38 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 55 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 62 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 87 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 94 remoting/protocol/fake_session.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 133 remoting/protocol/fake_session.cc base::Bind(&FakeSocket::AppendInputData, base 150 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 159 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 180 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 218 remoting/protocol/fake_session.cc message_loop_(base::MessageLoop::current()) { base 222 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 226 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 243 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 261 remoting/protocol/fake_session.cc EXPECT_EQ(message_loop_, base::MessageLoop::current()); base 281 remoting/protocol/fake_session.cc message_loop_(base::MessageLoop::current()), base 346 remoting/protocol/fake_session.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 372 remoting/protocol/fake_session.cc message_loop_->PostTask(FROM_HERE, base::Bind( base 20 remoting/protocol/fake_session.h namespace base { base 95 remoting/protocol/fake_session.h base::WeakPtr<FakeSocket> peer_socket_; base 103 remoting/protocol/fake_session.h base::MessageLoop* message_loop_; base 104 remoting/protocol/fake_session.h base::WeakPtrFactory<FakeSocket> weak_factory_; base 143 remoting/protocol/fake_session.h base::MessageLoop* message_loop_; base 200 remoting/protocol/fake_session.h base::MessageLoop* message_loop_; base 212 remoting/protocol/fake_session.h base::WeakPtrFactory<FakeSession> weak_factory_; base 31 remoting/protocol/host_control_dispatcher.cc reader_.Init(channel(), base::Bind( base 32 remoting/protocol/host_control_dispatcher.cc &HostControlDispatcher::OnMessageReceived, base::Unretained(this))); base 40 remoting/protocol/host_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 47 remoting/protocol/host_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 54 remoting/protocol/host_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(control_message), base::Closure()); base 60 remoting/protocol/host_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 67 remoting/protocol/host_control_dispatcher.cc writer_.Write(SerializeAndFrameMessage(message), base::Closure()); base 71 remoting/protocol/host_control_dispatcher.cc scoped_ptr<ControlMessage> message, const base::Closure& done_task) { base 75 remoting/protocol/host_control_dispatcher.cc base::ScopedClosureRunner done_runner(done_task); base 65 remoting/protocol/host_control_dispatcher.h const base::Closure& done_task); base 26 remoting/protocol/host_event_dispatcher.cc reader_.Init(channel(), base::Bind( base 27 remoting/protocol/host_event_dispatcher.cc &HostEventDispatcher::OnMessageReceived, base::Unretained(this))); base 31 remoting/protocol/host_event_dispatcher.cc scoped_ptr<EventMessage> message, const base::Closure& done_task) { base 34 remoting/protocol/host_event_dispatcher.cc base::ScopedClosureRunner done_runner(done_task); base 21 remoting/protocol/host_event_dispatcher.h typedef base::Callback<void(int64)> SequenceNumberCallback; base 43 remoting/protocol/host_event_dispatcher.h const base::Closure& done_task); base 70 remoting/protocol/jingle_messages.cc if (name.empty() || address.empty() || !base::StringToInt(port_str, &port) || base 73 remoting/protocol/jingle_messages.cc !base::StringToDouble(preference_str, &preference) || base 74 remoting/protocol/jingle_messages.cc !base::StringToInt(generation_str, &generation)) { base 98 remoting/protocol/jingle_messages.cc base::IntToString(candidate.candidate.address().port())); base 107 remoting/protocol/jingle_messages.cc base::DoubleToString(candidate.candidate.preference())); base 109 remoting/protocol/jingle_messages.cc base::IntToString(candidate.candidate.generation())); base 106 remoting/protocol/jingle_session.cc session_id_ = base::Int64ToString(base::RandGenerator(kint64max)); base 151 remoting/protocol/jingle_session.cc authenticator_->ProcessMessage(first_auth_message, base::Bind( base 153 remoting/protocol/jingle_session.cc base::Unretained(this))); base 290 remoting/protocol/jingle_session.cc FROM_HERE, base::TimeDelta::FromMilliseconds(kTransportInfoSendDelayMs), base 319 remoting/protocol/jingle_session.cc base::Bind(&JingleSession::OnMessageResponse, base 320 remoting/protocol/jingle_session.cc base::Unretained(this), message.action)); base 322 remoting/protocol/jingle_session.cc request->SetTimeout(base::TimeDelta::FromSeconds(kDefaultMessageTimeout)); base 375 remoting/protocol/jingle_session.cc base::Bind(&JingleSession::OnTransportInfoResponse, base 376 remoting/protocol/jingle_session.cc base::Unretained(this))); base 378 remoting/protocol/jingle_session.cc request->SetTimeout(base::TimeDelta::FromSeconds(kTransportInfoTimeout)); base 476 remoting/protocol/jingle_session.cc authenticator_->ProcessMessage(auth_message, base::Bind( base 477 remoting/protocol/jingle_session.cc &JingleSession::ProcessAuthenticationStep,base::Unretained(this))); base 499 remoting/protocol/jingle_session.cc authenticator_->ProcessMessage(message.info.get(), base::Bind( base 500 remoting/protocol/jingle_session.cc &JingleSession::ProcessAuthenticationStep, base::Unretained(this))); base 80 remoting/protocol/jingle_session.h typedef base::Callback<void(JingleMessageReply::ErrorType)> ReplyCallback; base 169 remoting/protocol/jingle_session.h base::OneShotTimer<JingleSession> transport_infos_timer_; base 157 remoting/protocol/jingle_session_manager.cc it->second->OnIncomingMessage(message, base::Bind( base 158 remoting/protocol/jingle_session_manager.cc &JingleSessionManager::SendReply, base::Unretained(this), stanza)); base 56 remoting/protocol/jingle_session_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 57 remoting/protocol/jingle_session_unittest.cc base::MessageLoop::QuitClosure()); base 96 remoting/protocol/jingle_session_unittest.cc message_loop_.reset(new base::MessageLoopForIO()); base 125 remoting/protocol/jingle_session_unittest.cc base::RunLoop().RunUntilIdle(); base 243 remoting/protocol/jingle_session_unittest.cc base::RunLoop().RunUntilIdle(); base 248 remoting/protocol/jingle_session_unittest.cc kChannelName, base::Bind(&JingleSessionTest::OnClientChannelCreated, base 249 remoting/protocol/jingle_session_unittest.cc base::Unretained(this))); base 251 remoting/protocol/jingle_session_unittest.cc kChannelName, base::Bind(&JingleSessionTest::OnHostChannelCreated, base 252 remoting/protocol/jingle_session_unittest.cc base::Unretained(this))); base 275 remoting/protocol/jingle_session_unittest.cc scoped_ptr<base::MessageLoopForIO> message_loop_; base 326 remoting/protocol/jingle_session_unittest.cc base::RunLoop().RunUntilIdle(); base 385 remoting/protocol/jingle_session_unittest.cc kChannelName, base::Bind(&JingleSessionTest::OnClientChannelCreated, base 386 remoting/protocol/jingle_session_unittest.cc base::Unretained(this))); base 388 remoting/protocol/jingle_session_unittest.cc kChannelName, base::Bind(&JingleSessionTest::OnHostChannelCreated, base 389 remoting/protocol/jingle_session_unittest.cc base::Unretained(this))); base 431 remoting/protocol/jingle_session_unittest.cc kChannelName, base::Bind(&JingleSessionTest::OnClientChannelCreated, base 432 remoting/protocol/jingle_session_unittest.cc base::Unretained(this))); base 434 remoting/protocol/jingle_session_unittest.cc kChannelName, base::Bind(&JingleSessionTest::OnHostChannelCreated, base 435 remoting/protocol/jingle_session_unittest.cc base::Unretained(this))); base 49 remoting/protocol/libjingle_transport_factory.cc public base::SupportsWeakPtr<LibjingleStreamTransport>, base 115 remoting/protocol/libjingle_transport_factory.cc base::RepeatingTimer<LibjingleStreamTransport> reconnect_timer_; base 144 remoting/protocol/libjingle_transport_factory.cc base::ThreadTaskRunnerHandle::Get()->DeleteSoon( base 219 remoting/protocol/libjingle_transport_factory.cc FROM_HERE, base::TimeDelta::FromSeconds(kReconnectDelaySeconds), base 226 remoting/protocol/libjingle_transport_factory.cc channel_adapter->SetOnDestroyedCallback(base::Bind( base 227 remoting/protocol/libjingle_transport_factory.cc &LibjingleStreamTransport::OnChannelDestroyed, base::Unretained(this))); base 244 remoting/protocol/libjingle_transport_factory.cc base::Bind(&LibjingleStreamTransport::OnTcpConnected, base 245 remoting/protocol/libjingle_transport_factory.cc base::Unretained(this))); base 340 remoting/protocol/libjingle_transport_factory.cc base::Bind(&LibjingleStreamTransport::OnAuthenticationDone, base 341 remoting/protocol/libjingle_transport_factory.cc base::Unretained(this))); base 396 remoting/protocol/libjingle_transport_factory.cc base::ThreadTaskRunnerHandle::Get()->DeleteSoon( base 420 remoting/protocol/libjingle_transport_factory.cc scoped_refptr<base::SingleThreadTaskRunner> task_runner = base 421 remoting/protocol/libjingle_transport_factory.cc base::ThreadTaskRunnerHandle::Get(); base 439 remoting/protocol/libjingle_transport_factory.cc base::Bind(&LibjingleStreamTransport::OnCanStart, base 461 remoting/protocol/libjingle_transport_factory.cc if (base::TimeTicks::Now() - last_jingle_info_update_time_ > base 462 remoting/protocol/libjingle_transport_factory.cc base::TimeDelta::FromSeconds(kJingleInfoUpdatePeriodSeconds)) { base 464 remoting/protocol/libjingle_transport_factory.cc jingle_info_request_->Send(base::Bind( base 465 remoting/protocol/libjingle_transport_factory.cc &LibjingleTransportFactory::OnJingleInfo, base::Unretained(this))); base 483 remoting/protocol/libjingle_transport_factory.cc last_jingle_info_update_time_ = base::TimeTicks::Now(); base 63 remoting/protocol/libjingle_transport_factory.h base::TimeTicks last_jingle_info_update_time_; base 68 remoting/protocol/libjingle_transport_factory.h std::list<base::Closure> on_jingle_info_callbacks_; base 39 remoting/protocol/me2me_host_authenticator_factory.cc const base::Closure& resume_callback) OVERRIDE { base 65 remoting/protocol/message_decoder_unittest.cc SCOPED_TRACE("Input position: " + base::IntToString(pos)); base 94 remoting/protocol/message_decoder_unittest.cc SCOPED_TRACE("Message " + base::IntToString(index)); base 53 remoting/protocol/message_reader.cc base::Bind(&MessageReader::OnRead, weak_factory_.GetWeakPtr())); base 98 remoting/protocol/message_reader.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 100 remoting/protocol/message_reader.cc base::Bind(&MessageReader::RunCallback, base 102 remoting/protocol/message_reader.cc base::Passed(scoped_ptr<CompoundBuffer>(buffer)))); base 108 remoting/protocol/message_reader.cc message.Pass(), base::Bind(&MessageReader::OnMessageDone, base 36 remoting/protocol/message_reader.h class MessageReader : public base::NonThreadSafe { base 38 remoting/protocol/message_reader.h typedef base::Callback<void(scoped_ptr<CompoundBuffer>, const base::Closure&)> base 75 remoting/protocol/message_reader.h base::WeakPtrFactory<MessageReader> weak_factory_; base 87 remoting/protocol/message_reader.h typedef typename base::Callback<void(scoped_ptr<T> message, base 88 remoting/protocol/message_reader.h const base::Closure& done_task)> base 99 remoting/protocol/message_reader.h socket, base::Bind(&ProtobufMessageReader<T>::OnNewData, base 100 remoting/protocol/message_reader.h base::Unretained(this))); base 105 remoting/protocol/message_reader.h const base::Closure& done_task) { base 41 remoting/protocol/message_reader_unittest.cc MOCK_METHOD1(OnMessage, void(const base::Closure&)); base 51 remoting/protocol/message_reader_unittest.cc void AddSecondMessage(const base::Closure& task) { base 58 remoting/protocol/message_reader_unittest.cc void OnSecondMessage(const base::Closure& task) { base 64 remoting/protocol/message_reader_unittest.cc void DeleteReader(const base::Closure& task) { base 79 remoting/protocol/message_reader_unittest.cc reader_->Init(&socket_, base::Bind( base 80 remoting/protocol/message_reader_unittest.cc &MessageReaderTest::OnMessage, base::Unretained(this))); base 97 remoting/protocol/message_reader_unittest.cc const base::Closure& done_callback) { base 102 remoting/protocol/message_reader_unittest.cc base::MessageLoop message_loop_; base 112 remoting/protocol/message_reader_unittest.cc base::Closure done_task; base 121 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 146 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 154 remoting/protocol/message_reader_unittest.cc base::Closure done_task1; base 155 remoting/protocol/message_reader_unittest.cc base::Closure done_task2; base 166 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 179 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 184 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 192 remoting/protocol/message_reader_unittest.cc base::Closure done_task2; base 203 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 231 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 238 remoting/protocol/message_reader_unittest.cc base::Closure done_task; base 247 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 259 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 268 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 304 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 311 remoting/protocol/message_reader_unittest.cc base::Closure done_task1; base 312 remoting/protocol/message_reader_unittest.cc base::Closure done_task2; base 323 remoting/protocol/message_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 50 remoting/protocol/negotiating_authenticator_base.cc const base::Closure& resume_callback) { base 56 remoting/protocol/negotiating_authenticator_base.cc current_authenticator_->ProcessMessage(message, base::Bind( base 58 remoting/protocol/negotiating_authenticator_base.cc base::Unretained(this), resume_callback)); base 66 remoting/protocol/negotiating_authenticator_base.cc const base::Closure& resume_callback) { base 74 remoting/protocol/negotiating_authenticator_base.h const base::Closure& resume_callback); base 91 remoting/protocol/negotiating_authenticator_base.h void UpdateState(const base::Closure& resume_callback); base 76 remoting/protocol/negotiating_authenticator_unittest.cc base::Bind(&NegotiatingAuthenticatorTest::FetchSecret, base 92 remoting/protocol/negotiating_authenticator_unittest.cc base::Time(), kTestClientName, kTestClientId, kTestPairedSecret); base 49 remoting/protocol/negotiating_client_authenticator.cc const base::Closure& resume_callback) { base 72 remoting/protocol/negotiating_client_authenticator.cc base::Closure callback = base::Bind( base 74 remoting/protocol/negotiating_client_authenticator.cc base::Unretained(this), base::Owned(new buzz::XmlElement(*message)), base 115 remoting/protocol/negotiating_client_authenticator.cc const base::Closure& resume_callback) { base 130 remoting/protocol/negotiating_client_authenticator.cc SecretFetchedCallback callback = base::Bind( base 152 remoting/protocol/negotiating_client_authenticator.cc const base::Closure& resume_callback, base 39 remoting/protocol/negotiating_client_authenticator.h const base::Closure& resume_callback) OVERRIDE; base 49 remoting/protocol/negotiating_client_authenticator.h const base::Closure& resume_callback); base 66 remoting/protocol/negotiating_client_authenticator.h const base::Closure& resume_callback, base 84 remoting/protocol/negotiating_client_authenticator.h base::WeakPtrFactory<NegotiatingClientAuthenticator> weak_factory_; base 69 remoting/protocol/negotiating_host_authenticator.cc const base::Closure& resume_callback) { base 103 remoting/protocol/negotiating_host_authenticator.cc base::SplitString(supported_methods_attr, kSupportedMethodsSeparator, base 128 remoting/protocol/negotiating_host_authenticator.cc CreateAuthenticator(MESSAGE_READY, base::Bind( base 130 remoting/protocol/negotiating_host_authenticator.cc base::Unretained(this), resume_callback)); base 140 remoting/protocol/negotiating_host_authenticator.cc CreateAuthenticator(WAITING_MESSAGE, base::Bind( base 142 remoting/protocol/negotiating_host_authenticator.cc base::Unretained(this), base::Owned(new buzz::XmlElement(*message)), base 157 remoting/protocol/negotiating_host_authenticator.cc const base::Closure& resume_callback) { base 50 remoting/protocol/negotiating_host_authenticator.h const base::Closure& resume_callback) OVERRIDE; base 63 remoting/protocol/negotiating_host_authenticator.h const base::Closure& resume_callback); base 51 remoting/protocol/pairing_authenticator_base.cc const base::Closure& resume_callback) { base 64 remoting/protocol/pairing_authenticator_base.cc SetAuthenticatorCallback set_authenticator = base::Bind( base 66 remoting/protocol/pairing_authenticator_base.cc weak_factory_.GetWeakPtr(), base::Owned(new buzz::XmlElement(*message)), base 78 remoting/protocol/pairing_authenticator_base.cc base::Bind(&PairingAuthenticatorBase::CheckForFailedSpakeExchange, base 117 remoting/protocol/pairing_authenticator_base.cc const base::Closure& resume_callback) { base 128 remoting/protocol/pairing_authenticator_base.cc SetAuthenticatorCallback set_authenticator = base::Bind( base 140 remoting/protocol/pairing_authenticator_base.cc const base::Closure& resume_callback, base 48 remoting/protocol/pairing_authenticator_base.h const base::Closure& resume_callback) OVERRIDE; base 54 remoting/protocol/pairing_authenticator_base.h typedef base::Callback<void(scoped_ptr<Authenticator> authenticator)> base 88 remoting/protocol/pairing_authenticator_base.h void CheckForFailedSpakeExchange(const base::Closure& resume_callback); base 91 remoting/protocol/pairing_authenticator_base.h const base::Closure& resume_callback, base 98 remoting/protocol/pairing_authenticator_base.h base::WeakPtrFactory<PairingAuthenticatorBase> weak_factory_; base 41 remoting/protocol/pairing_client_authenticator.cc SecretFetchedCallback callback = base::Bind( base 41 remoting/protocol/pairing_client_authenticator.h base::WeakPtrFactory<PairingClientAuthenticator> weak_factory_; base 63 remoting/protocol/pairing_host_authenticator.cc const base::Closure& resume_callback) { base 79 remoting/protocol/pairing_host_authenticator.cc base::Bind(&PairingHostAuthenticator::ProcessMessageWithPairing, base 81 remoting/protocol/pairing_host_authenticator.cc base::Owned(new buzz::XmlElement(*message)), base 96 remoting/protocol/pairing_host_authenticator.cc const base::Closure& resume_callback, base 33 remoting/protocol/pairing_host_authenticator.h const base::Closure& resume_callback) OVERRIDE; base 45 remoting/protocol/pairing_host_authenticator.h const base::Closure& resume_callback, base 56 remoting/protocol/pairing_host_authenticator.h base::WeakPtrFactory<PairingHostAuthenticator> weak_factory_; base 32 remoting/protocol/pairing_registry.cc PairingRegistry::Pairing::Pairing(const base::Time& created_time, base 47 remoting/protocol/pairing_registry.cc base::Time created_time = base::Time::Now(); base 48 remoting/protocol/pairing_registry.cc std::string client_id = base::GenerateGUID(); base 52 remoting/protocol/pairing_registry.cc base::Base64Encode(base::StringPiece(buffer, arraysize(buffer)), base 58 remoting/protocol/pairing_registry.cc const base::DictionaryValue& pairing) { base 67 remoting/protocol/pairing_registry.cc base::Time created_time = base::Time::FromJsTime(created_time_value); base 75 remoting/protocol/pairing_registry.cc scoped_ptr<base::DictionaryValue> PairingRegistry::Pairing::ToValue() const { base 76 remoting/protocol/pairing_registry.cc scoped_ptr<base::DictionaryValue> pairing(new base::DictionaryValue()); base 99 remoting/protocol/pairing_registry.cc scoped_refptr<base::SingleThreadTaskRunner> delegate_task_runner, base 101 remoting/protocol/pairing_registry.cc : caller_task_runner_(base::ThreadTaskRunnerHandle::Get()), base 120 remoting/protocol/pairing_registry.cc GetPairingCallback wrapped_callback = base::Bind( base 123 remoting/protocol/pairing_registry.cc base::Closure request = base::Bind( base 132 remoting/protocol/pairing_registry.cc GetAllPairingsCallback wrapped_callback = base::Bind( base 135 remoting/protocol/pairing_registry.cc GetAllPairingsCallback sanitize_callback = base::Bind( base 138 remoting/protocol/pairing_registry.cc base::Closure request = base::Bind( base 147 remoting/protocol/pairing_registry.cc DoneCallback wrapped_callback = base::Bind( base 150 remoting/protocol/pairing_registry.cc base::Closure request = base::Bind( base 159 remoting/protocol/pairing_registry.cc DoneCallback wrapped_callback = base::Bind( base 162 remoting/protocol/pairing_registry.cc base::Closure request = base::Bind( base 171 remoting/protocol/pairing_registry.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 173 remoting/protocol/pairing_registry.cc const base::Closure& task) { base 178 remoting/protocol/pairing_registry.cc DoneCallback wrapped_callback = base::Bind( base 181 remoting/protocol/pairing_registry.cc base::Closure request = base::Bind( base 190 remoting/protocol/pairing_registry.cc scoped_ptr<base::ListValue> pairings = delegate_->LoadAll(); base 191 remoting/protocol/pairing_registry.cc PostTask(caller_task_runner_, FROM_HERE, base::Bind(callback, base 192 remoting/protocol/pairing_registry.cc base::Passed(&pairings))); base 200 remoting/protocol/pairing_registry.cc PostTask(caller_task_runner_, FROM_HERE, base::Bind(callback, success)); base 209 remoting/protocol/pairing_registry.cc PostTask(caller_task_runner_, FROM_HERE, base::Bind(callback, pairing)); base 218 remoting/protocol/pairing_registry.cc PostTask(caller_task_runner_, FROM_HERE, base::Bind(callback, success)); base 227 remoting/protocol/pairing_registry.cc PostTask(caller_task_runner_, FROM_HERE, base::Bind(callback, success)); base 249 remoting/protocol/pairing_registry.cc scoped_ptr<base::ListValue> pairings) { base 256 remoting/protocol/pairing_registry.cc scoped_ptr<base::ListValue> pairings) { base 259 remoting/protocol/pairing_registry.cc scoped_ptr<base::ListValue> sanitized_pairings(new base::ListValue()); base 261 remoting/protocol/pairing_registry.cc base::DictionaryValue* pairing_json; base 286 remoting/protocol/pairing_registry.cc void PairingRegistry::ServiceOrQueueRequest(const base::Closure& request) { base 19 remoting/protocol/pairing_registry.h namespace base { base 41 remoting/protocol/pairing_registry.h class PairingRegistry : public base::RefCountedThreadSafe<PairingRegistry> { base 45 remoting/protocol/pairing_registry.h Pairing(const base::Time& created_time, base 52 remoting/protocol/pairing_registry.h static Pairing CreateFromValue(const base::DictionaryValue& pairing); base 54 remoting/protocol/pairing_registry.h scoped_ptr<base::DictionaryValue> ToValue() const; base 60 remoting/protocol/pairing_registry.h base::Time created_time() const { return created_time_; } base 66 remoting/protocol/pairing_registry.h base::Time created_time_; base 76 remoting/protocol/pairing_registry.h typedef base::Callback<void(bool success)> DoneCallback; base 77 remoting/protocol/pairing_registry.h typedef base::Callback<void(scoped_ptr<base::ListValue> pairings)> base 79 remoting/protocol/pairing_registry.h typedef base::Callback<void(Pairing pairing)> GetPairingCallback; base 92 remoting/protocol/pairing_registry.h virtual scoped_ptr<base::ListValue> LoadAll() = 0; base 108 remoting/protocol/pairing_registry.h scoped_refptr<base::SingleThreadTaskRunner> delegate_task_runner, base 137 remoting/protocol/pairing_registry.h friend class base::RefCountedThreadSafe<PairingRegistry>; base 142 remoting/protocol/pairing_registry.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 144 remoting/protocol/pairing_registry.h const base::Closure& task); base 176 remoting/protocol/pairing_registry.h scoped_ptr<base::ListValue> pairings); base 180 remoting/protocol/pairing_registry.h scoped_ptr<base::ListValue> pairings); base 183 remoting/protocol/pairing_registry.h void ServiceOrQueueRequest(const base::Closure& request); base 187 remoting/protocol/pairing_registry.h scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; base 192 remoting/protocol/pairing_registry.h scoped_refptr<base::SingleThreadTaskRunner> delegate_task_runner_; base 196 remoting/protocol/pairing_registry.h std::queue<base::Closure> pending_requests_; base 34 remoting/protocol/pairing_registry_unittest.cc MOCK_METHOD1(GetAllPairingsCallbackPtr, void(base::ListValue*)); base 37 remoting/protocol/pairing_registry_unittest.cc void GetAllPairingsCallback(scoped_ptr<base::ListValue> pairings) { base 48 remoting/protocol/pairing_registry_unittest.cc const base::DictionaryValue& actual) { base 69 remoting/protocol/pairing_registry_unittest.cc void set_pairings(scoped_ptr<base::ListValue> pairings) { base 85 remoting/protocol/pairing_registry_unittest.cc base::MessageLoop message_loop_; base 86 remoting/protocol/pairing_registry_unittest.cc base::RunLoop run_loop_; base 89 remoting/protocol/pairing_registry_unittest.cc scoped_ptr<base::ListValue> pairings_; base 101 remoting/protocol/pairing_registry_unittest.cc base::Bind(&PairingRegistryTest::ExpectSecret, base 102 remoting/protocol/pairing_registry_unittest.cc base::Unretained(this), base 108 remoting/protocol/pairing_registry_unittest.cc base::Bind(&PairingRegistryTest::ExpectSecret, base 109 remoting/protocol/pairing_registry_unittest.cc base::Unretained(this), base 121 remoting/protocol/pairing_registry_unittest.cc base::Bind(&PairingRegistryTest::set_pairings, base 122 remoting/protocol/pairing_registry_unittest.cc base::Unretained(this))); base 125 remoting/protocol/pairing_registry_unittest.cc const base::DictionaryValue* actual_pairing_1; base 126 remoting/protocol/pairing_registry_unittest.cc const base::DictionaryValue* actual_pairing_2; base 150 remoting/protocol/pairing_registry_unittest.cc base::Bind(&PairingRegistryTest::ExpectSaveSuccess, base 151 remoting/protocol/pairing_registry_unittest.cc base::Unretained(this))); base 155 remoting/protocol/pairing_registry_unittest.cc base::Bind(&PairingRegistryTest::set_pairings, base 156 remoting/protocol/pairing_registry_unittest.cc base::Unretained(this))); base 159 remoting/protocol/pairing_registry_unittest.cc const base::DictionaryValue* actual_pairing_2; base 174 remoting/protocol/pairing_registry_unittest.cc base::Bind(&PairingRegistryTest::ExpectSaveSuccess, base 175 remoting/protocol/pairing_registry_unittest.cc base::Unretained(this))); base 179 remoting/protocol/pairing_registry_unittest.cc base::Bind(&PairingRegistryTest::set_pairings, base 180 remoting/protocol/pairing_registry_unittest.cc base::Unretained(this))); base 219 remoting/protocol/pairing_registry_unittest.cc base::ThreadTaskRunnerHandle::Get(), base 225 remoting/protocol/pairing_registry_unittest.cc base::Bind(&MockPairingRegistryCallbacks::GetPairingCallback, base 226 remoting/protocol/pairing_registry_unittest.cc base::Unretained(&callbacks))); base 229 remoting/protocol/pairing_registry_unittest.cc base::Bind(&MockPairingRegistryCallbacks::GetPairingCallback, base 230 remoting/protocol/pairing_registry_unittest.cc base::Unretained(&callbacks))); base 233 remoting/protocol/pairing_registry_unittest.cc base::Bind(&MockPairingRegistryCallbacks::DoneCallback, base 234 remoting/protocol/pairing_registry_unittest.cc base::Unretained(&callbacks))); base 237 remoting/protocol/pairing_registry_unittest.cc base::Bind(&MockPairingRegistryCallbacks::GetPairingCallback, base 238 remoting/protocol/pairing_registry_unittest.cc base::Unretained(&callbacks))); base 241 remoting/protocol/pairing_registry_unittest.cc base::Bind(&MockPairingRegistryCallbacks::GetPairingCallback, base 242 remoting/protocol/pairing_registry_unittest.cc base::Unretained(&callbacks))); base 244 remoting/protocol/pairing_registry_unittest.cc base::Bind(&MockPairingRegistryCallbacks::DoneCallback, base 245 remoting/protocol/pairing_registry_unittest.cc base::Unretained(&callbacks))); base 247 remoting/protocol/pairing_registry_unittest.cc base::Bind(&MockPairingRegistryCallbacks::GetAllPairingsCallback, base 248 remoting/protocol/pairing_registry_unittest.cc base::Unretained(&callbacks))); base 252 remoting/protocol/pairing_registry_unittest.cc base::Bind(&MockPairingRegistryCallbacks::GetPairingCallback, base 253 remoting/protocol/pairing_registry_unittest.cc base::Unretained(&callbacks))); base 37 remoting/protocol/protobuf_video_reader.cc base::Bind(&ProtobufVideoReader::OnChannelReady, base::Unretained(this))); base 52 remoting/protocol/protobuf_video_reader.cc reader_.Init(channel_.get(), base::Bind(&ProtobufVideoReader::OnNewData, base 53 remoting/protocol/protobuf_video_reader.cc base::Unretained(this))); base 58 remoting/protocol/protobuf_video_reader.cc const base::Closure& done_task) { base 37 remoting/protocol/protobuf_video_reader.h const base::Closure& done_task); base 33 remoting/protocol/protobuf_video_writer.cc base::Bind(&ProtobufVideoWriter::OnChannelReady, base::Unretained(this))); base 65 remoting/protocol/protobuf_video_writer.cc const base::Closure& done) { base 39 remoting/protocol/protobuf_video_writer.h const base::Closure& done) OVERRIDE; base 60 remoting/protocol/protocol_mock_objects.cc scoped_ptr<base::ListValue> MockPairingRegistryDelegate::LoadAll() { base 61 remoting/protocol/protocol_mock_objects.cc scoped_ptr<base::ListValue> result(new base::ListValue()); base 97 remoting/protocol/protocol_mock_objects.cc : PairingRegistry(base::ThreadTaskRunnerHandle::Get(), delegate.Pass()) { base 104 remoting/protocol/protocol_mock_objects.cc const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 106 remoting/protocol/protocol_mock_objects.cc const base::Closure& task) { base 151 remoting/protocol/protocol_mock_objects.h const base::Closure& done)); base 153 remoting/protocol/protocol_mock_objects.h const base::Closure& done) { base 222 remoting/protocol/protocol_mock_objects.h virtual scoped_ptr<base::ListValue> LoadAll() OVERRIDE; base 243 remoting/protocol/protocol_mock_objects.h const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, base 245 remoting/protocol/protocol_mock_objects.h const base::Closure& task) OVERRIDE; base 76 remoting/protocol/session_manager.h class SessionManager : public base::NonThreadSafe { base 87 remoting/protocol/ssl_hmac_channel_authenticator.cc base::Bind(&SslHmacChannelAuthenticator::OnConnected, base 88 remoting/protocol/ssl_hmac_channel_authenticator.cc base::Unretained(this))); base 117 remoting/protocol/ssl_hmac_channel_authenticator.cc base::Bind(&SslHmacChannelAuthenticator::OnConnected, base 118 remoting/protocol/ssl_hmac_channel_authenticator.cc base::Unretained(this))); base 170 remoting/protocol/ssl_hmac_channel_authenticator.cc base::Bind(&SslHmacChannelAuthenticator::OnAuthBytesWritten, base 171 remoting/protocol/ssl_hmac_channel_authenticator.cc base::Unretained(this))); base 210 remoting/protocol/ssl_hmac_channel_authenticator.cc base::Bind(&SslHmacChannelAuthenticator::OnAuthBytesRead, base 211 remoting/protocol/ssl_hmac_channel_authenticator.cc base::Unretained(this))); base 34 remoting/protocol/ssl_hmac_channel_authenticator.h public base::NonThreadSafe { base 46 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::MessageLoop::current()->Quit(); base 58 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::FilePath certs_dir(net::GetTestCertsDirectory()); base 60 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::FilePath cert_path = certs_dir.AppendASCII("unittest.selfsigned.der"); base 61 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc ASSERT_TRUE(base::ReadFileToString(cert_path, &host_cert_)); base 63 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::FilePath key_path = certs_dir.AppendASCII("unittest.key.bin"); base 65 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc ASSERT_TRUE(base::ReadFileToString(key_path, &key_string)); base 67 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::Base64Encode(key_string, &key_base64); base 79 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::Bind(&SslHmacChannelAuthenticatorTest::OnClientConnected, base 80 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::Unretained(this))); base 84 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::Bind(&SslHmacChannelAuthenticatorTest::OnHostConnected, base 85 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::Unretained(this))); base 105 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::Timer shutdown_timer(false, false); base 108 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::MessageLoop::QuitClosure()); base 124 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc base::MessageLoop message_loop_; base 54 remoting/protocol/third_party_authenticator_base.cc const base::Closure& resume_callback) { base 41 remoting/protocol/third_party_authenticator_base.h const base::Closure& resume_callback) OVERRIDE; base 57 remoting/protocol/third_party_authenticator_base.h const base::Closure& resume_callback); base 62 remoting/protocol/third_party_authenticator_base.h const base::Closure& resume_callback) = 0; base 98 remoting/protocol/third_party_authenticator_unittest.cc base::Callback<void(const std::string& shared_secret)> on_token_validated_; base 32 remoting/protocol/third_party_client_authenticator.cc const base::Closure& resume_callback) { base 49 remoting/protocol/third_party_client_authenticator.cc GURL(token_url), token_scope, base::Bind( base 51 remoting/protocol/third_party_client_authenticator.cc base::Unretained(this), resume_callback)); base 66 remoting/protocol/third_party_client_authenticator.cc const base::Closure& resume_callback, base 38 remoting/protocol/third_party_client_authenticator.h typedef base::Callback<void( base 67 remoting/protocol/third_party_client_authenticator.h const base::Closure& resume_callback) OVERRIDE; base 71 remoting/protocol/third_party_client_authenticator.h void OnThirdPartyTokenFetched(const base::Closure& resume_callback, base 35 remoting/protocol/third_party_host_authenticator.cc const base::Closure& resume_callback) { base 52 remoting/protocol/third_party_host_authenticator.cc token_validator_->ValidateThirdPartyToken(token, base::Bind( base 54 remoting/protocol/third_party_host_authenticator.cc base::Unretained(this), base 55 remoting/protocol/third_party_host_authenticator.cc base::Owned(new buzz::XmlElement(*message)), base 78 remoting/protocol/third_party_host_authenticator.cc const base::Closure& resume_callback, base 44 remoting/protocol/third_party_host_authenticator.h const base::Closure& resume_callback) OVERRIDE; base 49 remoting/protocol/third_party_host_authenticator.h const base::Closure& resume_callback, base 29 remoting/protocol/token_validator.h typedef base::Callback<void( base 65 remoting/protocol/transport.h class Transport : public base::NonThreadSafe { base 124 remoting/protocol/transport.h typedef base::Callback<void(scoped_ptr<net::StreamSocket>)> ConnectedCallback; base 137 remoting/protocol/transport.h typedef base::Callback<void(scoped_ptr<net::Socket>)> ConnectedCallback; base 84 remoting/protocol/v2_authenticator.cc const base::Closure& resume_callback) { base 95 remoting/protocol/v2_authenticator.cc if (!base::Base64Decode(base64_cert, &remote_cert_)) { base 121 remoting/protocol/v2_authenticator.cc !base::Base64Decode(base64_message, &spake_message)) { base 159 remoting/protocol/v2_authenticator.cc base::Base64Encode(spake_message, &base64_message); base 171 remoting/protocol/v2_authenticator.cc base::Base64Encode(local_cert_, &base64_cert); base 43 remoting/protocol/v2_authenticator.h const base::Closure& resume_callback) OVERRIDE; base 97 remoting/protocol/v2_authenticator_unittest.cc host_->ProcessMessage(message.get(), base::Bind(&base::DoNothing)); base 26 remoting/protocol/video_reader.h typedef base::Callback<void(bool)> InitializedCallback; base 20 remoting/protocol/video_stub.h const base::Closure& done) = 0; base 28 remoting/protocol/video_writer.h typedef base::Callback<void(bool)> InitializedCallback; base 39 remoting/tools/breakpad_tester_win.cc base::AtExitManager exit_manager; base 64 remoting/tools/breakpad_tester_win.cc base::win::ScopedHandle process; base 72 remoting/tools/breakpad_tester_win.cc base::win::ScopedHandle thread; base 9 rlz/chromeos/lib/machine_id_chromeos.cc bool GetRawMachineId(base::string16* data, int* more_data) { base 33 rlz/chromeos/lib/rlz_value_store_chromeos.cc const base::FilePath::CharType kRLZDataFileName[] = base 37 rlz/chromeos/lib/rlz_value_store_chromeos.cc const base::FilePath::CharType kRLZLockFileName[] = base 41 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::FilePath g_testing_rlz_store_path_; base 44 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::FilePath GetRlzStorePath() { base 46 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::GetHomeDir().Append(kRLZDataFileName) : base 51 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::FilePath GetRlzStoreLockPath() { base 53 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::GetHomeDir().Append(kRLZLockFileName) : base 75 rlz/chromeos/lib/rlz_value_store_chromeos.cc RlzValueStoreChromeOS::RlzValueStoreChromeOS(const base::FilePath& store_path) base 76 rlz/chromeos/lib/rlz_value_store_chromeos.cc : rlz_store_(new base::DictionaryValue), base 94 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::Int64ToString(time)); base 102 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::StringToInt64(ping_time, time); base 144 rlz/chromeos/lib/rlz_value_store_chromeos.cc new base::StringValue(event_rlz)); base 151 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::ListValue* events_list = NULL; ; base 166 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::StringValue event_value(event_rlz); base 181 rlz/chromeos/lib/rlz_value_store_chromeos.cc new base::StringValue(event_rlz)); base 187 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::StringValue event_value(event_rlz); base 188 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::ListValue* events_list = NULL; base 209 rlz/chromeos/lib/rlz_value_store_chromeos.cc scoped_ptr<base::Value> value( base 217 rlz/chromeos/lib/rlz_value_store_chromeos.cc rlz_store_.reset(static_cast<base::DictionaryValue*>(value.release())); base 228 rlz/chromeos/lib/rlz_value_store_chromeos.cc scoped_ptr<base::DictionaryValue> copy( base 235 rlz/chromeos/lib/rlz_value_store_chromeos.cc if (!base::ImportantFileWriter::WriteFileAtomically(store_path_, json_data)) base 240 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::Value* value) { base 241 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::ListValue* list_value = NULL; base 243 rlz/chromeos/lib/rlz_value_store_chromeos.cc list_value = new base::ListValue; base 251 rlz/chromeos/lib/rlz_value_store_chromeos.cc const base::Value& value) { base 252 rlz/chromeos/lib/rlz_value_store_chromeos.cc base::ListValue* list_value = NULL; base 326 rlz/chromeos/lib/rlz_value_store_chromeos.cc void SetRlzStoreDirectory(const base::FilePath& directory) { base 13 rlz/chromeos/lib/rlz_value_store_chromeos.h namespace base { base 23 rlz/chromeos/lib/rlz_value_store_chromeos.h public base::NonThreadSafe { base 30 rlz/chromeos/lib/rlz_value_store_chromeos.h RlzValueStoreChromeOS(const base::FilePath& store_path); base 70 rlz/chromeos/lib/rlz_value_store_chromeos.h bool AddValueToList(std::string list_name, base::Value* value); base 72 rlz/chromeos/lib/rlz_value_store_chromeos.h bool RemoveValueFromList(std::string list_name, const base::Value& value); base 75 rlz/chromeos/lib/rlz_value_store_chromeos.h scoped_ptr<base::DictionaryValue> rlz_store_; base 77 rlz/chromeos/lib/rlz_value_store_chromeos.h base::FilePath store_path_; base 11 rlz/ios/lib/machine_id_ios.cc bool GetRawMachineId(base::string16* data, int* more_data) { base 12 rlz/ios/lib/machine_id_ios.cc *data = base::ASCIIToUTF16(ios::device_util::GetDeviceIdentifier(NULL)); base 79 rlz/lib/financial_ping.cc double now_seconds = base::Time::Now().ToDoubleT(); base 89 rlz/lib/financial_ping.cc using base::subtle::AtomicWord; base 125 rlz/lib/financial_ping.cc base::StringAppendF(request, "%s?", kFinancialPingPath); base 128 rlz/lib/financial_ping.cc base::StringAppendF(request, "%s=%s", kProductSignatureCgiVariable, base 131 rlz/lib/financial_ping.cc base::StringAppendF(request, "&%s=%s", kProductBrandCgiVariable, base 135 rlz/lib/financial_ping.cc base::StringAppendF(request, "&%s=%s", kProductIdCgiVariable, product_id); base 138 rlz/lib/financial_ping.cc base::StringAppendF(request, "&%s=%s", kProductLanguageCgiVariable, base 146 rlz/lib/financial_ping.cc base::StringAppendF(request, "&%s", cgi); base 170 rlz/lib/financial_ping.cc base::StringAppendF(request, "&%s", cgi); base 175 rlz/lib/financial_ping.cc base::StringAppendF(request, "&%s=%s", kMachineIdCgiVariable, base 191 rlz/lib/financial_ping.cc base::subtle::NoBarrier_Store( base 200 rlz/lib/financial_ping.cc FinancialPingUrlFetcherDelegate(const base::Closure& callback) base 206 rlz/lib/financial_ping.cc base::Closure callback_; base 218 rlz/lib/financial_ping.cc void ShutdownCheck(base::WeakPtr<base::RunLoop> weak) { base 221 rlz/lib/financial_ping.cc if (!base::subtle::NoBarrier_Load(&g_context)) { base 228 rlz/lib/financial_ping.cc const base::TimeDelta kInterval = base::TimeDelta::FromMilliseconds(500); base 229 rlz/lib/financial_ping.cc base::MessageLoop::current()->PostDelayedTask( base 231 rlz/lib/financial_ping.cc base::Bind(&ShutdownCheck, weak), base 298 rlz/lib/financial_ping.cc base::subtle::NoBarrier_Load(&g_context)); base 305 rlz/lib/financial_ping.cc scoped_ptr<base::MessageLoop> message_loop; base 307 rlz/lib/financial_ping.cc if (!base::MessageLoop::current()) base 308 rlz/lib/financial_ping.cc message_loop.reset(new base::MessageLoop); base 309 rlz/lib/financial_ping.cc base::RunLoop loop; base 312 rlz/lib/financial_ping.cc std::string url = base::StringPrintf("http://%s:%d%s", base 329 rlz/lib/financial_ping.cc base::WeakPtrFactory<base::RunLoop> weak(&loop); base 331 rlz/lib/financial_ping.cc const base::TimeDelta kTimeout = base::TimeDelta::FromMinutes(5); base 332 rlz/lib/financial_ping.cc base::MessageLoop::ScopedNestableTaskAllower allow_nested( base 333 rlz/lib/financial_ping.cc base::MessageLoop::current()); base 334 rlz/lib/financial_ping.cc base::MessageLoop::current()->PostTask( base 336 rlz/lib/financial_ping.cc base::Bind(&ShutdownCheck, weak.GetWeakPtr())); base 337 rlz/lib/financial_ping.cc base::MessageLoop::current()->PostTask( base 339 rlz/lib/financial_ping.cc base::Bind(&net::URLFetcher::Start, base::Unretained(fetcher.get()))); base 340 rlz/lib/financial_ping.cc base::MessageLoop::current()->PostDelayedTask( base 50 rlz/lib/financial_ping_test.cc double now_seconds = base::Time::Now().ToDoubleT(); base 94 rlz/lib/financial_ping_test.cc base::StringAppendF(&expected_response, base 100 rlz/lib/financial_ping_test.cc base::StringAppendF(&expected_response, "&id=%s", machine_id.c_str()); base 107 rlz/lib/financial_ping_test.cc base::StringAppendF(&expected_response, base 112 rlz/lib/financial_ping_test.cc base::StringAppendF(&expected_response, "&id=%s", machine_id.c_str()); base 118 rlz/lib/financial_ping_test.cc base::StringAppendF(&expected_response, base 126 rlz/lib/financial_ping_test.cc base::StringAppendF(&expected_response, base 153 rlz/lib/financial_ping_test.cc base::StringAppendF(&expected_response, base 163 rlz/lib/financial_ping_test.cc base::StringAppendF(&expected_response, base 25 rlz/lib/machine_id.cc base::string16 sid_string; base 40 rlz/lib/machine_id.cc bool GetMachineIdImpl(const base::string16& sid_string, base 46 rlz/lib/machine_id.cc static const int kSizeWithoutChecksum = base::kSHA1Length + sizeof(int); base 55 rlz/lib/machine_id.cc size_t byte_count = sid_string.size() * sizeof(base::string16::value_type); base 60 rlz/lib/machine_id.cc std::string digest(base::SHA1HashString(sid_string_buffer)); base 61 rlz/lib/machine_id.cc VERIFY(digest.size() == base::kSHA1Length); base 68 rlz/lib/machine_id.cc id_binary[base::kSHA1Length + i] = static_cast<unsigned char>( base 24 rlz/lib/machine_id.h bool GetRawMachineId(base::string16* data, int* more_data); base 27 rlz/lib/machine_id.h bool GetMachineIdImpl(const base::string16& sid_string, base 14 rlz/lib/machine_id_unittest.cc base::string16 computer_sid(base::UTF8ToUTF16( base 21 rlz/lib/recursive_cross_process_lock_posix.cc const base::FilePath& lock_filename) { base 10 rlz/lib/recursive_cross_process_lock_posix.h namespace base { base 25 rlz/lib/recursive_cross_process_lock_posix.h bool TryGetCrossProcessLock(const base::FilePath& lock_filename); base 106 rlz/lib/rlz_lib.cc base::TrimWhitespaceASCII(events, base::TRIM_LEADING, &events); base 162 rlz/lib/rlz_lib.cc base::StringAppendF(&new_event_value, "%s%s", point_name, event_name); base 171 rlz/lib/rlz_lib.cc base::StringAppendF(&cgi_arg, "%s=", rlz_lib::kEventsCgiVariable); base 259 rlz/lib/rlz_lib.cc base::StringAppendF(&new_event_value, "%s%s", point_name, event_name); base 288 rlz/lib/rlz_lib.cc base::StringAppendF(&event_value, "%s%s", point_name, event_name); base 441 rlz/lib/rlz_lib.cc base::TrimWhitespaceASCII(checksum, base::TRIM_ALL, &checksum); base 514 rlz/lib/rlz_lib.cc base::SStringPrintf(&events_variable, "%s: ", kEventsCgiVariable); base 515 rlz/lib/rlz_lib.cc base::SStringPrintf(&stateful_events_variable, "%s: ", base 552 rlz/lib/rlz_lib.cc base::TrimWhitespaceASCII(rlz_value, base::TRIM_LEADING, &rlz_value); base 609 rlz/lib/rlz_lib.cc base::StringAppendF(&cgi_string, "&%s=", kRlzCgiVariable); base 626 rlz/lib/rlz_lib.cc base::StringAppendF(&cgi_string, "%s%s%s%s", base 638 rlz/lib/rlz_lib.cc base::StringAppendF(&cgi_string, "&%s=%s", kDccCgiVariable, dcc); base 51 rlz/lib/rlz_lib_clear.cc static base::LazyInstance<std::string>::Leaky g_supplemental_branding; base 437 rlz/lib/rlz_lib_test.cc base::mac::ScopedNSAutoreleasePool pool; base 440 rlz/lib/rlz_lib_test.cc base::Thread::Options options; base 441 rlz/lib/rlz_lib_test.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 443 rlz/lib/rlz_lib_test.cc base::Thread io_thread("rlz_unittest_io_thread"); base 490 rlz/lib/rlz_lib_test.cc base::mac::ScopedNSAutoreleasePool pool; base 493 rlz/lib/rlz_lib_test.cc base::Thread::Options options; base 494 rlz/lib/rlz_lib_test.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 496 rlz/lib/rlz_lib_test.cc base::Thread io_thread("rlz_unittest_io_thread"); base 512 rlz/lib/rlz_lib_test.cc base::MessageLoop loop; base 513 rlz/lib/rlz_lib_test.cc loop.PostTask(FROM_HERE, base::Bind(&ResetContext)); base 24 rlz/lib/rlz_value_store.h namespace base { base 104 rlz/lib/rlz_value_store.h base::mac::ScopedNSAutoreleasePool autorelease_pool_; base 111 rlz/lib/rlz_value_store.h void SetRlzStoreDirectory(const base::FilePath& directory); base 28 rlz/mac/lib/machine_id_mac.cc base::ScopedCFTypeRef<CFMutableDictionaryRef> matching_dict( base 33 rlz/mac/lib/machine_id_mac.cc base::ScopedCFTypeRef<CFMutableDictionaryRef> primary_interface( base 60 rlz/mac/lib/machine_id_mac.cc base::mac::ScopedIOObject<io_object_t> primary_interface; base 66 rlz/mac/lib/machine_id_mac.cc base::mac::ScopedIOObject<io_object_t> primary_interface_parent_deleter( base 73 rlz/mac/lib/machine_id_mac.cc base::ScopedCFTypeRef<CFTypeRef> mac_data( base 78 rlz/mac/lib/machine_id_mac.cc CFDataRef mac_data_data = base::mac::CFCast<CFDataRef>(mac_data); base 99 rlz/mac/lib/machine_id_mac.cc base::mac::ScopedIOObject<io_service_t> expert_device( base 105 rlz/mac/lib/machine_id_mac.cc base::ScopedCFTypeRef<CFTypeRef> serial_number( base 111 rlz/mac/lib/machine_id_mac.cc base::mac::CFCast<CFStringRef>(serial_number); base 121 rlz/mac/lib/machine_id_mac.cc bool GetRawMachineId(base::string16* data, int* more_data) { base 126 rlz/mac/lib/machine_id_mac.cc *data += base::ASCIIToUTF16( base 127 rlz/mac/lib/machine_id_mac.cc base::StringPrintf("mac:%02x%02x%02x%02x%02x%02x", base 138 rlz/mac/lib/machine_id_mac.cc *data += base::UTF8ToUTF16(" "); base 139 rlz/mac/lib/machine_id_mac.cc *data += base::UTF8ToUTF16("serial:") + base::SysCFStringRefToUTF16(serial); base 72 rlz/mac/lib/rlz_value_store_mac.h base::scoped_nsobject<NSMutableDictionary> dict_; base 73 rlz/mac/lib/rlz_value_store_mac.h base::scoped_nsobject<NSString> plist_path_; base 36 rlz/test/rlz_test_helpers.cc base::string16 name; base 43 rlz/test/rlz_test_helpers.cc std::map<base::string16, RegistryKeyData> keys; base 46 rlz/test/rlz_test_helpers.cc void ReadRegistryTree(const base::win::RegKey& src, RegistryKeyData* data) { base 49 rlz/test/rlz_test_helpers.cc base::win::RegistryValueIterator i(src.Handle(), L""); base 63 rlz/test/rlz_test_helpers.cc for (base::win::RegistryKeyIterator i(src.Handle(), L""); base 65 rlz/test/rlz_test_helpers.cc ReadRegistryTree(base::win::RegKey(src.Handle(), i.Name(), KEY_READ), base 66 rlz/test/rlz_test_helpers.cc &data->keys[base::string16(i.Name())]); base 70 rlz/test/rlz_test_helpers.cc void WriteRegistryTree(const RegistryKeyData& data, base::win::RegKey* dest) { base 81 rlz/test/rlz_test_helpers.cc for (std::map<base::string16, RegistryKeyData>::const_iterator iter = base 85 rlz/test/rlz_test_helpers.cc &base::win::RegKey(dest->Handle(), iter->first.c_str(), base 100 rlz/test/rlz_test_helpers.cc const bool do_copy = (base::win::GetVersion() >= base::win::VERSION_WIN7); base 110 rlz/test/rlz_test_helpers.cc ReadRegistryTree(base::win::RegKey(HKEY_LOCAL_MACHINE, base 119 rlz/test/rlz_test_helpers.cc WriteRegistryTree(data, &base::win::RegKey(HKEY_LOCAL_MACHINE, base 133 rlz/test/rlz_test_helpers.cc base::mac::ScopedNSAutoreleasePool pool; base 143 rlz/test/rlz_test_helpers.cc rlz_lib::testing::SetRlzStoreDirectory(base::FilePath()); base 27 rlz/test/rlz_test_helpers.h base::ScopedTempDir temp_dir_; base 20 rlz/test/rlz_unittest_main.cc base::AtExitManager at_exit; base 33 rlz/test/rlz_unittest_main.cc base::ScopedTempDir temp_dir; base 27 rlz/win/lib/lib_mutex.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 110 rlz/win/lib/machine_deal.cc base::SplitString(response_line, ':', &tokens); base 138 rlz/win/lib/machine_deal.cc base::win::RegKey hklm_key(HKEY_LOCAL_MACHINE, base 209 rlz/win/lib/machine_deal.cc base::strlcpy(new_dcc, new_dcc_value.c_str(), new_dcc_size); base 235 rlz/win/lib/machine_deal.cc base::StringAppendF(&cgi_arg, "%s=", kDccCgiVariable); base 243 rlz/win/lib/machine_deal.cc base::strlcpy(cgi, cgi_arg.c_str(), cgi_size); base 264 rlz/win/lib/machine_deal.cc base::win::RegKey dcc_key(HKEY_LOCAL_MACHINE, base 281 rlz/win/lib/machine_deal.cc base::win::RegKey dcc_key(HKEY_LOCAL_MACHINE, base 82 rlz/win/lib/machine_id_win.cc base::SStringPrintf( base 93 rlz/win/lib/machine_id_win.cc base::SStringPrintf(&sid_string, L"S-%d-%lu", SID_REVISION, authority); base 98 rlz/win/lib/machine_id_win.cc base::StringAppendF(&sid_string, L"-%lu", *::GetSidSubAuthority(sid, i)); base 106 rlz/win/lib/machine_id_win.cc bool GetRawMachineId(base::string16* sid_string, int* volume_id) { base 39 rlz/win/lib/process_info.cc base::win::ScopedHandle scoped_process_token(token); base 93 rlz/win/lib/process_info.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 100 rlz/win/lib/process_info.cc base::win::ScopedHandle scoped_process_token(process_token); base 168 rlz/win/lib/process_info.cc } else if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 170 rlz/win/lib/process_info.cc base::IntegrityLevel level; base 173 rlz/win/lib/process_info.cc base::GetProcessIntegrityLevel(base::GetCurrentProcessHandle(), &level)) base 19 rlz/win/lib/registry_util.cc bool RegKeyReadValue(base::win::RegKey& key, const wchar_t* name, base 34 rlz/win/lib/registry_util.cc strncpy(value, base::WideToUTF8(value_string).c_str(), *value_size); base 39 rlz/win/lib/registry_util.cc bool RegKeyWriteValue(base::win::RegKey& key, const wchar_t* name, base 41 rlz/win/lib/registry_util.cc std::wstring value_string(base::ASCIIToWide(value)); base 51 rlz/win/lib/registry_util.cc base::win::RegKey key; base 61 rlz/win/lib/registry_util.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) return true; base 62 rlz/win/lib/registry_util.cc base::ProcessHandle process_handle = base::GetCurrentProcessHandle(); base 63 rlz/win/lib/registry_util.cc base::IntegrityLevel level = base::INTEGRITY_UNKNOWN; base 65 rlz/win/lib/registry_util.cc if (!base::GetProcessIntegrityLevel(process_handle, &level)) { base 69 rlz/win/lib/registry_util.cc if (level <= base::LOW_INTEGRITY) { base 8 rlz/win/lib/registry_util.h namespace base { base 16 rlz/win/lib/registry_util.h bool RegKeyReadValue(base::win::RegKey& key, base 21 rlz/win/lib/registry_util.h bool RegKeyWriteValue(base::win::RegKey& key, base 88 rlz/win/lib/rlz_lib_win.cc base::win::RegKey hklm_key; base 16 rlz/win/lib/rlz_value_store_registry.cc using base::ASCIIToWide; base 56 rlz/win/lib/rlz_value_store_registry.cc base::StringAppendF(str, "\\_%s", brand.c_str()); base 60 rlz/win/lib/rlz_value_store_registry.cc bool GetRegKey(const char* name, REGSAM access, base::win::RegKey* key) { base 62 rlz/win/lib/rlz_value_store_registry.cc base::StringAppendF(&key_location, "%s\\%s", kLibKeyName, name); base 77 rlz/win/lib/rlz_value_store_registry.cc bool GetPingTimesRegKey(REGSAM access, base::win::RegKey* key) { base 84 rlz/win/lib/rlz_value_store_registry.cc REGSAM access, base::win::RegKey* key) { base 86 rlz/win/lib/rlz_value_store_registry.cc base::StringAppendF(&key_location, "%s\\%s", kLibKeyName, base 95 rlz/win/lib/rlz_value_store_registry.cc base::StringAppendF(&key_location, "\\%s", product_name.c_str()); base 110 rlz/win/lib/rlz_value_store_registry.cc bool GetAccessPointRlzsRegKey(REGSAM access, base::win::RegKey* key) { base 119 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey reg_key; base 124 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey product_events( base 141 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key(root_key, key_name, KEY_READ); base 145 rlz/win/lib/rlz_value_store_registry.cc base::win::RegistryKeyIterator key_iter(root_key, key_name); base 149 rlz/win/lib/rlz_value_store_registry.cc base::win::RegistryValueIterator value_iter(root_key, key_name); base 155 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key(root_key, L"", KEY_WRITE); base 171 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key; base 179 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key; base 186 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key; base 211 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key; base 229 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key; base 248 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key; base 266 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey reg_key; base 279 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey events_key; base 305 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key; base 325 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key; base 340 rlz/win/lib/rlz_value_store_registry.cc base::win::RegKey key; base 361 rlz/win/lib/rlz_value_store_registry.cc base::StringAppendF(&subkey_name, "%s\\%s", kLibKeyName, subkeys[i]); base 688 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(broker_process_->Init(base::Bind(&NoOpCallback))); base 167 sandbox/linux/services/broker_process.cc const base::Callback<bool(void)>& broker_process_init_callback) { base 179 sandbox/linux/services/broker_process.cc DCHECK_EQ(1, base::GetNumberOfThreads(base::GetCurrentProcessHandle())); base 49 sandbox/linux/services/broker_process.h bool Init(const base::Callback<bool(void)>& broker_process_init_callback); base 74 sandbox/linux/services/broker_process_unittest.cc ASSERT_TRUE(open_broker->Init(base::Bind(&NoOpCallback))); base 85 sandbox/linux/services/broker_process_unittest.cc ASSERT_TRUE(open_broker.Init(base::Bind(&NoOpCallback))); base 116 sandbox/linux/services/broker_process_unittest.cc ASSERT_TRUE(open_broker.Init(base::Bind(&NoOpCallback))); base 267 sandbox/linux/services/broker_process_unittest.cc ASSERT_TRUE(open_broker->Init(base::Bind(&NoOpCallback))); base 271 sandbox/linux/services/broker_process_unittest.cc base::ScopedFD fd_closer(fd); base 283 sandbox/linux/services/broker_process_unittest.cc base::ScopedFD cpuinfo_fd_closer(cpuinfo_fd); base 292 sandbox/linux/services/broker_process_unittest.cc base::ScopedFD cpuinfo_fd2_closer(cpuinfo_fd2); base 332 sandbox/linux/services/broker_process_unittest.cc ASSERT_TRUE(open_broker.Init(base::Bind(&NoOpCallback))); base 369 sandbox/linux/services/broker_process_unittest.cc SANDBOX_ASSERT(open_broker.Init(base::Bind(&NoOpCallback))); base 396 sandbox/linux/services/broker_process_unittest.cc ASSERT_TRUE(open_broker.Init(base::Bind(&NoOpCallback))); base 72 sandbox/linux/services/credentials.cc COMPILE_ASSERT((base::is_same<uid_t, gid_t>::value), UidAndGidAreSameType); base 110 sandbox/linux/services/credentials.cc void ChrootToThreadFdInfo(base::PlatformThreadId tid, bool* result) { base 114 sandbox/linux/services/credentials.cc COMPILE_ASSERT((base::is_same<base::PlatformThreadId, int>::value), base 117 sandbox/linux/services/credentials.cc base::IntToString(tid) + "/fdinfo/"; base 146 sandbox/linux/services/credentials.cc base::Thread chrooter("sandbox_chrooter"); base 150 sandbox/linux/services/credentials.cc base::Bind(&ChrootToThreadFdInfo, chrooter.thread_id(), &is_chrooted)); base 210 sandbox/linux/services/credentials.cc CHECK(base::StringToInt(e.d_name, &fd_num)); base 67 sandbox/linux/services/credentials_unittest.cc base::ScopedFD dev_fd_closer(dev_fd); base 77 sandbox/linux/services/credentials_unittest.cc base::ScopedFD proc_fd_closer(proc_fd); base 89 sandbox/linux/services/credentials_unittest.cc base::ScopedFD dev_fd_closer(dev_fd); base 26 sandbox/linux/services/init_process_reaper.cc bool CreateInitProcessReaper(base::Closure* post_fork_parent_callback) { base 21 sandbox/linux/services/init_process_reaper.h base::Closure* post_fork_parent_callback); base 37 sandbox/linux/services/libc_urandom_override.cc base::GetUrandomFD(); base 130 sandbox/linux/services/libc_urandom_override.cc int fd = HANDLE_EINTR(dup(base::GetUrandomFD())); base 146 sandbox/linux/services/libc_urandom_override.cc int fd = HANDLE_EINTR(dup(base::GetUrandomFD())); base 172 sandbox/linux/services/libc_urandom_override.cc int result = __fxstat(version, base::GetUrandomFD(), buf); base 189 sandbox/linux/services/libc_urandom_override.cc int result = __fxstat64(version, base::GetUrandomFD(), buf); base 207 sandbox/linux/services/libc_urandom_override.cc int result = fstat(base::GetUrandomFD(), buf); base 223 sandbox/linux/services/libc_urandom_override.cc int result = fstat64(base::GetUrandomFD(), buf); base 36 sandbox/linux/services/scoped_process.cc ScopedProcess::ScopedProcess(const base::Closure& child_callback) base 27 sandbox/linux/services/scoped_process.h explicit ScopedProcess(const base::Closure& child_callback); base 42 sandbox/linux/services/scoped_process.h base::ProcessId GetPid() { return child_process_id_; } base 47 sandbox/linux/services/scoped_process.h base::ProcessId child_process_id_; base 48 sandbox/linux/services/scoped_process.h base::ProcessId process_id_; base 42 sandbox/linux/services/scoped_process_unittest.cc ScopedProcess process(base::Bind(&ExitWithCode, kCustomExitCode)); base 58 sandbox/linux/services/scoped_process_unittest.cc ScopedProcess process(base::Bind(&RaiseAndExit, SIGABRT)); base 66 sandbox/linux/services/scoped_process_unittest.cc ScopedProcess process(base::Bind(&DoNothing)); base 77 sandbox/linux/services/scoped_process_unittest.cc base::ScopedFD read_end_closer(pipe_fds[0]); base 78 sandbox/linux/services/scoped_process_unittest.cc base::ScopedFD write_end_closer(pipe_fds[1]); base 80 sandbox/linux/services/scoped_process_unittest.cc { ScopedProcess process(base::Bind(&DoExit)); } base 94 sandbox/linux/services/scoped_process_unittest.cc ScopedProcess process1(base::Bind(&DoNothing)); base 97 sandbox/linux/services/scoped_process_unittest.cc ScopedProcess process2(base::Bind(&DoExit)); base 105 sandbox/linux/services/scoped_process_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(time_to_sleep)); base 112 sandbox/linux/services/scoped_process_unittest.cc base::ScopedFD read_end_closer(pipe_fds[0]); base 113 sandbox/linux/services/scoped_process_unittest.cc base::ScopedFD write_end_closer(pipe_fds[1]); base 117 sandbox/linux/services/scoped_process_unittest.cc base::Bind(&SleepInMsAndWriteOneByte, 100, pipe_fds[1])); base 57 sandbox/linux/services/thread_helpers.cc base::Thread* thread) { base 60 sandbox/linux/services/thread_helpers.cc const base::PlatformThreadId thread_id = thread->thread_id(); base 61 sandbox/linux/services/thread_helpers.cc const std::string thread_id_dir_str = base::IntToString(thread_id) + "/"; base 11 sandbox/linux/services/thread_helpers.h namespace base { class Thread; } base 28 sandbox/linux/services/thread_helpers.h base::Thread* thread); base 24 sandbox/linux/services/thread_helpers_unittests.cc using base::PlatformThread; base 70 sandbox/linux/services/thread_helpers_unittests.cc base::Thread thread("sandbox_tests"); base 84 sandbox/linux/services/thread_helpers_unittests.cc base::Thread thread("sandbox_tests"); base 96 sandbox/linux/services/thread_helpers_unittests.cc base::Thread thread("sandbox_tests"); base 105 sandbox/linux/services/thread_helpers_unittests.cc ASSERT_EQ(1, base::GetNumberOfThreads(base::GetCurrentProcessHandle())); base 82 sandbox/linux/services/yama.cc base::ScopedFD yama_scope(HANDLE_EINTR(open(kPtraceScopePath, O_RDONLY))); base 50 sandbox/linux/services/yama_unittests.cc ScopedProcess process(base::Bind(&ExitZeroIfCanPtrace, pid)); base 115 sandbox/linux/services/yama_unittests.cc ScopedProcess process1(base::Bind(&SetYamaRestrictions, true)); base 128 sandbox/linux/services/yama_unittests.cc ScopedProcess process2(base::Bind(&SetYamaRestrictions, false)); base 141 sandbox/linux/services/yama_unittests.cc ScopedProcess process1(base::Bind(&DoNothing)); base 24 sandbox/linux/suid/client/setuid_sandbox_client.cc void SetSandboxAPIEnvironmentVariable(base::Environment* env) { base 26 sandbox/linux/suid/client/setuid_sandbox_client.cc base::IntToString(sandbox::kSUIDSandboxApiNumber)); base 46 sandbox/linux/suid/client/setuid_sandbox_client.cc void SaveSUIDUnsafeEnvironmentVariables(base::Environment* env) { base 62 sandbox/linux/suid/client/setuid_sandbox_client.cc int GetHelperApi(base::Environment* env) { base 66 sandbox/linux/suid/client/setuid_sandbox_client.cc !base::StringToInt(api_string, &api_number)) { base 75 sandbox/linux/suid/client/setuid_sandbox_client.cc int EnvToInt(base::Environment* env, const char* var_name) { base 79 sandbox/linux/suid/client/setuid_sandbox_client.cc !base::StringToInt(var_string, &var_value)) { base 85 sandbox/linux/suid/client/setuid_sandbox_client.cc pid_t GetHelperPID(base::Environment* env) { base 90 sandbox/linux/suid/client/setuid_sandbox_client.cc int GetIPCDescriptor(base::Environment* env) { base 99 sandbox/linux/suid/client/setuid_sandbox_client.cc base::Environment* environment(base::Environment::Create()); base 155 sandbox/linux/suid/client/setuid_sandbox_client.cc base::Closure* post_fork_parent_callback) { base 12 sandbox/linux/suid/client/setuid_sandbox_client.h namespace base { class Environment; } base 39 sandbox/linux/suid/client/setuid_sandbox_client.h bool CreateInitProcessReaper(base::Closure* post_fork_parent_callback); base 58 sandbox/linux/suid/client/setuid_sandbox_client.h base::Environment* env_; base 18 sandbox/linux/suid/client/setuid_sandbox_client_unittest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 43 sandbox/linux/suid/client/setuid_sandbox_client_unittest.cc EXPECT_TRUE(base::StringToInt(api_request, &api_request_num)); base 64 sandbox/linux/suid/client/setuid_sandbox_client_unittest.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 73 sandbox/linux/suid/client/setuid_sandbox_client_unittest.cc base::IntToString(kSUIDSandboxApiNumber))); base 86 sandbox/linux/suid/client/setuid_sandbox_client_unittest.cc base::IntToString(kSUIDSandboxApiNumber + 1))); base 27 sandbox/linux/tests/main.cc base::AtExitManager exit_manager; base 177 sandbox/win/sandbox_poc/main_ui_window.cc base::string16 dll_path = base::string16(current_dir) + base 178 sandbox/win/sandbox_poc/main_ui_window.cc base::string16(kDefaultDll_); base 207 sandbox/win/sandbox_poc/main_ui_window.cc base::string16 dll_path = host->OnShowBrowseForDllDlg(dialog); base 216 sandbox/win/sandbox_poc/main_ui_window.cc base::string16 log_path = host->OnShowBrowseForLogFileDlg(dialog); base 357 sandbox/win/sandbox_poc/main_ui_window.cc log_file_ = base::string16(L"\"") + log_file + base::string16(L"\""); base 579 sandbox/win/sandbox_poc/main_ui_window.cc base::string16 MainUIWindow::OnShowBrowseForDllDlg(HWND owner) { base 599 sandbox/win/sandbox_poc/main_ui_window.cc base::string16 MainUIWindow::OnShowBrowseForLogFileDlg(HWND owner) { base 128 sandbox/win/sandbox_poc/main_ui_window.h base::string16 OnShowBrowseForDllDlg(HWND owner); base 132 sandbox/win/sandbox_poc/main_ui_window.h base::string16 OnShowBrowseForLogFileDlg(HWND owner); base 168 sandbox/win/sandbox_poc/main_ui_window.h base::string16 spawn_target_; base 175 sandbox/win/sandbox_poc/main_ui_window.h base::string16 dll_path_; base 178 sandbox/win/sandbox_poc/main_ui_window.h base::string16 entry_point_; base 181 sandbox/win/sandbox_poc/main_ui_window.h base::string16 log_file_; base 28 sandbox/win/sandbox_poc/pocdll/spyware.cc base::string16 logged; base 20 sandbox/win/sandbox_poc/sandbox.cc base::string16 * log_file) { base 38 sandbox/win/sandbox_poc/sandbox.cc base::string16 entry_point_wide = arg_list[1]; base 39 sandbox/win/sandbox_poc/sandbox.cc base::string16 dll_name_wide = arg_list[2]; base 129 sandbox/win/sandbox_poc/sandbox.cc base::string16 log_file; base 92 sandbox/win/src/Wow64.cc if (base::win::OSInfo::GetInstance()->wow64_status() != base 93 sandbox/win/src/Wow64.cc base::win::OSInfo::WOW64_ENABLED) base 145 sandbox/win/src/Wow64.cc base::string16 path(prog_name); base 147 sandbox/win/src/Wow64.cc if (base::string16::npos == name_pos) base 151 sandbox/win/src/Wow64.cc std::basic_stringstream<base::char16> command; base 156 sandbox/win/src/Wow64.cc scoped_ptr<wchar_t, base::FreeDeleter> base 165 sandbox/win/src/Wow64.cc base::win::ScopedProcessInformation process_info(temp_process_info); base 16 sandbox/win/src/acl.cc scoped_ptr<TOKEN_DEFAULT_DACL, base::FreeDeleter>* default_dacl) { base 63 sandbox/win/src/acl.cc scoped_ptr<TOKEN_DEFAULT_DACL, base::FreeDeleter> default_dacl; base 85 sandbox/win/src/acl.cc scoped_ptr<TOKEN_USER, base::FreeDeleter> token_user_ptr(token_user); base 19 sandbox/win/src/acl.h scoped_ptr<TOKEN_DEFAULT_DACL, base::FreeDeleter>* default_dacl); base 19 sandbox/win/src/app_container.cc PSID ConvertSid(const base::string16& sid) { base 52 sandbox/win/src/app_container.cc const base::string16& app_container_sid, base 53 sandbox/win/src/app_container.cc const std::vector<base::string16>& capabilities) { base 78 sandbox/win/src/app_container.cc base::win::StartupInformation* startup_information) const { base 97 sandbox/win/src/app_container.cc ResultCode CreateAppContainer(const base::string16& sid, base 98 sandbox/win/src/app_container.cc const base::string16& name) { base 125 sandbox/win/src/app_container.cc ResultCode DeleteAppContainer(const base::string16& sid) { base 150 sandbox/win/src/app_container.cc base::string16 LookupAppContainer(const base::string16& sid) { base 153 sandbox/win/src/app_container.cc return base::string16(); base 170 sandbox/win/src/app_container.cc return base::string16(); base 175 sandbox/win/src/app_container.cc return base::string16(); base 177 sandbox/win/src/app_container.cc base::string16 name(buffer); base 16 sandbox/win/src/app_container.h namespace base { base 32 sandbox/win/src/app_container.h ResultCode SetAppContainer(const base::string16& app_container_sid, base 33 sandbox/win/src/app_container.h const std::vector<base::string16>& capabilities); base 41 sandbox/win/src/app_container.h base::win::StartupInformation* startup_information) const; base 56 sandbox/win/src/app_container.h ResultCode CreateAppContainer(const base::string16& sid, base 57 sandbox/win/src/app_container.h const base::string16& name); base 61 sandbox/win/src/app_container.h ResultCode DeleteAppContainer(const base::string16& sid); base 65 sandbox/win/src/app_container.h base::string16 LookupAppContainer(const base::string16& sid); base 26 sandbox/win/src/app_container_test.cc HANDLE CreateTaggedEvent(const base::string16& name, base 27 sandbox/win/src/app_container_test.cc const base::string16& sid) { base 28 sandbox/win/src/app_container_test.cc base::win::ScopedHandle event(CreateEvent(NULL, FALSE, FALSE, name.c_str())); base 37 sandbox/win/src/app_container_test.cc base::win::ScopedHandle file; base 72 sandbox/win/src/app_container_test.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 78 sandbox/win/src/app_container_test.cc base::win::ScopedHandle handle(CreateTaggedEvent(L"test", capability)); base 96 sandbox/win/src/app_container_test.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 102 sandbox/win/src/app_container_test.cc base::win::ScopedHandle handle(CreateTaggedEvent(L"test", capability)); base 119 sandbox/win/src/app_container_test.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 127 sandbox/win/src/app_container_test.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 136 sandbox/win/src/app_container_test.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 13 sandbox/win/src/app_container_unittest.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 36 sandbox/win/src/app_container_unittest.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 40 sandbox/win/src/app_container_unittest.cc std::vector<base::string16> capabilities; base 66 sandbox/win/src/broker_services.cc base::win::ScopedHandle process; base 187 sandbox/win/src/broker_services.cc base::PlatformThread::SetName("BrokerEvent"); base 307 sandbox/win/src/broker_services.cc base::win::ScopedHandle initial_token(initial_token_temp); base 308 sandbox/win/src/broker_services.cc base::win::ScopedHandle lockdown_token(lockdown_token_temp); base 315 sandbox/win/src/broker_services.cc base::win::ScopedHandle job(job_temp); base 318 sandbox/win/src/broker_services.cc base::win::StartupInformation startup_info; base 319 sandbox/win/src/broker_services.cc base::string16 desktop = policy_base->GetAlternateDesktop(); base 326 sandbox/win/src/broker_services.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 393 sandbox/win/src/broker_services.cc base::win::ScopedProcessInformation process_info; base 486 sandbox/win/src/broker_services.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 489 sandbox/win/src/broker_services.cc base::string16 old_name = LookupAppContainer(sid); base 500 sandbox/win/src/broker_services.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 503 sandbox/win/src/broker_services.cc base::string16 name = LookupAppContainer(sid); base 240 sandbox/win/src/crosscall_server.cc bool CrossCallParamsEx::GetParameterStr(uint32 index, base::string16* string) { base 116 sandbox/win/src/crosscall_server.h bool GetParameterStr(uint32 index, base::string16* string); base 69 sandbox/win/src/eat_resolver.cc base::win::PEImage pe(module); base 39 sandbox/win/src/file_policy_test.cc base::win::ScopedHandle file1(CreateFile( base 41 sandbox/win/src/file_policy_test.cc base::win::ScopedHandle file2(CreateFile( base 48 sandbox/win/src/file_policy_test.cc base::win::ScopedHandle file1(CreateFile( base 50 sandbox/win/src/file_policy_test.cc base::win::ScopedHandle file2(CreateFile( base 65 sandbox/win/src/file_policy_test.cc base::string16 full_path = MakePathToSys(argv[0], false); base 97 sandbox/win/src/file_policy_test.cc base::string16 file(argv[0]); base 135 sandbox/win/src/file_policy_test.cc base::string16 file = MakePathToSys(argv[0], true); base 159 sandbox/win/src/file_policy_test.cc base::string16 sys_path = MakePathToSys(L"", false); base 215 sandbox/win/src/file_policy_test.cc base::string16 file = MakePathToSys(argv[0], true); base 268 sandbox/win/src/file_policy_test.cc base::string16 calc = MakePathToSys(L"calc.exe", false); base 269 sandbox/win/src/file_policy_test.cc base::string16 nt_path; base 536 sandbox/win/src/file_policy_test.cc base::string16 subfolder = temp_file_name; base 537 sandbox/win/src/file_policy_test.cc base::string16 temp_file_title = subfolder.substr(subfolder.rfind(L"\\") + 1); base 538 sandbox/win/src/file_policy_test.cc base::string16 temp_file = subfolder + L"\\file_" + temp_file_title; base 547 sandbox/win/src/file_policy_test.cc base::string16 temp_dir = temp_directory; base 548 sandbox/win/src/file_policy_test.cc base::string16 temp_file_in_temp = temp_dir + L"file_" + temp_file_title; base 556 sandbox/win/src/file_policy_test.cc base::string16 temp_dir_wildcard = temp_dir + L"*"; base 561 sandbox/win/src/file_policy_test.cc base::string16 command_write; base 576 sandbox/win/src/file_policy_test.cc base::string16 temp_dir_nt; base 86 sandbox/win/src/filesystem_dispatcher.cc IPCInfo* ipc, base::string16* name, DWORD attributes, DWORD desired_access, base 129 sandbox/win/src/filesystem_dispatcher.cc IPCInfo* ipc, base::string16* name, DWORD attributes, DWORD desired_access, base 169 sandbox/win/src/filesystem_dispatcher.cc IPCInfo* ipc, base::string16* name, DWORD attributes, CountedBuffer* info) { base 207 sandbox/win/src/filesystem_dispatcher.cc IPCInfo* ipc, base::string16* name, DWORD attributes, CountedBuffer* info) { base 260 sandbox/win/src/filesystem_dispatcher.cc base::string16 name; base 26 sandbox/win/src/filesystem_dispatcher.h bool NtCreateFile(IPCInfo* ipc, base::string16* name, DWORD attributes, base 32 sandbox/win/src/filesystem_dispatcher.h bool NtOpenFile(IPCInfo* ipc, base::string16* name, DWORD attributes, base 38 sandbox/win/src/filesystem_dispatcher.h bool NtQueryAttributesFile(IPCInfo* ipc, base::string16* name, base 44 sandbox/win/src/filesystem_dispatcher.h bool NtQueryFullAttributesFile(IPCInfo* ipc, base::string16* name, base 64 sandbox/win/src/filesystem_policy.cc base::string16 mod_name(name); base 232 sandbox/win/src/filesystem_policy.cc const base::string16 &file, base 263 sandbox/win/src/filesystem_policy.cc const base::string16 &file, base 295 sandbox/win/src/filesystem_policy.cc const base::string16 &file, base 320 sandbox/win/src/filesystem_policy.cc const base::string16 &file, base 365 sandbox/win/src/filesystem_policy.cc base::win::ScopedHandle handle(local_handle); base 375 sandbox/win/src/filesystem_policy.cc bool PreProcessName(const base::string16& path, base::string16* new_path) { base 43 sandbox/win/src/filesystem_policy.h const base::string16 &file, base 61 sandbox/win/src/filesystem_policy.h const base::string16 &file, base 74 sandbox/win/src/filesystem_policy.h const base::string16 &file, base 84 sandbox/win/src/filesystem_policy.h const base::string16 &file, base 104 sandbox/win/src/filesystem_policy.h bool PreProcessName(const base::string16& path, base::string16* new_path); base 37 sandbox/win/src/handle_closer.cc ResultCode HandleCloser::AddHandle(const base::char16* handle_type, base 38 sandbox/win/src/handle_closer.cc const base::char16* handle_name) { base 64 sandbox/win/src/handle_closer.cc (i->first.size() + 1) * sizeof(base::char16); base 67 sandbox/win/src/handle_closer.cc bytes_entry += ((*j).size() + 1) * sizeof(base::char16); base 122 sandbox/win/src/handle_closer.cc base::char16* output = reinterpret_cast<base::char16*>( base 124 sandbox/win/src/handle_closer.cc base::char16* end = reinterpret_cast<base::char16*>( base 160 sandbox/win/src/handle_closer.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA && base 178 sandbox/win/src/handle_closer.cc bool GetHandleName(HANDLE handle, base::string16* handle_name) { base 184 sandbox/win/src/handle_closer.cc scoped_ptr<UNICODE_STRING, base::FreeDeleter> name; base 22 sandbox/win/src/handle_closer.h typedef std::map<const base::string16, std::set<const base::string16> > base 30 sandbox/win/src/handle_closer.h base::char16 handle_type[1]; base 50 sandbox/win/src/handle_closer.h ResultCode AddHandle(const base::char16* handle_type, base 51 sandbox/win/src/handle_closer.h const base::char16* handle_name); base 73 sandbox/win/src/handle_closer.h bool GetHandleName(HANDLE handle, base::string16* handle_name); base 52 sandbox/win/src/handle_closer_agent.cc base::char16* input = entry->handle_type; base 54 sandbox/win/src/handle_closer_agent.cc input = reinterpret_cast<base::char16*>(reinterpret_cast<char*>(entry) base 68 sandbox/win/src/handle_closer_agent.cc DCHECK(reinterpret_cast<base::char16*>(entry) >= input); base 69 sandbox/win/src/handle_closer_agent.cc DCHECK(reinterpret_cast<base::char16*>(entry) - input < base 70 sandbox/win/src/handle_closer_agent.cc sizeof(size_t) / sizeof(base::char16)); base 91 sandbox/win/src/handle_closer_agent.cc base::string16 handle_name; base 22 sandbox/win/src/handle_closer_test.cc base::string16 marker_path = path_buffer; base 27 sandbox/win/src/handle_closer_test.cc base::win::ScopedHandle module(::CreateFile(path_buffer, base 33 sandbox/win/src/handle_closer_test.cc marker_path += base::StringPrintf(L"%08x%08x%08x", base 79 sandbox/win/src/handle_closer_test.cc base::string16 handle_name; base 113 sandbox/win/src/handle_closer_test.cc base::string16 command = base::string16(L"CheckForFileHandles Y"); base 115 sandbox/win/src/handle_closer_test.cc base::string16 handle_name; base 116 sandbox/win/src/handle_closer_test.cc base::win::ScopedHandle marker(GetMarkerFile(kFileExtensions[i])); base 133 sandbox/win/src/handle_closer_test.cc base::string16 command = base::string16(L"CheckForFileHandles N"); base 135 sandbox/win/src/handle_closer_test.cc base::string16 handle_name; base 136 sandbox/win/src/handle_closer_test.cc base::win::ScopedHandle marker(GetMarkerFile(kFileExtensions[i])); base 61 sandbox/win/src/handle_dispatcher.cc base::win::ScopedHandle handle(handle_temp); base 43 sandbox/win/src/handle_inheritance_test.cc EXPECT_TRUE(base::ReadFileToString(base::FilePath(temp_file_name), &data)); base 45 sandbox/win/src/handle_inheritance_test.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 65 sandbox/win/src/handle_policy.cc base::win::ScopedHandle remote_target_process; base 32 sandbox/win/src/handle_policy_test.cc base::win::ScopedHandle test_event; base 57 sandbox/win/src/handle_policy_test.cc base::string16 cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d", base 79 sandbox/win/src/handle_policy_test.cc base::string16 cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d", base 95 sandbox/win/src/handle_policy_test.cc base::string16 cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d", base 25 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeProcess = L"Process"; base 26 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeThread = L"Thread"; base 27 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeFile = L"File"; base 28 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeDirectory = L"Directory"; base 29 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeKey = L"Key"; base 30 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeWindowStation = L"WindowStation"; base 31 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeDesktop = L"Desktop"; base 32 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeService = L"Service"; base 33 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeMutex = L"Mutex"; base 34 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeSemaphore = L"Semaphore"; base 35 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeEvent = L"Event"; base 36 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeTimer = L"Timer"; base 37 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeNamedPipe = L"NamedPipe"; base 38 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeJobObject = L"JobObject"; base 39 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeFileMap = L"FileMap"; base 40 sandbox/win/src/handle_table.cc const base::char16* HandleTable::kTypeAlpcPort = L"ALPC Port"; base 124 sandbox/win/src/handle_table.cc scoped_ptr<UNICODE_STRING, base::FreeDeleter> name; base 154 sandbox/win/src/handle_table.cc const base::string16& HandleTable::HandleEntry::Name() { base 159 sandbox/win/src/handle_table.cc const base::string16& HandleTable::HandleEntry::Type() { base 164 sandbox/win/src/handle_table.cc bool HandleTable::HandleEntry::IsType(const base::string16& type_string) { base 21 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeProcess; base 22 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeThread; base 23 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeFile; base 24 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeDirectory; base 25 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeKey; base 26 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeWindowStation; base 27 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeDesktop; base 28 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeService; base 29 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeMutex; base 30 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeSemaphore; base 31 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeEvent; base 32 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeTimer; base 33 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeNamedPipe; base 34 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeJobObject; base 35 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeFileMap; base 36 sandbox/win/src/handle_table.h static const base::char16* HandleTable::kTypeAlpcPort; base 57 sandbox/win/src/handle_table.h const base::string16& Name(); base 59 sandbox/win/src/handle_table.h const base::string16& Type(); base 61 sandbox/win/src/handle_table.h bool IsType(const base::string16& type_string); base 87 sandbox/win/src/handle_table.h base::string16 handle_name_; base 88 sandbox/win/src/handle_table.h base::string16 type_name_; base 48 sandbox/win/src/integrity_level_test.cc if (base::win::GetVersion() != base::win::VERSION_VISTA) base 64 sandbox/win/src/integrity_level_test.cc if (base::win::GetVersion() != base::win::VERSION_VISTA) base 80 sandbox/win/src/integrity_level_test.cc if (base::win::GetVersion() != base::win::VERSION_VISTA) base 145 sandbox/win/src/interception.cc std::set<base::string16> dlls; base 206 sandbox/win/src/interception.cc const base::string16 dll = it->dll; base 359 sandbox/win/src/interception.cc base::string16 ntdll(kNtdllName); base 451 sandbox/win/src/interception.cc base::win::PEImage ntdll_image(ntdll_base); base 463 sandbox/win/src/interception.cc if (base::win::GetVersion() <= base::win::VERSION_VISTA) { base 480 sandbox/win/src/interception.cc base::win::OSInfo* os_info = base::win::OSInfo::GetInstance(); base 481 sandbox/win/src/interception.cc if (os_info->wow64_status() == base::win::OSInfo::WOW64_ENABLED) { base 482 sandbox/win/src/interception.cc if (os_info->version() >= base::win::VERSION_WIN8) base 488 sandbox/win/src/interception.cc } else if (os_info->version() >= base::win::VERSION_WIN8) { base 497 sandbox/win/src/interception.cc const base::string16 ntdll(kNtdllName); base 139 sandbox/win/src/interception.h base::string16 dll; // Name of dll to intercept. base 19 sandbox/win/src/interception_agent.cc bool IsWithinRange(const void* base, size_t range, const void* target) { base 20 sandbox/win/src/interception_agent.cc const char* end = reinterpret_cast<const char*>(base) + range; base 120 sandbox/win/src/interception_agent.cc dlls_[i]->base = base_address; base 136 sandbox/win/src/interception_agent.cc if (dlls_[i] && dlls_[i]->base == base_address) { base 175 sandbox/win/src/interception_agent.cc NTSTATUS ret = resolver->Setup(thunks->base, base 64 sandbox/win/src/interception_internal.h void* base; base 24 sandbox/win/src/interceptors_64.cc HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, base 30 sandbox/win/src/interceptors_64.cc return TargetNtMapViewOfSection(orig_fn, section, process, base, zero_bits, base 35 sandbox/win/src/interceptors_64.cc NTSTATUS WINAPI TargetNtUnmapViewOfSection64(HANDLE process, PVOID base) { base 38 sandbox/win/src/interceptors_64.cc return TargetNtUnmapViewOfSection(orig_fn, process, base); base 19 sandbox/win/src/interceptors_64.h HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, base 27 sandbox/win/src/interceptors_64.h PVOID base); base 163 sandbox/win/src/ipc_unittest.cc base::string16 copied_text; base 207 sandbox/win/src/ipc_unittest.cc base::string16 copied_text_p0, copied_text_p2; base 57 sandbox/win/src/job.cc if (base::win::GetVersion() == base::win::VERSION_PRE_XP) base 171 sandbox/win/src/job_unittest.cc base::win::ScopedProcessInformation pi(temp_process_info); base 44 sandbox/win/src/named_pipe_dispatcher.cc IPCInfo* ipc, base::string16* name, DWORD open_mode, DWORD pipe_mode, base 50 sandbox/win/src/named_pipe_dispatcher.cc std::vector<base::string16> paths; base 51 sandbox/win/src/named_pipe_dispatcher.cc std::vector<base::string16> innerpaths; base 52 sandbox/win/src/named_pipe_dispatcher.cc base::SplitString(*name, '/', &paths); base 54 sandbox/win/src/named_pipe_dispatcher.cc for (std::vector<base::string16>::const_iterator iter = paths.begin(); base 56 sandbox/win/src/named_pipe_dispatcher.cc base::SplitString(*iter, '\\', &innerpaths); base 57 sandbox/win/src/named_pipe_dispatcher.cc for (std::vector<base::string16>::const_iterator iter2 = innerpaths.begin(); base 27 sandbox/win/src/named_pipe_dispatcher.h bool CreateNamedPipe(IPCInfo* ipc, base::string16* name, DWORD open_mode, base 63 sandbox/win/src/named_pipe_policy.cc const base::string16 &name, base 35 sandbox/win/src/named_pipe_policy.h const base::string16 &name, base 34 sandbox/win/src/named_pipe_policy_test.cc base::string16 handle_name; base 76 sandbox/win/src/named_pipe_policy_test.cc if (base::win::OSInfo::GetInstance()->version() >= base::win::VERSION_VISTA) { base 93 sandbox/win/src/named_pipe_policy_test.cc if (base::win::OSInfo::GetInstance()->version() >= base::win::VERSION_VISTA) { base 133 sandbox/win/src/named_pipe_policy_test.cc if (base::win::OSInfo::GetInstance()->version() >= base::win::VERSION_VISTA) { base 43 sandbox/win/src/policy_broker.cc base::win::PEImage ntdll_image(ntdll); base 102 sandbox/win/src/policy_broker.cc if (base::win::GetVersion() >= base::win::VERSION_XP) { base 154 sandbox/win/src/policy_low_level.cc int* skip_count, base::string16* fragment) { base 229 sandbox/win/src/policy_low_level.cc base::string16 fragment; // accumulates the non-wildcard part. base 167 sandbox/win/src/policy_low_level.h int* skip_count, base::string16* fragment); base 157 sandbox/win/src/policy_target_test.cc base::win::ScopedProcessInformation process_info(temp_process_info); base 163 sandbox/win/src/policy_target_test.cc if (base::win::GetVersion() >= base::win::VERSION_XP) { base 172 sandbox/win/src/policy_target_test.cc if (base::win::GetVersion() >= base::win::VERSION_XP) base 178 sandbox/win/src/policy_target_test.cc if (base::win::GetVersion() >= base::win::VERSION_XP) { base 189 sandbox/win/src/policy_target_test.cc if (base::win::GetVersion() < base::win::VERSION_XP) base 232 sandbox/win/src/policy_target_test.cc base::string16 arguments(L"\""); base 238 sandbox/win/src/policy_target_test.cc base::win::ScopedProcessInformation target; base 259 sandbox/win/src/policy_target_test.cc base::string16 desktop_name = policy->GetAlternateDesktop(); base 295 sandbox/win/src/policy_target_test.cc base::string16 arguments(L"\""); base 301 sandbox/win/src/policy_target_test.cc base::win::ScopedProcessInformation target; base 322 sandbox/win/src/policy_target_test.cc base::string16 desktop_name = policy->GetAlternateDesktop(); base 326 sandbox/win/src/policy_target_test.cc EXPECT_NE(desktop_name.find_first_of(L'\\'), base::string16::npos); base 39 sandbox/win/src/process_mitigations.cc base::win::Version version = base::win::GetVersion(); base 42 sandbox/win/src/process_mitigations.cc if (version >= base::win::VERSION_VISTA && base 58 sandbox/win/src/process_mitigations.cc if (version >= base::win::VERSION_VISTA && base 71 sandbox/win/src/process_mitigations.cc const bool return_on_fail = version >= base::win::VERSION_VISTA; base 111 sandbox/win/src/process_mitigations.cc if (version < base::win::VERSION_WIN8) base 177 sandbox/win/src/process_mitigations.cc base::win::Version version = base::win::GetVersion(); base 184 sandbox/win/src/process_mitigations.cc if (version < base::win::VERSION_WIN8) base 193 sandbox/win/src/process_mitigations.cc if (version <= base::win::VERSION_VISTA) base 209 sandbox/win/src/process_mitigations.cc if (version < base::win::VERSION_WIN8) base 257 sandbox/win/src/process_mitigations.cc base::win::Version version = base::win::GetVersion(); base 260 sandbox/win/src/process_mitigations.cc if (version < base::win::VERSION_VISTA) { base 266 sandbox/win/src/process_mitigations.cc if (version < base::win::VERSION_WIN7) { base 273 sandbox/win/src/process_mitigations.cc if (version < base::win::VERSION_WIN8) { base 117 sandbox/win/src/process_mitigations_test.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) base 191 sandbox/win/src/process_mitigations_test.cc if (!IsXPSP2OrLater() || base::win::GetVersion() > base::win::VERSION_WIN7) base 24 sandbox/win/src/process_policy_test.cc base::string16 MakeFullPathToSystem32(const wchar_t* name) { base 27 sandbox/win/src/process_policy_test.cc base::string16 full_path(windows_path); base 38 sandbox/win/src/process_policy_test.cc sandbox::SboxTestResult CreateProcessHelper(const base::string16& exe, base 39 sandbox/win/src/process_policy_test.cc const base::string16& command) { base 40 sandbox/win/src/process_policy_test.cc base::win::ScopedProcessInformation pi; base 77 sandbox/win/src/process_policy_test.cc narrow_cmd_line = base::SysWideToMultiByte(cmd_line, CP_UTF8); base 79 sandbox/win/src/process_policy_test.cc exe_name ? base::SysWideToMultiByte(exe_name, CP_UTF8).c_str() : NULL, base 112 sandbox/win/src/process_policy_test.cc base::string16 path = MakeFullPathToSystem32(argv[0]); base 115 sandbox/win/src/process_policy_test.cc return CreateProcessHelper(path, base::string16()); base 125 sandbox/win/src/process_policy_test.cc base::string16 path = MakeFullPathToSystem32(argv[0]); base 128 sandbox/win/src/process_policy_test.cc base::string16 cmd_line = L"\""; base 131 sandbox/win/src/process_policy_test.cc return CreateProcessHelper(base::string16(), cmd_line); base 143 sandbox/win/src/process_policy_test.cc return CreateProcessHelper(base::string16(), argv[0]); base 155 sandbox/win/src/process_policy_test.cc base::string16 system32 = MakeFullPathToSystem32(L""); base 167 sandbox/win/src/process_policy_test.cc result4 = CreateProcessHelper(argv[0], base::string16()); base 188 sandbox/win/src/process_policy_test.cc base::string16 path = MakeFullPathToSystem32(argv[0]); base 191 sandbox/win/src/process_policy_test.cc base::string16 cmd_line = L"\""; base 194 sandbox/win/src/process_policy_test.cc return CreateProcessHelper(base::string16(), cmd_line); base 206 sandbox/win/src/process_policy_test.cc base::string16 cmd_line = argv[0]; base 208 sandbox/win/src/process_policy_test.cc return CreateProcessHelper(base::string16(), cmd_line); base 219 sandbox/win/src/process_policy_test.cc base::string16 path = MakeFullPathToSystem32(argv[0]); base 228 sandbox/win/src/process_policy_test.cc base::win::ScopedProcessInformation pi(temp_process_info); base 235 sandbox/win/src/process_policy_test.cc base::win::ScopedHandle token_handle(token); base 287 sandbox/win/src/process_policy_test.cc base::string16 exe_path = MakeFullPathToSystem32(L"findstr.exe"); base 288 sandbox/win/src/process_policy_test.cc base::string16 system32 = MakeFullPathToSystem32(L""); base 325 sandbox/win/src/process_policy_test.cc if (base::win::OSInfo::GetInstance()->version() >= base::win::VERSION_VISTA) { base 342 sandbox/win/src/process_policy_test.cc base::string16 exe_path = MakeFullPathToSystem32(L"findstr.exe"); base 354 sandbox/win/src/process_policy_test.cc base::string16 exe_path = MakeFullPathToSystem32(L"findstr.exe"); base 366 sandbox/win/src/process_policy_test.cc base::string16 exe_path = MakeFullPathToSystem32(L"findstr.exe"); base 378 sandbox/win/src/process_policy_test.cc base::string16 exe_path = MakeFullPathToSystem32(L"findstr.exe"); base 32 sandbox/win/src/process_thread_dispatcher.cc base::string16 GetPathFromCmdLine(const base::string16 &cmd_line) { base 33 sandbox/win/src/process_thread_dispatcher.cc base::string16 exe_name; base 37 sandbox/win/src/process_thread_dispatcher.cc base::string16::size_type pos = cmd_line.find(L'\"', 1); base 38 sandbox/win/src/process_thread_dispatcher.cc if (base::string16::npos == pos) base 44 sandbox/win/src/process_thread_dispatcher.cc base::string16::size_type pos = cmd_line.find(L' '); base 45 sandbox/win/src/process_thread_dispatcher.cc if (base::string16::npos == pos) { base 58 sandbox/win/src/process_thread_dispatcher.cc bool IsPathRelative(const base::string16 &path) { base 67 sandbox/win/src/process_thread_dispatcher.cc bool ConvertToAbsolutePath(const base::string16& child_current_directory, base 68 sandbox/win/src/process_thread_dispatcher.cc bool use_env_path, base::string16 *path) { base 204 sandbox/win/src/process_thread_dispatcher.cc bool ThreadProcessDispatcher::CreateProcessW(IPCInfo* ipc, base::string16* name, base 205 sandbox/win/src/process_thread_dispatcher.cc base::string16* cmd_line, base 206 sandbox/win/src/process_thread_dispatcher.cc base::string16* cur_dir, base 212 sandbox/win/src/process_thread_dispatcher.cc base::string16 exe_name; base 40 sandbox/win/src/process_thread_dispatcher.h base::string16* name, base 41 sandbox/win/src/process_thread_dispatcher.h base::string16* cmd_line, base 42 sandbox/win/src/process_thread_dispatcher.h base::string16* cur_dir, base 220 sandbox/win/src/process_thread_policy.cc const base::string16 &app_name, base 221 sandbox/win/src/process_thread_policy.cc const base::string16 &command_line, base 230 sandbox/win/src/process_thread_policy.cc scoped_ptr<wchar_t, base::FreeDeleter> base 75 sandbox/win/src/process_thread_policy.h const base::string16 &app_name, base 76 sandbox/win/src/process_thread_policy.h const base::string16 &command_line, base 23 sandbox/win/src/registry_dispatcher.cc bool GetCompletePath(HANDLE root, const base::string16& name, base 24 sandbox/win/src/registry_dispatcher.cc base::string16* complete_name) { base 66 sandbox/win/src/registry_dispatcher.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7) base 75 sandbox/win/src/registry_dispatcher.cc IPCInfo* ipc, base::string16* name, DWORD attributes, HANDLE root, base 77 sandbox/win/src/registry_dispatcher.cc base::win::ScopedHandle root_handle; base 78 sandbox/win/src/registry_dispatcher.cc base::string16 real_path = *name; base 120 sandbox/win/src/registry_dispatcher.cc bool RegistryDispatcher::NtOpenKey(IPCInfo* ipc, base::string16* name, base 123 sandbox/win/src/registry_dispatcher.cc base::win::ScopedHandle root_handle; base 124 sandbox/win/src/registry_dispatcher.cc base::string16 real_path = *name; base 26 sandbox/win/src/registry_dispatcher.h bool NtCreateKey(IPCInfo* ipc, base::string16* name, DWORD attributes, base 31 sandbox/win/src/registry_dispatcher.h bool NtOpenKey(IPCInfo* ipc, base::string16* name, DWORD attributes, base 120 sandbox/win/src/registry_policy.cc base::string16 resovled_name(name); base 169 sandbox/win/src/registry_policy.cc const base::string16 &key, base 203 sandbox/win/src/registry_policy.cc const base::string16 &key, base 34 sandbox/win/src/registry_policy.h const base::string16 &key, base 48 sandbox/win/src/registry_policy.h const base::string16 &key, base 50 sandbox/win/src/resolver.cc base::win::PEImage pe(interceptor_module); base 280 sandbox/win/src/restricted_token.cc const std::vector<base::string16> *exceptions) { base 127 sandbox/win/src/restricted_token.h const std::vector<base::string16> *exceptions); base 356 sandbox/win/src/restricted_token_unittest.cc std::vector<base::string16> exceptions; base 32 sandbox/win/src/restricted_token_utils.cc std::vector<base::string16> privilege_exceptions; base 89 sandbox/win/src/restricted_token_utils.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) base 170 sandbox/win/src/restricted_token_utils.cc base::win::ScopedHandle primary_token(primary_token_handle); base 182 sandbox/win/src/restricted_token_utils.cc base::win::ScopedHandle impersonation_token(impersonation_token_handle); base 189 sandbox/win/src/restricted_token_utils.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) { base 208 sandbox/win/src/restricted_token_utils.cc base::win::ScopedProcessInformation process_info(temp_process_info); base 240 sandbox/win/src/restricted_token_utils.cc base::string16 sddl = L"S:("; // SDDL for a SACL. base 299 sandbox/win/src/restricted_token_utils.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 325 sandbox/win/src/restricted_token_utils.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 340 sandbox/win/src/restricted_token_utils.cc base::win::ScopedHandle token(token_handle); base 26 sandbox/win/src/sandbox_nt_util.cc void* base = reinterpret_cast<char*>(source) + kOneGB; base 34 sandbox/win/src/sandbox_nt_util.cc ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, zero_bits, base 37 sandbox/win/src/sandbox_nt_util.cc if (base < source || base 38 sandbox/win/src/sandbox_nt_util.cc base >= reinterpret_cast<char*>(source) + 4 * kOneGB) { base 40 sandbox/win/src/sandbox_nt_util.cc VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size, base 49 sandbox/win/src/sandbox_nt_util.cc base = reinterpret_cast<char*>(source); base 52 sandbox/win/src/sandbox_nt_util.cc base = NULL; base 57 sandbox/win/src/sandbox_nt_util.cc base = reinterpret_cast<char*>(base) + 100 * 0x100000; base 63 sandbox/win/src/sandbox_nt_util.cc ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, zero_bits, base 67 sandbox/win/src/sandbox_nt_util.cc VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size, base 69 sandbox/win/src/sandbox_nt_util.cc base = NULL; base 72 sandbox/win/src/sandbox_nt_util.cc return base; base 84 sandbox/win/src/sandbox_nt_util.cc void* base; base 86 sandbox/win/src/sandbox_nt_util.cc base = NULL; base 88 sandbox/win/src/sandbox_nt_util.cc ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size, base 92 sandbox/win/src/sandbox_nt_util.cc } while (base < kMinAddress); base 95 sandbox/win/src/sandbox_nt_util.cc ret = g_nt.AllocateVirtualMemory(NtCurrentProcess, &base, 0, &actual_size, base 99 sandbox/win/src/sandbox_nt_util.cc return base; base 302 sandbox/win/src/sandbox_nt_util.cc bool IsValidImageSection(HANDLE section, PVOID *base, PLARGE_INTEGER offset, base 304 sandbox/win/src/sandbox_nt_util.cc if (!section || !base || !view_size || offset) base 368 sandbox/win/src/sandbox_nt_util.cc base::win::PEImage pe(module); base 570 sandbox/win/src/sandbox_nt_util.cc void* base = memory; base 572 sandbox/win/src/sandbox_nt_util.cc VERIFY_SUCCESS(g_nt.FreeVirtualMemory(NtCurrentProcess, &base, &size, base 147 sandbox/win/src/sandbox_nt_util.h bool IsValidImageSection(HANDLE section, PVOID *base, PLARGE_INTEGER offset, base 133 sandbox/win/src/sandbox_policy.h virtual base::string16 GetAlternateDesktop() const = 0; base 176 sandbox/win/src/sandbox_policy_base.cc base::string16 PolicyBase::GetAlternateDesktop() const { base 179 sandbox/win/src/sandbox_policy_base.cc return base::string16(); base 186 sandbox/win/src/sandbox_policy_base.cc return base::string16(); base 190 sandbox/win/src/sandbox_policy_base.cc return base::string16(); base 275 sandbox/win/src/sandbox_policy_base.cc if (base::win::OSInfo::GetInstance()->version() < base::win::VERSION_WIN8) base 417 sandbox/win/src/sandbox_policy_base.cc ResultCode PolicyBase::AddKernelObjectToClose(const base::char16* handle_type, base 418 sandbox/win/src/sandbox_policy_base.cc const base::char16* handle_name) { base 652 sandbox/win/src/sandbox_policy_base.cc std::vector<base::string16>::iterator it = blacklisted_dlls_.begin(); base 47 sandbox/win/src/sandbox_policy_base.h virtual base::string16 GetAlternateDesktop() const OVERRIDE; base 67 sandbox/win/src/sandbox_policy_base.h const base::char16* handle_type, base 68 sandbox/win/src/sandbox_policy_base.h const base::char16* handle_name) OVERRIDE; base 145 sandbox/win/src/sandbox_policy_base.h std::vector<base::string16> blacklisted_dlls_; base 150 sandbox/win/src/sandbox_policy_base.h std::vector<base::string16> capabilities_; base 16 sandbox/win/src/sandbox_utils.cc base::win::Version version = base::win::GetVersion(); base 17 sandbox/win/src/sandbox_utils.cc return (version > base::win::VERSION_XP) || base 18 sandbox/win/src/sandbox_utils.cc ((version == base::win::VERSION_XP) && base 19 sandbox/win/src/sandbox_utils.cc (base::win::OSInfo::GetInstance()->service_pack().major >= 2)); base 22 sandbox/win/src/sandbox_utils.cc void InitObjectAttribs(const base::string16& name, base 20 sandbox/win/src/sandbox_utils.h void InitObjectAttribs(const base::string16& name, base 31 sandbox/win/src/service_resolver.cc base::win::PEImage module_image(module); base 137 sandbox/win/src/service_resolver_unittest.cc base::win::OSInfo* os_info = base::win::OSInfo::GetInstance(); base 138 sandbox/win/src/service_resolver_unittest.cc if (os_info->wow64_status() == base::win::OSInfo::WOW64_ENABLED) { base 139 sandbox/win/src/service_resolver_unittest.cc if (os_info->version() >= base::win::VERSION_WIN8) base 147 sandbox/win/src/service_resolver_unittest.cc if (os_info->version() >= base::win::VERSION_WIN8) base 144 sandbox/win/src/sharedmem_ipc_server.cc delete reinterpret_cast<base::string16*>(args[i]); base 172 sandbox/win/src/sharedmem_ipc_server.cc scoped_ptr<base::string16> data(new base::string16); base 191 sandbox/win/src/sidestep_resolver.cc bool SmartSidestepResolverThunk::IsInternalCall(const void* base, base 193 sandbox/win/src/sidestep_resolver.cc DCHECK_NT(base); base 196 sandbox/win/src/sidestep_resolver.cc base::win::PEImage pe(base); base 65 sandbox/win/src/sidestep_resolver.h static bool IsInternalCall(const void* base, void* return_address); base 46 sandbox/win/src/sync_dispatcher.cc bool SyncDispatcher::CreateEvent(IPCInfo* ipc, base::string16* name, base 64 sandbox/win/src/sync_dispatcher.cc bool SyncDispatcher::OpenEvent(IPCInfo* ipc, base::string16* name, base 26 sandbox/win/src/sync_dispatcher.h bool CreateEvent(IPCInfo* ipc, base::string16* name, DWORD event_type, base 30 sandbox/win/src/sync_dispatcher.h bool OpenEvent(IPCInfo* ipc, base::string16* name, DWORD desired_access); base 24 sandbox/win/src/sync_policy.cc NTSTATUS ResolveSymbolicLink(const base::string16& directory_name, base 25 sandbox/win/src/sync_policy.cc const base::string16& name, base 26 sandbox/win/src/sync_policy.cc base::string16* target) { base 110 sandbox/win/src/sync_policy.cc base::string16 base_named_objects_path; base 113 sandbox/win/src/sync_policy.cc base::StringPrintf(L"%d", session_id), base 136 sandbox/win/src/sync_policy.cc base::string16 mod_name(name); base 181 sandbox/win/src/sync_policy.cc const base::string16 &event_name, base 219 sandbox/win/src/sync_policy.cc const base::string16 &event_name, base 38 sandbox/win/src/sync_policy.h const base::string16 &event_name, base 44 sandbox/win/src/sync_policy.h const base::string16 &event_name, base 24 sandbox/win/src/sync_policy_test.cc base::win::ScopedHandle event_open(::OpenEvent( base 53 sandbox/win/src/sync_policy_test.cc base::win::ScopedHandle event_create(::CreateEvent( base 56 sandbox/win/src/sync_policy_test.cc base::win::ScopedHandle event_open; base 129 sandbox/win/src/sync_policy_test.cc base::win::ScopedHandle handle1(::CreateEvent(NULL, FALSE, FALSE, L"test1")); base 130 sandbox/win/src/sync_policy_test.cc base::win::ScopedHandle handle2(::CreateEvent(NULL, FALSE, FALSE, L"test2")); base 131 sandbox/win/src/sync_policy_test.cc base::win::ScopedHandle handle3(::CreateEvent(NULL, FALSE, FALSE, L"test3")); base 132 sandbox/win/src/sync_policy_test.cc base::win::ScopedHandle handle4(::CreateEvent(NULL, FALSE, FALSE, L"test4")); base 20 sandbox/win/src/target_interceptions.cc HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, base 23 sandbox/win/src/target_interceptions.cc NTSTATUS ret = orig_MapViewOfSection(section, process, base, zero_bits, base 43 sandbox/win/src/target_interceptions.cc if (!IsValidImageSection(section, base, offset, view_size)) base 48 sandbox/win/src/target_interceptions.cc GetImageInfoFromModule(reinterpret_cast<HMODULE>(*base), &image_flags); base 49 sandbox/win/src/target_interceptions.cc UNICODE_STRING* file_name = GetBackingFilePath(*base); base 60 sandbox/win/src/target_interceptions.cc if (!agent->OnDllLoad(file_name, module_name, *base)) { base 62 sandbox/win/src/target_interceptions.cc g_nt.UnmapViewOfSection(process, *base); base 83 sandbox/win/src/target_interceptions.cc PVOID base) { base 84 sandbox/win/src/target_interceptions.cc NTSTATUS ret = orig_UnmapViewOfSection(process, base); base 95 sandbox/win/src/target_interceptions.cc agent->OnDllUnload(base); base 20 sandbox/win/src/target_interceptions.h HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, base 29 sandbox/win/src/target_interceptions.h PVOID base); base 53 sandbox/win/src/target_process.cc base::win::PEImage pe(exe); base 59 sandbox/win/src/target_process.cc char* base = reinterpret_cast<char*>(entry_point) - base 63 sandbox/win/src/target_process.cc return base; base 114 sandbox/win/src/target_process.cc const base::win::StartupInformation& startup_info, base 115 sandbox/win/src/target_process.cc base::win::ScopedProcessInformation* target_info) { base 119 sandbox/win/src/target_process.cc scoped_ptr<wchar_t, base::FreeDeleter> cmd_line(_wcsdup(command_line)); base 128 sandbox/win/src/target_process.cc if (job_ && base::win::GetVersion() < base::win::VERSION_WIN8) { base 148 sandbox/win/src/target_process.cc base::win::ScopedProcessInformation process_info(temp_process_info); base 17 sandbox/win/src/target_process.h namespace base { base 51 sandbox/win/src/target_process.h const base::win::StartupInformation& startup_info, base 52 sandbox/win/src/target_process.h base::win::ScopedProcessInformation* target_info); base 98 sandbox/win/src/target_process.h base::win::ScopedProcessInformation sandbox_process_info_; base 101 sandbox/win/src/target_process.h base::win::ScopedHandle lockdown_token_; base 104 sandbox/win/src/target_process.h base::win::ScopedHandle initial_token_; base 106 sandbox/win/src/target_process.h base::win::ScopedHandle shared_section_; base 116 sandbox/win/src/target_process.h scoped_ptr<wchar_t, base::FreeDeleter> exe_name_; base 39 sandbox/win/src/unload_dll_test.cc base::win::ScopedHandle event_open(::OpenEvent(SYNCHRONIZE, FALSE, argv[0])); base 78 sandbox/win/src/unload_dll_test.cc base::win::ScopedHandle handle1(::CreateEvent( base 37 sandbox/win/src/win_utils.cc bool IsPipe(const base::string16& path) { base 50 sandbox/win/src/win_utils.cc HKEY GetReservedKeyFromName(const base::string16& name) { base 59 sandbox/win/src/win_utils.cc bool ResolveRegistryName(base::string16 name, base::string16* resolved_name) { base 83 sandbox/win/src/win_utils.cc DWORD IsReparsePoint(const base::string16& full_path, bool* result) { base 84 sandbox/win/src/win_utils.cc base::string16 path = full_path; base 96 sandbox/win/src/win_utils.cc base::string16::size_type last_pos = base::string16::npos; base 127 sandbox/win/src/win_utils.cc base::string16 path(full_path); base 134 sandbox/win/src/win_utils.cc base::string16 actual_path; base 149 sandbox/win/src/win_utils.cc if (colon_pos == 0 || colon_pos == base::string16::npos) base 184 sandbox/win/src/win_utils.cc bool ConvertToLongPath(const base::string16& short_path, base 185 sandbox/win/src/win_utils.cc base::string16* long_path) { base 188 sandbox/win/src/win_utils.cc base::string16 path = short_path; base 210 sandbox/win/src/win_utils.cc base::string16::size_type last_slash = path.rfind(L'\\'); base 211 sandbox/win/src/win_utils.cc if (base::string16::npos == last_slash) base 214 sandbox/win/src/win_utils.cc base::string16 begin = path.substr(0, last_slash); base 215 sandbox/win/src/win_utils.cc base::string16 end = path.substr(last_slash); base 240 sandbox/win/src/win_utils.cc bool GetPathFromHandle(HANDLE handle, base::string16* path) { base 269 sandbox/win/src/win_utils.cc bool GetNtPathFromWin32Path(const base::string16& path, base 270 sandbox/win/src/win_utils.cc base::string16* nt_path) { base 309 sandbox/win/src/win_utils.cc base::win::PEImage ntdll_peimage(ntdll_local); base 70 sandbox/win/src/win_utils.h bool ConvertToLongPath(const base::string16& short_path, base 71 sandbox/win/src/win_utils.h base::string16* long_path); base 78 sandbox/win/src/win_utils.h DWORD IsReparsePoint(const base::string16& full_path, bool* result); base 84 sandbox/win/src/win_utils.h bool GetPathFromHandle(HANDLE handle, base::string16* path); base 88 sandbox/win/src/win_utils.h bool GetNtPathFromWin32Path(const base::string16& path, base 89 sandbox/win/src/win_utils.h base::string16* nt_path); base 94 sandbox/win/src/win_utils.h HKEY GetReservedKeyFromName(const base::string16& name); base 100 sandbox/win/src/win_utils.h bool ResolveRegistryName(base::string16 name, base::string16* resolved_name); base 30 sandbox/win/src/win_utils_unittest.cc base::string16 not_found = base::string16(my_folder) + L"\\foo\\bar"; base 33 sandbox/win/src/win_utils_unittest.cc base::string16 new_file = base::string16(my_folder) + L"\\foo"; base 43 sandbox/win/src/win_utils_unittest.cc base::string16 temp_dir_nt = base::string16(L"\\??\\") + temp_directory; base 67 sandbox/win/src/win_utils_unittest.cc base::string16 folder(my_folder); base 68 sandbox/win/src/win_utils_unittest.cc base::string16 file_name = folder + L"\\foo.txt"; base 70 sandbox/win/src/win_utils_unittest.cc base::win::ScopedHandle file(CreateFile( base 75 sandbox/win/src/win_utils_unittest.cc base::string16 file_name_nt1 = base::string16(L"\\??\\") + file_name; base 76 sandbox/win/src/win_utils_unittest.cc base::string16 file_name_nt2 = base 77 sandbox/win/src/win_utils_unittest.cc base::string16(L"\\??\\") + folder + L"\\FOO.txT"; base 58 sandbox/win/src/window.cc base::string16 desktop_name = L"sbox_alternate_desktop_"; base 118 sandbox/win/src/window.cc base::string16 GetWindowObjectName(HANDLE handle) { base 125 sandbox/win/src/window.cc return base::string16(); base 135 sandbox/win/src/window.cc return base::string16(); base 138 sandbox/win/src/window.cc return base::string16(name_buffer.get()); base 141 sandbox/win/src/window.cc base::string16 GetFullDesktopName(HWINSTA winsta, HDESK desktop) { base 144 sandbox/win/src/window.cc return base::string16(); base 147 sandbox/win/src/window.cc base::string16 name; base 30 sandbox/win/src/window.h base::string16 GetWindowObjectName(HANDLE handle); base 36 sandbox/win/src/window.h base::string16 GetFullDesktopName(HWINSTA winsta, HDESK desktop); base 19 sandbox/win/tests/common/controller.cc base::string16 MakePathToSys32(const wchar_t* name, bool is_obj_man_path) { base 22 sandbox/win/tests/common/controller.cc return base::string16(); base 24 sandbox/win/tests/common/controller.cc base::string16 full_path(windows_path); base 37 sandbox/win/tests/common/controller.cc base::string16 MakePathToSysWow64(const wchar_t* name, bool is_obj_man_path) { base 40 sandbox/win/tests/common/controller.cc return base::string16(); base 42 sandbox/win/tests/common/controller.cc base::string16 full_path(windows_path); base 65 sandbox/win/tests/common/controller.cc base::string16 MakePathToSys(const wchar_t* name, bool is_obj_man_path) { base 66 sandbox/win/tests/common/controller.cc return (base::win::OSInfo::GetInstance()->wow64_status() == base 67 sandbox/win/tests/common/controller.cc base::win::OSInfo::WOW64_ENABLED) ? base 153 sandbox/win/tests/common/controller.cc base::string16 win32_path = MakePathToSys32(pattern, false); base 160 sandbox/win/tests/common/controller.cc if (base::win::OSInfo::GetInstance()->wow64_status() != base 161 sandbox/win/tests/common/controller.cc base::win::OSInfo::WOW64_ENABLED) base 186 sandbox/win/tests/common/controller.cc base::string16 full_command(state_number); base 213 sandbox/win/tests/common/controller.cc base::string16 arguments(L"\""); base 307 sandbox/win/tests/common/controller.cc std::string command_name = base::SysWideToMultiByte(argv[3], CP_UTF8); base 144 sandbox/win/tests/common/controller.h base::win::ScopedHandle target_process_; base 152 sandbox/win/tests/common/controller.h base::string16 MakePathToSys(const wchar_t* name, bool is_obj_man_path); base 17 sandbox/win/tests/validation_tests/commands.cc HKEY GetHKEYFromString(const base::string16 &name) { base 33 sandbox/win/tests/validation_tests/commands.cc void trim_quote(base::string16* string) { base 34 sandbox/win/tests/validation_tests/commands.cc base::string16::size_type pos1 = string->find_first_not_of(L'"'); base 35 sandbox/win/tests/validation_tests/commands.cc base::string16::size_type pos2 = string->find_last_not_of(L'"'); base 37 sandbox/win/tests/validation_tests/commands.cc if (base::string16::npos == pos1 || base::string16::npos == pos2) base 43 sandbox/win/tests/validation_tests/commands.cc int TestOpenFile(base::string16 path, bool for_write) { base 146 sandbox/win/tests/validation_tests/commands.cc base::string16 path = argv[0]; base 152 sandbox/win/tests/validation_tests/commands.cc int TestOpenReadFile(const base::string16& path) { base 160 sandbox/win/tests/validation_tests/commands.cc base::string16 path = argv[0]; base 166 sandbox/win/tests/validation_tests/commands.cc int TestOpenWriteFile(const base::string16& path) { base 178 sandbox/win/tests/validation_tests/commands.cc base::string16 subkey; base 187 sandbox/win/tests/validation_tests/commands.cc int TestOpenKey(HKEY base_key, base::string16 subkey) { base 24 sandbox/win/tests/validation_tests/commands.h int TestOpenReadFile(const base::string16& path); base 27 sandbox/win/tests/validation_tests/commands.h int TestOpenWriteFile(const base::string16& path); base 30 sandbox/win/tests/validation_tests/commands.h int TestOpenKey(HKEY base_key, base::string16 subkey); base 122 sandbox/win/tests/validation_tests/suite.cc base::win::Version version = base::win::GetVersion(); base 123 sandbox/win/tests/validation_tests/suite.cc if (version < base::win::VERSION_WIN7) base 133 sandbox/win/tests/validation_tests/suite.cc base::string16 desktop_name = runner.GetPolicy()->GetAlternateDesktop(); base 168 sandbox/win/tests/validation_tests/suite.cc if (base::win::Version() < base::win::VERSION_VISTA) base 190 sandbox/win/tests/validation_tests/suite.cc if (base::win::Version() < base::win::VERSION_VISTA) base 11 sandbox/win/wow_helper/target_code.cc PatchInfo *patch_info, HANDLE process, PVOID *base, ULONG_PTR zero_bits, base 15 sandbox/win/wow_helper/target_code.cc base, zero_bits, commit_size, base 30 sandbox/win/wow_helper/target_code.h PatchInfo* patch_info, HANDLE process, PVOID* base, ULONG_PTR zero_bits, base 10 skia/ext/SkDiscardableMemory_chrome.cc const base::DiscardableMemoryLockStatus status = discardable_->Lock(); base 12 skia/ext/SkDiscardableMemory_chrome.cc case base::DISCARDABLE_MEMORY_LOCK_STATUS_SUCCESS: base 14 skia/ext/SkDiscardableMemory_chrome.cc case base::DISCARDABLE_MEMORY_LOCK_STATUS_PURGED: base 32 skia/ext/SkDiscardableMemory_chrome.cc scoped_ptr<base::DiscardableMemory> memory) base 37 skia/ext/SkDiscardableMemory_chrome.cc scoped_ptr<base::DiscardableMemory> discardable( base 38 skia/ext/SkDiscardableMemory_chrome.cc base::DiscardableMemory::CreateLockedMemory(bytes)); base 26 skia/ext/SkDiscardableMemory_chrome.h SkDiscardableMemoryChrome(scoped_ptr<base::DiscardableMemory> memory); base 28 skia/ext/SkDiscardableMemory_chrome.h scoped_ptr<base::DiscardableMemory> discardable_; base 60 skia/ext/SkMemory_new_handler.cpp ignore_result(base::UncheckedMalloc(size, &result)); base 91 skia/ext/SkMemory_new_handler.cpp ignore_result(base::UncheckedCalloc(size, 1, &result)); base 20 skia/ext/benchmarking_canvas.cc base::TimeTicks start_ticks_; base 190 skia/ext/benchmarking_canvas.cc typedef base::hash_map<size_t, base::TimeDelta> TimingsMap; base 201 skia/ext/benchmarking_canvas.cc start_ticks_ = base::TimeTicks::HighResNow(); base 205 skia/ext/benchmarking_canvas.cc base::TimeDelta delta = base::TimeTicks::HighResNow() - start_ticks_; base 39 skia/ext/bitmap_platform_device_mac.cc base::mac::GetSystemColorSpace(), base 48 skia/ext/bitmap_platform_device_win.cc base::debug::GDIBitmapAllocFailure(&hdr, shared_section); base 365 skia/ext/convolver.cc base::CPU cpu; base 261 skia/ext/convolver_unittest.cc base::TimeTicks resize_start; base 262 skia/ext/convolver_unittest.cc base::TimeDelta delta_c, delta_sse; base 266 skia/ext/convolver_unittest.cc resize_start = base::TimeTicks::Now(); base 271 skia/ext/convolver_unittest.cc delta_c = base::TimeTicks::Now() - resize_start; base 273 skia/ext/convolver_unittest.cc resize_start = base::TimeTicks::Now(); base 279 skia/ext/convolver_unittest.cc delta_sse = base::TimeTicks::Now() - resize_start; base 38 skia/ext/event_tracer_impl.cc return base::debug::TraceLog::GetCategoryGroupName( base 52 skia/ext/event_tracer_impl.cc base::debug::TraceEventHandle handle = TRACE_EVENT_API_ADD_TRACE_EVENT( base 65 skia/ext/event_tracer_impl.cc base::debug::TraceEventHandle traceEventHandle; base 19 skia/ext/google_logging.cc base::StringAppendV(&msg, format, ap); base 231 skia/ext/image_operations.cc base::StackVector<float, 64> filter_values; base 232 skia/ext/image_operations.cc base::StackVector<int16, 64> fixed_filter_values; base 480 skia/ext/image_operations.cc base::TimeTicks resize_start = base::TimeTicks::Now(); base 524 skia/ext/image_operations.cc base::TimeDelta delta = base::TimeTicks::Now() - resize_start; base 54 skia/ext/image_operations_bench.cc if (base::strcasecmp(arg.c_str(), resize_methods[i].name) == 0) { base 124 skia/ext/image_operations_bench.cc base::SplitString(std::string(arg), 'x', &strings); base 126 skia/ext/image_operations_bench.cc base::StringToInt(strings[0], &width_) == false || base 127 skia/ext/image_operations_bench.cc base::StringToInt(strings[1], &height_) == false) { base 147 skia/ext/image_operations_bench.cc bool ParseArgs(const base::CommandLine* command_line); base 179 skia/ext/image_operations_bench.cc bool Benchmark::ParseArgs(const base::CommandLine* command_line) { base 180 skia/ext/image_operations_bench.cc const base::CommandLine::SwitchMap& switches = command_line->GetSwitches(); base 183 skia/ext/image_operations_bench.cc for (base::CommandLine::SwitchMap::const_iterator iter = switches.begin(); base 189 skia/ext/image_operations_bench.cc value = base::WideToUTF8(iter->second); base 198 skia/ext/image_operations_bench.cc if (base::StringToInt(value, &num_iterations_) == false) { base 239 skia/ext/image_operations_bench.cc const base::TimeTicks start = base::TimeTicks::Now(); base 247 skia/ext/image_operations_bench.cc const int64 elapsed_us = (base::TimeTicks::Now() - start).InMicroseconds(); base 265 skia/ext/image_operations_bench.cc base::CommandLine::Init(argc, argv); base 268 skia/ext/image_operations_bench.cc base::CommandLine::Reset(); base 271 skia/ext/image_operations_bench.cc const base::CommandLine* Get() const { base 272 skia/ext/image_operations_bench.cc return base::CommandLine::ForCurrentProcess(); base 72 skia/ext/image_operations_unittest.cc base::snprintf(str, sizeof(str), "bmp[%d,%d] = %08X", x, y, cur); base 205 skia/ext/image_operations_unittest.cc const base::FilePath fpath(path); base 207 skia/ext/image_operations_unittest.cc base::WriteFile(fpath, reinterpret_cast<const char*>(&png[0]), base 334 skia/ext/image_operations_unittest.cc base::snprintf(path, sizeof(path), base 420 skia/ext/image_operations_unittest.cc base::snprintf(str, sizeof(str), base 87 skia/ext/vector_canvas_unittest.cc explicit Image(const base::FilePath& filename) : ignore_alpha_(true) { base 89 skia/ext/vector_canvas_unittest.cc base::ReadFileToString(filename, &compressed); base 128 skia/ext/vector_canvas_unittest.cc void SaveToFile(const base::FilePath& filename) { base 138 skia/ext/vector_canvas_unittest.cc FILE* f = base::OpenFile(filename, "wb"); base 142 skia/ext/vector_canvas_unittest.cc base::CloseFile(f); base 233 skia/ext/vector_canvas_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &test_dir_); base 241 skia/ext/vector_canvas_unittest.cc base::FilePath::StringType tmp(test_dir_.value()); base 243 skia/ext/vector_canvas_unittest.cc tmp[i] = base::ToLowerASCII(tmp[i]); base 244 skia/ext/vector_canvas_unittest.cc test_dir_ = base::FilePath(tmp); base 248 skia/ext/vector_canvas_unittest.cc base::CreateDirectory(test_dir_); base 253 skia/ext/vector_canvas_unittest.cc base::FilePath test_file(const base::FilePath::StringType& filename) const { base 257 skia/ext/vector_canvas_unittest.cc std::string tmp = base::UTF16ToASCII(filename); base 262 skia/ext/vector_canvas_unittest.cc tmp[i] = base::ToLowerASCII(tmp[i]); base 272 skia/ext/vector_canvas_unittest.cc base::FilePath::StringType filename) const { base 291 skia/ext/vector_canvas_unittest.cc const base::FilePath::StringType& filename) const { base 300 skia/ext/vector_canvas_unittest.cc const base::FilePath::StringType& filename) const { base 307 skia/ext/vector_canvas_unittest.cc base::FilePath test_dir_; base 334 skia/ext/vector_canvas_unittest.cc void LoadPngFileToSkBitmap(const base::FilePath& filename, base 338 skia/ext/vector_canvas_unittest.cc base::ReadFileToString(base::MakeAbsoluteFilePath(filename), &compressed); base 405 skia/ext/vector_canvas_unittest.cc double ProcessImage(const base::FilePath::StringType& filename) { base 406 skia/ext/vector_canvas_unittest.cc std::wstring number(base::StringPrintf(L"%02d_", number_++)); base 464 skia/ext/vector_platform_device_emf_win.cc << " and characters: " << base::string16(text, characters); base 468 skia/ext/vector_platform_device_emf_win.cc << " and characters: " << base::string16(text, characters); base 16 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc base::FilePath filepath = base::FilePath::FromUTF8Unsafe(filename); base 18 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc if (!base::ReadFileToString(filepath, ipc_filter_message)) { base 43 sql/connection.cc int SetTimeout(base::TimeDelta timeout) { base 121 sql/connection.cc base::LazyInstance<base::Lock>::Leaky base 124 sql/connection.cc base::AutoLock lock(g_sqlite_init_lock.Get()); base 229 sql/connection.cc bool Connection::Open(const base::FilePath& path) { base 232 sql/connection.cc if (base::GetFileSize(path, &size_64)) { base 235 sql/connection.cc base::HistogramBase* histogram = base 236 sql/connection.cc base::Histogram::FactoryGet( base 238 sql/connection.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 245 sql/connection.cc return OpenInternal(base::WideToUTF8(path.value()), RETRY_ON_POISON); base 368 sql/connection.cc base::StringPrintf("PRAGMA cache_size=%d", shrink_cache_size); base 374 sql/connection.cc base::StringPrintf("PRAGMA cache_size=%d", original_cache_size); base 407 sql/connection.cc base::StringPrintf("PRAGMA page_size=%d", page_size_); base 492 sql/connection.cc bool Connection::RazeWithTimout(base::TimeDelta timeout) { base 550 sql/connection.cc bool Connection::Delete(const base::FilePath& path) { base 551 sql/connection.cc base::ThreadRestrictions::AssertIOAllowed(); base 553 sql/connection.cc base::FilePath journal_path(path.value() + FILE_PATH_LITERAL("-journal")); base 554 sql/connection.cc base::FilePath wal_path(path.value() + FILE_PATH_LITERAL("-wal")); base 556 sql/connection.cc base::DeleteFile(journal_path, false); base 557 sql/connection.cc base::DeleteFile(wal_path, false); base 558 sql/connection.cc base::DeleteFile(path, false); base 560 sql/connection.cc return !base::PathExists(journal_path) && base 561 sql/connection.cc !base::PathExists(wal_path) && base 562 sql/connection.cc !base::PathExists(path); base 631 sql/connection.cc bool Connection::AttachDatabase(const base::FilePath& other_db_path, base 681 sql/connection.cc bool Connection::ExecuteWithTimeout(const char* sql, base::TimeDelta timeout) { base 906 sql/connection.cc base::FilePath file_path(file_name); base 910 sql/connection.cc if (base::GetPosixFilePermissions(file_path, &mode)) { base 911 sql/connection.cc mode &= base::FILE_PERMISSION_USER_MASK; base 912 sql/connection.cc base::SetPosixFilePermissions(file_path, mode); base 918 sql/connection.cc base::FilePath journal_path(file_name + FILE_PATH_LITERAL("-journal")); base 919 sql/connection.cc base::FilePath wal_path(file_name + FILE_PATH_LITERAL("-wal")); base 920 sql/connection.cc base::SetPosixFilePermissions(journal_path, mode); base 921 sql/connection.cc base::SetPosixFilePermissions(wal_path, mode); base 983 sql/connection.cc const base::TimeDelta kBusyTimeout = base 984 sql/connection.cc base::TimeDelta::FromSeconds(kBusyTimeoutSeconds); base 993 sql/connection.cc base::StringPrintf("PRAGMA page_size=%d", page_size_); base 999 sql/connection.cc base::StringPrintf("PRAGMA cache_size=%d", cache_size_); base 1043 sql/connection.cc base::HistogramBase* histogram = base 1044 sql/connection.cc base::SparseHistogram::FactoryGet( base 1046 sql/connection.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 1113 sql/connection.cc base::SplitString(result, '\n', messages); base 25 sql/connection.h namespace base { base 131 sql/connection.h typedef base::Callback<void(int, Statement*)> ErrorCallback; base 168 sql/connection.h bool Open(const base::FilePath& path) WARN_UNUSED_RESULT; base 240 sql/connection.h bool RazeWithTimout(base::TimeDelta timeout); base 266 sql/connection.h static bool Delete(const base::FilePath& path); base 300 sql/connection.h bool AttachDatabase(const base::FilePath& other_db_path, base 438 sql/connection.h base::ThreadRestrictions::AssertIOAllowed(); base 446 sql/connection.h typedef base::Callback<bool(int)> ErrorIgnorerCallback; base 462 sql/connection.h class SQL_EXPORT StatementRef : public base::RefCounted<StatementRef> { base 501 sql/connection.h friend class base::RefCounted<StatementRef>; base 535 sql/connection.h bool ExecuteWithTimeout(const char* sql, base::TimeDelta ms_timeout) base 62 sql/connection_unittest.cc db->set_error_callback(base::Bind(&IgnoreErrorCallback)); base 104 sql/connection_unittest.cc const base::FilePath& db_path() { return db_path_; } base 114 sql/connection_unittest.cc base::FilePath db_path_; base 115 sql/connection_unittest.cc base::ScopedTempDir temp_dir_; base 240 sql/connection_unittest.cc &db(), base::Bind(&sql::CaptureErrorCallback, &error)); base 267 sql/connection_unittest.cc &db(), base::Bind(&ErrorCallbackSetHelper, base 277 sql/connection_unittest.cc &db(), base::Bind(&ErrorCallbackResetHelper, base 427 sql/connection_unittest.cc base::ScopedFILE file(base::OpenFile(db_path(), "rb+")); base 430 sql/connection_unittest.cc ASSERT_TRUE(base::TruncateFile(file.get())); base 442 sql/connection_unittest.cc ASSERT_FALSE(base::PathExists(db_path())); base 445 sql/connection_unittest.cc base::ScopedFILE file(base::OpenFile(db_path(), "wb")); base 451 sql/connection_unittest.cc ASSERT_TRUE(base::PathExists(db_path())); base 478 sql/connection_unittest.cc base::ScopedFILE file(base::OpenFile(db_path(), "rb+")); base 527 sql/connection_unittest.cc db().set_error_callback(base::Bind(&SQLConnectionTest::RazeErrorCallback, base 528 sql/connection_unittest.cc base::Unretained(this), base 658 sql/connection_unittest.cc base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal")); base 659 sql/connection_unittest.cc ASSERT_TRUE(base::PathExists(db_path())); base 660 sql/connection_unittest.cc ASSERT_TRUE(base::PathExists(journal)); base 663 sql/connection_unittest.cc EXPECT_FALSE(base::PathExists(db_path())); base 664 sql/connection_unittest.cc EXPECT_FALSE(base::PathExists(journal)); base 677 sql/connection_unittest.cc ASSERT_FALSE(base::PathExists(db_path())); base 686 sql/connection_unittest.cc base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal")); base 691 sql/connection_unittest.cc ASSERT_TRUE(base::PathExists(db_path())); base 692 sql/connection_unittest.cc ASSERT_TRUE(base::PathExists(journal)); base 693 sql/connection_unittest.cc mode = base::FILE_PERMISSION_MASK; base 694 sql/connection_unittest.cc EXPECT_TRUE(base::GetPosixFilePermissions(db_path(), &mode)); base 695 sql/connection_unittest.cc ASSERT_NE((mode & base::FILE_PERMISSION_USER_MASK), mode); base 696 sql/connection_unittest.cc mode = base::FILE_PERMISSION_MASK; base 697 sql/connection_unittest.cc EXPECT_TRUE(base::GetPosixFilePermissions(journal, &mode)); base 698 sql/connection_unittest.cc ASSERT_NE((mode & base::FILE_PERMISSION_USER_MASK), mode); base 705 sql/connection_unittest.cc ASSERT_TRUE(base::PathExists(db_path())); base 706 sql/connection_unittest.cc ASSERT_TRUE(base::PathExists(journal)); base 707 sql/connection_unittest.cc mode = base::FILE_PERMISSION_MASK; base 708 sql/connection_unittest.cc EXPECT_TRUE(base::GetPosixFilePermissions(db_path(), &mode)); base 709 sql/connection_unittest.cc ASSERT_EQ((mode & base::FILE_PERMISSION_USER_MASK), mode); base 710 sql/connection_unittest.cc mode = base::FILE_PERMISSION_MASK; base 711 sql/connection_unittest.cc EXPECT_TRUE(base::GetPosixFilePermissions(journal, &mode)); base 712 sql/connection_unittest.cc ASSERT_EQ((mode & base::FILE_PERMISSION_USER_MASK), mode); base 718 sql/connection_unittest.cc ASSERT_TRUE(base::PathExists(db_path())); base 719 sql/connection_unittest.cc ASSERT_FALSE(base::PathExists(journal)); base 720 sql/connection_unittest.cc mode = base::FILE_PERMISSION_MASK; base 721 sql/connection_unittest.cc EXPECT_TRUE(base::GetPosixFilePermissions(db_path(), &mode)); base 722 sql/connection_unittest.cc ASSERT_EQ((mode & base::FILE_PERMISSION_USER_MASK), mode); base 726 sql/connection_unittest.cc ASSERT_TRUE(base::PathExists(journal)); base 727 sql/connection_unittest.cc mode = base::FILE_PERMISSION_MASK; base 728 sql/connection_unittest.cc EXPECT_TRUE(base::GetPosixFilePermissions(journal, &mode)); base 729 sql/connection_unittest.cc ASSERT_EQ((mode & base::FILE_PERMISSION_USER_MASK), mode); base 774 sql/connection_unittest.cc base::FilePath attach_path = base 29 sql/meta_table_unittest.cc base::ScopedTempDir temp_dir_; base 108 sql/recovery.cc const base::FilePath& db_path) { base 154 sql/recovery.cc bool Recovery::Init(const base::FilePath& db_path) { base 341 sql/recovery.cc base::StringPrintf("PRAGMA main.table_info(%s)", table_name)); base 437 sql/recovery.cc insert_columns.push_back(base::StringPrintf( base 457 sql/recovery.cc base::StringPrintf("ignore%" PRIuS " ANY", i)); base 460 sql/recovery.cc std::string recover_create(base::StringPrintf( base 466 sql/recovery.cc std::string recover_insert(base::StringPrintf( base 472 sql/recovery.cc std::string recover_drop(base::StringPrintf( base 12 sql/recovery.h namespace base { base 84 sql/recovery.h const base::FilePath& db_path) WARN_UNUSED_RESULT; base 159 sql/recovery.h bool Init(const base::FilePath& db_path) WARN_UNUSED_RESULT; base 41 sql/recovery_unittest.cc ret += base::HexEncode(s.ColumnBlob(i), s.ColumnByteLength(i)); base 76 sql/recovery_unittest.cc base::FilePath db_path() { base 86 sql/recovery_unittest.cc base::ScopedTempDir temp_dir_; base 200 sql/recovery_unittest.cc void RecoveryCallback(sql::Connection* db, const base::FilePath& db_path, base 265 sql/recovery_unittest.cc db().set_error_callback(base::Bind(&RecoveryCallback, base 36 sql/sqlite_features_unittest.cc db_.set_error_callback(base::Bind(&CaptureErrorCallback, base 50 sql/sqlite_features_unittest.cc base::ScopedTempDir temp_dir_; base 152 sql/statement.cc bool Statement::BindString16(int col, const base::string16& value) { base 153 sql/statement.cc return BindString(col, base::UTF16ToUTF8(value)); base 238 sql/statement.cc base::string16 Statement::ColumnString16(int col) const { base 240 sql/statement.cc return base::string16(); base 243 sql/statement.cc return !s.empty() ? base::UTF8ToUTF16(s) : base::string16(); base 274 sql/statement.cc bool Statement::ColumnBlobAsString16(int col, base::string16* val) const { base 279 sql/statement.cc size_t len = ColumnByteLength(col) / sizeof(base::char16); base 283 sql/statement.cc val->assign(reinterpret_cast<const base::char16*>(data), len); base 111 sql/statement.h bool BindString16(int col, const base::string16& value); base 134 sql/statement.h base::string16 ColumnString16(int col) const; base 142 sql/statement.h bool ColumnBlobAsString16(int col, base::string16* val) const; base 33 sql/statement_unittest.cc base::ScopedTempDir temp_dir_; base 84 sql/statement_unittest.cc &db(), base::Bind(&sql::CaptureErrorCallback, &error)); base 15 sql/test/scoped_error_ignorer.cc base::Bind(&ScopedErrorIgnorer::ShouldIgnore, base::Unretained(this)); base 69 sql/test/test_helpers.cc bool CorruptSizeInHeader(const base::FilePath& db_path) { base 79 sql/test/test_helpers.cc base::ScopedFILE file(base::OpenFile(db_path, "rb+")); base 89 sql/test/test_helpers.cc if (!base::GetFileSize(db_path, &db_size)) base 112 sql/test/test_helpers.cc bool CorruptTableOrIndex(const base::FilePath& db_path, base 132 sql/test/test_helpers.cc base::ScopedFILE file(base::OpenFile(db_path, "rb+")); base 219 sql/test/test_helpers.cc bool CreateDatabaseFromSQL(const base::FilePath& db_path, base 220 sql/test/test_helpers.cc const base::FilePath& sql_path) { base 221 sql/test/test_helpers.cc if (base::PathExists(db_path) || !base::PathExists(sql_path)) base 225 sql/test/test_helpers.cc if (!base::ReadFileToString(sql_path, &sql)) base 16 sql/test/test_helpers.h namespace base { base 35 sql/test/test_helpers.h bool CorruptSizeInHeader(const base::FilePath& db_path) WARN_UNUSED_RESULT; base 53 sql/test/test_helpers.h bool CorruptTableOrIndex(const base::FilePath& db_path, base 76 sql/test/test_helpers.h bool CreateDatabaseFromSQL(const base::FilePath& db_path, base 77 sql/test/test_helpers.h const base::FilePath& sql_path) WARN_UNUSED_RESULT; base 37 sql/transaction_unittest.cc base::ScopedTempDir temp_dir_; base 5 sync/android/java/src/org/chromium/sync/internal_api/pub/base/ModelType.java package org.chromium.sync.internal_api.pub.base; base 10 sync/android/java/src/org/chromium/sync/notifier/InvalidationIntentProtocol.java import com.google.common.base.Preconditions; base 14 sync/android/java/src/org/chromium/sync/notifier/InvalidationIntentProtocol.java import org.chromium.base.CollectionUtil; base 15 sync/android/java/src/org/chromium/sync/notifier/InvalidationIntentProtocol.java import org.chromium.sync.internal_api.pub.base.ModelType; base 15 sync/android/java/src/org/chromium/sync/notifier/InvalidationPreferences.java import com.google.common.base.Preconditions; base 22 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java import org.chromium.base.ApplicationStatus; base 23 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java import org.chromium.base.CollectionUtil; base 24 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java import org.chromium.sync.internal_api.pub.base.ModelType; base 15 sync/android/java/src/org/chromium/sync/notifier/SyncStatusHelper.java import org.chromium.base.ObserverList; base 23 sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java import org.chromium.base.ThreadUtils; base 16 sync/android/java/src/org/chromium/sync/signin/ChromeSigninController.java import org.chromium.base.ObserverList; base 10 sync/android/javatests/src/org/chromium/sync/notifier/InvalidationClientNameProviderTest.java import org.chromium.base.test.util.Feature; base 14 sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java import org.chromium.base.CollectionUtil; base 15 sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java import org.chromium.base.test.util.AdvancedMockContext; base 16 sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java import org.chromium.base.test.util.Feature; base 17 sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java import org.chromium.sync.internal_api.pub.base.ModelType; base 20 sync/android/javatests/src/org/chromium/sync/notifier/InvalidationServiceTest.java import org.chromium.base.CollectionUtil; base 21 sync/android/javatests/src/org/chromium/sync/notifier/InvalidationServiceTest.java import org.chromium.base.test.util.AdvancedMockContext; base 22 sync/android/javatests/src/org/chromium/sync/notifier/InvalidationServiceTest.java import org.chromium.base.test.util.Feature; base 23 sync/android/javatests/src/org/chromium/sync/notifier/InvalidationServiceTest.java import org.chromium.sync.internal_api.pub.base.ModelType; base 14 sync/android/javatests/src/org/chromium/sync/notifier/TestableInvalidationService.java import org.chromium.base.CollectionUtil; base 12 sync/android/javatests/src/org/chromium/sync/notifier/signin/SyncStatusHelperTest.java import org.chromium.base.ThreadUtils; base 13 sync/android/javatests/src/org/chromium/sync/notifier/signin/SyncStatusHelperTest.java import org.chromium.base.test.util.Feature; base 15 sync/api/attachments/attachment.cc const scoped_refptr<base::RefCountedMemory>& data) { base 22 sync/api/attachments/attachment.cc const scoped_refptr<base::RefCountedMemory>& data) { base 28 sync/api/attachments/attachment.cc const scoped_refptr<base::RefCountedMemory>& Attachment::GetData() const { base 33 sync/api/attachments/attachment.cc const scoped_refptr<base::RefCountedMemory>& data) base 35 sync/api/attachments/attachment.h static Attachment Create(const scoped_refptr<base::RefCountedMemory>& data); base 43 sync/api/attachments/attachment.h const scoped_refptr<base::RefCountedMemory>& data); base 49 sync/api/attachments/attachment.h const scoped_refptr<base::RefCountedMemory>& GetData() const; base 53 sync/api/attachments/attachment.h scoped_refptr<base::RefCountedMemory> data_; base 56 sync/api/attachments/attachment.h const scoped_refptr<base::RefCountedMemory>& data); base 59 sync/api/attachments/attachment_id.cc proto.set_unique_id(base::RandBytesAsString(16)); base 32 sync/api/attachments/attachment_service.h typedef base::Callback< base 42 sync/api/attachments/attachment_service.h typedef base::Callback<void(const DropResult&)> DropCallback; base 21 sync/api/attachments/attachment_service_proxy.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 25 sync/api/attachments/attachment_service_proxy.cc task_runner->PostTask(FROM_HERE, base::Bind(callback, result, attachments)); base 31 sync/api/attachments/attachment_service_proxy.cc const scoped_refptr<base::SequencedTaskRunner>& task_runner, base 34 sync/api/attachments/attachment_service_proxy.cc task_runner->PostTask(FROM_HERE, base::Bind(callback, result)); base 42 sync/api/attachments/attachment_service_proxy.cc const scoped_refptr<base::SequencedTaskRunner>& wrapped_task_runner, base 43 sync/api/attachments/attachment_service_proxy.cc base::WeakPtr<syncer::AttachmentService> wrapped) base 54 sync/api/attachments/attachment_service_proxy.cc GetOrDownloadCallback proxy_callback = base::Bind( base 55 sync/api/attachments/attachment_service_proxy.cc &ProxyGetOrDownloadCallback, base::MessageLoopProxy::current(), callback); base 58 sync/api/attachments/attachment_service_proxy.cc base::Bind(&AttachmentService::GetOrDownloadAttachments, base 68 sync/api/attachments/attachment_service_proxy.cc DropCallback proxy_callback = base::Bind( base 69 sync/api/attachments/attachment_service_proxy.cc &ProxyDropCallback, base::MessageLoopProxy::current(), callback); base 71 sync/api/attachments/attachment_service_proxy.cc base::Bind(&AttachmentService::DropAttachments, base 81 sync/api/attachments/attachment_service_proxy.cc base::Bind(&AttachmentService::OnSyncDataAdd, wrapped_, sync_data)); base 88 sync/api/attachments/attachment_service_proxy.cc base::Bind(&AttachmentService::OnSyncDataDelete, wrapped_, sync_data)); base 97 sync/api/attachments/attachment_service_proxy.cc base::Bind(&AttachmentService::OnSyncDataUpdate, base 46 sync/api/attachments/attachment_service_proxy.h const scoped_refptr<base::SequencedTaskRunner>& wrapped_task_runner, base 47 sync/api/attachments/attachment_service_proxy.h base::WeakPtr<syncer::AttachmentService> wrapped); base 63 sync/api/attachments/attachment_service_proxy.h scoped_refptr<base::SequencedTaskRunner> wrapped_task_runner_; base 65 sync/api/attachments/attachment_service_proxy.h base::WeakPtr<AttachmentService> wrapped_; base 28 sync/api/attachments/attachment_service_proxy_unittest.cc public base::NonThreadSafe { base 43 sync/api/attachments/attachment_service_proxy_unittest.cc base::MessageLoop::current()->PostTask( base 45 sync/api/attachments/attachment_service_proxy_unittest.cc base::Bind( base 53 sync/api/attachments/attachment_service_proxy_unittest.cc base::MessageLoop::current()->PostTask( base 54 sync/api/attachments/attachment_service_proxy_unittest.cc FROM_HERE, base::Bind(callback, AttachmentService::DROP_SUCCESS)); base 73 sync/api/attachments/attachment_service_proxy_unittest.cc virtual base::WeakPtr<AttachmentService> AsWeakPtr() { base 79 sync/api/attachments/attachment_service_proxy_unittest.cc base::AutoLock lock(mutex_); base 85 sync/api/attachments/attachment_service_proxy_unittest.cc mutable base::Lock mutex_; base 89 sync/api/attachments/attachment_service_proxy_unittest.cc base::WeakPtrFactory<AttachmentService> weak_ptr_factory_; base 92 sync/api/attachments/attachment_service_proxy_unittest.cc base::AutoLock lock(mutex_); base 98 sync/api/attachments/attachment_service_proxy_unittest.cc public base::NonThreadSafe { base 104 sync/api/attachments/attachment_service_proxy_unittest.cc stub_thread.reset(new base::Thread("attachment service stub thread")); base 116 sync/api/attachments/attachment_service_proxy_unittest.cc base::Bind(&AttachmentServiceProxyTest::IncrementGetOrDownload, base 117 sync/api/attachments/attachment_service_proxy_unittest.cc base::Unretained(this)); base 118 sync/api/attachments/attachment_service_proxy_unittest.cc callback_drop = base::Bind(&AttachmentServiceProxyTest::IncrementDrop, base 119 sync/api/attachments/attachment_service_proxy_unittest.cc base::Unretained(this)); base 149 sync/api/attachments/attachment_service_proxy_unittest.cc base::WaitableEvent done(false, false); base 152 sync/api/attachments/attachment_service_proxy_unittest.cc base::Bind(&base::WaitableEvent::Signal, base::Unretained(&done))); base 156 sync/api/attachments/attachment_service_proxy_unittest.cc base::MessageLoop loop; base 157 sync/api/attachments/attachment_service_proxy_unittest.cc scoped_ptr<base::Thread> stub_thread; base 13 sync/api/attachments/attachment_store.h namespace base { base 37 sync/api/attachments/attachment_store.h typedef base::Callback<void(const Result&, scoped_ptr<Attachment>)> base 39 sync/api/attachments/attachment_store.h typedef base::Callback<void(const Result&, const AttachmentId& id)> base 41 sync/api/attachments/attachment_store.h typedef base::Callback<void(const Result&)> DropCallback; base 53 sync/api/attachments/attachment_store.h virtual void Write(const scoped_refptr<base::RefCountedMemory>& bytes, base 25 sync/api/attachments/attachment_unittest.cc scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); base 34 sync/api/attachments/attachment_unittest.cc scoped_refptr<base::RefCountedString> empty_data(new base::RefCountedString); base 41 sync/api/attachments/attachment_unittest.cc scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); base 26 sync/api/attachments/fake_attachment_service.cc new syncer::FakeAttachmentStore(scoped_refptr<base::SequencedTaskRunner>( base 27 sync/api/attachments/fake_attachment_service.cc new base::TestSimpleTaskRunner))); base 18 sync/api/attachments/fake_attachment_service.h public base::NonThreadSafe { base 19 sync/api/attachments/fake_attachment_store.cc : public base::RefCountedThreadSafe<FakeAttachmentStore::Backend> { base 23 sync/api/attachments/fake_attachment_store.cc const scoped_refptr<base::SingleThreadTaskRunner>& frontend_task_runner); base 26 sync/api/attachments/fake_attachment_store.cc void Write(const scoped_refptr<base::RefCountedMemory>& bytes, base 35 sync/api/attachments/fake_attachment_store.cc scoped_refptr<base::SingleThreadTaskRunner> frontend_task_runner_; base 40 sync/api/attachments/fake_attachment_store.cc const scoped_refptr<base::SingleThreadTaskRunner>& frontend_task_runner) base 55 sync/api/attachments/fake_attachment_store.cc FROM_HERE, base::Bind(callback, result, base::Passed(&attachment))); base 59 sync/api/attachments/fake_attachment_store.cc const scoped_refptr<base::RefCountedMemory>& bytes, base 65 sync/api/attachments/fake_attachment_store.cc base::Bind(callback, SUCCESS, attachment_id)); base 76 sync/api/attachments/fake_attachment_store.cc frontend_task_runner_->PostTask(FROM_HERE, base::Bind(callback, result)); base 80 sync/api/attachments/fake_attachment_store.cc const scoped_refptr<base::SequencedTaskRunner>& backend_task_runner) base 81 sync/api/attachments/fake_attachment_store.cc : backend_(new Backend(base::MessageLoopProxy::current())), base 90 sync/api/attachments/fake_attachment_store.cc base::Bind(&FakeAttachmentStore::Backend::Read, backend_, id, callback)); base 94 sync/api/attachments/fake_attachment_store.cc const scoped_refptr<base::RefCountedMemory>& bytes, base 98 sync/api/attachments/fake_attachment_store.cc base::Bind( base 106 sync/api/attachments/fake_attachment_store.cc base::Bind(&FakeAttachmentStore::Backend::Drop, backend_, id, callback)); base 16 sync/api/attachments/fake_attachment_store.h namespace base { base 37 sync/api/attachments/fake_attachment_store.h const scoped_refptr<base::SequencedTaskRunner>& backend_task_runner); base 44 sync/api/attachments/fake_attachment_store.h virtual void Write(const scoped_refptr<base::RefCountedMemory>& bytes, base 53 sync/api/attachments/fake_attachment_store.h scoped_refptr<base::SequencedTaskRunner> backend_task_runner_; base 26 sync/api/attachments/fake_attachment_store_unittest.cc base::Bind(&FakeAttachmentStoreTest::CopyAttachmentAndResult, base 27 sync/api/attachments/fake_attachment_store_unittest.cc base::Unretained(this), base 30 sync/api/attachments/fake_attachment_store_unittest.cc write_callback = base::Bind(&FakeAttachmentStoreTest::CopyResultAndId, base 31 sync/api/attachments/fake_attachment_store_unittest.cc base::Unretained(this), base 34 sync/api/attachments/fake_attachment_store_unittest.cc drop_callback = base::Bind( base 35 sync/api/attachments/fake_attachment_store_unittest.cc &FakeAttachmentStoreTest::CopyResult, base::Unretained(this), &result); base 78 sync/api/attachments/fake_attachment_store_unittest.cc base::MessageLoop message_loop_; base 82 sync/api/attachments/fake_attachment_store_unittest.cc FakeAttachmentStore store(base::MessageLoopProxy::current()); base 83 sync/api/attachments/fake_attachment_store_unittest.cc scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); base 99 sync/api/attachments/fake_attachment_store_unittest.cc FakeAttachmentStore store(base::MessageLoopProxy::current()); base 100 sync/api/attachments/fake_attachment_store_unittest.cc scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); base 110 sync/api/attachments/fake_attachment_store_unittest.cc FakeAttachmentStore store(base::MessageLoopProxy::current()); base 111 sync/api/attachments/fake_attachment_store_unittest.cc scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); base 28 sync/api/sync_change_processor.h typedef base::Callback<void(const SyncData&)> GetSyncDataCallback; base 51 sync/api/sync_change_unittest.cc scoped_ptr<base::DictionaryValue> ref_spec(EntitySpecificsToValue(specifics)); base 52 sync/api/sync_change_unittest.cc scoped_ptr<base::DictionaryValue> e_spec(EntitySpecificsToValue( base 71 sync/api/sync_change_unittest.cc scoped_ptr<base::DictionaryValue> ref_spec(EntitySpecificsToValue(specifics)); base 72 sync/api/sync_change_unittest.cc scoped_ptr<base::DictionaryValue> e_spec(EntitySpecificsToValue( base 88 sync/api/sync_change_unittest.cc SyncData::CreateRemoteData(1, update_specifics, base::Time()))); base 97 sync/api/sync_change_unittest.cc SyncData::CreateRemoteData(2, add_specifics, base::Time()))); base 106 sync/api/sync_change_unittest.cc SyncData::CreateRemoteData(3, delete_specifics, base::Time()))); base 114 sync/api/sync_change_unittest.cc scoped_ptr<base::DictionaryValue> ref_spec(EntitySpecificsToValue( base 116 sync/api/sync_change_unittest.cc scoped_ptr<base::DictionaryValue> e_spec(EntitySpecificsToValue( base 71 sync/api/sync_data.cc const base::Time& remote_modification_time, base 123 sync/api/sync_data.cc base::Time(), base 131 sync/api/sync_data.cc const base::Time& modification_time, base 149 sync/api/sync_data.cc const base::Time& modification_time) { base 181 sync/api/sync_data.cc scoped_ptr<base::DictionaryValue> value( base 183 sync/api/sync_data.cc base::JSONWriter::WriteWithOptions( base 184 sync/api/sync_data.cc value.get(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &specifics); base 194 sync/api/sync_data.cc std::string id = base::Int64ToString(sync_data_remote.GetId()); base 234 sync/api/sync_data.cc const base::Time& SyncDataRemote::GetModifiedTime() const { base 73 sync/api/sync_data.h const base::Time& last_modified_time, base 78 sync/api/sync_data.h const base::Time& last_modified_time); base 134 sync/api/sync_data.h base::Time remote_modification_time_; base 151 sync/api/sync_data.h const base::Time& remote_modification_time, base 183 sync/api/sync_data.h const base::Time& GetModifiedTime() const; base 30 sync/api/sync_data_unittest.cc const base::Time kLastModifiedTime = base::Time(); base 38 sync/api/sync_data_unittest.cc base::MessageLoopProxy::current(), base 40 sync/api/sync_data_unittest.cc base::MessageLoop loop; base 43 sync/api/sync_data_unittest.cc base::WeakPtrFactory<AttachmentService> attachment_service_weak_ptr_factory; base 74 sync/api/sync_data_unittest.cc scoped_refptr<base::RefCountedMemory> bytes(new base::RefCountedString); base 30 sync/api/syncable_service.h public base::SupportsWeakPtr<SyncableService> { base 39 sync/api/syncable_service.h typedef base::Callback<void(ModelType)> StartSyncFlare; base 115 sync/engine/all_status.cc void AllStatus::OnRetryTimeChanged(base::Time retry_time) { base 130 sync/engine/all_status.cc base::AutoLock lock(mutex_); base 169 sync/engine/all_status.cc void AllStatus::SetKeystoreMigrationTime(const base::Time& migration_time) { base 46 sync/engine/all_status.h virtual void OnRetryTimeChanged(base::Time retry_time) OVERRIDE; base 64 sync/engine/all_status.h void SetKeystoreMigrationTime(const base::Time& migration_time); base 79 sync/engine/all_status.h mutable base::Lock mutex_; // Protects all data members. base 56 sync/engine/apply_control_data_updates_unittest.cc base::MessageLoop loop_; // Needed for directory init. base 137 sync/engine/apply_control_data_updates_unittest.cc base::StringPrintf("Item %" PRIuS "", i), base 144 sync/engine/apply_control_data_updates_unittest.cc base::StringPrintf("Item %" PRIuS "", i), false, base 251 sync/engine/apply_control_data_updates_unittest.cc base::StringPrintf("Item %" PRIuS "", i), base 258 sync/engine/apply_control_data_updates_unittest.cc base::StringPrintf("Item %" PRIuS "", i), false, base 12 sync/engine/backoff_delay_provider.cc using base::TimeDelta; base 31 sync/engine/backoff_delay_provider.cc const base::TimeDelta& default_initial_backoff, base 32 sync/engine/backoff_delay_provider.cc const base::TimeDelta& short_initial_backoff) base 39 sync/engine/backoff_delay_provider.cc TimeDelta BackoffDelayProvider::GetDelay(const base::TimeDelta& last_delay) { base 49 sync/engine/backoff_delay_provider.cc int rand_sign = base::RandInt(0, 1) * 2 - 1; base 36 sync/engine/backoff_delay_provider.h virtual base::TimeDelta GetDelay(const base::TimeDelta& last_delay); base 40 sync/engine/backoff_delay_provider.h virtual base::TimeDelta GetInitialDelay( base 44 sync/engine/backoff_delay_provider.h BackoffDelayProvider(const base::TimeDelta& default_initial_backoff, base 45 sync/engine/backoff_delay_provider.h const base::TimeDelta& short_initial_backoff); base 48 sync/engine/backoff_delay_provider.h const base::TimeDelta default_initial_backoff_; base 49 sync/engine/backoff_delay_provider.h const base::TimeDelta short_initial_backoff_; base 14 sync/engine/backoff_delay_provider_unittest.cc using base::TimeDelta; base 104 sync/engine/commit.cc base::Time::Now(), base 117 sync/engine/commit.cc base::Time::Now(), base 108 sync/engine/commit_util.cc base::TruncateUTF8ToByteSize(name, 255, &name); base 73 sync/engine/directory_commit_contribution_unittest.cc base::MessageLoop loop_; // Neeed to initialize the directory. base 75 sync/engine/directory_update_handler.cc WorkCallback c = base::Bind( base 78 sync/engine/directory_update_handler.cc base::Unretained(this), base 79 sync/engine/directory_update_handler.cc base::Unretained(status)); base 88 sync/engine/directory_update_handler_unittest.cc base::MessageLoop loop_; // Needed to initialize the directory. base 365 sync/engine/directory_update_handler_unittest.cc base::MessageLoop loop_; // Needed to initialize the directory. base 92 sync/engine/get_updates_delegate.cc base::Time timestamp, base 117 sync/engine/get_updates_delegate.cc base::Time timestamp, base 167 sync/engine/get_updates_delegate.cc base::Time timestamp, base 38 sync/engine/get_updates_delegate.h base::Time timestamp, base 59 sync/engine/get_updates_delegate.h base::Time timestamp, base 89 sync/engine/get_updates_delegate.h base::Time timestamp, base 117 sync/engine/get_updates_delegate.h base::Time timestamp, base 225 sync/engine/get_updates_processor.cc *(delegate_.GetNetworkRequestEvent(base::Time::Now(), *msg))); base 237 sync/engine/get_updates_processor.cc base::Time::Now(), update_response, result); base 268 sync/engine/get_updates_processor.cc base::Time::Now(), update_response, process_result); base 29 sync/engine/get_updates_processor_unittest.cc kTestStartTime(base::TimeTicks::Now()), base 72 sync/engine/get_updates_processor_unittest.cc const base::TimeTicks kTestStartTime; base 225 sync/engine/get_updates_processor_unittest.cc base::TimeTicks t1 = kTestStartTime; base 229 sync/engine/get_updates_processor_unittest.cc nudge_tracker.SetSyncCycleStartTime(t1 + base::TimeDelta::FromSeconds(1)); base 256 sync/engine/get_updates_processor_unittest.cc base::TimeTicks t1 = kTestStartTime; base 260 sync/engine/get_updates_processor_unittest.cc nudge_tracker.SetSyncCycleStartTime(t1 + base::TimeDelta::FromSeconds(1)); base 208 sync/engine/net/server_connection_manager.cc base::AutoLock lock(terminate_connection_lock_); base 219 sync/engine/net/server_connection_manager.cc base::AutoLock lock(terminate_connection_lock_); base 373 sync/engine/net/server_connection_manager.cc base::AutoLock lock(terminate_connection_lock_); base 114 sync/engine/net/server_connection_manager.h : public base::NonThreadSafe { base 295 sync/engine/net/server_connection_manager.h base::ThreadChecker thread_checker_; base 298 sync/engine/net/server_connection_manager.h base::Lock terminate_connection_lock_; base 14 sync/engine/non_blocking_type_processor_core.cc scoped_refptr<base::SequencedTaskRunner> processor_task_runner, base 15 sync/engine/non_blocking_type_processor_core.cc base::WeakPtr<NonBlockingTypeProcessor> processor) base 81 sync/engine/non_blocking_type_processor_core.cc base::WeakPtr<NonBlockingTypeProcessorCore> base 16 sync/engine/non_blocking_type_processor_core.h namespace base { base 47 sync/engine/non_blocking_type_processor_core.h public base::NonThreadSafe { base 51 sync/engine/non_blocking_type_processor_core.h scoped_refptr<base::SequencedTaskRunner> processor_task_runner, base 52 sync/engine/non_blocking_type_processor_core.h base::WeakPtr<NonBlockingTypeProcessor> processor); base 74 sync/engine/non_blocking_type_processor_core.h base::WeakPtr<NonBlockingTypeProcessorCore> AsWeakPtr(); base 80 sync/engine/non_blocking_type_processor_core.h scoped_refptr<base::SequencedTaskRunner> processor_task_runner_; base 81 sync/engine/non_blocking_type_processor_core.h base::WeakPtr<NonBlockingTypeProcessor> processor_; base 83 sync/engine/non_blocking_type_processor_core.h base::WeakPtrFactory<NonBlockingTypeProcessorCore> weak_ptr_factory_; base 32 sync/engine/sync_engine_event_listener.h virtual void OnRetryTimeChanged(base::Time retry_time) = 0; base 33 sync/engine/sync_scheduler.h const base::Closure& ready_task, base 34 sync/engine/sync_scheduler.h const base::Closure& retry_task); base 44 sync/engine/sync_scheduler.h base::Closure ready_task; base 46 sync/engine/sync_scheduler.h base::Closure retry_task; base 99 sync/engine/sync_scheduler.h const base::TimeDelta& desired_delay, base 108 sync/engine/sync_scheduler.h const base::TimeDelta& desired_delay, base 117 sync/engine/sync_scheduler.h const base::TimeDelta& desired_delay, base 124 sync/engine/sync_scheduler.h virtual base::TimeDelta GetSessionsCommitDelay() const = 0; base 25 sync/engine/sync_scheduler_impl.cc using base::TimeDelta; base 26 sync/engine/sync_scheduler_impl.cc using base::TimeTicks; base 76 sync/engine/sync_scheduler_impl.cc const base::Closure& ready_task, base 77 sync/engine/sync_scheduler_impl.cc const base::Closure& retry_task) base 219 sync/engine/sync_scheduler_impl.cc std::string thread_name = base::MessageLoop::current()->thread_name(); base 240 sync/engine/sync_scheduler_impl.cc nudge_tracker_.SetSyncCycleStartTime(base::TimeTicks::Now()); base 444 sync/engine/sync_scheduler_impl.cc base::Bind(&SyncSchedulerImpl::PerformDelayedNudge, base 479 sync/engine/sync_scheduler_impl.cc scheduled_nudge_time_ = base::TimeTicks(); base 483 sync/engine/sync_scheduler_impl.cc NotifyRetryTime(base::Time()); base 525 sync/engine/sync_scheduler_impl.cc NotifyRetryTime(base::Time()); base 555 sync/engine/sync_scheduler_impl.cc base::AutoReset<bool> protector(&no_scheduling_allowed_, true); base 576 sync/engine/sync_scheduler_impl.cc base::TimeTicks now = TimeTicks::Now(); base 579 sync/engine/sync_scheduler_impl.cc base::TimeTicks previous = last_local_nudges_by_model_type_[iter.Get()]; base 606 sync/engine/sync_scheduler_impl.cc last_poll_reset_ = base::TimeTicks::Now(); base 623 sync/engine/sync_scheduler_impl.cc NotifyRetryTime(base::Time::Now() + wait_interval_->length); base 630 sync/engine/sync_scheduler_impl.cc base::Bind(&SyncSchedulerImpl::Unthrottle, base 636 sync/engine/sync_scheduler_impl.cc base::Bind(&SyncSchedulerImpl::ExponentialBackoffRetry, base 648 sync/engine/sync_scheduler_impl.cc NotifyRetryTime(base::Time()); base 666 sync/engine/sync_scheduler_impl.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind( base 675 sync/engine/sync_scheduler_impl.cc nudge_tracker_.SetSyncCycleStartTime(base::TimeTicks::Now()); base 688 sync/engine/sync_scheduler_impl.cc ((base::TimeTicks::Now() - last_poll_reset_) >= GetPollInterval())) { base 746 sync/engine/sync_scheduler_impl.cc NotifyRetryTime(base::Time()); base 757 sync/engine/sync_scheduler_impl.cc void SyncSchedulerImpl::TypeUnthrottle(base::TimeTicks unthrottle_time) { base 763 sync/engine/sync_scheduler_impl.cc const base::TimeTicks now = base::TimeTicks::Now(); base 764 sync/engine/sync_scheduler_impl.cc base::TimeDelta time_until_next_unthrottle = base 769 sync/engine/sync_scheduler_impl.cc base::Bind(&SyncSchedulerImpl::TypeUnthrottle, base 796 sync/engine/sync_scheduler_impl.cc void SyncSchedulerImpl::NotifyRetryTime(base::Time retry_time) { base 814 sync/engine/sync_scheduler_impl.cc void SyncSchedulerImpl::OnThrottled(const base::TimeDelta& throttle_duration) { base 818 sync/engine/sync_scheduler_impl.cc NotifyRetryTime(base::Time::Now() + wait_interval_->length); base 824 sync/engine/sync_scheduler_impl.cc const base::TimeDelta& throttle_duration) { base 825 sync/engine/sync_scheduler_impl.cc base::TimeTicks now = base::TimeTicks::Now(); base 828 sync/engine/sync_scheduler_impl.cc base::TimeDelta time_until_next_unthrottle = base 833 sync/engine/sync_scheduler_impl.cc base::Bind(&SyncSchedulerImpl::TypeUnthrottle, base 846 sync/engine/sync_scheduler_impl.cc const base::TimeDelta& new_interval) { base 852 sync/engine/sync_scheduler_impl.cc const base::TimeDelta& new_interval) { base 858 sync/engine/sync_scheduler_impl.cc const base::TimeDelta& new_delay) { base 885 sync/engine/sync_scheduler_impl.cc void SyncSchedulerImpl::OnReceivedGuRetryDelay(const base::TimeDelta& delay) { base 906 sync/engine/sync_scheduler_impl.cc base::TimeDelta SyncSchedulerImpl::GetSessionsCommitDelay() const { base 42 sync/engine/sync_scheduler_impl.h public base::NonThreadSafe { base 59 sync/engine/sync_scheduler_impl.h const base::TimeDelta& desired_delay, base 63 sync/engine/sync_scheduler_impl.h const base::TimeDelta& desired_delay, base 67 sync/engine/sync_scheduler_impl.h const base::TimeDelta& desired_delay, base 72 sync/engine/sync_scheduler_impl.h virtual base::TimeDelta GetSessionsCommitDelay() const OVERRIDE; base 78 sync/engine/sync_scheduler_impl.h virtual void OnThrottled(const base::TimeDelta& throttle_duration) OVERRIDE; base 81 sync/engine/sync_scheduler_impl.h const base::TimeDelta& throttle_duration) OVERRIDE; base 84 sync/engine/sync_scheduler_impl.h const base::TimeDelta& new_interval) OVERRIDE; base 86 sync/engine/sync_scheduler_impl.h const base::TimeDelta& new_interval) OVERRIDE; base 88 sync/engine/sync_scheduler_impl.h const base::TimeDelta& new_delay) OVERRIDE; base 92 sync/engine/sync_scheduler_impl.h virtual void OnReceivedGuRetryDelay(const base::TimeDelta& delay) OVERRIDE; base 141 sync/engine/sync_scheduler_impl.h WaitInterval(Mode mode, base::TimeDelta length); base 146 sync/engine/sync_scheduler_impl.h base::TimeDelta length; base 165 sync/engine/sync_scheduler_impl.h base::TimeDelta GetPollInterval(); base 185 sync/engine/sync_scheduler_impl.h const base::TimeDelta& delay, base 189 sync/engine/sync_scheduler_impl.h void NotifyRetryTime(base::Time retry_time); base 207 sync/engine/sync_scheduler_impl.h void TypeUnthrottle(base::TimeTicks unthrottle_time); base 249 sync/engine/sync_scheduler_impl.h base::TimeDelta syncer_short_poll_interval_seconds_; base 250 sync/engine/sync_scheduler_impl.h base::TimeDelta syncer_long_poll_interval_seconds_; base 253 sync/engine/sync_scheduler_impl.h base::TimeDelta sessions_commit_delay_; base 256 sync/engine/sync_scheduler_impl.h base::RepeatingTimer<SyncSchedulerImpl> poll_timer_; base 267 sync/engine/sync_scheduler_impl.h base::OneShotTimer<SyncSchedulerImpl> pending_wakeup_timer_; base 270 sync/engine/sync_scheduler_impl.h base::OneShotTimer<SyncSchedulerImpl> type_unthrottle_timer_; base 277 sync/engine/sync_scheduler_impl.h base::TimeTicks scheduled_nudge_time_; base 290 sync/engine/sync_scheduler_impl.h typedef std::map<ModelType, base::TimeTicks> ModelTypeTimeMap; base 312 sync/engine/sync_scheduler_impl.h base::TimeTicks last_poll_reset_; base 323 sync/engine/sync_scheduler_impl.h base::OneShotTimer<SyncSchedulerImpl> retry_timer_; base 325 sync/engine/sync_scheduler_impl.h base::WeakPtrFactory<SyncSchedulerImpl> weak_ptr_factory_; base 329 sync/engine/sync_scheduler_impl.h base::WeakPtrFactory<SyncSchedulerImpl> weak_ptr_factory_for_weak_handle_; base 27 sync/engine/sync_scheduler_unittest.cc using base::TimeDelta; base 28 sync/engine/sync_scheduler_unittest.cc using base::TimeTicks; base 67 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->QuitNow(); base 71 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->Run(); base 78 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&QuitLoopNow)); base 82 sync/engine/sync_scheduler_unittest.cc void PumpLoopFor(base::TimeDelta time) { base 84 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 85 sync/engine/sync_scheduler_unittest.cc FROM_HERE, base::Bind(&QuitLoopNow), time); base 190 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->PostTask( base 192 sync/engine/sync_scheduler_unittest.cc base::Bind(&SyncSchedulerTest::DoQuitLoopNow, base 218 sync/engine/sync_scheduler_unittest.cc base::TimeDelta GetRetryTimerDelay() { base 228 sync/engine/sync_scheduler_unittest.cc base::MessageLoop loop_; base 240 sync/engine/sync_scheduler_unittest.cc base::WeakPtrFactory<SyncSchedulerTest> weak_ptr_factory_; base 249 sync/engine/sync_scheduler_unittest.cc if (base::MessageLoop::current()->is_running()) base 258 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->is_running()) { base 325 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 326 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 355 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 356 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 402 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 403 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 431 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 432 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 672 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 673 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 762 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 763 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 883 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 884 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 987 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 988 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 1024 sync/engine/sync_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(1), base 1041 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 1042 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 1181 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1186 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1213 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1248 sync/engine/sync_scheduler_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 1269 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&ready_counter)), base 1270 sync/engine/sync_scheduler_unittest.cc base::Bind(&CallbackCounter::Callback, base::Unretained(&retry_counter))); base 1312 sync/engine/sync_scheduler_unittest.cc base::TimeDelta delay = base::TimeDelta::FromMilliseconds(1); base 1334 sync/engine/sync_scheduler_unittest.cc base::TimeDelta delay = base::TimeDelta::FromMilliseconds(1); base 1365 sync/engine/sync_scheduler_unittest.cc base::TimeDelta delay1 = base::TimeDelta::FromMilliseconds(100); base 1366 sync/engine/sync_scheduler_unittest.cc base::TimeDelta delay2 = base::TimeDelta::FromMilliseconds(200); base 29 sync/engine/syncer.cc using base::Time; base 30 sync/engine/syncer.cc using base::TimeDelta; base 296 sync/engine/syncer_proto_util.cc base::TimeDelta SyncerProtoUtil::GetThrottleDelay( base 298 sync/engine/syncer_proto_util.cc base::TimeDelta throttle_delay = base 299 sync/engine/syncer_proto_util.cc base::TimeDelta::FromSeconds(kSyncDelayAfterThrottled); base 304 sync/engine/syncer_proto_util.cc base::TimeDelta::FromSeconds(command.throttle_delay_seconds()); base 410 sync/engine/syncer_proto_util.cc base::TimeDelta::FromSeconds(command.set_sync_long_poll_interval())); base 415 sync/engine/syncer_proto_util.cc base::TimeDelta::FromSeconds(command.set_sync_poll_interval())); base 420 sync/engine/syncer_proto_util.cc base::TimeDelta::FromSeconds( base 431 sync/engine/syncer_proto_util.cc base::TimeDelta::FromSeconds(command.gu_retry_delay_seconds())); base 540 sync/engine/syncer_proto_util.cc return base::StringPrintf( base 133 sync/engine/syncer_proto_util.h static base::TimeDelta GetThrottleDelay( base 42 sync/engine/syncer_proto_util_unittest.cc MOCK_METHOD1(OnReceivedShortPollIntervalUpdate, void(const base::TimeDelta&)); base 43 sync/engine/syncer_proto_util_unittest.cc MOCK_METHOD1(OnReceivedLongPollIntervalUpdate ,void(const base::TimeDelta&)); base 44 sync/engine/syncer_proto_util_unittest.cc MOCK_METHOD1(OnReceivedSessionsCommitDelay, void(const base::TimeDelta&)); base 200 sync/engine/syncer_proto_util_unittest.cc base::MessageLoop message_loop_; base 58 sync/engine/syncer_unittest.cc using base::TimeDelta; base 124 sync/engine/syncer_unittest.cc virtual void OnThrottled(const base::TimeDelta& throttle_duration) OVERRIDE { base 129 sync/engine/syncer_unittest.cc const base::TimeDelta& throttle_duration) OVERRIDE { base 136 sync/engine/syncer_unittest.cc const base::TimeDelta& new_interval) OVERRIDE { base 140 sync/engine/syncer_unittest.cc const base::TimeDelta& new_interval) OVERRIDE { base 144 sync/engine/syncer_unittest.cc const base::TimeDelta& new_delay) OVERRIDE { base 151 sync/engine/syncer_unittest.cc virtual void OnReceivedGuRetryDelay(const base::TimeDelta& delay) OVERRIDE {} base 180 sync/engine/syncer_unittest.cc virtual void OnRetryTimeChanged(base::Time retry_time) OVERRIDE {} base 364 sync/engine/syncer_unittest.cc const base::Time& now_plus_30s = base 365 sync/engine/syncer_unittest.cc base::Time::Now() + base::TimeDelta::FromSeconds(30); base 366 sync/engine/syncer_unittest.cc const base::Time& now_minus_2h = base 367 sync/engine/syncer_unittest.cc base::Time::Now() - base::TimeDelta::FromHours(2); base 481 sync/engine/syncer_unittest.cc base::MessageLoop message_loop_; base 505 sync/engine/syncer_unittest.cc base::TimeDelta last_short_poll_interval_received_; base 506 sync/engine/syncer_unittest.cc base::TimeDelta last_long_poll_interval_received_; base 507 sync/engine/syncer_unittest.cc base::TimeDelta last_sessions_commit_delay_seconds_; base 1196 sync/engine/syncer_unittest.cc const base::Time& now_minus_2h = base 1197 sync/engine/syncer_unittest.cc base::Time::Now() - base::TimeDelta::FromHours(2); base 2067 sync/engine/syncer_unittest.cc base::Bind(&EntryCreatedInNewFolderTest::CreateFolderInBob, base 2068 sync/engine/syncer_unittest.cc base::Unretained(this))); base 2176 sync/engine/syncer_unittest.cc const base::Time& test_time = ProtoTimeToTime(123456); base 2465 sync/engine/syncer_unittest.cc string nameutf8 = base::StringPrintf("%d", i); base 2488 sync/engine/syncer_unittest.cc string nameutf8 = base::StringPrintf("%d", i); base 2518 sync/engine/syncer_unittest.cc string nameutf8 = base::StringPrintf("%d", i); base 4380 sync/engine/syncer_unittest.cc base::Bind(&SyncerUndeletionTest::Undelete, base::Unretained(this))); base 4407 sync/engine/syncer_unittest.cc mock_server_->SetMidCommitCallback(base::Closure()); base 21 sync/engine/traffic_logger.cc base::DictionaryValue* (*to_dictionary_value)(const T&, bool), base 24 sync/engine/traffic_logger.cc scoped_ptr<base::DictionaryValue> value( base 27 sync/engine/traffic_logger.cc base::JSONWriter::WriteWithOptions(value.get(), base 28 sync/engine/traffic_logger.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 150 sync/internal_api/base_node.cc base::Time BaseNode::GetModificationTime() const { base 211 sync/internal_api/base_node.cc base::DictionaryValue* BaseNode::ToValue() const { base 20 sync/internal_api/change_record.cc base::DictionaryValue* ChangeRecord::ToValue() const { base 21 sync/internal_api/change_record.cc base::DictionaryValue* value = new base::DictionaryValue(); base 39 sync/internal_api/change_record.cc value->SetString("id", base::Int64ToString(id)); base 58 sync/internal_api/change_record.cc base::DictionaryValue* ExtraPasswordChangeRecordData::ToValue() const { base 108 sync/internal_api/debug_info_event_listener.cc base::Time explicit_passphrase_time) { base 171 sync/internal_api/debug_info_event_listener.cc base::WeakPtr<DataTypeDebugInfoListener> DebugInfoEventListener::GetWeakPtr() { base 72 sync/internal_api/debug_info_event_listener.h base::Time explicit_passphrase_time) OVERRIDE; base 90 sync/internal_api/debug_info_event_listener.h base::WeakPtr<DataTypeDebugInfoListener> GetWeakPtr(); base 114 sync/internal_api/debug_info_event_listener.h base::ThreadChecker thread_checker_; base 116 sync/internal_api/debug_info_event_listener.h base::WeakPtrFactory<DebugInfoEventListener> weak_ptr_factory_; base 14 sync/internal_api/events/commit_request_event.cc base::Time timestamp, base 25 sync/internal_api/events/commit_request_event.cc base::Time CommitRequestEvent::GetTimestamp() const { base 34 sync/internal_api/events/commit_request_event.cc return base::StringPrintf( base 41 sync/internal_api/events/commit_request_event.cc scoped_ptr<base::DictionaryValue> CommitRequestEvent::GetProtoMessage() const { base 42 sync/internal_api/events/commit_request_event.cc return scoped_ptr<base::DictionaryValue>( base 13 sync/internal_api/events/commit_response_event.cc base::Time timestamp, base 22 sync/internal_api/events/commit_response_event.cc base::Time CommitResponseEvent::GetTimestamp() const { base 31 sync/internal_api/events/commit_response_event.cc return base::StringPrintf("Result: %s", GetSyncerErrorString(result_)); base 34 sync/internal_api/events/commit_response_event.cc scoped_ptr<base::DictionaryValue> CommitResponseEvent::GetProtoMessage() const { base 35 sync/internal_api/events/commit_response_event.cc return scoped_ptr<base::DictionaryValue>( base 14 sync/internal_api/events/configure_get_updates_request_event.cc base::Time timestamp, base 23 sync/internal_api/events/configure_get_updates_request_event.cc base::Time ConfigureGetUpdatesRequestEvent::GetTimestamp() const { base 32 sync/internal_api/events/configure_get_updates_request_event.cc return base::StringPrintf("Reason: %s", GetUpdatesOriginString(origin_)); base 35 sync/internal_api/events/configure_get_updates_request_event.cc scoped_ptr<base::DictionaryValue> base 37 sync/internal_api/events/configure_get_updates_request_event.cc return scoped_ptr<base::DictionaryValue>( base 13 sync/internal_api/events/get_updates_response_event.cc base::Time timestamp, base 23 sync/internal_api/events/get_updates_response_event.cc base::Time GetUpdatesResponseEvent::GetTimestamp() const { base 34 sync/internal_api/events/get_updates_response_event.cc return base::StringPrintf("Received %d update(s).", base 37 sync/internal_api/events/get_updates_response_event.cc return base::StringPrintf("Received %d update(s). Some updates remain.", base 40 sync/internal_api/events/get_updates_response_event.cc return base::StringPrintf("Received error: %s", base 45 sync/internal_api/events/get_updates_response_event.cc scoped_ptr<base::DictionaryValue> base 47 sync/internal_api/events/get_updates_response_event.cc return scoped_ptr<base::DictionaryValue>( base 14 sync/internal_api/events/normal_get_updates_request_event.cc base::Time timestamp, base 26 sync/internal_api/events/normal_get_updates_request_event.cc base::Time NormalGetUpdatesRequestEvent::GetTimestamp() const { base 40 sync/internal_api/events/normal_get_updates_request_event.cc details.append(base::StringPrintf( base 48 sync/internal_api/events/normal_get_updates_request_event.cc details.append(base::StringPrintf( base 56 sync/internal_api/events/normal_get_updates_request_event.cc details.append(base::StringPrintf( base 64 sync/internal_api/events/normal_get_updates_request_event.cc details.append(base::StringPrintf("Is retry: True")); base 70 sync/internal_api/events/normal_get_updates_request_event.cc scoped_ptr<base::DictionaryValue> base 72 sync/internal_api/events/normal_get_updates_request_event.cc return scoped_ptr<base::DictionaryValue>( base 88 sync/internal_api/events/normal_get_updates_request_event.cc base::Time timestamp, base 12 sync/internal_api/events/poll_get_updates_request_event.cc base::Time timestamp, base 19 sync/internal_api/events/poll_get_updates_request_event.cc base::Time PollGetUpdatesRequestEvent::GetTimestamp() const { base 31 sync/internal_api/events/poll_get_updates_request_event.cc scoped_ptr<base::DictionaryValue> base 33 sync/internal_api/events/poll_get_updates_request_event.cc return scoped_ptr<base::DictionaryValue>( base 13 sync/internal_api/events/protocol_event.cc scoped_ptr<base::DictionaryValue> ProtocolEvent::ToValue( base 15 sync/internal_api/events/protocol_event.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 55 sync/internal_api/http_bridge.cc scoped_refptr<base::SingleThreadTaskRunner> base 79 sync/internal_api/http_bridge.cc base::AutoLock lock(context_getter_lock_); base 93 sync/internal_api/http_bridge.cc base::AutoLock lock(context_getter_lock_); base 112 sync/internal_api/http_bridge.cc base::AutoLock lock(context_getter_lock_); base 123 sync/internal_api/http_bridge.cc const scoped_refptr<base::SingleThreadTaskRunner>& base 183 sync/internal_api/http_bridge.cc : created_on_loop_(base::MessageLoop::current()), base 202 sync/internal_api/http_bridge.cc DCHECK_EQ(base::MessageLoop::current(), created_on_loop_); base 204 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 212 sync/internal_api/http_bridge.cc std::string port_str = base::IntToString(port); base 222 sync/internal_api/http_bridge.cc DCHECK_EQ(base::MessageLoop::current(), created_on_loop_); base 224 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 243 sync/internal_api/http_bridge.cc DCHECK_EQ(base::MessageLoop::current(), created_on_loop_); base 245 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 254 sync/internal_api/http_bridge.cc base::Bind(&HttpBridge::CallMakeAsynchronousPost, this))) { base 264 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 273 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 285 sync/internal_api/http_bridge.cc fetch_state_.start_time = base::Time::Now(); base 290 sync/internal_api/http_bridge.cc DCHECK_EQ(base::MessageLoop::current(), created_on_loop_); base 291 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 297 sync/internal_api/http_bridge.cc DCHECK_EQ(base::MessageLoop::current(), created_on_loop_); base 298 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 306 sync/internal_api/http_bridge.cc DCHECK_EQ(base::MessageLoop::current(), created_on_loop_); base 307 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 316 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 329 sync/internal_api/http_bridge.cc base::Bind(&HttpBridge::DestroyURLFetcherOnIOThread, this, base 347 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 351 sync/internal_api/http_bridge.cc fetch_state_.end_time = base::Time::Now(); base 371 sync/internal_api/http_bridge.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, fetch_state_.url_poster); base 381 sync/internal_api/http_bridge.cc base::AutoLock lock(fetch_state_lock_); base 395 sync/internal_api/http_bridge.cc if (base::StringToInt64(sane_time_str, &sane_time_ms)) { base 397 sync/internal_api/http_bridge.cc base::Time::FromJsTime(sane_time_ms), base 398 sync/internal_api/http_bridge.cc base::TimeDelta::FromMilliseconds(1), base 20 sync/internal_api/http_bridge_unittest.cc const base::FilePath::CharType kDocRoot[] = base 29 sync/internal_api/http_bridge_unittest.cc base::FilePath(kDocRoot)), base 36 sync/internal_api/http_bridge_unittest.cc base::Thread::Options options; base 37 sync/internal_api/http_bridge_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 70 sync/internal_api/http_bridge_unittest.cc void RunSyncThreadBridgeUseTest(base::WaitableEvent* signal_when_created, base 71 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent* signal_when_released); base 73 sync/internal_api/http_bridge_unittest.cc static void TestSameHttpNetworkSession(base::MessageLoop* main_message_loop, base 84 sync/internal_api/http_bridge_unittest.cc main_message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); base 87 sync/internal_api/http_bridge_unittest.cc base::MessageLoop* GetIOThreadLoop() { return io_thread_.message_loop(); } base 96 sync/internal_api/http_bridge_unittest.cc base::Thread* io_thread() { return &io_thread_; } base 108 sync/internal_api/http_bridge_unittest.cc base::Thread io_thread_; base 109 sync/internal_api/http_bridge_unittest.cc base::MessageLoop loop_; base 129 sync/internal_api/http_bridge_unittest.cc ASSERT_TRUE(base::MessageLoop::current() == test_->GetIOThreadLoop()); base 136 sync/internal_api/http_bridge_unittest.cc base::Bind(&ShuntedHttpBridge::CallOnURLFetchComplete, this)); base 142 sync/internal_api/http_bridge_unittest.cc ASSERT_TRUE(base::MessageLoop::current() == test_->GetIOThreadLoop()); base 159 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent* signal_when_created, base 160 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent* signal_when_released) { base 184 sync/internal_api/http_bridge_unittest.cc base::Bind(&SyncHttpBridgeTest::TestSameHttpNetworkSession, base 185 sync/internal_api/http_bridge_unittest.cc base::MessageLoop::current(), base 187 sync/internal_api/http_bridge_unittest.cc base::MessageLoop::current()->Run(); base 326 sync/internal_api/http_bridge_unittest.cc base::Bind(&SyncHttpBridgeTest::Abort, http_bridge)); base 354 sync/internal_api/http_bridge_unittest.cc base::Thread sync_thread("SyncThread"); base 358 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent signal_when_created(false, false); base 359 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent signal_when_released(false, false); base 361 sync/internal_api/http_bridge_unittest.cc base::Bind(&SyncHttpBridgeTest::RunSyncThreadBridgeUseTest, base 362 sync/internal_api/http_bridge_unittest.cc base::Unretained(this), base 367 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent io_waiter(false, false); base 370 sync/internal_api/http_bridge_unittest.cc base::Bind(&base::WaitableEvent::Wait, base::Unretained(&io_waiter)))); base 388 sync/internal_api/http_bridge_unittest.cc base::Bind(&net::URLFetcherDelegate::OnURLFetchComplete, base 389 sync/internal_api/http_bridge_unittest.cc base::Unretained(delegate), &fetcher))); base 414 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent* signal_when_created, base 415 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent* wait_for_shutdown) { base 432 sync/internal_api/http_bridge_unittest.cc void WaitOnIOThread(base::WaitableEvent* signal_wait_start, base 433 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent* wait_done) { base 441 sync/internal_api/http_bridge_unittest.cc base::Thread sync_thread("SyncThread"); base 450 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent signal_when_created(false, false); base 451 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent wait_for_shutdown(false, false); base 458 sync/internal_api/http_bridge_unittest.cc base::Bind(&HttpBridgeRunOnSyncThread, base 459 sync/internal_api/http_bridge_unittest.cc base::Unretained(baseline_context_getter.get()), base 471 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent signal_wait_start(false, false); base 472 sync/internal_api/http_bridge_unittest.cc base::WaitableEvent wait_done(false, false); base 475 sync/internal_api/http_bridge_unittest.cc base::Bind(&WaitOnIOThread, &signal_wait_start, &wait_done)); base 13 sync/internal_api/internal_components_factory_impl.cc using base::TimeDelta; base 62 sync/internal_api/internal_components_factory_impl.cc const std::string& dir_name, const base::FilePath& backing_filepath) { base 25 sync/internal_api/js_mutation_event_observer.cc base::WeakPtr<JsMutationEventObserver> JsMutationEventObserver::AsWeakPtr() { base 53 sync/internal_api/js_mutation_event_observer.cc base::DictionaryValue details; base 56 sync/internal_api/js_mutation_event_observer.cc base::Int64ToString(write_transaction_id)); base 57 sync/internal_api/js_mutation_event_observer.cc base::Value* changes_value = NULL; base 60 sync/internal_api/js_mutation_event_observer.cc base::ListValue* changes_list = new base::ListValue(); base 68 sync/internal_api/js_mutation_event_observer.cc new base::StringValue( base 69 sync/internal_api/js_mutation_event_observer.cc base::Uint64ToString(static_cast<uint64>(changes_size)) + base 80 sync/internal_api/js_mutation_event_observer.cc base::DictionaryValue details; base 92 sync/internal_api/js_mutation_event_observer.cc base::DictionaryValue details; base 33 sync/internal_api/js_mutation_event_observer.h public base::NonThreadSafe { base 39 sync/internal_api/js_mutation_event_observer.h base::WeakPtr<JsMutationEventObserver> AsWeakPtr(); base 64 sync/internal_api/js_mutation_event_observer.h base::WeakPtrFactory<JsMutationEventObserver> weak_ptr_factory_; base 32 sync/internal_api/js_mutation_event_observer_unittest.cc base::MessageLoop message_loop_; base 73 sync/internal_api/js_mutation_event_observer_unittest.cc base::DictionaryValue expected_details; base 76 sync/internal_api/js_mutation_event_observer_unittest.cc base::ListValue* expected_changes = new base::ListValue(); base 101 sync/internal_api/js_mutation_event_observer_unittest.cc base::DictionaryValue expected_details; base 38 sync/internal_api/js_sync_encryption_handler_observer.cc base::DictionaryValue details; base 48 sync/internal_api/js_sync_encryption_handler_observer.cc base::DictionaryValue details; base 58 sync/internal_api/js_sync_encryption_handler_observer.cc base::DictionaryValue details; base 70 sync/internal_api/js_sync_encryption_handler_observer.cc base::DictionaryValue details; base 82 sync/internal_api/js_sync_encryption_handler_observer.cc base::DictionaryValue details; base 91 sync/internal_api/js_sync_encryption_handler_observer.cc base::DictionaryValue details; base 103 sync/internal_api/js_sync_encryption_handler_observer.cc base::Time explicit_passphrase_time) { base 107 sync/internal_api/js_sync_encryption_handler_observer.cc base::DictionaryValue details; base 51 sync/internal_api/js_sync_encryption_handler_observer.h base::Time explicit_passphrase_time) OVERRIDE; base 37 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc base::MessageLoop message_loop_; base 62 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc base::DictionaryValue reason_passphrase_not_required_details; base 63 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc base::DictionaryValue reason_encryption_details; base 64 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc base::DictionaryValue reason_decryption_details; base 98 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc base::DictionaryValue bootstrap_token_details; base 113 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc base::DictionaryValue expected_details; base 114 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc base::ListValue* encrypted_type_values = new base::ListValue(); base 123 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc encrypted_type_values->Append(new base::StringValue( base 138 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc base::DictionaryValue expected_details; base 160 sync/internal_api/js_sync_encryption_handler_observer_unittest.cc base::DictionaryValue passphrase_type_details; base 37 sync/internal_api/js_sync_manager_observer.cc base::DictionaryValue details; base 46 sync/internal_api/js_sync_manager_observer.cc base::DictionaryValue details; base 57 sync/internal_api/js_sync_manager_observer.cc base::DictionaryValue details; base 78 sync/internal_api/js_sync_manager_observer.cc base::DictionaryValue details; base 36 sync/internal_api/js_sync_manager_observer_unittest.cc base::MessageLoop message_loop_; base 48 sync/internal_api/js_sync_manager_observer_unittest.cc base::DictionaryValue expected_details; base 76 sync/internal_api/js_sync_manager_observer_unittest.cc base::Time::Now(), base 80 sync/internal_api/js_sync_manager_observer_unittest.cc base::DictionaryValue expected_details; base 95 sync/internal_api/js_sync_manager_observer_unittest.cc base::DictionaryValue expected_details; base 109 sync/internal_api/js_sync_manager_observer_unittest.cc base::DictionaryValue expected_details; base 39 sync/internal_api/non_blocking_type_processor.cc core_ = base::WeakPtr<NonBlockingTypeProcessorCore>(); base 40 sync/internal_api/non_blocking_type_processor.cc sync_thread_ = scoped_refptr<base::SequencedTaskRunner>(); base 43 sync/internal_api/non_blocking_type_processor.cc base::WeakPtr<NonBlockingTypeProcessor> NonBlockingTypeProcessor::AsWeakPtr() { base 49 sync/internal_api/non_blocking_type_processor.cc base::WeakPtr<NonBlockingTypeProcessorCore> core, base 50 sync/internal_api/non_blocking_type_processor.cc scoped_refptr<base::SequencedTaskRunner> sync_thread) { base 36 sync/internal_api/protocol_event_buffer_unittest.cc base::Time::FromInternalValue(id), base 41 sync/internal_api/protocol_event_buffer_unittest.cc return event.GetTimestamp() == base::Time::FromInternalValue(id); base 22 sync/internal_api/public/base/ack_handle.cc base::RandBytes(random_bytes, sizeof(random_bytes)); base 23 sync/internal_api/public/base/ack_handle.cc return AckHandle(base::HexEncode(random_bytes, sizeof(random_bytes)), base 24 sync/internal_api/public/base/ack_handle.cc base::Time::Now()); base 28 sync/internal_api/public/base/ack_handle.cc return AckHandle(std::string(), base::Time()); base 35 sync/internal_api/public/base/ack_handle.cc scoped_ptr<base::DictionaryValue> AckHandle::ToValue() const { base 36 sync/internal_api/public/base/ack_handle.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 39 sync/internal_api/public/base/ack_handle.cc base::Int64ToString(timestamp_.ToInternalValue())); base 43 sync/internal_api/public/base/ack_handle.cc bool AckHandle::ResetFromValue(const base::DictionaryValue& value) { base 50 sync/internal_api/public/base/ack_handle.cc if (!base::StringToInt64(timestamp_as_string, ×tamp_value)) base 52 sync/internal_api/public/base/ack_handle.cc timestamp_ = base::Time::FromInternalValue(timestamp_value); base 60 sync/internal_api/public/base/ack_handle.cc AckHandle::AckHandle(const std::string& state, base::Time timestamp) base 15 sync/internal_api/public/base/ack_handle.h namespace base { base 30 sync/internal_api/public/base/ack_handle.h scoped_ptr<base::DictionaryValue> ToValue() const; base 31 sync/internal_api/public/base/ack_handle.h bool ResetFromValue(const base::DictionaryValue& value); base 39 sync/internal_api/public/base/ack_handle.h AckHandle(const std::string& state, base::Time timestamp); base 42 sync/internal_api/public/base/ack_handle.h base::Time timestamp_; base 21 sync/internal_api/public/base/cancelation_signal.cc base::AutoLock lock(signal_lock_); base 32 sync/internal_api/public/base/cancelation_signal.cc base::AutoLock lock(signal_lock_); base 38 sync/internal_api/public/base/cancelation_signal.cc base::AutoLock lock(signal_lock_); base 43 sync/internal_api/public/base/cancelation_signal.cc base::AutoLock lock(signal_lock_); base 61 sync/internal_api/public/base/cancelation_signal.h base::Lock signal_lock_; base 24 sync/internal_api/public/base/cancelation_signal_unittest.cc void RunAsync(base::WaitableEvent* task_start_signal, base 25 sync/internal_api/public/base/cancelation_signal_unittest.cc base::WaitableEvent* task_done_signal); base 31 sync/internal_api/public/base/cancelation_signal_unittest.cc void Run(base::WaitableEvent* task_start_signal, base 32 sync/internal_api/public/base/cancelation_signal_unittest.cc base::WaitableEvent* task_done_signal); base 44 sync/internal_api/public/base/cancelation_signal_unittest.cc base::WaitableEvent event_; base 45 sync/internal_api/public/base/cancelation_signal_unittest.cc base::Thread exec_thread_; base 62 sync/internal_api/public/base/cancelation_signal_unittest.cc void BlockingTask::RunAsync(base::WaitableEvent* task_start_signal, base 63 sync/internal_api/public/base/cancelation_signal_unittest.cc base::WaitableEvent* task_done_signal) { base 67 sync/internal_api/public/base/cancelation_signal_unittest.cc base::Bind(&BlockingTask::Run, base 68 sync/internal_api/public/base/cancelation_signal_unittest.cc base::Unretained(this), base 69 sync/internal_api/public/base/cancelation_signal_unittest.cc base::Unretained(task_start_signal), base 70 sync/internal_api/public/base/cancelation_signal_unittest.cc base::Unretained(task_done_signal))); base 74 sync/internal_api/public/base/cancelation_signal_unittest.cc base::WaitableEvent* task_start_signal, base 75 sync/internal_api/public/base/cancelation_signal_unittest.cc base::WaitableEvent* task_done_signal) { base 116 sync/internal_api/public/base/cancelation_signal_unittest.cc base::MessageLoop main_loop_; base 119 sync/internal_api/public/base/cancelation_signal_unittest.cc base::WaitableEvent task_start_event_; base 120 sync/internal_api/public/base/cancelation_signal_unittest.cc base::WaitableEvent task_done_event_; base 47 sync/internal_api/public/base/invalidation.cc const base::DictionaryValue& value) { base 50 sync/internal_api/public/base/invalidation.cc const base::DictionaryValue* object_id_dict; base 72 sync/internal_api/public/base/invalidation.cc || !base::StringToInt64(version_as_string, &version)) { base 149 sync/internal_api/public/base/invalidation.cc scoped_ptr<base::DictionaryValue> Invalidation::ToValue() const { base 150 sync/internal_api/public/base/invalidation.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 156 sync/internal_api/public/base/invalidation.cc value->SetString(kVersionKey, base::Int64ToString(version_)); base 36 sync/internal_api/public/base/invalidation.h const base::DictionaryValue& value); base 94 sync/internal_api/public/base/invalidation.h scoped_ptr<base::DictionaryValue> ToValue() const; base 103 sync/internal_api/public/base/invalidation_test_util.cc scoped_ptr<base::Value> value(ack_handle.ToValue()); base 105 sync/internal_api/public/base/invalidation_test_util.cc base::JSONWriter::Write(value.get(), &printable_ack_handle); base 19 sync/internal_api/public/base/model_type.h namespace base { base 273 sync/internal_api/public/base/model_type.h SYNC_EXPORT_PRIVATE base::StringValue* ModelTypeToValue(ModelType model_type); base 276 sync/internal_api/public/base/model_type.h SYNC_EXPORT_PRIVATE ModelType ModelTypeFromValue(const base::Value& value); base 290 sync/internal_api/public/base/model_type.h SYNC_EXPORT base::ListValue* ModelTypeSetToValue(ModelTypeSet model_types); base 292 sync/internal_api/public/base/model_type.h SYNC_EXPORT ModelTypeSet ModelTypeSetFromValue(const base::ListValue& value); base 264 sync/internal_api/public/base/ordinal.h base::EscapeBytesAsInvalidJSONString(bytes_, false /* put_in_quotes */); base 13 sync/internal_api/public/base/progress_marker_map.cc scoped_ptr<base::DictionaryValue> ProgressMarkerMapToValue( base 15 sync/internal_api/public/base/progress_marker_map.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 19 sync/internal_api/public/base/progress_marker_map.cc base::EscapeJSONString( base 20 sync/internal_api/public/base/progress_marker_map.h namespace base { base 30 sync/internal_api/public/base/progress_marker_map.h SYNC_EXPORT_PRIVATE scoped_ptr<base::DictionaryValue> ProgressMarkerMapToValue( base 197 sync/internal_api/public/base/unique_position.cc std::string debug_string = base::HexEncode(bytes.data(), bytes.length()); base 203 sync/internal_api/public/base/unique_position.cc base::HexEncode(compressed_.data(), compressed_.length()); base 393 sync/internal_api/public/base/unique_position_unittest.cc std::string input = cache_guid_ + base::Int64ToString(next_id_--); base 395 sync/internal_api/public/base/unique_position_unittest.cc base::Base64Encode(base::SHA1HashString(input), &output); base 23 sync/internal_api/public/base_node.h namespace base { base 94 sync/internal_api/public/base_node.h base::Time GetModificationTime() const; base 212 sync/internal_api/public/base_node.h base::DictionaryValue* ToValue() const; base 17 sync/internal_api/public/change_record.h namespace base { base 33 sync/internal_api/public/change_record.h virtual base::DictionaryValue* ToValue() const; base 54 sync/internal_api/public/change_record.h base::DictionaryValue* ToValue() const; base 20 sync/internal_api/public/change_record_unittest.cc using base::ExpectDictDictionaryValue; base 21 sync/internal_api/public/change_record_unittest.cc using base::ExpectDictStringValue; base 28 sync/internal_api/public/change_record_unittest.cc const base::DictionaryValue& value, base 50 sync/internal_api/public/change_record_unittest.cc const base::DictionaryValue& value) { base 52 sync/internal_api/public/change_record_unittest.cc ExpectDictStringValue(base::Int64ToString(record.id), value, "id"); base 54 sync/internal_api/public/change_record_unittest.cc scoped_ptr<base::DictionaryValue> expected_extra_value; base 58 sync/internal_api/public/change_record_unittest.cc const base::Value* extra_value = NULL; base 61 sync/internal_api/public/change_record_unittest.cc EXPECT_TRUE(base::Value::Equals(extra_value, expected_extra_value.get())); base 63 sync/internal_api/public/change_record_unittest.cc scoped_ptr<base::DictionaryValue> expected_specifics_value( base 73 sync/internal_api/public/change_record_unittest.cc MOCK_CONST_METHOD0(ToValue, base::DictionaryValue*()); base 91 sync/internal_api/public/change_record_unittest.cc scoped_ptr<base::DictionaryValue> value(record.ToValue()); base 102 sync/internal_api/public/change_record_unittest.cc scoped_ptr<base::DictionaryValue> value(record.ToValue()); base 112 sync/internal_api/public/change_record_unittest.cc scoped_ptr<base::DictionaryValue> value(record.ToValue()); base 123 sync/internal_api/public/change_record_unittest.cc base::DictionaryValue extra_value; base 128 sync/internal_api/public/change_record_unittest.cc Invoke(&extra_value, &base::DictionaryValue::DeepCopy)); base 131 sync/internal_api/public/change_record_unittest.cc scoped_ptr<base::DictionaryValue> value(record.ToValue()); base 44 sync/internal_api/public/data_type_association_stats.h base::TimeDelta association_wait_time; base 47 sync/internal_api/public/data_type_association_stats.h base::TimeDelta association_time; base 23 sync/internal_api/public/data_type_debug_info_listener.h base::TimeDelta download_wait_time; base 26 sync/internal_api/public/data_type_debug_info_listener.h base::TimeDelta download_time; base 30 sync/internal_api/public/data_type_debug_info_listener.h base::TimeDelta association_wait_time_for_high_priority; base 14 sync/internal_api/public/engine/model_safe_worker.cc base::DictionaryValue* ModelSafeRoutingInfoToValue( base 16 sync/internal_api/public/engine/model_safe_worker.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 27 sync/internal_api/public/engine/model_safe_worker.cc scoped_ptr<base::DictionaryValue> dict( base 30 sync/internal_api/public/engine/model_safe_worker.cc base::JSONWriter::Write(dict.get(), &json); base 84 sync/internal_api/public/engine/model_safe_worker.cc base::AutoLock al(stopped_lock_); base 96 sync/internal_api/public/engine/model_safe_worker.cc base::AutoLock al(stopped_lock_); base 107 sync/internal_api/public/engine/model_safe_worker.cc base::AutoLock al(stopped_lock_); base 113 sync/internal_api/public/engine/model_safe_worker.cc base::AutoLock al(stopped_lock_); base 127 sync/internal_api/public/engine/model_safe_worker.cc base::AutoLock l(working_loop_lock_); base 136 sync/internal_api/public/engine/model_safe_worker.cc base::AutoLock l(working_loop_lock_); base 138 sync/internal_api/public/engine/model_safe_worker.cc working_loop_ = base::MessageLoop::current(); base 143 sync/internal_api/public/engine/model_safe_worker.cc base::Callback<void(ModelSafeGroup)> unregister_done_callback) { base 149 sync/internal_api/public/engine/model_safe_worker.cc base::AutoLock l(working_loop_lock_); base 152 sync/internal_api/public/engine/model_safe_worker.cc DCHECK_NE(base::MessageLoop::current(), working_loop_); base 155 sync/internal_api/public/engine/model_safe_worker.cc base::Bind(&ModelSafeWorker::UnregisterForLoopDestructionAsync, base 162 sync/internal_api/public/engine/model_safe_worker.cc base::Callback<void(ModelSafeGroup)> unregister_done_callback) { base 164 sync/internal_api/public/engine/model_safe_worker.cc base::AutoLock l(working_loop_lock_); base 167 sync/internal_api/public/engine/model_safe_worker.cc DCHECK_EQ(base::MessageLoop::current(), working_loop_); base 171 sync/internal_api/public/engine/model_safe_worker.cc base::MessageLoop::current()->RemoveDestructionObserver(this); base 21 sync/internal_api/public/engine/model_safe_worker.h namespace base { base 30 sync/internal_api/public/engine/model_safe_worker.h typedef base::Callback<enum SyncerError(void)> WorkCallback; base 67 sync/internal_api/public/engine/model_safe_worker.h : public base::RefCountedThreadSafe<ModelSafeWorker>, base 68 sync/internal_api/public/engine/model_safe_worker.h public base::MessageLoop::DestructionObserver { base 79 sync/internal_api/public/engine/model_safe_worker.h base::Callback<void(ModelSafeGroup)> unregister_done_callback); base 95 sync/internal_api/public/engine/model_safe_worker.h friend class base::RefCountedThreadSafe<ModelSafeWorker>; base 105 sync/internal_api/public/engine/model_safe_worker.h base::WaitableEvent* work_done_or_stopped() { base 118 sync/internal_api/public/engine/model_safe_worker.h base::Callback<void(ModelSafeGroup)> unregister_done_callback); base 122 sync/internal_api/public/engine/model_safe_worker.h base::Lock stopped_lock_; base 127 sync/internal_api/public/engine/model_safe_worker.h base::WaitableEvent work_done_or_stopped_; base 134 sync/internal_api/public/engine/model_safe_worker.h base::Lock working_loop_lock_; base 135 sync/internal_api/public/engine/model_safe_worker.h base::MessageLoop* working_loop_; base 136 sync/internal_api/public/engine/model_safe_worker.h base::WaitableEvent working_loop_set_wait_; base 145 sync/internal_api/public/engine/model_safe_worker.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ModelSafeRoutingInfoToValue( base 22 sync/internal_api/public/engine/model_safe_worker_unittest.cc base::DictionaryValue expected_value; base 26 sync/internal_api/public/engine/model_safe_worker_unittest.cc scoped_ptr<base::DictionaryValue> value( base 11 sync/internal_api/public/engine/passive_model_worker.cc PassiveModelWorker::PassiveModelWorker(const base::MessageLoop* sync_loop, base 21 sync/internal_api/public/engine/passive_model_worker.cc base::MessageLoop::current()->AddDestructionObserver(this); base 27 sync/internal_api/public/engine/passive_model_worker.cc DCHECK_EQ(base::MessageLoop::current(), sync_loop_); base 21 sync/internal_api/public/engine/passive_model_worker.h explicit PassiveModelWorker(const base::MessageLoop* sync_loop, base 35 sync/internal_api/public/engine/passive_model_worker.h const base::MessageLoop* const sync_loop_; base 90 sync/internal_api/public/engine/sync_status.h base::Time keystore_migration_time; base 107 sync/internal_api/public/engine/sync_status.h base::Time retry_time; base 24 sync/internal_api/public/events/commit_request_event.h base::Time timestamp, base 30 sync/internal_api/public/events/commit_request_event.h virtual base::Time GetTimestamp() const OVERRIDE; base 33 sync/internal_api/public/events/commit_request_event.h virtual scoped_ptr<base::DictionaryValue> GetProtoMessage() const OVERRIDE; base 36 sync/internal_api/public/events/commit_request_event.h static scoped_ptr<base::DictionaryValue> ToValue( base 40 sync/internal_api/public/events/commit_request_event.h const base::Time timestamp_; base 24 sync/internal_api/public/events/commit_response_event.h base::Time timestamp, base 29 sync/internal_api/public/events/commit_response_event.h virtual base::Time GetTimestamp() const OVERRIDE; base 32 sync/internal_api/public/events/commit_response_event.h virtual scoped_ptr<base::DictionaryValue> GetProtoMessage() const OVERRIDE; base 35 sync/internal_api/public/events/commit_response_event.h static scoped_ptr<base::DictionaryValue> ToValue( base 39 sync/internal_api/public/events/commit_response_event.h const base::Time timestamp_; base 22 sync/internal_api/public/events/configure_get_updates_request_event.h base::Time timestamp, base 27 sync/internal_api/public/events/configure_get_updates_request_event.h virtual base::Time GetTimestamp() const OVERRIDE; base 30 sync/internal_api/public/events/configure_get_updates_request_event.h virtual scoped_ptr<base::DictionaryValue> GetProtoMessage() const OVERRIDE; base 34 sync/internal_api/public/events/configure_get_updates_request_event.h const base::Time timestamp_; base 25 sync/internal_api/public/events/get_updates_response_event.h base::Time timestamp, base 31 sync/internal_api/public/events/get_updates_response_event.h virtual base::Time GetTimestamp() const OVERRIDE; base 34 sync/internal_api/public/events/get_updates_response_event.h virtual scoped_ptr<base::DictionaryValue> GetProtoMessage() const OVERRIDE; base 38 sync/internal_api/public/events/get_updates_response_event.h const base::Time timestamp_; base 26 sync/internal_api/public/events/normal_get_updates_request_event.h base::Time timestamp, base 32 sync/internal_api/public/events/normal_get_updates_request_event.h virtual base::Time GetTimestamp() const OVERRIDE; base 35 sync/internal_api/public/events/normal_get_updates_request_event.h virtual scoped_ptr<base::DictionaryValue> GetProtoMessage() const OVERRIDE; base 40 sync/internal_api/public/events/normal_get_updates_request_event.h base::Time timestamp, base 47 sync/internal_api/public/events/normal_get_updates_request_event.h const base::Time timestamp_; base 26 sync/internal_api/public/events/poll_get_updates_request_event.h base::Time timestamp, base 30 sync/internal_api/public/events/poll_get_updates_request_event.h virtual base::Time GetTimestamp() const OVERRIDE; base 33 sync/internal_api/public/events/poll_get_updates_request_event.h virtual scoped_ptr<base::DictionaryValue> GetProtoMessage() const OVERRIDE; base 37 sync/internal_api/public/events/poll_get_updates_request_event.h const base::Time timestamp_; base 35 sync/internal_api/public/events/protocol_event.h virtual base::Time GetTimestamp() const = 0; base 46 sync/internal_api/public/events/protocol_event.h virtual scoped_ptr<base::DictionaryValue> GetProtoMessage() const = 0; base 53 sync/internal_api/public/events/protocol_event.h static scoped_ptr<base::DictionaryValue> ToValue( base 29 sync/internal_api/public/http_bridge.h namespace base { base 50 sync/internal_api/public/http_bridge.h : public base::RefCountedThreadSafe<HttpBridge>, base 65 sync/internal_api/public/http_bridge.h const scoped_refptr<base::SingleThreadTaskRunner>& base 74 sync/internal_api/public/http_bridge.h const scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 90 sync/internal_api/public/http_bridge.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 98 sync/internal_api/public/http_bridge.h const scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 135 sync/internal_api/public/http_bridge.h friend class base::RefCountedThreadSafe<HttpBridge>; base 164 sync/internal_api/public/http_bridge.h base::MessageLoop* const created_on_loop_; base 177 sync/internal_api/public/http_bridge.h base::WaitableEvent http_post_completed_; base 191 sync/internal_api/public/http_bridge.h base::Time start_time; base 192 sync/internal_api/public/http_bridge.h base::Time end_time; base 211 sync/internal_api/public/http_bridge.h mutable base::Lock fetch_state_lock_; base 218 sync/internal_api/public/http_bridge.h const scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 245 sync/internal_api/public/http_bridge.h base::Lock context_getter_lock_; base 94 sync/internal_api/public/internal_components_factory.h const base::FilePath& backing_filepath) = 0; base 39 sync/internal_api/public/internal_components_factory_impl.h const base::FilePath& backing_filepath) OVERRIDE; base 22 sync/internal_api/public/network_time_update_callback.h typedef base::Callback<void(const base::Time&, base 23 sync/internal_api/public/network_time_update_callback.h const base::TimeDelta&, base 24 sync/internal_api/public/network_time_update_callback.h const base::TimeDelta&)> NetworkTimeUpdateCallback; base 23 sync/internal_api/public/non_blocking_type_processor.h class SYNC_EXPORT_PRIVATE NonBlockingTypeProcessor : base::NonThreadSafe { base 42 sync/internal_api/public/non_blocking_type_processor.h void OnConnect(base::WeakPtr<NonBlockingTypeProcessorCore> core, base 43 sync/internal_api/public/non_blocking_type_processor.h scoped_refptr<base::SequencedTaskRunner> sync_thread); base 45 sync/internal_api/public/non_blocking_type_processor.h base::WeakPtr<NonBlockingTypeProcessor> AsWeakPtr(); base 52 sync/internal_api/public/non_blocking_type_processor.h base::WeakPtr<NonBlockingTypeProcessorCore> core_; base 53 sync/internal_api/public/non_blocking_type_processor.h scoped_refptr<base::SequencedTaskRunner> sync_thread_; base 55 sync/internal_api/public/non_blocking_type_processor.h base::WeakPtrFactory<NonBlockingTypeProcessor> weak_ptr_factory_; base 36 sync/internal_api/public/sessions/sync_session_snapshot.cc base::Time sync_start_time, base 57 sync/internal_api/public/sessions/sync_session_snapshot.cc base::DictionaryValue* SyncSessionSnapshot::ToValue() const { base 58 sync/internal_api/public/sessions/sync_session_snapshot.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 91 sync/internal_api/public/sessions/sync_session_snapshot.cc scoped_ptr<base::DictionaryValue> counter_entries( base 92 sync/internal_api/public/sessions/sync_session_snapshot.cc new base::DictionaryValue()); base 94 sync/internal_api/public/sessions/sync_session_snapshot.cc scoped_ptr<base::DictionaryValue> type_entries(new base::DictionaryValue()); base 107 sync/internal_api/public/sessions/sync_session_snapshot.cc scoped_ptr<base::DictionaryValue> value(ToValue()); base 109 sync/internal_api/public/sessions/sync_session_snapshot.cc base::JSONWriter::WriteWithOptions(value.get(), base 110 sync/internal_api/public/sessions/sync_session_snapshot.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 148 sync/internal_api/public/sessions/sync_session_snapshot.cc base::Time SyncSessionSnapshot::sync_start_time() const { base 17 sync/internal_api/public/sessions/sync_session_snapshot.h namespace base { base 41 sync/internal_api/public/sessions/sync_session_snapshot.h base::Time sync_start_time, base 48 sync/internal_api/public/sessions/sync_session_snapshot.h base::DictionaryValue* ToValue() const; base 63 sync/internal_api/public/sessions/sync_session_snapshot.h base::Time sync_start_time() const; base 80 sync/internal_api/public/sessions/sync_session_snapshot.h base::Time sync_start_time_; base 16 sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc using base::ExpectDictBooleanValue; base 17 sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc using base::ExpectDictDictionaryValue; base 18 sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc using base::ExpectDictIntegerValue; base 19 sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc using base::ExpectDictListValue; base 20 sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc using base::ExpectDictStringValue; base 38 sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc scoped_ptr<base::DictionaryValue> expected_download_progress_markers_value( base 54 sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc base::Time::Now(), base 58 sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc scoped_ptr<base::DictionaryValue> value(snapshot.ToValue()); base 27 sync/internal_api/public/sync_core_proxy.h scoped_refptr<base::SequencedTaskRunner> sync_task_runner, base 28 sync/internal_api/public/sync_core_proxy.h base::WeakPtr<SyncCore> sync_core); base 40 sync/internal_api/public/sync_core_proxy.h base::WeakPtr<NonBlockingTypeProcessor> type_processor); base 47 sync/internal_api/public/sync_core_proxy.h scoped_refptr<base::SequencedTaskRunner> sync_task_runner_; base 50 sync/internal_api/public/sync_core_proxy.h base::WeakPtr<SyncCore> sync_core_; base 121 sync/internal_api/public/sync_encryption_handler.h base::Time passphrase_time) = 0; base 241 sync/internal_api/public/sync_manager.h const base::FilePath& database_location, base 303 sync/internal_api/public/sync_manager.h const base::Closure& ready_task, base 304 sync/internal_api/public/sync_manager.h const base::Closure& retry_task) = 0; base 337 sync/internal_api/public/sync_manager.h virtual base::WeakPtr<syncer::SyncCore> GetSyncCore() = 0; base 16 sync/internal_api/public/test/fake_sync_manager.h namespace base { base 81 sync/internal_api/public/test/fake_sync_manager.h const base::FilePath& database_location, base 114 sync/internal_api/public/test/fake_sync_manager.h const base::Closure& ready_task, base 115 sync/internal_api/public/test/fake_sync_manager.h const base::Closure& retry_task) OVERRIDE; base 122 sync/internal_api/public/test/fake_sync_manager.h virtual base::WeakPtr<syncer::SyncCore> GetSyncCore() OVERRIDE; base 132 sync/internal_api/public/test/fake_sync_manager.h scoped_refptr<base::SequencedTaskRunner> sync_task_runner_; base 18 sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h SyncManagerFactoryForProfileSyncTest(base::Closure init_callback); base 23 sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h base::Closure init_callback_; base 45 sync/internal_api/public/test/test_internal_components_factory.h const base::FilePath& backing_filepath) OVERRIDE; base 81 sync/internal_api/public/util/immutable.h : public base::RefCountedThreadSafe<ImmutableCore<T, Traits> > { base 103 sync/internal_api/public/util/immutable.h friend class base::RefCountedThreadSafe<ImmutableCore<T, Traits> >; base 23 sync/internal_api/public/util/immutable_unittest.cc class TokenCore : public base::RefCounted<TokenCore> { base 18 sync/internal_api/public/util/weak_handle.cc : owner_loop_proxy_(base::MessageLoopProxy::current()) {} base 28 sync/internal_api/public/util/weak_handle.cc const base::Closure& fn) const { base 63 sync/internal_api/public/util/weak_handle.h namespace base { base 117 sync/internal_api/public/util/weak_handle.h const base::Closure& fn) const; base 121 sync/internal_api/public/util/weak_handle.h const scoped_refptr<base::MessageLoopProxy> owner_loop_proxy_; base 130 sync/internal_api/public/util/weak_handle.h public base::RefCountedThreadSafe<WeakHandleCore<T> > { base 134 sync/internal_api/public/util/weak_handle.h explicit WeakHandleCore(const base::WeakPtr<T>& ptr) : ptr_(ptr) {} base 137 sync/internal_api/public/util/weak_handle.h base::WeakPtr<T> Get() const { base 200 sync/internal_api/public/util/weak_handle.h friend class base::RefCountedThreadSafe<WeakHandleCore<T> >; base 265 sync/internal_api/public/util/weak_handle.h base::WeakPtr<T> ptr_; base 281 sync/internal_api/public/util/weak_handle.h explicit WeakHandle(const base::WeakPtr<T>& ptr) base 308 sync/internal_api/public/util/weak_handle.h base::WeakPtr<T> Get() const { base 373 sync/internal_api/public/util/weak_handle.h WeakHandle<T> MakeWeakHandle(const base::WeakPtr<T>& ptr) { base 43 sync/internal_api/public/util/weak_handle_unittest.cc base::WeakPtrFactory<Base> weak_ptr_factory_; base 46 sync/internal_api/public/util/weak_handle_unittest.cc class Derived : public Base, public base::SupportsWeakPtr<Derived> {}; base 61 sync/internal_api/public/util/weak_handle_unittest.cc base::Thread t("Test thread"); base 64 sync/internal_api/public/util/weak_handle_unittest.cc from_here, base::Bind(&WeakHandleTest::CallTest, from_here, h)); base 73 sync/internal_api/public/util/weak_handle_unittest.cc base::MessageLoop message_loop_; base 201 sync/internal_api/public/util/weak_handle_unittest.cc base::Thread t("Test thread"); base 220 sync/internal_api/public/util/weak_handle_unittest.cc base::Thread t("Test thread"); base 223 sync/internal_api/public/util/weak_handle_unittest.cc base::Bind(&CallTestWithSelf, base 287 sync/internal_api/public/util/weak_handle_unittest.cc const base::WeakPtr<Derived> weak_ptr; base 19 sync/internal_api/sync_core.cc scoped_refptr<base::SequencedTaskRunner> task_runner, base 20 sync/internal_api/sync_core.cc base::WeakPtr<NonBlockingTypeProcessor> processor) { base 28 sync/internal_api/sync_core.cc base::WeakPtr<SyncCore> SyncCore::AsWeakPtr() { base 36 sync/internal_api/sync_core.h scoped_refptr<base::SequencedTaskRunner> datatype_task_runner, base 37 sync/internal_api/sync_core.h base::WeakPtr<NonBlockingTypeProcessor> sync_client); base 39 sync/internal_api/sync_core.h base::WeakPtr<SyncCore> AsWeakPtr(); base 43 sync/internal_api/sync_core.h base::WeakPtrFactory<SyncCore> weak_ptr_factory_; base 15 sync/internal_api/sync_core_proxy.cc scoped_refptr<base::SequencedTaskRunner> sync_task_runner, base 16 sync/internal_api/sync_core_proxy.cc base::WeakPtr<SyncCore> sync_core) base 24 sync/internal_api/sync_core_proxy.cc base::WeakPtr<NonBlockingTypeProcessor> type_processor) { base 28 sync/internal_api/sync_core_proxy.cc base::Bind(&SyncCore::ConnectSyncTypeToCore, base 31 sync/internal_api/sync_core_proxy.cc base::MessageLoopProxy::current(), base 36 sync/internal_api/sync_core_proxy.cc return SyncCoreProxy(scoped_refptr<base::SequencedTaskRunner>(), base 37 sync/internal_api/sync_core_proxy.cc base::WeakPtr<SyncCore>()); base 21 sync/internal_api/sync_core_proxy_unittest.cc : sync_task_runner_(base::MessageLoopProxy::current()), base 22 sync/internal_api/sync_core_proxy_unittest.cc type_task_runner_(base::MessageLoopProxy::current()), base 39 sync/internal_api/sync_core_proxy_unittest.cc base::MessageLoop loop_; base 40 sync/internal_api/sync_core_proxy_unittest.cc scoped_refptr<base::SequencedTaskRunner> sync_task_runner_; base 41 sync/internal_api/sync_core_proxy_unittest.cc scoped_refptr<base::SequencedTaskRunner> type_task_runner_; base 53 sync/internal_api/sync_core_proxy_unittest.cc base::RunLoop run_loop_; base 64 sync/internal_api/sync_core_proxy_unittest.cc base::RunLoop run_loop_; base 75 sync/internal_api/sync_core_proxy_unittest.cc base::RunLoop run_loop_; base 88 sync/internal_api/sync_core_proxy_unittest.cc base::RunLoop run_loop_; base 141 sync/internal_api/sync_encryption_handler_impl.cc base::ListValue keystore_key_values; base 156 sync/internal_api/sync_encryption_handler_impl.cc base::Base64Encode(encrypted_keystores, &keystore_bootstrap); base 168 sync/internal_api/sync_encryption_handler_impl.cc if (!base::Base64Decode(keystore_bootstrap_token, base 178 sync/internal_api/sync_encryption_handler_impl.cc scoped_ptr<base::Value> deserialized_keystore_keys( base 182 sync/internal_api/sync_encryption_handler_impl.cc base::ListValue* internal_list_value = NULL; base 401 sync/internal_api/sync_encryption_handler_impl.cc custom_passphrase_time_ = base::Time::Now(); base 653 sync/internal_api/sync_encryption_handler_impl.cc base::MessageLoop::current()->PostTask( base 655 sync/internal_api/sync_encryption_handler_impl.cc base::Bind(&SyncEncryptionHandlerImpl::RewriteNigori, base 695 sync/internal_api/sync_encryption_handler_impl.cc base::Base64Encode(raw_keystore_key, &keystore_key_); base 701 sync/internal_api/sync_encryption_handler_impl.cc base::Base64Encode(keys.Get(i), &old_keystore_keys_[i]); base 741 sync/internal_api/sync_encryption_handler_impl.cc base::MessageLoop::current()->PostTask( base 743 sync/internal_api/sync_encryption_handler_impl.cc base::Bind(&SyncEncryptionHandlerImpl::RewriteNigori, base 774 sync/internal_api/sync_encryption_handler_impl.cc base::Time SyncEncryptionHandlerImpl::migration_time() const { base 778 sync/internal_api/sync_encryption_handler_impl.cc base::Time SyncEncryptionHandlerImpl::custom_passphrase_time() const { base 1134 sync/internal_api/sync_encryption_handler_impl.cc custom_passphrase_time_ = base::Time::Now(); base 1457 sync/internal_api/sync_encryption_handler_impl.cc migration_time_ = base::Time::Now(); base 1643 sync/internal_api/sync_encryption_handler_impl.cc base::Time SyncEncryptionHandlerImpl::GetExplicitPassphraseTime() const { base 1648 sync/internal_api/sync_encryption_handler_impl.cc return base::Time(); base 90 sync/internal_api/sync_encryption_handler_impl.h base::Time migration_time() const; base 91 sync/internal_api/sync_encryption_handler_impl.h base::Time custom_passphrase_time() const; base 264 sync/internal_api/sync_encryption_handler_impl.h base::Time GetExplicitPassphraseTime() const; base 266 sync/internal_api/sync_encryption_handler_impl.h base::ThreadChecker thread_checker_; base 301 sync/internal_api/sync_encryption_handler_impl.h base::Time migration_time_; base 306 sync/internal_api/sync_encryption_handler_impl.h base::Time custom_passphrase_time_; base 308 sync/internal_api/sync_encryption_handler_impl.h base::WeakPtrFactory<SyncEncryptionHandlerImpl> weak_ptr_factory_; base 61 sync/internal_api/sync_encryption_handler_impl_unittest.cc base::Time)); // NOLINT base 340 sync/internal_api/sync_encryption_handler_impl_unittest.cc base::MessageLoop message_loop_; base 625 sync/internal_api/sync_encryption_handler_impl_unittest.cc base::Base64Encode(kRawOldKeystoreKey, &old_keystore_key); base 659 sync/internal_api/sync_encryption_handler_impl_unittest.cc ASSERT_TRUE(base::Base64Decode(keystore_bootstrap, &decoded_bootstrap)); base 665 sync/internal_api/sync_encryption_handler_impl_unittest.cc scoped_ptr<base::Value> deserialized_keystore_keys( base 668 sync/internal_api/sync_encryption_handler_impl_unittest.cc base::ListValue* keystore_list = NULL; base 1972 sync/internal_api/sync_encryption_handler_impl_unittest.cc base::Base64Encode(kRawOldKeystoreKey, &old_keystore_key); base 2026 sync/internal_api/sync_encryption_handler_impl_unittest.cc base::Base64Encode(kRawOldKeystoreKey, &old_keystore_key); base 2121 sync/internal_api/sync_encryption_handler_impl_unittest.cc base::Base64Encode(kRawOldKeystoreKey, &old_keystore_key); base 2159 sync/internal_api/sync_encryption_handler_impl_unittest.cc base::Base64Encode(kRawOldKeystoreKey, &old_keystore_key); base 50 sync/internal_api/sync_manager_impl.cc using base::TimeDelta; base 193 sync/internal_api/sync_manager_impl.cc base::DictionaryValue* SyncManagerImpl::NotificationInfo::ToValue() const { base 194 sync/internal_api/sync_manager_impl.cc base::DictionaryValue* value = new base::DictionaryValue(); base 276 sync/internal_api/sync_manager_impl.cc const base::Closure& ready_task, base 277 sync/internal_api/sync_manager_impl.cc const base::Closure& retry_task) { base 314 sync/internal_api/sync_manager_impl.cc const base::FilePath& database_location, base 365 sync/internal_api/sync_manager_impl.cc base::FilePath absolute_db_path = database_path_; base 488 sync/internal_api/sync_manager_impl.cc base::Time explicit_passphrase_time) { base 891 sync/internal_api/sync_manager_impl.cc base::TimeDelta nudge_delay = NudgeStrategy::GetNudgeDelayTimeDelta( base 927 sync/internal_api/sync_manager_impl.cc void SyncManagerImpl::OnRetryTimeChanged(base::Time) {} base 980 sync/internal_api/sync_manager_impl.cc base::Bind(unbound_message_handler, base::Unretained(this)); base 985 sync/internal_api/sync_manager_impl.cc base::ListValue return_args; base 986 sync/internal_api/sync_manager_impl.cc scoped_ptr<base::ListValue> nodes( base 1053 sync/internal_api/sync_manager_impl.cc base::WeakPtr<syncer::SyncCore> SyncManagerImpl::GetSyncCore() { base 67 sync/internal_api/sync_manager_impl.h const base::FilePath& database_location, base 101 sync/internal_api/sync_manager_impl.h const base::Closure& ready_task, base 102 sync/internal_api/sync_manager_impl.h const base::Closure& retry_task) OVERRIDE; base 113 sync/internal_api/sync_manager_impl.h virtual base::WeakPtr<syncer::SyncCore> GetSyncCore() OVERRIDE; base 137 sync/internal_api/sync_manager_impl.h base::Time explicit_passphrase_time) OVERRIDE; base 145 sync/internal_api/sync_manager_impl.h virtual void OnRetryTimeChanged(base::Time retry_time) OVERRIDE; base 214 sync/internal_api/sync_manager_impl.h base::DictionaryValue* ToValue() const; base 217 sync/internal_api/sync_manager_impl.h base::TimeDelta GetNudgeDelayTimeDelta(const ModelType& model_type); base 222 sync/internal_api/sync_manager_impl.h typedef base::Callback<JsArgList(const JsArgList&)> JsMessageHandler; base 281 sync/internal_api/sync_manager_impl.h base::FilePath database_path_; base 285 sync/internal_api/sync_manager_impl.h base::ThreadChecker thread_checker_; base 372 sync/internal_api/sync_manager_impl.h base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; base 81 sync/internal_api/sync_manager_impl_unittest.cc using base::ExpectDictStringValue; base 215 sync/internal_api/sync_manager_impl_unittest.cc base::MessageLoop message_loop_; base 339 sync/internal_api/sync_manager_impl_unittest.cc wnode.SetTitle(base::UTF8ToWide(test_title)); base 384 sync/internal_api/sync_manager_impl_unittest.cc wnode.SetTitle(base::UTF8ToWide(test_title)); base 449 sync/internal_api/sync_manager_impl_unittest.cc bookmark_node.SetTitle(base::UTF8ToWide("foo")); base 455 sync/internal_api/sync_manager_impl_unittest.cc pref_node.SetTitle(base::UTF8ToWide("bar")); base 669 sync/internal_api/sync_manager_impl_unittest.cc base::Time)); // NOLINT base 923 sync/internal_api/sync_manager_impl_unittest.cc base::MessageLoop message_loop_; base 925 sync/internal_api/sync_manager_impl_unittest.cc base::ScopedTempDir temp_dir_; base 950 sync/internal_api/sync_manager_impl_unittest.cc base::ListValue args; base 963 sync/internal_api/sync_manager_impl_unittest.cc const base::ListValue* node_list; base 964 sync/internal_api/sync_manager_impl_unittest.cc const base::DictionaryValue* first_result; base 1080 sync/internal_api/sync_manager_impl_unittest.cc base::StringPrintf("%" PRIuS "", i)); base 1085 sync/internal_api/sync_manager_impl_unittest.cc base::StringPrintf("%" PRIuS "", i)); base 1558 sync/internal_api/sync_manager_impl_unittest.cc base::TimeDelta::FromMilliseconds( base 1562 sync/internal_api/sync_manager_impl_unittest.cc base::TimeDelta::FromSeconds( base 1566 sync/internal_api/sync_manager_impl_unittest.cc base::TimeDelta::FromMilliseconds( base 1688 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide(title)); base 2027 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide(client_tag)); base 2037 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide("title2")); base 2076 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide(client_tag)); base 2091 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide("title2")); base 2122 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide(client_tag)); base 2132 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide("title2")); base 2173 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide(client_tag)); base 2188 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide("title2")); base 2221 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide(title)); base 2232 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide(title)); base 2243 sync/internal_api/sync_manager_impl_unittest.cc node.SetTitle(base::UTF8ToWide("title2")); base 2431 sync/internal_api/sync_manager_impl_unittest.cc base::Bind(&CallbackCounter::Callback, base 2432 sync/internal_api/sync_manager_impl_unittest.cc base::Unretained(&ready_task_counter)), base 2433 sync/internal_api/sync_manager_impl_unittest.cc base::Bind(&CallbackCounter::Callback, base 2434 sync/internal_api/sync_manager_impl_unittest.cc base::Unretained(&retry_task_counter))); base 2491 sync/internal_api/sync_manager_impl_unittest.cc base::Bind(&CallbackCounter::Callback, base 2492 sync/internal_api/sync_manager_impl_unittest.cc base::Unretained(&ready_task_counter)), base 2493 sync/internal_api/sync_manager_impl_unittest.cc base::Bind(&CallbackCounter::Callback, base 2494 sync/internal_api/sync_manager_impl_unittest.cc base::Unretained(&retry_task_counter))); base 23 sync/internal_api/syncapi_server_connection_manager_unittest.cc using base::TimeDelta; base 55 sync/internal_api/syncapi_server_connection_manager_unittest.cc base::WaitableEvent wait_for_abort_; base 117 sync/internal_api/syncapi_server_connection_manager_unittest.cc base::Thread abort_thread("Test_AbortThread"); base 121 sync/internal_api/syncapi_server_connection_manager_unittest.cc base::Bind(&CancelationSignal::Signal, base 122 sync/internal_api/syncapi_server_connection_manager_unittest.cc base::Unretained(&signal)), base 66 sync/internal_api/test/fake_sync_manager.cc base::RunLoop run_loop; base 69 sync/internal_api/test/fake_sync_manager.cc base::Bind(&base::DoNothing), base 77 sync/internal_api/test/fake_sync_manager.cc const base::FilePath& database_location, base 95 sync/internal_api/test/fake_sync_manager.cc sync_task_runner_ = base::ThreadTaskRunnerHandle::Get(); base 155 sync/internal_api/test/fake_sync_manager.cc const base::Closure& ready_task, base 156 sync/internal_api/test/fake_sync_manager.cc const base::Closure& retry_task) { base 221 sync/internal_api/test/fake_sync_manager.cc base::WeakPtr<syncer::SyncCore> FakeSyncManager::GetSyncCore() { base 222 sync/internal_api/test/fake_sync_manager.cc return base::WeakPtr<syncer::SyncCore>(); base 12 sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc base::Closure init_callback) base 15 sync/internal_api/test/sync_manager_for_profile_sync_test.cc base::Closure init_callback) base 22 sync/internal_api/test/sync_manager_for_profile_sync_test.h base::Closure init_callback); base 27 sync/internal_api/test/sync_manager_for_profile_sync_test.h base::Closure init_callback_; base 57 sync/internal_api/test/test_internal_components_factory.cc const std::string& dir_name, const base::FilePath& backing_filepath) { base 60 sync/internal_api/write_node.cc SyncAPINameToServerName(base::WideToUTF8(title), &new_legal_title); base 61 sync/internal_api/write_node.cc base::TruncateUTF8ToByteSize(new_legal_title, 255, &new_legal_title); base 13 sync/js/js_arg_list.cc JsArgList::JsArgList(base::ListValue* args) : args_(args) {} base 17 sync/js/js_arg_list.cc const base::ListValue& JsArgList::Get() const { base 23 sync/js/js_arg_list.cc base::JSONWriter::Write(&Get(), &str); base 26 sync/js/js_arg_list.h explicit JsArgList(base::ListValue* args); base 30 sync/js/js_arg_list.h const base::ListValue& Get() const; base 37 sync/js/js_arg_list.h typedef Immutable<base::ListValue, HasSwapMemFnByPtr<base::ListValue> > base 22 sync/js/js_arg_list_unittest.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 23 sync/js/js_arg_list_unittest.cc list->Append(new base::FundamentalValue(false)); base 24 sync/js/js_arg_list_unittest.cc list->Append(new base::FundamentalValue(5)); base 25 sync/js/js_arg_list_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 28 sync/js/js_arg_list_unittest.cc dict->Set("baz", new base::ListValue()); base 30 sync/js/js_arg_list_unittest.cc scoped_ptr<base::ListValue> list_copy(list->DeepCopy()); base 13 sync/js/js_event_details.cc JsEventDetails::JsEventDetails(base::DictionaryValue* details) base 18 sync/js/js_event_details.cc const base::DictionaryValue& JsEventDetails::Get() const { base 24 sync/js/js_event_details.cc base::JSONWriter::Write(&Get(), &str); base 26 sync/js/js_event_details.h explicit JsEventDetails(base::DictionaryValue* details); base 30 sync/js/js_event_details.h const base::DictionaryValue& Get() const; base 37 sync/js/js_event_details.h typedef Immutable<base::DictionaryValue, base 38 sync/js/js_event_details.h HasSwapMemFnByPtr<base::DictionaryValue> > base 22 sync/js/js_event_details_unittest.cc base::DictionaryValue dict; base 24 sync/js/js_event_details_unittest.cc dict.Set("baz", new base::ListValue()); base 26 sync/js/js_event_details_unittest.cc scoped_ptr<base::DictionaryValue> dict_copy(dict.DeepCopy()); base 96 sync/js/js_test_util.cc const base::DictionaryValue& expected_details) { base 97 sync/js/js_test_util.cc scoped_ptr<base::DictionaryValue> expected_details_copy( base 19 sync/js/js_test_util.h namespace base { base 46 sync/js/js_test_util.h const base::DictionaryValue& expected_details); base 51 sync/js/js_test_util.h public base::SupportsWeakPtr<MockJsBackend> { base 64 sync/js/js_test_util.h public base::SupportsWeakPtr<MockJsController> { base 78 sync/js/js_test_util.h public base::SupportsWeakPtr<MockJsEventHandler> { base 91 sync/js/js_test_util.h public base::SupportsWeakPtr<MockJsReplyHandler> { base 29 sync/js/sync_js_controller.h public base::SupportsWeakPtr<SyncJsController> { base 30 sync/js/sync_js_controller_unittest.cc base::MessageLoop message_loop_; base 44 sync/js/sync_js_controller_unittest.cc base::ListValue arg_list1, arg_list2; base 45 sync/js/sync_js_controller_unittest.cc arg_list1.Append(new base::FundamentalValue(false)); base 46 sync/js/sync_js_controller_unittest.cc arg_list2.Append(new base::FundamentalValue(5)); base 77 sync/js/sync_js_controller_unittest.cc base::ListValue arg_list1, arg_list2; base 78 sync/js/sync_js_controller_unittest.cc arg_list1.Append(new base::FundamentalValue(false)); base 79 sync/js/sync_js_controller_unittest.cc arg_list2.Append(new base::FundamentalValue(5)); base 122 sync/js/sync_js_controller_unittest.cc base::DictionaryValue details_dict1, details_dict2; base 17 sync/notifier/fake_invalidation_state_tracker.h public base::SupportsWeakPtr<FakeInvalidationStateTracker> { base 65 sync/notifier/fake_invalidator.cc base::Callback<void(const base::DictionaryValue&)> callback) const { base 66 sync/notifier/fake_invalidator.cc base::DictionaryValue value; base 41 sync/notifier/fake_invalidator.h base::Callback<void(const base::DictionaryValue&)> callback) const base 26 sync/notifier/fake_invalidator_unittest.cc const base::WeakPtr<InvalidationStateTracker>& base 121 sync/notifier/gcm_network_channel.cc delegate_->Register(base::Bind(&GCMNetworkChannel::OnRegisterComplete, base 145 sync/notifier/gcm_network_channel.cc base::MessageLoop::current()->PostDelayedTask( base 147 sync/notifier/gcm_network_channel.cc base::Bind(&GCMNetworkChannel::Register, base 177 sync/notifier/gcm_network_channel.cc delegate_->RequestToken(base::Bind(&GCMNetworkChannel::OnGetTokenComplete, base 259 sync/notifier/gcm_network_channel.cc diagnostic_info_.last_message_received_time_ = base::Time::Now(); base 328 sync/notifier/gcm_network_channel.cc base::Base64Encode(input, output); base 330 sync/notifier/gcm_network_channel.cc base::ReplaceChars(*output, "+", "-", output); base 331 sync/notifier/gcm_network_channel.cc base::ReplaceChars(*output, "/", "_", output); base 346 sync/notifier/gcm_network_channel.cc base::ReplaceChars(padded_input, "-", "+", &padded_input); base 347 sync/notifier/gcm_network_channel.cc base::ReplaceChars(padded_input, "_", "/", &padded_input); base 348 sync/notifier/gcm_network_channel.cc return base::Base64Decode(padded_input, output); base 353 sync/notifier/gcm_network_channel.cc delegate_->SetMessageReceiver(base::Bind( base 359 sync/notifier/gcm_network_channel.cc base::Callback<void(const base::DictionaryValue&)> callback) { base 381 sync/notifier/gcm_network_channel.cc scoped_ptr<base::DictionaryValue> base 383 sync/notifier/gcm_network_channel.cc scoped_ptr<base::DictionaryValue> status(new base::DictionaryValue); base 385 sync/notifier/gcm_network_channel.cc std::string reg_id_hash = base::SHA1HashString(registration_id_); base 387 sync/notifier/gcm_network_channel.cc base::HexEncode(reg_id_hash.c_str(), reg_id_hash.size())); base 394 sync/notifier/gcm_network_channel.cc base::TimeFormatShortDateAndTime(last_message_received_time_)); base 32 sync/notifier/gcm_network_channel.h scoped_ptr<base::DictionaryValue> CollectDebugData() const; base 40 sync/notifier/gcm_network_channel.h base::Time last_message_received_time_; base 53 sync/notifier/gcm_network_channel.h public base::NonThreadSafe { base 70 sync/notifier/gcm_network_channel.h base::Callback<void(const base::DictionaryValue&)> callback) OVERRIDE; base 127 sync/notifier/gcm_network_channel.h base::WeakPtrFactory<GCMNetworkChannel> weak_factory_; base 27 sync/notifier/gcm_network_channel_delegate.h typedef base::Callback<void(const GoogleServiceAuthError& error, base 29 sync/notifier/gcm_network_channel_delegate.h typedef base::Callback<void(const std::string& registration_id, base 31 sync/notifier/gcm_network_channel_delegate.h typedef base::Callback<void(const std::string& message, base 129 sync/notifier/gcm_network_channel_unittest.cc base::MessageLoopProxy::current()); base 142 sync/notifier/gcm_network_channel_unittest.cc base::Bind(&GCMNetworkChannelTest::CreateURLFetcher, base 143 sync/notifier/gcm_network_channel_unittest.cc base::Unretained(this)))); base 213 sync/notifier/gcm_network_channel_unittest.cc base::RunLoop run_loop; base 218 sync/notifier/gcm_network_channel_unittest.cc base::MessageLoop message_loop_; base 66 sync/notifier/invalidation_notifier.cc base::Bind(&invalidation::CreateInvalidationClient), base 77 sync/notifier/invalidation_notifier.cc base::Callback<void(const base::DictionaryValue&)> callback) const { base 39 sync/notifier/invalidation_notifier.h public base::NonThreadSafe { base 62 sync/notifier/invalidation_notifier.h base::Callback<void(const base::DictionaryValue&)> callback) const base 37 sync/notifier/invalidation_notifier_unittest.cc const base::WeakPtr<InvalidationStateTracker>& base 82 sync/notifier/invalidation_notifier_unittest.cc base::MessageLoop message_loop_; base 27 sync/notifier/invalidation_state_tracker.h namespace base { base 66 sync/notifier/invalidation_util.cc scoped_ptr<base::DictionaryValue> ObjectIdToValue( base 68 sync/notifier/invalidation_util.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 74 sync/notifier/invalidation_util.cc bool ObjectIdFromValue(const base::DictionaryValue& value, base 89 sync/notifier/invalidation_util.cc scoped_ptr<base::DictionaryValue> value(ObjectIdToValue(object_id)); base 91 sync/notifier/invalidation_util.cc base::JSONWriter::Write(value.get(), &str); base 19 sync/notifier/invalidation_util.h namespace base { base 60 sync/notifier/invalidation_util.h scoped_ptr<base::DictionaryValue> ObjectIdToValue( base 63 sync/notifier/invalidation_util.h bool ObjectIdFromValue(const base::DictionaryValue& value, base 84 sync/notifier/invalidator.h base::Callback<void(const base::DictionaryValue&)> callback) const = 0; base 87 sync/notifier/invalidator_registrar.h base::ThreadChecker thread_checker_; base 55 sync/notifier/invalidator_registrar_unittest.cc base::Callback<void(const base::DictionaryValue&)> call) const OVERRIDE { base 76 sync/notifier/invalidator_registrar_unittest.cc const base::WeakPtr<InvalidationStateTracker>& base 26 sync/notifier/mock_ack_handler.h public base::SupportsWeakPtr<MockAckHandler> { base 57 sync/notifier/non_blocking_invalidator.cc base::Callback<void(const base::DictionaryValue&)> callback); base 60 sync/notifier/non_blocking_invalidator.cc void Run(const base::DictionaryValue& value); base 63 sync/notifier/non_blocking_invalidator.cc static void DoRun(base::Callback<void(const base::DictionaryValue&)> callback, base 64 sync/notifier/non_blocking_invalidator.cc scoped_ptr<base::DictionaryValue> value); base 66 sync/notifier/non_blocking_invalidator.cc base::Callback<void(const base::DictionaryValue&)> callback_; base 67 sync/notifier/non_blocking_invalidator.cc scoped_refptr<base::SingleThreadTaskRunner> running_thread_; base 73 sync/notifier/non_blocking_invalidator.cc base::Callback<void(const base::DictionaryValue&)> callback) base 75 sync/notifier/non_blocking_invalidator.cc running_thread_(base::ThreadTaskRunnerHandle::Get()) {} base 80 sync/notifier/non_blocking_invalidator.cc base::Callback<void(const base::DictionaryValue&)> callback, base 81 sync/notifier/non_blocking_invalidator.cc scoped_ptr<base::DictionaryValue> value) { base 85 sync/notifier/non_blocking_invalidator.cc void CallbackProxy::Run(const base::DictionaryValue& value) { base 86 sync/notifier/non_blocking_invalidator.cc scoped_ptr<base::DictionaryValue> copied(value.DeepCopy()); base 89 sync/notifier/non_blocking_invalidator.cc base::Bind(&CallbackProxy::DoRun, callback_, base::Passed(&copied))); base 94 sync/notifier/non_blocking_invalidator.cc : public base::RefCountedThreadSafe<NonBlockingInvalidator::Core>, base 110 sync/notifier/non_blocking_invalidator.cc base::Callback<void(const base::DictionaryValue&)> callback) const; base 121 sync/notifier/non_blocking_invalidator.cc base::RefCountedThreadSafe<NonBlockingInvalidator::Core>; base 128 sync/notifier/non_blocking_invalidator.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 180 sync/notifier/non_blocking_invalidator.cc base::Callback<void(const base::DictionaryValue&)> callback) const { base 213 sync/notifier/non_blocking_invalidator.cc : parent_task_runner_(base::ThreadTaskRunnerHandle::Get()), base 229 sync/notifier/non_blocking_invalidator.cc base::Bind( base 241 sync/notifier/non_blocking_invalidator.cc base::Bind(&NonBlockingInvalidator::Core::Teardown, base 258 sync/notifier/non_blocking_invalidator.cc base::Bind( base 281 sync/notifier/non_blocking_invalidator.cc base::Bind(&NonBlockingInvalidator::Core::UpdateCredentials, base 288 sync/notifier/non_blocking_invalidator.cc base::Callback<void(const base::DictionaryValue&)> callback) const { base 290 sync/notifier/non_blocking_invalidator.cc base::Callback<void(const base::DictionaryValue&)> proxy_callback = base 291 sync/notifier/non_blocking_invalidator.cc base::Bind(&CallbackProxy::Run, base::Owned(new CallbackProxy(callback))); base 294 sync/notifier/non_blocking_invalidator.cc base::Bind(&NonBlockingInvalidator::Core::RequestDetailedStatus, base 317 sync/notifier/non_blocking_invalidator.cc return base::Bind(SyncNetworkChannel::CreatePushClientChannel, base 324 sync/notifier/non_blocking_invalidator.cc return base::Bind(&SyncNetworkChannel::CreateGCMNetworkChannel, base 326 sync/notifier/non_blocking_invalidator.cc base::Passed(&delegate)); base 26 sync/notifier/non_blocking_invalidator.h namespace base { base 36 sync/notifier/non_blocking_invalidator.h typedef base::Callback<scoped_ptr<SyncNetworkChannel>(void)> base 67 sync/notifier/non_blocking_invalidator.h base::Callback<void(const base::DictionaryValue&)> callback) const base 94 sync/notifier/non_blocking_invalidator.h scoped_refptr<base::SingleThreadTaskRunner> parent_task_runner_; base 95 sync/notifier/non_blocking_invalidator.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 97 sync/notifier/non_blocking_invalidator.h base::WeakPtrFactory<NonBlockingInvalidator> weak_ptr_factory_; base 37 sync/notifier/non_blocking_invalidator_unittest.cc const base::WeakPtr<InvalidationStateTracker>& base 40 sync/notifier/non_blocking_invalidator_unittest.cc base::Thread::Options options; base 41 sync/notifier/non_blocking_invalidator_unittest.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 72 sync/notifier/non_blocking_invalidator_unittest.cc base::RunLoop run_loop; base 76 sync/notifier/non_blocking_invalidator_unittest.cc base::Bind(&base::DoNothing), base 91 sync/notifier/non_blocking_invalidator_unittest.cc base::MessageLoop message_loop_; base 92 sync/notifier/non_blocking_invalidator_unittest.cc base::Thread io_thread_; base 82 sync/notifier/object_id_invalidation_map.cc scoped_ptr<base::ListValue> ObjectIdInvalidationMap::ToValue() const { base 83 sync/notifier/object_id_invalidation_map.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 94 sync/notifier/object_id_invalidation_map.cc bool ObjectIdInvalidationMap::ResetFromValue(const base::ListValue& value) { base 97 sync/notifier/object_id_invalidation_map.cc const base::DictionaryValue* dict; base 56 sync/notifier/object_id_invalidation_map.h scoped_ptr<base::ListValue> ToValue() const; base 59 sync/notifier/object_id_invalidation_map.h bool ResetFromValue(const base::ListValue& value); base 79 sync/notifier/object_id_invalidation_map_unittest.cc scoped_ptr<base::ListValue> value = empty.ToValue(); base 87 sync/notifier/object_id_invalidation_map_unittest.cc scoped_ptr<base::ListValue> value = one_invalidation.ToValue(); base 95 sync/notifier/object_id_invalidation_map_unittest.cc scoped_ptr<base::ListValue> value = invalidate_all.ToValue(); base 104 sync/notifier/p2p_invalidator.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 110 sync/notifier/p2p_invalidator.cc base::JSONWriter::Write(dict.get(), &json); base 115 sync/notifier/p2p_invalidator.cc scoped_ptr<base::Value> data_value(base::JSONReader::Read(str)); base 116 sync/notifier/p2p_invalidator.cc const base::DictionaryValue* data_dict = NULL; base 130 sync/notifier/p2p_invalidator.cc const base::ListValue* invalidation_map_list = NULL; base 206 sync/notifier/p2p_invalidator.cc base::Callback<void(const base::DictionaryValue&)> callback) const { base 209 sync/notifier/p2p_invalidator.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 113 sync/notifier/p2p_invalidator.h base::Callback<void(const base::DictionaryValue&)> callback) const base 131 sync/notifier/p2p_invalidator.h base::ThreadChecker thread_checker_; base 30 sync/notifier/p2p_invalidator_unittest.cc const base::WeakPtr<InvalidationStateTracker>& base 89 sync/notifier/p2p_invalidator_unittest.cc base::WeakPtr<InvalidationStateTracker>()); base 44 sync/notifier/push_client_channel.cc base::Callback<void(const base::DictionaryValue&)> callback) { base 143 sync/notifier/push_client_channel.cc scoped_ptr<base::DictionaryValue> PushClientChannel::CollectDebugData() const { base 144 sync/notifier/push_client_channel.cc scoped_ptr<base::DictionaryValue> status(new base::DictionaryValue); base 38 sync/notifier/push_client_channel.h base::Callback<void(const base::DictionaryValue&)> callback) OVERRIDE; base 76 sync/notifier/push_client_channel.h scoped_ptr<base::DictionaryValue> CollectDebugData() const; base 39 sync/notifier/registration_manager.cc delay = base::TimeDelta(); base 48 sync/notifier/registration_manager.cc delay = base::TimeDelta(); base 199 sync/notifier/registration_manager.cc return 2.0 * base::RandDouble() - 1.0; base 216 sync/notifier/registration_manager.cc status->last_registration_attempt = base::Time::Now(); base 225 sync/notifier/registration_manager.cc base::TimeDelta delay = base 226 sync/notifier/registration_manager.cc (status->delay <= base::TimeDelta()) ? base 227 sync/notifier/registration_manager.cc base::TimeDelta() : status->delay; base 243 sync/notifier/registration_manager.cc base::TimeDelta::FromSeconds(static_cast<int64>(next_delay_seconds)); base 250 sync/notifier/registration_manager.cc status->delay = base::TimeDelta(); base 251 sync/notifier/registration_manager.cc status->next_delay = base::TimeDelta(); base 266 sync/notifier/registration_manager.cc it->second->last_registration_request = base::Time::Now(); base 35 sync/notifier/registration_manager.h class SYNC_EXPORT_PRIVATE RegistrationManager : public base::NonThreadSafe { base 49 sync/notifier/registration_manager.h base::Time last_registration_request; base 51 sync/notifier/registration_manager.h base::Time registration_attempt; base 54 sync/notifier/registration_manager.h base::TimeDelta delay; base 56 sync/notifier/registration_manager.h base::TimeDelta actual_delay; base 136 sync/notifier/registration_manager.h base::Time last_registration_request; base 138 sync/notifier/registration_manager.h base::Time last_registration_attempt; base 141 sync/notifier/registration_manager.h base::TimeDelta delay; base 144 sync/notifier/registration_manager.h base::TimeDelta next_delay; base 146 sync/notifier/registration_manager.h base::OneShotTimer<RegistrationStatus> registration_timer; base 130 sync/notifier/registration_manager_unittest.cc base::TimeDelta offset = base 133 sync/notifier/registration_manager_unittest.cc base::TimeDelta expected_delay = base 134 sync/notifier/registration_manager_unittest.cc base::TimeDelta::FromSeconds( base 141 sync/notifier/registration_manager_unittest.cc if (it->second.delay <= base::TimeDelta()) { base 142 sync/notifier/registration_manager_unittest.cc EXPECT_EQ(base::TimeDelta(), it->second.actual_delay); base 230 sync/notifier/registration_manager_unittest.cc base::MessageLoop message_loop_; base 88 sync/notifier/single_object_invalidation_set.cc scoped_ptr<base::ListValue> SingleObjectInvalidationSet::ToValue() const { base 89 sync/notifier/single_object_invalidation_set.cc scoped_ptr<base::ListValue> value(new base::ListValue); base 98 sync/notifier/single_object_invalidation_set.cc const base::ListValue& list) { base 100 sync/notifier/single_object_invalidation_set.cc const base::DictionaryValue* dict; base 15 sync/notifier/single_object_invalidation_set.h namespace base { base 55 sync/notifier/single_object_invalidation_set.h scoped_ptr<base::ListValue> ToValue() const; base 56 sync/notifier/single_object_invalidation_set.h bool ResetFromValue(const base::ListValue& list); base 78 sync/notifier/single_object_invalidation_set_unittest.cc scoped_ptr<base::ListValue> value = list.ToValue(); base 89 sync/notifier/single_object_invalidation_set_unittest.cc scoped_ptr<base::ListValue> value = list.ToValue(); base 101 sync/notifier/single_object_invalidation_set_unittest.cc scoped_ptr<base::ListValue> value = list.ToValue(); base 364 sync/notifier/sync_invalidation_listener.cc base::Callback<void(const base::DictionaryValue&)> callback) const { base 370 sync/notifier/sync_invalidation_listener.cc scoped_ptr<base::DictionaryValue> base 372 sync/notifier/sync_invalidation_listener.cc scoped_ptr<base::DictionaryValue> return_value(new base::DictionaryValue()); base 378 sync/notifier/sync_invalidation_listener.cc scoped_ptr<base::DictionaryValue> unacked_map(new base::DictionaryValue()); base 49 sync/notifier/sync_invalidation_listener.h public base::NonThreadSafe { base 51 sync/notifier/sync_invalidation_listener.h typedef base::Callback<invalidation::InvalidationClient*( base 140 sync/notifier/sync_invalidation_listener.h base::Callback<void(const base::DictionaryValue&)> callback) const; base 171 sync/notifier/sync_invalidation_listener.h scoped_ptr<base::DictionaryValue> CollectDebugData() const; base 189 sync/notifier/sync_invalidation_listener.h base::WeakPtrFactory<SyncInvalidationListener> weak_ptr_factory_; base 307 sync/notifier/sync_invalidation_listener_unittest.cc listener_.Start(base::Bind(&CreateFakeInvalidationClient, base 463 sync/notifier/sync_invalidation_listener_unittest.cc base::MessageLoop message_loop_; base 56 sync/notifier/sync_system_resources.cc base::StringAppendV(&result, format, ap); base 67 sync/notifier/sync_system_resources.cc : created_on_loop_(base::MessageLoop::current()), base 75 sync/notifier/sync_system_resources.cc CHECK_EQ(created_on_loop_, base::MessageLoop::current()); base 80 sync/notifier/sync_system_resources.cc CHECK_EQ(created_on_loop_, base::MessageLoop::current()); base 88 sync/notifier/sync_system_resources.cc CHECK_EQ(created_on_loop_, base::MessageLoop::current()); base 99 sync/notifier/sync_system_resources.cc CHECK_EQ(created_on_loop_, base::MessageLoop::current()); base 107 sync/notifier/sync_system_resources.cc base::MessageLoop::current()->PostDelayedTask( base 108 sync/notifier/sync_system_resources.cc FROM_HERE, base::Bind(&SyncInvalidationScheduler::RunPostedTask, base 114 sync/notifier/sync_system_resources.cc return created_on_loop_ == base::MessageLoop::current(); base 118 sync/notifier/sync_system_resources.cc CHECK_EQ(created_on_loop_, base::MessageLoop::current()); base 119 sync/notifier/sync_system_resources.cc return base::Time::Now(); base 128 sync/notifier/sync_system_resources.cc CHECK_EQ(created_on_loop_, base::MessageLoop::current()); base 74 sync/notifier/sync_system_resources.h const base::MessageLoop* created_on_loop_; base 78 sync/notifier/sync_system_resources.h base::WeakPtrFactory<SyncInvalidationScheduler> weak_factory_; base 122 sync/notifier/sync_system_resources.h base::Callback<void(const base::DictionaryValue&)> callback) = 0; base 35 sync/notifier/sync_system_resources_unittest.cc base::Closure* CreateClosure() { base 36 sync/notifier/sync_system_resources_unittest.cc return new base::Closure( base 37 sync/notifier/sync_system_resources_unittest.cc base::Bind(&MockClosure::Run, base::Unretained(this))); base 44 sync/notifier/sync_system_resources_unittest.cc base::Callback<void(invalidation::Status)>* CreateCallback() { base 45 sync/notifier/sync_system_resources_unittest.cc return new base::Callback<void(invalidation::Status)>( base 46 sync/notifier/sync_system_resources_unittest.cc base::Bind(&MockStorageCallback::Run, base::Unretained(this))); base 63 sync/notifier/sync_system_resources_unittest.cc base::Closure* should_not_run = mock_closure.CreateClosure(); base 71 sync/notifier/sync_system_resources_unittest.cc base::Closure* should_not_run = mock_closure.CreateClosure(); base 79 sync/notifier/sync_system_resources_unittest.cc base::Closure* should_not_run = mock_closure.CreateClosure(); base 87 sync/notifier/sync_system_resources_unittest.cc base::MessageLoop message_loop_; base 195 sync/notifier/sync_system_resources_unittest.cc base::Callback<void(const base::DictionaryValue&)> callback) OVERRIDE { base 196 sync/notifier/sync_system_resources_unittest.cc base::DictionaryValue value; base 121 sync/notifier/unacked_invalidation_set.cc scoped_ptr<base::DictionaryValue> UnackedInvalidationSet::ToValue() const { base 122 sync/notifier/unacked_invalidation_set.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue); base 123 sync/notifier/unacked_invalidation_set.cc value->SetString(kSourceKey, base::IntToString(object_id_.source())); base 126 sync/notifier/unacked_invalidation_set.cc scoped_ptr<base::ListValue> list_value(new base::ListValue); base 137 sync/notifier/unacked_invalidation_set.cc const base::DictionaryValue& value) { base 144 sync/notifier/unacked_invalidation_set.cc if (!base::StringToInt(source_str, &source)) { base 154 sync/notifier/unacked_invalidation_set.cc const base::ListValue* invalidation_list = NULL; base 165 sync/notifier/unacked_invalidation_set.cc const base::ListValue& list) { base 167 sync/notifier/unacked_invalidation_set.cc const base::DictionaryValue* dict; base 15 sync/notifier/unacked_invalidation_set.h namespace base { base 90 sync/notifier/unacked_invalidation_set.h scoped_ptr<base::DictionaryValue> ToValue() const; base 91 sync/notifier/unacked_invalidation_set.h bool ResetFromValue(const base::DictionaryValue& value); base 99 sync/notifier/unacked_invalidation_set.h bool ResetListFromValue(const base::ListValue& value); base 144 sync/notifier/unacked_invalidation_set_test_util.cc scoped_ptr<base::DictionaryValue> value = invalidations.ToValue(); base 155 sync/notifier/unacked_invalidation_set_test_util.cc scoped_ptr<base::ListValue> list(new base::ListValue); base 185 sync/notifier/unacked_invalidation_set_unittest.cc scoped_ptr<base::DictionaryValue> value = unacked_invalidations_.ToValue(); base 51 sync/protocol/proto_value_conversions.cc base::StringValue* MakeInt64Value(int64 x) { base 52 sync/protocol/proto_value_conversions.cc return new base::StringValue(base::Int64ToString(x)); base 57 sync/protocol/proto_value_conversions.cc base::StringValue* MakeBytesValue(const std::string& bytes) { base 59 sync/protocol/proto_value_conversions.cc base::Base64Encode(bytes, &bytes_base64); base 60 sync/protocol/proto_value_conversions.cc return new base::StringValue(bytes_base64); base 63 sync/protocol/proto_value_conversions.cc base::StringValue* MakeStringValue(const std::string& str) { base 64 sync/protocol/proto_value_conversions.cc return new base::StringValue(str); base 69 sync/protocol/proto_value_conversions.cc base::StringValue* MakeEnumValue(T t, const char* (*converter_fn)(T)) { base 70 sync/protocol/proto_value_conversions.cc return new base::StringValue(converter_fn(t)); base 76 sync/protocol/proto_value_conversions.cc base::ListValue* MakeRepeatedValue(const F& fields, V* (*converter_fn)(T)) { base 77 sync/protocol/proto_value_conversions.cc base::ListValue* list = new base::ListValue(); base 98 sync/protocol/proto_value_conversions.cc #define SET_BOOL(field) SET(field, new base::FundamentalValue) base 104 sync/protocol/proto_value_conversions.cc #define SET_STR(field) SET(field, new base::StringValue) base 110 sync/protocol/proto_value_conversions.cc base::StringValue>(proto.field(), \ base 117 sync/protocol/proto_value_conversions.cc new base::FundamentalValue( \ base 132 sync/protocol/proto_value_conversions.cc base::DictionaryValue* EncryptedDataToValue( base 134 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 141 sync/protocol/proto_value_conversions.cc base::DictionaryValue* AppSettingsToValue( base 143 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 150 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SessionHeaderToValue( base 152 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 159 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SessionTabToValue(const sync_pb::SessionTab& proto) { base 160 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 174 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SessionWindowToValue( base 176 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 184 sync/protocol/proto_value_conversions.cc base::DictionaryValue* TabNavigationToValue( base 186 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 211 sync/protocol/proto_value_conversions.cc base::DictionaryValue* PasswordSpecificsDataToValue( base 213 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 229 sync/protocol/proto_value_conversions.cc base::DictionaryValue* GlobalIdDirectiveToValue( base 231 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 238 sync/protocol/proto_value_conversions.cc base::DictionaryValue* TimeRangeDirectiveToValue( base 240 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 246 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncedNotificationAppInfoToValue( base 248 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 256 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncedNotificationImageToValue( base 258 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 266 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncedNotificationProfileImageToValue( base 268 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 275 sync/protocol/proto_value_conversions.cc base::DictionaryValue* MediaToValue( base 277 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 282 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncedNotificationActionToValue( base 284 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 293 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncedNotificationDestiationToValue( base 295 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 303 sync/protocol/proto_value_conversions.cc base::DictionaryValue* TargetToValue( base 305 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 312 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SimpleCollapsedLayoutToValue( base 314 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 324 sync/protocol/proto_value_conversions.cc base::DictionaryValue* CollapsedInfoToValue( base 326 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 334 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncedNotificationToValue( base 336 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 343 sync/protocol/proto_value_conversions.cc base::DictionaryValue* RenderInfoToValue( base 345 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 351 sync/protocol/proto_value_conversions.cc base::DictionaryValue* CoalescedNotificationToValue( base 353 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 364 sync/protocol/proto_value_conversions.cc base::DictionaryValue* AppListSpecificsToValue( base 366 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 377 sync/protocol/proto_value_conversions.cc base::DictionaryValue* AppNotificationToValue( base 379 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 390 sync/protocol/proto_value_conversions.cc base::DictionaryValue* AppSettingSpecificsToValue( base 392 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 397 sync/protocol/proto_value_conversions.cc base::DictionaryValue* AppSpecificsToValue( base 399 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 409 sync/protocol/proto_value_conversions.cc base::DictionaryValue* AutofillSpecificsToValue( base 411 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 419 sync/protocol/proto_value_conversions.cc base::DictionaryValue* AutofillProfileSpecificsToValue( base 421 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 446 sync/protocol/proto_value_conversions.cc base::DictionaryValue* MetaInfoToValue( base 448 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 454 sync/protocol/proto_value_conversions.cc base::DictionaryValue* BookmarkSpecificsToValue( base 456 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 466 sync/protocol/proto_value_conversions.cc base::DictionaryValue* DeviceInfoSpecificsToValue( base 468 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 477 sync/protocol/proto_value_conversions.cc base::DictionaryValue* DictionarySpecificsToValue( base 479 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 486 sync/protocol/proto_value_conversions.cc base::DictionaryValue* FaviconSyncFlagsToValue( base 488 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 496 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ExperimentsSpecificsToValue( base 498 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 510 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ExtensionSettingSpecificsToValue( base 512 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 519 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ExtensionSpecificsToValue( base 521 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 532 sync/protocol/proto_value_conversions.cc base::DictionaryValue* FaviconDataToValue( base 534 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 542 sync/protocol/proto_value_conversions.cc base::DictionaryValue* FaviconImageSpecificsToValue( base 544 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 553 sync/protocol/proto_value_conversions.cc base::DictionaryValue* FaviconTrackingSpecificsToValue( base 555 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 562 sync/protocol/proto_value_conversions.cc base::DictionaryValue* HistoryDeleteDirectiveSpecificsToValue( base 564 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 570 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ManagedUserSettingSpecificsToValue( base 572 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 578 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ManagedUserSpecificsToValue( base 580 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 590 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ManagedUserSharedSettingSpecificsToValue( base 592 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 600 sync/protocol/proto_value_conversions.cc base::DictionaryValue* NigoriSpecificsToValue( base 602 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 629 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ArticlePageToValue( base 631 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 636 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ArticleSpecificsToValue( base 638 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 645 sync/protocol/proto_value_conversions.cc base::DictionaryValue* PasswordSpecificsToValue( base 647 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 652 sync/protocol/proto_value_conversions.cc base::DictionaryValue* PreferenceSpecificsToValue( base 654 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 660 sync/protocol/proto_value_conversions.cc base::DictionaryValue* PriorityPreferenceSpecificsToValue( base 662 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 667 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncedNotificationAppInfoSpecificsToValue( base 669 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 674 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncedNotificationSpecificsToValue( base 679 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 684 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SearchEngineSpecificsToValue( base 686 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 713 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SessionSpecificsToValue( base 715 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 723 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ThemeSpecificsToValue( base 725 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 734 sync/protocol/proto_value_conversions.cc base::DictionaryValue* TypedUrlSpecificsToValue( base 736 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 745 sync/protocol/proto_value_conversions.cc base::DictionaryValue* EntitySpecificsToValue( base 747 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 784 sync/protocol/proto_value_conversions.cc base::StringValue* UniquePositionToStringValue( base 787 sync/protocol/proto_value_conversions.cc return new base::StringValue(pos.ToDebugString()); base 790 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncEntityToValue(const sync_pb::SyncEntity& proto, base 792 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 816 sync/protocol/proto_value_conversions.cc base::ListValue* SyncEntitiesToValue( base 819 sync/protocol/proto_value_conversions.cc base::ListValue* list = new base::ListValue(); base 828 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ChromiumExtensionActivityToValue( base 830 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 836 sync/protocol/proto_value_conversions.cc base::DictionaryValue* CommitMessageToValue( base 839 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 848 sync/protocol/proto_value_conversions.cc base::DictionaryValue* GetUpdateTriggersToValue( base 850 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 859 sync/protocol/proto_value_conversions.cc base::DictionaryValue* DataTypeProgressMarkerToValue( base 861 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 870 sync/protocol/proto_value_conversions.cc base::DictionaryValue* DataTypeContextToValue( base 872 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 879 sync/protocol/proto_value_conversions.cc base::DictionaryValue* GetUpdatesCallerInfoToValue( base 881 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 887 sync/protocol/proto_value_conversions.cc base::DictionaryValue* GetUpdatesMessageToValue( base 889 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 902 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ClientStatusToValue(const sync_pb::ClientStatus& proto) { base 903 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 908 sync/protocol/proto_value_conversions.cc base::DictionaryValue* EntryResponseToValue( base 910 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 922 sync/protocol/proto_value_conversions.cc base::DictionaryValue* CommitResponseToValue( base 924 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 929 sync/protocol/proto_value_conversions.cc base::DictionaryValue* GetUpdatesResponseToValue( base 932 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 941 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ClientCommandToValue( base 943 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 953 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ErrorToValue( base 955 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 965 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ClientToServerResponseToValue( base 968 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 984 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ClientToServerMessageToValue( base 987 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 1003 sync/protocol/proto_value_conversions.cc base::DictionaryValue* DatatypeAssociationStatsToValue( base 1005 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 1027 sync/protocol/proto_value_conversions.cc base::DictionaryValue* DebugEventInfoToValue( base 1029 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 1038 sync/protocol/proto_value_conversions.cc base::DictionaryValue* DebugInfoToValue(const sync_pb::DebugInfo& proto) { base 1039 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 1047 sync/protocol/proto_value_conversions.cc base::DictionaryValue* SyncCycleCompletedEventInfoToValue( base 1049 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 1059 sync/protocol/proto_value_conversions.cc base::DictionaryValue* ClientConfigParamsToValue( base 1061 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 1067 sync/protocol/proto_value_conversions.cc base::DictionaryValue* AttachmentIdProtoToValue( base 1069 sync/protocol/proto_value_conversions.cc base::DictionaryValue* value = new base::DictionaryValue(); base 12 sync/protocol/proto_value_conversions.h namespace base { base 96 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* EncryptedDataToValue( base 100 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* AppListSpecificsToValue( base 104 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* AppSettingsToValue( base 109 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionHeaderToValue( base 112 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionTabToValue( base 115 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionWindowToValue( base 118 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* TabNavigationToValue( base 123 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* PasswordSpecificsDataToValue( base 128 sync/protocol/proto_value_conversions.h base::DictionaryValue* DeviceInformationToValue( base 133 sync/protocol/proto_value_conversions.h base::DictionaryValue* GlobalIdDirectiveToValue( base 136 sync/protocol/proto_value_conversions.h base::DictionaryValue* TimeRangeDirectiveToValue( base 141 sync/protocol/proto_value_conversions.h base::DictionaryValue* KeystoreEncryptionToValue( base 146 sync/protocol/proto_value_conversions.h base::DictionaryValue* SimpleCollapsedLayoutToValue( base 149 sync/protocol/proto_value_conversions.h base::DictionaryValue* CollapsedInfoToValue( base 152 sync/protocol/proto_value_conversions.h base::DictionaryValue* RenderInfoToValue( base 155 sync/protocol/proto_value_conversions.h base::DictionaryValue* CoalescedNotificationToValue( base 158 sync/protocol/proto_value_conversions.h base::DictionaryValue* SyncedNotificationActionToValue( base 161 sync/protocol/proto_value_conversions.h base::DictionaryValue* SyncedNotificationDestinationToValue( base 164 sync/protocol/proto_value_conversions.h base::DictionaryValue* SyncedNotificationToValue( base 167 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionSpecificsToValue( base 170 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* SyncedNotificationImageToValue( base 173 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* base 177 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* TargetToValue( base 182 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* AppNotificationToValue( base 185 sync/protocol/proto_value_conversions.h base::DictionaryValue* AppSettingSpecificsToValue( base 188 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* AppSpecificsToValue( base 191 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ArticleSpecificsToValue( base 194 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* AutofillSpecificsToValue( base 197 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* AutofillProfileSpecificsToValue( base 200 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* BookmarkSpecificsToValue( base 203 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* DeviceInfoSpecificsToValue( base 206 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* DictionarySpecificsToValue( base 209 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ExperimentsSpecificsToValue( base 212 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* PriorityPreferenceSpecificsToValue( base 215 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ExtensionSettingSpecificsToValue( base 218 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ExtensionSpecificsToValue( base 221 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* FaviconImageSpecificsToValue( base 224 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* FaviconTrackingSpecificsToValue( base 227 sync/protocol/proto_value_conversions.h SYNC_EXPORT base::DictionaryValue* HistoryDeleteDirectiveSpecificsToValue( base 231 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ManagedUserSettingSpecificsToValue( base 234 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ManagedUserSpecificsToValue( base 237 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* base 242 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* MediaToValue( base 245 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* NigoriSpecificsToValue( base 248 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* PasswordSpecificsToValue( base 251 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* PreferenceSpecificsToValue( base 254 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* base 259 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* SyncedNotificationSpecificsToValue( base 263 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* SearchEngineSpecificsToValue( base 266 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ThemeSpecificsToValue( base 269 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* TypedUrlSpecificsToValue( base 274 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* EntitySpecificsToValue( base 277 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ClientToServerMessageToValue( base 281 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* ClientToServerResponseToValue( base 285 sync/protocol/proto_value_conversions.h base::DictionaryValue* DatatypeAssociationStatsToValue( base 288 sync/protocol/proto_value_conversions.h base::DictionaryValue* DebugEventInfoToValue( base 291 sync/protocol/proto_value_conversions.h base::DictionaryValue* DebugInfoToValue( base 294 sync/protocol/proto_value_conversions.h base::DictionaryValue* SyncCycleCompletedEventInfoToValue( base 297 sync/protocol/proto_value_conversions.h base::DictionaryValue* ClientConfigParamsToValue( base 300 sync/protocol/proto_value_conversions.h SYNC_EXPORT_PRIVATE base::DictionaryValue* AttachmentIdProtoToValue( base 47 sync/protocol/proto_value_conversions_unittest.cc base::DictionaryValue* (*specifics_to_value)(const T&)) { base 49 sync/protocol/proto_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> value(specifics_to_value(specifics)); base 90 sync/protocol/proto_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> value( base 110 sync/protocol/proto_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> value(AppSettingsToValue(specifics)); base 137 sync/protocol/proto_value_conversions_unittest.cc const base::Time creation_time(base::Time::Now()); base 149 sync/protocol/proto_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> value(BookmarkSpecificsToValue(specifics)); base 153 sync/protocol/proto_value_conversions_unittest.cc EXPECT_EQ(base::Int64ToString(creation_time.ToInternalValue()), encoded_time); base 157 sync/protocol/proto_value_conversions_unittest.cc base::ListValue* meta_info_list; base 160 sync/protocol/proto_value_conversions_unittest.cc base::DictionaryValue* meta_info; base 303 sync/protocol/proto_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> value(EntitySpecificsToValue(specifics)); base 312 sync/protocol/proto_value_conversions_unittest.cc bool ValueHasSpecifics(const base::DictionaryValue& value, base 314 sync/protocol/proto_value_conversions_unittest.cc const base::ListValue* entities_list = NULL; base 315 sync/protocol/proto_value_conversions_unittest.cc const base::DictionaryValue* entry_dictionary = NULL; base 316 sync/protocol/proto_value_conversions_unittest.cc const base::DictionaryValue* specifics_dictionary = NULL; base 337 sync/protocol/proto_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> value_with_specifics( base 343 sync/protocol/proto_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> value_without_specifics( base 358 sync/protocol/proto_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> value_with_specifics( base 364 sync/protocol/proto_value_conversions_unittest.cc scoped_ptr<base::DictionaryValue> value_without_specifics( base 54 sync/protocol/sync_protocol_error.cc base::DictionaryValue* SyncProtocolError::ToValue() const { base 55 sync/protocol/sync_protocol_error.cc base::DictionaryValue* value = new base::DictionaryValue(); base 81 sync/protocol/sync_protocol_error.h base::DictionaryValue* ToValue() const; base 196 sync/sessions/data_type_tracker.cc base::TimeDelta DataTypeTracker::GetTimeUntilUnthrottle( base 197 sync/sessions/data_type_tracker.cc base::TimeTicks now) const { base 200 sync/sessions/data_type_tracker.cc return base::TimeDelta::FromSeconds(0); base 202 sync/sessions/data_type_tracker.cc return std::max(base::TimeDelta::FromSeconds(0), base 206 sync/sessions/data_type_tracker.cc void DataTypeTracker::ThrottleType(base::TimeDelta duration, base 207 sync/sessions/data_type_tracker.cc base::TimeTicks now) { base 211 sync/sessions/data_type_tracker.cc void DataTypeTracker::UpdateThrottleState(base::TimeTicks now) { base 213 sync/sessions/data_type_tracker.cc unthrottle_time_ = base::TimeTicks(); base 88 sync/sessions/data_type_tracker.h base::TimeDelta GetTimeUntilUnthrottle(base::TimeTicks now) const; base 91 sync/sessions/data_type_tracker.h void ThrottleType(base::TimeDelta duration, base::TimeTicks now); base 94 sync/sessions/data_type_tracker.h void UpdateThrottleState(base::TimeTicks now); base 114 sync/sessions/data_type_tracker.h base::TimeTicks unthrottle_time_; base 81 sync/sessions/model_type_registry.cc scoped_refptr<base::SequencedTaskRunner> type_task_runner, base 82 sync/sessions/model_type_registry.cc base::WeakPtr<NonBlockingTypeProcessor> processor) { base 92 sync/sessions/model_type_registry.cc base::Bind(&NonBlockingTypeProcessor::OnConnect, base 95 sync/sessions/model_type_registry.cc scoped_refptr<base::SequencedTaskRunner>( base 96 sync/sessions/model_type_registry.cc base::MessageLoopProxy::current()))); base 55 sync/sessions/model_type_registry.h scoped_refptr<base::SequencedTaskRunner> type_task_runner, base 56 sync/sessions/model_type_registry.h base::WeakPtr<NonBlockingTypeProcessor> processor); base 29 sync/sessions/model_type_registry_unittest.cc base::MessageLoop message_loop_; base 119 sync/sessions/model_type_registry_unittest.cc scoped_refptr<base::DeferredSequencedTaskRunner> task_runner = base 120 sync/sessions/model_type_registry_unittest.cc new base::DeferredSequencedTaskRunner(base::MessageLoopProxy::current()); base 149 sync/sessions/model_type_registry_unittest.cc scoped_refptr<base::DeferredSequencedTaskRunner> task_runner = base 150 sync/sessions/model_type_registry_unittest.cc new base::DeferredSequencedTaskRunner(base::MessageLoopProxy::current()); base 198 sync/sessions/model_type_registry_unittest.cc scoped_refptr<base::DeferredSequencedTaskRunner> task_runner = base 199 sync/sessions/model_type_registry_unittest.cc new base::DeferredSequencedTaskRunner(base::MessageLoopProxy::current()); base 79 sync/sessions/nudge_tracker.cc current_retry_time_ = base::TimeTicks(); base 144 sync/sessions/nudge_tracker.cc base::TimeDelta length, base 145 sync/sessions/nudge_tracker.cc base::TimeTicks now) { base 152 sync/sessions/nudge_tracker.cc void NudgeTracker::UpdateTypeThrottlingState(base::TimeTicks now) { base 174 sync/sessions/nudge_tracker.cc base::TimeDelta NudgeTracker::GetTimeUntilNextUnthrottle( base 175 sync/sessions/nudge_tracker.cc base::TimeTicks now) const { base 179 sync/sessions/nudge_tracker.cc base::TimeDelta time_until_next_unthrottle = base::TimeDelta::Max(); base 297 sync/sessions/nudge_tracker.cc void NudgeTracker::SetSyncCycleStartTime(base::TimeTicks now) { base 316 sync/sessions/nudge_tracker.cc next_retry_time_ = base::TimeTicks(); base 327 sync/sessions/nudge_tracker.cc void NudgeTracker::SetNextRetryTime(base::TimeTicks retry_time) { base 70 sync/sessions/nudge_tracker.h base::TimeDelta length, base 71 sync/sessions/nudge_tracker.h base::TimeTicks now); base 74 sync/sessions/nudge_tracker.h void UpdateTypeThrottlingState(base::TimeTicks now); base 78 sync/sessions/nudge_tracker.h base::TimeDelta GetTimeUntilNextUnthrottle(base::TimeTicks now) const; base 123 sync/sessions/nudge_tracker.h void SetSyncCycleStartTime(base::TimeTicks now); base 137 sync/sessions/nudge_tracker.h void SetNextRetryTime(base::TimeTicks next_retry_time); base 164 sync/sessions/nudge_tracker.h base::TimeTicks last_successful_sync_time_; base 172 sync/sessions/nudge_tracker.h base::TimeTicks next_retry_time_; base 176 sync/sessions/nudge_tracker.h base::TimeTicks current_retry_time_; base 181 sync/sessions/nudge_tracker.h base::TimeTicks sync_cycle_start_time_; base 99 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(1234); base 100 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t1 = t0 + base::TimeDelta::FromSeconds(10); base 438 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(1234); base 439 sync/sessions/nudge_tracker_unittest.cc const base::TimeDelta throttle_length = base::TimeDelta::FromMinutes(10); base 440 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t1 = t0 + throttle_length; base 472 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(1234); base 473 sync/sessions/nudge_tracker_unittest.cc const base::TimeDelta throttle_length = base::TimeDelta::FromMinutes(10); base 474 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t1 = t0 + throttle_length; base 513 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(1234); base 514 sync/sessions/nudge_tracker_unittest.cc const base::TimeDelta throttle_length = base::TimeDelta::FromMinutes(10); base 515 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t1 = t0 + throttle_length; base 535 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(1234); base 536 sync/sessions/nudge_tracker_unittest.cc const base::TimeDelta throttle1_length = base::TimeDelta::FromMinutes(10); base 537 sync/sessions/nudge_tracker_unittest.cc const base::TimeDelta throttle2_length = base::TimeDelta::FromMinutes(20); base 538 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t1 = t0 + throttle1_length; base 539 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t2 = t0 + throttle2_length; base 578 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(12345); base 579 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t3 = t0 + base::TimeDelta::FromSeconds(3); base 580 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t4 = t0 + base::TimeDelta::FromSeconds(4); base 612 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(12345); base 613 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t1 = t0 + base::TimeDelta::FromSeconds(1); base 614 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t2 = t0 + base::TimeDelta::FromSeconds(2); base 615 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t5 = t0 + base::TimeDelta::FromSeconds(5); base 616 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t6 = t0 + base::TimeDelta::FromSeconds(6); base 645 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(12345); base 646 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t1 = t0 + base::TimeDelta::FromSeconds(1); base 647 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t3 = t0 + base::TimeDelta::FromSeconds(3); base 648 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t5 = t0 + base::TimeDelta::FromSeconds(5); base 649 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t6 = t0 + base::TimeDelta::FromSeconds(6); base 678 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(12345); base 679 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t1 = t0 + base::TimeDelta::FromSeconds(1); base 680 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t2 = t0 + base::TimeDelta::FromSeconds(2); base 702 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t0 = base::TimeTicks::FromInternalValue(12345); base 703 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t1 = t0 + base::TimeDelta::FromSeconds(1); base 704 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t3 = t0 + base::TimeDelta::FromSeconds(3); base 705 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t4 = t0 + base::TimeDelta::FromSeconds(4); base 706 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t5 = t0 + base::TimeDelta::FromSeconds(5); base 707 sync/sessions/nudge_tracker_unittest.cc const base::TimeTicks t6 = t0 + base::TimeDelta::FromSeconds(6); base 750 sync/sessions/nudge_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 757 sync/sessions/nudge_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 764 sync/sessions/nudge_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 809 sync/sessions/nudge_tracker_unittest.cc base::MessageLoop loop_; base 41 sync/sessions/status_controller.cc sync_start_time_ = base::Time::Now(); base 64 sync/sessions/status_controller.h base::Time sync_start_time() const { base 104 sync/sessions/status_controller.h base::Time sync_start_time_; base 48 sync/sessions/sync_session.h virtual void OnThrottled(const base::TimeDelta& throttle_duration) = 0; base 53 sync/sessions/sync_session.h const base::TimeDelta& throttle_duration) = 0; base 68 sync/sessions/sync_session.h const base::TimeDelta& new_interval) = 0; base 72 sync/sessions/sync_session.h const base::TimeDelta& new_interval) = 0; base 77 sync/sessions/sync_session.h const base::TimeDelta& new_delay) = 0; base 88 sync/sessions/sync_session.h virtual void OnReceivedGuRetryDelay(const base::TimeDelta& delay) = 0; base 100 sync/sessions/test_util.cc const base::TimeDelta& delta) { base 109 sync/sessions/test_util.cc const base::TimeDelta& delta) { base 118 sync/sessions/test_util.cc const base::TimeDelta& new_poll) { base 127 sync/sessions/test_util.cc const base::TimeDelta& new_delay) { base 133 sync/sessions/test_util.cc base::TimeDelta delay) { base 57 sync/sessions/test_util.h base::TimeDelta delay); base 60 sync/sessions/test_util.h const base::TimeDelta& delta); base 65 sync/sessions/test_util.h const base::TimeDelta& delta); base 71 sync/sessions/test_util.h const base::TimeDelta& new_poll); base 78 sync/sessions/test_util.h const base::TimeDelta& new_delay); base 34 sync/syncable/directory.cc const base::FilePath::CharType Directory::kSyncDatabaseFilename[] = base 500 sync/syncable/directory.cc base::AutoLock scoped_lock(kernel_->save_changes_mutex); base 953 sync/syncable/directory.cc scoped_ptr<base::ListValue> Directory::GetAllNodeDetails( base 955 sync/syncable/directory.cc scoped_ptr<base::ListValue> nodes(new base::ListValue()); base 961 sync/syncable/directory.cc scoped_ptr<base::DictionaryValue> node( base 1162 sync/syncable/directory.cc return Id::CreateFromClientString(base::Int64ToString(result)); base 80 sync/syncable/directory.h typedef base::hash_map<int64, EntryKernel*> MetahandlesMap; base 81 sync/syncable/directory.h typedef base::hash_map<std::string, EntryKernel*> IdsMap; base 82 sync/syncable/directory.h typedef base::hash_map<std::string, EntryKernel*> TagsMap; base 84 sync/syncable/directory.h static const base::FilePath::CharType kSyncDatabaseFilename[]; base 340 sync/syncable/directory.h scoped_ptr<base::ListValue> GetAllNodeDetails(BaseTransaction* trans); base 408 sync/syncable/directory.h base::Lock transaction_mutex; base 423 sync/syncable/directory.h base::Lock mutex; base 474 sync/syncable/directory.h base::Lock save_changes_mutex; base 675 sync/syncable/directory_backing_store.cc base::Base64Encode(base::RandBytesAsString(kGuidBytes), &guid); base 685 sync/syncable/directory_backing_store.cc std::string query_sql = base::StringPrintf( base 687 sync/syncable/directory_backing_store.cc std::string update_sql = base::StringPrintf( base 1371 sync/syncable/directory_backing_store.cc const int64 now = TimeToProtoTime(base::Time::Now()); base 1498 sync/syncable/directory_backing_store.cc typedef base::hash_set<std::string> IdsSet; base 1554 sync/syncable/directory_backing_store.cc base::StringPrintf(query.c_str(), "metas").c_str())); base 46 sync/syncable/directory_backing_store.h class SYNC_EXPORT_PRIVATE DirectoryBackingStore : public base::NonThreadSafe { base 44 sync/syncable/directory_backing_store_unittest.cc base::FilePath GetDatabasePath() { base 91 sync/syncable/directory_backing_store_unittest.cc base::ScopedTempDir temp_dir_; base 300 sync/syncable/directory_backing_store_unittest.cc std::map<int64, base::Time> GetExpectedMetaTimes() { base 301 sync/syncable/directory_backing_store_unittest.cc std::map<int64, base::Time> expected_meta_times; base 338 sync/syncable/directory_backing_store_unittest.cc const base::Time& t1, base 339 sync/syncable/directory_backing_store_unittest.cc const base::Time& t2) { base 355 sync/syncable/directory_backing_store_unittest.cc const base::Time& expected_time) { base 369 sync/syncable/directory_backing_store_unittest.cc const std::map<int64, base::Time>& expected_times) { base 374 sync/syncable/directory_backing_store_unittest.cc std::map<int64, base::Time>::const_iterator it2 = base 2883 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ("C2881000", base::HexEncode(model_id.data(), model_id.size())) base 3689 sync/syncable/directory_backing_store_unittest.cc const base::FilePath& backing_filepath); base 3702 sync/syncable/directory_backing_store_unittest.cc const base::FilePath& backing_filepath) : base 45 sync/syncable/entry.cc base::DictionaryValue* Entry::ToValue(Cryptographer* cryptographer) const { base 46 sync/syncable/entry.cc base::DictionaryValue* entry_info = new base::DictionaryValue(); base 150 sync/syncable/entry.cc std::string escaped_str = base::EscapeBytesAsInvalidJSONString( base 161 sync/syncable/entry.cc std::string escaped_str = base::EscapeBytesAsInvalidJSONString( base 84 sync/syncable/entry.h const base::Time& GetMtime() const { base 89 sync/syncable/entry.h const base::Time& GetServerMtime() const { base 94 sync/syncable/entry.h const base::Time& GetCtime() const { base 99 sync/syncable/entry.h const base::Time& GetServerCtime() const { base 247 sync/syncable/entry.h base::DictionaryValue* ToValue(Cryptographer* cryptographer) const; base 67 sync/syncable/entry_kernel.cc base::DictionaryValue* dictionary_value, base 83 sync/syncable/entry_kernel.cc base::DictionaryValue* dictionary_value, base 90 sync/syncable/entry_kernel.cc base::DictionaryValue* value = NULL; base 108 sync/syncable/entry_kernel.cc base::StringValue* Int64ToValue(int64 i) { base 109 sync/syncable/entry_kernel.cc return new base::StringValue(base::Int64ToString(i)); base 112 sync/syncable/entry_kernel.cc base::StringValue* TimeToValue(const base::Time& t) { base 113 sync/syncable/entry_kernel.cc return new base::StringValue(GetTimeDebugString(t)); base 116 sync/syncable/entry_kernel.cc base::StringValue* IdToValue(const Id& id) { base 120 sync/syncable/entry_kernel.cc base::FundamentalValue* BooleanToValue(bool bool_val) { base 121 sync/syncable/entry_kernel.cc return new base::FundamentalValue(bool_val); base 124 sync/syncable/entry_kernel.cc base::StringValue* StringToValue(const std::string& str) { base 125 sync/syncable/entry_kernel.cc return new base::StringValue(str); base 128 sync/syncable/entry_kernel.cc base::StringValue* UniquePositionToValue(const UniquePosition& pos) { base 129 sync/syncable/entry_kernel.cc return new base::StringValue(pos.ToDebugString()); base 132 sync/syncable/entry_kernel.cc base::StringValue* AttachmentMetadataToValue( base 134 sync/syncable/entry_kernel.cc return new base::StringValue(a.SerializeAsString()); base 139 sync/syncable/entry_kernel.cc base::DictionaryValue* EntryKernel::ToValue( base 141 sync/syncable/entry_kernel.cc base::DictionaryValue* kernel_info = new base::DictionaryValue(); base 210 sync/syncable/entry_kernel.cc base::ListValue* EntryKernelMutationMapToValue( base 212 sync/syncable/entry_kernel.cc base::ListValue* list = new base::ListValue(); base 220 sync/syncable/entry_kernel.cc base::DictionaryValue* EntryKernelMutationToValue( base 222 sync/syncable/entry_kernel.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 197 sync/syncable/entry_kernel.h base::Time time_fields[TIME_FIELDS_COUNT]; base 242 sync/syncable/entry_kernel.h inline void put(TimeField field, const base::Time& value) { base 288 sync/syncable/entry_kernel.h inline const base::Time& ref(TimeField field) const { base 346 sync/syncable/entry_kernel.h base::DictionaryValue* ToValue(Cryptographer* cryptographer) const; base 373 sync/syncable/entry_kernel.h base::DictionaryValue* EntryKernelMutationToValue( base 377 sync/syncable/entry_kernel.h base::ListValue* EntryKernelMutationMapToValue( base 86 sync/syncable/model_neutral_mutable_entry.cc void ModelNeutralMutableEntry::PutServerMtime(base::Time value) { base 95 sync/syncable/model_neutral_mutable_entry.cc void ModelNeutralMutableEntry::PutServerCtime(base::Time value) { base 59 sync/syncable/model_neutral_mutable_entry.h void PutServerMtime(base::Time value); base 60 sync/syncable/model_neutral_mutable_entry.h void PutServerCtime(base::Time value); base 594 sync/syncable/model_type.cc base::StringValue* ModelTypeToValue(ModelType model_type) { base 596 sync/syncable/model_type.cc return new base::StringValue(ModelTypeToString(model_type)); base 598 sync/syncable/model_type.cc return new base::StringValue("Top-level folder"); base 600 sync/syncable/model_type.cc return new base::StringValue("Unspecified"); base 603 sync/syncable/model_type.cc return new base::StringValue(std::string()); base 606 sync/syncable/model_type.cc ModelType ModelTypeFromValue(const base::Value& value) { base 607 sync/syncable/model_type.cc if (value.IsType(base::Value::TYPE_STRING)) { base 611 sync/syncable/model_type.cc } else if (value.IsType(base::Value::TYPE_INTEGER)) { base 723 sync/syncable/model_type.cc base::ListValue* ModelTypeSetToValue(ModelTypeSet model_types) { base 724 sync/syncable/model_type.cc base::ListValue* value = new base::ListValue(); base 726 sync/syncable/model_type.cc value->Append(new base::StringValue(ModelTypeToString(it.Get()))); base 731 sync/syncable/model_type.cc ModelTypeSet ModelTypeSetFromValue(const base::ListValue& value) { base 733 sync/syncable/model_type.cc for (base::ListValue::const_iterator i = value.begin(); base 22 sync/syncable/model_type_unittest.cc base::ExpectStringValue(ModelTypeToString(model_type), base 25 sync/syncable/model_type_unittest.cc base::ExpectStringValue("Top-level folder", base 27 sync/syncable/model_type_unittest.cc base::ExpectStringValue("Unspecified", base 34 sync/syncable/model_type_unittest.cc scoped_ptr<base::StringValue> value(ModelTypeToValue(model_type)); base 42 sync/syncable/model_type_unittest.cc scoped_ptr<base::ListValue> value(ModelTypeSetToValue(model_types)); base 54 sync/syncable/model_type_unittest.cc scoped_ptr<base::ListValue> value(ModelTypeSetToValue(model_types)); base 34 sync/syncable/mutable_entry.cc const base::Time& now = base::Time::Now(); base 117 sync/syncable/mutable_entry.cc void MutableEntry::PutMtime(base::Time value) { base 126 sync/syncable/mutable_entry.cc void MutableEntry::PutCtime(base::Time value) { base 47 sync/syncable/mutable_entry.h void PutMtime(base::Time value); base 48 sync/syncable/mutable_entry.h void PutCtime(base::Time value); base 175 sync/syncable/nigori_util.cc scoped_ptr<base::DictionaryValue> value(entry->ToValue(NULL)); base 177 sync/syncable/nigori_util.cc base::JSONWriter::WriteWithOptions(value.get(), base 178 sync/syncable/nigori_util.cc base::JSONWriter::OPTIONS_PRETTY_PRINT, base 27 sync/syncable/on_disk_directory_backing_store.cc const std::string& dir_name, const base::FilePath& backing_filepath) base 90 sync/syncable/on_disk_directory_backing_store.cc base::DeleteFile(backing_filepath_, false); base 21 sync/syncable/on_disk_directory_backing_store.h const base::FilePath& backing_filepath); base 43 sync/syncable/on_disk_directory_backing_store.h base::FilePath backing_filepath_; base 38 sync/syncable/parent_child_index_unittest.cc return syncable::Id::CreateFromServerId("b" + base::IntToString(n)); base 42 sync/syncable/parent_child_index_unittest.cc return syncable::Id::CreateFromServerId("c" + base::IntToString(n)); base 109 sync/syncable/parent_child_index_unittest.cc item->put(UNIQUE_CLIENT_TAG, base::IntToString(n)); base 21 sync/syncable/scoped_kernel_lock.h base::AutoLock scoped_lock_; base 22 sync/syncable/syncable_id.cc base::StringValue* Id::ToValue() const { base 23 sync/syncable/syncable_id.cc return new base::StringValue(s_); base 19 sync/syncable/syncable_id.h namespace base { base 101 sync/syncable/syncable_id.h base::StringValue* ToValue() const; base 87 sync/syncable/syncable_id_unittest.cc base::ExpectStringValue("r", Id::CreateFromServerId("0").ToValue()); base 88 sync/syncable/syncable_id_unittest.cc base::ExpectStringValue("svalue", Id::CreateFromServerId("value").ToValue()); base 90 sync/syncable/syncable_id_unittest.cc base::ExpectStringValue("r", Id::CreateFromClientString("0").ToValue()); base 91 sync/syncable/syncable_id_unittest.cc base::ExpectStringValue("cvalue", base 44 sync/syncable/syncable_unittest.cc using base::ExpectDictBooleanValue; base 45 sync/syncable/syncable_unittest.cc using base::ExpectDictStringValue; base 53 sync/syncable/syncable_unittest.cc scoped_ptr<base::DictionaryValue> value(kernel.ToValue(NULL)); base 100 sync/syncable/syncable_unittest.cc base::MessageLoop message_loop_; base 101 sync/syncable/syncable_unittest.cc base::ScopedTempDir temp_dir_; base 105 sync/syncable/syncable_unittest.cc base::FilePath db_path_; base 376 sync/syncable/syncable_unittest.cc scoped_ptr<base::DictionaryValue> value(e.ToValue(NULL)); base 389 sync/syncable/syncable_unittest.cc scoped_ptr<base::DictionaryValue> value(me.ToValue(NULL)); base 430 sync/syncable/syncable_unittest.cc base::MessageLoop message_loop_; base 573 sync/syncable/syncable_unittest.cc base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); base 602 sync/syncable/syncable_unittest.cc base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); base 635 sync/syncable/syncable_unittest.cc base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); base 698 sync/syncable/syncable_unittest.cc base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); base 724 sync/syncable/syncable_unittest.cc base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); base 1551 sync/syncable/syncable_unittest.cc const base::FilePath& backing_filepath); base 1567 sync/syncable/syncable_unittest.cc const base::FilePath& backing_filepath) base 1591 sync/syncable/syncable_unittest.cc const base::FilePath& backing_filepath); base 1611 sync/syncable/syncable_unittest.cc const base::FilePath& backing_filepath) { base 1629 sync/syncable/syncable_unittest.cc base::ScopedTempDir temp_dir; base 1631 sync/syncable/syncable_unittest.cc base::FilePath file_path = temp_dir.path().Append( base 1653 sync/syncable/syncable_unittest.cc base::DeleteFile(file_path_, true); base 1661 sync/syncable/syncable_unittest.cc base::DeleteFile(file_path_, true); base 1685 sync/syncable/syncable_unittest.cc base::ScopedTempDir temp_dir_; base 1686 sync/syncable/syncable_unittest.cc base::FilePath file_path_; base 2087 sync/syncable/syncable_unittest.cc base::MessageLoop message_loop_; base 2088 sync/syncable/syncable_unittest.cc base::ScopedTempDir temp_dir_; base 2095 sync/syncable/syncable_unittest.cc base::FilePath path = temp_dir_.path().Append( base 2109 sync/syncable/syncable_unittest.cc ASSERT_TRUE(base::DeleteFile(path, true)); base 2112 sync/syncable/syncable_unittest.cc class StressTransactionsDelegate : public base::PlatformThread::Delegate { base 2132 sync/syncable/syncable_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 2136 sync/syncable/syncable_unittest.cc base::StringPrintf("%d.%d", thread_number_, entry_count++); base 2141 sync/syncable/syncable_unittest.cc base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( base 2156 sync/syncable/syncable_unittest.cc base::MessageLoop message_loop; base 2157 sync/syncable/syncable_unittest.cc base::ScopedTempDir temp_dir; base 2171 sync/syncable/syncable_unittest.cc base::PlatformThreadHandle threads[kThreadCount]; base 2176 sync/syncable/syncable_unittest.cc ASSERT_TRUE(base::PlatformThread::Create( base 2181 sync/syncable/syncable_unittest.cc base::PlatformThread::Join(threads[i]); base 104 sync/syncable/syncable_util.cc base::Base64Encode(base::SHA1HashString(hash_input), &encode_output); base 27 sync/syncable/write_transaction_info.cc base::DictionaryValue* WriteTransactionInfo::ToValue( base 29 sync/syncable/write_transaction_info.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 30 sync/syncable/write_transaction_info.cc dict->SetString("id", base::Int64ToString(id)); base 33 sync/syncable/write_transaction_info.cc base::Value* mutations_value = NULL; base 39 sync/syncable/write_transaction_info.cc new base::StringValue( base 40 sync/syncable/write_transaction_info.cc base::Uint64ToString(static_cast<uint64>(mutations_size)) + base 24 sync/syncable/write_transaction_info.h base::DictionaryValue* ToValue(size_t max_mutations_size) const; base 32 sync/test/accounts_client/test_accounts_client.cc static const base::TimeDelta kRequestTimeout = base::TimeDelta::FromSeconds(10); base 39 sync/test/accounts_client/test_accounts_client.cc AccountsRequestDelegate(base::RunLoop* run_loop) : response_(""), base 68 sync/test/accounts_client/test_accounts_client.cc base::RunLoop* run_loop_; base 82 sync/test/accounts_client/test_accounts_client.cc string max_lifetime_seconds = base::StringPrintf("%d", base 98 sync/test/accounts_client/test_accounts_client.cc scoped_ptr<base::Value> value(base::JSONReader::Read(response)); base 99 sync/test/accounts_client/test_accounts_client.cc base::DictionaryValue* dict_value; base 133 sync/test/accounts_client/test_accounts_client.cc return GURL(base::StringPrintf("%s/%s", server_.c_str(), path.c_str())); base 138 sync/test/accounts_client/test_accounts_client.cc base::MessageLoop* loop = base::MessageLoop::current(); base 142 sync/test/accounts_client/test_accounts_client.cc base::RunLoop run_loop; base 151 sync/test/accounts_client/test_accounts_client.cc base::MessageLoop::current()->PostDelayedTask(FROM_HERE, base 57 sync/test/accounts_client/test_accounts_client.h base::MessageLoopForIO io_loop_; base 64 sync/test/accounts_client/test_accounts_client_unittest.cc base::DictionaryValue success_dict; base 65 sync/test/accounts_client/test_accounts_client_unittest.cc success_dict.Set("username", new base::StringValue(kUsername)); base 66 sync/test/accounts_client/test_accounts_client_unittest.cc success_dict.Set("account_space", new base::StringValue(kAccountSpace)); base 67 sync/test/accounts_client/test_accounts_client_unittest.cc success_dict.Set("session_id", new base::StringValue(kSessionId)); base 68 sync/test/accounts_client/test_accounts_client_unittest.cc success_dict.Set("expiration_time", new base::StringValue(kExpirationTime)); base 71 sync/test/accounts_client/test_accounts_client_unittest.cc base::JSONWriter::Write(&success_dict, &success_response); base 14 sync/test/accounts_client/url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> network_task_runner) base 34 sync/test/accounts_client/url_request_context_getter.cc scoped_refptr<base::SingleThreadTaskRunner> base 14 sync/test/accounts_client/url_request_context_getter.h namespace base { base 25 sync/test/accounts_client/url_request_context_getter.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner); base 29 sync/test/accounts_client/url_request_context_getter.h virtual scoped_refptr<base::SingleThreadTaskRunner> base 35 sync/test/accounts_client/url_request_context_getter.h scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; base 25 sync/test/android/javatests/src/org/chromium/sync/test/util/MockAccountManager.java import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; base 15 sync/test/android/javatests/src/org/chromium/sync/test/util/MockSyncContentResolverDelegate.java import org.chromium.base.ThreadUtils; base 20 sync/test/engine/fake_model_worker.h class FakeModelWorker : public ModelSafeWorker, public base::NonThreadSafe { base 20 sync/test/engine/fake_sync_scheduler.cc const base::TimeDelta& desired_delay, base 26 sync/test/engine/fake_sync_scheduler.cc const base::TimeDelta& desired_delay, base 32 sync/test/engine/fake_sync_scheduler.cc const base::TimeDelta& desired_delay, base 45 sync/test/engine/fake_sync_scheduler.cc base::TimeDelta FakeSyncScheduler::GetSessionsCommitDelay() const { base 46 sync/test/engine/fake_sync_scheduler.cc return base::TimeDelta(); base 58 sync/test/engine/fake_sync_scheduler.cc const base::TimeDelta& throttle_duration) { base 63 sync/test/engine/fake_sync_scheduler.cc const base::TimeDelta& throttle_duration) { base 71 sync/test/engine/fake_sync_scheduler.cc const base::TimeDelta& new_interval) { base 75 sync/test/engine/fake_sync_scheduler.cc const base::TimeDelta& new_interval) { base 79 sync/test/engine/fake_sync_scheduler.cc const base::TimeDelta& new_delay) { base 89 sync/test/engine/fake_sync_scheduler.cc const base::TimeDelta& delay) { base 25 sync/test/engine/fake_sync_scheduler.h const base::TimeDelta& desired_delay, base 29 sync/test/engine/fake_sync_scheduler.h const base::TimeDelta& desired_delay, base 33 sync/test/engine/fake_sync_scheduler.h const base::TimeDelta& desired_delay, base 40 sync/test/engine/fake_sync_scheduler.h virtual base::TimeDelta GetSessionsCommitDelay() const OVERRIDE; base 46 sync/test/engine/fake_sync_scheduler.h const base::TimeDelta& throttle_duration) OVERRIDE; base 49 sync/test/engine/fake_sync_scheduler.h const base::TimeDelta& throttle_duration) OVERRIDE; base 52 sync/test/engine/fake_sync_scheduler.h const base::TimeDelta& new_interval) OVERRIDE; base 54 sync/test/engine/fake_sync_scheduler.h const base::TimeDelta& new_interval) OVERRIDE; base 56 sync/test/engine/fake_sync_scheduler.h const base::TimeDelta& new_delay) OVERRIDE; base 61 sync/test/engine/fake_sync_scheduler.h const base::TimeDelta& delay) OVERRIDE; base 68 sync/test/engine/mock_connection_manager.cc const base::Closure& callback) { base 151 sync/test/engine/mock_connection_manager.cc base::AutoLock lock(response_code_override_lock_); base 467 sync/test/engine/mock_connection_manager.cc next_token_ = base::StringPrintf("mock connection ts = %d", ts); base 617 sync/test/engine/mock_connection_manager.cc string new_id = base::StringPrintf("mock_server:%d", next_new_id_++); base 49 sync/test/engine/mock_connection_manager.h void SetMidCommitCallback(const base::Closure& callback); base 219 sync/test/engine/mock_connection_manager.h base::AutoLock lock(store_birthday_lock_); base 253 sync/test/engine/mock_connection_manager.h base::AutoLock lock(store_birthday_lock_); base 341 sync/test/engine/mock_connection_manager.h base::Lock store_birthday_lock_; base 357 sync/test/engine/mock_connection_manager.h base::Closure mid_commit_callback_; base 377 sync/test/engine/mock_connection_manager.h base::Lock response_code_override_lock_; base 35 sync/test/engine/test_id_factory.h return syncable::Id::CreateFromClientString(base::Int64ToString(value)); base 37 sync/test/engine/test_id_factory.h return syncable::Id::CreateFromServerId(base::Int64ToString(value)); base 53 sync/test/engine/test_id_factory.h std::string("_auto ") + base::IntToString(-next_value())); base 59 sync/test/engine/test_id_factory.h std::string("_auto ") + base::IntToString(next_value())); base 15 sync/test/fake_encryptor.cc base::Base64Encode(plaintext, ciphertext); base 21 sync/test/fake_encryptor.cc return base::Base64Decode(ciphertext, plaintext); base 34 sync/test/fake_server/bookmark_entity.cc string id = FakeServerEntity::CreateId(model_type, base::GenerateGUID()); base 71 sync/test/fake_server/fake_server.cc new_marker->set_token(base::Int64ToString(version)); base 140 sync/test/fake_server/fake_server.cc bool parsed = base::StringToInt64(marker.token(), &version); base 60 sync/test/fake_server/fake_server_entity.cc return base::StringPrintf("%d%s%s", base 72 sync/test/fake_server/fake_server_entity.cc if (token_count != 2 || !base::StringToInt(tokens[0], &field_number)) { base 20 sync/test/fake_server/fake_server_http_post_provider.h public base::RefCountedThreadSafe<FakeServerHttpPostProvider> { base 38 sync/test/fake_server/fake_server_http_post_provider.h friend class base::RefCountedThreadSafe<FakeServerHttpPostProvider>; base 33 sync/test/fake_server/fake_sync_server_http_handler.cc CHECK_EQ(net::OK, error) << base::StringPrintf( base 38 sync/test/fake_server/fake_sync_server_http_handler.cc LOG(INFO) << base::StringPrintf("Listening on port %d", address.port()); base 59 sync/test/fake_server/fake_sync_server_http_handler.cc std::string error_message = base::StringPrintf( base 34 sync/test/fake_server/run_sync_fake_server.cc if (!base::StringToInt(requested_port, &port)) { base 47 sync/test/fake_server/run_sync_fake_server.cc base::WeakPtrFactory<FakeSyncServerHttpHandler> server_ptr_factory(server); base 50 sync/test/fake_server/run_sync_fake_server.cc base::AtExitManager exit_manager; // Debug builds demand that ExitManager base 52 sync/test/fake_server/run_sync_fake_server.cc base::MessageLoop message_loop(base::MessageLoop::TYPE_IO); base 55 sync/test/fake_server/run_sync_fake_server.cc base::Bind(&FakeSyncServerHttpHandler::Start, base 32 sync/test/fake_server/unique_client_entity.cc FakeServerEntity::CreateId(model_type, base::GenerateGUID()) : base 20 sync/test/local_sync_test_server.cc base::FilePath()), base 27 sync/test/local_sync_test_server.cc base::FilePath()), base 35 sync/test/local_sync_test_server.cc base::CommandLine* command_line) const { base 39 sync/test/local_sync_test_server.cc std::string xmpp_port_str = base::IntToString(xmpp_port_); base 46 sync/test/local_sync_test_server.cc base::FilePath* testserver_path) const { base 47 sync/test/local_sync_test_server.cc base::FilePath testserver_dir; base 48 sync/test/local_sync_test_server.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &testserver_dir)) { base 62 sync/test/local_sync_test_server.cc const base::FilePath::StringType& test_script_name, base 63 sync/test/local_sync_test_server.cc base::FilePath* test_script_path) const { base 64 sync/test/local_sync_test_server.cc base::FilePath testserver_path; base 77 sync/test/local_sync_test_server.cc base::FilePath net_testserver_path; base 85 sync/test/local_sync_test_server.cc base::FilePath pyproto_dir; base 30 sync/test/local_sync_test_server.h base::CommandLine* command_line) const OVERRIDE; base 33 sync/test/local_sync_test_server.h base::FilePath* testserver_path) const OVERRIDE; base 37 sync/test/local_sync_test_server.h bool GetTestScriptPath(const base::FilePath::StringType& test_script_name, base 38 sync/test/local_sync_test_server.h base::FilePath* test_script_path) const; base 13 sync/test/null_transaction_observer.cc return MakeWeakHandle(base::WeakPtr<TransactionObserver>()); base 19 sync/test/test_transaction_observer.h public base::SupportsWeakPtr<TestTransactionObserver>, base 41 sync/tools/null_invalidation_state_tracker.cc base::Base64Encode(data, &base64_data); base 15 sync/tools/null_invalidation_state_tracker.h : public base::SupportsWeakPtr<NullInvalidationStateTracker>, base 85 sync/tools/sync_client.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy) base 120 sync/tools/sync_client.cc std::string ValueToString(const base::Value& value) { base 122 sync/tools/sync_client.cc base::JSONWriter::Write(&value, &str); base 141 sync/tools/sync_client.cc scoped_ptr<base::DictionaryValue> change_value(it->ToValue()); base 147 sync/tools/sync_client.cc scoped_ptr<base::DictionaryValue> details(node.ToValue()); base 177 sync/tools/sync_client.cc public base::SupportsWeakPtr<LoggingJsEventHandler> { base 189 sync/tools/sync_client.cc base::debug::StackTrace().Print(); base 221 sync/tools/sync_client.cc void StubNetworkTimeUpdateCallback(const base::Time&, base 222 sync/tools/sync_client.cc const base::TimeDelta&, base 223 sync/tools/sync_client.cc const base::TimeDelta&) { base 228 sync/tools/sync_client.cc base::mac::ScopedNSAutoreleasePool pool; base 230 sync/tools/sync_client.cc base::AtExitManager exit_manager; base 236 sync/tools/sync_client.cc base::MessageLoop sync_loop; base 237 sync/tools/sync_client.cc base::Thread io_thread("IO thread"); base 238 sync/tools/sync_client.cc base::Thread::Options options; base 239 sync/tools/sync_client.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 276 sync/tools/sync_client.cc std::string invalidator_id = base::RandBytesAsString(8); base 289 sync/tools/sync_client.cc base::ScopedTempDir database_dir; base 339 sync/tools/sync_client.cc const scoped_refptr<base::TaskRunner> blocking_task_runner = NULL; base 346 sync/tools/sync_client.cc base::Bind(&StubNetworkTimeUpdateCallback), base 95 sync/tools/sync_listen_notifications.cc const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy) base 143 sync/tools/sync_listen_notifications.cc base::mac::ScopedNSAutoreleasePool pool; base 145 sync/tools/sync_listen_notifications.cc base::AtExitManager exit_manager; base 151 sync/tools/sync_listen_notifications.cc base::MessageLoop ui_loop; base 152 sync/tools/sync_listen_notifications.cc base::Thread io_thread("IO thread"); base 153 sync/tools/sync_listen_notifications.cc base::Thread::Options options; base 154 sync/tools/sync_listen_notifications.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 192 sync/tools/sync_listen_notifications.cc base::RandBytesAsString(8), base 25 sync/tools/testserver/run_sync_testserver.cc const base::FilePath::StringType& sync_test_script_name) { base 33 sync/tools/testserver/run_sync_testserver.cc base::FilePath sync_test_script_path; base 48 sync/tools/testserver/run_sync_testserver.cc if (!base::LaunchProcess(python_command, base::LaunchOptions(), NULL)) { base 63 sync/tools/testserver/run_sync_testserver.cc if (!base::StringToInt(port_str, &port_int)) { base 72 sync/tools/testserver/run_sync_testserver.cc base::AtExitManager at_exit_manager; base 73 sync/tools/testserver/run_sync_testserver.cc base::MessageLoopForIO message_loop; base 264 sync/util/cryptographer.cc base::Base64Encode(encrypted_token, token); base 275 sync/util/cryptographer.cc if (!base::Base64Decode(token, &encrypted_data)) { base 15 sync/util/data_type_histogram.h name, time, base::TimeDelta::FromMilliseconds(1), \ base 16 sync/util/data_type_histogram.h base::TimeDelta::FromHours(1), 50) base 35 sync/util/data_type_histogram_unittest.cc base::TimeDelta::FromSeconds(1)); base 19 sync/util/extensions_activity.cc base::AutoLock lock(records_lock_); base 25 sync/util/extensions_activity.cc base::AutoLock lock(records_lock_); base 33 sync/util/extensions_activity.cc base::AutoLock lock(records_lock_); base 22 sync/util/extensions_activity.h : public base::RefCountedThreadSafe<ExtensionsActivity> { base 55 sync/util/extensions_activity.h friend class base::RefCountedThreadSafe<ExtensionsActivity>; base 59 sync/util/extensions_activity.h mutable base::Lock records_lock_; base 33 sync/util/get_session_name.cc std::string board = base::SysInfo::GetLsbReleaseBoard(); base 48 sync/util/get_session_name.cc base::android::BuildInfo* android_build_info = base 49 sync/util/get_session_name.cc base::android::BuildInfo::GetInstance(); base 54 sync/util/get_session_name.cc session_name = base::SysInfo::OperatingSystemName(); base 64 sync/util/get_session_name.cc const base::Callback<void(const std::string&)>& done_callback, base 72 sync/util/get_session_name.cc const scoped_refptr<base::TaskRunner>& task_runner, base 73 sync/util/get_session_name.cc const base::Callback<void(const std::string&)>& done_callback) { base 77 sync/util/get_session_name.cc base::Bind(&FillSessionName, base 78 sync/util/get_session_name.cc base::Unretained(session_name)), base 79 sync/util/get_session_name.cc base::Bind(&OnSessionNameFilled, base 81 sync/util/get_session_name.cc base::Owned(session_name))); base 14 sync/util/get_session_name.h namespace base { base 21 sync/util/get_session_name.h const scoped_refptr<base::TaskRunner>& task_runner, base 22 sync/util/get_session_name.h const base::Callback<void(const std::string&)>& done_callback); base 19 sync/util/get_session_name_linux.cc return base::GetLinuxDistro(); base 30 sync/util/get_session_name_unittest.cc base::MessageLoop message_loop_; base 47 sync/util/get_session_name_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); base 56 sync/util/get_session_name_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); base 68 sync/util/get_session_name_unittest.cc base::Bind(&GetSessionNameTest::SetSessionNameAndQuit, base 69 sync/util/get_session_name_unittest.cc base::Unretained(this))); base 19 sync/util/nigori.cc using base::Base64Encode; base 20 sync/util/nigori.cc using base::Base64Decode; base 33 sync/util/nigori.cc uint32 size = base::HostToNet32(value.size()); base 43 sync/util/nigori.cc uint32 size = base::HostToNet32(sizeof(uint32)); base 45 sync/util/nigori.cc uint32 value = base::HostToNet32(type); base 12 sync/util/time.cc int64 TimeToProtoTime(const base::Time& t) { base 13 sync/util/time.cc return (t - base::Time::UnixEpoch()).InMilliseconds(); base 16 sync/util/time.cc base::Time ProtoTimeToTime(int64 proto_t) { base 17 sync/util/time.cc return base::Time::UnixEpoch() + base::TimeDelta::FromMilliseconds(proto_t); base 20 sync/util/time.cc std::string GetTimeDebugString(const base::Time& t) { base 21 sync/util/time.cc return base::UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime(t)); base 20 sync/util/time.h SYNC_EXPORT int64 TimeToProtoTime(const base::Time& t); base 23 sync/util/time.h SYNC_EXPORT_PRIVATE base::Time ProtoTimeToTime(int64 proto_t); base 25 sync/util/time.h SYNC_EXPORT std::string GetTimeDebugString(const base::Time& t); base 13 testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java import org.chromium.base.PathUtils; base 14 testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java import org.chromium.base.PowerMonitor; base 15 testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java import org.chromium.base.library_loader.NativeLibraries; base 93 testing/android/native_test_launcher.cc void EnsureCreateFIFO(const base::FilePath& path) { base 95 testing/android/native_test_launcher.cc if (base::android::CreateFIFO(path, 0666)) base 106 testing/android/native_test_launcher.cc const base::FilePath& path, base 108 testing/android/native_test_launcher.cc if (base::android::RedirectStream(stream, path, mode)) base 122 testing/android/native_test_launcher.cc base::AtExitManager exit_manager; base 129 testing/android/native_test_launcher.cc base::android::ScopedJavaLocalRef<jobject> scoped_context( base 131 testing/android/native_test_launcher.cc base::android::InitApplicationContext(env, scoped_context); base 132 testing/android/native_test_launcher.cc base::android::RegisterJni(env); base 145 testing/android/native_test_launcher.cc base::FilePath files_dir( base 146 testing/android/native_test_launcher.cc base::android::ConvertJavaStringToUTF8(env, jfiles_dir)); base 150 testing/android/native_test_launcher.cc base::FilePath fifo_path(files_dir.Append(base::FilePath("test.fifo"))); base 153 testing/android/native_test_launcher.cc base::FilePath stderr_fifo_path, stdin_fifo_path; base 158 testing/android/native_test_launcher.cc stderr_fifo_path = files_dir.Append(base::FilePath("stderr.fifo")); base 164 testing/android/native_test_launcher.cc stdin_fifo_path = files_dir.Append(base::FilePath("stdin.fifo")); base 181 testing/android/native_test_launcher.cc base::debug::WaitForDebugger(24 * 60 * 60, false); base 193 testing/android/native_test_launcher.cc base::android::InitVM(vm); base 194 testing/android/native_test_launcher.cc JNIEnv* env = base::android::AttachCurrentThread(); base 16 testing/android/native_test_util.cc base::StringTokenizer tokenizer(command_line, base::kWhitespaceASCII); base 20 testing/android/native_test_util.cc base::RemoveChars(tokenizer.token(), "\"", &token); base 32 testing/android/native_test_util.cc base::FilePath command_line(path); base 34 testing/android/native_test_util.cc if (base::ReadFileToString(command_line, &command_line_string)) { base 26 testing/perf/perf_test.cc return base::StringPrintf("%sRESULT %s%s: %s= %s%s%s %s\n", base 59 testing/perf/perf_test.cc base::UintToString(static_cast<unsigned int>(value)), base 75 testing/perf/perf_test.cc base::DoubleToString(value), base 93 testing/perf/perf_test.cc base::UintToString(static_cast<unsigned int>(value)), base 12 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h #define INVALIDATION_CALLBACK1_TYPE(Arg1) ::base::Callback<void(Arg1)> base 20 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h typedef ::base::Closure Closure; base 47 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Closure(::base::Bind(fn)); base 53 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Closure(::base::Bind(method, base::Unretained(object))); base 57 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h ::base::Callback<void(Arg1)>* NewPermanentCallback( base 59 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Callback<void(Arg1)>( base 60 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h ::base::Bind(method, base::Unretained(object))); base 68 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Closure(::base::Bind(method, base::Unretained(object), base 77 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Closure(::base::Bind(fn, arg1, arg2)); base 86 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Closure(::base::Bind(method, base::Unretained(object), base 91 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h ::base::Callback<void(Arg2)>* NewPermanentCallback( base 95 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Callback<void(Arg2)>( base 96 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h ::base::Bind(method, base::Unretained(object), arg1)); base 106 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Closure(::base::Bind(method, base::Unretained(object), base 119 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Closure(::base::Bind(method, base::Unretained(object), base 129 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h return new ::base::Closure(::base::Bind( base 130 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h &::base::Callback<void(ArgType)>::Run, base::Owned(callback), arg)); base 13 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/mutex.h typedef base::Lock Mutex; base 20 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/mutex.h base::AutoLock auto_lock_; base 10 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.cc return base::RandDouble(); base 14 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.cc return base::RandUint64(); base 37 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/sha1-digest-function.h return base::SHA1HashString(buffer_); base 13 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/string_util.h using base::StringAppendV; base 14 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/string_util.h using base::StringPrintf; base 17 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/string_util.h return base::IntToString(v); base 21 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/string_util.h return base::Int64ToString(v); base 11 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/time.h typedef base::Time Time; base 12 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/time.h typedef base::TimeTicks TimeTicks; base 13 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/time.h typedef base::TimeDelta TimeDelta; base 343 third_party/cld/base/basictypes.h namespace base { base 79 third_party/cld/base/casts.h COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); base 80 third_party/cld/base/casts.h typedef typename base::remove_reference<To>::type* ToAsPointer; base 10 third_party/cld/base/crash.h namespace base { base 671 third_party/cld/base/logging.h #define LOG_EVERY_N_VARNAME(base, line) LOG_EVERY_N_VARNAME_CONCAT(base, line) base 672 third_party/cld/base/logging.h #define LOG_EVERY_N_VARNAME_CONCAT(base, line) base ## line base 986 third_party/cld/base/logging.h void RecordCrashReason(base::CrashReason* reason); base 1312 third_party/cld/base/logging.h namespace base { base 207 third_party/cld/base/macros.h namespace base { \ base 223 third_party/cld/base/macros.h namespace base { \ base 237 third_party/cld/base/macros.h template <> struct ERROR_TYPE_MUST_BE_POD<base::true_type> { }; base 241 third_party/cld/base/macros.h typename base::is_pod<TypeName>::type>) } base 12 third_party/cld/base/string_util.h namespace base { base 41 third_party/cld/base/strtoint.h int32 strto32_adapter(const char *nptr, char **endptr, int base); base 42 third_party/cld/base/strtoint.h uint32 strtou32_adapter(const char *nptr, char **endptr, int base); base 46 third_party/cld/base/strtoint.h inline int32 strto32(const char *nptr, char **endptr, int base) { base 48 third_party/cld/base/strtoint.h return strtol(nptr, endptr, base); base 50 third_party/cld/base/strtoint.h return strto32_adapter(nptr, endptr, base); base 53 third_party/cld/base/strtoint.h inline uint32 strtou32(const char *nptr, char **endptr, int base) { base 55 third_party/cld/base/strtoint.h return strtoul(nptr, endptr, base); base 57 third_party/cld/base/strtoint.h return strtou32_adapter(nptr, endptr, base); base 62 third_party/cld/base/strtoint.h inline int64 strto64(const char *nptr, char **endptr, int base) { base 65 third_party/cld/base/strtoint.h return strtoll(nptr, endptr, base); base 68 third_party/cld/base/strtoint.h inline uint64 strtou64(const char *nptr, char **endptr, int base) { base 71 third_party/cld/base/strtoint.h return strtoull(nptr, endptr, base); base 24 third_party/cld/base/template_util.h namespace base { base 34 third_party/cld/base/type_traits.h namespace base { base 65 third_party/cld/base/vlog_is_on.h ({ static Atomic32 site__ = ::base::internal::kDefaultSite; \ base 66 third_party/cld/base/vlog_is_on.h ::base::internal::VLogEnabled(&site__, (verboselevel), __FILE__); }) base 87 third_party/cld/base/vlog_is_on.h namespace base { base 20 third_party/cld/encodings/compact_lang_det/win/cld_strtoint.h inline int32 strto32(const char *nptr, char **endptr, int base) { base 21 third_party/cld/encodings/compact_lang_det/win/cld_strtoint.h return static_cast<int32>(strtol(nptr, endptr, base)); base 284 third_party/cld/languages/internal/languages.cc !base::strcasecmp(lang_code, info.language_code_639_1_)) || base 286 third_party/cld/languages/internal/languages.cc !base::strcasecmp(lang_code, info.language_code_639_2_)) || base 288 third_party/cld/languages/internal/languages.cc !base::strcasecmp(lang_code, info.language_code_other_))) { base 298 third_party/cld/languages/internal/languages.cc if (!base::strcasecmp(lang_code, "zh-cn") || base 299 third_party/cld/languages/internal/languages.cc !base::strcasecmp(lang_code, "zh_cn")) { base 303 third_party/cld/languages/internal/languages.cc if (!base::strcasecmp(lang_code, "zh-tw") || base 304 third_party/cld/languages/internal/languages.cc !base::strcasecmp(lang_code, "zh_tw")) { base 308 third_party/cld/languages/internal/languages.cc if (!base::strcasecmp(lang_code, "sr-me") || base 309 third_party/cld/languages/internal/languages.cc !base::strcasecmp(lang_code, "sr_me")) { base 315 third_party/cld/languages/internal/languages.cc if (!base::strcasecmp(lang_code, "he")) { base 319 third_party/cld/languages/internal/languages.cc if (!base::strcasecmp(lang_code, "in")) { base 323 third_party/cld/languages/internal/languages.cc if (!base::strcasecmp(lang_code, "ji")) { base 331 third_party/cld/languages/internal/languages.cc if (!base::strcasecmp(lang_code, "fil")) { base 335 third_party/expat/files/lib/expat.h const XML_Char *base, base 356 third_party/expat/files/lib/expat.h const XML_Char *base, base 368 third_party/expat/files/lib/expat.h const XML_Char *base, base 435 third_party/expat/files/lib/expat.h const XML_Char *base, base 723 third_party/expat/files/lib/expat.h XML_SetBase(XML_Parser parser, const XML_Char *base); base 197 third_party/expat/files/lib/xmlparse.c const XML_Char *base; base 2371 third_party/expat/files/lib/xmlparse.c entity->base, base 3949 third_party/expat/files/lib/xmlparse.c entity->base = curBase; base 3953 third_party/expat/files/lib/xmlparse.c entity->base, base 3992 third_party/expat/files/lib/xmlparse.c entity->base = curBase; base 3996 third_party/expat/files/lib/xmlparse.c entity->base, base 4218 third_party/expat/files/lib/xmlparse.c declEntity->base = curBase; base 4231 third_party/expat/files/lib/xmlparse.c declEntity->base, base 4248 third_party/expat/files/lib/xmlparse.c declEntity->base, base 4259 third_party/expat/files/lib/xmlparse.c declEntity->base, base 4532 third_party/expat/files/lib/xmlparse.c entity->base, base 5148 third_party/expat/files/lib/xmlparse.c entity->base, base 5911 third_party/expat/files/lib/xmlparse.c if (oldE->base) { base 5912 third_party/expat/files/lib/xmlparse.c if (oldE->base == cachedOldBase) base 5913 third_party/expat/files/lib/xmlparse.c newE->base = cachedNewBase; base 5915 third_party/expat/files/lib/xmlparse.c cachedOldBase = oldE->base; base 5919 third_party/expat/files/lib/xmlparse.c cachedNewBase = newE->base = tem; base 341 third_party/harfbuzz-ng/src/hb-ft.cc blob = hb_blob_create ((const char *) ft_face->stream->base, base 217 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool check_range (const void *base, unsigned int len) const base 219 third_party/harfbuzz-ng/src/hb-open-type-private.hh const char *p = (const char *) base; base 230 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool check_array (const void *base, unsigned int record_size, unsigned int len) const base 232 third_party/harfbuzz-ng/src/hb-open-type-private.hh const char *p = (const char *) base; base 241 third_party/harfbuzz-ng/src/hb-open-type-private.hh return TRACE_RETURN (likely (!overflows && this->check_range (base, record_size * len))); base 250 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool may_edit (const void *base HB_UNUSED, unsigned int len HB_UNUSED) base 255 third_party/harfbuzz-ng/src/hb-open-type-private.hh const char *p = (const char *) base; base 343 third_party/harfbuzz-ng/src/hb-open-type-private.hh const char *base = hb_blob_get_data (blob, NULL); base 344 third_party/harfbuzz-ng/src/hb-open-type-private.hh return unlikely (!base) ? &Null(Type) : CastP<Type> (base); base 692 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline const Type& operator () (const void *base) const base 696 third_party/harfbuzz-ng/src/hb-open-type-private.hh return StructAtOffset<Type> (base, offset); base 699 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline Type& serialize (hb_serialize_context_t *c, void *base) base 702 third_party/harfbuzz-ng/src/hb-open-type-private.hh this->set ((char *) t - (char *) base); /* TODO(serialize) Overflow? */ base 706 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool sanitize (hb_sanitize_context_t *c, void *base) { base 711 third_party/harfbuzz-ng/src/hb-open-type-private.hh Type &obj = StructAtOffset<Type> (base, offset); base 715 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool sanitize (hb_sanitize_context_t *c, void *base, T user_data) { base 720 third_party/harfbuzz-ng/src/hb-open-type-private.hh Type &obj = StructAtOffset<Type> (base, offset); base 741 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline const Type& operator + (const Base &base, const GenericOffsetTo<OffsetType, Type> &offset) { return offset (base); } base 743 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline Type& operator + (Base &base, GenericOffsetTo<OffsetType, Type> &offset) { return offset (base); } base 820 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool sanitize (hb_sanitize_context_t *c, void *base) { base 825 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (!array[i].sanitize (c, base))) base 830 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool sanitize (hb_sanitize_context_t *c, void *base, T user_data) { base 835 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (!array[i].sanitize (c, base, user_data))) base 68 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh inline bool sanitize (hb_sanitize_context_t *c, void *base) { base 70 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh const sanitize_closure_t closure = {tag, base}; base 71 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh return TRACE_RETURN (c->check_struct (this) && offset.sanitize (c, base, &closure)); base 99 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh const void *base, base 130 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (x_ppem) glyph_pos.x_offset += (base + get_device (values)).get_x_delta (font); base 134 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (y_ppem) glyph_pos.y_offset += (base + get_device (values)).get_y_delta (font); base 138 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (horizontal && x_ppem) glyph_pos.x_advance += (base + get_device (values)).get_x_delta (font); base 143 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (!horizontal && y_ppem) glyph_pos.y_advance -= (base + get_device (values)).get_y_delta (font); base 149 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh inline bool sanitize_value_devices (hb_sanitize_context_t *c, void *base, Value *values) { base 157 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if ((format & xPlaDevice) && !get_device (values++).sanitize (c, base)) return false; base 158 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if ((format & yPlaDevice) && !get_device (values++).sanitize (c, base)) return false; base 159 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if ((format & xAdvDevice) && !get_device (values++).sanitize (c, base)) return false; base 160 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if ((format & yAdvDevice) && !get_device (values++).sanitize (c, base)) return false; base 180 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh inline bool sanitize_value (hb_sanitize_context_t *c, void *base, Value *values) { base 182 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh return TRACE_RETURN (c->check_range (values, get_size ()) && (!has_device () || sanitize_value_devices (c, base, values))); base 185 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh inline bool sanitize_values (hb_sanitize_context_t *c, void *base, Value *values, unsigned int count) { base 194 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (!sanitize_value_devices (c, base, values)) base 203 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh inline bool sanitize_values_stride_unsafe (hb_sanitize_context_t *c, void *base, Value *values, unsigned int count, unsigned int stride) { base 209 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh if (!sanitize_value_devices (c, base, values)) base 377 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh inline bool sanitize (hb_sanitize_context_t *c, void *base) { base 379 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh return TRACE_RETURN (c->check_struct (this) && markAnchor.sanitize (c, base)); base 628 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh void *base; base 641 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh return TRACE_RETURN (closure->valueFormats[0].sanitize_values_stride_unsafe (c, closure->base, &record->values[0], count, closure->stride) base 642 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh && closure->valueFormats[1].sanitize_values_stride_unsafe (c, closure->base, &record->values[closure->len1], count, closure->stride)); base 856 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh inline bool sanitize (hb_sanitize_context_t *c, void *base) { base 858 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh return TRACE_RETURN (entryAnchor.sanitize (c, base) && exitAnchor.sanitize (c, base)); base 59 third_party/harfbuzz-ng/src/hb-ot-name-table.hh inline bool sanitize (hb_sanitize_context_t *c, void *base) { base 62 third_party/harfbuzz-ng/src/hb-ot-name-table.hh return TRACE_RETURN (c->check_struct (this) && c->check_range ((char *) base, (unsigned int) length + offset)); base 711 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int base = end; base 734 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base = start; base 742 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base = start; base 767 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base = i; base 783 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base = i; base 809 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base = limit; base 819 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base = i; base 823 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i < end; i++) base 836 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base = start; base 839 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i < end; i++) base 851 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (has_reph && base == start && limit - base <= 2) { base 892 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = start; i < base; i++) base 895 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (base < end) base 896 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc info[base].indic_position() = POS_BASE_C; base 900 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i < end; i++) base 918 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i < end; i++) base 968 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int last = base; base 969 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i < end; i++) base 990 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base = end; base 994 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base = i; base 1002 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (indic_plan->is_old_spec || end - base > 127) base 1003 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (base, end); base 1007 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base; i < end; i++) base 1043 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = start; i < base; i++) base 1047 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (base < end) base 1048 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc info[base].mask |= mask; base 1051 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i < end; i++) base 1076 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = start; i + 1 < base; i++) base 1079 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc (i + 2 == base || base 1088 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (indic_plan->mask_array[PREF] && base + pref_len < end) base 1092 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i + pref_len - 1 < end; i++) { base 1314 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int base; base 1315 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (base = start; base < end; base++) base 1316 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (info[base].indic_position() >= POS_BASE_C) { base 1317 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (start < base && info[base].indic_position() > POS_BASE_C) base 1318 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base--; base 1321 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (base == end && start < base && base 1322 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc info[base - 1].indic_category() != OT_ZWJ) base 1323 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base--; base 1324 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc while (start < base && base 1325 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc (info[base].indic_category() == OT_H || base 1326 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc info[base].indic_category() == OT_N)) base 1327 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base--; base 1340 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (start + 1 < end && start < base) /* Otherwise there can't be any pre-base matra characters. */ base 1343 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int new_pos = base == end ? base - 2 : base - 1; base 1379 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (old_pos < base && base <= new_pos) /* Shouldn't actually happen. */ base 1380 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base--; base 1381 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (new_pos, MIN (end, base + 1)); base 1385 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = start; i < base; i++) base 1387 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc buffer->merge_clusters (i, MIN (end, base + 1)); base 1443 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc while (new_reph_pos < base && !is_halant_or_coeng (info[new_reph_pos])) base 1446 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (new_reph_pos < base && is_halant_or_coeng (info[new_reph_pos])) base 1449 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (new_reph_pos + 1 < base && is_joiner (info[new_reph_pos + 1])) base 1461 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc new_reph_pos = base; base 1476 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc new_reph_pos = base; base 1495 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc while (new_reph_pos < base && !is_halant_or_coeng (info[new_reph_pos])) base 1498 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (new_reph_pos < base && is_halant_or_coeng (info[new_reph_pos])) base 1501 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (new_reph_pos + 1 < base && is_joiner (info[new_reph_pos + 1])) base 1523 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i < new_reph_pos; i++) base 1540 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (start < base && base <= new_reph_pos) base 1541 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base--; base 1552 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (indic_plan->mask_array[PREF] && base + 1 < end) /* Otherwise there can't be any pre-base reordering Ra. */ base 1555 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i < end; i++) base 1578 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int new_pos = base; base 1594 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc for (unsigned int i = base + 1; i < old_pos; i++) base 1616 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (new_pos <= base && base < old_pos) base 1617 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc base++; base 321 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int base = end; base 332 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc base = start; base 338 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc base = limit; base 343 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc base = i; base 354 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc for (; i < base; i++) base 206 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int base = start; base 210 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc for (; i < base; i++) base 224 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc unsigned int base = 0; base 236 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc base = i; base 249 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc info[base].codepoint = thai_pua_shape (info[base].codepoint, action, font); base 302 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int base, base 307 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc if (!font->get_glyph_extents (buffer->info[base].codepoint, base 311 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc zero_mark_advances (buffer, base + 1, end); base 314 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc base_extents.x_bearing += buffer->pos[base].x_offset; base 315 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc base_extents.y_bearing += buffer->pos[base].y_offset; base 317 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int lig_id = _hb_glyph_info_get_lig_id (&buffer->info[base]); base 318 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int num_lig_components = _hb_glyph_info_get_lig_num_comps (&buffer->info[base]); base 322 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc x_offset -= buffer->pos[base].x_advance; base 323 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc y_offset -= buffer->pos[base].y_advance; base 330 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc for (unsigned int i = base + 1; i < end; i++) base 871 third_party/harfbuzz-ng/src/hb-private.hh hb_codepoint_parse (const char *s, unsigned int len, int base, hb_codepoint_t *out) base 881 third_party/harfbuzz-ng/src/hb-private.hh unsigned long v = strtoul (buf, &end, base); base 25 third_party/leveldatabase/chromium_logger.h ::base::PlatformThread::CurrentId(); base 31 third_party/leveldatabase/chromium_logger.h char* base; base 35 third_party/leveldatabase/chromium_logger.h base = buffer; base 38 third_party/leveldatabase/chromium_logger.h base = new char[bufsize]; base 40 third_party/leveldatabase/chromium_logger.h char* p = base; base 41 third_party/leveldatabase/chromium_logger.h char* limit = base + bufsize; base 43 third_party/leveldatabase/chromium_logger.h ::base::Time::Exploded t; base 44 third_party/leveldatabase/chromium_logger.h ::base::Time::Now().LocalExplode(&t); base 46 third_party/leveldatabase/chromium_logger.h p += ::base::snprintf(p, limit - p, base 75 third_party/leveldatabase/chromium_logger.h if (p == base || p[-1] != '\n') { base 80 third_party/leveldatabase/chromium_logger.h fwrite(base, 1, p - base, file_); base 82 third_party/leveldatabase/chromium_logger.h if (base != buffer) { base 83 third_party/leveldatabase/chromium_logger.h delete[] base; base 26 third_party/leveldatabase/env_chromium.cc const base::FilePath::CharType backup_table_extension[] = base 28 third_party/leveldatabase/env_chromium.cc const base::FilePath::CharType table_extension[] = FILE_PATH_LITERAL(".ldb"); base 30 third_party/leveldatabase/env_chromium.cc static const base::FilePath::CharType kLevelDBTestDirectoryPrefix[] base 35 third_party/leveldatabase/env_chromium.cc ::base::File file_; base 42 third_party/leveldatabase/env_chromium.cc : start_(base::TimeTicks::Now()), base 43 third_party/leveldatabase/env_chromium.cc limit_(start_ + base::TimeDelta::FromMilliseconds( base 46 third_party/leveldatabase/env_chromium.cc time_to_sleep_(base::TimeDelta::FromMilliseconds(10)), base 49 third_party/leveldatabase/env_chromium.cc last_error_(base::File::FILE_OK), base 54 third_party/leveldatabase/env_chromium.cc if (last_error_ != base::File::FILE_OK) { base 60 third_party/leveldatabase/env_chromium.cc bool ShouldKeepTrying(base::File::Error last_error) { base 61 third_party/leveldatabase/env_chromium.cc DCHECK_NE(last_error, base::File::FILE_OK); base 64 third_party/leveldatabase/env_chromium.cc base::PlatformThread::Sleep(time_to_sleep_); base 65 third_party/leveldatabase/env_chromium.cc last_ = base::TimeTicks::Now(); base 73 third_party/leveldatabase/env_chromium.cc base::TimeTicks start_; base 74 third_party/leveldatabase/env_chromium.cc base::TimeTicks limit_; base 75 third_party/leveldatabase/env_chromium.cc base::TimeTicks last_; base 76 third_party/leveldatabase/env_chromium.cc base::TimeDelta time_to_sleep_; base 79 third_party/leveldatabase/env_chromium.cc base::File::Error last_error_; base 102 third_party/leveldatabase/env_chromium.cc ::base::LazyInstance<IDBEnvWin>::Leaky idb_env = base 105 third_party/leveldatabase/env_chromium.cc ::base::LazyInstance<IDBEnvStdio>::Leaky idb_env = base 109 third_party/leveldatabase/env_chromium.cc ::base::LazyInstance<ChromiumEnvStdio>::Leaky default_env = base 184 third_party/leveldatabase/env_chromium.cc base::File::Error error) { base 305 third_party/leveldatabase/env_chromium.cc static_cast<base::File::Error>(error) == base 306 third_party/leveldatabase/env_chromium.cc base::File::FILE_ERROR_NO_SPACE) || base 324 third_party/leveldatabase/env_chromium.cc std::string FilePathToString(const base::FilePath& file_path) { base 326 third_party/leveldatabase/env_chromium.cc return base::UTF16ToUTF8(file_path.value()); base 332 third_party/leveldatabase/env_chromium.cc base::FilePath ChromiumEnv::CreateFilePath(const std::string& file_path) { base 334 third_party/leveldatabase/env_chromium.cc return base::FilePath(base::UTF8ToUTF16(file_path)); base 336 third_party/leveldatabase/env_chromium.cc return base::FilePath(file_path); base 341 third_party/leveldatabase/env_chromium.cc base::FilePath original_table_name = CreateFilePath(fname); base 342 third_party/leveldatabase/env_chromium.cc base::FilePath backup_table_name = base 344 third_party/leveldatabase/env_chromium.cc return base::CopyFile(original_table_name, backup_table_name); base 347 third_party/leveldatabase/env_chromium.cc bool ChromiumEnv::HasTableExtension(const base::FilePath& path) base 367 third_party/leveldatabase/env_chromium.cc return ::base::PathExists(CreateFilePath(fname)); base 370 third_party/leveldatabase/env_chromium.cc const char* ChromiumEnv::FileErrorString(::base::File::Error error) { base 372 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_FAILED: base 374 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_IN_USE: base 376 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_EXISTS: base 378 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NOT_FOUND: base 380 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_ACCESS_DENIED: base 382 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_TOO_MANY_OPENED: base 384 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NO_MEMORY: base 386 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NO_SPACE: base 388 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NOT_A_DIRECTORY: base 390 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_INVALID_OPERATION: base 392 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_SECURITY: base 394 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_ABORT: base 396 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NOT_A_FILE: base 398 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NOT_EMPTY: base 400 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_INVALID_URL: base 402 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_IO: base 404 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_OK: base 406 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_MAX: base 413 third_party/leveldatabase/env_chromium.cc base::FilePath ChromiumEnv::RestoreFromBackup(const base::FilePath& base_name) { base 414 third_party/leveldatabase/env_chromium.cc base::FilePath table_name = base 416 third_party/leveldatabase/env_chromium.cc bool result = base::CopyFile(base_name.AddExtension(backup_table_extension), base 420 third_party/leveldatabase/env_chromium.cc base::BooleanHistogram::FactoryGet( base 421 third_party/leveldatabase/env_chromium.cc uma_name, base::Histogram::kUmaTargetedHistogramFlag)->AddBoolean(result); base 427 third_party/leveldatabase/env_chromium.cc std::set<base::FilePath> tables_found; base 428 third_party/leveldatabase/env_chromium.cc std::set<base::FilePath> backups_found; base 432 third_party/leveldatabase/env_chromium.cc base::FilePath current = CreateFilePath(*it); base 438 third_party/leveldatabase/env_chromium.cc std::set<base::FilePath> backups_only; base 449 third_party/leveldatabase/env_chromium.cc base::Histogram::FactoryGet(uma_name, base 453 third_party/leveldatabase/env_chromium.cc base::Histogram::kUmaTargetedHistogramFlag) base 456 third_party/leveldatabase/env_chromium.cc base::FilePath dir_filepath = base::FilePath::FromUTF8Unsafe(dir); base 457 third_party/leveldatabase/env_chromium.cc for (std::set<base::FilePath>::iterator it = backups_only.begin(); base 460 third_party/leveldatabase/env_chromium.cc base::FilePath restored_table_name = base 468 third_party/leveldatabase/env_chromium.cc std::vector<base::FilePath> entries; base 469 third_party/leveldatabase/env_chromium.cc base::File::Error error = base 471 third_party/leveldatabase/env_chromium.cc if (error != base::File::FILE_OK) { base 477 third_party/leveldatabase/env_chromium.cc for (std::vector<base::FilePath>::iterator it = entries.begin(); base 490 third_party/leveldatabase/env_chromium.cc base::FilePath fname_filepath = CreateFilePath(fname); base 492 third_party/leveldatabase/env_chromium.cc if (!::base::DeleteFile(fname_filepath, false)) { base 497 third_party/leveldatabase/env_chromium.cc base::DeleteFile(fname_filepath.ReplaceExtension(backup_table_extension), base 505 third_party/leveldatabase/env_chromium.cc base::File::Error error = base::File::FILE_OK; base 508 third_party/leveldatabase/env_chromium.cc if (base::CreateDirectoryAndGetError(CreateFilePath(name), &error)) base 519 third_party/leveldatabase/env_chromium.cc if (!::base::DeleteFile(CreateFilePath(name), false)) { base 529 third_party/leveldatabase/env_chromium.cc if (!::base::GetFileSize(CreateFilePath(fname), &signed_size)) { base 541 third_party/leveldatabase/env_chromium.cc base::FilePath src_file_path = CreateFilePath(src); base 542 third_party/leveldatabase/env_chromium.cc if (!::base::PathExists(src_file_path)) base 544 third_party/leveldatabase/env_chromium.cc base::FilePath destination = CreateFilePath(dst); base 547 third_party/leveldatabase/env_chromium.cc base::File::Error error = base::File::FILE_OK; base 549 third_party/leveldatabase/env_chromium.cc if (base::ReplaceFile(src_file_path, destination, &error)) base 553 third_party/leveldatabase/env_chromium.cc DCHECK(error != base::File::FILE_OK); base 566 third_party/leveldatabase/env_chromium.cc int flags = ::base::File::FLAG_OPEN_ALWAYS | base 567 third_party/leveldatabase/env_chromium.cc ::base::File::FLAG_READ | base 568 third_party/leveldatabase/env_chromium.cc ::base::File::FLAG_WRITE; base 569 third_party/leveldatabase/env_chromium.cc ::base::File::Error error_code; base 570 third_party/leveldatabase/env_chromium.cc ::base::File file; base 579 third_party/leveldatabase/env_chromium.cc if (error_code == ::base::File::FILE_ERROR_NOT_FOUND) { base 580 third_party/leveldatabase/env_chromium.cc ::base::FilePath parent = CreateFilePath(fname).DirName(); base 581 third_party/leveldatabase/env_chromium.cc ::base::FilePath last_parent; base 584 third_party/leveldatabase/env_chromium.cc if (base::DirectoryExists(parent)) base 607 third_party/leveldatabase/env_chromium.cc } while (error_code != ::base::File::FILE_OK && base 610 third_party/leveldatabase/env_chromium.cc if (error_code != ::base::File::FILE_OK) { base 629 third_party/leveldatabase/env_chromium.cc ::base::File::Error error_code = my_lock->file_.Unlock(); base 630 third_party/leveldatabase/env_chromium.cc if (error_code != ::base::File::FILE_OK) { base 644 third_party/leveldatabase/env_chromium.cc if (!base::CreateNewTempDirectory(kLevelDBTestDirectoryPrefix, base 658 third_party/leveldatabase/env_chromium.cc return ::base::TimeTicks::Now().ToInternalValue(); base 663 third_party/leveldatabase/env_chromium.cc ::base::PlatformThread::Sleep(::base::TimeDelta::FromMicroseconds(micros)); base 675 third_party/leveldatabase/env_chromium.cc base::File::Error error) const { base 678 third_party/leveldatabase/env_chromium.cc GetOSErrorHistogram(method, -base::File::FILE_ERROR_MAX)->Add(-error); base 690 third_party/leveldatabase/env_chromium.cc base::BooleanHistogram::FactoryGet( base 691 third_party/leveldatabase/env_chromium.cc uma_name, base::Histogram::kUmaTargetedHistogramFlag)->AddBoolean(result); base 694 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetOSErrorHistogram(MethodID method, base 699 third_party/leveldatabase/env_chromium.cc return base::LinearHistogram::FactoryGet(uma_name, 1, limit, limit + 1, base 700 third_party/leveldatabase/env_chromium.cc base::Histogram::kUmaTargetedHistogramFlag); base 703 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetMethodIOErrorHistogram() const { base 706 third_party/leveldatabase/env_chromium.cc return base::LinearHistogram::FactoryGet(uma_name, 1, kNumEntries, base 707 third_party/leveldatabase/env_chromium.cc kNumEntries + 1, base::Histogram::kUmaTargetedHistogramFlag); base 710 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetMaxFDHistogram( base 718 third_party/leveldatabase/env_chromium.cc return base::Histogram::FactoryGet( base 720 third_party/leveldatabase/env_chromium.cc base::Histogram::kUmaTargetedHistogramFlag); base 723 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetLockFileAncestorHistogram() const { base 729 third_party/leveldatabase/env_chromium.cc return base::LinearHistogram::FactoryGet( base 731 third_party/leveldatabase/env_chromium.cc base::Histogram::kUmaTargetedHistogramFlag); base 734 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetRetryTimeHistogram(MethodID method) const { base 742 third_party/leveldatabase/env_chromium.cc return base::Histogram::FactoryTimeGet( base 743 third_party/leveldatabase/env_chromium.cc uma_name, base::TimeDelta::FromMilliseconds(1), base 744 third_party/leveldatabase/env_chromium.cc base::TimeDelta::FromMilliseconds(kMaxRetryTimeMillis + 1), base 746 third_party/leveldatabase/env_chromium.cc base::Histogram::kUmaTargetedHistogramFlag); base 749 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetRecoveredFromErrorHistogram( base 754 third_party/leveldatabase/env_chromium.cc return base::LinearHistogram::FactoryGet(uma_name, 1, kNumEntries, base 755 third_party/leveldatabase/env_chromium.cc kNumEntries + 1, base::Histogram::kUmaTargetedHistogramFlag); base 758 third_party/leveldatabase/env_chromium.cc class Thread : public ::base::PlatformThread::Delegate { base 762 third_party/leveldatabase/env_chromium.cc ::base::PlatformThreadHandle handle; base 763 third_party/leveldatabase/env_chromium.cc bool success = ::base::PlatformThread::Create(0, this, &handle); base 801 third_party/leveldatabase/env_chromium.cc base::PlatformThread::SetName(name_.c_str()); base 825 third_party/leveldatabase/env_chromium.cc base::FilePath file = base::FilePath::FromUTF8Unsafe(filename); base 830 third_party/leveldatabase/env_chromium.cc base::AutoLock auto_lock(map_lock_); base 835 third_party/leveldatabase/env_chromium.cc base::AutoLock auto_lock(map_lock_); base 840 third_party/leveldatabase/env_chromium.cc base::AutoLock auto_lock(map_lock_); base 54 third_party/leveldatabase/env_chromium.h base::File::Error error); base 75 third_party/leveldatabase/env_chromium.h std::string FilePathToString(const base::FilePath& file_path); base 82 third_party/leveldatabase/env_chromium.h base::File::Error error) const = 0; base 89 third_party/leveldatabase/env_chromium.h virtual base::HistogramBase* GetRetryTimeHistogram(MethodID method) const = 0; base 90 third_party/leveldatabase/env_chromium.h virtual base::HistogramBase* GetRecoveredFromErrorHistogram( base 107 third_party/leveldatabase/env_chromium.h static base::FilePath CreateFilePath(const std::string& file_path); base 108 third_party/leveldatabase/env_chromium.h static const char* FileErrorString(::base::File::Error error); base 109 third_party/leveldatabase/env_chromium.h static bool HasTableExtension(const base::FilePath& path); base 136 third_party/leveldatabase/env_chromium.h virtual base::File::Error GetDirectoryEntries( base 137 third_party/leveldatabase/env_chromium.h const base::FilePath& dir_param, base 138 third_party/leveldatabase/env_chromium.h std::vector<base::FilePath>* result) const = 0; base 142 third_party/leveldatabase/env_chromium.h base::File::Error error) const; base 143 third_party/leveldatabase/env_chromium.h base::HistogramBase* GetMaxFDHistogram(const std::string& type) const; base 144 third_party/leveldatabase/env_chromium.h base::HistogramBase* GetOSErrorHistogram(MethodID method, int limit) const; base 168 third_party/leveldatabase/env_chromium.h base::Lock map_lock_; base 180 third_party/leveldatabase/env_chromium.h base::FilePath RestoreFromBackup(const base::FilePath& base_name); base 182 third_party/leveldatabase/env_chromium.h base::HistogramBase* GetMethodIOErrorHistogram() const; base 183 third_party/leveldatabase/env_chromium.h base::HistogramBase* GetLockFileAncestorHistogram() const; base 187 third_party/leveldatabase/env_chromium.h virtual base::HistogramBase* GetRetryTimeHistogram(MethodID method) const; base 188 third_party/leveldatabase/env_chromium.h virtual base::HistogramBase* GetRecoveredFromErrorHistogram( base 191 third_party/leveldatabase/env_chromium.h base::FilePath test_directory_; base 193 third_party/leveldatabase/env_chromium.h ::base::Lock mu_; base 194 third_party/leveldatabase/env_chromium.h ::base::ConditionVariable bgsignal_; base 59 third_party/leveldatabase/env_chromium_stdio.cc return _wfopen(base::UTF8ToUTF16(fname).c_str(), base 60 third_party/leveldatabase/env_chromium_stdio.cc base::ASCIIToUTF16(mode).c_str()); base 109 third_party/leveldatabase/env_chromium_stdio.cc mutable ::base::File file_; base 114 third_party/leveldatabase/env_chromium_stdio.cc ::base::File file, base 147 third_party/leveldatabase/env_chromium_stdio.cc base::FilePath path = base::FilePath::FromUTF8Unsafe(fname); base 276 third_party/leveldatabase/env_chromium_stdio.cc int flags = ::base::File::FLAG_READ | ::base::File::FLAG_OPEN; base 277 third_party/leveldatabase/env_chromium_stdio.cc ::base::File file(ChromiumEnv::CreateFilePath(fname), flags); base 283 third_party/leveldatabase/env_chromium_stdio.cc ::base::File::Error error_code = file.error_details(); base 284 third_party/leveldatabase/env_chromium_stdio.cc if (error_code == ::base::File::FILE_ERROR_TOO_MANY_OPENED) base 312 third_party/leveldatabase/env_chromium_stdio.cc base::File::Error ChromiumEnvStdio::GetDirectoryEntries( base 313 third_party/leveldatabase/env_chromium_stdio.cc const base::FilePath& dir_param, base 314 third_party/leveldatabase/env_chromium_stdio.cc std::vector<base::FilePath>* result) const { base 316 third_party/leveldatabase/env_chromium_stdio.cc base::FilePath dir_filepath = dir_param.Append(FILE_PATH_LITERAL("*")); base 322 third_party/leveldatabase/env_chromium_stdio.cc return base::File::FILE_OK; base 323 third_party/leveldatabase/env_chromium_stdio.cc return base::File::OSErrorToFileError(last_error); base 326 third_party/leveldatabase/env_chromium_stdio.cc base::FilePath filepath(find_data.cFileName); base 327 third_party/leveldatabase/env_chromium_stdio.cc base::FilePath::StringType basename = filepath.BaseName().value(); base 334 third_party/leveldatabase/env_chromium_stdio.cc base::File::Error return_value = base::File::FILE_OK; base 336 third_party/leveldatabase/env_chromium_stdio.cc return_value = base::File::OSErrorToFileError(last_error); base 341 third_party/leveldatabase/env_chromium_stdio.cc base::File::Error ChromiumEnvStdio::GetDirectoryEntries( base 342 third_party/leveldatabase/env_chromium_stdio.cc const base::FilePath& dir_filepath, base 343 third_party/leveldatabase/env_chromium_stdio.cc std::vector<base::FilePath>* result) const { base 348 third_party/leveldatabase/env_chromium_stdio.cc return base::File::OSErrorToFileError(errno); base 360 third_party/leveldatabase/env_chromium_stdio.cc return base::File::OSErrorToFileError(saved_errno); base 361 third_party/leveldatabase/env_chromium_stdio.cc return base::File::FILE_OK; base 58 third_party/leveldatabase/env_chromium_stdio.h virtual base::File::Error GetDirectoryEntries( base 59 third_party/leveldatabase/env_chromium_stdio.h const base::FilePath& dir_param, base 60 third_party/leveldatabase/env_chromium_stdio.h std::vector<base::FilePath>* result) const; base 37 third_party/leveldatabase/env_chromium_unittest.cc const base::File::Error fe = base::File::FILE_ERROR_INVALID_OPERATION; base 115 third_party/leveldatabase/env_chromium_unittest.cc base::ScopedTempDir dir; base 117 third_party/leveldatabase/env_chromium_unittest.cc base::FilePath dir_path = dir.path(); base 147 third_party/leveldatabase/env_chromium_unittest.cc int CountFilesWithExtension(const base::FilePath& dir, base 148 third_party/leveldatabase/env_chromium_unittest.cc const base::FilePath::StringType& extension) { base 150 third_party/leveldatabase/env_chromium_unittest.cc base::FileEnumerator dir_reader( base 151 third_party/leveldatabase/env_chromium_unittest.cc dir, false, base::FileEnumerator::FILES); base 152 third_party/leveldatabase/env_chromium_unittest.cc for (base::FilePath fname = dir_reader.Next(); !fname.empty(); base 160 third_party/leveldatabase/env_chromium_unittest.cc bool GetFirstLDBFile(const base::FilePath& dir, base::FilePath* ldb_file) { base 161 third_party/leveldatabase/env_chromium_unittest.cc base::FileEnumerator dir_reader( base 162 third_party/leveldatabase/env_chromium_unittest.cc dir, false, base::FileEnumerator::FILES); base 163 third_party/leveldatabase/env_chromium_unittest.cc for (base::FilePath fname = dir_reader.Next(); !fname.empty(); base 178 third_party/leveldatabase/env_chromium_unittest.cc base::ScopedTempDir scoped_temp_dir; base 180 third_party/leveldatabase/env_chromium_unittest.cc base::FilePath dir = scoped_temp_dir.path(); base 194 third_party/leveldatabase/env_chromium_unittest.cc base::FilePath ldb_file; base 197 third_party/leveldatabase/env_chromium_unittest.cc EXPECT_TRUE(base::DeleteFile(ldb_file, false)); base 223 third_party/leveldatabase/env_chromium_unittest.cc base::ScopedTempDir scoped_temp_dir; base 225 third_party/leveldatabase/env_chromium_unittest.cc base::FilePath dir = scoped_temp_dir.path(); base 235 third_party/leveldatabase/env_chromium_unittest.cc base::ScopedTempDir scoped_temp_dir; base 237 third_party/leveldatabase/env_chromium_unittest.cc base::FilePath dir = scoped_temp_dir.path(); base 239 third_party/leveldatabase/env_chromium_unittest.cc base::FilePath new_file_dir = dir.Append(FPL("tmp_file")); base 258 third_party/leveldatabase/env_chromium_unittest.cc int main(int argc, char** argv) { return base::TestSuite(argc, argv).Run(); } base 31 third_party/leveldatabase/env_chromium_win.cc std::string message(base::UTF16ToUTF8(errorText)); base 33 third_party/leveldatabase/env_chromium_win.cc base::TrimWhitespace(message, base::TRIM_TRAILING, &message); base 94 third_party/leveldatabase/env_chromium_win.cc mutable ::base::File file_; base 99 third_party/leveldatabase/env_chromium_win.cc ::base::File file, base 152 third_party/leveldatabase/env_chromium_win.cc base::FilePath path = base::FilePath::FromUTF8Unsafe(fname); base 189 third_party/leveldatabase/env_chromium_win.cc base::File::OSErrorToFileError(err)); base 240 third_party/leveldatabase/env_chromium_win.cc HANDLE f = CreateFile(base::UTF8ToUTF16(fname).c_str(), base 267 third_party/leveldatabase/env_chromium_win.cc int flags = ::base::File::FLAG_READ | ::base::File::FLAG_OPEN; base 268 third_party/leveldatabase/env_chromium_win.cc ::base::File file(ChromiumEnv::CreateFilePath(fname), flags); base 274 third_party/leveldatabase/env_chromium_win.cc ::base::File::Error error_code = file.error_details(); base 275 third_party/leveldatabase/env_chromium_win.cc if (error_code == ::base::File::FILE_ERROR_TOO_MANY_OPENED) base 290 third_party/leveldatabase/env_chromium_win.cc HANDLE f = CreateFile(base::UTF8ToUTF16(fname).c_str(), base 308 third_party/leveldatabase/env_chromium_win.cc base::File::Error ChromiumEnvWin::GetDirectoryEntries( base 309 third_party/leveldatabase/env_chromium_win.cc const base::FilePath& dir_param, base 310 third_party/leveldatabase/env_chromium_win.cc std::vector<base::FilePath>* result) const { base 312 third_party/leveldatabase/env_chromium_win.cc base::FilePath dir_filepath = dir_param.Append(FILE_PATH_LITERAL("*")); base 318 third_party/leveldatabase/env_chromium_win.cc return base::File::FILE_OK; base 319 third_party/leveldatabase/env_chromium_win.cc return base::File::OSErrorToFileError(last_error); base 322 third_party/leveldatabase/env_chromium_win.cc base::FilePath filepath(find_data.cFileName); base 323 third_party/leveldatabase/env_chromium_win.cc base::FilePath::StringType basename = filepath.BaseName().value(); base 330 third_party/leveldatabase/env_chromium_win.cc base::File::Error return_value = base::File::FILE_OK; base 332 third_party/leveldatabase/env_chromium_win.cc return_value = base::File::OSErrorToFileError(last_error); base 338 third_party/leveldatabase/env_chromium_win.cc FILE* f = _wfopen(base::UTF8ToUTF16(fname).c_str(), L"w"); base 63 third_party/leveldatabase/env_chromium_win.h virtual base::File::Error GetDirectoryEntries( base 64 third_party/leveldatabase/env_chromium_win.h const base::FilePath& dir_param, base 65 third_party/leveldatabase/env_chromium_win.h std::vector<base::FilePath>* result) const; base 54 third_party/leveldatabase/port/port_chromium.cc OnceType state = ::base::subtle::Acquire_Load(once); base 58 third_party/leveldatabase/port/port_chromium.cc state = ::base::subtle::NoBarrier_CompareAndSwap( base 66 third_party/leveldatabase/port/port_chromium.cc ::base::subtle::Release_Store(once, ONCE_STATE_DONE); base 70 third_party/leveldatabase/port/port_chromium.cc ::base::PlatformThread::YieldCurrentThread(); base 71 third_party/leveldatabase/port/port_chromium.cc state = ::base::subtle::Acquire_Load(once); base 46 third_party/leveldatabase/port/port_chromium.h base::Lock mu_; base 61 third_party/leveldatabase/port/port_chromium.h base::ConditionVariable cv_; base 68 third_party/leveldatabase/port/port_chromium.h typedef base::subtle::AtomicWord Rep; base 74 third_party/leveldatabase/port/port_chromium.h return reinterpret_cast<void*>(::base::subtle::Acquire_Load(&rep_)); base 77 third_party/leveldatabase/port/port_chromium.h ::base::subtle::Release_Store(&rep_, reinterpret_cast<Rep>(v)); base 80 third_party/leveldatabase/port/port_chromium.h return reinterpret_cast<void*>(::base::subtle::NoBarrier_Load(&rep_)); base 83 third_party/leveldatabase/port/port_chromium.h ::base::subtle::NoBarrier_Store(&rep_, reinterpret_cast<Rep>(v)); base 89 third_party/leveldatabase/port/port_chromium.h typedef ::base::subtle::Atomic32 OnceType; base 103 third_party/leveldatabase/port/port_chromium.h if (::base::subtle::Acquire_Load(once) != ONCE_STATE_DONE) base 36 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc new net::TestURLRequestContextGetter(base::MessageLoopProxy::current()); base 39 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 60 third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc base::MessageLoop loop_; base 14 third_party/libaddressinput/chromium/chrome_rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule(base::WideToUTF8( base 50 third_party/libaddressinput/chromium/chrome_rule_test.cc const std::string input(base::WideToUTF8(expectations[i].input)); base 51 third_party/libaddressinput/chromium/chrome_rule_test.cc const std::string expected_output(base::WideToUTF8(expectations[i].output)); base 22 third_party/libaddressinput/chromium/chrome_storage_impl.cc scoped_ptr<base::StringValue> string_value( base 23 third_party/libaddressinput/chromium/chrome_storage_impl.cc new base::StringValue(std::string())); base 56 third_party/libaddressinput/chromium/chrome_storage_impl.cc const base::Value* value = NULL; base 57 third_party/libaddressinput/chromium/chrome_storage_impl.cc const base::StringValue* string_value = NULL; base 30 third_party/libaddressinput/chromium/json.cc virtual const base::DictionaryValue* GetDict() const = 0; base 46 third_party/libaddressinput/chromium/json.cc scoped_ptr<base::Value> parsed(base::JSONReader::Read(json.c_str())); base 47 third_party/libaddressinput/chromium/json.cc if (parsed && parsed->IsType(base::Value::TYPE_DICTIONARY)) base 48 third_party/libaddressinput/chromium/json.cc dict_.reset(static_cast<base::DictionaryValue*>(parsed.release())); base 54 third_party/libaddressinput/chromium/json.cc virtual const base::DictionaryValue* GetDict() const OVERRIDE { base 59 third_party/libaddressinput/chromium/json.cc scoped_ptr<base::DictionaryValue> dict_; base 69 third_party/libaddressinput/chromium/json.cc explicit JsonDataCopy(const base::DictionaryValue* dict) : base 79 third_party/libaddressinput/chromium/json.cc virtual const base::DictionaryValue* GetDict() const OVERRIDE { base 84 third_party/libaddressinput/chromium/json.cc const base::DictionaryValue* dict_; // weak reference. base 98 third_party/libaddressinput/chromium/json.cc const base::DictionaryValue* sub_dict = NULL; base 127 third_party/libevent/devpoll.c devpoll_init(struct event_base *base) base 180 third_party/libevent/devpoll.c evsignal_init(base); base 186 third_party/libevent/devpoll.c devpoll_recalc(struct event_base *base, void *arg, int max) base 213 third_party/libevent/devpoll.c devpoll_dispatch(struct event_base *base, void *arg, struct timeval *tv) base 239 third_party/libevent/devpoll.c evsignal_process(base); base 241 third_party/libevent/devpoll.c } else if (base->sig.evsignal_caught) { base 242 third_party/libevent/devpoll.c evsignal_process(base); base 401 third_party/libevent/devpoll.c devpoll_dealloc(struct event_base *base, void *arg) base 405 third_party/libevent/devpoll.c evsignal_dealloc(base); base 110 third_party/libevent/epoll.c epoll_init(struct event_base *base) base 149 third_party/libevent/epoll.c evsignal_init(base); base 155 third_party/libevent/epoll.c epoll_recalc(struct event_base *base, void *arg, int max) base 182 third_party/libevent/epoll.c epoll_dispatch(struct event_base *base, void *arg, struct timeval *tv) base 206 third_party/libevent/epoll.c evsignal_process(base); base 208 third_party/libevent/epoll.c } else if (base->sig.evsignal_caught) { base 209 third_party/libevent/epoll.c evsignal_process(base); base 363 third_party/libevent/epoll.c epoll_dealloc(struct event_base *base, void *arg) base 367 third_party/libevent/epoll.c evsignal_dealloc(base); base 443 third_party/libevent/evbuffer.c bufferevent_base_set(struct event_base *base, struct bufferevent *bufev) base 447 third_party/libevent/evbuffer.c bufev->ev_base = base; base 449 third_party/libevent/evbuffer.c res = event_base_set(base, &bufev->ev_read); base 453 third_party/libevent/evbuffer.c res = event_base_set(base, &bufev->ev_write); base 285 third_party/libevent/evdns.c struct evdns_server_request base; base 295 third_party/libevent/evdns.c (((char*)(base_ptr) - OFFSET_OF(struct server_request, base)))) base 986 third_party/libevent/evdns.c server_req->base.flags = flags; base 987 third_party/libevent/evdns.c server_req->base.nquestions = 0; base 988 third_party/libevent/evdns.c server_req->base.questions = malloc(sizeof(struct evdns_server_question *) * questions); base 989 third_party/libevent/evdns.c if (server_req->base.questions == NULL) base 1007 third_party/libevent/evdns.c server_req->base.questions[server_req->base.nquestions++] = q; base 1017 third_party/libevent/evdns.c evdns_server_request_respond(&(server_req->base), DNS_ERR_NOTIMPL); base 1021 third_party/libevent/evdns.c port->user_callback(&(server_req->base), port->user_data); base 1026 third_party/libevent/evdns.c if (server_req->base.questions) { base 1027 third_party/libevent/evdns.c for (i = 0; i < server_req->base.nquestions; ++i) base 1028 third_party/libevent/evdns.c free(server_req->base.questions[i]); base 1029 third_party/libevent/evdns.c free(server_req->base.questions); base 1643 third_party/libevent/evdns.c flags = req->base.flags; base 1649 third_party/libevent/evdns.c APPEND16(req->base.nquestions); base 1655 third_party/libevent/evdns.c for (i=0; i < req->base.nquestions; ++i) { base 1656 third_party/libevent/evdns.c const char *s = req->base.questions[i]->name; base 1662 third_party/libevent/evdns.c APPEND16(req->base.questions[i]->type); base 1663 third_party/libevent/evdns.c APPEND16(req->base.questions[i]->dns_question_class); base 1806 third_party/libevent/evdns.c if (req->base.questions) { base 1807 third_party/libevent/evdns.c for (i = 0; i < req->base.nquestions; ++i) base 1808 third_party/libevent/evdns.c free(req->base.questions[i]); base 1809 third_party/libevent/evdns.c free(req->base.questions); base 90 third_party/libevent/event-internal.h int _evsignal_set_handler(struct event_base *base, int evsignal, base 92 third_party/libevent/event-internal.h int _evsignal_restore_handler(struct event_base *base, int evsignal); base 135 third_party/libevent/event.c gettime(struct event_base *base, struct timeval *tp) base 137 third_party/libevent/event.c if (base->tv_cache.tv_sec) { base 138 third_party/libevent/event.c *tp = base->tv_cache; base 161 third_party/libevent/event.c struct event_base *base = event_base_new(); base 163 third_party/libevent/event.c if (base != NULL) base 164 third_party/libevent/event.c current_base = base; base 166 third_party/libevent/event.c return (base); base 173 third_party/libevent/event.c struct event_base *base; base 175 third_party/libevent/event.c if ((base = calloc(1, sizeof(struct event_base))) == NULL) base 179 third_party/libevent/event.c gettime(base, &base->event_tv); base 181 third_party/libevent/event.c min_heap_ctor(&base->timeheap); base 182 third_party/libevent/event.c TAILQ_INIT(&base->eventqueue); base 183 third_party/libevent/event.c base->sig.ev_signal_pair[0] = -1; base 184 third_party/libevent/event.c base->sig.ev_signal_pair[1] = -1; base 186 third_party/libevent/event.c base->evbase = NULL; base 187 third_party/libevent/event.c for (i = 0; eventops[i] && !base->evbase; i++) { base 188 third_party/libevent/event.c base->evsel = eventops[i]; base 190 third_party/libevent/event.c base->evbase = base->evsel->init(base); base 193 third_party/libevent/event.c if (base->evbase == NULL) base 198 third_party/libevent/event.c base->evsel->name); base 201 third_party/libevent/event.c event_base_priority_init(base, 1); base 203 third_party/libevent/event.c return (base); base 207 third_party/libevent/event.c event_base_free(struct event_base *base) base 212 third_party/libevent/event.c if (base == NULL && current_base) base 213 third_party/libevent/event.c base = current_base; base 214 third_party/libevent/event.c if (base == current_base) base 218 third_party/libevent/event.c assert(base); base 220 third_party/libevent/event.c for (ev = TAILQ_FIRST(&base->eventqueue); ev; ) { base 228 third_party/libevent/event.c while ((ev = min_heap_top(&base->timeheap)) != NULL) { base 233 third_party/libevent/event.c for (i = 0; i < base->nactivequeues; ++i) { base 234 third_party/libevent/event.c for (ev = TAILQ_FIRST(base->activequeues[i]); ev; ) { base 248 third_party/libevent/event.c if (base->evsel->dealloc != NULL) base 249 third_party/libevent/event.c base->evsel->dealloc(base, base->evbase); base 251 third_party/libevent/event.c for (i = 0; i < base->nactivequeues; ++i) base 252 third_party/libevent/event.c assert(TAILQ_EMPTY(base->activequeues[i])); base 254 third_party/libevent/event.c assert(min_heap_empty(&base->timeheap)); base 255 third_party/libevent/event.c min_heap_dtor(&base->timeheap); base 257 third_party/libevent/event.c for (i = 0; i < base->nactivequeues; ++i) base 258 third_party/libevent/event.c free(base->activequeues[i]); base 259 third_party/libevent/event.c free(base->activequeues); base 261 third_party/libevent/event.c assert(TAILQ_EMPTY(&base->eventqueue)); base 263 third_party/libevent/event.c free(base); base 268 third_party/libevent/event.c event_reinit(struct event_base *base) base 270 third_party/libevent/event.c const struct eventop *evsel = base->evsel; base 271 third_party/libevent/event.c void *evbase = base->evbase; base 280 third_party/libevent/event.c if (base->sig.ev_signal_added) { base 283 third_party/libevent/event.c event_queue_remove(base, &base->sig.ev_signal, base 285 third_party/libevent/event.c if (base->sig.ev_signal.ev_flags & EVLIST_ACTIVE) base 286 third_party/libevent/event.c event_queue_remove(base, &base->sig.ev_signal, base 288 third_party/libevent/event.c base->sig.ev_signal_added = 0; base 291 third_party/libevent/event.c if (base->evsel->dealloc != NULL) base 292 third_party/libevent/event.c base->evsel->dealloc(base, base->evbase); base 293 third_party/libevent/event.c evbase = base->evbase = evsel->init(base); base 294 third_party/libevent/event.c if (base->evbase == NULL) base 298 third_party/libevent/event.c TAILQ_FOREACH(ev, &base->eventqueue, ev_next) { base 313 third_party/libevent/event.c event_base_priority_init(struct event_base *base, int npriorities) base 317 third_party/libevent/event.c if (base->event_count_active) base 320 third_party/libevent/event.c if (base->nactivequeues && npriorities != base->nactivequeues) { base 321 third_party/libevent/event.c for (i = 0; i < base->nactivequeues; ++i) { base 322 third_party/libevent/event.c free(base->activequeues[i]); base 324 third_party/libevent/event.c free(base->activequeues); base 328 third_party/libevent/event.c base->nactivequeues = npriorities; base 329 third_party/libevent/event.c base->activequeues = (struct event_list **) base 330 third_party/libevent/event.c calloc(base->nactivequeues, sizeof(struct event_list *)); base 331 third_party/libevent/event.c if (base->activequeues == NULL) base 334 third_party/libevent/event.c for (i = 0; i < base->nactivequeues; ++i) { base 335 third_party/libevent/event.c base->activequeues[i] = malloc(sizeof(struct event_list)); base 336 third_party/libevent/event.c if (base->activequeues[i] == NULL) base 338 third_party/libevent/event.c TAILQ_INIT(base->activequeues[i]); base 345 third_party/libevent/event.c event_haveevents(struct event_base *base) base 347 third_party/libevent/event.c return (base->event_count > 0); base 357 third_party/libevent/event.c event_process_active(struct event_base *base) base 364 third_party/libevent/event.c for (i = 0; i < base->nactivequeues; ++i) { base 365 third_party/libevent/event.c if (TAILQ_FIRST(base->activequeues[i]) != NULL) { base 366 third_party/libevent/event.c activeq = base->activequeues[i]; base 375 third_party/libevent/event.c event_queue_remove(base, ev, EVLIST_ACTIVE); base 386 third_party/libevent/event.c if (base->event_break) base 409 third_party/libevent/event.c event_base_get_method(struct event_base *base) base 411 third_party/libevent/event.c assert(base); base 412 third_party/libevent/event.c return (base->evsel->name); base 418 third_party/libevent/event.c struct event_base *base = arg; base 419 third_party/libevent/event.c base->event_gotterm = 1; base 465 third_party/libevent/event.c event_base_loop(struct event_base *base, int flags) base 467 third_party/libevent/event.c const struct eventop *evsel = base->evsel; base 468 third_party/libevent/event.c void *evbase = base->evbase; base 474 third_party/libevent/event.c base->tv_cache.tv_sec = 0; base 476 third_party/libevent/event.c if (base->sig.ev_signal_added) base 477 third_party/libevent/event.c evsignal_base = base; base 481 third_party/libevent/event.c if (base->event_gotterm) { base 482 third_party/libevent/event.c base->event_gotterm = 0; base 486 third_party/libevent/event.c if (base->event_break) { base 487 third_party/libevent/event.c base->event_break = 0; base 491 third_party/libevent/event.c timeout_correct(base, &tv); base 494 third_party/libevent/event.c if (!base->event_count_active && !(flags & EVLOOP_NONBLOCK)) { base 495 third_party/libevent/event.c timeout_next(base, &tv_p); base 505 third_party/libevent/event.c if (!event_haveevents(base)) { base 511 third_party/libevent/event.c gettime(base, &base->event_tv); base 514 third_party/libevent/event.c base->tv_cache.tv_sec = 0; base 516 third_party/libevent/event.c res = evsel->dispatch(base, evbase, tv_p); base 520 third_party/libevent/event.c gettime(base, &base->tv_cache); base 522 third_party/libevent/event.c timeout_process(base); base 524 third_party/libevent/event.c if (base->event_count_active) { base 525 third_party/libevent/event.c event_process_active(base); base 526 third_party/libevent/event.c if (!base->event_count_active && (flags & EVLOOP_ONCE)) base 533 third_party/libevent/event.c base->tv_cache.tv_sec = 0; base 569 third_party/libevent/event.c event_base_once(struct event_base *base, int fd, short events, base 603 third_party/libevent/event.c res = event_base_set(base, &eonce->ev); base 638 third_party/libevent/event.c event_base_set(struct event_base *base, struct event *ev) base 644 third_party/libevent/event.c ev->ev_base = base; base 645 third_party/libevent/event.c ev->ev_pri = base->nactivequeues/2; base 702 third_party/libevent/event.c struct event_base *base = ev->ev_base; base 703 third_party/libevent/event.c const struct eventop *evsel = base->evsel; base 704 third_party/libevent/event.c void *evbase = base->evbase; base 722 third_party/libevent/event.c if (min_heap_reserve(&base->timeheap, base 723 third_party/libevent/event.c 1 + min_heap_size(&base->timeheap)) == -1) base 731 third_party/libevent/event.c event_queue_insert(base, ev, EVLIST_INSERTED); base 746 third_party/libevent/event.c event_queue_remove(base, ev, EVLIST_TIMEOUT); base 761 third_party/libevent/event.c event_queue_remove(base, ev, EVLIST_ACTIVE); base 764 third_party/libevent/event.c gettime(base, &now); base 771 third_party/libevent/event.c event_queue_insert(base, ev, EVLIST_TIMEOUT); base 780 third_party/libevent/event.c struct event_base *base; base 789 third_party/libevent/event.c base = ev->ev_base; base 800 third_party/libevent/event.c event_queue_remove(base, ev, EVLIST_TIMEOUT); base 803 third_party/libevent/event.c event_queue_remove(base, ev, EVLIST_ACTIVE); base 806 third_party/libevent/event.c event_queue_remove(base, ev, EVLIST_INSERTED); base 807 third_party/libevent/event.c return (base->evsel->del(base->evbase, ev)); base 829 third_party/libevent/event.c timeout_next(struct event_base *base, struct timeval **tv_p) base 835 third_party/libevent/event.c if ((ev = min_heap_top(&base->timeheap)) == NULL) { base 841 third_party/libevent/event.c if (gettime(base, &now) == -1) base 865 third_party/libevent/event.c timeout_correct(struct event_base *base, struct timeval *tv) base 875 third_party/libevent/event.c gettime(base, tv); base 876 third_party/libevent/event.c if (evutil_timercmp(tv, &base->event_tv, >=)) { base 877 third_party/libevent/event.c base->event_tv = *tv; base 883 third_party/libevent/event.c evutil_timersub(&base->event_tv, tv, &off); base 889 third_party/libevent/event.c pev = base->timeheap.p; base 890 third_party/libevent/event.c size = base->timeheap.n; base 896 third_party/libevent/event.c base->event_tv = *tv; base 900 third_party/libevent/event.c timeout_process(struct event_base *base) base 905 third_party/libevent/event.c if (min_heap_empty(&base->timeheap)) base 908 third_party/libevent/event.c gettime(base, &now); base 910 third_party/libevent/event.c while ((ev = min_heap_top(&base->timeheap))) { base 924 third_party/libevent/event.c event_queue_remove(struct event_base *base, struct event *ev, int queue) base 931 third_party/libevent/event.c base->event_count--; base 936 third_party/libevent/event.c TAILQ_REMOVE(&base->eventqueue, ev, ev_next); base 939 third_party/libevent/event.c base->event_count_active--; base 940 third_party/libevent/event.c TAILQ_REMOVE(base->activequeues[ev->ev_pri], base 944 third_party/libevent/event.c min_heap_erase(&base->timeheap, ev); base 952 third_party/libevent/event.c event_queue_insert(struct event_base *base, struct event *ev, int queue) base 964 third_party/libevent/event.c base->event_count++; base 969 third_party/libevent/event.c TAILQ_INSERT_TAIL(&base->eventqueue, ev, ev_next); base 972 third_party/libevent/event.c base->event_count_active++; base 973 third_party/libevent/event.c TAILQ_INSERT_TAIL(base->activequeues[ev->ev_pri], base 977 third_party/libevent/event.c min_heap_push(&base->timeheap, ev); base 296 third_party/libevent/event.h int event_reinit(struct event_base *base); base 588 third_party/libevent/event.h int event_base_once(struct event_base *base, int fd, short events, base 825 third_party/libevent/event.h int bufferevent_base_set(struct event_base *base, struct bufferevent *bufev); base 73 third_party/libevent/evhttp.h struct evhttp *evhttp_new(struct event_base *base); base 291 third_party/libevent/evhttp.h struct event_base *base); base 139 third_party/libevent/evport.c evport_init(struct event_base *base) base 170 third_party/libevent/evport.c evsignal_init(base); base 286 third_party/libevent/evport.c evport_dispatch(struct event_base *base, void *arg, struct timeval *tv) base 335 third_party/libevent/evport.c evsignal_process(base); base 344 third_party/libevent/evport.c } else if (base->sig.evsignal_caught) { base 345 third_party/libevent/evport.c evsignal_process(base); base 502 third_party/libevent/evport.c evport_dealloc(struct event_base *base, void *arg) base 506 third_party/libevent/evport.c evsignal_dealloc(base); base 77 third_party/libevent/evrpc-internal.h struct event_base *base; base 66 third_party/libevent/evrpc.c struct evrpc_base* base = calloc(1, sizeof(struct evrpc_base)); base 67 third_party/libevent/evrpc.c if (base == NULL) base 73 third_party/libevent/evrpc.c TAILQ_INIT(&base->registered_rpcs); base 74 third_party/libevent/evrpc.c TAILQ_INIT(&base->input_hooks); base 75 third_party/libevent/evrpc.c TAILQ_INIT(&base->output_hooks); base 76 third_party/libevent/evrpc.c base->http_server = http_server; base 78 third_party/libevent/evrpc.c return (base); base 82 third_party/libevent/evrpc.c evrpc_free(struct evrpc_base *base) base 87 third_party/libevent/evrpc.c while ((rpc = TAILQ_FIRST(&base->registered_rpcs)) != NULL) { base 88 third_party/libevent/evrpc.c assert(evrpc_unregister_rpc(base, rpc->uri)); base 90 third_party/libevent/evrpc.c while ((hook = TAILQ_FIRST(&base->input_hooks)) != NULL) { base 91 third_party/libevent/evrpc.c assert(evrpc_remove_hook(base, EVRPC_INPUT, hook)); base 93 third_party/libevent/evrpc.c while ((hook = TAILQ_FIRST(&base->output_hooks)) != NULL) { base 94 third_party/libevent/evrpc.c assert(evrpc_remove_hook(base, EVRPC_OUTPUT, hook)); base 96 third_party/libevent/evrpc.c free(base); base 105 third_party/libevent/evrpc.c struct _evrpc_hooks *base = vbase; base 110 third_party/libevent/evrpc.c head = &base->in_hooks; base 113 third_party/libevent/evrpc.c head = &base->out_hooks; base 151 third_party/libevent/evrpc.c struct _evrpc_hooks *base = vbase; base 155 third_party/libevent/evrpc.c head = &base->in_hooks; base 158 third_party/libevent/evrpc.c head = &base->out_hooks; base 208 third_party/libevent/evrpc.c evrpc_register_rpc(struct evrpc_base *base, struct evrpc *rpc, base 213 third_party/libevent/evrpc.c rpc->base = base; base 217 third_party/libevent/evrpc.c TAILQ_INSERT_TAIL(&base->registered_rpcs, rpc, next); base 219 third_party/libevent/evrpc.c evhttp_set_cb(base->http_server, base 230 third_party/libevent/evrpc.c evrpc_unregister_rpc(struct evrpc_base *base, const char *name) base 236 third_party/libevent/evrpc.c TAILQ_FOREACH(rpc, &base->registered_rpcs, next) { base 244 third_party/libevent/evrpc.c TAILQ_REMOVE(&base->registered_rpcs, rpc, next); base 252 third_party/libevent/evrpc.c assert(evhttp_del_cb(base->http_server, registered_uri) == 0); base 274 third_party/libevent/evrpc.c if (evrpc_process_hooks(&rpc->base->input_hooks, base 351 third_party/libevent/evrpc.c if (evrpc_process_hooks(&rpc->base->output_hooks, base 383 third_party/libevent/evrpc.c evrpc_pool_new(struct event_base *base) base 395 third_party/libevent/evrpc.c pool->base = base; base 451 third_party/libevent/evrpc.c if (pool->base != NULL) base 452 third_party/libevent/evrpc.c evhttp_connection_set_base(connection, pool->base); base 569 third_party/libevent/evrpc.c if (pool->base != NULL) base 570 third_party/libevent/evrpc.c event_base_set(pool->base, &ctx->ev_timeout); base 106 third_party/libevent/evrpc.h struct evrpc_base *base; base 277 third_party/libevent/evrpc.h void evrpc_free(struct evrpc_base *base); base 295 third_party/libevent/evrpc.h #define EVRPC_REGISTER(base, name, request, reply, callback, cbarg) \ base 299 third_party/libevent/evrpc.h evrpc_register_rpc(base, rpc, \ base 314 third_party/libevent/evrpc.h #define EVRPC_UNREGISTER(base, name) evrpc_unregister_rpc(base, #name) base 316 third_party/libevent/evrpc.h int evrpc_unregister_rpc(struct evrpc_base *base, const char *name); base 402 third_party/libevent/evrpc.h struct evrpc_pool *evrpc_pool_new(struct event_base *base); base 180 third_party/libevent/evutil.c evutil_strtoll(const char *s, char **endptr, int base) base 183 third_party/libevent/evutil.c return (ev_int64_t)strtoll(s, endptr, base); base 185 third_party/libevent/evutil.c return (ev_int64_t)strtol(s, endptr, base); base 190 third_party/libevent/evutil.c if (base != 10) base 201 third_party/libevent/evutil.c return (ev_int64_t) _strtoi64(s, endptr, base); base 165 third_party/libevent/evutil.h ev_int64_t evutil_strtoll(const char *s, char **endptr, int base); base 91 third_party/libevent/http-internal.h struct event_base *base; base 124 third_party/libevent/http-internal.h struct event_base *base; base 194 third_party/libevent/http.c if ((x)->base != NULL) event_base_set((x)->base, y); \ base 1721 third_party/libevent/http.c struct event_base *base) base 1723 third_party/libevent/http.c assert(evcon->base == NULL); base 1725 third_party/libevent/http.c evcon->base = base; base 2324 third_party/libevent/http.c evhttp_new(struct event_base *base) base 2328 third_party/libevent/http.c http->base = base; base 2557 third_party/libevent/http.c evhttp_connection_set_base(evcon, http->base); base 99 third_party/libevent/kqueue.c kq_init(struct event_base *base) base 218 third_party/libevent/kqueue.c kq_dispatch(struct event_base *base, void *arg, struct timeval *tv) base 438 third_party/libevent/kqueue.c kq_dealloc(struct event_base *base, void *arg) base 85 third_party/libevent/poll.c poll_init(struct event_base *base) base 96 third_party/libevent/poll.c evsignal_init(base); base 136 third_party/libevent/poll.c poll_dispatch(struct event_base *base, void *arg, struct timeval *tv) base 155 third_party/libevent/poll.c evsignal_process(base); base 157 third_party/libevent/poll.c } else if (base->sig.evsignal_caught) { base 158 third_party/libevent/poll.c evsignal_process(base); base 363 third_party/libevent/poll.c poll_dealloc(struct event_base *base, void *arg) base 367 third_party/libevent/poll.c evsignal_dealloc(base); base 100 third_party/libevent/select.c select_init(struct event_base *base) base 113 third_party/libevent/select.c evsignal_init(base); base 146 third_party/libevent/select.c select_dispatch(struct event_base *base, void *arg, struct timeval *tv) base 169 third_party/libevent/select.c evsignal_process(base); base 171 third_party/libevent/select.c } else if (base->sig.evsignal_caught) { base 172 third_party/libevent/select.c evsignal_process(base); base 344 third_party/libevent/select.c select_dealloc(struct event_base *base, void *arg) base 348 third_party/libevent/select.c evsignal_dealloc(base); base 96 third_party/libevent/signal.c evsignal_init(struct event_base *base) base 106 third_party/libevent/signal.c AF_UNIX, SOCK_STREAM, 0, base->sig.ev_signal_pair) == -1) { base 117 third_party/libevent/signal.c FD_CLOSEONEXEC(base->sig.ev_signal_pair[0]); base 118 third_party/libevent/signal.c FD_CLOSEONEXEC(base->sig.ev_signal_pair[1]); base 119 third_party/libevent/signal.c base->sig.sh_old = NULL; base 120 third_party/libevent/signal.c base->sig.sh_old_max = 0; base 121 third_party/libevent/signal.c base->sig.evsignal_caught = 0; base 122 third_party/libevent/signal.c memset(&base->sig.evsigcaught, 0, sizeof(sig_atomic_t)*NSIG); base 125 third_party/libevent/signal.c TAILQ_INIT(&base->sig.evsigevents[i]); base 127 third_party/libevent/signal.c evutil_make_socket_nonblocking(base->sig.ev_signal_pair[0]); base 129 third_party/libevent/signal.c event_set(&base->sig.ev_signal, base->sig.ev_signal_pair[1], base 130 third_party/libevent/signal.c EV_READ | EV_PERSIST, evsignal_cb, &base->sig.ev_signal); base 131 third_party/libevent/signal.c base->sig.ev_signal.ev_base = base; base 132 third_party/libevent/signal.c base->sig.ev_signal.ev_flags |= EVLIST_INTERNAL; base 140 third_party/libevent/signal.c _evsignal_set_handler(struct event_base *base, base 148 third_party/libevent/signal.c struct evsignal_info *sig = &base->sig; base 207 third_party/libevent/signal.c struct event_base *base = ev->ev_base; base 217 third_party/libevent/signal.c base, evsignal, evsignal_handler) == -1) base 221 third_party/libevent/signal.c evsignal_base = base; base 237 third_party/libevent/signal.c _evsignal_restore_handler(struct event_base *base, int evsignal) base 240 third_party/libevent/signal.c struct evsignal_info *sig = &base->sig; base 269 third_party/libevent/signal.c struct event_base *base = ev->ev_base; base 270 third_party/libevent/signal.c struct evsignal_info *sig = &base->sig; base 311 third_party/libevent/signal.c evsignal_process(struct event_base *base) base 313 third_party/libevent/signal.c struct evsignal_info *sig = &base->sig; base 318 third_party/libevent/signal.c base->sig.evsignal_caught = 0; base 337 third_party/libevent/signal.c evsignal_dealloc(struct event_base *base) base 340 third_party/libevent/signal.c if (base->sig.ev_signal_added) { base 341 third_party/libevent/signal.c event_del(&base->sig.ev_signal); base 342 third_party/libevent/signal.c base->sig.ev_signal_added = 0; base 345 third_party/libevent/signal.c if (i < base->sig.sh_old_max && base->sig.sh_old[i] != NULL) base 346 third_party/libevent/signal.c _evsignal_restore_handler(base, i); base 349 third_party/libevent/signal.c EVUTIL_CLOSESOCKET(base->sig.ev_signal_pair[0]); base 350 third_party/libevent/signal.c base->sig.ev_signal_pair[0] = -1; base 351 third_party/libevent/signal.c EVUTIL_CLOSESOCKET(base->sig.ev_signal_pair[1]); base 352 third_party/libevent/signal.c base->sig.ev_signal_pair[1] = -1; base 353 third_party/libevent/signal.c base->sig.sh_old_max = 0; base 356 third_party/libevent/signal.c free(base->sig.sh_old); base 322 third_party/libevent/test/regress.c struct event_base *base = event_base_new(); base 333 third_party/libevent/test/regress.c event_base_set(base, &read_evs[i]); base 337 third_party/libevent/test/regress.c event_base_set(base, &write_evs[i]); base 341 third_party/libevent/test/regress.c event_base_loop(base, EVLOOP_ONCE); base 357 third_party/libevent/test/regress.c event_base_loop(base, EVLOOP_ONCE); base 360 third_party/libevent/test/regress.c event_base_free(base); base 672 third_party/libevent/test/regress.c struct event_base *base = event_init(); base 677 third_party/libevent/test/regress.c event_base_free(base); base 765 third_party/libevent/test/regress.c struct event_base *base = event_init(); base 779 third_party/libevent/test/regress.c if (base->sig.evsignal_caught) base 784 third_party/libevent/test/regress.c event_base_free(base); base 796 third_party/libevent/test/regress.c struct event_base *base = event_init(); base 822 third_party/libevent/test/regress.c event_base_free(base); base 854 third_party/libevent/test/regress.c struct event_base *base = event_init(); base 868 third_party/libevent/test/regress.c event_base_free(base); base 893 third_party/libevent/test/regress.c struct event_base *base; base 900 third_party/libevent/test/regress.c base = event_base_new(); base 902 third_party/libevent/test/regress.c event_base_set(base, &ev1); base 905 third_party/libevent/test/regress.c event_base_dispatch(base); base 907 third_party/libevent/test/regress.c event_base_free(base); base 946 third_party/libevent/test/regress.c struct event_base *base; base 950 third_party/libevent/test/regress.c base = event_base_new(); base 954 third_party/libevent/test/regress.c event_base_loopexit(base, &tv); base 958 third_party/libevent/test/regress.c event_base_loopexit(base, &tv); base 960 third_party/libevent/test/regress.c event_base_dispatch(base); base 962 third_party/libevent/test/regress.c event_base_free(base); base 52 third_party/libevent/test/regress.gen.c tmp->base = &__msg_base; base 436 third_party/libevent/test/regress.gen.c tmp->base = &__kill_base; base 662 third_party/libevent/test/regress.gen.c tmp->base = &__run_base; base 14 third_party/libevent/test/regress.gen.h #define EVTAG_ASSIGN(msg, member, args...) (*(msg)->base->member##_assign)(msg, ## args) base 15 third_party/libevent/test/regress.gen.h #define EVTAG_GET(msg, member, args...) (*(msg)->base->member##_get)(msg, ## args) base 17 third_party/libevent/test/regress.gen.h #define EVTAG_ASSIGN(msg, member, ...) (*(msg)->base->member##_assign)(msg, ## __VA_ARGS__) base 18 third_party/libevent/test/regress.gen.h #define EVTAG_GET(msg, member, ...) (*(msg)->base->member##_get)(msg, ## __VA_ARGS__) base 20 third_party/libevent/test/regress.gen.h #define EVTAG_ADD(msg, member) (*(msg)->base->member##_add)(msg) base 50 third_party/libevent/test/regress.gen.h struct msg_access_ *base; base 105 third_party/libevent/test/regress.gen.h struct kill_access_ *base; base 153 third_party/libevent/test/regress.gen.h struct run_access_ *base; base 65 third_party/libevent/test/regress_http.c static struct event_base *base; base 76 third_party/libevent/test/regress_http.c http_setup(short *pport, struct event_base *base) base 83 third_party/libevent/test/regress_http.c myhttp = evhttp_new(base); base 189 third_party/libevent/test/regress_http.c if (base) base 190 third_party/libevent/test/regress_http.c event_base_loopexit(base, NULL); base 1086 third_party/libevent/test/regress_http.c base = event_init(); base 1094 third_party/libevent/test/regress_http.c http = http_setup(&port, base); base 1101 third_party/libevent/test/regress_http.c bufferevent_base_set(base, bev); base 1111 third_party/libevent/test/regress_http.c event_base_dispatch(base); base 1118 third_party/libevent/test/regress_http.c event_base_free(base); base 1119 third_party/libevent/test/regress_http.c base = NULL; base 133 third_party/libevent/test/regress_rpc.c struct evrpc_base *base = NULL; base 136 third_party/libevent/test/regress_rpc.c base = evrpc_init(http); base 138 third_party/libevent/test/regress_rpc.c EVRPC_REGISTER(base, Message, msg, kill, MessageCb, NULL); base 139 third_party/libevent/test/regress_rpc.c EVRPC_REGISTER(base, NeverReply, msg, kill, NeverReplyCb, NULL); base 143 third_party/libevent/test/regress_rpc.c *pbase = base; base 150 third_party/libevent/test/regress_rpc.c rpc_teardown(struct evrpc_base *base) base 152 third_party/libevent/test/regress_rpc.c assert(EVRPC_UNREGISTER(base, Message) == 0); base 153 third_party/libevent/test/regress_rpc.c assert(EVRPC_UNREGISTER(base, NeverReply) == 0); base 155 third_party/libevent/test/regress_rpc.c evrpc_free(base); base 180 third_party/libevent/test/regress_rpc.c struct evrpc_base *base = NULL; base 186 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); base 222 third_party/libevent/test/regress_rpc.c rpc_teardown(base); base 263 third_party/libevent/test/regress_rpc.c struct evrpc_base *base = NULL; base 270 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); base 312 third_party/libevent/test/regress_rpc.c rpc_teardown(base); base 441 third_party/libevent/test/regress_rpc.c struct evrpc_base *base = NULL; base 448 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); base 453 third_party/libevent/test/regress_rpc.c assert(evrpc_add_hook(base, EVRPC_INPUT, rpc_hook_add_header, (void*)"input") base 455 third_party/libevent/test/regress_rpc.c assert(evrpc_add_hook(base, EVRPC_OUTPUT, rpc_hook_add_header, (void*)"output") base 487 third_party/libevent/test/regress_rpc.c rpc_teardown(base); base 512 third_party/libevent/test/regress_rpc.c struct evrpc_base *base = NULL; base 519 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); base 538 third_party/libevent/test/regress_rpc.c rpc_teardown(base); base 577 third_party/libevent/test/regress_rpc.c struct evrpc_base *base = NULL; base 584 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); base 607 third_party/libevent/test/regress_rpc.c rpc_teardown(base); base 57 third_party/libjingle/overrides/init_webrtc.cc static base::FilePath GetLibPeerConnectionPath() { base 58 third_party/libjingle/overrides/init_webrtc.cc base::FilePath path; base 59 third_party/libjingle/overrides/init_webrtc.cc CHECK(PathService::Get(base::DIR_MODULE, &path)); base 81 third_party/libjingle/overrides/init_webrtc.cc base::FilePath path(GetLibPeerConnectionPath()); base 84 third_party/libjingle/overrides/init_webrtc.cc base::NativeLibraryLoadError error; base 85 third_party/libjingle/overrides/init_webrtc.cc static base::NativeLibrary lib = base::LoadNativeLibrary(path, &error); base 94 third_party/libjingle/overrides/init_webrtc.cc CHECK(base::PathExists(path)); // libpeerconnection itself is missing. base 106 third_party/libjingle/overrides/init_webrtc.cc base::GetFunctionPointerFromNativeLibrary( base 12 third_party/libjingle/overrides/init_webrtc.h namespace base { base 44 third_party/libjingle/overrides/init_webrtc.h const base::CommandLine& command_line, base 37 third_party/libjingle/overrides/talk/base/logging.cc COMPILE_ASSERT(sizeof(base::subtle::Atomic32) == sizeof(base::PlatformThreadId), base 39 third_party/libjingle/overrides/talk/base/logging.cc base::subtle::Atomic32 g_init_logging_delegate_thread_id = 0; base 63 third_party/libjingle/overrides/talk/base/logging.cc base::snprintf(buffer, sizeof(buffer), "0x%08x", err); base 283 third_party/libjingle/overrides/talk/base/logging.cc base::subtle::NoBarrier_CompareAndSwap(&g_init_logging_delegate_thread_id, 0, base 284 third_party/libjingle/overrides/talk/base/logging.cc static_cast<base::subtle::Atomic32>(base::PlatformThread::CurrentId())); base 286 third_party/libjingle/overrides/talk/base/logging.cc base::PlatformThread::CurrentId()); base 14 third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc ASSERT_TRUE(PathService::Get(base::DIR_EXE, &test_data_dir_)); base 75 third_party/libva/va/x11/va_dricommon.h struct drm_state base; base 66 third_party/libwebp/utils/rescaler.c const int32_t base = src[x_in]; base 67 third_party/libwebp/utils/rescaler.c const int32_t frac = base * (-accum); base 69 third_party/libwebp/utils/rescaler.c wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac; base 304 third_party/libxml/src/HTMLparser.c #define SHRINK if ((ctxt->input->cur - ctxt->input->base > 2 * INPUT_CHUNK) && \ base 2157 third_party/libxml/src/HTMLparser.c input->base = NULL; base 3515 third_party/libxml/src/HTMLparser.c processed = ctxt->input->cur - ctxt->input->base; base 3525 third_party/libxml/src/HTMLparser.c ctxt->input->base = base 3528 third_party/libxml/src/HTMLparser.c &ctxt->input->base[ctxt->input->buf->buffer->use]; base 4160 third_party/libxml/src/HTMLparser.c (CUR_PTR - ctxt->input->base); base 4211 third_party/libxml/src/HTMLparser.c (CUR_PTR - ctxt->input->base); base 4246 third_party/libxml/src/HTMLparser.c (CUR_PTR - ctxt->input->base); base 4266 third_party/libxml/src/HTMLparser.c (CUR_PTR - ctxt->input->base); base 4307 third_party/libxml/src/HTMLparser.c (CUR_PTR - ctxt->input->base); base 4878 third_party/libxml/src/HTMLparser.c input->base = input->buf->buffer->content; base 4975 third_party/libxml/src/HTMLparser.c int base, len; base 4986 third_party/libxml/src/HTMLparser.c base = in->cur - in->base; base 4987 third_party/libxml/src/HTMLparser.c if (base < 0) base 4990 third_party/libxml/src/HTMLparser.c if (ctxt->checkIndex > base) base 4991 third_party/libxml/src/HTMLparser.c base = ctxt->checkIndex; base 4994 third_party/libxml/src/HTMLparser.c buf = in->base; base 5006 third_party/libxml/src/HTMLparser.c for (; base < len; base++) { base 5007 third_party/libxml/src/HTMLparser.c if ((!incomment) && (base + 4 < len) && (!iscomment)) { base 5008 third_party/libxml/src/HTMLparser.c if ((buf[base] == '<') && (buf[base + 1] == '!') && base 5009 third_party/libxml/src/HTMLparser.c (buf[base + 2] == '-') && (buf[base + 3] == '-')) { base 5012 third_party/libxml/src/HTMLparser.c base += 2; base 5016 third_party/libxml/src/HTMLparser.c if (buf[base] == '"' || buf[base] == '\'') { base 5018 third_party/libxml/src/HTMLparser.c if (buf[base] == valdellim) { base 5023 third_party/libxml/src/HTMLparser.c valdellim = buf[base]; base 5032 third_party/libxml/src/HTMLparser.c if (base + 3 > len) base 5034 third_party/libxml/src/HTMLparser.c if ((buf[base] == '-') && (buf[base + 1] == '-') && base 5035 third_party/libxml/src/HTMLparser.c (buf[base + 2] == '>')) { base 5037 third_party/libxml/src/HTMLparser.c base += 2; base 5041 third_party/libxml/src/HTMLparser.c if (buf[base] == first) { base 5043 third_party/libxml/src/HTMLparser.c if ((buf[base + 1] != next) || (buf[base + 2] != third)) base 5046 third_party/libxml/src/HTMLparser.c if (buf[base + 1] != next) base 5054 third_party/libxml/src/HTMLparser.c first, base); base 5058 third_party/libxml/src/HTMLparser.c first, next, base); base 5062 third_party/libxml/src/HTMLparser.c first, next, third, base); base 5064 third_party/libxml/src/HTMLparser.c return (base - (in->cur - in->base)); base 5068 third_party/libxml/src/HTMLparser.c ctxt->checkIndex = base; base 5103 third_party/libxml/src/HTMLparser.c int base, len; base 5113 third_party/libxml/src/HTMLparser.c base = in->cur - in->base; base 5114 third_party/libxml/src/HTMLparser.c if (base < 0) base 5117 third_party/libxml/src/HTMLparser.c if (ctxt->checkIndex > base) base 5118 third_party/libxml/src/HTMLparser.c base = ctxt->checkIndex; base 5121 third_party/libxml/src/HTMLparser.c buf = in->base; base 5128 third_party/libxml/src/HTMLparser.c for (; base < len; base++) { base 5129 third_party/libxml/src/HTMLparser.c if (!incomment && (base + 4 < len)) { base 5130 third_party/libxml/src/HTMLparser.c if ((buf[base] == '<') && (buf[base + 1] == '!') && base 5131 third_party/libxml/src/HTMLparser.c (buf[base + 2] == '-') && (buf[base + 3] == '-')) { base 5134 third_party/libxml/src/HTMLparser.c base += 2; base 5138 third_party/libxml/src/HTMLparser.c if (base + 3 > len) base 5140 third_party/libxml/src/HTMLparser.c if ((buf[base] == '-') && (buf[base + 1] == '-') && base 5141 third_party/libxml/src/HTMLparser.c (buf[base + 2] == '>')) { base 5143 third_party/libxml/src/HTMLparser.c base += 2; base 5148 third_party/libxml/src/HTMLparser.c if (buf[base] == stop[i]) { base 5150 third_party/libxml/src/HTMLparser.c return (base - (in->cur - in->base)); base 5154 third_party/libxml/src/HTMLparser.c ctxt->checkIndex = base; base 5232 third_party/libxml/src/HTMLparser.c avail = in->length - (in->cur - in->base); base 5234 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); base 5268 third_party/libxml/src/HTMLparser.c avail = in->length - (in->cur - in->base); base 5270 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); base 5310 third_party/libxml/src/HTMLparser.c avail = in->length - (in->cur - in->base); base 5312 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); base 5370 third_party/libxml/src/HTMLparser.c avail = in->length - (in->cur - in->base); base 5372 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); base 5411 third_party/libxml/src/HTMLparser.c avail = in->length - (in->cur - in->base); base 5413 third_party/libxml/src/HTMLparser.c avail = in->buf->buffer->use - (in->cur - in->base); base 5907 third_party/libxml/src/HTMLparser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; base 5908 third_party/libxml/src/HTMLparser.c int cur = ctxt->input->cur - ctxt->input->base; base 5917 third_party/libxml/src/HTMLparser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; base 5918 third_party/libxml/src/HTMLparser.c ctxt->input->cur = ctxt->input->base + cur; base 6035 third_party/libxml/src/HTMLparser.c inputStream->base = inputStream->buf->buffer->content; base 6044 third_party/libxml/src/HTMLparser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; base 6045 third_party/libxml/src/HTMLparser.c int cur = ctxt->input->cur - ctxt->input->base; base 6049 third_party/libxml/src/HTMLparser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; base 6050 third_party/libxml/src/HTMLparser.c ctxt->input->cur = ctxt->input->base + cur; base 447 third_party/libxml/src/SAX2.c input->base = ctxt->input->cur; base 497 third_party/libxml/src/SAX2.c const char *base = NULL; base 501 third_party/libxml/src/SAX2.c base = ctxt->input->filename; base 502 third_party/libxml/src/SAX2.c if (base == NULL) base 503 third_party/libxml/src/SAX2.c base = ctxt->directory; base 505 third_party/libxml/src/SAX2.c URI = xmlBuildURI(systemId, (const xmlChar *) base); base 654 third_party/libxml/src/SAX2.c const char *base = NULL; base 657 third_party/libxml/src/SAX2.c base = ctxt->input->filename; base 658 third_party/libxml/src/SAX2.c if (base == NULL) base 659 third_party/libxml/src/SAX2.c base = ctxt->directory; base 661 third_party/libxml/src/SAX2.c URI = xmlBuildURI(systemId, (const xmlChar *) base); base 673 third_party/libxml/src/SAX2.c const char *base = NULL; base 676 third_party/libxml/src/SAX2.c base = ctxt->input->filename; base 677 third_party/libxml/src/SAX2.c if (base == NULL) base 678 third_party/libxml/src/SAX2.c base = ctxt->directory; base 680 third_party/libxml/src/SAX2.c URI = xmlBuildURI(systemId, (const xmlChar *) base); base 890 third_party/libxml/src/SAX2.c const char *base = NULL; base 893 third_party/libxml/src/SAX2.c base = ctxt->input->filename; base 894 third_party/libxml/src/SAX2.c if (base == NULL) base 895 third_party/libxml/src/SAX2.c base = ctxt->directory; base 897 third_party/libxml/src/SAX2.c URI = xmlBuildURI(systemId, (const xmlChar *) base); base 910 third_party/libxml/src/SAX2.c const char *base = NULL; base 913 third_party/libxml/src/SAX2.c base = ctxt->input->filename; base 914 third_party/libxml/src/SAX2.c if (base == NULL) base 915 third_party/libxml/src/SAX2.c base = ctxt->directory; base 917 third_party/libxml/src/SAX2.c URI = xmlBuildURI(systemId, (const xmlChar *) base); base 1773 third_party/libxml/src/SAX2.c node_info.end_pos = ctxt->input->cur - ctxt->input->base; base 2361 third_party/libxml/src/SAX2.c node_info.end_pos = ctxt->input->cur - ctxt->input->base; base 915 third_party/libxml/src/catalog.c inputStream->base = inputStream->buf->buffer->content; base 1147 third_party/libxml/src/catalog.c xmlChar *base = NULL; base 1173 third_party/libxml/src/catalog.c base = xmlNodeGetBase(cur->doc, cur); base 1174 third_party/libxml/src/catalog.c URL = xmlBuildURI(uriValue, base); base 1193 third_party/libxml/src/catalog.c if (base != NULL) base 1194 third_party/libxml/src/catalog.c xmlFree(base); base 1215 third_party/libxml/src/catalog.c xmlChar *base = NULL; base 1239 third_party/libxml/src/catalog.c base = xmlGetNsProp(cur, BAD_CAST "base", XML_XML_NAMESPACE); base 1240 third_party/libxml/src/catalog.c entry = xmlNewCatalogEntry(XML_CATA_GROUP, prop, base, NULL, pref, cgroup); base 1299 third_party/libxml/src/catalog.c if (base != NULL) base 1300 third_party/libxml/src/catalog.c xmlFree(base); base 2327 third_party/libxml/src/catalog.c xmlChar *base = NULL; base 2332 third_party/libxml/src/catalog.c base = xmlStrdup((const xmlChar *) file); base 2472 third_party/libxml/src/catalog.c if (base != NULL) base 2473 third_party/libxml/src/catalog.c xmlFree(base); base 2474 third_party/libxml/src/catalog.c base = xmlStrdup(sysid); base 2479 third_party/libxml/src/catalog.c filename = xmlBuildURI(sysid, base); base 2505 third_party/libxml/src/catalog.c filename = xmlBuildURI(sysid, base); base 2521 third_party/libxml/src/catalog.c if (base != NULL) base 2522 third_party/libxml/src/catalog.c xmlFree(base); base 2046 third_party/libxml/src/debugXML.c xmlChar *base; base 2054 third_party/libxml/src/debugXML.c base = xmlNodeGetBase(node->doc, node); base 2056 third_party/libxml/src/debugXML.c if (base == NULL) { base 2059 third_party/libxml/src/debugXML.c fprintf(ctxt->output, "%s\n", base); base 2060 third_party/libxml/src/debugXML.c xmlFree(base); base 172 third_party/libxml/src/encoding.c const unsigned char* base = in; base 188 third_party/libxml/src/encoding.c *inlen = processed - base; base 195 third_party/libxml/src/encoding.c *inlen = processed - base; base 303 third_party/libxml/src/encoding.c const unsigned char* base = in; base 330 third_party/libxml/src/encoding.c *inlen = in - base; base 2496 third_party/libxml/src/encoding.c return(in->consumed + (in->cur - in->base)); base 882 third_party/libxml/src/entities.c const xmlChar * base, *cur; base 885 third_party/libxml/src/entities.c base = cur = content; base 888 third_party/libxml/src/entities.c if (base != cur) base 889 third_party/libxml/src/entities.c xmlBufferAdd(buf, base, cur - base); base 892 third_party/libxml/src/entities.c base = cur; base 894 third_party/libxml/src/entities.c if (base != cur) base 895 third_party/libxml/src/entities.c xmlBufferAdd(buf, base, cur - base); base 898 third_party/libxml/src/entities.c base = cur; base 903 third_party/libxml/src/entities.c if (base != cur) base 904 third_party/libxml/src/entities.c xmlBufferAdd(buf, base, cur - base); base 175 third_party/libxml/src/error.c const xmlChar *cur, *base; base 182 third_party/libxml/src/error.c base = input->base; base 184 third_party/libxml/src/error.c while ((cur > base) && ((*(cur) == '\n') || (*(cur) == '\r'))) { base 189 third_party/libxml/src/error.c while ((n++ < (sizeof(content)-1)) && (cur > base) && base 60 third_party/libxml/src/include/libxml/parser.h const xmlChar *base; /* Base of the array to parse */ base 302 third_party/libxml/src/include/libxml/parserInternals.h const xmlChar *base); base 259 third_party/libxml/src/include/libxml/schemasInternals.h xmlSchemaTypePtr base; /* Deprecated; not used */ base 618 third_party/libxml/src/include/libxml/schemasInternals.h const xmlChar *base; /* Base type's local name */ base 56 third_party/libxml/src/include/libxml/uri.h const xmlChar *base); base 59 third_party/libxml/src/include/libxml/uri.h const xmlChar *base); base 50 third_party/libxml/src/include/libxml/xmlschemastypes.h xmlSchemaValidateFacet (xmlSchemaTypePtr base, base 370 third_party/libxml/src/include/libxml/xpath.h const xmlChar *base; /* the full expression */ base 1723 third_party/libxml/src/nanoftp.c int indx = 0, base; base 1803 third_party/libxml/src/nanoftp.c base = 0; base 1805 third_party/libxml/src/nanoftp.c res = xmlNanoFTPParseList(&buf[base], callback, userData); base 1806 third_party/libxml/src/nanoftp.c base += res; base 1809 third_party/libxml/src/nanoftp.c memmove(&buf[0], &buf[base], indx - base); base 1810 third_party/libxml/src/nanoftp.c indx -= base; base 88 third_party/libxml/src/parser.c const xmlChar *base, xmlParserCtxtPtr pctx); base 138 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base); base 156 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base); base 1856 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base > 2 * INPUT_CHUNK) && \ base 2263 third_party/libxml/src/parser.c input->base = buffer; base 4796 third_party/libxml/src/parser.c const xmlChar *tmp, *base; base 4814 third_party/libxml/src/parser.c base = tmp; base 4818 third_party/libxml/src/parser.c URL = xmlStrndup(base, tmp - base); base 8571 third_party/libxml/src/parser.c const xmlChar *oldbase = ctxt->input->base; base 8573 third_party/libxml/src/parser.c if (oldbase != ctxt->input->base) { base 8574 third_party/libxml/src/parser.c long delta = ctxt->input->base - oldbase; base 8590 third_party/libxml/src/parser.c const xmlChar *oldbase = ctxt->input->base; base 8594 third_party/libxml/src/parser.c if (oldbase != ctxt->input->base) { base 8595 third_party/libxml/src/parser.c long delta = ctxt->input->base - oldbase; base 8606 third_party/libxml/src/parser.c const xmlChar *oldbase = ctxt->input->base; base 8610 third_party/libxml/src/parser.c if (oldbase != ctxt->input->base) { base 8611 third_party/libxml/src/parser.c long delta = ctxt->input->base - oldbase; base 8628 third_party/libxml/src/parser.c const xmlChar *oldbase = ctxt->input->base; base 8632 third_party/libxml/src/parser.c if (oldbase != ctxt->input->base) { base 8633 third_party/libxml/src/parser.c long delta = ctxt->input->base - oldbase; base 8647 third_party/libxml/src/parser.c const xmlChar *oldbase = ctxt->input->base; base 8651 third_party/libxml/src/parser.c if (oldbase != ctxt->input->base) { base 8652 third_party/libxml/src/parser.c long delta = ctxt->input->base - oldbase; base 8837 third_party/libxml/src/parser.c const xmlChar *base; base 8853 third_party/libxml/src/parser.c base = ctxt->input->base; base 8854 third_party/libxml/src/parser.c cur = ctxt->input->cur - ctxt->input->base; base 8871 third_party/libxml/src/parser.c *tlen = ctxt->input->cur - ctxt->input->base - cur; base 8880 third_party/libxml/src/parser.c if (ctxt->input->base != base) goto base_changed; base 8891 third_party/libxml/src/parser.c if (ctxt->input->base != base) { base 9020 third_party/libxml/src/parser.c if (ctxt->input->base != base) goto base_changed; base 9057 third_party/libxml/src/parser.c if (ctxt->input->base != base) goto base_changed; base 9073 third_party/libxml/src/parser.c if (ctxt->input->base != base) goto base_changed; base 9240 third_party/libxml/src/parser.c ctxt->input->cur = ctxt->input->base + cur; base 9554 third_party/libxml/src/parser.c (CUR_PTR - ctxt->input->base); base 9616 third_party/libxml/src/parser.c (CUR_PTR - ctxt->input->base); base 9644 third_party/libxml/src/parser.c (CUR_PTR - ctxt->input->base); base 9691 third_party/libxml/src/parser.c (CUR_PTR - ctxt->input->base); base 10508 third_party/libxml/src/parser.c int base, len; base 10514 third_party/libxml/src/parser.c base = in->cur - in->base; base 10515 third_party/libxml/src/parser.c if (base < 0) return(-1); base 10516 third_party/libxml/src/parser.c if (ctxt->checkIndex > base) base 10517 third_party/libxml/src/parser.c base = ctxt->checkIndex; base 10519 third_party/libxml/src/parser.c buf = in->base; base 10528 third_party/libxml/src/parser.c for (;base < len;base++) { base 10529 third_party/libxml/src/parser.c if (buf[base] == first) { base 10531 third_party/libxml/src/parser.c if ((buf[base + 1] != next) || base 10532 third_party/libxml/src/parser.c (buf[base + 2] != third)) continue; base 10534 third_party/libxml/src/parser.c if (buf[base + 1] != next) continue; base 10541 third_party/libxml/src/parser.c first, base); base 10545 third_party/libxml/src/parser.c first, next, base); base 10549 third_party/libxml/src/parser.c first, next, third, base); base 10551 third_party/libxml/src/parser.c return(base - (in->cur - in->base)); base 10554 third_party/libxml/src/parser.c ctxt->checkIndex = base; base 10590 third_party/libxml/src/parser.c while ((tmp >= ctxt->input->base) && (*tmp != '<')) tmp--; base 10591 third_party/libxml/src/parser.c if (tmp < ctxt->input->base) { base 10614 third_party/libxml/src/parser.c while ((tmp >= ctxt->input->base) && (*tmp != '>')) tmp--; base 10615 third_party/libxml/src/parser.c if (tmp >= ctxt->input->base) base 10766 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base > 4096)) { base 10786 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base); base 10795 third_party/libxml/src/parser.c int base = ctxt->input->base - base 10797 third_party/libxml/src/parser.c int current = ctxt->input->cur - ctxt->input->base; base 10800 third_party/libxml/src/parser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; base 10801 third_party/libxml/src/parser.c ctxt->input->cur = ctxt->input->base + current; base 10807 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base); base 11173 third_party/libxml/src/parser.c int base; base 11175 third_party/libxml/src/parser.c base = xmlParseLookupSequence(ctxt, ']', ']', '>'); base 11176 third_party/libxml/src/parser.c if (base < 0) { base 11204 third_party/libxml/src/parser.c tmp = xmlCheckCdataPush(ctxt->input->cur, base); base 11205 third_party/libxml/src/parser.c if ((tmp < 0) || (tmp != base)) { base 11210 third_party/libxml/src/parser.c if ((ctxt->sax != NULL) && (base == 0) && base 11218 third_party/libxml/src/parser.c if ((ctxt->input->cur - ctxt->input->base >= 9) && base 11223 third_party/libxml/src/parser.c } else if ((ctxt->sax != NULL) && (base > 0) && base 11227 third_party/libxml/src/parser.c ctxt->input->cur, base); base 11230 third_party/libxml/src/parser.c ctxt->input->cur, base); base 11234 third_party/libxml/src/parser.c SKIPL(base + 3); base 11248 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base); base 11251 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base); base 11342 third_party/libxml/src/parser.c avail = ctxt->input->length - (ctxt->input->cur - ctxt->input->base); base 11344 third_party/libxml/src/parser.c avail = ctxt->input->buf->buffer->use - (ctxt->input->cur - ctxt->input->base); base 11390 third_party/libxml/src/parser.c avail = ctxt->input->length - (ctxt->input->cur - ctxt->input->base); base 11392 third_party/libxml/src/parser.c avail = ctxt->input->buf->buffer->use - (ctxt->input->cur - ctxt->input->base); base 11448 third_party/libxml/src/parser.c int base, i; base 11452 third_party/libxml/src/parser.c base = ctxt->input->cur - ctxt->input->base; base 11453 third_party/libxml/src/parser.c if (base < 0) return(0); base 11454 third_party/libxml/src/parser.c if (ctxt->checkIndex > base) base 11455 third_party/libxml/src/parser.c base = ctxt->checkIndex; base 11457 third_party/libxml/src/parser.c for (;(unsigned int) base < ctxt->input->buf->buffer->use; base 11458 third_party/libxml/src/parser.c base++) { base 11460 third_party/libxml/src/parser.c if (buf[base] == quote) base 11464 third_party/libxml/src/parser.c if ((quote == 0) && (buf[base] == '<')) { base 11467 third_party/libxml/src/parser.c if (((unsigned int) base + 4 < base 11469 third_party/libxml/src/parser.c (buf[base + 1] == '!') && base 11470 third_party/libxml/src/parser.c (buf[base + 2] == '-') && base 11471 third_party/libxml/src/parser.c (buf[base + 3] == '-')) { base 11472 third_party/libxml/src/parser.c for (;(unsigned int) base + 3 < base 11473 third_party/libxml/src/parser.c ctxt->input->buf->buffer->use; base++) { base 11474 third_party/libxml/src/parser.c if ((buf[base] == '-') && base 11475 third_party/libxml/src/parser.c (buf[base + 1] == '-') && base 11476 third_party/libxml/src/parser.c (buf[base + 2] == '>')) { base 11478 third_party/libxml/src/parser.c base += 2; base 11491 third_party/libxml/src/parser.c if (buf[base] == '"') { base 11495 third_party/libxml/src/parser.c if (buf[base] == '\'') { base 11499 third_party/libxml/src/parser.c if (buf[base] == ']') { base 11501 third_party/libxml/src/parser.c fprintf(stderr, "%c%c%c%c: ", buf[base], base 11502 third_party/libxml/src/parser.c buf[base + 1], buf[base + 2], buf[base + 3]); base 11504 third_party/libxml/src/parser.c if ((unsigned int) base +1 >= base 11507 third_party/libxml/src/parser.c if (buf[base + 1] == ']') { base 11509 third_party/libxml/src/parser.c base++; base 11513 third_party/libxml/src/parser.c (unsigned int) base + i < ctxt->input->buf->buffer->use; base 11515 third_party/libxml/src/parser.c if (buf[base + i] == '>') { base 11521 third_party/libxml/src/parser.c if (!IS_BLANK_CH(buf[base + i])) { base 11696 third_party/libxml/src/parser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; base 11697 third_party/libxml/src/parser.c int cur = ctxt->input->cur - ctxt->input->base; base 11741 third_party/libxml/src/parser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; base 11742 third_party/libxml/src/parser.c ctxt->input->cur = ctxt->input->base + cur; base 11794 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base); base 11797 third_party/libxml/src/parser.c (ctxt->input->cur - ctxt->input->base); base 11917 third_party/libxml/src/parser.c inputStream->base = inputStream->buf->buffer->content; base 11932 third_party/libxml/src/parser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; base 11933 third_party/libxml/src/parser.c int cur = ctxt->input->cur - ctxt->input->base; base 11937 third_party/libxml/src/parser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; base 11938 third_party/libxml/src/parser.c ctxt->input->cur = ctxt->input->base + cur; base 11969 third_party/libxml/src/parser.c ctxt->input->base = ctxt->input->cur; base 12109 third_party/libxml/src/parser.c pinput->base = ctxt->input->cur; base 12253 third_party/libxml/src/parser.c input->base = ctxt->input->cur; base 12699 third_party/libxml/src/parser.c oldctxt->sizeentities += (ctxt->input->cur - ctxt->input->base); base 13446 third_party/libxml/src/parser.c const xmlChar *base, xmlParserCtxtPtr pctx) { base 13462 third_party/libxml/src/parser.c uri = xmlBuildURI(URL, base); base 13510 third_party/libxml/src/parser.c const xmlChar *base) { base 13511 third_party/libxml/src/parser.c return xmlCreateEntityParserCtxtInternal(URL, ID, base, NULL); base 13750 third_party/libxml/src/parser.c input->base = buffer; base 13851 third_party/libxml/src/parser.c input->base = input->buf->buffer->content; base 14422 third_party/libxml/src/parser.c inputStream->base = inputStream->buf->buffer->content; base 14431 third_party/libxml/src/parser.c int base = ctxt->input->base - ctxt->input->buf->buffer->content; base 14432 third_party/libxml/src/parser.c int cur = ctxt->input->cur - ctxt->input->base; base 14436 third_party/libxml/src/parser.c ctxt->input->base = ctxt->input->buf->buffer->content + base; base 14437 third_party/libxml/src/parser.c ctxt->input->cur = ctxt->input->base + cur; base 245 third_party/libxml/src/parserInternals.c if (in->base != in->buf->buffer->content) { base 249 third_party/libxml/src/parserInternals.c if (in->cur < in->base) { base 253 third_party/libxml/src/parserInternals.c if (in->cur > in->base + in->buf->buffer->use) { base 258 third_party/libxml/src/parserInternals.c (int) in, (int) in->buf->buffer->content, in->cur - in->base, base 289 third_party/libxml/src/parserInternals.c if (in->base == NULL) return(-1); base 303 third_party/libxml/src/parserInternals.c if (in->base != in->buf->buffer->content) { base 307 third_party/libxml/src/parserInternals.c indx = in->cur - in->base; base 308 third_party/libxml/src/parserInternals.c in->base = in->buf->buffer->content; base 339 third_party/libxml/src/parserInternals.c if (in->base == NULL) return(-1); base 345 third_party/libxml/src/parserInternals.c indx = in->cur - in->base; base 363 third_party/libxml/src/parserInternals.c if (in->base != in->buf->buffer->content) { base 367 third_party/libxml/src/parserInternals.c indx = in->cur - in->base; base 368 third_party/libxml/src/parserInternals.c in->base = in->buf->buffer->content; base 395 third_party/libxml/src/parserInternals.c if (in->base == NULL) return; base 421 third_party/libxml/src/parserInternals.c if (in->base != in->buf->buffer->content) { base 425 third_party/libxml/src/parserInternals.c indx = in->cur - in->base; base 426 third_party/libxml/src/parserInternals.c in->base = in->buf->buffer->content; base 1227 third_party/libxml/src/parserInternals.c processed = input->cur - input->base; base 1260 third_party/libxml/src/parserInternals.c input->base = input->cur = input->buf->buffer->content; base 1261 third_party/libxml/src/parserInternals.c input->end = &input->base[input->buf->buffer->use]; base 1364 third_party/libxml/src/parserInternals.c if ((input->free != NULL) && (input->base != NULL)) base 1365 third_party/libxml/src/parserInternals.c input->free((xmlChar *) input->base); base 1425 third_party/libxml/src/parserInternals.c inputStream->base = inputStream->buf->buffer->content; base 1427 third_party/libxml/src/parserInternals.c inputStream->end = &inputStream->base[inputStream->buf->buffer->use]; base 1490 third_party/libxml/src/parserInternals.c input->base = entity->content; base 1522 third_party/libxml/src/parserInternals.c input->base = buffer; base 1580 third_party/libxml/src/parserInternals.c inputStream->base = inputStream->buf->buffer->content; base 1582 third_party/libxml/src/parserInternals.c inputStream->end = &inputStream->base[inputStream->buf->buffer->use]; base 177 third_party/libxml/src/pattern.c const xmlChar *base; /* the full expression */ base 305 third_party/libxml/src/pattern.c cur->base = pattern; base 1030 third_party/libxml/src/pattern.c "Unexpected attribute axis in '%s'.\n", ctxt->base); base 1183 third_party/libxml/src/pattern.c "Unexpected attribute axis in '%s'.\n", ctxt->base); base 1249 third_party/libxml/src/pattern.c "Incomplete expression '%s'.\n", ctxt->base); base 1272 third_party/libxml/src/pattern.c "Incomplete expression '%s'.\n", ctxt->base); base 1296 third_party/libxml/src/pattern.c "Incomplete expression '%s'.\n", ctxt->base); base 1308 third_party/libxml/src/pattern.c "Failed to compile pattern %s\n", ctxt->base); base 1330 third_party/libxml/src/pattern.c ctxt->base); base 1349 third_party/libxml/src/pattern.c "Unexpected token after '.' in '%s'.\n", ctxt->base); base 1361 third_party/libxml/src/pattern.c "Unexpected '/' token in '%s'.\n", ctxt->base); base 1391 third_party/libxml/src/pattern.c ctxt->base); base 1401 third_party/libxml/src/pattern.c "Failed to compile expression '%s'.\n", ctxt->base); base 1412 third_party/libxml/src/pattern.c "Unfinished expression '%s'.\n", ctxt->base); base 7027 third_party/libxml/src/relaxng.c xmlChar *href, *ns, *base, *URL; base 7078 third_party/libxml/src/relaxng.c base = xmlNodeGetBase(cur->doc, cur); base 7079 third_party/libxml/src/relaxng.c URL = xmlBuildURI(href, base); base 7088 third_party/libxml/src/relaxng.c if (base != NULL) base 7089 third_party/libxml/src/relaxng.c xmlFree(base); base 7095 third_party/libxml/src/relaxng.c if (base != NULL) base 7096 third_party/libxml/src/relaxng.c xmlFree(base); base 7113 third_party/libxml/src/relaxng.c xmlChar *href, *ns, *base, *URL; base 7125 third_party/libxml/src/relaxng.c base = xmlNodeGetBase(cur->doc, cur); base 7126 third_party/libxml/src/relaxng.c URL = xmlBuildURI(href, base); base 7133 third_party/libxml/src/relaxng.c if (base != NULL) base 7134 third_party/libxml/src/relaxng.c xmlFree(base); base 7140 third_party/libxml/src/relaxng.c if (base != NULL) base 7141 third_party/libxml/src/relaxng.c xmlFree(base); base 10118 third_party/libxml/src/relaxng.c int base, j; base 10145 third_party/libxml/src/relaxng.c base = res->nbState; base 10191 third_party/libxml/src/relaxng.c base = res->nbState; base 10220 third_party/libxml/src/relaxng.c if (res->nbState - base == 1) { base 10224 third_party/libxml/src/relaxng.c [base]); base 10228 third_party/libxml/src/relaxng.c res->nbState - base); base 10236 third_party/libxml/src/relaxng.c for (i = base; i < res->nbState; i++) base 370 third_party/libxml/src/runsuite.c installResources(xmlNodePtr tst, const xmlChar *base) { base 390 third_party/libxml/src/runsuite.c res = composeDir(base, name); base 405 third_party/libxml/src/runsuite.c installDirs(xmlNodePtr tst, const xmlChar *base) { base 412 third_party/libxml/src/runsuite.c res = composeDir(base, name); base 789 third_party/libxml/src/runsuite.c const xmlChar *spath, const char *base) { base 808 third_party/libxml/src/runsuite.c path = xmlBuildURI(href, BAD_CAST base); base 886 third_party/libxml/src/runsuite.c xstcTestGroup(xmlNodePtr cur, const char *base) { base 906 third_party/libxml/src/runsuite.c path = xmlBuildURI(href, BAD_CAST base); base 953 third_party/libxml/src/runsuite.c xstcTestInstance(instance, schemas, path, base); base 1008 third_party/libxml/src/runsuite.c xstcMetadata(const char *metadata, const char *base) { base 1045 third_party/libxml/src/runsuite.c xstcTestGroup(cur, base); base 302 third_party/libxml/src/runtest.c const xmlChar *cur, *base; base 309 third_party/libxml/src/runtest.c base = input->base; base 311 third_party/libxml/src/runtest.c while ((cur > base) && ((*(cur) == '\n') || (*(cur) == '\r'))) { base 316 third_party/libxml/src/runtest.c while ((n++ < (sizeof(content)-1)) && (cur > base) && base 566 third_party/libxml/src/runtest.c const char *base; base 577 third_party/libxml/src/runtest.c base = baseFilename(filename); base 585 third_party/libxml/src/runtest.c if(strstr(base,".") && suffixbuff[0]=='.') base 589 third_party/libxml/src/runtest.c snprintf(res, 499, "%s%s%s", out, base, suffixbuff); base 684 third_party/libxml/src/runtest.c char *base; base 688 third_party/libxml/src/runtest.c base = malloc(info.st_size + 1); base 689 third_party/libxml/src/runtest.c if (base == NULL) base 692 third_party/libxml/src/runtest.c free(base); base 695 third_party/libxml/src/runtest.c while ((res = read(fd, &base[siz], info.st_size - siz)) > 0) { base 701 third_party/libxml/src/runtest.c free(base); base 705 third_party/libxml/src/runtest.c base[siz] = 0; base 706 third_party/libxml/src/runtest.c *mem = base; base 1809 third_party/libxml/src/runtest.c const char *base; base 1817 third_party/libxml/src/runtest.c if (loadMem(filename, &base, &size) != 0) { base 1824 third_party/libxml/src/runtest.c ctxt = htmlCreatePushParserCtxt(NULL, NULL, base + cur, 4, filename, base 1828 third_party/libxml/src/runtest.c ctxt = xmlCreatePushParserCtxt(NULL, NULL, base + cur, 4, filename); base 1835 third_party/libxml/src/runtest.c htmlParseChunk(ctxt, base + cur, size - cur, 1); base 1838 third_party/libxml/src/runtest.c xmlParseChunk(ctxt, base + cur, size - cur, 1); base 1843 third_party/libxml/src/runtest.c htmlParseChunk(ctxt, base + cur, 1024, 0); base 1846 third_party/libxml/src/runtest.c xmlParseChunk(ctxt, base + cur, 1024, 0); base 1858 third_party/libxml/src/runtest.c free((char *)base); base 1866 third_party/libxml/src/runtest.c htmlDocDumpMemory(doc, (xmlChar **) &base, &size); base 1869 third_party/libxml/src/runtest.c xmlDocDumpMemory(doc, (xmlChar **) &base, &size); base 1871 third_party/libxml/src/runtest.c res = compareFileMem(result, base, size); base 1872 third_party/libxml/src/runtest.c if ((base == NULL) || (res != 0)) { base 1873 third_party/libxml/src/runtest.c if (base != NULL) base 1874 third_party/libxml/src/runtest.c xmlFree((char *)base); base 1878 third_party/libxml/src/runtest.c xmlFree((char *)base); base 1907 third_party/libxml/src/runtest.c const char *base; base 1914 third_party/libxml/src/runtest.c if (loadMem(filename, &base, &size) != 0) { base 1919 third_party/libxml/src/runtest.c doc = xmlReadMemory(base, size, filename, NULL, 0); base 1920 third_party/libxml/src/runtest.c unloadMem(base); base 1924 third_party/libxml/src/runtest.c xmlDocDumpMemory(doc, (xmlChar **) &base, &size); base 1926 third_party/libxml/src/runtest.c res = compareFileMem(result, base, size); base 1927 third_party/libxml/src/runtest.c if ((base == NULL) || (res != 0)) { base 1928 third_party/libxml/src/runtest.c if (base != NULL) base 1929 third_party/libxml/src/runtest.c xmlFree((char *)base); base 1933 third_party/libxml/src/runtest.c xmlFree((char *)base); base 2008 third_party/libxml/src/runtest.c const char *base = NULL; base 2030 third_party/libxml/src/runtest.c base = ""; base 2035 third_party/libxml/src/runtest.c htmlDocDumpMemory(doc, (xmlChar **) &base, &size); base 2038 third_party/libxml/src/runtest.c xmlDocDumpMemory(doc, (xmlChar **) &base, &size); base 2040 third_party/libxml/src/runtest.c res = compareFileMem(result, base, size); base 2043 third_party/libxml/src/runtest.c if (base != NULL) base 2044 third_party/libxml/src/runtest.c xmlFree((char *)base); base 2245 third_party/libxml/src/runtest.c const char *base; base 2251 third_party/libxml/src/runtest.c if (loadMem(filename, &base, &size) != 0) { base 2255 third_party/libxml/src/runtest.c reader = xmlReaderForMemory(base, size, filename, NULL, options); base 2257 third_party/libxml/src/runtest.c free((char *)base); base 2567 third_party/libxml/src/runtest.c handleURI(const char *str, const char *base, FILE *o) { base 2574 third_party/libxml/src/runtest.c if (base == NULL) { base 2584 third_party/libxml/src/runtest.c res = xmlBuildURI((xmlChar *)str, (xmlChar *) base); base 2610 third_party/libxml/src/runtest.c const char *base) { base 2656 third_party/libxml/src/runtest.c handleURI(str, base, o); base 2986 third_party/libxml/src/runtest.c const char *base = baseFilename(filename); base 3012 third_party/libxml/src/runtest.c len = strlen(base); base 3018 third_party/libxml/src/runtest.c if (base[len - 2] == '_') { base 3021 third_party/libxml/src/runtest.c if (base[len - 2] == '_') { base 3024 third_party/libxml/src/runtest.c memcpy(prefix, base, len); base 3030 third_party/libxml/src/runtest.c if (base[len] == '_') { base 3032 third_party/libxml/src/runtest.c memcpy(prefix, base, len); base 3163 third_party/libxml/src/runtest.c const char *base = baseFilename(filename); base 3189 third_party/libxml/src/runtest.c len = strlen(base); base 3195 third_party/libxml/src/runtest.c memcpy(prefix, base, len); base 3252 third_party/libxml/src/runtest.c const char *base = baseFilename(filename); base 3269 third_party/libxml/src/runtest.c len = strlen(base); base 3275 third_party/libxml/src/runtest.c memcpy(prefix, base, len); base 3793 third_party/libxml/src/runtest.c const char *base; base 3800 third_party/libxml/src/runtest.c base = baseFilename(filename); base 3801 third_party/libxml/src/runtest.c len = strlen(base); base 3803 third_party/libxml/src/runtest.c memcpy(prefix, base, len); base 1013 third_party/libxml/src/schematron.c xmlChar *base = NULL; base 1028 third_party/libxml/src/schematron.c base = xmlNodeGetBase(cur->doc, cur); base 1029 third_party/libxml/src/schematron.c URI = xmlBuildURI(href, base); base 1056 third_party/libxml/src/schematron.c if (base != NULL) base 1057 third_party/libxml/src/schematron.c xmlFree(base); base 91 third_party/libxml/src/testRelax.c const char *base; base 96 third_party/libxml/src/testRelax.c base = mmap(NULL, info.st_size, PROT_READ, base 98 third_party/libxml/src/testRelax.c if (base == (void *) MAP_FAILED) base 101 third_party/libxml/src/testRelax.c ctxt = xmlRelaxNGNewMemParserCtxt((char *)base,info.st_size); base 109 third_party/libxml/src/testRelax.c munmap((char *) base, info.st_size); base 87 third_party/libxml/src/testSchemas.c const char *base; base 92 third_party/libxml/src/testSchemas.c base = mmap(NULL, info.st_size, PROT_READ, base 94 third_party/libxml/src/testSchemas.c if (base == (void *) MAP_FAILED) base 97 third_party/libxml/src/testSchemas.c ctxt = xmlSchemaNewMemParserCtxt((char *)base,info.st_size); base 105 third_party/libxml/src/testSchemas.c munmap((char *) base, info.st_size); base 19 third_party/libxml/src/testURI.c static const char *base = NULL; base 30 third_party/libxml/src/testURI.c if (base == NULL) { base 60 third_party/libxml/src/testURI.c res = xmlBuildURI((xmlChar *)str, (xmlChar *) base); base 80 third_party/libxml/src/testURI.c base = argv[arg]; base 81 third_party/libxml/src/testURI.c if (base != NULL) base 15871 third_party/libxml/src/testapi.c xmlChar * base; /* a possible base for the target URI */ base 15880 third_party/libxml/src/testapi.c base = gen_const_xmlChar_ptr(n_base, 2); base 15882 third_party/libxml/src/testapi.c ret_val = xmlCreateEntityParserCtxt((const xmlChar *)URL, (const xmlChar *)ID, (const xmlChar *)base); base 15887 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_base, (const xmlChar *)base, 2); base 24172 third_party/libxml/src/testapi.c xmlChar * base; /* the base value */ base 24179 third_party/libxml/src/testapi.c base = gen_const_xmlChar_ptr(n_base, 1); base 24181 third_party/libxml/src/testapi.c ret_val = xmlBuildRelativeURI((const xmlChar *)URI, (const xmlChar *)base); base 24185 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_base, (const xmlChar *)base, 1); base 24211 third_party/libxml/src/testapi.c xmlChar * base; /* the base value */ base 24218 third_party/libxml/src/testapi.c base = gen_const_xmlChar_ptr(n_base, 1); base 24220 third_party/libxml/src/testapi.c ret_val = xmlBuildURI((const xmlChar *)URI, (const xmlChar *)base); base 24224 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_base, (const xmlChar *)base, 1); base 35371 third_party/libxml/src/testapi.c xmlSchemaTypePtr base; /* the base type */ base 35385 third_party/libxml/src/testapi.c base = gen_xmlSchemaTypePtr(n_base, 0); base 35390 third_party/libxml/src/testapi.c ret_val = xmlSchemaValidateFacet(base, facet, (const xmlChar *)value, val); base 35393 third_party/libxml/src/testapi.c des_xmlSchemaTypePtr(n_base, base, 0); base 5135 third_party/libxml/src/tree.c xmlChar *base, *newbase; base 5168 third_party/libxml/src/tree.c base = xmlGetNsProp(cur, BAD_CAST "base", XML_XML_NAMESPACE); base 5169 third_party/libxml/src/tree.c if (base != NULL) { base 5171 third_party/libxml/src/tree.c newbase = xmlBuildURI(oldbase, base); base 5174 third_party/libxml/src/tree.c xmlFree(base); base 5178 third_party/libxml/src/tree.c xmlFree(base); base 5182 third_party/libxml/src/tree.c oldbase = base; base 7493 third_party/libxml/src/tree.c const xmlChar *cur, *base; base 7504 third_party/libxml/src/tree.c base = cur = string; base 7507 third_party/libxml/src/tree.c if (base != cur) base 7508 third_party/libxml/src/tree.c xmlBufferAdd(buf, base, cur - base); base 7511 third_party/libxml/src/tree.c base = cur; base 7517 third_party/libxml/src/tree.c if (base != cur) base 7518 third_party/libxml/src/tree.c xmlBufferAdd(buf, base, cur - base); base 642 third_party/libxml/src/trio.c int base; base 1111 third_party/libxml/src/trio.c TRIO_ARGS2((number, base), base 1113 third_party/libxml/src/trio.c int base) base 1124 third_party/libxml/src/trio.c if (base == 10) base 1130 third_party/libxml/src/trio.c result = log10(number) / log10((double)base); base 1141 third_party/libxml/src/trio.c TRIO_ARGS1((base), base 1142 third_party/libxml/src/trio.c int base) base 1144 third_party/libxml/src/trio.c switch (base) base 1150 third_party/libxml/src/trio.c default : return TrioLogarithm((double)base, 2); base 1180 third_party/libxml/src/trio.c int base; base 1260 third_party/libxml/src/trio.c base = NO_BASE; base 1350 third_party/libxml/src/trio.c base = TrioGetPosition(format, &index); base 1351 third_party/libxml/src/trio.c if (base == NO_POSITION) base 1355 third_party/libxml/src/trio.c base = parameterPosition; base 1358 third_party/libxml/src/trio.c base = currentParam; base 1359 third_party/libxml/src/trio.c currentParam = base + 1; base 1365 third_party/libxml/src/trio.c currentParam = base + 1; base 1366 third_party/libxml/src/trio.c if (base > maxParam) base 1367 third_party/libxml/src/trio.c maxParam = base; base 1374 third_party/libxml/src/trio.c base = trio_to_long(&format[index], base 1377 third_party/libxml/src/trio.c if (base > MAX_BASE) base 1617 third_party/libxml/src/trio.c usedEntries[base] += 1; base 1620 third_party/libxml/src/trio.c indices[base] = pos; base 1621 third_party/libxml/src/trio.c base = pos++; base 1705 third_party/libxml/src/trio.c base = BASE_DECIMAL; base 1712 third_party/libxml/src/trio.c base = BASE_OCTAL; base 1723 third_party/libxml/src/trio.c base = BASE_BINARY; base 1734 third_party/libxml/src/trio.c base = BASE_HEX; base 1780 third_party/libxml/src/trio.c base = BASE_HEX; base 1873 third_party/libxml/src/trio.c if (base == NO_BASE) base 1874 third_party/libxml/src/trio.c base = parameters[i].base; base 1884 third_party/libxml/src/trio.c parameters[pos].base = (base == NO_BASE) ? BASE_DECIMAL : base; base 2163 third_party/libxml/src/trio.c TRIO_ARGS6((self, number, flags, width, precision, base), base 2169 third_party/libxml/src/trio.c int base) base 2186 third_party/libxml/src/trio.c assert(((base >= MIN_BASE) && (base <= MAX_BASE)) || (base == NO_BASE)); base 2189 third_party/libxml/src/trio.c if (base == NO_BASE) base 2190 third_party/libxml/src/trio.c base = BASE_DECIMAL; base 2196 third_party/libxml/src/trio.c && !((flags & FLAGS_ALTERNATIVE) && (base == BASE_OCTAL))); base 2222 third_party/libxml/src/trio.c *pointer-- = digits[number % base]; base 2223 third_party/libxml/src/trio.c number /= base; base 2269 third_party/libxml/src/trio.c switch (base) base 2303 third_party/libxml/src/trio.c switch (base) base 2601 third_party/libxml/src/trio.c TRIO_ARGS6((self, number, flags, width, precision, base), base 2607 third_party/libxml/src/trio.c int base) base 2644 third_party/libxml/src/trio.c assert(((base >= MIN_BASE) && (base <= MAX_BASE)) || (base == NO_BASE)); base 2687 third_party/libxml/src/trio.c baseDigits = (base == 10) base 2689 third_party/libxml/src/trio.c : (int)floor(LDBL_MANT_DIG / TrioLogarithmBase(base)); base 2694 third_party/libxml/src/trio.c baseDigits = (base == BASE_DECIMAL) base 2696 third_party/libxml/src/trio.c : (int)floor(FLT_MANT_DIG / TrioLogarithmBase(base)); base 2701 third_party/libxml/src/trio.c baseDigits = (base == BASE_DECIMAL) base 2703 third_party/libxml/src/trio.c : (int)floor(DBL_MANT_DIG / TrioLogarithmBase(base)); base 2708 third_party/libxml/src/trio.c isHex = (base == BASE_HEX); base 2709 third_party/libxml/src/trio.c if (base == NO_BASE) base 2710 third_party/libxml/src/trio.c base = BASE_DECIMAL; base 2711 third_party/libxml/src/trio.c dblBase = (trio_long_double_t)base; base 2743 third_party/libxml/src/trio.c if ((number < 1.0E-4) || (number > powl(base, base 2756 third_party/libxml/src/trio.c workNumber = TrioLogarithm(number, base); base 2767 third_party/libxml/src/trio.c workNumber = TrioLogarithm(number, base); base 2798 third_party/libxml/src/trio.c ? 1 + (int)TrioLogarithm(integerNumber, base) base 2804 third_party/libxml/src/trio.c dblFractionBase = TrioPower(base, fractionDigits); base 2827 third_party/libxml/src/trio.c ? 1 + (int)TrioLogarithm(integerNumber, base) base 2843 third_party/libxml/src/trio.c integerAdjust = TrioPower(base, integerDigits - integerThreshold - 1); base 2874 third_party/libxml/src/trio.c (isHex) ? 10.0 : base)); base 2878 third_party/libxml/src/trio.c requireTwoDigitExponent = ((base == BASE_DECIMAL) && (exponentDigits == 1)); base 2942 third_party/libxml/src/trio.c dblIntegerBase = 1.0 / TrioPower(base, integerDigits - 1); base 3041 third_party/libxml/src/trio.c base = 10.0; base 3042 third_party/libxml/src/trio.c exponentBase = (int)TrioPower(base, exponentDigits - 1); base 3045 third_party/libxml/src/trio.c self->OutStream(self, digits[(uExponent / exponentBase) % base]); base 3046 third_party/libxml/src/trio.c exponentBase /= base; base 3081 third_party/libxml/src/trio.c int base; base 3168 third_party/libxml/src/trio.c base = parameters[i].base; base 3172 third_party/libxml/src/trio.c base = (int)parameters[base].data.number.as_signed; base 3217 third_party/libxml/src/trio.c base); base 3227 third_party/libxml/src/trio.c base); base 4447 third_party/libxml/src/trio.c return (((trio_reference_t *)ref)->parameter->base); base 4452 third_party/libxml/src/trio.c TRIO_ARGS2((ref, base), base 4454 third_party/libxml/src/trio.c int base) base 4456 third_party/libxml/src/trio.c ((trio_reference_t *)ref)->parameter->base = base; base 4854 third_party/libxml/src/trio.c self->parameter->base); base 4873 third_party/libxml/src/trio.c self->parameter->base); base 4892 third_party/libxml/src/trio.c self->parameter->base); base 5422 third_party/libxml/src/trio.c TRIO_ARGS5((self, target, flags, width, base), base 5427 third_party/libxml/src/trio.c int base) base 5438 third_party/libxml/src/trio.c assert((base >= MIN_BASE && base <= MAX_BASE) || (base == NO_BASE)); base 5472 third_party/libxml/src/trio.c switch (base) base 5483 third_party/libxml/src/trio.c if ((base == BASE_HEX) && base 5488 third_party/libxml/src/trio.c else if ((base == BASE_BINARY) && base 5510 third_party/libxml/src/trio.c if ((digit == -1) || (digit >= base)) base 5531 third_party/libxml/src/trio.c number *= base; base 6047 third_party/libxml/src/trio.c int base; base 6114 third_party/libxml/src/trio.c base = parameters[i].base; base 6118 third_party/libxml/src/trio.c base = (int)parameters[base].data.number.as_signed; base 6127 third_party/libxml/src/trio.c if (0 == base) base 6128 third_party/libxml/src/trio.c base = BASE_DECIMAL; base 6134 third_party/libxml/src/trio.c base)) base 99 third_party/libxml/src/triop.h void trio_set_base TRIO_PROTO((trio_pointer_t ref, int base)); base 974 third_party/libxml/src/triostr.c trio_long_double_t base; base 981 third_party/libxml/src/triostr.c base = 16.0; base 985 third_party/libxml/src/triostr.c integer *= base; base 996 third_party/libxml/src/triostr.c fracdiv /= base; base 1019 third_party/libxml/src/triostr.c base = 2.0; base 1023 third_party/libxml/src/triostr.c base = 10.0; base 1032 third_party/libxml/src/triostr.c integer *= base; base 1042 third_party/libxml/src/triostr.c fracdiv /= base; base 1061 third_party/libxml/src/triostr.c exponent *= (int)base; base 1072 third_party/libxml/src/triostr.c value /= pow(base, (double)exponent); base 1074 third_party/libxml/src/triostr.c value *= pow(base, (double)exponent); base 1142 third_party/libxml/src/triostr.c TRIO_ARGS3((string, endp, base), base 1145 third_party/libxml/src/triostr.c int base) base 1148 third_party/libxml/src/triostr.c assert((base >= 2) && (base <= 36)); base 1150 third_party/libxml/src/triostr.c return strtol(string, endp, base); base 1191 third_party/libxml/src/triostr.c TRIO_ARGS3((string, endp, base), base 1194 third_party/libxml/src/triostr.c int base) base 1197 third_party/libxml/src/triostr.c assert((base >= 2) && (base <= 36)); base 1199 third_party/libxml/src/triostr.c return strtoul(string, endp, base); base 56 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC long trio_to_long TRIO_PROTO((const char *source, char **endp, int base)); base 82 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC unsigned long trio_to_unsigned_long TRIO_PROTO((const char *source, char **endp, int base)); base 1959 third_party/libxml/src/uri.c xmlBuildURI(const xmlChar *URI, const xmlChar *base) { base 1995 third_party/libxml/src/uri.c if (base == NULL) base 2001 third_party/libxml/src/uri.c ret = xmlParseURIReference(bas, (const char *) base); base 2239 third_party/libxml/src/uri.c xmlBuildRelativeURI (const xmlChar * URI, const xmlChar * base) base 2272 third_party/libxml/src/uri.c if ((base == NULL) || (*base == 0)) { base 2279 third_party/libxml/src/uri.c if (base[0] != '.') { base 2280 third_party/libxml/src/uri.c ret = xmlParseURIReference (bas, (const char *) base); base 2284 third_party/libxml/src/uri.c bas->path = (char *)xmlStrdup(base); base 84 third_party/libxml/src/xinclude.c xmlChar * base; /* the current xml:base */ base 405 third_party/libxml/src/xinclude.c if (ctxt->base != NULL) { base 406 third_party/libxml/src/xinclude.c xmlFree(ctxt->base); base 494 third_party/libxml/src/xinclude.c xmlChar *base; base 539 third_party/libxml/src/xinclude.c base = xmlNodeGetBase(ctxt->doc, cur); base 540 third_party/libxml/src/xinclude.c if (base == NULL) { base 543 third_party/libxml/src/xinclude.c URI = xmlBuildURI(href, base); base 551 third_party/libxml/src/xinclude.c escbase = xmlURIEscape(base); base 563 third_party/libxml/src/xinclude.c if (base != NULL) base 564 third_party/libxml/src/xinclude.c xmlFree(base); base 710 third_party/libxml/src/xinclude.c newctxt->base = xmlStrdup(ctxt->base); base 1691 third_party/libxml/src/xinclude.c xmlChar *base; base 1698 third_party/libxml/src/xinclude.c base = xmlGetNsProp(ctxt->incTab[nr]->ref, BAD_CAST "base", base 1700 third_party/libxml/src/xinclude.c if (base == NULL) { base 1705 third_party/libxml/src/xinclude.c curBase = xmlBuildRelativeURI(URL, ctxt->base); base 1715 third_party/libxml/src/xinclude.c base = curBase; base 1718 third_party/libxml/src/xinclude.c if (base != NULL) { /* Adjustment may be needed */ base 1726 third_party/libxml/src/xinclude.c xmlNodeSetBase(node, base); base 1734 third_party/libxml/src/xinclude.c xmlNodeSetBase(node, base); base 1746 third_party/libxml/src/xinclude.c relBase = xmlBuildURI(xmlBase, base); base 1765 third_party/libxml/src/xinclude.c xmlFree(base); base 1947 third_party/libxml/src/xinclude.c newctxt->base = xmlStrdup(ctxt->base); /* Inherit the base from the existing context */ base 2001 third_party/libxml/src/xinclude.c xmlChar *base; base 2045 third_party/libxml/src/xinclude.c base = xmlNodeGetBase(ctxt->doc, cur); base 2046 third_party/libxml/src/xinclude.c if (base == NULL) { base 2049 third_party/libxml/src/xinclude.c URI = xmlBuildURI(href, base); base 2057 third_party/libxml/src/xinclude.c escbase = xmlURIEscape(base); base 2072 third_party/libxml/src/xinclude.c if (base != NULL) base 2073 third_party/libxml/src/xinclude.c xmlFree(base); base 2085 third_party/libxml/src/xinclude.c oldBase = ctxt->base; base 2086 third_party/libxml/src/xinclude.c ctxt->base = base; base 2098 third_party/libxml/src/xinclude.c ctxt->base = oldBase; base 2139 third_party/libxml/src/xinclude.c if (base != NULL) base 2140 third_party/libxml/src/xinclude.c xmlFree(base); base 2458 third_party/libxml/src/xinclude.c ctxt->base = xmlStrdup((xmlChar *)tree->doc->URL); base 2541 third_party/libxml/src/xinclude.c ctxt->base = xmlNodeGetBase(tree->doc, tree); base 3349 third_party/libxml/src/xmlIO.c const unsigned char* base = in; base 3388 third_party/libxml/src/xmlIO.c *inlen = in - base; base 582 third_party/libxml/src/xmllint.c const xmlChar *cur, *base; base 589 third_party/libxml/src/xmllint.c base = input->base; base 590 third_party/libxml/src/xmllint.c while ((cur > base) && ((*cur == '\n') || (*cur == '\r'))) { base 594 third_party/libxml/src/xmllint.c while ((n++ < 80) && (cur > base) && (*cur != '\n') && (*cur != '\r')) base 597 third_party/libxml/src/xmllint.c base = cur; base 611 third_party/libxml/src/xmllint.c while ((cur != base) && (n++ < 80)) { base 614 third_party/libxml/src/xmllint.c base++; base 1824 third_party/libxml/src/xmllint.c const char *base = NULL; base 1832 third_party/libxml/src/xmllint.c base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ; base 1833 third_party/libxml/src/xmllint.c if (base == (void *) MAP_FAILED) base 1836 third_party/libxml/src/xmllint.c reader = xmlReaderForMemory(base, info.st_size, filename, base 1975 third_party/libxml/src/xmllint.c munmap((char *) base, info.st_size); base 2214 third_party/libxml/src/xmllint.c const char *base; base 2219 third_party/libxml/src/xmllint.c base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ; base 2220 third_party/libxml/src/xmllint.c if (base == (void *) MAP_FAILED) base 2223 third_party/libxml/src/xmllint.c doc = htmlReadMemory((char *) base, info.st_size, filename, base 2226 third_party/libxml/src/xmllint.c munmap((char *) base, info.st_size); base 2329 third_party/libxml/src/xmllint.c const char *base; base 2334 third_party/libxml/src/xmllint.c base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ; base 2335 third_party/libxml/src/xmllint.c if (base == (void *) MAP_FAILED) base 2339 third_party/libxml/src/xmllint.c doc = xmlReadMemory((char *) base, info.st_size, base 2342 third_party/libxml/src/xmllint.c doc = xmlCtxtReadMemory(rectxt, (char *) base, info.st_size, base 2345 third_party/libxml/src/xmllint.c munmap((char *) base, info.st_size); base 131 third_party/libxml/src/xmlreader.c unsigned int base; /* base of the segment in the input */ base 559 third_party/libxml/src/xmlreader.c reader->base, reader->cur, reader->ctxt->nodeNr); base 2100 third_party/libxml/src/xmlreader.c ret->base = 0; base 2104 third_party/libxml/src/xmlreader.c ret->base = 0; base 5009 third_party/libxml/src/xmlreader.c reader->base = 0; base 5014 third_party/libxml/src/xmlreader.c reader->base = 0; base 5037 third_party/libxml/src/xmlreader.c inputStream->base = inputStream->buf->buffer->content; base 5171 third_party/libxml/src/xmlreader.c ret->base = 0; base 5370 third_party/libxml/src/xmlreader.c reader->base = 0; base 7867 third_party/libxml/src/xmlregexp.c const char *base; base 7872 third_party/libxml/src/xmlregexp.c base = ctxt->cur; base 7878 third_party/libxml/src/xmlregexp.c fprintf(stderr, "unbalanced '(' : %s\n", base); base 7890 third_party/libxml/src/xmlregexp.c val = xmlDictLookup(ctxt->dict, BAD_CAST base, ctxt->cur - base); base 207 third_party/libxml/src/xmlsave.c const unsigned char* base = in; base 307 third_party/libxml/src/xmlsave.c *inlen = in - base; base 311 third_party/libxml/src/xmlsave.c *inlen = in - base; base 1878 third_party/libxml/src/xmlsave.c xmlChar *base, *cur; base 1882 third_party/libxml/src/xmlsave.c base = cur = (xmlChar *) string; base 1885 third_party/libxml/src/xmlsave.c if (base != cur) base 1886 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf, base, cur - base); base 1889 third_party/libxml/src/xmlsave.c base = cur; base 1891 third_party/libxml/src/xmlsave.c if (base != cur) base 1892 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf, base, cur - base); base 1895 third_party/libxml/src/xmlsave.c base = cur; base 1897 third_party/libxml/src/xmlsave.c if (base != cur) base 1898 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf, base, cur - base); base 1901 third_party/libxml/src/xmlsave.c base = cur; base 1903 third_party/libxml/src/xmlsave.c if (base != cur) base 1904 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf, base, cur - base); base 1907 third_party/libxml/src/xmlsave.c base = cur; base 1909 third_party/libxml/src/xmlsave.c if (base != cur) base 1910 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf, base, cur - base); base 1913 third_party/libxml/src/xmlsave.c base = cur; base 1915 third_party/libxml/src/xmlsave.c if (base != cur) base 1916 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf, base, cur - base); base 1919 third_party/libxml/src/xmlsave.c base = cur; base 1921 third_party/libxml/src/xmlsave.c if (base != cur) base 1922 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf, base, cur - base); base 1925 third_party/libxml/src/xmlsave.c base = cur; base 1934 third_party/libxml/src/xmlsave.c if (base != cur) base 1935 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf, base, cur - base); base 1943 third_party/libxml/src/xmlsave.c base = cur; base 1975 third_party/libxml/src/xmlsave.c base = cur; base 1985 third_party/libxml/src/xmlsave.c base = cur; base 1990 third_party/libxml/src/xmlsave.c if (base != cur) base 1991 third_party/libxml/src/xmlsave.c xmlBufferAdd(buf, base, cur - base); base 4455 third_party/libxml/src/xmlschemas.c if (type->base != NULL) { base 4456 third_party/libxml/src/xmlschemas.c fprintf(output, " base type: '%s'", type->base); base 8885 third_party/libxml/src/xmlschemas.c type->base = cur; base 9050 third_party/libxml/src/xmlschemas.c node, "itemType", &(type->baseNs), &(type->base)); base 9066 third_party/libxml/src/xmlschemas.c if (type->base != NULL) { base 9076 third_party/libxml/src/xmlschemas.c } else if (type->base == NULL) { base 9088 third_party/libxml/src/xmlschemas.c if ((type->base == NULL) && base 10228 third_party/libxml/src/xmlschemas.c xmlChar *base, *URI; base 10231 third_party/libxml/src/xmlschemas.c base = xmlNodeGetBase(ctxtNode->doc, ctxtNode); base 10232 third_party/libxml/src/xmlschemas.c if (base == NULL) { base 10235 third_party/libxml/src/xmlschemas.c URI = xmlBuildURI(location, base); base 10236 third_party/libxml/src/xmlschemas.c xmlFree(base); base 10875 third_party/libxml/src/xmlschemas.c xmlChar *base = NULL; base 10882 third_party/libxml/src/xmlschemas.c base = xmlNodeGetBase(node->doc, node); base 10883 third_party/libxml/src/xmlschemas.c if (base == NULL) { base 10886 third_party/libxml/src/xmlschemas.c uri = xmlBuildURI(*schemaLocation, base); base 10887 third_party/libxml/src/xmlschemas.c xmlFree(base); base 11505 third_party/libxml/src/xmlschemas.c &(type->baseNs), &(type->base)) == 0) base 11507 third_party/libxml/src/xmlschemas.c if ((type->base == NULL) && (type->type == XML_SCHEMA_TYPE_COMPLEX)) { base 11514 third_party/libxml/src/xmlschemas.c if (type->base == NULL) { base 11518 third_party/libxml/src/xmlschemas.c } else if ((! xmlStrEqual(type->base, type->name)) || base 11533 third_party/libxml/src/xmlschemas.c xmlSchemaFormatQName(&str1, type->baseNs, type->base), base 11539 third_party/libxml/src/xmlschemas.c type->base = NULL; base 11561 third_party/libxml/src/xmlschemas.c if (type->base != NULL) { base 11577 third_party/libxml/src/xmlschemas.c } else if (type->base == NULL) { base 11799 third_party/libxml/src/xmlschemas.c "base", &(type->baseNs), &(type->base)) == 0) && base 11800 third_party/libxml/src/xmlschemas.c (type->base == NULL)) { base 12974 third_party/libxml/src/xmlschemas.c xmlAutomataStatePtr hop, base; base 12987 third_party/libxml/src/xmlschemas.c base = xmlAutomataNewState(pctxt->am); base 12991 third_party/libxml/src/xmlschemas.c pctxt->state = base; base 12998 third_party/libxml/src/xmlschemas.c xmlAutomataNewEpsilon(pctxt->am, start, base); base 12999 third_party/libxml/src/xmlschemas.c xmlAutomataNewCountedTrans(pctxt->am, hop, base, counter); base 13002 third_party/libxml/src/xmlschemas.c xmlAutomataNewEpsilon(pctxt->am, base, end); base 15003 third_party/libxml/src/xmlschemas.c typeDef->base, typeDef->baseNs); base 15008 third_party/libxml/src/xmlschemas.c "base", typeDef->base, typeDef->baseNs, base 15024 third_party/libxml/src/xmlschemas.c if ((typeDef->subtypes == NULL) && (typeDef->base != NULL)) { base 15027 third_party/libxml/src/xmlschemas.c typeDef->base, typeDef->baseNs); base 15036 third_party/libxml/src/xmlschemas.c "itemType", typeDef->base, typeDef->baseNs, base 16102 third_party/libxml/src/xmlschemas.c xmlSchemaTypePtr base = type->baseType; base 16111 third_party/libxml/src/xmlschemas.c if (WXS_IS_COMPLEX(base)) { base 16116 third_party/libxml/src/xmlschemas.c if (base->flags & XML_SCHEMAS_TYPE_FINAL_EXTENSION) { base 16143 third_party/libxml/src/xmlschemas.c if (base->attrUses != NULL) { base 16147 third_party/libxml/src/xmlschemas.c for (i = 0; i < (WXS_LIST_CAST base->attrUses)->nbItems; i ++) { base 16148 third_party/libxml/src/xmlschemas.c buse = (WXS_LIST_CAST base->attrUses)->items[i]; base 16197 third_party/libxml/src/xmlschemas.c if (base->attributeWildcard != NULL) { base 16206 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentDesignation(&str, base)); base 16210 third_party/libxml/src/xmlschemas.c base->attributeWildcard, type->attributeWildcard)) base 16219 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentDesignation(&str, base)); base 16228 third_party/libxml/src/xmlschemas.c (type->contentTypeDef == base->contentTypeDef)) { base 16236 third_party/libxml/src/xmlschemas.c (base->contentType == XML_SCHEMA_CONTENT_EMPTY) ) { base 16261 third_party/libxml/src/xmlschemas.c if (base->contentType == XML_SCHEMA_CONTENT_EMPTY) { base 16271 third_party/libxml/src/xmlschemas.c if ((type->contentType != base->contentType) || base 16307 third_party/libxml/src/xmlschemas.c if (type->contentTypeDef != base) { base 16318 third_party/libxml/src/xmlschemas.c if (base->flags & XML_SCHEMAS_TYPE_FINAL_EXTENSION) { base 16359 third_party/libxml/src/xmlschemas.c xmlSchemaTypePtr base; base 16365 third_party/libxml/src/xmlschemas.c base = type->baseType; base 16366 third_party/libxml/src/xmlschemas.c if (! WXS_IS_COMPLEX(base)) { base 16373 third_party/libxml/src/xmlschemas.c if (base->flags & XML_SCHEMAS_TYPE_FINAL_RESTRICTION) { base 16393 third_party/libxml/src/xmlschemas.c WXS_BASIC_CAST type, WXS_BASIC_CAST base, base 16394 third_party/libxml/src/xmlschemas.c type->attrUses, base->attrUses, base 16396 third_party/libxml/src/xmlschemas.c base->attributeWildcard) == -1) base 16403 third_party/libxml/src/xmlschemas.c if (base->builtInType == XML_SCHEMAS_ANYTYPE) { base 16417 third_party/libxml/src/xmlschemas.c if ((base->contentType == XML_SCHEMA_CONTENT_SIMPLE) || base 16418 third_party/libxml/src/xmlschemas.c (base->contentType == XML_SCHEMA_CONTENT_BASIC)) base 16432 third_party/libxml/src/xmlschemas.c type->contentTypeDef, base->contentTypeDef, 0); base 16446 third_party/libxml/src/xmlschemas.c base->contentTypeDef)); base 16451 third_party/libxml/src/xmlschemas.c } else if ((base->contentType == XML_SCHEMA_CONTENT_MIXED) && base 16453 third_party/libxml/src/xmlschemas.c (xmlSchemaParticlePtr) base->subtypes))) { base 16473 third_party/libxml/src/xmlschemas.c if (base->contentType == XML_SCHEMA_CONTENT_EMPTY) { base 16479 third_party/libxml/src/xmlschemas.c } else if (((base->contentType == XML_SCHEMA_CONTENT_ELEMENTS) || base 16480 third_party/libxml/src/xmlschemas.c (base->contentType == XML_SCHEMA_CONTENT_MIXED)) && base 16482 third_party/libxml/src/xmlschemas.c (xmlSchemaParticlePtr) base->subtypes)) { base 16504 third_party/libxml/src/xmlschemas.c if (WXS_HAS_MIXED_CONTENT(type) && (! WXS_HAS_MIXED_CONTENT(base))) { base 16579 third_party/libxml/src/xmlschemas.c xmlSchemaTypePtr base; base 16586 third_party/libxml/src/xmlschemas.c base = type->baseType; base 16593 third_party/libxml/src/xmlschemas.c if (! WXS_IS_COMPLEX(base)) { base 16600 third_party/libxml/src/xmlschemas.c xmlSchemaFormatQName(&str, base->targetNamespace, base 16601 third_party/libxml/src/xmlschemas.c base->name)); base 16613 third_party/libxml/src/xmlschemas.c if (WXS_IS_SIMPLE(base)) { base 16627 third_party/libxml/src/xmlschemas.c xmlSchemaFormatQName(&str, base->targetNamespace, base 16628 third_party/libxml/src/xmlschemas.c base->name)); base 16634 third_party/libxml/src/xmlschemas.c if ((base->contentType == XML_SCHEMA_CONTENT_SIMPLE) || base 16635 third_party/libxml/src/xmlschemas.c (base->contentType == XML_SCHEMA_CONTENT_BASIC)) { base 16641 third_party/libxml/src/xmlschemas.c if (base->contentTypeDef == NULL) { base 16649 third_party/libxml/src/xmlschemas.c } else if ((base->contentType == XML_SCHEMA_CONTENT_MIXED) && base 16658 third_party/libxml/src/xmlschemas.c (xmlSchemaParticlePtr) base->subtypes)) { base 16679 third_party/libxml/src/xmlschemas.c xmlSchemaFormatQName(&str, base->targetNamespace, base 16680 third_party/libxml/src/xmlschemas.c base->name)); base 16698 third_party/libxml/src/xmlschemas.c xmlSchemaFormatQName(&str, base->targetNamespace, base 16699 third_party/libxml/src/xmlschemas.c base->name)); base 16707 third_party/libxml/src/xmlschemas.c xmlSchemaFormatQName(&str, base->targetNamespace, base 16708 third_party/libxml/src/xmlschemas.c base->name)); base 17192 third_party/libxml/src/xmlschemas.c xmlSchemaTypePtr base = type->baseType; base 17229 third_party/libxml/src/xmlschemas.c if ((type->facetSet == NULL) && (base->facetSet == NULL)) base 17262 third_party/libxml/src/xmlschemas.c for (cur = base->facetSet; cur != NULL; cur = cur->next) { base 17655 third_party/libxml/src/xmlschemas.c for (cur = base->facetSet; cur != NULL; cur = cur->next) { base 18627 third_party/libxml/src/xmlschemas.c xmlSchemaTypePtr base; base 18648 third_party/libxml/src/xmlschemas.c base = typeDecl->baseType; base 18649 third_party/libxml/src/xmlschemas.c if (base == NULL) { base 18655 third_party/libxml/src/xmlschemas.c base = typeDecl; base 18673 third_party/libxml/src/xmlschemas.c ACTXT_CAST pctxt, facet->node, base, base 18699 third_party/libxml/src/xmlschemas.c base->targetNamespace, base->name)); base 2935 third_party/libxml/src/xmlschemastypes.c xmlChar *base; base 2977 third_party/libxml/src/xmlschemastypes.c base = (xmlChar *) cur; base 2979 third_party/libxml/src/xmlschemastypes.c if (*base >= 'a') base 2980 third_party/libxml/src/xmlschemastypes.c *base = *base - ('a' - 'A'); base 2981 third_party/libxml/src/xmlschemastypes.c base++; base 3007 third_party/libxml/src/xmlschemastypes.c xmlChar *base; base 3094 third_party/libxml/src/xmlschemastypes.c base = base 3097 third_party/libxml/src/xmlschemastypes.c if (base == NULL) { base 3102 third_party/libxml/src/xmlschemastypes.c v->value.base64.str = base; base 3105 third_party/libxml/src/xmlschemastypes.c *base = *cur; base 3106 third_party/libxml/src/xmlschemastypes.c ++base; base 3108 third_party/libxml/src/xmlschemastypes.c *base = 0; base 5505 third_party/libxml/src/xmlschemastypes.c xmlSchemaValidateFacet(xmlSchemaTypePtr base, base 5519 third_party/libxml/src/xmlschemastypes.c else if (base != NULL) base 5521 third_party/libxml/src/xmlschemastypes.c XML_SCHEMA_WHITESPACE_UNKNOWN, base->builtInType, value, val, base 346 third_party/libxml/src/xpath.c (const char *) ctxt->base, NULL, NULL, base 347 third_party/libxml/src/xpath.c ctxt->cur - ctxt->base, 0, base 359 third_party/libxml/src/xpath.c ctxt->context->lastError.str1 = (char *) xmlStrdup(ctxt->base); base 360 third_party/libxml/src/xpath.c ctxt->context->lastError.int1 = ctxt->cur - ctxt->base; base 370 third_party/libxml/src/xpath.c (const char *) ctxt->base, NULL, NULL, base 371 third_party/libxml/src/xpath.c ctxt->cur - ctxt->base, 0, base 6109 third_party/libxml/src/xpath.c ret->cur = ret->base = str; base 14834 third_party/libxml/src/xpath.c comp = xmlXPathTryStreamCompile(ctxt->context, ctxt->base); base 14850 third_party/libxml/src/xpath.c (ctxt->base != NULL) && base 14853 third_party/libxml/src/xpath.c (xmlXPathCanRewriteDosExpression((xmlChar *) ctxt->base) == 1)) base 105 third_party/libxml/src/xpointer.c ctxt->context->lastError.str1 = (char *) xmlStrdup(ctxt->base); base 106 third_party/libxml/src/xpointer.c ctxt->context->lastError.int1 = ctxt->cur - ctxt->base; base 115 third_party/libxml/src/xpointer.c (const char *) extra, (const char *) ctxt->base, NULL, base 116 third_party/libxml/src/xpointer.c ctxt->cur - ctxt->base, 0, base 606 third_party/libxslt/libexslt/math.c exsltMathPower (double base, double power) { base 609 third_party/libxslt/libexslt/math.c if ((xmlXPathIsNaN(base) || xmlXPathIsNaN(power))) base 611 third_party/libxslt/libexslt/math.c ret = pow(base, power); base 624 third_party/libxslt/libexslt/math.c double ret, base; base 635 third_party/libxslt/libexslt/math.c base = xmlXPathPopNumber(ctxt); base 639 third_party/libxslt/libexslt/math.c ret = exsltMathPower(base, ret); base 228 third_party/libxslt/libxslt/functions.c xmlChar *base = NULL, *URI; base 315 third_party/libxslt/libxslt/functions.c base = xmlNodeGetBase(target->doc, target); base 321 third_party/libxslt/libxslt/functions.c base = xmlNodeGetBase(tctxt->inst->doc, tctxt->inst); base 324 third_party/libxslt/libxslt/functions.c base = xmlNodeGetBase(tctxt->style->doc, base 328 third_party/libxslt/libxslt/functions.c URI = xmlBuildURI(obj->stringval, base); base 329 third_party/libxslt/libxslt/functions.c if (base != NULL) base 330 third_party/libxslt/libxslt/functions.c xmlFree(base); base 90 third_party/libxslt/libxslt/imports.c xmlChar *base = NULL; base 106 third_party/libxslt/libxslt/imports.c base = xmlNodeGetBase(style->doc, cur); base 107 third_party/libxslt/libxslt/imports.c URI = xmlBuildURI(uriRef, base); base 165 third_party/libxslt/libxslt/imports.c if (base != NULL) base 166 third_party/libxslt/libxslt/imports.c xmlFree(base); base 187 third_party/libxslt/libxslt/imports.c xmlChar *base = NULL; base 205 third_party/libxslt/libxslt/imports.c base = xmlNodeGetBase(style->doc, cur); base 206 third_party/libxslt/libxslt/imports.c URI = xmlBuildURI(uriRef, base); base 270 third_party/libxslt/libxslt/imports.c if (base != NULL) base 271 third_party/libxslt/libxslt/imports.c xmlFree(base); base 122 third_party/libxslt/libxslt/pattern.c const xmlChar *base; /* the full expression */ base 1889 third_party/libxslt/libxslt/pattern.c ctxt->base = xmlStrndup(&pattern[start], end - start); base 1890 third_party/libxslt/libxslt/pattern.c if (ctxt->base == NULL) base 1892 third_party/libxslt/libxslt/pattern.c ctxt->cur = &(ctxt->base)[current - start]; base 1893 third_party/libxslt/libxslt/pattern.c element->pattern = ctxt->base; base 2138 third_party/libxslt/libxslt/transform.c xsltReleaseLocalRVTs(xsltTransformContextPtr ctxt, xmlDocPtr base) base 2142 third_party/libxslt/libxslt/transform.c while ((cur != NULL) && (cur != base)) { base 6968 third_party/libxslt/libxslt/xslt.c xmlChar *URL, *base; base 6974 third_party/libxslt/libxslt/xslt.c base = xmlNodeGetBase(doc, (xmlNodePtr) doc); base 6975 third_party/libxslt/libxslt/xslt.c URL = xmlBuildURI(href, base); base 6990 third_party/libxslt/libxslt/xslt.c if (base != NULL) base 6991 third_party/libxslt/libxslt/xslt.c xmlFree(base); base 1442 third_party/libxslt/libxslt/xsltutils.c int base; base 1461 third_party/libxslt/libxslt/xsltutils.c base = buf->written; base 1584 third_party/libxslt/libxslt/xsltutils.c return(buf->written - base); base 1650 third_party/lzma_sdk/LzmaEnc.c UInt32 base = ((2 | (posSlot & 1)) << footerBits); base 1651 third_party/lzma_sdk/LzmaEnc.c tempPrices[i] = RcTree_ReverseGetPrice(p->posEncoders + base - posSlot - 1, footerBits, i - base, p->ProbPrices); base 1844 third_party/lzma_sdk/LzmaEnc.c UInt32 base = ((2 | (posSlot & 1)) << footerBits); base 1845 third_party/lzma_sdk/LzmaEnc.c UInt32 posReduced = pos - base; base 1848 third_party/lzma_sdk/LzmaEnc.c RcTree_ReverseEncode(&p->rc, p->posEncoders + base - posSlot - 1, footerBits, posReduced); base 291 third_party/mach_override/libudis86/decode.c if ((u->operand[0].type == UD_OP_REG && u->operand[0].base == UD_R_AX && base 292 third_party/mach_override/libudis86/decode.c u->operand[1].type == UD_OP_REG && u->operand[1].base == UD_R_AX) || base 293 third_party/mach_override/libudis86/decode.c (u->operand[0].type == UD_OP_REG && u->operand[0].base == UD_R_EAX && base 294 third_party/mach_override/libudis86/decode.c u->operand[1].type == UD_OP_REG && u->operand[1].base == UD_R_EAX)) { base 389 third_party/mach_override/libudis86/decode.c opr->base = reg; base 499 third_party/mach_override/libudis86/decode.c op->base = UD_R_RAX + rm; base 505 third_party/mach_override/libudis86/decode.c op->base = UD_R_RIP; base 518 third_party/mach_override/libudis86/decode.c op->base = UD_R_RAX + (SIB_B(inp_curr(u)) | (REX_B(u->pfx_rex) << 3)); base 526 third_party/mach_override/libudis86/decode.c if (op->base == UD_R_RBP || op->base == UD_R_R13) { base 528 third_party/mach_override/libudis86/decode.c op->base = UD_NONE; base 538 third_party/mach_override/libudis86/decode.c op->base = UD_R_EAX + rm; base 544 third_party/mach_override/libudis86/decode.c op->base = UD_NONE; base 556 third_party/mach_override/libudis86/decode.c op->base = UD_R_EAX + (SIB_B(inp_curr(u)) | (REX_B(u->pfx_rex) << 3)); base 564 third_party/mach_override/libudis86/decode.c if (op->base == UD_R_EBP) { base 566 third_party/mach_override/libudis86/decode.c op->base = UD_NONE; base 580 third_party/mach_override/libudis86/decode.c op->base = bases[rm & 7]; base 584 third_party/mach_override/libudis86/decode.c op->base = UD_NONE; base 727 third_party/mach_override/libudis86/decode.c operand->base = (type - OP_ES) + UD_R_ES; base 759 third_party/mach_override/libudis86/decode.c operand->base = (type - OP_ST0) + UD_R_ST0; base 60 third_party/mach_override/libudis86/syn-att.c ud_asmprintf(u, "%%%s", ud_reg_tab[op->base - UD_R_AL]); base 73 third_party/mach_override/libudis86/syn-att.c if (op->base) { base 74 third_party/mach_override/libudis86/syn-att.c ud_asmprintf(u, "(%%%s", ud_reg_tab[op->base - UD_R_AL]); base 77 third_party/mach_override/libudis86/syn-att.c if (op->base) { base 87 third_party/mach_override/libudis86/syn-att.c if (op->base || op->index) { base 61 third_party/mach_override/libudis86/syn-intel.c ud_asmprintf(u, "%s", ud_reg_tab[op->base - UD_R_AL]); base 72 third_party/mach_override/libudis86/syn-intel.c if (op->base) { base 73 third_party/mach_override/libudis86/syn-intel.c ud_asmprintf(u, "%s", ud_reg_tab[op->base - UD_R_AL]); base 76 third_party/mach_override/libudis86/syn-intel.c ud_asmprintf(u, "%s%s", op->base != UD_NONE? "+" : "", base 83 third_party/mach_override/libudis86/syn-intel.c ud_syn_print_mem_disp(u, op, (op->base != UD_NONE || base 176 third_party/mach_override/libudis86/syn-intel.c u->operand[1].base == UD_R_CL) { base 176 third_party/mach_override/libudis86/syn.c if (op->base == UD_NONE && op->index == UD_NONE) { base 151 third_party/mach_override/libudis86/types.h enum ud_type base; base 222 third_party/mach_override/libudis86/udis86.c opr->base >= UD_R_ES && base 223 third_party/mach_override/libudis86/udis86.c opr->base <= UD_R_GS; base 237 third_party/mach_override/libudis86/udis86.c opr->base >= UD_R_AL && base 238 third_party/mach_override/libudis86/udis86.c opr->base <= UD_R_R15; base 57 third_party/npapi/npspy/extern/nspr/plarena.h PRUword base; /* aligned base address, follows this header */ base 157 third_party/npapi/npspy/extern/nspr/plarena.h if (PR_UPTRDIFF(_m, _a->base) <= PR_UPTRDIFF(_a->avail, _a->base)) { \ base 196 third_party/npapi/npspy/extern/nspr/prerror.h PRErrorCode base; /* Error code for first error in table */ base 546 third_party/protobuf/src/google/protobuf/dynamic_message.cc void* base = operator new(size); base 547 third_party/protobuf/src/google/protobuf/dynamic_message.cc memset(base, 0, size); base 548 third_party/protobuf/src/google/protobuf/dynamic_message.cc DynamicMessage* prototype = new(base) DynamicMessage(type_info); base 843 third_party/protobuf/src/google/protobuf/io/tokenizer.cc int base = 10; base 847 third_party/protobuf/src/google/protobuf/io/tokenizer.cc base = 16; base 851 third_party/protobuf/src/google/protobuf/io/tokenizer.cc base = 8; base 858 third_party/protobuf/src/google/protobuf/io/tokenizer.cc GOOGLE_LOG_IF(DFATAL, digit < 0 || digit >= base) base 861 third_party/protobuf/src/google/protobuf/io/tokenizer.cc if (digit > max_value || result > (max_value - digit) / base) { base 865 third_party/protobuf/src/google/protobuf/io/tokenizer.cc result = result * base + digit; base 564 third_party/protobuf/src/google/protobuf/stubs/strutil.cc int32 strto32_adaptor(const char *nptr, char **endptr, int base) { base 567 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const long result = strtol(nptr, endptr, base); base 584 third_party/protobuf/src/google/protobuf/stubs/strutil.cc uint32 strtou32_adaptor(const char *nptr, char **endptr, int base) { base 587 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const unsigned long result = strtoul(nptr, endptr, base); base 297 third_party/protobuf/src/google/protobuf/stubs/strutil.h int base); base 299 third_party/protobuf/src/google/protobuf/stubs/strutil.h int base); base 301 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline int32 strto32(const char *nptr, char **endptr, int base) { base 303 third_party/protobuf/src/google/protobuf/stubs/strutil.h return strtol(nptr, endptr, base); base 305 third_party/protobuf/src/google/protobuf/stubs/strutil.h return strto32_adaptor(nptr, endptr, base); base 308 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline uint32 strtou32(const char *nptr, char **endptr, int base) { base 310 third_party/protobuf/src/google/protobuf/stubs/strutil.h return strtoul(nptr, endptr, base); base 312 third_party/protobuf/src/google/protobuf/stubs/strutil.h return strtou32_adaptor(nptr, endptr, base); base 317 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline int64 strto64(const char *nptr, char **endptr, int base) { base 320 third_party/protobuf/src/google/protobuf/stubs/strutil.h return strtoll(nptr, endptr, base); base 323 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline uint64 strtou64(const char *nptr, char **endptr, int base) { base 326 third_party/protobuf/src/google/protobuf/stubs/strutil.h return strtoull(nptr, endptr, base); base 84 third_party/re2/util/benchmark.cc int base = 1; base 86 third_party/re2/util/benchmark.cc while(base*10 < n) base 87 third_party/re2/util/benchmark.cc base *= 10; base 88 third_party/re2/util/benchmark.cc if(n < 2*base) base 89 third_party/re2/util/benchmark.cc return 2*base; base 90 third_party/re2/util/benchmark.cc if(n < 5*base) base 91 third_party/re2/util/benchmark.cc return 5*base; base 92 third_party/re2/util/benchmark.cc return 10*base; base 18575 third_party/sqlite/amalgamation/sqlite3.c etByte base; /* The base for radix conversion */ base 18925 third_party/sqlite/amalgamation/sqlite3.c register int base; base 18927 third_party/sqlite/amalgamation/sqlite3.c base = infop->base; base 18929 third_party/sqlite/amalgamation/sqlite3.c *(--bufpt) = cset[longvalue%base]; base 18930 third_party/sqlite/amalgamation/sqlite3.c longvalue = longvalue/base; base 95144 third_party/sqlite/amalgamation/sqlite3.c int base; base 95159 third_party/sqlite/amalgamation/sqlite3.c base = sqlite3VdbeAddOpList(v, ArraySize(dropTrigger), dropTrigger); base 95160 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeChangeP4(v, base+1, pTrigger->zName, P4_TRANSIENT); base 95161 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeChangeP4(v, base+4, "trigger", P4_STATIC); base 99078 third_party/sqlite/amalgamation/sqlite3.c int base, /* Cursor number for the table to be sorted */ base 99116 third_party/sqlite/amalgamation/sqlite3.c if( pExpr->op!=TK_COLUMN || pExpr->iTable!=base ){ base 99169 third_party/sqlite/amalgamation/sqlite3.c if( iColumn<0 && !referencesOtherTables(pOrderBy, pMaskSet, j, base) ){ base 99188 third_party/sqlite/amalgamation/sqlite3.c && !referencesOtherTables(pOrderBy, pMaskSet, j, base) ){ base 100878 third_party/sqlite/amalgamation/sqlite3.c static void codeApplyAffinity(Parse *pParse, int base, int n, char *zAff){ base 100891 third_party/sqlite/amalgamation/sqlite3.c base++; base 100900 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeAddOp2(v, OP_Affinity, base, n); base 100902 third_party/sqlite/amalgamation/sqlite3.c sqlite3ExprCacheAffinityChange(pParse, base, n); base 111762 third_party/sqlite/amalgamation/sqlite3.c sqlite3_vtab base; base 111830 third_party/sqlite/amalgamation/sqlite3.c sqlite3_vtab_cursor base; base 111877 third_party/sqlite/amalgamation/sqlite3.c pCursor->base.pVtab = pVTab; base 111941 third_party/sqlite/amalgamation/sqlite3.c Recover *pRecover = (Recover*)pCursor->base.pVtab; base 111970 third_party/sqlite/amalgamation/sqlite3.c Recover *pRecover = (Recover*)pCursor->base.pVtab; base 111999 third_party/sqlite/amalgamation/sqlite3.c Recover *pRecover = (Recover*)pCursor->base.pVtab; base 112338 third_party/sqlite/amalgamation/sqlite3.c pRecover->base.pModule = &recoverModule; base 113089 third_party/sqlite/amalgamation/sqlite3.c sqlite3_vtab base; /* Base class used by SQLite core */ base 113131 third_party/sqlite/amalgamation/sqlite3.c sqlite3_vtab_cursor base; /* Base class used by SQLite core */ base 114064 third_party/sqlite/amalgamation/sqlite3.c *ppVTab = &p->base; base 114178 third_party/sqlite/amalgamation/sqlite3.c assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 ); base 115262 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; base 115452 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; base 116132 third_party/sqlite/amalgamation/sqlite3.c p->base.zErrMsg = sqlite3_mprintf("malformed MATCH expression: [%s]", base 116488 third_party/sqlite/amalgamation/sqlite3.c p = (Fts3Table *)pCursor->base.pVtab; base 116780 third_party/sqlite/amalgamation/sqlite3.c sqlite3_vtab base; /* Base class used by SQLite core */ base 116785 third_party/sqlite/amalgamation/sqlite3.c sqlite3_vtab_cursor base; /* Base class used by SQLite core */ base 118579 third_party/sqlite/amalgamation/sqlite3.c sqlite3_tokenizer base; /* Base class */ base 118586 third_party/sqlite/amalgamation/sqlite3.c sqlite3_tokenizer_cursor base; base 118611 third_party/sqlite/amalgamation/sqlite3.c *ppTokenizer = &t->base; base 118654 third_party/sqlite/amalgamation/sqlite3.c *ppCursor = &c->base; base 119710 third_party/sqlite/amalgamation/sqlite3.c sqlite3_tokenizer base; base 119715 third_party/sqlite/amalgamation/sqlite3.c sqlite3_tokenizer_cursor base; base 119769 third_party/sqlite/amalgamation/sqlite3.c *ppTokenizer = &t->base; base 119812 third_party/sqlite/amalgamation/sqlite3.c *ppCursor = &c->base; base 120980 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *p = (Fts3Table*)pCsr->base.pVtab; base 122461 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; base 123292 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 123772 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 123872 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 123944 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 124085 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 124222 third_party/sqlite/amalgamation/sqlite3.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 124401 third_party/sqlite/amalgamation/sqlite3.c sqlite3_vtab base; base 124468 third_party/sqlite/amalgamation/sqlite3.c sqlite3_vtab_cursor base; base 125066 third_party/sqlite/amalgamation/sqlite3.c pCsr->base.pVtab = pVTab; base 127277 third_party/sqlite/amalgamation/sqlite3.c pRtree->base.pModule = &rtreeModule; base 128027 third_party/sqlite/amalgamation/sqlite3.c sqlite3_tokenizer base; base 128032 third_party/sqlite/amalgamation/sqlite3.c sqlite3_tokenizer_cursor base; base 1085 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_vtab base; /* Base class used by SQLite core */ base 1106 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_vtab_cursor base; /* Base class used by SQLite core */ base 1117 third_party/sqlite/src/ext/fts1/fts1.c return (fulltext_vtab *) c->base.pVtab; base 1994 third_party/sqlite/src/ext/fts1/fts1.c *ppVTab = &v->base; base 2147 third_party/sqlite/src/ext/fts1/fts1.c *ppCursor = &c->base; base 40 third_party/sqlite/src/ext/fts1/fts1_porter.c sqlite3_tokenizer base; /* Base class */ base 47 third_party/sqlite/src/ext/fts1/fts1_porter.c sqlite3_tokenizer_cursor base; base 72 third_party/sqlite/src/ext/fts1/fts1_porter.c *ppTokenizer = &t->base; base 113 third_party/sqlite/src/ext/fts1/fts1_porter.c *ppCursor = &c->base; base 29 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c sqlite3_tokenizer base; base 34 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c sqlite3_tokenizer_cursor base; base 87 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c *ppTokenizer = &t->base; base 128 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c *ppCursor = &c->base; base 563 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_vtab base; base 575 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_vtab_cursor base; base 587 third_party/sqlite/src/ext/fts1/fulltext.c return (fulltext_vtab *) c->base.pVtab; base 897 third_party/sqlite/src/ext/fts1/fulltext.c *ppVTab = &v->base; base 984 third_party/sqlite/src/ext/fts1/fulltext.c *ppCursor = &c->base; base 32 third_party/sqlite/src/ext/fts1/simple_tokenizer.c sqlite3_tokenizer base; base 37 third_party/sqlite/src/ext/fts1/simple_tokenizer.c sqlite3_tokenizer_cursor base; base 77 third_party/sqlite/src/ext/fts1/simple_tokenizer.c *ppTokenizer = &t->base; base 106 third_party/sqlite/src/ext/fts1/simple_tokenizer.c *ppCursor = &c->base; base 2020 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_vtab base; /* Base class used by SQLite core */ base 2064 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_vtab_cursor base; /* Base class used by SQLite core */ base 2076 third_party/sqlite/src/ext/fts2/fts2.c return (fulltext_vtab *) c->base.pVtab; base 3050 third_party/sqlite/src/ext/fts2/fts2.c *ppVTab = &v->base; base 3188 third_party/sqlite/src/ext/fts2/fts2.c *ppCursor = &c->base; base 33 third_party/sqlite/src/ext/fts2/fts2_icu.c sqlite3_tokenizer base; base 38 third_party/sqlite/src/ext/fts2/fts2_icu.c sqlite3_tokenizer_cursor base; base 39 third_party/sqlite/src/ext/fts2/fts2_porter.c sqlite3_tokenizer base; /* Base class */ base 46 third_party/sqlite/src/ext/fts2/fts2_porter.c sqlite3_tokenizer_cursor base; base 71 third_party/sqlite/src/ext/fts2/fts2_porter.c *ppTokenizer = &t->base; base 112 third_party/sqlite/src/ext/fts2/fts2_porter.c *ppCursor = &c->base; base 36 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c sqlite3_tokenizer base; base 41 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c sqlite3_tokenizer_cursor base; base 96 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c *ppTokenizer = &t->base; base 137 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c *ppCursor = &c->base; base 1014 third_party/sqlite/src/ext/fts3/fts3.c *ppVTab = &p->base; base 1128 third_party/sqlite/src/ext/fts3/fts3.c assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 ); base 2212 third_party/sqlite/src/ext/fts3/fts3.c Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; base 2402 third_party/sqlite/src/ext/fts3/fts3.c Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; base 3082 third_party/sqlite/src/ext/fts3/fts3.c p->base.zErrMsg = sqlite3_mprintf("malformed MATCH expression: [%s]", base 3438 third_party/sqlite/src/ext/fts3/fts3.c p = (Fts3Table *)pCursor->base.pVtab; base 120 third_party/sqlite/src/ext/fts3/fts3Int.h sqlite3_vtab base; /* Base class used by SQLite core */ base 162 third_party/sqlite/src/ext/fts3/fts3Int.h sqlite3_vtab_cursor base; /* Base class used by SQLite core */ base 25 third_party/sqlite/src/ext/fts3/fts3_aux.c sqlite3_vtab base; /* Base class used by SQLite core */ base 30 third_party/sqlite/src/ext/fts3/fts3_aux.c sqlite3_vtab_cursor base; /* Base class used by SQLite core */ base 33 third_party/sqlite/src/ext/fts3/fts3_icu.c sqlite3_tokenizer base; base 38 third_party/sqlite/src/ext/fts3/fts3_icu.c sqlite3_tokenizer_cursor base; base 40 third_party/sqlite/src/ext/fts3/fts3_porter.c sqlite3_tokenizer base; /* Base class */ base 47 third_party/sqlite/src/ext/fts3/fts3_porter.c sqlite3_tokenizer_cursor base; base 72 third_party/sqlite/src/ext/fts3/fts3_porter.c *ppTokenizer = &t->base; base 115 third_party/sqlite/src/ext/fts3/fts3_porter.c *ppCursor = &c->base; base 659 third_party/sqlite/src/ext/fts3/fts3_snippet.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 1139 third_party/sqlite/src/ext/fts3/fts3_snippet.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 1239 third_party/sqlite/src/ext/fts3/fts3_snippet.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 1311 third_party/sqlite/src/ext/fts3/fts3_snippet.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 1452 third_party/sqlite/src/ext/fts3/fts3_snippet.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 1589 third_party/sqlite/src/ext/fts3/fts3_snippet.c Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; base 37 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c sqlite3_tokenizer base; base 42 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c sqlite3_tokenizer_cursor base; base 96 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c *ppTokenizer = &t->base; base 139 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c *ppCursor = &c->base; base 1074 third_party/sqlite/src/ext/fts3/fts3_write.c Fts3Table *p = (Fts3Table*)pCsr->base.pVtab; base 2555 third_party/sqlite/src/ext/fts3/fts3_write.c Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; base 144 third_party/sqlite/src/ext/rtree/rtree.c sqlite3_vtab base; base 211 third_party/sqlite/src/ext/rtree/rtree.c sqlite3_vtab_cursor base; base 809 third_party/sqlite/src/ext/rtree/rtree.c pCsr->base.pVtab = pVTab; base 3020 third_party/sqlite/src/ext/rtree/rtree.c pRtree->base.pModule = &rtreeModule; base 92 third_party/sqlite/src/src/printf.c etByte base; /* The base for radix conversion */ base 442 third_party/sqlite/src/src/printf.c register int base; base 444 third_party/sqlite/src/src/printf.c base = infop->base; base 446 third_party/sqlite/src/src/printf.c *(--bufpt) = cset[longvalue%base]; base 447 third_party/sqlite/src/src/printf.c longvalue = longvalue/base; base 1516 third_party/sqlite/src/src/recover.c sqlite3_vtab base; base 1584 third_party/sqlite/src/src/recover.c sqlite3_vtab_cursor base; base 1631 third_party/sqlite/src/src/recover.c pCursor->base.pVtab = pVTab; base 1695 third_party/sqlite/src/src/recover.c Recover *pRecover = (Recover*)pCursor->base.pVtab; base 1724 third_party/sqlite/src/src/recover.c Recover *pRecover = (Recover*)pCursor->base.pVtab; base 1753 third_party/sqlite/src/src/recover.c Recover *pRecover = (Recover*)pCursor->base.pVtab; base 2092 third_party/sqlite/src/src/recover.c pRecover->base.pModule = &recoverModule; base 73 third_party/sqlite/src/src/test8.c sqlite3_vtab base; base 89 third_party/sqlite/src/src/test8.c sqlite3_vtab_cursor base; base 100 third_party/sqlite/src/src/test8.c p->base.zErrMsg = sqlite3_mprintf("echo-vtab-error: %s", zErr); base 452 third_party/sqlite/src/src/test8.c *ppVtab = &pVtab->base; base 150 third_party/sqlite/src/src/test_demovfs.c sqlite3_file base; /* Base class. Must be first. */ base 445 third_party/sqlite/src/src/test_demovfs.c p->base.pMethods = &demoio; base 34 third_party/sqlite/src/src/test_devsym.c sqlite3_file base; base 159 third_party/sqlite/src/src/test_fuzzer.c sqlite3_vtab base; /* Base class - must be first */ base 171 third_party/sqlite/src/src/test_fuzzer.c sqlite3_vtab_cursor base; /* Base class - must be first */ base 207 third_party/sqlite/src/src/test_fuzzer.c *ppVtab = &pNew->base; base 270 third_party/sqlite/src/src/test_fuzzer.c *ppCursor = &pCur->base; base 42 third_party/sqlite/src/src/test_intarray.c sqlite3_vtab base; /* Base class */ base 48 third_party/sqlite/src/src/test_intarray.c sqlite3_vtab_cursor base; /* Base class */ base 115 third_party/sqlite/src/src/test_journal.c sqlite3_file base; base 117 third_party/sqlite/src/src/test_multiplex.c sqlite3_file base; /* Base class - must be first */ base 363 third_party/sqlite/src/src/test_multiplex.c pMultiplexOpen->base.pMethods = &gMultiplex.sIoMethodsV1; base 365 third_party/sqlite/src/src/test_multiplex.c pMultiplexOpen->base.pMethods = &gMultiplex.sIoMethodsV2; base 111 third_party/sqlite/src/src/test_onefile.c sqlite3_file base; base 118 third_party/sqlite/src/src/test_onefile.c sqlite3_file base; base 178 third_party/sqlite/src/src/test_onefile.c sqlite3_vfs base; base 600 third_party/sqlite/src/src/test_onefile.c p->base.pMethods = &tmp_io_methods; base 605 third_party/sqlite/src/src/test_onefile.c p->base.pMethods = &fs_io_methods; base 823 third_party/sqlite/src/src/test_onefile.c fs_vfs.base.mxPathname = fs_vfs.pParent->mxPathname; base 824 third_party/sqlite/src/src/test_onefile.c fs_vfs.base.szOsFile = MAX(sizeof(tmp_file), sizeof(fs_file)); base 825 third_party/sqlite/src/src/test_onefile.c return sqlite3_vfs_register(&fs_vfs.base, 0); base 115 third_party/sqlite/src/src/test_osinst.c sqlite3_vfs base; /* VFS methods */ base 125 third_party/sqlite/src/src/test_osinst.c sqlite3_file base; /* IO methods */ base 726 third_party/sqlite/src/src/test_osinst.c memcpy(&p->base, &vfslog_vfs, sizeof(sqlite3_vfs)); base 727 third_party/sqlite/src/src/test_osinst.c p->base.zName = &((char *)p->pLog)[pParent->szOsFile]; base 728 third_party/sqlite/src/src/test_osinst.c p->base.szOsFile += pParent->szOsFile; base 729 third_party/sqlite/src/src/test_osinst.c memcpy((char *)p->base.zName, zVfs, nVfs); base 731 third_party/sqlite/src/src/test_osinst.c zFile = (char *)&p->base.zName[nVfs+1]; base 802 third_party/sqlite/src/src/test_osinst.c sqlite3_vtab base; /* Base class */ base 812 third_party/sqlite/src/src/test_osinst.c sqlite3_vtab_cursor base; /* Base class */ base 895 third_party/sqlite/src/src/test_osinst.c *ppVtab = &p->base; base 934 third_party/sqlite/src/src/test_osinst.c *ppCursor = &pCsr->base; base 108 third_party/sqlite/src/src/test_quota.c sqlite3_file base; /* Base class - must be first */ base 344 third_party/sqlite/src/src/test_quota.c pQuotaOpen->base.pMethods = &gQuota.sIoMethodsV1; base 346 third_party/sqlite/src/src/test_quota.c pQuotaOpen->base.pMethods = &gQuota.sIoMethodsV2; base 54 third_party/sqlite/src/src/test_schema.c sqlite3_vtab base; base 60 third_party/sqlite/src/src/test_schema.c sqlite3_vtab_cursor base; base 111 third_party/sqlite/src/src/test_stat.c sqlite3_vtab_cursor base; base 130 third_party/sqlite/src/src/test_stat.c sqlite3_vtab base; base 155 third_party/sqlite/src/src/test_stat.c *ppVtab = &pTab->base; base 205 third_party/sqlite/src/src/test_stat.c pCsr->base.pVtab = pVTab; base 33 third_party/sqlite/src/src/test_tclvar.c sqlite3_vtab base; base 39 third_party/sqlite/src/src/test_tclvar.c sqlite3_vtab_cursor base; base 60 third_party/sqlite/src/src/test_tclvar.c *ppVtab = &pVtab->base; base 80 third_party/sqlite/src/src/test_tclvar.c *ppCursor = &pCur->base; base 49 third_party/sqlite/src/src/test_thread.c Tcl_Event base; /* Base class of type Tcl_Event */ base 95 third_party/sqlite/src/src/test_thread.c pEvent->base.nextPtr = 0; base 96 third_party/sqlite/src/src/test_thread.c pEvent->base.proc = tclScriptEvent; base 242 third_party/sqlite/src/src/test_thread.c pEvent->base.nextPtr = 0; base 243 third_party/sqlite/src/src/test_thread.c pEvent->base.proc = tclScriptEvent; base 45 third_party/sqlite/src/src/test_vfs.c sqlite3_file base; /* Base class. Must be first */ base 38 third_party/sqlite/src/src/test_vfstrace.c sqlite3_file base; /* Base class. Must be first */ base 200 third_party/sqlite/src/src/test_vfstrace.c sqlite3_free((void*)p->base.pMethods); base 201 third_party/sqlite/src/src/test_vfstrace.c p->base.pMethods = 0; base 35 third_party/sqlite/src/src/test_wholenumber.c sqlite3_vtab_cursor base; /* Base class - must be first */ base 73 third_party/sqlite/src/src/test_wholenumber.c *ppCursor = &pCur->base; base 558 third_party/sqlite/src/src/trigger.c int base; base 573 third_party/sqlite/src/src/trigger.c base = sqlite3VdbeAddOpList(v, ArraySize(dropTrigger), dropTrigger); base 574 third_party/sqlite/src/src/trigger.c sqlite3VdbeChangeP4(v, base+1, pTrigger->zName, P4_TRANSIENT); base 575 third_party/sqlite/src/src/trigger.c sqlite3VdbeChangeP4(v, base+4, "trigger", P4_STATIC); base 1424 third_party/sqlite/src/src/where.c int base, /* Cursor number for the table to be sorted */ base 1462 third_party/sqlite/src/src/where.c if( pExpr->op!=TK_COLUMN || pExpr->iTable!=base ){ base 1515 third_party/sqlite/src/src/where.c if( iColumn<0 && !referencesOtherTables(pOrderBy, pMaskSet, j, base) ){ base 1534 third_party/sqlite/src/src/where.c && !referencesOtherTables(pOrderBy, pMaskSet, j, base) ){ base 3224 third_party/sqlite/src/src/where.c static void codeApplyAffinity(Parse *pParse, int base, int n, char *zAff){ base 3237 third_party/sqlite/src/src/where.c base++; base 3246 third_party/sqlite/src/src/where.c sqlite3VdbeAddOp2(v, OP_Affinity, base, n); base 3248 third_party/sqlite/src/src/where.c sqlite3ExprCacheAffinityChange(pParse, base, n); base 321 third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc base::ScopedCFTypeRef<CFDataRef> board_id_data; base 109 third_party/talloc/libreplace/inet_ntop.c struct { int base, len; } best, cur; base 121 third_party/talloc/libreplace/inet_ntop.c best.base = -1; base 123 third_party/talloc/libreplace/inet_ntop.c cur.base = -1; base 127 third_party/talloc/libreplace/inet_ntop.c if (cur.base == -1) base 128 third_party/talloc/libreplace/inet_ntop.c cur.base = i, cur.len = 1; base 132 third_party/talloc/libreplace/inet_ntop.c if (cur.base != -1) { base 133 third_party/talloc/libreplace/inet_ntop.c if (best.base == -1 || cur.len > best.len) base 135 third_party/talloc/libreplace/inet_ntop.c cur.base = -1; base 139 third_party/talloc/libreplace/inet_ntop.c if (cur.base != -1) { base 140 third_party/talloc/libreplace/inet_ntop.c if (best.base == -1 || cur.len > best.len) base 143 third_party/talloc/libreplace/inet_ntop.c if (best.base != -1 && best.len < 2) base 144 third_party/talloc/libreplace/inet_ntop.c best.base = -1; base 152 third_party/talloc/libreplace/inet_ntop.c if (best.base != -1 && i >= best.base && base 153 third_party/talloc/libreplace/inet_ntop.c i < (best.base + best.len)) { base 154 third_party/talloc/libreplace/inet_ntop.c if (i == best.base) base 162 third_party/talloc/libreplace/inet_ntop.c if (i == 6 && best.base == 0 && base 176 third_party/talloc/libreplace/inet_ntop.c if (best.base != -1 && (best.base + best.len) == base 506 third_party/talloc/libreplace/replace.c long long int rep_strtoll(const char *str, char **endptr, int base) base 509 third_party/talloc/libreplace/replace.c return strtoq(str, endptr, base); base 511 third_party/talloc/libreplace/replace.c return __strtoll(str, endptr, base); base 513 third_party/talloc/libreplace/replace.c return (long long int) strtol(str, endptr, base); base 522 third_party/talloc/libreplace/replace.c unsigned long long int rep_strtoull(const char *str, char **endptr, int base) base 525 third_party/talloc/libreplace/replace.c return strtouq(str, endptr, base); base 527 third_party/talloc/libreplace/replace.c return __strtoull(str, endptr, base); base 529 third_party/talloc/libreplace/replace.c return (unsigned long long int) strtoul(str, endptr, base); base 282 third_party/talloc/libreplace/replace.h long long int rep_strtoll(const char *str, char **endptr, int base); base 287 third_party/talloc/libreplace/replace.h unsigned long long int rep_strtoull(const char *str, char **endptr, int base); base 232 third_party/talloc/libreplace/snprintf.c LLONG value, int base, int min, int max, int flags); base 249 third_party/talloc/libreplace/snprintf.c const char *base; base 264 third_party/talloc/libreplace/snprintf.c base = format; base 289 third_party/talloc/libreplace/snprintf.c cnk->start = format - base -1; base 291 third_party/talloc/libreplace/snprintf.c cnk->len = format - base - cnk->start -1; base 673 third_party/talloc/libreplace/snprintf.c memcpy(&(buffer[currlen]), &(base[cnk->start]), len); base 798 third_party/talloc/libreplace/snprintf.c LLONG value, int base, int min, int max, int flags) base 830 third_party/talloc/libreplace/snprintf.c [uvalue % (unsigned)base ]; base 831 third_party/talloc/libreplace/snprintf.c uvalue = (uvalue / (unsigned)base ); base 477 third_party/talloc/libreplace/test/testsuite.c #define TEST_STRTO_X(type,fmt,func,str,base,res,diff,rrnoo) do {\ base 487 third_party/talloc/libreplace/test/testsuite.c _v = func(_s, &_p, base); \ base 495 third_party/talloc/libreplace/test/testsuite.c str, diff, base, res, _v, rrnoo, errno); \ base 503 third_party/talloc/libreplace/test/testsuite.c str, diff, base, res, _v); \ base 512 third_party/talloc/libreplace/test/testsuite.c str, diff, base, res, _v, _ep, _p, (int)(diff - (_ep - _p)), diff); \ base 521 third_party/talloc/libreplace/test/testsuite.c #define TEST_STRTOLL(str,base,res,diff,errnoo) TEST_STRTO_X(long long int, "%lld", strtoll,str,base,res,diff,errnoo) base 620 third_party/talloc/libreplace/test/testsuite.c #define TEST_STRTOULL(str,base,res,diff,errnoo) TEST_STRTO_X(long long unsigned int,"%llu",strtoull,str,base,res,diff,errnoo) base 46 third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-generic.h namespace base { base 55 third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-v6plus.h namespace base { base 46 third_party/tcmalloc/chromium/src/base/atomicops-internals-linuxppc.h namespace base { base 45 third_party/tcmalloc/chromium/src/base/atomicops-internals-macosx.h #define AtomicWordCastType base::subtle::Atomic64 base 56 third_party/tcmalloc/chromium/src/base/atomicops-internals-macosx.h namespace base { base 52 third_party/tcmalloc/chromium/src/base/atomicops-internals-windows.h namespace base { base 171 third_party/tcmalloc/chromium/src/base/atomicops-internals-windows.h base::subtle::NoBarrier_AtomicExchange(&value, 0); base 176 third_party/tcmalloc/chromium/src/base/atomicops-internals-windows.h namespace base { base 65 third_party/tcmalloc/chromium/src/base/atomicops-internals-x86.h namespace base { base 123 third_party/tcmalloc/chromium/src/base/atomicops.h namespace base { base 181 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_CompareAndSwap( base 189 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_CompareAndSwap( base 200 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_Store( base 205 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_Store( base 215 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_Load( base 220 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_Load( base 241 third_party/tcmalloc/chromium/src/base/atomicops.h namespace base { base 307 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_CompareAndSwap(ptr, old_value, new_value); base 313 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_CompareAndSwap(ptr, old_value, new_value); base 317 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_Store(ptr, value); base 321 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_Store(ptr, value); base 325 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_Load(ptr); base 329 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_Load(ptr); base 338 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_CompareAndSwap(ptr, old_value, new_value); base 343 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_CompareAndSwap(ptr, old_value, new_value); base 346 third_party/tcmalloc/chromium/src/base/atomicops.h base::subtle::Acquire_Store(ptr, value); base 349 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_Store(ptr, value); base 352 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_Load(ptr); base 355 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_Load(ptr); base 362 third_party/tcmalloc/chromium/src/base/atomicops.h inline base::subtle::Atomic64 Acquire_CompareAndSwap( base 363 third_party/tcmalloc/chromium/src/base/atomicops.h volatile base::subtle::Atomic64* ptr, base 364 third_party/tcmalloc/chromium/src/base/atomicops.h base::subtle::Atomic64 old_value, base::subtle::Atomic64 new_value) { base 365 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_CompareAndSwap(ptr, old_value, new_value); base 367 third_party/tcmalloc/chromium/src/base/atomicops.h inline base::subtle::Atomic64 Release_CompareAndSwap( base 368 third_party/tcmalloc/chromium/src/base/atomicops.h volatile base::subtle::Atomic64* ptr, base 369 third_party/tcmalloc/chromium/src/base/atomicops.h base::subtle::Atomic64 old_value, base::subtle::Atomic64 new_value) { base 370 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_CompareAndSwap(ptr, old_value, new_value); base 373 third_party/tcmalloc/chromium/src/base/atomicops.h volatile base::subtle::Atomic64* ptr, base::subtle::Atomic64 value) { base 374 third_party/tcmalloc/chromium/src/base/atomicops.h base::subtle::Acquire_Store(ptr, value); base 377 third_party/tcmalloc/chromium/src/base/atomicops.h volatile base::subtle::Atomic64* ptr, base::subtle::Atomic64 value) { base 378 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_Store(ptr, value); base 380 third_party/tcmalloc/chromium/src/base/atomicops.h inline base::subtle::Atomic64 Acquire_Load( base 381 third_party/tcmalloc/chromium/src/base/atomicops.h volatile const base::subtle::Atomic64* ptr) { base 382 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Acquire_Load(ptr); base 384 third_party/tcmalloc/chromium/src/base/atomicops.h inline base::subtle::Atomic64 Release_Load( base 385 third_party/tcmalloc/chromium/src/base/atomicops.h volatile const base::subtle::Atomic64* ptr) { base 386 third_party/tcmalloc/chromium/src/base/atomicops.h return base::subtle::Release_Load(ptr); base 353 third_party/tcmalloc/chromium/src/base/basictypes.h namespace base { base 113 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc ElfMemImage::ElfMemImage(const void *base) { base 114 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc CHECK(base != kInvalidBase); base 115 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc Init(base); base 181 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc void ElfMemImage::Init(const void *base) { base 191 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc if (!base) { base 194 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc const intptr_t base_as_uintptr_t = reinterpret_cast<uintptr_t>(base); base 197 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc base = reinterpret_cast<const void *>(base_as_uintptr_t & ~1); base 198 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc const char *const base_as_char = reinterpret_cast<const char *>(base); base 230 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc ehdr_ = reinterpret_cast<const ElfW(Ehdr) *>(base); base 52 third_party/tcmalloc/chromium/src/base/elf_mem_image.h namespace base { base 89 third_party/tcmalloc/chromium/src/base/elf_mem_image.h explicit ElfMemImage(const void *base); base 90 third_party/tcmalloc/chromium/src/base/elf_mem_image.h void Init(const void *base); base 93 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc static int IntLog2(size_t size, size_t base) { base 95 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc for (size_t i = size; i > base; i >>= 1) { // i == floor(size/2**result) base 123 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc static int LLA_SkiplistLevels(size_t size, size_t base, bool random) { base 128 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc int level = IntLog2(size, base) + (random? Random() : 1); base 54 third_party/tcmalloc/chromium/src/base/spinlock.cc const base::LinkerInitialized SpinLock::LINKER_INITIALIZED = base 55 third_party/tcmalloc/chromium/src/base/spinlock.cc base::LINKER_INITIALIZED; base 84 third_party/tcmalloc/chromium/src/base/spinlock.cc while (base::subtle::NoBarrier_Load(&lockword_) != kSpinLockFree && --c > 0) { base 88 third_party/tcmalloc/chromium/src/base/spinlock.cc base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree, base 111 third_party/tcmalloc/chromium/src/base/spinlock.cc lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_, base 123 third_party/tcmalloc/chromium/src/base/spinlock.cc lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_, base 131 third_party/tcmalloc/chromium/src/base/spinlock.cc base::internal::SpinLockDelay(&lockword_, lock_value, base 152 third_party/tcmalloc/chromium/src/base/spinlock.cc base::internal::SpinLockWake(&lockword_, false); // wake waiter if necessary base 168 third_party/tcmalloc/chromium/src/base/spinlock.cc base::SubmitSpinLockProfileData(this, base 65 third_party/tcmalloc/chromium/src/base/spinlock.h explicit SpinLock(base::LinkerInitialized /*x*/) { base 73 third_party/tcmalloc/chromium/src/base/spinlock.h if (base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree, base 86 third_party/tcmalloc/chromium/src/base/spinlock.h (base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree, base 99 third_party/tcmalloc/chromium/src/base/spinlock.h static_cast<uint64>(base::subtle::NoBarrier_Load(&lockword_)); base 101 third_party/tcmalloc/chromium/src/base/spinlock.h base::subtle::Release_Store(&lockword_, kSpinLockFree); base 114 third_party/tcmalloc/chromium/src/base/spinlock.h return base::subtle::NoBarrier_Load(&lockword_) != kSpinLockFree; base 117 third_party/tcmalloc/chromium/src/base/spinlock.h static const base::LinkerInitialized LINKER_INITIALIZED; // backwards compat base 65 third_party/tcmalloc/chromium/src/base/spinlock_internal.cc v = base::subtle::Acquire_Load(w); base 72 third_party/tcmalloc/chromium/src/base/spinlock_internal.cc base::subtle::Acquire_CompareAndSwap(w, v, trans[i].to) == v) { base 83 third_party/tcmalloc/chromium/src/base/spinlock_internal.cc static base::subtle::Atomic64 rand; base 84 third_party/tcmalloc/chromium/src/base/spinlock_internal.cc uint64 r = base::subtle::NoBarrier_Load(&rand); base 86 third_party/tcmalloc/chromium/src/base/spinlock_internal.cc base::subtle::NoBarrier_Store(&rand, r); base 42 third_party/tcmalloc/chromium/src/base/spinlock_internal.h namespace base { base 81 third_party/tcmalloc/chromium/src/base/spinlock_linux-inl.h namespace base { base 91 third_party/tcmalloc/chromium/src/base/spinlock_linux-inl.h tm.tv_nsec = base::internal::SuggestedDelayNS(loop); base 41 third_party/tcmalloc/chromium/src/base/spinlock_posix-inl.h namespace base { base 52 third_party/tcmalloc/chromium/src/base/spinlock_posix-inl.h tm.tv_nsec = base::internal::SuggestedDelayNS(loop); base 37 third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h namespace base { base 39 third_party/tcmalloc/chromium/src/base/synchronization_profiling.h namespace base { base 608 third_party/tcmalloc/chromium/src/base/sysinfo.cc static T StringToInteger(char *text, char **endptr, int base) { base 614 third_party/tcmalloc/chromium/src/base/sysinfo.cc int StringToInteger<int>(char *text, char **endptr, int base) { base 615 third_party/tcmalloc/chromium/src/base/sysinfo.cc return strtol(text, endptr, base); base 619 third_party/tcmalloc/chromium/src/base/sysinfo.cc int64 StringToInteger<int64>(char *text, char **endptr, int base) { base 620 third_party/tcmalloc/chromium/src/base/sysinfo.cc return strtoll(text, endptr, base); base 624 third_party/tcmalloc/chromium/src/base/sysinfo.cc uint64 StringToInteger<uint64>(char *text, char **endptr, int base) { base 625 third_party/tcmalloc/chromium/src/base/sysinfo.cc return strtoull(text, endptr, base); base 630 third_party/tcmalloc/chromium/src/base/sysinfo.cc char *text, int base, int c, char **endptr_result) { base 640 third_party/tcmalloc/chromium/src/base/sysinfo.cc result = StringToInteger<T>(text, &endptr_strto, base); base 668 third_party/tcmalloc/chromium/src/base/sysinfo.cc T *outptr, char *text, int base, int c, char **endptr) { base 669 third_party/tcmalloc/chromium/src/base/sysinfo.cc *outptr = StringToIntegerUntilChar<T>(*endptr, base, c, endptr); base 51 third_party/tcmalloc/chromium/src/base/vdso_support.cc using base::subtle::MemoryBarrier; base 121 third_party/tcmalloc/chromium/src/base/vdso_support.cc base::subtle::MemoryBarrier(); base 126 third_party/tcmalloc/chromium/src/base/vdso_support.cc const void *VDSOSupport::SetBase(const void *base) { base 127 third_party/tcmalloc/chromium/src/base/vdso_support.cc CHECK(base != ElfMemImage::kInvalidBase); base 129 third_party/tcmalloc/chromium/src/base/vdso_support.cc vdso_base_ = base; base 130 third_party/tcmalloc/chromium/src/base/vdso_support.cc image_.Init(base); base 68 third_party/tcmalloc/chromium/src/base/vdso_support.h namespace base { base 54 third_party/tcmalloc/chromium/src/central_freelist.h CentralFreeList() : lock_(base::LINKER_INITIALIZED) { } base 871 third_party/tcmalloc/chromium/src/debugallocation.cc unsigned long base = 0; base 876 third_party/tcmalloc/chromium/src/debugallocation.cc base = 10; base 880 third_party/tcmalloc/chromium/src/debugallocation.cc base = 10; base 884 third_party/tcmalloc/chromium/src/debugallocation.cc base = 10; base 888 third_party/tcmalloc/chromium/src/debugallocation.cc base = 10; base 891 third_party/tcmalloc/chromium/src/debugallocation.cc base = 10; base 894 third_party/tcmalloc/chromium/src/debugallocation.cc base = 16; base 902 third_party/tcmalloc/chromium/src/debugallocation.cc if (base != 0) { base 903 third_party/tcmalloc/chromium/src/debugallocation.cc bool minus = (l < 0 && base == 10); base 906 third_party/tcmalloc/chromium/src/debugallocation.cc *--s = "0123456789abcdef"[ul % base]; base 907 third_party/tcmalloc/chromium/src/debugallocation.cc ul /= base; base 909 third_party/tcmalloc/chromium/src/debugallocation.cc if (base == 16) { base 69 third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h namespace base { base 142 third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h typedef void (RangeFunction)(void*, const base::MallocRange*); base 382 third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h namespace base { base 1754 third_party/tcmalloc/chromium/src/heap-checker.cc HeapProfileTable::Snapshot* base = base 1759 third_party/tcmalloc/chromium/src/heap-checker.cc leaks = heap_profile->NonLiveSnapshot(base); base 1785 third_party/tcmalloc/chromium/src/heap-checker.cc heap_profile->NonLiveSnapshot(base); base 551 third_party/tcmalloc/chromium/src/heap-profile-table.cc if (arg->base != NULL && arg->base->map_.Find(ptr) != NULL) { base 626 third_party/tcmalloc/chromium/src/heap-profile-table.cc Snapshot* base) { base 634 third_party/tcmalloc/chromium/src/heap-profile-table.cc args.base = base; base 719 third_party/tcmalloc/chromium/src/heap-profile-table.cc base::RawPrinter printer(buffer, kBufSize); base 205 third_party/tcmalloc/chromium/src/heap-profile-table.h Snapshot* NonLiveSnapshot(Snapshot* base); base 433 third_party/tcmalloc/chromium/src/heap-profile-table.h Snapshot* base; base 52 third_party/tcmalloc/chromium/src/internal_logging.cc static SpinLock crash_lock(base::LINKER_INITIALIZED); base 70 third_party/tcmalloc/chromium/src/internal_logging.cc bool AddNum(uint64_t num, int base); // base must be 10 or 16. base 162 third_party/tcmalloc/chromium/src/internal_logging.cc bool Logger::AddNum(uint64_t num, int base) { base 169 third_party/tcmalloc/chromium/src/internal_logging.cc *pos = kDigits[num % base]; base 170 third_party/tcmalloc/chromium/src/internal_logging.cc num /= base; base 46 third_party/tcmalloc/chromium/src/malloc_hook-inl.h namespace base { namespace internal { base 69 third_party/tcmalloc/chromium/src/malloc_hook-inl.h base::subtle::Acquire_Load(&data_))); base 127 third_party/tcmalloc/chromium/src/malloc_hook-inl.h return base::subtle::Acquire_Load(&priv_end) == 0; base 156 third_party/tcmalloc/chromium/src/malloc_hook-inl.h return base::internal::new_hook_.Get(); base 160 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::new_hooks_.empty()) { base 171 third_party/tcmalloc/chromium/src/malloc_hook-inl.h return base::internal::delete_hook_.Get(); base 175 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::delete_hooks_.empty()) { base 186 third_party/tcmalloc/chromium/src/malloc_hook-inl.h return base::internal::premmap_hook_.Get(); base 195 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::premmap_hooks_.empty()) { base 208 third_party/tcmalloc/chromium/src/malloc_hook-inl.h return base::internal::mmap_hook_.Get(); base 218 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::mmap_hooks_.empty()) { base 237 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::mmap_replacement_.empty()) { base 248 third_party/tcmalloc/chromium/src/malloc_hook-inl.h return base::internal::munmap_hook_.Get(); base 252 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::munmap_hooks_.empty()) { base 263 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::mmap_replacement_.empty()) { base 271 third_party/tcmalloc/chromium/src/malloc_hook-inl.h return base::internal::mremap_hook_.Get(); base 280 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::mremap_hooks_.empty()) { base 293 third_party/tcmalloc/chromium/src/malloc_hook-inl.h return base::internal::presbrk_hook_.Get(); base 297 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::presbrk_hooks_.empty() && increment != 0) { base 308 third_party/tcmalloc/chromium/src/malloc_hook-inl.h return base::internal::sbrk_hook_.Get(); base 313 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (!base::internal::sbrk_hooks_.empty() && increment != 0) { base 163 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::MemoryBarrier(); // Release semantics. base 169 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::NoBarrier_AtomicExchange( base 172 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::MemoryBarrier(); // And acquire semantics. base 178 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::MemoryBarrier(); // Release semantics. base 180 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::NoBarrier_CompareAndSwap( base 184 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::MemoryBarrier(); // And acquire semantics. base 202 third_party/tcmalloc/chromium/src/malloc_hook.cc static SpinLock hooklist_spinlock(base::LINKER_INITIALIZED); base 214 third_party/tcmalloc/chromium/src/malloc_hook.cc (base::subtle::NoBarrier_Load(&priv_data[index]) != 0)) { base 220 third_party/tcmalloc/chromium/src/malloc_hook.cc AtomicWord prev_num_hooks = base::subtle::Acquire_Load(&priv_end); base 221 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::Release_Store(&priv_data[index], value); base 223 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::Release_Store(&priv_end, index + 1); base 234 third_party/tcmalloc/chromium/src/malloc_hook.cc AtomicWord hooks_end = base::subtle::Acquire_Load(&priv_end); base 237 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::Acquire_Load(&priv_data[index]))) { base 243 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::Release_Store(&priv_data[index], 0); base 248 third_party/tcmalloc/chromium/src/malloc_hook.cc (base::subtle::Acquire_Load(&priv_data[hooks_end - 1]) == 0)) { base 251 third_party/tcmalloc/chromium/src/malloc_hook.cc base::subtle::Release_Store(&priv_end, hooks_end); base 258 third_party/tcmalloc/chromium/src/malloc_hook.cc AtomicWord hooks_end = base::subtle::Acquire_Load(&priv_end); base 261 third_party/tcmalloc/chromium/src/malloc_hook.cc AtomicWord data = base::subtle::Acquire_Load(&priv_data[i]); base 302 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::new_hook_; base 303 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::delete_hook_; base 304 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::premmap_hook_; base 305 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::mmap_hook_; base 306 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::munmap_hook_; base 307 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::mremap_hook_; base 308 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::presbrk_hook_; base 309 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::sbrk_hook_; base 312 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::kHookListMaxValues; base 313 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::new_hooks_; base 314 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::delete_hooks_; base 315 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::premmap_hooks_; base 316 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::mmap_hooks_; base 317 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::mmap_replacement_; base 318 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::munmap_hooks_; base 319 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::munmap_replacement_; base 320 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::mremap_hooks_; base 321 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::presbrk_hooks_; base 322 third_party/tcmalloc/chromium/src/malloc_hook.cc using base::internal::sbrk_hooks_; base 427 third_party/tcmalloc/chromium/src/page_heap.cc bool PageHeap::GetNextRange(PageID start, base::MallocRange* r) { base 437 third_party/tcmalloc/chromium/src/page_heap.cc r->type = base::MallocRange::INUSE; base 446 third_party/tcmalloc/chromium/src/page_heap.cc r->type = base::MallocRange::FREE; base 449 third_party/tcmalloc/chromium/src/page_heap.cc r->type = base::MallocRange::UNMAPPED; base 452 third_party/tcmalloc/chromium/src/page_heap.cc r->type = base::MallocRange::UNKNOWN; base 67 third_party/tcmalloc/chromium/src/page_heap.h namespace base { base 149 third_party/tcmalloc/chromium/src/page_heap.h bool GetNextRange(PageID start, base::MallocRange* r); base 48 third_party/tcmalloc/chromium/src/raw_printer.h namespace base { base 159 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h base::VDSOSupport vdso; base 161 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h base::VDSOSupport::SymbolInfo rt_sigreturn_symbol_info; base 162 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h base::VDSOSupport::SymbolInfo vsyscall_symbol_info; base 569 third_party/tcmalloc/chromium/src/tcmalloc.cc static base::MallocRange ranges[kNumRanges]; base 63 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, 1)); base 68 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, 2)); base 73 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(6, base::subtle::NoBarrier_AtomicIncrement(&s.count, 3)); base 78 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, -3)); base 83 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -2)); base 88 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); base 93 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(-1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); base 98 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(-5, base::subtle::NoBarrier_AtomicIncrement(&s.count, -4)); base 103 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, 5)); base 116 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc AtomicType prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 1); base 125 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 5); base 130 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc prev = base::subtle::NoBarrier_CompareAndSwap(&value, k_test_val, 5); base 139 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc AtomicType new_value = base::subtle::NoBarrier_AtomicExchange(&value, 1); base 148 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc new_value = base::subtle::NoBarrier_AtomicExchange(&value, k_test_val); base 153 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc new_value = base::subtle::NoBarrier_AtomicExchange(&value, 5); base 165 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); base 169 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc base::subtle::NoBarrier_AtomicIncrement(&value, -1); base 182 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc base::subtle::NoBarrier_Store(&value, kVal1); base 184 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc base::subtle::NoBarrier_Store(&value, kVal2); base 187 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc base::subtle::Acquire_Store(&value, kVal1); base 189 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc base::subtle::Acquire_Store(&value, kVal2); base 192 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc base::subtle::Release_Store(&value, kVal1); base 194 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc base::subtle::Release_Store(&value, kVal2); base 208 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal1, base::subtle::NoBarrier_Load(&value)); base 210 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal2, base::subtle::NoBarrier_Load(&value)); base 213 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal1, base::subtle::Acquire_Load(&value)); base 215 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal2, base::subtle::Acquire_Load(&value)); base 218 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal1, base::subtle::Release_Load(&value)); base 220 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal2, base::subtle::Release_Load(&value)); base 251 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc TestAtomicIncrement<base::subtle::Atomic64>(); base 252 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc TestAtomicOps<base::subtle::Atomic64>(); base 93 third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc using base::internal::kHookListMaxValues; base 98 third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc typedef base::internal::HookList<MallocHook::NewHook> TestHookList; base 16 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); base 28 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); base 37 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); base 46 third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); base 243 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc const int base = random() % (max_log+1); base 244 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc return random() % (1 << base); base 798 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc base::MallocRange::Type expected_type; base 803 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc static void RangeCallback(void* arg, const base::MallocRange* r) { base 807 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc if (state->expected_type == base::MallocRange::FREE) { base 811 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CHECK(r->type == base::MallocRange::FREE || base 812 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc r->type == base::MallocRange::UNMAPPED); base 824 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc static void CheckRangeCallback(void* ptr, base::MallocRange::Type type, base 841 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CheckRangeCallback(a, base::MallocRange::INUSE, MB); base 842 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CheckRangeCallback(b, base::MallocRange::INUSE, MB); base 844 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CheckRangeCallback(a, base::MallocRange::FREE, MB); base 845 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CheckRangeCallback(b, base::MallocRange::INUSE, MB); base 847 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CheckRangeCallback(a, base::MallocRange::UNMAPPED, MB); base 848 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CheckRangeCallback(b, base::MallocRange::INUSE, MB); base 850 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CheckRangeCallback(a, base::MallocRange::UNMAPPED, MB); base 851 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CheckRangeCallback(b, base::MallocRange::FREE, MB); base 437 third_party/tcmalloc/chromium/src/windows/port.h inline long long int strtoll(const char *nptr, char **endptr, int base) { base 438 third_party/tcmalloc/chromium/src/windows/port.h return _strtoi64(nptr, endptr, base); base 441 third_party/tcmalloc/chromium/src/windows/port.h int base) { base 442 third_party/tcmalloc/chromium/src/windows/port.h return _strtoui64(nptr, endptr, base); base 444 third_party/tcmalloc/chromium/src/windows/port.h inline long long int strtoq(const char *nptr, char **endptr, int base) { base 445 third_party/tcmalloc/chromium/src/windows/port.h return _strtoi64(nptr, endptr, base); base 449 third_party/tcmalloc/chromium/src/windows/port.h int base) { base 450 third_party/tcmalloc/chromium/src/windows/port.h return _strtoui64(nptr, endptr, base); base 46 third_party/tcmalloc/vendor/src/base/atomicops-internals-arm-generic.h namespace base { base 54 third_party/tcmalloc/vendor/src/base/atomicops-internals-arm-v6plus.h namespace base { base 46 third_party/tcmalloc/vendor/src/base/atomicops-internals-linuxppc.h namespace base { base 45 third_party/tcmalloc/vendor/src/base/atomicops-internals-macosx.h #define AtomicWordCastType base::subtle::Atomic64 base 56 third_party/tcmalloc/vendor/src/base/atomicops-internals-macosx.h namespace base { base 51 third_party/tcmalloc/vendor/src/base/atomicops-internals-windows.h namespace base { base 162 third_party/tcmalloc/vendor/src/base/atomicops-internals-windows.h base::subtle::NoBarrier_AtomicExchange(&value, 0); base 167 third_party/tcmalloc/vendor/src/base/atomicops-internals-windows.h namespace base { base 65 third_party/tcmalloc/vendor/src/base/atomicops-internals-x86.h namespace base { base 123 third_party/tcmalloc/vendor/src/base/atomicops.h namespace base { base 181 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_CompareAndSwap( base 189 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_CompareAndSwap( base 200 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_Store( base 205 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_Store( base 215 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_Load( base 220 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_Load( base 241 third_party/tcmalloc/vendor/src/base/atomicops.h namespace base { base 307 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_CompareAndSwap(ptr, old_value, new_value); base 313 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_CompareAndSwap(ptr, old_value, new_value); base 317 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_Store(ptr, value); base 321 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_Store(ptr, value); base 325 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_Load(ptr); base 329 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_Load(ptr); base 338 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_CompareAndSwap(ptr, old_value, new_value); base 343 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_CompareAndSwap(ptr, old_value, new_value); base 346 third_party/tcmalloc/vendor/src/base/atomicops.h base::subtle::Acquire_Store(ptr, value); base 349 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_Store(ptr, value); base 352 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_Load(ptr); base 355 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_Load(ptr); base 362 third_party/tcmalloc/vendor/src/base/atomicops.h inline base::subtle::Atomic64 Acquire_CompareAndSwap( base 363 third_party/tcmalloc/vendor/src/base/atomicops.h volatile base::subtle::Atomic64* ptr, base 364 third_party/tcmalloc/vendor/src/base/atomicops.h base::subtle::Atomic64 old_value, base::subtle::Atomic64 new_value) { base 365 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_CompareAndSwap(ptr, old_value, new_value); base 367 third_party/tcmalloc/vendor/src/base/atomicops.h inline base::subtle::Atomic64 Release_CompareAndSwap( base 368 third_party/tcmalloc/vendor/src/base/atomicops.h volatile base::subtle::Atomic64* ptr, base 369 third_party/tcmalloc/vendor/src/base/atomicops.h base::subtle::Atomic64 old_value, base::subtle::Atomic64 new_value) { base 370 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_CompareAndSwap(ptr, old_value, new_value); base 373 third_party/tcmalloc/vendor/src/base/atomicops.h volatile base::subtle::Atomic64* ptr, base::subtle::Atomic64 value) { base 374 third_party/tcmalloc/vendor/src/base/atomicops.h base::subtle::Acquire_Store(ptr, value); base 377 third_party/tcmalloc/vendor/src/base/atomicops.h volatile base::subtle::Atomic64* ptr, base::subtle::Atomic64 value) { base 378 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_Store(ptr, value); base 380 third_party/tcmalloc/vendor/src/base/atomicops.h inline base::subtle::Atomic64 Acquire_Load( base 381 third_party/tcmalloc/vendor/src/base/atomicops.h volatile const base::subtle::Atomic64* ptr) { base 382 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Acquire_Load(ptr); base 384 third_party/tcmalloc/vendor/src/base/atomicops.h inline base::subtle::Atomic64 Release_Load( base 385 third_party/tcmalloc/vendor/src/base/atomicops.h volatile const base::subtle::Atomic64* ptr) { base 386 third_party/tcmalloc/vendor/src/base/atomicops.h return base::subtle::Release_Load(ptr); base 353 third_party/tcmalloc/vendor/src/base/basictypes.h namespace base { base 113 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc ElfMemImage::ElfMemImage(const void *base) { base 114 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc CHECK(base != kInvalidBase); base 115 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc Init(base); base 181 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc void ElfMemImage::Init(const void *base) { base 191 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc if (!base) { base 194 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc const intptr_t base_as_uintptr_t = reinterpret_cast<uintptr_t>(base); base 197 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc base = reinterpret_cast<const void *>(base_as_uintptr_t & ~1); base 198 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc const char *const base_as_char = reinterpret_cast<const char *>(base); base 230 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc ehdr_ = reinterpret_cast<const ElfW(Ehdr) *>(base); base 52 third_party/tcmalloc/vendor/src/base/elf_mem_image.h namespace base { base 89 third_party/tcmalloc/vendor/src/base/elf_mem_image.h explicit ElfMemImage(const void *base); base 90 third_party/tcmalloc/vendor/src/base/elf_mem_image.h void Init(const void *base); base 93 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc static int IntLog2(size_t size, size_t base) { base 95 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc for (size_t i = size; i > base; i >>= 1) { // i == floor(size/2**result) base 123 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc static int LLA_SkiplistLevels(size_t size, size_t base, bool random) { base 128 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc int level = IntLog2(size, base) + (random? Random() : 1); base 54 third_party/tcmalloc/vendor/src/base/spinlock.cc const base::LinkerInitialized SpinLock::LINKER_INITIALIZED = base 55 third_party/tcmalloc/vendor/src/base/spinlock.cc base::LINKER_INITIALIZED; base 84 third_party/tcmalloc/vendor/src/base/spinlock.cc while (base::subtle::NoBarrier_Load(&lockword_) != kSpinLockFree && --c > 0) { base 88 third_party/tcmalloc/vendor/src/base/spinlock.cc base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree, base 111 third_party/tcmalloc/vendor/src/base/spinlock.cc lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_, base 123 third_party/tcmalloc/vendor/src/base/spinlock.cc lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_, base 131 third_party/tcmalloc/vendor/src/base/spinlock.cc base::internal::SpinLockDelay(&lockword_, lock_value, base 152 third_party/tcmalloc/vendor/src/base/spinlock.cc base::internal::SpinLockWake(&lockword_, false); // wake waiter if necessary base 168 third_party/tcmalloc/vendor/src/base/spinlock.cc base::SubmitSpinLockProfileData(this, base 65 third_party/tcmalloc/vendor/src/base/spinlock.h explicit SpinLock(base::LinkerInitialized /*x*/) { base 73 third_party/tcmalloc/vendor/src/base/spinlock.h if (base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree, base 86 third_party/tcmalloc/vendor/src/base/spinlock.h (base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree, base 99 third_party/tcmalloc/vendor/src/base/spinlock.h static_cast<uint64>(base::subtle::NoBarrier_Load(&lockword_)); base 101 third_party/tcmalloc/vendor/src/base/spinlock.h base::subtle::Release_Store(&lockword_, kSpinLockFree); base 114 third_party/tcmalloc/vendor/src/base/spinlock.h return base::subtle::NoBarrier_Load(&lockword_) != kSpinLockFree; base 117 third_party/tcmalloc/vendor/src/base/spinlock.h static const base::LinkerInitialized LINKER_INITIALIZED; // backwards compat base 65 third_party/tcmalloc/vendor/src/base/spinlock_internal.cc v = base::subtle::Acquire_Load(w); base 72 third_party/tcmalloc/vendor/src/base/spinlock_internal.cc base::subtle::Acquire_CompareAndSwap(w, v, trans[i].to) == v) { base 83 third_party/tcmalloc/vendor/src/base/spinlock_internal.cc static base::subtle::Atomic64 rand; base 84 third_party/tcmalloc/vendor/src/base/spinlock_internal.cc uint64 r = base::subtle::NoBarrier_Load(&rand); base 86 third_party/tcmalloc/vendor/src/base/spinlock_internal.cc base::subtle::NoBarrier_Store(&rand, r); base 42 third_party/tcmalloc/vendor/src/base/spinlock_internal.h namespace base { base 70 third_party/tcmalloc/vendor/src/base/spinlock_linux-inl.h namespace base { base 79 third_party/tcmalloc/vendor/src/base/spinlock_linux-inl.h tm.tv_nsec = base::internal::SuggestedDelayNS(loop); base 41 third_party/tcmalloc/vendor/src/base/spinlock_posix-inl.h namespace base { base 52 third_party/tcmalloc/vendor/src/base/spinlock_posix-inl.h tm.tv_nsec = base::internal::SuggestedDelayNS(loop); base 37 third_party/tcmalloc/vendor/src/base/spinlock_win32-inl.h namespace base { base 45 third_party/tcmalloc/vendor/src/base/spinlock_win32-inl.h Sleep(base::internal::SuggestedDelayNS(loop) / 1000000); base 39 third_party/tcmalloc/vendor/src/base/synchronization_profiling.h namespace base { base 51 third_party/tcmalloc/vendor/src/base/vdso_support.cc using base::subtle::MemoryBarrier; base 121 third_party/tcmalloc/vendor/src/base/vdso_support.cc base::subtle::MemoryBarrier(); base 126 third_party/tcmalloc/vendor/src/base/vdso_support.cc const void *VDSOSupport::SetBase(const void *base) { base 127 third_party/tcmalloc/vendor/src/base/vdso_support.cc CHECK(base != ElfMemImage::kInvalidBase); base 129 third_party/tcmalloc/vendor/src/base/vdso_support.cc vdso_base_ = base; base 130 third_party/tcmalloc/vendor/src/base/vdso_support.cc image_.Init(base); base 68 third_party/tcmalloc/vendor/src/base/vdso_support.h namespace base { base 54 third_party/tcmalloc/vendor/src/central_freelist.h CentralFreeList() : lock_(base::LINKER_INITIALIZED) { } base 864 third_party/tcmalloc/vendor/src/debugallocation.cc unsigned long base = 0; base 869 third_party/tcmalloc/vendor/src/debugallocation.cc base = 10; base 873 third_party/tcmalloc/vendor/src/debugallocation.cc base = 10; base 877 third_party/tcmalloc/vendor/src/debugallocation.cc base = 10; base 881 third_party/tcmalloc/vendor/src/debugallocation.cc base = 10; base 884 third_party/tcmalloc/vendor/src/debugallocation.cc base = 10; base 887 third_party/tcmalloc/vendor/src/debugallocation.cc base = 16; base 895 third_party/tcmalloc/vendor/src/debugallocation.cc if (base != 0) { base 896 third_party/tcmalloc/vendor/src/debugallocation.cc bool minus = (l < 0 && base == 10); base 899 third_party/tcmalloc/vendor/src/debugallocation.cc *--s = "0123456789abcdef"[ul % base]; base 900 third_party/tcmalloc/vendor/src/debugallocation.cc ul /= base; base 902 third_party/tcmalloc/vendor/src/debugallocation.cc if (base == 16) { base 69 third_party/tcmalloc/vendor/src/gperftools/malloc_extension.h namespace base { base 142 third_party/tcmalloc/vendor/src/gperftools/malloc_extension.h typedef void (RangeFunction)(void*, const base::MallocRange*); base 395 third_party/tcmalloc/vendor/src/gperftools/malloc_extension.h namespace base { base 1754 third_party/tcmalloc/vendor/src/heap-checker.cc HeapProfileTable::Snapshot* base = base 1759 third_party/tcmalloc/vendor/src/heap-checker.cc leaks = heap_profile->NonLiveSnapshot(base); base 1785 third_party/tcmalloc/vendor/src/heap-checker.cc heap_profile->NonLiveSnapshot(base); base 495 third_party/tcmalloc/vendor/src/heap-profile-table.cc if (arg->base != NULL && arg->base->map_.Find(ptr) != NULL) { base 568 third_party/tcmalloc/vendor/src/heap-profile-table.cc Snapshot* base) { base 576 third_party/tcmalloc/vendor/src/heap-profile-table.cc args.base = base; base 661 third_party/tcmalloc/vendor/src/heap-profile-table.cc base::RawPrinter printer(buffer, kBufSize); base 188 third_party/tcmalloc/vendor/src/heap-profile-table.h Snapshot* NonLiveSnapshot(Snapshot* base); base 324 third_party/tcmalloc/vendor/src/heap-profile-table.h Snapshot* base; base 51 third_party/tcmalloc/vendor/src/internal_logging.cc static SpinLock crash_lock(base::LINKER_INITIALIZED); base 69 third_party/tcmalloc/vendor/src/internal_logging.cc bool AddNum(uint64_t num, int base); // base must be 10 or 16. base 161 third_party/tcmalloc/vendor/src/internal_logging.cc bool Logger::AddNum(uint64_t num, int base) { base 168 third_party/tcmalloc/vendor/src/internal_logging.cc *pos = kDigits[num % base]; base 169 third_party/tcmalloc/vendor/src/internal_logging.cc num /= base; base 46 third_party/tcmalloc/vendor/src/malloc_hook-inl.h namespace base { namespace internal { base 69 third_party/tcmalloc/vendor/src/malloc_hook-inl.h base::subtle::Acquire_Load(&data_))); base 127 third_party/tcmalloc/vendor/src/malloc_hook-inl.h return base::subtle::Acquire_Load(&priv_end) == 0; base 156 third_party/tcmalloc/vendor/src/malloc_hook-inl.h return base::internal::new_hook_.Get(); base 160 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::new_hooks_.empty()) { base 171 third_party/tcmalloc/vendor/src/malloc_hook-inl.h return base::internal::delete_hook_.Get(); base 175 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::delete_hooks_.empty()) { base 186 third_party/tcmalloc/vendor/src/malloc_hook-inl.h return base::internal::premmap_hook_.Get(); base 195 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::premmap_hooks_.empty()) { base 208 third_party/tcmalloc/vendor/src/malloc_hook-inl.h return base::internal::mmap_hook_.Get(); base 218 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::mmap_hooks_.empty()) { base 237 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::mmap_replacement_.empty()) { base 248 third_party/tcmalloc/vendor/src/malloc_hook-inl.h return base::internal::munmap_hook_.Get(); base 252 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::munmap_hooks_.empty()) { base 263 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::mmap_replacement_.empty()) { base 271 third_party/tcmalloc/vendor/src/malloc_hook-inl.h return base::internal::mremap_hook_.Get(); base 280 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::mremap_hooks_.empty()) { base 293 third_party/tcmalloc/vendor/src/malloc_hook-inl.h return base::internal::presbrk_hook_.Get(); base 297 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::presbrk_hooks_.empty() && increment != 0) { base 308 third_party/tcmalloc/vendor/src/malloc_hook-inl.h return base::internal::sbrk_hook_.Get(); base 313 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (!base::internal::sbrk_hooks_.empty() && increment != 0) { base 163 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::MemoryBarrier(); // Release semantics. base 169 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::NoBarrier_AtomicExchange( base 172 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::MemoryBarrier(); // And acquire semantics. base 178 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::MemoryBarrier(); // Release semantics. base 180 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::NoBarrier_CompareAndSwap( base 184 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::MemoryBarrier(); // And acquire semantics. base 202 third_party/tcmalloc/vendor/src/malloc_hook.cc static SpinLock hooklist_spinlock(base::LINKER_INITIALIZED); base 214 third_party/tcmalloc/vendor/src/malloc_hook.cc (base::subtle::NoBarrier_Load(&priv_data[index]) != 0)) { base 220 third_party/tcmalloc/vendor/src/malloc_hook.cc AtomicWord prev_num_hooks = base::subtle::Acquire_Load(&priv_end); base 221 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::Release_Store(&priv_data[index], value); base 223 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::Release_Store(&priv_end, index + 1); base 234 third_party/tcmalloc/vendor/src/malloc_hook.cc AtomicWord hooks_end = base::subtle::Acquire_Load(&priv_end); base 237 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::Acquire_Load(&priv_data[index]))) { base 243 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::Release_Store(&priv_data[index], 0); base 248 third_party/tcmalloc/vendor/src/malloc_hook.cc (base::subtle::Acquire_Load(&priv_data[hooks_end - 1]) == 0)) { base 251 third_party/tcmalloc/vendor/src/malloc_hook.cc base::subtle::Release_Store(&priv_end, hooks_end); base 258 third_party/tcmalloc/vendor/src/malloc_hook.cc AtomicWord hooks_end = base::subtle::Acquire_Load(&priv_end); base 261 third_party/tcmalloc/vendor/src/malloc_hook.cc AtomicWord data = base::subtle::Acquire_Load(&priv_data[i]); base 302 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::new_hook_; base 303 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::delete_hook_; base 304 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::premmap_hook_; base 305 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::mmap_hook_; base 306 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::munmap_hook_; base 307 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::mremap_hook_; base 308 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::presbrk_hook_; base 309 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::sbrk_hook_; base 312 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::kHookListMaxValues; base 313 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::new_hooks_; base 314 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::delete_hooks_; base 315 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::premmap_hooks_; base 316 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::mmap_hooks_; base 317 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::mmap_replacement_; base 318 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::munmap_hooks_; base 319 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::munmap_replacement_; base 320 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::mremap_hooks_; base 321 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::presbrk_hooks_; base 322 third_party/tcmalloc/vendor/src/malloc_hook.cc using base::internal::sbrk_hooks_; base 366 third_party/tcmalloc/vendor/src/page_heap.cc bool PageHeap::GetNextRange(PageID start, base::MallocRange* r) { base 376 third_party/tcmalloc/vendor/src/page_heap.cc r->type = base::MallocRange::INUSE; base 385 third_party/tcmalloc/vendor/src/page_heap.cc r->type = base::MallocRange::FREE; base 388 third_party/tcmalloc/vendor/src/page_heap.cc r->type = base::MallocRange::UNMAPPED; base 391 third_party/tcmalloc/vendor/src/page_heap.cc r->type = base::MallocRange::UNKNOWN; base 67 third_party/tcmalloc/vendor/src/page_heap.h namespace base { base 141 third_party/tcmalloc/vendor/src/page_heap.h bool GetNextRange(PageID start, base::MallocRange* r); base 48 third_party/tcmalloc/vendor/src/raw_printer.h namespace base { base 156 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h base::VDSOSupport vdso; base 158 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h base::VDSOSupport::SymbolInfo rt_sigreturn_symbol_info; base 159 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h base::VDSOSupport::SymbolInfo vsyscall_symbol_info; base 541 third_party/tcmalloc/vendor/src/tcmalloc.cc static base::MallocRange ranges[kNumRanges]; base 63 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, 1)); base 68 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, 2)); base 73 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(6, base::subtle::NoBarrier_AtomicIncrement(&s.count, 3)); base 78 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, -3)); base 83 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -2)); base 88 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); base 93 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(-1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); base 98 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(-5, base::subtle::NoBarrier_AtomicIncrement(&s.count, -4)); base 103 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, 5)); base 116 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc AtomicType prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 1); base 125 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 5); base 130 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc prev = base::subtle::NoBarrier_CompareAndSwap(&value, k_test_val, 5); base 139 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc AtomicType new_value = base::subtle::NoBarrier_AtomicExchange(&value, 1); base 148 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc new_value = base::subtle::NoBarrier_AtomicExchange(&value, k_test_val); base 153 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc new_value = base::subtle::NoBarrier_AtomicExchange(&value, 5); base 165 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); base 169 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc base::subtle::NoBarrier_AtomicIncrement(&value, -1); base 182 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc base::subtle::NoBarrier_Store(&value, kVal1); base 184 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc base::subtle::NoBarrier_Store(&value, kVal2); base 187 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc base::subtle::Acquire_Store(&value, kVal1); base 189 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc base::subtle::Acquire_Store(&value, kVal2); base 192 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc base::subtle::Release_Store(&value, kVal1); base 194 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc base::subtle::Release_Store(&value, kVal2); base 208 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal1, base::subtle::NoBarrier_Load(&value)); base 210 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal2, base::subtle::NoBarrier_Load(&value)); base 213 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal1, base::subtle::Acquire_Load(&value)); base 215 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal2, base::subtle::Acquire_Load(&value)); base 218 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal1, base::subtle::Release_Load(&value)); base 220 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(kVal2, base::subtle::Release_Load(&value)); base 251 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc TestAtomicIncrement<base::subtle::Atomic64>(); base 252 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc TestAtomicOps<base::subtle::Atomic64>(); base 93 third_party/tcmalloc/vendor/src/tests/malloc_hook_test.cc using base::internal::kHookListMaxValues; base 98 third_party/tcmalloc/vendor/src/tests/malloc_hook_test.cc typedef base::internal::HookList<MallocHook::NewHook> TestHookList; base 16 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); base 28 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); base 37 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); base 46 third_party/tcmalloc/vendor/src/tests/raw_printer_test.cc base::RawPrinter printer(buffer, arraysize(buffer)); base 243 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc const int base = random() % (max_log+1); base 244 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc return random() % (1 << base); base 798 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc base::MallocRange::Type expected_type; base 803 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc static void RangeCallback(void* arg, const base::MallocRange* r) { base 807 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc if (state->expected_type == base::MallocRange::FREE) { base 811 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CHECK(r->type == base::MallocRange::FREE || base 812 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc r->type == base::MallocRange::UNMAPPED); base 824 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc static void CheckRangeCallback(void* ptr, base::MallocRange::Type type, base 841 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CheckRangeCallback(a, base::MallocRange::INUSE, MB); base 842 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CheckRangeCallback(b, base::MallocRange::INUSE, MB); base 844 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CheckRangeCallback(a, base::MallocRange::FREE, MB); base 845 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CheckRangeCallback(b, base::MallocRange::INUSE, MB); base 847 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CheckRangeCallback(a, base::MallocRange::UNMAPPED, MB); base 848 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CheckRangeCallback(b, base::MallocRange::INUSE, MB); base 850 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CheckRangeCallback(a, base::MallocRange::UNMAPPED, MB); base 851 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CheckRangeCallback(b, base::MallocRange::FREE, MB); base 433 third_party/tcmalloc/vendor/src/windows/port.h inline long long int strtoll(const char *nptr, char **endptr, int base) { base 434 third_party/tcmalloc/vendor/src/windows/port.h return _strtoi64(nptr, endptr, base); base 437 third_party/tcmalloc/vendor/src/windows/port.h int base) { base 438 third_party/tcmalloc/vendor/src/windows/port.h return _strtoui64(nptr, endptr, base); base 440 third_party/tcmalloc/vendor/src/windows/port.h inline long long int strtoq(const char *nptr, char **endptr, int base) { base 441 third_party/tcmalloc/vendor/src/windows/port.h return _strtoi64(nptr, endptr, base); base 444 third_party/tcmalloc/vendor/src/windows/port.h int base) { base 445 third_party/tcmalloc/vendor/src/windows/port.h return _strtoui64(nptr, endptr, base); base 30 third_party/zlib/google/zip.cc zip_fileinfo TimeToZipFileInfo(const base::Time& file_time) { base 31 third_party/zlib/google/zip.cc base::Time::Exploded file_time_parts; base 53 third_party/zlib/google/zip.cc zip_fileinfo GetFileInfoForZipping(const base::FilePath& path) { base 54 third_party/zlib/google/zip.cc base::Time file_time; base 55 third_party/zlib/google/zip.cc base::File::Info file_info; base 56 third_party/zlib/google/zip.cc if (base::GetFileInfo(path, &file_info)) base 61 third_party/zlib/google/zip.cc bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { base 62 third_party/zlib/google/zip.cc base::File file(src_dir, base::File::FLAG_OPEN | base::File::FLAG_READ); base 84 third_party/zlib/google/zip.cc bool AddEntryToZip(zipFile zip_file, const base::FilePath& path, base 85 third_party/zlib/google/zip.cc const base::FilePath& root_path) { base 86 third_party/zlib/google/zip.cc base::FilePath relative_path; base 94 third_party/zlib/google/zip.cc bool is_directory = base::DirectoryExists(path); base 140 third_party/zlib/google/zip.cc bool ExcludeNoFilesFilter(const base::FilePath& file_path) { base 144 third_party/zlib/google/zip.cc bool ExcludeHiddenFilesFilter(const base::FilePath& file_path) { base 152 third_party/zlib/google/zip.cc bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { base 181 third_party/zlib/google/zip.cc bool ZipWithFilterCallback(const base::FilePath& src_dir, base 182 third_party/zlib/google/zip.cc const base::FilePath& dest_file, base 184 third_party/zlib/google/zip.cc DCHECK(base::DirectoryExists(src_dir)); base 195 third_party/zlib/google/zip.cc base::FileEnumerator file_enumerator(src_dir, true /* recursive */, base 196 third_party/zlib/google/zip.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); base 197 third_party/zlib/google/zip.cc for (base::FilePath path = file_enumerator.Next(); !path.value().empty(); base 217 third_party/zlib/google/zip.cc bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, base 221 third_party/zlib/google/zip.cc src_dir, dest_file, base::Bind(&ExcludeNoFilesFilter)); base 224 third_party/zlib/google/zip.cc src_dir, dest_file, base::Bind(&ExcludeHiddenFilesFilter)); base 229 third_party/zlib/google/zip.cc bool ZipFiles(const base::FilePath& src_dir, base 230 third_party/zlib/google/zip.cc const std::vector<base::FilePath>& src_relative_paths, base 232 third_party/zlib/google/zip.cc DCHECK(base::DirectoryExists(src_dir)); base 241 third_party/zlib/google/zip.cc for (std::vector<base::FilePath>::const_iterator iter = base 244 third_party/zlib/google/zip.cc const base::FilePath& path = src_dir.Append(*iter); base 18 third_party/zlib/google/zip.h typedef base::Callback<bool(const base::FilePath&)> FilterCallback; base 19 third_party/zlib/google/zip.h bool ZipWithFilterCallback(const base::FilePath& src_dir, base 20 third_party/zlib/google/zip.h const base::FilePath& dest_file, base 26 third_party/zlib/google/zip.h bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, base 34 third_party/zlib/google/zip.h bool ZipFiles(const base::FilePath& src_dir, base 35 third_party/zlib/google/zip.h const std::vector<base::FilePath>& src_relative_paths, base 40 third_party/zlib/google/zip.h bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir); base 57 third_party/zlib/google/zip_internal.cc base::string16 filename16 = base::UTF8ToUTF16(filename); base 31 third_party/zlib/google/zip_reader.cc : file_path_(base::FilePath::FromUTF8Unsafe(file_name_in_zip)), base 42 third_party/zlib/google/zip_reader.cc base::string16 file_name_utf16; base 43 third_party/zlib/google/zip_reader.cc if (!base::UTF8ToUTF16(file_name_in_zip.data(), file_name_in_zip.size(), base 55 third_party/zlib/google/zip_reader.cc base::Time::Exploded exploded_time = {}; // Zero-clear. base 65 third_party/zlib/google/zip_reader.cc last_modified_ = base::Time::FromLocalExploded(exploded_time); base 68 third_party/zlib/google/zip_reader.cc last_modified_ = base::Time::UnixEpoch(); base 81 third_party/zlib/google/zip_reader.cc bool ZipReader::Open(const base::FilePath& zip_file_path) { base 94 third_party/zlib/google/zip_reader.cc bool ZipReader::OpenFromPlatformFile(base::PlatformFile zip_fd) { base 174 third_party/zlib/google/zip_reader.cc bool ZipReader::LocateAndOpenEntry(const base::FilePath& path_in_zip) { base 191 third_party/zlib/google/zip_reader.cc const base::FilePath& output_file_path) { base 196 third_party/zlib/google/zip_reader.cc return base::CreateDirectory(output_file_path); base 204 third_party/zlib/google/zip_reader.cc base::FilePath output_dir_path = output_file_path.DirName(); base 205 third_party/zlib/google/zip_reader.cc if (!base::CreateDirectory(output_dir_path)) base 208 third_party/zlib/google/zip_reader.cc base::File file(output_file_path, base 209 third_party/zlib/google/zip_reader.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); base 237 third_party/zlib/google/zip_reader.cc if (current_entry_info()->last_modified() != base::Time::UnixEpoch()) base 238 third_party/zlib/google/zip_reader.cc base::TouchFile(output_file_path, base 239 third_party/zlib/google/zip_reader.cc base::Time::Now(), base 246 third_party/zlib/google/zip_reader.cc const base::FilePath& output_file_path, base 255 third_party/zlib/google/zip_reader.cc if (base::CreateDirectory(output_file_path)) { base 256 third_party/zlib/google/zip_reader.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, success_callback); base 259 third_party/zlib/google/zip_reader.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, failure_callback); base 266 third_party/zlib/google/zip_reader.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, failure_callback); base 270 third_party/zlib/google/zip_reader.cc base::FilePath output_dir_path = output_file_path.DirName(); base 271 third_party/zlib/google/zip_reader.cc if (!base::CreateDirectory(output_dir_path)) { base 273 third_party/zlib/google/zip_reader.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, failure_callback); base 277 third_party/zlib/google/zip_reader.cc const int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; base 278 third_party/zlib/google/zip_reader.cc base::File output_file(output_file_path, flags); base 283 third_party/zlib/google/zip_reader.cc base::MessageLoopProxy::current()->PostTask(FROM_HERE, failure_callback); base 287 third_party/zlib/google/zip_reader.cc base::MessageLoop::current()->PostTask( base 289 third_party/zlib/google/zip_reader.cc base::Bind(&ZipReader::ExtractChunk, base 299 third_party/zlib/google/zip_reader.cc const base::FilePath& output_directory_path) { base 302 third_party/zlib/google/zip_reader.cc base::FilePath output_file_path = output_directory_path.Append( base 335 third_party/zlib/google/zip_reader.cc base::WriteFileDescriptor(fd, buf, num_bytes_read)) { base 370 third_party/zlib/google/zip_reader.cc void ZipReader::ExtractChunk(base::File output_file, base 399 third_party/zlib/google/zip_reader.cc base::MessageLoop::current()->PostTask( base 401 third_party/zlib/google/zip_reader.cc base::Bind(&ZipReader::ExtractChunk, base 47 third_party/zlib/google/zip_reader.h typedef base::Closure SuccessCallback; base 49 third_party/zlib/google/zip_reader.h typedef base::Closure FailureCallback; base 52 third_party/zlib/google/zip_reader.h typedef base::Callback<void(int64)> ProgressCallback; base 63 third_party/zlib/google/zip_reader.h const base::FilePath& file_path() const { return file_path_; } base 78 third_party/zlib/google/zip_reader.h base::Time last_modified() const { return last_modified_; } base 88 third_party/zlib/google/zip_reader.h const base::FilePath file_path_; base 90 third_party/zlib/google/zip_reader.h base::Time last_modified_; base 101 third_party/zlib/google/zip_reader.h bool Open(const base::FilePath& zip_file_path); base 105 third_party/zlib/google/zip_reader.h bool OpenFromPlatformFile(base::PlatformFile zip_fd); base 140 third_party/zlib/google/zip_reader.h bool LocateAndOpenEntry(const base::FilePath& path_in_zip); base 149 third_party/zlib/google/zip_reader.h bool ExtractCurrentEntryToFilePath(const base::FilePath& output_file_path); base 158 third_party/zlib/google/zip_reader.h const base::FilePath& output_file_path, base 175 third_party/zlib/google/zip_reader.h const base::FilePath& output_directory_path); base 202 third_party/zlib/google/zip_reader.h void ExtractChunk(base::File target_file, base 213 third_party/zlib/google/zip_reader.h base::WeakPtrFactory<ZipReader> weak_ptr_factory_; base 35 third_party/zlib/google/zip_reader_unittest.cc FileWrapper(const base::FilePath& path, AccessMode mode) { base 36 third_party/zlib/google/zip_reader_unittest.cc int flags = base::File::FLAG_READ; base 38 third_party/zlib/google/zip_reader_unittest.cc flags |= base::File::FLAG_OPEN; base 40 third_party/zlib/google/zip_reader_unittest.cc flags |= base::File::FLAG_WRITE | base::File::FLAG_CREATE_ALWAYS; base 47 third_party/zlib/google/zip_reader_unittest.cc base::PlatformFile platform_file() { return file_.GetPlatformFile(); } base 50 third_party/zlib/google/zip_reader_unittest.cc base::File file_; base 56 third_party/zlib/google/zip_reader_unittest.cc class MockUnzipListener : public base::SupportsWeakPtr<MockUnzipListener> { base 117 third_party/zlib/google/zip_reader_unittest.cc test_zip_contents_.insert(base::FilePath(FILE_PATH_LITERAL("foo/"))); base 118 third_party/zlib/google/zip_reader_unittest.cc test_zip_contents_.insert(base::FilePath(FILE_PATH_LITERAL("foo/bar/"))); base 120 third_party/zlib/google/zip_reader_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo/bar/baz.txt"))); base 122 third_party/zlib/google/zip_reader_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo/bar/quux.txt"))); base 124 third_party/zlib/google/zip_reader_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo/bar.txt"))); base 125 third_party/zlib/google/zip_reader_unittest.cc test_zip_contents_.insert(base::FilePath(FILE_PATH_LITERAL("foo.txt"))); base 127 third_party/zlib/google/zip_reader_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo/bar/.hidden"))); base 134 third_party/zlib/google/zip_reader_unittest.cc bool GetTestDataDirectory(base::FilePath* path) { base 135 third_party/zlib/google/zip_reader_unittest.cc bool success = PathService::Get(base::DIR_SOURCE_ROOT, path); base 147 third_party/zlib/google/zip_reader_unittest.cc bool CompareFileAndMD5(const base::FilePath& path, base 151 third_party/zlib/google/zip_reader_unittest.cc if (!base::ReadFileToString(path, &output)) base 153 third_party/zlib/google/zip_reader_unittest.cc const std::string md5 = base::MD5String(output); base 158 third_party/zlib/google/zip_reader_unittest.cc base::FilePath test_dir_; base 160 third_party/zlib/google/zip_reader_unittest.cc base::FilePath test_data_dir_; base 162 third_party/zlib/google/zip_reader_unittest.cc base::FilePath test_zip_file_; base 164 third_party/zlib/google/zip_reader_unittest.cc base::FilePath evil_zip_file_; base 166 third_party/zlib/google/zip_reader_unittest.cc base::FilePath evil_via_invalid_utf8_zip_file_; base 168 third_party/zlib/google/zip_reader_unittest.cc base::FilePath evil_via_absolute_file_name_zip_file_; base 169 third_party/zlib/google/zip_reader_unittest.cc std::set<base::FilePath> test_zip_contents_; base 171 third_party/zlib/google/zip_reader_unittest.cc base::ScopedTempDir temp_dir_; base 173 third_party/zlib/google/zip_reader_unittest.cc base::MessageLoop message_loop_; base 200 third_party/zlib/google/zip_reader_unittest.cc std::set<base::FilePath> actual_contents; base 218 third_party/zlib/google/zip_reader_unittest.cc std::set<base::FilePath> actual_contents; base 235 third_party/zlib/google/zip_reader_unittest.cc std::set<base::FilePath> actual_contents; base 238 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt")); base 244 third_party/zlib/google/zip_reader_unittest.cc std::set<base::FilePath> actual_contents; base 247 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("nonexistent.txt")); base 255 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt")); base 261 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), base 263 third_party/zlib/google/zip_reader_unittest.cc const std::string md5 = base::MD5String(output); base 274 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt")); base 280 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), base 282 third_party/zlib/google/zip_reader_unittest.cc const std::string md5 = base::MD5String(output); base 294 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt")); base 295 third_party/zlib/google/zip_reader_unittest.cc base::FilePath out_path = test_dir_.AppendASCII("quux.txt"); base 301 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), base 303 third_party/zlib/google/zip_reader_unittest.cc const std::string md5 = base::MD5String(output); base 314 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/")); base 319 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::DirectoryExists(test_dir_.AppendASCII("foo"))); base 325 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt")); base 329 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::DirectoryExists(test_dir_.AppendASCII("foo/bar"))); base 332 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 334 third_party/zlib/google/zip_reader_unittest.cc const std::string md5 = base::MD5String(output); base 341 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt")); base 349 third_party/zlib/google/zip_reader_unittest.cc base::Time::Exploded exploded = {}; // Zero-clear. base 366 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL( base 395 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("/evil.txt")); base 408 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/")); base 412 third_party/zlib/google/zip_reader_unittest.cc EXPECT_EQ(base::FilePath(FILE_PATH_LITERAL("foo/bar/")), base 418 third_party/zlib/google/zip_reader_unittest.cc base::Time::Exploded exploded = {}; // Zero-clear. base 455 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("test.txt")); base 461 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::ReadFileToString( base 471 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_file = test_dir_.AppendASCII("quux.txt"); base 472 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt")); base 477 third_party/zlib/google/zip_reader_unittest.cc base::Bind(&MockUnzipListener::OnUnzipSuccess, base 479 third_party/zlib/google/zip_reader_unittest.cc base::Bind(&MockUnzipListener::OnUnzipFailure, base 481 third_party/zlib/google/zip_reader_unittest.cc base::Bind(&MockUnzipListener::OnUnzipProgress, base 488 third_party/zlib/google/zip_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 495 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), base 497 third_party/zlib/google/zip_reader_unittest.cc const std::string md5 = base::MD5String(output); base 501 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::GetFileSize(target_file, &file_size)); base 511 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_file = test_dir_.AppendASCII("foo"); base 512 third_party/zlib/google/zip_reader_unittest.cc base::FilePath target_path(FILE_PATH_LITERAL("foo/")); base 517 third_party/zlib/google/zip_reader_unittest.cc base::Bind(&MockUnzipListener::OnUnzipSuccess, base 519 third_party/zlib/google/zip_reader_unittest.cc base::Bind(&MockUnzipListener::OnUnzipFailure, base 521 third_party/zlib/google/zip_reader_unittest.cc base::Bind(&MockUnzipListener::OnUnzipProgress, base 528 third_party/zlib/google/zip_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 534 third_party/zlib/google/zip_reader_unittest.cc ASSERT_TRUE(base::DirectoryExists(target_file)); base 37 third_party/zlib/google/zip_unittest.cc base::FilePath zip_path(test_dir_); base 49 third_party/zlib/google/zip_unittest.cc zip_file_list_.push_back(base::FilePath(FILE_PATH_LITERAL("foo.txt"))); base 51 third_party/zlib/google/zip_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo/bar/quux.txt"))); base 53 third_party/zlib/google/zip_unittest.cc base::FilePath(FILE_PATH_LITERAL("foo/bar/.hidden"))); base 60 third_party/zlib/google/zip_unittest.cc bool GetTestDataDirectory(base::FilePath* path) { base 61 third_party/zlib/google/zip_unittest.cc bool success = PathService::Get(base::DIR_SOURCE_ROOT, path); base 73 third_party/zlib/google/zip_unittest.cc void TestUnzipFile(const base::FilePath::StringType& filename, base 75 third_party/zlib/google/zip_unittest.cc base::FilePath test_dir; base 80 third_party/zlib/google/zip_unittest.cc void TestUnzipFile(const base::FilePath& path, bool expect_hidden_files) { base 81 third_party/zlib/google/zip_unittest.cc ASSERT_TRUE(base::PathExists(path)) << "no file " << path.value(); base 84 third_party/zlib/google/zip_unittest.cc base::FileEnumerator files(test_dir_, true, base 85 third_party/zlib/google/zip_unittest.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); base 86 third_party/zlib/google/zip_unittest.cc base::FilePath next_path = files.Next(); base 90 third_party/zlib/google/zip_unittest.cc base::FilePath::StringType::npos) { base 99 third_party/zlib/google/zip_unittest.cc for (std::set<base::FilePath>::iterator iter = zip_contents_.begin(); base 117 third_party/zlib/google/zip_unittest.cc base::ScopedTempDir temp_dir; base 120 third_party/zlib/google/zip_unittest.cc base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); base 121 third_party/zlib/google/zip_unittest.cc base::FilePath src_dir = temp_dir.path().AppendASCII("input"); base 122 third_party/zlib/google/zip_unittest.cc base::FilePath out_dir = temp_dir.path().AppendASCII("output"); base 124 third_party/zlib/google/zip_unittest.cc base::FilePath src_file = src_dir.AppendASCII("test.txt"); base 125 third_party/zlib/google/zip_unittest.cc base::FilePath out_file = out_dir.AppendASCII("test.txt"); base 127 third_party/zlib/google/zip_unittest.cc EXPECT_TRUE(base::CreateDirectory(src_dir)); base 128 third_party/zlib/google/zip_unittest.cc EXPECT_TRUE(base::CreateDirectory(out_dir)); base 130 third_party/zlib/google/zip_unittest.cc base::Time test_mtime; base 131 third_party/zlib/google/zip_unittest.cc ASSERT_TRUE(base::Time::FromString(date_time, &test_mtime)); base 136 third_party/zlib/google/zip_unittest.cc base::Time::Exploded now_parts; base 137 third_party/zlib/google/zip_unittest.cc base::Time::Now().LocalExplode(&now_parts); base 140 third_party/zlib/google/zip_unittest.cc base::Time now_time = base::Time::FromLocalExploded(now_parts); base 142 third_party/zlib/google/zip_unittest.cc EXPECT_EQ(1, base::WriteFile(src_file, "1", 1)); base 143 third_party/zlib/google/zip_unittest.cc EXPECT_TRUE(base::TouchFile(src_file, base::Time::Now(), test_mtime)); base 148 third_party/zlib/google/zip_unittest.cc base::File::Info file_info; base 149 third_party/zlib/google/zip_unittest.cc EXPECT_TRUE(base::GetFileInfo(out_file, &file_info)); base 161 third_party/zlib/google/zip_unittest.cc base::FilePath test_dir_; base 163 third_party/zlib/google/zip_unittest.cc base::ScopedTempDir temp_dir_; base 166 third_party/zlib/google/zip_unittest.cc std::set<base::FilePath> zip_contents_; base 169 third_party/zlib/google/zip_unittest.cc std::vector<base::FilePath> zip_file_list_; base 181 third_party/zlib/google/zip_unittest.cc base::FilePath path; base 187 third_party/zlib/google/zip_unittest.cc base::FilePath output_dir = test_dir_.AppendASCII("out"); base 189 third_party/zlib/google/zip_unittest.cc base::FilePath evil_file = output_dir; base 192 third_party/zlib/google/zip_unittest.cc ASSERT_FALSE(base::PathExists(evil_file)); base 196 third_party/zlib/google/zip_unittest.cc base::FilePath path; base 202 third_party/zlib/google/zip_unittest.cc base::FilePath output_dir = test_dir_.AppendASCII("out"); base 205 third_party/zlib/google/zip_unittest.cc base::FilePath evil_file = output_dir; base 207 third_party/zlib/google/zip_unittest.cc ASSERT_FALSE(base::PathExists(evil_file)); base 211 third_party/zlib/google/zip_unittest.cc base::FilePath src_dir; base 215 third_party/zlib/google/zip_unittest.cc base::ScopedTempDir temp_dir; base 217 third_party/zlib/google/zip_unittest.cc base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); base 224 third_party/zlib/google/zip_unittest.cc base::FilePath src_dir; base 228 third_party/zlib/google/zip_unittest.cc base::ScopedTempDir temp_dir; base 230 third_party/zlib/google/zip_unittest.cc base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); base 237 third_party/zlib/google/zip_unittest.cc base::FilePath src_dir; base 241 third_party/zlib/google/zip_unittest.cc base::ScopedTempDir temp_dir; base 244 third_party/zlib/google/zip_unittest.cc base::FilePath src_dir_russian = base 245 third_party/zlib/google/zip_unittest.cc temp_dir.path().Append(base::FilePath::FromUTF8Unsafe( base 247 third_party/zlib/google/zip_unittest.cc base::CopyDirectory(src_dir, src_dir_russian, true); base 248 third_party/zlib/google/zip_unittest.cc base::FilePath zip_file = temp_dir.path().AppendASCII("out_russian.zip"); base 278 third_party/zlib/google/zip_unittest.cc base::FilePath src_dir; base 282 third_party/zlib/google/zip_unittest.cc base::ScopedTempDir temp_dir; base 284 third_party/zlib/google/zip_unittest.cc base::FilePath zip_name = temp_dir.path().AppendASCII("out.zip"); base 286 third_party/zlib/google/zip_unittest.cc base::File zip_file(zip_name, base 287 third_party/zlib/google/zip_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 55 third_party/zlib/inftrees.c const unsigned short FAR *base; /* base value table to use */ base 183 third_party/zlib/inftrees.c base = extra = work; /* dummy value--not used */ base 187 third_party/zlib/inftrees.c base = lbase; base 188 third_party/zlib/inftrees.c base -= 257; base 194 third_party/zlib/inftrees.c base = dbase; base 225 third_party/zlib/inftrees.c here.val = base[work[sym]]; base 502 third_party/zlib/trees.c int base = desc->stat_desc->extra_base; base 529 third_party/zlib/trees.c if (n >= base) xbits = extra[n-base]; base 8 tools/android/common/daemon.h namespace base { base 14 tools/android/common/daemon.h bool HasHelpSwitch(const base::CommandLine& command_line); base 16 tools/android/common/daemon.h bool HasNoSpawnDaemonSwitch(const base::CommandLine& command_line); base 29 tools/android/common/net.cc base::StringAppendF(&result, "%02x,", base 18 tools/android/forwarder2/command.cc using base::StringPiece; base 53 tools/android/forwarder2/device_controller.cc construction_task_runner_(base::MessageLoopProxy::current()) { base 58 tools/android/forwarder2/device_controller.cc base::MessageLoopProxy::current()->PostTask( base 60 tools/android/forwarder2/device_controller.cc base::Bind(&DeviceController::AcceptHostCommandInternal, base 61 tools/android/forwarder2/device_controller.cc base::Unretained(this))); base 73 tools/android/forwarder2/device_controller.cc base::ScopedClosureRunner accept_next_client( base 74 tools/android/forwarder2/device_controller.cc base::Bind(&DeviceController::AcceptHostCommandSoon, base 75 tools/android/forwarder2/device_controller.cc base::Unretained(this))); base 97 tools/android/forwarder2/device_controller.cc base::Bind(&DeviceController::DeleteListenerOnError, base 142 tools/android/forwarder2/device_controller.cc const base::WeakPtr<DeviceController>& device_controller_ptr, base 18 tools/android/forwarder2/device_controller.h namespace base { base 38 tools/android/forwarder2/device_controller.h typedef base::hash_map< base 49 tools/android/forwarder2/device_controller.h const base::WeakPtr<DeviceController>& device_controller_ptr, base 52 tools/android/forwarder2/device_controller.h base::WeakPtrFactory<DeviceController> weak_ptr_factory_; base 58 tools/android/forwarder2/device_controller.h const scoped_refptr<base::SingleThreadTaskRunner> construction_task_runner_; base 60 tools/android/forwarder2/device_forwarder_main.cc base::Bind(&ServerDelegate::DeleteControllerOnInternalThread, base 61 tools/android/forwarder2/device_forwarder_main.cc base::Unretained(this))); base 76 tools/android/forwarder2/device_forwarder_main.cc controller_thread_.reset(new base::Thread("controller_thread")); base 87 tools/android/forwarder2/device_forwarder_main.cc base::Bind(&ServerDelegate::StartController, base::Unretained(this), base 88 tools/android/forwarder2/device_forwarder_main.cc GetExitNotifierFD(), base::Passed(&client_socket))); base 99 tools/android/forwarder2/device_forwarder_main.cc base::StringPrintf("ERROR: Could not initialize device controller " base 111 tools/android/forwarder2/device_forwarder_main.cc scoped_ptr<base::Thread> controller_thread_; base 129 tools/android/forwarder2/device_forwarder_main.cc base::StringPiece msg(buf, bytes_read); base 149 tools/android/forwarder2/device_forwarder_main.cc base::AtExitManager at_exit_manager; // Used by base::Thread. base 56 tools/android/forwarder2/device_listener.cc base::Bind(&DeviceListener::OnAdbDataSocketReceivedOnInternalThread, base 57 tools/android/forwarder2/device_listener.cc base::Unretained(this), base::Passed(&adb_data_socket))); base 68 tools/android/forwarder2/device_listener.cc deletion_task_runner_(base::MessageLoopProxy::current()), base 79 tools/android/forwarder2/device_listener.cc base::Bind(&DeviceListener::AcceptClientOnInternalThread, base 80 tools/android/forwarder2/device_listener.cc base::Unretained(this))); base 20 tools/android/forwarder2/device_listener.h namespace base { base 48 tools/android/forwarder2/device_listener.h typedef base::Callback<void (scoped_ptr<DeviceListener>)> ErrorCallback; base 97 tools/android/forwarder2/device_listener.h scoped_refptr<base::SingleThreadTaskRunner> deletion_task_runner_; base 98 tools/android/forwarder2/device_listener.h base::Thread thread_; base 36 tools/android/forwarder2/forwarder.h base::ThreadChecker thread_checker_; base 40 tools/android/forwarder2/forwarders_manager.cc base::Bind(&ForwardersManager::CreateNewForwarderOnInternalThread, base 41 tools/android/forwarder2/forwarders_manager.cc base::Unretained(this), base::Passed(&socket1), base 42 tools/android/forwarder2/forwarders_manager.cc base::Passed(&socket2))); base 59 tools/android/forwarder2/forwarders_manager.cc base::Bind(&ForwardersManager::WaitForEventsOnInternalThread, base 60 tools/android/forwarder2/forwarders_manager.cc base::Unretained(this))); base 103 tools/android/forwarder2/forwarders_manager.cc base::ScopedClosureRunner wait_for_events_soon( base 104 tools/android/forwarder2/forwarders_manager.cc base::Bind(&ForwardersManager::WaitForEventsOnInternalThreadSoon, base 105 tools/android/forwarder2/forwarders_manager.cc base::Unretained(this))); base 40 tools/android/forwarder2/forwarders_manager.h base::Thread thread_; base 82 tools/android/forwarder2/host_controller.cc deletion_task_runner_(base::MessageLoopProxy::current()), base 89 tools/android/forwarder2/host_controller.cc base::Bind(&HostController::ReadCommandOnInternalThread, base 90 tools/android/forwarder2/host_controller.cc base::Unretained(this))); base 37 tools/android/forwarder2/host_controller.h typedef base::Callback<void (scoped_ptr<HostController>)> ErrorCallback; base 87 tools/android/forwarder2/host_controller.h const scoped_refptr<base::SingleThreadTaskRunner> deletion_task_runner_; base 88 tools/android/forwarder2/host_controller.h base::Thread thread_; base 112 tools/android/forwarder2/host_forwarder_main.cc base::Bind( base 114 tools/android/forwarder2/host_forwarder_main.cc base::Unretained(this), device_serial, device_port, host_port, base 115 tools/android/forwarder2/host_forwarder_main.cc base::Passed(&client_socket))); base 121 tools/android/forwarder2/host_forwarder_main.cc typedef base::hash_map< base 125 tools/android/forwarder2/host_forwarder_main.cc return base::StringPrintf("%d:%d", adb_port, device_port); base 131 tools/android/forwarder2/host_forwarder_main.cc at_exit_manager_.reset(new base::AtExitManager()); base 132 tools/android/forwarder2/host_forwarder_main.cc thread_.reset(new base::Thread("HostControllersManagerThread")); base 140 tools/android/forwarder2/host_forwarder_main.cc const base::WeakPtr<HostControllersManager>& manager_ptr, base 194 tools/android/forwarder2/host_forwarder_main.cc SendMessage(base::StringPrintf("%d:%d", device_port, host_port), base 203 tools/android/forwarder2/host_forwarder_main.cc base::Bind(&HostControllersManager::DeleteHostController, base 214 tools/android/forwarder2/host_forwarder_main.cc const std::string msg = base::StringPrintf("%d:%d", device_port, host_port); base 224 tools/android/forwarder2/host_forwarder_main.cc base::hash_map<std::string, int>::const_iterator it = base 230 tools/android/forwarder2/host_forwarder_main.cc const std::string prefix = base::StringPrintf("%d:", port); base 243 tools/android/forwarder2/host_forwarder_main.cc const std::string command = base::StringPrintf( base 250 tools/android/forwarder2/host_forwarder_main.cc const std::string port_mapped_cmd = base::StringPrintf( base 267 tools/android/forwarder2/host_forwarder_main.cc base::hash_map<std::string, int>::const_iterator it = base 277 tools/android/forwarder2/host_forwarder_main.cc const std::string command = base::StringPrintf( base 297 tools/android/forwarder2/host_forwarder_main.cc base::WeakPtrFactory<HostControllersManager> weak_ptr_factory_; base 298 tools/android/forwarder2/host_forwarder_main.cc base::hash_map<std::string, int> device_serial_to_adb_port_map_; base 301 tools/android/forwarder2/host_forwarder_main.cc scoped_ptr<base::AtExitManager> at_exit_manager_; // Needed by base::Thread. base 302 tools/android/forwarder2/host_forwarder_main.cc scoped_ptr<base::Thread> thread_; base 376 tools/android/forwarder2/host_forwarder_main.cc base::StringPiece msg(buf, bytes_read); base 403 tools/android/forwarder2/host_forwarder_main.cc if (!base::StringToInt(s, &value) || value < 0 || base 18 tools/android/forwarder2/self_deleter_helper.h namespace base { base 98 tools/android/forwarder2/self_deleter_helper.h typedef base::Callback<void (scoped_ptr<T>)> DeletionCallback; base 103 tools/android/forwarder2/self_deleter_helper.h construction_runner_(base::MessageLoopProxy::current()), base 116 tools/android/forwarder2/self_deleter_helper.h base::Bind(&SelfDeleterHelper::SelfDelete, base 126 tools/android/forwarder2/self_deleter_helper.h base::WeakPtrFactory<SelfDeleterHelper<T> > weak_ptr_factory_; base 127 tools/android/forwarder2/self_deleter_helper.h const scoped_refptr<base::SingleThreadTaskRunner> construction_runner_; base 30 tools/android/md5sum/md5sum.cc base::MD5Context ctx; base 31 tools/android/md5sum/md5sum.cc base::MD5Init(&ctx); base 37 tools/android/md5sum/md5sum.cc base::MD5Update(&ctx, base::StringPiece(buf, bytes_read)); base 43 tools/android/md5sum/md5sum.cc base::MD5Digest digest; base 44 tools/android/md5sum/md5sum.cc base::MD5Final(&digest, &ctx); base 45 tools/android/md5sum/md5sum.cc *digest_string = base::MD5DigestToBase16(digest); base 55 tools/android/md5sum/md5sum.cc base::FilePath file_path(*file); base 56 tools/android/md5sum/md5sum.cc if (base::DirectoryExists(file_path)) { base 57 tools/android/md5sum/md5sum.cc base::FileEnumerator file_enumerator( base 58 tools/android/md5sum/md5sum.cc file_path, true /* recurse */, base::FileEnumerator::FILES); base 59 tools/android/md5sum/md5sum.cc for (base::FilePath child, empty; base 63 tools/android/md5sum/md5sum.cc child = base::MakeAbsoluteFilePath(child); base 88 tools/android/md5sum/md5sum.cc base::FilePath file_path(*it); base 90 tools/android/md5sum/md5sum.cc << base::MakeAbsoluteFilePath(file_path).value() << std::endl; base 50 tools/android/memdump/memdump.cc base::Base64Encode(bits, &b64_string); base 116 tools/android/memdump/memdump.cc typedef base::hash_map<uint64, int> PFNMap; base 124 tools/android/memdump/memdump.cc base::SplitString(line, ' ', tokens); base 129 tools/android/memdump/memdump.cc base::SplitString(addr_range, '-', &range_tokens); base 132 tools/android/memdump/memdump.cc if (!base::HexStringToUInt64(start_address_token, &tmp)) { base 137 tools/android/memdump/memdump.cc if (!base::HexStringToUInt64(end_address_token, &tmp)) { base 144 tools/android/memdump/memdump.cc if (!base::HexStringToUInt64(tokens->at(2), &tmp)) base 180 tools/android/memdump/memdump.cc std::ifstream maps_file(base::StringPrintf("/proc/%d/maps", pid).c_str()); base 288 tools/android/memdump/memdump.cc base::hash_set<uint64> physical_pages_mapped_in_process; base 310 tools/android/memdump/memdump.cc const std::pair<base::hash_set<uint64>::iterator, bool> result = base 360 tools/android/memdump/memdump.cc out->append(base::IntToString(it->total_count * kPageSize)); base 362 tools/android/memdump/memdump.cc out->append(base::IntToString(it->unevictable_count * kPageSize)); base 392 tools/android/memdump/memdump.cc base::SStringPrintf( base 416 tools/android/memdump/memdump.cc base::SStringPrintf( base 440 tools/android/memdump/memdump.cc base::ScopedFD pagemap_fd(HANDLE_EINTR(open( base 441 tools/android/memdump/memdump.cc base::StringPrintf("/proc/%d/pagemap", pid).c_str(), O_RDONLY))); base 485 tools/android/memdump/memdump.cc if (!base::StringToInt(*ptr, &pid)) base 492 tools/android/memdump/memdump.cc base::ScopedFD page_count_fd( base 499 tools/android/memdump/memdump.cc base::ScopedFD page_flags_fd(open("/proc/kpageflags", O_RDONLY)); base 505 tools/android/memdump/memdump.cc base::ScopedClosureRunner auto_resume_processes( base 506 tools/android/memdump/memdump.cc base::Bind(&KillAll, pids, SIGCONT)); base 711 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp CXXRecordDecl* base = trace_dispatch ? trace_dispatch->getParent() base 715 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp if (base == info->record()) { base 840 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp RecordInfo* base = it->second.info(); base 843 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp if (base->IsGCMixin()) base 845 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp if (CXXMethodDecl* other = base->InheritsNonVirtualTrace()) base 1055 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp CXXRecordDecl* base) { base 1060 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp << base << derived->record(); base 1199 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp void ReportDerivesNonStackAllocated(RecordInfo* info, BasePoint* base) { base 1200 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp SourceLocation loc = base->spec().getLocStart(); base 1204 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp << info->record() << base->info()->record(); base 1245 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp void NoteBaseRequiresFinalization(BasePoint* base) { base 1246 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp SourceLocation loc = base->spec().getLocStart(); base 1250 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp << base->info()->record(); base 111 tools/clang/blink_gc_plugin/RecordInfo.cpp CXXRecordDecl* base = elem.Base->getType()->getAsCXXRecordDecl(); base 112 tools/clang/blink_gc_plugin/RecordInfo.cpp if (Config::IsGCFinalizedBase(base->getName())) base 129 tools/clang/blink_gc_plugin/RecordInfo.cpp CXXRecordDecl* base = elem.Base->getType()->getAsCXXRecordDecl(); base 130 tools/clang/blink_gc_plugin/RecordInfo.cpp if (Config::IsTreeSharedBase(base->getName())) base 144 tools/clang/blink_gc_plugin/RecordInfo.cpp CXXRecordDecl* base = elem.Base->getType()->getAsCXXRecordDecl(); base 146 tools/clang/blink_gc_plugin/RecordInfo.cpp if (!Config::IsGCMixinBase(base->getName())) base 312 tools/clang/blink_gc_plugin/RecordInfo.cpp CXXRecordDecl* base = info->record(); base 316 tools/clang/blink_gc_plugin/RecordInfo.cpp bases->insert(std::make_pair(base, BasePoint(spec, info, status))); base 515 tools/clang/plugins/FindBadConstructs.cpp static bool IsRefCountedCallback(const CXXBaseSpecifier* base, base 523 tools/clang/plugins/FindBadConstructs.cpp UnwrapType(base->getType().getTypePtr())); base 548 tools/clang/plugins/FindBadConstructs.cpp static bool HasPublicDtorCallback(const CXXBaseSpecifier* base, base 559 tools/clang/plugins/FindBadConstructs.cpp base->getType()->getAs<RecordType>()->getDecl()); base 30 tools/clang/plugins/tests/base_refcounted.cpp : public base::RefCounted<PublicRefCountedDtorInImpl> { base 46 tools/clang/plugins/tests/base_refcounted.cpp typedef base::RefCounted<BarInterface> RefCountedBar; base 8 tools/clang/plugins/tests/base_refcounted.h namespace base { base 44 tools/clang/plugins/tests/base_refcounted.h : public base::RefCounted<PublicRefCountedDtorInHeader> { base 50 tools/clang/plugins/tests/base_refcounted.h friend class base::RefCounted<PublicRefCountedDtorInHeader>; base 55 tools/clang/plugins/tests/base_refcounted.h : public base::RefCountedThreadSafe< base 62 tools/clang/plugins/tests/base_refcounted.h friend class base::RefCountedThreadSafe< base 68 tools/clang/plugins/tests/base_refcounted.h : public base::RefCounted<ProtectedRefCountedDtorInHeader> { base 76 tools/clang/plugins/tests/base_refcounted.h friend class base::RefCounted<ProtectedRefCountedDtorInHeader>; base 81 tools/clang/plugins/tests/base_refcounted.h : public base::RefCounted<ProtectedRefCountedVirtualDtorInHeader> { base 89 tools/clang/plugins/tests/base_refcounted.h friend class base::RefCounted<ProtectedRefCountedVirtualDtorInHeader>; base 95 tools/clang/plugins/tests/base_refcounted.h : public base::RefCounted<PrivateRefCountedDtorInHeader> { base 101 tools/clang/plugins/tests/base_refcounted.h friend class base::RefCounted<PrivateRefCountedDtorInHeader>; base 147 tools/clang/plugins/tests/base_refcounted.h public base::RefCounted<ImplementsAPublicInterface> { base 155 tools/clang/plugins/tests/base_refcounted.h friend class base::RefCounted<ImplementsAPublicInterface>; base 166 tools/clang/plugins/tests/base_refcounted.h public base::RefCounted<ImplementsAnImplicitInterface> { base 171 tools/clang/plugins/tests/base_refcounted.h friend class base::RefCounted<ImplementsAnImplicitInterface>; base 178 tools/clang/plugins/tests/base_refcounted.h public base::RefCounted<PrivatelyImplementsAPublicInterface> { base 183 tools/clang/plugins/tests/base_refcounted.h friend class base::RefCounted<PrivatelyImplementsAPublicInterface>; base 202 tools/clang/plugins/tests/base_refcounted.h class RefcountedType : public base::RefCounted<RefcountedType> { base 206 tools/clang/plugins/tests/base_refcounted.h friend class base::RefCounted<RefcountedType>; base 9 tools/clang/plugins/tests/weak_ptr_factory.cpp base::WeakPtrFactory<OnlyMember> factory_; base 15 tools/clang/plugins/tests/weak_ptr_factory.cpp base::WeakPtrFactory<FactoryLast> factory_; base 20 tools/clang/plugins/tests/weak_ptr_factory.cpp base::WeakPtrFactory<bool> bool_ptr_factory_; base 25 tools/clang/plugins/tests/weak_ptr_factory.cpp base::WeakPtrFactory<bool> bool_ptr_factory_; base 27 tools/clang/plugins/tests/weak_ptr_factory.cpp base::WeakPtrFactory<FirstFactoryRefersToOtherType> factory_; base 35 tools/clang/plugins/tests/weak_ptr_factory.cpp base::WeakPtrFactory<FactoryFirst> factory_; base 41 tools/clang/plugins/tests/weak_ptr_factory.cpp base::WeakPtrFactory<FactoryMiddle> factory_; base 8 tools/clang/plugins/tests/weak_ptr_factory.h namespace base { base 128 tools/cygprofile/cygprofile.cc base::Lock log_mutex_; base 150 tools/cygprofile/cygprofile.cc base::Lock mutex; base 153 tools/cygprofile/cygprofile.cc base::LazyInstance<AllLogs>::Leaky all_logs_ = LAZY_INSTANCE_INITIALIZER; base 222 tools/cygprofile/cygprofile.cc base::AutoLock lock(log_mutex_); base 290 tools/cygprofile/cygprofile.cc base::AutoLock lock(all_logs.mutex); base 364 tools/cygprofile/cygprofile.cc base::AutoLock lock(all_logs.mutex); base 367 tools/cygprofile/cygprofile.cc base::AutoLock current_lock(current_log->log_mutex_); base 70 tools/gn/args.cc base::AutoLock lock(lock_); base 72 tools/gn/args.cc overrides_[base::StringPiece(name)] = value; base 73 tools/gn/args.cc all_overrides_[base::StringPiece(name)] = value; base 77 tools/gn/args.cc base::AutoLock lock(lock_); base 87 tools/gn/args.cc base::AutoLock lock(lock_); base 90 tools/gn/args.cc all_overrides_.find(base::StringPiece(name)); base 97 tools/gn/args.cc base::AutoLock lock(lock_); base 103 tools/gn/args.cc base::AutoLock lock(lock_); base 114 tools/gn/args.cc base::AutoLock lock(lock_); base 159 tools/gn/args.cc base::AutoLock lock(lock_); base 194 tools/gn/args.cc base::AutoLock lock(lock_); base 226 tools/gn/args.cc const base::win::OSInfo* os_info = base::win::OSInfo::GetInstance(); base 228 tools/gn/args.cc case base::win::OSInfo::X86_ARCHITECTURE: base 231 tools/gn/args.cc case base::win::OSInfo::X64_ARCHITECTURE: base 90 tools/gn/args.h mutable base::Lock lock_; base 27 tools/gn/build_settings.cc void BuildSettings::SetRootPath(const base::FilePath& r) { base 28 tools/gn/build_settings.cc DCHECK(r.value()[r.value().size() - 1] != base::FilePath::kSeparators[0]); base 42 tools/gn/build_settings.cc base::FilePath BuildSettings::GetFullPath(const SourceFile& file) const { base 46 tools/gn/build_settings.cc base::FilePath BuildSettings::GetFullPath(const SourceDir& dir) const { base 50 tools/gn/build_settings.cc base::FilePath BuildSettings::GetFullPathSecondary( base 55 tools/gn/build_settings.cc base::FilePath BuildSettings::GetFullPathSecondary( base 26 tools/gn/build_settings.h typedef base::Callback<void(scoped_ptr<Item>)> ItemDefinedCallback; base 34 tools/gn/build_settings.h const base::FilePath& root_path() const { return root_path_; } base 36 tools/gn/build_settings.h void SetRootPath(const base::FilePath& r); base 41 tools/gn/build_settings.h const base::FilePath& secondary_source_path() const { base 47 tools/gn/build_settings.h base::FilePath python_path() const { return python_path_; } base 48 tools/gn/build_settings.h void set_python_path(const base::FilePath& p) { python_path_ = p; } base 71 tools/gn/build_settings.h base::FilePath GetFullPath(const SourceFile& file) const; base 72 tools/gn/build_settings.h base::FilePath GetFullPath(const SourceDir& dir) const; base 77 tools/gn/build_settings.h base::FilePath GetFullPathSecondary(const SourceFile& file) const; base 78 tools/gn/build_settings.h base::FilePath GetFullPathSecondary(const SourceDir& dir) const; base 87 tools/gn/build_settings.h base::FilePath root_path_; base 89 tools/gn/build_settings.h base::FilePath secondary_source_path_; base 90 tools/gn/build_settings.h base::FilePath python_path_; base 21 tools/gn/builder.h class Builder : public base::RefCountedThreadSafe<Builder> { base 23 tools/gn/builder.h typedef base::Callback<void(const BuilderRecord*)> ResolvedCallback; base 55 tools/gn/builder.h friend class base::RefCountedThreadSafe<Builder>; base 127 tools/gn/builder.h typedef base::hash_map<Label, BuilderRecord*> RecordMap; base 20 tools/gn/command_args.cc bool DoesLineBeginWithComment(const base::StringPiece& line) { base 47 tools/gn/command_args.cc std::string StripHashFromLine(const base::StringPiece& line) { base 65 tools/gn/command_args.cc base::IntToString(location.line_number()); base 75 tools/gn/command_args.cc base::StringPiece line(&data[previous_line_offset], base 85 tools/gn/command_args.cc void PrintArgHelp(const base::StringPiece& name, const Value& value) { base 148 tools/gn/command_args.cc std::map<base::StringPiece, Value> sorted_args; base 159 tools/gn/command_args.cc for (std::map<base::StringPiece, Value>::iterator i = sorted_args.begin(); base 44 tools/gn/command_gen.cc void ItemResolvedCallback(base::subtle::Atomic32* write_counter, base 47 tools/gn/command_gen.cc base::subtle::NoBarrier_AtomicIncrement(write_counter, 1); base 66 tools/gn/command_gen.cc base::Bind(&BackgroundDoWrite, target, toolchain, deps)); base 92 tools/gn/command_gen.cc base::ElapsedTimer timer; base 108 tools/gn/command_gen.cc base::subtle::Atomic32 write_counter = 0; base 110 tools/gn/command_gen.cc base::Bind(&ItemResolvedCallback, &write_counter, base 122 tools/gn/command_gen.cc base::TimeDelta elapsed_time = timer.Elapsed(); base 128 tools/gn/command_gen.cc base::IntToString(static_cast<int>(write_counter)) + base 130 tools/gn/command_gen.cc base::IntToString( base 133 tools/gn/command_gen.cc base::IntToString(elapsed_time.InMilliseconds()) + "ms\n"; base 22 tools/gn/command_refs.cc base::FilePath FilePathForRecord(const BuilderRecord* record) { base 24 tools/gn/command_refs.cc return base::FilePath(FILE_PATH_LITERAL("=UNRESOLVED DEPENDENCY=")); base 60 tools/gn/commands.h typedef std::map<base::StringPiece, CommandInfo> CommandInfoMap; base 18 tools/gn/err.cc std::string GetNthLine(const base::StringPiece& data, int n) { base 178 tools/gn/err.cc if (!base::ContainsOnlyChars(line, base::kWhitespaceASCII)) { base 12 tools/gn/escape.cc void EscapeStringToString(const base::StringPiece& str, base 72 tools/gn/escape.cc std::string EscapeString(const base::StringPiece& str, base 82 tools/gn/escape.cc const base::StringPiece& str, base 85 tools/gn/escape.cc base::StackVector<char, 256> result; base 55 tools/gn/escape.h std::string EscapeString(const base::StringPiece& str, base 62 tools/gn/escape.h const base::StringPiece& str, base 130 tools/gn/file_template.h typedef base::StackVector<Subrange, 8> Template; base 131 tools/gn/file_template.h typedef base::StackVector<Template, 8> TemplateVector; base 75 tools/gn/filesystem_utils.cc return base::ToLowerASCII(c); base 80 tools/gn/filesystem_utils.cc bool AreAbsoluteWindowsPathsEqual(const base::StringPiece& a, base 81 tools/gn/filesystem_utils.cc const base::StringPiece& b) { base 94 tools/gn/filesystem_utils.cc bool DoesBeginWindowsDriveLetter(const base::StringPiece& path) { base 116 tools/gn/filesystem_utils.cc std::vector<base::FilePath::StringType> GetPathComponents( base 117 tools/gn/filesystem_utils.cc const base::FilePath& path) { base 118 tools/gn/filesystem_utils.cc std::vector<base::FilePath::StringType> result; base 145 tools/gn/filesystem_utils.cc bool FilesystemStringsEqual(const base::FilePath::StringType& a, base 146 tools/gn/filesystem_utils.cc const base::FilePath::StringType& b) { base 170 tools/gn/filesystem_utils.cc base::StringPiece extension = FindExtension(&file.value()); base 252 tools/gn/filesystem_utils.cc std::string FilePathToUTF8(const base::FilePath::StringType& str) { base 254 tools/gn/filesystem_utils.cc return base::WideToUTF8(str); base 260 tools/gn/filesystem_utils.cc base::FilePath UTF8ToFilePath(const base::StringPiece& sp) { base 262 tools/gn/filesystem_utils.cc return base::FilePath(base::UTF8ToWide(sp)); base 264 tools/gn/filesystem_utils.cc return base::FilePath(sp.as_string()); base 278 tools/gn/filesystem_utils.cc base::StringPiece FindExtension(const std::string* path) { base 281 tools/gn/filesystem_utils.cc return base::StringPiece(); base 282 tools/gn/filesystem_utils.cc return base::StringPiece(&path->data()[extension_offset], base 294 tools/gn/filesystem_utils.cc base::StringPiece FindFilename(const std::string* path) { base 297 tools/gn/filesystem_utils.cc return base::StringPiece(*path); // Everything is the file name. base 298 tools/gn/filesystem_utils.cc return base::StringPiece(&(*path).data()[filename_offset], base 302 tools/gn/filesystem_utils.cc base::StringPiece FindFilenameNoExtension(const std::string* path) { base 304 tools/gn/filesystem_utils.cc return base::StringPiece(); base 314 tools/gn/filesystem_utils.cc return base::StringPiece(&(*path).data()[filename_offset], name_len); base 325 tools/gn/filesystem_utils.cc base::StringPiece FindDir(const std::string* path) { base 328 tools/gn/filesystem_utils.cc return base::StringPiece(); base 329 tools/gn/filesystem_utils.cc return base::StringPiece(path->data(), filename_offset); base 354 tools/gn/filesystem_utils.cc bool IsPathAbsolute(const base::StringPiece& path) { base 375 tools/gn/filesystem_utils.cc bool MakeAbsolutePathRelativeIfPossible(const base::StringPiece& source_root, base 376 tools/gn/filesystem_utils.cc const base::StringPiece& path, base 618 tools/gn/filesystem_utils.cc SourceDir SourceDirForPath(const base::FilePath& source_root, base 619 tools/gn/filesystem_utils.cc const base::FilePath& path) { base 620 tools/gn/filesystem_utils.cc std::vector<base::FilePath::StringType> source_comp = base 622 tools/gn/filesystem_utils.cc std::vector<base::FilePath::StringType> path_comp = base 661 tools/gn/filesystem_utils.cc SourceDir SourceDirForCurrentDirectory(const base::FilePath& source_root) { base 662 tools/gn/filesystem_utils.cc base::FilePath cd; base 663 tools/gn/filesystem_utils.cc base::GetCurrentDirectory(&cd); base 43 tools/gn/filesystem_utils.h std::string FilePathToUTF8(const base::FilePath::StringType& str); base 44 tools/gn/filesystem_utils.h inline std::string FilePathToUTF8(const base::FilePath& path) { base 47 tools/gn/filesystem_utils.h base::FilePath UTF8ToFilePath(const base::StringPiece& sp); base 58 tools/gn/filesystem_utils.h base::StringPiece FindExtension(const std::string* path); base 70 tools/gn/filesystem_utils.h base::StringPiece FindFilename(const std::string* path); base 73 tools/gn/filesystem_utils.h base::StringPiece FindFilenameNoExtension(const std::string* path); base 94 tools/gn/filesystem_utils.h base::StringPiece FindDir(const std::string* path); base 115 tools/gn/filesystem_utils.h bool IsPathAbsolute(const base::StringPiece& path); base 126 tools/gn/filesystem_utils.h bool MakeAbsolutePathRelativeIfPossible(const base::StringPiece& source_root, base 127 tools/gn/filesystem_utils.h const base::StringPiece& path, base 158 tools/gn/filesystem_utils.h SourceDir SourceDirForPath(const base::FilePath& source_root, base 159 tools/gn/filesystem_utils.h const base::FilePath& path); base 163 tools/gn/filesystem_utils.h SourceDir SourceDirForCurrentDirectory(const base::FilePath& source_root); base 265 tools/gn/filesystem_utils_unittest.cc base::FilePath root(L"C:\\source\\foo\\"); base 267 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"C:\\foo\\bar")).value()); base 269 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"/")).value()); base 271 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"C:\\source\\foo")).value()); base 273 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"C:\\source\\foo\\bar\\")). value()); base 275 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"C:\\source\\foo\\bar\\baz")).value()); base 279 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"c:/SOURCE\\Foo/baR/")).value()); base 283 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"/foo/bar/")).value()); base 285 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"C:foo/bar/")).value()); base 289 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"/C:/foo/bar")).value()); base 291 tools/gn/filesystem_utils_unittest.cc base::FilePath(L"/C:/source/foo/bar")).value()); base 294 tools/gn/filesystem_utils_unittest.cc base::FilePath root("/source/foo/"); base 296 tools/gn/filesystem_utils_unittest.cc base::FilePath("/foo/bar/")).value()); base 298 tools/gn/filesystem_utils_unittest.cc base::FilePath("/")).value()); base 300 tools/gn/filesystem_utils_unittest.cc base::FilePath("/source/foo")).value()); base 302 tools/gn/filesystem_utils_unittest.cc base::FilePath("/source/foo/bar/")).value()); base 304 tools/gn/filesystem_utils_unittest.cc base::FilePath("/source/foo/bar/baz/")).value()); base 308 tools/gn/filesystem_utils_unittest.cc base::FilePath("/SOURCE/foo/bar/")).value()); base 46 tools/gn/function_exec_script.cc const base::FilePath& startup_dir, base 63 tools/gn/function_exec_script.cc base::win::ScopedHandle scoped_out_read(out_read); base 64 tools/gn/function_exec_script.cc base::win::ScopedHandle scoped_out_write(out_write); base 73 tools/gn/function_exec_script.cc base::win::ScopedHandle scoped_err_read(err_read); base 74 tools/gn/function_exec_script.cc base::win::ScopedHandle scoped_err_write(err_write); base 86 tools/gn/function_exec_script.cc base::FilePath::StringType cmdline_str(cmdline.GetCommandLineString()); base 110 tools/gn/function_exec_script.cc base::win::ScopedProcessInformation proc_info(temp_process_info); base 143 tools/gn/function_exec_script.cc const base::FilePath& startup_dir, base 153 tools/gn/function_exec_script.cc base::InjectiveMultimap fd_shuffle1, fd_shuffle2; base 182 tools/gn/function_exec_script.cc base::InjectionArc(pipe_fd[1], STDOUT_FILENO, true)); base 184 tools/gn/function_exec_script.cc base::InjectionArc(dev_null, STDERR_FILENO, true)); base 186 tools/gn/function_exec_script.cc base::InjectionArc(dev_null, STDIN_FILENO, true)); base 196 tools/gn/function_exec_script.cc base::SetCurrentDirectory(startup_dir); base 225 tools/gn/function_exec_script.cc return base::WaitForExitCode(pid, exit_code); base 310 tools/gn/function_exec_script.cc base::FilePath script_path = build_settings->GetFullPath(script_source); base 312 tools/gn/function_exec_script.cc !base::PathExists(script_path)) { base 338 tools/gn/function_exec_script.cc const base::FilePath& python_path = build_settings->python_path(); base 356 tools/gn/function_exec_script.cc base::TimeTicks begin_exec; base 360 tools/gn/function_exec_script.cc base::UTF16ToUTF8(cmdline.GetCommandLineString())); base 364 tools/gn/function_exec_script.cc begin_exec = base::TimeTicks::Now(); base 367 tools/gn/function_exec_script.cc base::FilePath startup_dir = base 376 tools/gn/function_exec_script.cc base::CreateDirectory(startup_dir); base 393 tools/gn/function_exec_script.cc base::Int64ToString( base 394 tools/gn/function_exec_script.cc (base::TimeTicks::Now() - begin_exec).InMilliseconds()) + base 402 tools/gn/function_exec_script.cc "\nReturned " + base::IntToString(exit_code); base 57 tools/gn/function_read_file.cc base::FilePath file_path = base 65 tools/gn/function_read_file.cc if (!base::ReadFileToString(file_path, &file_contents)) { base 71 tools/gn/function_rebase_path.cc base::FilePath system_path; base 65 tools/gn/function_rebase_path_unittest.cc setup.build_settings()->SetRootPath(base::FilePath(L"C:/source")); base 72 tools/gn/function_rebase_path_unittest.cc setup.build_settings()->SetRootPath(base::FilePath("/source")); base 73 tools/gn/function_write_file.cc base::FilePath file_path = base 76 tools/gn/function_write_file.cc if (!base::CreateDirectory(file_path.DirName())) { base 82 tools/gn/function_write_file.cc if (base::WriteFile(file_path, contents_string.c_str(), int_size) base 75 tools/gn/functions.cc const base::StringPiece target_name("target_name"); base 358 tools/gn/functions.cc const Value* base = scope->GetValue(accessor->base().value()); base 359 tools/gn/functions.cc if (!base) base 361 tools/gn/functions.cc if (!base->VerifyTypeIs(Value::SCOPE, err)) base 365 tools/gn/functions.cc if (base->scope_value()->GetValue(accessor->member()->value().value())) base 407 tools/gn/functions.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 338 tools/gn/functions.h typedef std::map<base::StringPiece, FunctionInfo> FunctionInfoMap; base 19 tools/gn/generate_test_gn_data.cc base::FilePath UTF8ToFilePath(const std::string& s) { base 21 tools/gn/generate_test_gn_data.cc return base::FilePath(base::UTF8ToWide(s)); base 23 tools/gn/generate_test_gn_data.cc return base::FilePath(s); base 27 tools/gn/generate_test_gn_data.cc std::string FilePathToUTF8(const base::FilePath& path) { base 29 tools/gn/generate_test_gn_data.cc return base::WideToUTF8(path.value()); base 35 tools/gn/generate_test_gn_data.cc base::FilePath RepoPathToPathName(const std::vector<int>& repo_path) { base 36 tools/gn/generate_test_gn_data.cc base::FilePath ret; base 38 tools/gn/generate_test_gn_data.cc ret = ret.Append(UTF8ToFilePath(base::IntToString(repo_path[i]))); base 56 tools/gn/generate_test_gn_data.cc ret.append(base::IntToString(repo_path[i])); base 67 tools/gn/generate_test_gn_data.cc ret.append(base::IntToString(repo_path[i])); base 79 tools/gn/generate_test_gn_data.cc base::FilePath dirname = RepoPathToPathName(repo_path); base 80 tools/gn/generate_test_gn_data.cc base::FilePath filename = dirname.AppendASCII("BUILD.gn"); base 85 tools/gn/generate_test_gn_data.cc base::CreateDirectory(dirname); base 98 tools/gn/generate_test_gn_data.cc file << " \"" << base::IntToString(f) << ".cc\",\n"; base 28 tools/gn/gn_main.cc out_args.push_back(base::WideToUTF8(in_args[i])); base 38 tools/gn/gn_main.cc base::AtExitManager at_exit; base 56 tools/gn/import_manager.cc base::AutoLock lock(lock_); base 73 tools/gn/import_manager.cc base::AutoLock lock(lock_); base 32 tools/gn/import_manager.h base::Lock lock_; base 106 tools/gn/input_conversion.cc base::SplitString(input, '\n', &as_lines); base 135 tools/gn/input_conversion.cc base::TrimWhitespaceASCII(input, base::TRIM_ALL, &trimmed); base 23 tools/gn/input_file.cc bool InputFile::Load(const base::FilePath& system_path) { base 24 tools/gn/input_file.cc if (base::ReadFileToString(system_path, &contents_)) { base 32 tools/gn/input_file.h const base::FilePath& physical_name() const { return physical_name_; } base 50 tools/gn/input_file.h bool Load(const base::FilePath& system_path); base 56 tools/gn/input_file.h base::FilePath physical_name_; base 51 tools/gn/input_file_manager.cc base::Closure schedule_this; base 53 tools/gn/input_file_manager.cc base::AutoLock lock(lock_); base 62 tools/gn/input_file_manager.cc schedule_this = base::Bind(&InputFileManager::BackgroundLoadFile, base 85 tools/gn/input_file_manager.cc schedule_this = base::Bind(&InvokeFileLoadCallback, callback, base 96 tools/gn/input_file_manager.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 105 tools/gn/input_file_manager.cc base::AutoLock lock(lock_); base 115 tools/gn/input_file_manager.cc base::AutoUnlock unlock(lock_); base 150 tools/gn/input_file_manager.cc data->completion_event.reset(new base::WaitableEvent(false, false)); base 152 tools/gn/input_file_manager.cc base::AutoUnlock unlock(lock_); base 170 tools/gn/input_file_manager.cc base::AutoLock lock(lock_); base 175 tools/gn/input_file_manager.cc std::vector<base::FilePath>* result) const { base 176 tools/gn/input_file_manager.cc base::AutoLock lock(lock_); base 209 tools/gn/input_file_manager.cc base::FilePath primary_path = build_settings->GetFullPath(name); base 214 tools/gn/input_file_manager.cc base::FilePath secondary_path = base 248 tools/gn/input_file_manager.cc base::AutoLock lock(lock_); base 37 tools/gn/input_file_manager.h class InputFileManager : public base::RefCountedThreadSafe<InputFileManager> { base 41 tools/gn/input_file_manager.h typedef base::Callback<void(const ParseNode*)> FileLoadCallback; base 70 tools/gn/input_file_manager.h void GetAllPhysicalInputFileNames(std::vector<base::FilePath>* result) const; base 73 tools/gn/input_file_manager.h friend class base::RefCountedThreadSafe<InputFileManager>; base 93 tools/gn/input_file_manager.h scoped_ptr<base::WaitableEvent> completion_event; base 115 tools/gn/input_file_manager.h mutable base::Lock lock_; base 118 tools/gn/input_file_manager.h typedef base::hash_map<SourceFile, InputFileData*> InputFileMap; base 29 tools/gn/label.cc const base::StringPiece& input, base 57 tools/gn/label.cc const base::StringPiece& input, base 97 tools/gn/label.cc const base::StringPiece& input, base 107 tools/gn/label.cc base::StringPiece location_piece; base 108 tools/gn/label.cc base::StringPiece name_piece; base 109 tools/gn/label.cc base::StringPiece toolchain_piece; base 114 tools/gn/label.cc location_piece = base::StringPiece(&input_str[0], path_separator); base 118 tools/gn/label.cc name_piece = base::StringPiece(&input_str[path_separator + 1], base 131 tools/gn/label.cc name_piece = base::StringPiece( base 145 tools/gn/label.cc toolchain_piece = base::StringPiece( base 194 tools/gn/label.cc const base::StringPiece& name, base 196 tools/gn/label.cc const base::StringPiece& toolchain_name) base 203 tools/gn/label.cc Label::Label(const SourceDir& dir, const base::StringPiece& name) base 25 tools/gn/label.h const base::StringPiece& name, base 27 tools/gn/label.h const base::StringPiece& toolchain_name); base 30 tools/gn/label.h Label(const SourceDir& dir, const base::StringPiece& name); base 102 tools/gn/loader.cc : main_loop_(base::MessageLoop::current()), base 209 tools/gn/loader.cc base::Bind(&LoaderImpl::BackgroundLoadFile, this, base 224 tools/gn/loader.cc base::Bind(&LoaderImpl::BackgroundLoadBuildConfig, base 237 tools/gn/loader.cc base::Bind(&LoaderImpl::DecrementPendingLoads, this)); base 260 tools/gn/loader.cc main_loop_->PostTask(FROM_HERE, base::Bind(&LoaderImpl::DidLoadFile, this)); base 269 tools/gn/loader.cc base::Bind(&LoaderImpl::DecrementPendingLoads, this)); base 315 tools/gn/loader.cc base::Bind(&LoaderImpl::DidLoadBuildConfig, this, base 393 tools/gn/loader.cc const base::Callback<void(const ParseNode*)>& callback, base 16 tools/gn/loader.h namespace base { base 31 tools/gn/loader.h class Loader : public base::RefCountedThreadSafe<Loader> { base 67 tools/gn/loader.h friend class base::RefCountedThreadSafe<Loader>; base 74 tools/gn/loader.h typedef base::Callback<bool(const LocationRange&, base 77 tools/gn/loader.h const base::Callback<void(const ParseNode*)>&, base 93 tools/gn/loader.h void set_main_loop(base::MessageLoop* loop) { main_loop_ = loop; } base 98 tools/gn/loader.h void set_complete_callback(const base::Closure& cb) { base 154 tools/gn/loader.h const base::Callback<void(const ParseNode*)>& callback, base 157 tools/gn/loader.h base::MessageLoop* main_loop_; base 160 tools/gn/loader.h base::Closure complete_callback_; base 25 tools/gn/loader_unittest.cc typedef base::Callback<void(const ParseNode*)> Callback; base 66 tools/gn/loader_unittest.cc return base::Bind(&MockInputFileManager::AsyncLoadFile, base 67 tools/gn/loader_unittest.cc base::Unretained(this)); base 51 tools/gn/location.cc ret += base::IntToString(line_number_); base 54 tools/gn/location.cc ret += base::IntToString(char_offset_); base 90 tools/gn/ninja_action_target_writer.cc base::ReplaceChars(custom_rule_name, ":/()", "_", &custom_rule_name); base 111 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->set_python_path(base::FilePath(FILE_PATH_LITERAL( base 139 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->set_python_path(base::FilePath(FILE_PATH_LITERAL( base 192 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->set_python_path(base::FilePath(FILE_PATH_LITERAL( base 228 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->set_python_path(base::FilePath(FILE_PATH_LITERAL( base 294 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->set_python_path(base::FilePath(FILE_PATH_LITERAL( base 332 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->set_python_path(base::FilePath(FILE_PATH_LITERAL( base 30 tools/gn/ninja_build_writer.cc base::FilePath executable; base 31 tools/gn/ninja_build_writer.cc PathService::Get(base::FILE_EXE, &executable); base 60 tools/gn/ninja_build_writer.cc return base::WideToUTF8(cmdline.GetCommandLineString()); base 99 tools/gn/ninja_build_writer.cc base::FilePath ninja_file(build_settings->GetFullPath( base 101 tools/gn/ninja_build_writer.cc base::CreateDirectory(ninja_file.DirName()); base 153 tools/gn/ninja_build_writer.cc std::vector<base::FilePath> input_files; base 159 tools/gn/ninja_build_writer.cc std::vector<base::FilePath> other_files = g_scheduler->GetGenDependencies(); base 67 tools/gn/ninja_helper.cc base::StringPiece filename = FindFilename(&source.value()); base 102 tools/gn/ninja_helper.cc base::StringPiece dir = FindDir(&source.value()); base 48 tools/gn/ninja_target_writer.cc base::FilePath ninja_file(settings->build_settings()->GetFullPath( base 55 tools/gn/ninja_target_writer.cc base::CreateDirectory(ninja_file.DirName()); base 83 tools/gn/ninja_target_writer.cc base::WriteFile(ninja_file, contents.c_str(), base 46 tools/gn/ninja_toolchain_writer.cc base::FilePath ninja_file(settings->build_settings()->GetFullPath( base 51 tools/gn/ninja_toolchain_writer.cc base::CreateDirectory(ninja_file.DirName()); base 120 tools/gn/operators.cc base::IntToString(static_cast<int>(old_value->list_value().size())) base 124 tools/gn/operators.cc base::IntToString(static_cast<int>(right.list_value().size())) + base 177 tools/gn/operators.cc base::Int64ToString(left->int_value()) + right.string_value()); base 191 tools/gn/operators.cc left->string_value().append(base::Int64ToString(right.int_value())); base 18 tools/gn/output_file.h explicit OutputFile(const base::StringPiece& str) base 105 tools/gn/parse_tree.cc "You gave me " + base::Int64ToString(index_int) + "."); base 111 tools/gn/parse_tree.cc "You gave me " + base::Int64ToString(index_int) + base 113 tools/gn/parse_tree.cc base::Int64ToString( base 468 tools/gn/parse_tree.cc if (!base::StringToInt64(value_.value(), &result_int)) { base 104 tools/gn/parse_tree.h const Token& base() const { return base_; } base 146 tools/gn/parser.cc return Token(Location(), Token::INVALID, base::StringPiece()); base 154 tools/gn/parser.cc return Token(Location(), Token::INVALID, base::StringPiece()); base 162 tools/gn/parser.cc return Token(Location(), Token::INVALID, base::StringPiece()); base 75 tools/gn/path_output.cc WritePathStr(out, base::StringPiece(dir.value().data(), base 86 tools/gn/path_output.cc const base::FilePath& file) const { base 93 tools/gn/path_output.cc const base::StringPiece& str) const { base 107 tools/gn/path_output.cc base::StringPiece(intermediate.c_str(), intermediate.size()), base 118 tools/gn/path_output.cc const base::StringPiece& str) const { base 122 tools/gn/path_output.cc base::StringPiece(current_dir_.value())) { base 19 tools/gn/path_output.h namespace base { base 62 tools/gn/path_output.h void WriteFile(std::ostream& out, const base::FilePath& file) const; base 69 tools/gn/path_output.h void WritePathStr(std::ostream& out, const base::StringPiece& str) const; base 75 tools/gn/path_output.h const base::StringPiece& str) const; base 21 tools/gn/scheduler.cc if (thread_count.empty() || !base::StringToInt(thread_count, &result)) base 29 tools/gn/scheduler.cc : pool_(new base::SequencedWorkerPool(GetThreadCount(), "worker_")), base 48 tools/gn/scheduler.cc base::AutoLock lock(lock_); base 59 tools/gn/scheduler.cc if (base::MessageLoop::current() == &main_loop_) { base 65 tools/gn/scheduler.cc base::Bind(&Scheduler::LogOnMainThread, base 66 tools/gn/scheduler.cc base::Unretained(this), verb, msg)); base 73 tools/gn/scheduler.cc base::AutoLock lock(lock_); base 80 tools/gn/scheduler.cc if (base::MessageLoop::current() == &main_loop_) { base 86 tools/gn/scheduler.cc base::Bind(&Scheduler::FailWithErrorOnMainThread, base 87 tools/gn/scheduler.cc base::Unretained(this), err)); base 91 tools/gn/scheduler.cc void Scheduler::ScheduleWork(const base::Closure& work) { base 94 tools/gn/scheduler.cc FROM_HERE, base::Bind(&Scheduler::DoWork, base 95 tools/gn/scheduler.cc base::Unretained(this), work), base 96 tools/gn/scheduler.cc base::SequencedWorkerPool::BLOCK_SHUTDOWN); base 99 tools/gn/scheduler.cc void Scheduler::AddGenDependency(const base::FilePath& file) { base 100 tools/gn/scheduler.cc base::AutoLock lock(lock_); base 104 tools/gn/scheduler.cc std::vector<base::FilePath> Scheduler::GetGenDependencies() const { base 105 tools/gn/scheduler.cc base::AutoLock lock(lock_); base 110 tools/gn/scheduler.cc base::AtomicRefCountInc(&work_count_); base 114 tools/gn/scheduler.cc if (!base::AtomicRefCountDec(&work_count_)) { base 115 tools/gn/scheduler.cc if (base::MessageLoop::current() == &main_loop_) { base 119 tools/gn/scheduler.cc base::Bind(&Scheduler::OnComplete, base 120 tools/gn/scheduler.cc base::Unretained(this))); base 136 tools/gn/scheduler.cc void Scheduler::DoWork(const base::Closure& closure) { base 143 tools/gn/scheduler.cc DCHECK(base::MessageLoop::current() == main_loop()); base 27 tools/gn/scheduler.h base::MessageLoop* main_loop() { return &main_loop_; } base 28 tools/gn/scheduler.h base::SequencedWorkerPool* pool() { return pool_; } base 41 tools/gn/scheduler.h void ScheduleWork(const base::Closure& work); base 50 tools/gn/scheduler.h void AddGenDependency(const base::FilePath& file); base 51 tools/gn/scheduler.h std::vector<base::FilePath> GetGenDependencies() const; base 64 tools/gn/scheduler.h void DoWork(const base::Closure& closure); base 68 tools/gn/scheduler.h base::MessageLoop main_loop_; base 69 tools/gn/scheduler.h scoped_refptr<base::SequencedWorkerPool> pool_; base 73 tools/gn/scheduler.h base::RunLoop runner_; base 77 tools/gn/scheduler.h base::AtomicRefCount work_count_; base 79 tools/gn/scheduler.h mutable base::Lock lock_; base 88 tools/gn/scheduler.h std::vector<base::FilePath> gen_dependencies_; base 48 tools/gn/scope.cc const Value* Scope::GetValue(const base::StringPiece& ident, base 73 tools/gn/scope.cc Value* Scope::GetMutableValue(const base::StringPiece& ident, base 89 tools/gn/scope.cc Value* Scope::GetValueForcedToCurrentScope(const base::StringPiece& ident, base 106 tools/gn/scope.cc const Value* Scope::GetValue(const base::StringPiece& ident) const { base 115 tools/gn/scope.cc Value* Scope::SetValue(const base::StringPiece& ident, base 140 tools/gn/scope.cc void Scope::MarkUsed(const base::StringPiece& ident) { base 149 tools/gn/scope.cc void Scope::MarkUnused(const base::StringPiece& ident) { base 158 tools/gn/scope.cc bool Scope::IsSetButUnused(const base::StringPiece& ident) const { base 39 tools/gn/scope.h typedef base::hash_map<base::StringPiece, Value> KeyValueMap; base 56 tools/gn/scope.h const base::StringPiece& ident) = 0; base 86 tools/gn/scope.h const Value* GetValue(const base::StringPiece& ident, base 88 tools/gn/scope.h const Value* GetValue(const base::StringPiece& ident) const; base 112 tools/gn/scope.h Value* GetMutableValue(const base::StringPiece& ident, bool counts_as_used); base 121 tools/gn/scope.h Value* GetValueForcedToCurrentScope(const base::StringPiece& ident, base 127 tools/gn/scope.h Value* SetValue(const base::StringPiece& ident, base 139 tools/gn/scope.h void MarkUsed(const base::StringPiece& ident); base 140 tools/gn/scope.h void MarkUnused(const base::StringPiece& ident); base 147 tools/gn/scope.h bool IsSetButUnused(const base::StringPiece& ident) const; base 269 tools/gn/scope.h typedef base::hash_map<base::StringPiece, Record> RecordMap; base 275 tools/gn/scope.h typedef base::hash_map<std::string, Scope*> NamedScopeMap; base 21 tools/gn/scope_per_file_provider.cc const base::StringPiece& ident) { base 22 tools/gn/scope_per_file_provider.h const base::StringPiece& ident) OVERRIDE; base 89 tools/gn/setup.cc const base::FilePath::CharType kGnFile[] = FILE_PATH_LITERAL(".gn"); base 91 tools/gn/setup.cc base::FilePath FindDotFile(const base::FilePath& current_dir) { base 92 tools/gn/setup.cc base::FilePath try_this_file = current_dir.Append(kGnFile); base 93 tools/gn/setup.cc if (base::PathExists(try_this_file)) base 96 tools/gn/setup.cc base::FilePath with_no_slash = current_dir.StripTrailingSeparators(); base 97 tools/gn/setup.cc base::FilePath up_one_dir = with_no_slash.DirName(); base 99 tools/gn/setup.cc return base::FilePath(); // Got to the top. base 105 tools/gn/setup.cc void ItemDefinedCallback(base::MessageLoop* main_loop, base 109 tools/gn/setup.cc main_loop->PostTask(FROM_HERE, base::Bind(&Builder::ItemDefined, builder, base 110 tools/gn/setup.cc base::Passed(&item))); base 127 tools/gn/setup.cc loader_->set_complete_callback(base::Bind(&DecrementWorkCount)); base 136 tools/gn/setup.cc loader_->set_complete_callback(base::Bind(&DecrementWorkCount)); base 186 tools/gn/setup.cc base::Bind(&ItemDefinedCallback, scheduler_.main_loop(), builder_)); base 268 tools/gn/setup.cc base::FilePath root_path; base 271 tools/gn/setup.cc base::FilePath relative_root_path = cmdline.GetSwitchValuePath(kSwitchRoot); base 273 tools/gn/setup.cc root_path = base::MakeAbsoluteFilePath(relative_root_path); base 276 tools/gn/setup.cc base::FilePath cur_dir; base 277 tools/gn/setup.cc base::GetCurrentDirectory(&cur_dir); base 316 tools/gn/setup.cc const base::char16 kGetPython[] = base 319 tools/gn/setup.cc if (base::GetAppOutput(kGetPython, &python_path)) { base 320 tools/gn/setup.cc base::TrimWhitespaceASCII(python_path, base::TRIM_ALL, &python_path); base 328 tools/gn/setup.cc build_settings_.set_python_path(base::FilePath(base::UTF8ToUTF16(python_path)) base 331 tools/gn/setup.cc build_settings_.set_python_path(base::FilePath("python")); base 416 tools/gn/setup.cc base::Bind(&ItemDefinedCallback, scheduler_->main_loop(), builder_)); base 423 tools/gn/setup.cc base::Bind(&ItemDefinedCallback, scheduler_->main_loop(), builder_)); base 26 tools/gn/setup.h namespace base { base 101 tools/gn/setup.h bool FillArguments(const base::CommandLine& cmdline); base 104 tools/gn/setup.h bool FillSourceDir(const base::CommandLine& cmdline); base 118 tools/gn/setup.h bool FillOtherConfig(const base::CommandLine& cmdline); base 129 tools/gn/setup.h base::FilePath dotfile_name_; base 25 tools/gn/source_dir.cc SourceDir::SourceDir(const base::StringPiece& p) base 43 tools/gn/source_dir.cc const base::StringPiece& p, base 44 tools/gn/source_dir.cc const base::StringPiece& source_root) const { base 81 tools/gn/source_dir.cc const base::StringPiece& p, base 82 tools/gn/source_dir.cc const base::StringPiece& source_root) const { base 121 tools/gn/source_dir.cc base::FilePath SourceDir::Resolve(const base::FilePath& source_root) const { base 123 tools/gn/source_dir.cc return base::FilePath(); base 133 tools/gn/source_dir.cc return base::FilePath(UTF8ToFilePath(converted)); base 29 tools/gn/source_dir.h explicit SourceDir(const base::StringPiece& p); base 44 tools/gn/source_dir.h const base::StringPiece& p, base 45 tools/gn/source_dir.h const base::StringPiece& source_root = base::StringPiece()) const; base 47 tools/gn/source_dir.h const base::StringPiece& p, base 48 tools/gn/source_dir.h const base::StringPiece& source_root = base::StringPiece()) const; base 52 tools/gn/source_dir.h base::FilePath Resolve(const base::FilePath& source_root) const; base 76 tools/gn/source_dir.h base::StringPiece SourceAbsoluteWithOneSlash() const { base 78 tools/gn/source_dir.h return base::StringPiece(&value_[1], value_.size() - 1); base 10 tools/gn/source_dir_unittest.cc SourceDir base("//base/"); base 13 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("") == SourceFile()); base 16 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("//foo/bar/") == SourceFile()); base 17 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("bar/") == SourceFile()); base 20 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("//foo") == SourceFile("//foo")); base 21 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("/foo") == SourceFile("/foo")); base 24 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("foo") == SourceFile("//base/foo")); base 25 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("./foo") == SourceFile("//base/foo")); base 26 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("../foo") == SourceFile("//foo")); base 27 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("../../foo") == SourceFile("//foo")); base 33 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeFile("C:\\foo\\bar.txt") == base 39 tools/gn/source_dir_unittest.cc SourceDir base("//base/"); base 42 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("") == SourceDir()); base 45 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("//foo") == SourceDir("//foo/")); base 46 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("/foo") == SourceDir("/foo/")); base 49 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("foo") == SourceDir("//base/foo/")); base 50 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("./foo") == SourceDir("//base/foo/")); base 51 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("../foo") == SourceDir("//foo/")); base 52 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("../../foo/") == SourceDir("//foo/")); base 58 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("C:\\foo") == SourceDir("/C:/foo/")); base 15 tools/gn/source_file.cc SourceFile::SourceFile(const base::StringPiece& p) base 41 tools/gn/source_file.cc return SourceDir(base::StringPiece(&value_[0], last_slash + 1)); base 44 tools/gn/source_file.cc base::FilePath SourceFile::Resolve(const base::FilePath& source_root) const { base 46 tools/gn/source_file.cc return base::FilePath(); base 56 tools/gn/source_file.cc return base::FilePath(UTF8ToFilePath(converted)); base 24 tools/gn/source_file.h explicit SourceFile(const base::StringPiece& p); base 37 tools/gn/source_file.h base::FilePath Resolve(const base::FilePath& source_root) const; base 57 tools/gn/source_file.h base::StringPiece SourceAbsoluteWithOneSlash() const { base 59 tools/gn/source_file.h return base::StringPiece(&value_[1], value_.size() - 1); base 152 tools/gn/standard_out.cc base::SplitStringDontTrim(text, '\n', &lines); base 40 tools/gn/string_utils.cc base::StringPiece* identifier, base 98 tools/gn/string_utils.cc *identifier = base::StringPiece(&input[begin_offset], base 105 tools/gn/string_utils.cc const base::StringPiece& identifier, base 154 tools/gn/string_utils.cc base::StringPiece identifier; base 15 tools/gn/string_utils.h inline std::string operator+(const std::string& a, const base::StringPiece& b) { base 23 tools/gn/string_utils.h inline std::string operator+(const base::StringPiece& a, const std::string& b) { base 47 tools/gn/string_utils.h const base::StringPiece& piece) { base 60 tools/gn/template.cc const base::StringPiece target_name("target_name"); base 14 tools/gn/token.cc const base::StringPiece& v) base 56 tools/gn/token.h Token(const Location& location, Type t, const base::StringPiece& v); base 59 tools/gn/token.h const base::StringPiece& value() const { return value_; } base 74 tools/gn/token.h base::StringPiece value_; base 38 tools/gn/tokenizer.cc Token::Type GetSpecificOperatorType(base::StringPiece value) { base 111 tools/gn/tokenizer.cc base::StringPiece token_value(&input_.data()[token_begin], base 140 tools/gn/tokenizer.cc size_t Tokenizer::ByteOffsetOfNthLine(const base::StringPiece& buf, int n) { base 161 tools/gn/tokenizer.cc bool Tokenizer::IsNewline(const base::StringPiece& buffer, size_t offset) { base 28 tools/gn/tokenizer.h static size_t ByteOffsetOfNthLine(const base::StringPiece& buf, int n); base 32 tools/gn/tokenizer.h static bool IsNewline(const base::StringPiece& buffer, size_t offset); base 78 tools/gn/tokenizer.h const base::StringPiece input_; base 44 tools/gn/toolchain.cc Toolchain::ToolType Toolchain::ToolNameToType(const base::StringPiece& str) { base 81 tools/gn/toolchain.h static ToolType ToolNameToType(const base::StringPiece& str); base 30 tools/gn/trace.cc base::AutoLock lock(lock_); base 38 tools/gn/trace.cc base::Lock lock_; base 70 tools/gn/trace.cc out << base::StringPrintf(" %8.2f ", base 95 tools/gn/trace.cc out << base::StringPrintf(" %8.2f %d ", base 117 tools/gn/trace.cc base::PlatformThreadId thread_id) base 130 tools/gn/trace.cc item_ = new TraceItem(t, name, base::PlatformThread::CurrentId()); base 131 tools/gn/trace.cc item_->set_begin(base::TimeTicks::HighResNow()); base 140 tools/gn/trace.cc base::PlatformThread::CurrentId()); base 141 tools/gn/trace.cc item_->set_begin(base::TimeTicks::HighResNow()); base 163 tools/gn/trace.cc item_->set_end(base::TimeTicks::HighResNow()); base 217 tools/gn/trace.cc void SaveTraces(const base::FilePath& file_name) { base 226 tools/gn/trace.cc out << "{\"pid\":0,\"tid\":" << base::PlatformThread::CurrentId(); base 242 tools/gn/trace.cc base::EscapeJSONString(item.name(), true, "e_buffer); base 271 tools/gn/trace.cc base::EscapeJSONString(item.toolchain(), true, "e_buffer); base 277 tools/gn/trace.cc base::EscapeJSONString(item.cmdline(), true, "e_buffer); base 291 tools/gn/trace.cc base::WriteFile(file_name, out_str.data(), base 32 tools/gn/trace.h base::PlatformThreadId thread_id); base 37 tools/gn/trace.h base::PlatformThreadId thread_id() const { return thread_id_; } base 39 tools/gn/trace.h base::TimeTicks begin() const { return begin_; } base 40 tools/gn/trace.h void set_begin(base::TimeTicks b) { begin_ = b; } base 41 tools/gn/trace.h base::TimeTicks end() const { return end_; } base 42 tools/gn/trace.h void set_end(base::TimeTicks e) { end_ = e; } base 44 tools/gn/trace.h base::TimeDelta delta() const { return end_ - begin_; } base 57 tools/gn/trace.h base::PlatformThreadId thread_id_; base 59 tools/gn/trace.h base::TimeTicks begin_; base 60 tools/gn/trace.h base::TimeTicks end_; base 73 tools/gn/trace.h void SetCommandLine(const base::CommandLine& cmdline); base 93 tools/gn/trace.h void SaveTraces(const base::FilePath& file_name); base 108 tools/gn/value.cc return base::Int64ToString(int_value_); base 189 tools/gn/variables.h typedef std::map<base::StringPiece, VariableInfo> VariableInfoMap; base 22 tools/gn/visibility.cc const base::StringPiece& name) base 156 tools/gn/visibility.cc base::StringPiece path; base 157 tools/gn/visibility.cc base::StringPiece name; base 160 tools/gn/visibility.cc path = base::StringPiece(str); base 162 tools/gn/visibility.cc path = base::StringPiece(&str[0], colon); base 163 tools/gn/visibility.cc name = base::StringPiece(&str[colon + 1], str.size() - colon - 1); base 195 tools/gn/visibility.cc if (path.find('*') != base::StringPiece::npos) { base 232 tools/gn/visibility.cc return VisPattern(type, dir, base::StringPiece()); base 32 tools/gn/visibility.h VisPattern(Type type, const SourceDir& dir, const base::StringPiece& name); base 98 tools/imagediff/image_diff.cc bool CreateFromFilename(const base::FilePath& path) { base 99 tools/imagediff/image_diff.cc FILE* f = base::OpenFile(path, "rb"); base 111 tools/imagediff/image_diff.cc base::CloseFile(f); base 179 tools/imagediff/image_diff.cc typedef base::hash_map<uint32, int32> RgbaToCountMap; base 253 tools/imagediff/image_diff.cc int CompareImages(const base::FilePath& file1, base 254 tools/imagediff/image_diff.cc const base::FilePath& file2, base 362 tools/imagediff/image_diff.cc int DiffImages(const base::FilePath& file1, const base::FilePath& file2, base 363 tools/imagediff/image_diff.cc const base::FilePath& out_file) { base 387 tools/imagediff/image_diff.cc if (base::WriteFile(out_file, base 389 tools/imagediff/image_diff.cc base::checked_cast<int>(png_encoding.size())) < 0) base 398 tools/imagediff/image_diff.cc base::FilePath FilePathFromASCII(const std::string& str) { base 400 tools/imagediff/image_diff.cc return base::FilePath(base::ASCIIToWide(str)); base 402 tools/imagediff/image_diff.cc return base::FilePath(str); base 407 tools/imagediff/image_diff.cc base::EnableTerminationOnHeapCorruption(); base 414 tools/imagediff/image_diff.cc base::FilePath filename1; base 421 tools/imagediff/image_diff.cc base::FilePath filename2 = FilePathFromASCII(stdin_buffer); base 425 tools/imagediff/image_diff.cc filename1 = base::FilePath(); base 438 tools/imagediff/image_diff.cc return DiffImages(base::FilePath(args[0]), base 439 tools/imagediff/image_diff.cc base::FilePath(args[1]), base 440 tools/imagediff/image_diff.cc base::FilePath(args[2])); base 444 tools/imagediff/image_diff.cc base::FilePath(args[0]), base::FilePath(args[1]), histograms); base 262 tools/imagediff/image_diff_png.cc unsigned char* base = NULL; base 263 tools/imagediff/image_diff_png.cc base = &state->output->front(); base 265 tools/imagediff/image_diff_png.cc unsigned char* dest = &base[state->width * state->output_channels * row_num]; base 18 tools/ipc_fuzzer/message_lib/message_file.h static bool Read(const base::FilePath& path, MessageVector* messages); base 19 tools/ipc_fuzzer/message_lib/message_file.h static bool Write(const base::FilePath& path, const MessageVector& messages); base 25 tools/ipc_fuzzer/message_lib/message_file_reader.cc Reader(const base::FilePath& path); base 51 tools/ipc_fuzzer/message_lib/message_file_reader.cc base::FilePath path_; base 52 tools/ipc_fuzzer/message_lib/message_file_reader.cc base::MemoryMappedFile mapped_file_; base 53 tools/ipc_fuzzer/message_lib/message_file_reader.cc base::StringPiece file_data_; base 54 tools/ipc_fuzzer/message_lib/message_file_reader.cc base::StringPiece string_table_; base 64 tools/ipc_fuzzer/message_lib/message_file_reader.cc Reader::Reader(const base::FilePath& path) base 225 tools/ipc_fuzzer/message_lib/message_file_reader.cc bool MessageFile::Read(const base::FilePath& path, MessageVector* messages) { base 21 tools/ipc_fuzzer/message_lib/message_file_writer.cc Writer(const base::FilePath& path); base 45 tools/ipc_fuzzer/message_lib/message_file_writer.cc base::FilePath path_; base 46 tools/ipc_fuzzer/message_lib/message_file_writer.cc base::File file_; base 53 tools/ipc_fuzzer/message_lib/message_file_writer.cc Writer::Writer(const base::FilePath& path) : path_(path), messages_(NULL) { base 58 tools/ipc_fuzzer/message_lib/message_file_writer.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); base 159 tools/ipc_fuzzer/message_lib/message_file_writer.cc bool MessageFile::Write(const base::FilePath& path, base 62 tools/ipc_fuzzer/mutate/generate.cc virtual void GenerateString16(base::string16* value) = 0; base 155 tools/ipc_fuzzer/mutate/generate.cc virtual void GenerateString16(base::string16* value) OVERRIDE { base 156 tools/ipc_fuzzer/mutate/generate.cc GenerateStringType<base::string16>(value); base 301 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::string16> { base 302 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::string16* p, Generator* generator) { base 430 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::NullableString16> { base 431 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::NullableString16* p, Generator* generator) { base 432 tools/ipc_fuzzer/mutate/generate.cc *p = base::NullableString16(); base 438 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::FileDescriptor> { base 439 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::FileDescriptor* p, Generator* generator) { base 447 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::FilePath> { base 448 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::FilePath* p, Generator* generator) { base 454 tools/ipc_fuzzer/mutate/generate.cc *p = base::FilePath(random_path); base 460 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::File::Error> { base 461 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::File::Error* p, Generator* generator) { base 465 tools/ipc_fuzzer/mutate/generate.cc *p = static_cast<base::File::Error>(temporary); base 471 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::File::Info> { base 472 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::File::Info* p, Generator* generator) { base 486 tools/ipc_fuzzer/mutate/generate.cc p->last_modified = base::Time::FromDoubleT(last_modified); base 487 tools/ipc_fuzzer/mutate/generate.cc p->last_accessed = base::Time::FromDoubleT(last_accessed); base 488 tools/ipc_fuzzer/mutate/generate.cc p->creation_time = base::Time::FromDoubleT(creation_time); base 494 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::Time> { base 495 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::Time* p, Generator* generator) { base 496 tools/ipc_fuzzer/mutate/generate.cc *p = base::Time::FromInternalValue(RandU64()); base 502 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::TimeDelta> { base 503 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::TimeDelta* p, Generator* generator) { base 504 tools/ipc_fuzzer/mutate/generate.cc *p = base::TimeDelta::FromInternalValue(RandU64()); base 510 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::TimeTicks> { base 511 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::TimeTicks* p, Generator* generator) { base 512 tools/ipc_fuzzer/mutate/generate.cc *p = base::TimeTicks::FromInternalValue(RandU64()); base 518 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::PlatformFileInfo> { base 519 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::PlatformFileInfo* p, Generator* generator) { base 531 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::ListValue> { base 532 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::ListValue* p, Generator* generator) { base 538 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_BOOLEAN: { base 541 tools/ipc_fuzzer/mutate/generate.cc p->Set(index, new base::FundamentalValue(tmp)); base 544 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_INTEGER: { base 547 tools/ipc_fuzzer/mutate/generate.cc p->Set(index, new base::FundamentalValue(tmp)); base 550 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_DOUBLE: { base 553 tools/ipc_fuzzer/mutate/generate.cc p->Set(index, new base::FundamentalValue(tmp)); base 556 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_STRING: { base 559 tools/ipc_fuzzer/mutate/generate.cc p->Set(index, new base::StringValue(tmp)); base 562 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_BINARY: { base 567 tools/ipc_fuzzer/mutate/generate.cc base::BinaryValue::CreateWithCopiedBuffer(tmp, bin_length)); base 570 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_DICTIONARY: { base 571 tools/ipc_fuzzer/mutate/generate.cc base::DictionaryValue* tmp = new base::DictionaryValue(); base 576 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_LIST: { base 577 tools/ipc_fuzzer/mutate/generate.cc base::ListValue* tmp = new base::ListValue(); base 582 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_NULL: base 593 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::DictionaryValue> { base 594 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::DictionaryValue* p, Generator* generator) { base 602 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_BOOLEAN: { base 605 tools/ipc_fuzzer/mutate/generate.cc p->SetWithoutPathExpansion(property, new base::FundamentalValue(tmp)); base 608 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_INTEGER: { base 611 tools/ipc_fuzzer/mutate/generate.cc p->SetWithoutPathExpansion(property, new base::FundamentalValue(tmp)); base 614 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_DOUBLE: { base 617 tools/ipc_fuzzer/mutate/generate.cc p->SetWithoutPathExpansion(property, new base::FundamentalValue(tmp)); base 620 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_STRING: { base 623 tools/ipc_fuzzer/mutate/generate.cc p->SetWithoutPathExpansion(property, new base::StringValue(tmp)); base 626 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_BINARY: { base 632 tools/ipc_fuzzer/mutate/generate.cc base::BinaryValue::CreateWithCopiedBuffer(tmp, bin_length)); base 635 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_DICTIONARY: { base 636 tools/ipc_fuzzer/mutate/generate.cc base::DictionaryValue* tmp = new base::DictionaryValue(); base 641 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_LIST: { base 642 tools/ipc_fuzzer/mutate/generate.cc base::ListValue* tmp = new base::ListValue(); base 647 tools/ipc_fuzzer/mutate/generate.cc case base::Value::TYPE_NULL: base 740 tools/ipc_fuzzer/mutate/generate.cc base::string16 string; base 793 tools/ipc_fuzzer/mutate/generate.cc std::vector<base::string16> array; base 800 tools/ipc_fuzzer/mutate/generate.cc base::string16 string; base 1111 tools/ipc_fuzzer/mutate/generate.cc base::FilePath path; base 1347 tools/ipc_fuzzer/mutate/generate.cc if (!MessageFile::Write(base::FilePath(output_file_name), message_vector)) base 107 tools/ipc_fuzzer/mutate/message_util.cc base::SplitString(args[0], ',', &input_file_names); base 121 tools/ipc_fuzzer/mutate/message_util.cc if (!ipc_fuzzer::MessageFile::Read(base::FilePath(*it), &message_vector)) base 150 tools/ipc_fuzzer/mutate/message_util.cc base::FilePath(output_file_name), output_message_vector)) { base 58 tools/ipc_fuzzer/mutate/mutate.cc virtual void FuzzString16(base::string16* value) = 0; base 148 tools/ipc_fuzzer/mutate/mutate.cc virtual void FuzzString16(base::string16* value) OVERRIDE { base 149 tools/ipc_fuzzer/mutate/mutate.cc FuzzStringType<base::string16>(value, frequency_, base 150 tools/ipc_fuzzer/mutate/mutate.cc base::WideToUTF16(L"BORKED"), base 151 tools/ipc_fuzzer/mutate/mutate.cc base::WideToUTF16(L"")); base 190 tools/ipc_fuzzer/mutate/mutate.cc virtual void FuzzString16(base::string16* value) OVERRIDE {} base 325 tools/ipc_fuzzer/mutate/mutate.cc struct FuzzTraits<base::string16> { base 326 tools/ipc_fuzzer/mutate/mutate.cc static void Fuzz(base::string16* p, Fuzzer* fuzzer) { base 406 tools/ipc_fuzzer/mutate/mutate.cc struct FuzzTraits<base::FileDescriptor> { base 407 tools/ipc_fuzzer/mutate/mutate.cc static void Fuzz(base::FileDescriptor* p, Fuzzer* fuzzer) { base 583 tools/ipc_fuzzer/mutate/mutate.cc typedef base::hash_map<uint32, FuzzFunction> FuzzFunctionMap; base 682 tools/ipc_fuzzer/mutate/mutate.cc base::SplitString(type_string_list, ',', &type_string_vector); base 698 tools/ipc_fuzzer/mutate/mutate.cc if (!MessageFile::Read(base::FilePath(input_file_name), &message_vector)) base 719 tools/ipc_fuzzer/mutate/mutate.cc if (!MessageFile::Write(base::FilePath(output_file_name), message_vector)) base 15 tools/ipc_fuzzer/mutate/rand_util.cc g_mersenne_twister->init_genrand(static_cast<uint32>(base::RandUint64())); base 11 tools/ipc_fuzzer/replay/replay.cc base::AtExitManager exit_manager; base 45 tools/ipc_fuzzer/replay/replay_process.cc base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); base 47 tools/ipc_fuzzer/replay/replay_process.cc base::GlobalDescriptors* g_fds = base::GlobalDescriptors::GetInstance(); base 49 tools/ipc_fuzzer/replay/replay_process.cc kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor); base 66 tools/ipc_fuzzer/replay/replay_process.cc base::FilePath path = CommandLine::ForCurrentProcess()->GetSwitchValuePath( base 73 tools/ipc_fuzzer/replay/replay_process.cc base::MessageLoop::current()->Quit(); base 84 tools/ipc_fuzzer/replay/replay_process.cc base::MessageLoop::current()->Quit(); base 89 tools/ipc_fuzzer/replay/replay_process.cc timer_.reset(new base::Timer(false, true)); base 91 tools/ipc_fuzzer/replay/replay_process.cc base::TimeDelta::FromMilliseconds(1), base 92 tools/ipc_fuzzer/replay/replay_process.cc base::Bind(&ReplayProcess::SendNextMessage, base 93 tools/ipc_fuzzer/replay/replay_process.cc base::Unretained(this))); base 94 tools/ipc_fuzzer/replay/replay_process.cc base::MessageLoop::current()->Run(); base 104 tools/ipc_fuzzer/replay/replay_process.cc base::MessageLoop::current()->Quit(); base 47 tools/ipc_fuzzer/replay/replay_process.h base::MessageLoop main_loop_; base 48 tools/ipc_fuzzer/replay/replay_process.h base::Thread io_thread_; base 49 tools/ipc_fuzzer/replay/replay_process.h base::WaitableEvent shutdown_event_; base 50 tools/ipc_fuzzer/replay/replay_process.h scoped_ptr<base::Timer> timer_; base 13 tools/json_schema_compiler/test/additional_properties_unittest.cc scoped_ptr<base::ListValue> list_value(new base::ListValue()); base 14 tools/json_schema_compiler/test/additional_properties_unittest.cc list_value->Append(base::Value::CreateStringValue("asdf")); base 15 tools/json_schema_compiler/test/additional_properties_unittest.cc list_value->Append(base::Value::CreateIntegerValue(4)); base 16 tools/json_schema_compiler/test/additional_properties_unittest.cc scoped_ptr<base::DictionaryValue> type_value(new base::DictionaryValue()); base 25 tools/json_schema_compiler/test/additional_properties_unittest.cc scoped_ptr<base::DictionaryValue> type_value(new base::DictionaryValue()); base 34 tools/json_schema_compiler/test/additional_properties_unittest.cc scoped_ptr<base::DictionaryValue> param_object_value( base 35 tools/json_schema_compiler/test/additional_properties_unittest.cc new base::DictionaryValue()); base 38 tools/json_schema_compiler/test/additional_properties_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 53 tools/json_schema_compiler/test/additional_properties_unittest.cc base::ListValue expected; base 55 tools/json_schema_compiler/test/additional_properties_unittest.cc base::DictionaryValue* dict = new base::DictionaryValue(); base 61 tools/json_schema_compiler/test/additional_properties_unittest.cc EXPECT_TRUE(base::Value::Equals( base 13 tools/json_schema_compiler/test/any_unittest.cc scoped_ptr<base::DictionaryValue> any_type_value( base 14 tools/json_schema_compiler/test/any_unittest.cc new base::DictionaryValue()); base 17 tools/json_schema_compiler/test/any_unittest.cc scoped_ptr<base::Value> any_type_to_value(any_type.ToValue()); base 22 tools/json_schema_compiler/test/any_unittest.cc scoped_ptr<base::DictionaryValue> any_type_value( base 23 tools/json_schema_compiler/test/any_unittest.cc new base::DictionaryValue()); base 26 tools/json_schema_compiler/test/any_unittest.cc scoped_ptr<base::Value> any_type_to_value(any_type.ToValue()); base 33 tools/json_schema_compiler/test/any_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 40 tools/json_schema_compiler/test/any_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 41 tools/json_schema_compiler/test/any_unittest.cc scoped_ptr<base::Value> param(base::Value::CreateStringValue("asdf")); base 50 tools/json_schema_compiler/test/any_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 51 tools/json_schema_compiler/test/any_unittest.cc scoped_ptr<base::Value> param(base::Value::CreateBooleanValue(true)); base 14 tools/json_schema_compiler/test/arrays_unittest.cc static scoped_ptr<base::DictionaryValue> CreateBasicArrayTypeDictionary() { base 15 tools/json_schema_compiler/test/arrays_unittest.cc base::DictionaryValue* value = new base::DictionaryValue(); base 16 tools/json_schema_compiler/test/arrays_unittest.cc base::ListValue* strings_value = new base::ListValue(); base 17 tools/json_schema_compiler/test/arrays_unittest.cc strings_value->Append(base::Value::CreateStringValue("a")); base 18 tools/json_schema_compiler/test/arrays_unittest.cc strings_value->Append(base::Value::CreateStringValue("b")); base 19 tools/json_schema_compiler/test/arrays_unittest.cc strings_value->Append(base::Value::CreateStringValue("c")); base 20 tools/json_schema_compiler/test/arrays_unittest.cc strings_value->Append(base::Value::CreateStringValue("it's easy as")); base 21 tools/json_schema_compiler/test/arrays_unittest.cc base::ListValue* integers_value = new base::ListValue(); base 22 tools/json_schema_compiler/test/arrays_unittest.cc integers_value->Append(base::Value::CreateIntegerValue(1)); base 23 tools/json_schema_compiler/test/arrays_unittest.cc integers_value->Append(base::Value::CreateIntegerValue(2)); base 24 tools/json_schema_compiler/test/arrays_unittest.cc integers_value->Append(base::Value::CreateIntegerValue(3)); base 25 tools/json_schema_compiler/test/arrays_unittest.cc base::ListValue* booleans_value = new base::ListValue(); base 26 tools/json_schema_compiler/test/arrays_unittest.cc booleans_value->Append(base::Value::CreateBooleanValue(false)); base 27 tools/json_schema_compiler/test/arrays_unittest.cc booleans_value->Append(base::Value::CreateBooleanValue(true)); base 28 tools/json_schema_compiler/test/arrays_unittest.cc base::ListValue* numbers_value = new base::ListValue(); base 29 tools/json_schema_compiler/test/arrays_unittest.cc numbers_value->Append(base::Value::CreateDoubleValue(6.1)); base 34 tools/json_schema_compiler/test/arrays_unittest.cc return scoped_ptr<base::DictionaryValue>(value); base 37 tools/json_schema_compiler/test/arrays_unittest.cc static base::Value* CreateItemValue(int val) { base 38 tools/json_schema_compiler/test/arrays_unittest.cc base::DictionaryValue* value(new base::DictionaryValue()); base 39 tools/json_schema_compiler/test/arrays_unittest.cc value->Set("val", base::Value::CreateIntegerValue(val)); base 47 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::DictionaryValue> value = CreateBasicArrayTypeDictionary(); base 60 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> types(new base::ListValue()); base 62 tools/json_schema_compiler/test/arrays_unittest.cc types->Append(new base::StringValue(EnumArrayType::ToString(enums[i]))); base 64 tools/json_schema_compiler/test/arrays_unittest.cc base::DictionaryValue value; base 79 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> types(new base::ListValue()); base 81 tools/json_schema_compiler/test/arrays_unittest.cc types->Append(new base::StringValue( base 85 tools/json_schema_compiler/test/arrays_unittest.cc base::DictionaryValue value; base 93 tools/json_schema_compiler/test/arrays_unittest.cc base::DictionaryValue value; base 94 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> enum_array(new base::ListValue()); base 95 tools/json_schema_compiler/test/arrays_unittest.cc enum_array->Append(base::Value::CreateStringValue("invalid")); base 106 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 107 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> ref_array(new base::ListValue()); base 120 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 121 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> not_ref_array(new base::ListValue()); base 123 tools/json_schema_compiler/test/arrays_unittest.cc not_ref_array->Append(base::Value::CreateIntegerValue(3)); base 131 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 132 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> integer_array(new base::ListValue()); base 133 tools/json_schema_compiler/test/arrays_unittest.cc integer_array->Append(base::Value::CreateIntegerValue(2)); base 134 tools/json_schema_compiler/test/arrays_unittest.cc integer_array->Append(base::Value::CreateIntegerValue(4)); base 135 tools/json_schema_compiler/test/arrays_unittest.cc integer_array->Append(base::Value::CreateIntegerValue(8)); base 147 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 148 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> any_array(new base::ListValue()); base 149 tools/json_schema_compiler/test/arrays_unittest.cc any_array->Append(base::Value::CreateIntegerValue(1)); base 150 tools/json_schema_compiler/test/arrays_unittest.cc any_array->Append(base::Value::CreateStringValue("test")); base 163 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 164 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> item_array(new base::ListValue()); base 177 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 178 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> item_array(new base::ListValue()); base 194 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> results = base 197 tools/json_schema_compiler/test/arrays_unittest.cc base::ListValue expected; base 198 tools/json_schema_compiler/test/arrays_unittest.cc base::ListValue* expected_argument = new base::ListValue(); base 199 tools/json_schema_compiler/test/arrays_unittest.cc expected_argument->Append(base::Value::CreateIntegerValue(1)); base 200 tools/json_schema_compiler/test/arrays_unittest.cc expected_argument->Append(base::Value::CreateIntegerValue(2)); base 211 tools/json_schema_compiler/test/arrays_unittest.cc scoped_ptr<base::ListValue> results = base 214 tools/json_schema_compiler/test/arrays_unittest.cc base::ListValue expected; base 215 tools/json_schema_compiler/test/arrays_unittest.cc base::ListValue* expected_argument = new base::ListValue(); base 216 tools/json_schema_compiler/test/arrays_unittest.cc base::DictionaryValue* first = new base::DictionaryValue(); base 219 tools/json_schema_compiler/test/arrays_unittest.cc base::DictionaryValue* second = new base::DictionaryValue(); base 14 tools/json_schema_compiler/test/callbacks_unittest.cc scoped_ptr<base::ListValue> results = base 17 tools/json_schema_compiler/test/callbacks_unittest.cc base::DictionaryValue* expected_dict = new base::DictionaryValue(); base 19 tools/json_schema_compiler/test/callbacks_unittest.cc base::ListValue expected; base 27 tools/json_schema_compiler/test/callbacks_unittest.cc scoped_ptr<base::ListValue> results = base 30 tools/json_schema_compiler/test/callbacks_unittest.cc base::DictionaryValue* expected_dict = new base::DictionaryValue(); base 32 tools/json_schema_compiler/test/callbacks_unittest.cc base::ListValue expected; base 33 tools/json_schema_compiler/test/callbacks_unittest.cc expected.Append(base::Value::CreateIntegerValue(5)); base 22 tools/json_schema_compiler/test/choices_unittest.cc *List(base::Value::CreateBooleanValue(true)))); base 27 tools/json_schema_compiler/test/choices_unittest.cc *List(base::Value::CreateIntegerValue(6)))); base 34 tools/json_schema_compiler/test/choices_unittest.cc *List(List(base::Value::CreateIntegerValue(2), base 35 tools/json_schema_compiler/test/choices_unittest.cc base::Value::CreateIntegerValue(6), base 36 tools/json_schema_compiler/test/choices_unittest.cc base::Value::CreateIntegerValue(8)).release()))); base 47 tools/json_schema_compiler/test/choices_unittest.cc Dictionary("strings", new base::StringValue("asdf")).release()))); base 56 tools/json_schema_compiler/test/choices_unittest.cc Dictionary("strings", new base::StringValue("asdf"), base 57 tools/json_schema_compiler/test/choices_unittest.cc "integers", new base::FundamentalValue(6)).release()))); base 72 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::DictionaryValue> object_param(new base::DictionaryValue()); base 74 tools/json_schema_compiler/test/choices_unittest.cc base::Value::CreateIntegerValue(5)); base 75 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 82 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::DictionaryValue> object_param(new base::DictionaryValue()); base 84 tools/json_schema_compiler/test/choices_unittest.cc base::Value::CreateStringValue("asdf")); base 86 tools/json_schema_compiler/test/choices_unittest.cc base::Value::CreateStringValue("asdf")); base 87 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 94 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::DictionaryValue> object_param(new base::DictionaryValue()); base 96 tools/json_schema_compiler/test/choices_unittest.cc base::Value::CreateIntegerValue(6)); base 97 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 110 tools/json_schema_compiler/test/choices_unittest.cc base::ListValue* strings_value = new base::ListValue(); base 112 tools/json_schema_compiler/test/choices_unittest.cc strings_value->Append(base::Value::CreateStringValue(strings[i])); base 114 tools/json_schema_compiler/test/choices_unittest.cc base::DictionaryValue value; base 130 tools/json_schema_compiler/test/choices_unittest.cc base::ListValue* strings_value = new base::ListValue(); base 131 tools/json_schema_compiler/test/choices_unittest.cc strings_value->Append(base::Value::CreateStringValue("list")); base 132 tools/json_schema_compiler/test/choices_unittest.cc strings_value->Append(base::Value::CreateStringValue("of")); base 133 tools/json_schema_compiler/test/choices_unittest.cc strings_value->Append(base::Value::CreateStringValue("strings")); base 135 tools/json_schema_compiler/test/choices_unittest.cc base::DictionaryValue value; base 150 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::Value> results_value = results.ToValue(); base 153 tools/json_schema_compiler/test/choices_unittest.cc base::ListValue expected; base 163 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::Value> results_value = results.ToValue(); base 166 tools/json_schema_compiler/test/choices_unittest.cc base::FundamentalValue expected(5); base 177 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::Value> value = ReadJson("42"); base 186 tools/json_schema_compiler/test/choices_unittest.cc EXPECT_TRUE(base::Value::Equals(value.get(), obj->ToValue().get())); base 191 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::Value> value = ReadJson("\"foo\""); base 202 tools/json_schema_compiler/test/choices_unittest.cc EXPECT_TRUE(base::Value::Equals(value.get(), obj->ToValue().get())); base 207 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::Value> value = ReadJson("true"); base 218 tools/json_schema_compiler/test/choices_unittest.cc EXPECT_TRUE(base::Value::Equals(value.get(), obj->ToValue().get())); base 223 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::Value> value = ReadJson("42.0"); base 235 tools/json_schema_compiler/test/choices_unittest.cc EXPECT_TRUE(base::Value::Equals(value.get(), obj->ToValue().get())); base 240 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::Value> value = ReadJson( base 262 tools/json_schema_compiler/test/choices_unittest.cc EXPECT_TRUE(base::Value::Equals(value.get(), obj->ToValue().get())); base 267 tools/json_schema_compiler/test/choices_unittest.cc scoped_ptr<base::Value> value = ReadJson( base 288 tools/json_schema_compiler/test/choices_unittest.cc EXPECT_TRUE(base::Value::Equals(value.get(), obj->ToValue().get())); base 14 tools/json_schema_compiler/test/crossref_unittest.cc static scoped_ptr<base::DictionaryValue> CreateTestTypeDictionary() { base 15 tools/json_schema_compiler/test/crossref_unittest.cc base::DictionaryValue* value(new base::DictionaryValue()); base 16 tools/json_schema_compiler/test/crossref_unittest.cc value->SetWithoutPathExpansion("number", base::Value::CreateDoubleValue(1.1)); base 17 tools/json_schema_compiler/test/crossref_unittest.cc value->SetWithoutPathExpansion("integer", base::Value::CreateIntegerValue(4)); base 19 tools/json_schema_compiler/test/crossref_unittest.cc base::Value::CreateStringValue("bling")); base 21 tools/json_schema_compiler/test/crossref_unittest.cc base::Value::CreateBooleanValue(true)); base 22 tools/json_schema_compiler/test/crossref_unittest.cc return scoped_ptr<base::DictionaryValue>(value); base 29 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 39 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 50 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 51 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::DictionaryValue> test_type_value = base 61 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::DictionaryValue> value = CreateTestTypeDictionary(); base 67 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::ListValue> results = base 69 tools/json_schema_compiler/test/crossref_unittest.cc base::DictionaryValue* result_dict = NULL; base 76 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 77 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::DictionaryValue> param_object_value( base 78 tools/json_schema_compiler/test/crossref_unittest.cc new base::DictionaryValue()); base 80 tools/json_schema_compiler/test/crossref_unittest.cc param_object_value->Set("boolean", base::Value::CreateBooleanValue(true)); base 91 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 92 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::DictionaryValue> param_object_value( base 93 tools/json_schema_compiler/test/crossref_unittest.cc new base::DictionaryValue()); base 94 tools/json_schema_compiler/test/crossref_unittest.cc param_object_value->Set("boolean", base::Value::CreateBooleanValue(true)); base 103 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 104 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::DictionaryValue> param_object_value( base 105 tools/json_schema_compiler/test/crossref_unittest.cc new base::DictionaryValue()); base 107 tools/json_schema_compiler/test/crossref_unittest.cc base::Value::CreateStringValue("invalid")); base 108 tools/json_schema_compiler/test/crossref_unittest.cc param_object_value->Set("boolean", base::Value::CreateBooleanValue(true)); base 115 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 116 tools/json_schema_compiler/test/crossref_unittest.cc scoped_ptr<base::DictionaryValue> param_object_value( base 117 tools/json_schema_compiler/test/crossref_unittest.cc new base::DictionaryValue()); base 16 tools/json_schema_compiler/test/enums_unittest.cc base::DictionaryValue value; base 17 tools/json_schema_compiler/test/enums_unittest.cc value.Set("type", base::Value::CreateStringValue("one")); base 24 tools/json_schema_compiler/test/enums_unittest.cc base::DictionaryValue value; base 25 tools/json_schema_compiler/test/enums_unittest.cc value.Set("type", base::Value::CreateStringValue("invalid")); base 32 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue args; base 33 tools/json_schema_compiler/test/enums_unittest.cc args.Append(base::Value::CreateStringValue("one")); base 45 tools/json_schema_compiler/test/enums_unittest.cc base::DictionaryValue value; base 48 tools/json_schema_compiler/test/enums_unittest.cc value.Set("enumeration", base::Value::CreateStringValue("one")); base 52 tools/json_schema_compiler/test/enums_unittest.cc value.Set("optional_enumeration", base::Value::CreateStringValue("two")); base 60 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 61 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(List(base::Value::CreateStringValue("one"), base 62 tools/json_schema_compiler/test/enums_unittest.cc base::Value::CreateStringValue("two")).release()); base 71 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 73 tools/json_schema_compiler/test/enums_unittest.cc List(base::Value::CreateStringValue("invalid")).release()); base 83 tools/json_schema_compiler/test/enums_unittest.cc scoped_ptr<base::Value> result( base 84 tools/json_schema_compiler/test/enums_unittest.cc new base::StringValue(ReturnsEnum::Results::ToString(state))); base 85 tools/json_schema_compiler/test/enums_unittest.cc scoped_ptr<base::Value> expected(base::Value::CreateStringValue("foo")); base 90 tools/json_schema_compiler/test/enums_unittest.cc scoped_ptr<base::ListValue> results = ReturnsEnum::Results::Create(state); base 91 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue expected; base 92 tools/json_schema_compiler/test/enums_unittest.cc expected.Append(base::Value::CreateStringValue("foo")); base 99 tools/json_schema_compiler/test/enums_unittest.cc scoped_ptr<base::ListValue> results = ReturnsTwoEnums::Results::Create( base 102 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue expected; base 103 tools/json_schema_compiler/test/enums_unittest.cc expected.Append(base::Value::CreateStringValue("foo")); base 104 tools/json_schema_compiler/test/enums_unittest.cc expected.Append(base::Value::CreateStringValue("ham")); base 112 tools/json_schema_compiler/test/enums_unittest.cc base::DictionaryValue value; base 113 tools/json_schema_compiler/test/enums_unittest.cc value.Set("type", base::Value::CreateStringValue("two")); base 120 tools/json_schema_compiler/test/enums_unittest.cc base::DictionaryValue value; base 127 tools/json_schema_compiler/test/enums_unittest.cc base::DictionaryValue value; base 128 tools/json_schema_compiler/test/enums_unittest.cc value.Set("type", base::Value::CreateStringValue("invalid")); base 135 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 136 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(base::Value::CreateStringValue("baz")); base 143 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 144 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(base::Value::CreateStringValue("invalid")); base 153 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 154 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(List(base::Value::CreateStringValue("foo"), base 155 tools/json_schema_compiler/test/enums_unittest.cc base::Value::CreateStringValue("bar")).release()); base 164 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 166 tools/json_schema_compiler/test/enums_unittest.cc List(base::Value::CreateStringValue("invalid")).release()); base 175 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 176 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(base::Value::CreateStringValue("baz")); base 183 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 190 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 191 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(base::Value::CreateStringValue("invalid")); base 200 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 201 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(base::Value::CreateStringValue("foo")); base 202 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(base::Value::CreateStringValue("foo")); base 210 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 211 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(base::Value::CreateStringValue("foo")); base 219 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 227 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue params_value; base 228 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(base::Value::CreateStringValue("baz")); base 229 tools/json_schema_compiler/test/enums_unittest.cc params_value.Append(base::Value::CreateStringValue("invalid")); base 239 tools/json_schema_compiler/test/enums_unittest.cc scoped_ptr<base::Value> result( base 240 tools/json_schema_compiler/test/enums_unittest.cc new base::StringValue(OnEnumFired::ToString(some_enum))); base 241 tools/json_schema_compiler/test/enums_unittest.cc scoped_ptr<base::Value> expected(base::Value::CreateStringValue("foo")); base 246 tools/json_schema_compiler/test/enums_unittest.cc scoped_ptr<base::ListValue> results(OnEnumFired::Create(some_enum)); base 247 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue expected; base 248 tools/json_schema_compiler/test/enums_unittest.cc expected.Append(base::Value::CreateStringValue("foo")); base 255 tools/json_schema_compiler/test/enums_unittest.cc scoped_ptr<base::Value> results(OnTwoEnumsFired::Create( base 258 tools/json_schema_compiler/test/enums_unittest.cc base::ListValue expected; base 259 tools/json_schema_compiler/test/enums_unittest.cc expected.Append(base::Value::CreateStringValue("foo")); base 260 tools/json_schema_compiler/test/enums_unittest.cc expected.Append(base::Value::CreateStringValue("ham")); base 13 tools/json_schema_compiler/test/error_generation_unittest.cc using base::FundamentalValue; base 18 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 GetPopulateError(const base::Value& value) { base 19 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 26 tools/json_schema_compiler/test/error_generation_unittest.cc const base::string16& actual) { base 27 tools/json_schema_compiler/test/error_generation_unittest.cc if (base::ASCIIToUTF16(expected) != actual) base 36 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 37 tools/json_schema_compiler/test/error_generation_unittest.cc "string", new base::StringValue("bling")); base 41 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::BinaryValue> value(new base::BinaryValue()); base 49 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> value(new base::ListValue()); base 54 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::BinaryValue> value(new base::BinaryValue()); base 64 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 69 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 79 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 84 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 87 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 97 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 102 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 103 tools/json_schema_compiler/test/error_generation_unittest.cc base::Value::CreateNullValue()); base 104 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 114 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 115 tools/json_schema_compiler/test/error_generation_unittest.cc "string", new base::StringValue("yes")); base 119 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 128 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 129 tools/json_schema_compiler/test/error_generation_unittest.cc new base::StringValue("Yeah!")); base 133 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 135 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 144 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 148 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 151 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 161 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 167 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 177 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 178 tools/json_schema_compiler/test/error_generation_unittest.cc "data", new base::BinaryValue()); base 182 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 191 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 192 tools/json_schema_compiler/test/error_generation_unittest.cc "TheArray", new base::ListValue()); base 196 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 207 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 208 tools/json_schema_compiler/test/error_generation_unittest.cc "enumeration", new base::StringValue("one")); base 212 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 213 tools/json_schema_compiler/test/error_generation_unittest.cc "enumeration", new base::StringValue("bad sauce")); base 224 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 225 tools/json_schema_compiler/test/error_generation_unittest.cc "string", new base::StringValue("bling")); base 229 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 230 tools/json_schema_compiler/test/error_generation_unittest.cc "string", new base::FundamentalValue(1)); base 233 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 243 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 244 tools/json_schema_compiler/test/error_generation_unittest.cc "data", new base::BinaryValue()); base 249 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary("data", base 250 tools/json_schema_compiler/test/error_generation_unittest.cc new base::FundamentalValue(1)); base 253 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 263 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 264 tools/json_schema_compiler/test/error_generation_unittest.cc "TheArray", new base::ListValue()); base 268 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 271 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 281 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 287 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::ListValue> params_value = List( base 291 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 303 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 306 tools/json_schema_compiler/test/error_generation_unittest.cc base::string16 error; base 322 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 323 tools/json_schema_compiler/test/error_generation_unittest.cc "string", new base::StringValue("yes")); base 327 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::DictionaryValue> value = Dictionary( base 328 tools/json_schema_compiler/test/error_generation_unittest.cc "string", new base::StringValue("yes"), base 329 tools/json_schema_compiler/test/error_generation_unittest.cc "ohno", new base::StringValue("many values")); base 15 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue empty_value; base 20 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue value; base 21 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue function_dict; base 31 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue value; base 32 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue function_dict; base 40 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue value; base 41 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue expected_value; base 42 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue function_dict; base 54 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue empty_value; base 60 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue value; base 61 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue function_value; base 68 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue value; base 69 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue function_value; base 79 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue empty_value; base 86 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue value; base 87 tools/json_schema_compiler/test/functions_as_parameters_unittest.cc base::DictionaryValue function_value; base 13 tools/json_schema_compiler/test/functions_on_types_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 20 tools/json_schema_compiler/test/functions_on_types_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 21 tools/json_schema_compiler/test/functions_on_types_unittest.cc params_value->Append(base::Value::CreateIntegerValue(9)); base 27 tools/json_schema_compiler/test/functions_on_types_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 28 tools/json_schema_compiler/test/functions_on_types_unittest.cc params_value->Append(base::Value::CreateStringValue("test")); base 36 tools/json_schema_compiler/test/functions_on_types_unittest.cc scoped_ptr<base::DictionaryValue> keys_object_value( base 37 tools/json_schema_compiler/test/functions_on_types_unittest.cc new base::DictionaryValue()); base 40 tools/json_schema_compiler/test/functions_on_types_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 55 tools/json_schema_compiler/test/functions_on_types_unittest.cc scoped_ptr<base::ListValue> results = base 57 tools/json_schema_compiler/test/functions_on_types_unittest.cc base::DictionaryValue* item_result = NULL; base 63 tools/json_schema_compiler/test/functions_on_types_unittest.cc scoped_ptr<base::DictionaryValue> details_value(new base::DictionaryValue()); base 65 tools/json_schema_compiler/test/functions_on_types_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 32 tools/json_schema_compiler/test/idl_schemas_unittest.cc scoped_ptr<base::DictionaryValue> serialized = a.ToValue(); base 39 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::ListValue list; base 40 tools/json_schema_compiler/test/idl_schemas_unittest.cc list.Append(base::Value::CreateIntegerValue(5)); base 46 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::DictionaryValue* tmp = new base::DictionaryValue(); base 60 tools/json_schema_compiler/test/idl_schemas_unittest.cc scoped_ptr<base::ListValue> f4_results = Function4::Results::Create(); base 61 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::ListValue expected; base 64 tools/json_schema_compiler/test/idl_schemas_unittest.cc scoped_ptr<base::ListValue> f5_results(Function5::Results::Create(13)); base 65 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::Value* f5_result_int = NULL; base 67 tools/json_schema_compiler/test/idl_schemas_unittest.cc EXPECT_TRUE(f5_result_int->IsType(base::Value::TYPE_INTEGER)); base 69 tools/json_schema_compiler/test/idl_schemas_unittest.cc scoped_ptr<base::ListValue> f6_results(Function6::Results::Create(a)); base 70 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::Value* f6_result_dict = NULL; base 81 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::ListValue list; base 84 tools/json_schema_compiler/test/idl_schemas_unittest.cc list.Append(base::Value::CreateIntegerValue(7)); base 91 tools/json_schema_compiler/test/idl_schemas_unittest.cc list.Append(base::Value::CreateIntegerValue(8)); base 95 tools/json_schema_compiler/test/idl_schemas_unittest.cc list.Append(base::Value::CreateStringValue("foo")); base 105 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::DictionaryValue* tmp = new base::DictionaryValue(); base 123 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::ListValue list; base 124 tools/json_schema_compiler/test/idl_schemas_unittest.cc list.Append(base::Value::CreateIntegerValue(33)); base 125 tools/json_schema_compiler/test/idl_schemas_unittest.cc list.Append(new base::ListValue); base 133 tools/json_schema_compiler/test/idl_schemas_unittest.cc list.Append(base::Value::CreateIntegerValue(33)); base 134 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::ListValue* sublist = new base::ListValue; base 135 tools/json_schema_compiler/test/idl_schemas_unittest.cc sublist->Append(base::Value::CreateIntegerValue(34)); base 136 tools/json_schema_compiler/test/idl_schemas_unittest.cc sublist->Append(base::Value::CreateIntegerValue(35)); base 153 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::ListValue* sublist2 = new base::ListValue; base 170 tools/json_schema_compiler/test/idl_schemas_unittest.cc scoped_ptr<base::DictionaryValue> serialized_foo = f1.ToValue(); base 177 tools/json_schema_compiler/test/idl_schemas_unittest.cc b1.x.reset(new base::FundamentalValue(7)); base 178 tools/json_schema_compiler/test/idl_schemas_unittest.cc scoped_ptr<base::DictionaryValue> serialized_bar = b1.ToValue(); base 186 tools/json_schema_compiler/test/idl_schemas_unittest.cc scoped_ptr<base::DictionaryValue> icon_props(new base::DictionaryValue()); base 191 tools/json_schema_compiler/test/idl_schemas_unittest.cc base::ListValue list; base 14 tools/json_schema_compiler/test/objects_unittest.cc scoped_ptr<base::ListValue> strings(new base::ListValue()); base 15 tools/json_schema_compiler/test/objects_unittest.cc strings->Append(base::Value::CreateStringValue("one")); base 16 tools/json_schema_compiler/test/objects_unittest.cc strings->Append(base::Value::CreateStringValue("two")); base 17 tools/json_schema_compiler/test/objects_unittest.cc scoped_ptr<base::DictionaryValue> info_value(new base::DictionaryValue()); base 19 tools/json_schema_compiler/test/objects_unittest.cc info_value->Set("integer", base::Value::CreateIntegerValue(5)); base 20 tools/json_schema_compiler/test/objects_unittest.cc info_value->Set("boolean", base::Value::CreateBooleanValue(true)); base 22 tools/json_schema_compiler/test/objects_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 34 tools/json_schema_compiler/test/objects_unittest.cc scoped_ptr<base::ListValue> strings(new base::ListValue()); base 35 tools/json_schema_compiler/test/objects_unittest.cc strings->Append(base::Value::CreateStringValue("one")); base 36 tools/json_schema_compiler/test/objects_unittest.cc strings->Append(base::Value::CreateStringValue("two")); base 37 tools/json_schema_compiler/test/objects_unittest.cc scoped_ptr<base::DictionaryValue> info_value(new base::DictionaryValue()); base 39 tools/json_schema_compiler/test/objects_unittest.cc info_value->Set("integer", base::Value::CreateIntegerValue(5)); base 41 tools/json_schema_compiler/test/objects_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 52 tools/json_schema_compiler/test/objects_unittest.cc scoped_ptr<base::ListValue> results = ReturnsObject::Results::Create(info); base 54 tools/json_schema_compiler/test/objects_unittest.cc base::DictionaryValue expected; base 56 tools/json_schema_compiler/test/objects_unittest.cc base::DictionaryValue* result = NULL; base 64 tools/json_schema_compiler/test/objects_unittest.cc scoped_ptr<base::ListValue> results(OnObjectFired::Create(object)); base 66 tools/json_schema_compiler/test/objects_unittest.cc base::DictionaryValue expected; base 68 tools/json_schema_compiler/test/objects_unittest.cc base::DictionaryValue* result = NULL; base 13 tools/json_schema_compiler/test/simple_api_unittest.cc static scoped_ptr<base::DictionaryValue> CreateTestTypeDictionary() { base 14 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); base 16 tools/json_schema_compiler/test/simple_api_unittest.cc base::Value::CreateDoubleValue(1.1)); base 18 tools/json_schema_compiler/test/simple_api_unittest.cc base::Value::CreateIntegerValue(4)); base 20 tools/json_schema_compiler/test/simple_api_unittest.cc base::Value::CreateStringValue("bling")); base 22 tools/json_schema_compiler/test/simple_api_unittest.cc base::Value::CreateBooleanValue(true)); base 29 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> results = IncrementInteger::Results::Create(5); base 30 tools/json_schema_compiler/test/simple_api_unittest.cc base::ListValue expected; base 31 tools/json_schema_compiler/test/simple_api_unittest.cc expected.Append(base::Value::CreateIntegerValue(5)); base 36 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 37 tools/json_schema_compiler/test/simple_api_unittest.cc params_value->Append(base::Value::CreateIntegerValue(6)); base 46 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 47 tools/json_schema_compiler/test/simple_api_unittest.cc params_value->Append(base::Value::CreateStringValue("text")); base 48 tools/json_schema_compiler/test/simple_api_unittest.cc params_value->Append(base::Value::CreateStringValue("text")); base 54 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 63 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 70 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 71 tools/json_schema_compiler/test/simple_api_unittest.cc params_value->Append(base::Value::CreateStringValue("asdf")); base 82 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 83 tools/json_schema_compiler/test/simple_api_unittest.cc params_value->Append(base::Value::CreateNullValue()); base 93 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 94 tools/json_schema_compiler/test/simple_api_unittest.cc params_value->Append(base::Value::CreateIntegerValue(5)); base 103 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> params_value(new base::ListValue()); base 104 tools/json_schema_compiler/test/simple_api_unittest.cc params_value->Append(base::Value::CreateNullValue()); base 105 tools/json_schema_compiler/test/simple_api_unittest.cc params_value->Append(base::Value::CreateStringValue("asdf")); base 115 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> results = OptionalString::Results::Create(); base 116 tools/json_schema_compiler/test/simple_api_unittest.cc base::ListValue expected; base 123 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::DictionaryValue> value = CreateTestTypeDictionary(); base 133 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::DictionaryValue> value = CreateTestTypeDictionary(); base 141 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::DictionaryValue> value = CreateTestTypeDictionary(); base 144 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> results = base 147 tools/json_schema_compiler/test/simple_api_unittest.cc base::DictionaryValue* result = NULL; base 155 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> results(OnIntegerFired::Create(5)); base 156 tools/json_schema_compiler/test/simple_api_unittest.cc base::ListValue expected; base 157 tools/json_schema_compiler/test/simple_api_unittest.cc expected.Append(base::Value::CreateIntegerValue(5)); base 164 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> results(OnStringFired::Create("yo dawg")); base 165 tools/json_schema_compiler/test/simple_api_unittest.cc base::ListValue expected; base 166 tools/json_schema_compiler/test/simple_api_unittest.cc expected.Append(base::Value::CreateStringValue("yo dawg")); base 174 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::DictionaryValue> expected = CreateTestTypeDictionary(); base 180 tools/json_schema_compiler/test/simple_api_unittest.cc scoped_ptr<base::ListValue> results( base 182 tools/json_schema_compiler/test/simple_api_unittest.cc base::DictionaryValue* result = NULL; base 15 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::Value> ReadJson(const base::StringPiece& json) { base 18 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::Value> result(base::JSONReader::ReadAndReturnError( base 20 tools/json_schema_compiler/test/test_util.cc base::JSON_ALLOW_TRAILING_COMMAS, base 28 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::ListValue> List(base::Value* a) { base 29 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::ListValue> list(new base::ListValue()); base 33 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::ListValue> List(base::Value* a, base::Value* b) { base 34 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::ListValue> list = List(a); base 38 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::ListValue> List(base::Value* a, base 39 tools/json_schema_compiler/test/test_util.cc base::Value* b, base 40 tools/json_schema_compiler/test/test_util.cc base::Value* c) { base 41 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::ListValue> list = List(a, b); base 46 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::DictionaryValue> Dictionary( base 47 tools/json_schema_compiler/test/test_util.cc const std::string& ak, base::Value* av) { base 48 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); base 52 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::DictionaryValue> Dictionary( base 53 tools/json_schema_compiler/test/test_util.cc const std::string& ak, base::Value* av, base 54 tools/json_schema_compiler/test/test_util.cc const std::string& bk, base::Value* bv) { base 55 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::DictionaryValue> dict = Dictionary(ak, av); base 59 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::DictionaryValue> Dictionary( base 60 tools/json_schema_compiler/test/test_util.cc const std::string& ak, base::Value* av, base 61 tools/json_schema_compiler/test/test_util.cc const std::string& bk, base::Value* bv, base 62 tools/json_schema_compiler/test/test_util.cc const std::string& ck, base::Value* cv) { base 63 tools/json_schema_compiler/test/test_util.cc scoped_ptr<base::DictionaryValue> dict = Dictionary(ak, av, bk, bv); base 15 tools/json_schema_compiler/test/test_util.h scoped_ptr<base::Value> ReadJson(const base::StringPiece& json); base 36 tools/json_schema_compiler/test/test_util.h scoped_ptr<base::ListValue> List(base::Value* a); base 37 tools/json_schema_compiler/test/test_util.h scoped_ptr<base::ListValue> List(base::Value* a, base::Value* b); base 38 tools/json_schema_compiler/test/test_util.h scoped_ptr<base::ListValue> List(base::Value* a, base 39 tools/json_schema_compiler/test/test_util.h base::Value* b, base 40 tools/json_schema_compiler/test/test_util.h base::Value* c); base 42 tools/json_schema_compiler/test/test_util.h scoped_ptr<base::DictionaryValue> Dictionary( base 43 tools/json_schema_compiler/test/test_util.h const std::string& ak, base::Value* av); base 44 tools/json_schema_compiler/test/test_util.h scoped_ptr<base::DictionaryValue> Dictionary( base 45 tools/json_schema_compiler/test/test_util.h const std::string& ak, base::Value* av, base 46 tools/json_schema_compiler/test/test_util.h const std::string& bk, base::Value* bv); base 47 tools/json_schema_compiler/test/test_util.h scoped_ptr<base::DictionaryValue> Dictionary( base 48 tools/json_schema_compiler/test/test_util.h const std::string& ak, base::Value* av, base 49 tools/json_schema_compiler/test/test_util.h const std::string& bk, base::Value* bv, base 50 tools/json_schema_compiler/test/test_util.h const std::string& ck, base::Value* cv); base 12 tools/json_schema_compiler/util.cc bool GetItemFromList(const base::ListValue& from, int index, int* out) { base 16 tools/json_schema_compiler/util.cc bool GetItemFromList(const base::ListValue& from, int index, bool* out) { base 20 tools/json_schema_compiler/util.cc bool GetItemFromList(const base::ListValue& from, int index, double* out) { base 24 tools/json_schema_compiler/util.cc bool GetItemFromList(const base::ListValue& from, int index, std::string* out) { base 28 tools/json_schema_compiler/util.cc bool GetItemFromList(const base::ListValue& from, base 30 tools/json_schema_compiler/util.cc linked_ptr<base::Value>* out) { base 31 tools/json_schema_compiler/util.cc const base::Value* value = NULL; base 38 tools/json_schema_compiler/util.cc bool GetItemFromList(const base::ListValue& from, int index, base 39 tools/json_schema_compiler/util.cc linked_ptr<base::DictionaryValue>* out) { base 40 tools/json_schema_compiler/util.cc const base::DictionaryValue* dict = NULL; base 47 tools/json_schema_compiler/util.cc void AddItemToList(const int from, base::ListValue* out) { base 48 tools/json_schema_compiler/util.cc out->Append(new base::FundamentalValue(from)); base 51 tools/json_schema_compiler/util.cc void AddItemToList(const bool from, base::ListValue* out) { base 52 tools/json_schema_compiler/util.cc out->Append(new base::FundamentalValue(from)); base 55 tools/json_schema_compiler/util.cc void AddItemToList(const double from, base::ListValue* out) { base 56 tools/json_schema_compiler/util.cc out->Append(new base::FundamentalValue(from)); base 59 tools/json_schema_compiler/util.cc void AddItemToList(const std::string& from, base::ListValue* out) { base 60 tools/json_schema_compiler/util.cc out->Append(new base::StringValue(from)); base 63 tools/json_schema_compiler/util.cc void AddItemToList(const linked_ptr<base::Value>& from, base 64 tools/json_schema_compiler/util.cc base::ListValue* out) { base 68 tools/json_schema_compiler/util.cc void AddItemToList(const linked_ptr<base::DictionaryValue>& from, base 69 tools/json_schema_compiler/util.cc base::ListValue* out) { base 70 tools/json_schema_compiler/util.cc out->Append(static_cast<base::Value*>(from->DeepCopy())); base 73 tools/json_schema_compiler/util.cc std::string ValueTypeToString(base::Value::Type type) { base 75 tools/json_schema_compiler/util.cc case base::Value::TYPE_NULL: base 77 tools/json_schema_compiler/util.cc case base::Value::TYPE_BOOLEAN: base 79 tools/json_schema_compiler/util.cc case base::Value::TYPE_INTEGER: base 81 tools/json_schema_compiler/util.cc case base::Value::TYPE_DOUBLE: base 83 tools/json_schema_compiler/util.cc case base::Value::TYPE_STRING: base 85 tools/json_schema_compiler/util.cc case base::Value::TYPE_BINARY: base 87 tools/json_schema_compiler/util.cc case base::Value::TYPE_DICTIONARY: base 89 tools/json_schema_compiler/util.cc case base::Value::TYPE_LIST: base 21 tools/json_schema_compiler/util.h bool GetItemFromList(const base::ListValue& from, int index, int* out); base 22 tools/json_schema_compiler/util.h bool GetItemFromList(const base::ListValue& from, int index, bool* out); base 23 tools/json_schema_compiler/util.h bool GetItemFromList(const base::ListValue& from, int index, double* out); base 24 tools/json_schema_compiler/util.h bool GetItemFromList(const base::ListValue& from, int index, std::string* out); base 25 tools/json_schema_compiler/util.h bool GetItemFromList(const base::ListValue& from, base 27 tools/json_schema_compiler/util.h linked_ptr<base::Value>* out); base 28 tools/json_schema_compiler/util.h bool GetItemFromList(const base::ListValue& from, base 30 tools/json_schema_compiler/util.h linked_ptr<base::DictionaryValue>* out); base 34 tools/json_schema_compiler/util.h bool GetItemFromList(const base::ListValue& from, base 37 tools/json_schema_compiler/util.h const base::DictionaryValue* dict; base 51 tools/json_schema_compiler/util.h const base::ListValue& list, std::vector<T>* out) { base 67 tools/json_schema_compiler/util.h const base::DictionaryValue& from, base 70 tools/json_schema_compiler/util.h const base::ListValue* list = NULL; base 82 tools/json_schema_compiler/util.h const base::ListValue& list, base 102 tools/json_schema_compiler/util.h const base::DictionaryValue& from, base 105 tools/json_schema_compiler/util.h const base::ListValue* list = NULL; base 107 tools/json_schema_compiler/util.h const base::Value* maybe_list = NULL; base 112 tools/json_schema_compiler/util.h if (!maybe_list->IsType(base::Value::TYPE_LIST)) base 114 tools/json_schema_compiler/util.h list = static_cast<const base::ListValue*>(maybe_list); base 122 tools/json_schema_compiler/util.h void AddItemToList(const int from, base::ListValue* out); base 123 tools/json_schema_compiler/util.h void AddItemToList(const bool from, base::ListValue* out); base 124 tools/json_schema_compiler/util.h void AddItemToList(const double from, base::ListValue* out); base 125 tools/json_schema_compiler/util.h void AddItemToList(const std::string& from, base::ListValue* out); base 126 tools/json_schema_compiler/util.h void AddItemToList(const linked_ptr<base::Value>& from, base 127 tools/json_schema_compiler/util.h base::ListValue* out); base 128 tools/json_schema_compiler/util.h void AddItemToList(const linked_ptr<base::DictionaryValue>& from, base 129 tools/json_schema_compiler/util.h base::ListValue* out); base 133 tools/json_schema_compiler/util.h void AddItemToList(const linked_ptr<T>& from, base::ListValue* out) { base 142 tools/json_schema_compiler/util.h base::ListValue* out) { base 155 tools/json_schema_compiler/util.h base::ListValue* out) { base 162 tools/json_schema_compiler/util.h scoped_ptr<base::Value> CreateValueFromArray(const std::vector<T>& from) { base 163 tools/json_schema_compiler/util.h base::ListValue* list = new base::ListValue(); base 165 tools/json_schema_compiler/util.h return scoped_ptr<base::Value>(list); base 169 tools/json_schema_compiler/util.h scoped_ptr<base::Value> CreateValueFromOptionalArray( base 173 tools/json_schema_compiler/util.h return scoped_ptr<base::Value>(); base 176 tools/json_schema_compiler/util.h std::string ValueTypeToString(base::Value::Type type); base 38 tools/memory_watcher/call_stack.cc base::Lock CallStack::dbghelp_lock_; base 74 tools/memory_watcher/call_stack.cc base::AutoLock Lock(dbghelp_lock_); base 139 tools/memory_watcher/call_stack.cc DWORD64 base; base 142 tools/memory_watcher/call_stack.cc base = pSymLoadModule64(process_handle, base 148 tools/memory_watcher/call_stack.cc if (base == 0) { base 292 tools/memory_watcher/call_stack.cc base::AutoLock lock(dbghelp_lock_); base 345 tools/memory_watcher/call_stack.cc line += base::IntToString(Line.LineNumber).c_str(); base 376 tools/memory_watcher/call_stack.cc base::Lock AllocationStack::freelist_lock_; base 382 tools/memory_watcher/call_stack.cc base::AutoLock lock(freelist_lock_); base 395 tools/memory_watcher/call_stack.cc base::AutoLock lock(freelist_lock_); base 113 tools/memory_watcher/call_stack.h static base::Lock dbghelp_lock_; base 163 tools/memory_watcher/call_stack.h static base::Lock freelist_lock_; base 25 tools/memory_watcher/dllmain.cc static base::AtExitManager* g_memory_watcher_exit_manager = NULL; base 45 tools/memory_watcher/dllmain.cc g_memory_watcher_exit_manager = new base::AtExitManager(); base 278 tools/memory_watcher/memory_hook.cc static base::Lock known_maps_lock; base 293 tools/memory_watcher/memory_hook.cc base::AutoLock lock(known_maps_lock); base 329 tools/memory_watcher/memory_hook.cc base::AutoLock lock(known_maps_lock); base 20 tools/memory_watcher/memory_watcher.cc static base::StatsCounter mem_in_use("MemoryInUse.Bytes"); base 21 tools/memory_watcher/memory_watcher.cc static base::StatsCounter mem_in_use_blocks("MemoryInUse.Blocks"); base 22 tools/memory_watcher/memory_watcher.cc static base::StatsCounter mem_in_use_allocs("MemoryInUse.Allocs"); base 23 tools/memory_watcher/memory_watcher.cc static base::StatsCounter mem_in_use_frees("MemoryInUse.Frees"); base 83 tools/memory_watcher/memory_watcher.cc std::wstring tmp_name = base::ASCIIToWide(file_name_); base 85 tools/memory_watcher/memory_watcher.cc base::Move(base::FilePath(tmp_name), base 86 tools/memory_watcher/memory_watcher.cc base::FilePath(base::ASCIIToWide(file_name_))); base 111 tools/memory_watcher/memory_watcher.cc base::AutoLock lock(block_map_lock_); base 155 tools/memory_watcher/memory_watcher.cc base::AutoLock lock(block_map_lock_); base 201 tools/memory_watcher/memory_watcher.cc base::AutoLock lock(block_map_lock_); base 79 tools/memory_watcher/memory_watcher.h base::Lock block_map_lock_; base 19 tools/perf/clear_system_cache/clear_system_cache_main.cc void ClearCacheForFile(const base::FilePath& path) { base 21 tools/perf/clear_system_cache/clear_system_cache_main.cc base::EvictFileFromSystemCache(path); base 36 tools/perf/clear_system_cache/clear_system_cache_main.cc base::FilePath path(args[i]); base 37 tools/perf/clear_system_cache/clear_system_cache_main.cc if (!base::PathExists(path)) { base 42 tools/perf/clear_system_cache/clear_system_cache_main.cc if (base::DirectoryExists(path)) { base 43 tools/perf/clear_system_cache/clear_system_cache_main.cc base::FileEnumerator enumerator(path, should_recurse, base 44 tools/perf/clear_system_cache/clear_system_cache_main.cc base::FileEnumerator::FILES); base 45 tools/perf/clear_system_cache/clear_system_cache_main.cc for (base::FilePath next = enumerator.Next(); !next.empty(); base 33 tools/set_default_handler/set_default_handler_main.cc base::AtExitManager exit_manager; base 42 tools/set_default_handler/set_default_handler_main.cc base::string16 protocol(command_line->GetSwitchValueNative(kSwitchProtocol)); base 46 tools/set_default_handler/set_default_handler_main.cc base::string16 program(command_line->GetSwitchValueNative(kSwitchProgram)); base 50 tools/set_default_handler/set_default_handler_main.cc std::vector<base::string16> choices; base 178 tools/traceline/traceline/assembler.h Operand(Register base, int disp) { base 179 tools/traceline/traceline/assembler.h Init(base, disp); base 183 tools/traceline/traceline/assembler.h Operand(Register base, Register index, ScaleFactor scale, int disp) { base 184 tools/traceline/traceline/assembler.h Init(base, index, scale, disp); base 213 tools/traceline/traceline/assembler.h void Init(Register base, int disp) { base 216 tools/traceline/traceline/assembler.h set_modrm(0, base); base 217 tools/traceline/traceline/assembler.h if (base == ESP) set_sib(SCALE_TIMES_1, ESP, base); base 220 tools/traceline/traceline/assembler.h set_modrm(1, base); base 221 tools/traceline/traceline/assembler.h if (base == ESP) set_sib(SCALE_TIMES_1, ESP, base); base 225 tools/traceline/traceline/assembler.h set_modrm(2, base); base 226 tools/traceline/traceline/assembler.h if (base == ESP) set_sib(SCALE_TIMES_1, ESP, base); base 232 tools/traceline/traceline/assembler.h void Init(Register base, base 237 tools/traceline/traceline/assembler.h if (disp == 0 && base != EBP) { base 240 tools/traceline/traceline/assembler.h set_sib(scale, index, base); base 244 tools/traceline/traceline/assembler.h set_sib(scale, index, base); base 249 tools/traceline/traceline/assembler.h set_sib(scale, index, base); base 284 tools/traceline/traceline/assembler.h void set_sib(ScaleFactor scale, Register index, Register base) { base 287 tools/traceline/traceline/assembler.h buf_[1] = scale << 6 | index << 3 | base; base 20 tools/traceline/traceline/sym_resolver.h static BOOL CALLBACK SymEnumer(PCSTR name, DWORD64 base, PVOID context) { base 21 tools/traceline/traceline/sym_resolver.h reinterpret_cast<std::vector<DWORD64>*>(context)->push_back(base); base 125 tools/traceline/traceline/sym_resolver.h int base = static_cast<int>(info.info.ModBase); base 127 tools/traceline/traceline/sym_resolver.h if (dlls_.count(base) == 1) { base 128 tools/traceline/traceline/sym_resolver.h name.append(dlls_[base]); base 29 ui/accessibility/ax_generated_tree_unittest.cc *out_result += base::IntToString(node->id()); base 204 ui/accessibility/ax_generated_tree_unittest.cc SCOPED_TRACE("i=" + base::IntToString(i) + base 205 ui/accessibility/ax_generated_tree_unittest.cc " j=" + base::IntToString(j) + base 206 ui/accessibility/ax_generated_tree_unittest.cc " k=" + base::IntToString(k)); base 14 ui/accessibility/ax_node_data.cc using base::DoubleToString; base 15 ui/accessibility/ax_node_data.cc using base::IntToString; base 12 ui/accessibility/ax_text_utils.cc size_t FindAccessibleTextBoundary(const base::string16& text, base 46 ui/accessibility/ax_text_utils.h FindAccessibleTextBoundary(const base::string16& text, base 77 ui/accessibility/ax_tree.cc base::hash_map<int32, AXNode*>::const_iterator iter = id_map_.find(id); base 88 ui/accessibility/ax_tree.cc error_ = base::StringPrintf("Bad node_id_to_clear: %d", base 113 ui/accessibility/ax_tree.cc error_ += base::StringPrintf(" %d", (*iter)->id()); base 157 ui/accessibility/ax_tree.cc error_ = base::StringPrintf( base 214 ui/accessibility/ax_tree.cc error_ = base::StringPrintf("Node %d has duplicate child id %d", base 246 ui/accessibility/ax_tree.cc error_ = base::StringPrintf( base 105 ui/accessibility/ax_tree.h base::hash_map<int32, AXNode*> id_map_; base 147 ui/accessibility/ax_tree_serializer.h base::hash_map<int32, ClientTreeNode*> client_id_map_; base 279 ui/accessibility/ax_tree_serializer.h base::hash_map<int32, ClientTreeNode*>::iterator iter = base 382 ui/accessibility/ax_tree_serializer.h base::hash_set<int32> new_child_ids; base 402 ui/accessibility/ax_tree_serializer.h base::hash_map<int32, ClientTreeNode*> client_child_id_map; base 37 ui/accessibility/ax_view_state.h base::string16 name; base 40 ui/accessibility/ax_view_state.h base::string16 value; base 43 ui/accessibility/ax_view_state.h base::string16 default_action; base 46 ui/accessibility/ax_view_state.h base::string16 keyboard_shortcut; base 68 ui/accessibility/ax_view_state.h base::Callback<void(const base::string16&)> set_value_callback; base 16 ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java import org.chromium.base.ApiCompatibilityUtils; base 18 ui/android/java/src/org/chromium/ui/ColorSuggestionListAdapter.java import org.chromium.base.ApiCompatibilityUtils; base 17 ui/android/java/src/org/chromium/ui/autofill/AutofillListAdapter.java import org.chromium.base.ApiCompatibilityUtils; base 19 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java import org.chromium.ui.base.ViewAndroidDelegate; base 5 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java package org.chromium.ui.base; base 5 ui/android/java/src/org/chromium/ui/base/Clipboard.java package org.chromium.ui.base; base 12 ui/android/java/src/org/chromium/ui/base/Clipboard.java import org.chromium.base.ApiCompatibilityUtils; base 13 ui/android/java/src/org/chromium/ui/base/Clipboard.java import org.chromium.base.CalledByNative; base 14 ui/android/java/src/org/chromium/ui/base/Clipboard.java import org.chromium.base.JNINamespace; base 5 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java package org.chromium.ui.base; base 10 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java import org.chromium.base.ApiCompatibilityUtils; base 11 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java import org.chromium.base.ApplicationStatus; base 12 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java import org.chromium.base.CalledByNative; base 13 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java import org.chromium.base.JNINamespace; base 5 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java package org.chromium.ui.base; base 16 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java import org.chromium.base.CalledByNative; base 17 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java import org.chromium.base.JNINamespace; base 5 ui/android/java/src/org/chromium/ui/base/TouchDevice.java package org.chromium.ui.base; base 10 ui/android/java/src/org/chromium/ui/base/TouchDevice.java import org.chromium.base.CalledByNative; base 11 ui/android/java/src/org/chromium/ui/base/TouchDevice.java import org.chromium.base.JNINamespace; base 5 ui/android/java/src/org/chromium/ui/base/ViewAndroid.java package org.chromium.ui.base; base 9 ui/android/java/src/org/chromium/ui/base/ViewAndroid.java import org.chromium.base.JNINamespace; base 5 ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java package org.chromium.ui.base; base 5 ui/android/java/src/org/chromium/ui/base/WindowAndroid.java package org.chromium.ui.base; base 18 ui/android/java/src/org/chromium/ui/base/WindowAndroid.java import org.chromium.base.CalledByNative; base 19 ui/android/java/src/org/chromium/ui/base/WindowAndroid.java import org.chromium.base.JNINamespace; base 11 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java import org.chromium.base.CalledByNative; base 12 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java import org.chromium.base.JNINamespace; base 15 ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java import org.chromium.base.CalledByNative; base 16 ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java import org.chromium.base.JNINamespace; base 13 ui/android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java import org.chromium.base.CalledByNative; base 14 ui/android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java import org.chromium.base.JNINamespace; base 9 ui/android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java import org.chromium.base.JNINamespace; base 11 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java import org.chromium.base.CalledByNative; base 12 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java import org.chromium.base.JNINamespace; base 204 ui/app_list/app_list_folder_item.cc return base::GenerateGUID(); base 59 ui/app_list/app_list_item_list_unittest.cc return base::StringPrintf("Item %d", id); base 17 ui/app_list/app_list_view_delegate.h namespace base { base 48 ui/app_list/app_list_view_delegate.h base::string16 name; base 51 ui/app_list/app_list_view_delegate.h base::string16 email; base 54 ui/app_list/app_list_view_delegate.h base::FilePath profile_path; base 70 ui/app_list/app_list_view_delegate.h virtual void SetProfileByPath(const base::FilePath& profile_path) = 0; base 86 ui/app_list/app_list_view_delegate.h const base::Callback<void(const base::FilePath&)>& callback) = 0; base 109 ui/app_list/app_list_view_delegate.h virtual base::TimeDelta GetAutoLaunchTimeout() = 0; base 140 ui/app_list/app_list_view_delegate.h virtual void ShowForProfileByPath(const base::FilePath& profile_path) = 0; base 35 ui/app_list/cocoa/app_list_view_controller.h base::scoped_nsobject<AppsGridController> appsGridController_; base 36 ui/app_list/cocoa/app_list_view_controller.h base::scoped_nsobject<AppListPagerView> pagerControl_; base 37 ui/app_list/cocoa/app_list_view_controller.h base::scoped_nsobject<AppsSearchBoxController> appsSearchBoxController_; base 38 ui/app_list/cocoa/app_list_view_controller.h base::scoped_nsobject<AppsSearchResultsController> base 40 ui/app_list/cocoa/app_list_view_controller.h base::scoped_nsobject<SigninViewController> signinViewController_; base 43 ui/app_list/cocoa/app_list_view_controller.h base::scoped_nsobject<NSView> backgroundView_; base 46 ui/app_list/cocoa/app_list_view_controller.h base::scoped_nsobject<NSView> contentsView_; base 49 ui/app_list/cocoa/app_list_view_controller.h base::scoped_nsobject<NSProgressIndicator> loadingIndicator_; base 19 ui/app_list/cocoa/app_list_window_controller.h base::scoped_nsobject<AppListViewController> appListViewController_; base 22 ui/app_list/cocoa/apps_collection_view_drag_manager.h base::scoped_nsobject<ItemDragController> itemDragController_; base 35 ui/app_list/cocoa/apps_grid_controller.h base::scoped_nsobject<AppsCollectionViewDragManager> dragManager_; base 36 ui/app_list/cocoa/apps_grid_controller.h base::scoped_nsobject<NSMutableArray> pages_; base 37 ui/app_list/cocoa/apps_grid_controller.h base::scoped_nsobject<NSMutableArray> items_; base 38 ui/app_list/cocoa/apps_grid_controller.h base::scoped_nsobject<NSTimer> scrollWhileDraggingTimer_; base 25 ui/app_list/cocoa/apps_grid_view_item.h base::scoped_nsobject<NSProgressIndicator> progressIndicator_; base 39 ui/app_list/cocoa/apps_search_box_controller.h base::scoped_nsobject<SearchTextField> searchTextField_; base 40 ui/app_list/cocoa/apps_search_box_controller.h base::scoped_nsobject<NSImageView> searchImageView_; base 41 ui/app_list/cocoa/apps_search_box_controller.h base::scoped_nsobject<HoverImageMenuButton> menuButton_; base 42 ui/app_list/cocoa/apps_search_box_controller.h base::scoped_nsobject<AppListMenuController> menuController_; base 39 ui/app_list/cocoa/apps_search_results_controller.h base::scoped_nsobject<NSTableView> tableView_; base 22 ui/app_list/cocoa/item_drag_controller.h base::scoped_nsobject<CALayer> dragLayer_; base 23 ui/app_list/cocoa/item_drag_controller.h base::scoped_nsobject<NSButton> buttonToRestore_; base 58 ui/app_list/cocoa/test/apps_grid_controller_test_helper.h base::MessageLoopForUI message_loop_; base 50 ui/app_list/pagination_model.cc const base::TimeTicks now = base::TimeTicks::Now(); base 54 ui/app_list/pagination_model.cc const base::TimeDelta time_elapsed = base 135 ui/app_list/pagination_model.h base::TimeTicks last_overscroll_animation_start_time_; base 60 ui/app_list/pagination_model_unittest.cc selected_pages_.append(base::StringPrintf("%d", page)); base 71 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Quit(); base 91 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Quit(); base 148 ui/app_list/pagination_model_unittest.cc base::MessageLoopForUI message_loop_; base 176 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 186 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 196 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 208 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 223 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 236 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 245 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 254 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 263 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 279 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 301 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 331 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 346 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 363 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 378 ui/app_list/pagination_model_unittest.cc base::MessageLoop::current()->Run(); base 14 ui/app_list/search_box_model.cc const base::string16& on_tooltip, base 16 ui/app_list/search_box_model.cc const base::string16& off_tooltip) base 45 ui/app_list/search_box_model.cc void SearchBoxModel::SetHintText(const base::string16& hint_text) { base 63 ui/app_list/search_box_model.cc void SearchBoxModel::SetText(const base::string16& text) { base 29 ui/app_list/search_box_model.h const base::string16& on_tooltip, base 31 ui/app_list/search_box_model.h const base::string16& off_tooltip); base 36 ui/app_list/search_box_model.h base::string16 on_tooltip; base 40 ui/app_list/search_box_model.h base::string16 off_tooltip; base 58 ui/app_list/search_box_model.h void SetHintText(const base::string16& hint_text); base 59 ui/app_list/search_box_model.h const base::string16& hint_text() const { return hint_text_; } base 68 ui/app_list/search_box_model.h void SetText(const base::string16& text); base 69 ui/app_list/search_box_model.h const base::string16& text() const { return text_; } base 77 ui/app_list/search_box_model.h base::string16 hint_text_; base 79 ui/app_list/search_box_model.h base::string16 text_; base 14 ui/app_list/search_result.cc const base::string16& tooltip_text) base 20 ui/app_list/search_result.cc SearchResult::Action::Action(const base::string16& label_text, base 21 ui/app_list/search_result.cc const base::string16& tooltip_text) base 59 ui/app_list/search_result.h const base::string16& tooltip_text); base 60 ui/app_list/search_result.h Action(const base::string16& label_text, base 61 ui/app_list/search_result.h const base::string16& tooltip_text); base 68 ui/app_list/search_result.h base::string16 tooltip_text; base 69 ui/app_list/search_result.h base::string16 label_text; base 79 ui/app_list/search_result.h const base::string16& title() const { return title_; } base 80 ui/app_list/search_result.h void set_title(const base::string16& title) { title_ = title;} base 85 ui/app_list/search_result.h const base::string16& details() const { return details_; } base 86 ui/app_list/search_result.h void set_details(const base::string16& details) { details_ = details; } base 116 ui/app_list/search_result.h base::string16 title_; base 119 ui/app_list/search_result.h base::string16 details_; base 24 ui/app_list/signin_delegate.h virtual base::string16 GetSigninHeading() = 0; base 25 ui/app_list/signin_delegate.h virtual base::string16 GetSigninText() = 0; base 26 ui/app_list/signin_delegate.h virtual base::string16 GetSigninButtonText() = 0; base 27 ui/app_list/signin_delegate.h virtual base::string16 GetLearnMoreLinkText() = 0; base 28 ui/app_list/signin_delegate.h virtual base::string16 GetSettingsLinkText() = 0; base 25 ui/app_list/speech_ui_model.cc void SpeechUIModel::SetSpeechResult(const base::string16& result, base 23 ui/app_list/speech_ui_model.h void SetSpeechResult(const base::string16& result, bool is_final); base 30 ui/app_list/speech_ui_model.h const base::string16& result() const { return result_; } base 38 ui/app_list/speech_ui_model.h base::string16 result_; base 31 ui/app_list/speech_ui_model_observer.h virtual void OnSpeechResult(const base::string16& result, bool is_final) {} base 63 ui/app_list/test/app_list_test_model.cc return base::StringPrintf("Item %d", id); base 32 ui/app_list/test/app_list_test_view_delegate.cc virtual base::string16 GetSigninHeading() OVERRIDE { base 33 ui/app_list/test/app_list_test_view_delegate.cc return base::string16(); base 35 ui/app_list/test/app_list_test_view_delegate.cc virtual base::string16 GetSigninText() OVERRIDE { return base::string16(); } base 36 ui/app_list/test/app_list_test_view_delegate.cc virtual base::string16 GetSigninButtonText() OVERRIDE { base 37 ui/app_list/test/app_list_test_view_delegate.cc return base::string16(); base 39 ui/app_list/test/app_list_test_view_delegate.cc virtual base::string16 GetLearnMoreLinkText() OVERRIDE { base 40 ui/app_list/test/app_list_test_view_delegate.cc return base::string16(); base 42 ui/app_list/test/app_list_test_view_delegate.cc virtual base::string16 GetSettingsLinkText() OVERRIDE { base 43 ui/app_list/test/app_list_test_view_delegate.cc return base::string16(); base 87 ui/app_list/test/app_list_test_view_delegate.cc const base::Callback<void(const base::FilePath&)>& callback) { base 88 ui/app_list/test/app_list_test_view_delegate.cc callback.Run(base::FilePath()); base 104 ui/app_list/test/app_list_test_view_delegate.cc base::TimeDelta AppListTestViewDelegate::GetAutoLaunchTimeout() { base 109 ui/app_list/test/app_list_test_view_delegate.cc auto_launch_timeout_ = base::TimeDelta(); base 39 ui/app_list/test/app_list_test_view_delegate.h void set_auto_launch_timeout(const base::TimeDelta& timeout) { base 49 ui/app_list/test/app_list_test_view_delegate.h virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE {} base 55 ui/app_list/test/app_list_test_view_delegate.h const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; base 64 ui/app_list/test/app_list_test_view_delegate.h virtual base::TimeDelta GetAutoLaunchTimeout() OVERRIDE; base 75 ui/app_list/test/app_list_test_view_delegate.h const base::FilePath& profile_path) OVERRIDE {} base 97 ui/app_list/test/app_list_test_view_delegate.h base::TimeDelta auto_launch_timeout_; base 20 ui/app_list/test/run_all_unittests.cc class AppListTestSuite : public base::TestSuite { base 22 ui/app_list/test/run_all_unittests.cc AppListTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {} base 29 ui/app_list/test/run_all_unittests.cc base::TestSuite::Initialize(); base 32 ui/app_list/test/run_all_unittests.cc base::FilePath pak_dir; base 33 ui/app_list/test/run_all_unittests.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 35 ui/app_list/test/run_all_unittests.cc base::FilePath pak_file; base 43 ui/app_list/test/run_all_unittests.cc base::TestSuite::Shutdown(); base 55 ui/app_list/test/run_all_unittests.cc return base::LaunchUnitTests( base 58 ui/app_list/test/run_all_unittests.cc base::Bind(&AppListTestSuite::Run, base::Unretained(&test_suite))); base 108 ui/app_list/views/app_list_folder_view.cc animation.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 137 ui/app_list/views/app_list_item_view.cc title_->SetTooltipText(display_name == item_->name() ? base::string16() base 138 ui/app_list/views/app_list_item_view.cc : base::UTF8ToUTF16(item_->name())); base 230 ui/app_list/views/app_list_item_view.cc title_->SetText(base::UTF8ToUTF16(item_->GetDisplayName())); base 234 ui/app_list/views/app_list_item_view.cc SetAccessibleName(base::UTF8ToUTF16(item_->name())); base 371 ui/app_list/views/app_list_item_view.cc base::TimeDelta::FromMilliseconds(kMouseDragUIDelayInMs), base 144 ui/app_list/views/app_list_item_view.h base::OneShotTimer<AppListItemView> mouse_drag_timer_; base 137 ui/app_list/views/app_list_main_view.cc base::TimeDelta::FromMilliseconds(kMaxIconLoadingWaitTimeInMs), base 232 ui/app_list/views/app_list_main_view.cc const base::Callback<void(const base::FilePath&)>& callback) { base 237 ui/app_list/views/app_list_main_view.cc base::string16 query; base 238 ui/app_list/views/app_list_main_view.cc base::TrimWhitespace(model_->search_box()->text(), base::TRIM_ALL, &query); base 257 ui/app_list/views/app_list_main_view.cc base::MessageLoop::current()->PostTask( base 259 ui/app_list/views/app_list_main_view.cc base::Bind(&AppListMainView::QueryChanged, base 87 ui/app_list/views/app_list_main_view.h const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; base 105 ui/app_list/views/app_list_main_view.h base::OneShotTimer<AppListMainView> icon_loading_wait_timer_; base 109 ui/app_list/views/app_list_main_view.h base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; base 235 ui/app_list/views/app_list_view.cc void AppListView::SetProfileByPath(const base::FilePath& profile_path) { base 351 ui/app_list/views/app_list_view.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7) base 16 ui/app_list/views/app_list_view.h namespace base { base 92 ui/app_list/views/app_list_view.h void SetProfileByPath(const base::FilePath& profile_path); base 215 ui/app_list/views/apps_grid_view.cc void set_shortcut_path(const base::FilePath& shortcut_path) { base 307 ui/app_list/views/apps_grid_view.cc base::FilePath shortcut_path_; base 452 ui/app_list/views/apps_grid_view.cc void AppsGridView::OnGotShortcutPath(const base::FilePath& path) { base 482 ui/app_list/views/apps_grid_view.cc base::Bind(&AppsGridView::OnGotShortcutPath, base::Unretained(this))); base 580 ui/app_list/views/apps_grid_view.cc base::TimeDelta::FromMilliseconds(kReorderDelay), base 585 ui/app_list/views/apps_grid_view.cc base::TimeDelta::FromMilliseconds(kFolderDroppingDelay), base 705 ui/app_list/views/apps_grid_view.cc animation.SetTransitionDuration(base::TimeDelta::FromMilliseconds( base 830 ui/app_list/views/apps_grid_view.cc const int forward_dir = base::i18n::IsRTL() ? -1 : 1; base 1332 ui/app_list/views/apps_grid_view.cc base::TimeDelta::FromMilliseconds(kFolderItemReparentDelay), base 1558 ui/app_list/views/apps_grid_view.cc base::TimeDelta::FromMilliseconds(page_flip_delay_in_ms_), base 1848 ui/app_list/views/apps_grid_view.cc base::MessageLoopForUI::current()->PostTask( base 1850 ui/app_list/views/apps_grid_view.cc base::Bind(&AppsGridView::RemoveFolderIfOnlyOneItemLeft, base 122 ui/app_list/views/apps_grid_view.h void OnGotShortcutPath(const base::FilePath& path); base 499 ui/app_list/views/apps_grid_view.h base::OneShotTimer<AppsGridView> reorder_timer_; base 503 ui/app_list/views/apps_grid_view.h base::OneShotTimer<AppsGridView> folder_dropping_timer_; base 506 ui/app_list/views/apps_grid_view.h base::OneShotTimer<AppsGridView> folder_item_reparent_timer_; base 519 ui/app_list/views/apps_grid_view.h base::OneShotTimer<AppsGridView> page_flip_timer_; base 540 ui/app_list/views/apps_grid_view.h base::WeakPtrFactory<AppsGridView> weak_factory_; base 13 ui/app_list/views/apps_grid_view_delegate.h namespace base { base 31 ui/app_list/views/apps_grid_view_delegate.h const base::Callback<void(const base::FilePath&)>& callback) = 0; base 44 ui/app_list/views/apps_grid_view_unittest.cc PageFlipWaiter(base::MessageLoopForUI* ui_loop, PaginationModel* model) base 61 ui/app_list/views/apps_grid_view_unittest.cc base::TimeDelta::FromMilliseconds(time_out_ms), base 89 ui/app_list/views/apps_grid_view_unittest.cc base::MessageLoopForUI* ui_loop_; base 93 ui/app_list/views/apps_grid_view_unittest.cc base::OneShotTimer<PageFlipWaiter> wait_timer_; base 690 ui/app_list/views/apps_grid_view_unittest.cc base::string16 actual_tooltip; base 696 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(expected_tooltip, base::UTF16ToUTF8(actual_tooltip)); base 697 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(expected_text, base::UTF16ToUTF8(title_label->text())); base 707 ui/app_list/views/apps_grid_view_unittest.cc base::string16 actual_tooltip; base 713 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(title, base::UTF16ToUTF8(title_label->text())); base 56 ui/app_list/views/folder_background_view.cc base::TimeDelta::FromMilliseconds((kBubbleTransitionDurationMs))); base 115 ui/app_list/views/folder_header_view.cc folder_name_view_->SetText(base::UTF8ToUTF16(folder_item_->name())); base 121 ui/app_list/views/folder_header_view.cc const base::string16& FolderHeaderView::GetFolderNameForTest() { base 125 ui/app_list/views/folder_header_view.cc void FolderHeaderView::SetFolderNameForTest(const base::string16& name) { base 147 ui/app_list/views/folder_header_view.cc base::string16 text = folder_item_->name().empty() base 149 ui/app_list/views/folder_header_view.cc : base::UTF8ToUTF16(folder_item_->name()); base 183 ui/app_list/views/folder_header_view.cc const base::string16& new_contents) { base 190 ui/app_list/views/folder_header_view.cc std::string name = base::UTF16ToUTF8( base 54 ui/app_list/views/folder_header_view.h const base::string16& GetFolderNameForTest(); base 55 ui/app_list/views/folder_header_view.h void SetFolderNameForTest(const base::string16& name); base 67 ui/app_list/views/folder_header_view.h const base::string16& new_contents) OVERRIDE; base 85 ui/app_list/views/folder_header_view.h const base::string16 folder_name_placeholder_text_; base 76 ui/app_list/views/folder_header_view_unittest.cc base::string16 folder_name = base::UTF8ToUTF16(name); base 82 ui/app_list/views/folder_header_view_unittest.cc return base::UTF16ToUTF8(folder_header_view_->GetFolderNameForTest()); base 45 ui/app_list/views/pulsing_block_view.cc base::TimeDelta::FromMilliseconds(kAnimationDurationInMs))); base 50 ui/app_list/views/pulsing_block_view.cc base::TimeDelta::FromMilliseconds(kAnimationDurationInMs))); base 56 ui/app_list/views/pulsing_block_view.cc base::TimeDelta::FromMilliseconds(kAnimationDurationInMs))); base 61 ui/app_list/views/pulsing_block_view.cc base::TimeDelta::FromMilliseconds(kAnimationDurationInMs))); base 79 ui/app_list/views/pulsing_block_view.cc const int delay = start_delay ? base::RandInt(0, max_delay) : 0; base 82 ui/app_list/views/pulsing_block_view.cc base::TimeDelta::FromMilliseconds(delay), base 33 ui/app_list/views/pulsing_block_view.h base::OneShotTimer<PulsingBlockView> start_delay_timer_; base 58 ui/app_list/views/search_box_view.cc menu_button_ = new views::MenuButton(NULL, base::string16(), this, false); base 99 ui/app_list/views/search_box_view.cc search_box_->SetText(base::string16()); base 180 ui/app_list/views/search_box_view.cc const base::string16& new_contents) { base 71 ui/app_list/views/search_box_view.h const base::string16& new_contents) OVERRIDE; base 71 ui/app_list/views/search_box_view_unittest.cc view_delegate_.set_auto_launch_timeout(base::TimeDelta::FromDays(1)); base 74 ui/app_list/views/search_box_view_unittest.cc base::TimeDelta GetAutoLaunchTimeout() { base 79 ui/app_list/views/search_box_view_unittest.cc view_delegate_.set_auto_launch_timeout(base::TimeDelta()); base 91 ui/app_list/views/search_box_view_unittest.cc base::char16 character = ::tolower(static_cast<int>(key_code)); base 92 ui/app_list/views/search_box_view_unittest.cc view_->search_box()->InsertText(base::string16(1, character)); base 97 ui/app_list/views/search_box_view_unittest.cc base::string16 query = last_query_; base 99 ui/app_list/views/search_box_view_unittest.cc return base::UTF16ToUTF8(query); base 119 ui/app_list/views/search_box_view_unittest.cc base::string16 last_query_; base 142 ui/app_list/views/search_box_view_unittest.cc ASSERT_NE(base::TimeDelta(), GetAutoLaunchTimeout()); base 146 ui/app_list/views/search_box_view_unittest.cc EXPECT_EQ(base::TimeDelta(), GetAutoLaunchTimeout()); base 153 ui/app_list/views/search_box_view_unittest.cc EXPECT_NE(base::TimeDelta(), GetAutoLaunchTimeout()); base 159 ui/app_list/views/search_box_view_unittest.cc EXPECT_EQ(base::TimeDelta(), GetAutoLaunchTimeout()); base 136 ui/app_list/views/search_result_list_view.cc const base::TimeDelta& timeout) { base 137 ui/app_list/views/search_result_list_view.cc if (timeout > base::TimeDelta()) { base 150 ui/app_list/views/search_result_list_view.cc SetAutoLaunchTimeout(base::TimeDelta()); base 185 ui/app_list/views/search_result_list_view.cc base::MessageLoop::current()->PostTask( base 187 ui/app_list/views/search_result_list_view.cc base::Bind(&SearchResultListView::Update, base 64 ui/app_list/views/search_result_list_view.h void SetAutoLaunchTimeout(const base::TimeDelta& timeout); base 108 ui/app_list/views/search_result_list_view.h base::WeakPtrFactory<SearchResultListView> update_factory_; base 43 ui/app_list/views/search_result_list_view_unittest.cc view_delegate_.set_auto_launch_timeout(base::TimeDelta::FromDays(1)); base 46 ui/app_list/views/search_result_list_view_unittest.cc base::TimeDelta GetAutoLaunchTimeout() { base 167 ui/app_list/views/search_result_list_view_unittest.cc EXPECT_EQ(base::TimeDelta(), GetAutoLaunchTimeout()); base 40 ui/app_list/views/search_result_view.cc gfx::RenderText* CreateRenderText(const base::string16& text, base 116 ui/app_list/views/search_result_view.cc SetAccessibleName(base::string16()); base 135 ui/app_list/views/speech_view.cc base::string16(), bundle.GetFontList(ui::ResourceBundle::LargeFont)); base 219 ui/app_list/views/speech_view.cc void SpeechView::OnSpeechResult(const base::string16& result, base 48 ui/app_list/views/speech_view.h virtual void OnSpeechResult(const base::string16& result, base 63 ui/app_list/views/top_icon_animation_view.cc base::TimeDelta::FromMilliseconds(kFolderTransitionInDurationMs)); base 47 ui/aura/bench/bench_main.cc using base::TimeTicks; base 75 ui/aura/bench/bench_main.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 76 ui/aura/bench/bench_main.cc return base::Closure(); base 103 ui/aura/bench/bench_main.cc base::TimeTicks start_time) OVERRIDE {} base 118 ui/aura/bench/bench_main.cc base::MessageLoop::current()->Quit(); base 191 ui/aura/bench/bench_main.cc base::SplitString(webgl_size, 'x', &split_size); base 292 ui/aura/bench/bench_main.cc base::AtExitManager exit_manager; base 307 ui/aura/bench/bench_main.cc base::i18n::InitializeICU(); base 309 ui/aura/bench/bench_main.cc base::MessageLoopForUI message_loop; base 365 ui/aura/bench/bench_main.cc base::MessageLoopForUI::current()->Run(); base 125 ui/aura/demo/demo_main.cc base::MessageLoopForUI message_loop; base 163 ui/aura/demo/demo_main.cc base::MessageLoopForUI::current()->Run(); base 174 ui/aura/demo/demo_main.cc base::AtExitManager exit_manager; base 176 ui/aura/demo/demo_main.cc base::i18n::InitializeICU(); base 17 ui/aura/device_list_updater_aurax11.cc base::EventStatus DeviceListUpdaterAuraX11::WillProcessEvent( base 18 ui/aura/device_list_updater_aurax11.cc const base::NativeEvent& event) { base 26 ui/aura/device_list_updater_aurax11.cc return base::EVENT_CONTINUE; base 29 ui/aura/device_list_updater_aurax11.cc void DeviceListUpdaterAuraX11::DidProcessEvent(const base::NativeEvent& event) { base 15 ui/aura/device_list_updater_aurax11.h class DeviceListUpdaterAuraX11 : public base::MessagePumpObserver { base 21 ui/aura/device_list_updater_aurax11.h virtual base::EventStatus WillProcessEvent( base 22 ui/aura/device_list_updater_aurax11.h const base::NativeEvent& event) OVERRIDE; base 24 ui/aura/device_list_updater_aurax11.h const base::NativeEvent& event) OVERRIDE; base 36 ui/aura/env.cc base::MessagePumpX11::Current()->RemoveObserver( base 86 ui/aura/env.cc base::MessagePumpX11::Current()->AddObserver( base 39 ui/aura/gestures/gesture_recognizer_unittest.cc base::IntToString(static_cast<Window*>(consumer)->id()) : "?"; base 207 ui/aura/gestures/gesture_recognizer_unittest.cc run_loop_.reset(new base::RunLoop()); base 302 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 465 ui/aura/gestures/gesture_recognizer_unittest.cc : public base::OneShotTimer<ui::GestureSequence> { base 495 ui/aura/gestures/gesture_recognizer_unittest.cc virtual base::OneShotTimer<ui::GestureSequence>* CreateTimer() OVERRIDE { base 530 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta GetTime() { base 562 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta Now() { base 563 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta t = base::TimeDelta::FromMilliseconds(simulated_now_); base 568 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta LeapForward(int time_in_millis) { base 570 ui/aura/gestures/gesture_recognizer_unittest.cc return base::TimeDelta::FromMilliseconds(simulated_now_); base 573 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta InFuture(int time_in_millis) { base 574 ui/aura/gestures/gesture_recognizer_unittest.cc return base::TimeDelta::FromMilliseconds(simulated_now_ + time_in_millis); base 594 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta::FromMilliseconds(simulated_now_)); base 609 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta::FromMilliseconds(simulated_now_)); base 1205 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta::FromMilliseconds(50)); base 1810 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta::FromMilliseconds(50)); base 2477 ui/aura/gestures/gesture_recognizer_unittest.cc base::TimeDelta::FromMilliseconds(20), base 65 ui/aura/remote_window_tree_host_win.cc const base::string16& text, base 85 ui/aura/remote_window_tree_host_win.cc void HandleOpenFile(const base::string16& title, base 86 ui/aura/remote_window_tree_host_win.cc const base::FilePath& default_path, base 87 ui/aura/remote_window_tree_host_win.cc const base::string16& filter, base 98 ui/aura/remote_window_tree_host_win.cc void HandleOpenMultipleFiles(const base::string16& title, base 99 ui/aura/remote_window_tree_host_win.cc const base::FilePath& default_path, base 100 ui/aura/remote_window_tree_host_win.cc const base::string16& filter, base 112 ui/aura/remote_window_tree_host_win.cc void HandleSaveFile(const base::string16& title, base 113 ui/aura/remote_window_tree_host_win.cc const base::FilePath& default_path, base 114 ui/aura/remote_window_tree_host_win.cc const base::string16& filter, base 116 ui/aura/remote_window_tree_host_win.cc const base::string16& default_extension, base 129 ui/aura/remote_window_tree_host_win.cc void HandleSelectFolder(const base::string16& title, base 138 ui/aura/remote_window_tree_host_win.cc void HandleActivateDesktop(const base::FilePath& shortcut, base 255 ui/aura/remote_window_tree_host_win.cc const base::FilePath& shortcut, base 256 ui/aura/remote_window_tree_host_win.cc const base::string16& url) { base 263 ui/aura/remote_window_tree_host_win.cc const base::FilePath& shortcut, base 277 ui/aura/remote_window_tree_host_win.cc const base::string16& title, base 278 ui/aura/remote_window_tree_host_win.cc const base::FilePath& default_path, base 279 ui/aura/remote_window_tree_host_win.cc const base::string16& filter, base 299 ui/aura/remote_window_tree_host_win.cc const base::string16& title, base 300 ui/aura/remote_window_tree_host_win.cc const base::FilePath& default_path, base 301 ui/aura/remote_window_tree_host_win.cc const base::string16& filter, base 320 ui/aura/remote_window_tree_host_win.cc const base::string16& title, base 321 ui/aura/remote_window_tree_host_win.cc const base::FilePath& default_path, base 322 ui/aura/remote_window_tree_host_win.cc const base::string16& filter, base 324 ui/aura/remote_window_tree_host_win.cc const base::string16& default_extension, base 347 ui/aura/remote_window_tree_host_win.cc const base::string16& title, base 480 ui/aura/remote_window_tree_host_win.cc const base::NativeEvent& native_event) { base 614 ui/aura/remote_window_tree_host_win.cc base::TimeDelta::FromMicroseconds(timestamp)); base 626 ui/aura/remote_window_tree_host_win.cc base::TimeDelta::FromMicroseconds(timestamp)); base 638 ui/aura/remote_window_tree_host_win.cc base::TimeDelta::FromMicroseconds(timestamp)); base 643 ui/aura/remote_window_tree_host_win.cc const base::FilePath& filename, base 655 ui/aura/remote_window_tree_host_win.cc const base::FilePath& filename) { base 657 ui/aura/remote_window_tree_host_win.cc file_open_completion_callback_.Run(base::FilePath(filename), 0, NULL); base 666 ui/aura/remote_window_tree_host_win.cc const std::vector<base::FilePath>& files) { base 677 ui/aura/remote_window_tree_host_win.cc const base::FilePath& folder) { base 679 ui/aura/remote_window_tree_host_win.cc select_folder_completion_callback_.Run(base::FilePath(folder), 0, NULL); base 707 ui/aura/remote_window_tree_host_win.cc const base::string16& text, base 721 ui/aura/remote_window_tree_host_win.cc void RemoteWindowTreeHostWin::OnImeTextCommitted(const base::string16& text) { base 745 ui/aura/remote_window_tree_host_win.cc if (base::MessageLoop::current()->IsNested()) { base 23 ui/aura/remote_window_tree_host_win.h namespace base { base 39 ui/aura/remote_window_tree_host_win.h typedef base::Callback<void(const base::FilePath&, int, void*)> base 42 ui/aura/remote_window_tree_host_win.h typedef base::Callback<void(const std::vector<base::FilePath>&, void*)> base 45 ui/aura/remote_window_tree_host_win.h typedef base::Callback<void(const base::FilePath&, int, void*)> base 48 ui/aura/remote_window_tree_host_win.h typedef base::Callback<void(const base::FilePath&, int, void*)> base 51 ui/aura/remote_window_tree_host_win.h typedef base::Callback<void(void*)> FileSelectionCanceled; base 56 ui/aura/remote_window_tree_host_win.h AURA_EXPORT void HandleOpenFile(const base::string16& title, base 57 ui/aura/remote_window_tree_host_win.h const base::FilePath& default_path, base 58 ui/aura/remote_window_tree_host_win.h const base::string16& filter, base 66 ui/aura/remote_window_tree_host_win.h const base::string16& title, base 67 ui/aura/remote_window_tree_host_win.h const base::FilePath& default_path, base 68 ui/aura/remote_window_tree_host_win.h const base::string16& filter, base 75 ui/aura/remote_window_tree_host_win.h AURA_EXPORT void HandleSaveFile(const base::string16& title, base 76 ui/aura/remote_window_tree_host_win.h const base::FilePath& default_path, base 77 ui/aura/remote_window_tree_host_win.h const base::string16& filter, base 79 ui/aura/remote_window_tree_host_win.h const base::string16& default_extension, base 86 ui/aura/remote_window_tree_host_win.h AURA_EXPORT void HandleSelectFolder(const base::string16& title, base 94 ui/aura/remote_window_tree_host_win.h const base::FilePath& shortcut, base 131 ui/aura/remote_window_tree_host_win.h void HandleOpenURLOnDesktop(const base::FilePath& shortcut, base 132 ui/aura/remote_window_tree_host_win.h const base::string16& url); base 136 ui/aura/remote_window_tree_host_win.h void HandleActivateDesktop(const base::FilePath& shortcut, bool ash_exit); base 141 ui/aura/remote_window_tree_host_win.h void HandleOpenFile(const base::string16& title, base 142 ui/aura/remote_window_tree_host_win.h const base::FilePath& default_path, base 143 ui/aura/remote_window_tree_host_win.h const base::string16& filter, base 147 ui/aura/remote_window_tree_host_win.h void HandleOpenMultipleFiles(const base::string16& title, base 148 ui/aura/remote_window_tree_host_win.h const base::FilePath& default_path, base 149 ui/aura/remote_window_tree_host_win.h const base::string16& filter, base 153 ui/aura/remote_window_tree_host_win.h void HandleSaveFile(const base::string16& title, base 154 ui/aura/remote_window_tree_host_win.h const base::FilePath& default_path, base 155 ui/aura/remote_window_tree_host_win.h const base::string16& filter, base 157 ui/aura/remote_window_tree_host_win.h const base::string16& default_extension, base 161 ui/aura/remote_window_tree_host_win.h void HandleSelectFolder(const base::string16& title, base 199 ui/aura/remote_window_tree_host_win.h const base::FilePath& filename, base 201 ui/aura/remote_window_tree_host_win.h void OnFileOpenDone(bool success, const base::FilePath& filename); base 203 ui/aura/remote_window_tree_host_win.h const std::vector<base::FilePath>& files); base 204 ui/aura/remote_window_tree_host_win.h void OnSelectFolderDone(bool success, const base::FilePath& folder); base 211 ui/aura/remote_window_tree_host_win.h const base::string16& text, base 215 ui/aura/remote_window_tree_host_win.h void OnImeTextCommitted(const base::string16& text); base 233 ui/aura/remote_window_tree_host_win.h virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; base 51 ui/aura/test/aura_test_base.h base::MessageLoopForUI message_loop_; base 35 ui/aura/test/aura_test_helper.cc AuraTestHelper::AuraTestHelper(base::MessageLoopForUI* message_loop) base 112 ui/aura/test/aura_test_helper.cc base::RunLoop run_loop; base 13 ui/aura/test/aura_test_helper.h namespace base { base 37 ui/aura/test/aura_test_helper.h explicit AuraTestHelper(base::MessageLoopForUI* message_loop); base 57 ui/aura/test/aura_test_helper.h base::MessageLoopForUI* message_loop_; base 59 ui/aura/test/event_generator.cc TestKeyEvent(const base::NativeEvent& native_event, int flags, bool is_char) base 273 ui/aura/test/event_generator.cc press.time_stamp() + base::TimeDelta::FromMilliseconds(50)); base 287 ui/aura/test/event_generator.cc press.time_stamp() + base::TimeDelta::FromMilliseconds(1000)); base 293 ui/aura/test/event_generator.cc const base::TimeDelta& step_delay, base 296 ui/aura/test/event_generator.cc base::Bind(&DummyCallback)); base 302 ui/aura/test/event_generator.cc const base::TimeDelta& step_delay, base 306 ui/aura/test/event_generator.cc base::TimeDelta timestamp = ui::EventTimeForNow(); base 361 ui/aura/test/event_generator.cc base::TimeDelta press_time_first = ui::EventTimeForNow(); base 362 ui/aura/test/event_generator.cc base::TimeDelta press_time[kMaxTouchPoints]; base 367 ui/aura/test/event_generator.cc base::TimeDelta::FromMilliseconds(delay_adding_finger_ms[i]); base 372 ui/aura/test/event_generator.cc base::TimeDelta move_time = press_time_first + base 373 ui/aura/test/event_generator.cc base::TimeDelta::FromMilliseconds(event_separation_time_ms * step); base 396 ui/aura/test/event_generator.cc base::TimeDelta release_time = press_time_first + base 397 ui/aura/test/event_generator.cc base::TimeDelta::FromMilliseconds(event_separation_time_ms * steps); base 406 ui/aura/test/event_generator.cc const base::TimeDelta& step_delay, base 411 ui/aura/test/event_generator.cc base::TimeDelta timestamp = base::TimeDelta::FromInternalValue( base 412 ui/aura/test/event_generator.cc base::TimeTicks::Now().ToInternalValue()); base 447 ui/aura/test/event_generator.cc const base::TimeDelta& step_delay, base 451 ui/aura/test/event_generator.cc base::TimeDelta timestamp = ui::EventTimeForNow(); base 603 ui/aura/test/event_generator.cc base::MessageLoopProxy::current()->PostTask( base 605 ui/aura/test/event_generator.cc base::Bind(&EventGenerator::DispatchNextPendingEvent, base 606 ui/aura/test/event_generator.cc base::Unretained(this))); base 623 ui/aura/test/event_generator.cc base::MessageLoopProxy::current()->PostTask( base 625 ui/aura/test/event_generator.cc base::Bind(&EventGenerator::DispatchNextPendingEvent, base 626 ui/aura/test/event_generator.cc base::Unretained(this))); base 18 ui/aura/test/event_generator.h namespace base { base 41 ui/aura/test/event_generator.h typedef base::Callback<void(ui::EventType, const gfx::Vector2dF&)> base 235 ui/aura/test/event_generator.h const base::TimeDelta& duration, base 244 ui/aura/test/event_generator.h const base::TimeDelta& duration, base 285 ui/aura/test/event_generator.h const base::TimeDelta& step_delay, base 294 ui/aura/test/event_generator.h const base::TimeDelta& step_delay, base 11 ui/aura/test/run_all_unittests.cc base::TestSuite test_suite(argc, argv); base 14 ui/aura/test/run_all_unittests.cc return base::LaunchUnitTests( base 17 ui/aura/test/run_all_unittests.cc base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); base 191 ui/aura/test/test_window_delegate.cc std::string result = base::StringPrintf("%d %d %d", base 202 ui/aura/test/test_window_delegate.cc std::string result = base::StringPrintf("%d %d", base 212 ui/aura/test/test_window_delegate.cc std::string result = base::StringPrintf("%d %d", base 83 ui/aura/test/test_windows.cc result += base::IntToString((*i)->id()); base 43 ui/aura/test/ui_controls_factory_aurawin.cc window, key, control, shift, alt, base::Closure()); base 51 ui/aura/test/ui_controls_factory_aurawin.cc const base::Closure& task) { base 58 ui/aura/test/ui_controls_factory_aurawin.cc return SendMouseMoveImpl(screen_x, screen_y, base::Closure()); base 62 ui/aura/test/ui_controls_factory_aurawin.cc const base::Closure& task) { base 66 ui/aura/test/ui_controls_factory_aurawin.cc return SendMouseEventsImpl(type, state, base::Closure()); base 70 ui/aura/test/ui_controls_factory_aurawin.cc const base::Closure& task) { base 76 ui/aura/test/ui_controls_factory_aurawin.cc virtual void RunClosureAfterAllPendingUIEvents(const base::Closure& closure) { base 78 ui/aura/test/ui_controls_factory_aurawin.cc base::MessageLoopForUI::current()->PostTask(FROM_HERE, closure); base 37 ui/aura/test/ui_controls_factory_aurax11.cc class EventWaiter : public base::MessageLoopForUI::Observer { base 39 ui/aura/test/ui_controls_factory_aurax11.cc typedef bool (*EventWaiterMatcher)(const base::NativeEvent& event); base 41 ui/aura/test/ui_controls_factory_aurax11.cc EventWaiter(const base::Closure& closure, EventWaiterMatcher matcher) base 44 ui/aura/test/ui_controls_factory_aurax11.cc base::MessageLoopForUI::current()->AddObserver(this); base 48 ui/aura/test/ui_controls_factory_aurax11.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 52 ui/aura/test/ui_controls_factory_aurax11.cc virtual base::EventStatus WillProcessEvent( base 53 ui/aura/test/ui_controls_factory_aurax11.cc const base::NativeEvent& event) OVERRIDE { base 55 ui/aura/test/ui_controls_factory_aurax11.cc base::MessageLoop::current()->PostTask(FROM_HERE, closure_); base 58 ui/aura/test/ui_controls_factory_aurax11.cc return base::EVENT_CONTINUE; base 61 ui/aura/test/ui_controls_factory_aurax11.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE { base 65 ui/aura/test/ui_controls_factory_aurax11.cc base::Closure closure_; base 76 ui/aura/test/ui_controls_factory_aurax11.cc bool Matcher(const base::NativeEvent& event) { base 94 ui/aura/test/ui_controls_factory_aurax11.cc window, key, control, shift, alt, command, base::Closure()); base 103 ui/aura/test/ui_controls_factory_aurax11.cc const base::Closure& closure) OVERRIDE { base 133 ui/aura/test/ui_controls_factory_aurax11.cc return SendMouseMoveNotifyWhenDone(screen_x, screen_y, base::Closure()); base 138 ui/aura/test/ui_controls_factory_aurax11.cc const base::Closure& closure) OVERRIDE { base 169 ui/aura/test/ui_controls_factory_aurax11.cc return SendMouseEventsNotifyWhenDone(type, state, base::Closure()); base 174 ui/aura/test/ui_controls_factory_aurax11.cc const base::Closure& closure) OVERRIDE { base 219 ui/aura/test/ui_controls_factory_aurax11.cc const base::Closure& closure) OVERRIDE { base 788 ui/aura/window.cc return base::StringPrintf( base 800 ui/aura/window.cc VLOG(0) << base::StringPrintf( base 1353 ui/aura/window.cc base::Closure Window::PrepareForLayerBoundsChange() { base 1354 ui/aura/window.cc return base::Bind(&Window::OnWindowBoundsChanged, base::Unretained(this), base 1417 ui/aura/window.cc layer_name += " " + base::IntToString(id_); base 98 ui/aura/window.h const base::string16 title() const { return title_; } base 99 ui/aura/window.h void set_title(const base::string16& title) { title_ = title; } base 461 ui/aura/window.h virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE; base 516 ui/aura/window.h base::string16 title_; base 109 ui/aura/window_event_dispatcher.cc base::MessageLoop::current()->PostNonNestableTask( base 110 ui/aura/window_event_dispatcher.cc FROM_HERE, base::Bind( base 111 ui/aura/window_event_dispatcher.cc base::IgnoreResult(&WindowEventDispatcher::DispatchHeldEvents), base 189 ui/aura/window_event_dispatcher.cc base::MessageLoop::current()->PostNonNestableTask( base 190 ui/aura/window_event_dispatcher.cc FROM_HERE, base::Bind( base 191 ui/aura/window_event_dispatcher.cc base::IgnoreResult(&WindowEventDispatcher::DispatchHeldEvents), base 676 ui/aura/window_event_dispatcher.cc base::MessageLoop::current()->PostNonNestableTask( base 678 ui/aura/window_event_dispatcher.cc base::Bind(base::IgnoreResult( base 260 ui/aura/window_event_dispatcher.h base::WeakPtrFactory<WindowEventDispatcher> repost_event_factory_; base 263 ui/aura/window_event_dispatcher.h base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_; base 382 ui/aura/window_event_dispatcher_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, position, 0, base::TimeDelta()); base 389 ui/aura/window_event_dispatcher_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, position, 0, base::TimeDelta()); base 396 ui/aura/window_event_dispatcher_unittest.cc base::TimeDelta now = ui::EventTimeForNow(); base 447 ui/aura/window_event_dispatcher_unittest.cc run_loop_.reset(new base::RunLoop()); base 482 ui/aura/window_event_dispatcher_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 708 ui/aura/window_event_dispatcher_unittest.cc 0, base::TimeDelta()); base 717 ui/aura/window_event_dispatcher_unittest.cc 0, base::TimeDelta()); base 734 ui/aura/window_event_dispatcher_unittest.cc 0, base::TimeDelta()); base 791 ui/aura/window_event_dispatcher_unittest.cc base::TimeDelta::FromMilliseconds(100), 25); base 1244 ui/aura/window_event_dispatcher_unittest.cc base::TimeDelta::FromMilliseconds(100), base 1496 ui/aura/window_event_dispatcher_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, position1, 0, base::TimeDelta()); base 1518 ui/aura/window_event_dispatcher_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, position1, 0, base::TimeDelta()); base 1521 ui/aura/window_event_dispatcher_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, position2, 0, base::TimeDelta()); base 1524 ui/aura/window_event_dispatcher_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, position1, 1, base::TimeDelta()); base 1555 ui/aura/window_event_dispatcher_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, position, 0, base::TimeDelta()); base 1559 ui/aura/window_event_dispatcher_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, position2, 0, base::TimeDelta()); base 1635 ui/aura/window_event_dispatcher_unittest.cc base::MessageLoopForUI::current()->Quit(); base 1663 ui/aura/window_event_dispatcher_unittest.cc base::Bind(&WindowEventDispatcherTestWithMessageLoop::RepostEventHelper, base 1665 ui/aura/window_event_dispatcher_unittest.cc base::Passed(&mouse))); base 1668 ui/aura/window_event_dispatcher_unittest.cc base::MessageLoop::ScopedNestableTaskAllower allow(message_loop()); base 1669 ui/aura/window_event_dispatcher_unittest.cc base::RunLoop loop; base 1677 ui/aura/window_event_dispatcher_unittest.cc base::MessageLoop* message_loop() { base 1678 ui/aura/window_event_dispatcher_unittest.cc return base::MessageLoopForUI::current(); base 1711 ui/aura/window_event_dispatcher_unittest.cc FROM_HERE, base::Bind( base 1713 ui/aura/window_event_dispatcher_unittest.cc base::Unretained(this))); base 1777 ui/aura/window_event_dispatcher_unittest.cc base::TimeDelta::FromMilliseconds(100), 25); base 161 ui/aura/window_tree_host.h virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; base 50 ui/aura/window_tree_host_mac.h virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; base 54 ui/aura/window_tree_host_mac.h base::scoped_nsobject<NSWindow> window_; base 97 ui/aura/window_tree_host_ozone.cc const base::NativeEvent& native_event) { base 46 ui/aura/window_tree_host_ozone.h virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; base 218 ui/aura/window_tree_host_win.cc void WindowTreeHostWin::PostNativeEvent(const base::NativeEvent& native_event) { base 234 ui/aura/window_tree_host_win.cc base::MessageLoopForUI::current()->Quit(); base 40 ui/aura/window_tree_host_win.h virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; base 68 ui/aura/window_tree_host_x11.cc ::Window FindEventTarget(const base::NativeEvent& xev) { base 91 ui/aura/window_tree_host_x11.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 119 ui/aura/window_tree_host_x11.cc class TouchEventCalibrate : public base::MessagePumpObserver { base 126 ui/aura/window_tree_host_x11.cc base::MessageLoopForUI::current()->AddObserver(this); base 131 ui/aura/window_tree_host_x11.cc if (!base::StringToInt(parts[0], &left_)) base 133 ui/aura/window_tree_host_x11.cc if (!base::StringToInt(parts[1], &right_)) base 135 ui/aura/window_tree_host_x11.cc if (!base::StringToInt(parts[2], &top_)) base 137 ui/aura/window_tree_host_x11.cc if (!base::StringToInt(parts[3], &bottom_)) base 144 ui/aura/window_tree_host_x11.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 211 ui/aura/window_tree_host_x11.cc virtual base::EventStatus WillProcessEvent( base 212 ui/aura/window_tree_host_x11.cc const base::NativeEvent& event) OVERRIDE { base 224 ui/aura/window_tree_host_x11.cc return base::EVENT_CONTINUE; base 227 ui/aura/window_tree_host_x11.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE { base 269 ui/aura/window_tree_host_x11.cc base::MessagePumpX11::Current()->AddDispatcherForWindow(this, xwindow_); base 270 ui/aura/window_tree_host_x11.cc base::MessagePumpX11::Current()->AddDispatcherForRootWindow(this); base 319 ui/aura/window_tree_host_x11.cc base::MessagePumpX11::Current()->RemoveDispatcherForRootWindow(this); base 320 ui/aura/window_tree_host_x11.cc base::MessagePumpX11::Current()->RemoveDispatcherForWindow(xwindow_); base 329 ui/aura/window_tree_host_x11.cc uint32_t WindowTreeHostX11::Dispatch(const base::NativeEvent& event) { base 509 ui/aura/window_tree_host_x11.cc base::MessagePumpX11::Current()->BlockUntilWindowMapped(xwindow_); base 667 ui/aura/window_tree_host_x11.cc const base::NativeEvent& native_event) { base 742 ui/aura/window_tree_host_x11.cc void WindowTreeHostX11::DispatchXI2Event(const base::NativeEvent& event) { base 770 ui/aura/window_tree_host_x11.cc if (base::SysInfo::IsRunningOnChromeOS() && base 776 ui/aura/window_tree_host_x11.cc if (base::SysInfo::IsRunningOnChromeOS()) { base 37 ui/aura/window_tree_host_x11.h public base::MessagePumpDispatcher, base 45 ui/aura/window_tree_host_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 62 ui/aura/window_tree_host_x11.h virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; base 79 ui/aura/window_tree_host_x11.h void DispatchXI2Event(const base::NativeEvent& event); base 67 ui/aura/window_tree_host_x11_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); base 122 ui/aura/window_tree_host_x11_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); base 133 ui/aura/window_tree_host_x11_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); base 236 ui/aura/window_tree_host_x11_unittest.cc base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time()); base 219 ui/aura/window_unittest.cc base::TimeDelta getTime() { base 1658 ui/aura/window_unittest.cc base::TimeTicks start_time = base 1661 ui/aura/window_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1697 ui/aura/window_unittest.cc base::StringPrintf("added=%d removed=%d", base 2324 ui/aura/window_unittest.cc base::TimeTicks start_time = base 2327 ui/aura/window_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 2366 ui/aura/window_unittest.cc base::TimeTicks start_time = base 2369 ui/aura/window_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 2385 ui/aura/window_unittest.cc std::string result = base::IntToString(added_count_) + " " + base 2386 ui/aura/window_unittest.cc base::IntToString(removed_count_); base 102 ui/base/accelerators/accelerator.cc base::string16 Accelerator::GetShortcutText() const { base 175 ui/base/accelerators/accelerator.cc base::string16 shortcut; base 194 ui/base/accelerators/accelerator.cc static_cast<base::string16::value_type>(base::ToUpperASCII(c)); base 208 ui/base/accelerators/accelerator.cc static_cast<base::string16::value_type>(g_ascii_toupper(name[0])); base 210 ui/base/accelerators/accelerator.cc shortcut += base::UTF8ToUTF16(name); base 221 ui/base/accelerators/accelerator.cc base::string16 shortcut_rtl; base 223 ui/base/accelerators/accelerator.cc if (base::i18n::IsRTL() && shortcut.length() == 1 && base 266 ui/base/accelerators/accelerator.cc shortcut_rtl.append(base::ASCIIToUTF16("+")); base 59 ui/base/accelerators/accelerator.h base::string16 GetShortcutText() const; base 142 ui/base/accelerators/accelerator_manager_unittest.cc const base::string16 text = accelerator.GetShortcutText(); base 172 ui/base/accelerators/accelerator_manager_unittest.cc const base::string16 test_text = test_accelerator.GetShortcutText(); base 58 ui/base/accelerators/menu_label_accelerator_util_linux.cc base::ReplaceChars(label, "&", "&&", &ret); base 34 ui/base/accelerators/platform_accelerator_cocoa.h base::scoped_nsobject<NSString> characters_; base 18 ui/base/android/ui_base_jni_registrar.cc static base::android::RegistrationMethod kUiRegisteredMethods[] = { base 15 ui/base/android/view_android.cc using base::android::AttachCurrentThread; base 16 ui/base/android/view_android.cc using base::android::ScopedJavaLocalRef; base 27 ui/base/android/view_android.h base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); base 17 ui/base/android/window_android.cc using base::android::AttachCurrentThread; base 18 ui/base/android/window_android.cc using base::android::ScopedJavaLocalRef; base 54 ui/base/android/window_android.cc base::android::JavaByteArrayToByteVector( base 28 ui/base/android/window_android.h base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); base 25 ui/base/clipboard/clipboard.cc base::SharedMemory* bitmap_data) { base 26 ui/base/clipboard/clipboard.cc using base::SharedMemory; base 41 ui/base/clipboard/clipboard.cc typedef std::vector<base::PlatformThreadId> AllowedThreadsVector; base 42 ui/base/clipboard/clipboard.cc static base::LazyInstance<AllowedThreadsVector> g_allowed_threads = base 46 ui/base/clipboard/clipboard.cc typedef std::map<base::PlatformThreadId, Clipboard*> ClipboardMap; base 47 ui/base/clipboard/clipboard.cc static base::LazyInstance<ClipboardMap> g_clipboard_map = base 51 ui/base/clipboard/clipboard.cc static base::LazyInstance<base::Lock>::Leaky base 58 ui/base/clipboard/clipboard.cc const std::vector<base::PlatformThreadId>& allowed_threads) { base 59 ui/base/clipboard/clipboard.cc base::AutoLock lock(g_clipboard_map_lock.Get()); base 68 ui/base/clipboard/clipboard.cc base::AutoLock lock(g_clipboard_map_lock.Get()); base 70 ui/base/clipboard/clipboard.cc base::PlatformThreadId id = base::PlatformThread::CurrentId(); base 97 ui/base/clipboard/clipboard.cc base::AutoLock lock(g_clipboard_map_lock.Get()); base 100 ui/base/clipboard/clipboard.cc base::PlatformThreadId id = base::PlatformThread::CurrentId(); base 146 ui/base/clipboard/clipboard.cc using base::SharedMemory; base 147 ui/base/clipboard/clipboard.cc using base::SharedMemoryHandle; base 200 ui/base/clipboard/clipboard.cc base::SharedMemoryHandle bitmap_handle, base 201 ui/base/clipboard/clipboard.cc base::ProcessHandle process) { base 202 ui/base/clipboard/clipboard.cc using base::SharedMemory; base 40 ui/base/clipboard/clipboard.h namespace base { base 73 ui/base/clipboard/clipboard.h class UI_BASE_EXPORT Clipboard : NON_EXPORTED_BASE(public base::ThreadChecker) { base 209 ui/base/clipboard/clipboard.h const std::vector<base::PlatformThreadId>& allowed_threads); base 236 ui/base/clipboard/clipboard.h std::vector<base::string16>* types, base 240 ui/base/clipboard/clipboard.h void ReadText(ClipboardType type, base::string16* result) const; base 250 ui/base/clipboard/clipboard.h base::string16* markup, base 263 ui/base/clipboard/clipboard.h const base::string16& type, base 264 ui/base/clipboard/clipboard.h base::string16* result) const; base 267 ui/base/clipboard/clipboard.h void ReadBookmark(base::string16* title, std::string* url) const; base 302 ui/base/clipboard/clipboard.h base::SharedMemoryHandle bitmap_handle, base 303 ui/base/clipboard/clipboard.h base::ProcessHandle process) base 360 ui/base/clipboard/clipboard.h static void ParseBookmarkClipboardFormat(const base::string16& bookmark, base 361 ui/base/clipboard/clipboard.h base::string16* title, base 372 ui/base/clipboard/clipboard.h mutable scoped_ptr<base::win::MessageWindow> clipboard_owner_; base 28 ui/base/clipboard/clipboard_android.cc using base::android::AttachCurrentThread; base 29 ui/base/clipboard/clipboard_android.cc using base::android::ClearException; base 30 ui/base/clipboard/clipboard_android.cc using base::android::ConvertJavaStringToUTF8; base 31 ui/base/clipboard/clipboard_android.cc using base::android::ConvertUTF8ToJavaString; base 32 ui/base/clipboard/clipboard_android.cc using base::android::ScopedJavaGlobalRef; base 33 ui/base/clipboard/clipboard_android.cc using base::android::ScopedJavaLocalRef; base 59 ui/base/clipboard/clipboard_android.cc base::Lock lock_; base 64 ui/base/clipboard/clipboard_android.cc base::LazyInstance<ClipboardMap>::Leaky g_map = LAZY_INSTANCE_INITIALIZER; base 71 ui/base/clipboard/clipboard_android.cc jobject context = base::android::GetApplicationContext(); base 81 ui/base/clipboard/clipboard_android.cc base::AutoLock lock(lock_); base 88 ui/base/clipboard/clipboard_android.cc base::AutoLock lock(lock_); base 95 ui/base/clipboard/clipboard_android.cc base::AutoLock lock(lock_); base 125 ui/base/clipboard/clipboard_android.cc base::AutoLock lock(lock_); base 246 ui/base/clipboard/clipboard_android.cc std::vector<base::string16>* types, base 262 ui/base/clipboard/clipboard_android.cc void Clipboard::ReadText(ClipboardType type, base::string16* result) const { base 267 ui/base/clipboard/clipboard_android.cc *result = base::UTF8ToUTF16(utf8); base 278 ui/base/clipboard/clipboard_android.cc base::string16* markup, base 288 ui/base/clipboard/clipboard_android.cc *markup = base::UTF8ToUTF16(input); base 320 ui/base/clipboard/clipboard_android.cc const base::string16& type, base 321 ui/base/clipboard/clipboard_android.cc base::string16* result) const { base 326 ui/base/clipboard/clipboard_android.cc void Clipboard::ReadBookmark(base::string16* title, std::string* url) const { base 190 ui/base/clipboard/clipboard_aura.cc void ReadText(base::string16* result) const { base 193 ui/base/clipboard/clipboard_aura.cc *result = base::UTF8ToUTF16(utf8_result); base 211 ui/base/clipboard/clipboard_aura.cc void ReadHTML(base::string16* markup, base 225 ui/base/clipboard/clipboard_aura.cc *markup = base::UTF8ToUTF16(data->markup_data()); base 256 ui/base/clipboard/clipboard_aura.cc void ReadCustomData(const base::string16& type, base 257 ui/base/clipboard/clipboard_aura.cc base::string16* result) const { base 269 ui/base/clipboard/clipboard_aura.cc void ReadBookmark(base::string16* title, std::string* url) const { base 276 ui/base/clipboard/clipboard_aura.cc *title = base::UTF8ToUTF16(data->bookmark_title()); base 490 ui/base/clipboard/clipboard_aura.cc std::vector<base::string16>* types, base 501 ui/base/clipboard/clipboard_aura.cc types->push_back(base::UTF8ToUTF16(GetPlainTextFormatType().ToString())); base 503 ui/base/clipboard/clipboard_aura.cc types->push_back(base::UTF8ToUTF16(GetHtmlFormatType().ToString())); base 505 ui/base/clipboard/clipboard_aura.cc types->push_back(base::UTF8ToUTF16(GetRtfFormatType().ToString())); base 507 ui/base/clipboard/clipboard_aura.cc types->push_back(base::UTF8ToUTF16(kMimeTypePNG)); base 516 ui/base/clipboard/clipboard_aura.cc void Clipboard::ReadText(ClipboardType type, base::string16* result) const { base 527 ui/base/clipboard/clipboard_aura.cc base::string16* markup, base 546 ui/base/clipboard/clipboard_aura.cc const base::string16& type, base 547 ui/base/clipboard/clipboard_aura.cc base::string16* result) const { base 552 ui/base/clipboard/clipboard_aura.cc void Clipboard::ReadBookmark(base::string16* title, std::string* url) const { base 58 ui/base/clipboard/clipboard_aurax11.cc class SelectionChangeObserver : public base::MessagePumpObserver { base 74 ui/base/clipboard/clipboard_aurax11.cc virtual base::EventStatus WillProcessEvent( base 75 ui/base/clipboard/clipboard_aurax11.cc const base::NativeEvent& event) OVERRIDE; base 77 ui/base/clipboard/clipboard_aurax11.cc const base::NativeEvent& event) OVERRIDE {} base 109 ui/base/clipboard/clipboard_aurax11.cc base::MessagePumpX11::Current()->AddObserver(this); base 121 ui/base/clipboard/clipboard_aurax11.cc base::EventStatus SelectionChangeObserver::WillProcessEvent( base 122 ui/base/clipboard/clipboard_aurax11.cc const base::NativeEvent& event) { base 134 ui/base/clipboard/clipboard_aurax11.cc return base::EVENT_CONTINUE; base 227 ui/base/clipboard/clipboard_aurax11.cc class Clipboard::AuraX11Details : public base::MessagePumpDispatcher { base 252 ui/base/clipboard/clipboard_aurax11.cc const scoped_refptr<base::RefCountedMemory>& memory); base 286 ui/base/clipboard/clipboard_aurax11.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 335 ui/base/clipboard/clipboard_aurax11.cc base::MessagePumpX11::Current()->AddDispatcherForWindow(this, x_window_); base 339 ui/base/clipboard/clipboard_aurax11.cc base::MessagePumpX11::Current()->RemoveDispatcherForWindow(x_window_); base 376 ui/base/clipboard/clipboard_aurax11.cc const scoped_refptr<base::RefCountedMemory>& memory) { base 428 ui/base/clipboard/clipboard_aurax11.cc scoped_refptr<base::RefCountedMemory> data; base 488 ui/base/clipboard/clipboard_aurax11.cc uint32_t Clipboard::AuraX11Details::Dispatch(const base::NativeEvent& event) { base 582 ui/base/clipboard/clipboard_aurax11.cc std::vector<base::string16>* types, base 595 ui/base/clipboard/clipboard_aurax11.cc types->push_back(base::UTF8ToUTF16(kMimeTypeText)); base 597 ui/base/clipboard/clipboard_aurax11.cc types->push_back(base::UTF8ToUTF16(kMimeTypeHTML)); base 599 ui/base/clipboard/clipboard_aurax11.cc types->push_back(base::UTF8ToUTF16(kMimeTypeRTF)); base 601 ui/base/clipboard/clipboard_aurax11.cc types->push_back(base::UTF8ToUTF16(kMimeTypePNG)); base 610 ui/base/clipboard/clipboard_aurax11.cc void Clipboard::ReadText(ClipboardType type, base::string16* result) const { base 617 ui/base/clipboard/clipboard_aurax11.cc *result = base::UTF8ToUTF16(text); base 633 ui/base/clipboard/clipboard_aurax11.cc base::string16* markup, base 679 ui/base/clipboard/clipboard_aurax11.cc const base::string16& type, base 680 ui/base/clipboard/clipboard_aurax11.cc base::string16* result) const { base 690 ui/base/clipboard/clipboard_aurax11.cc void Clipboard::ReadBookmark(base::string16* title, std::string* url) const { base 715 ui/base/clipboard/clipboard_aurax11.cc scoped_refptr<base::RefCountedMemory> mem( base 716 ui/base/clipboard/clipboard_aurax11.cc base::RefCountedString::TakeString(&str)); base 736 ui/base/clipboard/clipboard_aurax11.cc scoped_refptr<base::RefCountedMemory> mem( base 737 ui/base/clipboard/clipboard_aurax11.cc base::RefCountedString::TakeString(&data)); base 750 ui/base/clipboard/clipboard_aurax11.cc base::string16 url = base::UTF8ToUTF16(std::string(url_data, url_len) + "\n"); base 751 ui/base/clipboard/clipboard_aurax11.cc base::string16 title = base::UTF8ToUTF16(std::string(title_data, title_len)); base 756 ui/base/clipboard/clipboard_aurax11.cc scoped_refptr<base::RefCountedMemory> mem( base 757 ui/base/clipboard/clipboard_aurax11.cc base::RefCountedBytes::TakeVector(&data)); base 768 ui/base/clipboard/clipboard_aurax11.cc scoped_refptr<base::RefCountedMemory>( base 769 ui/base/clipboard/clipboard_aurax11.cc base::RefCountedString::TakeString(&empty))); base 777 ui/base/clipboard/clipboard_aurax11.cc base::RefCountedBytes::TakeVector( base 791 ui/base/clipboard/clipboard_aurax11.cc scoped_refptr<base::RefCountedMemory> mem( base 792 ui/base/clipboard/clipboard_aurax11.cc base::RefCountedBytes::TakeVector(&bytes)); base 320 ui/base/clipboard/clipboard_gtk.cc base::string16 url = base::UTF8ToUTF16(std::string(url_data, url_len) + "\n"); base 321 ui/base/clipboard/clipboard_gtk.cc base::string16 title = base::UTF8ToUTF16(std::string(title_data, title_len)); base 410 ui/base/clipboard/clipboard_gtk.cc std::vector<base::string16>* types, base 420 ui/base/clipboard/clipboard_gtk.cc types->push_back(base::UTF8ToUTF16(kMimeTypeText)); base 422 ui/base/clipboard/clipboard_gtk.cc types->push_back(base::UTF8ToUTF16(kMimeTypeHTML)); base 424 ui/base/clipboard/clipboard_gtk.cc types->push_back(base::UTF8ToUTF16(kMimeTypeRTF)); base 426 ui/base/clipboard/clipboard_gtk.cc types->push_back(base::UTF8ToUTF16(kMimeTypePNG)); base 444 ui/base/clipboard/clipboard_gtk.cc void Clipboard::ReadText(ClipboardType type, base::string16* result) const { base 457 ui/base/clipboard/clipboard_gtk.cc base::UTF8ToUTF16(text, strlen(text), result); base 481 ui/base/clipboard/clipboard_gtk.cc base::string16* markup, base 511 ui/base/clipboard/clipboard_gtk.cc base::UTF8ToUTF16( base 551 ui/base/clipboard/clipboard_gtk.cc const base::string16& type, base 552 ui/base/clipboard/clipboard_gtk.cc base::string16* result) const { base 568 ui/base/clipboard/clipboard_gtk.cc void Clipboard::ReadBookmark(base::string16* title, std::string* url) const { base 35 ui/base/clipboard/clipboard_unittest.cc using base::ASCIIToUTF16; base 36 ui/base/clipboard/clipboard_unittest.cc using base::UTF8ToUTF16; base 37 ui/base/clipboard/clipboard_unittest.cc using base::UTF16ToUTF8; base 56 ui/base/clipboard/clipboard_unittest.cc base::MessageLoopForUI message_loop_; base 62 ui/base/clipboard/clipboard_unittest.cc bool MarkupMatches(const base::string16& expected_markup, base 63 ui/base/clipboard/clipboard_unittest.cc const base::string16& actual_markup) { base 64 ui/base/clipboard/clipboard_unittest.cc return actual_markup.find(expected_markup) != base::string16::npos; base 85 ui/base/clipboard/clipboard_unittest.cc base::string16 text(ASCIIToUTF16("This is a base::string16!#$")), text_result; base 106 ui/base/clipboard/clipboard_unittest.cc base::string16 markup(ASCIIToUTF16("<string>Hi!</string>")), markup_result; base 107 ui/base/clipboard/clipboard_unittest.cc base::string16 plain(ASCIIToUTF16("Hi!")), plain_result; base 151 ui/base/clipboard/clipboard_unittest.cc base::string16 text(ASCIIToUTF16("Standard")), text_result; base 152 ui/base/clipboard/clipboard_unittest.cc base::string16 markup(ASCIIToUTF16("<string>Selection</string>")); base 182 ui/base/clipboard/clipboard_unittest.cc base::string16 markup_result; base 193 ui/base/clipboard/clipboard_unittest.cc base::string16 markup(ASCIIToUTF16("<em>Bye!<!--EndFragment --></em>")), base 196 ui/base/clipboard/clipboard_unittest.cc base::string16 plain(ASCIIToUTF16("Bye!")), plain_result; base 220 ui/base/clipboard/clipboard_unittest.cc base::string16 markup(UTF8ToUTF16("<div>A \xc3\xb8 \xe6\xb0\xb4</div>")), base 256 ui/base/clipboard/clipboard_unittest.cc base::string16 markup_result; base 261 ui/base/clipboard/clipboard_unittest.cc EXPECT_PRED2(MarkupMatches, base::string16(), markup_result); base 268 ui/base/clipboard/clipboard_unittest.cc base::string16 title(ASCIIToUTF16("The Example Company")), title_result; base 286 ui/base/clipboard/clipboard_unittest.cc base::string16 text(ASCIIToUTF16("Hi!")), text_result; base 287 ui/base/clipboard/clipboard_unittest.cc base::string16 markup(ASCIIToUTF16("<strong>Hi!</string>")), markup_result; base 320 ui/base/clipboard/clipboard_unittest.cc base::string16 url(ASCIIToUTF16("http://www.google.com/")); base 332 ui/base/clipboard/clipboard_unittest.cc base::string16 text_result; base 357 ui/base/clipboard/clipboard_unittest.cc base::SharedMemory shared_buf; base 368 ui/base/clipboard/clipboard_unittest.cc base::SharedMemoryHandle handle_to_share; base 369 ui/base/clipboard/clipboard_unittest.cc base::ProcessHandle current_process = base::kNullProcessHandle; base 647 ui/base/clipboard/clipboard_unittest.cc base::string16 html_result; base 753 ui/base/clipboard/clipboard_unittest.cc base::RunLoop().RunUntilIdle(); base 780 ui/base/clipboard/clipboard_unittest.cc using base::android::ConvertUTF8ToJavaString; base 781 ui/base/clipboard/clipboard_unittest.cc using base::android::MethodID; base 782 ui/base/clipboard/clipboard_unittest.cc using base::android::ScopedJavaLocalRef; base 784 ui/base/clipboard/clipboard_unittest.cc JNIEnv* env = base::android::AttachCurrentThread(); base 787 ui/base/clipboard/clipboard_unittest.cc jobject context = base::android::GetApplicationContext(); base 791 ui/base/clipboard/clipboard_unittest.cc base::android::GetClass(env, "android/content/Context"); base 803 ui/base/clipboard/clipboard_unittest.cc ASSERT_TRUE(clipboard_manager.obj() && !base::android::ClearException(env)); base 806 ui/base/clipboard/clipboard_unittest.cc base::android::GetClass(env, "android/text/ClipboardManager"); base 38 ui/base/clipboard/clipboard_util_win.cc base::string16* url, base 39 ui/base/clipboard/clipboard_util_win.cc base::string16* title) { base 72 ui/base/clipboard/clipboard_util_win.cc void SplitUrlAndTitle(const base::string16& str, base 73 ui/base/clipboard/clipboard_util_win.cc base::string16* url, base 74 ui/base/clipboard/clipboard_util_win.cc base::string16* title) { base 77 ui/base/clipboard/clipboard_util_win.cc if (newline_pos != base::string16::npos) { base 79 ui/base/clipboard/clipboard_util_win.cc title->assign(str, newline_pos + 1, base::string16::npos); base 86 ui/base/clipboard/clipboard_util_win.cc bool GetFileUrl(IDataObject* data_object, base::string16* url, base 87 ui/base/clipboard/clipboard_util_win.cc base::string16* title) { base 93 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<wchar_t> data(store.hGlobal); base 115 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); base 122 ui/base/clipboard/clipboard_util_win.cc url->assign(base::UTF8ToWide(file_url)); base 170 ui/base/clipboard/clipboard_util_win.cc base::string16* url, base::string16* title, bool convert_filenames) { base 184 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<wchar_t> data(store.hGlobal); base 194 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); base 195 ui/base/clipboard/clipboard_util_win.cc SplitUrlAndTitle(base::UTF8ToWide(data.get()), url, title); base 209 ui/base/clipboard/clipboard_util_win.cc std::vector<base::string16>* filenames) { base 239 ui/base/clipboard/clipboard_util_win.cc base::string16* plain_text) { base 248 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<wchar_t> data(store.hGlobal); base 258 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); base 259 ui/base/clipboard/clipboard_util_win.cc plain_text->assign(base::UTF8ToWide(data.get())); base 267 ui/base/clipboard/clipboard_util_win.cc base::string16 title; base 272 ui/base/clipboard/clipboard_util_win.cc base::string16* html, std::string* base_url) { base 280 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); base 284 ui/base/clipboard/clipboard_util_win.cc html->assign(base::UTF8ToWide(html_utf8)); base 298 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<wchar_t> data(store.hGlobal); base 306 ui/base/clipboard/clipboard_util_win.cc base::string16* filename, std::string* file_contents) { base 318 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(content.hGlobal); base 329 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<FILEGROUPDESCRIPTOR> fgd(description.hGlobal); base 341 ui/base/clipboard/clipboard_util_win.cc std::map<base::string16, base::string16>* custom_data) { base 350 ui/base/clipboard/clipboard_util_win.cc base::win::ScopedHGlobal<char> data(store.hGlobal); base 423 ui/base/clipboard/clipboard_util_win.cc std::string result = base::StringPrintf(header, base 459 ui/base/clipboard/clipboard_util_win.cc base::TrimWhitespace(*html, base::TRIM_ALL, html); base 477 ui/base/clipboard/clipboard_util_win.cc base::TrimWhitespace(*base_url, base::TRIM_ALL, base_url); base 35 ui/base/clipboard/clipboard_util_win.h base::string16* url, base 36 ui/base/clipboard/clipboard_util_win.h base::string16* title, base 39 ui/base/clipboard/clipboard_util_win.h std::vector<base::string16>* filenames); base 41 ui/base/clipboard/clipboard_util_win.h base::string16* plain_text); base 43 ui/base/clipboard/clipboard_util_win.h base::string16* text_html, base 46 ui/base/clipboard/clipboard_util_win.h base::string16* filename, base 54 ui/base/clipboard/clipboard_util_win.h std::map<base::string16, base::string16>* custom_data); base 188 ui/base/clipboard/clipboard_win.cc return base::IntToString(data_.cfFormat); base 195 ui/base/clipboard/clipboard_win.cc if (!base::StringToInt(serialization, &clipboard_format)) { base 211 ui/base/clipboard/clipboard_win.cc if (base::MessageLoopForUI::IsCurrent()) base 212 ui/base/clipboard/clipboard_win.cc clipboard_owner_.reset(new base::win::MessageWindow()); base 234 ui/base/clipboard/clipboard_win.cc base::string16 text; base 235 ui/base/clipboard/clipboard_win.cc base::UTF8ToUTF16(text_data, text_len, &text); base 269 ui/base/clipboard/clipboard_win.cc base::string16 wide_bookmark = base::UTF8ToWide(bookmark); base 402 ui/base/clipboard/clipboard_win.cc std::vector<base::string16>* types, base 411 ui/base/clipboard/clipboard_win.cc types->push_back(base::UTF8ToUTF16(kMimeTypeText)); base 413 ui/base/clipboard/clipboard_win.cc types->push_back(base::UTF8ToUTF16(kMimeTypeHTML)); base 415 ui/base/clipboard/clipboard_win.cc types->push_back(base::UTF8ToUTF16(kMimeTypeRTF)); base 417 ui/base/clipboard/clipboard_win.cc types->push_back(base::UTF8ToUTF16(kMimeTypePNG)); base 433 ui/base/clipboard/clipboard_win.cc void Clipboard::ReadText(ClipboardType type, base::string16* result) const { base 451 ui/base/clipboard/clipboard_win.cc result->assign(static_cast<const base::char16*>(::GlobalLock(data))); base 478 ui/base/clipboard/clipboard_win.cc base::string16* markup, base 523 ui/base/clipboard/clipboard_win.cc markup->assign(base::UTF8ToUTF16AndAdjustOffsets(cf_html.data() + html_start, base 525 ui/base/clipboard/clipboard_win.cc *fragment_start = base::checked_cast<uint32>(offsets[0]); base 526 ui/base/clipboard/clipboard_win.cc *fragment_end = base::checked_cast<uint32>(offsets[1]); base 606 ui/base/clipboard/clipboard_win.cc const base::string16& type, base 607 ui/base/clipboard/clipboard_win.cc base::string16* result) const { base 623 ui/base/clipboard/clipboard_win.cc void Clipboard::ReadBookmark(base::string16* title, std::string* url) const { base 639 ui/base/clipboard/clipboard_win.cc base::string16 bookmark(static_cast<const base::char16*>(::GlobalLock(data))); base 665 ui/base/clipboard/clipboard_win.cc void Clipboard::ParseBookmarkClipboardFormat(const base::string16& bookmark, base 666 ui/base/clipboard/clipboard_win.cc base::string16* title, base 668 ui/base/clipboard/clipboard_win.cc const base::string16 kDelim = base::ASCIIToUTF16("\r\n"); base 676 ui/base/clipboard/clipboard_win.cc if (url_start != base::string16::npos) { base 677 ui/base/clipboard/clipboard_win.cc *url = base::UTF16ToUTF8( base 678 ui/base/clipboard/clipboard_win.cc bookmark.substr(url_start, base::string16::npos)); base 687 ui/base/clipboard/clipboard_win.cc ::RegisterClipboardFormat(base::ASCIIToWide(format_string).c_str())); base 835 ui/base/clipboard/clipboard_win.cc clipboard_owner_->Create(base::Bind(&ClipboardOwnerWndProc)); base 35 ui/base/clipboard/custom_data_helper.cc return iter->SkipBytes(len * sizeof(base::char16)); base 42 ui/base/clipboard/custom_data_helper.cc std::vector<base::string16>* types) { base 56 ui/base/clipboard/custom_data_helper.cc types->push_back(base::string16()); base 67 ui/base/clipboard/custom_data_helper.cc const base::string16& type, base 68 ui/base/clipboard/custom_data_helper.cc base::string16* result) { base 77 ui/base/clipboard/custom_data_helper.cc base::string16 deserialized_type; base 91 ui/base/clipboard/custom_data_helper.cc std::map<base::string16, base::string16>* result) { base 100 ui/base/clipboard/custom_data_helper.cc base::string16 type; base 106 ui/base/clipboard/custom_data_helper.cc std::pair<std::map<base::string16, base::string16>::iterator, bool> base 107 ui/base/clipboard/custom_data_helper.cc insert_result = result->insert(std::make_pair(type, base::string16())); base 117 ui/base/clipboard/custom_data_helper.cc const std::map<base::string16, base::string16>& data, base 120 ui/base/clipboard/custom_data_helper.cc for (std::map<base::string16, base::string16>::const_iterator it = base 39 ui/base/clipboard/custom_data_helper.h std::vector<base::string16>* types); base 42 ui/base/clipboard/custom_data_helper.h const base::string16& type, base 43 ui/base/clipboard/custom_data_helper.h base::string16* result); base 47 ui/base/clipboard/custom_data_helper.h std::map<base::string16, base::string16>* result); base 50 ui/base/clipboard/custom_data_helper.h const std::map<base::string16, base::string16>& data, base 13 ui/base/clipboard/custom_data_helper_unittest.cc using base::ASCIIToUTF16; base 20 ui/base/clipboard/custom_data_helper_unittest.cc std::map<base::string16, base::string16> data; base 25 ui/base/clipboard/custom_data_helper_unittest.cc std::map<base::string16, base::string16> data; base 26 ui/base/clipboard/custom_data_helper_unittest.cc data.insert(std::make_pair(ASCIIToUTF16("abc"), base::string16())); base 36 ui/base/clipboard/custom_data_helper_unittest.cc std::vector<base::string16> types; base 45 ui/base/clipboard/custom_data_helper_unittest.cc base::string16 result; base 50 ui/base/clipboard/custom_data_helper_unittest.cc EXPECT_EQ(base::string16(), result); base 57 ui/base/clipboard/custom_data_helper_unittest.cc std::map<base::string16, base::string16> result; base 66 ui/base/clipboard/custom_data_helper_unittest.cc std::vector<base::string16> types; base 69 ui/base/clipboard/custom_data_helper_unittest.cc std::vector<base::string16> expected; base 80 ui/base/clipboard/custom_data_helper_unittest.cc base::string16 result; base 85 ui/base/clipboard/custom_data_helper_unittest.cc EXPECT_EQ(base::string16(), result); base 104 ui/base/clipboard/custom_data_helper_unittest.cc std::map<base::string16, base::string16> result; base 107 ui/base/clipboard/custom_data_helper_unittest.cc std::map<base::string16, base::string16> expected; base 108 ui/base/clipboard/custom_data_helper_unittest.cc expected.insert(std::make_pair(ASCIIToUTF16("abc"), base::string16())); base 117 ui/base/clipboard/custom_data_helper_unittest.cc std::vector<base::string16> expected; base 126 ui/base/clipboard/custom_data_helper_unittest.cc std::vector<base::string16> actual(expected); base 133 ui/base/clipboard/custom_data_helper_unittest.cc std::vector<base::string16> actual2(expected); base 139 ui/base/clipboard/custom_data_helper_unittest.cc base::string16 result_data; base 140 ui/base/clipboard/custom_data_helper_unittest.cc std::map<base::string16, base::string16> result_map; base 29 ui/base/clipboard/scoped_clipboard_writer.cc void ScopedClipboardWriter::WriteText(const base::string16& text) { base 33 ui/base/clipboard/scoped_clipboard_writer.cc void ScopedClipboardWriter::WriteURL(const base::string16& text) { base 37 ui/base/clipboard/scoped_clipboard_writer.cc void ScopedClipboardWriter::WriteHTML(const base::string16& markup, base 39 ui/base/clipboard/scoped_clipboard_writer.cc std::string utf8_markup = base::UTF16ToUTF8(markup); base 60 ui/base/clipboard/scoped_clipboard_writer.cc void ScopedClipboardWriter::WriteBookmark(const base::string16& bookmark_title, base 65 ui/base/clipboard/scoped_clipboard_writer.cc std::string utf8_markup = base::UTF16ToUTF8(bookmark_title); base 74 ui/base/clipboard/scoped_clipboard_writer.cc void ScopedClipboardWriter::WriteHyperlink(const base::string16& anchor_text, base 83 ui/base/clipboard/scoped_clipboard_writer.cc html.append(net::EscapeForHTML(base::UTF16ToUTF8(anchor_text))); base 85 ui/base/clipboard/scoped_clipboard_writer.cc WriteHTML(base::UTF8ToUTF16(html), std::string()); base 114 ui/base/clipboard/scoped_clipboard_writer.cc void ScopedClipboardWriter::WriteTextOrURL(const base::string16& text, base 116 ui/base/clipboard/scoped_clipboard_writer.cc std::string utf8_text = base::UTF16ToUTF8(text); base 36 ui/base/clipboard/scoped_clipboard_writer.h void WriteText(const base::string16& text); base 40 ui/base/clipboard/scoped_clipboard_writer.h void WriteURL(const base::string16& text); base 44 ui/base/clipboard/scoped_clipboard_writer.h void WriteHTML(const base::string16& markup, const std::string& source_url); base 50 ui/base/clipboard/scoped_clipboard_writer.h void WriteBookmark(const base::string16& bookmark_title, base 55 ui/base/clipboard/scoped_clipboard_writer.h void WriteHyperlink(const base::string16& anchor_text, base 71 ui/base/clipboard/scoped_clipboard_writer.h void WriteTextOrURL(const base::string16& text, bool is_url); base 30 ui/base/cocoa/base_view.h base::scoped_nsobject<NSEvent> pendingExitEvent_; base 20 ui/base/cocoa/controls/hover_image_menu_button_cell.h base::scoped_nsobject<NSImage> hoverImage_; base 28 ui/base/cocoa/controls/hyperlink_button_cell.h base::scoped_nsobject<NSColor> textColor_; base 31 ui/base/cocoa/find_pasteboard.h base::scoped_nsobject<NSString> findText_; base 57 ui/base/cocoa/find_pasteboard.h UI_BASE_EXPORT base::string16 GetFindPboardText(); base 18 ui/base/cocoa/focus_tracker.h base::scoped_nsobject<NSView> focusedView_; base 19 ui/base/cocoa/fullscreen_window_manager.h base::scoped_nsobject<NSWindow> window_; base 23 ui/base/cocoa/fullscreen_window_manager.h base::scoped_nsobject<NSScreen> desiredScreen_; base 24 ui/base/cocoa/fullscreen_window_manager.h base::mac::FullScreenMode fullscreenMode_; base 18 ui/base/cocoa/hover_image_button.h base::scoped_nsobject<NSImage> defaultImage_; base 19 ui/base/cocoa/hover_image_button.h base::scoped_nsobject<NSImage> hoverImage_; base 20 ui/base/cocoa/hover_image_button.h base::scoped_nsobject<NSImage> pressedImage_; base 28 ui/base/cocoa/menu_controller.h base::scoped_nsobject<NSMenu> menu_; base 38 ui/base/cocoa/menu_controller.h + (base::string16)elideMenuTitle:(const base::string16&)title base 20 ui/base/cocoa/tracking_area.h base::scoped_nsobject<CrTrackingAreaOwnerProxy> ownerProxy_; base 59 ui/base/cocoa/tracking_area.h base::scoped_nsobject<CrTrackingArea> tracking_area_; base 21 ui/base/cursor/cursor_loader_win.cc base::LazyInstance<base::string16> g_cursor_resource_module_name; base 174 ui/base/cursor/cursor_loader_win.cc const base::string16& module_name) { base 32 ui/base/cursor/cursor_loader_win.h static void SetCursorResourceModule(const base::string16& module_name); base 21 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h : public base::RefCounted<BitmapCursorOzone> { base 30 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h friend class base::RefCounted<BitmapCursorOzone>; base 49 ui/base/default_theme_provider.cc base::RefCountedMemory* DefaultThemeProvider::GetRawData( base 33 ui/base/default_theme_provider.h virtual base::RefCountedMemory* GetRawData( base 38 ui/base/dragdrop/cocoa_dnd_util.h base::string16* title, base 19 ui/base/dragdrop/download_file_interface.h namespace base { base 29 ui/base/dragdrop/download_file_interface.h : public base::RefCountedThreadSafe<DownloadFileObserver> { base 31 ui/base/dragdrop/download_file_interface.h virtual void OnDownloadCompleted(const base::FilePath& file_path) = 0; base 35 ui/base/dragdrop/download_file_interface.h friend class base::RefCountedThreadSafe<DownloadFileObserver>; base 41 ui/base/dragdrop/download_file_interface.h : public base::RefCountedThreadSafe<DownloadFileProvider> { base 54 ui/base/dragdrop/download_file_interface.h friend class base::RefCountedThreadSafe<DownloadFileProvider>; base 46 ui/base/dragdrop/drag_source_win.cc base::RefCountedThreadSafe<DragSourceWin>::AddRef(); base 51 ui/base/dragdrop/drag_source_win.cc base::RefCountedThreadSafe<DragSourceWin>::Release(); base 22 ui/base/dragdrop/drag_source_win.h public base::RefCountedThreadSafe<DragSourceWin> { base 32 ui/base/dragdrop/drag_utils.cc FileDragImageSource(const base::FilePath& file_name, base 49 ui/base/dragdrop/drag_utils.cc base::string16 name = file_name_.BaseName().LossyDisplayName(); base 77 ui/base/dragdrop/drag_utils.cc const base::FilePath file_name_; base 85 ui/base/dragdrop/drag_utils.cc void CreateDragImageForFile(const base::FilePath& file_name, base 33 ui/base/dragdrop/drag_utils.h UI_BASE_EXPORT void CreateDragImageForFile(const base::FilePath& file_name, base 27 ui/base/dragdrop/drag_utils_win.cc base::win::ScopedComPtr<IDragSourceHelper> helper; base 43 ui/base/dragdrop/drag_utils_win.cc base::win::ScopedGetDC screen_dc(NULL); base 11 ui/base/dragdrop/file_info.cc FileInfo::FileInfo(const base::FilePath& path, base 12 ui/base/dragdrop/file_info.cc const base::FilePath& display_name) base 16 ui/base/dragdrop/file_info.h FileInfo(const base::FilePath& path, const base::FilePath& display_name); base 19 ui/base/dragdrop/file_info.h base::FilePath path; base 20 ui/base/dragdrop/file_info.h base::FilePath display_name; // Optional. base 167 ui/base/dragdrop/gtk_dnd_util.cc base::string16 title, base 172 ui/base/dragdrop/gtk_dnd_util.cc title = base::UTF8ToUTF16(url.ExtractFileName()); base 191 ui/base/dragdrop/gtk_dnd_util.cc pickle.WriteString(base::UTF16ToUTF8(title)); base 203 ui/base/dragdrop/gtk_dnd_util.cc std::string utf8_text = url.spec() + "\n" + base::UTF16ToUTF8(title); base 221 ui/base/dragdrop/gtk_dnd_util.cc base::string16* title) { base 241 ui/base/dragdrop/gtk_dnd_util.cc *title = base::UTF8ToUTF16(title_utf8); base 262 ui/base/dragdrop/gtk_dnd_util.cc base::string16* title) { base 281 ui/base/dragdrop/gtk_dnd_util.cc *title = base::UTF8ToUTF16(data.substr(newline + 1)); base 74 ui/base/dragdrop/gtk_dnd_util.h base::string16 title, base 82 ui/base/dragdrop/gtk_dnd_util.h base::string16* title); base 91 ui/base/dragdrop/gtk_dnd_util.h base::string16* title); base 30 ui/base/dragdrop/gtk_dnd_util_unittest.cc base::string16 title; base 32 ui/base/dragdrop/gtk_dnd_util_unittest.cc EXPECT_EQ(base::UTF8ToUTF16(kTitle), title); base 50 ui/base/dragdrop/gtk_dnd_util_unittest.cc base::string16 title; base 56 ui/base/dragdrop/gtk_dnd_util_unittest.cc base::string16 title; base 13 ui/base/dragdrop/os_exchange_data.cc const base::FilePath& filename, base 38 ui/base/dragdrop/os_exchange_data.cc void OSExchangeData::SetString(const base::string16& data) { base 42 ui/base/dragdrop/os_exchange_data.cc void OSExchangeData::SetURL(const GURL& url, const base::string16& title) { base 46 ui/base/dragdrop/os_exchange_data.cc void OSExchangeData::SetFilename(const base::FilePath& path) { base 60 ui/base/dragdrop/os_exchange_data.cc bool OSExchangeData::GetString(base::string16* data) const { base 66 ui/base/dragdrop/os_exchange_data.cc base::string16* title) const { base 70 ui/base/dragdrop/os_exchange_data.cc bool OSExchangeData::GetFilename(base::FilePath* path) const { base 126 ui/base/dragdrop/os_exchange_data.cc void OSExchangeData::SetFileContents(const base::FilePath& filename, base 131 ui/base/dragdrop/os_exchange_data.cc bool OSExchangeData::GetFileContents(base::FilePath* filename, base 142 ui/base/dragdrop/os_exchange_data.cc void OSExchangeData::SetHtml(const base::string16& html, const GURL& base_url) { base 146 ui/base/dragdrop/os_exchange_data.cc bool OSExchangeData::GetHtml(base::string16* html, GURL* base_url) const { base 79 ui/base/dragdrop/os_exchange_data.h DownloadFileInfo(const base::FilePath& filename, base 83 ui/base/dragdrop/os_exchange_data.h base::FilePath filename; base 99 ui/base/dragdrop/os_exchange_data.h virtual void SetString(const base::string16& data) = 0; base 100 ui/base/dragdrop/os_exchange_data.h virtual void SetURL(const GURL& url, const base::string16& title) = 0; base 101 ui/base/dragdrop/os_exchange_data.h virtual void SetFilename(const base::FilePath& path) = 0; base 107 ui/base/dragdrop/os_exchange_data.h virtual bool GetString(base::string16* data) const = 0; base 110 ui/base/dragdrop/os_exchange_data.h base::string16* title) const = 0; base 111 ui/base/dragdrop/os_exchange_data.h virtual bool GetFilename(base::FilePath* path) const = 0; base 123 ui/base/dragdrop/os_exchange_data.h virtual void SetFileContents(const base::FilePath& filename, base 127 ui/base/dragdrop/os_exchange_data.h virtual bool GetFileContents(base::FilePath* filename, base 134 ui/base/dragdrop/os_exchange_data.h virtual void SetHtml(const base::string16& html, const GURL& base_url) = 0; base 135 ui/base/dragdrop/os_exchange_data.h virtual bool GetHtml(base::string16* html, GURL* base_url) const = 0; base 177 ui/base/dragdrop/os_exchange_data.h void SetString(const base::string16& data); base 179 ui/base/dragdrop/os_exchange_data.h void SetURL(const GURL& url, const base::string16& title); base 181 ui/base/dragdrop/os_exchange_data.h void SetFilename(const base::FilePath& path); base 192 ui/base/dragdrop/os_exchange_data.h bool GetString(base::string16* data) const; base 195 ui/base/dragdrop/os_exchange_data.h base::string16* title) const; base 197 ui/base/dragdrop/os_exchange_data.h bool GetFilename(base::FilePath* path) const; base 217 ui/base/dragdrop/os_exchange_data.h void SetFileContents(const base::FilePath& filename, base 219 ui/base/dragdrop/os_exchange_data.h bool GetFileContents(base::FilePath* filename, base 229 ui/base/dragdrop/os_exchange_data.h void SetHtml(const base::string16& html, const GURL& base_url); base 230 ui/base/dragdrop/os_exchange_data.h bool GetHtml(base::string16* html, GURL* base_url) const; base 46 ui/base/dragdrop/os_exchange_data_provider_aura.cc void OSExchangeDataProviderAura::SetString(const base::string16& data) { base 52 ui/base/dragdrop/os_exchange_data_provider_aura.cc const base::string16& title) { base 57 ui/base/dragdrop/os_exchange_data_provider_aura.cc SetString(base::UTF8ToUTF16(url.spec())); base 60 ui/base/dragdrop/os_exchange_data_provider_aura.cc void OSExchangeDataProviderAura::SetFilename(const base::FilePath& path) { base 62 ui/base/dragdrop/os_exchange_data_provider_aura.cc filenames_.push_back(FileInfo(path, base::FilePath())); base 79 ui/base/dragdrop/os_exchange_data_provider_aura.cc bool OSExchangeDataProviderAura::GetString(base::string16* data) const { base 89 ui/base/dragdrop/os_exchange_data_provider_aura.cc base::string16* title) const { base 104 ui/base/dragdrop/os_exchange_data_provider_aura.cc bool OSExchangeDataProviderAura::GetFilename(base::FilePath* path) const { base 154 ui/base/dragdrop/os_exchange_data_provider_aura.cc void OSExchangeDataProviderAura::SetHtml(const base::string16& html, base 161 ui/base/dragdrop/os_exchange_data_provider_aura.cc bool OSExchangeDataProviderAura::GetHtml(base::string16* html, base 32 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual void SetString(const base::string16& data) OVERRIDE; base 33 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual void SetURL(const GURL& url, const base::string16& title) OVERRIDE; base 34 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual void SetFilename(const base::FilePath& path) OVERRIDE; base 38 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual bool GetString(base::string16* data) const OVERRIDE; base 41 ui/base/dragdrop/os_exchange_data_provider_aura.h base::string16* title) const OVERRIDE; base 42 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual bool GetFilename(base::FilePath* path) const OVERRIDE; base 53 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual void SetHtml(const base::string16& html, base 55 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual bool GetHtml(base::string16* html, GURL* base_url) const OVERRIDE; base 74 ui/base/dragdrop/os_exchange_data_provider_aura.h base::string16 string_; base 78 ui/base/dragdrop/os_exchange_data_provider_aura.h base::string16 title_; base 91 ui/base/dragdrop/os_exchange_data_provider_aura.h base::string16 html_; base 86 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::MessagePumpX11::Current()->AddDispatcherForWindow(this, x_window_); base 91 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::MessagePumpX11::Current()->RemoveDispatcherForWindow(x_window_); base 120 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc scoped_refptr<base::RefCountedMemory>( base 121 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedString::TakeString(&empty))); base 129 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc void OSExchangeDataProviderAuraX11::SetString(const base::string16& text_data) { base 130 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::string utf8 = base::UTF16ToUTF8(text_data); base 131 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc scoped_refptr<base::RefCountedMemory> mem( base 132 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedString::TakeString(&utf8)); base 141 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc const base::string16& title) { base 146 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::string16 spec = base::UTF8ToUTF16(url.spec()); base 150 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc ui::AddString16ToVector(base::ASCIIToUTF16("\n"), &data); base 152 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc scoped_refptr<base::RefCountedMemory> mem( base 153 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedBytes::TakeVector(&data)); base 163 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc netscape_url += base::UTF16ToUTF8(title); base 165 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc scoped_refptr<base::RefCountedMemory>( base 166 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedString::TakeString(&netscape_url))); base 173 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc void OSExchangeDataProviderAuraX11::SetFilename(const base::FilePath& path) { base 175 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc data.push_back(FileInfo(path, base::FilePath())); base 191 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc scoped_refptr<base::RefCountedMemory> mem( base 192 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedString::TakeString(&joined_data)); base 204 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc scoped_refptr<base::RefCountedMemory> mem( base 205 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedBytes::TakeVector(&bytes)); base 210 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc bool OSExchangeDataProviderAuraX11::GetString(base::string16* result) const { base 225 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc *result = base::UTF8ToUTF16(text); base 235 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::string16* title) const { base 248 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::string16 unparsed; base 251 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::vector<base::string16> tokens; base 252 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc size_t num_tokens = Tokenize(unparsed, base::ASCIIToUTF16("\n"), &tokens); base 257 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc *title = base::string16(); base 271 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc *title = base::string16(); base 281 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc bool OSExchangeDataProviderAuraX11::GetFilename(base::FilePath* path) const { base 304 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::FilePath file_path; base 306 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc filenames->push_back(FileInfo(file_path, base::FilePath())); base 389 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::FilePath file_path; base 409 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc const base::FilePath& filename, base 433 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc scoped_refptr<base::RefCountedMemory>( base 434 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedString::TakeString(&failure))); base 438 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc scoped_refptr<base::RefCountedMemory>( base 439 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedString::TakeString(&file_contents_copy))); base 442 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc void OSExchangeDataProviderAuraX11::SetHtml(const base::string16& html, base 450 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc scoped_refptr<base::RefCountedMemory> mem( base 451 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::RefCountedBytes::TakeVector(&bytes)); base 456 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc bool OSExchangeDataProviderAuraX11::GetHtml(base::string16* html, base 498 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc const base::NativeEvent& event) { base 512 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::string16 text; base 35 ui/base/dragdrop/os_exchange_data_provider_aurax11.h public base::MessagePumpDispatcher { base 59 ui/base/dragdrop/os_exchange_data_provider_aurax11.h const base::FilePath& file_contents_name() const { base 67 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual void SetString(const base::string16& data) OVERRIDE; base 68 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual void SetURL(const GURL& url, const base::string16& title) OVERRIDE; base 69 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual void SetFilename(const base::FilePath& path) OVERRIDE; base 73 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual bool GetString(base::string16* data) const OVERRIDE; base 76 ui/base/dragdrop/os_exchange_data_provider_aurax11.h base::string16* title) const OVERRIDE; base 77 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual bool GetFilename(base::FilePath* path) const OVERRIDE; base 88 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual void SetFileContents(const base::FilePath& filename, base 91 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual void SetHtml(const base::string16& html, base 93 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual bool GetHtml(base::string16* html, GURL* base_url) const OVERRIDE; base 101 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 140 ui/base/dragdrop/os_exchange_data_provider_aurax11.h base::FilePath file_contents_name_; base 31 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc scoped_refptr<base::RefCountedMemory> mem( base 32 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc base::RefCountedString::TakeString(&contents_copy)); base 40 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc base::MessageLoopForUI message_loop; base 46 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc provider.SetURL(GURL(kGoogleURL), base::ASCIIToUTF16(kGoogleTitle)); base 49 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc base::string16 out_str; base 52 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(kGoogleTitle), out_str); base 57 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc provider.SetURL(GURL(kGoogleURL), base::string16()); base 60 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc base::string16 out_str; base 63 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc EXPECT_EQ(base::string16(), out_str); base 99 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc base::string16 out_str; base 102 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc EXPECT_EQ(base::string16(), out_str); base 107 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc const base::string16 file_url = base::UTF8ToUTF16(kFileURL); base 115 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc const base::string16 file_url = base::UTF8ToUTF16(kFileURL); base 120 ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc base::string16 out_str; base 45 ui/base/dragdrop/os_exchange_data_provider_win.cc const base::string16& title, base 46 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16* validated); base 48 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetStorageForFileName(const base::FilePath& path); base 49 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetIDListStorageForFileName(const base::FilePath& path); base 52 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetStorageForFileDescriptor(const base::FilePath& path); base 223 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16 plain_text; base 231 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16 plain_text; base 291 ui/base/dragdrop/os_exchange_data_provider_win.cc void OSExchangeDataProviderWin::SetString(const base::string16& data) { base 297 ui/base/dragdrop/os_exchange_data_provider_win.cc storage = GetStorageForString(base::UTF16ToUTF8(data)); base 303 ui/base/dragdrop/os_exchange_data_provider_win.cc const base::string16& title) { base 311 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16 x_moz_url_str = base::UTF8ToUTF16(url.spec()); base 319 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16 valid_file_name; base 323 ui/base/dragdrop/os_exchange_data_provider_win.cc SetFileContents(base::FilePath(valid_file_name), shortcut_url_file_contents); base 326 ui/base/dragdrop/os_exchange_data_provider_win.cc storage = GetStorageForString(base::UTF8ToUTF16(url.spec())); base 338 ui/base/dragdrop/os_exchange_data_provider_win.cc SetString(base::UTF8ToUTF16(url.spec())); base 341 ui/base/dragdrop/os_exchange_data_provider_win.cc void OSExchangeDataProviderWin::SetFilename(const base::FilePath& path) { base 374 ui/base/dragdrop/os_exchange_data_provider_win.cc const base::FilePath& filename, base 387 ui/base/dragdrop/os_exchange_data_provider_win.cc void OSExchangeDataProviderWin::SetHtml(const base::string16& html, base 390 ui/base/dragdrop/os_exchange_data_provider_win.cc std::string utf8_html = base::UTF16ToUTF8(html); base 404 ui/base/dragdrop/os_exchange_data_provider_win.cc bool OSExchangeDataProviderWin::GetString(base::string16* data) const { base 411 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16* title) const { base 412 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16 url_str; base 434 ui/base/dragdrop/os_exchange_data_provider_win.cc bool OSExchangeDataProviderWin::GetFilename(base::FilePath* path) const { base 435 ui/base/dragdrop/os_exchange_data_provider_win.cc std::vector<base::string16> filenames; base 438 ui/base/dragdrop/os_exchange_data_provider_win.cc *path = base::FilePath(filenames[0]); base 444 ui/base/dragdrop/os_exchange_data_provider_win.cc std::vector<base::string16> filenames_local; base 449 ui/base/dragdrop/os_exchange_data_provider_win.cc FileInfo(base::FilePath(filenames_local[i]), base::FilePath())); base 463 ui/base/dragdrop/os_exchange_data_provider_win.cc base::win::ScopedHGlobal<char> c_data(medium.hGlobal); base 474 ui/base/dragdrop/os_exchange_data_provider_win.cc base::FilePath* filename, base 476 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16 filename_str; base 481 ui/base/dragdrop/os_exchange_data_provider_win.cc *filename = base::FilePath(filename_str); base 485 ui/base/dragdrop/os_exchange_data_provider_win.cc bool OSExchangeDataProviderWin::GetHtml(base::string16* html, base 673 ui/base/dragdrop/os_exchange_data_provider_win.cc void DataObjectImpl::OnDownloadCompleted(const base::FilePath& file_path) { base 870 ui/base/dragdrop/os_exchange_data_provider_win.cc base::RefCountedThreadSafe<DownloadFileObserver>::AddRef(); base 875 ui/base/dragdrop/os_exchange_data_provider_win.cc base::RefCountedThreadSafe<DownloadFileObserver>::Release(); base 885 ui/base/dragdrop/os_exchange_data_provider_win.cc base::win::ScopedHGlobal<uint8> scoped(handle); base 914 ui/base/dragdrop/os_exchange_data_provider_win.cc const base::string16& title, base 915 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16* validated) { base 936 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetStorageForFileName(const base::FilePath& path) { base 942 ui/base/dragdrop/os_exchange_data_provider_win.cc base::win::ScopedHGlobal<DROPFILES> locked_mem(hdata); base 979 ui/base/dragdrop/os_exchange_data_provider_win.cc static LPITEMIDLIST GetPidlFromPath(const base::FilePath& path) { base 993 ui/base/dragdrop/os_exchange_data_provider_win.cc static STGMEDIUM* GetIDListStorageForFileName(const base::FilePath& path) { base 1018 ui/base/dragdrop/os_exchange_data_provider_win.cc base::win::ScopedHGlobal<CIDA> locked_mem(hdata); base 1037 ui/base/dragdrop/os_exchange_data_provider_win.cc const base::FilePath& path) { base 1038 ui/base/dragdrop/os_exchange_data_provider_win.cc base::string16 file_name = path.value(); base 1041 ui/base/dragdrop/os_exchange_data_provider_win.cc base::win::ScopedHGlobal<FILEGROUPDESCRIPTOR> locked_mem(hdata); base 52 ui/base/dragdrop/os_exchange_data_provider_win.h virtual void OnDownloadCompleted(const base::FilePath& file_path); base 118 ui/base/dragdrop/os_exchange_data_provider_win.h base::win::ScopedComPtr<IDataObject> source_object_; base 154 ui/base/dragdrop/os_exchange_data_provider_win.h virtual void SetString(const base::string16& data); base 155 ui/base/dragdrop/os_exchange_data_provider_win.h virtual void SetURL(const GURL& url, const base::string16& title); base 156 ui/base/dragdrop/os_exchange_data_provider_win.h virtual void SetFilename(const base::FilePath& path); base 160 ui/base/dragdrop/os_exchange_data_provider_win.h virtual void SetFileContents(const base::FilePath& filename, base 162 ui/base/dragdrop/os_exchange_data_provider_win.h virtual void SetHtml(const base::string16& html, const GURL& base_url); base 164 ui/base/dragdrop/os_exchange_data_provider_win.h virtual bool GetString(base::string16* data) const; base 167 ui/base/dragdrop/os_exchange_data_provider_win.h base::string16* title) const; base 168 ui/base/dragdrop/os_exchange_data_provider_win.h virtual bool GetFilename(base::FilePath* path) const; base 172 ui/base/dragdrop/os_exchange_data_provider_win.h virtual bool GetFileContents(base::FilePath* filename, base 174 ui/base/dragdrop/os_exchange_data_provider_win.h virtual bool GetHtml(base::string16* html, GURL* base_url) const; base 193 ui/base/dragdrop/os_exchange_data_provider_win.h base::win::ScopedComPtr<IDataObject> source_object_; base 17 ui/base/dragdrop/os_exchange_data_unittest.cc base::MessageLoopForUI message_loop_; base 22 ui/base/dragdrop/os_exchange_data_unittest.cc base::string16 input = base::ASCIIToUTF16("I can has cheezburger?"); base 26 ui/base/dragdrop/os_exchange_data_unittest.cc base::string16 output; base 31 ui/base/dragdrop/os_exchange_data_unittest.cc base::string16 title; base 42 ui/base/dragdrop/os_exchange_data_unittest.cc base::string16 url_title = base::ASCIIToUTF16("www.google.com"); base 44 ui/base/dragdrop/os_exchange_data_unittest.cc base::string16 output; base 50 ui/base/dragdrop/os_exchange_data_unittest.cc base::string16 output_title; base 55 ui/base/dragdrop/os_exchange_data_unittest.cc base::string16 output_string; base 59 ui/base/dragdrop/os_exchange_data_unittest.cc EXPECT_EQ(url_spec, base::UTF16ToUTF8(output_string)); base 88 ui/base/dragdrop/os_exchange_data_unittest.cc base::string16 html = base::ASCIIToUTF16( base 95 ui/base/dragdrop/os_exchange_data_unittest.cc base::string16 read_html; base 23 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedComPtr<IDataObject> com_data( base 33 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedHGlobal<wchar_t>(medium.hGlobal).get(); base 43 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedComPtr<IDataObject> com_data( base 55 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedHGlobal<wchar_t> global_lock(glob); base 80 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedComPtr<IDataObject> com_data( base 93 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedHGlobal<wchar_t> global_lock(glob); base 105 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedHGlobal<wchar_t> global_lock(glob); base 129 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedComPtr<IDataObject> com_data( base 140 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedHGlobal<wchar_t>(medium.hGlobal).get(); base 141 ui/base/dragdrop/os_exchange_data_win_unittest.cc EXPECT_EQ(url.spec(), base::WideToUTF8(output)); base 153 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedComPtr<IDataObject> com_data( base 167 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedHGlobal<wchar_t>(medium.hGlobal).get(); base 168 ui/base/dragdrop/os_exchange_data_win_unittest.cc EXPECT_EQ(url.spec(), base::WideToUTF8(output_url)); base 175 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedHGlobal<wchar_t>(medium.hGlobal).get(); base 176 ui/base/dragdrop/os_exchange_data_win_unittest.cc EXPECT_EQ(url_spec, base::WideToUTF8(output_text)); base 189 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedComPtr<IDataObject> com_data( base 191 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedComPtr<IEnumFORMATETC> enumerator; base 245 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedComPtr<IEnumFORMATETC> cloned_enumerator; base 277 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedComPtr<IDataObject> com_data( base 288 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedHGlobal<char> glob(medium.hGlobal); base 301 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetFileContents(base::FilePath(L"filename.txt"), file_contents); base 304 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::FilePath filename; base 326 ui/base/dragdrop/os_exchange_data_win_unittest.cc expected_cf_html += base::WideToUTF8(html); base 333 ui/base/dragdrop/os_exchange_data_win_unittest.cc base::win::ScopedHGlobal<char> glob(medium.hGlobal); base 44 ui/base/ime/candidate_window.h base::string16 value; base 45 ui/base/ime/candidate_window.h base::string16 label; base 46 ui/base/ime/candidate_window.h base::string16 annotation; base 47 ui/base/ime/candidate_window.h base::string16 description_title; base 48 ui/base/ime/candidate_window.h base::string16 description_body; base 43 ui/base/ime/candidate_window_unittest.cc const base::string16 kSampleString1 = base::UTF8ToUTF16("Sample 1"); base 44 ui/base/ime/candidate_window_unittest.cc const base::string16 kSampleString2 = base::UTF8ToUTF16("Sample 2"); base 140 ui/base/ime/candidate_window_unittest.cc const base::string16 kSampleString = base::UTF8ToUTF16("Sample"); base 165 ui/base/ime/candidate_window_unittest.cc entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); base 166 ui/base/ime/candidate_window_unittest.cc entry.description_title = base::UTF8ToUTF16(kSampleDescriptionTitle[i]); base 167 ui/base/ime/candidate_window_unittest.cc entry.description_body = base::UTF8ToUTF16(kSampleDescriptionBody[i]); base 187 ui/base/ime/candidate_window_unittest.cc entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); base 194 ui/base/ime/candidate_window_unittest.cc base::UTF8ToUTF16(kSampleDescriptionTitle[2]); base 196 ui/base/ime/candidate_window_unittest.cc base::UTF8ToUTF16(kSampleDescriptionBody[2]); base 217 ui/base/ime/candidate_window_unittest.cc entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); base 224 ui/base/ime/candidate_window_unittest.cc base::UTF8ToUTF16(kSampleDescriptionTitle[2]); base 226 ui/base/ime/candidate_window_unittest.cc base::UTF8ToUTF16(kSampleDescriptionBody[2]); base 248 ui/base/ime/candidate_window_unittest.cc entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); base 361 ui/base/ime/chromeos/character_composer.cc bool UTF32CharacterToUTF16(uint32 character, base::string16* output) { base 564 ui/base/ime/chromeos/character_composer.cc preedit_string_ = base::ASCIIToUTF16(preedit_string_ascii); base 33 ui/base/ime/chromeos/character_composer.h const base::string16& composed_character() const { base 38 ui/base/ime/chromeos/character_composer.h const base::string16& preedit_string() const { return preedit_string_; } base 90 ui/base/ime/chromeos/character_composer.h base::string16 composed_character_; base 93 ui/base/ime/chromeos/character_composer.h base::string16 preedit_string_; base 13 ui/base/ime/chromeos/character_composer_unittest.cc using base::ASCIIToUTF16; base 65 ui/base/ime/chromeos/character_composer_unittest.cc const base::string16& expected_character) { base 77 ui/base/ime/chromeos/character_composer_unittest.cc const base::string16& expected_character) { base 91 ui/base/ime/chromeos/character_composer_unittest.cc const base::string16& expected_character) { base 106 ui/base/ime/chromeos/character_composer_unittest.cc const base::string16& expected_character) { base 122 ui/base/ime/chromeos/character_composer_unittest.cc const base::string16& expected_character) { base 133 ui/base/ime/chromeos/character_composer_unittest.cc const base::string16& expected_character) { base 173 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x00E1)); base 176 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x00C1)); base 179 ui/base/ime/chromeos/character_composer_unittest.cc GDK_KEY_dead_grave, 0, base::string16(1, 0x0060)); base 183 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x1EA5)); base 187 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x1EEA)); base 190 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x00C7)); base 193 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x00E7)); base 205 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x1EA5)); base 211 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x00E1)); base 232 ui/base/ime/chromeos/character_composer_unittest.cc EXPECT_EQ(base::string16(1, 0x00E1), character_composer.composed_character()); base 289 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x3042)); base 291 ui/base/ime/chromeos/character_composer_unittest.cc const base::char16 kMusicalKeyboard[] = {0xd83c, 0xdfb9}; base 296 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(kMusicalKeyboard, base 318 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x3042)); base 354 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x3042)); base 366 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x3042)); base 388 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x3042)); base 401 ui/base/ime/chromeos/character_composer_unittest.cc GDK_KEY_space, 0, base::string16(1, 0x3042)); base 452 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x3042)); base 519 ui/base/ime/chromeos/character_composer_unittest.cc base::string16(1, 0x00E1)); base 525 ui/base/ime/chromeos/character_composer_unittest.cc GDK_KEY_space, 0, base::string16(1, 0x3042)); base 530 ui/base/ime/chromeos/character_composer_unittest.cc EXPECT_EQ(base::string16(1, 0x00DA), character_composer.composed_character()); base 47 ui/base/ime/chromeos/ime_bridge.h typedef base::Callback<void (bool consumed)> KeyEventDoneCallback; base 117 ui/base/ime/chromeos/ime_bridge.h virtual void UpdatePreeditText(const base::string16& text, base 27 ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc const base::string16& text, base 35 ui/base/ime/chromeos/mock_ime_candidate_window_handler.h const base::string16& text, uint32 cursor_pos, bool visible) OVERRIDE; base 39 ui/base/ime/composition_text.h base::string16 text; base 22 ui/base/ime/composition_text_util_pango.cc composition->text = base::UTF8ToUTF16(utf8_text); base 32 ui/base/ime/composition_text_util_pango.cc base::i18n::UTF16CharIterator char_iterator(&composition->text); base 27 ui/base/ime/dummy_input_method.cc bool DummyInputMethod::OnUntranslatedIMEMessage(const base::NativeEvent& event, base 26 ui/base/ime/dummy_input_method.h const base::NativeEvent& event, NativeEventResult* result) OVERRIDE; base 29 ui/base/ime/dummy_text_input_client.cc void DummyTextInputClient::InsertText(const base::string16& text) { base 32 ui/base/ime/dummy_text_input_client.cc void DummyTextInputClient::InsertChar(base::char16 ch, int flags) { base 86 ui/base/ime/dummy_text_input_client.cc base::string16* text) const { base 94 ui/base/ime/dummy_text_input_client.cc base::i18n::TextDirection direction) { base 23 ui/base/ime/dummy_text_input_client.h virtual void InsertText(const base::string16& text) OVERRIDE; base 24 ui/base/ime/dummy_text_input_client.h virtual void InsertChar(base::char16 ch, int flags) OVERRIDE; base 39 ui/base/ime/dummy_text_input_client.h base::string16* text) const OVERRIDE; base 42 ui/base/ime/dummy_text_input_client.h base::i18n::TextDirection direction) OVERRIDE; base 9 ui/base/ime/infolist_entry.cc InfolistEntry::InfolistEntry(const base::string16& title, base 10 ui/base/ime/infolist_entry.cc const base::string16& body) base 15 ui/base/ime/infolist_entry.h base::string16 title; base 16 ui/base/ime/infolist_entry.h base::string16 body; base 19 ui/base/ime/infolist_entry.h InfolistEntry(const base::string16& title, const base::string16& body); base 76 ui/base/ime/input_method.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 46 ui/base/ime/input_method_auralinux.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 74 ui/base/ime/input_method_auralinux.cc const base::NativeEvent& event, base 153 ui/base/ime/input_method_auralinux.cc void InputMethodAuraLinux::OnCommit(const base::string16& text) { base 30 ui/base/ime/input_method_auralinux.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 42 ui/base/ime/input_method_auralinux.h virtual void OnCommit(const base::string16& text) OVERRIDE; base 136 ui/base/ime/input_method_base.cc base::MessageLoop::current()->PostTask( base 138 ui/base/ime/input_method_base.cc base::Bind(&InputMethodBase::CandidateWindowShownCallback, AsWeakPtr())); base 142 ui/base/ime/input_method_base.cc base::MessageLoop::current()->PostTask( base 144 ui/base/ime/input_method_base.cc base::Bind(&InputMethodBase::CandidateWindowUpdatedCallback, base 149 ui/base/ime/input_method_base.cc base::MessageLoop::current()->PostTask( base 151 ui/base/ime/input_method_base.cc base::Bind(&InputMethodBase::CandidateWindowHiddenCallback, AsWeakPtr())); base 29 ui/base/ime/input_method_base.h public base::SupportsWeakPtr<InputMethodBase> { base 125 ui/base/ime/input_method_base_unittest.cc message_loop_.reset(new base::MessageLoopForUI); base 133 ui/base/ime/input_method_base_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 148 ui/base/ime/input_method_base_unittest.cc const base::NativeEvent& event, base 366 ui/base/ime/input_method_base_unittest.cc base::RunLoop().RunUntilIdle(); base 373 ui/base/ime/input_method_base_unittest.cc base::RunLoop().RunUntilIdle(); base 380 ui/base/ime/input_method_base_unittest.cc base::RunLoop().RunUntilIdle(); base 391 ui/base/ime/input_method_base_unittest.cc base::RunLoop().RunUntilIdle(); base 77 ui/base/ime/input_method_chromeos.cc const base::NativeEvent& event, base 138 ui/base/ime/input_method_chromeos.cc base::Bind(&InputMethodChromeOS::ProcessKeyEventDone, base 142 ui/base/ime/input_method_chromeos.cc base::Owned(copied_event))); base 182 ui/base/ime/input_method_chromeos.cc base::string16 surrounding_text; base 210 ui/base/ime/input_method_chromeos.cc GetEngine()->SetSurroundingText(base::UTF16ToUTF8(surrounding_text), base 400 ui/base/ime/input_method_chromeos.cc const base::NativeEvent& native_event = event.native_event(); base 423 ui/base/ime/input_method_chromeos.cc for (base::string16::const_iterator i = result_text_.begin(); base 472 ui/base/ime/input_method_chromeos.cc const base::string16 utf16_text = base::UTF8ToUTF16(text); base 566 ui/base/ime/input_method_chromeos.cc base::UTF16ToUTF8(character_composer_.composed_character()); base 587 ui/base/ime/input_method_chromeos.cc base::i18n::UTF16CharIterator char_iterator(&out_composition->text); base 33 ui/base/ime/input_method_chromeos.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 125 ui/base/ime/input_method_chromeos.h base::string16 result_text_; base 127 ui/base/ime/input_method_chromeos.h base::string16 previous_surrounding_text_; base 149 ui/base/ime/input_method_chromeos.h base::WeakPtrFactory<InputMethodChromeOS> weak_ptr_factory_; base 29 ui/base/ime/input_method_chromeos_unittest.cc using base::UTF8ToUTF16; base 30 ui/base/ime/input_method_chromeos_unittest.cc using base::UTF16ToUTF8; base 35 ui/base/ime/input_method_chromeos_unittest.cc const base::string16 kSampleText = base::UTF8ToUTF16( base 42 ui/base/ime/input_method_chromeos_unittest.cc const base::string16& utf16_string, uint32 utf8_offset) { base 44 ui/base/ime/input_method_chromeos_unittest.cc base::i18n::UTF16CharIterator char_iterator(&utf16_string); base 257 ui/base/ime/input_method_chromeos_unittest.cc virtual void InsertText(const base::string16& text) OVERRIDE { base 260 ui/base/ime/input_method_chromeos_unittest.cc virtual void InsertChar(base::char16 ch, int flags) OVERRIDE { base 304 ui/base/ime/input_method_chromeos_unittest.cc base::string16* text) const OVERRIDE { base 312 ui/base/ime/input_method_chromeos_unittest.cc base::i18n::TextDirection direction) OVERRIDE { return false; } base 350 ui/base/ime/input_method_chromeos_unittest.cc base::string16 inserted_text_; base 351 ui/base/ime/input_method_chromeos_unittest.cc base::char16 inserted_char_; base 362 ui/base/ime/input_method_chromeos_unittest.cc base::string16 surrounding_text_; base 581 ui/base/ime/input_method_chromeos_unittest.cc const base::string16 kSampleAsciiText = UTF8ToUTF16("Sample Text"); base 21 ui/base/ime/input_method_minimal.cc const base::NativeEvent& event, base 20 ui/base/ime/input_method_minimal.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 28 ui/base/ime/input_method_win.cc pending_requested_direction_(base::i18n::UNKNOWN_DIRECTION), base 63 ui/base/ime/input_method_win.cc const base::NativeEvent& event, base 110 ui/base/ime/input_method_win.cc const base::NativeEvent& native_key_event = event.native_event(); base 126 ui/base/ime/input_method_win.cc base::i18n::TextDirection dir; base 130 ui/base/ime/input_method_win.cc pending_requested_direction_ = base::i18n::UNKNOWN_DIRECTION; base 134 ui/base/ime/input_method_win.cc pending_requested_direction_ != base::i18n::UNKNOWN_DIRECTION) { base 137 ui/base/ime/input_method_win.cc pending_requested_direction_ = base::i18n::UNKNOWN_DIRECTION; base 230 ui/base/ime/input_method_win.cc const base::char16 kCarriageReturn = L'\r'; base 231 ui/base/ime/input_method_win.cc const base::char16 ch = static_cast<base::char16>(wparam); base 432 ui/base/ime/input_method_win.cc base::string16 text; base 488 ui/base/ime/input_method_win.cc base::string16 text; base 29 ui/base/ime/input_method_win.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 123 ui/base/ime/input_method_win.h base::i18n::TextDirection pending_requested_direction_; base 50 ui/base/ime/linux/linux_input_method_context.h virtual void OnCommit(const base::string16& text) = 0; base 52 ui/base/ime/mock_input_method.cc bool MockInputMethod::OnUntranslatedIMEMessage(const base::NativeEvent& event, base 36 ui/base/ime/mock_input_method.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 64 ui/base/ime/remote_input_method_win.cc base::WideToUTF8(buffer, chars_written - 1, &result); base 144 ui/base/ime/remote_input_method_win.cc virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 187 ui/base/ime/remote_input_method_win.cc const base::NativeEvent& native_key_event = event.native_event(); base 193 ui/base/ime/remote_input_method_win.cc static_cast<base::char16>(native_key_event.wParam), base 328 ui/base/ime/remote_input_method_win.cc virtual void OnTextCommitted(const base::string16& text) OVERRIDE { base 370 ui/base/ime/remote_input_method_win.cc base::win::ScopedHandle process_handle(::OpenProcess( base 374 ui/base/ime/remote_input_method_win.cc return base::win::IsProcessImmersive(process_handle.Get()); base 92 ui/base/ime/remote_input_method_win.h virtual void OnTextCommitted(const base::string16& text) = 0; base 42 ui/base/ime/remote_input_method_win_unittest.cc const base::string16& inserted_text() const { base 93 ui/base/ime/remote_input_method_win_unittest.cc virtual void InsertChar(base::char16 ch, int flags) OVERRIDE { base 97 ui/base/ime/remote_input_method_win_unittest.cc virtual void InsertText(const base::string16& text) OVERRIDE { base 140 ui/base/ime/remote_input_method_win_unittest.cc base::string16 inserted_text_; base 763 ui/base/ime/remote_input_method_win_unittest.cc base::string16 committed_text = L"Hello"; base 46 ui/base/ime/text_input_client.h virtual void InsertText(const base::string16& text) = 0; base 56 ui/base/ime/text_input_client.h virtual void InsertChar(base::char16 ch, int flags) = 0; base 125 ui/base/ime/text_input_client.h base::string16* text) const = 0; base 138 ui/base/ime/text_input_client.h base::i18n::TextDirection direction) = 0; base 25 ui/base/ime/win/imm32_manager.cc COMPILE_ASSERT(sizeof(wchar_t) == sizeof(base::char16), wchar_t__char16_diff); base 139 ui/base/ime/win/imm32_manager.cc base::win::ScopedComPtr<ITfInputProcessorProfileMgr> prof_mgr; base 369 ui/base/ime/win/imm32_manager.cc base::string16* result) { base 382 ui/base/ime/win/imm32_manager.cc HWND window_handle, LPARAM lparam, base::string16* result) { base 488 ui/base/ime/win/imm32_manager.cc base::WideToUTF8(buffer, length - 1, &language); base 499 ui/base/ime/win/imm32_manager.cc base::WideToUTF8(buffer, length - 1, ®ion); base 564 ui/base/ime/win/imm32_manager.cc bool IMM32Manager::IsCtrlShiftPressed(base::i18n::TextDirection* direction) { base 583 ui/base/ime/win/imm32_manager.cc *direction = base::i18n::RIGHT_TO_LEFT; base 586 ui/base/ime/win/imm32_manager.cc *direction = base::i18n::LEFT_TO_RIGHT; base 167 ui/base/ime/win/imm32_manager.h bool GetResult(HWND window_handle, LPARAM lparam, base::string16* result); base 252 ui/base/ime/win/imm32_manager.h static bool IsCtrlShiftPressed(base::i18n::TextDirection* direction); base 277 ui/base/ime/win/imm32_manager.h base::string16* result); base 119 ui/base/ime/win/tsf_input_scope.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 125 ui/base/ime/win/tsf_input_scope.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 107 ui/base/l10n/formatter.h extern UI_BASE_EXPORT base::LazyInstance<FormatterContainer> g_container; base 18 ui/base/l10n/l10n_font_util.cc base::StringToDouble(l10n_util::GetStringUTF8(col_resource_id), &chars); base 27 ui/base/l10n/l10n_font_util.cc base::StringToDouble(l10n_util::GetStringUTF8(row_resource_id), &lines); base 206 ui/base/l10n/l10n_util.cc if (base::strcasecmp(kDuplicateNames[i], locale_name.c_str()) == 0) base 228 ui/base/l10n/l10n_util.cc if (!file_util::IsFilenameLegal(base::ASCIIToUTF16(locale))) base 256 ui/base/l10n/l10n_util.cc void AdjustParagraphDirectionality(base::string16* paragraph) { base 258 ui/base/l10n/l10n_util.cc if (base::i18n::IsRTL() && base 259 ui/base/l10n/l10n_util.cc base::i18n::StringContainsStrongRTLChars(*paragraph)) { base 261 ui/base/l10n/l10n_util.cc static_cast<base::char16>(base::i18n::kRightToLeftMark)); base 268 ui/base/l10n/l10n_util.cc return base::i18n::GetCanonicalLocale(locale.c_str()); base 273 ui/base/l10n/l10n_util.cc : base::DefaultLazyInstanceTraits<std::vector<std::string> > { base 276 ui/base/l10n/l10n_util.cc base::DefaultLazyInstanceTraits<std::vector<std::string> >::New( base 309 ui/base/l10n/l10n_util.cc base::LazyInstance<std::vector<std::string>, AvailableLocalesTraits> base 421 ui/base/l10n/l10n_util.cc base::i18n::SetICUDefaultLocale(app_locale); base 448 ui/base/l10n/l10n_util.cc candidates.push_back(base::i18n::GetConfiguredLocale()); base 468 ui/base/l10n/l10n_util.cc candidates.push_back(base::i18n::GetCanonicalLocale(*languages)); base 483 ui/base/l10n/l10n_util.cc base::i18n::SetICUDefaultLocale(resolved_locale); base 491 ui/base/l10n/l10n_util.cc base::i18n::SetICUDefaultLocale(fallback_locale); base 502 ui/base/l10n/l10n_util.cc base::string16 display_name = base 511 ui/base/l10n/l10n_util.cc base::UTF16ToASCII(display_name) != locale; base 514 ui/base/l10n/l10n_util.cc base::string16 GetDisplayNameForLocale(const std::string& locale, base 539 ui/base/l10n/l10n_util.cc base::string16 display_name; base 562 ui/base/l10n/l10n_util.cc if (is_for_ui && base::i18n::IsRTL()) base 563 ui/base/l10n/l10n_util.cc base::i18n::AdjustStringForLocaleDirection(&display_name); base 567 ui/base/l10n/l10n_util.cc base::string16 GetDisplayNameForCountry(const std::string& country_code, base 585 ui/base/l10n/l10n_util.cc base::strlcpy(parent, locale.c_str(), kNameCapacity); base 665 ui/base/l10n/l10n_util.cc return base::UTF16ToUTF8(GetStringUTF16(message_id)); base 668 ui/base/l10n/l10n_util.cc base::string16 GetStringUTF16(int message_id) { base 670 ui/base/l10n/l10n_util.cc base::string16 str = rb.GetLocalizedString(message_id); base 676 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16(int message_id, base 677 ui/base/l10n/l10n_util.cc const std::vector<base::string16>& replacements, base 684 ui/base/l10n/l10n_util.cc const base::string16& format_string = rb.GetLocalizedString(message_id); base 692 ui/base/l10n/l10n_util.cc std::string utf8_string = base::UTF16ToUTF8(format_string); base 699 ui/base/l10n/l10n_util.cc base::StringPrintf("$%d", static_cast<int>(i + 1)); base 714 ui/base/l10n/l10n_util.cc base::string16 formatted = ReplaceStringPlaceholders( base 722 ui/base/l10n/l10n_util.cc const base::string16& a) { base 723 ui/base/l10n/l10n_util.cc return base::UTF16ToUTF8(GetStringFUTF16(message_id, a)); base 727 ui/base/l10n/l10n_util.cc const base::string16& a, base 728 ui/base/l10n/l10n_util.cc const base::string16& b) { base 729 ui/base/l10n/l10n_util.cc return base::UTF16ToUTF8(GetStringFUTF16(message_id, a, b)); base 733 ui/base/l10n/l10n_util.cc const base::string16& a, base 734 ui/base/l10n/l10n_util.cc const base::string16& b, base 735 ui/base/l10n/l10n_util.cc const base::string16& c) { base 736 ui/base/l10n/l10n_util.cc return base::UTF16ToUTF8(GetStringFUTF16(message_id, a, b, c)); base 740 ui/base/l10n/l10n_util.cc const base::string16& a, base 741 ui/base/l10n/l10n_util.cc const base::string16& b, base 742 ui/base/l10n/l10n_util.cc const base::string16& c, base 743 ui/base/l10n/l10n_util.cc const base::string16& d) { base 744 ui/base/l10n/l10n_util.cc return base::UTF16ToUTF8(GetStringFUTF16(message_id, a, b, c, d)); base 747 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16(int message_id, base 748 ui/base/l10n/l10n_util.cc const base::string16& a) { base 749 ui/base/l10n/l10n_util.cc std::vector<base::string16> replacements; base 754 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16(int message_id, base 755 ui/base/l10n/l10n_util.cc const base::string16& a, base 756 ui/base/l10n/l10n_util.cc const base::string16& b) { base 760 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16(int message_id, base 761 ui/base/l10n/l10n_util.cc const base::string16& a, base 762 ui/base/l10n/l10n_util.cc const base::string16& b, base 763 ui/base/l10n/l10n_util.cc const base::string16& c) { base 764 ui/base/l10n/l10n_util.cc std::vector<base::string16> replacements; base 771 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16(int message_id, base 772 ui/base/l10n/l10n_util.cc const base::string16& a, base 773 ui/base/l10n/l10n_util.cc const base::string16& b, base 774 ui/base/l10n/l10n_util.cc const base::string16& c, base 775 ui/base/l10n/l10n_util.cc const base::string16& d) { base 776 ui/base/l10n/l10n_util.cc std::vector<base::string16> replacements; base 784 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16(int message_id, base 785 ui/base/l10n/l10n_util.cc const base::string16& a, base 786 ui/base/l10n/l10n_util.cc const base::string16& b, base 787 ui/base/l10n/l10n_util.cc const base::string16& c, base 788 ui/base/l10n/l10n_util.cc const base::string16& d, base 789 ui/base/l10n/l10n_util.cc const base::string16& e) { base 790 ui/base/l10n/l10n_util.cc std::vector<base::string16> replacements; base 799 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16(int message_id, base 800 ui/base/l10n/l10n_util.cc const base::string16& a, base 804 ui/base/l10n/l10n_util.cc std::vector<base::string16> replacements; base 806 ui/base/l10n/l10n_util.cc base::string16 result = GetStringFUTF16(message_id, replacements, &offsets); base 812 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16(int message_id, base 813 ui/base/l10n/l10n_util.cc const base::string16& a, base 814 ui/base/l10n/l10n_util.cc const base::string16& b, base 816 ui/base/l10n/l10n_util.cc std::vector<base::string16> replacements; base 822 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16Int(int message_id, int a) { base 823 ui/base/l10n/l10n_util.cc return GetStringFUTF16(message_id, base::UTF8ToUTF16(base::IntToString(a))); base 826 ui/base/l10n/l10n_util.cc base::string16 GetStringFUTF16Int(int message_id, int64 a) { base 827 ui/base/l10n/l10n_util.cc return GetStringFUTF16(message_id, base::UTF8ToUTF16(base::Int64ToString(a))); base 832 ui/base/l10n/l10n_util.cc bool StringComparator<base::string16>::operator()(const base::string16& lhs, base 833 ui/base/l10n/l10n_util.cc const base::string16& rhs) { base 838 ui/base/l10n/l10n_util.cc return base::i18n::CompareString16WithCollator(collator_, lhs, rhs) == base 842 ui/base/l10n/l10n_util.cc base::string16 GetPluralStringFUTF16(const std::vector<int>& message_ids, base 851 ui/base/l10n/l10n_util.cc base::string16 result; base 860 ui/base/l10n/l10n_util.cc return base::UTF16ToUTF8(GetPluralStringFUTF16(message_ids, number)); base 864 ui/base/l10n/l10n_util.cc std::vector<base::string16>* strings) { base 886 ui/base/l10n/l10n_util.cc base::StringToInt(l10n_util::GetStringUTF8(pixel_resource_id), &width); base 59 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetDisplayNameForLocale( base 65 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetDisplayNameForCountry( base 94 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringUTF16(int message_id); base 100 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringFUTF16( base 102 ui/base/l10n/l10n_util.h const std::vector<base::string16>& replacements, base 106 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringFUTF16(int message_id, base 107 ui/base/l10n/l10n_util.h const base::string16& a); base 108 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringFUTF16(int message_id, base 109 ui/base/l10n/l10n_util.h const base::string16& a, base 110 ui/base/l10n/l10n_util.h const base::string16& b); base 111 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringFUTF16(int message_id, base 112 ui/base/l10n/l10n_util.h const base::string16& a, base 113 ui/base/l10n/l10n_util.h const base::string16& b, base 114 ui/base/l10n/l10n_util.h const base::string16& c); base 115 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringFUTF16(int message_id, base 116 ui/base/l10n/l10n_util.h const base::string16& a, base 117 ui/base/l10n/l10n_util.h const base::string16& b, base 118 ui/base/l10n/l10n_util.h const base::string16& c, base 119 ui/base/l10n/l10n_util.h const base::string16& d); base 120 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringFUTF16(int message_id, base 121 ui/base/l10n/l10n_util.h const base::string16& a, base 122 ui/base/l10n/l10n_util.h const base::string16& b, base 123 ui/base/l10n/l10n_util.h const base::string16& c, base 124 ui/base/l10n/l10n_util.h const base::string16& d, base 125 ui/base/l10n/l10n_util.h const base::string16& e); base 127 ui/base/l10n/l10n_util.h const base::string16& a); base 129 ui/base/l10n/l10n_util.h const base::string16& a, base 130 ui/base/l10n/l10n_util.h const base::string16& b); base 132 ui/base/l10n/l10n_util.h const base::string16& a, base 133 ui/base/l10n/l10n_util.h const base::string16& b, base 134 ui/base/l10n/l10n_util.h const base::string16& c); base 136 ui/base/l10n/l10n_util.h const base::string16& a, base 137 ui/base/l10n/l10n_util.h const base::string16& b, base 138 ui/base/l10n/l10n_util.h const base::string16& c, base 139 ui/base/l10n/l10n_util.h const base::string16& d); base 145 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringFUTF16(int message_id, base 146 ui/base/l10n/l10n_util.h const base::string16& a, base 148 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringFUTF16(int message_id, base 149 ui/base/l10n/l10n_util.h const base::string16& a, base 150 ui/base/l10n/l10n_util.h const base::string16& b, base 154 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetStringFUTF16Int(int message_id, int a); base 155 ui/base/l10n/l10n_util.h base::string16 GetStringFUTF16Int(int message_id, int64 a); base 160 ui/base/l10n/l10n_util.h UI_BASE_EXPORT base::string16 GetPluralStringFUTF16( base 170 ui/base/l10n/l10n_util.h std::vector<base::string16>* strings); base 22 ui/base/l10n/l10n_util_android.cc return base::i18n::GetFirstStrongCharacterDirection( base 23 ui/base/l10n/l10n_util_android.cc base::android::ConvertJavaStringToUTF16(env, string)); base 27 ui/base/l10n/l10n_util_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 39 ui/base/l10n/l10n_util_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 79 ui/base/l10n/l10n_util_android.cc base::android::ConvertUTF8ToJavaString(env, language).obj(), base 80 ui/base/l10n/l10n_util_android.cc base::android::ConvertUTF8ToJavaString(env, country).obj(), base 81 ui/base/l10n/l10n_util_android.cc base::android::ConvertUTF8ToJavaString(env, variant).obj()); base 86 ui/base/l10n/l10n_util_android.cc base::string16 GetDisplayNameForLocale(const std::string& locale, base 88 ui/base/l10n/l10n_util_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 104 ui/base/l10n/l10n_util_android.cc base::android::ConvertUTF16ToJavaString( base 108 ui/base/l10n/l10n_util_android.cc base::TimeDelta::FromMilliseconds(timeInMillis))); base 20 ui/base/l10n/l10n_util_android.h UI_BASE_EXPORT base::string16 GetDisplayNameForLocale( base 24 ui/base/l10n/l10n_util_collator.h : public std::binary_function<const base::string16&, base 25 ui/base/l10n/l10n_util_collator.h const base::string16&, base 34 ui/base/l10n/l10n_util_collator.h return base::i18n::CompareString16WithCollator(collator_, base 47 ui/base/l10n/l10n_util_collator.h : public std::binary_function<const base::string16&, base 48 ui/base/l10n/l10n_util_collator.h const base::string16&, base 97 ui/base/l10n/l10n_util_collator.h const base::string16& lhs_string_key = lhs.GetStringKey(); base 98 ui/base/l10n/l10n_util_collator.h const base::string16& rhs_string_key = rhs.GetStringKey(); base 100 ui/base/l10n/l10n_util_collator.h return StringComparator<base::string16>(collator_)(lhs_string_key, base 110 ui/base/l10n/l10n_util_collator.h bool StringComparator<base::string16>::operator()(const base::string16& lhs, base 111 ui/base/l10n/l10n_util_collator.h const base::string16& rhs); base 26 ui/base/l10n/l10n_util_mac.h UI_BASE_EXPORT NSString* FixUpWindowsStyleLabel(const base::string16& label); base 33 ui/base/l10n/l10n_util_mac.h UI_BASE_EXPORT NSString* GetNSStringF(int message_id, const base::string16& a); base 35 ui/base/l10n/l10n_util_mac.h const base::string16& a, base 36 ui/base/l10n/l10n_util_mac.h const base::string16& b); base 38 ui/base/l10n/l10n_util_mac.h const base::string16& a, base 39 ui/base/l10n/l10n_util_mac.h const base::string16& b, base 40 ui/base/l10n/l10n_util_mac.h const base::string16& c); base 42 ui/base/l10n/l10n_util_mac.h const base::string16& a, base 43 ui/base/l10n/l10n_util_mac.h const base::string16& b, base 44 ui/base/l10n/l10n_util_mac.h const base::string16& c, base 45 ui/base/l10n/l10n_util_mac.h const base::string16& d); base 50 ui/base/l10n/l10n_util_mac.h const base::string16& a, base 51 ui/base/l10n/l10n_util_mac.h const base::string16& b, base 61 ui/base/l10n/l10n_util_mac.h const base::string16& a); base 63 ui/base/l10n/l10n_util_mac.h const base::string16& a, base 64 ui/base/l10n/l10n_util_mac.h const base::string16& b); base 66 ui/base/l10n/l10n_util_mac.h const base::string16& a, base 67 ui/base/l10n/l10n_util_mac.h const base::string16& b, base 68 ui/base/l10n/l10n_util_mac.h const base::string16& c); base 70 ui/base/l10n/l10n_util_mac.h const base::string16& a, base 71 ui/base/l10n/l10n_util_mac.h const base::string16& b, base 72 ui/base/l10n/l10n_util_mac.h const base::string16& c, base 73 ui/base/l10n/l10n_util_mac.h const base::string16& d); base 36 ui/base/l10n/l10n_util_unittest.cc using base::ASCIIToUTF16; base 37 ui/base/l10n/l10n_util_unittest.cc using base::UTF8ToUTF16; base 43 ui/base/l10n/l10n_util_unittest.cc explicit StringWrapper(const base::string16& string) : string_(string) {} base 44 ui/base/l10n/l10n_util_unittest.cc const base::string16& string() const { return string_; } base 47 ui/base/l10n/l10n_util_unittest.cc base::string16 string_; base 68 ui/base/l10n/l10n_util_unittest.cc base::string16 s16 = l10n_util::GetStringFUTF16Int(IDS_PLACEHOLDERS_2, 20); base 97 ui/base/l10n/l10n_util_unittest.cc void SetDefaultLocaleForTest(const std::string& tag, base::Environment* env) { base 101 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale(tag); base 105 ui/base/l10n/l10n_util_unittest.cc scoped_ptr<base::Environment> env; base 108 ui/base/l10n/l10n_util_unittest.cc base::ScopedPathOverride locale_dir_override(ui::DIR_LOCALES); base 109 ui/base/l10n/l10n_util_unittest.cc base::FilePath new_locale_dir; base 129 ui/base/l10n/l10n_util_unittest.cc base::FilePath filename = new_locale_dir.AppendASCII( base 131 ui/base/l10n/l10n_util_unittest.cc base::WriteFile(filename, "", 0); base 135 ui/base/l10n/l10n_util_unittest.cc const std::string original_locale = base::i18n::GetConfiguredLocale(); base 138 ui/base/l10n/l10n_util_unittest.cc env.reset(base::Environment::Create()); base 141 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("en-US"); base 155 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("fr-FR"); base 263 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("en-US"); base 267 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("en-US"); base 278 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("es-AR"); base 281 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("zh-HK"); base 284 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 290 ui/base/l10n/l10n_util_unittest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 291 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("am"); base 293 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("en-GB"); base 296 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("am"); base 298 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("en-GB"); base 304 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale(original_locale); base 331 ui/base/l10n/l10n_util_unittest.cc EXPECT_EQ(true, base::i18n::IsRTL()); base 332 ui/base/l10n/l10n_util_unittest.cc base::string16 result = l10n_util::GetDisplayNameForLocale(locale, base 338 ui/base/l10n/l10n_util_unittest.cc base::char16 ch = result.at(i); base 340 ui/base/l10n/l10n_util_unittest.cc case base::i18n::kLeftToRightMark: base 341 ui/base/l10n/l10n_util_unittest.cc case base::i18n::kLeftToRightEmbeddingMark: base 344 ui/base/l10n/l10n_util_unittest.cc case base::i18n::kRightToLeftMark: base 345 ui/base/l10n/l10n_util_unittest.cc case base::i18n::kRightToLeftEmbeddingMark: base 358 ui/base/l10n/l10n_util_unittest.cc base::string16 result = base 382 ui/base/l10n/l10n_util_unittest.cc const std::string original_locale = base::i18n::GetConfiguredLocale(); base 384 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 389 ui/base/l10n/l10n_util_unittest.cc base::i18n::SetICUDefaultLocale(original_locale); base 394 ui/base/l10n/l10n_util_unittest.cc base::char16 buf_with_null[length_with_null] = { 0, 'a', 0, 'b' }; base 395 ui/base/l10n/l10n_util_unittest.cc base::string16 string16_with_null(buf_with_null, length_with_null); base 397 ui/base/l10n/l10n_util_unittest.cc base::string16 upper_with_null = base::i18n::ToUpper(string16_with_null); base 402 ui/base/l10n/l10n_util_unittest.cc base::string16 lower_with_null = base::i18n::ToLower(upper_with_null); base 409 ui/base/l10n/l10n_util_unittest.cc base::string16 result = l10n_util::GetDisplayNameForCountry("BR", "en"); base 24 ui/base/l10n/l10n_util_win.cc void AdjustLogFont(const base::string16& font_family, base 78 ui/base/l10n/l10n_util_win.cc base::LazyInstance<OverrideLocaleHolder> override_locale_holder = base 86 ui/base/l10n/l10n_util_win.cc return !base::i18n::IsRTL() ? 0 : WS_EX_LAYOUTRTL | WS_EX_RTLREADING; base 90 ui/base/l10n/l10n_util_win.cc return !base::i18n::IsRTL() ? 0 : WS_EX_LAYOUTRTL; base 113 ui/base/l10n/l10n_util_win.cc return (base::win::GetVersion() >= base::win::VERSION_VISTA || base 117 ui/base/l10n/l10n_util_win.cc bool NeedOverrideDefaultUIFont(base::string16* override_font_family, base 129 ui/base/l10n/l10n_util_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 134 ui/base/l10n/l10n_util_win.cc base::string16 ui_font_family = GetStringUTF16(ui_font_family_id); base 136 ui/base/l10n/l10n_util_win.cc if (!base::StringToInt(l10n_util::GetStringUTF16(ui_font_size_scaler_id), base 165 ui/base/l10n/l10n_util_win.cc base::string16 ui_font_family = L"default"; base 174 ui/base/l10n/l10n_util_win.cc base::string16 ui_font_family; base 189 ui/base/l10n/l10n_util_win.cc std::vector<base::string16> ui_languages; base 190 ui/base/l10n/l10n_util_win.cc if (base::win::i18n::GetThreadPreferredUILanguageList(&ui_languages)) { base 194 ui/base/l10n/l10n_util_win.cc std::back_inserter(ascii_languages), &base::UTF16ToASCII); base 44 ui/base/l10n/l10n_util_win.h base::string16* override_font_family, base 19 ui/base/l10n/l10n_util_win_unittest.cc base::win::GetNonClientMetrics(&metrics); base 19 ui/base/l10n/time_format.cc using base::Time; base 20 ui/base/l10n/time_format.cc using base::TimeDelta; base 25 ui/base/l10n/time_format.cc UI_BASE_EXPORT base::LazyInstance<FormatterContainer> g_container = base 29 ui/base/l10n/time_format.cc base::string16 TimeFormat::Simple(TimeFormat::Format format, base 31 ui/base/l10n/time_format.cc const base::TimeDelta& delta) { base 36 ui/base/l10n/time_format.cc base::string16 TimeFormat::Detailed(TimeFormat::Format format, base 39 ui/base/l10n/time_format.cc const base::TimeDelta& delta) { base 42 ui/base/l10n/time_format.cc return base::string16(); base 110 ui/base/l10n/time_format.cc base::string16 result; base 119 ui/base/l10n/time_format.cc base::string16 TimeFormat::RelativeDate( base 128 ui/base/l10n/time_format.cc return base::string16(); base 133 ui/base/l10n/time_format.cc return base::string16(); base 12 ui/base/l10n/time_format.h namespace base { base 39 ui/base/l10n/time_format.h static base::string16 Simple(Format format, base 41 ui/base/l10n/time_format.h const base::TimeDelta& delta); base 71 ui/base/l10n/time_format.h static base::string16 Detailed(Format format, base 74 ui/base/l10n/time_format.h const base::TimeDelta& delta); base 90 ui/base/l10n/time_format.h static base::string16 RelativeDate(const base::Time& time, base 91 ui/base/l10n/time_format.h const base::Time* optional_midnight_today); base 15 ui/base/l10n/time_format_unittest.cc using base::ASCIIToUTF16; base 20 ui/base/l10n/time_format_unittest.cc using base::TimeDelta; base 334 ui/base/l10n/time_format_unittest.cc base::Time now = base::Time::Now(); base 335 ui/base/l10n/time_format_unittest.cc base::string16 today_str = TimeFormat::RelativeDate(now, NULL); base 338 ui/base/l10n/time_format_unittest.cc base::Time yesterday = now - TimeDelta::FromDays(1); base 339 ui/base/l10n/time_format_unittest.cc base::string16 yesterday_str = TimeFormat::RelativeDate(yesterday, NULL); base 342 ui/base/l10n/time_format_unittest.cc base::Time two_days_ago = now - TimeDelta::FromDays(2); base 343 ui/base/l10n/time_format_unittest.cc base::string16 two_days_ago_str = base 347 ui/base/l10n/time_format_unittest.cc base::Time a_week_ago = now - TimeDelta::FromDays(7); base 348 ui/base/l10n/time_format_unittest.cc base::string16 a_week_ago_str = TimeFormat::RelativeDate(a_week_ago, NULL); base 60 ui/base/layout.cc return base::win::IsMetroProcess() && ui::IsTouchDevicePresent(); base 16 ui/base/models/button_menu_item_model.cc base::string16 ButtonMenuItemModel::Delegate::GetLabelForCommandId( base 18 ui/base/models/button_menu_item_model.cc return base::string16(); base 33 ui/base/models/button_menu_item_model.cc base::string16 label; base 57 ui/base/models/button_menu_item_model.cc Item item = { command_id, TYPE_BUTTON, base::string16(), icon_idr, false }; base 68 ui/base/models/button_menu_item_model.cc Item item = { 0, TYPE_SPACE, base::string16(), -1, false }; base 91 ui/base/models/button_menu_item_model.cc base::string16 ButtonMenuItemModel::GetLabelAt(int index) const { base 30 ui/base/models/button_menu_item_model.h virtual base::string16 GetLabelForCommandId(int command_id) const; base 72 ui/base/models/button_menu_item_model.h base::string16 GetLabelAt(int index) const; base 97 ui/base/models/button_menu_item_model.h const base::string16& label() const { return item_label_; } base 101 ui/base/models/button_menu_item_model.h base::string16 item_label_; base 22 ui/base/models/combobox_model.h virtual base::string16 GetItemAt(int index) = 0; base 22 ui/base/models/dialog_model.h virtual base::string16 GetDialogLabel() const = 0; base 25 ui/base/models/dialog_model.h virtual base::string16 GetDialogTitle() const = 0; base 44 ui/base/models/dialog_model.h virtual base::string16 GetDialogButtonLabel(DialogButton button) const = 0; base 20 ui/base/models/list_selection_model_unittest.cc std::string result = "active=" + base::IntToString(model.active()) + base 21 ui/base/models/list_selection_model_unittest.cc " anchor=" + base::IntToString(model.anchor()) + base 28 ui/base/models/list_selection_model_unittest.cc result += base::IntToString(selection[i]); base 35 ui/base/models/menu_model.cc base::string16 MenuModel::GetSublabelAt(int index) const { base 36 ui/base/models/menu_model.cc return base::string16(); base 39 ui/base/models/menu_model.cc base::string16 MenuModel::GetMinorTextAt(int index) const { base 40 ui/base/models/menu_model.cc return base::string16(); base 58 ui/base/models/menu_model.h virtual base::string16 GetLabelAt(int index) const = 0; base 62 ui/base/models/menu_model.h virtual base::string16 GetSublabelAt(int index) const; base 66 ui/base/models/menu_model.h virtual base::string16 GetMinorTextAt(int index) const; base 18 ui/base/models/simple_menu_model.cc base::string16 label; base 19 ui/base/models/simple_menu_model.cc base::string16 sublabel; base 20 ui/base/models/simple_menu_model.cc base::string16 minor_text; base 41 ui/base/models/simple_menu_model.cc base::string16 SimpleMenuModel::Delegate::GetLabelForCommandId( base 43 ui/base/models/simple_menu_model.cc return base::string16(); base 46 ui/base/models/simple_menu_model.cc base::string16 SimpleMenuModel::Delegate::GetSublabelForCommandId( base 48 ui/base/models/simple_menu_model.cc return base::string16(); base 51 ui/base/models/simple_menu_model.cc base::string16 SimpleMenuModel::Delegate::GetMinorTextForCommandId( base 53 ui/base/models/simple_menu_model.cc return base::string16(); base 87 ui/base/models/simple_menu_model.cc void SimpleMenuModel::AddItem(int command_id, const base::string16& label) { base 88 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), base 98 ui/base/models/simple_menu_model.cc const base::string16& label) { base 99 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), base 109 ui/base/models/simple_menu_model.cc const base::string16& label, base 111 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), base 137 ui/base/models/simple_menu_model.cc Item item = { kSeparatorId, base::string16(), base::string16(), base 138 ui/base/models/simple_menu_model.cc base::string16(), gfx::Image(), TYPE_SEPARATOR, -1, NULL, NULL, base 151 ui/base/models/simple_menu_model.cc Item item = { command_id, base::string16(), base::string16(), base 152 ui/base/models/simple_menu_model.cc base::string16(), gfx::Image(), TYPE_BUTTON_ITEM, -1, NULL, base 158 ui/base/models/simple_menu_model.cc const base::string16& label, base 160 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), base 172 ui/base/models/simple_menu_model.cc const base::string16& label) { base 173 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), base 190 ui/base/models/simple_menu_model.cc Item item = { kSeparatorId, base::string16(), base::string16(), base 191 ui/base/models/simple_menu_model.cc base::string16(), gfx::Image(), TYPE_SEPARATOR, -1, NULL, NULL, base 198 ui/base/models/simple_menu_model.cc const base::string16& label) { base 199 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), base 211 ui/base/models/simple_menu_model.cc const base::string16& label, base 213 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), base 227 ui/base/models/simple_menu_model.cc const base::string16& label, base 229 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), base 251 ui/base/models/simple_menu_model.cc void SimpleMenuModel::SetSublabel(int index, const base::string16& sublabel) { base 257 ui/base/models/simple_menu_model.cc const base::string16& minor_text) { base 302 ui/base/models/simple_menu_model.cc base::string16 SimpleMenuModel::GetLabelAt(int index) const { base 308 ui/base/models/simple_menu_model.cc base::string16 SimpleMenuModel::GetSublabelAt(int index) const { base 314 ui/base/models/simple_menu_model.cc base::string16 SimpleMenuModel::GetMinorTextAt(int index) const { base 405 ui/base/models/simple_menu_model.cc base::MessageLoop::current()->PostTask( base 407 ui/base/models/simple_menu_model.cc base::Bind(&SimpleMenuModel::OnMenuClosed, method_factory_.GetWeakPtr())); base 46 ui/base/models/simple_menu_model.h virtual base::string16 GetLabelForCommandId(int command_id) const; base 47 ui/base/models/simple_menu_model.h virtual base::string16 GetSublabelForCommandId(int command_id) const; base 48 ui/base/models/simple_menu_model.h virtual base::string16 GetMinorTextForCommandId(int command_id) const; base 76 ui/base/models/simple_menu_model.h void AddItem(int command_id, const base::string16& label); base 78 ui/base/models/simple_menu_model.h void AddCheckItem(int command_id, const base::string16& label); base 80 ui/base/models/simple_menu_model.h void AddRadioItem(int command_id, const base::string16& label, int group_id); base 98 ui/base/models/simple_menu_model.h const base::string16& label, base 103 ui/base/models/simple_menu_model.h void InsertItemAt(int index, int command_id, const base::string16& label); base 108 ui/base/models/simple_menu_model.h const base::string16& label); base 112 ui/base/models/simple_menu_model.h const base::string16& label, base 118 ui/base/models/simple_menu_model.h const base::string16& label, base 130 ui/base/models/simple_menu_model.h void SetSublabel(int index, const base::string16& sublabel); base 133 ui/base/models/simple_menu_model.h void SetMinorText(int index, const base::string16& minor_text); base 148 ui/base/models/simple_menu_model.h virtual base::string16 GetLabelAt(int index) const OVERRIDE; base 149 ui/base/models/simple_menu_model.h virtual base::string16 GetSublabelAt(int index) const OVERRIDE; base 150 ui/base/models/simple_menu_model.h virtual base::string16 GetMinorTextAt(int index) const OVERRIDE; base 201 ui/base/models/simple_menu_model.h base::WeakPtrFactory<SimpleMenuModel> method_factory_; base 45 ui/base/models/table_model.cc base::string16 TableModel::GetTooltip(int row) { base 46 ui/base/models/table_model.cc return base::string16(); base 74 ui/base/models/table_model.cc base::string16 value1 = GetText(row1, column_id); base 75 ui/base/models/table_model.cc base::string16 value2 = GetText(row2, column_id); base 79 ui/base/models/table_model.cc return base::i18n::CompareString16WithCollator(collator, value1, value2); base 28 ui/base/models/table_model.h base::string16 title; base 39 ui/base/models/table_model.h virtual base::string16 GetText(int row, int column_id) = 0; base 50 ui/base/models/table_model.h virtual base::string16 GetTooltip(int row); base 106 ui/base/models/table_model.h base::string16 title; base 12 ui/base/models/tree_model.cc const base::string16& title) { base 27 ui/base/models/tree_model.h virtual const base::string16& GetTitle() const = 0; base 84 ui/base/models/tree_model.h virtual void SetTitle(TreeModelNode* node, const base::string16& title); base 68 ui/base/models/tree_node_model.h explicit TreeNode(const base::string16& title) base 154 ui/base/models/tree_node_model.h virtual void SetTitle(const base::string16& title) { title_ = title; } base 157 ui/base/models/tree_node_model.h virtual const base::string16& GetTitle() const OVERRIDE { return title_; } base 174 ui/base/models/tree_node_model.h base::string16 title_; base 193 ui/base/models/tree_node_model.h : ParentType(base::string16()), value(value) {} base 195 ui/base/models/tree_node_model.h TreeNodeWithValue(const base::string16& title, const ValueType& value) base 287 ui/base/models/tree_node_model.h const base::string16& title) OVERRIDE { base 15 ui/base/models/tree_node_model_unittest.cc using base::ASCIIToUTF16; base 29 ui/base/models/tree_node_model_unittest.cc std::string result(base::StringPrintf("added=%d removed=%d changed=%d", base 286 ui/base/models/tree_node_model_unittest.cc const base::string16 title(ASCIIToUTF16("root2")); base 75 ui/base/resource/data_pack.cc bool DataPack::LoadFromPath(const base::FilePath& path) { base 76 ui/base/resource/data_pack.cc mmap_.reset(new base::MemoryMappedFile); base 87 ui/base/resource/data_pack.cc bool DataPack::LoadFromFile(base::File file) { base 88 ui/base/resource/data_pack.cc mmap_.reset(new base::MemoryMappedFile); base 171 ui/base/resource/data_pack.cc base::StringPiece* data) const { base 198 ui/base/resource/data_pack.cc base::RefCountedStaticMemory* DataPack::GetStaticMemory( base 200 ui/base/resource/data_pack.cc base::StringPiece piece; base 204 ui/base/resource/data_pack.cc return new base::RefCountedStaticMemory(piece.data(), piece.length()); base 216 ui/base/resource/data_pack.cc bool DataPack::WritePack(const base::FilePath& path, base 217 ui/base/resource/data_pack.cc const std::map<uint16, base::StringPiece>& resources, base 219 ui/base/resource/data_pack.cc FILE* file = base::OpenFile(path, "wb"); base 225 ui/base/resource/data_pack.cc base::CloseFile(file); base 234 ui/base/resource/data_pack.cc base::CloseFile(file); base 242 ui/base/resource/data_pack.cc base::CloseFile(file); base 249 ui/base/resource/data_pack.cc base::CloseFile(file); base 257 ui/base/resource/data_pack.cc for (std::map<uint16, base::StringPiece>::const_iterator it = base 263 ui/base/resource/data_pack.cc base::CloseFile(file); base 269 ui/base/resource/data_pack.cc base::CloseFile(file); base 281 ui/base/resource/data_pack.cc base::CloseFile(file); base 287 ui/base/resource/data_pack.cc base::CloseFile(file); base 291 ui/base/resource/data_pack.cc for (std::map<uint16, base::StringPiece>::const_iterator it = base 296 ui/base/resource/data_pack.cc base::CloseFile(file); base 301 ui/base/resource/data_pack.cc base::CloseFile(file); base 22 ui/base/resource/data_pack.h namespace base { base 36 ui/base/resource/data_pack.h bool LoadFromPath(const base::FilePath& path); base 39 ui/base/resource/data_pack.h bool LoadFromFile(base::File file); base 45 ui/base/resource/data_pack.h static bool WritePack(const base::FilePath& path, base 46 ui/base/resource/data_pack.h const std::map<uint16, base::StringPiece>& resources, base 52 ui/base/resource/data_pack.h base::StringPiece* data) const OVERRIDE; base 53 ui/base/resource/data_pack.h virtual base::RefCountedStaticMemory* GetStaticMemory( base 63 ui/base/resource/data_pack.h scoped_ptr<base::MemoryMappedFile> mmap_; base 26 ui/base/resource/data_pack_unittest.cc base::ScopedTempDir dir; base 28 ui/base/resource/data_pack_unittest.cc base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); base 31 ui/base/resource/data_pack_unittest.cc ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, kSamplePakSize), base 38 ui/base/resource/data_pack_unittest.cc base::StringPiece data; base 58 ui/base/resource/data_pack_unittest.cc base::ScopedTempDir dir; base 60 ui/base/resource/data_pack_unittest.cc base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); base 63 ui/base/resource/data_pack_unittest.cc ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, kSamplePakSize), base 66 ui/base/resource/data_pack_unittest.cc base::File file(data_path, base::File::FLAG_OPEN | base::File::FLAG_READ); base 73 ui/base/resource/data_pack_unittest.cc base::StringPiece data; base 100 ui/base/resource/data_pack_unittest.cc base::FilePath data_path; base 101 ui/base/resource/data_pack_unittest.cc PathService::Get(base::DIR_SOURCE_ROOT, &data_path); base 110 ui/base/resource/data_pack_unittest.cc base::ScopedTempDir dir; base 112 ui/base/resource/data_pack_unittest.cc base::FilePath file = dir.path().Append(FILE_PATH_LITERAL("data.pak")); base 120 ui/base/resource/data_pack_unittest.cc std::map<uint16, base::StringPiece> resources; base 121 ui/base/resource/data_pack_unittest.cc resources.insert(std::make_pair(1, base::StringPiece(one))); base 122 ui/base/resource/data_pack_unittest.cc resources.insert(std::make_pair(2, base::StringPiece(two))); base 123 ui/base/resource/data_pack_unittest.cc resources.insert(std::make_pair(15, base::StringPiece(fifteen))); base 124 ui/base/resource/data_pack_unittest.cc resources.insert(std::make_pair(3, base::StringPiece(three))); base 125 ui/base/resource/data_pack_unittest.cc resources.insert(std::make_pair(4, base::StringPiece(four))); base 133 ui/base/resource/data_pack_unittest.cc base::StringPiece data; base 73 ui/base/resource/resource_bundle.cc std::string font_family = base::UTF16ToUTF8( base 168 ui/base/resource/resource_bundle.cc base::File pak_file, bool should_load_common_resources) { base 184 ui/base/resource/resource_bundle.cc void ResourceBundle::InitSharedInstanceWithPakPath(const base::FilePath& path) { base 215 ui/base/resource/resource_bundle.cc void ResourceBundle::AddDataPackFromPath(const base::FilePath& path, base 220 ui/base/resource/resource_bundle.cc void ResourceBundle::AddOptionalDataPackFromPath(const base::FilePath& path, base 225 ui/base/resource/resource_bundle.cc void ResourceBundle::AddDataPackFromFile(base::File file, base 238 ui/base/resource/resource_bundle.cc base::FilePath ResourceBundle::GetLocaleFilePath(const std::string& app_locale, base 241 ui/base/resource/resource_bundle.cc return base::FilePath(); base 243 ui/base/resource/resource_bundle.cc base::FilePath locale_file_path; base 257 ui/base/resource/resource_bundle.cc return base::FilePath(); base 259 ui/base/resource/resource_bundle.cc if (test_file_exists && !base::PathExists(locale_file_path)) base 260 ui/base/resource/resource_bundle.cc return base::FilePath(); base 270 ui/base/resource/resource_bundle.cc base::FilePath locale_file_path = GetOverriddenPakPath(); base 301 ui/base/resource/resource_bundle.cc void ResourceBundle::LoadTestResources(const base::FilePath& path, base 302 ui/base/resource/resource_bundle.cc const base::FilePath& locale_path) { base 320 ui/base/resource/resource_bundle.cc void ResourceBundle::OverrideLocalePakForTest(const base::FilePath& pak_path) { base 324 ui/base/resource/resource_bundle.cc const base::FilePath& ResourceBundle::GetOverriddenPakPath() { base 330 ui/base/resource/resource_bundle.cc base::AutoLock lock_scope(*locale_resources_data_lock_); base 343 ui/base/resource/resource_bundle.cc base::AutoLock lock_scope(*images_and_fonts_lock_); base 382 ui/base/resource/resource_bundle.cc base::AutoLock lock_scope(*images_and_fonts_lock_); base 396 ui/base/resource/resource_bundle.cc base::RefCountedStaticMemory* ResourceBundle::LoadDataResourceBytes( base 401 ui/base/resource/resource_bundle.cc base::RefCountedStaticMemory* ResourceBundle::LoadDataResourceBytesForScale( base 404 ui/base/resource/resource_bundle.cc base::RefCountedStaticMemory* bytes = NULL; base 409 ui/base/resource/resource_bundle.cc base::StringPiece data = base 412 ui/base/resource/resource_bundle.cc bytes = new base::RefCountedStaticMemory(data.data(), data.length()); base 419 ui/base/resource/resource_bundle.cc base::StringPiece ResourceBundle::GetRawDataResource(int resource_id) const { base 423 ui/base/resource/resource_bundle.cc base::StringPiece ResourceBundle::GetRawDataResourceForScale( base 426 ui/base/resource/resource_bundle.cc base::StringPiece data; base 446 ui/base/resource/resource_bundle.cc return base::StringPiece(); base 449 ui/base/resource/resource_bundle.cc base::string16 ResourceBundle::GetLocalizedString(int message_id) { base 450 ui/base/resource/resource_bundle.cc base::string16 string; base 456 ui/base/resource/resource_bundle.cc base::AutoLock lock_scope(*locale_resources_data_lock_); base 462 ui/base/resource/resource_bundle.cc return base::string16(); base 465 ui/base/resource/resource_bundle.cc base::StringPiece data; base 472 ui/base/resource/resource_bundle.cc return base::string16(); base 483 ui/base/resource/resource_bundle.cc base::string16 msg; base 485 ui/base/resource/resource_bundle.cc msg = base::string16(reinterpret_cast<const base::char16*>(data.data()), base 488 ui/base/resource/resource_bundle.cc msg = base::UTF8ToUTF16(data); base 495 ui/base/resource/resource_bundle.cc base::AutoLock lock_scope(*images_and_fonts_lock_); base 523 ui/base/resource/resource_bundle.cc base::AutoLock lock_scope(*images_and_fonts_lock_); base 538 ui/base/resource/resource_bundle.cc images_and_fonts_lock_(new base::Lock), base 539 ui/base/resource/resource_bundle.cc locale_resources_data_lock_(new base::Lock), base 574 ui/base/resource/resource_bundle.cc if (base::mac::IsOSLionOrLater()) base 607 ui/base/resource/resource_bundle.cc void ResourceBundle::AddDataPackFromPathInternal(const base::FilePath& path, base 614 ui/base/resource/resource_bundle.cc base::FilePath pack_path = path; base 715 ui/base/resource/resource_bundle.cc scoped_refptr<base::RefCountedMemory> memory( base 763 ui/base/resource/resource_bundle.cc base::AutoLock lock(*images_and_fonts_lock_); base 798 ui/base/resource/resource_bundle.cc base::ReadBigEndian(reinterpret_cast<const char*>(buf + pos), &length); base 27 ui/base/resource/resource_bundle.h namespace base { base 73 ui/base/resource/resource_bundle.h virtual base::FilePath GetPathForResourcePack( base 74 ui/base/resource/resource_bundle.h const base::FilePath& pack_path, base 81 ui/base/resource/resource_bundle.h virtual base::FilePath GetPathForLocalePack( base 82 ui/base/resource/resource_bundle.h const base::FilePath& pack_path, base 95 ui/base/resource/resource_bundle.h virtual base::RefCountedStaticMemory* LoadDataResourceBytes( base 103 ui/base/resource/resource_bundle.h base::StringPiece* value) = 0; base 107 ui/base/resource/resource_bundle.h virtual bool GetLocalizedString(int message_id, base::string16* value) = 0; base 137 ui/base/resource/resource_bundle.h static void InitSharedInstanceWithPakFile(base::File file, base 141 ui/base/resource/resource_bundle.h static void InitSharedInstanceWithPakPath(const base::FilePath& path); base 162 ui/base/resource/resource_bundle.h void AddDataPackFromPath(const base::FilePath& path, base 166 ui/base/resource/resource_bundle.h void AddDataPackFromFile(base::File file, ScaleFactor scale_factor); base 170 ui/base/resource/resource_bundle.h void AddOptionalDataPackFromPath(const base::FilePath& path, base 208 ui/base/resource/resource_bundle.h base::RefCountedStaticMemory* LoadDataResourceBytes(int resource_id) const; base 215 ui/base/resource/resource_bundle.h base::RefCountedStaticMemory* LoadDataResourceBytesForScale( base 221 ui/base/resource/resource_bundle.h base::StringPiece GetRawDataResource(int resource_id) const; base 227 ui/base/resource/resource_bundle.h base::StringPiece GetRawDataResourceForScale(int resource_id, base 232 ui/base/resource/resource_bundle.h base::string16 GetLocalizedString(int message_id); base 246 ui/base/resource/resource_bundle.h void OverrideLocalePakForTest(const base::FilePath& pak_path); base 252 ui/base/resource/resource_bundle.h base::FilePath GetLocaleFilePath(const std::string& app_locale, base 285 ui/base/resource/resource_bundle.h void AddDataPackFromPathInternal(const base::FilePath& path, base 299 ui/base/resource/resource_bundle.h void LoadTestResources(const base::FilePath& path, base 300 ui/base/resource/resource_bundle.h const base::FilePath& locale_path); base 354 ui/base/resource/resource_bundle.h const base::FilePath& GetOverriddenPakPath(); base 371 ui/base/resource/resource_bundle.h scoped_ptr<base::Lock> images_and_fonts_lock_; base 374 ui/base/resource/resource_bundle.h scoped_ptr<base::Lock> locale_resources_data_lock_; base 402 ui/base/resource/resource_bundle.h base::FilePath overridden_pak_path_; base 20 ui/base/resource/resource_bundle_android.cc base::FilePath path; base 19 ui/base/resource/resource_bundle_auralinux.cc base::FilePath GetResourcesPakFilePath(const std::string& pak_name) { base 20 ui/base/resource/resource_bundle_auralinux.cc base::FilePath path; base 21 ui/base/resource/resource_bundle_auralinux.cc if (PathService::Get(base::DIR_MODULE, &path)) base 25 ui/base/resource/resource_bundle_auralinux.cc return base::FilePath(pak_name.c_str()); base 28 ui/base/resource/resource_bundle_gtk.cc GdkPixbuf* LoadPixbuf(base::RefCountedStaticMemory* data, bool rtl_enabled) { base 43 ui/base/resource/resource_bundle_gtk.cc if (base::i18n::IsRTL() && rtl_enabled) { base 56 ui/base/resource/resource_bundle_gtk.cc base::FilePath GetResourcesPakFilePath(const std::string& pak_name) { base 57 ui/base/resource/resource_bundle_gtk.cc base::FilePath path; base 58 ui/base/resource/resource_bundle_gtk.cc if (PathService::Get(base::DIR_MODULE, &path)) base 62 ui/base/resource/resource_bundle_gtk.cc return base::FilePath(pak_name.c_str()); base 79 ui/base/resource/resource_bundle_gtk.cc base::AutoLock lock_scope(*images_and_fonts_lock_); base 89 ui/base/resource/resource_bundle_gtk.cc scoped_refptr<base::RefCountedStaticMemory> data( base 102 ui/base/resource/resource_bundle_gtk.cc base::AutoLock lock_scope(*images_and_fonts_lock_); base 60 ui/base/resource/resource_bundle_unittest.cc MOCK_METHOD2(GetPathForResourcePack, base::FilePath( base 61 ui/base/resource/resource_bundle_unittest.cc const base::FilePath& pack_path, ui::ScaleFactor scale_factor)); base 62 ui/base/resource/resource_bundle_unittest.cc MOCK_METHOD2(GetPathForLocalePack, base::FilePath( base 63 ui/base/resource/resource_bundle_unittest.cc const base::FilePath& pack_path, const std::string& locale)); base 69 ui/base/resource/resource_bundle_unittest.cc base::RefCountedStaticMemory*(int resource_id, base 71 ui/base/resource/resource_bundle_unittest.cc MOCK_METHOD2(GetRawDataResourceMock, base::StringPiece( base 76 ui/base/resource/resource_bundle_unittest.cc base::StringPiece* value) OVERRIDE { base 80 ui/base/resource/resource_bundle_unittest.cc MOCK_METHOD1(GetLocalizedStringMock, base::string16(int message_id)); base 82 ui/base/resource/resource_bundle_unittest.cc base::string16* value) OVERRIDE { base 95 ui/base/resource/resource_bundle_unittest.cc void AddCustomChunk(const base::StringPiece& custom_chunk, base 108 ui/base/resource/resource_bundle_unittest.cc base::ReadBigEndian(reinterpret_cast<char*>(ihdr_length_data), base 123 ui/base/resource/resource_bundle_unittest.cc void CreateDataPackWithSingleBitmap(const base::FilePath& path, base 125 ui/base/resource/resource_bundle_unittest.cc const base::StringPiece& custom_chunk) { base 136 ui/base/resource/resource_bundle_unittest.cc std::map<uint16, base::StringPiece> resources; base 137 ui/base/resource/resource_bundle_unittest.cc resources[3u] = base::StringPiece( base 178 ui/base/resource/resource_bundle_unittest.cc base::FilePath pack_path(FILE_PATH_LITERAL("/path/to/test_path.pak")); base 183 ui/base/resource/resource_bundle_unittest.cc Property(&base::FilePath::value, pack_path.value()), base 206 ui/base/resource/resource_bundle_unittest.cc .WillRepeatedly(Return(base::FilePath())) base 262 ui/base/resource/resource_bundle_unittest.cc scoped_refptr<base::RefCountedStaticMemory> static_memory( base 263 ui/base/resource/resource_bundle_unittest.cc new base::RefCountedStaticMemory(data, sizeof(data))); base 271 ui/base/resource/resource_bundle_unittest.cc scoped_refptr<base::RefCountedStaticMemory> result = base 282 ui/base/resource/resource_bundle_unittest.cc base::StringPiece string_piece(data); base 291 ui/base/resource/resource_bundle_unittest.cc base::StringPiece result = resource_bundle->GetRawDataResource( base 300 ui/base/resource/resource_bundle_unittest.cc base::string16 data = base::ASCIIToUTF16("My test data"); base 307 ui/base/resource/resource_bundle_unittest.cc base::string16 result = resource_bundle->GetLocalizedString(resource_id); base 360 ui/base/resource/resource_bundle_unittest.cc const base::FilePath& locale_path = dir_path().Append( base 362 ui/base/resource/resource_bundle_unittest.cc EXPECT_EQ(base::WriteFile(locale_path, kEmptyPakContents, base 369 ui/base/resource/resource_bundle_unittest.cc resource_bundle->LoadTestResources(base::FilePath(), locale_path); base 374 ui/base/resource/resource_bundle_unittest.cc const base::FilePath& dir_path() { return dir_.path(); } base 378 ui/base/resource/resource_bundle_unittest.cc base::ScopedTempDir dir_; base 386 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_path = dir_path().Append(FILE_PATH_LITERAL("sample.pak")); base 389 ui/base/resource/resource_bundle_unittest.cc ASSERT_EQ(base::WriteFile(data_path, kEmptyPakContents, base 402 ui/base/resource/resource_bundle_unittest.cc base::FilePath(FILE_PATH_LITERAL("non-existant-file.pak")), base 409 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_path = dir_path().Append(FILE_PATH_LITERAL("sample.pak")); base 410 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_2x_path = base 414 ui/base/resource/resource_bundle_unittest.cc ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, base 416 ui/base/resource/resource_bundle_unittest.cc ASSERT_EQ(base::WriteFile(data_2x_path, kSamplePakContents2x, base 446 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_1x_path = dir_path().AppendASCII("sample_1x.pak"); base 447 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_2x_path = dir_path().AppendASCII("sample_2x.pak"); base 450 ui/base/resource/resource_bundle_unittest.cc CreateDataPackWithSingleBitmap(data_1x_path, 10, base::StringPiece()); base 451 ui/base/resource/resource_bundle_unittest.cc CreateDataPackWithSingleBitmap(data_2x_path, 20, base::StringPiece()); base 496 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_path = dir_path().AppendASCII("sample.pak"); base 497 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_2x_path = dir_path().AppendASCII("sample_2x.pak"); base 500 ui/base/resource/resource_bundle_unittest.cc CreateDataPackWithSingleBitmap(data_path, 10, base::StringPiece()); base 503 ui/base/resource/resource_bundle_unittest.cc CreateDataPackWithSingleBitmap(data_2x_path, 10, base::StringPiece( base 534 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_path = dir_path().AppendASCII("sample.pak"); base 535 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_140P_path = dir_path().AppendASCII("sample_140P.pak"); base 536 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_180P_path = dir_path().AppendASCII("sample_180P.pak"); base 538 ui/base/resource/resource_bundle_unittest.cc CreateDataPackWithSingleBitmap(data_path, 8, base::StringPiece()); base 540 ui/base/resource/resource_bundle_unittest.cc CreateDataPackWithSingleBitmap(data_140P_path, 8, base::StringPiece( base 543 ui/base/resource/resource_bundle_unittest.cc CreateDataPackWithSingleBitmap(data_180P_path, 8, base::StringPiece( base 571 ui/base/resource/resource_bundle_unittest.cc base::FilePath data_default_path = dir_path().AppendASCII("sample.pak"); base 574 ui/base/resource/resource_bundle_unittest.cc CreateDataPackWithSingleBitmap(data_default_path, 10, base::StringPiece()); base 31 ui/base/resource/resource_bundle_win.cc base::FilePath GetResourcesPakFilePath(const std::string& pak_name) { base 32 ui/base/resource/resource_bundle_win.cc base::FilePath path; base 33 ui/base/resource/resource_bundle_win.cc if (PathService::Get(base::DIR_MODULE, &path)) base 37 ui/base/resource/resource_bundle_win.cc return base::FilePath(base::ASCIIToUTF16(pak_name)); base 23 ui/base/resource/resource_data_dll_win.cc return base::win::GetDataResourceFromModule(module_, base 30 ui/base/resource/resource_data_dll_win.cc base::StringPiece* data) const { base 34 ui/base/resource/resource_data_dll_win.cc if (base::win::GetDataResourceFromModule(module_, base 44 ui/base/resource/resource_data_dll_win.cc base::RefCountedStaticMemory* ResourceDataDLL::GetStaticMemory( base 48 ui/base/resource/resource_data_dll_win.cc if (base::win::GetDataResourceFromModule(module_, resource_id, &data_ptr, base 50 ui/base/resource/resource_data_dll_win.cc return new base::RefCountedStaticMemory(data_ptr, data_size); base 23 ui/base/resource/resource_data_dll_win.h base::StringPiece* data) const OVERRIDE; base 24 ui/base/resource/resource_data_dll_win.h virtual base::RefCountedStaticMemory* GetStaticMemory( base 13 ui/base/resource/resource_handle.h namespace base { base 37 ui/base/resource/resource_handle.h base::StringPiece* data) const = 0; base 41 ui/base/resource/resource_handle.h virtual base::RefCountedStaticMemory* GetStaticMemory( base 27 ui/base/test/run_all_unittests.cc class UIBaseTestSuite : public base::TestSuite { base 41 ui/base/test/run_all_unittests.cc : base::TestSuite(argc, argv) {} base 44 ui/base/test/run_all_unittests.cc base::TestSuite::Initialize(); base 48 ui/base/test/run_all_unittests.cc gfx::android::RegisterJni(base::android::AttachCurrentThread()); base 49 ui/base/test/run_all_unittests.cc ui::android::RegisterJni(base::android::AttachCurrentThread()); base 55 ui/base/test/run_all_unittests.cc base::FilePath exe_path; base 56 ui/base/test/run_all_unittests.cc PathService::Get(base::DIR_EXE, &exe_path); base 61 ui/base/test/run_all_unittests.cc base::mac::SetOverrideFrameworkBundlePath( base 87 ui/base/test/run_all_unittests.cc base::mac::SetOverrideFrameworkBundle(NULL); base 89 ui/base/test/run_all_unittests.cc base::TestSuite::Shutdown(); base 97 ui/base/test/run_all_unittests.cc return base::LaunchUnitTests(argc, base 99 ui/base/test/run_all_unittests.cc base::Bind(&UIBaseTestSuite::Run, base 100 ui/base/test/run_all_unittests.cc base::Unretained(&test_suite))); base 59 ui/base/test/ui_controls.h const base::Closure& task); base 65 ui/base/test/ui_controls.h const base::Closure& task); base 85 ui/base/test/ui_controls.h const base::Closure& task); base 92 ui/base/test/ui_controls.h void RunClosureAfterAllPendingUIEvents(const base::Closure& closure); base 38 ui/base/test/ui_controls_aura.cc const base::Closure& task) { base 53 ui/base/test/ui_controls_aura.cc const base::Closure& task) { base 67 ui/base/test/ui_controls_aura.cc const base::Closure& task) { base 79 ui/base/test/ui_controls_aura.cc void RunClosureAfterAllPendingUIEvents(const base::Closure& closure) { base 33 ui/base/test/ui_controls_aura.h const base::Closure& task) = 0; base 39 ui/base/test/ui_controls_aura.h const base::Closure& task) = 0; base 46 ui/base/test/ui_controls_aura.h const base::Closure& task) = 0; base 52 ui/base/test/ui_controls_aura.h const base::Closure& closure) = 0; base 27 ui/base/test/ui_controls_gtk.cc class EventWaiter : public base::MessageLoopForUI::Observer { base 29 ui/base/test/ui_controls_gtk.cc EventWaiter(const base::Closure& task, GdkEventType type, int count) base 33 ui/base/test/ui_controls_gtk.cc base::MessageLoopForUI::current()->AddObserver(this); base 37 ui/base/test/ui_controls_gtk.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 49 ui/base/test/ui_controls_gtk.cc base::MessageLoop::current()->PostTask(FROM_HERE, task_); base 59 ui/base/test/ui_controls_gtk.cc base::Closure task_; base 152 ui/base/test/ui_controls_gtk.cc const base::Closure& task) { base 178 ui/base/test/ui_controls_gtk.cc bool SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& task) { base 238 ui/base/test/ui_controls_gtk.cc const base::Closure& task) { base 21 ui/base/test/ui_controls_internal_win.cc class InputDispatcher : public base::RefCounted<InputDispatcher> { base 23 ui/base/test/ui_controls_internal_win.cc InputDispatcher(const base::Closure& task, WPARAM message_waiting_for); base 42 ui/base/test/ui_controls_internal_win.cc base::Closure task_; base 108 ui/base/test/ui_controls_internal_win.cc InputDispatcher::InputDispatcher(const base::Closure& task, base 128 ui/base/test/ui_controls_internal_win.cc base::MessageLoop::current()->PostTask( base 129 ui/base/test/ui_controls_internal_win.cc FROM_HERE, base::Bind(&InputDispatcher::NotifyTask, this)); base 174 ui/base/test/ui_controls_internal_win.cc const base::Closure& task) { base 260 ui/base/test/ui_controls_internal_win.cc const base::Closure& task) { base 266 ui/base/test/ui_controls_internal_win.cc base::MessageLoop::current()->PostTask(FROM_HERE, task); base 295 ui/base/test/ui_controls_internal_win.cc const base::Closure& task) { base 22 ui/base/test/ui_controls_internal_win.h const base::Closure& task); base 23 ui/base/test/ui_controls_internal_win.h bool SendMouseMoveImpl(long screen_x, long screen_y, const base::Closure& task); base 26 ui/base/test/ui_controls_internal_win.h const base::Closure& task); base 27 ui/base/test/ui_controls_internal_win.h void RunClosureAfterAllPendingUITasksImpl(const base::Closure& task); base 28 ui/base/test/ui_controls_win.cc base::Closure()); base 37 ui/base/test/ui_controls_win.cc const base::Closure& task) { base 45 ui/base/test/ui_controls_win.cc return internal::SendMouseMoveImpl(x, y, base::Closure()); base 48 ui/base/test/ui_controls_win.cc bool SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& task) { base 55 ui/base/test/ui_controls_win.cc return internal::SendMouseEventsImpl(type, state, base::Closure()); base 59 ui/base/test/ui_controls_win.cc const base::Closure& task) { base 66 ui/base/test/ui_controls_win.cc return internal::SendMouseEventsImpl(type, UP | DOWN, base::Closure()); base 69 ui/base/test/ui_controls_win.cc void RunClosureAfterAllPendingUIEvents(const base::Closure& closure) { base 71 ui/base/test/ui_controls_win.cc base::MessageLoopForUI::current()->PostTask(FROM_HERE, closure); base 37 ui/base/text/bytes_formatting.cc base::string16 FormatBytesInternal(int64 bytes, base 44 ui/base/text/bytes_formatting.cc return base::string16(); base 56 ui/base/text/bytes_formatting.cc base::string16 result = base::FormatDouble(unit_amount, fractional_digits); base 94 ui/base/text/bytes_formatting.cc base::string16 FormatBytesWithUnits(int64 bytes, base 100 ui/base/text/bytes_formatting.cc base::string16 FormatSpeedWithUnits(int64 bytes, base 106 ui/base/text/bytes_formatting.cc base::string16 FormatBytes(int64 bytes) { base 110 ui/base/text/bytes_formatting.cc base::string16 FormatSpeed(int64 bytes) { base 19 ui/base/text/bytes_formatting.h UI_BASE_EXPORT base::string16 FormatBytes(int64 bytes); base 24 ui/base/text/bytes_formatting.h UI_BASE_EXPORT base::string16 FormatSpeed(int64 bytes); base 46 ui/base/text/bytes_formatting.h UI_BASE_EXPORT base::string16 FormatBytesWithUnits(int64 bytes, base 53 ui/base/text/bytes_formatting.h base::string16 FormatSpeedWithUnits(int64 bytes, base 72 ui/base/text/bytes_formatting_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(cases[i].expected), base 74 ui/base/text/bytes_formatting_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(cases[i].expected_with_units), base 30 ui/base/theme_provider.h namespace base { base 79 ui/base/theme_provider.h virtual base::RefCountedMemory* GetRawData( base 16 ui/base/touch/touch_device_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 17 ui/base/touch/touch_device_android.cc jobject context = base::android::GetApplicationContext(); base 19 ui/base/ui_base_paths.cc bool PathProvider(int key, base::FilePath* result) { base 24 ui/base/ui_base_paths.cc base::FilePath cur; base 27 ui/base/ui_base_paths.cc if (!PathService::Get(base::DIR_MODULE, &cur)) base 46 ui/base/ui_base_paths.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur)) base 51 ui/base/ui_base_paths.cc if (!base::PathExists(cur)) // we don't want to create this base 56 ui/base/ui_base_paths.cc if (!PathService::Get(base::DIR_ANDROID_APP_DATA, &cur)) base 65 ui/base/ui_base_paths.cc if (create_dir && !base::PathExists(cur) && base 66 ui/base/ui_base_paths.cc !base::CreateDirectory(cur)) base 12 ui/base/view_prop.cc class ViewProp::Data : public base::RefCounted<ViewProp::Data> { base 35 ui/base/webui/jstemplate_builder.cc std::string GetTemplateHtml(const base::StringPiece& html_template, base 36 ui/base/webui/jstemplate_builder.cc const base::DictionaryValue* json, base 37 ui/base/webui/jstemplate_builder.cc const base::StringPiece& template_id) { base 45 ui/base/webui/jstemplate_builder.cc std::string GetI18nTemplateHtml(const base::StringPiece& html_template, base 46 ui/base/webui/jstemplate_builder.cc const base::DictionaryValue* json) { base 54 ui/base/webui/jstemplate_builder.cc std::string GetTemplatesHtml(const base::StringPiece& html_template, base 55 ui/base/webui/jstemplate_builder.cc const base::DictionaryValue* json, base 56 ui/base/webui/jstemplate_builder.cc const base::StringPiece& template_id) { base 66 ui/base/webui/jstemplate_builder.cc void AppendJsonHtml(const base::DictionaryValue* json, std::string* output) { base 79 ui/base/webui/jstemplate_builder.cc void AppendJsonJS(const base::DictionaryValue* json, std::string* output) { base 93 ui/base/webui/jstemplate_builder.cc static const base::StringPiece jstemplate_src( base 107 ui/base/webui/jstemplate_builder.cc void AppendJsTemplateProcessHtml(const base::StringPiece& template_id, base 119 ui/base/webui/jstemplate_builder.cc static const base::StringPiece i18n_template_src( base 122 ui/base/webui/jstemplate_builder.cc static const base::StringPiece i18n_template2_src( base 125 ui/base/webui/jstemplate_builder.cc const base::StringPiece* template_src = g_version2 ? base 142 ui/base/webui/jstemplate_builder.cc static const base::StringPiece i18n_process_src( base 21 ui/base/webui/jstemplate_builder.h namespace base { base 43 ui/base/webui/jstemplate_builder.h const base::StringPiece& html_template, base 44 ui/base/webui/jstemplate_builder.h const base::DictionaryValue* json, base 45 ui/base/webui/jstemplate_builder.h const base::StringPiece& template_id); base 51 ui/base/webui/jstemplate_builder.h const base::StringPiece& html_template, base 52 ui/base/webui/jstemplate_builder.h const base::DictionaryValue* json); base 58 ui/base/webui/jstemplate_builder.h const base::StringPiece& html_template, base 59 ui/base/webui/jstemplate_builder.h const base::DictionaryValue* json, base 60 ui/base/webui/jstemplate_builder.h const base::StringPiece& template_id); base 67 ui/base/webui/jstemplate_builder.h UI_BASE_EXPORT void AppendJsonHtml(const base::DictionaryValue* json, base 72 ui/base/webui/jstemplate_builder.h UI_BASE_EXPORT void AppendJsonJS(const base::DictionaryValue* json, base 81 ui/base/webui/jstemplate_builder.h const base::StringPiece& template_id, base 39 ui/base/webui/web_ui_util.cc base::Base64Encode(str_url, &str_url); base 46 ui/base/webui/web_ui_util.cc base::RefCountedStaticMemory* icon_data = base 51 ui/base/webui/web_ui_util.cc scoped_refptr<base::RefCountedMemory> raw_icon(icon_data); base 56 ui/base/webui/web_ui_util.cc base::Base64Encode(str_url, &str_url); base 61 ui/base/webui/web_ui_util.cc WindowOpenDisposition GetDispositionFromClick(const base::ListValue* args, base 78 ui/base/webui/web_ui_util.cc bool ParseScaleFactor(const base::StringPiece& identifier, base 94 ui/base/webui/web_ui_util.cc if (!base::StringToDouble(stripped, &scale)) { base 115 ui/base/webui/web_ui_util.cc base::StringPiece stripped_path(*path); base 130 ui/base/webui/web_ui_util.cc void SetFontAndTextDirection(base::DictionaryValue* localized_strings) { base 135 ui/base/webui/web_ui_util.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 154 ui/base/webui/web_ui_util.cc base::i18n::IsRTL() ? "rtl" : "ltr"); base 37 ui/base/webui/web_ui_util.h GetDispositionFromClick(const base::ListValue* args, int start_index); base 43 ui/base/webui/web_ui_util.h UI_BASE_EXPORT bool ParseScaleFactor(const base::StringPiece& identifier, base 55 ui/base/webui/web_ui_util.h base::DictionaryValue* localized_strings); base 7 ui/base/win/accessibility_ids_win.h namespace base { base 14 ui/base/win/accessibility_misc_utils.h namespace base { base 17 ui/base/win/message_box_win.cc const base::string16& text, base 18 ui/base/win/message_box_win.cc const base::string16& caption, base 24 ui/base/win/message_box_win.cc if (base::i18n::IsRTL()) base 27 ui/base/win/message_box_win.cc base::string16 localized_text = text; base 28 ui/base/win/message_box_win.cc base::i18n::AdjustStringForLocaleDirection(&localized_text); base 31 ui/base/win/message_box_win.cc base::string16 localized_caption = caption; base 32 ui/base/win/message_box_win.cc base::i18n::AdjustStringForLocaleDirection(&localized_caption); base 20 ui/base/win/message_box_win.h const base::string16& text, base 21 ui/base/win/message_box_win.h const base::string16& caption, base 106 ui/base/win/mouse_wheel_util.cc base::AutoReset<bool> auto_reset_recursion_break(&recursion_break, true); base 27 ui/base/win/shell.cc bool OpenItemWithExternalApp(const base::string16& full_path) { base 36 ui/base/win/shell.cc bool OpenAnyViaShell(const base::string16& full_path, base 37 ui/base/win/shell.cc const base::string16& directory, base 38 ui/base/win/shell.cc const base::string16& args, base 55 ui/base/win/shell.cc bool OpenItemViaShell(const base::FilePath& full_path) { base 57 ui/base/win/shell.cc base::string16(), 0); base 60 ui/base/win/shell.cc bool OpenItemViaShellNoZoneCheck(const base::FilePath& full_path) { base 61 ui/base/win/shell.cc return OpenAnyViaShell(full_path.value(), base::string16(), base::string16(), base 68 ui/base/win/shell.cc if (base::win::GetVersion() < base::win::VERSION_WIN7 || base 69 ui/base/win/shell.cc base::win::IsMetroProcess()) base 71 ui/base/win/shell.cc base::win::ScopedComPtr<IPropertyStore> pps; base 77 ui/base/win/shell.cc return base::win::SetBooleanValueForPropertyStore( base 83 ui/base/win/shell.cc void SetAppDetailsForWindow(const base::string16& app_id, base 84 ui/base/win/shell.cc const base::string16& app_icon, base 85 ui/base/win/shell.cc const base::string16& relaunch_command, base 86 ui/base/win/shell.cc const base::string16& relaunch_display_name, base 90 ui/base/win/shell.cc if (base::win::GetVersion() < base::win::VERSION_WIN7 || base 91 ui/base/win/shell.cc base::win::IsMetroProcess()) base 93 ui/base/win/shell.cc base::win::ScopedComPtr<IPropertyStore> pps; base 98 ui/base/win/shell.cc base::win::SetAppIdForPropertyStore(pps, app_id.c_str()); base 100 ui/base/win/shell.cc base::win::SetStringValueForPropertyStore( base 104 ui/base/win/shell.cc base::win::SetStringValueForPropertyStore( base 108 ui/base/win/shell.cc base::win::SetStringValueForPropertyStore( base 115 ui/base/win/shell.cc void SetAppIdForWindow(const base::string16& app_id, HWND hwnd) { base 117 ui/base/win/shell.cc base::string16(), base 118 ui/base/win/shell.cc base::string16(), base 119 ui/base/win/shell.cc base::string16(), base 123 ui/base/win/shell.cc void SetAppIconForWindow(const base::string16& app_icon, HWND hwnd) { base 124 ui/base/win/shell.cc SetAppDetailsForWindow(base::string16(), base 126 ui/base/win/shell.cc base::string16(), base 127 ui/base/win/shell.cc base::string16(), base 131 ui/base/win/shell.cc void SetRelaunchDetailsForWindow(const base::string16& relaunch_command, base 132 ui/base/win/shell.cc const base::string16& display_name, base 134 ui/base/win/shell.cc SetAppDetailsForWindow(base::string16(), base 135 ui/base/win/shell.cc base::string16(), base 150 ui/base/win/shell.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 13 ui/base/win/shell.h namespace base { base 24 ui/base/win/shell.h UI_BASE_EXPORT bool OpenItemViaShell(const base::FilePath& full_path); base 30 ui/base/win/shell.h const base::FilePath& full_path); base 36 ui/base/win/shell.h UI_BASE_EXPORT bool OpenAnyViaShell(const base::string16& full_path, base 37 ui/base/win/shell.h const base::string16& directory, base 38 ui/base/win/shell.h const base::string16& args, base 44 ui/base/win/shell.h bool OpenItemWithExternalApp(const base::string16& full_path); base 54 ui/base/win/shell.h const base::string16& app_id, base 55 ui/base/win/shell.h const base::string16& app_icon, base 56 ui/base/win/shell.h const base::string16& relaunch_command, base 57 ui/base/win/shell.h const base::string16& relaunch_display_name, base 63 ui/base/win/shell.h UI_BASE_EXPORT void SetAppIdForWindow(const base::string16& app_id, HWND hwnd); base 66 ui/base/win/shell.h UI_BASE_EXPORT void SetAppIconForWindow(const base::string16& app_icon, base 73 ui/base/win/shell.h const base::string16& relaunch_command, base 74 ui/base/win/shell.h const base::string16& display_name, base 38 ui/base/x/selection_requestor.cc scoped_refptr<base::RefCountedMemory>* out_data, base 54 ui/base/x/selection_requestor.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 55 ui/base/x/selection_requestor.cc base::MessageLoop::ScopedNestableTaskAllower allow_nested(loop); base 56 ui/base/x/selection_requestor.cc base::RunLoop run_loop; base 63 ui/base/x/selection_requestor.cc base::TimeDelta::FromMilliseconds(kMaxWaitTimeForClipboardResponse)); base 84 ui/base/x/selection_requestor.cc scoped_refptr<base::RefCountedMemory> data; base 130 ui/base/x/selection_requestor.cc base::Closure quit_closure) base 46 ui/base/x/selection_requestor.h scoped_refptr<base::RefCountedMemory>* out_data, base 69 ui/base/x/selection_requestor.h PendingRequest(Atom target, base::Closure quit_closure); base 77 ui/base/x/selection_requestor.h base::Closure quit_closure; base 71 ui/base/x/selection_utils.cc void AddString16ToVector(const base::string16& str, base 89 ui/base/x/selection_utils.cc const scoped_refptr<base::RefCountedMemory>& memory) { base 103 ui/base/x/selection_utils.cc base::string16 RefCountedMemoryToString16( base 104 ui/base/x/selection_utils.cc const scoped_refptr<base::RefCountedMemory>& memory) { base 107 ui/base/x/selection_utils.cc return base::string16(); base 112 ui/base/x/selection_utils.cc return base::string16(); base 115 ui/base/x/selection_utils.cc return base::string16(reinterpret_cast<const base::char16*>(front), size / 2); base 126 ui/base/x/selection_utils.cc const scoped_refptr<base::RefCountedMemory>& item) { base 161 ui/base/x/selection_utils.cc const scoped_refptr<base::RefCountedMemory>& memory) base 207 ui/base/x/selection_utils.cc base::ConvertToUtf8AndNormalize(RefCountedMemoryToString(memory_), base 208 ui/base/x/selection_utils.cc base::kCodepageLatin1, base 219 ui/base/x/selection_utils.cc base::string16 SelectionData::GetHtml() const { base 220 ui/base/x/selection_utils.cc base::string16 markup; base 233 ui/base/x/selection_utils.cc base::UTF8ToUTF16(reinterpret_cast<const char*>(data), size, &markup); base 251 ui/base/x/selection_utils.cc void SelectionData::AssignTo(base::string16* result) const { base 46 ui/base/x/selection_utils.h UI_BASE_EXPORT void AddString16ToVector(const base::string16& str, base 53 ui/base/x/selection_utils.h const scoped_refptr<base::RefCountedMemory>& memory); base 55 ui/base/x/selection_utils.h UI_BASE_EXPORT base::string16 RefCountedMemoryToString16( base 56 ui/base/x/selection_utils.h const scoped_refptr<base::RefCountedMemory>& memory); base 65 ui/base/x/selection_utils.h typedef std::map< ::Atom, scoped_refptr<base::RefCountedMemory> > InternalMap; base 74 ui/base/x/selection_utils.h void Insert(::Atom atom, const scoped_refptr<base::RefCountedMemory>& item); base 101 ui/base/x/selection_utils.h const scoped_refptr<base::RefCountedMemory>& memory); base 116 ui/base/x/selection_utils.h base::string16 GetHtml() const; base 120 ui/base/x/selection_utils.h void AssignTo(base::string16* result) const; base 124 ui/base/x/selection_utils.h scoped_refptr<base::RefCountedMemory> memory_; base 100 ui/base/x/x11_util.cc if (base::MessageLoop::current()) { base 101 ui/base/x/x11_util.cc base::MessageLoop::current()->PostTask( base 102 ui/base/x/x11_util.cc FROM_HERE, base::Bind(&LogErrorEventDescription, d, *e)); base 154 ui/base/x/x11_util.cc XDisplay* display = base::MessagePumpForUI::GetDefaultXDisplay(); base 161 ui/base/x/x11_util.cc XDisplay* display = base::MessagePumpForUI::GetDefaultXDisplay(); base 473 ui/base/x/x11_util.cc xievent->mods.base == next_xievent->mods.base && base 494 ui/base/x/x11_util.cc base::TimeDelta delta = ui::EventTimeFromNative(last_event) - base 727 ui/base/x/x11_util.cc scoped_refptr<base::RefCountedMemory>* out_data, base 1560 ui/base/x/x11_util.cc std::string num = base::UintToString(error_event.request_code); base 1572 ui/base/x/x11_util.cc std::string msg = base::StringPrintf( base 167 ui/base/x/x11_util.h scoped_refptr<base::RefCountedMemory>* out_data, base 330 ui/base/x/x11_util.h class UI_BASE_EXPORT XRefcountedMemory : public base::RefCountedMemory { base 43 ui/compositor/compositor.cc base::Thread* g_compositor_thread = NULL; base 81 ui/compositor/compositor.cc base::MessageLoop::current()->PostDelayedTask( base 83 ui/compositor/compositor.cc base::Bind(&CompositorLock::CancelLock, AsWeakPtr()), base 84 ui/compositor/compositor.cc base::TimeDelta::FromMilliseconds(kCompositorLockTimeoutMs)); base 172 ui/compositor/compositor.cc base::TimeTicks before_create = base::TimeTicks::Now(); base 184 ui/compositor/compositor.cc base::TimeTicks::Now() - before_create); base 216 ui/compositor/compositor.cc g_compositor_thread = new base::Thread("Browser Compositor"); base 231 ui/compositor/compositor.cc scoped_refptr<base::MessageLoopProxy> Compositor::GetCompositorMessageLoop() { base 232 ui/compositor/compositor.cc scoped_refptr<base::MessageLoopProxy> proxy; base 260 ui/compositor/compositor.cc base::MessageLoop::current()->PostTask( base 262 ui/compositor/compositor.cc base::Bind(&Compositor::Draw, schedule_draw_factory_.GetWeakPtr())); base 397 ui/compositor/compositor.cc base::TimeTicks start_time = gfx::FrameTime::Now(); base 26 ui/compositor/compositor.h namespace base { base 108 ui/compositor/compositor.h class COMPOSITOR_EXPORT Texture : public base::RefCounted<Texture> { base 131 ui/compositor/compositor.h friend class base::RefCounted<Texture>; base 149 ui/compositor/compositor.h : public base::RefCounted<CompositorLock>, base 150 ui/compositor/compositor.h public base::SupportsWeakPtr<CompositorLock> { base 152 ui/compositor/compositor.h friend class base::RefCounted<CompositorLock>; base 178 ui/compositor/compositor.h static scoped_refptr<base::MessageLoopProxy> GetCompositorMessageLoop(); base 258 ui/compositor/compositor.h virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE {} base 287 ui/compositor/compositor.h friend class base::RefCounted<Compositor>; base 335 ui/compositor/compositor.h base::WeakPtrFactory<Compositor> schedule_draw_factory_; base 30 ui/compositor/compositor_observer.h base::TimeTicks start_time) = 0; base 11 ui/compositor/compositor_vsync_manager.cc authoritative_vsync_interval_(base::TimeDelta::FromSeconds(0)) {} base 16 ui/compositor/compositor_vsync_manager.cc base::TimeDelta interval) { base 17 ui/compositor/compositor_vsync_manager.cc base::TimeTicks timebase; base 19 ui/compositor/compositor_vsync_manager.cc base::AutoLock lock(vsync_parameters_lock_); base 27 ui/compositor/compositor_vsync_manager.cc void CompositorVSyncManager::UpdateVSyncParameters(base::TimeTicks timebase, base 28 ui/compositor/compositor_vsync_manager.cc base::TimeDelta interval) { base 30 ui/compositor/compositor_vsync_manager.cc base::AutoLock lock(vsync_parameters_lock_); base 31 ui/compositor/compositor_vsync_manager.cc if (authoritative_vsync_interval_ != base::TimeDelta::FromSeconds(0)) base 40 ui/compositor/compositor_vsync_manager.cc base::TimeTicks timebase; base 41 ui/compositor/compositor_vsync_manager.cc base::TimeDelta interval; base 43 ui/compositor/compositor_vsync_manager.cc base::AutoLock lock(vsync_parameters_lock_); base 55 ui/compositor/compositor_vsync_manager.cc void CompositorVSyncManager::NotifyObservers(base::TimeTicks timebase, base 56 ui/compositor/compositor_vsync_manager.cc base::TimeDelta interval) { base 23 ui/compositor/compositor_vsync_manager.h : public base::RefCountedThreadSafe<CompositorVSyncManager> { base 27 ui/compositor/compositor_vsync_manager.h virtual void OnUpdateVSyncParameters(base::TimeTicks timebase, base 28 ui/compositor/compositor_vsync_manager.h base::TimeDelta interval) = 0; base 39 ui/compositor/compositor_vsync_manager.h void SetAuthoritativeVSyncInterval(base::TimeDelta interval); base 44 ui/compositor/compositor_vsync_manager.h void UpdateVSyncParameters(base::TimeTicks timebase, base 45 ui/compositor/compositor_vsync_manager.h base::TimeDelta interval); base 51 ui/compositor/compositor_vsync_manager.h friend class base::RefCountedThreadSafe<CompositorVSyncManager>; base 55 ui/compositor/compositor_vsync_manager.h void NotifyObservers(base::TimeTicks timebase, base::TimeDelta interval); base 61 ui/compositor/compositor_vsync_manager.h base::Lock vsync_parameters_lock_; base 62 ui/compositor/compositor_vsync_manager.h base::TimeTicks last_timebase_; base 63 ui/compositor/compositor_vsync_manager.h base::TimeDelta last_interval_; base 64 ui/compositor/compositor_vsync_manager.h base::TimeDelta authoritative_vsync_interval_; base 22 ui/compositor/debug_utils.cc using base::UTF8ToWide; base 13 ui/compositor/float_animation_curve_adapter.cc base::TimeDelta duration) base 19 ui/compositor/float_animation_curve_adapter.h base::TimeDelta duration); base 32 ui/compositor/float_animation_curve_adapter.h base::TimeDelta duration_; base 50 ui/compositor/layer.cc base::LazyInstance<UIImplSidePaintingStatus> g_ui_impl_side_painting_status = base 693 ui/compositor/layer.cc class LayerDebugInfo : public base::debug::ConvertableToTraceFormat { base 697 ui/compositor/layer.cc base::DictionaryValue dictionary; base 699 ui/compositor/layer.cc base::JSONWriter::Write(&dictionary, out); base 707 ui/compositor/layer.cc scoped_refptr<base::debug::ConvertableToTraceFormat> Layer::TakeDebugInfo() { base 763 ui/compositor/layer.cc base::Closure closure; base 344 ui/compositor/layer.h virtual scoped_refptr<base::debug::ConvertableToTraceFormat> base 32 ui/compositor/layer_animation_element.cc Pause(AnimatableProperties properties, base::TimeDelta duration) base 53 ui/compositor/layer_animation_element.cc TransformTransition(const gfx::Transform& target, base::TimeDelta duration) base 88 ui/compositor/layer_animation_element.cc base::TimeDelta duration) base 120 ui/compositor/layer_animation_element.cc BoundsTransition(const gfx::Rect& target, base::TimeDelta duration) base 154 ui/compositor/layer_animation_element.cc OpacityTransition(float target, base::TimeDelta duration) base 189 ui/compositor/layer_animation_element.cc VisibilityTransition(bool target, base::TimeDelta duration) base 223 ui/compositor/layer_animation_element.cc BrightnessTransition(float target, base::TimeDelta duration) base 258 ui/compositor/layer_animation_element.cc GrayscaleTransition(float target, base::TimeDelta duration) base 293 ui/compositor/layer_animation_element.cc ColorTransition(SkColor target, base::TimeDelta duration) base 329 ui/compositor/layer_animation_element.cc base::TimeDelta duration) base 335 ui/compositor/layer_animation_element.cc return (duration() != base::TimeDelta()); base 365 ui/compositor/layer_animation_element.cc if (duration() == base::TimeDelta()) { base 369 ui/compositor/layer_animation_element.cc set_effective_start_time(base::TimeTicks()); base 387 ui/compositor/layer_animation_element.cc ThreadedOpacityTransition(float target, base::TimeDelta duration) base 443 ui/compositor/layer_animation_element.cc base::TimeDelta duration) base 642 ui/compositor/layer_animation_element.cc AnimatableProperties properties, base::TimeDelta duration) base 670 ui/compositor/layer_animation_element.cc DCHECK(requested_start_time_ != base::TimeTicks()); base 679 ui/compositor/layer_animation_element.cc bool LayerAnimationElement::Progress(base::TimeTicks now, base 681 ui/compositor/layer_animation_element.cc DCHECK(requested_start_time_ != base::TimeTicks()); base 687 ui/compositor/layer_animation_element.cc if ((effective_start_time_ == base::TimeTicks()) || base 695 ui/compositor/layer_animation_element.cc base::TimeDelta elapsed = now - effective_start_time_; base 696 ui/compositor/layer_animation_element.cc if ((duration_ > base::TimeDelta()) && (elapsed < duration_)) base 698 ui/compositor/layer_animation_element.cc base::WeakPtr<LayerAnimationElement> alive(weak_ptr_factory_.GetWeakPtr()); base 707 ui/compositor/layer_animation_element.cc bool LayerAnimationElement::IsFinished(base::TimeTicks time, base 708 ui/compositor/layer_animation_element.cc base::TimeDelta* total_duration) { base 712 ui/compositor/layer_animation_element.cc if (!first_frame_ && (effective_start_time_ == base::TimeTicks())) base 715 ui/compositor/layer_animation_element.cc base::TimeDelta queueing_delay; base 719 ui/compositor/layer_animation_element.cc base::TimeDelta elapsed = time - requested_start_time_; base 730 ui/compositor/layer_animation_element.cc base::WeakPtr<LayerAnimationElement> alive(weak_ptr_factory_.GetWeakPtr()); base 754 ui/compositor/layer_animation_element.cc DCHECK(requested_start_time_ != base::TimeTicks()); base 774 ui/compositor/layer_animation_element.cc base::TimeDelta LayerAnimationElement::GetEffectiveDuration( base 775 ui/compositor/layer_animation_element.cc const base::TimeDelta& duration) { base 784 ui/compositor/layer_animation_element.cc return base::TimeDelta(); base 787 ui/compositor/layer_animation_element.cc return base::TimeDelta(); base 794 ui/compositor/layer_animation_element.cc base::TimeDelta duration) { base 815 ui/compositor/layer_animation_element.cc base::TimeDelta duration) { base 822 ui/compositor/layer_animation_element.cc base::TimeDelta duration) { base 829 ui/compositor/layer_animation_element.cc base::TimeDelta duration) { base 836 ui/compositor/layer_animation_element.cc base::TimeDelta duration) { base 843 ui/compositor/layer_animation_element.cc base::TimeDelta duration) { base 850 ui/compositor/layer_animation_element.cc base::TimeDelta duration) { base 857 ui/compositor/layer_animation_element.cc base::TimeDelta duration) { base 864 ui/compositor/layer_animation_element.cc base::TimeDelta duration) { base 65 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 73 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 97 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 103 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 109 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 115 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 121 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 127 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 133 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 139 ui/compositor/layer_animation_element.h base::TimeDelta duration); base 144 ui/compositor/layer_animation_element.h void set_requested_start_time(base::TimeTicks start_time) { base 147 ui/compositor/layer_animation_element.h base::TimeTicks requested_start_time() const { return requested_start_time_; } base 151 ui/compositor/layer_animation_element.h void set_effective_start_time(base::TimeTicks start_time) { base 154 ui/compositor/layer_animation_element.h base::TimeTicks effective_start_time() const { return effective_start_time_; } base 167 ui/compositor/layer_animation_element.h bool Progress(base::TimeTicks now, LayerAnimationDelegate* delegate); base 172 ui/compositor/layer_animation_element.h bool IsFinished(base::TimeTicks time, base::TimeDelta* total_duration); base 201 ui/compositor/layer_animation_element.h base::TimeDelta duration() const { return duration_; } base 224 ui/compositor/layer_animation_element.h base::TimeDelta GetEffectiveDuration(const base::TimeDelta& delta); base 228 ui/compositor/layer_animation_element.h base::TimeTicks requested_start_time_; base 231 ui/compositor/layer_animation_element.h base::TimeTicks effective_start_time_; base 232 ui/compositor/layer_animation_element.h const base::TimeDelta duration_; base 240 ui/compositor/layer_animation_element.h base::WeakPtrFactory<LayerAnimationElement> weak_ptr_factory_; base 30 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 31 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks effective_start_time; base 32 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 53 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta element_duration; base 72 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta; base 86 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta; base 101 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 102 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 139 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 140 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 155 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta element_duration; base 175 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 176 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks effective_start_time; base 177 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 195 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta element_duration; base 216 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 217 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 231 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta element_duration; base 251 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 252 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 266 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta element_duration; base 286 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 287 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 301 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta element_duration; base 322 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 323 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 336 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta element_duration; base 361 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 362 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks effective_start_time; base 363 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 400 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks start_time; base 401 ui/compositor/layer_animation_element_unittest.cc base::TimeTicks effective_start_time; base 402 ui/compositor/layer_animation_element_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 46 ui/compositor/layer_animation_sequence.cc DCHECK(start_time_ != base::TimeTicks()); base 55 ui/compositor/layer_animation_sequence.cc void LayerAnimationSequence::Progress(base::TimeTicks now, base 57 ui/compositor/layer_animation_sequence.cc DCHECK(start_time_ != base::TimeTicks()); base 67 ui/compositor/layer_animation_sequence.cc base::TimeDelta element_duration; base 88 ui/compositor/layer_animation_sequence.cc base::WeakPtr<LayerAnimationSequence> alive(weak_ptr_factory_.GetWeakPtr()); base 110 ui/compositor/layer_animation_sequence.cc bool LayerAnimationSequence::IsFinished(base::TimeTicks time) { base 120 ui/compositor/layer_animation_sequence.cc base::TimeTicks current_start = last_start_; base 122 ui/compositor/layer_animation_sequence.cc base::TimeDelta element_duration; base 223 ui/compositor/layer_animation_sequence.cc base::TimeTicks::FromInternalValue( base 224 ui/compositor/layer_animation_sequence.cc event.monotonic_time * base::Time::kMicrosecondsPerSecond)); base 37 ui/compositor/layer_animation_sequence.h : public base::SupportsWeakPtr<LayerAnimationSequence> { base 47 ui/compositor/layer_animation_sequence.h void set_start_time(base::TimeTicks start_time) { start_time_ = start_time; } base 48 ui/compositor/layer_animation_sequence.h base::TimeTicks start_time() const { return start_time_; } base 66 ui/compositor/layer_animation_sequence.h void Progress(base::TimeTicks now, LayerAnimationDelegate* delegate); base 70 ui/compositor/layer_animation_sequence.h bool IsFinished(base::TimeTicks time); base 163 ui/compositor/layer_animation_sequence.h base::TimeTicks last_start_; base 166 ui/compositor/layer_animation_sequence.h base::TimeTicks start_time_; base 185 ui/compositor/layer_animation_sequence.h base::WeakPtrFactory<LayerAnimationSequence> weak_ptr_factory_; base 27 ui/compositor/layer_animation_sequence_unittest.cc base::TimeTicks start_time; base 28 ui/compositor/layer_animation_sequence_unittest.cc start_time += base::TimeDelta::FromSeconds(1); base 45 ui/compositor/layer_animation_sequence_unittest.cc base::TimeTicks start_time; base 46 ui/compositor/layer_animation_sequence_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 57 ui/compositor/layer_animation_sequence_unittest.cc sequence.Progress(start_time + base::TimeDelta::FromMilliseconds(500), base 61 ui/compositor/layer_animation_sequence_unittest.cc sequence.Progress(start_time + base::TimeDelta::FromMilliseconds(1000), base 79 ui/compositor/layer_animation_sequence_unittest.cc base::TimeTicks start_time; base 80 ui/compositor/layer_animation_sequence_unittest.cc base::TimeTicks effective_start; base 81 ui/compositor/layer_animation_sequence_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 100 ui/compositor/layer_animation_sequence_unittest.cc (effective_start - base::TimeTicks()).InSecondsF())); base 121 ui/compositor/layer_animation_sequence_unittest.cc base::TimeTicks start_time; base 122 ui/compositor/layer_animation_sequence_unittest.cc base::TimeTicks opacity_effective_start; base 123 ui/compositor/layer_animation_sequence_unittest.cc base::TimeTicks transform_effective_start; base 124 ui/compositor/layer_animation_sequence_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 157 ui/compositor/layer_animation_sequence_unittest.cc (opacity_effective_start - base::TimeTicks()).InSecondsF())); base 188 ui/compositor/layer_animation_sequence_unittest.cc (transform_effective_start - base::TimeTicks()).InSecondsF())); base 210 ui/compositor/layer_animation_sequence_unittest.cc base::TimeTicks start_time; base 211 ui/compositor/layer_animation_sequence_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 225 ui/compositor/layer_animation_sequence_unittest.cc sequence.Progress(start_time + base::TimeDelta::FromMilliseconds(101000), base 232 ui/compositor/layer_animation_sequence_unittest.cc start_time += base::TimeDelta::FromMilliseconds(101000); base 234 ui/compositor/layer_animation_sequence_unittest.cc sequence.Progress(start_time + base::TimeDelta::FromMilliseconds(100000), base 246 ui/compositor/layer_animation_sequence_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 262 ui/compositor/layer_animation_sequence_unittest.cc base::TimeTicks start_time; base 263 ui/compositor/layer_animation_sequence_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 55 ui/compositor/layer_animator.cc LayerAnimator::LayerAnimator(base::TimeDelta transition_duration) base 77 ui/compositor/layer_animator.cc return new LayerAnimator(base::TimeDelta::FromMilliseconds(0)); base 83 ui/compositor/layer_animator.cc base::TimeDelta::FromMilliseconds(kDefaultTransitionDurationMs)); base 94 ui/compositor/layer_animator.cc base::TimeDelta duration = GetTransitionDuration(); \ base 95 ui/compositor/layer_animator.cc if (duration == base::TimeDelta() && delegate() && \ base 122 ui/compositor/layer_animator.cc base::TimeDelta LayerAnimator::GetTransitionDuration() const { base 204 ui/compositor/layer_animator.cc base::TimeDelta()))); base 242 ui/compositor/layer_animator.cc base::TimeDelta()))); base 262 ui/compositor/layer_animator.cc base::TimeDelta duration, base 325 ui/compositor/layer_animator.cc base::TimeTicks start_time = base::TimeTicks::FromInternalValue( base 326 ui/compositor/layer_animator.cc event.monotonic_time * base::Time::kMicrosecondsPerSecond); base 350 ui/compositor/layer_animator.cc base::TimeTicks now) { base 375 ui/compositor/layer_animator.cc void LayerAnimator::Step(base::TimeTicks now) { base 399 ui/compositor/layer_animator.cc void LayerAnimator::SetStartTime(base::TimeTicks start_time) { base 403 ui/compositor/layer_animator.cc base::TimeDelta LayerAnimator::GetTimerInterval() const { base 404 ui/compositor/layer_animator.cc return base::TimeDelta::FromMilliseconds(kTimerIntervalMs); base 593 ui/compositor/layer_animator.cc std::vector<base::WeakPtr<LayerAnimationSequence> > sequences; base 615 ui/compositor/layer_animator.cc base::WeakPtr<LayerAnimationSequence> weak_sequence_ptr = base 638 ui/compositor/layer_animator.cc base::WeakPtr<LayerAnimationSequence> weak_sequence_ptr = base 663 ui/compositor/layer_animator.cc base::WeakPtr<LayerAnimationSequence> weak_sequence_ptr = base 713 ui/compositor/layer_animator.cc std::vector<base::WeakPtr<LayerAnimationSequence> > sequences; base 760 ui/compositor/layer_animator.cc base::TimeTicks start_time; base 806 ui/compositor/layer_animator.cc void LayerAnimator::SetTransitionDuration(base::TimeDelta duration) { base 844 ui/compositor/layer_animator.cc const base::WeakPtr<LayerAnimationSequence>& sequence) base 45 ui/compositor/layer_animator.h public base::RefCounted<LayerAnimator> { base 55 ui/compositor/layer_animator.h explicit LayerAnimator(base::TimeDelta transition_duration); base 93 ui/compositor/layer_animator.h base::TimeDelta GetTransitionDuration() const; base 140 ui/compositor/layer_animator.h base::TimeDelta duration, base 186 ui/compositor/layer_animator.h void set_last_step_time(base::TimeTicks time) { base 189 ui/compositor/layer_animator.h base::TimeTicks last_step_time() const { return last_step_time_; } base 199 ui/compositor/layer_animator.h base::TimeTicks now); base 207 ui/compositor/layer_animator.h friend class base::RefCounted<LayerAnimator>; base 213 ui/compositor/layer_animator.h RunningAnimation(const base::WeakPtr<LayerAnimationSequence>& sequence); base 220 ui/compositor/layer_animator.h base::WeakPtr<LayerAnimationSequence> sequence_; base 229 ui/compositor/layer_animator.h virtual void SetStartTime(base::TimeTicks start_time) OVERRIDE; base 230 ui/compositor/layer_animator.h virtual void Step(base::TimeTicks time_now) OVERRIDE; base 231 ui/compositor/layer_animator.h virtual base::TimeDelta GetTimerInterval() const OVERRIDE; base 301 ui/compositor/layer_animator.h void SetTransitionDuration(base::TimeDelta duration); base 327 ui/compositor/layer_animator.h base::TimeDelta transition_duration_; base 333 ui/compositor/layer_animator.h base::TimeTicks last_step_time_; base 36 ui/compositor/layer_animator_unittest.cc return base::StringPrintf("%d %d %d %d", SkColorGetA(color), base 144 ui/compositor/layer_animator_unittest.cc TestLayerAnimator() : LayerAnimator(base::TimeDelta::FromSeconds(0)), base 160 ui/compositor/layer_animator_unittest.cc base::TimeTicks now) OVERRIDE { base 203 ui/compositor/layer_animator_unittest.cc base::TimeTicks now = gfx::FrameTime::Now(); base 206 ui/compositor/layer_animator_unittest.cc element->Step(now + base::TimeDelta::FromSeconds(1)); base 297 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 309 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 311 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 316 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 335 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 346 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); base 347 ui/compositor/layer_animator_unittest.cc base::TimeTicks effective_start = start_time + delta; base 355 ui/compositor/layer_animator_unittest.cc (effective_start - base::TimeTicks()).InSecondsF())); base 390 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 408 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 410 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 416 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 442 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 462 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); base 463 ui/compositor/layer_animator_unittest.cc base::TimeTicks effective_start = start_time + delta; base 471 ui/compositor/layer_animator_unittest.cc (effective_start - base::TimeTicks()).InSecondsF())); base 503 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 520 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 522 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 527 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 532 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1500)); base 537 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(2000)); base 562 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 590 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 592 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 598 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 604 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(2000)); base 610 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(3000)); base 616 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(4000)); base 641 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 663 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 665 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 671 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(2000)); base 691 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 703 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 705 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 710 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 729 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 740 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); base 741 ui/compositor/layer_animator_unittest.cc base::TimeTicks effective_start = start_time + delta; base 749 ui/compositor/layer_animator_unittest.cc (effective_start - base::TimeTicks()).InSecondsF())); base 775 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 805 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 817 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 819 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 836 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 842 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1500)); base 862 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 873 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); base 874 ui/compositor/layer_animator_unittest.cc base::TimeTicks effective_start = start_time + delta; base 882 ui/compositor/layer_animator_unittest.cc (effective_start - base::TimeTicks()).InSecondsF())); base 899 ui/compositor/layer_animator_unittest.cc base::TimeTicks second_effective_start = effective_start + delta; base 907 ui/compositor/layer_animator_unittest.cc (second_effective_start - base::TimeTicks()).InSecondsF())); base 936 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 947 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 949 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 961 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 966 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1500)); base 971 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(2000)); base 991 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1002 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1004 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 1021 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1026 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1500)); base 1031 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(2000)); base 1048 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1056 ui/compositor/layer_animator_unittest.cc animator->set_last_step_time(base::TimeTicks()); base 1087 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1129 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1145 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1147 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 1167 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1175 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1500)); base 1200 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1215 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); base 1216 ui/compositor/layer_animator_unittest.cc base::TimeTicks effective_start = start_time + delta; base 1224 ui/compositor/layer_animator_unittest.cc (effective_start - base::TimeTicks()).InSecondsF())); base 1246 ui/compositor/layer_animator_unittest.cc base::TimeTicks second_effective_start = effective_start + delta; base 1254 ui/compositor/layer_animator_unittest.cc (second_effective_start - base::TimeTicks()).InSecondsF())); base 1291 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1305 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1307 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 1321 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1327 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1500)); base 1333 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(2000)); base 1358 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1372 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1374 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 1395 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1401 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1500)); base 1407 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(2000)); base 1425 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1441 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1443 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1448 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(2000)); base 1453 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(3000)); base 1459 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000000000)); base 1465 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000001000)); base 1487 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1502 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = test_controller.animator()->last_step_time(); base 1503 ui/compositor/layer_animator_unittest.cc base::TimeTicks effective_start = start_time + delta; base 1511 ui/compositor/layer_animator_unittest.cc (effective_start - base::TimeTicks()).InSecondsF())); base 1517 ui/compositor/layer_animator_unittest.cc base::TimeTicks second_effective_start = effective_start + 2 * delta; base 1524 ui/compositor/layer_animator_unittest.cc (second_effective_start - base::TimeTicks()).InSecondsF())); base 1531 ui/compositor/layer_animator_unittest.cc base::TimeTicks third_effective_start = second_effective_start + 2 * delta; base 1538 ui/compositor/layer_animator_unittest.cc (third_effective_start - base::TimeTicks()).InSecondsF())); base 1544 ui/compositor/layer_animator_unittest.cc base::TimeTicks fourth_effective_start = third_effective_start + 2 * delta; base 1551 ui/compositor/layer_animator_unittest.cc (fourth_effective_start - base::TimeTicks()).InSecondsF())); base 1559 ui/compositor/layer_animator_unittest.cc base::TimeTicks fifth_effective_start = fourth_effective_start + 1001 * delta; base 1566 ui/compositor/layer_animator_unittest.cc (fifth_effective_start - base::TimeTicks()).InSecondsF())); base 1592 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1603 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1605 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1640 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1641 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1691 ui/compositor/layer_animator_unittest.cc base::TimeTicks now = gfx::FrameTime::Now(); base 1693 ui/compositor/layer_animator_unittest.cc element->Step(now + base::TimeDelta::FromSeconds(1)); base 1780 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1798 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1800 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1818 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1848 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1853 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1854 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 1861 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 1879 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 1888 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1889 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 1929 ui/compositor/layer_animator_unittest.cc base::TimeDelta brightness_delta = base::TimeDelta::FromSeconds(1); base 1930 ui/compositor/layer_animator_unittest.cc base::TimeDelta halfway_delta = base::TimeDelta::FromSeconds(2); base 1931 ui/compositor/layer_animator_unittest.cc base::TimeDelta bounds_delta = base::TimeDelta::FromSeconds(3); base 1948 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 1995 ui/compositor/layer_animator_unittest.cc base::TimeDelta bounds_delta1 = base::TimeDelta::FromMilliseconds(333); base 1996 ui/compositor/layer_animator_unittest.cc base::TimeDelta bounds_delta2 = base::TimeDelta::FromMilliseconds(666); base 1997 ui/compositor/layer_animator_unittest.cc base::TimeDelta bounds_delta = base::TimeDelta::FromMilliseconds(1000); base 1998 ui/compositor/layer_animator_unittest.cc base::TimeDelta final_delta = base::TimeDelta::FromMilliseconds(1500); base 2005 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 2035 ui/compositor/layer_animator_unittest.cc base::TimeDelta brightness_delta = base::TimeDelta::FromSeconds(1); base 2036 ui/compositor/layer_animator_unittest.cc base::TimeDelta bounds_delta = base::TimeDelta::FromSeconds(2); base 2080 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 2120 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 2212 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 2224 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 2226 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(500)); base 2232 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1000)); base 2244 ui/compositor/layer_animator_unittest.cc base::TimeDelta::FromMilliseconds(100), base 2352 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 2357 ui/compositor/layer_animator_unittest.cc delta = base::TimeDelta::FromSeconds(2); base 2362 ui/compositor/layer_animator_unittest.cc base::TimeTicks start_time = animator->last_step_time(); base 2363 ui/compositor/layer_animator_unittest.cc element->Step(start_time + base::TimeDelta::FromMilliseconds(1500)); base 2385 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 2390 ui/compositor/layer_animator_unittest.cc delta = base::TimeDelta::FromSeconds(2); base 2418 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 2422 ui/compositor/layer_animator_unittest.cc delta = base::TimeDelta::FromSeconds(2); base 2451 ui/compositor/layer_animator_unittest.cc base::TimeDelta delta = base::TimeDelta::FromSeconds(1); base 2455 ui/compositor/layer_animator_unittest.cc delta = base::TimeDelta::FromSeconds(2); base 2486 ui/compositor/layer_animator_unittest.cc settings.SetTransitionDuration(base::TimeDelta::FromSeconds(1)); base 2493 ui/compositor/layer_animator_unittest.cc settings.SetTransitionDuration(base::TimeDelta()); base 29 ui/compositor/layer_delegate.h virtual base::Closure PrepareForLayerBoundsChange() = 0; base 71 ui/compositor/layer_unittest.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 72 ui/compositor/layer_unittest.cc return base::Closure(); base 139 ui/compositor/layer_unittest.cc base::Bind(&ReadbackHolder::OutputRequestCallback, holder)); base 176 ui/compositor/layer_unittest.cc const base::FilePath& test_data_directory() const { base 181 ui/compositor/layer_unittest.cc class ReadbackHolder : public base::RefCountedThreadSafe<ReadbackHolder> { base 207 ui/compositor/layer_unittest.cc base::FilePath test_data_directory_; base 226 ui/compositor/layer_unittest.cc return base::StringPrintf("%.1f %.1f", scale_x_, scale_y_); base 248 ui/compositor/layer_unittest.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 249 ui/compositor/layer_unittest.cc return base::Closure(); base 289 ui/compositor/layer_unittest.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 290 ui/compositor/layer_unittest.cc return base::Closure(); base 310 ui/compositor/layer_unittest.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 311 ui/compositor/layer_unittest.cc return base::Closure(); base 340 ui/compositor/layer_unittest.cc base::TimeTicks start_time) OVERRIDE { base 660 ui/compositor/layer_unittest.cc scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info = base 665 ui/compositor/layer_unittest.cc base::JSONReader json_reader; base 666 ui/compositor/layer_unittest.cc scoped_ptr<base::Value> debug_info_value(json_reader.ReadToValue(json)); base 668 ui/compositor/layer_unittest.cc EXPECT_TRUE(debug_info_value->IsType(base::Value::TYPE_DICTIONARY)); base 669 ui/compositor/layer_unittest.cc base::DictionaryValue* dictionary = 0; base 1002 ui/compositor/layer_unittest.cc base::FilePath ref_img1 = base 1004 ui/compositor/layer_unittest.cc base::FilePath ref_img2 = base 1065 ui/compositor/layer_unittest.cc base::FilePath ref_img = test_data_directory().AppendASCII("Opacity.png"); base 1118 ui/compositor/layer_unittest.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 1119 ui/compositor/layer_unittest.cc return base::Closure(); base 12 ui/compositor/reflector.h class Reflector : public base::RefCountedThreadSafe<Reflector> { base 19 ui/compositor/reflector.h friend class base::RefCountedThreadSafe<Reflector>; base 12 ui/compositor/run_all_unittests.cc return base::LaunchUnitTests( base 13 ui/compositor/run_all_unittests.cc argc, argv, base::Bind(&ui::test::CompositorTestSuite::Run, base 14 ui/compositor/run_all_unittests.cc base::Unretained(&test_suite))); base 58 ui/compositor/scoped_layer_animation_settings.cc gfx::Transform base) const { base 70 ui/compositor/scoped_layer_animation_settings.cc LayerAnimationElement::CreateInverseTransformElement(base, element)); base 91 ui/compositor/scoped_layer_animation_settings.cc base::TimeDelta::FromMilliseconds(kDefaultTransitionDurationMs)); base 119 ui/compositor/scoped_layer_animation_settings.cc base::TimeDelta duration) { base 127 ui/compositor/scoped_layer_animation_settings.cc base::TimeDelta ScopedLayerAnimationSettings::GetTransitionDuration() const { base 149 ui/compositor/scoped_layer_animation_settings.cc void ScopedLayerAnimationSettings::SetInverselyAnimatedBaseLayer(Layer* base) { base 150 ui/compositor/scoped_layer_animation_settings.cc if (inverse_observer_->layer() && !base) { base 152 ui/compositor/scoped_layer_animation_settings.cc } else if (base && !(inverse_observer_->layer())) { base 155 ui/compositor/scoped_layer_animation_settings.cc inverse_observer_->SetLayer(base); base 34 ui/compositor/scoped_layer_animation_settings.h void SetTransitionDuration(base::TimeDelta duration); base 35 ui/compositor/scoped_layer_animation_settings.h base::TimeDelta GetTransitionDuration() const; base 50 ui/compositor/scoped_layer_animation_settings.h void SetInverselyAnimatedBaseLayer(Layer* base); base 60 ui/compositor/scoped_layer_animation_settings.h base::TimeDelta old_transition_duration_; base 31 ui/compositor/test/draw_waiter_for_test.cc wait_run_loop_.reset(new base::RunLoop()); base 42 ui/compositor/test/draw_waiter_for_test.cc base::TimeTicks start_time) {} base 37 ui/compositor/test/draw_waiter_for_test.h base::TimeTicks start_time) OVERRIDE; base 42 ui/compositor/test/draw_waiter_for_test.h scoped_ptr<base::RunLoop> wait_run_loop_; base 48 ui/compositor/test/layer_animator_test_controller.cc element->effective_start_time() != base::TimeTicks()) base 56 ui/compositor/test/layer_animator_test_controller.cc (gfx::FrameTime::Now() - base::TimeTicks()).InSecondsF())); base 27 ui/compositor/test/test_suite.cc base::TestSuite::Initialize(); base 36 ui/compositor/test/test_suite.cc message_loop_.reset(new base::MessageLoopForUI); base 42 ui/compositor/test/test_suite.cc base::TestSuite::Shutdown(); base 13 ui/compositor/test/test_suite.h namespace base { base 20 ui/compositor/test/test_suite.h class CompositorTestSuite : public base::TestSuite { base 31 ui/compositor/test/test_suite.h scoped_ptr<base::MessageLoop> message_loop_; base 13 ui/compositor/transform_animation_curve_adapter.cc base::TimeDelta duration) base 81 ui/compositor/transform_animation_curve_adapter.cc base::TimeDelta duration) base 23 ui/compositor/transform_animation_curve_adapter.h base::TimeDelta duration); base 43 ui/compositor/transform_animation_curve_adapter.h base::TimeDelta duration_; base 53 ui/compositor/transform_animation_curve_adapter.h base::TimeDelta duration); base 70 ui/compositor/transform_animation_curve_adapter.h base::TimeDelta duration_; base 28 ui/compositor/transform_animation_curve_adapter_unittest.cc base::TimeDelta duration = base::TimeDelta::FromSeconds(1); base 21 ui/display/chromeos/display_mode.cc return base::StringPrintf("[%dx%d %srate=%f]", base 49 ui/display/chromeos/output_configurator.cc return "unknown (" + base::IntToString(state) + ")"; base 163 ui/display/chromeos/output_configurator.cc configure_display_(base::SysInfo::IsRunningOnChromeOS()), base 407 ui/display/chromeos/output_configurator.cc if (!base::CommandLine::ForCurrentProcess()->HasSwitch( base 511 ui/display/chromeos/output_configurator.cc configure_timer_.reset(new base::OneShotTimer<OutputConfigurator>()); base 514 ui/display/chromeos/output_configurator.cc base::TimeDelta::FromMilliseconds(kConfigureDelayMs), base 387 ui/display/chromeos/output_configurator.h scoped_ptr<base::OneShotTimer<OutputConfigurator> > configure_timer_; base 42 ui/display/chromeos/output_configurator_unittest.cc return base::StringPrintf("id=%" PRId64, output.display_id()); base 48 ui/display/chromeos/output_configurator_unittest.cc return base::StringPrintf("background(0x%x)", color_argb); base 55 ui/display/chromeos/output_configurator_unittest.cc return base::StringPrintf("add_mode(output=%" PRId64 ",mode=%s)", base 65 ui/display/chromeos/output_configurator_unittest.cc return base::StringPrintf("crtc(display=[%s],x=%d,y=%d,mode=[%s])", base 77 ui/display/chromeos/output_configurator_unittest.cc return base::StringPrintf( base 89 ui/display/chromeos/output_configurator_unittest.cc return base::StringPrintf("ctm(id=%d,transform=(%f,%f,%f,%f))", base 100 ui/display/chromeos/output_configurator_unittest.cc return base::StringPrintf( base 479 ui/display/chromeos/output_configurator_unittest.cc base::MessageLoop message_loop_; base 45 ui/display/chromeos/x11/display_snapshot_x11.cc return base::StringPrintf( base 84 ui/display/chromeos/x11/native_display_delegate_x11.cc virtual void UpdateXRandRConfiguration(const base::NativeEvent& event) base 107 ui/display/chromeos/x11/native_display_delegate_x11.cc : public base::MessagePumpObserver { base 113 ui/display/chromeos/x11/native_display_delegate_x11.cc virtual base::EventStatus WillProcessEvent(const base::NativeEvent& event) base 115 ui/display/chromeos/x11/native_display_delegate_x11.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; base 129 ui/display/chromeos/x11/native_display_delegate_x11.cc base::EventStatus base 131 ui/display/chromeos/x11/native_display_delegate_x11.cc const base::NativeEvent& event) { base 142 ui/display/chromeos/x11/native_display_delegate_x11.cc return base::EVENT_CONTINUE; base 146 ui/display/chromeos/x11/native_display_delegate_x11.cc const base::NativeEvent& event) {} base 152 ui/display/chromeos/x11/native_display_delegate_x11.cc : display_(base::MessagePumpX11::GetDefaultXDisplay()), base 157 ui/display/chromeos/x11/native_display_delegate_x11.cc base::MessagePumpX11::Current()->RemoveDispatcherForRootWindow( base 159 ui/display/chromeos/x11/native_display_delegate_x11.cc base::MessagePumpX11::Current()->RemoveObserver(message_pump_observer_.get()); base 175 ui/display/chromeos/x11/native_display_delegate_x11.cc base::MessagePumpX11::Current()->AddDispatcherForRootWindow( base 179 ui/display/chromeos/x11/native_display_delegate_x11.cc base::MessagePumpX11::Current()->AddObserver(message_pump_observer_.get()); base 56 ui/display/chromeos/x11/native_display_delegate_x11.h virtual void UpdateXRandRConfiguration(const base::NativeEvent& event) = 0; base 22 ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc tick_clock_(new base::DefaultTickClock) {} base 27 ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc const base::NativeEvent& event) { base 95 ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc scoped_ptr<base::TickClock> tick_clock) { base 16 ui/display/chromeos/x11/native_display_event_dispatcher_x11.h : public base::MessagePumpDispatcher { base 30 ui/display/chromeos/x11/native_display_event_dispatcher_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 32 ui/display/chromeos/x11/native_display_event_dispatcher_x11.h void SetTickClockForTest(scoped_ptr<base::TickClock> tick_clock); base 45 ui/display/chromeos/x11/native_display_event_dispatcher_x11.h base::TimeTicks last_notified_time_; base 47 ui/display/chromeos/x11/native_display_event_dispatcher_x11.h scoped_ptr<base::TickClock> tick_clock_; base 59 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc virtual void UpdateXRandRConfiguration(const base::NativeEvent& event) base 80 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc const base::NativeEvent& event) { base 111 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc base::SimpleTestTickClock* test_tick_clock_; // Owned by |dispatcher_|. base 122 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc test_tick_clock_(new base::SimpleTestTickClock) { base 123 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc test_tick_clock_->Advance(base::TimeDelta::FromMilliseconds(1)); base 125 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc scoped_ptr<base::TickClock>(test_tick_clock_)); base 134 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc dispatcher_->Dispatch(reinterpret_cast<const base::NativeEvent>(&event)); base 150 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc dispatcher_->Dispatch(reinterpret_cast<const base::NativeEvent>(&event)); base 277 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc test_tick_clock_->Advance(base::TimeDelta::FromMilliseconds( base 286 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc base::TimeDelta::FromMilliseconds(kHalfOfExpirationMs)); base 297 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc test_tick_clock_->Advance(base::TimeDelta::FromMilliseconds( base 20 ui/display/chromeos/x11/touchscreen_delegate_x11.cc : display_(base::MessagePumpX11::GetDefaultXDisplay()) {} base 45 ui/display/edid_parser.cc 0 : base::Hash(product_name); base 81 ui/display/edid_parser.cc *manufacturer_id = base::ByteSwap(*manufacturer_id); base 105 ui/display/edid_parser.cc base::TrimWhitespaceASCII( base 106 ui/display/edid_parser.cc found_name, base::TRIM_TRAILING, human_readable_name); base 23 ui/display/x11/edid_parser_x11.cc base::MessagePumpX11::GetDefaultXDisplay(), base 35 ui/display/x11/edid_parser_x11.cc Display* display = base::MessagePumpX11::GetDefaultXDisplay(); base 38 ui/display/x11/edid_parser_x11.cc base::MessagePumpX11::GetDefaultXDisplay(), base 32 ui/events/event.cc base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { base 106 ui/events/event.cc bool IsX11SendEventTrue(const base::NativeEvent& event) { base 129 ui/events/event.cc base::NativeEvent null_event; base 150 ui/events/event.cc Event::Event(EventType type, base::TimeDelta time_stamp, int flags) base 167 ui/events/event.cc Event::Event(const base::NativeEvent& native_event, base 178 ui/events/event.cc base::TimeDelta delta = EventTimeForNow() - time_stamp_; base 184 ui/events/event.cc base::StringPrintf("Event.Latency.Browser.%s", name_.c_str()); base 185 ui/events/event.cc base::HistogramBase* counter_for_type = base 186 ui/events/event.cc base::Histogram::FactoryGet( base 191 ui/events/event.cc base::HistogramBase::kUmaTargetedHistogramFlag); base 227 ui/events/event.cc void Event::InitWithNativeEvent(const base::NativeEvent& native_event) { base 235 ui/events/event.cc : Event(ET_CANCEL_MODE, base::TimeDelta(), 0) { base 248 ui/events/event.cc LocatedEvent::LocatedEvent(const base::NativeEvent& native_event) base 259 ui/events/event.cc base::TimeDelta time_stamp, base 278 ui/events/event.cc MouseEvent::MouseEvent(const base::NativeEvent& native_event) base 315 ui/events/event.cc base::TimeDelta time_difference = event2.time_stamp() - event1.time_stamp(); base 391 ui/events/event.cc MouseWheelEvent::MouseWheelEvent(const base::NativeEvent& native_event) base 439 ui/events/event.cc TouchEvent::TouchEvent(const base::NativeEvent& native_event) base 451 ui/events/event.cc base::TimeTicks::FromInternalValue(time_stamp().ToInternalValue()), base 465 ui/events/event.cc base::TimeDelta time_stamp) base 480 ui/events/event.cc base::TimeDelta time_stamp, base 523 ui/events/event.cc KeyEvent::KeyEvent(const base::NativeEvent& native_event, bool is_char) base 633 ui/events/event.cc TranslatedKeyEvent::TranslatedKeyEvent(const base::NativeEvent& native_event, base 664 ui/events/event.cc ScrollEvent::ScrollEvent(const base::NativeEvent& native_event) base 685 ui/events/event.cc base::TimeDelta time_stamp, base 716 ui/events/event.cc base::TimeDelta time_stamp, base 52 ui/events/event.h const base::NativeEvent& native_event() const { return native_event_; } base 56 ui/events/event.h const base::TimeDelta& time_stamp() const { return time_stamp_; } base 204 ui/events/event.h Event(EventType type, base::TimeDelta time_stamp, int flags); base 205 ui/events/event.h Event(const base::NativeEvent& native_event, EventType type, int flags); base 213 ui/events/event.h void set_time_stamp(const base::TimeDelta& time_stamp) { base 224 ui/events/event.h void InitWithNativeEvent(const base::NativeEvent& native_event); base 228 ui/events/event.h base::TimeDelta time_stamp_; base 231 ui/events/event.h base::NativeEvent native_event_; base 281 ui/events/event.h explicit LocatedEvent(const base::NativeEvent& native_event); base 298 ui/events/event.h base::TimeDelta time_stamp, base 310 ui/events/event.h explicit MouseEvent(const base::NativeEvent& native_event); base 411 ui/events/event.h explicit MouseWheelEvent(const base::NativeEvent& native_event); base 442 ui/events/event.h explicit TouchEvent(const base::NativeEvent& native_event); base 461 ui/events/event.h base::TimeDelta time_stamp); base 467 ui/events/event.h base::TimeDelta timestamp, base 533 ui/events/event.h KeyEvent(const base::NativeEvent& native_event, bool is_char); base 600 ui/events/event.h TranslatedKeyEvent(const base::NativeEvent& native_event, bool is_char); base 617 ui/events/event.h explicit ScrollEvent(const base::NativeEvent& native_event); base 633 ui/events/event.h base::TimeDelta time_stamp, base 669 ui/events/event.h base::TimeDelta time_stamp, base 188 ui/events/event_dispatcher.cc base::AutoReset<Event*> event_reset(¤t_event_, event); base 24 ui/events/event_rewriter_unittest.cc : Event(type, base::TimeDelta(), 0), unique_id_(next_unique_id_++) {} base 75 ui/events/event_unittest.cc base::TimeDelta start = base::TimeDelta::FromMilliseconds(0); base 76 ui/events/event_unittest.cc base::TimeDelta soon = start + base::TimeDelta::FromMilliseconds(1); base 77 ui/events/event_unittest.cc base::TimeDelta later = start + base::TimeDelta::FromMilliseconds(1000); base 23 ui/events/event_utils.cc base::TimeDelta EventTimeForNow() { base 24 ui/events/event_utils.cc return base::TimeDelta::FromInternalValue( base 25 ui/events/event_utils.cc base::TimeTicks::Now().ToInternalValue()); base 24 ui/events/event_utils.h namespace base { base 37 ui/events/event_utils.h const base::NativeEvent& native_event); base 40 ui/events/event_utils.h EVENTS_EXPORT int EventFlagsFromNative(const base::NativeEvent& native_event); base 43 ui/events/event_utils.h EVENTS_EXPORT base::TimeDelta EventTimeFromNative( base 44 ui/events/event_utils.h const base::NativeEvent& native_event); base 47 ui/events/event_utils.h EVENTS_EXPORT base::TimeDelta EventTimeForNow(); base 55 ui/events/event_utils.h const base::NativeEvent& native_event); base 59 ui/events/event_utils.h const base::NativeEvent& native_event); base 66 ui/events/event_utils.h EVENTS_EXPORT int EventButtonFromNative(const base::NativeEvent& native_event); base 71 ui/events/event_utils.h const base::NativeEvent& native_event); base 77 ui/events/event_utils.h const base::NativeEvent& native_event); base 81 ui/events/event_utils.h const base::NativeEvent& native_event); base 85 ui/events/event_utils.h const base::NativeEvent& native_event); base 88 ui/events/event_utils.h EVENTS_EXPORT int GetTouchId(const base::NativeEvent& native_event); base 92 ui/events/event_utils.h const base::NativeEvent& native_event); base 95 ui/events/event_utils.h EVENTS_EXPORT float GetTouchRadiusX(const base::NativeEvent& native_event); base 96 ui/events/event_utils.h EVENTS_EXPORT float GetTouchRadiusY(const base::NativeEvent& native_event); base 99 ui/events/event_utils.h EVENTS_EXPORT float GetTouchAngle(const base::NativeEvent& native_event); base 102 ui/events/event_utils.h EVENTS_EXPORT float GetTouchForce(const base::NativeEvent& native_event); base 106 ui/events/event_utils.h EVENTS_EXPORT bool GetFlingData(const base::NativeEvent& native_event, base 115 ui/events/event_utils.h EVENTS_EXPORT bool GetScrollOffsets(const base::NativeEvent& native_event, base 122 ui/events/event_utils.h EVENTS_EXPORT bool GetGestureTimes(const base::NativeEvent& native_event, base 135 ui/events/event_utils.h EVENTS_EXPORT bool IsTouchpadEvent(const base::NativeEvent& event); base 21 ui/events/events_stub.cc EventType EventTypeFromNative(const base::NativeEvent& native_event) { base 27 ui/events/events_stub.cc int EventFlagsFromNative(const base::NativeEvent& native_event) { base 33 ui/events/events_stub.cc base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) { base 35 ui/events/events_stub.cc return base::TimeDelta(); base 38 ui/events/events_stub.cc gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { base 44 ui/events/events_stub.cc const base::NativeEvent& native_event) { base 49 ui/events/events_stub.cc int EventButtonFromNative(const base::NativeEvent& native_event) { base 55 ui/events/events_stub.cc const base::NativeEvent& native_event) { base 60 ui/events/events_stub.cc gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { base 65 ui/events/events_stub.cc void ClearTouchIdIfReleased(const base::NativeEvent& native_event) { base 69 ui/events/events_stub.cc int GetTouchId(const base::NativeEvent& native_event) { base 74 ui/events/events_stub.cc float GetTouchRadiusX(const base::NativeEvent& native_event) { base 79 ui/events/events_stub.cc float GetTouchRadiusY(const base::NativeEvent& native_event) { base 84 ui/events/events_stub.cc float GetTouchAngle(const base::NativeEvent& native_event) { base 89 ui/events/events_stub.cc float GetTouchForce(const base::NativeEvent& native_event) { base 94 ui/events/events_stub.cc bool GetScrollOffsets(const base::NativeEvent& native_event, base 104 ui/events/events_stub.cc bool GetFlingData(const base::NativeEvent& native_event, base 114 ui/events/events_stub.cc bool GetGestureTimes(const base::NativeEvent& native_event, base 130 ui/events/events_stub.cc bool IsTouchpadEvent(const base::NativeEvent& native_event) { base 135 ui/events/events_stub.cc KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) { base 140 ui/events/events_stub.cc const char* CodeFromNative(const base::NativeEvent& native_event) { base 23 ui/events/gesture_detection/filtered_gesture_provider.cc base::AutoReset<bool> handling_event(&handling_event_, true); base 19 ui/events/gesture_detection/gesture_config_helper_android.cc config.longpress_timeout = base::TimeDelta::FromMilliseconds( base 21 ui/events/gesture_detection/gesture_config_helper_android.cc config.showpress_timeout = base::TimeDelta::FromMilliseconds( base 23 ui/events/gesture_detection/gesture_config_helper_android.cc config.double_tap_timeout = base::TimeDelta::FromMilliseconds( base 15 ui/events/gesture_detection/gesture_config_helper_aura.cc config.longpress_timeout = base::TimeDelta::FromMilliseconds( base 17 ui/events/gesture_detection/gesture_config_helper_aura.cc config.showpress_timeout = base::TimeDelta::FromMilliseconds( base 19 ui/events/gesture_detection/gesture_config_helper_aura.cc config.double_tap_timeout = base::TimeDelta::FromMilliseconds( base 28 ui/events/gesture_detection/gesture_detector.cc : longpress_timeout(base::TimeDelta::FromMilliseconds(500)), base 29 ui/events/gesture_detection/gesture_detector.cc showpress_timeout(base::TimeDelta::FromMilliseconds(180)), base 30 ui/events/gesture_detection/gesture_detector.cc double_tap_timeout(base::TimeDelta::FromMilliseconds(300)), base 125 ui/events/gesture_detection/gesture_detector.cc base::OneShotTimer<GestureDetector> timeout_timers_[TIMEOUT_EVENT_COUNT]; base 127 ui/events/gesture_detection/gesture_detector.cc base::TimeDelta timeout_delays_[TIMEOUT_EVENT_COUNT]; base 235 ui/events/gesture_detection/gesture_detector.cc DCHECK(double_tap_timeout_ > base::TimeDelta()); base 26 ui/events/gesture_detection/gesture_detector.h base::TimeDelta longpress_timeout; base 27 ui/events/gesture_detection/gesture_detector.h base::TimeDelta showpress_timeout; base 28 ui/events/gesture_detection/gesture_detector.h base::TimeDelta double_tap_timeout; base 122 ui/events/gesture_detection/gesture_detector.h base::TimeDelta double_tap_timeout_; base 13 ui/events/gesture_detection/gesture_event_data.cc base::TimeTicks time, base 29 ui/events/gesture_detection/gesture_event_data.cc base::TimeTicks time, base 20 ui/events/gesture_detection/gesture_event_data.h base::TimeTicks time, base 27 ui/events/gesture_detection/gesture_event_data.h base::TimeTicks time, base 33 ui/events/gesture_detection/gesture_event_data.h base::TimeTicks time; base 35 ui/events/gesture_detection/gesture_provider.cc base::TimeTicks time, base 44 ui/events/gesture_detection/gesture_provider.cc base::TimeTicks time, base 497 ui/events/gesture_detection/gesture_provider.cc const base::TimeDelta double_tap_timeout_; base 499 ui/events/gesture_detection/gesture_provider.cc base::TimeTicks current_down_time_; base 555 ui/events/gesture_detection/gesture_provider.cc current_longpress_time_ = base::TimeTicks(); base 710 ui/events/gesture_detection/gesture_provider.cc current_longpress_time_ = base::TimeTicks(); base 741 ui/events/gesture_detection/gesture_provider.cc current_longpress_time_ = base::TimeTicks(); base 749 ui/events/gesture_detection/gesture_provider.cc current_longpress_time_ = base::TimeTicks(); base 132 ui/events/gesture_detection/gesture_provider.h base::TimeTicks current_longpress_time_; base 18 ui/events/gesture_detection/gesture_provider_unittest.cc using base::TimeDelta; base 19 ui/events/gesture_detection/gesture_provider_unittest.cc using base::TimeTicks; base 34 ui/events/gesture_detection/gesture_provider_unittest.cc sConfig.gesture_detector_config.showpress_timeout = base::TimeDelta(); base 54 ui/events/gesture_detection/gesture_provider_unittest.cc static MockMotionEvent ObtainMotionEvent(base::TimeTicks event_time, base 61 ui/events/gesture_detection/gesture_provider_unittest.cc static MockMotionEvent ObtainMotionEvent(base::TimeTicks event_time, base 70 ui/events/gesture_detection/gesture_provider_unittest.cc static MockMotionEvent ObtainMotionEvent(base::TimeTicks event_time, base 138 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeDelta GetLongPressTimeout() const { base 142 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeDelta GetShowPressTimeout() const { base 149 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 193 ui/events/gesture_detection/gesture_provider_unittest.cc static void RunTasksAndWait(base::TimeDelta delay) { base 194 ui/events/gesture_detection/gesture_provider_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 195 ui/events/gesture_detection/gesture_provider_unittest.cc FROM_HERE, base::MessageLoop::QuitClosure(), delay); base 196 ui/events/gesture_detection/gesture_provider_unittest.cc base::MessageLoop::current()->Run(); base 202 ui/events/gesture_detection/gesture_provider_unittest.cc base::MessageLoopForUI message_loop_; base 207 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 235 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 265 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = TimeTicks::Now(); base 266 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeDelta delta_time = kDeltaTimeForFlingSequences; base 317 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 318 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeDelta delta_time = kDeltaTimeForFlingSequences; base 365 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks event_time = TimeTicks::Now(); base 383 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 402 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 448 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks down_time_1 = TimeTicks::Now(); base 449 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks down_time_2 = down_time_1 + kOneMicrosecond * 2; base 506 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks event_time = TimeTicks::Now(); base 545 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks event_time = TimeTicks::Now(); base 596 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks event_time = TimeTicks::Now(); base 625 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 641 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeDelta long_press_timeout = base 652 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 658 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeDelta long_press_timeout = base 670 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 676 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeDelta long_press_timeout = base 698 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 720 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeDelta long_press_timeout = base 753 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 774 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 804 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks down_time_1 = TimeTicks::Now(); base 805 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks down_time_2 = down_time_1 + kOneMicrosecond * 2; base 855 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks down_time_1 = TimeTicks::Now(); base 856 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeTicks down_time_2 = down_time_1 + kOneMicrosecond * 2; base 903 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks down_time_1 = TimeTicks::Now(); base 904 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks down_time_2 = down_time_1 + kOneMicrosecond * 2; base 990 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 1069 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 1075 ui/events/gesture_detection/gesture_provider_unittest.cc const base::TimeDelta long_press_timeout = base 1092 ui/events/gesture_detection/gesture_provider_unittest.cc base::TimeTicks event_time = base::TimeTicks::Now(); base 9 ui/events/gesture_detection/mock_motion_event.cc using base::TimeTicks; base 17 ui/events/gesture_detection/mock_motion_event.h MockMotionEvent(Action action, base::TimeTicks time, float x, float y); base 19 ui/events/gesture_detection/mock_motion_event.h base::TimeTicks time, base 37 ui/events/gesture_detection/mock_motion_event.h virtual base::TimeTicks GetEventTime() const OVERRIDE; base 39 ui/events/gesture_detection/mock_motion_event.h virtual base::TimeTicks GetHistoricalEventTime(size_t historical_index) const base 61 ui/events/gesture_detection/mock_motion_event.h base::TimeTicks time; base 41 ui/events/gesture_detection/motion_event.h virtual base::TimeTicks GetEventTime() const = 0; base 44 ui/events/gesture_detection/motion_event.h virtual base::TimeTicks GetHistoricalEventTime( base 14 ui/events/gesture_detection/scale_gesture_detector.cc using base::TimeDelta; base 15 ui/events/gesture_detection/scale_gesture_detector.cc using base::TimeTicks; base 285 ui/events/gesture_detection/scale_gesture_detector.cc base::TimeDelta ScaleGestureDetector::GetTimeDelta() const { base 289 ui/events/gesture_detection/scale_gesture_detector.cc base::TimeTicks ScaleGestureDetector::GetEventTime() const { base 302 ui/events/gesture_detection/scale_gesture_detector.cc const base::TimeTicks current_time = base::TimeTicks::Now(); base 309 ui/events/gesture_detection/scale_gesture_detector.cc const bool has_last_accepted = !base::IsNaN(touch_history_last_accepted_); base 323 ui/events/gesture_detection/scale_gesture_detector.cc if (base::IsNaN(touch_upper_) || major > touch_upper_) { base 326 ui/events/gesture_detection/scale_gesture_detector.cc if (base::IsNaN(touch_lower_) || major < touch_lower_) { base 364 ui/events/gesture_detection/scale_gesture_detector.cc touch_history_last_accepted_time_ = base::TimeTicks(); base 90 ui/events/gesture_detection/scale_gesture_detector.h base::TimeDelta GetTimeDelta() const; base 91 ui/events/gesture_detection/scale_gesture_detector.h base::TimeTicks GetEventTime() const; base 120 ui/events/gesture_detection/scale_gesture_detector.h base::TimeTicks curr_time_; base 121 ui/events/gesture_detection/scale_gesture_detector.h base::TimeTicks prev_time_; base 131 ui/events/gesture_detection/scale_gesture_detector.h base::TimeTicks touch_history_last_accepted_time_; base 21 ui/events/gesture_detection/touch_disposition_gesture_filter.cc base::TimeTicks(), base 171 ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc return GestureEventData(type, 0, base::TimeTicks(), 0, 0); base 12 ui/events/gesture_detection/velocity_tracker.cc using base::TimeDelta; base 13 ui/events/gesture_detection/velocity_tracker.cc using base::TimeTicks; base 24 ui/events/gesture_detection/velocity_tracker.cc virtual void AddMovement(const base::TimeTicks& event_time, base 753 ui/events/gesture_detection/velocity_tracker.cc const base::TimeDelta MIN_TIME_DELTA = TimeDelta::FromMicroseconds(2); base 131 ui/events/gesture_detection/velocity_tracker.h void AddMovement(const base::TimeTicks& event_time, base 140 ui/events/gesture_detection/velocity_tracker.h base::TimeTicks last_event_time_; base 15 ui/events/gesture_detection/velocity_tracker_unittest.cc using base::TimeDelta; base 16 ui/events/gesture_detection/velocity_tracker_unittest.cc using base::TimeTicks; base 66 ui/events/gesture_detection/velocity_tracker_unittest.cc const base::TimeDelta dt = t / samples; base 81 ui/events/gesture_detection/velocity_tracker_unittest.cc const base::TimeDelta dt = t / samples; base 127 ui/events/gesture_detection/velocity_tracker_unittest.cc const base::TimeDelta dt = kTenMillis * 2; base 155 ui/events/gesture_detection/velocity_tracker_unittest.cc base::TimeTicks t0 = base::TimeTicks::Now(); base 156 ui/events/gesture_detection/velocity_tracker_unittest.cc base::TimeDelta dt = kTenMillis * 10; base 158 ui/events/gesture_detection/velocity_tracker_unittest.cc Sample(MotionEvent::ACTION_DOWN, p0, t0, vFast, base::TimeDelta())); base 162 ui/events/gesture_detection/velocity_tracker_unittest.cc base::TimeTicks tCurr = t0; base 840 ui/events/gestures/gesture_sequence.cc base::OneShotTimer<GestureSequence>* GestureSequence::CreateTimer() { base 841 ui/events/gestures/gesture_sequence.cc return new base::OneShotTimer<GestureSequence>(); base 844 ui/events/gestures/gesture_sequence.cc base::OneShotTimer<GestureSequence>* GestureSequence::GetLongPressTimer() { base 850 ui/events/gestures/gesture_sequence.cc base::OneShotTimer<GestureSequence>* GestureSequence::GetShowPressTimer() { base 891 ui/events/gestures/gesture_sequence.cc base::Time timestamp, base 896 ui/events/gestures/gesture_sequence.cc base::TimeDelta time_stamp = base 897 ui/events/gestures/gesture_sequence.cc base::TimeDelta::FromMicroseconds(timestamp.ToDoubleT() * 1000000); base 909 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 919 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 929 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 939 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 952 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 964 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 993 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 1000 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 1063 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 1075 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(p1.last_touch_time()), base 1088 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(p1.last_touch_time()), base 1101 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 1113 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 1126 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point->last_touch_time()), base 1200 ui/events/gestures/gesture_sequence.cc base::TimeDelta::FromMilliseconds( base 1207 ui/events/gestures/gesture_sequence.cc base::TimeDelta::FromMilliseconds( base 1238 ui/events/gestures/gesture_sequence.cc base::TimeDelta time_delta = event.time_stamp() - second_touch_time_; base 1239 ui/events/gestures/gesture_sequence.cc base::TimeDelta max_delta = base::TimeDelta::FromMilliseconds(1000 * base 1253 ui/events/gestures/gesture_sequence.cc base::TimeDelta time_delta = event.time_stamp() - second_touch_time_; base 1254 ui/events/gestures/gesture_sequence.cc base::TimeDelta max_delta = base::TimeDelta::FromMilliseconds(1000 * base 1267 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point->last_touch_time()), base 1278 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point->last_touch_time()), base 1289 ui/events/gestures/gesture_sequence.cc base::Time::FromDoubleT(point.last_touch_time()), base 83 ui/events/gestures/gesture_sequence.h virtual base::OneShotTimer<GestureSequence>* CreateTimer(); base 84 ui/events/gestures/gesture_sequence.h base::OneShotTimer<GestureSequence>* GetLongPressTimer(); base 85 ui/events/gestures/gesture_sequence.h base::OneShotTimer<GestureSequence>* GetShowPressTimer(); base 108 ui/events/gestures/gesture_sequence.h base::Time timestamp, base 243 ui/events/gestures/gesture_sequence.h base::TimeDelta second_touch_time_; base 246 ui/events/gestures/gesture_sequence.h scoped_ptr<base::OneShotTimer<GestureSequence> > long_press_timer_; base 247 ui/events/gestures/gesture_sequence.h scoped_ptr<base::OneShotTimer<GestureSequence> > show_press_timer_; base 439 ui/events/keycodes/keyboard_code_conversion_x.cc DLOG(WARNING) << "Unknown keysym: " << base::StringPrintf("0x%x", keysym); base 453 ui/events/keycodes/keyboard_code_conversion_x.cc base::string16 result; base 454 ui/events/keycodes/keyboard_code_conversion_x.cc return (bytes_written > 0 && base::UTF8ToUTF16(buf, bytes_written, &result) && base 63 ui/events/latency_info.cc class LatencyInfoTracedValue : public base::debug::ConvertableToTraceFormat { base 66 ui/events/latency_info.cc scoped_ptr<base::Value> value); base 71 ui/events/latency_info.cc explicit LatencyInfoTracedValue(base::Value* value); base 74 ui/events/latency_info.cc scoped_ptr<base::Value> value_; base 79 ui/events/latency_info.cc scoped_refptr<base::debug::ConvertableToTraceFormat> base 80 ui/events/latency_info.cc LatencyInfoTracedValue::FromValue(scoped_ptr<base::Value> value) { base 81 ui/events/latency_info.cc return scoped_refptr<base::debug::ConvertableToTraceFormat>( base 90 ui/events/latency_info.cc base::JSONWriter::Write(value_.get(), &tmp); base 94 ui/events/latency_info.cc LatencyInfoTracedValue::LatencyInfoTracedValue(base::Value* value) base 99 ui/events/latency_info.cc scoped_refptr<base::debug::ConvertableToTraceFormat> AsTraceableData( base 101 ui/events/latency_info.cc scoped_ptr<base::DictionaryValue> record_data(new base::DictionaryValue()); base 105 ui/events/latency_info.cc base::DictionaryValue* component_info = new base::DictionaryValue(); base 112 ui/events/latency_info.cc return LatencyInfoTracedValue::FromValue(record_data.PassAs<base::Value>()); base 168 ui/events/latency_info.cc base::TimeTicks::HighResNow(), 1); base 174 ui/events/latency_info.cc base::TimeTicks time, base 78 ui/events/latency_info.h base::TimeTicks event_time; base 88 ui/events/latency_info.h typedef base::SmallMap< base 123 ui/events/latency_info.h base::TimeTicks time, base 16 ui/events/latency_info_unittest.cc base::TimeTicks::FromInternalValue(100), base 21 ui/events/latency_info_unittest.cc base::TimeTicks::FromInternalValue(1000), base 47 ui/events/latency_info_unittest.cc base::TimeTicks::FromInternalValue(100), base 52 ui/events/latency_info_unittest.cc base::TimeTicks::FromInternalValue(200), base 73 ui/events/latency_info_unittest.cc base::TimeTicks::FromInternalValue(100), base 23 ui/events/ozone/evdev/device_manager_evdev.cc base::FileEnumerator file_enum(base::FilePath("/dev/input"), base 25 ui/events/ozone/evdev/device_manager_evdev.cc base::FileEnumerator::FILES, base 27 ui/events/ozone/evdev/device_manager_evdev.cc for (base::FilePath path = file_enum.Next(); !path.empty(); base 15 ui/events/ozone/evdev/device_manager_evdev.h typedef base::Callback<void(const base::FilePath& file_path)> base 46 ui/events/ozone/evdev/device_manager_udev.cc LOG(ERROR) << "libudev: " << fn << ": " << base::StringPrintV(format, args); base 48 ui/events/ozone/evdev/device_manager_udev.cc VLOG(1) << "libudev: " << fn << ": " << base::StringPrintV(format, args); base 50 ui/events/ozone/evdev/device_manager_udev.cc VLOG(2) << "libudev: " << fn << ": " << base::StringPrintV(format, args); base 105 ui/events/ozone/evdev/device_manager_udev.cc device_callback.Run(base::FilePath(path)); base 120 ui/events/ozone/evdev/device_manager_udev.cc base::MessagePumpLibevent::Watcher { base 163 ui/events/ozone/evdev/device_manager_udev.cc device_added_.Run(base::FilePath(path)); base 165 ui/events/ozone/evdev/device_manager_udev.cc device_removed_.Run(base::FilePath(path)); base 187 ui/events/ozone/evdev/device_manager_udev.cc return base::MessagePumpOzone::Current()->WatchFileDescriptor( base 188 ui/events/ozone/evdev/device_manager_udev.cc fd, true, base::MessagePumpOzone::WATCH_READ, &controller_, this); base 202 ui/events/ozone/evdev/device_manager_udev.cc base::MessagePumpLibevent::FileDescriptorWatcher controller_; base 24 ui/events/ozone/evdev/event_converter_evdev.h void SetDispatchCallback(base::Callback<void(void*)> callback) { base 40 ui/events/ozone/evdev/event_converter_evdev.h base::Callback<void(void*)> dispatch_callback_; base 50 ui/events/ozone/evdev/event_factory_evdev.cc const base::FilePath& path, base 53 ui/events/ozone/evdev/event_factory_evdev.cc scoped_refptr<base::TaskRunner> reply_runner, base 54 ui/events/ozone/evdev/event_factory_evdev.cc base::Callback<void(scoped_ptr<EventConverterEvdev>)> reply_callback) { base 93 ui/events/ozone/evdev/event_factory_evdev.cc FROM_HERE, base::Bind(reply_callback, base::Passed(&converter))); base 102 ui/events/ozone/evdev/event_factory_evdev.cc void CloseInputDevice(const base::FilePath& path, base 111 ui/events/ozone/evdev/event_factory_evdev.cc : ui_task_runner_(base::MessageLoopProxy::current()), base 112 ui/events/ozone/evdev/event_factory_evdev.cc file_task_runner_(base::MessageLoopProxy::current()), base 117 ui/events/ozone/evdev/event_factory_evdev.cc : ui_task_runner_(base::MessageLoopProxy::current()), base 118 ui/events/ozone/evdev/event_factory_evdev.cc file_task_runner_(base::MessageLoopProxy::current()), base 125 ui/events/ozone/evdev/event_factory_evdev.cc const base::FilePath& path, base 138 ui/events/ozone/evdev/event_factory_evdev.cc base::Bind(base::IgnoreResult(&EventFactoryEvdev::DispatchEvent), base 139 ui/events/ozone/evdev/event_factory_evdev.cc base::Unretained(this))); base 143 ui/events/ozone/evdev/event_factory_evdev.cc void EventFactoryEvdev::OnDeviceAdded(const base::FilePath& path) { base 149 ui/events/ozone/evdev/event_factory_evdev.cc base::Bind(&OpenInputDevice, base 154 ui/events/ozone/evdev/event_factory_evdev.cc base::Bind(&EventFactoryEvdev::AttachInputDevice, base 159 ui/events/ozone/evdev/event_factory_evdev.cc void EventFactoryEvdev::DetachInputDevice(const base::FilePath& path) { base 175 ui/events/ozone/evdev/event_factory_evdev.cc base::Bind(&CloseInputDevice, path, base::Passed(&converter))); base 179 ui/events/ozone/evdev/event_factory_evdev.cc void EventFactoryEvdev::OnDeviceRemoved(const base::FilePath& path) { base 197 ui/events/ozone/evdev/event_factory_evdev.cc base::Bind(&EventFactoryEvdev::OnDeviceAdded, base::Unretained(this)), base 198 ui/events/ozone/evdev/event_factory_evdev.cc base::Bind(&EventFactoryEvdev::OnDeviceRemoved, base::Unretained(this))); base 202 ui/events/ozone/evdev/event_factory_evdev.cc scoped_refptr<base::TaskRunner> task_runner) { base 32 ui/events/ozone/evdev/event_factory_evdev.h virtual void SetFileTaskRunner(scoped_refptr<base::TaskRunner> task_runner) base 39 ui/events/ozone/evdev/event_factory_evdev.h void AttachInputDevice(const base::FilePath& file_path, base 43 ui/events/ozone/evdev/event_factory_evdev.h void DetachInputDevice(const base::FilePath& file_path); base 46 ui/events/ozone/evdev/event_factory_evdev.h void OnDeviceAdded(const base::FilePath& path); base 49 ui/events/ozone/evdev/event_factory_evdev.h void OnDeviceRemoved(const base::FilePath& path); base 52 ui/events/ozone/evdev/event_factory_evdev.h std::map<base::FilePath, EventConverterEvdev*> converters_; base 58 ui/events/ozone/evdev/event_factory_evdev.h scoped_refptr<base::TaskRunner> ui_task_runner_; base 61 ui/events/ozone/evdev/event_factory_evdev.h scoped_refptr<base::TaskRunner> file_task_runner_; base 70 ui/events/ozone/evdev/event_factory_evdev.h base::WeakPtrFactory<EventFactoryEvdev> weak_ptr_factory_; base 191 ui/events/ozone/evdev/key_event_converter_evdev.cc base::FilePath path, base 203 ui/events/ozone/evdev/key_event_converter_evdev.cc base::MessagePumpOzone::Current()->WatchFileDescriptor( base 204 ui/events/ozone/evdev/key_event_converter_evdev.cc fd_, true, base::MessagePumpLibevent::WATCH_READ, &controller_, this); base 21 ui/events/ozone/evdev/key_event_converter_evdev.h base::MessagePumpLibevent::Watcher { base 24 ui/events/ozone/evdev/key_event_converter_evdev.h base::FilePath path, base 43 ui/events/ozone/evdev/key_event_converter_evdev.h base::FilePath path_; base 49 ui/events/ozone/evdev/key_event_converter_evdev.h base::MessagePumpLibevent::FileDescriptorWatcher controller_; base 22 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc : KeyEventConverterEvdev(fd, base::FilePath(kTestDevicePath), modifiers) { base 76 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc base::MessageLoopForUI ui_loop_; base 38 ui/events/ozone/evdev/touch_event_converter_evdev.cc base::FilePath path, base 72 ui/events/ozone/evdev/touch_event_converter_evdev.cc base::MessagePumpOzone::Current()->WatchFileDescriptor( base 73 ui/events/ozone/evdev/touch_event_converter_evdev.cc fd_, true, base::MessagePumpLibevent::WATCH_READ, &controller_, this); base 150 ui/events/ozone/evdev/touch_event_converter_evdev.cc base::TimeDelta::FromMicroseconds( base 24 ui/events/ozone/evdev/touch_event_converter_evdev.h base::MessagePumpLibevent::Watcher { base 30 ui/events/ozone/evdev/touch_event_converter_evdev.h base::FilePath path, base 71 ui/events/ozone/evdev/touch_event_converter_evdev.h base::FilePath path_; base 92 ui/events/ozone/evdev/touch_event_converter_evdev.h base::MessagePumpLibevent::FileDescriptorWatcher controller_; base 40 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc MockTouchEventConverterEvdev(int fd, base::FilePath path); base 53 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc base::RunLoop().RunUntilIdle(); base 71 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc base::FilePath path) base 122 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc loop_ = new base::MessageLoopForUI; base 124 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc events_in_, base::FilePath(kTestDevicePath)); base 126 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc base::Bind(&ui::MockTouchEventConverterEvdev::DispatchCallback, base 127 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc base::Unretained(device_))); base 138 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc base::MessageLoop* loop_; base 175 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); base 222 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); base 236 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); base 273 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), event->time_stamp()); base 324 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev0->time_stamp()); base 333 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev1->time_stamp()); base 350 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev1->time_stamp()); base 369 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev0->time_stamp()); base 388 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev0->time_stamp()); base 396 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev1->time_stamp()); base 413 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc EXPECT_EQ(base::TimeDelta::FromMicroseconds(0), ev1->time_stamp()); base 33 ui/events/ozone/event_factory_ozone.cc scoped_refptr<base::TaskRunner> task_runner) {} base 46 ui/events/ozone/event_factory_ozone.h virtual void SetFileTaskRunner(scoped_refptr<base::TaskRunner> task_runner); base 13 ui/events/ozone/events_ozone.cc base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) { base 18 ui/events/ozone/events_ozone.cc int EventFlagsFromNative(const base::NativeEvent& native_event) { base 23 ui/events/ozone/events_ozone.cc EventType EventTypeFromNative(const base::NativeEvent& native_event) { base 29 ui/events/ozone/events_ozone.cc const base::NativeEvent& native_event) { base 37 ui/events/ozone/events_ozone.cc gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { base 42 ui/events/ozone/events_ozone.cc const base::NativeEvent& native_event) { base 49 ui/events/ozone/events_ozone.cc KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) { base 55 ui/events/ozone/events_ozone.cc const char* CodeFromNative(const base::NativeEvent& native_event) { base 61 ui/events/ozone/events_ozone.cc gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { base 68 ui/events/ozone/events_ozone.cc void ClearTouchIdIfReleased(const base::NativeEvent& xev) { base 71 ui/events/ozone/events_ozone.cc int GetTouchId(const base::NativeEvent& native_event) { base 78 ui/events/ozone/events_ozone.cc float GetTouchRadiusX(const base::NativeEvent& native_event) { base 85 ui/events/ozone/events_ozone.cc float GetTouchRadiusY(const base::NativeEvent& native_event) { base 92 ui/events/ozone/events_ozone.cc float GetTouchAngle(const base::NativeEvent& native_event) { base 99 ui/events/ozone/events_ozone.cc float GetTouchForce(const base::NativeEvent& native_event) { base 106 ui/events/ozone/events_ozone.cc bool GetScrollOffsets(const base::NativeEvent& native_event, base 116 ui/events/ozone/events_ozone.cc bool GetFlingData(const base::NativeEvent& native_event, base 126 ui/events/ozone/events_ozone.cc bool GetGestureTimes(const base::NativeEvent& native_event, base 138 ui/events/ozone/events_ozone.cc bool IsTouchpadEvent(const base::NativeEvent& event) { base 97 ui/events/platform/platform_event_source.cc base::MessageLoop::current()->QuitNow(); base 338 ui/events/platform/platform_event_source_unittest.cc base::Bind(&PlatformEventTestWithMessageLoop::RunTest, base 339 ui/events/platform/platform_event_source_unittest.cc base::Unretained(this))); base 352 ui/events/platform/platform_event_source_unittest.cc base::MessageLoopForUI message_loop_; base 462 ui/events/platform/platform_event_source_unittest.cc base::MessageLoopForUI::current()->QuitNow(); base 484 ui/events/platform/platform_event_source_unittest.cc base::RunLoop run_loop; base 485 ui/events/platform/platform_event_source_unittest.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 486 ui/events/platform/platform_event_source_unittest.cc base::MessageLoopForUI::ScopedNestableTaskAllower allow_nested(loop); base 489 ui/events/platform/platform_event_source_unittest.cc base::Bind( base 492 ui/events/platform/platform_event_source_unittest.cc base::Unretained(this), base 493 ui/events/platform/platform_event_source_unittest.cc base::Unretained(&list), base 494 ui/events/platform/platform_event_source_unittest.cc base::Unretained(&overriding))); base 546 ui/events/platform/platform_event_source_unittest.cc base::RunLoop run_loop; base 547 ui/events/platform/platform_event_source_unittest.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 548 ui/events/platform/platform_event_source_unittest.cc base::MessageLoopForUI::ScopedNestableTaskAllower allow_nested(loop); base 551 ui/events/platform/platform_event_source_unittest.cc base::Bind(base::IgnoreResult(&TestPlatformEventSource::Dispatch), base 552 ui/events/platform/platform_event_source_unittest.cc base::Unretained(source()), base 561 ui/events/platform/platform_event_source_unittest.cc base::MessageLoopForUI::current()->QuitNow(); base 585 ui/events/platform/platform_event_source_unittest.cc base::RunLoop run_loop; base 586 ui/events/platform/platform_event_source_unittest.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 587 ui/events/platform/platform_event_source_unittest.cc base::MessageLoopForUI::ScopedNestableTaskAllower allow_nested(loop); base 590 ui/events/platform/platform_event_source_unittest.cc base::Bind( base 593 ui/events/platform/platform_event_source_unittest.cc base::Unretained(this), base 594 ui/events/platform/platform_event_source_unittest.cc base::Passed(&override_handle), base 595 ui/events/platform/platform_event_source_unittest.cc base::Unretained(&list))); base 11 ui/events/platform/platform_event_types.h typedef base::NativeEvent PlatformEvent; base 33 ui/events/platform/scoped_event_dispatcher.h base::AutoReset<PlatformEventDispatcher*> restore_; base 18 ui/events/test/events_test_utils.h void set_time_stamp(base::TimeDelta time_stamp) { base 27 ui/events/win/events_win.cc int GetNativeMouseKey(const base::NativeEvent& native_event) { base 61 ui/events/win/events_win.cc bool IsButtonDown(const base::NativeEvent& native_event) { base 66 ui/events/win/events_win.cc bool IsClientMouseEvent(const base::NativeEvent& native_event) { base 73 ui/events/win/events_win.cc bool IsNonClientMouseEvent(const base::NativeEvent& native_event) { base 80 ui/events/win/events_win.cc bool IsMouseEvent(const base::NativeEvent& native_event) { base 85 ui/events/win/events_win.cc bool IsMouseWheelEvent(const base::NativeEvent& native_event) { base 90 ui/events/win/events_win.cc bool IsKeyEvent(const base::NativeEvent& native_event) { base 98 ui/events/win/events_win.cc bool IsScrollEvent(const base::NativeEvent& native_event) { base 105 ui/events/win/events_win.cc int KeyStateFlagsFromNative(const base::NativeEvent& native_event) { base 107 ui/events/win/events_win.cc flags |= base::win::IsAltPressed() ? EF_ALT_DOWN : EF_NONE; base 108 ui/events/win/events_win.cc flags |= base::win::IsShiftPressed() ? EF_SHIFT_DOWN : EF_NONE; base 109 ui/events/win/events_win.cc flags |= base::win::IsCtrlPressed() ? EF_CONTROL_DOWN : EF_NONE; base 127 ui/events/win/events_win.cc int MouseStateFlagsFromNative(const base::NativeEvent& native_event) { base 148 ui/events/win/events_win.cc EventType EventTypeFromNative(const base::NativeEvent& native_event) { base 204 ui/events/win/events_win.cc int EventFlagsFromNative(const base::NativeEvent& native_event) { base 212 ui/events/win/events_win.cc base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) { base 213 ui/events/win/events_win.cc return base::TimeDelta::FromMilliseconds(native_event.time); base 216 ui/events/win/events_win.cc gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { base 243 ui/events/win/events_win.cc const base::NativeEvent& native_event) { base 249 ui/events/win/events_win.cc KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) { base 253 ui/events/win/events_win.cc const char* CodeFromNative(const base::NativeEvent& native_event) { base 259 ui/events/win/events_win.cc const base::NativeEvent& native_event) { base 274 ui/events/win/events_win.cc gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { base 282 ui/events/win/events_win.cc void ClearTouchIdIfReleased(const base::NativeEvent& xev) { base 286 ui/events/win/events_win.cc int GetTouchId(const base::NativeEvent& xev) { base 291 ui/events/win/events_win.cc float GetTouchRadiusX(const base::NativeEvent& native_event) { base 296 ui/events/win/events_win.cc float GetTouchRadiusY(const base::NativeEvent& native_event) { base 301 ui/events/win/events_win.cc float GetTouchAngle(const base::NativeEvent& native_event) { base 306 ui/events/win/events_win.cc float GetTouchForce(const base::NativeEvent& native_event) { base 311 ui/events/win/events_win.cc bool GetScrollOffsets(const base::NativeEvent& native_event, base 324 ui/events/win/events_win.cc bool GetFlingData(const base::NativeEvent& native_event, base 335 ui/events/win/events_win.cc bool GetGestureTimes(const base::NativeEvent& native_event, base 353 ui/events/win/events_win.cc bool IsTouchpadEvent(const base::NativeEvent& event) { base 371 ui/events/win/events_win.cc if (base::win::IsShiftPressed()) base 373 ui/events/win/events_win.cc if (base::win::IsCtrlPressed()) base 375 ui/events/win/events_win.cc if (base::win::IsAltPressed()) base 377 ui/events/win/events_win.cc if (base::win::IsAltGrPressed()) base 353 ui/events/x/device_data_manager.cc const base::NativeEvent& native_event) const { base 361 ui/events/x/device_data_manager.cc const base::NativeEvent& native_event) const { base 373 ui/events/x/device_data_manager.cc const base::NativeEvent& native_event) const { base 385 ui/events/x/device_data_manager.cc const base::NativeEvent& native_event) const { base 398 ui/events/x/device_data_manager.cc const base::NativeEvent& native_event) const { base 409 ui/events/x/device_data_manager.cc const base::NativeEvent& native_event) const { base 421 ui/events/x/device_data_manager.cc const base::NativeEvent& native_event) const { base 433 ui/events/x/device_data_manager.cc const base::NativeEvent& native_event) const { base 443 ui/events/x/device_data_manager.cc void DeviceDataManager::GetScrollOffsets(const base::NativeEvent& native_event, base 469 ui/events/x/device_data_manager.cc void DeviceDataManager::GetFlingData(const base::NativeEvent& native_event, base 494 ui/events/x/device_data_manager.cc void DeviceDataManager::GetMetricsData(const base::NativeEvent& native_event, base 528 ui/events/x/device_data_manager.cc void DeviceDataManager::GetGestureTimes(const base::NativeEvent& native_event, base 133 ui/events/x/device_data_manager.h bool IsXIDeviceEvent(const base::NativeEvent& native_event) const; base 136 ui/events/x/device_data_manager.h bool IsTouchpadXInputEvent(const base::NativeEvent& native_event) const; base 141 ui/events/x/device_data_manager.h bool IsCMTDeviceEvent(const base::NativeEvent& native_event) const; base 145 ui/events/x/device_data_manager.h bool IsCMTGestureEvent(const base::NativeEvent& native_event) const; base 148 ui/events/x/device_data_manager.h bool IsScrollEvent(const base::NativeEvent& native_event) const; base 149 ui/events/x/device_data_manager.h bool IsFlingEvent(const base::NativeEvent& native_event) const; base 150 ui/events/x/device_data_manager.h bool IsCMTMetricsEvent(const base::NativeEvent& native_event) const; base 153 ui/events/x/device_data_manager.h bool HasGestureTimes(const base::NativeEvent& native_event) const; base 158 ui/events/x/device_data_manager.h void GetScrollOffsets(const base::NativeEvent& native_event, base 167 ui/events/x/device_data_manager.h void GetFlingData(const base::NativeEvent& native_event, base 176 ui/events/x/device_data_manager.h void GetMetricsData(const base::NativeEvent& native_event, base 190 ui/events/x/device_data_manager.h void GetGestureTimes(const base::NativeEvent& native_event, base 45 ui/events/x/events_x.cc void UpdateStateFromEvent(const base::NativeEvent& native_event) { base 103 ui/events/x/events_x.cc bool TouchEventIsGeneratedHack(const base::NativeEvent& native_event) { base 184 ui/events/x/events_x.cc ui::EventType GetTouchEventType(const base::NativeEvent& native_event) { base 239 ui/events/x/events_x.cc EventType EventTypeFromNative(const base::NativeEvent& native_event) { base 326 ui/events/x/events_x.cc int EventFlagsFromNative(const base::NativeEvent& native_event) { base 387 ui/events/x/events_x.cc base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) { base 391 ui/events/x/events_x.cc return base::TimeDelta::FromMilliseconds(native_event->xkey.time); base 394 ui/events/x/events_x.cc return base::TimeDelta::FromMilliseconds(native_event->xbutton.time); base 397 ui/events/x/events_x.cc return base::TimeDelta::FromMilliseconds(native_event->xmotion.time); base 401 ui/events/x/events_x.cc return base::TimeDelta::FromMilliseconds(native_event->xcrossing.time); base 408 ui/events/x/events_x.cc return base::TimeDelta::FromMicroseconds(end * 1000000); base 411 ui/events/x/events_x.cc return base::TimeDelta::FromMicroseconds(touch_timestamp * 1000000); base 415 ui/events/x/events_x.cc return base::TimeDelta::FromMilliseconds(xide->time); base 421 ui/events/x/events_x.cc return base::TimeDelta(); base 424 ui/events/x/events_x.cc gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { base 445 ui/events/x/events_x.cc const base::NativeEvent& native_event) { base 471 ui/events/x/events_x.cc int EventButtonFromNative(const base::NativeEvent& native_event) { base 481 ui/events/x/events_x.cc KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) { base 485 ui/events/x/events_x.cc const char* CodeFromNative(const base::NativeEvent& native_event) { base 490 ui/events/x/events_x.cc const base::NativeEvent& native_event) { base 512 ui/events/x/events_x.cc gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { base 537 ui/events/x/events_x.cc void ClearTouchIdIfReleased(const base::NativeEvent& xev) { base 551 ui/events/x/events_x.cc int GetTouchId(const base::NativeEvent& xev) { base 565 ui/events/x/events_x.cc float GetTouchRadiusX(const base::NativeEvent& native_event) { base 570 ui/events/x/events_x.cc float GetTouchRadiusY(const base::NativeEvent& native_event) { base 575 ui/events/x/events_x.cc float GetTouchAngle(const base::NativeEvent& native_event) { base 580 ui/events/x/events_x.cc float GetTouchForce(const base::NativeEvent& native_event) { base 593 ui/events/x/events_x.cc bool GetScrollOffsets(const base::NativeEvent& native_event, base 625 ui/events/x/events_x.cc bool GetFlingData(const base::NativeEvent& native_event, base 653 ui/events/x/events_x.cc bool GetGestureTimes(const base::NativeEvent& native_event, base 670 ui/events/x/events_x.cc bool IsTouchpadEvent(const base::NativeEvent& event) { base 68 ui/events/x/touch_factory_x11.cc base::SplitString(touch_devices, ',', &devs); base 71 ui/events/x/touch_factory_x11.cc if (base::StringToInt(*iter, reinterpret_cast<int*>(&devid))) base 16 ui/gfx/android/gfx_jni_registrar.cc static base::android::RegistrationMethod kGfxRegisteredMethods[] = { base 14 ui/gfx/android/java_bitmap.cc using base::android::AttachCurrentThread; base 55 ui/gfx/android/java_bitmap.h GFX_EXPORT base::android::ScopedJavaLocalRef<jobject> CreateJavaBitmap( base 64 ui/gfx/android/java_bitmap.h GFX_EXPORT base::android::ScopedJavaLocalRef<jobject> base 70 ui/gfx/android/java_bitmap.h GFX_EXPORT base::android::ScopedJavaLocalRef<jobject> ConvertToJavaBitmap( base 150 ui/gfx/android/scroller.cc base::LazyInstance<ViscosityConstants>::Leaky g_viscosity_constants = base 153 ui/gfx/android/scroller.cc base::LazyInstance<SplineConstants>::Leaky g_spline_constants = base 194 ui/gfx/android/scroller.cc base::TimeTicks start_time) { base 200 ui/gfx/android/scroller.cc base::TimeDelta::FromMilliseconds(kDefaultDurationMs)); base 207 ui/gfx/android/scroller.cc base::TimeTicks start_time, base 208 ui/gfx/android/scroller.cc base::TimeDelta duration) { base 230 ui/gfx/android/scroller.cc base::TimeTicks start_time) { base 275 ui/gfx/android/scroller.cc bool Scroller::ComputeScrollOffset(base::TimeTicks time) { base 282 ui/gfx/android/scroller.cc base::TimeDelta time_passed = time - start_time_; base 284 ui/gfx/android/scroller.cc if (time_passed < base::TimeDelta()) { base 285 ui/gfx/android/scroller.cc time_passed = base::TimeDelta(); base 336 ui/gfx/android/scroller.cc void Scroller::ExtendDuration(base::TimeDelta extend) { base 337 ui/gfx/android/scroller.cc base::TimeDelta passed = GetTimePassed(); base 367 ui/gfx/android/scroller.cc base::TimeDelta Scroller::GetTimePassed() const { base 371 ui/gfx/android/scroller.cc base::TimeDelta Scroller::GetDuration() const { return duration_; } base 424 ui/gfx/android/scroller.cc base::TimeDelta Scroller::GetSplineFlingDuration(float velocity) const { base 428 ui/gfx/android/scroller.cc return base::TimeDelta::FromMicroseconds(time_seconds * base 429 ui/gfx/android/scroller.cc base::Time::kMicrosecondsPerSecond); base 37 ui/gfx/android/scroller.h base::TimeTicks start_time); base 45 ui/gfx/android/scroller.h base::TimeTicks start_time, base 46 ui/gfx/android/scroller.h base::TimeDelta duration); base 58 ui/gfx/android/scroller.h base::TimeTicks start_time); base 62 ui/gfx/android/scroller.h bool ComputeScrollOffset(base::TimeTicks time); base 66 ui/gfx/android/scroller.h void ExtendDuration(base::TimeDelta extend); base 81 ui/gfx/android/scroller.h base::TimeDelta GetTimePassed() const; base 84 ui/gfx/android/scroller.h base::TimeDelta GetDuration() const; base 109 ui/gfx/android/scroller.h base::TimeDelta GetSplineFlingDuration(float velocity) const; base 126 ui/gfx/android/scroller.h base::TimeTicks start_time_; base 127 ui/gfx/android/scroller.h base::TimeTicks curr_time_; base 128 ui/gfx/android/scroller.h base::TimeDelta duration_; base 31 ui/gfx/android/scroller_unittest.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 47 ui/gfx/android/scroller_unittest.cc EXPECT_EQ(base::TimeDelta(), scroller.GetTimePassed()); base 50 ui/gfx/android/scroller_unittest.cc const base::TimeDelta scroll_duration = scroller.GetDuration(); base 97 ui/gfx/android/scroller_unittest.cc base::TimeTicks start_time = base::TimeTicks::Now(); base 117 ui/gfx/android/scroller_unittest.cc EXPECT_EQ(base::TimeDelta(), scroller.GetTimePassed()); base 120 ui/gfx/android/scroller_unittest.cc const base::TimeDelta scroll_duration = scroller.GetDuration(); base 38 ui/gfx/android/shared_device_display_info.cc base::AutoLock autolock(lock_); base 44 ui/gfx/android/shared_device_display_info.cc base::AutoLock autolock(lock_); base 50 ui/gfx/android/shared_device_display_info.cc base::AutoLock autolock(lock_); base 55 ui/gfx/android/shared_device_display_info.cc base::AutoLock autolock(lock_); base 60 ui/gfx/android/shared_device_display_info.cc base::AutoLock autolock(lock_); base 66 ui/gfx/android/shared_device_display_info.cc base::AutoLock autolock(lock_); base 72 ui/gfx/android/shared_device_display_info.cc base::AutoLock autolock(lock_); base 78 ui/gfx/android/shared_device_display_info.cc base::AutoLock autolock(lock_); base 98 ui/gfx/android/shared_device_display_info.cc base::AutoLock autolock(lock_); base 114 ui/gfx/android/shared_device_display_info.cc JNIEnv* env = base::android::AttachCurrentThread(); base 117 ui/gfx/android/shared_device_display_info.cc env, base::android::GetApplicationContext())); base 60 ui/gfx/android/shared_device_display_info.h base::Lock lock_; base 61 ui/gfx/android/shared_device_display_info.h base::android::ScopedJavaGlobalRef<jobject> j_device_info_; base 12 ui/gfx/android/view_configuration.cc using base::android::AttachCurrentThread; base 13 ui/gfx/android/view_configuration.cc using base::android::GetApplicationContext; base 34 ui/gfx/android/view_configuration.cc env, base::android::GetApplicationContext())); base 61 ui/gfx/android/view_configuration.cc base::AutoLock autolock(lock_); base 76 ui/gfx/android/view_configuration.cc base::AutoLock autolock(lock_); base 81 ui/gfx/android/view_configuration.cc base::AutoLock autolock(lock_); base 86 ui/gfx/android/view_configuration.cc base::AutoLock autolock(lock_); base 91 ui/gfx/android/view_configuration.cc base::AutoLock autolock(lock_); base 96 ui/gfx/android/view_configuration.cc base::AutoLock autolock(lock_); base 101 ui/gfx/android/view_configuration.cc base::AutoLock autolock(lock_); base 121 ui/gfx/android/view_configuration.cc base::Lock lock_; base 122 ui/gfx/android/view_configuration.cc base::android::ScopedJavaGlobalRef<jobject> j_view_configuration_helper_; base 145 ui/gfx/android/view_configuration.cc base::LazyInstance<ViewConfigurationData>::Leaky g_view_configuration = base 18 ui/gfx/animation/animation.cc Animation::Animation(base::TimeDelta timer_interval) base 97 ui/gfx/animation/animation.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 118 ui/gfx/animation/animation.cc void Animation::SetStartTime(base::TimeTicks start_time) { base 122 ui/gfx/animation/animation.cc base::TimeDelta Animation::GetTimerInterval() const { base 30 ui/gfx/animation/animation.h explicit Animation(base::TimeDelta timer_interval); base 59 ui/gfx/animation/animation.h base::TimeDelta timer_interval() const { return timer_interval_; } base 80 ui/gfx/animation/animation.h base::TimeTicks start_time() const { return start_time_; } base 84 ui/gfx/animation/animation.h virtual void SetStartTime(base::TimeTicks start_time) OVERRIDE; base 85 ui/gfx/animation/animation.h virtual void Step(base::TimeTicks time_now) = 0; base 86 ui/gfx/animation/animation.h virtual base::TimeDelta GetTimerInterval() const OVERRIDE; base 90 ui/gfx/animation/animation.h const base::TimeDelta timer_interval_; base 102 ui/gfx/animation/animation.h base::TimeTicks start_time_; base 11 ui/gfx/animation/animation_container.cc using base::TimeDelta; base 12 ui/gfx/animation/animation_container.cc using base::TimeTicks; base 84 ui/gfx/animation/animation_container.cc void AnimationContainer::SetMinTimerInterval(base::TimeDelta delta) { base 29 ui/gfx/animation/animation_container.h : public base::RefCounted<AnimationContainer> { base 49 ui/gfx/animation/animation_container.h base::TimeTicks last_tick_time() const { return last_tick_time_; } base 55 ui/gfx/animation/animation_container.h friend class base::RefCounted<AnimationContainer>; base 65 ui/gfx/animation/animation_container.h void SetMinTimerInterval(base::TimeDelta delta); base 68 ui/gfx/animation/animation_container.h base::TimeDelta GetMinInterval(); base 74 ui/gfx/animation/animation_container.h base::TimeTicks last_tick_time_; base 80 ui/gfx/animation/animation_container.h base::TimeDelta min_timer_interval_; base 82 ui/gfx/animation/animation_container.h base::RepeatingTimer<AnimationContainer> timer_; base 19 ui/gfx/animation/animation_container_element.h virtual void SetStartTime(base::TimeTicks start_time) = 0; base 22 ui/gfx/animation/animation_container_element.h virtual void Step(base::TimeTicks time_now) = 0; base 26 ui/gfx/animation/animation_container_element.h virtual base::TimeDelta GetTimerInterval() const = 0; base 61 ui/gfx/animation/animation_container_unittest.cc base::MessageLoopForUI message_loop_; base 98 ui/gfx/animation/animation_container_unittest.cc base::MessageLoop::current()->Run(); base 123 ui/gfx/animation/animation_container_unittest.cc base::MessageLoop::current()->Run(); base 18 ui/gfx/animation/animation_unittest.cc base::MessageLoopForUI message_loop_; base 76 ui/gfx/animation/animation_unittest.cc base::MessageLoop::current()->Quit(); base 90 ui/gfx/animation/animation_unittest.cc base::MessageLoop::current()->Run(); base 100 ui/gfx/animation/animation_unittest.cc base::MessageLoop::current()->Run(); base 112 ui/gfx/animation/animation_unittest.cc base::MessageLoop::current()->Run(); base 123 ui/gfx/animation/animation_unittest.cc base::MessageLoop::current()->Run(); base 129 ui/gfx/animation/animation_unittest.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 12 ui/gfx/animation/linear_animation.cc using base::Time; base 13 ui/gfx/animation/linear_animation.cc using base::TimeDelta; base 50 ui/gfx/animation/linear_animation.cc base::TimeDelta time_delta = base::TimeDelta::FromMicroseconds( base 74 ui/gfx/animation/linear_animation.cc void LinearAnimation::Step(base::TimeTicks time_now) { base 53 ui/gfx/animation/linear_animation.h virtual void Step(base::TimeTicks time_now) OVERRIDE; base 65 ui/gfx/animation/linear_animation.h base::TimeDelta duration_; base 25 ui/gfx/animation/multi_animation.cc base::TimeDelta timer_interval) base 38 ui/gfx/animation/multi_animation.cc base::TimeDelta MultiAnimation::GetDefaultTimerInterval() { base 39 ui/gfx/animation/multi_animation.cc return base::TimeDelta::FromMilliseconds(kDefaultTimerInterval); base 46 ui/gfx/animation/multi_animation.cc void MultiAnimation::Step(base::TimeTicks time_now) { base 70 ui/gfx/animation/multi_animation.cc void MultiAnimation::SetStartTime(base::TimeTicks start_time) { base 48 ui/gfx/animation/multi_animation.h MultiAnimation(const Parts& parts, base::TimeDelta timer_interval); base 52 ui/gfx/animation/multi_animation.h static base::TimeDelta GetDefaultTimerInterval(); base 67 ui/gfx/animation/multi_animation.h virtual void Step(base::TimeTicks time_now) OVERRIDE; base 68 ui/gfx/animation/multi_animation.h virtual void SetStartTime(base::TimeTicks start_time) OVERRIDE; base 21 ui/gfx/animation/multi_animation_unittest.cc as_element->SetStartTime(base::TimeTicks()); base 24 ui/gfx/animation/multi_animation_unittest.cc as_element->Step(base::TimeTicks() + base::TimeDelta::FromMilliseconds(50)); base 28 ui/gfx/animation/multi_animation_unittest.cc as_element->Step(base::TimeTicks() + base 29 ui/gfx/animation/multi_animation_unittest.cc base::TimeDelta::FromMilliseconds(120)); base 34 ui/gfx/animation/multi_animation_unittest.cc as_element->Step(base::TimeTicks() + base 35 ui/gfx/animation/multi_animation_unittest.cc base::TimeDelta::FromMilliseconds(320)); base 50 ui/gfx/animation/multi_animation_unittest.cc as_element->SetStartTime(base::TimeTicks()); base 54 ui/gfx/animation/multi_animation_unittest.cc as_element->Step(base::TimeTicks()); base 58 ui/gfx/animation/multi_animation_unittest.cc as_element->Step(base::TimeTicks() + base::TimeDelta::FromMilliseconds(100)); base 69 ui/gfx/animation/multi_animation_unittest.cc as_element->SetStartTime(base::TimeTicks()); base 73 ui/gfx/animation/multi_animation_unittest.cc as_element->Step(base::TimeTicks() + base::TimeDelta::FromMilliseconds(300)); base 85 ui/gfx/animation/multi_animation_unittest.cc as_element->SetStartTime(base::TimeTicks()); base 88 ui/gfx/animation/multi_animation_unittest.cc as_element->Step(base::TimeTicks() + base::TimeDelta::FromMilliseconds(300)); base 19 ui/gfx/animation/slide_animation_unittest.cc void SetStartTime(base::TimeTicks ticks) { base 23 ui/gfx/animation/slide_animation_unittest.cc void Step(base::TimeTicks ticks) { base 37 ui/gfx/animation/slide_animation_unittest.cc base::MessageLoopForUI message_loop_; base 72 ui/gfx/animation/slide_animation_unittest.cc test_api.SetStartTime(base::TimeTicks()); base 73 ui/gfx/animation/slide_animation_unittest.cc test_api.Step(base::TimeTicks() + base::TimeDelta::FromMilliseconds(50)); base 22 ui/gfx/animation/test_animation_delegate.h base::MessageLoop::current()->Quit(); base 28 ui/gfx/animation/test_animation_delegate.h base::MessageLoop::current()->Quit(); base 60 ui/gfx/animation/throb_animation.cc void ThrobAnimation::Step(base::TimeTicks time_now) { base 46 ui/gfx/animation/throb_animation.h virtual void Step(base::TimeTicks time_now) OVERRIDE; base 76 ui/gfx/blit.cc base::ScopedCFTypeRef<CGImageRef> src_image( base 78 ui/gfx/blit.cc base::ScopedCFTypeRef<CGImageRef> src_sub_image( base 144 ui/gfx/blit_unittest.cc base::SharedMemory shared_mem; base 146 ui/gfx/blit_unittest.cc base::SharedMemoryHandle section = shared_mem.handle(); base 86 ui/gfx/canvas.cc void Canvas::SizeStringInt(const base::string16& text, base 101 ui/gfx/canvas.cc int Canvas::GetStringWidth(const base::string16& text, base 109 ui/gfx/canvas.cc float Canvas::GetStringWidthF(const base::string16& text, base 118 ui/gfx/canvas.cc return base::i18n::IsRTL() ? TEXT_ALIGN_RIGHT : TEXT_ALIGN_LEFT; base 460 ui/gfx/canvas.cc void Canvas::DrawStringRect(const base::string16& text, base 468 ui/gfx/canvas.cc void Canvas::DrawStringRectWithFlags(const base::string16& text, base 126 ui/gfx/canvas.h static void SizeStringInt(const base::string16& text, base 135 ui/gfx/canvas.h static void SizeStringFloat(const base::string16& text, base 144 ui/gfx/canvas.h static int GetStringWidth(const base::string16& text, base 152 ui/gfx/canvas.h static float GetStringWidthF(const base::string16& text, base 173 ui/gfx/canvas.h void DrawStringRectWithHalo(const base::string16& text, base 336 ui/gfx/canvas.h void DrawStringRect(const base::string16& text, base 344 ui/gfx/canvas.h void DrawStringRectWithFlags(const base::string16& text, base 353 ui/gfx/canvas.h void DrawStringRectWithShadows(const base::string16& text, base 406 ui/gfx/canvas.h const base::string16& text, base 412 ui/gfx/canvas.h const base::string16& text, base 12 ui/gfx/canvas_android.cc void Canvas::SizeStringFloat(const base::string16& text, base 21 ui/gfx/canvas_android.cc void Canvas::DrawStringRectWithHalo(const base::string16& text, base 30 ui/gfx/canvas_android.cc void Canvas::DrawStringRectWithShadows(const base::string16& text, base 28 ui/gfx/canvas_skia.cc bool AdjustStringDirection(int flags, base::string16* text) { base 38 ui/gfx/canvas_skia.cc base::i18n::WrapStringWithRTLFormatting(text); base 44 ui/gfx/canvas_skia.cc if (base::i18n::IsRTL() && base::i18n::StringContainsStrongRTLChars(*text)) { base 45 ui/gfx/canvas_skia.cc base::i18n::WrapStringWithRTLFormatting(text); base 89 ui/gfx/canvas_skia.cc Range StripAcceleratorChars(int flags, base::string16* text) { base 104 ui/gfx/canvas_skia.cc base::string16* text, base 106 ui/gfx/canvas_skia.cc const base::char16 start_char = base 119 ui/gfx/canvas_skia.cc const base::string16& text, base 160 ui/gfx/canvas_skia.cc void Canvas::SizeStringFloat(const base::string16& text, base 168 ui/gfx/canvas_skia.cc base::string16 adjusted_text = text; base 181 ui/gfx/canvas_skia.cc std::vector<base::string16> strings; base 186 ui/gfx/canvas_skia.cc UpdateRenderText(rect, base::string16(), font_list, flags, 0, base 220 ui/gfx/canvas_skia.cc void Canvas::DrawStringRectWithShadows(const base::string16& text, base 237 ui/gfx/canvas_skia.cc base::string16 adjusted_text = text; base 253 ui/gfx/canvas_skia.cc std::vector<base::string16> strings; base 296 ui/gfx/canvas_skia.cc if (render_text->GetTextDirection() == base::i18n::LEFT_TO_RIGHT) { base 326 ui/gfx/canvas_skia.cc void Canvas::DrawStringRectWithHalo(const base::string16& text, base 375 ui/gfx/canvas_skia.cc const base::string16& text, base 385 ui/gfx/canvas_skia.cc const base::string16& text, base 398 ui/gfx/canvas_skia.cc const bool is_rtl = base::i18n::GetFirstStrongCharacterDirection(text) == base 399 ui/gfx/canvas_skia.cc base::i18n::RIGHT_TO_LEFT; base 18 ui/gfx/canvas_unittest.cc return Canvas::GetStringWidth(base::UTF8ToUTF16(text), font_list_); base 22 ui/gfx/canvas_unittest.cc base::string16 text16 = base::UTF8ToUTF16(text); base 25 ui/gfx/canvas_unittest.cc (text16.find('\n') != base::string16::npos) ? Canvas::MULTI_LINE : 0; base 301 ui/gfx/codec/png_codec.cc unsigned char* base = NULL; base 303 ui/gfx/codec/png_codec.cc base = reinterpret_cast<unsigned char*>(state->bitmap->getAddr32(0, 0)); base 305 ui/gfx/codec/png_codec.cc base = &state->output->front(); base 307 ui/gfx/codec/png_codec.cc unsigned char* dest = &base[state->width * state->output_channels * row_num]; base 549 ui/gfx/codec/png_codec.cc png_text_[pos].key = base::strdup(comment.key.substr(0, 78).c_str()); base 550 ui/gfx/codec/png_codec.cc png_text_[pos].text = base::strdup(comment.text.c_str()); base 358 ui/gfx/color_analysis.cc SkColor CalculateKMeanColorOfPNG(scoped_refptr<base::RefCountedMemory> png, base 93 ui/gfx/color_analysis.h scoped_refptr<base::RefCountedMemory> png, base 159 ui/gfx/color_analysis_unittest.cc scoped_refptr<base::RefCountedBytes> png( base 160 ui/gfx/color_analysis_unittest.cc new base::RefCountedBytes( base 177 ui/gfx/color_analysis_unittest.cc scoped_refptr<base::RefCountedBytes> png( base 178 ui/gfx/color_analysis_unittest.cc new base::RefCountedBytes( base 195 ui/gfx/color_analysis_unittest.cc scoped_refptr<base::RefCountedBytes> png( base 196 ui/gfx/color_analysis_unittest.cc new base::RefCountedBytes( base 12 ui/gfx/color_profile_mac.cc CGColorSpaceRef monitor_color_space(base::mac::GetSystemColorSpace()); base 13 ui/gfx/color_profile_mac.cc base::ScopedCFTypeRef<CFDataRef> icc_profile( base 24 ui/gfx/color_profile_win.cc if (!base::ReadFileToString(base::FilePath(path), &profileData)) base 32 ui/gfx/display.cc if (!base::StringToDouble(value, &scale_in_double)) base 136 ui/gfx/display.cc return base::StringPrintf( base 25 ui/gfx/font_fallback_win.cc base::win::RegistryValueIterator it(HKEY_LOCAL_MACHINE, kFonts); base 28 ui/gfx/font_fallback_win.cc StringToLowerASCII(base::WideToUTF8(it.Value())); base 29 ui/gfx/font_fallback_win.cc (*map)[filename] = base::WideToUTF8(it.Name()); base 52 ui/gfx/font_fallback_win.cc return text.find_first_not_of("0123456789") == base::string16::npos; base 69 ui/gfx/font_fallback_win.cc base::win::RegKey key; base 73 ui/gfx/font_fallback_win.cc const std::wstring original_font_name = base::UTF8ToWide(font.GetFontName()); base 84 ui/gfx/font_fallback_win.cc base::WideToUTF8(values[i]), &filename, &font_name); base 160 ui/gfx/font_fallback_win.cc base::SplitString(entry, ',', &parts); base 178 ui/gfx/font_fallback_win.cc base::SplitString(family, '&', font_names); base 183 ui/gfx/font_fallback_win.cc base::TrimWhitespace(font_names->back(), base::TRIM_TRAILING, base 14 ui/gfx/font_list.cc base::LazyInstance<std::string>::Leaky g_default_font_description = base 18 ui/gfx/font_list.cc base::LazyInstance<scoped_refptr<gfx::FontListImpl> >::Leaky g_default_impl = base 22 ui/gfx/font_list_impl.cc base::SplitString(font_description_string, ',', font_names); base 27 ui/gfx/font_list_impl.cc base::SplitString(font_names->back(), ' ', &styles_size); base 29 ui/gfx/font_list_impl.cc base::StringToInt(styles_size.back(), font_size); base 56 ui/gfx/font_list_impl.cc result += base::IntToString(font_size); base 29 ui/gfx/font_list_impl.h class FontListImpl : public base::RefCounted<FontListImpl> { base 88 ui/gfx/font_list_impl.h friend class base::RefCounted<FontListImpl>; base 21 ui/gfx/font_list_unittest.cc font_string += base::IntToString(font.GetFontSize()); base 17 ui/gfx/frame_time.h static base::TimeTicks Now() { base 19 ui/gfx/frame_time.h return base::TimeTicks::HighResNow(); base 20 ui/gfx/frame_time.h return base::TimeTicks::Now(); base 24 ui/gfx/frame_time.h static base::TimeTicks FromQPCValue(LONGLONG qpc_value) { base 26 ui/gfx/frame_time.h return base::TimeTicks::FromQPCValue(qpc_value); base 15 ui/gfx/geometry/box_f.cc return base::StringPrintf("%s %fx%fx%f", base 35 ui/gfx/geometry/insets.cc return base::StringPrintf("%d,%d,%d,%d", top(), left(), bottom(), right()); base 22 ui/gfx/geometry/insets_f.cc return base::StringPrintf("%f,%f,%f,%f", top(), left(), bottom(), right()); base 51 ui/gfx/geometry/point.cc return base::StringPrintf("%d,%d", x(), y()); base 12 ui/gfx/geometry/point3_f.cc return base::StringPrintf("%f,%f,%f", x_, y_, z_); base 14 ui/gfx/geometry/point_f.cc return base::StringPrintf("%f,%f", x(), y()); base 21 ui/gfx/geometry/quad_f.cc return base::StringPrintf("%s;%s;%s;%s", base 67 ui/gfx/geometry/rect.cc return base::StringPrintf("%s %s", base 29 ui/gfx/geometry/rect_f.cc return base::StringPrintf("%s %s", base 43 ui/gfx/geometry/size.cc return base::StringPrintf("%dx%d", width(), height()); base 14 ui/gfx/geometry/size_f.cc return base::StringPrintf("%fx%f", width(), height()); base 36 ui/gfx/geometry/vector2d.cc return base::StringPrintf("[%d %d]", x_, y_); base 14 ui/gfx/geometry/vector2d_f.cc return base::StringPrintf("[%f %f]", x_, y_); base 32 ui/gfx/geometry/vector3d_f.cc return base::StringPrintf("[%f %f %f]", x_, y_, z_); base 14 ui/gfx/gfx_paths.cc bool PathProvider(int key, base::FilePath* result) { base 15 ui/gfx/gfx_paths.cc base::FilePath cur; base 21 ui/gfx/gfx_paths.cc if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur)) base 27 ui/gfx/gfx_paths.cc if (!base::PathExists(cur)) // we don't want to create this base 40 ui/gfx/gpu_memory_buffer.h handle(base::SharedMemory::NULLHandle()) base 53 ui/gfx/gpu_memory_buffer.h base::SharedMemoryHandle handle; base 57 ui/gfx/gtk_native_view_id_manager.cc base::AutoLock locked(lock_); base 66 ui/gfx/gtk_native_view_id_manager.cc static_cast<gfx::NativeViewId>(base::RandUint64()); base 68 ui/gfx/gtk_native_view_id_manager.cc new_id = static_cast<gfx::NativeViewId>(base::RandUint64()); base 89 ui/gfx/gtk_native_view_id_manager.cc base::AutoLock locked(lock_); base 103 ui/gfx/gtk_native_view_id_manager.cc base::AutoLock locked(lock_); base 117 ui/gfx/gtk_native_view_id_manager.cc base::AutoLock locked(lock_); base 150 ui/gfx/gtk_native_view_id_manager.cc base::AutoLock locked(lock_); base 164 ui/gfx/gtk_native_view_id_manager.cc base::AutoLock locked(lock_); base 204 ui/gfx/gtk_native_view_id_manager.cc base::AutoLock locked(lock_); base 218 ui/gfx/gtk_native_view_id_manager.cc base::AutoLock locked(lock_); base 228 ui/gfx/gtk_native_view_id_manager.cc base::AutoLock locked(lock_); base 108 ui/gfx/gtk_native_view_id_manager.h base::Lock lock_; base 174 ui/gfx/gtk_util.cc base::TimeDelta GetCursorBlinkCycle() { base 186 ui/gfx/gtk_util.cc base::TimeDelta::FromMilliseconds(cursor_blink_time) : base 187 ui/gfx/gtk_util.cc base::TimeDelta(); base 19 ui/gfx/gtk_util.h namespace base { base 30 ui/gfx/gtk_util.h GFX_EXPORT void GtkInitFromCommandLine(const base::CommandLine& command_line); base 31 ui/gfx/gtk_util.h GFX_EXPORT void GdkInitFromCommandLine(const base::CommandLine& command_line); base 51 ui/gfx/gtk_util.h GFX_EXPORT base::TimeDelta GetCursorBlinkCycle(); base 103 ui/gfx/icon_util.cc scoped_refptr<base::RefCountedMemory>* png_bytes) { base 262 ui/gfx/icon_util.cc if (!base::win::GetResourceFromModule(module, resource_id, RT_GROUP_ICON, base 286 ui/gfx/icon_util.cc if (!base::win::GetResourceFromModule(module, large_icon_entry->nID, RT_ICON, base 294 ui/gfx/icon_util.cc new base::RefCountedStaticMemory(png_data, png_size)); base 326 ui/gfx/icon_util.cc base::win::ScopedGetDC dc(NULL); base 327 ui/gfx/icon_util.cc base::win::ScopedCreateDC working_dc(CreateCompatibleDC(dc)); base 328 ui/gfx/icon_util.cc base::win::ScopedGDIObject<HBITMAP> bitmap_handle( base 350 ui/gfx/icon_util.cc base::win::ScopedGDIObject<HBITMAP> mask( base 450 ui/gfx/icon_util.cc const base::FilePath& icon_path) { base 459 ui/gfx/icon_util.cc scoped_refptr<base::RefCountedMemory> png_bytes; base 515 ui/gfx/icon_util.cc return base::ImportantFileWriter::WriteFileAtomically(icon_path, data); base 19 ui/gfx/icon_util.h namespace base { base 130 ui/gfx/icon_util.h const base::FilePath& icon_path); base 41 ui/gfx/icon_util_unittest.cc HICON LoadIconFromFile(const base::FilePath& filename, base 63 ui/gfx/icon_util_unittest.cc void CheckAllIconSizes(const base::FilePath& icon_filename, base 68 ui/gfx/icon_util_unittest.cc base::FilePath test_data_directory_; base 71 ui/gfx/icon_util_unittest.cc base::ScopedTempDir temp_directory_; base 74 ui/gfx/icon_util_unittest.cc void IconUtilTest::CheckAllIconSizes(const base::FilePath& icon_filename, base 76 ui/gfx/icon_util_unittest.cc ASSERT_TRUE(base::PathExists(icon_filename)); base 95 ui/gfx/icon_util_unittest.cc ASSERT_TRUE(base::ReadFileToString(icon_filename, &icon_data)); base 142 ui/gfx/icon_util_unittest.cc base::FilePath icon_filename = base 200 ui/gfx/icon_util_unittest.cc base::FilePath valid_icon_filename = temp_directory_.path().AppendASCII( base 202 ui/gfx/icon_util_unittest.cc base::FilePath invalid_icon_filename = temp_directory_.path().AppendASCII( base 216 ui/gfx/icon_util_unittest.cc EXPECT_FALSE(base::PathExists(valid_icon_filename)); base 227 ui/gfx/icon_util_unittest.cc EXPECT_FALSE(base::PathExists(valid_icon_filename)); base 238 ui/gfx/icon_util_unittest.cc EXPECT_FALSE(base::PathExists(valid_icon_filename)); base 248 ui/gfx/icon_util_unittest.cc EXPECT_FALSE(base::PathExists(invalid_icon_filename)); base 254 ui/gfx/icon_util_unittest.cc base::FilePath icon_filename = temp_directory_.path().AppendASCII( base 260 ui/gfx/icon_util_unittest.cc EXPECT_FALSE(base::PathExists(icon_filename)); base 267 ui/gfx/icon_util_unittest.cc EXPECT_FALSE(base::PathExists(icon_filename)); base 274 ui/gfx/icon_util_unittest.cc base::FilePath small_icon_filename = test_data_directory_.AppendASCII( base 288 ui/gfx/icon_util_unittest.cc base::FilePath large_icon_filename = test_data_directory_.AppendASCII( base 346 ui/gfx/icon_util_unittest.cc base::FilePath icon_filename = base 66 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> png_bytes(NULL); base 100 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> Get1xPNGBytesFromPixbuf( base 107 ui/gfx/image/image.cc scoped_refptr<base::RefCountedBytes> png_bytes( base 108 ui/gfx/image/image.cc new base::RefCountedBytes()); base 117 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> Get1xPNGBytesFromUIImage( base 124 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> Get1xPNGBytesFromNSImage( base 135 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> Get1xPNGBytesFromImageSkia( base 155 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> raw_data = base 172 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> Get1xPNGBytesFromImageSkia( base 176 ui/gfx/image/image.cc scoped_refptr<base::RefCountedBytes> png_bytes(new base::RefCountedBytes()); base 410 ui/gfx/image/image.cc base::mac::NSObjectRelease(image_); base 443 ui/gfx/image/image.cc base::mac::NSObjectRelease(image_); base 471 ui/gfx/image/image.cc class ImageStorage : public base::RefCounted<ImageStorage> { base 477 ui/gfx/image/image.cc base::mac::GetGenericRGBColorSpace()), base 603 ui/gfx/image/image.cc scoped_refptr<base::RefCountedBytes> raw_data(new base::RefCountedBytes()); base 610 ui/gfx/image/image.cc const scoped_refptr<base::RefCountedMemory>& input) { base 727 ui/gfx/image/image.cc base::mac::NSObjectRetain(image); base 759 ui/gfx/image/image.cc base::mac::NSObjectRetain(image); base 773 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> Image::As1xPNGBytes() const { base 775 ui/gfx/image/image.cc return new base::RefCountedBytes(); base 786 ui/gfx/image/image.cc return new base::RefCountedBytes(); base 789 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> png_bytes(NULL); base 828 ui/gfx/image/image.cc return new base::RefCountedBytes(); base 858 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> Image::Copy1xPNGBytes() const { base 859 ui/gfx/image/image.cc scoped_refptr<base::RefCountedMemory> original = As1xPNGBytes(); base 860 ui/gfx/image/image.cc scoped_refptr<base::RefCountedBytes> copy(new base::RefCountedBytes()); base 884 ui/gfx/image/image.cc base::mac::NSObjectRetain(image); base 890 ui/gfx/image/image.cc base::mac::NSObjectRetain(image); base 118 ui/gfx/image/image.h const scoped_refptr<base::RefCountedMemory>& input); base 138 ui/gfx/image/image.h scoped_refptr<base::RefCountedMemory> As1xPNGBytes() const; base 158 ui/gfx/image/image.h scoped_refptr<base::RefCountedMemory> Copy1xPNGBytes() const; base 19 ui/gfx/image/image_png_rep.cc ImagePNGRep::ImagePNGRep(const scoped_refptr<base::RefCountedMemory>& data, base 19 ui/gfx/image/image_png_rep.h ImagePNGRep(const scoped_refptr<base::RefCountedMemory>& data, base 29 ui/gfx/image/image_png_rep.h scoped_refptr<base::RefCountedMemory> raw_data; base 56 ui/gfx/image/image_skia.cc class ImageSkiaStorage : public base::RefCountedThreadSafe<ImageSkiaStorage>, base 57 ui/gfx/image/image_skia.cc public base::NonThreadSafe { base 92 ui/gfx/image/image_skia.cc base::NonThreadSafe::DetachFromThread(); base 80 ui/gfx/image/image_skia_unittest.cc class TestOnThread : public base::SimpleThread { base 114 ui/gfx/image/image_unittest.cc new base::RefCountedBytes(), 1.0f)); base 166 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> png_bytes = image.As1xPNGBytes(); base 180 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> png_bytes1 = image1.As1xPNGBytes(); base 191 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> png_bytes2 = image2.As1xPNGBytes(); base 202 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> bytes1x = gt::CreatePNGBytes(kSize1x); base 237 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> bytes1x = gt::CreatePNGBytes(kSize1x); base 238 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> bytes2x = gt::CreatePNGBytes(kSize2x); base 261 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> bytes1x = gt::CreatePNGBytes(kSize1x); base 262 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> bytes2x = gt::CreatePNGBytes(kSize2x); base 287 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> png_data = image.As1xPNGBytes(); base 306 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> png_bytes = base 322 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedMemory> png_bytes = base 332 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedBytes> invalid_bytes( base 333 ui/gfx/image/image_unittest.cc new base::RefCountedBytes()); base 343 ui/gfx/image/image_unittest.cc scoped_refptr<base::RefCountedBytes> invalid_bytes( base 344 ui/gfx/image/image_unittest.cc new base::RefCountedBytes()); base 470 ui/gfx/image/image_unittest.cc base::mac::NSObjectRelease(ui_image); base 482 ui/gfx/image/image_unittest.cc base::mac::NSObjectRelease(ns_image); base 70 ui/gfx/image/image_unittest_util.cc scoped_refptr<base::RefCountedMemory> CreatePNGBytes(int edge_size) { base 72 ui/gfx/image/image_unittest_util.cc scoped_refptr<base::RefCountedBytes> bytes(new base::RefCountedBytes()); base 128 ui/gfx/image/image_unittest_util.cc bool IsEqual(const scoped_refptr<base::RefCountedMemory>& bytes, base 185 ui/gfx/image/image_unittest_util.cc base::ScopedCFTypeRef<CGColorSpaceRef> color_space( base 189 ui/gfx/image/image_unittest_util.cc base::mac::NSObjectRetain(image); base 193 ui/gfx/image/image_unittest_util.cc base::mac::NSObjectRetain(image); base 37 ui/gfx/image/image_unittest_util.h scoped_refptr<base::RefCountedMemory> CreatePNGBytes(int edge_size); base 49 ui/gfx/image/image_unittest_util.h bool IsEqual(const scoped_refptr<base::RefCountedMemory>& bytes, base 262 ui/gfx/ozone/dri/dri_surface_factory.cc CHECK(base::MessageLoopForUI::IsCurrent()); base 229 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 237 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc message_loop_.reset(new base::MessageLoopForUI); base 23 ui/gfx/ozone/dri/dri_vsync_provider.cc base::TimeTicks timebase = base 24 ui/gfx/ozone/dri/dri_vsync_provider.cc base::TimeTicks::FromInternalValue(controller_->get_time_of_last_flip()); base 26 ui/gfx/ozone/dri/dri_vsync_provider.cc base::TimeDelta interval = base 27 ui/gfx/ozone/dri/dri_vsync_provider.cc base::TimeDelta::FromSeconds(1) / controller_->get_mode().vrefresh; base 130 ui/gfx/ozone/dri/hardware_display_controller.cc static_cast<uint64_t>(seconds) * base::Time::kMicrosecondsPerSecond + base 23 ui/gfx/ozone/impl/file_surface_factory.cc void WriteDataToFile(const base::FilePath& location, base 27 ui/gfx/ozone/impl/file_surface_factory.cc base::WriteFile(location, base 34 ui/gfx/ozone/impl/file_surface_factory.cc FileSurface(const base::FilePath& location) : location_(location) {} base 55 ui/gfx/ozone/impl/file_surface_factory.cc base::WorkerPool::PostTask( base 56 ui/gfx/ozone/impl/file_surface_factory.cc FROM_HERE, base::Bind(&WriteDataToFile, location_, bitmap), true); base 62 ui/gfx/ozone/impl/file_surface_factory.cc base::FilePath location_; base 70 ui/gfx/ozone/impl/file_surface_factory.cc const base::FilePath& dump_location) base 72 ui/gfx/ozone/impl/file_surface_factory.cc CHECK(!base::DirectoryExists(location_)) base 74 ui/gfx/ozone/impl/file_surface_factory.cc CHECK(!base::PathExists(location_) || base::PathIsWritable(location_)); base 20 ui/gfx/ozone/impl/file_surface_factory.h explicit FileSurfaceFactory(const base::FilePath& dump_location); base 34 ui/gfx/ozone/impl/file_surface_factory.h base::FilePath location_; base 73 ui/gfx/ozone/surface_factory_ozone.h typedef base::Callback<void(base::NativeLibrary)> AddGLLibraryCallback; base 74 ui/gfx/ozone/surface_factory_ozone.h typedef base::Callback<void(GLGetProcAddressProc)> base 142 ui/gfx/pango_util.cc const base::string16& text, base 144 ui/gfx/pango_util.cc base::i18n::TextDirection text_direction, base 172 ui/gfx/pango_util.cc (text_direction == base::i18n::RIGHT_TO_LEFT ? base 193 ui/gfx/pango_util.cc } else if (text_direction == base::i18n::RIGHT_TO_LEFT) { base 214 ui/gfx/pango_util.cc std::string utf8 = base::UTF16ToUTF8(text); base 228 ui/gfx/pango_util.cc base::string16 accelerator_removed = base 230 ui/gfx/pango_util.cc static_cast<base::char16>(kAcceleratorChar), base 232 ui/gfx/pango_util.cc utf8 = base::UTF16ToUTF8(accelerator_removed); base 234 ui/gfx/pango_util.cc utf8 = base::UTF16ToUTF8(text); base 242 ui/gfx/pango_util.cc const base::string16& text, base 245 ui/gfx/pango_util.cc base::i18n::TextDirection text_direction, base 255 ui/gfx/pango_util.cc const base::string16& text, base 258 ui/gfx/pango_util.cc base::i18n::TextDirection text_direction, base 63 ui/gfx/pango_util.h const base::string16& text, base 66 ui/gfx/pango_util.h base::i18n::TextDirection text_direction, base 15 ui/gfx/path_win.cc base::win::ScopedRegion temp(::CreateRectRgn(0, 0, 0, 0)); base 16 ui/gfx/path_win.cc base::win::ScopedRegion result(::CreateRectRgn(0, 0, 0, 0)); base 19 ui/gfx/platform_font.h class GFX_EXPORT PlatformFont : public base::RefCounted<PlatformFont> { base 72 ui/gfx/platform_font.h friend class base::RefCounted<PlatformFont>; base 44 ui/gfx/platform_font_mac.h base::scoped_nsobject<NSFont> native_font_; base 97 ui/gfx/platform_font_pango.cc base::SplitString(pango_font_description_get_family(native_font), ',', base 388 ui/gfx/platform_font_pango.cc base::ASCIIToUTF16( base 169 ui/gfx/platform_font_win.cc base::win::ScopedCreateDC memory_dc(CreateCompatibleDC(NULL)); base 175 ui/gfx/platform_font_win.cc base::win::ScopedSelectObject font(memory_dc, font_ref_->hfont()); base 181 ui/gfx/platform_font_win.cc return base::SysWideToUTF8(localized_font_name); base 205 ui/gfx/platform_font_win.cc base::UTF8ToUTF16(font_name).c_str()); base 213 ui/gfx/platform_font_win.cc base::win::GetNonClientMetrics(&metrics); base 232 ui/gfx/platform_font_win.cc base::win::ScopedGetDC screen_dc(NULL); base 233 ui/gfx/platform_font_win.cc base::win::ScopedSelectObject scoped_font(screen_dc, font); base 283 ui/gfx/platform_font_win.cc font_name_ = base::UTF16ToUTF8(base::string16(font_info.lfFaceName)); base 292 ui/gfx/platform_font_win.cc base::win::ScopedGetDC screen_dc(NULL); base 293 ui/gfx/platform_font_win.cc base::win::ScopedSelectObject font(screen_dc, hfont_); base 79 ui/gfx/platform_font_win.h class HFontRef : public base::RefCounted<HFontRef> { base 106 ui/gfx/platform_font_win.h friend class base::RefCounted<HFontRef>; base 81 ui/gfx/range/range.cc return base::StringPrintf("{%" PRIuS ",%" PRIuS "}", start(), end()); base 33 ui/gfx/render_text.cc const base::char16 kPasswordReplacementChar = '*'; base 402 ui/gfx/render_text.cc void RenderText::SetText(const base::string16& text) { base 421 ui/gfx/render_text.cc text_direction_ = base::i18n::UNKNOWN_DIRECTION; base 587 ui/gfx/render_text.cc base::i18n::BreakIterator iter(text(), base::i18n::BreakIterator::BREAK_WORD); base 687 ui/gfx/render_text.cc text_direction_ = base::i18n::UNKNOWN_DIRECTION; base 692 ui/gfx/render_text.cc base::i18n::TextDirection RenderText::GetTextDirection() { base 693 ui/gfx/render_text.cc if (text_direction_ == base::i18n::UNKNOWN_DIRECTION) { base 699 ui/gfx/render_text.cc base::i18n::GetFirstStrongCharacterDirection(GetLayoutText()); base 702 ui/gfx/render_text.cc text_direction_ = base::i18n::IsRTL() ? base::i18n::RIGHT_TO_LEFT : base 703 ui/gfx/render_text.cc base::i18n::LEFT_TO_RIGHT; base 706 ui/gfx/render_text.cc text_direction_ = base::i18n::LEFT_TO_RIGHT; base 709 ui/gfx/render_text.cc text_direction_ = base::i18n::RIGHT_TO_LEFT; base 720 ui/gfx/render_text.cc return GetTextDirection() == base::i18n::LEFT_TO_RIGHT ? base 789 ui/gfx/render_text.cc if ((GetTextDirection() == base::i18n::RIGHT_TO_LEFT) == (caret_pos == 0)) base 847 ui/gfx/render_text.cc : horizontal_alignment_(base::i18n::IsRTL() ? ALIGN_RIGHT : ALIGN_LEFT), base 849 ui/gfx/render_text.cc text_direction_(base::i18n::UNKNOWN_DIRECTION), base 906 ui/gfx/render_text.cc const base::string16& RenderText::GetLayoutText() const { base 914 ui/gfx/render_text.cc const base::string16& layout_text = GetLayoutText(); base 918 ui/gfx/render_text.cc base::i18n::BreakIterator iter(layout_text, base 919 ui/gfx/render_text.cc base::i18n::BreakIterator::BREAK_LINE); base 1145 ui/gfx/render_text.cc const base::string16& text = layout_text_; base 1165 ui/gfx/render_text.cc base::string16 RenderText::ElideText(const base::string16& text) { base 1178 ui/gfx/render_text.cc const base::string16 ellipsis = base::string16(gfx::kEllipsisUTF16); base 1197 ui/gfx/render_text.cc render_text->SetText(base::string16()); base 1202 ui/gfx/render_text.cc return base::string16(); base 1207 ui/gfx/render_text.cc const base::i18n::TextDirection text_direction = GetTextDirection(); base 1212 ui/gfx/render_text.cc base::string16 new_text = slicer.CutString(guess, false); base 1223 ui/gfx/render_text.cc base::i18n::TextDirection trailing_text_direction = base 1224 ui/gfx/render_text.cc base::i18n::GetLastStrongCharacterDirection(new_text); base 1227 ui/gfx/render_text.cc if (trailing_text_direction == base::i18n::LEFT_TO_RIGHT) base 1228 ui/gfx/render_text.cc new_text += base::i18n::kLeftToRightMark; base 1230 ui/gfx/render_text.cc new_text += base::i18n::kRightToLeftMark; base 192 ui/gfx/render_text.h const base::string16& text() const { return text_; } base 193 ui/gfx/render_text.h void SetText(const base::string16& text); base 343 ui/gfx/render_text.h base::i18n::TextDirection GetTextDirection(); base 517 ui/gfx/render_text.h const base::string16& GetLayoutText() const; base 587 ui/gfx/render_text.h base::string16 ElideText(const base::string16& text); base 597 ui/gfx/render_text.h base::string16 text_; base 608 ui/gfx/render_text.h base::i18n::TextDirection text_direction_; base 665 ui/gfx/render_text.h base::string16 layout_text_; base 114 ui/gfx/render_text_mac.cc CTFontRef ct_font = base::mac::NSToCFCast( base 119 ui/gfx/render_text_mac.cc base::ScopedCFTypeRef<CFDictionaryRef> attributes( base 127 ui/gfx/render_text_mac.cc base::ScopedCFTypeRef<CFStringRef> cf_text( base 128 ui/gfx/render_text_mac.cc base::SysUTF16ToCFStringRef(text())); base 129 ui/gfx/render_text_mac.cc base::ScopedCFTypeRef<CFAttributedStringRef> attr_text( base 131 ui/gfx/render_text_mac.cc base::ScopedCFTypeRef<CFMutableAttributedStringRef> attr_text_mutable( base 213 ui/gfx/render_text_mac.cc base::ScopedCFTypeRef<CGColorRef> foreground( base 221 ui/gfx/render_text_mac.cc base::ScopedCFTypeRef<CFNumberRef> underline_value( base 232 ui/gfx/render_text_mac.cc base::ScopedCFTypeRef<CTFontRef> styled_font( base 268 ui/gfx/render_text_mac.cc base::mac::CFCast<CTRunRef>(CFArrayGetValueAtIndex(ct_runs, i)); base 311 ui/gfx/render_text_mac.cc base::mac::GetValueFromDictionary<CTFontRef>(attributes, base 313 ui/gfx/render_text_mac.cc base::ScopedCFTypeRef<CFStringRef> font_name_ref( base 315 ui/gfx/render_text_mac.cc run->font_name = base::SysCFStringRefToUTF8(font_name_ref); base 325 ui/gfx/render_text_mac.cc base::mac::GetValueFromDictionary<CGColorRef>( base 331 ui/gfx/render_text_mac.cc base::mac::GetValueFromDictionary<CFNumberRef>( base 78 ui/gfx/render_text_mac.h base::ScopedCFTypeRef<CTLineRef> line_; base 82 ui/gfx/render_text_mac.h base::ScopedCFTypeRef<CFMutableArrayRef> attributes_; base 191 ui/gfx/render_text_pango.cc base::i18n::BreakIterator iter(text(), base::i18n::BreakIterator::BREAK_WORD); base 31 ui/gfx/render_text_unittest.cc using base::ASCIIToUTF16; base 32 ui/gfx/render_text_unittest.cc using base::UTF8ToUTF16; base 33 ui/gfx/render_text_unittest.cc using base::WideToUTF16; base 57 ui/gfx/render_text_unittest.cc base::string16 GetSelectedText(RenderText* render_text) { base 65 ui/gfx/render_text_unittest.cc base::i18n::SetICUDefaultLocale(rtl ? "he" : "en"); base 70 ui/gfx/render_text_unittest.cc EXPECT_EQ(rtl, base::i18n::IsRTL()); base 79 ui/gfx/render_text_unittest.cc SCOPED_TRACE(base::StringPrintf("Going %s; expected value index %d.", base 228 ui/gfx/render_text_unittest.cc const base::string16 desc = ASCIIToUTF16(description_string); base 246 ui/gfx/render_text_unittest.cc const base::string16& text, base 274 ui/gfx/render_text_unittest.cc const base::string16 seuss = ASCIIToUTF16("hop on pop"); base 275 ui/gfx/render_text_unittest.cc const base::string16 no_seuss = ASCIIToUTF16("**********"); base 290 ui/gfx/render_text_unittest.cc const base::char16 invalid_surrogates[] = {0xDC00, 0xD800, 0}; base 293 ui/gfx/render_text_unittest.cc const base::char16 valid_surrogates[] = {0xD800, 0xDC00, 0}; base 330 ui/gfx/render_text_unittest.cc base::string16 text = WideToUTF16(texts[i]); base 337 ui/gfx/render_text_unittest.cc const base::string16 seuss = ASCIIToUTF16("hop on pop"); base 338 ui/gfx/render_text_unittest.cc const base::string16 no_seuss = ASCIIToUTF16("**********"); base 377 ui/gfx/render_text_unittest.cc const base::char16 invalid_surrogates[] = {0xDC00, 0xD800, 'h', 'o', 'p', 0}; base 381 ui/gfx/render_text_unittest.cc const base::char16 invalid_expect_0[] = {0xDC00, '*', '*', '*', '*', 0}; base 384 ui/gfx/render_text_unittest.cc const base::char16 invalid_expect_1[] = {'*', 0xD800, '*', '*', '*', 0}; base 390 ui/gfx/render_text_unittest.cc const base::char16 valid_surrogates[] = base 395 ui/gfx/render_text_unittest.cc const base::char16 valid_expect_0_and_1[] = base 403 ui/gfx/render_text_unittest.cc const base::char16 valid_expect_5_and_6[] = base 465 ui/gfx/render_text_unittest.cc base::string16 input = WideToUTF16(cases[i].text); base 477 ui/gfx/render_text_unittest.cc expected_render_text->SetText(base::string16()); base 611 ui/gfx/render_text_unittest.cc const base::i18n::TextDirection text_direction; base 614 ui/gfx/render_text_unittest.cc { L"", base::i18n::LEFT_TO_RIGHT }, base 615 ui/gfx/render_text_unittest.cc { kWeak, base::i18n::LEFT_TO_RIGHT }, base 617 ui/gfx/render_text_unittest.cc { kLtr, base::i18n::LEFT_TO_RIGHT }, base 618 ui/gfx/render_text_unittest.cc { kLtrRtl, base::i18n::LEFT_TO_RIGHT }, base 619 ui/gfx/render_text_unittest.cc { kLtrRtlLtr, base::i18n::LEFT_TO_RIGHT }, base 621 ui/gfx/render_text_unittest.cc { kRtl, base::i18n::RIGHT_TO_LEFT }, base 622 ui/gfx/render_text_unittest.cc { kRtlLtr, base::i18n::RIGHT_TO_LEFT }, base 623 ui/gfx/render_text_unittest.cc { kRtlLtrRtl, base::i18n::RIGHT_TO_LEFT }, base 627 ui/gfx/render_text_unittest.cc const bool was_rtl = base::i18n::IsRTL(); base 631 ui/gfx/render_text_unittest.cc SetRTL(!base::i18n::IsRTL()); base 632 ui/gfx/render_text_unittest.cc const base::i18n::TextDirection ui_direction = base::i18n::IsRTL() ? base 633 ui/gfx/render_text_unittest.cc base::i18n::RIGHT_TO_LEFT : base::i18n::LEFT_TO_RIGHT; base 643 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->GetTextDirection(), base::i18n::LEFT_TO_RIGHT); base 645 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->GetTextDirection(), base::i18n::RIGHT_TO_LEFT); base 649 ui/gfx/render_text_unittest.cc EXPECT_EQ(was_rtl, base::i18n::IsRTL()); base 654 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->GetTextDirection(), base::i18n::LEFT_TO_RIGHT); base 656 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->GetTextDirection(), base::i18n::RIGHT_TO_LEFT); base 851 ui/gfx/render_text_unittest.cc const base::string16 kText1 = base 855 ui/gfx/render_text_unittest.cc const base::string16 kText2 = WideToUTF16(L"ab" L"\x0915\x093f" L"cd"); base 862 ui/gfx/render_text_unittest.cc const base::string16 kText3 = UTF8ToUTF16("ab" + kSurrogate + "cd"); base 865 ui/gfx/render_text_unittest.cc base::string16 text; base 870 ui/gfx/render_text_unittest.cc { base::string16(), 0, 0, 0 }, base 871 ui/gfx/render_text_unittest.cc { base::string16(), 1, 0, 0 }, base 872 ui/gfx/render_text_unittest.cc { base::string16(), 50, 0, 0 }, base 906 ui/gfx/render_text_unittest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 928 ui/gfx/render_text_unittest.cc const base::string16 kLatin = WideToUTF16(L"abc"); base 930 ui/gfx/render_text_unittest.cc const base::string16 kLTRGrapheme = WideToUTF16(L"\x0915\x093f"); base 932 ui/gfx/render_text_unittest.cc const base::string16 kHindiLatin = base 935 ui/gfx/render_text_unittest.cc const base::string16 kRTLGrapheme = WideToUTF16(L"\x05e0\x05b8"); base 937 ui/gfx/render_text_unittest.cc const base::string16 kHebrewLatin = base 941 ui/gfx/render_text_unittest.cc base::string16 text; base 942 ui/gfx/render_text_unittest.cc base::i18n::TextDirection expected_text_direction; base 944 ui/gfx/render_text_unittest.cc { base::string16(), base::i18n::LEFT_TO_RIGHT }, base 945 ui/gfx/render_text_unittest.cc { kLatin, base::i18n::LEFT_TO_RIGHT }, base 946 ui/gfx/render_text_unittest.cc { kLTRGrapheme, base::i18n::LEFT_TO_RIGHT }, base 947 ui/gfx/render_text_unittest.cc { kHindiLatin, base::i18n::LEFT_TO_RIGHT }, base 948 ui/gfx/render_text_unittest.cc { kRTLGrapheme, base::i18n::RIGHT_TO_LEFT }, base 949 ui/gfx/render_text_unittest.cc { kHebrewLatin, base::i18n::RIGHT_TO_LEFT }, base 955 ui/gfx/render_text_unittest.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 962 ui/gfx/render_text_unittest.cc bool ltr = (cases[i].expected_text_direction == base::i18n::LEFT_TO_RIGHT); base 983 ui/gfx/render_text_unittest.cc const bool was_rtl = base::i18n::IsRTL(); base 986 ui/gfx/render_text_unittest.cc SetRTL(!base::i18n::IsRTL()); base 988 ui/gfx/render_text_unittest.cc render_text->SetText(base::string16()); base 1001 ui/gfx/render_text_unittest.cc EXPECT_EQ(was_rtl, base::i18n::IsRTL()); base 1212 ui/gfx/render_text_unittest.cc const base::string16 test_string = base 1243 ui/gfx/render_text_unittest.cc render_text->SetText(base::string16()); base 1337 ui/gfx/render_text_unittest.cc base::string16 cases[] = { base 1387 ui/gfx/render_text_unittest.cc const bool was_rtl = base::i18n::IsRTL(); base 1437 ui/gfx/render_text_unittest.cc const bool was_rtl = base::i18n::IsRTL(); base 1454 ui/gfx/render_text_unittest.cc const base::char16 left_char; base 1455 ui/gfx/render_text_unittest.cc const base::char16 right_char; base 1462 ui/gfx/render_text_unittest.cc base::string16 text; base 1493 ui/gfx/render_text_unittest.cc base::string16 text = cases[i].text; base 1495 ui/gfx/render_text_unittest.cc ASSERT_NE(base::string16::npos, start_paren_char_index); base 1497 ui/gfx/render_text_unittest.cc ASSERT_NE(base::string16::npos, end_paren_char_index); base 1615 ui/gfx/render_text_unittest.cc ASSERT_FALSE(base::i18n::IsRTL()); base 1616 ui/gfx/render_text_unittest.cc ASSERT_FALSE(base::i18n::ICUIsRTL()); base 1671 ui/gfx/render_text_unittest.cc const bool was_rtl = base::i18n::IsRTL(); base 1726 ui/gfx/render_text_unittest.cc EXPECT_EQ(was_rtl, base::i18n::IsRTL()); base 1766 ui/gfx/render_text_unittest.cc SCOPED_TRACE(base::StringPrintf("kTestStrings[%" PRIuS "]", i)); base 1793 ui/gfx/render_text_unittest.cc SCOPED_TRACE(base::StringPrintf("kTestStrings[%" PRIuS "]", i)); base 1819 ui/gfx/render_text_unittest.cc SCOPED_TRACE(base::StringPrintf("kTestStrings[%" PRIuS "]", i)); base 1845 ui/gfx/render_text_unittest.cc SCOPED_TRACE(base::StringPrintf("kTestStrings[%" PRIuS "]", i)); base 89 ui/gfx/render_text_win.cc *result = Font(base::UTF16ToUTF8(log_font.lfFaceName), base 111 ui/gfx/render_text_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 125 ui/gfx/render_text_win.cc bool IsUnicodeBidiControlCharacter(base::char16 c) { base 126 ui/gfx/render_text_win.cc return c == base::i18n::kRightToLeftMark || base 127 ui/gfx/render_text_win.cc c == base::i18n::kLeftToRightMark || base 128 ui/gfx/render_text_win.cc c == base::i18n::kLeftToRightEmbeddingMark || base 129 ui/gfx/render_text_win.cc c == base::i18n::kRightToLeftEmbeddingMark || base 130 ui/gfx/render_text_win.cc c == base::i18n::kPopDirectionalFormatting || base 131 ui/gfx/render_text_win.cc c == base::i18n::kLeftToRightOverride || base 132 ui/gfx/render_text_win.cc c == base::i18n::kRightToLeftOverride; base 624 ui/gfx/render_text_win.cc base::i18n::BreakIterator iter(text(), base::i18n::BreakIterator::BREAK_WORD); base 895 ui/gfx/render_text_win.cc (GetTextDirection() == base::i18n::RIGHT_TO_LEFT) ? 1 : 0; base 897 ui/gfx/render_text_win.cc const base::string16& layout_text = GetLayoutText(); base 961 ui/gfx/render_text_win.cc base::i18n::UTF16CharIterator iter(layout_text.c_str() + run_start, base 29 ui/gfx/screen_win.cc base::Hash(base::WideToUTF8(monitor_info.szDevice))); base 33 ui/gfx/selection_model.cc base::StringAppendF(&str, "%" PRIuS, caret_pos()); base 43 ui/gfx/sequential_id_generator.h typedef base::hash_map<uint32, uint32> IDMap; base 38 ui/gfx/shadow_value.cc return base::StringPrintf( base 87 ui/gfx/test/ui_cocoa_test_helper.h base::mac::ScopedNSAutoreleasePool pool_; base 111 ui/gfx/test/ui_cocoa_test_helper.h base::scoped_nsobject<NSView> view([test_view retain]); \ base 29 ui/gfx/text_elider.cc using base::ASCIIToUTF16; base 30 ui/gfx/text_elider.cc using base::UTF8ToUTF16; base 31 ui/gfx/text_elider.cc using base::WideToUTF16; base 37 ui/gfx/text_elider.cc const base::char16 kEllipsisUTF16[] = { 0x2026, 0 }; base 38 ui/gfx/text_elider.cc const base::char16 kForwardSlash = '/'; base 40 ui/gfx/text_elider.cc StringSlicer::StringSlicer(const base::string16& text, base 41 ui/gfx/text_elider.cc const base::string16& ellipsis, base 50 ui/gfx/text_elider.cc base::string16 StringSlicer::CutString(size_t length, bool insert_ellipsis) { base 51 ui/gfx/text_elider.cc const base::string16 ellipsis_text = insert_ellipsis ? ellipsis_ base 52 ui/gfx/text_elider.cc : base::string16(); base 86 ui/gfx/text_elider.cc base::string16 ElideEmail(const base::string16& email, base 98 ui/gfx/text_elider.cc DCHECK_NE(split_index, base::string16::npos); base 99 ui/gfx/text_elider.cc base::string16 username = email.substr(0, split_index); base 100 ui/gfx/text_elider.cc base::string16 domain = email.substr(split_index + 1); base 105 ui/gfx/text_elider.cc const base::string16 kAtSignUTF16 = ASCIIToUTF16("@"); base 132 ui/gfx/text_elider.cc return base::string16(kEllipsisUTF16); base 145 ui/gfx/text_elider.cc base::string16 ElideFilename(const base::FilePath& filename, base 149 ui/gfx/text_elider.cc base::string16 filename_utf16 = filename.value(); base 150 ui/gfx/text_elider.cc base::string16 extension = filename.Extension(); base 151 ui/gfx/text_elider.cc base::string16 rootname = filename.BaseName().RemoveExtension().value(); base 153 ui/gfx/text_elider.cc base::string16 filename_utf16 = WideToUTF16(base::SysNativeMBToWide( base 155 ui/gfx/text_elider.cc base::string16 extension = WideToUTF16(base::SysNativeMBToWide( base 157 ui/gfx/text_elider.cc base::string16 rootname = WideToUTF16(base::SysNativeMBToWide( base 163 ui/gfx/text_elider.cc return base::i18n::GetDisplayStringInLTRDirectionality(filename_utf16); base 166 ui/gfx/text_elider.cc const base::string16 elided_name = ElideText(filename_utf16, font_list, base 168 ui/gfx/text_elider.cc return base::i18n::GetDisplayStringInLTRDirectionality(elided_name); base 176 ui/gfx/text_elider.cc const base::string16 elided_name = rootname + extension; base 177 ui/gfx/text_elider.cc return base::i18n::GetDisplayStringInLTRDirectionality(elided_name); base 181 ui/gfx/text_elider.cc const base::string16 elided_name = ElideText( base 184 ui/gfx/text_elider.cc return base::i18n::GetDisplayStringInLTRDirectionality(elided_name); base 188 ui/gfx/text_elider.cc base::string16 elided_name = base 191 ui/gfx/text_elider.cc return base::i18n::GetDisplayStringInLTRDirectionality(elided_name); base 194 ui/gfx/text_elider.cc base::string16 ElideText(const base::string16& text, base 206 ui/gfx/text_elider.cc const base::string16 ellipsis = base::string16(kEllipsisUTF16); base 218 ui/gfx/text_elider.cc const base::string16 cut = base 228 ui/gfx/text_elider.cc return base::string16(); base 239 ui/gfx/text_elider.cc const base::string16 cut = slicer.CutString(guess, insert_ellipsis); base 257 ui/gfx/text_elider.cc bool ElideString(const base::string16& input, int max_len, base 258 ui/gfx/text_elider.cc base::string16* output) { base 303 ui/gfx/text_elider.cc bool strict, base::string16 *output) base 320 ui/gfx/text_elider.cc void AddString(const base::string16& input); base 329 ui/gfx/text_elider.cc void AddLine(const base::string16& line); base 333 ui/gfx/text_elider.cc void AddWord(const base::string16& word); base 337 ui/gfx/text_elider.cc void Append(const base::string16& string); base 369 ui/gfx/text_elider.cc base::string16* output_; base 374 ui/gfx/text_elider.cc void RectangleString::AddString(const base::string16& input) { base 375 ui/gfx/text_elider.cc base::i18n::BreakIterator lines(input, base 376 ui/gfx/text_elider.cc base::i18n::BreakIterator::BREAK_NEWLINE); base 393 ui/gfx/text_elider.cc void RectangleString::AddLine(const base::string16& line) { base 397 ui/gfx/text_elider.cc base::i18n::BreakIterator words(line, base 398 ui/gfx/text_elider.cc base::i18n::BreakIterator::BREAK_SPACE); base 411 ui/gfx/text_elider.cc void RectangleString::AddWord(const base::string16& word) { base 421 ui/gfx/text_elider.cc base::i18n::UTF16CharIterator chars(&word); base 438 ui/gfx/text_elider.cc void RectangleString::Append(const base::string16& string) { base 466 ui/gfx/text_elider.cc std::vector<base::string16>* lines) base 487 ui/gfx/text_elider.cc void AddString(const base::string16& input); base 498 ui/gfx/text_elider.cc void AddLine(const base::string16& line); base 501 ui/gfx/text_elider.cc int WrapWord(const base::string16& word); base 504 ui/gfx/text_elider.cc int AddWordOverflow(const base::string16& word); base 507 ui/gfx/text_elider.cc int AddWord(const base::string16& word); base 512 ui/gfx/text_elider.cc void AddToCurrentLineWithWidth(const base::string16& text, float text_width); base 515 ui/gfx/text_elider.cc void AddToCurrentLine(const base::string16& text); base 542 ui/gfx/text_elider.cc base::string16 current_line_; base 548 ui/gfx/text_elider.cc std::vector<base::string16>* lines_; base 560 ui/gfx/text_elider.cc void RectangleText::AddString(const base::string16& input) { base 561 ui/gfx/text_elider.cc base::i18n::BreakIterator lines(input, base 562 ui/gfx/text_elider.cc base::i18n::BreakIterator::BREAK_NEWLINE); base 565 ui/gfx/text_elider.cc base::string16 line = lines.GetString(); base 583 ui/gfx/text_elider.cc base::TrimWhitespace(lines_->back(), base::TRIM_TRAILING, &lines_->back()); base 588 ui/gfx/text_elider.cc lines_->push_back(base::string16()); base 593 ui/gfx/text_elider.cc void RectangleText::AddLine(const base::string16& line) { base 600 ui/gfx/text_elider.cc base::i18n::BreakIterator words(line, base 601 ui/gfx/text_elider.cc base::i18n::BreakIterator::BREAK_LINE); base 605 ui/gfx/text_elider.cc const base::string16& word = words.GetString(); base 611 ui/gfx/text_elider.cc base::TrimWhitespace(lines_->at(line), base::TRIM_TRAILING, base 614 ui/gfx/text_elider.cc if (base::ContainsOnlyChars(word, base::kWhitespaceUTF16)) { base 629 ui/gfx/text_elider.cc int RectangleText::WrapWord(const base::string16& word) { base 631 ui/gfx/text_elider.cc base::string16 text = word; base 635 ui/gfx/text_elider.cc base::string16 fragment = base 651 ui/gfx/text_elider.cc int RectangleText::AddWordOverflow(const base::string16& word) { base 669 ui/gfx/text_elider.cc const base::string16 elided_word = base 678 ui/gfx/text_elider.cc int RectangleText::AddWord(const base::string16& word) { base 680 ui/gfx/text_elider.cc base::string16 trimmed; base 681 ui/gfx/text_elider.cc base::TrimWhitespace(word, base::TRIM_TRAILING, &trimmed); base 696 ui/gfx/text_elider.cc void RectangleText::AddToCurrentLine(const base::string16& text) { base 700 ui/gfx/text_elider.cc void RectangleText::AddToCurrentLineWithWidth(const base::string16& text, base 726 ui/gfx/text_elider.cc bool ElideRectangleString(const base::string16& input, size_t max_rows, base 728 ui/gfx/text_elider.cc base::string16* output) { base 735 ui/gfx/text_elider.cc int ElideRectangleText(const base::string16& input, base 740 ui/gfx/text_elider.cc std::vector<base::string16>* lines) { base 751 ui/gfx/text_elider.cc base::string16 TruncateString(const base::string16& string, size_t length) { base 758 ui/gfx/text_elider.cc return base::string16(); base 763 ui/gfx/text_elider.cc static const base::char16 kElideString[] = { 0x2026, 0 }; base 21 ui/gfx/text_elider.h namespace base { base 29 ui/gfx/text_elider.h GFX_EXPORT extern const base::char16 kEllipsisUTF16[]; base 30 ui/gfx/text_elider.h GFX_EXPORT extern const base::char16 kForwardSlash; base 35 ui/gfx/text_elider.h StringSlicer(const base::string16& text, base 36 ui/gfx/text_elider.h const base::string16& ellipsis, base 45 ui/gfx/text_elider.h base::string16 CutString(size_t length, bool insert_ellipsis); base 53 ui/gfx/text_elider.h const base::string16& text_; base 56 ui/gfx/text_elider.h const base::string16& ellipsis_; base 77 ui/gfx/text_elider.h GFX_EXPORT base::string16 ElideEmail(const base::string16& email, base 96 ui/gfx/text_elider.h GFX_EXPORT base::string16 ElideText(const base::string16& text, base 107 ui/gfx/text_elider.h GFX_EXPORT base::string16 ElideFilename(const base::FilePath& filename, base 124 ui/gfx/text_elider.h GFX_EXPORT bool ElideString(const base::string16& input, int max_len, base 125 ui/gfx/text_elider.h base::string16* output); base 136 ui/gfx/text_elider.h GFX_EXPORT bool ElideRectangleString(const base::string16& input, base 140 ui/gfx/text_elider.h base::string16* output); base 178 ui/gfx/text_elider.h GFX_EXPORT int ElideRectangleText(const base::string16& text, base 183 ui/gfx/text_elider.h std::vector<base::string16>* lines); base 190 ui/gfx/text_elider.h GFX_EXPORT base::string16 TruncateString(const base::string16& string, base 19 ui/gfx/text_elider_unittest.cc using base::ASCIIToUTF16; base 20 ui/gfx/text_elider_unittest.cc using base::UTF16ToUTF8; base 21 ui/gfx/text_elider_unittest.cc using base::UTF16ToWide; base 22 ui/gfx/text_elider_unittest.cc using base::UTF8ToUTF16; base 23 ui/gfx/text_elider_unittest.cc using base::WideToUTF16; base 35 ui/gfx/text_elider_unittest.cc const base::FilePath::StringType input; base 40 ui/gfx/text_elider_unittest.cc const base::string16 input; base 41 ui/gfx/text_elider_unittest.cc const base::string16 output; base 107 ui/gfx/text_elider_unittest.cc const base::string16 expected_output = UTF8ToUTF16(testcases[i].output); base 141 ui/gfx/text_elider_unittest.cc const base::string16 test_email = UTF8ToUTF16(test_emails[j]); base 157 ui/gfx/text_elider_unittest.cc const base::FilePath::StringType kPathSeparator = base 158 ui/gfx/text_elider_unittest.cc base::FilePath::StringType().append(1, base::FilePath::kSeparators[0]); base 196 ui/gfx/text_elider_unittest.cc base::FilePath filepath(testcases[i].input); base 197 ui/gfx/text_elider_unittest.cc base::string16 expected = UTF8ToUTF16(testcases[i].output); base 198 ui/gfx/text_elider_unittest.cc expected = base::i18n::GetDisplayStringInLTRDirectionality(expected); base 227 ui/gfx/text_elider_unittest.cc base::string16 result = ElideText(UTF8ToUTF16(cases[i].input), font_list, base 259 ui/gfx/text_elider_unittest.cc base::string16 result = ElideText(UTF8ToUTF16(cases[i].input), font_list, base 282 ui/gfx/text_elider_unittest.cc const base::string16 output; base 284 ui/gfx/text_elider_unittest.cc { "", 0, base::string16() }, base 285 ui/gfx/text_elider_unittest.cc { "Test", 0, base::string16() }, base 287 ui/gfx/text_elider_unittest.cc { "", kTestWidth, base::string16() }, base 294 ui/gfx/text_elider_unittest.cc base::string16 result = ElideText(UTF8ToUTF16(cases[i].input), font_list, base 302 ui/gfx/text_elider_unittest.cc static void CheckSurrogatePairs(const base::string16& text, base 303 ui/gfx/text_elider_unittest.cc base::char16 first_char, base 304 ui/gfx/text_elider_unittest.cc base::char16 second_char) { base 306 ui/gfx/text_elider_unittest.cc while (index != base::string16::npos) { base 312 ui/gfx/text_elider_unittest.cc while (index != base::string16::npos) { base 330 ui/gfx/text_elider_unittest.cc const base::string16 kTestString = base 333 ui/gfx/text_elider_unittest.cc const base::char16 kSurrogateFirstChar = kTestString[0]; base 334 ui/gfx/text_elider_unittest.cc const base::char16 kSurrogateSecondChar = kTestString[1]; base 335 ui/gfx/text_elider_unittest.cc base::string16 result; base 361 ui/gfx/text_elider_unittest.cc const base::string16 kEllipsisStr = UTF8ToUTF16(kEllipsis); base 362 ui/gfx/text_elider_unittest.cc base::string16 data_scheme(UTF8ToUTF16("data:text/plain,")); base 365 ui/gfx/text_elider_unittest.cc base::string16 ten_a(10, 'a'); base 366 ui/gfx/text_elider_unittest.cc base::string16 hundred_a(100, 'a'); base 367 ui/gfx/text_elider_unittest.cc base::string16 thousand_a(1000, 'a'); base 368 ui/gfx/text_elider_unittest.cc base::string16 ten_thousand_a(10000, 'a'); base 369 ui/gfx/text_elider_unittest.cc base::string16 hundred_thousand_a(100000, 'a'); base 370 ui/gfx/text_elider_unittest.cc base::string16 million_a(1000000, 'a'); base 376 ui/gfx/text_elider_unittest.cc base::string16 long_string_end( base 377 ui/gfx/text_elider_unittest.cc data_scheme + base::string16(number_of_as, 'a') + kEllipsisStr); base 404 ui/gfx/text_elider_unittest.cc base::string16 long_string_middle(data_scheme + base 405 ui/gfx/text_elider_unittest.cc base::string16(number_of_as - number_of_trailing_as, 'a') + kEllipsisStr + base 406 ui/gfx/text_elider_unittest.cc base::string16(number_of_trailing_as, 'a')); base 430 ui/gfx/text_elider_unittest.cc base::string16 long_string_beginning( base 431 ui/gfx/text_elider_unittest.cc kEllipsisStr + base::string16(number_of_as, 'a')); base 472 ui/gfx/text_elider_unittest.cc base::string16 output; base 526 ui/gfx/text_elider_unittest.cc std::vector<base::string16> lines; base 571 ui/gfx/text_elider_unittest.cc std::vector<base::string16> lines; base 599 ui/gfx/text_elider_unittest.cc const base::string16 kElidedTesting = base 641 ui/gfx/text_elider_unittest.cc std::vector<base::string16> lines; base 677 ui/gfx/text_elider_unittest.cc std::vector<base::string16> lines; base 762 ui/gfx/text_elider_unittest.cc base::string16 output; base 844 ui/gfx/text_elider_unittest.cc base::string16 output; base 856 ui/gfx/text_elider_unittest.cc const base::string16 str(WideToUTF16( base 859 ui/gfx/text_elider_unittest.cc const base::string16 out1(WideToUTF16( base 863 ui/gfx/text_elider_unittest.cc const base::string16 out2(WideToUTF16( base 866 ui/gfx/text_elider_unittest.cc base::string16 output; base 875 ui/gfx/text_elider_unittest.cc const base::string16 str(UTF8ToUTF16( base 878 ui/gfx/text_elider_unittest.cc const base::string16 out(UTF8ToUTF16( base 881 ui/gfx/text_elider_unittest.cc base::string16 output; base 887 ui/gfx/text_elider_unittest.cc base::string16 string = ASCIIToUTF16("foooooey bxxxar baz"); base 11 ui/gfx/text_utils.cc base::string16 RemoveAcceleratorChar(const base::string16& s, base 12 ui/gfx/text_utils.cc base::char16 accelerator_char, base 18 ui/gfx/text_utils.cc base::i18n::UTF16CharIterator chars(&s); base 19 ui/gfx/text_utils.cc base::string16 accelerator_removed; base 20 ui/gfx/text_utils.h GFX_EXPORT base::string16 RemoveAcceleratorChar(const base::string16& s, base 21 ui/gfx/text_utils.h base::char16 accelerator_char, base 27 ui/gfx/text_utils.h GFX_EXPORT int GetStringWidth(const base::string16& text, base 31 ui/gfx/text_utils.h GFX_EXPORT float GetStringWidthF(const base::string16& text, base 11 ui/gfx/text_utils_android.cc int GetStringWidth(const base::string16& text, const FontList& font_list) { base 16 ui/gfx/text_utils_android.cc float GetStringWidthF(const base::string16& text, const FontList& font_list) { base 11 ui/gfx/text_utils_skia.cc int GetStringWidth(const base::string16& text, const FontList& font_list) { base 15 ui/gfx/text_utils_skia.cc float GetStringWidthF(const base::string16& text, const FontList& font_list) { base 14 ui/gfx/text_utils_unittest.cc const base::char16 kAcceleratorChar = '&'; base 52 ui/gfx/text_utils_unittest.cc base::string16 result = RemoveAcceleratorChar( base 53 ui/gfx/text_utils_unittest.cc base::UTF8ToUTF16(cases[i].input), base 57 ui/gfx/text_utils_unittest.cc EXPECT_EQ(result, base::UTF8ToUTF16(cases[i].output)); base 71 ui/gfx/text_utils_unittest.cc EXPECT_EQ(GetStringWidth(base::string16(), font_list), 0); base 72 ui/gfx/text_utils_unittest.cc EXPECT_GT(GetStringWidth(base::ASCIIToUTF16("a"), font_list), base 73 ui/gfx/text_utils_unittest.cc GetStringWidth(base::string16(), font_list)); base 74 ui/gfx/text_utils_unittest.cc EXPECT_GT(GetStringWidth(base::ASCIIToUTF16("ab"), font_list), base 75 ui/gfx/text_utils_unittest.cc GetStringWidth(base::ASCIIToUTF16("a"), font_list)); base 76 ui/gfx/text_utils_unittest.cc EXPECT_GT(GetStringWidth(base::ASCIIToUTF16("abc"), font_list), base 77 ui/gfx/text_utils_unittest.cc GetStringWidth(base::ASCIIToUTF16("ab"), font_list)); base 528 ui/gfx/transform.cc return base::StringPrintf( base 476 ui/gfx/transform_util.cc return base::StringPrintf( base 12 ui/gfx/utf16_indexing.cc bool IsValidCodePointIndex(const base::string16& s, size_t index) { base 17 ui/gfx/utf16_indexing.cc ptrdiff_t UTF16IndexToOffset(const base::string16& s, size_t base, size_t pos) { base 23 ui/gfx/utf16_indexing.cc DCHECK_LE(base, s.length()); base 26 ui/gfx/utf16_indexing.cc while (base < pos) base 27 ui/gfx/utf16_indexing.cc delta += IsValidCodePointIndex(s, base++) ? 1 : 0; base 28 ui/gfx/utf16_indexing.cc while (pos < base) base 33 ui/gfx/utf16_indexing.cc size_t UTF16OffsetToIndex(const base::string16& s, base 34 ui/gfx/utf16_indexing.cc size_t base, base 36 ui/gfx/utf16_indexing.cc DCHECK_LE(base, s.length()); base 41 ui/gfx/utf16_indexing.cc size_t pos = base; base 15 ui/gfx/utf16_indexing.h GFX_EXPORT bool IsValidCodePointIndex(const base::string16& s, size_t index); base 40 ui/gfx/utf16_indexing.h GFX_EXPORT ptrdiff_t UTF16IndexToOffset(const base::string16& s, base 41 ui/gfx/utf16_indexing.h size_t base, base 43 ui/gfx/utf16_indexing.h GFX_EXPORT size_t UTF16OffsetToIndex(const base::string16& s, base 44 ui/gfx/utf16_indexing.h size_t base, base 12 ui/gfx/utf16_indexing_unittest.cc const base::char16 foo[] = base 14 ui/gfx/utf16_indexing_unittest.cc const base::string16 s(foo); base 18 ui/gfx/vsync_provider.h typedef base::Callback< base 19 ui/gfx/vsync_provider.h void(const base::TimeTicks timebase, const base::TimeDelta interval)> base 110 ui/gfx/win/dpi.cc base::win::RegKey reg_key(HKEY_CURRENT_USER, base 141 ui/gfx/win/dpi.cc base::win::ScopedGetDC screen_dc(NULL); base 246 ui/gfx/win/dpi.cc base::win::RegKey key(HKEY_CURRENT_USER, base 262 ui/gfx/win/dpi.cc (base::win::GetVersion() < base::win::VERSION_WIN8_1) ? base 73 ui/gfx/win/hwnd_util.cc base::string16 GetClassName(HWND window) { base 210 ui/gfx/win/hwnd_util.cc Point point = Point(base::i18n::IsRTL() ? rect.right : rect.left, rect.top); base 212 ui/gfx/win/hwnd_util.cc point.Offset(base::i18n::IsRTL() ? -kSystemMenuOffset : kSystemMenuOffset, base 219 ui/gfx/win/hwnd_util.cc if (base::win::IsMetroProcess()) base 222 ui/gfx/win/hwnd_util.cc if (base::i18n::IsRTL()) base 236 ui/gfx/win/hwnd_util.cc HMODULE metro = base::win::GetMetroModule(); base 19 ui/gfx/win/hwnd_util.h GFX_EXPORT base::string16 GetClassName(HWND hwnd); base 40 ui/gfx/win/singleton_hwnd.cc if (!base::MessageLoopForUI::IsCurrent()) { base 78 ui/gfx/win/window_impl.cc base::Lock lock_; base 92 ui/gfx/win/window_impl.cc base::AutoLock auto_lock(lock_); base 100 ui/gfx/win/window_impl.cc base::string16 name = base::string16(WindowImpl::kBaseClassName) + base 101 ui/gfx/win/window_impl.cc base::IntToString16(registered_count_++); base 104 ui/gfx/win/window_impl.cc base::win::InitializeWindowClass( base 106 ui/gfx/win/window_impl.cc &base::win::WrappedWindowProc<WindowImpl::WndProc>, base 195 ui/gfx/win/window_impl.cc base::debug::Alias(&destroyed); base 196 ui/gfx/win/window_impl.cc base::debug::Alias(&hwnd); base 198 ui/gfx/win/window_impl.cc base::debug::Alias(&got_create); base 200 ui/gfx/win/window_impl.cc base::debug::Alias(&got_valid_hwnd); base 207 ui/gfx/win/window_impl.cc base::debug::Alias(&got_class); base 209 ui/gfx/win/window_impl.cc base::win::WrappedWindowProc<&WindowImpl::WndProc>; base 210 ui/gfx/win/window_impl.cc base::debug::Alias(&procs_match); base 14 ui/gfx/x/x11_types.cc return base::MessagePumpForUI::GetDefaultXDisplay(); base 16 ui/gl/android/gl_jni_registrar.cc static base::android::RegistrationMethod kGLRegisteredMethods[] = { base 30 ui/gl/android/scoped_java_surface.cc const base::android::JavaRef<jobject>& surface) base 33 ui/gl/android/scoped_java_surface.cc JNIEnv* env = base::android::AttachCurrentThread(); base 43 ui/gl/android/scoped_java_surface.cc JNIEnv* env = base::android::AttachCurrentThread(); base 62 ui/gl/android/scoped_java_surface.cc JNIEnv* env = base::android::AttachCurrentThread(); base 68 ui/gl/android/scoped_java_surface.cc JNIEnv* env = base::android::AttachCurrentThread(); base 80 ui/gl/android/scoped_java_surface.cc JNIEnv* env = base::android::AttachCurrentThread(); base 28 ui/gl/android/scoped_java_surface.h explicit ScopedJavaSurface(const base::android::JavaRef<jobject>& surface); base 52 ui/gl/android/scoped_java_surface.h const base::android::JavaRef<jobject>& j_surface() const { base 63 ui/gl/android/scoped_java_surface.h base::android::ScopedJavaGlobalRef<jobject> j_surface_; base 21 ui/gl/android/surface_texture.cc bool available = base::android::BuildInfo::GetInstance()->sdk_int() >= 16; base 30 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 38 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 44 ui/gl/android/surface_texture.cc const base::android::ScopedJavaLocalRef<jobject>& j_surface_texture) { base 49 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 54 ui/gl/android/surface_texture.cc const base::Closure& callback) { base 55 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 63 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 70 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 76 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 78 ui/gl/android/surface_texture.cc base::android::ScopedJavaLocalRef<jfloatArray> jmatrix( base 92 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 109 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 117 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 124 ui/gl/android/surface_texture.cc JNIEnv* env = base::android::AttachCurrentThread(); base 133 ui/gl/android/surface_texture.cc return base::android::BuildInfo::GetInstance()->sdk_int() >= 19; base 22 ui/gl/android/surface_texture.h : public base::RefCountedThreadSafe<SurfaceTexture>{ base 33 ui/gl/android/surface_texture.h void SetFrameAvailableCallback(const base::Closure& callback); base 65 ui/gl/android/surface_texture.h const base::android::JavaRef<jobject>& j_surface_texture() const { base 77 ui/gl/android/surface_texture.h const base::android::ScopedJavaLocalRef<jobject>& j_surface_texture); base 80 ui/gl/android/surface_texture.h friend class base::RefCountedThreadSafe<SurfaceTexture>; base 84 ui/gl/android/surface_texture.h base::android::ScopedJavaGlobalRef<jobject> j_surface_texture_; base 13 ui/gl/android/surface_texture_listener.cc SurfaceTextureListener::SurfaceTextureListener(const base::Closure& callback) base 15 ui/gl/android/surface_texture_listener.cc browser_loop_(base::MessageLoopProxy::current()) { base 13 ui/gl/android/surface_texture_listener.h namespace base { base 33 ui/gl/android/surface_texture_listener.h SurfaceTextureListener(const base::Closure& callback); base 38 ui/gl/android/surface_texture_listener.h base::Closure callback_; base 40 ui/gl/android/surface_texture_listener.h scoped_refptr<base::MessageLoopProxy> browser_loop_; base 300 ui/gl/gl_bindings.h GL_EXPORT extern base::ThreadLocalPointer<GLApi>* g_current_gl_context_tls; base 22 ui/gl/gl_context.cc base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky base 25 ui/gl/gl_context.cc base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky base 26 ui/gl/gl_context.h class GL_EXPORT GLContext : public base::RefCounted<GLContext> { base 37 ui/gl/gl_context.h class FlushEvent : public base::RefCountedThreadSafe<FlushEvent> { base 42 ui/gl/gl_context.h friend class base::RefCountedThreadSafe<FlushEvent>; base 48 ui/gl/gl_context.h base::CancellationFlag flag_; base 169 ui/gl/gl_context.h friend class base::RefCounted<GLContext>; base 108 ui/gl/gl_context_android.cc size_t dalvik_mb = base::SysInfo::DalvikHeapSizeMB(); base 109 ui/gl/gl_context_android.cc size_t physical_mb = base::SysInfo::AmountOfPhysicalMemoryMB(); base 131 ui/gl/gl_context_android.cc if (!base::android::SysUtils::IsLowEndDevice()) { base 127 ui/gl/gl_context_cgl.cc base::MessageLoop::current()->PostDelayedTask( base 129 ui/gl/gl_context_cgl.cc base::Bind(&CGLReleasePixelFormat, discrete_pixelformat_), base 130 ui/gl/gl_context_cgl.cc base::TimeDelta::FromSeconds(10)); base 40 ui/gl/gl_context_nsview.h base::scoped_nsobject<NSOpenGLContext> context_; base 259 ui/gl/gl_gl_api_implementation.cc g_current_gl_context_tls = new base::ThreadLocalPointer<GLApi>; base 20 ui/gl/gl_image.h class GL_EXPORT GLImage : public base::RefCounted<GLImage> { base 65 ui/gl/gl_image.h friend class base::RefCounted<GLImage>; base 46 ui/gl/gl_image_glx.cc : display_(base::MessagePumpForUI::GetDefaultXDisplay()), base 36 ui/gl/gl_image_io_surface.h base::ScopedCFTypeRef<CFTypeRef> io_surface_; base 90 ui/gl/gl_image_shm.cc if (!base::SharedMemory::IsHandleValid(buffer.handle)) base 93 ui/gl/gl_image_shm.cc base::SharedMemory shared_memory(buffer.handle, true); base 96 ui/gl/gl_image_shm.cc base::SharedMemoryHandle duped_shared_memory_handle; base 97 ui/gl/gl_image_shm.cc if (!shared_memory.ShareToProcess(base::GetCurrentProcessHandle(), base 104 ui/gl/gl_image_shm.cc new base::SharedMemory(duped_shared_memory_handle, true)); base 34 ui/gl/gl_image_shm.h scoped_ptr<base::SharedMemory> shared_memory_; base 33 ui/gl/gl_implementation.cc typedef std::vector<base::NativeLibrary> LibraryArray; base 51 ui/gl/gl_implementation.cc base::ThreadLocalPointer<GLApi>* g_current_gl_context_tls = NULL; base 106 ui/gl/gl_implementation.cc void AddGLNativeLibrary(base::NativeLibrary library) { base 111 ui/gl/gl_implementation.cc base::AtExitManager::RegisterCallback(CleanupNativeLibraries, NULL); base 131 ui/gl/gl_implementation.cc void* proc = base::GetFunctionPointerFromNativeLibrary((*g_libraries)[i], base 94 ui/gl/gl_implementation.h void AddGLNativeLibrary(base::NativeLibrary library); base 47 ui/gl/gl_implementation_android.cc base::NativeLibrary gles_library = LoadLibrary("libGLESv2.so"); base 52 ui/gl/gl_implementation_android.cc base::NativeLibrary egl_library = LoadLibrary("libEGL.so"); base 55 ui/gl/gl_implementation_android.cc base::UnloadNativeLibrary(gles_library); base 61 ui/gl/gl_implementation_android.cc base::GetFunctionPointerFromNativeLibrary( base 65 ui/gl/gl_implementation_android.cc base::UnloadNativeLibrary(egl_library); base 66 ui/gl/gl_implementation_android.cc base::UnloadNativeLibrary(gles_library); base 40 ui/gl/gl_implementation_mac.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 46 ui/gl/gl_implementation_mac.cc base::FilePath exe_path; base 47 ui/gl/gl_implementation_mac.cc if (!PathService::Get(base::FILE_EXE, &exe_path)) { base 51 ui/gl/gl_implementation_mac.cc base::FilePath bundle_path = base::mac::GetAppBundlePath(exe_path); base 56 ui/gl/gl_implementation_mac.cc base::FilePath build_dir_path = bundle_path.DirName(); base 57 ui/gl/gl_implementation_mac.cc base::FilePath osmesa_path = build_dir_path.Append("osmesa.so"); base 60 ui/gl/gl_implementation_mac.cc base::NativeLibrary library = base::LoadNativeLibrary(osmesa_path, NULL); base 68 ui/gl/gl_implementation_mac.cc base::GetFunctionPointerFromNativeLibrary( base 72 ui/gl/gl_implementation_mac.cc base::UnloadNativeLibrary(library); base 86 ui/gl/gl_implementation_mac.cc base::NativeLibrary library = base::LoadNativeLibrary( base 87 ui/gl/gl_implementation_mac.cc base::FilePath(kOpenGLFrameworkPath), NULL); base 19 ui/gl/gl_implementation_osmesa.cc base::NativeLibrary LoadLibrary(const base::FilePath& filename) { base 20 ui/gl/gl_implementation_osmesa.cc base::NativeLibraryLoadError error; base 21 ui/gl/gl_implementation_osmesa.cc base::NativeLibrary library = base::LoadNativeLibrary(filename, &error); base 30 ui/gl/gl_implementation_osmesa.cc base::NativeLibrary LoadLibrary(const char* filename) { base 31 ui/gl/gl_implementation_osmesa.cc return LoadLibrary(base::FilePath(filename)); base 35 ui/gl/gl_implementation_osmesa.cc base::FilePath module_path; base 36 ui/gl/gl_implementation_osmesa.cc if (!PathService::Get(base::DIR_MODULE, &module_path)) { base 41 ui/gl/gl_implementation_osmesa.cc base::FilePath library_path = module_path.Append("libosmesa.so"); base 42 ui/gl/gl_implementation_osmesa.cc base::NativeLibrary library = LoadLibrary(library_path); base 50 ui/gl/gl_implementation_osmesa.cc base::GetFunctionPointerFromNativeLibrary(library, base 54 ui/gl/gl_implementation_osmesa.cc base::UnloadNativeLibrary(library); base 14 ui/gl/gl_implementation_osmesa.h base::NativeLibrary LoadLibrary(const char* filename); base 15 ui/gl/gl_implementation_osmesa.h base::NativeLibrary LoadLibrary(const base::FilePath& filename); base 48 ui/gl/gl_implementation_ozone.cc base::Bind(&AddGLNativeLibrary), base 49 ui/gl/gl_implementation_ozone.cc base::Bind(&SetGLGetProcAddressProc))) base 50 ui/gl/gl_implementation_win.cc bool LoadD3DXLibrary(const base::FilePath& module_path, base 51 ui/gl/gl_implementation_win.cc const base::FilePath::StringType& name) { base 52 ui/gl/gl_implementation_win.cc base::NativeLibrary library = base 53 ui/gl/gl_implementation_win.cc base::LoadNativeLibrary(base::FilePath(name), NULL); base 55 ui/gl/gl_implementation_win.cc library = base::LoadNativeLibrary(module_path.Append(name), NULL); base 121 ui/gl/gl_implementation_win.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 125 ui/gl/gl_implementation_win.cc base::FilePath module_path; base 126 ui/gl/gl_implementation_win.cc if (!PathService::Get(base::DIR_MODULE, &module_path)) { base 131 ui/gl/gl_implementation_win.cc base::NativeLibrary library = base::LoadNativeLibrary( base 140 ui/gl/gl_implementation_win.cc base::GetFunctionPointerFromNativeLibrary( base 144 ui/gl/gl_implementation_win.cc base::UnloadNativeLibrary(library); base 157 ui/gl/gl_implementation_win.cc base::FilePath module_path; base 158 ui/gl/gl_implementation_win.cc if (!PathService::Get(base::DIR_MODULE, &module_path)) base 165 ui/gl/gl_implementation_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA || base 170 ui/gl/gl_implementation_win.cc base::FilePath gles_path; base 188 ui/gl/gl_implementation_win.cc base::NativeLibrary gles_library = base::LoadNativeLibrary( base 197 ui/gl/gl_implementation_win.cc base::NativeLibrary egl_library = base::LoadNativeLibrary( base 201 ui/gl/gl_implementation_win.cc base::UnloadNativeLibrary(gles_library); base 214 ui/gl/gl_implementation_win.cc base::GetFunctionPointerFromNativeLibrary( base 224 ui/gl/gl_implementation_win.cc base::GetFunctionPointerFromNativeLibrary( base 228 ui/gl/gl_implementation_win.cc base::UnloadNativeLibrary(egl_library); base 229 ui/gl/gl_implementation_win.cc base::UnloadNativeLibrary(gles_library); base 248 ui/gl/gl_implementation_win.cc base::NativeLibrary library = base::LoadNativeLibrary( base 249 ui/gl/gl_implementation_win.cc base::FilePath(L"opengl32.dll"), NULL); base 257 ui/gl/gl_implementation_win.cc base::GetFunctionPointerFromNativeLibrary( base 261 ui/gl/gl_implementation_win.cc base::UnloadNativeLibrary(library); base 61 ui/gl/gl_implementation_x11.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 67 ui/gl/gl_implementation_x11.cc base::NativeLibrary library = NULL; base 85 ui/gl/gl_implementation_x11.cc base::GetFunctionPointerFromNativeLibrary( base 89 ui/gl/gl_implementation_x11.cc base::UnloadNativeLibrary(library); base 102 ui/gl/gl_implementation_x11.cc base::NativeLibrary gles_library = LoadLibrary(kGLESv2LibraryName); base 107 ui/gl/gl_implementation_x11.cc base::NativeLibrary egl_library = LoadLibrary(kEGLLibraryName); base 110 ui/gl/gl_implementation_x11.cc base::UnloadNativeLibrary(gles_library); base 116 ui/gl/gl_implementation_x11.cc base::GetFunctionPointerFromNativeLibrary( base 120 ui/gl/gl_implementation_x11.cc base::UnloadNativeLibrary(egl_library); base 121 ui/gl/gl_implementation_x11.cc base::UnloadNativeLibrary(gles_library); base 19 ui/gl/gl_share_group.h class GL_EXPORT GLShareGroup : public base::RefCounted<GLShareGroup> { base 49 ui/gl/gl_share_group.h friend class base::RefCounted<GLShareGroup>; base 26 ui/gl/gl_surface.cc base::LazyInstance<base::ThreadLocalPointer<GLSurface> >::Leaky base 24 ui/gl/gl_surface.h class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { base 127 ui/gl/gl_surface.h friend class base::RefCounted<GLSurface>; base 164 ui/gl/gl_surface_egl.cc if (base::android::SysUtils::IsLowEndDevice()) { base 189 ui/gl/gl_surface_egl.cc if (base::android::SysUtils::IsLowEndDevice()) { base 206 ui/gl/gl_surface_egl.cc if (base::android::SysUtils::IsLowEndDevice()) { base 95 ui/gl/gl_surface_glx.cc : public base::Thread, base 96 ui/gl/gl_surface_glx.cc public base::NonThreadSafe, base 97 ui/gl/gl_surface_glx.cc public base::RefCounted<SGIVideoSyncThread> { base 110 ui/gl/gl_surface_glx.cc SGIVideoSyncThread() : base::Thread("SGI_video_sync") { base 130 ui/gl/gl_surface_glx.cc message_loop_(base::MessageLoopProxy::current()), base 145 ui/gl/gl_surface_glx.cc base::CancellationFlag* cancel_vsync_flag() { base 149 ui/gl/gl_surface_glx.cc base::Lock* vsync_lock() { base 183 ui/gl/gl_surface_glx.cc base::TimeTicks now; base 186 ui/gl/gl_surface_glx.cc base::AutoLock locked(vsync_lock_); base 198 ui/gl/gl_surface_glx.cc now = base::TimeTicks::HighResNow(); base 203 ui/gl/gl_surface_glx.cc const base::TimeDelta kDefaultInterval = base 204 ui/gl/gl_surface_glx.cc base::TimeDelta::FromSeconds(1) / 60; base 207 ui/gl/gl_surface_glx.cc FROM_HERE, base::Bind(callback, now, kDefaultInterval)); base 220 ui/gl/gl_surface_glx.cc scoped_refptr<base::MessageLoopProxy> message_loop_; base 222 ui/gl/gl_surface_glx.cc base::CancellationFlag cancel_vsync_flag_; base 223 ui/gl/gl_surface_glx.cc base::Lock vsync_lock_; base 230 ui/gl/gl_surface_glx.cc public base::SupportsWeakPtr<SGIVideoSyncVSyncProvider> { base 239 ui/gl/gl_surface_glx.cc base::Bind(&SGIVideoSyncProviderThreadShim::Initialize, base 240 ui/gl/gl_surface_glx.cc base::Unretained(shim_.get()))); base 245 ui/gl/gl_surface_glx.cc base::AutoLock locked(*vsync_lock_); base 263 ui/gl/gl_surface_glx.cc base::Bind(&SGIVideoSyncProviderThreadShim::GetVSyncParameters, base 264 ui/gl/gl_surface_glx.cc base::Unretained(shim_.get()), base 265 ui/gl/gl_surface_glx.cc base::Bind( base 272 ui/gl/gl_surface_glx.cc void PendingCallbackRunner(const base::TimeTicks timebase, base 273 ui/gl/gl_surface_glx.cc const base::TimeDelta interval) { base 289 ui/gl/gl_surface_glx.cc base::CancellationFlag* cancel_vsync_flag_; base 290 ui/gl/gl_surface_glx.cc base::Lock* vsync_lock_; base 308 ui/gl/gl_surface_glx.cc class XExposeEventForwarder : public base::MessagePumpObserver { base 317 ui/gl/gl_surface_glx.cc base::MessagePumpX11::Current()->AddObserver(this); base 331 ui/gl/gl_surface_glx.cc base::MessagePumpX11::Current()->RemoveObserver(this); base 335 ui/gl/gl_surface_glx.cc virtual base::EventStatus WillProcessEvent ( base 336 ui/gl/gl_surface_glx.cc const base::NativeEvent& xevent) OVERRIDE { base 338 ui/gl/gl_surface_glx.cc return base::EVENT_CONTINUE; base 343 ui/gl/gl_surface_glx.cc return base::EVENT_CONTINUE; base 350 ui/gl/gl_surface_glx.cc return base::EVENT_CONTINUE; base 352 ui/gl/gl_surface_glx.cc virtual void DidProcessEvent(const base::NativeEvent& xevent) OVERRIDE { base 361 ui/gl/gl_surface_glx.cc static base::LazyInstance<XExposeEventForwarder> g_xexpose_event_forwarder = base 389 ui/gl/gl_surface_glx.cc base::MessageLoop::current() && base 390 ui/gl/gl_surface_glx.cc base::MessageLoop::current()->type() == base::MessageLoop::TYPE_GPU; base 393 ui/gl/gl_surface_glx.cc g_display = base::MessagePumpX11::GetDefaultXDisplay(); base 395 ui/gl/gl_surface_glx.cc g_display = base::MessagePumpForUI::GetDefaultXDisplay(); base 397 ui/gl/gl_surface_glx.cc g_display = base::MessagePumpForUI::GetDefaultXDisplay(); base 68 ui/gl/gl_surface_win.cc base::TimeTicks timebase; base 81 ui/gl/gl_surface_win.cc base::TimeDelta interval = base::TimeDelta::FromMicroseconds( base 83 ui/gl/gl_surface_win.cc base::Time::kMicrosecondsPerSecond / base 240 ui/gl/gl_surface_win.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) base 82 ui/gl/gl_surface_x11.cc xdisplay_(base::MessagePumpForUI::GetDefaultXDisplay()), base 97 ui/gl/gl_surface_x11.cc if (!base::MessagePumpForUI::GetDefaultXDisplay()) { base 344 ui/gl/gl_surface_x11.cc return base::MessagePumpForUI::GetDefaultXDisplay(); base 91 ui/gl/gpu_switching_manager.cc if (flag && !base::mac::IsOSLionOrLater()) base 11 ui/gl/scoped_cgl.cc : previous_context_(CGLGetCurrentContext(), base::scoped_policy::RETAIN) { base 13 ui/gl/scoped_cgl.h namespace base { base 49 ui/gl/scoped_cgl.h base::ScopedTypeRef<CGLContextObj> previous_context_; base 15 ui/gl/sync_control_vsync_provider.cc const int64 kMinVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 400; base 16 ui/gl/sync_control_vsync_provider.cc const int64 kMaxVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 10; base 31 ui/gl/sync_control_vsync_provider.cc last_good_interval_ = base::TimeDelta::FromSeconds(1) / 60; base 39 ui/gl/sync_control_vsync_provider.cc base::TimeTicks timebase; base 71 ui/gl/sync_control_vsync_provider.cc real_time.tv_sec * base::Time::kMicrosecondsPerSecond + base 72 ui/gl/sync_control_vsync_provider.cc real_time.tv_nsec / base::Time::kNanosecondsPerMicrosecond; base 74 ui/gl/sync_control_vsync_provider.cc monotonic_time.tv_sec * base::Time::kMicrosecondsPerSecond + base 75 ui/gl/sync_control_vsync_provider.cc monotonic_time.tv_nsec / base::Time::kNanosecondsPerMicrosecond; base 98 ui/gl/sync_control_vsync_provider.cc base::Time::kMicrosecondsPerSecond) base 101 ui/gl/sync_control_vsync_provider.cc timebase = base::TimeTicks::FromInternalValue(system_time); base 109 ui/gl/sync_control_vsync_provider.cc last_computed_intervals_.push(base::TimeDelta::FromSeconds(denominator) / base 112 ui/gl/sync_control_vsync_provider.cc base::TimeDelta timebase_diff = timebase - last_timebase_; base 119 ui/gl/sync_control_vsync_provider.cc const base::TimeDelta& old_interval = last_computed_intervals_.front(); base 120 ui/gl/sync_control_vsync_provider.cc const base::TimeDelta& new_interval = last_computed_intervals_.back(); base 31 ui/gl/sync_control_vsync_provider.h base::TimeTicks last_timebase_; base 33 ui/gl/sync_control_vsync_provider.h base::TimeDelta last_good_interval_; base 40 ui/gl/sync_control_vsync_provider.h std::queue<base::TimeDelta> last_computed_intervals_; base 24 ui/keyboard/keyboard.cc base::FilePath pak_dir; base 25 ui/keyboard/keyboard.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 26 ui/keyboard/keyboard.cc base::FilePath pak_file = pak_dir.Append( base 120 ui/keyboard/keyboard_controller.cc if (!base::SysInfo::IsRunningOnChromeOS()) base 123 ui/keyboard/keyboard_controller.cc base::FilePath("/opt/google/touchscreen/toggle_touch_event_logging")); base 129 ui/keyboard/keyboard_controller.cc base::LaunchProcess(command, base::LaunchOptions(), NULL); base 142 ui/keyboard/keyboard_controller.cc base::Callback<void(void)> callback); base 154 ui/keyboard/keyboard_controller.cc base::Callback<void(void)> callback_; base 160 ui/keyboard/keyboard_controller.cc ui::LayerAnimator* animator, base::Callback<void(void)> callback) base 240 ui/keyboard/keyboard_controller.cc base::Bind(&KeyboardController::HideAnimationFinished, base 241 ui/keyboard/keyboard_controller.cc base::Unretained(this)))); base 247 ui/keyboard/keyboard_controller.cc base::TimeDelta::FromMilliseconds(kAnimationDurationMs)); base 296 ui/keyboard/keyboard_controller.cc base::MessageLoop::current()->PostDelayedTask( base 298 ui/keyboard/keyboard_controller.cc base::Bind(&KeyboardController::HideKeyboard, base 300 ui/keyboard/keyboard_controller.cc base::TimeDelta::FromMilliseconds(kHideKeyboardDelayMs)); base 383 ui/keyboard/keyboard_controller.cc base::Bind(&KeyboardController::ShowAnimationFinished, base 384 ui/keyboard/keyboard_controller.cc base::Unretained(this)))); base 395 ui/keyboard/keyboard_controller.cc base::TimeDelta::FromMilliseconds(kAnimationDurationMs)); base 132 ui/keyboard/keyboard_controller.h base::WeakPtrFactory<KeyboardController> weak_factory_; base 46 ui/keyboard/keyboard_controller_unittest.cc base::TimeTicks step_time = controller.animator()->last_step_time(); base 47 ui/keyboard/keyboard_controller_unittest.cc element->Step(step_time + base::TimeDelta::FromMilliseconds(1000)); base 148 ui/keyboard/keyboard_controller_unittest.cc base::MessageLoop::current()->Quit(); base 204 ui/keyboard/keyboard_controller_unittest.cc base::MessageLoopForUI message_loop_; base 339 ui/keyboard/keyboard_controller_unittest.cc base::MessageLoop::current()->Run(); base 392 ui/keyboard/keyboard_controller_unittest.cc base::MessageLoop::current()->Run(); base 39 ui/keyboard/keyboard_util.cc base::LazyInstance<base::Time> g_keyboard_load_time_start = base 44 ui/keyboard/keyboard_util.cc base::LazyInstance<GURL> g_override_content_url = LAZY_INSTANCE_INITIALIZER; base 126 ui/keyboard/keyboard_util.cc bool InsertText(const base::string16& text, aura::Window* root_window) { base 246 ui/keyboard/keyboard_util.cc g_keyboard_load_time_start.Get() = base::Time::Now(); base 264 ui/keyboard/keyboard_util.cc base::Time::Now() - g_keyboard_load_time_start.Get()); base 327 ui/keyboard/keyboard_util.cc DCHECK_EQ(base::MessageLoop::current()->type(), base::MessageLoop::TYPE_UI); base 332 ui/keyboard/keyboard_util.cc DCHECK_EQ(base::MessageLoop::current()->type(), base::MessageLoop::TYPE_UI); base 74 ui/keyboard/keyboard_util.h KEYBOARD_EXPORT bool InsertText(const base::string16& text, base 17 ui/keyboard/test/run_all_unittests.cc class KeyboardTestSuite : public base::TestSuite { base 19 ui/keyboard/test/run_all_unittests.cc KeyboardTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {} base 23 ui/keyboard/test/run_all_unittests.cc base::TestSuite::Initialize(); base 27 ui/keyboard/test/run_all_unittests.cc base::FilePath pak_dir; base 28 ui/keyboard/test/run_all_unittests.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 30 ui/keyboard/test/run_all_unittests.cc base::FilePath pak_file; base 38 ui/keyboard/test/run_all_unittests.cc base::TestSuite::Shutdown(); base 50 ui/keyboard/test/run_all_unittests.cc return base::LaunchUnitTests( base 53 ui/keyboard/test/run_all_unittests.cc base::Bind(&KeyboardTestSuite::Run, base::Unretained(&test_suite))); base 38 ui/message_center/cocoa/notification_controller.h base::scoped_nsobject<HoverImageButton> closeButton_; base 41 ui/message_center/cocoa/notification_controller.h base::scoped_nsobject<NSImageView> smallImage_; base 44 ui/message_center/cocoa/notification_controller.h base::scoped_nsobject<NSImageView> icon_; base 47 ui/message_center/cocoa/notification_controller.h base::scoped_nsobject<NSTextView> title_; base 50 ui/message_center/cocoa/notification_controller.h base::scoped_nsobject<NSTextView> message_; base 53 ui/message_center/cocoa/notification_controller.h base::scoped_nsobject<NSTextView> contextMessage_; base 56 ui/message_center/cocoa/notification_controller.h base::scoped_nsobject<NSView> listView_; base 59 ui/message_center/cocoa/notification_controller.h base::scoped_nsobject<NSProgressIndicator> progressBarView_; base 62 ui/message_center/cocoa/notification_controller.h base::scoped_nsobject<NSView> bottomView_; base 40 ui/message_center/cocoa/popup_collection.h base::scoped_nsobject<NSMutableArray> popups_; base 44 ui/message_center/cocoa/popup_collection.h base::scoped_nsobject<NSMutableArray> popupsBeingRemoved_; base 67 ui/message_center/cocoa/popup_collection.h base::mac::ScopedBlock<message_center::AnimationEndedCallback> base 37 ui/message_center/cocoa/popup_controller.h base::scoped_nsobject<MCNotificationController> notificationController_; base 54 ui/message_center/cocoa/popup_controller.h base::scoped_nsobject<NSViewAnimation> boundsAnimation_; base 50 ui/message_center/cocoa/settings_controller.h base::scoped_nsobject<NSTextField> settingsText_; base 53 ui/message_center/cocoa/settings_controller.h base::scoped_nsobject<NSTextField> detailsText_; base 56 ui/message_center/cocoa/settings_controller.h base::scoped_nsobject<NSPopUpButton> groupDropDownButton_; base 59 ui/message_center/cocoa/settings_controller.h base::scoped_nsobject<NSScrollView> scrollView_; base 29 ui/message_center/cocoa/settings_entry_view.h base::scoped_nsobject<NSImage> notifierIcon_; base 33 ui/message_center/cocoa/settings_entry_view.h base::scoped_nsobject<HoverImageButton> learnMoreButton_; base 36 ui/message_center/cocoa/settings_entry_view.h base::scoped_nsobject<NSButton> checkbox_; base 40 ui/message_center/cocoa/settings_entry_view.h base::scoped_nsobject<NSBox> separator_; base 30 ui/message_center/cocoa/status_item_view.h base::scoped_nsobject<NSStatusItem> statusItem_; base 33 ui/message_center/cocoa/status_item_view.h base::mac::ScopedBlock<message_center::StatusItemClickedCallback> callback_; base 28 ui/message_center/cocoa/tray_controller.h base::scoped_nsobject<MCTrayViewController> viewController_; base 44 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<HoverImageButton> backButton_; base 47 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<NSTextField> title_; base 50 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<NSBox> divider_; base 53 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<NSTextField> emptyDescription_; base 56 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<NSScrollView> scrollView_; base 59 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<MCClipView> clipView_; base 62 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<NSMutableArray> notifications_; base 69 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<HoverImageButton> pauseButton_; base 72 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<HoverImageButton> clearAllButton_; base 75 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<HoverImageButton> settingsButton_; base 79 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<NSMutableArray> notificationsPendingRemoval_; base 83 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<NSViewAnimation> animation_; base 86 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<MCSettingsController> settingsController_; base 102 ui/message_center/cocoa/tray_view_controller.h base::scoped_nsobject<NSMutableArray> clearAllAnimations_; base 113 ui/message_center/cocoa/tray_view_controller.h base::mac::ScopedBlock<message_center::TrayAnimationEndedCallback> base 124 ui/message_center/fake_message_center.cc const base::TimeDelta& expires_in) { base 65 ui/message_center/fake_message_center.h const base::TimeDelta& expires_in) OVERRIDE; base 14 ui/message_center/fake_message_center_tray_delegate.cc base::Closure quit_closure) base 53 ui/message_center/fake_message_center_tray_delegate.cc base::MessageLoop::current()->PostTask(FROM_HERE, quit_closure_); base 22 ui/message_center/fake_message_center_tray_delegate.h base::Closure quit_closure); base 42 ui/message_center/fake_message_center_tray_delegate.h base::Closure quit_closure_; base 30 ui/message_center/fake_notifier_settings_provider.cc base::UTF8ToUTF16("Fake name"), base 31 ui/message_center/fake_notifier_settings_provider.cc base::UTF8ToUTF16("fake@email.com"), base 18 ui/message_center/message_center.h namespace base { base 146 ui/message_center/message_center.h virtual void EnterQuietModeWithExpire(const base::TimeDelta& expires_in) = 0; base 21 ui/message_center/message_center_impl.cc base::TimeDelta GetTimeoutForPriority(int priority) { base 23 ui/message_center/message_center_impl.cc return base::TimeDelta::FromSeconds( base 26 ui/message_center/message_center_impl.cc return base::TimeDelta::FromSeconds( base 237 ui/message_center/message_center_impl.cc base::TimeDelta timeout, base 238 ui/message_center/message_center_impl.cc base::WeakPtr<PopupTimersController> controller) base 242 ui/message_center/message_center_impl.cc timer_(new base::OneShotTimer<PopupTimersController>) {} base 255 ui/message_center/message_center_impl.cc base::TimeDelta timeout_to_close = base 256 ui/message_center/message_center_impl.cc timeout_ <= passed_ ? base::TimeDelta() : timeout_ - passed_; base 257 ui/message_center/message_center_impl.cc start_time_ = base::Time::Now(); base 261 ui/message_center/message_center_impl.cc base::Bind( base 270 ui/message_center/message_center_impl.cc passed_ += base::Time::Now() - start_time_; base 276 ui/message_center/message_center_impl.cc passed_ = base::TimeDelta(); base 292 ui/message_center/message_center_impl.cc const base::TimeDelta& timeout) { base 314 ui/message_center/message_center_impl.cc const base::TimeDelta& timeout) { base 757 ui/message_center/message_center_impl.cc Notifier notifier(notifier_id, base::string16(), true); base 848 ui/message_center/message_center_impl.cc const base::TimeDelta& expires_in) { base 858 ui/message_center/message_center_impl.cc quiet_mode_timer_.reset(new base::OneShotTimer<MessageCenterImpl>); base 862 ui/message_center/message_center_impl.cc base::Bind( base 863 ui/message_center/message_center_impl.cc &MessageCenterImpl::SetQuietMode, base::Unretained(this), false)); base 37 ui/message_center/message_center_impl.h base::TimeDelta timeout, base 38 ui/message_center/message_center_impl.h base::WeakPtr<PopupTimersController> controller); base 53 ui/message_center/message_center_impl.h base::TimeDelta get_timeout() const { return timeout_; } base 60 ui/message_center/message_center_impl.h base::TimeDelta timeout_; base 63 ui/message_center/message_center_impl.h base::TimeDelta passed_; base 66 ui/message_center/message_center_impl.h base::Time start_time_; base 69 ui/message_center/message_center_impl.h base::WeakPtr<PopupTimersController> timer_controller_; base 72 ui/message_center/message_center_impl.h scoped_ptr<base::OneShotTimer<PopupTimersController> > timer_; base 81 ui/message_center/message_center_impl.h : public base::SupportsWeakPtr<PopupTimersController>, base 107 ui/message_center/message_center_impl.h const base::TimeDelta& timeout_in_seconds); base 111 ui/message_center/message_center_impl.h const base::TimeDelta& timeout_in_seconds); base 186 ui/message_center/message_center_impl.h const base::TimeDelta& expires_in) OVERRIDE; base 213 ui/message_center/message_center_impl.h scoped_ptr<base::OneShotTimer<MessageCenterImpl> > quiet_mode_timer_; base 19 ui/message_center/message_center_impl_unittest.cc using base::UTF8ToUTF16; base 32 ui/message_center/message_center_impl_unittest.cc loop_.reset(new base::MessageLoop); base 33 ui/message_center/message_center_impl_unittest.cc run_loop_.reset(new base::RunLoop()); base 45 ui/message_center/message_center_impl_unittest.cc base::RunLoop* run_loop() const { return run_loop_.get(); } base 46 ui/message_center/message_center_impl_unittest.cc base::Closure closure() const { return closure_; } base 63 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 71 ui/message_center/message_center_impl_unittest.cc scoped_ptr<base::MessageLoop> loop_; base 72 ui/message_center/message_center_impl_unittest.cc scoped_ptr<base::RunLoop> run_loop_; base 73 ui/message_center/message_center_impl_unittest.cc base::Closure closure_; base 172 ui/message_center/message_center_impl_unittest.cc base::Closure quit_closure) base 179 ui/message_center/message_center_impl_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, quit_closure_); base 190 ui/message_center/message_center_impl_unittest.cc base::Closure quit_closure_; base 211 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 221 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 233 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 245 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 257 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 270 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(5)); base 272 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 274 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(3)); base 288 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(5)); base 290 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 292 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(3)); base 306 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(5)); base 308 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(1)); base 310 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(3)); base 313 ui/message_center/message_center_impl_unittest.cc base::TimeDelta::FromMilliseconds(2)); base 334 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 344 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 390 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 405 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 434 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 444 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 463 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 473 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 506 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 516 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 535 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 545 ui/message_center/message_center_impl_unittest.cc base::string16() /* display_source */, base 31 ui/message_center/message_center_tray.cc const base::string16& display_source); base 51 ui/message_center/message_center_tray.cc const base::string16& display_source) base 201 ui/message_center/message_center_tray.cc const base::string16& display_source) { base 66 ui/message_center/message_center_tray.h const base::string16& display_source); base 13 ui/message_center/message_center_tray_unittest.cc using base::ASCIIToUTF16; base 257 ui/message_center/message_center_tray_unittest.cc base::string16 display_source = ASCIIToUTF16("www.test.org"); base 267 ui/message_center/message_center_tray_unittest.cc base::string16() /* empty display source */, base 303 ui/message_center/message_center_tray_unittest.cc notifier_id2, base::string16()); base 17 ui/message_center/notification.cc NotificationItem::NotificationItem(const base::string16& title, base 18 ui/message_center/notification.cc const base::string16& message) base 23 ui/message_center/notification.cc ButtonInfo::ButtonInfo(const base::string16& title) base 30 ui/message_center/notification.cc timestamp(base::Time::Now()), base 53 ui/message_center/notification.cc const base::string16& title, base 54 ui/message_center/notification.cc const base::string16& message, base 56 ui/message_center/notification.cc const base::string16& display_source, base 110 ui/message_center/notification.cc void Notification::CopyState(Notification* base) { base 111 ui/message_center/notification.cc shown_as_popup_ = base->shown_as_popup(); base 112 ui/message_center/notification.cc is_read_ = base->is_read_; base 114 ui/message_center/notification.cc delegate_ = base->delegate(); base 115 ui/message_center/notification.cc optional_fields_.never_timeout = base->never_timeout(); base 132 ui/message_center/notification.cc const base::string16& title, base 133 ui/message_center/notification.cc const base::string16& message, base 136 ui/message_center/notification.cc const base::Closure& click_callback) { base 144 ui/message_center/notification.cc base::string16() /* display_source */, base 23 ui/message_center/notification.h base::string16 title; base 24 ui/message_center/notification.h base::string16 message; base 26 ui/message_center/notification.h NotificationItem(const base::string16& title, const base::string16& message); base 30 ui/message_center/notification.h base::string16 title; base 33 ui/message_center/notification.h ButtonInfo(const base::string16& title); base 44 ui/message_center/notification.h base::Time timestamp; base 45 ui/message_center/notification.h base::string16 context_message; base 59 ui/message_center/notification.h const base::string16& title, base 60 ui/message_center/notification.h const base::string16& message, base 62 ui/message_center/notification.h const base::string16& display_source, base 73 ui/message_center/notification.h void CopyState(Notification* base); base 80 ui/message_center/notification.h const base::string16& title() const { return title_; } base 81 ui/message_center/notification.h void set_title(const base::string16& title) { title_ = title; } base 83 ui/message_center/notification.h const base::string16& message() const { return message_; } base 84 ui/message_center/notification.h void set_message(const base::string16& message) { message_ = message; } base 87 ui/message_center/notification.h const base::string16& display_source() const { return display_source_; } base 99 ui/message_center/notification.h base::Time timestamp() const { return optional_fields_.timestamp; } base 100 ui/message_center/notification.h void set_timestamp(const base::Time& timestamp) { base 104 ui/message_center/notification.h const base::string16& context_message() const { base 107 ui/message_center/notification.h void set_context_message(const base::string16& context_message) { base 191 ui/message_center/notification.h const base::string16& title, base 192 ui/message_center/notification.h const base::string16& message, base 195 ui/message_center/notification.h const base::Closure& click_callback); base 202 ui/message_center/notification.h base::string16 title_; base 203 ui/message_center/notification.h base::string16 message_; base 210 ui/message_center/notification.h base::string16 display_source_; base 14 ui/message_center/notification_delegate.cc const base::Closure& closure) base 24 ui/message_center/notification_delegate.h : public base::RefCountedThreadSafe<NotificationDelegate> { base 52 ui/message_center/notification_delegate.h friend class base::RefCountedThreadSafe<NotificationDelegate>; base 59 ui/message_center/notification_delegate.h explicit HandleNotificationClickedDelegate(const base::Closure& closure); base 74 ui/message_center/notification_delegate.h base::Closure closure_; base 47 ui/message_center/notification_delegate_unittest.cc base::Bind(&NotificationDelegateTest::ClickCallback, base 48 ui/message_center/notification_delegate_unittest.cc base::Unretained(this)))); base 61 ui/message_center/notification_delegate_unittest.cc new HandleNotificationClickedDelegate(base::Closure())); base 22 ui/message_center/notification_list.h namespace base { base 124 ui/message_center/notification_list.h void EnterQuietModeWithExpire(const base::TimeDelta& expires_in); base 18 ui/message_center/notification_list_unittest.cc using base::UTF8ToUTF16; base 54 ui/message_center/notification_list_unittest.cc *id_out = base::StringPrintf(kIdFormat, counter_); base 58 ui/message_center/notification_list_unittest.cc UTF8ToUTF16(base::StringPrintf(kTitleFormat, counter_)), base 59 ui/message_center/notification_list_unittest.cc UTF8ToUTF16(base::StringPrintf(kMessageFormat, counter_)), base 532 ui/message_center/notification_list_unittest.cc base::Time now = base::Time::Now(); base 538 ui/message_center/notification_list_unittest.cc now += base::TimeDelta::FromSeconds(1); base 543 ui/message_center/notification_list_unittest.cc now += base::TimeDelta::FromSeconds(1); base 675 ui/message_center/notification_list_unittest.cc base::string16(), base 710 ui/message_center/notification_list_unittest.cc base::string16(), base 54 ui/message_center/notifier_settings.cc const base::string16& name, base 65 ui/message_center/notifier_settings.cc const base::string16& name, base 66 ui/message_center/notifier_settings.cc const base::string16& login_info, base 88 ui/message_center/notifier_settings.h const base::string16& name, base 96 ui/message_center/notifier_settings.h base::string16 name; base 110 ui/message_center/notifier_settings.h const base::string16& name, base 111 ui/message_center/notifier_settings.h const base::string16& login_info, base 119 ui/message_center/notifier_settings.h const base::string16 name; base 122 ui/message_center/notifier_settings.h base::string16 login_info; base 20 ui/message_center/test/run_all_unittests.cc class MessageCenterTestSuite : public base::TestSuite { base 22 ui/message_center/test/run_all_unittests.cc MessageCenterTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {} base 29 ui/message_center/test/run_all_unittests.cc base::TestSuite::Initialize(); base 32 ui/message_center/test/run_all_unittests.cc base::FilePath pak_dir; base 33 ui/message_center/test/run_all_unittests.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 35 ui/message_center/test/run_all_unittests.cc base::FilePath pak_file; base 43 ui/message_center/test/run_all_unittests.cc base::TestSuite::Shutdown(); base 55 ui/message_center/test/run_all_unittests.cc return base::LaunchUnitTests( base 58 ui/message_center/test/run_all_unittests.cc base::Bind(&MessageCenterTestSuite::Run, base::Unretained(&test_suite))); base 44 ui/message_center/views/bounded_label.cc std::vector<base::string16> GetWrappedText(int width, int lines); base 61 ui/message_center/views/bounded_label.cc base::string16 wrapped_text_; base 112 ui/message_center/views/bounded_label.cc std::vector<base::string16> wrapped = GetWrappedText(text_width, lines); base 124 ui/message_center/views/bounded_label.cc std::vector<base::string16> InnerBoundedLabel::GetWrappedText(int width, base 128 ui/message_center/views/bounded_label.cc return std::vector<base::string16>(); base 145 ui/message_center/views/bounded_label.cc 2 * gfx::GetStringWidth(base::UTF8ToUTF16("W"), base 149 ui/message_center/views/bounded_label.cc std::vector<base::string16> wrapped; base 159 ui/message_center/views/bounded_label.cc base::string16 last = base 160 ui/message_center/views/bounded_label.cc wrapped[lines - 1] + base::UTF8ToUTF16(gfx::kEllipsis); base 202 ui/message_center/views/bounded_label.cc base::i18n::TextDirection direction = base 203 ui/message_center/views/bounded_label.cc base::i18n::GetFirstStrongCharacterDirection(text()); base 204 ui/message_center/views/bounded_label.cc if (direction == base::i18n::RIGHT_TO_LEFT) base 266 ui/message_center/views/bounded_label.cc BoundedLabel::BoundedLabel(const base::string16& text, base 274 ui/message_center/views/bounded_label.cc BoundedLabel::BoundedLabel(const base::string16& text) base 348 ui/message_center/views/bounded_label.cc base::string16 BoundedLabel::GetWrappedTextForTest(int width, int lines) { base 36 ui/message_center/views/bounded_label.h BoundedLabel(const base::string16& text, const gfx::FontList& font_list); base 37 ui/message_center/views/bounded_label.h BoundedLabel(const base::string16& text); base 67 ui/message_center/views/bounded_label.h base::string16 GetWrappedTextForTest(int width, int lines); base 26 ui/message_center/views/bounded_label_unittest.cc digit_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("0"), font_list_); base 27 ui/message_center/views/bounded_label_unittest.cc space_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16(" "), font_list_); base 28 ui/message_center/views/bounded_label_unittest.cc ellipsis_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("\xE2\x80\xA6"), base 38 ui/message_center/views/bounded_label_unittest.cc base::string16 ToString(const char* string) { base 39 ui/message_center/views/bounded_label_unittest.cc const base::string16 periods = base::UTF8ToUTF16("..."); base 40 ui/message_center/views/bounded_label_unittest.cc const base::string16 ellipses = base::UTF8ToUTF16("\xE2\x80\xA6"); base 41 ui/message_center/views/bounded_label_unittest.cc base::string16 result = base::UTF8ToUTF16(string); base 61 ui/message_center/views/bounded_label_unittest.cc base::string16 GetWrappedText(int width) { base 74 ui/message_center/views/bounded_label_unittest.cc BoundedLabelTest& Label(base::string16 text, int lines) { base 46 ui/message_center/views/message_bubble_base.cc base::MessageLoop::current()->PostDelayedTask( base 48 ui/message_center/views/message_bubble_base.cc base::Bind(&MessageBubbleBase::UpdateBubbleView, base 50 ui/message_center/views/message_bubble_base.cc base::TimeDelta::FromMilliseconds(kUpdateDelayMs)); base 73 ui/message_center/views/message_bubble_base.h base::WeakPtrFactory<MessageBubbleBase> weak_ptr_factory_; base 31 ui/message_center/views/message_center_bubble.cc base::WeakPtr<MessageCenterBubble> bubble_; base 21 ui/message_center/views/message_center_bubble.h public base::SupportsWeakPtr<MessageCenterBubble> { base 260 ui/message_center/views/message_center_button_bar.cc message_center()->EnterQuietModeWithExpire(base::TimeDelta::FromDays(1)); base 28 ui/message_center/views/message_center_controller.h const base::string16& display_source) = 0; base 168 ui/message_center/views/message_center_view.cc base::WeakPtrFactory<MessageListView> weak_ptr_factory_; base 526 ui/message_center/views/message_center_view.cc base::MessageLoop::current()->PostDelayedTask( base 528 ui/message_center/views/message_center_view.cc base::Bind(&MessageListView::AnimateClearingOneNotification, base 530 ui/message_center/views/message_center_view.cc base::TimeDelta::FromMilliseconds( base 674 ui/message_center/views/message_center_view.cc parts, base::TimeDelta::FromMicroseconds(1000000 / kDefaultFrameRateHz))); base 916 ui/message_center/views/message_center_view.cc const base::string16& display_source) { base 87 ui/message_center/views/message_center_view.h const base::string16& display_source) OVERRIDE; base 103 ui/message_center/views/message_center_view_unittest.cc const base::string16& display_source) OVERRIDE; base 134 ui/message_center/views/message_center_view_unittest.cc base::UTF8ToUTF16("title"), base 135 ui/message_center/views/message_center_view_unittest.cc base::UTF8ToUTF16("message"), base 137 ui/message_center/views/message_center_view_unittest.cc base::UTF8ToUTF16("display source"), base 191 ui/message_center/views/message_center_view_unittest.cc const base::string16& display_source) { base 214 ui/message_center/views/message_center_view_unittest.cc base::string16 inset; base 216 ui/message_center/views/message_center_view_unittest.cc inset.append(base::UTF8ToUTF16(" ")); base 77 ui/message_center/views/message_popup_collection.cc defer_timer_.reset(new base::OneShotTimer<MessagePopupCollection>); base 104 ui/message_center/views/message_popup_collection.cc const base::string16& display_source) { base 137 ui/message_center/views/message_popup_collection.cc int base = GetBaseLine(toasts_.empty() ? NULL : toasts_.back()); base 152 ui/message_center/views/message_popup_collection.cc int height_available = top_down ? work_area_.bottom() - base : base; base 167 ui/message_center/views/message_popup_collection.cc gfx::Point origin(GetToastOriginX(gfx::Rect(preferred_size)), base); base 181 ui/message_center/views/message_popup_collection.cc base += view_height + kToastMarginY; base 183 ui/message_center/views/message_popup_collection.cc base -= view_height + kToastMarginY; base 215 ui/message_center/views/message_popup_collection.cc base::TimeDelta::FromMilliseconds(kMouseExitedDeferTimeoutMs), base 261 ui/message_center/views/message_popup_collection.cc if (base::i18n::IsRTL()) base 271 ui/message_center/views/message_popup_collection.cc int base = GetBaseLine(NULL); // We don't want to position relative to last base 278 ui/message_center/views/message_popup_collection.cc bounds.set_y(alignment_ & POPUP_ALIGNMENT_TOP ? base base 279 ui/message_center/views/message_popup_collection.cc : base - bounds.height()); base 293 ui/message_center/views/message_popup_collection.cc base += bounds.height() + kToastMarginY; base 295 ui/message_center/views/message_popup_collection.cc base -= bounds.height() + kToastMarginY; base 363 ui/message_center/views/message_popup_collection.cc int base; base 367 ui/message_center/views/message_popup_collection.cc base = work_area_.y(); base 369 ui/message_center/views/message_popup_collection.cc base += kToastMarginY; base 371 ui/message_center/views/message_popup_collection.cc base -= kNoToastMarginBorderAndShadowOffset; base 373 ui/message_center/views/message_popup_collection.cc base = toasts_.back()->bounds().bottom() + kToastMarginY; base 377 ui/message_center/views/message_popup_collection.cc base = work_area_.bottom(); base 379 ui/message_center/views/message_popup_collection.cc base -= kToastMarginY; base 381 ui/message_center/views/message_popup_collection.cc base += kNoToastMarginBorderAndShadowOffset; base 383 ui/message_center/views/message_popup_collection.cc base = toasts_.back()->origin().y() - kToastMarginY; base 386 ui/message_center/views/message_popup_collection.cc return base; base 592 ui/message_center/views/message_popup_collection.cc run_loop_for_test_.reset(new base::RunLoop()); base 25 ui/message_center/views/message_popup_collection.h namespace base { base 84 ui/message_center/views/message_popup_collection.h const base::string16& display_source) OVERRIDE; base 208 ui/message_center/views/message_popup_collection.h scoped_ptr<base::OneShotTimer<MessagePopupCollection> > defer_timer_; base 215 ui/message_center/views/message_popup_collection.h scoped_ptr<base::RunLoop> run_loop_for_test_; base 224 ui/message_center/views/message_popup_collection.h base::WeakPtrFactory<MessagePopupCollection> weak_factory_; base 86 ui/message_center/views/message_popup_collection_unittest.cc std::string id = base::IntToString(id_++); base 90 ui/message_center/views/message_popup_collection_unittest.cc base::UTF8ToUTF16("test title"), base 91 ui/message_center/views/message_popup_collection_unittest.cc base::UTF8ToUTF16("test message"), base 93 ui/message_center/views/message_popup_collection_unittest.cc base::string16() /* display_source */, base 43 ui/message_center/views/message_view.cc const base::string16& display_source) base 53 ui/message_center/views/message_view.h const base::string16& display_source); base 65 ui/message_center/views/message_view.h void set_accessible_name(const base::string16& accessible_name) { base 89 ui/message_center/views/message_view.h const base::string16& display_source() const { return display_source_; } base 108 ui/message_center/views/message_view.h base::string16 accessible_name_; base 110 ui/message_center/views/message_view.h base::string16 display_source_; base 57 ui/message_center/views/notification_button.cc void NotificationButton::SetTitle(const base::string16& title) { base 27 ui/message_center/views/notification_button.h void SetTitle(const base::string16& title); base 308 ui/message_center/views/notification_view.cc std::vector<base::string16> accessible_lines; base 390 ui/message_center/views/notification_view.cc items[i].title + base::ASCIIToUTF16(" ") + items[i].message); base 298 ui/message_center/views/notifier_settings_view.cc checkbox_(new views::Checkbox(base::string16())), base 582 ui/message_center/views/notifier_settings_view.cc base::string16 notifier_group_text = active_group.login_info.empty() ? base 18 ui/message_center/views/notifier_settings_view_unittest.cc return new Notifier(notifier_id, base::UTF8ToUTF16(title), enabled); base 50 ui/message_center/views/toast_contents_view.cc base::WeakPtr<MessagePopupCollection> collection) base 301 ui/message_center/views/toast_contents_view.cc const base::string16& display_source) { base 45 ui/message_center/views/toast_contents_view.h base::WeakPtr<MessagePopupCollection> collection); base 84 ui/message_center/views/toast_contents_view.h const base::string16& display_source) OVERRIDE; base 116 ui/message_center/views/toast_contents_view.h base::WeakPtr<MessagePopupCollection> collection_; base 31 ui/metro_viewer/ime_types.h base::string16 text; base 88 ui/metro_viewer/metro_viewer_messages.h base::FilePath, /* filename */ base 94 ui/metro_viewer/metro_viewer_messages.h base::FilePath) /* filename */ base 98 ui/metro_viewer/metro_viewer_messages.h std::vector<base::FilePath>) /* filenames */ base 103 ui/metro_viewer/metro_viewer_messages.h base::FilePath) /* filepath*/ base 109 ui/metro_viewer/metro_viewer_messages.h base::FilePath /* shortcut */, base 117 ui/metro_viewer/metro_viewer_messages.h base::FilePath, /* shortcut */ base 118 ui/metro_viewer/metro_viewer_messages.h base::string16 /* url */); base 129 ui/metro_viewer/metro_viewer_messages.h IPC_STRUCT_MEMBER(base::string16, title) base 132 ui/metro_viewer/metro_viewer_messages.h IPC_STRUCT_MEMBER(base::FilePath, suggested_name) base 135 ui/metro_viewer/metro_viewer_messages.h IPC_STRUCT_MEMBER(base::string16, filter) base 141 ui/metro_viewer/metro_viewer_messages.h IPC_STRUCT_MEMBER(base::string16, default_extension) base 151 ui/metro_viewer/metro_viewer_messages.h base::string16, /* title */ base 152 ui/metro_viewer/metro_viewer_messages.h base::string16, /* filter */ base 153 ui/metro_viewer/metro_viewer_messages.h base::FilePath, /* Default path */ base 158 ui/metro_viewer/metro_viewer_messages.h base::string16) /* title */ base 170 ui/metro_viewer/metro_viewer_messages.h base::string16) /* url */ base 173 ui/metro_viewer/metro_viewer_messages.h base::string16) /* search_string */ base 191 ui/metro_viewer/metro_viewer_messages.h base::string16, /* text */ base 204 ui/metro_viewer/metro_viewer_messages.h base::string16) /* text */ base 333 ui/native_theme/native_theme_win.cc base::win::GetVersion() == base::win::VERSION_XP) base 888 ui/native_theme/native_theme_win.cc base::win::ScopedCreateDC mem_dc(CreateCompatibleDC(hdc)); base 889 ui/native_theme/native_theme_win.cc base::win::ScopedBitmap mem_bitmap(CreateCompatibleBitmap(hdc, r.width(), base 891 ui/native_theme/native_theme_win.cc base::win::ScopedSelectObject select_bitmap(mem_dc, mem_bitmap); base 1490 ui/native_theme/native_theme_win.cc bool pre_vista = base::win::GetVersion() < base::win::VERSION_VISTA; base 1935 ui/native_theme/native_theme_win.cc state_id = base::win::GetVersion() < base::win::VERSION_VISTA ? base 1956 ui/native_theme/native_theme_win.cc state_id = base::win::GetVersion() < base::win::VERSION_VISTA ? base 1977 ui/native_theme/native_theme_win.cc state_id = base::win::GetVersion() < base::win::VERSION_VISTA ? base 1998 ui/native_theme/native_theme_win.cc state_id = base::win::GetVersion() < base::win::VERSION_VISTA ? base 2020 ui/native_theme/native_theme_win.cc state_id = base::win::GetVersion() < base::win::VERSION_VISTA ? base 2062 ui/native_theme/native_theme_win.cc base::win::ScopedBitmap mask_bitmap(CreateBitmap(width, height, 1, 1, NULL)); base 2067 ui/native_theme/native_theme_win.cc base::win::ScopedCreateDC bitmap_dc(CreateCompatibleDC(NULL)); base 2068 ui/native_theme/native_theme_win.cc base::win::ScopedSelectObject select_bitmap(bitmap_dc, mask_bitmap); base 142 ui/ozone/platform/caca/caca_event_factory.cc delay_(base::TimeDelta::FromMilliseconds(10)), base 162 ui/ozone/platform/caca/caca_event_factory.cc base::MessageLoop::current()->PostDelayedTask( base 164 ui/ozone/platform/caca/caca_event_factory.cc base::Bind(&CacaEventFactory::TryProcessingEvent, base 34 ui/ozone/platform/caca/caca_event_factory.h base::WeakPtrFactory<CacaEventFactory> weak_ptr_factory_; base 37 ui/ozone/platform/caca/caca_event_factory.h base::TimeDelta delay_; base 14 ui/ozone/platform/test/ozone_platform_test.cc OzonePlatformTest::OzonePlatformTest(const base::FilePath& dump_file) base 38 ui/ozone/platform/test/ozone_platform_test.cc base::FilePath location = base::FilePath("/dev/null"); base 21 ui/ozone/platform/test/ozone_platform_test.h OzonePlatformTest(const base::FilePath& dump_file); base 14 ui/shell_dialogs/android/shell_dialogs_jni_registrar.cc static base::android::RegistrationMethod kUiRegisteredMethods[] = { base 65 ui/shell_dialogs/base_shell_dialog_win.cc base::Thread* BaseShellDialogImpl::CreateDialogThread() { base 66 ui/shell_dialogs/base_shell_dialog_win.cc base::Thread* thread = new base::Thread("Chrome_ShellDialogThread"); base 14 ui/shell_dialogs/base_shell_dialog_win.h namespace base { base 35 ui/shell_dialogs/base_shell_dialog_win.h base::Thread* dialog_thread; base 72 ui/shell_dialogs/base_shell_dialog_win.h static base::Thread* CreateDialogThread(); base 28 ui/shell_dialogs/gtk/select_file_dialog_impl.cc base::FilePath* SelectFileDialogImpl::last_saved_path_ = NULL; base 29 ui/shell_dialogs/gtk/select_file_dialog_impl.cc base::FilePath* SelectFileDialogImpl::last_opened_path_ = NULL; base 40 ui/shell_dialogs/gtk/select_file_dialog_impl.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 41 ui/shell_dialogs/gtk/select_file_dialog_impl.cc base::nix::DesktopEnvironment desktop = base 42 ui/shell_dialogs/gtk/select_file_dialog_impl.cc base::nix::GetDesktopEnvironment(env.get()); base 43 ui/shell_dialogs/gtk/select_file_dialog_impl.cc if (desktop == base::nix::DESKTOP_ENVIRONMENT_KDE3 || base 44 ui/shell_dialogs/gtk/select_file_dialog_impl.cc desktop == base::nix::DESKTOP_ENVIRONMENT_KDE4) { base 58 ui/shell_dialogs/gtk/select_file_dialog_impl.cc scoped_ptr<base::Environment> env(base::Environment::Create()); base 59 ui/shell_dialogs/gtk/select_file_dialog_impl.cc base::nix::DesktopEnvironment desktop = base 60 ui/shell_dialogs/gtk/select_file_dialog_impl.cc base::nix::GetDesktopEnvironment(env.get()); base 71 ui/shell_dialogs/gtk/select_file_dialog_impl.cc last_saved_path_ = new base::FilePath(); base 72 ui/shell_dialogs/gtk/select_file_dialog_impl.cc last_opened_path_ = new base::FilePath(); base 87 ui/shell_dialogs/gtk/select_file_dialog_impl.cc const base::FilePath& path) { base 88 ui/shell_dialogs/gtk/select_file_dialog_impl.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 89 ui/shell_dialogs/gtk/select_file_dialog_impl.cc return base::DirectoryExists(path); base 29 ui/shell_dialogs/gtk/select_file_dialog_impl.h base::nix::DesktopEnvironment desktop); base 48 ui/shell_dialogs/gtk/select_file_dialog_impl.h const base::string16& title, base 49 ui/shell_dialogs/gtk/select_file_dialog_impl.h const base::FilePath& default_path, base 52 ui/shell_dialogs/gtk/select_file_dialog_impl.h const base::FilePath::StringType& default_extension, base 60 ui/shell_dialogs/gtk/select_file_dialog_impl.h bool CallDirectoryExistsOnUIThread(const base::FilePath& path); base 77 ui/shell_dialogs/gtk/select_file_dialog_impl.h static base::FilePath* last_saved_path_; base 78 ui/shell_dialogs/gtk/select_file_dialog_impl.h static base::FilePath* last_opened_path_; base 52 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::string16& title, base 53 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, base 56 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath::StringType& default_extension, base 67 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc void FileSelected(GtkWidget* dialog, const base::FilePath& path); base 71 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const std::vector<base::FilePath>& files); base 81 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, base 85 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, gfx::NativeWindow parent); base 88 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, gfx::NativeWindow parent); base 91 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, gfx::NativeWindow parent); base 112 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, base 172 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::string16& title, base 173 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, base 176 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath::StringType& default_extension, base 186 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc std::string title_string = base::UTF16ToUTF8(title); base 265 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc gtk_file_filter_set_name(filter, base::UTF16ToUTF8( base 293 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& path) { base 315 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const std::vector<base::FilePath>& files) { base 332 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, base 362 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, base 397 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, base 411 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, base 424 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, gfx::NativeWindow parent) { base 512 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc base::FilePath path(filename); base 549 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc std::vector<base::FilePath> filenames_fp; base 551 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc base::FilePath path(static_cast<char*>(iter->data)); base 43 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::nix::DesktopEnvironment desktop); base 52 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::string16& title, base 53 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 56 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath::StringType& default_extension, base 67 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 83 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::MessageLoopForUI::current()->message_loop_proxy()), base 88 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::FilePath default_path; base 93 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc scoped_refptr<base::MessageLoopProxy> ui_loop_proxy; base 104 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath& default_path, gfx::NativeWindow parent, base 112 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc void FileSelected(const base::FilePath& path, void* params); base 115 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc void MultiFilesSelected(const std::vector<base::FilePath>& files, base 125 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 129 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 133 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 137 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 153 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::nix::DesktopEnvironment desktop_; base 161 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::nix::DesktopEnvironment desktop) base 164 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc DCHECK(desktop_ == base::nix::DESKTOP_ENVIRONMENT_KDE3 || base 165 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc desktop_ == base::nix::DESKTOP_ENVIRONMENT_KDE4); base 174 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::string16& title, base 175 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath& default_path, base 178 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath::StringType& default_extension, base 188 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc std::string title_string = base::UTF16ToUTF8(title); base 231 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc std::string mime_type = base::nix::GetFileMimeType( base 232 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::FilePath("name").ReplaceExtension( base 261 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::GetAppOutputWithExitCode(command_line, &output, &exit_code); base 270 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::Bind(params.callback, this, output, exit_code, base 275 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const std::string& title, const base::FilePath& path, base 284 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc desktop_ == base::nix::DESKTOP_ENVIRONMENT_KDE3 ? "--embed" : "--attach", base 285 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::IntToString(window_id)); base 297 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc command_line->AppendArgPath(base::FilePath(".")); base 307 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc void SelectFileDialogImplKDE::FileSelected(const base::FilePath& path, base 324 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const std::vector<base::FilePath>& files, void* params) { base 336 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc Type type, const std::string& title, const base::FilePath& default_path, base 341 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::WorkerPool::PostTask(FROM_HERE, base 342 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::Bind( base 355 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const std::string& title, const base::FilePath& default_path, base 357 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::WorkerPool::PostTask(FROM_HERE, base 358 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::Bind( base 371 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const std::string& title, const base::FilePath& default_path, base 373 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::WorkerPool::PostTask(FROM_HERE, base 374 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::Bind( base 387 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const std::string& title, const base::FilePath& default_path, base 389 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::WorkerPool::PostTask(FROM_HERE, base 390 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::Bind( base 410 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::FilePath path(output); base 443 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc std::vector<base::FilePath> filenames_fp; base 446 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::FilePath path(*iter); base 467 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::ThreadRestrictions::ScopedAllowIO allow_io; base 474 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc return base::GetAppOutput(command_line, &dummy); base 481 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc base::nix::DesktopEnvironment desktop) { base 58 ui/shell_dialogs/select_file_dialog.cc std::vector<base::FilePath> file_paths; base 105 ui/shell_dialogs/select_file_dialog.cc const base::string16& title, base 106 ui/shell_dialogs/select_file_dialog.cc const base::FilePath& default_path, base 109 ui/shell_dialogs/select_file_dialog.cc const base::FilePath::StringType& default_extension, base 121 ui/shell_dialogs/select_file_dialog.cc base::MessageLoop::current()->PostTask( base 123 ui/shell_dialogs/select_file_dialog.cc base::Bind(&SelectFileDialog::CancelFileSelection, this, params)); base 29 ui/shell_dialogs/select_file_dialog.h : public base::RefCountedThreadSafe<SelectFileDialog>, base 61 ui/shell_dialogs/select_file_dialog.h virtual void FileSelected(const base::FilePath& path, base 76 ui/shell_dialogs/select_file_dialog.h const std::vector<base::FilePath>& files, void* params) {} base 120 ui/shell_dialogs/select_file_dialog.h std::vector<std::vector<base::FilePath::StringType> > extensions; base 125 ui/shell_dialogs/select_file_dialog.h std::vector<base::string16> extension_description_overrides; base 166 ui/shell_dialogs/select_file_dialog.h const base::string16& title, base 167 ui/shell_dialogs/select_file_dialog.h const base::FilePath& default_path, base 170 ui/shell_dialogs/select_file_dialog.h const base::FilePath::StringType& default_extension, base 179 ui/shell_dialogs/select_file_dialog.h friend class base::RefCountedThreadSafe<SelectFileDialog>; base 189 ui/shell_dialogs/select_file_dialog.h const base::string16& title, base 190 ui/shell_dialogs/select_file_dialog.h const base::FilePath& default_path, base 193 ui/shell_dialogs/select_file_dialog.h const base::FilePath::StringType& default_extension, base 32 ui/shell_dialogs/select_file_dialog_android.cc std::string path = base::android::ConvertJavaStringToUTF8(env, filepath); base 34 ui/shell_dialogs/select_file_dialog_android.cc base::android::ConvertJavaStringToUTF8(env, display_name); base 35 ui/shell_dialogs/select_file_dialog_android.cc base::FilePath file_path = base::FilePath(path); base 62 ui/shell_dialogs/select_file_dialog_android.cc const base::string16& title, base 63 ui/shell_dialogs/select_file_dialog_android.cc const base::FilePath& default_path, base 69 ui/shell_dialogs/select_file_dialog_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 73 ui/shell_dialogs/select_file_dialog_android.cc typedef std::pair<std::vector<base::string16>, bool> AcceptTypes; base 74 ui/shell_dialogs/select_file_dialog_android.cc AcceptTypes accept_types = std::make_pair(std::vector<base::string16>(), base 82 ui/shell_dialogs/select_file_dialog_android.cc base::android::ToJavaArrayOfStrings(env, accept_types.first); base 100 ui/shell_dialogs/select_file_dialog_android.cc JNIEnv* env = base::android::AttachCurrentThread(); base 36 ui/shell_dialogs/select_file_dialog_android.h const base::string16& title, base 37 ui/shell_dialogs/select_file_dialog_android.h const base::FilePath& default_path, base 54 ui/shell_dialogs/select_file_dialog_android.h base::android::ScopedJavaGlobalRef<jobject> java_object_; base 50 ui/shell_dialogs/select_file_dialog_win.cc HMODULE metro_module = base::win::GetMetroModule(); base 69 ui/shell_dialogs/select_file_dialog_win.cc HMODULE metro_module = base::win::GetMetroModule(); base 87 ui/shell_dialogs/select_file_dialog_win.cc bool IsDirectory(const base::FilePath& path) { base 88 ui/shell_dialogs/select_file_dialog_win.cc base::File::Info file_info; base 89 ui/shell_dialogs/select_file_dialog_win.cc return base::GetFileInfo(path, &file_info) ? base 100 ui/shell_dialogs/select_file_dialog_win.cc base::win::RegKey reg_ext(HKEY_CLASSES_ROOT, file_ext.c_str(), KEY_READ); base 103 ui/shell_dialogs/select_file_dialog_win.cc base::win::RegKey reg_link(HKEY_CLASSES_ROOT, reg_app.c_str(), KEY_READ); base 174 ui/shell_dialogs/select_file_dialog_win.cc base::i18n::ToUpper(base::WideToUTF16(ext_name)), base 270 ui/shell_dialogs/select_file_dialog_win.cc const base::FilePath suggested_path(suggested_name); base 285 ui/shell_dialogs/select_file_dialog_win.cc base::wcslcpy(file_name, file_part.c_str(), arraysize(file_name)); base 323 ui/shell_dialogs/select_file_dialog_win.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) { base 355 ui/shell_dialogs/select_file_dialog_win.cc base::SplitString(filter, '\0', &filters); base 394 ui/shell_dialogs/select_file_dialog_win.cc base::FilePath(suggested_name).Extension().insert(0, L"*"); base 425 ui/shell_dialogs/select_file_dialog_win.cc const base::string16& title, base 426 ui/shell_dialogs/select_file_dialog_win.cc const base::FilePath& default_path, base 429 ui/shell_dialogs/select_file_dialog_win.cc const base::FilePath::StringType& default_extension, base 440 ui/shell_dialogs/select_file_dialog_win.cc const base::FilePath& default_path, base 453 ui/shell_dialogs/select_file_dialog_win.cc ui_proxy(base::MessageLoopForUI::current()->message_loop_proxy()), base 461 ui/shell_dialogs/select_file_dialog_win.cc base::FilePath default_path; base 466 ui/shell_dialogs/select_file_dialog_win.cc scoped_refptr<base::MessageLoopProxy> ui_proxy; base 476 ui/shell_dialogs/select_file_dialog_win.cc void FileSelected(const base::FilePath& path, int index, base 480 ui/shell_dialogs/select_file_dialog_win.cc void MultiFilesSelected(const std::vector<base::FilePath>& paths, base 495 ui/shell_dialogs/select_file_dialog_win.cc base::FilePath* path); base 502 ui/shell_dialogs/select_file_dialog_win.cc base::FilePath* path); base 509 ui/shell_dialogs/select_file_dialog_win.cc std::vector<base::FilePath>* paths); base 521 ui/shell_dialogs/select_file_dialog_win.cc base::string16 GetFilterForFileTypes(const FileTypeInfo* file_types); base 540 ui/shell_dialogs/select_file_dialog_win.cc const base::string16& title, base 541 ui/shell_dialogs/select_file_dialog_win.cc const base::FilePath& default_path, base 544 ui/shell_dialogs/select_file_dialog_win.cc const base::FilePath::StringType& default_extension, base 556 ui/shell_dialogs/select_file_dialog_win.cc base::UTF16ToWide(title), base 561 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&ui::SelectFileDialog::Listener::FileSelected, base 562 ui/shell_dialogs/select_file_dialog_win.cc base::Unretained(listener_)), base 563 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&ui::SelectFileDialog::Listener::FileSelectionCanceled, base 564 ui/shell_dialogs/select_file_dialog_win.cc base::Unretained(listener_))); base 568 ui/shell_dialogs/select_file_dialog_win.cc base::UTF16ToWide(title), base 571 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&ui::SelectFileDialog::Listener::FileSelected, base 572 ui/shell_dialogs/select_file_dialog_win.cc base::Unretained(listener_)), base 573 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&ui::SelectFileDialog::Listener::FileSelectionCanceled, base 574 ui/shell_dialogs/select_file_dialog_win.cc base::Unretained(listener_))); base 578 ui/shell_dialogs/select_file_dialog_win.cc base::UTF16ToWide(title), base 581 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&ui::SelectFileDialog::Listener::MultiFilesSelected, base 582 ui/shell_dialogs/select_file_dialog_win.cc base::Unretained(listener_)), base 583 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&ui::SelectFileDialog::Listener::FileSelectionCanceled, base 584 ui/shell_dialogs/select_file_dialog_win.cc base::Unretained(listener_))); base 587 ui/shell_dialogs/select_file_dialog_win.cc base::string16 title_string = title; base 595 ui/shell_dialogs/select_file_dialog_win.cc base::UTF16ToWide(title_string), base 596 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&ui::SelectFileDialog::Listener::FileSelected, base 597 ui/shell_dialogs/select_file_dialog_win.cc base::Unretained(listener_)), base 598 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&ui::SelectFileDialog::Listener::FileSelectionCanceled, base 599 ui/shell_dialogs/select_file_dialog_win.cc base::Unretained(listener_))); base 608 ui/shell_dialogs/select_file_dialog_win.cc ExecuteSelectParams execute_params(type, base::UTF16ToWide(title), base 614 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&SelectFileDialogImpl::ExecuteSelectFile, this, base 641 ui/shell_dialogs/select_file_dialog_win.cc base::string16 filter = GetFilterForFileTypes(¶ms.file_types); base 643 ui/shell_dialogs/select_file_dialog_win.cc base::FilePath path = params.default_path; base 651 ui/shell_dialogs/select_file_dialog_win.cc title = base::UTF16ToWide( base 663 ui/shell_dialogs/select_file_dialog_win.cc path = base::FilePath(path_as_wstring); base 669 ui/shell_dialogs/select_file_dialog_win.cc std::vector<base::FilePath> paths; base 674 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&SelectFileDialogImpl::MultiFilesSelected, this, paths, base 683 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&SelectFileDialogImpl::FileSelected, this, path, base 688 ui/shell_dialogs/select_file_dialog_win.cc base::Bind(&SelectFileDialogImpl::FileNotSelected, this, params.params, base 693 ui/shell_dialogs/select_file_dialog_win.cc void SelectFileDialogImpl::FileSelected(const base::FilePath& selected_folder, base 703 ui/shell_dialogs/select_file_dialog_win.cc const std::vector<base::FilePath>& selected_files, base 731 ui/shell_dialogs/select_file_dialog_win.cc base::FilePath* path) { base 755 ui/shell_dialogs/select_file_dialog_win.cc base::win::ScopedComPtr<IShellFolder> shell_folder; base 760 ui/shell_dialogs/select_file_dialog_win.cc *path = base::FilePath(out_dir_buffer.pOleStr); base 767 ui/shell_dialogs/select_file_dialog_win.cc *path = base::FilePath(old_out_dir_buffer); base 774 ui/shell_dialogs/select_file_dialog_win.cc base::win::ResolveShortcut(*path, path, NULL); base 785 ui/shell_dialogs/select_file_dialog_win.cc base::FilePath* path) { base 800 ui/shell_dialogs/select_file_dialog_win.cc base::FilePath dir; base 809 ui/shell_dialogs/select_file_dialog_win.cc base::wcslcpy(filename, path->BaseName().value().c_str(), base 826 ui/shell_dialogs/select_file_dialog_win.cc *path = base::FilePath(filename); base 834 ui/shell_dialogs/select_file_dialog_win.cc std::vector<base::FilePath>* paths) { base 859 ui/shell_dialogs/select_file_dialog_win.cc std::vector<base::FilePath> files; base 862 ui/shell_dialogs/select_file_dialog_win.cc files.push_back(base::FilePath(selection)); base 874 ui/shell_dialogs/select_file_dialog_win.cc std::vector<base::FilePath>::iterator path = files.begin(); base 875 ui/shell_dialogs/select_file_dialog_win.cc for (std::vector<base::FilePath>::iterator file = path + 1; base 884 ui/shell_dialogs/select_file_dialog_win.cc base::string16 SelectFileDialogImpl::GetFilterForFileTypes( base 887 ui/shell_dialogs/select_file_dialog_win.cc return base::string16(); base 889 ui/shell_dialogs/select_file_dialog_win.cc std::vector<base::string16> exts; base 891 ui/shell_dialogs/select_file_dialog_win.cc const std::vector<base::string16>& inner_exts = file_types->extensions[i]; base 892 ui/shell_dialogs/select_file_dialog_win.cc base::string16 ext_string; base 934 ui/shell_dialogs/select_file_dialog_win.cc GetExtensionWithoutLeadingDot(base::FilePath(filename).Extension())); base 937 ui/shell_dialogs/select_file_dialog_win.cc !base::win::RegKey(HKEY_CLASSES_ROOT, key.c_str(), KEY_READ).Valid() && base 11 ui/shell_dialogs/selected_file_info.cc SelectedFileInfo::SelectedFileInfo(const base::FilePath& in_file_path, base 12 ui/shell_dialogs/selected_file_info.cc const base::FilePath& in_local_path) base 19 ui/shell_dialogs/selected_file_info.h base::FilePath file_path; base 27 ui/shell_dialogs/selected_file_info.h base::FilePath local_path; base 33 ui/shell_dialogs/selected_file_info.h base::FilePath::StringType display_name; base 36 ui/shell_dialogs/selected_file_info.h SelectedFileInfo(const base::FilePath& in_file_path, base 37 ui/shell_dialogs/selected_file_info.h const base::FilePath& in_local_path); base 16 ui/snapshot/snapshot.h namespace base { base 44 ui/snapshot/snapshot.h typedef base::Callback<void(const gfx::Image& snapshot)> base 52 ui/snapshot/snapshot.h scoped_refptr<base::TaskRunner> background_task_runner, base 55 ui/snapshot/snapshot.h typedef base::Callback<void(scoped_refptr<base::RefCountedBytes> png_data)> base 60 ui/snapshot/snapshot.h scoped_refptr<base::TaskRunner> background_task_runner, base 65 ui/snapshot/snapshot.h scoped_refptr<base::TaskRunner> background_task_runner, base 41 ui/snapshot/snapshot_android.cc scoped_refptr<base::TaskRunner> background_task_runner, base 49 ui/snapshot/snapshot_android.cc scoped_refptr<base::TaskRunner> background_task_runner, base 51 ui/snapshot/snapshot_android.cc callback.Run(scoped_refptr<base::RefCountedBytes>()); base 57 ui/snapshot/snapshot_android.cc scoped_refptr<base::TaskRunner> background_task_runner, base 59 ui/snapshot/snapshot_android.cc callback.Run(scoped_refptr<base::RefCountedBytes>()); base 53 ui/snapshot/snapshot_aura.cc scoped_refptr<base::RefCountedBytes> EncodeBitmap(const SkBitmap& bitmap) { base 54 ui/snapshot/snapshot_aura.cc scoped_refptr<base::RefCountedBytes> png_data(new base::RefCountedBytes); base 60 ui/snapshot/snapshot_aura.cc base::checked_cast<int>(bitmap.rowBytes()), base 64 ui/snapshot/snapshot_aura.cc return scoped_refptr<base::RefCountedBytes>(); base 72 ui/snapshot/snapshot_aura.cc scoped_refptr<base::TaskRunner> background_task_runner, base 83 ui/snapshot/snapshot_aura.cc base::PostTaskAndReplyWithResult( base 86 ui/snapshot/snapshot_aura.cc base::Bind(ScaleBitmap, *result->TakeBitmap(), target_size), base 87 ui/snapshot/snapshot_aura.cc base::Bind(&OnFrameScalingFinished, callback)); base 92 ui/snapshot/snapshot_aura.cc scoped_refptr<base::TaskRunner> background_task_runner, base 95 ui/snapshot/snapshot_aura.cc callback.Run(scoped_refptr<base::RefCountedBytes>()); base 103 ui/snapshot/snapshot_aura.cc base::PostTaskAndReplyWithResult(background_task_runner, base 105 ui/snapshot/snapshot_aura.cc base::Bind(EncodeBitmap, base 139 ui/snapshot/snapshot_aura.cc scoped_refptr<base::TaskRunner> background_task_runner, base 143 ui/snapshot/snapshot_aura.cc base::Bind(&ScaleCopyOutputResult, base 152 ui/snapshot/snapshot_aura.cc scoped_refptr<base::TaskRunner> background_task_runner, base 156 ui/snapshot/snapshot_aura.cc base::Bind(&EncodeCopyOutputResult, base 164 ui/snapshot/snapshot_aura.cc scoped_refptr<base::TaskRunner> background_task_runner, base 94 ui/snapshot/snapshot_aura_unittest.cc new aura::test::AuraTestHelper(base::MessageLoopForUI::current())); base 126 ui/snapshot/snapshot_aura_unittest.cc scoped_refptr<base::TestSimpleTaskRunner> task_runner( base 127 ui/snapshot/snapshot_aura_unittest.cc new base::TestSimpleTaskRunner()); base 133 ui/snapshot/snapshot_aura_unittest.cc base::Bind(&SnapshotHolder::SnapshotCallback, holder)); base 151 ui/snapshot/snapshot_aura_unittest.cc class SnapshotHolder : public base::RefCountedThreadSafe<SnapshotHolder> { base 155 ui/snapshot/snapshot_aura_unittest.cc void SnapshotCallback(scoped_refptr<base::RefCountedBytes> png_data) { base 91 ui/snapshot/snapshot_gtk.cc scoped_refptr<base::TaskRunner> background_task_runner, base 99 ui/snapshot/snapshot_gtk.cc scoped_refptr<base::TaskRunner> background_task_runner, base 101 ui/snapshot/snapshot_gtk.cc callback.Run(scoped_refptr<base::RefCountedBytes>()); base 107 ui/snapshot/snapshot_gtk.cc scoped_refptr<base::TaskRunner> background_task_runner, base 109 ui/snapshot/snapshot_gtk.cc callback.Run(scoped_refptr<base::RefCountedBytes>()); base 51 ui/snapshot/snapshot_win.cc base::win::ScopedCreateDC mem_hdc(CreateCompatibleDC(window_hdc)); base 58 ui/snapshot/snapshot_win.cc base::win::ScopedBitmap bitmap( base 65 ui/snapshot/snapshot_win.cc base::win::ScopedSelectObject select_bitmap(mem_hdc, bitmap); base 126 ui/snapshot/snapshot_win.cc scoped_refptr<base::TaskRunner> background_task_runner, base 134 ui/snapshot/snapshot_win.cc scoped_refptr<base::TaskRunner> background_task_runner, base 136 ui/snapshot/snapshot_win.cc callback.Run(scoped_refptr<base::RefCountedBytes>()); base 143 ui/snapshot/snapshot_win.cc scoped_refptr<base::TaskRunner> background_task_runner, base 145 ui/snapshot/snapshot_win.cc callback.Run(scoped_refptr<base::RefCountedBytes>()); base 13 ui/snapshot/test/run_all_unittests.cc class NoAtExitBaseTestSuite : public base::TestSuite { base 16 ui/snapshot/test/run_all_unittests.cc : base::TestSuite(argc, argv, false) { base 31 ui/snapshot/test/run_all_unittests.cc return base::LaunchUnitTests( base 32 ui/snapshot/test/run_all_unittests.cc argc, argv, base::Bind(&ui::test::CompositorTestSuite::Run, base 33 ui/snapshot/test/run_all_unittests.cc base::Unretained(&test_suite))); base 37 ui/snapshot/test/run_all_unittests.cc base::AtExitManager at_exit; base 39 ui/snapshot/test/run_all_unittests.cc return base::LaunchUnitTests(argc, base 41 ui/snapshot/test/run_all_unittests.cc base::Bind(&RunTestSuite, argc, argv)); base 118 ui/surface/accelerated_surface_mac.cc base::ScopedCFTypeRef<CFNumberRef> number( base 217 ui/surface/accelerated_surface_mac.cc base::ScopedCFTypeRef<CFMutableDictionaryRef> properties; base 121 ui/surface/accelerated_surface_mac.h base::ScopedCFTypeRef<CFTypeRef> io_surface_; base 99 ui/surface/transport_dib.h typedef base::SharedMemoryHandle Handle; base 102 ui/surface/transport_dib.h typedef base::SharedMemoryHandle Id; base 104 ui/surface/transport_dib.h typedef base::SharedMemoryId Id; base 198 ui/surface/transport_dib.h explicit TransportDIB(base::SharedMemoryHandle dib); base 199 ui/surface/transport_dib.h base::SharedMemory shared_memory_; base 12 ui/v2/src/v2_unittest.cc base::TestSuite test_suite(argc, argv); base 13 ui/v2/src/v2_unittest.cc return base::LaunchUnitTests( base 14 ui/v2/src/v2_unittest.cc argc, argv, base::Bind(&base::TestSuite::Run, base 15 ui/v2/src/v2_unittest.cc base::Unretained(&test_suite))); base 134 ui/v2/src/view.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE { base 135 ui/v2/src/view.cc return base::Bind(&ViewLayerOwner::OnLayerBoundsChanged, base 136 ui/v2/src/view.cc base::Unretained(this)); base 177 ui/views/accessibility/native_view_accessibility_win.cc base::win::ScopedComPtr<IServiceProvider> service_provider; base 180 ui/views/accessibility/native_view_accessibility_win.cc base::win::ScopedComPtr<IAccessible2> iaccessible2; base 235 ui/views/accessibility/native_view_accessibility_win.cc base::win::kFirstViewsAccessibilityId - next_view_storage_id_index_; base 506 ui/views/accessibility/native_view_accessibility_win.cc base::win::kFirstViewsAccessibilityId - child_id; base 561 ui/views/accessibility/native_view_accessibility_win.cc base::string16 temp_action = state.default_action; base 580 ui/views/accessibility/native_view_accessibility_win.cc base::string16 temp_desc; base 628 ui/views/accessibility/native_view_accessibility_win.cc base::string16 temp_key = state.keyboard_shortcut; base 650 ui/views/accessibility/native_view_accessibility_win.cc base::string16 temp_name = state.name; base 737 ui/views/accessibility/native_view_accessibility_win.cc base::string16 temp_value = state.value; base 879 ui/views/accessibility/native_view_accessibility_win.cc base::string16 text = TextForIAccessibleText(); base 937 ui/views/accessibility/native_view_accessibility_win.cc base::string16 text_str = TextForIAccessibleText(); base 965 ui/views/accessibility/native_view_accessibility_win.cc base::string16 substr = base 992 ui/views/accessibility/native_view_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 1018 ui/views/accessibility/native_view_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 1043 ui/views/accessibility/native_view_accessibility_win.cc const base::string16& text_str = TextForIAccessibleText(); base 1088 ui/views/accessibility/native_view_accessibility_win.cc base::win::GetVersion() >= base::win::VERSION_WIN8) { base 1109 ui/views/accessibility/native_view_accessibility_win.cc base::win::UIATextProvider::CreateTextProvider(true, provider); base 1345 ui/views/accessibility/native_view_accessibility_win.cc base::string16 NativeViewAccessibilityWin::TextForIAccessibleText() { base 1355 ui/views/accessibility/native_view_accessibility_win.cc const base::string16& text, LONG* offset) { base 1379 ui/views/accessibility/native_view_accessibility_win.cc const base::string16& text, base 377 ui/views/accessibility/native_view_accessibility_win.h base::string16 TextForIAccessibleText(); base 381 ui/views/accessibility/native_view_accessibility_win.h void HandleSpecialTextOffset(const base::string16& text, LONG* offset); base 389 ui/views/accessibility/native_view_accessibility_win.h LONG FindBoundary(const base::string16& text, base 34 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedComPtr<IAccessible> content_accessible( base 40 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedComPtr<IDispatch> textfield_dispatch; base 41 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedComPtr<IAccessible> textfield_accessible; base 42 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedVariant child_index(1); base 48 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedBstr name; base 49 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedVariant childid_self(CHILDID_SELF); base 54 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedBstr value; base 59 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedBstr new_value(L"New value"); base 84 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedComPtr<IAccessible> web_view_accessible( base 86 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedComPtr<IDispatch> result_dispatch; base 87 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedVariant child_index(-999); base 101 ui/views/accessibility/native_view_accessibility_win_unittest.cc base::win::ScopedComPtr<IAccessible> root_view_accessible( base 104 ui/views/accessible_pane_view.h base::WeakPtrFactory<AccessiblePaneView> method_factory_; base 60 ui/views/accessible_pane_view_unittest.cc base::string16 label; base 103 ui/views/animation/bounds_animator_unittest.cc base::MessageLoopForUI message_loop_; base 125 ui/views/animation/bounds_animator_unittest.cc base::MessageLoop::current()->Run(); base 136 ui/views/bubble/bubble_delegate.cc if (base::i18n::IsRTL()) base 70 ui/views/bubble/bubble_frame_view.cc title_ = new Label(base::string16(), base 75 ui/views/bubble/bubble_frame_view.cc close_ = new LabelButton(this, base::string16()); base 158 ui/views/bubble/bubble_frame_view.cc GetWidget()->widget_delegate()->GetWindowTitle() : base::string16()); base 107 ui/views/bubble/tray_bubble_view.cc int rtl_factor = base::i18n::IsRTL() ? -1 : 1; base 189 ui/views/bubble/tray_bubble_view.cc virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE; base 223 ui/views/bubble/tray_bubble_view.cc base::Closure TrayBubbleContentMask::PrepareForLayerBoundsChange() { base 224 ui/views/bubble/tray_bubble_view.cc return base::Closure(); base 301 ui/views/bubble/tray_bubble_view.cc init_params->arrow = base::i18n::IsRTL() ? base 467 ui/views/bubble/tray_bubble_view.cc base::TimeDelta::FromMilliseconds(kFrameTimeInMS)); base 74 ui/views/bubble/tray_bubble_view.h virtual base::string16 GetAccessibleNameForBubble() = 0; base 24 ui/views/button_drag_utils.cc const base::string16& title, base 34 ui/views/button_drag_utils.cc title.empty() ? base::UTF8ToUTF16(url.spec()) base 30 ui/views/button_drag_utils.h const base::string16& title, base 35 ui/views/color_chooser/color_chooser_view.cc base::string16 GetColorText(SkColor color) { base 36 ui/views/color_chooser/color_chooser_view.cc return base::ASCIIToUTF16(base::StringPrintf("#%02x%02x%02x", base 42 ui/views/color_chooser/color_chooser_view.cc bool GetColorFromText(const base::string16& text, SkColor* result) { base 47 ui/views/color_chooser/color_chooser_view.cc base::UTF16ToUTF8((text.size() == 6) ? text : text.substr(1)); base 49 ui/views/color_chooser/color_chooser_view.cc if (!base::HexStringToBytes(input, &hex)) base 458 ui/views/color_chooser/color_chooser_view.cc const base::string16& new_contents) { base 58 ui/views/color_chooser/color_chooser_view.h const base::string16& new_contents) OVERRIDE; base 25 ui/views/controls/button/blue_button.cc BlueButton::BlueButton(ButtonListener* listener, const base::string16& text) base 18 ui/views/controls/button/blue_button.h BlueButton(ButtonListener* listener, const base::string16& text); base 33 ui/views/controls/button/button.cc void Button::SetTooltipText(const base::string16& tooltip_text) { base 40 ui/views/controls/button/button.cc void Button::SetAccessibleName(const base::string16& name) { base 48 ui/views/controls/button/button.cc base::string16* tooltip) const { base 51 ui/views/controls/button/button.h void SetTooltipText(const base::string16& tooltip_text); base 56 ui/views/controls/button/button.h void SetAccessibleName(const base::string16& name); base 60 ui/views/controls/button/button.h base::string16* tooltip) const OVERRIDE; base 77 ui/views/controls/button/button.h base::string16 tooltip_text_; base 80 ui/views/controls/button/button.h base::string16 accessible_name_; base 18 ui/views/controls/button/checkbox.cc Checkbox::Checkbox(const base::string16& label) base 22 ui/views/controls/button/checkbox.h explicit Checkbox(const base::string16& label); base 40 ui/views/controls/button/custom_button_unittest.cc base::TimeDelta time_stamp = base::TimeDelta::FromMicroseconds(0); base 146 ui/views/controls/button/custom_button_unittest.cc base::string16 text; base 212 ui/views/controls/button/image_button.cc void ToggleImageButton::SetToggledTooltipText(const base::string16& tooltip) { base 241 ui/views/controls/button/image_button.cc base::string16* tooltip) const { base 141 ui/views/controls/button/image_button.h void SetToggledTooltipText(const base::string16& tooltip); base 150 ui/views/controls/button/image_button.h base::string16* tooltip) const OVERRIDE; base 164 ui/views/controls/button/image_button.h base::string16 toggled_tooltip_text_; base 45 ui/views/controls/button/label_button.cc LabelButton::LabelButton(ButtonListener* listener, const base::string16& text) base 84 ui/views/controls/button/label_button.cc const base::string16& LabelButton::GetText() const { base 88 ui/views/controls/button/label_button.cc void LabelButton::SetText(const base::string16& text) { base 225 ui/views/controls/button/label_button.cc if (base::i18n::IsRTL() && adjusted_alignment != gfx::ALIGN_CENTER) base 31 ui/views/controls/button/label_button.h LabelButton(ButtonListener* listener, const base::string16& text); base 40 ui/views/controls/button/label_button.h const base::string16& GetText() const; base 41 ui/views/controls/button/label_button.h void SetText(const base::string16& text); base 15 ui/views/controls/button/label_button_unittest.cc using base::ASCIIToUTF16; base 33 ui/views/controls/button/label_button_unittest.cc const base::string16 text(ASCIIToUTF16("abc")); base 52 ui/views/controls/button/label_button_unittest.cc LabelButton button(NULL, base::string16()); base 56 ui/views/controls/button/label_button_unittest.cc const base::string16 short_text(ASCIIToUTF16("abcdefghijklm")); base 57 ui/views/controls/button/label_button_unittest.cc const base::string16 long_text(ASCIIToUTF16("abcdefghijklmnopqrstuvwxyz")); base 83 ui/views/controls/button/label_button_unittest.cc LabelButton button(NULL, base::string16()); base 115 ui/views/controls/button/label_button_unittest.cc LabelButton button(NULL, base::string16()); base 118 ui/views/controls/button/label_button_unittest.cc const base::string16 text(ASCIIToUTF16("abcdefghijklm")); base 153 ui/views/controls/button/label_button_unittest.cc button.SetText(base::string16()); base 172 ui/views/controls/button/label_button_unittest.cc const base::string16 text(ASCIIToUTF16("abc")); base 25 ui/views/controls/button/menu_button.cc using base::TimeTicks; base 26 ui/views/controls/button/menu_button.cc using base::TimeDelta; base 46 ui/views/controls/button/menu_button.cc const base::string16& text, base 79 ui/views/controls/button/menu_button.cc if (base::i18n::IsRTL()) base 83 ui/views/controls/button/menu_button.cc if (base::i18n::IsRTL()) base 36 ui/views/controls/button/menu_button.h const base::string16& text, base 90 ui/views/controls/button/menu_button.h base::TimeTicks menu_closed_time_; base 18 ui/views/controls/button/radio_button.cc RadioButton::RadioButton(const base::string16& label, int group_id) base 20 ui/views/controls/button/radio_button.h RadioButton(const base::string16& label, int group_id); base 195 ui/views/controls/button/text_button.cc const base::string16& text) base 229 ui/views/controls/button/text_button.cc void TextButtonBase::SetText(const base::string16& text) { base 564 ui/views/controls/button/text_button.cc TextButton::TextButton(ButtonListener* listener, const base::string16& text) base 111 ui/views/controls/button/text_button.h virtual void SetText(const base::string16& text); base 112 ui/views/controls/button/text_button.h const base::string16& text() const { return text_; } base 174 ui/views/controls/button/text_button.h TextButtonBase(ButtonListener* listener, const base::string16& text); base 228 ui/views/controls/button/text_button.h base::string16 text_; base 291 ui/views/controls/button/text_button.h TextButton(ButtonListener* listener, const base::string16& text); base 309 ui/views/controls/combobox/combobox.cc bool Combobox::SelectValue(const base::string16& value) { base 322 ui/views/controls/combobox/combobox.cc void Combobox::SetAccessibleName(const base::string16& name) { base 399 ui/views/controls/combobox/combobox.cc base::string16 Combobox::GetTextForRow(int row) { base 400 ui/views/controls/combobox/combobox.cc return model()->IsItemSeparatorAt(row) ? base::string16() : base 578 ui/views/controls/combobox/combobox.cc const base::TimeDelta delta = base::Time::Now() - closed_time_; base 611 ui/views/controls/combobox/combobox.cc base::string16 text = model()->GetItemAt(i); base 615 ui/views/controls/combobox/combobox.cc base::i18n::AdjustStringForLocaleDirection(&text); base 658 ui/views/controls/combobox/combobox.cc base::string16 text = model()->GetItemAt(selected_index_); base 686 ui/views/controls/combobox/combobox.cc if (base::i18n::IsRTL()) { base 783 ui/views/controls/combobox/combobox.cc closed_time_ = base::Time::Now(); base 796 ui/views/controls/combobox/combobox.cc base::WeakPtr<Combobox> weak_ptr = weak_ptr_factory_.GetWeakPtr(); base 82 ui/views/controls/combobox/combobox.h bool SelectValue(const base::string16& value); base 87 ui/views/controls/combobox/combobox.h void SetAccessibleName(const base::string16& name); base 118 ui/views/controls/combobox/combobox.h virtual base::string16 GetTextForRow(int row) OVERRIDE; base 180 ui/views/controls/combobox/combobox.h base::string16 accessible_name_; base 200 ui/views/controls/combobox/combobox.h base::Time closed_time_; base 222 ui/views/controls/combobox/combobox.h base::WeakPtrFactory<Combobox> weak_ptr_factory_; base 24 ui/views/controls/combobox/combobox_unittest.cc using base::ASCIIToUTF16; base 99 ui/views/controls/combobox/combobox_unittest.cc virtual base::string16 GetItemAt(int index) OVERRIDE { base 131 ui/views/controls/combobox/combobox_unittest.cc virtual base::string16 GetItemAt(int index) OVERRIDE { base 126 ui/views/controls/image_view.cc if (base::i18n::IsRTL() && (horiz_alignment_ != CENTER)) base 191 ui/views/controls/image_view.cc void ImageView::SetTooltipText(const base::string16& tooltip) { base 195 ui/views/controls/image_view.cc base::string16 ImageView::GetTooltipText() const { base 200 ui/views/controls/image_view.cc base::string16* tooltip) const { base 75 ui/views/controls/image_view.h void SetTooltipText(const base::string16& tooltip); base 76 ui/views/controls/image_view.h base::string16 GetTooltipText() const; base 89 ui/views/controls/image_view.h base::string16* tooltip) const OVERRIDE; base 120 ui/views/controls/image_view.h base::string16 tooltip_text_; base 32 ui/views/controls/label.cc const base::char16 kPasswordReplacementChar = '*'; base 43 ui/views/controls/label.cc Init(base::string16(), gfx::FontList()); base 46 ui/views/controls/label.cc Label::Label(const base::string16& text) { base 50 ui/views/controls/label.cc Label::Label(const base::string16& text, const gfx::FontList& font_list) { base 64 ui/views/controls/label.cc void Label::SetText(const base::string16& text) { base 69 ui/views/controls/label.cc void Label::SetTextInternal(const base::string16& text) { base 126 ui/views/controls/label.cc if (base::i18n::IsRTL() && (directionality_mode_ == USE_UI_DIRECTIONALITY) && base 183 ui/views/controls/label.cc void Label::SetTooltipText(const base::string16& tooltip_text) { base 190 ui/views/controls/label.cc std::vector<base::string16> lines; base 191 ui/views/controls/label.cc base::SplitString(layout_text(), '\n', &lines); base 194 ui/views/controls/label.cc for (std::vector<base::string16>::const_iterator iter = lines.begin(); base 241 ui/views/controls/label.cc gfx::Size size(gfx::GetStringWidth(base::string16(gfx::kEllipsisUTF16), base 296 ui/views/controls/label.cc bool Label::GetTooltipText(const gfx::Point& p, base::string16* tooltip) const { base 321 ui/views/controls/label.cc const base::string16& text, base 373 ui/views/controls/label.cc base::string16 paint_text; base 384 ui/views/controls/label.cc void Label::Init(const base::string16& text, const gfx::FontList& font_list) { base 456 ui/views/controls/label.cc base::i18n::TextDirection direction = base 457 ui/views/controls/label.cc base::i18n::GetFirstStrongCharacterDirection(layout_text()); base 458 ui/views/controls/label.cc if (direction == base::i18n::RIGHT_TO_LEFT) base 500 ui/views/controls/label.cc void Label::CalculateDrawStringParams(base::string16* paint_text, base 61 ui/views/controls/label.h explicit Label(const base::string16& text); base 62 ui/views/controls/label.h Label(const base::string16& text, const gfx::FontList& font_list); base 70 ui/views/controls/label.h const base::string16& text() const { return text_; } base 71 ui/views/controls/label.h virtual void SetText(const base::string16& text); base 141 ui/views/controls/label.h const base::string16& layout_text() const { return layout_text_; } base 156 ui/views/controls/label.h void SetTooltipText(const base::string16& tooltip_text); base 192 ui/views/controls/label.h base::string16* tooltip) const OVERRIDE; base 198 ui/views/controls/label.h const base::string16& text, base 226 ui/views/controls/label.h void SetTextInternal(const base::string16& text); base 228 ui/views/controls/label.h void Init(const base::string16& text, const gfx::FontList& font_list); base 240 ui/views/controls/label.h void CalculateDrawStringParams(base::string16* paint_text, base 253 ui/views/controls/label.h base::string16 text_; base 254 ui/views/controls/label.h base::string16 layout_text_; base 276 ui/views/controls/label.h base::string16 tooltip_text_; base 15 ui/views/controls/label_unittest.cc using base::ASCIIToUTF16; base 44 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("A random string.")); base 59 ui/views/controls/label_unittest.cc bool reverse_alignment = base::i18n::IsRTL(); base 103 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("Password!")); base 130 ui/views/controls/label_unittest.cc base::string16 test_text = base::UTF8ToUTF16("\xF0\x9D\x84\x9E"); base 140 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("My cool string.")); base 143 ui/views/controls/label_unittest.cc base::string16 tooltip; base 147 ui/views/controls/label_unittest.cc base::string16 tooltip_text(ASCIIToUTF16("The tooltip!")); base 152 ui/views/controls/label_unittest.cc base::string16 empty_text; base 195 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("My special text.")); base 207 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("A not so random string in one line.")); base 231 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("Too Wide.")); base 250 ui/views/controls/label_unittest.cc base::string16 test_text( base 334 ui/views/controls/label_unittest.cc base::string16 test_text(base::WideToUTF16(L" \x5d0\x5d1\x5d2 abc")); base 343 ui/views/controls/label_unittest.cc base::string16 paint_text; base 352 ui/views/controls/label_unittest.cc test_text = (base::WideToUTF16(L"ltr \x5d0\x5d1\x5d2 abc")); base 374 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("Here's a string with no returns.")); base 384 ui/views/controls/label_unittest.cc base::string16 paint_text; base 508 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("Another string\nwith returns\n\n!")); base 519 ui/views/controls/label_unittest.cc base::string16 paint_text; base 644 ui/views/controls/label_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 646 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("Here's a string with no returns.")); base 656 ui/views/controls/label_unittest.cc base::string16 paint_text; base 770 ui/views/controls/label_unittest.cc base::i18n::SetICUDefaultLocale(locale); base 782 ui/views/controls/label_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 784 ui/views/controls/label_unittest.cc base::string16 test_text(ASCIIToUTF16("Another string\nwith returns\n\n!")); base 795 ui/views/controls/label_unittest.cc base::string16 paint_text; base 921 ui/views/controls/label_unittest.cc base::i18n::SetICUDefaultLocale(locale); base 24 ui/views/controls/link.cc Link::Link() : Label(base::string16()) { base 28 ui/views/controls/link.cc Link::Link(const base::string16& title) : Label(title) { base 160 ui/views/controls/link.cc void Link::SetText(const base::string16& text) { base 28 ui/views/controls/link.h explicit Link(const base::string16& title); base 53 ui/views/controls/link.h virtual void SetText(const base::string16& text) OVERRIDE; base 20 ui/views/controls/menu/menu.cc base::string16 Menu::Delegate::GetLabel(int id) const { base 21 ui/views/controls/menu/menu.cc return base::string16(); base 52 ui/views/controls/menu/menu.cc bool Menu::Delegate::GetContextualLabel(int id, base::string16* out) const { base 57 ui/views/controls/menu/menu.cc return base::i18n::IsRTL(); base 79 ui/views/controls/menu/menu.cc const base::string16& label, base 86 ui/views/controls/menu/menu.cc const base::string16& label, base 94 ui/views/controls/menu/menu.cc Menu* Menu::AppendSubMenu(int item_id, const base::string16& label) { base 98 ui/views/controls/menu/menu.cc Menu* Menu::AddSubMenu(int index, int item_id, const base::string16& label) { base 103 ui/views/controls/menu/menu.cc const base::string16& label, base 108 ui/views/controls/menu/menu.cc void Menu::AppendMenuItemWithLabel(int item_id, const base::string16& label) { base 114 ui/views/controls/menu/menu.cc const base::string16& label) { base 123 ui/views/controls/menu/menu.cc AddMenuItem(index, item_id, base::string16(), Menu::NORMAL); base 131 ui/views/controls/menu/menu.cc const base::string16& label, base 138 ui/views/controls/menu/menu.cc const base::string16& label, base 48 ui/views/controls/menu/menu.h virtual base::string16 GetLabel(int id) const; base 97 ui/views/controls/menu/menu.h virtual bool GetContextualLabel(int id, base::string16* out) const; base 154 ui/views/controls/menu/menu.h const base::string16& label, base 158 ui/views/controls/menu/menu.h const base::string16& label, base 164 ui/views/controls/menu/menu.h const base::string16& label); base 165 ui/views/controls/menu/menu.h Menu* AddSubMenu(int index, int item_id, const base::string16& label); base 172 ui/views/controls/menu/menu.h const base::string16& label, base 176 ui/views/controls/menu/menu.h const base::string16& label, base 181 ui/views/controls/menu/menu.h void AppendMenuItemWithLabel(int item_id, const base::string16& label); base 184 ui/views/controls/menu/menu.h const base::string16& label); base 199 ui/views/controls/menu/menu.h const base::string16& label, base 203 ui/views/controls/menu/menu.h const base::string16& label, base 211 ui/views/controls/menu/menu.h virtual void SetMenuLabel(int item_id, const base::string16& label) = 0; base 239 ui/views/controls/menu/menu.h const base::string16& label, base 33 ui/views/controls/menu/menu_config_win.cc base::win::GetNonClientMetrics(&metrics); base 36 ui/views/controls/menu/menu_config_win.cc base::win::ScopedHFONT new_font(CreateFontIndirect(&metrics.lfMenuFont)); base 55 ui/views/controls/menu/menu_controller.cc using base::Time; base 56 ui/views/controls/menu/menu_controller.cc using base::TimeDelta; base 88 ui/views/controls/menu/menu_controller.cc bool MatchesMnemonic(MenuItemView* menu, base::char16 key) { base 94 ui/views/controls/menu/menu_controller.cc bool TitleMatchesMnemonic(MenuItemView* menu, base::char16 key) { base 98 ui/views/controls/menu/menu_controller.cc base::string16 lower_title = base::i18n::ToLower(menu->title()); base 255 ui/views/controls/menu/menu_controller.cc start_scroll_time_ = base::Time::Now(); base 282 ui/views/controls/menu/menu_controller.cc (base::Time::Now() - start_scroll_time_).InMilliseconds() * base 297 ui/views/controls/menu/menu_controller.cc base::RepeatingTimer<MenuScrollTask> scrolling_timer_; base 300 ui/views/controls/menu/menu_controller.cc base::Time start_scroll_time_; base 366 ui/views/controls/menu/menu_controller.cc closing_event_time_ = base::TimeDelta(); base 367 ui/views/controls/menu/menu_controller.cc menu_start_time_ = base::TimeTicks::Now(); base 612 ui/views/controls/menu/menu_controller.cc base::TimeDelta time_shown = base::TimeTicks::Now() - menu_start_time_; base 632 ui/views/controls/menu/menu_controller.cc base::TimeDelta shown_time = base::TimeTicks::Now() - menu_start_time_; base 1078 ui/views/controls/menu/menu_controller.cc if (base::i18n::IsRTL()) base 1085 ui/views/controls/menu/menu_controller.cc if (base::i18n::IsRTL()) base 1157 ui/views/controls/menu/menu_controller.cc closing_event_time_(base::TimeDelta()), base 1158 ui/views/controls/menu/menu_controller.cc menu_start_time_(base::TimeTicks()), base 1186 ui/views/controls/menu/menu_controller.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 1187 ui/views/controls/menu/menu_controller.cc base::MessageLoop::ScopedNestableTaskAllower allow(loop); base 1188 ui/views/controls/menu/menu_controller.cc base::RunLoop run_loop(&nested_dispatcher); base 1220 ui/views/controls/menu/menu_controller.cc if (base::i18n::IsRTL() && base 1805 ui/views/controls/menu/menu_controller.cc bool layout_is_rtl = base::i18n::IsRTL(); base 2033 ui/views/controls/menu/menu_controller.cc base::char16 key, base 2034 ui/views/controls/menu/menu_controller.cc bool (*match_function)(MenuItemView* menu, base::char16 mnemonic)) { base 2085 ui/views/controls/menu/menu_controller.cc bool MenuController::SelectByChar(base::char16 character) { base 2086 ui/views/controls/menu/menu_controller.cc base::char16 char_array[] = { character, 0 }; base 2087 ui/views/controls/menu/menu_controller.cc base::char16 key = base::i18n::ToLower(char_array)[0]; base 2304 ui/views/controls/menu/menu_controller.cc base::MessageLoop::current()->QuitNow(); base 22 ui/views/controls/menu/menu_controller.h namespace base { base 104 ui/views/controls/menu/menu_controller.h base::TimeDelta closing_event_time() const { return closing_event_time_; } base 416 ui/views/controls/menu/menu_controller.h base::char16 key, base 417 ui/views/controls/menu/menu_controller.h bool (*match_function)(MenuItemView* menu, base::char16 mnemonic)); base 426 ui/views/controls/menu/menu_controller.h bool SelectByChar(base::char16 key); base 522 ui/views/controls/menu/menu_controller.h base::OneShotTimer<MenuController> show_timer_; base 528 ui/views/controls/menu/menu_controller.h base::OneShotTimer<MenuController> cancel_all_timer_; base 575 ui/views/controls/menu/menu_controller.h base::TimeDelta closing_event_time_; base 578 ui/views/controls/menu/menu_controller.h base::TimeTicks menu_start_time_; base 16 ui/views/controls/menu/menu_delegate.cc base::string16 MenuDelegate::GetLabel(int id) const { base 17 ui/views/controls/menu/menu_delegate.cc return base::string16(); base 41 ui/views/controls/menu/menu_delegate.cc base::string16 MenuDelegate::GetTooltipText(int id, base 43 ui/views/controls/menu/menu_delegate.cc return base::string16(); base 65 ui/views/controls/menu/menu_delegate.cc bool MenuDelegate::GetContextualLabel(int id, base::string16* out) const { base 64 ui/views/controls/menu/menu_delegate.h virtual base::string16 GetLabel(int id) const; base 95 ui/views/controls/menu/menu_delegate.h virtual base::string16 GetTooltipText(int id, base 118 ui/views/controls/menu/menu_delegate.h virtual bool GetContextualLabel(int id, base::string16* out) const; base 73 ui/views/controls/menu/menu_host.cc base::AutoReset<bool> reseter(&ignore_capture_lost_, true); base 167 ui/views/controls/menu/menu_image_util.cc return GetRtlSubmenuArrowImage(base::i18n::IsRTL(), dark_background); base 53 ui/views/controls/menu/menu_item_view.cc base::string16* tooltip) const OVERRIDE { base 122 ui/views/controls/menu/menu_item_view.cc base::string16* tooltip) const { base 156 ui/views/controls/menu/menu_item_view.cc base::string16 item_text; base 195 ui/views/controls/menu/menu_item_view.cc base::string16 MenuItemView::GetAccessibleNameForMenuItem( base 196 ui/views/controls/menu/menu_item_view.cc const base::string16& item_text, const base::string16& minor_text) { base 197 ui/views/controls/menu/menu_item_view.cc base::string16 accessible_name = item_text; base 201 ui/views/controls/menu/menu_item_view.cc const base::char16 amp = '&'; base 202 ui/views/controls/menu/menu_item_view.cc while ((index = accessible_name.find(amp, index)) != base::string16::npos && base 231 ui/views/controls/menu/menu_item_view.cc const base::string16& label, base 232 ui/views/controls/menu/menu_item_view.cc const base::string16& sublabel, base 233 ui/views/controls/menu/menu_item_view.cc const base::string16& minor_text, base 277 ui/views/controls/menu/menu_item_view.cc const base::string16& label, base 279 ui/views/controls/menu/menu_item_view.cc return AppendMenuItemImpl(item_id, label, base::string16(), base::string16(), base 284 ui/views/controls/menu/menu_item_view.cc const base::string16& label) { base 285 ui/views/controls/menu/menu_item_view.cc return AppendMenuItemImpl(item_id, label, base::string16(), base::string16(), base 290 ui/views/controls/menu/menu_item_view.cc const base::string16& label, base 292 ui/views/controls/menu/menu_item_view.cc return AppendMenuItemImpl(item_id, label, base::string16(), base::string16(), base 298 ui/views/controls/menu/menu_item_view.cc const base::string16& label) { base 303 ui/views/controls/menu/menu_item_view.cc return AppendMenuItem(item_id, base::string16(), NORMAL); base 307 ui/views/controls/menu/menu_item_view.cc AppendMenuItemImpl(0, base::string16(), base::string16(), base::string16(), base 312 ui/views/controls/menu/menu_item_view.cc const base::string16& label, base 314 ui/views/controls/menu/menu_item_view.cc return AppendMenuItemImpl(item_id, label, base::string16(), base::string16(), base 320 ui/views/controls/menu/menu_item_view.cc const base::string16& label, base 321 ui/views/controls/menu/menu_item_view.cc const base::string16& sublabel, base 322 ui/views/controls/menu/menu_item_view.cc const base::string16& minor_text, base 345 ui/views/controls/menu/menu_item_view.cc void MenuItemView::SetTitle(const base::string16& title) { base 350 ui/views/controls/menu/menu_item_view.cc void MenuItemView::SetSubtitle(const base::string16& subtitle) { base 355 ui/views/controls/menu/menu_item_view.cc void MenuItemView::SetMinorText(const base::string16& minor_text) { base 365 ui/views/controls/menu/menu_item_view.cc void MenuItemView::SetTooltip(const base::string16& tooltip, int item_id) { base 448 ui/views/controls/menu/menu_item_view.cc base::char16 MenuItemView::GetMnemonic() { base 455 ui/views/controls/menu/menu_item_view.cc if (index != base::string16::npos) { base 457 ui/views/controls/menu/menu_item_view.cc base::char16 char_array[] = { title_[index + 1], 0 }; base 462 ui/views/controls/menu/menu_item_view.cc return base::i18n::ToLower(char_array)[0]; base 466 ui/views/controls/menu/menu_item_view.cc } while (index != base::string16::npos); base 677 ui/views/controls/menu/menu_item_view.cc if (base::i18n::IsRTL()) base 858 ui/views/controls/menu/menu_item_view.cc base::string16 minor_text = GetMinorText(); base 873 ui/views/controls/menu/menu_item_view.cc if (base::i18n::IsRTL()) base 989 ui/views/controls/menu/menu_item_view.cc base::string16 minor_text = GetMinorText(); base 1012 ui/views/controls/menu/menu_item_view.cc base::string16 MenuItemView::GetMinorText() { base 1015 ui/views/controls/menu/menu_item_view.cc return base::string16(); base 135 ui/views/controls/menu/menu_item_view.h base::string16* tooltip) const OVERRIDE; base 150 ui/views/controls/menu/menu_item_view.h static base::string16 GetAccessibleNameForMenuItem( base 151 ui/views/controls/menu/menu_item_view.h const base::string16& item_text, const base::string16& accelerator_text); base 160 ui/views/controls/menu/menu_item_view.h const base::string16& label, base 161 ui/views/controls/menu/menu_item_view.h const base::string16& sublabel, base 162 ui/views/controls/menu/menu_item_view.h const base::string16& minor_text, base 180 ui/views/controls/menu/menu_item_view.h const base::string16& label, base 186 ui/views/controls/menu/menu_item_view.h const base::string16& label); base 191 ui/views/controls/menu/menu_item_view.h const base::string16& label, base 197 ui/views/controls/menu/menu_item_view.h const base::string16& label); base 210 ui/views/controls/menu/menu_item_view.h const base::string16& label, base 215 ui/views/controls/menu/menu_item_view.h const base::string16& label, base 216 ui/views/controls/menu/menu_item_view.h const base::string16& sublabel, base 217 ui/views/controls/menu/menu_item_view.h const base::string16& minor_text, base 237 ui/views/controls/menu/menu_item_view.h void SetTitle(const base::string16& title); base 238 ui/views/controls/menu/menu_item_view.h const base::string16& title() const { return title_; } base 241 ui/views/controls/menu/menu_item_view.h void SetSubtitle(const base::string16& subtitle); base 244 ui/views/controls/menu/menu_item_view.h void SetMinorText(const base::string16& minor_text); base 257 ui/views/controls/menu/menu_item_view.h void SetTooltip(const base::string16& tooltip, int item_id); base 300 ui/views/controls/menu/menu_item_view.h base::char16 GetMnemonic(); base 406 ui/views/controls/menu/menu_item_view.h base::string16 GetMinorText(); base 467 ui/views/controls/menu/menu_item_view.h base::string16 title_; base 470 ui/views/controls/menu/menu_item_view.h base::string16 subtitle_; base 473 ui/views/controls/menu/menu_item_view.h base::string16 minor_text_; base 489 ui/views/controls/menu/menu_item_view.h base::string16 tooltip_; base 19 ui/views/controls/menu/menu_message_pump_dispatcher.h class MenuMessagePumpDispatcher : public base::MessagePumpDispatcher { base 26 ui/views/controls/menu/menu_message_pump_dispatcher.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 15 ui/views/controls/menu/menu_message_pump_dispatcher_linux.cc uint32_t MenuMessagePumpDispatcher::Dispatch(const base::NativeEvent& event) { base 50 ui/views/controls/menu/menu_message_pump_dispatcher_win.cc menu_controller_->SelectByChar(static_cast<base::char16>(msg.wParam)); base 62 ui/views/controls/menu/menu_model_adapter.cc base::string16 label, sublabel, minor_text; base 174 ui/views/controls/menu/menu_model_adapter.cc base::string16 MenuModelAdapter::GetLabel(int id) const { base 181 ui/views/controls/menu/menu_model_adapter.cc return base::string16(); base 71 ui/views/controls/menu/menu_model_adapter.h virtual base::string16 GetLabel(int id) const OVERRIDE; base 55 ui/views/controls/menu/menu_model_adapter_unittest.cc virtual base::string16 GetLabelAt(int index) const OVERRIDE { base 132 ui/views/controls/menu/menu_model_adapter_unittest.cc label(base::ASCIIToUTF16(item_label)), base 137 ui/views/controls/menu/menu_model_adapter_unittest.cc base::string16 label; base 52 ui/views/controls/menu/menu_runner.cc base::TimeDelta closing_event_time() const; base 97 ui/views/controls/menu/menu_runner.cc base::TimeDelta closing_event_time_; base 100 ui/views/controls/menu/menu_runner.cc base::WeakPtrFactory<MenuRunnerImpl> weak_factory_; base 112 ui/views/controls/menu/menu_runner.cc closing_event_time_(base::TimeDelta()), base 149 ui/views/controls/menu/menu_runner.cc closing_event_time_ = base::TimeDelta(); base 215 ui/views/controls/menu/menu_runner.cc base::TimeDelta MenuRunnerImpl::closing_event_time() const { base 261 ui/views/controls/menu/menu_runner.cc base::WeakPtr<MenuRunnerImpl> ref(weak_factory_.GetWeakPtr()); base 276 ui/views/controls/menu/menu_runner.cc show_mnemonics = base::win::IsAltPressed(); base 346 ui/views/controls/menu/menu_runner.cc base::TimeDelta MenuRunner::closing_event_time() const { base 117 ui/views/controls/menu/menu_runner.h base::TimeDelta closing_event_time() const; base 55 ui/views/controls/menu/native_menu_win.cc base::string16 label; base 103 ui/views/controls/menu/native_menu_win.cc base::win::InitializeWindowClass( base 105 ui/views/controls/menu/native_menu_win.cc &base::win::WrappedWindowProc<MenuHostWindowProc>, base 183 ui/views/controls/menu/native_menu_win.cc if (data->label.find(L'\t') != base::string16::npos) base 239 ui/views/controls/menu/native_menu_win.cc base::string16 label = data->label; base 240 ui/views/controls/menu/native_menu_win.cc base::string16 accel; base 241 ui/views/controls/menu/native_menu_win.cc base::string16::size_type tab_pos = label.find(L'\t'); base 242 ui/views/controls/menu/native_menu_win.cc if (tab_pos != base::string16::npos) { base 459 ui/views/controls/menu/native_menu_win.cc base::MessageLoop::current()->PostTask( base 461 ui/views/controls/menu/native_menu_win.cc base::Bind(&NativeMenuWin::DelayedSelect, base 631 ui/views/controls/menu/native_menu_win.cc item_data->label = base::string16(); base 683 ui/views/controls/menu/native_menu_win.cc const base::string16& label) { base 695 ui/views/controls/menu/native_menu_win.cc const base::string16& label) { base 696 ui/views/controls/menu/native_menu_win.cc base::string16 formatted = label; base 77 ui/views/controls/menu/native_menu_win.h const base::string16& label); base 85 ui/views/controls/menu/native_menu_win.h const base::string16& label); base 149 ui/views/controls/menu/native_menu_win.h base::WeakPtrFactory<NativeMenuWin> menu_to_select_factory_; base 328 ui/views/controls/menu/submenu_view.cc base::string16 SubmenuView::GetTextForRow(int row) { base 89 ui/views/controls/menu/submenu_view.h virtual base::string16 GetTextForRow(int row) OVERRIDE; base 39 ui/views/controls/message_box_view.cc bool IsParagraphSeparator(base::char16 c) { base 47 ui/views/controls/message_box_view.cc void SplitStringIntoParagraphs(const base::string16& text, base 48 ui/views/controls/message_box_view.cc std::vector<base::string16>* paragraphs) { base 68 ui/views/controls/message_box_view.cc MessageBoxView::InitParams::InitParams(const base::string16& message) base 88 ui/views/controls/message_box_view.cc base::string16 MessageBoxView::GetInputText() { base 89 ui/views/controls/message_box_view.cc return prompt_field_ ? prompt_field_->text() : base::string16(); base 104 ui/views/controls/message_box_view.cc void MessageBoxView::SetCheckBoxLabel(const base::string16& label) { base 118 ui/views/controls/message_box_view.cc void MessageBoxView::SetLink(const base::string16& text, base 166 ui/views/controls/message_box_view.cc base::string16 text = message_labels_[0]->text(); base 178 ui/views/controls/message_box_view.cc std::vector<base::string16> texts; base 182 ui/views/controls/message_box_view.cc base::i18n::TextDirection message_direction = base 183 ui/views/controls/message_box_view.cc base::i18n::GetFirstStrongCharacterDirection(params.message); base 185 ui/views/controls/message_box_view.cc (message_direction == base::i18n::RIGHT_TO_LEFT) ? base 45 ui/views/controls/message_box_view.h explicit InitParams(const base::string16& message); base 49 ui/views/controls/message_box_view.h base::string16 message; base 50 ui/views/controls/message_box_view.h base::string16 default_prompt; base 63 ui/views/controls/message_box_view.h base::string16 GetInputText(); base 76 ui/views/controls/message_box_view.h void SetCheckBoxLabel(const base::string16& label); base 83 ui/views/controls/message_box_view.h void SetLink(const base::string16& text, LinkListener* listener); base 26 ui/views/controls/prefix_delegate.h virtual base::string16 GetTextForRow(int row) = 0; base 50 ui/views/controls/prefix_selector.cc void PrefixSelector::InsertText(const base::string16& text) { base 54 ui/views/controls/prefix_selector.cc void PrefixSelector::InsertChar(base::char16 ch, int flags) { base 55 ui/views/controls/prefix_selector.cc OnTextInput(base::string16(1, ch)); base 118 ui/views/controls/prefix_selector.cc base::string16* text) const { base 127 ui/views/controls/prefix_selector.cc base::i18n::TextDirection direction) { base 146 ui/views/controls/prefix_selector.cc void PrefixSelector::OnTextInput(const base::string16& text) { base 163 ui/views/controls/prefix_selector.cc const base::TimeTicks now(base::TimeTicks::Now()); base 174 ui/views/controls/prefix_selector.cc const base::string16 lower_text(base::i18n::ToLower(current_text_)); base 185 ui/views/controls/prefix_selector.cc const base::string16& lower_text) { base 186 ui/views/controls/prefix_selector.cc const base::string16 model_text( base 187 ui/views/controls/prefix_selector.cc base::i18n::ToLower(prefix_delegate_->GetTextForRow(row))); base 194 ui/views/controls/prefix_selector.cc time_of_last_key_ = base::TimeTicks(); base 32 ui/views/controls/prefix_selector.h virtual void InsertText(const base::string16& text) OVERRIDE; base 33 ui/views/controls/prefix_selector.h virtual void InsertChar(base::char16 ch, int flags) OVERRIDE; base 48 ui/views/controls/prefix_selector.h base::string16* text) const OVERRIDE; base 51 ui/views/controls/prefix_selector.h base::i18n::TextDirection direction) OVERRIDE; base 60 ui/views/controls/prefix_selector.h void OnTextInput(const base::string16& text); base 63 ui/views/controls/prefix_selector.h bool TextAtRowMatchesText(int row, const base::string16& lower_text); base 71 ui/views/controls/prefix_selector.h base::TimeTicks time_of_last_key_; base 73 ui/views/controls/prefix_selector.h base::string16 current_text_; base 14 ui/views/controls/prefix_selector_unittest.cc using base::ASCIIToUTF16; base 41 ui/views/controls/prefix_selector_unittest.cc virtual base::string16 GetTextForRow(int row) OVERRIDE { base 46 ui/views/controls/prefix_selector_unittest.cc std::vector<base::string16> rows_; base 170 ui/views/controls/progress_bar.cc void ProgressBar::SetTooltipText(const base::string16& tooltip_text) { base 175 ui/views/controls/progress_bar.cc base::string16* tooltip) const { base 38 ui/views/controls/progress_bar.h void SetTooltipText(const base::string16& tooltip_text); base 42 ui/views/controls/progress_bar.h base::string16* tooltip) const OVERRIDE; base 61 ui/views/controls/progress_bar.h base::string16 tooltip_text_; base 15 ui/views/controls/progress_bar_unittest.cc base::string16 tooltip = base::ASCIIToUTF16("Some text"); base 17 ui/views/controls/progress_bar_unittest.cc EXPECT_EQ(base::string16(), tooltip); base 18 ui/views/controls/progress_bar_unittest.cc base::string16 tooltip_text = base::ASCIIToUTF16("My progress"); base 31 ui/views/controls/progress_bar_unittest.cc EXPECT_EQ(base::string16(), state.name); base 74 ui/views/controls/resize_area.cc delegate_->OnResize(base::i18n::IsRTL() ? -resize_amount : resize_amount, base 47 ui/views/controls/scrollbar/base_scroll_bar.cc repeater_(base::Bind(&BaseScrollBar::TrackClicked, base 48 ui/views/controls/scrollbar/base_scroll_bar.cc base::Unretained(this))), base 318 ui/views/controls/scrollbar/base_scroll_bar.cc base::string16 BaseScrollBar::GetLabel(int id) const { base 350 ui/views/controls/scrollbar/base_scroll_bar.cc return ids_value ? l10n_util::GetStringUTF16(ids_value) : base::string16(); base 96 ui/views/controls/scrollbar/base_scroll_bar.h virtual base::string16 GetLabel(int id) const OVERRIDE; base 15 ui/views/controls/scrollbar/base_scroll_bar_button.cc repeater_(base::Bind(&BaseScrollBarButton::RepeaterNotifyClick, base 16 ui/views/controls/scrollbar/base_scroll_bar_button.cc base::Unretained(this))) { base 102 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc if (base::i18n::IsRTL()) base 142 ui/views/controls/single_split_view.cc void SingleSplitView::SetAccessibleName(const base::string16& name) { base 161 ui/views/controls/single_split_view.cc if (is_horizontal_ && base::i18n::IsRTL()) base 211 ui/views/controls/single_split_view.cc p.x() - child_at(base::i18n::IsRTL() ? 1 : 0)->width(); base 80 ui/views/controls/single_split_view.h void SetAccessibleName(const base::string16& name); base 140 ui/views/controls/single_split_view.h base::string16 accessible_name_; base 73 ui/views/controls/slide_out_view.cc base::TimeDelta::FromMilliseconds(kSwipeRestoreDurationMS)); base 83 ui/views/controls/slide_out_view.cc base::TimeDelta::FromMilliseconds(swipe_out_duration)); base 94 ui/views/controls/slider.cc if (old_value_valid && base::MessageLoop::current()) { base 120 ui/views/controls/slider.cc const int candidate_x = (base::i18n::IsRTL() ? base 141 ui/views/controls/slider.cc int amount = base::i18n::IsRTL() ? base 170 ui/views/controls/slider.cc void Slider::SetAccessibleName(const base::string16& name) { base 329 ui/views/controls/slider.cc state->value = base::UTF8ToUTF16( base 330 ui/views/controls/slider.cc base::StringPrintf("%d%%", (int)(value_ * 100 + 0.5))); base 60 ui/views/controls/slider.h void SetAccessibleName(const base::string16& name); base 108 ui/views/controls/slider.h base::string16 accessible_name_; base 58 ui/views/controls/slider_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 72 ui/views/controls/slider_unittest.cc base::i18n::SetICUDefaultLocale(locale); base 33 ui/views/controls/styled_label.cc const base::string16& text, base 95 ui/views/controls/styled_label.cc StyledLabel::StyledLabel(const base::string16& text, base 100 ui/views/controls/styled_label.cc base::TrimWhitespace(text, base::TRIM_TRAILING, &text_); base 105 ui/views/controls/styled_label.cc void StyledLabel::SetText(const base::string16& text) { base 197 ui/views/controls/styled_label.cc base::string16 remaining_string = text_; base 206 ui/views/controls/styled_label.cc base::TrimWhitespace(remaining_string, base::TRIM_LEADING, base 217 ui/views/controls/styled_label.cc std::vector<base::string16> substrings; base 234 ui/views/controls/styled_label.cc base::string16 chunk = substrings[0]; base 242 ui/views/controls/styled_label.cc base::TrimWhitespace(remaining_string, base::TRIM_LEADING, base 48 ui/views/controls/styled_label.h base::string16 tooltip; base 58 ui/views/controls/styled_label.h StyledLabel(const base::string16& text, StyledLabelListener* listener); base 62 ui/views/controls/styled_label.h void SetText(const base::string16& text); base 120 ui/views/controls/styled_label.h base::string16 text_; base 18 ui/views/controls/styled_label_unittest.cc using base::ASCIIToUTF16; base 375 ui/views/controls/styled_label_unittest.cc base::string16 tooltip; base 37 ui/views/controls/tabbed_pane/tabbed_pane.cc Tab(TabbedPane* tabbed_pane, const base::string16& title, View* contents); base 89 ui/views/controls/tabbed_pane/tabbed_pane.cc Tab::Tab(TabbedPane* tabbed_pane, const base::string16& title, View* contents) base 262 ui/views/controls/tabbed_pane/tabbed_pane.cc void TabbedPane::AddTab(const base::string16& title, View* contents) { base 267 ui/views/controls/tabbed_pane/tabbed_pane.cc const base::string16& title, base 43 ui/views/controls/tabbed_pane/tabbed_pane.h void AddTab(const base::string16& title, View* contents); base 48 ui/views/controls/tabbed_pane/tabbed_pane.h void AddTabAtIndex(int index, const base::string16& title, View* contents); base 12 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc using base::ASCIIToUTF16; base 112 ui/views/controls/table/table_header.cc if (base::i18n::IsRTL()) { base 130 ui/views/controls/table/table_header.cc const int scale = base::i18n::IsRTL() ? -1 : 1; base 240 ui/views/controls/table/table_header.cc const int scale = base::i18n::IsRTL() ? -1 : 1; base 24 ui/views/controls/table/table_utils_unittest.cc result += base::IntToString(values[i]); base 266 ui/views/controls/table/table_view.cc base::AutoReset<bool> reseter(&in_set_visible_column_width_, true); base 408 ui/views/controls/table/table_view.cc base::string16* tooltip) const { base 467 ui/views/controls/table/table_view.cc if (base::i18n::IsRTL()) base 875 ui/views/controls/table/table_view.cc base::string16* tooltip, base 887 ui/views/controls/table/table_view.cc const base::string16 text(model_->GetText(ViewToModel(row), base 174 ui/views/controls/table/table_view.h base::string16* tooltip) const OVERRIDE; base 294 ui/views/controls/table/table_view.h base::string16* tooltip, base 24 ui/views/controls/table/table_view_unittest.cc return "rows=" + base::IntToString(region.min_row) + " " + base 25 ui/views/controls/table/table_view_unittest.cc base::IntToString(region.max_row) + " cols=" + base 26 ui/views/controls/table/table_view_unittest.cc base::IntToString(region.min_column) + " " + base 27 ui/views/controls/table/table_view_unittest.cc base::IntToString(region.max_column); base 70 ui/views/controls/table/table_view_unittest.cc virtual base::string16 GetText(int row, int column_id) OVERRIDE; base 118 ui/views/controls/table/table_view_unittest.cc base::string16 TestTableModel2::GetText(int row, int column_id) { base 119 ui/views/controls/table/table_view_unittest.cc return base::IntToString16(rows_[row][column_id]); base 136 ui/views/controls/table/table_view_unittest.cc result += base::IntToString(table->ViewToModel(i)); base 147 ui/views/controls/table/table_view_unittest.cc result += base::IntToString(table->ModelToView(i)); base 178 ui/views/controls/table/table_view_unittest.cc columns[0].title = base::ASCIIToUTF16("Title Column 0"); base 180 ui/views/controls/table/table_view_unittest.cc columns[1].title = base::ASCIIToUTF16("Title Column 1"); base 203 ui/views/controls/table/table_view_unittest.cc ui::GestureEvent tap(ui::ET_GESTURE_TAP, 0, y, 0, base::TimeDelta(), base 212 ui/views/controls/table/table_view_unittest.cc std::string result = "active=" + base::IntToString(model.active()) + base 213 ui/views/controls/table/table_view_unittest.cc " anchor=" + base::IntToString(model.anchor()) + base 220 ui/views/controls/table/table_view_unittest.cc result += base::IntToString(selection[i]); base 314 ui/views/controls/table/table_view_unittest.cc base::TimeDelta(), event_details, 1); base 317 ui/views/controls/table/table_view_unittest.cc 0, base::TimeDelta(), event_details, 1); base 25 ui/views/controls/table/test_table_model.cc base::string16 TestTableModel::GetText(int row, int column_id) { base 26 ui/views/controls/table/test_table_model.cc return base::ASCIIToUTF16(base::IntToString(row) + "x" + base 27 ui/views/controls/table/test_table_model.cc base::IntToString(column_id)); base 18 ui/views/controls/table/test_table_model.h virtual base::string16 GetText(int row, int column_id) OVERRIDE; base 290 ui/views/controls/textfield/textfield.cc void Textfield::SetText(const base::string16& new_text) { base 297 ui/views/controls/textfield/textfield.cc void Textfield::AppendText(const base::string16& new_text) { base 305 ui/views/controls/textfield/textfield.cc void Textfield::InsertOrReplaceText(const base::string16& new_text) { base 313 ui/views/controls/textfield/textfield.cc base::i18n::TextDirection Textfield::GetTextDirection() const { base 323 ui/views/controls/textfield/textfield.cc base::string16 Textfield::GetSelectedText() const { base 394 ui/views/controls/textfield/textfield.cc base::string16 Textfield::GetPlaceholderText() const { base 454 ui/views/controls/textfield/textfield.cc void Textfield::SetAccessibleName(const base::string16& name) { base 535 ui/views/controls/textfield/textfield.cc ui::CLIPBOARD_TYPE_SELECTION).WriteText(base::string16()); base 599 ui/views/controls/textfield/textfield.cc const bool rtl = GetTextDirection() == base::i18n::RIGHT_TO_LEFT; base 659 ui/views/controls/textfield/textfield.cc base::win::DisplayVirtualKeyboard(); base 715 ui/views/controls/textfield/textfield.cc const bool rtl = GetTextDirection() == base::i18n::RIGHT_TO_LEFT; base 791 ui/views/controls/textfield/textfield.cc base::string16 new_text; base 833 ui/views/controls/textfield/textfield.cc base::Bind(&Textfield::AccessibilitySetValue, base 874 ui/views/controls/textfield/textfield.cc base::TimeDelta::FromMilliseconds(caret_blink_ms), this, base 931 ui/views/controls/textfield/textfield.cc const base::string16& selected_text(GetSelectedText()); base 1040 ui/views/controls/textfield/textfield.cc base::string16 result; base 1097 ui/views/controls/textfield/textfield.cc bool rtl = GetTextDirection() == base::i18n::RIGHT_TO_LEFT; base 1234 ui/views/controls/textfield/textfield.cc void Textfield::InsertText(const base::string16& new_text) { base 1250 ui/views/controls/textfield/textfield.cc void Textfield::InsertChar(base::char16 ch, int flags) { base 1272 ui/views/controls/textfield/textfield.cc password_reveal_duration_ != base::TimeDelta()) { base 1389 ui/views/controls/textfield/textfield.cc base::string16* range_text) const { base 1404 ui/views/controls/textfield/textfield.cc base::i18n::TextDirection direction) { base 1408 ui/views/controls/textfield/textfield.cc const gfx::DirectionalityMode mode = direction == base::i18n::RIGHT_TO_LEFT ? base 1444 ui/views/controls/textfield/textfield.cc base::string16 Textfield::GetSelectionClipboardText() const { base 1445 ui/views/controls/textfield/textfield.cc base::string16 selection_clipboard_text; base 1454 ui/views/controls/textfield/textfield.cc void Textfield::AccessibilitySetValue(const base::string16& new_value) { base 1607 ui/views/controls/textfield/textfield.cc base::TimeDelta time_delta = event.time_stamp() - last_click_time_; base 1634 ui/views/controls/textfield/textfield.cc base::Bind(&Textfield::RevealPasswordChar, base 1661 ui/views/controls/textfield/textfield.cc base::string16 selection_clipboard_text = GetSelectionClipboardText(); base 67 ui/views/controls/textfield/textfield.h const base::string16& text() const { return model_->text(); } base 73 ui/views/controls/textfield/textfield.h void SetText(const base::string16& new_text); base 76 ui/views/controls/textfield/textfield.h void AppendText(const base::string16& new_text); base 79 ui/views/controls/textfield/textfield.h void InsertOrReplaceText(const base::string16& new_text); base 82 ui/views/controls/textfield/textfield.h base::i18n::TextDirection GetTextDirection() const; base 85 ui/views/controls/textfield/textfield.h base::string16 GetSelectedText() const; base 124 ui/views/controls/textfield/textfield.h void set_placeholder_text(const base::string16& text) { base 127 ui/views/controls/textfield/textfield.h virtual base::string16 GetPlaceholderText() const; base 170 ui/views/controls/textfield/textfield.h void SetAccessibleName(const base::string16& name); base 256 ui/views/controls/textfield/textfield.h virtual void InsertText(const base::string16& text) OVERRIDE; base 257 ui/views/controls/textfield/textfield.h virtual void InsertChar(base::char16 ch, int flags) OVERRIDE; base 272 ui/views/controls/textfield/textfield.h base::string16* text) const OVERRIDE; base 275 ui/views/controls/textfield/textfield.h base::i18n::TextDirection direction) OVERRIDE; base 289 ui/views/controls/textfield/textfield.h virtual base::string16 GetSelectionClipboardText() const; base 298 ui/views/controls/textfield/textfield.h void AccessibilitySetValue(const base::string16& new_value); base 388 ui/views/controls/textfield/textfield.h base::string16 placeholder_text_; base 394 ui/views/controls/textfield/textfield.h base::string16 accessible_name_; base 400 ui/views/controls/textfield/textfield.h base::TimeDelta password_reveal_duration_; base 401 ui/views/controls/textfield/textfield.h base::OneShotTimer<Textfield> password_reveal_timer_; base 407 ui/views/controls/textfield/textfield.h base::RepeatingTimer<Textfield> cursor_repaint_timer_; base 419 ui/views/controls/textfield/textfield.h base::TimeDelta last_click_time_; base 430 ui/views/controls/textfield/textfield.h base::WeakPtrFactory<Textfield> weak_ptr_factory_; base 32 ui/views/controls/textfield/textfield_controller.h const base::string16& new_contents) {} base 84 ui/views/controls/textfield/textfield_model.cc const base::string16& old_text, base 88 ui/views/controls/textfield/textfield_model.cc const base::string16& new_text, base 128 ui/views/controls/textfield/textfield_model.cc base::string16 old_text = edit->old_text_; base 149 ui/views/controls/textfield/textfield_model.cc base::string16 old_text_; base 157 ui/views/controls/textfield/textfield_model.cc base::string16 new_text_; base 166 ui/views/controls/textfield/textfield_model.cc InsertEdit(bool mergeable, const base::string16& new_text, size_t at) base 170 ui/views/controls/textfield/textfield_model.cc base::string16(), base 194 ui/views/controls/textfield/textfield_model.cc const base::string16& old_text, base 199 ui/views/controls/textfield/textfield_model.cc const base::string16& new_text, base 227 ui/views/controls/textfield/textfield_model.cc const base::string16& text, base 237 ui/views/controls/textfield/textfield_model.cc base::string16(), base 309 ui/views/controls/textfield/textfield_model.cc bool TextfieldModel::SetText(const base::string16& new_text) { base 336 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::Append(const base::string16& new_text) { base 421 ui/views/controls/textfield/textfield_model.cc base::string16 TextfieldModel::GetSelectedText() const { base 477 ui/views/controls/textfield/textfield_model.cc base::string16 old = text(); base 500 ui/views/controls/textfield/textfield_model.cc base::string16 old = text(); base 535 ui/views/controls/textfield/textfield_model.cc base::string16 result; base 556 ui/views/controls/textfield/textfield_model.cc const base::string16& new_text, base 567 ui/views/controls/textfield/textfield_model.cc base::string16 TextfieldModel::GetTextFromRange(const gfx::Range& range) const { base 570 ui/views/controls/textfield/textfield_model.cc return base::string16(); base 588 ui/views/controls/textfield/textfield_model.cc base::string16 new_text = text(); base 617 ui/views/controls/textfield/textfield_model.cc base::string16 composition = text().substr(range.start(), range.length()); base 631 ui/views/controls/textfield/textfield_model.cc base::string16 new_text = text(); base 658 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::InsertTextInternal(const base::string16& new_text, base 671 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::ReplaceTextInternal(const base::string16& new_text, base 706 ui/views/controls/textfield/textfield_model.cc const base::string16 old_text = text().substr(old_text_start, range.length()); base 717 ui/views/controls/textfield/textfield_model.cc const base::string16& new_text) { base 730 ui/views/controls/textfield/textfield_model.cc const base::string16& new_text, base 748 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::ExecuteAndRecordInsert(const base::string16& new_text, base 780 ui/views/controls/textfield/textfield_model.cc const base::string16& new_text, base 784 ui/views/controls/textfield/textfield_model.cc base::string16 old_text = text(); base 67 ui/views/controls/textfield/textfield_model.h const base::string16& text() const { return render_text_->text(); } base 73 ui/views/controls/textfield/textfield_model.h bool SetText(const base::string16& new_text); base 79 ui/views/controls/textfield/textfield_model.h void InsertText(const base::string16& new_text) { base 84 ui/views/controls/textfield/textfield_model.h void InsertChar(base::char16 c) { base 85 ui/views/controls/textfield/textfield_model.h InsertTextInternal(base::string16(&c, 1), true); base 90 ui/views/controls/textfield/textfield_model.h void ReplaceText(const base::string16& new_text) { base 95 ui/views/controls/textfield/textfield_model.h void ReplaceChar(base::char16 c) { base 96 ui/views/controls/textfield/textfield_model.h ReplaceTextInternal(base::string16(&c, 1), true); base 101 ui/views/controls/textfield/textfield_model.h void Append(const base::string16& new_text); base 138 ui/views/controls/textfield/textfield_model.h base::string16 GetSelectedText() const; base 198 ui/views/controls/textfield/textfield_model.h void DeleteSelectionAndInsertTextAt(const base::string16& new_text, base 202 ui/views/controls/textfield/textfield_model.h base::string16 GetTextFromRange(const gfx::Range& range) const; base 243 ui/views/controls/textfield/textfield_model.h void InsertTextInternal(const base::string16& new_text, bool mergeable); base 248 ui/views/controls/textfield/textfield_model.h void ReplaceTextInternal(const base::string16& new_text, bool mergeable); base 256 ui/views/controls/textfield/textfield_model.h const base::string16& new_text); base 260 ui/views/controls/textfield/textfield_model.h const base::string16& new_text, base 262 ui/views/controls/textfield/textfield_model.h void ExecuteAndRecordInsert(const base::string16& new_text, bool mergeable); base 275 ui/views/controls/textfield/textfield_model.h const base::string16& new_text, base 26 ui/views/controls/textfield/textfield_model_unittest.cc using base::ASCIIToUTF16; base 27 ui/views/controls/textfield/textfield_model_unittest.cc using base::UTF8ToUTF16; base 28 ui/views/controls/textfield/textfield_model_unittest.cc using base::WideToUTF16; base 63 ui/views/controls/textfield/textfield_model_unittest.cc model->SetText(base::string16()); base 150 ui/views/controls/textfield/textfield_model_unittest.cc on_windows_xp = base::win::GetVersion() < base::win::VERSION_VISTA; base 244 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.text()); base 245 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); base 252 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); base 272 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); base 337 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); base 380 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); base 457 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); base 477 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); base 478 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(base::string16()); base 484 ui/views/controls/textfield/textfield_model_unittest.cc const base::string16 initial_clipboard_text = ASCIIToUTF16("initial text"); base 488 ui/views/controls/textfield/textfield_model_unittest.cc base::string16 clipboard_text; base 555 ui/views/controls/textfield/textfield_model_unittest.cc const base::string16 &expected_selected_string, base 916 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(base::string16()); base 937 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(base::string16()); base 46 ui/views/controls/textfield/textfield_unittest.cc using base::ASCIIToUTF16; base 47 ui/views/controls/textfield/textfield_unittest.cc using base::UTF8ToUTF16; base 48 ui/views/controls/textfield/textfield_unittest.cc using base::WideToUTF16; base 54 ui/views/controls/textfield/textfield_unittest.cc const base::char16 kHebrewLetterSamekh = 0x05E1; base 90 ui/views/controls/textfield/textfield_unittest.cc void set_text(const base::string16& text) { text_ = text; } base 91 ui/views/controls/textfield/textfield_unittest.cc const base::string16& text() const { return text_; } base 94 ui/views/controls/textfield/textfield_unittest.cc base::string16 text_; base 104 ui/views/controls/textfield/textfield_unittest.cc : GestureEvent(type, x, y, 0, base::TimeDelta(), base 112 ui/views/controls/textfield/textfield_unittest.cc base::string16 GetClipboardText(ui::ClipboardType type) { base 113 ui/views/controls/textfield/textfield_unittest.cc base::string16 text; base 151 ui/views/controls/textfield/textfield_unittest.cc const base::string16& new_contents) OVERRIDE { base 238 ui/views/controls/textfield/textfield_unittest.cc void SendKeyEvent(base::char16 ch) { base 319 ui/views/controls/textfield/textfield_unittest.cc base::string16 last_contents_; base 351 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(base::string16(), textfield_->GetSelectedText()); base 731 ui/views/controls/textfield/textfield_unittest.cc base::string16 text_left = textfield_->GetSelectedText(); base 735 ui/views/controls/textfield/textfield_unittest.cc base::string16 text_right = textfield_->GetSelectedText(); base 753 ui/views/controls/textfield/textfield_unittest.cc base::string16 string(ASCIIToUTF16("string ")); base 789 ui/views/controls/textfield/textfield_unittest.cc bad_data.SetFilename(base::FilePath(FILE_PATH_LITERAL("x"))); base 792 ui/views/controls/textfield/textfield_unittest.cc bad_data.SetFileContents(base::FilePath(L"x"), "x"); base 793 ui/views/controls/textfield/textfield_unittest.cc bad_data.SetHtml(base::string16(ASCIIToUTF16("x")), GURL("x.org")); base 794 ui/views/controls/textfield/textfield_unittest.cc ui::OSExchangeData::DownloadFileInfo download(base::FilePath(), NULL); base 805 ui/views/controls/textfield/textfield_unittest.cc base::string16 string; base 851 ui/views/controls/textfield/textfield_unittest.cc base::string16 string; base 904 ui/views/controls/textfield/textfield_unittest.cc base::string16 string; base 1068 ui/views/controls/textfield/textfield_unittest.cc base::Callback<void(base::string16)> callback = base 1069 ui/views/controls/textfield/textfield_unittest.cc base::Bind(&GetTextHelper::set_text, base::Unretained(&helper)); base 1301 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(base::string16()); base 1383 ui/views/controls/textfield/textfield_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 1436 ui/views/controls/textfield/textfield_unittest.cc base::i18n::SetICUDefaultLocale(locale); base 1528 ui/views/controls/textfield/textfield_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 1559 ui/views/controls/textfield/textfield_unittest.cc base::i18n::SetICUDefaultLocale(locale); base 1565 ui/views/controls/textfield/textfield_unittest.cc base::string16 str; base 1590 ui/views/controls/textfield/textfield_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 1594 ui/views/controls/textfield/textfield_unittest.cc base::string16 str; base 1616 ui/views/controls/textfield/textfield_unittest.cc base::i18n::SetICUDefaultLocale(locale); base 1622 ui/views/controls/textfield/textfield_unittest.cc base::string16 str; base 1666 ui/views/controls/textfield/textfield_unittest.cc const base::char16 kUtf16Chars[] = { base 14 ui/views/controls/throbber.cc using base::Time; base 15 ui/views/controls/throbber.cc using base::TimeDelta; base 52 ui/views/controls/throbber.h base::Time start_time_; // Time when Start was called. base 54 ui/views/controls/throbber.h base::TimeDelta frame_time_; // How long one frame is displayed. base 55 ui/views/controls/throbber.h base::RepeatingTimer<Throbber> timer_; // Used to schedule Run calls. base 91 ui/views/controls/throbber.h base::OneShotTimer<SmoothedThrobber> start_timer_; base 92 ui/views/controls/throbber.h base::OneShotTimer<SmoothedThrobber> stop_timer_; base 86 ui/views/controls/tree/tree_view.cc (base::i18n::IsRTL() ? IDR_FOLDER_CLOSED_RTL base 89 ui/views/controls/tree/tree_view.cc (base::i18n::IsRTL() ? IDR_FOLDER_OPEN_RTL base 486 ui/views/controls/tree/tree_view.cc const base::string16& new_contents) { base 529 ui/views/controls/tree/tree_view.cc base::string16 TreeView::GetTextForRow(int row) { base 544 ui/views/controls/tree/tree_view.cc if (base::i18n::IsRTL()) base 572 ui/views/controls/tree/tree_view.cc if (base::i18n::IsRTL()) base 579 ui/views/controls/tree/tree_view.cc if (base::i18n::IsRTL()) base 648 ui/views/controls/tree/tree_view.cc if (base::i18n::IsRTL()) base 785 ui/views/controls/tree/tree_view.cc if (base::i18n::IsRTL()) base 796 ui/views/controls/tree/tree_view.cc if (base::i18n::IsRTL()) base 822 ui/views/controls/tree/tree_view.cc if (base::i18n::IsRTL()) { base 833 ui/views/controls/tree/tree_view.cc int delta = base::i18n::IsRTL() ? 1 : -1; base 148 ui/views/controls/tree/tree_view.h const base::string16& new_contents) OVERRIDE; base 162 ui/views/controls/tree/tree_view.h virtual base::string16 GetTextForRow(int row) OVERRIDE; base 20 ui/views/controls/tree/tree_view_unittest.cc using base::ASCIIToUTF16; base 73 ui/views/controls/tree/tree_view_unittest.cc TestNode* GetNodeByTitleImpl(TestNode* node, const base::string16& title); base 93 ui/views/controls/tree/tree_view_unittest.cc return model_node ? base::UTF16ToASCII(model_node->GetTitle()) base 99 ui/views/controls/tree/tree_view_unittest.cc return model_node ? base::UTF16ToASCII(model_node->GetTitle()) base 125 ui/views/controls/tree/tree_view_unittest.cc const base::string16& title) { base 138 ui/views/controls/tree/tree_view_unittest.cc std::string result = base::UTF16ToASCII(node->model_node()->GetTitle()); base 134 ui/views/controls/webview/web_dialog_view.cc base::string16 WebDialogView::GetWindowTitle() const { base 137 ui/views/controls/webview/web_dialog_view.cc return base::string16(); base 187 ui/views/controls/webview/web_dialog_view.cc base::string16 WebDialogView::GetDialogTitle() const { base 66 ui/views/controls/webview/web_dialog_view.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 78 ui/views/controls/webview/web_dialog_view.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 37 ui/views/corewm/desktop_capture_controller_unittest.cc base::FilePath pak_dir; base 38 ui/views/corewm/desktop_capture_controller_unittest.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 39 ui/views/corewm/desktop_capture_controller_unittest.cc base::FilePath pak_file; base 172 ui/views/corewm/desktop_capture_controller_unittest.cc base::TimeDelta(), base 30 ui/views/corewm/tooltip.h const base::string16& tooltip_text, base 76 ui/views/corewm/tooltip_aura.cc base::string16* text, base 85 ui/views/corewm/tooltip_aura.cc std::vector<base::string16> lines; base 86 ui/views/corewm/tooltip_aura.cc base::SplitString(*text, '\n', &lines); base 87 ui/views/corewm/tooltip_aura.cc std::vector<base::string16> result_lines; base 90 ui/views/corewm/tooltip_aura.cc for (std::vector<base::string16>::iterator l = lines.begin(); base 95 ui/views/corewm/tooltip_aura.cc std::vector<base::string16> words; base 96 ui/views/corewm/tooltip_aura.cc base::SplitStringDontTrim(*l, ' ', &words); base 98 ui/views/corewm/tooltip_aura.cc base::string16 line; base 99 ui/views/corewm/tooltip_aura.cc for (std::vector<base::string16>::iterator w = words.begin(); base 101 ui/views/corewm/tooltip_aura.cc base::string16 word = *w; base 128 ui/views/corewm/tooltip_aura.cc base::string16 result; base 129 ui/views/corewm/tooltip_aura.cc for (std::vector<base::string16>::iterator l = result_lines.begin(); base 223 ui/views/corewm/tooltip_aura.cc const base::string16& tooltip_text, base 227 ui/views/corewm/tooltip_aura.cc base::string16 trimmed_text(tooltip_text); base 35 ui/views/corewm/tooltip_aura.h base::string16* text, base 60 ui/views/corewm/tooltip_aura.h const base::string16& tooltip_text, base 14 ui/views/corewm/tooltip_aura_unittest.cc using base::ASCIIToUTF16; base 15 ui/views/corewm/tooltip_aura_unittest.cc using base::UTF8ToUTF16; base 25 ui/views/corewm/tooltip_aura_unittest.cc base::string16 tooltip; base 122 ui/views/corewm/tooltip_controller.cc base::TimeDelta::FromMilliseconds(kTooltipTimeoutMs), base 154 ui/views/corewm/tooltip_controller.cc base::TimeDelta::FromMilliseconds(kTooltipTimeoutMs), base 263 ui/views/corewm/tooltip_controller.cc base::string16 tooltip_text; base 286 ui/views/corewm/tooltip_controller.cc base::string16 trimmed_text(tooltip_text_); base 290 ui/views/corewm/tooltip_controller.cc base::string16 whitespace_removed_text; base 291 ui/views/corewm/tooltip_controller.cc base::TrimWhitespace(trimmed_text, base::TRIM_ALL, base 303 ui/views/corewm/tooltip_controller.cc base::TimeDelta::FromMilliseconds(timeout), base 83 ui/views/corewm/tooltip_controller.h base::string16 tooltip_text_; base 87 ui/views/corewm/tooltip_controller.h base::string16 tooltip_text_at_mouse_press_; base 91 ui/views/corewm/tooltip_controller.h base::RepeatingTimer<TooltipController> tooltip_timer_; base 95 ui/views/corewm/tooltip_controller.h base::OneShotTimer<TooltipController> tooltip_shown_timer_; base 22 ui/views/corewm/tooltip_controller_test_helper.cc base::string16 TooltipControllerTestHelper::GetTooltipText() { base 58 ui/views/corewm/tooltip_controller_test_helper.cc base::string16* tooltip) const { base 34 ui/views/corewm/tooltip_controller_test_helper.h base::string16 GetTooltipText(); base 54 ui/views/corewm/tooltip_controller_test_helper.h void set_tooltip_text(base::string16 tooltip_text) { base 60 ui/views/corewm/tooltip_controller_test_helper.h base::string16* tooltip) const OVERRIDE; base 63 ui/views/corewm/tooltip_controller_test_helper.h base::string16 tooltip_text_; base 41 ui/views/corewm/tooltip_controller_unittest.cc using base::ASCIIToUTF16; base 147 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 153 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text"); base 155 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 172 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 188 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text"); base 198 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip; // = "" base 207 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 211 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text"); base 233 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 244 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 273 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text for view 1"); base 285 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text for view 2"); base 293 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 321 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text for view 1"); base 333 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text for view 2"); base 343 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text"); base 345 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 367 ui/views/corewm/tooltip_controller_unittest.cc const base::string16 v1_tt(ASCIIToUTF16("v1")); base 368 ui/views/corewm/tooltip_controller_unittest.cc const base::string16 v2_tt(ASCIIToUTF16("v2")); base 471 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text"); base 473 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 494 ui/views/corewm/tooltip_controller_unittest.cc const base::string16 tooltip_text(ASCIIToUTF16("1")); base 495 ui/views/corewm/tooltip_controller_unittest.cc const base::string16 tooltip_text2(ASCIIToUTF16("2")); base 550 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 565 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = base 598 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = base 620 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 626 ui/views/corewm/tooltip_controller_unittest.cc base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text"); base 628 ui/views/corewm/tooltip_controller_unittest.cc EXPECT_EQ(base::string16(), helper_->GetTooltipText()); base 664 ui/views/corewm/tooltip_controller_unittest.cc const base::string16& tooltip_text() const { return tooltip_text_; } base 668 ui/views/corewm/tooltip_controller_unittest.cc const base::string16& tooltip_text, base 684 ui/views/corewm/tooltip_controller_unittest.cc base::string16 tooltip_text_; base 736 ui/views/corewm/tooltip_controller_unittest.cc base::string16 tooltip_text(ASCIIToUTF16(" \nx ")); base 749 ui/views/corewm/tooltip_controller_unittest.cc base::string16 tooltip_text(ASCIIToUTF16("Tooltip Text")); base 104 ui/views/corewm/tooltip_win.cc const base::string16& tooltip_text, base 118 ui/views/corewm/tooltip_win.cc base::string16 adjusted_text(tooltip_text); base 119 ui/views/corewm/tooltip_win.cc base::i18n::AdjustStringForLocaleDirection(&adjusted_text); base 41 ui/views/corewm/tooltip_win.h const base::string16& tooltip_text, base 21 ui/views/debug_utils.cc *out << base::UTF8ToWide(view->GetClassName()); base 41 ui/views/debug_utils.cc *out << base::UTF8ToWide(view->GetClassName()); base 14 ui/views/examples/bubble_example.cc using base::ASCIIToUTF16; base 31 ui/views/examples/bubble_example.cc base::string16 GetArrowName(BubbleBorder::Arrow arrow) { base 19 ui/views/examples/button_example.cc using base::ASCIIToUTF16; base 23 ui/views/examples/checkbox_example.cc button_ = new Checkbox(base::ASCIIToUTF16("Checkbox")); base 25 ui/views/examples/combobox_example.cc base::string16 ComboboxModelExample::GetItemAt(int index) { base 26 ui/views/examples/combobox_example.cc return base::UTF8ToUTF16(base::StringPrintf("Item %d", index)); base 49 ui/views/examples/combobox_example.cc PrintStatus("Selected: %s", base::UTF16ToUTF8(combobox_model_.GetItemAt( base 24 ui/views/examples/combobox_example.h virtual base::string16 GetItemAt(int index) OVERRIDE; base 83 ui/views/examples/content_client/examples_browser_main_parts.cc base::RunLoop run_loop; base 70 ui/views/examples/content_client/examples_main_delegate.cc base::FilePath pak_dir; base 71 ui/views/examples/content_client/examples_main_delegate.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 73 ui/views/examples/content_client/examples_main_delegate.cc base::FilePath pak_file; base 24 ui/views/examples/example_base.cc explicit ContainerView(ExampleBase* base) base 26 ui/views/examples/example_base.cc example_base_(base) { base 63 ui/views/examples/example_base.cc base::StringAppendV(&msg, format, ap); base 23 ui/views/examples/example_combobox_model.cc base::string16 ExampleComboboxModel::GetItemAt(int index) { base 24 ui/views/examples/example_combobox_model.cc return base::ASCIIToUTF16(strings_[index]); base 21 ui/views/examples/example_combobox_model.h virtual base::string16 GetItemAt(int index) OVERRIDE; base 41 ui/views/examples/examples_main.cc base::AtExitManager at_exit; base 56 ui/views/examples/examples_main.cc base::MessageLoopForUI message_loop; base 58 ui/views/examples/examples_main.cc base::i18n::InitializeICU(); base 60 ui/views/examples/examples_main.cc base::FilePath pak_dir; base 61 ui/views/examples/examples_main.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 63 ui/views/examples/examples_main.cc base::FilePath pak_file; base 87 ui/views/examples/examples_main.cc base::RunLoop().Run(); base 109 ui/views/examples/examples_window.cc virtual base::string16 GetItemAt(int index) OVERRIDE { base 110 ui/views/examples/examples_window.cc return base::UTF8ToUTF16(example_list_[index]->example_title()); base 167 ui/views/examples/examples_window.cc status_label_->SetText(base::UTF8ToUTF16(status)); base 176 ui/views/examples/examples_window.cc virtual base::string16 GetWindowTitle() const OVERRIDE { base 177 ui/views/examples/examples_window.cc return base::ASCIIToUTF16("Views Examples"); base 183 ui/views/examples/examples_window.cc base::MessageLoopForUI::current()->Quit(); base 13 ui/views/examples/label_example.cc using base::ASCIIToUTF16; base 14 ui/views/examples/label_example.cc using base::WideToUTF16; base 22 ui/views/examples/link_example.cc link_ = new Link(base::ASCIIToUTF16("Click me!")); base 18 ui/views/examples/menu_example.cc using base::ASCIIToUTF16; base 63 ui/views/examples/menu_example.cc explicit ExampleMenuButton(const base::string16& test); base 181 ui/views/examples/menu_example.cc ExampleMenuButton::ExampleMenuButton(const base::string16& test) base 13 ui/views/examples/message_box_example.cc using base::ASCIIToUTF16; base 18 ui/views/examples/multiline_example.cc using base::ASCIIToUTF16; base 62 ui/views/examples/multiline_example.cc void SetText(const base::string16& new_contents) { base 145 ui/views/examples/multiline_example.cc const base::string16& new_contents) { base 161 ui/views/examples/multiline_example.cc base::string16()); base 39 ui/views/examples/multiline_example.h const base::string16& new_contents) OVERRIDE; base 54 ui/views/examples/progress_bar_example.cc minus_button_ = new LabelButton(this, base::ASCIIToUTF16("-")); base 58 ui/views/examples/progress_bar_example.cc plus_button_ = new LabelButton(this, base::ASCIIToUTF16("+")); base 26 ui/views/examples/radio_button_example.cc select_ = new LabelButton(this, base::ASCIIToUTF16("Select")); base 27 ui/views/examples/radio_button_example.cc status_ = new LabelButton(this, base::ASCIIToUTF16("Show Status")); base 32 ui/views/examples/radio_button_example.cc base::UTF8ToUTF16(base::StringPrintf( base 15 ui/views/examples/scroll_view_example.cc using base::ASCIIToUTF16; base 40 ui/views/examples/slider_example.cc label_->SetText(base::ASCIIToUTF16(base::StringPrintf("%.3lf", value))); base 12 ui/views/examples/tabbed_pane_example.cc using base::ASCIIToUTF16; base 62 ui/views/examples/tabbed_pane_example.cc const base::string16 label = ASCIIToUTF16("Added at 1"); base 17 ui/views/examples/table_example.cc using base::ASCIIToUTF16; base 112 ui/views/examples/table_example.cc base::string16 TableExample::GetText(int row, int column_id) { base 114 ui/views/examples/table_example.cc return base::string16(); base 148 ui/views/examples/table_example.cc base::UTF16ToASCII(GetText(table_->selection_model().active(), base 154 ui/views/examples/table_example.cc base::UTF16ToASCII(GetText(table_->selection_model().active(), base 43 ui/views/examples/table_example.h virtual base::string16 GetText(int row, int column_id) OVERRIDE; base 19 ui/views/examples/text_example.cc using base::ASCIIToUTF16; base 113 ui/views/examples/text_example.cc const base::string16& text() const { return text_; } base 114 ui/views/examples/text_example.cc void set_text(const base::string16& text) { text_ = text; } base 137 ui/views/examples/text_example.cc base::string16 text_; base 17 ui/views/examples/textfield_example.cc using base::ASCIIToUTF16; base 18 ui/views/examples/textfield_example.cc using base::UTF16ToUTF8; base 84 ui/views/examples/textfield_example.cc const base::string16& new_contents) { base 109 ui/views/examples/textfield_example.cc base::string16 empty; base 35 ui/views/examples/textfield_example.h const base::string16& new_contents) OVERRIDE; base 14 ui/views/examples/tree_view_example.cc using base::ASCIIToUTF16; base 16 ui/views/examples/widget_example.cc using base::ASCIIToUTF16; base 27 ui/views/examples/widget_example.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 41 ui/views/examples/widget_example.cc base::string16 DialogExample::GetWindowTitle() const { base 315 ui/views/focus/focus_manager.cc base::AutoReset<bool> auto_changing_focus(&is_changing_focus_, true); base 506 ui/views/focus/focus_manager_unittest.cc LabelButtonDtorTracked(const base::string16& text, base 27 ui/views/focus/focus_traversal_unittest.cc using base::ASCIIToUTF16; base 93 ui/views/focus/focus_traversal_unittest.cc virtual base::string16 GetItemAt(int index) OVERRIDE { base 94 ui/views/focus/focus_traversal_unittest.cc return ASCIIToUTF16("Item ") + base::IntToString16(index); base 63 ui/views/ime/input_method.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 114 ui/views/ime/input_method_bridge.cc bool InputMethodBridge::OnUntranslatedIMEMessage(const base::NativeEvent& event, base 201 ui/views/ime/input_method_bridge.cc void InputMethodBridge::InsertText(const base::string16& text) { base 207 ui/views/ime/input_method_bridge.cc void InputMethodBridge::InsertChar(base::char16 ch, int flags) { base 283 ui/views/ime/input_method_bridge.cc base::string16* text) const { base 295 ui/views/ime/input_method_bridge.cc base::i18n::TextDirection direction) { base 40 ui/views/ime/input_method_bridge.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 57 ui/views/ime/input_method_bridge.h virtual void InsertText(const base::string16& text) OVERRIDE; base 58 ui/views/ime/input_method_bridge.h virtual void InsertChar(base::char16 ch, int flags) OVERRIDE; base 73 ui/views/ime/input_method_bridge.h base::string16* text) const OVERRIDE; base 76 ui/views/ime/input_method_bridge.h base::i18n::TextDirection direction) OVERRIDE; base 53 ui/views/ime/mock_input_method.cc const base::NativeEvent& event, base 91 ui/views/ime/mock_input_method.cc base::char16 ch = key.GetCharacter(); base 159 ui/views/ime/mock_input_method.cc void MockInputMethod::SetResultTextForNextKey(const base::string16& result) { base 29 ui/views/ime/mock_input_method.h virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, base 55 ui/views/ime/mock_input_method.h void SetResultTextForNextKey(const base::string16& result); base 77 ui/views/ime/mock_input_method.h base::string16 result_text_; base 98 ui/views/linux_ui/linux_ui.h const base::string16& tool_tip) const = 0; base 41 ui/views/linux_ui/status_icon_linux.h virtual void SetToolTip(const base::string16& tool_tip) = 0; base 65 ui/views/mouse_watcher.cc base::MessageLoop::current()->PostDelayedTask( base 67 ui/views/mouse_watcher.cc base::Bind(&Observer::NotifyListener, base 70 ui/views/mouse_watcher.cc ? base::TimeDelta::FromMilliseconds(kNotifyListenerTimeMs) base 89 ui/views/mouse_watcher.cc base::WeakPtrFactory<Observer> notify_listener_factory_; base 104 ui/views/mouse_watcher.cc notify_on_exit_time_(base::TimeDelta::FromMilliseconds( base 61 ui/views/mouse_watcher.h void set_notify_on_exit_time(base::TimeDelta time) { base 93 ui/views/mouse_watcher.h base::TimeDelta notify_on_exit_time_; base 7 ui/views/repeat_controller.cc using base::TimeDelta; base 19 ui/views/repeat_controller.cc RepeatController::RepeatController(const base::Closure& callback) base 26 ui/views/repeat_controller.h explicit RepeatController(const base::Closure& callback); base 40 ui/views/repeat_controller.h base::OneShotTimer<RepeatController> timer_; base 42 ui/views/repeat_controller.h base::Closure callback_; base 15 ui/views/run_all_unittests.cc class ViewTestSuite : public base::TestSuite { base 17 ui/views/run_all_unittests.cc ViewTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {} base 21 ui/views/run_all_unittests.cc base::TestSuite::Initialize(); base 25 ui/views/run_all_unittests.cc base::FilePath pak_dir; base 26 ui/views/run_all_unittests.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 28 ui/views/run_all_unittests.cc base::FilePath pak_file; base 36 ui/views/run_all_unittests.cc base::TestSuite::Shutdown(); base 46 ui/views/run_all_unittests.cc return base::LaunchUnitTests( base 47 ui/views/run_all_unittests.cc argc, argv, base::Bind(&ViewTestSuite::Run, base 48 ui/views/run_all_unittests.cc base::Unretained(&test_suite))); base 68 ui/views/test/child_modal_window.cc virtual base::string16 GetWindowTitle() const OVERRIDE; base 98 ui/views/test/child_modal_window.cc base::string16 ChildModalWindow::GetWindowTitle() const { base 99 ui/views/test/child_modal_window.cc return base::ASCIIToUTF16("Examples: Child Modal Window"); base 112 ui/views/test/child_modal_window.cc base::ASCIIToUTF16( base 163 ui/views/test/child_modal_window.cc base::string16 ChildModalParent::GetWindowTitle() const { base 164 ui/views/test/child_modal_window.cc return base::ASCIIToUTF16("Examples: Child Modal Parent"); base 38 ui/views/test/child_modal_window.h virtual base::string16 GetWindowTitle() const OVERRIDE; base 76 ui/views/test/test_views_delegate.cc base::TimeDelta TestViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() { base 77 ui/views/test/test_views_delegate.cc return base::TimeDelta(); base 48 ui/views/test/test_views_delegate.h virtual void NotifyMenuItemFocused(const base::string16& menu_name, base 49 ui/views/test/test_views_delegate.h const base::string16& menu_item_name, base 74 ui/views/test/test_views_delegate.h virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() OVERRIDE; base 42 ui/views/test/ui_controls_factory_desktop_aurax11.cc class EventWaiter : public base::MessageLoopForUI::Observer { base 44 ui/views/test/ui_controls_factory_desktop_aurax11.cc typedef bool (*EventWaiterMatcher)(const base::NativeEvent& event); base 46 ui/views/test/ui_controls_factory_desktop_aurax11.cc EventWaiter(const base::Closure& closure, EventWaiterMatcher matcher) base 49 ui/views/test/ui_controls_factory_desktop_aurax11.cc base::MessageLoopForUI::current()->AddObserver(this); base 53 ui/views/test/ui_controls_factory_desktop_aurax11.cc base::MessageLoopForUI::current()->RemoveObserver(this); base 57 ui/views/test/ui_controls_factory_desktop_aurax11.cc virtual base::EventStatus WillProcessEvent( base 58 ui/views/test/ui_controls_factory_desktop_aurax11.cc const base::NativeEvent& event) OVERRIDE { base 60 ui/views/test/ui_controls_factory_desktop_aurax11.cc base::MessageLoop::current()->PostTask(FROM_HERE, closure_); base 63 ui/views/test/ui_controls_factory_desktop_aurax11.cc return base::EVENT_CONTINUE; base 66 ui/views/test/ui_controls_factory_desktop_aurax11.cc virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE { base 70 ui/views/test/ui_controls_factory_desktop_aurax11.cc base::Closure closure_; base 81 ui/views/test/ui_controls_factory_desktop_aurax11.cc bool Matcher(const base::NativeEvent& event) { base 115 ui/views/test/ui_controls_factory_desktop_aurax11.cc window, key, control, shift, alt, command, base::Closure()); base 125 ui/views/test/ui_controls_factory_desktop_aurax11.cc const base::Closure& closure) OVERRIDE { base 160 ui/views/test/ui_controls_factory_desktop_aurax11.cc return SendMouseMoveNotifyWhenDone(screen_x, screen_y, base::Closure()); base 165 ui/views/test/ui_controls_factory_desktop_aurax11.cc const base::Closure& closure) OVERRIDE { base 201 ui/views/test/ui_controls_factory_desktop_aurax11.cc return SendMouseEventsNotifyWhenDone(type, state, base::Closure()); base 206 ui/views/test/ui_controls_factory_desktop_aurax11.cc const base::Closure& closure) OVERRIDE { base 250 ui/views/test/ui_controls_factory_desktop_aurax11.cc const base::Closure& closure) OVERRIDE { base 63 ui/views/test/views_test_base.cc base::RunLoop run_loop; base 59 ui/views/test/views_test_base.h base::MessageLoopForUI* message_loop() { return &message_loop_; } base 69 ui/views/test/views_test_base.h base::MessageLoopForUI message_loop_; base 10 ui/views/test/webview_test_helper.h namespace base { base 125 ui/views/touchui/touch_editing_menu.cc base::UTF8ToUTF16(kEllipsesButtonText), kEllipsesButtonTag)); base 129 ui/views/touchui/touch_editing_menu.cc Button* TouchEditingMenuView::CreateButton(const base::string16& title, base 131 ui/views/touchui/touch_editing_menu.cc base::string16 label = gfx::RemoveAcceleratorChar(title, '&', NULL, NULL); base 72 ui/views/touchui/touch_editing_menu.h Button* CreateButton(const base::string16& title, int tag); base 238 ui/views/touchui/touch_selection_controller_impl.cc base::TimeDelta::FromMilliseconds( base 538 ui/views/touchui/touch_selection_controller_impl.cc base::TimeDelta::FromMilliseconds(kContextMenuTimoutMs), base 97 ui/views/touchui/touch_selection_controller_impl.h base::OneShotTimer<TouchSelectionControllerImpl> context_menu_timer_; base 22 ui/views/touchui/touch_selection_controller_impl_unittest.cc using base::ASCIIToUTF16; base 23 ui/views/touchui/touch_selection_controller_impl_unittest.cc using base::UTF16ToUTF8; base 24 ui/views/touchui/touch_selection_controller_impl_unittest.cc using base::WideToUTF16; base 193 ui/views/touchui/touch_selection_controller_impl_unittest.cc ui::GestureEvent tap(ui::ET_GESTURE_TAP, 0, 0, 0, base::TimeDelta(), base 225 ui/views/touchui/touch_selection_controller_impl_unittest.cc ui::GestureEvent tap(ui::ET_GESTURE_TAP, 0, 0, 0, base::TimeDelta(), base 273 ui/views/touchui/touch_selection_controller_impl_unittest.cc ui::GestureEvent tap(ui::ET_GESTURE_TAP, 0, 0, 0, base::TimeDelta(), base 311 ui/views/touchui/touch_selection_controller_impl_unittest.cc ui::GestureEvent tap(ui::ET_GESTURE_TAP, 0, 0, 0, base::TimeDelta(), base 440 ui/views/touchui/touch_selection_controller_impl_unittest.cc ui::GestureEvent tap(ui::ET_GESTURE_TAP, 0, 0, 0, base::TimeDelta(), base 528 ui/views/view.cc return base::i18n::IsRTL() ? base 533 ui/views/view.cc return base::i18n::IsRTL() ? width() - x : x; base 537 ui/views/view.cc return base::i18n::IsRTL() ? width() - x - w : x; base 1225 ui/views/view.cc bool View::GetTooltipText(const gfx::Point& p, base::string16* tooltip) const { base 1495 ui/views/view.cc base::Closure View::PrepareForLayerBoundsChange() { base 1496 ui/views/view.cc return base::Closure(); base 1649 ui/views/view.cc base::snprintf(p, arraysize(bounds_buffer), "%p", view_with_children); base 1656 ui/views/view.cc base::snprintf(bounds_buffer, base 1668 ui/views/view.cc base::snprintf(bounds_buffer, base 1675 ui/views/view.cc base::snprintf(bounds_buffer, base 1681 ui/views/view.cc base::snprintf(bounds_buffer, base 1707 ui/views/view.cc base::snprintf(pp, kMaxPointerStringLength, "%p", parent_); base 539 ui/views/view.h return flip_canvas_on_paint_for_rtl_ui_ ? base::i18n::IsRTL() : false; base 829 ui/views/view.h base::string16* tooltip) const; base 1108 ui/views/view.h virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE; base 21 ui/views/view_model_unittest.cc result += base::IntToString(model.ideal_bounds(i).x()); base 32 ui/views/view_model_unittest.cc result += base::IntToString(model.view_at(i)->id()); base 44 ui/views/view_unittest.cc using base::ASCIIToUTF16; base 147 ui/views/view_unittest.cc int count = base::RandInt(1, 5); base 151 ui/views/view_unittest.cc if (base::RandDouble() > 0.5) base 153 ui/views/view_unittest.cc if (base::RandDouble() < 0.2) base 169 ui/views/view_unittest.cc int a = base::RandInt(0, count - 1); base 170 ui/views/view_unittest.cc int b = base::RandInt(0, count - 1); base 178 ui/views/view_unittest.cc if (!view->layer() && base::RandDouble() < 0.1) base 181 ui/views/view_unittest.cc if (base::RandDouble() < 0.1) base 189 ui/views/view_unittest.cc : GestureEvent(type, x, y, flags, base::TimeDelta(), base 1341 ui/views/view_unittest.cc const base::string16 kText = ASCIIToUTF16( base 1343 ui/views/view_unittest.cc const base::string16 kExtraText = ASCIIToUTF16("Pretty deep, Philip!"); base 1344 ui/views/view_unittest.cc const base::string16 kEmptyString; base 1360 ui/views/view_unittest.cc textfield->SetText(base::string16()); base 1376 ui/views/view_unittest.cc const base::string16 kNormalText = ASCIIToUTF16("Normal"); base 1377 ui/views/view_unittest.cc const base::string16 kReadOnlyText = ASCIIToUTF16("Read only"); base 1378 ui/views/view_unittest.cc const base::string16 kPasswordText = base 1409 ui/views/view_unittest.cc base::string16 result; base 2875 ui/views/view_unittest.cc : ui::LayerAnimator(base::TimeDelta::FromMilliseconds(0)) { base 3051 ui/views/view_unittest.cc base::i18n::SetICUDefaultLocale("he"); base 3104 ui/views/view_unittest.cc base::i18n::SetICUDefaultLocale(locale); base 21 ui/views/views_delegate.h namespace base { base 83 ui/views/views_delegate.h virtual void NotifyMenuItemFocused(const base::string16& menu_name, base 84 ui/views/views_delegate.h const base::string16& menu_item_name, base 120 ui/views/views_delegate.h virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() = 0; base 19 ui/views/widget/desktop_aura/desktop_dispatcher_client.cc base::MessagePumpDispatcher* nested_dispatcher) { base 24 ui/views/widget/desktop_aura/desktop_dispatcher_client.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 25 ui/views/widget/desktop_aura/desktop_dispatcher_client.cc base::MessageLoopForUI::ScopedNestableTaskAllower allow_nested(loop); base 27 ui/views/widget/desktop_aura/desktop_dispatcher_client.cc base::Closure old_quit_closure = quit_closure_; base 28 ui/views/widget/desktop_aura/desktop_dispatcher_client.cc base::RunLoop run_loop(nested_dispatcher); base 30 ui/views/widget/desktop_aura/desktop_dispatcher_client.cc base::WeakPtr<DesktopDispatcherClient> alive(weak_ptr_factory_.GetWeakPtr()); base 24 ui/views/widget/desktop_aura/desktop_dispatcher_client.h base::MessagePumpDispatcher* dispatcher) OVERRIDE; base 28 ui/views/widget/desktop_aura/desktop_dispatcher_client.h base::Closure quit_closure_; base 32 ui/views/widget/desktop_aura/desktop_dispatcher_client.h base::WeakPtrFactory<DesktopDispatcherClient> weak_ptr_factory_; base 75 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc static base::LazyInstance< base 163 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc public base::MessagePumpDispatcher { base 204 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 274 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc base::MessagePumpX11::Current()->AddDispatcherForWindow( base 297 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc base::MessagePumpX11::Current()->RemoveDispatcherForWindow( base 342 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc scoped_refptr<base::RefCountedMemory> data; base 402 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const base::NativeEvent& event) { base 655 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc base::WeakPtr<DesktopDragDropClientAuraX11> alive( base 779 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc base::TimeDelta::FromMilliseconds( base 238 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h base::OneShotTimer<DesktopDragDropClientAuraX11> end_move_loop_timer_; base 245 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h base::WeakPtrFactory<DesktopDragDropClientAuraX11> weak_ptr_factory_; base 128 ui/views/widget/desktop_aura/desktop_drop_target_win.cc flags |= base::win::IsAltPressed() ? ui::EF_ALT_DOWN : ui::EF_NONE; base 129 ui/views/widget/desktop_aura/desktop_drop_target_win.cc flags |= base::win::IsShiftPressed() ? ui::EF_SHIFT_DOWN : ui::EF_NONE; base 130 ui/views/widget/desktop_aura/desktop_drop_target_win.cc flags |= base::win::IsCtrlPressed() ? ui::EF_CONTROL_DOWN : ui::EF_NONE; base 653 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc bool DesktopNativeWidgetAura::SetWindowTitle(const base::string16& title) { base 128 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; base 259 ui/views/widget/desktop_aura/desktop_native_widget_aura.h base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; base 215 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc base::Bind(&QuitNestedLoopAndCloseWidget, base::Passed(&widget), client)); base 122 ui/views/widget/desktop_aura/desktop_screen_x11.cc : xdisplay_(base::MessagePumpX11::GetDefaultXDisplay()), base 139 ui/views/widget/desktop_aura/desktop_screen_x11.cc base::MessagePumpX11::Current()->AddDispatcherForRootWindow(this); base 152 ui/views/widget/desktop_aura/desktop_screen_x11.cc base::MessagePumpX11::Current()->RemoveDispatcherForRootWindow(this); base 309 ui/views/widget/desktop_aura/desktop_screen_x11.cc uint32_t DesktopScreenX11::Dispatch(const base::NativeEvent& event) { base 319 ui/views/widget/desktop_aura/desktop_screen_x11.cc configure_timer_.reset(new base::OneShotTimer<DesktopScreenX11>()); base 322 ui/views/widget/desktop_aura/desktop_screen_x11.cc base::TimeDelta::FromMilliseconds(kConfigureDelayMs), base 336 ui/views/widget/desktop_aura/desktop_screen_x11.cc : xdisplay_(base::MessagePumpX11::GetDefaultXDisplay()), base 27 ui/views/widget/desktop_aura/desktop_screen_x11.h public base::MessagePumpDispatcher { base 56 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 86 ui/views/widget/desktop_aura/desktop_screen_x11.h scoped_ptr<base::OneShotTimer<DesktopScreenX11> > configure_timer_; base 31 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc class ActivationWaiter : public base::MessagePumpDispatcher { base 44 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc base::MessagePumpX11::Current()->AddDispatcherForRootWindow(this); base 48 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc base::MessagePumpX11::Current()->RemoveDispatcherForRootWindow(this); base 55 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc base::RunLoop run_loop; base 60 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE { base 80 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc base::Closure quit_closure_; base 115 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual bool SetWindowTitle(const base::string16& title) = 0; base 340 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc bool DesktopWindowTreeHostWin::SetWindowTitle(const base::string16& title) { base 547 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const base::NativeEvent& native_event) { base 84 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; base 123 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; base 272 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc base::MessageLoop::current()->PostTask( base 274 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc base::Bind(&DesktopWindowTreeHostX11::CloseNow, base 314 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc base::MessagePumpX11::Current()->RemoveDispatcherForWindow(xwindow_); base 534 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc bool DesktopWindowTreeHostX11::SetWindowTitle(const base::string16& title) { base 538 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc std::string utf8str = base::UTF16ToUTF8(title); base 891 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc const base::NativeEvent& native_event) { base 979 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc base::MessagePumpX11::Current()->AddDispatcherForWindow(this, xwindow_); base 1305 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc base::MessagePumpX11::Current()->BlockUntilWindowMapped(xwindow_); base 1312 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc uint32_t DesktopWindowTreeHostX11::Dispatch(const base::NativeEvent& event) { base 38 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h public base::MessagePumpDispatcher { base 107 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; base 146 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; base 207 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 209 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; base 292 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h base::string16 window_title_; base 50 ui/views/widget/desktop_aura/x11_desktop_handler.cc base::MessagePumpX11::Current()->AddDispatcherForRootWindow(this); base 67 ui/views/widget/desktop_aura/x11_desktop_handler.cc base::MessagePumpX11::Current()->RemoveDispatcherForRootWindow(this); base 105 ui/views/widget/desktop_aura/x11_desktop_handler.cc void X11DesktopHandler::ProcessXEvent(const base::NativeEvent& event) { base 127 ui/views/widget/desktop_aura/x11_desktop_handler.cc uint32_t X11DesktopHandler::Dispatch(const base::NativeEvent& event) { base 27 ui/views/widget/desktop_aura/x11_desktop_handler.h class VIEWS_EXPORT X11DesktopHandler : public base::MessagePumpDispatcher, base 43 ui/views/widget/desktop_aura/x11_desktop_handler.h void ProcessXEvent(const base::NativeEvent& event); base 46 ui/views/widget/desktop_aura/x11_desktop_handler.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 57 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc base::TimeDelta::FromMilliseconds(kMoveDelay), base 58 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc base::Bind(&X11DesktopWindowMoveClient::SetHostBounds, base 59 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc base::Unretained(this), base 65 ui/views/widget/desktop_aura/x11_desktop_window_move_client.h base::OneShotTimer<X11DesktopWindowMoveClient> window_move_timer_; base 80 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc uint32_t X11WholeScreenMoveLoop::Dispatch(const base::NativeEvent& event) { base 99 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc base::MessageLoopForUI::current()->PostTask( base 101 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc base::Bind(&X11WholeScreenMoveLoop::DispatchMouseMovement, base 147 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc base::MessagePumpX11::Current()->AddDispatcherForWindow( base 167 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 168 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc base::MessageLoop::ScopedNestableTaskAllower allow_nested(loop); base 169 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc base::RunLoop run_loop; base 207 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc base::MessagePumpX11::Current()->RemoveDispatcherForWindow( base 281 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc base::MessagePumpX11::Current()->BlockUntilWindowMapped(window); base 29 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h class X11WholeScreenMoveLoop : public base::MessagePumpDispatcher { base 35 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE; base 81 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h base::Closure quit_closure_; base 89 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h base::WeakPtrFactory<X11WholeScreenMoveLoop> weak_factory_; base 89 ui/views/widget/native_widget_aura.cc base::win::GetNonClientMetrics(&ncm); base 91 ui/views/widget/native_widget_aura.cc base::win::ScopedHFONT caption_font(CreateFontIndirect(&(ncm.lfCaptionFont))); base 353 ui/views/widget/native_widget_aura.cc bool NativeWidgetAura::SetWindowTitle(const base::string16& title) { base 457 ui/views/widget/native_widget_aura.cc base::MessageLoop::current()->PostTask( base 459 ui/views/widget/native_widget_aura.cc base::Bind(&NativeWidgetAura::CloseNow, base 83 ui/views/widget/native_widget_aura.h virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; base 210 ui/views/widget/native_widget_aura.h base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; base 252 ui/views/widget/native_widget_aura_unittest.cc base::TimeDelta()); base 267 ui/views/widget/native_widget_aura_unittest.cc base::TimeDelta()); base 370 ui/views/widget/native_widget_aura_unittest.cc base::MessageLoop::current()->RunUntilIdle(); base 156 ui/views/widget/native_widget_private.h virtual bool SetWindowTitle(const base::string16& title) = 0; base 30 ui/views/widget/tooltip_manager.cc void TooltipManager::TrimTooltipText(base::string16* text) { base 55 ui/views/widget/tooltip_manager.h static void TrimTooltipText(base::string16* text); base 128 ui/views/widget/tooltip_manager_aura.cc base::string16 new_tooltip_text; base 55 ui/views/widget/tooltip_manager_aura.h base::string16 tooltip_text_; base 811 ui/views/widget/widget.cc base::string16 window_title = widget_delegate_->GetWindowTitle(); base 812 ui/views/widget/widget.cc base::i18n::AdjustStringForLocaleDirection(&window_title); base 64 ui/views/widget/widget_delegate.cc base::string16 WidgetDelegate::GetAccessibleWindowTitle() const { base 68 ui/views/widget/widget_delegate.cc base::string16 WidgetDelegate::GetWindowTitle() const { base 69 ui/views/widget/widget_delegate.cc return base::string16(); base 66 ui/views/widget/widget_delegate.h virtual base::string16 GetAccessibleWindowTitle() const; base 69 ui/views/widget/widget_delegate.h virtual base::string16 GetWindowTitle() const; base 69 ui/views/widget/widget_hwnd_utils.cc *class_style |= (base::win::GetVersion() < base::win::VERSION_XP) ? base 47 ui/views/widget/widget_interactive_uitest.cc base::MessageLoop::current()->QuitNow(); base 135 ui/views/widget/widget_interactive_uitest.cc base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); base 136 ui/views/widget/widget_interactive_uitest.cc base::MessageLoop::ScopedNestableTaskAllower allow(loop); base 138 ui/views/widget/widget_interactive_uitest.cc base::RunLoop run_loop; base 157 ui/views/widget/widget_interactive_uitest.cc base::FilePath pak_dir; base 158 ui/views/widget/widget_interactive_uitest.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 159 ui/views/widget/widget_interactive_uitest.cc base::FilePath pak_file; base 280 ui/views/widget/widget_interactive_uitest.cc 15, 15, 0, base::TimeDelta(), base 283 ui/views/widget/widget_interactive_uitest.cc 15, 15, 0, base::TimeDelta(), base 339 ui/views/widget/widget_interactive_uitest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 340 ui/views/widget/widget_interactive_uitest.cc base::Bind(&Widget::OnMouseEvent, base 341 ui/views/widget/widget_interactive_uitest.cc base::Unretained(second), base 342 ui/views/widget/widget_interactive_uitest.cc base::Owned(new ui::MouseEvent(ui::ET_MOUSE_RELEASED, base 660 ui/views/widget/widget_interactive_uitest.cc base::FilePath pak_dir; base 661 ui/views/widget/widget_interactive_uitest.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 662 ui/views/widget/widget_interactive_uitest.cc base::FilePath pak_file; base 905 ui/views/widget/widget_unittest.cc textfield->SetText(base::ASCIIToUTF16("some text")); base 1400 ui/views/widget/widget_unittest.cc 5, 5, 0, base::TimeDelta(), base 1405 ui/views/widget/widget_unittest.cc 25, 15, 0, base::TimeDelta(), base 1410 ui/views/widget/widget_unittest.cc 25, 15, 0, base::TimeDelta(), base 1422 ui/views/widget/widget_unittest.cc 65, 5, 0, base::TimeDelta(), base 1427 ui/views/widget/widget_unittest.cc 85, 15, 0, base::TimeDelta(), base 1432 ui/views/widget/widget_unittest.cc 85, 15, 0, base::TimeDelta(), base 1582 ui/views/widget/widget_unittest.cc base::string16 empty; base 1583 ui/views/widget/widget_unittest.cc base::string16 s1(base::UTF8ToUTF16("Title1")); base 1584 ui/views/widget/widget_unittest.cc base::string16 s2(base::UTF8ToUTF16("Title2")); base 1585 ui/views/widget/widget_unittest.cc base::string16 s3(base::UTF8ToUTF16("TitleLong")); base 1761 ui/views/widget/widget_unittest.cc base::MessageLoop::current()->QuitNow(); base 1861 ui/views/widget/widget_unittest.cc base::TimeDelta(), base 1891 ui/views/widget/widget_unittest.cc ui::GestureEvent end(ui::ET_GESTURE_END, 15, 15, 0, base::TimeDelta(), base 21 ui/views/win/appbar.cc base::win::ScopedCOMInitializer com_initializer; base 43 ui/views/win/appbar.cc int Appbar::GetAutohideEdges(HMONITOR monitor, const base::Closure& callback) { base 54 ui/views/win/appbar.cc base::WorkerPool::PostTaskAndReply( base 56 ui/views/win/appbar.cc base::Bind(&GetEdgesOnWorkerThread, base 58 ui/views/win/appbar.cc base::Unretained(edge)), base 59 ui/views/win/appbar.cc base::Bind(&Appbar::OnGotEdges, base 64 ui/views/win/appbar.cc base::Owned(edge)), base 76 ui/views/win/appbar.cc void Appbar::OnGotEdges(const base::Closure& callback, base 84 ui/views/win/appbar.cc base::AutoReset<bool> in_callback_setter(&in_callback_, true); base 41 ui/views/win/appbar.h int GetAutohideEdges(HMONITOR monitor, const base::Closure& callback); base 51 ui/views/win/appbar.h void OnGotEdges(const base::Closure& callback, base 58 ui/views/win/appbar.h base::WeakPtrFactory<Appbar> weak_factory_; base 149 ui/views/win/hwnd_message_handler.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 437 ui/views/win/hwnd_message_handler.cc base::MessageLoop::current()->PostTask( base 439 ui/views/win/hwnd_message_handler.cc base::Bind(&HWNDMessageHandler::CloseNow, weak_factory_.GetWeakPtr())); base 700 ui/views/win/hwnd_message_handler.cc base::MessageLoop::ScopedNestableTaskAllower allow_nested( base 701 ui/views/win/hwnd_message_handler.cc base::MessageLoop::current()); base 754 ui/views/win/hwnd_message_handler.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 761 ui/views/win/hwnd_message_handler.cc bool HWNDMessageHandler::SetTitle(const base::string16& title) { base 762 ui/views/win/hwnd_message_handler.cc base::string16 current_title; base 831 ui/views/win/hwnd_message_handler.cc base::MessageLoop::current()->PostTask( base 833 ui/views/win/hwnd_message_handler.cc base::Bind(&HWNDMessageHandler::RedrawLayeredWindowContents, base 900 ui/views/win/hwnd_message_handler.cc base::WeakPtr<HWNDMessageHandler> ref(weak_factory_.GetWeakPtr()); base 975 ui/views/win/hwnd_message_handler.cc base::Bind(&HWNDMessageHandler::OnAppbarAutohideEdgesChanged, base 1155 ui/views/win/hwnd_message_handler.cc if (base::win::GetVersion() < base::win::VERSION_VISTA) base 1172 ui/views/win/hwnd_message_handler.cc base::WeakPtr<HWNDMessageHandler> ref(weak_factory_.GetWeakPtr()); base 1235 ui/views/win/hwnd_message_handler.cc base::MessageLoop::current()->PostDelayedTask( base 1237 ui/views/win/hwnd_message_handler.cc base::Bind(&HWNDMessageHandler::ForceRedrawWindow, base 1240 ui/views/win/hwnd_message_handler.cc base::TimeDelta::FromMilliseconds(500)); base 1297 ui/views/win/hwnd_message_handler.cc if (base::win::GetVersion() >= base::win::VERSION_VISTA) { base 1323 ui/views/win/hwnd_message_handler.cc if (base::win::GetVersion() >= base::win::VERSION_WIN7 && base 1442 ui/views/win/hwnd_message_handler.cc base::win::ScopedComPtr<IAccessible> root( base 1603 ui/views/win/hwnd_message_handler.cc base::win::GetVersion() > base::win::VERSION_VISTA) { base 2027 ui/views/win/hwnd_message_handler.cc base::MessageLoop::current()->PostTask( base 2028 ui/views/win/hwnd_message_handler.cc FROM_HERE, base::Bind(&AddScrollStylesToWindow, hwnd())); base 2066 ui/views/win/hwnd_message_handler.cc if (base::win::IsShiftPressed()) base 2068 ui/views/win/hwnd_message_handler.cc if (base::win::IsCtrlPressed()) base 2084 ui/views/win/hwnd_message_handler.cc base::WeakPtr<HWNDMessageHandler> ref(weak_factory_.GetWeakPtr()); base 2115 ui/views/win/hwnd_message_handler.cc if (base::win::GetVersion() == base::win::VERSION_WIN7) { base 2136 ui/views/win/hwnd_message_handler.cc base::MessageLoop::current()->PostDelayedTask( base 2138 ui/views/win/hwnd_message_handler.cc base::Bind(&HWNDMessageHandler::ResetTouchDownContext, base 2140 ui/views/win/hwnd_message_handler.cc base::TimeDelta::FromMilliseconds(kTouchDownContextResetTimeout)); base 2148 ui/views/win/hwnd_message_handler.cc base::TimeTicks now; base 2152 ui/views/win/hwnd_message_handler.cc if (base::TimeTicks::IsHighResNowFastAndReliable()) base 2153 ui/views/win/hwnd_message_handler.cc now = base::TimeTicks::HighResNow(); base 2155 ui/views/win/hwnd_message_handler.cc now = base::TimeTicks::Now(); base 2159 ui/views/win/hwnd_message_handler.cc now - base::TimeTicks()); base 2165 ui/views/win/hwnd_message_handler.cc base::TimeTicks::FromInternalValue( base 2177 ui/views/win/hwnd_message_handler.cc base::MessageLoop::current()->PostTask( base 2179 ui/views/win/hwnd_message_handler.cc base::Bind(&HWNDMessageHandler::HandleTouchEvents, base 2242 ui/views/win/hwnd_message_handler.cc base::MessageLoop::current()->PostTask( base 2244 ui/views/win/hwnd_message_handler.cc base::Bind(&HWNDMessageHandler::StopIgnoringPosChanges, base 2284 ui/views/win/hwnd_message_handler.cc base::WeakPtr<HWNDMessageHandler> ref(weak_factory_.GetWeakPtr()); base 2349 ui/views/win/hwnd_message_handler.cc w_param |= base::win::IsCtrlPressed() ? MK_CONTROL : 0; base 2350 ui/views/win/hwnd_message_handler.cc w_param |= base::win::IsShiftPressed() ? MK_SHIFT : 0; base 2390 ui/views/win/hwnd_message_handler.cc base::WeakPtr<HWNDMessageHandler> ref(weak_factory_.GetWeakPtr()); base 67 ui/views/win/hwnd_message_handler.h base::WeakPtrFactory<the_class> weak_factory_; \ base 93 ui/views/win/hwnd_message_handler.h base::WeakPtr<HWNDMessageHandler> ref(weak_factory_.GetWeakPtr()); \ base 181 ui/views/win/hwnd_message_handler.h bool SetTitle(const base::string16& title); base 569 ui/views/win/hwnd_message_handler.h base::win::ScopedRegion custom_window_region_; base 575 ui/views/win/hwnd_message_handler.h base::WeakPtrFactory<HWNDMessageHandler> autohide_factory_; base 373 ui/views/window/dialog_client_view.cc const base::string16 title = GetDialogDelegate()->GetDialogButtonLabel(type); base 81 ui/views/window/dialog_delegate.cc base::string16 DialogDelegate::GetDialogLabel() const { base 82 ui/views/window/dialog_delegate.cc return base::string16(); base 85 ui/views/window/dialog_delegate.cc base::string16 DialogDelegate::GetDialogTitle() const { base 105 ui/views/window/dialog_delegate.cc base::string16 DialogDelegate::GetDialogButtonLabel( base 115 ui/views/window/dialog_delegate.cc return base::string16(); base 77 ui/views/window/dialog_delegate.h virtual base::string16 GetDialogLabel() const OVERRIDE; base 78 ui/views/window/dialog_delegate.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 82 ui/views/window/dialog_delegate.h virtual base::string16 GetDialogButtonLabel( base 41 ui/views/window/dialog_delegate_unittest.cc virtual base::string16 GetWindowTitle() const OVERRIDE { return title_; } base 76 ui/views/window/dialog_delegate_unittest.cc void set_title(const base::string16& title) { title_ = title; } base 84 ui/views/window/dialog_delegate_unittest.cc base::string16 title_; base 124 ui/views/window/dialog_delegate_unittest.cc LabelButton* button_1 = new LabelButton(dialog(), base::string16()); base 131 ui/views/window/dialog_delegate_unittest.cc Checkbox* checkbox = new Checkbox(base::string16()); base 138 ui/views/window/dialog_delegate_unittest.cc LabelButton* button_2 = new LabelButton(dialog(), base::string16()); base 210 ui/views/window/dialog_delegate_unittest.cc dialog2->set_title(base::ASCIIToUTF16("Title")); base 220 ui/views/window/dialog_delegate_unittest.cc dialog()->set_title(base::ASCIIToUTF16("Title")); base 130 ui/views/window/non_client_view.cc void NonClientView::SetAccessibleName(const base::string16& name) { base 205 ui/views/window/non_client_view.h void SetAccessibleName(const base::string16& name); base 240 ui/views/window/non_client_view.h base::string16 accessible_name_; base 27 ui/web_dialogs/test/test_web_dialog_delegate.cc base::string16 TestWebDialogDelegate::GetDialogTitle() const { base 28 ui/web_dialogs/test/test_web_dialog_delegate.cc return base::UTF8ToUTF16("Test"); base 29 ui/web_dialogs/test/test_web_dialog_delegate.h virtual base::string16 GetDialogTitle() const OVERRIDE; base 41 ui/web_dialogs/web_dialog_delegate.h virtual base::string16 GetDialogTitle() const = 0; base 27 ui/web_dialogs/web_dialog_ui.cc class WebDialogDelegateUserData : public base::SupportsUserData::Data { base 55 ui/web_dialogs/web_dialog_ui.cc void WebDialogUI::CloseDialog(const base::ListValue* args) { base 83 ui/web_dialogs/web_dialog_ui.cc base::Bind(&WebDialogUI::OnDialogClosed, base::Unretained(this))); base 105 ui/web_dialogs/web_dialog_ui.cc void WebDialogUI::OnDialogClosed(const base::ListValue* args) { base 63 ui/web_dialogs/web_dialog_ui.h void CloseDialog(const base::ListValue* args); base 78 ui/web_dialogs/web_dialog_ui.h void OnDialogClosed(const base::ListValue* args); base 35 ui/wm/core/compound_event_filter.cc static base::hash_set<int32> ignored_keys; base 22 ui/wm/core/compound_event_filter_unittest.cc base::TimeDelta GetTime() { base 231 ui/wm/core/focus_controller.cc base::AutoReset<bool> updating_focus(&updating_focus_, true); base 285 ui/wm/core/focus_controller.cc base::AutoReset<bool> updating_activation(&updating_activation_, true); base 244 ui/wm/core/image_grid.cc base::Closure ImageGrid::ImagePainter::PrepareForLayerBoundsChange() { base 245 ui/wm/core/image_grid.cc return base::Closure(); base 141 ui/wm/core/image_grid.h virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE; base 110 ui/wm/core/shadow.cc base::TimeDelta::FromMilliseconds(kShadowAnimationDurationMs)); base 82 ui/wm/core/shadow_controller.cc public base::RefCounted<Impl> { base 114 ui/wm/core/transient_window_manager.cc base::AutoReset<StackingPair*> resetter(&stacking_pair_, &pair); base 19 ui/wm/core/user_activity_detector.cc std::string details = base::StringPrintf( base 25 ui/wm/core/user_activity_detector.cc details += base::StringPrintf(" key_code=%d", base 29 ui/wm/core/user_activity_detector.cc details += base::StringPrintf(" location=%s", base 66 ui/wm/core/user_activity_detector.cc base::TimeDelta::FromMilliseconds(kDisplayPowerChangeIgnoreMouseMs); base 95 ui/wm/core/user_activity_detector.cc base::TimeTicks UserActivityDetector::GetCurrentTime() const { base 96 ui/wm/core/user_activity_detector.cc return !now_for_test_.is_null() ? now_for_test_ : base::TimeTicks::Now(); base 100 ui/wm/core/user_activity_detector.cc base::TimeTicks now = GetCurrentTime(); base 32 ui/wm/core/user_activity_detector.h base::TimeTicks last_activity_time() const { return last_activity_time_; } base 34 ui/wm/core/user_activity_detector.h void set_now_for_test(base::TimeTicks now) { now_for_test_ = now; } base 52 ui/wm/core/user_activity_detector.h base::TimeTicks GetCurrentTime() const; base 62 ui/wm/core/user_activity_detector.h base::TimeTicks last_activity_time_; base 65 ui/wm/core/user_activity_detector.h base::TimeTicks last_observer_notification_time_; base 69 ui/wm/core/user_activity_detector.h base::TimeTicks now_for_test_; base 74 ui/wm/core/user_activity_detector.h base::TimeTicks honor_mouse_events_time_; base 51 ui/wm/core/user_activity_detector_unittest.cc now_ = base::TimeTicks::Now(); base 62 ui/wm/core/user_activity_detector_unittest.cc void AdvanceTime(base::TimeDelta delta) { base 70 ui/wm/core/user_activity_detector_unittest.cc base::TimeTicks now_; base 87 ui/wm/core/user_activity_detector_unittest.cc base::TimeDelta advance_delta = base::TimeDelta::FromMilliseconds( base 99 ui/wm/core/user_activity_detector_unittest.cc base::TimeTicks time_before_ignore = now_; base 110 ui/wm/core/user_activity_detector_unittest.cc const base::TimeDelta kIgnoreMouseTime = base 111 ui/wm/core/user_activity_detector_unittest.cc base::TimeDelta::FromMilliseconds( base 132 ui/wm/core/user_activity_detector_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(), 0, base::TimeDelta()); base 143 ui/wm/core/user_activity_detector_unittest.cc base::TimeDelta::FromMilliseconds(base::Time::Now().ToDoubleT() * 1000), base 171 ui/wm/core/user_activity_detector_unittest.cc base::TimeDelta::FromMilliseconds( base 180 ui/wm/core/user_activity_detector_unittest.cc AdvanceTime(base::TimeDelta::FromMilliseconds( base 195 ui/wm/core/user_activity_detector_unittest.cc EXPECT_EQ(base::TimeTicks().ToInternalValue(), base 37 ui/wm/core/visibility_controller_unittest.cc settings.SetTransitionDuration(base::TimeDelta::FromMilliseconds(5)); base 124 ui/wm/core/window_animations.cc base::TimeDelta GetWindowVisibilityAnimationDuration( base 129 ui/wm/core/window_animations.cc return base::TimeDelta::FromMilliseconds( base 132 ui/wm/core/window_animations.cc return base::TimeDelta::FromInternalValue(duration); base 213 ui/wm/core/window_animations.cc base::TimeDelta duration = GetWindowVisibilityAnimationDuration(*window); base 230 ui/wm/core/window_animations.cc base::TimeDelta duration = GetWindowVisibilityAnimationDuration(*window); base 297 ui/wm/core/window_animations.cc base::TimeDelta::FromMilliseconds( base 314 ui/wm/core/window_animations.cc base::TimeDelta::FromMilliseconds( base 326 ui/wm/core/window_animations.cc base::TimeDelta duration = base::TimeDelta::FromMilliseconds( base 564 ui/wm/core/window_animations.cc const base::TimeDelta& duration) { base 569 ui/wm/core/window_animations.cc base::TimeDelta GetWindowVisibilityAnimationDuration( base 571 ui/wm/core/window_animations.cc return base::TimeDelta::FromInternalValue( base 16 ui/wm/core/window_animations.h namespace base { base 75 ui/wm/core/window_animations.h const base::TimeDelta& duration); base 77 ui/wm/core/window_animations.h WM_CORE_EXPORT base::TimeDelta GetWindowVisibilityAnimationDuration( base 18 ui/wm/public/dispatcher_client.h virtual void RunWithDispatcher(base::MessagePumpDispatcher* dispatcher) = 0; base 11 ui/wm/public/tooltip_client.cc DECLARE_WINDOW_PROPERTY_TYPE(base::string16*) base 18 ui/wm/public/tooltip_client.cc DEFINE_LOCAL_WINDOW_PROPERTY_KEY(base::string16*, kTooltipTextKey, NULL); base 32 ui/wm/public/tooltip_client.cc void SetTooltipText(Window* window, base::string16* tooltip_text) { base 36 ui/wm/public/tooltip_client.cc const base::string16 GetTooltipText(Window* window) { base 37 ui/wm/public/tooltip_client.cc base::string16* string_ptr = window->GetProperty(kTooltipTextKey); base 38 ui/wm/public/tooltip_client.cc return string_ptr ? *string_ptr : base::string16(); base 39 ui/wm/public/tooltip_client.h AURA_EXPORT void SetTooltipText(Window* window, base::string16* tooltip_text); base 40 ui/wm/public/tooltip_client.h AURA_EXPORT const base::string16 GetTooltipText(Window* window); base 15 ui/wm/test/run_all_unittests.cc class WMTestSuite : public base::TestSuite { base 17 ui/wm/test/run_all_unittests.cc WMTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {} base 21 ui/wm/test/run_all_unittests.cc base::TestSuite::Initialize(); base 25 ui/wm/test/run_all_unittests.cc base::FilePath pak_dir; base 26 ui/wm/test/run_all_unittests.cc PathService::Get(base::DIR_MODULE, &pak_dir); base 28 ui/wm/test/run_all_unittests.cc base::FilePath pak_file; base 36 ui/wm/test/run_all_unittests.cc base::TestSuite::Shutdown(); base 46 ui/wm/test/run_all_unittests.cc return base::LaunchUnitTests( base 47 ui/wm/test/run_all_unittests.cc argc, argv, base::Bind(&WMTestSuite::Run, base::Unretained(&test_suite))); base 81 url/gurl.cc GURL::GURL(const base::string16& url_string) { base 182 url/gurl.cc GURL GURL::Resolve(const base::string16& relative) const { base 221 url/gurl.cc const base::string16& relative, base 280 url/gurl.cc const url_canon::Replacements<base::char16>& replacements) const { base 21 url/gurl.h typedef url_canon::StdStringReplacements<base::string16> ReplacementsW; base 38 url/gurl.h explicit GURL(const base::string16& url_string /*, output_param_encoding*/); base 144 url/gurl.h GURL Resolve(const base::string16& relative) const; base 157 url/gurl.h const base::string16& relative, base 174 url/gurl.h const url_canon::Replacements<base::char16>& replacements) const; base 233 url/gurl_unittest.cc const char* base; base 253 url/gurl_unittest.cc GURL input(resolve_cases[i].base); base 260 url/gurl_unittest.cc GURL inputw(ConvertUTF8ToUTF16(resolve_cases[i].base)); base 333 url/gurl_unittest.cc const char* base; base 355 url/gurl_unittest.cc GURL url(cur.base); base 51 url/third_party/mozilla/url_parse.cc inline bool IsPortDigit(base::char16 ch) { base 816 url/third_party/mozilla/url_parse.cc bool ExtractScheme(const base::char16* url, int url_len, Component* scheme) { base 822 url/third_party/mozilla/url_parse.cc bool IsAuthorityTerminator(base::char16 ch) { base 832 url/third_party/mozilla/url_parse.cc void ExtractFileName(const base::char16* url, base 845 url/third_party/mozilla/url_parse.cc bool ExtractQueryKeyValue(const base::char16* url, base 861 url/third_party/mozilla/url_parse.cc void ParseAuthority(const base::char16* spec, base 874 url/third_party/mozilla/url_parse.cc int ParsePort(const base::char16* url, const Component& port) { base 882 url/third_party/mozilla/url_parse.cc void ParseStandardURL(const base::char16* url, int url_len, Parsed* parsed) { base 893 url/third_party/mozilla/url_parse.cc void ParsePathURL(const base::char16* url, base 904 url/third_party/mozilla/url_parse.cc void ParseFileSystemURL(const base::char16* url, int url_len, Parsed* parsed) { base 912 url/third_party/mozilla/url_parse.cc void ParseMailtoURL(const base::char16* url, int url_len, Parsed* parsed) { base 924 url/third_party/mozilla/url_parse.cc void ParsePathInternal(const base::char16* spec, base 939 url/third_party/mozilla/url_parse.cc void ParseAfterScheme(const base::char16* spec, base 18 url/third_party/mozilla/url_parse.h typedef base::char16 UTF16Char; base 233 url/third_party/mozilla/url_parse.h URL_EXPORT void ParseStandardURL(const base::char16* url, base 245 url/third_party/mozilla/url_parse.h URL_EXPORT void ParsePathURL(const base::char16* url, base 253 url/third_party/mozilla/url_parse.h URL_EXPORT void ParseFileURL(const base::char16* url, base 261 url/third_party/mozilla/url_parse.h URL_EXPORT void ParseFileSystemURL(const base::char16* url, base 267 url/third_party/mozilla/url_parse.h URL_EXPORT void ParseMailtoURL(const base::char16* url, base 296 url/third_party/mozilla/url_parse.h URL_EXPORT bool ExtractScheme(const base::char16* url, base 302 url/third_party/mozilla/url_parse.h URL_EXPORT bool IsAuthorityTerminator(base::char16 ch); base 312 url/third_party/mozilla/url_parse.h URL_EXPORT void ParseAuthority(const base::char16* spec, base 327 url/third_party/mozilla/url_parse.h URL_EXPORT int ParsePort(const base::char16* url, const Component& port); base 342 url/third_party/mozilla/url_parse.h URL_EXPORT void ExtractFileName(const base::char16* url, base 365 url/third_party/mozilla/url_parse.h URL_EXPORT bool ExtractQueryKeyValue(const base::char16* url, base 175 url/url_canon.h typedef CanonOutputT<base::char16> CanonOutputW; base 180 url/url_canon.h class RawCanonOutputW : public RawCanonOutputT<base::char16, fixed_capacity> {}; base 206 url/url_canon.h virtual void ConvertFromUTF16(const base::char16* input, base 231 url/url_canon.h URL_EXPORT const base::char16* RemoveURLWhitespace( base 232 url/url_canon.h const base::char16* input, base 234 url/url_canon.h CanonOutputT<base::char16>* buffer, base 248 url/url_canon.h URL_EXPORT bool IDNToASCII(const base::char16* src, base 280 url/url_canon.h URL_EXPORT bool CanonicalizeScheme(const base::char16* spec, base 302 url/url_canon.h URL_EXPORT bool CanonicalizeUserInfo(const base::char16* username_source, base 304 url/url_canon.h const base::char16* password_source, base 365 url/url_canon.h URL_EXPORT bool CanonicalizeHost(const base::char16* spec, base 378 url/url_canon.h URL_EXPORT void CanonicalizeHostVerbose(const base::char16* spec, base 398 url/url_canon.h URL_EXPORT void CanonicalizeIPAddress(const base::char16* spec, base 413 url/url_canon.h URL_EXPORT bool CanonicalizePort(const base::char16* spec, base 436 url/url_canon.h URL_EXPORT bool CanonicalizePath(const base::char16* spec, base 451 url/url_canon.h URL_EXPORT bool FileCanonicalizePath(const base::char16* spec, base 473 url/url_canon.h URL_EXPORT void CanonicalizeQuery(const base::char16* spec, base 489 url/url_canon.h URL_EXPORT void CanonicalizeRef(const base::char16* spec, base 511 url/url_canon.h URL_EXPORT bool CanonicalizeStandardURL(const base::char16* spec, base 525 url/url_canon.h URL_EXPORT bool CanonicalizeFileURL(const base::char16* spec, base 539 url/url_canon.h URL_EXPORT bool CanonicalizeFileSystemURL(const base::char16* spec, base 553 url/url_canon.h URL_EXPORT bool CanonicalizePathURL(const base::char16* spec, base 569 url/url_canon.h URL_EXPORT bool CanonicalizeMailtoURL(const base::char16* spec, base 758 url/url_canon.h URL_EXPORT bool ReplaceStandardURL(const char* base, base 765 url/url_canon.h const char* base, base 767 url/url_canon.h const Replacements<base::char16>& replacements, base 774 url/url_canon.h URL_EXPORT bool ReplaceFileSystemURL(const char* base, base 781 url/url_canon.h const char* base, base 783 url/url_canon.h const Replacements<base::char16>& replacements, base 790 url/url_canon.h URL_EXPORT bool ReplaceFileURL(const char* base, base 796 url/url_canon.h URL_EXPORT bool ReplaceFileURL(const char* base, base 798 url/url_canon.h const Replacements<base::char16>& replacements, base 805 url/url_canon.h URL_EXPORT bool ReplacePathURL(const char* base, base 810 url/url_canon.h URL_EXPORT bool ReplacePathURL(const char* base, base 812 url/url_canon.h const Replacements<base::char16>& replacements, base 818 url/url_canon.h URL_EXPORT bool ReplaceMailtoURL(const char* base, base 823 url/url_canon.h URL_EXPORT bool ReplaceMailtoURL(const char* base, base 825 url/url_canon.h const Replacements<base::char16>& replacements, base 842 url/url_canon.h URL_EXPORT bool IsRelativeURL(const char* base, base 849 url/url_canon.h URL_EXPORT bool IsRelativeURL(const char* base, base 851 url/url_canon.h const base::char16* fragment, base 888 url/url_canon.h const base::char16* relative_url, base 284 url/url_canon_etc.cc const base::char16* RemoveURLWhitespace(const base::char16* input, base 286 url/url_canon_etc.cc CanonOutputT<base::char16>* buffer, base 291 url/url_canon_etc.cc char CanonicalSchemeChar(base::char16 ch) { base 304 url/url_canon_etc.cc bool CanonicalizeScheme(const base::char16* spec, base 308 url/url_canon_etc.cc return DoScheme<base::char16, base::char16>(spec, scheme, output, out_scheme); base 323 url/url_canon_etc.cc bool CanonicalizeUserInfo(const base::char16* username_source, base 325 url/url_canon_etc.cc const base::char16* password_source, base 330 url/url_canon_etc.cc return DoUserInfo<base::char16, base::char16>( base 345 url/url_canon_etc.cc bool CanonicalizePort(const base::char16* spec, base 350 url/url_canon_etc.cc return DoPort<base::char16, base::char16>(spec, port, default_port_for_scheme, base 361 url/url_canon_etc.cc void CanonicalizeRef(const base::char16* spec, base 365 url/url_canon_etc.cc DoCanonicalizeRef<base::char16, base::char16>(spec, ref, output, out_ref); base 95 url/url_canon_filesystemurl.cc bool CanonicalizeFileSystemURL(const base::char16* spec, base 101 url/url_canon_filesystemurl.cc return DoCanonicalizeFileSystemURL<base::char16, base::char16>( base 102 url/url_canon_filesystemurl.cc spec, URLComponentSource<base::char16>(spec), parsed, charset_converter, base 106 url/url_canon_filesystemurl.cc bool ReplaceFileSystemURL(const char* base, base 112 url/url_canon_filesystemurl.cc URLComponentSource<char> source(base); base 114 url/url_canon_filesystemurl.cc SetupOverrideComponents(base, replacements, &source, &parsed); base 116 url/url_canon_filesystemurl.cc base, source, parsed, charset_converter, output, new_parsed); base 119 url/url_canon_filesystemurl.cc bool ReplaceFileSystemURL(const char* base, base 121 url/url_canon_filesystemurl.cc const Replacements<base::char16>& replacements, base 126 url/url_canon_filesystemurl.cc URLComponentSource<char> source(base); base 128 url/url_canon_filesystemurl.cc SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed); base 130 url/url_canon_filesystemurl.cc base, source, parsed, charset_converter, output, new_parsed); base 136 url/url_canon_fileurl.cc bool CanonicalizeFileURL(const base::char16* spec, base 142 url/url_canon_fileurl.cc return DoCanonicalizeFileURL<base::char16, base::char16>( base 143 url/url_canon_fileurl.cc URLComponentSource<base::char16>(spec), parsed, query_converter, base 155 url/url_canon_fileurl.cc bool FileCanonicalizePath(const base::char16* spec, base 159 url/url_canon_fileurl.cc return DoFileCanonicalizePath<base::char16, base::char16>(spec, path, base 163 url/url_canon_fileurl.cc bool ReplaceFileURL(const char* base, base 169 url/url_canon_fileurl.cc URLComponentSource<char> source(base); base 171 url/url_canon_fileurl.cc SetupOverrideComponents(base, replacements, &source, &parsed); base 176 url/url_canon_fileurl.cc bool ReplaceFileURL(const char* base, base 178 url/url_canon_fileurl.cc const Replacements<base::char16>& replacements, base 183 url/url_canon_fileurl.cc URLComponentSource<char> source(base); base 185 url/url_canon_fileurl.cc SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed); base 72 url/url_canon_host.cc typedef RawCanonOutputT<base::char16, kTempHostBufferLen> StackBufferW; base 165 url/url_canon_host.cc bool DoIDNHost(const base::char16* src, int src_len, CanonOutput* output) { base 258 url/url_canon_host.cc bool DoComplexHost(const base::char16* host, int host_len, base 352 url/url_canon_host.cc bool CanonicalizeHost(const base::char16* spec, base 357 url/url_canon_host.cc DoHost<base::char16, base::char16>(spec, host, output, &host_info); base 369 url/url_canon_host.cc void CanonicalizeHostVerbose(const base::char16* spec, base 373 url/url_canon_host.cc DoHost<base::char16, base::char16>(spec, host, output, host_info); base 118 url/url_canon_icu.cc void ICUCharsetConverter::ConvertFromUTF16(const base::char16* input, base 145 url/url_canon_icu.cc static base::LazyInstance<UIDNAWrapper>::Leaky base 162 url/url_canon_icu.cc bool IDNToASCII(const base::char16* src, int src_len, CanonOutputW* output) { base 204 url/url_canon_icu.cc bool ReadUTFChar(const base::char16* str, int* begin, int length, base 29 url/url_canon_icu.h virtual void ConvertFromUTF16(const base::char16* input, base 86 url/url_canon_internal.cc const base::char16* override_source, base 234 url/url_canon_internal.cc const base::char16 kUnicodeReplacementCharacter = 0xfffd; base 242 url/url_canon_internal.cc void AppendStringOfType(const base::char16* source, int length, base 245 url/url_canon_internal.cc DoAppendStringOfType<base::char16, base::char16>( base 254 url/url_canon_internal.cc void AppendInvalidNarrowString(const base::char16* spec, int begin, int end, base 256 url/url_canon_internal.cc DoAppendInvalidNarrowString<base::char16, base::char16>( base 260 url/url_canon_internal.cc bool ConvertUTF16ToUTF8(const base::char16* input, int input_len, base 272 url/url_canon_internal.cc CanonOutputT<base::char16>* output) { base 282 url/url_canon_internal.cc void SetupOverrideComponents(const char* base, base 313 url/url_canon_internal.cc bool SetupUTF16OverrideComponents(const char* base, base 314 url/url_canon_internal.cc const Replacements<base::char16>& repl, base 321 url/url_canon_internal.cc const URLComponentSource<base::char16>& repl_source = repl.sources(); base 383 url/url_canon_internal.cc int _itow_s(int value, base::char16* buffer, size_t size_in_chars, int radix) { base 397 url/url_canon_internal.cc buffer[i] = static_cast<base::char16>(temp[i]); base 80 url/url_canon_internal.h void AppendStringOfType(const base::char16* source, int length, base 124 url/url_canon_internal.h char CanonicalSchemeChar(base::char16 ch); base 139 url/url_canon_internal.h extern const base::char16 kUnicodeReplacementCharacter; base 230 url/url_canon_internal.h URL_EXPORT bool ReadUTFChar(const base::char16* str, int* begin, int length, base 235 url/url_canon_internal.h CanonOutputT<base::char16>* output) { base 237 url/url_canon_internal.h output->push_back(static_cast<base::char16>((code_point >> 10) + 0xd7c0)); base 238 url/url_canon_internal.h output->push_back(static_cast<base::char16>((code_point & 0x3ff) | 0xdc00)); base 240 url/url_canon_internal.h output->push_back(static_cast<base::char16>(code_point)); base 265 url/url_canon_internal.h inline bool AppendUTF8EscapedChar(const base::char16* str, int* begin, base 300 url/url_canon_internal.h inline bool Is8BitChar(base::char16 c) { base 336 url/url_canon_internal.h void AppendInvalidNarrowString(const base::char16* spec, int begin, int end, base 349 url/url_canon_internal.h URL_EXPORT bool ConvertUTF16ToUTF8(const base::char16* input, int input_len, base 352 url/url_canon_internal.h CanonOutputT<base::char16>* output); base 356 url/url_canon_internal.h void ConvertUTF16ToQueryEncoding(const base::char16* input, base 370 url/url_canon_internal.h void SetupOverrideComponents(const char* base, base 391 url/url_canon_internal.h bool SetupUTF16OverrideComponents(const char* base, base 392 url/url_canon_internal.h const Replacements<base::char16>& repl, base 403 url/url_canon_internal.h bool CanonicalizePartialPath(const base::char16* spec, base 413 url/url_canon_internal.h URL_EXPORT int _itow_s(int value, base::char16* buffer, size_t size_in_chars, base 423 url/url_canon_internal.h inline int _itow_s(int value, base::char16 (&buffer)[N], int radix) { base 429 url/url_canon_internal.h char** endptr, int base) { base 430 url/url_canon_internal.h return strtoull(nptr, endptr, base); base 99 url/url_canon_ip.cc SharedCharTypes base; base 104 url/url_canon_ip.cc base = CHAR_DEC; base 107 url/url_canon_ip.cc base = CHAR_HEX; base 110 url/url_canon_ip.cc base = CHAR_OCT; base 114 url/url_canon_ip.cc base = CHAR_DEC; base 135 url/url_canon_ip.cc if (!IsCharOfType(input, base)) base 148 url/url_canon_ip.cc uint64 num = _strtoui64(buf, NULL, BaseForType(base)); base 648 url/url_canon_ip.cc bool FindIPv4Components(const base::char16* spec, base 651 url/url_canon_ip.cc return DoFindIPv4Components<base::char16, base::char16>( base 667 url/url_canon_ip.cc void CanonicalizeIPAddress(const base::char16* spec, base 671 url/url_canon_ip.cc if (DoCanonicalizeIPv4Address<base::char16, base::char16>( base 674 url/url_canon_ip.cc if (DoCanonicalizeIPv6Address<base::char16, base::char16>( base 686 url/url_canon_ip.cc CanonHostInfo::Family IPv4AddressToNumber(const base::char16* spec, base 690 url/url_canon_ip.cc return DoIPv4AddressToNumber<base::char16>( base 700 url/url_canon_ip.cc bool IPv6AddressToNumber(const base::char16* spec, base 703 url/url_canon_ip.cc return DoIPv6AddressToNumber<base::char16, base::char16>(spec, host, address); base 44 url/url_canon_ip.h URL_EXPORT bool FindIPv4Components(const base::char16* spec, base 65 url/url_canon_ip.h const base::char16* spec, base 78 url/url_canon_ip.h URL_EXPORT bool IPv6AddressToNumber(const base::char16* spec, base 78 url/url_canon_mailtourl.cc bool CanonicalizeMailtoURL(const base::char16* spec, base 83 url/url_canon_mailtourl.cc return DoCanonicalizeMailtoURL<base::char16, base::char16>( base 84 url/url_canon_mailtourl.cc URLComponentSource<base::char16>(spec), parsed, output, new_parsed); base 87 url/url_canon_mailtourl.cc bool ReplaceMailtoURL(const char* base, base 92 url/url_canon_mailtourl.cc URLComponentSource<char> source(base); base 94 url/url_canon_mailtourl.cc SetupOverrideComponents(base, replacements, &source, &parsed); base 99 url/url_canon_mailtourl.cc bool ReplaceMailtoURL(const char* base, base 101 url/url_canon_mailtourl.cc const Replacements<base::char16>& replacements, base 105 url/url_canon_mailtourl.cc URLComponentSource<char> source(base); base 107 url/url_canon_mailtourl.cc SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed); base 329 url/url_canon_path.cc bool CanonicalizePath(const base::char16* spec, base 333 url/url_canon_path.cc return DoPath<base::char16, base::char16>(spec, path, output, out_path); base 344 url/url_canon_path.cc bool CanonicalizePartialPath(const base::char16* spec, base 348 url/url_canon_path.cc return DoPartialPath<base::char16, base::char16>(spec, path, base 87 url/url_canon_pathurl.cc bool CanonicalizePathURL(const base::char16* spec, base 92 url/url_canon_pathurl.cc return DoCanonicalizePathURL<base::char16, base::char16>( base 93 url/url_canon_pathurl.cc URLComponentSource<base::char16>(spec), parsed, output, new_parsed); base 96 url/url_canon_pathurl.cc bool ReplacePathURL(const char* base, base 101 url/url_canon_pathurl.cc URLComponentSource<char> source(base); base 103 url/url_canon_pathurl.cc SetupOverrideComponents(base, replacements, &source, &parsed); base 108 url/url_canon_pathurl.cc bool ReplacePathURL(const char* base, base 110 url/url_canon_pathurl.cc const Replacements<base::char16>& replacements, base 114 url/url_canon_pathurl.cc URLComponentSource<char> source(base); base 116 url/url_canon_pathurl.cc SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed); base 85 url/url_canon_query.cc void RunConverter(const base::char16* spec, base 147 url/url_canon_query.cc void CanonicalizeQuery(const base::char16* spec, base 152 url/url_canon_query.cc DoCanonicalizeQuery<base::char16, base::char16>(spec, query, converter, base 156 url/url_canon_query.cc void ConvertUTF16ToQueryEncoding(const base::char16* input, base 160 url/url_canon_query.cc DoConvertToQueryEncoding<base::char16, base::char16>(input, query, base 28 url/url_canon_relative.cc bool AreSchemesEqual(const char* base, base 38 url/url_canon_relative.cc base[base_scheme.begin + i]) base 63 url/url_canon_relative.cc bool DoIsRelativeURL(const char* base, base 135 url/url_canon_relative.cc if (!AreSchemesEqual(base, base_parsed.scheme, url, scheme)) base 516 url/url_canon_relative.cc bool IsRelativeURL(const char* base, base 524 url/url_canon_relative.cc base, base_parsed, fragment, fragment_len, is_base_hierarchical, base 528 url/url_canon_relative.cc bool IsRelativeURL(const char* base, base 530 url/url_canon_relative.cc const base::char16* fragment, base 535 url/url_canon_relative.cc return DoIsRelativeURL<base::char16>( base 536 url/url_canon_relative.cc base, base_parsed, fragment, fragment_len, is_base_hierarchical, base 556 url/url_canon_relative.cc const base::char16* relative_url, base 561 url/url_canon_relative.cc return DoResolveRelativeURL<base::char16>( base 137 url/url_canon_stdurl.cc bool CanonicalizeStandardURL(const base::char16* spec, base 143 url/url_canon_stdurl.cc return DoCanonicalizeStandardURL<base::char16, base::char16>( base 144 url/url_canon_stdurl.cc URLComponentSource<base::char16>(spec), parsed, query_converter, base 157 url/url_canon_stdurl.cc bool ReplaceStandardURL(const char* base, base 163 url/url_canon_stdurl.cc URLComponentSource<char> source(base); base 165 url/url_canon_stdurl.cc SetupOverrideComponents(base, replacements, &source, &parsed); base 172 url/url_canon_stdurl.cc bool ReplaceStandardURL(const char* base, base 174 url/url_canon_stdurl.cc const Replacements<base::char16>& replacements, base 179 url/url_canon_stdurl.cc URLComponentSource<char> source(base); base 181 url/url_canon_stdurl.cc SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed); base 74 url/url_canon_unittest.cc const char* base; base 220 url/url_canon_unittest.cc base::string16 input_str(WStringToUTF16(utf_cases[i].input16)); base 238 url/url_canon_unittest.cc base::string16 input16_str(WStringToUTF16(utf_cases[i].input16)); base 272 url/url_canon_unittest.cc base::string16 input_str(WStringToUTF16(icu_cases[i].input)); base 288 url/url_canon_unittest.cc base::string16 input; base 341 url/url_canon_unittest.cc base::string16 wide_input(ConvertUTF8ToUTF16(scheme_cases[i].input)); base 589 url/url_canon_unittest.cc base::string16 input16(WStringToUTF16(host_cases[i].input16)); base 639 url/url_canon_unittest.cc base::string16 input16(WStringToUTF16(host_cases[i].input16)); base 764 url/url_canon_unittest.cc base::string16 input16(WStringToUTF16(cases[i].input16)); base 918 url/url_canon_unittest.cc base::string16 input16(WStringToUTF16(cases[i].input16)); base 1006 url/url_canon_unittest.cc base::string16 wide_input(ConvertUTF8ToUTF16(user_info_cases[i].input)); base 1065 url/url_canon_unittest.cc base::string16 wide_input(ConvertUTF8ToUTF16(port_cases[i].input)); base 1168 url/url_canon_unittest.cc base::string16 input16(WStringToUTF16(path_cases[i].input16)); base 1263 url/url_canon_unittest.cc base::string16 input16(WStringToUTF16(query_cases[i].input16)); base 1328 url/url_canon_unittest.cc base::string16 input16(WStringToUTF16(ref_cases[i].input16)); base 1441 url/url_canon_unittest.cc int base_len = static_cast<int>(strlen(cur.base)); base 1443 url/url_canon_unittest.cc url_parse::ParseStandardURL(cur.base, base_len, &parsed); base 1462 url/url_canon_unittest.cc url_canon::ReplaceStandardURL(replace_cases[i].base, parsed, base 1519 url/url_canon_unittest.cc int base_len = static_cast<int>(strlen(cur.base)); base 1521 url/url_canon_unittest.cc url_parse::ParseFileURL(cur.base, base_len, &parsed); base 1537 url/url_canon_unittest.cc url_canon::ReplaceFileURL(cur.base, parsed, base 1570 url/url_canon_unittest.cc int base_len = static_cast<int>(strlen(cur.base)); base 1572 url/url_canon_unittest.cc url_parse::ParseFileSystemURL(cur.base, base_len, &parsed); base 1588 url/url_canon_unittest.cc url_canon::ReplaceFileSystemURL(cur.base, parsed, r, NULL, base 1610 url/url_canon_unittest.cc int base_len = static_cast<int>(strlen(cur.base)); base 1612 url/url_canon_unittest.cc url_parse::ParsePathURL(cur.base, base_len, false, &parsed); base 1628 url/url_canon_unittest.cc url_canon::ReplacePathURL(cur.base, parsed, base 1662 url/url_canon_unittest.cc int base_len = static_cast<int>(strlen(cur.base)); base 1664 url/url_canon_unittest.cc url_parse::ParseMailtoURL(cur.base, base_len, &parsed); base 1680 url/url_canon_unittest.cc url_canon::ReplaceMailtoURL(cur.base, parsed, base 1961 url/url_canon_unittest.cc base::char16 buf[6]; base 1963 url/url_canon_unittest.cc const base::char16 fill_char = 0xffff; base 1966 url/url_canon_unittest.cc EXPECT_EQ(WStringToUTF16(L"12"), base::string16(buf)); base 1971 url/url_canon_unittest.cc EXPECT_EQ(WStringToUTF16(L"1234"), base::string16(buf)); base 1981 url/url_canon_unittest.cc EXPECT_EQ(WStringToUTF16(L"12"), base::string16(buf)); base 1986 url/url_canon_unittest.cc EXPECT_EQ(WStringToUTF16(L"12345"), base::string16(buf)); base 2008 url/url_canon_unittest.cc const char* base; // Input base URL: MUST BE CANONICAL base 2154 url/url_canon_unittest.cc int base_len = static_cast<int>(strlen(cur_case.base)); base 2156 url/url_canon_unittest.cc url_parse::ParseFileURL(cur_case.base, base_len, &parsed); base 2158 url/url_canon_unittest.cc url_parse::ParseStandardURL(cur_case.base, base_len, &parsed); base 2160 url/url_canon_unittest.cc url_parse::ParsePathURL(cur_case.base, base_len, false, &parsed); base 2167 url/url_canon_unittest.cc cur_case.base, parsed, cur_case.test, test_len, cur_case.is_base_hier, base 2181 url/url_canon_unittest.cc cur_case.base, parsed, cur_case.is_base_file, base 2218 url/url_canon_unittest.cc url_canon::Replacements<base::char16> repl; base 2219 url/url_canon_unittest.cc base::string16 new_query; base 2223 url/url_canon_unittest.cc base::string16 new_path(WStringToUTF16(L"/foo")); base 18 url/url_file.h inline bool IsWindowsDriveSeparator(base::char16 ch) { base 21 url/url_file.h inline bool IsWindowsDriveLetter(base::char16 ch) { base 218 url/url_parse_file.cc void ParseFileURL(const base::char16* url, int url_len, Parsed* parsed) { base 15 url/url_parse_internal.h inline bool IsURLSlash(base::char16 ch) { base 21 url/url_parse_internal.h inline bool ShouldTrimFromURL(base::char16 ch) { base 70 url/url_parse_internal.h void ParsePathInternal(const base::char16* spec, base 84 url/url_parse_internal.h void ParseAfterScheme(const base::char16* spec, base 22 url/url_test_utils.h inline base::string16 WStringToUTF16(const wchar_t* src) { base 23 url/url_test_utils.h base::string16 str; base 26 url/url_test_utils.h str.push_back(static_cast<base::char16>(src[i])); base 32 url/url_test_utils.h inline base::string16 ConvertUTF8ToUTF16(const std::string& src) { base 37 url/url_test_utils.h return base::string16(output.data(), output.length()); base 41 url/url_test_utils.h inline std::string ConvertUTF16ToUTF8(const base::string16& src) { base 414 url/url_util.cc bool IsStandard(const base::char16* spec, const url_parse::Component& scheme) { base 425 url/url_util.cc bool FindAndCompareScheme(const base::char16* str, base 442 url/url_util.cc bool Canonicalize(const base::char16* spec, base 468 url/url_util.cc const base::char16* relative, base 493 url/url_util.cc const url_canon::Replacements<base::char16>& replacements, base 520 url/url_util.cc bool LowerCaseEqualsASCII(const base::char16* a_begin, base 521 url/url_util.cc const base::char16* a_end, base 592 url/url_util.cc bool CompareSchemeComponent(const base::char16* spec, base 70 url/url_util.h URL_EXPORT bool FindAndCompareScheme(const base::char16* str, base 80 url/url_util.h inline bool FindAndCompareScheme(const base::string16& str, base 91 url/url_util.h URL_EXPORT bool IsStandard(const base::char16* spec, base 119 url/url_util.h URL_EXPORT bool Canonicalize(const base::char16* spec, base 147 url/url_util.h const base::char16* relative, base 169 url/url_util.h const url_canon::Replacements<base::char16>& replacements, base 189 url/url_util.h URL_EXPORT bool LowerCaseEqualsASCII(const base::char16* a_begin, base 190 url/url_util.h const base::char16* a_end, base 24 url/url_util_internal.h bool CompareSchemeComponent(const base::char16* spec, base 171 url/url_util_unittest.cc url_canon::RawCanonOutputT<base::char16> output; base 175 url/url_util_unittest.cc base::string16(output.data(), output.length()))); base 180 url/url_util_unittest.cc url_canon::RawCanonOutputT<base::char16> zero_output; base 185 url/url_util_unittest.cc base::string16(zero_output.data(), zero_output.length()))); base 189 url/url_util_unittest.cc const base::char16 invalid_expected[4] = {0x00e4, 0x00a0, 0x597d, 0}; base 190 url/url_util_unittest.cc url_canon::RawCanonOutputT<base::char16> invalid_output; base 193 url/url_util_unittest.cc EXPECT_EQ(base::string16(invalid_expected), base 194 url/url_util_unittest.cc base::string16(invalid_output.data(), invalid_output.length())); base 234 url/url_util_unittest.cc const char* base; base 289 url/url_util_unittest.cc url_parse::ParsePathURL(test_data.base, strlen(test_data.base), false, base 296 url/url_util_unittest.cc url_util::ResolveRelative(test_data.base, strlen(test_data.base), base 40 webkit/browser/appcache/appcache.h : public base::RefCounted<AppCache> { base 106 webkit/browser/appcache/appcache.h base::Time update_time() const { return update_time_; } base 110 webkit/browser/appcache/appcache.h void set_update_time(base::Time ticks) { update_time_ = ticks; } base 151 webkit/browser/appcache/appcache.h friend class base::RefCounted<AppCache>; base 192 webkit/browser/appcache/appcache.h base::Time update_time_; base 57 webkit/browser/appcache/appcache_backend_impl.h typedef base::hash_map<int, AppCacheHost*> HostMap; base 204 webkit/browser/appcache/appcache_database.cc AppCacheDatabase::AppCacheDatabase(const base::FilePath& path) base 395 webkit/browser/appcache/appcache_database.cc int64 group_id, base::Time time) { base 925 webkit/browser/appcache/appcache_database.cc base::Time::FromInternalValue(statement.ColumnInt64(3)); base 927 webkit/browser/appcache/appcache_database.cc base::Time::FromInternalValue(statement.ColumnInt64(4)); base 936 webkit/browser/appcache/appcache_database.cc base::Time::FromInternalValue(statement.ColumnInt64(3)); base 1000 webkit/browser/appcache/appcache_database.cc (use_in_memory_db || !base::PathExists(db_file_path_))) { base 1012 webkit/browser/appcache/appcache_database.cc } else if (!base::CreateDirectory(db_file_path_.DirName())) { base 1039 webkit/browser/appcache/appcache_database.cc base::Bind(&AppCacheDatabase::OnDatabaseError, base::Unretained(this))); base 1192 webkit/browser/appcache/appcache_database.cc DCHECK(base::PathExists(db_file_path_)); base 1198 webkit/browser/appcache/appcache_database.cc base::FilePath directory = db_file_path_.DirName(); base 1199 webkit/browser/appcache/appcache_database.cc if (!base::DeleteFile(directory, true)) base 1203 webkit/browser/appcache/appcache_database.cc if (base::PathExists(directory)) base 1206 webkit/browser/appcache/appcache_database.cc if (!base::CreateDirectory(directory)) base 1213 webkit/browser/appcache/appcache_database.cc base::AutoReset<bool> auto_reset(&is_recreating_, true); base 43 webkit/browser/appcache/appcache_database.h base::Time creation_time; base 44 webkit/browser/appcache/appcache_database.h base::Time last_access_time; base 54 webkit/browser/appcache/appcache_database.h base::Time update_time; base 87 webkit/browser/appcache/appcache_database.h explicit AppCacheDatabase(const base::FilePath& path); base 108 webkit/browser/appcache/appcache_database.h int64 group_id, base::Time last_access_time); base 208 webkit/browser/appcache/appcache_database.h base::FilePath db_file_path_; base 22 webkit/browser/appcache/appcache_database_unittest.cc const base::Time kZeroTime; base 32 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kEmptyPath; base 54 webkit/browser/appcache/appcache_database_unittest.cc base::ScopedTempDir temp_dir; base 56 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kDbFile = temp_dir.path().AppendASCII("appcache.db"); base 57 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kNestedDir = temp_dir.path().AppendASCII("nested"); base 58 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kOtherFile = kNestedDir.AppendASCII("other_file"); base 59 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kNestedDir)); base 60 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_EQ(3, base::WriteFile(kOtherFile, "foo", 3)); base 66 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::PathExists(kDbFile)); base 67 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::DirectoryExists(kNestedDir)); base 68 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::PathExists(kOtherFile)); base 72 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::PathExists(kDbFile)); base 73 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_FALSE(base::DirectoryExists(kNestedDir)); base 74 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_FALSE(base::PathExists(kOtherFile)); base 86 webkit/browser/appcache/appcache_database_unittest.cc base::ScopedTempDir temp_dir; base 88 webkit/browser/appcache/appcache_database_unittest.cc base::FilePath mock_dir = temp_dir.path().AppendASCII("mock"); base 89 webkit/browser/appcache/appcache_database_unittest.cc ASSERT_TRUE(base::CreateDirectory(mock_dir)); base 91 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kDbFile = mock_dir.AppendASCII("appcache.db"); base 92 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kOtherFile = mock_dir.AppendASCII("other_file"); base 93 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_EQ(3, base::WriteFile(kOtherFile, "foo", 3)); base 99 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::PathExists(kOtherFile)); base 100 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::PathExists(kDbFile)); base 112 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_FALSE(base::PathExists(kOtherFile)); base 113 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::PathExists(kDbFile)); base 121 webkit/browser/appcache/appcache_database_unittest.cc base::ScopedTempDir temp_dir; base 123 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kDbFile = temp_dir.path().AppendASCII("appcache.db"); base 128 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::PathExists(kDbFile)); base 141 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::PathExists(kDbFile)); base 151 webkit/browser/appcache/appcache_database_unittest.cc base::ScopedTempDir temp_dir; base 153 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kDbFile = temp_dir.path().AppendASCII("appcache.db"); base 154 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kOtherFile = temp_dir.path().AppendASCII("other_file"); base 155 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_EQ(3, base::WriteFile(kOtherFile, "foo", 3)); base 156 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_TRUE(base::PathExists(kOtherFile)); base 176 webkit/browser/appcache/appcache_database_unittest.cc EXPECT_FALSE(base::PathExists(kOtherFile)); base 181 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kEmptyPath; base 262 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kEmptyPath; base 308 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kEmptyPath; base 318 webkit/browser/appcache/appcache_database_unittest.cc const base::Time kLastAccessTime = base::Time::Now(); base 319 webkit/browser/appcache/appcache_database_unittest.cc const base::Time kCreationTime = base 320 webkit/browser/appcache/appcache_database_unittest.cc kLastAccessTime - base::TimeDelta::FromDays(7); base 439 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kEmptyPath; base 555 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kEmptyPath; base 602 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kEmptyPath; base 682 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kEmptyPath; base 750 webkit/browser/appcache/appcache_database_unittest.cc base::ScopedTempDir temp_dir; base 752 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kDbFile = temp_dir.path().AppendASCII("upgrade3.db"); base 912 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kNamespaceUrlFormat, i))); base 914 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kTargetUrlFormat, i))); base 954 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kNamespaceUrlFormat, i))); base 956 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kTargetUrlFormat, i))); base 973 webkit/browser/appcache/appcache_database_unittest.cc base::ScopedTempDir temp_dir; base 975 webkit/browser/appcache/appcache_database_unittest.cc const base::FilePath kDbFile = temp_dir.path().AppendASCII("upgrade4.db"); base 1141 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kNamespaceUrlFormat, i))); base 1143 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kTargetUrlFormat, i))); base 1161 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kWhitelistUrlFormat, i))); base 1192 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kNamespaceUrlFormat, i))); base 1194 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kTargetUrlFormat, i))); base 1196 webkit/browser/appcache/appcache_database_unittest.cc kMockOrigin.Resolve(base::StringPrintf(kWhitelistUrlFormat, i))); base 22 webkit/browser/appcache/appcache_disk_cache.cc : public base::RefCounted<CreateBackendCallbackShim> { base 121 webkit/browser/appcache/appcache_disk_cache.cc base::Int64ToString(key), &entry_ptr_, base 122 webkit/browser/appcache/appcache_disk_cache.cc base::Bind(&ActiveCall::OnAsyncCompletion, base::Unretained(this))); base 129 webkit/browser/appcache/appcache_disk_cache.cc base::Int64ToString(key), &entry_ptr_, base 130 webkit/browser/appcache/appcache_disk_cache.cc base::Bind(&ActiveCall::OnAsyncCompletion, base::Unretained(this))); base 136 webkit/browser/appcache/appcache_disk_cache.cc base::Int64ToString(key), base 137 webkit/browser/appcache/appcache_disk_cache.cc base::Bind(&ActiveCall::OnAsyncCompletion, base::Unretained(this))); base 181 webkit/browser/appcache/appcache_disk_cache.cc const base::FilePath& disk_cache_directory, int disk_cache_size, bool force, base 182 webkit/browser/appcache/appcache_disk_cache.cc base::MessageLoopProxy* cache_thread, base 190 webkit/browser/appcache/appcache_disk_cache.cc return Init(net::MEMORY_CACHE, base::FilePath(), mem_cache_size, false, NULL, base 290 webkit/browser/appcache/appcache_disk_cache.cc const base::FilePath& cache_directory, base 292 webkit/browser/appcache/appcache_disk_cache.cc base::MessageLoopProxy* cache_thread, base 306 webkit/browser/appcache/appcache_disk_cache.cc base::Bind(&CreateBackendCallbackShim::Callback, base 27 webkit/browser/appcache/appcache_disk_cache.h int InitWithDiskBackend(const base::FilePath& disk_cache_directory, base 29 webkit/browser/appcache/appcache_disk_cache.h base::MessageLoopProxy* cache_thread, base 84 webkit/browser/appcache/appcache_disk_cache.h int Init(net::CacheType cache_type, const base::FilePath& directory, base 85 webkit/browser/appcache/appcache_disk_cache.h int cache_size, bool force, base::MessageLoopProxy* cache_thread, base 23 webkit/browser/appcache/appcache_disk_cache_unittest.cc message_loop_.reset(new base::MessageLoopForIO()); base 24 webkit/browser/appcache/appcache_disk_cache_unittest.cc cache_thread_ = base::MessageLoopProxy::current(); base 26 webkit/browser/appcache/appcache_disk_cache_unittest.cc completion_callback_ = base::Bind( base 28 webkit/browser/appcache/appcache_disk_cache_unittest.cc base::Unretained(this)); base 32 webkit/browser/appcache/appcache_disk_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 37 webkit/browser/appcache/appcache_disk_cache_unittest.cc base::RunLoop().RunUntilIdle(); base 44 webkit/browser/appcache/appcache_disk_cache_unittest.cc base::ScopedTempDir directory_; base 45 webkit/browser/appcache/appcache_disk_cache_unittest.cc scoped_ptr<base::MessageLoop> message_loop_; base 46 webkit/browser/appcache/appcache_disk_cache_unittest.cc scoped_refptr<base::MessageLoopProxy> cache_thread_; base 82 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_TRUE(base::DirectoryExists(directory_.path())); base 83 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(base::IsDirectoryEmpty(directory_.path())); base 84 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_TRUE(base::DeleteFile(directory_.path(), true)); base 85 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(base::DirectoryExists(directory_.path())); base 104 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_TRUE(base::DirectoryExists(directory_.path())); base 105 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(base::IsDirectoryEmpty(directory_.path())); base 106 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_TRUE(base::DeleteFile(directory_.path(), true)); base 107 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(base::DirectoryExists(directory_.path())); base 169 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_TRUE(base::DirectoryExists(directory_.path())); base 170 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(base::IsDirectoryEmpty(directory_.path())); base 171 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_TRUE(base::DeleteFile(directory_.path(), true)); base 172 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(base::DirectoryExists(directory_.path())); base 33 webkit/browser/appcache/appcache_executable_handler.h typedef base::Callback<void(const Response&)> ResponseCallback; base 230 webkit/browser/appcache/appcache_group.cc base::Bind(&AppCacheGroup::RunQueuedUpdates, this)); base 231 webkit/browser/appcache/appcache_group.cc base::MessageLoop::current()->PostDelayedTask( base 234 webkit/browser/appcache/appcache_group.cc base::TimeDelta::FromMilliseconds(delay_ms)); base 31 webkit/browser/appcache/appcache_group.h : public base::RefCounted<AppCacheGroup> { base 57 webkit/browser/appcache/appcache_group.h const base::Time& creation_time() const { return creation_time_; } base 58 webkit/browser/appcache/appcache_group.h void set_creation_time(const base::Time& time) { creation_time_ = time; } base 99 webkit/browser/appcache/appcache_group.h friend class base::RefCounted<AppCacheGroup>; base 126 webkit/browser/appcache/appcache_group.h base::Time creation_time_; base 150 webkit/browser/appcache/appcache_group.h base::CancelableClosure restart_update_task_; base 100 webkit/browser/appcache/appcache_group_unittest.cc base::MessageLoop message_loop_; base 108 webkit/browser/appcache/appcache_group_unittest.cc base::Time now = base::Time::Now(); base 119 webkit/browser/appcache/appcache_group_unittest.cc cache2->set_update_time(now - base::TimeDelta::FromDays(1)); base 126 webkit/browser/appcache/appcache_group_unittest.cc cache3->set_update_time(now + base::TimeDelta::FromDays(1)); base 133 webkit/browser/appcache/appcache_group_unittest.cc cache4->set_update_time(now + base::TimeDelta::FromDays(1)); // same as 3 base 140 webkit/browser/appcache/appcache_group_unittest.cc cache5->set_update_time(now + base::TimeDelta::FromDays(1)); // same as 4 base 182 webkit/browser/appcache/appcache_group_unittest.cc base::Time now = base::Time::Now(); base 202 webkit/browser/appcache/appcache_group_unittest.cc cache2->set_update_time(now + base::TimeDelta::FromDays(1)); base 40 webkit/browser/appcache/appcache_histograms.cc base::LinearHistogram::FactoryGet( base 45 webkit/browser/appcache/appcache_histograms.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(result); base 68 webkit/browser/appcache/appcache_histograms.cc base::BooleanHistogram::FactoryGet( base 70 webkit/browser/appcache/appcache_histograms.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(success); base 84 webkit/browser/appcache/appcache_histograms.cc base::LinearHistogram::FactoryGet( base 87 webkit/browser/appcache/appcache_histograms.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(percent_complete); base 93 webkit/browser/appcache/appcache_histograms.cc base::BooleanHistogram::FactoryGet( base 95 webkit/browser/appcache/appcache_histograms.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add(was_stalled); base 101 webkit/browser/appcache/appcache_histograms.cc base::BooleanHistogram::FactoryGet( base 103 webkit/browser/appcache/appcache_histograms.cc base::HistogramBase::kUmaTargetedHistogramFlag)->Add( base 109 webkit/browser/appcache/appcache_histograms.cc const base::TimeDelta& duration) { base 114 webkit/browser/appcache/appcache_histograms.cc const base::TimeDelta& duration) { base 119 webkit/browser/appcache/appcache_histograms.cc const base::TimeDelta& duration) { base 124 webkit/browser/appcache/appcache_histograms.cc const base::TimeDelta& duration) { base 129 webkit/browser/appcache/appcache_histograms.cc const base::TimeDelta& duration) { base 134 webkit/browser/appcache/appcache_histograms.cc const base::TimeDelta& duration) { base 139 webkit/browser/appcache/appcache_histograms.cc const base::TimeDelta& duration) { base 11 webkit/browser/appcache/appcache_histograms.h namespace base { base 41 webkit/browser/appcache/appcache_histograms.h static void AddTaskQueueTimeSample(const base::TimeDelta& duration); base 42 webkit/browser/appcache/appcache_histograms.h static void AddTaskRunTimeSample(const base::TimeDelta& duration); base 43 webkit/browser/appcache/appcache_histograms.h static void AddCompletionQueueTimeSample(const base::TimeDelta& duration); base 44 webkit/browser/appcache/appcache_histograms.h static void AddCompletionRunTimeSample(const base::TimeDelta& duration); base 45 webkit/browser/appcache/appcache_histograms.h static void AddNetworkJobStartDelaySample(const base::TimeDelta& duration); base 46 webkit/browser/appcache/appcache_histograms.h static void AddErrorJobStartDelaySample(const base::TimeDelta& duration); base 47 webkit/browser/appcache/appcache_histograms.h static void AddAppCacheJobStartDelaySample(const base::TimeDelta& duration); base 384 webkit/browser/appcache/appcache_host.cc base::StringPrintf( base 405 webkit/browser/appcache/appcache_host.cc base::StringPrintf(kFormatString, base 34 webkit/browser/appcache/appcache_host.h typedef base::Callback<void(Status, void*)> GetStatusCallback; base 35 webkit/browser/appcache/appcache_host.h typedef base::Callback<void(bool, void*)> StartUpdateCallback; base 36 webkit/browser/appcache/appcache_host.h typedef base::Callback<void(bool, void*)> SwapCacheCallback; base 25 webkit/browser/appcache/appcache_host_unittest.cc base::Bind(&AppCacheHostTest::GetStatusCallback, base 26 webkit/browser/appcache/appcache_host_unittest.cc base::Unretained(this)); base 28 webkit/browser/appcache/appcache_host_unittest.cc base::Bind(&AppCacheHostTest::StartUpdateCallback, base 29 webkit/browser/appcache/appcache_host_unittest.cc base::Unretained(this)); base 31 webkit/browser/appcache/appcache_host_unittest.cc base::Bind(&AppCacheHostTest::SwapCacheCallback, base 32 webkit/browser/appcache/appcache_host_unittest.cc base::Unretained(this)); base 111 webkit/browser/appcache/appcache_host_unittest.cc base::SequencedTaskRunner* original_task_runner, base 154 webkit/browser/appcache/appcache_host_unittest.cc base::MessageLoop message_loop_; base 28 webkit/browser/appcache/appcache_quota_client.cc base::Closure request = queue->front(); base 78 webkit/browser/appcache/appcache_quota_client.cc base::Bind(&AppCacheQuotaClient::GetOriginUsage, base 79 webkit/browser/appcache/appcache_quota_client.cc base::Unretained(this), origin, type, callback)); base 127 webkit/browser/appcache/appcache_quota_client.cc base::Bind(&AppCacheQuotaClient::DeleteOriginData, base 128 webkit/browser/appcache/appcache_quota_client.cc base::Unretained(this), origin, type, callback)); base 175 webkit/browser/appcache/appcache_quota_client.cc base::Bind(&AppCacheQuotaClient::GetOriginsHelper, base 176 webkit/browser/appcache/appcache_quota_client.cc base::Unretained(this), type, opt_host, callback)); base 221 webkit/browser/appcache/appcache_quota_client.cc base::Bind(&AppCacheQuotaClient::DidDeleteAppCachesForOrigin, base 222 webkit/browser/appcache/appcache_quota_client.cc base::Unretained(this)))); base 35 webkit/browser/appcache/appcache_quota_client.h typedef std::deque<base::Closure> RequestQueue; base 47 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 56 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 66 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 76 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 86 webkit/browser/appcache/appcache_quota_client_unittest.cc base::Bind(&AppCacheQuotaClientTest::OnGetOriginUsageComplete, base 95 webkit/browser/appcache/appcache_quota_client_unittest.cc base::Bind(&AppCacheQuotaClientTest::OnGetOriginsComplete, base 105 webkit/browser/appcache/appcache_quota_client_unittest.cc base::Bind(&AppCacheQuotaClientTest::OnGetOriginsComplete, base 115 webkit/browser/appcache/appcache_quota_client_unittest.cc base::Bind(&AppCacheQuotaClientTest::OnDeleteOriginDataComplete, base 155 webkit/browser/appcache/appcache_quota_client_unittest.cc base::MessageLoop message_loop_; base 163 webkit/browser/appcache/appcache_quota_client_unittest.cc base::WeakPtrFactory<AppCacheQuotaClientTest> weak_factory_; base 318 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 328 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 357 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 393 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 403 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 428 webkit/browser/appcache/appcache_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 31 webkit/browser/appcache/appcache_request_handler.h : public base::SupportsUserData::Data, base 164 webkit/browser/appcache/appcache_request_handler_unittest.cc io_thread_.reset(new base::Thread("AppCacheRequestHandlerTest Thread")); base 165 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 179 webkit/browser/appcache/appcache_request_handler_unittest.cc test_finished_event_ .reset(new base::WaitableEvent(false, false)); base 182 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Bind(&AppCacheRequestHandlerTest::MethodWrapper<Method>, base 183 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Unretained(this), method)); base 188 webkit/browser/appcache/appcache_request_handler_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 205 webkit/browser/appcache/appcache_request_handler_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 223 webkit/browser/appcache/appcache_request_handler_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 224 webkit/browser/appcache/appcache_request_handler_unittest.cc base::MessageLoop::current()->PostTask( base 226 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Bind(&AppCacheRequestHandlerTest::TestFinishedUnwound, base 227 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Unretained(this))); base 235 webkit/browser/appcache/appcache_request_handler_unittest.cc void PushNextTask(const base::Closure& task) { base 240 webkit/browser/appcache/appcache_request_handler_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 245 webkit/browser/appcache/appcache_request_handler_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, task_stack_.top()); base 253 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Bind(&AppCacheRequestHandlerTest::Verify_MainResource_Miss, base 254 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Unretained(this))); base 300 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Bind(&AppCacheRequestHandlerTest::Verify_MainResource_Hit, base 301 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Unretained(this))); base 348 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Bind(&AppCacheRequestHandlerTest::Verify_MainResource_Fallback, base 349 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Unretained(this))); base 407 webkit/browser/appcache/appcache_request_handler_unittest.cc PushNextTask(base::Bind( base 409 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Unretained(this))); base 823 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Bind(&AppCacheRequestHandlerTest::Verify_MainResource_Blocked, base 824 webkit/browser/appcache/appcache_request_handler_unittest.cc base::Unretained(this))); base 879 webkit/browser/appcache/appcache_request_handler_unittest.cc scoped_ptr<base::WaitableEvent> test_finished_event_; base 880 webkit/browser/appcache/appcache_request_handler_unittest.cc std::stack<base::Closure> task_stack_; base 892 webkit/browser/appcache/appcache_request_handler_unittest.cc static scoped_ptr<base::Thread> io_thread_; base 897 webkit/browser/appcache/appcache_request_handler_unittest.cc scoped_ptr<base::Thread> AppCacheRequestHandlerTest::io_thread_; base 94 webkit/browser/appcache/appcache_response.cc base::MessageLoop::current()->PostTask( base 95 webkit/browser/appcache/appcache_response.cc FROM_HERE, base::Bind(&AppCacheResponseIO::OnIOComplete, base 114 webkit/browser/appcache/appcache_response.cc base::Bind(&AppCacheResponseIO::OnRawIOComplete, base 125 webkit/browser/appcache/appcache_response.cc base::Bind(&AppCacheResponseIO::OnRawIOComplete, base 255 webkit/browser/appcache/appcache_response.cc base::Bind(&AppCacheResponseReader::OnOpenEntryComplete, base 256 webkit/browser/appcache/appcache_response.cc weak_factory_.GetWeakPtr(), base::Owned(entry_ptr)); base 376 webkit/browser/appcache/appcache_response.cc base::Bind(&AppCacheResponseWriter::OnCreateEntryComplete, base 377 webkit/browser/appcache/appcache_response.cc weak_factory_.GetWeakPtr(), base::Owned(entry_ptr)); base 402 webkit/browser/appcache/appcache_response.cc base::Bind(&AppCacheResponseWriter::OnCreateEntryComplete, base 403 webkit/browser/appcache/appcache_response.cc weak_factory_.GetWeakPtr(), base::Owned(entry_ptr)); base 31 webkit/browser/appcache/appcache_response.h : public base::RefCounted<AppCacheResponseInfo> { base 46 webkit/browser/appcache/appcache_response.h friend class base::RefCounted<AppCacheResponseInfo>; base 59 webkit/browser/appcache/appcache_response.h : public base::RefCountedThreadSafe<HttpResponseInfoIOBuffer> { base 67 webkit/browser/appcache/appcache_response.h friend class base::RefCountedThreadSafe<HttpResponseInfoIOBuffer>; base 93 webkit/browser/appcache/appcache_response.h friend class base::RefCounted<AppCacheDiskCacheInterface>; base 124 webkit/browser/appcache/appcache_response.h base::WeakPtrFactory<AppCacheResponseIO> weak_factory_; base 190 webkit/browser/appcache/appcache_response.h base::WeakPtrFactory<AppCacheResponseReader> weak_factory_; base 256 webkit/browser/appcache/appcache_response.h base::WeakPtrFactory<AppCacheResponseWriter> weak_factory_; base 65 webkit/browser/appcache/appcache_response_unittest.cc io_thread_.reset(new base::Thread("AppCacheResponseTest Thread")); base 66 webkit/browser/appcache/appcache_response_unittest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 78 webkit/browser/appcache/appcache_response_unittest.cc test_finished_event_ .reset(new base::WaitableEvent(false, false)); base 80 webkit/browser/appcache/appcache_response_unittest.cc FROM_HERE, base::Bind(&AppCacheResponseTest::MethodWrapper<Method>, base 81 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), method)); base 86 webkit/browser/appcache/appcache_response_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 102 webkit/browser/appcache/appcache_response_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 119 webkit/browser/appcache/appcache_response_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 120 webkit/browser/appcache/appcache_response_unittest.cc base::MessageLoop::current()->PostTask( base 121 webkit/browser/appcache/appcache_response_unittest.cc FROM_HERE, base::Bind(&AppCacheResponseTest::TestFinishedUnwound, base 122 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 130 webkit/browser/appcache/appcache_response_unittest.cc void PushNextTask(const base::Closure& task) { base 131 webkit/browser/appcache/appcache_response_unittest.cc task_stack_.push(std::pair<base::Closure, bool>(task, false)); base 134 webkit/browser/appcache/appcache_response_unittest.cc void PushNextTaskAsImmediate(const base::Closure& task) { base 135 webkit/browser/appcache/appcache_response_unittest.cc task_stack_.push(std::pair<base::Closure, bool>(task, true)); base 139 webkit/browser/appcache/appcache_response_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 144 webkit/browser/appcache/appcache_response_unittest.cc base::Closure task = task_stack_.top().first; base 150 webkit/browser/appcache/appcache_response_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, task); base 171 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::WriteResponseBody, base 172 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), body_ref, body_len)); base 181 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::OnWriteInfoComplete, base 182 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 191 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::OnWriteComplete, base 192 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 201 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::OnReadComplete, base 202 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 245 webkit/browser/appcache/appcache_response_unittest.cc info->request_time = base::Time::Now(); base 246 webkit/browser/appcache/appcache_response_unittest.cc info->response_time = base::Time::Now(); base 302 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadNonExistentData, base 303 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 304 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadNonExistentInfo, base 305 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 313 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::OnReadInfoComplete, base 314 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 324 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::OnReadComplete, base 325 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 332 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::LoadResponseInfo_Miss_Verify, base 333 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 351 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::LoadResponseInfo_Hit_Step2, base 352 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 360 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::LoadResponseInfo_Hit_Verify, base 361 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 388 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::Verify_AmountWritten, base 389 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), expected_amount_written)); base 391 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::WriteOneBlock, base 392 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), kNumBlocks - i)); base 394 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::WriteResponseHead, base 395 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), head)); base 421 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadRangeFullyBeyondEOF, base 422 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 423 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadRangePartiallyBeyondEOF, base 424 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 425 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadPastEOF, base 426 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 427 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadRange, base 428 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 429 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadPastEOF, base 430 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 431 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadAllAtOnce, base 432 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 433 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadInBlocks, base 434 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 435 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::WriteOutBlocks, base 436 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 446 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::WriteOneBlock, base 447 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), kNumBlocks - i)); base 464 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadOneBlock, base 465 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), kNumBlocks - i)); base 471 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::VerifyOneBlock, base 472 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), block_number)); base 482 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::VerifyAllAtOnce, base 483 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 503 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::OnReadComplete, base 504 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 508 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::VerifyRange, base 509 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 522 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::VerifyRangeBeyondEOF, base 523 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 553 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::ReadInBlocksImmediately, base 554 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 556 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::WriteOutBlocksImmediately, base 557 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 568 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::WriteOneBlock, base 569 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), kNumBlocks - i)); base 580 webkit/browser/appcache/appcache_response_unittest.cc base::Bind(&AppCacheResponseTest::ReadOneBlockImmediately, base 581 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), base 588 webkit/browser/appcache/appcache_response_unittest.cc PushNextTaskAsImmediate(base::Bind(&AppCacheResponseTest::VerifyOneBlock, base 589 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this), block_number)); base 605 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadInBlocks, base 606 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 607 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::WriteOutBlocks, base 608 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 617 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::ReadThenDelete, base 618 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 619 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::WriteThenDelete, base 620 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 621 webkit/browser/appcache/appcache_response_unittest.cc PushNextTask(base::Bind(&AppCacheResponseTest::WriteOutBlocks, base 622 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this))); base 643 webkit/browser/appcache/appcache_response_unittest.cc base::MessageLoop::current()->PostDelayedTask( base 644 webkit/browser/appcache/appcache_response_unittest.cc FROM_HERE, base::Bind(&AppCacheResponseTest::VerifyNoCallbacks, base 645 webkit/browser/appcache/appcache_response_unittest.cc base::Unretained(this)), base 646 webkit/browser/appcache/appcache_response_unittest.cc base::TimeDelta::FromMilliseconds(10)); base 657 webkit/browser/appcache/appcache_response_unittest.cc scoped_ptr<base::WaitableEvent> test_finished_event_; base 660 webkit/browser/appcache/appcache_response_unittest.cc std::stack<std::pair<base::Closure, bool> > task_stack_; base 679 webkit/browser/appcache/appcache_response_unittest.cc static scoped_ptr<base::Thread> io_thread_; base 683 webkit/browser/appcache/appcache_response_unittest.cc scoped_ptr<base::Thread> AppCacheResponseTest::io_thread_; base 64 webkit/browser/appcache/appcache_service.cc base::MessageLoop::current()->PostTask( base 65 webkit/browser/appcache/appcache_service.cc FROM_HERE, base::Bind(&DeferredCallback, callback_, rv)); base 384 webkit/browser/appcache/appcache_service.cc base::Bind(&CheckResponseHelper::OnReadInfoComplete, base 385 webkit/browser/appcache/appcache_service.cc base::Unretained(this))); base 403 webkit/browser/appcache/appcache_service.cc base::Bind(&CheckResponseHelper::OnReadDataComplete, base 404 webkit/browser/appcache/appcache_service.cc base::Unretained(this))); base 414 webkit/browser/appcache/appcache_service.cc base::Bind(&CheckResponseHelper::OnReadDataComplete, base 415 webkit/browser/appcache/appcache_service.cc base::Unretained(this))); base 468 webkit/browser/appcache/appcache_service.cc void AppCacheService::Initialize(const base::FilePath& cache_directory, base 469 webkit/browser/appcache/appcache_service.cc base::MessageLoopProxy* db_thread, base 470 webkit/browser/appcache/appcache_service.cc base::MessageLoopProxy* cache_thread) { base 489 webkit/browser/appcache/appcache_service.cc const base::TimeDelta kZeroDelta; base 490 webkit/browser/appcache/appcache_service.cc const base::TimeDelta kOneHour(base::TimeDelta::FromHours(1)); base 491 webkit/browser/appcache/appcache_service.cc const base::TimeDelta k30Seconds(base::TimeDelta::FromSeconds(30)); base 495 webkit/browser/appcache/appcache_service.cc base::TimeDelta up_time = base::Time::Now() - last_reinit_time_; base 503 webkit/browser/appcache/appcache_service.cc base::TimeDelta increment = std::max(k30Seconds, next_reinit_delay_); base 509 webkit/browser/appcache/appcache_service.cc last_reinit_time_ = base::Time::Now(); base 27 webkit/browser/appcache/appcache_service.h namespace base { base 50 webkit/browser/appcache/appcache_service.h : public base::RefCountedThreadSafe<AppCacheInfoCollection> { base 56 webkit/browser/appcache/appcache_service.h friend class base::RefCountedThreadSafe<AppCacheInfoCollection>; base 63 webkit/browser/appcache/appcache_service.h public base::RefCounted<AppCacheStorageReference> { base 68 webkit/browser/appcache/appcache_service.h friend class base::RefCounted<AppCacheStorageReference>; base 96 webkit/browser/appcache/appcache_service.h void Initialize(const base::FilePath& cache_directory, base 97 webkit/browser/appcache/appcache_service.h base::MessageLoopProxy* db_thread, base 98 webkit/browser/appcache/appcache_service.h base::MessageLoopProxy* cache_thread); base 218 webkit/browser/appcache/appcache_service.h base::FilePath cache_directory_; base 219 webkit/browser/appcache/appcache_service.h scoped_refptr<base::MessageLoopProxy> db_thread_; base 220 webkit/browser/appcache/appcache_service.h scoped_refptr<base::MessageLoopProxy> cache_thread_; base 233 webkit/browser/appcache/appcache_service.h base::Time last_reinit_time_; base 234 webkit/browser/appcache/appcache_service.h base::TimeDelta next_reinit_delay_; base 235 webkit/browser/appcache/appcache_service.h base::OneShotTimer<AppCacheService> reinit_timer_; base 70 webkit/browser/appcache/appcache_service_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 71 webkit/browser/appcache/appcache_service_unittest.cc base::Bind(&MockResponseReader::InvokeUserCompletionCallback, base 92 webkit/browser/appcache/appcache_service_unittest.cc base::Bind(&AppCacheServiceTest::OnDeleteAppCachesComplete, base 93 webkit/browser/appcache/appcache_service_unittest.cc base::Unretained(this))) { base 151 webkit/browser/appcache/appcache_service_unittest.cc info->request_time = base::Time::Now(); base 152 webkit/browser/appcache/appcache_service_unittest.cc info->response_time = base::Time::Now(); base 180 webkit/browser/appcache/appcache_service_unittest.cc base::MessageLoop message_loop_; base 187 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 196 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 218 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 229 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 245 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 253 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 264 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 274 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 284 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 293 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 302 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 311 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 317 webkit/browser/appcache/appcache_service_unittest.cc base::RunLoop().RunUntilIdle(); base 322 webkit/browser/appcache/appcache_service_unittest.cc const base::TimeDelta kNoDelay; base 323 webkit/browser/appcache/appcache_service_unittest.cc const base::TimeDelta kOneSecond(base::TimeDelta::FromSeconds(1)); base 324 webkit/browser/appcache/appcache_service_unittest.cc const base::TimeDelta k30Seconds(base::TimeDelta::FromSeconds(30)); base 325 webkit/browser/appcache/appcache_service_unittest.cc const base::TimeDelta kOneHour(base::TimeDelta::FromHours(1)); base 347 webkit/browser/appcache/appcache_service_unittest.cc service->last_reinit_time_ = base::Time::Now() - kOneSecond; base 355 webkit/browser/appcache/appcache_service_unittest.cc service->last_reinit_time_ = base::Time::Now() - base 356 webkit/browser/appcache/appcache_service_unittest.cc base::TimeDelta::FromHours(2); base 364 webkit/browser/appcache/appcache_service_unittest.cc service->last_reinit_time_ = base::Time::Now() - kOneSecond; base 65 webkit/browser/appcache/appcache_storage.cc base::Bind(&ResponseInfoLoadTask::OnReadComplete, base 66 webkit/browser/appcache/appcache_storage.cc base::Unretained(this))); base 213 webkit/browser/appcache/appcache_storage.h struct DelegateReference : public base::RefCounted<DelegateReference> { base 226 webkit/browser/appcache/appcache_storage.h friend class base::RefCounted<DelegateReference>; base 43 webkit/browser/appcache/appcache_storage_impl.cc static const base::FilePath::CharType kDiskCacheDirectoryName[] = base 134 webkit/browser/appcache/appcache_storage_impl.cc : public base::RefCountedThreadSafe<DatabaseTask> { base 138 webkit/browser/appcache/appcache_storage_impl.cc io_thread_(base::MessageLoopProxy::current()) { base 175 webkit/browser/appcache/appcache_storage_impl.cc void CallRun(base::TimeTicks schedule_time); base 176 webkit/browser/appcache/appcache_storage_impl.cc void CallRunCompleted(base::TimeTicks schedule_time); base 179 webkit/browser/appcache/appcache_storage_impl.cc scoped_refptr<base::MessageLoopProxy> io_thread_; base 190 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&DatabaseTask::CallRun, this, base::TimeTicks::Now()))) { base 204 webkit/browser/appcache/appcache_storage_impl.cc base::TimeTicks schedule_time) { base 206 webkit/browser/appcache/appcache_storage_impl.cc base::TimeTicks::Now() - schedule_time); base 208 webkit/browser/appcache/appcache_storage_impl.cc base::TimeTicks run_time = base::TimeTicks::Now(); base 211 webkit/browser/appcache/appcache_storage_impl.cc base::TimeTicks::Now() - run_time); base 220 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&DatabaseTask::OnFatalError, this)); base 225 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&DatabaseTask::CallRunCompleted, this, base 226 webkit/browser/appcache/appcache_storage_impl.cc base::TimeTicks::Now())); base 230 webkit/browser/appcache/appcache_storage_impl.cc base::TimeTicks schedule_time) { base 232 webkit/browser/appcache/appcache_storage_impl.cc base::TimeTicks::Now() - schedule_time); base 237 webkit/browser/appcache/appcache_storage_impl.cc base::TimeTicks run_time = base::TimeTicks::Now(); base 240 webkit/browser/appcache/appcache_storage_impl.cc base::TimeTicks::Now() - run_time); base 277 webkit/browser/appcache/appcache_storage_impl.cc base::FilePath db_file_path_; base 278 webkit/browser/appcache/appcache_storage_impl.cc base::FilePath disk_cache_directory_; base 289 webkit/browser/appcache/appcache_storage_impl.cc !base::PathExists(db_file_path_) && base 290 webkit/browser/appcache/appcache_storage_impl.cc base::DirectoryExists(disk_cache_directory_)) { base 291 webkit/browser/appcache/appcache_storage_impl.cc base::DeleteFile(disk_cache_directory_, true); base 292 webkit/browser/appcache/appcache_storage_impl.cc if (base::DirectoryExists(disk_cache_directory_)) { base 312 webkit/browser/appcache/appcache_storage_impl.cc const base::TimeDelta kDelay = base::TimeDelta::FromMinutes(5); base 313 webkit/browser/appcache/appcache_storage_impl.cc base::MessageLoop::current()->PostDelayedTask( base 315 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&AppCacheStorageImpl::DelayedStartDeletingUnusedResponses, base 521 webkit/browser/appcache/appcache_storage_impl.cc base::Time::Now()); base 563 webkit/browser/appcache/appcache_storage_impl.cc base::Time::Now()); base 650 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&StoreGroupAndCacheTask::OnQuotaCallback, this)); base 680 webkit/browser/appcache/appcache_storage_impl.cc group_record_.creation_time = base::Time::Now(); base 681 webkit/browser/appcache/appcache_storage_impl.cc group_record_.last_access_time = base::Time::Now(); base 689 webkit/browser/appcache/appcache_storage_impl.cc base::Time::Now()); base 1290 webkit/browser/appcache/appcache_storage_impl.cc AppCacheStorageImpl* storage, AppCacheGroup* group, base::Time time) base 1304 webkit/browser/appcache/appcache_storage_impl.cc base::Time last_access_time_; base 1336 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&ClearSessionOnlyOrigins, database_, base 1344 webkit/browser/appcache/appcache_storage_impl.cc void AppCacheStorageImpl::Initialize(const base::FilePath& cache_directory, base 1345 webkit/browser/appcache/appcache_storage_impl.cc base::MessageLoopProxy* db_thread, base 1346 webkit/browser/appcache/appcache_storage_impl.cc base::MessageLoopProxy* cache_thread) { base 1352 webkit/browser/appcache/appcache_storage_impl.cc base::FilePath db_file_path; base 1397 webkit/browser/appcache/appcache_storage_impl.cc this, cache->owning_group(), base::Time::Now())); base 1426 webkit/browser/appcache/appcache_storage_impl.cc this, group, base::Time::Now())); base 1518 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&AppCacheStorageImpl::DeliverShortCircuitedFindMainResponse, base 1544 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&AppCacheStorageImpl::DeliverShortCircuitedFindMainResponse, base 1687 webkit/browser/appcache/appcache_storage_impl.cc const base::TimeDelta kDelay = base::TimeDelta::FromMilliseconds(10); base 1688 webkit/browser/appcache/appcache_storage_impl.cc base::MessageLoop::current()->PostDelayedTask( base 1690 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&AppCacheStorageImpl::DeleteOneResponse, base 1711 webkit/browser/appcache/appcache_storage_impl.cc id, base::Bind(&AppCacheStorageImpl::OnDeletedOneResponse, base 1712 webkit/browser/appcache/appcache_storage_impl.cc base::Unretained(this))); base 1772 webkit/browser/appcache/appcache_storage_impl.cc void AppCacheStorageImpl::ScheduleSimpleTask(const base::Closure& task) { base 1774 webkit/browser/appcache/appcache_storage_impl.cc base::MessageLoop::current()->PostTask( base 1776 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&AppCacheStorageImpl::RunOnePendingSimpleTask, base 1782 webkit/browser/appcache/appcache_storage_impl.cc base::Closure task = pending_simple_tasks_.front(); base 1799 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&AppCacheStorageImpl::OnDiskCacheInitialized, base 1800 webkit/browser/appcache/appcache_storage_impl.cc base::Unretained(this))); base 1807 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&AppCacheStorageImpl::OnDiskCacheInitialized, base 1808 webkit/browser/appcache/appcache_storage_impl.cc base::Unretained(this))); base 1840 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&base::DoNothing), base 1841 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&AppCacheStorageImpl::DeleteAndStartOverPart2, base 1849 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(base::IgnoreResult(&base::DeleteFile), base 1851 webkit/browser/appcache/appcache_storage_impl.cc base::Bind(&AppCacheStorageImpl::CallScheduleReinitialize, base 35 webkit/browser/appcache/appcache_storage_impl.h void Initialize(const base::FilePath& cache_directory, base 36 webkit/browser/appcache/appcache_storage_impl.h base::MessageLoopProxy* db_thread, base 37 webkit/browser/appcache/appcache_storage_impl.h base::MessageLoopProxy* cache_thread); base 105 webkit/browser/appcache/appcache_storage_impl.h void ScheduleSimpleTask(const base::Closure& task); base 138 webkit/browser/appcache/appcache_storage_impl.h base::FilePath cache_directory_; base 144 webkit/browser/appcache/appcache_storage_impl.h scoped_refptr<base::MessageLoopProxy> db_thread_; base 145 webkit/browser/appcache/appcache_storage_impl.h scoped_refptr<base::MessageLoopProxy> cache_thread_; base 172 webkit/browser/appcache/appcache_storage_impl.h std::deque<base::Closure> pending_simple_tasks_; base 173 webkit/browser/appcache/appcache_storage_impl.h base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_; base 37 webkit/browser/appcache/appcache_update_job.cc return base::StringPrintf(format, code, url.spec().c_str()); base 180 webkit/browser/appcache/appcache_update_job.cc base::Bind(&URLFetcher::OnWriteComplete, base::Unretained(this))); base 280 webkit/browser/appcache/appcache_update_job.cc base::Bind(&URLFetcher::OnWriteComplete, base::Unretained(this))); base 566 webkit/browser/appcache/appcache_update_job.cc const std::string message = base::StringPrintf(kFormatString, base 813 webkit/browser/appcache/appcache_update_job.cc base::Bind(&AppCacheUpdateJob::OnManifestInfoWriteComplete, base 814 webkit/browser/appcache/appcache_update_job.cc base::Unretained(this))); base 851 webkit/browser/appcache/appcache_update_job.cc base::Bind(&AppCacheUpdateJob::OnManifestDataWriteComplete, base 852 webkit/browser/appcache/appcache_update_job.cc base::Unretained(this))); base 893 webkit/browser/appcache/appcache_update_job.cc newest_cache->set_update_time(base::Time::Now()); base 1035 webkit/browser/appcache/appcache_update_job.cc base::Bind(&AppCacheUpdateJob::OnManifestDataReadComplete, base 1036 webkit/browser/appcache/appcache_update_job.cc base::Unretained(this))); // async read base 1045 webkit/browser/appcache/appcache_update_job.cc base::Bind(&AppCacheUpdateJob::OnManifestDataReadComplete, base 1046 webkit/browser/appcache/appcache_update_job.cc base::Unretained(this))); // read more base 1056 webkit/browser/appcache/appcache_update_job.cc for (base::hash_set<std::string>::const_iterator it = base 1348 webkit/browser/appcache/appcache_update_job.cc base::Time::Now()) || base 1542 webkit/browser/appcache/appcache_update_job.cc base::Time::Now() - last_progress_time_ < base 1543 webkit/browser/appcache/appcache_update_job.cc base::TimeDelta::FromMinutes(5); base 1568 webkit/browser/appcache/appcache_update_job.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 256 webkit/browser/appcache/appcache_update_job.h void MadeProgress() { last_progress_time_ = base::Time::Now(); } base 278 webkit/browser/appcache/appcache_update_job.h base::Time last_progress_time_; base 550 webkit/browser/appcache/appcache_update_job_unittest.cc class IOThread : public base::Thread { base 553 webkit/browser/appcache/appcache_update_job_unittest.cc : base::Thread(name) { base 604 webkit/browser/appcache/appcache_update_job_unittest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 612 webkit/browser/appcache/appcache_update_job_unittest.cc event_.reset(new base::WaitableEvent(false, false)); base 614 webkit/browser/appcache/appcache_update_job_unittest.cc FROM_HERE, base::Bind(method, base::Unretained(this))); base 621 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 655 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 722 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 749 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 787 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 817 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 855 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 892 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 918 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 944 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 981 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1023 webkit/browser/appcache/appcache_update_job_unittest.cc base::Bind(&AppCacheUpdateJobTest::StartUpdateAfterSeedingStorageData, base 1024 webkit/browser/appcache/appcache_update_job_unittest.cc base::Unretained(this))); base 1031 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1077 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1106 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1133 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1187 webkit/browser/appcache/appcache_update_job_unittest.cc base::Bind(&AppCacheUpdateJobTest::StartUpdateAfterSeedingStorageData, base 1188 webkit/browser/appcache/appcache_update_job_unittest.cc base::Unretained(this))); base 1194 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1243 webkit/browser/appcache/appcache_update_job_unittest.cc response_info->request_time = base::Time::Now(); base 1244 webkit/browser/appcache/appcache_update_job_unittest.cc response_info->response_time = base::Time::Now(); base 1250 webkit/browser/appcache/appcache_update_job_unittest.cc base::Bind(&AppCacheUpdateJobTest::StartUpdateAfterSeedingStorageData, base 1251 webkit/browser/appcache/appcache_update_job_unittest.cc base::Unretained(this))); base 1257 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1303 webkit/browser/appcache/appcache_update_job_unittest.cc response_info->request_time = base::Time::Now(); base 1304 webkit/browser/appcache/appcache_update_job_unittest.cc response_info->response_time = base::Time::Now(); base 1310 webkit/browser/appcache/appcache_update_job_unittest.cc base::Bind(&AppCacheUpdateJobTest::StartUpdateAfterSeedingStorageData, base 1311 webkit/browser/appcache/appcache_update_job_unittest.cc base::Unretained(this))); base 1317 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1363 webkit/browser/appcache/appcache_update_job_unittest.cc response_info->request_time = base::Time::Now(); base 1364 webkit/browser/appcache/appcache_update_job_unittest.cc response_info->response_time = base::Time::Now(); base 1370 webkit/browser/appcache/appcache_update_job_unittest.cc base::Bind(&AppCacheUpdateJobTest::StartUpdateAfterSeedingStorageData, base 1371 webkit/browser/appcache/appcache_update_job_unittest.cc base::Unretained(this))); base 1377 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1428 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1454 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1495 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1591 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1635 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1670 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1704 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1738 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1773 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1807 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1840 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1869 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1915 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 1965 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2006 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2034 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2061 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2091 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2122 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2164 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2219 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2267 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2327 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2347 webkit/browser/appcache/appcache_update_job_unittest.cc cache->set_update_time(base::Time()); base 2381 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2468 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2549 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2634 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2684 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2753 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2810 webkit/browser/appcache/appcache_update_job_unittest.cc base::Bind(&AppCacheUpdateJobTest::StartUpdateAfterSeedingStorageData, base 2811 webkit/browser/appcache/appcache_update_job_unittest.cc base::Unretained(this))); base 2817 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2873 webkit/browser/appcache/appcache_update_job_unittest.cc base::Bind(&AppCacheUpdateJobTest::StartUpdateAfterSeedingStorageData, base 2874 webkit/browser/appcache/appcache_update_job_unittest.cc base::Unretained(this))); base 2880 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2916 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2955 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 2983 webkit/browser/appcache/appcache_update_job_unittest.cc ASSERT_TRUE(base::MessageLoopForIO::IsCurrent()); base 3026 webkit/browser/appcache/appcache_update_job_unittest.cc base::MessageLoop::current()->PostTask( base 3028 webkit/browser/appcache/appcache_update_job_unittest.cc base::Bind(&AppCacheUpdateJobTest::UpdateFinishedUnwound, base 3029 webkit/browser/appcache/appcache_update_job_unittest.cc base::Unretained(this))); base 3063 webkit/browser/appcache/appcache_update_job_unittest.cc cache->set_update_time(base::Time::Now()); base 3258 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_TRUE(cache->update_time_ > base::Time()); base 3291 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_TRUE(cache->update_time_ > base::Time()); base 3309 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_TRUE(cache->update_time_ > base::Time()); base 3329 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_TRUE(cache->update_time_ > base::Time()); base 3355 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_TRUE(cache->update_time_ > base::Time()); base 3370 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_TRUE(cache->update_time_ > base::Time()); base 3390 webkit/browser/appcache/appcache_update_job_unittest.cc scoped_ptr<base::WaitableEvent> event_; base 82 webkit/browser/appcache/appcache_url_request_job.cc base::MessageLoop::current()->PostTask( base 84 webkit/browser/appcache/appcache_url_request_job.cc base::Bind(&AppCacheURLRequestJob::BeginDelivery, base 98 webkit/browser/appcache/appcache_url_request_job.cc base::TimeTicks::Now() - start_time_tick_); base 108 webkit/browser/appcache/appcache_url_request_job.cc base::TimeTicks::Now() - start_time_tick_); base 121 webkit/browser/appcache/appcache_url_request_job.cc base::TimeTicks::Now() - start_time_tick_); base 195 webkit/browser/appcache/appcache_url_request_job.cc base::Bind(&AppCacheURLRequestJob::OnExecutableSourceLoaded, base 196 webkit/browser/appcache/appcache_url_request_job.cc base::Unretained(this))); base 224 webkit/browser/appcache/appcache_url_request_job.cc base::Bind(&AppCacheURLRequestJob::OnExecutableResponseCallback, base 359 webkit/browser/appcache/appcache_url_request_job.cc start_time_tick_ = base::TimeTicks::Now(); base 427 webkit/browser/appcache/appcache_url_request_job.cc buf, buf_size, base::Bind(&AppCacheURLRequestJob::OnReadComplete, base 428 webkit/browser/appcache/appcache_url_request_job.cc base::Unretained(this))); base 153 webkit/browser/appcache/appcache_url_request_job.h base::TimeTicks start_time_tick_; base 172 webkit/browser/appcache/appcache_url_request_job.h base::WeakPtrFactory<AppCacheURLRequestJob> weak_factory_; base 157 webkit/browser/appcache/appcache_url_request_job_unittest.cc io_thread_.reset(new base::Thread("AppCacheURLRequestJobTest Thread")); base 158 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); base 170 webkit/browser/appcache/appcache_url_request_job_unittest.cc test_finished_event_ .reset(new base::WaitableEvent(false, false)); base 172 webkit/browser/appcache/appcache_url_request_job_unittest.cc FROM_HERE, base::Bind(&AppCacheURLRequestJobTest::MethodWrapper<Method>, base 173 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this), method)); base 178 webkit/browser/appcache/appcache_url_request_job_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 193 webkit/browser/appcache/appcache_url_request_job_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 217 webkit/browser/appcache/appcache_url_request_job_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 218 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::MessageLoop::current()->PostTask( base 220 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Bind(&AppCacheURLRequestJobTest::TestFinishedUnwound, base 221 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this))); base 229 webkit/browser/appcache/appcache_url_request_job_unittest.cc void PushNextTask(const base::Closure& task) { base 230 webkit/browser/appcache/appcache_url_request_job_unittest.cc task_stack_.push(std::pair<base::Closure, bool>(task, false)); base 233 webkit/browser/appcache/appcache_url_request_job_unittest.cc void PushNextTaskAsImmediate(const base::Closure& task) { base 234 webkit/browser/appcache/appcache_url_request_job_unittest.cc task_stack_.push(std::pair<base::Closure, bool>(task, true)); base 238 webkit/browser/appcache/appcache_url_request_job_unittest.cc DCHECK(base::MessageLoop::current() == io_thread_->message_loop()); base 243 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Closure task =task_stack_.top().first; base 249 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, task); base 265 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind(&AppCacheURLRequestJobTest::WriteResponseBody, base 266 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this), body_ref, body_len)); base 276 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Bind(&AppCacheURLRequestJobTest::OnWriteInfoComplete, base 277 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this))); base 286 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Bind(&AppCacheURLRequestJobTest::OnWriteComplete, base 287 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this))); base 296 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Bind(&AppCacheURLRequestJobTest::OnReadComplete, base 297 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this))); base 330 webkit/browser/appcache/appcache_url_request_job_unittest.cc info->request_time = base::Time::Now(); base 331 webkit/browser/appcache/appcache_url_request_job_unittest.cc info->response_time = base::Time::Now(); base 445 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Bind(&AppCacheURLRequestJobTest::VerifyDeliverNetworkResponse, base 446 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this))); base 481 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Bind(&AppCacheURLRequestJobTest::VerifyDeliverErrorResponse, base 482 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this))); base 521 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind( base 523 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this))); base 525 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Bind(&AppCacheURLRequestJobTest::RequestAppCachedResource, base 526 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this), false)); base 593 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind( base 595 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this))); base 596 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind( base 598 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this), true)); base 638 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind( base 640 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this))); base 641 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind( base 642 webkit/browser/appcache/appcache_url_request_job_unittest.cc &AppCacheURLRequestJobTest::MakeRangeRequest, base::Unretained(this))); base 706 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind( base 707 webkit/browser/appcache/appcache_url_request_job_unittest.cc &AppCacheURLRequestJobTest::VerifyCancel, base::Unretained(this))); base 708 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind( base 710 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this), true)); base 735 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind( base 736 webkit/browser/appcache/appcache_url_request_job_unittest.cc &AppCacheURLRequestJobTest::VerifyCancel, base::Unretained(this))); base 737 webkit/browser/appcache/appcache_url_request_job_unittest.cc PushNextTask(base::Bind( base 739 webkit/browser/appcache/appcache_url_request_job_unittest.cc base::Unretained(this), true)); base 753 webkit/browser/appcache/appcache_url_request_job_unittest.cc scoped_ptr<base::WaitableEvent> test_finished_event_; base 756 webkit/browser/appcache/appcache_url_request_job_unittest.cc std::stack<std::pair<base::Closure, bool> > task_stack_; base 776 webkit/browser/appcache/appcache_url_request_job_unittest.cc static scoped_ptr<base::Thread> io_thread_; base 781 webkit/browser/appcache/appcache_url_request_job_unittest.cc scoped_ptr<base::Thread> AppCacheURLRequestJobTest::io_thread_; base 58 webkit/browser/appcache/appcache_working_set.h typedef base::hash_map<int64, AppCache*> CacheMap; base 60 webkit/browser/appcache/appcache_working_set.h typedef base::hash_map<int64, AppCacheResponseInfo*> ResponseInfoMap; base 101 webkit/browser/appcache/manifest_parser.cc base::CodepageToWide(std::string(data, length), base::kCodepageUTF8, base 102 webkit/browser/appcache/manifest_parser.cc base::OnStringConversionError::SUBSTITUTE, &data_string); base 189 webkit/browser/appcache/manifest_parser.cc base::string16 url16; base 190 webkit/browser/appcache/manifest_parser.cc base::WideToUTF16(line.c_str(), line_p - line.c_str(), &url16); base 234 webkit/browser/appcache/manifest_parser.cc base::string16 namespace_url16; base 235 webkit/browser/appcache/manifest_parser.cc base::WideToUTF16(line.c_str(), line_p - line.c_str(), &namespace_url16); base 281 webkit/browser/appcache/manifest_parser.cc base::string16 target_url16; base 282 webkit/browser/appcache/manifest_parser.cc base::WideToUTF16(target_url_start, line_p - target_url_start, base 313 webkit/browser/appcache/manifest_parser.cc base::string16 namespace_url16; base 314 webkit/browser/appcache/manifest_parser.cc base::WideToUTF16(line.c_str(), line_p - line.c_str(), &namespace_url16); base 339 webkit/browser/appcache/manifest_parser.cc base::string16 fallback_url16; base 340 webkit/browser/appcache/manifest_parser.cc base::WideToUTF16(fallback_start, line_p - fallback_start, base 50 webkit/browser/appcache/manifest_parser.h base::hash_set<std::string> explicit_urls; base 99 webkit/browser/appcache/manifest_parser_unittest.cc base::hash_set<std::string> urls = manifest.explicit_urls; base 320 webkit/browser/appcache/manifest_parser_unittest.cc base::hash_set<std::string> urls = manifest.explicit_urls; base 365 webkit/browser/appcache/manifest_parser_unittest.cc base::hash_set<std::string> urls = manifest.explicit_urls; base 378 webkit/browser/appcache/manifest_parser_unittest.cc base::hash_set<std::string> urls = manifest.explicit_urls; base 396 webkit/browser/appcache/manifest_parser_unittest.cc base::hash_set<std::string> urls = manifest.explicit_urls; base 20 webkit/browser/appcache/mock_appcache_service.cc base::MessageLoop::current()->PostTask( base 22 webkit/browser/appcache/mock_appcache_service.cc base::Bind(&DeferredCallCallback, base 50 webkit/browser/appcache/mock_appcache_storage.cc base::Bind(&MockAppCacheStorage::ProcessGetAllInfo, base 60 webkit/browser/appcache/mock_appcache_storage.cc base::Bind(&MockAppCacheStorage::ProcessLoadCache, base 74 webkit/browser/appcache/mock_appcache_storage.cc base::Bind(&MockAppCacheStorage::ProcessLoadOrCreateGroup, base 89 webkit/browser/appcache/mock_appcache_storage.cc base::Bind(&MockAppCacheStorage::ProcessStoreGroupAndNewestCache, base 103 webkit/browser/appcache/mock_appcache_storage.cc base::Bind(&MockAppCacheStorage::ProcessFindResponseForMainRequest, base 149 webkit/browser/appcache/mock_appcache_storage.cc base::Bind(&MockAppCacheStorage::ProcessMakeGroupObsolete, base 451 webkit/browser/appcache/mock_appcache_storage.cc void MockAppCacheStorage::ScheduleTask(const base::Closure& task) { base 453 webkit/browser/appcache/mock_appcache_storage.cc base::MessageLoop::current()->PostTask( base 455 webkit/browser/appcache/mock_appcache_storage.cc base::Bind(&MockAppCacheStorage::RunOnePendingTask, base 461 webkit/browser/appcache/mock_appcache_storage.cc base::Closure task = pending_tasks_.front(); base 69 webkit/browser/appcache/mock_appcache_storage.h typedef base::hash_map<int64, scoped_refptr<AppCache> > StoredCacheMap; base 87 webkit/browser/appcache/mock_appcache_storage.h void ScheduleTask(const base::Closure& task); base 179 webkit/browser/appcache/mock_appcache_storage.h std::deque<base::Closure> pending_tasks_; base 196 webkit/browser/appcache/mock_appcache_storage.h base::WeakPtrFactory<MockAppCacheStorage> weak_factory_; base 81 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::MessageLoop message_loop_; base 91 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 125 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 144 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 196 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 207 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 236 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 279 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 322 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 363 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 408 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 445 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 502 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 559 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 606 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 620 webkit/browser/appcache/mock_appcache_storage_unittest.cc base::RunLoop().RunUntilIdle(); // Do async task execution. base 17 webkit/browser/blob/blob_data_handle.cc base::SequencedTaskRunner* task_runner) base 39 webkit/browser/blob/blob_data_handle.cc base::Bind(&DeleteHelper, context_, base::Unretained(blob_data_))); base 49 webkit/browser/blob/blob_data_handle.cc base::WeakPtr<BlobStorageContext> context, base 15 webkit/browser/blob/blob_data_handle.h namespace base { base 29 webkit/browser/blob/blob_data_handle.h : public base::SupportsUserData::Data { base 37 webkit/browser/blob/blob_data_handle.h base::SequencedTaskRunner* task_runner); base 40 webkit/browser/blob/blob_data_handle.h base::WeakPtr<BlobStorageContext> context, base 44 webkit/browser/blob/blob_data_handle.h base::WeakPtr<BlobStorageContext> context_; base 45 webkit/browser/blob/blob_data_handle.h scoped_refptr<base::SequencedTaskRunner> io_task_runner_; base 70 webkit/browser/blob/blob_storage_context.cc found->second.data.get(), this, base::MessageLoopProxy::current().get())); base 290 webkit/browser/blob/blob_storage_context.cc const base::FilePath& file_path, uint64 offset, uint64 length, base 291 webkit/browser/blob/blob_storage_context.cc const base::Time& expected_modification_time) { base 305 webkit/browser/blob/blob_storage_context.cc const base::Time& expected_modification_time) { base 20 webkit/browser/blob/blob_storage_context.h namespace base { base 34 webkit/browser/blob/blob_storage_context.h : public base::SupportsWeakPtr<BlobStorageContext> { base 89 webkit/browser/blob/blob_storage_context.h const base::FilePath& file_path, base 91 webkit/browser/blob/blob_storage_context.h const base::Time& expected_modification_time); base 95 webkit/browser/blob/blob_storage_context.h const base::Time& expected_modification_time); base 31 webkit/browser/blob/blob_storage_context_unittest.cc base::MessageLoop fake_io_message_loop; base 61 webkit/browser/blob/blob_storage_context_unittest.cc base::MessageLoop fake_io_message_loop; base 92 webkit/browser/blob/blob_storage_context_unittest.cc base::MessageLoop fake_io_message_loop; base 95 webkit/browser/blob/blob_storage_context_unittest.cc base::Time time1, time2; base 96 webkit/browser/blob/blob_storage_context_unittest.cc base::Time::FromString("Tue, 15 Nov 1994, 12:45:26 GMT", &time1); base 97 webkit/browser/blob/blob_storage_context_unittest.cc base::Time::FromString("Mon, 14 Nov 1994, 11:30:49 GMT", &time2); base 102 webkit/browser/blob/blob_storage_context_unittest.cc blob_data1->AppendFile(base::FilePath(FILE_PATH_LITERAL("File1.txt")), base 108 webkit/browser/blob/blob_storage_context_unittest.cc blob_data2->AppendFile(base::FilePath(FILE_PATH_LITERAL("File2.txt")), base 115 webkit/browser/blob/blob_storage_context_unittest.cc base::FilePath(FILE_PATH_LITERAL("File1.txt")), base 118 webkit/browser/blob/blob_storage_context_unittest.cc base::FilePath(FILE_PATH_LITERAL("File2.txt")), 0, 20, time2); base 137 webkit/browser/blob/blob_storage_context_unittest.cc base::MessageLoop fake_io_message_loop; base 169 webkit/browser/blob/blob_storage_context_unittest.cc base::MessageLoop fake_io_message_loop; base 188 webkit/browser/blob/blob_storage_context_unittest.cc base::MessageLoop fake_io_message_loop; base 64 webkit/browser/blob/blob_storage_host.h base::WeakPtr<BlobStorageContext> context_; base 54 webkit/browser/blob/blob_url_request_job.cc base::MessageLoopProxy* file_thread_proxy) base 72 webkit/browser/blob/blob_url_request_job.cc base::MessageLoop::current()->PostTask( base 74 webkit/browser/blob/blob_url_request_job.cc base::Bind(&BlobURLRequestJob::DidStart, weak_factory_.GetWeakPtr())); base 198 webkit/browser/blob/blob_url_request_job.cc base::Bind(&BlobURLRequestJob::DidGetFileItemLength, base 382 webkit/browser/blob/blob_url_request_job.cc base::Bind(&BlobURLRequestJob::DidReadFile, base::Unretained(this))); base 503 webkit/browser/blob/blob_url_request_job.cc status.append(base::IntToString(status_code)); base 512 webkit/browser/blob/blob_url_request_job.cc content_length_header.append(base::Int64ToString(remaining_bytes_)); base 519 webkit/browser/blob/blob_url_request_job.cc content_range_header.append(base::StringPrintf( base 523 webkit/browser/blob/blob_url_request_job.cc content_range_header.append(base::StringPrintf("%" PRId64, total_size_)); base 18 webkit/browser/blob/blob_url_request_job.h namespace base { base 43 webkit/browser/blob/blob_url_request_job.h base::MessageLoopProxy* resolving_message_loop_proxy); base 102 webkit/browser/blob/blob_url_request_job.h scoped_refptr<base::MessageLoopProxy> file_thread_proxy_; base 122 webkit/browser/blob/blob_url_request_job.h base::WeakPtrFactory<BlobURLRequestJob> weak_factory_; base 53 webkit/browser/blob/blob_url_request_job_factory.cc base::MessageLoopProxy* loop_proxy) base 15 webkit/browser/blob/blob_url_request_job_factory.h namespace base { base 50 webkit/browser/blob/blob_url_request_job_factory.h base::MessageLoopProxy* file_loop_proxy); base 61 webkit/browser/blob/blob_url_request_job_factory.h base::WeakPtr<BlobStorageContext> context_; base 63 webkit/browser/blob/blob_url_request_job_factory.h const scoped_refptr<base::MessageLoopProxy> file_loop_proxy_; base 13 webkit/browser/blob/file_stream_reader.cc const base::Time& expected_modification_time, base 14 webkit/browser/blob/file_stream_reader.cc const base::File::Info& file_info) { base 14 webkit/browser/blob/file_stream_reader.h namespace base { base 44 webkit/browser/blob/file_stream_reader.h CreateForLocalFile(base::TaskRunner* task_runner, base 45 webkit/browser/blob/file_stream_reader.h const base::FilePath& file_path, base 47 webkit/browser/blob/file_stream_reader.h const base::Time& expected_modification_time); base 58 webkit/browser/blob/file_stream_reader.h const base::Time& expected_modification_time); base 62 webkit/browser/blob/file_stream_reader.h const base::Time& expected_modification_time, base 63 webkit/browser/blob/file_stream_reader.h const base::File::Info& file_info); base 21 webkit/browser/blob/local_file_stream_reader.cc const int kOpenFlagsForRead = base::PLATFORM_FILE_OPEN | base 22 webkit/browser/blob/local_file_stream_reader.cc base::PLATFORM_FILE_READ | base 23 webkit/browser/blob/local_file_stream_reader.cc base::PLATFORM_FILE_ASYNC; base 28 webkit/browser/blob/local_file_stream_reader.cc base::TaskRunner* task_runner, base 29 webkit/browser/blob/local_file_stream_reader.cc const base::FilePath& file_path, base 31 webkit/browser/blob/local_file_stream_reader.cc const base::Time& expected_modification_time) { base 44 webkit/browser/blob/local_file_stream_reader.cc return Open(base::Bind(&LocalFileStreamReader::DidOpenForRead, base 51 webkit/browser/blob/local_file_stream_reader.cc const bool posted = base::FileUtilProxy::GetFileInfo( base 54 webkit/browser/blob/local_file_stream_reader.cc base::Bind(&LocalFileStreamReader::DidGetFileInfoForGetLength, base 62 webkit/browser/blob/local_file_stream_reader.cc base::TaskRunner* task_runner, base 63 webkit/browser/blob/local_file_stream_reader.cc const base::FilePath& file_path, base 65 webkit/browser/blob/local_file_stream_reader.cc const base::Time& expected_modification_time) base 80 webkit/browser/blob/local_file_stream_reader.cc return GetLength(base::Bind(&LocalFileStreamReader::DidVerifyForOpen, base 95 webkit/browser/blob/local_file_stream_reader.cc base::Bind(&LocalFileStreamReader::DidOpenFileStream, base 111 webkit/browser/blob/local_file_stream_reader.cc base::Bind(&LocalFileStreamReader::DidSeekFileStream, base 153 webkit/browser/blob/local_file_stream_reader.cc base::File::Error error, base 154 webkit/browser/blob/local_file_stream_reader.cc const base::File::Info& file_info) { base 159 webkit/browser/blob/local_file_stream_reader.cc if (error != base::File::FILE_OK) { base 17 webkit/browser/blob/local_file_stream_reader.h namespace base { base 44 webkit/browser/blob/local_file_stream_reader.h LocalFileStreamReader(base::TaskRunner* task_runner, base 45 webkit/browser/blob/local_file_stream_reader.h const base::FilePath& file_path, base 47 webkit/browser/blob/local_file_stream_reader.h const base::Time& expected_modification_time); base 63 webkit/browser/blob/local_file_stream_reader.h base::File::Error error, base 64 webkit/browser/blob/local_file_stream_reader.h const base::File::Info& file_info); base 66 webkit/browser/blob/local_file_stream_reader.h scoped_refptr<base::TaskRunner> task_runner_; base 68 webkit/browser/blob/local_file_stream_reader.h const base::FilePath file_path_; base 70 webkit/browser/blob/local_file_stream_reader.h const base::Time expected_modification_time_; base 72 webkit/browser/blob/local_file_stream_reader.h base::WeakPtrFactory<LocalFileStreamReader> weak_factory_; base 55 webkit/browser/blob/local_file_stream_reader_unittest.cc base::MessageLoop::current()->Quit(); base 69 webkit/browser/blob/local_file_stream_reader_unittest.cc base::WriteFile(test_path(), kTestData, kTestDataSize); base 70 webkit/browser/blob/local_file_stream_reader_unittest.cc base::File::Info info; base 71 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_TRUE(base::GetFileInfo(test_path(), &info)); base 77 webkit/browser/blob/local_file_stream_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 79 webkit/browser/blob/local_file_stream_reader_unittest.cc base::RunLoop().RunUntilIdle(); base 84 webkit/browser/blob/local_file_stream_reader_unittest.cc const base::FilePath& path, base 86 webkit/browser/blob/local_file_stream_reader_unittest.cc const base::Time& expected_modification_time) { base 95 webkit/browser/blob/local_file_stream_reader_unittest.cc base::Time new_modified_time = base 96 webkit/browser/blob/local_file_stream_reader_unittest.cc test_file_modification_time() - base::TimeDelta::FromSeconds(1); base 97 webkit/browser/blob/local_file_stream_reader_unittest.cc ASSERT_TRUE(base::TouchFile(test_path(), base 102 webkit/browser/blob/local_file_stream_reader_unittest.cc base::MessageLoopProxy* file_task_runner() const { base 106 webkit/browser/blob/local_file_stream_reader_unittest.cc base::FilePath test_dir() const { return dir_.path(); } base 107 webkit/browser/blob/local_file_stream_reader_unittest.cc base::FilePath test_path() const { return dir_.path().AppendASCII("test"); } base 108 webkit/browser/blob/local_file_stream_reader_unittest.cc base::Time test_file_modification_time() const { base 114 webkit/browser/blob/local_file_stream_reader_unittest.cc FROM_HERE, base::Bind(&EmptyCallback), base::Bind(&QuitLoop)); base 115 webkit/browser/blob/local_file_stream_reader_unittest.cc base::MessageLoop::current()->Run(); base 119 webkit/browser/blob/local_file_stream_reader_unittest.cc base::MessageLoopForIO message_loop_; base 120 webkit/browser/blob/local_file_stream_reader_unittest.cc base::Thread file_thread_; base 121 webkit/browser/blob/local_file_stream_reader_unittest.cc base::ScopedTempDir dir_; base 122 webkit/browser/blob/local_file_stream_reader_unittest.cc base::Time test_file_modification_time_; base 126 webkit/browser/blob/local_file_stream_reader_unittest.cc base::FilePath nonexistent_path = test_dir().AppendASCII("nonexistent"); base 128 webkit/browser/blob/local_file_stream_reader_unittest.cc CreateFileReader(nonexistent_path, 0, base::Time())); base 137 webkit/browser/blob/local_file_stream_reader_unittest.cc base::FilePath empty_path = test_dir().AppendASCII("empty"); base 138 webkit/browser/blob/local_file_stream_reader_unittest.cc base::File file(empty_path, base::File::FLAG_CREATE | base::File::FLAG_READ); base 143 webkit/browser/blob/local_file_stream_reader_unittest.cc CreateFileReader(empty_path, 0, base::Time())); base 181 webkit/browser/blob/local_file_stream_reader_unittest.cc reader.reset(CreateFileReader(test_path(), 0, base::Time())); base 190 webkit/browser/blob/local_file_stream_reader_unittest.cc CreateFileReader(test_path(), 3, base::Time())); base 224 webkit/browser/blob/local_file_stream_reader_unittest.cc reader.reset(CreateFileReader(test_path(), 0, base::Time())); base 232 webkit/browser/blob/local_file_stream_reader_unittest.cc CreateFileReader(test_path(), 3, base::Time())); base 242 webkit/browser/blob/local_file_stream_reader_unittest.cc CreateFileReader(test_path(), 0, base::Time())); base 247 webkit/browser/blob/local_file_stream_reader_unittest.cc int rv = reader->Read(buf.get(), buf->size(), base::Bind(&NeverCalled)); base 105 webkit/browser/blob/view_blob_internals_job.cc base::MessageLoop::current()->PostTask( base 107 webkit/browser/blob/view_blob_internals_job.cc base::Bind(&ViewBlobInternalsJob::StartAsync, base 176 webkit/browser/blob/view_blob_internals_job.cc AddHTMLListItem(kRefcount, base::IntToString(refcount), out); base 185 webkit/browser/blob/view_blob_internals_job.cc base::UTF16ToUTF8(base::FormatNumber(blob_data.items().size())), out); base 190 webkit/browser/blob/view_blob_internals_job.cc AddHTMLListItem(kIndex, base::UTF16ToUTF8(base::FormatNumber(i)), out); base 205 webkit/browser/blob/view_blob_internals_job.cc AddHTMLListItem(kModificationTime, base::UTF16ToUTF8( base 217 webkit/browser/blob/view_blob_internals_job.cc AddHTMLListItem(kModificationTime, base::UTF16ToUTF8( base 227 webkit/browser/blob/view_blob_internals_job.cc AddHTMLListItem(kOffset, base::UTF16ToUTF8(base::FormatNumber( base 231 webkit/browser/blob/view_blob_internals_job.cc AddHTMLListItem(kLength, base::UTF16ToUTF8(base::FormatNumber( base 50 webkit/browser/blob/view_blob_internals_job.h base::WeakPtrFactory<ViewBlobInternalsJob> weak_factory_; base 74 webkit/browser/database/database_quota_client.cc base::SingleThreadTaskRunner* original_task_runner, base 92 webkit/browser/database/database_quota_client.cc original_task_runner->PostTask(FROM_HERE, base::Bind(callback, status)); base 98 webkit/browser/database/database_quota_client.cc base::MessageLoopProxy* db_tracker_thread, base 135 webkit/browser/database/database_quota_client.cc base::PostTaskAndReplyWithResult( base 138 webkit/browser/database/database_quota_client.cc base::Bind(&GetOriginUsageOnDBThread, db_tracker_, origin_url), base 157 webkit/browser/database/database_quota_client.cc base::Bind(&GetOriginsOnDBThread, base 159 webkit/browser/database/database_quota_client.cc base::Unretained(origins_ptr)), base 160 webkit/browser/database/database_quota_client.cc base::Bind(&DidGetOrigins, base 162 webkit/browser/database/database_quota_client.cc base::Owned(origins_ptr))); base 181 webkit/browser/database/database_quota_client.cc base::Bind(&GetOriginsForHostOnDBThread, base 183 webkit/browser/database/database_quota_client.cc base::Unretained(origins_ptr), base 185 webkit/browser/database/database_quota_client.cc base::Bind(&DidGetOrigins, base 187 webkit/browser/database/database_quota_client.cc base::Owned(origins_ptr))); base 203 webkit/browser/database/database_quota_client.cc base::Callback<void(int)> delete_callback = base 204 webkit/browser/database/database_quota_client.cc base::Bind(&DidDeleteOriginData, base 205 webkit/browser/database/database_quota_client.cc base::MessageLoopProxy::current(), base 211 webkit/browser/database/database_quota_client.cc base::Bind(&DatabaseTracker::DeleteDataForOrigin, base 28 webkit/browser/database/database_quota_client.h base::MessageLoopProxy* tracker_thread, base 48 webkit/browser/database/database_quota_client.h scoped_refptr<base::MessageLoopProxy> db_tracker_thread_; base 31 webkit/browser/database/database_quota_client_unittest.cc : DatabaseTracker(base::FilePath(), false, NULL, NULL, NULL), base 74 webkit/browser/database/database_quota_client_unittest.cc base::MessageLoopProxy::current()->PostTask( base 76 webkit/browser/database/database_quota_client_unittest.cc base::Bind(&MockDatabaseTracker::AsyncDeleteDataForOrigin, this, base 90 webkit/browser/database/database_quota_client_unittest.cc info.AddMockDatabase(base::ASCIIToUTF16(name), size); base 107 webkit/browser/database/database_quota_client_unittest.cc void AddMockDatabase(const base::string16& name, int size) { base 143 webkit/browser/database/database_quota_client_unittest.cc base::Bind(&DatabaseQuotaClientTest::OnGetOriginUsageComplete, base 145 webkit/browser/database/database_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 155 webkit/browser/database/database_quota_client_unittest.cc base::Bind(&DatabaseQuotaClientTest::OnGetOriginsComplete, base 157 webkit/browser/database/database_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 168 webkit/browser/database/database_quota_client_unittest.cc base::Bind(&DatabaseQuotaClientTest::OnGetOriginsComplete, base 170 webkit/browser/database/database_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 181 webkit/browser/database/database_quota_client_unittest.cc base::Bind(&DatabaseQuotaClientTest::OnDeleteOriginDataComplete, base 183 webkit/browser/database/database_quota_client_unittest.cc base::RunLoop().RunUntilIdle(); base 203 webkit/browser/database/database_quota_client_unittest.cc base::MessageLoop message_loop_; base 208 webkit/browser/database/database_quota_client_unittest.cc base::WeakPtrFactory<DatabaseQuotaClientTest> weak_factory_; base 213 webkit/browser/database/database_quota_client_unittest.cc DatabaseQuotaClient client(base::MessageLoopProxy::current().get(), base 228 webkit/browser/database/database_quota_client_unittest.cc DatabaseQuotaClient client(base::MessageLoopProxy::current().get(), base 253 webkit/browser/database/database_quota_client_unittest.cc DatabaseQuotaClient client(base::MessageLoopProxy::current().get(), base 268 webkit/browser/database/database_quota_client_unittest.cc DatabaseQuotaClient client(base::MessageLoopProxy::current().get(), base 32 webkit/browser/database/database_tracker.cc const base::FilePath::CharType kDatabaseDirectoryName[] = base 34 webkit/browser/database/database_tracker.cc const base::FilePath::CharType kIncognitoDatabaseDirectoryName[] = base 36 webkit/browser/database/database_tracker.cc const base::FilePath::CharType kTrackerDatabaseFileName[] = base 41 webkit/browser/database/database_tracker.cc const base::FilePath::CharType kTemporaryDirectoryPrefix[] = base 43 webkit/browser/database/database_tracker.cc const base::FilePath::CharType kTemporaryDirectoryPattern[] = base 57 webkit/browser/database/database_tracker.cc std::vector<base::string16>* databases) const { base 64 webkit/browser/database/database_tracker.cc int64 OriginInfo::GetDatabaseSize(const base::string16& database_name) const { base 71 webkit/browser/database/database_tracker.cc base::string16 OriginInfo::GetDatabaseDescription( base 72 webkit/browser/database/database_tracker.cc const base::string16& database_name) const { base 76 webkit/browser/database/database_tracker.cc return base::string16(); base 83 webkit/browser/database/database_tracker.cc const base::FilePath& profile_path, base 87 webkit/browser/database/database_tracker.cc base::MessageLoopProxy* db_tracker_thread) base 113 webkit/browser/database/database_tracker.cc const base::string16& database_name, base 114 webkit/browser/database/database_tracker.cc const base::string16& database_description, base 142 webkit/browser/database/database_tracker.cc const base::string16& database_name) { base 149 webkit/browser/database/database_tracker.cc const base::string16& database_name) { base 170 webkit/browser/database/database_tracker.cc const base::string16& database_name, base 198 webkit/browser/database/database_tracker.cc std::vector<std::pair<std::string, base::string16> > open_dbs; base 200 webkit/browser/database/database_tracker.cc for (std::vector<std::pair<std::string, base::string16> >::iterator it = base 204 webkit/browser/database/database_tracker.cc std::vector<std::pair<std::string, base::string16> > closed_dbs; base 206 webkit/browser/database/database_tracker.cc for (std::vector<std::pair<std::string, base::string16> >::iterator it = base 214 webkit/browser/database/database_tracker.cc const base::string16& database_name) { base 228 webkit/browser/database/database_tracker.cc std::set<base::string16>& databases = found_origin->second; base 269 webkit/browser/database/database_tracker.cc base::string16 DatabaseTracker::GetOriginDirectory( base 272 webkit/browser/database/database_tracker.cc return base::UTF8ToUTF16(origin_identifier); base 279 webkit/browser/database/database_tracker.cc base::string16 origin_directory = base 280 webkit/browser/database/database_tracker.cc base::IntToString16(incognito_origin_directories_generator_++); base 285 webkit/browser/database/database_tracker.cc base::FilePath DatabaseTracker::GetFullDBFilePath( base 287 webkit/browser/database/database_tracker.cc const base::string16& database_name) { base 290 webkit/browser/database/database_tracker.cc return base::FilePath(); base 294 webkit/browser/database/database_tracker.cc return base::FilePath(); base 296 webkit/browser/database/database_tracker.cc return db_dir_.Append(base::FilePath::FromUTF16Unsafe( base 298 webkit/browser/database/database_tracker.cc base::Int64ToString(id)); base 345 webkit/browser/database/database_tracker.cc const base::string16& database_name) { base 358 webkit/browser/database/database_tracker.cc base::FilePath db_file = GetFullDBFilePath(origin_identifier, database_name); base 399 webkit/browser/database/database_tracker.cc base::FilePath origin_dir = db_dir_.AppendASCII(origin_identifier); base 404 webkit/browser/database/database_tracker.cc base::FilePath new_origin_dir; base 405 webkit/browser/database/database_tracker.cc base::CreateTemporaryDirInDir(db_dir_, base 408 webkit/browser/database/database_tracker.cc base::FileEnumerator databases( base 411 webkit/browser/database/database_tracker.cc base::FileEnumerator::FILES); base 412 webkit/browser/database/database_tracker.cc for (base::FilePath database = databases.Next(); !database.empty(); base 414 webkit/browser/database/database_tracker.cc base::FilePath new_file = new_origin_dir.Append(database.BaseName()); base 415 webkit/browser/database/database_tracker.cc base::Move(database, new_file); base 417 webkit/browser/database/database_tracker.cc base::DeleteFile(origin_dir, true); base 418 webkit/browser/database/database_tracker.cc base::DeleteFile(new_origin_dir, true); // might fail on windows. base 435 webkit/browser/database/database_tracker.cc const base::string16& database_name) { base 440 webkit/browser/database/database_tracker.cc std::set<base::string16>& databases = it->second; base 452 webkit/browser/database/database_tracker.cc if (base::DirectoryExists(db_dir_)) { base 453 webkit/browser/database/database_tracker.cc base::FileEnumerator directories( base 456 webkit/browser/database/database_tracker.cc base::FileEnumerator::DIRECTORIES, base 458 webkit/browser/database/database_tracker.cc for (base::FilePath directory = directories.Next(); !directory.empty(); base 460 webkit/browser/database/database_tracker.cc base::DeleteFile(directory, true); base 466 webkit/browser/database/database_tracker.cc const base::FilePath kTrackerDatabaseFullPath = base 467 webkit/browser/database/database_tracker.cc db_dir_.Append(base::FilePath(kTrackerDatabaseFileName)); base 468 webkit/browser/database/database_tracker.cc if (base::DirectoryExists(db_dir_) && base 469 webkit/browser/database/database_tracker.cc base::PathExists(kTrackerDatabaseFullPath) && base 473 webkit/browser/database/database_tracker.cc if (!base::DeleteFile(db_dir_, true)) base 483 webkit/browser/database/database_tracker.cc base::CreateDirectory(db_dir_) && base 513 webkit/browser/database/database_tracker.cc const base::string16& database_name, base 514 webkit/browser/database/database_tracker.cc const base::string16& database_description, base 573 webkit/browser/database/database_tracker.cc const base::string16& database_name) { base 574 webkit/browser/database/database_tracker.cc base::FilePath db_file_name = GetFullDBFilePath(origin_identifier, base 577 webkit/browser/database/database_tracker.cc if (!base::GetFileSize(db_file_name, &db_file_size)) base 583 webkit/browser/database/database_tracker.cc const std::string& origin_id, const base::string16& name, base 584 webkit/browser/database/database_tracker.cc const base::string16& description) { base 597 webkit/browser/database/database_tracker.cc const std::string& origin_id, const base::string16& name, base 598 webkit/browser/database/database_tracker.cc const base::string16* opt_description) { base 623 webkit/browser/database/database_tracker.cc const base::string16& database_name) { base 640 webkit/browser/database/database_tracker.cc for (std::set<base::string16>::const_iterator db = ori->second.begin(); base 647 webkit/browser/database/database_tracker.cc const base::string16& database_name, base 667 webkit/browser/database/database_tracker.cc const base::Time& cutoff, base 693 webkit/browser/database/database_tracker.cc base::FilePath db_file = GetFullDBFilePath(*ori, db->database_name); base 694 webkit/browser/database/database_tracker.cc base::File::Info file_info; base 695 webkit/browser/database/database_tracker.cc base::GetFileInfo(db_file, &file_info); base 745 webkit/browser/database/database_tracker.cc const base::string16& vfs_file_name, base 746 webkit/browser/database/database_tracker.cc base::PlatformFile* file_handle) const { base 753 webkit/browser/database/database_tracker.cc *file_handle = base::kInvalidPlatformFileValue; base 757 webkit/browser/database/database_tracker.cc const base::string16& vfs_file_name, base 758 webkit/browser/database/database_tracker.cc const base::PlatformFile& file_handle) { base 762 webkit/browser/database/database_tracker.cc if (file_handle != base::kInvalidPlatformFileValue) base 767 webkit/browser/database/database_tracker.cc const base::string16& vfs_file_name) { base 775 webkit/browser/database/database_tracker.cc handle_closed = base::ClosePlatformFile(it->second); base 783 webkit/browser/database/database_tracker.cc const base::string16& vfs_file_name) const { base 793 webkit/browser/database/database_tracker.cc base::ClosePlatformFile(it->second); base 795 webkit/browser/database/database_tracker.cc base::FilePath incognito_db_dir = base 797 webkit/browser/database/database_tracker.cc if (base::DirectoryExists(incognito_db_dir)) base 798 webkit/browser/database/database_tracker.cc base::DeleteFile(incognito_db_dir, true); base 825 webkit/browser/database/database_tracker.cc std::vector<base::string16> databases; base 829 webkit/browser/database/database_tracker.cc for (std::vector<base::string16>::iterator database = databases.begin(); base 831 webkit/browser/database/database_tracker.cc base::File file(GetFullDBFilePath(*origin, *database), base 832 webkit/browser/database/database_tracker.cc base::File::FLAG_OPEN_ALWAYS | base 833 webkit/browser/database/database_tracker.cc base::File::FLAG_SHARE_DELETE | base 834 webkit/browser/database/database_tracker.cc base::File::FLAG_DELETE_ON_CLOSE | base 835 webkit/browser/database/database_tracker.cc base::File::FLAG_READ); base 862 webkit/browser/database/database_tracker.cc base::Bind(&DatabaseTracker::SetForceKeepSessionState, this)); base 25 webkit/browser/database/database_tracker.h namespace base { base 41 webkit/browser/database/database_tracker.h WEBKIT_STORAGE_BROWSER_EXPORT extern const base::FilePath::CharType base 43 webkit/browser/database/database_tracker.h WEBKIT_STORAGE_BROWSER_EXPORT extern const base::FilePath::CharType base 57 webkit/browser/database/database_tracker.h void GetAllDatabaseNames(std::vector<base::string16>* databases) const; base 58 webkit/browser/database/database_tracker.h int64 GetDatabaseSize(const base::string16& database_name) const; base 59 webkit/browser/database/database_tracker.h base::string16 GetDatabaseDescription( base 60 webkit/browser/database/database_tracker.h const base::string16& database_name) const; base 63 webkit/browser/database/database_tracker.h typedef std::map<base::string16, std::pair<int64, base::string16> > base 84 webkit/browser/database/database_tracker.h : public base::RefCountedThreadSafe<DatabaseTracker> { base 89 webkit/browser/database/database_tracker.h const base::string16& database_name, base 93 webkit/browser/database/database_tracker.h const base::string16& database_name) = 0; base 99 webkit/browser/database/database_tracker.h DatabaseTracker(const base::FilePath& profile_path, base 103 webkit/browser/database/database_tracker.h base::MessageLoopProxy* db_tracker_thread); base 106 webkit/browser/database/database_tracker.h const base::string16& database_name, base 107 webkit/browser/database/database_tracker.h const base::string16& database_details, base 111 webkit/browser/database/database_tracker.h const base::string16& database_name); base 113 webkit/browser/database/database_tracker.h const base::string16& database_name); base 115 webkit/browser/database/database_tracker.h const base::string16& database_name, base 125 webkit/browser/database/database_tracker.h const base::FilePath& DatabaseDirectory() const { return db_dir_; } base 126 webkit/browser/database/database_tracker.h base::FilePath GetFullDBFilePath(const std::string& origin_identifier, base 127 webkit/browser/database/database_tracker.h const base::string16& database_name); base 140 webkit/browser/database/database_tracker.h const base::string16& database_name); base 146 webkit/browser/database/database_tracker.h const base::string16& database_name, base 155 webkit/browser/database/database_tracker.h int DeleteDataModifiedSince(const base::Time& cutoff, base 167 webkit/browser/database/database_tracker.h void GetIncognitoFileHandle(const base::string16& vfs_file_path, base 168 webkit/browser/database/database_tracker.h base::PlatformFile* file_handle) const; base 169 webkit/browser/database/database_tracker.h void SaveIncognitoFileHandle(const base::string16& vfs_file_path, base 170 webkit/browser/database/database_tracker.h const base::PlatformFile& file_handle); base 171 webkit/browser/database/database_tracker.h bool CloseIncognitoFileHandle(const base::string16& vfs_file_path); base 172 webkit/browser/database/database_tracker.h bool HasSavedIncognitoFileHandle(const base::string16& vfs_file_path) const; base 181 webkit/browser/database/database_tracker.h friend class base::RefCountedThreadSafe<DatabaseTracker>; base 184 webkit/browser/database/database_tracker.h typedef std::map<std::string, std::set<base::string16> > DatabaseSet; base 187 webkit/browser/database/database_tracker.h typedef std::map<base::string16, base::PlatformFile> FileHandlesMap; base 188 webkit/browser/database/database_tracker.h typedef std::map<std::string, base::string16> OriginDirectoriesMap; base 196 webkit/browser/database/database_tracker.h void SetDatabaseSize(const base::string16& database_name, int64 new_size) { base 204 webkit/browser/database/database_tracker.h void SetDatabaseDescription(const base::string16& database_name, base 205 webkit/browser/database/database_tracker.h const base::string16& description) { base 220 webkit/browser/database/database_tracker.h const base::string16& database_name); base 227 webkit/browser/database/database_tracker.h const base::string16& database_name); base 232 webkit/browser/database/database_tracker.h const base::string16& database_name, base 233 webkit/browser/database/database_tracker.h const base::string16& database_details, base 246 webkit/browser/database/database_tracker.h const base::string16& database_name); base 248 webkit/browser/database/database_tracker.h const base::string16& database_name, base 249 webkit/browser/database/database_tracker.h const base::string16& description); base 251 webkit/browser/database/database_tracker.h const base::string16& database_name, base 252 webkit/browser/database/database_tracker.h const base::string16* opt_description); base 254 webkit/browser/database/database_tracker.h const base::string16& database_name) { base 261 webkit/browser/database/database_tracker.h const base::string16& database_name); base 268 webkit/browser/database/database_tracker.h base::string16 GetOriginDirectory(const std::string& origin_identifier); base 274 webkit/browser/database/database_tracker.h const base::FilePath profile_path_; base 275 webkit/browser/database/database_tracker.h const base::FilePath db_dir_; base 293 webkit/browser/database/database_tracker.h scoped_refptr<base::MessageLoopProxy> db_tracker_thread_; base 23 webkit/browser/database/database_tracker_unittest.cc using base::ASCIIToUTF16; base 45 webkit/browser/database/database_tracker_unittest.cc const base::string16& database_name, base 56 webkit/browser/database/database_tracker_unittest.cc const base::string16& database_name) OVERRIDE { base 71 webkit/browser/database/database_tracker_unittest.cc base::string16 GetNotificationDatabaseName() { return database_name_; } base 79 webkit/browser/database/database_tracker_unittest.cc base::string16 database_name_; base 85 webkit/browser/database/database_tracker_unittest.cc const base::string16& expected_database_name, base 134 webkit/browser/database/database_tracker_unittest.cc base::SequencedTaskRunner* original_task_runner, base 175 webkit/browser/database/database_tracker_unittest.cc bool EnsureFileOfSize(const base::FilePath& file_path, int64 length) { base 176 webkit/browser/database/database_tracker_unittest.cc base::File file(file_path, base 177 webkit/browser/database/database_tracker_unittest.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); base 196 webkit/browser/database/database_tracker_unittest.cc base::ScopedTempDir temp_dir; base 214 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB1 = ASCIIToUTF16("db1"); base 215 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB2 = ASCIIToUTF16("db2"); base 216 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB3 = ASCIIToUTF16("db3"); base 217 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDescription = ASCIIToUTF16("database_description"); base 226 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory( base 227 webkit/browser/database/database_tracker_unittest.cc tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe( base 229 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory( base 230 webkit/browser/database/database_tracker_unittest.cc tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe( base 232 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(1, base::WriteFile( base 234 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(2, base::WriteFile( base 236 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(3, base::WriteFile( base 255 webkit/browser/database/database_tracker_unittest.cc EXPECT_FALSE(base::PathExists( base 261 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory( base 262 webkit/browser/database/database_tracker_unittest.cc tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe( base 264 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(1, base::WriteFile( base 270 webkit/browser/database/database_tracker_unittest.cc base::Time now = base::Time::Now(); base 271 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::TouchFile(tracker->GetFullDBFilePath(kOrigin1, kDB1), base 273 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::TouchFile(tracker->GetFullDBFilePath(kOrigin2, kDB2), base 275 webkit/browser/database/database_tracker_unittest.cc base::Time three_days_ago = now - base::TimeDelta::FromDays(3); base 276 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::TouchFile(tracker->GetFullDBFilePath(kOrigin2, kDB3), base 280 webkit/browser/database/database_tracker_unittest.cc base::Time yesterday = base::Time::Now(); base 281 webkit/browser/database/database_tracker_unittest.cc yesterday -= base::TimeDelta::FromDays(1); base 291 webkit/browser/database/database_tracker_unittest.cc EXPECT_FALSE(base::PathExists( base 294 webkit/browser/database/database_tracker_unittest.cc base::PathExists(tracker->GetFullDBFilePath(kOrigin2, kDB2))); base 296 webkit/browser/database/database_tracker_unittest.cc base::PathExists(tracker->GetFullDBFilePath(kOrigin2, kDB3))); base 304 webkit/browser/database/database_tracker_unittest.cc base::ScopedTempDir temp_dir; base 328 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB1 = ASCIIToUTF16("db1"); base 329 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB2 = ASCIIToUTF16("db2"); base 330 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB3 = ASCIIToUTF16("db3"); base 331 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDescription = ASCIIToUTF16("database_description"); base 354 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory( base 355 webkit/browser/database/database_tracker_unittest.cc tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe( base 357 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory( base 358 webkit/browser/database/database_tracker_unittest.cc tracker->DatabaseDirectory().Append(base::FilePath::FromUTF16Unsafe( base 360 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(1, base::WriteFile( base 362 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(2, base::WriteFile( base 364 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(4, base::WriteFile( base 454 webkit/browser/database/database_tracker_unittest.cc const base::string16 kName = ASCIIToUTF16("name"); base 455 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDescription = ASCIIToUTF16("description"); base 457 webkit/browser/database/database_tracker_unittest.cc base::ScopedTempDir temp_dir; base 480 webkit/browser/database/database_tracker_unittest.cc base::FilePath db_file(tracker->GetFullDBFilePath(kOriginId, kName)); base 481 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory(db_file.DirName())); base 509 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory(db_file.DirName())); base 535 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory(db_file.DirName())); base 554 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB1 = ASCIIToUTF16("db1"); base 555 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB2 = ASCIIToUTF16("db2"); base 556 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDescription = ASCIIToUTF16("database_description"); base 559 webkit/browser/database/database_tracker_unittest.cc base::MessageLoop message_loop; base 560 webkit/browser/database/database_tracker_unittest.cc base::ScopedTempDir temp_dir; base 562 webkit/browser/database/database_tracker_unittest.cc base::FilePath origin1_db_dir; base 563 webkit/browser/database/database_tracker_unittest.cc base::FilePath origin2_db_dir; base 573 webkit/browser/database/database_tracker_unittest.cc base::MessageLoopProxy::current().get())); base 584 webkit/browser/database/database_tracker_unittest.cc base::FilePath db_file; base 586 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory(db_file.DirName())); base 590 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory(db_file.DirName())); base 619 webkit/browser/database/database_tracker_unittest.cc base::PathExists(tracker->GetFullDBFilePath(kOrigin1, kDB1))); base 620 webkit/browser/database/database_tracker_unittest.cc EXPECT_EQ(base::FilePath(), tracker->GetFullDBFilePath(kOrigin2, kDB2)); base 624 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::PathExists(origin1_db_dir)); base 625 webkit/browser/database/database_tracker_unittest.cc EXPECT_FALSE(base::PathExists(origin2_db_dir)); base 634 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB1 = ASCIIToUTF16("db1"); base 635 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDB2 = ASCIIToUTF16("db2"); base 636 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDescription = ASCIIToUTF16("database_description"); base 639 webkit/browser/database/database_tracker_unittest.cc base::MessageLoop message_loop; base 640 webkit/browser/database/database_tracker_unittest.cc base::ScopedTempDir temp_dir; base 642 webkit/browser/database/database_tracker_unittest.cc base::FilePath origin1_db_dir; base 643 webkit/browser/database/database_tracker_unittest.cc base::FilePath origin2_db_dir; base 653 webkit/browser/database/database_tracker_unittest.cc base::MessageLoopProxy::current().get())); base 665 webkit/browser/database/database_tracker_unittest.cc base::FilePath db_file; base 667 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory(db_file.DirName())); base 671 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory(db_file.DirName())); base 698 webkit/browser/database/database_tracker_unittest.cc base::PathExists(tracker->GetFullDBFilePath(kOrigin1, kDB1))); base 700 webkit/browser/database/database_tracker_unittest.cc base::PathExists(tracker->GetFullDBFilePath(kOrigin2, kDB2))); base 702 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::PathExists(origin1_db_dir)); base 703 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::PathExists(origin2_db_dir)); base 710 webkit/browser/database/database_tracker_unittest.cc const base::string16 kEmptyName; base 711 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDescription(ASCIIToUTF16("description")); base 712 webkit/browser/database/database_tracker_unittest.cc const base::string16 kChangedDescription( base 717 webkit/browser/database/database_tracker_unittest.cc base::ScopedTempDir temp_dir; base 759 webkit/browser/database/database_tracker_unittest.cc const base::string16 kName(ASCIIToUTF16("name")); base 760 webkit/browser/database/database_tracker_unittest.cc const base::string16 kDescription(ASCIIToUTF16("description")); base 764 webkit/browser/database/database_tracker_unittest.cc base::ScopedTempDir temp_dir; base 785 webkit/browser/database/database_tracker_unittest.cc base::FilePath spoof_db_file = tracker->GetFullDBFilePath(kOriginId, kName); base 787 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory(spoof_db_file.DirName())); base 800 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::PathExists(spoof_db_file)); base 805 webkit/browser/database/database_tracker_unittest.cc EXPECT_FALSE(base::PathExists(spoof_db_file)); base 813 webkit/browser/database/database_tracker_unittest.cc base::FilePath spoof_db_file2 = tracker->GetFullDBFilePath(kOriginId, kName); base 816 webkit/browser/database/database_tracker_unittest.cc EXPECT_TRUE(base::CreateDirectory(spoof_db_file2.DirName())); base 825 webkit/browser/database/database_tracker_unittest.cc EXPECT_FALSE(base::PathExists(spoof_db_file2)); base 16 webkit/browser/database/database_util.cc bool DatabaseUtil::CrackVfsFileName(const base::string16& vfs_file_name, base 18 webkit/browser/database/database_util.cc base::string16* database_name, base 19 webkit/browser/database/database_util.cc base::string16* sqlite_suffix) { base 27 webkit/browser/database/database_util.cc if ((first_slash_index == base::string16::npos) || base 28 webkit/browser/database/database_util.cc (last_pound_index == base::string16::npos) || base 35 webkit/browser/database/database_util.cc *origin_identifier = base::UTF16ToASCII( base 49 webkit/browser/database/database_util.cc base::FilePath DatabaseUtil::GetFullFilePathForVfsFile( base 50 webkit/browser/database/database_util.cc DatabaseTracker* db_tracker, const base::string16& vfs_file_name) { base 52 webkit/browser/database/database_util.cc base::string16 database_name; base 53 webkit/browser/database/database_util.cc base::string16 sqlite_suffix; base 56 webkit/browser/database/database_util.cc return base::FilePath(); // invalid vfs_file_name base 59 webkit/browser/database/database_util.cc base::FilePath full_path = db_tracker->GetFullDBFilePath( base 64 webkit/browser/database/database_util.cc base::UTF16ToASCII(sqlite_suffix)); base 68 webkit/browser/database/database_util.cc base::FilePath::StringType::npos) base 69 webkit/browser/database/database_util.cc return base::FilePath(); base 13 webkit/browser/database/database_util.h namespace base { base 27 webkit/browser/database/database_util.h static bool CrackVfsFileName(const base::string16& vfs_file_name, base 29 webkit/browser/database/database_util.h base::string16* database_name, base 30 webkit/browser/database/database_util.h base::string16* sqlite_suffix); base 31 webkit/browser/database/database_util.h static base::FilePath GetFullFilePathForVfsFile( base 33 webkit/browser/database/database_util.h const base::string16& vfs_file_name); base 11 webkit/browser/database/database_util_unittest.cc using base::ASCIIToUTF16; base 20 webkit/browser/database/database_util_unittest.cc base::string16 database_name; base 21 webkit/browser/database/database_util_unittest.cc base::string16 sqlite_suffix; base 41 webkit/browser/database/databases_table.cc const base::string16& database_name) { base 55 webkit/browser/database/databases_table.cc const base::string16& database_name, base 101 webkit/browser/database/databases_table.cc const base::string16& database_name) { base 24 webkit/browser/database/databases_table.h base::string16 database_name; base 25 webkit/browser/database/databases_table.h base::string16 description; base 35 webkit/browser/database/databases_table.h const base::string16& database_name); base 37 webkit/browser/database/databases_table.h const base::string16& database_name, base 42 webkit/browser/database/databases_table.h const base::string16& database_name); base 15 webkit/browser/database/databases_table_unittest.cc using base::ASCIIToUTF16; base 58 webkit/browser/database/vfs_backend.cc base::File VfsBackend::OpenFile(const base::FilePath& file_path, base 65 webkit/browser/database/vfs_backend.cc !base::CreateDirectory(file_path.DirName())) { base 66 webkit/browser/database/vfs_backend.cc return base::File(); base 70 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_READ; base 72 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_WRITE; base 75 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_EXCLUSIVE_READ | base::File::FLAG_EXCLUSIVE_WRITE; base 78 webkit/browser/database/vfs_backend.cc base::File::FLAG_OPEN_ALWAYS : base::File::FLAG_OPEN); base 81 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_EXCLUSIVE_READ | base::File::FLAG_EXCLUSIVE_WRITE; base 84 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_TEMPORARY | base::File::FLAG_HIDDEN | base 85 webkit/browser/database/vfs_backend.cc base::File::FLAG_DELETE_ON_CLOSE; base 90 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_SHARE_DELETE; base 93 webkit/browser/database/vfs_backend.cc return base::File(file_path, flags); base 97 webkit/browser/database/vfs_backend.cc base::File VfsBackend::OpenTempFileInDirectory(const base::FilePath& dir_path, base 103 webkit/browser/database/vfs_backend.cc return base::File(); base 107 webkit/browser/database/vfs_backend.cc base::FilePath temp_file_path; base 108 webkit/browser/database/vfs_backend.cc if (!base::CreateTemporaryFileInDir(dir_path, &temp_file_path)) base 109 webkit/browser/database/vfs_backend.cc return base::File(); base 115 webkit/browser/database/vfs_backend.cc int VfsBackend::DeleteFile(const base::FilePath& file_path, bool sync_dir) { base 116 webkit/browser/database/vfs_backend.cc if (!base::PathExists(file_path)) base 118 webkit/browser/database/vfs_backend.cc if (!base::DeleteFile(file_path, false)) base 124 webkit/browser/database/vfs_backend.cc base::File dir(file_path.DirName(), base::File::FLAG_READ); base 137 webkit/browser/database/vfs_backend.cc uint32 VfsBackend::GetFileAttributes(const base::FilePath& file_path) { base 153 webkit/browser/database/vfs_backend.cc int64 VfsBackend::GetFileSize(const base::FilePath& file_path) { base 155 webkit/browser/database/vfs_backend.cc return (base::GetFileSize(file_path, &size) ? size : 0); base 13 webkit/browser/database/vfs_backend.h namespace base { base 21 webkit/browser/database/vfs_backend.h static base::File OpenFile(const base::FilePath& file_path, base 24 webkit/browser/database/vfs_backend.h static base::File OpenTempFileInDirectory(const base::FilePath& dir_path, base 27 webkit/browser/database/vfs_backend.h static int DeleteFile(const base::FilePath& file_path, bool sync_dir); base 29 webkit/browser/database/vfs_backend.h static uint32 GetFileAttributes(const base::FilePath& file_path); base 31 webkit/browser/database/vfs_backend.h static int64 GetFileSize(const base::FilePath& file_path); base 20 webkit/browser/fileapi/async_file_util.h namespace base { base 51 webkit/browser/fileapi/async_file_util.h typedef base::Callback<void(base::File::Error result)> StatusCallback; base 56 webkit/browser/fileapi/async_file_util.h typedef base::Callback< base 57 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, base 58 webkit/browser/fileapi/async_file_util.h base::PassPlatformFile file, base 59 webkit/browser/fileapi/async_file_util.h const base::Closure& on_close_callback)> CreateOrOpenCallback; base 61 webkit/browser/fileapi/async_file_util.h typedef base::Callback< base 62 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, base 65 webkit/browser/fileapi/async_file_util.h typedef base::Callback< base 66 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, base 67 webkit/browser/fileapi/async_file_util.h const base::File::Info& file_info)> GetFileInfoCallback; base 70 webkit/browser/fileapi/async_file_util.h typedef base::Callback< base 71 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, base 75 webkit/browser/fileapi/async_file_util.h typedef base::Callback< base 76 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, base 77 webkit/browser/fileapi/async_file_util.h const base::File::Info& file_info, base 78 webkit/browser/fileapi/async_file_util.h const base::FilePath& platform_path, base 83 webkit/browser/fileapi/async_file_util.h typedef base::Callback<void(int64 size)> CopyFileProgressCallback; base 193 webkit/browser/fileapi/async_file_util.h const base::Time& last_access_time, base 194 webkit/browser/fileapi/async_file_util.h const base::Time& last_modified_time, base 278 webkit/browser/fileapi/async_file_util.h const base::FilePath& src_file_path, base 20 webkit/browser/fileapi/async_file_util_adapter.cc using base::Bind; base 21 webkit/browser/fileapi/async_file_util_adapter.cc using base::Callback; base 22 webkit/browser/fileapi/async_file_util_adapter.cc using base::Owned; base 23 webkit/browser/fileapi/async_file_util_adapter.cc using base::Unretained; base 32 webkit/browser/fileapi/async_file_util_adapter.cc EnsureFileExistsHelper() : error_(base::File::FILE_OK), created_(false) {} base 45 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Error error_; base 53 webkit/browser/fileapi/async_file_util_adapter.cc : error_(base::File::FILE_OK) {} base 79 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Error error_; base 80 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Info file_info_; base 81 webkit/browser/fileapi/async_file_util_adapter.cc base::FilePath platform_path_; base 89 webkit/browser/fileapi/async_file_util_adapter.cc base::SingleThreadTaskRunner* origin_loop, base 91 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Info file_info; base 92 webkit/browser/fileapi/async_file_util_adapter.cc base::FilePath platform_path; base 93 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Error error = file_util->GetFileInfo( base 96 webkit/browser/fileapi/async_file_util_adapter.cc if (error == base::File::FILE_OK && !file_info.is_directory) base 97 webkit/browser/fileapi/async_file_util_adapter.cc error = base::File::FILE_ERROR_NOT_A_DIRECTORY; base 100 webkit/browser/fileapi/async_file_util_adapter.cc if (error != base::File::FILE_OK) { base 102 webkit/browser/fileapi/async_file_util_adapter.cc FROM_HERE, base::Bind(callback, error, entries, false /* has_more */)); base 114 webkit/browser/fileapi/async_file_util_adapter.cc base::FilePath current; base 125 webkit/browser/fileapi/async_file_util_adapter.cc FROM_HERE, base::Bind(callback, base::File::FILE_OK, entries, base 131 webkit/browser/fileapi/async_file_util_adapter.cc FROM_HERE, base::Bind(callback, base::File::FILE_OK, entries, base 137 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Error result, base 138 webkit/browser/fileapi/async_file_util_adapter.cc base::PassPlatformFile file, base 140 webkit/browser/fileapi/async_file_util_adapter.cc callback.Run(result, file, base::Closure()); base 160 webkit/browser/fileapi/async_file_util_adapter.cc const bool success = base::FileUtilProxy::RelayCreateOrOpen( base 165 webkit/browser/fileapi/async_file_util_adapter.cc base::Owned(context_ptr)), base 179 webkit/browser/fileapi/async_file_util_adapter.cc sync_file_util_.get(), base::Owned(context_ptr), url), base 191 webkit/browser/fileapi/async_file_util_adapter.cc const bool success = base::PostTaskAndReplyWithResult( base 195 webkit/browser/fileapi/async_file_util_adapter.cc base::Owned(context_ptr), url, exclusive, recursive), base 209 webkit/browser/fileapi/async_file_util_adapter.cc sync_file_util_.get(), base::Owned(context_ptr), url), base 222 webkit/browser/fileapi/async_file_util_adapter.cc sync_file_util_.get(), base::Owned(context_ptr), url, base 223 webkit/browser/fileapi/async_file_util_adapter.cc base::ThreadTaskRunnerHandle::Get(), callback)); base 230 webkit/browser/fileapi/async_file_util_adapter.cc const base::Time& last_access_time, base 231 webkit/browser/fileapi/async_file_util_adapter.cc const base::Time& last_modified_time, base 234 webkit/browser/fileapi/async_file_util_adapter.cc const bool success = base::PostTaskAndReplyWithResult( base 237 webkit/browser/fileapi/async_file_util_adapter.cc base::Owned(context_ptr), url, base 249 webkit/browser/fileapi/async_file_util_adapter.cc const bool success = base::PostTaskAndReplyWithResult( base 252 webkit/browser/fileapi/async_file_util_adapter.cc base::Owned(context_ptr), url, length), base 266 webkit/browser/fileapi/async_file_util_adapter.cc const bool success = base::PostTaskAndReplyWithResult( base 269 webkit/browser/fileapi/async_file_util_adapter.cc Unretained(sync_file_util_.get()), base::Owned(context_ptr), base 282 webkit/browser/fileapi/async_file_util_adapter.cc const bool success = base::PostTaskAndReplyWithResult( base 285 webkit/browser/fileapi/async_file_util_adapter.cc Unretained(sync_file_util_.get()), base::Owned(context_ptr), base 293 webkit/browser/fileapi/async_file_util_adapter.cc const base::FilePath& src_file_path, base 297 webkit/browser/fileapi/async_file_util_adapter.cc const bool success = base::PostTaskAndReplyWithResult( base 301 webkit/browser/fileapi/async_file_util_adapter.cc base::Owned(context_ptr), src_file_path, dest_url), base 311 webkit/browser/fileapi/async_file_util_adapter.cc const bool success = base::PostTaskAndReplyWithResult( base 315 webkit/browser/fileapi/async_file_util_adapter.cc base::Owned(context_ptr), url), base 325 webkit/browser/fileapi/async_file_util_adapter.cc const bool success = base::PostTaskAndReplyWithResult( base 329 webkit/browser/fileapi/async_file_util_adapter.cc base::Owned(context_ptr), url), base 338 webkit/browser/fileapi/async_file_util_adapter.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 350 webkit/browser/fileapi/async_file_util_adapter.cc sync_file_util_.get(), base::Owned(context_ptr), url), base 67 webkit/browser/fileapi/async_file_util_adapter.h const base::Time& last_access_time, base 68 webkit/browser/fileapi/async_file_util_adapter.h const base::Time& last_modified_time, base 90 webkit/browser/fileapi/async_file_util_adapter.h const base::FilePath& src_file_path, base 12 webkit/browser/fileapi/copy_or_move_file_validator.h namespace base { base 24 webkit/browser/fileapi/copy_or_move_file_validator.h typedef base::Callback<void(base::File::Error result)> ResultCallback; base 36 webkit/browser/fileapi/copy_or_move_file_validator.h const base::FilePath& dest_platform_path, base 49 webkit/browser/fileapi/copy_or_move_file_validator.h const base::FilePath& platform_path) = 0; base 120 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&SnapshotCopyOrMoveImpl::RunAfterCreateSnapshot, base 131 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error, base 132 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info, base 133 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::FilePath& platform_path, base 136 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; base 138 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 150 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::FILE_OK); base 157 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&SnapshotCopyOrMoveImpl::RunAfterPreWriteValidation, base 163 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::FilePath& platform_path, base 164 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info, base 167 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 169 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; base 171 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 180 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&SnapshotCopyOrMoveImpl::RunAfterCopyInForeignFile, base 185 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info, base 188 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 190 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; base 192 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 200 webkit/browser/fileapi/copy_or_move_operation_delegate.cc RunAfterTouchFile(callback, base::File::FILE_OK); base 205 webkit/browser/fileapi/copy_or_move_operation_delegate.cc dest_url_, base::Time::Now() /* last_access */, base 207 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&SnapshotCopyOrMoveImpl::RunAfterTouchFile, base 213 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 217 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); base 225 webkit/browser/fileapi/copy_or_move_operation_delegate.cc RunAfterPostWriteValidation(callback, base::File::FILE_OK); base 230 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&SnapshotCopyOrMoveImpl::RunAfterPostWriteValidation, base 236 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 238 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); base 242 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 246 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&SnapshotCopyOrMoveImpl::DidRemoveDestForError, base 252 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_OK); base 261 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&SnapshotCopyOrMoveImpl::RunAfterRemoveSourceForMove, base 267 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 269 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; base 271 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_FOUND) base 272 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_OK; base 277 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error prior_error, base 279 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 280 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 289 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::FilePath& platform_path, base 303 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind( base 310 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error, base 311 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info, base 312 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::FilePath& platform_path, base 315 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; base 317 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 327 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&SnapshotCopyOrMoveImpl::DidPostWriteValidation, base 336 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 350 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::WeakPtrFactory<SnapshotCopyOrMoveImpl> weak_factory_; base 396 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&StreamCopyOrMoveImpl::RunAfterGetMetadataForSource, base 409 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error, base 410 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info) { base 412 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; base 414 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 421 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_NOT_A_FILE); base 428 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&StreamCopyOrMoveImpl::RunAfterCreateFileForDestination, base 435 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::Time& last_modified, base 436 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 438 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; base 440 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 455 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::TimeDelta::FromMilliseconds( base 458 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&StreamCopyOrMoveImpl::RunAfterStreamCopy, base 464 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::Time& last_modified, base 465 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 467 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; base 469 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 475 webkit/browser/fileapi/copy_or_move_operation_delegate.cc RunAfterTouchFile(callback, base::File::FILE_OK); base 480 webkit/browser/fileapi/copy_or_move_operation_delegate.cc dest_url_, base::Time::Now() /* last_access */, last_modified, base 481 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&StreamCopyOrMoveImpl::RunAfterTouchFile, base 487 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 490 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); base 495 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_OK); base 504 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&StreamCopyOrMoveImpl::RunAfterRemoveForMove, base 510 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 512 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; base 513 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_FOUND) base 514 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_OK; base 528 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::WeakPtrFactory<StreamCopyOrMoveImpl> weak_factory_; base 541 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::TimeDelta& min_progress_callback_invocation_span) base 561 webkit/browser/fileapi/copy_or_move_operation_delegate.cc last_progress_callback_invocation_time_ = base::Time::Now(); base 573 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&StreamCopyHelper::DidRead, base 582 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); base 596 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_OK); base 610 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&StreamCopyHelper::DidWrite, base 621 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); base 634 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Time now = base::Time::Now(); base 657 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&StreamCopyHelper::DidFlush, base 666 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); base 710 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback_.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 718 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback_.Run(base::File::FILE_OK); base 742 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&CopyOrMoveOperationDelegate::OnCopyFileProgress, base 746 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 750 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 758 webkit/browser/fileapi/copy_or_move_operation_delegate.cc src_url, 0, base::Time()); base 765 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&CopyOrMoveOperationDelegate::OnCopyFileProgress, base 774 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&CopyOrMoveOperationDelegate::OnCopyFileProgress, base 781 webkit/browser/fileapi/copy_or_move_operation_delegate.cc impl->Run(base::Bind( base 797 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&CopyOrMoveOperationDelegate::DidTryRemoveDestRoot, base 815 webkit/browser/fileapi/copy_or_move_operation_delegate.cc src_url, callback, base::File::FILE_OK); base 821 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind( base 838 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 842 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (!progress_callback_.is_null() && error == base::File::FILE_OK) { base 852 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 853 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_A_DIRECTORY) { base 854 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback_.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 857 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK && base 858 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error != base::File::FILE_ERROR_NOT_FOUND) { base 876 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&CopyOrMoveOperationDelegate::DidCreateDirectory, base 884 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 885 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (!progress_callback_.is_null() && error == base::File::FILE_OK) { base 896 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error, base 897 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info) { base 898 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { base 901 webkit/browser/fileapi/copy_or_move_operation_delegate.cc src_url, callback, base::File::FILE_OK); base 906 webkit/browser/fileapi/copy_or_move_operation_delegate.cc CreateDestURL(src_url), base::Time::Now() /* last access */, base 908 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind( base 916 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 920 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_OK); base 930 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::Bind(&CopyOrMoveOperationDelegate::DidRemoveSourceForMove, base 936 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { base 937 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_FOUND) base 938 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_OK; base 955 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::FilePath relative = dest_root_.virtual_path(); base 55 webkit/browser/fileapi/copy_or_move_operation_delegate.h const base::TimeDelta& min_progress_callback_invocation_span); base 86 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::Time last_progress_callback_invocation_time_; base 87 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::TimeDelta min_progress_callback_invocation_span_; base 89 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::WeakPtrFactory<StreamCopyHelper> weak_factory_; base 122 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); base 124 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); base 131 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); base 135 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error, base 136 webkit/browser/fileapi/copy_or_move_operation_delegate.h const base::File::Info& file_info); base 139 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); base 141 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); base 155 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::WeakPtrFactory<CopyOrMoveOperationDelegate> weak_factory_; base 35 webkit/browser/fileapi/dragged_file_util.cc virtual base::FilePath Next() OVERRIDE { base 37 webkit/browser/fileapi/dragged_file_util.cc return base::FilePath(); base 38 webkit/browser/fileapi/dragged_file_util.cc base::FilePath platform_file = (file_iter_++)->path; base 44 webkit/browser/fileapi/dragged_file_util.cc virtual base::Time LastModifiedTime() OVERRIDE { base 51 webkit/browser/fileapi/dragged_file_util.cc base::File::Info file_info_; base 60 webkit/browser/fileapi/dragged_file_util.cc base::File::Error DraggedFileUtil::GetFileInfo( base 63 webkit/browser/fileapi/dragged_file_util.cc base::File::Info* file_info, base 64 webkit/browser/fileapi/dragged_file_util.cc base::FilePath* platform_path) { base 77 webkit/browser/fileapi/dragged_file_util.cc return base::File::FILE_OK; base 79 webkit/browser/fileapi/dragged_file_util.cc base::File::Error error = base 81 webkit/browser/fileapi/dragged_file_util.cc if (base::IsLink(url.path()) && !base::FilePath().IsParent(url.path())) { base 83 webkit/browser/fileapi/dragged_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 85 webkit/browser/fileapi/dragged_file_util.cc if (error == base::File::FILE_OK) base 26 webkit/browser/fileapi/dragged_file_util.h virtual base::File::Error GetFileInfo( base 29 webkit/browser/fileapi/dragged_file_util.h base::File::Info* file_info, base 30 webkit/browser/fileapi/dragged_file_util.h base::FilePath* platform_path) OVERRIDE; base 69 webkit/browser/fileapi/dump_file_system.cc base::FilePath origin_dir) { base 75 webkit/browser/fileapi/dump_file_system.cc if (!base::DirectoryExists(origin_dir)) base 93 webkit/browser/fileapi/dump_file_system.cc ShowMessageAndExit(base::StringPrintf("GetFileInfo failed for %"PRId64, base 98 webkit/browser/fileapi/dump_file_system.cc dirname + "/" + FilePathToString(base::FilePath(info.name)); base 102 webkit/browser/fileapi/dump_file_system.cc ShowMessageAndExit(base::StringPrintf( base 119 webkit/browser/fileapi/dump_file_system.cc base::GetFileSize(origin_dir.Append(info.data_path), &size); base 134 webkit/browser/fileapi/dump_file_system.cc static void DumpOrigin(const base::FilePath& file_system_dir, base 137 webkit/browser/fileapi/dump_file_system.cc base::FilePath origin_dir; base 150 webkit/browser/fileapi/dump_file_system.cc static void DumpFileSystem(const base::FilePath& file_system_dir) { base 190 webkit/browser/fileapi/dump_file_system.cc const base::FilePath file_system_dir = fileapi::StringToFilePath(argv[1]); base 191 webkit/browser/fileapi/dump_file_system.cc if (!base::DirectoryExists(file_system_dir)) { base 22 webkit/browser/fileapi/external_mount_points.cc base::FilePath NormalizeFilePath(const base::FilePath& path) { base 26 webkit/browser/fileapi/external_mount_points.cc base::FilePath::StringType path_str = path.StripTrailingSeparators().value(); base 27 webkit/browser/fileapi/external_mount_points.cc if (!base::FilePath::IsSeparator(path_str[path_str.length() - 1])) base 30 webkit/browser/fileapi/external_mount_points.cc return base::FilePath(path_str).NormalizePathSeparators(); base 51 webkit/browser/fileapi/external_mount_points.cc base::LazyInstance<SystemMountPointsLazyWrapper>::Leaky base 61 webkit/browser/fileapi/external_mount_points.cc const base::FilePath& path, base 69 webkit/browser/fileapi/external_mount_points.cc const base::FilePath& path() const { return path_; } base 74 webkit/browser/fileapi/external_mount_points.cc const base::FilePath path_; base 96 webkit/browser/fileapi/external_mount_points.cc const base::FilePath& path_in) { base 101 webkit/browser/fileapi/external_mount_points.cc base::AutoLock locker(lock_); base 103 webkit/browser/fileapi/external_mount_points.cc base::FilePath path = NormalizeFilePath(path_in); base 120 webkit/browser/fileapi/external_mount_points.cc base::AutoLock locker(lock_); base 132 webkit/browser/fileapi/external_mount_points.cc const std::string& filesystem_id, base::FilePath* path) const { base 134 webkit/browser/fileapi/external_mount_points.cc base::AutoLock locker(lock_); base 143 webkit/browser/fileapi/external_mount_points.cc const base::FilePath& virtual_path, base 146 webkit/browser/fileapi/external_mount_points.cc base::FilePath* path, base 156 webkit/browser/fileapi/external_mount_points.cc std::vector<base::FilePath::StringType> components; base 161 webkit/browser/fileapi/external_mount_points.cc std::vector<base::FilePath::StringType>::iterator component_iter = base 164 webkit/browser/fileapi/external_mount_points.cc base::FilePath(*component_iter++).MaybeAsASCII(); base 168 webkit/browser/fileapi/external_mount_points.cc base::FilePath cracked_path; base 170 webkit/browser/fileapi/external_mount_points.cc base::AutoLock locker(lock_); base 200 webkit/browser/fileapi/external_mount_points.cc const base::FilePath& path) const { base 206 webkit/browser/fileapi/external_mount_points.cc base::AutoLock locker(lock_); base 214 webkit/browser/fileapi/external_mount_points.cc bool ExternalMountPoints::GetVirtualPath(const base::FilePath& path_in, base 215 webkit/browser/fileapi/external_mount_points.cc base::FilePath* virtual_path) const { base 218 webkit/browser/fileapi/external_mount_points.cc base::AutoLock locker(lock_); base 220 webkit/browser/fileapi/external_mount_points.cc base::FilePath path = NormalizeFilePath(path_in); base 221 webkit/browser/fileapi/external_mount_points.cc std::map<base::FilePath, std::string>::const_reverse_iterator iter( base 232 webkit/browser/fileapi/external_mount_points.cc base::FilePath ExternalMountPoints::CreateVirtualRootPath( base 234 webkit/browser/fileapi/external_mount_points.cc return base::FilePath().AppendASCII(mount_name); base 240 webkit/browser/fileapi/external_mount_points.cc const base::FilePath& path) const { base 245 webkit/browser/fileapi/external_mount_points.cc base::FilePath( base 247 webkit/browser/fileapi/external_mount_points.cc base::FilePath::kSeparators[0] + path.value())); base 253 webkit/browser/fileapi/external_mount_points.cc base::AutoLock locker(lock_); base 274 webkit/browser/fileapi/external_mount_points.cc base::FilePath virtual_path = url.path(); base 291 webkit/browser/fileapi/external_mount_points.cc base::FilePath cracked_path; base 306 webkit/browser/fileapi/external_mount_points.cc const base::FilePath& path) { base 327 webkit/browser/fileapi/external_mount_points.cc std::map<base::FilePath, std::string>::reverse_iterator potential_parent( base 336 webkit/browser/fileapi/external_mount_points.cc std::map<base::FilePath, std::string>::iterator potential_child = base 19 webkit/browser/fileapi/external_mount_points.h namespace base { base 34 webkit/browser/fileapi/external_mount_points.h : public base::RefCountedThreadSafe<ExternalMountPoints>, base 64 webkit/browser/fileapi/external_mount_points.h const base::FilePath& path); base 70 webkit/browser/fileapi/external_mount_points.h base::FilePath* path) const OVERRIDE; base 72 webkit/browser/fileapi/external_mount_points.h const base::FilePath& virtual_path, base 75 webkit/browser/fileapi/external_mount_points.h base::FilePath* path, base 81 webkit/browser/fileapi/external_mount_points.h const base::FilePath& path) const OVERRIDE; base 95 webkit/browser/fileapi/external_mount_points.h bool GetVirtualPath(const base::FilePath& absolute_path, base 96 webkit/browser/fileapi/external_mount_points.h base::FilePath* virtual_path) const; base 99 webkit/browser/fileapi/external_mount_points.h base::FilePath CreateVirtualRootPath(const std::string& mount_name) const; base 104 webkit/browser/fileapi/external_mount_points.h const base::FilePath& path) const; base 110 webkit/browser/fileapi/external_mount_points.h friend class base::RefCountedThreadSafe<ExternalMountPoints>; base 118 webkit/browser/fileapi/external_mount_points.h typedef std::map<base::FilePath, std::string> PathToName; base 137 webkit/browser/fileapi/external_mount_points.h const base::FilePath& path); base 140 webkit/browser/fileapi/external_mount_points.h mutable base::Lock lock_; base 33 webkit/browser/fileapi/external_mount_points_unittest.cc const base::FilePath::CharType* const path; base 38 webkit/browser/fileapi/external_mount_points_unittest.cc const base::FilePath::CharType* const registered_path; base 115 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(kTestCases[i].path))) base 122 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath found_path; base 128 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath expected_path(kTestCases[i].registered_path); base 141 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/a/b/c"))); base 146 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/a/b/c(1)"))); base 150 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/z/y/x"))); base 154 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/m/n/o"))); base 159 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/root/foo"))); base 164 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath()); base 167 webkit/browser/fileapi/external_mount_points_unittest.cc const base::FilePath::CharType* const local_path; base 169 webkit/browser/fileapi/external_mount_points_unittest.cc const base::FilePath::CharType* const virtual_path; base 219 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath virtual_path(DRIVE FPL("/mount")); base 220 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath local_path(kTestCases[i].local_path); base 230 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath expected_virtual_path(kTestCases[i].virtual_path); base 241 webkit/browser/fileapi/external_mount_points_unittest.cc const base::FilePath test_path(FPL("/mount")); base 276 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/a/b/c"))); base 280 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/a/b/c(1)"))); base 284 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath()); base 288 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/root"))); base 296 webkit/browser/fileapi/external_mount_points_unittest.cc kTestOrigin, fileapi::kFileSystemTypeIsolated, base::FilePath(FPL("c"))); base 303 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(FPL("c"))); base 307 webkit/browser/fileapi/external_mount_points_unittest.cc const base::FilePath::CharType* const path; base 310 webkit/browser/fileapi/external_mount_points_unittest.cc const base::FilePath::CharType* const expect_path; base 359 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(kTestCases[i].path)); base 371 webkit/browser/fileapi/external_mount_points_unittest.cc EXPECT_EQ(base::FilePath( base 374 webkit/browser/fileapi/external_mount_points_unittest.cc EXPECT_EQ(base::FilePath(kTestCases[i].path).NormalizePathSeparators(), base 393 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/a/b/c"))); base 397 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/a/b/c(1)"))); base 401 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath()); base 405 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/root"))); base 408 webkit/browser/fileapi/external_mount_points_unittest.cc const base::FilePath::CharType* const path; base 411 webkit/browser/fileapi/external_mount_points_unittest.cc const base::FilePath::CharType* const expect_path; base 459 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath cracked_path; base 462 webkit/browser/fileapi/external_mount_points_unittest.cc mount_points->CrackVirtualPath(base::FilePath(kTestCases[i].path), base 471 webkit/browser/fileapi/external_mount_points_unittest.cc EXPECT_EQ(base::FilePath( base 487 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/nosync"))); base 492 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(DRIVE FPL("/sync"))); base 497 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath path; base 499 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(FPL("nosync/file")), &name, &type, &path, &option)); base 502 webkit/browser/fileapi/external_mount_points_unittest.cc base::FilePath(FPL("sync/file")), &name, &type, &path, &option)); base 12 webkit/browser/fileapi/file_stream_writer.h namespace base { base 31 webkit/browser/fileapi/file_stream_writer.h base::TaskRunner* task_runner, base 32 webkit/browser/fileapi/file_stream_writer.h const base::FilePath& file_path, base 45 webkit/browser/fileapi/file_system_backend.h typedef base::Callback<void(const GURL& root_url, base 47 webkit/browser/fileapi/file_system_backend.h base::File::Error error)> base 77 webkit/browser/fileapi/file_system_backend.h FileSystemType type, base::File::Error* error_code) = 0; base 88 webkit/browser/fileapi/file_system_backend.h base::File::Error* error_code) const = 0; base 106 webkit/browser/fileapi/file_system_backend.h const base::Time& expected_modification_time, base 134 webkit/browser/fileapi/file_system_backend.h virtual std::vector<base::FilePath> GetRootDirectories() const = 0; base 141 webkit/browser/fileapi/file_system_backend.h const base::FilePath& virtual_path) = 0; base 147 webkit/browser/fileapi/file_system_backend.h virtual bool GetVirtualPath(const base::FilePath& file_system_path, base 148 webkit/browser/fileapi/file_system_backend.h base::FilePath* virtual_path) = 0; base 48 webkit/browser/fileapi/file_system_context.cc const base::FilePath& path, base 51 webkit/browser/fileapi/file_system_context.cc base::File::Error error, base 52 webkit/browser/fileapi/file_system_context.cc const base::File::Info& file_info) { base 53 webkit/browser/fileapi/file_system_context.cc if (error != base::File::FILE_OK) { base 54 webkit/browser/fileapi/file_system_context.cc callback.Run(error, FileSystemInfo(), base::FilePath(), false); base 114 webkit/browser/fileapi/file_system_context.cc base::SingleThreadTaskRunner* io_task_runner, base 115 webkit/browser/fileapi/file_system_context.cc base::SequencedTaskRunner* file_task_runner, base 121 webkit/browser/fileapi/file_system_context.cc const base::FilePath& partition_path, base 193 webkit/browser/fileapi/file_system_context.cc != base::File::FILE_OK) { base 217 webkit/browser/fileapi/file_system_context.cc FROM_HERE, base::Bind(&FileSystemContext::Shutdown, base 242 webkit/browser/fileapi/file_system_context.cc FileSystemType type, base::File::Error* error_code) const { base 244 webkit/browser/fileapi/file_system_context.cc *error_code = base::File::FILE_OK; base 306 webkit/browser/fileapi/file_system_context.cc callback.Run(GURL(), std::string(), base::File::FILE_ERROR_SECURITY); base 312 webkit/browser/fileapi/file_system_context.cc callback.Run(GURL(), std::string(), base::File::FILE_ERROR_SECURITY); base 317 webkit/browser/fileapi/file_system_context.cc CreateCrackedFileSystemURL(origin_url, type, base::FilePath()), base 332 webkit/browser/fileapi/file_system_context.cc callback.Run(base::File::FILE_ERROR_SECURITY, base 333 webkit/browser/fileapi/file_system_context.cc FileSystemInfo(), base::FilePath(), false); base 340 webkit/browser/fileapi/file_system_context.cc base::Bind(&FileSystemContext::DidOpenFileSystemForResolveURL, base 359 webkit/browser/fileapi/file_system_context.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); base 372 webkit/browser/fileapi/file_system_context.cc callback.Run(base::File::FILE_ERROR_SECURITY); base 376 webkit/browser/fileapi/file_system_context.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 380 webkit/browser/fileapi/file_system_context.cc base::PostTaskAndReplyWithResult( base 384 webkit/browser/fileapi/file_system_context.cc base::Bind(&FileSystemQuotaUtil::DeleteOriginDataOnFileTaskRunner, base 385 webkit/browser/fileapi/file_system_context.cc base::Unretained(backend->GetQuotaUtil()), base 387 webkit/browser/fileapi/file_system_context.cc base::Unretained(quota_manager_proxy()), base 397 webkit/browser/fileapi/file_system_context.cc const base::Time& expected_modification_time) { base 430 webkit/browser/fileapi/file_system_context.cc const base::FilePath& path) const { base 477 webkit/browser/fileapi/file_system_context.cc const FileSystemURL& url, base::File::Error* error_code) { base 480 webkit/browser/fileapi/file_system_context.cc *error_code = base::File::FILE_ERROR_INVALID_URL; base 487 webkit/browser/fileapi/file_system_context.cc *error_code = base::File::FILE_ERROR_FAILED; base 491 webkit/browser/fileapi/file_system_context.cc base::File::Error fs_error = base::File::FILE_OK; base 559 webkit/browser/fileapi/file_system_context.cc base::File::Error error) { base 562 webkit/browser/fileapi/file_system_context.cc if (error != base::File::FILE_OK) { base 563 webkit/browser/fileapi/file_system_context.cc callback.Run(error, FileSystemInfo(), base::FilePath(), false); base 571 webkit/browser/fileapi/file_system_context.cc base::FilePath parent = CrackURL(filesystem_root).virtual_path(); base 572 webkit/browser/fileapi/file_system_context.cc base::FilePath child = url.virtual_path(); base 573 webkit/browser/fileapi/file_system_context.cc base::FilePath path; base 583 webkit/browser/fileapi/file_system_context.cc url, base::Bind(&DidGetMetadataForResolveURL, path, callback, info)); base 26 webkit/browser/fileapi/file_system_context.h namespace base { base 77 webkit/browser/fileapi/file_system_context.h typedef base::Callback<bool( base 81 webkit/browser/fileapi/file_system_context.h const base::Callback<void(base::File::Error result)>& callback)> base 87 webkit/browser/fileapi/file_system_context.h : public base::RefCountedThreadSafe<FileSystemContext, base 119 webkit/browser/fileapi/file_system_context.h base::SingleThreadTaskRunner* io_task_runner, base 120 webkit/browser/fileapi/file_system_context.h base::SequencedTaskRunner* file_task_runner, base 126 webkit/browser/fileapi/file_system_context.h const base::FilePath& partition_path, base 158 webkit/browser/fileapi/file_system_context.h FileSystemType type, base::File::Error* error_code) const; base 185 webkit/browser/fileapi/file_system_context.h typedef base::Callback<void(const GURL& root, base 187 webkit/browser/fileapi/file_system_context.h base::File::Error result)> base 191 webkit/browser/fileapi/file_system_context.h typedef base::Callback<void(base::File::Error result, base 193 webkit/browser/fileapi/file_system_context.h const base::FilePath& file_path, base 197 webkit/browser/fileapi/file_system_context.h typedef base::Callback<void(base::File::Error result)> StatusCallback; base 244 webkit/browser/fileapi/file_system_context.h const base::Time& expected_modification_time); base 255 webkit/browser/fileapi/file_system_context.h base::SequencedTaskRunner* default_file_task_runner() { base 263 webkit/browser/fileapi/file_system_context.h const base::FilePath& partition_path() const { return partition_path_; } base 271 webkit/browser/fileapi/file_system_context.h const base::FilePath& path) const; base 311 webkit/browser/fileapi/file_system_context.h friend class base::DeleteHelper<FileSystemContext>; base 312 webkit/browser/fileapi/file_system_context.h friend class base::RefCountedThreadSafe<FileSystemContext, base 327 webkit/browser/fileapi/file_system_context.h base::File::Error* error_code); base 347 webkit/browser/fileapi/file_system_context.h base::File::Error error); base 359 webkit/browser/fileapi/file_system_context.h scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; base 360 webkit/browser/fileapi/file_system_context.h scoped_refptr<base::SequencedTaskRunner> default_file_task_runner_; base 393 webkit/browser/fileapi/file_system_context.h const base::FilePath partition_path_; base 61 webkit/browser/fileapi/file_system_dir_url_request_job.cc base::MessageLoop::current()->PostTask( base 63 webkit/browser/fileapi/file_system_dir_url_request_job.cc base::Bind(&FileSystemDirURLRequestJob::StartAsync, base 90 webkit/browser/fileapi/file_system_dir_url_request_job.cc base::Bind(&FileSystemDirURLRequestJob::DidAttemptAutoMount, base 98 webkit/browser/fileapi/file_system_dir_url_request_job.cc DidReadDirectory(base::File::FILE_OK, base 109 webkit/browser/fileapi/file_system_dir_url_request_job.cc base::Bind(&FileSystemDirURLRequestJob::DidReadDirectory, this)); base 112 webkit/browser/fileapi/file_system_dir_url_request_job.cc void FileSystemDirURLRequestJob::DidAttemptAutoMount(base::File::Error result) { base 123 webkit/browser/fileapi/file_system_dir_url_request_job.cc base::File::Error result, base 126 webkit/browser/fileapi/file_system_dir_url_request_job.cc if (result != base::File::FILE_OK) { base 128 webkit/browser/fileapi/file_system_dir_url_request_job.cc if (result == base::File::FILE_ERROR_INVALID_URL) base 138 webkit/browser/fileapi/file_system_dir_url_request_job.cc base::FilePath relative_path = url_.path(); base 141 webkit/browser/fileapi/file_system_dir_url_request_job.cc base::FilePath(FILE_PATH_LITERAL("/") + relative_path.value()); base 143 webkit/browser/fileapi/file_system_dir_url_request_job.cc const base::string16& title = relative_path.LossyDisplayName(); base 149 webkit/browser/fileapi/file_system_dir_url_request_job.cc const base::string16& name = base::FilePath(it->name).LossyDisplayName(); base 53 webkit/browser/fileapi/file_system_dir_url_request_job.h void DidAttemptAutoMount(base::File::Error result); base 54 webkit/browser/fileapi/file_system_dir_url_request_job.h void DidReadDirectory(base::File::Error result, base 62 webkit/browser/fileapi/file_system_dir_url_request_job.h base::WeakPtrFactory<FileSystemDirURLRequestJob> weak_factory_; base 27 webkit/browser/fileapi/file_system_file_stream_reader.cc const base::Time& expected_modification_time) { base 41 webkit/browser/fileapi/file_system_file_stream_reader.cc void ReadAdapter(base::WeakPtr<FileSystemFileStreamReader> reader, base 51 webkit/browser/fileapi/file_system_file_stream_reader.cc void GetLengthAdapter(base::WeakPtr<FileSystemFileStreamReader> reader, base 76 webkit/browser/fileapi/file_system_file_stream_reader.cc base::Bind(&ReadAdapter, weak_factory_.GetWeakPtr(), base 86 webkit/browser/fileapi/file_system_file_stream_reader.cc base::Bind(&GetLengthAdapter, weak_factory_.GetWeakPtr(), callback), base 87 webkit/browser/fileapi/file_system_file_stream_reader.cc base::Bind(&Int64CallbackAdapter, callback)); base 94 webkit/browser/fileapi/file_system_file_stream_reader.cc const base::Time& expected_modification_time) base 104 webkit/browser/fileapi/file_system_file_stream_reader.cc const base::Closure& callback, base 110 webkit/browser/fileapi/file_system_file_stream_reader.cc base::Bind(&FileSystemFileStreamReader::DidCreateSnapshot, base 118 webkit/browser/fileapi/file_system_file_stream_reader.cc const base::Closure& callback, base 120 webkit/browser/fileapi/file_system_file_stream_reader.cc base::File::Error file_error, base 121 webkit/browser/fileapi/file_system_file_stream_reader.cc const base::File::Info& file_info, base 122 webkit/browser/fileapi/file_system_file_stream_reader.cc const base::FilePath& platform_path, base 128 webkit/browser/fileapi/file_system_file_stream_reader.cc if (file_error != base::File::FILE_OK) { base 17 webkit/browser/fileapi/file_system_file_stream_reader.h namespace base { base 53 webkit/browser/fileapi/file_system_file_stream_reader.h const base::Time& expected_modification_time); base 55 webkit/browser/fileapi/file_system_file_stream_reader.h int CreateSnapshot(const base::Closure& callback, base 58 webkit/browser/fileapi/file_system_file_stream_reader.h const base::Closure& callback, base 60 webkit/browser/fileapi/file_system_file_stream_reader.h base::File::Error file_error, base 61 webkit/browser/fileapi/file_system_file_stream_reader.h const base::File::Info& file_info, base 62 webkit/browser/fileapi/file_system_file_stream_reader.h const base::FilePath& platform_path, base 68 webkit/browser/fileapi/file_system_file_stream_reader.h const base::Time expected_modification_time_; base 72 webkit/browser/fileapi/file_system_file_stream_reader.h base::WeakPtrFactory<FileSystemFileStreamReader> weak_factory_; base 9 webkit/browser/fileapi/file_system_file_util.cc base::FilePath FileSystemFileUtil::EmptyFileEnumerator::Next() { base 10 webkit/browser/fileapi/file_system_file_util.cc return base::FilePath(); base 17 webkit/browser/fileapi/file_system_file_util.cc base::Time FileSystemFileUtil::EmptyFileEnumerator::LastModifiedTime() { base 18 webkit/browser/fileapi/file_system_file_util.cc return base::Time(); base 16 webkit/browser/fileapi/file_system_file_util.h namespace base { base 40 webkit/browser/fileapi/file_system_file_util.h virtual base::FilePath Next() = 0; base 47 webkit/browser/fileapi/file_system_file_util.h virtual base::Time LastModifiedTime() = 0; base 53 webkit/browser/fileapi/file_system_file_util.h virtual base::FilePath Next() OVERRIDE; base 55 webkit/browser/fileapi/file_system_file_util.h virtual base::Time LastModifiedTime() OVERRIDE; base 64 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error CreateOrOpen( base 68 webkit/browser/fileapi/file_system_file_util.h base::PlatformFile* file_handle, base 73 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error Close( base 75 webkit/browser/fileapi/file_system_file_util.h base::PlatformFile file) = 0; base 80 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error EnsureFileExists( base 86 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error CreateDirectory( base 94 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error GetFileInfo( base 97 webkit/browser/fileapi/file_system_file_util.h base::File::Info* file_info, base 98 webkit/browser/fileapi/file_system_file_util.h base::FilePath* platform_path) = 0; base 114 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error GetLocalFilePath( base 117 webkit/browser/fileapi/file_system_file_util.h base::FilePath* local_file_path) = 0; base 121 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error Touch( base 124 webkit/browser/fileapi/file_system_file_util.h const base::Time& last_access_time, base 125 webkit/browser/fileapi/file_system_file_util.h const base::Time& last_modified_time) = 0; base 129 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error Truncate( base 147 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error CopyOrMoveFile( base 157 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error CopyInForeignFile( base 159 webkit/browser/fileapi/file_system_file_util.h const base::FilePath& src_file_path, base 164 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error DeleteFile( base 170 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error DeleteDirectory( base 182 webkit/browser/fileapi/file_system_file_util.h base::File::Error* error, base 183 webkit/browser/fileapi/file_system_file_util.h base::File::Info* file_info, base 184 webkit/browser/fileapi/file_system_file_util.h base::FilePath* platform_path) = 0; base 19 webkit/browser/fileapi/file_system_operation.h namespace base { base 70 webkit/browser/fileapi/file_system_operation.h typedef base::Callback<void(base::File::Error result)> StatusCallback; base 74 webkit/browser/fileapi/file_system_operation.h typedef base::Callback< base 75 webkit/browser/fileapi/file_system_operation.h void(base::File::Error result, base 76 webkit/browser/fileapi/file_system_operation.h const base::File::Info& file_info)> GetMetadataCallback; base 81 webkit/browser/fileapi/file_system_operation.h typedef base::Callback< base 82 webkit/browser/fileapi/file_system_operation.h void(base::File::Error result, base 83 webkit/browser/fileapi/file_system_operation.h base::PlatformFile file, base 84 webkit/browser/fileapi/file_system_operation.h const base::Closure& on_close_callback)> OpenFileCallback; base 92 webkit/browser/fileapi/file_system_operation.h typedef base::Callback< base 93 webkit/browser/fileapi/file_system_operation.h void(base::File::Error result, base 118 webkit/browser/fileapi/file_system_operation.h typedef base::Callback< base 119 webkit/browser/fileapi/file_system_operation.h void(base::File::Error result, base 120 webkit/browser/fileapi/file_system_operation.h const base::File::Info& file_info, base 121 webkit/browser/fileapi/file_system_operation.h const base::FilePath& platform_path, base 199 webkit/browser/fileapi/file_system_operation.h typedef base::Callback<void(CopyProgressType type, base 210 webkit/browser/fileapi/file_system_operation.h typedef base::Callback<void(int64 size)> CopyFileProgressCallback; base 225 webkit/browser/fileapi/file_system_operation.h typedef base::Callback<void(base::File::Error result, base 351 webkit/browser/fileapi/file_system_operation.h const base::Time& last_access_time, base 352 webkit/browser/fileapi/file_system_operation.h const base::Time& last_modified_time, base 384 webkit/browser/fileapi/file_system_operation.h virtual void CopyInForeignFile(const base::FilePath& src_local_disk_path, base 456 webkit/browser/fileapi/file_system_operation.h virtual base::File::Error SyncGetPlatformPath( base 458 webkit/browser/fileapi/file_system_operation.h base::FilePath* platform_path) = 0; base 21 webkit/browser/fileapi/file_system_operation_context.cc base::SequencedTaskRunner* task_runner) base 15 webkit/browser/fileapi/file_system_operation_context.h namespace base { base 30 webkit/browser/fileapi/file_system_operation_context.h : public base::SupportsUserData { base 37 webkit/browser/fileapi/file_system_operation_context.h base::SequencedTaskRunner* task_runner); base 54 webkit/browser/fileapi/file_system_operation_context.h base::SequencedTaskRunner* task_runner() const { return task_runner_.get(); } base 77 webkit/browser/fileapi/file_system_operation_context.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 90 webkit/browser/fileapi/file_system_operation_context.h base::ThreadChecker setter_thread_checker_; base 51 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DoCreateFile, base 53 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 63 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DoCreateDirectory, base 66 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 86 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 104 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 114 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidDirectoryExists, base 123 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFileExists, base 152 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidDeleteRecursively, base 160 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 174 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidWrite, base 183 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DoTruncate, base 185 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 189 webkit/browser/fileapi/file_system_operation_impl.cc const base::Time& last_access_time, base 190 webkit/browser/fileapi/file_system_operation_impl.cc const base::Time& last_modified_time, base 196 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 206 webkit/browser/fileapi/file_system_operation_impl.cc (base::PLATFORM_FILE_TEMPORARY | base::PLATFORM_FILE_HIDDEN)) { base 207 webkit/browser/fileapi/file_system_operation_impl.cc callback.Run(base::File::FILE_ERROR_FAILED, base 208 webkit/browser/fileapi/file_system_operation_impl.cc base::kInvalidPlatformFileValue, base 209 webkit/browser/fileapi/file_system_operation_impl.cc base::Closure()); base 214 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DoOpenFile, base 217 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED, base 218 webkit/browser/fileapi/file_system_operation_impl.cc base::kInvalidPlatformFileValue, base 219 webkit/browser/fileapi/file_system_operation_impl.cc base::Closure())); base 251 webkit/browser/fileapi/file_system_operation_impl.cc const base::FilePath& src_local_disk_file_path, base 257 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DoCopyInForeignFile, base 260 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 269 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 279 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 294 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DoCopyFileLocal, base 297 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 309 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DoMoveFileLocal, base 312 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); base 315 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error FileSystemOperationImpl::SyncGetPlatformPath( base 317 webkit/browser/fileapi/file_system_operation_impl.cc base::FilePath* platform_path) { base 320 webkit/browser/fileapi/file_system_operation_impl.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 324 webkit/browser/fileapi/file_system_operation_impl.cc return base::File::FILE_OK; base 344 webkit/browser/fileapi/file_system_operation_impl.cc const base::Closure& task, base 345 webkit/browser/fileapi/file_system_operation_impl.cc const base::Closure& error_callback) { base 362 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidGetUsageAndQuotaAndRunTask, base 367 webkit/browser/fileapi/file_system_operation_impl.cc const base::Closure& task, base 368 webkit/browser/fileapi/file_system_operation_impl.cc const base::Closure& error_callback, base 387 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind( base 401 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 413 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 424 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 429 webkit/browser/fileapi/file_system_operation_impl.cc const base::FilePath& src_local_disk_file_path, base 435 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 444 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 453 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidOpenFile, base 459 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, bool created) { base 460 webkit/browser/fileapi/file_system_operation_impl.cc if (rv == base::File::FILE_OK && !created) { base 461 webkit/browser/fileapi/file_system_operation_impl.cc callback.Run(base::File::FILE_ERROR_EXISTS); base 469 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, bool /* created */) { base 475 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv) { base 481 webkit/browser/fileapi/file_system_operation_impl.cc cancel_callback.Run(rv == base::File::FILE_ERROR_ABORT ? base 482 webkit/browser/fileapi/file_system_operation_impl.cc base::File::FILE_OK : base 483 webkit/browser/fileapi/file_system_operation_impl.cc base::File::FILE_ERROR_INVALID_OPERATION); base 491 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, base 492 webkit/browser/fileapi/file_system_operation_impl.cc const base::File::Info& file_info) { base 493 webkit/browser/fileapi/file_system_operation_impl.cc if (rv == base::File::FILE_OK && !file_info.is_directory) base 494 webkit/browser/fileapi/file_system_operation_impl.cc rv = base::File::FILE_ERROR_NOT_A_DIRECTORY; base 500 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, base 501 webkit/browser/fileapi/file_system_operation_impl.cc const base::File::Info& file_info) { base 502 webkit/browser/fileapi/file_system_operation_impl.cc if (rv == base::File::FILE_OK && file_info.is_directory) base 503 webkit/browser/fileapi/file_system_operation_impl.cc rv = base::File::FILE_ERROR_NOT_A_FILE; base 510 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv) { base 511 webkit/browser/fileapi/file_system_operation_impl.cc if (rv == base::File::FILE_ERROR_INVALID_OPERATION) { base 517 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(&FileSystemOperationImpl::DidFinishOperation, base 529 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, base 543 webkit/browser/fileapi/file_system_operation_impl.cc cancel_callback.Run(base::File::FILE_OK); base 548 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, base 549 webkit/browser/fileapi/file_system_operation_impl.cc base::PassPlatformFile file, base 550 webkit/browser/fileapi/file_system_operation_impl.cc const base::Closure& on_close_callback) { base 67 webkit/browser/fileapi/file_system_operation_impl.h const base::Time& last_access_time, base 68 webkit/browser/fileapi/file_system_operation_impl.h const base::Time& last_modified_time, base 77 webkit/browser/fileapi/file_system_operation_impl.h virtual void CopyInForeignFile(const base::FilePath& src_local_disk_path, base 93 webkit/browser/fileapi/file_system_operation_impl.h virtual base::File::Error SyncGetPlatformPath( base 95 webkit/browser/fileapi/file_system_operation_impl.h base::FilePath* platform_path) OVERRIDE; base 113 webkit/browser/fileapi/file_system_operation_impl.h const base::Closure& task, base 114 webkit/browser/fileapi/file_system_operation_impl.h const base::Closure& error_callback); base 122 webkit/browser/fileapi/file_system_operation_impl.h const base::Closure& task, base 123 webkit/browser/fileapi/file_system_operation_impl.h const base::Closure& error_callback, base 144 webkit/browser/fileapi/file_system_operation_impl.h void DoCopyInForeignFile(const base::FilePath& src_local_disk_file_path, base 154 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, base 159 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, base 163 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv); base 165 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, base 166 webkit/browser/fileapi/file_system_operation_impl.h const base::File::Info& file_info); base 168 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, base 169 webkit/browser/fileapi/file_system_operation_impl.h const base::File::Info& file_info); base 172 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv); base 175 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, base 179 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, base 180 webkit/browser/fileapi/file_system_operation_impl.h base::PassPlatformFile file, base 181 webkit/browser/fileapi/file_system_operation_impl.h const base::Closure& on_close_callback); base 200 webkit/browser/fileapi/file_system_operation_impl.h base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; base 24 webkit/browser/fileapi/file_system_operation_runner.cc : public base::SupportsWeakPtr< base 46 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 59 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 69 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 81 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 92 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 107 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::OnCopyProgress, AsWeakPtr(), base 109 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 119 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 132 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 140 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 152 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 160 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 172 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 180 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 186 webkit/browser/fileapi/file_system_operation_runner.cc DidGetMetadata(handle, callback, error, base::File::Info()); base 192 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidGetMetadata, AsWeakPtr(), base 200 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 213 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidReadDirectory, AsWeakPtr(), base 221 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 233 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 244 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 259 webkit/browser/fileapi/file_system_operation_runner.cc DidWrite(handle, callback, base::File::FILE_ERROR_SECURITY, 0, true); base 275 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidWrite, AsWeakPtr(), base 283 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 295 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 311 webkit/browser/fileapi/file_system_operation_runner.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 319 webkit/browser/fileapi/file_system_operation_runner.cc const base::Time& last_access_time, base 320 webkit/browser/fileapi/file_system_operation_runner.cc const base::Time& last_modified_time, base 322 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 334 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 343 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 349 webkit/browser/fileapi/file_system_operation_runner.cc DidOpenFile(handle, callback, error, base::kInvalidPlatformFileValue, base 350 webkit/browser/fileapi/file_system_operation_runner.cc base::Closure()); base 354 webkit/browser/fileapi/file_system_operation_runner.cc (base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_OPEN_ALWAYS | base 355 webkit/browser/fileapi/file_system_operation_runner.cc base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_OPEN_TRUNCATED | base 356 webkit/browser/fileapi/file_system_operation_runner.cc base::PLATFORM_FILE_WRITE | base::PLATFORM_FILE_EXCLUSIVE_WRITE | base 357 webkit/browser/fileapi/file_system_operation_runner.cc base::PLATFORM_FILE_DELETE_ON_CLOSE | base 358 webkit/browser/fileapi/file_system_operation_runner.cc base::PLATFORM_FILE_WRITE_ATTRIBUTES)) { base 365 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidOpenFile, AsWeakPtr(), base 373 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 379 webkit/browser/fileapi/file_system_operation_runner.cc DidCreateSnapshot(handle, callback, error, base::File::Info(), base 380 webkit/browser/fileapi/file_system_operation_runner.cc base::FilePath(), NULL); base 386 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidCreateSnapshot, AsWeakPtr(), base 392 webkit/browser/fileapi/file_system_operation_runner.cc const base::FilePath& src_local_disk_path, base 395 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 406 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 414 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 425 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 433 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 444 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 455 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 466 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 476 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 487 webkit/browser/fileapi/file_system_operation_runner.cc base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), base 492 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error FileSystemOperationRunner::SyncGetPlatformPath( base 494 webkit/browser/fileapi/file_system_operation_runner.cc base::FilePath* platform_path) { base 495 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; base 510 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv) { base 513 webkit/browser/fileapi/file_system_operation_runner.cc base::MessageLoopProxy::current()->PostTask( base 514 webkit/browser/fileapi/file_system_operation_runner.cc FROM_HERE, base::Bind(&FileSystemOperationRunner::DidFinish, base 525 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, base 526 webkit/browser/fileapi/file_system_operation_runner.cc const base::File::Info& file_info) { base 529 webkit/browser/fileapi/file_system_operation_runner.cc base::MessageLoopProxy::current()->PostTask( base 530 webkit/browser/fileapi/file_system_operation_runner.cc FROM_HERE, base::Bind(&FileSystemOperationRunner::DidGetMetadata, base 541 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, base 546 webkit/browser/fileapi/file_system_operation_runner.cc base::MessageLoopProxy::current()->PostTask( base 547 webkit/browser/fileapi/file_system_operation_runner.cc FROM_HERE, base::Bind(&FileSystemOperationRunner::DidReadDirectory, base 553 webkit/browser/fileapi/file_system_operation_runner.cc if (rv != base::File::FILE_OK || !has_more) base 560 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, base 565 webkit/browser/fileapi/file_system_operation_runner.cc base::MessageLoopProxy::current()->PostTask( base 566 webkit/browser/fileapi/file_system_operation_runner.cc FROM_HERE, base::Bind(&FileSystemOperationRunner::DidWrite, AsWeakPtr(), base 571 webkit/browser/fileapi/file_system_operation_runner.cc if (rv != base::File::FILE_OK || complete) base 578 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, base 579 webkit/browser/fileapi/file_system_operation_runner.cc base::PlatformFile file, base 580 webkit/browser/fileapi/file_system_operation_runner.cc const base::Closure& on_close_callback) { base 583 webkit/browser/fileapi/file_system_operation_runner.cc base::MessageLoopProxy::current()->PostTask( base 584 webkit/browser/fileapi/file_system_operation_runner.cc FROM_HERE, base::Bind(&FileSystemOperationRunner::DidOpenFile, base 596 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, base 597 webkit/browser/fileapi/file_system_operation_runner.cc const base::File::Info& file_info, base 598 webkit/browser/fileapi/file_system_operation_runner.cc const base::FilePath& platform_path, base 602 webkit/browser/fileapi/file_system_operation_runner.cc base::MessageLoopProxy::current()->PostTask( base 603 webkit/browser/fileapi/file_system_operation_runner.cc FROM_HERE, base::Bind(&FileSystemOperationRunner::DidCreateSnapshot, base 620 webkit/browser/fileapi/file_system_operation_runner.cc base::MessageLoopProxy::current()->PostTask( base 621 webkit/browser/fileapi/file_system_operation_runner.cc FROM_HERE, base::Bind( base 649 webkit/browser/fileapi/file_system_operation_runner.cc base::WeakPtr<BeginOperationScoper> scope) { base 682 webkit/browser/fileapi/file_system_operation_runner.cc found_cancel->second.Run(base::File::FILE_ERROR_INVALID_OPERATION); base 38 webkit/browser/fileapi/file_system_operation_runner.h : public base::SupportsWeakPtr<FileSystemOperationRunner> { base 135 webkit/browser/fileapi/file_system_operation_runner.h const base::Time& last_access_time, base 136 webkit/browser/fileapi/file_system_operation_runner.h const base::Time& last_modified_time, base 171 webkit/browser/fileapi/file_system_operation_runner.h OperationID CopyInForeignFile(const base::FilePath& src_local_disk_path, base 237 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error SyncGetPlatformPath(const FileSystemURL& url, base 238 webkit/browser/fileapi/file_system_operation_runner.h base::FilePath* platform_path); base 245 webkit/browser/fileapi/file_system_operation_runner.h base::WeakPtr<BeginOperationScoper> scope; base 256 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv); base 259 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, base 260 webkit/browser/fileapi/file_system_operation_runner.h const base::File::Info& file_info); base 263 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, base 268 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, base 274 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, base 275 webkit/browser/fileapi/file_system_operation_runner.h base::PlatformFile file, base 276 webkit/browser/fileapi/file_system_operation_runner.h const base::Closure& on_close_callback); base 280 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, base 281 webkit/browser/fileapi/file_system_operation_runner.h const base::File::Info& file_info, base 282 webkit/browser/fileapi/file_system_operation_runner.h const base::FilePath& platform_path, base 298 webkit/browser/fileapi/file_system_operation_runner.h base::WeakPtr<BeginOperationScoper> scope); base 73 webkit/browser/fileapi/file_system_quota_client.cc base::File::Error result = base 76 webkit/browser/fileapi/file_system_quota_client.cc if (result == base::File::FILE_OK) base 121 webkit/browser/fileapi/file_system_quota_client.cc base::PostTaskAndReplyWithResult( base 125 webkit/browser/fileapi/file_system_quota_client.cc base::Bind(&FileSystemQuotaUtil::GetOriginUsageOnFileTaskRunner, base 126 webkit/browser/fileapi/file_system_quota_client.cc base::Unretained(quota_util), base 148 webkit/browser/fileapi/file_system_quota_client.cc base::Bind(&GetOriginsForTypeOnFileTaskRunner, base 151 webkit/browser/fileapi/file_system_quota_client.cc base::Unretained(origins_ptr)), base 152 webkit/browser/fileapi/file_system_quota_client.cc base::Bind(&DidGetOrigins, base 154 webkit/browser/fileapi/file_system_quota_client.cc base::Owned(origins_ptr))); base 173 webkit/browser/fileapi/file_system_quota_client.cc base::Bind(&GetOriginsForHostOnFileTaskRunner, base 177 webkit/browser/fileapi/file_system_quota_client.cc base::Unretained(origins_ptr)), base 178 webkit/browser/fileapi/file_system_quota_client.cc base::Bind(&DidGetOrigins, base 180 webkit/browser/fileapi/file_system_quota_client.cc base::Owned(origins_ptr))); base 190 webkit/browser/fileapi/file_system_quota_client.cc base::PostTaskAndReplyWithResult( base 193 webkit/browser/fileapi/file_system_quota_client.cc base::Bind(&DeleteOriginOnFileTaskRunner, base 206 webkit/browser/fileapi/file_system_quota_client.cc base::SequencedTaskRunner* FileSystemQuotaClient::file_task_runner() const { base 21 webkit/browser/fileapi/file_system_quota_client.h namespace base { base 62 webkit/browser/fileapi/file_system_quota_client.h base::SequencedTaskRunner* file_task_runner() const; base 18 webkit/browser/fileapi/file_system_quota_util.h namespace base { base 41 webkit/browser/fileapi/file_system_quota_util.h virtual base::File::Error DeleteOriginDataOnFileTaskRunner( base 71 webkit/browser/fileapi/file_system_quota_util.h base::SequencedTaskRunner* task_runner) = 0; base 75 webkit/browser/fileapi/file_system_quota_util.h base::SequencedTaskRunner* task_runner) = 0; base 79 webkit/browser/fileapi/file_system_quota_util.h base::SequencedTaskRunner* task_runner) = 0; base 33 webkit/browser/fileapi/file_system_url.cc const base::FilePath& virtual_path) { base 49 webkit/browser/fileapi/file_system_url.cc const base::FilePath& virtual_path) base 61 webkit/browser/fileapi/file_system_url.cc const base::FilePath& virtual_path, base 64 webkit/browser/fileapi/file_system_url.cc const base::FilePath& cracked_path, base 88 webkit/browser/fileapi/file_system_url.h const base::FilePath& virtual_path); base 100 webkit/browser/fileapi/file_system_url.h const base::FilePath& path() const { return path_; } base 105 webkit/browser/fileapi/file_system_url.h const base::FilePath& virtual_path() const { return virtual_path_; } base 146 webkit/browser/fileapi/file_system_url.h const base::FilePath& virtual_path); base 150 webkit/browser/fileapi/file_system_url.h const base::FilePath& virtual_path, base 153 webkit/browser/fileapi/file_system_url.h const base::FilePath& cracked_path, base 162 webkit/browser/fileapi/file_system_url.h base::FilePath virtual_path_; base 171 webkit/browser/fileapi/file_system_url.h base::FilePath path_; base 73 webkit/browser/fileapi/file_system_url_request_job.cc base::MessageLoop::current()->PostTask( base 75 webkit/browser/fileapi/file_system_url_request_job.cc base::Bind(&FileSystemURLRequestJob::StartAsync, base 103 webkit/browser/fileapi/file_system_url_request_job.cc base::Bind(&FileSystemURLRequestJob::DidRead, base 122 webkit/browser/fileapi/file_system_url_request_job.cc base::FilePath::StringType extension = url_.path().Extension(); base 166 webkit/browser/fileapi/file_system_url_request_job.cc base::Bind(&FileSystemURLRequestJob::DidAttemptAutoMount, base 177 webkit/browser/fileapi/file_system_url_request_job.cc base::Bind(&FileSystemURLRequestJob::DidGetMetadata, base 181 webkit/browser/fileapi/file_system_url_request_job.cc void FileSystemURLRequestJob::DidAttemptAutoMount(base::File::Error result) { base 191 webkit/browser/fileapi/file_system_url_request_job.cc base::File::Error error_code, base 192 webkit/browser/fileapi/file_system_url_request_job.cc const base::File::Info& file_info) { base 193 webkit/browser/fileapi/file_system_url_request_job.cc if (error_code != base::File::FILE_OK) { base 194 webkit/browser/fileapi/file_system_url_request_job.cc NotifyFailed(error_code == base::File::FILE_ERROR_INVALID_URL ? base 221 webkit/browser/fileapi/file_system_url_request_job.cc url_, byte_range_.first_byte_position(), base::Time()); base 21 webkit/browser/fileapi/file_system_url_request_job.h namespace base { base 64 webkit/browser/fileapi/file_system_url_request_job.h void DidAttemptAutoMount(base::File::Error result); base 65 webkit/browser/fileapi/file_system_url_request_job.h void DidGetMetadata(base::File::Error error_code, base 66 webkit/browser/fileapi/file_system_url_request_job.h const base::File::Info& file_info); base 78 webkit/browser/fileapi/file_system_url_request_job.h base::WeakPtrFactory<FileSystemURLRequestJob> weak_factory_; base 14 webkit/browser/fileapi/file_system_url_request_job_factory.h namespace base { base 32 webkit/browser/fileapi/file_system_url_unittest.cc std::string NormalizedUTF8Path(const base::FilePath& path) { base 180 webkit/browser/fileapi/file_system_url_unittest.cc const base::FilePath kPath(FPL("dir/file")); base 192 webkit/browser/fileapi/file_system_url_unittest.cc base::FilePath::FromUTF8Unsafe("a")); base 195 webkit/browser/fileapi/file_system_url_unittest.cc base::FilePath::FromUTF8Unsafe("b")); base 198 webkit/browser/fileapi/file_system_url_unittest.cc base::FilePath::FromUTF8Unsafe("a")); base 201 webkit/browser/fileapi/file_system_url_unittest.cc base::FilePath::FromUTF8Unsafe("a")); base 204 webkit/browser/fileapi/file_system_url_unittest.cc base::FilePath::FromUTF8Unsafe("a")); base 25 webkit/browser/fileapi/file_system_usage_cache.cc base::SequencedTaskRunner* task_runner) base 35 webkit/browser/fileapi/file_system_usage_cache.cc const base::FilePath::CharType FileSystemUsageCache::kUsageFileName[] = base 46 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::GetUsage(const base::FilePath& usage_file_path, base 60 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::GetDirty(const base::FilePath& usage_file_path, base 75 webkit/browser/fileapi/file_system_usage_cache.cc const base::FilePath& usage_file_path) { base 92 webkit/browser/fileapi/file_system_usage_cache.cc const base::FilePath& usage_file_path) { base 107 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::Invalidate(const base::FilePath& usage_file_path) { base 119 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::IsValid(const base::FilePath& usage_file_path) { base 131 webkit/browser/fileapi/file_system_usage_cache.cc const base::FilePath& usage_file_path, int64 delta) { base 142 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::UpdateUsage(const base::FilePath& usage_file_path, base 149 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::Exists(const base::FilePath& usage_file_path) { base 152 webkit/browser/fileapi/file_system_usage_cache.cc return base::PathExists(usage_file_path); base 155 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::Delete(const base::FilePath& usage_file_path) { base 159 webkit/browser/fileapi/file_system_usage_cache.cc return base::DeleteFile(usage_file_path, true); base 169 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::Read(const base::FilePath& usage_file_path, base 205 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::Write(const base::FilePath& usage_file_path, base 226 webkit/browser/fileapi/file_system_usage_cache.cc base::File* FileSystemUsageCache::GetFile(const base::FilePath& file_path) { base 232 webkit/browser/fileapi/file_system_usage_cache.cc base::File* new_file = NULL; base 238 webkit/browser/fileapi/file_system_usage_cache.cc new_file = new base::File(file_path, base 239 webkit/browser/fileapi/file_system_usage_cache.cc base::File::FLAG_OPEN_ALWAYS | base 240 webkit/browser/fileapi/file_system_usage_cache.cc base::File::FLAG_READ | base 241 webkit/browser/fileapi/file_system_usage_cache.cc base::File::FLAG_WRITE); base 252 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::ReadBytes(const base::FilePath& file_path, base 256 webkit/browser/fileapi/file_system_usage_cache.cc base::File* file = GetFile(file_path); base 262 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::WriteBytes(const base::FilePath& file_path, base 266 webkit/browser/fileapi/file_system_usage_cache.cc base::File* file = GetFile(file_path); base 272 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::FlushFile(const base::FilePath& file_path) { base 275 webkit/browser/fileapi/file_system_usage_cache.cc base::File* file = GetFile(file_path); base 292 webkit/browser/fileapi/file_system_usage_cache.cc base::TimeDelta::FromSeconds(kCloseDelaySeconds), base 293 webkit/browser/fileapi/file_system_usage_cache.cc base::Bind(&FileSystemUsageCache::CloseCacheFiles, base 301 webkit/browser/fileapi/file_system_usage_cache.cc bool FileSystemUsageCache::HasCacheFileHandle(const base::FilePath& file_path) { base 24 webkit/browser/fileapi/file_system_usage_cache.h explicit FileSystemUsageCache(base::SequencedTaskRunner* task_runner); base 29 webkit/browser/fileapi/file_system_usage_cache.h bool GetUsage(const base::FilePath& usage_file_path, int64* usage); base 33 webkit/browser/fileapi/file_system_usage_cache.h bool GetDirty(const base::FilePath& usage_file_path, uint32* dirty); base 37 webkit/browser/fileapi/file_system_usage_cache.h bool IncrementDirty(const base::FilePath& usage_file_path); base 38 webkit/browser/fileapi/file_system_usage_cache.h bool DecrementDirty(const base::FilePath& usage_file_path); base 42 webkit/browser/fileapi/file_system_usage_cache.h bool Invalidate(const base::FilePath& usage_file_path); base 43 webkit/browser/fileapi/file_system_usage_cache.h bool IsValid(const base::FilePath& usage_file_path); base 46 webkit/browser/fileapi/file_system_usage_cache.h bool UpdateUsage(const base::FilePath& usage_file_path, int64 fs_usage); base 50 webkit/browser/fileapi/file_system_usage_cache.h bool AtomicUpdateUsageByDelta(const base::FilePath& usage_file_path, base 53 webkit/browser/fileapi/file_system_usage_cache.h bool Exists(const base::FilePath& usage_file_path); base 54 webkit/browser/fileapi/file_system_usage_cache.h bool Delete(const base::FilePath& usage_file_path); base 58 webkit/browser/fileapi/file_system_usage_cache.h static const base::FilePath::CharType kUsageFileName[]; base 64 webkit/browser/fileapi/file_system_usage_cache.h typedef std::map<base::FilePath, base::File*> CacheFiles; base 68 webkit/browser/fileapi/file_system_usage_cache.h bool Read(const base::FilePath& usage_file_path, base 73 webkit/browser/fileapi/file_system_usage_cache.h bool Write(const base::FilePath& usage_file_path, base 78 webkit/browser/fileapi/file_system_usage_cache.h base::File* GetFile(const base::FilePath& file_path); base 80 webkit/browser/fileapi/file_system_usage_cache.h bool ReadBytes(const base::FilePath& file_path, base 83 webkit/browser/fileapi/file_system_usage_cache.h bool WriteBytes(const base::FilePath& file_path, base 86 webkit/browser/fileapi/file_system_usage_cache.h bool FlushFile(const base::FilePath& file_path); base 89 webkit/browser/fileapi/file_system_usage_cache.h bool HasCacheFileHandle(const base::FilePath& file_path); base 96 webkit/browser/fileapi/file_system_usage_cache.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 98 webkit/browser/fileapi/file_system_usage_cache.h base::WeakPtrFactory<FileSystemUsageCache> weak_factory_; base 18 webkit/browser/fileapi/file_system_usage_cache_unittest.cc : usage_cache_(base::MessageLoopProxy::current().get()) {} base 25 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath GetUsageFilePath() { base 34 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::MessageLoop message_loop_; base 35 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::ScopedTempDir data_dir_; base 42 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 48 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 57 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 65 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 78 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 89 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 99 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 116 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 130 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 144 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 149 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 154 webkit/browser/fileapi/file_system_usage_cache_unittest.cc base::FilePath usage_file_path = GetUsageFilePath(); base 52 webkit/browser/fileapi/file_writer_delegate.cc base::Bind(&FileWriterDelegate::OnWriteCancelled, base 57 webkit/browser/fileapi/file_writer_delegate.cc write_callback_.Run(base::File::FILE_ERROR_ABORT, 0, base 66 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_SECURITY); base 72 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_SECURITY); base 79 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_SECURITY); base 86 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_SECURITY); base 92 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_FAILED); base 102 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_FAILED); base 112 webkit/browser/fileapi/file_writer_delegate.cc base::MessageLoop::current()->PostTask( base 114 webkit/browser/fileapi/file_writer_delegate.cc base::Bind(&FileWriterDelegate::OnDataReceived, base 117 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_FAILED); base 140 webkit/browser/fileapi/file_writer_delegate.cc base::Bind(&FileWriterDelegate::OnDataWritten, base 143 webkit/browser/fileapi/file_writer_delegate.cc base::MessageLoop::current()->PostTask( base 145 webkit/browser/fileapi/file_writer_delegate.cc base::Bind(&FileWriterDelegate::OnDataWritten, base 171 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnError(base::File::Error error) { base 186 webkit/browser/fileapi/file_writer_delegate.cc base::Time currentTime = base::Time::Now(); base 195 webkit/browser/fileapi/file_writer_delegate.cc FlushForCompletion(base::File::FILE_OK, bytes_written, base 198 webkit/browser/fileapi/file_writer_delegate.cc write_callback_.Run(base::File::FILE_OK, bytes_written, base 207 webkit/browser/fileapi/file_writer_delegate.cc write_callback_.Run(base::File::FILE_ERROR_ABORT, 0, base 212 webkit/browser/fileapi/file_writer_delegate.cc base::File::Error error, base 216 webkit/browser/fileapi/file_writer_delegate.cc base::Bind(&FileWriterDelegate::OnFlushed, weak_factory_.GetWeakPtr(), base 222 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnFlushed(base::File::Error error, base 226 webkit/browser/fileapi/file_writer_delegate.cc if (error == base::File::FILE_OK && flush_error != net::OK) { base 32 webkit/browser/fileapi/file_writer_delegate.h typedef base::Callback<void(base::File::Error result, base 66 webkit/browser/fileapi/file_writer_delegate.h base::File::Error error, base 67 webkit/browser/fileapi/file_writer_delegate.h const base::File::Info& file_info); base 72 webkit/browser/fileapi/file_writer_delegate.h void OnError(base::File::Error error); base 75 webkit/browser/fileapi/file_writer_delegate.h void FlushForCompletion(base::File::Error error, base 78 webkit/browser/fileapi/file_writer_delegate.h void OnFlushed(base::File::Error error, base 87 webkit/browser/fileapi/file_writer_delegate.h base::Time last_progress_event_time_; base 96 webkit/browser/fileapi/file_writer_delegate.h base::WeakPtrFactory<FileWriterDelegate> weak_factory_; base 21 webkit/browser/fileapi/isolated_context.cc base::FilePath::StringType GetRegisterNameForPath(const base::FilePath& path) { base 27 webkit/browser/fileapi/isolated_context.cc base::FilePath::StringType name; base 29 webkit/browser/fileapi/isolated_context.cc i < path.value().size() && !base::FilePath::IsSeparator(path.value()[i]); base 50 webkit/browser/fileapi/isolated_context.cc static base::LazyInstance<IsolatedContext>::Leaky g_isolated_context = base 59 webkit/browser/fileapi/isolated_context.cc const base::FilePath& path, std::string* registered_name) { base 63 webkit/browser/fileapi/isolated_context.cc base::FilePath::StringType name = GetRegisterNameForPath(path); base 64 webkit/browser/fileapi/isolated_context.cc std::string utf8name = base::FilePath(name).AsUTF8Unsafe(); base 65 webkit/browser/fileapi/isolated_context.cc base::FilePath normalized_path = path.NormalizePathSeparators(); base 71 webkit/browser/fileapi/isolated_context.cc base::FilePath(name).RemoveExtension().AsUTF8Unsafe(); base 73 webkit/browser/fileapi/isolated_context.cc base::FilePath(base::FilePath(name).Extension()).AsUTF8Unsafe(); base 75 webkit/browser/fileapi/isolated_context.cc utf8name = base::StringPrintf("%s (%d)", basepart.c_str(), suffix++); base 88 webkit/browser/fileapi/isolated_context.cc const base::FilePath& path, const std::string& name) { base 127 webkit/browser/fileapi/isolated_context.cc bool ResolvePathForName(const std::string& name, base::FilePath* path) const; base 171 webkit/browser/fileapi/isolated_context.cc base::FilePath* path) const { base 178 webkit/browser/fileapi/isolated_context.cc *path = base::FilePath(); base 187 webkit/browser/fileapi/isolated_context.cc MountPointInfo(name, base::FilePath())); base 212 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 221 webkit/browser/fileapi/isolated_context.cc const base::FilePath& path_in, base 223 webkit/browser/fileapi/isolated_context.cc base::FilePath path(path_in.NormalizePathSeparators()); base 230 webkit/browser/fileapi/isolated_context.cc name = base::FilePath(GetRegisterNameForPath(path)).AsUTF8Unsafe(); base 235 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 246 webkit/browser/fileapi/isolated_context.cc const base::FilePath& cracked_path_prefix) { base 247 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 248 webkit/browser/fileapi/isolated_context.cc base::FilePath path(cracked_path_prefix.NormalizePathSeparators()); base 265 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 270 webkit/browser/fileapi/isolated_context.cc const std::string& filesystem_id, base::FilePath* path) const { base 272 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 281 webkit/browser/fileapi/isolated_context.cc const base::FilePath& virtual_path, base 284 webkit/browser/fileapi/isolated_context.cc base::FilePath* path, base 297 webkit/browser/fileapi/isolated_context.cc std::vector<base::FilePath::StringType> components; base 301 webkit/browser/fileapi/isolated_context.cc std::vector<base::FilePath::StringType>::iterator component_iter = base 303 webkit/browser/fileapi/isolated_context.cc std::string fsid = base::FilePath(*component_iter++).MaybeAsASCII(); base 307 webkit/browser/fileapi/isolated_context.cc base::FilePath cracked_path; base 309 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 325 webkit/browser/fileapi/isolated_context.cc std::string name = base::FilePath(*component_iter++).AsUTF8Unsafe(); base 346 webkit/browser/fileapi/isolated_context.cc const base::FilePath& path) const { base 350 webkit/browser/fileapi/isolated_context.cc void IsolatedContext::RevokeFileSystemByPath(const base::FilePath& path_in) { base 351 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 352 webkit/browser/fileapi/isolated_context.cc base::FilePath path(path_in.NormalizePathSeparators()); base 369 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 375 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 394 webkit/browser/fileapi/isolated_context.cc base::AutoLock locker(lock_); base 404 webkit/browser/fileapi/isolated_context.cc base::FilePath IsolatedContext::CreateVirtualRootPath( base 406 webkit/browser/fileapi/isolated_context.cc return base::FilePath().AppendASCII(filesystem_id); base 424 webkit/browser/fileapi/isolated_context.cc base::FilePath cracked_path; base 462 webkit/browser/fileapi/isolated_context.cc base::RandBytes(random_data, sizeof(random_data)); base 463 webkit/browser/fileapi/isolated_context.cc id = base::HexEncode(random_data, sizeof(random_data)); base 51 webkit/browser/fileapi/isolated_context.h bool AddPath(const base::FilePath& path, std::string* registered_name); base 56 webkit/browser/fileapi/isolated_context.h bool AddPathWithName(const base::FilePath& path, const std::string& name); base 102 webkit/browser/fileapi/isolated_context.h const base::FilePath& path, base 113 webkit/browser/fileapi/isolated_context.h const base::FilePath& cracked_path_prefix); base 123 webkit/browser/fileapi/isolated_context.h void RevokeFileSystemByPath(const base::FilePath& path); base 146 webkit/browser/fileapi/isolated_context.h base::FilePath* path) const OVERRIDE; base 148 webkit/browser/fileapi/isolated_context.h const base::FilePath& virtual_path, base 151 webkit/browser/fileapi/isolated_context.h base::FilePath* path, base 157 webkit/browser/fileapi/isolated_context.h const base::FilePath& path) const OVERRIDE; base 160 webkit/browser/fileapi/isolated_context.h base::FilePath CreateVirtualRootPath(const std::string& filesystem_id) const; base 163 webkit/browser/fileapi/isolated_context.h friend struct base::DefaultLazyInstanceTraits<IsolatedContext>; base 171 webkit/browser/fileapi/isolated_context.h typedef std::map<base::FilePath, std::set<std::string> > PathToID; base 189 webkit/browser/fileapi/isolated_context.h mutable base::Lock lock_; base 27 webkit/browser/fileapi/isolated_context_unittest.cc const base::FilePath kTestPaths[] = { base 28 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(DRIVE FPL("/a/b.txt")), base 29 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(DRIVE FPL("/c/d/e")), base 30 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(DRIVE FPL("/h/")), base 31 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(DRIVE FPL("/")), base 33 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(DRIVE FPL("\\foo\\bar")), base 34 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(DRIVE FPL("\\")), base 37 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(DRIVE FPL("/")), base 38 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(DRIVE FPL("/f/e")), base 39 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(DRIVE FPL("/f/b.txt")), base 74 webkit/browser/fileapi/isolated_context_unittest.cc std::multiset<base::FilePath> fileset_; base 94 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath virtual_path = isolated_context()->CreateVirtualRootPath(id_) base 97 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath cracked_path; base 111 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath path; base 118 webkit/browser/fileapi/isolated_context_unittest.cc kFileSystemTypeNativeLocal, base::FilePath(DRIVE FPL("/foo")), NULL); base 170 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath::StringType path; base 191 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath virtual_path = base 195 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath cracked_path; base 218 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath::StringType path; base 239 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath virtual_path = base 264 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath cracked_path; base 270 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath virtual_path = isolated_context()->CreateVirtualRootPath(id_); base 286 webkit/browser/fileapi/isolated_context_unittest.cc const base::FilePath test_path(FPL("/mount")); base 315 webkit/browser/fileapi/isolated_context_unittest.cc fileapi::kFileSystemTypeIsolated, "_", base::FilePath()); base 319 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath(FPL("relpath"))); base 324 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath database_root = base::FilePath(DRIVE FPL("/database_path")); base 329 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath test_virtual_path = base 330 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath().AppendASCII("virtualdir").AppendASCII("virtualfile.txt"); base 332 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath whole_virtual_path = base 337 webkit/browser/fileapi/isolated_context_unittest.cc base::FilePath cracked_path; base 65 webkit/browser/fileapi/isolated_file_system_backend.cc base::MessageLoopProxy::current()->PostTask( base 67 webkit/browser/fileapi/isolated_file_system_backend.cc base::Bind(callback, base 70 webkit/browser/fileapi/isolated_file_system_backend.cc base::File::FILE_ERROR_SECURITY)); base 90 webkit/browser/fileapi/isolated_file_system_backend.cc FileSystemType type, base::File::Error* error_code) { base 92 webkit/browser/fileapi/isolated_file_system_backend.cc *error_code = base::File::FILE_OK; base 99 webkit/browser/fileapi/isolated_file_system_backend.cc base::File::Error* error_code) const { base 113 webkit/browser/fileapi/isolated_file_system_backend.cc const base::Time& expected_modification_time, base 29 webkit/browser/fileapi/isolated_file_system_backend.h base::File::Error* error_code) OVERRIDE; base 33 webkit/browser/fileapi/isolated_file_system_backend.h base::File::Error* error_code) const OVERRIDE; base 38 webkit/browser/fileapi/isolated_file_system_backend.h const base::Time& expected_modification_time, base 17 webkit/browser/fileapi/local_file_stream_writer.cc const int kOpenFlagsForWrite = base::PLATFORM_FILE_OPEN | base 18 webkit/browser/fileapi/local_file_stream_writer.cc base::PLATFORM_FILE_WRITE | base 19 webkit/browser/fileapi/local_file_stream_writer.cc base::PLATFORM_FILE_ASYNC; base 20 webkit/browser/fileapi/local_file_stream_writer.cc const int kCreateFlagsForWrite = base::PLATFORM_FILE_CREATE | base 21 webkit/browser/fileapi/local_file_stream_writer.cc base::PLATFORM_FILE_WRITE | base 22 webkit/browser/fileapi/local_file_stream_writer.cc base::PLATFORM_FILE_ASYNC; base 27 webkit/browser/fileapi/local_file_stream_writer.cc base::TaskRunner* task_runner, base 28 webkit/browser/fileapi/local_file_stream_writer.cc const base::FilePath& file_path, base 58 webkit/browser/fileapi/local_file_stream_writer.cc base::Bind(&LocalFileStreamWriter::ReadyToWrite, base 87 webkit/browser/fileapi/local_file_stream_writer.cc LocalFileStreamWriter::LocalFileStreamWriter(base::TaskRunner* task_runner, base 88 webkit/browser/fileapi/local_file_stream_writer.cc const base::FilePath& file_path, base 100 webkit/browser/fileapi/local_file_stream_writer.cc const base::Closure& main_operation) { base 118 webkit/browser/fileapi/local_file_stream_writer.cc base::Bind(&LocalFileStreamWriter::DidOpen, base 126 webkit/browser/fileapi/local_file_stream_writer.cc const base::Closure& main_operation, base 146 webkit/browser/fileapi/local_file_stream_writer.cc const base::Closure& main_operation) { base 157 webkit/browser/fileapi/local_file_stream_writer.cc base::Bind(&LocalFileStreamWriter::DidSeek, base 169 webkit/browser/fileapi/local_file_stream_writer.cc const base::Closure& main_operation, base 209 webkit/browser/fileapi/local_file_stream_writer.cc base::Bind(&LocalFileStreamWriter::DidWrite, base 229 webkit/browser/fileapi/local_file_stream_writer.cc return stream_impl_->Flush(base::Bind(&LocalFileStreamWriter::DidFlush, base 42 webkit/browser/fileapi/local_file_stream_writer.h LocalFileStreamWriter(base::TaskRunner* task_runner, base 43 webkit/browser/fileapi/local_file_stream_writer.h const base::FilePath& file_path, base 50 webkit/browser/fileapi/local_file_stream_writer.h const base::Closure& main_operation); base 52 webkit/browser/fileapi/local_file_stream_writer.h const base::Closure& main_operation, base 58 webkit/browser/fileapi/local_file_stream_writer.h const base::Closure& main_operation); base 60 webkit/browser/fileapi/local_file_stream_writer.h const base::Closure& main_operation, base 81 webkit/browser/fileapi/local_file_stream_writer.h const base::FilePath file_path_; base 84 webkit/browser/fileapi/local_file_stream_writer.h scoped_refptr<base::TaskRunner> task_runner_; base 91 webkit/browser/fileapi/local_file_stream_writer.h base::WeakPtrFactory<LocalFileStreamWriter> weak_factory_; base 35 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 37 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 41 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath Path(const std::string& name) { base 64 webkit/browser/fileapi/local_file_stream_writer_unittest.cc std::string GetFileContent(const base::FilePath& path) { base 66 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::ReadFileToString(path, &content); base 70 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath CreateFileWithContent(const std::string& name, base 72 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath path = Path(name); base 73 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::WriteFile(path, data.c_str(), data.size()); base 77 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::MessageLoopProxy* file_task_runner() const { base 81 webkit/browser/fileapi/local_file_stream_writer_unittest.cc LocalFileStreamWriter* CreateWriter(const base::FilePath& path, base 88 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::MessageLoopForIO message_loop_; base 89 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::Thread file_thread_; base 90 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::ScopedTempDir temp_dir_; base 98 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath path = CreateFileWithContent("file_a", std::string()); base 103 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 104 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_TRUE(base::PathExists(path)); base 109 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath path = CreateFileWithContent("file_a", "foobar"); base 113 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 114 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_TRUE(base::PathExists(path)); base 119 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath path = CreateFileWithContent("file_a", "foobar"); base 123 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 124 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_TRUE(base::PathExists(path)); base 129 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath path = Path("file_a"); base 130 webkit/browser/fileapi/local_file_stream_writer_unittest.cc ASSERT_FALSE(base::PathExists(path)); base 134 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 135 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_FALSE(base::PathExists(path)); base 139 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath path = Path("file_a"); base 142 webkit/browser/fileapi/local_file_stream_writer_unittest.cc int cancel_result = writer->Cancel(base::Bind(&NeverCalled)); base 147 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath path = CreateFileWithContent("file_a", std::string()); base 152 webkit/browser/fileapi/local_file_stream_writer_unittest.cc int cancel_result = writer->Cancel(base::Bind(&NeverCalled)); base 156 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::RunLoop().RunUntilIdle(); base 158 webkit/browser/fileapi/local_file_stream_writer_unittest.cc EXPECT_TRUE(base::PathExists(path)); base 163 webkit/browser/fileapi/local_file_stream_writer_unittest.cc base::FilePath path = CreateFileWithContent("file_a", "foobar"); base 168 webkit/browser/fileapi/local_file_stream_writer_unittest.cc writer->Write(buffer.get(), buffer->size(), base::Bind(&NeverCalled)); base 27 webkit/browser/fileapi/local_file_util.cc LocalFileEnumerator(const base::FilePath& platform_root_path, base 28 webkit/browser/fileapi/local_file_util.cc const base::FilePath& virtual_root_path, base 37 webkit/browser/fileapi/local_file_util.cc virtual base::FilePath Next() OVERRIDE; base 39 webkit/browser/fileapi/local_file_util.cc virtual base::Time LastModifiedTime() OVERRIDE; base 43 webkit/browser/fileapi/local_file_util.cc base::FileEnumerator file_enum_; base 44 webkit/browser/fileapi/local_file_util.cc base::FileEnumerator::FileInfo file_util_info_; base 45 webkit/browser/fileapi/local_file_util.cc base::FilePath platform_root_path_; base 46 webkit/browser/fileapi/local_file_util.cc base::FilePath virtual_root_path_; base 49 webkit/browser/fileapi/local_file_util.cc base::FilePath LocalFileEnumerator::Next() { base 50 webkit/browser/fileapi/local_file_util.cc base::FilePath next = file_enum_.Next(); base 52 webkit/browser/fileapi/local_file_util.cc while (!next.empty() && base::IsLink(next)) base 58 webkit/browser/fileapi/local_file_util.cc base::FilePath path; base 67 webkit/browser/fileapi/local_file_util.cc base::Time LocalFileEnumerator::LastModifiedTime() { base 79 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::CreateOrOpen( base 82 webkit/browser/fileapi/local_file_util.cc base::PlatformFile* file_handle, bool* created) { base 84 webkit/browser/fileapi/local_file_util.cc base::FilePath file_path; base 85 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 86 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 89 webkit/browser/fileapi/local_file_util.cc if (base::IsLink(file_path)) base 90 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 93 webkit/browser/fileapi/local_file_util.cc base::File file = NativeFileUtil::CreateOrOpen(file_path, file_flags); base 99 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_OK; base 102 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::Close(FileSystemOperationContext* context, base 103 webkit/browser/fileapi/local_file_util.cc base::PlatformFile file) { base 104 webkit/browser/fileapi/local_file_util.cc base::File auto_closed(file); base 105 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_OK; base 108 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::EnsureFileExists( base 112 webkit/browser/fileapi/local_file_util.cc base::FilePath file_path; base 113 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 114 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 119 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::CreateDirectory( base 124 webkit/browser/fileapi/local_file_util.cc base::FilePath file_path; base 125 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 126 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 131 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::GetFileInfo( base 134 webkit/browser/fileapi/local_file_util.cc base::File::Info* file_info, base 135 webkit/browser/fileapi/local_file_util.cc base::FilePath* platform_file_path) { base 136 webkit/browser/fileapi/local_file_util.cc base::FilePath file_path; base 137 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 138 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 141 webkit/browser/fileapi/local_file_util.cc if (base::IsLink(file_path)) base 142 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 145 webkit/browser/fileapi/local_file_util.cc if (error == base::File::FILE_OK) base 154 webkit/browser/fileapi/local_file_util.cc base::FilePath file_path; base 156 webkit/browser/fileapi/local_file_util.cc base::File::FILE_OK) { base 162 webkit/browser/fileapi/local_file_util.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES)) base 166 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::GetLocalFilePath( base 169 webkit/browser/fileapi/local_file_util.cc base::FilePath* local_file_path) { base 174 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_ERROR_ACCESS_DENIED; base 177 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_OK; base 180 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::Touch( base 183 webkit/browser/fileapi/local_file_util.cc const base::Time& last_access_time, base 184 webkit/browser/fileapi/local_file_util.cc const base::Time& last_modified_time) { base 185 webkit/browser/fileapi/local_file_util.cc base::FilePath file_path; base 186 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 187 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 192 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::Truncate( base 196 webkit/browser/fileapi/local_file_util.cc base::FilePath file_path; base 197 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 198 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 203 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::CopyOrMoveFile( base 209 webkit/browser/fileapi/local_file_util.cc base::FilePath src_file_path; base 210 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, src_url, &src_file_path); base 211 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 214 webkit/browser/fileapi/local_file_util.cc base::FilePath dest_file_path; base 216 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 224 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::CopyInForeignFile( base 226 webkit/browser/fileapi/local_file_util.cc const base::FilePath& src_file_path, base 229 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 231 webkit/browser/fileapi/local_file_util.cc base::FilePath dest_file_path; base 232 webkit/browser/fileapi/local_file_util.cc base::File::Error error = base 234 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 242 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::DeleteFile( base 245 webkit/browser/fileapi/local_file_util.cc base::FilePath file_path; base 246 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 247 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 252 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::DeleteDirectory( base 255 webkit/browser/fileapi/local_file_util.cc base::FilePath file_path; base 256 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); base 257 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) base 265 webkit/browser/fileapi/local_file_util.cc base::File::Error* error, base 266 webkit/browser/fileapi/local_file_util.cc base::File::Info* file_info, base 267 webkit/browser/fileapi/local_file_util.cc base::FilePath* platform_path) { base 271 webkit/browser/fileapi/local_file_util.cc if (*error == base::File::FILE_OK && file_info->is_directory) base 272 webkit/browser/fileapi/local_file_util.cc *error = base::File::FILE_ERROR_NOT_A_FILE; base 15 webkit/browser/fileapi/local_file_util.h namespace base { base 33 webkit/browser/fileapi/local_file_util.h virtual base::File::Error CreateOrOpen( base 37 webkit/browser/fileapi/local_file_util.h base::PlatformFile* file_handle, base 39 webkit/browser/fileapi/local_file_util.h virtual base::File::Error Close( base 41 webkit/browser/fileapi/local_file_util.h base::PlatformFile file) OVERRIDE; base 42 webkit/browser/fileapi/local_file_util.h virtual base::File::Error EnsureFileExists( base 45 webkit/browser/fileapi/local_file_util.h virtual base::File::Error CreateDirectory( base 50 webkit/browser/fileapi/local_file_util.h virtual base::File::Error GetFileInfo( base 53 webkit/browser/fileapi/local_file_util.h base::File::Info* file_info, base 54 webkit/browser/fileapi/local_file_util.h base::FilePath* platform_file) OVERRIDE; base 58 webkit/browser/fileapi/local_file_util.h virtual base::File::Error GetLocalFilePath( base 61 webkit/browser/fileapi/local_file_util.h base::FilePath* local_file_path) OVERRIDE; base 62 webkit/browser/fileapi/local_file_util.h virtual base::File::Error Touch( base 65 webkit/browser/fileapi/local_file_util.h const base::Time& last_access_time, base 66 webkit/browser/fileapi/local_file_util.h const base::Time& last_modified_time) OVERRIDE; base 67 webkit/browser/fileapi/local_file_util.h virtual base::File::Error Truncate( base 71 webkit/browser/fileapi/local_file_util.h virtual base::File::Error CopyOrMoveFile( base 77 webkit/browser/fileapi/local_file_util.h virtual base::File::Error CopyInForeignFile( base 79 webkit/browser/fileapi/local_file_util.h const base::FilePath& src_file_path, base 81 webkit/browser/fileapi/local_file_util.h virtual base::File::Error DeleteFile( base 84 webkit/browser/fileapi/local_file_util.h virtual base::File::Error DeleteDirectory( base 90 webkit/browser/fileapi/local_file_util.h base::File::Error* error, base 91 webkit/browser/fileapi/local_file_util.h base::File::Info* file_info, base 92 webkit/browser/fileapi/local_file_util.h base::FilePath* platform_path) OVERRIDE; base 11 webkit/browser/fileapi/mount_points.cc const std::string& name, const base::FilePath& path) base 30 webkit/browser/fileapi/mount_points.h MountPointInfo(const std::string& name, const base::FilePath& path); base 38 webkit/browser/fileapi/mount_points.h base::FilePath path; base 69 webkit/browser/fileapi/mount_points.h const base::FilePath& path) const = 0; base 74 webkit/browser/fileapi/mount_points.h base::FilePath* path) const = 0; base 87 webkit/browser/fileapi/mount_points.h virtual bool CrackVirtualPath(const base::FilePath& virtual_path, base 90 webkit/browser/fileapi/mount_points.h base::FilePath* path, base 22 webkit/browser/fileapi/native_file_util.cc bool SetPlatformSpecificDirectoryPermissions(const base::FilePath& dir_path) { base 39 webkit/browser/fileapi/native_file_util.cc bool CopyFileAndSync(const base::FilePath& from, const base::FilePath& to) { base 40 webkit/browser/fileapi/native_file_util.cc base::File infile(from, base::File::FLAG_OPEN | base::File::FLAG_READ); base 45 webkit/browser/fileapi/native_file_util.cc base::File outfile(to, base 46 webkit/browser/fileapi/native_file_util.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); base 74 webkit/browser/fileapi/native_file_util.cc using base::PlatformFile; base 78 webkit/browser/fileapi/native_file_util.cc NativeFileEnumerator(const base::FilePath& root_path, base 86 webkit/browser/fileapi/native_file_util.cc virtual base::FilePath Next() OVERRIDE; base 88 webkit/browser/fileapi/native_file_util.cc virtual base::Time LastModifiedTime() OVERRIDE; base 92 webkit/browser/fileapi/native_file_util.cc base::FileEnumerator file_enum_; base 93 webkit/browser/fileapi/native_file_util.cc base::FileEnumerator::FileInfo file_util_info_; base 96 webkit/browser/fileapi/native_file_util.cc base::FilePath NativeFileEnumerator::Next() { base 97 webkit/browser/fileapi/native_file_util.cc base::FilePath rv = file_enum_.Next(); base 107 webkit/browser/fileapi/native_file_util.cc base::Time NativeFileEnumerator::LastModifiedTime() { base 124 webkit/browser/fileapi/native_file_util.cc base::File NativeFileUtil::CreateOrOpen(const base::FilePath& path, base 126 webkit/browser/fileapi/native_file_util.cc if (!base::DirectoryExists(path.DirName())) { base 128 webkit/browser/fileapi/native_file_util.cc return base::File(base::File::FILE_ERROR_NOT_FOUND); base 132 webkit/browser/fileapi/native_file_util.cc if (base::DirectoryExists(path)) base 133 webkit/browser/fileapi/native_file_util.cc return base::File(base::File::FILE_ERROR_NOT_A_FILE); base 135 webkit/browser/fileapi/native_file_util.cc return base::File(path, file_flags); base 138 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::EnsureFileExists( base 139 webkit/browser/fileapi/native_file_util.cc const base::FilePath& path, base 141 webkit/browser/fileapi/native_file_util.cc if (!base::DirectoryExists(path.DirName())) base 143 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 147 webkit/browser/fileapi/native_file_util.cc base::File file(path, base::File::FLAG_CREATE | base::File::FLAG_READ); base 152 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; base 155 webkit/browser/fileapi/native_file_util.cc base::File::Error error_code = file.error_details(); base 156 webkit/browser/fileapi/native_file_util.cc if (error_code == base::File::FILE_ERROR_EXISTS) { base 160 webkit/browser/fileapi/native_file_util.cc error_code = base::File::FILE_OK; base 165 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::CreateDirectory( base 166 webkit/browser/fileapi/native_file_util.cc const base::FilePath& path, base 170 webkit/browser/fileapi/native_file_util.cc if (!recursive && !base::PathExists(path.DirName())) base 171 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 173 webkit/browser/fileapi/native_file_util.cc bool path_exists = base::PathExists(path); base 175 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_EXISTS; base 178 webkit/browser/fileapi/native_file_util.cc if (path_exists && !base::DirectoryExists(path)) base 179 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_EXISTS; base 181 webkit/browser/fileapi/native_file_util.cc if (!base::CreateDirectory(path)) base 182 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; base 191 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; base 194 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::GetFileInfo( base 195 webkit/browser/fileapi/native_file_util.cc const base::FilePath& path, base 196 webkit/browser/fileapi/native_file_util.cc base::File::Info* file_info) { base 197 webkit/browser/fileapi/native_file_util.cc if (!base::PathExists(path)) base 198 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 200 webkit/browser/fileapi/native_file_util.cc if (!base::GetFileInfo(path, file_info)) base 201 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; base 202 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; base 206 webkit/browser/fileapi/native_file_util.cc NativeFileUtil::CreateFileEnumerator(const base::FilePath& root_path, base 210 webkit/browser/fileapi/native_file_util.cc base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES)) base 214 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::Touch( base 215 webkit/browser/fileapi/native_file_util.cc const base::FilePath& path, base 216 webkit/browser/fileapi/native_file_util.cc const base::Time& last_access_time, base 217 webkit/browser/fileapi/native_file_util.cc const base::Time& last_modified_time) { base 218 webkit/browser/fileapi/native_file_util.cc if (!base::TouchFile(path, last_access_time, last_modified_time)) base 219 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; base 220 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; base 223 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::Truncate(const base::FilePath& path, base 225 webkit/browser/fileapi/native_file_util.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_WRITE); base 230 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; base 232 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; base 235 webkit/browser/fileapi/native_file_util.cc bool NativeFileUtil::PathExists(const base::FilePath& path) { base 236 webkit/browser/fileapi/native_file_util.cc return base::PathExists(path); base 239 webkit/browser/fileapi/native_file_util.cc bool NativeFileUtil::DirectoryExists(const base::FilePath& path) { base 240 webkit/browser/fileapi/native_file_util.cc return base::DirectoryExists(path); base 243 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::CopyOrMoveFile( base 244 webkit/browser/fileapi/native_file_util.cc const base::FilePath& src_path, base 245 webkit/browser/fileapi/native_file_util.cc const base::FilePath& dest_path, base 248 webkit/browser/fileapi/native_file_util.cc base::File::Info info; base 249 webkit/browser/fileapi/native_file_util.cc base::File::Error error = NativeFileUtil::GetFileInfo(src_path, &info); base 250 webkit/browser/fileapi/native_file_util.cc if (error != base::File::FILE_OK) base 253 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; base 254 webkit/browser/fileapi/native_file_util.cc base::Time last_modified = info.last_modified; base 257 webkit/browser/fileapi/native_file_util.cc if (error != base::File::FILE_OK && base 258 webkit/browser/fileapi/native_file_util.cc error != base::File::FILE_ERROR_NOT_FOUND) base 261 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 262 webkit/browser/fileapi/native_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) { base 264 webkit/browser/fileapi/native_file_util.cc if (error != base::File::FILE_OK) base 267 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 272 webkit/browser/fileapi/native_file_util.cc if (!base::CopyFile(src_path, dest_path)) base 273 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; base 277 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; base 280 webkit/browser/fileapi/native_file_util.cc if (!base::Move(src_path, dest_path)) base 281 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; base 288 webkit/browser/fileapi/native_file_util.cc base::TouchFile(dest_path, last_modified, last_modified); base 290 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; base 293 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::DeleteFile(const base::FilePath& path) { base 294 webkit/browser/fileapi/native_file_util.cc if (!base::PathExists(path)) base 295 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 296 webkit/browser/fileapi/native_file_util.cc if (base::DirectoryExists(path)) base 297 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; base 298 webkit/browser/fileapi/native_file_util.cc if (!base::DeleteFile(path, false)) base 299 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; base 300 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; base 303 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::DeleteDirectory(const base::FilePath& path) { base 304 webkit/browser/fileapi/native_file_util.cc if (!base::PathExists(path)) base 305 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 306 webkit/browser/fileapi/native_file_util.cc if (!base::DirectoryExists(path)) base 307 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 308 webkit/browser/fileapi/native_file_util.cc if (!base::IsDirectoryEmpty(path)) base 309 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_EMPTY; base 310 webkit/browser/fileapi/native_file_util.cc if (!base::DeleteFile(path, false)) base 311 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; base 312 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; base 15 webkit/browser/fileapi/native_file_util.h namespace base { base 41 webkit/browser/fileapi/native_file_util.h static base::File CreateOrOpen(const base::FilePath& path, base 43 webkit/browser/fileapi/native_file_util.h static base::File::Error EnsureFileExists(const base::FilePath& path, base 45 webkit/browser/fileapi/native_file_util.h static base::File::Error CreateDirectory(const base::FilePath& path, base 48 webkit/browser/fileapi/native_file_util.h static base::File::Error GetFileInfo(const base::FilePath& path, base 49 webkit/browser/fileapi/native_file_util.h base::File::Info* file_info); base 51 webkit/browser/fileapi/native_file_util.h CreateFileEnumerator(const base::FilePath& root_path, base 53 webkit/browser/fileapi/native_file_util.h static base::File::Error Touch(const base::FilePath& path, base 54 webkit/browser/fileapi/native_file_util.h const base::Time& last_access_time, base 55 webkit/browser/fileapi/native_file_util.h const base::Time& last_modified_time); base 56 webkit/browser/fileapi/native_file_util.h static base::File::Error Truncate(const base::FilePath& path, base 58 webkit/browser/fileapi/native_file_util.h static bool PathExists(const base::FilePath& path); base 59 webkit/browser/fileapi/native_file_util.h static bool DirectoryExists(const base::FilePath& path); base 60 webkit/browser/fileapi/native_file_util.h static base::File::Error CopyOrMoveFile( base 61 webkit/browser/fileapi/native_file_util.h const base::FilePath& src_path, base 62 webkit/browser/fileapi/native_file_util.h const base::FilePath& dest_path, base 65 webkit/browser/fileapi/native_file_util.h static base::File::Error DeleteFile(const base::FilePath& path); base 66 webkit/browser/fileapi/native_file_util.h static base::File::Error DeleteDirectory(const base::FilePath& path); base 25 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath Path() { base 29 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath Path(const char* file_name) { base 33 webkit/browser/fileapi/native_file_util_unittest.cc bool FileExists(const base::FilePath& path) { base 34 webkit/browser/fileapi/native_file_util_unittest.cc return base::PathExists(path) && base 35 webkit/browser/fileapi/native_file_util_unittest.cc !base::DirectoryExists(path); base 38 webkit/browser/fileapi/native_file_util_unittest.cc int64 GetSize(const base::FilePath& path) { base 39 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info info; base 40 webkit/browser/fileapi/native_file_util_unittest.cc base::GetFileInfo(path, &info); base 45 webkit/browser/fileapi/native_file_util_unittest.cc base::ScopedTempDir data_dir_; base 51 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath file_name = Path("test_file"); base 52 webkit/browser/fileapi/native_file_util_unittest.cc int flags = base::File::FLAG_WRITE | base::File::FLAG_ASYNC; base 53 webkit/browser/fileapi/native_file_util_unittest.cc base::File file = base 54 webkit/browser/fileapi/native_file_util_unittest.cc NativeFileUtil::CreateOrOpen(file_name, base::File::FLAG_CREATE | flags); base 58 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_TRUE(base::PathExists(file_name)); base 63 webkit/browser/fileapi/native_file_util_unittest.cc file = NativeFileUtil::CreateOrOpen(file_name, base::File::FLAG_OPEN | flags); base 68 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 70 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_FALSE(base::PathExists(file_name)); base 75 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath file_name = Path("foobar"); base 77 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 84 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 90 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath dir_name = Path("test_dir"); base 91 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 97 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_TRUE(base::DirectoryExists(dir_name)); base 99 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_EXISTS, base 104 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 106 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_FALSE(base::DirectoryExists(dir_name)); base 111 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath file_name = Path("test_file"); base 112 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info native_info; base 113 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 117 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 121 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info info; base 122 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_TRUE(base::GetFileInfo(file_name, &info)); base 123 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 132 webkit/browser/fileapi/native_file_util_unittest.cc const base::Time new_accessed = base 133 webkit/browser/fileapi/native_file_util_unittest.cc info.last_accessed + base::TimeDelta::FromHours(10); base 134 webkit/browser/fileapi/native_file_util_unittest.cc const base::Time new_modified = base 135 webkit/browser/fileapi/native_file_util_unittest.cc info.last_modified + base::TimeDelta::FromHours(5); base 137 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, base 141 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_TRUE(base::GetFileInfo(file_name, &info)); base 147 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath path_1 = Path("dir1"); base 148 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath path_2 = Path("file1"); base 149 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath path_11 = Path("dir1").AppendASCII("file11"); base 150 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath path_12 = Path("dir1").AppendASCII("dir12"); base 151 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath path_121 = base 153 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 156 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 158 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 160 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 162 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 168 webkit/browser/fileapi/native_file_util_unittest.cc std::set<base::FilePath> set; base 171 webkit/browser/fileapi/native_file_util_unittest.cc for (base::FilePath path = enumerator->Next(); !path.empty(); base 180 webkit/browser/fileapi/native_file_util_unittest.cc std::set<base::FilePath> set; base 186 webkit/browser/fileapi/native_file_util_unittest.cc for (base::FilePath path = enumerator->Next(); !path.empty(); base 194 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath file_name = Path("truncated"); base 196 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 200 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 208 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath from_file = Path("fromfile"); base 209 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath to_file1 = Path("tofile1"); base 210 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath to_file2 = Path("tofile2"); base 214 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 218 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 224 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 228 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 239 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath dir = Path("dir"); base 240 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 242 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_TRUE(base::DirectoryExists(dir)); base 243 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath to_dir_file = dir.AppendASCII("file"); base 244 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 253 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 259 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_FILE, base 263 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, base 267 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 272 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 279 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath from_file = Path("fromfile"); base 280 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath to_file = Path("tofile"); base 283 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 287 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, NativeFileUtil::Truncate(from_file, 1020)); base 292 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 300 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 303 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, NativeFileUtil::Truncate(from_file, 1020)); base 305 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath dir = Path("dir"); base 306 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 308 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_TRUE(base::DirectoryExists(dir)); base 309 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath to_dir_file = dir.AppendASCII("file"); base 310 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 320 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 326 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_FILE, base 329 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 333 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, base 337 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 341 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 346 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base 353 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath from_file = Path("fromfile"); base 354 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath to_file1 = Path("tofile1"); base 355 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath to_file2 = Path("tofile2"); base 356 webkit/browser/fileapi/native_file_util_unittest.cc base::FilePath to_file3 = Path("tofile3"); base 358 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 363 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info file_info1; base 364 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 368 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 374 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info file_info2; base 376 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 381 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 388 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 393 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 400 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, base 56 webkit/browser/fileapi/obfuscated_file_util.cc const base::FilePath::StringType& file_name) { base 96 webkit/browser/fileapi/obfuscated_file_util.cc if (!db->UpdateModificationTime(dir_id, base::Time::Now())) base 108 webkit/browser/fileapi/obfuscated_file_util.cc using base::PlatformFile; base 125 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath root_virtual_path = root_url.path(); base 137 webkit/browser/fileapi/obfuscated_file_util.cc virtual base::FilePath Next() OVERRIDE { base 140 webkit/browser/fileapi/obfuscated_file_util.cc return base::FilePath(); base 146 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath platform_file_path; base 147 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base 151 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 154 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath virtual_path = base 167 webkit/browser/fileapi/obfuscated_file_util.cc virtual base::Time LastModifiedTime() OVERRIDE { base 181 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath virtual_path; base 204 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath current_parent_virtual_path_; base 207 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info current_platform_file_info_; base 216 webkit/browser/fileapi/obfuscated_file_util.cc const base::FilePath& base_file_path) base 243 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath path = base 245 webkit/browser/fileapi/obfuscated_file_util.cc return base::DirectoryExists(path); base 251 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath base_file_path_; base 256 webkit/browser/fileapi/obfuscated_file_util.cc const base::FilePath& file_system_directory, base 258 webkit/browser/fileapi/obfuscated_file_util.cc base::SequencedTaskRunner* file_task_runner, base 276 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CreateOrOpen( base 280 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = CreateOrOpenInternal(context, url, file_flags, base 282 webkit/browser/fileapi/obfuscated_file_util.cc if (*file_handle != base::kInvalidPlatformFileValue && base 283 webkit/browser/fileapi/obfuscated_file_util.cc file_flags & base::PLATFORM_FILE_WRITE && base 286 webkit/browser/fileapi/obfuscated_file_util.cc DCHECK_EQ(base::File::FILE_OK, error); base 292 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::Close( base 294 webkit/browser/fileapi/obfuscated_file_util.cc base::PlatformFile file) { base 295 webkit/browser/fileapi/obfuscated_file_util.cc base::File auto_closed(file); base 296 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 299 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::EnsureFileExists( base 305 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 312 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 315 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; base 318 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 322 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 330 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; base 331 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = CreateFile( base 332 webkit/browser/fileapi/obfuscated_file_util.cc context, base::FilePath(), url, &file_info, 0, NULL); base 333 webkit/browser/fileapi/obfuscated_file_util.cc if (created && base::File::FILE_OK == error) { base 342 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CreateDirectory( base 349 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 355 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_EXISTS; base 358 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 361 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 362 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 365 webkit/browser/fileapi/obfuscated_file_util.cc std::vector<base::FilePath::StringType> components; base 370 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath::StringType name = components[index]; base 377 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 379 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 386 webkit/browser/fileapi/obfuscated_file_util.cc file_info.modification_time = base::Time::Now(); base 390 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; base 391 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = db->AddFileInfo(file_info, &parent_id); base 392 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 402 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 405 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::GetFileInfo( base 408 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info* file_info, base 409 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath* platform_file_path) { base 412 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 415 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 429 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::GetLocalFilePath( base 432 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath* local_path) { base 435 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 438 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 443 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 448 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 449 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 452 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::Touch( base 455 webkit/browser/fileapi/obfuscated_file_util.cc const base::Time& last_access_time, base 456 webkit/browser/fileapi/obfuscated_file_util.cc const base::Time& last_modified_time) { base 459 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 462 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 467 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 471 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 472 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 479 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::Truncate( base 483 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info file_info; base 484 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath local_path; base 485 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base 487 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 492 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; base 494 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_OK) { base 502 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CopyOrMoveFile( base 514 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 518 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 525 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info src_platform_file_info; base 526 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath src_local_path; base 527 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( base 530 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 533 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; base 536 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info dest_platform_file_info; // overwrite case only base 537 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath dest_local_path; // overwrite case only base 539 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( base 542 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) base 544 webkit/browser/fileapi/obfuscated_file_util.cc else if (error != base::File::FILE_OK) base 547 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 553 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 572 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; base 588 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_FAILED; base 604 webkit/browser/fileapi/obfuscated_file_util.cc if (base::File::FILE_OK != base 607 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_OK; base 609 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_FAILED; base 613 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_OK; base 615 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_FAILED; base 619 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 644 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CopyInForeignFile( base 646 webkit/browser/fileapi/obfuscated_file_util.cc const base::FilePath& src_file_path, base 650 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 652 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info src_platform_file_info; base 653 webkit/browser/fileapi/obfuscated_file_util.cc if (!base::GetFileInfo(src_file_path, &src_platform_file_info)) base 654 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 661 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info dest_platform_file_info; // overwrite case only base 663 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath dest_local_path; base 664 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( base 667 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) base 669 webkit/browser/fileapi/obfuscated_file_util.cc else if (error != base::File::FILE_OK) base 672 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 678 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 681 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 692 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; base 694 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error; base 696 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath dest_local_path = base 708 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 721 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 724 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::DeleteFile( base 729 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 732 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 735 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info platform_file_info; base 736 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath local_path; base 737 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( base 739 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_ERROR_NOT_FOUND && base 740 webkit/browser/fileapi/obfuscated_file_util.cc error != base::File::FILE_OK) base 744 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; base 750 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 758 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) base 759 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 762 webkit/browser/fileapi/obfuscated_file_util.cc if (base::File::FILE_OK != error) base 764 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 767 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::DeleteDirectory( base 772 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 776 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 780 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 783 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 785 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_EMPTY; base 792 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 798 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error* error, base 799 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info* file_info, base 800 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath* platform_path) { base 803 webkit/browser/fileapi/obfuscated_file_util.cc if (*error == base::File::FILE_OK && file_info->is_directory) { base 804 webkit/browser/fileapi/obfuscated_file_util.cc *file_info = base::File::Info(); base 805 webkit/browser/fileapi/obfuscated_file_util.cc *error = base::File::FILE_ERROR_NOT_A_FILE; base 847 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath ObfuscatedFileUtil::GetDirectoryForOriginAndType( base 851 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error* error_code) { base 852 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath origin_dir = GetDirectoryForOrigin(origin, create, error_code); base 854 webkit/browser/fileapi/obfuscated_file_util.cc return base::FilePath(); base 857 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath path = origin_dir.AppendASCII(type_string); base 858 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; base 859 webkit/browser/fileapi/obfuscated_file_util.cc if (!base::DirectoryExists(path) && base 860 webkit/browser/fileapi/obfuscated_file_util.cc (!create || !base::CreateDirectory(path))) { base 862 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_FAILED : base 863 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_NOT_FOUND; base 874 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; base 875 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath origin_type_path = GetDirectoryForOriginAndType( base 879 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_ERROR_NOT_FOUND) { base 887 webkit/browser/fileapi/obfuscated_file_util.cc if (!base::DeleteFile(origin_type_path, true /* recursive */)) base 891 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath origin_path = VirtualPath::DirName(origin_type_path); base 904 webkit/browser/fileapi/obfuscated_file_util.cc if (base::DirectoryExists(origin_path.AppendASCII(*iter))) { base 917 webkit/browser/fileapi/obfuscated_file_util.cc if (!base::DeleteFile(origin_path, true /* recursive */)) base 945 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; base 946 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath path = GetDirectoryForOriginAndType( base 948 webkit/browser/fileapi/obfuscated_file_util.cc if (path.empty() || error == base::File::FILE_ERROR_NOT_FOUND) base 954 webkit/browser/fileapi/obfuscated_file_util.cc int64 ObfuscatedFileUtil::ComputeFilePathCost(const base::FilePath& path) { base 974 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 975 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath path = GetDirectoryForOriginAndType( base 977 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 991 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath ObfuscatedFileUtil::GetDirectoryForURL( base 994 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error* error_code) { base 1005 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::GetFileInfoInternal( base 1011 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info* file_info, base 1012 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath* platform_file_path) { base 1020 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 1028 webkit/browser/fileapi/obfuscated_file_util.cc *platform_file_path = base::FilePath(); base 1030 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 1033 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 1034 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath local_path = DataPathToLocalPath(url, local_info->data_path); base 1035 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = NativeFileUtil::GetFileInfo( base 1038 webkit/browser/fileapi/obfuscated_file_util.cc if (base::IsLink(local_path)) { base 1040 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_NOT_FOUND; base 1042 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_OK) { base 1044 webkit/browser/fileapi/obfuscated_file_util.cc } else if (error == base::File::FILE_ERROR_NOT_FOUND) { base 1048 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 1053 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CreateFile( base 1055 webkit/browser/fileapi/obfuscated_file_util.cc const base::FilePath& src_file_path, base 1059 webkit/browser/fileapi/obfuscated_file_util.cc *handle = base::kInvalidPlatformFileValue; base 1062 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; base 1063 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath root = GetDirectoryForURL(dest_url, false, &error); base 1064 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 1067 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath dest_local_path; base 1069 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 1083 webkit/browser/fileapi/obfuscated_file_util.cc if (base::PathExists(dest_local_path)) { base 1084 webkit/browser/fileapi/obfuscated_file_util.cc if (!base::DeleteFile(dest_local_path, true /* recursive */)) base 1085 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 1092 webkit/browser/fileapi/obfuscated_file_util.cc base::File file = base 1097 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_OK; base 1107 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 1112 webkit/browser/fileapi/obfuscated_file_util.cc DCHECK_NE(base::kInvalidPlatformFileValue, *handle); base 1113 webkit/browser/fileapi/obfuscated_file_util.cc base::ClosePlatformFile(*handle); base 1114 webkit/browser/fileapi/obfuscated_file_util.cc base::DeleteFile(dest_local_path, false /* recursive */); base 1115 webkit/browser/fileapi/obfuscated_file_util.cc *handle = base::kInvalidPlatformFileValue; base 1117 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 1122 webkit/browser/fileapi/obfuscated_file_util.cc dest_file_info->data_path = base::FilePath( base 1127 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) { base 1129 webkit/browser/fileapi/obfuscated_file_util.cc DCHECK_NE(base::kInvalidPlatformFileValue, *handle); base 1130 webkit/browser/fileapi/obfuscated_file_util.cc base::ClosePlatformFile(*handle); base 1131 webkit/browser/fileapi/obfuscated_file_util.cc *handle = base::kInvalidPlatformFileValue; base 1133 webkit/browser/fileapi/obfuscated_file_util.cc base::DeleteFile(dest_local_path, false /* recursive */); base 1138 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 1141 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath ObfuscatedFileUtil::DataPathToLocalPath( base 1142 webkit/browser/fileapi/obfuscated_file_util.cc const FileSystemURL& url, const base::FilePath& data_path) { base 1143 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; base 1144 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath root = GetDirectoryForURL(url, false, &error); base 1145 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 1146 webkit/browser/fileapi/obfuscated_file_util.cc return base::FilePath(); base 1178 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; base 1179 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath path = GetDirectoryForURL(url, create, &error); base 1180 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) { base 1192 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath ObfuscatedFileUtil::GetDirectoryForOrigin( base 1193 webkit/browser/fileapi/obfuscated_file_util.cc const GURL& origin, bool create, base::File::Error* error_code) { base 1197 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_FAILED : base 1198 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_NOT_FOUND; base 1200 webkit/browser/fileapi/obfuscated_file_util.cc return base::FilePath(); base 1202 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath directory_name; base 1208 webkit/browser/fileapi/obfuscated_file_util.cc *error_code = base::File::FILE_ERROR_NOT_FOUND; base 1209 webkit/browser/fileapi/obfuscated_file_util.cc return base::FilePath(); base 1213 webkit/browser/fileapi/obfuscated_file_util.cc *error_code = base::File::FILE_ERROR_FAILED; base 1214 webkit/browser/fileapi/obfuscated_file_util.cc return base::FilePath(); base 1217 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath path = file_system_directory_.Append(directory_name); base 1218 webkit/browser/fileapi/obfuscated_file_util.cc bool exists_in_fs = base::DirectoryExists(path); base 1220 webkit/browser/fileapi/obfuscated_file_util.cc if (!base::DeleteFile(path, true)) { base 1222 webkit/browser/fileapi/obfuscated_file_util.cc *error_code = base::File::FILE_ERROR_FAILED; base 1223 webkit/browser/fileapi/obfuscated_file_util.cc return base::FilePath(); base 1229 webkit/browser/fileapi/obfuscated_file_util.cc if (!create || !base::CreateDirectory(path)) { base 1232 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_FAILED : base 1233 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_NOT_FOUND; base 1234 webkit/browser/fileapi/obfuscated_file_util.cc return base::FilePath(); base 1239 webkit/browser/fileapi/obfuscated_file_util.cc *error_code = base::File::FILE_OK; base 1260 webkit/browser/fileapi/obfuscated_file_util.cc base::TimeDelta::FromSeconds(db_flush_delay_seconds_), base 1261 webkit/browser/fileapi/obfuscated_file_util.cc base::Bind(&ObfuscatedFileUtil::DropDatabases, base 1262 webkit/browser/fileapi/obfuscated_file_util.cc base::Unretained(this))); base 1279 webkit/browser/fileapi/obfuscated_file_util.cc if (!create && !base::DirectoryExists(file_system_directory_)) base 1281 webkit/browser/fileapi/obfuscated_file_util.cc if (!base::CreateDirectory(file_system_directory_)) { base 1299 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath isolated_origin_dir = file_system_directory_.Append( base 1301 webkit/browser/fileapi/obfuscated_file_util.cc if (base::DirectoryExists(isolated_origin_dir) && base 1315 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::GenerateNewLocalPath( base 1319 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath* local_path) { base 1323 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 1325 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; base 1326 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath new_local_path = GetDirectoryForURL(url, false, &error); base 1327 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 1328 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 1333 webkit/browser/fileapi/obfuscated_file_util.cc base::StringPrintf("%02" PRId64, directory_number)); base 1337 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 1341 webkit/browser/fileapi/obfuscated_file_util.cc new_local_path.AppendASCII(base::StringPrintf("%08" PRId64, number)); base 1342 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 1345 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CreateOrOpenInternal( base 1349 webkit/browser/fileapi/obfuscated_file_util.cc DCHECK(!(file_flags & (base::PLATFORM_FILE_DELETE_ON_CLOSE | base 1350 webkit/browser/fileapi/obfuscated_file_util.cc base::PLATFORM_FILE_HIDDEN | base::PLATFORM_FILE_EXCLUSIVE_READ | base 1351 webkit/browser/fileapi/obfuscated_file_util.cc base::PLATFORM_FILE_EXCLUSIVE_WRITE))); base 1354 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; base 1358 webkit/browser/fileapi/obfuscated_file_util.cc if (!(file_flags & (base::PLATFORM_FILE_CREATE | base 1359 webkit/browser/fileapi/obfuscated_file_util.cc base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_OPEN_ALWAYS))) base 1360 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 1364 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 1371 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; base 1372 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = CreateFile( base 1373 webkit/browser/fileapi/obfuscated_file_util.cc context, base::FilePath(), base 1375 webkit/browser/fileapi/obfuscated_file_util.cc if (created && base::File::FILE_OK == error) { base 1384 webkit/browser/fileapi/obfuscated_file_util.cc if (file_flags & base::PLATFORM_FILE_CREATE) base 1385 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_EXISTS; base 1387 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info platform_file_info; base 1388 webkit/browser/fileapi/obfuscated_file_util.cc base::FilePath local_path; base 1390 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( base 1392 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) base 1395 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; base 1398 webkit/browser/fileapi/obfuscated_file_util.cc if (file_flags & (base::PLATFORM_FILE_CREATE_ALWAYS | base 1399 webkit/browser/fileapi/obfuscated_file_util.cc base::PLATFORM_FILE_OPEN_TRUNCATED)) { base 1406 webkit/browser/fileapi/obfuscated_file_util.cc base::File file = NativeFileUtil::CreateOrOpen(local_path, file_flags); base 1409 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) { base 1414 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_FAILED; base 1428 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; base 28 webkit/browser/fileapi/obfuscated_file_util.h namespace base { base 89 webkit/browser/fileapi/obfuscated_file_util.h typedef base::Callback<std::string(const FileSystemURL&)> base 106 webkit/browser/fileapi/obfuscated_file_util.h const base::FilePath& file_system_directory, base 108 webkit/browser/fileapi/obfuscated_file_util.h base::SequencedTaskRunner* file_task_runner, base 115 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error CreateOrOpen( base 119 webkit/browser/fileapi/obfuscated_file_util.h base::PlatformFile* file_handle, base 121 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error Close( base 123 webkit/browser/fileapi/obfuscated_file_util.h base::PlatformFile file) OVERRIDE; base 124 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error EnsureFileExists( base 127 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error CreateDirectory( base 132 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error GetFileInfo( base 135 webkit/browser/fileapi/obfuscated_file_util.h base::File::Info* file_info, base 136 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath* platform_file) OVERRIDE; base 140 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error GetLocalFilePath( base 143 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath* local_path) OVERRIDE; base 144 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error Touch( base 147 webkit/browser/fileapi/obfuscated_file_util.h const base::Time& last_access_time, base 148 webkit/browser/fileapi/obfuscated_file_util.h const base::Time& last_modified_time) OVERRIDE; base 149 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error Truncate( base 153 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error CopyOrMoveFile( base 159 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error CopyInForeignFile( base 161 webkit/browser/fileapi/obfuscated_file_util.h const base::FilePath& src_file_path, base 163 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error DeleteFile( base 166 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error DeleteDirectory( base 172 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error* error, base 173 webkit/browser/fileapi/obfuscated_file_util.h base::File::Info* file_info, base 174 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath* platform_path) OVERRIDE; base 196 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath GetDirectoryForOriginAndType( base 200 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error* error_code); base 224 webkit/browser/fileapi/obfuscated_file_util.h static int64 ComputeFilePathCost(const base::FilePath& path); base 246 webkit/browser/fileapi/obfuscated_file_util.h const base::FilePath& file_system_directory, base 248 webkit/browser/fileapi/obfuscated_file_util.h base::SequencedTaskRunner* file_task_runner); base 250 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath GetDirectoryForURL( base 253 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error* error_code); base 258 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error GetFileInfoInternal( base 264 webkit/browser/fileapi/obfuscated_file_util.h base::File::Info* file_info, base 265 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath* platform_file_path); base 278 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error CreateFile( base 280 webkit/browser/fileapi/obfuscated_file_util.h const base::FilePath& source_file_path, base 284 webkit/browser/fileapi/obfuscated_file_util.h base::PlatformFile* handle); base 289 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath DataPathToLocalPath( base 291 webkit/browser/fileapi/obfuscated_file_util.h const base::FilePath& data_file_path); base 304 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath GetDirectoryForOrigin(const GURL& origin, base 306 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error* error_code); base 319 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error GenerateNewLocalPath( base 323 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath* local_path); base 325 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error CreateOrOpenInternal( base 329 webkit/browser/fileapi/obfuscated_file_util.h base::PlatformFile* file_handle, base 338 webkit/browser/fileapi/obfuscated_file_util.h base::FilePath file_system_directory_; base 344 webkit/browser/fileapi/obfuscated_file_util.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 29 webkit/browser/fileapi/plugin_private_file_system_backend.cc explicit FileSystemIDToPluginMap(base::SequencedTaskRunner* task_runner) base 58 webkit/browser/fileapi/plugin_private_file_system_backend.cc scoped_refptr<base::SequencedTaskRunner> task_runner_; base 64 webkit/browser/fileapi/plugin_private_file_system_backend.cc const base::FilePath::CharType* kFileSystemDirectory = base 66 webkit/browser/fileapi/plugin_private_file_system_backend.cc const base::FilePath::CharType* kPluginPrivateDirectory = base 69 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error OpenFileSystemOnFileTaskRunner( base 76 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 80 webkit/browser/fileapi/plugin_private_file_system_backend.cc if (error == base::File::FILE_OK) base 88 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::SequencedTaskRunner* file_task_runner, base 89 webkit/browser/fileapi/plugin_private_file_system_backend.cc const base::FilePath& profile_path, base 103 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::Bind(&FileSystemIDToPluginMap::GetPluginIDForURL, base 104 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::Owned(plugin_map_)), base 125 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::MessageLoopProxy::current()->PostTask( base 126 webkit/browser/fileapi/plugin_private_file_system_backend.cc FROM_HERE, base::Bind(callback, base::File::FILE_ERROR_SECURITY)); base 133 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::Bind(&OpenFileSystemOnFileTaskRunner, base 152 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::MessageLoopProxy::current()->PostTask( base 154 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::Bind(callback, GURL(), std::string(), base 155 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::FILE_ERROR_SECURITY)); base 166 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error* error_code) { base 168 webkit/browser/fileapi/plugin_private_file_system_backend.cc *error_code = base::File::FILE_OK; base 175 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error* error_code) const { base 190 webkit/browser/fileapi/plugin_private_file_system_backend.cc const base::Time& expected_modification_time, base 207 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error base 214 webkit/browser/fileapi/plugin_private_file_system_backend.cc return base::File::FILE_ERROR_SECURITY; base 218 webkit/browser/fileapi/plugin_private_file_system_backend.cc return base::File::FILE_OK; base 219 webkit/browser/fileapi/plugin_private_file_system_backend.cc return base::File::FILE_ERROR_FAILED; base 269 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::SequencedTaskRunner* task_runner) {} base 274 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::SequencedTaskRunner* task_runner) {} base 279 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::SequencedTaskRunner* task_runner) {} base 17 webkit/browser/fileapi/plugin_private_file_system_backend.h namespace base { base 38 webkit/browser/fileapi/plugin_private_file_system_backend.h typedef base::Callback<void(base::File::Error result)> StatusCallback; base 41 webkit/browser/fileapi/plugin_private_file_system_backend.h base::SequencedTaskRunner* file_task_runner, base 42 webkit/browser/fileapi/plugin_private_file_system_backend.h const base::FilePath& profile_path, base 70 webkit/browser/fileapi/plugin_private_file_system_backend.h base::File::Error* error_code) OVERRIDE; base 74 webkit/browser/fileapi/plugin_private_file_system_backend.h base::File::Error* error_code) const OVERRIDE; base 79 webkit/browser/fileapi/plugin_private_file_system_backend.h const base::Time& expected_modification_time, base 88 webkit/browser/fileapi/plugin_private_file_system_backend.h virtual base::File::Error DeleteOriginDataOnFileTaskRunner( base 111 webkit/browser/fileapi/plugin_private_file_system_backend.h base::SequencedTaskRunner* task_runner) OVERRIDE; base 115 webkit/browser/fileapi/plugin_private_file_system_backend.h base::SequencedTaskRunner* task_runner) OVERRIDE; base 119 webkit/browser/fileapi/plugin_private_file_system_backend.h base::SequencedTaskRunner* task_runner) OVERRIDE; base 131 webkit/browser/fileapi/plugin_private_file_system_backend.h const base::FilePath& base_path() const { return base_path_; } base 133 webkit/browser/fileapi/plugin_private_file_system_backend.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 135 webkit/browser/fileapi/plugin_private_file_system_backend.h const base::FilePath base_path_; base 138 webkit/browser/fileapi/plugin_private_file_system_backend.h base::WeakPtrFactory<PluginPrivateFileSystemBackend> weak_factory_; base 43 webkit/browser/fileapi/quota/open_file_handle.cc const base::FilePath& OpenFileHandle::platform_path() const { base 13 webkit/browser/fileapi/quota/open_file_handle.h namespace base { base 52 webkit/browser/fileapi/quota/open_file_handle.h const base::FilePath& platform_path() const; base 63 webkit/browser/fileapi/quota/open_file_handle.h base::SequenceChecker sequence_checker_; base 13 webkit/browser/fileapi/quota/open_file_handle_context.cc const base::FilePath& platform_path, base 22 webkit/browser/fileapi/quota/open_file_handle_context.cc base::GetFileSize(platform_path, &initial_file_size_); base 57 webkit/browser/fileapi/quota/open_file_handle_context.cc base::GetFileSize(platform_path_, &file_size); base 27 webkit/browser/fileapi/quota/open_file_handle_context.h class OpenFileHandleContext : public base::RefCounted<OpenFileHandleContext> { base 29 webkit/browser/fileapi/quota/open_file_handle_context.h OpenFileHandleContext(const base::FilePath& platform_path, base 37 webkit/browser/fileapi/quota/open_file_handle_context.h const base::FilePath& platform_path() const { base 45 webkit/browser/fileapi/quota/open_file_handle_context.h friend class base::RefCounted<OpenFileHandleContext>; base 51 webkit/browser/fileapi/quota/open_file_handle_context.h base::FilePath platform_path_; base 55 webkit/browser/fileapi/quota/open_file_handle_context.h base::SequenceChecker sequence_checker_; base 22 webkit/browser/fileapi/quota/quota_backend_impl.cc base::SequencedTaskRunner* file_task_runner, base 43 webkit/browser/fileapi/quota/quota_backend_impl.cc callback.Run(base::File::FILE_OK, 0); base 49 webkit/browser/fileapi/quota/quota_backend_impl.cc base::Bind(&QuotaBackendImpl::DidGetUsageAndQuotaForReserveQuota, base 73 webkit/browser/fileapi/quota/quota_backend_impl.cc base::FilePath path; base 74 webkit/browser/fileapi/quota/quota_backend_impl.cc if (GetUsageCachePath(origin, type, &path) != base::File::FILE_OK) base 84 webkit/browser/fileapi/quota/quota_backend_impl.cc base::FilePath path; base 85 webkit/browser/fileapi/quota/quota_backend_impl.cc if (GetUsageCachePath(origin, type, &path) != base::File::FILE_OK) base 95 webkit/browser/fileapi/quota/quota_backend_impl.cc base::FilePath path; base 96 webkit/browser/fileapi/quota/quota_backend_impl.cc if (GetUsageCachePath(origin, type, &path) != base::File::FILE_OK) base 111 webkit/browser/fileapi/quota/quota_backend_impl.cc callback.Run(base::File::FILE_ERROR_FAILED, 0); base 118 webkit/browser/fileapi/quota/quota_backend_impl.cc base::saturated_cast<int64>(usage + static_cast<uint64>(info.delta)); base 125 webkit/browser/fileapi/quota/quota_backend_impl.cc if (callback.Run(base::File::FILE_OK, normalized_info.delta)) base 143 webkit/browser/fileapi/quota/quota_backend_impl.cc base::File::Error QuotaBackendImpl::GetUsageCachePath( base 146 webkit/browser/fileapi/quota/quota_backend_impl.cc base::FilePath* usage_file_path) { base 150 webkit/browser/fileapi/quota/quota_backend_impl.cc base::File::Error error = base::File::FILE_OK; base 15 webkit/browser/fileapi/quota/quota_backend_impl.h namespace base { base 35 webkit/browser/fileapi/quota/quota_backend_impl.h QuotaBackendImpl(base::SequencedTaskRunner* file_task_runner, base 83 webkit/browser/fileapi/quota/quota_backend_impl.h base::File::Error GetUsageCachePath( base 86 webkit/browser/fileapi/quota/quota_backend_impl.h base::FilePath* usage_file_path); base 88 webkit/browser/fileapi/quota/quota_backend_impl.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 96 webkit/browser/fileapi/quota/quota_backend_impl.h base::WeakPtrFactory<QuotaBackendImpl> weak_ptr_factory_; base 25 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error* error_out, base 27 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error, base 62 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::SequencedTaskRunner* original_task_runner, base 118 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 119 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::FilePath path = file_util_->GetDirectoryForOriginAndType( base 121 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); base 127 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::SequencedTaskRunner* file_task_runner() { base 128 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc return base::MessageLoopProxy::current().get(); base 131 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::FilePath GetUsageCachePath(const GURL& origin, FileSystemType type) { base 132 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::FilePath path; base 133 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = base 135 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 140 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::MessageLoop message_loop_; base 141 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::ScopedTempDir data_dir_; base 160 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 162 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::Bind(&DidReserveQuota, true, &error, &delta)); base 163 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 168 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc error = base::File::FILE_ERROR_FAILED; base 170 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::Bind(&DidReserveQuota, true, &error, &delta)); base 171 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 186 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 188 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::Bind(&DidReserveQuota, true, &error, &delta)); base 189 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 204 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; base 206 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::Bind(&DidReserveQuota, false, &error, &delta)); base 207 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 232 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::FilePath path = GetUsageCachePath(GURL(kOrigin), type); base 254 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::FilePath path = GetUsageCachePath(GURL(kOrigin), type); base 26 webkit/browser/fileapi/quota/quota_reservation.cc base::Bind(&QuotaReservation::AdaptDidUpdateReservedQuota, base 35 webkit/browser/fileapi/quota/quota_reservation.cc const base::FilePath& platform_path) { base 95 webkit/browser/fileapi/quota/quota_reservation.cc const base::WeakPtr<QuotaReservation>& reservation, base 98 webkit/browser/fileapi/quota/quota_reservation.cc base::File::Error error, base 110 webkit/browser/fileapi/quota/quota_reservation.cc base::File::Error error, base 117 webkit/browser/fileapi/quota/quota_reservation.cc callback.Run(base::File::FILE_ERROR_ABORT); base 121 webkit/browser/fileapi/quota/quota_reservation.cc if (error == base::File::FILE_OK) base 26 webkit/browser/fileapi/quota/quota_reservation.h : public base::RefCounted<QuotaReservation> { base 28 webkit/browser/fileapi/quota/quota_reservation.h typedef base::Callback<void(base::File::Error error)> StatusCallback; base 40 webkit/browser/fileapi/quota/quota_reservation.h const base::FilePath& platform_path); base 67 webkit/browser/fileapi/quota/quota_reservation.h friend class base::RefCounted<QuotaReservation>; base 71 webkit/browser/fileapi/quota/quota_reservation.h const base::WeakPtr<QuotaReservation>& reservation, base 74 webkit/browser/fileapi/quota/quota_reservation.h base::File::Error error, base 78 webkit/browser/fileapi/quota/quota_reservation.h base::File::Error error, base 87 webkit/browser/fileapi/quota/quota_reservation.h base::SequenceChecker sequence_checker_; base 88 webkit/browser/fileapi/quota/quota_reservation.h base::WeakPtrFactory<QuotaReservation> weak_ptr_factory_; base 15 webkit/browser/fileapi/quota/quota_reservation_buffer.cc base::WeakPtr<QuotaReservationManager> reservation_manager, base 34 webkit/browser/fileapi/quota/quota_reservation_buffer.cc const base::FilePath& platform_path) { base 84 webkit/browser/fileapi/quota/quota_reservation_buffer.cc base::Bind(&QuotaReservationBuffer::DecrementDirtyCount, base 92 webkit/browser/fileapi/quota/quota_reservation_buffer.cc base::WeakPtr<QuotaReservationManager> reservation_manager, base 95 webkit/browser/fileapi/quota/quota_reservation_buffer.cc base::File::Error error, base 98 webkit/browser/fileapi/quota/quota_reservation_buffer.cc if (error == base::File::FILE_OK && reservation_manager) { base 33 webkit/browser/fileapi/quota/quota_reservation_buffer.h class QuotaReservationBuffer : public base::RefCounted<QuotaReservationBuffer> { base 36 webkit/browser/fileapi/quota/quota_reservation_buffer.h base::WeakPtr<QuotaReservationManager> reservation_manager, base 43 webkit/browser/fileapi/quota/quota_reservation_buffer.h const base::FilePath& platform_path); base 56 webkit/browser/fileapi/quota/quota_reservation_buffer.h friend class base::RefCounted<QuotaReservationBuffer>; base 60 webkit/browser/fileapi/quota/quota_reservation_buffer.h base::WeakPtr<QuotaReservationManager> reservation_manager, base 63 webkit/browser/fileapi/quota/quota_reservation_buffer.h base::File::Error error, base 66 webkit/browser/fileapi/quota/quota_reservation_buffer.h typedef std::map<base::FilePath, OpenFileHandleContext*> base 73 webkit/browser/fileapi/quota/quota_reservation_buffer.h base::WeakPtr<QuotaReservationManager> reservation_manager_; base 80 webkit/browser/fileapi/quota/quota_reservation_buffer.h base::SequenceChecker sequence_checker_; base 31 webkit/browser/fileapi/quota/quota_reservation_manager.h typedef base::Callback<bool(base::File::Error error, int64 delta)> base 115 webkit/browser/fileapi/quota/quota_reservation_manager.h base::SequenceChecker sequence_checker_; base 116 webkit/browser/fileapi/quota/quota_reservation_manager.h base::WeakPtrFactory<QuotaReservationManager> weak_ptr_factory_; base 28 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc int64 GetFileSize(const base::FilePath& path) { base 30 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::GetFileSize(path, &size); base 34 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc void SetFileSize(const base::FilePath& path, int64 size) { base 35 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); base 54 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::MessageLoopProxy::current()->PostTask( base 56 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::Bind(base::IgnoreResult(callback), base::File::FILE_OK, delta)); base 152 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::FilePath path_; base 158 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc void ExpectSuccess(bool* done, base::File::Error error) { base 161 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); base 168 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc reservation->RefreshReservation(size, base::Bind(&ExpectSuccess, &done)); base 169 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 201 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc const base::FilePath& file_path() const { base 206 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::MessageLoop message_loop_; base 207 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::ScopedTempDir work_dir_; base 208 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::FilePath file_path_; base 44 webkit/browser/fileapi/recursive_operation_delegate.cc base::Bind(&RecursiveOperationDelegate::DidTryProcessFile, base 57 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error) { base 63 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ || error != base::File::FILE_ERROR_NOT_A_FILE) { base 84 webkit/browser/fileapi/recursive_operation_delegate.cc base::Bind( base 89 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error) { base 96 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ || error != base::File::FILE_OK) { base 105 webkit/browser/fileapi/recursive_operation_delegate.cc base::Bind(&RecursiveOperationDelegate::DidReadDirectory, base 111 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error, base 118 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ || error != base::File::FILE_OK) { base 154 webkit/browser/fileapi/recursive_operation_delegate.cc scoped_refptr<base::MessageLoopProxy> current_message_loop = base 155 webkit/browser/fileapi/recursive_operation_delegate.cc base::MessageLoopProxy::current(); base 161 webkit/browser/fileapi/recursive_operation_delegate.cc base::Bind(&RecursiveOperationDelegate::ProcessFile, base 163 webkit/browser/fileapi/recursive_operation_delegate.cc base::Bind(&RecursiveOperationDelegate::DidProcessFile, base 170 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error) { base 172 webkit/browser/fileapi/recursive_operation_delegate.cc if (error != base::File::FILE_OK) { base 189 webkit/browser/fileapi/recursive_operation_delegate.cc Done(base::File::FILE_ERROR_ABORT); base 203 webkit/browser/fileapi/recursive_operation_delegate.cc Done(base::File::FILE_OK); base 211 webkit/browser/fileapi/recursive_operation_delegate.cc base::Bind(&RecursiveOperationDelegate::DidPostProcessDirectory, base 216 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error) { base 224 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ || error != base::File::FILE_OK) { base 232 webkit/browser/fileapi/recursive_operation_delegate.cc void RecursiveOperationDelegate::Done(base::File::Error error) { base 233 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ && error == base::File::FILE_OK) { base 234 webkit/browser/fileapi/recursive_operation_delegate.cc callback_.Run(base::File::FILE_ERROR_ABORT); base 28 webkit/browser/fileapi/recursive_operation_delegate.h : public base::SupportsWeakPtr<RecursiveOperationDelegate> { base 124 webkit/browser/fileapi/recursive_operation_delegate.h base::File::Error error); base 126 webkit/browser/fileapi/recursive_operation_delegate.h void DidProcessDirectory(base::File::Error error); base 128 webkit/browser/fileapi/recursive_operation_delegate.h base::File::Error error, base 132 webkit/browser/fileapi/recursive_operation_delegate.h void DidProcessFile(base::File::Error error); base 134 webkit/browser/fileapi/recursive_operation_delegate.h void DidPostProcessDirectory(base::File::Error error); base 137 webkit/browser/fileapi/recursive_operation_delegate.h void Done(base::File::Error error); base 26 webkit/browser/fileapi/remove_operation_delegate.cc operation_runner()->RemoveFile(url_, base::Bind( base 38 webkit/browser/fileapi/remove_operation_delegate.cc base::Bind(&RemoveOperationDelegate::DidRemoveFile, base 44 webkit/browser/fileapi/remove_operation_delegate.cc callback.Run(base::File::FILE_OK); base 52 webkit/browser/fileapi/remove_operation_delegate.cc void RemoveOperationDelegate::DidTryRemoveFile(base::File::Error error) { base 53 webkit/browser/fileapi/remove_operation_delegate.cc if (error != base::File::FILE_ERROR_NOT_A_FILE && base 54 webkit/browser/fileapi/remove_operation_delegate.cc error != base::File::FILE_ERROR_SECURITY) { base 60 webkit/browser/fileapi/remove_operation_delegate.cc base::Bind(&RemoveOperationDelegate::DidTryRemoveDirectory, base 65 webkit/browser/fileapi/remove_operation_delegate.cc base::File::Error remove_file_error, base 66 webkit/browser/fileapi/remove_operation_delegate.cc base::File::Error remove_directory_error) { base 68 webkit/browser/fileapi/remove_operation_delegate.cc remove_directory_error == base::File::FILE_ERROR_NOT_A_DIRECTORY ? base 74 webkit/browser/fileapi/remove_operation_delegate.cc base::File::Error error) { base 75 webkit/browser/fileapi/remove_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_FOUND) { base 76 webkit/browser/fileapi/remove_operation_delegate.cc callback.Run(base::File::FILE_OK); base 32 webkit/browser/fileapi/remove_operation_delegate.h void DidTryRemoveFile(base::File::Error error); base 33 webkit/browser/fileapi/remove_operation_delegate.h void DidTryRemoveDirectory(base::File::Error remove_file_error, base 34 webkit/browser/fileapi/remove_operation_delegate.h base::File::Error remove_directory_error); base 36 webkit/browser/fileapi/remove_operation_delegate.h base::File::Error error); base 40 webkit/browser/fileapi/remove_operation_delegate.h base::WeakPtrFactory<RemoveOperationDelegate> weak_factory_; base 20 webkit/browser/fileapi/sandbox_database_test_helper.cc void CorruptDatabase(const base::FilePath& db_path, base 24 webkit/browser/fileapi/sandbox_database_test_helper.cc base::FileEnumerator file_enum(db_path, false /* not recursive */, base 25 webkit/browser/fileapi/sandbox_database_test_helper.cc base::FileEnumerator::DIRECTORIES | base::FileEnumerator::FILES); base 26 webkit/browser/fileapi/sandbox_database_test_helper.cc base::FilePath file_path; base 27 webkit/browser/fileapi/sandbox_database_test_helper.cc base::FilePath picked_file_path; base 45 webkit/browser/fileapi/sandbox_database_test_helper.cc base::File file(picked_file_path, base 46 webkit/browser/fileapi/sandbox_database_test_helper.cc base::File::FLAG_OPEN | base::File::FLAG_READ | base 47 webkit/browser/fileapi/sandbox_database_test_helper.cc base::File::FLAG_WRITE); base 51 webkit/browser/fileapi/sandbox_database_test_helper.cc base::File::Info file_info; base 74 webkit/browser/fileapi/sandbox_database_test_helper.cc void DeleteDatabaseFile(const base::FilePath& db_path, base 76 webkit/browser/fileapi/sandbox_database_test_helper.cc base::FileEnumerator file_enum(db_path, false /* not recursive */, base 77 webkit/browser/fileapi/sandbox_database_test_helper.cc base::FileEnumerator::DIRECTORIES | base::FileEnumerator::FILES); base 78 webkit/browser/fileapi/sandbox_database_test_helper.cc base::FilePath file_path; base 85 webkit/browser/fileapi/sandbox_database_test_helper.cc base::DeleteFile(file_path, false); base 12 webkit/browser/fileapi/sandbox_database_test_helper.h namespace base { base 18 webkit/browser/fileapi/sandbox_database_test_helper.h void CorruptDatabase(const base::FilePath& db_path, base 23 webkit/browser/fileapi/sandbox_database_test_helper.h void DeleteDatabaseFile(const base::FilePath& db_path, base 32 webkit/browser/fileapi/sandbox_directory_database.cc base::Time time = base 33 webkit/browser/fileapi/sandbox_directory_database.cc base::Time::FromDoubleT(floor(info.modification_time.ToDoubleT())); base 37 webkit/browser/fileapi/sandbox_directory_database.cc name = fileapi::FilePathToString(base::FilePath(info.name)); base 63 webkit/browser/fileapi/sandbox_directory_database.cc info->modification_time = base::Time::FromInternalValue(internal_time); base 70 webkit/browser/fileapi/sandbox_directory_database.cc const base::FilePath::CharType kDirectoryDatabaseName[] = base 97 webkit/browser/fileapi/sandbox_directory_database.cc const base::FilePath::StringType& child_name) { base 99 webkit/browser/fileapi/sandbox_directory_database.cc name = fileapi::FilePathToString(base::FilePath(child_name)); base 100 webkit/browser/fileapi/sandbox_directory_database.cc return std::string(kChildLookupPrefix) + base::Int64ToString(parent_id) + base 106 webkit/browser/fileapi/sandbox_directory_database.cc return std::string(kChildLookupPrefix) + base::Int64ToString(parent_id) + base 120 webkit/browser/fileapi/sandbox_directory_database.cc return base::Int64ToString(file_id); base 142 webkit/browser/fileapi/sandbox_directory_database.cc const base::FilePath& path); base 160 webkit/browser/fileapi/sandbox_directory_database.cc base::FilePath path_; base 162 webkit/browser/fileapi/sandbox_directory_database.cc std::set<base::FilePath> files_in_db_; base 175 webkit/browser/fileapi/sandbox_directory_database.cc const base::FilePath& path) base 183 webkit/browser/fileapi/sandbox_directory_database.cc DCHECK(!path_.empty() && base::DirectoryExists(path_)); base 209 webkit/browser/fileapi/sandbox_directory_database.cc !base::StringToInt64(itr->value().ToString(), &last_file_id_)) base 218 webkit/browser/fileapi/sandbox_directory_database.cc !base::StringToInt64(itr->value().ToString(), &last_integer_)) base 229 webkit/browser/fileapi/sandbox_directory_database.cc if (!base::StringToInt64(key, &file_id) || file_id < 0) base 246 webkit/browser/fileapi/sandbox_directory_database.cc base::File::Info platform_file_info; base 247 webkit/browser/fileapi/sandbox_directory_database.cc if (!base::GetFileInfo( base 273 webkit/browser/fileapi/sandbox_directory_database.cc const base::FilePath kExcludes[] = { base 274 webkit/browser/fileapi/sandbox_directory_database.cc base::FilePath(kDirectoryDatabaseName), base 275 webkit/browser/fileapi/sandbox_directory_database.cc base::FilePath(fileapi::FileSystemUsageCache::kUsageFileName), base 279 webkit/browser/fileapi/sandbox_directory_database.cc std::stack<base::FilePath> pending_directories; base 280 webkit/browser/fileapi/sandbox_directory_database.cc pending_directories.push(base::FilePath()); base 283 webkit/browser/fileapi/sandbox_directory_database.cc base::FilePath dir_path = pending_directories.top(); base 286 webkit/browser/fileapi/sandbox_directory_database.cc base::FileEnumerator file_enum( base 289 webkit/browser/fileapi/sandbox_directory_database.cc base::FileEnumerator::DIRECTORIES | base::FileEnumerator::FILES); base 291 webkit/browser/fileapi/sandbox_directory_database.cc base::FilePath absolute_file_path; base 293 webkit/browser/fileapi/sandbox_directory_database.cc base::FileEnumerator::FileInfo find_info = file_enum.GetInfo(); base 295 webkit/browser/fileapi/sandbox_directory_database.cc base::FilePath relative_file_path; base 309 webkit/browser/fileapi/sandbox_directory_database.cc std::set<base::FilePath>::iterator itr = base 312 webkit/browser/fileapi/sandbox_directory_database.cc if (!base::DeleteFile(absolute_file_path, false)) base 385 webkit/browser/fileapi/sandbox_directory_database.cc bool VerifyDataPath(const base::FilePath& data_path) { base 391 webkit/browser/fileapi/sandbox_directory_database.cc const base::FilePath kExcludes[] = { base 392 webkit/browser/fileapi/sandbox_directory_database.cc base::FilePath(kDirectoryDatabaseName), base 393 webkit/browser/fileapi/sandbox_directory_database.cc base::FilePath(fileapi::FileSystemUsageCache::kUsageFileName), base 413 webkit/browser/fileapi/sandbox_directory_database.cc const base::FilePath& filesystem_data_directory, base 424 webkit/browser/fileapi/sandbox_directory_database.cc const base::FilePath::StringType& name, base 436 webkit/browser/fileapi/sandbox_directory_database.cc if (!base::StringToInt64(child_id_string, child_id)) { base 447 webkit/browser/fileapi/sandbox_directory_database.cc const base::FilePath& path, FileId* file_id) { base 448 webkit/browser/fileapi/sandbox_directory_database.cc std::vector<base::FilePath::StringType> components; base 451 webkit/browser/fileapi/sandbox_directory_database.cc std::vector<base::FilePath::StringType>::iterator iter; base 453 webkit/browser/fileapi/sandbox_directory_database.cc base::FilePath::StringType name; base 479 webkit/browser/fileapi/sandbox_directory_database.cc if (!base::StringToInt64(child_id_string, &child_id)) { base 513 webkit/browser/fileapi/sandbox_directory_database.cc info->name = base::FilePath::StringType(); base 514 webkit/browser/fileapi/sandbox_directory_database.cc info->data_path = base::FilePath(); base 515 webkit/browser/fileapi/sandbox_directory_database.cc info->modification_time = base::Time::Now(); base 523 webkit/browser/fileapi/sandbox_directory_database.cc base::File::Error SandboxDirectoryDatabase::AddFileInfo( base 526 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_FAILED; base 534 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_EXISTS; base 538 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_NOT_FOUND; base 543 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; base 551 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_FAILED; base 556 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_FAILED; base 558 webkit/browser/fileapi/sandbox_directory_database.cc batch.Put(LastFileIdKey(), base::Int64ToString(temp_id)); base 562 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_FAILED; base 565 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_OK; base 617 webkit/browser/fileapi/sandbox_directory_database.cc FileId file_id, const base::Time& modification_time) { base 678 webkit/browser/fileapi/sandbox_directory_database.cc if (!base::StringToInt64(int_string, &temp)) { base 684 webkit/browser/fileapi/sandbox_directory_database.cc base::Int64ToString(temp)); base 704 webkit/browser/fileapi/sandbox_directory_database.cc bool SandboxDirectoryDatabase::DestroyDatabase(const base::FilePath& path, base 762 webkit/browser/fileapi/sandbox_directory_database.cc if (!base::DeleteFile(filesystem_data_directory_, true)) base 764 webkit/browser/fileapi/sandbox_directory_database.cc if (!base::CreateDirectory(filesystem_data_directory_)) base 809 webkit/browser/fileapi/sandbox_directory_database.cc base::Time now = base::Time::Now(); base 810 webkit/browser/fileapi/sandbox_directory_database.cc const base::TimeDelta minimum_interval = base 811 webkit/browser/fileapi/sandbox_directory_database.cc base::TimeDelta::FromHours(kMinimumReportIntervalHours); base 843 webkit/browser/fileapi/sandbox_directory_database.cc root.modification_time = base::Time::Now(); base 847 webkit/browser/fileapi/sandbox_directory_database.cc batch.Put(LastFileIdKey(), base::Int64ToString(0)); base 848 webkit/browser/fileapi/sandbox_directory_database.cc batch.Put(LastIntegerKey(), base::Int64ToString(-1)); base 865 webkit/browser/fileapi/sandbox_directory_database.cc if (!base::StringToInt64(id_string, file_id)) { base 52 webkit/browser/fileapi/sandbox_directory_database.h base::FilePath data_path; base 53 webkit/browser/fileapi/sandbox_directory_database.h base::FilePath::StringType name; base 57 webkit/browser/fileapi/sandbox_directory_database.h base::Time modification_time; base 61 webkit/browser/fileapi/sandbox_directory_database.h const base::FilePath& filesystem_data_directory, base 67 webkit/browser/fileapi/sandbox_directory_database.h const base::FilePath::StringType& name, base 69 webkit/browser/fileapi/sandbox_directory_database.h bool GetFileWithPath(const base::FilePath& path, FileId* file_id); base 74 webkit/browser/fileapi/sandbox_directory_database.h base::File::Error AddFileInfo(const FileInfo& info, FileId* file_id); base 81 webkit/browser/fileapi/sandbox_directory_database.h FileId file_id, const base::Time& modification_time); base 98 webkit/browser/fileapi/sandbox_directory_database.h static bool DestroyDatabase(const base::FilePath& path, base 122 webkit/browser/fileapi/sandbox_directory_database.h const base::FilePath filesystem_data_directory_; base 125 webkit/browser/fileapi/sandbox_directory_database.h base::Time last_reported_time_; base 26 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath::CharType kDirectoryDatabaseName[] = FPL("Paths"); base 54 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File::Error AddFileInfo( base 55 webkit/browser/fileapi/sandbox_directory_database_unittest.cc FileId parent_id, const base::FilePath::StringType& name) { base 64 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath::StringType& name, base 69 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_EQ(base::File::FILE_OK, db_->AddFileInfo(info, file_id_out)); base 73 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath::StringType& name, base 74 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath::StringType& data_path, base 81 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info.data_path = base::FilePath(data_path).NormalizePathSeparators(); base 82 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_EQ(base::File::FILE_OK, db_->AddFileInfo(info, &file_id)); base 84 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath local_path = path().Append(data_path); base 85 webkit/browser/fileapi/sandbox_directory_database_unittest.cc if (!base::DirectoryExists(local_path.DirName())) base 86 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_TRUE(base::CreateDirectory(local_path.DirName())); base 88 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File file(local_path, base 89 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 99 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_TRUE(base::DeleteFile(path(), true /* recursive */)); base 100 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_TRUE(base::CreateDirectory(path())); base 109 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath& path() { base 116 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath::StringType& name) { base 119 webkit/browser/fileapi/sandbox_directory_database_unittest.cc "CHILD_OF:" + base::Int64ToString(parent_id) + ":" + base 120 webkit/browser/fileapi/sandbox_directory_database_unittest.cc FilePathToString(base::FilePath(name)), base 121 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::Int64ToString(child_id)).ok()); base 130 webkit/browser/fileapi/sandbox_directory_database_unittest.cc "CHILD_OF:" + base::Int64ToString(file_info.parent_id) + ":" + base 131 webkit/browser/fileapi/sandbox_directory_database_unittest.cc FilePathToString(base::FilePath(file_info.name))).ok()); base 136 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::ScopedTempDir base_; base 160 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, base 169 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id)); base 172 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name = info.name; base 173 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, AddFileInfo(0, name)); base 175 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, AddFileInfo(0, name)); base 178 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, AddFileInfo(file_id, name)); base 181 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, AddFileInfo(file_id, name)); base 183 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, AddFileInfo(file_id, name)); base 189 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name0 = FILE_PATH_LITERAL("foo"); base 190 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name1 = FILE_PATH_LITERAL("bar"); base 191 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name2 = FILE_PATH_LITERAL("bas"); base 194 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); base 195 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, AddFileInfo(0, name1)); base 206 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name0 = FILE_PATH_LITERAL("foo"); base 207 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name1 = FILE_PATH_LITERAL("bar"); base 210 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); base 212 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); base 223 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name0 = FILE_PATH_LITERAL("foo"); base 224 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name1 = FILE_PATH_LITERAL("bar"); base 225 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name2 = FILE_PATH_LITERAL("bas"); base 228 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); base 231 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); base 249 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); base 251 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); base 261 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name0 = FILE_PATH_LITERAL("foo"); base 262 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name1 = FILE_PATH_LITERAL("bar"); base 265 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); base 268 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); base 285 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name0 = FILE_PATH_LITERAL("foo"); base 286 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name1 = FILE_PATH_LITERAL("bar"); base 287 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType name2 = FILE_PATH_LITERAL("dog"); base 291 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); base 294 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); base 298 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id2)); base 303 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath path = base::FilePath(name0); base 327 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); base 335 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); base 354 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id2)); base 361 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id3)); base 377 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info0.data_path = base::FilePath(FILE_PATH_LITERAL("fake path")); base 378 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info0.modification_time = base::Time::Now(); base 379 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &file_id)); base 389 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_TRUE(db()->UpdateModificationTime(file_id, base::Time::UnixEpoch())); base 397 webkit/browser/fileapi/sandbox_directory_database_unittest.cc floor(base::Time::UnixEpoch().ToDoubleT())); base 399 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_FALSE(db()->UpdateModificationTime(999, base::Time::UnixEpoch())); base 407 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info0.data_path = base::FilePath(FILE_PATH_LITERAL("foo")); base 409 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info0.modification_time = base::Time::Now(); base 410 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &file_id)); base 426 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info0.modification_time = base::Time::Now(); base 427 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &directory_id)); base 432 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info1.data_path = base::FilePath(FILE_PATH_LITERAL("bar")); base 434 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info1.modification_time = base::Time::UnixEpoch(); base 435 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info1, &file_id)); base 445 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info0.data_path = base::FilePath(FILE_PATH_LITERAL("bar")); base 446 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info0.modification_time = base::Time::Now(); base 447 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &file_id)); base 453 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info1.modification_time = base::Time::UnixEpoch(); base 454 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info1, &directory_id)); base 463 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info0.data_path = base::FilePath(FILE_PATH_LITERAL("foo")); base 465 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info0.modification_time = base::Time::Now(); base 466 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &file_id0)); base 472 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(dir_info, &dir_id)); base 477 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info1.data_path = base::FilePath(FILE_PATH_LITERAL("bar")); base 479 webkit/browser/fileapi/sandbox_directory_database_unittest.cc info1.modification_time = base::Time::UnixEpoch(); base 480 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info1, &file_id1)); base 487 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_FALSE(db()->GetFileWithPath(base::FilePath(info0.name), &check_id)); base 489 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath(dir_info.name).Append(info1.name), &check_id)); base 532 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath::CharType kBackingFileName[] = FPL("the celeb"); base 536 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_TRUE(base::DeleteFile(path().Append(kBackingFileName), false)); base 542 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath::CharType kBackingFileName[] = FPL("hoge"); base 546 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_TRUE(base::DeleteFile(path().Append(kBackingFileName), false)); base 555 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File file(path().Append(FPL("Orphan File")), base 556 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 566 webkit/browser/fileapi/sandbox_directory_database_unittest.cc MakeHierarchyLink(0, 0, base::FilePath::StringType()); base 573 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType dir1_name = FPL("foo"); base 607 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType kFileName = FPL("bar"); base 613 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath kDatabaseDirectory = base 629 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType kFileName = FPL("bar"); base 634 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath kDatabaseDirectory = base 650 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::FilePath::StringType kFileName = FPL("bar"); base 656 webkit/browser/fileapi/sandbox_directory_database_unittest.cc const base::FilePath kDatabaseDirectory = base 70 webkit/browser/fileapi/sandbox_file_stream_writer.cc base::Bind(&SandboxFileStreamWriter::DidInitializeForWrite, base 74 webkit/browser/fileapi/sandbox_file_stream_writer.cc url_, base::Bind(&SandboxFileStreamWriter::DidCreateSnapshotFile, base 106 webkit/browser/fileapi/sandbox_file_stream_writer.cc base::Bind(&SandboxFileStreamWriter::DidWrite, weak_factory_.GetWeakPtr(), base 115 webkit/browser/fileapi/sandbox_file_stream_writer.cc base::File::Error file_error, base 116 webkit/browser/fileapi/sandbox_file_stream_writer.cc const base::File::Info& file_info, base 117 webkit/browser/fileapi/sandbox_file_stream_writer.cc const base::FilePath& platform_path, base 123 webkit/browser/fileapi/sandbox_file_stream_writer.cc if (file_error != base::File::FILE_OK) { base 160 webkit/browser/fileapi/sandbox_file_stream_writer.cc base::Bind(&SandboxFileStreamWriter::DidGetUsageAndQuota, base 55 webkit/browser/fileapi/sandbox_file_stream_writer.h base::File::Error file_error, base 56 webkit/browser/fileapi/sandbox_file_stream_writer.h const base::File::Info& file_info, base 57 webkit/browser/fileapi/sandbox_file_stream_writer.h const base::FilePath& platform_path, base 80 webkit/browser/fileapi/sandbox_file_stream_writer.h base::FilePath file_path_; base 88 webkit/browser/fileapi/sandbox_file_stream_writer.h base::WeakPtrFactory<SandboxFileStreamWriter> weak_factory_; base 73 webkit/browser/fileapi/sandbox_file_system_backend.cc callback.Run(GURL(), std::string(), base::File::FILE_ERROR_SECURITY); base 93 webkit/browser/fileapi/sandbox_file_system_backend.cc base::File::Error* error_code) { base 95 webkit/browser/fileapi/sandbox_file_system_backend.cc *error_code = base::File::FILE_OK; base 102 webkit/browser/fileapi/sandbox_file_system_backend.cc base::File::Error* error_code) const { base 130 webkit/browser/fileapi/sandbox_file_system_backend.cc const base::Time& expected_modification_time, base 43 webkit/browser/fileapi/sandbox_file_system_backend.h base::File::Error* error_code) OVERRIDE; base 47 webkit/browser/fileapi/sandbox_file_system_backend.h base::File::Error* error_code) const OVERRIDE; base 52 webkit/browser/fileapi/sandbox_file_system_backend.h const base::Time& expected_modification_time, base 68 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc const base::FilePath::CharType* const kRestrictedNames[] = { base 73 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc const base::FilePath::CharType kRestrictedChars[] = { base 115 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error_ptr) { base 121 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (*error_ptr != base::File::FILE_OK) { base 134 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::WeakPtr<SandboxFileSystemBackendDelegate> delegate, base 135 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc const base::Callback<void(base::File::Error error)>& callback, base 136 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error) { base 143 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc void DeleteSoon(base::SequencedTaskRunner* runner, T* ptr) { base 150 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc const base::FilePath::CharType base 174 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::SequencedTaskRunner* file_task_runner, base 175 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc const base::FilePath& profile_path, base 185 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Bind(&GetTypeStringForURL), base 213 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Bind(&ObfuscatedFileUtil::MaybePrepopulateDatabase, base 214 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Unretained(obfuscated_file_util()), base 235 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath base 240 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error error = base::File::FILE_OK; base 241 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath path = obfuscated_file_util()->GetDirectoryForOriginAndType( base 243 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (error != base::File::FILE_OK) base 244 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc return base::FilePath(); base 255 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc callback.Run(GURL(), std::string(), base::File::FILE_ERROR_SECURITY); base 261 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error_ptr = new base::File::Error; base 264 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Bind(&OpenFileSystemOnFileTaskRunner, base 266 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Unretained(error_ptr)), base 267 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Bind(&DidOpenFileSystem, base 269 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Bind(callback, root_url, name), base 270 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Owned(error_ptr))); base 280 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error_code) const { base 282 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc *error_code = base::File::FILE_ERROR_SECURITY; base 303 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc const base::Time& expected_modification_time, base 326 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error base 347 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc return base::File::FILE_OK; base 348 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc return base::File::FILE_ERROR_FAILED; base 398 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath base_path = base 400 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (base_path.empty() || !base::DirectoryExists(base_path)) base 402 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath usage_file_path = base 439 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::SequencedTaskRunner* task_runner) { base 448 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::SequencedTaskRunner* task_runner) { base 457 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::SequencedTaskRunner* task_runner) { base 498 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error error = base::File::FILE_OK; base 499 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath usage_file_path = GetUsageCachePathForOriginAndType( base 501 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (error != base::File::FILE_OK) base 530 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc url.path() != base::FilePath(base::FilePath::kCurrentDirectory)) base 535 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath filename = VirtualPath::BaseName(url.path()); base 543 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath::StringType::npos) base 568 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath base 572 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error error; base 573 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath path = GetUsageCachePathForOriginAndType( base 575 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (error != base::File::FILE_OK) base 576 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc return base::FilePath(); base 581 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath base 586 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error_out) { base 588 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc *error_out = base::File::FILE_OK; base 589 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath base_path = sandbox_file_util->GetDirectoryForOriginAndType( base 591 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (*error_out != base::File::FILE_OK) base 592 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc return base::FilePath(); base 602 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc origin, type, base::FilePath()); base 607 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::FilePath file_path_each; base 619 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error error_code) { base 620 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Time now = base::Time::Now(); base 624 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc now + base::TimeDelta::FromHours(kMinimumStatsCollectionIntervalHours); base 638 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc case base::File::FILE_OK: base 641 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc case base::File::FILE_ERROR_INVALID_URL: base 644 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc case base::File::FILE_ERROR_NOT_FOUND: base 647 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc case base::File::FILE_ERROR_FAILED: base 663 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc const base::FilePath& file_system_directory, base 665 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::SequencedTaskRunner* file_task_runner) { base 670 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::Bind(&GetTypeStringForURL), base 25 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h namespace base { base 64 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h static const base::FilePath::CharType kFileSystemDirectory[]; base 84 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::SequencedTaskRunner* file_task_runner, base 85 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h const base::FilePath& profile_path, base 101 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::FilePath GetBaseDirectoryForOriginAndType( base 116 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::File::Error* error_code) const; base 120 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h const base::Time& expected_modification_time, base 129 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h virtual base::File::Error DeleteOriginDataOnFileTaskRunner( base 152 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::SequencedTaskRunner* task_runner) OVERRIDE; base 156 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::SequencedTaskRunner* task_runner) OVERRIDE; base 160 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::SequencedTaskRunner* task_runner) OVERRIDE; base 176 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h void CollectOpenFileSystemMetrics(base::File::Error error_code); base 178 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::SequencedTaskRunner* file_task_runner() { base 211 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::FilePath GetUsageCachePathForOriginAndType( base 216 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h static base::FilePath GetUsageCachePathForOriginAndType( base 220 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::File::Error* error_out); base 228 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h scoped_refptr<base::SequencedTaskRunner> file_task_runner_; base 240 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::ThreadChecker io_thread_checker_; base 251 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::Time next_release_time_for_open_filesystem_stat_; base 253 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::WeakPtrFactory<SandboxFileSystemBackendDelegate> weak_factory_; base 14 webkit/browser/fileapi/sandbox_isolated_origin_database.cc const base::FilePath::CharType base 20 webkit/browser/fileapi/sandbox_isolated_origin_database.cc const base::FilePath& file_system_directory, base 21 webkit/browser/fileapi/sandbox_isolated_origin_database.cc const base::FilePath& origin_directory) base 37 webkit/browser/fileapi/sandbox_isolated_origin_database.cc const std::string& origin, base::FilePath* directory) { base 60 webkit/browser/fileapi/sandbox_isolated_origin_database.cc const base::FilePath& file_system_directory, base 62 webkit/browser/fileapi/sandbox_isolated_origin_database.cc base::FilePath isolated_directory = base 67 webkit/browser/fileapi/sandbox_isolated_origin_database.cc base::DeleteFile(isolated_directory, true /* recursive */); base 71 webkit/browser/fileapi/sandbox_isolated_origin_database.cc base::FilePath directory_name; base 73 webkit/browser/fileapi/sandbox_isolated_origin_database.cc base::FilePath origin_directory = base 75 webkit/browser/fileapi/sandbox_isolated_origin_database.cc base::DeleteFile(origin_directory, true /* recursive */); base 76 webkit/browser/fileapi/sandbox_isolated_origin_database.cc base::Move(isolated_directory, origin_directory); base 22 webkit/browser/fileapi/sandbox_isolated_origin_database.h static const base::FilePath::CharType kObsoleteOriginDirectory[]; base 28 webkit/browser/fileapi/sandbox_isolated_origin_database.h const base::FilePath& file_system_directory, base 29 webkit/browser/fileapi/sandbox_isolated_origin_database.h const base::FilePath& origin_directory); base 35 webkit/browser/fileapi/sandbox_isolated_origin_database.h base::FilePath* directory) OVERRIDE; base 43 webkit/browser/fileapi/sandbox_isolated_origin_database.h const base::FilePath& file_system_directory, base 53 webkit/browser/fileapi/sandbox_isolated_origin_database.h const base::FilePath file_system_directory_; base 54 webkit/browser/fileapi/sandbox_isolated_origin_database.h const base::FilePath origin_directory_; base 15 webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc const base::FilePath::CharType kOriginDirectory[] = FILE_PATH_LITERAL("iso"); base 19 webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc base::ScopedTempDir dir; base 24 webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc base::FilePath(kOriginDirectory)); base 28 webkit/browser/fileapi/sandbox_isolated_origin_database_unittest.cc base::FilePath path1, path2; base 25 webkit/browser/fileapi/sandbox_origin_database.cc const base::FilePath::CharType kOriginDatabaseName[] = base 61 webkit/browser/fileapi/sandbox_origin_database.cc const base::FilePath& file_system_directory, base 75 webkit/browser/fileapi/sandbox_origin_database.cc base::FilePath db_path = GetDatabasePath(); base 76 webkit/browser/fileapi/sandbox_origin_database.cc if (init_option == FAIL_IF_NONEXISTENT && !base::PathExists(db_path)) base 116 webkit/browser/fileapi/sandbox_origin_database.cc if (!base::DeleteFile(file_system_directory_, true)) base 118 webkit/browser/fileapi/sandbox_origin_database.cc if (!base::CreateDirectory(file_system_directory_)) base 139 webkit/browser/fileapi/sandbox_origin_database.cc std::set<base::FilePath> directories; base 140 webkit/browser/fileapi/sandbox_origin_database.cc base::FileEnumerator file_enum(file_system_directory_, base 142 webkit/browser/fileapi/sandbox_origin_database.cc base::FileEnumerator::DIRECTORIES); base 143 webkit/browser/fileapi/sandbox_origin_database.cc base::FilePath path_each; base 146 webkit/browser/fileapi/sandbox_origin_database.cc std::set<base::FilePath>::iterator db_dir_itr = base 147 webkit/browser/fileapi/sandbox_origin_database.cc directories.find(base::FilePath(kOriginDatabaseName)); base 163 webkit/browser/fileapi/sandbox_origin_database.cc std::set<base::FilePath>::iterator dir_itr = base 176 webkit/browser/fileapi/sandbox_origin_database.cc for (std::set<base::FilePath>::iterator dir_itr = directories.begin(); base 179 webkit/browser/fileapi/sandbox_origin_database.cc if (!base::DeleteFile(file_system_directory_.Append(*dir_itr), base 198 webkit/browser/fileapi/sandbox_origin_database.cc base::Time now = base::Time::Now(); base 199 webkit/browser/fileapi/sandbox_origin_database.cc base::TimeDelta minimum_interval = base 200 webkit/browser/fileapi/sandbox_origin_database.cc base::TimeDelta::FromHours(kMinimumReportIntervalHours); base 237 webkit/browser/fileapi/sandbox_origin_database.cc const std::string& origin, base::FilePath* directory) { base 251 webkit/browser/fileapi/sandbox_origin_database.cc path_string = base::StringPrintf("%03u", last_path_number + 1); base 296 webkit/browser/fileapi/sandbox_origin_database.cc base::FilePath path = StringToFilePath(iter->value().ToString()); base 307 webkit/browser/fileapi/sandbox_origin_database.cc base::FilePath SandboxOriginDatabase::GetDatabasePath() const { base 313 webkit/browser/fileapi/sandbox_origin_database.cc base::DeleteFile(GetDatabasePath(), true /* recursive */); base 323 webkit/browser/fileapi/sandbox_origin_database.cc return base::StringToInt(number_string, number); base 34 webkit/browser/fileapi/sandbox_origin_database.h SandboxOriginDatabase(const base::FilePath& file_system_directory, base 41 webkit/browser/fileapi/sandbox_origin_database.h base::FilePath* directory) OVERRIDE; base 46 webkit/browser/fileapi/sandbox_origin_database.h base::FilePath GetDatabasePath() const; base 68 webkit/browser/fileapi/sandbox_origin_database.h base::FilePath file_system_directory_; base 71 webkit/browser/fileapi/sandbox_origin_database.h base::Time last_reported_time_; base 13 webkit/browser/fileapi/sandbox_origin_database_interface.cc const std::string& origin_in, const base::FilePath& path_in) base 20 webkit/browser/fileapi/sandbox_origin_database_interface.h base::FilePath path; base 23 webkit/browser/fileapi/sandbox_origin_database_interface.h OriginRecord(const std::string& origin, const base::FilePath& path); base 35 webkit/browser/fileapi/sandbox_origin_database_interface.h base::FilePath* directory) = 0; base 26 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath::CharType kFileSystemDirName[] = base 28 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath::CharType kOriginDatabaseName[] = base 33 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::ScopedTempDir dir; base 35 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); base 36 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(kFSDir)); base 37 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kFSDir)); base 46 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path0; base 47 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path1; base 59 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::PathExists(kFSDir.Append(kOriginDatabaseName))); base 63 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::ScopedTempDir dir; base 65 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); base 66 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(kFSDir)); base 67 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kFSDir)); base 76 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path0; base 77 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path1; base 87 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::PathExists(kFSDir.Append(kOriginDatabaseName))); base 91 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::ScopedTempDir dir; base 93 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); base 94 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(kFSDir)); base 95 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kFSDir)); base 102 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path0; base 107 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::PathExists(kFSDir.Append(kOriginDatabaseName))); base 111 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path1; base 119 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::ScopedTempDir dir; base 121 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); base 122 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(kFSDir)); base 123 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kFSDir)); base 131 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path0; base 139 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path1; base 146 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::ScopedTempDir dir; base 148 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); base 149 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(kFSDir)); base 150 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kFSDir)); base 165 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path0; base 166 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path1; base 195 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::ScopedTempDir dir; base 197 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); base 198 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kDBDir = kFSDir.Append(kOriginDatabaseName); base 199 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(kFSDir)); base 200 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kFSDir)); base 213 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path; base 220 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kFSDir.Append(path))); base 224 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kGarbageDir = kFSDir.AppendASCII("foo"); base 225 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kGarbageFile = kGarbageDir.AppendASCII("bar"); base 226 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kGarbageDir)); base 227 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::File file(kGarbageFile, base 228 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); base 239 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path; base 254 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(kGarbageFile)); base 255 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(kGarbageDir)); base 270 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::ScopedTempDir dir; base 272 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); base 273 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const base::FilePath kDBDir = kFSDir.Append(kOriginDatabaseName); base 274 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(kFSDir)); base 275 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kFSDir)); base 278 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::FilePath path; base 286 webkit/browser/fileapi/sandbox_origin_database_unittest.cc EXPECT_TRUE(base::CreateDirectory(kFSDir.Append(path))); base 19 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc const base::FilePath::CharType kPrimaryDirectory[] = base 21 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc const base::FilePath::CharType kPrimaryOriginFile[] = base 24 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc bool WritePrimaryOriginFile(const base::FilePath& path, base 26 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); base 38 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc bool ReadPrimaryOriginFile(const base::FilePath& path, base 41 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc if (!base::ReadFileToString(path, &buffer)) base 51 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc const base::FilePath& file_system_directory, base 71 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::FilePath(kPrimaryDirectory))); base 101 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc const std::string& origin, base::FilePath* directory) { base 116 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::DeleteFile(file_system_directory_.Append(kPrimaryOriginFile), base 152 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::FilePath(kPrimaryDirectory))); base 165 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::DeleteFile(file_system_directory_.Append(kPrimaryDirectory), base 176 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::FilePath directory_name; base 178 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc directory_name != base::FilePath(kPrimaryOriginFile)) { base 179 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::FilePath from_path = file_system_directory_.Append(directory_name); base 180 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::FilePath to_path = file_system_directory_.Append(kPrimaryDirectory); base 182 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc if (base::PathExists(to_path)) base 183 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::DeleteFile(to_path, true /* recursive */); base 184 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::Move(from_path, to_path); base 211 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc if (!create && !base::DirectoryExists(origin_database_->GetDatabasePath())) { base 27 webkit/browser/fileapi/sandbox_prioritized_origin_database.h SandboxPrioritizedOriginDatabase(const base::FilePath& file_system_directory, base 41 webkit/browser/fileapi/sandbox_prioritized_origin_database.h base::FilePath* directory) OVERRIDE; base 46 webkit/browser/fileapi/sandbox_prioritized_origin_database.h const base::FilePath& primary_origin_file() const { base 61 webkit/browser/fileapi/sandbox_prioritized_origin_database.h const base::FilePath file_system_directory_; base 63 webkit/browser/fileapi/sandbox_prioritized_origin_database.h const base::FilePath primary_origin_file_; base 16 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::ScopedTempDir dir; base 17 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::FilePath path; base 70 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::ScopedTempDir dir; base 71 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::FilePath path; base 99 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::ScopedTempDir dir; base 100 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::FilePath path; base 126 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::WriteFile(database.primary_origin_file(), kData.data(), kData.size()); base 137 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::ScopedTempDir dir; base 144 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::FilePath old_dir_db_path1, old_dir_db_path2; base 145 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::FilePath path1, path2; base 151 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::FilePath old_db_path = database_old.GetDatabasePath(); base 152 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(old_db_path)); base 160 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc EXPECT_TRUE(base::DirectoryExists(old_db_path)); base 164 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc ASSERT_TRUE(base::CreateDirectory(old_dir_db_path1)); base 166 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::WriteFile(old_dir_db_path1.AppendASCII("dummy"), base 170 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc ASSERT_TRUE(base::CreateDirectory(old_dir_db_path2)); base 172 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::WriteFile(old_dir_db_path2.AppendASCII("dummy"), base 196 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc base::FilePath dir_db_path = dir.path().Append(path1); base 197 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc EXPECT_TRUE(base::PathExists(dir_db_path.AppendASCII("dummy"))); base 198 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc EXPECT_TRUE(base::ReadFileToString( base 204 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc EXPECT_TRUE(base::PathExists(dir_db_path.AppendASCII("dummy"))); base 205 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc EXPECT_TRUE(base::ReadFileToString( base 210 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc EXPECT_FALSE(base::PathExists(old_dir_db_path1)); base 211 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc EXPECT_TRUE(base::PathExists(old_dir_db_path2)); base 20 webkit/browser/fileapi/sandbox_quota_observer.cc base::SequencedTaskRunner* update_notify_runner, base 32 webkit/browser/fileapi/sandbox_quota_observer.cc base::FilePath usage_file_path = GetUsageCachePath(url); base 50 webkit/browser/fileapi/sandbox_quota_observer.cc base::FilePath usage_file_path = GetUsageCachePath(url); base 60 webkit/browser/fileapi/sandbox_quota_observer.cc base::TimeDelta(), // No delay. base 61 webkit/browser/fileapi/sandbox_quota_observer.cc base::Bind(&SandboxQuotaObserver::ApplyPendingUsageUpdate, base 62 webkit/browser/fileapi/sandbox_quota_observer.cc base::Unretained(this))); base 69 webkit/browser/fileapi/sandbox_quota_observer.cc base::FilePath usage_file_path = GetUsageCachePath(url); base 105 webkit/browser/fileapi/sandbox_quota_observer.cc base::FilePath SandboxQuotaObserver::GetUsageCachePath( base 108 webkit/browser/fileapi/sandbox_quota_observer.cc base::File::Error error = base::File::FILE_OK; base 109 webkit/browser/fileapi/sandbox_quota_observer.cc base::FilePath path = base 112 webkit/browser/fileapi/sandbox_quota_observer.cc if (error != base::File::FILE_OK) { base 115 webkit/browser/fileapi/sandbox_quota_observer.cc return base::FilePath(); base 132 webkit/browser/fileapi/sandbox_quota_observer.cc const base::FilePath& usage_file_path, base 19 webkit/browser/fileapi/sandbox_quota_observer.h namespace base { base 38 webkit/browser/fileapi/sandbox_quota_observer.h typedef std::map<base::FilePath, int64> PendingUpdateNotificationMap; base 42 webkit/browser/fileapi/sandbox_quota_observer.h base::SequencedTaskRunner* update_notify_runner, base 61 webkit/browser/fileapi/sandbox_quota_observer.h void UpdateUsageCacheFile(const base::FilePath& usage_file_path, int64 delta); base 63 webkit/browser/fileapi/sandbox_quota_observer.h base::FilePath GetUsageCachePath(const FileSystemURL& url); base 66 webkit/browser/fileapi/sandbox_quota_observer.h scoped_refptr<base::SequencedTaskRunner> update_notify_runner_; base 21 webkit/browser/fileapi/task_runner_bound_observer_list.h DispatchToMethod(base::internal::UnwrapTraits<T>::Unwrap(obj), m, p); base 37 webkit/browser/fileapi/task_runner_bound_observer_list.h typedef scoped_refptr<base::SequencedTaskRunner> TaskRunnerPtr; base 57 webkit/browser/fileapi/task_runner_bound_observer_list.h base::SequencedTaskRunner* runner_to_notify) const { base 68 webkit/browser/fileapi/task_runner_bound_observer_list.h (base::internal::ParamsUseScopedRefptrCorrectly<Params>::value), base 78 webkit/browser/fileapi/task_runner_bound_observer_list.h base::Bind(&NotifyWrapper<ObserverStoreType, Method, Params>, base 84 webkit/browser/fileapi/task_runner_bound_observer_list.h typedef base::internal::UnwrapTraits<ObserverStoreType> UnwrapTraits; base 24 webkit/browser/fileapi/timed_task_helper.cc TimedTaskHelper::TimedTaskHelper(base::SequencedTaskRunner* task_runner) base 42 webkit/browser/fileapi/timed_task_helper.cc base::TimeDelta delay, base 43 webkit/browser/fileapi/timed_task_helper.cc const base::Closure& user_task) { base 53 webkit/browser/fileapi/timed_task_helper.cc desired_run_time_ = base::TimeTicks::Now() + delay_; base 73 webkit/browser/fileapi/timed_task_helper.cc base::TimeTicks now = base::TimeTicks::Now(); base 79 webkit/browser/fileapi/timed_task_helper.cc base::Closure task = user_task_; base 85 webkit/browser/fileapi/timed_task_helper.cc base::TimeDelta delay) { base 88 webkit/browser/fileapi/timed_task_helper.cc base::Bind(&TimedTaskHelper::Fired, base::Passed(&tracker)), base 16 webkit/browser/fileapi/timed_task_helper.h namespace base { base 28 webkit/browser/fileapi/timed_task_helper.h explicit TimedTaskHelper(base::SequencedTaskRunner* task_runner); base 33 webkit/browser/fileapi/timed_task_helper.h base::TimeDelta delay, base 34 webkit/browser/fileapi/timed_task_helper.h const base::Closure& user_task); base 42 webkit/browser/fileapi/timed_task_helper.h void PostDelayedTask(scoped_ptr<Tracker> tracker, base::TimeDelta delay); base 44 webkit/browser/fileapi/timed_task_helper.h scoped_refptr<base::SequencedTaskRunner> task_runner_; base 46 webkit/browser/fileapi/timed_task_helper.h base::TimeDelta delay_; base 47 webkit/browser/fileapi/timed_task_helper.h base::Closure user_task_; base 49 webkit/browser/fileapi/timed_task_helper.h base::TimeTicks desired_run_time_; base 22 webkit/browser/fileapi/timed_task_helper_unittest.cc : timer_(base::MessageLoopProxy::current().get()), timer_fired_(false) {} base 39 webkit/browser/fileapi/timed_task_helper_unittest.cc base::MessageLoop message_loop; base 47 webkit/browser/fileapi/timed_task_helper_unittest.cc base::TimeDelta::FromSeconds(0), base 48 webkit/browser/fileapi/timed_task_helper_unittest.cc base::Bind(&Embedder::OnTimerFired, base::Unretained(&embedder))); base 54 webkit/browser/fileapi/timed_task_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 60 webkit/browser/fileapi/timed_task_helper_unittest.cc base::MessageLoop message_loop; base 72 webkit/browser/fileapi/timed_task_helper_unittest.cc base::TimeDelta::FromSeconds(0), base 73 webkit/browser/fileapi/timed_task_helper_unittest.cc base::Bind(&Embedder::OnTimerFired, base::Unretained(&embedder))); base 80 webkit/browser/fileapi/timed_task_helper_unittest.cc base::RunLoop().RunUntilIdle(); base 22 webkit/browser/fileapi/transient_file_util.cc const base::FilePath& /*path*/) { base 31 webkit/browser/fileapi/transient_file_util.cc base::File::Error* error, base 32 webkit/browser/fileapi/transient_file_util.cc base::File::Info* file_info, base 33 webkit/browser/fileapi/transient_file_util.cc base::FilePath* platform_path) { base 36 webkit/browser/fileapi/transient_file_util.cc if (*error == base::File::FILE_OK && file_info->is_directory) base 37 webkit/browser/fileapi/transient_file_util.cc *error = base::File::FILE_ERROR_NOT_A_FILE; base 38 webkit/browser/fileapi/transient_file_util.cc if (*error != base::File::FILE_OK) base 50 webkit/browser/fileapi/transient_file_util.cc base::Bind(&RevokeFileSystem, url.filesystem_id()), NULL); base 26 webkit/browser/fileapi/transient_file_util.h base::File::Error* error, base 27 webkit/browser/fileapi/transient_file_util.h base::File::Info* file_info, base 28 webkit/browser/fileapi/transient_file_util.h base::FilePath* platform_path) OVERRIDE; base 19 webkit/browser/quota/mock_quota_manager.cc base::Time modified) base 33 webkit/browser/quota/mock_quota_manager.cc const base::FilePath& profile_path, base 34 webkit/browser/quota/mock_quota_manager.cc base::SingleThreadTaskRunner* io_thread, base 35 webkit/browser/quota/mock_quota_manager.cc base::SequencedTaskRunner* db_thread, base 59 webkit/browser/quota/mock_quota_manager.cc base::Time modified) { base 81 webkit/browser/quota/mock_quota_manager.cc base::Time modified_since, base 91 webkit/browser/quota/mock_quota_manager.cc base::MessageLoop::current()->PostTask( base 93 webkit/browser/quota/mock_quota_manager.cc base::Bind(&MockQuotaManager::DidGetModifiedSince, base 96 webkit/browser/quota/mock_quota_manager.cc base::Owned(origins_to_return), base 117 webkit/browser/quota/mock_quota_manager.cc base::MessageLoop::current()->PostTask( base 119 webkit/browser/quota/mock_quota_manager.cc base::Bind(&MockQuotaManager::DidDeleteOriginData, base 36 webkit/browser/quota/mock_quota_manager.h const base::FilePath& profile_path, base 37 webkit/browser/quota/mock_quota_manager.h base::SingleThreadTaskRunner* io_thread, base 38 webkit/browser/quota/mock_quota_manager.h base::SequencedTaskRunner* db_thread, base 55 webkit/browser/quota/mock_quota_manager.h base::Time modified_since, base 80 webkit/browser/quota/mock_quota_manager.h base::Time modified); base 103 webkit/browser/quota/mock_quota_manager.h base::Time modified); base 109 webkit/browser/quota/mock_quota_manager.h base::Time modified; base 137 webkit/browser/quota/mock_quota_manager.h base::WeakPtrFactory<MockQuotaManager> weak_factory_; base 15 webkit/browser/quota/mock_quota_manager_proxy.cc base::SingleThreadTaskRunner* task_runner) base 22 webkit/browser/quota/mock_quota_manager_proxy.h base::SingleThreadTaskRunner* task_runner); base 36 webkit/browser/quota/mock_quota_manager_proxy.h base::SequencedTaskRunner* original_task_runner, base 46 webkit/browser/quota/mock_quota_manager_unittest.cc base::MessageLoopProxy::current().get(), base 47 webkit/browser/quota/mock_quota_manager_unittest.cc base::MessageLoopProxy::current().get(), base 54 webkit/browser/quota/mock_quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 57 webkit/browser/quota/mock_quota_manager_unittest.cc void GetModifiedOrigins(StorageType type, base::Time since) { base 60 webkit/browser/quota/mock_quota_manager_unittest.cc base::Bind(&MockQuotaManagerTest::GotModifiedOrigins, base 73 webkit/browser/quota/mock_quota_manager_unittest.cc base::Bind(&MockQuotaManagerTest::DeletedOriginData, base 99 webkit/browser/quota/mock_quota_manager_unittest.cc base::MessageLoop message_loop_; base 100 webkit/browser/quota/mock_quota_manager_unittest.cc base::ScopedTempDir data_dir_; base 109 webkit/browser/quota/mock_quota_manager_unittest.cc base::WeakPtrFactory<MockQuotaManagerTest> weak_factory_; base 124 webkit/browser/quota/mock_quota_manager_unittest.cc manager()->AddOrigin(kOrigin1, kTemporary, kClientFile, base::Time::Now()); base 134 webkit/browser/quota/mock_quota_manager_unittest.cc manager()->AddOrigin(kOrigin1, kPersistent, kClientFile, base::Time::Now()); base 145 webkit/browser/quota/mock_quota_manager_unittest.cc base::Time::Now()); base 157 webkit/browser/quota/mock_quota_manager_unittest.cc manager()->AddOrigin(kOrigin1, kTemporary, kClientFile, base::Time::Now()); base 159 webkit/browser/quota/mock_quota_manager_unittest.cc base::Time::Now()); base 161 webkit/browser/quota/mock_quota_manager_unittest.cc base::Time::Now()); base 164 webkit/browser/quota/mock_quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 174 webkit/browser/quota/mock_quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 185 webkit/browser/quota/mock_quota_manager_unittest.cc base::Time now = base::Time::Now(); base 186 webkit/browser/quota/mock_quota_manager_unittest.cc base::Time then = base::Time(); base 187 webkit/browser/quota/mock_quota_manager_unittest.cc base::TimeDelta an_hour = base::TimeDelta::FromMilliseconds(3600000); base 188 webkit/browser/quota/mock_quota_manager_unittest.cc base::TimeDelta a_minute = base::TimeDelta::FromMilliseconds(60000); base 191 webkit/browser/quota/mock_quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 197 webkit/browser/quota/mock_quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 207 webkit/browser/quota/mock_quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 215 webkit/browser/quota/mock_quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 76 webkit/browser/quota/mock_storage_client.cc base::Time MockStorageClient::IncrementMockTime() { base 78 webkit/browser/quota/mock_storage_client.cc return base::Time::FromDoubleT(mock_time_counter_ * 10.0); base 92 webkit/browser/quota/mock_storage_client.cc base::MessageLoopProxy::current()->PostTask( base 94 webkit/browser/quota/mock_storage_client.cc base::Bind(&MockStorageClient::RunGetOriginUsage, base 100 webkit/browser/quota/mock_storage_client.cc base::MessageLoopProxy::current()->PostTask( base 102 webkit/browser/quota/mock_storage_client.cc base::Bind(&MockStorageClient::RunGetOriginsForType, base 109 webkit/browser/quota/mock_storage_client.cc base::MessageLoopProxy::current()->PostTask( base 111 webkit/browser/quota/mock_storage_client.cc base::Bind(&MockStorageClient::RunGetOriginsForHost, base 118 webkit/browser/quota/mock_storage_client.cc base::MessageLoopProxy::current()->PostTask( base 120 webkit/browser/quota/mock_storage_client.cc base::Bind(&MockStorageClient::RunDeleteOriginData, base 47 webkit/browser/quota/mock_storage_client.h base::Time IncrementMockTime(); base 89 webkit/browser/quota/mock_storage_client.h base::WeakPtrFactory<MockStorageClient> weak_factory_; base 27 webkit/browser/quota/quota_callbacks.h typedef base::Callback<void(int64 usage, base 29 webkit/browser/quota/quota_callbacks.h typedef base::Callback<void(QuotaStatusCode status, int64 quota)> QuotaCallback; base 30 webkit/browser/quota/quota_callbacks.h typedef base::Callback<void(int64 usage)> UsageCallback; base 31 webkit/browser/quota/quota_callbacks.h typedef base::Callback<void(QuotaStatusCode, int64)> AvailableSpaceCallback; base 32 webkit/browser/quota/quota_callbacks.h typedef base::Callback<void(QuotaStatusCode)> StatusCallback; base 33 webkit/browser/quota/quota_callbacks.h typedef base::Callback<void(const std::set<GURL>& origins, base 35 webkit/browser/quota/quota_callbacks.h typedef base::Callback<void(const UsageInfoEntries&)> GetUsageInfoCallback; base 81 webkit/browser/quota/quota_callbacks.h typedef CallbackQueue<base::Closure, Tuple0> ClosureQueue; base 25 webkit/browser/quota/quota_client.h typedef base::Callback<void(int64 usage)> GetUsageCallback; base 26 webkit/browser/quota/quota_client.h typedef base::Callback<void(const std::set<GURL>& origins)> base 28 webkit/browser/quota/quota_client.h typedef base::Callback<void(QuotaStatusCode status)> DeletionCallback; base 115 webkit/browser/quota/quota_database.cc const base::Time& last_access_time, base 116 webkit/browser/quota/quota_database.cc const base::Time& last_modified_time) base 125 webkit/browser/quota/quota_database.cc QuotaDatabase::QuotaDatabase(const base::FilePath& path) base 187 webkit/browser/quota/quota_database.cc const GURL& origin, StorageType type, base::Time last_access_time) { base 221 webkit/browser/quota/quota_database.cc const GURL& origin, StorageType type, base::Time last_modified_time) { base 360 webkit/browser/quota/quota_database.cc StorageType type, std::set<GURL>* origins, base::Time modified_since) { base 408 webkit/browser/quota/quota_database.cc timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kCommitIntervalMs), base 444 webkit/browser/quota/quota_database.cc (in_memory_only || !base::PathExists(db_file_path_))) { base 456 webkit/browser/quota/quota_database.cc } else if (!base::CreateDirectory(db_file_path_.DirName())) { base 556 webkit/browser/quota/quota_database.cc DCHECK(base::PathExists(db_file_path_)); base 569 webkit/browser/quota/quota_database.cc base::AutoReset<bool> auto_reset(&is_recreating_, true); base 577 webkit/browser/quota/quota_database.cc if (!DumpQuotaTable(base::Bind(&QuotaTableImporter::Append, base 578 webkit/browser/quota/quota_database.cc base::Unretained(&importer)))) { base 627 webkit/browser/quota/quota_database.cc base::Time::FromInternalValue(statement.ColumnInt64(3)), base 628 webkit/browser/quota/quota_database.cc base::Time::FromInternalValue(statement.ColumnInt64(4))); base 41 webkit/browser/quota/quota_database.h explicit QuotaDatabase(const base::FilePath& path); base 52 webkit/browser/quota/quota_database.h base::Time last_access_time); base 56 webkit/browser/quota/quota_database.h base::Time last_modified_time); base 82 webkit/browser/quota/quota_database.h base::Time modified_since); base 110 webkit/browser/quota/quota_database.h const base::Time& last_access_time, base 111 webkit/browser/quota/quota_database.h const base::Time& last_modified_time); base 115 webkit/browser/quota/quota_database.h base::Time last_access_time; base 116 webkit/browser/quota/quota_database.h base::Time last_modified_time; base 133 webkit/browser/quota/quota_database.h typedef base::Callback<bool (const QuotaTableEntry&)> QuotaTableCallback; base 134 webkit/browser/quota/quota_database.h typedef base::Callback<bool (const OriginInfoTableEntry&)> base 166 webkit/browser/quota/quota_database.h base::FilePath db_file_path_; base 173 webkit/browser/quota/quota_database.h base::OneShotTimer<QuotaDatabase> timer_; base 26 webkit/browser/quota/quota_database_unittest.cc const base::Time kZeroTime; base 39 webkit/browser/quota/quota_database_unittest.cc void LazyOpen(const base::FilePath& kDbFile) { base 44 webkit/browser/quota/quota_database_unittest.cc EXPECT_TRUE(kDbFile.empty() || base::PathExists(kDbFile)); base 47 webkit/browser/quota/quota_database_unittest.cc void UpgradeSchemaV2toV3(const base::FilePath& kDbFile) { base 63 webkit/browser/quota/quota_database_unittest.cc base::Bind(&Verifier::Run, base::Unretained(&verifier)))); base 67 webkit/browser/quota/quota_database_unittest.cc void HostQuota(const base::FilePath& kDbFile) { base 97 webkit/browser/quota/quota_database_unittest.cc void GlobalQuota(const base::FilePath& kDbFile) { base 127 webkit/browser/quota/quota_database_unittest.cc void OriginLastAccessTimeLRU(const base::FilePath& kDbFile) { base 144 webkit/browser/quota/quota_database_unittest.cc kOrigin1, kStorageTypeTemporary, base::Time::FromInternalValue(10))); base 146 webkit/browser/quota/quota_database_unittest.cc kOrigin2, kStorageTypeTemporary, base::Time::FromInternalValue(20))); base 148 webkit/browser/quota/quota_database_unittest.cc kOrigin3, kStorageTypeTemporary, base::Time::FromInternalValue(30))); base 152 webkit/browser/quota/quota_database_unittest.cc kOrigin4, kStorageTypePersistent, base::Time::FromInternalValue(40))); base 184 webkit/browser/quota/quota_database_unittest.cc kOrigin1, kStorageTypeTemporary, base::Time::Now())); base 202 webkit/browser/quota/quota_database_unittest.cc void OriginLastModifiedSince(const base::FilePath& kDbFile) { base 208 webkit/browser/quota/quota_database_unittest.cc kStorageTypeTemporary, &origins, base::Time())); base 217 webkit/browser/quota/quota_database_unittest.cc kOrigin1, kStorageTypeTemporary, base::Time::FromInternalValue(0))); base 219 webkit/browser/quota/quota_database_unittest.cc kOrigin2, kStorageTypeTemporary, base::Time::FromInternalValue(10))); base 221 webkit/browser/quota/quota_database_unittest.cc kOrigin3, kStorageTypeTemporary, base::Time::FromInternalValue(20))); base 224 webkit/browser/quota/quota_database_unittest.cc kStorageTypeTemporary, &origins, base::Time())); base 231 webkit/browser/quota/quota_database_unittest.cc kStorageTypeTemporary, &origins, base::Time::FromInternalValue(5))); base 238 webkit/browser/quota/quota_database_unittest.cc kStorageTypeTemporary, &origins, base::Time::FromInternalValue(15))); base 245 webkit/browser/quota/quota_database_unittest.cc kStorageTypeTemporary, &origins, base::Time::FromInternalValue(25))); base 250 webkit/browser/quota/quota_database_unittest.cc kOrigin1, kStorageTypePersistent, base::Time::FromInternalValue(30))); base 254 webkit/browser/quota/quota_database_unittest.cc kStorageTypeTemporary, &origins, base::Time::FromInternalValue(5))); base 262 webkit/browser/quota/quota_database_unittest.cc kOrigin2, kStorageTypePersistent, base::Time::FromInternalValue(40))); base 265 webkit/browser/quota/quota_database_unittest.cc kStorageTypePersistent, &origins, base::Time::FromInternalValue(25))); base 272 webkit/browser/quota/quota_database_unittest.cc kStorageTypePersistent, &origins, base::Time::FromInternalValue(35))); base 279 webkit/browser/quota/quota_database_unittest.cc void RegisterInitialOriginInfo(const base::FilePath& kDbFile) { base 298 webkit/browser/quota/quota_database_unittest.cc base::Time::FromDoubleT(1.0))); base 328 webkit/browser/quota/quota_database_unittest.cc void DumpQuotaTable(const base::FilePath& kDbFile) { base 345 webkit/browser/quota/quota_database_unittest.cc base::Bind(&Verifier::Run, base::Unretained(&verifier)))); base 349 webkit/browser/quota/quota_database_unittest.cc void DumpOriginInfoTable(const base::FilePath& kDbFile) { base 350 webkit/browser/quota/quota_database_unittest.cc base::Time now(base::Time::Now()); base 368 webkit/browser/quota/quota_database_unittest.cc base::Bind(&Verifier::Run, base::Unretained(&verifier)))); base 413 webkit/browser/quota/quota_database_unittest.cc bool OpenDatabase(sql::Connection* db, const base::FilePath& kDbFile) { base 417 webkit/browser/quota/quota_database_unittest.cc if (!base::CreateDirectory(kDbFile.DirName())) base 427 webkit/browser/quota/quota_database_unittest.cc const base::FilePath& kDbFile, base 476 webkit/browser/quota/quota_database_unittest.cc base::MessageLoop message_loop_; base 480 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 482 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 484 webkit/browser/quota/quota_database_unittest.cc LazyOpen(base::FilePath()); base 488 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 490 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 495 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 497 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 499 webkit/browser/quota/quota_database_unittest.cc HostQuota(base::FilePath()); base 503 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 505 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 507 webkit/browser/quota/quota_database_unittest.cc GlobalQuota(base::FilePath()); base 511 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 513 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 515 webkit/browser/quota/quota_database_unittest.cc OriginLastAccessTimeLRU(base::FilePath()); base 519 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 521 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 523 webkit/browser/quota/quota_database_unittest.cc OriginLastModifiedSince(base::FilePath()); base 527 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 530 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 541 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 543 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 545 webkit/browser/quota/quota_database_unittest.cc RegisterInitialOriginInfo(base::FilePath()); base 549 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 551 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 553 webkit/browser/quota/quota_database_unittest.cc DumpQuotaTable(base::FilePath()); base 557 webkit/browser/quota/quota_database_unittest.cc base::ScopedTempDir data_dir; base 559 webkit/browser/quota/quota_database_unittest.cc const base::FilePath kDbFile = data_dir.path().AppendASCII(kDBFileName); base 561 webkit/browser/quota/quota_database_unittest.cc DumpOriginInfoTable(base::FilePath()); base 179 webkit/browser/quota/quota_manager.cc base::Time accessed_time, base 187 webkit/browser/quota/quota_manager.cc base::Time modified_time, base 193 webkit/browser/quota/quota_manager.cc int64 CallSystemGetAmountOfFreeDiskSpace(const base::FilePath& profile_path) { base 195 webkit/browser/quota/quota_manager.cc if (!base::CreateDirectory(profile_path)) { base 199 webkit/browser/quota/quota_manager.cc return base::SysInfo::AmountOfFreeDiskSpace(profile_path); base 325 webkit/browser/quota/quota_manager.cc public base::SupportsWeakPtr<UsageAndQuotaCallbackDispatcher> { base 367 webkit/browser/quota/quota_manager.cc return base::Bind(&UsageAndQuotaCallbackDispatcher::DidGetHostUsage, base 374 webkit/browser/quota/quota_manager.cc return base::Bind( base 382 webkit/browser/quota/quota_manager.cc return base::Bind(&UsageAndQuotaCallbackDispatcher::DidGetQuota, base 389 webkit/browser/quota/quota_manager.cc return base::Bind(&UsageAndQuotaCallbackDispatcher::DidGetAvailableSpace, base 481 webkit/browser/quota/quota_manager.cc base::Bind(&GetUsageInfoTask::DidGetGlobalUsage, base 485 webkit/browser/quota/quota_manager.cc base::Bind(&GetUsageInfoTask::DidGetGlobalUsage, base 489 webkit/browser/quota/quota_manager.cc base::Bind(&GetUsageInfoTask::DidGetGlobalUsage, base 529 webkit/browser/quota/quota_manager.cc base::WeakPtrFactory<GetUsageInfoTask> weak_factory_; base 560 webkit/browser/quota/quota_manager.cc base::Bind(&OriginDataDeleter::DidDeleteOriginData, base 610 webkit/browser/quota/quota_manager.cc base::WeakPtrFactory<OriginDataDeleter> weak_factory_; base 639 webkit/browser/quota/quota_manager.cc base::Bind(&HostDataDeleter::DidGetOriginsForHost, base 680 webkit/browser/quota/quota_manager.cc base::Bind(&HostDataDeleter::DidDeleteOriginData, base 709 webkit/browser/quota/quota_manager.cc base::WeakPtrFactory<HostDataDeleter> weak_factory_; base 716 webkit/browser/quota/quota_manager.cc base::Time modified_since, base 722 webkit/browser/quota/quota_manager.cc void DidGetModifiedSince(const base::WeakPtr<QuotaManager>& manager, base 744 webkit/browser/quota/quota_manager.cc base::Bind(&DumpQuotaTableHelper::AppendEntry, base::Unretained(this))); base 747 webkit/browser/quota/quota_manager.cc void DidDumpQuotaTable(const base::WeakPtr<QuotaManager>& manager, base 773 webkit/browser/quota/quota_manager.cc base::Bind(&DumpOriginInfoTableHelper::AppendEntry, base 774 webkit/browser/quota/quota_manager.cc base::Unretained(this))); base 777 webkit/browser/quota/quota_manager.cc void DidDumpOriginInfoTable(const base::WeakPtr<QuotaManager>& manager, base 801 webkit/browser/quota/quota_manager.cc const base::FilePath& profile_path, base 802 webkit/browser/quota/quota_manager.cc base::SingleThreadTaskRunner* io_thread, base 803 webkit/browser/quota/quota_manager.cc base::SequencedTaskRunner* db_thread, base 871 webkit/browser/quota/quota_manager.cc dispatcher->WaitForResults(base::Bind( base 894 webkit/browser/quota/quota_manager.cc NotifyStorageAccessedInternal(client_id, origin, type, base::Time::Now()); base 902 webkit/browser/quota/quota_manager.cc base::Time::Now()); base 965 webkit/browser/quota/quota_manager.cc base::Bind(get_disk_space_fn_, profile_path_), base 966 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidGetAvailableSpace, base 973 webkit/browser/quota/quota_manager.cc db_initialization_callbacks_.Add(base::Bind( base 990 webkit/browser/quota/quota_manager.cc base::Bind(&DispatchTemporaryGlobalQuotaCallback, callback)); base 1012 webkit/browser/quota/quota_manager.cc base::Bind(&SetTemporaryGlobalOverrideQuotaOnDBThread, base 1013 webkit/browser/quota/quota_manager.cc base::Unretained(new_quota_ptr)), base 1014 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidSetTemporaryGlobalOverrideQuota, base 1017 webkit/browser/quota/quota_manager.cc base::Owned(new_quota_ptr))); base 1037 webkit/browser/quota/quota_manager.cc base::Bind(&GetPersistentHostQuotaOnDBThread, base 1039 webkit/browser/quota/quota_manager.cc base::Unretained(quota_ptr)), base 1040 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidGetPersistentHostQuota, base 1043 webkit/browser/quota/quota_manager.cc base::Owned(quota_ptr))); base 1074 webkit/browser/quota/quota_manager.cc base::Bind(&SetPersistentHostQuotaOnDBThread, base 1076 webkit/browser/quota/quota_manager.cc base::Unretained(new_quota_ptr)), base 1077 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidSetPersistentHostQuota, base 1081 webkit/browser/quota/quota_manager.cc base::Owned(new_quota_ptr))); base 1129 webkit/browser/quota/quota_manager.cc (*statistics)[p->first] = base::Int64ToString(p->second); base 1146 webkit/browser/quota/quota_manager.cc base::Time modified_since, base 1152 webkit/browser/quota/quota_manager.cc base::Bind(&GetModifiedSinceHelper::GetModifiedSinceOnDBThread, base 1153 webkit/browser/quota/quota_manager.cc base::Unretained(helper), base 1156 webkit/browser/quota/quota_manager.cc base::Bind(&GetModifiedSinceHelper::DidGetModifiedSince, base 1157 webkit/browser/quota/quota_manager.cc base::Owned(helper), base 1229 webkit/browser/quota/quota_manager.cc database_.reset(new QuotaDatabase(is_incognito_ ? base::FilePath() : base 1246 webkit/browser/quota/quota_manager.cc base::Bind(&InitializeOnDBThread, base 1247 webkit/browser/quota/quota_manager.cc base::Unretained(temporary_quota_override), base 1248 webkit/browser/quota/quota_manager.cc base::Unretained(desired_available_space)), base 1249 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidInitialize, base 1251 webkit/browser/quota/quota_manager.cc base::Owned(temporary_quota_override), base 1252 webkit/browser/quota/quota_manager.cc base::Owned(desired_available_space))); base 1287 webkit/browser/quota/quota_manager.cc base::Time accessed_time) { base 1299 webkit/browser/quota/quota_manager.cc base::Bind(&UpdateAccessTimeOnDBThread, origin, type, accessed_time), base 1300 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidDatabaseWork, base 1309 webkit/browser/quota/quota_manager.cc base::Time modified_time) { base 1316 webkit/browser/quota/quota_manager.cc base::Bind(&UpdateModifiedTimeOnDBThread, origin, type, modified_time), base 1317 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidDatabaseWork, base 1325 webkit/browser/quota/quota_manager.cc base::Bind(&DumpQuotaTableHelper::DumpQuotaTableOnDBThread, base 1326 webkit/browser/quota/quota_manager.cc base::Unretained(helper)), base 1327 webkit/browser/quota/quota_manager.cc base::Bind(&DumpQuotaTableHelper::DidDumpQuotaTable, base 1328 webkit/browser/quota/quota_manager.cc base::Owned(helper), base 1338 webkit/browser/quota/quota_manager.cc base::Bind(&DumpOriginInfoTableHelper::DumpOriginInfoTableOnDBThread, base 1339 webkit/browser/quota/quota_manager.cc base::Unretained(helper)), base 1340 webkit/browser/quota/quota_manager.cc base::Bind(&DumpOriginInfoTableHelper::DidDumpOriginInfoTable, base 1341 webkit/browser/quota/quota_manager.cc base::Owned(helper), base 1364 webkit/browser/quota/quota_manager.cc base::Bind(&DeleteOriginInfoOnDBThread, origin, type), base 1365 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidDatabaseWork, base 1385 webkit/browser/quota/quota_manager.cc base::Bind( base 1389 webkit/browser/quota/quota_manager.cc base::Bind( base 1472 webkit/browser/quota/quota_manager.cc base::Bind(&GetLRUOriginOnDBThread, base 1474 webkit/browser/quota/quota_manager.cc base::Owned(exceptions), base 1476 webkit/browser/quota/quota_manager.cc base::Unretained(url)), base 1477 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidGetLRUOrigin, base 1479 webkit/browser/quota/quota_manager.cc base::Owned(url))); base 1494 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidOriginDataEvicted, base 1554 webkit/browser/quota/quota_manager.cc base::TimeDelta::FromMilliseconds( base 1560 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidGetInitialTemporaryGlobalQuota, base 1589 webkit/browser/quota/quota_manager.cc base::Bind(&InitializeTemporaryOriginsInfoOnDBThread, base 1590 webkit/browser/quota/quota_manager.cc base::Owned(origins)), base 1591 webkit/browser/quota/quota_manager.cc base::Bind(&QuotaManager::DidInitializeTemporaryOriginsInfo, base 1619 webkit/browser/quota/quota_manager.cc const base::Callback<bool(QuotaDatabase*)>& task, base 1620 webkit/browser/quota/quota_manager.cc const base::Callback<void(bool)>& reply) { base 1624 webkit/browser/quota/quota_manager.cc base::PostTaskAndReplyWithResult( base 1627 webkit/browser/quota/quota_manager.cc base::Bind(task, base::Unretained(database_.get())), base 31 webkit/browser/quota/quota_manager.h namespace base { base 68 webkit/browser/quota/quota_manager.h typedef base::Callback<void(const GURL&)> GetLRUOriginCallback; base 70 webkit/browser/quota/quota_manager.h typedef base::Callback<void(QuotaStatusCode status, base 108 webkit/browser/quota/quota_manager.h public base::RefCountedThreadSafe<QuotaManager, QuotaManagerDeleter> { base 110 webkit/browser/quota/quota_manager.h typedef base::Callback<void(QuotaStatusCode, base 119 webkit/browser/quota/quota_manager.h const base::FilePath& profile_path, base 120 webkit/browser/quota/quota_manager.h base::SingleThreadTaskRunner* io_thread, base 121 webkit/browser/quota/quota_manager.h base::SequencedTaskRunner* db_thread, base 225 webkit/browser/quota/quota_manager.h base::Time modified_since, base 259 webkit/browser/quota/quota_manager.h friend class base::DeleteHelper<QuotaManager>; base 260 webkit/browser/quota/quota_manager.h friend class base::RefCountedThreadSafe<QuotaManager, QuotaManagerDeleter>; base 286 webkit/browser/quota/quota_manager.h typedef int64 (*GetAvailableDiskSpaceFn)(const base::FilePath&); base 288 webkit/browser/quota/quota_manager.h typedef base::Callback<void(const QuotaTableEntries&)> base 290 webkit/browser/quota/quota_manager.h typedef base::Callback<void(const OriginInfoTableEntries&)> base 327 webkit/browser/quota/quota_manager.h base::Time accessed_time); base 333 webkit/browser/quota/quota_manager.h base::Time modified_time); base 386 webkit/browser/quota/quota_manager.h const base::Callback<bool(QuotaDatabase*)>& task, base 387 webkit/browser/quota/quota_manager.h const base::Callback<void(bool)>& reply); base 390 webkit/browser/quota/quota_manager.h const base::FilePath profile_path_; base 395 webkit/browser/quota/quota_manager.h scoped_refptr<base::SingleThreadTaskRunner> io_thread_; base 396 webkit/browser/quota/quota_manager.h scoped_refptr<base::SequencedTaskRunner> db_thread_; base 430 webkit/browser/quota/quota_manager.h base::RepeatingTimer<QuotaManager> histogram_timer_; base 439 webkit/browser/quota/quota_manager.h base::WeakPtrFactory<QuotaManager> weak_factory_; base 20 webkit/browser/quota/quota_manager_proxy.cc base::SequencedTaskRunner* original_task_runner, base 26 webkit/browser/quota/quota_manager_proxy.cc base::Bind(&DidGetUsageAndQuota, base 40 webkit/browser/quota/quota_manager_proxy.cc base::Bind(&QuotaManagerProxy::RegisterClient, this, client))) { base 57 webkit/browser/quota/quota_manager_proxy.cc base::Bind(&QuotaManagerProxy::NotifyStorageAccessed, this, client_id, base 74 webkit/browser/quota/quota_manager_proxy.cc base::Bind(&QuotaManagerProxy::NotifyStorageModified, this, client_id, base 88 webkit/browser/quota/quota_manager_proxy.cc base::Bind(&QuotaManagerProxy::NotifyOriginInUse, this, origin)); base 101 webkit/browser/quota/quota_manager_proxy.cc base::Bind(&QuotaManagerProxy::NotifyOriginNoLongerInUse, this, base 116 webkit/browser/quota/quota_manager_proxy.cc base::Bind(&QuotaManagerProxy::SetUsageCacheEnabled, this, base 125 webkit/browser/quota/quota_manager_proxy.cc base::SequencedTaskRunner* original_task_runner, base 132 webkit/browser/quota/quota_manager_proxy.cc base::Bind(&QuotaManagerProxy::GetUsageAndQuota, this, base 143 webkit/browser/quota/quota_manager_proxy.cc base::Bind(&DidGetUsageAndQuota, base 153 webkit/browser/quota/quota_manager_proxy.cc QuotaManager* manager, base::SingleThreadTaskRunner* io_thread) base 23 webkit/browser/quota/quota_manager_proxy.h namespace base { base 32 webkit/browser/quota/quota_manager_proxy.h : public base::RefCountedThreadSafe<QuotaManagerProxy> { base 53 webkit/browser/quota/quota_manager_proxy.h base::SequencedTaskRunner* original_task_runner, base 64 webkit/browser/quota/quota_manager_proxy.h friend class base::RefCountedThreadSafe<QuotaManagerProxy>; base 67 webkit/browser/quota/quota_manager_proxy.h base::SingleThreadTaskRunner* io_thread); base 71 webkit/browser/quota/quota_manager_proxy.h scoped_refptr<base::SingleThreadTaskRunner> io_thread_; base 28 webkit/browser/quota/quota_manager_unittest.cc using base::MessageLoopProxy; base 47 webkit/browser/quota/quota_manager_unittest.cc int64 GetAvailableDiskSpaceForTest(const base::FilePath&) { base 74 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 106 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetUsageInfo, base 116 webkit/browser/quota/quota_manager_unittest.cc origin, type, base::Bind(&QuotaManagerTest::DidGetUsageAndQuota, base 126 webkit/browser/quota/quota_manager_unittest.cc origin, type, base::Bind(&QuotaManagerTest::DidGetUsageAndQuota, base 134 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetQuota, base 143 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetQuota, base 152 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetHostQuota, base 161 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetHostQuota, base 170 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetGlobalUsage, base 178 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetHostUsage, base 185 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetUsageAndQuotaAdditional, base 196 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::StatusCallback, base 205 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::StatusCallback, base 215 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::StatusCallback, base 225 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::StatusCallback, base 233 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetAvailableSpace, base 244 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetUsageAndQuotaForEviction, base 270 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetLRUOrigin, base 282 webkit/browser/quota/quota_manager_unittest.cc void GetOriginsModifiedSince(StorageType type, base::Time modified_since) { base 287 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidGetModifiedOrigins, base 294 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidDumpQuotaTable, base 301 webkit/browser/quota/quota_manager_unittest.cc base::Bind(&QuotaManagerTest::DidDumpOriginInfoTable, base 404 webkit/browser/quota/quota_manager_unittest.cc base::FilePath profile_path() const { return data_dir_.path(); } base 409 webkit/browser/quota/quota_manager_unittest.cc base::Time IncrementMockTime() { base 411 webkit/browser/quota/quota_manager_unittest.cc return base::Time::FromDoubleT(mock_time_counter_ * 10.0); base 414 webkit/browser/quota/quota_manager_unittest.cc base::MessageLoop message_loop_; base 415 webkit/browser/quota/quota_manager_unittest.cc base::ScopedTempDir data_dir_; base 438 webkit/browser/quota/quota_manager_unittest.cc base::WeakPtrFactory<QuotaManagerTest> weak_factory_; base 462 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 491 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 497 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 504 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 512 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 517 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 522 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 526 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 530 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 535 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 543 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 548 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 553 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 557 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 561 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 566 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 585 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 590 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 601 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 629 webkit/browser/quota/quota_manager_unittest.cc GetAvailableDiskSpaceForTest(base::FilePath()) / kPerHostTemporaryPortion; base 632 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 637 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 642 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 648 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 654 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 659 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 665 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 671 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 677 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 693 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 702 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 709 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 714 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 733 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 740 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 750 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 767 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 781 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 794 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 799 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 805 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 811 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 830 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 833 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 841 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 847 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 853 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 859 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 866 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 872 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 878 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 884 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 890 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 900 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 905 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 911 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 917 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 923 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 955 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 959 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 967 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 974 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 982 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 989 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 998 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1004 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1010 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1027 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1035 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1057 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1081 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1091 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1115 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1133 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1138 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1143 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1147 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1167 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1175 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1180 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1188 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1193 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1200 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1216 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1220 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1224 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1229 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1233 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1237 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1241 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1247 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1274 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1278 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1282 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1291 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1294 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1297 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1308 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1312 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1316 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1333 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1337 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1341 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1346 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1354 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1359 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1377 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1382 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1387 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1393 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1397 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1401 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1419 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1422 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1438 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1442 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1446 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1450 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1454 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1458 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1462 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1466 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1470 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1474 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1478 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1504 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1508 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1512 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1516 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1520 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1527 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1532 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1547 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1552 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1556 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1560 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1564 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1592 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1596 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1600 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1604 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1608 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1617 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1623 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1628 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1641 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1645 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1649 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1653 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1657 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1681 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1686 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1694 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1718 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1723 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1730 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1735 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1740 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1758 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1767 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1773 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1779 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1787 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1795 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1811 webkit/browser/quota/quota_manager_unittest.cc GetOriginsModifiedSince(kTemp, base::Time()); base 1812 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1816 webkit/browser/quota/quota_manager_unittest.cc base::Time time1 = client->IncrementMockTime(); base 1820 webkit/browser/quota/quota_manager_unittest.cc base::Time time2 = client->IncrementMockTime(); base 1823 webkit/browser/quota/quota_manager_unittest.cc base::Time time3 = client->IncrementMockTime(); base 1826 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1835 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1839 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1846 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1856 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1859 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1895 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1898 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1926 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1931 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1962 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1966 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1968 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1972 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1974 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1978 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1980 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1985 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 1987 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2018 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2022 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2024 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2028 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2030 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2034 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2036 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2040 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2042 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2073 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2078 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2080 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2085 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2087 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2118 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2123 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2125 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2130 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2132 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2147 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2154 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2162 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 2168 webkit/browser/quota/quota_manager_unittest.cc base::RunLoop().RunUntilIdle(); base 16 webkit/browser/quota/quota_task.cc using base::TaskRunner; base 33 webkit/browser/quota/quota_task.cc original_task_runner_(base::MessageLoopProxy::current()), base 56 webkit/browser/quota/quota_task.cc base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); base 16 webkit/browser/quota/quota_task.h namespace base { base 50 webkit/browser/quota/quota_task.h base::SingleThreadTaskRunner* original_task_runner() const { base 55 webkit/browser/quota/quota_task.h friend class base::DeleteHelper<QuotaTask>; base 60 webkit/browser/quota/quota_task.h scoped_refptr<base::SingleThreadTaskRunner> original_task_runner_; base 22 webkit/browser/quota/quota_temporary_storage_evictor.cc base::TimeDelta::FromMinutes(1), \ base 23 webkit/browser/quota/quota_temporary_storage_evictor.cc base::TimeDelta::FromDays(1), 50) base 82 webkit/browser/quota/quota_temporary_storage_evictor.cc base::Time now = base::Time::Now(); base 120 webkit/browser/quota/quota_temporary_storage_evictor.cc round_statistics_.start_time = base::Time::Now(); base 128 webkit/browser/quota/quota_temporary_storage_evictor.cc time_of_end_of_last_nonskipped_round_ = base::Time::Now(); base 144 webkit/browser/quota/quota_temporary_storage_evictor.cc FROM_HERE, base::TimeDelta::FromMinutes(kHistogramReportIntervalMinutes), base 151 webkit/browser/quota/quota_temporary_storage_evictor.cc eviction_timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(delay_ms), base 160 webkit/browser/quota/quota_temporary_storage_evictor.cc base::Bind(&QuotaTemporaryStorageEvictor::OnGotUsageAndQuotaForEviction, base 200 webkit/browser/quota/quota_temporary_storage_evictor.cc base::Bind(&QuotaTemporaryStorageEvictor::OnGotLRUOrigin, base 231 webkit/browser/quota/quota_temporary_storage_evictor.cc base::Bind( base 25 webkit/browser/quota/quota_temporary_storage_evictor.h : public base::NonThreadSafe { base 56 webkit/browser/quota/quota_temporary_storage_evictor.h base::Time start_time; base 115 webkit/browser/quota/quota_temporary_storage_evictor.h base::Time time_of_end_of_last_nonskipped_round_; base 116 webkit/browser/quota/quota_temporary_storage_evictor.h base::Time time_of_end_of_last_round_; base 121 webkit/browser/quota/quota_temporary_storage_evictor.h base::OneShotTimer<QuotaTemporaryStorageEvictor> eviction_timer_; base 122 webkit/browser/quota/quota_temporary_storage_evictor.h base::RepeatingTimer<QuotaTemporaryStorageEvictor> histogram_timer_; base 123 webkit/browser/quota/quota_temporary_storage_evictor.h base::WeakPtrFactory<QuotaTemporaryStorageEvictor> weak_factory_; base 84 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc void set_task_for_get_usage_and_quota(const base::Closure& task) { base 131 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::Closure task_for_get_usage_and_quota_; base 153 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::RunLoop().RunUntilIdle(); base 217 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::MessageLoop message_loop_; base 223 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::WeakPtrFactory<QuotaTemporaryStorageEvictorTest> weak_factory_; base 237 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::RunLoop().RunUntilIdle(); base 257 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::RunLoop().RunUntilIdle(); base 282 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::Bind(&QuotaTemporaryStorageEvictorTest::TaskForRepeatedEvictionTest, base 289 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::RunLoop().RunUntilIdle(); base 315 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::Bind(&QuotaTemporaryStorageEvictorTest::TaskForRepeatedEvictionTest, base 321 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::RunLoop().RunUntilIdle(); base 347 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::Bind(&QuotaTemporaryStorageEvictorTest::TaskForRepeatedEvictionTest, base 355 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::RunLoop().RunUntilIdle(); base 377 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::RunLoop().RunUntilIdle(); base 400 webkit/browser/quota/quota_temporary_storage_evictor_unittest.cc base::RunLoop().RunUntilIdle(); base 25 webkit/browser/quota/special_storage_policy.h : public base::RefCountedThreadSafe<SpecialStoragePolicy> { base 75 webkit/browser/quota/special_storage_policy.h friend class base::RefCountedThreadSafe<SpecialStoragePolicy>; base 53 webkit/browser/quota/storage_monitor.cc base::TimeDelta min_delay = base::TimeDelta::Max(); base 61 webkit/browser/quota/storage_monitor.cc base::TimeTicks current_time = base::TimeTicks::Now(); base 62 webkit/browser/quota/storage_monitor.cc base::TimeDelta delta = current_time - it->second.last_notification_time; base 82 webkit/browser/quota/storage_monitor.cc base::TimeDelta delay = it->second.rate - delta; base 179 webkit/browser/quota/storage_monitor.cc base::Bind(&HostStorageObservers::GotHostUsageAndQuota, base 48 webkit/browser/quota/storage_monitor.h base::TimeTicks last_notification_time; base 49 webkit/browser/quota/storage_monitor.h base::TimeDelta rate; base 59 webkit/browser/quota/storage_monitor.h base::OneShotTimer<StorageObserverList> notification_timer_; base 107 webkit/browser/quota/storage_monitor.h base::WeakPtrFactory<HostStorageObservers> weak_factory_; base 53 webkit/browser/quota/storage_monitor_unittest.cc base::FilePath(), base 54 webkit/browser/quota/storage_monitor_unittest.cc base::MessageLoopProxy::current().get(), base 55 webkit/browser/quota/storage_monitor_unittest.cc base::MessageLoopProxy::current().get(), base 126 webkit/browser/quota/storage_monitor_unittest.cc state.last_notification_time = base::TimeTicks::Now() - state.rate; base 149 webkit/browser/quota/storage_monitor_unittest.cc base::RunLoop().RunUntilIdle(); base 153 webkit/browser/quota/storage_monitor_unittest.cc base::MessageLoop message_loop_; base 165 webkit/browser/quota/storage_monitor_unittest.cc base::MessageLoop loop(base::MessageLoop::TYPE_DEFAULT); base 169 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 218 webkit/browser/quota/storage_monitor_unittest.cc base::MessageLoop loop(base::MessageLoop::TYPE_DEFAULT); base 228 webkit/browser/quota/storage_monitor_unittest.cc filter, base::TimeDelta::FromHours(1), false)); base 232 webkit/browser/quota/storage_monitor_unittest.cc filter, base::TimeDelta::FromHours(2), false)); base 277 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 299 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 338 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 385 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 404 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 442 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 446 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 490 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 494 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 587 webkit/browser/quota/storage_monitor_unittest.cc base::MessageLoopProxy::current().get(), base 588 webkit/browser/quota/storage_monitor_unittest.cc base::MessageLoopProxy::current().get(), base 602 webkit/browser/quota/storage_monitor_unittest.cc base::RunLoop().RunUntilIdle(); base 606 webkit/browser/quota/storage_monitor_unittest.cc base::MessageLoop message_loop_; base 607 webkit/browser/quota/storage_monitor_unittest.cc base::ScopedTempDir data_dir_; base 622 webkit/browser/quota/storage_monitor_unittest.cc base::TimeDelta::FromHours(1), base 631 webkit/browser/quota/storage_monitor_unittest.cc base::RunLoop().RunUntilIdle(); base 33 webkit/browser/quota/storage_observer.cc const base::TimeDelta& rate, base 42 webkit/browser/quota/storage_observer.cc const base::TimeDelta& rate, base 40 webkit/browser/quota/storage_observer.h base::TimeDelta rate; base 48 webkit/browser/quota/storage_observer.h const base::TimeDelta& rate, base 51 webkit/browser/quota/storage_observer.h const base::TimeDelta& rate, base 104 webkit/browser/quota/usage_tracker.cc global_usage_callbacks_.Add(base::Bind( base 121 webkit/browser/quota/usage_tracker.cc UsageCallback accumulator = base::Bind( base 123 webkit/browser/quota/usage_tracker.cc weak_factory_.GetWeakPtr(), base::Owned(info)); base 147 webkit/browser/quota/usage_tracker.cc GlobalUsageCallback accumulator = base::Bind( base 149 webkit/browser/quota/usage_tracker.cc base::Owned(info)); base 174 webkit/browser/quota/usage_tracker.cc UsageCallback accumulator = base::Bind( base 176 webkit/browser/quota/usage_tracker.cc base::Owned(info), host); base 300 webkit/browser/quota/usage_tracker.cc GetGlobalUsage(base::Bind(&DidGetGlobalUsageForLimitedGlobalUsage, base 312 webkit/browser/quota/usage_tracker.cc UsageCallback accumulator = base::Bind( base 314 webkit/browser/quota/usage_tracker.cc base::Owned(info), callback); base 336 webkit/browser/quota/usage_tracker.cc client_->GetOriginsForType(type_, base::Bind( base 352 webkit/browser/quota/usage_tracker.cc host, base::Bind(&DidGetHostUsage, callback))) base 354 webkit/browser/quota/usage_tracker.cc client_->GetOriginsForHost(type_, host, base::Bind( base 383 webkit/browser/quota/usage_tracker.cc GetHostUsage(host, base::Bind(&ClientUsageTracker::DidGetHostUsageAfterUpdate, base 474 webkit/browser/quota/usage_tracker.cc base::Bind(&ClientUsageTracker::AccumulateHostUsage, AsWeakPtr(), base 475 webkit/browser/quota/usage_tracker.cc base::Owned(info), callback); base 522 webkit/browser/quota/usage_tracker.cc base::Bind(&ClientUsageTracker::AccumulateOriginUsage, AsWeakPtr(), base 523 webkit/browser/quota/usage_tracker.cc base::Owned(info), host); base 533 webkit/browser/quota/usage_tracker.cc client_->GetOriginUsage(*itr, type_, base::Bind( base 89 webkit/browser/quota/usage_tracker.h base::WeakPtrFactory<UsageTracker> weak_factory_; base 96 webkit/browser/quota/usage_tracker.h public base::NonThreadSafe, base 97 webkit/browser/quota/usage_tracker.h public base::SupportsWeakPtr<ClientUsageTracker> { base 99 webkit/browser/quota/usage_tracker.h typedef base::Callback<void(int64 limited_usage, base 101 webkit/browser/quota/usage_tracker.h typedef base::Callback<void(const GURL& origin, base 53 webkit/browser/quota/usage_tracker_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 54 webkit/browser/quota/usage_tracker_unittest.cc base::Bind(callback, usage)); base 65 webkit/browser/quota/usage_tracker_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 66 webkit/browser/quota/usage_tracker_unittest.cc base::Bind(callback, origins)); base 79 webkit/browser/quota/usage_tracker_unittest.cc base::MessageLoop::current()->PostTask(FROM_HERE, base 80 webkit/browser/quota/usage_tracker_unittest.cc base::Bind(callback, origins)); base 88 webkit/browser/quota/usage_tracker_unittest.cc base::MessageLoop::current()->PostTask( base 89 webkit/browser/quota/usage_tracker_unittest.cc FROM_HERE, base::Bind(callback, kQuotaStatusOk)); base 136 webkit/browser/quota/usage_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 145 webkit/browser/quota/usage_tracker_unittest.cc usage_tracker_.GetGlobalLimitedUsage(base::Bind( base 147 webkit/browser/quota/usage_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 154 webkit/browser/quota/usage_tracker_unittest.cc usage_tracker_.GetGlobalUsage(base::Bind( base 157 webkit/browser/quota/usage_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 164 webkit/browser/quota/usage_tracker_unittest.cc usage_tracker_.GetHostUsage(host, base::Bind(&DidGetUsage, &done, usage)); base 165 webkit/browser/quota/usage_tracker_unittest.cc base::RunLoop().RunUntilIdle(); base 198 webkit/browser/quota/usage_tracker_unittest.cc base::MessageLoop message_loop_; base 322 webkit/child/multipart_response_delegate.cc base::TrimString(*multipart_boundary, "\"", multipart_boundary); base 393 webkit/child/multipart_response_delegate.cc if (!base::StringToInt64(byte_range_lower_bound, content_range_lower_bound)) base 395 webkit/child/multipart_response_delegate.cc if (!base::StringToInt64(byte_range_upper_bound, content_range_upper_bound)) base 397 webkit/child/multipart_response_delegate.cc if (!base::StringToInt64(byte_range_instance_size, base 23 webkit/common/appcache/appcache_interfaces.cc const base::FilePath::CharType kAppCacheDatabaseName[] = base 84 webkit/common/appcache/appcache_interfaces.h base::Time creation_time; base 85 webkit/common/appcache/appcache_interfaces.h base::Time last_update_time; base 86 webkit/common/appcache/appcache_interfaces.h base::Time last_access_time; base 216 webkit/common/appcache/appcache_interfaces.h WEBKIT_STORAGE_COMMON_EXPORT extern const base::FilePath::CharType base 27 webkit/common/blob/blob_data.cc void BlobData::AppendFile(const base::FilePath& file_path, base 29 webkit/common/blob/blob_data.cc const base::Time& expected_modification_time) { base 46 webkit/common/blob/blob_data.cc const base::Time& expected_modification_time) { base 23 webkit/common/blob/blob_data.h : public base::RefCounted<BlobData> { base 37 webkit/common/blob/blob_data.h void AppendFile(const base::FilePath& file_path, uint64 offset, uint64 length, base 38 webkit/common/blob/blob_data.h const base::Time& expected_modification_time); base 41 webkit/common/blob/blob_data.h const base::Time& expected_modification_time); base 64 webkit/common/blob/blob_data.h friend class base::RefCounted<BlobData>; base 21 webkit/common/blob/scoped_file.cc const base::FilePath& path, ScopeOutPolicy policy, base 22 webkit/common/blob/scoped_file.cc base::TaskRunner* file_task_runner) base 42 webkit/common/blob/scoped_file.cc base::TaskRunner* callback_runner) { base 44 webkit/common/blob/scoped_file.cc callback_runner = base::MessageLoopProxy::current().get(); base 48 webkit/common/blob/scoped_file.cc base::FilePath ScopedFile::Release() { base 49 webkit/common/blob/scoped_file.cc base::FilePath path = path_; base 62 webkit/common/blob/scoped_file.cc iter->second->PostTask(FROM_HERE, base::Bind(iter->first, path_)); base 66 webkit/common/blob/scoped_file.cc base::FileUtilProxy::DeleteFile(file_task_runner_.get(), base 69 webkit/common/blob/scoped_file.cc base::FileUtilProxy::StatusCallback()); base 16 webkit/common/blob/scoped_file.h namespace base { base 36 webkit/common/blob/scoped_file.h typedef base::Callback<void(const base::FilePath&)> ScopeOutCallback; base 37 webkit/common/blob/scoped_file.h typedef std::pair<ScopeOutCallback, scoped_refptr<base::TaskRunner> > base 50 webkit/common/blob/scoped_file.h ScopedFile(const base::FilePath& path, base 52 webkit/common/blob/scoped_file.h base::TaskRunner* file_task_runner); base 69 webkit/common/blob/scoped_file.h base::TaskRunner* callback_runner); base 72 webkit/common/blob/scoped_file.h const base::FilePath& path() const { return path_; } base 78 webkit/common/blob/scoped_file.h base::FilePath Release(); base 86 webkit/common/blob/scoped_file.h base::FilePath path_; base 88 webkit/common/blob/scoped_file.h scoped_refptr<base::TaskRunner> file_task_runner_; base 19 webkit/common/blob/shareable_file_reference.cc class ShareableFileMap : public base::NonThreadSafe { base 21 webkit/common/blob/shareable_file_reference.cc typedef std::map<base::FilePath, ShareableFileReference*> FileMap; base 57 webkit/common/blob/shareable_file_reference.cc base::LazyInstance<ShareableFileMap> g_file_map = LAZY_INSTANCE_INITIALIZER; base 63 webkit/common/blob/shareable_file_reference.cc const base::FilePath& path) { base 72 webkit/common/blob/shareable_file_reference.cc const base::FilePath& path, base 74 webkit/common/blob/shareable_file_reference.cc base::TaskRunner* file_task_runner) { base 19 webkit/common/blob/shareable_file_reference.h : public base::RefCounted<ShareableFileReference> { base 30 webkit/common/blob/shareable_file_reference.h static scoped_refptr<ShareableFileReference> Get(const base::FilePath& path); base 36 webkit/common/blob/shareable_file_reference.h const base::FilePath& path, base 38 webkit/common/blob/shareable_file_reference.h base::TaskRunner* file_task_runner); base 54 webkit/common/blob/shareable_file_reference.h const base::FilePath& path() const { return scoped_file_.path(); } base 62 webkit/common/blob/shareable_file_reference.h friend class base::RefCounted<ShareableFileReference>; base 16 webkit/common/blob/shareable_file_reference_unittest.cc base::MessageLoop message_loop; base 17 webkit/common/blob/shareable_file_reference_unittest.cc scoped_refptr<base::MessageLoopProxy> loop_proxy = base 18 webkit/common/blob/shareable_file_reference_unittest.cc base::MessageLoopProxy::current(); base 19 webkit/common/blob/shareable_file_reference_unittest.cc base::ScopedTempDir temp_dir; base 23 webkit/common/blob/shareable_file_reference_unittest.cc base::FilePath file; base 24 webkit/common/blob/shareable_file_reference_unittest.cc base::CreateTemporaryFileInDir(temp_dir.path(), &file); base 25 webkit/common/blob/shareable_file_reference_unittest.cc EXPECT_TRUE(base::PathExists(file)); base 47 webkit/common/blob/shareable_file_reference_unittest.cc base::RunLoop().RunUntilIdle(); base 48 webkit/common/blob/shareable_file_reference_unittest.cc EXPECT_TRUE(base::PathExists(file)); base 53 webkit/common/blob/shareable_file_reference_unittest.cc base::RunLoop().RunUntilIdle(); base 54 webkit/common/blob/shareable_file_reference_unittest.cc EXPECT_FALSE(base::PathExists(file)); base 19 webkit/common/data_element.cc const base::FilePath& path, base 21 webkit/common/data_element.cc const base::Time& expected_modification_time) { base 41 webkit/common/data_element.cc const base::Time& expected_modification_time) { base 37 webkit/common/data_element.h const base::FilePath& path() const { return path_; } base 42 webkit/common/data_element.h const base::Time& expected_modification_time() const { base 62 webkit/common/data_element.h void SetToFilePath(const base::FilePath& path) { base 63 webkit/common/data_element.h SetToFilePathRange(path, 0, kuint64max, base::Time()); base 72 webkit/common/data_element.h void SetToFilePathRange(const base::FilePath& path, base 74 webkit/common/data_element.h const base::Time& expected_modification_time); base 83 webkit/common/data_element.h const base::Time& expected_modification_time); base 89 webkit/common/data_element.h base::FilePath path_; // For TYPE_FILE. base 94 webkit/common/data_element.h base::Time expected_modification_time_; base 28 webkit/common/database/database_connections.cc const base::string16& database_name) const { base 44 webkit/common/database/database_connections.cc const base::string16& database_name) { base 51 webkit/common/database/database_connections.cc const base::string16& database_name) { base 61 webkit/common/database/database_connections.cc std::vector<std::pair<std::string, base::string16> >* closed_dbs) { base 78 webkit/common/database/database_connections.cc const base::string16& database_name) const { base 85 webkit/common/database/database_connections.cc const base::string16& database_name, base 92 webkit/common/database/database_connections.cc std::vector<std::pair<std::string, base::string16> > *list) const { base 107 webkit/common/database/database_connections.cc const base::string16& database_name, base 126 webkit/common/database/database_connections.cc main_thread_(base::MessageLoopProxy::current()) { base 136 webkit/common/database/database_connections.cc base::AutoReset<bool> auto_reset(&waiting_for_dbs_to_close_, true); base 137 webkit/common/database/database_connections.cc base::MessageLoop::ScopedNestableTaskAllower allow( base 138 webkit/common/database/database_connections.cc base::MessageLoop::current()); base 139 webkit/common/database/database_connections.cc base::MessageLoop::current()->Run(); base 145 webkit/common/database/database_connections.cc base::AutoLock auto_lock(open_connections_lock_); base 151 webkit/common/database/database_connections.cc const base::string16& database_name) { base 153 webkit/common/database/database_connections.cc base::AutoLock auto_lock(open_connections_lock_); base 159 webkit/common/database/database_connections.cc const base::string16& database_name) { base 165 webkit/common/database/database_connections.cc base::Bind(&DatabaseConnectionsWrapper::RemoveOpenConnection, this, base 169 webkit/common/database/database_connections.cc base::AutoLock auto_lock(open_connections_lock_); base 172 webkit/common/database/database_connections.cc base::MessageLoop::current()->Quit(); base 17 webkit/common/database/database_connections.h namespace base { base 30 webkit/common/database/database_connections.h const base::string16& database_name) const; base 35 webkit/common/database/database_connections.h const base::string16& database_name); base 39 webkit/common/database/database_connections.h const base::string16& database_name); base 44 webkit/common/database/database_connections.h std::vector<std::pair<std::string, base::string16> >* closed_dbs); base 48 webkit/common/database/database_connections.h const base::string16& database_name) const; base 50 webkit/common/database/database_connections.h const base::string16& database_name, base 55 webkit/common/database/database_connections.h std::vector<std::pair<std::string, base::string16> > *list) const; base 59 webkit/common/database/database_connections.h typedef std::map<base::string16, std::pair<int, int64> > DBConnections; base 65 webkit/common/database/database_connections.h const base::string16& database_name, base 73 webkit/common/database/database_connections.h : public base::RefCountedThreadSafe<DatabaseConnectionsWrapper> { base 84 webkit/common/database/database_connections.h const base::string16& database_name); base 86 webkit/common/database/database_connections.h const base::string16& database_name); base 89 webkit/common/database/database_connections.h friend class base::RefCountedThreadSafe<DatabaseConnectionsWrapper>; base 92 webkit/common/database/database_connections.h base::Lock open_connections_lock_; base 94 webkit/common/database/database_connections.h scoped_refptr<base::MessageLoopProxy> main_thread_; base 12 webkit/common/database/database_connections_unittest.cc using base::ASCIIToUTF16; base 19 webkit/common/database/database_connections_unittest.cc const std::string& origin_id, const base::string16& database_name, base 27 webkit/common/database/database_connections_unittest.cc base::Thread* thread, const std::string& origin_id, base 28 webkit/common/database/database_connections_unittest.cc const base::string16& database_name, base 33 webkit/common/database/database_connections_unittest.cc base::Bind(&RemoveConnectionTask, origin_id, database_name, obj, base 41 webkit/common/database/database_connections_unittest.cc const base::string16 kName(ASCIIToUTF16("database_name")); base 42 webkit/common/database/database_connections_unittest.cc const base::string16 kName2(ASCIIToUTF16("database_name2")); base 79 webkit/common/database/database_connections_unittest.cc std::vector<std::pair<std::string, base::string16> > closed_dbs; base 103 webkit/common/database/database_connections_unittest.cc const base::string16 kName(ASCIIToUTF16("database_name")); base 105 webkit/common/database/database_connections_unittest.cc base::MessageLoop message_loop; base 122 webkit/common/database/database_connections_unittest.cc base::MessageLoop::current()->PostTask( base 124 webkit/common/database/database_connections_unittest.cc base::Bind(&RemoveConnectionTask, kOriginId, kName, obj, base 133 webkit/common/database/database_connections_unittest.cc base::Thread thread("WrapperTestThread"); base 136 webkit/common/database/database_connections_unittest.cc base::MessageLoop::current()->PostTask( base 138 webkit/common/database/database_connections_unittest.cc base::Bind(&ScheduleRemoveConnectionTask, &thread, kOriginId, kName, obj, base 80 webkit/common/database/database_identifier.cc base::StringPiece port_str(identifier.begin() + last_underscore + 1, base 83 webkit/common/database/database_identifier.cc if (!base::StringToInt(port_str, &port) || port < 0 || port >= 1 << 16) base 125 webkit/common/database/database_identifier.cc return scheme_ + "_" + hostname_ + "_" + base::IntToString(port_); base 135 webkit/common/database/database_identifier.cc return GURL(scheme_ + "://" + hostname_ + ":" + base::IntToString(port_)); base 14 webkit/common/fileapi/directory_entry.cc const base::Time& last_modified_time) base 15 webkit/common/fileapi/directory_entry.cc : name(base::FilePath::FromUTF8Unsafe(name).value()), base 28 webkit/common/fileapi/directory_entry.h const base::Time& last_modified_time); base 30 webkit/common/fileapi/directory_entry.h base::FilePath::StringType name; base 33 webkit/common/fileapi/directory_entry.h base::Time last_modified_time; base 27 webkit/common/fileapi/file_system_util.cc const base::FilePath::CharType VirtualPath::kRoot[] = FILE_PATH_LITERAL("/"); base 28 webkit/common/fileapi/file_system_util.cc const base::FilePath::CharType VirtualPath::kSeparator = FILE_PATH_LITERAL('/'); base 34 webkit/common/fileapi/file_system_util.cc base::FilePath VirtualPath::BaseName(const base::FilePath& virtual_path) { base 35 webkit/common/fileapi/file_system_util.cc base::FilePath::StringType path = virtual_path.value(); base 39 webkit/common/fileapi/file_system_util.cc while (path.size() > 1 && base::FilePath::IsSeparator(path[path.size() - 1])) base 41 webkit/common/fileapi/file_system_util.cc base::FilePath::StringType::size_type last_separator = base 42 webkit/common/fileapi/file_system_util.cc path.find_last_of(base::FilePath::kSeparators); base 43 webkit/common/fileapi/file_system_util.cc if (last_separator != base::FilePath::StringType::npos && base 47 webkit/common/fileapi/file_system_util.cc return base::FilePath(path); base 50 webkit/common/fileapi/file_system_util.cc base::FilePath VirtualPath::DirName(const base::FilePath& virtual_path) { base 51 webkit/common/fileapi/file_system_util.cc typedef base::FilePath::StringType StringType; base 58 webkit/common/fileapi/file_system_util.cc while (path.size() > 1 && base::FilePath::IsSeparator(path[path.size() - 1])) base 62 webkit/common/fileapi/file_system_util.cc path.find_last_of(base::FilePath::kSeparators); base 65 webkit/common/fileapi/file_system_util.cc return base::FilePath(base::FilePath::kCurrentDirectory); base 69 webkit/common/fileapi/file_system_util.cc return base::FilePath(path.substr(0, 1)); base 75 webkit/common/fileapi/file_system_util.cc while (path.size() > 1 && base::FilePath::IsSeparator(path[path.size() - 1])) base 79 webkit/common/fileapi/file_system_util.cc return base::FilePath(base::FilePath::kCurrentDirectory); base 81 webkit/common/fileapi/file_system_util.cc return base::FilePath(path); base 85 webkit/common/fileapi/file_system_util.cc const base::FilePath& path, base 86 webkit/common/fileapi/file_system_util.cc std::vector<base::FilePath::StringType>* components) { base 87 webkit/common/fileapi/file_system_util.cc typedef base::FilePath::StringType StringType; base 98 webkit/common/fileapi/file_system_util.cc end = path.value().find_first_of(base::FilePath::kSeparators, begin); base 101 webkit/common/fileapi/file_system_util.cc if (!component.empty() && component != base::FilePath::kCurrentDirectory) base 108 webkit/common/fileapi/file_system_util.cc const base::FilePath& path, base 115 webkit/common/fileapi/file_system_util.cc std::vector<base::FilePath::StringType> stringtype_components; base 117 webkit/common/fileapi/file_system_util.cc std::vector<base::FilePath::StringType>::const_iterator it; base 120 webkit/common/fileapi/file_system_util.cc components->push_back(base::FilePath(*it).AsUTF8Unsafe()); base 124 webkit/common/fileapi/file_system_util.cc base::FilePath::StringType VirtualPath::GetNormalizedFilePath( base 125 webkit/common/fileapi/file_system_util.cc const base::FilePath& path) { base 126 webkit/common/fileapi/file_system_util.cc base::FilePath::StringType normalized_path = path.value(); base 127 webkit/common/fileapi/file_system_util.cc const size_t num_separators = base::FilePath::StringType( base 128 webkit/common/fileapi/file_system_util.cc base::FilePath::kSeparators).length(); base 131 webkit/common/fileapi/file_system_util.cc base::FilePath::kSeparators[i], kSeparator); base 135 webkit/common/fileapi/file_system_util.cc normalized_path : base::FilePath::StringType(kRoot) + normalized_path; base 138 webkit/common/fileapi/file_system_util.cc bool VirtualPath::IsAbsolute(const base::FilePath::StringType& path) { base 142 webkit/common/fileapi/file_system_util.cc bool VirtualPath::IsRootPath(const base::FilePath& path) { base 143 webkit/common/fileapi/file_system_util.cc std::vector<base::FilePath::StringType> components; base 153 webkit/common/fileapi/file_system_util.cc base::FilePath* virtual_path) { base 192 webkit/common/fileapi/file_system_util.cc base::FilePath converted_path = base::FilePath::FromUTF8Unsafe(path); base 333 webkit/common/fileapi/file_system_util.cc std::string FilePathToString(const base::FilePath& file_path) { base 335 webkit/common/fileapi/file_system_util.cc return base::UTF16ToUTF8(file_path.value()); base 341 webkit/common/fileapi/file_system_util.cc base::FilePath StringToFilePath(const std::string& file_path_string) { base 343 webkit/common/fileapi/file_system_util.cc return base::FilePath(base::UTF8ToUTF16(file_path_string)); base 345 webkit/common/fileapi/file_system_util.cc return base::FilePath(file_path_string); base 350 webkit/common/fileapi/file_system_util.cc base::File::Error error_code) { base 352 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NOT_FOUND: base 354 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_INVALID_OPERATION: base 355 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_EXISTS: base 356 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NOT_EMPTY: base 358 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NOT_A_DIRECTORY: base 359 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NOT_A_FILE: base 361 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_ACCESS_DENIED: base 363 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_FAILED: base 365 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_ABORT: base 367 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_SECURITY: base 369 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NO_SPACE: base 371 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_INVALID_URL: base 444 webkit/common/fileapi/file_system_util.cc return base::ContainsOnlyChars(filesystem_id, kExpectedChars); base 453 webkit/common/fileapi/file_system_util.cc if (base::FilePath::FromUTF8Unsafe(filesystem_id).ReferencesParent()) base 458 webkit/common/fileapi/file_system_util.cc if (base::FilePath::FromUTF8Unsafe(optional_root_name).ReferencesParent()) base 471 webkit/common/fileapi/file_system_util.cc if (base::FilePath::FromUTF8Unsafe(mount_name).ReferencesParent()) base 478 webkit/common/fileapi/file_system_util.cc base::File::Error NetErrorToFileError(int error) { base 481 webkit/common/fileapi/file_system_util.cc return base::File::FILE_OK; base 483 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_IN_USE; base 485 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_EXISTS; base 487 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_NOT_FOUND; base 489 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_ACCESS_DENIED; base 491 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_TOO_MANY_OPENED; base 493 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_NO_MEMORY; base 495 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_NO_SPACE; base 498 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; base 501 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_ABORT; base 504 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_INVALID_URL; base 506 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_FAILED; base 33 webkit/common/fileapi/file_system_util.h static const base::FilePath::CharType kRoot[]; base 34 webkit/common/fileapi/file_system_util.h static const base::FilePath::CharType kSeparator; base 40 webkit/common/fileapi/file_system_util.h static base::FilePath BaseName(const base::FilePath& virtual_path); base 44 webkit/common/fileapi/file_system_util.h static base::FilePath DirName(const base::FilePath& virtual_path); base 51 webkit/common/fileapi/file_system_util.h const base::FilePath& path, base 52 webkit/common/fileapi/file_system_util.h std::vector<base::FilePath::StringType>* components); base 55 webkit/common/fileapi/file_system_util.h const base::FilePath& path, std::vector<std::string>* components); base 59 webkit/common/fileapi/file_system_util.h static base::FilePath::StringType GetNormalizedFilePath( base 60 webkit/common/fileapi/file_system_util.h const base::FilePath& path); base 63 webkit/common/fileapi/file_system_util.h static bool IsAbsolute(const base::FilePath::StringType& path); base 66 webkit/common/fileapi/file_system_util.h static bool IsRootPath(const base::FilePath& path); base 77 webkit/common/fileapi/file_system_util.h base::FilePath* virtual_path); base 135 webkit/common/fileapi/file_system_util.h const base::FilePath& file_path); base 138 webkit/common/fileapi/file_system_util.h WEBKIT_STORAGE_COMMON_EXPORT base::FilePath StringToFilePath( base 143 webkit/common/fileapi/file_system_util.h FileErrorToWebFileError(base::File::Error error_code); base 178 webkit/common/fileapi/file_system_util.h WEBKIT_STORAGE_COMMON_EXPORT base::File::Error base 20 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath virtual_path; base 25 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath expected_path(FILE_PATH_LITERAL("foo\\bar")); base 27 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath expected_path(FILE_PATH_LITERAL("foo/bar")); base 48 webkit/common/fileapi/file_system_util_unittest.cc const base::FilePath::StringType path; base 49 webkit/common/fileapi/file_system_util_unittest.cc const base::FilePath::StringType base_name; base 66 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath input = base::FilePath(test_cases[i].path); base 67 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath base_name = VirtualPath::BaseName(input); base 74 webkit/common/fileapi/file_system_util_unittest.cc const base::FilePath::StringType path; base 75 webkit/common/fileapi/file_system_util_unittest.cc const base::FilePath::StringType dir_name; base 106 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath input = base::FilePath(test_cases[i].path); base 107 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath dir_name = VirtualPath::DirName(input); base 114 webkit/common/fileapi/file_system_util_unittest.cc const base::FilePath::StringType path; base 115 webkit/common/fileapi/file_system_util_unittest.cc const base::FilePath::StringType normalized_path; base 126 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath input = base::FilePath(test_cases[i].path); base 127 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath::StringType normalized_path_string = base 136 webkit/common/fileapi/file_system_util_unittest.cc EXPECT_FALSE(VirtualPath::IsAbsolute(base::FilePath::StringType())); base 141 webkit/common/fileapi/file_system_util_unittest.cc EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("")))); base 142 webkit/common/fileapi/file_system_util_unittest.cc EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath())); base 143 webkit/common/fileapi/file_system_util_unittest.cc EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("/")))); base 144 webkit/common/fileapi/file_system_util_unittest.cc EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("//")))); base 146 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath(FILE_PATH_LITERAL("c:/")))); base 148 webkit/common/fileapi/file_system_util_unittest.cc EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("\\")))); base 150 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath(FILE_PATH_LITERAL("c:\\")))); base 156 webkit/common/fileapi/file_system_util_unittest.cc const base::FilePath::StringType path; base 158 webkit/common/fileapi/file_system_util_unittest.cc const base::FilePath::StringType components[3]; base 191 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath input = base::FilePath(test_cases[i].path); base 192 webkit/common/fileapi/file_system_util_unittest.cc std::vector<base::FilePath::StringType> components; base 199 webkit/common/fileapi/file_system_util_unittest.cc base::FilePath input = base::FilePath(test_cases[i].path); base 204 webkit/common/fileapi/file_system_util_unittest.cc EXPECT_EQ(base::FilePath(test_cases[i].components[j]).AsUTF8Unsafe(), base 104 webkit/common/gpu/context_provider_in_process.cc base::StringPrintf("%s-%p", debug_name_.c_str(), context3d_.get()); base 170 webkit/common/gpu/context_provider_in_process.cc base::AutoLock lock(destroyed_lock_); base 176 webkit/common/gpu/context_provider_in_process.cc base::ResetAndReturn(&lost_context_callback_).Run(); base 182 webkit/common/gpu/context_provider_in_process.cc base::AutoLock lock(destroyed_lock_); base 60 webkit/common/gpu/context_provider_in_process.h base::ThreadChecker main_thread_checker_; base 61 webkit/common/gpu/context_provider_in_process.h base::ThreadChecker context_thread_checker_; base 69 webkit/common/gpu/context_provider_in_process.h base::Lock destroyed_lock_; base 45 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc static base::subtle::Atomic32 flush_id = 0; base 47 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc base::subtle::Atomic32 my_id = base::subtle::Barrier_AtomicIncrement( base 67 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc static base::LazyInstance<GLES2Initializer> g_gles2_initializer = base 185 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc base::Closure context_lost_callback = base::Bind( base 187 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc base::Unretained(this)); base 17 webkit/common/resource_devtools_info.h struct ResourceDevToolsInfo : base::RefCounted<ResourceDevToolsInfo> { base 31 webkit/common/resource_devtools_info.h friend class base::RefCounted<ResourceDevToolsInfo>; base 28 webkit/common/resource_response_info.h base::Time request_time; base 32 webkit/common/resource_response_info.h base::Time response_time; base 74 webkit/common/resource_response_info.h base::FilePath download_file_path; base 13 webkit/common/webpreferences.cc using base::ASCIIToWide; base 148 webkit/common/webpreferences.cc base::ASCIIToUTF16("Times New Roman"); base 150 webkit/common/webpreferences.cc base::ASCIIToUTF16("Courier New"); base 152 webkit/common/webpreferences.cc base::ASCIIToUTF16("Times New Roman"); base 154 webkit/common/webpreferences.cc base::ASCIIToUTF16("Arial"); base 156 webkit/common/webpreferences.cc base::ASCIIToUTF16("Script"); base 158 webkit/common/webpreferences.cc base::ASCIIToUTF16("Impact"); base 160 webkit/common/webpreferences.cc base::ASCIIToUTF16("Times New Roman"); base 32 webkit/common/webpreferences.h typedef std::map<std::string, base::string16> ScriptFontFamilyMap; base 13 webkit/renderer/compositor_bindings/test/run_all_unittests.cc base::MessageLoop message_loop; base 22 webkit/renderer/compositor_bindings/test/run_all_unittests.cc return base::LaunchUnitTests( base 23 webkit/renderer/compositor_bindings/test/run_all_unittests.cc argc, argv, base::Bind(&RunTestSuite, base 24 webkit/renderer/compositor_bindings/test/run_all_unittests.cc base::Unretained(&test_suite))); base 13 webkit/renderer/compositor_bindings/web_external_bitmap_impl.h namespace base { base 19 webkit/renderer/compositor_bindings/web_external_bitmap_impl.h typedef scoped_ptr<base::SharedMemory> (*SharedMemoryAllocationFunction)( base 36 webkit/renderer/compositor_bindings/web_external_bitmap_impl.h base::SharedMemory* shared_memory() { return shared_memory_.get(); } base 39 webkit/renderer/compositor_bindings/web_external_bitmap_impl.h scoped_ptr<base::SharedMemory> shared_memory_; base 92 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc *release_callback = cc::SingleReleaseCallback::Create(base::Bind( base 113 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc base::WeakPtr<WebExternalTextureLayerImpl> layer, base 33 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h public base::SupportsWeakPtr<WebExternalTextureLayerImpl> { base 56 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h base::WeakPtr<WebExternalTextureLayerImpl> layer, base 392 webkit/renderer/compositor_bindings/web_layer_impl.cc base::Bind(&blink::WebLayerScrollClient::didScroll, base 393 webkit/renderer/compositor_bindings/web_layer_impl.cc base::Unretained(scroll_client))); base 395 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->set_did_scroll_callback(base::Closure()); base 405 webkit/renderer/compositor_bindings/web_layer_impl.cc class TracedDebugInfo : public base::debug::ConvertableToTraceFormat { base 419 webkit/renderer/compositor_bindings/web_layer_impl.cc base::ThreadChecker thread_checker_; base 422 webkit/renderer/compositor_bindings/web_layer_impl.cc scoped_refptr<base::debug::ConvertableToTraceFormat> base 37 webkit/renderer/compositor_bindings/web_layer_impl.h namespace base { base 138 webkit/renderer/compositor_bindings/web_layer_impl.h virtual scoped_refptr<base::debug::ConvertableToTraceFormat> base 16 webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc base::TimeTicks monotonic_time, base 19 webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc (monotonic_time - base::TimeTicks()).InSecondsF(), base 24 webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc base::TimeTicks monotonic_time, base 27 webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc (monotonic_time - base::TimeTicks()).InSecondsF(), base 23 webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h base::TimeTicks monotonic_time, base 26 webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h base::TimeTicks monotonic_time, base 38 win8/delegate_execute/chrome_util.cc const base::FilePath::CharType kNewChromeExe[] = base 48 win8/delegate_execute/chrome_util.cc base::string16 GetEventName(const base::FilePath& chrome_exe) { base 51 win8/delegate_execute/chrome_util.cc base::string16 name; base 63 win8/delegate_execute/chrome_util.cc bool IsBrowserRunning(const base::FilePath& chrome_exe) { base 64 win8/delegate_execute/chrome_util.cc base::win::ScopedHandle handle(::OpenEvent( base 78 win8/delegate_execute/chrome_util.cc bool NewChromeExeExists(const base::FilePath& chrome_exe) { base 79 win8/delegate_execute/chrome_util.cc base::FilePath new_chrome_exe(chrome_exe.DirName().Append(kNewChromeExe)); base 80 win8/delegate_execute/chrome_util.cc return base::PathExists(new_chrome_exe); base 83 win8/delegate_execute/chrome_util.cc bool GetUpdateCommand(bool is_per_user, base::string16* update_command) { base 86 win8/delegate_execute/chrome_util.cc base::string16 reg_path_chrome_client = kRegPathChromeClientBase; base 88 win8/delegate_execute/chrome_util.cc base::win::RegKey key(root, reg_path_chrome_client.c_str(), KEY_QUERY_VALUE); base 99 win8/delegate_execute/chrome_util.cc void UpdateChromeIfNeeded(const base::FilePath& chrome_exe) { base 106 win8/delegate_execute/chrome_util.cc base::win::ScopedHandle process_handle; base 110 win8/delegate_execute/chrome_util.cc base::string16 update_command; base 116 win8/delegate_execute/chrome_util.cc base::LaunchOptions launch_options; base 118 win8/delegate_execute/chrome_util.cc if (!base::LaunchProcess(update_command, launch_options, base 127 win8/delegate_execute/chrome_util.cc base::win::ScopedComPtr<IProcessLauncher> process_launcher; base 142 win8/delegate_execute/chrome_util.cc process_handle.Set(reinterpret_cast<base::ProcessHandle>(handle)); base 151 win8/delegate_execute/chrome_util.cc if (!base::WaitForExitCode(process_handle.Take(), &exit_code)) { base 10 win8/delegate_execute/chrome_util.h namespace base { base 17 win8/delegate_execute/chrome_util.h void UpdateChromeIfNeeded(const base::FilePath& chrome_exe); base 38 win8/delegate_execute/command_execute_impl.cc HRESULT GetUrlFromShellItem(IShellItem* shell_item, base::string16* url) { base 56 win8/delegate_execute/command_execute_impl.cc base::win::ScopedCoMem<wchar_t> name; base 69 win8/delegate_execute/command_execute_impl.cc base::FilePath delegate_exe_path; base 70 win8/delegate_execute/command_execute_impl.cc if (!PathService::Get(base::FILE_EXE, &delegate_exe_path)) base 74 win8/delegate_execute/command_execute_impl.cc base::FilePath chrome_exe_path = base 78 win8/delegate_execute/command_execute_impl.cc if (!base::PathExists(chrome_exe_path)) { base 86 win8/delegate_execute/command_execute_impl.cc if (!base::PathExists(chrome_exe_path)) { base 100 win8/delegate_execute/command_execute_impl.cc base::LaunchOptions launch_options; base 103 win8/delegate_execute/command_execute_impl.cc return base::LaunchProcess(cl, launch_options, NULL); base 169 win8/delegate_execute/command_execute_impl.cc integrity_level_(base::INTEGRITY_UNKNOWN) { base 233 win8/delegate_execute/command_execute_impl.cc if (integrity_level_ == base::HIGH_INTEGRITY) base 251 win8/delegate_execute/command_execute_impl.cc base::string16 app_id = ShellUtil::GetBrowserModelId( base 256 win8/delegate_execute/command_execute_impl.cc display_name_.find(installer::kChromeExe) != base::string16::npos) { base 287 win8/delegate_execute/command_execute_impl.cc base::GetProcessIntegrityLevel(base::GetCurrentProcessHandle(), base 307 win8/delegate_execute/command_execute_impl.cc bool CommandExecuteImpl::FindChromeExe(base::FilePath* chrome_exe) { base 310 win8/delegate_execute/command_execute_impl.cc base::FilePath dir_exe; base 311 win8/delegate_execute/command_execute_impl.cc if (!PathService::Get(base::DIR_EXE, &dir_exe)) { base 317 win8/delegate_execute/command_execute_impl.cc if (!base::PathExists(*chrome_exe)) { base 319 win8/delegate_execute/command_execute_impl.cc if (!base::PathExists(*chrome_exe)) { base 328 win8/delegate_execute/command_execute_impl.cc base::string16* display_name, INTERNET_SCHEME* scheme) { base 375 win8/delegate_execute/command_execute_impl.cc base::string16 display_name = display_name_; base 383 win8/delegate_execute/command_execute_impl.cc if (display_name.find(installer::kChromeExe) != base::string16::npos) base 394 win8/delegate_execute/command_execute_impl.cc base::string16 command_line(chrome.GetCommandLineString()); base 404 win8/delegate_execute/command_execute_impl.cc base::win::ScopedProcessInformation proc_info(temp_process_info); base 424 win8/delegate_execute/command_execute_impl.cc if (integrity_level_ == base::HIGH_INTEGRITY) { base 432 win8/delegate_execute/command_execute_impl.cc base::FilePath chrome_exe; base 461 win8/delegate_execute/command_execute_impl.cc base::win::RegKey reg_key; base 87 win8/delegate_execute/command_execute_impl.h static bool FindChromeExe(base::FilePath* chrome_exe); base 91 win8/delegate_execute/command_execute_impl.h bool GetLaunchScheme(base::string16* display_name, INTERNET_SCHEME* scheme); base 97 win8/delegate_execute/command_execute_impl.h base::CommandLine parameters_; base 98 win8/delegate_execute/command_execute_impl.h base::FilePath chrome_exe_; base 100 win8/delegate_execute/command_execute_impl.h base::string16 verb_; base 101 win8/delegate_execute/command_execute_impl.h base::string16 display_name_; base 104 win8/delegate_execute/command_execute_impl.h base::IntegrityLevel integrity_level_; base 73 win8/delegate_execute/crash_server_init.cc base::string16 pipe_name; base 78 win8/delegate_execute/crash_server_init.cc base::string16 user_sid; base 79 win8/delegate_execute/crash_server_init.cc if (base::win::GetUserSidString(&user_sid)) { base 50 win8/delegate_execute/delegate_execute.cc base::string16 clsid_string; base 86 win8/delegate_execute/delegate_execute.cc base::win::ScopedComPtr<IUnknown> instance_; base 93 win8/delegate_execute/delegate_execute.cc using base::win::ScopedHandle; base 113 win8/delegate_execute/delegate_execute.cc base::KillProcessById(pid, 0, false); base 122 win8/delegate_execute/delegate_execute.cc base::win::ScopedCOMInitializer com_initializer; base 124 win8/delegate_execute/delegate_execute.cc base::string16 relaunch_flags(operation.relaunch_flags()); base 145 win8/delegate_execute/delegate_execute.cc base::AtExitManager exit_manager; base 23 win8/delegate_execute/delegate_execute_operation.cc base::FilePath shortcut( base 48 win8/delegate_execute/delegate_execute_operation.cc std::vector<base::string16> parts; base 49 win8/delegate_execute/delegate_execute_operation.cc base::SplitString(mutex_, L'.', &parts); base 53 win8/delegate_execute/delegate_execute_operation.cc if (!base::StringToUint(parts[2], reinterpret_cast<uint32*>(&pid))) base 15 win8/delegate_execute/delegate_execute_operation.h namespace base { base 48 win8/delegate_execute/delegate_execute_operation.h bool Init(const base::CommandLine* cmd_line); base 54 win8/delegate_execute/delegate_execute_operation.h const base::string16& relaunch_flags() const { base 58 win8/delegate_execute/delegate_execute_operation.h const base::string16& mutex() const { base 65 win8/delegate_execute/delegate_execute_operation.h const base::FilePath& shortcut() const { base 71 win8/delegate_execute/delegate_execute_operation.h base::string16 relaunch_flags_; base 72 win8/delegate_execute/delegate_execute_operation.h base::FilePath relaunch_shortcut_; base 73 win8/delegate_execute/delegate_execute_operation.h base::string16 mutex_; base 16 win8/delegate_execute/delegate_execute_util.cc base::string16 command_string(L"noprogram.exe "); base 19 win8/delegate_execute/delegate_execute_util.cc command_line.SetProgram(base::FilePath()); base 25 win8/delegate_execute/delegate_execute_util.cc CommandLine MakeChromeCommandLine(const base::FilePath& chrome_exe, base 27 win8/delegate_execute/delegate_execute_util.cc const base::string16& argument) { base 37 win8/delegate_execute/delegate_execute_util.cc base::string16 ParametersFromSwitch(const char* a_switch) { base 39 win8/delegate_execute/delegate_execute_util.cc return base::string16(); base 45 win8/delegate_execute/delegate_execute_util.cc base::string16 command_string(cmd_line.GetCommandLineString()); base 46 win8/delegate_execute/delegate_execute_util.cc base::TrimWhitespace(command_string, base::TRIM_ALL, &command_string); base 11 win8/delegate_execute/delegate_execute_util.h namespace base { base 18 win8/delegate_execute/delegate_execute_util.h base::CommandLine CommandLineFromParameters(const wchar_t* params); base 22 win8/delegate_execute/delegate_execute_util.h base::CommandLine MakeChromeCommandLine(const base::FilePath& chrome_exe, base 23 win8/delegate_execute/delegate_execute_util.h const base::CommandLine& params, base 24 win8/delegate_execute/delegate_execute_util.h const base::string16& argument); base 28 win8/delegate_execute/delegate_execute_util.h base::string16 ParametersFromSwitch(const char* a_switch); base 31 win8/delegate_execute/delegate_execute_util_unittest.cc base::StringPrintf(L"--%ls", base 32 win8/delegate_execute/delegate_execute_util_unittest.cc base::ASCIIToWide(kSomeSwitch).c_str()).c_str()); base 40 win8/delegate_execute/delegate_execute_util_unittest.cc const base::FilePath this_exe(CommandLine::ForCurrentProcess()->GetProgram()); base 48 win8/delegate_execute/delegate_execute_util_unittest.cc base::string16()); base 55 win8/delegate_execute/delegate_execute_util_unittest.cc base::string16(kSomeArgument)); base 59 win8/delegate_execute/delegate_execute_util_unittest.cc EXPECT_EQ(base::string16(kSomeArgument), cl.GetArgs()[0]); base 64 win8/delegate_execute/delegate_execute_util_unittest.cc base::StringPrintf(L"--%ls -- %ls", base 65 win8/delegate_execute/delegate_execute_util_unittest.cc base::ASCIIToWide(kSomeSwitch).c_str(), base 67 win8/delegate_execute/delegate_execute_util_unittest.cc base::string16(kSomeArgument)); base 75 win8/delegate_execute/delegate_execute_util_unittest.cc std::find(args.begin(), args.end(), base::string16(kOtherArgument))); base 77 win8/delegate_execute/delegate_execute_util_unittest.cc std::find(args.begin(), args.end(), base::string16(kSomeArgument))); base 81 win8/delegate_execute/delegate_execute_util_unittest.cc EXPECT_EQ(base::string16(), delegate_execute::ParametersFromSwitch(NULL)); base 82 win8/delegate_execute/delegate_execute_util_unittest.cc EXPECT_EQ(base::string16(L"--some-switch"), base 162 win8/metro_driver/chrome_app_view.cc base::Bind(&MetroExit, false), base 163 win8/metro_driver/chrome_app_view.cc base::TimeDelta::FromMilliseconds(100)); base 325 win8/metro_driver/chrome_app_view.cc base::AutoLock lock(notification_lock_); base 337 win8/metro_driver/chrome_app_view.cc base::AutoLock lock(notification_lock_); base 357 win8/metro_driver/chrome_app_view.cc base::AutoLock lock(notification_lock_); base 432 win8/metro_driver/chrome_app_view.cc FROM_HERE, base::Bind(&UnsnapHelper)); base 445 win8/metro_driver/chrome_app_view.cc FROM_HERE, base::Bind(&SetFrameWindowInternal, hwnd)); base 458 win8/metro_driver/chrome_app_view.cc FROM_HERE, base::Bind(&CloseFrameWindowInternal, hwnd), base 459 win8/metro_driver/chrome_app_view.cc base::TimeDelta::FromMilliseconds(50)); base 494 win8/metro_driver/chrome_app_view.cc base::win::MetroLaunchType GetLaunchType( base 495 win8/metro_driver/chrome_app_view.cc base::win::MetroPreviousExecutionState* previous_state) { base 497 win8/metro_driver/chrome_app_view.cc *previous_state = static_cast<base::win::MetroPreviousExecutionState>( base 500 win8/metro_driver/chrome_app_view.cc return static_cast<base::win::MetroLaunchType>( base 508 win8/metro_driver/chrome_app_view.cc FROM_HERE, base::Bind(&FlipFrameWindowsInternal)); base 516 win8/metro_driver/chrome_app_view.cc base::win::MetroNotificationClickedHandler handler, base 531 win8/metro_driver/chrome_app_view.cc FROM_HERE, base::Bind(&ChromeAppView::DisplayNotification, base 547 win8/metro_driver/chrome_app_view.cc FROM_HERE, base::Bind(&ChromeAppView::CancelNotification, base 569 win8/metro_driver/chrome_app_view.cc base::win::MetroDialogButtonPressedHandler button1_handler, base 570 win8/metro_driver/chrome_app_view.cc base::win::MetroDialogButtonPressedHandler button2_handler) { base 589 win8/metro_driver/chrome_app_view.cc FROM_HERE, base::Bind( base 600 win8/metro_driver/chrome_app_view.cc FROM_HERE, base::Bind( base 610 win8/metro_driver/chrome_app_view.cc FROM_HERE, base::Bind( base 756 win8/metro_driver/chrome_app_view.cc base::MessageLoop::current()->SetNestableTasksAllowed(true); base 768 win8/metro_driver/chrome_app_view.cc base::MessageLoop::current()->Quit(); base 801 win8/metro_driver/chrome_app_view.cc base::MessageLoop::current()->PostDelayedTask( base 803 win8/metro_driver/chrome_app_view.cc base::Bind(&ChromeAppView::CheckForOSKActivation, base::Unretained(this)), base 804 win8/metro_driver/chrome_app_view.cc base::TimeDelta::FromMilliseconds(kCheckOSKDelayMs)); base 822 win8/metro_driver/chrome_app_view.cc base::MessageLoopForUI msg_loop; base 828 win8/metro_driver/chrome_app_view.cc msg_loop.PostTask(FROM_HERE, base::Bind(&RunMessageLoop, dispatcher.Get())); base 837 win8/metro_driver/chrome_app_view.cc base::Bind(&ChromeAppView::CheckForOSKActivation, base 838 win8/metro_driver/chrome_app_view.cc base::Unretained(this)), base 839 win8/metro_driver/chrome_app_view.cc base::TimeDelta::FromMilliseconds(kCheckOSKDelayMs)); base 872 win8/metro_driver/chrome_app_view.cc base::AutoLock lock(notification_lock_); base 1069 win8/metro_driver/chrome_app_view.cc base::win::CurrentTabInfo current_tab_info; base 1091 win8/metro_driver/chrome_app_view.cc base::string16 current_title(current_tab_info.title); base 1092 win8/metro_driver/chrome_app_view.cc base::string16 current_url(current_tab_info.url); base 137 win8/metro_driver/chrome_app_view.h base::Lock notification_lock_; base 158 win8/metro_driver/chrome_app_view.h base::string16 navigation_url; base 159 win8/metro_driver/chrome_app_view.h base::string16 search_string; base 165 win8/metro_driver/chrome_app_view.h base::MessageLoopProxy* appview_msg_loop; base 167 win8/metro_driver/chrome_app_view.h base::string16 metro_command_line_switches; base 140 win8/metro_driver/chrome_app_view_ash.cc ChromeChannelListener(base::MessageLoop* ui_loop, ChromeAppViewAsh* app_view) base 171 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnMetroExit, base::Unretained(app_view_), base 177 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnMetroExit, base::Unretained(app_view_), base 179 win8/metro_driver/chrome_app_view_ash.cc base::TimeDelta::FromMilliseconds(100)); base 183 win8/metro_driver/chrome_app_view_ash.cc void OnActivateDesktop(const base::FilePath& shortcut, bool ash_exit) { base 185 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnActivateDesktop, base 186 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_), base 192 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnMetroExit, base 193 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_), TERMINATE_USING_KEY_SEQUENCE)); base 196 win8/metro_driver/chrome_app_view_ash.cc void OnOpenURLOnDesktop(const base::FilePath& shortcut, base 197 win8/metro_driver/chrome_app_view_ash.cc const base::string16& url) { base 199 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnOpenURLOnDesktop, base 200 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_), base 206 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnSetCursor, base 207 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_), base 211 win8/metro_driver/chrome_app_view_ash.cc void OnDisplayFileOpenDialog(const base::string16& title, base 212 win8/metro_driver/chrome_app_view_ash.cc const base::string16& filter, base 213 win8/metro_driver/chrome_app_view_ash.cc const base::FilePath& default_path, base 216 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnDisplayFileOpenDialog, base 217 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_), base 228 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnDisplayFileSaveAsDialog, base 229 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_), base 233 win8/metro_driver/chrome_app_view_ash.cc void OnDisplayFolderPicker(const base::string16& title) { base 236 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnDisplayFolderPicker, base 237 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_), base 245 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnSetCursorPos, base 246 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_), base 253 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnImeCancelComposition, base 254 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_))); base 262 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnImeUpdateTextInputClient, base 263 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(app_view_), base 268 win8/metro_driver/chrome_app_view_ash.cc scoped_refptr<base::MessageLoopProxy> ui_proxy_; base 285 win8/metro_driver/chrome_app_view_ash.cc base::MessageLoop::current()->SetNestableTasksAllowed(true); base 297 win8/metro_driver/chrome_app_view_ash.cc base::MessageLoop::current()->Quit(); base 303 win8/metro_driver/chrome_app_view_ash.cc if (base::win::IsShiftPressed()) base 305 win8/metro_driver/chrome_app_view_ash.cc if (base::win::IsCtrlPressed()) base 307 win8/metro_driver/chrome_app_view_ash.cc if (base::win::IsAltPressed()) base 329 win8/metro_driver/chrome_app_view_ash.cc base::string16 actual_launch_args( base 340 win8/metro_driver/chrome_app_view_ash.cc base::FilePath chrome_exe_path; base 342 win8/metro_driver/chrome_app_view_ash.cc if (!PathService::Get(base::FILE_EXE, &chrome_exe_path)) base 345 win8/metro_driver/chrome_app_view_ash.cc base::string16 parameters = L"--silent-launch --viewer-connect "; base 606 win8/metro_driver/chrome_app_view_ash.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 652 win8/metro_driver/chrome_app_view_ash.cc base::Thread io_thread("metro_IO_thread"); base 653 win8/metro_driver/chrome_app_view_ash.cc base::Thread::Options options; base 654 win8/metro_driver/chrome_app_view_ash.cc options.message_loop_type = base::MessageLoop::TYPE_IO; base 694 win8/metro_driver/chrome_app_view_ash.cc ui_loop_.PostTask(FROM_HERE, base::Bind(&RunMessageLoop, dispatcher.Get())); base 739 win8/metro_driver/chrome_app_view_ash.cc void ChromeAppViewAsh::OnActivateDesktop(const base::FilePath& file_path, base 770 win8/metro_driver/chrome_app_view_ash.cc void ChromeAppViewAsh::OnOpenURLOnDesktop(const base::FilePath& shortcut, base 771 win8/metro_driver/chrome_app_view_ash.cc const base::string16& url) { base 772 win8/metro_driver/chrome_app_view_ash.cc base::FilePath::StringType file = shortcut.value(); base 787 win8/metro_driver/chrome_app_view_ash.cc const base::string16& title, base 788 win8/metro_driver/chrome_app_view_ash.cc const base::string16& filter, base 789 win8/metro_driver/chrome_app_view_ash.cc const base::FilePath& default_path, base 817 win8/metro_driver/chrome_app_view_ash.cc void ChromeAppViewAsh::OnDisplayFolderPicker(const base::string16& title) { base 850 win8/metro_driver/chrome_app_view_ash.cc success, base::FilePath(open_file_picker->result()))); base 864 win8/metro_driver/chrome_app_view_ash.cc base::FilePath(save_file_picker->result()), base 878 win8/metro_driver/chrome_app_view_ash.cc base::FilePath(folder_picker->result()))); base 949 win8/metro_driver/chrome_app_view_ash.cc const base::string16& text, base 957 win8/metro_driver/chrome_app_view_ash.cc void ChromeAppViewAsh::OnTextCommitted(const base::string16& text) { base 1271 win8/metro_driver/chrome_app_view_ash.cc base::string16 search_text(MakeStdWString(search_string.Get())); base 1274 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnSearchRequest, base 1275 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(this), base 1296 win8/metro_driver/chrome_app_view_ash.cc base::string16 actual_url(MakeStdWString(url.Get())); base 1300 win8/metro_driver/chrome_app_view_ash.cc base::Bind(&ChromeAppViewAsh::OnNavigateToUrl, base 1301 win8/metro_driver/chrome_app_view_ash.cc base::Unretained(this), base 1313 win8/metro_driver/chrome_app_view_ash.cc void ChromeAppViewAsh::OnSearchRequest(const base::string16& search_string) { base 1318 win8/metro_driver/chrome_app_view_ash.cc void ChromeAppViewAsh::OnNavigateToUrl(const base::string16& url) { base 22 win8/metro_driver/chrome_app_view_ash.h namespace base { base 73 win8/metro_driver/chrome_app_view_ash.h void OnActivateDesktop(const base::FilePath& file_path, bool ash_exit); base 74 win8/metro_driver/chrome_app_view_ash.h void OnOpenURLOnDesktop(const base::FilePath& shortcut, base 75 win8/metro_driver/chrome_app_view_ash.h const base::string16& url); base 77 win8/metro_driver/chrome_app_view_ash.h void OnDisplayFileOpenDialog(const base::string16& title, base 78 win8/metro_driver/chrome_app_view_ash.h const base::string16& filter, base 79 win8/metro_driver/chrome_app_view_ash.h const base::FilePath& default_path, base 83 win8/metro_driver/chrome_app_view_ash.h void OnDisplayFolderPicker(const base::string16& title); base 128 win8/metro_driver/chrome_app_view_ash.h const base::string16& text, base 132 win8/metro_driver/chrome_app_view_ash.h virtual void OnTextCommitted(const base::string16& text) OVERRIDE; base 193 win8/metro_driver/chrome_app_view_ash.h void OnSearchRequest(const base::string16& search_string); base 194 win8/metro_driver/chrome_app_view_ash.h void OnNavigateToUrl(const base::string16& url); base 230 win8/metro_driver/chrome_app_view_ash.h base::MessageLoopForUI ui_loop_; base 75 win8/metro_driver/chrome_url_launch_handler.cc base::string16 search_text(MakeStdWString(search_string.Get())); base 91 win8/metro_driver/chrome_url_launch_handler.cc base::string16 actual_url(MakeStdWString(url.Get())); base 103 win8/metro_driver/chrome_url_launch_handler.cc base::string16 ChromeUrlLaunchHandler::GetUrlFromLaunchArgs( base 104 win8/metro_driver/chrome_url_launch_handler.cc const base::string16& launch_args) { base 109 win8/metro_driver/chrome_url_launch_handler.cc base::string16 dummy_command_line(L"dummy.exe "); base 116 win8/metro_driver/chrome_url_launch_handler.cc return base::string16(); base 123 win8/metro_driver/chrome_url_launch_handler.cc base::string16 actual_launch_args(MakeStdWString(launch_args.Get())); base 40 win8/metro_driver/chrome_url_launch_handler.h base::string16 GetUrlFromLaunchArgs(const base::string16& launch_args); base 92 win8/metro_driver/direct3d_helper.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 128 win8/metro_driver/direct3d_helper.cc if (base::win::GetVersion() >= base::win::VERSION_WIN8) { base 20 win8/metro_driver/display_properties.cc base::win::ScopedCOMInitializer com_init; base 33 win8/metro_driver/file_picker.cc HRESULT RuntimeClassInitialize(const std::vector<base::string16>& list) { base 101 win8/metro_driver/file_picker.cc base::WaitableEvent event_; base 135 win8/metro_driver/file_picker.cc base::string16* result); base 165 win8/metro_driver/file_picker.cc base::Bind(&FilePickerSessionBase::DoFilePicker, base::Unretained(this))); base 221 win8/metro_driver/file_picker.cc base::wcslcpy(open_file_name_->lpstrFile, base 246 win8/metro_driver/file_picker.cc base::string16 result; base 308 win8/metro_driver/file_picker.cc std::vector<base::string16> extensions_win32_style; base 321 win8/metro_driver/file_picker.cc base::string16 ext = base 322 win8/metro_driver/file_picker.cc base::FilePath(extensions_win32_style[i]).Extension(); base 324 win8/metro_driver/file_picker.cc (ext.find_first_of(L"*?") != base::string16::npos)) { base 375 win8/metro_driver/file_picker.cc StorageFileVectorCollection* files, base::string16* result) { base 394 win8/metro_driver/file_picker.cc base::FilePath base_path; base 413 win8/metro_driver/file_picker.cc base::FilePath file_path(MakeStdWString(file_path_str.Get())); base 427 win8/metro_driver/file_picker.cc base::FilePath base_name = file_path.BaseName(); base 479 win8/metro_driver/file_picker.cc std::vector<base::string16> extensions_win32_style; base 485 win8/metro_driver/file_picker.cc std::vector<base::string16> extensions; base 487 win8/metro_driver/file_picker.cc base::string16 ext = base 488 win8/metro_driver/file_picker.cc base::FilePath(extensions_win32_style[i]).Extension(); base 490 win8/metro_driver/file_picker.cc (ext.find_first_of(L"*?") != base::string16::npos)) base 535 win8/metro_driver/file_picker.cc list.GetAddressOf(), std::vector<base::string16>(1, L".dat")); base 586 win8/metro_driver/file_picker.cc base::string16 path_str = MakeStdWString(file_path.Get()); base 591 win8/metro_driver/file_picker.cc base::wcslcpy(open_file_name_->lpstrFile, base 31 win8/metro_driver/file_picker_ash.cc HRESULT RuntimeClassInitialize(const std::vector<base::string16>& list) { base 85 win8/metro_driver/file_picker_ash.cc const base::string16& title, base 86 win8/metro_driver/file_picker_ash.cc const base::string16& filter, base 87 win8/metro_driver/file_picker_ash.cc const base::FilePath& default_path) base 120 win8/metro_driver/file_picker_ash.cc const base::string16& title, base 121 win8/metro_driver/file_picker_ash.cc const base::string16& filter, base 122 win8/metro_driver/file_picker_ash.cc const base::FilePath& default_path, base 168 win8/metro_driver/file_picker_ash.cc base::string16 result; base 180 win8/metro_driver/file_picker_ash.cc std::vector<base::FilePath> files; base 183 win8/metro_driver/file_picker_ash.cc files.push_back(base::FilePath(selection)); base 195 win8/metro_driver/file_picker_ash.cc std::vector<base::FilePath>::iterator path = files.begin(); base 196 win8/metro_driver/file_picker_ash.cc for (std::vector<base::FilePath>::iterator file = path + 1; base 246 win8/metro_driver/file_picker_ash.cc std::vector<base::string16> extensions_win32_style; base 259 win8/metro_driver/file_picker_ash.cc base::string16 ext = base 260 win8/metro_driver/file_picker_ash.cc base::FilePath(extensions_win32_style[i]).Extension(); base 262 win8/metro_driver/file_picker_ash.cc (ext.find_first_of(L"*?") != base::string16::npos)) { base 313 win8/metro_driver/file_picker_ash.cc StorageFileVectorCollection* files, base::string16* result) { base 332 win8/metro_driver/file_picker_ash.cc base::FilePath base_path; base 351 win8/metro_driver/file_picker_ash.cc base::FilePath file_path(MakeStdWString(file_path_str.Get())); base 365 win8/metro_driver/file_picker_ash.cc base::FilePath base_name = file_path.BaseName(); base 428 win8/metro_driver/file_picker_ash.cc std::vector<base::string16> extensions_win32_style; base 434 win8/metro_driver/file_picker_ash.cc std::vector<base::string16> extensions; base 436 win8/metro_driver/file_picker_ash.cc base::string16 ext = base 437 win8/metro_driver/file_picker_ash.cc base::FilePath(extensions_win32_style[i]).Extension(); base 439 win8/metro_driver/file_picker_ash.cc (ext.find_first_of(L"*?") != base::string16::npos)) base 484 win8/metro_driver/file_picker_ash.cc list.GetAddressOf(), std::vector<base::string16>(1, L".dat")); base 496 win8/metro_driver/file_picker_ash.cc base::string16 file_part = default_path_.BaseName().value(); base 539 win8/metro_driver/file_picker_ash.cc base::string16 path_str = MakeStdWString(file_path.Get()); base 554 win8/metro_driver/file_picker_ash.cc const base::string16& title) base 555 win8/metro_driver/file_picker_ash.cc : FilePickerSessionBase(app_view, title, L"", base::FilePath()) {} base 608 win8/metro_driver/file_picker_ash.cc base::string16 path_str = MakeStdWString(file_path.Get()); base 17 win8/metro_driver/file_picker_ash.h namespace base { base 26 win8/metro_driver/file_picker_ash.h const base::string16& title, base 27 win8/metro_driver/file_picker_ash.h const base::string16& filter, base 28 win8/metro_driver/file_picker_ash.h const base::FilePath& default_path); base 36 win8/metro_driver/file_picker_ash.h const base::string16& result() const { base 54 win8/metro_driver/file_picker_ash.h base::string16 title_; base 57 win8/metro_driver/file_picker_ash.h base::string16 filter_; base 60 win8/metro_driver/file_picker_ash.h base::FilePath default_path_; base 66 win8/metro_driver/file_picker_ash.h base::string16 result_; base 81 win8/metro_driver/file_picker_ash.h const base::string16& title, base 82 win8/metro_driver/file_picker_ash.h const base::string16& filter, base 83 win8/metro_driver/file_picker_ash.h const base::FilePath& default_path, base 86 win8/metro_driver/file_picker_ash.h const std::vector<base::FilePath>& filenames() const { base 113 win8/metro_driver/file_picker_ash.h base::string16* result); base 120 win8/metro_driver/file_picker_ash.h std::vector<base::FilePath> filenames_; base 152 win8/metro_driver/file_picker_ash.h const base::string16& title); base 28 win8/metro_driver/ime/ime_popup_monitor.cc DCHECK(base::MessageLoopForUI::IsCurrent()); base 73 win8/metro_driver/ime/input_scope.cc base::win::ScopedComPtr<ITfInputScope> base 81 win8/metro_driver/ime/input_scope.cc return base::win::ScopedComPtr<ITfInputScope>(); base 84 win8/metro_driver/ime/input_scope.cc return base::win::ScopedComPtr<ITfInputScope>(object); base 17 win8/metro_driver/ime/input_scope.h base::win::ScopedComPtr<ITfInputScope> base 51 win8/metro_driver/ime/input_source.cc void SetCallback(base::Closure on_language_chanaged) { base 79 win8/metro_driver/ime/input_source.cc base::Closure on_language_chanaged_; base 80 win8/metro_driver/ime/input_source.cc base::win::ScopedComPtr<ITfSource> source_; base 92 win8/metro_driver/ime/input_source.cc monitor_->SetCallback(base::Bind(&InputSourceImpl::OnLanguageChanged, base 93 win8/metro_driver/ime/input_source.cc base::Unretained(this))); base 96 win8/metro_driver/ime/input_source.cc monitor_->SetCallback(base::Closure()); base 127 win8/metro_driver/ime/input_source.cc base::win::ScopedComPtr<ITfInputProcessorProfileMgr> profile_manager_; base 140 win8/metro_driver/ime/input_source.cc base::win::ScopedComPtr<ITfInputProcessorProfileMgr> profile_manager; base 147 win8/metro_driver/ime/input_source.cc base::win::ScopedComPtr<ITfSource> profiles_source; base 97 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfCompartmentMgr> thread_compartment_manager; base 103 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfCompartment> sentence_compartment; base 112 win8/metro_driver/ime/text_service.cc base::win::ScopedVariant sentence_variant; base 124 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfCompartmentMgr> compartment_mgr; base 131 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfCompartment> disabled_compartment; base 139 win8/metro_driver/ime/text_service.cc base::win::ScopedVariant variant; base 147 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfCompartment> empty_context; base 155 win8/metro_driver/ime/text_service.cc base::win::ScopedVariant empty_context_variant; base 175 win8/metro_driver/ime/text_service.cc EventSink(DWORD cookie, base::win::ScopedComPtr<ITfSource> source) base 188 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfSource> source_; base 195 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfSource> source; base 232 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfDocumentMgr> document_manager; base 253 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfContext> context; base 303 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfDocumentMgr> document_manager, base 310 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfDocumentMgr> document_manager_; base 377 win8/metro_driver/ime/text_service.cc const base::string16& text, base 389 win8/metro_driver/ime/text_service.cc virtual void OnTextCommitted(const base::string16& text) OVERRIDE { base 449 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfThreadMgr2> thread_manager_; base 469 win8/metro_driver/ime/text_service.cc base::win::ScopedComPtr<ITfThreadMgr2> thread_manager; base 29 win8/metro_driver/ime/text_service_delegate.h const base::string16& text, base 35 win8/metro_driver/ime/text_service_delegate.h virtual void OnTextCommitted(const base::string16& text) = 0; base 48 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<ITfCategoryMgr> category_manager; base 54 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<ITfDisplayAttributeMgr> display_attribute_manager; base 60 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<ITfInputScope> input_scope = base 270 win8/metro_driver/ime/text_store.cc const base::string16& result = base 417 win8/metro_driver/ime/text_store.cc base::string16(text_buffer, text_buffer + text_buffer_size) + base 528 win8/metro_driver/ime/text_store.cc const base::string16& new_committed_string = base 531 win8/metro_driver/ime/text_store.cc const base::string16& composition_string = base 721 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<ITfDisplayAttributeInfo> display_attribute_info; base 738 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<ITfReadOnlyProperty> track_property; base 746 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<ITfRange> start_to_end_range; base 747 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<ITfRange> end_range; base 759 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<IEnumTfRanges> ranges; base 766 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<ITfRange> range; base 769 win8/metro_driver/ime/text_store.cc base::win::ScopedVariant value; base 770 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<IEnumTfPropertyValue> enum_prop_value; base 794 win8/metro_driver/ime/text_store.cc base::win::ScopedComPtr<ITfRangeACP> range_acp; base 860 win8/metro_driver/ime/text_store.cc const base::string16& composition_text = base 252 win8/metro_driver/ime/text_store.h base::win::ScopedComPtr<ITextStoreACPSink> text_store_acp_sink_; base 264 win8/metro_driver/ime/text_store.h base::string16 string_buffer_; base 301 win8/metro_driver/ime/text_store.h base::win::ScopedComPtr<ITfCategoryMgr> category_manager_; base 302 win8/metro_driver/ime/text_store.h base::win::ScopedComPtr<ITfDisplayAttributeMgr> display_attribute_manager_; base 305 win8/metro_driver/ime/text_store.h base::win::ScopedComPtr<ITfInputScope> input_scope_; base 33 win8/metro_driver/ime/text_store_delegate.h const base::string16& text, base 39 win8/metro_driver/ime/text_store_delegate.h virtual void OnTextCommitted(const base::string16& text) = 0; base 144 win8/metro_driver/metro_dialog_box.cc base::string16 button_label = MakeStdWString(label.Get()); base 19 win8/metro_driver/metro_dialog_box.h base::string16 title; base 20 win8/metro_driver/metro_dialog_box.h base::string16 content; base 21 win8/metro_driver/metro_dialog_box.h base::string16 button1_label; base 22 win8/metro_driver/metro_dialog_box.h base::string16 button2_label; base 23 win8/metro_driver/metro_dialog_box.h base::win::MetroDialogButtonPressedHandler button1_handler; base 24 win8/metro_driver/metro_dialog_box.h base::win::MetroDialogButtonPressedHandler button2_handler; base 27 win8/metro_driver/metro_driver.cc base::string16 msg(reinterpret_cast<wchar_t*>(info[2]), info[1]); base 30 win8/metro_driver/metro_driver.cc base::string16 msg(reinterpret_cast<wchar_t*>(info[3]), info[2]); base 63 win8/metro_driver/metro_driver.cc base::AtExitManager at_exit; base 85 win8/metro_driver/metro_driver.cc if (base::win::GetVersion() < base::win::VERSION_WIN7) base 106 win8/metro_driver/metro_driver.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) base 126 win8/metro_driver/metro_driver.cc base::win::ScopedComPtr<IApplicationActivationManager> activator; base 60 win8/metro_driver/print_document_source.cc base::Lock* parent_lock) { base 79 win8/metro_driver/print_document_source.cc base::AutoLock lock(*parent_lock_); base 256 win8/metro_driver/print_document_source.cc base::checked_cast<UINT32>(page_count)); base 377 win8/metro_driver/print_document_source.cc base::AutoLock lock(*parent_lock_); base 388 win8/metro_driver/print_document_source.cc base::AutoLock lock(*parent_lock_); base 396 win8/metro_driver/print_document_source.cc pages_ready_state_[i].reset(new base::ConditionVariable(parent_lock_)); base 404 win8/metro_driver/print_document_source.cc base::AutoLock lock(*parent_lock_); base 460 win8/metro_driver/print_document_source.cc base::AutoLock lock(*parent_lock_); base 469 win8/metro_driver/print_document_source.cc base::AutoLock lock(*parent_lock_); base 482 win8/metro_driver/print_document_source.cc base::AutoLock lock(*parent_lock_); base 29 win8/metro_driver/print_document_source.h namespace base { base 78 win8/metro_driver/print_document_source.h base::Lock* parent_lock); base 128 win8/metro_driver/print_document_source.h std::vector<scoped_ptr<base::ConditionVariable> > pages_ready_state_; base 134 win8/metro_driver/print_document_source.h base::WaitableEvent page_count_ready_; base 142 win8/metro_driver/print_document_source.h base::Lock* parent_lock_; base 41 win8/metro_driver/print_handler.cc base::Lock* PrintHandler::lock_ = NULL; base 42 win8/metro_driver/print_handler.cc base::Thread* PrintHandler::thread_ = NULL; base 46 win8/metro_driver/print_handler.cc lock_ = new base::Lock(); base 49 win8/metro_driver/print_handler.cc thread_ = new base::Thread("Metro Print Handler"); base 224 win8/metro_driver/print_handler.cc base::Bind(&PrintHandler::OnEnablePrinting, printing_enabled)); base 230 win8/metro_driver/print_handler.cc base::Bind(&PrintHandler::OnSetPageCount, page_count)); base 236 win8/metro_driver/print_handler.cc base::Bind(&PrintHandler::OnAddPage, base 245 win8/metro_driver/print_handler.cc FROM_HERE, base::Bind(&metro_driver::PrintHandler::OnShowPrintUI)); base 313 win8/metro_driver/print_handler.cc base::Bind(&PrintHandler::SetPrintDocumentSource, base 327 win8/metro_driver/print_handler.cc base::Bind(&PrintHandler::ReleasePrintDocumentSource)); base 363 win8/metro_driver/print_handler.cc base::Bind(&PrintHandler::OnLogicalDpiChanged, GetLogicalDpi())); base 368 win8/metro_driver/print_handler.cc DCHECK(base::MessageLoop::current() == thread_->message_loop()); base 377 win8/metro_driver/print_handler.cc DCHECK(base::MessageLoop::current() == thread_->message_loop()); base 381 win8/metro_driver/print_handler.cc base::AutoLock lock(*lock_); base 394 win8/metro_driver/print_handler.cc DCHECK(base::MessageLoop::current() == thread_->message_loop()); base 398 win8/metro_driver/print_handler.cc base::AutoLock lock(*lock_); base 407 win8/metro_driver/print_handler.cc DCHECK(base::MessageLoop::current() == thread_->message_loop()); base 408 win8/metro_driver/print_handler.cc base::AutoLock lock(*lock_); base 418 win8/metro_driver/print_handler.cc DCHECK(base::MessageLoop::current() == thread_->message_loop()); base 427 win8/metro_driver/print_handler.cc DCHECK(base::MessageLoop::current() == thread_->message_loop()); base 477 win8/metro_driver/print_handler.cc base::checked_cast<ULONG>(data_size), base 17 win8/metro_driver/print_handler.h namespace base { base 92 win8/metro_driver/print_handler.h static base::Lock* lock_; base 96 win8/metro_driver/print_handler.h static base::Thread* thread_; base 11 win8/metro_driver/run_all_unittests.cc base::AtExitManager at_exit; base 19 win8/metro_driver/secondary_tile.cc using base::win::MetroPinUmaResultCallback; base 55 win8/metro_driver/secondary_tile.cc base::win::MetroSecondaryTilePinUmaResult pin_state = base 56 win8/metro_driver/secondary_tile.cc base::win::METRO_PIN_STATE_NONE; base 65 win8/metro_driver/secondary_tile.cc base::win::METRO_PIN_RESULT_CANCEL : base 66 win8/metro_driver/secondary_tile.cc base::win::METRO_UNPIN_RESULT_CANCEL; base 70 win8/metro_driver/secondary_tile.cc base::win::METRO_PIN_RESULT_OK : base 71 win8/metro_driver/secondary_tile.cc base::win::METRO_UNPIN_RESULT_OK; base 75 win8/metro_driver/secondary_tile.cc base::win::METRO_PIN_RESULT_OTHER : base 76 win8/metro_driver/secondary_tile.cc base::win::METRO_UNPIN_RESULT_OTHER; base 83 win8/metro_driver/secondary_tile.cc base::win::METRO_PIN_RESULT_ERROR : base 84 win8/metro_driver/secondary_tile.cc base::win::METRO_UNPIN_RESULT_ERROR; base 92 win8/metro_driver/secondary_tile.cc void DeleteTileFromStartScreen(const base::string16& tile_id, base 113 win8/metro_driver/secondary_tile.cc callback.Run(base::win::METRO_UNPIN_REQUEST_SHOW_ERROR); base 124 win8/metro_driver/secondary_tile.cc void CreateTileOnStartScreen(const base::string16& tile_id, base 125 win8/metro_driver/secondary_tile.cc const base::string16& title_str, base 126 win8/metro_driver/secondary_tile.cc const base::string16& url_str, base 127 win8/metro_driver/secondary_tile.cc const base::FilePath& logo_path, base 150 win8/metro_driver/secondary_tile.cc args.Attach(MakeHString(base::UTF8ToUTF16(url.spec()))); base 160 win8/metro_driver/secondary_tile.cc MakeHString(base::string16(L"file:///").append(logo_path.value()))); base 183 win8/metro_driver/secondary_tile.cc callback.Run(base::win::METRO_PIN_REQUEST_SHOW_ERROR); base 196 win8/metro_driver/secondary_tile.cc BOOL MetroIsPinnedToStartScreen(const base::string16& tile_id) { base 209 win8/metro_driver/secondary_tile.cc void MetroUnPinFromStartScreen(const base::string16& tile_id, base 212 win8/metro_driver/secondary_tile.cc FROM_HERE, base::Bind(&DeleteTileFromStartScreen, base 217 win8/metro_driver/secondary_tile.cc void MetroPinToStartScreen(const base::string16& tile_id, base 218 win8/metro_driver/secondary_tile.cc const base::string16& title, base 219 win8/metro_driver/secondary_tile.cc const base::string16& url, base 220 win8/metro_driver/secondary_tile.cc const base::FilePath& logo_path, base 223 win8/metro_driver/secondary_tile.cc FROM_HERE, base::Bind(&CreateTileOnStartScreen, base 12 win8/metro_driver/secondary_tile.h BOOL MetroIsPinnedToStartScreen(const base::string16& tile_id); base 16 win8/metro_driver/secondary_tile.h const base::string16& tile_id, base 17 win8/metro_driver/secondary_tile.h const base::win::MetroPinUmaResultCallback& callback); base 21 win8/metro_driver/secondary_tile.h const base::string16& tile_id, base 22 win8/metro_driver/secondary_tile.h const base::string16& title, base 23 win8/metro_driver/secondary_tile.h const base::string16& url, base 24 win8/metro_driver/secondary_tile.h const base::FilePath& logo_path, base 25 win8/metro_driver/secondary_tile.h const base::win::MetroPinUmaResultCallback& callback); base 67 win8/metro_driver/toast_notification_handler.cc const base::string16& text_string) { base 105 win8/metro_driver/toast_notification_handler.cc base::win::MetroNotificationClickedHandler handler, base 200 win8/metro_driver/toast_notification_handler.cc base::FilePath chrome_path; base 201 win8/metro_driver/toast_notification_handler.cc if (!PathService::Get(base::FILE_EXE, &chrome_path)) { base 209 win8/metro_driver/toast_notification_handler.cc base::string16 appid = base 20 win8/metro_driver/toast_notification_handler.h base::string16 title; base 21 win8/metro_driver/toast_notification_handler.h base::string16 body; base 22 win8/metro_driver/toast_notification_handler.h base::string16 display_source; base 24 win8/metro_driver/toast_notification_handler.h base::win::MetroNotificationClickedHandler notification_handler; base 25 win8/metro_driver/toast_notification_handler.h base::string16 notification_context; base 33 win8/metro_driver/toast_notification_handler.h base::win::MetroNotificationClickedHandler handler, base 26 win8/metro_driver/winrt_utils.cc HSTRING MakeHString(const base::string16& str) { base 35 win8/metro_driver/winrt_utils.cc base::string16 MakeStdWString(HSTRING hstring) { base 40 win8/metro_driver/winrt_utils.cc return base::string16(); base 41 win8/metro_driver/winrt_utils.cc return base::string16(str, size); base 172 win8/metro_driver/winrt_utils.cc bool GetArgumentsFromShortcut(const base::FilePath& shortcut, base 173 win8/metro_driver/winrt_utils.cc base::string16* arguments) { base 175 win8/metro_driver/winrt_utils.cc base::win::ScopedComPtr<IShellLink> i_shell_link; base 179 win8/metro_driver/winrt_utils.cc base::win::ScopedCOMInitializer sta_com_initializer; base 185 win8/metro_driver/winrt_utils.cc base::win::ScopedComPtr<IPersistFile> persist; base 203 win8/metro_driver/winrt_utils.cc base::string16 ReadArgumentsFromPinnedTaskbarShortcut() { base 208 win8/metro_driver/winrt_utils.cc base::FilePath shortcut(path_buffer); base 213 win8/metro_driver/winrt_utils.cc base::string16 link_name = dist->GetShortcutName( base 217 win8/metro_driver/winrt_utils.cc base::string16 arguments; base 17 win8/metro_driver/winrt_utils.h HSTRING MakeHString(const base::string16& str); base 19 win8/metro_driver/winrt_utils.h base::string16 MakeStdWString(HSTRING hstring); base 56 win8/metro_driver/winrt_utils.h base::string16 ReadArgumentsFromPinnedTaskbarShortcut(); base 40 win8/test/metro_registration_helper.cc base::FilePath dir; base 41 win8/test/metro_registration_helper.cc if (!PathService::Get(base::DIR_EXE, &dir)) base 44 win8/test/metro_registration_helper.cc base::FilePath chrome_exe(dir.Append(kChromeExe)); base 45 win8/test/metro_registration_helper.cc base::FilePath registrar(dir.Append(kRegistrar)); base 47 win8/test/metro_registration_helper.cc if (!base::PathExists(chrome_exe) || !base::PathExists(registrar)) { base 56 win8/test/metro_registration_helper.cc base::win::ScopedHandle register_handle; base 57 win8/test/metro_registration_helper.cc if (base::LaunchProcess(register_command.GetCommandLineString(), base 58 win8/test/metro_registration_helper.cc base::LaunchOptions(), base 61 win8/test/metro_registration_helper.cc if (base::WaitForExitCodeWithTimeout( base 63 win8/test/metro_registration_helper.cc base::TimeDelta::FromSeconds(kRegistrationTimeoutSeconds))) { base 85 win8/test/metro_registration_helper.cc base::win::ScopedComPtr<IApplicationAssociationRegistration> registration; base 93 win8/test/metro_registration_helper.cc base::win::ScopedCoMem<wchar_t> current_app; base 101 win8/test/metro_registration_helper.cc return !base::string16(win8::test::kDefaultTestProgId).compare(current_app); base 124 win8/test/metro_registration_helper.cc std::vector<base::string16> choices; base 30 win8/test/open_with_dialog_async.cc const base::string16& file_name_in, base 31 win8/test/open_with_dialog_async.cc const base::string16& file_type_class_in, base 33 win8/test/open_with_dialog_async.cc const scoped_refptr<base::SingleThreadTaskRunner>& client_runner_in, base 37 win8/test/open_with_dialog_async.cc base::Thread thread; base 39 win8/test/open_with_dialog_async.cc base::string16 file_name; base 40 win8/test/open_with_dialog_async.cc base::string16 file_type_class; base 42 win8/test/open_with_dialog_async.cc scoped_refptr<base::SingleThreadTaskRunner> client_runner; base 48 win8/test/open_with_dialog_async.cc const base::string16& file_name_in, base 49 win8/test/open_with_dialog_async.cc const base::string16& file_type_class_in, base 51 win8/test/open_with_dialog_async.cc const scoped_refptr<base::SingleThreadTaskRunner>& client_runner_in, base 82 win8/test/open_with_dialog_async.cc DCHECK_EQ(context->thread.thread_id(), base::PlatformThread::CurrentId()); base 95 win8/test/open_with_dialog_async.cc base::Bind(&OnOpenWithDialogDone, context, result))) { base 107 win8/test/open_with_dialog_async.cc const base::string16& file_name, base 108 win8/test/open_with_dialog_async.cc const base::string16& file_type_class, base 111 win8/test/open_with_dialog_async.cc DCHECK_GE(base::win::GetVersion(), base::win::VERSION_VISTA); base 115 win8/test/open_with_dialog_async.cc base::ThreadTaskRunnerHandle::Get(), callback); base 118 win8/test/open_with_dialog_async.cc base::Bind(&OpenWithDialogTask, context)); base 19 win8/test/open_with_dialog_async.h typedef base::Callback<void(HRESULT)> OpenWithDialogCallback; base 28 win8/test/open_with_dialog_async.h const base::string16& file_name, base 29 win8/test/open_with_dialog_async.h const base::string16& file_type_class, base 32 win8/test/open_with_dialog_controller.cc const base::Closure& closure, base 34 win8/test/open_with_dialog_controller.cc std::vector<base::string16>* choices_out, base 36 win8/test/open_with_dialog_controller.cc std::vector<base::string16> choices) { base 51 win8/test/open_with_dialog_controller.cc base::WeakPtr<Context> AsWeakPtr(); base 56 win8/test/open_with_dialog_controller.cc const base::string16& url_protocol, base 57 win8/test/open_with_dialog_controller.cc const base::string16& program_name, base 78 win8/test/open_with_dialog_controller.cc void OnAutomationResult(HRESULT result, std::vector<base::string16> choices); base 81 win8/test/open_with_dialog_controller.cc base::ThreadChecker thread_checker_; base 85 win8/test/open_with_dialog_controller.cc base::string16 file_name_; base 86 win8/test/open_with_dialog_controller.cc base::string16 file_type_class_; base 91 win8/test/open_with_dialog_controller.cc std::vector<base::string16> automation_choices_; base 92 win8/test/open_with_dialog_controller.cc base::WeakPtrFactory<Context> weak_ptr_factory_; base 108 win8/test/open_with_dialog_controller.cc base::WeakPtr<OpenWithDialogController::Context> base 127 win8/test/open_with_dialog_controller.cc const base::string16& url_protocol, base 128 win8/test/open_with_dialog_controller.cc const base::string16& program_name, base 140 win8/test/open_with_dialog_controller.cc base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( base 142 win8/test/open_with_dialog_controller.cc base::Bind(&OpenWithDialogController::Context::OnTimeout, AsWeakPtr()), base 143 win8/test/open_with_dialog_controller.cc base::TimeDelta::FromSeconds(kControllerTimeoutSeconds)); base 148 win8/test/open_with_dialog_controller.cc base::Bind(&OpenWithDialogController::Context::OnInitialized, base 150 win8/test/open_with_dialog_controller.cc base::Bind(&OpenWithDialogController::Context::OnAutomationResult, base 188 win8/test/open_with_dialog_controller.cc base::Bind(&OpenWithDialogController::Context::OnOpenWithComplete, base 194 win8/test/open_with_dialog_controller.cc std::vector<base::string16> choices) { base 247 win8/test/open_with_dialog_controller.cc const base::string16& url_protocol, base 248 win8/test/open_with_dialog_controller.cc const base::string16& program, base 251 win8/test/open_with_dialog_controller.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) { base 255 win8/test/open_with_dialog_controller.cc base::ThreadTaskRunnerHandle::Get()->PostTask( base 257 win8/test/open_with_dialog_controller.cc base::Bind(callback, E_FAIL, std::vector<base::string16>())); base 267 win8/test/open_with_dialog_controller.cc const base::string16& protocol, base 268 win8/test/open_with_dialog_controller.cc const base::string16& program, base 269 win8/test/open_with_dialog_controller.cc std::vector<base::string16>* choices) { base 270 win8/test/open_with_dialog_controller.cc DCHECK_EQ(base::MessageLoop::current(), base 271 win8/test/open_with_dialog_controller.cc static_cast<base::MessageLoop*>(NULL)); base 272 win8/test/open_with_dialog_controller.cc if (base::win::GetVersion() < base::win::VERSION_WIN8) { base 278 win8/test/open_with_dialog_controller.cc base::MessageLoop message_loop; base 279 win8/test/open_with_dialog_controller.cc base::RunLoop run_loop; base 283 win8/test/open_with_dialog_controller.cc base::Bind(&OpenWithDialogController::Begin, base::Unretained(this), base 27 win8/test/open_with_dialog_controller.h typedef base::Callback<void(HRESULT, std::vector<base::string16>)> base 41 win8/test/open_with_dialog_controller.h const base::string16& url_protocol, base 42 win8/test/open_with_dialog_controller.h const base::string16& program, base 50 win8/test/open_with_dialog_controller.h const base::string16& url_protocol, base 51 win8/test/open_with_dialog_controller.h const base::string16& program, base 52 win8/test/open_with_dialog_controller.h std::vector<base::string16>* choices); base 57 win8/test/open_with_dialog_controller.h base::WeakPtr<Context> context_; base 47 win8/test/test_registrar.cc base::FilePath exe_path; base 48 win8/test/test_registrar.cc PathService::Get(base::DIR_EXE, &exe_path); base 95 win8/test/test_registrar.cc base::string16 exe_path( base 98 win8/test/test_registrar.cc base::string16 exe_open_command( base 99 win8/test/test_registrar.cc base::StringPrintf(L"\"%ls\" -- %%*", exe_path.c_str())); base 102 win8/test/test_registrar.cc base::string16 exe_icon(base::StringPrintf(L"%ls,0", exe_path.c_str())); base 105 win8/test/test_registrar.cc base::string16 prog_id_open_command( base 106 win8/test/test_registrar.cc base::StringPrintf(L"\"%ls\" -- \"%%1\"", exe_path.c_str())); base 131 win8/test/test_registrar.cc base::AtExitManager exit_manager; base 32 win8/test/ui_automation_client.cc static base::WeakPtr<Context> Create(); base 42 win8/test/ui_automation_client.cc scoped_refptr<base::SingleThreadTaskRunner> client_runner, base 43 win8/test/ui_automation_client.cc base::string16 class_name, base 44 win8/test/ui_automation_client.cc base::string16 item_name, base 50 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationElement> sender, base 65 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window); base 67 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window); base 69 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& element); base 71 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& element, base 72 win8/test/ui_automation_client.cc std::vector<base::string16>* choices); base 73 win8/test/ui_automation_client.cc void CloseWindow(const base::win::ScopedComPtr<IUIAutomationElement>& window); base 75 win8/test/ui_automation_client.cc base::ThreadChecker thread_checker_; base 78 win8/test/ui_automation_client.cc scoped_refptr<base::SingleThreadTaskRunner> client_runner_; base 81 win8/test/ui_automation_client.cc base::string16 class_name_; base 84 win8/test/ui_automation_client.cc base::string16 item_name_; base 90 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomation> automation_; base 93 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationEventHandler> event_handler_; base 96 win8/test/ui_automation_client.cc base::WeakPtrFactory<UIAutomationClient::Context> weak_ptr_factory_; base 116 win8/test/ui_automation_client.cc const scoped_refptr<base::SingleThreadTaskRunner>& context_runner, base 117 win8/test/ui_automation_client.cc const base::WeakPtr<UIAutomationClient::Context>& context); base 125 win8/test/ui_automation_client.cc scoped_refptr<base::SingleThreadTaskRunner> context_runner_; base 128 win8/test/ui_automation_client.cc base::WeakPtr<UIAutomationClient::Context> context_; base 138 win8/test/ui_automation_client.cc const scoped_refptr<base::SingleThreadTaskRunner>& context_runner, base 139 win8/test/ui_automation_client.cc const base::WeakPtr<UIAutomationClient::Context>& context) { base 151 win8/test/ui_automation_client.cc base::Bind(&UIAutomationClient::Context::HandleAutomationEvent, context_, base 152 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationElement>(sender), base 158 win8/test/ui_automation_client.cc base::WeakPtr<UIAutomationClient::Context> base 182 win8/test/ui_automation_client.cc scoped_refptr<base::SingleThreadTaskRunner> client_runner, base 183 win8/test/ui_automation_client.cc base::string16 class_name, base 184 win8/test/ui_automation_client.cc base::string16 item_name, base 206 win8/test/ui_automation_client.cc client_runner_->PostTask(FROM_HERE, base::Bind(init_callback, result)); base 220 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationElement> root_element; base 221 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCacheRequest> cache_request; base 246 win8/test/ui_automation_client.cc event_handler_obj->Initialize(base::ThreadTaskRunnerHandle::Get(), base 248 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationEventHandler> event_handler( base 274 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationElement> root_element; base 300 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationElement> sender, base 311 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window) { base 314 win8/test/ui_automation_client.cc base::win::ScopedVariant var; base 328 win8/test/ui_automation_client.cc base::string16 class_name(V_BSTR(&var)); base 333 win8/test/ui_automation_client.cc base::CaseInsensitiveCompare<wchar_t>())) { base 344 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window) { base 348 win8/test/ui_automation_client.cc std::vector<base::string16> choices; base 356 win8/test/ui_automation_client.cc base::Bind(result_callback_, result, choices)); base 364 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& element) { base 368 win8/test/ui_automation_client.cc base::win::ScopedVariant var; base 369 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCondition> invokable_condition; base 370 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCondition> item_name_condition; base 371 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCondition> control_view_condition; base 372 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCondition> condition; base 373 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCacheRequest> cache_request; base 374 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationElement> target; base 440 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationInvokePattern> invoker; base 459 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& element, base 460 win8/test/ui_automation_client.cc std::vector<base::string16>* choices) { base 465 win8/test/ui_automation_client.cc base::win::ScopedVariant var; base 466 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCondition> invokable_condition; base 467 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCondition> control_view_condition; base 468 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCondition> condition; base 469 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationCacheRequest> cache_request; base 470 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationElementArray> element_array; base 471 win8/test/ui_automation_client.cc base::win::ScopedComPtr<IUIAutomationElement> child_element; base 548 win8/test/ui_automation_client.cc choices->push_back(base::string16(V_BSTR(&var))); base 557 win8/test/ui_automation_client.cc const base::win::ScopedComPtr<IUIAutomationElement>& window) { base 564 win8/test/ui_automation_client.cc base::win::ScopedVariant var; base 600 win8/test/ui_automation_client.cc base::Bind(&UIAutomationClient::Context::DeleteOnAutomationThread, base 605 win8/test/ui_automation_client.cc const base::string16& item_name, base 617 win8/test/ui_automation_client.cc base::Bind(&UIAutomationClient::Context::Initialize, base 619 win8/test/ui_automation_client.cc base::ThreadTaskRunnerHandle::Get(), base 620 win8/test/ui_automation_client.cc base::string16(class_name), base 34 win8/test/ui_automation_client.h typedef base::Callback<void(HRESULT)> InitializedCallback; base 39 win8/test/ui_automation_client.h typedef base::Callback<void(HRESULT, std::vector<base::string16>)> base 50 win8/test/ui_automation_client.h const base::string16& item_name, base 57 win8/test/ui_automation_client.h base::ThreadChecker thread_checker_; base 60 win8/test/ui_automation_client.h base::Thread automation_thread_; base 63 win8/test/ui_automation_client.h base::WeakPtr<Context> context_; base 15 win8/util/win8_util.cc return base::win::IsMetroProcess(); base 43 win8/viewer/metro_viewer_process_host.cc base::SingleThreadTaskRunner* ipc_task_runner) { base 56 win8/viewer/metro_viewer_process_host.cc base::ProcessId viewer_process_id = GetViewerProcessId(); base 60 win8/viewer/metro_viewer_process_host.cc if (viewer_process_id != base::kNullProcessId) { base 61 win8/viewer/metro_viewer_process_host.cc base::ProcessHandle viewer_process = NULL; base 62 win8/viewer/metro_viewer_process_host.cc base::OpenProcessHandleWithAccess( base 75 win8/viewer/metro_viewer_process_host.cc base::ProcessId MetroViewerProcessHost::GetViewerProcessId() { base 78 win8/viewer/metro_viewer_process_host.cc return base::kNullProcessId; base 82 win8/viewer/metro_viewer_process_host.cc const base::string16& app_user_model_id) { base 83 win8/viewer/metro_viewer_process_host.cc DCHECK_EQ(base::kNullProcessId, channel_->peer_pid()); base 85 win8/viewer/metro_viewer_process_host.cc channel_connected_event_.reset(new base::WaitableEvent(false, false)); base 90 win8/viewer/metro_viewer_process_host.cc base::win::ScopedComPtr<IApplicationActivationManager> activator; base 104 win8/viewer/metro_viewer_process_host.cc channel_connected_event_->TimedWait(base::TimeDelta::FromSeconds( base 17 win8/viewer/metro_viewer_process_host.h namespace base { base 31 win8/viewer/metro_viewer_process_host.h public base::NonThreadSafe { base 40 win8/viewer/metro_viewer_process_host.h base::SingleThreadTaskRunner* ipc_task_runner); base 45 win8/viewer/metro_viewer_process_host.h base::ProcessId GetViewerProcessId(); base 53 win8/viewer/metro_viewer_process_host.h const base::string16& app_user_model_id); base 69 win8/viewer/metro_viewer_process_host.h virtual void OnOpenURL(const base::string16& url) = 0; base 74 win8/viewer/metro_viewer_process_host.h virtual void OnHandleSearchRequest(const base::string16& search_string) = 0; base 98 win8/viewer/metro_viewer_process_host.h scoped_ptr<base::WaitableEvent> channel_connected_event_;